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