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