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