1a64a7ac0Smrg#! /bin/sh
2a64a7ac0Smrg# Guess values for system-dependent variables and create Makefiles.
3a64a7ac0Smrg# Generated by GNU Autoconf 2.71 for font-arabic-misc 1.0.4.
4a64a7ac0Smrg#
5a64a7ac0Smrg# Report bugs to <https://gitlab.freedesktop.org/xorg/font/arabic-misc/-/issues>.
6a64a7ac0Smrg#
7a64a7ac0Smrg#
8a64a7ac0Smrg# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
9a64a7ac0Smrg# Inc.
10a64a7ac0Smrg#
11a64a7ac0Smrg#
12a64a7ac0Smrg# This configure script is free software; the Free Software Foundation
13a64a7ac0Smrg# gives unlimited permission to copy, distribute and modify it.
14a64a7ac0Smrg## -------------------- ##
15a64a7ac0Smrg## M4sh Initialization. ##
16a64a7ac0Smrg## -------------------- ##
17a64a7ac0Smrg
18a64a7ac0Smrg# Be more Bourne compatible
19a64a7ac0SmrgDUALCASE=1; export DUALCASE # for MKS sh
20a64a7ac0Smrgas_nop=:
21a64a7ac0Smrgif test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22a64a7ac0Smrgthen :
23a64a7ac0Smrg  emulate sh
24a64a7ac0Smrg  NULLCMD=:
25a64a7ac0Smrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26a64a7ac0Smrg  # is contrary to our usage.  Disable this feature.
27a64a7ac0Smrg  alias -g '${1+"$@"}'='"$@"'
28a64a7ac0Smrg  setopt NO_GLOB_SUBST
29a64a7ac0Smrgelse $as_nop
30a64a7ac0Smrg  case `(set -o) 2>/dev/null` in #(
31a64a7ac0Smrg  *posix*) :
32a64a7ac0Smrg    set -o posix ;; #(
33a64a7ac0Smrg  *) :
34a64a7ac0Smrg     ;;
35a64a7ac0Smrgesac
36a64a7ac0Smrgfi
37a64a7ac0Smrg
38a64a7ac0Smrg
39a64a7ac0Smrg
40a64a7ac0Smrg# Reset variables that may have inherited troublesome values from
41a64a7ac0Smrg# the environment.
42a64a7ac0Smrg
43a64a7ac0Smrg# IFS needs to be set, to space, tab, and newline, in precisely that order.
44a64a7ac0Smrg# (If _AS_PATH_WALK were called with IFS unset, it would have the
45a64a7ac0Smrg# side effect of setting IFS to empty, thus disabling word splitting.)
46a64a7ac0Smrg# Quoting is to prevent editors from complaining about space-tab.
47a64a7ac0Smrgas_nl='
48a64a7ac0Smrg'
49a64a7ac0Smrgexport as_nl
50a64a7ac0SmrgIFS=" ""	$as_nl"
51a64a7ac0Smrg
52a64a7ac0SmrgPS1='$ '
53a64a7ac0SmrgPS2='> '
54a64a7ac0SmrgPS4='+ '
55a64a7ac0Smrg
56a64a7ac0Smrg# Ensure predictable behavior from utilities with locale-dependent output.
57a64a7ac0SmrgLC_ALL=C
58a64a7ac0Smrgexport LC_ALL
59a64a7ac0SmrgLANGUAGE=C
60a64a7ac0Smrgexport LANGUAGE
61a64a7ac0Smrg
62a64a7ac0Smrg# We cannot yet rely on "unset" to work, but we need these variables
63a64a7ac0Smrg# to be unset--not just set to an empty or harmless value--now, to
64a64a7ac0Smrg# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
65a64a7ac0Smrg# also avoids known problems related to "unset" and subshell syntax
66a64a7ac0Smrg# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67a64a7ac0Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68a64a7ac0Smrgdo eval test \${$as_var+y} \
69a64a7ac0Smrg  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
70a64a7ac0Smrgdone
71a64a7ac0Smrg
72a64a7ac0Smrg# Ensure that fds 0, 1, and 2 are open.
73a64a7ac0Smrgif (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74a64a7ac0Smrgif (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75a64a7ac0Smrgif (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
76a64a7ac0Smrg
77a64a7ac0Smrg# The user is always right.
78a64a7ac0Smrgif ${PATH_SEPARATOR+false} :; then
79a64a7ac0Smrg  PATH_SEPARATOR=:
80a64a7ac0Smrg  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81a64a7ac0Smrg    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82a64a7ac0Smrg      PATH_SEPARATOR=';'
83a64a7ac0Smrg  }
84a64a7ac0Smrgfi
85a64a7ac0Smrg
86a64a7ac0Smrg
87a64a7ac0Smrg# Find who we are.  Look in the path if we contain no directory separator.
88a64a7ac0Smrgas_myself=
89a64a7ac0Smrgcase $0 in #((
90a64a7ac0Smrg  *[\\/]* ) as_myself=$0 ;;
91a64a7ac0Smrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92a64a7ac0Smrgfor as_dir in $PATH
93a64a7ac0Smrgdo
94a64a7ac0Smrg  IFS=$as_save_IFS
95a64a7ac0Smrg  case $as_dir in #(((
96a64a7ac0Smrg    '') as_dir=./ ;;
97a64a7ac0Smrg    */) ;;
98a64a7ac0Smrg    *) as_dir=$as_dir/ ;;
99a64a7ac0Smrg  esac
100a64a7ac0Smrg    test -r "$as_dir$0" && as_myself=$as_dir$0 && break
101a64a7ac0Smrg  done
102a64a7ac0SmrgIFS=$as_save_IFS
103a64a7ac0Smrg
104a64a7ac0Smrg     ;;
105a64a7ac0Smrgesac
106a64a7ac0Smrg# We did not find ourselves, most probably we were run as `sh COMMAND'
107a64a7ac0Smrg# in which case we are not to be found in the path.
108a64a7ac0Smrgif test "x$as_myself" = x; then
109a64a7ac0Smrg  as_myself=$0
110a64a7ac0Smrgfi
111a64a7ac0Smrgif test ! -f "$as_myself"; then
112a64a7ac0Smrg  printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113a64a7ac0Smrg  exit 1
114a64a7ac0Smrgfi
115a64a7ac0Smrg
116a64a7ac0Smrg
117a64a7ac0Smrg# Use a proper internal environment variable to ensure we don't fall
118a64a7ac0Smrg  # into an infinite loop, continuously re-executing ourselves.
119a64a7ac0Smrg  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
120a64a7ac0Smrg    _as_can_reexec=no; export _as_can_reexec;
121a64a7ac0Smrg    # We cannot yet assume a decent shell, so we have to provide a
122a64a7ac0Smrg# neutralization value for shells without unset; and this also
123a64a7ac0Smrg# works around shells that cannot unset nonexistent variables.
124a64a7ac0Smrg# Preserve -v and -x to the replacement shell.
125a64a7ac0SmrgBASH_ENV=/dev/null
126a64a7ac0SmrgENV=/dev/null
127a64a7ac0Smrg(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
128a64a7ac0Smrgcase $- in # ((((
129a64a7ac0Smrg  *v*x* | *x*v* ) as_opts=-vx ;;
130a64a7ac0Smrg  *v* ) as_opts=-v ;;
131a64a7ac0Smrg  *x* ) as_opts=-x ;;
132a64a7ac0Smrg  * ) as_opts= ;;
133a64a7ac0Smrgesac
134a64a7ac0Smrgexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135a64a7ac0Smrg# Admittedly, this is quite paranoid, since all the known shells bail
136a64a7ac0Smrg# out after a failed `exec'.
137a64a7ac0Smrgprintf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138a64a7ac0Smrgexit 255
139a64a7ac0Smrg  fi
140a64a7ac0Smrg  # We don't want this to propagate to other subprocesses.
141a64a7ac0Smrg          { _as_can_reexec=; unset _as_can_reexec;}
142a64a7ac0Smrgif test "x$CONFIG_SHELL" = x; then
143a64a7ac0Smrg  as_bourne_compatible="as_nop=:
144a64a7ac0Smrgif test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
145a64a7ac0Smrgthen :
146a64a7ac0Smrg  emulate sh
147a64a7ac0Smrg  NULLCMD=:
148a64a7ac0Smrg  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149a64a7ac0Smrg  # is contrary to our usage.  Disable this feature.
150a64a7ac0Smrg  alias -g '\${1+\"\$@\"}'='\"\$@\"'
151a64a7ac0Smrg  setopt NO_GLOB_SUBST
152a64a7ac0Smrgelse \$as_nop
153a64a7ac0Smrg  case \`(set -o) 2>/dev/null\` in #(
154a64a7ac0Smrg  *posix*) :
155a64a7ac0Smrg    set -o posix ;; #(
156a64a7ac0Smrg  *) :
157a64a7ac0Smrg     ;;
158a64a7ac0Smrgesac
159a64a7ac0Smrgfi
160a64a7ac0Smrg"
161a64a7ac0Smrg  as_required="as_fn_return () { (exit \$1); }
162a64a7ac0Smrgas_fn_success () { as_fn_return 0; }
163a64a7ac0Smrgas_fn_failure () { as_fn_return 1; }
164a64a7ac0Smrgas_fn_ret_success () { return 0; }
165a64a7ac0Smrgas_fn_ret_failure () { return 1; }
166a64a7ac0Smrg
167a64a7ac0Smrgexitcode=0
168a64a7ac0Smrgas_fn_success || { exitcode=1; echo as_fn_success failed.; }
169a64a7ac0Smrgas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170a64a7ac0Smrgas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171a64a7ac0Smrgas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172a64a7ac0Smrgif ( set x; as_fn_ret_success y && test x = \"\$1\" )
173a64a7ac0Smrgthen :
174a64a7ac0Smrg
175a64a7ac0Smrgelse \$as_nop
176a64a7ac0Smrg  exitcode=1; echo positional parameters were not saved.
177a64a7ac0Smrgfi
178a64a7ac0Smrgtest x\$exitcode = x0 || exit 1
179a64a7ac0Smrgblah=\$(echo \$(echo blah))
180a64a7ac0Smrgtest x\"\$blah\" = xblah || exit 1
181a64a7ac0Smrgtest -x / || exit 1"
182a64a7ac0Smrg  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
183a64a7ac0Smrg  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
184a64a7ac0Smrg  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185a64a7ac0Smrg  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
186a64a7ac0Smrgtest \$(( 1 + 1 )) = 2 || exit 1"
187a64a7ac0Smrg  if (eval "$as_required") 2>/dev/null
188a64a7ac0Smrgthen :
189a64a7ac0Smrg  as_have_required=yes
190a64a7ac0Smrgelse $as_nop
191a64a7ac0Smrg  as_have_required=no
192a64a7ac0Smrgfi
193a64a7ac0Smrg  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
194a64a7ac0Smrgthen :
195a64a7ac0Smrg
196a64a7ac0Smrgelse $as_nop
197a64a7ac0Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
198a64a7ac0Smrgas_found=false
199a64a7ac0Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
200a64a7ac0Smrgdo
201a64a7ac0Smrg  IFS=$as_save_IFS
202a64a7ac0Smrg  case $as_dir in #(((
203a64a7ac0Smrg    '') as_dir=./ ;;
204a64a7ac0Smrg    */) ;;
205a64a7ac0Smrg    *) as_dir=$as_dir/ ;;
206a64a7ac0Smrg  esac
207a64a7ac0Smrg  as_found=:
208a64a7ac0Smrg  case $as_dir in #(
209a64a7ac0Smrg	 /*)
210a64a7ac0Smrg	   for as_base in sh bash ksh sh5; do
211a64a7ac0Smrg	     # Try only shells that exist, to save several forks.
212a64a7ac0Smrg	     as_shell=$as_dir$as_base
213a64a7ac0Smrg	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
214a64a7ac0Smrg		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
215a64a7ac0Smrgthen :
216a64a7ac0Smrg  CONFIG_SHELL=$as_shell as_have_required=yes
217a64a7ac0Smrg		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
218a64a7ac0Smrgthen :
219a64a7ac0Smrg  break 2
220a64a7ac0Smrgfi
221a64a7ac0Smrgfi
222a64a7ac0Smrg	   done;;
223a64a7ac0Smrg       esac
224a64a7ac0Smrg  as_found=false
225a64a7ac0Smrgdone
226a64a7ac0SmrgIFS=$as_save_IFS
227a64a7ac0Smrgif $as_found
228a64a7ac0Smrgthen :
229a64a7ac0Smrg
230a64a7ac0Smrgelse $as_nop
231a64a7ac0Smrg  if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232a64a7ac0Smrg	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
233a64a7ac0Smrgthen :
234a64a7ac0Smrg  CONFIG_SHELL=$SHELL as_have_required=yes
235a64a7ac0Smrgfi
236a64a7ac0Smrgfi
237a64a7ac0Smrg
238a64a7ac0Smrg
239a64a7ac0Smrg      if test "x$CONFIG_SHELL" != x
240a64a7ac0Smrgthen :
241a64a7ac0Smrg  export CONFIG_SHELL
242a64a7ac0Smrg             # We cannot yet assume a decent shell, so we have to provide a
243a64a7ac0Smrg# neutralization value for shells without unset; and this also
244a64a7ac0Smrg# works around shells that cannot unset nonexistent variables.
245a64a7ac0Smrg# Preserve -v and -x to the replacement shell.
246a64a7ac0SmrgBASH_ENV=/dev/null
247a64a7ac0SmrgENV=/dev/null
248a64a7ac0Smrg(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249a64a7ac0Smrgcase $- in # ((((
250a64a7ac0Smrg  *v*x* | *x*v* ) as_opts=-vx ;;
251a64a7ac0Smrg  *v* ) as_opts=-v ;;
252a64a7ac0Smrg  *x* ) as_opts=-x ;;
253a64a7ac0Smrg  * ) as_opts= ;;
254a64a7ac0Smrgesac
255a64a7ac0Smrgexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256a64a7ac0Smrg# Admittedly, this is quite paranoid, since all the known shells bail
257a64a7ac0Smrg# out after a failed `exec'.
258a64a7ac0Smrgprintf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
259a64a7ac0Smrgexit 255
260a64a7ac0Smrgfi
261a64a7ac0Smrg
262a64a7ac0Smrg    if test x$as_have_required = xno
263a64a7ac0Smrgthen :
264a64a7ac0Smrg  printf "%s\n" "$0: This script requires a shell more modern than all"
265a64a7ac0Smrg  printf "%s\n" "$0: the shells that I found on your system."
266a64a7ac0Smrg  if test ${ZSH_VERSION+y} ; then
267a64a7ac0Smrg    printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268a64a7ac0Smrg    printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
269a64a7ac0Smrg  else
270a64a7ac0Smrg    printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
271a64a7ac0Smrg$0: https://gitlab.freedesktop.org/xorg/font/arabic-misc/-/issues
272a64a7ac0Smrg$0: about your system, including any error possibly output
273a64a7ac0Smrg$0: before this message. Then install a modern shell, or
274a64a7ac0Smrg$0: manually run the script under such a shell if you do
275a64a7ac0Smrg$0: have one."
276a64a7ac0Smrg  fi
277a64a7ac0Smrg  exit 1
278a64a7ac0Smrgfi
279a64a7ac0Smrgfi
280a64a7ac0Smrgfi
281a64a7ac0SmrgSHELL=${CONFIG_SHELL-/bin/sh}
282a64a7ac0Smrgexport SHELL
283a64a7ac0Smrg# Unset more variables known to interfere with behavior of common tools.
284a64a7ac0SmrgCLICOLOR_FORCE= GREP_OPTIONS=
285a64a7ac0Smrgunset CLICOLOR_FORCE GREP_OPTIONS
286a64a7ac0Smrg
287a64a7ac0Smrg## --------------------- ##
288a64a7ac0Smrg## M4sh Shell Functions. ##
289a64a7ac0Smrg## --------------------- ##
290a64a7ac0Smrg# as_fn_unset VAR
291a64a7ac0Smrg# ---------------
292a64a7ac0Smrg# Portably unset VAR.
293a64a7ac0Smrgas_fn_unset ()
294a64a7ac0Smrg{
295a64a7ac0Smrg  { eval $1=; unset $1;}
296a64a7ac0Smrg}
297a64a7ac0Smrgas_unset=as_fn_unset
298a64a7ac0Smrg
299a64a7ac0Smrg
300a64a7ac0Smrg# as_fn_set_status STATUS
301a64a7ac0Smrg# -----------------------
302a64a7ac0Smrg# Set $? to STATUS, without forking.
303a64a7ac0Smrgas_fn_set_status ()
304a64a7ac0Smrg{
305a64a7ac0Smrg  return $1
306a64a7ac0Smrg} # as_fn_set_status
307a64a7ac0Smrg
308a64a7ac0Smrg# as_fn_exit STATUS
309a64a7ac0Smrg# -----------------
310a64a7ac0Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
311a64a7ac0Smrgas_fn_exit ()
312a64a7ac0Smrg{
313a64a7ac0Smrg  set +e
314a64a7ac0Smrg  as_fn_set_status $1
315a64a7ac0Smrg  exit $1
316a64a7ac0Smrg} # as_fn_exit
317a64a7ac0Smrg# as_fn_nop
318a64a7ac0Smrg# ---------
319a64a7ac0Smrg# Do nothing but, unlike ":", preserve the value of $?.
320a64a7ac0Smrgas_fn_nop ()
321a64a7ac0Smrg{
322a64a7ac0Smrg  return $?
323a64a7ac0Smrg}
324a64a7ac0Smrgas_nop=as_fn_nop
325a64a7ac0Smrg
326a64a7ac0Smrg# as_fn_mkdir_p
327a64a7ac0Smrg# -------------
328a64a7ac0Smrg# Create "$as_dir" as a directory, including parents if necessary.
329a64a7ac0Smrgas_fn_mkdir_p ()
330a64a7ac0Smrg{
331a64a7ac0Smrg
332a64a7ac0Smrg  case $as_dir in #(
333a64a7ac0Smrg  -*) as_dir=./$as_dir;;
334a64a7ac0Smrg  esac
335a64a7ac0Smrg  test -d "$as_dir" || eval $as_mkdir_p || {
336a64a7ac0Smrg    as_dirs=
337a64a7ac0Smrg    while :; do
338a64a7ac0Smrg      case $as_dir in #(
339a64a7ac0Smrg      *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
340a64a7ac0Smrg      *) as_qdir=$as_dir;;
341a64a7ac0Smrg      esac
342a64a7ac0Smrg      as_dirs="'$as_qdir' $as_dirs"
343a64a7ac0Smrg      as_dir=`$as_dirname -- "$as_dir" ||
344a64a7ac0Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
345a64a7ac0Smrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
346a64a7ac0Smrg	 X"$as_dir" : 'X\(//\)$' \| \
347a64a7ac0Smrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
348a64a7ac0Smrgprintf "%s\n" X"$as_dir" |
349a64a7ac0Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
350a64a7ac0Smrg	    s//\1/
351a64a7ac0Smrg	    q
352a64a7ac0Smrg	  }
353a64a7ac0Smrg	  /^X\(\/\/\)[^/].*/{
354a64a7ac0Smrg	    s//\1/
355a64a7ac0Smrg	    q
356a64a7ac0Smrg	  }
357a64a7ac0Smrg	  /^X\(\/\/\)$/{
358a64a7ac0Smrg	    s//\1/
359a64a7ac0Smrg	    q
360a64a7ac0Smrg	  }
361a64a7ac0Smrg	  /^X\(\/\).*/{
362a64a7ac0Smrg	    s//\1/
363a64a7ac0Smrg	    q
364a64a7ac0Smrg	  }
365a64a7ac0Smrg	  s/.*/./; q'`
366a64a7ac0Smrg      test -d "$as_dir" && break
367a64a7ac0Smrg    done
368a64a7ac0Smrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
369a64a7ac0Smrg  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
370a64a7ac0Smrg
371a64a7ac0Smrg
372a64a7ac0Smrg} # as_fn_mkdir_p
373a64a7ac0Smrg
374a64a7ac0Smrg# as_fn_executable_p FILE
375a64a7ac0Smrg# -----------------------
376a64a7ac0Smrg# Test if FILE is an executable regular file.
377a64a7ac0Smrgas_fn_executable_p ()
378a64a7ac0Smrg{
379a64a7ac0Smrg  test -f "$1" && test -x "$1"
380a64a7ac0Smrg} # as_fn_executable_p
381a64a7ac0Smrg# as_fn_append VAR VALUE
382a64a7ac0Smrg# ----------------------
383a64a7ac0Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take
384a64a7ac0Smrg# advantage of any shell optimizations that allow amortized linear growth over
385a64a7ac0Smrg# repeated appends, instead of the typical quadratic growth present in naive
386a64a7ac0Smrg# implementations.
387a64a7ac0Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
388a64a7ac0Smrgthen :
389a64a7ac0Smrg  eval 'as_fn_append ()
390a64a7ac0Smrg  {
391a64a7ac0Smrg    eval $1+=\$2
392a64a7ac0Smrg  }'
393a64a7ac0Smrgelse $as_nop
394a64a7ac0Smrg  as_fn_append ()
395a64a7ac0Smrg  {
396a64a7ac0Smrg    eval $1=\$$1\$2
397a64a7ac0Smrg  }
398a64a7ac0Smrgfi # as_fn_append
399a64a7ac0Smrg
400a64a7ac0Smrg# as_fn_arith ARG...
401a64a7ac0Smrg# ------------------
402a64a7ac0Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the
403a64a7ac0Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments
404a64a7ac0Smrg# must be portable across $(()) and expr.
405a64a7ac0Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
406a64a7ac0Smrgthen :
407a64a7ac0Smrg  eval 'as_fn_arith ()
408a64a7ac0Smrg  {
409a64a7ac0Smrg    as_val=$(( $* ))
410a64a7ac0Smrg  }'
411a64a7ac0Smrgelse $as_nop
412a64a7ac0Smrg  as_fn_arith ()
413a64a7ac0Smrg  {
414a64a7ac0Smrg    as_val=`expr "$@" || test $? -eq 1`
415a64a7ac0Smrg  }
416a64a7ac0Smrgfi # as_fn_arith
417a64a7ac0Smrg
418a64a7ac0Smrg# as_fn_nop
419a64a7ac0Smrg# ---------
420a64a7ac0Smrg# Do nothing but, unlike ":", preserve the value of $?.
421a64a7ac0Smrgas_fn_nop ()
422a64a7ac0Smrg{
423a64a7ac0Smrg  return $?
424a64a7ac0Smrg}
425a64a7ac0Smrgas_nop=as_fn_nop
426a64a7ac0Smrg
427a64a7ac0Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD]
428a64a7ac0Smrg# ----------------------------------------
429a64a7ac0Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
430a64a7ac0Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
431a64a7ac0Smrg# script with STATUS, using 1 if that was 0.
432a64a7ac0Smrgas_fn_error ()
433a64a7ac0Smrg{
434a64a7ac0Smrg  as_status=$1; test $as_status -eq 0 && as_status=1
435a64a7ac0Smrg  if test "$4"; then
436a64a7ac0Smrg    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
437a64a7ac0Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
438a64a7ac0Smrg  fi
439a64a7ac0Smrg  printf "%s\n" "$as_me: error: $2" >&2
440a64a7ac0Smrg  as_fn_exit $as_status
441a64a7ac0Smrg} # as_fn_error
442a64a7ac0Smrg
443a64a7ac0Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
444a64a7ac0Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
445a64a7ac0Smrg  as_expr=expr
446a64a7ac0Smrgelse
447a64a7ac0Smrg  as_expr=false
448a64a7ac0Smrgfi
449a64a7ac0Smrg
450a64a7ac0Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
451a64a7ac0Smrg  as_basename=basename
452a64a7ac0Smrgelse
453a64a7ac0Smrg  as_basename=false
454a64a7ac0Smrgfi
455a64a7ac0Smrg
456a64a7ac0Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
457a64a7ac0Smrg  as_dirname=dirname
458a64a7ac0Smrgelse
459a64a7ac0Smrg  as_dirname=false
460a64a7ac0Smrgfi
461a64a7ac0Smrg
462a64a7ac0Smrgas_me=`$as_basename -- "$0" ||
463a64a7ac0Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
464a64a7ac0Smrg	 X"$0" : 'X\(//\)$' \| \
465a64a7ac0Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
466a64a7ac0Smrgprintf "%s\n" X/"$0" |
467a64a7ac0Smrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
468a64a7ac0Smrg	    s//\1/
469a64a7ac0Smrg	    q
470a64a7ac0Smrg	  }
471a64a7ac0Smrg	  /^X\/\(\/\/\)$/{
472a64a7ac0Smrg	    s//\1/
473a64a7ac0Smrg	    q
474a64a7ac0Smrg	  }
475a64a7ac0Smrg	  /^X\/\(\/\).*/{
476a64a7ac0Smrg	    s//\1/
477a64a7ac0Smrg	    q
478a64a7ac0Smrg	  }
479a64a7ac0Smrg	  s/.*/./; q'`
480a64a7ac0Smrg
481a64a7ac0Smrg# Avoid depending upon Character Ranges.
482a64a7ac0Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
483a64a7ac0Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
484a64a7ac0Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
485a64a7ac0Smrgas_cr_digits='0123456789'
486a64a7ac0Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits
487a64a7ac0Smrg
488a64a7ac0Smrg
489a64a7ac0Smrg  as_lineno_1=$LINENO as_lineno_1a=$LINENO
490a64a7ac0Smrg  as_lineno_2=$LINENO as_lineno_2a=$LINENO
491a64a7ac0Smrg  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
492a64a7ac0Smrg  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
493a64a7ac0Smrg  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
494a64a7ac0Smrg  sed -n '
495a64a7ac0Smrg    p
496a64a7ac0Smrg    /[$]LINENO/=
497a64a7ac0Smrg  ' <$as_myself |
498a64a7ac0Smrg    sed '
499a64a7ac0Smrg      s/[$]LINENO.*/&-/
500a64a7ac0Smrg      t lineno
501a64a7ac0Smrg      b
502a64a7ac0Smrg      :lineno
503a64a7ac0Smrg      N
504a64a7ac0Smrg      :loop
505a64a7ac0Smrg      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
506a64a7ac0Smrg      t loop
507a64a7ac0Smrg      s/-\n.*//
508a64a7ac0Smrg    ' >$as_me.lineno &&
509a64a7ac0Smrg  chmod +x "$as_me.lineno" ||
510a64a7ac0Smrg    { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
511a64a7ac0Smrg
512a64a7ac0Smrg  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
513a64a7ac0Smrg  # already done that, so ensure we don't try to do so again and fall
514a64a7ac0Smrg  # in an infinite loop.  This has already happened in practice.
515a64a7ac0Smrg  _as_can_reexec=no; export _as_can_reexec
516a64a7ac0Smrg  # Don't try to exec as it changes $[0], causing all sort of problems
517a64a7ac0Smrg  # (the dirname of $[0] is not the place where we might find the
518a64a7ac0Smrg  # original and so on.  Autoconf is especially sensitive to this).
519a64a7ac0Smrg  . "./$as_me.lineno"
520a64a7ac0Smrg  # Exit status is that of the last command.
521a64a7ac0Smrg  exit
522a64a7ac0Smrg}
523a64a7ac0Smrg
524a64a7ac0Smrg
525a64a7ac0Smrg# Determine whether it's possible to make 'echo' print without a newline.
526a64a7ac0Smrg# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
527a64a7ac0Smrg# for compatibility with existing Makefiles.
528a64a7ac0SmrgECHO_C= ECHO_N= ECHO_T=
529a64a7ac0Smrgcase `echo -n x` in #(((((
530a64a7ac0Smrg-n*)
531a64a7ac0Smrg  case `echo 'xy\c'` in
532a64a7ac0Smrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
533a64a7ac0Smrg  xy)  ECHO_C='\c';;
534a64a7ac0Smrg  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
535a64a7ac0Smrg       ECHO_T='	';;
536a64a7ac0Smrg  esac;;
537a64a7ac0Smrg*)
538a64a7ac0Smrg  ECHO_N='-n';;
539a64a7ac0Smrgesac
540a64a7ac0Smrg
541a64a7ac0Smrg# For backward compatibility with old third-party macros, we provide
542a64a7ac0Smrg# the shell variables $as_echo and $as_echo_n.  New code should use
543a64a7ac0Smrg# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
544a64a7ac0Smrgas_echo='printf %s\n'
545a64a7ac0Smrgas_echo_n='printf %s'
546a64a7ac0Smrg
547a64a7ac0Smrg
548a64a7ac0Smrgrm -f conf$$ conf$$.exe conf$$.file
549a64a7ac0Smrgif test -d conf$$.dir; then
550a64a7ac0Smrg  rm -f conf$$.dir/conf$$.file
551a64a7ac0Smrgelse
552a64a7ac0Smrg  rm -f conf$$.dir
553a64a7ac0Smrg  mkdir conf$$.dir 2>/dev/null
554a64a7ac0Smrgfi
555a64a7ac0Smrgif (echo >conf$$.file) 2>/dev/null; then
556a64a7ac0Smrg  if ln -s conf$$.file conf$$ 2>/dev/null; then
557a64a7ac0Smrg    as_ln_s='ln -s'
558a64a7ac0Smrg    # ... but there are two gotchas:
559a64a7ac0Smrg    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
560a64a7ac0Smrg    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
561a64a7ac0Smrg    # In both cases, we have to default to `cp -pR'.
562a64a7ac0Smrg    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
563a64a7ac0Smrg      as_ln_s='cp -pR'
564a64a7ac0Smrg  elif ln conf$$.file conf$$ 2>/dev/null; then
565a64a7ac0Smrg    as_ln_s=ln
566a64a7ac0Smrg  else
567a64a7ac0Smrg    as_ln_s='cp -pR'
568a64a7ac0Smrg  fi
569a64a7ac0Smrgelse
570a64a7ac0Smrg  as_ln_s='cp -pR'
571a64a7ac0Smrgfi
572a64a7ac0Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
573a64a7ac0Smrgrmdir conf$$.dir 2>/dev/null
574a64a7ac0Smrg
575a64a7ac0Smrgif mkdir -p . 2>/dev/null; then
576a64a7ac0Smrg  as_mkdir_p='mkdir -p "$as_dir"'
577a64a7ac0Smrgelse
578a64a7ac0Smrg  test -d ./-p && rmdir ./-p
579a64a7ac0Smrg  as_mkdir_p=false
580a64a7ac0Smrgfi
581a64a7ac0Smrg
582a64a7ac0Smrgas_test_x='test -x'
583a64a7ac0Smrgas_executable_p=as_fn_executable_p
584a64a7ac0Smrg
585a64a7ac0Smrg# Sed expression to map a string onto a valid CPP name.
586a64a7ac0Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
587a64a7ac0Smrg
588a64a7ac0Smrg# Sed expression to map a string onto a valid variable name.
589a64a7ac0Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
590a64a7ac0Smrg
591a64a7ac0Smrg
592a64a7ac0Smrgtest -n "$DJDIR" || exec 7<&0 </dev/null
593a64a7ac0Smrgexec 6>&1
594a64a7ac0Smrg
595a64a7ac0Smrg# Name of the host.
596a64a7ac0Smrg# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
597a64a7ac0Smrg# so uname gets run too.
598a64a7ac0Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
599a64a7ac0Smrg
600a64a7ac0Smrg#
601a64a7ac0Smrg# Initializations.
602a64a7ac0Smrg#
603a64a7ac0Smrgac_default_prefix=/usr/local
604a64a7ac0Smrgac_clean_files=
605a64a7ac0Smrgac_config_libobj_dir=.
606a64a7ac0SmrgLIBOBJS=
607a64a7ac0Smrgcross_compiling=no
608a64a7ac0Smrgsubdirs=
609a64a7ac0SmrgMFLAGS=
610a64a7ac0SmrgMAKEFLAGS=
611a64a7ac0Smrg
612a64a7ac0Smrg# Identity of this package.
613a64a7ac0SmrgPACKAGE_NAME='font-arabic-misc'
614a64a7ac0SmrgPACKAGE_TARNAME='font-arabic-misc'
615a64a7ac0SmrgPACKAGE_VERSION='1.0.4'
616a64a7ac0SmrgPACKAGE_STRING='font-arabic-misc 1.0.4'
617a64a7ac0SmrgPACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/font/arabic-misc/-/issues'
618a64a7ac0SmrgPACKAGE_URL=''
619a64a7ac0Smrg
620a64a7ac0Smrgac_subst_vars='LTLIBOBJS
621a64a7ac0SmrgLIBOBJS
622a64a7ac0SmrgCOMPRESS_SUFFIX
623a64a7ac0SmrgCOMPRESS_FLAGS
624a64a7ac0SmrgCOMPRESS
625a64a7ac0SmrgBDFTOPCF
626a64a7ac0SmrgMKFONTDIR
627a64a7ac0SmrgRUN_FCCACHE
628a64a7ac0SmrgFCCACHE
629a64a7ac0SmrgFONTDIR
630a64a7ac0SmrgFONTROOTDIR
631a64a7ac0SmrgMAN_SUBSTS
632a64a7ac0SmrgXORG_MAN_PAGE
633a64a7ac0SmrgADMIN_MAN_DIR
634a64a7ac0SmrgDRIVER_MAN_DIR
635a64a7ac0SmrgMISC_MAN_DIR
636a64a7ac0SmrgFILE_MAN_DIR
637a64a7ac0SmrgLIB_MAN_DIR
638a64a7ac0SmrgAPP_MAN_DIR
639a64a7ac0SmrgADMIN_MAN_SUFFIX
640a64a7ac0SmrgDRIVER_MAN_SUFFIX
641a64a7ac0SmrgMISC_MAN_SUFFIX
642a64a7ac0SmrgFILE_MAN_SUFFIX
643a64a7ac0SmrgLIB_MAN_SUFFIX
644a64a7ac0SmrgAPP_MAN_SUFFIX
645a64a7ac0SmrgSED
646a64a7ac0Smrghost_os
647a64a7ac0Smrghost_vendor
648a64a7ac0Smrghost_cpu
649a64a7ac0Smrghost
650a64a7ac0Smrgbuild_os
651a64a7ac0Smrgbuild_vendor
652a64a7ac0Smrgbuild_cpu
653a64a7ac0Smrgbuild
654a64a7ac0SmrgINSTALL_CMD
655a64a7ac0SmrgPKG_CONFIG_LIBDIR
656a64a7ac0SmrgPKG_CONFIG_PATH
657a64a7ac0SmrgPKG_CONFIG
658a64a7ac0SmrgCHANGELOG_CMD
659a64a7ac0SmrgAM_BACKSLASH
660a64a7ac0SmrgAM_DEFAULT_VERBOSITY
661a64a7ac0SmrgAM_DEFAULT_V
662a64a7ac0SmrgAM_V
663a64a7ac0SmrgCSCOPE
664a64a7ac0SmrgETAGS
665a64a7ac0SmrgCTAGS
666a64a7ac0Smrgam__untar
667a64a7ac0Smrgam__tar
668a64a7ac0SmrgAMTAR
669a64a7ac0Smrgam__leading_dot
670a64a7ac0SmrgSET_MAKE
671a64a7ac0SmrgAWK
672a64a7ac0Smrgmkdir_p
673a64a7ac0SmrgMKDIR_P
674a64a7ac0SmrgINSTALL_STRIP_PROGRAM
675a64a7ac0SmrgSTRIP
676a64a7ac0Smrginstall_sh
677a64a7ac0SmrgMAKEINFO
678a64a7ac0SmrgAUTOHEADER
679a64a7ac0SmrgAUTOMAKE
680a64a7ac0SmrgAUTOCONF
681a64a7ac0SmrgACLOCAL
682a64a7ac0SmrgVERSION
683a64a7ac0SmrgPACKAGE
684a64a7ac0SmrgCYGPATH_W
685a64a7ac0Smrgam__isrc
686a64a7ac0SmrgINSTALL_DATA
687a64a7ac0SmrgINSTALL_SCRIPT
688a64a7ac0SmrgINSTALL_PROGRAM
689a64a7ac0Smrgtarget_alias
690a64a7ac0Smrghost_alias
691a64a7ac0Smrgbuild_alias
692a64a7ac0SmrgLIBS
693a64a7ac0SmrgECHO_T
694a64a7ac0SmrgECHO_N
695a64a7ac0SmrgECHO_C
696a64a7ac0SmrgDEFS
697a64a7ac0Smrgmandir
698a64a7ac0Smrglocaledir
699a64a7ac0Smrglibdir
700a64a7ac0Smrgpsdir
701a64a7ac0Smrgpdfdir
702a64a7ac0Smrgdvidir
703a64a7ac0Smrghtmldir
704a64a7ac0Smrginfodir
705a64a7ac0Smrgdocdir
706a64a7ac0Smrgoldincludedir
707a64a7ac0Smrgincludedir
708a64a7ac0Smrgrunstatedir
709a64a7ac0Smrglocalstatedir
710a64a7ac0Smrgsharedstatedir
711a64a7ac0Smrgsysconfdir
712a64a7ac0Smrgdatadir
713a64a7ac0Smrgdatarootdir
714a64a7ac0Smrglibexecdir
715a64a7ac0Smrgsbindir
716a64a7ac0Smrgbindir
717a64a7ac0Smrgprogram_transform_name
718a64a7ac0Smrgprefix
719a64a7ac0Smrgexec_prefix
720a64a7ac0SmrgPACKAGE_URL
721a64a7ac0SmrgPACKAGE_BUGREPORT
722a64a7ac0SmrgPACKAGE_STRING
723a64a7ac0SmrgPACKAGE_VERSION
724a64a7ac0SmrgPACKAGE_TARNAME
725a64a7ac0SmrgPACKAGE_NAME
726a64a7ac0SmrgPATH_SEPARATOR
727a64a7ac0SmrgSHELL'
728a64a7ac0Smrgac_subst_files=''
729a64a7ac0Smrgac_user_opts='
730a64a7ac0Smrgenable_option_checking
731a64a7ac0Smrgenable_silent_rules
732a64a7ac0Smrgwith_fontrootdir
733a64a7ac0Smrgwith_fontdir
734a64a7ac0Smrgwith_compression
735a64a7ac0Smrg'
736a64a7ac0Smrg      ac_precious_vars='build_alias
737a64a7ac0Smrghost_alias
738a64a7ac0Smrgtarget_alias
739a64a7ac0SmrgPKG_CONFIG
740a64a7ac0SmrgPKG_CONFIG_PATH
741a64a7ac0SmrgPKG_CONFIG_LIBDIR'
742a64a7ac0Smrg
743a64a7ac0Smrg
744a64a7ac0Smrg# Initialize some variables set by options.
745a64a7ac0Smrgac_init_help=
746a64a7ac0Smrgac_init_version=false
747a64a7ac0Smrgac_unrecognized_opts=
748a64a7ac0Smrgac_unrecognized_sep=
749a64a7ac0Smrg# The variables have the same names as the options, with
750a64a7ac0Smrg# dashes changed to underlines.
751a64a7ac0Smrgcache_file=/dev/null
752a64a7ac0Smrgexec_prefix=NONE
753a64a7ac0Smrgno_create=
754a64a7ac0Smrgno_recursion=
755a64a7ac0Smrgprefix=NONE
756a64a7ac0Smrgprogram_prefix=NONE
757a64a7ac0Smrgprogram_suffix=NONE
758a64a7ac0Smrgprogram_transform_name=s,x,x,
759a64a7ac0Smrgsilent=
760a64a7ac0Smrgsite=
761a64a7ac0Smrgsrcdir=
762a64a7ac0Smrgverbose=
763a64a7ac0Smrgx_includes=NONE
764a64a7ac0Smrgx_libraries=NONE
765a64a7ac0Smrg
766a64a7ac0Smrg# Installation directory options.
767a64a7ac0Smrg# These are left unexpanded so users can "make install exec_prefix=/foo"
768a64a7ac0Smrg# and all the variables that are supposed to be based on exec_prefix
769a64a7ac0Smrg# by default will actually change.
770a64a7ac0Smrg# Use braces instead of parens because sh, perl, etc. also accept them.
771a64a7ac0Smrg# (The list follows the same order as the GNU Coding Standards.)
772a64a7ac0Smrgbindir='${exec_prefix}/bin'
773a64a7ac0Smrgsbindir='${exec_prefix}/sbin'
774a64a7ac0Smrglibexecdir='${exec_prefix}/libexec'
775a64a7ac0Smrgdatarootdir='${prefix}/share'
776a64a7ac0Smrgdatadir='${datarootdir}'
777a64a7ac0Smrgsysconfdir='${prefix}/etc'
778a64a7ac0Smrgsharedstatedir='${prefix}/com'
779a64a7ac0Smrglocalstatedir='${prefix}/var'
780a64a7ac0Smrgrunstatedir='${localstatedir}/run'
781a64a7ac0Smrgincludedir='${prefix}/include'
782a64a7ac0Smrgoldincludedir='/usr/include'
783a64a7ac0Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
784a64a7ac0Smrginfodir='${datarootdir}/info'
785a64a7ac0Smrghtmldir='${docdir}'
786a64a7ac0Smrgdvidir='${docdir}'
787a64a7ac0Smrgpdfdir='${docdir}'
788a64a7ac0Smrgpsdir='${docdir}'
789a64a7ac0Smrglibdir='${exec_prefix}/lib'
790a64a7ac0Smrglocaledir='${datarootdir}/locale'
791a64a7ac0Smrgmandir='${datarootdir}/man'
792a64a7ac0Smrg
793a64a7ac0Smrgac_prev=
794a64a7ac0Smrgac_dashdash=
795a64a7ac0Smrgfor ac_option
796a64a7ac0Smrgdo
797a64a7ac0Smrg  # If the previous option needs an argument, assign it.
798a64a7ac0Smrg  if test -n "$ac_prev"; then
799a64a7ac0Smrg    eval $ac_prev=\$ac_option
800a64a7ac0Smrg    ac_prev=
801a64a7ac0Smrg    continue
802a64a7ac0Smrg  fi
803a64a7ac0Smrg
804a64a7ac0Smrg  case $ac_option in
805a64a7ac0Smrg  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
806a64a7ac0Smrg  *=)   ac_optarg= ;;
807a64a7ac0Smrg  *)    ac_optarg=yes ;;
808a64a7ac0Smrg  esac
809a64a7ac0Smrg
810a64a7ac0Smrg  case $ac_dashdash$ac_option in
811a64a7ac0Smrg  --)
812a64a7ac0Smrg    ac_dashdash=yes ;;
813a64a7ac0Smrg
814a64a7ac0Smrg  -bindir | --bindir | --bindi | --bind | --bin | --bi)
815a64a7ac0Smrg    ac_prev=bindir ;;
816a64a7ac0Smrg  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
817a64a7ac0Smrg    bindir=$ac_optarg ;;
818a64a7ac0Smrg
819a64a7ac0Smrg  -build | --build | --buil | --bui | --bu)
820a64a7ac0Smrg    ac_prev=build_alias ;;
821a64a7ac0Smrg  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
822a64a7ac0Smrg    build_alias=$ac_optarg ;;
823a64a7ac0Smrg
824a64a7ac0Smrg  -cache-file | --cache-file | --cache-fil | --cache-fi \
825a64a7ac0Smrg  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
826a64a7ac0Smrg    ac_prev=cache_file ;;
827a64a7ac0Smrg  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
828a64a7ac0Smrg  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
829a64a7ac0Smrg    cache_file=$ac_optarg ;;
830a64a7ac0Smrg
831a64a7ac0Smrg  --config-cache | -C)
832a64a7ac0Smrg    cache_file=config.cache ;;
833a64a7ac0Smrg
834a64a7ac0Smrg  -datadir | --datadir | --datadi | --datad)
835a64a7ac0Smrg    ac_prev=datadir ;;
836a64a7ac0Smrg  -datadir=* | --datadir=* | --datadi=* | --datad=*)
837a64a7ac0Smrg    datadir=$ac_optarg ;;
838a64a7ac0Smrg
839a64a7ac0Smrg  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
840a64a7ac0Smrg  | --dataroo | --dataro | --datar)
841a64a7ac0Smrg    ac_prev=datarootdir ;;
842a64a7ac0Smrg  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
843a64a7ac0Smrg  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
844a64a7ac0Smrg    datarootdir=$ac_optarg ;;
845a64a7ac0Smrg
846a64a7ac0Smrg  -disable-* | --disable-*)
847a64a7ac0Smrg    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
848a64a7ac0Smrg    # Reject names that are not valid shell variable names.
849a64a7ac0Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
850a64a7ac0Smrg      as_fn_error $? "invalid feature name: \`$ac_useropt'"
851a64a7ac0Smrg    ac_useropt_orig=$ac_useropt
852a64a7ac0Smrg    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
853a64a7ac0Smrg    case $ac_user_opts in
854a64a7ac0Smrg      *"
855a64a7ac0Smrg"enable_$ac_useropt"
856a64a7ac0Smrg"*) ;;
857a64a7ac0Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
858a64a7ac0Smrg	 ac_unrecognized_sep=', ';;
859a64a7ac0Smrg    esac
860a64a7ac0Smrg    eval enable_$ac_useropt=no ;;
861a64a7ac0Smrg
862a64a7ac0Smrg  -docdir | --docdir | --docdi | --doc | --do)
863a64a7ac0Smrg    ac_prev=docdir ;;
864a64a7ac0Smrg  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
865a64a7ac0Smrg    docdir=$ac_optarg ;;
866a64a7ac0Smrg
867a64a7ac0Smrg  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
868a64a7ac0Smrg    ac_prev=dvidir ;;
869a64a7ac0Smrg  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
870a64a7ac0Smrg    dvidir=$ac_optarg ;;
871a64a7ac0Smrg
872a64a7ac0Smrg  -enable-* | --enable-*)
873a64a7ac0Smrg    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
874a64a7ac0Smrg    # Reject names that are not valid shell variable names.
875a64a7ac0Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
876a64a7ac0Smrg      as_fn_error $? "invalid feature name: \`$ac_useropt'"
877a64a7ac0Smrg    ac_useropt_orig=$ac_useropt
878a64a7ac0Smrg    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
879a64a7ac0Smrg    case $ac_user_opts in
880a64a7ac0Smrg      *"
881a64a7ac0Smrg"enable_$ac_useropt"
882a64a7ac0Smrg"*) ;;
883a64a7ac0Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
884a64a7ac0Smrg	 ac_unrecognized_sep=', ';;
885a64a7ac0Smrg    esac
886a64a7ac0Smrg    eval enable_$ac_useropt=\$ac_optarg ;;
887a64a7ac0Smrg
888a64a7ac0Smrg  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
889a64a7ac0Smrg  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
890a64a7ac0Smrg  | --exec | --exe | --ex)
891a64a7ac0Smrg    ac_prev=exec_prefix ;;
892a64a7ac0Smrg  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
893a64a7ac0Smrg  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
894a64a7ac0Smrg  | --exec=* | --exe=* | --ex=*)
895a64a7ac0Smrg    exec_prefix=$ac_optarg ;;
896a64a7ac0Smrg
897a64a7ac0Smrg  -gas | --gas | --ga | --g)
898a64a7ac0Smrg    # Obsolete; use --with-gas.
899a64a7ac0Smrg    with_gas=yes ;;
900a64a7ac0Smrg
901a64a7ac0Smrg  -help | --help | --hel | --he | -h)
902a64a7ac0Smrg    ac_init_help=long ;;
903a64a7ac0Smrg  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
904a64a7ac0Smrg    ac_init_help=recursive ;;
905a64a7ac0Smrg  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
906a64a7ac0Smrg    ac_init_help=short ;;
907a64a7ac0Smrg
908a64a7ac0Smrg  -host | --host | --hos | --ho)
909a64a7ac0Smrg    ac_prev=host_alias ;;
910a64a7ac0Smrg  -host=* | --host=* | --hos=* | --ho=*)
911a64a7ac0Smrg    host_alias=$ac_optarg ;;
912a64a7ac0Smrg
913a64a7ac0Smrg  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
914a64a7ac0Smrg    ac_prev=htmldir ;;
915a64a7ac0Smrg  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
916a64a7ac0Smrg  | --ht=*)
917a64a7ac0Smrg    htmldir=$ac_optarg ;;
918a64a7ac0Smrg
919a64a7ac0Smrg  -includedir | --includedir | --includedi | --included | --include \
920a64a7ac0Smrg  | --includ | --inclu | --incl | --inc)
921a64a7ac0Smrg    ac_prev=includedir ;;
922a64a7ac0Smrg  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
923a64a7ac0Smrg  | --includ=* | --inclu=* | --incl=* | --inc=*)
924a64a7ac0Smrg    includedir=$ac_optarg ;;
925a64a7ac0Smrg
926a64a7ac0Smrg  -infodir | --infodir | --infodi | --infod | --info | --inf)
927a64a7ac0Smrg    ac_prev=infodir ;;
928a64a7ac0Smrg  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
929a64a7ac0Smrg    infodir=$ac_optarg ;;
930a64a7ac0Smrg
931a64a7ac0Smrg  -libdir | --libdir | --libdi | --libd)
932a64a7ac0Smrg    ac_prev=libdir ;;
933a64a7ac0Smrg  -libdir=* | --libdir=* | --libdi=* | --libd=*)
934a64a7ac0Smrg    libdir=$ac_optarg ;;
935a64a7ac0Smrg
936a64a7ac0Smrg  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
937a64a7ac0Smrg  | --libexe | --libex | --libe)
938a64a7ac0Smrg    ac_prev=libexecdir ;;
939a64a7ac0Smrg  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
940a64a7ac0Smrg  | --libexe=* | --libex=* | --libe=*)
941a64a7ac0Smrg    libexecdir=$ac_optarg ;;
942a64a7ac0Smrg
943a64a7ac0Smrg  -localedir | --localedir | --localedi | --localed | --locale)
944a64a7ac0Smrg    ac_prev=localedir ;;
945a64a7ac0Smrg  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
946a64a7ac0Smrg    localedir=$ac_optarg ;;
947a64a7ac0Smrg
948a64a7ac0Smrg  -localstatedir | --localstatedir | --localstatedi | --localstated \
949a64a7ac0Smrg  | --localstate | --localstat | --localsta | --localst | --locals)
950a64a7ac0Smrg    ac_prev=localstatedir ;;
951a64a7ac0Smrg  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
952a64a7ac0Smrg  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
953a64a7ac0Smrg    localstatedir=$ac_optarg ;;
954a64a7ac0Smrg
955a64a7ac0Smrg  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
956a64a7ac0Smrg    ac_prev=mandir ;;
957a64a7ac0Smrg  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
958a64a7ac0Smrg    mandir=$ac_optarg ;;
959a64a7ac0Smrg
960a64a7ac0Smrg  -nfp | --nfp | --nf)
961a64a7ac0Smrg    # Obsolete; use --without-fp.
962a64a7ac0Smrg    with_fp=no ;;
963a64a7ac0Smrg
964a64a7ac0Smrg  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
965a64a7ac0Smrg  | --no-cr | --no-c | -n)
966a64a7ac0Smrg    no_create=yes ;;
967a64a7ac0Smrg
968a64a7ac0Smrg  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
969a64a7ac0Smrg  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
970a64a7ac0Smrg    no_recursion=yes ;;
971a64a7ac0Smrg
972a64a7ac0Smrg  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
973a64a7ac0Smrg  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
974a64a7ac0Smrg  | --oldin | --oldi | --old | --ol | --o)
975a64a7ac0Smrg    ac_prev=oldincludedir ;;
976a64a7ac0Smrg  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
977a64a7ac0Smrg  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
978a64a7ac0Smrg  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
979a64a7ac0Smrg    oldincludedir=$ac_optarg ;;
980a64a7ac0Smrg
981a64a7ac0Smrg  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
982a64a7ac0Smrg    ac_prev=prefix ;;
983a64a7ac0Smrg  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
984a64a7ac0Smrg    prefix=$ac_optarg ;;
985a64a7ac0Smrg
986a64a7ac0Smrg  -program-prefix | --program-prefix | --program-prefi | --program-pref \
987a64a7ac0Smrg  | --program-pre | --program-pr | --program-p)
988a64a7ac0Smrg    ac_prev=program_prefix ;;
989a64a7ac0Smrg  -program-prefix=* | --program-prefix=* | --program-prefi=* \
990a64a7ac0Smrg  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
991a64a7ac0Smrg    program_prefix=$ac_optarg ;;
992a64a7ac0Smrg
993a64a7ac0Smrg  -program-suffix | --program-suffix | --program-suffi | --program-suff \
994a64a7ac0Smrg  | --program-suf | --program-su | --program-s)
995a64a7ac0Smrg    ac_prev=program_suffix ;;
996a64a7ac0Smrg  -program-suffix=* | --program-suffix=* | --program-suffi=* \
997a64a7ac0Smrg  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
998a64a7ac0Smrg    program_suffix=$ac_optarg ;;
999a64a7ac0Smrg
1000a64a7ac0Smrg  -program-transform-name | --program-transform-name \
1001a64a7ac0Smrg  | --program-transform-nam | --program-transform-na \
1002a64a7ac0Smrg  | --program-transform-n | --program-transform- \
1003a64a7ac0Smrg  | --program-transform | --program-transfor \
1004a64a7ac0Smrg  | --program-transfo | --program-transf \
1005a64a7ac0Smrg  | --program-trans | --program-tran \
1006a64a7ac0Smrg  | --progr-tra | --program-tr | --program-t)
1007a64a7ac0Smrg    ac_prev=program_transform_name ;;
1008a64a7ac0Smrg  -program-transform-name=* | --program-transform-name=* \
1009a64a7ac0Smrg  | --program-transform-nam=* | --program-transform-na=* \
1010a64a7ac0Smrg  | --program-transform-n=* | --program-transform-=* \
1011a64a7ac0Smrg  | --program-transform=* | --program-transfor=* \
1012a64a7ac0Smrg  | --program-transfo=* | --program-transf=* \
1013a64a7ac0Smrg  | --program-trans=* | --program-tran=* \
1014a64a7ac0Smrg  | --progr-tra=* | --program-tr=* | --program-t=*)
1015a64a7ac0Smrg    program_transform_name=$ac_optarg ;;
1016a64a7ac0Smrg
1017a64a7ac0Smrg  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1018a64a7ac0Smrg    ac_prev=pdfdir ;;
1019a64a7ac0Smrg  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1020a64a7ac0Smrg    pdfdir=$ac_optarg ;;
1021a64a7ac0Smrg
1022a64a7ac0Smrg  -psdir | --psdir | --psdi | --psd | --ps)
1023a64a7ac0Smrg    ac_prev=psdir ;;
1024a64a7ac0Smrg  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1025a64a7ac0Smrg    psdir=$ac_optarg ;;
1026a64a7ac0Smrg
1027a64a7ac0Smrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1028a64a7ac0Smrg  | -silent | --silent | --silen | --sile | --sil)
1029a64a7ac0Smrg    silent=yes ;;
1030a64a7ac0Smrg
1031a64a7ac0Smrg  -runstatedir | --runstatedir | --runstatedi | --runstated \
1032a64a7ac0Smrg  | --runstate | --runstat | --runsta | --runst | --runs \
1033a64a7ac0Smrg  | --run | --ru | --r)
1034a64a7ac0Smrg    ac_prev=runstatedir ;;
1035a64a7ac0Smrg  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1036a64a7ac0Smrg  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1037a64a7ac0Smrg  | --run=* | --ru=* | --r=*)
1038a64a7ac0Smrg    runstatedir=$ac_optarg ;;
1039a64a7ac0Smrg
1040a64a7ac0Smrg  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1041a64a7ac0Smrg    ac_prev=sbindir ;;
1042a64a7ac0Smrg  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1043a64a7ac0Smrg  | --sbi=* | --sb=*)
1044a64a7ac0Smrg    sbindir=$ac_optarg ;;
1045a64a7ac0Smrg
1046a64a7ac0Smrg  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1047a64a7ac0Smrg  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1048a64a7ac0Smrg  | --sharedst | --shareds | --shared | --share | --shar \
1049a64a7ac0Smrg  | --sha | --sh)
1050a64a7ac0Smrg    ac_prev=sharedstatedir ;;
1051a64a7ac0Smrg  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1052a64a7ac0Smrg  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1053a64a7ac0Smrg  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1054a64a7ac0Smrg  | --sha=* | --sh=*)
1055a64a7ac0Smrg    sharedstatedir=$ac_optarg ;;
1056a64a7ac0Smrg
1057a64a7ac0Smrg  -site | --site | --sit)
1058a64a7ac0Smrg    ac_prev=site ;;
1059a64a7ac0Smrg  -site=* | --site=* | --sit=*)
1060a64a7ac0Smrg    site=$ac_optarg ;;
1061a64a7ac0Smrg
1062a64a7ac0Smrg  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1063a64a7ac0Smrg    ac_prev=srcdir ;;
1064a64a7ac0Smrg  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1065a64a7ac0Smrg    srcdir=$ac_optarg ;;
1066a64a7ac0Smrg
1067a64a7ac0Smrg  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1068a64a7ac0Smrg  | --syscon | --sysco | --sysc | --sys | --sy)
1069a64a7ac0Smrg    ac_prev=sysconfdir ;;
1070a64a7ac0Smrg  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1071a64a7ac0Smrg  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1072a64a7ac0Smrg    sysconfdir=$ac_optarg ;;
1073a64a7ac0Smrg
1074a64a7ac0Smrg  -target | --target | --targe | --targ | --tar | --ta | --t)
1075a64a7ac0Smrg    ac_prev=target_alias ;;
1076a64a7ac0Smrg  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1077a64a7ac0Smrg    target_alias=$ac_optarg ;;
1078a64a7ac0Smrg
1079a64a7ac0Smrg  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1080a64a7ac0Smrg    verbose=yes ;;
1081a64a7ac0Smrg
1082a64a7ac0Smrg  -version | --version | --versio | --versi | --vers | -V)
1083a64a7ac0Smrg    ac_init_version=: ;;
1084a64a7ac0Smrg
1085a64a7ac0Smrg  -with-* | --with-*)
1086a64a7ac0Smrg    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1087a64a7ac0Smrg    # Reject names that are not valid shell variable names.
1088a64a7ac0Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1089a64a7ac0Smrg      as_fn_error $? "invalid package name: \`$ac_useropt'"
1090a64a7ac0Smrg    ac_useropt_orig=$ac_useropt
1091a64a7ac0Smrg    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1092a64a7ac0Smrg    case $ac_user_opts in
1093a64a7ac0Smrg      *"
1094a64a7ac0Smrg"with_$ac_useropt"
1095a64a7ac0Smrg"*) ;;
1096a64a7ac0Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1097a64a7ac0Smrg	 ac_unrecognized_sep=', ';;
1098a64a7ac0Smrg    esac
1099a64a7ac0Smrg    eval with_$ac_useropt=\$ac_optarg ;;
1100a64a7ac0Smrg
1101a64a7ac0Smrg  -without-* | --without-*)
1102a64a7ac0Smrg    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1103a64a7ac0Smrg    # Reject names that are not valid shell variable names.
1104a64a7ac0Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1105a64a7ac0Smrg      as_fn_error $? "invalid package name: \`$ac_useropt'"
1106a64a7ac0Smrg    ac_useropt_orig=$ac_useropt
1107a64a7ac0Smrg    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1108a64a7ac0Smrg    case $ac_user_opts in
1109a64a7ac0Smrg      *"
1110a64a7ac0Smrg"with_$ac_useropt"
1111a64a7ac0Smrg"*) ;;
1112a64a7ac0Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1113a64a7ac0Smrg	 ac_unrecognized_sep=', ';;
1114a64a7ac0Smrg    esac
1115a64a7ac0Smrg    eval with_$ac_useropt=no ;;
1116a64a7ac0Smrg
1117a64a7ac0Smrg  --x)
1118a64a7ac0Smrg    # Obsolete; use --with-x.
1119a64a7ac0Smrg    with_x=yes ;;
1120a64a7ac0Smrg
1121a64a7ac0Smrg  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1122a64a7ac0Smrg  | --x-incl | --x-inc | --x-in | --x-i)
1123a64a7ac0Smrg    ac_prev=x_includes ;;
1124a64a7ac0Smrg  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1125a64a7ac0Smrg  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1126a64a7ac0Smrg    x_includes=$ac_optarg ;;
1127a64a7ac0Smrg
1128a64a7ac0Smrg  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1129a64a7ac0Smrg  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1130a64a7ac0Smrg    ac_prev=x_libraries ;;
1131a64a7ac0Smrg  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1132a64a7ac0Smrg  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1133a64a7ac0Smrg    x_libraries=$ac_optarg ;;
1134a64a7ac0Smrg
1135a64a7ac0Smrg  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1136a64a7ac0SmrgTry \`$0 --help' for more information"
1137a64a7ac0Smrg    ;;
1138a64a7ac0Smrg
1139a64a7ac0Smrg  *=*)
1140a64a7ac0Smrg    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1141a64a7ac0Smrg    # Reject names that are not valid shell variable names.
1142a64a7ac0Smrg    case $ac_envvar in #(
1143a64a7ac0Smrg      '' | [0-9]* | *[!_$as_cr_alnum]* )
1144a64a7ac0Smrg      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1145a64a7ac0Smrg    esac
1146a64a7ac0Smrg    eval $ac_envvar=\$ac_optarg
1147a64a7ac0Smrg    export $ac_envvar ;;
1148a64a7ac0Smrg
1149a64a7ac0Smrg  *)
1150a64a7ac0Smrg    # FIXME: should be removed in autoconf 3.0.
1151a64a7ac0Smrg    printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1152a64a7ac0Smrg    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1153a64a7ac0Smrg      printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1154a64a7ac0Smrg    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1155a64a7ac0Smrg    ;;
1156a64a7ac0Smrg
1157a64a7ac0Smrg  esac
1158a64a7ac0Smrgdone
1159a64a7ac0Smrg
1160a64a7ac0Smrgif test -n "$ac_prev"; then
1161a64a7ac0Smrg  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1162a64a7ac0Smrg  as_fn_error $? "missing argument to $ac_option"
1163a64a7ac0Smrgfi
1164a64a7ac0Smrg
1165a64a7ac0Smrgif test -n "$ac_unrecognized_opts"; then
1166a64a7ac0Smrg  case $enable_option_checking in
1167a64a7ac0Smrg    no) ;;
1168a64a7ac0Smrg    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1169a64a7ac0Smrg    *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1170a64a7ac0Smrg  esac
1171a64a7ac0Smrgfi
1172a64a7ac0Smrg
1173a64a7ac0Smrg# Check all directory arguments for consistency.
1174a64a7ac0Smrgfor ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1175a64a7ac0Smrg		datadir sysconfdir sharedstatedir localstatedir includedir \
1176a64a7ac0Smrg		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1177a64a7ac0Smrg		libdir localedir mandir runstatedir
1178a64a7ac0Smrgdo
1179a64a7ac0Smrg  eval ac_val=\$$ac_var
1180a64a7ac0Smrg  # Remove trailing slashes.
1181a64a7ac0Smrg  case $ac_val in
1182a64a7ac0Smrg    */ )
1183a64a7ac0Smrg      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1184a64a7ac0Smrg      eval $ac_var=\$ac_val;;
1185a64a7ac0Smrg  esac
1186a64a7ac0Smrg  # Be sure to have absolute directory names.
1187a64a7ac0Smrg  case $ac_val in
1188a64a7ac0Smrg    [\\/$]* | ?:[\\/]* )  continue;;
1189a64a7ac0Smrg    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1190a64a7ac0Smrg  esac
1191a64a7ac0Smrg  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1192a64a7ac0Smrgdone
1193a64a7ac0Smrg
1194a64a7ac0Smrg# There might be people who depend on the old broken behavior: `$host'
1195a64a7ac0Smrg# used to hold the argument of --host etc.
1196a64a7ac0Smrg# FIXME: To remove some day.
1197a64a7ac0Smrgbuild=$build_alias
1198a64a7ac0Smrghost=$host_alias
1199a64a7ac0Smrgtarget=$target_alias
1200a64a7ac0Smrg
1201a64a7ac0Smrg# FIXME: To remove some day.
1202a64a7ac0Smrgif test "x$host_alias" != x; then
1203a64a7ac0Smrg  if test "x$build_alias" = x; then
1204a64a7ac0Smrg    cross_compiling=maybe
1205a64a7ac0Smrg  elif test "x$build_alias" != "x$host_alias"; then
1206a64a7ac0Smrg    cross_compiling=yes
1207a64a7ac0Smrg  fi
1208a64a7ac0Smrgfi
1209a64a7ac0Smrg
1210a64a7ac0Smrgac_tool_prefix=
1211a64a7ac0Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias-
1212a64a7ac0Smrg
1213a64a7ac0Smrgtest "$silent" = yes && exec 6>/dev/null
1214a64a7ac0Smrg
1215a64a7ac0Smrg
1216a64a7ac0Smrgac_pwd=`pwd` && test -n "$ac_pwd" &&
1217a64a7ac0Smrgac_ls_di=`ls -di .` &&
1218a64a7ac0Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1219a64a7ac0Smrg  as_fn_error $? "working directory cannot be determined"
1220a64a7ac0Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1221a64a7ac0Smrg  as_fn_error $? "pwd does not report name of working directory"
1222a64a7ac0Smrg
1223a64a7ac0Smrg
1224a64a7ac0Smrg# Find the source files, if location was not specified.
1225a64a7ac0Smrgif test -z "$srcdir"; then
1226a64a7ac0Smrg  ac_srcdir_defaulted=yes
1227a64a7ac0Smrg  # Try the directory containing this script, then the parent directory.
1228a64a7ac0Smrg  ac_confdir=`$as_dirname -- "$as_myself" ||
1229a64a7ac0Smrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1230a64a7ac0Smrg	 X"$as_myself" : 'X\(//\)[^/]' \| \
1231a64a7ac0Smrg	 X"$as_myself" : 'X\(//\)$' \| \
1232a64a7ac0Smrg	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1233a64a7ac0Smrgprintf "%s\n" X"$as_myself" |
1234a64a7ac0Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1235a64a7ac0Smrg	    s//\1/
1236a64a7ac0Smrg	    q
1237a64a7ac0Smrg	  }
1238a64a7ac0Smrg	  /^X\(\/\/\)[^/].*/{
1239a64a7ac0Smrg	    s//\1/
1240a64a7ac0Smrg	    q
1241a64a7ac0Smrg	  }
1242a64a7ac0Smrg	  /^X\(\/\/\)$/{
1243a64a7ac0Smrg	    s//\1/
1244a64a7ac0Smrg	    q
1245a64a7ac0Smrg	  }
1246a64a7ac0Smrg	  /^X\(\/\).*/{
1247a64a7ac0Smrg	    s//\1/
1248a64a7ac0Smrg	    q
1249a64a7ac0Smrg	  }
1250a64a7ac0Smrg	  s/.*/./; q'`
1251a64a7ac0Smrg  srcdir=$ac_confdir
1252a64a7ac0Smrg  if test ! -r "$srcdir/$ac_unique_file"; then
1253a64a7ac0Smrg    srcdir=..
1254a64a7ac0Smrg  fi
1255a64a7ac0Smrgelse
1256a64a7ac0Smrg  ac_srcdir_defaulted=no
1257a64a7ac0Smrgfi
1258a64a7ac0Smrgif test ! -r "$srcdir/$ac_unique_file"; then
1259a64a7ac0Smrg  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1260a64a7ac0Smrg  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1261a64a7ac0Smrgfi
1262a64a7ac0Smrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1263a64a7ac0Smrgac_abs_confdir=`(
1264a64a7ac0Smrg	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1265a64a7ac0Smrg	pwd)`
1266a64a7ac0Smrg# When building in place, set srcdir=.
1267a64a7ac0Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then
1268a64a7ac0Smrg  srcdir=.
1269a64a7ac0Smrgfi
1270a64a7ac0Smrg# Remove unnecessary trailing slashes from srcdir.
1271a64a7ac0Smrg# Double slashes in file names in object file debugging info
1272a64a7ac0Smrg# mess up M-x gdb in Emacs.
1273a64a7ac0Smrgcase $srcdir in
1274a64a7ac0Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1275a64a7ac0Smrgesac
1276a64a7ac0Smrgfor ac_var in $ac_precious_vars; do
1277a64a7ac0Smrg  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1278a64a7ac0Smrg  eval ac_env_${ac_var}_value=\$${ac_var}
1279a64a7ac0Smrg  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1280a64a7ac0Smrg  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1281a64a7ac0Smrgdone
1282a64a7ac0Smrg
1283a64a7ac0Smrg#
1284a64a7ac0Smrg# Report the --help message.
1285a64a7ac0Smrg#
1286a64a7ac0Smrgif test "$ac_init_help" = "long"; then
1287a64a7ac0Smrg  # Omit some internal or obsolete options to make the list less imposing.
1288a64a7ac0Smrg  # This message is too long to be a string in the A/UX 3.1 sh.
1289a64a7ac0Smrg  cat <<_ACEOF
1290a64a7ac0Smrg\`configure' configures font-arabic-misc 1.0.4 to adapt to many kinds of systems.
1291a64a7ac0Smrg
1292a64a7ac0SmrgUsage: $0 [OPTION]... [VAR=VALUE]...
1293a64a7ac0Smrg
1294a64a7ac0SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as
1295a64a7ac0SmrgVAR=VALUE.  See below for descriptions of some of the useful variables.
1296a64a7ac0Smrg
1297a64a7ac0SmrgDefaults for the options are specified in brackets.
1298a64a7ac0Smrg
1299a64a7ac0SmrgConfiguration:
1300a64a7ac0Smrg  -h, --help              display this help and exit
1301a64a7ac0Smrg      --help=short        display options specific to this package
1302a64a7ac0Smrg      --help=recursive    display the short help of all the included packages
1303a64a7ac0Smrg  -V, --version           display version information and exit
1304a64a7ac0Smrg  -q, --quiet, --silent   do not print \`checking ...' messages
1305a64a7ac0Smrg      --cache-file=FILE   cache test results in FILE [disabled]
1306a64a7ac0Smrg  -C, --config-cache      alias for \`--cache-file=config.cache'
1307a64a7ac0Smrg  -n, --no-create         do not create output files
1308a64a7ac0Smrg      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1309a64a7ac0Smrg
1310a64a7ac0SmrgInstallation directories:
1311a64a7ac0Smrg  --prefix=PREFIX         install architecture-independent files in PREFIX
1312a64a7ac0Smrg                          [$ac_default_prefix]
1313a64a7ac0Smrg  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1314a64a7ac0Smrg                          [PREFIX]
1315a64a7ac0Smrg
1316a64a7ac0SmrgBy default, \`make install' will install all the files in
1317a64a7ac0Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1318a64a7ac0Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix',
1319a64a7ac0Smrgfor instance \`--prefix=\$HOME'.
1320a64a7ac0Smrg
1321a64a7ac0SmrgFor better control, use the options below.
1322a64a7ac0Smrg
1323a64a7ac0SmrgFine tuning of the installation directories:
1324a64a7ac0Smrg  --bindir=DIR            user executables [EPREFIX/bin]
1325a64a7ac0Smrg  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1326a64a7ac0Smrg  --libexecdir=DIR        program executables [EPREFIX/libexec]
1327a64a7ac0Smrg  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1328a64a7ac0Smrg  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1329a64a7ac0Smrg  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1330a64a7ac0Smrg  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1331a64a7ac0Smrg  --libdir=DIR            object code libraries [EPREFIX/lib]
1332a64a7ac0Smrg  --includedir=DIR        C header files [PREFIX/include]
1333a64a7ac0Smrg  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1334a64a7ac0Smrg  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1335a64a7ac0Smrg  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1336a64a7ac0Smrg  --infodir=DIR           info documentation [DATAROOTDIR/info]
1337a64a7ac0Smrg  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1338a64a7ac0Smrg  --mandir=DIR            man documentation [DATAROOTDIR/man]
1339a64a7ac0Smrg  --docdir=DIR            documentation root
1340a64a7ac0Smrg                          [DATAROOTDIR/doc/font-arabic-misc]
1341a64a7ac0Smrg  --htmldir=DIR           html documentation [DOCDIR]
1342a64a7ac0Smrg  --dvidir=DIR            dvi documentation [DOCDIR]
1343a64a7ac0Smrg  --pdfdir=DIR            pdf documentation [DOCDIR]
1344a64a7ac0Smrg  --psdir=DIR             ps documentation [DOCDIR]
1345a64a7ac0Smrg_ACEOF
1346a64a7ac0Smrg
1347a64a7ac0Smrg  cat <<\_ACEOF
1348a64a7ac0Smrg
1349a64a7ac0SmrgProgram names:
1350a64a7ac0Smrg  --program-prefix=PREFIX            prepend PREFIX to installed program names
1351a64a7ac0Smrg  --program-suffix=SUFFIX            append SUFFIX to installed program names
1352a64a7ac0Smrg  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1353a64a7ac0Smrg
1354a64a7ac0SmrgSystem types:
1355a64a7ac0Smrg  --build=BUILD     configure for building on BUILD [guessed]
1356a64a7ac0Smrg  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1357a64a7ac0Smrg_ACEOF
1358a64a7ac0Smrgfi
1359a64a7ac0Smrg
1360a64a7ac0Smrgif test -n "$ac_init_help"; then
1361a64a7ac0Smrg  case $ac_init_help in
1362a64a7ac0Smrg     short | recursive ) echo "Configuration of font-arabic-misc 1.0.4:";;
1363a64a7ac0Smrg   esac
1364a64a7ac0Smrg  cat <<\_ACEOF
1365a64a7ac0Smrg
1366a64a7ac0SmrgOptional Features:
1367a64a7ac0Smrg  --disable-option-checking  ignore unrecognized --enable/--with options
1368a64a7ac0Smrg  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1369a64a7ac0Smrg  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1370a64a7ac0Smrg  --enable-silent-rules   less verbose build output (undo: "make V=1")
1371a64a7ac0Smrg  --disable-silent-rules  verbose build output (undo: "make V=0")
1372a64a7ac0Smrg
1373a64a7ac0SmrgOptional Packages:
1374a64a7ac0Smrg  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1375a64a7ac0Smrg  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1376a64a7ac0Smrg  --with-fontrootdir=DIR  Path to root directory for font files
1377a64a7ac0Smrg  --with-fontdir=DIR      Path to misc files [FONTROOTDIR/misc]
1378a64a7ac0Smrg  --with-compression=<no|compress|gzip|bzip2>
1379a64a7ac0Smrg                          compression method to use on pcf fonts
1380a64a7ac0Smrg
1381a64a7ac0SmrgSome influential environment variables:
1382a64a7ac0Smrg  PKG_CONFIG  path to pkg-config utility
1383a64a7ac0Smrg  PKG_CONFIG_PATH
1384a64a7ac0Smrg              directories to add to pkg-config's search path
1385a64a7ac0Smrg  PKG_CONFIG_LIBDIR
1386a64a7ac0Smrg              path overriding pkg-config's built-in search path
1387a64a7ac0Smrg
1388a64a7ac0SmrgUse these variables to override the choices made by `configure' or to help
1389a64a7ac0Smrgit to find libraries and programs with nonstandard names/locations.
1390a64a7ac0Smrg
1391a64a7ac0SmrgReport bugs to <https://gitlab.freedesktop.org/xorg/font/arabic-misc/-/issues>.
1392a64a7ac0Smrg_ACEOF
1393a64a7ac0Smrgac_status=$?
1394a64a7ac0Smrgfi
1395a64a7ac0Smrg
1396a64a7ac0Smrgif test "$ac_init_help" = "recursive"; then
1397a64a7ac0Smrg  # If there are subdirs, report their specific --help.
1398a64a7ac0Smrg  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1399a64a7ac0Smrg    test -d "$ac_dir" ||
1400a64a7ac0Smrg      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1401a64a7ac0Smrg      continue
1402a64a7ac0Smrg    ac_builddir=.
1403a64a7ac0Smrg
1404a64a7ac0Smrgcase "$ac_dir" in
1405a64a7ac0Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1406a64a7ac0Smrg*)
1407a64a7ac0Smrg  ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1408a64a7ac0Smrg  # A ".." for each directory in $ac_dir_suffix.
1409a64a7ac0Smrg  ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1410a64a7ac0Smrg  case $ac_top_builddir_sub in
1411a64a7ac0Smrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1412a64a7ac0Smrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1413a64a7ac0Smrg  esac ;;
1414a64a7ac0Smrgesac
1415a64a7ac0Smrgac_abs_top_builddir=$ac_pwd
1416a64a7ac0Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix
1417a64a7ac0Smrg# for backward compatibility:
1418a64a7ac0Smrgac_top_builddir=$ac_top_build_prefix
1419a64a7ac0Smrg
1420a64a7ac0Smrgcase $srcdir in
1421a64a7ac0Smrg  .)  # We are building in place.
1422a64a7ac0Smrg    ac_srcdir=.
1423a64a7ac0Smrg    ac_top_srcdir=$ac_top_builddir_sub
1424a64a7ac0Smrg    ac_abs_top_srcdir=$ac_pwd ;;
1425a64a7ac0Smrg  [\\/]* | ?:[\\/]* )  # Absolute name.
1426a64a7ac0Smrg    ac_srcdir=$srcdir$ac_dir_suffix;
1427a64a7ac0Smrg    ac_top_srcdir=$srcdir
1428a64a7ac0Smrg    ac_abs_top_srcdir=$srcdir ;;
1429a64a7ac0Smrg  *) # Relative name.
1430a64a7ac0Smrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1431a64a7ac0Smrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
1432a64a7ac0Smrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1433a64a7ac0Smrgesac
1434a64a7ac0Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1435a64a7ac0Smrg
1436a64a7ac0Smrg    cd "$ac_dir" || { ac_status=$?; continue; }
1437a64a7ac0Smrg    # Check for configure.gnu first; this name is used for a wrapper for
1438a64a7ac0Smrg    # Metaconfig's "Configure" on case-insensitive file systems.
1439a64a7ac0Smrg    if test -f "$ac_srcdir/configure.gnu"; then
1440a64a7ac0Smrg      echo &&
1441a64a7ac0Smrg      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1442a64a7ac0Smrg    elif test -f "$ac_srcdir/configure"; then
1443a64a7ac0Smrg      echo &&
1444a64a7ac0Smrg      $SHELL "$ac_srcdir/configure" --help=recursive
1445a64a7ac0Smrg    else
1446a64a7ac0Smrg      printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1447a64a7ac0Smrg    fi || ac_status=$?
1448a64a7ac0Smrg    cd "$ac_pwd" || { ac_status=$?; break; }
1449a64a7ac0Smrg  done
1450a64a7ac0Smrgfi
1451a64a7ac0Smrg
1452a64a7ac0Smrgtest -n "$ac_init_help" && exit $ac_status
1453a64a7ac0Smrgif $ac_init_version; then
1454a64a7ac0Smrg  cat <<\_ACEOF
1455a64a7ac0Smrgfont-arabic-misc configure 1.0.4
1456a64a7ac0Smrggenerated by GNU Autoconf 2.71
1457a64a7ac0Smrg
1458a64a7ac0SmrgCopyright (C) 2021 Free Software Foundation, Inc.
1459a64a7ac0SmrgThis configure script is free software; the Free Software Foundation
1460a64a7ac0Smrggives unlimited permission to copy, distribute and modify it.
1461a64a7ac0Smrg_ACEOF
1462a64a7ac0Smrg  exit
1463a64a7ac0Smrgfi
1464a64a7ac0Smrg
1465a64a7ac0Smrg## ------------------------ ##
1466a64a7ac0Smrg## Autoconf initialization. ##
1467a64a7ac0Smrg## ------------------------ ##
1468a64a7ac0Smrgac_configure_args_raw=
1469a64a7ac0Smrgfor ac_arg
1470a64a7ac0Smrgdo
1471a64a7ac0Smrg  case $ac_arg in
1472a64a7ac0Smrg  *\'*)
1473a64a7ac0Smrg    ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1474a64a7ac0Smrg  esac
1475a64a7ac0Smrg  as_fn_append ac_configure_args_raw " '$ac_arg'"
1476a64a7ac0Smrgdone
1477a64a7ac0Smrg
1478a64a7ac0Smrgcase $ac_configure_args_raw in
1479a64a7ac0Smrg  *$as_nl*)
1480a64a7ac0Smrg    ac_safe_unquote= ;;
1481a64a7ac0Smrg  *)
1482a64a7ac0Smrg    ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
1483a64a7ac0Smrg    ac_unsafe_a="$ac_unsafe_z#~"
1484a64a7ac0Smrg    ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1485a64a7ac0Smrg    ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1486a64a7ac0Smrgesac
1487a64a7ac0Smrg
1488a64a7ac0Smrgcat >config.log <<_ACEOF
1489a64a7ac0SmrgThis file contains any messages produced by compilers while
1490a64a7ac0Smrgrunning configure, to aid debugging if configure makes a mistake.
1491a64a7ac0Smrg
1492a64a7ac0SmrgIt was created by font-arabic-misc $as_me 1.0.4, which was
1493a64a7ac0Smrggenerated by GNU Autoconf 2.71.  Invocation command line was
1494a64a7ac0Smrg
1495a64a7ac0Smrg  $ $0$ac_configure_args_raw
1496a64a7ac0Smrg
1497a64a7ac0Smrg_ACEOF
1498a64a7ac0Smrgexec 5>>config.log
1499a64a7ac0Smrg{
1500a64a7ac0Smrgcat <<_ASUNAME
1501a64a7ac0Smrg## --------- ##
1502a64a7ac0Smrg## Platform. ##
1503a64a7ac0Smrg## --------- ##
1504a64a7ac0Smrg
1505a64a7ac0Smrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1506a64a7ac0Smrguname -m = `(uname -m) 2>/dev/null || echo unknown`
1507a64a7ac0Smrguname -r = `(uname -r) 2>/dev/null || echo unknown`
1508a64a7ac0Smrguname -s = `(uname -s) 2>/dev/null || echo unknown`
1509a64a7ac0Smrguname -v = `(uname -v) 2>/dev/null || echo unknown`
1510a64a7ac0Smrg
1511a64a7ac0Smrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1512a64a7ac0Smrg/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1513a64a7ac0Smrg
1514a64a7ac0Smrg/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1515a64a7ac0Smrg/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1516a64a7ac0Smrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1517a64a7ac0Smrg/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1518a64a7ac0Smrg/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1519a64a7ac0Smrg/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1520a64a7ac0Smrg/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1521a64a7ac0Smrg
1522a64a7ac0Smrg_ASUNAME
1523a64a7ac0Smrg
1524a64a7ac0Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1525a64a7ac0Smrgfor as_dir in $PATH
1526a64a7ac0Smrgdo
1527a64a7ac0Smrg  IFS=$as_save_IFS
1528a64a7ac0Smrg  case $as_dir in #(((
1529a64a7ac0Smrg    '') as_dir=./ ;;
1530a64a7ac0Smrg    */) ;;
1531a64a7ac0Smrg    *) as_dir=$as_dir/ ;;
1532a64a7ac0Smrg  esac
1533a64a7ac0Smrg    printf "%s\n" "PATH: $as_dir"
1534a64a7ac0Smrg  done
1535a64a7ac0SmrgIFS=$as_save_IFS
1536a64a7ac0Smrg
1537a64a7ac0Smrg} >&5
1538a64a7ac0Smrg
1539a64a7ac0Smrgcat >&5 <<_ACEOF
1540a64a7ac0Smrg
1541a64a7ac0Smrg
1542a64a7ac0Smrg## ----------- ##
1543a64a7ac0Smrg## Core tests. ##
1544a64a7ac0Smrg## ----------- ##
1545a64a7ac0Smrg
1546a64a7ac0Smrg_ACEOF
1547a64a7ac0Smrg
1548a64a7ac0Smrg
1549a64a7ac0Smrg# Keep a trace of the command line.
1550a64a7ac0Smrg# Strip out --no-create and --no-recursion so they do not pile up.
1551a64a7ac0Smrg# Strip out --silent because we don't want to record it for future runs.
1552a64a7ac0Smrg# Also quote any args containing shell meta-characters.
1553a64a7ac0Smrg# Make two passes to allow for proper duplicate-argument suppression.
1554a64a7ac0Smrgac_configure_args=
1555a64a7ac0Smrgac_configure_args0=
1556a64a7ac0Smrgac_configure_args1=
1557a64a7ac0Smrgac_must_keep_next=false
1558a64a7ac0Smrgfor ac_pass in 1 2
1559a64a7ac0Smrgdo
1560a64a7ac0Smrg  for ac_arg
1561a64a7ac0Smrg  do
1562a64a7ac0Smrg    case $ac_arg in
1563a64a7ac0Smrg    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1564a64a7ac0Smrg    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1565a64a7ac0Smrg    | -silent | --silent | --silen | --sile | --sil)
1566a64a7ac0Smrg      continue ;;
1567a64a7ac0Smrg    *\'*)
1568a64a7ac0Smrg      ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1569a64a7ac0Smrg    esac
1570a64a7ac0Smrg    case $ac_pass in
1571a64a7ac0Smrg    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1572a64a7ac0Smrg    2)
1573a64a7ac0Smrg      as_fn_append ac_configure_args1 " '$ac_arg'"
1574a64a7ac0Smrg      if test $ac_must_keep_next = true; then
1575a64a7ac0Smrg	ac_must_keep_next=false # Got value, back to normal.
1576a64a7ac0Smrg      else
1577a64a7ac0Smrg	case $ac_arg in
1578a64a7ac0Smrg	  *=* | --config-cache | -C | -disable-* | --disable-* \
1579a64a7ac0Smrg	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1580a64a7ac0Smrg	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1581a64a7ac0Smrg	  | -with-* | --with-* | -without-* | --without-* | --x)
1582a64a7ac0Smrg	    case "$ac_configure_args0 " in
1583a64a7ac0Smrg	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1584a64a7ac0Smrg	    esac
1585a64a7ac0Smrg	    ;;
1586a64a7ac0Smrg	  -* ) ac_must_keep_next=true ;;
1587a64a7ac0Smrg	esac
1588a64a7ac0Smrg      fi
1589a64a7ac0Smrg      as_fn_append ac_configure_args " '$ac_arg'"
1590a64a7ac0Smrg      ;;
1591a64a7ac0Smrg    esac
1592a64a7ac0Smrg  done
1593a64a7ac0Smrgdone
1594a64a7ac0Smrg{ ac_configure_args0=; unset ac_configure_args0;}
1595a64a7ac0Smrg{ ac_configure_args1=; unset ac_configure_args1;}
1596a64a7ac0Smrg
1597a64a7ac0Smrg# When interrupted or exit'd, cleanup temporary files, and complete
1598a64a7ac0Smrg# config.log.  We remove comments because anyway the quotes in there
1599a64a7ac0Smrg# would cause problems or look ugly.
1600a64a7ac0Smrg# WARNING: Use '\'' to represent an apostrophe within the trap.
1601a64a7ac0Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1602a64a7ac0Smrgtrap 'exit_status=$?
1603a64a7ac0Smrg  # Sanitize IFS.
1604a64a7ac0Smrg  IFS=" ""	$as_nl"
1605a64a7ac0Smrg  # Save into config.log some information that might help in debugging.
1606a64a7ac0Smrg  {
1607a64a7ac0Smrg    echo
1608a64a7ac0Smrg
1609a64a7ac0Smrg    printf "%s\n" "## ---------------- ##
1610a64a7ac0Smrg## Cache variables. ##
1611a64a7ac0Smrg## ---------------- ##"
1612a64a7ac0Smrg    echo
1613a64a7ac0Smrg    # The following way of writing the cache mishandles newlines in values,
1614a64a7ac0Smrg(
1615a64a7ac0Smrg  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1616a64a7ac0Smrg    eval ac_val=\$$ac_var
1617a64a7ac0Smrg    case $ac_val in #(
1618a64a7ac0Smrg    *${as_nl}*)
1619a64a7ac0Smrg      case $ac_var in #(
1620a64a7ac0Smrg      *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1621a64a7ac0Smrgprintf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1622a64a7ac0Smrg      esac
1623a64a7ac0Smrg      case $ac_var in #(
1624a64a7ac0Smrg      _ | IFS | as_nl) ;; #(
1625a64a7ac0Smrg      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1626a64a7ac0Smrg      *) { eval $ac_var=; unset $ac_var;} ;;
1627a64a7ac0Smrg      esac ;;
1628a64a7ac0Smrg    esac
1629a64a7ac0Smrg  done
1630a64a7ac0Smrg  (set) 2>&1 |
1631a64a7ac0Smrg    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1632a64a7ac0Smrg    *${as_nl}ac_space=\ *)
1633a64a7ac0Smrg      sed -n \
1634a64a7ac0Smrg	"s/'\''/'\''\\\\'\'''\''/g;
1635a64a7ac0Smrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1636a64a7ac0Smrg      ;; #(
1637a64a7ac0Smrg    *)
1638a64a7ac0Smrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1639a64a7ac0Smrg      ;;
1640a64a7ac0Smrg    esac |
1641a64a7ac0Smrg    sort
1642a64a7ac0Smrg)
1643a64a7ac0Smrg    echo
1644a64a7ac0Smrg
1645a64a7ac0Smrg    printf "%s\n" "## ----------------- ##
1646a64a7ac0Smrg## Output variables. ##
1647a64a7ac0Smrg## ----------------- ##"
1648a64a7ac0Smrg    echo
1649a64a7ac0Smrg    for ac_var in $ac_subst_vars
1650a64a7ac0Smrg    do
1651a64a7ac0Smrg      eval ac_val=\$$ac_var
1652a64a7ac0Smrg      case $ac_val in
1653a64a7ac0Smrg      *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1654a64a7ac0Smrg      esac
1655a64a7ac0Smrg      printf "%s\n" "$ac_var='\''$ac_val'\''"
1656a64a7ac0Smrg    done | sort
1657a64a7ac0Smrg    echo
1658a64a7ac0Smrg
1659a64a7ac0Smrg    if test -n "$ac_subst_files"; then
1660a64a7ac0Smrg      printf "%s\n" "## ------------------- ##
1661a64a7ac0Smrg## File substitutions. ##
1662a64a7ac0Smrg## ------------------- ##"
1663a64a7ac0Smrg      echo
1664a64a7ac0Smrg      for ac_var in $ac_subst_files
1665a64a7ac0Smrg      do
1666a64a7ac0Smrg	eval ac_val=\$$ac_var
1667a64a7ac0Smrg	case $ac_val in
1668a64a7ac0Smrg	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1669a64a7ac0Smrg	esac
1670a64a7ac0Smrg	printf "%s\n" "$ac_var='\''$ac_val'\''"
1671a64a7ac0Smrg      done | sort
1672a64a7ac0Smrg      echo
1673a64a7ac0Smrg    fi
1674a64a7ac0Smrg
1675a64a7ac0Smrg    if test -s confdefs.h; then
1676a64a7ac0Smrg      printf "%s\n" "## ----------- ##
1677a64a7ac0Smrg## confdefs.h. ##
1678a64a7ac0Smrg## ----------- ##"
1679a64a7ac0Smrg      echo
1680a64a7ac0Smrg      cat confdefs.h
1681a64a7ac0Smrg      echo
1682a64a7ac0Smrg    fi
1683a64a7ac0Smrg    test "$ac_signal" != 0 &&
1684a64a7ac0Smrg      printf "%s\n" "$as_me: caught signal $ac_signal"
1685a64a7ac0Smrg    printf "%s\n" "$as_me: exit $exit_status"
1686a64a7ac0Smrg  } >&5
1687a64a7ac0Smrg  rm -f core *.core core.conftest.* &&
1688a64a7ac0Smrg    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1689a64a7ac0Smrg    exit $exit_status
1690a64a7ac0Smrg' 0
1691a64a7ac0Smrgfor ac_signal in 1 2 13 15; do
1692a64a7ac0Smrg  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1693a64a7ac0Smrgdone
1694a64a7ac0Smrgac_signal=0
1695a64a7ac0Smrg
1696a64a7ac0Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed.
1697a64a7ac0Smrgrm -f -r conftest* confdefs.h
1698a64a7ac0Smrg
1699a64a7ac0Smrgprintf "%s\n" "/* confdefs.h */" > confdefs.h
1700a64a7ac0Smrg
1701a64a7ac0Smrg# Predefined preprocessor variables.
1702a64a7ac0Smrg
1703a64a7ac0Smrgprintf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1704a64a7ac0Smrg
1705a64a7ac0Smrgprintf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1706a64a7ac0Smrg
1707a64a7ac0Smrgprintf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1708a64a7ac0Smrg
1709a64a7ac0Smrgprintf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1710a64a7ac0Smrg
1711a64a7ac0Smrgprintf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1712a64a7ac0Smrg
1713a64a7ac0Smrgprintf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1714a64a7ac0Smrg
1715a64a7ac0Smrg
1716a64a7ac0Smrg# Let the site file select an alternate cache file if it wants to.
1717a64a7ac0Smrg# Prefer an explicitly selected file to automatically selected ones.
1718a64a7ac0Smrgif test -n "$CONFIG_SITE"; then
1719a64a7ac0Smrg  ac_site_files="$CONFIG_SITE"
1720a64a7ac0Smrgelif test "x$prefix" != xNONE; then
1721a64a7ac0Smrg  ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
1722a64a7ac0Smrgelse
1723a64a7ac0Smrg  ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1724a64a7ac0Smrgfi
1725a64a7ac0Smrg
1726a64a7ac0Smrgfor ac_site_file in $ac_site_files
1727a64a7ac0Smrgdo
1728a64a7ac0Smrg  case $ac_site_file in #(
1729a64a7ac0Smrg  */*) :
1730a64a7ac0Smrg     ;; #(
1731a64a7ac0Smrg  *) :
1732a64a7ac0Smrg    ac_site_file=./$ac_site_file ;;
1733a64a7ac0Smrgesac
1734a64a7ac0Smrg  if test -f "$ac_site_file" && test -r "$ac_site_file"; then
1735a64a7ac0Smrg    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1736a64a7ac0Smrgprintf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
1737a64a7ac0Smrg    sed 's/^/| /' "$ac_site_file" >&5
1738a64a7ac0Smrg    . "$ac_site_file" \
1739a64a7ac0Smrg      || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1740a64a7ac0Smrgprintf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1741a64a7ac0Smrgas_fn_error $? "failed to load site script $ac_site_file
1742a64a7ac0SmrgSee \`config.log' for more details" "$LINENO" 5; }
1743a64a7ac0Smrg  fi
1744a64a7ac0Smrgdone
1745a64a7ac0Smrg
1746a64a7ac0Smrgif test -r "$cache_file"; then
1747a64a7ac0Smrg  # Some versions of bash will fail to source /dev/null (special files
1748a64a7ac0Smrg  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1749a64a7ac0Smrg  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1750a64a7ac0Smrg    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1751a64a7ac0Smrgprintf "%s\n" "$as_me: loading cache $cache_file" >&6;}
1752a64a7ac0Smrg    case $cache_file in
1753a64a7ac0Smrg      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1754a64a7ac0Smrg      *)                      . "./$cache_file";;
1755a64a7ac0Smrg    esac
1756a64a7ac0Smrg  fi
1757a64a7ac0Smrgelse
1758a64a7ac0Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1759a64a7ac0Smrgprintf "%s\n" "$as_me: creating cache $cache_file" >&6;}
1760a64a7ac0Smrg  >$cache_file
1761a64a7ac0Smrgfi
1762a64a7ac0Smrg
1763a64a7ac0Smrg
1764a64a7ac0Smrg# Auxiliary files required by this configure script.
1765a64a7ac0Smrgac_aux_files="config.guess config.sub missing install-sh"
1766a64a7ac0Smrg
1767a64a7ac0Smrg# Locations in which to look for auxiliary files.
1768a64a7ac0Smrgac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
1769a64a7ac0Smrg
1770a64a7ac0Smrg# Search for a directory containing all of the required auxiliary files,
1771a64a7ac0Smrg# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
1772a64a7ac0Smrg# If we don't find one directory that contains all the files we need,
1773a64a7ac0Smrg# we report the set of missing files from the *first* directory in
1774a64a7ac0Smrg# $ac_aux_dir_candidates and give up.
1775a64a7ac0Smrgac_missing_aux_files=""
1776a64a7ac0Smrgac_first_candidate=:
1777a64a7ac0Smrgprintf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
1778a64a7ac0Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1779a64a7ac0Smrgas_found=false
1780a64a7ac0Smrgfor as_dir in $ac_aux_dir_candidates
1781a64a7ac0Smrgdo
1782a64a7ac0Smrg  IFS=$as_save_IFS
1783a64a7ac0Smrg  case $as_dir in #(((
1784a64a7ac0Smrg    '') as_dir=./ ;;
1785a64a7ac0Smrg    */) ;;
1786a64a7ac0Smrg    *) as_dir=$as_dir/ ;;
1787a64a7ac0Smrg  esac
1788a64a7ac0Smrg  as_found=:
1789a64a7ac0Smrg
1790a64a7ac0Smrg  printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
1791a64a7ac0Smrg  ac_aux_dir_found=yes
1792a64a7ac0Smrg  ac_install_sh=
1793a64a7ac0Smrg  for ac_aux in $ac_aux_files
1794a64a7ac0Smrg  do
1795a64a7ac0Smrg    # As a special case, if "install-sh" is required, that requirement
1796a64a7ac0Smrg    # can be satisfied by any of "install-sh", "install.sh", or "shtool",
1797a64a7ac0Smrg    # and $ac_install_sh is set appropriately for whichever one is found.
1798a64a7ac0Smrg    if test x"$ac_aux" = x"install-sh"
1799a64a7ac0Smrg    then
1800a64a7ac0Smrg      if test -f "${as_dir}install-sh"; then
1801a64a7ac0Smrg        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
1802a64a7ac0Smrg        ac_install_sh="${as_dir}install-sh -c"
1803a64a7ac0Smrg      elif test -f "${as_dir}install.sh"; then
1804a64a7ac0Smrg        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
1805a64a7ac0Smrg        ac_install_sh="${as_dir}install.sh -c"
1806a64a7ac0Smrg      elif test -f "${as_dir}shtool"; then
1807a64a7ac0Smrg        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
1808a64a7ac0Smrg        ac_install_sh="${as_dir}shtool install -c"
1809a64a7ac0Smrg      else
1810a64a7ac0Smrg        ac_aux_dir_found=no
1811a64a7ac0Smrg        if $ac_first_candidate; then
1812a64a7ac0Smrg          ac_missing_aux_files="${ac_missing_aux_files} install-sh"
1813a64a7ac0Smrg        else
1814a64a7ac0Smrg          break
1815a64a7ac0Smrg        fi
1816a64a7ac0Smrg      fi
1817a64a7ac0Smrg    else
1818a64a7ac0Smrg      if test -f "${as_dir}${ac_aux}"; then
1819a64a7ac0Smrg        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
1820a64a7ac0Smrg      else
1821a64a7ac0Smrg        ac_aux_dir_found=no
1822a64a7ac0Smrg        if $ac_first_candidate; then
1823a64a7ac0Smrg          ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
1824a64a7ac0Smrg        else
1825a64a7ac0Smrg          break
1826a64a7ac0Smrg        fi
1827a64a7ac0Smrg      fi
1828a64a7ac0Smrg    fi
1829a64a7ac0Smrg  done
1830a64a7ac0Smrg  if test "$ac_aux_dir_found" = yes; then
1831a64a7ac0Smrg    ac_aux_dir="$as_dir"
1832a64a7ac0Smrg    break
1833a64a7ac0Smrg  fi
1834a64a7ac0Smrg  ac_first_candidate=false
1835a64a7ac0Smrg
1836a64a7ac0Smrg  as_found=false
1837a64a7ac0Smrgdone
1838a64a7ac0SmrgIFS=$as_save_IFS
1839a64a7ac0Smrgif $as_found
1840a64a7ac0Smrgthen :
1841a64a7ac0Smrg
1842a64a7ac0Smrgelse $as_nop
1843a64a7ac0Smrg  as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
1844a64a7ac0Smrgfi
1845a64a7ac0Smrg
1846a64a7ac0Smrg
1847a64a7ac0Smrg# These three variables are undocumented and unsupported,
1848a64a7ac0Smrg# and are intended to be withdrawn in a future Autoconf release.
1849a64a7ac0Smrg# They can cause serious problems if a builder's source tree is in a directory
1850a64a7ac0Smrg# whose full name contains unusual characters.
1851a64a7ac0Smrgif test -f "${ac_aux_dir}config.guess"; then
1852a64a7ac0Smrg  ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
1853a64a7ac0Smrgfi
1854a64a7ac0Smrgif test -f "${ac_aux_dir}config.sub"; then
1855a64a7ac0Smrg  ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
1856a64a7ac0Smrgfi
1857a64a7ac0Smrgif test -f "$ac_aux_dir/configure"; then
1858a64a7ac0Smrg  ac_configure="$SHELL ${ac_aux_dir}configure"
1859a64a7ac0Smrgfi
1860a64a7ac0Smrg
1861a64a7ac0Smrg# Check that the precious variables saved in the cache have kept the same
1862a64a7ac0Smrg# value.
1863a64a7ac0Smrgac_cache_corrupted=false
1864a64a7ac0Smrgfor ac_var in $ac_precious_vars; do
1865a64a7ac0Smrg  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1866a64a7ac0Smrg  eval ac_new_set=\$ac_env_${ac_var}_set
1867a64a7ac0Smrg  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1868a64a7ac0Smrg  eval ac_new_val=\$ac_env_${ac_var}_value
1869a64a7ac0Smrg  case $ac_old_set,$ac_new_set in
1870a64a7ac0Smrg    set,)
1871a64a7ac0Smrg      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1872a64a7ac0Smrgprintf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1873a64a7ac0Smrg      ac_cache_corrupted=: ;;
1874a64a7ac0Smrg    ,set)
1875a64a7ac0Smrg      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1876a64a7ac0Smrgprintf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1877a64a7ac0Smrg      ac_cache_corrupted=: ;;
1878a64a7ac0Smrg    ,);;
1879a64a7ac0Smrg    *)
1880a64a7ac0Smrg      if test "x$ac_old_val" != "x$ac_new_val"; then
1881a64a7ac0Smrg	# differences in whitespace do not lead to failure.
1882a64a7ac0Smrg	ac_old_val_w=`echo x $ac_old_val`
1883a64a7ac0Smrg	ac_new_val_w=`echo x $ac_new_val`
1884a64a7ac0Smrg	if test "$ac_old_val_w" != "$ac_new_val_w"; then
1885a64a7ac0Smrg	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1886a64a7ac0Smrgprintf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1887a64a7ac0Smrg	  ac_cache_corrupted=:
1888a64a7ac0Smrg	else
1889a64a7ac0Smrg	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1890a64a7ac0Smrgprintf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1891a64a7ac0Smrg	  eval $ac_var=\$ac_old_val
1892a64a7ac0Smrg	fi
1893a64a7ac0Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1894a64a7ac0Smrgprintf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
1895a64a7ac0Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1896a64a7ac0Smrgprintf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
1897a64a7ac0Smrg      fi;;
1898a64a7ac0Smrg  esac
1899a64a7ac0Smrg  # Pass precious variables to config.status.
1900a64a7ac0Smrg  if test "$ac_new_set" = set; then
1901a64a7ac0Smrg    case $ac_new_val in
1902a64a7ac0Smrg    *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1903a64a7ac0Smrg    *) ac_arg=$ac_var=$ac_new_val ;;
1904a64a7ac0Smrg    esac
1905a64a7ac0Smrg    case " $ac_configure_args " in
1906a64a7ac0Smrg      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1907a64a7ac0Smrg      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1908a64a7ac0Smrg    esac
1909a64a7ac0Smrg  fi
1910a64a7ac0Smrgdone
1911a64a7ac0Smrgif $ac_cache_corrupted; then
1912a64a7ac0Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1913a64a7ac0Smrgprintf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1914a64a7ac0Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1915a64a7ac0Smrgprintf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
1916a64a7ac0Smrg  as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
1917a64a7ac0Smrg	    and start over" "$LINENO" 5
1918a64a7ac0Smrgfi
1919a64a7ac0Smrg## -------------------- ##
1920a64a7ac0Smrg## Main body of script. ##
1921a64a7ac0Smrg## -------------------- ##
1922a64a7ac0Smrg
1923a64a7ac0Smrgac_ext=c
1924a64a7ac0Smrgac_cpp='$CPP $CPPFLAGS'
1925a64a7ac0Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1926a64a7ac0Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1927a64a7ac0Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
1928a64a7ac0Smrg
1929a64a7ac0Smrg
1930a64a7ac0Smrgam__api_version='1.16'
1931a64a7ac0Smrg
1932a64a7ac0Smrg
1933a64a7ac0Smrg
1934a64a7ac0Smrg  # Find a good install program.  We prefer a C program (faster),
1935a64a7ac0Smrg# so one script is as good as another.  But avoid the broken or
1936a64a7ac0Smrg# incompatible versions:
1937a64a7ac0Smrg# SysV /etc/install, /usr/sbin/install
1938a64a7ac0Smrg# SunOS /usr/etc/install
1939a64a7ac0Smrg# IRIX /sbin/install
1940a64a7ac0Smrg# AIX /bin/install
1941a64a7ac0Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs
1942a64a7ac0Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1943a64a7ac0Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1944a64a7ac0Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1945a64a7ac0Smrg# OS/2's system install, which has a completely different semantic
1946a64a7ac0Smrg# ./install, which can be erroneously created by make from ./install.sh.
1947a64a7ac0Smrg# Reject install programs that cannot install multiple files.
1948a64a7ac0Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1949a64a7ac0Smrgprintf %s "checking for a BSD-compatible install... " >&6; }
1950a64a7ac0Smrgif test -z "$INSTALL"; then
1951a64a7ac0Smrgif test ${ac_cv_path_install+y}
1952a64a7ac0Smrgthen :
1953a64a7ac0Smrg  printf %s "(cached) " >&6
1954a64a7ac0Smrgelse $as_nop
1955a64a7ac0Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1956a64a7ac0Smrgfor as_dir in $PATH
1957a64a7ac0Smrgdo
1958a64a7ac0Smrg  IFS=$as_save_IFS
1959a64a7ac0Smrg  case $as_dir in #(((
1960a64a7ac0Smrg    '') as_dir=./ ;;
1961a64a7ac0Smrg    */) ;;
1962a64a7ac0Smrg    *) as_dir=$as_dir/ ;;
1963a64a7ac0Smrg  esac
1964a64a7ac0Smrg    # Account for fact that we put trailing slashes in our PATH walk.
1965a64a7ac0Smrgcase $as_dir in #((
1966a64a7ac0Smrg  ./ | /[cC]/* | \
1967a64a7ac0Smrg  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1968a64a7ac0Smrg  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1969a64a7ac0Smrg  /usr/ucb/* ) ;;
1970a64a7ac0Smrg  *)
1971a64a7ac0Smrg    # OSF1 and SCO ODT 3.0 have their own names for install.
1972a64a7ac0Smrg    # Don't use installbsd from OSF since it installs stuff as root
1973a64a7ac0Smrg    # by default.
1974a64a7ac0Smrg    for ac_prog in ginstall scoinst install; do
1975a64a7ac0Smrg      for ac_exec_ext in '' $ac_executable_extensions; do
1976a64a7ac0Smrg	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
1977a64a7ac0Smrg	  if test $ac_prog = install &&
1978a64a7ac0Smrg	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1979a64a7ac0Smrg	    # AIX install.  It has an incompatible calling convention.
1980a64a7ac0Smrg	    :
1981a64a7ac0Smrg	  elif test $ac_prog = install &&
1982a64a7ac0Smrg	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1983a64a7ac0Smrg	    # program-specific install script used by HP pwplus--don't use.
1984a64a7ac0Smrg	    :
1985a64a7ac0Smrg	  else
1986a64a7ac0Smrg	    rm -rf conftest.one conftest.two conftest.dir
1987a64a7ac0Smrg	    echo one > conftest.one
1988a64a7ac0Smrg	    echo two > conftest.two
1989a64a7ac0Smrg	    mkdir conftest.dir
1990a64a7ac0Smrg	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
1991a64a7ac0Smrg	      test -s conftest.one && test -s conftest.two &&
1992a64a7ac0Smrg	      test -s conftest.dir/conftest.one &&
1993a64a7ac0Smrg	      test -s conftest.dir/conftest.two
1994a64a7ac0Smrg	    then
1995a64a7ac0Smrg	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
1996a64a7ac0Smrg	      break 3
1997a64a7ac0Smrg	    fi
1998a64a7ac0Smrg	  fi
1999a64a7ac0Smrg	fi
2000a64a7ac0Smrg      done
2001a64a7ac0Smrg    done
2002a64a7ac0Smrg    ;;
2003a64a7ac0Smrgesac
2004a64a7ac0Smrg
2005a64a7ac0Smrg  done
2006a64a7ac0SmrgIFS=$as_save_IFS
2007a64a7ac0Smrg
2008a64a7ac0Smrgrm -rf conftest.one conftest.two conftest.dir
2009a64a7ac0Smrg
2010a64a7ac0Smrgfi
2011a64a7ac0Smrg  if test ${ac_cv_path_install+y}; then
2012a64a7ac0Smrg    INSTALL=$ac_cv_path_install
2013a64a7ac0Smrg  else
2014a64a7ac0Smrg    # As a last resort, use the slow shell script.  Don't cache a
2015a64a7ac0Smrg    # value for INSTALL within a source directory, because that will
2016a64a7ac0Smrg    # break other packages using the cache if that directory is
2017a64a7ac0Smrg    # removed, or if the value is a relative name.
2018a64a7ac0Smrg    INSTALL=$ac_install_sh
2019a64a7ac0Smrg  fi
2020a64a7ac0Smrgfi
2021a64a7ac0Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2022a64a7ac0Smrgprintf "%s\n" "$INSTALL" >&6; }
2023a64a7ac0Smrg
2024a64a7ac0Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2025a64a7ac0Smrg# It thinks the first close brace ends the variable substitution.
2026a64a7ac0Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2027a64a7ac0Smrg
2028a64a7ac0Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2029a64a7ac0Smrg
2030a64a7ac0Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2031a64a7ac0Smrg
2032a64a7ac0Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2033a64a7ac0Smrgprintf %s "checking whether build environment is sane... " >&6; }
2034a64a7ac0Smrg# Reject unsafe characters in $srcdir or the absolute working directory
2035a64a7ac0Smrg# name.  Accept space and tab only in the latter.
2036a64a7ac0Smrgam_lf='
2037a64a7ac0Smrg'
2038a64a7ac0Smrgcase `pwd` in
2039a64a7ac0Smrg  *[\\\"\#\$\&\'\`$am_lf]*)
2040a64a7ac0Smrg    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2041a64a7ac0Smrgesac
2042a64a7ac0Smrgcase $srcdir in
2043a64a7ac0Smrg  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2044a64a7ac0Smrg    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2045a64a7ac0Smrgesac
2046a64a7ac0Smrg
2047a64a7ac0Smrg# Do 'set' in a subshell so we don't clobber the current shell's
2048a64a7ac0Smrg# arguments.  Must try -L first in case configure is actually a
2049a64a7ac0Smrg# symlink; some systems play weird games with the mod time of symlinks
2050a64a7ac0Smrg# (eg FreeBSD returns the mod time of the symlink's containing
2051a64a7ac0Smrg# directory).
2052a64a7ac0Smrgif (
2053a64a7ac0Smrg   am_has_slept=no
2054a64a7ac0Smrg   for am_try in 1 2; do
2055a64a7ac0Smrg     echo "timestamp, slept: $am_has_slept" > conftest.file
2056a64a7ac0Smrg     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2057a64a7ac0Smrg     if test "$*" = "X"; then
2058a64a7ac0Smrg	# -L didn't work.
2059a64a7ac0Smrg	set X `ls -t "$srcdir/configure" conftest.file`
2060a64a7ac0Smrg     fi
2061a64a7ac0Smrg     if test "$*" != "X $srcdir/configure conftest.file" \
2062a64a7ac0Smrg	&& test "$*" != "X conftest.file $srcdir/configure"; then
2063a64a7ac0Smrg
2064a64a7ac0Smrg	# If neither matched, then we have a broken ls.  This can happen
2065a64a7ac0Smrg	# if, for instance, CONFIG_SHELL is bash and it inherits a
2066a64a7ac0Smrg	# broken ls alias from the environment.  This has actually
2067a64a7ac0Smrg	# happened.  Such a system could not be considered "sane".
2068a64a7ac0Smrg	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2069a64a7ac0Smrg  alias in your environment" "$LINENO" 5
2070a64a7ac0Smrg     fi
2071a64a7ac0Smrg     if test "$2" = conftest.file || test $am_try -eq 2; then
2072a64a7ac0Smrg       break
2073a64a7ac0Smrg     fi
2074a64a7ac0Smrg     # Just in case.
2075a64a7ac0Smrg     sleep 1
2076a64a7ac0Smrg     am_has_slept=yes
2077a64a7ac0Smrg   done
2078a64a7ac0Smrg   test "$2" = conftest.file
2079a64a7ac0Smrg   )
2080a64a7ac0Smrgthen
2081a64a7ac0Smrg   # Ok.
2082a64a7ac0Smrg   :
2083a64a7ac0Smrgelse
2084a64a7ac0Smrg   as_fn_error $? "newly created file is older than distributed files!
2085a64a7ac0SmrgCheck your system clock" "$LINENO" 5
2086a64a7ac0Smrgfi
2087a64a7ac0Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2088a64a7ac0Smrgprintf "%s\n" "yes" >&6; }
2089a64a7ac0Smrg# If we didn't sleep, we still need to ensure time stamps of config.status and
2090a64a7ac0Smrg# generated files are strictly newer.
2091a64a7ac0Smrgam_sleep_pid=
2092a64a7ac0Smrgif grep 'slept: no' conftest.file >/dev/null 2>&1; then
2093a64a7ac0Smrg  ( sleep 1 ) &
2094a64a7ac0Smrg  am_sleep_pid=$!
2095a64a7ac0Smrgfi
2096a64a7ac0Smrg
2097a64a7ac0Smrgrm -f conftest.file
2098a64a7ac0Smrg
2099a64a7ac0Smrgtest "$program_prefix" != NONE &&
2100a64a7ac0Smrg  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2101a64a7ac0Smrg# Use a double $ so make ignores it.
2102a64a7ac0Smrgtest "$program_suffix" != NONE &&
2103a64a7ac0Smrg  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2104a64a7ac0Smrg# Double any \ or $.
2105a64a7ac0Smrg# By default was `s,x,x', remove it if useless.
2106a64a7ac0Smrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2107a64a7ac0Smrgprogram_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
2108a64a7ac0Smrg
2109a64a7ac0Smrg
2110a64a7ac0Smrg# Expand $ac_aux_dir to an absolute path.
2111a64a7ac0Smrgam_aux_dir=`cd "$ac_aux_dir" && pwd`
2112a64a7ac0Smrg
2113a64a7ac0Smrg
2114a64a7ac0Smrg  if test x"${MISSING+set}" != xset; then
2115a64a7ac0Smrg  MISSING="\${SHELL} '$am_aux_dir/missing'"
2116a64a7ac0Smrgfi
2117a64a7ac0Smrg# Use eval to expand $SHELL
2118a64a7ac0Smrgif eval "$MISSING --is-lightweight"; then
2119a64a7ac0Smrg  am_missing_run="$MISSING "
2120a64a7ac0Smrgelse
2121a64a7ac0Smrg  am_missing_run=
2122a64a7ac0Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2123a64a7ac0Smrgprintf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2124a64a7ac0Smrgfi
2125a64a7ac0Smrg
2126a64a7ac0Smrgif test x"${install_sh+set}" != xset; then
2127a64a7ac0Smrg  case $am_aux_dir in
2128a64a7ac0Smrg  *\ * | *\	*)
2129a64a7ac0Smrg    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2130a64a7ac0Smrg  *)
2131a64a7ac0Smrg    install_sh="\${SHELL} $am_aux_dir/install-sh"
2132a64a7ac0Smrg  esac
2133a64a7ac0Smrgfi
2134a64a7ac0Smrg
2135a64a7ac0Smrg# Installed binaries are usually stripped using 'strip' when the user
2136a64a7ac0Smrg# run "make install-strip".  However 'strip' might not be the right
2137a64a7ac0Smrg# tool to use in cross-compilation environments, therefore Automake
2138a64a7ac0Smrg# will honor the 'STRIP' environment variable to overrule this program.
2139a64a7ac0Smrgif test "$cross_compiling" != no; then
2140a64a7ac0Smrg  if test -n "$ac_tool_prefix"; then
2141a64a7ac0Smrg  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2142a64a7ac0Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2
2143a64a7ac0Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2144a64a7ac0Smrgprintf %s "checking for $ac_word... " >&6; }
2145a64a7ac0Smrgif test ${ac_cv_prog_STRIP+y}
2146a64a7ac0Smrgthen :
2147a64a7ac0Smrg  printf %s "(cached) " >&6
2148a64a7ac0Smrgelse $as_nop
2149a64a7ac0Smrg  if test -n "$STRIP"; then
2150a64a7ac0Smrg  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2151a64a7ac0Smrgelse
2152a64a7ac0Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2153a64a7ac0Smrgfor as_dir in $PATH
2154a64a7ac0Smrgdo
2155a64a7ac0Smrg  IFS=$as_save_IFS
2156a64a7ac0Smrg  case $as_dir in #(((
2157a64a7ac0Smrg    '') as_dir=./ ;;
2158a64a7ac0Smrg    */) ;;
2159a64a7ac0Smrg    *) as_dir=$as_dir/ ;;
2160a64a7ac0Smrg  esac
2161a64a7ac0Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
2162a64a7ac0Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2163a64a7ac0Smrg    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2164a64a7ac0Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2165a64a7ac0Smrg    break 2
2166a64a7ac0Smrg  fi
2167a64a7ac0Smrgdone
2168a64a7ac0Smrg  done
2169a64a7ac0SmrgIFS=$as_save_IFS
2170a64a7ac0Smrg
2171a64a7ac0Smrgfi
2172a64a7ac0Smrgfi
2173a64a7ac0SmrgSTRIP=$ac_cv_prog_STRIP
2174a64a7ac0Smrgif test -n "$STRIP"; then
2175a64a7ac0Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2176a64a7ac0Smrgprintf "%s\n" "$STRIP" >&6; }
2177a64a7ac0Smrgelse
2178a64a7ac0Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2179a64a7ac0Smrgprintf "%s\n" "no" >&6; }
2180a64a7ac0Smrgfi
2181a64a7ac0Smrg
2182a64a7ac0Smrg
2183a64a7ac0Smrgfi
2184a64a7ac0Smrgif test -z "$ac_cv_prog_STRIP"; then
2185a64a7ac0Smrg  ac_ct_STRIP=$STRIP
2186a64a7ac0Smrg  # Extract the first word of "strip", so it can be a program name with args.
2187a64a7ac0Smrgset dummy strip; ac_word=$2
2188a64a7ac0Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2189a64a7ac0Smrgprintf %s "checking for $ac_word... " >&6; }
2190a64a7ac0Smrgif test ${ac_cv_prog_ac_ct_STRIP+y}
2191a64a7ac0Smrgthen :
2192a64a7ac0Smrg  printf %s "(cached) " >&6
2193a64a7ac0Smrgelse $as_nop
2194a64a7ac0Smrg  if test -n "$ac_ct_STRIP"; then
2195a64a7ac0Smrg  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2196a64a7ac0Smrgelse
2197a64a7ac0Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2198a64a7ac0Smrgfor as_dir in $PATH
2199a64a7ac0Smrgdo
2200a64a7ac0Smrg  IFS=$as_save_IFS
2201a64a7ac0Smrg  case $as_dir in #(((
2202a64a7ac0Smrg    '') as_dir=./ ;;
2203a64a7ac0Smrg    */) ;;
2204a64a7ac0Smrg    *) as_dir=$as_dir/ ;;
2205a64a7ac0Smrg  esac
2206a64a7ac0Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
2207a64a7ac0Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2208a64a7ac0Smrg    ac_cv_prog_ac_ct_STRIP="strip"
2209a64a7ac0Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2210a64a7ac0Smrg    break 2
2211a64a7ac0Smrg  fi
2212a64a7ac0Smrgdone
2213a64a7ac0Smrg  done
2214a64a7ac0SmrgIFS=$as_save_IFS
2215a64a7ac0Smrg
2216a64a7ac0Smrgfi
2217a64a7ac0Smrgfi
2218a64a7ac0Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2219a64a7ac0Smrgif test -n "$ac_ct_STRIP"; then
2220a64a7ac0Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2221a64a7ac0Smrgprintf "%s\n" "$ac_ct_STRIP" >&6; }
2222a64a7ac0Smrgelse
2223a64a7ac0Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2224a64a7ac0Smrgprintf "%s\n" "no" >&6; }
2225a64a7ac0Smrgfi
2226a64a7ac0Smrg
2227a64a7ac0Smrg  if test "x$ac_ct_STRIP" = x; then
2228a64a7ac0Smrg    STRIP=":"
2229a64a7ac0Smrg  else
2230a64a7ac0Smrg    case $cross_compiling:$ac_tool_warned in
2231a64a7ac0Smrgyes:)
2232a64a7ac0Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2233a64a7ac0Smrgprintf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2234a64a7ac0Smrgac_tool_warned=yes ;;
2235a64a7ac0Smrgesac
2236a64a7ac0Smrg    STRIP=$ac_ct_STRIP
2237a64a7ac0Smrg  fi
2238a64a7ac0Smrgelse
2239a64a7ac0Smrg  STRIP="$ac_cv_prog_STRIP"
2240a64a7ac0Smrgfi
2241a64a7ac0Smrg
2242a64a7ac0Smrgfi
2243a64a7ac0SmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2244a64a7ac0Smrg
2245a64a7ac0Smrg
2246a64a7ac0Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
2247a64a7ac0Smrgprintf %s "checking for a race-free mkdir -p... " >&6; }
2248a64a7ac0Smrgif test -z "$MKDIR_P"; then
2249a64a7ac0Smrg  if test ${ac_cv_path_mkdir+y}
2250a64a7ac0Smrgthen :
2251a64a7ac0Smrg  printf %s "(cached) " >&6
2252a64a7ac0Smrgelse $as_nop
2253a64a7ac0Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2254a64a7ac0Smrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2255a64a7ac0Smrgdo
2256a64a7ac0Smrg  IFS=$as_save_IFS
2257a64a7ac0Smrg  case $as_dir in #(((
2258a64a7ac0Smrg    '') as_dir=./ ;;
2259a64a7ac0Smrg    */) ;;
2260a64a7ac0Smrg    *) as_dir=$as_dir/ ;;
2261a64a7ac0Smrg  esac
2262a64a7ac0Smrg    for ac_prog in mkdir gmkdir; do
2263a64a7ac0Smrg	 for ac_exec_ext in '' $ac_executable_extensions; do
2264a64a7ac0Smrg	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
2265a64a7ac0Smrg	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
2266a64a7ac0Smrg	     'mkdir ('*'coreutils) '* | \
2267a64a7ac0Smrg	     'BusyBox '* | \
2268a64a7ac0Smrg	     'mkdir (fileutils) '4.1*)
2269a64a7ac0Smrg	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
2270a64a7ac0Smrg	       break 3;;
2271a64a7ac0Smrg	   esac
2272a64a7ac0Smrg	 done
2273a64a7ac0Smrg       done
2274a64a7ac0Smrg  done
2275a64a7ac0SmrgIFS=$as_save_IFS
2276a64a7ac0Smrg
2277a64a7ac0Smrgfi
2278a64a7ac0Smrg
2279a64a7ac0Smrg  test -d ./--version && rmdir ./--version
2280a64a7ac0Smrg  if test ${ac_cv_path_mkdir+y}; then
2281a64a7ac0Smrg    MKDIR_P="$ac_cv_path_mkdir -p"
2282a64a7ac0Smrg  else
2283a64a7ac0Smrg    # As a last resort, use the slow shell script.  Don't cache a
2284a64a7ac0Smrg    # value for MKDIR_P within a source directory, because that will
2285a64a7ac0Smrg    # break other packages using the cache if that directory is
2286a64a7ac0Smrg    # removed, or if the value is a relative name.
2287a64a7ac0Smrg    MKDIR_P="$ac_install_sh -d"
2288a64a7ac0Smrg  fi
2289a64a7ac0Smrgfi
2290a64a7ac0Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2291a64a7ac0Smrgprintf "%s\n" "$MKDIR_P" >&6; }
2292a64a7ac0Smrg
2293a64a7ac0Smrgfor ac_prog in gawk mawk nawk awk
2294a64a7ac0Smrgdo
2295a64a7ac0Smrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
2296a64a7ac0Smrgset dummy $ac_prog; ac_word=$2
2297a64a7ac0Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2298a64a7ac0Smrgprintf %s "checking for $ac_word... " >&6; }
2299a64a7ac0Smrgif test ${ac_cv_prog_AWK+y}
2300a64a7ac0Smrgthen :
2301a64a7ac0Smrg  printf %s "(cached) " >&6
2302a64a7ac0Smrgelse $as_nop
2303a64a7ac0Smrg  if test -n "$AWK"; then
2304a64a7ac0Smrg  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2305a64a7ac0Smrgelse
2306a64a7ac0Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2307a64a7ac0Smrgfor as_dir in $PATH
2308a64a7ac0Smrgdo
2309a64a7ac0Smrg  IFS=$as_save_IFS
2310a64a7ac0Smrg  case $as_dir in #(((
2311a64a7ac0Smrg    '') as_dir=./ ;;
2312a64a7ac0Smrg    */) ;;
2313a64a7ac0Smrg    *) as_dir=$as_dir/ ;;
2314a64a7ac0Smrg  esac
2315a64a7ac0Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
2316a64a7ac0Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2317a64a7ac0Smrg    ac_cv_prog_AWK="$ac_prog"
2318a64a7ac0Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2319a64a7ac0Smrg    break 2
2320a64a7ac0Smrg  fi
2321a64a7ac0Smrgdone
2322a64a7ac0Smrg  done
2323a64a7ac0SmrgIFS=$as_save_IFS
2324a64a7ac0Smrg
2325a64a7ac0Smrgfi
2326a64a7ac0Smrgfi
2327a64a7ac0SmrgAWK=$ac_cv_prog_AWK
2328a64a7ac0Smrgif test -n "$AWK"; then
2329a64a7ac0Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2330a64a7ac0Smrgprintf "%s\n" "$AWK" >&6; }
2331a64a7ac0Smrgelse
2332a64a7ac0Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2333a64a7ac0Smrgprintf "%s\n" "no" >&6; }
2334a64a7ac0Smrgfi
2335a64a7ac0Smrg
2336a64a7ac0Smrg
2337a64a7ac0Smrg  test -n "$AWK" && break
2338a64a7ac0Smrgdone
2339a64a7ac0Smrg
2340a64a7ac0Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2341a64a7ac0Smrgprintf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2342a64a7ac0Smrgset x ${MAKE-make}
2343a64a7ac0Smrgac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2344a64a7ac0Smrgif eval test \${ac_cv_prog_make_${ac_make}_set+y}
2345a64a7ac0Smrgthen :
2346a64a7ac0Smrg  printf %s "(cached) " >&6
2347a64a7ac0Smrgelse $as_nop
2348a64a7ac0Smrg  cat >conftest.make <<\_ACEOF
2349a64a7ac0SmrgSHELL = /bin/sh
2350a64a7ac0Smrgall:
2351a64a7ac0Smrg	@echo '@@@%%%=$(MAKE)=@@@%%%'
2352a64a7ac0Smrg_ACEOF
2353a64a7ac0Smrg# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2354a64a7ac0Smrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in
2355a64a7ac0Smrg  *@@@%%%=?*=@@@%%%*)
2356a64a7ac0Smrg    eval ac_cv_prog_make_${ac_make}_set=yes;;
2357a64a7ac0Smrg  *)
2358a64a7ac0Smrg    eval ac_cv_prog_make_${ac_make}_set=no;;
2359a64a7ac0Smrgesac
2360a64a7ac0Smrgrm -f conftest.make
2361a64a7ac0Smrgfi
2362a64a7ac0Smrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2363a64a7ac0Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2364a64a7ac0Smrgprintf "%s\n" "yes" >&6; }
2365a64a7ac0Smrg  SET_MAKE=
2366a64a7ac0Smrgelse
2367a64a7ac0Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2368a64a7ac0Smrgprintf "%s\n" "no" >&6; }
2369a64a7ac0Smrg  SET_MAKE="MAKE=${MAKE-make}"
2370a64a7ac0Smrgfi
2371a64a7ac0Smrg
2372a64a7ac0Smrgrm -rf .tst 2>/dev/null
2373a64a7ac0Smrgmkdir .tst 2>/dev/null
2374a64a7ac0Smrgif test -d .tst; then
2375a64a7ac0Smrg  am__leading_dot=.
2376a64a7ac0Smrgelse
2377a64a7ac0Smrg  am__leading_dot=_
2378a64a7ac0Smrgfi
2379a64a7ac0Smrgrmdir .tst 2>/dev/null
2380a64a7ac0Smrg
2381a64a7ac0Smrg# Check whether --enable-silent-rules was given.
2382a64a7ac0Smrgif test ${enable_silent_rules+y}
2383a64a7ac0Smrgthen :
2384a64a7ac0Smrg  enableval=$enable_silent_rules;
2385a64a7ac0Smrgfi
2386a64a7ac0Smrg
2387a64a7ac0Smrgcase $enable_silent_rules in # (((
2388a64a7ac0Smrg  yes) AM_DEFAULT_VERBOSITY=0;;
2389a64a7ac0Smrg   no) AM_DEFAULT_VERBOSITY=1;;
2390a64a7ac0Smrg    *) AM_DEFAULT_VERBOSITY=1;;
2391a64a7ac0Smrgesac
2392a64a7ac0Smrgam_make=${MAKE-make}
2393a64a7ac0Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2394a64a7ac0Smrgprintf %s "checking whether $am_make supports nested variables... " >&6; }
2395a64a7ac0Smrgif test ${am_cv_make_support_nested_variables+y}
2396a64a7ac0Smrgthen :
2397a64a7ac0Smrg  printf %s "(cached) " >&6
2398a64a7ac0Smrgelse $as_nop
2399a64a7ac0Smrg  if printf "%s\n" 'TRUE=$(BAR$(V))
2400a64a7ac0SmrgBAR0=false
2401a64a7ac0SmrgBAR1=true
2402a64a7ac0SmrgV=1
2403a64a7ac0Smrgam__doit:
2404a64a7ac0Smrg	@$(TRUE)
2405a64a7ac0Smrg.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2406a64a7ac0Smrg  am_cv_make_support_nested_variables=yes
2407a64a7ac0Smrgelse
2408a64a7ac0Smrg  am_cv_make_support_nested_variables=no
2409a64a7ac0Smrgfi
2410a64a7ac0Smrgfi
2411a64a7ac0Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2412a64a7ac0Smrgprintf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
2413a64a7ac0Smrgif test $am_cv_make_support_nested_variables = yes; then
2414a64a7ac0Smrg    AM_V='$(V)'
2415a64a7ac0Smrg  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2416a64a7ac0Smrgelse
2417a64a7ac0Smrg  AM_V=$AM_DEFAULT_VERBOSITY
2418a64a7ac0Smrg  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2419a64a7ac0Smrgfi
2420a64a7ac0SmrgAM_BACKSLASH='\'
2421a64a7ac0Smrg
2422a64a7ac0Smrgif test "`cd $srcdir && pwd`" != "`pwd`"; then
2423a64a7ac0Smrg  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2424a64a7ac0Smrg  # is not polluted with repeated "-I."
2425a64a7ac0Smrg  am__isrc=' -I$(srcdir)'
2426a64a7ac0Smrg  # test to see if srcdir already configured
2427a64a7ac0Smrg  if test -f $srcdir/config.status; then
2428a64a7ac0Smrg    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2429a64a7ac0Smrg  fi
2430a64a7ac0Smrgfi
2431a64a7ac0Smrg
2432a64a7ac0Smrg# test whether we have cygpath
2433a64a7ac0Smrgif test -z "$CYGPATH_W"; then
2434a64a7ac0Smrg  if (cygpath --version) >/dev/null 2>/dev/null; then
2435a64a7ac0Smrg    CYGPATH_W='cygpath -w'
2436a64a7ac0Smrg  else
2437a64a7ac0Smrg    CYGPATH_W=echo
2438a64a7ac0Smrg  fi
2439a64a7ac0Smrgfi
2440a64a7ac0Smrg
2441a64a7ac0Smrg
2442a64a7ac0Smrg# Define the identity of the package.
2443a64a7ac0Smrg PACKAGE='font-arabic-misc'
2444a64a7ac0Smrg VERSION='1.0.4'
2445a64a7ac0Smrg
2446a64a7ac0Smrg
2447a64a7ac0Smrgprintf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
2448a64a7ac0Smrg
2449a64a7ac0Smrg
2450a64a7ac0Smrgprintf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
2451a64a7ac0Smrg
2452a64a7ac0Smrg# Some tools Automake needs.
2453a64a7ac0Smrg
2454a64a7ac0SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2455a64a7ac0Smrg
2456a64a7ac0Smrg
2457a64a7ac0SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2458a64a7ac0Smrg
2459a64a7ac0Smrg
2460a64a7ac0SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2461a64a7ac0Smrg
2462a64a7ac0Smrg
2463a64a7ac0SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2464a64a7ac0Smrg
2465a64a7ac0Smrg
2466a64a7ac0SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2467a64a7ac0Smrg
2468a64a7ac0Smrg# For better backward compatibility.  To be removed once Automake 1.9.x
2469a64a7ac0Smrg# dies out for good.  For more background, see:
2470a64a7ac0Smrg# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2471a64a7ac0Smrg# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2472a64a7ac0Smrgmkdir_p='$(MKDIR_P)'
2473a64a7ac0Smrg
2474a64a7ac0Smrg# We need awk for the "check" target (and possibly the TAP driver).  The
2475a64a7ac0Smrg# system "awk" is bad on some platforms.
2476a64a7ac0Smrg# Always define AMTAR for backward compatibility.  Yes, it's still used
2477a64a7ac0Smrg# in the wild :-(  We should find a proper way to deprecate it ...
2478a64a7ac0SmrgAMTAR='$${TAR-tar}'
2479a64a7ac0Smrg
2480a64a7ac0Smrg
2481a64a7ac0Smrg# We'll loop over all known methods to create a tar archive until one works.
2482a64a7ac0Smrg_am_tools='gnutar  pax cpio none'
2483a64a7ac0Smrg
2484a64a7ac0Smrgam__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2485a64a7ac0Smrg
2486a64a7ac0Smrg
2487a64a7ac0Smrg
2488a64a7ac0Smrg
2489a64a7ac0Smrg
2490a64a7ac0Smrg# Variables for tags utilities; see am/tags.am
2491a64a7ac0Smrgif test -z "$CTAGS"; then
2492a64a7ac0Smrg  CTAGS=ctags
2493a64a7ac0Smrgfi
2494a64a7ac0Smrg
2495a64a7ac0Smrgif test -z "$ETAGS"; then
2496a64a7ac0Smrg  ETAGS=etags
2497a64a7ac0Smrgfi
2498a64a7ac0Smrg
2499a64a7ac0Smrgif test -z "$CSCOPE"; then
2500a64a7ac0Smrg  CSCOPE=cscope
2501a64a7ac0Smrgfi
2502a64a7ac0Smrg
2503a64a7ac0Smrg
2504a64a7ac0Smrg
2505a64a7ac0Smrg# POSIX will say in a future version that running "rm -f" with no argument
2506a64a7ac0Smrg# is OK; and we want to be able to make that assumption in our Makefile
2507a64a7ac0Smrg# recipes.  So use an aggressive probe to check that the usage we want is
2508a64a7ac0Smrg# actually supported "in the wild" to an acceptable degree.
2509a64a7ac0Smrg# See automake bug#10828.
2510a64a7ac0Smrg# To make any issue more visible, cause the running configure to be aborted
2511a64a7ac0Smrg# by default if the 'rm' program in use doesn't match our expectations; the
2512a64a7ac0Smrg# user can still override this though.
2513a64a7ac0Smrgif rm -f && rm -fr && rm -rf; then : OK; else
2514a64a7ac0Smrg  cat >&2 <<'END'
2515a64a7ac0SmrgOops!
2516a64a7ac0Smrg
2517a64a7ac0SmrgYour 'rm' program seems unable to run without file operands specified
2518a64a7ac0Smrgon the command line, even when the '-f' option is present.  This is contrary
2519a64a7ac0Smrgto the behaviour of most rm programs out there, and not conforming with
2520a64a7ac0Smrgthe upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2521a64a7ac0Smrg
2522a64a7ac0SmrgPlease tell bug-automake@gnu.org about your system, including the value
2523a64a7ac0Smrgof your $PATH and any error possibly output before this message.  This
2524a64a7ac0Smrgcan help us improve future automake versions.
2525a64a7ac0Smrg
2526a64a7ac0SmrgEND
2527a64a7ac0Smrg  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2528a64a7ac0Smrg    echo 'Configuration will proceed anyway, since you have set the' >&2
2529a64a7ac0Smrg    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2530a64a7ac0Smrg    echo >&2
2531a64a7ac0Smrg  else
2532a64a7ac0Smrg    cat >&2 <<'END'
2533a64a7ac0SmrgAborting the configuration process, to ensure you take notice of the issue.
2534a64a7ac0Smrg
2535a64a7ac0SmrgYou can download and install GNU coreutils to get an 'rm' implementation
2536a64a7ac0Smrgthat behaves properly: <https://www.gnu.org/software/coreutils/>.
2537a64a7ac0Smrg
2538a64a7ac0SmrgIf you want to complete the configuration process using your problematic
2539a64a7ac0Smrg'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2540a64a7ac0Smrgto "yes", and re-run configure.
2541a64a7ac0Smrg
2542a64a7ac0SmrgEND
2543a64a7ac0Smrg    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2544a64a7ac0Smrg  fi
2545a64a7ac0Smrgfi
2546a64a7ac0Smrg
2547a64a7ac0Smrg
2548a64a7ac0Smrg# Require xorg-macros 1.20 or later: XORG_DEFAULT_NOCODE_OPTIONS
2549a64a7ac0Smrg
2550a64a7ac0Smrg
2551a64a7ac0Smrg
2552a64a7ac0Smrg
2553a64a7ac0Smrg
2554a64a7ac0Smrg
2555a64a7ac0Smrg
2556a64a7ac0Smrg
2557a64a7ac0Smrg
2558a64a7ac0Smrg
2559a64a7ac0Smrg
2560a64a7ac0Smrg
2561a64a7ac0Smrg
2562a64a7ac0Smrg
2563a64a7ac0Smrg
2564a64a7ac0Smrg
2565a64a7ac0Smrg
2566a64a7ac0Smrg
2567a64a7ac0Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
2568a64a7ac0Smrg	if test -n "$ac_tool_prefix"; then
2569a64a7ac0Smrg  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
2570a64a7ac0Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2
2571a64a7ac0Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2572a64a7ac0Smrgprintf %s "checking for $ac_word... " >&6; }
2573a64a7ac0Smrgif test ${ac_cv_path_PKG_CONFIG+y}
2574a64a7ac0Smrgthen :
2575a64a7ac0Smrg  printf %s "(cached) " >&6
2576a64a7ac0Smrgelse $as_nop
2577a64a7ac0Smrg  case $PKG_CONFIG in
2578a64a7ac0Smrg  [\\/]* | ?:[\\/]*)
2579a64a7ac0Smrg  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
2580a64a7ac0Smrg  ;;
2581a64a7ac0Smrg  *)
2582a64a7ac0Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2583a64a7ac0Smrgfor as_dir in $PATH
2584a64a7ac0Smrgdo
2585a64a7ac0Smrg  IFS=$as_save_IFS
2586a64a7ac0Smrg  case $as_dir in #(((
2587a64a7ac0Smrg    '') as_dir=./ ;;
2588a64a7ac0Smrg    */) ;;
2589a64a7ac0Smrg    *) as_dir=$as_dir/ ;;
2590a64a7ac0Smrg  esac
2591a64a7ac0Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
2592a64a7ac0Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2593a64a7ac0Smrg    ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
2594a64a7ac0Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2595a64a7ac0Smrg    break 2
2596a64a7ac0Smrg  fi
2597a64a7ac0Smrgdone
2598a64a7ac0Smrg  done
2599a64a7ac0SmrgIFS=$as_save_IFS
2600a64a7ac0Smrg
2601a64a7ac0Smrg  ;;
2602a64a7ac0Smrgesac
2603a64a7ac0Smrgfi
2604a64a7ac0SmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG
2605a64a7ac0Smrgif test -n "$PKG_CONFIG"; then
2606a64a7ac0Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
2607a64a7ac0Smrgprintf "%s\n" "$PKG_CONFIG" >&6; }
2608a64a7ac0Smrgelse
2609a64a7ac0Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2610a64a7ac0Smrgprintf "%s\n" "no" >&6; }
2611a64a7ac0Smrgfi
2612a64a7ac0Smrg
2613a64a7ac0Smrg
2614a64a7ac0Smrgfi
2615a64a7ac0Smrgif test -z "$ac_cv_path_PKG_CONFIG"; then
2616a64a7ac0Smrg  ac_pt_PKG_CONFIG=$PKG_CONFIG
2617a64a7ac0Smrg  # Extract the first word of "pkg-config", so it can be a program name with args.
2618a64a7ac0Smrgset dummy pkg-config; ac_word=$2
2619a64a7ac0Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2620a64a7ac0Smrgprintf %s "checking for $ac_word... " >&6; }
2621a64a7ac0Smrgif test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
2622a64a7ac0Smrgthen :
2623a64a7ac0Smrg  printf %s "(cached) " >&6
2624a64a7ac0Smrgelse $as_nop
2625a64a7ac0Smrg  case $ac_pt_PKG_CONFIG in
2626a64a7ac0Smrg  [\\/]* | ?:[\\/]*)
2627a64a7ac0Smrg  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
2628a64a7ac0Smrg  ;;
2629a64a7ac0Smrg  *)
2630a64a7ac0Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2631a64a7ac0Smrgfor as_dir in $PATH
2632a64a7ac0Smrgdo
2633a64a7ac0Smrg  IFS=$as_save_IFS
2634a64a7ac0Smrg  case $as_dir in #(((
2635a64a7ac0Smrg    '') as_dir=./ ;;
2636a64a7ac0Smrg    */) ;;
2637a64a7ac0Smrg    *) as_dir=$as_dir/ ;;
2638a64a7ac0Smrg  esac
2639a64a7ac0Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
2640a64a7ac0Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2641a64a7ac0Smrg    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
2642a64a7ac0Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2643a64a7ac0Smrg    break 2
2644a64a7ac0Smrg  fi
2645a64a7ac0Smrgdone
2646a64a7ac0Smrg  done
2647a64a7ac0SmrgIFS=$as_save_IFS
2648a64a7ac0Smrg
2649a64a7ac0Smrg  ;;
2650a64a7ac0Smrgesac
2651a64a7ac0Smrgfi
2652a64a7ac0Smrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
2653a64a7ac0Smrgif test -n "$ac_pt_PKG_CONFIG"; then
2654a64a7ac0Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
2655a64a7ac0Smrgprintf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
2656a64a7ac0Smrgelse
2657a64a7ac0Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2658a64a7ac0Smrgprintf "%s\n" "no" >&6; }
2659a64a7ac0Smrgfi
2660a64a7ac0Smrg
2661a64a7ac0Smrg  if test "x$ac_pt_PKG_CONFIG" = x; then
2662a64a7ac0Smrg    PKG_CONFIG=""
2663a64a7ac0Smrg  else
2664a64a7ac0Smrg    case $cross_compiling:$ac_tool_warned in
2665a64a7ac0Smrgyes:)
2666a64a7ac0Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2667a64a7ac0Smrgprintf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2668a64a7ac0Smrgac_tool_warned=yes ;;
2669a64a7ac0Smrgesac
2670a64a7ac0Smrg    PKG_CONFIG=$ac_pt_PKG_CONFIG
2671a64a7ac0Smrg  fi
2672a64a7ac0Smrgelse
2673a64a7ac0Smrg  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
2674a64a7ac0Smrgfi
2675a64a7ac0Smrg
2676a64a7ac0Smrgfi
2677a64a7ac0Smrgif test -n "$PKG_CONFIG"; then
2678a64a7ac0Smrg	_pkg_min_version=0.9.0
2679a64a7ac0Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
2680a64a7ac0Smrgprintf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
2681a64a7ac0Smrg	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
2682a64a7ac0Smrg		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2683a64a7ac0Smrgprintf "%s\n" "yes" >&6; }
2684a64a7ac0Smrg	else
2685a64a7ac0Smrg		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2686a64a7ac0Smrgprintf "%s\n" "no" >&6; }
2687a64a7ac0Smrg		PKG_CONFIG=""
2688a64a7ac0Smrg	fi
2689a64a7ac0Smrgfi
2690a64a7ac0Smrg
2691a64a7ac0Smrg
2692a64a7ac0Smrg  # Make sure we can run config.sub.
2693a64a7ac0Smrg$SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
2694a64a7ac0Smrg  as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
2695a64a7ac0Smrg
2696a64a7ac0Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2697a64a7ac0Smrgprintf %s "checking build system type... " >&6; }
2698a64a7ac0Smrgif test ${ac_cv_build+y}
2699a64a7ac0Smrgthen :
2700a64a7ac0Smrg  printf %s "(cached) " >&6
2701a64a7ac0Smrgelse $as_nop
2702a64a7ac0Smrg  ac_build_alias=$build_alias
2703a64a7ac0Smrgtest "x$ac_build_alias" = x &&
2704a64a7ac0Smrg  ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
2705a64a7ac0Smrgtest "x$ac_build_alias" = x &&
2706a64a7ac0Smrg  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2707a64a7ac0Smrgac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
2708a64a7ac0Smrg  as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
2709a64a7ac0Smrg
2710a64a7ac0Smrgfi
2711a64a7ac0Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2712a64a7ac0Smrgprintf "%s\n" "$ac_cv_build" >&6; }
2713a64a7ac0Smrgcase $ac_cv_build in
2714a64a7ac0Smrg*-*-*) ;;
2715a64a7ac0Smrg*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2716a64a7ac0Smrgesac
2717a64a7ac0Smrgbuild=$ac_cv_build
2718a64a7ac0Smrgac_save_IFS=$IFS; IFS='-'
2719a64a7ac0Smrgset x $ac_cv_build
2720a64a7ac0Smrgshift
2721a64a7ac0Smrgbuild_cpu=$1
2722a64a7ac0Smrgbuild_vendor=$2
2723a64a7ac0Smrgshift; shift
2724a64a7ac0Smrg# Remember, the first character of IFS is used to create $*,
2725a64a7ac0Smrg# except with old shells:
2726a64a7ac0Smrgbuild_os=$*
2727a64a7ac0SmrgIFS=$ac_save_IFS
2728a64a7ac0Smrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2729a64a7ac0Smrg
2730a64a7ac0Smrg
2731a64a7ac0Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2732a64a7ac0Smrgprintf %s "checking host system type... " >&6; }
2733a64a7ac0Smrgif test ${ac_cv_host+y}
2734a64a7ac0Smrgthen :
2735a64a7ac0Smrg  printf %s "(cached) " >&6
2736a64a7ac0Smrgelse $as_nop
2737a64a7ac0Smrg  if test "x$host_alias" = x; then
2738a64a7ac0Smrg  ac_cv_host=$ac_cv_build
2739a64a7ac0Smrgelse
2740a64a7ac0Smrg  ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
2741a64a7ac0Smrg    as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
2742a64a7ac0Smrgfi
2743a64a7ac0Smrg
2744a64a7ac0Smrgfi
2745a64a7ac0Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2746a64a7ac0Smrgprintf "%s\n" "$ac_cv_host" >&6; }
2747a64a7ac0Smrgcase $ac_cv_host in
2748a64a7ac0Smrg*-*-*) ;;
2749a64a7ac0Smrg*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2750a64a7ac0Smrgesac
2751a64a7ac0Smrghost=$ac_cv_host
2752a64a7ac0Smrgac_save_IFS=$IFS; IFS='-'
2753a64a7ac0Smrgset x $ac_cv_host
2754a64a7ac0Smrgshift
2755a64a7ac0Smrghost_cpu=$1
2756a64a7ac0Smrghost_vendor=$2
2757a64a7ac0Smrgshift; shift
2758a64a7ac0Smrg# Remember, the first character of IFS is used to create $*,
2759a64a7ac0Smrg# except with old shells:
2760a64a7ac0Smrghost_os=$*
2761a64a7ac0SmrgIFS=$ac_save_IFS
2762a64a7ac0Smrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2763a64a7ac0Smrg
2764a64a7ac0Smrg
2765a64a7ac0Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2766a64a7ac0Smrgprintf %s "checking for a sed that does not truncate output... " >&6; }
2767a64a7ac0Smrgif test ${ac_cv_path_SED+y}
2768a64a7ac0Smrgthen :
2769a64a7ac0Smrg  printf %s "(cached) " >&6
2770a64a7ac0Smrgelse $as_nop
2771a64a7ac0Smrg            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2772a64a7ac0Smrg     for ac_i in 1 2 3 4 5 6 7; do
2773a64a7ac0Smrg       ac_script="$ac_script$as_nl$ac_script"
2774a64a7ac0Smrg     done
2775a64a7ac0Smrg     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
2776a64a7ac0Smrg     { ac_script=; unset ac_script;}
2777a64a7ac0Smrg     if test -z "$SED"; then
2778a64a7ac0Smrg  ac_path_SED_found=false
2779a64a7ac0Smrg  # Loop through the user's path and test for each of PROGNAME-LIST
2780a64a7ac0Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2781a64a7ac0Smrgfor as_dir in $PATH
2782a64a7ac0Smrgdo
2783a64a7ac0Smrg  IFS=$as_save_IFS
2784a64a7ac0Smrg  case $as_dir in #(((
2785a64a7ac0Smrg    '') as_dir=./ ;;
2786a64a7ac0Smrg    */) ;;
2787a64a7ac0Smrg    *) as_dir=$as_dir/ ;;
2788a64a7ac0Smrg  esac
2789a64a7ac0Smrg    for ac_prog in sed gsed
2790a64a7ac0Smrg   do
2791a64a7ac0Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
2792a64a7ac0Smrg      ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
2793a64a7ac0Smrg      as_fn_executable_p "$ac_path_SED" || continue
2794a64a7ac0Smrg# Check for GNU ac_path_SED and select it if it is found.
2795a64a7ac0Smrg  # Check for GNU $ac_path_SED
2796a64a7ac0Smrgcase `"$ac_path_SED" --version 2>&1` in
2797a64a7ac0Smrg*GNU*)
2798a64a7ac0Smrg  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2799a64a7ac0Smrg*)
2800a64a7ac0Smrg  ac_count=0
2801a64a7ac0Smrg  printf %s 0123456789 >"conftest.in"
2802a64a7ac0Smrg  while :
2803a64a7ac0Smrg  do
2804a64a7ac0Smrg    cat "conftest.in" "conftest.in" >"conftest.tmp"
2805a64a7ac0Smrg    mv "conftest.tmp" "conftest.in"
2806a64a7ac0Smrg    cp "conftest.in" "conftest.nl"
2807a64a7ac0Smrg    printf "%s\n" '' >> "conftest.nl"
2808a64a7ac0Smrg    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
2809a64a7ac0Smrg    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2810a64a7ac0Smrg    as_fn_arith $ac_count + 1 && ac_count=$as_val
2811a64a7ac0Smrg    if test $ac_count -gt ${ac_path_SED_max-0}; then
2812a64a7ac0Smrg      # Best one so far, save it but keep looking for a better one
2813a64a7ac0Smrg      ac_cv_path_SED="$ac_path_SED"
2814a64a7ac0Smrg      ac_path_SED_max=$ac_count
2815a64a7ac0Smrg    fi
2816a64a7ac0Smrg    # 10*(2^10) chars as input seems more than enough
2817a64a7ac0Smrg    test $ac_count -gt 10 && break
2818a64a7ac0Smrg  done
2819a64a7ac0Smrg  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2820a64a7ac0Smrgesac
2821a64a7ac0Smrg
2822a64a7ac0Smrg      $ac_path_SED_found && break 3
2823a64a7ac0Smrg    done
2824a64a7ac0Smrg  done
2825a64a7ac0Smrg  done
2826a64a7ac0SmrgIFS=$as_save_IFS
2827a64a7ac0Smrg  if test -z "$ac_cv_path_SED"; then
2828a64a7ac0Smrg    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
2829a64a7ac0Smrg  fi
2830a64a7ac0Smrgelse
2831a64a7ac0Smrg  ac_cv_path_SED=$SED
2832a64a7ac0Smrgfi
2833a64a7ac0Smrg
2834a64a7ac0Smrgfi
2835a64a7ac0Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2836a64a7ac0Smrgprintf "%s\n" "$ac_cv_path_SED" >&6; }
2837a64a7ac0Smrg SED="$ac_cv_path_SED"
2838a64a7ac0Smrg  rm -f conftest.sed
2839a64a7ac0Smrg
2840a64a7ac0Smrg
2841a64a7ac0Smrg
2842a64a7ac0Smrg
2843a64a7ac0Smrg
2844a64a7ac0Smrgcat >>confdefs.h <<_ACEOF
2845a64a7ac0Smrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
2846a64a7ac0Smrg_ACEOF
2847a64a7ac0Smrg
2848a64a7ac0Smrg	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
2849a64a7ac0Smrg	if test "x$PVM" = "x"; then
2850a64a7ac0Smrg		PVM="0"
2851a64a7ac0Smrg	fi
2852a64a7ac0Smrg
2853a64a7ac0Smrgprintf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
2854a64a7ac0Smrg
2855a64a7ac0Smrg	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
2856a64a7ac0Smrg	if test "x$PVP" = "x"; then
2857a64a7ac0Smrg		PVP="0"
2858a64a7ac0Smrg	fi
2859a64a7ac0Smrg
2860a64a7ac0Smrgprintf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
2861a64a7ac0Smrg
2862a64a7ac0Smrg
2863a64a7ac0Smrg
2864a64a7ac0SmrgCHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
2865a64a7ac0Smrgmv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
2866a64a7ac0Smrg|| (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
2867a64a7ac0Smrgtouch \$(top_srcdir)/ChangeLog; \
2868a64a7ac0Smrgecho 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
2869a64a7ac0Smrg
2870a64a7ac0Smrg
2871a64a7ac0Smrg
2872a64a7ac0Smrg
2873a64a7ac0Smrgmacros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
2874a64a7ac0SmrgINSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
2875a64a7ac0Smrgmv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
2876a64a7ac0Smrg|| (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
2877a64a7ac0Smrgtouch \$(top_srcdir)/INSTALL; \
2878a64a7ac0Smrgecho 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
2879a64a7ac0Smrg
2880a64a7ac0Smrg
2881a64a7ac0Smrg
2882a64a7ac0Smrg
2883a64a7ac0Smrg
2884a64a7ac0Smrg
2885a64a7ac0Smrgcase $host_os in
2886a64a7ac0Smrg    solaris*)
2887a64a7ac0Smrg        # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
2888a64a7ac0Smrg        # check for a man page file found in later versions that use
2889a64a7ac0Smrg        # traditional section numbers instead
2890a64a7ac0Smrg        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
2891a64a7ac0Smrgprintf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
2892a64a7ac0Smrgif test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
2893a64a7ac0Smrgthen :
2894a64a7ac0Smrg  printf %s "(cached) " >&6
2895a64a7ac0Smrgelse $as_nop
2896a64a7ac0Smrg  test "$cross_compiling" = yes &&
2897a64a7ac0Smrg  as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
2898a64a7ac0Smrgif test -r "/usr/share/man/man7/attributes.7"; then
2899a64a7ac0Smrg  ac_cv_file__usr_share_man_man7_attributes_7=yes
2900a64a7ac0Smrgelse
2901a64a7ac0Smrg  ac_cv_file__usr_share_man_man7_attributes_7=no
2902a64a7ac0Smrgfi
2903a64a7ac0Smrgfi
2904a64a7ac0Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
2905a64a7ac0Smrgprintf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
2906a64a7ac0Smrgif test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
2907a64a7ac0Smrgthen :
2908a64a7ac0Smrg  SYSV_MAN_SECTIONS=false
2909a64a7ac0Smrgelse $as_nop
2910a64a7ac0Smrg  SYSV_MAN_SECTIONS=true
2911a64a7ac0Smrgfi
2912a64a7ac0Smrg
2913a64a7ac0Smrg        ;;
2914a64a7ac0Smrg    *) SYSV_MAN_SECTIONS=false ;;
2915a64a7ac0Smrgesac
2916a64a7ac0Smrg
2917a64a7ac0Smrgif test x$APP_MAN_SUFFIX = x    ; then
2918a64a7ac0Smrg    APP_MAN_SUFFIX=1
2919a64a7ac0Smrgfi
2920a64a7ac0Smrgif test x$APP_MAN_DIR = x    ; then
2921a64a7ac0Smrg    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
2922a64a7ac0Smrgfi
2923a64a7ac0Smrg
2924a64a7ac0Smrgif test x$LIB_MAN_SUFFIX = x    ; then
2925a64a7ac0Smrg    LIB_MAN_SUFFIX=3
2926a64a7ac0Smrgfi
2927a64a7ac0Smrgif test x$LIB_MAN_DIR = x    ; then
2928a64a7ac0Smrg    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
2929a64a7ac0Smrgfi
2930a64a7ac0Smrg
2931a64a7ac0Smrgif test x$FILE_MAN_SUFFIX = x    ; then
2932a64a7ac0Smrg    case $SYSV_MAN_SECTIONS in
2933a64a7ac0Smrg	true)				FILE_MAN_SUFFIX=4  ;;
2934a64a7ac0Smrg	*)				FILE_MAN_SUFFIX=5  ;;
2935a64a7ac0Smrg    esac
2936a64a7ac0Smrgfi
2937a64a7ac0Smrgif test x$FILE_MAN_DIR = x    ; then
2938a64a7ac0Smrg    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
2939a64a7ac0Smrgfi
2940a64a7ac0Smrg
2941a64a7ac0Smrgif test x$MISC_MAN_SUFFIX = x    ; then
2942a64a7ac0Smrg    case $SYSV_MAN_SECTIONS in
2943a64a7ac0Smrg	true)				MISC_MAN_SUFFIX=5  ;;
2944a64a7ac0Smrg	*)				MISC_MAN_SUFFIX=7  ;;
2945a64a7ac0Smrg    esac
2946a64a7ac0Smrgfi
2947a64a7ac0Smrgif test x$MISC_MAN_DIR = x    ; then
2948a64a7ac0Smrg    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
2949a64a7ac0Smrgfi
2950a64a7ac0Smrg
2951a64a7ac0Smrgif test x$DRIVER_MAN_SUFFIX = x    ; then
2952a64a7ac0Smrg    case $SYSV_MAN_SECTIONS in
2953a64a7ac0Smrg	true)				DRIVER_MAN_SUFFIX=7  ;;
2954a64a7ac0Smrg	*)				DRIVER_MAN_SUFFIX=4  ;;
2955a64a7ac0Smrg    esac
2956a64a7ac0Smrgfi
2957a64a7ac0Smrgif test x$DRIVER_MAN_DIR = x    ; then
2958a64a7ac0Smrg    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
2959a64a7ac0Smrgfi
2960a64a7ac0Smrg
2961a64a7ac0Smrgif test x$ADMIN_MAN_SUFFIX = x    ; then
2962a64a7ac0Smrg    case $SYSV_MAN_SECTIONS in
2963a64a7ac0Smrg	true)				ADMIN_MAN_SUFFIX=1m ;;
2964a64a7ac0Smrg	*)				ADMIN_MAN_SUFFIX=8  ;;
2965a64a7ac0Smrg    esac
2966a64a7ac0Smrgfi
2967a64a7ac0Smrgif test x$ADMIN_MAN_DIR = x    ; then
2968a64a7ac0Smrg    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
2969a64a7ac0Smrgfi
2970a64a7ac0Smrg
2971a64a7ac0Smrg
2972a64a7ac0Smrg
2973a64a7ac0Smrg
2974a64a7ac0Smrg
2975a64a7ac0Smrg
2976a64a7ac0Smrg
2977a64a7ac0Smrg
2978a64a7ac0Smrg
2979a64a7ac0Smrg
2980a64a7ac0Smrg
2981a64a7ac0Smrg
2982a64a7ac0Smrg
2983a64a7ac0Smrg
2984a64a7ac0Smrg
2985a64a7ac0SmrgXORG_MAN_PAGE="X Version 11"
2986a64a7ac0Smrg
2987a64a7ac0SmrgMAN_SUBSTS="\
2988a64a7ac0Smrg	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
2989a64a7ac0Smrg	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
2990a64a7ac0Smrg	-e 's|__xservername__|Xorg|g' \
2991a64a7ac0Smrg	-e 's|__xconfigfile__|xorg.conf|g' \
2992a64a7ac0Smrg	-e 's|__projectroot__|\$(prefix)|g' \
2993a64a7ac0Smrg	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
2994a64a7ac0Smrg	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
2995a64a7ac0Smrg	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
2996a64a7ac0Smrg	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
2997a64a7ac0Smrg	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
2998a64a7ac0Smrg	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
2999a64a7ac0Smrg	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
3000a64a7ac0Smrg
3001a64a7ac0Smrg
3002a64a7ac0Smrg
3003a64a7ac0Smrg# Check whether --enable-silent-rules was given.
3004a64a7ac0Smrgif test ${enable_silent_rules+y}
3005a64a7ac0Smrgthen :
3006a64a7ac0Smrg  enableval=$enable_silent_rules;
3007a64a7ac0Smrgfi
3008a64a7ac0Smrg
3009a64a7ac0Smrgcase $enable_silent_rules in # (((
3010a64a7ac0Smrg  yes) AM_DEFAULT_VERBOSITY=0;;
3011a64a7ac0Smrg   no) AM_DEFAULT_VERBOSITY=1;;
3012a64a7ac0Smrg    *) AM_DEFAULT_VERBOSITY=0;;
3013a64a7ac0Smrgesac
3014a64a7ac0Smrgam_make=${MAKE-make}
3015a64a7ac0Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3016a64a7ac0Smrgprintf %s "checking whether $am_make supports nested variables... " >&6; }
3017a64a7ac0Smrgif test ${am_cv_make_support_nested_variables+y}
3018a64a7ac0Smrgthen :
3019a64a7ac0Smrg  printf %s "(cached) " >&6
3020a64a7ac0Smrgelse $as_nop
3021a64a7ac0Smrg  if printf "%s\n" 'TRUE=$(BAR$(V))
3022a64a7ac0SmrgBAR0=false
3023a64a7ac0SmrgBAR1=true
3024a64a7ac0SmrgV=1
3025a64a7ac0Smrgam__doit:
3026a64a7ac0Smrg	@$(TRUE)
3027a64a7ac0Smrg.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3028a64a7ac0Smrg  am_cv_make_support_nested_variables=yes
3029a64a7ac0Smrgelse
3030a64a7ac0Smrg  am_cv_make_support_nested_variables=no
3031a64a7ac0Smrgfi
3032a64a7ac0Smrgfi
3033a64a7ac0Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3034a64a7ac0Smrgprintf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
3035a64a7ac0Smrgif test $am_cv_make_support_nested_variables = yes; then
3036a64a7ac0Smrg    AM_V='$(V)'
3037a64a7ac0Smrg  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3038a64a7ac0Smrgelse
3039a64a7ac0Smrg  AM_V=$AM_DEFAULT_VERBOSITY
3040a64a7ac0Smrg  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3041a64a7ac0Smrgfi
3042a64a7ac0SmrgAM_BACKSLASH='\'
3043a64a7ac0Smrg
3044a64a7ac0Smrg
3045a64a7ac0Smrg
3046a64a7ac0Smrg# Require X.Org's font util macros 1.4 or later for COMPRESS_FLAGS
3047a64a7ac0Smrg
3048a64a7ac0Smrg
3049a64a7ac0Smrg
3050a64a7ac0Smrg
3051a64a7ac0Smrg
3052a64a7ac0Smrg
3053a64a7ac0Smrg
3054a64a7ac0Smrg
3055a64a7ac0Smrg
3056a64a7ac0Smrg
3057a64a7ac0Smrg
3058a64a7ac0Smrg
3059a64a7ac0Smrg
3060a64a7ac0Smrg
3061a64a7ac0Smrg
3062a64a7ac0Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for root directory for font files" >&5
3063a64a7ac0Smrgprintf %s "checking for root directory for font files... " >&6; }
3064a64a7ac0Smrg
3065a64a7ac0Smrg# Check whether --with-fontrootdir was given.
3066a64a7ac0Smrgif test ${with_fontrootdir+y}
3067a64a7ac0Smrgthen :
3068a64a7ac0Smrg  withval=$with_fontrootdir; FONTROOTDIR="$withval"
3069a64a7ac0Smrgfi
3070a64a7ac0Smrg
3071a64a7ac0Smrg	# if --with-fontrootdir not specified...
3072a64a7ac0Smrg	if test "x${FONTROOTDIR}" = "x"; then
3073a64a7ac0Smrg		FONTROOTDIR=`$PKG_CONFIG --variable=fontrootdir fontutil`
3074a64a7ac0Smrg	fi
3075a64a7ac0Smrg	# ...and if pkg-config didn't find fontdir in fontutil.pc...
3076a64a7ac0Smrg	if test "x${FONTROOTDIR}" = "x"; then
3077a64a7ac0Smrg		FONTROOTDIR="${datadir}/fonts/X11"
3078a64a7ac0Smrg	fi
3079a64a7ac0Smrg
3080a64a7ac0Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${FONTROOTDIR}" >&5
3081a64a7ac0Smrgprintf "%s\n" "${FONTROOTDIR}" >&6; }
3082a64a7ac0Smrg
3083a64a7ac0Smrg
3084a64a7ac0Smrg
3085a64a7ac0Smrg
3086a64a7ac0Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for directory for misc files" >&5
3087a64a7ac0Smrgprintf %s "checking for directory for misc files... " >&6; }
3088a64a7ac0Smrg
3089a64a7ac0Smrg# Check whether --with-fontdir was given.
3090a64a7ac0Smrgif test ${with_fontdir+y}
3091a64a7ac0Smrgthen :
3092a64a7ac0Smrg  withval=$with_fontdir; FONTDIR="${withval}"
3093a64a7ac0Smrgelse $as_nop
3094a64a7ac0Smrg  FONTDIR='${FONTROOTDIR}/misc'
3095a64a7ac0Smrgfi
3096a64a7ac0Smrg
3097a64a7ac0Smrg
3098a64a7ac0Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${FONTDIR}" >&5
3099a64a7ac0Smrgprintf "%s\n" "${FONTDIR}" >&6; }
3100a64a7ac0Smrg
3101a64a7ac0Smrg
3102a64a7ac0Smrg
3103a64a7ac0Smrg
3104a64a7ac0Smrg	# Extract the first word of "fc-cache", so it can be a program name with args.
3105a64a7ac0Smrgset dummy fc-cache; ac_word=$2
3106a64a7ac0Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3107a64a7ac0Smrgprintf %s "checking for $ac_word... " >&6; }
3108a64a7ac0Smrgif test ${ac_cv_path_FCCACHE+y}
3109a64a7ac0Smrgthen :
3110a64a7ac0Smrg  printf %s "(cached) " >&6
3111a64a7ac0Smrgelse $as_nop
3112a64a7ac0Smrg  case $FCCACHE in
3113a64a7ac0Smrg  [\\/]* | ?:[\\/]*)
3114a64a7ac0Smrg  ac_cv_path_FCCACHE="$FCCACHE" # Let the user override the test with a path.
3115a64a7ac0Smrg  ;;
3116a64a7ac0Smrg  *)
3117a64a7ac0Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3118a64a7ac0Smrgfor as_dir in $PATH
3119a64a7ac0Smrgdo
3120a64a7ac0Smrg  IFS=$as_save_IFS
3121a64a7ac0Smrg  case $as_dir in #(((
3122a64a7ac0Smrg    '') as_dir=./ ;;
3123a64a7ac0Smrg    */) ;;
3124a64a7ac0Smrg    *) as_dir=$as_dir/ ;;
3125a64a7ac0Smrg  esac
3126a64a7ac0Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
3127a64a7ac0Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3128a64a7ac0Smrg    ac_cv_path_FCCACHE="$as_dir$ac_word$ac_exec_ext"
3129a64a7ac0Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3130a64a7ac0Smrg    break 2
3131a64a7ac0Smrg  fi
3132a64a7ac0Smrgdone
3133a64a7ac0Smrg  done
3134a64a7ac0SmrgIFS=$as_save_IFS
3135a64a7ac0Smrg
3136a64a7ac0Smrg  ;;
3137a64a7ac0Smrgesac
3138a64a7ac0Smrgfi
3139a64a7ac0SmrgFCCACHE=$ac_cv_path_FCCACHE
3140a64a7ac0Smrgif test -n "$FCCACHE"; then
3141a64a7ac0Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FCCACHE" >&5
3142a64a7ac0Smrgprintf "%s\n" "$FCCACHE" >&6; }
3143a64a7ac0Smrgelse
3144a64a7ac0Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3145a64a7ac0Smrgprintf "%s\n" "no" >&6; }
3146a64a7ac0Smrgfi
3147a64a7ac0Smrg
3148a64a7ac0Smrg
3149a64a7ac0Smrg	FCCACHE_WARN='echo "** Warning: fonts.cache not built" ; echo "** Generate this file manually on host system using fc-cache"'
3150a64a7ac0Smrg	if test x"$FCCACHE" = x || test x"$cross_compiling" != x"no" ; then
3151a64a7ac0Smrg		RUN_FCCACHE="${FCCACHE_WARN}"
3152a64a7ac0Smrg	else
3153a64a7ac0Smrg		RUN_FCCACHE='@(if test -z "$(DESTDIR)"; then echo $(FCCACHE) $(fontdir); $(FCCACHE) $(fontdir); else'
3154a64a7ac0Smrg		RUN_FCCACHE="${RUN_FCCACHE} ${FCCACHE_WARN} ; fi)"
3155a64a7ac0Smrg	fi
3156a64a7ac0Smrg
3157a64a7ac0Smrg
3158a64a7ac0Smrg
3159a64a7ac0Smrg	if test x"$cross_compiling" != x"no" ; then
3160a64a7ac0Smrg		# Extract the first word of "mkfontdir", so it can be a program name with args.
3161a64a7ac0Smrgset dummy mkfontdir; ac_word=$2
3162a64a7ac0Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3163a64a7ac0Smrgprintf %s "checking for $ac_word... " >&6; }
3164a64a7ac0Smrgif test ${ac_cv_path_MKFONTDIR+y}
3165a64a7ac0Smrgthen :
3166a64a7ac0Smrg  printf %s "(cached) " >&6
3167a64a7ac0Smrgelse $as_nop
3168a64a7ac0Smrg  case $MKFONTDIR in
3169a64a7ac0Smrg  [\\/]* | ?:[\\/]*)
3170a64a7ac0Smrg  ac_cv_path_MKFONTDIR="$MKFONTDIR" # Let the user override the test with a path.
3171a64a7ac0Smrg  ;;
3172a64a7ac0Smrg  *)
3173a64a7ac0Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3174a64a7ac0Smrgfor as_dir in $PATH
3175a64a7ac0Smrgdo
3176a64a7ac0Smrg  IFS=$as_save_IFS
3177a64a7ac0Smrg  case $as_dir in #(((
3178a64a7ac0Smrg    '') as_dir=./ ;;
3179a64a7ac0Smrg    */) ;;
3180a64a7ac0Smrg    *) as_dir=$as_dir/ ;;
3181a64a7ac0Smrg  esac
3182a64a7ac0Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
3183a64a7ac0Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3184a64a7ac0Smrg    ac_cv_path_MKFONTDIR="$as_dir$ac_word$ac_exec_ext"
3185a64a7ac0Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3186a64a7ac0Smrg    break 2
3187a64a7ac0Smrg  fi
3188a64a7ac0Smrgdone
3189a64a7ac0Smrg  done
3190a64a7ac0SmrgIFS=$as_save_IFS
3191a64a7ac0Smrg
3192a64a7ac0Smrg  test -z "$ac_cv_path_MKFONTDIR" && ac_cv_path_MKFONTDIR=""""
3193a64a7ac0Smrg  ;;
3194a64a7ac0Smrgesac
3195a64a7ac0Smrgfi
3196a64a7ac0SmrgMKFONTDIR=$ac_cv_path_MKFONTDIR
3197a64a7ac0Smrgif test -n "$MKFONTDIR"; then
3198a64a7ac0Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKFONTDIR" >&5
3199a64a7ac0Smrgprintf "%s\n" "$MKFONTDIR" >&6; }
3200a64a7ac0Smrgelse
3201a64a7ac0Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3202a64a7ac0Smrgprintf "%s\n" "no" >&6; }
3203a64a7ac0Smrgfi
3204a64a7ac0Smrg
3205a64a7ac0Smrg
3206a64a7ac0Smrg		MKFONTDIR_WARN='echo "** Warning: mkfontdir not run" ; echo "** Run mkfontdir manually on host system"'
3207a64a7ac0Smrg
3208a64a7ac0Smrg		if test x"$MKFONTDIR" = x; then
3209a64a7ac0Smrg			MKFONTDIR="${MKFONTDIR_WARN} ; echo '** mkfontdir'"
3210a64a7ac0Smrg		fi
3211a64a7ac0Smrg	else
3212a64a7ac0Smrg
3213a64a7ac0Smrg	# Extract the first word of "mkfontdir", so it can be a program name with args.
3214a64a7ac0Smrgset dummy mkfontdir; ac_word=$2
3215a64a7ac0Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3216a64a7ac0Smrgprintf %s "checking for $ac_word... " >&6; }
3217a64a7ac0Smrgif test ${ac_cv_path_MKFONTDIR+y}
3218a64a7ac0Smrgthen :
3219a64a7ac0Smrg  printf %s "(cached) " >&6
3220a64a7ac0Smrgelse $as_nop
3221a64a7ac0Smrg  case $MKFONTDIR in
3222a64a7ac0Smrg  [\\/]* | ?:[\\/]*)
3223a64a7ac0Smrg  ac_cv_path_MKFONTDIR="$MKFONTDIR" # Let the user override the test with a path.
3224a64a7ac0Smrg  ;;
3225a64a7ac0Smrg  *)
3226a64a7ac0Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3227a64a7ac0Smrgfor as_dir in $PATH
3228a64a7ac0Smrgdo
3229a64a7ac0Smrg  IFS=$as_save_IFS
3230a64a7ac0Smrg  case $as_dir in #(((
3231a64a7ac0Smrg    '') as_dir=./ ;;
3232a64a7ac0Smrg    */) ;;
3233a64a7ac0Smrg    *) as_dir=$as_dir/ ;;
3234a64a7ac0Smrg  esac
3235a64a7ac0Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
3236a64a7ac0Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3237a64a7ac0Smrg    ac_cv_path_MKFONTDIR="$as_dir$ac_word$ac_exec_ext"
3238a64a7ac0Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3239a64a7ac0Smrg    break 2
3240a64a7ac0Smrg  fi
3241a64a7ac0Smrgdone
3242a64a7ac0Smrg  done
3243a64a7ac0SmrgIFS=$as_save_IFS
3244a64a7ac0Smrg
3245a64a7ac0Smrg  ;;
3246a64a7ac0Smrgesac
3247a64a7ac0Smrgfi
3248a64a7ac0SmrgMKFONTDIR=$ac_cv_path_MKFONTDIR
3249a64a7ac0Smrgif test -n "$MKFONTDIR"; then
3250a64a7ac0Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKFONTDIR" >&5
3251a64a7ac0Smrgprintf "%s\n" "$MKFONTDIR" >&6; }
3252a64a7ac0Smrgelse
3253a64a7ac0Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3254a64a7ac0Smrgprintf "%s\n" "no" >&6; }
3255a64a7ac0Smrgfi
3256a64a7ac0Smrg
3257a64a7ac0Smrg
3258a64a7ac0Smrg	if test x"$MKFONTDIR" = x; then
3259a64a7ac0Smrg		as_fn_error $? "mkfontdir is required to build $PACKAGE_NAME." "$LINENO" 5
3260a64a7ac0Smrg	fi
3261a64a7ac0Smrg
3262a64a7ac0Smrg	fi
3263a64a7ac0Smrg
3264a64a7ac0Smrg
3265a64a7ac0Smrg
3266a64a7ac0Smrg
3267a64a7ac0Smrg
3268a64a7ac0Smrg	# Extract the first word of "bdftopcf", so it can be a program name with args.
3269a64a7ac0Smrgset dummy bdftopcf; ac_word=$2
3270a64a7ac0Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3271a64a7ac0Smrgprintf %s "checking for $ac_word... " >&6; }
3272a64a7ac0Smrgif test ${ac_cv_path_BDFTOPCF+y}
3273a64a7ac0Smrgthen :
3274a64a7ac0Smrg  printf %s "(cached) " >&6
3275a64a7ac0Smrgelse $as_nop
3276a64a7ac0Smrg  case $BDFTOPCF in
3277a64a7ac0Smrg  [\\/]* | ?:[\\/]*)
3278a64a7ac0Smrg  ac_cv_path_BDFTOPCF="$BDFTOPCF" # Let the user override the test with a path.
3279a64a7ac0Smrg  ;;
3280a64a7ac0Smrg  *)
3281a64a7ac0Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3282a64a7ac0Smrgfor as_dir in $PATH
3283a64a7ac0Smrgdo
3284a64a7ac0Smrg  IFS=$as_save_IFS
3285a64a7ac0Smrg  case $as_dir in #(((
3286a64a7ac0Smrg    '') as_dir=./ ;;
3287a64a7ac0Smrg    */) ;;
3288a64a7ac0Smrg    *) as_dir=$as_dir/ ;;
3289a64a7ac0Smrg  esac
3290a64a7ac0Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
3291a64a7ac0Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3292a64a7ac0Smrg    ac_cv_path_BDFTOPCF="$as_dir$ac_word$ac_exec_ext"
3293a64a7ac0Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3294a64a7ac0Smrg    break 2
3295a64a7ac0Smrg  fi
3296a64a7ac0Smrgdone
3297a64a7ac0Smrg  done
3298a64a7ac0SmrgIFS=$as_save_IFS
3299a64a7ac0Smrg
3300a64a7ac0Smrg  ;;
3301a64a7ac0Smrgesac
3302a64a7ac0Smrgfi
3303a64a7ac0SmrgBDFTOPCF=$ac_cv_path_BDFTOPCF
3304a64a7ac0Smrgif test -n "$BDFTOPCF"; then
3305a64a7ac0Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BDFTOPCF" >&5
3306a64a7ac0Smrgprintf "%s\n" "$BDFTOPCF" >&6; }
3307a64a7ac0Smrgelse
3308a64a7ac0Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3309a64a7ac0Smrgprintf "%s\n" "no" >&6; }
3310a64a7ac0Smrgfi
3311a64a7ac0Smrg
3312a64a7ac0Smrg
3313a64a7ac0Smrg	if test x"$BDFTOPCF" = x; then
3314a64a7ac0Smrg		as_fn_error $? "bdftopcf is required to build $PACKAGE_NAME." "$LINENO" 5
3315a64a7ac0Smrg	fi
3316a64a7ac0Smrg
3317a64a7ac0Smrg
3318a64a7ac0Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking font compression method" >&5
3319a64a7ac0Smrgprintf %s "checking font compression method... " >&6; }
3320a64a7ac0Smrg
3321a64a7ac0Smrg# Check whether --with-compression was given.
3322a64a7ac0Smrgif test ${with_compression+y}
3323a64a7ac0Smrgthen :
3324a64a7ac0Smrg  withval=$with_compression; compression="$withval"
3325a64a7ac0Smrgelse $as_nop
3326a64a7ac0Smrg  compression="yes"
3327a64a7ac0Smrgfi
3328a64a7ac0Smrg
3329a64a7ac0Smrg	if test x"$compression" = "xyes" ; then
3330a64a7ac0Smrg		compression="gzip"
3331a64a7ac0Smrg	fi
3332a64a7ac0Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${compression}" >&5
3333a64a7ac0Smrgprintf "%s\n" "${compression}" >&6; }
3334a64a7ac0Smrg	case ${compression} in
3335a64a7ac0Smrg	 *compress)	COMPRESS_SUFFIX=".Z" ;;
3336a64a7ac0Smrg	 *gzip)		COMPRESS_SUFFIX=".gz" ;
3337a64a7ac0Smrg			COMPRESS_FLAGS="${COMPRESS_FLAGS--n}" ;;
3338a64a7ac0Smrg	 *bzip2)	COMPRESS_SUFFIX=".bz2" ;;
3339a64a7ac0Smrg	 no|none)	COMPRESS_SUFFIX="" ; COMPRESS="cat" ;;
3340a64a7ac0Smrg	 *) as_fn_error $? "${compression} is not a supported compression method" "$LINENO" 5 ;;
3341a64a7ac0Smrg	esac
3342a64a7ac0Smrg	if test x"$COMPRESS_SUFFIX" != "x" ; then
3343a64a7ac0Smrg
3344a64a7ac0Smrg	# Extract the first word of "${compression}", so it can be a program name with args.
3345a64a7ac0Smrgset dummy ${compression}; ac_word=$2
3346a64a7ac0Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3347a64a7ac0Smrgprintf %s "checking for $ac_word... " >&6; }
3348a64a7ac0Smrgif test ${ac_cv_path_COMPRESS+y}
3349a64a7ac0Smrgthen :
3350a64a7ac0Smrg  printf %s "(cached) " >&6
3351a64a7ac0Smrgelse $as_nop
3352a64a7ac0Smrg  case $COMPRESS in
3353a64a7ac0Smrg  [\\/]* | ?:[\\/]*)
3354a64a7ac0Smrg  ac_cv_path_COMPRESS="$COMPRESS" # Let the user override the test with a path.
3355a64a7ac0Smrg  ;;
3356a64a7ac0Smrg  *)
3357a64a7ac0Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3358a64a7ac0Smrgfor as_dir in $PATH
3359a64a7ac0Smrgdo
3360a64a7ac0Smrg  IFS=$as_save_IFS
3361a64a7ac0Smrg  case $as_dir in #(((
3362a64a7ac0Smrg    '') as_dir=./ ;;
3363a64a7ac0Smrg    */) ;;
3364a64a7ac0Smrg    *) as_dir=$as_dir/ ;;
3365a64a7ac0Smrg  esac
3366a64a7ac0Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
3367a64a7ac0Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3368a64a7ac0Smrg    ac_cv_path_COMPRESS="$as_dir$ac_word$ac_exec_ext"
3369a64a7ac0Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3370a64a7ac0Smrg    break 2
3371a64a7ac0Smrg  fi
3372a64a7ac0Smrgdone
3373a64a7ac0Smrg  done
3374a64a7ac0SmrgIFS=$as_save_IFS
3375a64a7ac0Smrg
3376a64a7ac0Smrg  ;;
3377a64a7ac0Smrgesac
3378a64a7ac0Smrgfi
3379a64a7ac0SmrgCOMPRESS=$ac_cv_path_COMPRESS
3380a64a7ac0Smrgif test -n "$COMPRESS"; then
3381a64a7ac0Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $COMPRESS" >&5
3382a64a7ac0Smrgprintf "%s\n" "$COMPRESS" >&6; }
3383a64a7ac0Smrgelse
3384a64a7ac0Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3385a64a7ac0Smrgprintf "%s\n" "no" >&6; }
3386a64a7ac0Smrgfi
3387a64a7ac0Smrg
3388a64a7ac0Smrg
3389a64a7ac0Smrg	if test x"$COMPRESS" = x; then
3390a64a7ac0Smrg		as_fn_error $? "${compression} is required to build $PACKAGE_NAME." "$LINENO" 5
3391a64a7ac0Smrg	fi
3392a64a7ac0Smrg
3393a64a7ac0Smrg	fi
3394a64a7ac0Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking options to font compression command" >&5
3395a64a7ac0Smrgprintf %s "checking options to font compression command... " >&6; }
3396a64a7ac0Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${COMPRESS_FLAGS:-none}" >&5
3397a64a7ac0Smrgprintf "%s\n" "${COMPRESS_FLAGS:-none}" >&6; }
3398a64a7ac0Smrg
3399a64a7ac0Smrg
3400a64a7ac0Smrg
3401a64a7ac0Smrg
3402a64a7ac0Smrg
3403a64a7ac0Smrgac_config_files="$ac_config_files Makefile"
3404a64a7ac0Smrg
3405a64a7ac0Smrgcat >confcache <<\_ACEOF
3406a64a7ac0Smrg# This file is a shell script that caches the results of configure
3407a64a7ac0Smrg# tests run on this system so they can be shared between configure
3408a64a7ac0Smrg# scripts and configure runs, see configure's option --config-cache.
3409a64a7ac0Smrg# It is not useful on other systems.  If it contains results you don't
3410a64a7ac0Smrg# want to keep, you may remove or edit it.
3411a64a7ac0Smrg#
3412a64a7ac0Smrg# config.status only pays attention to the cache file if you give it
3413a64a7ac0Smrg# the --recheck option to rerun configure.
3414a64a7ac0Smrg#
3415a64a7ac0Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when
3416a64a7ac0Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the
3417a64a7ac0Smrg# following values.
3418a64a7ac0Smrg
3419a64a7ac0Smrg_ACEOF
3420a64a7ac0Smrg
3421a64a7ac0Smrg# The following way of writing the cache mishandles newlines in values,
3422a64a7ac0Smrg# but we know of no workaround that is simple, portable, and efficient.
3423a64a7ac0Smrg# So, we kill variables containing newlines.
3424a64a7ac0Smrg# Ultrix sh set writes to stderr and can't be redirected directly,
3425a64a7ac0Smrg# and sets the high bit in the cache file unless we assign to the vars.
3426a64a7ac0Smrg(
3427a64a7ac0Smrg  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3428a64a7ac0Smrg    eval ac_val=\$$ac_var
3429a64a7ac0Smrg    case $ac_val in #(
3430a64a7ac0Smrg    *${as_nl}*)
3431a64a7ac0Smrg      case $ac_var in #(
3432a64a7ac0Smrg      *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3433a64a7ac0Smrgprintf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3434a64a7ac0Smrg      esac
3435a64a7ac0Smrg      case $ac_var in #(
3436a64a7ac0Smrg      _ | IFS | as_nl) ;; #(
3437a64a7ac0Smrg      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3438a64a7ac0Smrg      *) { eval $ac_var=; unset $ac_var;} ;;
3439a64a7ac0Smrg      esac ;;
3440a64a7ac0Smrg    esac
3441a64a7ac0Smrg  done
3442a64a7ac0Smrg
3443a64a7ac0Smrg  (set) 2>&1 |
3444a64a7ac0Smrg    case $as_nl`(ac_space=' '; set) 2>&1` in #(
3445a64a7ac0Smrg    *${as_nl}ac_space=\ *)
3446a64a7ac0Smrg      # `set' does not quote correctly, so add quotes: double-quote
3447a64a7ac0Smrg      # substitution turns \\\\ into \\, and sed turns \\ into \.
3448a64a7ac0Smrg      sed -n \
3449a64a7ac0Smrg	"s/'/'\\\\''/g;
3450a64a7ac0Smrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3451a64a7ac0Smrg      ;; #(
3452a64a7ac0Smrg    *)
3453a64a7ac0Smrg      # `set' quotes correctly as required by POSIX, so do not add quotes.
3454a64a7ac0Smrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3455a64a7ac0Smrg      ;;
3456a64a7ac0Smrg    esac |
3457a64a7ac0Smrg    sort
3458a64a7ac0Smrg) |
3459a64a7ac0Smrg  sed '
3460a64a7ac0Smrg     /^ac_cv_env_/b end
3461a64a7ac0Smrg     t clear
3462a64a7ac0Smrg     :clear
3463a64a7ac0Smrg     s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
3464a64a7ac0Smrg     t end
3465a64a7ac0Smrg     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3466a64a7ac0Smrg     :end' >>confcache
3467a64a7ac0Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3468a64a7ac0Smrg  if test -w "$cache_file"; then
3469a64a7ac0Smrg    if test "x$cache_file" != "x/dev/null"; then
3470a64a7ac0Smrg      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3471a64a7ac0Smrgprintf "%s\n" "$as_me: updating cache $cache_file" >&6;}
3472a64a7ac0Smrg      if test ! -f "$cache_file" || test -h "$cache_file"; then
3473a64a7ac0Smrg	cat confcache >"$cache_file"
3474a64a7ac0Smrg      else
3475a64a7ac0Smrg        case $cache_file in #(
3476a64a7ac0Smrg        */* | ?:*)
3477a64a7ac0Smrg	  mv -f confcache "$cache_file"$$ &&
3478a64a7ac0Smrg	  mv -f "$cache_file"$$ "$cache_file" ;; #(
3479a64a7ac0Smrg        *)
3480a64a7ac0Smrg	  mv -f confcache "$cache_file" ;;
3481a64a7ac0Smrg	esac
3482a64a7ac0Smrg      fi
3483a64a7ac0Smrg    fi
3484a64a7ac0Smrg  else
3485a64a7ac0Smrg    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3486a64a7ac0Smrgprintf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
3487a64a7ac0Smrg  fi
3488a64a7ac0Smrgfi
3489a64a7ac0Smrgrm -f confcache
3490a64a7ac0Smrg
3491a64a7ac0Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix
3492a64a7ac0Smrg# Let make expand exec_prefix.
3493a64a7ac0Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3494a64a7ac0Smrg
3495a64a7ac0Smrg# Transform confdefs.h into DEFS.
3496a64a7ac0Smrg# Protect against shell expansion while executing Makefile rules.
3497a64a7ac0Smrg# Protect against Makefile macro expansion.
3498a64a7ac0Smrg#
3499a64a7ac0Smrg# If the first sed substitution is executed (which looks for macros that
3500a64a7ac0Smrg# take arguments), then branch to the quote section.  Otherwise,
3501a64a7ac0Smrg# look for a macro that doesn't take arguments.
3502a64a7ac0Smrgac_script='
3503a64a7ac0Smrg:mline
3504a64a7ac0Smrg/\\$/{
3505a64a7ac0Smrg N
3506a64a7ac0Smrg s,\\\n,,
3507a64a7ac0Smrg b mline
3508a64a7ac0Smrg}
3509a64a7ac0Smrgt clear
3510a64a7ac0Smrg:clear
3511a64a7ac0Smrgs/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
3512a64a7ac0Smrgt quote
3513a64a7ac0Smrgs/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
3514a64a7ac0Smrgt quote
3515a64a7ac0Smrgb any
3516a64a7ac0Smrg:quote
3517a64a7ac0Smrgs/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3518a64a7ac0Smrgs/\[/\\&/g
3519a64a7ac0Smrgs/\]/\\&/g
3520a64a7ac0Smrgs/\$/$$/g
3521a64a7ac0SmrgH
3522a64a7ac0Smrg:any
3523a64a7ac0Smrg${
3524a64a7ac0Smrg	g
3525a64a7ac0Smrg	s/^\n//
3526a64a7ac0Smrg	s/\n/ /g
3527a64a7ac0Smrg	p
3528a64a7ac0Smrg}
3529a64a7ac0Smrg'
3530a64a7ac0SmrgDEFS=`sed -n "$ac_script" confdefs.h`
3531a64a7ac0Smrg
3532a64a7ac0Smrg
3533a64a7ac0Smrgac_libobjs=
3534a64a7ac0Smrgac_ltlibobjs=
3535a64a7ac0SmrgU=
3536a64a7ac0Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3537a64a7ac0Smrg  # 1. Remove the extension, and $U if already installed.
3538a64a7ac0Smrg  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3539a64a7ac0Smrg  ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
3540a64a7ac0Smrg  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
3541a64a7ac0Smrg  #    will be set to the directory where LIBOBJS objects are built.
3542a64a7ac0Smrg  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3543a64a7ac0Smrg  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3544a64a7ac0Smrgdone
3545a64a7ac0SmrgLIBOBJS=$ac_libobjs
3546a64a7ac0Smrg
3547a64a7ac0SmrgLTLIBOBJS=$ac_ltlibobjs
3548a64a7ac0Smrg
3549a64a7ac0Smrg
3550a64a7ac0Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
3551a64a7ac0Smrgprintf %s "checking that generated files are newer than configure... " >&6; }
3552a64a7ac0Smrg   if test -n "$am_sleep_pid"; then
3553a64a7ac0Smrg     # Hide warnings about reused PIDs.
3554a64a7ac0Smrg     wait $am_sleep_pid 2>/dev/null
3555a64a7ac0Smrg   fi
3556a64a7ac0Smrg   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
3557a64a7ac0Smrgprintf "%s\n" "done" >&6; }
3558a64a7ac0Smrg
3559a64a7ac0Smrg
3560a64a7ac0Smrg: "${CONFIG_STATUS=./config.status}"
3561a64a7ac0Smrgac_write_fail=0
3562a64a7ac0Smrgac_clean_files_save=$ac_clean_files
3563a64a7ac0Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS"
3564a64a7ac0Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3565a64a7ac0Smrgprintf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
3566a64a7ac0Smrgas_write_fail=0
3567a64a7ac0Smrgcat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3568a64a7ac0Smrg#! $SHELL
3569a64a7ac0Smrg# Generated by $as_me.
3570a64a7ac0Smrg# Run this file to recreate the current configuration.
3571a64a7ac0Smrg# Compiler output produced by configure, useful for debugging
3572a64a7ac0Smrg# configure, is in config.log if it exists.
3573a64a7ac0Smrg
3574a64a7ac0Smrgdebug=false
3575a64a7ac0Smrgac_cs_recheck=false
3576a64a7ac0Smrgac_cs_silent=false
3577a64a7ac0Smrg
3578a64a7ac0SmrgSHELL=\${CONFIG_SHELL-$SHELL}
3579a64a7ac0Smrgexport SHELL
3580a64a7ac0Smrg_ASEOF
3581a64a7ac0Smrgcat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3582a64a7ac0Smrg## -------------------- ##
3583a64a7ac0Smrg## M4sh Initialization. ##
3584a64a7ac0Smrg## -------------------- ##
3585a64a7ac0Smrg
3586a64a7ac0Smrg# Be more Bourne compatible
3587a64a7ac0SmrgDUALCASE=1; export DUALCASE # for MKS sh
3588a64a7ac0Smrgas_nop=:
3589a64a7ac0Smrgif test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
3590a64a7ac0Smrgthen :
3591a64a7ac0Smrg  emulate sh
3592a64a7ac0Smrg  NULLCMD=:
3593a64a7ac0Smrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3594a64a7ac0Smrg  # is contrary to our usage.  Disable this feature.
3595a64a7ac0Smrg  alias -g '${1+"$@"}'='"$@"'
3596a64a7ac0Smrg  setopt NO_GLOB_SUBST
3597a64a7ac0Smrgelse $as_nop
3598a64a7ac0Smrg  case `(set -o) 2>/dev/null` in #(
3599a64a7ac0Smrg  *posix*) :
3600a64a7ac0Smrg    set -o posix ;; #(
3601a64a7ac0Smrg  *) :
3602a64a7ac0Smrg     ;;
3603a64a7ac0Smrgesac
3604a64a7ac0Smrgfi
3605a64a7ac0Smrg
3606a64a7ac0Smrg
3607a64a7ac0Smrg
3608a64a7ac0Smrg# Reset variables that may have inherited troublesome values from
3609a64a7ac0Smrg# the environment.
3610a64a7ac0Smrg
3611a64a7ac0Smrg# IFS needs to be set, to space, tab, and newline, in precisely that order.
3612a64a7ac0Smrg# (If _AS_PATH_WALK were called with IFS unset, it would have the
3613a64a7ac0Smrg# side effect of setting IFS to empty, thus disabling word splitting.)
3614a64a7ac0Smrg# Quoting is to prevent editors from complaining about space-tab.
3615a64a7ac0Smrgas_nl='
3616a64a7ac0Smrg'
3617a64a7ac0Smrgexport as_nl
3618a64a7ac0SmrgIFS=" ""	$as_nl"
3619a64a7ac0Smrg
3620a64a7ac0SmrgPS1='$ '
3621a64a7ac0SmrgPS2='> '
3622a64a7ac0SmrgPS4='+ '
3623a64a7ac0Smrg
3624a64a7ac0Smrg# Ensure predictable behavior from utilities with locale-dependent output.
3625a64a7ac0SmrgLC_ALL=C
3626a64a7ac0Smrgexport LC_ALL
3627a64a7ac0SmrgLANGUAGE=C
3628a64a7ac0Smrgexport LANGUAGE
3629a64a7ac0Smrg
3630a64a7ac0Smrg# We cannot yet rely on "unset" to work, but we need these variables
3631a64a7ac0Smrg# to be unset--not just set to an empty or harmless value--now, to
3632a64a7ac0Smrg# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
3633a64a7ac0Smrg# also avoids known problems related to "unset" and subshell syntax
3634a64a7ac0Smrg# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
3635a64a7ac0Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
3636a64a7ac0Smrgdo eval test \${$as_var+y} \
3637a64a7ac0Smrg  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3638a64a7ac0Smrgdone
3639a64a7ac0Smrg
3640a64a7ac0Smrg# Ensure that fds 0, 1, and 2 are open.
3641a64a7ac0Smrgif (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
3642a64a7ac0Smrgif (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
3643a64a7ac0Smrgif (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
3644a64a7ac0Smrg
3645a64a7ac0Smrg# The user is always right.
3646a64a7ac0Smrgif ${PATH_SEPARATOR+false} :; then
3647a64a7ac0Smrg  PATH_SEPARATOR=:
3648a64a7ac0Smrg  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3649a64a7ac0Smrg    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3650a64a7ac0Smrg      PATH_SEPARATOR=';'
3651a64a7ac0Smrg  }
3652a64a7ac0Smrgfi
3653a64a7ac0Smrg
3654a64a7ac0Smrg
3655a64a7ac0Smrg# Find who we are.  Look in the path if we contain no directory separator.
3656a64a7ac0Smrgas_myself=
3657a64a7ac0Smrgcase $0 in #((
3658a64a7ac0Smrg  *[\\/]* ) as_myself=$0 ;;
3659a64a7ac0Smrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3660a64a7ac0Smrgfor as_dir in $PATH
3661a64a7ac0Smrgdo
3662a64a7ac0Smrg  IFS=$as_save_IFS
3663a64a7ac0Smrg  case $as_dir in #(((
3664a64a7ac0Smrg    '') as_dir=./ ;;
3665a64a7ac0Smrg    */) ;;
3666a64a7ac0Smrg    *) as_dir=$as_dir/ ;;
3667a64a7ac0Smrg  esac
3668a64a7ac0Smrg    test -r "$as_dir$0" && as_myself=$as_dir$0 && break
3669a64a7ac0Smrg  done
3670a64a7ac0SmrgIFS=$as_save_IFS
3671a64a7ac0Smrg
3672a64a7ac0Smrg     ;;
3673a64a7ac0Smrgesac
3674a64a7ac0Smrg# We did not find ourselves, most probably we were run as `sh COMMAND'
3675a64a7ac0Smrg# in which case we are not to be found in the path.
3676a64a7ac0Smrgif test "x$as_myself" = x; then
3677a64a7ac0Smrg  as_myself=$0
3678a64a7ac0Smrgfi
3679a64a7ac0Smrgif test ! -f "$as_myself"; then
3680a64a7ac0Smrg  printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3681a64a7ac0Smrg  exit 1
3682a64a7ac0Smrgfi
3683a64a7ac0Smrg
3684a64a7ac0Smrg
3685a64a7ac0Smrg
3686a64a7ac0Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD]
3687a64a7ac0Smrg# ----------------------------------------
3688a64a7ac0Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3689a64a7ac0Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3690a64a7ac0Smrg# script with STATUS, using 1 if that was 0.
3691a64a7ac0Smrgas_fn_error ()
3692a64a7ac0Smrg{
3693a64a7ac0Smrg  as_status=$1; test $as_status -eq 0 && as_status=1
3694a64a7ac0Smrg  if test "$4"; then
3695a64a7ac0Smrg    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3696a64a7ac0Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3697a64a7ac0Smrg  fi
3698a64a7ac0Smrg  printf "%s\n" "$as_me: error: $2" >&2
3699a64a7ac0Smrg  as_fn_exit $as_status
3700a64a7ac0Smrg} # as_fn_error
3701a64a7ac0Smrg
3702a64a7ac0Smrg
3703a64a7ac0Smrg
3704a64a7ac0Smrg# as_fn_set_status STATUS
3705a64a7ac0Smrg# -----------------------
3706a64a7ac0Smrg# Set $? to STATUS, without forking.
3707a64a7ac0Smrgas_fn_set_status ()
3708a64a7ac0Smrg{
3709a64a7ac0Smrg  return $1
3710a64a7ac0Smrg} # as_fn_set_status
3711a64a7ac0Smrg
3712a64a7ac0Smrg# as_fn_exit STATUS
3713a64a7ac0Smrg# -----------------
3714a64a7ac0Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3715a64a7ac0Smrgas_fn_exit ()
3716a64a7ac0Smrg{
3717a64a7ac0Smrg  set +e
3718a64a7ac0Smrg  as_fn_set_status $1
3719a64a7ac0Smrg  exit $1
3720a64a7ac0Smrg} # as_fn_exit
3721a64a7ac0Smrg
3722a64a7ac0Smrg# as_fn_unset VAR
3723a64a7ac0Smrg# ---------------
3724a64a7ac0Smrg# Portably unset VAR.
3725a64a7ac0Smrgas_fn_unset ()
3726a64a7ac0Smrg{
3727a64a7ac0Smrg  { eval $1=; unset $1;}
3728a64a7ac0Smrg}
3729a64a7ac0Smrgas_unset=as_fn_unset
3730a64a7ac0Smrg
3731a64a7ac0Smrg# as_fn_append VAR VALUE
3732a64a7ac0Smrg# ----------------------
3733a64a7ac0Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take
3734a64a7ac0Smrg# advantage of any shell optimizations that allow amortized linear growth over
3735a64a7ac0Smrg# repeated appends, instead of the typical quadratic growth present in naive
3736a64a7ac0Smrg# implementations.
3737a64a7ac0Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
3738a64a7ac0Smrgthen :
3739a64a7ac0Smrg  eval 'as_fn_append ()
3740a64a7ac0Smrg  {
3741a64a7ac0Smrg    eval $1+=\$2
3742a64a7ac0Smrg  }'
3743a64a7ac0Smrgelse $as_nop
3744a64a7ac0Smrg  as_fn_append ()
3745a64a7ac0Smrg  {
3746a64a7ac0Smrg    eval $1=\$$1\$2
3747a64a7ac0Smrg  }
3748a64a7ac0Smrgfi # as_fn_append
3749a64a7ac0Smrg
3750a64a7ac0Smrg# as_fn_arith ARG...
3751a64a7ac0Smrg# ------------------
3752a64a7ac0Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the
3753a64a7ac0Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments
3754a64a7ac0Smrg# must be portable across $(()) and expr.
3755a64a7ac0Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
3756a64a7ac0Smrgthen :
3757a64a7ac0Smrg  eval 'as_fn_arith ()
3758a64a7ac0Smrg  {
3759a64a7ac0Smrg    as_val=$(( $* ))
3760a64a7ac0Smrg  }'
3761a64a7ac0Smrgelse $as_nop
3762a64a7ac0Smrg  as_fn_arith ()
3763a64a7ac0Smrg  {
3764a64a7ac0Smrg    as_val=`expr "$@" || test $? -eq 1`
3765a64a7ac0Smrg  }
3766a64a7ac0Smrgfi # as_fn_arith
3767a64a7ac0Smrg
3768a64a7ac0Smrg
3769a64a7ac0Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
3770a64a7ac0Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
3771a64a7ac0Smrg  as_expr=expr
3772a64a7ac0Smrgelse
3773a64a7ac0Smrg  as_expr=false
3774a64a7ac0Smrgfi
3775a64a7ac0Smrg
3776a64a7ac0Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3777a64a7ac0Smrg  as_basename=basename
3778a64a7ac0Smrgelse
3779a64a7ac0Smrg  as_basename=false
3780a64a7ac0Smrgfi
3781a64a7ac0Smrg
3782a64a7ac0Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3783a64a7ac0Smrg  as_dirname=dirname
3784a64a7ac0Smrgelse
3785a64a7ac0Smrg  as_dirname=false
3786a64a7ac0Smrgfi
3787a64a7ac0Smrg
3788a64a7ac0Smrgas_me=`$as_basename -- "$0" ||
3789a64a7ac0Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3790a64a7ac0Smrg	 X"$0" : 'X\(//\)$' \| \
3791a64a7ac0Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3792a64a7ac0Smrgprintf "%s\n" X/"$0" |
3793a64a7ac0Smrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
3794a64a7ac0Smrg	    s//\1/
3795a64a7ac0Smrg	    q
3796a64a7ac0Smrg	  }
3797a64a7ac0Smrg	  /^X\/\(\/\/\)$/{
3798a64a7ac0Smrg	    s//\1/
3799a64a7ac0Smrg	    q
3800a64a7ac0Smrg	  }
3801a64a7ac0Smrg	  /^X\/\(\/\).*/{
3802a64a7ac0Smrg	    s//\1/
3803a64a7ac0Smrg	    q
3804a64a7ac0Smrg	  }
3805a64a7ac0Smrg	  s/.*/./; q'`
3806a64a7ac0Smrg
3807a64a7ac0Smrg# Avoid depending upon Character Ranges.
3808a64a7ac0Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
3809a64a7ac0Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3810a64a7ac0Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
3811a64a7ac0Smrgas_cr_digits='0123456789'
3812a64a7ac0Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits
3813a64a7ac0Smrg
3814a64a7ac0Smrg
3815a64a7ac0Smrg# Determine whether it's possible to make 'echo' print without a newline.
3816a64a7ac0Smrg# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
3817a64a7ac0Smrg# for compatibility with existing Makefiles.
3818a64a7ac0SmrgECHO_C= ECHO_N= ECHO_T=
3819a64a7ac0Smrgcase `echo -n x` in #(((((
3820a64a7ac0Smrg-n*)
3821a64a7ac0Smrg  case `echo 'xy\c'` in
3822a64a7ac0Smrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
3823a64a7ac0Smrg  xy)  ECHO_C='\c';;
3824a64a7ac0Smrg  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
3825a64a7ac0Smrg       ECHO_T='	';;
3826a64a7ac0Smrg  esac;;
3827a64a7ac0Smrg*)
3828a64a7ac0Smrg  ECHO_N='-n';;
3829a64a7ac0Smrgesac
3830a64a7ac0Smrg
3831a64a7ac0Smrg# For backward compatibility with old third-party macros, we provide
3832a64a7ac0Smrg# the shell variables $as_echo and $as_echo_n.  New code should use
3833a64a7ac0Smrg# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
3834a64a7ac0Smrgas_echo='printf %s\n'
3835a64a7ac0Smrgas_echo_n='printf %s'
3836a64a7ac0Smrg
3837a64a7ac0Smrgrm -f conf$$ conf$$.exe conf$$.file
3838a64a7ac0Smrgif test -d conf$$.dir; then
3839a64a7ac0Smrg  rm -f conf$$.dir/conf$$.file
3840a64a7ac0Smrgelse
3841a64a7ac0Smrg  rm -f conf$$.dir
3842a64a7ac0Smrg  mkdir conf$$.dir 2>/dev/null
3843a64a7ac0Smrgfi
3844a64a7ac0Smrgif (echo >conf$$.file) 2>/dev/null; then
3845a64a7ac0Smrg  if ln -s conf$$.file conf$$ 2>/dev/null; then
3846a64a7ac0Smrg    as_ln_s='ln -s'
3847a64a7ac0Smrg    # ... but there are two gotchas:
3848a64a7ac0Smrg    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3849a64a7ac0Smrg    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3850a64a7ac0Smrg    # In both cases, we have to default to `cp -pR'.
3851a64a7ac0Smrg    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3852a64a7ac0Smrg      as_ln_s='cp -pR'
3853a64a7ac0Smrg  elif ln conf$$.file conf$$ 2>/dev/null; then
3854a64a7ac0Smrg    as_ln_s=ln
3855a64a7ac0Smrg  else
3856a64a7ac0Smrg    as_ln_s='cp -pR'
3857a64a7ac0Smrg  fi
3858a64a7ac0Smrgelse
3859a64a7ac0Smrg  as_ln_s='cp -pR'
3860a64a7ac0Smrgfi
3861a64a7ac0Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3862a64a7ac0Smrgrmdir conf$$.dir 2>/dev/null
3863a64a7ac0Smrg
3864a64a7ac0Smrg
3865a64a7ac0Smrg# as_fn_mkdir_p
3866a64a7ac0Smrg# -------------
3867a64a7ac0Smrg# Create "$as_dir" as a directory, including parents if necessary.
3868a64a7ac0Smrgas_fn_mkdir_p ()
3869a64a7ac0Smrg{
3870a64a7ac0Smrg
3871a64a7ac0Smrg  case $as_dir in #(
3872a64a7ac0Smrg  -*) as_dir=./$as_dir;;
3873a64a7ac0Smrg  esac
3874a64a7ac0Smrg  test -d "$as_dir" || eval $as_mkdir_p || {
3875a64a7ac0Smrg    as_dirs=
3876a64a7ac0Smrg    while :; do
3877a64a7ac0Smrg      case $as_dir in #(
3878a64a7ac0Smrg      *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3879a64a7ac0Smrg      *) as_qdir=$as_dir;;
3880a64a7ac0Smrg      esac
3881a64a7ac0Smrg      as_dirs="'$as_qdir' $as_dirs"
3882a64a7ac0Smrg      as_dir=`$as_dirname -- "$as_dir" ||
3883a64a7ac0Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3884a64a7ac0Smrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
3885a64a7ac0Smrg	 X"$as_dir" : 'X\(//\)$' \| \
3886a64a7ac0Smrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3887a64a7ac0Smrgprintf "%s\n" X"$as_dir" |
3888a64a7ac0Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3889a64a7ac0Smrg	    s//\1/
3890a64a7ac0Smrg	    q
3891a64a7ac0Smrg	  }
3892a64a7ac0Smrg	  /^X\(\/\/\)[^/].*/{
3893a64a7ac0Smrg	    s//\1/
3894a64a7ac0Smrg	    q
3895a64a7ac0Smrg	  }
3896a64a7ac0Smrg	  /^X\(\/\/\)$/{
3897a64a7ac0Smrg	    s//\1/
3898a64a7ac0Smrg	    q
3899a64a7ac0Smrg	  }
3900a64a7ac0Smrg	  /^X\(\/\).*/{
3901a64a7ac0Smrg	    s//\1/
3902a64a7ac0Smrg	    q
3903a64a7ac0Smrg	  }
3904a64a7ac0Smrg	  s/.*/./; q'`
3905a64a7ac0Smrg      test -d "$as_dir" && break
3906a64a7ac0Smrg    done
3907a64a7ac0Smrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
3908a64a7ac0Smrg  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3909a64a7ac0Smrg
3910a64a7ac0Smrg
3911a64a7ac0Smrg} # as_fn_mkdir_p
3912a64a7ac0Smrgif mkdir -p . 2>/dev/null; then
3913a64a7ac0Smrg  as_mkdir_p='mkdir -p "$as_dir"'
3914a64a7ac0Smrgelse
3915a64a7ac0Smrg  test -d ./-p && rmdir ./-p
3916a64a7ac0Smrg  as_mkdir_p=false
3917a64a7ac0Smrgfi
3918a64a7ac0Smrg
3919a64a7ac0Smrg
3920a64a7ac0Smrg# as_fn_executable_p FILE
3921a64a7ac0Smrg# -----------------------
3922a64a7ac0Smrg# Test if FILE is an executable regular file.
3923a64a7ac0Smrgas_fn_executable_p ()
3924a64a7ac0Smrg{
3925a64a7ac0Smrg  test -f "$1" && test -x "$1"
3926a64a7ac0Smrg} # as_fn_executable_p
3927a64a7ac0Smrgas_test_x='test -x'
3928a64a7ac0Smrgas_executable_p=as_fn_executable_p
3929a64a7ac0Smrg
3930a64a7ac0Smrg# Sed expression to map a string onto a valid CPP name.
3931a64a7ac0Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3932a64a7ac0Smrg
3933a64a7ac0Smrg# Sed expression to map a string onto a valid variable name.
3934a64a7ac0Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3935a64a7ac0Smrg
3936a64a7ac0Smrg
3937a64a7ac0Smrgexec 6>&1
3938a64a7ac0Smrg## ----------------------------------- ##
3939a64a7ac0Smrg## Main body of $CONFIG_STATUS script. ##
3940a64a7ac0Smrg## ----------------------------------- ##
3941a64a7ac0Smrg_ASEOF
3942a64a7ac0Smrgtest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3943a64a7ac0Smrg
3944a64a7ac0Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3945a64a7ac0Smrg# Save the log message, to keep $0 and so on meaningful, and to
3946a64a7ac0Smrg# report actual input values of CONFIG_FILES etc. instead of their
3947a64a7ac0Smrg# values after options handling.
3948a64a7ac0Smrgac_log="
3949a64a7ac0SmrgThis file was extended by font-arabic-misc $as_me 1.0.4, which was
3950a64a7ac0Smrggenerated by GNU Autoconf 2.71.  Invocation command line was
3951a64a7ac0Smrg
3952a64a7ac0Smrg  CONFIG_FILES    = $CONFIG_FILES
3953a64a7ac0Smrg  CONFIG_HEADERS  = $CONFIG_HEADERS
3954a64a7ac0Smrg  CONFIG_LINKS    = $CONFIG_LINKS
3955a64a7ac0Smrg  CONFIG_COMMANDS = $CONFIG_COMMANDS
3956a64a7ac0Smrg  $ $0 $@
3957a64a7ac0Smrg
3958a64a7ac0Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q`
3959a64a7ac0Smrg"
3960a64a7ac0Smrg
3961a64a7ac0Smrg_ACEOF
3962a64a7ac0Smrg
3963a64a7ac0Smrgcase $ac_config_files in *"
3964a64a7ac0Smrg"*) set x $ac_config_files; shift; ac_config_files=$*;;
3965a64a7ac0Smrgesac
3966a64a7ac0Smrg
3967a64a7ac0Smrg
3968a64a7ac0Smrg
3969a64a7ac0Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3970a64a7ac0Smrg# Files that config.status was made for.
3971a64a7ac0Smrgconfig_files="$ac_config_files"
3972a64a7ac0Smrg
3973a64a7ac0Smrg_ACEOF
3974a64a7ac0Smrg
3975a64a7ac0Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3976a64a7ac0Smrgac_cs_usage="\
3977a64a7ac0Smrg\`$as_me' instantiates files and other configuration actions
3978a64a7ac0Smrgfrom templates according to the current configuration.  Unless the files
3979a64a7ac0Smrgand actions are specified as TAGs, all are instantiated by default.
3980a64a7ac0Smrg
3981a64a7ac0SmrgUsage: $0 [OPTION]... [TAG]...
3982a64a7ac0Smrg
3983a64a7ac0Smrg  -h, --help       print this help, then exit
3984a64a7ac0Smrg  -V, --version    print version number and configuration settings, then exit
3985a64a7ac0Smrg      --config     print configuration, then exit
3986a64a7ac0Smrg  -q, --quiet, --silent
3987a64a7ac0Smrg                   do not print progress messages
3988a64a7ac0Smrg  -d, --debug      don't remove temporary files
3989a64a7ac0Smrg      --recheck    update $as_me by reconfiguring in the same conditions
3990a64a7ac0Smrg      --file=FILE[:TEMPLATE]
3991a64a7ac0Smrg                   instantiate the configuration file FILE
3992a64a7ac0Smrg
3993a64a7ac0SmrgConfiguration files:
3994a64a7ac0Smrg$config_files
3995a64a7ac0Smrg
3996a64a7ac0SmrgReport bugs to <https://gitlab.freedesktop.org/xorg/font/arabic-misc/-/issues>."
3997a64a7ac0Smrg
3998a64a7ac0Smrg_ACEOF
3999a64a7ac0Smrgac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
4000a64a7ac0Smrgac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
4001a64a7ac0Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4002a64a7ac0Smrgac_cs_config='$ac_cs_config_escaped'
4003a64a7ac0Smrgac_cs_version="\\
4004a64a7ac0Smrgfont-arabic-misc config.status 1.0.4
4005a64a7ac0Smrgconfigured by $0, generated by GNU Autoconf 2.71,
4006a64a7ac0Smrg  with options \\"\$ac_cs_config\\"
4007a64a7ac0Smrg
4008a64a7ac0SmrgCopyright (C) 2021 Free Software Foundation, Inc.
4009a64a7ac0SmrgThis config.status script is free software; the Free Software Foundation
4010a64a7ac0Smrggives unlimited permission to copy, distribute and modify it."
4011a64a7ac0Smrg
4012a64a7ac0Smrgac_pwd='$ac_pwd'
4013a64a7ac0Smrgsrcdir='$srcdir'
4014a64a7ac0SmrgINSTALL='$INSTALL'
4015a64a7ac0SmrgMKDIR_P='$MKDIR_P'
4016a64a7ac0SmrgAWK='$AWK'
4017a64a7ac0Smrgtest -n "\$AWK" || AWK=awk
4018a64a7ac0Smrg_ACEOF
4019a64a7ac0Smrg
4020a64a7ac0Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4021a64a7ac0Smrg# The default lists apply if the user does not specify any file.
4022a64a7ac0Smrgac_need_defaults=:
4023a64a7ac0Smrgwhile test $# != 0
4024a64a7ac0Smrgdo
4025a64a7ac0Smrg  case $1 in
4026a64a7ac0Smrg  --*=?*)
4027a64a7ac0Smrg    ac_option=`expr "X$1" : 'X\([^=]*\)='`
4028a64a7ac0Smrg    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4029a64a7ac0Smrg    ac_shift=:
4030a64a7ac0Smrg    ;;
4031a64a7ac0Smrg  --*=)
4032a64a7ac0Smrg    ac_option=`expr "X$1" : 'X\([^=]*\)='`
4033a64a7ac0Smrg    ac_optarg=
4034a64a7ac0Smrg    ac_shift=:
4035a64a7ac0Smrg    ;;
4036a64a7ac0Smrg  *)
4037a64a7ac0Smrg    ac_option=$1
4038a64a7ac0Smrg    ac_optarg=$2
4039a64a7ac0Smrg    ac_shift=shift
4040a64a7ac0Smrg    ;;
4041a64a7ac0Smrg  esac
4042a64a7ac0Smrg
4043a64a7ac0Smrg  case $ac_option in
4044a64a7ac0Smrg  # Handling of the options.
4045a64a7ac0Smrg  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4046a64a7ac0Smrg    ac_cs_recheck=: ;;
4047a64a7ac0Smrg  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4048a64a7ac0Smrg    printf "%s\n" "$ac_cs_version"; exit ;;
4049a64a7ac0Smrg  --config | --confi | --conf | --con | --co | --c )
4050a64a7ac0Smrg    printf "%s\n" "$ac_cs_config"; exit ;;
4051a64a7ac0Smrg  --debug | --debu | --deb | --de | --d | -d )
4052a64a7ac0Smrg    debug=: ;;
4053a64a7ac0Smrg  --file | --fil | --fi | --f )
4054a64a7ac0Smrg    $ac_shift
4055a64a7ac0Smrg    case $ac_optarg in
4056a64a7ac0Smrg    *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4057a64a7ac0Smrg    '') as_fn_error $? "missing file argument" ;;
4058a64a7ac0Smrg    esac
4059a64a7ac0Smrg    as_fn_append CONFIG_FILES " '$ac_optarg'"
4060a64a7ac0Smrg    ac_need_defaults=false;;
4061a64a7ac0Smrg  --he | --h |  --help | --hel | -h )
4062a64a7ac0Smrg    printf "%s\n" "$ac_cs_usage"; exit ;;
4063a64a7ac0Smrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4064a64a7ac0Smrg  | -silent | --silent | --silen | --sile | --sil | --si | --s)
4065a64a7ac0Smrg    ac_cs_silent=: ;;
4066a64a7ac0Smrg
4067a64a7ac0Smrg  # This is an error.
4068a64a7ac0Smrg  -*) as_fn_error $? "unrecognized option: \`$1'
4069a64a7ac0SmrgTry \`$0 --help' for more information." ;;
4070a64a7ac0Smrg
4071a64a7ac0Smrg  *) as_fn_append ac_config_targets " $1"
4072a64a7ac0Smrg     ac_need_defaults=false ;;
4073a64a7ac0Smrg
4074a64a7ac0Smrg  esac
4075a64a7ac0Smrg  shift
4076a64a7ac0Smrgdone
4077a64a7ac0Smrg
4078a64a7ac0Smrgac_configure_extra_args=
4079a64a7ac0Smrg
4080a64a7ac0Smrgif $ac_cs_silent; then
4081a64a7ac0Smrg  exec 6>/dev/null
4082a64a7ac0Smrg  ac_configure_extra_args="$ac_configure_extra_args --silent"
4083a64a7ac0Smrgfi
4084a64a7ac0Smrg
4085a64a7ac0Smrg_ACEOF
4086a64a7ac0Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4087a64a7ac0Smrgif \$ac_cs_recheck; then
4088a64a7ac0Smrg  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4089a64a7ac0Smrg  shift
4090a64a7ac0Smrg  \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
4091a64a7ac0Smrg  CONFIG_SHELL='$SHELL'
4092a64a7ac0Smrg  export CONFIG_SHELL
4093a64a7ac0Smrg  exec "\$@"
4094a64a7ac0Smrgfi
4095a64a7ac0Smrg
4096a64a7ac0Smrg_ACEOF
4097a64a7ac0Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4098a64a7ac0Smrgexec 5>>config.log
4099a64a7ac0Smrg{
4100a64a7ac0Smrg  echo
4101a64a7ac0Smrg  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4102a64a7ac0Smrg## Running $as_me. ##
4103a64a7ac0Smrg_ASBOX
4104a64a7ac0Smrg  printf "%s\n" "$ac_log"
4105a64a7ac0Smrg} >&5
4106a64a7ac0Smrg
4107a64a7ac0Smrg_ACEOF
4108a64a7ac0Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4109a64a7ac0Smrg_ACEOF
4110a64a7ac0Smrg
4111a64a7ac0Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4112a64a7ac0Smrg
4113a64a7ac0Smrg# Handling of arguments.
4114a64a7ac0Smrgfor ac_config_target in $ac_config_targets
4115a64a7ac0Smrgdo
4116a64a7ac0Smrg  case $ac_config_target in
4117a64a7ac0Smrg    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4118a64a7ac0Smrg
4119a64a7ac0Smrg  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4120a64a7ac0Smrg  esac
4121a64a7ac0Smrgdone
4122a64a7ac0Smrg
4123a64a7ac0Smrg
4124a64a7ac0Smrg# If the user did not use the arguments to specify the items to instantiate,
4125a64a7ac0Smrg# then the envvar interface is used.  Set only those that are not.
4126a64a7ac0Smrg# We use the long form for the default assignment because of an extremely
4127a64a7ac0Smrg# bizarre bug on SunOS 4.1.3.
4128a64a7ac0Smrgif $ac_need_defaults; then
4129a64a7ac0Smrg  test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
4130a64a7ac0Smrgfi
4131a64a7ac0Smrg
4132a64a7ac0Smrg# Have a temporary directory for convenience.  Make it in the build tree
4133a64a7ac0Smrg# simply because there is no reason against having it here, and in addition,
4134a64a7ac0Smrg# creating and moving files from /tmp can sometimes cause problems.
4135a64a7ac0Smrg# Hook for its removal unless debugging.
4136a64a7ac0Smrg# Note that there is a small window in which the directory will not be cleaned:
4137a64a7ac0Smrg# after its creation but before its name has been assigned to `$tmp'.
4138a64a7ac0Smrg$debug ||
4139a64a7ac0Smrg{
4140a64a7ac0Smrg  tmp= ac_tmp=
4141a64a7ac0Smrg  trap 'exit_status=$?
4142a64a7ac0Smrg  : "${ac_tmp:=$tmp}"
4143a64a7ac0Smrg  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4144a64a7ac0Smrg' 0
4145a64a7ac0Smrg  trap 'as_fn_exit 1' 1 2 13 15
4146a64a7ac0Smrg}
4147a64a7ac0Smrg# Create a (secure) tmp directory for tmp files.
4148a64a7ac0Smrg
4149a64a7ac0Smrg{
4150a64a7ac0Smrg  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4151a64a7ac0Smrg  test -d "$tmp"
4152a64a7ac0Smrg}  ||
4153a64a7ac0Smrg{
4154a64a7ac0Smrg  tmp=./conf$$-$RANDOM
4155a64a7ac0Smrg  (umask 077 && mkdir "$tmp")
4156a64a7ac0Smrg} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4157a64a7ac0Smrgac_tmp=$tmp
4158a64a7ac0Smrg
4159a64a7ac0Smrg# Set up the scripts for CONFIG_FILES section.
4160a64a7ac0Smrg# No need to generate them if there are no CONFIG_FILES.
4161a64a7ac0Smrg# This happens for instance with `./config.status config.h'.
4162a64a7ac0Smrgif test -n "$CONFIG_FILES"; then
4163a64a7ac0Smrg
4164a64a7ac0Smrg
4165a64a7ac0Smrgac_cr=`echo X | tr X '\015'`
4166a64a7ac0Smrg# On cygwin, bash can eat \r inside `` if the user requested igncr.
4167a64a7ac0Smrg# But we know of no other shell where ac_cr would be empty at this
4168a64a7ac0Smrg# point, so we can use a bashism as a fallback.
4169a64a7ac0Smrgif test "x$ac_cr" = x; then
4170a64a7ac0Smrg  eval ac_cr=\$\'\\r\'
4171a64a7ac0Smrgfi
4172a64a7ac0Smrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4173a64a7ac0Smrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4174a64a7ac0Smrg  ac_cs_awk_cr='\\r'
4175a64a7ac0Smrgelse
4176a64a7ac0Smrg  ac_cs_awk_cr=$ac_cr
4177a64a7ac0Smrgfi
4178a64a7ac0Smrg
4179a64a7ac0Smrgecho 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4180a64a7ac0Smrg_ACEOF
4181a64a7ac0Smrg
4182a64a7ac0Smrg
4183a64a7ac0Smrg{
4184a64a7ac0Smrg  echo "cat >conf$$subs.awk <<_ACEOF" &&
4185a64a7ac0Smrg  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4186a64a7ac0Smrg  echo "_ACEOF"
4187a64a7ac0Smrg} >conf$$subs.sh ||
4188a64a7ac0Smrg  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4189a64a7ac0Smrgac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4190a64a7ac0Smrgac_delim='%!_!# '
4191a64a7ac0Smrgfor ac_last_try in false false false false false :; do
4192a64a7ac0Smrg  . ./conf$$subs.sh ||
4193a64a7ac0Smrg    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4194a64a7ac0Smrg
4195a64a7ac0Smrg  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4196a64a7ac0Smrg  if test $ac_delim_n = $ac_delim_num; then
4197a64a7ac0Smrg    break
4198a64a7ac0Smrg  elif $ac_last_try; then
4199a64a7ac0Smrg    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4200a64a7ac0Smrg  else
4201a64a7ac0Smrg    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4202a64a7ac0Smrg  fi
4203a64a7ac0Smrgdone
4204a64a7ac0Smrgrm -f conf$$subs.sh
4205a64a7ac0Smrg
4206a64a7ac0Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4207a64a7ac0Smrgcat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4208a64a7ac0Smrg_ACEOF
4209a64a7ac0Smrgsed -n '
4210a64a7ac0Smrgh
4211a64a7ac0Smrgs/^/S["/; s/!.*/"]=/
4212a64a7ac0Smrgp
4213a64a7ac0Smrgg
4214a64a7ac0Smrgs/^[^!]*!//
4215a64a7ac0Smrg:repl
4216a64a7ac0Smrgt repl
4217a64a7ac0Smrgs/'"$ac_delim"'$//
4218a64a7ac0Smrgt delim
4219a64a7ac0Smrg:nl
4220a64a7ac0Smrgh
4221a64a7ac0Smrgs/\(.\{148\}\)..*/\1/
4222a64a7ac0Smrgt more1
4223a64a7ac0Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4224a64a7ac0Smrgp
4225a64a7ac0Smrgn
4226a64a7ac0Smrgb repl
4227a64a7ac0Smrg:more1
4228a64a7ac0Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/
4229a64a7ac0Smrgp
4230a64a7ac0Smrgg
4231a64a7ac0Smrgs/.\{148\}//
4232a64a7ac0Smrgt nl
4233a64a7ac0Smrg:delim
4234a64a7ac0Smrgh
4235a64a7ac0Smrgs/\(.\{148\}\)..*/\1/
4236a64a7ac0Smrgt more2
4237a64a7ac0Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/
4238a64a7ac0Smrgp
4239a64a7ac0Smrgb
4240a64a7ac0Smrg:more2
4241a64a7ac0Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/
4242a64a7ac0Smrgp
4243a64a7ac0Smrgg
4244a64a7ac0Smrgs/.\{148\}//
4245a64a7ac0Smrgt delim
4246a64a7ac0Smrg' <conf$$subs.awk | sed '
4247a64a7ac0Smrg/^[^""]/{
4248a64a7ac0Smrg  N
4249a64a7ac0Smrg  s/\n//
4250a64a7ac0Smrg}
4251a64a7ac0Smrg' >>$CONFIG_STATUS || ac_write_fail=1
4252a64a7ac0Smrgrm -f conf$$subs.awk
4253a64a7ac0Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4254a64a7ac0Smrg_ACAWK
4255a64a7ac0Smrgcat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4256a64a7ac0Smrg  for (key in S) S_is_set[key] = 1
4257a64a7ac0Smrg  FS = ""
4258a64a7ac0Smrg
4259a64a7ac0Smrg}
4260a64a7ac0Smrg{
4261a64a7ac0Smrg  line = $ 0
4262a64a7ac0Smrg  nfields = split(line, field, "@")
4263a64a7ac0Smrg  substed = 0
4264a64a7ac0Smrg  len = length(field[1])
4265a64a7ac0Smrg  for (i = 2; i < nfields; i++) {
4266a64a7ac0Smrg    key = field[i]
4267a64a7ac0Smrg    keylen = length(key)
4268a64a7ac0Smrg    if (S_is_set[key]) {
4269a64a7ac0Smrg      value = S[key]
4270a64a7ac0Smrg      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4271a64a7ac0Smrg      len += length(value) + length(field[++i])
4272a64a7ac0Smrg      substed = 1
4273a64a7ac0Smrg    } else
4274a64a7ac0Smrg      len += 1 + keylen
4275a64a7ac0Smrg  }
4276a64a7ac0Smrg
4277a64a7ac0Smrg  print line
4278a64a7ac0Smrg}
4279a64a7ac0Smrg
4280a64a7ac0Smrg_ACAWK
4281a64a7ac0Smrg_ACEOF
4282a64a7ac0Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4283a64a7ac0Smrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4284a64a7ac0Smrg  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4285a64a7ac0Smrgelse
4286a64a7ac0Smrg  cat
4287a64a7ac0Smrgfi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4288a64a7ac0Smrg  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4289a64a7ac0Smrg_ACEOF
4290a64a7ac0Smrg
4291a64a7ac0Smrg# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4292a64a7ac0Smrg# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4293a64a7ac0Smrg# trailing colons and then remove the whole line if VPATH becomes empty
4294a64a7ac0Smrg# (actually we leave an empty line to preserve line numbers).
4295a64a7ac0Smrgif test "x$srcdir" = x.; then
4296a64a7ac0Smrg  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
4297a64a7ac0Smrgh
4298a64a7ac0Smrgs///
4299a64a7ac0Smrgs/^/:/
4300a64a7ac0Smrgs/[	 ]*$/:/
4301a64a7ac0Smrgs/:\$(srcdir):/:/g
4302a64a7ac0Smrgs/:\${srcdir}:/:/g
4303a64a7ac0Smrgs/:@srcdir@:/:/g
4304a64a7ac0Smrgs/^:*//
4305a64a7ac0Smrgs/:*$//
4306a64a7ac0Smrgx
4307a64a7ac0Smrgs/\(=[	 ]*\).*/\1/
4308a64a7ac0SmrgG
4309a64a7ac0Smrgs/\n//
4310a64a7ac0Smrgs/^[^=]*=[	 ]*$//
4311a64a7ac0Smrg}'
4312a64a7ac0Smrgfi
4313a64a7ac0Smrg
4314a64a7ac0Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4315a64a7ac0Smrgfi # test -n "$CONFIG_FILES"
4316a64a7ac0Smrg
4317a64a7ac0Smrg
4318a64a7ac0Smrgeval set X "  :F $CONFIG_FILES      "
4319a64a7ac0Smrgshift
4320a64a7ac0Smrgfor ac_tag
4321a64a7ac0Smrgdo
4322a64a7ac0Smrg  case $ac_tag in
4323a64a7ac0Smrg  :[FHLC]) ac_mode=$ac_tag; continue;;
4324a64a7ac0Smrg  esac
4325a64a7ac0Smrg  case $ac_mode$ac_tag in
4326a64a7ac0Smrg  :[FHL]*:*);;
4327a64a7ac0Smrg  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4328a64a7ac0Smrg  :[FH]-) ac_tag=-:-;;
4329a64a7ac0Smrg  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4330a64a7ac0Smrg  esac
4331a64a7ac0Smrg  ac_save_IFS=$IFS
4332a64a7ac0Smrg  IFS=:
4333a64a7ac0Smrg  set x $ac_tag
4334a64a7ac0Smrg  IFS=$ac_save_IFS
4335a64a7ac0Smrg  shift
4336a64a7ac0Smrg  ac_file=$1
4337a64a7ac0Smrg  shift
4338a64a7ac0Smrg
4339a64a7ac0Smrg  case $ac_mode in
4340a64a7ac0Smrg  :L) ac_source=$1;;
4341a64a7ac0Smrg  :[FH])
4342a64a7ac0Smrg    ac_file_inputs=
4343a64a7ac0Smrg    for ac_f
4344a64a7ac0Smrg    do
4345a64a7ac0Smrg      case $ac_f in
4346a64a7ac0Smrg      -) ac_f="$ac_tmp/stdin";;
4347a64a7ac0Smrg      *) # Look for the file first in the build tree, then in the source tree
4348a64a7ac0Smrg	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
4349a64a7ac0Smrg	 # because $ac_f cannot contain `:'.
4350a64a7ac0Smrg	 test -f "$ac_f" ||
4351a64a7ac0Smrg	   case $ac_f in
4352a64a7ac0Smrg	   [\\/$]*) false;;
4353a64a7ac0Smrg	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4354a64a7ac0Smrg	   esac ||
4355a64a7ac0Smrg	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4356a64a7ac0Smrg      esac
4357a64a7ac0Smrg      case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4358a64a7ac0Smrg      as_fn_append ac_file_inputs " '$ac_f'"
4359a64a7ac0Smrg    done
4360a64a7ac0Smrg
4361a64a7ac0Smrg    # Let's still pretend it is `configure' which instantiates (i.e., don't
4362a64a7ac0Smrg    # use $as_me), people would be surprised to read:
4363a64a7ac0Smrg    #    /* config.h.  Generated by config.status.  */
4364a64a7ac0Smrg    configure_input='Generated from '`
4365a64a7ac0Smrg	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4366a64a7ac0Smrg	`' by configure.'
4367a64a7ac0Smrg    if test x"$ac_file" != x-; then
4368a64a7ac0Smrg      configure_input="$ac_file.  $configure_input"
4369a64a7ac0Smrg      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4370a64a7ac0Smrgprintf "%s\n" "$as_me: creating $ac_file" >&6;}
4371a64a7ac0Smrg    fi
4372a64a7ac0Smrg    # Neutralize special characters interpreted by sed in replacement strings.
4373a64a7ac0Smrg    case $configure_input in #(
4374a64a7ac0Smrg    *\&* | *\|* | *\\* )
4375a64a7ac0Smrg       ac_sed_conf_input=`printf "%s\n" "$configure_input" |
4376a64a7ac0Smrg       sed 's/[\\\\&|]/\\\\&/g'`;; #(
4377a64a7ac0Smrg    *) ac_sed_conf_input=$configure_input;;
4378a64a7ac0Smrg    esac
4379a64a7ac0Smrg
4380a64a7ac0Smrg    case $ac_tag in
4381a64a7ac0Smrg    *:-:* | *:-) cat >"$ac_tmp/stdin" \
4382a64a7ac0Smrg      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4383a64a7ac0Smrg    esac
4384a64a7ac0Smrg    ;;
4385a64a7ac0Smrg  esac
4386a64a7ac0Smrg
4387a64a7ac0Smrg  ac_dir=`$as_dirname -- "$ac_file" ||
4388a64a7ac0Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4389a64a7ac0Smrg	 X"$ac_file" : 'X\(//\)[^/]' \| \
4390a64a7ac0Smrg	 X"$ac_file" : 'X\(//\)$' \| \
4391a64a7ac0Smrg	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4392a64a7ac0Smrgprintf "%s\n" X"$ac_file" |
4393a64a7ac0Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4394a64a7ac0Smrg	    s//\1/
4395a64a7ac0Smrg	    q
4396a64a7ac0Smrg	  }
4397a64a7ac0Smrg	  /^X\(\/\/\)[^/].*/{
4398a64a7ac0Smrg	    s//\1/
4399a64a7ac0Smrg	    q
4400a64a7ac0Smrg	  }
4401a64a7ac0Smrg	  /^X\(\/\/\)$/{
4402a64a7ac0Smrg	    s//\1/
4403a64a7ac0Smrg	    q
4404a64a7ac0Smrg	  }
4405a64a7ac0Smrg	  /^X\(\/\).*/{
4406a64a7ac0Smrg	    s//\1/
4407a64a7ac0Smrg	    q
4408a64a7ac0Smrg	  }
4409a64a7ac0Smrg	  s/.*/./; q'`
4410a64a7ac0Smrg  as_dir="$ac_dir"; as_fn_mkdir_p
4411a64a7ac0Smrg  ac_builddir=.
4412a64a7ac0Smrg
4413a64a7ac0Smrgcase "$ac_dir" in
4414a64a7ac0Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4415a64a7ac0Smrg*)
4416a64a7ac0Smrg  ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
4417a64a7ac0Smrg  # A ".." for each directory in $ac_dir_suffix.
4418a64a7ac0Smrg  ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4419a64a7ac0Smrg  case $ac_top_builddir_sub in
4420a64a7ac0Smrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4421a64a7ac0Smrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4422a64a7ac0Smrg  esac ;;
4423a64a7ac0Smrgesac
4424a64a7ac0Smrgac_abs_top_builddir=$ac_pwd
4425a64a7ac0Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix
4426a64a7ac0Smrg# for backward compatibility:
4427a64a7ac0Smrgac_top_builddir=$ac_top_build_prefix
4428a64a7ac0Smrg
4429a64a7ac0Smrgcase $srcdir in
4430a64a7ac0Smrg  .)  # We are building in place.
4431a64a7ac0Smrg    ac_srcdir=.
4432a64a7ac0Smrg    ac_top_srcdir=$ac_top_builddir_sub
4433a64a7ac0Smrg    ac_abs_top_srcdir=$ac_pwd ;;
4434a64a7ac0Smrg  [\\/]* | ?:[\\/]* )  # Absolute name.
4435a64a7ac0Smrg    ac_srcdir=$srcdir$ac_dir_suffix;
4436a64a7ac0Smrg    ac_top_srcdir=$srcdir
4437a64a7ac0Smrg    ac_abs_top_srcdir=$srcdir ;;
4438a64a7ac0Smrg  *) # Relative name.
4439a64a7ac0Smrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4440a64a7ac0Smrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
4441a64a7ac0Smrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4442a64a7ac0Smrgesac
4443a64a7ac0Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4444a64a7ac0Smrg
4445a64a7ac0Smrg
4446a64a7ac0Smrg  case $ac_mode in
4447a64a7ac0Smrg  :F)
4448a64a7ac0Smrg  #
4449a64a7ac0Smrg  # CONFIG_FILE
4450a64a7ac0Smrg  #
4451a64a7ac0Smrg
4452a64a7ac0Smrg  case $INSTALL in
4453a64a7ac0Smrg  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4454a64a7ac0Smrg  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4455a64a7ac0Smrg  esac
4456a64a7ac0Smrg  ac_MKDIR_P=$MKDIR_P
4457a64a7ac0Smrg  case $MKDIR_P in
4458a64a7ac0Smrg  [\\/$]* | ?:[\\/]* ) ;;
4459a64a7ac0Smrg  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
4460a64a7ac0Smrg  esac
4461a64a7ac0Smrg_ACEOF
4462a64a7ac0Smrg
4463a64a7ac0Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4464a64a7ac0Smrg# If the template does not know about datarootdir, expand it.
4465a64a7ac0Smrg# FIXME: This hack should be removed a few years after 2.60.
4466a64a7ac0Smrgac_datarootdir_hack=; ac_datarootdir_seen=
4467a64a7ac0Smrgac_sed_dataroot='
4468a64a7ac0Smrg/datarootdir/ {
4469a64a7ac0Smrg  p
4470a64a7ac0Smrg  q
4471a64a7ac0Smrg}
4472a64a7ac0Smrg/@datadir@/p
4473a64a7ac0Smrg/@docdir@/p
4474a64a7ac0Smrg/@infodir@/p
4475a64a7ac0Smrg/@localedir@/p
4476a64a7ac0Smrg/@mandir@/p'
4477a64a7ac0Smrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4478a64a7ac0Smrg*datarootdir*) ac_datarootdir_seen=yes;;
4479a64a7ac0Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4480a64a7ac0Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4481a64a7ac0Smrgprintf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4482a64a7ac0Smrg_ACEOF
4483a64a7ac0Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4484a64a7ac0Smrg  ac_datarootdir_hack='
4485a64a7ac0Smrg  s&@datadir@&$datadir&g
4486a64a7ac0Smrg  s&@docdir@&$docdir&g
4487a64a7ac0Smrg  s&@infodir@&$infodir&g
4488a64a7ac0Smrg  s&@localedir@&$localedir&g
4489a64a7ac0Smrg  s&@mandir@&$mandir&g
4490a64a7ac0Smrg  s&\\\${datarootdir}&$datarootdir&g' ;;
4491a64a7ac0Smrgesac
4492a64a7ac0Smrg_ACEOF
4493a64a7ac0Smrg
4494a64a7ac0Smrg# Neutralize VPATH when `$srcdir' = `.'.
4495a64a7ac0Smrg# Shell code in configure.ac might set extrasub.
4496a64a7ac0Smrg# FIXME: do we really want to maintain this feature?
4497a64a7ac0Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4498a64a7ac0Smrgac_sed_extra="$ac_vpsub
4499a64a7ac0Smrg$extrasub
4500a64a7ac0Smrg_ACEOF
4501a64a7ac0Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4502a64a7ac0Smrg:t
4503a64a7ac0Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4504a64a7ac0Smrgs|@configure_input@|$ac_sed_conf_input|;t t
4505a64a7ac0Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t
4506a64a7ac0Smrgs&@top_build_prefix@&$ac_top_build_prefix&;t t
4507a64a7ac0Smrgs&@srcdir@&$ac_srcdir&;t t
4508a64a7ac0Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t
4509a64a7ac0Smrgs&@top_srcdir@&$ac_top_srcdir&;t t
4510a64a7ac0Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4511a64a7ac0Smrgs&@builddir@&$ac_builddir&;t t
4512a64a7ac0Smrgs&@abs_builddir@&$ac_abs_builddir&;t t
4513a64a7ac0Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4514a64a7ac0Smrgs&@INSTALL@&$ac_INSTALL&;t t
4515a64a7ac0Smrgs&@MKDIR_P@&$ac_MKDIR_P&;t t
4516a64a7ac0Smrg$ac_datarootdir_hack
4517a64a7ac0Smrg"
4518a64a7ac0Smrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4519a64a7ac0Smrg  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4520a64a7ac0Smrg
4521a64a7ac0Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4522a64a7ac0Smrg  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4523a64a7ac0Smrg  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
4524a64a7ac0Smrg      "$ac_tmp/out"`; test -z "$ac_out"; } &&
4525a64a7ac0Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4526a64a7ac0Smrgwhich seems to be undefined.  Please make sure it is defined" >&5
4527a64a7ac0Smrgprintf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4528a64a7ac0Smrgwhich seems to be undefined.  Please make sure it is defined" >&2;}
4529a64a7ac0Smrg
4530a64a7ac0Smrg  rm -f "$ac_tmp/stdin"
4531a64a7ac0Smrg  case $ac_file in
4532a64a7ac0Smrg  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4533a64a7ac0Smrg  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4534a64a7ac0Smrg  esac \
4535a64a7ac0Smrg  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4536a64a7ac0Smrg ;;
4537a64a7ac0Smrg
4538a64a7ac0Smrg
4539a64a7ac0Smrg
4540a64a7ac0Smrg  esac
4541a64a7ac0Smrg
4542a64a7ac0Smrgdone # for ac_tag
4543a64a7ac0Smrg
4544a64a7ac0Smrg
4545a64a7ac0Smrgas_fn_exit 0
4546a64a7ac0Smrg_ACEOF
4547a64a7ac0Smrgac_clean_files=$ac_clean_files_save
4548a64a7ac0Smrg
4549a64a7ac0Smrgtest $ac_write_fail = 0 ||
4550a64a7ac0Smrg  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4551a64a7ac0Smrg
4552a64a7ac0Smrg
4553a64a7ac0Smrg# configure is writing to config.log, and then calls config.status.
4554a64a7ac0Smrg# config.status does its own redirection, appending to config.log.
4555a64a7ac0Smrg# Unfortunately, on DOS this fails, as config.log is still kept open
4556a64a7ac0Smrg# by configure, so config.status won't be able to write to it; its
4557a64a7ac0Smrg# output is simply discarded.  So we exec the FD to /dev/null,
4558a64a7ac0Smrg# effectively closing config.log, so it can be properly (re)opened and
4559a64a7ac0Smrg# appended to by config.status.  When coming back to configure, we
4560a64a7ac0Smrg# need to make the FD available again.
4561a64a7ac0Smrgif test "$no_create" != yes; then
4562a64a7ac0Smrg  ac_cs_success=:
4563a64a7ac0Smrg  ac_config_status_args=
4564a64a7ac0Smrg  test "$silent" = yes &&
4565a64a7ac0Smrg    ac_config_status_args="$ac_config_status_args --quiet"
4566a64a7ac0Smrg  exec 5>/dev/null
4567a64a7ac0Smrg  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4568a64a7ac0Smrg  exec 5>>config.log
4569a64a7ac0Smrg  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4570a64a7ac0Smrg  # would make configure fail if this is the last instruction.
4571a64a7ac0Smrg  $ac_cs_success || as_fn_exit 1
4572a64a7ac0Smrgfi
4573a64a7ac0Smrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4574a64a7ac0Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4575a64a7ac0Smrgprintf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4576a64a7ac0Smrgfi
4577a64a7ac0Smrg
4578a64a7ac0Smrg
4579