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