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