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