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