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