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