13294c433Smrg#! /bin/sh
23294c433Smrg# Guess values for system-dependent variables and create Makefiles.
3f403ce92Smrg# Generated by GNU Autoconf 2.71 for font-bh-100dpi 1.0.4.
43294c433Smrg#
5f403ce92Smrg# Report bugs to <https://gitlab.freedesktop.org/xorg/font/bh-100dpi/-/issues>.
63294c433Smrg#
7c41d98afSmrg#
8f403ce92Smrg# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
9f403ce92Smrg# Inc.
10c41d98afSmrg#
11c41d98afSmrg#
123294c433Smrg# This configure script is free software; the Free Software Foundation
133294c433Smrg# gives unlimited permission to copy, distribute and modify it.
14c41d98afSmrg## -------------------- ##
15c41d98afSmrg## M4sh Initialization. ##
16c41d98afSmrg## -------------------- ##
173294c433Smrg
189bc46bd4Smrg# Be more Bourne compatible
199bc46bd4SmrgDUALCASE=1; export DUALCASE # for MKS sh
20f403ce92Smrgas_nop=:
21f403ce92Smrgif test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22f403ce92Smrgthen :
233294c433Smrg  emulate sh
243294c433Smrg  NULLCMD=:
259bc46bd4Smrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263294c433Smrg  # is contrary to our usage.  Disable this feature.
273294c433Smrg  alias -g '${1+"$@"}'='"$@"'
289bc46bd4Smrg  setopt NO_GLOB_SUBST
29f403ce92Smrgelse $as_nop
30c41d98afSmrg  case `(set -o) 2>/dev/null` in #(
31c41d98afSmrg  *posix*) :
32c41d98afSmrg    set -o posix ;; #(
33c41d98afSmrg  *) :
34c41d98afSmrg     ;;
359bc46bd4Smrgesac
369bc46bd4Smrgfi
379bc46bd4Smrg
389bc46bd4Smrg
39f403ce92Smrg
40f403ce92Smrg# Reset variables that may have inherited troublesome values from
41f403ce92Smrg# the environment.
42f403ce92Smrg
43f403ce92Smrg# IFS needs to be set, to space, tab, and newline, in precisely that order.
44f403ce92Smrg# (If _AS_PATH_WALK were called with IFS unset, it would have the
45f403ce92Smrg# side effect of setting IFS to empty, thus disabling word splitting.)
46f403ce92Smrg# Quoting is to prevent editors from complaining about space-tab.
479bc46bd4Smrgas_nl='
489bc46bd4Smrg'
499bc46bd4Smrgexport as_nl
50f403ce92SmrgIFS=" ""	$as_nl"
51f403ce92Smrg
52f403ce92SmrgPS1='$ '
53f403ce92SmrgPS2='> '
54f403ce92SmrgPS4='+ '
55f403ce92Smrg
56f403ce92Smrg# Ensure predictable behavior from utilities with locale-dependent output.
57f403ce92SmrgLC_ALL=C
58f403ce92Smrgexport LC_ALL
59f403ce92SmrgLANGUAGE=C
60f403ce92Smrgexport LANGUAGE
61f403ce92Smrg
62f403ce92Smrg# We cannot yet rely on "unset" to work, but we need these variables
63f403ce92Smrg# to be unset--not just set to an empty or harmless value--now, to
64f403ce92Smrg# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
65f403ce92Smrg# also avoids known problems related to "unset" and subshell syntax
66f403ce92Smrg# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67f403ce92Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68f403ce92Smrgdo eval test \${$as_var+y} \
69f403ce92Smrg  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
70f403ce92Smrgdone
71f403ce92Smrg
72f403ce92Smrg# Ensure that fds 0, 1, and 2 are open.
73f403ce92Smrgif (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74f403ce92Smrgif (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75f403ce92Smrgif (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
769bc46bd4Smrg
779bc46bd4Smrg# The user is always right.
78f403ce92Smrgif ${PATH_SEPARATOR+false} :; then
799bc46bd4Smrg  PATH_SEPARATOR=:
809bc46bd4Smrg  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
819bc46bd4Smrg    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
829bc46bd4Smrg      PATH_SEPARATOR=';'
839bc46bd4Smrg  }
843294c433Smrgfi
853294c433Smrg
863294c433Smrg
879bc46bd4Smrg# Find who we are.  Look in the path if we contain no directory separator.
88c41d98afSmrgas_myself=
89c41d98afSmrgcase $0 in #((
909bc46bd4Smrg  *[\\/]* ) as_myself=$0 ;;
919bc46bd4Smrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
929bc46bd4Smrgfor as_dir in $PATH
939bc46bd4Smrgdo
949bc46bd4Smrg  IFS=$as_save_IFS
95f403ce92Smrg  case $as_dir in #(((
96f403ce92Smrg    '') as_dir=./ ;;
97f403ce92Smrg    */) ;;
98f403ce92Smrg    *) as_dir=$as_dir/ ;;
99f403ce92Smrg  esac
100f403ce92Smrg    test -r "$as_dir$0" && as_myself=$as_dir$0 && break
101c41d98afSmrg  done
1029bc46bd4SmrgIFS=$as_save_IFS
1039bc46bd4Smrg
1049bc46bd4Smrg     ;;
1059bc46bd4Smrgesac
1069bc46bd4Smrg# We did not find ourselves, most probably we were run as `sh COMMAND'
1079bc46bd4Smrg# in which case we are not to be found in the path.
1089bc46bd4Smrgif test "x$as_myself" = x; then
1099bc46bd4Smrg  as_myself=$0
1109bc46bd4Smrgfi
1119bc46bd4Smrgif test ! -f "$as_myself"; then
112f403ce92Smrg  printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113c41d98afSmrg  exit 1
1149bc46bd4Smrgfi
1159bc46bd4Smrg
116c41d98afSmrg
117f403ce92Smrg# Use a proper internal environment variable to ensure we don't fall
118f403ce92Smrg  # into an infinite loop, continuously re-executing ourselves.
119f403ce92Smrg  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
120f403ce92Smrg    _as_can_reexec=no; export _as_can_reexec;
121f403ce92Smrg    # We cannot yet assume a decent shell, so we have to provide a
122f403ce92Smrg# neutralization value for shells without unset; and this also
123f403ce92Smrg# works around shells that cannot unset nonexistent variables.
124f403ce92Smrg# Preserve -v and -x to the replacement shell.
125f403ce92SmrgBASH_ENV=/dev/null
126f403ce92SmrgENV=/dev/null
127f403ce92Smrg(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
128f403ce92Smrgcase $- in # ((((
129f403ce92Smrg  *v*x* | *x*v* ) as_opts=-vx ;;
130f403ce92Smrg  *v* ) as_opts=-v ;;
131f403ce92Smrg  *x* ) as_opts=-x ;;
132f403ce92Smrg  * ) as_opts= ;;
133f403ce92Smrgesac
134f403ce92Smrgexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135f403ce92Smrg# Admittedly, this is quite paranoid, since all the known shells bail
136f403ce92Smrg# out after a failed `exec'.
137f403ce92Smrgprintf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138f403ce92Smrgexit 255
139f403ce92Smrg  fi
140f403ce92Smrg  # We don't want this to propagate to other subprocesses.
141f403ce92Smrg          { _as_can_reexec=; unset _as_can_reexec;}
142c41d98afSmrgif test "x$CONFIG_SHELL" = x; then
143f403ce92Smrg  as_bourne_compatible="as_nop=:
144f403ce92Smrgif test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
145f403ce92Smrgthen :
146c41d98afSmrg  emulate sh
147c41d98afSmrg  NULLCMD=:
148c41d98afSmrg  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149c41d98afSmrg  # is contrary to our usage.  Disable this feature.
150c41d98afSmrg  alias -g '\${1+\"\$@\"}'='\"\$@\"'
151c41d98afSmrg  setopt NO_GLOB_SUBST
152f403ce92Smrgelse \$as_nop
153c41d98afSmrg  case \`(set -o) 2>/dev/null\` in #(
154c41d98afSmrg  *posix*) :
155c41d98afSmrg    set -o posix ;; #(
156c41d98afSmrg  *) :
157c41d98afSmrg     ;;
158c41d98afSmrgesac
159c41d98afSmrgfi
160c41d98afSmrg"
161c41d98afSmrg  as_required="as_fn_return () { (exit \$1); }
162c41d98afSmrgas_fn_success () { as_fn_return 0; }
163c41d98afSmrgas_fn_failure () { as_fn_return 1; }
164c41d98afSmrgas_fn_ret_success () { return 0; }
165c41d98afSmrgas_fn_ret_failure () { return 1; }
166c41d98afSmrg
167c41d98afSmrgexitcode=0
168c41d98afSmrgas_fn_success || { exitcode=1; echo as_fn_success failed.; }
169c41d98afSmrgas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170c41d98afSmrgas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171c41d98afSmrgas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172f403ce92Smrgif ( set x; as_fn_ret_success y && test x = \"\$1\" )
173f403ce92Smrgthen :
174c41d98afSmrg
175f403ce92Smrgelse \$as_nop
176c41d98afSmrg  exitcode=1; echo positional parameters were not saved.
177c41d98afSmrgfi
178f403ce92Smrgtest x\$exitcode = x0 || exit 1
179f403ce92Smrgblah=\$(echo \$(echo blah))
180f403ce92Smrgtest x\"\$blah\" = xblah || exit 1
181f403ce92Smrgtest -x / || exit 1"
182c41d98afSmrg  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
183c41d98afSmrg  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
184c41d98afSmrg  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185c41d98afSmrg  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
186c41d98afSmrgtest \$(( 1 + 1 )) = 2 || exit 1"
187f403ce92Smrg  if (eval "$as_required") 2>/dev/null
188f403ce92Smrgthen :
189c41d98afSmrg  as_have_required=yes
190f403ce92Smrgelse $as_nop
191c41d98afSmrg  as_have_required=no
192c41d98afSmrgfi
193f403ce92Smrg  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
194f403ce92Smrgthen :
195c41d98afSmrg
196f403ce92Smrgelse $as_nop
197c41d98afSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
198c41d98afSmrgas_found=false
199c41d98afSmrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
200c41d98afSmrgdo
201c41d98afSmrg  IFS=$as_save_IFS
202f403ce92Smrg  case $as_dir in #(((
203f403ce92Smrg    '') as_dir=./ ;;
204f403ce92Smrg    */) ;;
205f403ce92Smrg    *) as_dir=$as_dir/ ;;
206f403ce92Smrg  esac
207c41d98afSmrg  as_found=:
208c41d98afSmrg  case $as_dir in #(
209c41d98afSmrg	 /*)
210c41d98afSmrg	   for as_base in sh bash ksh sh5; do
211c41d98afSmrg	     # Try only shells that exist, to save several forks.
212f403ce92Smrg	     as_shell=$as_dir$as_base
213c41d98afSmrg	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
214f403ce92Smrg		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
215f403ce92Smrgthen :
216c41d98afSmrg  CONFIG_SHELL=$as_shell as_have_required=yes
217f403ce92Smrg		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
218f403ce92Smrgthen :
219c41d98afSmrg  break 2
220c41d98afSmrgfi
221c41d98afSmrgfi
222c41d98afSmrg	   done;;
223c41d98afSmrg       esac
224c41d98afSmrg  as_found=false
225c41d98afSmrgdone
226c41d98afSmrgIFS=$as_save_IFS
227f403ce92Smrgif $as_found
228f403ce92Smrgthen :
229c41d98afSmrg
230f403ce92Smrgelse $as_nop
231f403ce92Smrg  if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232f403ce92Smrg	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
233f403ce92Smrgthen :
234f403ce92Smrg  CONFIG_SHELL=$SHELL as_have_required=yes
235c41d98afSmrgfi
236f403ce92Smrgfi
237f403ce92Smrg
238c41d98afSmrg
239f403ce92Smrg      if test "x$CONFIG_SHELL" != x
240f403ce92Smrgthen :
241f403ce92Smrg  export CONFIG_SHELL
242f403ce92Smrg             # We cannot yet assume a decent shell, so we have to provide a
243f403ce92Smrg# neutralization value for shells without unset; and this also
244f403ce92Smrg# works around shells that cannot unset nonexistent variables.
245f403ce92Smrg# Preserve -v and -x to the replacement shell.
246f403ce92SmrgBASH_ENV=/dev/null
247f403ce92SmrgENV=/dev/null
248f403ce92Smrg(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249f403ce92Smrgcase $- in # ((((
250f403ce92Smrg  *v*x* | *x*v* ) as_opts=-vx ;;
251f403ce92Smrg  *v* ) as_opts=-v ;;
252f403ce92Smrg  *x* ) as_opts=-x ;;
253f403ce92Smrg  * ) as_opts= ;;
254f403ce92Smrgesac
255f403ce92Smrgexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256f403ce92Smrg# Admittedly, this is quite paranoid, since all the known shells bail
257f403ce92Smrg# out after a failed `exec'.
258f403ce92Smrgprintf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
259f403ce92Smrgexit 255
260f403ce92Smrgfi
261f403ce92Smrg
262f403ce92Smrg    if test x$as_have_required = xno
263f403ce92Smrgthen :
264f403ce92Smrg  printf "%s\n" "$0: This script requires a shell more modern than all"
265f403ce92Smrg  printf "%s\n" "$0: the shells that I found on your system."
266f403ce92Smrg  if test ${ZSH_VERSION+y} ; then
267f403ce92Smrg    printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268f403ce92Smrg    printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
269c41d98afSmrg  else
270f403ce92Smrg    printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
271f403ce92Smrg$0: https://gitlab.freedesktop.org/xorg/font/bh-100dpi/-/issues
272c41d98afSmrg$0: about your system, including any error possibly output
273c41d98afSmrg$0: before this message. Then install a modern shell, or
274c41d98afSmrg$0: manually run the script under such a shell if you do
275c41d98afSmrg$0: have one."
276c41d98afSmrg  fi
277c41d98afSmrg  exit 1
278c41d98afSmrgfi
279c41d98afSmrgfi
280c41d98afSmrgfi
281c41d98afSmrgSHELL=${CONFIG_SHELL-/bin/sh}
282c41d98afSmrgexport SHELL
283c41d98afSmrg# Unset more variables known to interfere with behavior of common tools.
284c41d98afSmrgCLICOLOR_FORCE= GREP_OPTIONS=
285c41d98afSmrgunset CLICOLOR_FORCE GREP_OPTIONS
286c41d98afSmrg
287c41d98afSmrg## --------------------- ##
288c41d98afSmrg## M4sh Shell Functions. ##
289c41d98afSmrg## --------------------- ##
290c41d98afSmrg# as_fn_unset VAR
291c41d98afSmrg# ---------------
292c41d98afSmrg# Portably unset VAR.
293c41d98afSmrgas_fn_unset ()
294c41d98afSmrg{
295c41d98afSmrg  { eval $1=; unset $1;}
296c41d98afSmrg}
297c41d98afSmrgas_unset=as_fn_unset
298c41d98afSmrg
299f403ce92Smrg
300c41d98afSmrg# as_fn_set_status STATUS
301c41d98afSmrg# -----------------------
302c41d98afSmrg# Set $? to STATUS, without forking.
303c41d98afSmrgas_fn_set_status ()
304c41d98afSmrg{
305c41d98afSmrg  return $1
306c41d98afSmrg} # as_fn_set_status
307c41d98afSmrg
308c41d98afSmrg# as_fn_exit STATUS
309c41d98afSmrg# -----------------
310c41d98afSmrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
311c41d98afSmrgas_fn_exit ()
312c41d98afSmrg{
313c41d98afSmrg  set +e
314c41d98afSmrg  as_fn_set_status $1
315c41d98afSmrg  exit $1
316c41d98afSmrg} # as_fn_exit
317f403ce92Smrg# as_fn_nop
318f403ce92Smrg# ---------
319f403ce92Smrg# Do nothing but, unlike ":", preserve the value of $?.
320f403ce92Smrgas_fn_nop ()
321f403ce92Smrg{
322f403ce92Smrg  return $?
323f403ce92Smrg}
324f403ce92Smrgas_nop=as_fn_nop
325c41d98afSmrg
326c41d98afSmrg# as_fn_mkdir_p
327c41d98afSmrg# -------------
328c41d98afSmrg# Create "$as_dir" as a directory, including parents if necessary.
329c41d98afSmrgas_fn_mkdir_p ()
330c41d98afSmrg{
331c41d98afSmrg
332c41d98afSmrg  case $as_dir in #(
333c41d98afSmrg  -*) as_dir=./$as_dir;;
334c41d98afSmrg  esac
335c41d98afSmrg  test -d "$as_dir" || eval $as_mkdir_p || {
336c41d98afSmrg    as_dirs=
337c41d98afSmrg    while :; do
338c41d98afSmrg      case $as_dir in #(
339f403ce92Smrg      *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
340c41d98afSmrg      *) as_qdir=$as_dir;;
341c41d98afSmrg      esac
342c41d98afSmrg      as_dirs="'$as_qdir' $as_dirs"
343c41d98afSmrg      as_dir=`$as_dirname -- "$as_dir" ||
344c41d98afSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
345c41d98afSmrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
346c41d98afSmrg	 X"$as_dir" : 'X\(//\)$' \| \
347c41d98afSmrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
348f403ce92Smrgprintf "%s\n" X"$as_dir" |
349c41d98afSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
350c41d98afSmrg	    s//\1/
351c41d98afSmrg	    q
352c41d98afSmrg	  }
353c41d98afSmrg	  /^X\(\/\/\)[^/].*/{
354c41d98afSmrg	    s//\1/
355c41d98afSmrg	    q
356c41d98afSmrg	  }
357c41d98afSmrg	  /^X\(\/\/\)$/{
358c41d98afSmrg	    s//\1/
359c41d98afSmrg	    q
360c41d98afSmrg	  }
361c41d98afSmrg	  /^X\(\/\).*/{
362c41d98afSmrg	    s//\1/
363c41d98afSmrg	    q
364c41d98afSmrg	  }
365c41d98afSmrg	  s/.*/./; q'`
366c41d98afSmrg      test -d "$as_dir" && break
367c41d98afSmrg    done
368c41d98afSmrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
369c41d98afSmrg  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
370c41d98afSmrg
371c41d98afSmrg
372c41d98afSmrg} # as_fn_mkdir_p
373f403ce92Smrg
374f403ce92Smrg# as_fn_executable_p FILE
375f403ce92Smrg# -----------------------
376f403ce92Smrg# Test if FILE is an executable regular file.
377f403ce92Smrgas_fn_executable_p ()
378f403ce92Smrg{
379f403ce92Smrg  test -f "$1" && test -x "$1"
380f403ce92Smrg} # as_fn_executable_p
381c41d98afSmrg# as_fn_append VAR VALUE
382c41d98afSmrg# ----------------------
383c41d98afSmrg# Append the text in VALUE to the end of the definition contained in VAR. Take
384c41d98afSmrg# advantage of any shell optimizations that allow amortized linear growth over
385c41d98afSmrg# repeated appends, instead of the typical quadratic growth present in naive
386c41d98afSmrg# implementations.
387f403ce92Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
388f403ce92Smrgthen :
389c41d98afSmrg  eval 'as_fn_append ()
390c41d98afSmrg  {
391c41d98afSmrg    eval $1+=\$2
392c41d98afSmrg  }'
393f403ce92Smrgelse $as_nop
394c41d98afSmrg  as_fn_append ()
395c41d98afSmrg  {
396c41d98afSmrg    eval $1=\$$1\$2
397c41d98afSmrg  }
398c41d98afSmrgfi # as_fn_append
399c41d98afSmrg
400c41d98afSmrg# as_fn_arith ARG...
401c41d98afSmrg# ------------------
402c41d98afSmrg# Perform arithmetic evaluation on the ARGs, and store the result in the
403c41d98afSmrg# global $as_val. Take advantage of shells that can avoid forks. The arguments
404c41d98afSmrg# must be portable across $(()) and expr.
405f403ce92Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
406f403ce92Smrgthen :
407c41d98afSmrg  eval 'as_fn_arith ()
408c41d98afSmrg  {
409c41d98afSmrg    as_val=$(( $* ))
410c41d98afSmrg  }'
411f403ce92Smrgelse $as_nop
412c41d98afSmrg  as_fn_arith ()
413c41d98afSmrg  {
414c41d98afSmrg    as_val=`expr "$@" || test $? -eq 1`
415c41d98afSmrg  }
416c41d98afSmrgfi # as_fn_arith
417c41d98afSmrg
418f403ce92Smrg# as_fn_nop
419f403ce92Smrg# ---------
420f403ce92Smrg# Do nothing but, unlike ":", preserve the value of $?.
421f403ce92Smrgas_fn_nop ()
422f403ce92Smrg{
423f403ce92Smrg  return $?
424f403ce92Smrg}
425f403ce92Smrgas_nop=as_fn_nop
426c41d98afSmrg
427c41d98afSmrg# as_fn_error STATUS ERROR [LINENO LOG_FD]
428c41d98afSmrg# ----------------------------------------
429c41d98afSmrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
430c41d98afSmrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
431c41d98afSmrg# script with STATUS, using 1 if that was 0.
432c41d98afSmrgas_fn_error ()
433c41d98afSmrg{
434c41d98afSmrg  as_status=$1; test $as_status -eq 0 && as_status=1
435c41d98afSmrg  if test "$4"; then
436c41d98afSmrg    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
437f403ce92Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
438c41d98afSmrg  fi
439f403ce92Smrg  printf "%s\n" "$as_me: error: $2" >&2
440c41d98afSmrg  as_fn_exit $as_status
441c41d98afSmrg} # as_fn_error
442c41d98afSmrg
4439bc46bd4Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
4449bc46bd4Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
4453294c433Smrg  as_expr=expr
4463294c433Smrgelse
4473294c433Smrg  as_expr=false
4483294c433Smrgfi
4493294c433Smrg
4509bc46bd4Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4513294c433Smrg  as_basename=basename
4523294c433Smrgelse
4533294c433Smrg  as_basename=false
4543294c433Smrgfi
4553294c433Smrg
456c41d98afSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
457c41d98afSmrg  as_dirname=dirname
458c41d98afSmrgelse
459c41d98afSmrg  as_dirname=false
460c41d98afSmrgfi
4613294c433Smrg
4629bc46bd4Smrgas_me=`$as_basename -- "$0" ||
4633294c433Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4643294c433Smrg	 X"$0" : 'X\(//\)$' \| \
4659bc46bd4Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
466f403ce92Smrgprintf "%s\n" X/"$0" |
4679bc46bd4Smrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
4689bc46bd4Smrg	    s//\1/
4699bc46bd4Smrg	    q
4709bc46bd4Smrg	  }
4719bc46bd4Smrg	  /^X\/\(\/\/\)$/{
4729bc46bd4Smrg	    s//\1/
4739bc46bd4Smrg	    q
4749bc46bd4Smrg	  }
4759bc46bd4Smrg	  /^X\/\(\/\).*/{
4769bc46bd4Smrg	    s//\1/
4779bc46bd4Smrg	    q
4789bc46bd4Smrg	  }
4799bc46bd4Smrg	  s/.*/./; q'`
4803294c433Smrg
481c41d98afSmrg# Avoid depending upon Character Ranges.
482c41d98afSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
483c41d98afSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
484c41d98afSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
485c41d98afSmrgas_cr_digits='0123456789'
486c41d98afSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits
4873294c433Smrg
4883294c433Smrg
489c41d98afSmrg  as_lineno_1=$LINENO as_lineno_1a=$LINENO
490c41d98afSmrg  as_lineno_2=$LINENO as_lineno_2a=$LINENO
491c41d98afSmrg  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
492c41d98afSmrg  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
493c41d98afSmrg  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
494c41d98afSmrg  sed -n '
495c41d98afSmrg    p
496c41d98afSmrg    /[$]LINENO/=
497c41d98afSmrg  ' <$as_myself |
498c41d98afSmrg    sed '
499c41d98afSmrg      s/[$]LINENO.*/&-/
500c41d98afSmrg      t lineno
501c41d98afSmrg      b
502c41d98afSmrg      :lineno
503c41d98afSmrg      N
504c41d98afSmrg      :loop
505c41d98afSmrg      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
506c41d98afSmrg      t loop
507c41d98afSmrg      s/-\n.*//
508c41d98afSmrg    ' >$as_me.lineno &&
509c41d98afSmrg  chmod +x "$as_me.lineno" ||
510f403ce92Smrg    { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
5113294c433Smrg
512f403ce92Smrg  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
513f403ce92Smrg  # already done that, so ensure we don't try to do so again and fall
514f403ce92Smrg  # in an infinite loop.  This has already happened in practice.
515f403ce92Smrg  _as_can_reexec=no; export _as_can_reexec
516c41d98afSmrg  # Don't try to exec as it changes $[0], causing all sort of problems
517c41d98afSmrg  # (the dirname of $[0] is not the place where we might find the
518c41d98afSmrg  # original and so on.  Autoconf is especially sensitive to this).
519c41d98afSmrg  . "./$as_me.lineno"
520c41d98afSmrg  # Exit status is that of the last command.
521c41d98afSmrg  exit
5229bc46bd4Smrg}
5233294c433Smrg
524f403ce92Smrg
525f403ce92Smrg# Determine whether it's possible to make 'echo' print without a newline.
526f403ce92Smrg# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
527f403ce92Smrg# for compatibility with existing Makefiles.
528c41d98afSmrgECHO_C= ECHO_N= ECHO_T=
529c41d98afSmrgcase `echo -n x` in #(((((
530c41d98afSmrg-n*)
531c41d98afSmrg  case `echo 'xy\c'` in
532c41d98afSmrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
533c41d98afSmrg  xy)  ECHO_C='\c';;
534c41d98afSmrg  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
535c41d98afSmrg       ECHO_T='	';;
536c41d98afSmrg  esac;;
537c41d98afSmrg*)
538c41d98afSmrg  ECHO_N='-n';;
539c41d98afSmrgesac
5403294c433Smrg
541f403ce92Smrg# For backward compatibility with old third-party macros, we provide
542f403ce92Smrg# the shell variables $as_echo and $as_echo_n.  New code should use
543f403ce92Smrg# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
544f403ce92Smrgas_echo='printf %s\n'
545f403ce92Smrgas_echo_n='printf %s'
546f403ce92Smrg
547f403ce92Smrg
548c41d98afSmrgrm -f conf$$ conf$$.exe conf$$.file
549c41d98afSmrgif test -d conf$$.dir; then
550c41d98afSmrg  rm -f conf$$.dir/conf$$.file
551c41d98afSmrgelse
552c41d98afSmrg  rm -f conf$$.dir
553c41d98afSmrg  mkdir conf$$.dir 2>/dev/null
5549bc46bd4Smrgfi
555c41d98afSmrgif (echo >conf$$.file) 2>/dev/null; then
556c41d98afSmrg  if ln -s conf$$.file conf$$ 2>/dev/null; then
557c41d98afSmrg    as_ln_s='ln -s'
558c41d98afSmrg    # ... but there are two gotchas:
559c41d98afSmrg    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
560c41d98afSmrg    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
561f403ce92Smrg    # In both cases, we have to default to `cp -pR'.
562c41d98afSmrg    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
563f403ce92Smrg      as_ln_s='cp -pR'
564c41d98afSmrg  elif ln conf$$.file conf$$ 2>/dev/null; then
565c41d98afSmrg    as_ln_s=ln
566c41d98afSmrg  else
567f403ce92Smrg    as_ln_s='cp -pR'
568c41d98afSmrg  fi
5699bc46bd4Smrgelse
570f403ce92Smrg  as_ln_s='cp -pR'
5719bc46bd4Smrgfi
572c41d98afSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
573c41d98afSmrgrmdir conf$$.dir 2>/dev/null
5749bc46bd4Smrg
575c41d98afSmrgif mkdir -p . 2>/dev/null; then
576c41d98afSmrg  as_mkdir_p='mkdir -p "$as_dir"'
577c41d98afSmrgelse
578c41d98afSmrg  test -d ./-p && rmdir ./-p
579c41d98afSmrg  as_mkdir_p=false
5809bc46bd4Smrgfi
5819bc46bd4Smrg
582f403ce92Smrgas_test_x='test -x'
583f403ce92Smrgas_executable_p=as_fn_executable_p
5849bc46bd4Smrg
585c41d98afSmrg# Sed expression to map a string onto a valid CPP name.
586c41d98afSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5879bc46bd4Smrg
588c41d98afSmrg# Sed expression to map a string onto a valid variable name.
589c41d98afSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5909bc46bd4Smrg
5919bc46bd4Smrg
592c41d98afSmrgtest -n "$DJDIR" || exec 7<&0 </dev/null
593c41d98afSmrgexec 6>&1
5943294c433Smrg
5953294c433Smrg# Name of the host.
596c41d98afSmrg# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
5973294c433Smrg# so uname gets run too.
5983294c433Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
5993294c433Smrg
6003294c433Smrg#
6013294c433Smrg# Initializations.
6023294c433Smrg#
6033294c433Smrgac_default_prefix=/usr/local
6049bc46bd4Smrgac_clean_files=
6053294c433Smrgac_config_libobj_dir=.
6069bc46bd4SmrgLIBOBJS=
6073294c433Smrgcross_compiling=no
6083294c433Smrgsubdirs=
6093294c433SmrgMFLAGS=
6103294c433SmrgMAKEFLAGS=
6113294c433Smrg
6123294c433Smrg# Identity of this package.
6133294c433SmrgPACKAGE_NAME='font-bh-100dpi'
6143294c433SmrgPACKAGE_TARNAME='font-bh-100dpi'
615f403ce92SmrgPACKAGE_VERSION='1.0.4'
616f403ce92SmrgPACKAGE_STRING='font-bh-100dpi 1.0.4'
617f403ce92SmrgPACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/font/bh-100dpi/-/issues'
618c41d98afSmrgPACKAGE_URL=''
6193294c433Smrg
620f403ce92Smrgac_subst_vars='LTLIBOBJS
6219bc46bd4SmrgLIBOBJS
6229bc46bd4SmrgISO8859_15_FALSE
6239bc46bd4SmrgISO8859_15_TRUE
6249bc46bd4SmrgISO8859_14_FALSE
6259bc46bd4SmrgISO8859_14_TRUE
6269bc46bd4SmrgISO8859_13_FALSE
6279bc46bd4SmrgISO8859_13_TRUE
6289bc46bd4SmrgISO8859_10_FALSE
6299bc46bd4SmrgISO8859_10_TRUE
6309bc46bd4SmrgISO8859_9_FALSE
6319bc46bd4SmrgISO8859_9_TRUE
6329bc46bd4SmrgISO8859_4_FALSE
6339bc46bd4SmrgISO8859_4_TRUE
6349bc46bd4SmrgISO8859_3_FALSE
6359bc46bd4SmrgISO8859_3_TRUE
6369bc46bd4SmrgISO8859_2_FALSE
6379bc46bd4SmrgISO8859_2_TRUE
6389bc46bd4SmrgISO8859_1_FALSE
6399bc46bd4SmrgISO8859_1_TRUE
6409bc46bd4SmrgMAPFILES_PATH
6419bc46bd4SmrgMAPS_LIBS
6429bc46bd4SmrgMAPS_CFLAGS
6439bc46bd4SmrgUCS2ANY
6449bc46bd4SmrgCOMPRESS_SUFFIX
645f403ce92SmrgCOMPRESS_FLAGS
6469bc46bd4SmrgCOMPRESS
6479bc46bd4SmrgBDFTOPCF
6489bc46bd4SmrgMKFONTDIR
6499bc46bd4SmrgRUN_FCCACHE
6509bc46bd4SmrgFCCACHE
6519bc46bd4SmrgFONTDIR
6529bc46bd4SmrgFONTROOTDIR
653c41d98afSmrgMAN_SUBSTS
654c41d98afSmrgXORG_MAN_PAGE
6559bc46bd4SmrgADMIN_MAN_DIR
6569bc46bd4SmrgDRIVER_MAN_DIR
6579bc46bd4SmrgMISC_MAN_DIR
6589bc46bd4SmrgFILE_MAN_DIR
6599bc46bd4SmrgLIB_MAN_DIR
6609bc46bd4SmrgAPP_MAN_DIR
6619bc46bd4SmrgADMIN_MAN_SUFFIX
6629bc46bd4SmrgDRIVER_MAN_SUFFIX
6639bc46bd4SmrgMISC_MAN_SUFFIX
6649bc46bd4SmrgFILE_MAN_SUFFIX
6659bc46bd4SmrgLIB_MAN_SUFFIX
6669bc46bd4SmrgAPP_MAN_SUFFIX
667c41d98afSmrgSED
6689bc46bd4Smrghost_os
6699bc46bd4Smrghost_vendor
6709bc46bd4Smrghost_cpu
6719bc46bd4Smrghost
6729bc46bd4Smrgbuild_os
6739bc46bd4Smrgbuild_vendor
6749bc46bd4Smrgbuild_cpu
6759bc46bd4Smrgbuild
676c41d98afSmrgINSTALL_CMD
677c41d98afSmrgPKG_CONFIG_LIBDIR
678c41d98afSmrgPKG_CONFIG_PATH
679c41d98afSmrgPKG_CONFIG
6809bc46bd4SmrgCHANGELOG_CMD
681f403ce92SmrgAM_BACKSLASH
682f403ce92SmrgAM_DEFAULT_VERBOSITY
683f403ce92SmrgAM_DEFAULT_V
684f403ce92SmrgAM_V
685f403ce92SmrgCSCOPE
686f403ce92SmrgETAGS
687f403ce92SmrgCTAGS
6889bc46bd4Smrgam__untar
6899bc46bd4Smrgam__tar
6909bc46bd4SmrgAMTAR
6919bc46bd4Smrgam__leading_dot
6929bc46bd4SmrgSET_MAKE
6939bc46bd4SmrgAWK
6949bc46bd4Smrgmkdir_p
6959bc46bd4SmrgMKDIR_P
6969bc46bd4SmrgINSTALL_STRIP_PROGRAM
6979bc46bd4SmrgSTRIP
6989bc46bd4Smrginstall_sh
6999bc46bd4SmrgMAKEINFO
7009bc46bd4SmrgAUTOHEADER
7019bc46bd4SmrgAUTOMAKE
7029bc46bd4SmrgAUTOCONF
7039bc46bd4SmrgACLOCAL
7049bc46bd4SmrgVERSION
7059bc46bd4SmrgPACKAGE
7069bc46bd4SmrgCYGPATH_W
7079bc46bd4Smrgam__isrc
7089bc46bd4SmrgINSTALL_DATA
7099bc46bd4SmrgINSTALL_SCRIPT
7109bc46bd4SmrgINSTALL_PROGRAM
7119bc46bd4Smrgtarget_alias
7129bc46bd4Smrghost_alias
7139bc46bd4Smrgbuild_alias
7149bc46bd4SmrgLIBS
7159bc46bd4SmrgECHO_T
7169bc46bd4SmrgECHO_N
7179bc46bd4SmrgECHO_C
7189bc46bd4SmrgDEFS
7199bc46bd4Smrgmandir
7209bc46bd4Smrglocaledir
7219bc46bd4Smrglibdir
7229bc46bd4Smrgpsdir
7239bc46bd4Smrgpdfdir
7249bc46bd4Smrgdvidir
7259bc46bd4Smrghtmldir
7269bc46bd4Smrginfodir
7279bc46bd4Smrgdocdir
7289bc46bd4Smrgoldincludedir
7299bc46bd4Smrgincludedir
730f403ce92Smrgrunstatedir
7319bc46bd4Smrglocalstatedir
7329bc46bd4Smrgsharedstatedir
7339bc46bd4Smrgsysconfdir
7349bc46bd4Smrgdatadir
7359bc46bd4Smrgdatarootdir
7369bc46bd4Smrglibexecdir
7379bc46bd4Smrgsbindir
7389bc46bd4Smrgbindir
7399bc46bd4Smrgprogram_transform_name
7409bc46bd4Smrgprefix
7419bc46bd4Smrgexec_prefix
742c41d98afSmrgPACKAGE_URL
7439bc46bd4SmrgPACKAGE_BUGREPORT
7449bc46bd4SmrgPACKAGE_STRING
7459bc46bd4SmrgPACKAGE_VERSION
7469bc46bd4SmrgPACKAGE_TARNAME
7479bc46bd4SmrgPACKAGE_NAME
7489bc46bd4SmrgPATH_SEPARATOR
7499bc46bd4SmrgSHELL'
7503294c433Smrgac_subst_files=''
7519bc46bd4Smrgac_user_opts='
7529bc46bd4Smrgenable_option_checking
753c41d98afSmrgenable_silent_rules
7549bc46bd4Smrgwith_fontrootdir
7559bc46bd4Smrgwith_fontdir
7569bc46bd4Smrgwith_compression
757c41d98afSmrgenable_all_encodings
7589bc46bd4Smrgenable_iso8859_1
7599bc46bd4Smrgenable_iso8859_2
7609bc46bd4Smrgenable_iso8859_3
7619bc46bd4Smrgenable_iso8859_4
7629bc46bd4Smrgenable_iso8859_9
7639bc46bd4Smrgenable_iso8859_10
7649bc46bd4Smrgenable_iso8859_13
7659bc46bd4Smrgenable_iso8859_14
7669bc46bd4Smrgenable_iso8859_15
7679bc46bd4Smrg'
7689bc46bd4Smrg      ac_precious_vars='build_alias
7699bc46bd4Smrghost_alias
7709bc46bd4Smrgtarget_alias
7719bc46bd4SmrgPKG_CONFIG
772c41d98afSmrgPKG_CONFIG_PATH
773c41d98afSmrgPKG_CONFIG_LIBDIR
7749bc46bd4SmrgMAPS_CFLAGS
7759bc46bd4SmrgMAPS_LIBS'
7769bc46bd4Smrg
7773294c433Smrg
7783294c433Smrg# Initialize some variables set by options.
7793294c433Smrgac_init_help=
7803294c433Smrgac_init_version=false
7819bc46bd4Smrgac_unrecognized_opts=
7829bc46bd4Smrgac_unrecognized_sep=
7833294c433Smrg# The variables have the same names as the options, with
7843294c433Smrg# dashes changed to underlines.
7853294c433Smrgcache_file=/dev/null
7863294c433Smrgexec_prefix=NONE
7873294c433Smrgno_create=
7883294c433Smrgno_recursion=
7893294c433Smrgprefix=NONE
7903294c433Smrgprogram_prefix=NONE
7913294c433Smrgprogram_suffix=NONE
7923294c433Smrgprogram_transform_name=s,x,x,
7933294c433Smrgsilent=
7943294c433Smrgsite=
7953294c433Smrgsrcdir=
7963294c433Smrgverbose=
7973294c433Smrgx_includes=NONE
7983294c433Smrgx_libraries=NONE
7993294c433Smrg
8003294c433Smrg# Installation directory options.
8013294c433Smrg# These are left unexpanded so users can "make install exec_prefix=/foo"
8023294c433Smrg# and all the variables that are supposed to be based on exec_prefix
8033294c433Smrg# by default will actually change.
8043294c433Smrg# Use braces instead of parens because sh, perl, etc. also accept them.
8059bc46bd4Smrg# (The list follows the same order as the GNU Coding Standards.)
8063294c433Smrgbindir='${exec_prefix}/bin'
8073294c433Smrgsbindir='${exec_prefix}/sbin'
8083294c433Smrglibexecdir='${exec_prefix}/libexec'
8099bc46bd4Smrgdatarootdir='${prefix}/share'
8109bc46bd4Smrgdatadir='${datarootdir}'
8113294c433Smrgsysconfdir='${prefix}/etc'
8123294c433Smrgsharedstatedir='${prefix}/com'
8133294c433Smrglocalstatedir='${prefix}/var'
814f403ce92Smrgrunstatedir='${localstatedir}/run'
8153294c433Smrgincludedir='${prefix}/include'
8163294c433Smrgoldincludedir='/usr/include'
8179bc46bd4Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
8189bc46bd4Smrginfodir='${datarootdir}/info'
8199bc46bd4Smrghtmldir='${docdir}'
8209bc46bd4Smrgdvidir='${docdir}'
8219bc46bd4Smrgpdfdir='${docdir}'
8229bc46bd4Smrgpsdir='${docdir}'
8239bc46bd4Smrglibdir='${exec_prefix}/lib'
8249bc46bd4Smrglocaledir='${datarootdir}/locale'
8259bc46bd4Smrgmandir='${datarootdir}/man'
8263294c433Smrg
8273294c433Smrgac_prev=
8289bc46bd4Smrgac_dashdash=
8293294c433Smrgfor ac_option
8303294c433Smrgdo
8313294c433Smrg  # If the previous option needs an argument, assign it.
8323294c433Smrg  if test -n "$ac_prev"; then
8339bc46bd4Smrg    eval $ac_prev=\$ac_option
8343294c433Smrg    ac_prev=
8353294c433Smrg    continue
8363294c433Smrg  fi
8373294c433Smrg
8389bc46bd4Smrg  case $ac_option in
839c41d98afSmrg  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
840c41d98afSmrg  *=)   ac_optarg= ;;
841c41d98afSmrg  *)    ac_optarg=yes ;;
8429bc46bd4Smrg  esac
8433294c433Smrg
8449bc46bd4Smrg  case $ac_dashdash$ac_option in
8459bc46bd4Smrg  --)
8469bc46bd4Smrg    ac_dashdash=yes ;;
8473294c433Smrg
8483294c433Smrg  -bindir | --bindir | --bindi | --bind | --bin | --bi)
8493294c433Smrg    ac_prev=bindir ;;
8503294c433Smrg  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
8513294c433Smrg    bindir=$ac_optarg ;;
8523294c433Smrg
8533294c433Smrg  -build | --build | --buil | --bui | --bu)
8543294c433Smrg    ac_prev=build_alias ;;
8553294c433Smrg  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
8563294c433Smrg    build_alias=$ac_optarg ;;
8573294c433Smrg
8583294c433Smrg  -cache-file | --cache-file | --cache-fil | --cache-fi \
8593294c433Smrg  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
8603294c433Smrg    ac_prev=cache_file ;;
8613294c433Smrg  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
8623294c433Smrg  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
8633294c433Smrg    cache_file=$ac_optarg ;;
8643294c433Smrg
8653294c433Smrg  --config-cache | -C)
8663294c433Smrg    cache_file=config.cache ;;
8673294c433Smrg
8689bc46bd4Smrg  -datadir | --datadir | --datadi | --datad)
8693294c433Smrg    ac_prev=datadir ;;
8709bc46bd4Smrg  -datadir=* | --datadir=* | --datadi=* | --datad=*)
8713294c433Smrg    datadir=$ac_optarg ;;
8723294c433Smrg
8739bc46bd4Smrg  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
8749bc46bd4Smrg  | --dataroo | --dataro | --datar)
8759bc46bd4Smrg    ac_prev=datarootdir ;;
8769bc46bd4Smrg  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
8779bc46bd4Smrg  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
8789bc46bd4Smrg    datarootdir=$ac_optarg ;;
8799bc46bd4Smrg
8803294c433Smrg  -disable-* | --disable-*)
8819bc46bd4Smrg    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
8823294c433Smrg    # Reject names that are not valid shell variable names.
8839bc46bd4Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
884f403ce92Smrg      as_fn_error $? "invalid feature name: \`$ac_useropt'"
8859bc46bd4Smrg    ac_useropt_orig=$ac_useropt
886f403ce92Smrg    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
8879bc46bd4Smrg    case $ac_user_opts in
8889bc46bd4Smrg      *"
8899bc46bd4Smrg"enable_$ac_useropt"
8909bc46bd4Smrg"*) ;;
8919bc46bd4Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
8929bc46bd4Smrg	 ac_unrecognized_sep=', ';;
8939bc46bd4Smrg    esac
8949bc46bd4Smrg    eval enable_$ac_useropt=no ;;
8959bc46bd4Smrg
8969bc46bd4Smrg  -docdir | --docdir | --docdi | --doc | --do)
8979bc46bd4Smrg    ac_prev=docdir ;;
8989bc46bd4Smrg  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
8999bc46bd4Smrg    docdir=$ac_optarg ;;
9009bc46bd4Smrg
9019bc46bd4Smrg  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
9029bc46bd4Smrg    ac_prev=dvidir ;;
9039bc46bd4Smrg  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
9049bc46bd4Smrg    dvidir=$ac_optarg ;;
9053294c433Smrg
9063294c433Smrg  -enable-* | --enable-*)
9079bc46bd4Smrg    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
9083294c433Smrg    # Reject names that are not valid shell variable names.
9099bc46bd4Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
910f403ce92Smrg      as_fn_error $? "invalid feature name: \`$ac_useropt'"
9119bc46bd4Smrg    ac_useropt_orig=$ac_useropt
912f403ce92Smrg    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
9139bc46bd4Smrg    case $ac_user_opts in
9149bc46bd4Smrg      *"
9159bc46bd4Smrg"enable_$ac_useropt"
9169bc46bd4Smrg"*) ;;
9179bc46bd4Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
9189bc46bd4Smrg	 ac_unrecognized_sep=', ';;
9193294c433Smrg    esac
9209bc46bd4Smrg    eval enable_$ac_useropt=\$ac_optarg ;;
9213294c433Smrg
9223294c433Smrg  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
9233294c433Smrg  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
9243294c433Smrg  | --exec | --exe | --ex)
9253294c433Smrg    ac_prev=exec_prefix ;;
9263294c433Smrg  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
9273294c433Smrg  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
9283294c433Smrg  | --exec=* | --exe=* | --ex=*)
9293294c433Smrg    exec_prefix=$ac_optarg ;;
9303294c433Smrg
9313294c433Smrg  -gas | --gas | --ga | --g)
9323294c433Smrg    # Obsolete; use --with-gas.
9333294c433Smrg    with_gas=yes ;;
9343294c433Smrg
9353294c433Smrg  -help | --help | --hel | --he | -h)
9363294c433Smrg    ac_init_help=long ;;
9373294c433Smrg  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
9383294c433Smrg    ac_init_help=recursive ;;
9393294c433Smrg  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
9403294c433Smrg    ac_init_help=short ;;
9413294c433Smrg
9423294c433Smrg  -host | --host | --hos | --ho)
9433294c433Smrg    ac_prev=host_alias ;;
9443294c433Smrg  -host=* | --host=* | --hos=* | --ho=*)
9453294c433Smrg    host_alias=$ac_optarg ;;
9463294c433Smrg
9479bc46bd4Smrg  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
9489bc46bd4Smrg    ac_prev=htmldir ;;
9499bc46bd4Smrg  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
9509bc46bd4Smrg  | --ht=*)
9519bc46bd4Smrg    htmldir=$ac_optarg ;;
9529bc46bd4Smrg
9533294c433Smrg  -includedir | --includedir | --includedi | --included | --include \
9543294c433Smrg  | --includ | --inclu | --incl | --inc)
9553294c433Smrg    ac_prev=includedir ;;
9563294c433Smrg  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
9573294c433Smrg  | --includ=* | --inclu=* | --incl=* | --inc=*)
9583294c433Smrg    includedir=$ac_optarg ;;
9593294c433Smrg
9603294c433Smrg  -infodir | --infodir | --infodi | --infod | --info | --inf)
9613294c433Smrg    ac_prev=infodir ;;
9623294c433Smrg  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
9633294c433Smrg    infodir=$ac_optarg ;;
9643294c433Smrg
9653294c433Smrg  -libdir | --libdir | --libdi | --libd)
9663294c433Smrg    ac_prev=libdir ;;
9673294c433Smrg  -libdir=* | --libdir=* | --libdi=* | --libd=*)
9683294c433Smrg    libdir=$ac_optarg ;;
9693294c433Smrg
9703294c433Smrg  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
9713294c433Smrg  | --libexe | --libex | --libe)
9723294c433Smrg    ac_prev=libexecdir ;;
9733294c433Smrg  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
9743294c433Smrg  | --libexe=* | --libex=* | --libe=*)
9753294c433Smrg    libexecdir=$ac_optarg ;;
9763294c433Smrg
9779bc46bd4Smrg  -localedir | --localedir | --localedi | --localed | --locale)
9789bc46bd4Smrg    ac_prev=localedir ;;
9799bc46bd4Smrg  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
9809bc46bd4Smrg    localedir=$ac_optarg ;;
9819bc46bd4Smrg
9823294c433Smrg  -localstatedir | --localstatedir | --localstatedi | --localstated \
9839bc46bd4Smrg  | --localstate | --localstat | --localsta | --localst | --locals)
9843294c433Smrg    ac_prev=localstatedir ;;
9853294c433Smrg  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
9869bc46bd4Smrg  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
9873294c433Smrg    localstatedir=$ac_optarg ;;
9883294c433Smrg
9893294c433Smrg  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
9903294c433Smrg    ac_prev=mandir ;;
9913294c433Smrg  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
9923294c433Smrg    mandir=$ac_optarg ;;
9933294c433Smrg
9943294c433Smrg  -nfp | --nfp | --nf)
9953294c433Smrg    # Obsolete; use --without-fp.
9963294c433Smrg    with_fp=no ;;
9973294c433Smrg
9983294c433Smrg  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
9993294c433Smrg  | --no-cr | --no-c | -n)
10003294c433Smrg    no_create=yes ;;
10013294c433Smrg
10023294c433Smrg  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
10033294c433Smrg  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
10043294c433Smrg    no_recursion=yes ;;
10053294c433Smrg
10063294c433Smrg  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
10073294c433Smrg  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
10083294c433Smrg  | --oldin | --oldi | --old | --ol | --o)
10093294c433Smrg    ac_prev=oldincludedir ;;
10103294c433Smrg  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
10113294c433Smrg  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
10123294c433Smrg  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
10133294c433Smrg    oldincludedir=$ac_optarg ;;
10143294c433Smrg
10153294c433Smrg  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
10163294c433Smrg    ac_prev=prefix ;;
10173294c433Smrg  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
10183294c433Smrg    prefix=$ac_optarg ;;
10193294c433Smrg
10203294c433Smrg  -program-prefix | --program-prefix | --program-prefi | --program-pref \
10213294c433Smrg  | --program-pre | --program-pr | --program-p)
10223294c433Smrg    ac_prev=program_prefix ;;
10233294c433Smrg  -program-prefix=* | --program-prefix=* | --program-prefi=* \
10243294c433Smrg  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
10253294c433Smrg    program_prefix=$ac_optarg ;;
10263294c433Smrg
10273294c433Smrg  -program-suffix | --program-suffix | --program-suffi | --program-suff \
10283294c433Smrg  | --program-suf | --program-su | --program-s)
10293294c433Smrg    ac_prev=program_suffix ;;
10303294c433Smrg  -program-suffix=* | --program-suffix=* | --program-suffi=* \
10313294c433Smrg  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
10323294c433Smrg    program_suffix=$ac_optarg ;;
10333294c433Smrg
10343294c433Smrg  -program-transform-name | --program-transform-name \
10353294c433Smrg  | --program-transform-nam | --program-transform-na \
10363294c433Smrg  | --program-transform-n | --program-transform- \
10373294c433Smrg  | --program-transform | --program-transfor \
10383294c433Smrg  | --program-transfo | --program-transf \
10393294c433Smrg  | --program-trans | --program-tran \
10403294c433Smrg  | --progr-tra | --program-tr | --program-t)
10413294c433Smrg    ac_prev=program_transform_name ;;
10423294c433Smrg  -program-transform-name=* | --program-transform-name=* \
10433294c433Smrg  | --program-transform-nam=* | --program-transform-na=* \
10443294c433Smrg  | --program-transform-n=* | --program-transform-=* \
10453294c433Smrg  | --program-transform=* | --program-transfor=* \
10463294c433Smrg  | --program-transfo=* | --program-transf=* \
10473294c433Smrg  | --program-trans=* | --program-tran=* \
10483294c433Smrg  | --progr-tra=* | --program-tr=* | --program-t=*)
10493294c433Smrg    program_transform_name=$ac_optarg ;;
10503294c433Smrg
10519bc46bd4Smrg  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
10529bc46bd4Smrg    ac_prev=pdfdir ;;
10539bc46bd4Smrg  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
10549bc46bd4Smrg    pdfdir=$ac_optarg ;;
10559bc46bd4Smrg
10569bc46bd4Smrg  -psdir | --psdir | --psdi | --psd | --ps)
10579bc46bd4Smrg    ac_prev=psdir ;;
10589bc46bd4Smrg  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
10599bc46bd4Smrg    psdir=$ac_optarg ;;
10609bc46bd4Smrg
10613294c433Smrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10623294c433Smrg  | -silent | --silent | --silen | --sile | --sil)
10633294c433Smrg    silent=yes ;;
10643294c433Smrg
1065f403ce92Smrg  -runstatedir | --runstatedir | --runstatedi | --runstated \
1066f403ce92Smrg  | --runstate | --runstat | --runsta | --runst | --runs \
1067f403ce92Smrg  | --run | --ru | --r)
1068f403ce92Smrg    ac_prev=runstatedir ;;
1069f403ce92Smrg  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1070f403ce92Smrg  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1071f403ce92Smrg  | --run=* | --ru=* | --r=*)
1072f403ce92Smrg    runstatedir=$ac_optarg ;;
1073f403ce92Smrg
10743294c433Smrg  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
10753294c433Smrg    ac_prev=sbindir ;;
10763294c433Smrg  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
10773294c433Smrg  | --sbi=* | --sb=*)
10783294c433Smrg    sbindir=$ac_optarg ;;
10793294c433Smrg
10803294c433Smrg  -sharedstatedir | --sharedstatedir | --sharedstatedi \
10813294c433Smrg  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
10823294c433Smrg  | --sharedst | --shareds | --shared | --share | --shar \
10833294c433Smrg  | --sha | --sh)
10843294c433Smrg    ac_prev=sharedstatedir ;;
10853294c433Smrg  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
10863294c433Smrg  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
10873294c433Smrg  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
10883294c433Smrg  | --sha=* | --sh=*)
10893294c433Smrg    sharedstatedir=$ac_optarg ;;
10903294c433Smrg
10913294c433Smrg  -site | --site | --sit)
10923294c433Smrg    ac_prev=site ;;
10933294c433Smrg  -site=* | --site=* | --sit=*)
10943294c433Smrg    site=$ac_optarg ;;
10953294c433Smrg
10963294c433Smrg  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
10973294c433Smrg    ac_prev=srcdir ;;
10983294c433Smrg  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
10993294c433Smrg    srcdir=$ac_optarg ;;
11003294c433Smrg
11013294c433Smrg  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
11023294c433Smrg  | --syscon | --sysco | --sysc | --sys | --sy)
11033294c433Smrg    ac_prev=sysconfdir ;;
11043294c433Smrg  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
11053294c433Smrg  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
11063294c433Smrg    sysconfdir=$ac_optarg ;;
11073294c433Smrg
11083294c433Smrg  -target | --target | --targe | --targ | --tar | --ta | --t)
11093294c433Smrg    ac_prev=target_alias ;;
11103294c433Smrg  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
11113294c433Smrg    target_alias=$ac_optarg ;;
11123294c433Smrg
11133294c433Smrg  -v | -verbose | --verbose | --verbos | --verbo | --verb)
11143294c433Smrg    verbose=yes ;;
11153294c433Smrg
11163294c433Smrg  -version | --version | --versio | --versi | --vers | -V)
11173294c433Smrg    ac_init_version=: ;;
11183294c433Smrg
11193294c433Smrg  -with-* | --with-*)
11209bc46bd4Smrg    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
11213294c433Smrg    # Reject names that are not valid shell variable names.
11229bc46bd4Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1123f403ce92Smrg      as_fn_error $? "invalid package name: \`$ac_useropt'"
11249bc46bd4Smrg    ac_useropt_orig=$ac_useropt
1125f403ce92Smrg    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
11269bc46bd4Smrg    case $ac_user_opts in
11279bc46bd4Smrg      *"
11289bc46bd4Smrg"with_$ac_useropt"
11299bc46bd4Smrg"*) ;;
11309bc46bd4Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
11319bc46bd4Smrg	 ac_unrecognized_sep=', ';;
11323294c433Smrg    esac
11339bc46bd4Smrg    eval with_$ac_useropt=\$ac_optarg ;;
11343294c433Smrg
11353294c433Smrg  -without-* | --without-*)
11369bc46bd4Smrg    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
11373294c433Smrg    # Reject names that are not valid shell variable names.
11389bc46bd4Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1139f403ce92Smrg      as_fn_error $? "invalid package name: \`$ac_useropt'"
11409bc46bd4Smrg    ac_useropt_orig=$ac_useropt
1141f403ce92Smrg    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
11429bc46bd4Smrg    case $ac_user_opts in
11439bc46bd4Smrg      *"
11449bc46bd4Smrg"with_$ac_useropt"
11459bc46bd4Smrg"*) ;;
11469bc46bd4Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
11479bc46bd4Smrg	 ac_unrecognized_sep=', ';;
11489bc46bd4Smrg    esac
11499bc46bd4Smrg    eval with_$ac_useropt=no ;;
11503294c433Smrg
11513294c433Smrg  --x)
11523294c433Smrg    # Obsolete; use --with-x.
11533294c433Smrg    with_x=yes ;;
11543294c433Smrg
11553294c433Smrg  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
11563294c433Smrg  | --x-incl | --x-inc | --x-in | --x-i)
11573294c433Smrg    ac_prev=x_includes ;;
11583294c433Smrg  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
11593294c433Smrg  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
11603294c433Smrg    x_includes=$ac_optarg ;;
11613294c433Smrg
11623294c433Smrg  -x-libraries | --x-libraries | --x-librarie | --x-librari \
11633294c433Smrg  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
11643294c433Smrg    ac_prev=x_libraries ;;
11653294c433Smrg  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
11663294c433Smrg  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
11673294c433Smrg    x_libraries=$ac_optarg ;;
11683294c433Smrg
1169c41d98afSmrg  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1170c41d98afSmrgTry \`$0 --help' for more information"
11713294c433Smrg    ;;
11723294c433Smrg
11733294c433Smrg  *=*)
11743294c433Smrg    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
11753294c433Smrg    # Reject names that are not valid shell variable names.
1176c41d98afSmrg    case $ac_envvar in #(
1177c41d98afSmrg      '' | [0-9]* | *[!_$as_cr_alnum]* )
1178c41d98afSmrg      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1179c41d98afSmrg    esac
11809bc46bd4Smrg    eval $ac_envvar=\$ac_optarg
11813294c433Smrg    export $ac_envvar ;;
11823294c433Smrg
11833294c433Smrg  *)
11843294c433Smrg    # FIXME: should be removed in autoconf 3.0.
1185f403ce92Smrg    printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
11863294c433Smrg    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1187f403ce92Smrg      printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1188c41d98afSmrg    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
11893294c433Smrg    ;;
11903294c433Smrg
11913294c433Smrg  esac
11923294c433Smrgdone
11933294c433Smrg
11943294c433Smrgif test -n "$ac_prev"; then
11953294c433Smrg  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1196c41d98afSmrg  as_fn_error $? "missing argument to $ac_option"
11973294c433Smrgfi
11983294c433Smrg
11999bc46bd4Smrgif test -n "$ac_unrecognized_opts"; then
12009bc46bd4Smrg  case $enable_option_checking in
12019bc46bd4Smrg    no) ;;
1202c41d98afSmrg    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1203f403ce92Smrg    *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
12043294c433Smrg  esac
12059bc46bd4Smrgfi
12063294c433Smrg
12079bc46bd4Smrg# Check all directory arguments for consistency.
12089bc46bd4Smrgfor ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
12099bc46bd4Smrg		datadir sysconfdir sharedstatedir localstatedir includedir \
12109bc46bd4Smrg		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1211f403ce92Smrg		libdir localedir mandir runstatedir
12123294c433Smrgdo
12139bc46bd4Smrg  eval ac_val=\$$ac_var
12149bc46bd4Smrg  # Remove trailing slashes.
12153294c433Smrg  case $ac_val in
12169bc46bd4Smrg    */ )
12179bc46bd4Smrg      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
12189bc46bd4Smrg      eval $ac_var=\$ac_val;;
12199bc46bd4Smrg  esac
12209bc46bd4Smrg  # Be sure to have absolute directory names.
12219bc46bd4Smrg  case $ac_val in
12229bc46bd4Smrg    [\\/$]* | ?:[\\/]* )  continue;;
12239bc46bd4Smrg    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
12243294c433Smrg  esac
1225c41d98afSmrg  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
12263294c433Smrgdone
12273294c433Smrg
12283294c433Smrg# There might be people who depend on the old broken behavior: `$host'
12293294c433Smrg# used to hold the argument of --host etc.
12303294c433Smrg# FIXME: To remove some day.
12313294c433Smrgbuild=$build_alias
12323294c433Smrghost=$host_alias
12333294c433Smrgtarget=$target_alias
12343294c433Smrg
12353294c433Smrg# FIXME: To remove some day.
12363294c433Smrgif test "x$host_alias" != x; then
12373294c433Smrg  if test "x$build_alias" = x; then
12383294c433Smrg    cross_compiling=maybe
12393294c433Smrg  elif test "x$build_alias" != "x$host_alias"; then
12403294c433Smrg    cross_compiling=yes
12413294c433Smrg  fi
12423294c433Smrgfi
12433294c433Smrg
12443294c433Smrgac_tool_prefix=
12453294c433Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias-
12463294c433Smrg
12473294c433Smrgtest "$silent" = yes && exec 6>/dev/null
12483294c433Smrg
12493294c433Smrg
12509bc46bd4Smrgac_pwd=`pwd` && test -n "$ac_pwd" &&
12519bc46bd4Smrgac_ls_di=`ls -di .` &&
12529bc46bd4Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1253c41d98afSmrg  as_fn_error $? "working directory cannot be determined"
12549bc46bd4Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1255c41d98afSmrg  as_fn_error $? "pwd does not report name of working directory"
12569bc46bd4Smrg
12579bc46bd4Smrg
12583294c433Smrg# Find the source files, if location was not specified.
12593294c433Smrgif test -z "$srcdir"; then
12603294c433Smrg  ac_srcdir_defaulted=yes
12619bc46bd4Smrg  # Try the directory containing this script, then the parent directory.
12629bc46bd4Smrg  ac_confdir=`$as_dirname -- "$as_myself" ||
12639bc46bd4Smrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12649bc46bd4Smrg	 X"$as_myself" : 'X\(//\)[^/]' \| \
12659bc46bd4Smrg	 X"$as_myself" : 'X\(//\)$' \| \
12669bc46bd4Smrg	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1267f403ce92Smrgprintf "%s\n" X"$as_myself" |
12689bc46bd4Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12699bc46bd4Smrg	    s//\1/
12709bc46bd4Smrg	    q
12719bc46bd4Smrg	  }
12729bc46bd4Smrg	  /^X\(\/\/\)[^/].*/{
12739bc46bd4Smrg	    s//\1/
12749bc46bd4Smrg	    q
12759bc46bd4Smrg	  }
12769bc46bd4Smrg	  /^X\(\/\/\)$/{
12779bc46bd4Smrg	    s//\1/
12789bc46bd4Smrg	    q
12799bc46bd4Smrg	  }
12809bc46bd4Smrg	  /^X\(\/\).*/{
12819bc46bd4Smrg	    s//\1/
12829bc46bd4Smrg	    q
12839bc46bd4Smrg	  }
12849bc46bd4Smrg	  s/.*/./; q'`
12853294c433Smrg  srcdir=$ac_confdir
12869bc46bd4Smrg  if test ! -r "$srcdir/$ac_unique_file"; then
12873294c433Smrg    srcdir=..
12883294c433Smrg  fi
12893294c433Smrgelse
12903294c433Smrg  ac_srcdir_defaulted=no
12913294c433Smrgfi
12929bc46bd4Smrgif test ! -r "$srcdir/$ac_unique_file"; then
12939bc46bd4Smrg  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1294c41d98afSmrg  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
12953294c433Smrgfi
12969bc46bd4Smrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
12979bc46bd4Smrgac_abs_confdir=`(
1298c41d98afSmrg	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
12999bc46bd4Smrg	pwd)`
13009bc46bd4Smrg# When building in place, set srcdir=.
13019bc46bd4Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then
13029bc46bd4Smrg  srcdir=.
13039bc46bd4Smrgfi
13049bc46bd4Smrg# Remove unnecessary trailing slashes from srcdir.
13059bc46bd4Smrg# Double slashes in file names in object file debugging info
13069bc46bd4Smrg# mess up M-x gdb in Emacs.
13079bc46bd4Smrgcase $srcdir in
13089bc46bd4Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
13099bc46bd4Smrgesac
13109bc46bd4Smrgfor ac_var in $ac_precious_vars; do
13119bc46bd4Smrg  eval ac_env_${ac_var}_set=\${${ac_var}+set}
13129bc46bd4Smrg  eval ac_env_${ac_var}_value=\$${ac_var}
13139bc46bd4Smrg  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
13149bc46bd4Smrg  eval ac_cv_env_${ac_var}_value=\$${ac_var}
13159bc46bd4Smrgdone
13163294c433Smrg
13173294c433Smrg#
13183294c433Smrg# Report the --help message.
13193294c433Smrg#
13203294c433Smrgif test "$ac_init_help" = "long"; then
13213294c433Smrg  # Omit some internal or obsolete options to make the list less imposing.
13223294c433Smrg  # This message is too long to be a string in the A/UX 3.1 sh.
13233294c433Smrg  cat <<_ACEOF
1324f403ce92Smrg\`configure' configures font-bh-100dpi 1.0.4 to adapt to many kinds of systems.
13253294c433Smrg
13263294c433SmrgUsage: $0 [OPTION]... [VAR=VALUE]...
13273294c433Smrg
13283294c433SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as
13293294c433SmrgVAR=VALUE.  See below for descriptions of some of the useful variables.
13303294c433Smrg
13313294c433SmrgDefaults for the options are specified in brackets.
13323294c433Smrg
13333294c433SmrgConfiguration:
13343294c433Smrg  -h, --help              display this help and exit
13353294c433Smrg      --help=short        display options specific to this package
13363294c433Smrg      --help=recursive    display the short help of all the included packages
13373294c433Smrg  -V, --version           display version information and exit
1338c41d98afSmrg  -q, --quiet, --silent   do not print \`checking ...' messages
13393294c433Smrg      --cache-file=FILE   cache test results in FILE [disabled]
13403294c433Smrg  -C, --config-cache      alias for \`--cache-file=config.cache'
13413294c433Smrg  -n, --no-create         do not create output files
13423294c433Smrg      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
13433294c433Smrg
13443294c433SmrgInstallation directories:
13453294c433Smrg  --prefix=PREFIX         install architecture-independent files in PREFIX
13469bc46bd4Smrg                          [$ac_default_prefix]
13473294c433Smrg  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
13489bc46bd4Smrg                          [PREFIX]
13493294c433Smrg
13503294c433SmrgBy default, \`make install' will install all the files in
13513294c433Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
13523294c433Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix',
13533294c433Smrgfor instance \`--prefix=\$HOME'.
13543294c433Smrg
13553294c433SmrgFor better control, use the options below.
13563294c433Smrg
13573294c433SmrgFine tuning of the installation directories:
13589bc46bd4Smrg  --bindir=DIR            user executables [EPREFIX/bin]
13599bc46bd4Smrg  --sbindir=DIR           system admin executables [EPREFIX/sbin]
13609bc46bd4Smrg  --libexecdir=DIR        program executables [EPREFIX/libexec]
13619bc46bd4Smrg  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
13629bc46bd4Smrg  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
13639bc46bd4Smrg  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1364f403ce92Smrg  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
13659bc46bd4Smrg  --libdir=DIR            object code libraries [EPREFIX/lib]
13669bc46bd4Smrg  --includedir=DIR        C header files [PREFIX/include]
13679bc46bd4Smrg  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
13689bc46bd4Smrg  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
13699bc46bd4Smrg  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
13709bc46bd4Smrg  --infodir=DIR           info documentation [DATAROOTDIR/info]
13719bc46bd4Smrg  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
13729bc46bd4Smrg  --mandir=DIR            man documentation [DATAROOTDIR/man]
13739bc46bd4Smrg  --docdir=DIR            documentation root [DATAROOTDIR/doc/font-bh-100dpi]
13749bc46bd4Smrg  --htmldir=DIR           html documentation [DOCDIR]
13759bc46bd4Smrg  --dvidir=DIR            dvi documentation [DOCDIR]
13769bc46bd4Smrg  --pdfdir=DIR            pdf documentation [DOCDIR]
13779bc46bd4Smrg  --psdir=DIR             ps documentation [DOCDIR]
13783294c433Smrg_ACEOF
13793294c433Smrg
13803294c433Smrg  cat <<\_ACEOF
13813294c433Smrg
13823294c433SmrgProgram names:
13833294c433Smrg  --program-prefix=PREFIX            prepend PREFIX to installed program names
13843294c433Smrg  --program-suffix=SUFFIX            append SUFFIX to installed program names
13853294c433Smrg  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
13869bc46bd4Smrg
13879bc46bd4SmrgSystem types:
13889bc46bd4Smrg  --build=BUILD     configure for building on BUILD [guessed]
13899bc46bd4Smrg  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
13903294c433Smrg_ACEOF
13913294c433Smrgfi
13923294c433Smrg
13933294c433Smrgif test -n "$ac_init_help"; then
13943294c433Smrg  case $ac_init_help in
1395f403ce92Smrg     short | recursive ) echo "Configuration of font-bh-100dpi 1.0.4:";;
13963294c433Smrg   esac
13973294c433Smrg  cat <<\_ACEOF
13983294c433Smrg
13993294c433SmrgOptional Features:
14009bc46bd4Smrg  --disable-option-checking  ignore unrecognized --enable/--with options
14013294c433Smrg  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
14023294c433Smrg  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1403f403ce92Smrg  --enable-silent-rules   less verbose build output (undo: "make V=1")
1404f403ce92Smrg  --disable-silent-rules  verbose build output (undo: "make V=0")
1405c41d98afSmrg  --disable-all-encodings Disable building of all font encodings
14063294c433Smrg  --disable-iso8859-1     Build ISO8859-1 fonts (default: yes)
14073294c433Smrg  --disable-iso8859-2     Build ISO8859-2 fonts (default: yes)
14083294c433Smrg  --disable-iso8859-3     Build ISO8859-3 fonts (default: yes)
14093294c433Smrg  --disable-iso8859-4     Build ISO8859-4 fonts (default: yes)
14103294c433Smrg  --disable-iso8859-9     Build ISO8859-9 fonts (default: yes)
14113294c433Smrg  --disable-iso8859-10    Build ISO8859-10 fonts (default: yes)
14123294c433Smrg  --disable-iso8859-13    Build ISO8859-13 fonts (default: yes)
14133294c433Smrg  --disable-iso8859-14    Build ISO8859-14 fonts (default: yes)
14143294c433Smrg  --disable-iso8859-15    Build ISO8859-15 fonts (default: yes)
14153294c433Smrg
14163294c433SmrgOptional Packages:
14173294c433Smrg  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
14183294c433Smrg  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
14199bc46bd4Smrg  --with-fontrootdir=DIR  Path to root directory for font files
14209bc46bd4Smrg  --with-fontdir=DIR      Path to 100dpi files [FONTROOTDIR/100dpi]
14219bc46bd4Smrg  --with-compression=<no|compress|gzip|bzip2>
14229bc46bd4Smrg                          compression method to use on pcf fonts
14233294c433Smrg
14243294c433SmrgSome influential environment variables:
14253294c433Smrg  PKG_CONFIG  path to pkg-config utility
1426c41d98afSmrg  PKG_CONFIG_PATH
1427c41d98afSmrg              directories to add to pkg-config's search path
1428c41d98afSmrg  PKG_CONFIG_LIBDIR
1429c41d98afSmrg              path overriding pkg-config's built-in search path
14303294c433Smrg  MAPS_CFLAGS C compiler flags for MAPS, overriding pkg-config
14313294c433Smrg  MAPS_LIBS   linker flags for MAPS, overriding pkg-config
14323294c433Smrg
14333294c433SmrgUse these variables to override the choices made by `configure' or to help
14343294c433Smrgit to find libraries and programs with nonstandard names/locations.
14353294c433Smrg
1436f403ce92SmrgReport bugs to <https://gitlab.freedesktop.org/xorg/font/bh-100dpi/-/issues>.
14373294c433Smrg_ACEOF
14389bc46bd4Smrgac_status=$?
14393294c433Smrgfi
14403294c433Smrg
14413294c433Smrgif test "$ac_init_help" = "recursive"; then
14423294c433Smrg  # If there are subdirs, report their specific --help.
14433294c433Smrg  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
14449bc46bd4Smrg    test -d "$ac_dir" ||
14459bc46bd4Smrg      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
14469bc46bd4Smrg      continue
14473294c433Smrg    ac_builddir=.
14483294c433Smrg
14499bc46bd4Smrgcase "$ac_dir" in
14509bc46bd4Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14519bc46bd4Smrg*)
1452f403ce92Smrg  ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
14539bc46bd4Smrg  # A ".." for each directory in $ac_dir_suffix.
1454f403ce92Smrg  ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14559bc46bd4Smrg  case $ac_top_builddir_sub in
14569bc46bd4Smrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14579bc46bd4Smrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14589bc46bd4Smrg  esac ;;
14599bc46bd4Smrgesac
14609bc46bd4Smrgac_abs_top_builddir=$ac_pwd
14619bc46bd4Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix
14629bc46bd4Smrg# for backward compatibility:
14639bc46bd4Smrgac_top_builddir=$ac_top_build_prefix
14643294c433Smrg
14653294c433Smrgcase $srcdir in
14669bc46bd4Smrg  .)  # We are building in place.
14673294c433Smrg    ac_srcdir=.
14689bc46bd4Smrg    ac_top_srcdir=$ac_top_builddir_sub
14699bc46bd4Smrg    ac_abs_top_srcdir=$ac_pwd ;;
14709bc46bd4Smrg  [\\/]* | ?:[\\/]* )  # Absolute name.
14713294c433Smrg    ac_srcdir=$srcdir$ac_dir_suffix;
14729bc46bd4Smrg    ac_top_srcdir=$srcdir
14739bc46bd4Smrg    ac_abs_top_srcdir=$srcdir ;;
14749bc46bd4Smrg  *) # Relative name.
14759bc46bd4Smrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14769bc46bd4Smrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
14779bc46bd4Smrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14783294c433Smrgesac
14799bc46bd4Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14809bc46bd4Smrg
14819bc46bd4Smrg    cd "$ac_dir" || { ac_status=$?; continue; }
1482f403ce92Smrg    # Check for configure.gnu first; this name is used for a wrapper for
1483f403ce92Smrg    # Metaconfig's "Configure" on case-insensitive file systems.
14849bc46bd4Smrg    if test -f "$ac_srcdir/configure.gnu"; then
14859bc46bd4Smrg      echo &&
14869bc46bd4Smrg      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
14879bc46bd4Smrg    elif test -f "$ac_srcdir/configure"; then
14889bc46bd4Smrg      echo &&
14899bc46bd4Smrg      $SHELL "$ac_srcdir/configure" --help=recursive
14903294c433Smrg    else
1491f403ce92Smrg      printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
14929bc46bd4Smrg    fi || ac_status=$?
14939bc46bd4Smrg    cd "$ac_pwd" || { ac_status=$?; break; }
14943294c433Smrg  done
14953294c433Smrgfi
14963294c433Smrg
14979bc46bd4Smrgtest -n "$ac_init_help" && exit $ac_status
14983294c433Smrgif $ac_init_version; then
14993294c433Smrg  cat <<\_ACEOF
1500f403ce92Smrgfont-bh-100dpi configure 1.0.4
1501f403ce92Smrggenerated by GNU Autoconf 2.71
15023294c433Smrg
1503f403ce92SmrgCopyright (C) 2021 Free Software Foundation, Inc.
15043294c433SmrgThis configure script is free software; the Free Software Foundation
15053294c433Smrggives unlimited permission to copy, distribute and modify it.
15063294c433Smrg_ACEOF
15079bc46bd4Smrg  exit
15083294c433Smrgfi
15093294c433Smrg
1510c41d98afSmrg## ------------------------ ##
1511c41d98afSmrg## Autoconf initialization. ##
1512c41d98afSmrg## ------------------------ ##
1513f403ce92Smrgac_configure_args_raw=
1514f403ce92Smrgfor ac_arg
1515f403ce92Smrgdo
1516f403ce92Smrg  case $ac_arg in
1517f403ce92Smrg  *\'*)
1518f403ce92Smrg    ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1519f403ce92Smrg  esac
1520f403ce92Smrg  as_fn_append ac_configure_args_raw " '$ac_arg'"
1521f403ce92Smrgdone
15223294c433Smrg
1523f403ce92Smrgcase $ac_configure_args_raw in
1524f403ce92Smrg  *$as_nl*)
1525f403ce92Smrg    ac_safe_unquote= ;;
1526f403ce92Smrg  *)
1527f403ce92Smrg    ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
1528f403ce92Smrg    ac_unsafe_a="$ac_unsafe_z#~"
1529f403ce92Smrg    ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1530f403ce92Smrg    ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1531c41d98afSmrgesac
1532c41d98afSmrg
1533c41d98afSmrgcat >config.log <<_ACEOF
1534c41d98afSmrgThis file contains any messages produced by compilers while
1535c41d98afSmrgrunning configure, to aid debugging if configure makes a mistake.
1536c41d98afSmrg
1537f403ce92SmrgIt was created by font-bh-100dpi $as_me 1.0.4, which was
1538f403ce92Smrggenerated by GNU Autoconf 2.71.  Invocation command line was
1539c41d98afSmrg
1540f403ce92Smrg  $ $0$ac_configure_args_raw
1541c41d98afSmrg
1542c41d98afSmrg_ACEOF
1543c41d98afSmrgexec 5>>config.log
1544c41d98afSmrg{
1545c41d98afSmrgcat <<_ASUNAME
1546c41d98afSmrg## --------- ##
1547c41d98afSmrg## Platform. ##
1548c41d98afSmrg## --------- ##
1549c41d98afSmrg
1550c41d98afSmrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1551c41d98afSmrguname -m = `(uname -m) 2>/dev/null || echo unknown`
1552c41d98afSmrguname -r = `(uname -r) 2>/dev/null || echo unknown`
1553c41d98afSmrguname -s = `(uname -s) 2>/dev/null || echo unknown`
1554c41d98afSmrguname -v = `(uname -v) 2>/dev/null || echo unknown`
1555c41d98afSmrg
1556c41d98afSmrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1557c41d98afSmrg/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1558c41d98afSmrg
1559c41d98afSmrg/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1560c41d98afSmrg/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1561c41d98afSmrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1562c41d98afSmrg/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1563c41d98afSmrg/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1564c41d98afSmrg/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1565c41d98afSmrg/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1566c41d98afSmrg
1567c41d98afSmrg_ASUNAME
1568c41d98afSmrg
1569c41d98afSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1570c41d98afSmrgfor as_dir in $PATH
15713294c433Smrgdo
15723294c433Smrg  IFS=$as_save_IFS
1573f403ce92Smrg  case $as_dir in #(((
1574f403ce92Smrg    '') as_dir=./ ;;
1575f403ce92Smrg    */) ;;
1576f403ce92Smrg    *) as_dir=$as_dir/ ;;
1577f403ce92Smrg  esac
1578f403ce92Smrg    printf "%s\n" "PATH: $as_dir"
1579c41d98afSmrg  done
15809bc46bd4SmrgIFS=$as_save_IFS
15813294c433Smrg
15823294c433Smrg} >&5
15833294c433Smrg
15843294c433Smrgcat >&5 <<_ACEOF
15853294c433Smrg
15863294c433Smrg
15873294c433Smrg## ----------- ##
15883294c433Smrg## Core tests. ##
15893294c433Smrg## ----------- ##
15903294c433Smrg
15913294c433Smrg_ACEOF
15923294c433Smrg
15933294c433Smrg
15943294c433Smrg# Keep a trace of the command line.
15953294c433Smrg# Strip out --no-create and --no-recursion so they do not pile up.
15963294c433Smrg# Strip out --silent because we don't want to record it for future runs.
15973294c433Smrg# Also quote any args containing shell meta-characters.
15983294c433Smrg# Make two passes to allow for proper duplicate-argument suppression.
15993294c433Smrgac_configure_args=
16003294c433Smrgac_configure_args0=
16013294c433Smrgac_configure_args1=
16023294c433Smrgac_must_keep_next=false
16033294c433Smrgfor ac_pass in 1 2
16043294c433Smrgdo
16053294c433Smrg  for ac_arg
16063294c433Smrg  do
16073294c433Smrg    case $ac_arg in
16083294c433Smrg    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
16093294c433Smrg    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16103294c433Smrg    | -silent | --silent | --silen | --sile | --sil)
16113294c433Smrg      continue ;;
16129bc46bd4Smrg    *\'*)
1613f403ce92Smrg      ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16143294c433Smrg    esac
16153294c433Smrg    case $ac_pass in
1616c41d98afSmrg    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
16173294c433Smrg    2)
1618c41d98afSmrg      as_fn_append ac_configure_args1 " '$ac_arg'"
16193294c433Smrg      if test $ac_must_keep_next = true; then
16203294c433Smrg	ac_must_keep_next=false # Got value, back to normal.
16213294c433Smrg      else
16223294c433Smrg	case $ac_arg in
16233294c433Smrg	  *=* | --config-cache | -C | -disable-* | --disable-* \
16243294c433Smrg	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
16253294c433Smrg	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
16263294c433Smrg	  | -with-* | --with-* | -without-* | --without-* | --x)
16273294c433Smrg	    case "$ac_configure_args0 " in
16283294c433Smrg	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
16293294c433Smrg	    esac
16303294c433Smrg	    ;;
16313294c433Smrg	  -* ) ac_must_keep_next=true ;;
16323294c433Smrg	esac
16333294c433Smrg      fi
1634c41d98afSmrg      as_fn_append ac_configure_args " '$ac_arg'"
16353294c433Smrg      ;;
16363294c433Smrg    esac
16373294c433Smrg  done
16383294c433Smrgdone
1639c41d98afSmrg{ ac_configure_args0=; unset ac_configure_args0;}
1640c41d98afSmrg{ ac_configure_args1=; unset ac_configure_args1;}
16413294c433Smrg
16423294c433Smrg# When interrupted or exit'd, cleanup temporary files, and complete
16433294c433Smrg# config.log.  We remove comments because anyway the quotes in there
16443294c433Smrg# would cause problems or look ugly.
16459bc46bd4Smrg# WARNING: Use '\'' to represent an apostrophe within the trap.
16469bc46bd4Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
16473294c433Smrgtrap 'exit_status=$?
1648f403ce92Smrg  # Sanitize IFS.
1649f403ce92Smrg  IFS=" ""	$as_nl"
16503294c433Smrg  # Save into config.log some information that might help in debugging.
16513294c433Smrg  {
16523294c433Smrg    echo
16533294c433Smrg
1654f403ce92Smrg    printf "%s\n" "## ---------------- ##
16553294c433Smrg## Cache variables. ##
1656c41d98afSmrg## ---------------- ##"
16573294c433Smrg    echo
16583294c433Smrg    # The following way of writing the cache mishandles newlines in values,
16599bc46bd4Smrg(
16609bc46bd4Smrg  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
16619bc46bd4Smrg    eval ac_val=\$$ac_var
16629bc46bd4Smrg    case $ac_val in #(
16639bc46bd4Smrg    *${as_nl}*)
16649bc46bd4Smrg      case $ac_var in #(
1665f403ce92Smrg      *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1666f403ce92Smrgprintf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16679bc46bd4Smrg      esac
16689bc46bd4Smrg      case $ac_var in #(
16699bc46bd4Smrg      _ | IFS | as_nl) ;; #(
16709bc46bd4Smrg      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1671c41d98afSmrg      *) { eval $ac_var=; unset $ac_var;} ;;
16729bc46bd4Smrg      esac ;;
16739bc46bd4Smrg    esac
16749bc46bd4Smrg  done
16753294c433Smrg  (set) 2>&1 |
16769bc46bd4Smrg    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
16779bc46bd4Smrg    *${as_nl}ac_space=\ *)
16783294c433Smrg      sed -n \
16799bc46bd4Smrg	"s/'\''/'\''\\\\'\'''\''/g;
16809bc46bd4Smrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
16819bc46bd4Smrg      ;; #(
16823294c433Smrg    *)
16839bc46bd4Smrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16843294c433Smrg      ;;
16859bc46bd4Smrg    esac |
16869bc46bd4Smrg    sort
16879bc46bd4Smrg)
16883294c433Smrg    echo
16893294c433Smrg
1690f403ce92Smrg    printf "%s\n" "## ----------------- ##
16913294c433Smrg## Output variables. ##
1692c41d98afSmrg## ----------------- ##"
16933294c433Smrg    echo
16943294c433Smrg    for ac_var in $ac_subst_vars
16953294c433Smrg    do
16969bc46bd4Smrg      eval ac_val=\$$ac_var
16979bc46bd4Smrg      case $ac_val in
1698f403ce92Smrg      *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
16999bc46bd4Smrg      esac
1700f403ce92Smrg      printf "%s\n" "$ac_var='\''$ac_val'\''"
17013294c433Smrg    done | sort
17023294c433Smrg    echo
17033294c433Smrg
17043294c433Smrg    if test -n "$ac_subst_files"; then
1705f403ce92Smrg      printf "%s\n" "## ------------------- ##
17069bc46bd4Smrg## File substitutions. ##
1707c41d98afSmrg## ------------------- ##"
17083294c433Smrg      echo
17093294c433Smrg      for ac_var in $ac_subst_files
17103294c433Smrg      do
17119bc46bd4Smrg	eval ac_val=\$$ac_var
17129bc46bd4Smrg	case $ac_val in
1713f403ce92Smrg	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
17149bc46bd4Smrg	esac
1715f403ce92Smrg	printf "%s\n" "$ac_var='\''$ac_val'\''"
17163294c433Smrg      done | sort
17173294c433Smrg      echo
17183294c433Smrg    fi
17193294c433Smrg
17203294c433Smrg    if test -s confdefs.h; then
1721f403ce92Smrg      printf "%s\n" "## ----------- ##
17223294c433Smrg## confdefs.h. ##
1723c41d98afSmrg## ----------- ##"
17243294c433Smrg      echo
17259bc46bd4Smrg      cat confdefs.h
17263294c433Smrg      echo
17273294c433Smrg    fi
17283294c433Smrg    test "$ac_signal" != 0 &&
1729f403ce92Smrg      printf "%s\n" "$as_me: caught signal $ac_signal"
1730f403ce92Smrg    printf "%s\n" "$as_me: exit $exit_status"
17313294c433Smrg  } >&5
17329bc46bd4Smrg  rm -f core *.core core.conftest.* &&
17339bc46bd4Smrg    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
17343294c433Smrg    exit $exit_status
17359bc46bd4Smrg' 0
17363294c433Smrgfor ac_signal in 1 2 13 15; do
1737c41d98afSmrg  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
17383294c433Smrgdone
17393294c433Smrgac_signal=0
17403294c433Smrg
17413294c433Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed.
17429bc46bd4Smrgrm -f -r conftest* confdefs.h
17433294c433Smrg
1744f403ce92Smrgprintf "%s\n" "/* confdefs.h */" > confdefs.h
1745c41d98afSmrg
17463294c433Smrg# Predefined preprocessor variables.
17473294c433Smrg
1748f403ce92Smrgprintf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
17493294c433Smrg
1750f403ce92Smrgprintf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
17513294c433Smrg
1752f403ce92Smrgprintf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
17533294c433Smrg
1754f403ce92Smrgprintf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
17553294c433Smrg
1756f403ce92Smrgprintf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
17573294c433Smrg
1758f403ce92Smrgprintf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1759c41d98afSmrg
17603294c433Smrg
17613294c433Smrg# Let the site file select an alternate cache file if it wants to.
17629bc46bd4Smrg# Prefer an explicitly selected file to automatically selected ones.
17639bc46bd4Smrgif test -n "$CONFIG_SITE"; then
1764f403ce92Smrg  ac_site_files="$CONFIG_SITE"
17659bc46bd4Smrgelif test "x$prefix" != xNONE; then
1766f403ce92Smrg  ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
17679bc46bd4Smrgelse
1768f403ce92Smrg  ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
17693294c433Smrgfi
1770f403ce92Smrg
1771f403ce92Smrgfor ac_site_file in $ac_site_files
17729bc46bd4Smrgdo
1773f403ce92Smrg  case $ac_site_file in #(
1774f403ce92Smrg  */*) :
1775f403ce92Smrg     ;; #(
1776f403ce92Smrg  *) :
1777f403ce92Smrg    ac_site_file=./$ac_site_file ;;
1778f403ce92Smrgesac
1779f403ce92Smrg  if test -f "$ac_site_file" && test -r "$ac_site_file"; then
1780f403ce92Smrg    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1781f403ce92Smrgprintf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
17823294c433Smrg    sed 's/^/| /' "$ac_site_file" >&5
1783c41d98afSmrg    . "$ac_site_file" \
1784f403ce92Smrg      || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1785f403ce92Smrgprintf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1786c41d98afSmrgas_fn_error $? "failed to load site script $ac_site_file
1787c41d98afSmrgSee \`config.log' for more details" "$LINENO" 5; }
17883294c433Smrg  fi
17893294c433Smrgdone
17903294c433Smrg
17913294c433Smrgif test -r "$cache_file"; then
1792c41d98afSmrg  # Some versions of bash will fail to source /dev/null (special files
1793c41d98afSmrg  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1794c41d98afSmrg  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1795f403ce92Smrg    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1796f403ce92Smrgprintf "%s\n" "$as_me: loading cache $cache_file" >&6;}
17973294c433Smrg    case $cache_file in
17989bc46bd4Smrg      [\\/]* | ?:[\\/]* ) . "$cache_file";;
17999bc46bd4Smrg      *)                      . "./$cache_file";;
18003294c433Smrg    esac
18013294c433Smrg  fi
18023294c433Smrgelse
1803f403ce92Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1804f403ce92Smrgprintf "%s\n" "$as_me: creating cache $cache_file" >&6;}
18053294c433Smrg  >$cache_file
18063294c433Smrgfi
18073294c433Smrg
1808f403ce92Smrg
1809f403ce92Smrg# Auxiliary files required by this configure script.
1810f403ce92Smrgac_aux_files="config.guess config.sub missing install-sh"
1811f403ce92Smrg
1812f403ce92Smrg# Locations in which to look for auxiliary files.
1813f403ce92Smrgac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
1814f403ce92Smrg
1815f403ce92Smrg# Search for a directory containing all of the required auxiliary files,
1816f403ce92Smrg# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
1817f403ce92Smrg# If we don't find one directory that contains all the files we need,
1818f403ce92Smrg# we report the set of missing files from the *first* directory in
1819f403ce92Smrg# $ac_aux_dir_candidates and give up.
1820f403ce92Smrgac_missing_aux_files=""
1821f403ce92Smrgac_first_candidate=:
1822f403ce92Smrgprintf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
1823f403ce92Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1824f403ce92Smrgas_found=false
1825f403ce92Smrgfor as_dir in $ac_aux_dir_candidates
1826f403ce92Smrgdo
1827f403ce92Smrg  IFS=$as_save_IFS
1828f403ce92Smrg  case $as_dir in #(((
1829f403ce92Smrg    '') as_dir=./ ;;
1830f403ce92Smrg    */) ;;
1831f403ce92Smrg    *) as_dir=$as_dir/ ;;
1832f403ce92Smrg  esac
1833f403ce92Smrg  as_found=:
1834f403ce92Smrg
1835f403ce92Smrg  printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
1836f403ce92Smrg  ac_aux_dir_found=yes
1837f403ce92Smrg  ac_install_sh=
1838f403ce92Smrg  for ac_aux in $ac_aux_files
1839f403ce92Smrg  do
1840f403ce92Smrg    # As a special case, if "install-sh" is required, that requirement
1841f403ce92Smrg    # can be satisfied by any of "install-sh", "install.sh", or "shtool",
1842f403ce92Smrg    # and $ac_install_sh is set appropriately for whichever one is found.
1843f403ce92Smrg    if test x"$ac_aux" = x"install-sh"
1844f403ce92Smrg    then
1845f403ce92Smrg      if test -f "${as_dir}install-sh"; then
1846f403ce92Smrg        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
1847f403ce92Smrg        ac_install_sh="${as_dir}install-sh -c"
1848f403ce92Smrg      elif test -f "${as_dir}install.sh"; then
1849f403ce92Smrg        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
1850f403ce92Smrg        ac_install_sh="${as_dir}install.sh -c"
1851f403ce92Smrg      elif test -f "${as_dir}shtool"; then
1852f403ce92Smrg        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
1853f403ce92Smrg        ac_install_sh="${as_dir}shtool install -c"
1854f403ce92Smrg      else
1855f403ce92Smrg        ac_aux_dir_found=no
1856f403ce92Smrg        if $ac_first_candidate; then
1857f403ce92Smrg          ac_missing_aux_files="${ac_missing_aux_files} install-sh"
1858f403ce92Smrg        else
1859f403ce92Smrg          break
1860f403ce92Smrg        fi
1861f403ce92Smrg      fi
1862f403ce92Smrg    else
1863f403ce92Smrg      if test -f "${as_dir}${ac_aux}"; then
1864f403ce92Smrg        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
1865f403ce92Smrg      else
1866f403ce92Smrg        ac_aux_dir_found=no
1867f403ce92Smrg        if $ac_first_candidate; then
1868f403ce92Smrg          ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
1869f403ce92Smrg        else
1870f403ce92Smrg          break
1871f403ce92Smrg        fi
1872f403ce92Smrg      fi
1873f403ce92Smrg    fi
1874f403ce92Smrg  done
1875f403ce92Smrg  if test "$ac_aux_dir_found" = yes; then
1876f403ce92Smrg    ac_aux_dir="$as_dir"
1877f403ce92Smrg    break
1878f403ce92Smrg  fi
1879f403ce92Smrg  ac_first_candidate=false
1880f403ce92Smrg
1881f403ce92Smrg  as_found=false
1882f403ce92Smrgdone
1883f403ce92SmrgIFS=$as_save_IFS
1884f403ce92Smrgif $as_found
1885f403ce92Smrgthen :
1886f403ce92Smrg
1887f403ce92Smrgelse $as_nop
1888f403ce92Smrg  as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
1889f403ce92Smrgfi
1890f403ce92Smrg
1891f403ce92Smrg
1892f403ce92Smrg# These three variables are undocumented and unsupported,
1893f403ce92Smrg# and are intended to be withdrawn in a future Autoconf release.
1894f403ce92Smrg# They can cause serious problems if a builder's source tree is in a directory
1895f403ce92Smrg# whose full name contains unusual characters.
1896f403ce92Smrgif test -f "${ac_aux_dir}config.guess"; then
1897f403ce92Smrg  ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
1898f403ce92Smrgfi
1899f403ce92Smrgif test -f "${ac_aux_dir}config.sub"; then
1900f403ce92Smrg  ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
1901f403ce92Smrgfi
1902f403ce92Smrgif test -f "$ac_aux_dir/configure"; then
1903f403ce92Smrg  ac_configure="$SHELL ${ac_aux_dir}configure"
1904f403ce92Smrgfi
1905f403ce92Smrg
19063294c433Smrg# Check that the precious variables saved in the cache have kept the same
19073294c433Smrg# value.
19083294c433Smrgac_cache_corrupted=false
19099bc46bd4Smrgfor ac_var in $ac_precious_vars; do
19103294c433Smrg  eval ac_old_set=\$ac_cv_env_${ac_var}_set
19113294c433Smrg  eval ac_new_set=\$ac_env_${ac_var}_set
19129bc46bd4Smrg  eval ac_old_val=\$ac_cv_env_${ac_var}_value
19139bc46bd4Smrg  eval ac_new_val=\$ac_env_${ac_var}_value
19143294c433Smrg  case $ac_old_set,$ac_new_set in
19153294c433Smrg    set,)
1916f403ce92Smrg      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1917f403ce92Smrgprintf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
19183294c433Smrg      ac_cache_corrupted=: ;;
19193294c433Smrg    ,set)
1920f403ce92Smrg      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1921f403ce92Smrgprintf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
19223294c433Smrg      ac_cache_corrupted=: ;;
19233294c433Smrg    ,);;
19243294c433Smrg    *)
19253294c433Smrg      if test "x$ac_old_val" != "x$ac_new_val"; then
19269bc46bd4Smrg	# differences in whitespace do not lead to failure.
19279bc46bd4Smrg	ac_old_val_w=`echo x $ac_old_val`
19289bc46bd4Smrg	ac_new_val_w=`echo x $ac_new_val`
19299bc46bd4Smrg	if test "$ac_old_val_w" != "$ac_new_val_w"; then
1930f403ce92Smrg	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1931f403ce92Smrgprintf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
19329bc46bd4Smrg	  ac_cache_corrupted=:
19339bc46bd4Smrg	else
1934f403ce92Smrg	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1935f403ce92Smrgprintf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
19369bc46bd4Smrg	  eval $ac_var=\$ac_old_val
19379bc46bd4Smrg	fi
1938f403ce92Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1939f403ce92Smrgprintf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
1940f403ce92Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1941f403ce92Smrgprintf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
19423294c433Smrg      fi;;
19433294c433Smrg  esac
19443294c433Smrg  # Pass precious variables to config.status.
19453294c433Smrg  if test "$ac_new_set" = set; then
19463294c433Smrg    case $ac_new_val in
1947f403ce92Smrg    *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
19483294c433Smrg    *) ac_arg=$ac_var=$ac_new_val ;;
19493294c433Smrg    esac
19503294c433Smrg    case " $ac_configure_args " in
19513294c433Smrg      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1952c41d98afSmrg      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
19533294c433Smrg    esac
19543294c433Smrg  fi
19553294c433Smrgdone
19563294c433Smrgif $ac_cache_corrupted; then
1957f403ce92Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1958f403ce92Smrgprintf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1959f403ce92Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1960f403ce92Smrgprintf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
1961f403ce92Smrg  as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
1962f403ce92Smrg	    and start over" "$LINENO" 5
19633294c433Smrgfi
1964c41d98afSmrg## -------------------- ##
1965c41d98afSmrg## Main body of script. ##
1966c41d98afSmrg## -------------------- ##
19673294c433Smrg
19689bc46bd4Smrgac_ext=c
19699bc46bd4Smrgac_cpp='$CPP $CPPFLAGS'
19709bc46bd4Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19719bc46bd4Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19729bc46bd4Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
19733294c433Smrg
19743294c433Smrg
1975f403ce92Smrgam__api_version='1.16'
19769bc46bd4Smrg
19779bc46bd4Smrg
19783294c433Smrg
1979f403ce92Smrg  # Find a good install program.  We prefer a C program (faster),
19803294c433Smrg# so one script is as good as another.  But avoid the broken or
19813294c433Smrg# incompatible versions:
19823294c433Smrg# SysV /etc/install, /usr/sbin/install
19833294c433Smrg# SunOS /usr/etc/install
19843294c433Smrg# IRIX /sbin/install
19853294c433Smrg# AIX /bin/install
19863294c433Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs
19873294c433Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
19883294c433Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args
19893294c433Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
19903294c433Smrg# OS/2's system install, which has a completely different semantic
19913294c433Smrg# ./install, which can be erroneously created by make from ./install.sh.
19929bc46bd4Smrg# Reject install programs that cannot install multiple files.
1993f403ce92Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1994f403ce92Smrgprintf %s "checking for a BSD-compatible install... " >&6; }
19953294c433Smrgif test -z "$INSTALL"; then
1996f403ce92Smrgif test ${ac_cv_path_install+y}
1997f403ce92Smrgthen :
1998f403ce92Smrg  printf %s "(cached) " >&6
1999f403ce92Smrgelse $as_nop
20003294c433Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20013294c433Smrgfor as_dir in $PATH
20023294c433Smrgdo
20033294c433Smrg  IFS=$as_save_IFS
2004f403ce92Smrg  case $as_dir in #(((
2005f403ce92Smrg    '') as_dir=./ ;;
2006f403ce92Smrg    */) ;;
2007f403ce92Smrg    *) as_dir=$as_dir/ ;;
2008f403ce92Smrg  esac
2009f403ce92Smrg    # Account for fact that we put trailing slashes in our PATH walk.
2010f403ce92Smrgcase $as_dir in #((
2011f403ce92Smrg  ./ | /[cC]/* | \
20123294c433Smrg  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2013c41d98afSmrg  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
20143294c433Smrg  /usr/ucb/* ) ;;
20153294c433Smrg  *)
20163294c433Smrg    # OSF1 and SCO ODT 3.0 have their own names for install.
20173294c433Smrg    # Don't use installbsd from OSF since it installs stuff as root
20183294c433Smrg    # by default.
20193294c433Smrg    for ac_prog in ginstall scoinst install; do
20203294c433Smrg      for ac_exec_ext in '' $ac_executable_extensions; do
2021f403ce92Smrg	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
20223294c433Smrg	  if test $ac_prog = install &&
2023f403ce92Smrg	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
20243294c433Smrg	    # AIX install.  It has an incompatible calling convention.
20253294c433Smrg	    :
20263294c433Smrg	  elif test $ac_prog = install &&
2027f403ce92Smrg	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
20283294c433Smrg	    # program-specific install script used by HP pwplus--don't use.
20293294c433Smrg	    :
20303294c433Smrg	  else
20319bc46bd4Smrg	    rm -rf conftest.one conftest.two conftest.dir
20329bc46bd4Smrg	    echo one > conftest.one
20339bc46bd4Smrg	    echo two > conftest.two
20349bc46bd4Smrg	    mkdir conftest.dir
2035f403ce92Smrg	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
20369bc46bd4Smrg	      test -s conftest.one && test -s conftest.two &&
20379bc46bd4Smrg	      test -s conftest.dir/conftest.one &&
20389bc46bd4Smrg	      test -s conftest.dir/conftest.two
20399bc46bd4Smrg	    then
2040f403ce92Smrg	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
20419bc46bd4Smrg	      break 3
20429bc46bd4Smrg	    fi
20433294c433Smrg	  fi
20443294c433Smrg	fi
20453294c433Smrg      done
20463294c433Smrg    done
20473294c433Smrg    ;;
20483294c433Smrgesac
20499bc46bd4Smrg
2050c41d98afSmrg  done
20519bc46bd4SmrgIFS=$as_save_IFS
20523294c433Smrg
20539bc46bd4Smrgrm -rf conftest.one conftest.two conftest.dir
20543294c433Smrg
20553294c433Smrgfi
2056f403ce92Smrg  if test ${ac_cv_path_install+y}; then
20573294c433Smrg    INSTALL=$ac_cv_path_install
20583294c433Smrg  else
20599bc46bd4Smrg    # As a last resort, use the slow shell script.  Don't cache a
20609bc46bd4Smrg    # value for INSTALL within a source directory, because that will
20613294c433Smrg    # break other packages using the cache if that directory is
20629bc46bd4Smrg    # removed, or if the value is a relative name.
20633294c433Smrg    INSTALL=$ac_install_sh
20643294c433Smrg  fi
20653294c433Smrgfi
2066f403ce92Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2067f403ce92Smrgprintf "%s\n" "$INSTALL" >&6; }
20683294c433Smrg
20693294c433Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
20703294c433Smrg# It thinks the first close brace ends the variable substitution.
20713294c433Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
20723294c433Smrg
20733294c433Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
20743294c433Smrg
20753294c433Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
20763294c433Smrg
2077f403ce92Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2078f403ce92Smrgprintf %s "checking whether build environment is sane... " >&6; }
20799bc46bd4Smrg# Reject unsafe characters in $srcdir or the absolute working directory
20809bc46bd4Smrg# name.  Accept space and tab only in the latter.
20819bc46bd4Smrgam_lf='
20829bc46bd4Smrg'
20839bc46bd4Smrgcase `pwd` in
20849bc46bd4Smrg  *[\\\"\#\$\&\'\`$am_lf]*)
2085c41d98afSmrg    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
20869bc46bd4Smrgesac
20879bc46bd4Smrgcase $srcdir in
20889bc46bd4Smrg  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2089f403ce92Smrg    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
20909bc46bd4Smrgesac
20919bc46bd4Smrg
2092f403ce92Smrg# Do 'set' in a subshell so we don't clobber the current shell's
20933294c433Smrg# arguments.  Must try -L first in case configure is actually a
20943294c433Smrg# symlink; some systems play weird games with the mod time of symlinks
20953294c433Smrg# (eg FreeBSD returns the mod time of the symlink's containing
20963294c433Smrg# directory).
20973294c433Smrgif (
2098f403ce92Smrg   am_has_slept=no
2099f403ce92Smrg   for am_try in 1 2; do
2100f403ce92Smrg     echo "timestamp, slept: $am_has_slept" > conftest.file
2101f403ce92Smrg     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2102f403ce92Smrg     if test "$*" = "X"; then
2103f403ce92Smrg	# -L didn't work.
2104f403ce92Smrg	set X `ls -t "$srcdir/configure" conftest.file`
2105f403ce92Smrg     fi
2106f403ce92Smrg     if test "$*" != "X $srcdir/configure conftest.file" \
2107f403ce92Smrg	&& test "$*" != "X conftest.file $srcdir/configure"; then
2108f403ce92Smrg
2109f403ce92Smrg	# If neither matched, then we have a broken ls.  This can happen
2110f403ce92Smrg	# if, for instance, CONFIG_SHELL is bash and it inherits a
2111f403ce92Smrg	# broken ls alias from the environment.  This has actually
2112f403ce92Smrg	# happened.  Such a system could not be considered "sane".
2113f403ce92Smrg	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2114f403ce92Smrg  alias in your environment" "$LINENO" 5
2115f403ce92Smrg     fi
2116f403ce92Smrg     if test "$2" = conftest.file || test $am_try -eq 2; then
2117f403ce92Smrg       break
2118f403ce92Smrg     fi
2119f403ce92Smrg     # Just in case.
2120f403ce92Smrg     sleep 1
2121f403ce92Smrg     am_has_slept=yes
2122f403ce92Smrg   done
21233294c433Smrg   test "$2" = conftest.file
21243294c433Smrg   )
21253294c433Smrgthen
21263294c433Smrg   # Ok.
21273294c433Smrg   :
21283294c433Smrgelse
2129c41d98afSmrg   as_fn_error $? "newly created file is older than distributed files!
2130c41d98afSmrgCheck your system clock" "$LINENO" 5
21313294c433Smrgfi
2132f403ce92Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2133f403ce92Smrgprintf "%s\n" "yes" >&6; }
2134f403ce92Smrg# If we didn't sleep, we still need to ensure time stamps of config.status and
2135f403ce92Smrg# generated files are strictly newer.
2136f403ce92Smrgam_sleep_pid=
2137f403ce92Smrgif grep 'slept: no' conftest.file >/dev/null 2>&1; then
2138f403ce92Smrg  ( sleep 1 ) &
2139f403ce92Smrg  am_sleep_pid=$!
2140f403ce92Smrgfi
2141f403ce92Smrg
2142f403ce92Smrgrm -f conftest.file
2143f403ce92Smrg
21443294c433Smrgtest "$program_prefix" != NONE &&
21459bc46bd4Smrg  program_transform_name="s&^&$program_prefix&;$program_transform_name"
21463294c433Smrg# Use a double $ so make ignores it.
21473294c433Smrgtest "$program_suffix" != NONE &&
21489bc46bd4Smrg  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
21499bc46bd4Smrg# Double any \ or $.
21503294c433Smrg# By default was `s,x,x', remove it if useless.
21519bc46bd4Smrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2152f403ce92Smrgprogram_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
21533294c433Smrg
21543294c433Smrg
2155f403ce92Smrg# Expand $ac_aux_dir to an absolute path.
2156f403ce92Smrgam_aux_dir=`cd "$ac_aux_dir" && pwd`
2157f403ce92Smrg
2158f403ce92Smrg
2159f403ce92Smrg  if test x"${MISSING+set}" != xset; then
2160f403ce92Smrg  MISSING="\${SHELL} '$am_aux_dir/missing'"
21619bc46bd4Smrgfi
21623294c433Smrg# Use eval to expand $SHELL
2163f403ce92Smrgif eval "$MISSING --is-lightweight"; then
2164f403ce92Smrg  am_missing_run="$MISSING "
21653294c433Smrgelse
21663294c433Smrg  am_missing_run=
2167f403ce92Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2168f403ce92Smrgprintf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
21699bc46bd4Smrgfi
21709bc46bd4Smrg
2171f403ce92Smrgif test x"${install_sh+set}" != xset; then
21729bc46bd4Smrg  case $am_aux_dir in
21739bc46bd4Smrg  *\ * | *\	*)
21749bc46bd4Smrg    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
21759bc46bd4Smrg  *)
21769bc46bd4Smrg    install_sh="\${SHELL} $am_aux_dir/install-sh"
21779bc46bd4Smrg  esac
21789bc46bd4Smrgfi
21799bc46bd4Smrg
2180f403ce92Smrg# Installed binaries are usually stripped using 'strip' when the user
2181f403ce92Smrg# run "make install-strip".  However 'strip' might not be the right
21829bc46bd4Smrg# tool to use in cross-compilation environments, therefore Automake
2183f403ce92Smrg# will honor the 'STRIP' environment variable to overrule this program.
21849bc46bd4Smrgif test "$cross_compiling" != no; then
21859bc46bd4Smrg  if test -n "$ac_tool_prefix"; then
21869bc46bd4Smrg  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
21879bc46bd4Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2
2188f403ce92Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2189f403ce92Smrgprintf %s "checking for $ac_word... " >&6; }
2190f403ce92Smrgif test ${ac_cv_prog_STRIP+y}
2191f403ce92Smrgthen :
2192f403ce92Smrg  printf %s "(cached) " >&6
2193f403ce92Smrgelse $as_nop
21949bc46bd4Smrg  if test -n "$STRIP"; then
21959bc46bd4Smrg  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
21969bc46bd4Smrgelse
21979bc46bd4Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21989bc46bd4Smrgfor as_dir in $PATH
21999bc46bd4Smrgdo
22009bc46bd4Smrg  IFS=$as_save_IFS
2201f403ce92Smrg  case $as_dir in #(((
2202f403ce92Smrg    '') as_dir=./ ;;
2203f403ce92Smrg    */) ;;
2204f403ce92Smrg    *) as_dir=$as_dir/ ;;
2205f403ce92Smrg  esac
2206c41d98afSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
2207f403ce92Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
22089bc46bd4Smrg    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2209f403ce92Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
22109bc46bd4Smrg    break 2
22119bc46bd4Smrg  fi
22129bc46bd4Smrgdone
2213c41d98afSmrg  done
22149bc46bd4SmrgIFS=$as_save_IFS
22159bc46bd4Smrg
22169bc46bd4Smrgfi
22179bc46bd4Smrgfi
22189bc46bd4SmrgSTRIP=$ac_cv_prog_STRIP
22199bc46bd4Smrgif test -n "$STRIP"; then
2220f403ce92Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2221f403ce92Smrgprintf "%s\n" "$STRIP" >&6; }
22229bc46bd4Smrgelse
2223f403ce92Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2224f403ce92Smrgprintf "%s\n" "no" >&6; }
22259bc46bd4Smrgfi
22269bc46bd4Smrg
22279bc46bd4Smrg
22289bc46bd4Smrgfi
22299bc46bd4Smrgif test -z "$ac_cv_prog_STRIP"; then
22309bc46bd4Smrg  ac_ct_STRIP=$STRIP
22319bc46bd4Smrg  # Extract the first word of "strip", so it can be a program name with args.
22329bc46bd4Smrgset dummy strip; ac_word=$2
2233f403ce92Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2234f403ce92Smrgprintf %s "checking for $ac_word... " >&6; }
2235f403ce92Smrgif test ${ac_cv_prog_ac_ct_STRIP+y}
2236f403ce92Smrgthen :
2237f403ce92Smrg  printf %s "(cached) " >&6
2238f403ce92Smrgelse $as_nop
22399bc46bd4Smrg  if test -n "$ac_ct_STRIP"; then
22409bc46bd4Smrg  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
22419bc46bd4Smrgelse
22429bc46bd4Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22439bc46bd4Smrgfor as_dir in $PATH
22449bc46bd4Smrgdo
22459bc46bd4Smrg  IFS=$as_save_IFS
2246f403ce92Smrg  case $as_dir in #(((
2247f403ce92Smrg    '') as_dir=./ ;;
2248f403ce92Smrg    */) ;;
2249f403ce92Smrg    *) as_dir=$as_dir/ ;;
2250f403ce92Smrg  esac
2251c41d98afSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
2252f403ce92Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
22539bc46bd4Smrg    ac_cv_prog_ac_ct_STRIP="strip"
2254f403ce92Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
22559bc46bd4Smrg    break 2
22569bc46bd4Smrg  fi
22579bc46bd4Smrgdone
2258c41d98afSmrg  done
22599bc46bd4SmrgIFS=$as_save_IFS
22609bc46bd4Smrg
22619bc46bd4Smrgfi
22629bc46bd4Smrgfi
22639bc46bd4Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
22649bc46bd4Smrgif test -n "$ac_ct_STRIP"; then
2265f403ce92Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2266f403ce92Smrgprintf "%s\n" "$ac_ct_STRIP" >&6; }
22679bc46bd4Smrgelse
2268f403ce92Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2269f403ce92Smrgprintf "%s\n" "no" >&6; }
22703294c433Smrgfi
22713294c433Smrg
22729bc46bd4Smrg  if test "x$ac_ct_STRIP" = x; then
22739bc46bd4Smrg    STRIP=":"
22749bc46bd4Smrg  else
22759bc46bd4Smrg    case $cross_compiling:$ac_tool_warned in
22769bc46bd4Smrgyes:)
2277f403ce92Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2278f403ce92Smrgprintf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22799bc46bd4Smrgac_tool_warned=yes ;;
22809bc46bd4Smrgesac
22819bc46bd4Smrg    STRIP=$ac_ct_STRIP
22829bc46bd4Smrg  fi
22839bc46bd4Smrgelse
22849bc46bd4Smrg  STRIP="$ac_cv_prog_STRIP"
22859bc46bd4Smrgfi
22869bc46bd4Smrg
22879bc46bd4Smrgfi
22889bc46bd4SmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
22899bc46bd4Smrg
2290f403ce92Smrg
2291f403ce92Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
2292f403ce92Smrgprintf %s "checking for a race-free mkdir -p... " >&6; }
22939bc46bd4Smrgif test -z "$MKDIR_P"; then
2294f403ce92Smrg  if test ${ac_cv_path_mkdir+y}
2295f403ce92Smrgthen :
2296f403ce92Smrg  printf %s "(cached) " >&6
2297f403ce92Smrgelse $as_nop
22989bc46bd4Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22999bc46bd4Smrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
23009bc46bd4Smrgdo
23019bc46bd4Smrg  IFS=$as_save_IFS
2302f403ce92Smrg  case $as_dir in #(((
2303f403ce92Smrg    '') as_dir=./ ;;
2304f403ce92Smrg    */) ;;
2305f403ce92Smrg    *) as_dir=$as_dir/ ;;
2306f403ce92Smrg  esac
2307c41d98afSmrg    for ac_prog in mkdir gmkdir; do
23089bc46bd4Smrg	 for ac_exec_ext in '' $ac_executable_extensions; do
2309f403ce92Smrg	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
2310f403ce92Smrg	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
2311f403ce92Smrg	     'mkdir ('*'coreutils) '* | \
2312f403ce92Smrg	     'BusyBox '* | \
23139bc46bd4Smrg	     'mkdir (fileutils) '4.1*)
2314f403ce92Smrg	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
23159bc46bd4Smrg	       break 3;;
23169bc46bd4Smrg	   esac
23179bc46bd4Smrg	 done
23189bc46bd4Smrg       done
2319c41d98afSmrg  done
23209bc46bd4SmrgIFS=$as_save_IFS
23219bc46bd4Smrg
23229bc46bd4Smrgfi
23239bc46bd4Smrg
2324c41d98afSmrg  test -d ./--version && rmdir ./--version
2325f403ce92Smrg  if test ${ac_cv_path_mkdir+y}; then
23269bc46bd4Smrg    MKDIR_P="$ac_cv_path_mkdir -p"
23279bc46bd4Smrg  else
23289bc46bd4Smrg    # As a last resort, use the slow shell script.  Don't cache a
23299bc46bd4Smrg    # value for MKDIR_P within a source directory, because that will
23309bc46bd4Smrg    # break other packages using the cache if that directory is
23319bc46bd4Smrg    # removed, or if the value is a relative name.
23329bc46bd4Smrg    MKDIR_P="$ac_install_sh -d"
23339bc46bd4Smrg  fi
23349bc46bd4Smrgfi
2335f403ce92Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2336f403ce92Smrgprintf "%s\n" "$MKDIR_P" >&6; }
23379bc46bd4Smrg
23383294c433Smrgfor ac_prog in gawk mawk nawk awk
23393294c433Smrgdo
23403294c433Smrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
23413294c433Smrgset dummy $ac_prog; ac_word=$2
2342f403ce92Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2343f403ce92Smrgprintf %s "checking for $ac_word... " >&6; }
2344f403ce92Smrgif test ${ac_cv_prog_AWK+y}
2345f403ce92Smrgthen :
2346f403ce92Smrg  printf %s "(cached) " >&6
2347f403ce92Smrgelse $as_nop
23483294c433Smrg  if test -n "$AWK"; then
23493294c433Smrg  ac_cv_prog_AWK="$AWK" # Let the user override the test.
23503294c433Smrgelse
23513294c433Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23523294c433Smrgfor as_dir in $PATH
23533294c433Smrgdo
23543294c433Smrg  IFS=$as_save_IFS
2355f403ce92Smrg  case $as_dir in #(((
2356f403ce92Smrg    '') as_dir=./ ;;
2357f403ce92Smrg    */) ;;
2358f403ce92Smrg    *) as_dir=$as_dir/ ;;
2359f403ce92Smrg  esac
2360c41d98afSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
2361f403ce92Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
23623294c433Smrg    ac_cv_prog_AWK="$ac_prog"
2363f403ce92Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
23643294c433Smrg    break 2
23653294c433Smrg  fi
23663294c433Smrgdone
2367c41d98afSmrg  done
23689bc46bd4SmrgIFS=$as_save_IFS
23693294c433Smrg
23703294c433Smrgfi
23713294c433Smrgfi
23723294c433SmrgAWK=$ac_cv_prog_AWK
23733294c433Smrgif test -n "$AWK"; then
2374f403ce92Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2375f403ce92Smrgprintf "%s\n" "$AWK" >&6; }
23763294c433Smrgelse
2377f403ce92Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2378f403ce92Smrgprintf "%s\n" "no" >&6; }
23793294c433Smrgfi
23803294c433Smrg
23819bc46bd4Smrg
23823294c433Smrg  test -n "$AWK" && break
23833294c433Smrgdone
23843294c433Smrg
2385f403ce92Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2386f403ce92Smrgprintf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
23879bc46bd4Smrgset x ${MAKE-make}
2388f403ce92Smrgac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2389f403ce92Smrgif eval test \${ac_cv_prog_make_${ac_make}_set+y}
2390f403ce92Smrgthen :
2391f403ce92Smrg  printf %s "(cached) " >&6
2392f403ce92Smrgelse $as_nop
23933294c433Smrg  cat >conftest.make <<\_ACEOF
23949bc46bd4SmrgSHELL = /bin/sh
23953294c433Smrgall:
23969bc46bd4Smrg	@echo '@@@%%%=$(MAKE)=@@@%%%'
23973294c433Smrg_ACEOF
2398c41d98afSmrg# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
23999bc46bd4Smrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in
24009bc46bd4Smrg  *@@@%%%=?*=@@@%%%*)
24019bc46bd4Smrg    eval ac_cv_prog_make_${ac_make}_set=yes;;
24029bc46bd4Smrg  *)
24039bc46bd4Smrg    eval ac_cv_prog_make_${ac_make}_set=no;;
24049bc46bd4Smrgesac
24053294c433Smrgrm -f conftest.make
24063294c433Smrgfi
24079bc46bd4Smrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2408f403ce92Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2409f403ce92Smrgprintf "%s\n" "yes" >&6; }
24103294c433Smrg  SET_MAKE=
24113294c433Smrgelse
2412f403ce92Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2413f403ce92Smrgprintf "%s\n" "no" >&6; }
24143294c433Smrg  SET_MAKE="MAKE=${MAKE-make}"
24153294c433Smrgfi
24163294c433Smrg
24173294c433Smrgrm -rf .tst 2>/dev/null
24183294c433Smrgmkdir .tst 2>/dev/null
24193294c433Smrgif test -d .tst; then
24203294c433Smrg  am__leading_dot=.
24213294c433Smrgelse
24223294c433Smrg  am__leading_dot=_
24233294c433Smrgfi
24243294c433Smrgrmdir .tst 2>/dev/null
24253294c433Smrg
2426f403ce92Smrg# Check whether --enable-silent-rules was given.
2427f403ce92Smrgif test ${enable_silent_rules+y}
2428f403ce92Smrgthen :
2429f403ce92Smrg  enableval=$enable_silent_rules;
2430f403ce92Smrgfi
2431f403ce92Smrg
2432f403ce92Smrgcase $enable_silent_rules in # (((
2433f403ce92Smrg  yes) AM_DEFAULT_VERBOSITY=0;;
2434f403ce92Smrg   no) AM_DEFAULT_VERBOSITY=1;;
2435f403ce92Smrg    *) AM_DEFAULT_VERBOSITY=1;;
2436f403ce92Smrgesac
2437f403ce92Smrgam_make=${MAKE-make}
2438f403ce92Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2439f403ce92Smrgprintf %s "checking whether $am_make supports nested variables... " >&6; }
2440f403ce92Smrgif test ${am_cv_make_support_nested_variables+y}
2441f403ce92Smrgthen :
2442f403ce92Smrg  printf %s "(cached) " >&6
2443f403ce92Smrgelse $as_nop
2444f403ce92Smrg  if printf "%s\n" 'TRUE=$(BAR$(V))
2445f403ce92SmrgBAR0=false
2446f403ce92SmrgBAR1=true
2447f403ce92SmrgV=1
2448f403ce92Smrgam__doit:
2449f403ce92Smrg	@$(TRUE)
2450f403ce92Smrg.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2451f403ce92Smrg  am_cv_make_support_nested_variables=yes
2452f403ce92Smrgelse
2453f403ce92Smrg  am_cv_make_support_nested_variables=no
2454f403ce92Smrgfi
2455f403ce92Smrgfi
2456f403ce92Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2457f403ce92Smrgprintf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
2458f403ce92Smrgif test $am_cv_make_support_nested_variables = yes; then
2459f403ce92Smrg    AM_V='$(V)'
2460f403ce92Smrg  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2461f403ce92Smrgelse
2462f403ce92Smrg  AM_V=$AM_DEFAULT_VERBOSITY
2463f403ce92Smrg  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2464f403ce92Smrgfi
2465f403ce92SmrgAM_BACKSLASH='\'
2466f403ce92Smrg
24679bc46bd4Smrgif test "`cd $srcdir && pwd`" != "`pwd`"; then
24689bc46bd4Smrg  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
24699bc46bd4Smrg  # is not polluted with repeated "-I."
24709bc46bd4Smrg  am__isrc=' -I$(srcdir)'
24719bc46bd4Smrg  # test to see if srcdir already configured
24729bc46bd4Smrg  if test -f $srcdir/config.status; then
2473c41d98afSmrg    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
24749bc46bd4Smrg  fi
24753294c433Smrgfi
24763294c433Smrg
24773294c433Smrg# test whether we have cygpath
24783294c433Smrgif test -z "$CYGPATH_W"; then
24793294c433Smrg  if (cygpath --version) >/dev/null 2>/dev/null; then
24803294c433Smrg    CYGPATH_W='cygpath -w'
24813294c433Smrg  else
24823294c433Smrg    CYGPATH_W=echo
24833294c433Smrg  fi
24843294c433Smrgfi
24853294c433Smrg
24863294c433Smrg
24873294c433Smrg# Define the identity of the package.
24883294c433Smrg PACKAGE='font-bh-100dpi'
2489f403ce92Smrg VERSION='1.0.4'
24903294c433Smrg
24913294c433Smrg
2492f403ce92Smrgprintf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
24933294c433Smrg
24943294c433Smrg
2495f403ce92Smrgprintf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
24963294c433Smrg
24973294c433Smrg# Some tools Automake needs.
24983294c433Smrg
24993294c433SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
25003294c433Smrg
25013294c433Smrg
25023294c433SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
25033294c433Smrg
25043294c433Smrg
25053294c433SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
25063294c433Smrg
25073294c433Smrg
25083294c433SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
25093294c433Smrg
25103294c433Smrg
25113294c433SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
25123294c433Smrg
2513f403ce92Smrg# For better backward compatibility.  To be removed once Automake 1.9.x
2514f403ce92Smrg# dies out for good.  For more background, see:
2515f403ce92Smrg# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2516f403ce92Smrg# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2517f403ce92Smrgmkdir_p='$(MKDIR_P)'
25189bc46bd4Smrg
2519f403ce92Smrg# We need awk for the "check" target (and possibly the TAP driver).  The
2520f403ce92Smrg# system "awk" is bad on some platforms.
2521f403ce92Smrg# Always define AMTAR for backward compatibility.  Yes, it's still used
2522f403ce92Smrg# in the wild :-(  We should find a proper way to deprecate it ...
2523f403ce92SmrgAMTAR='$${TAR-tar}'
25249bc46bd4Smrg
25259bc46bd4Smrg
2526f403ce92Smrg# We'll loop over all known methods to create a tar archive until one works.
2527f403ce92Smrg_am_tools='gnutar  pax cpio none'
25289bc46bd4Smrg
2529f403ce92Smrgam__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
25309bc46bd4Smrg
25319bc46bd4Smrg
2532f403ce92Smrg
2533f403ce92Smrg
2534f403ce92Smrg
2535f403ce92Smrg# Variables for tags utilities; see am/tags.am
2536f403ce92Smrgif test -z "$CTAGS"; then
2537f403ce92Smrg  CTAGS=ctags
25389bc46bd4Smrgfi
25399bc46bd4Smrg
2540f403ce92Smrgif test -z "$ETAGS"; then
2541f403ce92Smrg  ETAGS=etags
25429bc46bd4Smrgfi
25439bc46bd4Smrg
2544f403ce92Smrgif test -z "$CSCOPE"; then
2545f403ce92Smrg  CSCOPE=cscope
2546f403ce92Smrgfi
25479bc46bd4Smrg
25489bc46bd4Smrg
25499bc46bd4Smrg
2550f403ce92Smrg# POSIX will say in a future version that running "rm -f" with no argument
2551f403ce92Smrg# is OK; and we want to be able to make that assumption in our Makefile
2552f403ce92Smrg# recipes.  So use an aggressive probe to check that the usage we want is
2553f403ce92Smrg# actually supported "in the wild" to an acceptable degree.
2554f403ce92Smrg# See automake bug#10828.
2555f403ce92Smrg# To make any issue more visible, cause the running configure to be aborted
2556f403ce92Smrg# by default if the 'rm' program in use doesn't match our expectations; the
2557f403ce92Smrg# user can still override this though.
2558f403ce92Smrgif rm -f && rm -fr && rm -rf; then : OK; else
2559f403ce92Smrg  cat >&2 <<'END'
2560f403ce92SmrgOops!
25619bc46bd4Smrg
2562f403ce92SmrgYour 'rm' program seems unable to run without file operands specified
2563f403ce92Smrgon the command line, even when the '-f' option is present.  This is contrary
2564f403ce92Smrgto the behaviour of most rm programs out there, and not conforming with
2565f403ce92Smrgthe upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2566c41d98afSmrg
2567f403ce92SmrgPlease tell bug-automake@gnu.org about your system, including the value
2568f403ce92Smrgof your $PATH and any error possibly output before this message.  This
2569f403ce92Smrgcan help us improve future automake versions.
25709bc46bd4Smrg
2571f403ce92SmrgEND
2572f403ce92Smrg  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2573f403ce92Smrg    echo 'Configuration will proceed anyway, since you have set the' >&2
2574f403ce92Smrg    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2575f403ce92Smrg    echo >&2
2576f403ce92Smrg  else
2577f403ce92Smrg    cat >&2 <<'END'
2578f403ce92SmrgAborting the configuration process, to ensure you take notice of the issue.
25799bc46bd4Smrg
2580f403ce92SmrgYou can download and install GNU coreutils to get an 'rm' implementation
2581f403ce92Smrgthat behaves properly: <https://www.gnu.org/software/coreutils/>.
25829bc46bd4Smrg
2583f403ce92SmrgIf you want to complete the configuration process using your problematic
2584f403ce92Smrg'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2585f403ce92Smrgto "yes", and re-run configure.
2586c41d98afSmrg
2587f403ce92SmrgEND
2588f403ce92Smrg    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2589f403ce92Smrg  fi
25909bc46bd4Smrgfi
25919bc46bd4Smrg
25929bc46bd4Smrg
2593f403ce92Smrg# Require xorg-macros 1.20 or later: XORG_DEFAULT_NOCODE_OPTIONS
2594f403ce92Smrg
2595f403ce92Smrg
2596f403ce92Smrg
25979bc46bd4Smrg
25989bc46bd4Smrg
25999bc46bd4Smrg
26009bc46bd4Smrg
26019bc46bd4Smrg
26029bc46bd4Smrg
26039bc46bd4Smrg
26049bc46bd4Smrg
26059bc46bd4Smrg
26069bc46bd4Smrg
26079bc46bd4Smrg
26089bc46bd4Smrg
26099bc46bd4Smrg
26109bc46bd4Smrg
26119bc46bd4Smrg
2612c41d98afSmrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
2613c41d98afSmrg	if test -n "$ac_tool_prefix"; then
2614c41d98afSmrg  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
2615c41d98afSmrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2
2616f403ce92Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2617f403ce92Smrgprintf %s "checking for $ac_word... " >&6; }
2618f403ce92Smrgif test ${ac_cv_path_PKG_CONFIG+y}
2619f403ce92Smrgthen :
2620f403ce92Smrg  printf %s "(cached) " >&6
2621f403ce92Smrgelse $as_nop
2622c41d98afSmrg  case $PKG_CONFIG in
2623c41d98afSmrg  [\\/]* | ?:[\\/]*)
2624c41d98afSmrg  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
2625c41d98afSmrg  ;;
2626c41d98afSmrg  *)
2627c41d98afSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2628c41d98afSmrgfor as_dir in $PATH
26299bc46bd4Smrgdo
2630c41d98afSmrg  IFS=$as_save_IFS
2631f403ce92Smrg  case $as_dir in #(((
2632f403ce92Smrg    '') as_dir=./ ;;
2633f403ce92Smrg    */) ;;
2634f403ce92Smrg    *) as_dir=$as_dir/ ;;
2635f403ce92Smrg  esac
2636c41d98afSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
2637f403ce92Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2638f403ce92Smrg    ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
2639f403ce92Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2640c41d98afSmrg    break 2
2641c41d98afSmrg  fi
2642c41d98afSmrgdone
2643c41d98afSmrg  done
2644c41d98afSmrgIFS=$as_save_IFS
2645c41d98afSmrg
2646c41d98afSmrg  ;;
26479bc46bd4Smrgesac
2648c41d98afSmrgfi
2649c41d98afSmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG
2650c41d98afSmrgif test -n "$PKG_CONFIG"; then
2651f403ce92Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
2652f403ce92Smrgprintf "%s\n" "$PKG_CONFIG" >&6; }
26539bc46bd4Smrgelse
2654f403ce92Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2655f403ce92Smrgprintf "%s\n" "no" >&6; }
26569bc46bd4Smrgfi
26579bc46bd4Smrg
26589bc46bd4Smrg
26599bc46bd4Smrgfi
2660c41d98afSmrgif test -z "$ac_cv_path_PKG_CONFIG"; then
2661c41d98afSmrg  ac_pt_PKG_CONFIG=$PKG_CONFIG
2662c41d98afSmrg  # Extract the first word of "pkg-config", so it can be a program name with args.
2663c41d98afSmrgset dummy pkg-config; ac_word=$2
2664f403ce92Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2665f403ce92Smrgprintf %s "checking for $ac_word... " >&6; }
2666f403ce92Smrgif test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
2667f403ce92Smrgthen :
2668f403ce92Smrg  printf %s "(cached) " >&6
2669f403ce92Smrgelse $as_nop
2670c41d98afSmrg  case $ac_pt_PKG_CONFIG in
2671c41d98afSmrg  [\\/]* | ?:[\\/]*)
2672c41d98afSmrg  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
2673c41d98afSmrg  ;;
26749bc46bd4Smrg  *)
2675c41d98afSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2676c41d98afSmrgfor as_dir in $PATH
2677c41d98afSmrgdo
2678c41d98afSmrg  IFS=$as_save_IFS
2679f403ce92Smrg  case $as_dir in #(((
2680f403ce92Smrg    '') as_dir=./ ;;
2681f403ce92Smrg    */) ;;
2682f403ce92Smrg    *) as_dir=$as_dir/ ;;
2683f403ce92Smrg  esac
2684c41d98afSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
2685f403ce92Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2686f403ce92Smrg    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
2687f403ce92Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2688c41d98afSmrg    break 2
2689c41d98afSmrg  fi
2690c41d98afSmrgdone
2691c41d98afSmrg  done
2692c41d98afSmrgIFS=$as_save_IFS
26939bc46bd4Smrg
2694c41d98afSmrg  ;;
2695c41d98afSmrgesac
2696c41d98afSmrgfi
2697c41d98afSmrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
2698c41d98afSmrgif test -n "$ac_pt_PKG_CONFIG"; then
2699f403ce92Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
2700f403ce92Smrgprintf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
2701c41d98afSmrgelse
2702f403ce92Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2703f403ce92Smrgprintf "%s\n" "no" >&6; }
2704c41d98afSmrgfi
27059bc46bd4Smrg
2706c41d98afSmrg  if test "x$ac_pt_PKG_CONFIG" = x; then
2707c41d98afSmrg    PKG_CONFIG=""
2708c41d98afSmrg  else
2709c41d98afSmrg    case $cross_compiling:$ac_tool_warned in
2710c41d98afSmrgyes:)
2711f403ce92Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2712f403ce92Smrgprintf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2713c41d98afSmrgac_tool_warned=yes ;;
2714c41d98afSmrgesac
2715c41d98afSmrg    PKG_CONFIG=$ac_pt_PKG_CONFIG
2716c41d98afSmrg  fi
2717c41d98afSmrgelse
2718c41d98afSmrg  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
2719c41d98afSmrgfi
27209bc46bd4Smrg
2721c41d98afSmrgfi
2722c41d98afSmrgif test -n "$PKG_CONFIG"; then
2723c41d98afSmrg	_pkg_min_version=0.9.0
2724f403ce92Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
2725f403ce92Smrgprintf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
2726c41d98afSmrg	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
2727f403ce92Smrg		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2728f403ce92Smrgprintf "%s\n" "yes" >&6; }
2729c41d98afSmrg	else
2730f403ce92Smrg		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2731f403ce92Smrgprintf "%s\n" "no" >&6; }
2732c41d98afSmrg		PKG_CONFIG=""
2733c41d98afSmrg	fi
2734c41d98afSmrgfi
27359bc46bd4Smrg
2736f403ce92Smrg
2737f403ce92Smrg  # Make sure we can run config.sub.
2738f403ce92Smrg$SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
2739f403ce92Smrg  as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
2740f403ce92Smrg
2741f403ce92Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2742f403ce92Smrgprintf %s "checking build system type... " >&6; }
2743f403ce92Smrgif test ${ac_cv_build+y}
2744f403ce92Smrgthen :
2745f403ce92Smrg  printf %s "(cached) " >&6
2746f403ce92Smrgelse $as_nop
27479bc46bd4Smrg  ac_build_alias=$build_alias
27489bc46bd4Smrgtest "x$ac_build_alias" = x &&
2749f403ce92Smrg  ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
27509bc46bd4Smrgtest "x$ac_build_alias" = x &&
2751c41d98afSmrg  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2752f403ce92Smrgac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
2753f403ce92Smrg  as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
27549bc46bd4Smrg
27559bc46bd4Smrgfi
2756f403ce92Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2757f403ce92Smrgprintf "%s\n" "$ac_cv_build" >&6; }
27589bc46bd4Smrgcase $ac_cv_build in
27599bc46bd4Smrg*-*-*) ;;
2760c41d98afSmrg*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
27619bc46bd4Smrgesac
27629bc46bd4Smrgbuild=$ac_cv_build
27639bc46bd4Smrgac_save_IFS=$IFS; IFS='-'
27649bc46bd4Smrgset x $ac_cv_build
27659bc46bd4Smrgshift
27669bc46bd4Smrgbuild_cpu=$1
27679bc46bd4Smrgbuild_vendor=$2
27689bc46bd4Smrgshift; shift
27699bc46bd4Smrg# Remember, the first character of IFS is used to create $*,
27709bc46bd4Smrg# except with old shells:
27719bc46bd4Smrgbuild_os=$*
27729bc46bd4SmrgIFS=$ac_save_IFS
27739bc46bd4Smrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
27749bc46bd4Smrg
27759bc46bd4Smrg
2776f403ce92Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2777f403ce92Smrgprintf %s "checking host system type... " >&6; }
2778f403ce92Smrgif test ${ac_cv_host+y}
2779f403ce92Smrgthen :
2780f403ce92Smrg  printf %s "(cached) " >&6
2781f403ce92Smrgelse $as_nop
27829bc46bd4Smrg  if test "x$host_alias" = x; then
27839bc46bd4Smrg  ac_cv_host=$ac_cv_build
27849bc46bd4Smrgelse
2785f403ce92Smrg  ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
2786f403ce92Smrg    as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
27873294c433Smrgfi
27883294c433Smrg
27899bc46bd4Smrgfi
2790f403ce92Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2791f403ce92Smrgprintf "%s\n" "$ac_cv_host" >&6; }
27929bc46bd4Smrgcase $ac_cv_host in
27939bc46bd4Smrg*-*-*) ;;
2794c41d98afSmrg*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
27959bc46bd4Smrgesac
27969bc46bd4Smrghost=$ac_cv_host
27979bc46bd4Smrgac_save_IFS=$IFS; IFS='-'
27989bc46bd4Smrgset x $ac_cv_host
27999bc46bd4Smrgshift
28009bc46bd4Smrghost_cpu=$1
28019bc46bd4Smrghost_vendor=$2
28029bc46bd4Smrgshift; shift
28039bc46bd4Smrg# Remember, the first character of IFS is used to create $*,
28049bc46bd4Smrg# except with old shells:
28059bc46bd4Smrghost_os=$*
28069bc46bd4SmrgIFS=$ac_save_IFS
28079bc46bd4Smrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
28089bc46bd4Smrg
28099bc46bd4Smrg
2810f403ce92Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2811f403ce92Smrgprintf %s "checking for a sed that does not truncate output... " >&6; }
2812f403ce92Smrgif test ${ac_cv_path_SED+y}
2813f403ce92Smrgthen :
2814f403ce92Smrg  printf %s "(cached) " >&6
2815f403ce92Smrgelse $as_nop
2816c41d98afSmrg            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2817c41d98afSmrg     for ac_i in 1 2 3 4 5 6 7; do
2818c41d98afSmrg       ac_script="$ac_script$as_nl$ac_script"
2819c41d98afSmrg     done
2820c41d98afSmrg     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
2821c41d98afSmrg     { ac_script=; unset ac_script;}
2822c41d98afSmrg     if test -z "$SED"; then
2823c41d98afSmrg  ac_path_SED_found=false
2824c41d98afSmrg  # Loop through the user's path and test for each of PROGNAME-LIST
2825c41d98afSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2826c41d98afSmrgfor as_dir in $PATH
2827c41d98afSmrgdo
2828c41d98afSmrg  IFS=$as_save_IFS
2829f403ce92Smrg  case $as_dir in #(((
2830f403ce92Smrg    '') as_dir=./ ;;
2831f403ce92Smrg    */) ;;
2832f403ce92Smrg    *) as_dir=$as_dir/ ;;
2833f403ce92Smrg  esac
2834f403ce92Smrg    for ac_prog in sed gsed
2835f403ce92Smrg   do
2836c41d98afSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
2837f403ce92Smrg      ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
2838f403ce92Smrg      as_fn_executable_p "$ac_path_SED" || continue
2839c41d98afSmrg# Check for GNU ac_path_SED and select it if it is found.
2840c41d98afSmrg  # Check for GNU $ac_path_SED
2841c41d98afSmrgcase `"$ac_path_SED" --version 2>&1` in
2842c41d98afSmrg*GNU*)
2843c41d98afSmrg  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2844c41d98afSmrg*)
2845c41d98afSmrg  ac_count=0
2846f403ce92Smrg  printf %s 0123456789 >"conftest.in"
2847c41d98afSmrg  while :
2848c41d98afSmrg  do
2849c41d98afSmrg    cat "conftest.in" "conftest.in" >"conftest.tmp"
2850c41d98afSmrg    mv "conftest.tmp" "conftest.in"
2851c41d98afSmrg    cp "conftest.in" "conftest.nl"
2852f403ce92Smrg    printf "%s\n" '' >> "conftest.nl"
2853c41d98afSmrg    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
2854c41d98afSmrg    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2855c41d98afSmrg    as_fn_arith $ac_count + 1 && ac_count=$as_val
2856c41d98afSmrg    if test $ac_count -gt ${ac_path_SED_max-0}; then
2857c41d98afSmrg      # Best one so far, save it but keep looking for a better one
2858c41d98afSmrg      ac_cv_path_SED="$ac_path_SED"
2859c41d98afSmrg      ac_path_SED_max=$ac_count
2860c41d98afSmrg    fi
2861c41d98afSmrg    # 10*(2^10) chars as input seems more than enough
2862c41d98afSmrg    test $ac_count -gt 10 && break
2863c41d98afSmrg  done
2864c41d98afSmrg  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2865c41d98afSmrgesac
2866c41d98afSmrg
2867c41d98afSmrg      $ac_path_SED_found && break 3
2868c41d98afSmrg    done
2869c41d98afSmrg  done
2870c41d98afSmrg  done
2871c41d98afSmrgIFS=$as_save_IFS
2872c41d98afSmrg  if test -z "$ac_cv_path_SED"; then
2873c41d98afSmrg    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
2874c41d98afSmrg  fi
2875c41d98afSmrgelse
2876c41d98afSmrg  ac_cv_path_SED=$SED
2877c41d98afSmrgfi
2878c41d98afSmrg
2879c41d98afSmrgfi
2880f403ce92Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2881f403ce92Smrgprintf "%s\n" "$ac_cv_path_SED" >&6; }
2882c41d98afSmrg SED="$ac_cv_path_SED"
2883c41d98afSmrg  rm -f conftest.sed
2884c41d98afSmrg
2885c41d98afSmrg
28869bc46bd4Smrg
28879bc46bd4Smrg
28889bc46bd4Smrg
28899bc46bd4Smrgcat >>confdefs.h <<_ACEOF
28909bc46bd4Smrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
28919bc46bd4Smrg_ACEOF
28929bc46bd4Smrg
28939bc46bd4Smrg	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
28949bc46bd4Smrg	if test "x$PVM" = "x"; then
28959bc46bd4Smrg		PVM="0"
28969bc46bd4Smrg	fi
28979bc46bd4Smrg
2898f403ce92Smrgprintf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
28999bc46bd4Smrg
29009bc46bd4Smrg	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
29019bc46bd4Smrg	if test "x$PVP" = "x"; then
29029bc46bd4Smrg		PVP="0"
29039bc46bd4Smrg	fi
29049bc46bd4Smrg
2905f403ce92Smrgprintf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
29069bc46bd4Smrg
29079bc46bd4Smrg
29089bc46bd4Smrg
2909f403ce92SmrgCHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
2910c41d98afSmrgmv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
2911f403ce92Smrg|| (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
2912f403ce92Smrgtouch \$(top_srcdir)/ChangeLog; \
2913f403ce92Smrgecho 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
29149bc46bd4Smrg
2915c41d98afSmrg
2916c41d98afSmrg
2917c41d98afSmrg
2918c41d98afSmrgmacros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
2919c41d98afSmrgINSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
2920c41d98afSmrgmv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
2921f403ce92Smrg|| (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
2922f403ce92Smrgtouch \$(top_srcdir)/INSTALL; \
2923f403ce92Smrgecho 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
2924f403ce92Smrg
2925c41d98afSmrg
29269bc46bd4Smrg
29279bc46bd4Smrg
29289bc46bd4Smrg
29299bc46bd4Smrg
2930f403ce92Smrgcase $host_os in
2931f403ce92Smrg    solaris*)
2932f403ce92Smrg        # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
2933f403ce92Smrg        # check for a man page file found in later versions that use
2934f403ce92Smrg        # traditional section numbers instead
2935f403ce92Smrg        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
2936f403ce92Smrgprintf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
2937f403ce92Smrgif test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
2938f403ce92Smrgthen :
2939f403ce92Smrg  printf %s "(cached) " >&6
2940f403ce92Smrgelse $as_nop
2941f403ce92Smrg  test "$cross_compiling" = yes &&
2942f403ce92Smrg  as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
2943f403ce92Smrgif test -r "/usr/share/man/man7/attributes.7"; then
2944f403ce92Smrg  ac_cv_file__usr_share_man_man7_attributes_7=yes
2945f403ce92Smrgelse
2946f403ce92Smrg  ac_cv_file__usr_share_man_man7_attributes_7=no
2947f403ce92Smrgfi
2948f403ce92Smrgfi
2949f403ce92Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
2950f403ce92Smrgprintf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
2951f403ce92Smrgif test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
2952f403ce92Smrgthen :
2953f403ce92Smrg  SYSV_MAN_SECTIONS=false
2954f403ce92Smrgelse $as_nop
2955f403ce92Smrg  SYSV_MAN_SECTIONS=true
2956f403ce92Smrgfi
2957f403ce92Smrg
2958f403ce92Smrg        ;;
2959f403ce92Smrg    *) SYSV_MAN_SECTIONS=false ;;
2960f403ce92Smrgesac
29619bc46bd4Smrg
29629bc46bd4Smrgif test x$APP_MAN_SUFFIX = x    ; then
29639bc46bd4Smrg    APP_MAN_SUFFIX=1
29649bc46bd4Smrgfi
29659bc46bd4Smrgif test x$APP_MAN_DIR = x    ; then
29669bc46bd4Smrg    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
29679bc46bd4Smrgfi
29689bc46bd4Smrg
29699bc46bd4Smrgif test x$LIB_MAN_SUFFIX = x    ; then
29709bc46bd4Smrg    LIB_MAN_SUFFIX=3
29719bc46bd4Smrgfi
29729bc46bd4Smrgif test x$LIB_MAN_DIR = x    ; then
29739bc46bd4Smrg    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
29749bc46bd4Smrgfi
29759bc46bd4Smrg
29769bc46bd4Smrgif test x$FILE_MAN_SUFFIX = x    ; then
2977f403ce92Smrg    case $SYSV_MAN_SECTIONS in
2978f403ce92Smrg	true)				FILE_MAN_SUFFIX=4  ;;
2979f403ce92Smrg	*)				FILE_MAN_SUFFIX=5  ;;
29809bc46bd4Smrg    esac
29819bc46bd4Smrgfi
29829bc46bd4Smrgif test x$FILE_MAN_DIR = x    ; then
29839bc46bd4Smrg    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
29849bc46bd4Smrgfi
29859bc46bd4Smrg
29869bc46bd4Smrgif test x$MISC_MAN_SUFFIX = x    ; then
2987f403ce92Smrg    case $SYSV_MAN_SECTIONS in
2988f403ce92Smrg	true)				MISC_MAN_SUFFIX=5  ;;
2989f403ce92Smrg	*)				MISC_MAN_SUFFIX=7  ;;
29909bc46bd4Smrg    esac
29919bc46bd4Smrgfi
29929bc46bd4Smrgif test x$MISC_MAN_DIR = x    ; then
29939bc46bd4Smrg    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
29949bc46bd4Smrgfi
29959bc46bd4Smrg
29969bc46bd4Smrgif test x$DRIVER_MAN_SUFFIX = x    ; then
2997f403ce92Smrg    case $SYSV_MAN_SECTIONS in
2998f403ce92Smrg	true)				DRIVER_MAN_SUFFIX=7  ;;
2999f403ce92Smrg	*)				DRIVER_MAN_SUFFIX=4  ;;
30009bc46bd4Smrg    esac
30019bc46bd4Smrgfi
30029bc46bd4Smrgif test x$DRIVER_MAN_DIR = x    ; then
30039bc46bd4Smrg    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
30049bc46bd4Smrgfi
30059bc46bd4Smrg
30069bc46bd4Smrgif test x$ADMIN_MAN_SUFFIX = x    ; then
3007f403ce92Smrg    case $SYSV_MAN_SECTIONS in
3008f403ce92Smrg	true)				ADMIN_MAN_SUFFIX=1m ;;
3009f403ce92Smrg	*)				ADMIN_MAN_SUFFIX=8  ;;
30109bc46bd4Smrg    esac
30119bc46bd4Smrgfi
30129bc46bd4Smrgif test x$ADMIN_MAN_DIR = x    ; then
30139bc46bd4Smrg    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
30149bc46bd4Smrgfi
30159bc46bd4Smrg
30169bc46bd4Smrg
30179bc46bd4Smrg
30189bc46bd4Smrg
30199bc46bd4Smrg
30209bc46bd4Smrg
30219bc46bd4Smrg
30229bc46bd4Smrg
30239bc46bd4Smrg
30249bc46bd4Smrg
30259bc46bd4Smrg
30269bc46bd4Smrg
30279bc46bd4Smrg
30289bc46bd4Smrg
30293294c433Smrg
3030c41d98afSmrgXORG_MAN_PAGE="X Version 11"
30313294c433Smrg
3032c41d98afSmrgMAN_SUBSTS="\
3033c41d98afSmrg	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
3034c41d98afSmrg	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
3035c41d98afSmrg	-e 's|__xservername__|Xorg|g' \
3036c41d98afSmrg	-e 's|__xconfigfile__|xorg.conf|g' \
3037c41d98afSmrg	-e 's|__projectroot__|\$(prefix)|g' \
3038c41d98afSmrg	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
3039c41d98afSmrg	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
3040c41d98afSmrg	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
3041c41d98afSmrg	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
3042c41d98afSmrg	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
3043c41d98afSmrg	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
3044c41d98afSmrg	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
30453294c433Smrg
30463294c433Smrg
30473294c433Smrg
3048c41d98afSmrg# Check whether --enable-silent-rules was given.
3049f403ce92Smrgif test ${enable_silent_rules+y}
3050f403ce92Smrgthen :
3051c41d98afSmrg  enableval=$enable_silent_rules;
30523294c433Smrgfi
30539bc46bd4Smrg
3054f403ce92Smrgcase $enable_silent_rules in # (((
3055f403ce92Smrg  yes) AM_DEFAULT_VERBOSITY=0;;
3056f403ce92Smrg   no) AM_DEFAULT_VERBOSITY=1;;
3057f403ce92Smrg    *) AM_DEFAULT_VERBOSITY=0;;
3058c41d98afSmrgesac
3059f403ce92Smrgam_make=${MAKE-make}
3060f403ce92Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3061f403ce92Smrgprintf %s "checking whether $am_make supports nested variables... " >&6; }
3062f403ce92Smrgif test ${am_cv_make_support_nested_variables+y}
3063f403ce92Smrgthen :
3064f403ce92Smrg  printf %s "(cached) " >&6
3065f403ce92Smrgelse $as_nop
3066f403ce92Smrg  if printf "%s\n" 'TRUE=$(BAR$(V))
3067f403ce92SmrgBAR0=false
3068f403ce92SmrgBAR1=true
3069f403ce92SmrgV=1
3070f403ce92Smrgam__doit:
3071f403ce92Smrg	@$(TRUE)
3072f403ce92Smrg.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3073f403ce92Smrg  am_cv_make_support_nested_variables=yes
3074f403ce92Smrgelse
3075f403ce92Smrg  am_cv_make_support_nested_variables=no
3076f403ce92Smrgfi
3077f403ce92Smrgfi
3078f403ce92Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3079f403ce92Smrgprintf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
3080f403ce92Smrgif test $am_cv_make_support_nested_variables = yes; then
3081f403ce92Smrg    AM_V='$(V)'
3082f403ce92Smrg  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3083f403ce92Smrgelse
3084f403ce92Smrg  AM_V=$AM_DEFAULT_VERBOSITY
3085f403ce92Smrg  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3086f403ce92Smrgfi
3087c41d98afSmrgAM_BACKSLASH='\'
30889bc46bd4Smrg
30899bc46bd4Smrg
30909bc46bd4Smrg
3091f403ce92Smrg# Require X.Org's font util macros 1.4 or later for COMPRESS_FLAGS
30929bc46bd4Smrg
30939bc46bd4Smrg
30949bc46bd4Smrg
30959bc46bd4Smrg
30969bc46bd4Smrg
30979bc46bd4Smrg
30989bc46bd4Smrg
30999bc46bd4Smrg
31009bc46bd4Smrg
31019bc46bd4Smrg
31029bc46bd4Smrg
31039bc46bd4Smrg
31049bc46bd4Smrg
31059bc46bd4Smrg
31069bc46bd4Smrg
3107f403ce92Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for root directory for font files" >&5
3108f403ce92Smrgprintf %s "checking for root directory for font files... " >&6; }
31099bc46bd4Smrg
31109bc46bd4Smrg# Check whether --with-fontrootdir was given.
3111f403ce92Smrgif test ${with_fontrootdir+y}
3112f403ce92Smrgthen :
31139bc46bd4Smrg  withval=$with_fontrootdir; FONTROOTDIR="$withval"
31149bc46bd4Smrgfi
31153294c433Smrg
31169bc46bd4Smrg	# if --with-fontrootdir not specified...
31179bc46bd4Smrg	if test "x${FONTROOTDIR}" = "x"; then
31189bc46bd4Smrg		FONTROOTDIR=`$PKG_CONFIG --variable=fontrootdir fontutil`
31199bc46bd4Smrg	fi
31209bc46bd4Smrg	# ...and if pkg-config didn't find fontdir in fontutil.pc...
31219bc46bd4Smrg	if test "x${FONTROOTDIR}" = "x"; then
31229bc46bd4Smrg		FONTROOTDIR="${datadir}/fonts/X11"
31239bc46bd4Smrg	fi
31243294c433Smrg
3125f403ce92Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${FONTROOTDIR}" >&5
3126f403ce92Smrgprintf "%s\n" "${FONTROOTDIR}" >&6; }
31273294c433Smrg
31283294c433Smrg
31293294c433Smrg
31303294c433Smrg
3131f403ce92Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for directory for 100dpi files" >&5
3132f403ce92Smrgprintf %s "checking for directory for 100dpi files... " >&6; }
31333294c433Smrg
31349bc46bd4Smrg# Check whether --with-fontdir was given.
3135f403ce92Smrgif test ${with_fontdir+y}
3136f403ce92Smrgthen :
31379bc46bd4Smrg  withval=$with_fontdir; FONTDIR="${withval}"
3138f403ce92Smrgelse $as_nop
31399bc46bd4Smrg  FONTDIR='${FONTROOTDIR}/100dpi'
31403294c433Smrgfi
31413294c433Smrg
31429bc46bd4Smrg
3143f403ce92Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${FONTDIR}" >&5
3144f403ce92Smrgprintf "%s\n" "${FONTDIR}" >&6; }
31459bc46bd4Smrg
31469bc46bd4Smrg
31479bc46bd4Smrg
31489bc46bd4Smrg
31499bc46bd4Smrg	# Extract the first word of "fc-cache", so it can be a program name with args.
31509bc46bd4Smrgset dummy fc-cache; ac_word=$2
3151f403ce92Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3152f403ce92Smrgprintf %s "checking for $ac_word... " >&6; }
3153f403ce92Smrgif test ${ac_cv_path_FCCACHE+y}
3154f403ce92Smrgthen :
3155f403ce92Smrg  printf %s "(cached) " >&6
3156f403ce92Smrgelse $as_nop
31579bc46bd4Smrg  case $FCCACHE in
31583294c433Smrg  [\\/]* | ?:[\\/]*)
31599bc46bd4Smrg  ac_cv_path_FCCACHE="$FCCACHE" # Let the user override the test with a path.
31603294c433Smrg  ;;
31613294c433Smrg  *)
31623294c433Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31633294c433Smrgfor as_dir in $PATH
31643294c433Smrgdo
31653294c433Smrg  IFS=$as_save_IFS
3166f403ce92Smrg  case $as_dir in #(((
3167f403ce92Smrg    '') as_dir=./ ;;
3168f403ce92Smrg    */) ;;
3169f403ce92Smrg    *) as_dir=$as_dir/ ;;
3170f403ce92Smrg  esac
3171c41d98afSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
3172f403ce92Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3173f403ce92Smrg    ac_cv_path_FCCACHE="$as_dir$ac_word$ac_exec_ext"
3174f403ce92Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
31753294c433Smrg    break 2
31763294c433Smrg  fi
31773294c433Smrgdone
3178c41d98afSmrg  done
31799bc46bd4SmrgIFS=$as_save_IFS
31803294c433Smrg
31813294c433Smrg  ;;
31823294c433Smrgesac
31833294c433Smrgfi
31849bc46bd4SmrgFCCACHE=$ac_cv_path_FCCACHE
31859bc46bd4Smrgif test -n "$FCCACHE"; then
3186f403ce92Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FCCACHE" >&5
3187f403ce92Smrgprintf "%s\n" "$FCCACHE" >&6; }
31883294c433Smrgelse
3189f403ce92Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3190f403ce92Smrgprintf "%s\n" "no" >&6; }
31913294c433Smrgfi
31923294c433Smrg
31939bc46bd4Smrg
31949bc46bd4Smrg	FCCACHE_WARN='echo "** Warning: fonts.cache not built" ; echo "** Generate this file manually on host system using fc-cache"'
3195f403ce92Smrg	if test x"$FCCACHE" = x || test x"$cross_compiling" != x"no" ; then
31969bc46bd4Smrg		RUN_FCCACHE="${FCCACHE_WARN}"
31979bc46bd4Smrg	else
31989bc46bd4Smrg		RUN_FCCACHE='@(if test -z "$(DESTDIR)"; then echo $(FCCACHE) $(fontdir); $(FCCACHE) $(fontdir); else'
31999bc46bd4Smrg		RUN_FCCACHE="${RUN_FCCACHE} ${FCCACHE_WARN} ; fi)"
32009bc46bd4Smrg	fi
32019bc46bd4Smrg
32029bc46bd4Smrg
32039bc46bd4Smrg
3204f403ce92Smrg	if test x"$cross_compiling" != x"no" ; then
3205f403ce92Smrg		# Extract the first word of "mkfontdir", so it can be a program name with args.
32069bc46bd4Smrgset dummy mkfontdir; ac_word=$2
3207f403ce92Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3208f403ce92Smrgprintf %s "checking for $ac_word... " >&6; }
3209f403ce92Smrgif test ${ac_cv_path_MKFONTDIR+y}
3210f403ce92Smrgthen :
3211f403ce92Smrg  printf %s "(cached) " >&6
3212f403ce92Smrgelse $as_nop
3213f403ce92Smrg  case $MKFONTDIR in
3214f403ce92Smrg  [\\/]* | ?:[\\/]*)
3215f403ce92Smrg  ac_cv_path_MKFONTDIR="$MKFONTDIR" # Let the user override the test with a path.
3216f403ce92Smrg  ;;
3217f403ce92Smrg  *)
3218f403ce92Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3219f403ce92Smrgfor as_dir in $PATH
3220f403ce92Smrgdo
3221f403ce92Smrg  IFS=$as_save_IFS
3222f403ce92Smrg  case $as_dir in #(((
3223f403ce92Smrg    '') as_dir=./ ;;
3224f403ce92Smrg    */) ;;
3225f403ce92Smrg    *) as_dir=$as_dir/ ;;
3226f403ce92Smrg  esac
3227f403ce92Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
3228f403ce92Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3229f403ce92Smrg    ac_cv_path_MKFONTDIR="$as_dir$ac_word$ac_exec_ext"
3230f403ce92Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3231f403ce92Smrg    break 2
3232f403ce92Smrg  fi
3233f403ce92Smrgdone
3234f403ce92Smrg  done
3235f403ce92SmrgIFS=$as_save_IFS
3236f403ce92Smrg
3237f403ce92Smrg  test -z "$ac_cv_path_MKFONTDIR" && ac_cv_path_MKFONTDIR=""""
3238f403ce92Smrg  ;;
3239f403ce92Smrgesac
3240f403ce92Smrgfi
3241f403ce92SmrgMKFONTDIR=$ac_cv_path_MKFONTDIR
3242f403ce92Smrgif test -n "$MKFONTDIR"; then
3243f403ce92Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKFONTDIR" >&5
3244f403ce92Smrgprintf "%s\n" "$MKFONTDIR" >&6; }
32453294c433Smrgelse
3246f403ce92Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3247f403ce92Smrgprintf "%s\n" "no" >&6; }
3248f403ce92Smrgfi
3249f403ce92Smrg
3250f403ce92Smrg
3251f403ce92Smrg		MKFONTDIR_WARN='echo "** Warning: mkfontdir not run" ; echo "** Run mkfontdir manually on host system"'
3252f403ce92Smrg
3253f403ce92Smrg		if test x"$MKFONTDIR" = x; then
3254f403ce92Smrg			MKFONTDIR="${MKFONTDIR_WARN} ; echo '** mkfontdir'"
3255f403ce92Smrg		fi
3256f403ce92Smrg	else
3257f403ce92Smrg
3258f403ce92Smrg	# Extract the first word of "mkfontdir", so it can be a program name with args.
3259f403ce92Smrgset dummy mkfontdir; ac_word=$2
3260f403ce92Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3261f403ce92Smrgprintf %s "checking for $ac_word... " >&6; }
3262f403ce92Smrgif test ${ac_cv_path_MKFONTDIR+y}
3263f403ce92Smrgthen :
3264f403ce92Smrg  printf %s "(cached) " >&6
3265f403ce92Smrgelse $as_nop
32669bc46bd4Smrg  case $MKFONTDIR in
32673294c433Smrg  [\\/]* | ?:[\\/]*)
32689bc46bd4Smrg  ac_cv_path_MKFONTDIR="$MKFONTDIR" # Let the user override the test with a path.
32693294c433Smrg  ;;
32703294c433Smrg  *)
32713294c433Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32723294c433Smrgfor as_dir in $PATH
32733294c433Smrgdo
32743294c433Smrg  IFS=$as_save_IFS
3275f403ce92Smrg  case $as_dir in #(((
3276f403ce92Smrg    '') as_dir=./ ;;
3277f403ce92Smrg    */) ;;
3278f403ce92Smrg    *) as_dir=$as_dir/ ;;
3279f403ce92Smrg  esac
3280c41d98afSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
3281f403ce92Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3282f403ce92Smrg    ac_cv_path_MKFONTDIR="$as_dir$ac_word$ac_exec_ext"
3283f403ce92Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
32843294c433Smrg    break 2
32853294c433Smrg  fi
32863294c433Smrgdone
3287c41d98afSmrg  done
32889bc46bd4SmrgIFS=$as_save_IFS
32893294c433Smrg
32903294c433Smrg  ;;
32913294c433Smrgesac
32923294c433Smrgfi
32939bc46bd4SmrgMKFONTDIR=$ac_cv_path_MKFONTDIR
32949bc46bd4Smrgif test -n "$MKFONTDIR"; then
3295f403ce92Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKFONTDIR" >&5
3296f403ce92Smrgprintf "%s\n" "$MKFONTDIR" >&6; }
32973294c433Smrgelse
3298f403ce92Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3299f403ce92Smrgprintf "%s\n" "no" >&6; }
33003294c433Smrgfi
33013294c433Smrg
33029bc46bd4Smrg
3303c41d98afSmrg	if test x"$MKFONTDIR" = x; then
3304c41d98afSmrg		as_fn_error $? "mkfontdir is required to build $PACKAGE_NAME." "$LINENO" 5
33059bc46bd4Smrg	fi
33069bc46bd4Smrg
3307f403ce92Smrg	fi
3308f403ce92Smrg
3309f403ce92Smrg
3310f403ce92Smrg
33119bc46bd4Smrg
33129bc46bd4Smrg
33139bc46bd4Smrg	# Extract the first word of "bdftopcf", so it can be a program name with args.
33149bc46bd4Smrgset dummy bdftopcf; ac_word=$2
3315f403ce92Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3316f403ce92Smrgprintf %s "checking for $ac_word... " >&6; }
3317f403ce92Smrgif test ${ac_cv_path_BDFTOPCF+y}
3318f403ce92Smrgthen :
3319f403ce92Smrg  printf %s "(cached) " >&6
3320f403ce92Smrgelse $as_nop
33219bc46bd4Smrg  case $BDFTOPCF in
33223294c433Smrg  [\\/]* | ?:[\\/]*)
33239bc46bd4Smrg  ac_cv_path_BDFTOPCF="$BDFTOPCF" # Let the user override the test with a path.
33243294c433Smrg  ;;
33253294c433Smrg  *)
33263294c433Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33273294c433Smrgfor as_dir in $PATH
33283294c433Smrgdo
33293294c433Smrg  IFS=$as_save_IFS
3330f403ce92Smrg  case $as_dir in #(((
3331f403ce92Smrg    '') as_dir=./ ;;
3332f403ce92Smrg    */) ;;
3333f403ce92Smrg    *) as_dir=$as_dir/ ;;
3334f403ce92Smrg  esac
3335c41d98afSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
3336f403ce92Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3337f403ce92Smrg    ac_cv_path_BDFTOPCF="$as_dir$ac_word$ac_exec_ext"
3338f403ce92Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
33393294c433Smrg    break 2
33403294c433Smrg  fi
33413294c433Smrgdone
3342c41d98afSmrg  done
33439bc46bd4SmrgIFS=$as_save_IFS
33443294c433Smrg
33453294c433Smrg  ;;
33463294c433Smrgesac
33473294c433Smrgfi
33489bc46bd4SmrgBDFTOPCF=$ac_cv_path_BDFTOPCF
33499bc46bd4Smrgif test -n "$BDFTOPCF"; then
3350f403ce92Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BDFTOPCF" >&5
3351f403ce92Smrgprintf "%s\n" "$BDFTOPCF" >&6; }
33523294c433Smrgelse
3353f403ce92Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3354f403ce92Smrgprintf "%s\n" "no" >&6; }
33553294c433Smrgfi
33563294c433Smrg
33573294c433Smrg
3358c41d98afSmrg	if test x"$BDFTOPCF" = x; then
3359c41d98afSmrg		as_fn_error $? "bdftopcf is required to build $PACKAGE_NAME." "$LINENO" 5
33609bc46bd4Smrg	fi
33613294c433Smrg
33623294c433Smrg
3363f403ce92Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking font compression method" >&5
3364f403ce92Smrgprintf %s "checking font compression method... " >&6; }
33653294c433Smrg
33669bc46bd4Smrg# Check whether --with-compression was given.
3367f403ce92Smrgif test ${with_compression+y}
3368f403ce92Smrgthen :
33699bc46bd4Smrg  withval=$with_compression; compression="$withval"
3370f403ce92Smrgelse $as_nop
33719bc46bd4Smrg  compression="yes"
33729bc46bd4Smrgfi
33733294c433Smrg
33749bc46bd4Smrg	if test x"$compression" = "xyes" ; then
33759bc46bd4Smrg		compression="gzip"
33769bc46bd4Smrg	fi
3377f403ce92Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${compression}" >&5
3378f403ce92Smrgprintf "%s\n" "${compression}" >&6; }
33799bc46bd4Smrg	case ${compression} in
33809bc46bd4Smrg	 *compress)	COMPRESS_SUFFIX=".Z" ;;
3381f403ce92Smrg	 *gzip)		COMPRESS_SUFFIX=".gz" ;
3382f403ce92Smrg			COMPRESS_FLAGS="${COMPRESS_FLAGS--n}" ;;
33839bc46bd4Smrg	 *bzip2)	COMPRESS_SUFFIX=".bz2" ;;
33849bc46bd4Smrg	 no|none)	COMPRESS_SUFFIX="" ; COMPRESS="cat" ;;
3385c41d98afSmrg	 *) as_fn_error $? "${compression} is not a supported compression method" "$LINENO" 5 ;;
33869bc46bd4Smrg	esac
33879bc46bd4Smrg	if test x"$COMPRESS_SUFFIX" != "x" ; then
33889bc46bd4Smrg
33899bc46bd4Smrg	# Extract the first word of "${compression}", so it can be a program name with args.
33909bc46bd4Smrgset dummy ${compression}; ac_word=$2
3391f403ce92Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3392f403ce92Smrgprintf %s "checking for $ac_word... " >&6; }
3393f403ce92Smrgif test ${ac_cv_path_COMPRESS+y}
3394f403ce92Smrgthen :
3395f403ce92Smrg  printf %s "(cached) " >&6
3396f403ce92Smrgelse $as_nop
33979bc46bd4Smrg  case $COMPRESS in
33983294c433Smrg  [\\/]* | ?:[\\/]*)
33999bc46bd4Smrg  ac_cv_path_COMPRESS="$COMPRESS" # Let the user override the test with a path.
34003294c433Smrg  ;;
34013294c433Smrg  *)
34023294c433Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34033294c433Smrgfor as_dir in $PATH
34043294c433Smrgdo
34053294c433Smrg  IFS=$as_save_IFS
3406f403ce92Smrg  case $as_dir in #(((
3407f403ce92Smrg    '') as_dir=./ ;;
3408f403ce92Smrg    */) ;;
3409f403ce92Smrg    *) as_dir=$as_dir/ ;;
3410f403ce92Smrg  esac
3411c41d98afSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
3412f403ce92Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3413f403ce92Smrg    ac_cv_path_COMPRESS="$as_dir$ac_word$ac_exec_ext"
3414f403ce92Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
34153294c433Smrg    break 2
34163294c433Smrg  fi
34173294c433Smrgdone
3418c41d98afSmrg  done
34199bc46bd4SmrgIFS=$as_save_IFS
34203294c433Smrg
34213294c433Smrg  ;;
34223294c433Smrgesac
34233294c433Smrgfi
34249bc46bd4SmrgCOMPRESS=$ac_cv_path_COMPRESS
34259bc46bd4Smrgif test -n "$COMPRESS"; then
3426f403ce92Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $COMPRESS" >&5
3427f403ce92Smrgprintf "%s\n" "$COMPRESS" >&6; }
34283294c433Smrgelse
3429f403ce92Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3430f403ce92Smrgprintf "%s\n" "no" >&6; }
34313294c433Smrgfi
34323294c433Smrg
34339bc46bd4Smrg
3434c41d98afSmrg	if test x"$COMPRESS" = x; then
3435c41d98afSmrg		as_fn_error $? "${compression} is required to build $PACKAGE_NAME." "$LINENO" 5
34369bc46bd4Smrg	fi
34379bc46bd4Smrg
34389bc46bd4Smrg	fi
3439f403ce92Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking options to font compression command" >&5
3440f403ce92Smrgprintf %s "checking options to font compression command... " >&6; }
3441f403ce92Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${COMPRESS_FLAGS:-none}" >&5
3442f403ce92Smrgprintf "%s\n" "${COMPRESS_FLAGS:-none}" >&6; }
3443f403ce92Smrg
3444f403ce92Smrg
34459bc46bd4Smrg
34469bc46bd4Smrg
34479bc46bd4Smrg
34489bc46bd4Smrg
34499bc46bd4Smrg
34509bc46bd4Smrg	# Extract the first word of "ucs2any", so it can be a program name with args.
34519bc46bd4Smrgset dummy ucs2any; ac_word=$2
3452f403ce92Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3453f403ce92Smrgprintf %s "checking for $ac_word... " >&6; }
3454f403ce92Smrgif test ${ac_cv_path_UCS2ANY+y}
3455f403ce92Smrgthen :
3456f403ce92Smrg  printf %s "(cached) " >&6
3457f403ce92Smrgelse $as_nop
34589bc46bd4Smrg  case $UCS2ANY in
34593294c433Smrg  [\\/]* | ?:[\\/]*)
34609bc46bd4Smrg  ac_cv_path_UCS2ANY="$UCS2ANY" # Let the user override the test with a path.
34613294c433Smrg  ;;
34623294c433Smrg  *)
34633294c433Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34643294c433Smrgfor as_dir in $PATH
34653294c433Smrgdo
34663294c433Smrg  IFS=$as_save_IFS
3467f403ce92Smrg  case $as_dir in #(((
3468f403ce92Smrg    '') as_dir=./ ;;
3469f403ce92Smrg    */) ;;
3470f403ce92Smrg    *) as_dir=$as_dir/ ;;
3471f403ce92Smrg  esac
3472c41d98afSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
3473f403ce92Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3474f403ce92Smrg    ac_cv_path_UCS2ANY="$as_dir$ac_word$ac_exec_ext"
3475f403ce92Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
34763294c433Smrg    break 2
34773294c433Smrg  fi
34783294c433Smrgdone
3479c41d98afSmrg  done
34809bc46bd4SmrgIFS=$as_save_IFS
34813294c433Smrg
34823294c433Smrg  ;;
34833294c433Smrgesac
34843294c433Smrgfi
34859bc46bd4SmrgUCS2ANY=$ac_cv_path_UCS2ANY
34869bc46bd4Smrgif test -n "$UCS2ANY"; then
3487f403ce92Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $UCS2ANY" >&5
3488f403ce92Smrgprintf "%s\n" "$UCS2ANY" >&6; }
34893294c433Smrgelse
3490f403ce92Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3491f403ce92Smrgprintf "%s\n" "no" >&6; }
34923294c433Smrgfi
34933294c433Smrg
34943294c433Smrg
3495c41d98afSmrg	if test x"$UCS2ANY" = x; then
3496c41d98afSmrg		as_fn_error $? "ucs2any is required to build $PACKAGE_NAME." "$LINENO" 5
34973294c433Smrg	fi
34983294c433Smrg
34993294c433Smrg
35003294c433Smrgpkg_failed=no
3501f403ce92Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MAPS" >&5
3502f403ce92Smrgprintf %s "checking for MAPS... " >&6; }
35039bc46bd4Smrg
35049bc46bd4Smrgif test -n "$MAPS_CFLAGS"; then
35059bc46bd4Smrg    pkg_cv_MAPS_CFLAGS="$MAPS_CFLAGS"
35069bc46bd4Smrg elif test -n "$PKG_CONFIG"; then
35079bc46bd4Smrg    if test -n "$PKG_CONFIG" && \
3508f403ce92Smrg    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontutil\""; } >&5
35093294c433Smrg  ($PKG_CONFIG --exists --print-errors "fontutil") 2>&5
35103294c433Smrg  ac_status=$?
3511f403ce92Smrg  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3512c41d98afSmrg  test $ac_status = 0; }; then
35133294c433Smrg  pkg_cv_MAPS_CFLAGS=`$PKG_CONFIG --cflags "fontutil" 2>/dev/null`
3514f403ce92Smrg		      test "x$?" != "x0" && pkg_failed=yes
35153294c433Smrgelse
35163294c433Smrg  pkg_failed=yes
35173294c433Smrgfi
35189bc46bd4Smrg else
35199bc46bd4Smrg    pkg_failed=untried
35203294c433Smrgfi
35219bc46bd4Smrgif test -n "$MAPS_LIBS"; then
35229bc46bd4Smrg    pkg_cv_MAPS_LIBS="$MAPS_LIBS"
35239bc46bd4Smrg elif test -n "$PKG_CONFIG"; then
35249bc46bd4Smrg    if test -n "$PKG_CONFIG" && \
3525f403ce92Smrg    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontutil\""; } >&5
35263294c433Smrg  ($PKG_CONFIG --exists --print-errors "fontutil") 2>&5
35273294c433Smrg  ac_status=$?
3528f403ce92Smrg  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3529c41d98afSmrg  test $ac_status = 0; }; then
35303294c433Smrg  pkg_cv_MAPS_LIBS=`$PKG_CONFIG --libs "fontutil" 2>/dev/null`
3531f403ce92Smrg		      test "x$?" != "x0" && pkg_failed=yes
35323294c433Smrgelse
35333294c433Smrg  pkg_failed=yes
35343294c433Smrgfi
35359bc46bd4Smrg else
35369bc46bd4Smrg    pkg_failed=untried
35373294c433Smrgfi
35383294c433Smrg
35393294c433Smrg
35403294c433Smrg
35413294c433Smrgif test $pkg_failed = yes; then
3542f403ce92Smrg   	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3543f403ce92Smrgprintf "%s\n" "no" >&6; }
35443294c433Smrg
35453294c433Smrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35463294c433Smrg        _pkg_short_errors_supported=yes
35473294c433Smrgelse
35483294c433Smrg        _pkg_short_errors_supported=no
35493294c433Smrgfi
35503294c433Smrg        if test $_pkg_short_errors_supported = yes; then
3551f403ce92Smrg	        MAPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fontutil" 2>&1`
35523294c433Smrg        else
3553f403ce92Smrg	        MAPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fontutil" 2>&1`
35543294c433Smrg        fi
35553294c433Smrg	# Put the nasty error message in config.log where it belongs
35563294c433Smrg	echo "$MAPS_PKG_ERRORS" >&5
35573294c433Smrg
3558c41d98afSmrg	as_fn_error $? "Package requirements (fontutil) were not met:
35593294c433Smrg
35603294c433Smrg$MAPS_PKG_ERRORS
35613294c433Smrg
35623294c433SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you
35633294c433Smrginstalled software in a non-standard prefix.
35643294c433Smrg
35653294c433SmrgAlternatively, you may set the environment variables MAPS_CFLAGS
35663294c433Smrgand MAPS_LIBS to avoid the need to call pkg-config.
3567c41d98afSmrgSee the pkg-config man page for more details." "$LINENO" 5
35683294c433Smrgelif test $pkg_failed = untried; then
3569f403ce92Smrg     	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3570f403ce92Smrgprintf "%s\n" "no" >&6; }
3571f403ce92Smrg	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3572f403ce92Smrgprintf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3573c41d98afSmrgas_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
35743294c433Smrgis in your PATH or set the PKG_CONFIG environment variable to the full
35753294c433Smrgpath to pkg-config.
35763294c433Smrg
3577c41d98afSmrgAlternatively, you may set the environment variables MAPS_CFLAGS
3578c41d98afSmrgand MAPS_LIBS to avoid the need to call pkg-config.
3579c41d98afSmrgSee the pkg-config man page for more details.
3580c41d98afSmrg
3581c41d98afSmrgTo get pkg-config, see <http://pkg-config.freedesktop.org/>.
3582c41d98afSmrgSee \`config.log' for more details" "$LINENO" 5; }
3583c41d98afSmrgelse
3584c41d98afSmrg	MAPS_CFLAGS=$pkg_cv_MAPS_CFLAGS
3585c41d98afSmrg	MAPS_LIBS=$pkg_cv_MAPS_LIBS
3586f403ce92Smrg        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3587f403ce92Smrgprintf "%s\n" "yes" >&6; }
3588c41d98afSmrg
3589c41d98afSmrgfi
3590f403ce92Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ucs2any encoding data files" >&5
3591f403ce92Smrgprintf %s "checking for ucs2any encoding data files... " >&6; }
3592f403ce92Smrg	MAPFILES_PATH=`$PKG_CONFIG --variable=mapdir fontutil`
3593c41d98afSmrg
3594f403ce92Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${MAPFILES_PATH}" >&5
3595f403ce92Smrgprintf "%s\n" "${MAPFILES_PATH}" >&6; }
3596c41d98afSmrg
3597c41d98afSmrg
3598c41d98afSmrg
3599c41d98afSmrg	# Check whether --enable-all-encodings was given.
3600f403ce92Smrgif test ${enable_all_encodings+y}
3601f403ce92Smrgthen :
3602c41d98afSmrg  enableval=$enable_all_encodings;
3603c41d98afSmrg			ISO8859_1=$enableval
3604c41d98afSmrg
3605c41d98afSmrg			ISO8859_2=$enableval
3606c41d98afSmrg
3607c41d98afSmrg			ISO8859_3=$enableval
3608c41d98afSmrg
3609c41d98afSmrg			ISO8859_4=$enableval
3610c41d98afSmrg
3611c41d98afSmrg			ISO8859_9=$enableval
3612c41d98afSmrg
3613c41d98afSmrg			ISO8859_10=$enableval
3614c41d98afSmrg
3615c41d98afSmrg			ISO8859_13=$enableval
3616c41d98afSmrg
3617c41d98afSmrg			ISO8859_14=$enableval
3618c41d98afSmrg
3619c41d98afSmrg			ISO8859_15=$enableval
3620c41d98afSmrg
3621f403ce92Smrgelse $as_nop
3622c41d98afSmrg
3623c41d98afSmrg			ISO8859_1=yes
3624c41d98afSmrg
3625c41d98afSmrg			ISO8859_2=yes
36263294c433Smrg
3627c41d98afSmrg			ISO8859_3=yes
36283294c433Smrg
3629c41d98afSmrg			ISO8859_4=yes
36303294c433Smrg
3631c41d98afSmrg			ISO8859_9=yes
36329bc46bd4Smrg
3633c41d98afSmrg			ISO8859_10=yes
3634c41d98afSmrg
3635c41d98afSmrg			ISO8859_13=yes
3636c41d98afSmrg
3637c41d98afSmrg			ISO8859_14=yes
36383294c433Smrg
3639c41d98afSmrg			ISO8859_15=yes
36403294c433Smrg
3641c41d98afSmrgfi
36423294c433Smrg
36439bc46bd4Smrg
36449bc46bd4Smrg	# Check whether --enable-iso8859-1 was given.
3645f403ce92Smrgif test ${enable_iso8859_1+y}
3646f403ce92Smrgthen :
36479bc46bd4Smrg  enableval=$enable_iso8859_1; ISO8859_1=$enableval
36489bc46bd4Smrgfi
36493294c433Smrg
3650f403ce92Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build ISO8859-1 fonts" >&5
3651f403ce92Smrgprintf %s "checking whether to build ISO8859-1 fonts... " >&6; }
3652f403ce92Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ISO8859_1" >&5
3653f403ce92Smrgprintf "%s\n" "$ISO8859_1" >&6; }
36549bc46bd4Smrg	 if test "x$ISO8859_1" = xyes; then
36553294c433Smrg  ISO8859_1_TRUE=
36563294c433Smrg  ISO8859_1_FALSE='#'
36573294c433Smrgelse
36583294c433Smrg  ISO8859_1_TRUE='#'
36593294c433Smrg  ISO8859_1_FALSE=
36603294c433Smrgfi
36613294c433Smrg
36623294c433Smrg
36639bc46bd4Smrg	# Check whether --enable-iso8859-2 was given.
3664f403ce92Smrgif test ${enable_iso8859_2+y}
3665f403ce92Smrgthen :
36669bc46bd4Smrg  enableval=$enable_iso8859_2; ISO8859_2=$enableval
36679bc46bd4Smrgfi
36683294c433Smrg
3669f403ce92Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build ISO8859-2 fonts" >&5
3670f403ce92Smrgprintf %s "checking whether to build ISO8859-2 fonts... " >&6; }
3671f403ce92Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ISO8859_2" >&5
3672f403ce92Smrgprintf "%s\n" "$ISO8859_2" >&6; }
36739bc46bd4Smrg	 if test "x$ISO8859_2" = xyes; then
36743294c433Smrg  ISO8859_2_TRUE=
36753294c433Smrg  ISO8859_2_FALSE='#'
36763294c433Smrgelse
36773294c433Smrg  ISO8859_2_TRUE='#'
36783294c433Smrg  ISO8859_2_FALSE=
36793294c433Smrgfi
36803294c433Smrg
36813294c433Smrg
36829bc46bd4Smrg	# Check whether --enable-iso8859-3 was given.
3683f403ce92Smrgif test ${enable_iso8859_3+y}
3684f403ce92Smrgthen :
36859bc46bd4Smrg  enableval=$enable_iso8859_3; ISO8859_3=$enableval
36869bc46bd4Smrgfi
36873294c433Smrg
3688f403ce92Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build ISO8859-3 fonts" >&5
3689f403ce92Smrgprintf %s "checking whether to build ISO8859-3 fonts... " >&6; }
3690f403ce92Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ISO8859_3" >&5
3691f403ce92Smrgprintf "%s\n" "$ISO8859_3" >&6; }
36929bc46bd4Smrg	 if test "x$ISO8859_3" = xyes; then
36933294c433Smrg  ISO8859_3_TRUE=
36943294c433Smrg  ISO8859_3_FALSE='#'
36953294c433Smrgelse
36963294c433Smrg  ISO8859_3_TRUE='#'
36973294c433Smrg  ISO8859_3_FALSE=
36983294c433Smrgfi
36993294c433Smrg
37003294c433Smrg
37019bc46bd4Smrg	# Check whether --enable-iso8859-4 was given.
3702f403ce92Smrgif test ${enable_iso8859_4+y}
3703f403ce92Smrgthen :
37049bc46bd4Smrg  enableval=$enable_iso8859_4; ISO8859_4=$enableval
37059bc46bd4Smrgfi
37063294c433Smrg
3707f403ce92Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build ISO8859-4 fonts" >&5
3708f403ce92Smrgprintf %s "checking whether to build ISO8859-4 fonts... " >&6; }
3709f403ce92Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ISO8859_4" >&5
3710f403ce92Smrgprintf "%s\n" "$ISO8859_4" >&6; }
37119bc46bd4Smrg	 if test "x$ISO8859_4" = xyes; then
37123294c433Smrg  ISO8859_4_TRUE=
37133294c433Smrg  ISO8859_4_FALSE='#'
37143294c433Smrgelse
37153294c433Smrg  ISO8859_4_TRUE='#'
37163294c433Smrg  ISO8859_4_FALSE=
37173294c433Smrgfi
37183294c433Smrg
37193294c433Smrg
37209bc46bd4Smrg	# Check whether --enable-iso8859-9 was given.
3721f403ce92Smrgif test ${enable_iso8859_9+y}
3722f403ce92Smrgthen :
37239bc46bd4Smrg  enableval=$enable_iso8859_9; ISO8859_9=$enableval
37249bc46bd4Smrgfi
37253294c433Smrg
3726f403ce92Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build ISO8859-9 fonts" >&5
3727f403ce92Smrgprintf %s "checking whether to build ISO8859-9 fonts... " >&6; }
3728f403ce92Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ISO8859_9" >&5
3729f403ce92Smrgprintf "%s\n" "$ISO8859_9" >&6; }
37309bc46bd4Smrg	 if test "x$ISO8859_9" = xyes; then
37313294c433Smrg  ISO8859_9_TRUE=
37323294c433Smrg  ISO8859_9_FALSE='#'
37333294c433Smrgelse
37343294c433Smrg  ISO8859_9_TRUE='#'
37353294c433Smrg  ISO8859_9_FALSE=
37363294c433Smrgfi
37373294c433Smrg
37383294c433Smrg
37399bc46bd4Smrg	# Check whether --enable-iso8859-10 was given.
3740f403ce92Smrgif test ${enable_iso8859_10+y}
3741f403ce92Smrgthen :
37429bc46bd4Smrg  enableval=$enable_iso8859_10; ISO8859_10=$enableval
37439bc46bd4Smrgfi
37443294c433Smrg
3745f403ce92Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build ISO8859-10 fonts" >&5
3746f403ce92Smrgprintf %s "checking whether to build ISO8859-10 fonts... " >&6; }
3747f403ce92Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ISO8859_10" >&5
3748f403ce92Smrgprintf "%s\n" "$ISO8859_10" >&6; }
37499bc46bd4Smrg	 if test "x$ISO8859_10" = xyes; then
37503294c433Smrg  ISO8859_10_TRUE=
37513294c433Smrg  ISO8859_10_FALSE='#'
37523294c433Smrgelse
37533294c433Smrg  ISO8859_10_TRUE='#'
37543294c433Smrg  ISO8859_10_FALSE=
37553294c433Smrgfi
37563294c433Smrg
37573294c433Smrg
37589bc46bd4Smrg	# Check whether --enable-iso8859-13 was given.
3759f403ce92Smrgif test ${enable_iso8859_13+y}
3760f403ce92Smrgthen :
37619bc46bd4Smrg  enableval=$enable_iso8859_13; ISO8859_13=$enableval
37629bc46bd4Smrgfi
37633294c433Smrg
3764f403ce92Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build ISO8859-13 fonts" >&5
3765f403ce92Smrgprintf %s "checking whether to build ISO8859-13 fonts... " >&6; }
3766f403ce92Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ISO8859_13" >&5
3767f403ce92Smrgprintf "%s\n" "$ISO8859_13" >&6; }
37689bc46bd4Smrg	 if test "x$ISO8859_13" = xyes; then
37693294c433Smrg  ISO8859_13_TRUE=
37703294c433Smrg  ISO8859_13_FALSE='#'
37713294c433Smrgelse
37723294c433Smrg  ISO8859_13_TRUE='#'
37733294c433Smrg  ISO8859_13_FALSE=
37743294c433Smrgfi
37753294c433Smrg
37763294c433Smrg
37779bc46bd4Smrg	# Check whether --enable-iso8859-14 was given.
3778f403ce92Smrgif test ${enable_iso8859_14+y}
3779f403ce92Smrgthen :
37809bc46bd4Smrg  enableval=$enable_iso8859_14; ISO8859_14=$enableval
37819bc46bd4Smrgfi
37823294c433Smrg
3783f403ce92Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build ISO8859-14 fonts" >&5
3784f403ce92Smrgprintf %s "checking whether to build ISO8859-14 fonts... " >&6; }
3785f403ce92Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ISO8859_14" >&5
3786f403ce92Smrgprintf "%s\n" "$ISO8859_14" >&6; }
37879bc46bd4Smrg	 if test "x$ISO8859_14" = xyes; then
37883294c433Smrg  ISO8859_14_TRUE=
37893294c433Smrg  ISO8859_14_FALSE='#'
37903294c433Smrgelse
37913294c433Smrg  ISO8859_14_TRUE='#'
37923294c433Smrg  ISO8859_14_FALSE=
37933294c433Smrgfi
37943294c433Smrg
37953294c433Smrg
37969bc46bd4Smrg	# Check whether --enable-iso8859-15 was given.
3797f403ce92Smrgif test ${enable_iso8859_15+y}
3798f403ce92Smrgthen :
37999bc46bd4Smrg  enableval=$enable_iso8859_15; ISO8859_15=$enableval
38009bc46bd4Smrgfi
38013294c433Smrg
3802f403ce92Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build ISO8859-15 fonts" >&5
3803f403ce92Smrgprintf %s "checking whether to build ISO8859-15 fonts... " >&6; }
3804f403ce92Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ISO8859_15" >&5
3805f403ce92Smrgprintf "%s\n" "$ISO8859_15" >&6; }
38069bc46bd4Smrg	 if test "x$ISO8859_15" = xyes; then
38073294c433Smrg  ISO8859_15_TRUE=
38083294c433Smrg  ISO8859_15_FALSE='#'
38093294c433Smrgelse
38103294c433Smrg  ISO8859_15_TRUE='#'
38113294c433Smrg  ISO8859_15_FALSE=
38123294c433Smrgfi
38133294c433Smrg
38143294c433Smrg
38153294c433Smrg
38163294c433Smrg
38179bc46bd4Smrgac_config_files="$ac_config_files Makefile"
38183294c433Smrg
38193294c433Smrgcat >confcache <<\_ACEOF
38203294c433Smrg# This file is a shell script that caches the results of configure
38213294c433Smrg# tests run on this system so they can be shared between configure
38223294c433Smrg# scripts and configure runs, see configure's option --config-cache.
38233294c433Smrg# It is not useful on other systems.  If it contains results you don't
38243294c433Smrg# want to keep, you may remove or edit it.
38253294c433Smrg#
38263294c433Smrg# config.status only pays attention to the cache file if you give it
38273294c433Smrg# the --recheck option to rerun configure.
38283294c433Smrg#
38293294c433Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when
38303294c433Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the
38313294c433Smrg# following values.
38323294c433Smrg
38333294c433Smrg_ACEOF
38343294c433Smrg
38353294c433Smrg# The following way of writing the cache mishandles newlines in values,
38363294c433Smrg# but we know of no workaround that is simple, portable, and efficient.
38379bc46bd4Smrg# So, we kill variables containing newlines.
38383294c433Smrg# Ultrix sh set writes to stderr and can't be redirected directly,
38393294c433Smrg# and sets the high bit in the cache file unless we assign to the vars.
38409bc46bd4Smrg(
38419bc46bd4Smrg  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38429bc46bd4Smrg    eval ac_val=\$$ac_var
38439bc46bd4Smrg    case $ac_val in #(
38449bc46bd4Smrg    *${as_nl}*)
38459bc46bd4Smrg      case $ac_var in #(
3846f403ce92Smrg      *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3847f403ce92Smrgprintf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
38489bc46bd4Smrg      esac
38499bc46bd4Smrg      case $ac_var in #(
38509bc46bd4Smrg      _ | IFS | as_nl) ;; #(
38519bc46bd4Smrg      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3852c41d98afSmrg      *) { eval $ac_var=; unset $ac_var;} ;;
38539bc46bd4Smrg      esac ;;
38549bc46bd4Smrg    esac
38559bc46bd4Smrg  done
38569bc46bd4Smrg
38573294c433Smrg  (set) 2>&1 |
38589bc46bd4Smrg    case $as_nl`(ac_space=' '; set) 2>&1` in #(
38599bc46bd4Smrg    *${as_nl}ac_space=\ *)
3860c41d98afSmrg      # `set' does not quote correctly, so add quotes: double-quote
3861c41d98afSmrg      # substitution turns \\\\ into \\, and sed turns \\ into \.
38623294c433Smrg      sed -n \
38633294c433Smrg	"s/'/'\\\\''/g;
38643294c433Smrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38659bc46bd4Smrg      ;; #(
38663294c433Smrg    *)
38673294c433Smrg      # `set' quotes correctly as required by POSIX, so do not add quotes.
38689bc46bd4Smrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38693294c433Smrg      ;;
38709bc46bd4Smrg    esac |
38719bc46bd4Smrg    sort
38729bc46bd4Smrg) |
38733294c433Smrg  sed '
38749bc46bd4Smrg     /^ac_cv_env_/b end
38753294c433Smrg     t clear
38769bc46bd4Smrg     :clear
3877f403ce92Smrg     s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
38783294c433Smrg     t end
38799bc46bd4Smrg     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38809bc46bd4Smrg     :end' >>confcache
38819bc46bd4Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38829bc46bd4Smrg  if test -w "$cache_file"; then
3883c41d98afSmrg    if test "x$cache_file" != "x/dev/null"; then
3884f403ce92Smrg      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3885f403ce92Smrgprintf "%s\n" "$as_me: updating cache $cache_file" >&6;}
3886c41d98afSmrg      if test ! -f "$cache_file" || test -h "$cache_file"; then
3887c41d98afSmrg	cat confcache >"$cache_file"
3888c41d98afSmrg      else
3889c41d98afSmrg        case $cache_file in #(
3890c41d98afSmrg        */* | ?:*)
3891c41d98afSmrg	  mv -f confcache "$cache_file"$$ &&
3892c41d98afSmrg	  mv -f "$cache_file"$$ "$cache_file" ;; #(
3893c41d98afSmrg        *)
3894c41d98afSmrg	  mv -f confcache "$cache_file" ;;
3895c41d98afSmrg	esac
3896c41d98afSmrg      fi
3897c41d98afSmrg    fi
38983294c433Smrg  else
3899f403ce92Smrg    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3900f403ce92Smrgprintf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
39013294c433Smrg  fi
39023294c433Smrgfi
39033294c433Smrgrm -f confcache
39043294c433Smrg
39053294c433Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix
39063294c433Smrg# Let make expand exec_prefix.
39073294c433Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
39083294c433Smrg
39093294c433Smrg# Transform confdefs.h into DEFS.
39103294c433Smrg# Protect against shell expansion while executing Makefile rules.
39113294c433Smrg# Protect against Makefile macro expansion.
39123294c433Smrg#
39133294c433Smrg# If the first sed substitution is executed (which looks for macros that
39149bc46bd4Smrg# take arguments), then branch to the quote section.  Otherwise,
39153294c433Smrg# look for a macro that doesn't take arguments.
39169bc46bd4Smrgac_script='
39179bc46bd4Smrg:mline
39189bc46bd4Smrg/\\$/{
39199bc46bd4Smrg N
39209bc46bd4Smrg s,\\\n,,
39219bc46bd4Smrg b mline
39229bc46bd4Smrg}
39233294c433Smrgt clear
39249bc46bd4Smrg:clear
39259bc46bd4Smrgs/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
39263294c433Smrgt quote
39279bc46bd4Smrgs/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
39283294c433Smrgt quote
39299bc46bd4Smrgb any
39309bc46bd4Smrg:quote
39319bc46bd4Smrgs/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
39329bc46bd4Smrgs/\[/\\&/g
39339bc46bd4Smrgs/\]/\\&/g
39349bc46bd4Smrgs/\$/$$/g
39359bc46bd4SmrgH
39369bc46bd4Smrg:any
39379bc46bd4Smrg${
39389bc46bd4Smrg	g
39399bc46bd4Smrg	s/^\n//
39409bc46bd4Smrg	s/\n/ /g
39419bc46bd4Smrg	p
39429bc46bd4Smrg}
39439bc46bd4Smrg'
39449bc46bd4SmrgDEFS=`sed -n "$ac_script" confdefs.h`
39453294c433Smrg
39463294c433Smrg
39473294c433Smrgac_libobjs=
39483294c433Smrgac_ltlibobjs=
3949c41d98afSmrgU=
39503294c433Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
39513294c433Smrg  # 1. Remove the extension, and $U if already installed.
39529bc46bd4Smrg  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3953f403ce92Smrg  ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
39549bc46bd4Smrg  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
39559bc46bd4Smrg  #    will be set to the directory where LIBOBJS objects are built.
3956c41d98afSmrg  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3957c41d98afSmrg  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
39583294c433Smrgdone
39593294c433SmrgLIBOBJS=$ac_libobjs
39603294c433Smrg
39613294c433SmrgLTLIBOBJS=$ac_ltlibobjs
39623294c433Smrg
39633294c433Smrg
3964f403ce92Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
3965f403ce92Smrgprintf %s "checking that generated files are newer than configure... " >&6; }
3966f403ce92Smrg   if test -n "$am_sleep_pid"; then
3967f403ce92Smrg     # Hide warnings about reused PIDs.
3968f403ce92Smrg     wait $am_sleep_pid 2>/dev/null
3969f403ce92Smrg   fi
3970f403ce92Smrg   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
3971f403ce92Smrgprintf "%s\n" "done" >&6; }
39729bc46bd4Smrg
39733294c433Smrgif test -z "${ISO8859_1_TRUE}" && test -z "${ISO8859_1_FALSE}"; then
3974c41d98afSmrg  as_fn_error $? "conditional \"ISO8859_1\" was never defined.
3975c41d98afSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
39763294c433Smrgfi
39773294c433Smrgif test -z "${ISO8859_2_TRUE}" && test -z "${ISO8859_2_FALSE}"; then
3978c41d98afSmrg  as_fn_error $? "conditional \"ISO8859_2\" was never defined.
3979c41d98afSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
39803294c433Smrgfi
39813294c433Smrgif test -z "${ISO8859_3_TRUE}" && test -z "${ISO8859_3_FALSE}"; then
3982c41d98afSmrg  as_fn_error $? "conditional \"ISO8859_3\" was never defined.
3983c41d98afSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
39843294c433Smrgfi
39853294c433Smrgif test -z "${ISO8859_4_TRUE}" && test -z "${ISO8859_4_FALSE}"; then
3986c41d98afSmrg  as_fn_error $? "conditional \"ISO8859_4\" was never defined.
3987c41d98afSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
39883294c433Smrgfi
39893294c433Smrgif test -z "${ISO8859_9_TRUE}" && test -z "${ISO8859_9_FALSE}"; then
3990c41d98afSmrg  as_fn_error $? "conditional \"ISO8859_9\" was never defined.
3991c41d98afSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
39923294c433Smrgfi
39933294c433Smrgif test -z "${ISO8859_10_TRUE}" && test -z "${ISO8859_10_FALSE}"; then
3994c41d98afSmrg  as_fn_error $? "conditional \"ISO8859_10\" was never defined.
3995c41d98afSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
39963294c433Smrgfi
39973294c433Smrgif test -z "${ISO8859_13_TRUE}" && test -z "${ISO8859_13_FALSE}"; then
3998c41d98afSmrg  as_fn_error $? "conditional \"ISO8859_13\" was never defined.
3999c41d98afSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
40003294c433Smrgfi
40013294c433Smrgif test -z "${ISO8859_14_TRUE}" && test -z "${ISO8859_14_FALSE}"; then
4002c41d98afSmrg  as_fn_error $? "conditional \"ISO8859_14\" was never defined.
4003c41d98afSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
40043294c433Smrgfi
40053294c433Smrgif test -z "${ISO8859_15_TRUE}" && test -z "${ISO8859_15_FALSE}"; then
4006c41d98afSmrg  as_fn_error $? "conditional \"ISO8859_15\" was never defined.
4007c41d98afSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
40083294c433Smrgfi
40093294c433Smrg
4010c41d98afSmrg: "${CONFIG_STATUS=./config.status}"
40119bc46bd4Smrgac_write_fail=0
40123294c433Smrgac_clean_files_save=$ac_clean_files
40133294c433Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS"
4014f403ce92Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4015f403ce92Smrgprintf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
4016c41d98afSmrgas_write_fail=0
4017c41d98afSmrgcat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
40183294c433Smrg#! $SHELL
40193294c433Smrg# Generated by $as_me.
40203294c433Smrg# Run this file to recreate the current configuration.
40213294c433Smrg# Compiler output produced by configure, useful for debugging
40223294c433Smrg# configure, is in config.log if it exists.
40233294c433Smrg
40243294c433Smrgdebug=false
40253294c433Smrgac_cs_recheck=false
40263294c433Smrgac_cs_silent=false
40273294c433Smrg
4028c41d98afSmrgSHELL=\${CONFIG_SHELL-$SHELL}
4029c41d98afSmrgexport SHELL
4030c41d98afSmrg_ASEOF
4031c41d98afSmrgcat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4032c41d98afSmrg## -------------------- ##
4033c41d98afSmrg## M4sh Initialization. ##
4034c41d98afSmrg## -------------------- ##
40353294c433Smrg
40369bc46bd4Smrg# Be more Bourne compatible
40379bc46bd4SmrgDUALCASE=1; export DUALCASE # for MKS sh
4038f403ce92Smrgas_nop=:
4039f403ce92Smrgif test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
4040f403ce92Smrgthen :
40413294c433Smrg  emulate sh
40423294c433Smrg  NULLCMD=:
40439bc46bd4Smrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
40443294c433Smrg  # is contrary to our usage.  Disable this feature.
40453294c433Smrg  alias -g '${1+"$@"}'='"$@"'
40469bc46bd4Smrg  setopt NO_GLOB_SUBST
4047f403ce92Smrgelse $as_nop
4048c41d98afSmrg  case `(set -o) 2>/dev/null` in #(
4049c41d98afSmrg  *posix*) :
4050c41d98afSmrg    set -o posix ;; #(
4051c41d98afSmrg  *) :
4052c41d98afSmrg     ;;
40539bc46bd4Smrgesac
40549bc46bd4Smrgfi
40559bc46bd4Smrg
40569bc46bd4Smrg
4057f403ce92Smrg
4058f403ce92Smrg# Reset variables that may have inherited troublesome values from
4059f403ce92Smrg# the environment.
4060f403ce92Smrg
4061f403ce92Smrg# IFS needs to be set, to space, tab, and newline, in precisely that order.
4062f403ce92Smrg# (If _AS_PATH_WALK were called with IFS unset, it would have the
4063f403ce92Smrg# side effect of setting IFS to empty, thus disabling word splitting.)
4064f403ce92Smrg# Quoting is to prevent editors from complaining about space-tab.
40659bc46bd4Smrgas_nl='
40669bc46bd4Smrg'
40679bc46bd4Smrgexport as_nl
4068f403ce92SmrgIFS=" ""	$as_nl"
4069f403ce92Smrg
4070f403ce92SmrgPS1='$ '
4071f403ce92SmrgPS2='> '
4072f403ce92SmrgPS4='+ '
4073f403ce92Smrg
4074f403ce92Smrg# Ensure predictable behavior from utilities with locale-dependent output.
4075f403ce92SmrgLC_ALL=C
4076f403ce92Smrgexport LC_ALL
4077f403ce92SmrgLANGUAGE=C
4078f403ce92Smrgexport LANGUAGE
4079f403ce92Smrg
4080f403ce92Smrg# We cannot yet rely on "unset" to work, but we need these variables
4081f403ce92Smrg# to be unset--not just set to an empty or harmless value--now, to
4082f403ce92Smrg# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
4083f403ce92Smrg# also avoids known problems related to "unset" and subshell syntax
4084f403ce92Smrg# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
4085f403ce92Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
4086f403ce92Smrgdo eval test \${$as_var+y} \
4087f403ce92Smrg  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4088f403ce92Smrgdone
4089f403ce92Smrg
4090f403ce92Smrg# Ensure that fds 0, 1, and 2 are open.
4091f403ce92Smrgif (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
4092f403ce92Smrgif (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
4093f403ce92Smrgif (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
40949bc46bd4Smrg
40959bc46bd4Smrg# The user is always right.
4096f403ce92Smrgif ${PATH_SEPARATOR+false} :; then
40979bc46bd4Smrg  PATH_SEPARATOR=:
40989bc46bd4Smrg  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
40999bc46bd4Smrg    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
41009bc46bd4Smrg      PATH_SEPARATOR=';'
41019bc46bd4Smrg  }
41023294c433Smrgfi
41033294c433Smrg
41043294c433Smrg
41059bc46bd4Smrg# Find who we are.  Look in the path if we contain no directory separator.
4106c41d98afSmrgas_myself=
4107c41d98afSmrgcase $0 in #((
41089bc46bd4Smrg  *[\\/]* ) as_myself=$0 ;;
41099bc46bd4Smrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41109bc46bd4Smrgfor as_dir in $PATH
41119bc46bd4Smrgdo
41129bc46bd4Smrg  IFS=$as_save_IFS
4113f403ce92Smrg  case $as_dir in #(((
4114f403ce92Smrg    '') as_dir=./ ;;
4115f403ce92Smrg    */) ;;
4116f403ce92Smrg    *) as_dir=$as_dir/ ;;
4117f403ce92Smrg  esac
4118f403ce92Smrg    test -r "$as_dir$0" && as_myself=$as_dir$0 && break
4119c41d98afSmrg  done
41209bc46bd4SmrgIFS=$as_save_IFS
41219bc46bd4Smrg
41229bc46bd4Smrg     ;;
41239bc46bd4Smrgesac
41249bc46bd4Smrg# We did not find ourselves, most probably we were run as `sh COMMAND'
41259bc46bd4Smrg# in which case we are not to be found in the path.
41269bc46bd4Smrgif test "x$as_myself" = x; then
41279bc46bd4Smrg  as_myself=$0
41289bc46bd4Smrgfi
41299bc46bd4Smrgif test ! -f "$as_myself"; then
4130f403ce92Smrg  printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4131c41d98afSmrg  exit 1
41329bc46bd4Smrgfi
41339bc46bd4Smrg
4134c41d98afSmrg
4135c41d98afSmrg
4136c41d98afSmrg# as_fn_error STATUS ERROR [LINENO LOG_FD]
4137c41d98afSmrg# ----------------------------------------
4138c41d98afSmrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4139c41d98afSmrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4140c41d98afSmrg# script with STATUS, using 1 if that was 0.
4141c41d98afSmrgas_fn_error ()
4142c41d98afSmrg{
4143c41d98afSmrg  as_status=$1; test $as_status -eq 0 && as_status=1
4144c41d98afSmrg  if test "$4"; then
4145c41d98afSmrg    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4146f403ce92Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4147c41d98afSmrg  fi
4148f403ce92Smrg  printf "%s\n" "$as_me: error: $2" >&2
4149c41d98afSmrg  as_fn_exit $as_status
4150c41d98afSmrg} # as_fn_error
4151c41d98afSmrg
4152c41d98afSmrg
4153f403ce92Smrg
4154c41d98afSmrg# as_fn_set_status STATUS
4155c41d98afSmrg# -----------------------
4156c41d98afSmrg# Set $? to STATUS, without forking.
4157c41d98afSmrgas_fn_set_status ()
4158c41d98afSmrg{
4159c41d98afSmrg  return $1
4160c41d98afSmrg} # as_fn_set_status
4161c41d98afSmrg
4162c41d98afSmrg# as_fn_exit STATUS
4163c41d98afSmrg# -----------------
4164c41d98afSmrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4165c41d98afSmrgas_fn_exit ()
4166c41d98afSmrg{
4167c41d98afSmrg  set +e
4168c41d98afSmrg  as_fn_set_status $1
4169c41d98afSmrg  exit $1
4170c41d98afSmrg} # as_fn_exit
4171c41d98afSmrg
4172c41d98afSmrg# as_fn_unset VAR
4173c41d98afSmrg# ---------------
4174c41d98afSmrg# Portably unset VAR.
4175c41d98afSmrgas_fn_unset ()
4176c41d98afSmrg{
4177c41d98afSmrg  { eval $1=; unset $1;}
4178c41d98afSmrg}
4179c41d98afSmrgas_unset=as_fn_unset
4180f403ce92Smrg
4181c41d98afSmrg# as_fn_append VAR VALUE
4182c41d98afSmrg# ----------------------
4183c41d98afSmrg# Append the text in VALUE to the end of the definition contained in VAR. Take
4184c41d98afSmrg# advantage of any shell optimizations that allow amortized linear growth over
4185c41d98afSmrg# repeated appends, instead of the typical quadratic growth present in naive
4186c41d98afSmrg# implementations.
4187f403ce92Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
4188f403ce92Smrgthen :
4189c41d98afSmrg  eval 'as_fn_append ()
4190c41d98afSmrg  {
4191c41d98afSmrg    eval $1+=\$2
4192c41d98afSmrg  }'
4193f403ce92Smrgelse $as_nop
4194c41d98afSmrg  as_fn_append ()
4195c41d98afSmrg  {
4196c41d98afSmrg    eval $1=\$$1\$2
4197c41d98afSmrg  }
4198c41d98afSmrgfi # as_fn_append
4199c41d98afSmrg
4200c41d98afSmrg# as_fn_arith ARG...
4201c41d98afSmrg# ------------------
4202c41d98afSmrg# Perform arithmetic evaluation on the ARGs, and store the result in the
4203c41d98afSmrg# global $as_val. Take advantage of shells that can avoid forks. The arguments
4204c41d98afSmrg# must be portable across $(()) and expr.
4205f403ce92Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
4206f403ce92Smrgthen :
4207c41d98afSmrg  eval 'as_fn_arith ()
4208c41d98afSmrg  {
4209c41d98afSmrg    as_val=$(( $* ))
4210c41d98afSmrg  }'
4211f403ce92Smrgelse $as_nop
4212c41d98afSmrg  as_fn_arith ()
4213c41d98afSmrg  {
4214c41d98afSmrg    as_val=`expr "$@" || test $? -eq 1`
4215c41d98afSmrg  }
4216c41d98afSmrgfi # as_fn_arith
4217c41d98afSmrg
4218c41d98afSmrg
42199bc46bd4Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
42209bc46bd4Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
42213294c433Smrg  as_expr=expr
42223294c433Smrgelse
42233294c433Smrg  as_expr=false
42243294c433Smrgfi
42253294c433Smrg
42269bc46bd4Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
42273294c433Smrg  as_basename=basename
42283294c433Smrgelse
42293294c433Smrg  as_basename=false
42303294c433Smrgfi
42313294c433Smrg
4232c41d98afSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4233c41d98afSmrg  as_dirname=dirname
4234c41d98afSmrgelse
4235c41d98afSmrg  as_dirname=false
4236c41d98afSmrgfi
42373294c433Smrg
42389bc46bd4Smrgas_me=`$as_basename -- "$0" ||
42393294c433Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
42403294c433Smrg	 X"$0" : 'X\(//\)$' \| \
42419bc46bd4Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4242f403ce92Smrgprintf "%s\n" X/"$0" |
42439bc46bd4Smrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
42449bc46bd4Smrg	    s//\1/
42459bc46bd4Smrg	    q
42469bc46bd4Smrg	  }
42479bc46bd4Smrg	  /^X\/\(\/\/\)$/{
42489bc46bd4Smrg	    s//\1/
42499bc46bd4Smrg	    q
42509bc46bd4Smrg	  }
42519bc46bd4Smrg	  /^X\/\(\/\).*/{
42529bc46bd4Smrg	    s//\1/
42539bc46bd4Smrg	    q
42549bc46bd4Smrg	  }
42559bc46bd4Smrg	  s/.*/./; q'`
42563294c433Smrg
4257c41d98afSmrg# Avoid depending upon Character Ranges.
4258c41d98afSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
4259c41d98afSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4260c41d98afSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
4261c41d98afSmrgas_cr_digits='0123456789'
4262c41d98afSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits
42633294c433Smrg
4264f403ce92Smrg
4265f403ce92Smrg# Determine whether it's possible to make 'echo' print without a newline.
4266f403ce92Smrg# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
4267f403ce92Smrg# for compatibility with existing Makefiles.
42689bc46bd4SmrgECHO_C= ECHO_N= ECHO_T=
4269c41d98afSmrgcase `echo -n x` in #(((((
42709bc46bd4Smrg-n*)
4271c41d98afSmrg  case `echo 'xy\c'` in
42729bc46bd4Smrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
4273c41d98afSmrg  xy)  ECHO_C='\c';;
4274c41d98afSmrg  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
4275c41d98afSmrg       ECHO_T='	';;
42769bc46bd4Smrg  esac;;
42779bc46bd4Smrg*)
42789bc46bd4Smrg  ECHO_N='-n';;
42799bc46bd4Smrgesac
42803294c433Smrg
4281f403ce92Smrg# For backward compatibility with old third-party macros, we provide
4282f403ce92Smrg# the shell variables $as_echo and $as_echo_n.  New code should use
4283f403ce92Smrg# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
4284f403ce92Smrgas_echo='printf %s\n'
4285f403ce92Smrgas_echo_n='printf %s'
4286f403ce92Smrg
42873294c433Smrgrm -f conf$$ conf$$.exe conf$$.file
42889bc46bd4Smrgif test -d conf$$.dir; then
42899bc46bd4Smrg  rm -f conf$$.dir/conf$$.file
42909bc46bd4Smrgelse
42919bc46bd4Smrg  rm -f conf$$.dir
42929bc46bd4Smrg  mkdir conf$$.dir 2>/dev/null
42939bc46bd4Smrgfi
42949bc46bd4Smrgif (echo >conf$$.file) 2>/dev/null; then
42959bc46bd4Smrg  if ln -s conf$$.file conf$$ 2>/dev/null; then
42963294c433Smrg    as_ln_s='ln -s'
42979bc46bd4Smrg    # ... but there are two gotchas:
42989bc46bd4Smrg    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
42999bc46bd4Smrg    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4300f403ce92Smrg    # In both cases, we have to default to `cp -pR'.
43019bc46bd4Smrg    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4302f403ce92Smrg      as_ln_s='cp -pR'
43039bc46bd4Smrg  elif ln conf$$.file conf$$ 2>/dev/null; then
43049bc46bd4Smrg    as_ln_s=ln
43059bc46bd4Smrg  else
4306f403ce92Smrg    as_ln_s='cp -pR'
43073294c433Smrg  fi
43083294c433Smrgelse
4309f403ce92Smrg  as_ln_s='cp -pR'
43103294c433Smrgfi
43119bc46bd4Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
43129bc46bd4Smrgrmdir conf$$.dir 2>/dev/null
43133294c433Smrg
4314c41d98afSmrg
4315c41d98afSmrg# as_fn_mkdir_p
4316c41d98afSmrg# -------------
4317c41d98afSmrg# Create "$as_dir" as a directory, including parents if necessary.
4318c41d98afSmrgas_fn_mkdir_p ()
4319c41d98afSmrg{
4320c41d98afSmrg
4321c41d98afSmrg  case $as_dir in #(
4322c41d98afSmrg  -*) as_dir=./$as_dir;;
4323c41d98afSmrg  esac
4324c41d98afSmrg  test -d "$as_dir" || eval $as_mkdir_p || {
4325c41d98afSmrg    as_dirs=
4326c41d98afSmrg    while :; do
4327c41d98afSmrg      case $as_dir in #(
4328f403ce92Smrg      *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4329c41d98afSmrg      *) as_qdir=$as_dir;;
4330c41d98afSmrg      esac
4331c41d98afSmrg      as_dirs="'$as_qdir' $as_dirs"
4332c41d98afSmrg      as_dir=`$as_dirname -- "$as_dir" ||
4333c41d98afSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4334c41d98afSmrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
4335c41d98afSmrg	 X"$as_dir" : 'X\(//\)$' \| \
4336c41d98afSmrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4337f403ce92Smrgprintf "%s\n" X"$as_dir" |
4338c41d98afSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4339c41d98afSmrg	    s//\1/
4340c41d98afSmrg	    q
4341c41d98afSmrg	  }
4342c41d98afSmrg	  /^X\(\/\/\)[^/].*/{
4343c41d98afSmrg	    s//\1/
4344c41d98afSmrg	    q
4345c41d98afSmrg	  }
4346c41d98afSmrg	  /^X\(\/\/\)$/{
4347c41d98afSmrg	    s//\1/
4348c41d98afSmrg	    q
4349c41d98afSmrg	  }
4350c41d98afSmrg	  /^X\(\/\).*/{
4351c41d98afSmrg	    s//\1/
4352c41d98afSmrg	    q
4353c41d98afSmrg	  }
4354c41d98afSmrg	  s/.*/./; q'`
4355c41d98afSmrg      test -d "$as_dir" && break
4356c41d98afSmrg    done
4357c41d98afSmrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
4358c41d98afSmrg  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4359c41d98afSmrg
4360c41d98afSmrg
4361c41d98afSmrg} # as_fn_mkdir_p
43623294c433Smrgif mkdir -p . 2>/dev/null; then
4363c41d98afSmrg  as_mkdir_p='mkdir -p "$as_dir"'
43643294c433Smrgelse
43653294c433Smrg  test -d ./-p && rmdir ./-p
43663294c433Smrg  as_mkdir_p=false
43673294c433Smrgfi
43683294c433Smrg
4369f403ce92Smrg
4370f403ce92Smrg# as_fn_executable_p FILE
4371f403ce92Smrg# -----------------------
4372f403ce92Smrg# Test if FILE is an executable regular file.
4373f403ce92Smrgas_fn_executable_p ()
4374f403ce92Smrg{
4375f403ce92Smrg  test -f "$1" && test -x "$1"
4376f403ce92Smrg} # as_fn_executable_p
4377f403ce92Smrgas_test_x='test -x'
4378f403ce92Smrgas_executable_p=as_fn_executable_p
43793294c433Smrg
43803294c433Smrg# Sed expression to map a string onto a valid CPP name.
43813294c433Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
43823294c433Smrg
43833294c433Smrg# Sed expression to map a string onto a valid variable name.
43843294c433Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
43853294c433Smrg
43863294c433Smrg
43873294c433Smrgexec 6>&1
4388c41d98afSmrg## ----------------------------------- ##
4389c41d98afSmrg## Main body of $CONFIG_STATUS script. ##
4390c41d98afSmrg## ----------------------------------- ##
4391c41d98afSmrg_ASEOF
4392c41d98afSmrgtest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
43933294c433Smrg
4394c41d98afSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4395c41d98afSmrg# Save the log message, to keep $0 and so on meaningful, and to
43963294c433Smrg# report actual input values of CONFIG_FILES etc. instead of their
43979bc46bd4Smrg# values after options handling.
43989bc46bd4Smrgac_log="
4399f403ce92SmrgThis file was extended by font-bh-100dpi $as_me 1.0.4, which was
4400f403ce92Smrggenerated by GNU Autoconf 2.71.  Invocation command line was
44013294c433Smrg
44023294c433Smrg  CONFIG_FILES    = $CONFIG_FILES
44033294c433Smrg  CONFIG_HEADERS  = $CONFIG_HEADERS
44043294c433Smrg  CONFIG_LINKS    = $CONFIG_LINKS
44053294c433Smrg  CONFIG_COMMANDS = $CONFIG_COMMANDS
44063294c433Smrg  $ $0 $@
44073294c433Smrg
44089bc46bd4Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q`
44099bc46bd4Smrg"
44109bc46bd4Smrg
44113294c433Smrg_ACEOF
44123294c433Smrg
44139bc46bd4Smrgcase $ac_config_files in *"
44149bc46bd4Smrg"*) set x $ac_config_files; shift; ac_config_files=$*;;
44159bc46bd4Smrgesac
44163294c433Smrg
44173294c433Smrg
44183294c433Smrg
44199bc46bd4Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
44209bc46bd4Smrg# Files that config.status was made for.
44219bc46bd4Smrgconfig_files="$ac_config_files"
44223294c433Smrg
44239bc46bd4Smrg_ACEOF
44243294c433Smrg
44259bc46bd4Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
44263294c433Smrgac_cs_usage="\
4427c41d98afSmrg\`$as_me' instantiates files and other configuration actions
4428c41d98afSmrgfrom templates according to the current configuration.  Unless the files
4429c41d98afSmrgand actions are specified as TAGs, all are instantiated by default.
44303294c433Smrg
4431c41d98afSmrgUsage: $0 [OPTION]... [TAG]...
44323294c433Smrg
44333294c433Smrg  -h, --help       print this help, then exit
44349bc46bd4Smrg  -V, --version    print version number and configuration settings, then exit
4435c41d98afSmrg      --config     print configuration, then exit
44369bc46bd4Smrg  -q, --quiet, --silent
44379bc46bd4Smrg                   do not print progress messages
44383294c433Smrg  -d, --debug      don't remove temporary files
44393294c433Smrg      --recheck    update $as_me by reconfiguring in the same conditions
44409bc46bd4Smrg      --file=FILE[:TEMPLATE]
44419bc46bd4Smrg                   instantiate the configuration file FILE
44423294c433Smrg
44433294c433SmrgConfiguration files:
44443294c433Smrg$config_files
44453294c433Smrg
4446f403ce92SmrgReport bugs to <https://gitlab.freedesktop.org/xorg/font/bh-100dpi/-/issues>."
44473294c433Smrg
44489bc46bd4Smrg_ACEOF
4449f403ce92Smrgac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
4450f403ce92Smrgac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
44519bc46bd4Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4452f403ce92Smrgac_cs_config='$ac_cs_config_escaped'
44533294c433Smrgac_cs_version="\\
4454f403ce92Smrgfont-bh-100dpi config.status 1.0.4
4455f403ce92Smrgconfigured by $0, generated by GNU Autoconf 2.71,
4456c41d98afSmrg  with options \\"\$ac_cs_config\\"
44573294c433Smrg
4458f403ce92SmrgCopyright (C) 2021 Free Software Foundation, Inc.
44593294c433SmrgThis config.status script is free software; the Free Software Foundation
44603294c433Smrggives unlimited permission to copy, distribute and modify it."
44619bc46bd4Smrg
44629bc46bd4Smrgac_pwd='$ac_pwd'
44639bc46bd4Smrgsrcdir='$srcdir'
44649bc46bd4SmrgINSTALL='$INSTALL'
44659bc46bd4SmrgMKDIR_P='$MKDIR_P'
44669bc46bd4SmrgAWK='$AWK'
44679bc46bd4Smrgtest -n "\$AWK" || AWK=awk
44683294c433Smrg_ACEOF
44693294c433Smrg
44709bc46bd4Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
44719bc46bd4Smrg# The default lists apply if the user does not specify any file.
44723294c433Smrgac_need_defaults=:
44733294c433Smrgwhile test $# != 0
44743294c433Smrgdo
44753294c433Smrg  case $1 in
4476c41d98afSmrg  --*=?*)
44779bc46bd4Smrg    ac_option=`expr "X$1" : 'X\([^=]*\)='`
44789bc46bd4Smrg    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
44793294c433Smrg    ac_shift=:
44803294c433Smrg    ;;
4481c41d98afSmrg  --*=)
4482c41d98afSmrg    ac_option=`expr "X$1" : 'X\([^=]*\)='`
4483c41d98afSmrg    ac_optarg=
4484c41d98afSmrg    ac_shift=:
4485c41d98afSmrg    ;;
44869bc46bd4Smrg  *)
44873294c433Smrg    ac_option=$1
44883294c433Smrg    ac_optarg=$2
44893294c433Smrg    ac_shift=shift
44903294c433Smrg    ;;
44913294c433Smrg  esac
44923294c433Smrg
44933294c433Smrg  case $ac_option in
44943294c433Smrg  # Handling of the options.
44953294c433Smrg  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
44963294c433Smrg    ac_cs_recheck=: ;;
44979bc46bd4Smrg  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4498f403ce92Smrg    printf "%s\n" "$ac_cs_version"; exit ;;
4499c41d98afSmrg  --config | --confi | --conf | --con | --co | --c )
4500f403ce92Smrg    printf "%s\n" "$ac_cs_config"; exit ;;
45019bc46bd4Smrg  --debug | --debu | --deb | --de | --d | -d )
45023294c433Smrg    debug=: ;;
45033294c433Smrg  --file | --fil | --fi | --f )
45043294c433Smrg    $ac_shift
45059bc46bd4Smrg    case $ac_optarg in
4506f403ce92Smrg    *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4507c41d98afSmrg    '') as_fn_error $? "missing file argument" ;;
45089bc46bd4Smrg    esac
4509c41d98afSmrg    as_fn_append CONFIG_FILES " '$ac_optarg'"
45103294c433Smrg    ac_need_defaults=false;;
45119bc46bd4Smrg  --he | --h |  --help | --hel | -h )
4512f403ce92Smrg    printf "%s\n" "$ac_cs_usage"; exit ;;
45133294c433Smrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
45143294c433Smrg  | -silent | --silent | --silen | --sile | --sil | --si | --s)
45153294c433Smrg    ac_cs_silent=: ;;
45163294c433Smrg
45173294c433Smrg  # This is an error.
4518c41d98afSmrg  -*) as_fn_error $? "unrecognized option: \`$1'
4519c41d98afSmrgTry \`$0 --help' for more information." ;;
45203294c433Smrg
4521c41d98afSmrg  *) as_fn_append ac_config_targets " $1"
45229bc46bd4Smrg     ac_need_defaults=false ;;
45233294c433Smrg
45243294c433Smrg  esac
45253294c433Smrg  shift
45263294c433Smrgdone
45273294c433Smrg
45283294c433Smrgac_configure_extra_args=
45293294c433Smrg
45303294c433Smrgif $ac_cs_silent; then
45313294c433Smrg  exec 6>/dev/null
45323294c433Smrg  ac_configure_extra_args="$ac_configure_extra_args --silent"
45333294c433Smrgfi
45343294c433Smrg
45353294c433Smrg_ACEOF
45369bc46bd4Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
45373294c433Smrgif \$ac_cs_recheck; then
4538f403ce92Smrg  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
45399bc46bd4Smrg  shift
4540f403ce92Smrg  \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
45419bc46bd4Smrg  CONFIG_SHELL='$SHELL'
45429bc46bd4Smrg  export CONFIG_SHELL
45439bc46bd4Smrg  exec "\$@"
45443294c433Smrgfi
45453294c433Smrg
45463294c433Smrg_ACEOF
45479bc46bd4Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
45489bc46bd4Smrgexec 5>>config.log
45499bc46bd4Smrg{
45509bc46bd4Smrg  echo
45519bc46bd4Smrg  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
45529bc46bd4Smrg## Running $as_me. ##
45539bc46bd4Smrg_ASBOX
4554f403ce92Smrg  printf "%s\n" "$ac_log"
45559bc46bd4Smrg} >&5
45563294c433Smrg
45579bc46bd4Smrg_ACEOF
45589bc46bd4Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
45599bc46bd4Smrg_ACEOF
45603294c433Smrg
45619bc46bd4Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
45623294c433Smrg
45639bc46bd4Smrg# Handling of arguments.
45643294c433Smrgfor ac_config_target in $ac_config_targets
45653294c433Smrgdo
45669bc46bd4Smrg  case $ac_config_target in
45679bc46bd4Smrg    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
45689bc46bd4Smrg
4569c41d98afSmrg  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
45703294c433Smrg  esac
45713294c433Smrgdone
45723294c433Smrg
45739bc46bd4Smrg
45743294c433Smrg# If the user did not use the arguments to specify the items to instantiate,
45753294c433Smrg# then the envvar interface is used.  Set only those that are not.
45763294c433Smrg# We use the long form for the default assignment because of an extremely
45773294c433Smrg# bizarre bug on SunOS 4.1.3.
45783294c433Smrgif $ac_need_defaults; then
4579f403ce92Smrg  test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
45803294c433Smrgfi
45813294c433Smrg
45823294c433Smrg# Have a temporary directory for convenience.  Make it in the build tree
45839bc46bd4Smrg# simply because there is no reason against having it here, and in addition,
45843294c433Smrg# creating and moving files from /tmp can sometimes cause problems.
45859bc46bd4Smrg# Hook for its removal unless debugging.
45869bc46bd4Smrg# Note that there is a small window in which the directory will not be cleaned:
45879bc46bd4Smrg# after its creation but before its name has been assigned to `$tmp'.
45883294c433Smrg$debug ||
45893294c433Smrg{
4590c41d98afSmrg  tmp= ac_tmp=
45919bc46bd4Smrg  trap 'exit_status=$?
4592c41d98afSmrg  : "${ac_tmp:=$tmp}"
4593c41d98afSmrg  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
45949bc46bd4Smrg' 0
4595c41d98afSmrg  trap 'as_fn_exit 1' 1 2 13 15
45963294c433Smrg}
45973294c433Smrg# Create a (secure) tmp directory for tmp files.
45983294c433Smrg
45993294c433Smrg{
46009bc46bd4Smrg  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4601c41d98afSmrg  test -d "$tmp"
46023294c433Smrg}  ||
46033294c433Smrg{
46049bc46bd4Smrg  tmp=./conf$$-$RANDOM
46059bc46bd4Smrg  (umask 077 && mkdir "$tmp")
4606c41d98afSmrg} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4607c41d98afSmrgac_tmp=$tmp
46083294c433Smrg
46099bc46bd4Smrg# Set up the scripts for CONFIG_FILES section.
46109bc46bd4Smrg# No need to generate them if there are no CONFIG_FILES.
46119bc46bd4Smrg# This happens for instance with `./config.status config.h'.
46129bc46bd4Smrgif test -n "$CONFIG_FILES"; then
46139bc46bd4Smrg
46149bc46bd4Smrg
4615c41d98afSmrgac_cr=`echo X | tr X '\015'`
4616c41d98afSmrg# On cygwin, bash can eat \r inside `` if the user requested igncr.
4617c41d98afSmrg# But we know of no other shell where ac_cr would be empty at this
4618c41d98afSmrg# point, so we can use a bashism as a fallback.
4619c41d98afSmrgif test "x$ac_cr" = x; then
4620c41d98afSmrg  eval ac_cr=\$\'\\r\'
4621c41d98afSmrgfi
46229bc46bd4Smrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
46239bc46bd4Smrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
46249bc46bd4Smrg  ac_cs_awk_cr='\\r'
46259bc46bd4Smrgelse
46269bc46bd4Smrg  ac_cs_awk_cr=$ac_cr
46279bc46bd4Smrgfi
46289bc46bd4Smrg
4629c41d98afSmrgecho 'BEGIN {' >"$ac_tmp/subs1.awk" &&
46303294c433Smrg_ACEOF
46313294c433Smrg
46323294c433Smrg
46339bc46bd4Smrg{
46349bc46bd4Smrg  echo "cat >conf$$subs.awk <<_ACEOF" &&
46359bc46bd4Smrg  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
46369bc46bd4Smrg  echo "_ACEOF"
46379bc46bd4Smrg} >conf$$subs.sh ||
4638c41d98afSmrg  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4639c41d98afSmrgac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
46409bc46bd4Smrgac_delim='%!_!# '
46419bc46bd4Smrgfor ac_last_try in false false false false false :; do
46429bc46bd4Smrg  . ./conf$$subs.sh ||
4643c41d98afSmrg    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
46443294c433Smrg
46459bc46bd4Smrg  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
46469bc46bd4Smrg  if test $ac_delim_n = $ac_delim_num; then
46479bc46bd4Smrg    break
46489bc46bd4Smrg  elif $ac_last_try; then
4649c41d98afSmrg    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
46509bc46bd4Smrg  else
46519bc46bd4Smrg    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
46523294c433Smrg  fi
46539bc46bd4Smrgdone
46549bc46bd4Smrgrm -f conf$$subs.sh
46553294c433Smrg
46569bc46bd4Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4657c41d98afSmrgcat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
46583294c433Smrg_ACEOF
46599bc46bd4Smrgsed -n '
46609bc46bd4Smrgh
46619bc46bd4Smrgs/^/S["/; s/!.*/"]=/
46629bc46bd4Smrgp
46639bc46bd4Smrgg
46649bc46bd4Smrgs/^[^!]*!//
46659bc46bd4Smrg:repl
46669bc46bd4Smrgt repl
46679bc46bd4Smrgs/'"$ac_delim"'$//
46689bc46bd4Smrgt delim
46699bc46bd4Smrg:nl
46709bc46bd4Smrgh
4671c41d98afSmrgs/\(.\{148\}\)..*/\1/
46729bc46bd4Smrgt more1
46739bc46bd4Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
46749bc46bd4Smrgp
46759bc46bd4Smrgn
46769bc46bd4Smrgb repl
46779bc46bd4Smrg:more1
46789bc46bd4Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/
46799bc46bd4Smrgp
46809bc46bd4Smrgg
46819bc46bd4Smrgs/.\{148\}//
46829bc46bd4Smrgt nl
46839bc46bd4Smrg:delim
46849bc46bd4Smrgh
4685c41d98afSmrgs/\(.\{148\}\)..*/\1/
46869bc46bd4Smrgt more2
46879bc46bd4Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/
46889bc46bd4Smrgp
46899bc46bd4Smrgb
46909bc46bd4Smrg:more2
46919bc46bd4Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/
46929bc46bd4Smrgp
46939bc46bd4Smrgg
46949bc46bd4Smrgs/.\{148\}//
46959bc46bd4Smrgt delim
46969bc46bd4Smrg' <conf$$subs.awk | sed '
46979bc46bd4Smrg/^[^""]/{
46989bc46bd4Smrg  N
46999bc46bd4Smrg  s/\n//
47009bc46bd4Smrg}
47019bc46bd4Smrg' >>$CONFIG_STATUS || ac_write_fail=1
47029bc46bd4Smrgrm -f conf$$subs.awk
47039bc46bd4Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
47049bc46bd4Smrg_ACAWK
4705c41d98afSmrgcat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
47069bc46bd4Smrg  for (key in S) S_is_set[key] = 1
47079bc46bd4Smrg  FS = ""
47089bc46bd4Smrg
47099bc46bd4Smrg}
47109bc46bd4Smrg{
47119bc46bd4Smrg  line = $ 0
47129bc46bd4Smrg  nfields = split(line, field, "@")
47139bc46bd4Smrg  substed = 0
47149bc46bd4Smrg  len = length(field[1])
47159bc46bd4Smrg  for (i = 2; i < nfields; i++) {
47169bc46bd4Smrg    key = field[i]
47179bc46bd4Smrg    keylen = length(key)
47189bc46bd4Smrg    if (S_is_set[key]) {
47199bc46bd4Smrg      value = S[key]
47209bc46bd4Smrg      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
47219bc46bd4Smrg      len += length(value) + length(field[++i])
47229bc46bd4Smrg      substed = 1
47239bc46bd4Smrg    } else
47249bc46bd4Smrg      len += 1 + keylen
47259bc46bd4Smrg  }
47269bc46bd4Smrg
47279bc46bd4Smrg  print line
47289bc46bd4Smrg}
47299bc46bd4Smrg
47309bc46bd4Smrg_ACAWK
47319bc46bd4Smrg_ACEOF
47329bc46bd4Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
47339bc46bd4Smrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
47349bc46bd4Smrg  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
47359bc46bd4Smrgelse
47369bc46bd4Smrg  cat
4737c41d98afSmrgfi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4738c41d98afSmrg  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
47399bc46bd4Smrg_ACEOF
47409bc46bd4Smrg
4741c41d98afSmrg# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4742c41d98afSmrg# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
47439bc46bd4Smrg# trailing colons and then remove the whole line if VPATH becomes empty
47449bc46bd4Smrg# (actually we leave an empty line to preserve line numbers).
47459bc46bd4Smrgif test "x$srcdir" = x.; then
4746c41d98afSmrg  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
4747c41d98afSmrgh
4748c41d98afSmrgs///
4749c41d98afSmrgs/^/:/
4750c41d98afSmrgs/[	 ]*$/:/
4751c41d98afSmrgs/:\$(srcdir):/:/g
4752c41d98afSmrgs/:\${srcdir}:/:/g
4753c41d98afSmrgs/:@srcdir@:/:/g
4754c41d98afSmrgs/^:*//
47559bc46bd4Smrgs/:*$//
4756c41d98afSmrgx
4757c41d98afSmrgs/\(=[	 ]*\).*/\1/
4758c41d98afSmrgG
4759c41d98afSmrgs/\n//
47609bc46bd4Smrgs/^[^=]*=[	 ]*$//
47619bc46bd4Smrg}'
47629bc46bd4Smrgfi
47639bc46bd4Smrg
47649bc46bd4Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
47659bc46bd4Smrgfi # test -n "$CONFIG_FILES"
47669bc46bd4Smrg
47679bc46bd4Smrg
4768f403ce92Smrgeval set X "  :F $CONFIG_FILES      "
47699bc46bd4Smrgshift
47709bc46bd4Smrgfor ac_tag
47719bc46bd4Smrgdo
47729bc46bd4Smrg  case $ac_tag in
47739bc46bd4Smrg  :[FHLC]) ac_mode=$ac_tag; continue;;
47749bc46bd4Smrg  esac
47759bc46bd4Smrg  case $ac_mode$ac_tag in
47769bc46bd4Smrg  :[FHL]*:*);;
4777c41d98afSmrg  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
47789bc46bd4Smrg  :[FH]-) ac_tag=-:-;;
47799bc46bd4Smrg  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
47809bc46bd4Smrg  esac
47819bc46bd4Smrg  ac_save_IFS=$IFS
47829bc46bd4Smrg  IFS=:
47839bc46bd4Smrg  set x $ac_tag
47849bc46bd4Smrg  IFS=$ac_save_IFS
47859bc46bd4Smrg  shift
47869bc46bd4Smrg  ac_file=$1
47879bc46bd4Smrg  shift
47889bc46bd4Smrg
47899bc46bd4Smrg  case $ac_mode in
47909bc46bd4Smrg  :L) ac_source=$1;;
47919bc46bd4Smrg  :[FH])
47929bc46bd4Smrg    ac_file_inputs=
47939bc46bd4Smrg    for ac_f
47949bc46bd4Smrg    do
47959bc46bd4Smrg      case $ac_f in
4796c41d98afSmrg      -) ac_f="$ac_tmp/stdin";;
47979bc46bd4Smrg      *) # Look for the file first in the build tree, then in the source tree
47989bc46bd4Smrg	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
47999bc46bd4Smrg	 # because $ac_f cannot contain `:'.
48009bc46bd4Smrg	 test -f "$ac_f" ||
48019bc46bd4Smrg	   case $ac_f in
48029bc46bd4Smrg	   [\\/$]*) false;;
48039bc46bd4Smrg	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
48049bc46bd4Smrg	   esac ||
4805c41d98afSmrg	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
48069bc46bd4Smrg      esac
4807f403ce92Smrg      case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4808c41d98afSmrg      as_fn_append ac_file_inputs " '$ac_f'"
48099bc46bd4Smrg    done
48109bc46bd4Smrg
48119bc46bd4Smrg    # Let's still pretend it is `configure' which instantiates (i.e., don't
48129bc46bd4Smrg    # use $as_me), people would be surprised to read:
48139bc46bd4Smrg    #    /* config.h.  Generated by config.status.  */
48149bc46bd4Smrg    configure_input='Generated from '`
4815f403ce92Smrg	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
48169bc46bd4Smrg	`' by configure.'
48179bc46bd4Smrg    if test x"$ac_file" != x-; then
48189bc46bd4Smrg      configure_input="$ac_file.  $configure_input"
4819f403ce92Smrg      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4820f403ce92Smrgprintf "%s\n" "$as_me: creating $ac_file" >&6;}
48219bc46bd4Smrg    fi
48229bc46bd4Smrg    # Neutralize special characters interpreted by sed in replacement strings.
48239bc46bd4Smrg    case $configure_input in #(
48249bc46bd4Smrg    *\&* | *\|* | *\\* )
4825f403ce92Smrg       ac_sed_conf_input=`printf "%s\n" "$configure_input" |
48269bc46bd4Smrg       sed 's/[\\\\&|]/\\\\&/g'`;; #(
48279bc46bd4Smrg    *) ac_sed_conf_input=$configure_input;;
48289bc46bd4Smrg    esac
48299bc46bd4Smrg
48309bc46bd4Smrg    case $ac_tag in
4831c41d98afSmrg    *:-:* | *:-) cat >"$ac_tmp/stdin" \
4832c41d98afSmrg      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
48339bc46bd4Smrg    esac
48349bc46bd4Smrg    ;;
48353294c433Smrg  esac
48363294c433Smrg
48379bc46bd4Smrg  ac_dir=`$as_dirname -- "$ac_file" ||
48383294c433Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
48393294c433Smrg	 X"$ac_file" : 'X\(//\)[^/]' \| \
48403294c433Smrg	 X"$ac_file" : 'X\(//\)$' \| \
48419bc46bd4Smrg	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4842f403ce92Smrgprintf "%s\n" X"$ac_file" |
48439bc46bd4Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
48449bc46bd4Smrg	    s//\1/
48459bc46bd4Smrg	    q
48469bc46bd4Smrg	  }
48479bc46bd4Smrg	  /^X\(\/\/\)[^/].*/{
48489bc46bd4Smrg	    s//\1/
48499bc46bd4Smrg	    q
48509bc46bd4Smrg	  }
48519bc46bd4Smrg	  /^X\(\/\/\)$/{
48529bc46bd4Smrg	    s//\1/
48539bc46bd4Smrg	    q
48549bc46bd4Smrg	  }
48559bc46bd4Smrg	  /^X\(\/\).*/{
48569bc46bd4Smrg	    s//\1/
48579bc46bd4Smrg	    q
48589bc46bd4Smrg	  }
48599bc46bd4Smrg	  s/.*/./; q'`
4860c41d98afSmrg  as_dir="$ac_dir"; as_fn_mkdir_p
48613294c433Smrg  ac_builddir=.
48623294c433Smrg
48639bc46bd4Smrgcase "$ac_dir" in
48649bc46bd4Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
48659bc46bd4Smrg*)
4866f403ce92Smrg  ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
48679bc46bd4Smrg  # A ".." for each directory in $ac_dir_suffix.
4868f403ce92Smrg  ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
48699bc46bd4Smrg  case $ac_top_builddir_sub in
48709bc46bd4Smrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
48719bc46bd4Smrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
48729bc46bd4Smrg  esac ;;
48739bc46bd4Smrgesac
48749bc46bd4Smrgac_abs_top_builddir=$ac_pwd
48759bc46bd4Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix
48769bc46bd4Smrg# for backward compatibility:
48779bc46bd4Smrgac_top_builddir=$ac_top_build_prefix
48783294c433Smrg
48793294c433Smrgcase $srcdir in
48809bc46bd4Smrg  .)  # We are building in place.
48813294c433Smrg    ac_srcdir=.
48829bc46bd4Smrg    ac_top_srcdir=$ac_top_builddir_sub
48839bc46bd4Smrg    ac_abs_top_srcdir=$ac_pwd ;;
48849bc46bd4Smrg  [\\/]* | ?:[\\/]* )  # Absolute name.
48853294c433Smrg    ac_srcdir=$srcdir$ac_dir_suffix;
48869bc46bd4Smrg    ac_top_srcdir=$srcdir
48879bc46bd4Smrg    ac_abs_top_srcdir=$srcdir ;;
48889bc46bd4Smrg  *) # Relative name.
48899bc46bd4Smrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
48909bc46bd4Smrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
48919bc46bd4Smrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
48923294c433Smrgesac
48939bc46bd4Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
48943294c433Smrg
48953294c433Smrg
48969bc46bd4Smrg  case $ac_mode in
48979bc46bd4Smrg  :F)
48989bc46bd4Smrg  #
48999bc46bd4Smrg  # CONFIG_FILE
49009bc46bd4Smrg  #
49013294c433Smrg
49023294c433Smrg  case $INSTALL in
49033294c433Smrg  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
49049bc46bd4Smrg  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
49053294c433Smrg  esac
49069bc46bd4Smrg  ac_MKDIR_P=$MKDIR_P
49079bc46bd4Smrg  case $MKDIR_P in
49089bc46bd4Smrg  [\\/$]* | ?:[\\/]* ) ;;
49099bc46bd4Smrg  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
49109bc46bd4Smrg  esac
49119bc46bd4Smrg_ACEOF
49123294c433Smrg
49139bc46bd4Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
49149bc46bd4Smrg# If the template does not know about datarootdir, expand it.
49159bc46bd4Smrg# FIXME: This hack should be removed a few years after 2.60.
49169bc46bd4Smrgac_datarootdir_hack=; ac_datarootdir_seen=
49179bc46bd4Smrgac_sed_dataroot='
49189bc46bd4Smrg/datarootdir/ {
49199bc46bd4Smrg  p
49209bc46bd4Smrg  q
49219bc46bd4Smrg}
49229bc46bd4Smrg/@datadir@/p
49239bc46bd4Smrg/@docdir@/p
49249bc46bd4Smrg/@infodir@/p
49259bc46bd4Smrg/@localedir@/p
4926c41d98afSmrg/@mandir@/p'
49279bc46bd4Smrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
49289bc46bd4Smrg*datarootdir*) ac_datarootdir_seen=yes;;
49299bc46bd4Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4930f403ce92Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4931f403ce92Smrgprintf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
49329bc46bd4Smrg_ACEOF
49339bc46bd4Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
49349bc46bd4Smrg  ac_datarootdir_hack='
49359bc46bd4Smrg  s&@datadir@&$datadir&g
49369bc46bd4Smrg  s&@docdir@&$docdir&g
49379bc46bd4Smrg  s&@infodir@&$infodir&g
49389bc46bd4Smrg  s&@localedir@&$localedir&g
49399bc46bd4Smrg  s&@mandir@&$mandir&g
4940c41d98afSmrg  s&\\\${datarootdir}&$datarootdir&g' ;;
49419bc46bd4Smrgesac
49423294c433Smrg_ACEOF
49439bc46bd4Smrg
49449bc46bd4Smrg# Neutralize VPATH when `$srcdir' = `.'.
49459bc46bd4Smrg# Shell code in configure.ac might set extrasub.
49469bc46bd4Smrg# FIXME: do we really want to maintain this feature?
49479bc46bd4Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
49489bc46bd4Smrgac_sed_extra="$ac_vpsub
49493294c433Smrg$extrasub
49503294c433Smrg_ACEOF
49519bc46bd4Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
49523294c433Smrg:t
49533294c433Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
49549bc46bd4Smrgs|@configure_input@|$ac_sed_conf_input|;t t
49559bc46bd4Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t
49569bc46bd4Smrgs&@top_build_prefix@&$ac_top_build_prefix&;t t
49579bc46bd4Smrgs&@srcdir@&$ac_srcdir&;t t
49589bc46bd4Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t
49599bc46bd4Smrgs&@top_srcdir@&$ac_top_srcdir&;t t
49609bc46bd4Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
49619bc46bd4Smrgs&@builddir@&$ac_builddir&;t t
49629bc46bd4Smrgs&@abs_builddir@&$ac_abs_builddir&;t t
49639bc46bd4Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t
49649bc46bd4Smrgs&@INSTALL@&$ac_INSTALL&;t t
49659bc46bd4Smrgs&@MKDIR_P@&$ac_MKDIR_P&;t t
49669bc46bd4Smrg$ac_datarootdir_hack
49679bc46bd4Smrg"
4968c41d98afSmrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4969c41d98afSmrg  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
49703294c433Smrg
49719bc46bd4Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4972c41d98afSmrg  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4973c41d98afSmrg  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
4974c41d98afSmrg      "$ac_tmp/out"`; test -z "$ac_out"; } &&
4975f403ce92Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4976c41d98afSmrgwhich seems to be undefined.  Please make sure it is defined" >&5
4977f403ce92Smrgprintf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4978c41d98afSmrgwhich seems to be undefined.  Please make sure it is defined" >&2;}
49799bc46bd4Smrg
4980c41d98afSmrg  rm -f "$ac_tmp/stdin"
49819bc46bd4Smrg  case $ac_file in
4982c41d98afSmrg  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4983c41d98afSmrg  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
49849bc46bd4Smrg  esac \
4985c41d98afSmrg  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
49869bc46bd4Smrg ;;
49879bc46bd4Smrg
49889bc46bd4Smrg
49899bc46bd4Smrg
49909bc46bd4Smrg  esac
49919bc46bd4Smrg
49929bc46bd4Smrgdone # for ac_tag
49933294c433Smrg
49943294c433Smrg
4995c41d98afSmrgas_fn_exit 0
49963294c433Smrg_ACEOF
49973294c433Smrgac_clean_files=$ac_clean_files_save
49983294c433Smrg
49999bc46bd4Smrgtest $ac_write_fail = 0 ||
5000c41d98afSmrg  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
50019bc46bd4Smrg
50023294c433Smrg
50033294c433Smrg# configure is writing to config.log, and then calls config.status.
50043294c433Smrg# config.status does its own redirection, appending to config.log.
50053294c433Smrg# Unfortunately, on DOS this fails, as config.log is still kept open
50063294c433Smrg# by configure, so config.status won't be able to write to it; its
50073294c433Smrg# output is simply discarded.  So we exec the FD to /dev/null,
50083294c433Smrg# effectively closing config.log, so it can be properly (re)opened and
50093294c433Smrg# appended to by config.status.  When coming back to configure, we
50103294c433Smrg# need to make the FD available again.
50113294c433Smrgif test "$no_create" != yes; then
50123294c433Smrg  ac_cs_success=:
50133294c433Smrg  ac_config_status_args=
50143294c433Smrg  test "$silent" = yes &&
50153294c433Smrg    ac_config_status_args="$ac_config_status_args --quiet"
50163294c433Smrg  exec 5>/dev/null
50173294c433Smrg  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
50183294c433Smrg  exec 5>>config.log
50193294c433Smrg  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50203294c433Smrg  # would make configure fail if this is the last instruction.
5021c41d98afSmrg  $ac_cs_success || as_fn_exit 1
50223294c433Smrgfi
50239bc46bd4Smrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5024f403ce92Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5025f403ce92Smrgprintf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
50269bc46bd4Smrgfi
50273294c433Smrg
5028f403ce92Smrg
5029