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