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