1 |
#! /bin/sh |
2 |
# Guess values for system-dependent variables and create Makefiles. |
3 |
# Generated by GNU Autoconf 2.69. |
4 |
# |
5 |
# |
6 |
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
7 |
# |
8 |
# |
9 |
# This configure script is free software; the Free Software Foundation |
10 |
# gives unlimited permission to copy, distribute and modify it. |
11 |
## -------------------- ## |
12 |
## M4sh Initialization. ## |
13 |
## -------------------- ## |
14 |
|
15 |
# Be more Bourne compatible |
16 |
DUALCASE=1; export DUALCASE # for MKS sh |
17 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
18 |
emulate sh |
19 |
NULLCMD=: |
20 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
21 |
# is contrary to our usage. Disable this feature. |
22 |
alias -g '${1+"$@"}'='"$@"' |
23 |
setopt NO_GLOB_SUBST |
24 |
else |
25 |
case `(set -o) 2>/dev/null` in #( |
26 |
*posix*) : |
27 |
set -o posix ;; #( |
28 |
*) : |
29 |
;; |
30 |
esac |
31 |
fi |
32 |
|
33 |
|
34 |
as_nl=' |
35 |
' |
36 |
export as_nl |
37 |
# Printing a long string crashes Solaris 7 /usr/bin/printf. |
38 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
39 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
40 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
41 |
# Prefer a ksh shell builtin over an external printf program on Solaris, |
42 |
# but without wasting forks for bash or zsh. |
43 |
if test -z "$BASH_VERSION$ZSH_VERSION" \ |
44 |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
45 |
as_echo='print -r --' |
46 |
as_echo_n='print -rn --' |
47 |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
48 |
as_echo='printf %s\n' |
49 |
as_echo_n='printf %s' |
50 |
else |
51 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
52 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
53 |
as_echo_n='/usr/ucb/echo -n' |
54 |
else |
55 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
56 |
as_echo_n_body='eval |
57 |
arg=$1; |
58 |
case $arg in #( |
59 |
*"$as_nl"*) |
60 |
expr "X$arg" : "X\\(.*\\)$as_nl"; |
61 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
62 |
esac; |
63 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
64 |
' |
65 |
export as_echo_n_body |
66 |
as_echo_n='sh -c $as_echo_n_body as_echo' |
67 |
fi |
68 |
export as_echo_body |
69 |
as_echo='sh -c $as_echo_body as_echo' |
70 |
fi |
71 |
|
72 |
# The user is always right. |
73 |
if test "${PATH_SEPARATOR+set}" != set; then |
74 |
PATH_SEPARATOR=: |
75 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
76 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
77 |
PATH_SEPARATOR=';' |
78 |
} |
79 |
fi |
80 |
|
81 |
|
82 |
# IFS |
83 |
# We need space, tab and new line, in precisely that order. Quoting is |
84 |
# there to prevent editors from complaining about space-tab. |
85 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
86 |
# splitting by setting IFS to empty value.) |
87 |
IFS=" "" $as_nl" |
88 |
|
89 |
# Find who we are. Look in the path if we contain no directory separator. |
90 |
as_myself= |
91 |
case $0 in #(( |
92 |
*[\\/]* ) as_myself=$0 ;; |
93 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
94 |
for as_dir in $PATH |
95 |
do |
96 |
IFS=$as_save_IFS |
97 |
test -z "$as_dir" && as_dir=. |
98 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
99 |
done |
100 |
IFS=$as_save_IFS |
101 |
|
102 |
;; |
103 |
esac |
104 |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
105 |
# in which case we are not to be found in the path. |
106 |
if test "x$as_myself" = x; then |
107 |
as_myself=$0 |
108 |
fi |
109 |
if test ! -f "$as_myself"; then |
110 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
111 |
exit 1 |
112 |
fi |
113 |
|
114 |
# Unset variables that we do not need and which cause bugs (e.g. in |
115 |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
116 |
# suppresses any "Segmentation fault" message there. '((' could |
117 |
# trigger a bug in pdksh 5.2.14. |
118 |
for as_var in BASH_ENV ENV MAIL MAILPATH |
119 |
do eval test x\${$as_var+set} = xset \ |
120 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
121 |
done |
122 |
PS1='$ ' |
123 |
PS2='> ' |
124 |
PS4='+ ' |
125 |
|
126 |
# NLS nuisances. |
127 |
LC_ALL=C |
128 |
export LC_ALL |
129 |
LANGUAGE=C |
130 |
export LANGUAGE |
131 |
|
132 |
# CDPATH. |
133 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
134 |
|
135 |
# Use a proper internal environment variable to ensure we don't fall |
136 |
# into an infinite loop, continuously re-executing ourselves. |
137 |
if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then |
138 |
_as_can_reexec=no; export _as_can_reexec; |
139 |
# We cannot yet assume a decent shell, so we have to provide a |
140 |
# neutralization value for shells without unset; and this also |
141 |
# works around shells that cannot unset nonexistent variables. |
142 |
# Preserve -v and -x to the replacement shell. |
143 |
BASH_ENV=/dev/null |
144 |
ENV=/dev/null |
145 |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
146 |
case $- in # (((( |
147 |
*v*x* | *x*v* ) as_opts=-vx ;; |
148 |
*v* ) as_opts=-v ;; |
149 |
*x* ) as_opts=-x ;; |
150 |
* ) as_opts= ;; |
151 |
esac |
152 |
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
153 |
# Admittedly, this is quite paranoid, since all the known shells bail |
154 |
# out after a failed `exec'. |
155 |
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
156 |
as_fn_exit 255 |
157 |
fi |
158 |
# We don't want this to propagate to other subprocesses. |
159 |
{ _as_can_reexec=; unset _as_can_reexec;} |
160 |
if test "x$CONFIG_SHELL" = x; then |
161 |
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
162 |
emulate sh |
163 |
NULLCMD=: |
164 |
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
165 |
# is contrary to our usage. Disable this feature. |
166 |
alias -g '\${1+\"\$@\"}'='\"\$@\"' |
167 |
setopt NO_GLOB_SUBST |
168 |
else |
169 |
case \`(set -o) 2>/dev/null\` in #( |
170 |
*posix*) : |
171 |
set -o posix ;; #( |
172 |
*) : |
173 |
;; |
174 |
esac |
175 |
fi |
176 |
" |
177 |
as_required="as_fn_return () { (exit \$1); } |
178 |
as_fn_success () { as_fn_return 0; } |
179 |
as_fn_failure () { as_fn_return 1; } |
180 |
as_fn_ret_success () { return 0; } |
181 |
as_fn_ret_failure () { return 1; } |
182 |
|
183 |
exitcode=0 |
184 |
as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
185 |
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
186 |
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
187 |
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
188 |
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
189 |
|
190 |
else |
191 |
exitcode=1; echo positional parameters were not saved. |
192 |
fi |
193 |
test x\$exitcode = x0 || exit 1 |
194 |
test -x / || exit 1" |
195 |
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
196 |
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
197 |
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
198 |
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
199 |
test \$(( 1 + 1 )) = 2 || exit 1" |
200 |
if (eval "$as_required") 2>/dev/null; then : |
201 |
as_have_required=yes |
202 |
else |
203 |
as_have_required=no |
204 |
fi |
205 |
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : |
206 |
|
207 |
else |
208 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
209 |
as_found=false |
210 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
211 |
do |
212 |
IFS=$as_save_IFS |
213 |
test -z "$as_dir" && as_dir=. |
214 |
as_found=: |
215 |
case $as_dir in #( |
216 |
/*) |
217 |
for as_base in sh bash ksh sh5; do |
218 |
# Try only shells that exist, to save several forks. |
219 |
as_shell=$as_dir/$as_base |
220 |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
221 |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : |
222 |
CONFIG_SHELL=$as_shell as_have_required=yes |
223 |
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : |
224 |
break 2 |
225 |
fi |
226 |
fi |
227 |
done;; |
228 |
esac |
229 |
as_found=false |
230 |
done |
231 |
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
232 |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : |
233 |
CONFIG_SHELL=$SHELL as_have_required=yes |
234 |
fi; } |
235 |
IFS=$as_save_IFS |
236 |
|
237 |
|
238 |
if test "x$CONFIG_SHELL" != x; then : |
239 |
export CONFIG_SHELL |
240 |
# We cannot yet assume a decent shell, so we have to provide a |
241 |
# neutralization value for shells without unset; and this also |
242 |
# works around shells that cannot unset nonexistent variables. |
243 |
# Preserve -v and -x to the replacement shell. |
244 |
BASH_ENV=/dev/null |
245 |
ENV=/dev/null |
246 |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
247 |
case $- in # (((( |
248 |
*v*x* | *x*v* ) as_opts=-vx ;; |
249 |
*v* ) as_opts=-v ;; |
250 |
*x* ) as_opts=-x ;; |
251 |
* ) as_opts= ;; |
252 |
esac |
253 |
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
254 |
# Admittedly, this is quite paranoid, since all the known shells bail |
255 |
# out after a failed `exec'. |
256 |
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
257 |
exit 255 |
258 |
fi |
259 |
|
260 |
if test x$as_have_required = xno; then : |
261 |
$as_echo "$0: This script requires a shell more modern than all" |
262 |
$as_echo "$0: the shells that I found on your system." |
263 |
if test x${ZSH_VERSION+set} = xset ; then |
264 |
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
265 |
$as_echo "$0: be upgraded to zsh 4.3.4 or later." |
266 |
else |
267 |
$as_echo "$0: Please tell bug-autoconf@gnu.org about your system, |
268 |
$0: including any error possibly output before this |
269 |
$0: message. Then install a modern shell, or manually run |
270 |
$0: the script under such a shell if you do have one." |
271 |
fi |
272 |
exit 1 |
273 |
fi |
274 |
fi |
275 |
fi |
276 |
SHELL=${CONFIG_SHELL-/bin/sh} |
277 |
export SHELL |
278 |
# Unset more variables known to interfere with behavior of common tools. |
279 |
CLICOLOR_FORCE= GREP_OPTIONS= |
280 |
unset CLICOLOR_FORCE GREP_OPTIONS |
281 |
|
282 |
## --------------------- ## |
283 |
## M4sh Shell Functions. ## |
284 |
## --------------------- ## |
285 |
# as_fn_unset VAR |
286 |
# --------------- |
287 |
# Portably unset VAR. |
288 |
as_fn_unset () |
289 |
{ |
290 |
{ eval $1=; unset $1;} |
291 |
} |
292 |
as_unset=as_fn_unset |
293 |
|
294 |
# as_fn_set_status STATUS |
295 |
# ----------------------- |
296 |
# Set $? to STATUS, without forking. |
297 |
as_fn_set_status () |
298 |
{ |
299 |
return $1 |
300 |
} # as_fn_set_status |
301 |
|
302 |
# as_fn_exit STATUS |
303 |
# ----------------- |
304 |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
305 |
as_fn_exit () |
306 |
{ |
307 |
set +e |
308 |
as_fn_set_status $1 |
309 |
exit $1 |
310 |
} # as_fn_exit |
311 |
|
312 |
# as_fn_mkdir_p |
313 |
# ------------- |
314 |
# Create "$as_dir" as a directory, including parents if necessary. |
315 |
as_fn_mkdir_p () |
316 |
{ |
317 |
|
318 |
case $as_dir in #( |
319 |
-*) as_dir=./$as_dir;; |
320 |
esac |
321 |
test -d "$as_dir" || eval $as_mkdir_p || { |
322 |
as_dirs= |
323 |
while :; do |
324 |
case $as_dir in #( |
325 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
326 |
*) as_qdir=$as_dir;; |
327 |
esac |
328 |
as_dirs="'$as_qdir' $as_dirs" |
329 |
as_dir=`$as_dirname -- "$as_dir" || |
330 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
331 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
332 |
X"$as_dir" : 'X\(//\)$' \| \ |
333 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
334 |
$as_echo X"$as_dir" | |
335 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
336 |
s//\1/ |
337 |
q |
338 |
} |
339 |
/^X\(\/\/\)[^/].*/{ |
340 |
s//\1/ |
341 |
q |
342 |
} |
343 |
/^X\(\/\/\)$/{ |
344 |
s//\1/ |
345 |
q |
346 |
} |
347 |
/^X\(\/\).*/{ |
348 |
s//\1/ |
349 |
q |
350 |
} |
351 |
s/.*/./; q'` |
352 |
test -d "$as_dir" && break |
353 |
done |
354 |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
355 |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
356 |
|
357 |
|
358 |
} # as_fn_mkdir_p |
359 |
|
360 |
# as_fn_executable_p FILE |
361 |
# ----------------------- |
362 |
# Test if FILE is an executable regular file. |
363 |
as_fn_executable_p () |
364 |
{ |
365 |
test -f "$1" && test -x "$1" |
366 |
} # as_fn_executable_p |
367 |
# as_fn_append VAR VALUE |
368 |
# ---------------------- |
369 |
# Append the text in VALUE to the end of the definition contained in VAR. Take |
370 |
# advantage of any shell optimizations that allow amortized linear growth over |
371 |
# repeated appends, instead of the typical quadratic growth present in naive |
372 |
# implementations. |
373 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
374 |
eval 'as_fn_append () |
375 |
{ |
376 |
eval $1+=\$2 |
377 |
}' |
378 |
else |
379 |
as_fn_append () |
380 |
{ |
381 |
eval $1=\$$1\$2 |
382 |
} |
383 |
fi # as_fn_append |
384 |
|
385 |
# as_fn_arith ARG... |
386 |
# ------------------ |
387 |
# Perform arithmetic evaluation on the ARGs, and store the result in the |
388 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments |
389 |
# must be portable across $(()) and expr. |
390 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
391 |
eval 'as_fn_arith () |
392 |
{ |
393 |
as_val=$(( $* )) |
394 |
}' |
395 |
else |
396 |
as_fn_arith () |
397 |
{ |
398 |
as_val=`expr "$@" || test $? -eq 1` |
399 |
} |
400 |
fi # as_fn_arith |
401 |
|
402 |
|
403 |
# as_fn_error STATUS ERROR [LINENO LOG_FD] |
404 |
# ---------------------------------------- |
405 |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
406 |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
407 |
# script with STATUS, using 1 if that was 0. |
408 |
as_fn_error () |
409 |
{ |
410 |
as_status=$1; test $as_status -eq 0 && as_status=1 |
411 |
if test "$4"; then |
412 |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
413 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
414 |
fi |
415 |
$as_echo "$as_me: error: $2" >&2 |
416 |
as_fn_exit $as_status |
417 |
} # as_fn_error |
418 |
|
419 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
420 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
421 |
as_expr=expr |
422 |
else |
423 |
as_expr=false |
424 |
fi |
425 |
|
426 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
427 |
as_basename=basename |
428 |
else |
429 |
as_basename=false |
430 |
fi |
431 |
|
432 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
433 |
as_dirname=dirname |
434 |
else |
435 |
as_dirname=false |
436 |
fi |
437 |
|
438 |
as_me=`$as_basename -- "$0" || |
439 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
440 |
X"$0" : 'X\(//\)$' \| \ |
441 |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
442 |
$as_echo X/"$0" | |
443 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
444 |
s//\1/ |
445 |
q |
446 |
} |
447 |
/^X\/\(\/\/\)$/{ |
448 |
s//\1/ |
449 |
q |
450 |
} |
451 |
/^X\/\(\/\).*/{ |
452 |
s//\1/ |
453 |
q |
454 |
} |
455 |
s/.*/./; q'` |
456 |
|
457 |
# Avoid depending upon Character Ranges. |
458 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
459 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
460 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
461 |
as_cr_digits='0123456789' |
462 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
463 |
|
464 |
|
465 |
as_lineno_1=$LINENO as_lineno_1a=$LINENO |
466 |
as_lineno_2=$LINENO as_lineno_2a=$LINENO |
467 |
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
468 |
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
469 |
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
470 |
sed -n ' |
471 |
p |
472 |
/[$]LINENO/= |
473 |
' <$as_myself | |
474 |
sed ' |
475 |
s/[$]LINENO.*/&-/ |
476 |
t lineno |
477 |
b |
478 |
:lineno |
479 |
N |
480 |
:loop |
481 |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
482 |
t loop |
483 |
s/-\n.*// |
484 |
' >$as_me.lineno && |
485 |
chmod +x "$as_me.lineno" || |
486 |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
487 |
|
488 |
# If we had to re-execute with $CONFIG_SHELL, we're ensured to have |
489 |
# already done that, so ensure we don't try to do so again and fall |
490 |
# in an infinite loop. This has already happened in practice. |
491 |
_as_can_reexec=no; export _as_can_reexec |
492 |
# Don't try to exec as it changes $[0], causing all sort of problems |
493 |
# (the dirname of $[0] is not the place where we might find the |
494 |
# original and so on. Autoconf is especially sensitive to this). |
495 |
. "./$as_me.lineno" |
496 |
# Exit status is that of the last command. |
497 |
exit |
498 |
} |
499 |
|
500 |
ECHO_C= ECHO_N= ECHO_T= |
501 |
case `echo -n x` in #((((( |
502 |
-n*) |
503 |
case `echo 'xy\c'` in |
504 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
505 |
xy) ECHO_C='\c';; |
506 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
507 |
ECHO_T=' ';; |
508 |
esac;; |
509 |
*) |
510 |
ECHO_N='-n';; |
511 |
esac |
512 |
|
513 |
rm -f conf$$ conf$$.exe conf$$.file |
514 |
if test -d conf$$.dir; then |
515 |
rm -f conf$$.dir/conf$$.file |
516 |
else |
517 |
rm -f conf$$.dir |
518 |
mkdir conf$$.dir 2>/dev/null |
519 |
fi |
520 |
if (echo >conf$$.file) 2>/dev/null; then |
521 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
522 |
as_ln_s='ln -s' |
523 |
# ... but there are two gotchas: |
524 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
525 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
526 |
# In both cases, we have to default to `cp -pR'. |
527 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
528 |
as_ln_s='cp -pR' |
529 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
530 |
as_ln_s=ln |
531 |
else |
532 |
as_ln_s='cp -pR' |
533 |
fi |
534 |
else |
535 |
as_ln_s='cp -pR' |
536 |
fi |
537 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
538 |
rmdir conf$$.dir 2>/dev/null |
539 |
|
540 |
if mkdir -p . 2>/dev/null; then |
541 |
as_mkdir_p='mkdir -p "$as_dir"' |
542 |
else |
543 |
test -d ./-p && rmdir ./-p |
544 |
as_mkdir_p=false |
545 |
fi |
546 |
|
547 |
as_test_x='test -x' |
548 |
as_executable_p=as_fn_executable_p |
549 |
|
550 |
# Sed expression to map a string onto a valid CPP name. |
551 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
552 |
|
553 |
# Sed expression to map a string onto a valid variable name. |
554 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
555 |
|
556 |
|
557 |
test -n "$DJDIR" || exec 7<&0 </dev/null |
558 |
exec 6>&1 |
559 |
|
560 |
# Name of the host. |
561 |
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
562 |
# so uname gets run too. |
563 |
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
564 |
|
565 |
# |
566 |
# Initializations. |
567 |
# |
568 |
ac_default_prefix=/usr/local |
569 |
ac_clean_files= |
570 |
ac_config_libobj_dir=. |
571 |
LIBOBJS= |
572 |
cross_compiling=no |
573 |
subdirs= |
574 |
MFLAGS= |
575 |
MAKEFLAGS= |
576 |
|
577 |
# Identity of this package. |
578 |
PACKAGE_NAME= |
579 |
PACKAGE_TARNAME= |
580 |
PACKAGE_VERSION= |
581 |
PACKAGE_STRING= |
582 |
PACKAGE_BUGREPORT= |
583 |
PACKAGE_URL= |
584 |
|
585 |
ac_unique_file="src/gvpe.C" |
586 |
# Factoring default headers for most tests. |
587 |
ac_includes_default="\ |
588 |
#include <stdio.h> |
589 |
#ifdef HAVE_SYS_TYPES_H |
590 |
# include <sys/types.h> |
591 |
#endif |
592 |
#ifdef HAVE_SYS_STAT_H |
593 |
# include <sys/stat.h> |
594 |
#endif |
595 |
#ifdef STDC_HEADERS |
596 |
# include <stdlib.h> |
597 |
# include <stddef.h> |
598 |
#else |
599 |
# ifdef HAVE_STDLIB_H |
600 |
# include <stdlib.h> |
601 |
# endif |
602 |
#endif |
603 |
#ifdef HAVE_STRING_H |
604 |
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
605 |
# include <memory.h> |
606 |
# endif |
607 |
# include <string.h> |
608 |
#endif |
609 |
#ifdef HAVE_STRINGS_H |
610 |
# include <strings.h> |
611 |
#endif |
612 |
#ifdef HAVE_INTTYPES_H |
613 |
# include <inttypes.h> |
614 |
#endif |
615 |
#ifdef HAVE_STDINT_H |
616 |
# include <stdint.h> |
617 |
#endif |
618 |
#ifdef HAVE_UNISTD_H |
619 |
# include <unistd.h> |
620 |
#endif" |
621 |
|
622 |
ac_subst_vars='am__EXEEXT_FALSE |
623 |
am__EXEEXT_TRUE |
624 |
LTLIBOBJS |
625 |
LIBOBJS |
626 |
INCLUDES |
627 |
ROHC_FALSE |
628 |
ROHC_TRUE |
629 |
LDFLAGS_DAEMON |
630 |
HAVE_TUNTAP |
631 |
LINUX_IF_TUN_H |
632 |
ALLOCA |
633 |
CXXCPP |
634 |
IFSUBTYPE |
635 |
IFTYPE |
636 |
RANLIB |
637 |
LN_S |
638 |
EGREP |
639 |
GREP |
640 |
am__fastdepCXX_FALSE |
641 |
am__fastdepCXX_TRUE |
642 |
CXXDEPMODE |
643 |
ac_ct_CXX |
644 |
CXXFLAGS |
645 |
CXX |
646 |
CPP |
647 |
POSUB |
648 |
LTLIBINTL |
649 |
LIBINTL |
650 |
INTLLIBS |
651 |
LTLIBICONV |
652 |
LIBICONV |
653 |
USE_NLS |
654 |
am__fastdepCC_FALSE |
655 |
am__fastdepCC_TRUE |
656 |
CCDEPMODE |
657 |
am__nodep |
658 |
AMDEPBACKSLASH |
659 |
AMDEP_FALSE |
660 |
AMDEP_TRUE |
661 |
am__quote |
662 |
am__include |
663 |
DEPDIR |
664 |
OBJEXT |
665 |
EXEEXT |
666 |
ac_ct_CC |
667 |
CPPFLAGS |
668 |
LDFLAGS |
669 |
CFLAGS |
670 |
CC |
671 |
MSGMERGE |
672 |
XGETTEXT |
673 |
GMSGFMT |
674 |
MSGFMT |
675 |
MKINSTALLDIRS |
676 |
MAINT |
677 |
MAINTAINER_MODE_FALSE |
678 |
MAINTAINER_MODE_TRUE |
679 |
am__untar |
680 |
am__tar |
681 |
AMTAR |
682 |
am__leading_dot |
683 |
SET_MAKE |
684 |
AWK |
685 |
mkdir_p |
686 |
MKDIR_P |
687 |
INSTALL_STRIP_PROGRAM |
688 |
STRIP |
689 |
install_sh |
690 |
MAKEINFO |
691 |
AUTOHEADER |
692 |
AUTOMAKE |
693 |
AUTOCONF |
694 |
ACLOCAL |
695 |
VERSION |
696 |
PACKAGE |
697 |
CYGPATH_W |
698 |
am__isrc |
699 |
INSTALL_DATA |
700 |
INSTALL_SCRIPT |
701 |
INSTALL_PROGRAM |
702 |
target_os |
703 |
target_vendor |
704 |
target_cpu |
705 |
target |
706 |
host_os |
707 |
host_vendor |
708 |
host_cpu |
709 |
host |
710 |
build_os |
711 |
build_vendor |
712 |
build_cpu |
713 |
build |
714 |
target_alias |
715 |
host_alias |
716 |
build_alias |
717 |
LIBS |
718 |
ECHO_T |
719 |
ECHO_N |
720 |
ECHO_C |
721 |
DEFS |
722 |
mandir |
723 |
localedir |
724 |
libdir |
725 |
psdir |
726 |
pdfdir |
727 |
dvidir |
728 |
htmldir |
729 |
infodir |
730 |
docdir |
731 |
oldincludedir |
732 |
includedir |
733 |
localstatedir |
734 |
sharedstatedir |
735 |
sysconfdir |
736 |
datadir |
737 |
datarootdir |
738 |
libexecdir |
739 |
sbindir |
740 |
bindir |
741 |
program_transform_name |
742 |
prefix |
743 |
exec_prefix |
744 |
PACKAGE_URL |
745 |
PACKAGE_BUGREPORT |
746 |
PACKAGE_STRING |
747 |
PACKAGE_VERSION |
748 |
PACKAGE_TARNAME |
749 |
PACKAGE_NAME |
750 |
PATH_SEPARATOR |
751 |
SHELL' |
752 |
ac_subst_files='' |
753 |
ac_user_opts=' |
754 |
enable_option_checking |
755 |
enable_maintainer_mode |
756 |
enable_dependency_tracking |
757 |
with_gnu_ld |
758 |
enable_rpath |
759 |
with_libiconv_prefix |
760 |
enable_nls |
761 |
with_libintl_prefix |
762 |
enable_iftype |
763 |
with_kernel |
764 |
with_openssl_include |
765 |
with_openssl_lib |
766 |
enable_threads |
767 |
enable_static_daemon |
768 |
enable_icmp |
769 |
enable_tcp |
770 |
enable_http_proxy |
771 |
enable_dns |
772 |
enable_hmac_length |
773 |
enable_rand_length |
774 |
enable_max_mtu |
775 |
enable_compression |
776 |
enable_cipher |
777 |
enable_digest |
778 |
' |
779 |
ac_precious_vars='build_alias |
780 |
host_alias |
781 |
target_alias |
782 |
CC |
783 |
CFLAGS |
784 |
LDFLAGS |
785 |
LIBS |
786 |
CPPFLAGS |
787 |
CPP |
788 |
CXX |
789 |
CXXFLAGS |
790 |
CCC |
791 |
CXXCPP' |
792 |
|
793 |
|
794 |
# Initialize some variables set by options. |
795 |
ac_init_help= |
796 |
ac_init_version=false |
797 |
ac_unrecognized_opts= |
798 |
ac_unrecognized_sep= |
799 |
# The variables have the same names as the options, with |
800 |
# dashes changed to underlines. |
801 |
cache_file=/dev/null |
802 |
exec_prefix=NONE |
803 |
no_create= |
804 |
no_recursion= |
805 |
prefix=NONE |
806 |
program_prefix=NONE |
807 |
program_suffix=NONE |
808 |
program_transform_name=s,x,x, |
809 |
silent= |
810 |
site= |
811 |
srcdir= |
812 |
verbose= |
813 |
x_includes=NONE |
814 |
x_libraries=NONE |
815 |
|
816 |
# Installation directory options. |
817 |
# These are left unexpanded so users can "make install exec_prefix=/foo" |
818 |
# and all the variables that are supposed to be based on exec_prefix |
819 |
# by default will actually change. |
820 |
# Use braces instead of parens because sh, perl, etc. also accept them. |
821 |
# (The list follows the same order as the GNU Coding Standards.) |
822 |
bindir='${exec_prefix}/bin' |
823 |
sbindir='${exec_prefix}/sbin' |
824 |
libexecdir='${exec_prefix}/libexec' |
825 |
datarootdir='${prefix}/share' |
826 |
datadir='${datarootdir}' |
827 |
sysconfdir='${prefix}/etc' |
828 |
sharedstatedir='${prefix}/com' |
829 |
localstatedir='${prefix}/var' |
830 |
includedir='${prefix}/include' |
831 |
oldincludedir='/usr/include' |
832 |
docdir='${datarootdir}/doc/${PACKAGE}' |
833 |
infodir='${datarootdir}/info' |
834 |
htmldir='${docdir}' |
835 |
dvidir='${docdir}' |
836 |
pdfdir='${docdir}' |
837 |
psdir='${docdir}' |
838 |
libdir='${exec_prefix}/lib' |
839 |
localedir='${datarootdir}/locale' |
840 |
mandir='${datarootdir}/man' |
841 |
|
842 |
ac_prev= |
843 |
ac_dashdash= |
844 |
for ac_option |
845 |
do |
846 |
# If the previous option needs an argument, assign it. |
847 |
if test -n "$ac_prev"; then |
848 |
eval $ac_prev=\$ac_option |
849 |
ac_prev= |
850 |
continue |
851 |
fi |
852 |
|
853 |
case $ac_option in |
854 |
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
855 |
*=) ac_optarg= ;; |
856 |
*) ac_optarg=yes ;; |
857 |
esac |
858 |
|
859 |
# Accept the important Cygnus configure options, so we can diagnose typos. |
860 |
|
861 |
case $ac_dashdash$ac_option in |
862 |
--) |
863 |
ac_dashdash=yes ;; |
864 |
|
865 |
-bindir | --bindir | --bindi | --bind | --bin | --bi) |
866 |
ac_prev=bindir ;; |
867 |
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
868 |
bindir=$ac_optarg ;; |
869 |
|
870 |
-build | --build | --buil | --bui | --bu) |
871 |
ac_prev=build_alias ;; |
872 |
-build=* | --build=* | --buil=* | --bui=* | --bu=*) |
873 |
build_alias=$ac_optarg ;; |
874 |
|
875 |
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
876 |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
877 |
ac_prev=cache_file ;; |
878 |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
879 |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
880 |
cache_file=$ac_optarg ;; |
881 |
|
882 |
--config-cache | -C) |
883 |
cache_file=config.cache ;; |
884 |
|
885 |
-datadir | --datadir | --datadi | --datad) |
886 |
ac_prev=datadir ;; |
887 |
-datadir=* | --datadir=* | --datadi=* | --datad=*) |
888 |
datadir=$ac_optarg ;; |
889 |
|
890 |
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
891 |
| --dataroo | --dataro | --datar) |
892 |
ac_prev=datarootdir ;; |
893 |
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
894 |
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
895 |
datarootdir=$ac_optarg ;; |
896 |
|
897 |
-disable-* | --disable-*) |
898 |
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
899 |
# Reject names that are not valid shell variable names. |
900 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
901 |
as_fn_error $? "invalid feature name: $ac_useropt" |
902 |
ac_useropt_orig=$ac_useropt |
903 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
904 |
case $ac_user_opts in |
905 |
*" |
906 |
"enable_$ac_useropt" |
907 |
"*) ;; |
908 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
909 |
ac_unrecognized_sep=', ';; |
910 |
esac |
911 |
eval enable_$ac_useropt=no ;; |
912 |
|
913 |
-docdir | --docdir | --docdi | --doc | --do) |
914 |
ac_prev=docdir ;; |
915 |
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
916 |
docdir=$ac_optarg ;; |
917 |
|
918 |
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
919 |
ac_prev=dvidir ;; |
920 |
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
921 |
dvidir=$ac_optarg ;; |
922 |
|
923 |
-enable-* | --enable-*) |
924 |
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
925 |
# Reject names that are not valid shell variable names. |
926 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
927 |
as_fn_error $? "invalid feature name: $ac_useropt" |
928 |
ac_useropt_orig=$ac_useropt |
929 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
930 |
case $ac_user_opts in |
931 |
*" |
932 |
"enable_$ac_useropt" |
933 |
"*) ;; |
934 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
935 |
ac_unrecognized_sep=', ';; |
936 |
esac |
937 |
eval enable_$ac_useropt=\$ac_optarg ;; |
938 |
|
939 |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
940 |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
941 |
| --exec | --exe | --ex) |
942 |
ac_prev=exec_prefix ;; |
943 |
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
944 |
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
945 |
| --exec=* | --exe=* | --ex=*) |
946 |
exec_prefix=$ac_optarg ;; |
947 |
|
948 |
-gas | --gas | --ga | --g) |
949 |
# Obsolete; use --with-gas. |
950 |
with_gas=yes ;; |
951 |
|
952 |
-help | --help | --hel | --he | -h) |
953 |
ac_init_help=long ;; |
954 |
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
955 |
ac_init_help=recursive ;; |
956 |
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
957 |
ac_init_help=short ;; |
958 |
|
959 |
-host | --host | --hos | --ho) |
960 |
ac_prev=host_alias ;; |
961 |
-host=* | --host=* | --hos=* | --ho=*) |
962 |
host_alias=$ac_optarg ;; |
963 |
|
964 |
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
965 |
ac_prev=htmldir ;; |
966 |
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
967 |
| --ht=*) |
968 |
htmldir=$ac_optarg ;; |
969 |
|
970 |
-includedir | --includedir | --includedi | --included | --include \ |
971 |
| --includ | --inclu | --incl | --inc) |
972 |
ac_prev=includedir ;; |
973 |
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
974 |
| --includ=* | --inclu=* | --incl=* | --inc=*) |
975 |
includedir=$ac_optarg ;; |
976 |
|
977 |
-infodir | --infodir | --infodi | --infod | --info | --inf) |
978 |
ac_prev=infodir ;; |
979 |
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
980 |
infodir=$ac_optarg ;; |
981 |
|
982 |
-libdir | --libdir | --libdi | --libd) |
983 |
ac_prev=libdir ;; |
984 |
-libdir=* | --libdir=* | --libdi=* | --libd=*) |
985 |
libdir=$ac_optarg ;; |
986 |
|
987 |
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
988 |
| --libexe | --libex | --libe) |
989 |
ac_prev=libexecdir ;; |
990 |
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
991 |
| --libexe=* | --libex=* | --libe=*) |
992 |
libexecdir=$ac_optarg ;; |
993 |
|
994 |
-localedir | --localedir | --localedi | --localed | --locale) |
995 |
ac_prev=localedir ;; |
996 |
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
997 |
localedir=$ac_optarg ;; |
998 |
|
999 |
-localstatedir | --localstatedir | --localstatedi | --localstated \ |
1000 |
| --localstate | --localstat | --localsta | --localst | --locals) |
1001 |
ac_prev=localstatedir ;; |
1002 |
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
1003 |
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
1004 |
localstatedir=$ac_optarg ;; |
1005 |
|
1006 |
-mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
1007 |
ac_prev=mandir ;; |
1008 |
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
1009 |
mandir=$ac_optarg ;; |
1010 |
|
1011 |
-nfp | --nfp | --nf) |
1012 |
# Obsolete; use --without-fp. |
1013 |
with_fp=no ;; |
1014 |
|
1015 |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
1016 |
| --no-cr | --no-c | -n) |
1017 |
no_create=yes ;; |
1018 |
|
1019 |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
1020 |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
1021 |
no_recursion=yes ;; |
1022 |
|
1023 |
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
1024 |
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
1025 |
| --oldin | --oldi | --old | --ol | --o) |
1026 |
ac_prev=oldincludedir ;; |
1027 |
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
1028 |
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
1029 |
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
1030 |
oldincludedir=$ac_optarg ;; |
1031 |
|
1032 |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
1033 |
ac_prev=prefix ;; |
1034 |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
1035 |
prefix=$ac_optarg ;; |
1036 |
|
1037 |
-program-prefix | --program-prefix | --program-prefi | --program-pref \ |
1038 |
| --program-pre | --program-pr | --program-p) |
1039 |
ac_prev=program_prefix ;; |
1040 |
-program-prefix=* | --program-prefix=* | --program-prefi=* \ |
1041 |
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
1042 |
program_prefix=$ac_optarg ;; |
1043 |
|
1044 |
-program-suffix | --program-suffix | --program-suffi | --program-suff \ |
1045 |
| --program-suf | --program-su | --program-s) |
1046 |
ac_prev=program_suffix ;; |
1047 |
-program-suffix=* | --program-suffix=* | --program-suffi=* \ |
1048 |
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
1049 |
program_suffix=$ac_optarg ;; |
1050 |
|
1051 |
-program-transform-name | --program-transform-name \ |
1052 |
| --program-transform-nam | --program-transform-na \ |
1053 |
| --program-transform-n | --program-transform- \ |
1054 |
| --program-transform | --program-transfor \ |
1055 |
| --program-transfo | --program-transf \ |
1056 |
| --program-trans | --program-tran \ |
1057 |
| --progr-tra | --program-tr | --program-t) |
1058 |
ac_prev=program_transform_name ;; |
1059 |
-program-transform-name=* | --program-transform-name=* \ |
1060 |
| --program-transform-nam=* | --program-transform-na=* \ |
1061 |
| --program-transform-n=* | --program-transform-=* \ |
1062 |
| --program-transform=* | --program-transfor=* \ |
1063 |
| --program-transfo=* | --program-transf=* \ |
1064 |
| --program-trans=* | --program-tran=* \ |
1065 |
| --progr-tra=* | --program-tr=* | --program-t=*) |
1066 |
program_transform_name=$ac_optarg ;; |
1067 |
|
1068 |
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
1069 |
ac_prev=pdfdir ;; |
1070 |
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
1071 |
pdfdir=$ac_optarg ;; |
1072 |
|
1073 |
-psdir | --psdir | --psdi | --psd | --ps) |
1074 |
ac_prev=psdir ;; |
1075 |
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
1076 |
psdir=$ac_optarg ;; |
1077 |
|
1078 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1079 |
| -silent | --silent | --silen | --sile | --sil) |
1080 |
silent=yes ;; |
1081 |
|
1082 |
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
1083 |
ac_prev=sbindir ;; |
1084 |
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
1085 |
| --sbi=* | --sb=*) |
1086 |
sbindir=$ac_optarg ;; |
1087 |
|
1088 |
-sharedstatedir | --sharedstatedir | --sharedstatedi \ |
1089 |
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
1090 |
| --sharedst | --shareds | --shared | --share | --shar \ |
1091 |
| --sha | --sh) |
1092 |
ac_prev=sharedstatedir ;; |
1093 |
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
1094 |
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
1095 |
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
1096 |
| --sha=* | --sh=*) |
1097 |
sharedstatedir=$ac_optarg ;; |
1098 |
|
1099 |
-site | --site | --sit) |
1100 |
ac_prev=site ;; |
1101 |
-site=* | --site=* | --sit=*) |
1102 |
site=$ac_optarg ;; |
1103 |
|
1104 |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
1105 |
ac_prev=srcdir ;; |
1106 |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
1107 |
srcdir=$ac_optarg ;; |
1108 |
|
1109 |
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
1110 |
| --syscon | --sysco | --sysc | --sys | --sy) |
1111 |
ac_prev=sysconfdir ;; |
1112 |
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
1113 |
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
1114 |
sysconfdir=$ac_optarg ;; |
1115 |
|
1116 |
-target | --target | --targe | --targ | --tar | --ta | --t) |
1117 |
ac_prev=target_alias ;; |
1118 |
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
1119 |
target_alias=$ac_optarg ;; |
1120 |
|
1121 |
-v | -verbose | --verbose | --verbos | --verbo | --verb) |
1122 |
verbose=yes ;; |
1123 |
|
1124 |
-version | --version | --versio | --versi | --vers | -V) |
1125 |
ac_init_version=: ;; |
1126 |
|
1127 |
-with-* | --with-*) |
1128 |
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1129 |
# Reject names that are not valid shell variable names. |
1130 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1131 |
as_fn_error $? "invalid package name: $ac_useropt" |
1132 |
ac_useropt_orig=$ac_useropt |
1133 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1134 |
case $ac_user_opts in |
1135 |
*" |
1136 |
"with_$ac_useropt" |
1137 |
"*) ;; |
1138 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
1139 |
ac_unrecognized_sep=', ';; |
1140 |
esac |
1141 |
eval with_$ac_useropt=\$ac_optarg ;; |
1142 |
|
1143 |
-without-* | --without-*) |
1144 |
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1145 |
# Reject names that are not valid shell variable names. |
1146 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1147 |
as_fn_error $? "invalid package name: $ac_useropt" |
1148 |
ac_useropt_orig=$ac_useropt |
1149 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1150 |
case $ac_user_opts in |
1151 |
*" |
1152 |
"with_$ac_useropt" |
1153 |
"*) ;; |
1154 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
1155 |
ac_unrecognized_sep=', ';; |
1156 |
esac |
1157 |
eval with_$ac_useropt=no ;; |
1158 |
|
1159 |
--x) |
1160 |
# Obsolete; use --with-x. |
1161 |
with_x=yes ;; |
1162 |
|
1163 |
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
1164 |
| --x-incl | --x-inc | --x-in | --x-i) |
1165 |
ac_prev=x_includes ;; |
1166 |
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
1167 |
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
1168 |
x_includes=$ac_optarg ;; |
1169 |
|
1170 |
-x-libraries | --x-libraries | --x-librarie | --x-librari \ |
1171 |
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
1172 |
ac_prev=x_libraries ;; |
1173 |
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
1174 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1175 |
x_libraries=$ac_optarg ;; |
1176 |
|
1177 |
-*) as_fn_error $? "unrecognized option: \`$ac_option' |
1178 |
Try \`$0 --help' for more information" |
1179 |
;; |
1180 |
|
1181 |
*=*) |
1182 |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1183 |
# Reject names that are not valid shell variable names. |
1184 |
case $ac_envvar in #( |
1185 |
'' | [0-9]* | *[!_$as_cr_alnum]* ) |
1186 |
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
1187 |
esac |
1188 |
eval $ac_envvar=\$ac_optarg |
1189 |
export $ac_envvar ;; |
1190 |
|
1191 |
*) |
1192 |
# FIXME: should be removed in autoconf 3.0. |
1193 |
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1194 |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1195 |
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1196 |
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
1197 |
;; |
1198 |
|
1199 |
esac |
1200 |
done |
1201 |
|
1202 |
if test -n "$ac_prev"; then |
1203 |
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1204 |
as_fn_error $? "missing argument to $ac_option" |
1205 |
fi |
1206 |
|
1207 |
if test -n "$ac_unrecognized_opts"; then |
1208 |
case $enable_option_checking in |
1209 |
no) ;; |
1210 |
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
1211 |
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1212 |
esac |
1213 |
fi |
1214 |
|
1215 |
# Check all directory arguments for consistency. |
1216 |
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1217 |
datadir sysconfdir sharedstatedir localstatedir includedir \ |
1218 |
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
1219 |
libdir localedir mandir |
1220 |
do |
1221 |
eval ac_val=\$$ac_var |
1222 |
# Remove trailing slashes. |
1223 |
case $ac_val in |
1224 |
*/ ) |
1225 |
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
1226 |
eval $ac_var=\$ac_val;; |
1227 |
esac |
1228 |
# Be sure to have absolute directory names. |
1229 |
case $ac_val in |
1230 |
[\\/$]* | ?:[\\/]* ) continue;; |
1231 |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1232 |
esac |
1233 |
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
1234 |
done |
1235 |
|
1236 |
# There might be people who depend on the old broken behavior: `$host' |
1237 |
# used to hold the argument of --host etc. |
1238 |
# FIXME: To remove some day. |
1239 |
build=$build_alias |
1240 |
host=$host_alias |
1241 |
target=$target_alias |
1242 |
|
1243 |
# FIXME: To remove some day. |
1244 |
if test "x$host_alias" != x; then |
1245 |
if test "x$build_alias" = x; then |
1246 |
cross_compiling=maybe |
1247 |
elif test "x$build_alias" != "x$host_alias"; then |
1248 |
cross_compiling=yes |
1249 |
fi |
1250 |
fi |
1251 |
|
1252 |
ac_tool_prefix= |
1253 |
test -n "$host_alias" && ac_tool_prefix=$host_alias- |
1254 |
|
1255 |
test "$silent" = yes && exec 6>/dev/null |
1256 |
|
1257 |
|
1258 |
ac_pwd=`pwd` && test -n "$ac_pwd" && |
1259 |
ac_ls_di=`ls -di .` && |
1260 |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1261 |
as_fn_error $? "working directory cannot be determined" |
1262 |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1263 |
as_fn_error $? "pwd does not report name of working directory" |
1264 |
|
1265 |
|
1266 |
# Find the source files, if location was not specified. |
1267 |
if test -z "$srcdir"; then |
1268 |
ac_srcdir_defaulted=yes |
1269 |
# Try the directory containing this script, then the parent directory. |
1270 |
ac_confdir=`$as_dirname -- "$as_myself" || |
1271 |
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
1272 |
X"$as_myself" : 'X\(//\)[^/]' \| \ |
1273 |
X"$as_myself" : 'X\(//\)$' \| \ |
1274 |
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
1275 |
$as_echo X"$as_myself" | |
1276 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
1277 |
s//\1/ |
1278 |
q |
1279 |
} |
1280 |
/^X\(\/\/\)[^/].*/{ |
1281 |
s//\1/ |
1282 |
q |
1283 |
} |
1284 |
/^X\(\/\/\)$/{ |
1285 |
s//\1/ |
1286 |
q |
1287 |
} |
1288 |
/^X\(\/\).*/{ |
1289 |
s//\1/ |
1290 |
q |
1291 |
} |
1292 |
s/.*/./; q'` |
1293 |
srcdir=$ac_confdir |
1294 |
if test ! -r "$srcdir/$ac_unique_file"; then |
1295 |
srcdir=.. |
1296 |
fi |
1297 |
else |
1298 |
ac_srcdir_defaulted=no |
1299 |
fi |
1300 |
if test ! -r "$srcdir/$ac_unique_file"; then |
1301 |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1302 |
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
1303 |
fi |
1304 |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1305 |
ac_abs_confdir=`( |
1306 |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
1307 |
pwd)` |
1308 |
# When building in place, set srcdir=. |
1309 |
if test "$ac_abs_confdir" = "$ac_pwd"; then |
1310 |
srcdir=. |
1311 |
fi |
1312 |
# Remove unnecessary trailing slashes from srcdir. |
1313 |
# Double slashes in file names in object file debugging info |
1314 |
# mess up M-x gdb in Emacs. |
1315 |
case $srcdir in |
1316 |
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
1317 |
esac |
1318 |
for ac_var in $ac_precious_vars; do |
1319 |
eval ac_env_${ac_var}_set=\${${ac_var}+set} |
1320 |
eval ac_env_${ac_var}_value=\$${ac_var} |
1321 |
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
1322 |
eval ac_cv_env_${ac_var}_value=\$${ac_var} |
1323 |
done |
1324 |
|
1325 |
# |
1326 |
# Report the --help message. |
1327 |
# |
1328 |
if test "$ac_init_help" = "long"; then |
1329 |
# Omit some internal or obsolete options to make the list less imposing. |
1330 |
# This message is too long to be a string in the A/UX 3.1 sh. |
1331 |
cat <<_ACEOF |
1332 |
\`configure' configures this package to adapt to many kinds of systems. |
1333 |
|
1334 |
Usage: $0 [OPTION]... [VAR=VALUE]... |
1335 |
|
1336 |
To assign environment variables (e.g., CC, CFLAGS...), specify them as |
1337 |
VAR=VALUE. See below for descriptions of some of the useful variables. |
1338 |
|
1339 |
Defaults for the options are specified in brackets. |
1340 |
|
1341 |
Configuration: |
1342 |
-h, --help display this help and exit |
1343 |
--help=short display options specific to this package |
1344 |
--help=recursive display the short help of all the included packages |
1345 |
-V, --version display version information and exit |
1346 |
-q, --quiet, --silent do not print \`checking ...' messages |
1347 |
--cache-file=FILE cache test results in FILE [disabled] |
1348 |
-C, --config-cache alias for \`--cache-file=config.cache' |
1349 |
-n, --no-create do not create output files |
1350 |
--srcdir=DIR find the sources in DIR [configure dir or \`..'] |
1351 |
|
1352 |
Installation directories: |
1353 |
--prefix=PREFIX install architecture-independent files in PREFIX |
1354 |
[$ac_default_prefix] |
1355 |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
1356 |
[PREFIX] |
1357 |
|
1358 |
By default, \`make install' will install all the files in |
1359 |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
1360 |
an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
1361 |
for instance \`--prefix=\$HOME'. |
1362 |
|
1363 |
For better control, use the options below. |
1364 |
|
1365 |
Fine tuning of the installation directories: |
1366 |
--bindir=DIR user executables [EPREFIX/bin] |
1367 |
--sbindir=DIR system admin executables [EPREFIX/sbin] |
1368 |
--libexecdir=DIR program executables [EPREFIX/libexec] |
1369 |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1370 |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1371 |
--localstatedir=DIR modifiable single-machine data [PREFIX/var] |
1372 |
--libdir=DIR object code libraries [EPREFIX/lib] |
1373 |
--includedir=DIR C header files [PREFIX/include] |
1374 |
--oldincludedir=DIR C header files for non-gcc [/usr/include] |
1375 |
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
1376 |
--datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
1377 |
--infodir=DIR info documentation [DATAROOTDIR/info] |
1378 |
--localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
1379 |
--mandir=DIR man documentation [DATAROOTDIR/man] |
1380 |
--docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] |
1381 |
--htmldir=DIR html documentation [DOCDIR] |
1382 |
--dvidir=DIR dvi documentation [DOCDIR] |
1383 |
--pdfdir=DIR pdf documentation [DOCDIR] |
1384 |
--psdir=DIR ps documentation [DOCDIR] |
1385 |
_ACEOF |
1386 |
|
1387 |
cat <<\_ACEOF |
1388 |
|
1389 |
Program names: |
1390 |
--program-prefix=PREFIX prepend PREFIX to installed program names |
1391 |
--program-suffix=SUFFIX append SUFFIX to installed program names |
1392 |
--program-transform-name=PROGRAM run sed PROGRAM on installed program names |
1393 |
|
1394 |
System types: |
1395 |
--build=BUILD configure for building on BUILD [guessed] |
1396 |
--host=HOST cross-compile to build programs to run on HOST [BUILD] |
1397 |
--target=TARGET configure for building compilers for TARGET [HOST] |
1398 |
_ACEOF |
1399 |
fi |
1400 |
|
1401 |
if test -n "$ac_init_help"; then |
1402 |
|
1403 |
cat <<\_ACEOF |
1404 |
|
1405 |
Optional Features: |
1406 |
--disable-option-checking ignore unrecognized --enable/--with options |
1407 |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1408 |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1409 |
--enable-maintainer-mode enable make rules and dependencies not useful |
1410 |
(and sometimes confusing) to the casual installer |
1411 |
--disable-dependency-tracking speeds up one-time build |
1412 |
--enable-dependency-tracking do not reject slow dependency extractors |
1413 |
--disable-rpath do not hardcode runtime library paths |
1414 |
--disable-nls do not use Native Language Support |
1415 |
--enable-iftype=TYPE/SUBTYPE |
1416 |
Use kernel/net device interface TYPE/SUBTYPE. |
1417 |
Working combinations are (see doc/gvpe.osdep.5.pod): |
1418 |
"native/linux" "tincd/linux" "tincd/netbsd" |
1419 |
"tincd/freebsd" "tincd/openbsd" "native/darwin" |
1420 |
"tincd/darwin" "native/cygwin"; Untested |
1421 |
combinations are: "tincd/bsd" "tincd/solaris" |
1422 |
"tincd/mingw" "tincd/raw_socket" "tincd/uml_socket"; |
1423 |
Broken combinations are: "tincd/cygwin"; The default |
1424 |
is to autodetect. |
1425 |
--enable-threads try to use threads for long-running asynchronous |
1426 |
operations (default enabled). |
1427 |
--enable-static-daemon enable statically linked daemon. |
1428 |
--disable-icmp enable icmp protocol support (default enabled). |
1429 |
--disable-tcp enable tcp protocol support (default enabled). |
1430 |
--disable-http-proxy enable http proxy connect support (default enabled). |
1431 |
--enable-dns enable dns tunnel protocol support (default |
1432 |
disabled). |
1433 |
--enable-hmac-length=BYTES |
1434 |
use a hmac of length BYTES bytes (default 12). |
1435 |
Allowed values are 4, 8, 12, 16. |
1436 |
--enable-rand-length=BYTES |
1437 |
use BYTES bytes of extra randomness (default 8). |
1438 |
Allowed values are 0, 4, 8. |
1439 |
--enable-max-mtu=BYTES enable mtu sizes upto BYTES bytes (default 1500). |
1440 |
Use 9100 for jumbogram support. |
1441 |
--disable-compression Disable compression support. |
1442 |
--enable-cipher=CIPHER Select the symmetric cipher (default "aes-128"). |
1443 |
Must be one of "bf" (blowfish), "aes-128" |
1444 |
(rijndael), "aes-192" or "aes-256". |
1445 |
--enable-digest=CIPHER Select the digest algorithm to use (default |
1446 |
"ripemd160"). Must be one of "sha512", "sha256", |
1447 |
"sha1" (somewhat insecure), "ripemd160", "md5" |
1448 |
(insecure) or "md4" (insecure). |
1449 |
|
1450 |
Optional Packages: |
1451 |
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1452 |
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1453 |
--with-gnu-ld assume the C compiler uses GNU ld default=no |
1454 |
--with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib |
1455 |
--without-libiconv-prefix don't search for libiconv in includedir and libdir |
1456 |
--with-libintl-prefix=DIR search for libintl in DIR/include and DIR/lib |
1457 |
--without-libintl-prefix don't search for libintl in includedir and libdir |
1458 |
--with-kernel=dir give the directory with kernel sources |
1459 |
(default: /usr/src/linux) |
1460 |
--with-openssl-include=DIR OpenSSL headers directory (without trailing /openssl) |
1461 |
--with-openssl-lib=DIR OpenSSL library directory |
1462 |
|
1463 |
Some influential environment variables: |
1464 |
CC C compiler command |
1465 |
CFLAGS C compiler flags |
1466 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1467 |
nonstandard directory <lib dir> |
1468 |
LIBS libraries to pass to the linker, e.g. -l<library> |
1469 |
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
1470 |
you have headers in a nonstandard directory <include dir> |
1471 |
CPP C preprocessor |
1472 |
CXX C++ compiler command |
1473 |
CXXFLAGS C++ compiler flags |
1474 |
CXXCPP C++ preprocessor |
1475 |
|
1476 |
Use these variables to override the choices made by `configure' or to help |
1477 |
it to find libraries and programs with nonstandard names/locations. |
1478 |
|
1479 |
Report bugs to the package provider. |
1480 |
_ACEOF |
1481 |
ac_status=$? |
1482 |
fi |
1483 |
|
1484 |
if test "$ac_init_help" = "recursive"; then |
1485 |
# If there are subdirs, report their specific --help. |
1486 |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
1487 |
test -d "$ac_dir" || |
1488 |
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
1489 |
continue |
1490 |
ac_builddir=. |
1491 |
|
1492 |
case "$ac_dir" in |
1493 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1494 |
*) |
1495 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
1496 |
# A ".." for each directory in $ac_dir_suffix. |
1497 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
1498 |
case $ac_top_builddir_sub in |
1499 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1500 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
1501 |
esac ;; |
1502 |
esac |
1503 |
ac_abs_top_builddir=$ac_pwd |
1504 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
1505 |
# for backward compatibility: |
1506 |
ac_top_builddir=$ac_top_build_prefix |
1507 |
|
1508 |
case $srcdir in |
1509 |
.) # We are building in place. |
1510 |
ac_srcdir=. |
1511 |
ac_top_srcdir=$ac_top_builddir_sub |
1512 |
ac_abs_top_srcdir=$ac_pwd ;; |
1513 |
[\\/]* | ?:[\\/]* ) # Absolute name. |
1514 |
ac_srcdir=$srcdir$ac_dir_suffix; |
1515 |
ac_top_srcdir=$srcdir |
1516 |
ac_abs_top_srcdir=$srcdir ;; |
1517 |
*) # Relative name. |
1518 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
1519 |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
1520 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
1521 |
esac |
1522 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
1523 |
|
1524 |
cd "$ac_dir" || { ac_status=$?; continue; } |
1525 |
# Check for guested configure. |
1526 |
if test -f "$ac_srcdir/configure.gnu"; then |
1527 |
echo && |
1528 |
$SHELL "$ac_srcdir/configure.gnu" --help=recursive |
1529 |
elif test -f "$ac_srcdir/configure"; then |
1530 |
echo && |
1531 |
$SHELL "$ac_srcdir/configure" --help=recursive |
1532 |
else |
1533 |
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1534 |
fi || ac_status=$? |
1535 |
cd "$ac_pwd" || { ac_status=$?; break; } |
1536 |
done |
1537 |
fi |
1538 |
|
1539 |
test -n "$ac_init_help" && exit $ac_status |
1540 |
if $ac_init_version; then |
1541 |
cat <<\_ACEOF |
1542 |
configure |
1543 |
generated by GNU Autoconf 2.69 |
1544 |
|
1545 |
Copyright (C) 2012 Free Software Foundation, Inc. |
1546 |
This configure script is free software; the Free Software Foundation |
1547 |
gives unlimited permission to copy, distribute and modify it. |
1548 |
_ACEOF |
1549 |
exit |
1550 |
fi |
1551 |
|
1552 |
## ------------------------ ## |
1553 |
## Autoconf initialization. ## |
1554 |
## ------------------------ ## |
1555 |
|
1556 |
# ac_fn_c_try_compile LINENO |
1557 |
# -------------------------- |
1558 |
# Try to compile conftest.$ac_ext, and return whether this succeeded. |
1559 |
ac_fn_c_try_compile () |
1560 |
{ |
1561 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1562 |
rm -f conftest.$ac_objext |
1563 |
if { { ac_try="$ac_compile" |
1564 |
case "(($ac_try" in |
1565 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1566 |
*) ac_try_echo=$ac_try;; |
1567 |
esac |
1568 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1569 |
$as_echo "$ac_try_echo"; } >&5 |
1570 |
(eval "$ac_compile") 2>conftest.err |
1571 |
ac_status=$? |
1572 |
if test -s conftest.err; then |
1573 |
grep -v '^ *+' conftest.err >conftest.er1 |
1574 |
cat conftest.er1 >&5 |
1575 |
mv -f conftest.er1 conftest.err |
1576 |
fi |
1577 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1578 |
test $ac_status = 0; } && { |
1579 |
test -z "$ac_c_werror_flag" || |
1580 |
test ! -s conftest.err |
1581 |
} && test -s conftest.$ac_objext; then : |
1582 |
ac_retval=0 |
1583 |
else |
1584 |
$as_echo "$as_me: failed program was:" >&5 |
1585 |
sed 's/^/| /' conftest.$ac_ext >&5 |
1586 |
|
1587 |
ac_retval=1 |
1588 |
fi |
1589 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1590 |
as_fn_set_status $ac_retval |
1591 |
|
1592 |
} # ac_fn_c_try_compile |
1593 |
|
1594 |
# ac_fn_c_try_link LINENO |
1595 |
# ----------------------- |
1596 |
# Try to link conftest.$ac_ext, and return whether this succeeded. |
1597 |
ac_fn_c_try_link () |
1598 |
{ |
1599 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1600 |
rm -f conftest.$ac_objext conftest$ac_exeext |
1601 |
if { { ac_try="$ac_link" |
1602 |
case "(($ac_try" in |
1603 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1604 |
*) ac_try_echo=$ac_try;; |
1605 |
esac |
1606 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1607 |
$as_echo "$ac_try_echo"; } >&5 |
1608 |
(eval "$ac_link") 2>conftest.err |
1609 |
ac_status=$? |
1610 |
if test -s conftest.err; then |
1611 |
grep -v '^ *+' conftest.err >conftest.er1 |
1612 |
cat conftest.er1 >&5 |
1613 |
mv -f conftest.er1 conftest.err |
1614 |
fi |
1615 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1616 |
test $ac_status = 0; } && { |
1617 |
test -z "$ac_c_werror_flag" || |
1618 |
test ! -s conftest.err |
1619 |
} && test -s conftest$ac_exeext && { |
1620 |
test "$cross_compiling" = yes || |
1621 |
test -x conftest$ac_exeext |
1622 |
}; then : |
1623 |
ac_retval=0 |
1624 |
else |
1625 |
$as_echo "$as_me: failed program was:" >&5 |
1626 |
sed 's/^/| /' conftest.$ac_ext >&5 |
1627 |
|
1628 |
ac_retval=1 |
1629 |
fi |
1630 |
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
1631 |
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
1632 |
# interfere with the next link command; also delete a directory that is |
1633 |
# left behind by Apple's compiler. We do this before executing the actions. |
1634 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1635 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1636 |
as_fn_set_status $ac_retval |
1637 |
|
1638 |
} # ac_fn_c_try_link |
1639 |
|
1640 |
# ac_fn_c_try_cpp LINENO |
1641 |
# ---------------------- |
1642 |
# Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
1643 |
ac_fn_c_try_cpp () |
1644 |
{ |
1645 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1646 |
if { { ac_try="$ac_cpp conftest.$ac_ext" |
1647 |
case "(($ac_try" in |
1648 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1649 |
*) ac_try_echo=$ac_try;; |
1650 |
esac |
1651 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1652 |
$as_echo "$ac_try_echo"; } >&5 |
1653 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
1654 |
ac_status=$? |
1655 |
if test -s conftest.err; then |
1656 |
grep -v '^ *+' conftest.err >conftest.er1 |
1657 |
cat conftest.er1 >&5 |
1658 |
mv -f conftest.er1 conftest.err |
1659 |
fi |
1660 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1661 |
test $ac_status = 0; } > conftest.i && { |
1662 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
1663 |
test ! -s conftest.err |
1664 |
}; then : |
1665 |
ac_retval=0 |
1666 |
else |
1667 |
$as_echo "$as_me: failed program was:" >&5 |
1668 |
sed 's/^/| /' conftest.$ac_ext >&5 |
1669 |
|
1670 |
ac_retval=1 |
1671 |
fi |
1672 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1673 |
as_fn_set_status $ac_retval |
1674 |
|
1675 |
} # ac_fn_c_try_cpp |
1676 |
|
1677 |
# ac_fn_cxx_try_compile LINENO |
1678 |
# ---------------------------- |
1679 |
# Try to compile conftest.$ac_ext, and return whether this succeeded. |
1680 |
ac_fn_cxx_try_compile () |
1681 |
{ |
1682 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1683 |
rm -f conftest.$ac_objext |
1684 |
if { { ac_try="$ac_compile" |
1685 |
case "(($ac_try" in |
1686 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1687 |
*) ac_try_echo=$ac_try;; |
1688 |
esac |
1689 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1690 |
$as_echo "$ac_try_echo"; } >&5 |
1691 |
(eval "$ac_compile") 2>conftest.err |
1692 |
ac_status=$? |
1693 |
if test -s conftest.err; then |
1694 |
grep -v '^ *+' conftest.err >conftest.er1 |
1695 |
cat conftest.er1 >&5 |
1696 |
mv -f conftest.er1 conftest.err |
1697 |
fi |
1698 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1699 |
test $ac_status = 0; } && { |
1700 |
test -z "$ac_cxx_werror_flag" || |
1701 |
test ! -s conftest.err |
1702 |
} && test -s conftest.$ac_objext; then : |
1703 |
ac_retval=0 |
1704 |
else |
1705 |
$as_echo "$as_me: failed program was:" >&5 |
1706 |
sed 's/^/| /' conftest.$ac_ext >&5 |
1707 |
|
1708 |
ac_retval=1 |
1709 |
fi |
1710 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1711 |
as_fn_set_status $ac_retval |
1712 |
|
1713 |
} # ac_fn_cxx_try_compile |
1714 |
|
1715 |
# ac_fn_cxx_try_cpp LINENO |
1716 |
# ------------------------ |
1717 |
# Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
1718 |
ac_fn_cxx_try_cpp () |
1719 |
{ |
1720 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1721 |
if { { ac_try="$ac_cpp conftest.$ac_ext" |
1722 |
case "(($ac_try" in |
1723 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1724 |
*) ac_try_echo=$ac_try;; |
1725 |
esac |
1726 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1727 |
$as_echo "$ac_try_echo"; } >&5 |
1728 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
1729 |
ac_status=$? |
1730 |
if test -s conftest.err; then |
1731 |
grep -v '^ *+' conftest.err >conftest.er1 |
1732 |
cat conftest.er1 >&5 |
1733 |
mv -f conftest.er1 conftest.err |
1734 |
fi |
1735 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1736 |
test $ac_status = 0; } > conftest.i && { |
1737 |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
1738 |
test ! -s conftest.err |
1739 |
}; then : |
1740 |
ac_retval=0 |
1741 |
else |
1742 |
$as_echo "$as_me: failed program was:" >&5 |
1743 |
sed 's/^/| /' conftest.$ac_ext >&5 |
1744 |
|
1745 |
ac_retval=1 |
1746 |
fi |
1747 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1748 |
as_fn_set_status $ac_retval |
1749 |
|
1750 |
} # ac_fn_cxx_try_cpp |
1751 |
|
1752 |
# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES |
1753 |
# --------------------------------------------------------- |
1754 |
# Tests whether HEADER exists, giving a warning if it cannot be compiled using |
1755 |
# the include files in INCLUDES and setting the cache variable VAR |
1756 |
# accordingly. |
1757 |
ac_fn_cxx_check_header_mongrel () |
1758 |
{ |
1759 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1760 |
if eval \${$3+:} false; then : |
1761 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1762 |
$as_echo_n "checking for $2... " >&6; } |
1763 |
if eval \${$3+:} false; then : |
1764 |
$as_echo_n "(cached) " >&6 |
1765 |
fi |
1766 |
eval ac_res=\$$3 |
1767 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1768 |
$as_echo "$ac_res" >&6; } |
1769 |
else |
1770 |
# Is the header compilable? |
1771 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 |
1772 |
$as_echo_n "checking $2 usability... " >&6; } |
1773 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1774 |
/* end confdefs.h. */ |
1775 |
$4 |
1776 |
#include <$2> |
1777 |
_ACEOF |
1778 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
1779 |
ac_header_compiler=yes |
1780 |
else |
1781 |
ac_header_compiler=no |
1782 |
fi |
1783 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1784 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 |
1785 |
$as_echo "$ac_header_compiler" >&6; } |
1786 |
|
1787 |
# Is the header present? |
1788 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 |
1789 |
$as_echo_n "checking $2 presence... " >&6; } |
1790 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1791 |
/* end confdefs.h. */ |
1792 |
#include <$2> |
1793 |
_ACEOF |
1794 |
if ac_fn_cxx_try_cpp "$LINENO"; then : |
1795 |
ac_header_preproc=yes |
1796 |
else |
1797 |
ac_header_preproc=no |
1798 |
fi |
1799 |
rm -f conftest.err conftest.i conftest.$ac_ext |
1800 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
1801 |
$as_echo "$ac_header_preproc" >&6; } |
1802 |
|
1803 |
# So? What about this header? |
1804 |
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #(( |
1805 |
yes:no: ) |
1806 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 |
1807 |
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} |
1808 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
1809 |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1810 |
;; |
1811 |
no:yes:* ) |
1812 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 |
1813 |
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} |
1814 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 |
1815 |
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} |
1816 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 |
1817 |
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
1818 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
1819 |
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
1820 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
1821 |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1822 |
;; |
1823 |
esac |
1824 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1825 |
$as_echo_n "checking for $2... " >&6; } |
1826 |
if eval \${$3+:} false; then : |
1827 |
$as_echo_n "(cached) " >&6 |
1828 |
else |
1829 |
eval "$3=\$ac_header_compiler" |
1830 |
fi |
1831 |
eval ac_res=\$$3 |
1832 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1833 |
$as_echo "$ac_res" >&6; } |
1834 |
fi |
1835 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1836 |
|
1837 |
} # ac_fn_cxx_check_header_mongrel |
1838 |
|
1839 |
# ac_fn_cxx_try_run LINENO |
1840 |
# ------------------------ |
1841 |
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
1842 |
# that executables *can* be run. |
1843 |
ac_fn_cxx_try_run () |
1844 |
{ |
1845 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1846 |
if { { ac_try="$ac_link" |
1847 |
case "(($ac_try" in |
1848 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1849 |
*) ac_try_echo=$ac_try;; |
1850 |
esac |
1851 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1852 |
$as_echo "$ac_try_echo"; } >&5 |
1853 |
(eval "$ac_link") 2>&5 |
1854 |
ac_status=$? |
1855 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1856 |
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
1857 |
{ { case "(($ac_try" in |
1858 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1859 |
*) ac_try_echo=$ac_try;; |
1860 |
esac |
1861 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1862 |
$as_echo "$ac_try_echo"; } >&5 |
1863 |
(eval "$ac_try") 2>&5 |
1864 |
ac_status=$? |
1865 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1866 |
test $ac_status = 0; }; }; then : |
1867 |
ac_retval=0 |
1868 |
else |
1869 |
$as_echo "$as_me: program exited with status $ac_status" >&5 |
1870 |
$as_echo "$as_me: failed program was:" >&5 |
1871 |
sed 's/^/| /' conftest.$ac_ext >&5 |
1872 |
|
1873 |
ac_retval=$ac_status |
1874 |
fi |
1875 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1876 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1877 |
as_fn_set_status $ac_retval |
1878 |
|
1879 |
} # ac_fn_cxx_try_run |
1880 |
|
1881 |
# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES |
1882 |
# --------------------------------------------------------- |
1883 |
# Tests whether HEADER exists and can be compiled using the include files in |
1884 |
# INCLUDES, setting the cache variable VAR accordingly. |
1885 |
ac_fn_cxx_check_header_compile () |
1886 |
{ |
1887 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1888 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1889 |
$as_echo_n "checking for $2... " >&6; } |
1890 |
if eval \${$3+:} false; then : |
1891 |
$as_echo_n "(cached) " >&6 |
1892 |
else |
1893 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1894 |
/* end confdefs.h. */ |
1895 |
$4 |
1896 |
#include <$2> |
1897 |
_ACEOF |
1898 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
1899 |
eval "$3=yes" |
1900 |
else |
1901 |
eval "$3=no" |
1902 |
fi |
1903 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1904 |
fi |
1905 |
eval ac_res=\$$3 |
1906 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1907 |
$as_echo "$ac_res" >&6; } |
1908 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1909 |
|
1910 |
} # ac_fn_cxx_check_header_compile |
1911 |
|
1912 |
# ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES |
1913 |
# --------------------------------------------- |
1914 |
# Tests whether TYPE exists after having included INCLUDES, setting cache |
1915 |
# variable VAR accordingly. |
1916 |
ac_fn_cxx_check_type () |
1917 |
{ |
1918 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1919 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1920 |
$as_echo_n "checking for $2... " >&6; } |
1921 |
if eval \${$3+:} false; then : |
1922 |
$as_echo_n "(cached) " >&6 |
1923 |
else |
1924 |
eval "$3=no" |
1925 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1926 |
/* end confdefs.h. */ |
1927 |
$4 |
1928 |
int |
1929 |
main () |
1930 |
{ |
1931 |
if (sizeof ($2)) |
1932 |
return 0; |
1933 |
; |
1934 |
return 0; |
1935 |
} |
1936 |
_ACEOF |
1937 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
1938 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1939 |
/* end confdefs.h. */ |
1940 |
$4 |
1941 |
int |
1942 |
main () |
1943 |
{ |
1944 |
if (sizeof (($2))) |
1945 |
return 0; |
1946 |
; |
1947 |
return 0; |
1948 |
} |
1949 |
_ACEOF |
1950 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
1951 |
|
1952 |
else |
1953 |
eval "$3=yes" |
1954 |
fi |
1955 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1956 |
fi |
1957 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1958 |
fi |
1959 |
eval ac_res=\$$3 |
1960 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1961 |
$as_echo "$ac_res" >&6; } |
1962 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1963 |
|
1964 |
} # ac_fn_cxx_check_type |
1965 |
|
1966 |
# ac_fn_c_try_run LINENO |
1967 |
# ---------------------- |
1968 |
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
1969 |
# that executables *can* be run. |
1970 |
ac_fn_c_try_run () |
1971 |
{ |
1972 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1973 |
if { { ac_try="$ac_link" |
1974 |
case "(($ac_try" in |
1975 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1976 |
*) ac_try_echo=$ac_try;; |
1977 |
esac |
1978 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1979 |
$as_echo "$ac_try_echo"; } >&5 |
1980 |
(eval "$ac_link") 2>&5 |
1981 |
ac_status=$? |
1982 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1983 |
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
1984 |
{ { case "(($ac_try" in |
1985 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1986 |
*) ac_try_echo=$ac_try;; |
1987 |
esac |
1988 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1989 |
$as_echo "$ac_try_echo"; } >&5 |
1990 |
(eval "$ac_try") 2>&5 |
1991 |
ac_status=$? |
1992 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1993 |
test $ac_status = 0; }; }; then : |
1994 |
ac_retval=0 |
1995 |
else |
1996 |
$as_echo "$as_me: program exited with status $ac_status" >&5 |
1997 |
$as_echo "$as_me: failed program was:" >&5 |
1998 |
sed 's/^/| /' conftest.$ac_ext >&5 |
1999 |
|
2000 |
ac_retval=$ac_status |
2001 |
fi |
2002 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
2003 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2004 |
as_fn_set_status $ac_retval |
2005 |
|
2006 |
} # ac_fn_c_try_run |
2007 |
|
2008 |
# ac_fn_c_check_func LINENO FUNC VAR |
2009 |
# ---------------------------------- |
2010 |
# Tests whether FUNC exists, setting the cache variable VAR accordingly |
2011 |
ac_fn_c_check_func () |
2012 |
{ |
2013 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2014 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2015 |
$as_echo_n "checking for $2... " >&6; } |
2016 |
if eval \${$3+:} false; then : |
2017 |
$as_echo_n "(cached) " >&6 |
2018 |
else |
2019 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2020 |
/* end confdefs.h. */ |
2021 |
/* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
2022 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
2023 |
#define $2 innocuous_$2 |
2024 |
|
2025 |
/* System header to define __stub macros and hopefully few prototypes, |
2026 |
which can conflict with char $2 (); below. |
2027 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
2028 |
<limits.h> exists even on freestanding compilers. */ |
2029 |
|
2030 |
#ifdef __STDC__ |
2031 |
# include <limits.h> |
2032 |
#else |
2033 |
# include <assert.h> |
2034 |
#endif |
2035 |
|
2036 |
#undef $2 |
2037 |
|
2038 |
/* Override any GCC internal prototype to avoid an error. |
2039 |
Use char because int might match the return type of a GCC |
2040 |
builtin and then its argument prototype would still apply. */ |
2041 |
#ifdef __cplusplus |
2042 |
extern "C" |
2043 |
#endif |
2044 |
char $2 (); |
2045 |
/* The GNU C library defines this for functions which it implements |
2046 |
to always fail with ENOSYS. Some functions are actually named |
2047 |
something starting with __ and the normal name is an alias. */ |
2048 |
#if defined __stub_$2 || defined __stub___$2 |
2049 |
choke me |
2050 |
#endif |
2051 |
|
2052 |
int |
2053 |
main () |
2054 |
{ |
2055 |
return $2 (); |
2056 |
; |
2057 |
return 0; |
2058 |
} |
2059 |
_ACEOF |
2060 |
if ac_fn_c_try_link "$LINENO"; then : |
2061 |
eval "$3=yes" |
2062 |
else |
2063 |
eval "$3=no" |
2064 |
fi |
2065 |
rm -f core conftest.err conftest.$ac_objext \ |
2066 |
conftest$ac_exeext conftest.$ac_ext |
2067 |
fi |
2068 |
eval ac_res=\$$3 |
2069 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2070 |
$as_echo "$ac_res" >&6; } |
2071 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2072 |
|
2073 |
} # ac_fn_c_check_func |
2074 |
|
2075 |
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
2076 |
# ------------------------------------------------------- |
2077 |
# Tests whether HEADER exists, giving a warning if it cannot be compiled using |
2078 |
# the include files in INCLUDES and setting the cache variable VAR |
2079 |
# accordingly. |
2080 |
ac_fn_c_check_header_mongrel () |
2081 |
{ |
2082 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2083 |
if eval \${$3+:} false; then : |
2084 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2085 |
$as_echo_n "checking for $2... " >&6; } |
2086 |
if eval \${$3+:} false; then : |
2087 |
$as_echo_n "(cached) " >&6 |
2088 |
fi |
2089 |
eval ac_res=\$$3 |
2090 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2091 |
$as_echo "$ac_res" >&6; } |
2092 |
else |
2093 |
# Is the header compilable? |
2094 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 |
2095 |
$as_echo_n "checking $2 usability... " >&6; } |
2096 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2097 |
/* end confdefs.h. */ |
2098 |
$4 |
2099 |
#include <$2> |
2100 |
_ACEOF |
2101 |
if ac_fn_c_try_compile "$LINENO"; then : |
2102 |
ac_header_compiler=yes |
2103 |
else |
2104 |
ac_header_compiler=no |
2105 |
fi |
2106 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2107 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 |
2108 |
$as_echo "$ac_header_compiler" >&6; } |
2109 |
|
2110 |
# Is the header present? |
2111 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 |
2112 |
$as_echo_n "checking $2 presence... " >&6; } |
2113 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2114 |
/* end confdefs.h. */ |
2115 |
#include <$2> |
2116 |
_ACEOF |
2117 |
if ac_fn_c_try_cpp "$LINENO"; then : |
2118 |
ac_header_preproc=yes |
2119 |
else |
2120 |
ac_header_preproc=no |
2121 |
fi |
2122 |
rm -f conftest.err conftest.i conftest.$ac_ext |
2123 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
2124 |
$as_echo "$ac_header_preproc" >&6; } |
2125 |
|
2126 |
# So? What about this header? |
2127 |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
2128 |
yes:no: ) |
2129 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 |
2130 |
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} |
2131 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
2132 |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
2133 |
;; |
2134 |
no:yes:* ) |
2135 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 |
2136 |
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} |
2137 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 |
2138 |
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} |
2139 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 |
2140 |
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
2141 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
2142 |
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
2143 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
2144 |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
2145 |
;; |
2146 |
esac |
2147 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2148 |
$as_echo_n "checking for $2... " >&6; } |
2149 |
if eval \${$3+:} false; then : |
2150 |
$as_echo_n "(cached) " >&6 |
2151 |
else |
2152 |
eval "$3=\$ac_header_compiler" |
2153 |
fi |
2154 |
eval ac_res=\$$3 |
2155 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2156 |
$as_echo "$ac_res" >&6; } |
2157 |
fi |
2158 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2159 |
|
2160 |
} # ac_fn_c_check_header_mongrel |
2161 |
|
2162 |
# ac_fn_cxx_try_link LINENO |
2163 |
# ------------------------- |
2164 |
# Try to link conftest.$ac_ext, and return whether this succeeded. |
2165 |
ac_fn_cxx_try_link () |
2166 |
{ |
2167 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2168 |
rm -f conftest.$ac_objext conftest$ac_exeext |
2169 |
if { { ac_try="$ac_link" |
2170 |
case "(($ac_try" in |
2171 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2172 |
*) ac_try_echo=$ac_try;; |
2173 |
esac |
2174 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
2175 |
$as_echo "$ac_try_echo"; } >&5 |
2176 |
(eval "$ac_link") 2>conftest.err |
2177 |
ac_status=$? |
2178 |
if test -s conftest.err; then |
2179 |
grep -v '^ *+' conftest.err >conftest.er1 |
2180 |
cat conftest.er1 >&5 |
2181 |
mv -f conftest.er1 conftest.err |
2182 |
fi |
2183 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2184 |
test $ac_status = 0; } && { |
2185 |
test -z "$ac_cxx_werror_flag" || |
2186 |
test ! -s conftest.err |
2187 |
} && test -s conftest$ac_exeext && { |
2188 |
test "$cross_compiling" = yes || |
2189 |
test -x conftest$ac_exeext |
2190 |
}; then : |
2191 |
ac_retval=0 |
2192 |
else |
2193 |
$as_echo "$as_me: failed program was:" >&5 |
2194 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2195 |
|
2196 |
ac_retval=1 |
2197 |
fi |
2198 |
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
2199 |
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
2200 |
# interfere with the next link command; also delete a directory that is |
2201 |
# left behind by Apple's compiler. We do this before executing the actions. |
2202 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
2203 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2204 |
as_fn_set_status $ac_retval |
2205 |
|
2206 |
} # ac_fn_cxx_try_link |
2207 |
|
2208 |
# ac_fn_cxx_check_func LINENO FUNC VAR |
2209 |
# ------------------------------------ |
2210 |
# Tests whether FUNC exists, setting the cache variable VAR accordingly |
2211 |
ac_fn_cxx_check_func () |
2212 |
{ |
2213 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2214 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2215 |
$as_echo_n "checking for $2... " >&6; } |
2216 |
if eval \${$3+:} false; then : |
2217 |
$as_echo_n "(cached) " >&6 |
2218 |
else |
2219 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2220 |
/* end confdefs.h. */ |
2221 |
/* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
2222 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
2223 |
#define $2 innocuous_$2 |
2224 |
|
2225 |
/* System header to define __stub macros and hopefully few prototypes, |
2226 |
which can conflict with char $2 (); below. |
2227 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
2228 |
<limits.h> exists even on freestanding compilers. */ |
2229 |
|
2230 |
#ifdef __STDC__ |
2231 |
# include <limits.h> |
2232 |
#else |
2233 |
# include <assert.h> |
2234 |
#endif |
2235 |
|
2236 |
#undef $2 |
2237 |
|
2238 |
/* Override any GCC internal prototype to avoid an error. |
2239 |
Use char because int might match the return type of a GCC |
2240 |
builtin and then its argument prototype would still apply. */ |
2241 |
#ifdef __cplusplus |
2242 |
extern "C" |
2243 |
#endif |
2244 |
char $2 (); |
2245 |
/* The GNU C library defines this for functions which it implements |
2246 |
to always fail with ENOSYS. Some functions are actually named |
2247 |
something starting with __ and the normal name is an alias. */ |
2248 |
#if defined __stub_$2 || defined __stub___$2 |
2249 |
choke me |
2250 |
#endif |
2251 |
|
2252 |
int |
2253 |
main () |
2254 |
{ |
2255 |
return $2 (); |
2256 |
; |
2257 |
return 0; |
2258 |
} |
2259 |
_ACEOF |
2260 |
if ac_fn_cxx_try_link "$LINENO"; then : |
2261 |
eval "$3=yes" |
2262 |
else |
2263 |
eval "$3=no" |
2264 |
fi |
2265 |
rm -f core conftest.err conftest.$ac_objext \ |
2266 |
conftest$ac_exeext conftest.$ac_ext |
2267 |
fi |
2268 |
eval ac_res=\$$3 |
2269 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2270 |
$as_echo "$ac_res" >&6; } |
2271 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2272 |
|
2273 |
} # ac_fn_cxx_check_func |
2274 |
cat >config.log <<_ACEOF |
2275 |
This file contains any messages produced by compilers while |
2276 |
running configure, to aid debugging if configure makes a mistake. |
2277 |
|
2278 |
It was created by $as_me, which was |
2279 |
generated by GNU Autoconf 2.69. Invocation command line was |
2280 |
|
2281 |
$ $0 $@ |
2282 |
|
2283 |
_ACEOF |
2284 |
exec 5>>config.log |
2285 |
{ |
2286 |
cat <<_ASUNAME |
2287 |
## --------- ## |
2288 |
## Platform. ## |
2289 |
## --------- ## |
2290 |
|
2291 |
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
2292 |
uname -m = `(uname -m) 2>/dev/null || echo unknown` |
2293 |
uname -r = `(uname -r) 2>/dev/null || echo unknown` |
2294 |
uname -s = `(uname -s) 2>/dev/null || echo unknown` |
2295 |
uname -v = `(uname -v) 2>/dev/null || echo unknown` |
2296 |
|
2297 |
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
2298 |
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
2299 |
|
2300 |
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
2301 |
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
2302 |
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
2303 |
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
2304 |
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
2305 |
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
2306 |
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
2307 |
|
2308 |
_ASUNAME |
2309 |
|
2310 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2311 |
for as_dir in $PATH |
2312 |
do |
2313 |
IFS=$as_save_IFS |
2314 |
test -z "$as_dir" && as_dir=. |
2315 |
$as_echo "PATH: $as_dir" |
2316 |
done |
2317 |
IFS=$as_save_IFS |
2318 |
|
2319 |
} >&5 |
2320 |
|
2321 |
cat >&5 <<_ACEOF |
2322 |
|
2323 |
|
2324 |
## ----------- ## |
2325 |
## Core tests. ## |
2326 |
## ----------- ## |
2327 |
|
2328 |
_ACEOF |
2329 |
|
2330 |
|
2331 |
# Keep a trace of the command line. |
2332 |
# Strip out --no-create and --no-recursion so they do not pile up. |
2333 |
# Strip out --silent because we don't want to record it for future runs. |
2334 |
# Also quote any args containing shell meta-characters. |
2335 |
# Make two passes to allow for proper duplicate-argument suppression. |
2336 |
ac_configure_args= |
2337 |
ac_configure_args0= |
2338 |
ac_configure_args1= |
2339 |
ac_must_keep_next=false |
2340 |
for ac_pass in 1 2 |
2341 |
do |
2342 |
for ac_arg |
2343 |
do |
2344 |
case $ac_arg in |
2345 |
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
2346 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
2347 |
| -silent | --silent | --silen | --sile | --sil) |
2348 |
continue ;; |
2349 |
*\'*) |
2350 |
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
2351 |
esac |
2352 |
case $ac_pass in |
2353 |
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
2354 |
2) |
2355 |
as_fn_append ac_configure_args1 " '$ac_arg'" |
2356 |
if test $ac_must_keep_next = true; then |
2357 |
ac_must_keep_next=false # Got value, back to normal. |
2358 |
else |
2359 |
case $ac_arg in |
2360 |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
2361 |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
2362 |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
2363 |
| -with-* | --with-* | -without-* | --without-* | --x) |
2364 |
case "$ac_configure_args0 " in |
2365 |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
2366 |
esac |
2367 |
;; |
2368 |
-* ) ac_must_keep_next=true ;; |
2369 |
esac |
2370 |
fi |
2371 |
as_fn_append ac_configure_args " '$ac_arg'" |
2372 |
;; |
2373 |
esac |
2374 |
done |
2375 |
done |
2376 |
{ ac_configure_args0=; unset ac_configure_args0;} |
2377 |
{ ac_configure_args1=; unset ac_configure_args1;} |
2378 |
|
2379 |
# When interrupted or exit'd, cleanup temporary files, and complete |
2380 |
# config.log. We remove comments because anyway the quotes in there |
2381 |
# would cause problems or look ugly. |
2382 |
# WARNING: Use '\'' to represent an apostrophe within the trap. |
2383 |
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
2384 |
trap 'exit_status=$? |
2385 |
# Save into config.log some information that might help in debugging. |
2386 |
{ |
2387 |
echo |
2388 |
|
2389 |
$as_echo "## ---------------- ## |
2390 |
## Cache variables. ## |
2391 |
## ---------------- ##" |
2392 |
echo |
2393 |
# The following way of writing the cache mishandles newlines in values, |
2394 |
( |
2395 |
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
2396 |
eval ac_val=\$$ac_var |
2397 |
case $ac_val in #( |
2398 |
*${as_nl}*) |
2399 |
case $ac_var in #( |
2400 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
2401 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
2402 |
esac |
2403 |
case $ac_var in #( |
2404 |
_ | IFS | as_nl) ;; #( |
2405 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
2406 |
*) { eval $ac_var=; unset $ac_var;} ;; |
2407 |
esac ;; |
2408 |
esac |
2409 |
done |
2410 |
(set) 2>&1 | |
2411 |
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
2412 |
*${as_nl}ac_space=\ *) |
2413 |
sed -n \ |
2414 |
"s/'\''/'\''\\\\'\'''\''/g; |
2415 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
2416 |
;; #( |
2417 |
*) |
2418 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
2419 |
;; |
2420 |
esac | |
2421 |
sort |
2422 |
) |
2423 |
echo |
2424 |
|
2425 |
$as_echo "## ----------------- ## |
2426 |
## Output variables. ## |
2427 |
## ----------------- ##" |
2428 |
echo |
2429 |
for ac_var in $ac_subst_vars |
2430 |
do |
2431 |
eval ac_val=\$$ac_var |
2432 |
case $ac_val in |
2433 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
2434 |
esac |
2435 |
$as_echo "$ac_var='\''$ac_val'\''" |
2436 |
done | sort |
2437 |
echo |
2438 |
|
2439 |
if test -n "$ac_subst_files"; then |
2440 |
$as_echo "## ------------------- ## |
2441 |
## File substitutions. ## |
2442 |
## ------------------- ##" |
2443 |
echo |
2444 |
for ac_var in $ac_subst_files |
2445 |
do |
2446 |
eval ac_val=\$$ac_var |
2447 |
case $ac_val in |
2448 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
2449 |
esac |
2450 |
$as_echo "$ac_var='\''$ac_val'\''" |
2451 |
done | sort |
2452 |
echo |
2453 |
fi |
2454 |
|
2455 |
if test -s confdefs.h; then |
2456 |
$as_echo "## ----------- ## |
2457 |
## confdefs.h. ## |
2458 |
## ----------- ##" |
2459 |
echo |
2460 |
cat confdefs.h |
2461 |
echo |
2462 |
fi |
2463 |
test "$ac_signal" != 0 && |
2464 |
$as_echo "$as_me: caught signal $ac_signal" |
2465 |
$as_echo "$as_me: exit $exit_status" |
2466 |
} >&5 |
2467 |
rm -f core *.core core.conftest.* && |
2468 |
rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
2469 |
exit $exit_status |
2470 |
' 0 |
2471 |
for ac_signal in 1 2 13 15; do |
2472 |
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
2473 |
done |
2474 |
ac_signal=0 |
2475 |
|
2476 |
# confdefs.h avoids OS command line length limits that DEFS can exceed. |
2477 |
rm -f -r conftest* confdefs.h |
2478 |
|
2479 |
$as_echo "/* confdefs.h */" > confdefs.h |
2480 |
|
2481 |
# Predefined preprocessor variables. |
2482 |
|
2483 |
cat >>confdefs.h <<_ACEOF |
2484 |
#define PACKAGE_NAME "$PACKAGE_NAME" |
2485 |
_ACEOF |
2486 |
|
2487 |
cat >>confdefs.h <<_ACEOF |
2488 |
#define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
2489 |
_ACEOF |
2490 |
|
2491 |
cat >>confdefs.h <<_ACEOF |
2492 |
#define PACKAGE_VERSION "$PACKAGE_VERSION" |
2493 |
_ACEOF |
2494 |
|
2495 |
cat >>confdefs.h <<_ACEOF |
2496 |
#define PACKAGE_STRING "$PACKAGE_STRING" |
2497 |
_ACEOF |
2498 |
|
2499 |
cat >>confdefs.h <<_ACEOF |
2500 |
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
2501 |
_ACEOF |
2502 |
|
2503 |
cat >>confdefs.h <<_ACEOF |
2504 |
#define PACKAGE_URL "$PACKAGE_URL" |
2505 |
_ACEOF |
2506 |
|
2507 |
|
2508 |
# Let the site file select an alternate cache file if it wants to. |
2509 |
# Prefer an explicitly selected file to automatically selected ones. |
2510 |
ac_site_file1=NONE |
2511 |
ac_site_file2=NONE |
2512 |
if test -n "$CONFIG_SITE"; then |
2513 |
# We do not want a PATH search for config.site. |
2514 |
case $CONFIG_SITE in #(( |
2515 |
-*) ac_site_file1=./$CONFIG_SITE;; |
2516 |
*/*) ac_site_file1=$CONFIG_SITE;; |
2517 |
*) ac_site_file1=./$CONFIG_SITE;; |
2518 |
esac |
2519 |
elif test "x$prefix" != xNONE; then |
2520 |
ac_site_file1=$prefix/share/config.site |
2521 |
ac_site_file2=$prefix/etc/config.site |
2522 |
else |
2523 |
ac_site_file1=$ac_default_prefix/share/config.site |
2524 |
ac_site_file2=$ac_default_prefix/etc/config.site |
2525 |
fi |
2526 |
for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
2527 |
do |
2528 |
test "x$ac_site_file" = xNONE && continue |
2529 |
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
2530 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
2531 |
$as_echo "$as_me: loading site script $ac_site_file" >&6;} |
2532 |
sed 's/^/| /' "$ac_site_file" >&5 |
2533 |
. "$ac_site_file" \ |
2534 |
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2535 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2536 |
as_fn_error $? "failed to load site script $ac_site_file |
2537 |
See \`config.log' for more details" "$LINENO" 5; } |
2538 |
fi |
2539 |
done |
2540 |
|
2541 |
if test -r "$cache_file"; then |
2542 |
# Some versions of bash will fail to source /dev/null (special files |
2543 |
# actually), so we avoid doing that. DJGPP emulates it as a regular file. |
2544 |
if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
2545 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
2546 |
$as_echo "$as_me: loading cache $cache_file" >&6;} |
2547 |
case $cache_file in |
2548 |
[\\/]* | ?:[\\/]* ) . "$cache_file";; |
2549 |
*) . "./$cache_file";; |
2550 |
esac |
2551 |
fi |
2552 |
else |
2553 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
2554 |
$as_echo "$as_me: creating cache $cache_file" >&6;} |
2555 |
>$cache_file |
2556 |
fi |
2557 |
|
2558 |
# Check that the precious variables saved in the cache have kept the same |
2559 |
# value. |
2560 |
ac_cache_corrupted=false |
2561 |
for ac_var in $ac_precious_vars; do |
2562 |
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
2563 |
eval ac_new_set=\$ac_env_${ac_var}_set |
2564 |
eval ac_old_val=\$ac_cv_env_${ac_var}_value |
2565 |
eval ac_new_val=\$ac_env_${ac_var}_value |
2566 |
case $ac_old_set,$ac_new_set in |
2567 |
set,) |
2568 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
2569 |
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
2570 |
ac_cache_corrupted=: ;; |
2571 |
,set) |
2572 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
2573 |
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
2574 |
ac_cache_corrupted=: ;; |
2575 |
,);; |
2576 |
*) |
2577 |
if test "x$ac_old_val" != "x$ac_new_val"; then |
2578 |
# differences in whitespace do not lead to failure. |
2579 |
ac_old_val_w=`echo x $ac_old_val` |
2580 |
ac_new_val_w=`echo x $ac_new_val` |
2581 |
if test "$ac_old_val_w" != "$ac_new_val_w"; then |
2582 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
2583 |
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
2584 |
ac_cache_corrupted=: |
2585 |
else |
2586 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
2587 |
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
2588 |
eval $ac_var=\$ac_old_val |
2589 |
fi |
2590 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
2591 |
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
2592 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
2593 |
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
2594 |
fi;; |
2595 |
esac |
2596 |
# Pass precious variables to config.status. |
2597 |
if test "$ac_new_set" = set; then |
2598 |
case $ac_new_val in |
2599 |
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
2600 |
*) ac_arg=$ac_var=$ac_new_val ;; |
2601 |
esac |
2602 |
case " $ac_configure_args " in |
2603 |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
2604 |
*) as_fn_append ac_configure_args " '$ac_arg'" ;; |
2605 |
esac |
2606 |
fi |
2607 |
done |
2608 |
if $ac_cache_corrupted; then |
2609 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2610 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2611 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
2612 |
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
2613 |
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
2614 |
fi |
2615 |
## -------------------- ## |
2616 |
## Main body of script. ## |
2617 |
## -------------------- ## |
2618 |
|
2619 |
ac_ext=c |
2620 |
ac_cpp='$CPP $CPPFLAGS' |
2621 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2622 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2623 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2624 |
|
2625 |
|
2626 |
|
2627 |
ac_aux_dir= |
2628 |
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
2629 |
if test -f "$ac_dir/install-sh"; then |
2630 |
ac_aux_dir=$ac_dir |
2631 |
ac_install_sh="$ac_aux_dir/install-sh -c" |
2632 |
break |
2633 |
elif test -f "$ac_dir/install.sh"; then |
2634 |
ac_aux_dir=$ac_dir |
2635 |
ac_install_sh="$ac_aux_dir/install.sh -c" |
2636 |
break |
2637 |
elif test -f "$ac_dir/shtool"; then |
2638 |
ac_aux_dir=$ac_dir |
2639 |
ac_install_sh="$ac_aux_dir/shtool install -c" |
2640 |
break |
2641 |
fi |
2642 |
done |
2643 |
if test -z "$ac_aux_dir"; then |
2644 |
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
2645 |
fi |
2646 |
|
2647 |
# These three variables are undocumented and unsupported, |
2648 |
# and are intended to be withdrawn in a future Autoconf release. |
2649 |
# They can cause serious problems if a builder's source tree is in a directory |
2650 |
# whose full name contains unusual characters. |
2651 |
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
2652 |
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
2653 |
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
2654 |
|
2655 |
|
2656 |
# Make sure we can run config.sub. |
2657 |
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
2658 |
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
2659 |
|
2660 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
2661 |
$as_echo_n "checking build system type... " >&6; } |
2662 |
if ${ac_cv_build+:} false; then : |
2663 |
$as_echo_n "(cached) " >&6 |
2664 |
else |
2665 |
ac_build_alias=$build_alias |
2666 |
test "x$ac_build_alias" = x && |
2667 |
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
2668 |
test "x$ac_build_alias" = x && |
2669 |
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 |
2670 |
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
2671 |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
2672 |
|
2673 |
fi |
2674 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
2675 |
$as_echo "$ac_cv_build" >&6; } |
2676 |
case $ac_cv_build in |
2677 |
*-*-*) ;; |
2678 |
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; |
2679 |
esac |
2680 |
build=$ac_cv_build |
2681 |
ac_save_IFS=$IFS; IFS='-' |
2682 |
set x $ac_cv_build |
2683 |
shift |
2684 |
build_cpu=$1 |
2685 |
build_vendor=$2 |
2686 |
shift; shift |
2687 |
# Remember, the first character of IFS is used to create $*, |
2688 |
# except with old shells: |
2689 |
build_os=$* |
2690 |
IFS=$ac_save_IFS |
2691 |
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
2692 |
|
2693 |
|
2694 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
2695 |
$as_echo_n "checking host system type... " >&6; } |
2696 |
if ${ac_cv_host+:} false; then : |
2697 |
$as_echo_n "(cached) " >&6 |
2698 |
else |
2699 |
if test "x$host_alias" = x; then |
2700 |
ac_cv_host=$ac_cv_build |
2701 |
else |
2702 |
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
2703 |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
2704 |
fi |
2705 |
|
2706 |
fi |
2707 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
2708 |
$as_echo "$ac_cv_host" >&6; } |
2709 |
case $ac_cv_host in |
2710 |
*-*-*) ;; |
2711 |
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; |
2712 |
esac |
2713 |
host=$ac_cv_host |
2714 |
ac_save_IFS=$IFS; IFS='-' |
2715 |
set x $ac_cv_host |
2716 |
shift |
2717 |
host_cpu=$1 |
2718 |
host_vendor=$2 |
2719 |
shift; shift |
2720 |
# Remember, the first character of IFS is used to create $*, |
2721 |
# except with old shells: |
2722 |
host_os=$* |
2723 |
IFS=$ac_save_IFS |
2724 |
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
2725 |
|
2726 |
|
2727 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 |
2728 |
$as_echo_n "checking target system type... " >&6; } |
2729 |
if ${ac_cv_target+:} false; then : |
2730 |
$as_echo_n "(cached) " >&6 |
2731 |
else |
2732 |
if test "x$target_alias" = x; then |
2733 |
ac_cv_target=$ac_cv_host |
2734 |
else |
2735 |
ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || |
2736 |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 |
2737 |
fi |
2738 |
|
2739 |
fi |
2740 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 |
2741 |
$as_echo "$ac_cv_target" >&6; } |
2742 |
case $ac_cv_target in |
2743 |
*-*-*) ;; |
2744 |
*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; |
2745 |
esac |
2746 |
target=$ac_cv_target |
2747 |
ac_save_IFS=$IFS; IFS='-' |
2748 |
set x $ac_cv_target |
2749 |
shift |
2750 |
target_cpu=$1 |
2751 |
target_vendor=$2 |
2752 |
shift; shift |
2753 |
# Remember, the first character of IFS is used to create $*, |
2754 |
# except with old shells: |
2755 |
target_os=$* |
2756 |
IFS=$ac_save_IFS |
2757 |
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac |
2758 |
|
2759 |
|
2760 |
# The aliases save the names the user supplied, while $host etc. |
2761 |
# will get canonicalized. |
2762 |
test -n "$target_alias" && |
2763 |
test "$program_prefix$program_suffix$program_transform_name" = \ |
2764 |
NONENONEs,x,x, && |
2765 |
program_prefix=${target_alias}- |
2766 |
am__api_version='1.11' |
2767 |
|
2768 |
# Find a good install program. We prefer a C program (faster), |
2769 |
# so one script is as good as another. But avoid the broken or |
2770 |
# incompatible versions: |
2771 |
# SysV /etc/install, /usr/sbin/install |
2772 |
# SunOS /usr/etc/install |
2773 |
# IRIX /sbin/install |
2774 |
# AIX /bin/install |
2775 |
# AmigaOS /C/install, which installs bootblocks on floppy discs |
2776 |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
2777 |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
2778 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
2779 |
# OS/2's system install, which has a completely different semantic |
2780 |
# ./install, which can be erroneously created by make from ./install.sh. |
2781 |
# Reject install programs that cannot install multiple files. |
2782 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
2783 |
$as_echo_n "checking for a BSD-compatible install... " >&6; } |
2784 |
if test -z "$INSTALL"; then |
2785 |
if ${ac_cv_path_install+:} false; then : |
2786 |
$as_echo_n "(cached) " >&6 |
2787 |
else |
2788 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2789 |
for as_dir in $PATH |
2790 |
do |
2791 |
IFS=$as_save_IFS |
2792 |
test -z "$as_dir" && as_dir=. |
2793 |
# Account for people who put trailing slashes in PATH elements. |
2794 |
case $as_dir/ in #(( |
2795 |
./ | .// | /[cC]/* | \ |
2796 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
2797 |
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
2798 |
/usr/ucb/* ) ;; |
2799 |
*) |
2800 |
# OSF1 and SCO ODT 3.0 have their own names for install. |
2801 |
# Don't use installbsd from OSF since it installs stuff as root |
2802 |
# by default. |
2803 |
for ac_prog in ginstall scoinst install; do |
2804 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2805 |
if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
2806 |
if test $ac_prog = install && |
2807 |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2808 |
# AIX install. It has an incompatible calling convention. |
2809 |
: |
2810 |
elif test $ac_prog = install && |
2811 |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2812 |
# program-specific install script used by HP pwplus--don't use. |
2813 |
: |
2814 |
else |
2815 |
rm -rf conftest.one conftest.two conftest.dir |
2816 |
echo one > conftest.one |
2817 |
echo two > conftest.two |
2818 |
mkdir conftest.dir |
2819 |
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
2820 |
test -s conftest.one && test -s conftest.two && |
2821 |
test -s conftest.dir/conftest.one && |
2822 |
test -s conftest.dir/conftest.two |
2823 |
then |
2824 |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
2825 |
break 3 |
2826 |
fi |
2827 |
fi |
2828 |
fi |
2829 |
done |
2830 |
done |
2831 |
;; |
2832 |
esac |
2833 |
|
2834 |
done |
2835 |
IFS=$as_save_IFS |
2836 |
|
2837 |
rm -rf conftest.one conftest.two conftest.dir |
2838 |
|
2839 |
fi |
2840 |
if test "${ac_cv_path_install+set}" = set; then |
2841 |
INSTALL=$ac_cv_path_install |
2842 |
else |
2843 |
# As a last resort, use the slow shell script. Don't cache a |
2844 |
# value for INSTALL within a source directory, because that will |
2845 |
# break other packages using the cache if that directory is |
2846 |
# removed, or if the value is a relative name. |
2847 |
INSTALL=$ac_install_sh |
2848 |
fi |
2849 |
fi |
2850 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
2851 |
$as_echo "$INSTALL" >&6; } |
2852 |
|
2853 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
2854 |
# It thinks the first close brace ends the variable substitution. |
2855 |
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
2856 |
|
2857 |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
2858 |
|
2859 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
2860 |
|
2861 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
2862 |
$as_echo_n "checking whether build environment is sane... " >&6; } |
2863 |
# Just in case |
2864 |
sleep 1 |
2865 |
echo timestamp > conftest.file |
2866 |
# Reject unsafe characters in $srcdir or the absolute working directory |
2867 |
# name. Accept space and tab only in the latter. |
2868 |
am_lf=' |
2869 |
' |
2870 |
case `pwd` in |
2871 |
*[\\\"\#\$\&\'\`$am_lf]*) |
2872 |
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; |
2873 |
esac |
2874 |
case $srcdir in |
2875 |
*[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
2876 |
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; |
2877 |
esac |
2878 |
|
2879 |
# Do `set' in a subshell so we don't clobber the current shell's |
2880 |
# arguments. Must try -L first in case configure is actually a |
2881 |
# symlink; some systems play weird games with the mod time of symlinks |
2882 |
# (eg FreeBSD returns the mod time of the symlink's containing |
2883 |
# directory). |
2884 |
if ( |
2885 |
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
2886 |
if test "$*" = "X"; then |
2887 |
# -L didn't work. |
2888 |
set X `ls -t "$srcdir/configure" conftest.file` |
2889 |
fi |
2890 |
rm -f conftest.file |
2891 |
if test "$*" != "X $srcdir/configure conftest.file" \ |
2892 |
&& test "$*" != "X conftest.file $srcdir/configure"; then |
2893 |
|
2894 |
# If neither matched, then we have a broken ls. This can happen |
2895 |
# if, for instance, CONFIG_SHELL is bash and it inherits a |
2896 |
# broken ls alias from the environment. This has actually |
2897 |
# happened. Such a system could not be considered "sane". |
2898 |
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
2899 |
alias in your environment" "$LINENO" 5 |
2900 |
fi |
2901 |
|
2902 |
test "$2" = conftest.file |
2903 |
) |
2904 |
then |
2905 |
# Ok. |
2906 |
: |
2907 |
else |
2908 |
as_fn_error $? "newly created file is older than distributed files! |
2909 |
Check your system clock" "$LINENO" 5 |
2910 |
fi |
2911 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2912 |
$as_echo "yes" >&6; } |
2913 |
test "$program_prefix" != NONE && |
2914 |
program_transform_name="s&^&$program_prefix&;$program_transform_name" |
2915 |
# Use a double $ so make ignores it. |
2916 |
test "$program_suffix" != NONE && |
2917 |
program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
2918 |
# Double any \ or $. |
2919 |
# By default was `s,x,x', remove it if useless. |
2920 |
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
2921 |
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
2922 |
|
2923 |
# expand $ac_aux_dir to an absolute path |
2924 |
am_aux_dir=`cd $ac_aux_dir && pwd` |
2925 |
|
2926 |
if test x"${MISSING+set}" != xset; then |
2927 |
case $am_aux_dir in |
2928 |
*\ * | *\ *) |
2929 |
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
2930 |
*) |
2931 |
MISSING="\${SHELL} $am_aux_dir/missing" ;; |
2932 |
esac |
2933 |
fi |
2934 |
# Use eval to expand $SHELL |
2935 |
if eval "$MISSING --run true"; then |
2936 |
am_missing_run="$MISSING --run " |
2937 |
else |
2938 |
am_missing_run= |
2939 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 |
2940 |
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
2941 |
fi |
2942 |
|
2943 |
if test x"${install_sh}" != xset; then |
2944 |
case $am_aux_dir in |
2945 |
*\ * | *\ *) |
2946 |
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
2947 |
*) |
2948 |
install_sh="\${SHELL} $am_aux_dir/install-sh" |
2949 |
esac |
2950 |
fi |
2951 |
|
2952 |
# Installed binaries are usually stripped using `strip' when the user |
2953 |
# run `make install-strip'. However `strip' might not be the right |
2954 |
# tool to use in cross-compilation environments, therefore Automake |
2955 |
# will honor the `STRIP' environment variable to overrule this program. |
2956 |
if test "$cross_compiling" != no; then |
2957 |
if test -n "$ac_tool_prefix"; then |
2958 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
2959 |
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
2960 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2961 |
$as_echo_n "checking for $ac_word... " >&6; } |
2962 |
if ${ac_cv_prog_STRIP+:} false; then : |
2963 |
$as_echo_n "(cached) " >&6 |
2964 |
else |
2965 |
if test -n "$STRIP"; then |
2966 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
2967 |
else |
2968 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2969 |
for as_dir in $PATH |
2970 |
do |
2971 |
IFS=$as_save_IFS |
2972 |
test -z "$as_dir" && as_dir=. |
2973 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2974 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2975 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
2976 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2977 |
break 2 |
2978 |
fi |
2979 |
done |
2980 |
done |
2981 |
IFS=$as_save_IFS |
2982 |
|
2983 |
fi |
2984 |
fi |
2985 |
STRIP=$ac_cv_prog_STRIP |
2986 |
if test -n "$STRIP"; then |
2987 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
2988 |
$as_echo "$STRIP" >&6; } |
2989 |
else |
2990 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2991 |
$as_echo "no" >&6; } |
2992 |
fi |
2993 |
|
2994 |
|
2995 |
fi |
2996 |
if test -z "$ac_cv_prog_STRIP"; then |
2997 |
ac_ct_STRIP=$STRIP |
2998 |
# Extract the first word of "strip", so it can be a program name with args. |
2999 |
set dummy strip; ac_word=$2 |
3000 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3001 |
$as_echo_n "checking for $ac_word... " >&6; } |
3002 |
if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
3003 |
$as_echo_n "(cached) " >&6 |
3004 |
else |
3005 |
if test -n "$ac_ct_STRIP"; then |
3006 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
3007 |
else |
3008 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3009 |
for as_dir in $PATH |
3010 |
do |
3011 |
IFS=$as_save_IFS |
3012 |
test -z "$as_dir" && as_dir=. |
3013 |
for ac_exec_ext in '' $ac_executable_extensions; do |
3014 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3015 |
ac_cv_prog_ac_ct_STRIP="strip" |
3016 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3017 |
break 2 |
3018 |
fi |
3019 |
done |
3020 |
done |
3021 |
IFS=$as_save_IFS |
3022 |
|
3023 |
fi |
3024 |
fi |
3025 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
3026 |
if test -n "$ac_ct_STRIP"; then |
3027 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
3028 |
$as_echo "$ac_ct_STRIP" >&6; } |
3029 |
else |
3030 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3031 |
$as_echo "no" >&6; } |
3032 |
fi |
3033 |
|
3034 |
if test "x$ac_ct_STRIP" = x; then |
3035 |
STRIP=":" |
3036 |
else |
3037 |
case $cross_compiling:$ac_tool_warned in |
3038 |
yes:) |
3039 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
3040 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
3041 |
ac_tool_warned=yes ;; |
3042 |
esac |
3043 |
STRIP=$ac_ct_STRIP |
3044 |
fi |
3045 |
else |
3046 |
STRIP="$ac_cv_prog_STRIP" |
3047 |
fi |
3048 |
|
3049 |
fi |
3050 |
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
3051 |
|
3052 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
3053 |
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
3054 |
if test -z "$MKDIR_P"; then |
3055 |
if ${ac_cv_path_mkdir+:} false; then : |
3056 |
$as_echo_n "(cached) " >&6 |
3057 |
else |
3058 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3059 |
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
3060 |
do |
3061 |
IFS=$as_save_IFS |
3062 |
test -z "$as_dir" && as_dir=. |
3063 |
for ac_prog in mkdir gmkdir; do |
3064 |
for ac_exec_ext in '' $ac_executable_extensions; do |
3065 |
as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue |
3066 |
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
3067 |
'mkdir (GNU coreutils) '* | \ |
3068 |
'mkdir (coreutils) '* | \ |
3069 |
'mkdir (fileutils) '4.1*) |
3070 |
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
3071 |
break 3;; |
3072 |
esac |
3073 |
done |
3074 |
done |
3075 |
done |
3076 |
IFS=$as_save_IFS |
3077 |
|
3078 |
fi |
3079 |
|
3080 |
test -d ./--version && rmdir ./--version |
3081 |
if test "${ac_cv_path_mkdir+set}" = set; then |
3082 |
MKDIR_P="$ac_cv_path_mkdir -p" |
3083 |
else |
3084 |
# As a last resort, use the slow shell script. Don't cache a |
3085 |
# value for MKDIR_P within a source directory, because that will |
3086 |
# break other packages using the cache if that directory is |
3087 |
# removed, or if the value is a relative name. |
3088 |
MKDIR_P="$ac_install_sh -d" |
3089 |
fi |
3090 |
fi |
3091 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
3092 |
$as_echo "$MKDIR_P" >&6; } |
3093 |
|
3094 |
mkdir_p="$MKDIR_P" |
3095 |
case $mkdir_p in |
3096 |
[\\/$]* | ?:[\\/]*) ;; |
3097 |
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
3098 |
esac |
3099 |
|
3100 |
for ac_prog in gawk mawk nawk awk |
3101 |
do |
3102 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
3103 |
set dummy $ac_prog; ac_word=$2 |
3104 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3105 |
$as_echo_n "checking for $ac_word... " >&6; } |
3106 |
if ${ac_cv_prog_AWK+:} false; then : |
3107 |
$as_echo_n "(cached) " >&6 |
3108 |
else |
3109 |
if test -n "$AWK"; then |
3110 |
ac_cv_prog_AWK="$AWK" # Let the user override the test. |
3111 |
else |
3112 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3113 |
for as_dir in $PATH |
3114 |
do |
3115 |
IFS=$as_save_IFS |
3116 |
test -z "$as_dir" && as_dir=. |
3117 |
for ac_exec_ext in '' $ac_executable_extensions; do |
3118 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3119 |
ac_cv_prog_AWK="$ac_prog" |
3120 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3121 |
break 2 |
3122 |
fi |
3123 |
done |
3124 |
done |
3125 |
IFS=$as_save_IFS |
3126 |
|
3127 |
fi |
3128 |
fi |
3129 |
AWK=$ac_cv_prog_AWK |
3130 |
if test -n "$AWK"; then |
3131 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
3132 |
$as_echo "$AWK" >&6; } |
3133 |
else |
3134 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3135 |
$as_echo "no" >&6; } |
3136 |
fi |
3137 |
|
3138 |
|
3139 |
test -n "$AWK" && break |
3140 |
done |
3141 |
|
3142 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
3143 |
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
3144 |
set x ${MAKE-make} |
3145 |
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
3146 |
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
3147 |
$as_echo_n "(cached) " >&6 |
3148 |
else |
3149 |
cat >conftest.make <<\_ACEOF |
3150 |
SHELL = /bin/sh |
3151 |
all: |
3152 |
@echo '@@@%%%=$(MAKE)=@@@%%%' |
3153 |
_ACEOF |
3154 |
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
3155 |
case `${MAKE-make} -f conftest.make 2>/dev/null` in |
3156 |
*@@@%%%=?*=@@@%%%*) |
3157 |
eval ac_cv_prog_make_${ac_make}_set=yes;; |
3158 |
*) |
3159 |
eval ac_cv_prog_make_${ac_make}_set=no;; |
3160 |
esac |
3161 |
rm -f conftest.make |
3162 |
fi |
3163 |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
3164 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3165 |
$as_echo "yes" >&6; } |
3166 |
SET_MAKE= |
3167 |
else |
3168 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3169 |
$as_echo "no" >&6; } |
3170 |
SET_MAKE="MAKE=${MAKE-make}" |
3171 |
fi |
3172 |
|
3173 |
rm -rf .tst 2>/dev/null |
3174 |
mkdir .tst 2>/dev/null |
3175 |
if test -d .tst; then |
3176 |
am__leading_dot=. |
3177 |
else |
3178 |
am__leading_dot=_ |
3179 |
fi |
3180 |
rmdir .tst 2>/dev/null |
3181 |
|
3182 |
if test "`cd $srcdir && pwd`" != "`pwd`"; then |
3183 |
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
3184 |
# is not polluted with repeated "-I." |
3185 |
am__isrc=' -I$(srcdir)' |
3186 |
# test to see if srcdir already configured |
3187 |
if test -f $srcdir/config.status; then |
3188 |
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
3189 |
fi |
3190 |
fi |
3191 |
|
3192 |
# test whether we have cygpath |
3193 |
if test -z "$CYGPATH_W"; then |
3194 |
if (cygpath --version) >/dev/null 2>/dev/null; then |
3195 |
CYGPATH_W='cygpath -w' |
3196 |
else |
3197 |
CYGPATH_W=echo |
3198 |
fi |
3199 |
fi |
3200 |
|
3201 |
|
3202 |
# Define the identity of the package. |
3203 |
PACKAGE=gvpe |
3204 |
VERSION=2.24 |
3205 |
|
3206 |
|
3207 |
cat >>confdefs.h <<_ACEOF |
3208 |
#define PACKAGE "$PACKAGE" |
3209 |
_ACEOF |
3210 |
|
3211 |
|
3212 |
cat >>confdefs.h <<_ACEOF |
3213 |
#define VERSION "$VERSION" |
3214 |
_ACEOF |
3215 |
|
3216 |
# Some tools Automake needs. |
3217 |
|
3218 |
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
3219 |
|
3220 |
|
3221 |
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
3222 |
|
3223 |
|
3224 |
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
3225 |
|
3226 |
|
3227 |
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
3228 |
|
3229 |
|
3230 |
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
3231 |
|
3232 |
# We need awk for the "check" target. The system "awk" is bad on |
3233 |
# some platforms. |
3234 |
# Always define AMTAR for backward compatibility. Yes, it's still used |
3235 |
# in the wild :-( We should find a proper way to deprecate it ... |
3236 |
AMTAR='$${TAR-tar}' |
3237 |
|
3238 |
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
3239 |
|
3240 |
|
3241 |
|
3242 |
|
3243 |
|
3244 |
ac_config_headers="$ac_config_headers config.h" |
3245 |
|
3246 |
|
3247 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
3248 |
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
3249 |
# Check whether --enable-maintainer-mode was given. |
3250 |
if test "${enable_maintainer_mode+set}" = set; then : |
3251 |
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval |
3252 |
else |
3253 |
USE_MAINTAINER_MODE=no |
3254 |
fi |
3255 |
|
3256 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 |
3257 |
$as_echo "$USE_MAINTAINER_MODE" >&6; } |
3258 |
if test $USE_MAINTAINER_MODE = yes; then |
3259 |
MAINTAINER_MODE_TRUE= |
3260 |
MAINTAINER_MODE_FALSE='#' |
3261 |
else |
3262 |
MAINTAINER_MODE_TRUE='#' |
3263 |
MAINTAINER_MODE_FALSE= |
3264 |
fi |
3265 |
|
3266 |
MAINT=$MAINTAINER_MODE_TRUE |
3267 |
|
3268 |
|
3269 |
|
3270 |
|
3271 |
|
3272 |
|
3273 |
|
3274 |
|
3275 |
MKINSTALLDIRS= |
3276 |
if test -n "$ac_aux_dir"; then |
3277 |
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" |
3278 |
fi |
3279 |
if test -z "$MKINSTALLDIRS"; then |
3280 |
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" |
3281 |
fi |
3282 |
|
3283 |
|
3284 |
|
3285 |
|
3286 |
|
3287 |
# Extract the first word of "msgfmt", so it can be a program name with args. |
3288 |
set dummy msgfmt; ac_word=$2 |
3289 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3290 |
$as_echo_n "checking for $ac_word... " >&6; } |
3291 |
if ${ac_cv_path_MSGFMT+:} false; then : |
3292 |
$as_echo_n "(cached) " >&6 |
3293 |
else |
3294 |
case "$MSGFMT" in |
3295 |
/*) |
3296 |
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. |
3297 |
;; |
3298 |
*) |
3299 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
3300 |
for ac_dir in $PATH; do |
3301 |
test -z "$ac_dir" && ac_dir=. |
3302 |
if test -f $ac_dir/$ac_word; then |
3303 |
if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 && |
3304 |
(if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then |
3305 |
ac_cv_path_MSGFMT="$ac_dir/$ac_word" |
3306 |
break |
3307 |
fi |
3308 |
fi |
3309 |
done |
3310 |
IFS="$ac_save_ifs" |
3311 |
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" |
3312 |
;; |
3313 |
esac |
3314 |
fi |
3315 |
MSGFMT="$ac_cv_path_MSGFMT" |
3316 |
if test "$MSGFMT" != ":"; then |
3317 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 |
3318 |
$as_echo "$MSGFMT" >&6; } |
3319 |
else |
3320 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3321 |
$as_echo "no" >&6; } |
3322 |
fi |
3323 |
|
3324 |
# Extract the first word of "gmsgfmt", so it can be a program name with args. |
3325 |
set dummy gmsgfmt; ac_word=$2 |
3326 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3327 |
$as_echo_n "checking for $ac_word... " >&6; } |
3328 |
if ${ac_cv_path_GMSGFMT+:} false; then : |
3329 |
$as_echo_n "(cached) " >&6 |
3330 |
else |
3331 |
case $GMSGFMT in |
3332 |
[\\/]* | ?:[\\/]*) |
3333 |
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. |
3334 |
;; |
3335 |
*) |
3336 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3337 |
for as_dir in $PATH |
3338 |
do |
3339 |
IFS=$as_save_IFS |
3340 |
test -z "$as_dir" && as_dir=. |
3341 |
for ac_exec_ext in '' $ac_executable_extensions; do |
3342 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3343 |
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" |
3344 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3345 |
break 2 |
3346 |
fi |
3347 |
done |
3348 |
done |
3349 |
IFS=$as_save_IFS |
3350 |
|
3351 |
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" |
3352 |
;; |
3353 |
esac |
3354 |
fi |
3355 |
GMSGFMT=$ac_cv_path_GMSGFMT |
3356 |
if test -n "$GMSGFMT"; then |
3357 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 |
3358 |
$as_echo "$GMSGFMT" >&6; } |
3359 |
else |
3360 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3361 |
$as_echo "no" >&6; } |
3362 |
fi |
3363 |
|
3364 |
|
3365 |
|
3366 |
# Extract the first word of "xgettext", so it can be a program name with args. |
3367 |
set dummy xgettext; ac_word=$2 |
3368 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3369 |
$as_echo_n "checking for $ac_word... " >&6; } |
3370 |
if ${ac_cv_path_XGETTEXT+:} false; then : |
3371 |
$as_echo_n "(cached) " >&6 |
3372 |
else |
3373 |
case "$XGETTEXT" in |
3374 |
/*) |
3375 |
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. |
3376 |
;; |
3377 |
*) |
3378 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
3379 |
for ac_dir in $PATH; do |
3380 |
test -z "$ac_dir" && ac_dir=. |
3381 |
if test -f $ac_dir/$ac_word; then |
3382 |
if $ac_dir/$ac_word --omit-header --copyright-holder= /dev/null >/dev/null 2>&1 && |
3383 |
(if $ac_dir/$ac_word --omit-header --copyright-holder= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then |
3384 |
ac_cv_path_XGETTEXT="$ac_dir/$ac_word" |
3385 |
break |
3386 |
fi |
3387 |
fi |
3388 |
done |
3389 |
IFS="$ac_save_ifs" |
3390 |
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" |
3391 |
;; |
3392 |
esac |
3393 |
fi |
3394 |
XGETTEXT="$ac_cv_path_XGETTEXT" |
3395 |
if test "$XGETTEXT" != ":"; then |
3396 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 |
3397 |
$as_echo "$XGETTEXT" >&6; } |
3398 |
else |
3399 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3400 |
$as_echo "no" >&6; } |
3401 |
fi |
3402 |
|
3403 |
rm -f messages.po |
3404 |
|
3405 |
# Extract the first word of "msgmerge", so it can be a program name with args. |
3406 |
set dummy msgmerge; ac_word=$2 |
3407 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3408 |
$as_echo_n "checking for $ac_word... " >&6; } |
3409 |
if ${ac_cv_path_MSGMERGE+:} false; then : |
3410 |
$as_echo_n "(cached) " >&6 |
3411 |
else |
3412 |
case "$MSGMERGE" in |
3413 |
/*) |
3414 |
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. |
3415 |
;; |
3416 |
*) |
3417 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
3418 |
for ac_dir in $PATH; do |
3419 |
test -z "$ac_dir" && ac_dir=. |
3420 |
if test -f $ac_dir/$ac_word; then |
3421 |
if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then |
3422 |
ac_cv_path_MSGMERGE="$ac_dir/$ac_word" |
3423 |
break |
3424 |
fi |
3425 |
fi |
3426 |
done |
3427 |
IFS="$ac_save_ifs" |
3428 |
test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" |
3429 |
;; |
3430 |
esac |
3431 |
fi |
3432 |
MSGMERGE="$ac_cv_path_MSGMERGE" |
3433 |
if test "$MSGMERGE" != ":"; then |
3434 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 |
3435 |
$as_echo "$MSGMERGE" >&6; } |
3436 |
else |
3437 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3438 |
$as_echo "no" >&6; } |
3439 |
fi |
3440 |
|
3441 |
|
3442 |
if test "$GMSGFMT" != ":"; then |
3443 |
if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 && |
3444 |
(if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then |
3445 |
: ; |
3446 |
else |
3447 |
GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'` |
3448 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5 |
3449 |
$as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; } |
3450 |
GMSGFMT=":" |
3451 |
fi |
3452 |
fi |
3453 |
|
3454 |
if test "$XGETTEXT" != ":"; then |
3455 |
if $XGETTEXT --omit-header --copyright-holder= /dev/null >/dev/null 2>&1 && |
3456 |
(if $XGETTEXT --omit-header --copyright-holder= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then |
3457 |
: ; |
3458 |
else |
3459 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 |
3460 |
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } |
3461 |
XGETTEXT=":" |
3462 |
fi |
3463 |
rm -f messages.po |
3464 |
fi |
3465 |
|
3466 |
ac_config_commands="$ac_config_commands default-1" |
3467 |
|
3468 |
|
3469 |
|
3470 |
if test "X$prefix" = "XNONE"; then |
3471 |
acl_final_prefix="$ac_default_prefix" |
3472 |
else |
3473 |
acl_final_prefix="$prefix" |
3474 |
fi |
3475 |
if test "X$exec_prefix" = "XNONE"; then |
3476 |
acl_final_exec_prefix='${prefix}' |
3477 |
else |
3478 |
acl_final_exec_prefix="$exec_prefix" |
3479 |
fi |
3480 |
acl_save_prefix="$prefix" |
3481 |
prefix="$acl_final_prefix" |
3482 |
eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" |
3483 |
prefix="$acl_save_prefix" |
3484 |
|
3485 |
DEPDIR="${am__leading_dot}deps" |
3486 |
|
3487 |
ac_config_commands="$ac_config_commands depfiles" |
3488 |
|
3489 |
|
3490 |
am_make=${MAKE-make} |
3491 |
cat > confinc << 'END' |
3492 |
am__doit: |
3493 |
@echo this is the am__doit target |
3494 |
.PHONY: am__doit |
3495 |
END |
3496 |
# If we don't find an include directive, just comment out the code. |
3497 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
3498 |
$as_echo_n "checking for style of include used by $am_make... " >&6; } |
3499 |
am__include="#" |
3500 |
am__quote= |
3501 |
_am_result=none |
3502 |
# First try GNU make style include. |
3503 |
echo "include confinc" > confmf |
3504 |
# Ignore all kinds of additional output from `make'. |
3505 |
case `$am_make -s -f confmf 2> /dev/null` in #( |
3506 |
*the\ am__doit\ target*) |
3507 |
am__include=include |
3508 |
am__quote= |
3509 |
_am_result=GNU |
3510 |
;; |
3511 |
esac |
3512 |
# Now try BSD make style include. |
3513 |
if test "$am__include" = "#"; then |
3514 |
echo '.include "confinc"' > confmf |
3515 |
case `$am_make -s -f confmf 2> /dev/null` in #( |
3516 |
*the\ am__doit\ target*) |
3517 |
am__include=.include |
3518 |
am__quote="\"" |
3519 |
_am_result=BSD |
3520 |
;; |
3521 |
esac |
3522 |
fi |
3523 |
|
3524 |
|
3525 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
3526 |
$as_echo "$_am_result" >&6; } |
3527 |
rm -f confinc confmf |
3528 |
|
3529 |
# Check whether --enable-dependency-tracking was given. |
3530 |
if test "${enable_dependency_tracking+set}" = set; then : |
3531 |
enableval=$enable_dependency_tracking; |
3532 |
fi |
3533 |
|
3534 |
if test "x$enable_dependency_tracking" != xno; then |
3535 |
am_depcomp="$ac_aux_dir/depcomp" |
3536 |
AMDEPBACKSLASH='\' |
3537 |
am__nodep='_no' |
3538 |
fi |
3539 |
if test "x$enable_dependency_tracking" != xno; then |
3540 |
AMDEP_TRUE= |
3541 |
AMDEP_FALSE='#' |
3542 |
else |
3543 |
AMDEP_TRUE='#' |
3544 |
AMDEP_FALSE= |
3545 |
fi |
3546 |
|
3547 |
|
3548 |
ac_ext=c |
3549 |
ac_cpp='$CPP $CPPFLAGS' |
3550 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3551 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3552 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3553 |
if test -n "$ac_tool_prefix"; then |
3554 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
3555 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
3556 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3557 |
$as_echo_n "checking for $ac_word... " >&6; } |
3558 |
if ${ac_cv_prog_CC+:} false; then : |
3559 |
$as_echo_n "(cached) " >&6 |
3560 |
else |
3561 |
if test -n "$CC"; then |
3562 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
3563 |
else |
3564 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3565 |
for as_dir in $PATH |
3566 |
do |
3567 |
IFS=$as_save_IFS |
3568 |
test -z "$as_dir" && as_dir=. |
3569 |
for ac_exec_ext in '' $ac_executable_extensions; do |
3570 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3571 |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
3572 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3573 |
break 2 |
3574 |
fi |
3575 |
done |
3576 |
done |
3577 |
IFS=$as_save_IFS |
3578 |
|
3579 |
fi |
3580 |
fi |
3581 |
CC=$ac_cv_prog_CC |
3582 |
if test -n "$CC"; then |
3583 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
3584 |
$as_echo "$CC" >&6; } |
3585 |
else |
3586 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3587 |
$as_echo "no" >&6; } |
3588 |
fi |
3589 |
|
3590 |
|
3591 |
fi |
3592 |
if test -z "$ac_cv_prog_CC"; then |
3593 |
ac_ct_CC=$CC |
3594 |
# Extract the first word of "gcc", so it can be a program name with args. |
3595 |
set dummy gcc; ac_word=$2 |
3596 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3597 |
$as_echo_n "checking for $ac_word... " >&6; } |
3598 |
if ${ac_cv_prog_ac_ct_CC+:} false; then : |
3599 |
$as_echo_n "(cached) " >&6 |
3600 |
else |
3601 |
if test -n "$ac_ct_CC"; then |
3602 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3603 |
else |
3604 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3605 |
for as_dir in $PATH |
3606 |
do |
3607 |
IFS=$as_save_IFS |
3608 |
test -z "$as_dir" && as_dir=. |
3609 |
for ac_exec_ext in '' $ac_executable_extensions; do |
3610 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3611 |
ac_cv_prog_ac_ct_CC="gcc" |
3612 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3613 |
break 2 |
3614 |
fi |
3615 |
done |
3616 |
done |
3617 |
IFS=$as_save_IFS |
3618 |
|
3619 |
fi |
3620 |
fi |
3621 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
3622 |
if test -n "$ac_ct_CC"; then |
3623 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
3624 |
$as_echo "$ac_ct_CC" >&6; } |
3625 |
else |
3626 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3627 |
$as_echo "no" >&6; } |
3628 |
fi |
3629 |
|
3630 |
if test "x$ac_ct_CC" = x; then |
3631 |
CC="" |
3632 |
else |
3633 |
case $cross_compiling:$ac_tool_warned in |
3634 |
yes:) |
3635 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
3636 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
3637 |
ac_tool_warned=yes ;; |
3638 |
esac |
3639 |
CC=$ac_ct_CC |
3640 |
fi |
3641 |
else |
3642 |
CC="$ac_cv_prog_CC" |
3643 |
fi |
3644 |
|
3645 |
if test -z "$CC"; then |
3646 |
if test -n "$ac_tool_prefix"; then |
3647 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
3648 |
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
3649 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3650 |
$as_echo_n "checking for $ac_word... " >&6; } |
3651 |
if ${ac_cv_prog_CC+:} false; then : |
3652 |
$as_echo_n "(cached) " >&6 |
3653 |
else |
3654 |
if test -n "$CC"; then |
3655 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
3656 |
else |
3657 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3658 |
for as_dir in $PATH |
3659 |
do |
3660 |
IFS=$as_save_IFS |
3661 |
test -z "$as_dir" && as_dir=. |
3662 |
for ac_exec_ext in '' $ac_executable_extensions; do |
3663 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3664 |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
3665 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3666 |
break 2 |
3667 |
fi |
3668 |
done |
3669 |
done |
3670 |
IFS=$as_save_IFS |
3671 |
|
3672 |
fi |
3673 |
fi |
3674 |
CC=$ac_cv_prog_CC |
3675 |
if test -n "$CC"; then |
3676 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
3677 |
$as_echo "$CC" >&6; } |
3678 |
else |
3679 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3680 |
$as_echo "no" >&6; } |
3681 |
fi |
3682 |
|
3683 |
|
3684 |
fi |
3685 |
fi |
3686 |
if test -z "$CC"; then |
3687 |
# Extract the first word of "cc", so it can be a program name with args. |
3688 |
set dummy cc; ac_word=$2 |
3689 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3690 |
$as_echo_n "checking for $ac_word... " >&6; } |
3691 |
if ${ac_cv_prog_CC+:} false; then : |
3692 |
$as_echo_n "(cached) " >&6 |
3693 |
else |
3694 |
if test -n "$CC"; then |
3695 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
3696 |
else |
3697 |
ac_prog_rejected=no |
3698 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3699 |
for as_dir in $PATH |
3700 |
do |
3701 |
IFS=$as_save_IFS |
3702 |
test -z "$as_dir" && as_dir=. |
3703 |
for ac_exec_ext in '' $ac_executable_extensions; do |
3704 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3705 |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
3706 |
ac_prog_rejected=yes |
3707 |
continue |
3708 |
fi |
3709 |
ac_cv_prog_CC="cc" |
3710 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3711 |
break 2 |
3712 |
fi |
3713 |
done |
3714 |
done |
3715 |
IFS=$as_save_IFS |
3716 |
|
3717 |
if test $ac_prog_rejected = yes; then |
3718 |
# We found a bogon in the path, so make sure we never use it. |
3719 |
set dummy $ac_cv_prog_CC |
3720 |
shift |
3721 |
if test $# != 0; then |
3722 |
# We chose a different compiler from the bogus one. |
3723 |
# However, it has the same basename, so the bogon will be chosen |
3724 |
# first if we set CC to just the basename; use the full file name. |
3725 |
shift |
3726 |
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
3727 |
fi |
3728 |
fi |
3729 |
fi |
3730 |
fi |
3731 |
CC=$ac_cv_prog_CC |
3732 |
if test -n "$CC"; then |
3733 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
3734 |
$as_echo "$CC" >&6; } |
3735 |
else |
3736 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3737 |
$as_echo "no" >&6; } |
3738 |
fi |
3739 |
|
3740 |
|
3741 |
fi |
3742 |
if test -z "$CC"; then |
3743 |
if test -n "$ac_tool_prefix"; then |
3744 |
for ac_prog in cl.exe |
3745 |
do |
3746 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
3747 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3748 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3749 |
$as_echo_n "checking for $ac_word... " >&6; } |
3750 |
if ${ac_cv_prog_CC+:} false; then : |
3751 |
$as_echo_n "(cached) " >&6 |
3752 |
else |
3753 |
if test -n "$CC"; then |
3754 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
3755 |
else |
3756 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3757 |
for as_dir in $PATH |
3758 |
do |
3759 |
IFS=$as_save_IFS |
3760 |
test -z "$as_dir" && as_dir=. |
3761 |
for ac_exec_ext in '' $ac_executable_extensions; do |
3762 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3763 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
3764 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3765 |
break 2 |
3766 |
fi |
3767 |
done |
3768 |
done |
3769 |
IFS=$as_save_IFS |
3770 |
|
3771 |
fi |
3772 |
fi |
3773 |
CC=$ac_cv_prog_CC |
3774 |
if test -n "$CC"; then |
3775 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
3776 |
$as_echo "$CC" >&6; } |
3777 |
else |
3778 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3779 |
$as_echo "no" >&6; } |
3780 |
fi |
3781 |
|
3782 |
|
3783 |
test -n "$CC" && break |
3784 |
done |
3785 |
fi |
3786 |
if test -z "$CC"; then |
3787 |
ac_ct_CC=$CC |
3788 |
for ac_prog in cl.exe |
3789 |
do |
3790 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
3791 |
set dummy $ac_prog; ac_word=$2 |
3792 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3793 |
$as_echo_n "checking for $ac_word... " >&6; } |
3794 |
if ${ac_cv_prog_ac_ct_CC+:} false; then : |
3795 |
$as_echo_n "(cached) " >&6 |
3796 |
else |
3797 |
if test -n "$ac_ct_CC"; then |
3798 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3799 |
else |
3800 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3801 |
for as_dir in $PATH |
3802 |
do |
3803 |
IFS=$as_save_IFS |
3804 |
test -z "$as_dir" && as_dir=. |
3805 |
for ac_exec_ext in '' $ac_executable_extensions; do |
3806 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3807 |
ac_cv_prog_ac_ct_CC="$ac_prog" |
3808 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3809 |
break 2 |
3810 |
fi |
3811 |
done |
3812 |
done |
3813 |
IFS=$as_save_IFS |
3814 |
|
3815 |
fi |
3816 |
fi |
3817 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
3818 |
if test -n "$ac_ct_CC"; then |
3819 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
3820 |
$as_echo "$ac_ct_CC" >&6; } |
3821 |
else |
3822 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3823 |
$as_echo "no" >&6; } |
3824 |
fi |
3825 |
|
3826 |
|
3827 |
test -n "$ac_ct_CC" && break |
3828 |
done |
3829 |
|
3830 |
if test "x$ac_ct_CC" = x; then |
3831 |
CC="" |
3832 |
else |
3833 |
case $cross_compiling:$ac_tool_warned in |
3834 |
yes:) |
3835 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
3836 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
3837 |
ac_tool_warned=yes ;; |
3838 |
esac |
3839 |
CC=$ac_ct_CC |
3840 |
fi |
3841 |
fi |
3842 |
|
3843 |
fi |
3844 |
|
3845 |
|
3846 |
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3847 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3848 |
as_fn_error $? "no acceptable C compiler found in \$PATH |
3849 |
See \`config.log' for more details" "$LINENO" 5; } |
3850 |
|
3851 |
# Provide some information about the compiler. |
3852 |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
3853 |
set X $ac_compile |
3854 |
ac_compiler=$2 |
3855 |
for ac_option in --version -v -V -qversion; do |
3856 |
{ { ac_try="$ac_compiler $ac_option >&5" |
3857 |
case "(($ac_try" in |
3858 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3859 |
*) ac_try_echo=$ac_try;; |
3860 |
esac |
3861 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3862 |
$as_echo "$ac_try_echo"; } >&5 |
3863 |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err |
3864 |
ac_status=$? |
3865 |
if test -s conftest.err; then |
3866 |
sed '10a\ |
3867 |
... rest of stderr output deleted ... |
3868 |
10q' conftest.err >conftest.er1 |
3869 |
cat conftest.er1 >&5 |
3870 |
fi |
3871 |
rm -f conftest.er1 conftest.err |
3872 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3873 |
test $ac_status = 0; } |
3874 |
done |
3875 |
|
3876 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3877 |
/* end confdefs.h. */ |
3878 |
|
3879 |
int |
3880 |
main () |
3881 |
{ |
3882 |
|
3883 |
; |
3884 |
return 0; |
3885 |
} |
3886 |
_ACEOF |
3887 |
ac_clean_files_save=$ac_clean_files |
3888 |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
3889 |
# Try to create an executable without -o first, disregard a.out. |
3890 |
# It will help us diagnose broken compilers, and finding out an intuition |
3891 |
# of exeext. |
3892 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
3893 |
$as_echo_n "checking whether the C compiler works... " >&6; } |
3894 |
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
3895 |
|
3896 |
# The possible output files: |
3897 |
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
3898 |
|
3899 |
ac_rmfiles= |
3900 |
for ac_file in $ac_files |
3901 |
do |
3902 |
case $ac_file in |
3903 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
3904 |
* ) ac_rmfiles="$ac_rmfiles $ac_file";; |
3905 |
esac |
3906 |
done |
3907 |
rm -f $ac_rmfiles |
3908 |
|
3909 |
if { { ac_try="$ac_link_default" |
3910 |
case "(($ac_try" in |
3911 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3912 |
*) ac_try_echo=$ac_try;; |
3913 |
esac |
3914 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3915 |
$as_echo "$ac_try_echo"; } >&5 |
3916 |
(eval "$ac_link_default") 2>&5 |
3917 |
ac_status=$? |
3918 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3919 |
test $ac_status = 0; }; then : |
3920 |
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
3921 |
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
3922 |
# in a Makefile. We should not override ac_cv_exeext if it was cached, |
3923 |
# so that the user can short-circuit this test for compilers unknown to |
3924 |
# Autoconf. |
3925 |
for ac_file in $ac_files '' |
3926 |
do |
3927 |
test -f "$ac_file" || continue |
3928 |
case $ac_file in |
3929 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
3930 |
;; |
3931 |
[ab].out ) |
3932 |
# We found the default executable, but exeext='' is most |
3933 |
# certainly right. |
3934 |
break;; |
3935 |
*.* ) |
3936 |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
3937 |
then :; else |
3938 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
3939 |
fi |
3940 |
# We set ac_cv_exeext here because the later test for it is not |
3941 |
# safe: cross compilers may not add the suffix if given an `-o' |
3942 |
# argument, so we may need to know it at that point already. |
3943 |
# Even if this section looks crufty: it has the advantage of |
3944 |
# actually working. |
3945 |
break;; |
3946 |
* ) |
3947 |
break;; |
3948 |
esac |
3949 |
done |
3950 |
test "$ac_cv_exeext" = no && ac_cv_exeext= |
3951 |
|
3952 |
else |
3953 |
ac_file='' |
3954 |
fi |
3955 |
if test -z "$ac_file"; then : |
3956 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3957 |
$as_echo "no" >&6; } |
3958 |
$as_echo "$as_me: failed program was:" >&5 |
3959 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3960 |
|
3961 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3962 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3963 |
as_fn_error 77 "C compiler cannot create executables |
3964 |
See \`config.log' for more details" "$LINENO" 5; } |
3965 |
else |
3966 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3967 |
$as_echo "yes" >&6; } |
3968 |
fi |
3969 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
3970 |
$as_echo_n "checking for C compiler default output file name... " >&6; } |
3971 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
3972 |
$as_echo "$ac_file" >&6; } |
3973 |
ac_exeext=$ac_cv_exeext |
3974 |
|
3975 |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
3976 |
ac_clean_files=$ac_clean_files_save |
3977 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
3978 |
$as_echo_n "checking for suffix of executables... " >&6; } |
3979 |
if { { ac_try="$ac_link" |
3980 |
case "(($ac_try" in |
3981 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3982 |
*) ac_try_echo=$ac_try;; |
3983 |
esac |
3984 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3985 |
$as_echo "$ac_try_echo"; } >&5 |
3986 |
(eval "$ac_link") 2>&5 |
3987 |
ac_status=$? |
3988 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3989 |
test $ac_status = 0; }; then : |
3990 |
# If both `conftest.exe' and `conftest' are `present' (well, observable) |
3991 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
3992 |
# work properly (i.e., refer to `conftest.exe'), while it won't with |
3993 |
# `rm'. |
3994 |
for ac_file in conftest.exe conftest conftest.*; do |
3995 |
test -f "$ac_file" || continue |
3996 |
case $ac_file in |
3997 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
3998 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
3999 |
break;; |
4000 |
* ) break;; |
4001 |
esac |
4002 |
done |
4003 |
else |
4004 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4005 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4006 |
as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
4007 |
See \`config.log' for more details" "$LINENO" 5; } |
4008 |
fi |
4009 |
rm -f conftest conftest$ac_cv_exeext |
4010 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
4011 |
$as_echo "$ac_cv_exeext" >&6; } |
4012 |
|
4013 |
rm -f conftest.$ac_ext |
4014 |
EXEEXT=$ac_cv_exeext |
4015 |
ac_exeext=$EXEEXT |
4016 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4017 |
/* end confdefs.h. */ |
4018 |
#include <stdio.h> |
4019 |
int |
4020 |
main () |
4021 |
{ |
4022 |
FILE *f = fopen ("conftest.out", "w"); |
4023 |
return ferror (f) || fclose (f) != 0; |
4024 |
|
4025 |
; |
4026 |
return 0; |
4027 |
} |
4028 |
_ACEOF |
4029 |
ac_clean_files="$ac_clean_files conftest.out" |
4030 |
# Check that the compiler produces executables we can run. If not, either |
4031 |
# the compiler is broken, or we cross compile. |
4032 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
4033 |
$as_echo_n "checking whether we are cross compiling... " >&6; } |
4034 |
if test "$cross_compiling" != yes; then |
4035 |
{ { ac_try="$ac_link" |
4036 |
case "(($ac_try" in |
4037 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4038 |
*) ac_try_echo=$ac_try;; |
4039 |
esac |
4040 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
4041 |
$as_echo "$ac_try_echo"; } >&5 |
4042 |
(eval "$ac_link") 2>&5 |
4043 |
ac_status=$? |
4044 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
4045 |
test $ac_status = 0; } |
4046 |
if { ac_try='./conftest$ac_cv_exeext' |
4047 |
{ { case "(($ac_try" in |
4048 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4049 |
*) ac_try_echo=$ac_try;; |
4050 |
esac |
4051 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
4052 |
$as_echo "$ac_try_echo"; } >&5 |
4053 |
(eval "$ac_try") 2>&5 |
4054 |
ac_status=$? |
4055 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
4056 |
test $ac_status = 0; }; }; then |
4057 |
cross_compiling=no |
4058 |
else |
4059 |
if test "$cross_compiling" = maybe; then |
4060 |
cross_compiling=yes |
4061 |
else |
4062 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4063 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4064 |
as_fn_error $? "cannot run C compiled programs. |
4065 |
If you meant to cross compile, use \`--host'. |
4066 |
See \`config.log' for more details" "$LINENO" 5; } |
4067 |
fi |
4068 |
fi |
4069 |
fi |
4070 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
4071 |
$as_echo "$cross_compiling" >&6; } |
4072 |
|
4073 |
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
4074 |
ac_clean_files=$ac_clean_files_save |
4075 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
4076 |
$as_echo_n "checking for suffix of object files... " >&6; } |
4077 |
if ${ac_cv_objext+:} false; then : |
4078 |
$as_echo_n "(cached) " >&6 |
4079 |
else |
4080 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4081 |
/* end confdefs.h. */ |
4082 |
|
4083 |
int |
4084 |
main () |
4085 |
{ |
4086 |
|
4087 |
; |
4088 |
return 0; |
4089 |
} |
4090 |
_ACEOF |
4091 |
rm -f conftest.o conftest.obj |
4092 |
if { { ac_try="$ac_compile" |
4093 |
case "(($ac_try" in |
4094 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4095 |
*) ac_try_echo=$ac_try;; |
4096 |
esac |
4097 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
4098 |
$as_echo "$ac_try_echo"; } >&5 |
4099 |
(eval "$ac_compile") 2>&5 |
4100 |
ac_status=$? |
4101 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
4102 |
test $ac_status = 0; }; then : |
4103 |
for ac_file in conftest.o conftest.obj conftest.*; do |
4104 |
test -f "$ac_file" || continue; |
4105 |
case $ac_file in |
4106 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
4107 |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
4108 |
break;; |
4109 |
esac |
4110 |
done |
4111 |
else |
4112 |
$as_echo "$as_me: failed program was:" >&5 |
4113 |
sed 's/^/| /' conftest.$ac_ext >&5 |
4114 |
|
4115 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4116 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4117 |
as_fn_error $? "cannot compute suffix of object files: cannot compile |
4118 |
See \`config.log' for more details" "$LINENO" 5; } |
4119 |
fi |
4120 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
4121 |
fi |
4122 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
4123 |
$as_echo "$ac_cv_objext" >&6; } |
4124 |
OBJEXT=$ac_cv_objext |
4125 |
ac_objext=$OBJEXT |
4126 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
4127 |
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
4128 |
if ${ac_cv_c_compiler_gnu+:} false; then : |
4129 |
$as_echo_n "(cached) " >&6 |
4130 |
else |
4131 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4132 |
/* end confdefs.h. */ |
4133 |
|
4134 |
int |
4135 |
main () |
4136 |
{ |
4137 |
#ifndef __GNUC__ |
4138 |
choke me |
4139 |
#endif |
4140 |
|
4141 |
; |
4142 |
return 0; |
4143 |
} |
4144 |
_ACEOF |
4145 |
if ac_fn_c_try_compile "$LINENO"; then : |
4146 |
ac_compiler_gnu=yes |
4147 |
else |
4148 |
ac_compiler_gnu=no |
4149 |
fi |
4150 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4151 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
4152 |
|
4153 |
fi |
4154 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
4155 |
$as_echo "$ac_cv_c_compiler_gnu" >&6; } |
4156 |
if test $ac_compiler_gnu = yes; then |
4157 |
GCC=yes |
4158 |
else |
4159 |
GCC= |
4160 |
fi |
4161 |
ac_test_CFLAGS=${CFLAGS+set} |
4162 |
ac_save_CFLAGS=$CFLAGS |
4163 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
4164 |
$as_echo_n "checking whether $CC accepts -g... " >&6; } |
4165 |
if ${ac_cv_prog_cc_g+:} false; then : |
4166 |
$as_echo_n "(cached) " >&6 |
4167 |
else |
4168 |
ac_save_c_werror_flag=$ac_c_werror_flag |
4169 |
ac_c_werror_flag=yes |
4170 |
ac_cv_prog_cc_g=no |
4171 |
CFLAGS="-g" |
4172 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4173 |
/* end confdefs.h. */ |
4174 |
|
4175 |
int |
4176 |
main () |
4177 |
{ |
4178 |
|
4179 |
; |
4180 |
return 0; |
4181 |
} |
4182 |
_ACEOF |
4183 |
if ac_fn_c_try_compile "$LINENO"; then : |
4184 |
ac_cv_prog_cc_g=yes |
4185 |
else |
4186 |
CFLAGS="" |
4187 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4188 |
/* end confdefs.h. */ |
4189 |
|
4190 |
int |
4191 |
main () |
4192 |
{ |
4193 |
|
4194 |
; |
4195 |
return 0; |
4196 |
} |
4197 |
_ACEOF |
4198 |
if ac_fn_c_try_compile "$LINENO"; then : |
4199 |
|
4200 |
else |
4201 |
ac_c_werror_flag=$ac_save_c_werror_flag |
4202 |
CFLAGS="-g" |
4203 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4204 |
/* end confdefs.h. */ |
4205 |
|
4206 |
int |
4207 |
main () |
4208 |
{ |
4209 |
|
4210 |
; |
4211 |
return 0; |
4212 |
} |
4213 |
_ACEOF |
4214 |
if ac_fn_c_try_compile "$LINENO"; then : |
4215 |
ac_cv_prog_cc_g=yes |
4216 |
fi |
4217 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4218 |
fi |
4219 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4220 |
fi |
4221 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4222 |
ac_c_werror_flag=$ac_save_c_werror_flag |
4223 |
fi |
4224 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
4225 |
$as_echo "$ac_cv_prog_cc_g" >&6; } |
4226 |
if test "$ac_test_CFLAGS" = set; then |
4227 |
CFLAGS=$ac_save_CFLAGS |
4228 |
elif test $ac_cv_prog_cc_g = yes; then |
4229 |
if test "$GCC" = yes; then |
4230 |
CFLAGS="-g -O2" |
4231 |
else |
4232 |
CFLAGS="-g" |
4233 |
fi |
4234 |
else |
4235 |
if test "$GCC" = yes; then |
4236 |
CFLAGS="-O2" |
4237 |
else |
4238 |
CFLAGS= |
4239 |
fi |
4240 |
fi |
4241 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
4242 |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
4243 |
if ${ac_cv_prog_cc_c89+:} false; then : |
4244 |
$as_echo_n "(cached) " >&6 |
4245 |
else |
4246 |
ac_cv_prog_cc_c89=no |
4247 |
ac_save_CC=$CC |
4248 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4249 |
/* end confdefs.h. */ |
4250 |
#include <stdarg.h> |
4251 |
#include <stdio.h> |
4252 |
struct stat; |
4253 |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
4254 |
struct buf { int x; }; |
4255 |
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
4256 |
static char *e (p, i) |
4257 |
char **p; |
4258 |
int i; |
4259 |
{ |
4260 |
return p[i]; |
4261 |
} |
4262 |
static char *f (char * (*g) (char **, int), char **p, ...) |
4263 |
{ |
4264 |
char *s; |
4265 |
va_list v; |
4266 |
va_start (v,p); |
4267 |
s = g (p, va_arg (v,int)); |
4268 |
va_end (v); |
4269 |
return s; |
4270 |
} |
4271 |
|
4272 |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
4273 |
function prototypes and stuff, but not '\xHH' hex character constants. |
4274 |
These don't provoke an error unfortunately, instead are silently treated |
4275 |
as 'x'. The following induces an error, until -std is added to get |
4276 |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
4277 |
array size at least. It's necessary to write '\x00'==0 to get something |
4278 |
that's true only with -std. */ |
4279 |
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
4280 |
|
4281 |
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
4282 |
inside strings and character constants. */ |
4283 |
#define FOO(x) 'x' |
4284 |
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
4285 |
|
4286 |
int test (int i, double x); |
4287 |
struct s1 {int (*f) (int a);}; |
4288 |
struct s2 {int (*f) (double a);}; |
4289 |
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
4290 |
int argc; |
4291 |
char **argv; |
4292 |
int |
4293 |
main () |
4294 |
{ |
4295 |
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
4296 |
; |
4297 |
return 0; |
4298 |
} |
4299 |
_ACEOF |
4300 |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
4301 |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
4302 |
do |
4303 |
CC="$ac_save_CC $ac_arg" |
4304 |
if ac_fn_c_try_compile "$LINENO"; then : |
4305 |
ac_cv_prog_cc_c89=$ac_arg |
4306 |
fi |
4307 |
rm -f core conftest.err conftest.$ac_objext |
4308 |
test "x$ac_cv_prog_cc_c89" != "xno" && break |
4309 |
done |
4310 |
rm -f conftest.$ac_ext |
4311 |
CC=$ac_save_CC |
4312 |
|
4313 |
fi |
4314 |
# AC_CACHE_VAL |
4315 |
case "x$ac_cv_prog_cc_c89" in |
4316 |
x) |
4317 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
4318 |
$as_echo "none needed" >&6; } ;; |
4319 |
xno) |
4320 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
4321 |
$as_echo "unsupported" >&6; } ;; |
4322 |
*) |
4323 |
CC="$CC $ac_cv_prog_cc_c89" |
4324 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
4325 |
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
4326 |
esac |
4327 |
if test "x$ac_cv_prog_cc_c89" != xno; then : |
4328 |
|
4329 |
fi |
4330 |
|
4331 |
ac_ext=c |
4332 |
ac_cpp='$CPP $CPPFLAGS' |
4333 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4334 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4335 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4336 |
|
4337 |
depcc="$CC" am_compiler_list= |
4338 |
|
4339 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
4340 |
$as_echo_n "checking dependency style of $depcc... " >&6; } |
4341 |
if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
4342 |
$as_echo_n "(cached) " >&6 |
4343 |
else |
4344 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
4345 |
# We make a subdir and do the tests there. Otherwise we can end up |
4346 |
# making bogus files that we don't know about and never remove. For |
4347 |
# instance it was reported that on HP-UX the gcc test will end up |
4348 |
# making a dummy file named `D' -- because `-MD' means `put the output |
4349 |
# in D'. |
4350 |
rm -rf conftest.dir |
4351 |
mkdir conftest.dir |
4352 |
# Copy depcomp to subdir because otherwise we won't find it if we're |
4353 |
# using a relative directory. |
4354 |
cp "$am_depcomp" conftest.dir |
4355 |
cd conftest.dir |
4356 |
# We will build objects and dependencies in a subdirectory because |
4357 |
# it helps to detect inapplicable dependency modes. For instance |
4358 |
# both Tru64's cc and ICC support -MD to output dependencies as a |
4359 |
# side effect of compilation, but ICC will put the dependencies in |
4360 |
# the current directory while Tru64 will put them in the object |
4361 |
# directory. |
4362 |
mkdir sub |
4363 |
|
4364 |
am_cv_CC_dependencies_compiler_type=none |
4365 |
if test "$am_compiler_list" = ""; then |
4366 |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
4367 |
fi |
4368 |
am__universal=false |
4369 |
case " $depcc " in #( |
4370 |
*\ -arch\ *\ -arch\ *) am__universal=true ;; |
4371 |
esac |
4372 |
|
4373 |
for depmode in $am_compiler_list; do |
4374 |
# Setup a source with many dependencies, because some compilers |
4375 |
# like to wrap large dependency lists on column 80 (with \), and |
4376 |
# we should not choose a depcomp mode which is confused by this. |
4377 |
# |
4378 |
# We need to recreate these files for each test, as the compiler may |
4379 |
# overwrite some of them when testing with obscure command lines. |
4380 |
# This happens at least with the AIX C compiler. |
4381 |
: > sub/conftest.c |
4382 |
for i in 1 2 3 4 5 6; do |
4383 |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
4384 |
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
4385 |
# Solaris 8's {/usr,}/bin/sh. |
4386 |
touch sub/conftst$i.h |
4387 |
done |
4388 |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
4389 |
|
4390 |
# We check with `-c' and `-o' for the sake of the "dashmstdout" |
4391 |
# mode. It turns out that the SunPro C++ compiler does not properly |
4392 |
# handle `-M -o', and we need to detect this. Also, some Intel |
4393 |
# versions had trouble with output in subdirs |
4394 |
am__obj=sub/conftest.${OBJEXT-o} |
4395 |
am__minus_obj="-o $am__obj" |
4396 |
case $depmode in |
4397 |
gcc) |
4398 |
# This depmode causes a compiler race in universal mode. |
4399 |
test "$am__universal" = false || continue |
4400 |
;; |
4401 |
nosideeffect) |
4402 |
# after this tag, mechanisms are not by side-effect, so they'll |
4403 |
# only be used when explicitly requested |
4404 |
if test "x$enable_dependency_tracking" = xyes; then |
4405 |
continue |
4406 |
else |
4407 |
break |
4408 |
fi |
4409 |
;; |
4410 |
msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
4411 |
# This compiler won't grok `-c -o', but also, the minuso test has |
4412 |
# not run yet. These depmodes are late enough in the game, and |
4413 |
# so weak that their functioning should not be impacted. |
4414 |
am__obj=conftest.${OBJEXT-o} |
4415 |
am__minus_obj= |
4416 |
;; |
4417 |
none) break ;; |
4418 |
esac |
4419 |
if depmode=$depmode \ |
4420 |
source=sub/conftest.c object=$am__obj \ |
4421 |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
4422 |
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
4423 |
>/dev/null 2>conftest.err && |
4424 |
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
4425 |
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
4426 |
grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
4427 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
4428 |
# icc doesn't choke on unknown options, it will just issue warnings |
4429 |
# or remarks (even with -Werror). So we grep stderr for any message |
4430 |
# that says an option was ignored or not supported. |
4431 |
# When given -MP, icc 7.0 and 7.1 complain thusly: |
4432 |
# icc: Command line warning: ignoring option '-M'; no argument required |
4433 |
# The diagnosis changed in icc 8.0: |
4434 |
# icc: Command line remark: option '-MP' not supported |
4435 |
if (grep 'ignoring option' conftest.err || |
4436 |
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
4437 |
am_cv_CC_dependencies_compiler_type=$depmode |
4438 |
break |
4439 |
fi |
4440 |
fi |
4441 |
done |
4442 |
|
4443 |
cd .. |
4444 |
rm -rf conftest.dir |
4445 |
else |
4446 |
am_cv_CC_dependencies_compiler_type=none |
4447 |
fi |
4448 |
|
4449 |
fi |
4450 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
4451 |
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
4452 |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
4453 |
|
4454 |
if |
4455 |
test "x$enable_dependency_tracking" != xno \ |
4456 |
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
4457 |
am__fastdepCC_TRUE= |
4458 |
am__fastdepCC_FALSE='#' |
4459 |
else |
4460 |
am__fastdepCC_TRUE='#' |
4461 |
am__fastdepCC_FALSE= |
4462 |
fi |
4463 |
|
4464 |
|
4465 |
|
4466 |
# Check whether --with-gnu-ld was given. |
4467 |
if test "${with_gnu_ld+set}" = set; then : |
4468 |
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes |
4469 |
else |
4470 |
with_gnu_ld=no |
4471 |
fi |
4472 |
|
4473 |
ac_prog=ld |
4474 |
if test "$GCC" = yes; then |
4475 |
# Check if gcc -print-prog-name=ld gives a path. |
4476 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 |
4477 |
$as_echo_n "checking for ld used by GCC... " >&6; } |
4478 |
case $host in |
4479 |
*-*-mingw*) |
4480 |
# gcc leaves a trailing carriage return which upsets mingw |
4481 |
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |
4482 |
*) |
4483 |
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; |
4484 |
esac |
4485 |
case $ac_prog in |
4486 |
# Accept absolute paths. |
4487 |
[\\/]* | [A-Za-z]:[\\/]*) |
4488 |
re_direlt='/[^/][^/]*/\.\./' |
4489 |
# Canonicalize the path of ld |
4490 |
ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` |
4491 |
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do |
4492 |
ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` |
4493 |
done |
4494 |
test -z "$LD" && LD="$ac_prog" |
4495 |
;; |
4496 |
"") |
4497 |
# If it fails, then pretend we aren't using GCC. |
4498 |
ac_prog=ld |
4499 |
;; |
4500 |
*) |
4501 |
# If it is relative, then search for the first ld in PATH. |
4502 |
with_gnu_ld=unknown |
4503 |
;; |
4504 |
esac |
4505 |
elif test "$with_gnu_ld" = yes; then |
4506 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 |
4507 |
$as_echo_n "checking for GNU ld... " >&6; } |
4508 |
else |
4509 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 |
4510 |
$as_echo_n "checking for non-GNU ld... " >&6; } |
4511 |
fi |
4512 |
if ${acl_cv_path_LD+:} false; then : |
4513 |
$as_echo_n "(cached) " >&6 |
4514 |
else |
4515 |
if test -z "$LD"; then |
4516 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" |
4517 |
for ac_dir in $PATH; do |
4518 |
test -z "$ac_dir" && ac_dir=. |
4519 |
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
4520 |
acl_cv_path_LD="$ac_dir/$ac_prog" |
4521 |
# Check to see if the program is GNU ld. I'd rather use --version, |
4522 |
# but apparently some GNU ld's only accept -v. |
4523 |
# Break only if it was the GNU/non-GNU ld that we prefer. |
4524 |
if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then |
4525 |
test "$with_gnu_ld" != no && break |
4526 |
else |
4527 |
test "$with_gnu_ld" != yes && break |
4528 |
fi |
4529 |
fi |
4530 |
done |
4531 |
IFS="$ac_save_ifs" |
4532 |
else |
4533 |
acl_cv_path_LD="$LD" # Let the user override the test with a path. |
4534 |
fi |
4535 |
fi |
4536 |
|
4537 |
LD="$acl_cv_path_LD" |
4538 |
if test -n "$LD"; then |
4539 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 |
4540 |
$as_echo "$LD" >&6; } |
4541 |
else |
4542 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4543 |
$as_echo "no" >&6; } |
4544 |
fi |
4545 |
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 |
4546 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 |
4547 |
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } |
4548 |
if ${acl_cv_prog_gnu_ld+:} false; then : |
4549 |
$as_echo_n "(cached) " >&6 |
4550 |
else |
4551 |
# I'd rather use --version here, but apparently some GNU ld's only accept -v. |
4552 |
if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
4553 |
acl_cv_prog_gnu_ld=yes |
4554 |
else |
4555 |
acl_cv_prog_gnu_ld=no |
4556 |
fi |
4557 |
fi |
4558 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 |
4559 |
$as_echo "$acl_cv_prog_gnu_ld" >&6; } |
4560 |
with_gnu_ld=$acl_cv_prog_gnu_ld |
4561 |
|
4562 |
|
4563 |
|
4564 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 |
4565 |
$as_echo_n "checking for shared library run path origin... " >&6; } |
4566 |
if ${acl_cv_rpath+:} false; then : |
4567 |
$as_echo_n "(cached) " >&6 |
4568 |
else |
4569 |
|
4570 |
CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ |
4571 |
${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh |
4572 |
. ./conftest.sh |
4573 |
rm -f ./conftest.sh |
4574 |
acl_cv_rpath=done |
4575 |
|
4576 |
fi |
4577 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 |
4578 |
$as_echo "$acl_cv_rpath" >&6; } |
4579 |
wl="$acl_cv_wl" |
4580 |
libext="$acl_cv_libext" |
4581 |
shlibext="$acl_cv_shlibext" |
4582 |
hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" |
4583 |
hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" |
4584 |
hardcode_direct="$acl_cv_hardcode_direct" |
4585 |
hardcode_minus_L="$acl_cv_hardcode_minus_L" |
4586 |
sys_lib_search_path_spec="$acl_cv_sys_lib_search_path_spec" |
4587 |
sys_lib_dlsearch_path_spec="$acl_cv_sys_lib_dlsearch_path_spec" |
4588 |
# Check whether --enable-rpath was given. |
4589 |
if test "${enable_rpath+set}" = set; then : |
4590 |
enableval=$enable_rpath; : |
4591 |
else |
4592 |
enable_rpath=yes |
4593 |
fi |
4594 |
|
4595 |
|
4596 |
|
4597 |
|
4598 |
|
4599 |
|
4600 |
|
4601 |
|
4602 |
use_additional=yes |
4603 |
|
4604 |
acl_save_prefix="$prefix" |
4605 |
prefix="$acl_final_prefix" |
4606 |
acl_save_exec_prefix="$exec_prefix" |
4607 |
exec_prefix="$acl_final_exec_prefix" |
4608 |
|
4609 |
eval additional_includedir=\"$includedir\" |
4610 |
eval additional_libdir=\"$libdir\" |
4611 |
|
4612 |
exec_prefix="$acl_save_exec_prefix" |
4613 |
prefix="$acl_save_prefix" |
4614 |
|
4615 |
|
4616 |
# Check whether --with-libiconv-prefix was given. |
4617 |
if test "${with_libiconv_prefix+set}" = set; then : |
4618 |
withval=$with_libiconv_prefix; |
4619 |
if test "X$withval" = "Xno"; then |
4620 |
use_additional=no |
4621 |
else |
4622 |
if test "X$withval" = "X"; then |
4623 |
|
4624 |
acl_save_prefix="$prefix" |
4625 |
prefix="$acl_final_prefix" |
4626 |
acl_save_exec_prefix="$exec_prefix" |
4627 |
exec_prefix="$acl_final_exec_prefix" |
4628 |
|
4629 |
eval additional_includedir=\"$includedir\" |
4630 |
eval additional_libdir=\"$libdir\" |
4631 |
|
4632 |
exec_prefix="$acl_save_exec_prefix" |
4633 |
prefix="$acl_save_prefix" |
4634 |
|
4635 |
else |
4636 |
additional_includedir="$withval/include" |
4637 |
additional_libdir="$withval/lib" |
4638 |
fi |
4639 |
fi |
4640 |
|
4641 |
fi |
4642 |
|
4643 |
LIBICONV= |
4644 |
LTLIBICONV= |
4645 |
INCICONV= |
4646 |
rpathdirs= |
4647 |
ltrpathdirs= |
4648 |
names_already_handled= |
4649 |
names_next_round='iconv ' |
4650 |
while test -n "$names_next_round"; do |
4651 |
names_this_round="$names_next_round" |
4652 |
names_next_round= |
4653 |
for name in $names_this_round; do |
4654 |
already_handled= |
4655 |
for n in $names_already_handled; do |
4656 |
if test "$n" = "$name"; then |
4657 |
already_handled=yes |
4658 |
break |
4659 |
fi |
4660 |
done |
4661 |
if test -z "$already_handled"; then |
4662 |
names_already_handled="$names_already_handled $name" |
4663 |
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` |
4664 |
eval value=\"\$HAVE_LIB$uppername\" |
4665 |
if test -n "$value"; then |
4666 |
if test "$value" = yes; then |
4667 |
eval value=\"\$LIB$uppername\" |
4668 |
test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" |
4669 |
eval value=\"\$LTLIB$uppername\" |
4670 |
test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" |
4671 |
else |
4672 |
: |
4673 |
fi |
4674 |
else |
4675 |
found_dir= |
4676 |
found_la= |
4677 |
found_so= |
4678 |
found_a= |
4679 |
if test $use_additional = yes; then |
4680 |
if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then |
4681 |
found_dir="$additional_libdir" |
4682 |
found_so="$additional_libdir/lib$name.$shlibext" |
4683 |
if test -f "$additional_libdir/lib$name.la"; then |
4684 |
found_la="$additional_libdir/lib$name.la" |
4685 |
fi |
4686 |
else |
4687 |
if test -f "$additional_libdir/lib$name.$libext"; then |
4688 |
found_dir="$additional_libdir" |
4689 |
found_a="$additional_libdir/lib$name.$libext" |
4690 |
if test -f "$additional_libdir/lib$name.la"; then |
4691 |
found_la="$additional_libdir/lib$name.la" |
4692 |
fi |
4693 |
fi |
4694 |
fi |
4695 |
fi |
4696 |
if test "X$found_dir" = "X"; then |
4697 |
for x in $LDFLAGS $LTLIBICONV; do |
4698 |
|
4699 |
acl_save_prefix="$prefix" |
4700 |
prefix="$acl_final_prefix" |
4701 |
acl_save_exec_prefix="$exec_prefix" |
4702 |
exec_prefix="$acl_final_exec_prefix" |
4703 |
eval x=\"$x\" |
4704 |
exec_prefix="$acl_save_exec_prefix" |
4705 |
prefix="$acl_save_prefix" |
4706 |
|
4707 |
case "$x" in |
4708 |
-L*) |
4709 |
dir=`echo "X$x" | sed -e 's/^X-L//'` |
4710 |
if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then |
4711 |
found_dir="$dir" |
4712 |
found_so="$dir/lib$name.$shlibext" |
4713 |
if test -f "$dir/lib$name.la"; then |
4714 |
found_la="$dir/lib$name.la" |
4715 |
fi |
4716 |
else |
4717 |
if test -f "$dir/lib$name.$libext"; then |
4718 |
found_dir="$dir" |
4719 |
found_a="$dir/lib$name.$libext" |
4720 |
if test -f "$dir/lib$name.la"; then |
4721 |
found_la="$dir/lib$name.la" |
4722 |
fi |
4723 |
fi |
4724 |
fi |
4725 |
;; |
4726 |
esac |
4727 |
if test "X$found_dir" != "X"; then |
4728 |
break |
4729 |
fi |
4730 |
done |
4731 |
fi |
4732 |
if test "X$found_dir" != "X"; then |
4733 |
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" |
4734 |
if test "X$found_so" != "X"; then |
4735 |
if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then |
4736 |
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" |
4737 |
else |
4738 |
haveit= |
4739 |
for x in $ltrpathdirs; do |
4740 |
if test "X$x" = "X$found_dir"; then |
4741 |
haveit=yes |
4742 |
break |
4743 |
fi |
4744 |
done |
4745 |
if test -z "$haveit"; then |
4746 |
ltrpathdirs="$ltrpathdirs $found_dir" |
4747 |
fi |
4748 |
if test "$hardcode_direct" = yes; then |
4749 |
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" |
4750 |
else |
4751 |
if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then |
4752 |
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" |
4753 |
haveit= |
4754 |
for x in $rpathdirs; do |
4755 |
if test "X$x" = "X$found_dir"; then |
4756 |
haveit=yes |
4757 |
break |
4758 |
fi |
4759 |
done |
4760 |
if test -z "$haveit"; then |
4761 |
rpathdirs="$rpathdirs $found_dir" |
4762 |
fi |
4763 |
else |
4764 |
haveit= |
4765 |
for x in $LDFLAGS $LIBICONV; do |
4766 |
|
4767 |
acl_save_prefix="$prefix" |
4768 |
prefix="$acl_final_prefix" |
4769 |
acl_save_exec_prefix="$exec_prefix" |
4770 |
exec_prefix="$acl_final_exec_prefix" |
4771 |
eval x=\"$x\" |
4772 |
exec_prefix="$acl_save_exec_prefix" |
4773 |
prefix="$acl_save_prefix" |
4774 |
|
4775 |
if test "X$x" = "X-L$found_dir"; then |
4776 |
haveit=yes |
4777 |
break |
4778 |
fi |
4779 |
done |
4780 |
if test -z "$haveit"; then |
4781 |
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" |
4782 |
fi |
4783 |
if test "$hardcode_minus_L" != no; then |
4784 |
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" |
4785 |
else |
4786 |
LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" |
4787 |
fi |
4788 |
fi |
4789 |
fi |
4790 |
fi |
4791 |
else |
4792 |
if test "X$found_a" != "X"; then |
4793 |
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" |
4794 |
else |
4795 |
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" |
4796 |
fi |
4797 |
fi |
4798 |
additional_includedir= |
4799 |
case "$found_dir" in |
4800 |
*/lib | */lib/) |
4801 |
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'` |
4802 |
additional_includedir="$basedir/include" |
4803 |
;; |
4804 |
esac |
4805 |
if test "X$additional_includedir" != "X"; then |
4806 |
if test "X$additional_includedir" != "X/usr/include"; then |
4807 |
haveit= |
4808 |
if test "X$additional_includedir" = "X/usr/local/include"; then |
4809 |
if test -n "$GCC"; then |
4810 |
case $host_os in |
4811 |
linux*) haveit=yes;; |
4812 |
esac |
4813 |
fi |
4814 |
fi |
4815 |
if test -z "$haveit"; then |
4816 |
for x in $CPPFLAGS $INCICONV; do |
4817 |
|
4818 |
acl_save_prefix="$prefix" |
4819 |
prefix="$acl_final_prefix" |
4820 |
acl_save_exec_prefix="$exec_prefix" |
4821 |
exec_prefix="$acl_final_exec_prefix" |
4822 |
eval x=\"$x\" |
4823 |
exec_prefix="$acl_save_exec_prefix" |
4824 |
prefix="$acl_save_prefix" |
4825 |
|
4826 |
if test "X$x" = "X-I$additional_includedir"; then |
4827 |
haveit=yes |
4828 |
break |
4829 |
fi |
4830 |
done |
4831 |
if test -z "$haveit"; then |
4832 |
if test -d "$additional_includedir"; then |
4833 |
INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" |
4834 |
fi |
4835 |
fi |
4836 |
fi |
4837 |
fi |
4838 |
fi |
4839 |
if test -n "$found_la"; then |
4840 |
save_libdir="$libdir" |
4841 |
case "$found_la" in |
4842 |
*/* | *\\*) . "$found_la" ;; |
4843 |
*) . "./$found_la" ;; |
4844 |
esac |
4845 |
libdir="$save_libdir" |
4846 |
for dep in $dependency_libs; do |
4847 |
case "$dep" in |
4848 |
-L*) |
4849 |
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` |
4850 |
if test "X$additional_libdir" != "X/usr/lib"; then |
4851 |
haveit= |
4852 |
if test "X$additional_libdir" = "X/usr/local/lib"; then |
4853 |
if test -n "$GCC"; then |
4854 |
case $host_os in |
4855 |
linux*) haveit=yes;; |
4856 |
esac |
4857 |
fi |
4858 |
fi |
4859 |
if test -z "$haveit"; then |
4860 |
haveit= |
4861 |
for x in $LDFLAGS $LIBICONV; do |
4862 |
|
4863 |
acl_save_prefix="$prefix" |
4864 |
prefix="$acl_final_prefix" |
4865 |
acl_save_exec_prefix="$exec_prefix" |
4866 |
exec_prefix="$acl_final_exec_prefix" |
4867 |
eval x=\"$x\" |
4868 |
exec_prefix="$acl_save_exec_prefix" |
4869 |
prefix="$acl_save_prefix" |
4870 |
|
4871 |
if test "X$x" = "X-L$additional_libdir"; then |
4872 |
haveit=yes |
4873 |
break |
4874 |
fi |
4875 |
done |
4876 |
if test -z "$haveit"; then |
4877 |
if test -d "$additional_libdir"; then |
4878 |
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" |
4879 |
fi |
4880 |
fi |
4881 |
haveit= |
4882 |
for x in $LDFLAGS $LTLIBICONV; do |
4883 |
|
4884 |
acl_save_prefix="$prefix" |
4885 |
prefix="$acl_final_prefix" |
4886 |
acl_save_exec_prefix="$exec_prefix" |
4887 |
exec_prefix="$acl_final_exec_prefix" |
4888 |
eval x=\"$x\" |
4889 |
exec_prefix="$acl_save_exec_prefix" |
4890 |
prefix="$acl_save_prefix" |
4891 |
|
4892 |
if test "X$x" = "X-L$additional_libdir"; then |
4893 |
haveit=yes |
4894 |
break |
4895 |
fi |
4896 |
done |
4897 |
if test -z "$haveit"; then |
4898 |
if test -d "$additional_libdir"; then |
4899 |
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" |
4900 |
fi |
4901 |
fi |
4902 |
fi |
4903 |
fi |
4904 |
;; |
4905 |
-R*) |
4906 |
dir=`echo "X$dep" | sed -e 's/^X-R//'` |
4907 |
if test "$enable_rpath" != no; then |
4908 |
haveit= |
4909 |
for x in $rpathdirs; do |
4910 |
if test "X$x" = "X$dir"; then |
4911 |
haveit=yes |
4912 |
break |
4913 |
fi |
4914 |
done |
4915 |
if test -z "$haveit"; then |
4916 |
rpathdirs="$rpathdirs $dir" |
4917 |
fi |
4918 |
haveit= |
4919 |
for x in $ltrpathdirs; do |
4920 |
if test "X$x" = "X$dir"; then |
4921 |
haveit=yes |
4922 |
break |
4923 |
fi |
4924 |
done |
4925 |
if test -z "$haveit"; then |
4926 |
ltrpathdirs="$ltrpathdirs $dir" |
4927 |
fi |
4928 |
fi |
4929 |
;; |
4930 |
-l*) |
4931 |
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` |
4932 |
;; |
4933 |
*.la) |
4934 |
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` |
4935 |
;; |
4936 |
*) |
4937 |
LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" |
4938 |
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" |
4939 |
;; |
4940 |
esac |
4941 |
done |
4942 |
fi |
4943 |
else |
4944 |
LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" |
4945 |
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" |
4946 |
fi |
4947 |
fi |
4948 |
fi |
4949 |
done |
4950 |
done |
4951 |
if test "X$rpathdirs" != "X"; then |
4952 |
if test -n "$hardcode_libdir_separator"; then |
4953 |
alldirs= |
4954 |
for found_dir in $rpathdirs; do |
4955 |
alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" |
4956 |
done |
4957 |
acl_save_libdir="$libdir" |
4958 |
libdir="$alldirs" |
4959 |
eval flag=\"$hardcode_libdir_flag_spec\" |
4960 |
libdir="$acl_save_libdir" |
4961 |
LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" |
4962 |
else |
4963 |
for found_dir in $rpathdirs; do |
4964 |
acl_save_libdir="$libdir" |
4965 |
libdir="$found_dir" |
4966 |
eval flag=\"$hardcode_libdir_flag_spec\" |
4967 |
libdir="$acl_save_libdir" |
4968 |
LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" |
4969 |
done |
4970 |
fi |
4971 |
fi |
4972 |
if test "X$ltrpathdirs" != "X"; then |
4973 |
for found_dir in $ltrpathdirs; do |
4974 |
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" |
4975 |
done |
4976 |
fi |
4977 |
|
4978 |
|
4979 |
|
4980 |
|
4981 |
|
4982 |
|
4983 |
|
4984 |
|
4985 |
|
4986 |
|
4987 |
|
4988 |
|
4989 |
|
4990 |
|
4991 |
|
4992 |
|
4993 |
|
4994 |
|
4995 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 |
4996 |
$as_echo_n "checking whether NLS is requested... " >&6; } |
4997 |
# Check whether --enable-nls was given. |
4998 |
if test "${enable_nls+set}" = set; then : |
4999 |
enableval=$enable_nls; USE_NLS=$enableval |
5000 |
else |
5001 |
USE_NLS=yes |
5002 |
fi |
5003 |
|
5004 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 |
5005 |
$as_echo "$USE_NLS" >&6; } |
5006 |
|
5007 |
|
5008 |
|
5009 |
LIBINTL= |
5010 |
LTLIBINTL= |
5011 |
POSUB= |
5012 |
|
5013 |
if test "$USE_NLS" = "yes"; then |
5014 |
gt_use_preinstalled_gnugettext=no |
5015 |
|
5016 |
|
5017 |
|
5018 |
|
5019 |
|
5020 |
|
5021 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 |
5022 |
$as_echo_n "checking for GNU gettext in libc... " >&6; } |
5023 |
if ${gt_cv_func_gnugettext1_libc+:} false; then : |
5024 |
$as_echo_n "(cached) " >&6 |
5025 |
else |
5026 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5027 |
/* end confdefs.h. */ |
5028 |
#include <libintl.h> |
5029 |
extern int _nl_msg_cat_cntr; |
5030 |
extern int *_nl_domain_bindings; |
5031 |
int |
5032 |
main () |
5033 |
{ |
5034 |
bindtextdomain ("", ""); |
5035 |
return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings |
5036 |
; |
5037 |
return 0; |
5038 |
} |
5039 |
_ACEOF |
5040 |
if ac_fn_c_try_link "$LINENO"; then : |
5041 |
gt_cv_func_gnugettext1_libc=yes |
5042 |
else |
5043 |
gt_cv_func_gnugettext1_libc=no |
5044 |
fi |
5045 |
rm -f core conftest.err conftest.$ac_objext \ |
5046 |
conftest$ac_exeext conftest.$ac_ext |
5047 |
fi |
5048 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libc" >&5 |
5049 |
$as_echo "$gt_cv_func_gnugettext1_libc" >&6; } |
5050 |
|
5051 |
if test "$gt_cv_func_gnugettext1_libc" != "yes"; then |
5052 |
|
5053 |
|
5054 |
|
5055 |
|
5056 |
|
5057 |
am_save_CPPFLAGS="$CPPFLAGS" |
5058 |
|
5059 |
for element in $INCICONV; do |
5060 |
haveit= |
5061 |
for x in $CPPFLAGS; do |
5062 |
|
5063 |
acl_save_prefix="$prefix" |
5064 |
prefix="$acl_final_prefix" |
5065 |
acl_save_exec_prefix="$exec_prefix" |
5066 |
exec_prefix="$acl_final_exec_prefix" |
5067 |
eval x=\"$x\" |
5068 |
exec_prefix="$acl_save_exec_prefix" |
5069 |
prefix="$acl_save_prefix" |
5070 |
|
5071 |
if test "X$x" = "X$element"; then |
5072 |
haveit=yes |
5073 |
break |
5074 |
fi |
5075 |
done |
5076 |
if test -z "$haveit"; then |
5077 |
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" |
5078 |
fi |
5079 |
done |
5080 |
|
5081 |
|
5082 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 |
5083 |
$as_echo_n "checking for iconv... " >&6; } |
5084 |
if ${am_cv_func_iconv+:} false; then : |
5085 |
$as_echo_n "(cached) " >&6 |
5086 |
else |
5087 |
|
5088 |
am_cv_func_iconv="no, consider installing GNU libiconv" |
5089 |
am_cv_lib_iconv=no |
5090 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5091 |
/* end confdefs.h. */ |
5092 |
#include <stdlib.h> |
5093 |
#include <iconv.h> |
5094 |
int |
5095 |
main () |
5096 |
{ |
5097 |
iconv_t cd = iconv_open("",""); |
5098 |
iconv(cd,NULL,NULL,NULL,NULL); |
5099 |
iconv_close(cd); |
|