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