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