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