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