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