Debian Codegraph @

configure

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