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