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