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