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