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