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