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