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