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