configure revision 75d3e600330e3545f36e38fb3cd5d139582e07e4
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.65 for breakpad 0.1.
4#
5# Report bugs to <google-breakpad-dev@googlegroups.com>.
6#
7#
8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
10# Inc.
11#
12#
13# This configure script is free software; the Free Software Foundation
14# gives unlimited permission to copy, distribute and modify it.
15## -------------------- ##
16## M4sh Initialization. ##
17## -------------------- ##
18
19# Be more Bourne compatible
20DUALCASE=1; export DUALCASE # for MKS sh
21if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22  emulate sh
23  NULLCMD=:
24  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25  # is contrary to our usage.  Disable this feature.
26  alias -g '${1+"$@"}'='"$@"'
27  setopt NO_GLOB_SUBST
28else
29  case `(set -o) 2>/dev/null` in #(
30  *posix*) :
31    set -o posix ;; #(
32  *) :
33     ;;
34esac
35fi
36
37
38as_nl='
39'
40export as_nl
41# Printing a long string crashes Solaris 7 /usr/bin/printf.
42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45# Prefer a ksh shell builtin over an external printf program on Solaris,
46# but without wasting forks for bash or zsh.
47if test -z "$BASH_VERSION$ZSH_VERSION" \
48    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49  as_echo='print -r --'
50  as_echo_n='print -rn --'
51elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52  as_echo='printf %s\n'
53  as_echo_n='printf %s'
54else
55  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57    as_echo_n='/usr/ucb/echo -n'
58  else
59    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60    as_echo_n_body='eval
61      arg=$1;
62      case $arg in #(
63      *"$as_nl"*)
64	expr "X$arg" : "X\\(.*\\)$as_nl";
65	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66      esac;
67      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68    '
69    export as_echo_n_body
70    as_echo_n='sh -c $as_echo_n_body as_echo'
71  fi
72  export as_echo_body
73  as_echo='sh -c $as_echo_body as_echo'
74fi
75
76# The user is always right.
77if test "${PATH_SEPARATOR+set}" != set; then
78  PATH_SEPARATOR=:
79  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81      PATH_SEPARATOR=';'
82  }
83fi
84
85
86# IFS
87# We need space, tab and new line, in precisely that order.  Quoting is
88# there to prevent editors from complaining about space-tab.
89# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90# splitting by setting IFS to empty value.)
91IFS=" ""	$as_nl"
92
93# Find who we are.  Look in the path if we contain no directory separator.
94case $0 in #((
95  *[\\/]* ) as_myself=$0 ;;
96  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97for as_dir in $PATH
98do
99  IFS=$as_save_IFS
100  test -z "$as_dir" && as_dir=.
101    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102  done
103IFS=$as_save_IFS
104
105     ;;
106esac
107# We did not find ourselves, most probably we were run as `sh COMMAND'
108# in which case we are not to be found in the path.
109if test "x$as_myself" = x; then
110  as_myself=$0
111fi
112if test ! -f "$as_myself"; then
113  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114  exit 1
115fi
116
117# Unset variables that we do not need and which cause bugs (e.g. in
118# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
119# suppresses any "Segmentation fault" message there.  '((' could
120# trigger a bug in pdksh 5.2.14.
121for as_var in BASH_ENV ENV MAIL MAILPATH
122do eval test x\${$as_var+set} = xset \
123  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124done
125PS1='$ '
126PS2='> '
127PS4='+ '
128
129# NLS nuisances.
130LC_ALL=C
131export LC_ALL
132LANGUAGE=C
133export LANGUAGE
134
135# CDPATH.
136(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
138if test "x$CONFIG_SHELL" = x; then
139  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140  emulate sh
141  NULLCMD=:
142  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143  # is contrary to our usage.  Disable this feature.
144  alias -g '\${1+\"\$@\"}'='\"\$@\"'
145  setopt NO_GLOB_SUBST
146else
147  case \`(set -o) 2>/dev/null\` in #(
148  *posix*) :
149    set -o posix ;; #(
150  *) :
151     ;;
152esac
153fi
154"
155  as_required="as_fn_return () { (exit \$1); }
156as_fn_success () { as_fn_return 0; }
157as_fn_failure () { as_fn_return 1; }
158as_fn_ret_success () { return 0; }
159as_fn_ret_failure () { return 1; }
160
161exitcode=0
162as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167
168else
169  exitcode=1; echo positional parameters were not saved.
170fi
171test x\$exitcode = x0 || exit 1"
172  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176test \$(( 1 + 1 )) = 2 || exit 1"
177  if (eval "$as_required") 2>/dev/null; then :
178  as_have_required=yes
179else
180  as_have_required=no
181fi
182  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183
184else
185  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
186as_found=false
187for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188do
189  IFS=$as_save_IFS
190  test -z "$as_dir" && as_dir=.
191  as_found=:
192  case $as_dir in #(
193	 /*)
194	   for as_base in sh bash ksh sh5; do
195	     # Try only shells that exist, to save several forks.
196	     as_shell=$as_dir/$as_base
197	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199  CONFIG_SHELL=$as_shell as_have_required=yes
200		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
201  break 2
202fi
203fi
204	   done;;
205       esac
206  as_found=false
207done
208$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210  CONFIG_SHELL=$SHELL as_have_required=yes
211fi; }
212IFS=$as_save_IFS
213
214
215      if test "x$CONFIG_SHELL" != x; then :
216  # We cannot yet assume a decent shell, so we have to provide a
217	# neutralization value for shells without unset; and this also
218	# works around shells that cannot unset nonexistent variables.
219	BASH_ENV=/dev/null
220	ENV=/dev/null
221	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222	export CONFIG_SHELL
223	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224fi
225
226    if test x$as_have_required = xno; then :
227  $as_echo "$0: This script requires a shell more modern than all"
228  $as_echo "$0: the shells that I found on your system."
229  if test x${ZSH_VERSION+set} = xset ; then
230    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
232  else
233    $as_echo "$0: Please tell bug-autoconf@gnu.org and
234$0: google-breakpad-dev@googlegroups.com about your system,
235$0: including any error possibly output before this
236$0: message. Then install a modern shell, or manually run
237$0: the script under such a shell if you do have one."
238  fi
239  exit 1
240fi
241fi
242fi
243SHELL=${CONFIG_SHELL-/bin/sh}
244export SHELL
245# Unset more variables known to interfere with behavior of common tools.
246CLICOLOR_FORCE= GREP_OPTIONS=
247unset CLICOLOR_FORCE GREP_OPTIONS
248
249## --------------------- ##
250## M4sh Shell Functions. ##
251## --------------------- ##
252# as_fn_unset VAR
253# ---------------
254# Portably unset VAR.
255as_fn_unset ()
256{
257  { eval $1=; unset $1;}
258}
259as_unset=as_fn_unset
260
261# as_fn_set_status STATUS
262# -----------------------
263# Set $? to STATUS, without forking.
264as_fn_set_status ()
265{
266  return $1
267} # as_fn_set_status
268
269# as_fn_exit STATUS
270# -----------------
271# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
272as_fn_exit ()
273{
274  set +e
275  as_fn_set_status $1
276  exit $1
277} # as_fn_exit
278
279# as_fn_mkdir_p
280# -------------
281# Create "$as_dir" as a directory, including parents if necessary.
282as_fn_mkdir_p ()
283{
284
285  case $as_dir in #(
286  -*) as_dir=./$as_dir;;
287  esac
288  test -d "$as_dir" || eval $as_mkdir_p || {
289    as_dirs=
290    while :; do
291      case $as_dir in #(
292      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
293      *) as_qdir=$as_dir;;
294      esac
295      as_dirs="'$as_qdir' $as_dirs"
296      as_dir=`$as_dirname -- "$as_dir" ||
297$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298	 X"$as_dir" : 'X\(//\)[^/]' \| \
299	 X"$as_dir" : 'X\(//\)$' \| \
300	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301$as_echo X"$as_dir" |
302    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
303	    s//\1/
304	    q
305	  }
306	  /^X\(\/\/\)[^/].*/{
307	    s//\1/
308	    q
309	  }
310	  /^X\(\/\/\)$/{
311	    s//\1/
312	    q
313	  }
314	  /^X\(\/\).*/{
315	    s//\1/
316	    q
317	  }
318	  s/.*/./; q'`
319      test -d "$as_dir" && break
320    done
321    test -z "$as_dirs" || eval "mkdir $as_dirs"
322  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
323
324
325} # as_fn_mkdir_p
326# as_fn_append VAR VALUE
327# ----------------------
328# Append the text in VALUE to the end of the definition contained in VAR. Take
329# advantage of any shell optimizations that allow amortized linear growth over
330# repeated appends, instead of the typical quadratic growth present in naive
331# implementations.
332if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333  eval 'as_fn_append ()
334  {
335    eval $1+=\$2
336  }'
337else
338  as_fn_append ()
339  {
340    eval $1=\$$1\$2
341  }
342fi # as_fn_append
343
344# as_fn_arith ARG...
345# ------------------
346# Perform arithmetic evaluation on the ARGs, and store the result in the
347# global $as_val. Take advantage of shells that can avoid forks. The arguments
348# must be portable across $(()) and expr.
349if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
350  eval 'as_fn_arith ()
351  {
352    as_val=$(( $* ))
353  }'
354else
355  as_fn_arith ()
356  {
357    as_val=`expr "$@" || test $? -eq 1`
358  }
359fi # as_fn_arith
360
361
362# as_fn_error ERROR [LINENO LOG_FD]
363# ---------------------------------
364# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366# script with status $?, using 1 if that was 0.
367as_fn_error ()
368{
369  as_status=$?; test $as_status -eq 0 && as_status=1
370  if test "$3"; then
371    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
373  fi
374  $as_echo "$as_me: error: $1" >&2
375  as_fn_exit $as_status
376} # as_fn_error
377
378if expr a : '\(a\)' >/dev/null 2>&1 &&
379   test "X`expr 00001 : '.*\(...\)'`" = X001; then
380  as_expr=expr
381else
382  as_expr=false
383fi
384
385if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386  as_basename=basename
387else
388  as_basename=false
389fi
390
391if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
392  as_dirname=dirname
393else
394  as_dirname=false
395fi
396
397as_me=`$as_basename -- "$0" ||
398$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399	 X"$0" : 'X\(//\)$' \| \
400	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
401$as_echo X/"$0" |
402    sed '/^.*\/\([^/][^/]*\)\/*$/{
403	    s//\1/
404	    q
405	  }
406	  /^X\/\(\/\/\)$/{
407	    s//\1/
408	    q
409	  }
410	  /^X\/\(\/\).*/{
411	    s//\1/
412	    q
413	  }
414	  s/.*/./; q'`
415
416# Avoid depending upon Character Ranges.
417as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420as_cr_digits='0123456789'
421as_cr_alnum=$as_cr_Letters$as_cr_digits
422
423
424  as_lineno_1=$LINENO as_lineno_1a=$LINENO
425  as_lineno_2=$LINENO as_lineno_2a=$LINENO
426  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
429  sed -n '
430    p
431    /[$]LINENO/=
432  ' <$as_myself |
433    sed '
434      s/[$]LINENO.*/&-/
435      t lineno
436      b
437      :lineno
438      N
439      :loop
440      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441      t loop
442      s/-\n.*//
443    ' >$as_me.lineno &&
444  chmod +x "$as_me.lineno" ||
445    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
446
447  # Don't try to exec as it changes $[0], causing all sort of problems
448  # (the dirname of $[0] is not the place where we might find the
449  # original and so on.  Autoconf is especially sensitive to this).
450  . "./$as_me.lineno"
451  # Exit status is that of the last command.
452  exit
453}
454
455ECHO_C= ECHO_N= ECHO_T=
456case `echo -n x` in #(((((
457-n*)
458  case `echo 'xy\c'` in
459  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
460  xy)  ECHO_C='\c';;
461  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
462       ECHO_T='	';;
463  esac;;
464*)
465  ECHO_N='-n';;
466esac
467
468rm -f conf$$ conf$$.exe conf$$.file
469if test -d conf$$.dir; then
470  rm -f conf$$.dir/conf$$.file
471else
472  rm -f conf$$.dir
473  mkdir conf$$.dir 2>/dev/null
474fi
475if (echo >conf$$.file) 2>/dev/null; then
476  if ln -s conf$$.file conf$$ 2>/dev/null; then
477    as_ln_s='ln -s'
478    # ... but there are two gotchas:
479    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481    # In both cases, we have to default to `cp -p'.
482    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
483      as_ln_s='cp -p'
484  elif ln conf$$.file conf$$ 2>/dev/null; then
485    as_ln_s=ln
486  else
487    as_ln_s='cp -p'
488  fi
489else
490  as_ln_s='cp -p'
491fi
492rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493rmdir conf$$.dir 2>/dev/null
494
495if mkdir -p . 2>/dev/null; then
496  as_mkdir_p='mkdir -p "$as_dir"'
497else
498  test -d ./-p && rmdir ./-p
499  as_mkdir_p=false
500fi
501
502if test -x / >/dev/null 2>&1; then
503  as_test_x='test -x'
504else
505  if ls -dL / >/dev/null 2>&1; then
506    as_ls_L_option=L
507  else
508    as_ls_L_option=
509  fi
510  as_test_x='
511    eval sh -c '\''
512      if test -d "$1"; then
513	test -d "$1/.";
514      else
515	case $1 in #(
516	-*)set "./$1";;
517	esac;
518	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519	???[sx]*):;;*)false;;esac;fi
520    '\'' sh
521  '
522fi
523as_executable_p=$as_test_x
524
525# Sed expression to map a string onto a valid CPP name.
526as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
527
528# Sed expression to map a string onto a valid variable name.
529as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530
531
532test -n "$DJDIR" || exec 7<&0 </dev/null
533exec 6>&1
534
535# Name of the host.
536# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
537# so uname gets run too.
538ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
539
540#
541# Initializations.
542#
543ac_default_prefix=/usr/local
544ac_clean_files=
545ac_config_libobj_dir=.
546LIBOBJS=
547cross_compiling=no
548subdirs=
549MFLAGS=
550MAKEFLAGS=
551
552# Identity of this package.
553PACKAGE_NAME='breakpad'
554PACKAGE_TARNAME='breakpad'
555PACKAGE_VERSION='0.1'
556PACKAGE_STRING='breakpad 0.1'
557PACKAGE_BUGREPORT='google-breakpad-dev@googlegroups.com'
558PACKAGE_URL=''
559
560ac_unique_file="README"
561# Factoring default headers for most tests.
562ac_includes_default="\
563#include <stdio.h>
564#ifdef HAVE_SYS_TYPES_H
565# include <sys/types.h>
566#endif
567#ifdef HAVE_SYS_STAT_H
568# include <sys/stat.h>
569#endif
570#ifdef STDC_HEADERS
571# include <stdlib.h>
572# include <stddef.h>
573#else
574# ifdef HAVE_STDLIB_H
575#  include <stdlib.h>
576# endif
577#endif
578#ifdef HAVE_STRING_H
579# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
580#  include <memory.h>
581# endif
582# include <string.h>
583#endif
584#ifdef HAVE_STRINGS_H
585# include <strings.h>
586#endif
587#ifdef HAVE_INTTYPES_H
588# include <inttypes.h>
589#endif
590#ifdef HAVE_STDINT_H
591# include <stdint.h>
592#endif
593#ifdef HAVE_UNISTD_H
594# include <unistd.h>
595#endif"
596
597ac_subst_vars='am__EXEEXT_FALSE
598am__EXEEXT_TRUE
599LTLIBOBJS
600LIBOBJS
601SELFTEST_FALSE
602SELFTEST_TRUE
603DISABLE_MD2CORE_FALSE
604DISABLE_MD2CORE_TRUE
605DISABLE_CORE2MD_FALSE
606DISABLE_CORE2MD_TRUE
607DISABLE_TOOLS_FALSE
608DISABLE_TOOLS_TRUE
609DISABLE_PROCESSOR_FALSE
610DISABLE_PROCESSOR_TRUE
611LINUX_HOST_FALSE
612LINUX_HOST_TRUE
613PTHREAD_CFLAGS
614PTHREAD_LIBS
615PTHREAD_CC
616ax_pthread_config
617EGREP
618GREP
619RANLIB
620am__fastdepCXX_FALSE
621am__fastdepCXX_TRUE
622CXXDEPMODE
623ac_ct_CXX
624CXXFLAGS
625CXX
626CPP
627am__fastdepCC_FALSE
628am__fastdepCC_TRUE
629CCDEPMODE
630AMDEPBACKSLASH
631AMDEP_FALSE
632AMDEP_TRUE
633am__quote
634am__include
635DEPDIR
636OBJEXT
637EXEEXT
638ac_ct_CC
639CPPFLAGS
640LDFLAGS
641CFLAGS
642CC
643am__untar
644am__tar
645AMTAR
646am__leading_dot
647SET_MAKE
648AWK
649mkdir_p
650MKDIR_P
651INSTALL_STRIP_PROGRAM
652STRIP
653install_sh
654MAKEINFO
655AUTOHEADER
656AUTOMAKE
657AUTOCONF
658ACLOCAL
659VERSION
660PACKAGE
661CYGPATH_W
662am__isrc
663INSTALL_DATA
664INSTALL_SCRIPT
665INSTALL_PROGRAM
666host_os
667host_vendor
668host_cpu
669host
670build_os
671build_vendor
672build_cpu
673build
674target_alias
675host_alias
676build_alias
677LIBS
678ECHO_T
679ECHO_N
680ECHO_C
681DEFS
682mandir
683localedir
684libdir
685psdir
686pdfdir
687dvidir
688htmldir
689infodir
690docdir
691oldincludedir
692includedir
693localstatedir
694sharedstatedir
695sysconfdir
696datadir
697datarootdir
698libexecdir
699sbindir
700bindir
701program_transform_name
702prefix
703exec_prefix
704PACKAGE_URL
705PACKAGE_BUGREPORT
706PACKAGE_STRING
707PACKAGE_VERSION
708PACKAGE_TARNAME
709PACKAGE_NAME
710PATH_SEPARATOR
711SHELL'
712ac_subst_files=''
713ac_user_opts='
714enable_option_checking
715enable_dependency_tracking
716enable_m32
717enable_processor
718enable_tools
719enable_core2md
720enable_md2core
721enable_selftest
722'
723      ac_precious_vars='build_alias
724host_alias
725target_alias
726CC
727CFLAGS
728LDFLAGS
729LIBS
730CPPFLAGS
731CPP
732CXX
733CXXFLAGS
734CCC'
735
736
737# Initialize some variables set by options.
738ac_init_help=
739ac_init_version=false
740ac_unrecognized_opts=
741ac_unrecognized_sep=
742# The variables have the same names as the options, with
743# dashes changed to underlines.
744cache_file=/dev/null
745exec_prefix=NONE
746no_create=
747no_recursion=
748prefix=NONE
749program_prefix=NONE
750program_suffix=NONE
751program_transform_name=s,x,x,
752silent=
753site=
754srcdir=
755verbose=
756x_includes=NONE
757x_libraries=NONE
758
759# Installation directory options.
760# These are left unexpanded so users can "make install exec_prefix=/foo"
761# and all the variables that are supposed to be based on exec_prefix
762# by default will actually change.
763# Use braces instead of parens because sh, perl, etc. also accept them.
764# (The list follows the same order as the GNU Coding Standards.)
765bindir='${exec_prefix}/bin'
766sbindir='${exec_prefix}/sbin'
767libexecdir='${exec_prefix}/libexec'
768datarootdir='${prefix}/share'
769datadir='${datarootdir}'
770sysconfdir='${prefix}/etc'
771sharedstatedir='${prefix}/com'
772localstatedir='${prefix}/var'
773includedir='${prefix}/include'
774oldincludedir='/usr/include'
775docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
776infodir='${datarootdir}/info'
777htmldir='${docdir}'
778dvidir='${docdir}'
779pdfdir='${docdir}'
780psdir='${docdir}'
781libdir='${exec_prefix}/lib'
782localedir='${datarootdir}/locale'
783mandir='${datarootdir}/man'
784
785ac_prev=
786ac_dashdash=
787for ac_option
788do
789  # If the previous option needs an argument, assign it.
790  if test -n "$ac_prev"; then
791    eval $ac_prev=\$ac_option
792    ac_prev=
793    continue
794  fi
795
796  case $ac_option in
797  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
798  *)	ac_optarg=yes ;;
799  esac
800
801  # Accept the important Cygnus configure options, so we can diagnose typos.
802
803  case $ac_dashdash$ac_option in
804  --)
805    ac_dashdash=yes ;;
806
807  -bindir | --bindir | --bindi | --bind | --bin | --bi)
808    ac_prev=bindir ;;
809  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
810    bindir=$ac_optarg ;;
811
812  -build | --build | --buil | --bui | --bu)
813    ac_prev=build_alias ;;
814  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
815    build_alias=$ac_optarg ;;
816
817  -cache-file | --cache-file | --cache-fil | --cache-fi \
818  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
819    ac_prev=cache_file ;;
820  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
821  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
822    cache_file=$ac_optarg ;;
823
824  --config-cache | -C)
825    cache_file=config.cache ;;
826
827  -datadir | --datadir | --datadi | --datad)
828    ac_prev=datadir ;;
829  -datadir=* | --datadir=* | --datadi=* | --datad=*)
830    datadir=$ac_optarg ;;
831
832  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
833  | --dataroo | --dataro | --datar)
834    ac_prev=datarootdir ;;
835  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
836  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
837    datarootdir=$ac_optarg ;;
838
839  -disable-* | --disable-*)
840    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
841    # Reject names that are not valid shell variable names.
842    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
843      as_fn_error "invalid feature name: $ac_useropt"
844    ac_useropt_orig=$ac_useropt
845    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
846    case $ac_user_opts in
847      *"
848"enable_$ac_useropt"
849"*) ;;
850      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
851	 ac_unrecognized_sep=', ';;
852    esac
853    eval enable_$ac_useropt=no ;;
854
855  -docdir | --docdir | --docdi | --doc | --do)
856    ac_prev=docdir ;;
857  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
858    docdir=$ac_optarg ;;
859
860  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
861    ac_prev=dvidir ;;
862  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
863    dvidir=$ac_optarg ;;
864
865  -enable-* | --enable-*)
866    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
867    # Reject names that are not valid shell variable names.
868    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
869      as_fn_error "invalid feature name: $ac_useropt"
870    ac_useropt_orig=$ac_useropt
871    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
872    case $ac_user_opts in
873      *"
874"enable_$ac_useropt"
875"*) ;;
876      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
877	 ac_unrecognized_sep=', ';;
878    esac
879    eval enable_$ac_useropt=\$ac_optarg ;;
880
881  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
882  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
883  | --exec | --exe | --ex)
884    ac_prev=exec_prefix ;;
885  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
886  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
887  | --exec=* | --exe=* | --ex=*)
888    exec_prefix=$ac_optarg ;;
889
890  -gas | --gas | --ga | --g)
891    # Obsolete; use --with-gas.
892    with_gas=yes ;;
893
894  -help | --help | --hel | --he | -h)
895    ac_init_help=long ;;
896  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
897    ac_init_help=recursive ;;
898  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
899    ac_init_help=short ;;
900
901  -host | --host | --hos | --ho)
902    ac_prev=host_alias ;;
903  -host=* | --host=* | --hos=* | --ho=*)
904    host_alias=$ac_optarg ;;
905
906  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
907    ac_prev=htmldir ;;
908  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
909  | --ht=*)
910    htmldir=$ac_optarg ;;
911
912  -includedir | --includedir | --includedi | --included | --include \
913  | --includ | --inclu | --incl | --inc)
914    ac_prev=includedir ;;
915  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
916  | --includ=* | --inclu=* | --incl=* | --inc=*)
917    includedir=$ac_optarg ;;
918
919  -infodir | --infodir | --infodi | --infod | --info | --inf)
920    ac_prev=infodir ;;
921  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
922    infodir=$ac_optarg ;;
923
924  -libdir | --libdir | --libdi | --libd)
925    ac_prev=libdir ;;
926  -libdir=* | --libdir=* | --libdi=* | --libd=*)
927    libdir=$ac_optarg ;;
928
929  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
930  | --libexe | --libex | --libe)
931    ac_prev=libexecdir ;;
932  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
933  | --libexe=* | --libex=* | --libe=*)
934    libexecdir=$ac_optarg ;;
935
936  -localedir | --localedir | --localedi | --localed | --locale)
937    ac_prev=localedir ;;
938  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
939    localedir=$ac_optarg ;;
940
941  -localstatedir | --localstatedir | --localstatedi | --localstated \
942  | --localstate | --localstat | --localsta | --localst | --locals)
943    ac_prev=localstatedir ;;
944  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
945  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
946    localstatedir=$ac_optarg ;;
947
948  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
949    ac_prev=mandir ;;
950  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
951    mandir=$ac_optarg ;;
952
953  -nfp | --nfp | --nf)
954    # Obsolete; use --without-fp.
955    with_fp=no ;;
956
957  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
958  | --no-cr | --no-c | -n)
959    no_create=yes ;;
960
961  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
962  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
963    no_recursion=yes ;;
964
965  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
966  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
967  | --oldin | --oldi | --old | --ol | --o)
968    ac_prev=oldincludedir ;;
969  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
970  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
971  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
972    oldincludedir=$ac_optarg ;;
973
974  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
975    ac_prev=prefix ;;
976  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
977    prefix=$ac_optarg ;;
978
979  -program-prefix | --program-prefix | --program-prefi | --program-pref \
980  | --program-pre | --program-pr | --program-p)
981    ac_prev=program_prefix ;;
982  -program-prefix=* | --program-prefix=* | --program-prefi=* \
983  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
984    program_prefix=$ac_optarg ;;
985
986  -program-suffix | --program-suffix | --program-suffi | --program-suff \
987  | --program-suf | --program-su | --program-s)
988    ac_prev=program_suffix ;;
989  -program-suffix=* | --program-suffix=* | --program-suffi=* \
990  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
991    program_suffix=$ac_optarg ;;
992
993  -program-transform-name | --program-transform-name \
994  | --program-transform-nam | --program-transform-na \
995  | --program-transform-n | --program-transform- \
996  | --program-transform | --program-transfor \
997  | --program-transfo | --program-transf \
998  | --program-trans | --program-tran \
999  | --progr-tra | --program-tr | --program-t)
1000    ac_prev=program_transform_name ;;
1001  -program-transform-name=* | --program-transform-name=* \
1002  | --program-transform-nam=* | --program-transform-na=* \
1003  | --program-transform-n=* | --program-transform-=* \
1004  | --program-transform=* | --program-transfor=* \
1005  | --program-transfo=* | --program-transf=* \
1006  | --program-trans=* | --program-tran=* \
1007  | --progr-tra=* | --program-tr=* | --program-t=*)
1008    program_transform_name=$ac_optarg ;;
1009
1010  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1011    ac_prev=pdfdir ;;
1012  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1013    pdfdir=$ac_optarg ;;
1014
1015  -psdir | --psdir | --psdi | --psd | --ps)
1016    ac_prev=psdir ;;
1017  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1018    psdir=$ac_optarg ;;
1019
1020  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1021  | -silent | --silent | --silen | --sile | --sil)
1022    silent=yes ;;
1023
1024  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1025    ac_prev=sbindir ;;
1026  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1027  | --sbi=* | --sb=*)
1028    sbindir=$ac_optarg ;;
1029
1030  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1031  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1032  | --sharedst | --shareds | --shared | --share | --shar \
1033  | --sha | --sh)
1034    ac_prev=sharedstatedir ;;
1035  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1036  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1037  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1038  | --sha=* | --sh=*)
1039    sharedstatedir=$ac_optarg ;;
1040
1041  -site | --site | --sit)
1042    ac_prev=site ;;
1043  -site=* | --site=* | --sit=*)
1044    site=$ac_optarg ;;
1045
1046  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1047    ac_prev=srcdir ;;
1048  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1049    srcdir=$ac_optarg ;;
1050
1051  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1052  | --syscon | --sysco | --sysc | --sys | --sy)
1053    ac_prev=sysconfdir ;;
1054  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1055  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1056    sysconfdir=$ac_optarg ;;
1057
1058  -target | --target | --targe | --targ | --tar | --ta | --t)
1059    ac_prev=target_alias ;;
1060  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1061    target_alias=$ac_optarg ;;
1062
1063  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1064    verbose=yes ;;
1065
1066  -version | --version | --versio | --versi | --vers | -V)
1067    ac_init_version=: ;;
1068
1069  -with-* | --with-*)
1070    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1071    # Reject names that are not valid shell variable names.
1072    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1073      as_fn_error "invalid package name: $ac_useropt"
1074    ac_useropt_orig=$ac_useropt
1075    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1076    case $ac_user_opts in
1077      *"
1078"with_$ac_useropt"
1079"*) ;;
1080      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1081	 ac_unrecognized_sep=', ';;
1082    esac
1083    eval with_$ac_useropt=\$ac_optarg ;;
1084
1085  -without-* | --without-*)
1086    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1087    # Reject names that are not valid shell variable names.
1088    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1089      as_fn_error "invalid package name: $ac_useropt"
1090    ac_useropt_orig=$ac_useropt
1091    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1092    case $ac_user_opts in
1093      *"
1094"with_$ac_useropt"
1095"*) ;;
1096      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1097	 ac_unrecognized_sep=', ';;
1098    esac
1099    eval with_$ac_useropt=no ;;
1100
1101  --x)
1102    # Obsolete; use --with-x.
1103    with_x=yes ;;
1104
1105  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1106  | --x-incl | --x-inc | --x-in | --x-i)
1107    ac_prev=x_includes ;;
1108  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1109  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1110    x_includes=$ac_optarg ;;
1111
1112  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1113  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1114    ac_prev=x_libraries ;;
1115  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1116  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1117    x_libraries=$ac_optarg ;;
1118
1119  -*) as_fn_error "unrecognized option: \`$ac_option'
1120Try \`$0 --help' for more information."
1121    ;;
1122
1123  *=*)
1124    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1125    # Reject names that are not valid shell variable names.
1126    case $ac_envvar in #(
1127      '' | [0-9]* | *[!_$as_cr_alnum]* )
1128      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1129    esac
1130    eval $ac_envvar=\$ac_optarg
1131    export $ac_envvar ;;
1132
1133  *)
1134    # FIXME: should be removed in autoconf 3.0.
1135    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1136    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1137      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1138    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1139    ;;
1140
1141  esac
1142done
1143
1144if test -n "$ac_prev"; then
1145  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1146  as_fn_error "missing argument to $ac_option"
1147fi
1148
1149if test -n "$ac_unrecognized_opts"; then
1150  case $enable_option_checking in
1151    no) ;;
1152    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1153    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1154  esac
1155fi
1156
1157# Check all directory arguments for consistency.
1158for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1159		datadir sysconfdir sharedstatedir localstatedir includedir \
1160		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1161		libdir localedir mandir
1162do
1163  eval ac_val=\$$ac_var
1164  # Remove trailing slashes.
1165  case $ac_val in
1166    */ )
1167      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1168      eval $ac_var=\$ac_val;;
1169  esac
1170  # Be sure to have absolute directory names.
1171  case $ac_val in
1172    [\\/$]* | ?:[\\/]* )  continue;;
1173    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1174  esac
1175  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1176done
1177
1178# There might be people who depend on the old broken behavior: `$host'
1179# used to hold the argument of --host etc.
1180# FIXME: To remove some day.
1181build=$build_alias
1182host=$host_alias
1183target=$target_alias
1184
1185# FIXME: To remove some day.
1186if test "x$host_alias" != x; then
1187  if test "x$build_alias" = x; then
1188    cross_compiling=maybe
1189    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1190    If a cross compiler is detected then cross compile mode will be used." >&2
1191  elif test "x$build_alias" != "x$host_alias"; then
1192    cross_compiling=yes
1193  fi
1194fi
1195
1196ac_tool_prefix=
1197test -n "$host_alias" && ac_tool_prefix=$host_alias-
1198
1199test "$silent" = yes && exec 6>/dev/null
1200
1201
1202ac_pwd=`pwd` && test -n "$ac_pwd" &&
1203ac_ls_di=`ls -di .` &&
1204ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1205  as_fn_error "working directory cannot be determined"
1206test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1207  as_fn_error "pwd does not report name of working directory"
1208
1209
1210# Find the source files, if location was not specified.
1211if test -z "$srcdir"; then
1212  ac_srcdir_defaulted=yes
1213  # Try the directory containing this script, then the parent directory.
1214  ac_confdir=`$as_dirname -- "$as_myself" ||
1215$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1216	 X"$as_myself" : 'X\(//\)[^/]' \| \
1217	 X"$as_myself" : 'X\(//\)$' \| \
1218	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1219$as_echo X"$as_myself" |
1220    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1221	    s//\1/
1222	    q
1223	  }
1224	  /^X\(\/\/\)[^/].*/{
1225	    s//\1/
1226	    q
1227	  }
1228	  /^X\(\/\/\)$/{
1229	    s//\1/
1230	    q
1231	  }
1232	  /^X\(\/\).*/{
1233	    s//\1/
1234	    q
1235	  }
1236	  s/.*/./; q'`
1237  srcdir=$ac_confdir
1238  if test ! -r "$srcdir/$ac_unique_file"; then
1239    srcdir=..
1240  fi
1241else
1242  ac_srcdir_defaulted=no
1243fi
1244if test ! -r "$srcdir/$ac_unique_file"; then
1245  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1246  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1247fi
1248ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1249ac_abs_confdir=`(
1250	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1251	pwd)`
1252# When building in place, set srcdir=.
1253if test "$ac_abs_confdir" = "$ac_pwd"; then
1254  srcdir=.
1255fi
1256# Remove unnecessary trailing slashes from srcdir.
1257# Double slashes in file names in object file debugging info
1258# mess up M-x gdb in Emacs.
1259case $srcdir in
1260*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1261esac
1262for ac_var in $ac_precious_vars; do
1263  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1264  eval ac_env_${ac_var}_value=\$${ac_var}
1265  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1266  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1267done
1268
1269#
1270# Report the --help message.
1271#
1272if test "$ac_init_help" = "long"; then
1273  # Omit some internal or obsolete options to make the list less imposing.
1274  # This message is too long to be a string in the A/UX 3.1 sh.
1275  cat <<_ACEOF
1276\`configure' configures breakpad 0.1 to adapt to many kinds of systems.
1277
1278Usage: $0 [OPTION]... [VAR=VALUE]...
1279
1280To assign environment variables (e.g., CC, CFLAGS...), specify them as
1281VAR=VALUE.  See below for descriptions of some of the useful variables.
1282
1283Defaults for the options are specified in brackets.
1284
1285Configuration:
1286  -h, --help              display this help and exit
1287      --help=short        display options specific to this package
1288      --help=recursive    display the short help of all the included packages
1289  -V, --version           display version information and exit
1290  -q, --quiet, --silent   do not print \`checking...' messages
1291      --cache-file=FILE   cache test results in FILE [disabled]
1292  -C, --config-cache      alias for \`--cache-file=config.cache'
1293  -n, --no-create         do not create output files
1294      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1295
1296Installation directories:
1297  --prefix=PREFIX         install architecture-independent files in PREFIX
1298                          [$ac_default_prefix]
1299  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1300                          [PREFIX]
1301
1302By default, \`make install' will install all the files in
1303\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1304an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1305for instance \`--prefix=\$HOME'.
1306
1307For better control, use the options below.
1308
1309Fine tuning of the installation directories:
1310  --bindir=DIR            user executables [EPREFIX/bin]
1311  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1312  --libexecdir=DIR        program executables [EPREFIX/libexec]
1313  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1314  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1315  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1316  --libdir=DIR            object code libraries [EPREFIX/lib]
1317  --includedir=DIR        C header files [PREFIX/include]
1318  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1319  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1320  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1321  --infodir=DIR           info documentation [DATAROOTDIR/info]
1322  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1323  --mandir=DIR            man documentation [DATAROOTDIR/man]
1324  --docdir=DIR            documentation root [DATAROOTDIR/doc/breakpad]
1325  --htmldir=DIR           html documentation [DOCDIR]
1326  --dvidir=DIR            dvi documentation [DOCDIR]
1327  --pdfdir=DIR            pdf documentation [DOCDIR]
1328  --psdir=DIR             ps documentation [DOCDIR]
1329_ACEOF
1330
1331  cat <<\_ACEOF
1332
1333Program names:
1334  --program-prefix=PREFIX            prepend PREFIX to installed program names
1335  --program-suffix=SUFFIX            append SUFFIX to installed program names
1336  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1337
1338System types:
1339  --build=BUILD     configure for building on BUILD [guessed]
1340  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1341_ACEOF
1342fi
1343
1344if test -n "$ac_init_help"; then
1345  case $ac_init_help in
1346     short | recursive ) echo "Configuration of breakpad 0.1:";;
1347   esac
1348  cat <<\_ACEOF
1349
1350Optional Features:
1351  --disable-option-checking  ignore unrecognized --enable/--with options
1352  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1353  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1354  --disable-dependency-tracking  speeds up one-time build
1355  --enable-dependency-tracking   do not reject slow dependency extractors
1356  --enable-m32            Compile/build with -m32 (default is no)
1357  --disable-processor     Don't build processor library (default is no)
1358  --disable-tools         Don't build tool binaries (default is no)
1359  --disable-core2md       Don't build core2md binaries (default is no)
1360  --disable-md2core       Don't build md2core binaries (default is no)
1361  --enable-selftest       Run extra tests with "make check" (may conflict with
1362                          optimizations) (default is no)
1363
1364Some influential environment variables:
1365  CC          C compiler command
1366  CFLAGS      C compiler flags
1367  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1368              nonstandard directory <lib dir>
1369  LIBS        libraries to pass to the linker, e.g. -l<library>
1370  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1371              you have headers in a nonstandard directory <include dir>
1372  CPP         C preprocessor
1373  CXX         C++ compiler command
1374  CXXFLAGS    C++ compiler flags
1375
1376Use these variables to override the choices made by `configure' or to help
1377it to find libraries and programs with nonstandard names/locations.
1378
1379Report bugs to <google-breakpad-dev@googlegroups.com>.
1380_ACEOF
1381ac_status=$?
1382fi
1383
1384if test "$ac_init_help" = "recursive"; then
1385  # If there are subdirs, report their specific --help.
1386  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1387    test -d "$ac_dir" ||
1388      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1389      continue
1390    ac_builddir=.
1391
1392case "$ac_dir" in
1393.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1394*)
1395  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1396  # A ".." for each directory in $ac_dir_suffix.
1397  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1398  case $ac_top_builddir_sub in
1399  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1400  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1401  esac ;;
1402esac
1403ac_abs_top_builddir=$ac_pwd
1404ac_abs_builddir=$ac_pwd$ac_dir_suffix
1405# for backward compatibility:
1406ac_top_builddir=$ac_top_build_prefix
1407
1408case $srcdir in
1409  .)  # We are building in place.
1410    ac_srcdir=.
1411    ac_top_srcdir=$ac_top_builddir_sub
1412    ac_abs_top_srcdir=$ac_pwd ;;
1413  [\\/]* | ?:[\\/]* )  # Absolute name.
1414    ac_srcdir=$srcdir$ac_dir_suffix;
1415    ac_top_srcdir=$srcdir
1416    ac_abs_top_srcdir=$srcdir ;;
1417  *) # Relative name.
1418    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1419    ac_top_srcdir=$ac_top_build_prefix$srcdir
1420    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1421esac
1422ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1423
1424    cd "$ac_dir" || { ac_status=$?; continue; }
1425    # Check for guested configure.
1426    if test -f "$ac_srcdir/configure.gnu"; then
1427      echo &&
1428      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1429    elif test -f "$ac_srcdir/configure"; then
1430      echo &&
1431      $SHELL "$ac_srcdir/configure" --help=recursive
1432    else
1433      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1434    fi || ac_status=$?
1435    cd "$ac_pwd" || { ac_status=$?; break; }
1436  done
1437fi
1438
1439test -n "$ac_init_help" && exit $ac_status
1440if $ac_init_version; then
1441  cat <<\_ACEOF
1442breakpad configure 0.1
1443generated by GNU Autoconf 2.65
1444
1445Copyright (C) 2009 Free Software Foundation, Inc.
1446This configure script is free software; the Free Software Foundation
1447gives unlimited permission to copy, distribute and modify it.
1448_ACEOF
1449  exit
1450fi
1451
1452## ------------------------ ##
1453## Autoconf initialization. ##
1454## ------------------------ ##
1455
1456# ac_fn_c_try_compile LINENO
1457# --------------------------
1458# Try to compile conftest.$ac_ext, and return whether this succeeded.
1459ac_fn_c_try_compile ()
1460{
1461  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1462  rm -f conftest.$ac_objext
1463  if { { ac_try="$ac_compile"
1464case "(($ac_try" in
1465  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1466  *) ac_try_echo=$ac_try;;
1467esac
1468eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1469$as_echo "$ac_try_echo"; } >&5
1470  (eval "$ac_compile") 2>conftest.err
1471  ac_status=$?
1472  if test -s conftest.err; then
1473    grep -v '^ *+' conftest.err >conftest.er1
1474    cat conftest.er1 >&5
1475    mv -f conftest.er1 conftest.err
1476  fi
1477  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1478  test $ac_status = 0; } && {
1479	 test -z "$ac_c_werror_flag" ||
1480	 test ! -s conftest.err
1481       } && test -s conftest.$ac_objext; then :
1482  ac_retval=0
1483else
1484  $as_echo "$as_me: failed program was:" >&5
1485sed 's/^/| /' conftest.$ac_ext >&5
1486
1487	ac_retval=1
1488fi
1489  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1490  as_fn_set_status $ac_retval
1491
1492} # ac_fn_c_try_compile
1493
1494# ac_fn_c_try_cpp LINENO
1495# ----------------------
1496# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1497ac_fn_c_try_cpp ()
1498{
1499  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1500  if { { ac_try="$ac_cpp conftest.$ac_ext"
1501case "(($ac_try" in
1502  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1503  *) ac_try_echo=$ac_try;;
1504esac
1505eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1506$as_echo "$ac_try_echo"; } >&5
1507  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1508  ac_status=$?
1509  if test -s conftest.err; then
1510    grep -v '^ *+' conftest.err >conftest.er1
1511    cat conftest.er1 >&5
1512    mv -f conftest.er1 conftest.err
1513  fi
1514  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1515  test $ac_status = 0; } >/dev/null && {
1516	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1517	 test ! -s conftest.err
1518       }; then :
1519  ac_retval=0
1520else
1521  $as_echo "$as_me: failed program was:" >&5
1522sed 's/^/| /' conftest.$ac_ext >&5
1523
1524    ac_retval=1
1525fi
1526  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1527  as_fn_set_status $ac_retval
1528
1529} # ac_fn_c_try_cpp
1530
1531# ac_fn_cxx_try_compile LINENO
1532# ----------------------------
1533# Try to compile conftest.$ac_ext, and return whether this succeeded.
1534ac_fn_cxx_try_compile ()
1535{
1536  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1537  rm -f conftest.$ac_objext
1538  if { { ac_try="$ac_compile"
1539case "(($ac_try" in
1540  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1541  *) ac_try_echo=$ac_try;;
1542esac
1543eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1544$as_echo "$ac_try_echo"; } >&5
1545  (eval "$ac_compile") 2>conftest.err
1546  ac_status=$?
1547  if test -s conftest.err; then
1548    grep -v '^ *+' conftest.err >conftest.er1
1549    cat conftest.er1 >&5
1550    mv -f conftest.er1 conftest.err
1551  fi
1552  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1553  test $ac_status = 0; } && {
1554	 test -z "$ac_cxx_werror_flag" ||
1555	 test ! -s conftest.err
1556       } && test -s conftest.$ac_objext; then :
1557  ac_retval=0
1558else
1559  $as_echo "$as_me: failed program was:" >&5
1560sed 's/^/| /' conftest.$ac_ext >&5
1561
1562	ac_retval=1
1563fi
1564  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1565  as_fn_set_status $ac_retval
1566
1567} # ac_fn_cxx_try_compile
1568
1569# ac_fn_c_try_run LINENO
1570# ----------------------
1571# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1572# that executables *can* be run.
1573ac_fn_c_try_run ()
1574{
1575  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1576  if { { ac_try="$ac_link"
1577case "(($ac_try" in
1578  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1579  *) ac_try_echo=$ac_try;;
1580esac
1581eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1582$as_echo "$ac_try_echo"; } >&5
1583  (eval "$ac_link") 2>&5
1584  ac_status=$?
1585  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1586  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1587  { { case "(($ac_try" in
1588  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1589  *) ac_try_echo=$ac_try;;
1590esac
1591eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1592$as_echo "$ac_try_echo"; } >&5
1593  (eval "$ac_try") 2>&5
1594  ac_status=$?
1595  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1596  test $ac_status = 0; }; }; then :
1597  ac_retval=0
1598else
1599  $as_echo "$as_me: program exited with status $ac_status" >&5
1600       $as_echo "$as_me: failed program was:" >&5
1601sed 's/^/| /' conftest.$ac_ext >&5
1602
1603       ac_retval=$ac_status
1604fi
1605  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1606  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1607  as_fn_set_status $ac_retval
1608
1609} # ac_fn_c_try_run
1610
1611# ac_fn_c_try_link LINENO
1612# -----------------------
1613# Try to link conftest.$ac_ext, and return whether this succeeded.
1614ac_fn_c_try_link ()
1615{
1616  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1617  rm -f conftest.$ac_objext conftest$ac_exeext
1618  if { { ac_try="$ac_link"
1619case "(($ac_try" in
1620  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1621  *) ac_try_echo=$ac_try;;
1622esac
1623eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1624$as_echo "$ac_try_echo"; } >&5
1625  (eval "$ac_link") 2>conftest.err
1626  ac_status=$?
1627  if test -s conftest.err; then
1628    grep -v '^ *+' conftest.err >conftest.er1
1629    cat conftest.er1 >&5
1630    mv -f conftest.er1 conftest.err
1631  fi
1632  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1633  test $ac_status = 0; } && {
1634	 test -z "$ac_c_werror_flag" ||
1635	 test ! -s conftest.err
1636       } && test -s conftest$ac_exeext && {
1637	 test "$cross_compiling" = yes ||
1638	 $as_test_x conftest$ac_exeext
1639       }; then :
1640  ac_retval=0
1641else
1642  $as_echo "$as_me: failed program was:" >&5
1643sed 's/^/| /' conftest.$ac_ext >&5
1644
1645	ac_retval=1
1646fi
1647  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1648  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1649  # interfere with the next link command; also delete a directory that is
1650  # left behind by Apple's compiler.  We do this before executing the actions.
1651  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1652  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1653  as_fn_set_status $ac_retval
1654
1655} # ac_fn_c_try_link
1656
1657# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1658# -------------------------------------------------------
1659# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1660# the include files in INCLUDES and setting the cache variable VAR
1661# accordingly.
1662ac_fn_c_check_header_mongrel ()
1663{
1664  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1665  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1666  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1667$as_echo_n "checking for $2... " >&6; }
1668if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1669  $as_echo_n "(cached) " >&6
1670fi
1671eval ac_res=\$$3
1672	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1673$as_echo "$ac_res" >&6; }
1674else
1675  # Is the header compilable?
1676{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1677$as_echo_n "checking $2 usability... " >&6; }
1678cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1679/* end confdefs.h.  */
1680$4
1681#include <$2>
1682_ACEOF
1683if ac_fn_c_try_compile "$LINENO"; then :
1684  ac_header_compiler=yes
1685else
1686  ac_header_compiler=no
1687fi
1688rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1689{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1690$as_echo "$ac_header_compiler" >&6; }
1691
1692# Is the header present?
1693{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1694$as_echo_n "checking $2 presence... " >&6; }
1695cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1696/* end confdefs.h.  */
1697#include <$2>
1698_ACEOF
1699if ac_fn_c_try_cpp "$LINENO"; then :
1700  ac_header_preproc=yes
1701else
1702  ac_header_preproc=no
1703fi
1704rm -f conftest.err conftest.$ac_ext
1705{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1706$as_echo "$ac_header_preproc" >&6; }
1707
1708# So?  What about this header?
1709case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1710  yes:no: )
1711    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1712$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1713    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1714$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1715    ;;
1716  no:yes:* )
1717    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1718$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1719    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1720$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1721    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1722$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1723    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1724$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1725    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1726$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1727( cat <<\_ASBOX
1728## --------------------------------------------------- ##
1729## Report this to google-breakpad-dev@googlegroups.com ##
1730## --------------------------------------------------- ##
1731_ASBOX
1732     ) | sed "s/^/$as_me: WARNING:     /" >&2
1733    ;;
1734esac
1735  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1736$as_echo_n "checking for $2... " >&6; }
1737if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1738  $as_echo_n "(cached) " >&6
1739else
1740  eval "$3=\$ac_header_compiler"
1741fi
1742eval ac_res=\$$3
1743	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1744$as_echo "$ac_res" >&6; }
1745fi
1746  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1747
1748} # ac_fn_c_check_header_mongrel
1749
1750# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1751# -------------------------------------------------------
1752# Tests whether HEADER exists and can be compiled using the include files in
1753# INCLUDES, setting the cache variable VAR accordingly.
1754ac_fn_c_check_header_compile ()
1755{
1756  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1757  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1758$as_echo_n "checking for $2... " >&6; }
1759if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1760  $as_echo_n "(cached) " >&6
1761else
1762  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1763/* end confdefs.h.  */
1764$4
1765#include <$2>
1766_ACEOF
1767if ac_fn_c_try_compile "$LINENO"; then :
1768  eval "$3=yes"
1769else
1770  eval "$3=no"
1771fi
1772rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1773fi
1774eval ac_res=\$$3
1775	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1776$as_echo "$ac_res" >&6; }
1777  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1778
1779} # ac_fn_c_check_header_compile
1780cat >config.log <<_ACEOF
1781This file contains any messages produced by compilers while
1782running configure, to aid debugging if configure makes a mistake.
1783
1784It was created by breakpad $as_me 0.1, which was
1785generated by GNU Autoconf 2.65.  Invocation command line was
1786
1787  $ $0 $@
1788
1789_ACEOF
1790exec 5>>config.log
1791{
1792cat <<_ASUNAME
1793## --------- ##
1794## Platform. ##
1795## --------- ##
1796
1797hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1798uname -m = `(uname -m) 2>/dev/null || echo unknown`
1799uname -r = `(uname -r) 2>/dev/null || echo unknown`
1800uname -s = `(uname -s) 2>/dev/null || echo unknown`
1801uname -v = `(uname -v) 2>/dev/null || echo unknown`
1802
1803/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1804/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1805
1806/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1807/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1808/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1809/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1810/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1811/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1812/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1813
1814_ASUNAME
1815
1816as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1817for as_dir in $PATH
1818do
1819  IFS=$as_save_IFS
1820  test -z "$as_dir" && as_dir=.
1821    $as_echo "PATH: $as_dir"
1822  done
1823IFS=$as_save_IFS
1824
1825} >&5
1826
1827cat >&5 <<_ACEOF
1828
1829
1830## ----------- ##
1831## Core tests. ##
1832## ----------- ##
1833
1834_ACEOF
1835
1836
1837# Keep a trace of the command line.
1838# Strip out --no-create and --no-recursion so they do not pile up.
1839# Strip out --silent because we don't want to record it for future runs.
1840# Also quote any args containing shell meta-characters.
1841# Make two passes to allow for proper duplicate-argument suppression.
1842ac_configure_args=
1843ac_configure_args0=
1844ac_configure_args1=
1845ac_must_keep_next=false
1846for ac_pass in 1 2
1847do
1848  for ac_arg
1849  do
1850    case $ac_arg in
1851    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1852    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1853    | -silent | --silent | --silen | --sile | --sil)
1854      continue ;;
1855    *\'*)
1856      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1857    esac
1858    case $ac_pass in
1859    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1860    2)
1861      as_fn_append ac_configure_args1 " '$ac_arg'"
1862      if test $ac_must_keep_next = true; then
1863	ac_must_keep_next=false # Got value, back to normal.
1864      else
1865	case $ac_arg in
1866	  *=* | --config-cache | -C | -disable-* | --disable-* \
1867	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1868	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1869	  | -with-* | --with-* | -without-* | --without-* | --x)
1870	    case "$ac_configure_args0 " in
1871	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1872	    esac
1873	    ;;
1874	  -* ) ac_must_keep_next=true ;;
1875	esac
1876      fi
1877      as_fn_append ac_configure_args " '$ac_arg'"
1878      ;;
1879    esac
1880  done
1881done
1882{ ac_configure_args0=; unset ac_configure_args0;}
1883{ ac_configure_args1=; unset ac_configure_args1;}
1884
1885# When interrupted or exit'd, cleanup temporary files, and complete
1886# config.log.  We remove comments because anyway the quotes in there
1887# would cause problems or look ugly.
1888# WARNING: Use '\'' to represent an apostrophe within the trap.
1889# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1890trap 'exit_status=$?
1891  # Save into config.log some information that might help in debugging.
1892  {
1893    echo
1894
1895    cat <<\_ASBOX
1896## ---------------- ##
1897## Cache variables. ##
1898## ---------------- ##
1899_ASBOX
1900    echo
1901    # The following way of writing the cache mishandles newlines in values,
1902(
1903  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1904    eval ac_val=\$$ac_var
1905    case $ac_val in #(
1906    *${as_nl}*)
1907      case $ac_var in #(
1908      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1909$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1910      esac
1911      case $ac_var in #(
1912      _ | IFS | as_nl) ;; #(
1913      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1914      *) { eval $ac_var=; unset $ac_var;} ;;
1915      esac ;;
1916    esac
1917  done
1918  (set) 2>&1 |
1919    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1920    *${as_nl}ac_space=\ *)
1921      sed -n \
1922	"s/'\''/'\''\\\\'\'''\''/g;
1923	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1924      ;; #(
1925    *)
1926      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1927      ;;
1928    esac |
1929    sort
1930)
1931    echo
1932
1933    cat <<\_ASBOX
1934## ----------------- ##
1935## Output variables. ##
1936## ----------------- ##
1937_ASBOX
1938    echo
1939    for ac_var in $ac_subst_vars
1940    do
1941      eval ac_val=\$$ac_var
1942      case $ac_val in
1943      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1944      esac
1945      $as_echo "$ac_var='\''$ac_val'\''"
1946    done | sort
1947    echo
1948
1949    if test -n "$ac_subst_files"; then
1950      cat <<\_ASBOX
1951## ------------------- ##
1952## File substitutions. ##
1953## ------------------- ##
1954_ASBOX
1955      echo
1956      for ac_var in $ac_subst_files
1957      do
1958	eval ac_val=\$$ac_var
1959	case $ac_val in
1960	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1961	esac
1962	$as_echo "$ac_var='\''$ac_val'\''"
1963      done | sort
1964      echo
1965    fi
1966
1967    if test -s confdefs.h; then
1968      cat <<\_ASBOX
1969## ----------- ##
1970## confdefs.h. ##
1971## ----------- ##
1972_ASBOX
1973      echo
1974      cat confdefs.h
1975      echo
1976    fi
1977    test "$ac_signal" != 0 &&
1978      $as_echo "$as_me: caught signal $ac_signal"
1979    $as_echo "$as_me: exit $exit_status"
1980  } >&5
1981  rm -f core *.core core.conftest.* &&
1982    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1983    exit $exit_status
1984' 0
1985for ac_signal in 1 2 13 15; do
1986  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1987done
1988ac_signal=0
1989
1990# confdefs.h avoids OS command line length limits that DEFS can exceed.
1991rm -f -r conftest* confdefs.h
1992
1993$as_echo "/* confdefs.h */" > confdefs.h
1994
1995# Predefined preprocessor variables.
1996
1997cat >>confdefs.h <<_ACEOF
1998#define PACKAGE_NAME "$PACKAGE_NAME"
1999_ACEOF
2000
2001cat >>confdefs.h <<_ACEOF
2002#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2003_ACEOF
2004
2005cat >>confdefs.h <<_ACEOF
2006#define PACKAGE_VERSION "$PACKAGE_VERSION"
2007_ACEOF
2008
2009cat >>confdefs.h <<_ACEOF
2010#define PACKAGE_STRING "$PACKAGE_STRING"
2011_ACEOF
2012
2013cat >>confdefs.h <<_ACEOF
2014#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2015_ACEOF
2016
2017cat >>confdefs.h <<_ACEOF
2018#define PACKAGE_URL "$PACKAGE_URL"
2019_ACEOF
2020
2021
2022# Let the site file select an alternate cache file if it wants to.
2023# Prefer an explicitly selected file to automatically selected ones.
2024ac_site_file1=NONE
2025ac_site_file2=NONE
2026if test -n "$CONFIG_SITE"; then
2027  ac_site_file1=$CONFIG_SITE
2028elif test "x$prefix" != xNONE; then
2029  ac_site_file1=$prefix/share/config.site
2030  ac_site_file2=$prefix/etc/config.site
2031else
2032  ac_site_file1=$ac_default_prefix/share/config.site
2033  ac_site_file2=$ac_default_prefix/etc/config.site
2034fi
2035for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2036do
2037  test "x$ac_site_file" = xNONE && continue
2038  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2039    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2040$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2041    sed 's/^/| /' "$ac_site_file" >&5
2042    . "$ac_site_file"
2043  fi
2044done
2045
2046if test -r "$cache_file"; then
2047  # Some versions of bash will fail to source /dev/null (special files
2048  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2049  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2050    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2051$as_echo "$as_me: loading cache $cache_file" >&6;}
2052    case $cache_file in
2053      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2054      *)                      . "./$cache_file";;
2055    esac
2056  fi
2057else
2058  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2059$as_echo "$as_me: creating cache $cache_file" >&6;}
2060  >$cache_file
2061fi
2062
2063# Check that the precious variables saved in the cache have kept the same
2064# value.
2065ac_cache_corrupted=false
2066for ac_var in $ac_precious_vars; do
2067  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2068  eval ac_new_set=\$ac_env_${ac_var}_set
2069  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2070  eval ac_new_val=\$ac_env_${ac_var}_value
2071  case $ac_old_set,$ac_new_set in
2072    set,)
2073      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2074$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2075      ac_cache_corrupted=: ;;
2076    ,set)
2077      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2078$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2079      ac_cache_corrupted=: ;;
2080    ,);;
2081    *)
2082      if test "x$ac_old_val" != "x$ac_new_val"; then
2083	# differences in whitespace do not lead to failure.
2084	ac_old_val_w=`echo x $ac_old_val`
2085	ac_new_val_w=`echo x $ac_new_val`
2086	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2087	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2088$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2089	  ac_cache_corrupted=:
2090	else
2091	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2092$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2093	  eval $ac_var=\$ac_old_val
2094	fi
2095	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2096$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2097	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2098$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2099      fi;;
2100  esac
2101  # Pass precious variables to config.status.
2102  if test "$ac_new_set" = set; then
2103    case $ac_new_val in
2104    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2105    *) ac_arg=$ac_var=$ac_new_val ;;
2106    esac
2107    case " $ac_configure_args " in
2108      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2109      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2110    esac
2111  fi
2112done
2113if $ac_cache_corrupted; then
2114  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2115$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2116  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2117$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2118  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2119fi
2120## -------------------- ##
2121## Main body of script. ##
2122## -------------------- ##
2123
2124ac_ext=c
2125ac_cpp='$CPP $CPPFLAGS'
2126ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2127ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2128ac_compiler_gnu=$ac_cv_c_compiler_gnu
2129
2130
2131
2132ac_aux_dir=
2133for ac_dir in autotools "$srcdir"/autotools; do
2134  for ac_t in install-sh install.sh shtool; do
2135    if test -f "$ac_dir/$ac_t"; then
2136      ac_aux_dir=$ac_dir
2137      ac_install_sh="$ac_aux_dir/$ac_t -c"
2138      break 2
2139    fi
2140  done
2141done
2142if test -z "$ac_aux_dir"; then
2143  as_fn_error "cannot find install-sh, install.sh, or shtool in autotools \"$srcdir\"/autotools" "$LINENO" 5
2144fi
2145
2146# These three variables are undocumented and unsupported,
2147# and are intended to be withdrawn in a future Autoconf release.
2148# They can cause serious problems if a builder's source tree is in a directory
2149# whose full name contains unusual characters.
2150ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2151ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2152ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2153
2154
2155
2156# Make sure we can run config.sub.
2157$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2158  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2159
2160{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2161$as_echo_n "checking build system type... " >&6; }
2162if test "${ac_cv_build+set}" = set; then :
2163  $as_echo_n "(cached) " >&6
2164else
2165  ac_build_alias=$build_alias
2166test "x$ac_build_alias" = x &&
2167  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2168test "x$ac_build_alias" = x &&
2169  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2170ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2171  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2172
2173fi
2174{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2175$as_echo "$ac_cv_build" >&6; }
2176case $ac_cv_build in
2177*-*-*) ;;
2178*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2179esac
2180build=$ac_cv_build
2181ac_save_IFS=$IFS; IFS='-'
2182set x $ac_cv_build
2183shift
2184build_cpu=$1
2185build_vendor=$2
2186shift; shift
2187# Remember, the first character of IFS is used to create $*,
2188# except with old shells:
2189build_os=$*
2190IFS=$ac_save_IFS
2191case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2192
2193
2194{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2195$as_echo_n "checking host system type... " >&6; }
2196if test "${ac_cv_host+set}" = set; then :
2197  $as_echo_n "(cached) " >&6
2198else
2199  if test "x$host_alias" = x; then
2200  ac_cv_host=$ac_cv_build
2201else
2202  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2203    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2204fi
2205
2206fi
2207{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2208$as_echo "$ac_cv_host" >&6; }
2209case $ac_cv_host in
2210*-*-*) ;;
2211*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2212esac
2213host=$ac_cv_host
2214ac_save_IFS=$IFS; IFS='-'
2215set x $ac_cv_host
2216shift
2217host_cpu=$1
2218host_vendor=$2
2219shift; shift
2220# Remember, the first character of IFS is used to create $*,
2221# except with old shells:
2222host_os=$*
2223IFS=$ac_save_IFS
2224case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2225
2226
2227
2228am__api_version='1.11'
2229
2230# Find a good install program.  We prefer a C program (faster),
2231# so one script is as good as another.  But avoid the broken or
2232# incompatible versions:
2233# SysV /etc/install, /usr/sbin/install
2234# SunOS /usr/etc/install
2235# IRIX /sbin/install
2236# AIX /bin/install
2237# AmigaOS /C/install, which installs bootblocks on floppy discs
2238# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2239# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2240# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2241# OS/2's system install, which has a completely different semantic
2242# ./install, which can be erroneously created by make from ./install.sh.
2243# Reject install programs that cannot install multiple files.
2244{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2245$as_echo_n "checking for a BSD-compatible install... " >&6; }
2246if test -z "$INSTALL"; then
2247if test "${ac_cv_path_install+set}" = set; then :
2248  $as_echo_n "(cached) " >&6
2249else
2250  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2251for as_dir in $PATH
2252do
2253  IFS=$as_save_IFS
2254  test -z "$as_dir" && as_dir=.
2255    # Account for people who put trailing slashes in PATH elements.
2256case $as_dir/ in #((
2257  ./ | .// | /[cC]/* | \
2258  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2259  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2260  /usr/ucb/* ) ;;
2261  *)
2262    # OSF1 and SCO ODT 3.0 have their own names for install.
2263    # Don't use installbsd from OSF since it installs stuff as root
2264    # by default.
2265    for ac_prog in ginstall scoinst install; do
2266      for ac_exec_ext in '' $ac_executable_extensions; do
2267	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2268	  if test $ac_prog = install &&
2269	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2270	    # AIX install.  It has an incompatible calling convention.
2271	    :
2272	  elif test $ac_prog = install &&
2273	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2274	    # program-specific install script used by HP pwplus--don't use.
2275	    :
2276	  else
2277	    rm -rf conftest.one conftest.two conftest.dir
2278	    echo one > conftest.one
2279	    echo two > conftest.two
2280	    mkdir conftest.dir
2281	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2282	      test -s conftest.one && test -s conftest.two &&
2283	      test -s conftest.dir/conftest.one &&
2284	      test -s conftest.dir/conftest.two
2285	    then
2286	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2287	      break 3
2288	    fi
2289	  fi
2290	fi
2291      done
2292    done
2293    ;;
2294esac
2295
2296  done
2297IFS=$as_save_IFS
2298
2299rm -rf conftest.one conftest.two conftest.dir
2300
2301fi
2302  if test "${ac_cv_path_install+set}" = set; then
2303    INSTALL=$ac_cv_path_install
2304  else
2305    # As a last resort, use the slow shell script.  Don't cache a
2306    # value for INSTALL within a source directory, because that will
2307    # break other packages using the cache if that directory is
2308    # removed, or if the value is a relative name.
2309    INSTALL=$ac_install_sh
2310  fi
2311fi
2312{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2313$as_echo "$INSTALL" >&6; }
2314
2315# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2316# It thinks the first close brace ends the variable substitution.
2317test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2318
2319test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2320
2321test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2322
2323{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2324$as_echo_n "checking whether build environment is sane... " >&6; }
2325# Just in case
2326sleep 1
2327echo timestamp > conftest.file
2328# Reject unsafe characters in $srcdir or the absolute working directory
2329# name.  Accept space and tab only in the latter.
2330am_lf='
2331'
2332case `pwd` in
2333  *[\\\"\#\$\&\'\`$am_lf]*)
2334    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2335esac
2336case $srcdir in
2337  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2338    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2339esac
2340
2341# Do `set' in a subshell so we don't clobber the current shell's
2342# arguments.  Must try -L first in case configure is actually a
2343# symlink; some systems play weird games with the mod time of symlinks
2344# (eg FreeBSD returns the mod time of the symlink's containing
2345# directory).
2346if (
2347   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2348   if test "$*" = "X"; then
2349      # -L didn't work.
2350      set X `ls -t "$srcdir/configure" conftest.file`
2351   fi
2352   rm -f conftest.file
2353   if test "$*" != "X $srcdir/configure conftest.file" \
2354      && test "$*" != "X conftest.file $srcdir/configure"; then
2355
2356      # If neither matched, then we have a broken ls.  This can happen
2357      # if, for instance, CONFIG_SHELL is bash and it inherits a
2358      # broken ls alias from the environment.  This has actually
2359      # happened.  Such a system could not be considered "sane".
2360      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2361alias in your environment" "$LINENO" 5
2362   fi
2363
2364   test "$2" = conftest.file
2365   )
2366then
2367   # Ok.
2368   :
2369else
2370   as_fn_error "newly created file is older than distributed files!
2371Check your system clock" "$LINENO" 5
2372fi
2373{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2374$as_echo "yes" >&6; }
2375test "$program_prefix" != NONE &&
2376  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2377# Use a double $ so make ignores it.
2378test "$program_suffix" != NONE &&
2379  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2380# Double any \ or $.
2381# By default was `s,x,x', remove it if useless.
2382ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2383program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2384
2385# expand $ac_aux_dir to an absolute path
2386am_aux_dir=`cd $ac_aux_dir && pwd`
2387
2388if test x"${MISSING+set}" != xset; then
2389  case $am_aux_dir in
2390  *\ * | *\	*)
2391    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2392  *)
2393    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2394  esac
2395fi
2396# Use eval to expand $SHELL
2397if eval "$MISSING --run true"; then
2398  am_missing_run="$MISSING --run "
2399else
2400  am_missing_run=
2401  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2402$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2403fi
2404
2405if test x"${install_sh}" != xset; then
2406  case $am_aux_dir in
2407  *\ * | *\	*)
2408    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2409  *)
2410    install_sh="\${SHELL} $am_aux_dir/install-sh"
2411  esac
2412fi
2413
2414# Installed binaries are usually stripped using `strip' when the user
2415# run `make install-strip'.  However `strip' might not be the right
2416# tool to use in cross-compilation environments, therefore Automake
2417# will honor the `STRIP' environment variable to overrule this program.
2418if test "$cross_compiling" != no; then
2419  if test -n "$ac_tool_prefix"; then
2420  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2421set dummy ${ac_tool_prefix}strip; ac_word=$2
2422{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2423$as_echo_n "checking for $ac_word... " >&6; }
2424if test "${ac_cv_prog_STRIP+set}" = set; then :
2425  $as_echo_n "(cached) " >&6
2426else
2427  if test -n "$STRIP"; then
2428  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2429else
2430as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2431for as_dir in $PATH
2432do
2433  IFS=$as_save_IFS
2434  test -z "$as_dir" && as_dir=.
2435    for ac_exec_ext in '' $ac_executable_extensions; do
2436  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2437    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2438    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2439    break 2
2440  fi
2441done
2442  done
2443IFS=$as_save_IFS
2444
2445fi
2446fi
2447STRIP=$ac_cv_prog_STRIP
2448if test -n "$STRIP"; then
2449  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2450$as_echo "$STRIP" >&6; }
2451else
2452  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2453$as_echo "no" >&6; }
2454fi
2455
2456
2457fi
2458if test -z "$ac_cv_prog_STRIP"; then
2459  ac_ct_STRIP=$STRIP
2460  # Extract the first word of "strip", so it can be a program name with args.
2461set dummy strip; ac_word=$2
2462{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2463$as_echo_n "checking for $ac_word... " >&6; }
2464if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2465  $as_echo_n "(cached) " >&6
2466else
2467  if test -n "$ac_ct_STRIP"; then
2468  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2469else
2470as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2471for as_dir in $PATH
2472do
2473  IFS=$as_save_IFS
2474  test -z "$as_dir" && as_dir=.
2475    for ac_exec_ext in '' $ac_executable_extensions; do
2476  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2477    ac_cv_prog_ac_ct_STRIP="strip"
2478    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2479    break 2
2480  fi
2481done
2482  done
2483IFS=$as_save_IFS
2484
2485fi
2486fi
2487ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2488if test -n "$ac_ct_STRIP"; then
2489  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2490$as_echo "$ac_ct_STRIP" >&6; }
2491else
2492  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2493$as_echo "no" >&6; }
2494fi
2495
2496  if test "x$ac_ct_STRIP" = x; then
2497    STRIP=":"
2498  else
2499    case $cross_compiling:$ac_tool_warned in
2500yes:)
2501{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2502$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2503ac_tool_warned=yes ;;
2504esac
2505    STRIP=$ac_ct_STRIP
2506  fi
2507else
2508  STRIP="$ac_cv_prog_STRIP"
2509fi
2510
2511fi
2512INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2513
2514{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2515$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2516if test -z "$MKDIR_P"; then
2517  if test "${ac_cv_path_mkdir+set}" = set; then :
2518  $as_echo_n "(cached) " >&6
2519else
2520  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2521for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2522do
2523  IFS=$as_save_IFS
2524  test -z "$as_dir" && as_dir=.
2525    for ac_prog in mkdir gmkdir; do
2526	 for ac_exec_ext in '' $ac_executable_extensions; do
2527	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2528	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2529	     'mkdir (GNU coreutils) '* | \
2530	     'mkdir (coreutils) '* | \
2531	     'mkdir (fileutils) '4.1*)
2532	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2533	       break 3;;
2534	   esac
2535	 done
2536       done
2537  done
2538IFS=$as_save_IFS
2539
2540fi
2541
2542  test -d ./--version && rmdir ./--version
2543  if test "${ac_cv_path_mkdir+set}" = set; then
2544    MKDIR_P="$ac_cv_path_mkdir -p"
2545  else
2546    # As a last resort, use the slow shell script.  Don't cache a
2547    # value for MKDIR_P within a source directory, because that will
2548    # break other packages using the cache if that directory is
2549    # removed, or if the value is a relative name.
2550    MKDIR_P="$ac_install_sh -d"
2551  fi
2552fi
2553{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2554$as_echo "$MKDIR_P" >&6; }
2555
2556mkdir_p="$MKDIR_P"
2557case $mkdir_p in
2558  [\\/$]* | ?:[\\/]*) ;;
2559  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2560esac
2561
2562for ac_prog in gawk mawk nawk awk
2563do
2564  # Extract the first word of "$ac_prog", so it can be a program name with args.
2565set dummy $ac_prog; ac_word=$2
2566{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2567$as_echo_n "checking for $ac_word... " >&6; }
2568if test "${ac_cv_prog_AWK+set}" = set; then :
2569  $as_echo_n "(cached) " >&6
2570else
2571  if test -n "$AWK"; then
2572  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2573else
2574as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2575for as_dir in $PATH
2576do
2577  IFS=$as_save_IFS
2578  test -z "$as_dir" && as_dir=.
2579    for ac_exec_ext in '' $ac_executable_extensions; do
2580  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2581    ac_cv_prog_AWK="$ac_prog"
2582    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2583    break 2
2584  fi
2585done
2586  done
2587IFS=$as_save_IFS
2588
2589fi
2590fi
2591AWK=$ac_cv_prog_AWK
2592if test -n "$AWK"; then
2593  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2594$as_echo "$AWK" >&6; }
2595else
2596  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2597$as_echo "no" >&6; }
2598fi
2599
2600
2601  test -n "$AWK" && break
2602done
2603
2604{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2605$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2606set x ${MAKE-make}
2607ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2608if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2609  $as_echo_n "(cached) " >&6
2610else
2611  cat >conftest.make <<\_ACEOF
2612SHELL = /bin/sh
2613all:
2614	@echo '@@@%%%=$(MAKE)=@@@%%%'
2615_ACEOF
2616# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2617case `${MAKE-make} -f conftest.make 2>/dev/null` in
2618  *@@@%%%=?*=@@@%%%*)
2619    eval ac_cv_prog_make_${ac_make}_set=yes;;
2620  *)
2621    eval ac_cv_prog_make_${ac_make}_set=no;;
2622esac
2623rm -f conftest.make
2624fi
2625if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2626  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2627$as_echo "yes" >&6; }
2628  SET_MAKE=
2629else
2630  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2631$as_echo "no" >&6; }
2632  SET_MAKE="MAKE=${MAKE-make}"
2633fi
2634
2635rm -rf .tst 2>/dev/null
2636mkdir .tst 2>/dev/null
2637if test -d .tst; then
2638  am__leading_dot=.
2639else
2640  am__leading_dot=_
2641fi
2642rmdir .tst 2>/dev/null
2643
2644if test "`cd $srcdir && pwd`" != "`pwd`"; then
2645  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2646  # is not polluted with repeated "-I."
2647  am__isrc=' -I$(srcdir)'
2648  # test to see if srcdir already configured
2649  if test -f $srcdir/config.status; then
2650    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2651  fi
2652fi
2653
2654# test whether we have cygpath
2655if test -z "$CYGPATH_W"; then
2656  if (cygpath --version) >/dev/null 2>/dev/null; then
2657    CYGPATH_W='cygpath -w'
2658  else
2659    CYGPATH_W=echo
2660  fi
2661fi
2662
2663
2664# Define the identity of the package.
2665 PACKAGE='breakpad'
2666 VERSION='0.1'
2667
2668
2669cat >>confdefs.h <<_ACEOF
2670#define PACKAGE "$PACKAGE"
2671_ACEOF
2672
2673
2674cat >>confdefs.h <<_ACEOF
2675#define VERSION "$VERSION"
2676_ACEOF
2677
2678# Some tools Automake needs.
2679
2680ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2681
2682
2683AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2684
2685
2686AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2687
2688
2689AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2690
2691
2692MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2693
2694# We need awk for the "check" target.  The system "awk" is bad on
2695# some platforms.
2696# Always define AMTAR for backward compatibility.
2697
2698AMTAR=${AMTAR-"${am_missing_run}tar"}
2699
2700
2701{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
2702$as_echo_n "checking how to create a ustar tar archive... " >&6; }
2703# Loop over all known methods to create a tar archive until one works.
2704_am_tools='gnutar plaintar pax cpio none'
2705_am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2706# Do not fold the above two line into one, because Tru64 sh and
2707# Solaris sh will not grok spaces in the rhs of `-'.
2708for _am_tool in $_am_tools
2709do
2710  case $_am_tool in
2711  gnutar)
2712    for _am_tar in tar gnutar gtar;
2713    do
2714      { echo "$as_me:$LINENO: $_am_tar --version" >&5
2715   ($_am_tar --version) >&5 2>&5
2716   ac_status=$?
2717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2718   (exit $ac_status); } && break
2719    done
2720    am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2721    am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2722    am__untar="$_am_tar -xf -"
2723    ;;
2724  plaintar)
2725    # Must skip GNU tar: if it does not support --format= it doesn't create
2726    # ustar tarball either.
2727    (tar --version) >/dev/null 2>&1 && continue
2728    am__tar='tar chf - "$$tardir"'
2729    am__tar_='tar chf - "$tardir"'
2730    am__untar='tar xf -'
2731    ;;
2732  pax)
2733    am__tar='pax -L -x ustar -w "$$tardir"'
2734    am__tar_='pax -L -x ustar -w "$tardir"'
2735    am__untar='pax -r'
2736    ;;
2737  cpio)
2738    am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2739    am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2740    am__untar='cpio -i -H ustar -d'
2741    ;;
2742  none)
2743    am__tar=false
2744    am__tar_=false
2745    am__untar=false
2746    ;;
2747  esac
2748
2749  # If the value was cached, stop now.  We just wanted to have am__tar
2750  # and am__untar set.
2751  test -n "${am_cv_prog_tar_ustar}" && break
2752
2753  # tar/untar a dummy directory, and stop if the command works
2754  rm -rf conftest.dir
2755  mkdir conftest.dir
2756  echo GrepMe > conftest.dir/file
2757  { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2758   (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2759   ac_status=$?
2760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2761   (exit $ac_status); }
2762  rm -rf conftest.dir
2763  if test -s conftest.tar; then
2764    { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2765   ($am__untar <conftest.tar) >&5 2>&5
2766   ac_status=$?
2767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2768   (exit $ac_status); }
2769    grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2770  fi
2771done
2772rm -rf conftest.dir
2773
2774if test "${am_cv_prog_tar_ustar+set}" = set; then :
2775  $as_echo_n "(cached) " >&6
2776else
2777  am_cv_prog_tar_ustar=$_am_tool
2778fi
2779
2780{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
2781$as_echo "$am_cv_prog_tar_ustar" >&6; }
2782
2783
2784
2785
2786
2787ac_config_headers="$ac_config_headers src/config.h"
2788
2789
2790ac_ext=c
2791ac_cpp='$CPP $CPPFLAGS'
2792ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2793ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2794ac_compiler_gnu=$ac_cv_c_compiler_gnu
2795if test -n "$ac_tool_prefix"; then
2796  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2797set dummy ${ac_tool_prefix}gcc; ac_word=$2
2798{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2799$as_echo_n "checking for $ac_word... " >&6; }
2800if test "${ac_cv_prog_CC+set}" = set; then :
2801  $as_echo_n "(cached) " >&6
2802else
2803  if test -n "$CC"; then
2804  ac_cv_prog_CC="$CC" # Let the user override the test.
2805else
2806as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2807for as_dir in $PATH
2808do
2809  IFS=$as_save_IFS
2810  test -z "$as_dir" && as_dir=.
2811    for ac_exec_ext in '' $ac_executable_extensions; do
2812  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2813    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2814    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2815    break 2
2816  fi
2817done
2818  done
2819IFS=$as_save_IFS
2820
2821fi
2822fi
2823CC=$ac_cv_prog_CC
2824if test -n "$CC"; then
2825  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2826$as_echo "$CC" >&6; }
2827else
2828  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2829$as_echo "no" >&6; }
2830fi
2831
2832
2833fi
2834if test -z "$ac_cv_prog_CC"; then
2835  ac_ct_CC=$CC
2836  # Extract the first word of "gcc", so it can be a program name with args.
2837set dummy gcc; ac_word=$2
2838{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2839$as_echo_n "checking for $ac_word... " >&6; }
2840if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2841  $as_echo_n "(cached) " >&6
2842else
2843  if test -n "$ac_ct_CC"; then
2844  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2845else
2846as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2847for as_dir in $PATH
2848do
2849  IFS=$as_save_IFS
2850  test -z "$as_dir" && as_dir=.
2851    for ac_exec_ext in '' $ac_executable_extensions; do
2852  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2853    ac_cv_prog_ac_ct_CC="gcc"
2854    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2855    break 2
2856  fi
2857done
2858  done
2859IFS=$as_save_IFS
2860
2861fi
2862fi
2863ac_ct_CC=$ac_cv_prog_ac_ct_CC
2864if test -n "$ac_ct_CC"; then
2865  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2866$as_echo "$ac_ct_CC" >&6; }
2867else
2868  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2869$as_echo "no" >&6; }
2870fi
2871
2872  if test "x$ac_ct_CC" = x; then
2873    CC=""
2874  else
2875    case $cross_compiling:$ac_tool_warned in
2876yes:)
2877{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2878$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2879ac_tool_warned=yes ;;
2880esac
2881    CC=$ac_ct_CC
2882  fi
2883else
2884  CC="$ac_cv_prog_CC"
2885fi
2886
2887if test -z "$CC"; then
2888          if test -n "$ac_tool_prefix"; then
2889    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2890set dummy ${ac_tool_prefix}cc; ac_word=$2
2891{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2892$as_echo_n "checking for $ac_word... " >&6; }
2893if test "${ac_cv_prog_CC+set}" = set; then :
2894  $as_echo_n "(cached) " >&6
2895else
2896  if test -n "$CC"; then
2897  ac_cv_prog_CC="$CC" # Let the user override the test.
2898else
2899as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2900for as_dir in $PATH
2901do
2902  IFS=$as_save_IFS
2903  test -z "$as_dir" && as_dir=.
2904    for ac_exec_ext in '' $ac_executable_extensions; do
2905  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2906    ac_cv_prog_CC="${ac_tool_prefix}cc"
2907    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2908    break 2
2909  fi
2910done
2911  done
2912IFS=$as_save_IFS
2913
2914fi
2915fi
2916CC=$ac_cv_prog_CC
2917if test -n "$CC"; then
2918  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2919$as_echo "$CC" >&6; }
2920else
2921  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2922$as_echo "no" >&6; }
2923fi
2924
2925
2926  fi
2927fi
2928if test -z "$CC"; then
2929  # Extract the first word of "cc", so it can be a program name with args.
2930set dummy cc; ac_word=$2
2931{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2932$as_echo_n "checking for $ac_word... " >&6; }
2933if test "${ac_cv_prog_CC+set}" = set; then :
2934  $as_echo_n "(cached) " >&6
2935else
2936  if test -n "$CC"; then
2937  ac_cv_prog_CC="$CC" # Let the user override the test.
2938else
2939  ac_prog_rejected=no
2940as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2941for as_dir in $PATH
2942do
2943  IFS=$as_save_IFS
2944  test -z "$as_dir" && as_dir=.
2945    for ac_exec_ext in '' $ac_executable_extensions; do
2946  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2947    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2948       ac_prog_rejected=yes
2949       continue
2950     fi
2951    ac_cv_prog_CC="cc"
2952    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2953    break 2
2954  fi
2955done
2956  done
2957IFS=$as_save_IFS
2958
2959if test $ac_prog_rejected = yes; then
2960  # We found a bogon in the path, so make sure we never use it.
2961  set dummy $ac_cv_prog_CC
2962  shift
2963  if test $# != 0; then
2964    # We chose a different compiler from the bogus one.
2965    # However, it has the same basename, so the bogon will be chosen
2966    # first if we set CC to just the basename; use the full file name.
2967    shift
2968    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2969  fi
2970fi
2971fi
2972fi
2973CC=$ac_cv_prog_CC
2974if test -n "$CC"; then
2975  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2976$as_echo "$CC" >&6; }
2977else
2978  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2979$as_echo "no" >&6; }
2980fi
2981
2982
2983fi
2984if test -z "$CC"; then
2985  if test -n "$ac_tool_prefix"; then
2986  for ac_prog in cl.exe
2987  do
2988    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2989set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2990{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2991$as_echo_n "checking for $ac_word... " >&6; }
2992if test "${ac_cv_prog_CC+set}" = set; then :
2993  $as_echo_n "(cached) " >&6
2994else
2995  if test -n "$CC"; then
2996  ac_cv_prog_CC="$CC" # Let the user override the test.
2997else
2998as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2999for as_dir in $PATH
3000do
3001  IFS=$as_save_IFS
3002  test -z "$as_dir" && as_dir=.
3003    for ac_exec_ext in '' $ac_executable_extensions; do
3004  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3005    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3006    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3007    break 2
3008  fi
3009done
3010  done
3011IFS=$as_save_IFS
3012
3013fi
3014fi
3015CC=$ac_cv_prog_CC
3016if test -n "$CC"; then
3017  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3018$as_echo "$CC" >&6; }
3019else
3020  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3021$as_echo "no" >&6; }
3022fi
3023
3024
3025    test -n "$CC" && break
3026  done
3027fi
3028if test -z "$CC"; then
3029  ac_ct_CC=$CC
3030  for ac_prog in cl.exe
3031do
3032  # Extract the first word of "$ac_prog", so it can be a program name with args.
3033set dummy $ac_prog; ac_word=$2
3034{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3035$as_echo_n "checking for $ac_word... " >&6; }
3036if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3037  $as_echo_n "(cached) " >&6
3038else
3039  if test -n "$ac_ct_CC"; then
3040  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3041else
3042as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3043for as_dir in $PATH
3044do
3045  IFS=$as_save_IFS
3046  test -z "$as_dir" && as_dir=.
3047    for ac_exec_ext in '' $ac_executable_extensions; do
3048  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3049    ac_cv_prog_ac_ct_CC="$ac_prog"
3050    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3051    break 2
3052  fi
3053done
3054  done
3055IFS=$as_save_IFS
3056
3057fi
3058fi
3059ac_ct_CC=$ac_cv_prog_ac_ct_CC
3060if test -n "$ac_ct_CC"; then
3061  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3062$as_echo "$ac_ct_CC" >&6; }
3063else
3064  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3065$as_echo "no" >&6; }
3066fi
3067
3068
3069  test -n "$ac_ct_CC" && break
3070done
3071
3072  if test "x$ac_ct_CC" = x; then
3073    CC=""
3074  else
3075    case $cross_compiling:$ac_tool_warned in
3076yes:)
3077{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3078$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3079ac_tool_warned=yes ;;
3080esac
3081    CC=$ac_ct_CC
3082  fi
3083fi
3084
3085fi
3086
3087
3088test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3089$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3090as_fn_error "no acceptable C compiler found in \$PATH
3091See \`config.log' for more details." "$LINENO" 5; }
3092
3093# Provide some information about the compiler.
3094$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3095set X $ac_compile
3096ac_compiler=$2
3097for ac_option in --version -v -V -qversion; do
3098  { { ac_try="$ac_compiler $ac_option >&5"
3099case "(($ac_try" in
3100  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3101  *) ac_try_echo=$ac_try;;
3102esac
3103eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3104$as_echo "$ac_try_echo"; } >&5
3105  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3106  ac_status=$?
3107  if test -s conftest.err; then
3108    sed '10a\
3109... rest of stderr output deleted ...
3110         10q' conftest.err >conftest.er1
3111    cat conftest.er1 >&5
3112  fi
3113  rm -f conftest.er1 conftest.err
3114  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3115  test $ac_status = 0; }
3116done
3117
3118cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3119/* end confdefs.h.  */
3120
3121int
3122main ()
3123{
3124
3125  ;
3126  return 0;
3127}
3128_ACEOF
3129ac_clean_files_save=$ac_clean_files
3130ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3131# Try to create an executable without -o first, disregard a.out.
3132# It will help us diagnose broken compilers, and finding out an intuition
3133# of exeext.
3134{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3135$as_echo_n "checking whether the C compiler works... " >&6; }
3136ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3137
3138# The possible output files:
3139ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3140
3141ac_rmfiles=
3142for ac_file in $ac_files
3143do
3144  case $ac_file in
3145    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3146    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3147  esac
3148done
3149rm -f $ac_rmfiles
3150
3151if { { ac_try="$ac_link_default"
3152case "(($ac_try" in
3153  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3154  *) ac_try_echo=$ac_try;;
3155esac
3156eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3157$as_echo "$ac_try_echo"; } >&5
3158  (eval "$ac_link_default") 2>&5
3159  ac_status=$?
3160  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3161  test $ac_status = 0; }; then :
3162  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3163# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3164# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3165# so that the user can short-circuit this test for compilers unknown to
3166# Autoconf.
3167for ac_file in $ac_files ''
3168do
3169  test -f "$ac_file" || continue
3170  case $ac_file in
3171    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3172	;;
3173    [ab].out )
3174	# We found the default executable, but exeext='' is most
3175	# certainly right.
3176	break;;
3177    *.* )
3178	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3179	then :; else
3180	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3181	fi
3182	# We set ac_cv_exeext here because the later test for it is not
3183	# safe: cross compilers may not add the suffix if given an `-o'
3184	# argument, so we may need to know it at that point already.
3185	# Even if this section looks crufty: it has the advantage of
3186	# actually working.
3187	break;;
3188    * )
3189	break;;
3190  esac
3191done
3192test "$ac_cv_exeext" = no && ac_cv_exeext=
3193
3194else
3195  ac_file=''
3196fi
3197if test -z "$ac_file"; then :
3198  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3199$as_echo "no" >&6; }
3200$as_echo "$as_me: failed program was:" >&5
3201sed 's/^/| /' conftest.$ac_ext >&5
3202
3203{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3204$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3205{ as_fn_set_status 77
3206as_fn_error "C compiler cannot create executables
3207See \`config.log' for more details." "$LINENO" 5; }; }
3208else
3209  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3210$as_echo "yes" >&6; }
3211fi
3212{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3213$as_echo_n "checking for C compiler default output file name... " >&6; }
3214{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3215$as_echo "$ac_file" >&6; }
3216ac_exeext=$ac_cv_exeext
3217
3218rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3219ac_clean_files=$ac_clean_files_save
3220{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3221$as_echo_n "checking for suffix of executables... " >&6; }
3222if { { ac_try="$ac_link"
3223case "(($ac_try" in
3224  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3225  *) ac_try_echo=$ac_try;;
3226esac
3227eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3228$as_echo "$ac_try_echo"; } >&5
3229  (eval "$ac_link") 2>&5
3230  ac_status=$?
3231  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3232  test $ac_status = 0; }; then :
3233  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3234# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3235# work properly (i.e., refer to `conftest.exe'), while it won't with
3236# `rm'.
3237for ac_file in conftest.exe conftest conftest.*; do
3238  test -f "$ac_file" || continue
3239  case $ac_file in
3240    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3241    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3242	  break;;
3243    * ) break;;
3244  esac
3245done
3246else
3247  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3248$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3249as_fn_error "cannot compute suffix of executables: cannot compile and link
3250See \`config.log' for more details." "$LINENO" 5; }
3251fi
3252rm -f conftest conftest$ac_cv_exeext
3253{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3254$as_echo "$ac_cv_exeext" >&6; }
3255
3256rm -f conftest.$ac_ext
3257EXEEXT=$ac_cv_exeext
3258ac_exeext=$EXEEXT
3259cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3260/* end confdefs.h.  */
3261#include <stdio.h>
3262int
3263main ()
3264{
3265FILE *f = fopen ("conftest.out", "w");
3266 return ferror (f) || fclose (f) != 0;
3267
3268  ;
3269  return 0;
3270}
3271_ACEOF
3272ac_clean_files="$ac_clean_files conftest.out"
3273# Check that the compiler produces executables we can run.  If not, either
3274# the compiler is broken, or we cross compile.
3275{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3276$as_echo_n "checking whether we are cross compiling... " >&6; }
3277if test "$cross_compiling" != yes; then
3278  { { ac_try="$ac_link"
3279case "(($ac_try" in
3280  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3281  *) ac_try_echo=$ac_try;;
3282esac
3283eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3284$as_echo "$ac_try_echo"; } >&5
3285  (eval "$ac_link") 2>&5
3286  ac_status=$?
3287  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3288  test $ac_status = 0; }
3289  if { ac_try='./conftest$ac_cv_exeext'
3290  { { case "(($ac_try" in
3291  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3292  *) ac_try_echo=$ac_try;;
3293esac
3294eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3295$as_echo "$ac_try_echo"; } >&5
3296  (eval "$ac_try") 2>&5
3297  ac_status=$?
3298  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3299  test $ac_status = 0; }; }; then
3300    cross_compiling=no
3301  else
3302    if test "$cross_compiling" = maybe; then
3303	cross_compiling=yes
3304    else
3305	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3306$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3307as_fn_error "cannot run C compiled programs.
3308If you meant to cross compile, use \`--host'.
3309See \`config.log' for more details." "$LINENO" 5; }
3310    fi
3311  fi
3312fi
3313{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3314$as_echo "$cross_compiling" >&6; }
3315
3316rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3317ac_clean_files=$ac_clean_files_save
3318{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3319$as_echo_n "checking for suffix of object files... " >&6; }
3320if test "${ac_cv_objext+set}" = set; then :
3321  $as_echo_n "(cached) " >&6
3322else
3323  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3324/* end confdefs.h.  */
3325
3326int
3327main ()
3328{
3329
3330  ;
3331  return 0;
3332}
3333_ACEOF
3334rm -f conftest.o conftest.obj
3335if { { ac_try="$ac_compile"
3336case "(($ac_try" in
3337  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3338  *) ac_try_echo=$ac_try;;
3339esac
3340eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3341$as_echo "$ac_try_echo"; } >&5
3342  (eval "$ac_compile") 2>&5
3343  ac_status=$?
3344  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3345  test $ac_status = 0; }; then :
3346  for ac_file in conftest.o conftest.obj conftest.*; do
3347  test -f "$ac_file" || continue;
3348  case $ac_file in
3349    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3350    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3351       break;;
3352  esac
3353done
3354else
3355  $as_echo "$as_me: failed program was:" >&5
3356sed 's/^/| /' conftest.$ac_ext >&5
3357
3358{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3359$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3360as_fn_error "cannot compute suffix of object files: cannot compile
3361See \`config.log' for more details." "$LINENO" 5; }
3362fi
3363rm -f conftest.$ac_cv_objext conftest.$ac_ext
3364fi
3365{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3366$as_echo "$ac_cv_objext" >&6; }
3367OBJEXT=$ac_cv_objext
3368ac_objext=$OBJEXT
3369{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3370$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3371if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3372  $as_echo_n "(cached) " >&6
3373else
3374  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3375/* end confdefs.h.  */
3376
3377int
3378main ()
3379{
3380#ifndef __GNUC__
3381       choke me
3382#endif
3383
3384  ;
3385  return 0;
3386}
3387_ACEOF
3388if ac_fn_c_try_compile "$LINENO"; then :
3389  ac_compiler_gnu=yes
3390else
3391  ac_compiler_gnu=no
3392fi
3393rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3394ac_cv_c_compiler_gnu=$ac_compiler_gnu
3395
3396fi
3397{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3398$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3399if test $ac_compiler_gnu = yes; then
3400  GCC=yes
3401else
3402  GCC=
3403fi
3404ac_test_CFLAGS=${CFLAGS+set}
3405ac_save_CFLAGS=$CFLAGS
3406{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3407$as_echo_n "checking whether $CC accepts -g... " >&6; }
3408if test "${ac_cv_prog_cc_g+set}" = set; then :
3409  $as_echo_n "(cached) " >&6
3410else
3411  ac_save_c_werror_flag=$ac_c_werror_flag
3412   ac_c_werror_flag=yes
3413   ac_cv_prog_cc_g=no
3414   CFLAGS="-g"
3415   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3416/* end confdefs.h.  */
3417
3418int
3419main ()
3420{
3421
3422  ;
3423  return 0;
3424}
3425_ACEOF
3426if ac_fn_c_try_compile "$LINENO"; then :
3427  ac_cv_prog_cc_g=yes
3428else
3429  CFLAGS=""
3430      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3431/* end confdefs.h.  */
3432
3433int
3434main ()
3435{
3436
3437  ;
3438  return 0;
3439}
3440_ACEOF
3441if ac_fn_c_try_compile "$LINENO"; then :
3442
3443else
3444  ac_c_werror_flag=$ac_save_c_werror_flag
3445	 CFLAGS="-g"
3446	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3447/* end confdefs.h.  */
3448
3449int
3450main ()
3451{
3452
3453  ;
3454  return 0;
3455}
3456_ACEOF
3457if ac_fn_c_try_compile "$LINENO"; then :
3458  ac_cv_prog_cc_g=yes
3459fi
3460rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3461fi
3462rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3463fi
3464rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3465   ac_c_werror_flag=$ac_save_c_werror_flag
3466fi
3467{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3468$as_echo "$ac_cv_prog_cc_g" >&6; }
3469if test "$ac_test_CFLAGS" = set; then
3470  CFLAGS=$ac_save_CFLAGS
3471elif test $ac_cv_prog_cc_g = yes; then
3472  if test "$GCC" = yes; then
3473    CFLAGS="-g -O2"
3474  else
3475    CFLAGS="-g"
3476  fi
3477else
3478  if test "$GCC" = yes; then
3479    CFLAGS="-O2"
3480  else
3481    CFLAGS=
3482  fi
3483fi
3484{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3485$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3486if test "${ac_cv_prog_cc_c89+set}" = set; then :
3487  $as_echo_n "(cached) " >&6
3488else
3489  ac_cv_prog_cc_c89=no
3490ac_save_CC=$CC
3491cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3492/* end confdefs.h.  */
3493#include <stdarg.h>
3494#include <stdio.h>
3495#include <sys/types.h>
3496#include <sys/stat.h>
3497/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3498struct buf { int x; };
3499FILE * (*rcsopen) (struct buf *, struct stat *, int);
3500static char *e (p, i)
3501     char **p;
3502     int i;
3503{
3504  return p[i];
3505}
3506static char *f (char * (*g) (char **, int), char **p, ...)
3507{
3508  char *s;
3509  va_list v;
3510  va_start (v,p);
3511  s = g (p, va_arg (v,int));
3512  va_end (v);
3513  return s;
3514}
3515
3516/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3517   function prototypes and stuff, but not '\xHH' hex character constants.
3518   These don't provoke an error unfortunately, instead are silently treated
3519   as 'x'.  The following induces an error, until -std is added to get
3520   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3521   array size at least.  It's necessary to write '\x00'==0 to get something
3522   that's true only with -std.  */
3523int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3524
3525/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3526   inside strings and character constants.  */
3527#define FOO(x) 'x'
3528int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3529
3530int test (int i, double x);
3531struct s1 {int (*f) (int a);};
3532struct s2 {int (*f) (double a);};
3533int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3534int argc;
3535char **argv;
3536int
3537main ()
3538{
3539return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3540  ;
3541  return 0;
3542}
3543_ACEOF
3544for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3545	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3546do
3547  CC="$ac_save_CC $ac_arg"
3548  if ac_fn_c_try_compile "$LINENO"; then :
3549  ac_cv_prog_cc_c89=$ac_arg
3550fi
3551rm -f core conftest.err conftest.$ac_objext
3552  test "x$ac_cv_prog_cc_c89" != "xno" && break
3553done
3554rm -f conftest.$ac_ext
3555CC=$ac_save_CC
3556
3557fi
3558# AC_CACHE_VAL
3559case "x$ac_cv_prog_cc_c89" in
3560  x)
3561    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3562$as_echo "none needed" >&6; } ;;
3563  xno)
3564    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3565$as_echo "unsupported" >&6; } ;;
3566  *)
3567    CC="$CC $ac_cv_prog_cc_c89"
3568    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3569$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3570esac
3571if test "x$ac_cv_prog_cc_c89" != xno; then :
3572
3573fi
3574
3575ac_ext=c
3576ac_cpp='$CPP $CPPFLAGS'
3577ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3578ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3579ac_compiler_gnu=$ac_cv_c_compiler_gnu
3580DEPDIR="${am__leading_dot}deps"
3581
3582ac_config_commands="$ac_config_commands depfiles"
3583
3584
3585am_make=${MAKE-make}
3586cat > confinc << 'END'
3587am__doit:
3588	@echo this is the am__doit target
3589.PHONY: am__doit
3590END
3591# If we don't find an include directive, just comment out the code.
3592{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3593$as_echo_n "checking for style of include used by $am_make... " >&6; }
3594am__include="#"
3595am__quote=
3596_am_result=none
3597# First try GNU make style include.
3598echo "include confinc" > confmf
3599# Ignore all kinds of additional output from `make'.
3600case `$am_make -s -f confmf 2> /dev/null` in #(
3601*the\ am__doit\ target*)
3602  am__include=include
3603  am__quote=
3604  _am_result=GNU
3605  ;;
3606esac
3607# Now try BSD make style include.
3608if test "$am__include" = "#"; then
3609   echo '.include "confinc"' > confmf
3610   case `$am_make -s -f confmf 2> /dev/null` in #(
3611   *the\ am__doit\ target*)
3612     am__include=.include
3613     am__quote="\""
3614     _am_result=BSD
3615     ;;
3616   esac
3617fi
3618
3619
3620{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3621$as_echo "$_am_result" >&6; }
3622rm -f confinc confmf
3623
3624# Check whether --enable-dependency-tracking was given.
3625if test "${enable_dependency_tracking+set}" = set; then :
3626  enableval=$enable_dependency_tracking;
3627fi
3628
3629if test "x$enable_dependency_tracking" != xno; then
3630  am_depcomp="$ac_aux_dir/depcomp"
3631  AMDEPBACKSLASH='\'
3632fi
3633 if test "x$enable_dependency_tracking" != xno; then
3634  AMDEP_TRUE=
3635  AMDEP_FALSE='#'
3636else
3637  AMDEP_TRUE='#'
3638  AMDEP_FALSE=
3639fi
3640
3641
3642
3643depcc="$CC"   am_compiler_list=
3644
3645{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3646$as_echo_n "checking dependency style of $depcc... " >&6; }
3647if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3648  $as_echo_n "(cached) " >&6
3649else
3650  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3651  # We make a subdir and do the tests there.  Otherwise we can end up
3652  # making bogus files that we don't know about and never remove.  For
3653  # instance it was reported that on HP-UX the gcc test will end up
3654  # making a dummy file named `D' -- because `-MD' means `put the output
3655  # in D'.
3656  mkdir conftest.dir
3657  # Copy depcomp to subdir because otherwise we won't find it if we're
3658  # using a relative directory.
3659  cp "$am_depcomp" conftest.dir
3660  cd conftest.dir
3661  # We will build objects and dependencies in a subdirectory because
3662  # it helps to detect inapplicable dependency modes.  For instance
3663  # both Tru64's cc and ICC support -MD to output dependencies as a
3664  # side effect of compilation, but ICC will put the dependencies in
3665  # the current directory while Tru64 will put them in the object
3666  # directory.
3667  mkdir sub
3668
3669  am_cv_CC_dependencies_compiler_type=none
3670  if test "$am_compiler_list" = ""; then
3671     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3672  fi
3673  am__universal=false
3674  case " $depcc " in #(
3675     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3676     esac
3677
3678  for depmode in $am_compiler_list; do
3679    # Setup a source with many dependencies, because some compilers
3680    # like to wrap large dependency lists on column 80 (with \), and
3681    # we should not choose a depcomp mode which is confused by this.
3682    #
3683    # We need to recreate these files for each test, as the compiler may
3684    # overwrite some of them when testing with obscure command lines.
3685    # This happens at least with the AIX C compiler.
3686    : > sub/conftest.c
3687    for i in 1 2 3 4 5 6; do
3688      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3689      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3690      # Solaris 8's {/usr,}/bin/sh.
3691      touch sub/conftst$i.h
3692    done
3693    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3694
3695    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3696    # mode.  It turns out that the SunPro C++ compiler does not properly
3697    # handle `-M -o', and we need to detect this.  Also, some Intel
3698    # versions had trouble with output in subdirs
3699    am__obj=sub/conftest.${OBJEXT-o}
3700    am__minus_obj="-o $am__obj"
3701    case $depmode in
3702    gcc)
3703      # This depmode causes a compiler race in universal mode.
3704      test "$am__universal" = false || continue
3705      ;;
3706    nosideeffect)
3707      # after this tag, mechanisms are not by side-effect, so they'll
3708      # only be used when explicitly requested
3709      if test "x$enable_dependency_tracking" = xyes; then
3710	continue
3711      else
3712	break
3713      fi
3714      ;;
3715    msvisualcpp | msvcmsys)
3716      # This compiler won't grok `-c -o', but also, the minuso test has
3717      # not run yet.  These depmodes are late enough in the game, and
3718      # so weak that their functioning should not be impacted.
3719      am__obj=conftest.${OBJEXT-o}
3720      am__minus_obj=
3721      ;;
3722    none) break ;;
3723    esac
3724    if depmode=$depmode \
3725       source=sub/conftest.c object=$am__obj \
3726       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3727       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3728         >/dev/null 2>conftest.err &&
3729       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3730       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3731       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3732       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3733      # icc doesn't choke on unknown options, it will just issue warnings
3734      # or remarks (even with -Werror).  So we grep stderr for any message
3735      # that says an option was ignored or not supported.
3736      # When given -MP, icc 7.0 and 7.1 complain thusly:
3737      #   icc: Command line warning: ignoring option '-M'; no argument required
3738      # The diagnosis changed in icc 8.0:
3739      #   icc: Command line remark: option '-MP' not supported
3740      if (grep 'ignoring option' conftest.err ||
3741          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3742        am_cv_CC_dependencies_compiler_type=$depmode
3743        break
3744      fi
3745    fi
3746  done
3747
3748  cd ..
3749  rm -rf conftest.dir
3750else
3751  am_cv_CC_dependencies_compiler_type=none
3752fi
3753
3754fi
3755{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3756$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3757CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3758
3759 if
3760  test "x$enable_dependency_tracking" != xno \
3761  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3762  am__fastdepCC_TRUE=
3763  am__fastdepCC_FALSE='#'
3764else
3765  am__fastdepCC_TRUE='#'
3766  am__fastdepCC_FALSE=
3767fi
3768
3769
3770if test "x$CC" != xcc; then
3771  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3772$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3773else
3774  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3775$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3776fi
3777set dummy $CC; ac_cc=`$as_echo "$2" |
3778		      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3779if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
3780  $as_echo_n "(cached) " >&6
3781else
3782  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3783/* end confdefs.h.  */
3784
3785int
3786main ()
3787{
3788
3789  ;
3790  return 0;
3791}
3792_ACEOF
3793# Make sure it works both with $CC and with simple cc.
3794# We do the test twice because some compilers refuse to overwrite an
3795# existing .o file with -o, though they will create one.
3796ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3797rm -f conftest2.*
3798if { { case "(($ac_try" in
3799  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3800  *) ac_try_echo=$ac_try;;
3801esac
3802eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3803$as_echo "$ac_try_echo"; } >&5
3804  (eval "$ac_try") 2>&5
3805  ac_status=$?
3806  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3807  test $ac_status = 0; } &&
3808   test -f conftest2.$ac_objext && { { case "(($ac_try" in
3809  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3810  *) ac_try_echo=$ac_try;;
3811esac
3812eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3813$as_echo "$ac_try_echo"; } >&5
3814  (eval "$ac_try") 2>&5
3815  ac_status=$?
3816  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3817  test $ac_status = 0; };
3818then
3819  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3820  if test "x$CC" != xcc; then
3821    # Test first that cc exists at all.
3822    if { ac_try='cc -c conftest.$ac_ext >&5'
3823  { { case "(($ac_try" in
3824  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3825  *) ac_try_echo=$ac_try;;
3826esac
3827eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3828$as_echo "$ac_try_echo"; } >&5
3829  (eval "$ac_try") 2>&5
3830  ac_status=$?
3831  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3832  test $ac_status = 0; }; }; then
3833      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3834      rm -f conftest2.*
3835      if { { case "(($ac_try" in
3836  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3837  *) ac_try_echo=$ac_try;;
3838esac
3839eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3840$as_echo "$ac_try_echo"; } >&5
3841  (eval "$ac_try") 2>&5
3842  ac_status=$?
3843  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3844  test $ac_status = 0; } &&
3845	 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3846  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3847  *) ac_try_echo=$ac_try;;
3848esac
3849eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3850$as_echo "$ac_try_echo"; } >&5
3851  (eval "$ac_try") 2>&5
3852  ac_status=$?
3853  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3854  test $ac_status = 0; };
3855      then
3856	# cc works too.
3857	:
3858      else
3859	# cc exists but doesn't like -o.
3860	eval ac_cv_prog_cc_${ac_cc}_c_o=no
3861      fi
3862    fi
3863  fi
3864else
3865  eval ac_cv_prog_cc_${ac_cc}_c_o=no
3866fi
3867rm -f core conftest*
3868
3869fi
3870if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3871  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3872$as_echo "yes" >&6; }
3873else
3874  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3875$as_echo "no" >&6; }
3876
3877$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
3878
3879fi
3880
3881# FIXME: we rely on the cache variable name because
3882# there is no other way.
3883set dummy $CC
3884am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3885eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
3886if test "$am_t" != yes; then
3887   # Losing compiler, so override with the script.
3888   # FIXME: It is wrong to rewrite CC.
3889   # But if we don't then we get into trouble of one sort or another.
3890   # A longer-term fix would be to have automake use am__CC in this case,
3891   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3892   CC="$am_aux_dir/compile $CC"
3893fi
3894
3895
3896ac_ext=c
3897ac_cpp='$CPP $CPPFLAGS'
3898ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3899ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3900ac_compiler_gnu=$ac_cv_c_compiler_gnu
3901{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3902$as_echo_n "checking how to run the C preprocessor... " >&6; }
3903# On Suns, sometimes $CPP names a directory.
3904if test -n "$CPP" && test -d "$CPP"; then
3905  CPP=
3906fi
3907if test -z "$CPP"; then
3908  if test "${ac_cv_prog_CPP+set}" = set; then :
3909  $as_echo_n "(cached) " >&6
3910else
3911      # Double quotes because CPP needs to be expanded
3912    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3913    do
3914      ac_preproc_ok=false
3915for ac_c_preproc_warn_flag in '' yes
3916do
3917  # Use a header file that comes with gcc, so configuring glibc
3918  # with a fresh cross-compiler works.
3919  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3920  # <limits.h> exists even on freestanding compilers.
3921  # On the NeXT, cc -E runs the code through the compiler's parser,
3922  # not just through cpp. "Syntax error" is here to catch this case.
3923  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3924/* end confdefs.h.  */
3925#ifdef __STDC__
3926# include <limits.h>
3927#else
3928# include <assert.h>
3929#endif
3930		     Syntax error
3931_ACEOF
3932if ac_fn_c_try_cpp "$LINENO"; then :
3933
3934else
3935  # Broken: fails on valid input.
3936continue
3937fi
3938rm -f conftest.err conftest.$ac_ext
3939
3940  # OK, works on sane cases.  Now check whether nonexistent headers
3941  # can be detected and how.
3942  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3943/* end confdefs.h.  */
3944#include <ac_nonexistent.h>
3945_ACEOF
3946if ac_fn_c_try_cpp "$LINENO"; then :
3947  # Broken: success on invalid input.
3948continue
3949else
3950  # Passes both tests.
3951ac_preproc_ok=:
3952break
3953fi
3954rm -f conftest.err conftest.$ac_ext
3955
3956done
3957# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3958rm -f conftest.err conftest.$ac_ext
3959if $ac_preproc_ok; then :
3960  break
3961fi
3962
3963    done
3964    ac_cv_prog_CPP=$CPP
3965
3966fi
3967  CPP=$ac_cv_prog_CPP
3968else
3969  ac_cv_prog_CPP=$CPP
3970fi
3971{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3972$as_echo "$CPP" >&6; }
3973ac_preproc_ok=false
3974for ac_c_preproc_warn_flag in '' yes
3975do
3976  # Use a header file that comes with gcc, so configuring glibc
3977  # with a fresh cross-compiler works.
3978  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3979  # <limits.h> exists even on freestanding compilers.
3980  # On the NeXT, cc -E runs the code through the compiler's parser,
3981  # not just through cpp. "Syntax error" is here to catch this case.
3982  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3983/* end confdefs.h.  */
3984#ifdef __STDC__
3985# include <limits.h>
3986#else
3987# include <assert.h>
3988#endif
3989		     Syntax error
3990_ACEOF
3991if ac_fn_c_try_cpp "$LINENO"; then :
3992
3993else
3994  # Broken: fails on valid input.
3995continue
3996fi
3997rm -f conftest.err conftest.$ac_ext
3998
3999  # OK, works on sane cases.  Now check whether nonexistent headers
4000  # can be detected and how.
4001  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4002/* end confdefs.h.  */
4003#include <ac_nonexistent.h>
4004_ACEOF
4005if ac_fn_c_try_cpp "$LINENO"; then :
4006  # Broken: success on invalid input.
4007continue
4008else
4009  # Passes both tests.
4010ac_preproc_ok=:
4011break
4012fi
4013rm -f conftest.err conftest.$ac_ext
4014
4015done
4016# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4017rm -f conftest.err conftest.$ac_ext
4018if $ac_preproc_ok; then :
4019
4020else
4021  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4022$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4023as_fn_error "C preprocessor \"$CPP\" fails sanity check
4024See \`config.log' for more details." "$LINENO" 5; }
4025fi
4026
4027ac_ext=c
4028ac_cpp='$CPP $CPPFLAGS'
4029ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4030ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4031ac_compiler_gnu=$ac_cv_c_compiler_gnu
4032
4033ac_ext=cpp
4034ac_cpp='$CXXCPP $CPPFLAGS'
4035ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4036ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4037ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4038if test -z "$CXX"; then
4039  if test -n "$CCC"; then
4040    CXX=$CCC
4041  else
4042    if test -n "$ac_tool_prefix"; then
4043  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4044  do
4045    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4046set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4047{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4048$as_echo_n "checking for $ac_word... " >&6; }
4049if test "${ac_cv_prog_CXX+set}" = set; then :
4050  $as_echo_n "(cached) " >&6
4051else
4052  if test -n "$CXX"; then
4053  ac_cv_prog_CXX="$CXX" # Let the user override the test.
4054else
4055as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4056for as_dir in $PATH
4057do
4058  IFS=$as_save_IFS
4059  test -z "$as_dir" && as_dir=.
4060    for ac_exec_ext in '' $ac_executable_extensions; do
4061  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4062    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4063    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4064    break 2
4065  fi
4066done
4067  done
4068IFS=$as_save_IFS
4069
4070fi
4071fi
4072CXX=$ac_cv_prog_CXX
4073if test -n "$CXX"; then
4074  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4075$as_echo "$CXX" >&6; }
4076else
4077  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4078$as_echo "no" >&6; }
4079fi
4080
4081
4082    test -n "$CXX" && break
4083  done
4084fi
4085if test -z "$CXX"; then
4086  ac_ct_CXX=$CXX
4087  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4088do
4089  # Extract the first word of "$ac_prog", so it can be a program name with args.
4090set dummy $ac_prog; ac_word=$2
4091{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4092$as_echo_n "checking for $ac_word... " >&6; }
4093if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4094  $as_echo_n "(cached) " >&6
4095else
4096  if test -n "$ac_ct_CXX"; then
4097  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4098else
4099as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4100for as_dir in $PATH
4101do
4102  IFS=$as_save_IFS
4103  test -z "$as_dir" && as_dir=.
4104    for ac_exec_ext in '' $ac_executable_extensions; do
4105  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4106    ac_cv_prog_ac_ct_CXX="$ac_prog"
4107    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4108    break 2
4109  fi
4110done
4111  done
4112IFS=$as_save_IFS
4113
4114fi
4115fi
4116ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4117if test -n "$ac_ct_CXX"; then
4118  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4119$as_echo "$ac_ct_CXX" >&6; }
4120else
4121  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4122$as_echo "no" >&6; }
4123fi
4124
4125
4126  test -n "$ac_ct_CXX" && break
4127done
4128
4129  if test "x$ac_ct_CXX" = x; then
4130    CXX="g++"
4131  else
4132    case $cross_compiling:$ac_tool_warned in
4133yes:)
4134{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4135$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4136ac_tool_warned=yes ;;
4137esac
4138    CXX=$ac_ct_CXX
4139  fi
4140fi
4141
4142  fi
4143fi
4144# Provide some information about the compiler.
4145$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4146set X $ac_compile
4147ac_compiler=$2
4148for ac_option in --version -v -V -qversion; do
4149  { { ac_try="$ac_compiler $ac_option >&5"
4150case "(($ac_try" in
4151  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4152  *) ac_try_echo=$ac_try;;
4153esac
4154eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4155$as_echo "$ac_try_echo"; } >&5
4156  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4157  ac_status=$?
4158  if test -s conftest.err; then
4159    sed '10a\
4160... rest of stderr output deleted ...
4161         10q' conftest.err >conftest.er1
4162    cat conftest.er1 >&5
4163  fi
4164  rm -f conftest.er1 conftest.err
4165  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4166  test $ac_status = 0; }
4167done
4168
4169{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4170$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4171if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4172  $as_echo_n "(cached) " >&6
4173else
4174  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4175/* end confdefs.h.  */
4176
4177int
4178main ()
4179{
4180#ifndef __GNUC__
4181       choke me
4182#endif
4183
4184  ;
4185  return 0;
4186}
4187_ACEOF
4188if ac_fn_cxx_try_compile "$LINENO"; then :
4189  ac_compiler_gnu=yes
4190else
4191  ac_compiler_gnu=no
4192fi
4193rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4194ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4195
4196fi
4197{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4198$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4199if test $ac_compiler_gnu = yes; then
4200  GXX=yes
4201else
4202  GXX=
4203fi
4204ac_test_CXXFLAGS=${CXXFLAGS+set}
4205ac_save_CXXFLAGS=$CXXFLAGS
4206{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4207$as_echo_n "checking whether $CXX accepts -g... " >&6; }
4208if test "${ac_cv_prog_cxx_g+set}" = set; then :
4209  $as_echo_n "(cached) " >&6
4210else
4211  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4212   ac_cxx_werror_flag=yes
4213   ac_cv_prog_cxx_g=no
4214   CXXFLAGS="-g"
4215   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4216/* end confdefs.h.  */
4217
4218int
4219main ()
4220{
4221
4222  ;
4223  return 0;
4224}
4225_ACEOF
4226if ac_fn_cxx_try_compile "$LINENO"; then :
4227  ac_cv_prog_cxx_g=yes
4228else
4229  CXXFLAGS=""
4230      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4231/* end confdefs.h.  */
4232
4233int
4234main ()
4235{
4236
4237  ;
4238  return 0;
4239}
4240_ACEOF
4241if ac_fn_cxx_try_compile "$LINENO"; then :
4242
4243else
4244  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4245	 CXXFLAGS="-g"
4246	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4247/* end confdefs.h.  */
4248
4249int
4250main ()
4251{
4252
4253  ;
4254  return 0;
4255}
4256_ACEOF
4257if ac_fn_cxx_try_compile "$LINENO"; then :
4258  ac_cv_prog_cxx_g=yes
4259fi
4260rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4261fi
4262rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4263fi
4264rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4265   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4266fi
4267{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4268$as_echo "$ac_cv_prog_cxx_g" >&6; }
4269if test "$ac_test_CXXFLAGS" = set; then
4270  CXXFLAGS=$ac_save_CXXFLAGS
4271elif test $ac_cv_prog_cxx_g = yes; then
4272  if test "$GXX" = yes; then
4273    CXXFLAGS="-g -O2"
4274  else
4275    CXXFLAGS="-g"
4276  fi
4277else
4278  if test "$GXX" = yes; then
4279    CXXFLAGS="-O2"
4280  else
4281    CXXFLAGS=
4282  fi
4283fi
4284ac_ext=c
4285ac_cpp='$CPP $CPPFLAGS'
4286ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4287ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4288ac_compiler_gnu=$ac_cv_c_compiler_gnu
4289
4290depcc="$CXX"  am_compiler_list=
4291
4292{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4293$as_echo_n "checking dependency style of $depcc... " >&6; }
4294if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
4295  $as_echo_n "(cached) " >&6
4296else
4297  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4298  # We make a subdir and do the tests there.  Otherwise we can end up
4299  # making bogus files that we don't know about and never remove.  For
4300  # instance it was reported that on HP-UX the gcc test will end up
4301  # making a dummy file named `D' -- because `-MD' means `put the output
4302  # in D'.
4303  mkdir conftest.dir
4304  # Copy depcomp to subdir because otherwise we won't find it if we're
4305  # using a relative directory.
4306  cp "$am_depcomp" conftest.dir
4307  cd conftest.dir
4308  # We will build objects and dependencies in a subdirectory because
4309  # it helps to detect inapplicable dependency modes.  For instance
4310  # both Tru64's cc and ICC support -MD to output dependencies as a
4311  # side effect of compilation, but ICC will put the dependencies in
4312  # the current directory while Tru64 will put them in the object
4313  # directory.
4314  mkdir sub
4315
4316  am_cv_CXX_dependencies_compiler_type=none
4317  if test "$am_compiler_list" = ""; then
4318     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4319  fi
4320  am__universal=false
4321  case " $depcc " in #(
4322     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4323     esac
4324
4325  for depmode in $am_compiler_list; do
4326    # Setup a source with many dependencies, because some compilers
4327    # like to wrap large dependency lists on column 80 (with \), and
4328    # we should not choose a depcomp mode which is confused by this.
4329    #
4330    # We need to recreate these files for each test, as the compiler may
4331    # overwrite some of them when testing with obscure command lines.
4332    # This happens at least with the AIX C compiler.
4333    : > sub/conftest.c
4334    for i in 1 2 3 4 5 6; do
4335      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4336      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4337      # Solaris 8's {/usr,}/bin/sh.
4338      touch sub/conftst$i.h
4339    done
4340    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4341
4342    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4343    # mode.  It turns out that the SunPro C++ compiler does not properly
4344    # handle `-M -o', and we need to detect this.  Also, some Intel
4345    # versions had trouble with output in subdirs
4346    am__obj=sub/conftest.${OBJEXT-o}
4347    am__minus_obj="-o $am__obj"
4348    case $depmode in
4349    gcc)
4350      # This depmode causes a compiler race in universal mode.
4351      test "$am__universal" = false || continue
4352      ;;
4353    nosideeffect)
4354      # after this tag, mechanisms are not by side-effect, so they'll
4355      # only be used when explicitly requested
4356      if test "x$enable_dependency_tracking" = xyes; then
4357	continue
4358      else
4359	break
4360      fi
4361      ;;
4362    msvisualcpp | msvcmsys)
4363      # This compiler won't grok `-c -o', but also, the minuso test has
4364      # not run yet.  These depmodes are late enough in the game, and
4365      # so weak that their functioning should not be impacted.
4366      am__obj=conftest.${OBJEXT-o}
4367      am__minus_obj=
4368      ;;
4369    none) break ;;
4370    esac
4371    if depmode=$depmode \
4372       source=sub/conftest.c object=$am__obj \
4373       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4374       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4375         >/dev/null 2>conftest.err &&
4376       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4377       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4378       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4379       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4380      # icc doesn't choke on unknown options, it will just issue warnings
4381      # or remarks (even with -Werror).  So we grep stderr for any message
4382      # that says an option was ignored or not supported.
4383      # When given -MP, icc 7.0 and 7.1 complain thusly:
4384      #   icc: Command line warning: ignoring option '-M'; no argument required
4385      # The diagnosis changed in icc 8.0:
4386      #   icc: Command line remark: option '-MP' not supported
4387      if (grep 'ignoring option' conftest.err ||
4388          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4389        am_cv_CXX_dependencies_compiler_type=$depmode
4390        break
4391      fi
4392    fi
4393  done
4394
4395  cd ..
4396  rm -rf conftest.dir
4397else
4398  am_cv_CXX_dependencies_compiler_type=none
4399fi
4400
4401fi
4402{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4403$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4404CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4405
4406 if
4407  test "x$enable_dependency_tracking" != xno \
4408  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4409  am__fastdepCXX_TRUE=
4410  am__fastdepCXX_FALSE='#'
4411else
4412  am__fastdepCXX_TRUE='#'
4413  am__fastdepCXX_FALSE=
4414fi
4415
4416
4417if test -n "$ac_tool_prefix"; then
4418  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4419set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4420{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4421$as_echo_n "checking for $ac_word... " >&6; }
4422if test "${ac_cv_prog_RANLIB+set}" = set; then :
4423  $as_echo_n "(cached) " >&6
4424else
4425  if test -n "$RANLIB"; then
4426  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4427else
4428as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4429for as_dir in $PATH
4430do
4431  IFS=$as_save_IFS
4432  test -z "$as_dir" && as_dir=.
4433    for ac_exec_ext in '' $ac_executable_extensions; do
4434  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4435    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4436    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4437    break 2
4438  fi
4439done
4440  done
4441IFS=$as_save_IFS
4442
4443fi
4444fi
4445RANLIB=$ac_cv_prog_RANLIB
4446if test -n "$RANLIB"; then
4447  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4448$as_echo "$RANLIB" >&6; }
4449else
4450  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4451$as_echo "no" >&6; }
4452fi
4453
4454
4455fi
4456if test -z "$ac_cv_prog_RANLIB"; then
4457  ac_ct_RANLIB=$RANLIB
4458  # Extract the first word of "ranlib", so it can be a program name with args.
4459set dummy ranlib; ac_word=$2
4460{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4461$as_echo_n "checking for $ac_word... " >&6; }
4462if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4463  $as_echo_n "(cached) " >&6
4464else
4465  if test -n "$ac_ct_RANLIB"; then
4466  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4467else
4468as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4469for as_dir in $PATH
4470do
4471  IFS=$as_save_IFS
4472  test -z "$as_dir" && as_dir=.
4473    for ac_exec_ext in '' $ac_executable_extensions; do
4474  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4475    ac_cv_prog_ac_ct_RANLIB="ranlib"
4476    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4477    break 2
4478  fi
4479done
4480  done
4481IFS=$as_save_IFS
4482
4483fi
4484fi
4485ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4486if test -n "$ac_ct_RANLIB"; then
4487  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4488$as_echo "$ac_ct_RANLIB" >&6; }
4489else
4490  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4491$as_echo "no" >&6; }
4492fi
4493
4494  if test "x$ac_ct_RANLIB" = x; then
4495    RANLIB=":"
4496  else
4497    case $cross_compiling:$ac_tool_warned in
4498yes:)
4499{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4500$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4501ac_tool_warned=yes ;;
4502esac
4503    RANLIB=$ac_ct_RANLIB
4504  fi
4505else
4506  RANLIB="$ac_cv_prog_RANLIB"
4507fi
4508
4509
4510
4511
4512{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4513$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4514if test "${ac_cv_path_GREP+set}" = set; then :
4515  $as_echo_n "(cached) " >&6
4516else
4517  if test -z "$GREP"; then
4518  ac_path_GREP_found=false
4519  # Loop through the user's path and test for each of PROGNAME-LIST
4520  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4521for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4522do
4523  IFS=$as_save_IFS
4524  test -z "$as_dir" && as_dir=.
4525    for ac_prog in grep ggrep; do
4526    for ac_exec_ext in '' $ac_executable_extensions; do
4527      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4528      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4529# Check for GNU ac_path_GREP and select it if it is found.
4530  # Check for GNU $ac_path_GREP
4531case `"$ac_path_GREP" --version 2>&1` in
4532*GNU*)
4533  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4534*)
4535  ac_count=0
4536  $as_echo_n 0123456789 >"conftest.in"
4537  while :
4538  do
4539    cat "conftest.in" "conftest.in" >"conftest.tmp"
4540    mv "conftest.tmp" "conftest.in"
4541    cp "conftest.in" "conftest.nl"
4542    $as_echo 'GREP' >> "conftest.nl"
4543    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4544    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4545    as_fn_arith $ac_count + 1 && ac_count=$as_val
4546    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4547      # Best one so far, save it but keep looking for a better one
4548      ac_cv_path_GREP="$ac_path_GREP"
4549      ac_path_GREP_max=$ac_count
4550    fi
4551    # 10*(2^10) chars as input seems more than enough
4552    test $ac_count -gt 10 && break
4553  done
4554  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4555esac
4556
4557      $ac_path_GREP_found && break 3
4558    done
4559  done
4560  done
4561IFS=$as_save_IFS
4562  if test -z "$ac_cv_path_GREP"; then
4563    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4564  fi
4565else
4566  ac_cv_path_GREP=$GREP
4567fi
4568
4569fi
4570{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4571$as_echo "$ac_cv_path_GREP" >&6; }
4572 GREP="$ac_cv_path_GREP"
4573
4574
4575{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4576$as_echo_n "checking for egrep... " >&6; }
4577if test "${ac_cv_path_EGREP+set}" = set; then :
4578  $as_echo_n "(cached) " >&6
4579else
4580  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4581   then ac_cv_path_EGREP="$GREP -E"
4582   else
4583     if test -z "$EGREP"; then
4584  ac_path_EGREP_found=false
4585  # Loop through the user's path and test for each of PROGNAME-LIST
4586  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4587for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4588do
4589  IFS=$as_save_IFS
4590  test -z "$as_dir" && as_dir=.
4591    for ac_prog in egrep; do
4592    for ac_exec_ext in '' $ac_executable_extensions; do
4593      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4594      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4595# Check for GNU ac_path_EGREP and select it if it is found.
4596  # Check for GNU $ac_path_EGREP
4597case `"$ac_path_EGREP" --version 2>&1` in
4598*GNU*)
4599  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4600*)
4601  ac_count=0
4602  $as_echo_n 0123456789 >"conftest.in"
4603  while :
4604  do
4605    cat "conftest.in" "conftest.in" >"conftest.tmp"
4606    mv "conftest.tmp" "conftest.in"
4607    cp "conftest.in" "conftest.nl"
4608    $as_echo 'EGREP' >> "conftest.nl"
4609    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4610    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4611    as_fn_arith $ac_count + 1 && ac_count=$as_val
4612    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4613      # Best one so far, save it but keep looking for a better one
4614      ac_cv_path_EGREP="$ac_path_EGREP"
4615      ac_path_EGREP_max=$ac_count
4616    fi
4617    # 10*(2^10) chars as input seems more than enough
4618    test $ac_count -gt 10 && break
4619  done
4620  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4621esac
4622
4623      $ac_path_EGREP_found && break 3
4624    done
4625  done
4626  done
4627IFS=$as_save_IFS
4628  if test -z "$ac_cv_path_EGREP"; then
4629    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4630  fi
4631else
4632  ac_cv_path_EGREP=$EGREP
4633fi
4634
4635   fi
4636fi
4637{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4638$as_echo "$ac_cv_path_EGREP" >&6; }
4639 EGREP="$ac_cv_path_EGREP"
4640
4641
4642{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4643$as_echo_n "checking for ANSI C header files... " >&6; }
4644if test "${ac_cv_header_stdc+set}" = set; then :
4645  $as_echo_n "(cached) " >&6
4646else
4647  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4648/* end confdefs.h.  */
4649#include <stdlib.h>
4650#include <stdarg.h>
4651#include <string.h>
4652#include <float.h>
4653
4654int
4655main ()
4656{
4657
4658  ;
4659  return 0;
4660}
4661_ACEOF
4662if ac_fn_c_try_compile "$LINENO"; then :
4663  ac_cv_header_stdc=yes
4664else
4665  ac_cv_header_stdc=no
4666fi
4667rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4668
4669if test $ac_cv_header_stdc = yes; then
4670  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4671  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4672/* end confdefs.h.  */
4673#include <string.h>
4674
4675_ACEOF
4676if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4677  $EGREP "memchr" >/dev/null 2>&1; then :
4678
4679else
4680  ac_cv_header_stdc=no
4681fi
4682rm -f conftest*
4683
4684fi
4685
4686if test $ac_cv_header_stdc = yes; then
4687  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4688  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4689/* end confdefs.h.  */
4690#include <stdlib.h>
4691
4692_ACEOF
4693if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4694  $EGREP "free" >/dev/null 2>&1; then :
4695
4696else
4697  ac_cv_header_stdc=no
4698fi
4699rm -f conftest*
4700
4701fi
4702
4703if test $ac_cv_header_stdc = yes; then
4704  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4705  if test "$cross_compiling" = yes; then :
4706  :
4707else
4708  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4709/* end confdefs.h.  */
4710#include <ctype.h>
4711#include <stdlib.h>
4712#if ((' ' & 0x0FF) == 0x020)
4713# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4714# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4715#else
4716# define ISLOWER(c) \
4717		   (('a' <= (c) && (c) <= 'i') \
4718		     || ('j' <= (c) && (c) <= 'r') \
4719		     || ('s' <= (c) && (c) <= 'z'))
4720# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4721#endif
4722
4723#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4724int
4725main ()
4726{
4727  int i;
4728  for (i = 0; i < 256; i++)
4729    if (XOR (islower (i), ISLOWER (i))
4730	|| toupper (i) != TOUPPER (i))
4731      return 2;
4732  return 0;
4733}
4734_ACEOF
4735if ac_fn_c_try_run "$LINENO"; then :
4736
4737else
4738  ac_cv_header_stdc=no
4739fi
4740rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4741  conftest.$ac_objext conftest.beam conftest.$ac_ext
4742fi
4743
4744fi
4745fi
4746{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4747$as_echo "$ac_cv_header_stdc" >&6; }
4748if test $ac_cv_header_stdc = yes; then
4749
4750$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4751
4752fi
4753
4754# ===========================================================================
4755#           http://www.nongnu.org/autoconf-archive/ax_pthread.html
4756# ===========================================================================
4757#
4758# SYNOPSIS
4759#
4760#   AX_PTHREAD([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
4761#
4762# DESCRIPTION
4763#
4764#   This macro figures out how to build C programs using POSIX threads. It
4765#   sets the PTHREAD_LIBS output variable to the threads library and linker
4766#   flags, and the PTHREAD_CFLAGS output variable to any special C compiler
4767#   flags that are needed. (The user can also force certain compiler
4768#   flags/libs to be tested by setting these environment variables.)
4769#
4770#   Also sets PTHREAD_CC to any special C compiler that is needed for
4771#   multi-threaded programs (defaults to the value of CC otherwise). (This
4772#   is necessary on AIX to use the special cc_r compiler alias.)
4773#
4774#   NOTE: You are assumed to not only compile your program with these flags,
4775#   but also link it with them as well. e.g. you should link with
4776#   $PTHREAD_CC $CFLAGS $PTHREAD_CFLAGS $LDFLAGS ... $PTHREAD_LIBS $LIBS
4777#
4778#   If you are only building threads programs, you may wish to use these
4779#   variables in your default LIBS, CFLAGS, and CC:
4780#
4781#     LIBS="$PTHREAD_LIBS $LIBS"
4782#     CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
4783#     CC="$PTHREAD_CC"
4784#
4785#   In addition, if the PTHREAD_CREATE_JOINABLE thread-attribute constant
4786#   has a nonstandard name, defines PTHREAD_CREATE_JOINABLE to that name
4787#   (e.g. PTHREAD_CREATE_UNDETACHED on AIX).
4788#
4789#   ACTION-IF-FOUND is a list of shell commands to run if a threads library
4790#   is found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it
4791#   is not found. If ACTION-IF-FOUND is not specified, the default action
4792#   will define HAVE_PTHREAD.
4793#
4794#   Please let the authors know if this macro fails on any platform, or if
4795#   you have any other suggestions or comments. This macro was based on work
4796#   by SGJ on autoconf scripts for FFTW (http://www.fftw.org/) (with help
4797#   from M. Frigo), as well as ac_pthread and hb_pthread macros posted by
4798#   Alejandro Forero Cuervo to the autoconf macro repository. We are also
4799#   grateful for the helpful feedback of numerous users.
4800#
4801# LICENSE
4802#
4803#   Copyright (c) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
4804#
4805#   This program is free software: you can redistribute it and/or modify it
4806#   under the terms of the GNU General Public License as published by the
4807#   Free Software Foundation, either version 3 of the License, or (at your
4808#   option) any later version.
4809#
4810#   This program is distributed in the hope that it will be useful, but
4811#   WITHOUT ANY WARRANTY; without even the implied warranty of
4812#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
4813#   Public License for more details.
4814#
4815#   You should have received a copy of the GNU General Public License along
4816#   with this program. If not, see <http://www.gnu.org/licenses/>.
4817#
4818#   As a special exception, the respective Autoconf Macro's copyright owner
4819#   gives unlimited permission to copy, distribute and modify the configure
4820#   scripts that are the output of Autoconf when processing the Macro. You
4821#   need not follow the terms of the GNU General Public License when using
4822#   or distributing such scripts, even though portions of the text of the
4823#   Macro appear in them. The GNU General Public License (GPL) does govern
4824#   all other use of the material that constitutes the Autoconf Macro.
4825#
4826#   This special exception to the GPL applies to versions of the Autoconf
4827#   Macro released by the Autoconf Archive. When you make and distribute a
4828#   modified version of the Autoconf Macro, you may extend this special
4829#   exception to the GPL to apply to your modified version as well.
4830
4831#serial 6
4832
4833# This is what autoupdate's m4 run will expand.  It fires
4834# the warning (with _au_warn_XXX), outputs it into the
4835# updated configure.ac (with AC_DIAGNOSE), and then outputs
4836# the replacement expansion.
4837
4838
4839# This is an auxiliary macro that is also run when
4840# autoupdate runs m4.  It simply calls m4_warning, but
4841# we need a wrapper so that each warning is emitted only
4842# once.  We break the quoting in m4_warning's argument in
4843# order to expand this macro's arguments, not AU_DEFUN's.
4844
4845
4846# Finally, this is the expansion that is picked up by
4847# autoconf.  It tells the user to run autoupdate, and
4848# then outputs the replacement expansion.  We do not care
4849# about autoupdate's warning because that contains
4850# information on what to do *after* running autoupdate.
4851
4852
4853
4854
4855ac_ext=c
4856ac_cpp='$CPP $CPPFLAGS'
4857ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4858ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4859ac_compiler_gnu=$ac_cv_c_compiler_gnu
4860
4861ax_pthread_ok=no
4862
4863# We used to check for pthread.h first, but this fails if pthread.h
4864# requires special compiler flags (e.g. on True64 or Sequent).
4865# It gets checked for in the link test anyway.
4866
4867# First of all, check if the user has set any of the PTHREAD_LIBS,
4868# etcetera environment variables, and if threads linking works using
4869# them:
4870if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
4871        save_CFLAGS="$CFLAGS"
4872        CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
4873        save_LIBS="$LIBS"
4874        LIBS="$PTHREAD_LIBS $LIBS"
4875        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
4876$as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
4877        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4878/* end confdefs.h.  */
4879
4880/* Override any GCC internal prototype to avoid an error.
4881   Use char because int might match the return type of a GCC
4882   builtin and then its argument prototype would still apply.  */
4883#ifdef __cplusplus
4884extern "C"
4885#endif
4886char pthread_join ();
4887int
4888main ()
4889{
4890return pthread_join ();
4891  ;
4892  return 0;
4893}
4894_ACEOF
4895if ac_fn_c_try_link "$LINENO"; then :
4896  ax_pthread_ok=yes
4897fi
4898rm -f core conftest.err conftest.$ac_objext \
4899    conftest$ac_exeext conftest.$ac_ext
4900        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
4901$as_echo "$ax_pthread_ok" >&6; }
4902        if test x"$ax_pthread_ok" = xno; then
4903                PTHREAD_LIBS=""
4904                PTHREAD_CFLAGS=""
4905        fi
4906        LIBS="$save_LIBS"
4907        CFLAGS="$save_CFLAGS"
4908fi
4909
4910# We must check for the threads library under a number of different
4911# names; the ordering is very important because some systems
4912# (e.g. DEC) have both -lpthread and -lpthreads, where one of the
4913# libraries is broken (non-POSIX).
4914
4915# Create a list of thread flags to try.  Items starting with a "-" are
4916# C compiler flags, and other items are library names, except for "none"
4917# which indicates that we try without any flags at all, and "pthread-config"
4918# which is a program returning the flags for the Pth emulation library.
4919
4920ax_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
4921
4922# The ordering *is* (sometimes) important.  Some notes on the
4923# individual items follow:
4924
4925# pthreads: AIX (must check this before -lpthread)
4926# none: in case threads are in libc; should be tried before -Kthread and
4927#       other compiler flags to prevent continual compiler warnings
4928# -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
4929# -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
4930# lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
4931# -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
4932# -pthreads: Solaris/gcc
4933# -mthreads: Mingw32/gcc, Lynx/gcc
4934# -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
4935#      doesn't hurt to check since this sometimes defines pthreads too;
4936#      also defines -D_REENTRANT)
4937#      ... -mt is also the pthreads flag for HP/aCC
4938# pthread: Linux, etcetera
4939# --thread-safe: KAI C++
4940# pthread-config: use pthread-config program (for GNU Pth library)
4941
4942case "${host_cpu}-${host_os}" in
4943        *solaris*)
4944
4945        # On Solaris (at least, for some versions), libc contains stubbed
4946        # (non-functional) versions of the pthreads routines, so link-based
4947        # tests will erroneously succeed.  (We need to link with -pthreads/-mt/
4948        # -lpthread.)  (The stubs are missing pthread_cleanup_push, or rather
4949        # a function called by this macro, so we could check for that, but
4950        # who knows whether they'll stub that too in a future libc.)  So,
4951        # we'll just look for -pthreads and -lpthread first:
4952
4953        ax_pthread_flags="-pthreads pthread -mt -pthread $ax_pthread_flags"
4954        ;;
4955
4956	*-darwin*)
4957	acx_pthread_flags="-pthread $acx_pthread_flags"
4958	;;
4959esac
4960
4961if test x"$ax_pthread_ok" = xno; then
4962for flag in $ax_pthread_flags; do
4963
4964        case $flag in
4965                none)
4966                { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
4967$as_echo_n "checking whether pthreads work without any flags... " >&6; }
4968                ;;
4969
4970                -*)
4971                { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
4972$as_echo_n "checking whether pthreads work with $flag... " >&6; }
4973                PTHREAD_CFLAGS="$flag"
4974                ;;
4975
4976		pthread-config)
4977		# Extract the first word of "pthread-config", so it can be a program name with args.
4978set dummy pthread-config; ac_word=$2
4979{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4980$as_echo_n "checking for $ac_word... " >&6; }
4981if test "${ac_cv_prog_ax_pthread_config+set}" = set; then :
4982  $as_echo_n "(cached) " >&6
4983else
4984  if test -n "$ax_pthread_config"; then
4985  ac_cv_prog_ax_pthread_config="$ax_pthread_config" # Let the user override the test.
4986else
4987as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4988for as_dir in $PATH
4989do
4990  IFS=$as_save_IFS
4991  test -z "$as_dir" && as_dir=.
4992    for ac_exec_ext in '' $ac_executable_extensions; do
4993  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4994    ac_cv_prog_ax_pthread_config="yes"
4995    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4996    break 2
4997  fi
4998done
4999  done
5000IFS=$as_save_IFS
5001
5002  test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config="no"
5003fi
5004fi
5005ax_pthread_config=$ac_cv_prog_ax_pthread_config
5006if test -n "$ax_pthread_config"; then
5007  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
5008$as_echo "$ax_pthread_config" >&6; }
5009else
5010  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5011$as_echo "no" >&6; }
5012fi
5013
5014
5015		if test x"$ax_pthread_config" = xno; then continue; fi
5016		PTHREAD_CFLAGS="`pthread-config --cflags`"
5017		PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
5018		;;
5019
5020                *)
5021                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
5022$as_echo_n "checking for the pthreads library -l$flag... " >&6; }
5023                PTHREAD_LIBS="-l$flag"
5024                ;;
5025        esac
5026
5027        save_LIBS="$LIBS"
5028        save_CFLAGS="$CFLAGS"
5029        LIBS="$PTHREAD_LIBS $LIBS"
5030        CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
5031
5032        # Check for various functions.  We must include pthread.h,
5033        # since some functions may be macros.  (On the Sequent, we
5034        # need a special flag -Kthread to make this header compile.)
5035        # We check for pthread_join because it is in -lpthread on IRIX
5036        # while pthread_create is in libc.  We check for pthread_attr_init
5037        # due to DEC craziness with -lpthreads.  We check for
5038        # pthread_cleanup_push because it is one of the few pthread
5039        # functions on Solaris that doesn't have a non-functional libc stub.
5040        # We try pthread_create on general principles.
5041        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5042/* end confdefs.h.  */
5043#include <pthread.h>
5044	             static void routine(void* a) {a=0;}
5045	             static void* start_routine(void* a) {return a;}
5046int
5047main ()
5048{
5049pthread_t th; pthread_attr_t attr;
5050                     pthread_join(th, 0);
5051                     pthread_attr_init(&attr);
5052                     pthread_cleanup_push(routine, 0);
5053                     pthread_create(&th,0,start_routine,0);
5054                     pthread_cleanup_pop(0);
5055  ;
5056  return 0;
5057}
5058_ACEOF
5059if ac_fn_c_try_link "$LINENO"; then :
5060  ax_pthread_ok=yes
5061fi
5062rm -f core conftest.err conftest.$ac_objext \
5063    conftest$ac_exeext conftest.$ac_ext
5064
5065        LIBS="$save_LIBS"
5066        CFLAGS="$save_CFLAGS"
5067
5068        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
5069$as_echo "$ax_pthread_ok" >&6; }
5070        if test "x$ax_pthread_ok" = xyes; then
5071                break;
5072        fi
5073
5074        PTHREAD_LIBS=""
5075        PTHREAD_CFLAGS=""
5076done
5077fi
5078
5079# Various other checks:
5080if test "x$ax_pthread_ok" = xyes; then
5081        save_LIBS="$LIBS"
5082        LIBS="$PTHREAD_LIBS $LIBS"
5083        save_CFLAGS="$CFLAGS"
5084        CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
5085
5086        # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
5087	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
5088$as_echo_n "checking for joinable pthread attribute... " >&6; }
5089	attr_name=unknown
5090	for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
5091	    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5092/* end confdefs.h.  */
5093#include <pthread.h>
5094int
5095main ()
5096{
5097int attr=$attr; return attr;
5098  ;
5099  return 0;
5100}
5101_ACEOF
5102if ac_fn_c_try_link "$LINENO"; then :
5103  attr_name=$attr; break
5104fi
5105rm -f core conftest.err conftest.$ac_objext \
5106    conftest$ac_exeext conftest.$ac_ext
5107	done
5108        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
5109$as_echo "$attr_name" >&6; }
5110        if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
5111
5112cat >>confdefs.h <<_ACEOF
5113#define PTHREAD_CREATE_JOINABLE $attr_name
5114_ACEOF
5115
5116        fi
5117
5118        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
5119$as_echo_n "checking if more special flags are required for pthreads... " >&6; }
5120        flag=no
5121        case "${host_cpu}-${host_os}" in
5122            *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";;
5123            *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";;
5124        esac
5125        { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
5126$as_echo "${flag}" >&6; }
5127        if test "x$flag" != xno; then
5128            PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
5129        fi
5130
5131        LIBS="$save_LIBS"
5132        CFLAGS="$save_CFLAGS"
5133
5134        # More AIX lossage: must compile with xlc_r or cc_r
5135	if test x"$GCC" != xyes; then
5136          for ac_prog in xlc_r cc_r
5137do
5138  # Extract the first word of "$ac_prog", so it can be a program name with args.
5139set dummy $ac_prog; ac_word=$2
5140{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5141$as_echo_n "checking for $ac_word... " >&6; }
5142if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then :
5143  $as_echo_n "(cached) " >&6
5144else
5145  if test -n "$PTHREAD_CC"; then
5146  ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
5147else
5148as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5149for as_dir in $PATH
5150do
5151  IFS=$as_save_IFS
5152  test -z "$as_dir" && as_dir=.
5153    for ac_exec_ext in '' $ac_executable_extensions; do
5154  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5155    ac_cv_prog_PTHREAD_CC="$ac_prog"
5156    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5157    break 2
5158  fi
5159done
5160  done
5161IFS=$as_save_IFS
5162
5163fi
5164fi
5165PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
5166if test -n "$PTHREAD_CC"; then
5167  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
5168$as_echo "$PTHREAD_CC" >&6; }
5169else
5170  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5171$as_echo "no" >&6; }
5172fi
5173
5174
5175  test -n "$PTHREAD_CC" && break
5176done
5177test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}"
5178
5179        else
5180          PTHREAD_CC=$CC
5181	fi
5182else
5183        PTHREAD_CC="$CC"
5184fi
5185
5186
5187
5188
5189
5190# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
5191if test x"$ax_pthread_ok" = xyes; then
5192
5193$as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
5194
5195        :
5196else
5197        ax_pthread_ok=no
5198
5199fi
5200ac_ext=c
5201ac_cpp='$CPP $CPPFLAGS'
5202ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5203ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5204ac_compiler_gnu=$ac_cv_c_compiler_gnu
5205
5206
5207# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5208for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5209		  inttypes.h stdint.h unistd.h
5210do :
5211  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5212ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5213"
5214eval as_val=\$$as_ac_Header
5215   if test "x$as_val" = x""yes; then :
5216  cat >>confdefs.h <<_ACEOF
5217#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5218_ACEOF
5219
5220fi
5221
5222done
5223
5224
5225for ac_header in a.out.h
5226do :
5227  ac_fn_c_check_header_mongrel "$LINENO" "a.out.h" "ac_cv_header_a_out_h" "$ac_includes_default"
5228if test "x$ac_cv_header_a_out_h" = x""yes; then :
5229  cat >>confdefs.h <<_ACEOF
5230#define HAVE_A_OUT_H 1
5231_ACEOF
5232
5233fi
5234
5235done
5236
5237
5238# Only build Linux client libs when compiling for Linux
5239case $host in
5240     *-*-linux* | *-android* )
5241        LINUX_HOST=true
5242        ;;
5243esac
5244 if test x$LINUX_HOST = xtrue; then
5245  LINUX_HOST_TRUE=
5246  LINUX_HOST_FALSE='#'
5247else
5248  LINUX_HOST_TRUE='#'
5249  LINUX_HOST_FALSE=
5250fi
5251
5252
5253# Check whether --enable-m32 was given.
5254if test "${enable_m32+set}" = set; then :
5255  enableval=$enable_m32; case "${enableval}" in
5256                 yes)
5257                   CFLAGS="${CFLAGS} -m32"
5258                   CXXFLAGS="${CXXFLAGS} -m32"
5259                   usem32=true
5260                   ;;
5261                 no)
5262                   usem32=false
5263                   ;;
5264                 *)
5265                   as_fn_error "bad value ${enableval} for --enable-m32" "$LINENO" 5
5266                   ;;
5267               esac
5268else
5269  usem32=false
5270fi
5271
5272
5273# Check whether --enable-processor was given.
5274if test "${enable_processor+set}" = set; then :
5275  enableval=$enable_processor; case "${enableval}" in
5276                 yes)
5277                   disable_processor=false
5278                   ;;
5279                 no)
5280                   disable_processor=true
5281                   ;;
5282                 *)
5283                   as_fn_error "bad value ${enableval} for --disable-processor" "$LINENO" 5
5284                   ;;
5285               esac
5286else
5287  disable_processor=false
5288fi
5289
5290 if test x$disable_processor = xtrue; then
5291  DISABLE_PROCESSOR_TRUE=
5292  DISABLE_PROCESSOR_FALSE='#'
5293else
5294  DISABLE_PROCESSOR_TRUE='#'
5295  DISABLE_PROCESSOR_FALSE=
5296fi
5297
5298
5299# Check whether --enable-tools was given.
5300if test "${enable_tools+set}" = set; then :
5301  enableval=$enable_tools; case "${enableval}" in
5302                 yes)
5303                   disable_tools=false
5304                   ;;
5305                 no)
5306                   disable_tools=true
5307                   ;;
5308                 *)
5309                   as_fn_error "bad value ${enableval} for --disable-tools" "$LINENO" 5
5310                   ;;
5311               esac
5312else
5313  disable_tools=false
5314fi
5315
5316 if test x$disable_tools = xtrue; then
5317  DISABLE_TOOLS_TRUE=
5318  DISABLE_TOOLS_FALSE='#'
5319else
5320  DISABLE_TOOLS_TRUE='#'
5321  DISABLE_TOOLS_FALSE=
5322fi
5323
5324
5325# Check whether --enable-core2md was given.
5326if test "${enable_core2md+set}" = set; then :
5327  enableval=$enable_core2md; case "${enableval}" in
5328                 yes)
5329                   disable_core2md=false
5330                   ;;
5331                 no)
5332                   disable_core2md=true
5333                   ;;
5334                 *)
5335                   as_fn_error "bad value ${enableval} for --disable-core2md" "$LINENO" 5
5336                   ;;
5337               esac
5338else
5339  disable_core2md=false
5340fi
5341
5342 if test x$disable_core2md = xtrue; then
5343  DISABLE_CORE2MD_TRUE=
5344  DISABLE_CORE2MD_FALSE='#'
5345else
5346  DISABLE_CORE2MD_TRUE='#'
5347  DISABLE_CORE2MD_FALSE=
5348fi
5349
5350
5351# Check whether --enable-md2core was given.
5352if test "${enable_md2core+set}" = set; then :
5353  enableval=$enable_md2core; case "${enableval}" in
5354                 yes)
5355                   disable_md2core=false
5356                   ;;
5357                 no)
5358                   disable_md2core=true
5359                   ;;
5360                 *)
5361                   as_fn_error "bad value ${enableval} for --disable-md2core" "$LINENO" 5
5362                   ;;
5363               esac
5364else
5365  disable_md2core=false
5366fi
5367
5368 if test x$disable_md2core = xtrue; then
5369  DISABLE_MD2CORE_TRUE=
5370  DISABLE_MD2CORE_FALSE='#'
5371else
5372  DISABLE_MD2CORE_TRUE='#'
5373  DISABLE_MD2CORE_FALSE=
5374fi
5375
5376
5377if test x$LINUX_HOST = xfalse -a x$disable_processor = xtrue -a x$disable_tools = xtrue; then
5378   as_fn_error "--disable-processor and --disable-tools were specified, and not building for Linux. Nothing to build!" "$LINENO" 5
5379fi
5380
5381# Check whether --enable-selftest was given.
5382if test "${enable_selftest+set}" = set; then :
5383  enableval=$enable_selftest; case "${enableval}" in
5384                 yes)
5385                   selftest=true
5386                   ;;
5387                 no)
5388                   selftest=false
5389                   ;;
5390                 *)
5391                   as_fn_error "bad value ${enableval} for --enable-selftest" "$LINENO" 5
5392                   ;;
5393               esac
5394else
5395  selftest=false
5396fi
5397
5398 if test x$selftest = xtrue; then
5399  SELFTEST_TRUE=
5400  SELFTEST_FALSE='#'
5401else
5402  SELFTEST_TRUE='#'
5403  SELFTEST_FALSE=
5404fi
5405
5406
5407ac_config_files="$ac_config_files Makefile"
5408
5409cat >confcache <<\_ACEOF
5410# This file is a shell script that caches the results of configure
5411# tests run on this system so they can be shared between configure
5412# scripts and configure runs, see configure's option --config-cache.
5413# It is not useful on other systems.  If it contains results you don't
5414# want to keep, you may remove or edit it.
5415#
5416# config.status only pays attention to the cache file if you give it
5417# the --recheck option to rerun configure.
5418#
5419# `ac_cv_env_foo' variables (set or unset) will be overridden when
5420# loading this file, other *unset* `ac_cv_foo' will be assigned the
5421# following values.
5422
5423_ACEOF
5424
5425# The following way of writing the cache mishandles newlines in values,
5426# but we know of no workaround that is simple, portable, and efficient.
5427# So, we kill variables containing newlines.
5428# Ultrix sh set writes to stderr and can't be redirected directly,
5429# and sets the high bit in the cache file unless we assign to the vars.
5430(
5431  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5432    eval ac_val=\$$ac_var
5433    case $ac_val in #(
5434    *${as_nl}*)
5435      case $ac_var in #(
5436      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5437$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5438      esac
5439      case $ac_var in #(
5440      _ | IFS | as_nl) ;; #(
5441      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5442      *) { eval $ac_var=; unset $ac_var;} ;;
5443      esac ;;
5444    esac
5445  done
5446
5447  (set) 2>&1 |
5448    case $as_nl`(ac_space=' '; set) 2>&1` in #(
5449    *${as_nl}ac_space=\ *)
5450      # `set' does not quote correctly, so add quotes: double-quote
5451      # substitution turns \\\\ into \\, and sed turns \\ into \.
5452      sed -n \
5453	"s/'/'\\\\''/g;
5454	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5455      ;; #(
5456    *)
5457      # `set' quotes correctly as required by POSIX, so do not add quotes.
5458      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5459      ;;
5460    esac |
5461    sort
5462) |
5463  sed '
5464     /^ac_cv_env_/b end
5465     t clear
5466     :clear
5467     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5468     t end
5469     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5470     :end' >>confcache
5471if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5472  if test -w "$cache_file"; then
5473    test "x$cache_file" != "x/dev/null" &&
5474      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5475$as_echo "$as_me: updating cache $cache_file" >&6;}
5476    cat confcache >$cache_file
5477  else
5478    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5479$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5480  fi
5481fi
5482rm -f confcache
5483
5484test "x$prefix" = xNONE && prefix=$ac_default_prefix
5485# Let make expand exec_prefix.
5486test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5487
5488DEFS=-DHAVE_CONFIG_H
5489
5490ac_libobjs=
5491ac_ltlibobjs=
5492for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5493  # 1. Remove the extension, and $U if already installed.
5494  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5495  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5496  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5497  #    will be set to the directory where LIBOBJS objects are built.
5498  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5499  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5500done
5501LIBOBJS=$ac_libobjs
5502
5503LTLIBOBJS=$ac_ltlibobjs
5504
5505
5506 if test -n "$EXEEXT"; then
5507  am__EXEEXT_TRUE=
5508  am__EXEEXT_FALSE='#'
5509else
5510  am__EXEEXT_TRUE='#'
5511  am__EXEEXT_FALSE=
5512fi
5513
5514if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5515  as_fn_error "conditional \"AMDEP\" was never defined.
5516Usually this means the macro was only invoked conditionally." "$LINENO" 5
5517fi
5518if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5519  as_fn_error "conditional \"am__fastdepCC\" was never defined.
5520Usually this means the macro was only invoked conditionally." "$LINENO" 5
5521fi
5522if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
5523  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
5524Usually this means the macro was only invoked conditionally." "$LINENO" 5
5525fi
5526if test -z "${LINUX_HOST_TRUE}" && test -z "${LINUX_HOST_FALSE}"; then
5527  as_fn_error "conditional \"LINUX_HOST\" was never defined.
5528Usually this means the macro was only invoked conditionally." "$LINENO" 5
5529fi
5530if test -z "${DISABLE_PROCESSOR_TRUE}" && test -z "${DISABLE_PROCESSOR_FALSE}"; then
5531  as_fn_error "conditional \"DISABLE_PROCESSOR\" was never defined.
5532Usually this means the macro was only invoked conditionally." "$LINENO" 5
5533fi
5534if test -z "${DISABLE_TOOLS_TRUE}" && test -z "${DISABLE_TOOLS_FALSE}"; then
5535  as_fn_error "conditional \"DISABLE_TOOLS\" was never defined.
5536Usually this means the macro was only invoked conditionally." "$LINENO" 5
5537fi
5538if test -z "${DISABLE_CORE2MD_TRUE}" && test -z "${DISABLE_CORE2MD_FALSE}"; then
5539  as_fn_error "conditional \"DISABLE_CORE2MD\" was never defined.
5540Usually this means the macro was only invoked conditionally." "$LINENO" 5
5541fi
5542if test -z "${DISABLE_MD2CORE_TRUE}" && test -z "${DISABLE_MD2CORE_FALSE}"; then
5543  as_fn_error "conditional \"DISABLE_MD2CORE\" was never defined.
5544Usually this means the macro was only invoked conditionally." "$LINENO" 5
5545fi
5546if test -z "${SELFTEST_TRUE}" && test -z "${SELFTEST_FALSE}"; then
5547  as_fn_error "conditional \"SELFTEST\" was never defined.
5548Usually this means the macro was only invoked conditionally." "$LINENO" 5
5549fi
5550
5551: ${CONFIG_STATUS=./config.status}
5552ac_write_fail=0
5553ac_clean_files_save=$ac_clean_files
5554ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5555{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5556$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5557as_write_fail=0
5558cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5559#! $SHELL
5560# Generated by $as_me.
5561# Run this file to recreate the current configuration.
5562# Compiler output produced by configure, useful for debugging
5563# configure, is in config.log if it exists.
5564
5565debug=false
5566ac_cs_recheck=false
5567ac_cs_silent=false
5568
5569SHELL=\${CONFIG_SHELL-$SHELL}
5570export SHELL
5571_ASEOF
5572cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5573## -------------------- ##
5574## M4sh Initialization. ##
5575## -------------------- ##
5576
5577# Be more Bourne compatible
5578DUALCASE=1; export DUALCASE # for MKS sh
5579if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5580  emulate sh
5581  NULLCMD=:
5582  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5583  # is contrary to our usage.  Disable this feature.
5584  alias -g '${1+"$@"}'='"$@"'
5585  setopt NO_GLOB_SUBST
5586else
5587  case `(set -o) 2>/dev/null` in #(
5588  *posix*) :
5589    set -o posix ;; #(
5590  *) :
5591     ;;
5592esac
5593fi
5594
5595
5596as_nl='
5597'
5598export as_nl
5599# Printing a long string crashes Solaris 7 /usr/bin/printf.
5600as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5601as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5602as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5603# Prefer a ksh shell builtin over an external printf program on Solaris,
5604# but without wasting forks for bash or zsh.
5605if test -z "$BASH_VERSION$ZSH_VERSION" \
5606    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5607  as_echo='print -r --'
5608  as_echo_n='print -rn --'
5609elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5610  as_echo='printf %s\n'
5611  as_echo_n='printf %s'
5612else
5613  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5614    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5615    as_echo_n='/usr/ucb/echo -n'
5616  else
5617    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5618    as_echo_n_body='eval
5619      arg=$1;
5620      case $arg in #(
5621      *"$as_nl"*)
5622	expr "X$arg" : "X\\(.*\\)$as_nl";
5623	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5624      esac;
5625      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5626    '
5627    export as_echo_n_body
5628    as_echo_n='sh -c $as_echo_n_body as_echo'
5629  fi
5630  export as_echo_body
5631  as_echo='sh -c $as_echo_body as_echo'
5632fi
5633
5634# The user is always right.
5635if test "${PATH_SEPARATOR+set}" != set; then
5636  PATH_SEPARATOR=:
5637  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5638    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5639      PATH_SEPARATOR=';'
5640  }
5641fi
5642
5643
5644# IFS
5645# We need space, tab and new line, in precisely that order.  Quoting is
5646# there to prevent editors from complaining about space-tab.
5647# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5648# splitting by setting IFS to empty value.)
5649IFS=" ""	$as_nl"
5650
5651# Find who we are.  Look in the path if we contain no directory separator.
5652case $0 in #((
5653  *[\\/]* ) as_myself=$0 ;;
5654  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5655for as_dir in $PATH
5656do
5657  IFS=$as_save_IFS
5658  test -z "$as_dir" && as_dir=.
5659    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5660  done
5661IFS=$as_save_IFS
5662
5663     ;;
5664esac
5665# We did not find ourselves, most probably we were run as `sh COMMAND'
5666# in which case we are not to be found in the path.
5667if test "x$as_myself" = x; then
5668  as_myself=$0
5669fi
5670if test ! -f "$as_myself"; then
5671  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5672  exit 1
5673fi
5674
5675# Unset variables that we do not need and which cause bugs (e.g. in
5676# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
5677# suppresses any "Segmentation fault" message there.  '((' could
5678# trigger a bug in pdksh 5.2.14.
5679for as_var in BASH_ENV ENV MAIL MAILPATH
5680do eval test x\${$as_var+set} = xset \
5681  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5682done
5683PS1='$ '
5684PS2='> '
5685PS4='+ '
5686
5687# NLS nuisances.
5688LC_ALL=C
5689export LC_ALL
5690LANGUAGE=C
5691export LANGUAGE
5692
5693# CDPATH.
5694(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5695
5696
5697# as_fn_error ERROR [LINENO LOG_FD]
5698# ---------------------------------
5699# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5700# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5701# script with status $?, using 1 if that was 0.
5702as_fn_error ()
5703{
5704  as_status=$?; test $as_status -eq 0 && as_status=1
5705  if test "$3"; then
5706    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5707    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
5708  fi
5709  $as_echo "$as_me: error: $1" >&2
5710  as_fn_exit $as_status
5711} # as_fn_error
5712
5713
5714# as_fn_set_status STATUS
5715# -----------------------
5716# Set $? to STATUS, without forking.
5717as_fn_set_status ()
5718{
5719  return $1
5720} # as_fn_set_status
5721
5722# as_fn_exit STATUS
5723# -----------------
5724# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5725as_fn_exit ()
5726{
5727  set +e
5728  as_fn_set_status $1
5729  exit $1
5730} # as_fn_exit
5731
5732# as_fn_unset VAR
5733# ---------------
5734# Portably unset VAR.
5735as_fn_unset ()
5736{
5737  { eval $1=; unset $1;}
5738}
5739as_unset=as_fn_unset
5740# as_fn_append VAR VALUE
5741# ----------------------
5742# Append the text in VALUE to the end of the definition contained in VAR. Take
5743# advantage of any shell optimizations that allow amortized linear growth over
5744# repeated appends, instead of the typical quadratic growth present in naive
5745# implementations.
5746if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5747  eval 'as_fn_append ()
5748  {
5749    eval $1+=\$2
5750  }'
5751else
5752  as_fn_append ()
5753  {
5754    eval $1=\$$1\$2
5755  }
5756fi # as_fn_append
5757
5758# as_fn_arith ARG...
5759# ------------------
5760# Perform arithmetic evaluation on the ARGs, and store the result in the
5761# global $as_val. Take advantage of shells that can avoid forks. The arguments
5762# must be portable across $(()) and expr.
5763if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5764  eval 'as_fn_arith ()
5765  {
5766    as_val=$(( $* ))
5767  }'
5768else
5769  as_fn_arith ()
5770  {
5771    as_val=`expr "$@" || test $? -eq 1`
5772  }
5773fi # as_fn_arith
5774
5775
5776if expr a : '\(a\)' >/dev/null 2>&1 &&
5777   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5778  as_expr=expr
5779else
5780  as_expr=false
5781fi
5782
5783if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5784  as_basename=basename
5785else
5786  as_basename=false
5787fi
5788
5789if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5790  as_dirname=dirname
5791else
5792  as_dirname=false
5793fi
5794
5795as_me=`$as_basename -- "$0" ||
5796$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5797	 X"$0" : 'X\(//\)$' \| \
5798	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5799$as_echo X/"$0" |
5800    sed '/^.*\/\([^/][^/]*\)\/*$/{
5801	    s//\1/
5802	    q
5803	  }
5804	  /^X\/\(\/\/\)$/{
5805	    s//\1/
5806	    q
5807	  }
5808	  /^X\/\(\/\).*/{
5809	    s//\1/
5810	    q
5811	  }
5812	  s/.*/./; q'`
5813
5814# Avoid depending upon Character Ranges.
5815as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5816as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5817as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5818as_cr_digits='0123456789'
5819as_cr_alnum=$as_cr_Letters$as_cr_digits
5820
5821ECHO_C= ECHO_N= ECHO_T=
5822case `echo -n x` in #(((((
5823-n*)
5824  case `echo 'xy\c'` in
5825  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
5826  xy)  ECHO_C='\c';;
5827  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
5828       ECHO_T='	';;
5829  esac;;
5830*)
5831  ECHO_N='-n';;
5832esac
5833
5834rm -f conf$$ conf$$.exe conf$$.file
5835if test -d conf$$.dir; then
5836  rm -f conf$$.dir/conf$$.file
5837else
5838  rm -f conf$$.dir
5839  mkdir conf$$.dir 2>/dev/null
5840fi
5841if (echo >conf$$.file) 2>/dev/null; then
5842  if ln -s conf$$.file conf$$ 2>/dev/null; then
5843    as_ln_s='ln -s'
5844    # ... but there are two gotchas:
5845    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5846    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5847    # In both cases, we have to default to `cp -p'.
5848    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5849      as_ln_s='cp -p'
5850  elif ln conf$$.file conf$$ 2>/dev/null; then
5851    as_ln_s=ln
5852  else
5853    as_ln_s='cp -p'
5854  fi
5855else
5856  as_ln_s='cp -p'
5857fi
5858rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5859rmdir conf$$.dir 2>/dev/null
5860
5861
5862# as_fn_mkdir_p
5863# -------------
5864# Create "$as_dir" as a directory, including parents if necessary.
5865as_fn_mkdir_p ()
5866{
5867
5868  case $as_dir in #(
5869  -*) as_dir=./$as_dir;;
5870  esac
5871  test -d "$as_dir" || eval $as_mkdir_p || {
5872    as_dirs=
5873    while :; do
5874      case $as_dir in #(
5875      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5876      *) as_qdir=$as_dir;;
5877      esac
5878      as_dirs="'$as_qdir' $as_dirs"
5879      as_dir=`$as_dirname -- "$as_dir" ||
5880$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5881	 X"$as_dir" : 'X\(//\)[^/]' \| \
5882	 X"$as_dir" : 'X\(//\)$' \| \
5883	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5884$as_echo X"$as_dir" |
5885    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5886	    s//\1/
5887	    q
5888	  }
5889	  /^X\(\/\/\)[^/].*/{
5890	    s//\1/
5891	    q
5892	  }
5893	  /^X\(\/\/\)$/{
5894	    s//\1/
5895	    q
5896	  }
5897	  /^X\(\/\).*/{
5898	    s//\1/
5899	    q
5900	  }
5901	  s/.*/./; q'`
5902      test -d "$as_dir" && break
5903    done
5904    test -z "$as_dirs" || eval "mkdir $as_dirs"
5905  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
5906
5907
5908} # as_fn_mkdir_p
5909if mkdir -p . 2>/dev/null; then
5910  as_mkdir_p='mkdir -p "$as_dir"'
5911else
5912  test -d ./-p && rmdir ./-p
5913  as_mkdir_p=false
5914fi
5915
5916if test -x / >/dev/null 2>&1; then
5917  as_test_x='test -x'
5918else
5919  if ls -dL / >/dev/null 2>&1; then
5920    as_ls_L_option=L
5921  else
5922    as_ls_L_option=
5923  fi
5924  as_test_x='
5925    eval sh -c '\''
5926      if test -d "$1"; then
5927	test -d "$1/.";
5928      else
5929	case $1 in #(
5930	-*)set "./$1";;
5931	esac;
5932	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5933	???[sx]*):;;*)false;;esac;fi
5934    '\'' sh
5935  '
5936fi
5937as_executable_p=$as_test_x
5938
5939# Sed expression to map a string onto a valid CPP name.
5940as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5941
5942# Sed expression to map a string onto a valid variable name.
5943as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5944
5945
5946exec 6>&1
5947## ----------------------------------- ##
5948## Main body of $CONFIG_STATUS script. ##
5949## ----------------------------------- ##
5950_ASEOF
5951test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5952
5953cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5954# Save the log message, to keep $0 and so on meaningful, and to
5955# report actual input values of CONFIG_FILES etc. instead of their
5956# values after options handling.
5957ac_log="
5958This file was extended by breakpad $as_me 0.1, which was
5959generated by GNU Autoconf 2.65.  Invocation command line was
5960
5961  CONFIG_FILES    = $CONFIG_FILES
5962  CONFIG_HEADERS  = $CONFIG_HEADERS
5963  CONFIG_LINKS    = $CONFIG_LINKS
5964  CONFIG_COMMANDS = $CONFIG_COMMANDS
5965  $ $0 $@
5966
5967on `(hostname || uname -n) 2>/dev/null | sed 1q`
5968"
5969
5970_ACEOF
5971
5972case $ac_config_files in *"
5973"*) set x $ac_config_files; shift; ac_config_files=$*;;
5974esac
5975
5976case $ac_config_headers in *"
5977"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5978esac
5979
5980
5981cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5982# Files that config.status was made for.
5983config_files="$ac_config_files"
5984config_headers="$ac_config_headers"
5985config_commands="$ac_config_commands"
5986
5987_ACEOF
5988
5989cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5990ac_cs_usage="\
5991\`$as_me' instantiates files and other configuration actions
5992from templates according to the current configuration.  Unless the files
5993and actions are specified as TAGs, all are instantiated by default.
5994
5995Usage: $0 [OPTION]... [TAG]...
5996
5997  -h, --help       print this help, then exit
5998  -V, --version    print version number and configuration settings, then exit
5999      --config     print configuration, then exit
6000  -q, --quiet, --silent
6001                   do not print progress messages
6002  -d, --debug      don't remove temporary files
6003      --recheck    update $as_me by reconfiguring in the same conditions
6004      --file=FILE[:TEMPLATE]
6005                   instantiate the configuration file FILE
6006      --header=FILE[:TEMPLATE]
6007                   instantiate the configuration header FILE
6008
6009Configuration files:
6010$config_files
6011
6012Configuration headers:
6013$config_headers
6014
6015Configuration commands:
6016$config_commands
6017
6018Report bugs to <google-breakpad-dev@googlegroups.com>."
6019
6020_ACEOF
6021cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6022ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6023ac_cs_version="\\
6024breakpad config.status 0.1
6025configured by $0, generated by GNU Autoconf 2.65,
6026  with options \\"\$ac_cs_config\\"
6027
6028Copyright (C) 2009 Free Software Foundation, Inc.
6029This config.status script is free software; the Free Software Foundation
6030gives unlimited permission to copy, distribute and modify it."
6031
6032ac_pwd='$ac_pwd'
6033srcdir='$srcdir'
6034INSTALL='$INSTALL'
6035MKDIR_P='$MKDIR_P'
6036AWK='$AWK'
6037test -n "\$AWK" || AWK=awk
6038_ACEOF
6039
6040cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6041# The default lists apply if the user does not specify any file.
6042ac_need_defaults=:
6043while test $# != 0
6044do
6045  case $1 in
6046  --*=*)
6047    ac_option=`expr "X$1" : 'X\([^=]*\)='`
6048    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6049    ac_shift=:
6050    ;;
6051  *)
6052    ac_option=$1
6053    ac_optarg=$2
6054    ac_shift=shift
6055    ;;
6056  esac
6057
6058  case $ac_option in
6059  # Handling of the options.
6060  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6061    ac_cs_recheck=: ;;
6062  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6063    $as_echo "$ac_cs_version"; exit ;;
6064  --config | --confi | --conf | --con | --co | --c )
6065    $as_echo "$ac_cs_config"; exit ;;
6066  --debug | --debu | --deb | --de | --d | -d )
6067    debug=: ;;
6068  --file | --fil | --fi | --f )
6069    $ac_shift
6070    case $ac_optarg in
6071    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6072    esac
6073    as_fn_append CONFIG_FILES " '$ac_optarg'"
6074    ac_need_defaults=false;;
6075  --header | --heade | --head | --hea )
6076    $ac_shift
6077    case $ac_optarg in
6078    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6079    esac
6080    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6081    ac_need_defaults=false;;
6082  --he | --h)
6083    # Conflict between --help and --header
6084    as_fn_error "ambiguous option: \`$1'
6085Try \`$0 --help' for more information.";;
6086  --help | --hel | -h )
6087    $as_echo "$ac_cs_usage"; exit ;;
6088  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6089  | -silent | --silent | --silen | --sile | --sil | --si | --s)
6090    ac_cs_silent=: ;;
6091
6092  # This is an error.
6093  -*) as_fn_error "unrecognized option: \`$1'
6094Try \`$0 --help' for more information." ;;
6095
6096  *) as_fn_append ac_config_targets " $1"
6097     ac_need_defaults=false ;;
6098
6099  esac
6100  shift
6101done
6102
6103ac_configure_extra_args=
6104
6105if $ac_cs_silent; then
6106  exec 6>/dev/null
6107  ac_configure_extra_args="$ac_configure_extra_args --silent"
6108fi
6109
6110_ACEOF
6111cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6112if \$ac_cs_recheck; then
6113  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6114  shift
6115  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6116  CONFIG_SHELL='$SHELL'
6117  export CONFIG_SHELL
6118  exec "\$@"
6119fi
6120
6121_ACEOF
6122cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6123exec 5>>config.log
6124{
6125  echo
6126  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6127## Running $as_me. ##
6128_ASBOX
6129  $as_echo "$ac_log"
6130} >&5
6131
6132_ACEOF
6133cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6134#
6135# INIT-COMMANDS
6136#
6137AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6138
6139_ACEOF
6140
6141cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6142
6143# Handling of arguments.
6144for ac_config_target in $ac_config_targets
6145do
6146  case $ac_config_target in
6147    "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
6148    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6149    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6150
6151  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6152  esac
6153done
6154
6155
6156# If the user did not use the arguments to specify the items to instantiate,
6157# then the envvar interface is used.  Set only those that are not.
6158# We use the long form for the default assignment because of an extremely
6159# bizarre bug on SunOS 4.1.3.
6160if $ac_need_defaults; then
6161  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6162  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6163  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6164fi
6165
6166# Have a temporary directory for convenience.  Make it in the build tree
6167# simply because there is no reason against having it here, and in addition,
6168# creating and moving files from /tmp can sometimes cause problems.
6169# Hook for its removal unless debugging.
6170# Note that there is a small window in which the directory will not be cleaned:
6171# after its creation but before its name has been assigned to `$tmp'.
6172$debug ||
6173{
6174  tmp=
6175  trap 'exit_status=$?
6176  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6177' 0
6178  trap 'as_fn_exit 1' 1 2 13 15
6179}
6180# Create a (secure) tmp directory for tmp files.
6181
6182{
6183  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6184  test -n "$tmp" && test -d "$tmp"
6185}  ||
6186{
6187  tmp=./conf$$-$RANDOM
6188  (umask 077 && mkdir "$tmp")
6189} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
6190
6191# Set up the scripts for CONFIG_FILES section.
6192# No need to generate them if there are no CONFIG_FILES.
6193# This happens for instance with `./config.status config.h'.
6194if test -n "$CONFIG_FILES"; then
6195
6196
6197ac_cr=`echo X | tr X '\015'`
6198# On cygwin, bash can eat \r inside `` if the user requested igncr.
6199# But we know of no other shell where ac_cr would be empty at this
6200# point, so we can use a bashism as a fallback.
6201if test "x$ac_cr" = x; then
6202  eval ac_cr=\$\'\\r\'
6203fi
6204ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6205if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6206  ac_cs_awk_cr='\r'
6207else
6208  ac_cs_awk_cr=$ac_cr
6209fi
6210
6211echo 'BEGIN {' >"$tmp/subs1.awk" &&
6212_ACEOF
6213
6214
6215{
6216  echo "cat >conf$$subs.awk <<_ACEOF" &&
6217  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6218  echo "_ACEOF"
6219} >conf$$subs.sh ||
6220  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
6221ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
6222ac_delim='%!_!# '
6223for ac_last_try in false false false false false :; do
6224  . ./conf$$subs.sh ||
6225    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
6226
6227  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6228  if test $ac_delim_n = $ac_delim_num; then
6229    break
6230  elif $ac_last_try; then
6231    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
6232  else
6233    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6234  fi
6235done
6236rm -f conf$$subs.sh
6237
6238cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6239cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
6240_ACEOF
6241sed -n '
6242h
6243s/^/S["/; s/!.*/"]=/
6244p
6245g
6246s/^[^!]*!//
6247:repl
6248t repl
6249s/'"$ac_delim"'$//
6250t delim
6251:nl
6252h
6253s/\(.\{148\}\)..*/\1/
6254t more1
6255s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6256p
6257n
6258b repl
6259:more1
6260s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6261p
6262g
6263s/.\{148\}//
6264t nl
6265:delim
6266h
6267s/\(.\{148\}\)..*/\1/
6268t more2
6269s/["\\]/\\&/g; s/^/"/; s/$/"/
6270p
6271b
6272:more2
6273s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6274p
6275g
6276s/.\{148\}//
6277t delim
6278' <conf$$subs.awk | sed '
6279/^[^""]/{
6280  N
6281  s/\n//
6282}
6283' >>$CONFIG_STATUS || ac_write_fail=1
6284rm -f conf$$subs.awk
6285cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6286_ACAWK
6287cat >>"\$tmp/subs1.awk" <<_ACAWK &&
6288  for (key in S) S_is_set[key] = 1
6289  FS = ""
6290
6291}
6292{
6293  line = $ 0
6294  nfields = split(line, field, "@")
6295  substed = 0
6296  len = length(field[1])
6297  for (i = 2; i < nfields; i++) {
6298    key = field[i]
6299    keylen = length(key)
6300    if (S_is_set[key]) {
6301      value = S[key]
6302      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6303      len += length(value) + length(field[++i])
6304      substed = 1
6305    } else
6306      len += 1 + keylen
6307  }
6308
6309  print line
6310}
6311
6312_ACAWK
6313_ACEOF
6314cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6315if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6316  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6317else
6318  cat
6319fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
6320  || as_fn_error "could not setup config files machinery" "$LINENO" 5
6321_ACEOF
6322
6323# VPATH may cause trouble with some makes, so we remove $(srcdir),
6324# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6325# trailing colons and then remove the whole line if VPATH becomes empty
6326# (actually we leave an empty line to preserve line numbers).
6327if test "x$srcdir" = x.; then
6328  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
6329s/:*\$(srcdir):*/:/
6330s/:*\${srcdir}:*/:/
6331s/:*@srcdir@:*/:/
6332s/^\([^=]*=[	 ]*\):*/\1/
6333s/:*$//
6334s/^[^=]*=[	 ]*$//
6335}'
6336fi
6337
6338cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6339fi # test -n "$CONFIG_FILES"
6340
6341# Set up the scripts for CONFIG_HEADERS section.
6342# No need to generate them if there are no CONFIG_HEADERS.
6343# This happens for instance with `./config.status Makefile'.
6344if test -n "$CONFIG_HEADERS"; then
6345cat >"$tmp/defines.awk" <<\_ACAWK ||
6346BEGIN {
6347_ACEOF
6348
6349# Transform confdefs.h into an awk script `defines.awk', embedded as
6350# here-document in config.status, that substitutes the proper values into
6351# config.h.in to produce config.h.
6352
6353# Create a delimiter string that does not exist in confdefs.h, to ease
6354# handling of long lines.
6355ac_delim='%!_!# '
6356for ac_last_try in false false :; do
6357  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
6358  if test -z "$ac_t"; then
6359    break
6360  elif $ac_last_try; then
6361    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
6362  else
6363    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6364  fi
6365done
6366
6367# For the awk script, D is an array of macro values keyed by name,
6368# likewise P contains macro parameters if any.  Preserve backslash
6369# newline sequences.
6370
6371ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6372sed -n '
6373s/.\{148\}/&'"$ac_delim"'/g
6374t rset
6375:rset
6376s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
6377t def
6378d
6379:def
6380s/\\$//
6381t bsnl
6382s/["\\]/\\&/g
6383s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
6384D["\1"]=" \3"/p
6385s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
6386d
6387:bsnl
6388s/["\\]/\\&/g
6389s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
6390D["\1"]=" \3\\\\\\n"\\/p
6391t cont
6392s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6393t cont
6394d
6395:cont
6396n
6397s/.\{148\}/&'"$ac_delim"'/g
6398t clear
6399:clear
6400s/\\$//
6401t bsnlc
6402s/["\\]/\\&/g; s/^/"/; s/$/"/p
6403d
6404:bsnlc
6405s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6406b cont
6407' <confdefs.h | sed '
6408s/'"$ac_delim"'/"\\\
6409"/g' >>$CONFIG_STATUS || ac_write_fail=1
6410
6411cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6412  for (key in D) D_is_set[key] = 1
6413  FS = ""
6414}
6415/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6416  line = \$ 0
6417  split(line, arg, " ")
6418  if (arg[1] == "#") {
6419    defundef = arg[2]
6420    mac1 = arg[3]
6421  } else {
6422    defundef = substr(arg[1], 2)
6423    mac1 = arg[2]
6424  }
6425  split(mac1, mac2, "(") #)
6426  macro = mac2[1]
6427  prefix = substr(line, 1, index(line, defundef) - 1)
6428  if (D_is_set[macro]) {
6429    # Preserve the white space surrounding the "#".
6430    print prefix "define", macro P[macro] D[macro]
6431    next
6432  } else {
6433    # Replace #undef with comments.  This is necessary, for example,
6434    # in the case of _POSIX_SOURCE, which is predefined and required
6435    # on some systems where configure will not decide to define it.
6436    if (defundef == "undef") {
6437      print "/*", prefix defundef, macro, "*/"
6438      next
6439    }
6440  }
6441}
6442{ print }
6443_ACAWK
6444_ACEOF
6445cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6446  as_fn_error "could not setup config headers machinery" "$LINENO" 5
6447fi # test -n "$CONFIG_HEADERS"
6448
6449
6450eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
6451shift
6452for ac_tag
6453do
6454  case $ac_tag in
6455  :[FHLC]) ac_mode=$ac_tag; continue;;
6456  esac
6457  case $ac_mode$ac_tag in
6458  :[FHL]*:*);;
6459  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
6460  :[FH]-) ac_tag=-:-;;
6461  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6462  esac
6463  ac_save_IFS=$IFS
6464  IFS=:
6465  set x $ac_tag
6466  IFS=$ac_save_IFS
6467  shift
6468  ac_file=$1
6469  shift
6470
6471  case $ac_mode in
6472  :L) ac_source=$1;;
6473  :[FH])
6474    ac_file_inputs=
6475    for ac_f
6476    do
6477      case $ac_f in
6478      -) ac_f="$tmp/stdin";;
6479      *) # Look for the file first in the build tree, then in the source tree
6480	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
6481	 # because $ac_f cannot contain `:'.
6482	 test -f "$ac_f" ||
6483	   case $ac_f in
6484	   [\\/$]*) false;;
6485	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6486	   esac ||
6487	   as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6488      esac
6489      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6490      as_fn_append ac_file_inputs " '$ac_f'"
6491    done
6492
6493    # Let's still pretend it is `configure' which instantiates (i.e., don't
6494    # use $as_me), people would be surprised to read:
6495    #    /* config.h.  Generated by config.status.  */
6496    configure_input='Generated from '`
6497	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6498	`' by configure.'
6499    if test x"$ac_file" != x-; then
6500      configure_input="$ac_file.  $configure_input"
6501      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6502$as_echo "$as_me: creating $ac_file" >&6;}
6503    fi
6504    # Neutralize special characters interpreted by sed in replacement strings.
6505    case $configure_input in #(
6506    *\&* | *\|* | *\\* )
6507       ac_sed_conf_input=`$as_echo "$configure_input" |
6508       sed 's/[\\\\&|]/\\\\&/g'`;; #(
6509    *) ac_sed_conf_input=$configure_input;;
6510    esac
6511
6512    case $ac_tag in
6513    *:-:* | *:-) cat >"$tmp/stdin" \
6514      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
6515    esac
6516    ;;
6517  esac
6518
6519  ac_dir=`$as_dirname -- "$ac_file" ||
6520$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6521	 X"$ac_file" : 'X\(//\)[^/]' \| \
6522	 X"$ac_file" : 'X\(//\)$' \| \
6523	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6524$as_echo X"$ac_file" |
6525    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6526	    s//\1/
6527	    q
6528	  }
6529	  /^X\(\/\/\)[^/].*/{
6530	    s//\1/
6531	    q
6532	  }
6533	  /^X\(\/\/\)$/{
6534	    s//\1/
6535	    q
6536	  }
6537	  /^X\(\/\).*/{
6538	    s//\1/
6539	    q
6540	  }
6541	  s/.*/./; q'`
6542  as_dir="$ac_dir"; as_fn_mkdir_p
6543  ac_builddir=.
6544
6545case "$ac_dir" in
6546.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6547*)
6548  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6549  # A ".." for each directory in $ac_dir_suffix.
6550  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6551  case $ac_top_builddir_sub in
6552  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6553  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6554  esac ;;
6555esac
6556ac_abs_top_builddir=$ac_pwd
6557ac_abs_builddir=$ac_pwd$ac_dir_suffix
6558# for backward compatibility:
6559ac_top_builddir=$ac_top_build_prefix
6560
6561case $srcdir in
6562  .)  # We are building in place.
6563    ac_srcdir=.
6564    ac_top_srcdir=$ac_top_builddir_sub
6565    ac_abs_top_srcdir=$ac_pwd ;;
6566  [\\/]* | ?:[\\/]* )  # Absolute name.
6567    ac_srcdir=$srcdir$ac_dir_suffix;
6568    ac_top_srcdir=$srcdir
6569    ac_abs_top_srcdir=$srcdir ;;
6570  *) # Relative name.
6571    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6572    ac_top_srcdir=$ac_top_build_prefix$srcdir
6573    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6574esac
6575ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6576
6577
6578  case $ac_mode in
6579  :F)
6580  #
6581  # CONFIG_FILE
6582  #
6583
6584  case $INSTALL in
6585  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6586  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6587  esac
6588  ac_MKDIR_P=$MKDIR_P
6589  case $MKDIR_P in
6590  [\\/$]* | ?:[\\/]* ) ;;
6591  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6592  esac
6593_ACEOF
6594
6595cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6596# If the template does not know about datarootdir, expand it.
6597# FIXME: This hack should be removed a few years after 2.60.
6598ac_datarootdir_hack=; ac_datarootdir_seen=
6599ac_sed_dataroot='
6600/datarootdir/ {
6601  p
6602  q
6603}
6604/@datadir@/p
6605/@docdir@/p
6606/@infodir@/p
6607/@localedir@/p
6608/@mandir@/p'
6609case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6610*datarootdir*) ac_datarootdir_seen=yes;;
6611*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6612  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6613$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6614_ACEOF
6615cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6616  ac_datarootdir_hack='
6617  s&@datadir@&$datadir&g
6618  s&@docdir@&$docdir&g
6619  s&@infodir@&$infodir&g
6620  s&@localedir@&$localedir&g
6621  s&@mandir@&$mandir&g
6622  s&\\\${datarootdir}&$datarootdir&g' ;;
6623esac
6624_ACEOF
6625
6626# Neutralize VPATH when `$srcdir' = `.'.
6627# Shell code in configure.ac might set extrasub.
6628# FIXME: do we really want to maintain this feature?
6629cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6630ac_sed_extra="$ac_vpsub
6631$extrasub
6632_ACEOF
6633cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6634:t
6635/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6636s|@configure_input@|$ac_sed_conf_input|;t t
6637s&@top_builddir@&$ac_top_builddir_sub&;t t
6638s&@top_build_prefix@&$ac_top_build_prefix&;t t
6639s&@srcdir@&$ac_srcdir&;t t
6640s&@abs_srcdir@&$ac_abs_srcdir&;t t
6641s&@top_srcdir@&$ac_top_srcdir&;t t
6642s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6643s&@builddir@&$ac_builddir&;t t
6644s&@abs_builddir@&$ac_abs_builddir&;t t
6645s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6646s&@INSTALL@&$ac_INSTALL&;t t
6647s&@MKDIR_P@&$ac_MKDIR_P&;t t
6648$ac_datarootdir_hack
6649"
6650eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6651  || as_fn_error "could not create $ac_file" "$LINENO" 5
6652
6653test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6654  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6655  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6656  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6657which seems to be undefined.  Please make sure it is defined." >&5
6658$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6659which seems to be undefined.  Please make sure it is defined." >&2;}
6660
6661  rm -f "$tmp/stdin"
6662  case $ac_file in
6663  -) cat "$tmp/out" && rm -f "$tmp/out";;
6664  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6665  esac \
6666  || as_fn_error "could not create $ac_file" "$LINENO" 5
6667 ;;
6668  :H)
6669  #
6670  # CONFIG_HEADER
6671  #
6672  if test x"$ac_file" != x-; then
6673    {
6674      $as_echo "/* $configure_input  */" \
6675      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6676    } >"$tmp/config.h" \
6677      || as_fn_error "could not create $ac_file" "$LINENO" 5
6678    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6679      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6680$as_echo "$as_me: $ac_file is unchanged" >&6;}
6681    else
6682      rm -f "$ac_file"
6683      mv "$tmp/config.h" "$ac_file" \
6684	|| as_fn_error "could not create $ac_file" "$LINENO" 5
6685    fi
6686  else
6687    $as_echo "/* $configure_input  */" \
6688      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6689      || as_fn_error "could not create -" "$LINENO" 5
6690  fi
6691# Compute "$ac_file"'s index in $config_headers.
6692_am_arg="$ac_file"
6693_am_stamp_count=1
6694for _am_header in $config_headers :; do
6695  case $_am_header in
6696    $_am_arg | $_am_arg:* )
6697      break ;;
6698    * )
6699      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6700  esac
6701done
6702echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6703$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6704	 X"$_am_arg" : 'X\(//\)[^/]' \| \
6705	 X"$_am_arg" : 'X\(//\)$' \| \
6706	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6707$as_echo X"$_am_arg" |
6708    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6709	    s//\1/
6710	    q
6711	  }
6712	  /^X\(\/\/\)[^/].*/{
6713	    s//\1/
6714	    q
6715	  }
6716	  /^X\(\/\/\)$/{
6717	    s//\1/
6718	    q
6719	  }
6720	  /^X\(\/\).*/{
6721	    s//\1/
6722	    q
6723	  }
6724	  s/.*/./; q'`/stamp-h$_am_stamp_count
6725 ;;
6726
6727  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6728$as_echo "$as_me: executing $ac_file commands" >&6;}
6729 ;;
6730  esac
6731
6732
6733  case $ac_file$ac_mode in
6734    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6735  # Autoconf 2.62 quotes --file arguments for eval, but not when files
6736  # are listed without --file.  Let's play safe and only enable the eval
6737  # if we detect the quoting.
6738  case $CONFIG_FILES in
6739  *\'*) eval set x "$CONFIG_FILES" ;;
6740  *)   set x $CONFIG_FILES ;;
6741  esac
6742  shift
6743  for mf
6744  do
6745    # Strip MF so we end up with the name of the file.
6746    mf=`echo "$mf" | sed -e 's/:.*$//'`
6747    # Check whether this is an Automake generated Makefile or not.
6748    # We used to match only the files named `Makefile.in', but
6749    # some people rename them; so instead we look at the file content.
6750    # Grep'ing the first line is not enough: some people post-process
6751    # each Makefile.in and add a new line on top of each file to say so.
6752    # Grep'ing the whole file is not good either: AIX grep has a line
6753    # limit of 2048, but all sed's we know have understand at least 4000.
6754    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6755      dirpart=`$as_dirname -- "$mf" ||
6756$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6757	 X"$mf" : 'X\(//\)[^/]' \| \
6758	 X"$mf" : 'X\(//\)$' \| \
6759	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6760$as_echo X"$mf" |
6761    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6762	    s//\1/
6763	    q
6764	  }
6765	  /^X\(\/\/\)[^/].*/{
6766	    s//\1/
6767	    q
6768	  }
6769	  /^X\(\/\/\)$/{
6770	    s//\1/
6771	    q
6772	  }
6773	  /^X\(\/\).*/{
6774	    s//\1/
6775	    q
6776	  }
6777	  s/.*/./; q'`
6778    else
6779      continue
6780    fi
6781    # Extract the definition of DEPDIR, am__include, and am__quote
6782    # from the Makefile without running `make'.
6783    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6784    test -z "$DEPDIR" && continue
6785    am__include=`sed -n 's/^am__include = //p' < "$mf"`
6786    test -z "am__include" && continue
6787    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6788    # When using ansi2knr, U may be empty or an underscore; expand it
6789    U=`sed -n 's/^U = //p' < "$mf"`
6790    # Find all dependency output files, they are included files with
6791    # $(DEPDIR) in their names.  We invoke sed twice because it is the
6792    # simplest approach to changing $(DEPDIR) to its actual value in the
6793    # expansion.
6794    for file in `sed -n "
6795      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6796	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6797      # Make sure the directory exists.
6798      test -f "$dirpart/$file" && continue
6799      fdir=`$as_dirname -- "$file" ||
6800$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6801	 X"$file" : 'X\(//\)[^/]' \| \
6802	 X"$file" : 'X\(//\)$' \| \
6803	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6804$as_echo X"$file" |
6805    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6806	    s//\1/
6807	    q
6808	  }
6809	  /^X\(\/\/\)[^/].*/{
6810	    s//\1/
6811	    q
6812	  }
6813	  /^X\(\/\/\)$/{
6814	    s//\1/
6815	    q
6816	  }
6817	  /^X\(\/\).*/{
6818	    s//\1/
6819	    q
6820	  }
6821	  s/.*/./; q'`
6822      as_dir=$dirpart/$fdir; as_fn_mkdir_p
6823      # echo "creating $dirpart/$file"
6824      echo '# dummy' > "$dirpart/$file"
6825    done
6826  done
6827}
6828 ;;
6829
6830  esac
6831done # for ac_tag
6832
6833
6834as_fn_exit 0
6835_ACEOF
6836ac_clean_files=$ac_clean_files_save
6837
6838test $ac_write_fail = 0 ||
6839  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
6840
6841
6842# configure is writing to config.log, and then calls config.status.
6843# config.status does its own redirection, appending to config.log.
6844# Unfortunately, on DOS this fails, as config.log is still kept open
6845# by configure, so config.status won't be able to write to it; its
6846# output is simply discarded.  So we exec the FD to /dev/null,
6847# effectively closing config.log, so it can be properly (re)opened and
6848# appended to by config.status.  When coming back to configure, we
6849# need to make the FD available again.
6850if test "$no_create" != yes; then
6851  ac_cs_success=:
6852  ac_config_status_args=
6853  test "$silent" = yes &&
6854    ac_config_status_args="$ac_config_status_args --quiet"
6855  exec 5>/dev/null
6856  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6857  exec 5>>config.log
6858  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6859  # would make configure fail if this is the last instruction.
6860  $ac_cs_success || as_fn_exit $?
6861fi
6862if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6863  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6864$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6865fi
6866
6867