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