1 |
#! /bin/sh |
2 |
# Guess values for system-dependent variables and create Makefiles. |
3 |
# Generated by GNU Autoconf 2.68. |
4 |
# |
5 |
# |
6 |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
7 |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software |
8 |
# Foundation, Inc. |
9 |
# |
10 |
# |
11 |
# This configure script is free software; the Free Software Foundation |
12 |
# gives unlimited permission to copy, distribute and modify it. |
13 |
## -------------------- ## |
14 |
## M4sh Initialization. ## |
15 |
## -------------------- ## |
16 |
|
17 |
# Be more Bourne compatible |
18 |
DUALCASE=1; export DUALCASE # for MKS sh |
19 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
20 |
emulate sh |
21 |
NULLCMD=: |
22 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
23 |
# is contrary to our usage. Disable this feature. |
24 |
alias -g '${1+"$@"}'='"$@"' |
25 |
setopt NO_GLOB_SUBST |
26 |
else |
27 |
case `(set -o) 2>/dev/null` in #( |
28 |
*posix*) : |
29 |
set -o posix ;; #( |
30 |
*) : |
31 |
;; |
32 |
esac |
33 |
fi |
34 |
|
35 |
|
36 |
as_nl=' |
37 |
' |
38 |
export as_nl |
39 |
# Printing a long string crashes Solaris 7 /usr/bin/printf. |
40 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
41 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
42 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
43 |
# Prefer a ksh shell builtin over an external printf program on Solaris, |
44 |
# but without wasting forks for bash or zsh. |
45 |
if test -z "$BASH_VERSION$ZSH_VERSION" \ |
46 |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
47 |
as_echo='print -r --' |
48 |
as_echo_n='print -rn --' |
49 |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
50 |
as_echo='printf %s\n' |
51 |
as_echo_n='printf %s' |
52 |
else |
53 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
54 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
55 |
as_echo_n='/usr/ucb/echo -n' |
56 |
else |
57 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
58 |
as_echo_n_body='eval |
59 |
arg=$1; |
60 |
case $arg in #( |
61 |
*"$as_nl"*) |
62 |
expr "X$arg" : "X\\(.*\\)$as_nl"; |
63 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
64 |
esac; |
65 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
66 |
' |
67 |
export as_echo_n_body |
68 |
as_echo_n='sh -c $as_echo_n_body as_echo' |
69 |
fi |
70 |
export as_echo_body |
71 |
as_echo='sh -c $as_echo_body as_echo' |
72 |
fi |
73 |
|
74 |
# The user is always right. |
75 |
if test "${PATH_SEPARATOR+set}" != set; then |
76 |
PATH_SEPARATOR=: |
77 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
78 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
79 |
PATH_SEPARATOR=';' |
80 |
} |
81 |
fi |
82 |
|
83 |
|
84 |
# IFS |
85 |
# We need space, tab and new line, in precisely that order. Quoting is |
86 |
# there to prevent editors from complaining about space-tab. |
87 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
88 |
# splitting by setting IFS to empty value.) |
89 |
IFS=" "" $as_nl" |
90 |
|
91 |
# Find who we are. Look in the path if we contain no directory separator. |
92 |
as_myself= |
93 |
case $0 in #(( |
94 |
*[\\/]* ) as_myself=$0 ;; |
95 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
96 |
for as_dir in $PATH |
97 |
do |
98 |
IFS=$as_save_IFS |
99 |
test -z "$as_dir" && as_dir=. |
100 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
101 |
done |
102 |
IFS=$as_save_IFS |
103 |
|
104 |
;; |
105 |
esac |
106 |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
107 |
# in which case we are not to be found in the path. |
108 |
if test "x$as_myself" = x; then |
109 |
as_myself=$0 |
110 |
fi |
111 |
if test ! -f "$as_myself"; then |
112 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
113 |
exit 1 |
114 |
fi |
115 |
|
116 |
# Unset variables that we do not need and which cause bugs (e.g. in |
117 |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
118 |
# suppresses any "Segmentation fault" message there. '((' could |
119 |
# trigger a bug in pdksh 5.2.14. |
120 |
for as_var in BASH_ENV ENV MAIL MAILPATH |
121 |
do eval test x\${$as_var+set} = xset \ |
122 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
123 |
done |
124 |
PS1='$ ' |
125 |
PS2='> ' |
126 |
PS4='+ ' |
127 |
|
128 |
# NLS nuisances. |
129 |
LC_ALL=C |
130 |
export LC_ALL |
131 |
LANGUAGE=C |
132 |
export LANGUAGE |
133 |
|
134 |
# CDPATH. |
135 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
136 |
|
137 |
if test "x$CONFIG_SHELL" = x; then |
138 |
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
139 |
emulate sh |
140 |
NULLCMD=: |
141 |
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
142 |
# is contrary to our usage. Disable this feature. |
143 |
alias -g '\${1+\"\$@\"}'='\"\$@\"' |
144 |
setopt NO_GLOB_SUBST |
145 |
else |
146 |
case \`(set -o) 2>/dev/null\` in #( |
147 |
*posix*) : |
148 |
set -o posix ;; #( |
149 |
*) : |
150 |
;; |
151 |
esac |
152 |
fi |
153 |
" |
154 |
as_required="as_fn_return () { (exit \$1); } |
155 |
as_fn_success () { as_fn_return 0; } |
156 |
as_fn_failure () { as_fn_return 1; } |
157 |
as_fn_ret_success () { return 0; } |
158 |
as_fn_ret_failure () { return 1; } |
159 |
|
160 |
exitcode=0 |
161 |
as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
162 |
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
163 |
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
164 |
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
165 |
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
166 |
|
167 |
else |
168 |
exitcode=1; echo positional parameters were not saved. |
169 |
fi |
170 |
test x\$exitcode = x0 || exit 1" |
171 |
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
172 |
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
173 |
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
174 |
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1" |
175 |
if (eval "$as_required") 2>/dev/null; then : |
176 |
as_have_required=yes |
177 |
else |
178 |
as_have_required=no |
179 |
fi |
180 |
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : |
181 |
|
182 |
else |
183 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
184 |
as_found=false |
185 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
186 |
do |
187 |
IFS=$as_save_IFS |
188 |
test -z "$as_dir" && as_dir=. |
189 |
as_found=: |
190 |
case $as_dir in #( |
191 |
/*) |
192 |
for as_base in sh bash ksh sh5; do |
193 |
# Try only shells that exist, to save several forks. |
194 |
as_shell=$as_dir/$as_base |
195 |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
196 |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : |
197 |
CONFIG_SHELL=$as_shell as_have_required=yes |
198 |
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : |
199 |
break 2 |
200 |
fi |
201 |
fi |
202 |
done;; |
203 |
esac |
204 |
as_found=false |
205 |
done |
206 |
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
207 |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : |
208 |
CONFIG_SHELL=$SHELL as_have_required=yes |
209 |
fi; } |
210 |
IFS=$as_save_IFS |
211 |
|
212 |
|
213 |
if test "x$CONFIG_SHELL" != x; then : |
214 |
# We cannot yet assume a decent shell, so we have to provide a |
215 |
# neutralization value for shells without unset; and this also |
216 |
# works around shells that cannot unset nonexistent variables. |
217 |
# Preserve -v and -x to the replacement shell. |
218 |
BASH_ENV=/dev/null |
219 |
ENV=/dev/null |
220 |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
221 |
export CONFIG_SHELL |
222 |
case $- in # (((( |
223 |
*v*x* | *x*v* ) as_opts=-vx ;; |
224 |
*v* ) as_opts=-v ;; |
225 |
*x* ) as_opts=-x ;; |
226 |
* ) as_opts= ;; |
227 |
esac |
228 |
exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} |
229 |
fi |
230 |
|
231 |
if test x$as_have_required = xno; then : |
232 |
$as_echo "$0: This script requires a shell more modern than all" |
233 |
$as_echo "$0: the shells that I found on your system." |
234 |
if test x${ZSH_VERSION+set} = xset ; then |
235 |
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
236 |
$as_echo "$0: be upgraded to zsh 4.3.4 or later." |
237 |
else |
238 |
$as_echo "$0: Please tell bug-autoconf@gnu.org about your system, |
239 |
$0: including any error possibly output before this |
240 |
$0: message. Then install a modern shell, or manually run |
241 |
$0: the script under such a shell if you do have one." |
242 |
fi |
243 |
exit 1 |
244 |
fi |
245 |
fi |
246 |
fi |
247 |
SHELL=${CONFIG_SHELL-/bin/sh} |
248 |
export SHELL |
249 |
# Unset more variables known to interfere with behavior of common tools. |
250 |
CLICOLOR_FORCE= GREP_OPTIONS= |
251 |
unset CLICOLOR_FORCE GREP_OPTIONS |
252 |
|
253 |
## --------------------- ## |
254 |
## M4sh Shell Functions. ## |
255 |
## --------------------- ## |
256 |
# as_fn_unset VAR |
257 |
# --------------- |
258 |
# Portably unset VAR. |
259 |
as_fn_unset () |
260 |
{ |
261 |
{ eval $1=; unset $1;} |
262 |
} |
263 |
as_unset=as_fn_unset |
264 |
|
265 |
# as_fn_set_status STATUS |
266 |
# ----------------------- |
267 |
# Set $? to STATUS, without forking. |
268 |
as_fn_set_status () |
269 |
{ |
270 |
return $1 |
271 |
} # as_fn_set_status |
272 |
|
273 |
# as_fn_exit STATUS |
274 |
# ----------------- |
275 |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
276 |
as_fn_exit () |
277 |
{ |
278 |
set +e |
279 |
as_fn_set_status $1 |
280 |
exit $1 |
281 |
} # as_fn_exit |
282 |
|
283 |
# as_fn_mkdir_p |
284 |
# ------------- |
285 |
# Create "$as_dir" as a directory, including parents if necessary. |
286 |
as_fn_mkdir_p () |
287 |
{ |
288 |
|
289 |
case $as_dir in #( |
290 |
-*) as_dir=./$as_dir;; |
291 |
esac |
292 |
test -d "$as_dir" || eval $as_mkdir_p || { |
293 |
as_dirs= |
294 |
while :; do |
295 |
case $as_dir in #( |
296 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
297 |
*) as_qdir=$as_dir;; |
298 |
esac |
299 |
as_dirs="'$as_qdir' $as_dirs" |
300 |
as_dir=`$as_dirname -- "$as_dir" || |
301 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
302 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
303 |
X"$as_dir" : 'X\(//\)$' \| \ |
304 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
305 |
$as_echo X"$as_dir" | |
306 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
307 |
s//\1/ |
308 |
q |
309 |
} |
310 |
/^X\(\/\/\)[^/].*/{ |
311 |
s//\1/ |
312 |
q |
313 |
} |
314 |
/^X\(\/\/\)$/{ |
315 |
s//\1/ |
316 |
q |
317 |
} |
318 |
/^X\(\/\).*/{ |
319 |
s//\1/ |
320 |
q |
321 |
} |
322 |
s/.*/./; q'` |
323 |
test -d "$as_dir" && break |
324 |
done |
325 |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
326 |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
327 |
|
328 |
|
329 |
} # as_fn_mkdir_p |
330 |
# as_fn_append VAR VALUE |
331 |
# ---------------------- |
332 |
# Append the text in VALUE to the end of the definition contained in VAR. Take |
333 |
# advantage of any shell optimizations that allow amortized linear growth over |
334 |
# repeated appends, instead of the typical quadratic growth present in naive |
335 |
# implementations. |
336 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
337 |
eval 'as_fn_append () |
338 |
{ |
339 |
eval $1+=\$2 |
340 |
}' |
341 |
else |
342 |
as_fn_append () |
343 |
{ |
344 |
eval $1=\$$1\$2 |
345 |
} |
346 |
fi # as_fn_append |
347 |
|
348 |
# as_fn_arith ARG... |
349 |
# ------------------ |
350 |
# Perform arithmetic evaluation on the ARGs, and store the result in the |
351 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments |
352 |
# must be portable across $(()) and expr. |
353 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
354 |
eval 'as_fn_arith () |
355 |
{ |
356 |
as_val=$(( $* )) |
357 |
}' |
358 |
else |
359 |
as_fn_arith () |
360 |
{ |
361 |
as_val=`expr "$@" || test $? -eq 1` |
362 |
} |
363 |
fi # as_fn_arith |
364 |
|
365 |
|
366 |
# as_fn_error STATUS ERROR [LINENO LOG_FD] |
367 |
# ---------------------------------------- |
368 |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
369 |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
370 |
# script with STATUS, using 1 if that was 0. |
371 |
as_fn_error () |
372 |
{ |
373 |
as_status=$1; test $as_status -eq 0 && as_status=1 |
374 |
if test "$4"; then |
375 |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
376 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
377 |
fi |
378 |
$as_echo "$as_me: error: $2" >&2 |
379 |
as_fn_exit $as_status |
380 |
} # as_fn_error |
381 |
|
382 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
383 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
384 |
as_expr=expr |
385 |
else |
386 |
as_expr=false |
387 |
fi |
388 |
|
389 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
390 |
as_basename=basename |
391 |
else |
392 |
as_basename=false |
393 |
fi |
394 |
|
395 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
396 |
as_dirname=dirname |
397 |
else |
398 |
as_dirname=false |
399 |
fi |
400 |
|
401 |
as_me=`$as_basename -- "$0" || |
402 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
403 |
X"$0" : 'X\(//\)$' \| \ |
404 |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
405 |
$as_echo X/"$0" | |
406 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
407 |
s//\1/ |
408 |
q |
409 |
} |
410 |
/^X\/\(\/\/\)$/{ |
411 |
s//\1/ |
412 |
q |
413 |
} |
414 |
/^X\/\(\/\).*/{ |
415 |
s//\1/ |
416 |
q |
417 |
} |
418 |
s/.*/./; q'` |
419 |
|
420 |
# Avoid depending upon Character Ranges. |
421 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
422 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
423 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
424 |
as_cr_digits='0123456789' |
425 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
426 |
|
427 |
|
428 |
as_lineno_1=$LINENO as_lineno_1a=$LINENO |
429 |
as_lineno_2=$LINENO as_lineno_2a=$LINENO |
430 |
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
431 |
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
432 |
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
433 |
sed -n ' |
434 |
p |
435 |
/[$]LINENO/= |
436 |
' <$as_myself | |
437 |
sed ' |
438 |
s/[$]LINENO.*/&-/ |
439 |
t lineno |
440 |
b |
441 |
:lineno |
442 |
N |
443 |
:loop |
444 |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
445 |
t loop |
446 |
s/-\n.*// |
447 |
' >$as_me.lineno && |
448 |
chmod +x "$as_me.lineno" || |
449 |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
450 |
|
451 |
# Don't try to exec as it changes $[0], causing all sort of problems |
452 |
# (the dirname of $[0] is not the place where we might find the |
453 |
# original and so on. Autoconf is especially sensitive to this). |
454 |
. "./$as_me.lineno" |
455 |
# Exit status is that of the last command. |
456 |
exit |
457 |
} |
458 |
|
459 |
ECHO_C= ECHO_N= ECHO_T= |
460 |
case `echo -n x` in #((((( |
461 |
-n*) |
462 |
case `echo 'xy\c'` in |
463 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
464 |
xy) ECHO_C='\c';; |
465 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
466 |
ECHO_T=' ';; |
467 |
esac;; |
468 |
*) |
469 |
ECHO_N='-n';; |
470 |
esac |
471 |
|
472 |
rm -f conf$$ conf$$.exe conf$$.file |
473 |
if test -d conf$$.dir; then |
474 |
rm -f conf$$.dir/conf$$.file |
475 |
else |
476 |
rm -f conf$$.dir |
477 |
mkdir conf$$.dir 2>/dev/null |
478 |
fi |
479 |
if (echo >conf$$.file) 2>/dev/null; then |
480 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
481 |
as_ln_s='ln -s' |
482 |
# ... but there are two gotchas: |
483 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
484 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
485 |
# In both cases, we have to default to `cp -p'. |
486 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
487 |
as_ln_s='cp -p' |
488 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
489 |
as_ln_s=ln |
490 |
else |
491 |
as_ln_s='cp -p' |
492 |
fi |
493 |
else |
494 |
as_ln_s='cp -p' |
495 |
fi |
496 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
497 |
rmdir conf$$.dir 2>/dev/null |
498 |
|
499 |
if mkdir -p . 2>/dev/null; then |
500 |
as_mkdir_p='mkdir -p "$as_dir"' |
501 |
else |
502 |
test -d ./-p && rmdir ./-p |
503 |
as_mkdir_p=false |
504 |
fi |
505 |
|
506 |
if test -x / >/dev/null 2>&1; then |
507 |
as_test_x='test -x' |
508 |
else |
509 |
if ls -dL / >/dev/null 2>&1; then |
510 |
as_ls_L_option=L |
511 |
else |
512 |
as_ls_L_option= |
513 |
fi |
514 |
as_test_x=' |
515 |
eval sh -c '\'' |
516 |
if test -d "$1"; then |
517 |
test -d "$1/."; |
518 |
else |
519 |
case $1 in #( |
520 |
-*)set "./$1";; |
521 |
esac; |
522 |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
523 |
???[sx]*):;;*)false;;esac;fi |
524 |
'\'' sh |
525 |
' |
526 |
fi |
527 |
as_executable_p=$as_test_x |
528 |
|
529 |
# Sed expression to map a string onto a valid CPP name. |
530 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
531 |
|
532 |
# Sed expression to map a string onto a valid variable name. |
533 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
534 |
|
535 |
|
536 |
test -n "$DJDIR" || exec 7<&0 </dev/null |
537 |
exec 6>&1 |
538 |
|
539 |
# Name of the host. |
540 |
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
541 |
# so uname gets run too. |
542 |
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
543 |
|
544 |
# |
545 |
# Initializations. |
546 |
# |
547 |
ac_default_prefix=/usr/local |
548 |
ac_clean_files= |
549 |
ac_config_libobj_dir=. |
550 |
LIBOBJS= |
551 |
cross_compiling=no |
552 |
subdirs= |
553 |
MFLAGS= |
554 |
MAKEFLAGS= |
555 |
|
556 |
# Identity of this package. |
557 |
PACKAGE_NAME= |
558 |
PACKAGE_TARNAME= |
559 |
PACKAGE_VERSION= |
560 |
PACKAGE_STRING= |
561 |
PACKAGE_BUGREPORT= |
562 |
PACKAGE_URL= |
563 |
|
564 |
ac_unique_file="Search.cpp" |
565 |
ac_default_prefix=/usr/local/dtse |
566 |
ac_subst_vars='LTLIBOBJS |
567 |
LIBOBJS |
568 |
urandomdev |
569 |
OpenSSL |
570 |
OBJEXT |
571 |
EXEEXT |
572 |
ac_ct_CXX |
573 |
CPPFLAGS |
574 |
LDFLAGS |
575 |
CXXFLAGS |
576 |
CXX |
577 |
PERL |
578 |
GNUMAKE |
579 |
ifGNUmake |
580 |
INSTALL_DATA |
581 |
INSTALL_SCRIPT |
582 |
INSTALL_PROGRAM |
583 |
target_alias |
584 |
host_alias |
585 |
build_alias |
586 |
LIBS |
587 |
ECHO_T |
588 |
ECHO_N |
589 |
ECHO_C |
590 |
DEFS |
591 |
mandir |
592 |
localedir |
593 |
libdir |
594 |
psdir |
595 |
pdfdir |
596 |
dvidir |
597 |
htmldir |
598 |
infodir |
599 |
docdir |
600 |
oldincludedir |
601 |
includedir |
602 |
localstatedir |
603 |
sharedstatedir |
604 |
sysconfdir |
605 |
datadir |
606 |
datarootdir |
607 |
libexecdir |
608 |
sbindir |
609 |
bindir |
610 |
program_transform_name |
611 |
prefix |
612 |
exec_prefix |
613 |
PACKAGE_URL |
614 |
PACKAGE_BUGREPORT |
615 |
PACKAGE_STRING |
616 |
PACKAGE_VERSION |
617 |
PACKAGE_TARNAME |
618 |
PACKAGE_NAME |
619 |
PATH_SEPARATOR |
620 |
SHELL' |
621 |
ac_subst_files='' |
622 |
ac_user_opts=' |
623 |
enable_option_checking |
624 |
with_perl |
625 |
with_openssl |
626 |
' |
627 |
ac_precious_vars='build_alias |
628 |
host_alias |
629 |
target_alias |
630 |
PERL |
631 |
CXX |
632 |
CXXFLAGS |
633 |
LDFLAGS |
634 |
LIBS |
635 |
CPPFLAGS |
636 |
CCC' |
637 |
|
638 |
|
639 |
# Initialize some variables set by options. |
640 |
ac_init_help= |
641 |
ac_init_version=false |
642 |
ac_unrecognized_opts= |
643 |
ac_unrecognized_sep= |
644 |
# The variables have the same names as the options, with |
645 |
# dashes changed to underlines. |
646 |
cache_file=/dev/null |
647 |
exec_prefix=NONE |
648 |
no_create= |
649 |
no_recursion= |
650 |
prefix=NONE |
651 |
program_prefix=NONE |
652 |
program_suffix=NONE |
653 |
program_transform_name=s,x,x, |
654 |
silent= |
655 |
site= |
656 |
srcdir= |
657 |
verbose= |
658 |
x_includes=NONE |
659 |
x_libraries=NONE |
660 |
|
661 |
# Installation directory options. |
662 |
# These are left unexpanded so users can "make install exec_prefix=/foo" |
663 |
# and all the variables that are supposed to be based on exec_prefix |
664 |
# by default will actually change. |
665 |
# Use braces instead of parens because sh, perl, etc. also accept them. |
666 |
# (The list follows the same order as the GNU Coding Standards.) |
667 |
bindir='${exec_prefix}/bin' |
668 |
sbindir='${exec_prefix}/sbin' |
669 |
libexecdir='${exec_prefix}/libexec' |
670 |
datarootdir='${prefix}/share' |
671 |
datadir='${datarootdir}' |
672 |
sysconfdir='${prefix}/etc' |
673 |
sharedstatedir='${prefix}/com' |
674 |
localstatedir='${prefix}/var' |
675 |
includedir='${prefix}/include' |
676 |
oldincludedir='/usr/include' |
677 |
docdir='${datarootdir}/doc/${PACKAGE}' |
678 |
infodir='${datarootdir}/info' |
679 |
htmldir='${docdir}' |
680 |
dvidir='${docdir}' |
681 |
pdfdir='${docdir}' |
682 |
psdir='${docdir}' |
683 |
libdir='${exec_prefix}/lib' |
684 |
localedir='${datarootdir}/locale' |
685 |
mandir='${datarootdir}/man' |
686 |
|
687 |
ac_prev= |
688 |
ac_dashdash= |
689 |
for ac_option |
690 |
do |
691 |
# If the previous option needs an argument, assign it. |
692 |
if test -n "$ac_prev"; then |
693 |
eval $ac_prev=\$ac_option |
694 |
ac_prev= |
695 |
continue |
696 |
fi |
697 |
|
698 |
case $ac_option in |
699 |
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
700 |
*=) ac_optarg= ;; |
701 |
*) ac_optarg=yes ;; |
702 |
esac |
703 |
|
704 |
# Accept the important Cygnus configure options, so we can diagnose typos. |
705 |
|
706 |
case $ac_dashdash$ac_option in |
707 |
--) |
708 |
ac_dashdash=yes ;; |
709 |
|
710 |
-bindir | --bindir | --bindi | --bind | --bin | --bi) |
711 |
ac_prev=bindir ;; |
712 |
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
713 |
bindir=$ac_optarg ;; |
714 |
|
715 |
-build | --build | --buil | --bui | --bu) |
716 |
ac_prev=build_alias ;; |
717 |
-build=* | --build=* | --buil=* | --bui=* | --bu=*) |
718 |
build_alias=$ac_optarg ;; |
719 |
|
720 |
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
721 |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
722 |
ac_prev=cache_file ;; |
723 |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
724 |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
725 |
cache_file=$ac_optarg ;; |
726 |
|
727 |
--config-cache | -C) |
728 |
cache_file=config.cache ;; |
729 |
|
730 |
-datadir | --datadir | --datadi | --datad) |
731 |
ac_prev=datadir ;; |
732 |
-datadir=* | --datadir=* | --datadi=* | --datad=*) |
733 |
datadir=$ac_optarg ;; |
734 |
|
735 |
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
736 |
| --dataroo | --dataro | --datar) |
737 |
ac_prev=datarootdir ;; |
738 |
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
739 |
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
740 |
datarootdir=$ac_optarg ;; |
741 |
|
742 |
-disable-* | --disable-*) |
743 |
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
744 |
# Reject names that are not valid shell variable names. |
745 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
746 |
as_fn_error $? "invalid feature name: $ac_useropt" |
747 |
ac_useropt_orig=$ac_useropt |
748 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
749 |
case $ac_user_opts in |
750 |
*" |
751 |
"enable_$ac_useropt" |
752 |
"*) ;; |
753 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
754 |
ac_unrecognized_sep=', ';; |
755 |
esac |
756 |
eval enable_$ac_useropt=no ;; |
757 |
|
758 |
-docdir | --docdir | --docdi | --doc | --do) |
759 |
ac_prev=docdir ;; |
760 |
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
761 |
docdir=$ac_optarg ;; |
762 |
|
763 |
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
764 |
ac_prev=dvidir ;; |
765 |
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
766 |
dvidir=$ac_optarg ;; |
767 |
|
768 |
-enable-* | --enable-*) |
769 |
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
770 |
# Reject names that are not valid shell variable names. |
771 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
772 |
as_fn_error $? "invalid feature name: $ac_useropt" |
773 |
ac_useropt_orig=$ac_useropt |
774 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
775 |
case $ac_user_opts in |
776 |
*" |
777 |
"enable_$ac_useropt" |
778 |
"*) ;; |
779 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
780 |
ac_unrecognized_sep=', ';; |
781 |
esac |
782 |
eval enable_$ac_useropt=\$ac_optarg ;; |
783 |
|
784 |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
785 |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
786 |
| --exec | --exe | --ex) |
787 |
ac_prev=exec_prefix ;; |
788 |
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
789 |
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
790 |
| --exec=* | --exe=* | --ex=*) |
791 |
exec_prefix=$ac_optarg ;; |
792 |
|
793 |
-gas | --gas | --ga | --g) |
794 |
# Obsolete; use --with-gas. |
795 |
with_gas=yes ;; |
796 |
|
797 |
-help | --help | --hel | --he | -h) |
798 |
ac_init_help=long ;; |
799 |
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
800 |
ac_init_help=recursive ;; |
801 |
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
802 |
ac_init_help=short ;; |
803 |
|
804 |
-host | --host | --hos | --ho) |
805 |
ac_prev=host_alias ;; |
806 |
-host=* | --host=* | --hos=* | --ho=*) |
807 |
host_alias=$ac_optarg ;; |
808 |
|
809 |
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
810 |
ac_prev=htmldir ;; |
811 |
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
812 |
| --ht=*) |
813 |
htmldir=$ac_optarg ;; |
814 |
|
815 |
-includedir | --includedir | --includedi | --included | --include \ |
816 |
| --includ | --inclu | --incl | --inc) |
817 |
ac_prev=includedir ;; |
818 |
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
819 |
| --includ=* | --inclu=* | --incl=* | --inc=*) |
820 |
includedir=$ac_optarg ;; |
821 |
|
822 |
-infodir | --infodir | --infodi | --infod | --info | --inf) |
823 |
ac_prev=infodir ;; |
824 |
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
825 |
infodir=$ac_optarg ;; |
826 |
|
827 |
-libdir | --libdir | --libdi | --libd) |
828 |
ac_prev=libdir ;; |
829 |
-libdir=* | --libdir=* | --libdi=* | --libd=*) |
830 |
libdir=$ac_optarg ;; |
831 |
|
832 |
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
833 |
| --libexe | --libex | --libe) |
834 |
ac_prev=libexecdir ;; |
835 |
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
836 |
| --libexe=* | --libex=* | --libe=*) |
837 |
libexecdir=$ac_optarg ;; |
838 |
|
839 |
-localedir | --localedir | --localedi | --localed | --locale) |
840 |
ac_prev=localedir ;; |
841 |
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
842 |
localedir=$ac_optarg ;; |
843 |
|
844 |
-localstatedir | --localstatedir | --localstatedi | --localstated \ |
845 |
| --localstate | --localstat | --localsta | --localst | --locals) |
846 |
ac_prev=localstatedir ;; |
847 |
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
848 |
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
849 |
localstatedir=$ac_optarg ;; |
850 |
|
851 |
-mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
852 |
ac_prev=mandir ;; |
853 |
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
854 |
mandir=$ac_optarg ;; |
855 |
|
856 |
-nfp | --nfp | --nf) |
857 |
# Obsolete; use --without-fp. |
858 |
with_fp=no ;; |
859 |
|
860 |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
861 |
| --no-cr | --no-c | -n) |
862 |
no_create=yes ;; |
863 |
|
864 |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
865 |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
866 |
no_recursion=yes ;; |
867 |
|
868 |
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
869 |
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
870 |
| --oldin | --oldi | --old | --ol | --o) |
871 |
ac_prev=oldincludedir ;; |
872 |
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
873 |
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
874 |
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
875 |
oldincludedir=$ac_optarg ;; |
876 |
|
877 |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
878 |
ac_prev=prefix ;; |
879 |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
880 |
prefix=$ac_optarg ;; |
881 |
|
882 |
-program-prefix | --program-prefix | --program-prefi | --program-pref \ |
883 |
| --program-pre | --program-pr | --program-p) |
884 |
ac_prev=program_prefix ;; |
885 |
-program-prefix=* | --program-prefix=* | --program-prefi=* \ |
886 |
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
887 |
program_prefix=$ac_optarg ;; |
888 |
|
889 |
-program-suffix | --program-suffix | --program-suffi | --program-suff \ |
890 |
| --program-suf | --program-su | --program-s) |
891 |
ac_prev=program_suffix ;; |
892 |
-program-suffix=* | --program-suffix=* | --program-suffi=* \ |
893 |
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
894 |
program_suffix=$ac_optarg ;; |
895 |
|
896 |
-program-transform-name | --program-transform-name \ |
897 |
| --program-transform-nam | --program-transform-na \ |
898 |
| --program-transform-n | --program-transform- \ |
899 |
| --program-transform | --program-transfor \ |
900 |
| --program-transfo | --program-transf \ |
901 |
| --program-trans | --program-tran \ |
902 |
| --progr-tra | --program-tr | --program-t) |
903 |
ac_prev=program_transform_name ;; |
904 |
-program-transform-name=* | --program-transform-name=* \ |
905 |
| --program-transform-nam=* | --program-transform-na=* \ |
906 |
| --program-transform-n=* | --program-transform-=* \ |
907 |
| --program-transform=* | --program-transfor=* \ |
908 |
| --program-transfo=* | --program-transf=* \ |
909 |
| --program-trans=* | --program-tran=* \ |
910 |
| --progr-tra=* | --program-tr=* | --program-t=*) |
911 |
program_transform_name=$ac_optarg ;; |
912 |
|
913 |
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
914 |
ac_prev=pdfdir ;; |
915 |
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
916 |
pdfdir=$ac_optarg ;; |
917 |
|
918 |
-psdir | --psdir | --psdi | --psd | --ps) |
919 |
ac_prev=psdir ;; |
920 |
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
921 |
psdir=$ac_optarg ;; |
922 |
|
923 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
924 |
| -silent | --silent | --silen | --sile | --sil) |
925 |
silent=yes ;; |
926 |
|
927 |
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
928 |
ac_prev=sbindir ;; |
929 |
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
930 |
| --sbi=* | --sb=*) |
931 |
sbindir=$ac_optarg ;; |
932 |
|
933 |
-sharedstatedir | --sharedstatedir | --sharedstatedi \ |
934 |
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
935 |
| --sharedst | --shareds | --shared | --share | --shar \ |
936 |
| --sha | --sh) |
937 |
ac_prev=sharedstatedir ;; |
938 |
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
939 |
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
940 |
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
941 |
| --sha=* | --sh=*) |
942 |
sharedstatedir=$ac_optarg ;; |
943 |
|
944 |
-site | --site | --sit) |
945 |
ac_prev=site ;; |
946 |
-site=* | --site=* | --sit=*) |
947 |
site=$ac_optarg ;; |
948 |
|
949 |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
950 |
ac_prev=srcdir ;; |
951 |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
952 |
srcdir=$ac_optarg ;; |
953 |
|
954 |
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
955 |
| --syscon | --sysco | --sysc | --sys | --sy) |
956 |
ac_prev=sysconfdir ;; |
957 |
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
958 |
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
959 |
sysconfdir=$ac_optarg ;; |
960 |
|
961 |
-target | --target | --targe | --targ | --tar | --ta | --t) |
962 |
ac_prev=target_alias ;; |
963 |
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
964 |
target_alias=$ac_optarg ;; |
965 |
|
966 |
-v | -verbose | --verbose | --verbos | --verbo | --verb) |
967 |
verbose=yes ;; |
968 |
|
969 |
-version | --version | --versio | --versi | --vers | -V) |
970 |
ac_init_version=: ;; |
971 |
|
972 |
-with-* | --with-*) |
973 |
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
974 |
# Reject names that are not valid shell variable names. |
975 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
976 |
as_fn_error $? "invalid package name: $ac_useropt" |
977 |
ac_useropt_orig=$ac_useropt |
978 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
979 |
case $ac_user_opts in |
980 |
*" |
981 |
"with_$ac_useropt" |
982 |
"*) ;; |
983 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
984 |
ac_unrecognized_sep=', ';; |
985 |
esac |
986 |
eval with_$ac_useropt=\$ac_optarg ;; |
987 |
|
988 |
-without-* | --without-*) |
989 |
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
990 |
# Reject names that are not valid shell variable names. |
991 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
992 |
as_fn_error $? "invalid package name: $ac_useropt" |
993 |
ac_useropt_orig=$ac_useropt |
994 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
995 |
case $ac_user_opts in |
996 |
*" |
997 |
"with_$ac_useropt" |
998 |
"*) ;; |
999 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
1000 |
ac_unrecognized_sep=', ';; |
1001 |
esac |
1002 |
eval with_$ac_useropt=no ;; |
1003 |
|
1004 |
--x) |
1005 |
# Obsolete; use --with-x. |
1006 |
with_x=yes ;; |
1007 |
|
1008 |
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
1009 |
| --x-incl | --x-inc | --x-in | --x-i) |
1010 |
ac_prev=x_includes ;; |
1011 |
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
1012 |
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
1013 |
x_includes=$ac_optarg ;; |
1014 |
|
1015 |
-x-libraries | --x-libraries | --x-librarie | --x-librari \ |
1016 |
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
1017 |
ac_prev=x_libraries ;; |
1018 |
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
1019 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1020 |
x_libraries=$ac_optarg ;; |
1021 |
|
1022 |
-*) as_fn_error $? "unrecognized option: \`$ac_option' |
1023 |
Try \`$0 --help' for more information" |
1024 |
;; |
1025 |
|
1026 |
*=*) |
1027 |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1028 |
# Reject names that are not valid shell variable names. |
1029 |
case $ac_envvar in #( |
1030 |
'' | [0-9]* | *[!_$as_cr_alnum]* ) |
1031 |
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
1032 |
esac |
1033 |
eval $ac_envvar=\$ac_optarg |
1034 |
export $ac_envvar ;; |
1035 |
|
1036 |
*) |
1037 |
# FIXME: should be removed in autoconf 3.0. |
1038 |
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1039 |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1040 |
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1041 |
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
1042 |
;; |
1043 |
|
1044 |
esac |
1045 |
done |
1046 |
|
1047 |
if test -n "$ac_prev"; then |
1048 |
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1049 |
as_fn_error $? "missing argument to $ac_option" |
1050 |
fi |
1051 |
|
1052 |
if test -n "$ac_unrecognized_opts"; then |
1053 |
case $enable_option_checking in |
1054 |
no) ;; |
1055 |
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
1056 |
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1057 |
esac |
1058 |
fi |
1059 |
|
1060 |
# Check all directory arguments for consistency. |
1061 |
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1062 |
datadir sysconfdir sharedstatedir localstatedir includedir \ |
1063 |
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
1064 |
libdir localedir mandir |
1065 |
do |
1066 |
eval ac_val=\$$ac_var |
1067 |
# Remove trailing slashes. |
1068 |
case $ac_val in |
1069 |
*/ ) |
1070 |
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
1071 |
eval $ac_var=\$ac_val;; |
1072 |
esac |
1073 |
# Be sure to have absolute directory names. |
1074 |
case $ac_val in |
1075 |
[\\/$]* | ?:[\\/]* ) continue;; |
1076 |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1077 |
esac |
1078 |
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
1079 |
done |
1080 |
|
1081 |
# There might be people who depend on the old broken behavior: `$host' |
1082 |
# used to hold the argument of --host etc. |
1083 |
# FIXME: To remove some day. |
1084 |
build=$build_alias |
1085 |
host=$host_alias |
1086 |
target=$target_alias |
1087 |
|
1088 |
# FIXME: To remove some day. |
1089 |
if test "x$host_alias" != x; then |
1090 |
if test "x$build_alias" = x; then |
1091 |
cross_compiling=maybe |
1092 |
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
1093 |
If a cross compiler is detected then cross compile mode will be used" >&2 |
1094 |
elif test "x$build_alias" != "x$host_alias"; then |
1095 |
cross_compiling=yes |
1096 |
fi |
1097 |
fi |
1098 |
|
1099 |
ac_tool_prefix= |
1100 |
test -n "$host_alias" && ac_tool_prefix=$host_alias- |
1101 |
|
1102 |
test "$silent" = yes && exec 6>/dev/null |
1103 |
|
1104 |
|
1105 |
ac_pwd=`pwd` && test -n "$ac_pwd" && |
1106 |
ac_ls_di=`ls -di .` && |
1107 |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1108 |
as_fn_error $? "working directory cannot be determined" |
1109 |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1110 |
as_fn_error $? "pwd does not report name of working directory" |
1111 |
|
1112 |
|
1113 |
# Find the source files, if location was not specified. |
1114 |
if test -z "$srcdir"; then |
1115 |
ac_srcdir_defaulted=yes |
1116 |
# Try the directory containing this script, then the parent directory. |
1117 |
ac_confdir=`$as_dirname -- "$as_myself" || |
1118 |
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
1119 |
X"$as_myself" : 'X\(//\)[^/]' \| \ |
1120 |
X"$as_myself" : 'X\(//\)$' \| \ |
1121 |
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
1122 |
$as_echo X"$as_myself" | |
1123 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
1124 |
s//\1/ |
1125 |
q |
1126 |
} |
1127 |
/^X\(\/\/\)[^/].*/{ |
1128 |
s//\1/ |
1129 |
q |
1130 |
} |
1131 |
/^X\(\/\/\)$/{ |
1132 |
s//\1/ |
1133 |
q |
1134 |
} |
1135 |
/^X\(\/\).*/{ |
1136 |
s//\1/ |
1137 |
q |
1138 |
} |
1139 |
s/.*/./; q'` |
1140 |
srcdir=$ac_confdir |
1141 |
if test ! -r "$srcdir/$ac_unique_file"; then |
1142 |
srcdir=.. |
1143 |
fi |
1144 |
else |
1145 |
ac_srcdir_defaulted=no |
1146 |
fi |
1147 |
if test ! -r "$srcdir/$ac_unique_file"; then |
1148 |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1149 |
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
1150 |
fi |
1151 |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1152 |
ac_abs_confdir=`( |
1153 |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
1154 |
pwd)` |
1155 |
# When building in place, set srcdir=. |
1156 |
if test "$ac_abs_confdir" = "$ac_pwd"; then |
1157 |
srcdir=. |
1158 |
fi |
1159 |
# Remove unnecessary trailing slashes from srcdir. |
1160 |
# Double slashes in file names in object file debugging info |
1161 |
# mess up M-x gdb in Emacs. |
1162 |
case $srcdir in |
1163 |
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
1164 |
esac |
1165 |
for ac_var in $ac_precious_vars; do |
1166 |
eval ac_env_${ac_var}_set=\${${ac_var}+set} |
1167 |
eval ac_env_${ac_var}_value=\$${ac_var} |
1168 |
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
1169 |
eval ac_cv_env_${ac_var}_value=\$${ac_var} |
1170 |
done |
1171 |
|
1172 |
# |
1173 |
# Report the --help message. |
1174 |
# |
1175 |
if test "$ac_init_help" = "long"; then |
1176 |
# Omit some internal or obsolete options to make the list less imposing. |
1177 |
# This message is too long to be a string in the A/UX 3.1 sh. |
1178 |
cat <<_ACEOF |
1179 |
\`configure' configures this package to adapt to many kinds of systems. |
1180 |
|
1181 |
Usage: $0 [OPTION]... [VAR=VALUE]... |
1182 |
|
1183 |
To assign environment variables (e.g., CC, CFLAGS...), specify them as |
1184 |
VAR=VALUE. See below for descriptions of some of the useful variables. |
1185 |
|
1186 |
Defaults for the options are specified in brackets. |
1187 |
|
1188 |
Configuration: |
1189 |
-h, --help display this help and exit |
1190 |
--help=short display options specific to this package |
1191 |
--help=recursive display the short help of all the included packages |
1192 |
-V, --version display version information and exit |
1193 |
-q, --quiet, --silent do not print \`checking ...' messages |
1194 |
--cache-file=FILE cache test results in FILE [disabled] |
1195 |
-C, --config-cache alias for \`--cache-file=config.cache' |
1196 |
-n, --no-create do not create output files |
1197 |
--srcdir=DIR find the sources in DIR [configure dir or \`..'] |
1198 |
|
1199 |
Installation directories: |
1200 |
--prefix=PREFIX install architecture-independent files in PREFIX |
1201 |
[$ac_default_prefix] |
1202 |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
1203 |
[PREFIX] |
1204 |
|
1205 |
By default, \`make install' will install all the files in |
1206 |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
1207 |
an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
1208 |
for instance \`--prefix=\$HOME'. |
1209 |
|
1210 |
For better control, use the options below. |
1211 |
|
1212 |
Fine tuning of the installation directories: |
1213 |
--bindir=DIR user executables [EPREFIX/bin] |
1214 |
--sbindir=DIR system admin executables [EPREFIX/sbin] |
1215 |
--libexecdir=DIR program executables [EPREFIX/libexec] |
1216 |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1217 |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1218 |
--localstatedir=DIR modifiable single-machine data [PREFIX/var] |
1219 |
--libdir=DIR object code libraries [EPREFIX/lib] |
1220 |
--includedir=DIR C header files [PREFIX/include] |
1221 |
--oldincludedir=DIR C header files for non-gcc [/usr/include] |
1222 |
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
1223 |
--datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
1224 |
--infodir=DIR info documentation [DATAROOTDIR/info] |
1225 |
--localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
1226 |
--mandir=DIR man documentation [DATAROOTDIR/man] |
1227 |
--docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] |
1228 |
--htmldir=DIR html documentation [DOCDIR] |
1229 |
--dvidir=DIR dvi documentation [DOCDIR] |
1230 |
--pdfdir=DIR pdf documentation [DOCDIR] |
1231 |
--psdir=DIR ps documentation [DOCDIR] |
1232 |
_ACEOF |
1233 |
|
1234 |
cat <<\_ACEOF |
1235 |
_ACEOF |
1236 |
fi |
1237 |
|
1238 |
if test -n "$ac_init_help"; then |
1239 |
|
1240 |
cat <<\_ACEOF |
1241 |
|
1242 |
Optional Packages: |
1243 |
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1244 |
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1245 |
--with-perl=[PATH] absolute path to perl executable |
1246 |
--with-openssl[=DIR] enable OpenSSL [DIR=path] |
1247 |
|
1248 |
|
1249 |
Some influential environment variables: |
1250 |
PERL Absolute path to perl executable |
1251 |
CXX C++ compiler command |
1252 |
CXXFLAGS C++ compiler flags |
1253 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1254 |
nonstandard directory <lib dir> |
1255 |
LIBS libraries to pass to the linker, e.g. -l<library> |
1256 |
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
1257 |
you have headers in a nonstandard directory <include dir> |
1258 |
|
1259 |
Use these variables to override the choices made by `configure' or to help |
1260 |
it to find libraries and programs with nonstandard names/locations. |
1261 |
|
1262 |
Report bugs to the package provider. |
1263 |
_ACEOF |
1264 |
ac_status=$? |
1265 |
fi |
1266 |
|
1267 |
if test "$ac_init_help" = "recursive"; then |
1268 |
# If there are subdirs, report their specific --help. |
1269 |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
1270 |
test -d "$ac_dir" || |
1271 |
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
1272 |
continue |
1273 |
ac_builddir=. |
1274 |
|
1275 |
case "$ac_dir" in |
1276 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1277 |
*) |
1278 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
1279 |
# A ".." for each directory in $ac_dir_suffix. |
1280 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
1281 |
case $ac_top_builddir_sub in |
1282 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1283 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
1284 |
esac ;; |
1285 |
esac |
1286 |
ac_abs_top_builddir=$ac_pwd |
1287 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
1288 |
# for backward compatibility: |
1289 |
ac_top_builddir=$ac_top_build_prefix |
1290 |
|
1291 |
case $srcdir in |
1292 |
.) # We are building in place. |
1293 |
ac_srcdir=. |
1294 |
ac_top_srcdir=$ac_top_builddir_sub |
1295 |
ac_abs_top_srcdir=$ac_pwd ;; |
1296 |
[\\/]* | ?:[\\/]* ) # Absolute name. |
1297 |
ac_srcdir=$srcdir$ac_dir_suffix; |
1298 |
ac_top_srcdir=$srcdir |
1299 |
ac_abs_top_srcdir=$srcdir ;; |
1300 |
*) # Relative name. |
1301 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
1302 |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
1303 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
1304 |
esac |
1305 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
1306 |
|
1307 |
cd "$ac_dir" || { ac_status=$?; continue; } |
1308 |
# Check for guested configure. |
1309 |
if test -f "$ac_srcdir/configure.gnu"; then |
1310 |
echo && |
1311 |
$SHELL "$ac_srcdir/configure.gnu" --help=recursive |
1312 |
elif test -f "$ac_srcdir/configure"; then |
1313 |
echo && |
1314 |
$SHELL "$ac_srcdir/configure" --help=recursive |
1315 |
else |
1316 |
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1317 |
fi || ac_status=$? |
1318 |
cd "$ac_pwd" || { ac_status=$?; break; } |
1319 |
done |
1320 |
fi |
1321 |
|
1322 |
test -n "$ac_init_help" && exit $ac_status |
1323 |
if $ac_init_version; then |
1324 |
cat <<\_ACEOF |
1325 |
configure |
1326 |
generated by GNU Autoconf 2.68 |
1327 |
|
1328 |
Copyright (C) 2010 Free Software Foundation, Inc. |
1329 |
This configure script is free software; the Free Software Foundation |
1330 |
gives unlimited permission to copy, distribute and modify it. |
1331 |
_ACEOF |
1332 |
exit |
1333 |
fi |
1334 |
|
1335 |
## ------------------------ ## |
1336 |
## Autoconf initialization. ## |
1337 |
## ------------------------ ## |
1338 |
|
1339 |
# ac_fn_cxx_try_compile LINENO |
1340 |
# ---------------------------- |
1341 |
# Try to compile conftest.$ac_ext, and return whether this succeeded. |
1342 |
ac_fn_cxx_try_compile () |
1343 |
{ |
1344 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1345 |
rm -f conftest.$ac_objext |
1346 |
if { { ac_try="$ac_compile" |
1347 |
case "(($ac_try" in |
1348 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1349 |
*) ac_try_echo=$ac_try;; |
1350 |
esac |
1351 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1352 |
$as_echo "$ac_try_echo"; } >&5 |
1353 |
(eval "$ac_compile") 2>conftest.err |
1354 |
ac_status=$? |
1355 |
if test -s conftest.err; then |
1356 |
grep -v '^ *+' conftest.err >conftest.er1 |
1357 |
cat conftest.er1 >&5 |
1358 |
mv -f conftest.er1 conftest.err |
1359 |
fi |
1360 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1361 |
test $ac_status = 0; } && { |
1362 |
test -z "$ac_cxx_werror_flag" || |
1363 |
test ! -s conftest.err |
1364 |
} && test -s conftest.$ac_objext; then : |
1365 |
ac_retval=0 |
1366 |
else |
1367 |
$as_echo "$as_me: failed program was:" >&5 |
1368 |
sed 's/^/| /' conftest.$ac_ext >&5 |
1369 |
|
1370 |
ac_retval=1 |
1371 |
fi |
1372 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1373 |
as_fn_set_status $ac_retval |
1374 |
|
1375 |
} # ac_fn_cxx_try_compile |
1376 |
|
1377 |
# ac_fn_cxx_try_link LINENO |
1378 |
# ------------------------- |
1379 |
# Try to link conftest.$ac_ext, and return whether this succeeded. |
1380 |
ac_fn_cxx_try_link () |
1381 |
{ |
1382 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1383 |
rm -f conftest.$ac_objext conftest$ac_exeext |
1384 |
if { { ac_try="$ac_link" |
1385 |
case "(($ac_try" in |
1386 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1387 |
*) ac_try_echo=$ac_try;; |
1388 |
esac |
1389 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1390 |
$as_echo "$ac_try_echo"; } >&5 |
1391 |
(eval "$ac_link") 2>conftest.err |
1392 |
ac_status=$? |
1393 |
if test -s conftest.err; then |
1394 |
grep -v '^ *+' conftest.err >conftest.er1 |
1395 |
cat conftest.er1 >&5 |
1396 |
mv -f conftest.er1 conftest.err |
1397 |
fi |
1398 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1399 |
test $ac_status = 0; } && { |
1400 |
test -z "$ac_cxx_werror_flag" || |
1401 |
test ! -s conftest.err |
1402 |
} && test -s conftest$ac_exeext && { |
1403 |
test "$cross_compiling" = yes || |
1404 |
$as_test_x conftest$ac_exeext |
1405 |
}; then : |
1406 |
ac_retval=0 |
1407 |
else |
1408 |
$as_echo "$as_me: failed program was:" >&5 |
1409 |
sed 's/^/| /' conftest.$ac_ext >&5 |
1410 |
|
1411 |
ac_retval=1 |
1412 |
fi |
1413 |
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
1414 |
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
1415 |
# interfere with the next link command; also delete a directory that is |
1416 |
# left behind by Apple's compiler. We do this before executing the actions. |
1417 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1418 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1419 |
as_fn_set_status $ac_retval |
1420 |
|
1421 |
} # ac_fn_cxx_try_link |
1422 |
cat >config.log <<_ACEOF |
1423 |
This file contains any messages produced by compilers while |
1424 |
running configure, to aid debugging if configure makes a mistake. |
1425 |
|
1426 |
It was created by $as_me, which was |
1427 |
generated by GNU Autoconf 2.68. Invocation command line was |
1428 |
|
1429 |
$ $0 $@ |
1430 |
|
1431 |
_ACEOF |
1432 |
exec 5>>config.log |
1433 |
{ |
1434 |
cat <<_ASUNAME |
1435 |
## --------- ## |
1436 |
## Platform. ## |
1437 |
## --------- ## |
1438 |
|
1439 |
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
1440 |
uname -m = `(uname -m) 2>/dev/null || echo unknown` |
1441 |
uname -r = `(uname -r) 2>/dev/null || echo unknown` |
1442 |
uname -s = `(uname -s) 2>/dev/null || echo unknown` |
1443 |
uname -v = `(uname -v) 2>/dev/null || echo unknown` |
1444 |
|
1445 |
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
1446 |
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
1447 |
|
1448 |
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
1449 |
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
1450 |
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
1451 |
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
1452 |
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
1453 |
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
1454 |
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
1455 |
|
1456 |
_ASUNAME |
1457 |
|
1458 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1459 |
for as_dir in $PATH |
1460 |
do |
1461 |
IFS=$as_save_IFS |
1462 |
test -z "$as_dir" && as_dir=. |
1463 |
$as_echo "PATH: $as_dir" |
1464 |
done |
1465 |
IFS=$as_save_IFS |
1466 |
|
1467 |
} >&5 |
1468 |
|
1469 |
cat >&5 <<_ACEOF |
1470 |
|
1471 |
|
1472 |
## ----------- ## |
1473 |
## Core tests. ## |
1474 |
## ----------- ## |
1475 |
|
1476 |
_ACEOF |
1477 |
|
1478 |
|
1479 |
# Keep a trace of the command line. |
1480 |
# Strip out --no-create and --no-recursion so they do not pile up. |
1481 |
# Strip out --silent because we don't want to record it for future runs. |
1482 |
# Also quote any args containing shell meta-characters. |
1483 |
# Make two passes to allow for proper duplicate-argument suppression. |
1484 |
ac_configure_args= |
1485 |
ac_configure_args0= |
1486 |
ac_configure_args1= |
1487 |
ac_must_keep_next=false |
1488 |
for ac_pass in 1 2 |
1489 |
do |
1490 |
for ac_arg |
1491 |
do |
1492 |
case $ac_arg in |
1493 |
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
1494 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1495 |
| -silent | --silent | --silen | --sile | --sil) |
1496 |
continue ;; |
1497 |
*\'*) |
1498 |
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1499 |
esac |
1500 |
case $ac_pass in |
1501 |
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
1502 |
2) |
1503 |
as_fn_append ac_configure_args1 " '$ac_arg'" |
1504 |
if test $ac_must_keep_next = true; then |
1505 |
ac_must_keep_next=false # Got value, back to normal. |
1506 |
else |
1507 |
case $ac_arg in |
1508 |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
1509 |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
1510 |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
1511 |
| -with-* | --with-* | -without-* | --without-* | --x) |
1512 |
case "$ac_configure_args0 " in |
1513 |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
1514 |
esac |
1515 |
;; |
1516 |
-* ) ac_must_keep_next=true ;; |
1517 |
esac |
1518 |
fi |
1519 |
as_fn_append ac_configure_args " '$ac_arg'" |
1520 |
;; |
1521 |
esac |
1522 |
done |
1523 |
done |
1524 |
{ ac_configure_args0=; unset ac_configure_args0;} |
1525 |
{ ac_configure_args1=; unset ac_configure_args1;} |
1526 |
|
1527 |
# When interrupted or exit'd, cleanup temporary files, and complete |
1528 |
# config.log. We remove comments because anyway the quotes in there |
1529 |
# would cause problems or look ugly. |
1530 |
# WARNING: Use '\'' to represent an apostrophe within the trap. |
1531 |
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
1532 |
trap 'exit_status=$? |
1533 |
# Save into config.log some information that might help in debugging. |
1534 |
{ |
1535 |
echo |
1536 |
|
1537 |
$as_echo "## ---------------- ## |
1538 |
## Cache variables. ## |
1539 |
## ---------------- ##" |
1540 |
echo |
1541 |
# The following way of writing the cache mishandles newlines in values, |
1542 |
( |
1543 |
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
1544 |
eval ac_val=\$$ac_var |
1545 |
case $ac_val in #( |
1546 |
*${as_nl}*) |
1547 |
case $ac_var in #( |
1548 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
1549 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
1550 |
esac |
1551 |
case $ac_var in #( |
1552 |
_ | IFS | as_nl) ;; #( |
1553 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
1554 |
*) { eval $ac_var=; unset $ac_var;} ;; |
1555 |
esac ;; |
1556 |
esac |
1557 |
done |
1558 |
(set) 2>&1 | |
1559 |
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
1560 |
*${as_nl}ac_space=\ *) |
1561 |
sed -n \ |
1562 |
"s/'\''/'\''\\\\'\'''\''/g; |
1563 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
1564 |
;; #( |
1565 |
*) |
1566 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
1567 |
;; |
1568 |
esac | |
1569 |
sort |
1570 |
) |
1571 |
echo |
1572 |
|
1573 |
$as_echo "## ----------------- ## |
1574 |
## Output variables. ## |
1575 |
## ----------------- ##" |
1576 |
echo |
1577 |
for ac_var in $ac_subst_vars |
1578 |
do |
1579 |
eval ac_val=\$$ac_var |
1580 |
case $ac_val in |
1581 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
1582 |
esac |
1583 |
$as_echo "$ac_var='\''$ac_val'\''" |
1584 |
done | sort |
1585 |
echo |
1586 |
|
1587 |
if test -n "$ac_subst_files"; then |
1588 |
$as_echo "## ------------------- ## |
1589 |
## File substitutions. ## |
1590 |
## ------------------- ##" |
1591 |
echo |
1592 |
for ac_var in $ac_subst_files |
1593 |
do |
1594 |
eval ac_val=\$$ac_var |
1595 |
case $ac_val in |
1596 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
1597 |
esac |
1598 |
$as_echo "$ac_var='\''$ac_val'\''" |
1599 |
done | sort |
1600 |
echo |
1601 |
fi |
1602 |
|
1603 |
if test -s confdefs.h; then |
1604 |
$as_echo "## ----------- ## |
1605 |
## confdefs.h. ## |
1606 |
## ----------- ##" |
1607 |
echo |
1608 |
cat confdefs.h |
1609 |
echo |
1610 |
fi |
1611 |
test "$ac_signal" != 0 && |
1612 |
$as_echo "$as_me: caught signal $ac_signal" |
1613 |
$as_echo "$as_me: exit $exit_status" |
1614 |
} >&5 |
1615 |
rm -f core *.core core.conftest.* && |
1616 |
rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
1617 |
exit $exit_status |
1618 |
' 0 |
1619 |
for ac_signal in 1 2 13 15; do |
1620 |
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
1621 |
done |
1622 |
ac_signal=0 |
1623 |
|
1624 |
# confdefs.h avoids OS command line length limits that DEFS can exceed. |
1625 |
rm -f -r conftest* confdefs.h |
1626 |
|
1627 |
$as_echo "/* confdefs.h */" > confdefs.h |
1628 |
|
1629 |
# Predefined preprocessor variables. |
1630 |
|
1631 |
cat >>confdefs.h <<_ACEOF |
1632 |
#define PACKAGE_NAME "$PACKAGE_NAME" |
1633 |
_ACEOF |
1634 |
|
1635 |
cat >>confdefs.h <<_ACEOF |
1636 |
#define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
1637 |
_ACEOF |
1638 |
|
1639 |
cat >>confdefs.h <<_ACEOF |
1640 |
#define PACKAGE_VERSION "$PACKAGE_VERSION" |
1641 |
_ACEOF |
1642 |
|
1643 |
cat >>confdefs.h <<_ACEOF |
1644 |
#define PACKAGE_STRING "$PACKAGE_STRING" |
1645 |
_ACEOF |
1646 |
|
1647 |
cat >>confdefs.h <<_ACEOF |
1648 |
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
1649 |
_ACEOF |
1650 |
|
1651 |
cat >>confdefs.h <<_ACEOF |
1652 |
#define PACKAGE_URL "$PACKAGE_URL" |
1653 |
_ACEOF |
1654 |
|
1655 |
|
1656 |
# Let the site file select an alternate cache file if it wants to. |
1657 |
# Prefer an explicitly selected file to automatically selected ones. |
1658 |
ac_site_file1=NONE |
1659 |
ac_site_file2=NONE |
1660 |
if test -n "$CONFIG_SITE"; then |
1661 |
# We do not want a PATH search for config.site. |
1662 |
case $CONFIG_SITE in #(( |
1663 |
-*) ac_site_file1=./$CONFIG_SITE;; |
1664 |
*/*) ac_site_file1=$CONFIG_SITE;; |
1665 |
*) ac_site_file1=./$CONFIG_SITE;; |
1666 |
esac |
1667 |
elif test "x$prefix" != xNONE; then |
1668 |
ac_site_file1=$prefix/share/config.site |
1669 |
ac_site_file2=$prefix/etc/config.site |
1670 |
else |
1671 |
ac_site_file1=$ac_default_prefix/share/config.site |
1672 |
ac_site_file2=$ac_default_prefix/etc/config.site |
1673 |
fi |
1674 |
for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
1675 |
do |
1676 |
test "x$ac_site_file" = xNONE && continue |
1677 |
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
1678 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
1679 |
$as_echo "$as_me: loading site script $ac_site_file" >&6;} |
1680 |
sed 's/^/| /' "$ac_site_file" >&5 |
1681 |
. "$ac_site_file" \ |
1682 |
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
1683 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1684 |
as_fn_error $? "failed to load site script $ac_site_file |
1685 |
See \`config.log' for more details" "$LINENO" 5; } |
1686 |
fi |
1687 |
done |
1688 |
|
1689 |
if test -r "$cache_file"; then |
1690 |
# Some versions of bash will fail to source /dev/null (special files |
1691 |
# actually), so we avoid doing that. DJGPP emulates it as a regular file. |
1692 |
if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
1693 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
1694 |
$as_echo "$as_me: loading cache $cache_file" >&6;} |
1695 |
case $cache_file in |
1696 |
[\\/]* | ?:[\\/]* ) . "$cache_file";; |
1697 |
*) . "./$cache_file";; |
1698 |
esac |
1699 |
fi |
1700 |
else |
1701 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
1702 |
$as_echo "$as_me: creating cache $cache_file" >&6;} |
1703 |
>$cache_file |
1704 |
fi |
1705 |
|
1706 |
# Check that the precious variables saved in the cache have kept the same |
1707 |
# value. |
1708 |
ac_cache_corrupted=false |
1709 |
for ac_var in $ac_precious_vars; do |
1710 |
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
1711 |
eval ac_new_set=\$ac_env_${ac_var}_set |
1712 |
eval ac_old_val=\$ac_cv_env_${ac_var}_value |
1713 |
eval ac_new_val=\$ac_env_${ac_var}_value |
1714 |
case $ac_old_set,$ac_new_set in |
1715 |
set,) |
1716 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
1717 |
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
1718 |
ac_cache_corrupted=: ;; |
1719 |
,set) |
1720 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
1721 |
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
1722 |
ac_cache_corrupted=: ;; |
1723 |
,);; |
1724 |
*) |
1725 |
if test "x$ac_old_val" != "x$ac_new_val"; then |
1726 |
# differences in whitespace do not lead to failure. |
1727 |
ac_old_val_w=`echo x $ac_old_val` |
1728 |
ac_new_val_w=`echo x $ac_new_val` |
1729 |
if test "$ac_old_val_w" != "$ac_new_val_w"; then |
1730 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
1731 |
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
1732 |
ac_cache_corrupted=: |
1733 |
else |
1734 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
1735 |
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
1736 |
eval $ac_var=\$ac_old_val |
1737 |
fi |
1738 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
1739 |
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
1740 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
1741 |
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
1742 |
fi;; |
1743 |
esac |
1744 |
# Pass precious variables to config.status. |
1745 |
if test "$ac_new_set" = set; then |
1746 |
case $ac_new_val in |
1747 |
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
1748 |
*) ac_arg=$ac_var=$ac_new_val ;; |
1749 |
esac |
1750 |
case " $ac_configure_args " in |
1751 |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
1752 |
*) as_fn_append ac_configure_args " '$ac_arg'" ;; |
1753 |
esac |
1754 |
fi |
1755 |
done |
1756 |
if $ac_cache_corrupted; then |
1757 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
1758 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1759 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
1760 |
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
1761 |
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
1762 |
fi |
1763 |
## -------------------- ## |
1764 |
## Main body of script. ## |
1765 |
## -------------------- ## |
1766 |
|
1767 |
ac_ext=c |
1768 |
ac_cpp='$CPP $CPPFLAGS' |
1769 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1770 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1771 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1772 |
|
1773 |
|
1774 |
|
1775 |
|
1776 |
ac_aux_dir= |
1777 |
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
1778 |
if test -f "$ac_dir/install-sh"; then |
1779 |
ac_aux_dir=$ac_dir |
1780 |
ac_install_sh="$ac_aux_dir/install-sh -c" |
1781 |
break |
1782 |
elif test -f "$ac_dir/install.sh"; then |
1783 |
ac_aux_dir=$ac_dir |
1784 |
ac_install_sh="$ac_aux_dir/install.sh -c" |
1785 |
break |
1786 |
elif test -f "$ac_dir/shtool"; then |
1787 |
ac_aux_dir=$ac_dir |
1788 |
ac_install_sh="$ac_aux_dir/shtool install -c" |
1789 |
break |
1790 |
fi |
1791 |
done |
1792 |
if test -z "$ac_aux_dir"; then |
1793 |
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
1794 |
fi |
1795 |
|
1796 |
# These three variables are undocumented and unsupported, |
1797 |
# and are intended to be withdrawn in a future Autoconf release. |
1798 |
# They can cause serious problems if a builder's source tree is in a directory |
1799 |
# whose full name contains unusual characters. |
1800 |
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
1801 |
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
1802 |
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
1803 |
|
1804 |
|
1805 |
# Find a good install program. We prefer a C program (faster), |
1806 |
# so one script is as good as another. But avoid the broken or |
1807 |
# incompatible versions: |
1808 |
# SysV /etc/install, /usr/sbin/install |
1809 |
# SunOS /usr/etc/install |
1810 |
# IRIX /sbin/install |
1811 |
# AIX /bin/install |
1812 |
# AmigaOS /C/install, which installs bootblocks on floppy discs |
1813 |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
1814 |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
1815 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
1816 |
# OS/2's system install, which has a completely different semantic |
1817 |
# ./install, which can be erroneously created by make from ./install.sh. |
1818 |
# Reject install programs that cannot install multiple files. |
1819 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
1820 |
$as_echo_n "checking for a BSD-compatible install... " >&6; } |
1821 |
if test -z "$INSTALL"; then |
1822 |
if ${ac_cv_path_install+:} false; then : |
1823 |
$as_echo_n "(cached) " >&6 |
1824 |
else |
1825 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1826 |
for as_dir in $PATH |
1827 |
do |
1828 |
IFS=$as_save_IFS |
1829 |
test -z "$as_dir" && as_dir=. |
1830 |
# Account for people who put trailing slashes in PATH elements. |
1831 |
case $as_dir/ in #(( |
1832 |
./ | .// | /[cC]/* | \ |
1833 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
1834 |
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
1835 |
/usr/ucb/* ) ;; |
1836 |
*) |
1837 |
# OSF1 and SCO ODT 3.0 have their own names for install. |
1838 |
# Don't use installbsd from OSF since it installs stuff as root |
1839 |
# by default. |
1840 |
for ac_prog in ginstall scoinst install; do |
1841 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1842 |
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
1843 |
if test $ac_prog = install && |
1844 |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
1845 |
# AIX install. It has an incompatible calling convention. |
1846 |
: |
1847 |
elif test $ac_prog = install && |
1848 |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
1849 |
# program-specific install script used by HP pwplus--don't use. |
1850 |
: |
1851 |
else |
1852 |
rm -rf conftest.one conftest.two conftest.dir |
1853 |
echo one > conftest.one |
1854 |
echo two > conftest.two |
1855 |
mkdir conftest.dir |
1856 |
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
1857 |
test -s conftest.one && test -s conftest.two && |
1858 |
test -s conftest.dir/conftest.one && |
1859 |
test -s conftest.dir/conftest.two |
1860 |
then |
1861 |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
1862 |
break 3 |
1863 |
fi |
1864 |
fi |
1865 |
fi |
1866 |
done |
1867 |
done |
1868 |
;; |
1869 |
esac |
1870 |
|
1871 |
done |
1872 |
IFS=$as_save_IFS |
1873 |
|
1874 |
rm -rf conftest.one conftest.two conftest.dir |
1875 |
|
1876 |
fi |
1877 |
if test "${ac_cv_path_install+set}" = set; then |
1878 |
INSTALL=$ac_cv_path_install |
1879 |
else |
1880 |
# As a last resort, use the slow shell script. Don't cache a |
1881 |
# value for INSTALL within a source directory, because that will |
1882 |
# break other packages using the cache if that directory is |
1883 |
# removed, or if the value is a relative name. |
1884 |
INSTALL=$ac_install_sh |
1885 |
fi |
1886 |
fi |
1887 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
1888 |
$as_echo "$INSTALL" >&6; } |
1889 |
|
1890 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
1891 |
# It thinks the first close brace ends the variable substitution. |
1892 |
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
1893 |
|
1894 |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
1895 |
|
1896 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
1897 |
|
1898 |
|
1899 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5 |
1900 |
$as_echo_n "checking for GNU make... " >&6; } |
1901 |
if ${_cv_gnu_make_command+:} false; then : |
1902 |
$as_echo_n "(cached) " >&6 |
1903 |
else |
1904 |
_cv_gnu_make_command='' ; |
1905 |
for a in "$MAKE" make gmake gnumake ; do |
1906 |
if test -z "$a" ; then continue ; fi ; |
1907 |
if ( sh -c "$a --version" 2> /dev/null | grep GNU 2>&1 > /dev/null ) ; then |
1908 |
_cv_gnu_make_command=$a ; |
1909 |
break; |
1910 |
fi |
1911 |
done ; |
1912 |
|
1913 |
fi |
1914 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gnu_make_command" >&5 |
1915 |
$as_echo "$_cv_gnu_make_command" >&6; } ; |
1916 |
if test "x$_cv_gnu_make_command" != "x" ; then |
1917 |
ifGNUmake='' ; |
1918 |
else |
1919 |
ifGNUmake='#' ; |
1920 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: \"Not found\"" >&5 |
1921 |
$as_echo "\"Not found\"" >&6; }; |
1922 |
fi |
1923 |
|
1924 |
|
1925 |
GNUMAKE=$_cv_gnu_make_command |
1926 |
|
1927 |
if test "x$GNUMAKE" = x; then : |
1928 |
as_fn_error $? "You need GNU make" "$LINENO" 5 |
1929 |
fi |
1930 |
|
1931 |
|
1932 |
|
1933 |
|
1934 |
|
1935 |
|
1936 |
|
1937 |
|
1938 |
|
1939 |
|
1940 |
|
1941 |
if test -z "$PERL"; then : |
1942 |
|
1943 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether perl executable path has been provided" >&5 |
1944 |
$as_echo_n "checking whether perl executable path has been provided... " >&6; } |
1945 |
|
1946 |
# Check whether --with-perl was given. |
1947 |
if test "${with_perl+set}" = set; then : |
1948 |
withval=$with_perl; |
1949 |
if test "$withval" != yes -a "$withval" != no; then : |
1950 |
|
1951 |
PERL="$withval" |
1952 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 |
1953 |
$as_echo "$PERL" >&6; } |
1954 |
|
1955 |
else |
1956 |
|
1957 |
PERL="" |
1958 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1959 |
$as_echo "no" >&6; } |
1960 |
if test "$withval" != no; then : |
1961 |
|
1962 |
# Extract the first word of "perl", so it can be a program name with args. |
1963 |
set dummy perl; ac_word=$2 |
1964 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1965 |
$as_echo_n "checking for $ac_word... " >&6; } |
1966 |
if ${ac_cv_path_PERL+:} false; then : |
1967 |
$as_echo_n "(cached) " >&6 |
1968 |
else |
1969 |
case $PERL in |
1970 |
[\\/]* | ?:[\\/]*) |
1971 |
ac_cv_path_PERL="$PERL" # Let the user override the test with a path. |
1972 |
;; |
1973 |
*) |
1974 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1975 |
for as_dir in $PATH |
1976 |
do |
1977 |
IFS=$as_save_IFS |
1978 |
test -z "$as_dir" && as_dir=. |
1979 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1980 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1981 |
ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" |
1982 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1983 |
break 2 |
1984 |
fi |
1985 |
done |
1986 |
done |
1987 |
IFS=$as_save_IFS |
1988 |
|
1989 |
;; |
1990 |
esac |
1991 |
fi |
1992 |
PERL=$ac_cv_path_PERL |
1993 |
if test -n "$PERL"; then |
1994 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 |
1995 |
$as_echo "$PERL" >&6; } |
1996 |
else |
1997 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1998 |
$as_echo "no" >&6; } |
1999 |
fi |
2000 |
|
2001 |
|
2002 |
|
2003 |
fi |
2004 |
|
2005 |
fi |
2006 |
|
2007 |
else |
2008 |
|
2009 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2010 |
$as_echo "no" >&6; } |
2011 |
# Extract the first word of "perl", so it can be a program name with args. |
2012 |
set dummy perl; ac_word=$2 |
2013 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2014 |
$as_echo_n "checking for $ac_word... " >&6; } |
2015 |
if ${ac_cv_path_PERL+:} false; then : |
2016 |
$as_echo_n "(cached) " >&6 |
2017 |
else |
2018 |
case $PERL in |
2019 |
[\\/]* | ?:[\\/]*) |
2020 |
ac_cv_path_PERL="$PERL" # Let the user override the test with a path. |
2021 |
;; |
2022 |
*) |
2023 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2024 |
for as_dir in $PATH |
2025 |
do |
2026 |
IFS=$as_save_IFS |
2027 |
test -z "$as_dir" && as_dir=. |
2028 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2029 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2030 |
ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" |
2031 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2032 |
break 2 |
2033 |
fi |
2034 |
done |
2035 |
done |
2036 |
IFS=$as_save_IFS |
2037 |
|
2038 |
;; |
2039 |
esac |
2040 |
fi |
2041 |
PERL=$ac_cv_path_PERL |
2042 |
if test -n "$PERL"; then |
2043 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 |
2044 |
$as_echo "$PERL" >&6; } |
2045 |
else |
2046 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2047 |
$as_echo "no" >&6; } |
2048 |
fi |
2049 |
|
2050 |
|
2051 |
|
2052 |
fi |
2053 |
|
2054 |
|
2055 |
fi |
2056 |
|
2057 |
|
2058 |
|
2059 |
|
2060 |
|
2061 |
|
2062 |
|
2063 |
|
2064 |
|
2065 |
|
2066 |
|
2067 |
|
2068 |
|
2069 |
# Make sure we have perl |
2070 |
if test -z "$PERL"; then |
2071 |
# Extract the first word of "perl", so it can be a program name with args. |
2072 |
set dummy perl; ac_word=$2 |
2073 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2074 |
$as_echo_n "checking for $ac_word... " >&6; } |
2075 |
if ${ac_cv_prog_PERL+:} false; then : |
2076 |
$as_echo_n "(cached) " >&6 |
2077 |
else |
2078 |
if test -n "$PERL"; then |
2079 |
ac_cv_prog_PERL="$PERL" # Let the user override the test. |
2080 |
else |
2081 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2082 |
for as_dir in $PATH |
2083 |
do |
2084 |
IFS=$as_save_IFS |
2085 |
test -z "$as_dir" && as_dir=. |
2086 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2087 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2088 |
ac_cv_prog_PERL="perl" |
2089 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2090 |
break 2 |
2091 |
fi |
2092 |
done |
2093 |
done |
2094 |
IFS=$as_save_IFS |
2095 |
|
2096 |
fi |
2097 |
fi |
2098 |
PERL=$ac_cv_prog_PERL |
2099 |
if test -n "$PERL"; then |
2100 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 |
2101 |
$as_echo "$PERL" >&6; } |
2102 |
else |
2103 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2104 |
$as_echo "no" >&6; } |
2105 |
fi |
2106 |
|
2107 |
|
2108 |
fi |
2109 |
|
2110 |
if test "x$PERL" != x; then |
2111 |
ax_perl_modules_failed=0 |
2112 |
for ax_perl_module in 'File::Temp' ; do |
2113 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl module $ax_perl_module" >&5 |
2114 |
$as_echo_n "checking for perl module $ax_perl_module... " >&6; } |
2115 |
|
2116 |
# Would be nice to log result here, but can't rely on autoconf internals |
2117 |
$PERL -e "use $ax_perl_module; exit" > /dev/null 2>&1 |
2118 |
if test $? -ne 0; then |
2119 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2120 |
$as_echo "no" >&6; }; |
2121 |
ax_perl_modules_failed=1 |
2122 |
else |
2123 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
2124 |
$as_echo "ok" >&6; }; |
2125 |
fi |
2126 |
done |
2127 |
|
2128 |
# Run optional shell commands |
2129 |
if test "$ax_perl_modules_failed" = 0; then |
2130 |
: |
2131 |
|
2132 |
else |
2133 |
: |
2134 |
as_fn_error $? "You need File::Temp." "$LINENO" 5 |
2135 |
fi |
2136 |
else |
2137 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not find perl" >&5 |
2138 |
$as_echo "$as_me: WARNING: could not find perl" >&2;} |
2139 |
fi |
2140 |
ac_ext=cpp |
2141 |
ac_cpp='$CXXCPP $CPPFLAGS' |
2142 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2143 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2144 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
2145 |
|
2146 |
ac_ext=cpp |
2147 |
ac_cpp='$CXXCPP $CPPFLAGS' |
2148 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2149 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2150 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
2151 |
if test -z "$CXX"; then |
2152 |
if test -n "$CCC"; then |
2153 |
CXX=$CCC |
2154 |
else |
2155 |
if test -n "$ac_tool_prefix"; then |
2156 |
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
2157 |
do |
2158 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2159 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2160 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2161 |
$as_echo_n "checking for $ac_word... " >&6; } |
2162 |
if ${ac_cv_prog_CXX+:} false; then : |
2163 |
$as_echo_n "(cached) " >&6 |
2164 |
else |
2165 |
if test -n "$CXX"; then |
2166 |
ac_cv_prog_CXX="$CXX" # Let the user override the test. |
2167 |
else |
2168 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2169 |
for as_dir in $PATH |
2170 |
do |
2171 |
IFS=$as_save_IFS |
2172 |
test -z "$as_dir" && as_dir=. |
2173 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2174 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2175 |
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
2176 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2177 |
break 2 |
2178 |
fi |
2179 |
done |
2180 |
done |
2181 |
IFS=$as_save_IFS |
2182 |
|
2183 |
fi |
2184 |
fi |
2185 |
CXX=$ac_cv_prog_CXX |
2186 |
if test -n "$CXX"; then |
2187 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 |
2188 |
$as_echo "$CXX" >&6; } |
2189 |
else |
2190 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2191 |
$as_echo "no" >&6; } |
2192 |
fi |
2193 |
|
2194 |
|
2195 |
test -n "$CXX" && break |
2196 |
done |
2197 |
fi |
2198 |
if test -z "$CXX"; then |
2199 |
ac_ct_CXX=$CXX |
2200 |
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
2201 |
do |
2202 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
2203 |
set dummy $ac_prog; ac_word=$2 |
2204 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2205 |
$as_echo_n "checking for $ac_word... " >&6; } |
2206 |
if ${ac_cv_prog_ac_ct_CXX+:} false; then : |
2207 |
$as_echo_n "(cached) " >&6 |
2208 |
else |
2209 |
if test -n "$ac_ct_CXX"; then |
2210 |
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
2211 |
else |
2212 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2213 |
for as_dir in $PATH |
2214 |
do |
2215 |
IFS=$as_save_IFS |
2216 |
test -z "$as_dir" && as_dir=. |
2217 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2218 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2219 |
ac_cv_prog_ac_ct_CXX="$ac_prog" |
2220 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2221 |
break 2 |
2222 |
fi |
2223 |
done |
2224 |
done |
2225 |
IFS=$as_save_IFS |
2226 |
|
2227 |
fi |
2228 |
fi |
2229 |
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
2230 |
if test -n "$ac_ct_CXX"; then |
2231 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 |
2232 |
$as_echo "$ac_ct_CXX" >&6; } |
2233 |
else |
2234 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2235 |
$as_echo "no" >&6; } |
2236 |
fi |
2237 |
|
2238 |
|
2239 |
test -n "$ac_ct_CXX" && break |
2240 |
done |
2241 |
|
2242 |
if test "x$ac_ct_CXX" = x; then |
2243 |
CXX="g++" |
2244 |
else |
2245 |
case $cross_compiling:$ac_tool_warned in |
2246 |
yes:) |
2247 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
2248 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
2249 |
ac_tool_warned=yes ;; |
2250 |
esac |
2251 |
CXX=$ac_ct_CXX |
2252 |
fi |
2253 |
fi |
2254 |
|
2255 |
fi |
2256 |
fi |
2257 |
# Provide some information about the compiler. |
2258 |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 |
2259 |
set X $ac_compile |
2260 |
ac_compiler=$2 |
2261 |
for ac_option in --version -v -V -qversion; do |
2262 |
{ { ac_try="$ac_compiler $ac_option >&5" |
2263 |
case "(($ac_try" in |
2264 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2265 |
*) ac_try_echo=$ac_try;; |
2266 |
esac |
2267 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
2268 |
$as_echo "$ac_try_echo"; } >&5 |
2269 |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err |
2270 |
ac_status=$? |
2271 |
if test -s conftest.err; then |
2272 |
sed '10a\ |
2273 |
... rest of stderr output deleted ... |
2274 |
10q' conftest.err >conftest.er1 |
2275 |
cat conftest.er1 >&5 |
2276 |
fi |
2277 |
rm -f conftest.er1 conftest.err |
2278 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2279 |
test $ac_status = 0; } |
2280 |
done |
2281 |
|
2282 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2283 |
/* end confdefs.h. */ |
2284 |
|
2285 |
int |
2286 |
main () |
2287 |
{ |
2288 |
|
2289 |
; |
2290 |
return 0; |
2291 |
} |
2292 |
_ACEOF |
2293 |
ac_clean_files_save=$ac_clean_files |
2294 |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
2295 |
# Try to create an executable without -o first, disregard a.out. |
2296 |
# It will help us diagnose broken compilers, and finding out an intuition |
2297 |
# of exeext. |
2298 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5 |
2299 |
$as_echo_n "checking whether the C++ compiler works... " >&6; } |
2300 |
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
2301 |
|
2302 |
# The possible output files: |
2303 |
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
2304 |
|
2305 |
ac_rmfiles= |
2306 |
for ac_file in $ac_files |
2307 |
do |
2308 |
case $ac_file in |
2309 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
2310 |
* ) ac_rmfiles="$ac_rmfiles $ac_file";; |
2311 |
esac |
2312 |
done |
2313 |
rm -f $ac_rmfiles |
2314 |
|
2315 |
if { { ac_try="$ac_link_default" |
2316 |
case "(($ac_try" in |
2317 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2318 |
*) ac_try_echo=$ac_try;; |
2319 |
esac |
2320 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
2321 |
$as_echo "$ac_try_echo"; } >&5 |
2322 |
(eval "$ac_link_default") 2>&5 |
2323 |
ac_status=$? |
2324 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2325 |
test $ac_status = 0; }; then : |
2326 |
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
2327 |
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
2328 |
# in a Makefile. We should not override ac_cv_exeext if it was cached, |
2329 |
# so that the user can short-circuit this test for compilers unknown to |
2330 |
# Autoconf. |
2331 |
for ac_file in $ac_files '' |
2332 |
do |
2333 |
test -f "$ac_file" || continue |
2334 |
case $ac_file in |
2335 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
2336 |
;; |
2337 |
[ab].out ) |
2338 |
# We found the default executable, but exeext='' is most |
2339 |
# certainly right. |
2340 |
break;; |
2341 |
*.* ) |
2342 |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
2343 |
then :; else |
2344 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2345 |
fi |
2346 |
# We set ac_cv_exeext here because the later test for it is not |
2347 |
# safe: cross compilers may not add the suffix if given an `-o' |
2348 |
# argument, so we may need to know it at that point already. |
2349 |
# Even if this section looks crufty: it has the advantage of |
2350 |
# actually working. |
2351 |
break;; |
2352 |
* ) |
2353 |
break;; |
2354 |
esac |
2355 |
done |
2356 |
test "$ac_cv_exeext" = no && ac_cv_exeext= |
2357 |
|
2358 |
else |
2359 |
ac_file='' |
2360 |
fi |
2361 |
if test -z "$ac_file"; then : |
2362 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2363 |
$as_echo "no" >&6; } |
2364 |
$as_echo "$as_me: failed program was:" >&5 |
2365 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2366 |
|
2367 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2368 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2369 |
as_fn_error 77 "C++ compiler cannot create executables |
2370 |
See \`config.log' for more details" "$LINENO" 5; } |
2371 |
else |
2372 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2373 |
$as_echo "yes" >&6; } |
2374 |
fi |
2375 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5 |
2376 |
$as_echo_n "checking for C++ compiler default output file name... " >&6; } |
2377 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
2378 |
$as_echo "$ac_file" >&6; } |
2379 |
ac_exeext=$ac_cv_exeext |
2380 |
|
2381 |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
2382 |
ac_clean_files=$ac_clean_files_save |
2383 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
2384 |
$as_echo_n "checking for suffix of executables... " >&6; } |
2385 |
if { { ac_try="$ac_link" |
2386 |
case "(($ac_try" in |
2387 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2388 |
*) ac_try_echo=$ac_try;; |
2389 |
esac |
2390 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
2391 |
$as_echo "$ac_try_echo"; } >&5 |
2392 |
(eval "$ac_link") 2>&5 |
2393 |
ac_status=$? |
2394 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2395 |
test $ac_status = 0; }; then : |
2396 |
# If both `conftest.exe' and `conftest' are `present' (well, observable) |
2397 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
2398 |
# work properly (i.e., refer to `conftest.exe'), while it won't with |
2399 |
# `rm'. |
2400 |
for ac_file in conftest.exe conftest conftest.*; do |
2401 |
test -f "$ac_file" || continue |
2402 |
case $ac_file in |
2403 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
2404 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2405 |
break;; |
2406 |
* ) break;; |
2407 |
esac |
2408 |
done |
2409 |
else |
2410 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2411 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2412 |
as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
2413 |
See \`config.log' for more details" "$LINENO" 5; } |
2414 |
fi |
2415 |
rm -f conftest conftest$ac_cv_exeext |
2416 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
2417 |
$as_echo "$ac_cv_exeext" >&6; } |
2418 |
|
2419 |
rm -f conftest.$ac_ext |
2420 |
EXEEXT=$ac_cv_exeext |
2421 |
ac_exeext=$EXEEXT |
2422 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2423 |
/* end confdefs.h. */ |
2424 |
#include <stdio.h> |
2425 |
int |
2426 |
main () |
2427 |
{ |
2428 |
FILE *f = fopen ("conftest.out", "w"); |
2429 |
return ferror (f) || fclose (f) != 0; |
2430 |
|
2431 |
; |
2432 |
return 0; |
2433 |
} |
2434 |
_ACEOF |
2435 |
ac_clean_files="$ac_clean_files conftest.out" |
2436 |
# Check that the compiler produces executables we can run. If not, either |
2437 |
# the compiler is broken, or we cross compile. |
2438 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
2439 |
$as_echo_n "checking whether we are cross compiling... " >&6; } |
2440 |
if test "$cross_compiling" != yes; then |
2441 |
{ { ac_try="$ac_link" |
2442 |
case "(($ac_try" in |
2443 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2444 |
*) ac_try_echo=$ac_try;; |
2445 |
esac |
2446 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
2447 |
$as_echo "$ac_try_echo"; } >&5 |
2448 |
(eval "$ac_link") 2>&5 |
2449 |
ac_status=$? |
2450 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2451 |
test $ac_status = 0; } |
2452 |
if { ac_try='./conftest$ac_cv_exeext' |
2453 |
{ { case "(($ac_try" in |
2454 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2455 |
*) ac_try_echo=$ac_try;; |
2456 |
esac |
2457 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
2458 |
$as_echo "$ac_try_echo"; } >&5 |
2459 |
(eval "$ac_try") 2>&5 |
2460 |
ac_status=$? |
2461 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2462 |
test $ac_status = 0; }; }; then |
2463 |
cross_compiling=no |
2464 |
else |
2465 |
if test "$cross_compiling" = maybe; then |
2466 |
cross_compiling=yes |
2467 |
else |
2468 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2469 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2470 |
as_fn_error $? "cannot run C++ compiled programs. |
2471 |
If you meant to cross compile, use \`--host'. |
2472 |
See \`config.log' for more details" "$LINENO" 5; } |
2473 |
fi |
2474 |
fi |
2475 |
fi |
2476 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
2477 |
$as_echo "$cross_compiling" >&6; } |
2478 |
|
2479 |
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
2480 |
ac_clean_files=$ac_clean_files_save |
2481 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
2482 |
$as_echo_n "checking for suffix of object files... " >&6; } |
2483 |
if ${ac_cv_objext+:} false; then : |
2484 |
$as_echo_n "(cached) " >&6 |
2485 |
else |
2486 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2487 |
/* end confdefs.h. */ |
2488 |
|
2489 |
int |
2490 |
main () |
2491 |
{ |
2492 |
|
2493 |
; |
2494 |
return 0; |
2495 |
} |
2496 |
_ACEOF |
2497 |
rm -f conftest.o conftest.obj |
2498 |
if { { ac_try="$ac_compile" |
2499 |
case "(($ac_try" in |
2500 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2501 |
*) ac_try_echo=$ac_try;; |
2502 |
esac |
2503 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
2504 |
$as_echo "$ac_try_echo"; } >&5 |
2505 |
(eval "$ac_compile") 2>&5 |
2506 |
ac_status=$? |
2507 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2508 |
test $ac_status = 0; }; then : |
2509 |
for ac_file in conftest.o conftest.obj conftest.*; do |
2510 |
test -f "$ac_file" || continue; |
2511 |
case $ac_file in |
2512 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
2513 |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
2514 |
break;; |
2515 |
esac |
2516 |
done |
2517 |
else |
2518 |
$as_echo "$as_me: failed program was:" >&5 |
2519 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2520 |
|
2521 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2522 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2523 |
as_fn_error $? "cannot compute suffix of object files: cannot compile |
2524 |
See \`config.log' for more details" "$LINENO" 5; } |
2525 |
fi |
2526 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
2527 |
fi |
2528 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
2529 |
$as_echo "$ac_cv_objext" >&6; } |
2530 |
OBJEXT=$ac_cv_objext |
2531 |
ac_objext=$OBJEXT |
2532 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 |
2533 |
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } |
2534 |
if ${ac_cv_cxx_compiler_gnu+:} false; then : |
2535 |
$as_echo_n "(cached) " >&6 |
2536 |
else |
2537 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2538 |
/* end confdefs.h. */ |
2539 |
|
2540 |
int |
2541 |
main () |
2542 |
{ |
2543 |
#ifndef __GNUC__ |
2544 |
choke me |
2545 |
#endif |
2546 |
|
2547 |
; |
2548 |
return 0; |
2549 |
} |
2550 |
_ACEOF |
2551 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
2552 |
ac_compiler_gnu=yes |
2553 |
else |
2554 |
ac_compiler_gnu=no |
2555 |
fi |
2556 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2557 |
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
2558 |
|
2559 |
fi |
2560 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 |
2561 |
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } |
2562 |
if test $ac_compiler_gnu = yes; then |
2563 |
GXX=yes |
2564 |
else |
2565 |
GXX= |
2566 |
fi |
2567 |
ac_test_CXXFLAGS=${CXXFLAGS+set} |
2568 |
ac_save_CXXFLAGS=$CXXFLAGS |
2569 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 |
2570 |
$as_echo_n "checking whether $CXX accepts -g... " >&6; } |
2571 |
if ${ac_cv_prog_cxx_g+:} false; then : |
2572 |
$as_echo_n "(cached) " >&6 |
2573 |
else |
2574 |
ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
2575 |
ac_cxx_werror_flag=yes |
2576 |
ac_cv_prog_cxx_g=no |
2577 |
CXXFLAGS="-g" |
2578 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2579 |
/* end confdefs.h. */ |
2580 |
|
2581 |
int |
2582 |
main () |
2583 |
{ |
2584 |
|
2585 |
; |
2586 |
return 0; |
2587 |
} |
2588 |
_ACEOF |
2589 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
2590 |
ac_cv_prog_cxx_g=yes |
2591 |
else |
2592 |
CXXFLAGS="" |
2593 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2594 |
/* end confdefs.h. */ |
2595 |
|
2596 |
int |
2597 |
main () |
2598 |
{ |
2599 |
|
2600 |
; |
2601 |
return 0; |
2602 |
} |
2603 |
_ACEOF |
2604 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
2605 |
|
2606 |
else |
2607 |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
2608 |
CXXFLAGS="-g" |
2609 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2610 |
/* end confdefs.h. */ |
2611 |
|
2612 |
int |
2613 |
main () |
2614 |
{ |
2615 |
|
2616 |
; |
2617 |
return 0; |
2618 |
} |
2619 |
_ACEOF |
2620 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
2621 |
ac_cv_prog_cxx_g=yes |
2622 |
fi |
2623 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2624 |
fi |
2625 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2626 |
fi |
2627 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2628 |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
2629 |
fi |
2630 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 |
2631 |
$as_echo "$ac_cv_prog_cxx_g" >&6; } |
2632 |
if test "$ac_test_CXXFLAGS" = set; then |
2633 |
CXXFLAGS=$ac_save_CXXFLAGS |
2634 |
elif test $ac_cv_prog_cxx_g = yes; then |
2635 |
if test "$GXX" = yes; then |
2636 |
CXXFLAGS="-g -O2" |
2637 |
else |
2638 |
CXXFLAGS="-g" |
2639 |
fi |
2640 |
else |
2641 |
if test "$GXX" = yes; then |
2642 |
CXXFLAGS="-O2" |
2643 |
else |
2644 |
CXXFLAGS= |
2645 |
fi |
2646 |
fi |
2647 |
ac_ext=cpp |
2648 |
ac_cpp='$CXXCPP $CPPFLAGS' |
2649 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2650 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2651 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
2652 |
|
2653 |
mingw=`$CXX --version 2>&1 | grep mingw\ special` |
2654 |
if test "x$mingw" = "x"; then |
2655 |
|
2656 |
|
2657 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5 |
2658 |
$as_echo_n "checking for library containing gethostbyname... " >&6; } |
2659 |
if ${ac_cv_search_gethostbyname+:} false; then : |
2660 |
$as_echo_n "(cached) " >&6 |
2661 |
else |
2662 |
ac_func_search_save_LIBS=$LIBS |
2663 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2664 |
/* end confdefs.h. */ |
2665 |
|
2666 |
/* Override any GCC internal prototype to avoid an error. |
2667 |
Use char because int might match the return type of a GCC |
2668 |
builtin and then its argument prototype would still apply. */ |
2669 |
#ifdef __cplusplus |
2670 |
extern "C" |
2671 |
#endif |
2672 |
char gethostbyname (); |
2673 |
int |
2674 |
main () |
2675 |
{ |
2676 |
return gethostbyname (); |
2677 |
; |
2678 |
return 0; |
2679 |
} |
2680 |
_ACEOF |
2681 |
for ac_lib in '' nsl; do |
2682 |
if test -z "$ac_lib"; then |
2683 |
ac_res="none required" |
2684 |
else |
2685 |
ac_res=-l$ac_lib |
2686 |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
2687 |
fi |
2688 |
if ac_fn_cxx_try_link "$LINENO"; then : |
2689 |
ac_cv_search_gethostbyname=$ac_res |
2690 |
fi |
2691 |
rm -f core conftest.err conftest.$ac_objext \ |
2692 |
conftest$ac_exeext |
2693 |
if ${ac_cv_search_gethostbyname+:} false; then : |
2694 |
break |
2695 |
fi |
2696 |
done |
2697 |
if ${ac_cv_search_gethostbyname+:} false; then : |
2698 |
|
2699 |
else |
2700 |
ac_cv_search_gethostbyname=no |
2701 |
fi |
2702 |
rm conftest.$ac_ext |
2703 |
LIBS=$ac_func_search_save_LIBS |
2704 |
fi |
2705 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5 |
2706 |
$as_echo "$ac_cv_search_gethostbyname" >&6; } |
2707 |
ac_res=$ac_cv_search_gethostbyname |
2708 |
if test "$ac_res" != no; then : |
2709 |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
2710 |
|
2711 |
fi |
2712 |
|
2713 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
2714 |
$as_echo_n "checking for library containing socket... " >&6; } |
2715 |
if ${ac_cv_search_socket+:} false; then : |
2716 |
$as_echo_n "(cached) " >&6 |
2717 |
else |
2718 |
ac_func_search_save_LIBS=$LIBS |
2719 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2720 |
/* end confdefs.h. */ |
2721 |
|
2722 |
/* Override any GCC internal prototype to avoid an error. |
2723 |
Use char because int might match the return type of a GCC |
2724 |
builtin and then its argument prototype would still apply. */ |
2725 |
#ifdef __cplusplus |
2726 |
extern "C" |
2727 |
#endif |
2728 |
char socket (); |
2729 |
int |
2730 |
main () |
2731 |
{ |
2732 |
return socket (); |
2733 |
; |
2734 |
return 0; |
2735 |
} |
2736 |
_ACEOF |
2737 |
for ac_lib in '' socket; do |
2738 |
if test -z "$ac_lib"; then |
2739 |
ac_res="none required" |
2740 |
else |
2741 |
ac_res=-l$ac_lib |
2742 |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
2743 |
fi |
2744 |
if ac_fn_cxx_try_link "$LINENO"; then : |
2745 |
ac_cv_search_socket=$ac_res |
2746 |
fi |
2747 |
rm -f core conftest.err conftest.$ac_objext \ |
2748 |
conftest$ac_exeext |
2749 |
if ${ac_cv_search_socket+:} false; then : |
2750 |
break |
2751 |
fi |
2752 |
done |
2753 |
if ${ac_cv_search_socket+:} false; then : |
2754 |
|
2755 |
else |
2756 |
ac_cv_search_socket=no |
2757 |
fi |
2758 |
rm conftest.$ac_ext |
2759 |
LIBS=$ac_func_search_save_LIBS |
2760 |
fi |
2761 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 |
2762 |
$as_echo "$ac_cv_search_socket" >&6; } |
2763 |
ac_res=$ac_cv_search_socket |
2764 |
if test "$ac_res" != no; then : |
2765 |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
2766 |
|
2767 |
else |
2768 |
|
2769 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5 |
2770 |
$as_echo_n "checking for socket in -lsocket... " >&6; } |
2771 |
if ${ac_cv_lib_socket_socket+:} false; then : |
2772 |
$as_echo_n "(cached) " >&6 |
2773 |
else |
2774 |
ac_check_lib_save_LIBS=$LIBS |
2775 |
LIBS="-lsocket -lnsl $LIBS" |
2776 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2777 |
/* end confdefs.h. */ |
2778 |
|
2779 |
/* Override any GCC internal prototype to avoid an error. |
2780 |
Use char because int might match the return type of a GCC |
2781 |
builtin and then its argument prototype would still apply. */ |
2782 |
#ifdef __cplusplus |
2783 |
extern "C" |
2784 |
#endif |
2785 |
char socket (); |
2786 |
int |
2787 |
main () |
2788 |
{ |
2789 |
return socket (); |
2790 |
; |
2791 |
return 0; |
2792 |
} |
2793 |
_ACEOF |
2794 |
if ac_fn_cxx_try_link "$LINENO"; then : |
2795 |
ac_cv_lib_socket_socket=yes |
2796 |
else |
2797 |
ac_cv_lib_socket_socket=no |
2798 |
fi |
2799 |
rm -f core conftest.err conftest.$ac_objext \ |
2800 |
conftest$ac_exeext conftest.$ac_ext |
2801 |
LIBS=$ac_check_lib_save_LIBS |
2802 |
fi |
2803 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5 |
2804 |
$as_echo "$ac_cv_lib_socket_socket" >&6; } |
2805 |
if test "x$ac_cv_lib_socket_socket" = xyes; then : |
2806 |
LIBS="-lsocket -lnsl $LIBS" |
2807 |
fi |
2808 |
|
2809 |
fi |
2810 |
|
2811 |
|
2812 |
LIBS="$LIBS $ETR_SOCKET_LIBS" |
2813 |
else |
2814 |
LIBS="$LIBS -lws2_32" |
2815 |
fi |
2816 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if OpenSSL is wanted" >&5 |
2817 |
$as_echo_n "checking if OpenSSL is wanted... " >&6; } |
2818 |
|
2819 |
# Check whether --with-openssl was given. |
2820 |
if test "${with_openssl+set}" = set; then : |
2821 |
withval=$with_openssl; |
2822 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2823 |
$as_echo "yes" >&6; } |
2824 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5 |
2825 |
$as_echo_n "checking for OpenSSL... " >&6; } |
2826 |
for dir in $withval /usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg \ |
2827 |
/usr/local /usr; do |
2828 |
openssl_dir="$dir" |
2829 |
if test -f "$dir/include/openssl/ssl.h"; then |
2830 |
openssl="yes"; |
2831 |
break; |
2832 |
fi |
2833 |
done |
2834 |
if ! test x$openssl = x; then |
2835 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $openssl_dir" >&5 |
2836 |
$as_echo "$openssl_dir" >&6; }; |
2837 |
CPPFLAGS="$CPPFLAGS -I$openssl_dir/include"; |
2838 |
LDFLAGS="$LDFLAGS -L$openssl_dir/lib -Wl,--rpath -Wl,$openssl_dir/lib"; |
2839 |
if test "x$mingw" = "x"; then |
2840 |
LIBS="$LIBS -lssl -lcrypto"; |
2841 |
else |
2842 |
LIBS="$LIBS -lssl32 -leay32"; |
2843 |
fi |
2844 |
OpenSSL=-D_OpenSSL_ |
2845 |
|
2846 |
else |
2847 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 |
2848 |
$as_echo "not found" >&6; }; |
2849 |
as_fn_error $? "could not find OpenSSL" "$LINENO" 5 |
2850 |
fi |
2851 |
|
2852 |
else |
2853 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2854 |
$as_echo "no" >&6; } |
2855 |
fi |
2856 |
|
2857 |
if ! test x$openssl = x; then |
2858 |
if test "x$mingw" = "x"; then |
2859 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/urandom" >&5 |
2860 |
$as_echo_n "checking for /dev/urandom... " >&6; } |
2861 |
if ${ac_cv_file__dev_urandom+:} false; then : |
2862 |
$as_echo_n "(cached) " >&6 |
2863 |
else |
2864 |
test "$cross_compiling" = yes && |
2865 |
as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 |
2866 |
if test -r "/dev/urandom"; then |
2867 |
ac_cv_file__dev_urandom=yes |
2868 |
else |
2869 |
ac_cv_file__dev_urandom=no |
2870 |
fi |
2871 |
fi |
2872 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__dev_urandom" >&5 |
2873 |
$as_echo "$ac_cv_file__dev_urandom" >&6; } |
2874 |
if test "x$ac_cv_file__dev_urandom" = xyes; then : |
2875 |
urandomdev=-D_urandomdev_ |
2876 |
|
2877 |
fi |
2878 |
|
2879 |
fi |
2880 |
fi |
2881 |
|
2882 |
ac_config_files="$ac_config_files GNUmakefile search.cgi" |
2883 |
|
2884 |
cat >confcache <<\_ACEOF |
2885 |
# This file is a shell script that caches the results of configure |
2886 |
# tests run on this system so they can be shared between configure |
2887 |
# scripts and configure runs, see configure's option --config-cache. |
2888 |
# It is not useful on other systems. If it contains results you don't |
2889 |
# want to keep, you may remove or edit it. |
2890 |
# |
2891 |
# config.status only pays attention to the cache file if you give it |
2892 |
# the --recheck option to rerun configure. |
2893 |
# |
2894 |
# `ac_cv_env_foo' variables (set or unset) will be overridden when |
2895 |
# loading this file, other *unset* `ac_cv_foo' will be assigned the |
2896 |
# following values. |
2897 |
|
2898 |
_ACEOF |
2899 |
|
2900 |
# The following way of writing the cache mishandles newlines in values, |
2901 |
# but we know of no workaround that is simple, portable, and efficient. |
2902 |
# So, we kill variables containing newlines. |
2903 |
# Ultrix sh set writes to stderr and can't be redirected directly, |
2904 |
# and sets the high bit in the cache file unless we assign to the vars. |
2905 |
( |
2906 |
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
2907 |
eval ac_val=\$$ac_var |
2908 |
case $ac_val in #( |
2909 |
*${as_nl}*) |
2910 |
case $ac_var in #( |
2911 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
2912 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
2913 |
esac |
2914 |
case $ac_var in #( |
2915 |
_ | IFS | as_nl) ;; #( |
2916 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
2917 |
*) { eval $ac_var=; unset $ac_var;} ;; |
2918 |
esac ;; |
2919 |
esac |
2920 |
done |
2921 |
|
2922 |
(set) 2>&1 | |
2923 |
case $as_nl`(ac_space=' '; set) 2>&1` in #( |
2924 |
*${as_nl}ac_space=\ *) |
2925 |
# `set' does not quote correctly, so add quotes: double-quote |
2926 |
# substitution turns \\\\ into \\, and sed turns \\ into \. |
2927 |
sed -n \ |
2928 |
"s/'/'\\\\''/g; |
2929 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
2930 |
;; #( |
2931 |
*) |
2932 |
# `set' quotes correctly as required by POSIX, so do not add quotes. |
2933 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
2934 |
;; |
2935 |
esac | |
2936 |
sort |
2937 |
) | |
2938 |
sed ' |
2939 |
/^ac_cv_env_/b end |
2940 |
t clear |
2941 |
:clear |
2942 |
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
2943 |
t end |
2944 |
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
2945 |
:end' >>confcache |
2946 |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
2947 |
if test -w "$cache_file"; then |
2948 |
if test "x$cache_file" != "x/dev/null"; then |
2949 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
2950 |
$as_echo "$as_me: updating cache $cache_file" >&6;} |
2951 |
if test ! -f "$cache_file" || test -h "$cache_file"; then |
2952 |
cat confcache >"$cache_file" |
2953 |
else |
2954 |
case $cache_file in #( |
2955 |
*/* | ?:*) |
2956 |
mv -f confcache "$cache_file"$$ && |
2957 |
mv -f "$cache_file"$$ "$cache_file" ;; #( |
2958 |
*) |
2959 |
mv -f confcache "$cache_file" ;; |
2960 |
esac |
2961 |
fi |
2962 |
fi |
2963 |
else |
2964 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
2965 |
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
2966 |
fi |
2967 |
fi |
2968 |
rm -f confcache |
2969 |
|
2970 |
test "x$prefix" = xNONE && prefix=$ac_default_prefix |
2971 |
# Let make expand exec_prefix. |
2972 |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
2973 |
|
2974 |
# Transform confdefs.h into DEFS. |
2975 |
# Protect against shell expansion while executing Makefile rules. |
2976 |
# Protect against Makefile macro expansion. |
2977 |
# |
2978 |
# If the first sed substitution is executed (which looks for macros that |
2979 |
# take arguments), then branch to the quote section. Otherwise, |
2980 |
# look for a macro that doesn't take arguments. |
2981 |
ac_script=' |
2982 |
:mline |
2983 |
/\\$/{ |
2984 |
N |
2985 |
s,\\\n,, |
2986 |
b mline |
2987 |
} |
2988 |
t clear |
2989 |
:clear |
2990 |
s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g |
2991 |
t quote |
2992 |
s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g |
2993 |
t quote |
2994 |
b any |
2995 |
:quote |
2996 |
s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g |
2997 |
s/\[/\\&/g |
2998 |
s/\]/\\&/g |
2999 |
s/\$/$$/g |
3000 |
H |
3001 |
:any |
3002 |
${ |
3003 |
g |
3004 |
s/^\n// |
3005 |
s/\n/ /g |
3006 |
p |
3007 |
} |
3008 |
' |
3009 |
DEFS=`sed -n "$ac_script" confdefs.h` |
3010 |
|
3011 |
|
3012 |
ac_libobjs= |
3013 |
ac_ltlibobjs= |
3014 |
U= |
3015 |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
3016 |
# 1. Remove the extension, and $U if already installed. |
3017 |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
3018 |
ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
3019 |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
3020 |
# will be set to the directory where LIBOBJS objects are built. |
3021 |
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
3022 |
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
3023 |
done |
3024 |
LIBOBJS=$ac_libobjs |
3025 |
|
3026 |
LTLIBOBJS=$ac_ltlibobjs |
3027 |
|
3028 |
|
3029 |
|
3030 |
: "${CONFIG_STATUS=./config.status}" |
3031 |
ac_write_fail=0 |
3032 |
ac_clean_files_save=$ac_clean_files |
3033 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
3034 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
3035 |
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
3036 |
as_write_fail=0 |
3037 |
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
3038 |
#! $SHELL |
3039 |
# Generated by $as_me. |
3040 |
# Run this file to recreate the current configuration. |
3041 |
# Compiler output produced by configure, useful for debugging |
3042 |
# configure, is in config.log if it exists. |
3043 |
|
3044 |
debug=false |
3045 |
ac_cs_recheck=false |
3046 |
ac_cs_silent=false |
3047 |
|
3048 |
SHELL=\${CONFIG_SHELL-$SHELL} |
3049 |
export SHELL |
3050 |
_ASEOF |
3051 |
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
3052 |
## -------------------- ## |
3053 |
## M4sh Initialization. ## |
3054 |
## -------------------- ## |
3055 |
|
3056 |
# Be more Bourne compatible |
3057 |
DUALCASE=1; export DUALCASE # for MKS sh |
3058 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
3059 |
emulate sh |
3060 |
NULLCMD=: |
3061 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
3062 |
# is contrary to our usage. Disable this feature. |
3063 |
alias -g '${1+"$@"}'='"$@"' |
3064 |
setopt NO_GLOB_SUBST |
3065 |
else |
3066 |
case `(set -o) 2>/dev/null` in #( |
3067 |
*posix*) : |
3068 |
set -o posix ;; #( |
3069 |
*) : |
3070 |
;; |
3071 |
esac |
3072 |
fi |
3073 |
|
3074 |
|
3075 |
as_nl=' |
3076 |
' |
3077 |
export as_nl |
3078 |
# Printing a long string crashes Solaris 7 /usr/bin/printf. |
3079 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
3080 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
3081 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
3082 |
# Prefer a ksh shell builtin over an external printf program on Solaris, |
3083 |
# but without wasting forks for bash or zsh. |
3084 |
if test -z "$BASH_VERSION$ZSH_VERSION" \ |
3085 |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
3086 |
as_echo='print -r --' |
3087 |
as_echo_n='print -rn --' |
3088 |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
3089 |
as_echo='printf %s\n' |
3090 |
as_echo_n='printf %s' |
3091 |
else |
3092 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
3093 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
3094 |
as_echo_n='/usr/ucb/echo -n' |
3095 |
else |
3096 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
3097 |
as_echo_n_body='eval |
3098 |
arg=$1; |
3099 |
case $arg in #( |
3100 |
*"$as_nl"*) |
3101 |
expr "X$arg" : "X\\(.*\\)$as_nl"; |
3102 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
3103 |
esac; |
3104 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
3105 |
' |
3106 |
export as_echo_n_body |
3107 |
as_echo_n='sh -c $as_echo_n_body as_echo' |
3108 |
fi |
3109 |
export as_echo_body |
3110 |
as_echo='sh -c $as_echo_body as_echo' |
3111 |
fi |
3112 |
|
3113 |
# The user is always right. |
3114 |
if test "${PATH_SEPARATOR+set}" != set; then |
3115 |
PATH_SEPARATOR=: |
3116 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
3117 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
3118 |
PATH_SEPARATOR=';' |
3119 |
} |
3120 |
fi |
3121 |
|
3122 |
|
3123 |
# IFS |
3124 |
# We need space, tab and new line, in precisely that order. Quoting is |
3125 |
# there to prevent editors from complaining about space-tab. |
3126 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
3127 |
# splitting by setting IFS to empty value.) |
3128 |
IFS=" "" $as_nl" |
3129 |
|
3130 |
# Find who we are. Look in the path if we contain no directory separator. |
3131 |
as_myself= |
3132 |
case $0 in #(( |
3133 |
*[\\/]* ) as_myself=$0 ;; |
3134 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3135 |
for as_dir in $PATH |
3136 |
do |
3137 |
IFS=$as_save_IFS |
3138 |
test -z "$as_dir" && as_dir=. |
3139 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
3140 |
done |
3141 |
IFS=$as_save_IFS |
3142 |
|
3143 |
;; |
3144 |
esac |
3145 |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
3146 |
# in which case we are not to be found in the path. |
3147 |
if test "x$as_myself" = x; then |
3148 |
as_myself=$0 |
3149 |
fi |
3150 |
if test ! -f "$as_myself"; then |
3151 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
3152 |
exit 1 |
3153 |
fi |
3154 |
|
3155 |
# Unset variables that we do not need and which cause bugs (e.g. in |
3156 |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
3157 |
# suppresses any "Segmentation fault" message there. '((' could |
3158 |
# trigger a bug in pdksh 5.2.14. |
3159 |
for as_var in BASH_ENV ENV MAIL MAILPATH |
3160 |
do eval test x\${$as_var+set} = xset \ |
3161 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
3162 |
done |
3163 |
PS1='$ ' |
3164 |
PS2='> ' |
3165 |
PS4='+ ' |
3166 |
|
3167 |
# NLS nuisances. |
3168 |
LC_ALL=C |
3169 |
export LC_ALL |
3170 |
LANGUAGE=C |
3171 |
export LANGUAGE |
3172 |
|
3173 |
# CDPATH. |
3174 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
3175 |
|
3176 |
|
3177 |
# as_fn_error STATUS ERROR [LINENO LOG_FD] |
3178 |
# ---------------------------------------- |
3179 |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
3180 |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
3181 |
# script with STATUS, using 1 if that was 0. |
3182 |
as_fn_error () |
3183 |
{ |
3184 |
as_status=$1; test $as_status -eq 0 && as_status=1 |
3185 |
if test "$4"; then |
3186 |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
3187 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
3188 |
fi |
3189 |
$as_echo "$as_me: error: $2" >&2 |
3190 |
as_fn_exit $as_status |
3191 |
} # as_fn_error |
3192 |
|
3193 |
|
3194 |
# as_fn_set_status STATUS |
3195 |
# ----------------------- |
3196 |
# Set $? to STATUS, without forking. |
3197 |
as_fn_set_status () |
3198 |
{ |
3199 |
return $1 |
3200 |
} # as_fn_set_status |
3201 |
|
3202 |
# as_fn_exit STATUS |
3203 |
# ----------------- |
3204 |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
3205 |
as_fn_exit () |
3206 |
{ |
3207 |
set +e |
3208 |
as_fn_set_status $1 |
3209 |
exit $1 |
3210 |
} # as_fn_exit |
3211 |
|
3212 |
# as_fn_unset VAR |
3213 |
# --------------- |
3214 |
# Portably unset VAR. |
3215 |
as_fn_unset () |
3216 |
{ |
3217 |
{ eval $1=; unset $1;} |
3218 |
} |
3219 |
as_unset=as_fn_unset |
3220 |
# as_fn_append VAR VALUE |
3221 |
# ---------------------- |
3222 |
# Append the text in VALUE to the end of the definition contained in VAR. Take |
3223 |
# advantage of any shell optimizations that allow amortized linear growth over |
3224 |
# repeated appends, instead of the typical quadratic growth present in naive |
3225 |
# implementations. |
3226 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
3227 |
eval 'as_fn_append () |
3228 |
{ |
3229 |
eval $1+=\$2 |
3230 |
}' |
3231 |
else |
3232 |
as_fn_append () |
3233 |
{ |
3234 |
eval $1=\$$1\$2 |
3235 |
} |
3236 |
fi # as_fn_append |
3237 |
|
3238 |
# as_fn_arith ARG... |
3239 |
# ------------------ |
3240 |
# Perform arithmetic evaluation on the ARGs, and store the result in the |
3241 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments |
3242 |
# must be portable across $(()) and expr. |
3243 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
3244 |
eval 'as_fn_arith () |
3245 |
{ |
3246 |
as_val=$(( $* )) |
3247 |
}' |
3248 |
else |
3249 |
as_fn_arith () |
3250 |
{ |
3251 |
as_val=`expr "$@" || test $? -eq 1` |
3252 |
} |
3253 |
fi # as_fn_arith |
3254 |
|
3255 |
|
3256 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
3257 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
3258 |
as_expr=expr |
3259 |
else |
3260 |
as_expr=false |
3261 |
fi |
3262 |
|
3263 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
3264 |
as_basename=basename |
3265 |
else |
3266 |
as_basename=false |
3267 |
fi |
3268 |
|
3269 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
3270 |
as_dirname=dirname |
3271 |
else |
3272 |
as_dirname=false |
3273 |
fi |
3274 |
|
3275 |
as_me=`$as_basename -- "$0" || |
3276 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
3277 |
X"$0" : 'X\(//\)$' \| \ |
3278 |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
3279 |
$as_echo X/"$0" | |
3280 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
3281 |
s//\1/ |
3282 |
q |
3283 |
} |
3284 |
/^X\/\(\/\/\)$/{ |
3285 |
s//\1/ |
3286 |
q |
3287 |
} |
3288 |
/^X\/\(\/\).*/{ |
3289 |
s//\1/ |
3290 |
q |
3291 |
} |
3292 |
s/.*/./; q'` |
3293 |
|
3294 |
# Avoid depending upon Character Ranges. |
3295 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
3296 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
3297 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
3298 |
as_cr_digits='0123456789' |
3299 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
3300 |
|
3301 |
ECHO_C= ECHO_N= ECHO_T= |
3302 |
case `echo -n x` in #((((( |
3303 |
-n*) |
3304 |
case `echo 'xy\c'` in |
3305 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
3306 |
xy) ECHO_C='\c';; |
3307 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
3308 |
ECHO_T=' ';; |
3309 |
esac;; |
3310 |
*) |
3311 |
ECHO_N='-n';; |
3312 |
esac |
3313 |
|
3314 |
rm -f conf$$ conf$$.exe conf$$.file |
3315 |
if test -d conf$$.dir; then |
3316 |
rm -f conf$$.dir/conf$$.file |
3317 |
else |
3318 |
rm -f conf$$.dir |
3319 |
mkdir conf$$.dir 2>/dev/null |
3320 |
fi |
3321 |
if (echo >conf$$.file) 2>/dev/null; then |
3322 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
3323 |
as_ln_s='ln -s' |
3324 |
# ... but there are two gotchas: |
3325 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
3326 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
3327 |
# In both cases, we have to default to `cp -p'. |
3328 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
3329 |
as_ln_s='cp -p' |
3330 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
3331 |
as_ln_s=ln |
3332 |
else |
3333 |
as_ln_s='cp -p' |
3334 |
fi |
3335 |
else |
3336 |
as_ln_s='cp -p' |
3337 |
fi |
3338 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
3339 |
rmdir conf$$.dir 2>/dev/null |
3340 |
|
3341 |
|
3342 |
# as_fn_mkdir_p |
3343 |
# ------------- |
3344 |
# Create "$as_dir" as a directory, including parents if necessary. |
3345 |
as_fn_mkdir_p () |
3346 |
{ |
3347 |
|
3348 |
case $as_dir in #( |
3349 |
-*) as_dir=./$as_dir;; |
3350 |
esac |
3351 |
test -d "$as_dir" || eval $as_mkdir_p || { |
3352 |
as_dirs= |
3353 |
while :; do |
3354 |
case $as_dir in #( |
3355 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
3356 |
*) as_qdir=$as_dir;; |
3357 |
esac |
3358 |
as_dirs="'$as_qdir' $as_dirs" |
3359 |
as_dir=`$as_dirname -- "$as_dir" || |
3360 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
3361 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
3362 |
X"$as_dir" : 'X\(//\)$' \| \ |
3363 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
3364 |
$as_echo X"$as_dir" | |
3365 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
3366 |
s//\1/ |
3367 |
q |
3368 |
} |
3369 |
/^X\(\/\/\)[^/].*/{ |
3370 |
s//\1/ |
3371 |
q |
3372 |
} |
3373 |
/^X\(\/\/\)$/{ |
3374 |
s//\1/ |
3375 |
q |
3376 |
} |
3377 |
/^X\(\/\).*/{ |
3378 |
s//\1/ |
3379 |
q |
3380 |
} |
3381 |
s/.*/./; q'` |
3382 |
test -d "$as_dir" && break |
3383 |
done |
3384 |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
3385 |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
3386 |
|
3387 |
|
3388 |
} # as_fn_mkdir_p |
3389 |
if mkdir -p . 2>/dev/null; then |
3390 |
as_mkdir_p='mkdir -p "$as_dir"' |
3391 |
else |
3392 |
test -d ./-p && rmdir ./-p |
3393 |
as_mkdir_p=false |
3394 |
fi |
3395 |
|
3396 |
if test -x / >/dev/null 2>&1; then |
3397 |
as_test_x='test -x' |
3398 |
else |
3399 |
if ls -dL / >/dev/null 2>&1; then |
3400 |
as_ls_L_option=L |
3401 |
else |
3402 |
as_ls_L_option= |
3403 |
fi |
3404 |
as_test_x=' |
3405 |
eval sh -c '\'' |
3406 |
if test -d "$1"; then |
3407 |
test -d "$1/."; |
3408 |
else |
3409 |
case $1 in #( |
3410 |
-*)set "./$1";; |
3411 |
esac; |
3412 |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
3413 |
???[sx]*):;;*)false;;esac;fi |
3414 |
'\'' sh |
3415 |
' |
3416 |
fi |
3417 |
as_executable_p=$as_test_x |
3418 |
|
3419 |
# Sed expression to map a string onto a valid CPP name. |
3420 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
3421 |
|
3422 |
# Sed expression to map a string onto a valid variable name. |
3423 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
3424 |
|
3425 |
|
3426 |
exec 6>&1 |
3427 |
## ----------------------------------- ## |
3428 |
## Main body of $CONFIG_STATUS script. ## |
3429 |
## ----------------------------------- ## |
3430 |
_ASEOF |
3431 |
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 |
3432 |
|
3433 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
3434 |
# Save the log message, to keep $0 and so on meaningful, and to |
3435 |
# report actual input values of CONFIG_FILES etc. instead of their |
3436 |
# values after options handling. |
3437 |
ac_log=" |
3438 |
This file was extended by $as_me, which was |
3439 |
generated by GNU Autoconf 2.68. Invocation command line was |
3440 |
|
3441 |
CONFIG_FILES = $CONFIG_FILES |
3442 |
CONFIG_HEADERS = $CONFIG_HEADERS |
3443 |
CONFIG_LINKS = $CONFIG_LINKS |
3444 |
CONFIG_COMMANDS = $CONFIG_COMMANDS |
3445 |
$ $0 $@ |
3446 |
|
3447 |
on `(hostname || uname -n) 2>/dev/null | sed 1q` |
3448 |
" |
3449 |
|
3450 |
_ACEOF |
3451 |
|
3452 |
case $ac_config_files in *" |
3453 |
"*) set x $ac_config_files; shift; ac_config_files=$*;; |
3454 |
esac |
3455 |
|
3456 |
|
3457 |
|
3458 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
3459 |
# Files that config.status was made for. |
3460 |
config_files="$ac_config_files" |
3461 |
|
3462 |
_ACEOF |
3463 |
|
3464 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
3465 |
ac_cs_usage="\ |
3466 |
\`$as_me' instantiates files and other configuration actions |
3467 |
from templates according to the current configuration. Unless the files |
3468 |
and actions are specified as TAGs, all are instantiated by default. |
3469 |
|
3470 |
Usage: $0 [OPTION]... [TAG]... |
3471 |
|
3472 |
-h, --help print this help, then exit |
3473 |
-V, --version print version number and configuration settings, then exit |
3474 |
--config print configuration, then exit |
3475 |
-q, --quiet, --silent |
3476 |
do not print progress messages |
3477 |
-d, --debug don't remove temporary files |
3478 |
--recheck update $as_me by reconfiguring in the same conditions |
3479 |
--file=FILE[:TEMPLATE] |
3480 |
instantiate the configuration file FILE |
3481 |
|
3482 |
Configuration files: |
3483 |
$config_files |
3484 |
|
3485 |
Report bugs to the package provider." |
3486 |
|
3487 |
_ACEOF |
3488 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
3489 |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
3490 |
ac_cs_version="\\ |
3491 |
config.status |
3492 |
configured by $0, generated by GNU Autoconf 2.68, |
3493 |
with options \\"\$ac_cs_config\\" |
3494 |
|
3495 |
Copyright (C) 2010 Free Software Foundation, Inc. |
3496 |
This config.status script is free software; the Free Software Foundation |
3497 |
gives unlimited permission to copy, distribute and modify it." |
3498 |
|
3499 |
ac_pwd='$ac_pwd' |
3500 |
srcdir='$srcdir' |
3501 |
INSTALL='$INSTALL' |
3502 |
test -n "\$AWK" || AWK=awk |
3503 |
_ACEOF |
3504 |
|
3505 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
3506 |
# The default lists apply if the user does not specify any file. |
3507 |
ac_need_defaults=: |
3508 |
while test $# != 0 |
3509 |
do |
3510 |
case $1 in |
3511 |
--*=?*) |
3512 |
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
3513 |
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
3514 |
ac_shift=: |
3515 |
;; |
3516 |
--*=) |
3517 |
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
3518 |
ac_optarg= |
3519 |
ac_shift=: |
3520 |
;; |
3521 |
*) |
3522 |
ac_option=$1 |
3523 |
ac_optarg=$2 |
3524 |
ac_shift=shift |
3525 |
;; |
3526 |
esac |
3527 |
|
3528 |
case $ac_option in |
3529 |
# Handling of the options. |
3530 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
3531 |
ac_cs_recheck=: ;; |
3532 |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
3533 |
$as_echo "$ac_cs_version"; exit ;; |
3534 |
--config | --confi | --conf | --con | --co | --c ) |
3535 |
$as_echo "$ac_cs_config"; exit ;; |
3536 |
--debug | --debu | --deb | --de | --d | -d ) |
3537 |
debug=: ;; |
3538 |
--file | --fil | --fi | --f ) |
3539 |
$ac_shift |
3540 |
case $ac_optarg in |
3541 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
3542 |
'') as_fn_error $? "missing file argument" ;; |
3543 |
esac |
3544 |
as_fn_append CONFIG_FILES " '$ac_optarg'" |
3545 |
ac_need_defaults=false;; |
3546 |
--he | --h | --help | --hel | -h ) |
3547 |
$as_echo "$ac_cs_usage"; exit ;; |
3548 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
3549 |
| -silent | --silent | --silen | --sile | --sil | --si | --s) |
3550 |
ac_cs_silent=: ;; |
3551 |
|
3552 |
# This is an error. |
3553 |
-*) as_fn_error $? "unrecognized option: \`$1' |
3554 |
Try \`$0 --help' for more information." ;; |
3555 |
|
3556 |
*) as_fn_append ac_config_targets " $1" |
3557 |
ac_need_defaults=false ;; |
3558 |
|
3559 |
esac |
3560 |
shift |
3561 |
done |
3562 |
|
3563 |
ac_configure_extra_args= |
3564 |
|
3565 |
if $ac_cs_silent; then |
3566 |
exec 6>/dev/null |
3567 |
ac_configure_extra_args="$ac_configure_extra_args --silent" |
3568 |
fi |
3569 |
|
3570 |
_ACEOF |
3571 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
3572 |
if \$ac_cs_recheck; then |
3573 |
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
3574 |
shift |
3575 |
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
3576 |
CONFIG_SHELL='$SHELL' |
3577 |
export CONFIG_SHELL |
3578 |
exec "\$@" |
3579 |
fi |
3580 |
|
3581 |
_ACEOF |
3582 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
3583 |
exec 5>>config.log |
3584 |
{ |
3585 |
echo |
3586 |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
3587 |
## Running $as_me. ## |
3588 |
_ASBOX |
3589 |
$as_echo "$ac_log" |
3590 |
} >&5 |
3591 |
|
3592 |
_ACEOF |
3593 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
3594 |
_ACEOF |
3595 |
|
3596 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
3597 |
|
3598 |
# Handling of arguments. |
3599 |
for ac_config_target in $ac_config_targets |
3600 |
do |
3601 |
case $ac_config_target in |
3602 |
"GNUmakefile") CONFIG_FILES="$CONFIG_FILES GNUmakefile" ;; |
3603 |
"search.cgi") CONFIG_FILES="$CONFIG_FILES search.cgi" ;; |
3604 |
|
3605 |
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
3606 |
esac |
3607 |
done |
3608 |
|
3609 |
|
3610 |
# If the user did not use the arguments to specify the items to instantiate, |
3611 |
# then the envvar interface is used. Set only those that are not. |
3612 |
# We use the long form for the default assignment because of an extremely |
3613 |
# bizarre bug on SunOS 4.1.3. |
3614 |
if $ac_need_defaults; then |
3615 |
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
3616 |
fi |
3617 |
|
3618 |
# Have a temporary directory for convenience. Make it in the build tree |
3619 |
# simply because there is no reason against having it here, and in addition, |
3620 |
# creating and moving files from /tmp can sometimes cause problems. |
3621 |
# Hook for its removal unless debugging. |
3622 |
# Note that there is a small window in which the directory will not be cleaned: |
3623 |
# after its creation but before its name has been assigned to `$tmp'. |
3624 |
$debug || |
3625 |
{ |
3626 |
tmp= ac_tmp= |
3627 |
trap 'exit_status=$? |
3628 |
: "${ac_tmp:=$tmp}" |
3629 |
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
3630 |
' 0 |
3631 |
trap 'as_fn_exit 1' 1 2 13 15 |
3632 |
} |
3633 |
# Create a (secure) tmp directory for tmp files. |
3634 |
|
3635 |
{ |
3636 |
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
3637 |
test -d "$tmp" |
3638 |
} || |
3639 |
{ |
3640 |
tmp=./conf$$-$RANDOM |
3641 |
(umask 077 && mkdir "$tmp") |
3642 |
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
3643 |
ac_tmp=$tmp |
3644 |
|
3645 |
# Set up the scripts for CONFIG_FILES section. |
3646 |
# No need to generate them if there are no CONFIG_FILES. |
3647 |
# This happens for instance with `./config.status config.h'. |
3648 |
if test -n "$CONFIG_FILES"; then |
3649 |
|
3650 |
|
3651 |
ac_cr=`echo X | tr X '\015'` |
3652 |
# On cygwin, bash can eat \r inside `` if the user requested igncr. |
3653 |
# But we know of no other shell where ac_cr would be empty at this |
3654 |
# point, so we can use a bashism as a fallback. |
3655 |
if test "x$ac_cr" = x; then |
3656 |
eval ac_cr=\$\'\\r\' |
3657 |
fi |
3658 |
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
3659 |
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
3660 |
ac_cs_awk_cr='\\r' |
3661 |
else |
3662 |
ac_cs_awk_cr=$ac_cr |
3663 |
fi |
3664 |
|
3665 |
echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
3666 |
_ACEOF |
3667 |
|
3668 |
|
3669 |
{ |
3670 |
echo "cat >conf$$subs.awk <<_ACEOF" && |
3671 |
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
3672 |
echo "_ACEOF" |
3673 |
} >conf$$subs.sh || |
3674 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
3675 |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
3676 |
ac_delim='%!_!# ' |
3677 |
for ac_last_try in false false false false false :; do |
3678 |
. ./conf$$subs.sh || |
3679 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
3680 |
|
3681 |
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
3682 |
if test $ac_delim_n = $ac_delim_num; then |
3683 |
break |
3684 |
elif $ac_last_try; then |
3685 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
3686 |
else |
3687 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
3688 |
fi |
3689 |
done |
3690 |
rm -f conf$$subs.sh |
3691 |
|
3692 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
3693 |
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
3694 |
_ACEOF |
3695 |
sed -n ' |
3696 |
h |
3697 |
s/^/S["/; s/!.*/"]=/ |
3698 |
p |
3699 |
g |
3700 |
s/^[^!]*!// |
3701 |
:repl |
3702 |
t repl |
3703 |
s/'"$ac_delim"'$// |
3704 |
t delim |
3705 |
:nl |
3706 |
h |
3707 |
s/\(.\{148\}\)..*/\1/ |
3708 |
t more1 |
3709 |
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
3710 |
p |
3711 |
n |
3712 |
b repl |
3713 |
:more1 |
3714 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
3715 |
p |
3716 |
g |
3717 |
s/.\{148\}// |
3718 |
t nl |
3719 |
:delim |
3720 |
h |
3721 |
s/\(.\{148\}\)..*/\1/ |
3722 |
t more2 |
3723 |
s/["\\]/\\&/g; s/^/"/; s/$/"/ |
3724 |
p |
3725 |
b |
3726 |
:more2 |
3727 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
3728 |
p |
3729 |
g |
3730 |
s/.\{148\}// |
3731 |
t delim |
3732 |
' <conf$$subs.awk | sed ' |
3733 |
/^[^""]/{ |
3734 |
N |
3735 |
s/\n// |
3736 |
} |
3737 |
' >>$CONFIG_STATUS || ac_write_fail=1 |
3738 |
rm -f conf$$subs.awk |
3739 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
3740 |
_ACAWK |
3741 |
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
3742 |
for (key in S) S_is_set[key] = 1 |
3743 |
FS = "" |
3744 |
|
3745 |
} |
3746 |
{ |
3747 |
line = $ 0 |
3748 |
nfields = split(line, field, "@") |
3749 |
substed = 0 |
3750 |
len = length(field[1]) |
3751 |
for (i = 2; i < nfields; i++) { |
3752 |
key = field[i] |
3753 |
keylen = length(key) |
3754 |
if (S_is_set[key]) { |
3755 |
value = S[key] |
3756 |
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
3757 |
len += length(value) + length(field[++i]) |
3758 |
substed = 1 |
3759 |
} else |
3760 |
len += 1 + keylen |
3761 |
} |
3762 |
|
3763 |
print line |
3764 |
} |
3765 |
|
3766 |
_ACAWK |
3767 |
_ACEOF |
3768 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
3769 |
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
3770 |
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
3771 |
else |
3772 |
cat |
3773 |
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
3774 |
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
3775 |
_ACEOF |
3776 |
|
3777 |
# VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
3778 |
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
3779 |
# trailing colons and then remove the whole line if VPATH becomes empty |
3780 |
# (actually we leave an empty line to preserve line numbers). |
3781 |
if test "x$srcdir" = x.; then |
3782 |
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
3783 |
h |
3784 |
s/// |
3785 |
s/^/:/ |
3786 |
s/[ ]*$/:/ |
3787 |
s/:\$(srcdir):/:/g |
3788 |
s/:\${srcdir}:/:/g |
3789 |
s/:@srcdir@:/:/g |
3790 |
s/^:*// |
3791 |
s/:*$// |
3792 |
x |
3793 |
s/\(=[ ]*\).*/\1/ |
3794 |
G |
3795 |
s/\n// |
3796 |
s/^[^=]*=[ ]*$// |
3797 |
}' |
3798 |
fi |
3799 |
|
3800 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
3801 |
fi # test -n "$CONFIG_FILES" |
3802 |
|
3803 |
|
3804 |
eval set X " :F $CONFIG_FILES " |
3805 |
shift |
3806 |
for ac_tag |
3807 |
do |
3808 |
case $ac_tag in |
3809 |
:[FHLC]) ac_mode=$ac_tag; continue;; |
3810 |
esac |
3811 |
case $ac_mode$ac_tag in |
3812 |
:[FHL]*:*);; |
3813 |
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
3814 |
:[FH]-) ac_tag=-:-;; |
3815 |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
3816 |
esac |
3817 |
ac_save_IFS=$IFS |
3818 |
IFS=: |
3819 |
set x $ac_tag |
3820 |
IFS=$ac_save_IFS |
3821 |
shift |
3822 |
ac_file=$1 |
3823 |
shift |
3824 |
|
3825 |
case $ac_mode in |
3826 |
:L) ac_source=$1;; |
3827 |
:[FH]) |
3828 |
ac_file_inputs= |
3829 |
for ac_f |
3830 |
do |
3831 |
case $ac_f in |
3832 |
-) ac_f="$ac_tmp/stdin";; |
3833 |
*) # Look for the file first in the build tree, then in the source tree |
3834 |
# (if the path is not absolute). The absolute path cannot be DOS-style, |
3835 |
# because $ac_f cannot contain `:'. |
3836 |
test -f "$ac_f" || |
3837 |
case $ac_f in |
3838 |
[\\/$]*) false;; |
3839 |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
3840 |
esac || |
3841 |
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
3842 |
esac |
3843 |
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
3844 |
as_fn_append ac_file_inputs " '$ac_f'" |
3845 |
done |
3846 |
|
3847 |
# Let's still pretend it is `configure' which instantiates (i.e., don't |
3848 |
# use $as_me), people would be surprised to read: |
3849 |
# /* config.h. Generated by config.status. */ |
3850 |
configure_input='Generated from '` |
3851 |
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
3852 |
`' by configure.' |
3853 |
if test x"$ac_file" != x-; then |
3854 |
configure_input="$ac_file. $configure_input" |
3855 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
3856 |
$as_echo "$as_me: creating $ac_file" >&6;} |
3857 |
fi |
3858 |
# Neutralize special characters interpreted by sed in replacement strings. |
3859 |
case $configure_input in #( |
3860 |
*\&* | *\|* | *\\* ) |
3861 |
ac_sed_conf_input=`$as_echo "$configure_input" | |
3862 |
sed 's/[\\\\&|]/\\\\&/g'`;; #( |
3863 |
*) ac_sed_conf_input=$configure_input;; |
3864 |
esac |
3865 |
|
3866 |
case $ac_tag in |
3867 |
*:-:* | *:-) cat >"$ac_tmp/stdin" \ |
3868 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
3869 |
esac |
3870 |
;; |
3871 |
esac |
3872 |
|
3873 |
ac_dir=`$as_dirname -- "$ac_file" || |
3874 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
3875 |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
3876 |
X"$ac_file" : 'X\(//\)$' \| \ |
3877 |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
3878 |
$as_echo X"$ac_file" | |
3879 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
3880 |
s//\1/ |
3881 |
q |
3882 |
} |
3883 |
/^X\(\/\/\)[^/].*/{ |
3884 |
s//\1/ |
3885 |
q |
3886 |
} |
3887 |
/^X\(\/\/\)$/{ |
3888 |
s//\1/ |
3889 |
q |
3890 |
} |
3891 |
/^X\(\/\).*/{ |
3892 |
s//\1/ |
3893 |
q |
3894 |
} |
3895 |
s/.*/./; q'` |
3896 |
as_dir="$ac_dir"; as_fn_mkdir_p |
3897 |
ac_builddir=. |
3898 |
|
3899 |
case "$ac_dir" in |
3900 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
3901 |
*) |
3902 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
3903 |
# A ".." for each directory in $ac_dir_suffix. |
3904 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
3905 |
case $ac_top_builddir_sub in |
3906 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
3907 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
3908 |
esac ;; |
3909 |
esac |
3910 |
ac_abs_top_builddir=$ac_pwd |
3911 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
3912 |
# for backward compatibility: |
3913 |
ac_top_builddir=$ac_top_build_prefix |
3914 |
|
3915 |
case $srcdir in |
3916 |
.) # We are building in place. |
3917 |
ac_srcdir=. |
3918 |
ac_top_srcdir=$ac_top_builddir_sub |
3919 |
ac_abs_top_srcdir=$ac_pwd ;; |
3920 |
[\\/]* | ?:[\\/]* ) # Absolute name. |
3921 |
ac_srcdir=$srcdir$ac_dir_suffix; |
3922 |
ac_top_srcdir=$srcdir |
3923 |
ac_abs_top_srcdir=$srcdir ;; |
3924 |
*) # Relative name. |
3925 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
3926 |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
3927 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
3928 |
esac |
3929 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
3930 |
|
3931 |
|
3932 |
case $ac_mode in |
3933 |
:F) |
3934 |
# |
3935 |
# CONFIG_FILE |
3936 |
# |
3937 |
|
3938 |
case $INSTALL in |
3939 |
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
3940 |
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
3941 |
esac |
3942 |
_ACEOF |
3943 |
|
3944 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
3945 |
# If the template does not know about datarootdir, expand it. |
3946 |
# FIXME: This hack should be removed a few years after 2.60. |
3947 |
ac_datarootdir_hack=; ac_datarootdir_seen= |
3948 |
ac_sed_dataroot=' |
3949 |
/datarootdir/ { |
3950 |
p |
3951 |
q |
3952 |
} |
3953 |
/@datadir@/p |
3954 |
/@docdir@/p |
3955 |
/@infodir@/p |
3956 |
/@localedir@/p |
3957 |
/@mandir@/p' |
3958 |
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
3959 |
*datarootdir*) ac_datarootdir_seen=yes;; |
3960 |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
3961 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
3962 |
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
3963 |
_ACEOF |
3964 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
3965 |
ac_datarootdir_hack=' |
3966 |
s&@datadir@&$datadir&g |
3967 |
s&@docdir@&$docdir&g |
3968 |
s&@infodir@&$infodir&g |
3969 |
s&@localedir@&$localedir&g |
3970 |
s&@mandir@&$mandir&g |
3971 |
s&\\\${datarootdir}&$datarootdir&g' ;; |
3972 |
esac |
3973 |
_ACEOF |
3974 |
|
3975 |
# Neutralize VPATH when `$srcdir' = `.'. |
3976 |
# Shell code in configure.ac might set extrasub. |
3977 |
# FIXME: do we really want to maintain this feature? |
3978 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
3979 |
ac_sed_extra="$ac_vpsub |
3980 |
$extrasub |
3981 |
_ACEOF |
3982 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
3983 |
:t |
3984 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
3985 |
s|@configure_input@|$ac_sed_conf_input|;t t |
3986 |
s&@top_builddir@&$ac_top_builddir_sub&;t t |
3987 |
s&@top_build_prefix@&$ac_top_build_prefix&;t t |
3988 |
s&@srcdir@&$ac_srcdir&;t t |
3989 |
s&@abs_srcdir@&$ac_abs_srcdir&;t t |
3990 |
s&@top_srcdir@&$ac_top_srcdir&;t t |
3991 |
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
3992 |
s&@builddir@&$ac_builddir&;t t |
3993 |
s&@abs_builddir@&$ac_abs_builddir&;t t |
3994 |
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
3995 |
s&@INSTALL@&$ac_INSTALL&;t t |
3996 |
$ac_datarootdir_hack |
3997 |
" |
3998 |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
3999 |
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
4000 |
|
4001 |
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
4002 |
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
4003 |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
4004 |
"$ac_tmp/out"`; test -z "$ac_out"; } && |
4005 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
4006 |
which seems to be undefined. Please make sure it is defined" >&5 |
4007 |
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
4008 |
which seems to be undefined. Please make sure it is defined" >&2;} |
4009 |
|
4010 |
rm -f "$ac_tmp/stdin" |
4011 |
case $ac_file in |
4012 |
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
4013 |
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
4014 |
esac \ |
4015 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
4016 |
;; |
4017 |
|
4018 |
|
4019 |
|
4020 |
esac |
4021 |
|
4022 |
done # for ac_tag |
4023 |
|
4024 |
|
4025 |
as_fn_exit 0 |
4026 |
_ACEOF |
4027 |
ac_clean_files=$ac_clean_files_save |
4028 |
|
4029 |
test $ac_write_fail = 0 || |
4030 |
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
4031 |
|
4032 |
|
4033 |
# configure is writing to config.log, and then calls config.status. |
4034 |
# config.status does its own redirection, appending to config.log. |
4035 |
# Unfortunately, on DOS this fails, as config.log is still kept open |
4036 |
# by configure, so config.status won't be able to write to it; its |
4037 |
# output is simply discarded. So we exec the FD to /dev/null, |
4038 |
# effectively closing config.log, so it can be properly (re)opened and |
4039 |
# appended to by config.status. When coming back to configure, we |
4040 |
# need to make the FD available again. |
4041 |
if test "$no_create" != yes; then |
4042 |
ac_cs_success=: |
4043 |
ac_config_status_args= |
4044 |
test "$silent" = yes && |
4045 |
ac_config_status_args="$ac_config_status_args --quiet" |
4046 |
exec 5>/dev/null |
4047 |
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
4048 |
exec 5>>config.log |
4049 |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
4050 |
# would make configure fail if this is the last instruction. |
4051 |
$ac_cs_success || as_fn_exit 1 |
4052 |
fi |
4053 |
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
4054 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
4055 |
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
4056 |
fi |
4057 |
|