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