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