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