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