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