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