1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.61 for yasr 0.6.9.
4#
5# Report bugs to <mgorse@alum.wpi.edu>.
6#
7# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## --------------------- ##
12## M4sh Initialization.  ##
13## --------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18  emulate sh
19  NULLCMD=:
20  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21  # is contrary to our usage.  Disable this feature.
22  alias -g '${1+"$@"}'='"$@"'
23  setopt NO_GLOB_SUBST
24else
25  case `(set -o) 2>/dev/null` in
26  *posix*) set -o posix ;;
27esac
28
29fi
30
31
32
33
34# PATH needs CR
35# Avoid depending upon Character Ranges.
36as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39as_cr_digits='0123456789'
40as_cr_alnum=$as_cr_Letters$as_cr_digits
41
42# The user is always right.
43if test "${PATH_SEPARATOR+set}" != set; then
44  echo "#! /bin/sh" >conf$$.sh
45  echo  "exit 0"   >>conf$$.sh
46  chmod +x conf$$.sh
47  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48    PATH_SEPARATOR=';'
49  else
50    PATH_SEPARATOR=:
51  fi
52  rm -f conf$$.sh
53fi
54
55# Support unset when possible.
56if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57  as_unset=unset
58else
59  as_unset=false
60fi
61
62
63# IFS
64# We need space, tab and new line, in precisely that order.  Quoting is
65# there to prevent editors from complaining about space-tab.
66# (If _AS_PATH_WALK were called with IFS unset, it would disable word
67# splitting by setting IFS to empty value.)
68as_nl='
69'
70IFS=" ""	$as_nl"
71
72# Find who we are.  Look in the path if we contain no directory separator.
73case $0 in
74  *[\\/]* ) as_myself=$0 ;;
75  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76for as_dir in $PATH
77do
78  IFS=$as_save_IFS
79  test -z "$as_dir" && as_dir=.
80  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81done
82IFS=$as_save_IFS
83
84     ;;
85esac
86# We did not find ourselves, most probably we were run as `sh COMMAND'
87# in which case we are not to be found in the path.
88if test "x$as_myself" = x; then
89  as_myself=$0
90fi
91if test ! -f "$as_myself"; then
92  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93  { (exit 1); exit 1; }
94fi
95
96# Work around bugs in pre-3.0 UWIN ksh.
97for as_var in ENV MAIL MAILPATH
98do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99done
100PS1='$ '
101PS2='> '
102PS4='+ '
103
104# NLS nuisances.
105for as_var in \
106  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108  LC_TELEPHONE LC_TIME
109do
110  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111    eval $as_var=C; export $as_var
112  else
113    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114  fi
115done
116
117# Required to use basename.
118if expr a : '\(a\)' >/dev/null 2>&1 &&
119   test "X`expr 00001 : '.*\(...\)'`" = X001; then
120  as_expr=expr
121else
122  as_expr=false
123fi
124
125if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126  as_basename=basename
127else
128  as_basename=false
129fi
130
131
132# Name of the executable.
133as_me=`$as_basename -- "$0" ||
134$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135	 X"$0" : 'X\(//\)$' \| \
136	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137echo X/"$0" |
138    sed '/^.*\/\([^/][^/]*\)\/*$/{
139	    s//\1/
140	    q
141	  }
142	  /^X\/\(\/\/\)$/{
143	    s//\1/
144	    q
145	  }
146	  /^X\/\(\/\).*/{
147	    s//\1/
148	    q
149	  }
150	  s/.*/./; q'`
151
152# CDPATH.
153$as_unset CDPATH
154
155
156if test "x$CONFIG_SHELL" = x; then
157  if (eval ":") 2>/dev/null; then
158  as_have_required=yes
159else
160  as_have_required=no
161fi
162
163  if test $as_have_required = yes && 	 (eval ":
164(as_func_return () {
165  (exit \$1)
166}
167as_func_success () {
168  as_func_return 0
169}
170as_func_failure () {
171  as_func_return 1
172}
173as_func_ret_success () {
174  return 0
175}
176as_func_ret_failure () {
177  return 1
178}
179
180exitcode=0
181if as_func_success; then
182  :
183else
184  exitcode=1
185  echo as_func_success failed.
186fi
187
188if as_func_failure; then
189  exitcode=1
190  echo as_func_failure succeeded.
191fi
192
193if as_func_ret_success; then
194  :
195else
196  exitcode=1
197  echo as_func_ret_success failed.
198fi
199
200if as_func_ret_failure; then
201  exitcode=1
202  echo as_func_ret_failure succeeded.
203fi
204
205if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206  :
207else
208  exitcode=1
209  echo positional parameters were not saved.
210fi
211
212test \$exitcode = 0) || { (exit 1); exit 1; }
213
214(
215  as_lineno_1=\$LINENO
216  as_lineno_2=\$LINENO
217  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219") 2> /dev/null; then
220  :
221else
222  as_candidate_shells=
223    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225do
226  IFS=$as_save_IFS
227  test -z "$as_dir" && as_dir=.
228  case $as_dir in
229	 /*)
230	   for as_base in sh bash ksh sh5; do
231	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232	   done;;
233       esac
234done
235IFS=$as_save_IFS
236
237
238      for as_shell in $as_candidate_shells $SHELL; do
239	 # Try only shells that exist, to save several forks.
240	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241		{ ("$as_shell") 2> /dev/null <<\_ASEOF
242if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243  emulate sh
244  NULLCMD=:
245  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246  # is contrary to our usage.  Disable this feature.
247  alias -g '${1+"$@"}'='"$@"'
248  setopt NO_GLOB_SUBST
249else
250  case `(set -o) 2>/dev/null` in
251  *posix*) set -o posix ;;
252esac
253
254fi
255
256
257:
258_ASEOF
259}; then
260  CONFIG_SHELL=$as_shell
261	       as_have_required=yes
262	       if { "$as_shell" 2> /dev/null <<\_ASEOF
263if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264  emulate sh
265  NULLCMD=:
266  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267  # is contrary to our usage.  Disable this feature.
268  alias -g '${1+"$@"}'='"$@"'
269  setopt NO_GLOB_SUBST
270else
271  case `(set -o) 2>/dev/null` in
272  *posix*) set -o posix ;;
273esac
274
275fi
276
277
278:
279(as_func_return () {
280  (exit $1)
281}
282as_func_success () {
283  as_func_return 0
284}
285as_func_failure () {
286  as_func_return 1
287}
288as_func_ret_success () {
289  return 0
290}
291as_func_ret_failure () {
292  return 1
293}
294
295exitcode=0
296if as_func_success; then
297  :
298else
299  exitcode=1
300  echo as_func_success failed.
301fi
302
303if as_func_failure; then
304  exitcode=1
305  echo as_func_failure succeeded.
306fi
307
308if as_func_ret_success; then
309  :
310else
311  exitcode=1
312  echo as_func_ret_success failed.
313fi
314
315if as_func_ret_failure; then
316  exitcode=1
317  echo as_func_ret_failure succeeded.
318fi
319
320if ( set x; as_func_ret_success y && test x = "$1" ); then
321  :
322else
323  exitcode=1
324  echo positional parameters were not saved.
325fi
326
327test $exitcode = 0) || { (exit 1); exit 1; }
328
329(
330  as_lineno_1=$LINENO
331  as_lineno_2=$LINENO
332  test "x$as_lineno_1" != "x$as_lineno_2" &&
333  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
334
335_ASEOF
336}; then
337  break
338fi
339
340fi
341
342      done
343
344      if test "x$CONFIG_SHELL" != x; then
345  for as_var in BASH_ENV ENV
346        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347        done
348        export CONFIG_SHELL
349        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
350fi
351
352
353    if test $as_have_required = no; then
354  echo This script requires a shell more modern than all the
355      echo shells that I found on your system.  Please install a
356      echo modern shell, or manually run the script under such a
357      echo shell if you do have one.
358      { (exit 1); exit 1; }
359fi
360
361
362fi
363
364fi
365
366
367
368(eval "as_func_return () {
369  (exit \$1)
370}
371as_func_success () {
372  as_func_return 0
373}
374as_func_failure () {
375  as_func_return 1
376}
377as_func_ret_success () {
378  return 0
379}
380as_func_ret_failure () {
381  return 1
382}
383
384exitcode=0
385if as_func_success; then
386  :
387else
388  exitcode=1
389  echo as_func_success failed.
390fi
391
392if as_func_failure; then
393  exitcode=1
394  echo as_func_failure succeeded.
395fi
396
397if as_func_ret_success; then
398  :
399else
400  exitcode=1
401  echo as_func_ret_success failed.
402fi
403
404if as_func_ret_failure; then
405  exitcode=1
406  echo as_func_ret_failure succeeded.
407fi
408
409if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
410  :
411else
412  exitcode=1
413  echo positional parameters were not saved.
414fi
415
416test \$exitcode = 0") || {
417  echo No shell found that supports shell functions.
418  echo Please tell autoconf@gnu.org about your system,
419  echo including any error possibly output before this
420  echo message
421}
422
423
424
425  as_lineno_1=$LINENO
426  as_lineno_2=$LINENO
427  test "x$as_lineno_1" != "x$as_lineno_2" &&
428  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
429
430  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431  # uniformly replaced by the line number.  The first 'sed' inserts a
432  # line-number line after each line using $LINENO; the second 'sed'
433  # does the real work.  The second script uses 'N' to pair each
434  # line-number line with the line containing $LINENO, and appends
435  # trailing '-' during substitution so that $LINENO is not a special
436  # case at line end.
437  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438  # scripts with optimization help from Paolo Bonzini.  Blame Lee
439  # E. McMahon (1931-1989) for sed's syntax.  :-)
440  sed -n '
441    p
442    /[$]LINENO/=
443  ' <$as_myself |
444    sed '
445      s/[$]LINENO.*/&-/
446      t lineno
447      b
448      :lineno
449      N
450      :loop
451      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452      t loop
453      s/-\n.*//
454    ' >$as_me.lineno &&
455  chmod +x "$as_me.lineno" ||
456    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457   { (exit 1); exit 1; }; }
458
459  # Don't try to exec as it changes $[0], causing all sort of problems
460  # (the dirname of $[0] is not the place where we might find the
461  # original and so on.  Autoconf is especially sensitive to this).
462  . "./$as_me.lineno"
463  # Exit status is that of the last command.
464  exit
465}
466
467
468if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469  as_dirname=dirname
470else
471  as_dirname=false
472fi
473
474ECHO_C= ECHO_N= ECHO_T=
475case `echo -n x` in
476-n*)
477  case `echo 'x\c'` in
478  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
479  *)   ECHO_C='\c';;
480  esac;;
481*)
482  ECHO_N='-n';;
483esac
484
485if expr a : '\(a\)' >/dev/null 2>&1 &&
486   test "X`expr 00001 : '.*\(...\)'`" = X001; then
487  as_expr=expr
488else
489  as_expr=false
490fi
491
492rm -f conf$$ conf$$.exe conf$$.file
493if test -d conf$$.dir; then
494  rm -f conf$$.dir/conf$$.file
495else
496  rm -f conf$$.dir
497  mkdir conf$$.dir
498fi
499echo >conf$$.file
500if ln -s conf$$.file conf$$ 2>/dev/null; then
501  as_ln_s='ln -s'
502  # ... but there are two gotchas:
503  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505  # In both cases, we have to default to `cp -p'.
506  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507    as_ln_s='cp -p'
508elif ln conf$$.file conf$$ 2>/dev/null; then
509  as_ln_s=ln
510else
511  as_ln_s='cp -p'
512fi
513rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514rmdir conf$$.dir 2>/dev/null
515
516if mkdir -p . 2>/dev/null; then
517  as_mkdir_p=:
518else
519  test -d ./-p && rmdir ./-p
520  as_mkdir_p=false
521fi
522
523if test -x / >/dev/null 2>&1; then
524  as_test_x='test -x'
525else
526  if ls -dL / >/dev/null 2>&1; then
527    as_ls_L_option=L
528  else
529    as_ls_L_option=
530  fi
531  as_test_x='
532    eval sh -c '\''
533      if test -d "$1"; then
534        test -d "$1/.";
535      else
536	case $1 in
537        -*)set "./$1";;
538	esac;
539	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540	???[sx]*):;;*)false;;esac;fi
541    '\'' sh
542  '
543fi
544as_executable_p=$as_test_x
545
546# Sed expression to map a string onto a valid CPP name.
547as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
548
549# Sed expression to map a string onto a valid variable name.
550as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
551
552
553
554exec 7<&0 </dev/null 6>&1
555
556# Name of the host.
557# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558# so uname gets run too.
559ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
560
561#
562# Initializations.
563#
564ac_default_prefix=/usr/local
565ac_clean_files=
566ac_config_libobj_dir=.
567LIBOBJS=
568cross_compiling=no
569subdirs=
570MFLAGS=
571MAKEFLAGS=
572SHELL=${CONFIG_SHELL-/bin/sh}
573
574# Identity of this package.
575PACKAGE_NAME='yasr'
576PACKAGE_TARNAME='yasr'
577PACKAGE_VERSION='0.6.9'
578PACKAGE_STRING='yasr 0.6.9'
579PACKAGE_BUGREPORT='mgorse@alum.wpi.edu'
580
581# Factoring default headers for most tests.
582ac_includes_default="\
583#include <stdio.h>
584#ifdef HAVE_SYS_TYPES_H
585# include <sys/types.h>
586#endif
587#ifdef HAVE_SYS_STAT_H
588# include <sys/stat.h>
589#endif
590#ifdef STDC_HEADERS
591# include <stdlib.h>
592# include <stddef.h>
593#else
594# ifdef HAVE_STDLIB_H
595#  include <stdlib.h>
596# endif
597#endif
598#ifdef HAVE_STRING_H
599# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
600#  include <memory.h>
601# endif
602# include <string.h>
603#endif
604#ifdef HAVE_STRINGS_H
605# include <strings.h>
606#endif
607#ifdef HAVE_INTTYPES_H
608# include <inttypes.h>
609#endif
610#ifdef HAVE_STDINT_H
611# include <stdint.h>
612#endif
613#ifdef HAVE_UNISTD_H
614# include <unistd.h>
615#endif"
616
617gt_needs=
618ac_subst_vars='SHELL
619PATH_SEPARATOR
620PACKAGE_NAME
621PACKAGE_TARNAME
622PACKAGE_VERSION
623PACKAGE_STRING
624PACKAGE_BUGREPORT
625exec_prefix
626prefix
627program_transform_name
628bindir
629sbindir
630libexecdir
631datarootdir
632datadir
633sysconfdir
634sharedstatedir
635localstatedir
636includedir
637oldincludedir
638docdir
639infodir
640htmldir
641dvidir
642pdfdir
643psdir
644libdir
645localedir
646mandir
647DEFS
648ECHO_C
649ECHO_N
650ECHO_T
651LIBS
652build_alias
653host_alias
654target_alias
655INSTALL_PROGRAM
656INSTALL_SCRIPT
657INSTALL_DATA
658am__isrc
659CYGPATH_W
660PACKAGE
661VERSION
662ACLOCAL
663AUTOCONF
664AUTOMAKE
665AUTOHEADER
666MAKEINFO
667install_sh
668STRIP
669INSTALL_STRIP_PROGRAM
670mkdir_p
671AWK
672SET_MAKE
673am__leading_dot
674AMTAR
675am__tar
676am__untar
677CC
678CFLAGS
679LDFLAGS
680CPPFLAGS
681ac_ct_CC
682EXEEXT
683OBJEXT
684DEPDIR
685am__include
686am__quote
687AMDEP_TRUE
688AMDEP_FALSE
689AMDEPBACKSLASH
690CCDEPMODE
691am__fastdepCC_TRUE
692am__fastdepCC_FALSE
693CPP
694GREP
695EGREP
696LIBOBJS
697build
698build_cpu
699build_vendor
700build_os
701host
702host_cpu
703host_vendor
704host_os
705YASR_SUN_TRUE
706YASR_SUN_FALSE
707USE_NLS
708GETTEXT_MACRO_VERSION
709MSGFMT
710GMSGFMT
711MSGFMT_015
712GMSGFMT_015
713XGETTEXT
714XGETTEXT_015
715MSGMERGE
716XGETTEXT_EXTRA_OPTIONS
717INTL_MACOSX_LIBS
718LIBICONV
719LTLIBICONV
720INTLLIBS
721LIBINTL
722LTLIBINTL
723POSUB
724LTLIBOBJS'
725ac_subst_files=''
726      ac_precious_vars='build_alias
727host_alias
728target_alias
729CC
730CFLAGS
731LDFLAGS
732LIBS
733CPPFLAGS
734CPP'
735
736
737# Initialize some variables set by options.
738ac_init_help=
739ac_init_version=false
740# The variables have the same names as the options, with
741# dashes changed to underlines.
742cache_file=/dev/null
743exec_prefix=NONE
744no_create=
745no_recursion=
746prefix=NONE
747program_prefix=NONE
748program_suffix=NONE
749program_transform_name=s,x,x,
750silent=
751site=
752srcdir=
753verbose=
754x_includes=NONE
755x_libraries=NONE
756
757# Installation directory options.
758# These are left unexpanded so users can "make install exec_prefix=/foo"
759# and all the variables that are supposed to be based on exec_prefix
760# by default will actually change.
761# Use braces instead of parens because sh, perl, etc. also accept them.
762# (The list follows the same order as the GNU Coding Standards.)
763bindir='${exec_prefix}/bin'
764sbindir='${exec_prefix}/sbin'
765libexecdir='${exec_prefix}/libexec'
766datarootdir='${prefix}/share'
767datadir='${datarootdir}'
768sysconfdir='${prefix}/etc'
769sharedstatedir='${prefix}/com'
770localstatedir='${prefix}/var'
771includedir='${prefix}/include'
772oldincludedir='/usr/include'
773docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
774infodir='${datarootdir}/info'
775htmldir='${docdir}'
776dvidir='${docdir}'
777pdfdir='${docdir}'
778psdir='${docdir}'
779libdir='${exec_prefix}/lib'
780localedir='${datarootdir}/locale'
781mandir='${datarootdir}/man'
782
783ac_prev=
784ac_dashdash=
785for ac_option
786do
787  # If the previous option needs an argument, assign it.
788  if test -n "$ac_prev"; then
789    eval $ac_prev=\$ac_option
790    ac_prev=
791    continue
792  fi
793
794  case $ac_option in
795  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
796  *)	ac_optarg=yes ;;
797  esac
798
799  # Accept the important Cygnus configure options, so we can diagnose typos.
800
801  case $ac_dashdash$ac_option in
802  --)
803    ac_dashdash=yes ;;
804
805  -bindir | --bindir | --bindi | --bind | --bin | --bi)
806    ac_prev=bindir ;;
807  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
808    bindir=$ac_optarg ;;
809
810  -build | --build | --buil | --bui | --bu)
811    ac_prev=build_alias ;;
812  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
813    build_alias=$ac_optarg ;;
814
815  -cache-file | --cache-file | --cache-fil | --cache-fi \
816  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
817    ac_prev=cache_file ;;
818  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
819  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
820    cache_file=$ac_optarg ;;
821
822  --config-cache | -C)
823    cache_file=config.cache ;;
824
825  -datadir | --datadir | --datadi | --datad)
826    ac_prev=datadir ;;
827  -datadir=* | --datadir=* | --datadi=* | --datad=*)
828    datadir=$ac_optarg ;;
829
830  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
831  | --dataroo | --dataro | --datar)
832    ac_prev=datarootdir ;;
833  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
834  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
835    datarootdir=$ac_optarg ;;
836
837  -disable-* | --disable-*)
838    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
839    # Reject names that are not valid shell variable names.
840    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
841      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
842   { (exit 1); exit 1; }; }
843    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
844    eval enable_$ac_feature=no ;;
845
846  -docdir | --docdir | --docdi | --doc | --do)
847    ac_prev=docdir ;;
848  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
849    docdir=$ac_optarg ;;
850
851  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
852    ac_prev=dvidir ;;
853  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
854    dvidir=$ac_optarg ;;
855
856  -enable-* | --enable-*)
857    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
858    # Reject names that are not valid shell variable names.
859    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
860      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
861   { (exit 1); exit 1; }; }
862    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
863    eval enable_$ac_feature=\$ac_optarg ;;
864
865  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
866  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
867  | --exec | --exe | --ex)
868    ac_prev=exec_prefix ;;
869  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
870  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
871  | --exec=* | --exe=* | --ex=*)
872    exec_prefix=$ac_optarg ;;
873
874  -gas | --gas | --ga | --g)
875    # Obsolete; use --with-gas.
876    with_gas=yes ;;
877
878  -help | --help | --hel | --he | -h)
879    ac_init_help=long ;;
880  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
881    ac_init_help=recursive ;;
882  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
883    ac_init_help=short ;;
884
885  -host | --host | --hos | --ho)
886    ac_prev=host_alias ;;
887  -host=* | --host=* | --hos=* | --ho=*)
888    host_alias=$ac_optarg ;;
889
890  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
891    ac_prev=htmldir ;;
892  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
893  | --ht=*)
894    htmldir=$ac_optarg ;;
895
896  -includedir | --includedir | --includedi | --included | --include \
897  | --includ | --inclu | --incl | --inc)
898    ac_prev=includedir ;;
899  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
900  | --includ=* | --inclu=* | --incl=* | --inc=*)
901    includedir=$ac_optarg ;;
902
903  -infodir | --infodir | --infodi | --infod | --info | --inf)
904    ac_prev=infodir ;;
905  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
906    infodir=$ac_optarg ;;
907
908  -libdir | --libdir | --libdi | --libd)
909    ac_prev=libdir ;;
910  -libdir=* | --libdir=* | --libdi=* | --libd=*)
911    libdir=$ac_optarg ;;
912
913  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
914  | --libexe | --libex | --libe)
915    ac_prev=libexecdir ;;
916  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
917  | --libexe=* | --libex=* | --libe=*)
918    libexecdir=$ac_optarg ;;
919
920  -localedir | --localedir | --localedi | --localed | --locale)
921    ac_prev=localedir ;;
922  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
923    localedir=$ac_optarg ;;
924
925  -localstatedir | --localstatedir | --localstatedi | --localstated \
926  | --localstate | --localstat | --localsta | --localst | --locals)
927    ac_prev=localstatedir ;;
928  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
929  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
930    localstatedir=$ac_optarg ;;
931
932  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
933    ac_prev=mandir ;;
934  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
935    mandir=$ac_optarg ;;
936
937  -nfp | --nfp | --nf)
938    # Obsolete; use --without-fp.
939    with_fp=no ;;
940
941  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
942  | --no-cr | --no-c | -n)
943    no_create=yes ;;
944
945  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
946  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
947    no_recursion=yes ;;
948
949  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
950  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
951  | --oldin | --oldi | --old | --ol | --o)
952    ac_prev=oldincludedir ;;
953  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
954  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
955  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
956    oldincludedir=$ac_optarg ;;
957
958  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
959    ac_prev=prefix ;;
960  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
961    prefix=$ac_optarg ;;
962
963  -program-prefix | --program-prefix | --program-prefi | --program-pref \
964  | --program-pre | --program-pr | --program-p)
965    ac_prev=program_prefix ;;
966  -program-prefix=* | --program-prefix=* | --program-prefi=* \
967  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
968    program_prefix=$ac_optarg ;;
969
970  -program-suffix | --program-suffix | --program-suffi | --program-suff \
971  | --program-suf | --program-su | --program-s)
972    ac_prev=program_suffix ;;
973  -program-suffix=* | --program-suffix=* | --program-suffi=* \
974  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
975    program_suffix=$ac_optarg ;;
976
977  -program-transform-name | --program-transform-name \
978  | --program-transform-nam | --program-transform-na \
979  | --program-transform-n | --program-transform- \
980  | --program-transform | --program-transfor \
981  | --program-transfo | --program-transf \
982  | --program-trans | --program-tran \
983  | --progr-tra | --program-tr | --program-t)
984    ac_prev=program_transform_name ;;
985  -program-transform-name=* | --program-transform-name=* \
986  | --program-transform-nam=* | --program-transform-na=* \
987  | --program-transform-n=* | --program-transform-=* \
988  | --program-transform=* | --program-transfor=* \
989  | --program-transfo=* | --program-transf=* \
990  | --program-trans=* | --program-tran=* \
991  | --progr-tra=* | --program-tr=* | --program-t=*)
992    program_transform_name=$ac_optarg ;;
993
994  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
995    ac_prev=pdfdir ;;
996  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
997    pdfdir=$ac_optarg ;;
998
999  -psdir | --psdir | --psdi | --psd | --ps)
1000    ac_prev=psdir ;;
1001  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1002    psdir=$ac_optarg ;;
1003
1004  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1005  | -silent | --silent | --silen | --sile | --sil)
1006    silent=yes ;;
1007
1008  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1009    ac_prev=sbindir ;;
1010  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1011  | --sbi=* | --sb=*)
1012    sbindir=$ac_optarg ;;
1013
1014  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1015  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1016  | --sharedst | --shareds | --shared | --share | --shar \
1017  | --sha | --sh)
1018    ac_prev=sharedstatedir ;;
1019  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1020  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1021  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1022  | --sha=* | --sh=*)
1023    sharedstatedir=$ac_optarg ;;
1024
1025  -site | --site | --sit)
1026    ac_prev=site ;;
1027  -site=* | --site=* | --sit=*)
1028    site=$ac_optarg ;;
1029
1030  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1031    ac_prev=srcdir ;;
1032  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1033    srcdir=$ac_optarg ;;
1034
1035  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1036  | --syscon | --sysco | --sysc | --sys | --sy)
1037    ac_prev=sysconfdir ;;
1038  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1039  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1040    sysconfdir=$ac_optarg ;;
1041
1042  -target | --target | --targe | --targ | --tar | --ta | --t)
1043    ac_prev=target_alias ;;
1044  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1045    target_alias=$ac_optarg ;;
1046
1047  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1048    verbose=yes ;;
1049
1050  -version | --version | --versio | --versi | --vers | -V)
1051    ac_init_version=: ;;
1052
1053  -with-* | --with-*)
1054    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1055    # Reject names that are not valid shell variable names.
1056    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1057      { echo "$as_me: error: invalid package name: $ac_package" >&2
1058   { (exit 1); exit 1; }; }
1059    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1060    eval with_$ac_package=\$ac_optarg ;;
1061
1062  -without-* | --without-*)
1063    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1064    # Reject names that are not valid shell variable names.
1065    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1066      { echo "$as_me: error: invalid package name: $ac_package" >&2
1067   { (exit 1); exit 1; }; }
1068    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1069    eval with_$ac_package=no ;;
1070
1071  --x)
1072    # Obsolete; use --with-x.
1073    with_x=yes ;;
1074
1075  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1076  | --x-incl | --x-inc | --x-in | --x-i)
1077    ac_prev=x_includes ;;
1078  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1079  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1080    x_includes=$ac_optarg ;;
1081
1082  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1083  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1084    ac_prev=x_libraries ;;
1085  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1086  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1087    x_libraries=$ac_optarg ;;
1088
1089  -*) { echo "$as_me: error: unrecognized option: $ac_option
1090Try \`$0 --help' for more information." >&2
1091   { (exit 1); exit 1; }; }
1092    ;;
1093
1094  *=*)
1095    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1096    # Reject names that are not valid shell variable names.
1097    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1098      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1099   { (exit 1); exit 1; }; }
1100    eval $ac_envvar=\$ac_optarg
1101    export $ac_envvar ;;
1102
1103  *)
1104    # FIXME: should be removed in autoconf 3.0.
1105    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1106    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1107      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1108    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1109    ;;
1110
1111  esac
1112done
1113
1114if test -n "$ac_prev"; then
1115  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1116  { echo "$as_me: error: missing argument to $ac_option" >&2
1117   { (exit 1); exit 1; }; }
1118fi
1119
1120# Be sure to have absolute directory names.
1121for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1122		datadir sysconfdir sharedstatedir localstatedir includedir \
1123		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1124		libdir localedir mandir
1125do
1126  eval ac_val=\$$ac_var
1127  case $ac_val in
1128    [\\/$]* | ?:[\\/]* )  continue;;
1129    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1130  esac
1131  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1132   { (exit 1); exit 1; }; }
1133done
1134
1135# There might be people who depend on the old broken behavior: `$host'
1136# used to hold the argument of --host etc.
1137# FIXME: To remove some day.
1138build=$build_alias
1139host=$host_alias
1140target=$target_alias
1141
1142# FIXME: To remove some day.
1143if test "x$host_alias" != x; then
1144  if test "x$build_alias" = x; then
1145    cross_compiling=maybe
1146    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1147    If a cross compiler is detected then cross compile mode will be used." >&2
1148  elif test "x$build_alias" != "x$host_alias"; then
1149    cross_compiling=yes
1150  fi
1151fi
1152
1153ac_tool_prefix=
1154test -n "$host_alias" && ac_tool_prefix=$host_alias-
1155
1156test "$silent" = yes && exec 6>/dev/null
1157
1158
1159ac_pwd=`pwd` && test -n "$ac_pwd" &&
1160ac_ls_di=`ls -di .` &&
1161ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1162  { echo "$as_me: error: Working directory cannot be determined" >&2
1163   { (exit 1); exit 1; }; }
1164test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1165  { echo "$as_me: error: pwd does not report name of working directory" >&2
1166   { (exit 1); exit 1; }; }
1167
1168
1169# Find the source files, if location was not specified.
1170if test -z "$srcdir"; then
1171  ac_srcdir_defaulted=yes
1172  # Try the directory containing this script, then the parent directory.
1173  ac_confdir=`$as_dirname -- "$0" ||
1174$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1175	 X"$0" : 'X\(//\)[^/]' \| \
1176	 X"$0" : 'X\(//\)$' \| \
1177	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1178echo X"$0" |
1179    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1180	    s//\1/
1181	    q
1182	  }
1183	  /^X\(\/\/\)[^/].*/{
1184	    s//\1/
1185	    q
1186	  }
1187	  /^X\(\/\/\)$/{
1188	    s//\1/
1189	    q
1190	  }
1191	  /^X\(\/\).*/{
1192	    s//\1/
1193	    q
1194	  }
1195	  s/.*/./; q'`
1196  srcdir=$ac_confdir
1197  if test ! -r "$srcdir/$ac_unique_file"; then
1198    srcdir=..
1199  fi
1200else
1201  ac_srcdir_defaulted=no
1202fi
1203if test ! -r "$srcdir/$ac_unique_file"; then
1204  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1205  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1206   { (exit 1); exit 1; }; }
1207fi
1208ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1209ac_abs_confdir=`(
1210	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1211   { (exit 1); exit 1; }; }
1212	pwd)`
1213# When building in place, set srcdir=.
1214if test "$ac_abs_confdir" = "$ac_pwd"; then
1215  srcdir=.
1216fi
1217# Remove unnecessary trailing slashes from srcdir.
1218# Double slashes in file names in object file debugging info
1219# mess up M-x gdb in Emacs.
1220case $srcdir in
1221*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1222esac
1223for ac_var in $ac_precious_vars; do
1224  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1225  eval ac_env_${ac_var}_value=\$${ac_var}
1226  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1227  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1228done
1229
1230#
1231# Report the --help message.
1232#
1233if test "$ac_init_help" = "long"; then
1234  # Omit some internal or obsolete options to make the list less imposing.
1235  # This message is too long to be a string in the A/UX 3.1 sh.
1236  cat <<_ACEOF
1237\`configure' configures yasr 0.6.9 to adapt to many kinds of systems.
1238
1239Usage: $0 [OPTION]... [VAR=VALUE]...
1240
1241To assign environment variables (e.g., CC, CFLAGS...), specify them as
1242VAR=VALUE.  See below for descriptions of some of the useful variables.
1243
1244Defaults for the options are specified in brackets.
1245
1246Configuration:
1247  -h, --help              display this help and exit
1248      --help=short        display options specific to this package
1249      --help=recursive    display the short help of all the included packages
1250  -V, --version           display version information and exit
1251  -q, --quiet, --silent   do not print \`checking...' messages
1252      --cache-file=FILE   cache test results in FILE [disabled]
1253  -C, --config-cache      alias for \`--cache-file=config.cache'
1254  -n, --no-create         do not create output files
1255      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1256
1257Installation directories:
1258  --prefix=PREFIX         install architecture-independent files in PREFIX
1259			  [$ac_default_prefix]
1260  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1261			  [PREFIX]
1262
1263By default, \`make install' will install all the files in
1264\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1265an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1266for instance \`--prefix=\$HOME'.
1267
1268For better control, use the options below.
1269
1270Fine tuning of the installation directories:
1271  --bindir=DIR           user executables [EPREFIX/bin]
1272  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1273  --libexecdir=DIR       program executables [EPREFIX/libexec]
1274  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1275  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1276  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1277  --libdir=DIR           object code libraries [EPREFIX/lib]
1278  --includedir=DIR       C header files [PREFIX/include]
1279  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1280  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1281  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1282  --infodir=DIR          info documentation [DATAROOTDIR/info]
1283  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1284  --mandir=DIR           man documentation [DATAROOTDIR/man]
1285  --docdir=DIR           documentation root [DATAROOTDIR/doc/yasr]
1286  --htmldir=DIR          html documentation [DOCDIR]
1287  --dvidir=DIR           dvi documentation [DOCDIR]
1288  --pdfdir=DIR           pdf documentation [DOCDIR]
1289  --psdir=DIR            ps documentation [DOCDIR]
1290_ACEOF
1291
1292  cat <<\_ACEOF
1293
1294Program names:
1295  --program-prefix=PREFIX            prepend PREFIX to installed program names
1296  --program-suffix=SUFFIX            append SUFFIX to installed program names
1297  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1298
1299System types:
1300  --build=BUILD     configure for building on BUILD [guessed]
1301  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1302_ACEOF
1303fi
1304
1305if test -n "$ac_init_help"; then
1306  case $ac_init_help in
1307     short | recursive ) echo "Configuration of yasr 0.6.9:";;
1308   esac
1309  cat <<\_ACEOF
1310
1311Optional Features:
1312  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1313  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1314  --disable-dependency-tracking  speeds up one-time build
1315  --enable-dependency-tracking   do not reject slow dependency extractors
1316  --disable-nls           do not use Native Language Support
1317  --disable-rpath         do not hardcode runtime library paths
1318
1319Optional Packages:
1320  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1321  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1322  --with-gnu-ld           assume the C compiler uses GNU ld default=no
1323  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1324  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1325  --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
1326  --without-libintl-prefix     don't search for libintl in includedir and libdir
1327
1328Some influential environment variables:
1329  CC          C compiler command
1330  CFLAGS      C compiler flags
1331  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1332              nonstandard directory <lib dir>
1333  LIBS        libraries to pass to the linker, e.g. -l<library>
1334  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1335              you have headers in a nonstandard directory <include dir>
1336  CPP         C preprocessor
1337
1338Use these variables to override the choices made by `configure' or to help
1339it to find libraries and programs with nonstandard names/locations.
1340
1341Report bugs to <mgorse@alum.wpi.edu>.
1342_ACEOF
1343ac_status=$?
1344fi
1345
1346if test "$ac_init_help" = "recursive"; then
1347  # If there are subdirs, report their specific --help.
1348  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1349    test -d "$ac_dir" || continue
1350    ac_builddir=.
1351
1352case "$ac_dir" in
1353.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1354*)
1355  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1356  # A ".." for each directory in $ac_dir_suffix.
1357  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1358  case $ac_top_builddir_sub in
1359  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1360  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1361  esac ;;
1362esac
1363ac_abs_top_builddir=$ac_pwd
1364ac_abs_builddir=$ac_pwd$ac_dir_suffix
1365# for backward compatibility:
1366ac_top_builddir=$ac_top_build_prefix
1367
1368case $srcdir in
1369  .)  # We are building in place.
1370    ac_srcdir=.
1371    ac_top_srcdir=$ac_top_builddir_sub
1372    ac_abs_top_srcdir=$ac_pwd ;;
1373  [\\/]* | ?:[\\/]* )  # Absolute name.
1374    ac_srcdir=$srcdir$ac_dir_suffix;
1375    ac_top_srcdir=$srcdir
1376    ac_abs_top_srcdir=$srcdir ;;
1377  *) # Relative name.
1378    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1379    ac_top_srcdir=$ac_top_build_prefix$srcdir
1380    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1381esac
1382ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1383
1384    cd "$ac_dir" || { ac_status=$?; continue; }
1385    # Check for guested configure.
1386    if test -f "$ac_srcdir/configure.gnu"; then
1387      echo &&
1388      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1389    elif test -f "$ac_srcdir/configure"; then
1390      echo &&
1391      $SHELL "$ac_srcdir/configure" --help=recursive
1392    else
1393      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1394    fi || ac_status=$?
1395    cd "$ac_pwd" || { ac_status=$?; break; }
1396  done
1397fi
1398
1399test -n "$ac_init_help" && exit $ac_status
1400if $ac_init_version; then
1401  cat <<\_ACEOF
1402yasr configure 0.6.9
1403generated by GNU Autoconf 2.61
1404
1405Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
14062002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1407This configure script is free software; the Free Software Foundation
1408gives unlimited permission to copy, distribute and modify it.
1409_ACEOF
1410  exit
1411fi
1412cat >config.log <<_ACEOF
1413This file contains any messages produced by compilers while
1414running configure, to aid debugging if configure makes a mistake.
1415
1416It was created by yasr $as_me 0.6.9, which was
1417generated by GNU Autoconf 2.61.  Invocation command line was
1418
1419  $ $0 $@
1420
1421_ACEOF
1422exec 5>>config.log
1423{
1424cat <<_ASUNAME
1425## --------- ##
1426## Platform. ##
1427## --------- ##
1428
1429hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1430uname -m = `(uname -m) 2>/dev/null || echo unknown`
1431uname -r = `(uname -r) 2>/dev/null || echo unknown`
1432uname -s = `(uname -s) 2>/dev/null || echo unknown`
1433uname -v = `(uname -v) 2>/dev/null || echo unknown`
1434
1435/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1436/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1437
1438/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1439/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1440/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1441/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1442/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1443/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1444/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1445
1446_ASUNAME
1447
1448as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1449for as_dir in $PATH
1450do
1451  IFS=$as_save_IFS
1452  test -z "$as_dir" && as_dir=.
1453  echo "PATH: $as_dir"
1454done
1455IFS=$as_save_IFS
1456
1457} >&5
1458
1459cat >&5 <<_ACEOF
1460
1461
1462## ----------- ##
1463## Core tests. ##
1464## ----------- ##
1465
1466_ACEOF
1467
1468
1469# Keep a trace of the command line.
1470# Strip out --no-create and --no-recursion so they do not pile up.
1471# Strip out --silent because we don't want to record it for future runs.
1472# Also quote any args containing shell meta-characters.
1473# Make two passes to allow for proper duplicate-argument suppression.
1474ac_configure_args=
1475ac_configure_args0=
1476ac_configure_args1=
1477ac_must_keep_next=false
1478for ac_pass in 1 2
1479do
1480  for ac_arg
1481  do
1482    case $ac_arg in
1483    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1484    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1485    | -silent | --silent | --silen | --sile | --sil)
1486      continue ;;
1487    *\'*)
1488      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1489    esac
1490    case $ac_pass in
1491    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1492    2)
1493      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1494      if test $ac_must_keep_next = true; then
1495	ac_must_keep_next=false # Got value, back to normal.
1496      else
1497	case $ac_arg in
1498	  *=* | --config-cache | -C | -disable-* | --disable-* \
1499	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1500	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1501	  | -with-* | --with-* | -without-* | --without-* | --x)
1502	    case "$ac_configure_args0 " in
1503	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1504	    esac
1505	    ;;
1506	  -* ) ac_must_keep_next=true ;;
1507	esac
1508      fi
1509      ac_configure_args="$ac_configure_args '$ac_arg'"
1510      ;;
1511    esac
1512  done
1513done
1514$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1515$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1516
1517# When interrupted or exit'd, cleanup temporary files, and complete
1518# config.log.  We remove comments because anyway the quotes in there
1519# would cause problems or look ugly.
1520# WARNING: Use '\'' to represent an apostrophe within the trap.
1521# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1522trap 'exit_status=$?
1523  # Save into config.log some information that might help in debugging.
1524  {
1525    echo
1526
1527    cat <<\_ASBOX
1528## ---------------- ##
1529## Cache variables. ##
1530## ---------------- ##
1531_ASBOX
1532    echo
1533    # The following way of writing the cache mishandles newlines in values,
1534(
1535  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1536    eval ac_val=\$$ac_var
1537    case $ac_val in #(
1538    *${as_nl}*)
1539      case $ac_var in #(
1540      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1541echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1542      esac
1543      case $ac_var in #(
1544      _ | IFS | as_nl) ;; #(
1545      *) $as_unset $ac_var ;;
1546      esac ;;
1547    esac
1548  done
1549  (set) 2>&1 |
1550    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1551    *${as_nl}ac_space=\ *)
1552      sed -n \
1553	"s/'\''/'\''\\\\'\'''\''/g;
1554	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1555      ;; #(
1556    *)
1557      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1558      ;;
1559    esac |
1560    sort
1561)
1562    echo
1563
1564    cat <<\_ASBOX
1565## ----------------- ##
1566## Output variables. ##
1567## ----------------- ##
1568_ASBOX
1569    echo
1570    for ac_var in $ac_subst_vars
1571    do
1572      eval ac_val=\$$ac_var
1573      case $ac_val in
1574      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1575      esac
1576      echo "$ac_var='\''$ac_val'\''"
1577    done | sort
1578    echo
1579
1580    if test -n "$ac_subst_files"; then
1581      cat <<\_ASBOX
1582## ------------------- ##
1583## File substitutions. ##
1584## ------------------- ##
1585_ASBOX
1586      echo
1587      for ac_var in $ac_subst_files
1588      do
1589	eval ac_val=\$$ac_var
1590	case $ac_val in
1591	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1592	esac
1593	echo "$ac_var='\''$ac_val'\''"
1594      done | sort
1595      echo
1596    fi
1597
1598    if test -s confdefs.h; then
1599      cat <<\_ASBOX
1600## ----------- ##
1601## confdefs.h. ##
1602## ----------- ##
1603_ASBOX
1604      echo
1605      cat confdefs.h
1606      echo
1607    fi
1608    test "$ac_signal" != 0 &&
1609      echo "$as_me: caught signal $ac_signal"
1610    echo "$as_me: exit $exit_status"
1611  } >&5
1612  rm -f core *.core core.conftest.* &&
1613    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1614    exit $exit_status
1615' 0
1616for ac_signal in 1 2 13 15; do
1617  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1618done
1619ac_signal=0
1620
1621# confdefs.h avoids OS command line length limits that DEFS can exceed.
1622rm -f -r conftest* confdefs.h
1623
1624# Predefined preprocessor variables.
1625
1626cat >>confdefs.h <<_ACEOF
1627#define PACKAGE_NAME "$PACKAGE_NAME"
1628_ACEOF
1629
1630
1631cat >>confdefs.h <<_ACEOF
1632#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1633_ACEOF
1634
1635
1636cat >>confdefs.h <<_ACEOF
1637#define PACKAGE_VERSION "$PACKAGE_VERSION"
1638_ACEOF
1639
1640
1641cat >>confdefs.h <<_ACEOF
1642#define PACKAGE_STRING "$PACKAGE_STRING"
1643_ACEOF
1644
1645
1646cat >>confdefs.h <<_ACEOF
1647#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1648_ACEOF
1649
1650
1651# Let the site file select an alternate cache file if it wants to.
1652# Prefer explicitly selected file to automatically selected ones.
1653if test -n "$CONFIG_SITE"; then
1654  set x "$CONFIG_SITE"
1655elif test "x$prefix" != xNONE; then
1656  set x "$prefix/share/config.site" "$prefix/etc/config.site"
1657else
1658  set x "$ac_default_prefix/share/config.site" \
1659	"$ac_default_prefix/etc/config.site"
1660fi
1661shift
1662for ac_site_file
1663do
1664  if test -r "$ac_site_file"; then
1665    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1666echo "$as_me: loading site script $ac_site_file" >&6;}
1667    sed 's/^/| /' "$ac_site_file" >&5
1668    . "$ac_site_file"
1669  fi
1670done
1671
1672if test -r "$cache_file"; then
1673  # Some versions of bash will fail to source /dev/null (special
1674  # files actually), so we avoid doing that.
1675  if test -f "$cache_file"; then
1676    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1677echo "$as_me: loading cache $cache_file" >&6;}
1678    case $cache_file in
1679      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1680      *)                      . "./$cache_file";;
1681    esac
1682  fi
1683else
1684  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1685echo "$as_me: creating cache $cache_file" >&6;}
1686  >$cache_file
1687fi
1688
1689gt_needs="$gt_needs "
1690# Check that the precious variables saved in the cache have kept the same
1691# value.
1692ac_cache_corrupted=false
1693for ac_var in $ac_precious_vars; do
1694  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1695  eval ac_new_set=\$ac_env_${ac_var}_set
1696  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1697  eval ac_new_val=\$ac_env_${ac_var}_value
1698  case $ac_old_set,$ac_new_set in
1699    set,)
1700      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1701echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1702      ac_cache_corrupted=: ;;
1703    ,set)
1704      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1705echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1706      ac_cache_corrupted=: ;;
1707    ,);;
1708    *)
1709      if test "x$ac_old_val" != "x$ac_new_val"; then
1710	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1711echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1712	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1713echo "$as_me:   former value:  $ac_old_val" >&2;}
1714	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1715echo "$as_me:   current value: $ac_new_val" >&2;}
1716	ac_cache_corrupted=:
1717      fi;;
1718  esac
1719  # Pass precious variables to config.status.
1720  if test "$ac_new_set" = set; then
1721    case $ac_new_val in
1722    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1723    *) ac_arg=$ac_var=$ac_new_val ;;
1724    esac
1725    case " $ac_configure_args " in
1726      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1727      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1728    esac
1729  fi
1730done
1731if $ac_cache_corrupted; then
1732  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1733echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1734  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1735echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1736   { (exit 1); exit 1; }; }
1737fi
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763ac_ext=c
1764ac_cpp='$CPP $CPPFLAGS'
1765ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1766ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1767ac_compiler_gnu=$ac_cv_c_compiler_gnu
1768
1769
1770am__api_version='1.10'
1771
1772ac_aux_dir=
1773for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1774  if test -f "$ac_dir/install-sh"; then
1775    ac_aux_dir=$ac_dir
1776    ac_install_sh="$ac_aux_dir/install-sh -c"
1777    break
1778  elif test -f "$ac_dir/install.sh"; then
1779    ac_aux_dir=$ac_dir
1780    ac_install_sh="$ac_aux_dir/install.sh -c"
1781    break
1782  elif test -f "$ac_dir/shtool"; then
1783    ac_aux_dir=$ac_dir
1784    ac_install_sh="$ac_aux_dir/shtool install -c"
1785    break
1786  fi
1787done
1788if test -z "$ac_aux_dir"; then
1789  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1790echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1791   { (exit 1); exit 1; }; }
1792fi
1793
1794# These three variables are undocumented and unsupported,
1795# and are intended to be withdrawn in a future Autoconf release.
1796# They can cause serious problems if a builder's source tree is in a directory
1797# whose full name contains unusual characters.
1798ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1799ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1800ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1801
1802
1803# Find a good install program.  We prefer a C program (faster),
1804# so one script is as good as another.  But avoid the broken or
1805# incompatible versions:
1806# SysV /etc/install, /usr/sbin/install
1807# SunOS /usr/etc/install
1808# IRIX /sbin/install
1809# AIX /bin/install
1810# AmigaOS /C/install, which installs bootblocks on floppy discs
1811# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1812# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1813# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1814# OS/2's system install, which has a completely different semantic
1815# ./install, which can be erroneously created by make from ./install.sh.
1816{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1817echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1818if test -z "$INSTALL"; then
1819if test "${ac_cv_path_install+set}" = set; then
1820  echo $ECHO_N "(cached) $ECHO_C" >&6
1821else
1822  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1823for as_dir in $PATH
1824do
1825  IFS=$as_save_IFS
1826  test -z "$as_dir" && as_dir=.
1827  # Account for people who put trailing slashes in PATH elements.
1828case $as_dir/ in
1829  ./ | .// | /cC/* | \
1830  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1831  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1832  /usr/ucb/* ) ;;
1833  *)
1834    # OSF1 and SCO ODT 3.0 have their own names for install.
1835    # Don't use installbsd from OSF since it installs stuff as root
1836    # by default.
1837    for ac_prog in ginstall scoinst install; do
1838      for ac_exec_ext in '' $ac_executable_extensions; do
1839	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1840	  if test $ac_prog = install &&
1841	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1842	    # AIX install.  It has an incompatible calling convention.
1843	    :
1844	  elif test $ac_prog = install &&
1845	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1846	    # program-specific install script used by HP pwplus--don't use.
1847	    :
1848	  else
1849	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1850	    break 3
1851	  fi
1852	fi
1853      done
1854    done
1855    ;;
1856esac
1857done
1858IFS=$as_save_IFS
1859
1860
1861fi
1862  if test "${ac_cv_path_install+set}" = set; then
1863    INSTALL=$ac_cv_path_install
1864  else
1865    # As a last resort, use the slow shell script.  Don't cache a
1866    # value for INSTALL within a source directory, because that will
1867    # break other packages using the cache if that directory is
1868    # removed, or if the value is a relative name.
1869    INSTALL=$ac_install_sh
1870  fi
1871fi
1872{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1873echo "${ECHO_T}$INSTALL" >&6; }
1874
1875# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1876# It thinks the first close brace ends the variable substitution.
1877test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1878
1879test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1880
1881test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1882
1883{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1884echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1885# Just in case
1886sleep 1
1887echo timestamp > conftest.file
1888# Do `set' in a subshell so we don't clobber the current shell's
1889# arguments.  Must try -L first in case configure is actually a
1890# symlink; some systems play weird games with the mod time of symlinks
1891# (eg FreeBSD returns the mod time of the symlink's containing
1892# directory).
1893if (
1894   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1895   if test "$*" = "X"; then
1896      # -L didn't work.
1897      set X `ls -t $srcdir/configure conftest.file`
1898   fi
1899   rm -f conftest.file
1900   if test "$*" != "X $srcdir/configure conftest.file" \
1901      && test "$*" != "X conftest.file $srcdir/configure"; then
1902
1903      # If neither matched, then we have a broken ls.  This can happen
1904      # if, for instance, CONFIG_SHELL is bash and it inherits a
1905      # broken ls alias from the environment.  This has actually
1906      # happened.  Such a system could not be considered "sane".
1907      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1908alias in your environment" >&5
1909echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1910alias in your environment" >&2;}
1911   { (exit 1); exit 1; }; }
1912   fi
1913
1914   test "$2" = conftest.file
1915   )
1916then
1917   # Ok.
1918   :
1919else
1920   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1921Check your system clock" >&5
1922echo "$as_me: error: newly created file is older than distributed files!
1923Check your system clock" >&2;}
1924   { (exit 1); exit 1; }; }
1925fi
1926{ echo "$as_me:$LINENO: result: yes" >&5
1927echo "${ECHO_T}yes" >&6; }
1928test "$program_prefix" != NONE &&
1929  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1930# Use a double $ so make ignores it.
1931test "$program_suffix" != NONE &&
1932  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1933# Double any \ or $.  echo might interpret backslashes.
1934# By default was `s,x,x', remove it if useless.
1935cat <<\_ACEOF >conftest.sed
1936s/[\\$]/&&/g;s/;s,x,x,$//
1937_ACEOF
1938program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1939rm -f conftest.sed
1940
1941# expand $ac_aux_dir to an absolute path
1942am_aux_dir=`cd $ac_aux_dir && pwd`
1943
1944test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1945# Use eval to expand $SHELL
1946if eval "$MISSING --run true"; then
1947  am_missing_run="$MISSING --run "
1948else
1949  am_missing_run=
1950  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1951echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1952fi
1953
1954{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1955echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1956if test -z "$MKDIR_P"; then
1957  if test "${ac_cv_path_mkdir+set}" = set; then
1958  echo $ECHO_N "(cached) $ECHO_C" >&6
1959else
1960  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1961for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1962do
1963  IFS=$as_save_IFS
1964  test -z "$as_dir" && as_dir=.
1965  for ac_prog in mkdir gmkdir; do
1966	 for ac_exec_ext in '' $ac_executable_extensions; do
1967	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1968	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1969	     'mkdir (GNU coreutils) '* | \
1970	     'mkdir (coreutils) '* | \
1971	     'mkdir (fileutils) '4.1*)
1972	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1973	       break 3;;
1974	   esac
1975	 done
1976       done
1977done
1978IFS=$as_save_IFS
1979
1980fi
1981
1982  if test "${ac_cv_path_mkdir+set}" = set; then
1983    MKDIR_P="$ac_cv_path_mkdir -p"
1984  else
1985    # As a last resort, use the slow shell script.  Don't cache a
1986    # value for MKDIR_P within a source directory, because that will
1987    # break other packages using the cache if that directory is
1988    # removed, or if the value is a relative name.
1989    test -d ./--version && rmdir ./--version
1990    MKDIR_P="$ac_install_sh -d"
1991  fi
1992fi
1993{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1994echo "${ECHO_T}$MKDIR_P" >&6; }
1995
1996mkdir_p="$MKDIR_P"
1997case $mkdir_p in
1998  [\\/$]* | ?:[\\/]*) ;;
1999  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2000esac
2001
2002for ac_prog in gawk mawk nawk awk
2003do
2004  # Extract the first word of "$ac_prog", so it can be a program name with args.
2005set dummy $ac_prog; ac_word=$2
2006{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2007echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2008if test "${ac_cv_prog_AWK+set}" = set; then
2009  echo $ECHO_N "(cached) $ECHO_C" >&6
2010else
2011  if test -n "$AWK"; then
2012  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2013else
2014as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2015for as_dir in $PATH
2016do
2017  IFS=$as_save_IFS
2018  test -z "$as_dir" && as_dir=.
2019  for ac_exec_ext in '' $ac_executable_extensions; do
2020  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2021    ac_cv_prog_AWK="$ac_prog"
2022    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2023    break 2
2024  fi
2025done
2026done
2027IFS=$as_save_IFS
2028
2029fi
2030fi
2031AWK=$ac_cv_prog_AWK
2032if test -n "$AWK"; then
2033  { echo "$as_me:$LINENO: result: $AWK" >&5
2034echo "${ECHO_T}$AWK" >&6; }
2035else
2036  { echo "$as_me:$LINENO: result: no" >&5
2037echo "${ECHO_T}no" >&6; }
2038fi
2039
2040
2041  test -n "$AWK" && break
2042done
2043
2044{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2045echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2046set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2047if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2048  echo $ECHO_N "(cached) $ECHO_C" >&6
2049else
2050  cat >conftest.make <<\_ACEOF
2051SHELL = /bin/sh
2052all:
2053	@echo '@@@%%%=$(MAKE)=@@@%%%'
2054_ACEOF
2055# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2056case `${MAKE-make} -f conftest.make 2>/dev/null` in
2057  *@@@%%%=?*=@@@%%%*)
2058    eval ac_cv_prog_make_${ac_make}_set=yes;;
2059  *)
2060    eval ac_cv_prog_make_${ac_make}_set=no;;
2061esac
2062rm -f conftest.make
2063fi
2064if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2065  { echo "$as_me:$LINENO: result: yes" >&5
2066echo "${ECHO_T}yes" >&6; }
2067  SET_MAKE=
2068else
2069  { echo "$as_me:$LINENO: result: no" >&5
2070echo "${ECHO_T}no" >&6; }
2071  SET_MAKE="MAKE=${MAKE-make}"
2072fi
2073
2074rm -rf .tst 2>/dev/null
2075mkdir .tst 2>/dev/null
2076if test -d .tst; then
2077  am__leading_dot=.
2078else
2079  am__leading_dot=_
2080fi
2081rmdir .tst 2>/dev/null
2082
2083if test "`cd $srcdir && pwd`" != "`pwd`"; then
2084  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2085  # is not polluted with repeated "-I."
2086  am__isrc=' -I$(srcdir)'
2087  # test to see if srcdir already configured
2088  if test -f $srcdir/config.status; then
2089    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2090echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2091   { (exit 1); exit 1; }; }
2092  fi
2093fi
2094
2095# test whether we have cygpath
2096if test -z "$CYGPATH_W"; then
2097  if (cygpath --version) >/dev/null 2>/dev/null; then
2098    CYGPATH_W='cygpath -w'
2099  else
2100    CYGPATH_W=echo
2101  fi
2102fi
2103
2104
2105# Define the identity of the package.
2106 PACKAGE='yasr'
2107 VERSION='0.6.9'
2108
2109
2110cat >>confdefs.h <<_ACEOF
2111#define PACKAGE "$PACKAGE"
2112_ACEOF
2113
2114
2115cat >>confdefs.h <<_ACEOF
2116#define VERSION "$VERSION"
2117_ACEOF
2118
2119# Some tools Automake needs.
2120
2121ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2122
2123
2124AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2125
2126
2127AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2128
2129
2130AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2131
2132
2133MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2134
2135install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2136
2137# Installed binaries are usually stripped using `strip' when the user
2138# run `make install-strip'.  However `strip' might not be the right
2139# tool to use in cross-compilation environments, therefore Automake
2140# will honor the `STRIP' environment variable to overrule this program.
2141if test "$cross_compiling" != no; then
2142  if test -n "$ac_tool_prefix"; then
2143  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2144set dummy ${ac_tool_prefix}strip; ac_word=$2
2145{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2146echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2147if test "${ac_cv_prog_STRIP+set}" = set; then
2148  echo $ECHO_N "(cached) $ECHO_C" >&6
2149else
2150  if test -n "$STRIP"; then
2151  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2152else
2153as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2154for as_dir in $PATH
2155do
2156  IFS=$as_save_IFS
2157  test -z "$as_dir" && as_dir=.
2158  for ac_exec_ext in '' $ac_executable_extensions; do
2159  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2160    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2161    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2162    break 2
2163  fi
2164done
2165done
2166IFS=$as_save_IFS
2167
2168fi
2169fi
2170STRIP=$ac_cv_prog_STRIP
2171if test -n "$STRIP"; then
2172  { echo "$as_me:$LINENO: result: $STRIP" >&5
2173echo "${ECHO_T}$STRIP" >&6; }
2174else
2175  { echo "$as_me:$LINENO: result: no" >&5
2176echo "${ECHO_T}no" >&6; }
2177fi
2178
2179
2180fi
2181if test -z "$ac_cv_prog_STRIP"; then
2182  ac_ct_STRIP=$STRIP
2183  # Extract the first word of "strip", so it can be a program name with args.
2184set dummy strip; ac_word=$2
2185{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2186echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2187if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2188  echo $ECHO_N "(cached) $ECHO_C" >&6
2189else
2190  if test -n "$ac_ct_STRIP"; then
2191  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2192else
2193as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2194for as_dir in $PATH
2195do
2196  IFS=$as_save_IFS
2197  test -z "$as_dir" && as_dir=.
2198  for ac_exec_ext in '' $ac_executable_extensions; do
2199  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2200    ac_cv_prog_ac_ct_STRIP="strip"
2201    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2202    break 2
2203  fi
2204done
2205done
2206IFS=$as_save_IFS
2207
2208fi
2209fi
2210ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2211if test -n "$ac_ct_STRIP"; then
2212  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2213echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2214else
2215  { echo "$as_me:$LINENO: result: no" >&5
2216echo "${ECHO_T}no" >&6; }
2217fi
2218
2219  if test "x$ac_ct_STRIP" = x; then
2220    STRIP=":"
2221  else
2222    case $cross_compiling:$ac_tool_warned in
2223yes:)
2224{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2225whose name does not start with the host triplet.  If you think this
2226configuration is useful to you, please write to autoconf@gnu.org." >&5
2227echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2228whose name does not start with the host triplet.  If you think this
2229configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2230ac_tool_warned=yes ;;
2231esac
2232    STRIP=$ac_ct_STRIP
2233  fi
2234else
2235  STRIP="$ac_cv_prog_STRIP"
2236fi
2237
2238fi
2239INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2240
2241# We need awk for the "check" target.  The system "awk" is bad on
2242# some platforms.
2243# Always define AMTAR for backward compatibility.
2244
2245AMTAR=${AMTAR-"${am_missing_run}tar"}
2246
2247am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2248
2249
2250
2251
2252
2253ac_config_headers="$ac_config_headers config.h"
2254
2255
2256DEPDIR="${am__leading_dot}deps"
2257
2258ac_config_commands="$ac_config_commands depfiles"
2259
2260
2261am_make=${MAKE-make}
2262cat > confinc << 'END'
2263am__doit:
2264	@echo done
2265.PHONY: am__doit
2266END
2267# If we don't find an include directive, just comment out the code.
2268{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2269echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2270am__include="#"
2271am__quote=
2272_am_result=none
2273# First try GNU make style include.
2274echo "include confinc" > confmf
2275# We grep out `Entering directory' and `Leaving directory'
2276# messages which can occur if `w' ends up in MAKEFLAGS.
2277# In particular we don't look at `^make:' because GNU make might
2278# be invoked under some other name (usually "gmake"), in which
2279# case it prints its new name instead of `make'.
2280if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2281   am__include=include
2282   am__quote=
2283   _am_result=GNU
2284fi
2285# Now try BSD make style include.
2286if test "$am__include" = "#"; then
2287   echo '.include "confinc"' > confmf
2288   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2289      am__include=.include
2290      am__quote="\""
2291      _am_result=BSD
2292   fi
2293fi
2294
2295
2296{ echo "$as_me:$LINENO: result: $_am_result" >&5
2297echo "${ECHO_T}$_am_result" >&6; }
2298rm -f confinc confmf
2299
2300# Check whether --enable-dependency-tracking was given.
2301if test "${enable_dependency_tracking+set}" = set; then
2302  enableval=$enable_dependency_tracking;
2303fi
2304
2305if test "x$enable_dependency_tracking" != xno; then
2306  am_depcomp="$ac_aux_dir/depcomp"
2307  AMDEPBACKSLASH='\'
2308fi
2309 if test "x$enable_dependency_tracking" != xno; then
2310  AMDEP_TRUE=
2311  AMDEP_FALSE='#'
2312else
2313  AMDEP_TRUE='#'
2314  AMDEP_FALSE=
2315fi
2316
2317
2318ac_ext=c
2319ac_cpp='$CPP $CPPFLAGS'
2320ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2321ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2322ac_compiler_gnu=$ac_cv_c_compiler_gnu
2323if test -n "$ac_tool_prefix"; then
2324  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2325set dummy ${ac_tool_prefix}gcc; ac_word=$2
2326{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2327echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2328if test "${ac_cv_prog_CC+set}" = set; then
2329  echo $ECHO_N "(cached) $ECHO_C" >&6
2330else
2331  if test -n "$CC"; then
2332  ac_cv_prog_CC="$CC" # Let the user override the test.
2333else
2334as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2335for as_dir in $PATH
2336do
2337  IFS=$as_save_IFS
2338  test -z "$as_dir" && as_dir=.
2339  for ac_exec_ext in '' $ac_executable_extensions; do
2340  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2341    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2342    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2343    break 2
2344  fi
2345done
2346done
2347IFS=$as_save_IFS
2348
2349fi
2350fi
2351CC=$ac_cv_prog_CC
2352if test -n "$CC"; then
2353  { echo "$as_me:$LINENO: result: $CC" >&5
2354echo "${ECHO_T}$CC" >&6; }
2355else
2356  { echo "$as_me:$LINENO: result: no" >&5
2357echo "${ECHO_T}no" >&6; }
2358fi
2359
2360
2361fi
2362if test -z "$ac_cv_prog_CC"; then
2363  ac_ct_CC=$CC
2364  # Extract the first word of "gcc", so it can be a program name with args.
2365set dummy gcc; ac_word=$2
2366{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2367echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2368if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2369  echo $ECHO_N "(cached) $ECHO_C" >&6
2370else
2371  if test -n "$ac_ct_CC"; then
2372  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2373else
2374as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2375for as_dir in $PATH
2376do
2377  IFS=$as_save_IFS
2378  test -z "$as_dir" && as_dir=.
2379  for ac_exec_ext in '' $ac_executable_extensions; do
2380  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2381    ac_cv_prog_ac_ct_CC="gcc"
2382    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2383    break 2
2384  fi
2385done
2386done
2387IFS=$as_save_IFS
2388
2389fi
2390fi
2391ac_ct_CC=$ac_cv_prog_ac_ct_CC
2392if test -n "$ac_ct_CC"; then
2393  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2394echo "${ECHO_T}$ac_ct_CC" >&6; }
2395else
2396  { echo "$as_me:$LINENO: result: no" >&5
2397echo "${ECHO_T}no" >&6; }
2398fi
2399
2400  if test "x$ac_ct_CC" = x; then
2401    CC=""
2402  else
2403    case $cross_compiling:$ac_tool_warned in
2404yes:)
2405{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2406whose name does not start with the host triplet.  If you think this
2407configuration is useful to you, please write to autoconf@gnu.org." >&5
2408echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2409whose name does not start with the host triplet.  If you think this
2410configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2411ac_tool_warned=yes ;;
2412esac
2413    CC=$ac_ct_CC
2414  fi
2415else
2416  CC="$ac_cv_prog_CC"
2417fi
2418
2419if test -z "$CC"; then
2420          if test -n "$ac_tool_prefix"; then
2421    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2422set dummy ${ac_tool_prefix}cc; ac_word=$2
2423{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2424echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2425if test "${ac_cv_prog_CC+set}" = set; then
2426  echo $ECHO_N "(cached) $ECHO_C" >&6
2427else
2428  if test -n "$CC"; then
2429  ac_cv_prog_CC="$CC" # Let the user override the test.
2430else
2431as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2432for as_dir in $PATH
2433do
2434  IFS=$as_save_IFS
2435  test -z "$as_dir" && as_dir=.
2436  for ac_exec_ext in '' $ac_executable_extensions; do
2437  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2438    ac_cv_prog_CC="${ac_tool_prefix}cc"
2439    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2440    break 2
2441  fi
2442done
2443done
2444IFS=$as_save_IFS
2445
2446fi
2447fi
2448CC=$ac_cv_prog_CC
2449if test -n "$CC"; then
2450  { echo "$as_me:$LINENO: result: $CC" >&5
2451echo "${ECHO_T}$CC" >&6; }
2452else
2453  { echo "$as_me:$LINENO: result: no" >&5
2454echo "${ECHO_T}no" >&6; }
2455fi
2456
2457
2458  fi
2459fi
2460if test -z "$CC"; then
2461  # Extract the first word of "cc", so it can be a program name with args.
2462set dummy cc; ac_word=$2
2463{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2464echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2465if test "${ac_cv_prog_CC+set}" = set; then
2466  echo $ECHO_N "(cached) $ECHO_C" >&6
2467else
2468  if test -n "$CC"; then
2469  ac_cv_prog_CC="$CC" # Let the user override the test.
2470else
2471  ac_prog_rejected=no
2472as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2473for as_dir in $PATH
2474do
2475  IFS=$as_save_IFS
2476  test -z "$as_dir" && as_dir=.
2477  for ac_exec_ext in '' $ac_executable_extensions; do
2478  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2479    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2480       ac_prog_rejected=yes
2481       continue
2482     fi
2483    ac_cv_prog_CC="cc"
2484    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2485    break 2
2486  fi
2487done
2488done
2489IFS=$as_save_IFS
2490
2491if test $ac_prog_rejected = yes; then
2492  # We found a bogon in the path, so make sure we never use it.
2493  set dummy $ac_cv_prog_CC
2494  shift
2495  if test $# != 0; then
2496    # We chose a different compiler from the bogus one.
2497    # However, it has the same basename, so the bogon will be chosen
2498    # first if we set CC to just the basename; use the full file name.
2499    shift
2500    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2501  fi
2502fi
2503fi
2504fi
2505CC=$ac_cv_prog_CC
2506if test -n "$CC"; then
2507  { echo "$as_me:$LINENO: result: $CC" >&5
2508echo "${ECHO_T}$CC" >&6; }
2509else
2510  { echo "$as_me:$LINENO: result: no" >&5
2511echo "${ECHO_T}no" >&6; }
2512fi
2513
2514
2515fi
2516if test -z "$CC"; then
2517  if test -n "$ac_tool_prefix"; then
2518  for ac_prog in cl.exe
2519  do
2520    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2521set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2522{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2523echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2524if test "${ac_cv_prog_CC+set}" = set; then
2525  echo $ECHO_N "(cached) $ECHO_C" >&6
2526else
2527  if test -n "$CC"; then
2528  ac_cv_prog_CC="$CC" # Let the user override the test.
2529else
2530as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2531for as_dir in $PATH
2532do
2533  IFS=$as_save_IFS
2534  test -z "$as_dir" && as_dir=.
2535  for ac_exec_ext in '' $ac_executable_extensions; do
2536  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2537    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2538    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2539    break 2
2540  fi
2541done
2542done
2543IFS=$as_save_IFS
2544
2545fi
2546fi
2547CC=$ac_cv_prog_CC
2548if test -n "$CC"; then
2549  { echo "$as_me:$LINENO: result: $CC" >&5
2550echo "${ECHO_T}$CC" >&6; }
2551else
2552  { echo "$as_me:$LINENO: result: no" >&5
2553echo "${ECHO_T}no" >&6; }
2554fi
2555
2556
2557    test -n "$CC" && break
2558  done
2559fi
2560if test -z "$CC"; then
2561  ac_ct_CC=$CC
2562  for ac_prog in cl.exe
2563do
2564  # Extract the first word of "$ac_prog", so it can be a program name with args.
2565set dummy $ac_prog; ac_word=$2
2566{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2567echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2568if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2569  echo $ECHO_N "(cached) $ECHO_C" >&6
2570else
2571  if test -n "$ac_ct_CC"; then
2572  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2573else
2574as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2575for as_dir in $PATH
2576do
2577  IFS=$as_save_IFS
2578  test -z "$as_dir" && as_dir=.
2579  for ac_exec_ext in '' $ac_executable_extensions; do
2580  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2581    ac_cv_prog_ac_ct_CC="$ac_prog"
2582    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2583    break 2
2584  fi
2585done
2586done
2587IFS=$as_save_IFS
2588
2589fi
2590fi
2591ac_ct_CC=$ac_cv_prog_ac_ct_CC
2592if test -n "$ac_ct_CC"; then
2593  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2594echo "${ECHO_T}$ac_ct_CC" >&6; }
2595else
2596  { echo "$as_me:$LINENO: result: no" >&5
2597echo "${ECHO_T}no" >&6; }
2598fi
2599
2600
2601  test -n "$ac_ct_CC" && break
2602done
2603
2604  if test "x$ac_ct_CC" = x; then
2605    CC=""
2606  else
2607    case $cross_compiling:$ac_tool_warned in
2608yes:)
2609{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2610whose name does not start with the host triplet.  If you think this
2611configuration is useful to you, please write to autoconf@gnu.org." >&5
2612echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2613whose name does not start with the host triplet.  If you think this
2614configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2615ac_tool_warned=yes ;;
2616esac
2617    CC=$ac_ct_CC
2618  fi
2619fi
2620
2621fi
2622
2623
2624test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2625See \`config.log' for more details." >&5
2626echo "$as_me: error: no acceptable C compiler found in \$PATH
2627See \`config.log' for more details." >&2;}
2628   { (exit 1); exit 1; }; }
2629
2630# Provide some information about the compiler.
2631echo "$as_me:$LINENO: checking for C compiler version" >&5
2632ac_compiler=`set X $ac_compile; echo $2`
2633{ (ac_try="$ac_compiler --version >&5"
2634case "(($ac_try" in
2635  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2636  *) ac_try_echo=$ac_try;;
2637esac
2638eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2639  (eval "$ac_compiler --version >&5") 2>&5
2640  ac_status=$?
2641  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642  (exit $ac_status); }
2643{ (ac_try="$ac_compiler -v >&5"
2644case "(($ac_try" in
2645  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2646  *) ac_try_echo=$ac_try;;
2647esac
2648eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2649  (eval "$ac_compiler -v >&5") 2>&5
2650  ac_status=$?
2651  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2652  (exit $ac_status); }
2653{ (ac_try="$ac_compiler -V >&5"
2654case "(($ac_try" in
2655  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2656  *) ac_try_echo=$ac_try;;
2657esac
2658eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2659  (eval "$ac_compiler -V >&5") 2>&5
2660  ac_status=$?
2661  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662  (exit $ac_status); }
2663
2664cat >conftest.$ac_ext <<_ACEOF
2665/* confdefs.h.  */
2666_ACEOF
2667cat confdefs.h >>conftest.$ac_ext
2668cat >>conftest.$ac_ext <<_ACEOF
2669/* end confdefs.h.  */
2670
2671int
2672main ()
2673{
2674
2675  ;
2676  return 0;
2677}
2678_ACEOF
2679ac_clean_files_save=$ac_clean_files
2680ac_clean_files="$ac_clean_files a.out a.exe b.out"
2681# Try to create an executable without -o first, disregard a.out.
2682# It will help us diagnose broken compilers, and finding out an intuition
2683# of exeext.
2684{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2685echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2686ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2687#
2688# List of possible output files, starting from the most likely.
2689# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2690# only as a last resort.  b.out is created by i960 compilers.
2691ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2692#
2693# The IRIX 6 linker writes into existing files which may not be
2694# executable, retaining their permissions.  Remove them first so a
2695# subsequent execution test works.
2696ac_rmfiles=
2697for ac_file in $ac_files
2698do
2699  case $ac_file in
2700    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2701    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2702  esac
2703done
2704rm -f $ac_rmfiles
2705
2706if { (ac_try="$ac_link_default"
2707case "(($ac_try" in
2708  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2709  *) ac_try_echo=$ac_try;;
2710esac
2711eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2712  (eval "$ac_link_default") 2>&5
2713  ac_status=$?
2714  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2715  (exit $ac_status); }; then
2716  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2717# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2718# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2719# so that the user can short-circuit this test for compilers unknown to
2720# Autoconf.
2721for ac_file in $ac_files ''
2722do
2723  test -f "$ac_file" || continue
2724  case $ac_file in
2725    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2726	;;
2727    [ab].out )
2728	# We found the default executable, but exeext='' is most
2729	# certainly right.
2730	break;;
2731    *.* )
2732        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2733	then :; else
2734	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2735	fi
2736	# We set ac_cv_exeext here because the later test for it is not
2737	# safe: cross compilers may not add the suffix if given an `-o'
2738	# argument, so we may need to know it at that point already.
2739	# Even if this section looks crufty: it has the advantage of
2740	# actually working.
2741	break;;
2742    * )
2743	break;;
2744  esac
2745done
2746test "$ac_cv_exeext" = no && ac_cv_exeext=
2747
2748else
2749  ac_file=''
2750fi
2751
2752{ echo "$as_me:$LINENO: result: $ac_file" >&5
2753echo "${ECHO_T}$ac_file" >&6; }
2754if test -z "$ac_file"; then
2755  echo "$as_me: failed program was:" >&5
2756sed 's/^/| /' conftest.$ac_ext >&5
2757
2758{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2759See \`config.log' for more details." >&5
2760echo "$as_me: error: C compiler cannot create executables
2761See \`config.log' for more details." >&2;}
2762   { (exit 77); exit 77; }; }
2763fi
2764
2765ac_exeext=$ac_cv_exeext
2766
2767# Check that the compiler produces executables we can run.  If not, either
2768# the compiler is broken, or we cross compile.
2769{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2770echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2771# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2772# If not cross compiling, check that we can run a simple program.
2773if test "$cross_compiling" != yes; then
2774  if { ac_try='./$ac_file'
2775  { (case "(($ac_try" in
2776  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2777  *) ac_try_echo=$ac_try;;
2778esac
2779eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2780  (eval "$ac_try") 2>&5
2781  ac_status=$?
2782  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2783  (exit $ac_status); }; }; then
2784    cross_compiling=no
2785  else
2786    if test "$cross_compiling" = maybe; then
2787	cross_compiling=yes
2788    else
2789	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2790If you meant to cross compile, use \`--host'.
2791See \`config.log' for more details." >&5
2792echo "$as_me: error: cannot run C compiled programs.
2793If you meant to cross compile, use \`--host'.
2794See \`config.log' for more details." >&2;}
2795   { (exit 1); exit 1; }; }
2796    fi
2797  fi
2798fi
2799{ echo "$as_me:$LINENO: result: yes" >&5
2800echo "${ECHO_T}yes" >&6; }
2801
2802rm -f a.out a.exe conftest$ac_cv_exeext b.out
2803ac_clean_files=$ac_clean_files_save
2804# Check that the compiler produces executables we can run.  If not, either
2805# the compiler is broken, or we cross compile.
2806{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2807echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2808{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2809echo "${ECHO_T}$cross_compiling" >&6; }
2810
2811{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2812echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2813if { (ac_try="$ac_link"
2814case "(($ac_try" in
2815  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2816  *) ac_try_echo=$ac_try;;
2817esac
2818eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2819  (eval "$ac_link") 2>&5
2820  ac_status=$?
2821  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2822  (exit $ac_status); }; then
2823  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2824# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2825# work properly (i.e., refer to `conftest.exe'), while it won't with
2826# `rm'.
2827for ac_file in conftest.exe conftest conftest.*; do
2828  test -f "$ac_file" || continue
2829  case $ac_file in
2830    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2831    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2832	  break;;
2833    * ) break;;
2834  esac
2835done
2836else
2837  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2838See \`config.log' for more details." >&5
2839echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2840See \`config.log' for more details." >&2;}
2841   { (exit 1); exit 1; }; }
2842fi
2843
2844rm -f conftest$ac_cv_exeext
2845{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2846echo "${ECHO_T}$ac_cv_exeext" >&6; }
2847
2848rm -f conftest.$ac_ext
2849EXEEXT=$ac_cv_exeext
2850ac_exeext=$EXEEXT
2851{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2852echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2853if test "${ac_cv_objext+set}" = set; then
2854  echo $ECHO_N "(cached) $ECHO_C" >&6
2855else
2856  cat >conftest.$ac_ext <<_ACEOF
2857/* confdefs.h.  */
2858_ACEOF
2859cat confdefs.h >>conftest.$ac_ext
2860cat >>conftest.$ac_ext <<_ACEOF
2861/* end confdefs.h.  */
2862
2863int
2864main ()
2865{
2866
2867  ;
2868  return 0;
2869}
2870_ACEOF
2871rm -f conftest.o conftest.obj
2872if { (ac_try="$ac_compile"
2873case "(($ac_try" in
2874  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2875  *) ac_try_echo=$ac_try;;
2876esac
2877eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2878  (eval "$ac_compile") 2>&5
2879  ac_status=$?
2880  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2881  (exit $ac_status); }; then
2882  for ac_file in conftest.o conftest.obj conftest.*; do
2883  test -f "$ac_file" || continue;
2884  case $ac_file in
2885    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2886    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2887       break;;
2888  esac
2889done
2890else
2891  echo "$as_me: failed program was:" >&5
2892sed 's/^/| /' conftest.$ac_ext >&5
2893
2894{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2895See \`config.log' for more details." >&5
2896echo "$as_me: error: cannot compute suffix of object files: cannot compile
2897See \`config.log' for more details." >&2;}
2898   { (exit 1); exit 1; }; }
2899fi
2900
2901rm -f conftest.$ac_cv_objext conftest.$ac_ext
2902fi
2903{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2904echo "${ECHO_T}$ac_cv_objext" >&6; }
2905OBJEXT=$ac_cv_objext
2906ac_objext=$OBJEXT
2907{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2908echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2909if test "${ac_cv_c_compiler_gnu+set}" = set; then
2910  echo $ECHO_N "(cached) $ECHO_C" >&6
2911else
2912  cat >conftest.$ac_ext <<_ACEOF
2913/* confdefs.h.  */
2914_ACEOF
2915cat confdefs.h >>conftest.$ac_ext
2916cat >>conftest.$ac_ext <<_ACEOF
2917/* end confdefs.h.  */
2918
2919int
2920main ()
2921{
2922#ifndef __GNUC__
2923       choke me
2924#endif
2925
2926  ;
2927  return 0;
2928}
2929_ACEOF
2930rm -f conftest.$ac_objext
2931if { (ac_try="$ac_compile"
2932case "(($ac_try" in
2933  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2934  *) ac_try_echo=$ac_try;;
2935esac
2936eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2937  (eval "$ac_compile") 2>conftest.er1
2938  ac_status=$?
2939  grep -v '^ *+' conftest.er1 >conftest.err
2940  rm -f conftest.er1
2941  cat conftest.err >&5
2942  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2943  (exit $ac_status); } && {
2944	 test -z "$ac_c_werror_flag" ||
2945	 test ! -s conftest.err
2946       } && test -s conftest.$ac_objext; then
2947  ac_compiler_gnu=yes
2948else
2949  echo "$as_me: failed program was:" >&5
2950sed 's/^/| /' conftest.$ac_ext >&5
2951
2952	ac_compiler_gnu=no
2953fi
2954
2955rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2956ac_cv_c_compiler_gnu=$ac_compiler_gnu
2957
2958fi
2959{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2960echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2961GCC=`test $ac_compiler_gnu = yes && echo yes`
2962ac_test_CFLAGS=${CFLAGS+set}
2963ac_save_CFLAGS=$CFLAGS
2964{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2965echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2966if test "${ac_cv_prog_cc_g+set}" = set; then
2967  echo $ECHO_N "(cached) $ECHO_C" >&6
2968else
2969  ac_save_c_werror_flag=$ac_c_werror_flag
2970   ac_c_werror_flag=yes
2971   ac_cv_prog_cc_g=no
2972   CFLAGS="-g"
2973   cat >conftest.$ac_ext <<_ACEOF
2974/* confdefs.h.  */
2975_ACEOF
2976cat confdefs.h >>conftest.$ac_ext
2977cat >>conftest.$ac_ext <<_ACEOF
2978/* end confdefs.h.  */
2979
2980int
2981main ()
2982{
2983
2984  ;
2985  return 0;
2986}
2987_ACEOF
2988rm -f conftest.$ac_objext
2989if { (ac_try="$ac_compile"
2990case "(($ac_try" in
2991  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2992  *) ac_try_echo=$ac_try;;
2993esac
2994eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2995  (eval "$ac_compile") 2>conftest.er1
2996  ac_status=$?
2997  grep -v '^ *+' conftest.er1 >conftest.err
2998  rm -f conftest.er1
2999  cat conftest.err >&5
3000  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3001  (exit $ac_status); } && {
3002	 test -z "$ac_c_werror_flag" ||
3003	 test ! -s conftest.err
3004       } && test -s conftest.$ac_objext; then
3005  ac_cv_prog_cc_g=yes
3006else
3007  echo "$as_me: failed program was:" >&5
3008sed 's/^/| /' conftest.$ac_ext >&5
3009
3010	CFLAGS=""
3011      cat >conftest.$ac_ext <<_ACEOF
3012/* confdefs.h.  */
3013_ACEOF
3014cat confdefs.h >>conftest.$ac_ext
3015cat >>conftest.$ac_ext <<_ACEOF
3016/* end confdefs.h.  */
3017
3018int
3019main ()
3020{
3021
3022  ;
3023  return 0;
3024}
3025_ACEOF
3026rm -f conftest.$ac_objext
3027if { (ac_try="$ac_compile"
3028case "(($ac_try" in
3029  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3030  *) ac_try_echo=$ac_try;;
3031esac
3032eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3033  (eval "$ac_compile") 2>conftest.er1
3034  ac_status=$?
3035  grep -v '^ *+' conftest.er1 >conftest.err
3036  rm -f conftest.er1
3037  cat conftest.err >&5
3038  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3039  (exit $ac_status); } && {
3040	 test -z "$ac_c_werror_flag" ||
3041	 test ! -s conftest.err
3042       } && test -s conftest.$ac_objext; then
3043  :
3044else
3045  echo "$as_me: failed program was:" >&5
3046sed 's/^/| /' conftest.$ac_ext >&5
3047
3048	ac_c_werror_flag=$ac_save_c_werror_flag
3049	 CFLAGS="-g"
3050	 cat >conftest.$ac_ext <<_ACEOF
3051/* confdefs.h.  */
3052_ACEOF
3053cat confdefs.h >>conftest.$ac_ext
3054cat >>conftest.$ac_ext <<_ACEOF
3055/* end confdefs.h.  */
3056
3057int
3058main ()
3059{
3060
3061  ;
3062  return 0;
3063}
3064_ACEOF
3065rm -f conftest.$ac_objext
3066if { (ac_try="$ac_compile"
3067case "(($ac_try" in
3068  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3069  *) ac_try_echo=$ac_try;;
3070esac
3071eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3072  (eval "$ac_compile") 2>conftest.er1
3073  ac_status=$?
3074  grep -v '^ *+' conftest.er1 >conftest.err
3075  rm -f conftest.er1
3076  cat conftest.err >&5
3077  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3078  (exit $ac_status); } && {
3079	 test -z "$ac_c_werror_flag" ||
3080	 test ! -s conftest.err
3081       } && test -s conftest.$ac_objext; then
3082  ac_cv_prog_cc_g=yes
3083else
3084  echo "$as_me: failed program was:" >&5
3085sed 's/^/| /' conftest.$ac_ext >&5
3086
3087
3088fi
3089
3090rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3091fi
3092
3093rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3094fi
3095
3096rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3097   ac_c_werror_flag=$ac_save_c_werror_flag
3098fi
3099{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3100echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3101if test "$ac_test_CFLAGS" = set; then
3102  CFLAGS=$ac_save_CFLAGS
3103elif test $ac_cv_prog_cc_g = yes; then
3104  if test "$GCC" = yes; then
3105    CFLAGS="-g -O2"
3106  else
3107    CFLAGS="-g"
3108  fi
3109else
3110  if test "$GCC" = yes; then
3111    CFLAGS="-O2"
3112  else
3113    CFLAGS=
3114  fi
3115fi
3116{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3117echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3118if test "${ac_cv_prog_cc_c89+set}" = set; then
3119  echo $ECHO_N "(cached) $ECHO_C" >&6
3120else
3121  ac_cv_prog_cc_c89=no
3122ac_save_CC=$CC
3123cat >conftest.$ac_ext <<_ACEOF
3124/* confdefs.h.  */
3125_ACEOF
3126cat confdefs.h >>conftest.$ac_ext
3127cat >>conftest.$ac_ext <<_ACEOF
3128/* end confdefs.h.  */
3129#include <stdarg.h>
3130#include <stdio.h>
3131#include <sys/types.h>
3132#include <sys/stat.h>
3133/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3134struct buf { int x; };
3135FILE * (*rcsopen) (struct buf *, struct stat *, int);
3136static char *e (p, i)
3137     char **p;
3138     int i;
3139{
3140  return p[i];
3141}
3142static char *f (char * (*g) (char **, int), char **p, ...)
3143{
3144  char *s;
3145  va_list v;
3146  va_start (v,p);
3147  s = g (p, va_arg (v,int));
3148  va_end (v);
3149  return s;
3150}
3151
3152/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3153   function prototypes and stuff, but not '\xHH' hex character constants.
3154   These don't provoke an error unfortunately, instead are silently treated
3155   as 'x'.  The following induces an error, until -std is added to get
3156   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3157   array size at least.  It's necessary to write '\x00'==0 to get something
3158   that's true only with -std.  */
3159int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3160
3161/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3162   inside strings and character constants.  */
3163#define FOO(x) 'x'
3164int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3165
3166int test (int i, double x);
3167struct s1 {int (*f) (int a);};
3168struct s2 {int (*f) (double a);};
3169int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3170int argc;
3171char **argv;
3172int
3173main ()
3174{
3175return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3176  ;
3177  return 0;
3178}
3179_ACEOF
3180for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3181	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3182do
3183  CC="$ac_save_CC $ac_arg"
3184  rm -f conftest.$ac_objext
3185if { (ac_try="$ac_compile"
3186case "(($ac_try" in
3187  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3188  *) ac_try_echo=$ac_try;;
3189esac
3190eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3191  (eval "$ac_compile") 2>conftest.er1
3192  ac_status=$?
3193  grep -v '^ *+' conftest.er1 >conftest.err
3194  rm -f conftest.er1
3195  cat conftest.err >&5
3196  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3197  (exit $ac_status); } && {
3198	 test -z "$ac_c_werror_flag" ||
3199	 test ! -s conftest.err
3200       } && test -s conftest.$ac_objext; then
3201  ac_cv_prog_cc_c89=$ac_arg
3202else
3203  echo "$as_me: failed program was:" >&5
3204sed 's/^/| /' conftest.$ac_ext >&5
3205
3206
3207fi
3208
3209rm -f core conftest.err conftest.$ac_objext
3210  test "x$ac_cv_prog_cc_c89" != "xno" && break
3211done
3212rm -f conftest.$ac_ext
3213CC=$ac_save_CC
3214
3215fi
3216# AC_CACHE_VAL
3217case "x$ac_cv_prog_cc_c89" in
3218  x)
3219    { echo "$as_me:$LINENO: result: none needed" >&5
3220echo "${ECHO_T}none needed" >&6; } ;;
3221  xno)
3222    { echo "$as_me:$LINENO: result: unsupported" >&5
3223echo "${ECHO_T}unsupported" >&6; } ;;
3224  *)
3225    CC="$CC $ac_cv_prog_cc_c89"
3226    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3227echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3228esac
3229
3230
3231ac_ext=c
3232ac_cpp='$CPP $CPPFLAGS'
3233ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3234ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3235ac_compiler_gnu=$ac_cv_c_compiler_gnu
3236
3237depcc="$CC"   am_compiler_list=
3238
3239{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3240echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3241if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3242  echo $ECHO_N "(cached) $ECHO_C" >&6
3243else
3244  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3245  # We make a subdir and do the tests there.  Otherwise we can end up
3246  # making bogus files that we don't know about and never remove.  For
3247  # instance it was reported that on HP-UX the gcc test will end up
3248  # making a dummy file named `D' -- because `-MD' means `put the output
3249  # in D'.
3250  mkdir conftest.dir
3251  # Copy depcomp to subdir because otherwise we won't find it if we're
3252  # using a relative directory.
3253  cp "$am_depcomp" conftest.dir
3254  cd conftest.dir
3255  # We will build objects and dependencies in a subdirectory because
3256  # it helps to detect inapplicable dependency modes.  For instance
3257  # both Tru64's cc and ICC support -MD to output dependencies as a
3258  # side effect of compilation, but ICC will put the dependencies in
3259  # the current directory while Tru64 will put them in the object
3260  # directory.
3261  mkdir sub
3262
3263  am_cv_CC_dependencies_compiler_type=none
3264  if test "$am_compiler_list" = ""; then
3265     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3266  fi
3267  for depmode in $am_compiler_list; do
3268    # Setup a source with many dependencies, because some compilers
3269    # like to wrap large dependency lists on column 80 (with \), and
3270    # we should not choose a depcomp mode which is confused by this.
3271    #
3272    # We need to recreate these files for each test, as the compiler may
3273    # overwrite some of them when testing with obscure command lines.
3274    # This happens at least with the AIX C compiler.
3275    : > sub/conftest.c
3276    for i in 1 2 3 4 5 6; do
3277      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3278      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3279      # Solaris 8's {/usr,}/bin/sh.
3280      touch sub/conftst$i.h
3281    done
3282    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3283
3284    case $depmode in
3285    nosideeffect)
3286      # after this tag, mechanisms are not by side-effect, so they'll
3287      # only be used when explicitly requested
3288      if test "x$enable_dependency_tracking" = xyes; then
3289	continue
3290      else
3291	break
3292      fi
3293      ;;
3294    none) break ;;
3295    esac
3296    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3297    # mode.  It turns out that the SunPro C++ compiler does not properly
3298    # handle `-M -o', and we need to detect this.
3299    if depmode=$depmode \
3300       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3301       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3302       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3303         >/dev/null 2>conftest.err &&
3304       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3305       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3306       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3307       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3308      # icc doesn't choke on unknown options, it will just issue warnings
3309      # or remarks (even with -Werror).  So we grep stderr for any message
3310      # that says an option was ignored or not supported.
3311      # When given -MP, icc 7.0 and 7.1 complain thusly:
3312      #   icc: Command line warning: ignoring option '-M'; no argument required
3313      # The diagnosis changed in icc 8.0:
3314      #   icc: Command line remark: option '-MP' not supported
3315      if (grep 'ignoring option' conftest.err ||
3316          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3317        am_cv_CC_dependencies_compiler_type=$depmode
3318        break
3319      fi
3320    fi
3321  done
3322
3323  cd ..
3324  rm -rf conftest.dir
3325else
3326  am_cv_CC_dependencies_compiler_type=none
3327fi
3328
3329fi
3330{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3331echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3332CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3333
3334 if
3335  test "x$enable_dependency_tracking" != xno \
3336  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3337  am__fastdepCC_TRUE=
3338  am__fastdepCC_FALSE='#'
3339else
3340  am__fastdepCC_TRUE='#'
3341  am__fastdepCC_FALSE=
3342fi
3343
3344
3345
3346{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
3347echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
3348if test "${ac_cv_search_strerror+set}" = set; then
3349  echo $ECHO_N "(cached) $ECHO_C" >&6
3350else
3351  ac_func_search_save_LIBS=$LIBS
3352cat >conftest.$ac_ext <<_ACEOF
3353/* confdefs.h.  */
3354_ACEOF
3355cat confdefs.h >>conftest.$ac_ext
3356cat >>conftest.$ac_ext <<_ACEOF
3357/* end confdefs.h.  */
3358
3359/* Override any GCC internal prototype to avoid an error.
3360   Use char because int might match the return type of a GCC
3361   builtin and then its argument prototype would still apply.  */
3362#ifdef __cplusplus
3363extern "C"
3364#endif
3365char strerror ();
3366int
3367main ()
3368{
3369return strerror ();
3370  ;
3371  return 0;
3372}
3373_ACEOF
3374for ac_lib in '' cposix; do
3375  if test -z "$ac_lib"; then
3376    ac_res="none required"
3377  else
3378    ac_res=-l$ac_lib
3379    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
3380  fi
3381  rm -f conftest.$ac_objext conftest$ac_exeext
3382if { (ac_try="$ac_link"
3383case "(($ac_try" in
3384  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3385  *) ac_try_echo=$ac_try;;
3386esac
3387eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3388  (eval "$ac_link") 2>conftest.er1
3389  ac_status=$?
3390  grep -v '^ *+' conftest.er1 >conftest.err
3391  rm -f conftest.er1
3392  cat conftest.err >&5
3393  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3394  (exit $ac_status); } && {
3395	 test -z "$ac_c_werror_flag" ||
3396	 test ! -s conftest.err
3397       } && test -s conftest$ac_exeext &&
3398       $as_test_x conftest$ac_exeext; then
3399  ac_cv_search_strerror=$ac_res
3400else
3401  echo "$as_me: failed program was:" >&5
3402sed 's/^/| /' conftest.$ac_ext >&5
3403
3404
3405fi
3406
3407rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3408      conftest$ac_exeext
3409  if test "${ac_cv_search_strerror+set}" = set; then
3410  break
3411fi
3412done
3413if test "${ac_cv_search_strerror+set}" = set; then
3414  :
3415else
3416  ac_cv_search_strerror=no
3417fi
3418rm conftest.$ac_ext
3419LIBS=$ac_func_search_save_LIBS
3420fi
3421{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3422echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
3423ac_res=$ac_cv_search_strerror
3424if test "$ac_res" != no; then
3425  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3426
3427fi
3428
3429ac_ext=c
3430ac_cpp='$CPP $CPPFLAGS'
3431ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3432ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3433ac_compiler_gnu=$ac_cv_c_compiler_gnu
3434if test -n "$ac_tool_prefix"; then
3435  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3436set dummy ${ac_tool_prefix}gcc; ac_word=$2
3437{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3438echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3439if test "${ac_cv_prog_CC+set}" = set; then
3440  echo $ECHO_N "(cached) $ECHO_C" >&6
3441else
3442  if test -n "$CC"; then
3443  ac_cv_prog_CC="$CC" # Let the user override the test.
3444else
3445as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3446for as_dir in $PATH
3447do
3448  IFS=$as_save_IFS
3449  test -z "$as_dir" && as_dir=.
3450  for ac_exec_ext in '' $ac_executable_extensions; do
3451  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3452    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3453    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3454    break 2
3455  fi
3456done
3457done
3458IFS=$as_save_IFS
3459
3460fi
3461fi
3462CC=$ac_cv_prog_CC
3463if test -n "$CC"; then
3464  { echo "$as_me:$LINENO: result: $CC" >&5
3465echo "${ECHO_T}$CC" >&6; }
3466else
3467  { echo "$as_me:$LINENO: result: no" >&5
3468echo "${ECHO_T}no" >&6; }
3469fi
3470
3471
3472fi
3473if test -z "$ac_cv_prog_CC"; then
3474  ac_ct_CC=$CC
3475  # Extract the first word of "gcc", so it can be a program name with args.
3476set dummy gcc; ac_word=$2
3477{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3478echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3479if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3480  echo $ECHO_N "(cached) $ECHO_C" >&6
3481else
3482  if test -n "$ac_ct_CC"; then
3483  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3484else
3485as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3486for as_dir in $PATH
3487do
3488  IFS=$as_save_IFS
3489  test -z "$as_dir" && as_dir=.
3490  for ac_exec_ext in '' $ac_executable_extensions; do
3491  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3492    ac_cv_prog_ac_ct_CC="gcc"
3493    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3494    break 2
3495  fi
3496done
3497done
3498IFS=$as_save_IFS
3499
3500fi
3501fi
3502ac_ct_CC=$ac_cv_prog_ac_ct_CC
3503if test -n "$ac_ct_CC"; then
3504  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3505echo "${ECHO_T}$ac_ct_CC" >&6; }
3506else
3507  { echo "$as_me:$LINENO: result: no" >&5
3508echo "${ECHO_T}no" >&6; }
3509fi
3510
3511  if test "x$ac_ct_CC" = x; then
3512    CC=""
3513  else
3514    case $cross_compiling:$ac_tool_warned in
3515yes:)
3516{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3517whose name does not start with the host triplet.  If you think this
3518configuration is useful to you, please write to autoconf@gnu.org." >&5
3519echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3520whose name does not start with the host triplet.  If you think this
3521configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3522ac_tool_warned=yes ;;
3523esac
3524    CC=$ac_ct_CC
3525  fi
3526else
3527  CC="$ac_cv_prog_CC"
3528fi
3529
3530if test -z "$CC"; then
3531          if test -n "$ac_tool_prefix"; then
3532    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3533set dummy ${ac_tool_prefix}cc; ac_word=$2
3534{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3535echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3536if test "${ac_cv_prog_CC+set}" = set; then
3537  echo $ECHO_N "(cached) $ECHO_C" >&6
3538else
3539  if test -n "$CC"; then
3540  ac_cv_prog_CC="$CC" # Let the user override the test.
3541else
3542as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3543for as_dir in $PATH
3544do
3545  IFS=$as_save_IFS
3546  test -z "$as_dir" && as_dir=.
3547  for ac_exec_ext in '' $ac_executable_extensions; do
3548  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3549    ac_cv_prog_CC="${ac_tool_prefix}cc"
3550    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3551    break 2
3552  fi
3553done
3554done
3555IFS=$as_save_IFS
3556
3557fi
3558fi
3559CC=$ac_cv_prog_CC
3560if test -n "$CC"; then
3561  { echo "$as_me:$LINENO: result: $CC" >&5
3562echo "${ECHO_T}$CC" >&6; }
3563else
3564  { echo "$as_me:$LINENO: result: no" >&5
3565echo "${ECHO_T}no" >&6; }
3566fi
3567
3568
3569  fi
3570fi
3571if test -z "$CC"; then
3572  # Extract the first word of "cc", so it can be a program name with args.
3573set dummy cc; ac_word=$2
3574{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3575echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3576if test "${ac_cv_prog_CC+set}" = set; then
3577  echo $ECHO_N "(cached) $ECHO_C" >&6
3578else
3579  if test -n "$CC"; then
3580  ac_cv_prog_CC="$CC" # Let the user override the test.
3581else
3582  ac_prog_rejected=no
3583as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3584for as_dir in $PATH
3585do
3586  IFS=$as_save_IFS
3587  test -z "$as_dir" && as_dir=.
3588  for ac_exec_ext in '' $ac_executable_extensions; do
3589  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3590    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3591       ac_prog_rejected=yes
3592       continue
3593     fi
3594    ac_cv_prog_CC="cc"
3595    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3596    break 2
3597  fi
3598done
3599done
3600IFS=$as_save_IFS
3601
3602if test $ac_prog_rejected = yes; then
3603  # We found a bogon in the path, so make sure we never use it.
3604  set dummy $ac_cv_prog_CC
3605  shift
3606  if test $# != 0; then
3607    # We chose a different compiler from the bogus one.
3608    # However, it has the same basename, so the bogon will be chosen
3609    # first if we set CC to just the basename; use the full file name.
3610    shift
3611    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3612  fi
3613fi
3614fi
3615fi
3616CC=$ac_cv_prog_CC
3617if test -n "$CC"; then
3618  { echo "$as_me:$LINENO: result: $CC" >&5
3619echo "${ECHO_T}$CC" >&6; }
3620else
3621  { echo "$as_me:$LINENO: result: no" >&5
3622echo "${ECHO_T}no" >&6; }
3623fi
3624
3625
3626fi
3627if test -z "$CC"; then
3628  if test -n "$ac_tool_prefix"; then
3629  for ac_prog in cl.exe
3630  do
3631    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3632set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3633{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3634echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3635if test "${ac_cv_prog_CC+set}" = set; then
3636  echo $ECHO_N "(cached) $ECHO_C" >&6
3637else
3638  if test -n "$CC"; then
3639  ac_cv_prog_CC="$CC" # Let the user override the test.
3640else
3641as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3642for as_dir in $PATH
3643do
3644  IFS=$as_save_IFS
3645  test -z "$as_dir" && as_dir=.
3646  for ac_exec_ext in '' $ac_executable_extensions; do
3647  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3648    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3649    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3650    break 2
3651  fi
3652done
3653done
3654IFS=$as_save_IFS
3655
3656fi
3657fi
3658CC=$ac_cv_prog_CC
3659if test -n "$CC"; then
3660  { echo "$as_me:$LINENO: result: $CC" >&5
3661echo "${ECHO_T}$CC" >&6; }
3662else
3663  { echo "$as_me:$LINENO: result: no" >&5
3664echo "${ECHO_T}no" >&6; }
3665fi
3666
3667
3668    test -n "$CC" && break
3669  done
3670fi
3671if test -z "$CC"; then
3672  ac_ct_CC=$CC
3673  for ac_prog in cl.exe
3674do
3675  # Extract the first word of "$ac_prog", so it can be a program name with args.
3676set dummy $ac_prog; ac_word=$2
3677{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3678echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3679if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3680  echo $ECHO_N "(cached) $ECHO_C" >&6
3681else
3682  if test -n "$ac_ct_CC"; then
3683  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3684else
3685as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3686for as_dir in $PATH
3687do
3688  IFS=$as_save_IFS
3689  test -z "$as_dir" && as_dir=.
3690  for ac_exec_ext in '' $ac_executable_extensions; do
3691  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3692    ac_cv_prog_ac_ct_CC="$ac_prog"
3693    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3694    break 2
3695  fi
3696done
3697done
3698IFS=$as_save_IFS
3699
3700fi
3701fi
3702ac_ct_CC=$ac_cv_prog_ac_ct_CC
3703if test -n "$ac_ct_CC"; then
3704  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3705echo "${ECHO_T}$ac_ct_CC" >&6; }
3706else
3707  { echo "$as_me:$LINENO: result: no" >&5
3708echo "${ECHO_T}no" >&6; }
3709fi
3710
3711
3712  test -n "$ac_ct_CC" && break
3713done
3714
3715  if test "x$ac_ct_CC" = x; then
3716    CC=""
3717  else
3718    case $cross_compiling:$ac_tool_warned in
3719yes:)
3720{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3721whose name does not start with the host triplet.  If you think this
3722configuration is useful to you, please write to autoconf@gnu.org." >&5
3723echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3724whose name does not start with the host triplet.  If you think this
3725configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3726ac_tool_warned=yes ;;
3727esac
3728    CC=$ac_ct_CC
3729  fi
3730fi
3731
3732fi
3733
3734
3735test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3736See \`config.log' for more details." >&5
3737echo "$as_me: error: no acceptable C compiler found in \$PATH
3738See \`config.log' for more details." >&2;}
3739   { (exit 1); exit 1; }; }
3740
3741# Provide some information about the compiler.
3742echo "$as_me:$LINENO: checking for C compiler version" >&5
3743ac_compiler=`set X $ac_compile; echo $2`
3744{ (ac_try="$ac_compiler --version >&5"
3745case "(($ac_try" in
3746  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3747  *) ac_try_echo=$ac_try;;
3748esac
3749eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3750  (eval "$ac_compiler --version >&5") 2>&5
3751  ac_status=$?
3752  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3753  (exit $ac_status); }
3754{ (ac_try="$ac_compiler -v >&5"
3755case "(($ac_try" in
3756  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3757  *) ac_try_echo=$ac_try;;
3758esac
3759eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3760  (eval "$ac_compiler -v >&5") 2>&5
3761  ac_status=$?
3762  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3763  (exit $ac_status); }
3764{ (ac_try="$ac_compiler -V >&5"
3765case "(($ac_try" in
3766  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3767  *) ac_try_echo=$ac_try;;
3768esac
3769eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3770  (eval "$ac_compiler -V >&5") 2>&5
3771  ac_status=$?
3772  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3773  (exit $ac_status); }
3774
3775{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3776echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3777if test "${ac_cv_c_compiler_gnu+set}" = set; then
3778  echo $ECHO_N "(cached) $ECHO_C" >&6
3779else
3780  cat >conftest.$ac_ext <<_ACEOF
3781/* confdefs.h.  */
3782_ACEOF
3783cat confdefs.h >>conftest.$ac_ext
3784cat >>conftest.$ac_ext <<_ACEOF
3785/* end confdefs.h.  */
3786
3787int
3788main ()
3789{
3790#ifndef __GNUC__
3791       choke me
3792#endif
3793
3794  ;
3795  return 0;
3796}
3797_ACEOF
3798rm -f conftest.$ac_objext
3799if { (ac_try="$ac_compile"
3800case "(($ac_try" in
3801  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3802  *) ac_try_echo=$ac_try;;
3803esac
3804eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3805  (eval "$ac_compile") 2>conftest.er1
3806  ac_status=$?
3807  grep -v '^ *+' conftest.er1 >conftest.err
3808  rm -f conftest.er1
3809  cat conftest.err >&5
3810  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3811  (exit $ac_status); } && {
3812	 test -z "$ac_c_werror_flag" ||
3813	 test ! -s conftest.err
3814       } && test -s conftest.$ac_objext; then
3815  ac_compiler_gnu=yes
3816else
3817  echo "$as_me: failed program was:" >&5
3818sed 's/^/| /' conftest.$ac_ext >&5
3819
3820	ac_compiler_gnu=no
3821fi
3822
3823rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3824ac_cv_c_compiler_gnu=$ac_compiler_gnu
3825
3826fi
3827{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3828echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3829GCC=`test $ac_compiler_gnu = yes && echo yes`
3830ac_test_CFLAGS=${CFLAGS+set}
3831ac_save_CFLAGS=$CFLAGS
3832{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3833echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3834if test "${ac_cv_prog_cc_g+set}" = set; then
3835  echo $ECHO_N "(cached) $ECHO_C" >&6
3836else
3837  ac_save_c_werror_flag=$ac_c_werror_flag
3838   ac_c_werror_flag=yes
3839   ac_cv_prog_cc_g=no
3840   CFLAGS="-g"
3841   cat >conftest.$ac_ext <<_ACEOF
3842/* confdefs.h.  */
3843_ACEOF
3844cat confdefs.h >>conftest.$ac_ext
3845cat >>conftest.$ac_ext <<_ACEOF
3846/* end confdefs.h.  */
3847
3848int
3849main ()
3850{
3851
3852  ;
3853  return 0;
3854}
3855_ACEOF
3856rm -f conftest.$ac_objext
3857if { (ac_try="$ac_compile"
3858case "(($ac_try" in
3859  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3860  *) ac_try_echo=$ac_try;;
3861esac
3862eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3863  (eval "$ac_compile") 2>conftest.er1
3864  ac_status=$?
3865  grep -v '^ *+' conftest.er1 >conftest.err
3866  rm -f conftest.er1
3867  cat conftest.err >&5
3868  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3869  (exit $ac_status); } && {
3870	 test -z "$ac_c_werror_flag" ||
3871	 test ! -s conftest.err
3872       } && test -s conftest.$ac_objext; then
3873  ac_cv_prog_cc_g=yes
3874else
3875  echo "$as_me: failed program was:" >&5
3876sed 's/^/| /' conftest.$ac_ext >&5
3877
3878	CFLAGS=""
3879      cat >conftest.$ac_ext <<_ACEOF
3880/* confdefs.h.  */
3881_ACEOF
3882cat confdefs.h >>conftest.$ac_ext
3883cat >>conftest.$ac_ext <<_ACEOF
3884/* end confdefs.h.  */
3885
3886int
3887main ()
3888{
3889
3890  ;
3891  return 0;
3892}
3893_ACEOF
3894rm -f conftest.$ac_objext
3895if { (ac_try="$ac_compile"
3896case "(($ac_try" in
3897  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3898  *) ac_try_echo=$ac_try;;
3899esac
3900eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3901  (eval "$ac_compile") 2>conftest.er1
3902  ac_status=$?
3903  grep -v '^ *+' conftest.er1 >conftest.err
3904  rm -f conftest.er1
3905  cat conftest.err >&5
3906  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3907  (exit $ac_status); } && {
3908	 test -z "$ac_c_werror_flag" ||
3909	 test ! -s conftest.err
3910       } && test -s conftest.$ac_objext; then
3911  :
3912else
3913  echo "$as_me: failed program was:" >&5
3914sed 's/^/| /' conftest.$ac_ext >&5
3915
3916	ac_c_werror_flag=$ac_save_c_werror_flag
3917	 CFLAGS="-g"
3918	 cat >conftest.$ac_ext <<_ACEOF
3919/* confdefs.h.  */
3920_ACEOF
3921cat confdefs.h >>conftest.$ac_ext
3922cat >>conftest.$ac_ext <<_ACEOF
3923/* end confdefs.h.  */
3924
3925int
3926main ()
3927{
3928
3929  ;
3930  return 0;
3931}
3932_ACEOF
3933rm -f conftest.$ac_objext
3934if { (ac_try="$ac_compile"
3935case "(($ac_try" in
3936  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3937  *) ac_try_echo=$ac_try;;
3938esac
3939eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3940  (eval "$ac_compile") 2>conftest.er1
3941  ac_status=$?
3942  grep -v '^ *+' conftest.er1 >conftest.err
3943  rm -f conftest.er1
3944  cat conftest.err >&5
3945  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3946  (exit $ac_status); } && {
3947	 test -z "$ac_c_werror_flag" ||
3948	 test ! -s conftest.err
3949       } && test -s conftest.$ac_objext; then
3950  ac_cv_prog_cc_g=yes
3951else
3952  echo "$as_me: failed program was:" >&5
3953sed 's/^/| /' conftest.$ac_ext >&5
3954
3955
3956fi
3957
3958rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3959fi
3960
3961rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3962fi
3963
3964rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3965   ac_c_werror_flag=$ac_save_c_werror_flag
3966fi
3967{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3968echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3969if test "$ac_test_CFLAGS" = set; then
3970  CFLAGS=$ac_save_CFLAGS
3971elif test $ac_cv_prog_cc_g = yes; then
3972  if test "$GCC" = yes; then
3973    CFLAGS="-g -O2"
3974  else
3975    CFLAGS="-g"
3976  fi
3977else
3978  if test "$GCC" = yes; then
3979    CFLAGS="-O2"
3980  else
3981    CFLAGS=
3982  fi
3983fi
3984{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3985echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3986if test "${ac_cv_prog_cc_c89+set}" = set; then
3987  echo $ECHO_N "(cached) $ECHO_C" >&6
3988else
3989  ac_cv_prog_cc_c89=no
3990ac_save_CC=$CC
3991cat >conftest.$ac_ext <<_ACEOF
3992/* confdefs.h.  */
3993_ACEOF
3994cat confdefs.h >>conftest.$ac_ext
3995cat >>conftest.$ac_ext <<_ACEOF
3996/* end confdefs.h.  */
3997#include <stdarg.h>
3998#include <stdio.h>
3999#include <sys/types.h>
4000#include <sys/stat.h>
4001/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4002struct buf { int x; };
4003FILE * (*rcsopen) (struct buf *, struct stat *, int);
4004static char *e (p, i)
4005     char **p;
4006     int i;
4007{
4008  return p[i];
4009}
4010static char *f (char * (*g) (char **, int), char **p, ...)
4011{
4012  char *s;
4013  va_list v;
4014  va_start (v,p);
4015  s = g (p, va_arg (v,int));
4016  va_end (v);
4017  return s;
4018}
4019
4020/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4021   function prototypes and stuff, but not '\xHH' hex character constants.
4022   These don't provoke an error unfortunately, instead are silently treated
4023   as 'x'.  The following induces an error, until -std is added to get
4024   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4025   array size at least.  It's necessary to write '\x00'==0 to get something
4026   that's true only with -std.  */
4027int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4028
4029/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4030   inside strings and character constants.  */
4031#define FOO(x) 'x'
4032int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4033
4034int test (int i, double x);
4035struct s1 {int (*f) (int a);};
4036struct s2 {int (*f) (double a);};
4037int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4038int argc;
4039char **argv;
4040int
4041main ()
4042{
4043return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4044  ;
4045  return 0;
4046}
4047_ACEOF
4048for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4049	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4050do
4051  CC="$ac_save_CC $ac_arg"
4052  rm -f conftest.$ac_objext
4053if { (ac_try="$ac_compile"
4054case "(($ac_try" in
4055  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4056  *) ac_try_echo=$ac_try;;
4057esac
4058eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4059  (eval "$ac_compile") 2>conftest.er1
4060  ac_status=$?
4061  grep -v '^ *+' conftest.er1 >conftest.err
4062  rm -f conftest.er1
4063  cat conftest.err >&5
4064  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4065  (exit $ac_status); } && {
4066	 test -z "$ac_c_werror_flag" ||
4067	 test ! -s conftest.err
4068       } && test -s conftest.$ac_objext; then
4069  ac_cv_prog_cc_c89=$ac_arg
4070else
4071  echo "$as_me: failed program was:" >&5
4072sed 's/^/| /' conftest.$ac_ext >&5
4073
4074
4075fi
4076
4077rm -f core conftest.err conftest.$ac_objext
4078  test "x$ac_cv_prog_cc_c89" != "xno" && break
4079done
4080rm -f conftest.$ac_ext
4081CC=$ac_save_CC
4082
4083fi
4084# AC_CACHE_VAL
4085case "x$ac_cv_prog_cc_c89" in
4086  x)
4087    { echo "$as_me:$LINENO: result: none needed" >&5
4088echo "${ECHO_T}none needed" >&6; } ;;
4089  xno)
4090    { echo "$as_me:$LINENO: result: unsupported" >&5
4091echo "${ECHO_T}unsupported" >&6; } ;;
4092  *)
4093    CC="$CC $ac_cv_prog_cc_c89"
4094    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4095echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4096esac
4097
4098
4099ac_ext=c
4100ac_cpp='$CPP $CPPFLAGS'
4101ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4102ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4103ac_compiler_gnu=$ac_cv_c_compiler_gnu
4104
4105depcc="$CC"   am_compiler_list=
4106
4107{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4108echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4109if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4110  echo $ECHO_N "(cached) $ECHO_C" >&6
4111else
4112  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4113  # We make a subdir and do the tests there.  Otherwise we can end up
4114  # making bogus files that we don't know about and never remove.  For
4115  # instance it was reported that on HP-UX the gcc test will end up
4116  # making a dummy file named `D' -- because `-MD' means `put the output
4117  # in D'.
4118  mkdir conftest.dir
4119  # Copy depcomp to subdir because otherwise we won't find it if we're
4120  # using a relative directory.
4121  cp "$am_depcomp" conftest.dir
4122  cd conftest.dir
4123  # We will build objects and dependencies in a subdirectory because
4124  # it helps to detect inapplicable dependency modes.  For instance
4125  # both Tru64's cc and ICC support -MD to output dependencies as a
4126  # side effect of compilation, but ICC will put the dependencies in
4127  # the current directory while Tru64 will put them in the object
4128  # directory.
4129  mkdir sub
4130
4131  am_cv_CC_dependencies_compiler_type=none
4132  if test "$am_compiler_list" = ""; then
4133     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4134  fi
4135  for depmode in $am_compiler_list; do
4136    # Setup a source with many dependencies, because some compilers
4137    # like to wrap large dependency lists on column 80 (with \), and
4138    # we should not choose a depcomp mode which is confused by this.
4139    #
4140    # We need to recreate these files for each test, as the compiler may
4141    # overwrite some of them when testing with obscure command lines.
4142    # This happens at least with the AIX C compiler.
4143    : > sub/conftest.c
4144    for i in 1 2 3 4 5 6; do
4145      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4146      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4147      # Solaris 8's {/usr,}/bin/sh.
4148      touch sub/conftst$i.h
4149    done
4150    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4151
4152    case $depmode in
4153    nosideeffect)
4154      # after this tag, mechanisms are not by side-effect, so they'll
4155      # only be used when explicitly requested
4156      if test "x$enable_dependency_tracking" = xyes; then
4157	continue
4158      else
4159	break
4160      fi
4161      ;;
4162    none) break ;;
4163    esac
4164    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4165    # mode.  It turns out that the SunPro C++ compiler does not properly
4166    # handle `-M -o', and we need to detect this.
4167    if depmode=$depmode \
4168       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4169       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4170       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4171         >/dev/null 2>conftest.err &&
4172       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4173       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4174       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4175       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4176      # icc doesn't choke on unknown options, it will just issue warnings
4177      # or remarks (even with -Werror).  So we grep stderr for any message
4178      # that says an option was ignored or not supported.
4179      # When given -MP, icc 7.0 and 7.1 complain thusly:
4180      #   icc: Command line warning: ignoring option '-M'; no argument required
4181      # The diagnosis changed in icc 8.0:
4182      #   icc: Command line remark: option '-MP' not supported
4183      if (grep 'ignoring option' conftest.err ||
4184          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4185        am_cv_CC_dependencies_compiler_type=$depmode
4186        break
4187      fi
4188    fi
4189  done
4190
4191  cd ..
4192  rm -rf conftest.dir
4193else
4194  am_cv_CC_dependencies_compiler_type=none
4195fi
4196
4197fi
4198{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4199echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4200CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4201
4202 if
4203  test "x$enable_dependency_tracking" != xno \
4204  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4205  am__fastdepCC_TRUE=
4206  am__fastdepCC_FALSE='#'
4207else
4208  am__fastdepCC_TRUE='#'
4209  am__fastdepCC_FALSE=
4210fi
4211
4212
4213ac_ext=c
4214ac_cpp='$CPP $CPPFLAGS'
4215ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4216ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4217ac_compiler_gnu=$ac_cv_c_compiler_gnu
4218if test -n "$ac_tool_prefix"; then
4219  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4220set dummy ${ac_tool_prefix}gcc; ac_word=$2
4221{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4222echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4223if test "${ac_cv_prog_CC+set}" = set; then
4224  echo $ECHO_N "(cached) $ECHO_C" >&6
4225else
4226  if test -n "$CC"; then
4227  ac_cv_prog_CC="$CC" # Let the user override the test.
4228else
4229as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4230for as_dir in $PATH
4231do
4232  IFS=$as_save_IFS
4233  test -z "$as_dir" && as_dir=.
4234  for ac_exec_ext in '' $ac_executable_extensions; do
4235  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4236    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4237    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4238    break 2
4239  fi
4240done
4241done
4242IFS=$as_save_IFS
4243
4244fi
4245fi
4246CC=$ac_cv_prog_CC
4247if test -n "$CC"; then
4248  { echo "$as_me:$LINENO: result: $CC" >&5
4249echo "${ECHO_T}$CC" >&6; }
4250else
4251  { echo "$as_me:$LINENO: result: no" >&5
4252echo "${ECHO_T}no" >&6; }
4253fi
4254
4255
4256fi
4257if test -z "$ac_cv_prog_CC"; then
4258  ac_ct_CC=$CC
4259  # Extract the first word of "gcc", so it can be a program name with args.
4260set dummy gcc; ac_word=$2
4261{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4262echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4263if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4264  echo $ECHO_N "(cached) $ECHO_C" >&6
4265else
4266  if test -n "$ac_ct_CC"; then
4267  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4268else
4269as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4270for as_dir in $PATH
4271do
4272  IFS=$as_save_IFS
4273  test -z "$as_dir" && as_dir=.
4274  for ac_exec_ext in '' $ac_executable_extensions; do
4275  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4276    ac_cv_prog_ac_ct_CC="gcc"
4277    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4278    break 2
4279  fi
4280done
4281done
4282IFS=$as_save_IFS
4283
4284fi
4285fi
4286ac_ct_CC=$ac_cv_prog_ac_ct_CC
4287if test -n "$ac_ct_CC"; then
4288  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4289echo "${ECHO_T}$ac_ct_CC" >&6; }
4290else
4291  { echo "$as_me:$LINENO: result: no" >&5
4292echo "${ECHO_T}no" >&6; }
4293fi
4294
4295  if test "x$ac_ct_CC" = x; then
4296    CC=""
4297  else
4298    case $cross_compiling:$ac_tool_warned in
4299yes:)
4300{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4301whose name does not start with the host triplet.  If you think this
4302configuration is useful to you, please write to autoconf@gnu.org." >&5
4303echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4304whose name does not start with the host triplet.  If you think this
4305configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4306ac_tool_warned=yes ;;
4307esac
4308    CC=$ac_ct_CC
4309  fi
4310else
4311  CC="$ac_cv_prog_CC"
4312fi
4313
4314if test -z "$CC"; then
4315          if test -n "$ac_tool_prefix"; then
4316    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4317set dummy ${ac_tool_prefix}cc; ac_word=$2
4318{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4319echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4320if test "${ac_cv_prog_CC+set}" = set; then
4321  echo $ECHO_N "(cached) $ECHO_C" >&6
4322else
4323  if test -n "$CC"; then
4324  ac_cv_prog_CC="$CC" # Let the user override the test.
4325else
4326as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4327for as_dir in $PATH
4328do
4329  IFS=$as_save_IFS
4330  test -z "$as_dir" && as_dir=.
4331  for ac_exec_ext in '' $ac_executable_extensions; do
4332  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4333    ac_cv_prog_CC="${ac_tool_prefix}cc"
4334    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4335    break 2
4336  fi
4337done
4338done
4339IFS=$as_save_IFS
4340
4341fi
4342fi
4343CC=$ac_cv_prog_CC
4344if test -n "$CC"; then
4345  { echo "$as_me:$LINENO: result: $CC" >&5
4346echo "${ECHO_T}$CC" >&6; }
4347else
4348  { echo "$as_me:$LINENO: result: no" >&5
4349echo "${ECHO_T}no" >&6; }
4350fi
4351
4352
4353  fi
4354fi
4355if test -z "$CC"; then
4356  # Extract the first word of "cc", so it can be a program name with args.
4357set dummy cc; ac_word=$2
4358{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4359echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4360if test "${ac_cv_prog_CC+set}" = set; then
4361  echo $ECHO_N "(cached) $ECHO_C" >&6
4362else
4363  if test -n "$CC"; then
4364  ac_cv_prog_CC="$CC" # Let the user override the test.
4365else
4366  ac_prog_rejected=no
4367as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4368for as_dir in $PATH
4369do
4370  IFS=$as_save_IFS
4371  test -z "$as_dir" && as_dir=.
4372  for ac_exec_ext in '' $ac_executable_extensions; do
4373  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4374    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4375       ac_prog_rejected=yes
4376       continue
4377     fi
4378    ac_cv_prog_CC="cc"
4379    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4380    break 2
4381  fi
4382done
4383done
4384IFS=$as_save_IFS
4385
4386if test $ac_prog_rejected = yes; then
4387  # We found a bogon in the path, so make sure we never use it.
4388  set dummy $ac_cv_prog_CC
4389  shift
4390  if test $# != 0; then
4391    # We chose a different compiler from the bogus one.
4392    # However, it has the same basename, so the bogon will be chosen
4393    # first if we set CC to just the basename; use the full file name.
4394    shift
4395    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4396  fi
4397fi
4398fi
4399fi
4400CC=$ac_cv_prog_CC
4401if test -n "$CC"; then
4402  { echo "$as_me:$LINENO: result: $CC" >&5
4403echo "${ECHO_T}$CC" >&6; }
4404else
4405  { echo "$as_me:$LINENO: result: no" >&5
4406echo "${ECHO_T}no" >&6; }
4407fi
4408
4409
4410fi
4411if test -z "$CC"; then
4412  if test -n "$ac_tool_prefix"; then
4413  for ac_prog in cl.exe
4414  do
4415    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4416set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4417{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4418echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4419if test "${ac_cv_prog_CC+set}" = set; then
4420  echo $ECHO_N "(cached) $ECHO_C" >&6
4421else
4422  if test -n "$CC"; then
4423  ac_cv_prog_CC="$CC" # Let the user override the test.
4424else
4425as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4426for as_dir in $PATH
4427do
4428  IFS=$as_save_IFS
4429  test -z "$as_dir" && as_dir=.
4430  for ac_exec_ext in '' $ac_executable_extensions; do
4431  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4432    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4433    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4434    break 2
4435  fi
4436done
4437done
4438IFS=$as_save_IFS
4439
4440fi
4441fi
4442CC=$ac_cv_prog_CC
4443if test -n "$CC"; then
4444  { echo "$as_me:$LINENO: result: $CC" >&5
4445echo "${ECHO_T}$CC" >&6; }
4446else
4447  { echo "$as_me:$LINENO: result: no" >&5
4448echo "${ECHO_T}no" >&6; }
4449fi
4450
4451
4452    test -n "$CC" && break
4453  done
4454fi
4455if test -z "$CC"; then
4456  ac_ct_CC=$CC
4457  for ac_prog in cl.exe
4458do
4459  # Extract the first word of "$ac_prog", so it can be a program name with args.
4460set dummy $ac_prog; ac_word=$2
4461{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4462echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4463if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4464  echo $ECHO_N "(cached) $ECHO_C" >&6
4465else
4466  if test -n "$ac_ct_CC"; then
4467  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4468else
4469as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4470for as_dir in $PATH
4471do
4472  IFS=$as_save_IFS
4473  test -z "$as_dir" && as_dir=.
4474  for ac_exec_ext in '' $ac_executable_extensions; do
4475  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4476    ac_cv_prog_ac_ct_CC="$ac_prog"
4477    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4478    break 2
4479  fi
4480done
4481done
4482IFS=$as_save_IFS
4483
4484fi
4485fi
4486ac_ct_CC=$ac_cv_prog_ac_ct_CC
4487if test -n "$ac_ct_CC"; then
4488  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4489echo "${ECHO_T}$ac_ct_CC" >&6; }
4490else
4491  { echo "$as_me:$LINENO: result: no" >&5
4492echo "${ECHO_T}no" >&6; }
4493fi
4494
4495
4496  test -n "$ac_ct_CC" && break
4497done
4498
4499  if test "x$ac_ct_CC" = x; then
4500    CC=""
4501  else
4502    case $cross_compiling:$ac_tool_warned in
4503yes:)
4504{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4505whose name does not start with the host triplet.  If you think this
4506configuration is useful to you, please write to autoconf@gnu.org." >&5
4507echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4508whose name does not start with the host triplet.  If you think this
4509configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4510ac_tool_warned=yes ;;
4511esac
4512    CC=$ac_ct_CC
4513  fi
4514fi
4515
4516fi
4517
4518
4519test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4520See \`config.log' for more details." >&5
4521echo "$as_me: error: no acceptable C compiler found in \$PATH
4522See \`config.log' for more details." >&2;}
4523   { (exit 1); exit 1; }; }
4524
4525# Provide some information about the compiler.
4526echo "$as_me:$LINENO: checking for C compiler version" >&5
4527ac_compiler=`set X $ac_compile; echo $2`
4528{ (ac_try="$ac_compiler --version >&5"
4529case "(($ac_try" in
4530  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4531  *) ac_try_echo=$ac_try;;
4532esac
4533eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4534  (eval "$ac_compiler --version >&5") 2>&5
4535  ac_status=$?
4536  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4537  (exit $ac_status); }
4538{ (ac_try="$ac_compiler -v >&5"
4539case "(($ac_try" in
4540  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4541  *) ac_try_echo=$ac_try;;
4542esac
4543eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4544  (eval "$ac_compiler -v >&5") 2>&5
4545  ac_status=$?
4546  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4547  (exit $ac_status); }
4548{ (ac_try="$ac_compiler -V >&5"
4549case "(($ac_try" in
4550  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4551  *) ac_try_echo=$ac_try;;
4552esac
4553eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4554  (eval "$ac_compiler -V >&5") 2>&5
4555  ac_status=$?
4556  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4557  (exit $ac_status); }
4558
4559{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4560echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
4561if test "${ac_cv_c_compiler_gnu+set}" = set; then
4562  echo $ECHO_N "(cached) $ECHO_C" >&6
4563else
4564  cat >conftest.$ac_ext <<_ACEOF
4565/* confdefs.h.  */
4566_ACEOF
4567cat confdefs.h >>conftest.$ac_ext
4568cat >>conftest.$ac_ext <<_ACEOF
4569/* end confdefs.h.  */
4570
4571int
4572main ()
4573{
4574#ifndef __GNUC__
4575       choke me
4576#endif
4577
4578  ;
4579  return 0;
4580}
4581_ACEOF
4582rm -f conftest.$ac_objext
4583if { (ac_try="$ac_compile"
4584case "(($ac_try" in
4585  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4586  *) ac_try_echo=$ac_try;;
4587esac
4588eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4589  (eval "$ac_compile") 2>conftest.er1
4590  ac_status=$?
4591  grep -v '^ *+' conftest.er1 >conftest.err
4592  rm -f conftest.er1
4593  cat conftest.err >&5
4594  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4595  (exit $ac_status); } && {
4596	 test -z "$ac_c_werror_flag" ||
4597	 test ! -s conftest.err
4598       } && test -s conftest.$ac_objext; then
4599  ac_compiler_gnu=yes
4600else
4601  echo "$as_me: failed program was:" >&5
4602sed 's/^/| /' conftest.$ac_ext >&5
4603
4604	ac_compiler_gnu=no
4605fi
4606
4607rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4608ac_cv_c_compiler_gnu=$ac_compiler_gnu
4609
4610fi
4611{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4612echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4613GCC=`test $ac_compiler_gnu = yes && echo yes`
4614ac_test_CFLAGS=${CFLAGS+set}
4615ac_save_CFLAGS=$CFLAGS
4616{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4617echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
4618if test "${ac_cv_prog_cc_g+set}" = set; then
4619  echo $ECHO_N "(cached) $ECHO_C" >&6
4620else
4621  ac_save_c_werror_flag=$ac_c_werror_flag
4622   ac_c_werror_flag=yes
4623   ac_cv_prog_cc_g=no
4624   CFLAGS="-g"
4625   cat >conftest.$ac_ext <<_ACEOF
4626/* confdefs.h.  */
4627_ACEOF
4628cat confdefs.h >>conftest.$ac_ext
4629cat >>conftest.$ac_ext <<_ACEOF
4630/* end confdefs.h.  */
4631
4632int
4633main ()
4634{
4635
4636  ;
4637  return 0;
4638}
4639_ACEOF
4640rm -f conftest.$ac_objext
4641if { (ac_try="$ac_compile"
4642case "(($ac_try" in
4643  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4644  *) ac_try_echo=$ac_try;;
4645esac
4646eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4647  (eval "$ac_compile") 2>conftest.er1
4648  ac_status=$?
4649  grep -v '^ *+' conftest.er1 >conftest.err
4650  rm -f conftest.er1
4651  cat conftest.err >&5
4652  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4653  (exit $ac_status); } && {
4654	 test -z "$ac_c_werror_flag" ||
4655	 test ! -s conftest.err
4656       } && test -s conftest.$ac_objext; then
4657  ac_cv_prog_cc_g=yes
4658else
4659  echo "$as_me: failed program was:" >&5
4660sed 's/^/| /' conftest.$ac_ext >&5
4661
4662	CFLAGS=""
4663      cat >conftest.$ac_ext <<_ACEOF
4664/* confdefs.h.  */
4665_ACEOF
4666cat confdefs.h >>conftest.$ac_ext
4667cat >>conftest.$ac_ext <<_ACEOF
4668/* end confdefs.h.  */
4669
4670int
4671main ()
4672{
4673
4674  ;
4675  return 0;
4676}
4677_ACEOF
4678rm -f conftest.$ac_objext
4679if { (ac_try="$ac_compile"
4680case "(($ac_try" in
4681  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4682  *) ac_try_echo=$ac_try;;
4683esac
4684eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4685  (eval "$ac_compile") 2>conftest.er1
4686  ac_status=$?
4687  grep -v '^ *+' conftest.er1 >conftest.err
4688  rm -f conftest.er1
4689  cat conftest.err >&5
4690  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4691  (exit $ac_status); } && {
4692	 test -z "$ac_c_werror_flag" ||
4693	 test ! -s conftest.err
4694       } && test -s conftest.$ac_objext; then
4695  :
4696else
4697  echo "$as_me: failed program was:" >&5
4698sed 's/^/| /' conftest.$ac_ext >&5
4699
4700	ac_c_werror_flag=$ac_save_c_werror_flag
4701	 CFLAGS="-g"
4702	 cat >conftest.$ac_ext <<_ACEOF
4703/* confdefs.h.  */
4704_ACEOF
4705cat confdefs.h >>conftest.$ac_ext
4706cat >>conftest.$ac_ext <<_ACEOF
4707/* end confdefs.h.  */
4708
4709int
4710main ()
4711{
4712
4713  ;
4714  return 0;
4715}
4716_ACEOF
4717rm -f conftest.$ac_objext
4718if { (ac_try="$ac_compile"
4719case "(($ac_try" in
4720  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4721  *) ac_try_echo=$ac_try;;
4722esac
4723eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4724  (eval "$ac_compile") 2>conftest.er1
4725  ac_status=$?
4726  grep -v '^ *+' conftest.er1 >conftest.err
4727  rm -f conftest.er1
4728  cat conftest.err >&5
4729  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4730  (exit $ac_status); } && {
4731	 test -z "$ac_c_werror_flag" ||
4732	 test ! -s conftest.err
4733       } && test -s conftest.$ac_objext; then
4734  ac_cv_prog_cc_g=yes
4735else
4736  echo "$as_me: failed program was:" >&5
4737sed 's/^/| /' conftest.$ac_ext >&5
4738
4739
4740fi
4741
4742rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4743fi
4744
4745rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4746fi
4747
4748rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4749   ac_c_werror_flag=$ac_save_c_werror_flag
4750fi
4751{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4752echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4753if test "$ac_test_CFLAGS" = set; then
4754  CFLAGS=$ac_save_CFLAGS
4755elif test $ac_cv_prog_cc_g = yes; then
4756  if test "$GCC" = yes; then
4757    CFLAGS="-g -O2"
4758  else
4759    CFLAGS="-g"
4760  fi
4761else
4762  if test "$GCC" = yes; then
4763    CFLAGS="-O2"
4764  else
4765    CFLAGS=
4766  fi
4767fi
4768{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4769echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4770if test "${ac_cv_prog_cc_c89+set}" = set; then
4771  echo $ECHO_N "(cached) $ECHO_C" >&6
4772else
4773  ac_cv_prog_cc_c89=no
4774ac_save_CC=$CC
4775cat >conftest.$ac_ext <<_ACEOF
4776/* confdefs.h.  */
4777_ACEOF
4778cat confdefs.h >>conftest.$ac_ext
4779cat >>conftest.$ac_ext <<_ACEOF
4780/* end confdefs.h.  */
4781#include <stdarg.h>
4782#include <stdio.h>
4783#include <sys/types.h>
4784#include <sys/stat.h>
4785/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4786struct buf { int x; };
4787FILE * (*rcsopen) (struct buf *, struct stat *, int);
4788static char *e (p, i)
4789     char **p;
4790     int i;
4791{
4792  return p[i];
4793}
4794static char *f (char * (*g) (char **, int), char **p, ...)
4795{
4796  char *s;
4797  va_list v;
4798  va_start (v,p);
4799  s = g (p, va_arg (v,int));
4800  va_end (v);
4801  return s;
4802}
4803
4804/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4805   function prototypes and stuff, but not '\xHH' hex character constants.
4806   These don't provoke an error unfortunately, instead are silently treated
4807   as 'x'.  The following induces an error, until -std is added to get
4808   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4809   array size at least.  It's necessary to write '\x00'==0 to get something
4810   that's true only with -std.  */
4811int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4812
4813/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4814   inside strings and character constants.  */
4815#define FOO(x) 'x'
4816int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4817
4818int test (int i, double x);
4819struct s1 {int (*f) (int a);};
4820struct s2 {int (*f) (double a);};
4821int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4822int argc;
4823char **argv;
4824int
4825main ()
4826{
4827return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4828  ;
4829  return 0;
4830}
4831_ACEOF
4832for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4833	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4834do
4835  CC="$ac_save_CC $ac_arg"
4836  rm -f conftest.$ac_objext
4837if { (ac_try="$ac_compile"
4838case "(($ac_try" in
4839  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4840  *) ac_try_echo=$ac_try;;
4841esac
4842eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4843  (eval "$ac_compile") 2>conftest.er1
4844  ac_status=$?
4845  grep -v '^ *+' conftest.er1 >conftest.err
4846  rm -f conftest.er1
4847  cat conftest.err >&5
4848  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4849  (exit $ac_status); } && {
4850	 test -z "$ac_c_werror_flag" ||
4851	 test ! -s conftest.err
4852       } && test -s conftest.$ac_objext; then
4853  ac_cv_prog_cc_c89=$ac_arg
4854else
4855  echo "$as_me: failed program was:" >&5
4856sed 's/^/| /' conftest.$ac_ext >&5
4857
4858
4859fi
4860
4861rm -f core conftest.err conftest.$ac_objext
4862  test "x$ac_cv_prog_cc_c89" != "xno" && break
4863done
4864rm -f conftest.$ac_ext
4865CC=$ac_save_CC
4866
4867fi
4868# AC_CACHE_VAL
4869case "x$ac_cv_prog_cc_c89" in
4870  x)
4871    { echo "$as_me:$LINENO: result: none needed" >&5
4872echo "${ECHO_T}none needed" >&6; } ;;
4873  xno)
4874    { echo "$as_me:$LINENO: result: unsupported" >&5
4875echo "${ECHO_T}unsupported" >&6; } ;;
4876  *)
4877    CC="$CC $ac_cv_prog_cc_c89"
4878    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4879echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4880esac
4881
4882
4883ac_ext=c
4884ac_cpp='$CPP $CPPFLAGS'
4885ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4886ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4887ac_compiler_gnu=$ac_cv_c_compiler_gnu
4888
4889depcc="$CC"   am_compiler_list=
4890
4891{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4892echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4893if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4894  echo $ECHO_N "(cached) $ECHO_C" >&6
4895else
4896  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4897  # We make a subdir and do the tests there.  Otherwise we can end up
4898  # making bogus files that we don't know about and never remove.  For
4899  # instance it was reported that on HP-UX the gcc test will end up
4900  # making a dummy file named `D' -- because `-MD' means `put the output
4901  # in D'.
4902  mkdir conftest.dir
4903  # Copy depcomp to subdir because otherwise we won't find it if we're
4904  # using a relative directory.
4905  cp "$am_depcomp" conftest.dir
4906  cd conftest.dir
4907  # We will build objects and dependencies in a subdirectory because
4908  # it helps to detect inapplicable dependency modes.  For instance
4909  # both Tru64's cc and ICC support -MD to output dependencies as a
4910  # side effect of compilation, but ICC will put the dependencies in
4911  # the current directory while Tru64 will put them in the object
4912  # directory.
4913  mkdir sub
4914
4915  am_cv_CC_dependencies_compiler_type=none
4916  if test "$am_compiler_list" = ""; then
4917     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4918  fi
4919  for depmode in $am_compiler_list; do
4920    # Setup a source with many dependencies, because some compilers
4921    # like to wrap large dependency lists on column 80 (with \), and
4922    # we should not choose a depcomp mode which is confused by this.
4923    #
4924    # We need to recreate these files for each test, as the compiler may
4925    # overwrite some of them when testing with obscure command lines.
4926    # This happens at least with the AIX C compiler.
4927    : > sub/conftest.c
4928    for i in 1 2 3 4 5 6; do
4929      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4930      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4931      # Solaris 8's {/usr,}/bin/sh.
4932      touch sub/conftst$i.h
4933    done
4934    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4935
4936    case $depmode in
4937    nosideeffect)
4938      # after this tag, mechanisms are not by side-effect, so they'll
4939      # only be used when explicitly requested
4940      if test "x$enable_dependency_tracking" = xyes; then
4941	continue
4942      else
4943	break
4944      fi
4945      ;;
4946    none) break ;;
4947    esac
4948    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4949    # mode.  It turns out that the SunPro C++ compiler does not properly
4950    # handle `-M -o', and we need to detect this.
4951    if depmode=$depmode \
4952       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4953       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4954       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4955         >/dev/null 2>conftest.err &&
4956       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4957       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4958       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4959       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4960      # icc doesn't choke on unknown options, it will just issue warnings
4961      # or remarks (even with -Werror).  So we grep stderr for any message
4962      # that says an option was ignored or not supported.
4963      # When given -MP, icc 7.0 and 7.1 complain thusly:
4964      #   icc: Command line warning: ignoring option '-M'; no argument required
4965      # The diagnosis changed in icc 8.0:
4966      #   icc: Command line remark: option '-MP' not supported
4967      if (grep 'ignoring option' conftest.err ||
4968          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4969        am_cv_CC_dependencies_compiler_type=$depmode
4970        break
4971      fi
4972    fi
4973  done
4974
4975  cd ..
4976  rm -rf conftest.dir
4977else
4978  am_cv_CC_dependencies_compiler_type=none
4979fi
4980
4981fi
4982{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4983echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4984CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4985
4986 if
4987  test "x$enable_dependency_tracking" != xno \
4988  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4989  am__fastdepCC_TRUE=
4990  am__fastdepCC_FALSE='#'
4991else
4992  am__fastdepCC_TRUE='#'
4993  am__fastdepCC_FALSE=
4994fi
4995
4996
4997
4998am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
4999
5000ac_ext=c
5001ac_cpp='$CPP $CPPFLAGS'
5002ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5003ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5004ac_compiler_gnu=$ac_cv_c_compiler_gnu
5005{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5006echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
5007# On Suns, sometimes $CPP names a directory.
5008if test -n "$CPP" && test -d "$CPP"; then
5009  CPP=
5010fi
5011if test -z "$CPP"; then
5012  if test "${ac_cv_prog_CPP+set}" = set; then
5013  echo $ECHO_N "(cached) $ECHO_C" >&6
5014else
5015      # Double quotes because CPP needs to be expanded
5016    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5017    do
5018      ac_preproc_ok=false
5019for ac_c_preproc_warn_flag in '' yes
5020do
5021  # Use a header file that comes with gcc, so configuring glibc
5022  # with a fresh cross-compiler works.
5023  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5024  # <limits.h> exists even on freestanding compilers.
5025  # On the NeXT, cc -E runs the code through the compiler's parser,
5026  # not just through cpp. "Syntax error" is here to catch this case.
5027  cat >conftest.$ac_ext <<_ACEOF
5028/* confdefs.h.  */
5029_ACEOF
5030cat confdefs.h >>conftest.$ac_ext
5031cat >>conftest.$ac_ext <<_ACEOF
5032/* end confdefs.h.  */
5033#ifdef __STDC__
5034# include <limits.h>
5035#else
5036# include <assert.h>
5037#endif
5038		     Syntax error
5039_ACEOF
5040if { (ac_try="$ac_cpp conftest.$ac_ext"
5041case "(($ac_try" in
5042  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5043  *) ac_try_echo=$ac_try;;
5044esac
5045eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5046  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5047  ac_status=$?
5048  grep -v '^ *+' conftest.er1 >conftest.err
5049  rm -f conftest.er1
5050  cat conftest.err >&5
5051  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5052  (exit $ac_status); } >/dev/null && {
5053	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5054	 test ! -s conftest.err
5055       }; then
5056  :
5057else
5058  echo "$as_me: failed program was:" >&5
5059sed 's/^/| /' conftest.$ac_ext >&5
5060
5061  # Broken: fails on valid input.
5062continue
5063fi
5064
5065rm -f conftest.err conftest.$ac_ext
5066
5067  # OK, works on sane cases.  Now check whether nonexistent headers
5068  # can be detected and how.
5069  cat >conftest.$ac_ext <<_ACEOF
5070/* confdefs.h.  */
5071_ACEOF
5072cat confdefs.h >>conftest.$ac_ext
5073cat >>conftest.$ac_ext <<_ACEOF
5074/* end confdefs.h.  */
5075#include <ac_nonexistent.h>
5076_ACEOF
5077if { (ac_try="$ac_cpp conftest.$ac_ext"
5078case "(($ac_try" in
5079  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5080  *) ac_try_echo=$ac_try;;
5081esac
5082eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5083  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5084  ac_status=$?
5085  grep -v '^ *+' conftest.er1 >conftest.err
5086  rm -f conftest.er1
5087  cat conftest.err >&5
5088  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5089  (exit $ac_status); } >/dev/null && {
5090	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5091	 test ! -s conftest.err
5092       }; then
5093  # Broken: success on invalid input.
5094continue
5095else
5096  echo "$as_me: failed program was:" >&5
5097sed 's/^/| /' conftest.$ac_ext >&5
5098
5099  # Passes both tests.
5100ac_preproc_ok=:
5101break
5102fi
5103
5104rm -f conftest.err conftest.$ac_ext
5105
5106done
5107# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5108rm -f conftest.err conftest.$ac_ext
5109if $ac_preproc_ok; then
5110  break
5111fi
5112
5113    done
5114    ac_cv_prog_CPP=$CPP
5115
5116fi
5117  CPP=$ac_cv_prog_CPP
5118else
5119  ac_cv_prog_CPP=$CPP
5120fi
5121{ echo "$as_me:$LINENO: result: $CPP" >&5
5122echo "${ECHO_T}$CPP" >&6; }
5123ac_preproc_ok=false
5124for ac_c_preproc_warn_flag in '' yes
5125do
5126  # Use a header file that comes with gcc, so configuring glibc
5127  # with a fresh cross-compiler works.
5128  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5129  # <limits.h> exists even on freestanding compilers.
5130  # On the NeXT, cc -E runs the code through the compiler's parser,
5131  # not just through cpp. "Syntax error" is here to catch this case.
5132  cat >conftest.$ac_ext <<_ACEOF
5133/* confdefs.h.  */
5134_ACEOF
5135cat confdefs.h >>conftest.$ac_ext
5136cat >>conftest.$ac_ext <<_ACEOF
5137/* end confdefs.h.  */
5138#ifdef __STDC__
5139# include <limits.h>
5140#else
5141# include <assert.h>
5142#endif
5143		     Syntax error
5144_ACEOF
5145if { (ac_try="$ac_cpp conftest.$ac_ext"
5146case "(($ac_try" in
5147  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5148  *) ac_try_echo=$ac_try;;
5149esac
5150eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5151  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5152  ac_status=$?
5153  grep -v '^ *+' conftest.er1 >conftest.err
5154  rm -f conftest.er1
5155  cat conftest.err >&5
5156  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5157  (exit $ac_status); } >/dev/null && {
5158	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5159	 test ! -s conftest.err
5160       }; then
5161  :
5162else
5163  echo "$as_me: failed program was:" >&5
5164sed 's/^/| /' conftest.$ac_ext >&5
5165
5166  # Broken: fails on valid input.
5167continue
5168fi
5169
5170rm -f conftest.err conftest.$ac_ext
5171
5172  # OK, works on sane cases.  Now check whether nonexistent headers
5173  # can be detected and how.
5174  cat >conftest.$ac_ext <<_ACEOF
5175/* confdefs.h.  */
5176_ACEOF
5177cat confdefs.h >>conftest.$ac_ext
5178cat >>conftest.$ac_ext <<_ACEOF
5179/* end confdefs.h.  */
5180#include <ac_nonexistent.h>
5181_ACEOF
5182if { (ac_try="$ac_cpp conftest.$ac_ext"
5183case "(($ac_try" in
5184  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5185  *) ac_try_echo=$ac_try;;
5186esac
5187eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5188  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5189  ac_status=$?
5190  grep -v '^ *+' conftest.er1 >conftest.err
5191  rm -f conftest.er1
5192  cat conftest.err >&5
5193  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5194  (exit $ac_status); } >/dev/null && {
5195	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5196	 test ! -s conftest.err
5197       }; then
5198  # Broken: success on invalid input.
5199continue
5200else
5201  echo "$as_me: failed program was:" >&5
5202sed 's/^/| /' conftest.$ac_ext >&5
5203
5204  # Passes both tests.
5205ac_preproc_ok=:
5206break
5207fi
5208
5209rm -f conftest.err conftest.$ac_ext
5210
5211done
5212# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5213rm -f conftest.err conftest.$ac_ext
5214if $ac_preproc_ok; then
5215  :
5216else
5217  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5218See \`config.log' for more details." >&5
5219echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5220See \`config.log' for more details." >&2;}
5221   { (exit 1); exit 1; }; }
5222fi
5223
5224ac_ext=c
5225ac_cpp='$CPP $CPPFLAGS'
5226ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5227ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5228ac_compiler_gnu=$ac_cv_c_compiler_gnu
5229
5230
5231{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5232echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5233if test "${ac_cv_path_GREP+set}" = set; then
5234  echo $ECHO_N "(cached) $ECHO_C" >&6
5235else
5236  # Extract the first word of "grep ggrep" to use in msg output
5237if test -z "$GREP"; then
5238set dummy grep ggrep; ac_prog_name=$2
5239if test "${ac_cv_path_GREP+set}" = set; then
5240  echo $ECHO_N "(cached) $ECHO_C" >&6
5241else
5242  ac_path_GREP_found=false
5243# Loop through the user's path and test for each of PROGNAME-LIST
5244as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5245for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5246do
5247  IFS=$as_save_IFS
5248  test -z "$as_dir" && as_dir=.
5249  for ac_prog in grep ggrep; do
5250  for ac_exec_ext in '' $ac_executable_extensions; do
5251    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5252    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5253    # Check for GNU ac_path_GREP and select it if it is found.
5254  # Check for GNU $ac_path_GREP
5255case `"$ac_path_GREP" --version 2>&1` in
5256*GNU*)
5257  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5258*)
5259  ac_count=0
5260  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5261  while :
5262  do
5263    cat "conftest.in" "conftest.in" >"conftest.tmp"
5264    mv "conftest.tmp" "conftest.in"
5265    cp "conftest.in" "conftest.nl"
5266    echo 'GREP' >> "conftest.nl"
5267    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5268    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5269    ac_count=`expr $ac_count + 1`
5270    if test $ac_count -gt ${ac_path_GREP_max-0}; then
5271      # Best one so far, save it but keep looking for a better one
5272      ac_cv_path_GREP="$ac_path_GREP"
5273      ac_path_GREP_max=$ac_count
5274    fi
5275    # 10*(2^10) chars as input seems more than enough
5276    test $ac_count -gt 10 && break
5277  done
5278  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5279esac
5280
5281
5282    $ac_path_GREP_found && break 3
5283  done
5284done
5285
5286done
5287IFS=$as_save_IFS
5288
5289
5290fi
5291
5292GREP="$ac_cv_path_GREP"
5293if test -z "$GREP"; then
5294  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5295echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5296   { (exit 1); exit 1; }; }
5297fi
5298
5299else
5300  ac_cv_path_GREP=$GREP
5301fi
5302
5303
5304fi
5305{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5306echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5307 GREP="$ac_cv_path_GREP"
5308
5309
5310{ echo "$as_me:$LINENO: checking for egrep" >&5
5311echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5312if test "${ac_cv_path_EGREP+set}" = set; then
5313  echo $ECHO_N "(cached) $ECHO_C" >&6
5314else
5315  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5316   then ac_cv_path_EGREP="$GREP -E"
5317   else
5318     # Extract the first word of "egrep" to use in msg output
5319if test -z "$EGREP"; then
5320set dummy egrep; ac_prog_name=$2
5321if test "${ac_cv_path_EGREP+set}" = set; then
5322  echo $ECHO_N "(cached) $ECHO_C" >&6
5323else
5324  ac_path_EGREP_found=false
5325# Loop through the user's path and test for each of PROGNAME-LIST
5326as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5327for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5328do
5329  IFS=$as_save_IFS
5330  test -z "$as_dir" && as_dir=.
5331  for ac_prog in egrep; do
5332  for ac_exec_ext in '' $ac_executable_extensions; do
5333    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5334    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5335    # Check for GNU ac_path_EGREP and select it if it is found.
5336  # Check for GNU $ac_path_EGREP
5337case `"$ac_path_EGREP" --version 2>&1` in
5338*GNU*)
5339  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5340*)
5341  ac_count=0
5342  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5343  while :
5344  do
5345    cat "conftest.in" "conftest.in" >"conftest.tmp"
5346    mv "conftest.tmp" "conftest.in"
5347    cp "conftest.in" "conftest.nl"
5348    echo 'EGREP' >> "conftest.nl"
5349    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5350    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5351    ac_count=`expr $ac_count + 1`
5352    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5353      # Best one so far, save it but keep looking for a better one
5354      ac_cv_path_EGREP="$ac_path_EGREP"
5355      ac_path_EGREP_max=$ac_count
5356    fi
5357    # 10*(2^10) chars as input seems more than enough
5358    test $ac_count -gt 10 && break
5359  done
5360  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5361esac
5362
5363
5364    $ac_path_EGREP_found && break 3
5365  done
5366done
5367
5368done
5369IFS=$as_save_IFS
5370
5371
5372fi
5373
5374EGREP="$ac_cv_path_EGREP"
5375if test -z "$EGREP"; then
5376  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5377echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5378   { (exit 1); exit 1; }; }
5379fi
5380
5381else
5382  ac_cv_path_EGREP=$EGREP
5383fi
5384
5385
5386   fi
5387fi
5388{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5389echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5390 EGREP="$ac_cv_path_EGREP"
5391
5392
5393{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5394echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5395if test "${ac_cv_header_stdc+set}" = set; then
5396  echo $ECHO_N "(cached) $ECHO_C" >&6
5397else
5398  cat >conftest.$ac_ext <<_ACEOF
5399/* confdefs.h.  */
5400_ACEOF
5401cat confdefs.h >>conftest.$ac_ext
5402cat >>conftest.$ac_ext <<_ACEOF
5403/* end confdefs.h.  */
5404#include <stdlib.h>
5405#include <stdarg.h>
5406#include <string.h>
5407#include <float.h>
5408
5409int
5410main ()
5411{
5412
5413  ;
5414  return 0;
5415}
5416_ACEOF
5417rm -f conftest.$ac_objext
5418if { (ac_try="$ac_compile"
5419case "(($ac_try" in
5420  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5421  *) ac_try_echo=$ac_try;;
5422esac
5423eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5424  (eval "$ac_compile") 2>conftest.er1
5425  ac_status=$?
5426  grep -v '^ *+' conftest.er1 >conftest.err
5427  rm -f conftest.er1
5428  cat conftest.err >&5
5429  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5430  (exit $ac_status); } && {
5431	 test -z "$ac_c_werror_flag" ||
5432	 test ! -s conftest.err
5433       } && test -s conftest.$ac_objext; then
5434  ac_cv_header_stdc=yes
5435else
5436  echo "$as_me: failed program was:" >&5
5437sed 's/^/| /' conftest.$ac_ext >&5
5438
5439	ac_cv_header_stdc=no
5440fi
5441
5442rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5443
5444if test $ac_cv_header_stdc = yes; then
5445  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5446  cat >conftest.$ac_ext <<_ACEOF
5447/* confdefs.h.  */
5448_ACEOF
5449cat confdefs.h >>conftest.$ac_ext
5450cat >>conftest.$ac_ext <<_ACEOF
5451/* end confdefs.h.  */
5452#include <string.h>
5453
5454_ACEOF
5455if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5456  $EGREP "memchr" >/dev/null 2>&1; then
5457  :
5458else
5459  ac_cv_header_stdc=no
5460fi
5461rm -f conftest*
5462
5463fi
5464
5465if test $ac_cv_header_stdc = yes; then
5466  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5467  cat >conftest.$ac_ext <<_ACEOF
5468/* confdefs.h.  */
5469_ACEOF
5470cat confdefs.h >>conftest.$ac_ext
5471cat >>conftest.$ac_ext <<_ACEOF
5472/* end confdefs.h.  */
5473#include <stdlib.h>
5474
5475_ACEOF
5476if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5477  $EGREP "free" >/dev/null 2>&1; then
5478  :
5479else
5480  ac_cv_header_stdc=no
5481fi
5482rm -f conftest*
5483
5484fi
5485
5486if test $ac_cv_header_stdc = yes; then
5487  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5488  if test "$cross_compiling" = yes; then
5489  :
5490else
5491  cat >conftest.$ac_ext <<_ACEOF
5492/* confdefs.h.  */
5493_ACEOF
5494cat confdefs.h >>conftest.$ac_ext
5495cat >>conftest.$ac_ext <<_ACEOF
5496/* end confdefs.h.  */
5497#include <ctype.h>
5498#include <stdlib.h>
5499#if ((' ' & 0x0FF) == 0x020)
5500# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5501# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5502#else
5503# define ISLOWER(c) \
5504		   (('a' <= (c) && (c) <= 'i') \
5505		     || ('j' <= (c) && (c) <= 'r') \
5506		     || ('s' <= (c) && (c) <= 'z'))
5507# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5508#endif
5509
5510#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5511int
5512main ()
5513{
5514  int i;
5515  for (i = 0; i < 256; i++)
5516    if (XOR (islower (i), ISLOWER (i))
5517	|| toupper (i) != TOUPPER (i))
5518      return 2;
5519  return 0;
5520}
5521_ACEOF
5522rm -f conftest$ac_exeext
5523if { (ac_try="$ac_link"
5524case "(($ac_try" in
5525  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5526  *) ac_try_echo=$ac_try;;
5527esac
5528eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5529  (eval "$ac_link") 2>&5
5530  ac_status=$?
5531  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5532  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5533  { (case "(($ac_try" in
5534  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5535  *) ac_try_echo=$ac_try;;
5536esac
5537eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5538  (eval "$ac_try") 2>&5
5539  ac_status=$?
5540  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5541  (exit $ac_status); }; }; then
5542  :
5543else
5544  echo "$as_me: program exited with status $ac_status" >&5
5545echo "$as_me: failed program was:" >&5
5546sed 's/^/| /' conftest.$ac_ext >&5
5547
5548( exit $ac_status )
5549ac_cv_header_stdc=no
5550fi
5551rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5552fi
5553
5554
5555fi
5556fi
5557{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5558echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5559if test $ac_cv_header_stdc = yes; then
5560
5561cat >>confdefs.h <<\_ACEOF
5562#define STDC_HEADERS 1
5563_ACEOF
5564
5565fi
5566
5567# Find a good install program.  We prefer a C program (faster),
5568# so one script is as good as another.  But avoid the broken or
5569# incompatible versions:
5570# SysV /etc/install, /usr/sbin/install
5571# SunOS /usr/etc/install
5572# IRIX /sbin/install
5573# AIX /bin/install
5574# AmigaOS /C/install, which installs bootblocks on floppy discs
5575# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5576# AFS /usr/afsws/bin/install, which mishandles nonexistent args
5577# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5578# OS/2's system install, which has a completely different semantic
5579# ./install, which can be erroneously created by make from ./install.sh.
5580{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5581echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5582if test -z "$INSTALL"; then
5583if test "${ac_cv_path_install+set}" = set; then
5584  echo $ECHO_N "(cached) $ECHO_C" >&6
5585else
5586  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5587for as_dir in $PATH
5588do
5589  IFS=$as_save_IFS
5590  test -z "$as_dir" && as_dir=.
5591  # Account for people who put trailing slashes in PATH elements.
5592case $as_dir/ in
5593  ./ | .// | /cC/* | \
5594  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5595  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5596  /usr/ucb/* ) ;;
5597  *)
5598    # OSF1 and SCO ODT 3.0 have their own names for install.
5599    # Don't use installbsd from OSF since it installs stuff as root
5600    # by default.
5601    for ac_prog in ginstall scoinst install; do
5602      for ac_exec_ext in '' $ac_executable_extensions; do
5603	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5604	  if test $ac_prog = install &&
5605	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5606	    # AIX install.  It has an incompatible calling convention.
5607	    :
5608	  elif test $ac_prog = install &&
5609	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5610	    # program-specific install script used by HP pwplus--don't use.
5611	    :
5612	  else
5613	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5614	    break 3
5615	  fi
5616	fi
5617      done
5618    done
5619    ;;
5620esac
5621done
5622IFS=$as_save_IFS
5623
5624
5625fi
5626  if test "${ac_cv_path_install+set}" = set; then
5627    INSTALL=$ac_cv_path_install
5628  else
5629    # As a last resort, use the slow shell script.  Don't cache a
5630    # value for INSTALL within a source directory, because that will
5631    # break other packages using the cache if that directory is
5632    # removed, or if the value is a relative name.
5633    INSTALL=$ac_install_sh
5634  fi
5635fi
5636{ echo "$as_me:$LINENO: result: $INSTALL" >&5
5637echo "${ECHO_T}$INSTALL" >&6; }
5638
5639# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5640# It thinks the first close brace ends the variable substitution.
5641test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5642
5643test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5644
5645test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5646
5647
5648{ echo "$as_me:$LINENO: checking for openpty in -lutil" >&5
5649echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6; }
5650if test "${ac_cv_lib_util_openpty+set}" = set; then
5651  echo $ECHO_N "(cached) $ECHO_C" >&6
5652else
5653  ac_check_lib_save_LIBS=$LIBS
5654LIBS="-lutil  $LIBS"
5655cat >conftest.$ac_ext <<_ACEOF
5656/* confdefs.h.  */
5657_ACEOF
5658cat confdefs.h >>conftest.$ac_ext
5659cat >>conftest.$ac_ext <<_ACEOF
5660/* end confdefs.h.  */
5661
5662/* Override any GCC internal prototype to avoid an error.
5663   Use char because int might match the return type of a GCC
5664   builtin and then its argument prototype would still apply.  */
5665#ifdef __cplusplus
5666extern "C"
5667#endif
5668char openpty ();
5669int
5670main ()
5671{
5672return openpty ();
5673  ;
5674  return 0;
5675}
5676_ACEOF
5677rm -f conftest.$ac_objext conftest$ac_exeext
5678if { (ac_try="$ac_link"
5679case "(($ac_try" in
5680  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5681  *) ac_try_echo=$ac_try;;
5682esac
5683eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5684  (eval "$ac_link") 2>conftest.er1
5685  ac_status=$?
5686  grep -v '^ *+' conftest.er1 >conftest.err
5687  rm -f conftest.er1
5688  cat conftest.err >&5
5689  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5690  (exit $ac_status); } && {
5691	 test -z "$ac_c_werror_flag" ||
5692	 test ! -s conftest.err
5693       } && test -s conftest$ac_exeext &&
5694       $as_test_x conftest$ac_exeext; then
5695  ac_cv_lib_util_openpty=yes
5696else
5697  echo "$as_me: failed program was:" >&5
5698sed 's/^/| /' conftest.$ac_ext >&5
5699
5700	ac_cv_lib_util_openpty=no
5701fi
5702
5703rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5704      conftest$ac_exeext conftest.$ac_ext
5705LIBS=$ac_check_lib_save_LIBS
5706fi
5707{ echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5
5708echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6; }
5709if test $ac_cv_lib_util_openpty = yes; then
5710  cat >>confdefs.h <<_ACEOF
5711#define HAVE_LIBUTIL 1
5712_ACEOF
5713
5714  LIBS="-lutil $LIBS"
5715
5716fi
5717
5718
5719{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5720echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5721if test "${ac_cv_header_stdc+set}" = set; then
5722  echo $ECHO_N "(cached) $ECHO_C" >&6
5723else
5724  cat >conftest.$ac_ext <<_ACEOF
5725/* confdefs.h.  */
5726_ACEOF
5727cat confdefs.h >>conftest.$ac_ext
5728cat >>conftest.$ac_ext <<_ACEOF
5729/* end confdefs.h.  */
5730#include <stdlib.h>
5731#include <stdarg.h>
5732#include <string.h>
5733#include <float.h>
5734
5735int
5736main ()
5737{
5738
5739  ;
5740  return 0;
5741}
5742_ACEOF
5743rm -f conftest.$ac_objext
5744if { (ac_try="$ac_compile"
5745case "(($ac_try" in
5746  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5747  *) ac_try_echo=$ac_try;;
5748esac
5749eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5750  (eval "$ac_compile") 2>conftest.er1
5751  ac_status=$?
5752  grep -v '^ *+' conftest.er1 >conftest.err
5753  rm -f conftest.er1
5754  cat conftest.err >&5
5755  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5756  (exit $ac_status); } && {
5757	 test -z "$ac_c_werror_flag" ||
5758	 test ! -s conftest.err
5759       } && test -s conftest.$ac_objext; then
5760  ac_cv_header_stdc=yes
5761else
5762  echo "$as_me: failed program was:" >&5
5763sed 's/^/| /' conftest.$ac_ext >&5
5764
5765	ac_cv_header_stdc=no
5766fi
5767
5768rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5769
5770if test $ac_cv_header_stdc = yes; then
5771  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5772  cat >conftest.$ac_ext <<_ACEOF
5773/* confdefs.h.  */
5774_ACEOF
5775cat confdefs.h >>conftest.$ac_ext
5776cat >>conftest.$ac_ext <<_ACEOF
5777/* end confdefs.h.  */
5778#include <string.h>
5779
5780_ACEOF
5781if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5782  $EGREP "memchr" >/dev/null 2>&1; then
5783  :
5784else
5785  ac_cv_header_stdc=no
5786fi
5787rm -f conftest*
5788
5789fi
5790
5791if test $ac_cv_header_stdc = yes; then
5792  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5793  cat >conftest.$ac_ext <<_ACEOF
5794/* confdefs.h.  */
5795_ACEOF
5796cat confdefs.h >>conftest.$ac_ext
5797cat >>conftest.$ac_ext <<_ACEOF
5798/* end confdefs.h.  */
5799#include <stdlib.h>
5800
5801_ACEOF
5802if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5803  $EGREP "free" >/dev/null 2>&1; then
5804  :
5805else
5806  ac_cv_header_stdc=no
5807fi
5808rm -f conftest*
5809
5810fi
5811
5812if test $ac_cv_header_stdc = yes; then
5813  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5814  if test "$cross_compiling" = yes; then
5815  :
5816else
5817  cat >conftest.$ac_ext <<_ACEOF
5818/* confdefs.h.  */
5819_ACEOF
5820cat confdefs.h >>conftest.$ac_ext
5821cat >>conftest.$ac_ext <<_ACEOF
5822/* end confdefs.h.  */
5823#include <ctype.h>
5824#include <stdlib.h>
5825#if ((' ' & 0x0FF) == 0x020)
5826# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5827# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5828#else
5829# define ISLOWER(c) \
5830		   (('a' <= (c) && (c) <= 'i') \
5831		     || ('j' <= (c) && (c) <= 'r') \
5832		     || ('s' <= (c) && (c) <= 'z'))
5833# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5834#endif
5835
5836#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5837int
5838main ()
5839{
5840  int i;
5841  for (i = 0; i < 256; i++)
5842    if (XOR (islower (i), ISLOWER (i))
5843	|| toupper (i) != TOUPPER (i))
5844      return 2;
5845  return 0;
5846}
5847_ACEOF
5848rm -f conftest$ac_exeext
5849if { (ac_try="$ac_link"
5850case "(($ac_try" in
5851  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5852  *) ac_try_echo=$ac_try;;
5853esac
5854eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5855  (eval "$ac_link") 2>&5
5856  ac_status=$?
5857  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5858  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5859  { (case "(($ac_try" in
5860  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5861  *) ac_try_echo=$ac_try;;
5862esac
5863eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5864  (eval "$ac_try") 2>&5
5865  ac_status=$?
5866  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5867  (exit $ac_status); }; }; then
5868  :
5869else
5870  echo "$as_me: program exited with status $ac_status" >&5
5871echo "$as_me: failed program was:" >&5
5872sed 's/^/| /' conftest.$ac_ext >&5
5873
5874( exit $ac_status )
5875ac_cv_header_stdc=no
5876fi
5877rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5878fi
5879
5880
5881fi
5882fi
5883{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5884echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5885if test $ac_cv_header_stdc = yes; then
5886
5887cat >>confdefs.h <<\_ACEOF
5888#define STDC_HEADERS 1
5889_ACEOF
5890
5891fi
5892
5893# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5904		  inttypes.h stdint.h unistd.h
5905do
5906as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5907{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5908echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5909if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5910  echo $ECHO_N "(cached) $ECHO_C" >&6
5911else
5912  cat >conftest.$ac_ext <<_ACEOF
5913/* confdefs.h.  */
5914_ACEOF
5915cat confdefs.h >>conftest.$ac_ext
5916cat >>conftest.$ac_ext <<_ACEOF
5917/* end confdefs.h.  */
5918$ac_includes_default
5919
5920#include <$ac_header>
5921_ACEOF
5922rm -f conftest.$ac_objext
5923if { (ac_try="$ac_compile"
5924case "(($ac_try" in
5925  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5926  *) ac_try_echo=$ac_try;;
5927esac
5928eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5929  (eval "$ac_compile") 2>conftest.er1
5930  ac_status=$?
5931  grep -v '^ *+' conftest.er1 >conftest.err
5932  rm -f conftest.er1
5933  cat conftest.err >&5
5934  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5935  (exit $ac_status); } && {
5936	 test -z "$ac_c_werror_flag" ||
5937	 test ! -s conftest.err
5938       } && test -s conftest.$ac_objext; then
5939  eval "$as_ac_Header=yes"
5940else
5941  echo "$as_me: failed program was:" >&5
5942sed 's/^/| /' conftest.$ac_ext >&5
5943
5944	eval "$as_ac_Header=no"
5945fi
5946
5947rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5948fi
5949ac_res=`eval echo '${'$as_ac_Header'}'`
5950	       { echo "$as_me:$LINENO: result: $ac_res" >&5
5951echo "${ECHO_T}$ac_res" >&6; }
5952if test `eval echo '${'$as_ac_Header'}'` = yes; then
5953  cat >>confdefs.h <<_ACEOF
5954#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5955_ACEOF
5956
5957fi
5958
5959done
5960
5961
5962
5963
5964
5965
5966
5967
5968for ac_header in fcntl.h sys/ioctl.h sys/time.h unistd.h utmpx.h locale.h
5969do
5970as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5971if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5972  { echo "$as_me:$LINENO: checking for $ac_header" >&5
5973echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5974if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5975  echo $ECHO_N "(cached) $ECHO_C" >&6
5976fi
5977ac_res=`eval echo '${'$as_ac_Header'}'`
5978	       { echo "$as_me:$LINENO: result: $ac_res" >&5
5979echo "${ECHO_T}$ac_res" >&6; }
5980else
5981  # Is the header compilable?
5982{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5983echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5984cat >conftest.$ac_ext <<_ACEOF
5985/* confdefs.h.  */
5986_ACEOF
5987cat confdefs.h >>conftest.$ac_ext
5988cat >>conftest.$ac_ext <<_ACEOF
5989/* end confdefs.h.  */
5990$ac_includes_default
5991#include <$ac_header>
5992_ACEOF
5993rm -f conftest.$ac_objext
5994if { (ac_try="$ac_compile"
5995case "(($ac_try" in
5996  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5997  *) ac_try_echo=$ac_try;;
5998esac
5999eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6000  (eval "$ac_compile") 2>conftest.er1
6001  ac_status=$?
6002  grep -v '^ *+' conftest.er1 >conftest.err
6003  rm -f conftest.er1
6004  cat conftest.err >&5
6005  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6006  (exit $ac_status); } && {
6007	 test -z "$ac_c_werror_flag" ||
6008	 test ! -s conftest.err
6009       } && test -s conftest.$ac_objext; then
6010  ac_header_compiler=yes
6011else
6012  echo "$as_me: failed program was:" >&5
6013sed 's/^/| /' conftest.$ac_ext >&5
6014
6015	ac_header_compiler=no
6016fi
6017
6018rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6019{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6020echo "${ECHO_T}$ac_header_compiler" >&6; }
6021
6022# Is the header present?
6023{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
6024echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6025cat >conftest.$ac_ext <<_ACEOF
6026/* confdefs.h.  */
6027_ACEOF
6028cat confdefs.h >>conftest.$ac_ext
6029cat >>conftest.$ac_ext <<_ACEOF
6030/* end confdefs.h.  */
6031#include <$ac_header>
6032_ACEOF
6033if { (ac_try="$ac_cpp conftest.$ac_ext"
6034case "(($ac_try" in
6035  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6036  *) ac_try_echo=$ac_try;;
6037esac
6038eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6039  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6040  ac_status=$?
6041  grep -v '^ *+' conftest.er1 >conftest.err
6042  rm -f conftest.er1
6043  cat conftest.err >&5
6044  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6045  (exit $ac_status); } >/dev/null && {
6046	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6047	 test ! -s conftest.err
6048       }; then
6049  ac_header_preproc=yes
6050else
6051  echo "$as_me: failed program was:" >&5
6052sed 's/^/| /' conftest.$ac_ext >&5
6053
6054  ac_header_preproc=no
6055fi
6056
6057rm -f conftest.err conftest.$ac_ext
6058{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6059echo "${ECHO_T}$ac_header_preproc" >&6; }
6060
6061# So?  What about this header?
6062case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6063  yes:no: )
6064    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6065echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6066    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6067echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6068    ac_header_preproc=yes
6069    ;;
6070  no:yes:* )
6071    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6072echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6073    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6074echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6075    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6076echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6077    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6078echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6079    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6080echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6081    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6082echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6083    ( cat <<\_ASBOX
6084## ---------------------------------- ##
6085## Report this to mgorse@alum.wpi.edu ##
6086## ---------------------------------- ##
6087_ASBOX
6088     ) | sed "s/^/$as_me: WARNING:     /" >&2
6089    ;;
6090esac
6091{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6092echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6093if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6094  echo $ECHO_N "(cached) $ECHO_C" >&6
6095else
6096  eval "$as_ac_Header=\$ac_header_preproc"
6097fi
6098ac_res=`eval echo '${'$as_ac_Header'}'`
6099	       { echo "$as_me:$LINENO: result: $ac_res" >&5
6100echo "${ECHO_T}$ac_res" >&6; }
6101
6102fi
6103if test `eval echo '${'$as_ac_Header'}'` = yes; then
6104  cat >>confdefs.h <<_ACEOF
6105#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6106_ACEOF
6107
6108fi
6109
6110done
6111
6112
6113
6114
6115for ac_header in pty.h util.h libutil.h
6116do
6117as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6118if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6119  { echo "$as_me:$LINENO: checking for $ac_header" >&5
6120echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6121if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6122  echo $ECHO_N "(cached) $ECHO_C" >&6
6123fi
6124ac_res=`eval echo '${'$as_ac_Header'}'`
6125	       { echo "$as_me:$LINENO: result: $ac_res" >&5
6126echo "${ECHO_T}$ac_res" >&6; }
6127else
6128  # Is the header compilable?
6129{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
6130echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6131cat >conftest.$ac_ext <<_ACEOF
6132/* confdefs.h.  */
6133_ACEOF
6134cat confdefs.h >>conftest.$ac_ext
6135cat >>conftest.$ac_ext <<_ACEOF
6136/* end confdefs.h.  */
6137$ac_includes_default
6138#include <$ac_header>
6139_ACEOF
6140rm -f conftest.$ac_objext
6141if { (ac_try="$ac_compile"
6142case "(($ac_try" in
6143  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6144  *) ac_try_echo=$ac_try;;
6145esac
6146eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6147  (eval "$ac_compile") 2>conftest.er1
6148  ac_status=$?
6149  grep -v '^ *+' conftest.er1 >conftest.err
6150  rm -f conftest.er1
6151  cat conftest.err >&5
6152  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6153  (exit $ac_status); } && {
6154	 test -z "$ac_c_werror_flag" ||
6155	 test ! -s conftest.err
6156       } && test -s conftest.$ac_objext; then
6157  ac_header_compiler=yes
6158else
6159  echo "$as_me: failed program was:" >&5
6160sed 's/^/| /' conftest.$ac_ext >&5
6161
6162	ac_header_compiler=no
6163fi
6164
6165rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6166{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6167echo "${ECHO_T}$ac_header_compiler" >&6; }
6168
6169# Is the header present?
6170{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
6171echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6172cat >conftest.$ac_ext <<_ACEOF
6173/* confdefs.h.  */
6174_ACEOF
6175cat confdefs.h >>conftest.$ac_ext
6176cat >>conftest.$ac_ext <<_ACEOF
6177/* end confdefs.h.  */
6178#include <$ac_header>
6179_ACEOF
6180if { (ac_try="$ac_cpp conftest.$ac_ext"
6181case "(($ac_try" in
6182  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6183  *) ac_try_echo=$ac_try;;
6184esac
6185eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6186  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6187  ac_status=$?
6188  grep -v '^ *+' conftest.er1 >conftest.err
6189  rm -f conftest.er1
6190  cat conftest.err >&5
6191  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6192  (exit $ac_status); } >/dev/null && {
6193	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6194	 test ! -s conftest.err
6195       }; then
6196  ac_header_preproc=yes
6197else
6198  echo "$as_me: failed program was:" >&5
6199sed 's/^/| /' conftest.$ac_ext >&5
6200
6201  ac_header_preproc=no
6202fi
6203
6204rm -f conftest.err conftest.$ac_ext
6205{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6206echo "${ECHO_T}$ac_header_preproc" >&6; }
6207
6208# So?  What about this header?
6209case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6210  yes:no: )
6211    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6212echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6213    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6214echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6215    ac_header_preproc=yes
6216    ;;
6217  no:yes:* )
6218    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6219echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6220    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6221echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6222    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6223echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6224    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6225echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6226    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6227echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6228    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6229echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6230    ( cat <<\_ASBOX
6231## ---------------------------------- ##
6232## Report this to mgorse@alum.wpi.edu ##
6233## ---------------------------------- ##
6234_ASBOX
6235     ) | sed "s/^/$as_me: WARNING:     /" >&2
6236    ;;
6237esac
6238{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6239echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6240if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6241  echo $ECHO_N "(cached) $ECHO_C" >&6
6242else
6243  eval "$as_ac_Header=\$ac_header_preproc"
6244fi
6245ac_res=`eval echo '${'$as_ac_Header'}'`
6246	       { echo "$as_me:$LINENO: result: $ac_res" >&5
6247echo "${ECHO_T}$ac_res" >&6; }
6248
6249fi
6250if test `eval echo '${'$as_ac_Header'}'` = yes; then
6251  cat >>confdefs.h <<_ACEOF
6252#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6253_ACEOF
6254 break
6255fi
6256
6257done
6258
6259
6260{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
6261echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
6262if test "${ac_cv_c_const+set}" = set; then
6263  echo $ECHO_N "(cached) $ECHO_C" >&6
6264else
6265  cat >conftest.$ac_ext <<_ACEOF
6266/* confdefs.h.  */
6267_ACEOF
6268cat confdefs.h >>conftest.$ac_ext
6269cat >>conftest.$ac_ext <<_ACEOF
6270/* end confdefs.h.  */
6271
6272int
6273main ()
6274{
6275/* FIXME: Include the comments suggested by Paul. */
6276#ifndef __cplusplus
6277  /* Ultrix mips cc rejects this.  */
6278  typedef int charset[2];
6279  const charset cs;
6280  /* SunOS 4.1.1 cc rejects this.  */
6281  char const *const *pcpcc;
6282  char **ppc;
6283  /* NEC SVR4.0.2 mips cc rejects this.  */
6284  struct point {int x, y;};
6285  static struct point const zero = {0,0};
6286  /* AIX XL C 1.02.0.0 rejects this.
6287     It does not let you subtract one const X* pointer from another in
6288     an arm of an if-expression whose if-part is not a constant
6289     expression */
6290  const char *g = "string";
6291  pcpcc = &g + (g ? g-g : 0);
6292  /* HPUX 7.0 cc rejects these. */
6293  ++pcpcc;
6294  ppc = (char**) pcpcc;
6295  pcpcc = (char const *const *) ppc;
6296  { /* SCO 3.2v4 cc rejects this.  */
6297    char *t;
6298    char const *s = 0 ? (char *) 0 : (char const *) 0;
6299
6300    *t++ = 0;
6301    if (s) return 0;
6302  }
6303  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
6304    int x[] = {25, 17};
6305    const int *foo = &x[0];
6306    ++foo;
6307  }
6308  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6309    typedef const int *iptr;
6310    iptr p = 0;
6311    ++p;
6312  }
6313  { /* AIX XL C 1.02.0.0 rejects this saying
6314       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6315    struct s { int j; const int *ap[3]; };
6316    struct s *b; b->j = 5;
6317  }
6318  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6319    const int foo = 10;
6320    if (!foo) return 0;
6321  }
6322  return !cs[0] && !zero.x;
6323#endif
6324
6325  ;
6326  return 0;
6327}
6328_ACEOF
6329rm -f conftest.$ac_objext
6330if { (ac_try="$ac_compile"
6331case "(($ac_try" in
6332  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6333  *) ac_try_echo=$ac_try;;
6334esac
6335eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6336  (eval "$ac_compile") 2>conftest.er1
6337  ac_status=$?
6338  grep -v '^ *+' conftest.er1 >conftest.err
6339  rm -f conftest.er1
6340  cat conftest.err >&5
6341  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6342  (exit $ac_status); } && {
6343	 test -z "$ac_c_werror_flag" ||
6344	 test ! -s conftest.err
6345       } && test -s conftest.$ac_objext; then
6346  ac_cv_c_const=yes
6347else
6348  echo "$as_me: failed program was:" >&5
6349sed 's/^/| /' conftest.$ac_ext >&5
6350
6351	ac_cv_c_const=no
6352fi
6353
6354rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6355fi
6356{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
6357echo "${ECHO_T}$ac_cv_c_const" >&6; }
6358if test $ac_cv_c_const = no; then
6359
6360cat >>confdefs.h <<\_ACEOF
6361#define const
6362_ACEOF
6363
6364fi
6365
6366{ echo "$as_me:$LINENO: checking for pid_t" >&5
6367echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
6368if test "${ac_cv_type_pid_t+set}" = set; then
6369  echo $ECHO_N "(cached) $ECHO_C" >&6
6370else
6371  cat >conftest.$ac_ext <<_ACEOF
6372/* confdefs.h.  */
6373_ACEOF
6374cat confdefs.h >>conftest.$ac_ext
6375cat >>conftest.$ac_ext <<_ACEOF
6376/* end confdefs.h.  */
6377$ac_includes_default
6378typedef pid_t ac__type_new_;
6379int
6380main ()
6381{
6382if ((ac__type_new_ *) 0)
6383  return 0;
6384if (sizeof (ac__type_new_))
6385  return 0;
6386  ;
6387  return 0;
6388}
6389_ACEOF
6390rm -f conftest.$ac_objext
6391if { (ac_try="$ac_compile"
6392case "(($ac_try" in
6393  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6394  *) ac_try_echo=$ac_try;;
6395esac
6396eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6397  (eval "$ac_compile") 2>conftest.er1
6398  ac_status=$?
6399  grep -v '^ *+' conftest.er1 >conftest.err
6400  rm -f conftest.er1
6401  cat conftest.err >&5
6402  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6403  (exit $ac_status); } && {
6404	 test -z "$ac_c_werror_flag" ||
6405	 test ! -s conftest.err
6406       } && test -s conftest.$ac_objext; then
6407  ac_cv_type_pid_t=yes
6408else
6409  echo "$as_me: failed program was:" >&5
6410sed 's/^/| /' conftest.$ac_ext >&5
6411
6412	ac_cv_type_pid_t=no
6413fi
6414
6415rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6416fi
6417{ echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
6418echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
6419if test $ac_cv_type_pid_t = yes; then
6420  :
6421else
6422
6423cat >>confdefs.h <<_ACEOF
6424#define pid_t int
6425_ACEOF
6426
6427fi
6428
6429{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6430echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
6431if test "${ac_cv_header_time+set}" = set; then
6432  echo $ECHO_N "(cached) $ECHO_C" >&6
6433else
6434  cat >conftest.$ac_ext <<_ACEOF
6435/* confdefs.h.  */
6436_ACEOF
6437cat confdefs.h >>conftest.$ac_ext
6438cat >>conftest.$ac_ext <<_ACEOF
6439/* end confdefs.h.  */
6440#include <sys/types.h>
6441#include <sys/time.h>
6442#include <time.h>
6443
6444int
6445main ()
6446{
6447if ((struct tm *) 0)
6448return 0;
6449  ;
6450  return 0;
6451}
6452_ACEOF
6453rm -f conftest.$ac_objext
6454if { (ac_try="$ac_compile"
6455case "(($ac_try" in
6456  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6457  *) ac_try_echo=$ac_try;;
6458esac
6459eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6460  (eval "$ac_compile") 2>conftest.er1
6461  ac_status=$?
6462  grep -v '^ *+' conftest.er1 >conftest.err
6463  rm -f conftest.er1
6464  cat conftest.err >&5
6465  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6466  (exit $ac_status); } && {
6467	 test -z "$ac_c_werror_flag" ||
6468	 test ! -s conftest.err
6469       } && test -s conftest.$ac_objext; then
6470  ac_cv_header_time=yes
6471else
6472  echo "$as_me: failed program was:" >&5
6473sed 's/^/| /' conftest.$ac_ext >&5
6474
6475	ac_cv_header_time=no
6476fi
6477
6478rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6479fi
6480{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6481echo "${ECHO_T}$ac_cv_header_time" >&6; }
6482if test $ac_cv_header_time = yes; then
6483
6484cat >>confdefs.h <<\_ACEOF
6485#define TIME_WITH_SYS_TIME 1
6486_ACEOF
6487
6488fi
6489
6490
6491if test $ac_cv_c_compiler_gnu = yes; then
6492    { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
6493echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
6494if test "${ac_cv_prog_gcc_traditional+set}" = set; then
6495  echo $ECHO_N "(cached) $ECHO_C" >&6
6496else
6497    ac_pattern="Autoconf.*'x'"
6498  cat >conftest.$ac_ext <<_ACEOF
6499/* confdefs.h.  */
6500_ACEOF
6501cat confdefs.h >>conftest.$ac_ext
6502cat >>conftest.$ac_ext <<_ACEOF
6503/* end confdefs.h.  */
6504#include <sgtty.h>
6505Autoconf TIOCGETP
6506_ACEOF
6507if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6508  $EGREP "$ac_pattern" >/dev/null 2>&1; then
6509  ac_cv_prog_gcc_traditional=yes
6510else
6511  ac_cv_prog_gcc_traditional=no
6512fi
6513rm -f conftest*
6514
6515
6516  if test $ac_cv_prog_gcc_traditional = no; then
6517    cat >conftest.$ac_ext <<_ACEOF
6518/* confdefs.h.  */
6519_ACEOF
6520cat confdefs.h >>conftest.$ac_ext
6521cat >>conftest.$ac_ext <<_ACEOF
6522/* end confdefs.h.  */
6523#include <termio.h>
6524Autoconf TCGETA
6525_ACEOF
6526if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6527  $EGREP "$ac_pattern" >/dev/null 2>&1; then
6528  ac_cv_prog_gcc_traditional=yes
6529fi
6530rm -f conftest*
6531
6532  fi
6533fi
6534{ echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
6535echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
6536  if test $ac_cv_prog_gcc_traditional = yes; then
6537    CC="$CC -traditional"
6538  fi
6539fi
6540
6541{ echo "$as_me:$LINENO: checking return type of signal handlers" >&5
6542echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
6543if test "${ac_cv_type_signal+set}" = set; then
6544  echo $ECHO_N "(cached) $ECHO_C" >&6
6545else
6546  cat >conftest.$ac_ext <<_ACEOF
6547/* confdefs.h.  */
6548_ACEOF
6549cat confdefs.h >>conftest.$ac_ext
6550cat >>conftest.$ac_ext <<_ACEOF
6551/* end confdefs.h.  */
6552#include <sys/types.h>
6553#include <signal.h>
6554
6555int
6556main ()
6557{
6558return *(signal (0, 0)) (0) == 1;
6559  ;
6560  return 0;
6561}
6562_ACEOF
6563rm -f conftest.$ac_objext
6564if { (ac_try="$ac_compile"
6565case "(($ac_try" in
6566  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6567  *) ac_try_echo=$ac_try;;
6568esac
6569eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6570  (eval "$ac_compile") 2>conftest.er1
6571  ac_status=$?
6572  grep -v '^ *+' conftest.er1 >conftest.err
6573  rm -f conftest.er1
6574  cat conftest.err >&5
6575  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6576  (exit $ac_status); } && {
6577	 test -z "$ac_c_werror_flag" ||
6578	 test ! -s conftest.err
6579       } && test -s conftest.$ac_objext; then
6580  ac_cv_type_signal=int
6581else
6582  echo "$as_me: failed program was:" >&5
6583sed 's/^/| /' conftest.$ac_ext >&5
6584
6585	ac_cv_type_signal=void
6586fi
6587
6588rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6589fi
6590{ echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
6591echo "${ECHO_T}$ac_cv_type_signal" >&6; }
6592
6593cat >>confdefs.h <<_ACEOF
6594#define RETSIGTYPE $ac_cv_type_signal
6595_ACEOF
6596
6597
6598
6599
6600
6601
6602for ac_func in select strdup strtol inet_pton
6603do
6604as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6605{ echo "$as_me:$LINENO: checking for $ac_func" >&5
6606echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6607if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6608  echo $ECHO_N "(cached) $ECHO_C" >&6
6609else
6610  cat >conftest.$ac_ext <<_ACEOF
6611/* confdefs.h.  */
6612_ACEOF
6613cat confdefs.h >>conftest.$ac_ext
6614cat >>conftest.$ac_ext <<_ACEOF
6615/* end confdefs.h.  */
6616/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6617   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6618#define $ac_func innocuous_$ac_func
6619
6620/* System header to define __stub macros and hopefully few prototypes,
6621    which can conflict with char $ac_func (); below.
6622    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6623    <limits.h> exists even on freestanding compilers.  */
6624
6625#ifdef __STDC__
6626# include <limits.h>
6627#else
6628# include <assert.h>
6629#endif
6630
6631#undef $ac_func
6632
6633/* Override any GCC internal prototype to avoid an error.
6634   Use char because int might match the return type of a GCC
6635   builtin and then its argument prototype would still apply.  */
6636#ifdef __cplusplus
6637extern "C"
6638#endif
6639char $ac_func ();
6640/* The GNU C library defines this for functions which it implements
6641    to always fail with ENOSYS.  Some functions are actually named
6642    something starting with __ and the normal name is an alias.  */
6643#if defined __stub_$ac_func || defined __stub___$ac_func
6644choke me
6645#endif
6646
6647int
6648main ()
6649{
6650return $ac_func ();
6651  ;
6652  return 0;
6653}
6654_ACEOF
6655rm -f conftest.$ac_objext conftest$ac_exeext
6656if { (ac_try="$ac_link"
6657case "(($ac_try" in
6658  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6659  *) ac_try_echo=$ac_try;;
6660esac
6661eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6662  (eval "$ac_link") 2>conftest.er1
6663  ac_status=$?
6664  grep -v '^ *+' conftest.er1 >conftest.err
6665  rm -f conftest.er1
6666  cat conftest.err >&5
6667  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6668  (exit $ac_status); } && {
6669	 test -z "$ac_c_werror_flag" ||
6670	 test ! -s conftest.err
6671       } && test -s conftest$ac_exeext &&
6672       $as_test_x conftest$ac_exeext; then
6673  eval "$as_ac_var=yes"
6674else
6675  echo "$as_me: failed program was:" >&5
6676sed 's/^/| /' conftest.$ac_ext >&5
6677
6678	eval "$as_ac_var=no"
6679fi
6680
6681rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6682      conftest$ac_exeext conftest.$ac_ext
6683fi
6684ac_res=`eval echo '${'$as_ac_var'}'`
6685	       { echo "$as_me:$LINENO: result: $ac_res" >&5
6686echo "${ECHO_T}$ac_res" >&6; }
6687if test `eval echo '${'$as_ac_var'}'` = yes; then
6688  cat >>confdefs.h <<_ACEOF
6689#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6690_ACEOF
6691
6692fi
6693done
6694
6695
6696
6697
6698
6699for ac_func in openpty forkpty login_tty cfmakeraw
6700do
6701as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6702{ echo "$as_me:$LINENO: checking for $ac_func" >&5
6703echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6704if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6705  echo $ECHO_N "(cached) $ECHO_C" >&6
6706else
6707  cat >conftest.$ac_ext <<_ACEOF
6708/* confdefs.h.  */
6709_ACEOF
6710cat confdefs.h >>conftest.$ac_ext
6711cat >>conftest.$ac_ext <<_ACEOF
6712/* end confdefs.h.  */
6713/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6714   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6715#define $ac_func innocuous_$ac_func
6716
6717/* System header to define __stub macros and hopefully few prototypes,
6718    which can conflict with char $ac_func (); below.
6719    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6720    <limits.h> exists even on freestanding compilers.  */
6721
6722#ifdef __STDC__
6723# include <limits.h>
6724#else
6725# include <assert.h>
6726#endif
6727
6728#undef $ac_func
6729
6730/* Override any GCC internal prototype to avoid an error.
6731   Use char because int might match the return type of a GCC
6732   builtin and then its argument prototype would still apply.  */
6733#ifdef __cplusplus
6734extern "C"
6735#endif
6736char $ac_func ();
6737/* The GNU C library defines this for functions which it implements
6738    to always fail with ENOSYS.  Some functions are actually named
6739    something starting with __ and the normal name is an alias.  */
6740#if defined __stub_$ac_func || defined __stub___$ac_func
6741choke me
6742#endif
6743
6744int
6745main ()
6746{
6747return $ac_func ();
6748  ;
6749  return 0;
6750}
6751_ACEOF
6752rm -f conftest.$ac_objext conftest$ac_exeext
6753if { (ac_try="$ac_link"
6754case "(($ac_try" in
6755  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6756  *) ac_try_echo=$ac_try;;
6757esac
6758eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6759  (eval "$ac_link") 2>conftest.er1
6760  ac_status=$?
6761  grep -v '^ *+' conftest.er1 >conftest.err
6762  rm -f conftest.er1
6763  cat conftest.err >&5
6764  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6765  (exit $ac_status); } && {
6766	 test -z "$ac_c_werror_flag" ||
6767	 test ! -s conftest.err
6768       } && test -s conftest$ac_exeext &&
6769       $as_test_x conftest$ac_exeext; then
6770  eval "$as_ac_var=yes"
6771else
6772  echo "$as_me: failed program was:" >&5
6773sed 's/^/| /' conftest.$ac_ext >&5
6774
6775	eval "$as_ac_var=no"
6776fi
6777
6778rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6779      conftest$ac_exeext conftest.$ac_ext
6780fi
6781ac_res=`eval echo '${'$as_ac_var'}'`
6782	       { echo "$as_me:$LINENO: result: $ac_res" >&5
6783echo "${ECHO_T}$ac_res" >&6; }
6784if test `eval echo '${'$as_ac_var'}'` = yes; then
6785  cat >>confdefs.h <<_ACEOF
6786#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6787_ACEOF
6788
6789else
6790  case " $LIBOBJS " in
6791  *" $ac_func.$ac_objext "* ) ;;
6792  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
6793 ;;
6794esac
6795
6796fi
6797done
6798
6799
6800
6801{ echo "$as_me:$LINENO: checking for socket" >&5
6802echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
6803if test "${ac_cv_func_socket+set}" = set; then
6804  echo $ECHO_N "(cached) $ECHO_C" >&6
6805else
6806  cat >conftest.$ac_ext <<_ACEOF
6807/* confdefs.h.  */
6808_ACEOF
6809cat confdefs.h >>conftest.$ac_ext
6810cat >>conftest.$ac_ext <<_ACEOF
6811/* end confdefs.h.  */
6812/* Define socket to an innocuous variant, in case <limits.h> declares socket.
6813   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6814#define socket innocuous_socket
6815
6816/* System header to define __stub macros and hopefully few prototypes,
6817    which can conflict with char socket (); below.
6818    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6819    <limits.h> exists even on freestanding compilers.  */
6820
6821#ifdef __STDC__
6822# include <limits.h>
6823#else
6824# include <assert.h>
6825#endif
6826
6827#undef socket
6828
6829/* Override any GCC internal prototype to avoid an error.
6830   Use char because int might match the return type of a GCC
6831   builtin and then its argument prototype would still apply.  */
6832#ifdef __cplusplus
6833extern "C"
6834#endif
6835char socket ();
6836/* The GNU C library defines this for functions which it implements
6837    to always fail with ENOSYS.  Some functions are actually named
6838    something starting with __ and the normal name is an alias.  */
6839#if defined __stub_socket || defined __stub___socket
6840choke me
6841#endif
6842
6843int
6844main ()
6845{
6846return socket ();
6847  ;
6848  return 0;
6849}
6850_ACEOF
6851rm -f conftest.$ac_objext conftest$ac_exeext
6852if { (ac_try="$ac_link"
6853case "(($ac_try" in
6854  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6855  *) ac_try_echo=$ac_try;;
6856esac
6857eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6858  (eval "$ac_link") 2>conftest.er1
6859  ac_status=$?
6860  grep -v '^ *+' conftest.er1 >conftest.err
6861  rm -f conftest.er1
6862  cat conftest.err >&5
6863  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6864  (exit $ac_status); } && {
6865	 test -z "$ac_c_werror_flag" ||
6866	 test ! -s conftest.err
6867       } && test -s conftest$ac_exeext &&
6868       $as_test_x conftest$ac_exeext; then
6869  ac_cv_func_socket=yes
6870else
6871  echo "$as_me: failed program was:" >&5
6872sed 's/^/| /' conftest.$ac_ext >&5
6873
6874	ac_cv_func_socket=no
6875fi
6876
6877rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6878      conftest$ac_exeext conftest.$ac_ext
6879fi
6880{ echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
6881echo "${ECHO_T}$ac_cv_func_socket" >&6; }
6882if test $ac_cv_func_socket = yes; then
6883  :
6884else
6885
6886{ echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
6887echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
6888if test "${ac_cv_lib_socket_socket+set}" = set; then
6889  echo $ECHO_N "(cached) $ECHO_C" >&6
6890else
6891  ac_check_lib_save_LIBS=$LIBS
6892LIBS="-lsocket  $LIBS"
6893cat >conftest.$ac_ext <<_ACEOF
6894/* confdefs.h.  */
6895_ACEOF
6896cat confdefs.h >>conftest.$ac_ext
6897cat >>conftest.$ac_ext <<_ACEOF
6898/* end confdefs.h.  */
6899
6900/* Override any GCC internal prototype to avoid an error.
6901   Use char because int might match the return type of a GCC
6902   builtin and then its argument prototype would still apply.  */
6903#ifdef __cplusplus
6904extern "C"
6905#endif
6906char socket ();
6907int
6908main ()
6909{
6910return socket ();
6911  ;
6912  return 0;
6913}
6914_ACEOF
6915rm -f conftest.$ac_objext conftest$ac_exeext
6916if { (ac_try="$ac_link"
6917case "(($ac_try" in
6918  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6919  *) ac_try_echo=$ac_try;;
6920esac
6921eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6922  (eval "$ac_link") 2>conftest.er1
6923  ac_status=$?
6924  grep -v '^ *+' conftest.er1 >conftest.err
6925  rm -f conftest.er1
6926  cat conftest.err >&5
6927  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6928  (exit $ac_status); } && {
6929	 test -z "$ac_c_werror_flag" ||
6930	 test ! -s conftest.err
6931       } && test -s conftest$ac_exeext &&
6932       $as_test_x conftest$ac_exeext; then
6933  ac_cv_lib_socket_socket=yes
6934else
6935  echo "$as_me: failed program was:" >&5
6936sed 's/^/| /' conftest.$ac_ext >&5
6937
6938	ac_cv_lib_socket_socket=no
6939fi
6940
6941rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6942      conftest$ac_exeext conftest.$ac_ext
6943LIBS=$ac_check_lib_save_LIBS
6944fi
6945{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
6946echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
6947if test $ac_cv_lib_socket_socket = yes; then
6948  cat >>confdefs.h <<_ACEOF
6949#define HAVE_LIBSOCKET 1
6950_ACEOF
6951
6952  LIBS="-lsocket $LIBS"
6953
6954fi
6955
6956fi
6957
6958{ echo "$as_me:$LINENO: checking for gethostbyname" >&5
6959echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
6960if test "${ac_cv_func_gethostbyname+set}" = set; then
6961  echo $ECHO_N "(cached) $ECHO_C" >&6
6962else
6963  cat >conftest.$ac_ext <<_ACEOF
6964/* confdefs.h.  */
6965_ACEOF
6966cat confdefs.h >>conftest.$ac_ext
6967cat >>conftest.$ac_ext <<_ACEOF
6968/* end confdefs.h.  */
6969/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
6970   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6971#define gethostbyname innocuous_gethostbyname
6972
6973/* System header to define __stub macros and hopefully few prototypes,
6974    which can conflict with char gethostbyname (); below.
6975    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6976    <limits.h> exists even on freestanding compilers.  */
6977
6978#ifdef __STDC__
6979# include <limits.h>
6980#else
6981# include <assert.h>
6982#endif
6983
6984#undef gethostbyname
6985
6986/* Override any GCC internal prototype to avoid an error.
6987   Use char because int might match the return type of a GCC
6988   builtin and then its argument prototype would still apply.  */
6989#ifdef __cplusplus
6990extern "C"
6991#endif
6992char gethostbyname ();
6993/* The GNU C library defines this for functions which it implements
6994    to always fail with ENOSYS.  Some functions are actually named
6995    something starting with __ and the normal name is an alias.  */
6996#if defined __stub_gethostbyname || defined __stub___gethostbyname
6997choke me
6998#endif
6999
7000int
7001main ()
7002{
7003return gethostbyname ();
7004  ;
7005  return 0;
7006}
7007_ACEOF
7008rm -f conftest.$ac_objext conftest$ac_exeext
7009if { (ac_try="$ac_link"
7010case "(($ac_try" in
7011  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7012  *) ac_try_echo=$ac_try;;
7013esac
7014eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7015  (eval "$ac_link") 2>conftest.er1
7016  ac_status=$?
7017  grep -v '^ *+' conftest.er1 >conftest.err
7018  rm -f conftest.er1
7019  cat conftest.err >&5
7020  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7021  (exit $ac_status); } && {
7022	 test -z "$ac_c_werror_flag" ||
7023	 test ! -s conftest.err
7024       } && test -s conftest$ac_exeext &&
7025       $as_test_x conftest$ac_exeext; then
7026  ac_cv_func_gethostbyname=yes
7027else
7028  echo "$as_me: failed program was:" >&5
7029sed 's/^/| /' conftest.$ac_ext >&5
7030
7031	ac_cv_func_gethostbyname=no
7032fi
7033
7034rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7035      conftest$ac_exeext conftest.$ac_ext
7036fi
7037{ echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
7038echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
7039if test $ac_cv_func_gethostbyname = yes; then
7040  :
7041else
7042
7043{ echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
7044echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
7045if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
7046  echo $ECHO_N "(cached) $ECHO_C" >&6
7047else
7048  ac_check_lib_save_LIBS=$LIBS
7049LIBS="-lnsl  $LIBS"
7050cat >conftest.$ac_ext <<_ACEOF
7051/* confdefs.h.  */
7052_ACEOF
7053cat confdefs.h >>conftest.$ac_ext
7054cat >>conftest.$ac_ext <<_ACEOF
7055/* end confdefs.h.  */
7056
7057/* Override any GCC internal prototype to avoid an error.
7058   Use char because int might match the return type of a GCC
7059   builtin and then its argument prototype would still apply.  */
7060#ifdef __cplusplus
7061extern "C"
7062#endif
7063char gethostbyname ();
7064int
7065main ()
7066{
7067return gethostbyname ();
7068  ;
7069  return 0;
7070}
7071_ACEOF
7072rm -f conftest.$ac_objext conftest$ac_exeext
7073if { (ac_try="$ac_link"
7074case "(($ac_try" in
7075  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7076  *) ac_try_echo=$ac_try;;
7077esac
7078eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7079  (eval "$ac_link") 2>conftest.er1
7080  ac_status=$?
7081  grep -v '^ *+' conftest.er1 >conftest.err
7082  rm -f conftest.er1
7083  cat conftest.err >&5
7084  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7085  (exit $ac_status); } && {
7086	 test -z "$ac_c_werror_flag" ||
7087	 test ! -s conftest.err
7088       } && test -s conftest$ac_exeext &&
7089       $as_test_x conftest$ac_exeext; then
7090  ac_cv_lib_nsl_gethostbyname=yes
7091else
7092  echo "$as_me: failed program was:" >&5
7093sed 's/^/| /' conftest.$ac_ext >&5
7094
7095	ac_cv_lib_nsl_gethostbyname=no
7096fi
7097
7098rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7099      conftest$ac_exeext conftest.$ac_ext
7100LIBS=$ac_check_lib_save_LIBS
7101fi
7102{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
7103echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
7104if test $ac_cv_lib_nsl_gethostbyname = yes; then
7105  cat >>confdefs.h <<_ACEOF
7106#define HAVE_LIBNSL 1
7107_ACEOF
7108
7109  LIBS="-lnsl $LIBS"
7110
7111fi
7112
7113fi
7114
7115
7116ALL_LINGUAS=""
7117
7118# Make sure we can run config.sub.
7119$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
7120  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
7121echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
7122   { (exit 1); exit 1; }; }
7123
7124{ echo "$as_me:$LINENO: checking build system type" >&5
7125echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
7126if test "${ac_cv_build+set}" = set; then
7127  echo $ECHO_N "(cached) $ECHO_C" >&6
7128else
7129  ac_build_alias=$build_alias
7130test "x$ac_build_alias" = x &&
7131  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
7132test "x$ac_build_alias" = x &&
7133  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
7134echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
7135   { (exit 1); exit 1; }; }
7136ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
7137  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
7138echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
7139   { (exit 1); exit 1; }; }
7140
7141fi
7142{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
7143echo "${ECHO_T}$ac_cv_build" >&6; }
7144case $ac_cv_build in
7145*-*-*) ;;
7146*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
7147echo "$as_me: error: invalid value of canonical build" >&2;}
7148   { (exit 1); exit 1; }; };;
7149esac
7150build=$ac_cv_build
7151ac_save_IFS=$IFS; IFS='-'
7152set x $ac_cv_build
7153shift
7154build_cpu=$1
7155build_vendor=$2
7156shift; shift
7157# Remember, the first character of IFS is used to create $*,
7158# except with old shells:
7159build_os=$*
7160IFS=$ac_save_IFS
7161case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
7162
7163
7164{ echo "$as_me:$LINENO: checking host system type" >&5
7165echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
7166if test "${ac_cv_host+set}" = set; then
7167  echo $ECHO_N "(cached) $ECHO_C" >&6
7168else
7169  if test "x$host_alias" = x; then
7170  ac_cv_host=$ac_cv_build
7171else
7172  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
7173    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
7174echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
7175   { (exit 1); exit 1; }; }
7176fi
7177
7178fi
7179{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
7180echo "${ECHO_T}$ac_cv_host" >&6; }
7181case $ac_cv_host in
7182*-*-*) ;;
7183*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
7184echo "$as_me: error: invalid value of canonical host" >&2;}
7185   { (exit 1); exit 1; }; };;
7186esac
7187host=$ac_cv_host
7188ac_save_IFS=$IFS; IFS='-'
7189set x $ac_cv_host
7190shift
7191host_cpu=$1
7192host_vendor=$2
7193shift; shift
7194# Remember, the first character of IFS is used to create $*,
7195# except with old shells:
7196host_os=$*
7197IFS=$ac_save_IFS
7198case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
7199
7200
7201case "$host" in
7202*-*-solaris*)   yasr_type_sun=true;;
7203*)                  yasr_type_sun=false;;
7204esac
7205 if $yasr_type_sun; then
7206  YASR_SUN_TRUE=
7207  YASR_SUN_FALSE='#'
7208else
7209  YASR_SUN_TRUE='#'
7210  YASR_SUN_FALSE=
7211fi
7212
7213
7214packagesrcdir=`cd $srcdir && pwd`
7215cat >>confdefs.h <<_ACEOF
7216#define PACKAGE_SOURCE_DIR "${packagesrcdir}"
7217_ACEOF
7218
7219
7220if test "x$GCC" = "xyes"; then
7221  case " $CFLAGS " in
7222  *[\ \	]-Wall[\ \	]*) ;;
7223  *) CFLAGS="$CFLAGS -Wall" ;;
7224  esac
7225fi
7226
7227
7228  { echo "$as_me:$LINENO: checking whether NLS is requested" >&5
7229echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; }
7230    # Check whether --enable-nls was given.
7231if test "${enable_nls+set}" = set; then
7232  enableval=$enable_nls; USE_NLS=$enableval
7233else
7234  USE_NLS=yes
7235fi
7236
7237  { echo "$as_me:$LINENO: result: $USE_NLS" >&5
7238echo "${ECHO_T}$USE_NLS" >&6; }
7239
7240
7241
7242
7243      GETTEXT_MACRO_VERSION=0.17
7244
7245
7246
7247
7248# Prepare PATH_SEPARATOR.
7249# The user is always right.
7250if test "${PATH_SEPARATOR+set}" != set; then
7251  echo "#! /bin/sh" >conf$$.sh
7252  echo  "exit 0"   >>conf$$.sh
7253  chmod +x conf$$.sh
7254  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
7255    PATH_SEPARATOR=';'
7256  else
7257    PATH_SEPARATOR=:
7258  fi
7259  rm -f conf$$.sh
7260fi
7261
7262# Find out how to test for executable files. Don't use a zero-byte file,
7263# as systems may use methods other than mode bits to determine executability.
7264cat >conf$$.file <<_ASEOF
7265#! /bin/sh
7266exit 0
7267_ASEOF
7268chmod +x conf$$.file
7269if test -x conf$$.file >/dev/null 2>&1; then
7270  ac_executable_p="test -x"
7271else
7272  ac_executable_p="test -f"
7273fi
7274rm -f conf$$.file
7275
7276# Extract the first word of "msgfmt", so it can be a program name with args.
7277set dummy msgfmt; ac_word=$2
7278{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7279echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7280if test "${ac_cv_path_MSGFMT+set}" = set; then
7281  echo $ECHO_N "(cached) $ECHO_C" >&6
7282else
7283  case "$MSGFMT" in
7284  [\\/]* | ?:[\\/]*)
7285    ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
7286    ;;
7287  *)
7288    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
7289    for ac_dir in $PATH; do
7290      IFS="$ac_save_IFS"
7291      test -z "$ac_dir" && ac_dir=.
7292      for ac_exec_ext in '' $ac_executable_extensions; do
7293        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
7294          echo "$as_me: trying $ac_dir/$ac_word..." >&5
7295          if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
7296     (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
7297            ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
7298            break 2
7299          fi
7300        fi
7301      done
7302    done
7303    IFS="$ac_save_IFS"
7304  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
7305    ;;
7306esac
7307fi
7308MSGFMT="$ac_cv_path_MSGFMT"
7309if test "$MSGFMT" != ":"; then
7310  { echo "$as_me:$LINENO: result: $MSGFMT" >&5
7311echo "${ECHO_T}$MSGFMT" >&6; }
7312else
7313  { echo "$as_me:$LINENO: result: no" >&5
7314echo "${ECHO_T}no" >&6; }
7315fi
7316
7317  # Extract the first word of "gmsgfmt", so it can be a program name with args.
7318set dummy gmsgfmt; ac_word=$2
7319{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7320echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7321if test "${ac_cv_path_GMSGFMT+set}" = set; then
7322  echo $ECHO_N "(cached) $ECHO_C" >&6
7323else
7324  case $GMSGFMT in
7325  [\\/]* | ?:[\\/]*)
7326  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
7327  ;;
7328  *)
7329  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7330for as_dir in $PATH
7331do
7332  IFS=$as_save_IFS
7333  test -z "$as_dir" && as_dir=.
7334  for ac_exec_ext in '' $ac_executable_extensions; do
7335  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7336    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
7337    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7338    break 2
7339  fi
7340done
7341done
7342IFS=$as_save_IFS
7343
7344  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
7345  ;;
7346esac
7347fi
7348GMSGFMT=$ac_cv_path_GMSGFMT
7349if test -n "$GMSGFMT"; then
7350  { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7351echo "${ECHO_T}$GMSGFMT" >&6; }
7352else
7353  { echo "$as_me:$LINENO: result: no" >&5
7354echo "${ECHO_T}no" >&6; }
7355fi
7356
7357
7358
7359    case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
7360    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
7361    *) MSGFMT_015=$MSGFMT ;;
7362  esac
7363
7364  case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
7365    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
7366    *) GMSGFMT_015=$GMSGFMT ;;
7367  esac
7368
7369
7370
7371# Prepare PATH_SEPARATOR.
7372# The user is always right.
7373if test "${PATH_SEPARATOR+set}" != set; then
7374  echo "#! /bin/sh" >conf$$.sh
7375  echo  "exit 0"   >>conf$$.sh
7376  chmod +x conf$$.sh
7377  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
7378    PATH_SEPARATOR=';'
7379  else
7380    PATH_SEPARATOR=:
7381  fi
7382  rm -f conf$$.sh
7383fi
7384
7385# Find out how to test for executable files. Don't use a zero-byte file,
7386# as systems may use methods other than mode bits to determine executability.
7387cat >conf$$.file <<_ASEOF
7388#! /bin/sh
7389exit 0
7390_ASEOF
7391chmod +x conf$$.file
7392if test -x conf$$.file >/dev/null 2>&1; then
7393  ac_executable_p="test -x"
7394else
7395  ac_executable_p="test -f"
7396fi
7397rm -f conf$$.file
7398
7399# Extract the first word of "xgettext", so it can be a program name with args.
7400set dummy xgettext; ac_word=$2
7401{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7402echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7403if test "${ac_cv_path_XGETTEXT+set}" = set; then
7404  echo $ECHO_N "(cached) $ECHO_C" >&6
7405else
7406  case "$XGETTEXT" in
7407  [\\/]* | ?:[\\/]*)
7408    ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
7409    ;;
7410  *)
7411    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
7412    for ac_dir in $PATH; do
7413      IFS="$ac_save_IFS"
7414      test -z "$ac_dir" && ac_dir=.
7415      for ac_exec_ext in '' $ac_executable_extensions; do
7416        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
7417          echo "$as_me: trying $ac_dir/$ac_word..." >&5
7418          if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
7419     (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
7420            ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
7421            break 2
7422          fi
7423        fi
7424      done
7425    done
7426    IFS="$ac_save_IFS"
7427  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
7428    ;;
7429esac
7430fi
7431XGETTEXT="$ac_cv_path_XGETTEXT"
7432if test "$XGETTEXT" != ":"; then
7433  { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7434echo "${ECHO_T}$XGETTEXT" >&6; }
7435else
7436  { echo "$as_me:$LINENO: result: no" >&5
7437echo "${ECHO_T}no" >&6; }
7438fi
7439
7440    rm -f messages.po
7441
7442    case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
7443    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
7444    *) XGETTEXT_015=$XGETTEXT ;;
7445  esac
7446
7447
7448
7449# Prepare PATH_SEPARATOR.
7450# The user is always right.
7451if test "${PATH_SEPARATOR+set}" != set; then
7452  echo "#! /bin/sh" >conf$$.sh
7453  echo  "exit 0"   >>conf$$.sh
7454  chmod +x conf$$.sh
7455  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
7456    PATH_SEPARATOR=';'
7457  else
7458    PATH_SEPARATOR=:
7459  fi
7460  rm -f conf$$.sh
7461fi
7462
7463# Find out how to test for executable files. Don't use a zero-byte file,
7464# as systems may use methods other than mode bits to determine executability.
7465cat >conf$$.file <<_ASEOF
7466#! /bin/sh
7467exit 0
7468_ASEOF
7469chmod +x conf$$.file
7470if test -x conf$$.file >/dev/null 2>&1; then
7471  ac_executable_p="test -x"
7472else
7473  ac_executable_p="test -f"
7474fi
7475rm -f conf$$.file
7476
7477# Extract the first word of "msgmerge", so it can be a program name with args.
7478set dummy msgmerge; ac_word=$2
7479{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7480echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7481if test "${ac_cv_path_MSGMERGE+set}" = set; then
7482  echo $ECHO_N "(cached) $ECHO_C" >&6
7483else
7484  case "$MSGMERGE" in
7485  [\\/]* | ?:[\\/]*)
7486    ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
7487    ;;
7488  *)
7489    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
7490    for ac_dir in $PATH; do
7491      IFS="$ac_save_IFS"
7492      test -z "$ac_dir" && ac_dir=.
7493      for ac_exec_ext in '' $ac_executable_extensions; do
7494        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
7495          echo "$as_me: trying $ac_dir/$ac_word..." >&5
7496          if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
7497            ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
7498            break 2
7499          fi
7500        fi
7501      done
7502    done
7503    IFS="$ac_save_IFS"
7504  test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
7505    ;;
7506esac
7507fi
7508MSGMERGE="$ac_cv_path_MSGMERGE"
7509if test "$MSGMERGE" != ":"; then
7510  { echo "$as_me:$LINENO: result: $MSGMERGE" >&5
7511echo "${ECHO_T}$MSGMERGE" >&6; }
7512else
7513  { echo "$as_me:$LINENO: result: no" >&5
7514echo "${ECHO_T}no" >&6; }
7515fi
7516
7517
7518        test -n "$localedir" || localedir='${datadir}/locale'
7519
7520
7521    test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
7522
7523
7524  ac_config_commands="$ac_config_commands po-directories"
7525
7526
7527
7528      if test "X$prefix" = "XNONE"; then
7529    acl_final_prefix="$ac_default_prefix"
7530  else
7531    acl_final_prefix="$prefix"
7532  fi
7533  if test "X$exec_prefix" = "XNONE"; then
7534    acl_final_exec_prefix='${prefix}'
7535  else
7536    acl_final_exec_prefix="$exec_prefix"
7537  fi
7538  acl_save_prefix="$prefix"
7539  prefix="$acl_final_prefix"
7540  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
7541  prefix="$acl_save_prefix"
7542
7543
7544# Check whether --with-gnu-ld was given.
7545if test "${with_gnu_ld+set}" = set; then
7546  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
7547else
7548  with_gnu_ld=no
7549fi
7550
7551# Prepare PATH_SEPARATOR.
7552# The user is always right.
7553if test "${PATH_SEPARATOR+set}" != set; then
7554  echo "#! /bin/sh" >conf$$.sh
7555  echo  "exit 0"   >>conf$$.sh
7556  chmod +x conf$$.sh
7557  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
7558    PATH_SEPARATOR=';'
7559  else
7560    PATH_SEPARATOR=:
7561  fi
7562  rm -f conf$$.sh
7563fi
7564ac_prog=ld
7565if test "$GCC" = yes; then
7566  # Check if gcc -print-prog-name=ld gives a path.
7567  { echo "$as_me:$LINENO: checking for ld used by GCC" >&5
7568echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; }
7569  case $host in
7570  *-*-mingw*)
7571    # gcc leaves a trailing carriage return which upsets mingw
7572    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7573  *)
7574    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7575  esac
7576  case $ac_prog in
7577    # Accept absolute paths.
7578    [\\/]* | [A-Za-z]:[\\/]*)
7579      re_direlt='/[^/][^/]*/\.\./'
7580      # Canonicalize the path of ld
7581      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
7582      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
7583	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
7584      done
7585      test -z "$LD" && LD="$ac_prog"
7586      ;;
7587  "")
7588    # If it fails, then pretend we aren't using GCC.
7589    ac_prog=ld
7590    ;;
7591  *)
7592    # If it is relative, then search for the first ld in PATH.
7593    with_gnu_ld=unknown
7594    ;;
7595  esac
7596elif test "$with_gnu_ld" = yes; then
7597  { echo "$as_me:$LINENO: checking for GNU ld" >&5
7598echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
7599else
7600  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
7601echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
7602fi
7603if test "${acl_cv_path_LD+set}" = set; then
7604  echo $ECHO_N "(cached) $ECHO_C" >&6
7605else
7606  if test -z "$LD"; then
7607  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
7608  for ac_dir in $PATH; do
7609    test -z "$ac_dir" && ac_dir=.
7610    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7611      acl_cv_path_LD="$ac_dir/$ac_prog"
7612      # Check to see if the program is GNU ld.  I'd rather use --version,
7613      # but apparently some GNU ld's only accept -v.
7614      # Break only if it was the GNU/non-GNU ld that we prefer.
7615      case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
7616      *GNU* | *'with BFD'*)
7617	test "$with_gnu_ld" != no && break ;;
7618      *)
7619	test "$with_gnu_ld" != yes && break ;;
7620      esac
7621    fi
7622  done
7623  IFS="$ac_save_ifs"
7624else
7625  acl_cv_path_LD="$LD" # Let the user override the test with a path.
7626fi
7627fi
7628
7629LD="$acl_cv_path_LD"
7630if test -n "$LD"; then
7631  { echo "$as_me:$LINENO: result: $LD" >&5
7632echo "${ECHO_T}$LD" >&6; }
7633else
7634  { echo "$as_me:$LINENO: result: no" >&5
7635echo "${ECHO_T}no" >&6; }
7636fi
7637test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
7638echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
7639   { (exit 1); exit 1; }; }
7640{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
7641echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
7642if test "${acl_cv_prog_gnu_ld+set}" = set; then
7643  echo $ECHO_N "(cached) $ECHO_C" >&6
7644else
7645  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
7646case `$LD -v 2>&1 </dev/null` in
7647*GNU* | *'with BFD'*)
7648  acl_cv_prog_gnu_ld=yes ;;
7649*)
7650  acl_cv_prog_gnu_ld=no ;;
7651esac
7652fi
7653{ echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
7654echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6; }
7655with_gnu_ld=$acl_cv_prog_gnu_ld
7656
7657
7658
7659
7660                                                { echo "$as_me:$LINENO: checking for shared library run path origin" >&5
7661echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6; }
7662if test "${acl_cv_rpath+set}" = set; then
7663  echo $ECHO_N "(cached) $ECHO_C" >&6
7664else
7665
7666    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
7667    ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
7668    . ./conftest.sh
7669    rm -f ./conftest.sh
7670    acl_cv_rpath=done
7671
7672fi
7673{ echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
7674echo "${ECHO_T}$acl_cv_rpath" >&6; }
7675  wl="$acl_cv_wl"
7676  acl_libext="$acl_cv_libext"
7677  acl_shlibext="$acl_cv_shlibext"
7678  acl_libname_spec="$acl_cv_libname_spec"
7679  acl_library_names_spec="$acl_cv_library_names_spec"
7680  acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
7681  acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
7682  acl_hardcode_direct="$acl_cv_hardcode_direct"
7683  acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
7684    # Check whether --enable-rpath was given.
7685if test "${enable_rpath+set}" = set; then
7686  enableval=$enable_rpath; :
7687else
7688  enable_rpath=yes
7689fi
7690
7691
7692
7693                  acl_libdirstem=lib
7694  searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
7695  if test -n "$searchpath"; then
7696    acl_save_IFS="${IFS= 	}"; IFS=":"
7697    for searchdir in $searchpath; do
7698      if test -d "$searchdir"; then
7699        case "$searchdir" in
7700          */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
7701          *) searchdir=`cd "$searchdir" && pwd`
7702             case "$searchdir" in
7703               */lib64 ) acl_libdirstem=lib64 ;;
7704             esac ;;
7705        esac
7706      fi
7707    done
7708    IFS="$acl_save_IFS"
7709  fi
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719    use_additional=yes
7720
7721  acl_save_prefix="$prefix"
7722  prefix="$acl_final_prefix"
7723  acl_save_exec_prefix="$exec_prefix"
7724  exec_prefix="$acl_final_exec_prefix"
7725
7726    eval additional_includedir=\"$includedir\"
7727    eval additional_libdir=\"$libdir\"
7728
7729  exec_prefix="$acl_save_exec_prefix"
7730  prefix="$acl_save_prefix"
7731
7732
7733# Check whether --with-libiconv-prefix was given.
7734if test "${with_libiconv_prefix+set}" = set; then
7735  withval=$with_libiconv_prefix;
7736    if test "X$withval" = "Xno"; then
7737      use_additional=no
7738    else
7739      if test "X$withval" = "X"; then
7740
7741  acl_save_prefix="$prefix"
7742  prefix="$acl_final_prefix"
7743  acl_save_exec_prefix="$exec_prefix"
7744  exec_prefix="$acl_final_exec_prefix"
7745
7746          eval additional_includedir=\"$includedir\"
7747          eval additional_libdir=\"$libdir\"
7748
7749  exec_prefix="$acl_save_exec_prefix"
7750  prefix="$acl_save_prefix"
7751
7752      else
7753        additional_includedir="$withval/include"
7754        additional_libdir="$withval/$acl_libdirstem"
7755      fi
7756    fi
7757
7758fi
7759
7760      LIBICONV=
7761  LTLIBICONV=
7762  INCICONV=
7763  LIBICONV_PREFIX=
7764  rpathdirs=
7765  ltrpathdirs=
7766  names_already_handled=
7767  names_next_round='iconv '
7768  while test -n "$names_next_round"; do
7769    names_this_round="$names_next_round"
7770    names_next_round=
7771    for name in $names_this_round; do
7772      already_handled=
7773      for n in $names_already_handled; do
7774        if test "$n" = "$name"; then
7775          already_handled=yes
7776          break
7777        fi
7778      done
7779      if test -z "$already_handled"; then
7780        names_already_handled="$names_already_handled $name"
7781                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
7782        eval value=\"\$HAVE_LIB$uppername\"
7783        if test -n "$value"; then
7784          if test "$value" = yes; then
7785            eval value=\"\$LIB$uppername\"
7786            test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
7787            eval value=\"\$LTLIB$uppername\"
7788            test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
7789          else
7790                                    :
7791          fi
7792        else
7793                              found_dir=
7794          found_la=
7795          found_so=
7796          found_a=
7797          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
7798          if test -n "$acl_shlibext"; then
7799            shrext=".$acl_shlibext"             # typically: shrext=.so
7800          else
7801            shrext=
7802          fi
7803          if test $use_additional = yes; then
7804            dir="$additional_libdir"
7805                                    if test -n "$acl_shlibext"; then
7806              if test -f "$dir/$libname$shrext"; then
7807                found_dir="$dir"
7808                found_so="$dir/$libname$shrext"
7809              else
7810                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
7811                  ver=`(cd "$dir" && \
7812                        for f in "$libname$shrext".*; do echo "$f"; done \
7813                        | sed -e "s,^$libname$shrext\\\\.,," \
7814                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
7815                        | sed 1q ) 2>/dev/null`
7816                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
7817                    found_dir="$dir"
7818                    found_so="$dir/$libname$shrext.$ver"
7819                  fi
7820                else
7821                  eval library_names=\"$acl_library_names_spec\"
7822                  for f in $library_names; do
7823                    if test -f "$dir/$f"; then
7824                      found_dir="$dir"
7825                      found_so="$dir/$f"
7826                      break
7827                    fi
7828                  done
7829                fi
7830              fi
7831            fi
7832                        if test "X$found_dir" = "X"; then
7833              if test -f "$dir/$libname.$acl_libext"; then
7834                found_dir="$dir"
7835                found_a="$dir/$libname.$acl_libext"
7836              fi
7837            fi
7838            if test "X$found_dir" != "X"; then
7839              if test -f "$dir/$libname.la"; then
7840                found_la="$dir/$libname.la"
7841              fi
7842            fi
7843          fi
7844          if test "X$found_dir" = "X"; then
7845            for x in $LDFLAGS $LTLIBICONV; do
7846
7847  acl_save_prefix="$prefix"
7848  prefix="$acl_final_prefix"
7849  acl_save_exec_prefix="$exec_prefix"
7850  exec_prefix="$acl_final_exec_prefix"
7851  eval x=\"$x\"
7852  exec_prefix="$acl_save_exec_prefix"
7853  prefix="$acl_save_prefix"
7854
7855              case "$x" in
7856                -L*)
7857                  dir=`echo "X$x" | sed -e 's/^X-L//'`
7858                                    if test -n "$acl_shlibext"; then
7859                    if test -f "$dir/$libname$shrext"; then
7860                      found_dir="$dir"
7861                      found_so="$dir/$libname$shrext"
7862                    else
7863                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
7864                        ver=`(cd "$dir" && \
7865                              for f in "$libname$shrext".*; do echo "$f"; done \
7866                              | sed -e "s,^$libname$shrext\\\\.,," \
7867                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
7868                              | sed 1q ) 2>/dev/null`
7869                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
7870                          found_dir="$dir"
7871                          found_so="$dir/$libname$shrext.$ver"
7872                        fi
7873                      else
7874                        eval library_names=\"$acl_library_names_spec\"
7875                        for f in $library_names; do
7876                          if test -f "$dir/$f"; then
7877                            found_dir="$dir"
7878                            found_so="$dir/$f"
7879                            break
7880                          fi
7881                        done
7882                      fi
7883                    fi
7884                  fi
7885                                    if test "X$found_dir" = "X"; then
7886                    if test -f "$dir/$libname.$acl_libext"; then
7887                      found_dir="$dir"
7888                      found_a="$dir/$libname.$acl_libext"
7889                    fi
7890                  fi
7891                  if test "X$found_dir" != "X"; then
7892                    if test -f "$dir/$libname.la"; then
7893                      found_la="$dir/$libname.la"
7894                    fi
7895                  fi
7896                  ;;
7897              esac
7898              if test "X$found_dir" != "X"; then
7899                break
7900              fi
7901            done
7902          fi
7903          if test "X$found_dir" != "X"; then
7904                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
7905            if test "X$found_so" != "X"; then
7906                                                        if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
7907                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
7908              else
7909                                                                                haveit=
7910                for x in $ltrpathdirs; do
7911                  if test "X$x" = "X$found_dir"; then
7912                    haveit=yes
7913                    break
7914                  fi
7915                done
7916                if test -z "$haveit"; then
7917                  ltrpathdirs="$ltrpathdirs $found_dir"
7918                fi
7919                                if test "$acl_hardcode_direct" = yes; then
7920                                                      LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
7921                else
7922                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
7923                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
7924                                                            haveit=
7925                    for x in $rpathdirs; do
7926                      if test "X$x" = "X$found_dir"; then
7927                        haveit=yes
7928                        break
7929                      fi
7930                    done
7931                    if test -z "$haveit"; then
7932                      rpathdirs="$rpathdirs $found_dir"
7933                    fi
7934                  else
7935                                                                                haveit=
7936                    for x in $LDFLAGS $LIBICONV; do
7937
7938  acl_save_prefix="$prefix"
7939  prefix="$acl_final_prefix"
7940  acl_save_exec_prefix="$exec_prefix"
7941  exec_prefix="$acl_final_exec_prefix"
7942  eval x=\"$x\"
7943  exec_prefix="$acl_save_exec_prefix"
7944  prefix="$acl_save_prefix"
7945
7946                      if test "X$x" = "X-L$found_dir"; then
7947                        haveit=yes
7948                        break
7949                      fi
7950                    done
7951                    if test -z "$haveit"; then
7952                      LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
7953                    fi
7954                    if test "$acl_hardcode_minus_L" != no; then
7955                                                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
7956                    else
7957                                                                                                                                                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
7958                    fi
7959                  fi
7960                fi
7961              fi
7962            else
7963              if test "X$found_a" != "X"; then
7964                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
7965              else
7966                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
7967              fi
7968            fi
7969                        additional_includedir=
7970            case "$found_dir" in
7971              */$acl_libdirstem | */$acl_libdirstem/)
7972                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
7973                LIBICONV_PREFIX="$basedir"
7974                additional_includedir="$basedir/include"
7975                ;;
7976            esac
7977            if test "X$additional_includedir" != "X"; then
7978                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
7979                haveit=
7980                if test "X$additional_includedir" = "X/usr/local/include"; then
7981                  if test -n "$GCC"; then
7982                    case $host_os in
7983                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
7984                    esac
7985                  fi
7986                fi
7987                if test -z "$haveit"; then
7988                  for x in $CPPFLAGS $INCICONV; do
7989
7990  acl_save_prefix="$prefix"
7991  prefix="$acl_final_prefix"
7992  acl_save_exec_prefix="$exec_prefix"
7993  exec_prefix="$acl_final_exec_prefix"
7994  eval x=\"$x\"
7995  exec_prefix="$acl_save_exec_prefix"
7996  prefix="$acl_save_prefix"
7997
7998                    if test "X$x" = "X-I$additional_includedir"; then
7999                      haveit=yes
8000                      break
8001                    fi
8002                  done
8003                  if test -z "$haveit"; then
8004                    if test -d "$additional_includedir"; then
8005                                            INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
8006                    fi
8007                  fi
8008                fi
8009              fi
8010            fi
8011                        if test -n "$found_la"; then
8012                                                        save_libdir="$libdir"
8013              case "$found_la" in
8014                */* | *\\*) . "$found_la" ;;
8015                *) . "./$found_la" ;;
8016              esac
8017              libdir="$save_libdir"
8018                            for dep in $dependency_libs; do
8019                case "$dep" in
8020                  -L*)
8021                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
8022                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
8023                      haveit=
8024                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
8025                        if test -n "$GCC"; then
8026                          case $host_os in
8027                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
8028                          esac
8029                        fi
8030                      fi
8031                      if test -z "$haveit"; then
8032                        haveit=
8033                        for x in $LDFLAGS $LIBICONV; do
8034
8035  acl_save_prefix="$prefix"
8036  prefix="$acl_final_prefix"
8037  acl_save_exec_prefix="$exec_prefix"
8038  exec_prefix="$acl_final_exec_prefix"
8039  eval x=\"$x\"
8040  exec_prefix="$acl_save_exec_prefix"
8041  prefix="$acl_save_prefix"
8042
8043                          if test "X$x" = "X-L$additional_libdir"; then
8044                            haveit=yes
8045                            break
8046                          fi
8047                        done
8048                        if test -z "$haveit"; then
8049                          if test -d "$additional_libdir"; then
8050                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
8051                          fi
8052                        fi
8053                        haveit=
8054                        for x in $LDFLAGS $LTLIBICONV; do
8055
8056  acl_save_prefix="$prefix"
8057  prefix="$acl_final_prefix"
8058  acl_save_exec_prefix="$exec_prefix"
8059  exec_prefix="$acl_final_exec_prefix"
8060  eval x=\"$x\"
8061  exec_prefix="$acl_save_exec_prefix"
8062  prefix="$acl_save_prefix"
8063
8064                          if test "X$x" = "X-L$additional_libdir"; then
8065                            haveit=yes
8066                            break
8067                          fi
8068                        done
8069                        if test -z "$haveit"; then
8070                          if test -d "$additional_libdir"; then
8071                                                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
8072                          fi
8073                        fi
8074                      fi
8075                    fi
8076                    ;;
8077                  -R*)
8078                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
8079                    if test "$enable_rpath" != no; then
8080                                                                  haveit=
8081                      for x in $rpathdirs; do
8082                        if test "X$x" = "X$dir"; then
8083                          haveit=yes
8084                          break
8085                        fi
8086                      done
8087                      if test -z "$haveit"; then
8088                        rpathdirs="$rpathdirs $dir"
8089                      fi
8090                                                                  haveit=
8091                      for x in $ltrpathdirs; do
8092                        if test "X$x" = "X$dir"; then
8093                          haveit=yes
8094                          break
8095                        fi
8096                      done
8097                      if test -z "$haveit"; then
8098                        ltrpathdirs="$ltrpathdirs $dir"
8099                      fi
8100                    fi
8101                    ;;
8102                  -l*)
8103                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
8104                    ;;
8105                  *.la)
8106                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
8107                    ;;
8108                  *)
8109                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
8110                    LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
8111                    ;;
8112                esac
8113              done
8114            fi
8115          else
8116                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
8117            LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
8118          fi
8119        fi
8120      fi
8121    done
8122  done
8123  if test "X$rpathdirs" != "X"; then
8124    if test -n "$acl_hardcode_libdir_separator"; then
8125                        alldirs=
8126      for found_dir in $rpathdirs; do
8127        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
8128      done
8129            acl_save_libdir="$libdir"
8130      libdir="$alldirs"
8131      eval flag=\"$acl_hardcode_libdir_flag_spec\"
8132      libdir="$acl_save_libdir"
8133      LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
8134    else
8135            for found_dir in $rpathdirs; do
8136        acl_save_libdir="$libdir"
8137        libdir="$found_dir"
8138        eval flag=\"$acl_hardcode_libdir_flag_spec\"
8139        libdir="$acl_save_libdir"
8140        LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
8141      done
8142    fi
8143  fi
8144  if test "X$ltrpathdirs" != "X"; then
8145            for found_dir in $ltrpathdirs; do
8146      LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
8147    done
8148  fi
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174    { echo "$as_me:$LINENO: checking for CFPreferencesCopyAppValue" >&5
8175echo $ECHO_N "checking for CFPreferencesCopyAppValue... $ECHO_C" >&6; }
8176if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then
8177  echo $ECHO_N "(cached) $ECHO_C" >&6
8178else
8179  gt_save_LIBS="$LIBS"
8180     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
8181     cat >conftest.$ac_ext <<_ACEOF
8182/* confdefs.h.  */
8183_ACEOF
8184cat confdefs.h >>conftest.$ac_ext
8185cat >>conftest.$ac_ext <<_ACEOF
8186/* end confdefs.h.  */
8187#include <CoreFoundation/CFPreferences.h>
8188int
8189main ()
8190{
8191CFPreferencesCopyAppValue(NULL, NULL)
8192  ;
8193  return 0;
8194}
8195_ACEOF
8196rm -f conftest.$ac_objext conftest$ac_exeext
8197if { (ac_try="$ac_link"
8198case "(($ac_try" in
8199  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8200  *) ac_try_echo=$ac_try;;
8201esac
8202eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8203  (eval "$ac_link") 2>conftest.er1
8204  ac_status=$?
8205  grep -v '^ *+' conftest.er1 >conftest.err
8206  rm -f conftest.er1
8207  cat conftest.err >&5
8208  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8209  (exit $ac_status); } && {
8210	 test -z "$ac_c_werror_flag" ||
8211	 test ! -s conftest.err
8212       } && test -s conftest$ac_exeext &&
8213       $as_test_x conftest$ac_exeext; then
8214  gt_cv_func_CFPreferencesCopyAppValue=yes
8215else
8216  echo "$as_me: failed program was:" >&5
8217sed 's/^/| /' conftest.$ac_ext >&5
8218
8219	gt_cv_func_CFPreferencesCopyAppValue=no
8220fi
8221
8222rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8223      conftest$ac_exeext conftest.$ac_ext
8224     LIBS="$gt_save_LIBS"
8225fi
8226{ echo "$as_me:$LINENO: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
8227echo "${ECHO_T}$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
8228  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
8229
8230cat >>confdefs.h <<\_ACEOF
8231#define HAVE_CFPREFERENCESCOPYAPPVALUE 1
8232_ACEOF
8233
8234  fi
8235    { echo "$as_me:$LINENO: checking for CFLocaleCopyCurrent" >&5
8236echo $ECHO_N "checking for CFLocaleCopyCurrent... $ECHO_C" >&6; }
8237if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then
8238  echo $ECHO_N "(cached) $ECHO_C" >&6
8239else
8240  gt_save_LIBS="$LIBS"
8241     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
8242     cat >conftest.$ac_ext <<_ACEOF
8243/* confdefs.h.  */
8244_ACEOF
8245cat confdefs.h >>conftest.$ac_ext
8246cat >>conftest.$ac_ext <<_ACEOF
8247/* end confdefs.h.  */
8248#include <CoreFoundation/CFLocale.h>
8249int
8250main ()
8251{
8252CFLocaleCopyCurrent();
8253  ;
8254  return 0;
8255}
8256_ACEOF
8257rm -f conftest.$ac_objext conftest$ac_exeext
8258if { (ac_try="$ac_link"
8259case "(($ac_try" in
8260  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8261  *) ac_try_echo=$ac_try;;
8262esac
8263eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8264  (eval "$ac_link") 2>conftest.er1
8265  ac_status=$?
8266  grep -v '^ *+' conftest.er1 >conftest.err
8267  rm -f conftest.er1
8268  cat conftest.err >&5
8269  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8270  (exit $ac_status); } && {
8271	 test -z "$ac_c_werror_flag" ||
8272	 test ! -s conftest.err
8273       } && test -s conftest$ac_exeext &&
8274       $as_test_x conftest$ac_exeext; then
8275  gt_cv_func_CFLocaleCopyCurrent=yes
8276else
8277  echo "$as_me: failed program was:" >&5
8278sed 's/^/| /' conftest.$ac_ext >&5
8279
8280	gt_cv_func_CFLocaleCopyCurrent=no
8281fi
8282
8283rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8284      conftest$ac_exeext conftest.$ac_ext
8285     LIBS="$gt_save_LIBS"
8286fi
8287{ echo "$as_me:$LINENO: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
8288echo "${ECHO_T}$gt_cv_func_CFLocaleCopyCurrent" >&6; }
8289  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
8290
8291cat >>confdefs.h <<\_ACEOF
8292#define HAVE_CFLOCALECOPYCURRENT 1
8293_ACEOF
8294
8295  fi
8296  INTL_MACOSX_LIBS=
8297  if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
8298    INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
8299  fi
8300
8301
8302
8303
8304
8305
8306  LIBINTL=
8307  LTLIBINTL=
8308  POSUB=
8309
8310    case " $gt_needs " in
8311    *" need-formatstring-macros "*) gt_api_version=3 ;;
8312    *" need-ngettext "*) gt_api_version=2 ;;
8313    *) gt_api_version=1 ;;
8314  esac
8315  gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
8316  gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
8317
8318    if test "$USE_NLS" = "yes"; then
8319    gt_use_preinstalled_gnugettext=no
8320
8321
8322        if test $gt_api_version -ge 3; then
8323          gt_revision_test_code='
8324#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
8325#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
8326#endif
8327typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
8328'
8329        else
8330          gt_revision_test_code=
8331        fi
8332        if test $gt_api_version -ge 2; then
8333          gt_expression_test_code=' + * ngettext ("", "", 0)'
8334        else
8335          gt_expression_test_code=
8336        fi
8337
8338        { echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
8339echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6; }
8340if { as_var=$gt_func_gnugettext_libc; eval "test \"\${$as_var+set}\" = set"; }; then
8341  echo $ECHO_N "(cached) $ECHO_C" >&6
8342else
8343  cat >conftest.$ac_ext <<_ACEOF
8344/* confdefs.h.  */
8345_ACEOF
8346cat confdefs.h >>conftest.$ac_ext
8347cat >>conftest.$ac_ext <<_ACEOF
8348/* end confdefs.h.  */
8349#include <libintl.h>
8350$gt_revision_test_code
8351extern int _nl_msg_cat_cntr;
8352extern int *_nl_domain_bindings;
8353int
8354main ()
8355{
8356bindtextdomain ("", "");
8357return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
8358  ;
8359  return 0;
8360}
8361_ACEOF
8362rm -f conftest.$ac_objext conftest$ac_exeext
8363if { (ac_try="$ac_link"
8364case "(($ac_try" in
8365  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8366  *) ac_try_echo=$ac_try;;
8367esac
8368eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8369  (eval "$ac_link") 2>conftest.er1
8370  ac_status=$?
8371  grep -v '^ *+' conftest.er1 >conftest.err
8372  rm -f conftest.er1
8373  cat conftest.err >&5
8374  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8375  (exit $ac_status); } && {
8376	 test -z "$ac_c_werror_flag" ||
8377	 test ! -s conftest.err
8378       } && test -s conftest$ac_exeext &&
8379       $as_test_x conftest$ac_exeext; then
8380  eval "$gt_func_gnugettext_libc=yes"
8381else
8382  echo "$as_me: failed program was:" >&5
8383sed 's/^/| /' conftest.$ac_ext >&5
8384
8385	eval "$gt_func_gnugettext_libc=no"
8386fi
8387
8388rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8389      conftest$ac_exeext conftest.$ac_ext
8390fi
8391ac_res=`eval echo '${'$gt_func_gnugettext_libc'}'`
8392	       { echo "$as_me:$LINENO: result: $ac_res" >&5
8393echo "${ECHO_T}$ac_res" >&6; }
8394
8395        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
8396
8397
8398
8399
8400
8401          am_save_CPPFLAGS="$CPPFLAGS"
8402
8403  for element in $INCICONV; do
8404    haveit=
8405    for x in $CPPFLAGS; do
8406
8407  acl_save_prefix="$prefix"
8408  prefix="$acl_final_prefix"
8409  acl_save_exec_prefix="$exec_prefix"
8410  exec_prefix="$acl_final_exec_prefix"
8411  eval x=\"$x\"
8412  exec_prefix="$acl_save_exec_prefix"
8413  prefix="$acl_save_prefix"
8414
8415      if test "X$x" = "X$element"; then
8416        haveit=yes
8417        break
8418      fi
8419    done
8420    if test -z "$haveit"; then
8421      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
8422    fi
8423  done
8424
8425
8426  { echo "$as_me:$LINENO: checking for iconv" >&5
8427echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
8428if test "${am_cv_func_iconv+set}" = set; then
8429  echo $ECHO_N "(cached) $ECHO_C" >&6
8430else
8431
8432    am_cv_func_iconv="no, consider installing GNU libiconv"
8433    am_cv_lib_iconv=no
8434    cat >conftest.$ac_ext <<_ACEOF
8435/* confdefs.h.  */
8436_ACEOF
8437cat confdefs.h >>conftest.$ac_ext
8438cat >>conftest.$ac_ext <<_ACEOF
8439/* end confdefs.h.  */
8440#include <stdlib.h>
8441#include <iconv.h>
8442int
8443main ()
8444{
8445iconv_t cd = iconv_open("","");
8446       iconv(cd,NULL,NULL,NULL,NULL);
8447       iconv_close(cd);
8448  ;
8449  return 0;
8450}
8451_ACEOF
8452rm -f conftest.$ac_objext conftest$ac_exeext
8453if { (ac_try="$ac_link"
8454case "(($ac_try" in
8455  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8456  *) ac_try_echo=$ac_try;;
8457esac
8458eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8459  (eval "$ac_link") 2>conftest.er1
8460  ac_status=$?
8461  grep -v '^ *+' conftest.er1 >conftest.err
8462  rm -f conftest.er1
8463  cat conftest.err >&5
8464  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8465  (exit $ac_status); } && {
8466	 test -z "$ac_c_werror_flag" ||
8467	 test ! -s conftest.err
8468       } && test -s conftest$ac_exeext &&
8469       $as_test_x conftest$ac_exeext; then
8470  am_cv_func_iconv=yes
8471else
8472  echo "$as_me: failed program was:" >&5
8473sed 's/^/| /' conftest.$ac_ext >&5
8474
8475
8476fi
8477
8478rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8479      conftest$ac_exeext conftest.$ac_ext
8480    if test "$am_cv_func_iconv" != yes; then
8481      am_save_LIBS="$LIBS"
8482      LIBS="$LIBS $LIBICONV"
8483      cat >conftest.$ac_ext <<_ACEOF
8484/* confdefs.h.  */
8485_ACEOF
8486cat confdefs.h >>conftest.$ac_ext
8487cat >>conftest.$ac_ext <<_ACEOF
8488/* end confdefs.h.  */
8489#include <stdlib.h>
8490#include <iconv.h>
8491int
8492main ()
8493{
8494iconv_t cd = iconv_open("","");
8495         iconv(cd,NULL,NULL,NULL,NULL);
8496         iconv_close(cd);
8497  ;
8498  return 0;
8499}
8500_ACEOF
8501rm -f conftest.$ac_objext conftest$ac_exeext
8502if { (ac_try="$ac_link"
8503case "(($ac_try" in
8504  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8505  *) ac_try_echo=$ac_try;;
8506esac
8507eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8508  (eval "$ac_link") 2>conftest.er1
8509  ac_status=$?
8510  grep -v '^ *+' conftest.er1 >conftest.err
8511  rm -f conftest.er1
8512  cat conftest.err >&5
8513  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8514  (exit $ac_status); } && {
8515	 test -z "$ac_c_werror_flag" ||
8516	 test ! -s conftest.err
8517       } && test -s conftest$ac_exeext &&
8518       $as_test_x conftest$ac_exeext; then
8519  am_cv_lib_iconv=yes
8520        am_cv_func_iconv=yes
8521else
8522  echo "$as_me: failed program was:" >&5
8523sed 's/^/| /' conftest.$ac_ext >&5
8524
8525
8526fi
8527
8528rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8529      conftest$ac_exeext conftest.$ac_ext
8530      LIBS="$am_save_LIBS"
8531    fi
8532
8533fi
8534{ echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
8535echo "${ECHO_T}$am_cv_func_iconv" >&6; }
8536  if test "$am_cv_func_iconv" = yes; then
8537    { echo "$as_me:$LINENO: checking for working iconv" >&5
8538echo $ECHO_N "checking for working iconv... $ECHO_C" >&6; }
8539if test "${am_cv_func_iconv_works+set}" = set; then
8540  echo $ECHO_N "(cached) $ECHO_C" >&6
8541else
8542
8543            am_save_LIBS="$LIBS"
8544      if test $am_cv_lib_iconv = yes; then
8545        LIBS="$LIBS $LIBICONV"
8546      fi
8547      if test "$cross_compiling" = yes; then
8548  case "$host_os" in
8549           aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
8550           *)            am_cv_func_iconv_works="guessing yes" ;;
8551         esac
8552else
8553  cat >conftest.$ac_ext <<_ACEOF
8554/* confdefs.h.  */
8555_ACEOF
8556cat confdefs.h >>conftest.$ac_ext
8557cat >>conftest.$ac_ext <<_ACEOF
8558/* end confdefs.h.  */
8559
8560#include <iconv.h>
8561#include <string.h>
8562int main ()
8563{
8564  /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
8565     returns.  */
8566  {
8567    iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
8568    if (cd_utf8_to_88591 != (iconv_t)(-1))
8569      {
8570        static const char input[] = "\342\202\254"; /* EURO SIGN */
8571        char buf[10];
8572        const char *inptr = input;
8573        size_t inbytesleft = strlen (input);
8574        char *outptr = buf;
8575        size_t outbytesleft = sizeof (buf);
8576        size_t res = iconv (cd_utf8_to_88591,
8577                            (char **) &inptr, &inbytesleft,
8578                            &outptr, &outbytesleft);
8579        if (res == 0)
8580          return 1;
8581      }
8582  }
8583#if 0 /* This bug could be worked around by the caller.  */
8584  /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
8585  {
8586    iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
8587    if (cd_88591_to_utf8 != (iconv_t)(-1))
8588      {
8589        static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
8590        char buf[50];
8591        const char *inptr = input;
8592        size_t inbytesleft = strlen (input);
8593        char *outptr = buf;
8594        size_t outbytesleft = sizeof (buf);
8595        size_t res = iconv (cd_88591_to_utf8,
8596                            (char **) &inptr, &inbytesleft,
8597                            &outptr, &outbytesleft);
8598        if ((int)res > 0)
8599          return 1;
8600      }
8601  }
8602#endif
8603  /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
8604     provided.  */
8605  if (/* Try standardized names.  */
8606      iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
8607      /* Try IRIX, OSF/1 names.  */
8608      && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
8609      /* Try AIX names.  */
8610      && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
8611      /* Try HP-UX names.  */
8612      && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
8613    return 1;
8614  return 0;
8615}
8616_ACEOF
8617rm -f conftest$ac_exeext
8618if { (ac_try="$ac_link"
8619case "(($ac_try" in
8620  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8621  *) ac_try_echo=$ac_try;;
8622esac
8623eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8624  (eval "$ac_link") 2>&5
8625  ac_status=$?
8626  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8627  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8628  { (case "(($ac_try" in
8629  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8630  *) ac_try_echo=$ac_try;;
8631esac
8632eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8633  (eval "$ac_try") 2>&5
8634  ac_status=$?
8635  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8636  (exit $ac_status); }; }; then
8637  am_cv_func_iconv_works=yes
8638else
8639  echo "$as_me: program exited with status $ac_status" >&5
8640echo "$as_me: failed program was:" >&5
8641sed 's/^/| /' conftest.$ac_ext >&5
8642
8643( exit $ac_status )
8644am_cv_func_iconv_works=no
8645fi
8646rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8647fi
8648
8649
8650      LIBS="$am_save_LIBS"
8651
8652fi
8653{ echo "$as_me:$LINENO: result: $am_cv_func_iconv_works" >&5
8654echo "${ECHO_T}$am_cv_func_iconv_works" >&6; }
8655    case "$am_cv_func_iconv_works" in
8656      *no) am_func_iconv=no am_cv_lib_iconv=no ;;
8657      *)   am_func_iconv=yes ;;
8658    esac
8659  else
8660    am_func_iconv=no am_cv_lib_iconv=no
8661  fi
8662  if test "$am_func_iconv" = yes; then
8663
8664cat >>confdefs.h <<\_ACEOF
8665#define HAVE_ICONV 1
8666_ACEOF
8667
8668  fi
8669  if test "$am_cv_lib_iconv" = yes; then
8670    { echo "$as_me:$LINENO: checking how to link with libiconv" >&5
8671echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6; }
8672    { echo "$as_me:$LINENO: result: $LIBICONV" >&5
8673echo "${ECHO_T}$LIBICONV" >&6; }
8674  else
8675            CPPFLAGS="$am_save_CPPFLAGS"
8676    LIBICONV=
8677    LTLIBICONV=
8678  fi
8679
8680
8681
8682
8683
8684
8685
8686
8687    use_additional=yes
8688
8689  acl_save_prefix="$prefix"
8690  prefix="$acl_final_prefix"
8691  acl_save_exec_prefix="$exec_prefix"
8692  exec_prefix="$acl_final_exec_prefix"
8693
8694    eval additional_includedir=\"$includedir\"
8695    eval additional_libdir=\"$libdir\"
8696
8697  exec_prefix="$acl_save_exec_prefix"
8698  prefix="$acl_save_prefix"
8699
8700
8701# Check whether --with-libintl-prefix was given.
8702if test "${with_libintl_prefix+set}" = set; then
8703  withval=$with_libintl_prefix;
8704    if test "X$withval" = "Xno"; then
8705      use_additional=no
8706    else
8707      if test "X$withval" = "X"; then
8708
8709  acl_save_prefix="$prefix"
8710  prefix="$acl_final_prefix"
8711  acl_save_exec_prefix="$exec_prefix"
8712  exec_prefix="$acl_final_exec_prefix"
8713
8714          eval additional_includedir=\"$includedir\"
8715          eval additional_libdir=\"$libdir\"
8716
8717  exec_prefix="$acl_save_exec_prefix"
8718  prefix="$acl_save_prefix"
8719
8720      else
8721        additional_includedir="$withval/include"
8722        additional_libdir="$withval/$acl_libdirstem"
8723      fi
8724    fi
8725
8726fi
8727
8728      LIBINTL=
8729  LTLIBINTL=
8730  INCINTL=
8731  LIBINTL_PREFIX=
8732  rpathdirs=
8733  ltrpathdirs=
8734  names_already_handled=
8735  names_next_round='intl '
8736  while test -n "$names_next_round"; do
8737    names_this_round="$names_next_round"
8738    names_next_round=
8739    for name in $names_this_round; do
8740      already_handled=
8741      for n in $names_already_handled; do
8742        if test "$n" = "$name"; then
8743          already_handled=yes
8744          break
8745        fi
8746      done
8747      if test -z "$already_handled"; then
8748        names_already_handled="$names_already_handled $name"
8749                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
8750        eval value=\"\$HAVE_LIB$uppername\"
8751        if test -n "$value"; then
8752          if test "$value" = yes; then
8753            eval value=\"\$LIB$uppername\"
8754            test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
8755            eval value=\"\$LTLIB$uppername\"
8756            test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
8757          else
8758                                    :
8759          fi
8760        else
8761                              found_dir=
8762          found_la=
8763          found_so=
8764          found_a=
8765          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
8766          if test -n "$acl_shlibext"; then
8767            shrext=".$acl_shlibext"             # typically: shrext=.so
8768          else
8769            shrext=
8770          fi
8771          if test $use_additional = yes; then
8772            dir="$additional_libdir"
8773                                    if test -n "$acl_shlibext"; then
8774              if test -f "$dir/$libname$shrext"; then
8775                found_dir="$dir"
8776                found_so="$dir/$libname$shrext"
8777              else
8778                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
8779                  ver=`(cd "$dir" && \
8780                        for f in "$libname$shrext".*; do echo "$f"; done \
8781                        | sed -e "s,^$libname$shrext\\\\.,," \
8782                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
8783                        | sed 1q ) 2>/dev/null`
8784                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
8785                    found_dir="$dir"
8786                    found_so="$dir/$libname$shrext.$ver"
8787                  fi
8788                else
8789                  eval library_names=\"$acl_library_names_spec\"
8790                  for f in $library_names; do
8791                    if test -f "$dir/$f"; then
8792                      found_dir="$dir"
8793                      found_so="$dir/$f"
8794                      break
8795                    fi
8796                  done
8797                fi
8798              fi
8799            fi
8800                        if test "X$found_dir" = "X"; then
8801              if test -f "$dir/$libname.$acl_libext"; then
8802                found_dir="$dir"
8803                found_a="$dir/$libname.$acl_libext"
8804              fi
8805            fi
8806            if test "X$found_dir" != "X"; then
8807              if test -f "$dir/$libname.la"; then
8808                found_la="$dir/$libname.la"
8809              fi
8810            fi
8811          fi
8812          if test "X$found_dir" = "X"; then
8813            for x in $LDFLAGS $LTLIBINTL; do
8814
8815  acl_save_prefix="$prefix"
8816  prefix="$acl_final_prefix"
8817  acl_save_exec_prefix="$exec_prefix"
8818  exec_prefix="$acl_final_exec_prefix"
8819  eval x=\"$x\"
8820  exec_prefix="$acl_save_exec_prefix"
8821  prefix="$acl_save_prefix"
8822
8823              case "$x" in
8824                -L*)
8825                  dir=`echo "X$x" | sed -e 's/^X-L//'`
8826                                    if test -n "$acl_shlibext"; then
8827                    if test -f "$dir/$libname$shrext"; then
8828                      found_dir="$dir"
8829                      found_so="$dir/$libname$shrext"
8830                    else
8831                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
8832                        ver=`(cd "$dir" && \
8833                              for f in "$libname$shrext".*; do echo "$f"; done \
8834                              | sed -e "s,^$libname$shrext\\\\.,," \
8835                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
8836                              | sed 1q ) 2>/dev/null`
8837                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
8838                          found_dir="$dir"
8839                          found_so="$dir/$libname$shrext.$ver"
8840                        fi
8841                      else
8842                        eval library_names=\"$acl_library_names_spec\"
8843                        for f in $library_names; do
8844                          if test -f "$dir/$f"; then
8845                            found_dir="$dir"
8846                            found_so="$dir/$f"
8847                            break
8848                          fi
8849                        done
8850                      fi
8851                    fi
8852                  fi
8853                                    if test "X$found_dir" = "X"; then
8854                    if test -f "$dir/$libname.$acl_libext"; then
8855                      found_dir="$dir"
8856                      found_a="$dir/$libname.$acl_libext"
8857                    fi
8858                  fi
8859                  if test "X$found_dir" != "X"; then
8860                    if test -f "$dir/$libname.la"; then
8861                      found_la="$dir/$libname.la"
8862                    fi
8863                  fi
8864                  ;;
8865              esac
8866              if test "X$found_dir" != "X"; then
8867                break
8868              fi
8869            done
8870          fi
8871          if test "X$found_dir" != "X"; then
8872                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
8873            if test "X$found_so" != "X"; then
8874                                                        if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
8875                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
8876              else
8877                                                                                haveit=
8878                for x in $ltrpathdirs; do
8879                  if test "X$x" = "X$found_dir"; then
8880                    haveit=yes
8881                    break
8882                  fi
8883                done
8884                if test -z "$haveit"; then
8885                  ltrpathdirs="$ltrpathdirs $found_dir"
8886                fi
8887                                if test "$acl_hardcode_direct" = yes; then
8888                                                      LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
8889                else
8890                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
8891                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
8892                                                            haveit=
8893                    for x in $rpathdirs; do
8894                      if test "X$x" = "X$found_dir"; then
8895                        haveit=yes
8896                        break
8897                      fi
8898                    done
8899                    if test -z "$haveit"; then
8900                      rpathdirs="$rpathdirs $found_dir"
8901                    fi
8902                  else
8903                                                                                haveit=
8904                    for x in $LDFLAGS $LIBINTL; do
8905
8906  acl_save_prefix="$prefix"
8907  prefix="$acl_final_prefix"
8908  acl_save_exec_prefix="$exec_prefix"
8909  exec_prefix="$acl_final_exec_prefix"
8910  eval x=\"$x\"
8911  exec_prefix="$acl_save_exec_prefix"
8912  prefix="$acl_save_prefix"
8913
8914                      if test "X$x" = "X-L$found_dir"; then
8915                        haveit=yes
8916                        break
8917                      fi
8918                    done
8919                    if test -z "$haveit"; then
8920                      LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
8921                    fi
8922                    if test "$acl_hardcode_minus_L" != no; then
8923                                                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
8924                    else
8925                                                                                                                                                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
8926                    fi
8927                  fi
8928                fi
8929              fi
8930            else
8931              if test "X$found_a" != "X"; then
8932                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
8933              else
8934                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
8935              fi
8936            fi
8937                        additional_includedir=
8938            case "$found_dir" in
8939              */$acl_libdirstem | */$acl_libdirstem/)
8940                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
8941                LIBINTL_PREFIX="$basedir"
8942                additional_includedir="$basedir/include"
8943                ;;
8944            esac
8945            if test "X$additional_includedir" != "X"; then
8946                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
8947                haveit=
8948                if test "X$additional_includedir" = "X/usr/local/include"; then
8949                  if test -n "$GCC"; then
8950                    case $host_os in
8951                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
8952                    esac
8953                  fi
8954                fi
8955                if test -z "$haveit"; then
8956                  for x in $CPPFLAGS $INCINTL; do
8957
8958  acl_save_prefix="$prefix"
8959  prefix="$acl_final_prefix"
8960  acl_save_exec_prefix="$exec_prefix"
8961  exec_prefix="$acl_final_exec_prefix"
8962  eval x=\"$x\"
8963  exec_prefix="$acl_save_exec_prefix"
8964  prefix="$acl_save_prefix"
8965
8966                    if test "X$x" = "X-I$additional_includedir"; then
8967                      haveit=yes
8968                      break
8969                    fi
8970                  done
8971                  if test -z "$haveit"; then
8972                    if test -d "$additional_includedir"; then
8973                                            INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
8974                    fi
8975                  fi
8976                fi
8977              fi
8978            fi
8979                        if test -n "$found_la"; then
8980                                                        save_libdir="$libdir"
8981              case "$found_la" in
8982                */* | *\\*) . "$found_la" ;;
8983                *) . "./$found_la" ;;
8984              esac
8985              libdir="$save_libdir"
8986                            for dep in $dependency_libs; do
8987                case "$dep" in
8988                  -L*)
8989                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
8990                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
8991                      haveit=
8992                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
8993                        if test -n "$GCC"; then
8994                          case $host_os in
8995                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
8996                          esac
8997                        fi
8998                      fi
8999                      if test -z "$haveit"; then
9000                        haveit=
9001                        for x in $LDFLAGS $LIBINTL; do
9002
9003  acl_save_prefix="$prefix"
9004  prefix="$acl_final_prefix"
9005  acl_save_exec_prefix="$exec_prefix"
9006  exec_prefix="$acl_final_exec_prefix"
9007  eval x=\"$x\"
9008  exec_prefix="$acl_save_exec_prefix"
9009  prefix="$acl_save_prefix"
9010
9011                          if test "X$x" = "X-L$additional_libdir"; then
9012                            haveit=yes
9013                            break
9014                          fi
9015                        done
9016                        if test -z "$haveit"; then
9017                          if test -d "$additional_libdir"; then
9018                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
9019                          fi
9020                        fi
9021                        haveit=
9022                        for x in $LDFLAGS $LTLIBINTL; do
9023
9024  acl_save_prefix="$prefix"
9025  prefix="$acl_final_prefix"
9026  acl_save_exec_prefix="$exec_prefix"
9027  exec_prefix="$acl_final_exec_prefix"
9028  eval x=\"$x\"
9029  exec_prefix="$acl_save_exec_prefix"
9030  prefix="$acl_save_prefix"
9031
9032                          if test "X$x" = "X-L$additional_libdir"; then
9033                            haveit=yes
9034                            break
9035                          fi
9036                        done
9037                        if test -z "$haveit"; then
9038                          if test -d "$additional_libdir"; then
9039                                                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
9040                          fi
9041                        fi
9042                      fi
9043                    fi
9044                    ;;
9045                  -R*)
9046                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
9047                    if test "$enable_rpath" != no; then
9048                                                                  haveit=
9049                      for x in $rpathdirs; do
9050                        if test "X$x" = "X$dir"; then
9051                          haveit=yes
9052                          break
9053                        fi
9054                      done
9055                      if test -z "$haveit"; then
9056                        rpathdirs="$rpathdirs $dir"
9057                      fi
9058                                                                  haveit=
9059                      for x in $ltrpathdirs; do
9060                        if test "X$x" = "X$dir"; then
9061                          haveit=yes
9062                          break
9063                        fi
9064                      done
9065                      if test -z "$haveit"; then
9066                        ltrpathdirs="$ltrpathdirs $dir"
9067                      fi
9068                    fi
9069                    ;;
9070                  -l*)
9071                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
9072                    ;;
9073                  *.la)
9074                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
9075                    ;;
9076                  *)
9077                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
9078                    LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
9079                    ;;
9080                esac
9081              done
9082            fi
9083          else
9084                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
9085            LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
9086          fi
9087        fi
9088      fi
9089    done
9090  done
9091  if test "X$rpathdirs" != "X"; then
9092    if test -n "$acl_hardcode_libdir_separator"; then
9093                        alldirs=
9094      for found_dir in $rpathdirs; do
9095        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
9096      done
9097            acl_save_libdir="$libdir"
9098      libdir="$alldirs"
9099      eval flag=\"$acl_hardcode_libdir_flag_spec\"
9100      libdir="$acl_save_libdir"
9101      LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
9102    else
9103            for found_dir in $rpathdirs; do
9104        acl_save_libdir="$libdir"
9105        libdir="$found_dir"
9106        eval flag=\"$acl_hardcode_libdir_flag_spec\"
9107        libdir="$acl_save_libdir"
9108        LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
9109      done
9110    fi
9111  fi
9112  if test "X$ltrpathdirs" != "X"; then
9113            for found_dir in $ltrpathdirs; do
9114      LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
9115    done
9116  fi
9117
9118          { echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
9119echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6; }
9120if { as_var=$gt_func_gnugettext_libintl; eval "test \"\${$as_var+set}\" = set"; }; then
9121  echo $ECHO_N "(cached) $ECHO_C" >&6
9122else
9123  gt_save_CPPFLAGS="$CPPFLAGS"
9124            CPPFLAGS="$CPPFLAGS $INCINTL"
9125            gt_save_LIBS="$LIBS"
9126            LIBS="$LIBS $LIBINTL"
9127                        cat >conftest.$ac_ext <<_ACEOF
9128/* confdefs.h.  */
9129_ACEOF
9130cat confdefs.h >>conftest.$ac_ext
9131cat >>conftest.$ac_ext <<_ACEOF
9132/* end confdefs.h.  */
9133#include <libintl.h>
9134$gt_revision_test_code
9135extern int _nl_msg_cat_cntr;
9136extern
9137#ifdef __cplusplus
9138"C"
9139#endif
9140const char *_nl_expand_alias (const char *);
9141int
9142main ()
9143{
9144bindtextdomain ("", "");
9145return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
9146  ;
9147  return 0;
9148}
9149_ACEOF
9150rm -f conftest.$ac_objext conftest$ac_exeext
9151if { (ac_try="$ac_link"
9152case "(($ac_try" in
9153  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9154  *) ac_try_echo=$ac_try;;
9155esac
9156eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9157  (eval "$ac_link") 2>conftest.er1
9158  ac_status=$?
9159  grep -v '^ *+' conftest.er1 >conftest.err
9160  rm -f conftest.er1
9161  cat conftest.err >&5
9162  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9163  (exit $ac_status); } && {
9164	 test -z "$ac_c_werror_flag" ||
9165	 test ! -s conftest.err
9166       } && test -s conftest$ac_exeext &&
9167       $as_test_x conftest$ac_exeext; then
9168  eval "$gt_func_gnugettext_libintl=yes"
9169else
9170  echo "$as_me: failed program was:" >&5
9171sed 's/^/| /' conftest.$ac_ext >&5
9172
9173	eval "$gt_func_gnugettext_libintl=no"
9174fi
9175
9176rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9177      conftest$ac_exeext conftest.$ac_ext
9178                        if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
9179              LIBS="$LIBS $LIBICONV"
9180              cat >conftest.$ac_ext <<_ACEOF
9181/* confdefs.h.  */
9182_ACEOF
9183cat confdefs.h >>conftest.$ac_ext
9184cat >>conftest.$ac_ext <<_ACEOF
9185/* end confdefs.h.  */
9186#include <libintl.h>
9187$gt_revision_test_code
9188extern int _nl_msg_cat_cntr;
9189extern
9190#ifdef __cplusplus
9191"C"
9192#endif
9193const char *_nl_expand_alias (const char *);
9194int
9195main ()
9196{
9197bindtextdomain ("", "");
9198return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
9199  ;
9200  return 0;
9201}
9202_ACEOF
9203rm -f conftest.$ac_objext conftest$ac_exeext
9204if { (ac_try="$ac_link"
9205case "(($ac_try" in
9206  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9207  *) ac_try_echo=$ac_try;;
9208esac
9209eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9210  (eval "$ac_link") 2>conftest.er1
9211  ac_status=$?
9212  grep -v '^ *+' conftest.er1 >conftest.err
9213  rm -f conftest.er1
9214  cat conftest.err >&5
9215  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9216  (exit $ac_status); } && {
9217	 test -z "$ac_c_werror_flag" ||
9218	 test ! -s conftest.err
9219       } && test -s conftest$ac_exeext &&
9220       $as_test_x conftest$ac_exeext; then
9221  LIBINTL="$LIBINTL $LIBICONV"
9222                LTLIBINTL="$LTLIBINTL $LTLIBICONV"
9223                eval "$gt_func_gnugettext_libintl=yes"
9224
9225else
9226  echo "$as_me: failed program was:" >&5
9227sed 's/^/| /' conftest.$ac_ext >&5
9228
9229
9230fi
9231
9232rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9233      conftest$ac_exeext conftest.$ac_ext
9234            fi
9235            CPPFLAGS="$gt_save_CPPFLAGS"
9236            LIBS="$gt_save_LIBS"
9237fi
9238ac_res=`eval echo '${'$gt_func_gnugettext_libintl'}'`
9239	       { echo "$as_me:$LINENO: result: $ac_res" >&5
9240echo "${ECHO_T}$ac_res" >&6; }
9241        fi
9242
9243                                        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
9244           || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
9245                && test "$PACKAGE" != gettext-runtime \
9246                && test "$PACKAGE" != gettext-tools; }; then
9247          gt_use_preinstalled_gnugettext=yes
9248        else
9249                    LIBINTL=
9250          LTLIBINTL=
9251          INCINTL=
9252        fi
9253
9254
9255
9256    if test -n "$INTL_MACOSX_LIBS"; then
9257      if test "$gt_use_preinstalled_gnugettext" = "yes" \
9258         || test "$nls_cv_use_gnu_gettext" = "yes"; then
9259                LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
9260        LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
9261      fi
9262    fi
9263
9264    if test "$gt_use_preinstalled_gnugettext" = "yes" \
9265       || test "$nls_cv_use_gnu_gettext" = "yes"; then
9266
9267cat >>confdefs.h <<\_ACEOF
9268#define ENABLE_NLS 1
9269_ACEOF
9270
9271    else
9272      USE_NLS=no
9273    fi
9274  fi
9275
9276  { echo "$as_me:$LINENO: checking whether to use NLS" >&5
9277echo $ECHO_N "checking whether to use NLS... $ECHO_C" >&6; }
9278  { echo "$as_me:$LINENO: result: $USE_NLS" >&5
9279echo "${ECHO_T}$USE_NLS" >&6; }
9280  if test "$USE_NLS" = "yes"; then
9281    { echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
9282echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6; }
9283    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
9284      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
9285        gt_source="external libintl"
9286      else
9287        gt_source="libc"
9288      fi
9289    else
9290      gt_source="included intl directory"
9291    fi
9292    { echo "$as_me:$LINENO: result: $gt_source" >&5
9293echo "${ECHO_T}$gt_source" >&6; }
9294  fi
9295
9296  if test "$USE_NLS" = "yes"; then
9297
9298    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
9299      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
9300        { echo "$as_me:$LINENO: checking how to link with libintl" >&5
9301echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6; }
9302        { echo "$as_me:$LINENO: result: $LIBINTL" >&5
9303echo "${ECHO_T}$LIBINTL" >&6; }
9304
9305  for element in $INCINTL; do
9306    haveit=
9307    for x in $CPPFLAGS; do
9308
9309  acl_save_prefix="$prefix"
9310  prefix="$acl_final_prefix"
9311  acl_save_exec_prefix="$exec_prefix"
9312  exec_prefix="$acl_final_exec_prefix"
9313  eval x=\"$x\"
9314  exec_prefix="$acl_save_exec_prefix"
9315  prefix="$acl_save_prefix"
9316
9317      if test "X$x" = "X$element"; then
9318        haveit=yes
9319        break
9320      fi
9321    done
9322    if test -z "$haveit"; then
9323      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
9324    fi
9325  done
9326
9327      fi
9328
9329
9330cat >>confdefs.h <<\_ACEOF
9331#define HAVE_GETTEXT 1
9332_ACEOF
9333
9334
9335cat >>confdefs.h <<\_ACEOF
9336#define HAVE_DCGETTEXT 1
9337_ACEOF
9338
9339    fi
9340
9341        POSUB=po
9342  fi
9343
9344
9345
9346    INTLLIBS="$LIBINTL"
9347
9348
9349
9350
9351
9352
9353
9354
9355ac_config_files="$ac_config_files m4/Makefile Makefile yasr/Makefile acclogin/Makefile po/Makefile.in"
9356
9357cat >confcache <<\_ACEOF
9358# This file is a shell script that caches the results of configure
9359# tests run on this system so they can be shared between configure
9360# scripts and configure runs, see configure's option --config-cache.
9361# It is not useful on other systems.  If it contains results you don't
9362# want to keep, you may remove or edit it.
9363#
9364# config.status only pays attention to the cache file if you give it
9365# the --recheck option to rerun configure.
9366#
9367# `ac_cv_env_foo' variables (set or unset) will be overridden when
9368# loading this file, other *unset* `ac_cv_foo' will be assigned the
9369# following values.
9370
9371_ACEOF
9372
9373# The following way of writing the cache mishandles newlines in values,
9374# but we know of no workaround that is simple, portable, and efficient.
9375# So, we kill variables containing newlines.
9376# Ultrix sh set writes to stderr and can't be redirected directly,
9377# and sets the high bit in the cache file unless we assign to the vars.
9378(
9379  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
9380    eval ac_val=\$$ac_var
9381    case $ac_val in #(
9382    *${as_nl}*)
9383      case $ac_var in #(
9384      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
9385echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
9386      esac
9387      case $ac_var in #(
9388      _ | IFS | as_nl) ;; #(
9389      *) $as_unset $ac_var ;;
9390      esac ;;
9391    esac
9392  done
9393
9394  (set) 2>&1 |
9395    case $as_nl`(ac_space=' '; set) 2>&1` in #(
9396    *${as_nl}ac_space=\ *)
9397      # `set' does not quote correctly, so add quotes (double-quote
9398      # substitution turns \\\\ into \\, and sed turns \\ into \).
9399      sed -n \
9400	"s/'/'\\\\''/g;
9401	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9402      ;; #(
9403    *)
9404      # `set' quotes correctly as required by POSIX, so do not add quotes.
9405      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
9406      ;;
9407    esac |
9408    sort
9409) |
9410  sed '
9411     /^ac_cv_env_/b end
9412     t clear
9413     :clear
9414     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9415     t end
9416     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9417     :end' >>confcache
9418if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
9419  if test -w "$cache_file"; then
9420    test "x$cache_file" != "x/dev/null" &&
9421      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
9422echo "$as_me: updating cache $cache_file" >&6;}
9423    cat confcache >$cache_file
9424  else
9425    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
9426echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9427  fi
9428fi
9429rm -f confcache
9430
9431test "x$prefix" = xNONE && prefix=$ac_default_prefix
9432# Let make expand exec_prefix.
9433test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
9434
9435DEFS=-DHAVE_CONFIG_H
9436
9437ac_libobjs=
9438ac_ltlibobjs=
9439for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
9440  # 1. Remove the extension, and $U if already installed.
9441  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
9442  ac_i=`echo "$ac_i" | sed "$ac_script"`
9443  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
9444  #    will be set to the directory where LIBOBJS objects are built.
9445  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
9446  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
9447done
9448LIBOBJS=$ac_libobjs
9449
9450LTLIBOBJS=$ac_ltlibobjs
9451
9452
9453if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
9454  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
9455Usually this means the macro was only invoked conditionally." >&5
9456echo "$as_me: error: conditional \"AMDEP\" was never defined.
9457Usually this means the macro was only invoked conditionally." >&2;}
9458   { (exit 1); exit 1; }; }
9459fi
9460if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9461  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
9462Usually this means the macro was only invoked conditionally." >&5
9463echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
9464Usually this means the macro was only invoked conditionally." >&2;}
9465   { (exit 1); exit 1; }; }
9466fi
9467if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9468  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
9469Usually this means the macro was only invoked conditionally." >&5
9470echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
9471Usually this means the macro was only invoked conditionally." >&2;}
9472   { (exit 1); exit 1; }; }
9473fi
9474if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9475  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
9476Usually this means the macro was only invoked conditionally." >&5
9477echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
9478Usually this means the macro was only invoked conditionally." >&2;}
9479   { (exit 1); exit 1; }; }
9480fi
9481if test -z "${YASR_SUN_TRUE}" && test -z "${YASR_SUN_FALSE}"; then
9482  { { echo "$as_me:$LINENO: error: conditional \"YASR_SUN\" was never defined.
9483Usually this means the macro was only invoked conditionally." >&5
9484echo "$as_me: error: conditional \"YASR_SUN\" was never defined.
9485Usually this means the macro was only invoked conditionally." >&2;}
9486   { (exit 1); exit 1; }; }
9487fi
9488
9489: ${CONFIG_STATUS=./config.status}
9490ac_clean_files_save=$ac_clean_files
9491ac_clean_files="$ac_clean_files $CONFIG_STATUS"
9492{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
9493echo "$as_me: creating $CONFIG_STATUS" >&6;}
9494cat >$CONFIG_STATUS <<_ACEOF
9495#! $SHELL
9496# Generated by $as_me.
9497# Run this file to recreate the current configuration.
9498# Compiler output produced by configure, useful for debugging
9499# configure, is in config.log if it exists.
9500
9501debug=false
9502ac_cs_recheck=false
9503ac_cs_silent=false
9504SHELL=\${CONFIG_SHELL-$SHELL}
9505_ACEOF
9506
9507cat >>$CONFIG_STATUS <<\_ACEOF
9508## --------------------- ##
9509## M4sh Initialization.  ##
9510## --------------------- ##
9511
9512# Be more Bourne compatible
9513DUALCASE=1; export DUALCASE # for MKS sh
9514if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
9515  emulate sh
9516  NULLCMD=:
9517  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
9518  # is contrary to our usage.  Disable this feature.
9519  alias -g '${1+"$@"}'='"$@"'
9520  setopt NO_GLOB_SUBST
9521else
9522  case `(set -o) 2>/dev/null` in
9523  *posix*) set -o posix ;;
9524esac
9525
9526fi
9527
9528
9529
9530
9531# PATH needs CR
9532# Avoid depending upon Character Ranges.
9533as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9534as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9535as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9536as_cr_digits='0123456789'
9537as_cr_alnum=$as_cr_Letters$as_cr_digits
9538
9539# The user is always right.
9540if test "${PATH_SEPARATOR+set}" != set; then
9541  echo "#! /bin/sh" >conf$$.sh
9542  echo  "exit 0"   >>conf$$.sh
9543  chmod +x conf$$.sh
9544  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
9545    PATH_SEPARATOR=';'
9546  else
9547    PATH_SEPARATOR=:
9548  fi
9549  rm -f conf$$.sh
9550fi
9551
9552# Support unset when possible.
9553if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
9554  as_unset=unset
9555else
9556  as_unset=false
9557fi
9558
9559
9560# IFS
9561# We need space, tab and new line, in precisely that order.  Quoting is
9562# there to prevent editors from complaining about space-tab.
9563# (If _AS_PATH_WALK were called with IFS unset, it would disable word
9564# splitting by setting IFS to empty value.)
9565as_nl='
9566'
9567IFS=" ""	$as_nl"
9568
9569# Find who we are.  Look in the path if we contain no directory separator.
9570case $0 in
9571  *[\\/]* ) as_myself=$0 ;;
9572  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9573for as_dir in $PATH
9574do
9575  IFS=$as_save_IFS
9576  test -z "$as_dir" && as_dir=.
9577  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9578done
9579IFS=$as_save_IFS
9580
9581     ;;
9582esac
9583# We did not find ourselves, most probably we were run as `sh COMMAND'
9584# in which case we are not to be found in the path.
9585if test "x$as_myself" = x; then
9586  as_myself=$0
9587fi
9588if test ! -f "$as_myself"; then
9589  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9590  { (exit 1); exit 1; }
9591fi
9592
9593# Work around bugs in pre-3.0 UWIN ksh.
9594for as_var in ENV MAIL MAILPATH
9595do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
9596done
9597PS1='$ '
9598PS2='> '
9599PS4='+ '
9600
9601# NLS nuisances.
9602for as_var in \
9603  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
9604  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
9605  LC_TELEPHONE LC_TIME
9606do
9607  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
9608    eval $as_var=C; export $as_var
9609  else
9610    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
9611  fi
9612done
9613
9614# Required to use basename.
9615if expr a : '\(a\)' >/dev/null 2>&1 &&
9616   test "X`expr 00001 : '.*\(...\)'`" = X001; then
9617  as_expr=expr
9618else
9619  as_expr=false
9620fi
9621
9622if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9623  as_basename=basename
9624else
9625  as_basename=false
9626fi
9627
9628
9629# Name of the executable.
9630as_me=`$as_basename -- "$0" ||
9631$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9632	 X"$0" : 'X\(//\)$' \| \
9633	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9634echo X/"$0" |
9635    sed '/^.*\/\([^/][^/]*\)\/*$/{
9636	    s//\1/
9637	    q
9638	  }
9639	  /^X\/\(\/\/\)$/{
9640	    s//\1/
9641	    q
9642	  }
9643	  /^X\/\(\/\).*/{
9644	    s//\1/
9645	    q
9646	  }
9647	  s/.*/./; q'`
9648
9649# CDPATH.
9650$as_unset CDPATH
9651
9652
9653
9654  as_lineno_1=$LINENO
9655  as_lineno_2=$LINENO
9656  test "x$as_lineno_1" != "x$as_lineno_2" &&
9657  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
9658
9659  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9660  # uniformly replaced by the line number.  The first 'sed' inserts a
9661  # line-number line after each line using $LINENO; the second 'sed'
9662  # does the real work.  The second script uses 'N' to pair each
9663  # line-number line with the line containing $LINENO, and appends
9664  # trailing '-' during substitution so that $LINENO is not a special
9665  # case at line end.
9666  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9667  # scripts with optimization help from Paolo Bonzini.  Blame Lee
9668  # E. McMahon (1931-1989) for sed's syntax.  :-)
9669  sed -n '
9670    p
9671    /[$]LINENO/=
9672  ' <$as_myself |
9673    sed '
9674      s/[$]LINENO.*/&-/
9675      t lineno
9676      b
9677      :lineno
9678      N
9679      :loop
9680      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
9681      t loop
9682      s/-\n.*//
9683    ' >$as_me.lineno &&
9684  chmod +x "$as_me.lineno" ||
9685    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
9686   { (exit 1); exit 1; }; }
9687
9688  # Don't try to exec as it changes $[0], causing all sort of problems
9689  # (the dirname of $[0] is not the place where we might find the
9690  # original and so on.  Autoconf is especially sensitive to this).
9691  . "./$as_me.lineno"
9692  # Exit status is that of the last command.
9693  exit
9694}
9695
9696
9697if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
9698  as_dirname=dirname
9699else
9700  as_dirname=false
9701fi
9702
9703ECHO_C= ECHO_N= ECHO_T=
9704case `echo -n x` in
9705-n*)
9706  case `echo 'x\c'` in
9707  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
9708  *)   ECHO_C='\c';;
9709  esac;;
9710*)
9711  ECHO_N='-n';;
9712esac
9713
9714if expr a : '\(a\)' >/dev/null 2>&1 &&
9715   test "X`expr 00001 : '.*\(...\)'`" = X001; then
9716  as_expr=expr
9717else
9718  as_expr=false
9719fi
9720
9721rm -f conf$$ conf$$.exe conf$$.file
9722if test -d conf$$.dir; then
9723  rm -f conf$$.dir/conf$$.file
9724else
9725  rm -f conf$$.dir
9726  mkdir conf$$.dir
9727fi
9728echo >conf$$.file
9729if ln -s conf$$.file conf$$ 2>/dev/null; then
9730  as_ln_s='ln -s'
9731  # ... but there are two gotchas:
9732  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9733  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9734  # In both cases, we have to default to `cp -p'.
9735  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
9736    as_ln_s='cp -p'
9737elif ln conf$$.file conf$$ 2>/dev/null; then
9738  as_ln_s=ln
9739else
9740  as_ln_s='cp -p'
9741fi
9742rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
9743rmdir conf$$.dir 2>/dev/null
9744
9745if mkdir -p . 2>/dev/null; then
9746  as_mkdir_p=:
9747else
9748  test -d ./-p && rmdir ./-p
9749  as_mkdir_p=false
9750fi
9751
9752if test -x / >/dev/null 2>&1; then
9753  as_test_x='test -x'
9754else
9755  if ls -dL / >/dev/null 2>&1; then
9756    as_ls_L_option=L
9757  else
9758    as_ls_L_option=
9759  fi
9760  as_test_x='
9761    eval sh -c '\''
9762      if test -d "$1"; then
9763        test -d "$1/.";
9764      else
9765	case $1 in
9766        -*)set "./$1";;
9767	esac;
9768	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
9769	???[sx]*):;;*)false;;esac;fi
9770    '\'' sh
9771  '
9772fi
9773as_executable_p=$as_test_x
9774
9775# Sed expression to map a string onto a valid CPP name.
9776as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9777
9778# Sed expression to map a string onto a valid variable name.
9779as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9780
9781
9782exec 6>&1
9783
9784# Save the log message, to keep $[0] and so on meaningful, and to
9785# report actual input values of CONFIG_FILES etc. instead of their
9786# values after options handling.
9787ac_log="
9788This file was extended by yasr $as_me 0.6.9, which was
9789generated by GNU Autoconf 2.61.  Invocation command line was
9790
9791  CONFIG_FILES    = $CONFIG_FILES
9792  CONFIG_HEADERS  = $CONFIG_HEADERS
9793  CONFIG_LINKS    = $CONFIG_LINKS
9794  CONFIG_COMMANDS = $CONFIG_COMMANDS
9795  $ $0 $@
9796
9797on `(hostname || uname -n) 2>/dev/null | sed 1q`
9798"
9799
9800_ACEOF
9801
9802cat >>$CONFIG_STATUS <<_ACEOF
9803# Files that config.status was made for.
9804config_files="$ac_config_files"
9805config_headers="$ac_config_headers"
9806config_commands="$ac_config_commands"
9807
9808_ACEOF
9809
9810cat >>$CONFIG_STATUS <<\_ACEOF
9811ac_cs_usage="\
9812\`$as_me' instantiates files from templates according to the
9813current configuration.
9814
9815Usage: $0 [OPTIONS] [FILE]...
9816
9817  -h, --help       print this help, then exit
9818  -V, --version    print version number and configuration settings, then exit
9819  -q, --quiet      do not print progress messages
9820  -d, --debug      don't remove temporary files
9821      --recheck    update $as_me by reconfiguring in the same conditions
9822  --file=FILE[:TEMPLATE]
9823		   instantiate the configuration file FILE
9824  --header=FILE[:TEMPLATE]
9825		   instantiate the configuration header FILE
9826
9827Configuration files:
9828$config_files
9829
9830Configuration headers:
9831$config_headers
9832
9833Configuration commands:
9834$config_commands
9835
9836Report bugs to <bug-autoconf@gnu.org>."
9837
9838_ACEOF
9839cat >>$CONFIG_STATUS <<_ACEOF
9840ac_cs_version="\\
9841yasr config.status 0.6.9
9842configured by $0, generated by GNU Autoconf 2.61,
9843  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
9844
9845Copyright (C) 2006 Free Software Foundation, Inc.
9846This config.status script is free software; the Free Software Foundation
9847gives unlimited permission to copy, distribute and modify it."
9848
9849ac_pwd='$ac_pwd'
9850srcdir='$srcdir'
9851INSTALL='$INSTALL'
9852MKDIR_P='$MKDIR_P'
9853_ACEOF
9854
9855cat >>$CONFIG_STATUS <<\_ACEOF
9856# If no file are specified by the user, then we need to provide default
9857# value.  By we need to know if files were specified by the user.
9858ac_need_defaults=:
9859while test $# != 0
9860do
9861  case $1 in
9862  --*=*)
9863    ac_option=`expr "X$1" : 'X\([^=]*\)='`
9864    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
9865    ac_shift=:
9866    ;;
9867  *)
9868    ac_option=$1
9869    ac_optarg=$2
9870    ac_shift=shift
9871    ;;
9872  esac
9873
9874  case $ac_option in
9875  # Handling of the options.
9876  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9877    ac_cs_recheck=: ;;
9878  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
9879    echo "$ac_cs_version"; exit ;;
9880  --debug | --debu | --deb | --de | --d | -d )
9881    debug=: ;;
9882  --file | --fil | --fi | --f )
9883    $ac_shift
9884    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
9885    ac_need_defaults=false;;
9886  --header | --heade | --head | --hea )
9887    $ac_shift
9888    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
9889    ac_need_defaults=false;;
9890  --he | --h)
9891    # Conflict between --help and --header
9892    { echo "$as_me: error: ambiguous option: $1
9893Try \`$0 --help' for more information." >&2
9894   { (exit 1); exit 1; }; };;
9895  --help | --hel | -h )
9896    echo "$ac_cs_usage"; exit ;;
9897  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9898  | -silent | --silent | --silen | --sile | --sil | --si | --s)
9899    ac_cs_silent=: ;;
9900
9901  # This is an error.
9902  -*) { echo "$as_me: error: unrecognized option: $1
9903Try \`$0 --help' for more information." >&2
9904   { (exit 1); exit 1; }; } ;;
9905
9906  *) ac_config_targets="$ac_config_targets $1"
9907     ac_need_defaults=false ;;
9908
9909  esac
9910  shift
9911done
9912
9913ac_configure_extra_args=
9914
9915if $ac_cs_silent; then
9916  exec 6>/dev/null
9917  ac_configure_extra_args="$ac_configure_extra_args --silent"
9918fi
9919
9920_ACEOF
9921cat >>$CONFIG_STATUS <<_ACEOF
9922if \$ac_cs_recheck; then
9923  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
9924  CONFIG_SHELL=$SHELL
9925  export CONFIG_SHELL
9926  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9927fi
9928
9929_ACEOF
9930cat >>$CONFIG_STATUS <<\_ACEOF
9931exec 5>>config.log
9932{
9933  echo
9934  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9935## Running $as_me. ##
9936_ASBOX
9937  echo "$ac_log"
9938} >&5
9939
9940_ACEOF
9941cat >>$CONFIG_STATUS <<_ACEOF
9942#
9943# INIT-COMMANDS
9944#
9945AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
9946# Capture the value of obsolete ALL_LINGUAS because we need it to compute
9947    # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
9948    # from automake < 1.5.
9949    eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
9950    # Capture the value of LINGUAS because we need it to compute CATALOGS.
9951    LINGUAS="${LINGUAS-%UNSET%}"
9952
9953
9954_ACEOF
9955
9956cat >>$CONFIG_STATUS <<\_ACEOF
9957
9958# Handling of arguments.
9959for ac_config_target in $ac_config_targets
9960do
9961  case $ac_config_target in
9962    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
9963    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
9964    "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
9965    "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
9966    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
9967    "yasr/Makefile") CONFIG_FILES="$CONFIG_FILES yasr/Makefile" ;;
9968    "acclogin/Makefile") CONFIG_FILES="$CONFIG_FILES acclogin/Makefile" ;;
9969    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
9970
9971  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9972echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9973   { (exit 1); exit 1; }; };;
9974  esac
9975done
9976
9977
9978# If the user did not use the arguments to specify the items to instantiate,
9979# then the envvar interface is used.  Set only those that are not.
9980# We use the long form for the default assignment because of an extremely
9981# bizarre bug on SunOS 4.1.3.
9982if $ac_need_defaults; then
9983  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
9984  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
9985  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
9986fi
9987
9988# Have a temporary directory for convenience.  Make it in the build tree
9989# simply because there is no reason against having it here, and in addition,
9990# creating and moving files from /tmp can sometimes cause problems.
9991# Hook for its removal unless debugging.
9992# Note that there is a small window in which the directory will not be cleaned:
9993# after its creation but before its name has been assigned to `$tmp'.
9994$debug ||
9995{
9996  tmp=
9997  trap 'exit_status=$?
9998  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
9999' 0
10000  trap '{ (exit 1); exit 1; }' 1 2 13 15
10001}
10002# Create a (secure) tmp directory for tmp files.
10003
10004{
10005  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10006  test -n "$tmp" && test -d "$tmp"
10007}  ||
10008{
10009  tmp=./conf$$-$RANDOM
10010  (umask 077 && mkdir "$tmp")
10011} ||
10012{
10013   echo "$me: cannot create a temporary directory in ." >&2
10014   { (exit 1); exit 1; }
10015}
10016
10017#
10018# Set up the sed scripts for CONFIG_FILES section.
10019#
10020
10021# No need to generate the scripts if there are no CONFIG_FILES.
10022# This happens for instance when ./config.status config.h
10023if test -n "$CONFIG_FILES"; then
10024
10025_ACEOF
10026
10027
10028
10029ac_delim='%!_!# '
10030for ac_last_try in false false false false false :; do
10031  cat >conf$$subs.sed <<_ACEOF
10032SHELL!$SHELL$ac_delim
10033PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
10034PACKAGE_NAME!$PACKAGE_NAME$ac_delim
10035PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
10036PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
10037PACKAGE_STRING!$PACKAGE_STRING$ac_delim
10038PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
10039exec_prefix!$exec_prefix$ac_delim
10040prefix!$prefix$ac_delim
10041program_transform_name!$program_transform_name$ac_delim
10042bindir!$bindir$ac_delim
10043sbindir!$sbindir$ac_delim
10044libexecdir!$libexecdir$ac_delim
10045datarootdir!$datarootdir$ac_delim
10046datadir!$datadir$ac_delim
10047sysconfdir!$sysconfdir$ac_delim
10048sharedstatedir!$sharedstatedir$ac_delim
10049localstatedir!$localstatedir$ac_delim
10050includedir!$includedir$ac_delim
10051oldincludedir!$oldincludedir$ac_delim
10052docdir!$docdir$ac_delim
10053infodir!$infodir$ac_delim
10054htmldir!$htmldir$ac_delim
10055dvidir!$dvidir$ac_delim
10056pdfdir!$pdfdir$ac_delim
10057psdir!$psdir$ac_delim
10058libdir!$libdir$ac_delim
10059localedir!$localedir$ac_delim
10060mandir!$mandir$ac_delim
10061DEFS!$DEFS$ac_delim
10062ECHO_C!$ECHO_C$ac_delim
10063ECHO_N!$ECHO_N$ac_delim
10064ECHO_T!$ECHO_T$ac_delim
10065LIBS!$LIBS$ac_delim
10066build_alias!$build_alias$ac_delim
10067host_alias!$host_alias$ac_delim
10068target_alias!$target_alias$ac_delim
10069INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
10070INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
10071INSTALL_DATA!$INSTALL_DATA$ac_delim
10072am__isrc!$am__isrc$ac_delim
10073CYGPATH_W!$CYGPATH_W$ac_delim
10074PACKAGE!$PACKAGE$ac_delim
10075VERSION!$VERSION$ac_delim
10076ACLOCAL!$ACLOCAL$ac_delim
10077AUTOCONF!$AUTOCONF$ac_delim
10078AUTOMAKE!$AUTOMAKE$ac_delim
10079AUTOHEADER!$AUTOHEADER$ac_delim
10080MAKEINFO!$MAKEINFO$ac_delim
10081install_sh!$install_sh$ac_delim
10082STRIP!$STRIP$ac_delim
10083INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
10084mkdir_p!$mkdir_p$ac_delim
10085AWK!$AWK$ac_delim
10086SET_MAKE!$SET_MAKE$ac_delim
10087am__leading_dot!$am__leading_dot$ac_delim
10088AMTAR!$AMTAR$ac_delim
10089am__tar!$am__tar$ac_delim
10090am__untar!$am__untar$ac_delim
10091CC!$CC$ac_delim
10092CFLAGS!$CFLAGS$ac_delim
10093LDFLAGS!$LDFLAGS$ac_delim
10094CPPFLAGS!$CPPFLAGS$ac_delim
10095ac_ct_CC!$ac_ct_CC$ac_delim
10096EXEEXT!$EXEEXT$ac_delim
10097OBJEXT!$OBJEXT$ac_delim
10098DEPDIR!$DEPDIR$ac_delim
10099am__include!$am__include$ac_delim
10100am__quote!$am__quote$ac_delim
10101AMDEP_TRUE!$AMDEP_TRUE$ac_delim
10102AMDEP_FALSE!$AMDEP_FALSE$ac_delim
10103AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
10104CCDEPMODE!$CCDEPMODE$ac_delim
10105am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
10106am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
10107CPP!$CPP$ac_delim
10108GREP!$GREP$ac_delim
10109EGREP!$EGREP$ac_delim
10110LIBOBJS!$LIBOBJS$ac_delim
10111build!$build$ac_delim
10112build_cpu!$build_cpu$ac_delim
10113build_vendor!$build_vendor$ac_delim
10114build_os!$build_os$ac_delim
10115host!$host$ac_delim
10116host_cpu!$host_cpu$ac_delim
10117host_vendor!$host_vendor$ac_delim
10118host_os!$host_os$ac_delim
10119YASR_SUN_TRUE!$YASR_SUN_TRUE$ac_delim
10120YASR_SUN_FALSE!$YASR_SUN_FALSE$ac_delim
10121USE_NLS!$USE_NLS$ac_delim
10122GETTEXT_MACRO_VERSION!$GETTEXT_MACRO_VERSION$ac_delim
10123MSGFMT!$MSGFMT$ac_delim
10124GMSGFMT!$GMSGFMT$ac_delim
10125MSGFMT_015!$MSGFMT_015$ac_delim
10126GMSGFMT_015!$GMSGFMT_015$ac_delim
10127XGETTEXT!$XGETTEXT$ac_delim
10128XGETTEXT_015!$XGETTEXT_015$ac_delim
10129_ACEOF
10130
10131  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
10132    break
10133  elif $ac_last_try; then
10134    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
10135echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
10136   { (exit 1); exit 1; }; }
10137  else
10138    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10139  fi
10140done
10141
10142ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
10143if test -n "$ac_eof"; then
10144  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
10145  ac_eof=`expr $ac_eof + 1`
10146fi
10147
10148cat >>$CONFIG_STATUS <<_ACEOF
10149cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
10150/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10151_ACEOF
10152sed '
10153s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
10154s/^/s,@/; s/!/@,|#_!!_#|/
10155:n
10156t n
10157s/'"$ac_delim"'$/,g/; t
10158s/$/\\/; p
10159N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
10160' >>$CONFIG_STATUS <conf$$subs.sed
10161rm -f conf$$subs.sed
10162cat >>$CONFIG_STATUS <<_ACEOF
10163CEOF$ac_eof
10164_ACEOF
10165
10166
10167ac_delim='%!_!# '
10168for ac_last_try in false false false false false :; do
10169  cat >conf$$subs.sed <<_ACEOF
10170MSGMERGE!$MSGMERGE$ac_delim
10171XGETTEXT_EXTRA_OPTIONS!$XGETTEXT_EXTRA_OPTIONS$ac_delim
10172INTL_MACOSX_LIBS!$INTL_MACOSX_LIBS$ac_delim
10173LIBICONV!$LIBICONV$ac_delim
10174LTLIBICONV!$LTLIBICONV$ac_delim
10175INTLLIBS!$INTLLIBS$ac_delim
10176LIBINTL!$LIBINTL$ac_delim
10177LTLIBINTL!$LTLIBINTL$ac_delim
10178POSUB!$POSUB$ac_delim
10179LTLIBOBJS!$LTLIBOBJS$ac_delim
10180_ACEOF
10181
10182  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 10; then
10183    break
10184  elif $ac_last_try; then
10185    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
10186echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
10187   { (exit 1); exit 1; }; }
10188  else
10189    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10190  fi
10191done
10192
10193ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
10194if test -n "$ac_eof"; then
10195  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
10196  ac_eof=`expr $ac_eof + 1`
10197fi
10198
10199cat >>$CONFIG_STATUS <<_ACEOF
10200cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
10201/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
10202_ACEOF
10203sed '
10204s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
10205s/^/s,@/; s/!/@,|#_!!_#|/
10206:n
10207t n
10208s/'"$ac_delim"'$/,g/; t
10209s/$/\\/; p
10210N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
10211' >>$CONFIG_STATUS <conf$$subs.sed
10212rm -f conf$$subs.sed
10213cat >>$CONFIG_STATUS <<_ACEOF
10214:end
10215s/|#_!!_#|//g
10216CEOF$ac_eof
10217_ACEOF
10218
10219
10220# VPATH may cause trouble with some makes, so we remove $(srcdir),
10221# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10222# trailing colons and then remove the whole line if VPATH becomes empty
10223# (actually we leave an empty line to preserve line numbers).
10224if test "x$srcdir" = x.; then
10225  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
10226s/:*\$(srcdir):*/:/
10227s/:*\${srcdir}:*/:/
10228s/:*@srcdir@:*/:/
10229s/^\([^=]*=[	 ]*\):*/\1/
10230s/:*$//
10231s/^[^=]*=[	 ]*$//
10232}'
10233fi
10234
10235cat >>$CONFIG_STATUS <<\_ACEOF
10236fi # test -n "$CONFIG_FILES"
10237
10238
10239for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
10240do
10241  case $ac_tag in
10242  :[FHLC]) ac_mode=$ac_tag; continue;;
10243  esac
10244  case $ac_mode$ac_tag in
10245  :[FHL]*:*);;
10246  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
10247echo "$as_me: error: Invalid tag $ac_tag." >&2;}
10248   { (exit 1); exit 1; }; };;
10249  :[FH]-) ac_tag=-:-;;
10250  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
10251  esac
10252  ac_save_IFS=$IFS
10253  IFS=:
10254  set x $ac_tag
10255  IFS=$ac_save_IFS
10256  shift
10257  ac_file=$1
10258  shift
10259
10260  case $ac_mode in
10261  :L) ac_source=$1;;
10262  :[FH])
10263    ac_file_inputs=
10264    for ac_f
10265    do
10266      case $ac_f in
10267      -) ac_f="$tmp/stdin";;
10268      *) # Look for the file first in the build tree, then in the source tree
10269	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
10270	 # because $ac_f cannot contain `:'.
10271	 test -f "$ac_f" ||
10272	   case $ac_f in
10273	   [\\/$]*) false;;
10274	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10275	   esac ||
10276	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
10277echo "$as_me: error: cannot find input file: $ac_f" >&2;}
10278   { (exit 1); exit 1; }; };;
10279      esac
10280      ac_file_inputs="$ac_file_inputs $ac_f"
10281    done
10282
10283    # Let's still pretend it is `configure' which instantiates (i.e., don't
10284    # use $as_me), people would be surprised to read:
10285    #    /* config.h.  Generated by config.status.  */
10286    configure_input="Generated from "`IFS=:
10287	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
10288    if test x"$ac_file" != x-; then
10289      configure_input="$ac_file.  $configure_input"
10290      { echo "$as_me:$LINENO: creating $ac_file" >&5
10291echo "$as_me: creating $ac_file" >&6;}
10292    fi
10293
10294    case $ac_tag in
10295    *:-:* | *:-) cat >"$tmp/stdin";;
10296    esac
10297    ;;
10298  esac
10299
10300  ac_dir=`$as_dirname -- "$ac_file" ||
10301$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10302	 X"$ac_file" : 'X\(//\)[^/]' \| \
10303	 X"$ac_file" : 'X\(//\)$' \| \
10304	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10305echo X"$ac_file" |
10306    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10307	    s//\1/
10308	    q
10309	  }
10310	  /^X\(\/\/\)[^/].*/{
10311	    s//\1/
10312	    q
10313	  }
10314	  /^X\(\/\/\)$/{
10315	    s//\1/
10316	    q
10317	  }
10318	  /^X\(\/\).*/{
10319	    s//\1/
10320	    q
10321	  }
10322	  s/.*/./; q'`
10323  { as_dir="$ac_dir"
10324  case $as_dir in #(
10325  -*) as_dir=./$as_dir;;
10326  esac
10327  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
10328    as_dirs=
10329    while :; do
10330      case $as_dir in #(
10331      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
10332      *) as_qdir=$as_dir;;
10333      esac
10334      as_dirs="'$as_qdir' $as_dirs"
10335      as_dir=`$as_dirname -- "$as_dir" ||
10336$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10337	 X"$as_dir" : 'X\(//\)[^/]' \| \
10338	 X"$as_dir" : 'X\(//\)$' \| \
10339	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10340echo X"$as_dir" |
10341    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10342	    s//\1/
10343	    q
10344	  }
10345	  /^X\(\/\/\)[^/].*/{
10346	    s//\1/
10347	    q
10348	  }
10349	  /^X\(\/\/\)$/{
10350	    s//\1/
10351	    q
10352	  }
10353	  /^X\(\/\).*/{
10354	    s//\1/
10355	    q
10356	  }
10357	  s/.*/./; q'`
10358      test -d "$as_dir" && break
10359    done
10360    test -z "$as_dirs" || eval "mkdir $as_dirs"
10361  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
10362echo "$as_me: error: cannot create directory $as_dir" >&2;}
10363   { (exit 1); exit 1; }; }; }
10364  ac_builddir=.
10365
10366case "$ac_dir" in
10367.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10368*)
10369  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10370  # A ".." for each directory in $ac_dir_suffix.
10371  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
10372  case $ac_top_builddir_sub in
10373  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10374  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10375  esac ;;
10376esac
10377ac_abs_top_builddir=$ac_pwd
10378ac_abs_builddir=$ac_pwd$ac_dir_suffix
10379# for backward compatibility:
10380ac_top_builddir=$ac_top_build_prefix
10381
10382case $srcdir in
10383  .)  # We are building in place.
10384    ac_srcdir=.
10385    ac_top_srcdir=$ac_top_builddir_sub
10386    ac_abs_top_srcdir=$ac_pwd ;;
10387  [\\/]* | ?:[\\/]* )  # Absolute name.
10388    ac_srcdir=$srcdir$ac_dir_suffix;
10389    ac_top_srcdir=$srcdir
10390    ac_abs_top_srcdir=$srcdir ;;
10391  *) # Relative name.
10392    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10393    ac_top_srcdir=$ac_top_build_prefix$srcdir
10394    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10395esac
10396ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10397
10398
10399  case $ac_mode in
10400  :F)
10401  #
10402  # CONFIG_FILE
10403  #
10404
10405  case $INSTALL in
10406  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10407  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
10408  esac
10409  ac_MKDIR_P=$MKDIR_P
10410  case $MKDIR_P in
10411  [\\/$]* | ?:[\\/]* ) ;;
10412  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
10413  esac
10414_ACEOF
10415
10416cat >>$CONFIG_STATUS <<\_ACEOF
10417# If the template does not know about datarootdir, expand it.
10418# FIXME: This hack should be removed a few years after 2.60.
10419ac_datarootdir_hack=; ac_datarootdir_seen=
10420
10421case `sed -n '/datarootdir/ {
10422  p
10423  q
10424}
10425/@datadir@/p
10426/@docdir@/p
10427/@infodir@/p
10428/@localedir@/p
10429/@mandir@/p
10430' $ac_file_inputs` in
10431*datarootdir*) ac_datarootdir_seen=yes;;
10432*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
10433  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10434echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10435_ACEOF
10436cat >>$CONFIG_STATUS <<_ACEOF
10437  ac_datarootdir_hack='
10438  s&@datadir@&$datadir&g
10439  s&@docdir@&$docdir&g
10440  s&@infodir@&$infodir&g
10441  s&@localedir@&$localedir&g
10442  s&@mandir@&$mandir&g
10443    s&\\\${datarootdir}&$datarootdir&g' ;;
10444esac
10445_ACEOF
10446
10447# Neutralize VPATH when `$srcdir' = `.'.
10448# Shell code in configure.ac might set extrasub.
10449# FIXME: do we really want to maintain this feature?
10450cat >>$CONFIG_STATUS <<_ACEOF
10451  sed "$ac_vpsub
10452$extrasub
10453_ACEOF
10454cat >>$CONFIG_STATUS <<\_ACEOF
10455:t
10456/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10457s&@configure_input@&$configure_input&;t t
10458s&@top_builddir@&$ac_top_builddir_sub&;t t
10459s&@srcdir@&$ac_srcdir&;t t
10460s&@abs_srcdir@&$ac_abs_srcdir&;t t
10461s&@top_srcdir@&$ac_top_srcdir&;t t
10462s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
10463s&@builddir@&$ac_builddir&;t t
10464s&@abs_builddir@&$ac_abs_builddir&;t t
10465s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
10466s&@INSTALL@&$ac_INSTALL&;t t
10467s&@MKDIR_P@&$ac_MKDIR_P&;t t
10468$ac_datarootdir_hack
10469" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
10470
10471test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10472  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
10473  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
10474  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10475which seems to be undefined.  Please make sure it is defined." >&5
10476echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10477which seems to be undefined.  Please make sure it is defined." >&2;}
10478
10479  rm -f "$tmp/stdin"
10480  case $ac_file in
10481  -) cat "$tmp/out"; rm -f "$tmp/out";;
10482  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
10483  esac
10484 ;;
10485  :H)
10486  #
10487  # CONFIG_HEADER
10488  #
10489_ACEOF
10490
10491# Transform confdefs.h into a sed script `conftest.defines', that
10492# substitutes the proper values into config.h.in to produce config.h.
10493rm -f conftest.defines conftest.tail
10494# First, append a space to every undef/define line, to ease matching.
10495echo 's/$/ /' >conftest.defines
10496# Then, protect against being on the right side of a sed subst, or in
10497# an unquoted here document, in config.status.  If some macros were
10498# called several times there might be several #defines for the same
10499# symbol, which is useless.  But do not sort them, since the last
10500# AC_DEFINE must be honored.
10501ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
10502# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
10503# NAME is the cpp macro being defined, VALUE is the value it is being given.
10504# PARAMS is the parameter list in the macro definition--in most cases, it's
10505# just an empty string.
10506ac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
10507ac_dB='\\)[	 (].*,\\1define\\2'
10508ac_dC=' '
10509ac_dD=' ,'
10510
10511uniq confdefs.h |
10512  sed -n '
10513	t rset
10514	:rset
10515	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
10516	t ok
10517	d
10518	:ok
10519	s/[\\&,]/\\&/g
10520	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
10521	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
10522  ' >>conftest.defines
10523
10524# Remove the space that was appended to ease matching.
10525# Then replace #undef with comments.  This is necessary, for
10526# example, in the case of _POSIX_SOURCE, which is predefined and required
10527# on some systems where configure will not decide to define it.
10528# (The regexp can be short, since the line contains either #define or #undef.)
10529echo 's/ $//
10530s,^[	 #]*u.*,/* & */,' >>conftest.defines
10531
10532# Break up conftest.defines:
10533ac_max_sed_lines=50
10534
10535# First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
10536# Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
10537# Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
10538# et cetera.
10539ac_in='$ac_file_inputs'
10540ac_out='"$tmp/out1"'
10541ac_nxt='"$tmp/out2"'
10542
10543while :
10544do
10545  # Write a here document:
10546    cat >>$CONFIG_STATUS <<_ACEOF
10547    # First, check the format of the line:
10548    cat >"\$tmp/defines.sed" <<\\CEOF
10549/^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
10550/^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
10551b
10552:def
10553_ACEOF
10554  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
10555  echo 'CEOF
10556    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
10557  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
10558  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
10559  grep . conftest.tail >/dev/null || break
10560  rm -f conftest.defines
10561  mv conftest.tail conftest.defines
10562done
10563rm -f conftest.defines conftest.tail
10564
10565echo "ac_result=$ac_in" >>$CONFIG_STATUS
10566cat >>$CONFIG_STATUS <<\_ACEOF
10567  if test x"$ac_file" != x-; then
10568    echo "/* $configure_input  */" >"$tmp/config.h"
10569    cat "$ac_result" >>"$tmp/config.h"
10570    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
10571      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
10572echo "$as_me: $ac_file is unchanged" >&6;}
10573    else
10574      rm -f $ac_file
10575      mv "$tmp/config.h" $ac_file
10576    fi
10577  else
10578    echo "/* $configure_input  */"
10579    cat "$ac_result"
10580  fi
10581  rm -f "$tmp/out12"
10582# Compute $ac_file's index in $config_headers.
10583_am_stamp_count=1
10584for _am_header in $config_headers :; do
10585  case $_am_header in
10586    $ac_file | $ac_file:* )
10587      break ;;
10588    * )
10589      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
10590  esac
10591done
10592echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
10593$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10594	 X$ac_file : 'X\(//\)[^/]' \| \
10595	 X$ac_file : 'X\(//\)$' \| \
10596	 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
10597echo X$ac_file |
10598    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10599	    s//\1/
10600	    q
10601	  }
10602	  /^X\(\/\/\)[^/].*/{
10603	    s//\1/
10604	    q
10605	  }
10606	  /^X\(\/\/\)$/{
10607	    s//\1/
10608	    q
10609	  }
10610	  /^X\(\/\).*/{
10611	    s//\1/
10612	    q
10613	  }
10614	  s/.*/./; q'`/stamp-h$_am_stamp_count
10615 ;;
10616
10617  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
10618echo "$as_me: executing $ac_file commands" >&6;}
10619 ;;
10620  esac
10621
10622
10623  case $ac_file$ac_mode in
10624    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
10625  # Strip MF so we end up with the name of the file.
10626  mf=`echo "$mf" | sed -e 's/:.*$//'`
10627  # Check whether this is an Automake generated Makefile or not.
10628  # We used to match only the files named `Makefile.in', but
10629  # some people rename them; so instead we look at the file content.
10630  # Grep'ing the first line is not enough: some people post-process
10631  # each Makefile.in and add a new line on top of each file to say so.
10632  # Grep'ing the whole file is not good either: AIX grep has a line
10633  # limit of 2048, but all sed's we know have understand at least 4000.
10634  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
10635    dirpart=`$as_dirname -- "$mf" ||
10636$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10637	 X"$mf" : 'X\(//\)[^/]' \| \
10638	 X"$mf" : 'X\(//\)$' \| \
10639	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10640echo X"$mf" |
10641    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10642	    s//\1/
10643	    q
10644	  }
10645	  /^X\(\/\/\)[^/].*/{
10646	    s//\1/
10647	    q
10648	  }
10649	  /^X\(\/\/\)$/{
10650	    s//\1/
10651	    q
10652	  }
10653	  /^X\(\/\).*/{
10654	    s//\1/
10655	    q
10656	  }
10657	  s/.*/./; q'`
10658  else
10659    continue
10660  fi
10661  # Extract the definition of DEPDIR, am__include, and am__quote
10662  # from the Makefile without running `make'.
10663  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
10664  test -z "$DEPDIR" && continue
10665  am__include=`sed -n 's/^am__include = //p' < "$mf"`
10666  test -z "am__include" && continue
10667  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
10668  # When using ansi2knr, U may be empty or an underscore; expand it
10669  U=`sed -n 's/^U = //p' < "$mf"`
10670  # Find all dependency output files, they are included files with
10671  # $(DEPDIR) in their names.  We invoke sed twice because it is the
10672  # simplest approach to changing $(DEPDIR) to its actual value in the
10673  # expansion.
10674  for file in `sed -n "
10675    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10676       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10677    # Make sure the directory exists.
10678    test -f "$dirpart/$file" && continue
10679    fdir=`$as_dirname -- "$file" ||
10680$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10681	 X"$file" : 'X\(//\)[^/]' \| \
10682	 X"$file" : 'X\(//\)$' \| \
10683	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10684echo X"$file" |
10685    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10686	    s//\1/
10687	    q
10688	  }
10689	  /^X\(\/\/\)[^/].*/{
10690	    s//\1/
10691	    q
10692	  }
10693	  /^X\(\/\/\)$/{
10694	    s//\1/
10695	    q
10696	  }
10697	  /^X\(\/\).*/{
10698	    s//\1/
10699	    q
10700	  }
10701	  s/.*/./; q'`
10702    { as_dir=$dirpart/$fdir
10703  case $as_dir in #(
10704  -*) as_dir=./$as_dir;;
10705  esac
10706  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
10707    as_dirs=
10708    while :; do
10709      case $as_dir in #(
10710      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
10711      *) as_qdir=$as_dir;;
10712      esac
10713      as_dirs="'$as_qdir' $as_dirs"
10714      as_dir=`$as_dirname -- "$as_dir" ||
10715$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10716	 X"$as_dir" : 'X\(//\)[^/]' \| \
10717	 X"$as_dir" : 'X\(//\)$' \| \
10718	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10719echo X"$as_dir" |
10720    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10721	    s//\1/
10722	    q
10723	  }
10724	  /^X\(\/\/\)[^/].*/{
10725	    s//\1/
10726	    q
10727	  }
10728	  /^X\(\/\/\)$/{
10729	    s//\1/
10730	    q
10731	  }
10732	  /^X\(\/\).*/{
10733	    s//\1/
10734	    q
10735	  }
10736	  s/.*/./; q'`
10737      test -d "$as_dir" && break
10738    done
10739    test -z "$as_dirs" || eval "mkdir $as_dirs"
10740  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
10741echo "$as_me: error: cannot create directory $as_dir" >&2;}
10742   { (exit 1); exit 1; }; }; }
10743    # echo "creating $dirpart/$file"
10744    echo '# dummy' > "$dirpart/$file"
10745  done
10746done
10747 ;;
10748    "po-directories":C)
10749    for ac_file in $CONFIG_FILES; do
10750      # Support "outfile[:infile[:infile...]]"
10751      case "$ac_file" in
10752        *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
10753      esac
10754      # PO directories have a Makefile.in generated from Makefile.in.in.
10755      case "$ac_file" in */Makefile.in)
10756        # Adjust a relative srcdir.
10757        ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
10758        ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
10759        ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
10760        # In autoconf-2.13 it is called $ac_given_srcdir.
10761        # In autoconf-2.50 it is called $srcdir.
10762        test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
10763        case "$ac_given_srcdir" in
10764          .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
10765          /*) top_srcdir="$ac_given_srcdir" ;;
10766          *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
10767        esac
10768        # Treat a directory as a PO directory if and only if it has a
10769        # POTFILES.in file. This allows packages to have multiple PO
10770        # directories under different names or in different locations.
10771        if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
10772          rm -f "$ac_dir/POTFILES"
10773          test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
10774          cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ 	]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
10775          POMAKEFILEDEPS="POTFILES.in"
10776          # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
10777          # on $ac_dir but don't depend on user-specified configuration
10778          # parameters.
10779          if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
10780            # The LINGUAS file contains the set of available languages.
10781            if test -n "$OBSOLETE_ALL_LINGUAS"; then
10782              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
10783            fi
10784            ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
10785            # Hide the ALL_LINGUAS assigment from automake < 1.5.
10786            eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
10787            POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
10788          else
10789            # The set of available languages was given in configure.in.
10790            # Hide the ALL_LINGUAS assigment from automake < 1.5.
10791            eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
10792          fi
10793          # Compute POFILES
10794          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
10795          # Compute UPDATEPOFILES
10796          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
10797          # Compute DUMMYPOFILES
10798          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
10799          # Compute GMOFILES
10800          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
10801          case "$ac_given_srcdir" in
10802            .) srcdirpre= ;;
10803            *) srcdirpre='$(srcdir)/' ;;
10804          esac
10805          POFILES=
10806          UPDATEPOFILES=
10807          DUMMYPOFILES=
10808          GMOFILES=
10809          for lang in $ALL_LINGUAS; do
10810            POFILES="$POFILES $srcdirpre$lang.po"
10811            UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
10812            DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
10813            GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
10814          done
10815          # CATALOGS depends on both $ac_dir and the user's LINGUAS
10816          # environment variable.
10817          INST_LINGUAS=
10818          if test -n "$ALL_LINGUAS"; then
10819            for presentlang in $ALL_LINGUAS; do
10820              useit=no
10821              if test "%UNSET%" != "$LINGUAS"; then
10822                desiredlanguages="$LINGUAS"
10823              else
10824                desiredlanguages="$ALL_LINGUAS"
10825              fi
10826              for desiredlang in $desiredlanguages; do
10827                # Use the presentlang catalog if desiredlang is
10828                #   a. equal to presentlang, or
10829                #   b. a variant of presentlang (because in this case,
10830                #      presentlang can be used as a fallback for messages
10831                #      which are not translated in the desiredlang catalog).
10832                case "$desiredlang" in
10833                  "$presentlang"*) useit=yes;;
10834                esac
10835              done
10836              if test $useit = yes; then
10837                INST_LINGUAS="$INST_LINGUAS $presentlang"
10838              fi
10839            done
10840          fi
10841          CATALOGS=
10842          if test -n "$INST_LINGUAS"; then
10843            for lang in $INST_LINGUAS; do
10844              CATALOGS="$CATALOGS $lang.gmo"
10845            done
10846          fi
10847          test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
10848          sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
10849          for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
10850            if test -f "$f"; then
10851              case "$f" in
10852                *.orig | *.bak | *~) ;;
10853                *) cat "$f" >> "$ac_dir/Makefile" ;;
10854              esac
10855            fi
10856          done
10857        fi
10858        ;;
10859      esac
10860    done ;;
10861
10862  esac
10863done # for ac_tag
10864
10865
10866{ (exit 0); exit 0; }
10867_ACEOF
10868chmod +x $CONFIG_STATUS
10869ac_clean_files=$ac_clean_files_save
10870
10871
10872# configure is writing to config.log, and then calls config.status.
10873# config.status does its own redirection, appending to config.log.
10874# Unfortunately, on DOS this fails, as config.log is still kept open
10875# by configure, so config.status won't be able to write to it; its
10876# output is simply discarded.  So we exec the FD to /dev/null,
10877# effectively closing config.log, so it can be properly (re)opened and
10878# appended to by config.status.  When coming back to configure, we
10879# need to make the FD available again.
10880if test "$no_create" != yes; then
10881  ac_cs_success=:
10882  ac_config_status_args=
10883  test "$silent" = yes &&
10884    ac_config_status_args="$ac_config_status_args --quiet"
10885  exec 5>/dev/null
10886  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
10887  exec 5>>config.log
10888  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10889  # would make configure fail if this is the last instruction.
10890  $ac_cs_success || { (exit 1); exit 1; }
10891fi
10892
10893