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