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