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