192bb16f8Smrg#! /bin/sh
292bb16f8Smrg# Guess values for system-dependent variables and create Makefiles.
3187ef25fSmrg# Generated by GNU Autoconf 2.72 for encodings 1.1.0.
492bb16f8Smrg#
522138c50Smrg# Report bugs to <https://gitlab.freedesktop.org/xorg/font/encodings/-/issues>.
692bb16f8Smrg#
7de7ed6e8Smrg#
8187ef25fSmrg# Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation,
93d13e800Smrg# Inc.
10de7ed6e8Smrg#
11de7ed6e8Smrg#
1292bb16f8Smrg# This configure script is free software; the Free Software Foundation
1392bb16f8Smrg# gives unlimited permission to copy, distribute and modify it.
14de7ed6e8Smrg## -------------------- ##
15de7ed6e8Smrg## M4sh Initialization. ##
16de7ed6e8Smrg## -------------------- ##
1792bb16f8Smrg
188255a313Smrg# Be more Bourne compatible
198255a313SmrgDUALCASE=1; export DUALCASE # for MKS sh
203d13e800Smrgif test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
213d13e800Smrgthen :
2292bb16f8Smrg  emulate sh
2392bb16f8Smrg  NULLCMD=:
248255a313Smrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2592bb16f8Smrg  # is contrary to our usage.  Disable this feature.
2692bb16f8Smrg  alias -g '${1+"$@"}'='"$@"'
2792bb16f8Smrg  setopt NO_GLOB_SUBST
28187ef25fSmrgelse case e in #(
29187ef25fSmrg  e) case `(set -o) 2>/dev/null` in #(
30de7ed6e8Smrg  *posix*) :
31de7ed6e8Smrg    set -o posix ;; #(
32de7ed6e8Smrg  *) :
33de7ed6e8Smrg     ;;
34187ef25fSmrgesac ;;
358255a313Smrgesac
3692bb16f8Smrgfi
378255a313Smrg
388255a313Smrg
393d13e800Smrg
403d13e800Smrg# Reset variables that may have inherited troublesome values from
413d13e800Smrg# the environment.
423d13e800Smrg
433d13e800Smrg# IFS needs to be set, to space, tab, and newline, in precisely that order.
443d13e800Smrg# (If _AS_PATH_WALK were called with IFS unset, it would have the
453d13e800Smrg# side effect of setting IFS to empty, thus disabling word splitting.)
463d13e800Smrg# Quoting is to prevent editors from complaining about space-tab.
478255a313Smrgas_nl='
488255a313Smrg'
498255a313Smrgexport as_nl
503d13e800SmrgIFS=" ""	$as_nl"
513d13e800Smrg
523d13e800SmrgPS1='$ '
533d13e800SmrgPS2='> '
543d13e800SmrgPS4='+ '
553d13e800Smrg
563d13e800Smrg# Ensure predictable behavior from utilities with locale-dependent output.
573d13e800SmrgLC_ALL=C
583d13e800Smrgexport LC_ALL
593d13e800SmrgLANGUAGE=C
603d13e800Smrgexport LANGUAGE
613d13e800Smrg
623d13e800Smrg# We cannot yet rely on "unset" to work, but we need these variables
633d13e800Smrg# to be unset--not just set to an empty or harmless value--now, to
643d13e800Smrg# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
653d13e800Smrg# also avoids known problems related to "unset" and subshell syntax
663d13e800Smrg# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
673d13e800Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
683d13e800Smrgdo eval test \${$as_var+y} \
693d13e800Smrg  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
703d13e800Smrgdone
713d13e800Smrg
723d13e800Smrg# Ensure that fds 0, 1, and 2 are open.
733d13e800Smrgif (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
743d13e800Smrgif (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
753d13e800Smrgif (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
768255a313Smrg
778255a313Smrg# The user is always right.
783d13e800Smrgif ${PATH_SEPARATOR+false} :; then
798255a313Smrg  PATH_SEPARATOR=:
808255a313Smrg  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
818255a313Smrg    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
828255a313Smrg      PATH_SEPARATOR=';'
838255a313Smrg  }
8492bb16f8Smrgfi
8592bb16f8Smrg
8692bb16f8Smrg
8792bb16f8Smrg# Find who we are.  Look in the path if we contain no directory separator.
88de7ed6e8Smrgas_myself=
89de7ed6e8Smrgcase $0 in #((
9092bb16f8Smrg  *[\\/]* ) as_myself=$0 ;;
9192bb16f8Smrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9292bb16f8Smrgfor as_dir in $PATH
9392bb16f8Smrgdo
9492bb16f8Smrg  IFS=$as_save_IFS
953d13e800Smrg  case $as_dir in #(((
963d13e800Smrg    '') as_dir=./ ;;
973d13e800Smrg    */) ;;
983d13e800Smrg    *) as_dir=$as_dir/ ;;
993d13e800Smrg  esac
1003d13e800Smrg    test -r "$as_dir$0" && as_myself=$as_dir$0 && break
101de7ed6e8Smrg  done
10292bb16f8SmrgIFS=$as_save_IFS
10392bb16f8Smrg
10492bb16f8Smrg     ;;
10592bb16f8Smrgesac
106187ef25fSmrg# We did not find ourselves, most probably we were run as 'sh COMMAND'
10792bb16f8Smrg# in which case we are not to be found in the path.
10892bb16f8Smrgif test "x$as_myself" = x; then
10992bb16f8Smrg  as_myself=$0
11092bb16f8Smrgfi
11192bb16f8Smrgif test ! -f "$as_myself"; then
1123d13e800Smrg  printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113de7ed6e8Smrg  exit 1
11492bb16f8Smrgfi
11592bb16f8Smrg
116de7ed6e8Smrg
11701395c31Smrg# Use a proper internal environment variable to ensure we don't fall
11801395c31Smrg  # into an infinite loop, continuously re-executing ourselves.
11901395c31Smrg  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
12001395c31Smrg    _as_can_reexec=no; export _as_can_reexec;
12101395c31Smrg    # We cannot yet assume a decent shell, so we have to provide a
12201395c31Smrg# neutralization value for shells without unset; and this also
12301395c31Smrg# works around shells that cannot unset nonexistent variables.
12401395c31Smrg# Preserve -v and -x to the replacement shell.
12501395c31SmrgBASH_ENV=/dev/null
12601395c31SmrgENV=/dev/null
12701395c31Smrg(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
12801395c31Smrgcase $- in # ((((
12901395c31Smrg  *v*x* | *x*v* ) as_opts=-vx ;;
13001395c31Smrg  *v* ) as_opts=-v ;;
13101395c31Smrg  *x* ) as_opts=-x ;;
13201395c31Smrg  * ) as_opts= ;;
13301395c31Smrgesac
13401395c31Smrgexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
13501395c31Smrg# Admittedly, this is quite paranoid, since all the known shells bail
136187ef25fSmrg# out after a failed 'exec'.
1373d13e800Smrgprintf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
1383d13e800Smrgexit 255
13901395c31Smrg  fi
14001395c31Smrg  # We don't want this to propagate to other subprocesses.
14101395c31Smrg          { _as_can_reexec=; unset _as_can_reexec;}
142de7ed6e8Smrgif test "x$CONFIG_SHELL" = x; then
143187ef25fSmrg  as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
1443d13e800Smrgthen :
145de7ed6e8Smrg  emulate sh
146de7ed6e8Smrg  NULLCMD=:
147de7ed6e8Smrg  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
148de7ed6e8Smrg  # is contrary to our usage.  Disable this feature.
149de7ed6e8Smrg  alias -g '\${1+\"\$@\"}'='\"\$@\"'
150de7ed6e8Smrg  setopt NO_GLOB_SUBST
151187ef25fSmrgelse case e in #(
152187ef25fSmrg  e) case \`(set -o) 2>/dev/null\` in #(
153de7ed6e8Smrg  *posix*) :
154de7ed6e8Smrg    set -o posix ;; #(
155de7ed6e8Smrg  *) :
156de7ed6e8Smrg     ;;
157187ef25fSmrgesac ;;
158de7ed6e8Smrgesac
159de7ed6e8Smrgfi
160de7ed6e8Smrg"
161de7ed6e8Smrg  as_required="as_fn_return () { (exit \$1); }
162de7ed6e8Smrgas_fn_success () { as_fn_return 0; }
163de7ed6e8Smrgas_fn_failure () { as_fn_return 1; }
164de7ed6e8Smrgas_fn_ret_success () { return 0; }
165de7ed6e8Smrgas_fn_ret_failure () { return 1; }
166de7ed6e8Smrg
167de7ed6e8Smrgexitcode=0
168de7ed6e8Smrgas_fn_success || { exitcode=1; echo as_fn_success failed.; }
169de7ed6e8Smrgas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170de7ed6e8Smrgas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171de7ed6e8Smrgas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
1723d13e800Smrgif ( set x; as_fn_ret_success y && test x = \"\$1\" )
1733d13e800Smrgthen :
174de7ed6e8Smrg
175187ef25fSmrgelse case e in #(
176187ef25fSmrg  e) exitcode=1; echo positional parameters were not saved. ;;
177187ef25fSmrgesac
178de7ed6e8Smrgfi
17901395c31Smrgtest x\$exitcode = x0 || exit 1
1803d13e800Smrgblah=\$(echo \$(echo blah))
1813d13e800Smrgtest x\"\$blah\" = xblah || exit 1
18201395c31Smrgtest -x / || exit 1"
183de7ed6e8Smrg  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
184de7ed6e8Smrg  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
185de7ed6e8Smrg  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
186de7ed6e8Smrg  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
187de7ed6e8Smrgtest \$(( 1 + 1 )) = 2 || exit 1"
1883d13e800Smrg  if (eval "$as_required") 2>/dev/null
1893d13e800Smrgthen :
190de7ed6e8Smrg  as_have_required=yes
191187ef25fSmrgelse case e in #(
192187ef25fSmrg  e) as_have_required=no ;;
193187ef25fSmrgesac
194de7ed6e8Smrgfi
1953d13e800Smrg  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
1963d13e800Smrgthen :
197de7ed6e8Smrg
198187ef25fSmrgelse case e in #(
199187ef25fSmrg  e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
200de7ed6e8Smrgas_found=false
201de7ed6e8Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
202de7ed6e8Smrgdo
203de7ed6e8Smrg  IFS=$as_save_IFS
2043d13e800Smrg  case $as_dir in #(((
2053d13e800Smrg    '') as_dir=./ ;;
2063d13e800Smrg    */) ;;
2073d13e800Smrg    *) as_dir=$as_dir/ ;;
2083d13e800Smrg  esac
209de7ed6e8Smrg  as_found=:
210de7ed6e8Smrg  case $as_dir in #(
211de7ed6e8Smrg	 /*)
212de7ed6e8Smrg	   for as_base in sh bash ksh sh5; do
213de7ed6e8Smrg	     # Try only shells that exist, to save several forks.
2143d13e800Smrg	     as_shell=$as_dir$as_base
215de7ed6e8Smrg	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
2163d13e800Smrg		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
2173d13e800Smrgthen :
218de7ed6e8Smrg  CONFIG_SHELL=$as_shell as_have_required=yes
2193d13e800Smrg		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
2203d13e800Smrgthen :
221de7ed6e8Smrg  break 2
222de7ed6e8Smrgfi
223de7ed6e8Smrgfi
224de7ed6e8Smrg	   done;;
225de7ed6e8Smrg       esac
226de7ed6e8Smrg  as_found=false
227de7ed6e8Smrgdone
228de7ed6e8SmrgIFS=$as_save_IFS
2293d13e800Smrgif $as_found
2303d13e800Smrgthen :
2313d13e800Smrg
232187ef25fSmrgelse case e in #(
233187ef25fSmrg  e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
2343d13e800Smrg	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
2353d13e800Smrgthen :
2363d13e800Smrg  CONFIG_SHELL=$SHELL as_have_required=yes
237187ef25fSmrgfi ;;
238187ef25fSmrgesac
2393d13e800Smrgfi
240de7ed6e8Smrg
241de7ed6e8Smrg
2423d13e800Smrg      if test "x$CONFIG_SHELL" != x
2433d13e800Smrgthen :
24401395c31Smrg  export CONFIG_SHELL
24501395c31Smrg             # We cannot yet assume a decent shell, so we have to provide a
24601395c31Smrg# neutralization value for shells without unset; and this also
24701395c31Smrg# works around shells that cannot unset nonexistent variables.
24801395c31Smrg# Preserve -v and -x to the replacement shell.
24901395c31SmrgBASH_ENV=/dev/null
25001395c31SmrgENV=/dev/null
25101395c31Smrg(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
25201395c31Smrgcase $- in # ((((
25301395c31Smrg  *v*x* | *x*v* ) as_opts=-vx ;;
25401395c31Smrg  *v* ) as_opts=-v ;;
25501395c31Smrg  *x* ) as_opts=-x ;;
25601395c31Smrg  * ) as_opts= ;;
25701395c31Smrgesac
25801395c31Smrgexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
25901395c31Smrg# Admittedly, this is quite paranoid, since all the known shells bail
260187ef25fSmrg# out after a failed 'exec'.
2613d13e800Smrgprintf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
26201395c31Smrgexit 255
263de7ed6e8Smrgfi
264de7ed6e8Smrg
2653d13e800Smrg    if test x$as_have_required = xno
2663d13e800Smrgthen :
2673d13e800Smrg  printf "%s\n" "$0: This script requires a shell more modern than all"
2683d13e800Smrg  printf "%s\n" "$0: the shells that I found on your system."
2693d13e800Smrg  if test ${ZSH_VERSION+y} ; then
2703d13e800Smrg    printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
2713d13e800Smrg    printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
272de7ed6e8Smrg  else
2733d13e800Smrg    printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
27422138c50Smrg$0: https://gitlab.freedesktop.org/xorg/font/encodings/-/issues
275de7ed6e8Smrg$0: about your system, including any error possibly output
276de7ed6e8Smrg$0: before this message. Then install a modern shell, or
277de7ed6e8Smrg$0: manually run the script under such a shell if you do
278de7ed6e8Smrg$0: have one."
279de7ed6e8Smrg  fi
280de7ed6e8Smrg  exit 1
281187ef25fSmrgfi ;;
282187ef25fSmrgesac
283de7ed6e8Smrgfi
284de7ed6e8Smrgfi
285de7ed6e8SmrgSHELL=${CONFIG_SHELL-/bin/sh}
286de7ed6e8Smrgexport SHELL
287de7ed6e8Smrg# Unset more variables known to interfere with behavior of common tools.
288de7ed6e8SmrgCLICOLOR_FORCE= GREP_OPTIONS=
289de7ed6e8Smrgunset CLICOLOR_FORCE GREP_OPTIONS
290de7ed6e8Smrg
291de7ed6e8Smrg## --------------------- ##
292de7ed6e8Smrg## M4sh Shell Functions. ##
293de7ed6e8Smrg## --------------------- ##
294de7ed6e8Smrg# as_fn_unset VAR
295de7ed6e8Smrg# ---------------
296de7ed6e8Smrg# Portably unset VAR.
297de7ed6e8Smrgas_fn_unset ()
298de7ed6e8Smrg{
299de7ed6e8Smrg  { eval $1=; unset $1;}
300de7ed6e8Smrg}
301de7ed6e8Smrgas_unset=as_fn_unset
302de7ed6e8Smrg
3033d13e800Smrg
304de7ed6e8Smrg# as_fn_set_status STATUS
305de7ed6e8Smrg# -----------------------
306de7ed6e8Smrg# Set $? to STATUS, without forking.
307de7ed6e8Smrgas_fn_set_status ()
308de7ed6e8Smrg{
309de7ed6e8Smrg  return $1
310de7ed6e8Smrg} # as_fn_set_status
311de7ed6e8Smrg
312de7ed6e8Smrg# as_fn_exit STATUS
313de7ed6e8Smrg# -----------------
314de7ed6e8Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
315de7ed6e8Smrgas_fn_exit ()
316de7ed6e8Smrg{
317de7ed6e8Smrg  set +e
318de7ed6e8Smrg  as_fn_set_status $1
319de7ed6e8Smrg  exit $1
320de7ed6e8Smrg} # as_fn_exit
321de7ed6e8Smrg
322de7ed6e8Smrg# as_fn_mkdir_p
323de7ed6e8Smrg# -------------
324de7ed6e8Smrg# Create "$as_dir" as a directory, including parents if necessary.
325de7ed6e8Smrgas_fn_mkdir_p ()
326de7ed6e8Smrg{
327de7ed6e8Smrg
328de7ed6e8Smrg  case $as_dir in #(
329de7ed6e8Smrg  -*) as_dir=./$as_dir;;
330de7ed6e8Smrg  esac
331de7ed6e8Smrg  test -d "$as_dir" || eval $as_mkdir_p || {
332de7ed6e8Smrg    as_dirs=
333de7ed6e8Smrg    while :; do
334de7ed6e8Smrg      case $as_dir in #(
3353d13e800Smrg      *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336de7ed6e8Smrg      *) as_qdir=$as_dir;;
337de7ed6e8Smrg      esac
338de7ed6e8Smrg      as_dirs="'$as_qdir' $as_dirs"
339de7ed6e8Smrg      as_dir=`$as_dirname -- "$as_dir" ||
340de7ed6e8Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
341de7ed6e8Smrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
342de7ed6e8Smrg	 X"$as_dir" : 'X\(//\)$' \| \
343de7ed6e8Smrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3443d13e800Smrgprintf "%s\n" X"$as_dir" |
345de7ed6e8Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
346de7ed6e8Smrg	    s//\1/
347de7ed6e8Smrg	    q
348de7ed6e8Smrg	  }
349de7ed6e8Smrg	  /^X\(\/\/\)[^/].*/{
350de7ed6e8Smrg	    s//\1/
351de7ed6e8Smrg	    q
352de7ed6e8Smrg	  }
353de7ed6e8Smrg	  /^X\(\/\/\)$/{
354de7ed6e8Smrg	    s//\1/
355de7ed6e8Smrg	    q
356de7ed6e8Smrg	  }
357de7ed6e8Smrg	  /^X\(\/\).*/{
358de7ed6e8Smrg	    s//\1/
359de7ed6e8Smrg	    q
360de7ed6e8Smrg	  }
361de7ed6e8Smrg	  s/.*/./; q'`
362de7ed6e8Smrg      test -d "$as_dir" && break
363de7ed6e8Smrg    done
364de7ed6e8Smrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
365de7ed6e8Smrg  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
366de7ed6e8Smrg
367de7ed6e8Smrg
368de7ed6e8Smrg} # as_fn_mkdir_p
36901395c31Smrg
37001395c31Smrg# as_fn_executable_p FILE
37101395c31Smrg# -----------------------
37201395c31Smrg# Test if FILE is an executable regular file.
37301395c31Smrgas_fn_executable_p ()
37401395c31Smrg{
37501395c31Smrg  test -f "$1" && test -x "$1"
37601395c31Smrg} # as_fn_executable_p
377de7ed6e8Smrg# as_fn_append VAR VALUE
378de7ed6e8Smrg# ----------------------
379de7ed6e8Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take
380de7ed6e8Smrg# advantage of any shell optimizations that allow amortized linear growth over
381de7ed6e8Smrg# repeated appends, instead of the typical quadratic growth present in naive
382de7ed6e8Smrg# implementations.
3833d13e800Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
3843d13e800Smrgthen :
385de7ed6e8Smrg  eval 'as_fn_append ()
386de7ed6e8Smrg  {
387de7ed6e8Smrg    eval $1+=\$2
388de7ed6e8Smrg  }'
389187ef25fSmrgelse case e in #(
390187ef25fSmrg  e) as_fn_append ()
391de7ed6e8Smrg  {
392de7ed6e8Smrg    eval $1=\$$1\$2
393187ef25fSmrg  } ;;
394187ef25fSmrgesac
395de7ed6e8Smrgfi # as_fn_append
396de7ed6e8Smrg
397de7ed6e8Smrg# as_fn_arith ARG...
398de7ed6e8Smrg# ------------------
399de7ed6e8Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the
400de7ed6e8Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments
401de7ed6e8Smrg# must be portable across $(()) and expr.
4023d13e800Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
4033d13e800Smrgthen :
404de7ed6e8Smrg  eval 'as_fn_arith ()
405de7ed6e8Smrg  {
406de7ed6e8Smrg    as_val=$(( $* ))
407de7ed6e8Smrg  }'
408187ef25fSmrgelse case e in #(
409187ef25fSmrg  e) as_fn_arith ()
410de7ed6e8Smrg  {
411de7ed6e8Smrg    as_val=`expr "$@" || test $? -eq 1`
412187ef25fSmrg  } ;;
413187ef25fSmrgesac
414de7ed6e8Smrgfi # as_fn_arith
415de7ed6e8Smrg
416de7ed6e8Smrg
417de7ed6e8Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD]
418de7ed6e8Smrg# ----------------------------------------
419de7ed6e8Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
420de7ed6e8Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
421de7ed6e8Smrg# script with STATUS, using 1 if that was 0.
422de7ed6e8Smrgas_fn_error ()
423de7ed6e8Smrg{
424de7ed6e8Smrg  as_status=$1; test $as_status -eq 0 && as_status=1
425de7ed6e8Smrg  if test "$4"; then
426de7ed6e8Smrg    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4273d13e800Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
428de7ed6e8Smrg  fi
4293d13e800Smrg  printf "%s\n" "$as_me: error: $2" >&2
430de7ed6e8Smrg  as_fn_exit $as_status
431de7ed6e8Smrg} # as_fn_error
432de7ed6e8Smrg
43392bb16f8Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
43492bb16f8Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
43592bb16f8Smrg  as_expr=expr
43692bb16f8Smrgelse
43792bb16f8Smrg  as_expr=false
43892bb16f8Smrgfi
43992bb16f8Smrg
44092bb16f8Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
44192bb16f8Smrg  as_basename=basename
44292bb16f8Smrgelse
44392bb16f8Smrg  as_basename=false
44492bb16f8Smrgfi
44592bb16f8Smrg
446de7ed6e8Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
447de7ed6e8Smrg  as_dirname=dirname
448de7ed6e8Smrgelse
449de7ed6e8Smrg  as_dirname=false
450de7ed6e8Smrgfi
45192bb16f8Smrg
45292bb16f8Smrgas_me=`$as_basename -- "$0" ||
45392bb16f8Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
45492bb16f8Smrg	 X"$0" : 'X\(//\)$' \| \
45592bb16f8Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4563d13e800Smrgprintf "%s\n" X/"$0" |
45792bb16f8Smrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
45892bb16f8Smrg	    s//\1/
45992bb16f8Smrg	    q
46092bb16f8Smrg	  }
46192bb16f8Smrg	  /^X\/\(\/\/\)$/{
46292bb16f8Smrg	    s//\1/
46392bb16f8Smrg	    q
46492bb16f8Smrg	  }
46592bb16f8Smrg	  /^X\/\(\/\).*/{
46692bb16f8Smrg	    s//\1/
46792bb16f8Smrg	    q
46892bb16f8Smrg	  }
46992bb16f8Smrg	  s/.*/./; q'`
47092bb16f8Smrg
471de7ed6e8Smrg# Avoid depending upon Character Ranges.
472de7ed6e8Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
473de7ed6e8Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
474de7ed6e8Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
475de7ed6e8Smrgas_cr_digits='0123456789'
476de7ed6e8Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits
47792bb16f8Smrg
47892bb16f8Smrg
479de7ed6e8Smrg  as_lineno_1=$LINENO as_lineno_1a=$LINENO
480de7ed6e8Smrg  as_lineno_2=$LINENO as_lineno_2a=$LINENO
481de7ed6e8Smrg  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
482de7ed6e8Smrg  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
483de7ed6e8Smrg  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
484de7ed6e8Smrg  sed -n '
485de7ed6e8Smrg    p
486de7ed6e8Smrg    /[$]LINENO/=
487de7ed6e8Smrg  ' <$as_myself |
488de7ed6e8Smrg    sed '
489187ef25fSmrg      t clear
490187ef25fSmrg      :clear
491de7ed6e8Smrg      s/[$]LINENO.*/&-/
492de7ed6e8Smrg      t lineno
493de7ed6e8Smrg      b
494de7ed6e8Smrg      :lineno
495de7ed6e8Smrg      N
496de7ed6e8Smrg      :loop
497de7ed6e8Smrg      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
498de7ed6e8Smrg      t loop
499de7ed6e8Smrg      s/-\n.*//
500de7ed6e8Smrg    ' >$as_me.lineno &&
501de7ed6e8Smrg  chmod +x "$as_me.lineno" ||
5023d13e800Smrg    { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
50392bb16f8Smrg
50401395c31Smrg  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
50501395c31Smrg  # already done that, so ensure we don't try to do so again and fall
50601395c31Smrg  # in an infinite loop.  This has already happened in practice.
50701395c31Smrg  _as_can_reexec=no; export _as_can_reexec
508de7ed6e8Smrg  # Don't try to exec as it changes $[0], causing all sort of problems
509de7ed6e8Smrg  # (the dirname of $[0] is not the place where we might find the
510de7ed6e8Smrg  # original and so on.  Autoconf is especially sensitive to this).
511de7ed6e8Smrg  . "./$as_me.lineno"
512de7ed6e8Smrg  # Exit status is that of the last command.
513de7ed6e8Smrg  exit
51492bb16f8Smrg}
51592bb16f8Smrg
5163d13e800Smrg
5173d13e800Smrg# Determine whether it's possible to make 'echo' print without a newline.
5183d13e800Smrg# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
5193d13e800Smrg# for compatibility with existing Makefiles.
520de7ed6e8SmrgECHO_C= ECHO_N= ECHO_T=
521de7ed6e8Smrgcase `echo -n x` in #(((((
522de7ed6e8Smrg-n*)
523de7ed6e8Smrg  case `echo 'xy\c'` in
524de7ed6e8Smrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
525de7ed6e8Smrg  xy)  ECHO_C='\c';;
526de7ed6e8Smrg  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
527de7ed6e8Smrg       ECHO_T='	';;
528de7ed6e8Smrg  esac;;
529de7ed6e8Smrg*)
530de7ed6e8Smrg  ECHO_N='-n';;
531de7ed6e8Smrgesac
53292bb16f8Smrg
5333d13e800Smrg# For backward compatibility with old third-party macros, we provide
5343d13e800Smrg# the shell variables $as_echo and $as_echo_n.  New code should use
5353d13e800Smrg# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
5363d13e800Smrgas_echo='printf %s\n'
5373d13e800Smrgas_echo_n='printf %s'
5383d13e800Smrg
539de7ed6e8Smrgrm -f conf$$ conf$$.exe conf$$.file
540de7ed6e8Smrgif test -d conf$$.dir; then
541de7ed6e8Smrg  rm -f conf$$.dir/conf$$.file
542de7ed6e8Smrgelse
543de7ed6e8Smrg  rm -f conf$$.dir
544de7ed6e8Smrg  mkdir conf$$.dir 2>/dev/null
54592bb16f8Smrgfi
546de7ed6e8Smrgif (echo >conf$$.file) 2>/dev/null; then
547de7ed6e8Smrg  if ln -s conf$$.file conf$$ 2>/dev/null; then
548de7ed6e8Smrg    as_ln_s='ln -s'
549de7ed6e8Smrg    # ... but there are two gotchas:
550187ef25fSmrg    # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
551187ef25fSmrg    # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
552187ef25fSmrg    # In both cases, we have to default to 'cp -pR'.
553de7ed6e8Smrg    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
55401395c31Smrg      as_ln_s='cp -pR'
555de7ed6e8Smrg  elif ln conf$$.file conf$$ 2>/dev/null; then
556de7ed6e8Smrg    as_ln_s=ln
557de7ed6e8Smrg  else
55801395c31Smrg    as_ln_s='cp -pR'
559de7ed6e8Smrg  fi
56092bb16f8Smrgelse
56101395c31Smrg  as_ln_s='cp -pR'
56292bb16f8Smrgfi
563de7ed6e8Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
564de7ed6e8Smrgrmdir conf$$.dir 2>/dev/null
56592bb16f8Smrg
566de7ed6e8Smrgif mkdir -p . 2>/dev/null; then
567de7ed6e8Smrg  as_mkdir_p='mkdir -p "$as_dir"'
568de7ed6e8Smrgelse
569de7ed6e8Smrg  test -d ./-p && rmdir ./-p
570de7ed6e8Smrg  as_mkdir_p=false
57192bb16f8Smrgfi
57292bb16f8Smrg
57301395c31Smrgas_test_x='test -x'
57401395c31Smrgas_executable_p=as_fn_executable_p
57592bb16f8Smrg
576de7ed6e8Smrg# Sed expression to map a string onto a valid CPP name.
577187ef25fSmrgas_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
578187ef25fSmrgas_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
57992bb16f8Smrg
580de7ed6e8Smrg# Sed expression to map a string onto a valid variable name.
581187ef25fSmrgas_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
582187ef25fSmrgas_tr_sh="eval sed '$as_sed_sh'" # deprecated
58392bb16f8Smrg
58492bb16f8Smrg
585de7ed6e8Smrgtest -n "$DJDIR" || exec 7<&0 </dev/null
586de7ed6e8Smrgexec 6>&1
58792bb16f8Smrg
58892bb16f8Smrg# Name of the host.
589de7ed6e8Smrg# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
59092bb16f8Smrg# so uname gets run too.
59192bb16f8Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
59292bb16f8Smrg
59392bb16f8Smrg#
59492bb16f8Smrg# Initializations.
59592bb16f8Smrg#
59692bb16f8Smrgac_default_prefix=/usr/local
59792bb16f8Smrgac_clean_files=
59892bb16f8Smrgac_config_libobj_dir=.
59992bb16f8SmrgLIBOBJS=
60092bb16f8Smrgcross_compiling=no
60192bb16f8Smrgsubdirs=
60292bb16f8SmrgMFLAGS=
60392bb16f8SmrgMAKEFLAGS=
60492bb16f8Smrg
60592bb16f8Smrg# Identity of this package.
60692bb16f8SmrgPACKAGE_NAME='encodings'
60792bb16f8SmrgPACKAGE_TARNAME='encodings'
608187ef25fSmrgPACKAGE_VERSION='1.1.0'
609187ef25fSmrgPACKAGE_STRING='encodings 1.1.0'
61022138c50SmrgPACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/font/encodings/-/issues'
611de7ed6e8SmrgPACKAGE_URL=''
61292bb16f8Smrg
61322138c50Smrgac_subst_vars='LTLIBOBJS
61492bb16f8SmrgLIBOBJS
6158255a313SmrgENCODINGSDIR
6168255a313SmrgFONTROOTDIR
61722138c50SmrgCOMPRESS_FLAGS
6188255a313SmrgGZIP
6198255a313SmrgGZIP_LARGE_FALSE
6208255a313SmrgGZIP_LARGE_TRUE
6218255a313SmrgGZIP_SMALL_FALSE
6228255a313SmrgGZIP_SMALL_TRUE
6238255a313SmrgMKFONTSCALE
624de7ed6e8SmrgMAN_SUBSTS
625de7ed6e8SmrgXORG_MAN_PAGE
6268255a313SmrgADMIN_MAN_DIR
6278255a313SmrgDRIVER_MAN_DIR
6288255a313SmrgMISC_MAN_DIR
6298255a313SmrgFILE_MAN_DIR
6308255a313SmrgLIB_MAN_DIR
6318255a313SmrgAPP_MAN_DIR
6328255a313SmrgADMIN_MAN_SUFFIX
6338255a313SmrgDRIVER_MAN_SUFFIX
6348255a313SmrgMISC_MAN_SUFFIX
6358255a313SmrgFILE_MAN_SUFFIX
6368255a313SmrgLIB_MAN_SUFFIX
6378255a313SmrgAPP_MAN_SUFFIX
638de7ed6e8SmrgSED
6398255a313Smrghost_os
6408255a313Smrghost_vendor
6418255a313Smrghost_cpu
6428255a313Smrghost
6438255a313Smrgbuild_os
6448255a313Smrgbuild_vendor
6458255a313Smrgbuild_cpu
6468255a313Smrgbuild
647de7ed6e8SmrgINSTALL_CMD
64801395c31SmrgPKG_CONFIG_LIBDIR
64901395c31SmrgPKG_CONFIG_PATH
650de7ed6e8SmrgPKG_CONFIG
6518255a313SmrgCHANGELOG_CMD
65201395c31SmrgAM_BACKSLASH
65301395c31SmrgAM_DEFAULT_VERBOSITY
65401395c31SmrgAM_DEFAULT_V
65501395c31SmrgAM_V
6563d13e800SmrgCSCOPE
6573d13e800SmrgETAGS
6583d13e800SmrgCTAGS
6598255a313Smrgam__untar
6608255a313Smrgam__tar
6618255a313SmrgAMTAR
6628255a313Smrgam__leading_dot
6638255a313SmrgSET_MAKE
6648255a313SmrgAWK
6658255a313Smrgmkdir_p
6668255a313SmrgMKDIR_P
6678255a313SmrgINSTALL_STRIP_PROGRAM
6688255a313SmrgSTRIP
6698255a313Smrginstall_sh
6708255a313SmrgMAKEINFO
6718255a313SmrgAUTOHEADER
6728255a313SmrgAUTOMAKE
6738255a313SmrgAUTOCONF
6748255a313SmrgACLOCAL
6758255a313SmrgVERSION
6768255a313SmrgPACKAGE
6778255a313SmrgCYGPATH_W
6788255a313Smrgam__isrc
6798255a313SmrgINSTALL_DATA
6808255a313SmrgINSTALL_SCRIPT
6818255a313SmrgINSTALL_PROGRAM
6828255a313Smrgtarget_alias
6838255a313Smrghost_alias
6848255a313Smrgbuild_alias
6858255a313SmrgLIBS
6868255a313SmrgECHO_T
6878255a313SmrgECHO_N
6888255a313SmrgECHO_C
6898255a313SmrgDEFS
6908255a313Smrgmandir
6918255a313Smrglocaledir
6928255a313Smrglibdir
6938255a313Smrgpsdir
6948255a313Smrgpdfdir
6958255a313Smrgdvidir
6968255a313Smrghtmldir
6978255a313Smrginfodir
6988255a313Smrgdocdir
6998255a313Smrgoldincludedir
7008255a313Smrgincludedir
7013d13e800Smrgrunstatedir
7028255a313Smrglocalstatedir
7038255a313Smrgsharedstatedir
7048255a313Smrgsysconfdir
7058255a313Smrgdatadir
7068255a313Smrgdatarootdir
7078255a313Smrglibexecdir
7088255a313Smrgsbindir
7098255a313Smrgbindir
7108255a313Smrgprogram_transform_name
7118255a313Smrgprefix
7128255a313Smrgexec_prefix
713de7ed6e8SmrgPACKAGE_URL
7148255a313SmrgPACKAGE_BUGREPORT
7158255a313SmrgPACKAGE_STRING
7168255a313SmrgPACKAGE_VERSION
7178255a313SmrgPACKAGE_TARNAME
7188255a313SmrgPACKAGE_NAME
7198255a313SmrgPATH_SEPARATOR
72022138c50SmrgSHELL'
72192bb16f8Smrgac_subst_files=''
7228255a313Smrgac_user_opts='
7238255a313Smrgenable_option_checking
72401395c31Smrgenable_silent_rules
7258255a313Smrgenable_gzip_small_encodings
7268255a313Smrgenable_gzip_large_encodings
7278255a313Smrgwith_fontrootdir
7288255a313Smrgwith_encodingsdir
7298255a313Smrg'
73092bb16f8Smrg      ac_precious_vars='build_alias
73192bb16f8Smrghost_alias
7328255a313Smrgtarget_alias
73301395c31SmrgPKG_CONFIG
73401395c31SmrgPKG_CONFIG_PATH
73501395c31SmrgPKG_CONFIG_LIBDIR'
73692bb16f8Smrg
73792bb16f8Smrg
73892bb16f8Smrg# Initialize some variables set by options.
73992bb16f8Smrgac_init_help=
74092bb16f8Smrgac_init_version=false
7418255a313Smrgac_unrecognized_opts=
7428255a313Smrgac_unrecognized_sep=
74392bb16f8Smrg# The variables have the same names as the options, with
74492bb16f8Smrg# dashes changed to underlines.
74592bb16f8Smrgcache_file=/dev/null
74692bb16f8Smrgexec_prefix=NONE
74792bb16f8Smrgno_create=
74892bb16f8Smrgno_recursion=
74992bb16f8Smrgprefix=NONE
75092bb16f8Smrgprogram_prefix=NONE
75192bb16f8Smrgprogram_suffix=NONE
75292bb16f8Smrgprogram_transform_name=s,x,x,
75392bb16f8Smrgsilent=
75492bb16f8Smrgsite=
75592bb16f8Smrgsrcdir=
75692bb16f8Smrgverbose=
75792bb16f8Smrgx_includes=NONE
75892bb16f8Smrgx_libraries=NONE
75992bb16f8Smrg
76092bb16f8Smrg# Installation directory options.
76192bb16f8Smrg# These are left unexpanded so users can "make install exec_prefix=/foo"
76292bb16f8Smrg# and all the variables that are supposed to be based on exec_prefix
76392bb16f8Smrg# by default will actually change.
76492bb16f8Smrg# Use braces instead of parens because sh, perl, etc. also accept them.
76592bb16f8Smrg# (The list follows the same order as the GNU Coding Standards.)
76692bb16f8Smrgbindir='${exec_prefix}/bin'
76792bb16f8Smrgsbindir='${exec_prefix}/sbin'
76892bb16f8Smrglibexecdir='${exec_prefix}/libexec'
76992bb16f8Smrgdatarootdir='${prefix}/share'
77092bb16f8Smrgdatadir='${datarootdir}'
77192bb16f8Smrgsysconfdir='${prefix}/etc'
77292bb16f8Smrgsharedstatedir='${prefix}/com'
77392bb16f8Smrglocalstatedir='${prefix}/var'
7743d13e800Smrgrunstatedir='${localstatedir}/run'
77592bb16f8Smrgincludedir='${prefix}/include'
77692bb16f8Smrgoldincludedir='/usr/include'
77792bb16f8Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
77892bb16f8Smrginfodir='${datarootdir}/info'
77992bb16f8Smrghtmldir='${docdir}'
78092bb16f8Smrgdvidir='${docdir}'
78192bb16f8Smrgpdfdir='${docdir}'
78292bb16f8Smrgpsdir='${docdir}'
78392bb16f8Smrglibdir='${exec_prefix}/lib'
78492bb16f8Smrglocaledir='${datarootdir}/locale'
78592bb16f8Smrgmandir='${datarootdir}/man'
78692bb16f8Smrg
78792bb16f8Smrgac_prev=
78892bb16f8Smrgac_dashdash=
78992bb16f8Smrgfor ac_option
79092bb16f8Smrgdo
79192bb16f8Smrg  # If the previous option needs an argument, assign it.
79292bb16f8Smrg  if test -n "$ac_prev"; then
79392bb16f8Smrg    eval $ac_prev=\$ac_option
79492bb16f8Smrg    ac_prev=
79592bb16f8Smrg    continue
79692bb16f8Smrg  fi
79792bb16f8Smrg
79892bb16f8Smrg  case $ac_option in
799de7ed6e8Smrg  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
800de7ed6e8Smrg  *=)   ac_optarg= ;;
801de7ed6e8Smrg  *)    ac_optarg=yes ;;
80292bb16f8Smrg  esac
80392bb16f8Smrg
80492bb16f8Smrg  case $ac_dashdash$ac_option in
80592bb16f8Smrg  --)
80692bb16f8Smrg    ac_dashdash=yes ;;
80792bb16f8Smrg
80892bb16f8Smrg  -bindir | --bindir | --bindi | --bind | --bin | --bi)
80992bb16f8Smrg    ac_prev=bindir ;;
81092bb16f8Smrg  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
81192bb16f8Smrg    bindir=$ac_optarg ;;
81292bb16f8Smrg
81392bb16f8Smrg  -build | --build | --buil | --bui | --bu)
81492bb16f8Smrg    ac_prev=build_alias ;;
81592bb16f8Smrg  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
81692bb16f8Smrg    build_alias=$ac_optarg ;;
81792bb16f8Smrg
81892bb16f8Smrg  -cache-file | --cache-file | --cache-fil | --cache-fi \
81992bb16f8Smrg  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
82092bb16f8Smrg    ac_prev=cache_file ;;
82192bb16f8Smrg  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
82292bb16f8Smrg  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
82392bb16f8Smrg    cache_file=$ac_optarg ;;
82492bb16f8Smrg
82592bb16f8Smrg  --config-cache | -C)
82692bb16f8Smrg    cache_file=config.cache ;;
82792bb16f8Smrg
82892bb16f8Smrg  -datadir | --datadir | --datadi | --datad)
82992bb16f8Smrg    ac_prev=datadir ;;
83092bb16f8Smrg  -datadir=* | --datadir=* | --datadi=* | --datad=*)
83192bb16f8Smrg    datadir=$ac_optarg ;;
83292bb16f8Smrg
83392bb16f8Smrg  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
83492bb16f8Smrg  | --dataroo | --dataro | --datar)
83592bb16f8Smrg    ac_prev=datarootdir ;;
83692bb16f8Smrg  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
83792bb16f8Smrg  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
83892bb16f8Smrg    datarootdir=$ac_optarg ;;
83992bb16f8Smrg
84092bb16f8Smrg  -disable-* | --disable-*)
8418255a313Smrg    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
84292bb16f8Smrg    # Reject names that are not valid shell variable names.
8438255a313Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
844187ef25fSmrg      as_fn_error $? "invalid feature name: '$ac_useropt'"
8458255a313Smrg    ac_useropt_orig=$ac_useropt
8463d13e800Smrg    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
8478255a313Smrg    case $ac_user_opts in
8488255a313Smrg      *"
8498255a313Smrg"enable_$ac_useropt"
8508255a313Smrg"*) ;;
8518255a313Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
8528255a313Smrg	 ac_unrecognized_sep=', ';;
8538255a313Smrg    esac
8548255a313Smrg    eval enable_$ac_useropt=no ;;
85592bb16f8Smrg
85692bb16f8Smrg  -docdir | --docdir | --docdi | --doc | --do)
85792bb16f8Smrg    ac_prev=docdir ;;
85892bb16f8Smrg  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
85992bb16f8Smrg    docdir=$ac_optarg ;;
86092bb16f8Smrg
86192bb16f8Smrg  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
86292bb16f8Smrg    ac_prev=dvidir ;;
86392bb16f8Smrg  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
86492bb16f8Smrg    dvidir=$ac_optarg ;;
86592bb16f8Smrg
86692bb16f8Smrg  -enable-* | --enable-*)
8678255a313Smrg    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
86892bb16f8Smrg    # Reject names that are not valid shell variable names.
8698255a313Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
870187ef25fSmrg      as_fn_error $? "invalid feature name: '$ac_useropt'"
8718255a313Smrg    ac_useropt_orig=$ac_useropt
8723d13e800Smrg    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
8738255a313Smrg    case $ac_user_opts in
8748255a313Smrg      *"
8758255a313Smrg"enable_$ac_useropt"
8768255a313Smrg"*) ;;
8778255a313Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
8788255a313Smrg	 ac_unrecognized_sep=', ';;
8798255a313Smrg    esac
8808255a313Smrg    eval enable_$ac_useropt=\$ac_optarg ;;
88192bb16f8Smrg
88292bb16f8Smrg  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
88392bb16f8Smrg  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
88492bb16f8Smrg  | --exec | --exe | --ex)
88592bb16f8Smrg    ac_prev=exec_prefix ;;
88692bb16f8Smrg  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
88792bb16f8Smrg  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
88892bb16f8Smrg  | --exec=* | --exe=* | --ex=*)
88992bb16f8Smrg    exec_prefix=$ac_optarg ;;
89092bb16f8Smrg
89192bb16f8Smrg  -gas | --gas | --ga | --g)
89292bb16f8Smrg    # Obsolete; use --with-gas.
89392bb16f8Smrg    with_gas=yes ;;
89492bb16f8Smrg
89592bb16f8Smrg  -help | --help | --hel | --he | -h)
89692bb16f8Smrg    ac_init_help=long ;;
89792bb16f8Smrg  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
89892bb16f8Smrg    ac_init_help=recursive ;;
89992bb16f8Smrg  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
90092bb16f8Smrg    ac_init_help=short ;;
90192bb16f8Smrg
90292bb16f8Smrg  -host | --host | --hos | --ho)
90392bb16f8Smrg    ac_prev=host_alias ;;
90492bb16f8Smrg  -host=* | --host=* | --hos=* | --ho=*)
90592bb16f8Smrg    host_alias=$ac_optarg ;;
90692bb16f8Smrg
90792bb16f8Smrg  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
90892bb16f8Smrg    ac_prev=htmldir ;;
90992bb16f8Smrg  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
91092bb16f8Smrg  | --ht=*)
91192bb16f8Smrg    htmldir=$ac_optarg ;;
91292bb16f8Smrg
91392bb16f8Smrg  -includedir | --includedir | --includedi | --included | --include \
91492bb16f8Smrg  | --includ | --inclu | --incl | --inc)
91592bb16f8Smrg    ac_prev=includedir ;;
91692bb16f8Smrg  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
91792bb16f8Smrg  | --includ=* | --inclu=* | --incl=* | --inc=*)
91892bb16f8Smrg    includedir=$ac_optarg ;;
91992bb16f8Smrg
92092bb16f8Smrg  -infodir | --infodir | --infodi | --infod | --info | --inf)
92192bb16f8Smrg    ac_prev=infodir ;;
92292bb16f8Smrg  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
92392bb16f8Smrg    infodir=$ac_optarg ;;
92492bb16f8Smrg
92592bb16f8Smrg  -libdir | --libdir | --libdi | --libd)
92692bb16f8Smrg    ac_prev=libdir ;;
92792bb16f8Smrg  -libdir=* | --libdir=* | --libdi=* | --libd=*)
92892bb16f8Smrg    libdir=$ac_optarg ;;
92992bb16f8Smrg
93092bb16f8Smrg  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
93192bb16f8Smrg  | --libexe | --libex | --libe)
93292bb16f8Smrg    ac_prev=libexecdir ;;
93392bb16f8Smrg  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
93492bb16f8Smrg  | --libexe=* | --libex=* | --libe=*)
93592bb16f8Smrg    libexecdir=$ac_optarg ;;
93692bb16f8Smrg
93792bb16f8Smrg  -localedir | --localedir | --localedi | --localed | --locale)
93892bb16f8Smrg    ac_prev=localedir ;;
93992bb16f8Smrg  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
94092bb16f8Smrg    localedir=$ac_optarg ;;
94192bb16f8Smrg
94292bb16f8Smrg  -localstatedir | --localstatedir | --localstatedi | --localstated \
94392bb16f8Smrg  | --localstate | --localstat | --localsta | --localst | --locals)
94492bb16f8Smrg    ac_prev=localstatedir ;;
94592bb16f8Smrg  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
94692bb16f8Smrg  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
94792bb16f8Smrg    localstatedir=$ac_optarg ;;
94892bb16f8Smrg
94992bb16f8Smrg  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
95092bb16f8Smrg    ac_prev=mandir ;;
95192bb16f8Smrg  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
95292bb16f8Smrg    mandir=$ac_optarg ;;
95392bb16f8Smrg
95492bb16f8Smrg  -nfp | --nfp | --nf)
95592bb16f8Smrg    # Obsolete; use --without-fp.
95692bb16f8Smrg    with_fp=no ;;
95792bb16f8Smrg
95892bb16f8Smrg  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
95992bb16f8Smrg  | --no-cr | --no-c | -n)
96092bb16f8Smrg    no_create=yes ;;
96192bb16f8Smrg
96292bb16f8Smrg  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
96392bb16f8Smrg  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
96492bb16f8Smrg    no_recursion=yes ;;
96592bb16f8Smrg
96692bb16f8Smrg  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
96792bb16f8Smrg  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
96892bb16f8Smrg  | --oldin | --oldi | --old | --ol | --o)
96992bb16f8Smrg    ac_prev=oldincludedir ;;
97092bb16f8Smrg  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
97192bb16f8Smrg  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
97292bb16f8Smrg  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
97392bb16f8Smrg    oldincludedir=$ac_optarg ;;
97492bb16f8Smrg
97592bb16f8Smrg  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
97692bb16f8Smrg    ac_prev=prefix ;;
97792bb16f8Smrg  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
97892bb16f8Smrg    prefix=$ac_optarg ;;
97992bb16f8Smrg
98092bb16f8Smrg  -program-prefix | --program-prefix | --program-prefi | --program-pref \
98192bb16f8Smrg  | --program-pre | --program-pr | --program-p)
98292bb16f8Smrg    ac_prev=program_prefix ;;
98392bb16f8Smrg  -program-prefix=* | --program-prefix=* | --program-prefi=* \
98492bb16f8Smrg  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
98592bb16f8Smrg    program_prefix=$ac_optarg ;;
98692bb16f8Smrg
98792bb16f8Smrg  -program-suffix | --program-suffix | --program-suffi | --program-suff \
98892bb16f8Smrg  | --program-suf | --program-su | --program-s)
98992bb16f8Smrg    ac_prev=program_suffix ;;
99092bb16f8Smrg  -program-suffix=* | --program-suffix=* | --program-suffi=* \
99192bb16f8Smrg  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
99292bb16f8Smrg    program_suffix=$ac_optarg ;;
99392bb16f8Smrg
99492bb16f8Smrg  -program-transform-name | --program-transform-name \
99592bb16f8Smrg  | --program-transform-nam | --program-transform-na \
99692bb16f8Smrg  | --program-transform-n | --program-transform- \
99792bb16f8Smrg  | --program-transform | --program-transfor \
99892bb16f8Smrg  | --program-transfo | --program-transf \
99992bb16f8Smrg  | --program-trans | --program-tran \
100092bb16f8Smrg  | --progr-tra | --program-tr | --program-t)
100192bb16f8Smrg    ac_prev=program_transform_name ;;
100292bb16f8Smrg  -program-transform-name=* | --program-transform-name=* \
100392bb16f8Smrg  | --program-transform-nam=* | --program-transform-na=* \
100492bb16f8Smrg  | --program-transform-n=* | --program-transform-=* \
100592bb16f8Smrg  | --program-transform=* | --program-transfor=* \
100692bb16f8Smrg  | --program-transfo=* | --program-transf=* \
100792bb16f8Smrg  | --program-trans=* | --program-tran=* \
100892bb16f8Smrg  | --progr-tra=* | --program-tr=* | --program-t=*)
100992bb16f8Smrg    program_transform_name=$ac_optarg ;;
101092bb16f8Smrg
101192bb16f8Smrg  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
101292bb16f8Smrg    ac_prev=pdfdir ;;
101392bb16f8Smrg  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
101492bb16f8Smrg    pdfdir=$ac_optarg ;;
101592bb16f8Smrg
101692bb16f8Smrg  -psdir | --psdir | --psdi | --psd | --ps)
101792bb16f8Smrg    ac_prev=psdir ;;
101892bb16f8Smrg  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
101992bb16f8Smrg    psdir=$ac_optarg ;;
102092bb16f8Smrg
102192bb16f8Smrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
102292bb16f8Smrg  | -silent | --silent | --silen | --sile | --sil)
102392bb16f8Smrg    silent=yes ;;
102492bb16f8Smrg
10253d13e800Smrg  -runstatedir | --runstatedir | --runstatedi | --runstated \
10263d13e800Smrg  | --runstate | --runstat | --runsta | --runst | --runs \
10273d13e800Smrg  | --run | --ru | --r)
10283d13e800Smrg    ac_prev=runstatedir ;;
10293d13e800Smrg  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
10303d13e800Smrg  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
10313d13e800Smrg  | --run=* | --ru=* | --r=*)
10323d13e800Smrg    runstatedir=$ac_optarg ;;
10333d13e800Smrg
103492bb16f8Smrg  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
103592bb16f8Smrg    ac_prev=sbindir ;;
103692bb16f8Smrg  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
103792bb16f8Smrg  | --sbi=* | --sb=*)
103892bb16f8Smrg    sbindir=$ac_optarg ;;
103992bb16f8Smrg
104092bb16f8Smrg  -sharedstatedir | --sharedstatedir | --sharedstatedi \
104192bb16f8Smrg  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
104292bb16f8Smrg  | --sharedst | --shareds | --shared | --share | --shar \
104392bb16f8Smrg  | --sha | --sh)
104492bb16f8Smrg    ac_prev=sharedstatedir ;;
104592bb16f8Smrg  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
104692bb16f8Smrg  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
104792bb16f8Smrg  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
104892bb16f8Smrg  | --sha=* | --sh=*)
104992bb16f8Smrg    sharedstatedir=$ac_optarg ;;
105092bb16f8Smrg
105192bb16f8Smrg  -site | --site | --sit)
105292bb16f8Smrg    ac_prev=site ;;
105392bb16f8Smrg  -site=* | --site=* | --sit=*)
105492bb16f8Smrg    site=$ac_optarg ;;
105592bb16f8Smrg
105692bb16f8Smrg  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
105792bb16f8Smrg    ac_prev=srcdir ;;
105892bb16f8Smrg  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
105992bb16f8Smrg    srcdir=$ac_optarg ;;
106092bb16f8Smrg
106192bb16f8Smrg  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
106292bb16f8Smrg  | --syscon | --sysco | --sysc | --sys | --sy)
106392bb16f8Smrg    ac_prev=sysconfdir ;;
106492bb16f8Smrg  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
106592bb16f8Smrg  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
106692bb16f8Smrg    sysconfdir=$ac_optarg ;;
106792bb16f8Smrg
106892bb16f8Smrg  -target | --target | --targe | --targ | --tar | --ta | --t)
106992bb16f8Smrg    ac_prev=target_alias ;;
107092bb16f8Smrg  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
107192bb16f8Smrg    target_alias=$ac_optarg ;;
107292bb16f8Smrg
107392bb16f8Smrg  -v | -verbose | --verbose | --verbos | --verbo | --verb)
107492bb16f8Smrg    verbose=yes ;;
107592bb16f8Smrg
107692bb16f8Smrg  -version | --version | --versio | --versi | --vers | -V)
107792bb16f8Smrg    ac_init_version=: ;;
107892bb16f8Smrg
107992bb16f8Smrg  -with-* | --with-*)
10808255a313Smrg    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
108192bb16f8Smrg    # Reject names that are not valid shell variable names.
10828255a313Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1083187ef25fSmrg      as_fn_error $? "invalid package name: '$ac_useropt'"
10848255a313Smrg    ac_useropt_orig=$ac_useropt
10853d13e800Smrg    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
10868255a313Smrg    case $ac_user_opts in
10878255a313Smrg      *"
10888255a313Smrg"with_$ac_useropt"
10898255a313Smrg"*) ;;
10908255a313Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
10918255a313Smrg	 ac_unrecognized_sep=', ';;
10928255a313Smrg    esac
10938255a313Smrg    eval with_$ac_useropt=\$ac_optarg ;;
109492bb16f8Smrg
109592bb16f8Smrg  -without-* | --without-*)
10968255a313Smrg    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
109792bb16f8Smrg    # Reject names that are not valid shell variable names.
10988255a313Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1099187ef25fSmrg      as_fn_error $? "invalid package name: '$ac_useropt'"
11008255a313Smrg    ac_useropt_orig=$ac_useropt
11013d13e800Smrg    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
11028255a313Smrg    case $ac_user_opts in
11038255a313Smrg      *"
11048255a313Smrg"with_$ac_useropt"
11058255a313Smrg"*) ;;
11068255a313Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
11078255a313Smrg	 ac_unrecognized_sep=', ';;
11088255a313Smrg    esac
11098255a313Smrg    eval with_$ac_useropt=no ;;
111092bb16f8Smrg
111192bb16f8Smrg  --x)
111292bb16f8Smrg    # Obsolete; use --with-x.
111392bb16f8Smrg    with_x=yes ;;
111492bb16f8Smrg
111592bb16f8Smrg  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
111692bb16f8Smrg  | --x-incl | --x-inc | --x-in | --x-i)
111792bb16f8Smrg    ac_prev=x_includes ;;
111892bb16f8Smrg  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
111992bb16f8Smrg  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
112092bb16f8Smrg    x_includes=$ac_optarg ;;
112192bb16f8Smrg
112292bb16f8Smrg  -x-libraries | --x-libraries | --x-librarie | --x-librari \
112392bb16f8Smrg  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
112492bb16f8Smrg    ac_prev=x_libraries ;;
112592bb16f8Smrg  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
112692bb16f8Smrg  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
112792bb16f8Smrg    x_libraries=$ac_optarg ;;
112892bb16f8Smrg
1129187ef25fSmrg  -*) as_fn_error $? "unrecognized option: '$ac_option'
1130187ef25fSmrgTry '$0 --help' for more information"
113192bb16f8Smrg    ;;
113292bb16f8Smrg
113392bb16f8Smrg  *=*)
113492bb16f8Smrg    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
113592bb16f8Smrg    # Reject names that are not valid shell variable names.
1136de7ed6e8Smrg    case $ac_envvar in #(
1137de7ed6e8Smrg      '' | [0-9]* | *[!_$as_cr_alnum]* )
1138187ef25fSmrg      as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
1139de7ed6e8Smrg    esac
114092bb16f8Smrg    eval $ac_envvar=\$ac_optarg
114192bb16f8Smrg    export $ac_envvar ;;
114292bb16f8Smrg
114392bb16f8Smrg  *)
114492bb16f8Smrg    # FIXME: should be removed in autoconf 3.0.
11453d13e800Smrg    printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
114692bb16f8Smrg    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
11473d13e800Smrg      printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1148de7ed6e8Smrg    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
114992bb16f8Smrg    ;;
115092bb16f8Smrg
115192bb16f8Smrg  esac
115292bb16f8Smrgdone
115392bb16f8Smrg
115492bb16f8Smrgif test -n "$ac_prev"; then
115592bb16f8Smrg  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1156de7ed6e8Smrg  as_fn_error $? "missing argument to $ac_option"
115792bb16f8Smrgfi
115892bb16f8Smrg
11598255a313Smrgif test -n "$ac_unrecognized_opts"; then
11608255a313Smrg  case $enable_option_checking in
11618255a313Smrg    no) ;;
1162de7ed6e8Smrg    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
11633d13e800Smrg    *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
11648255a313Smrg  esac
11658255a313Smrgfi
11668255a313Smrg
11678255a313Smrg# Check all directory arguments for consistency.
116892bb16f8Smrgfor ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
116992bb16f8Smrg		datadir sysconfdir sharedstatedir localstatedir includedir \
117092bb16f8Smrg		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
11713d13e800Smrg		libdir localedir mandir runstatedir
117292bb16f8Smrgdo
117392bb16f8Smrg  eval ac_val=\$$ac_var
11748255a313Smrg  # Remove trailing slashes.
11758255a313Smrg  case $ac_val in
11768255a313Smrg    */ )
11778255a313Smrg      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
11788255a313Smrg      eval $ac_var=\$ac_val;;
11798255a313Smrg  esac
11808255a313Smrg  # Be sure to have absolute directory names.
118192bb16f8Smrg  case $ac_val in
118292bb16f8Smrg    [\\/$]* | ?:[\\/]* )  continue;;
118392bb16f8Smrg    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
118492bb16f8Smrg  esac
1185de7ed6e8Smrg  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
118692bb16f8Smrgdone
118792bb16f8Smrg
1188187ef25fSmrg# There might be people who depend on the old broken behavior: '$host'
118992bb16f8Smrg# used to hold the argument of --host etc.
119092bb16f8Smrg# FIXME: To remove some day.
119192bb16f8Smrgbuild=$build_alias
119292bb16f8Smrghost=$host_alias
119392bb16f8Smrgtarget=$target_alias
119492bb16f8Smrg
119592bb16f8Smrg# FIXME: To remove some day.
119692bb16f8Smrgif test "x$host_alias" != x; then
119792bb16f8Smrg  if test "x$build_alias" = x; then
119892bb16f8Smrg    cross_compiling=maybe
119992bb16f8Smrg  elif test "x$build_alias" != "x$host_alias"; then
120092bb16f8Smrg    cross_compiling=yes
120192bb16f8Smrg  fi
120292bb16f8Smrgfi
120392bb16f8Smrg
120492bb16f8Smrgac_tool_prefix=
120592bb16f8Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias-
120692bb16f8Smrg
120792bb16f8Smrgtest "$silent" = yes && exec 6>/dev/null
120892bb16f8Smrg
120992bb16f8Smrg
121092bb16f8Smrgac_pwd=`pwd` && test -n "$ac_pwd" &&
121192bb16f8Smrgac_ls_di=`ls -di .` &&
121292bb16f8Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1213de7ed6e8Smrg  as_fn_error $? "working directory cannot be determined"
121492bb16f8Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1215de7ed6e8Smrg  as_fn_error $? "pwd does not report name of working directory"
121692bb16f8Smrg
121792bb16f8Smrg
121892bb16f8Smrg# Find the source files, if location was not specified.
121992bb16f8Smrgif test -z "$srcdir"; then
122092bb16f8Smrg  ac_srcdir_defaulted=yes
122192bb16f8Smrg  # Try the directory containing this script, then the parent directory.
12228255a313Smrg  ac_confdir=`$as_dirname -- "$as_myself" ||
12238255a313Smrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12248255a313Smrg	 X"$as_myself" : 'X\(//\)[^/]' \| \
12258255a313Smrg	 X"$as_myself" : 'X\(//\)$' \| \
12268255a313Smrg	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
12273d13e800Smrgprintf "%s\n" X"$as_myself" |
122892bb16f8Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
122992bb16f8Smrg	    s//\1/
123092bb16f8Smrg	    q
123192bb16f8Smrg	  }
123292bb16f8Smrg	  /^X\(\/\/\)[^/].*/{
123392bb16f8Smrg	    s//\1/
123492bb16f8Smrg	    q
123592bb16f8Smrg	  }
123692bb16f8Smrg	  /^X\(\/\/\)$/{
123792bb16f8Smrg	    s//\1/
123892bb16f8Smrg	    q
123992bb16f8Smrg	  }
124092bb16f8Smrg	  /^X\(\/\).*/{
124192bb16f8Smrg	    s//\1/
124292bb16f8Smrg	    q
124392bb16f8Smrg	  }
124492bb16f8Smrg	  s/.*/./; q'`
124592bb16f8Smrg  srcdir=$ac_confdir
124692bb16f8Smrg  if test ! -r "$srcdir/$ac_unique_file"; then
124792bb16f8Smrg    srcdir=..
124892bb16f8Smrg  fi
124992bb16f8Smrgelse
125092bb16f8Smrg  ac_srcdir_defaulted=no
125192bb16f8Smrgfi
125292bb16f8Smrgif test ! -r "$srcdir/$ac_unique_file"; then
125392bb16f8Smrg  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1254de7ed6e8Smrg  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
125592bb16f8Smrgfi
1256187ef25fSmrgac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
125792bb16f8Smrgac_abs_confdir=`(
1258de7ed6e8Smrg	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
125992bb16f8Smrg	pwd)`
126092bb16f8Smrg# When building in place, set srcdir=.
126192bb16f8Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then
126292bb16f8Smrg  srcdir=.
126392bb16f8Smrgfi
126492bb16f8Smrg# Remove unnecessary trailing slashes from srcdir.
126592bb16f8Smrg# Double slashes in file names in object file debugging info
126692bb16f8Smrg# mess up M-x gdb in Emacs.
126792bb16f8Smrgcase $srcdir in
126892bb16f8Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
126992bb16f8Smrgesac
127092bb16f8Smrgfor ac_var in $ac_precious_vars; do
127192bb16f8Smrg  eval ac_env_${ac_var}_set=\${${ac_var}+set}
127292bb16f8Smrg  eval ac_env_${ac_var}_value=\$${ac_var}
127392bb16f8Smrg  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
127492bb16f8Smrg  eval ac_cv_env_${ac_var}_value=\$${ac_var}
127592bb16f8Smrgdone
127692bb16f8Smrg
127792bb16f8Smrg#
127892bb16f8Smrg# Report the --help message.
127992bb16f8Smrg#
128092bb16f8Smrgif test "$ac_init_help" = "long"; then
128192bb16f8Smrg  # Omit some internal or obsolete options to make the list less imposing.
128292bb16f8Smrg  # This message is too long to be a string in the A/UX 3.1 sh.
128392bb16f8Smrg  cat <<_ACEOF
1284187ef25fSmrg'configure' configures encodings 1.1.0 to adapt to many kinds of systems.
128592bb16f8Smrg
128692bb16f8SmrgUsage: $0 [OPTION]... [VAR=VALUE]...
128792bb16f8Smrg
128892bb16f8SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as
128992bb16f8SmrgVAR=VALUE.  See below for descriptions of some of the useful variables.
129092bb16f8Smrg
129192bb16f8SmrgDefaults for the options are specified in brackets.
129292bb16f8Smrg
129392bb16f8SmrgConfiguration:
129492bb16f8Smrg  -h, --help              display this help and exit
129592bb16f8Smrg      --help=short        display options specific to this package
129692bb16f8Smrg      --help=recursive    display the short help of all the included packages
129792bb16f8Smrg  -V, --version           display version information and exit
1298187ef25fSmrg  -q, --quiet, --silent   do not print 'checking ...' messages
129992bb16f8Smrg      --cache-file=FILE   cache test results in FILE [disabled]
1300187ef25fSmrg  -C, --config-cache      alias for '--cache-file=config.cache'
130192bb16f8Smrg  -n, --no-create         do not create output files
1302187ef25fSmrg      --srcdir=DIR        find the sources in DIR [configure dir or '..']
130392bb16f8Smrg
130492bb16f8SmrgInstallation directories:
130592bb16f8Smrg  --prefix=PREFIX         install architecture-independent files in PREFIX
13068255a313Smrg                          [$ac_default_prefix]
130792bb16f8Smrg  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
13088255a313Smrg                          [PREFIX]
130992bb16f8Smrg
1310187ef25fSmrgBy default, 'make install' will install all the files in
1311187ef25fSmrg'$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
1312187ef25fSmrgan installation prefix other than '$ac_default_prefix' using '--prefix',
1313187ef25fSmrgfor instance '--prefix=\$HOME'.
131492bb16f8Smrg
131592bb16f8SmrgFor better control, use the options below.
131692bb16f8Smrg
131792bb16f8SmrgFine tuning of the installation directories:
13188255a313Smrg  --bindir=DIR            user executables [EPREFIX/bin]
13198255a313Smrg  --sbindir=DIR           system admin executables [EPREFIX/sbin]
13208255a313Smrg  --libexecdir=DIR        program executables [EPREFIX/libexec]
13218255a313Smrg  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
13228255a313Smrg  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
13238255a313Smrg  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
13243d13e800Smrg  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
13258255a313Smrg  --libdir=DIR            object code libraries [EPREFIX/lib]
13268255a313Smrg  --includedir=DIR        C header files [PREFIX/include]
13278255a313Smrg  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
13288255a313Smrg  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
13298255a313Smrg  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
13308255a313Smrg  --infodir=DIR           info documentation [DATAROOTDIR/info]
13318255a313Smrg  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
13328255a313Smrg  --mandir=DIR            man documentation [DATAROOTDIR/man]
13338255a313Smrg  --docdir=DIR            documentation root [DATAROOTDIR/doc/encodings]
13348255a313Smrg  --htmldir=DIR           html documentation [DOCDIR]
13358255a313Smrg  --dvidir=DIR            dvi documentation [DOCDIR]
13368255a313Smrg  --pdfdir=DIR            pdf documentation [DOCDIR]
13378255a313Smrg  --psdir=DIR             ps documentation [DOCDIR]
133892bb16f8Smrg_ACEOF
133992bb16f8Smrg
134092bb16f8Smrg  cat <<\_ACEOF
134192bb16f8Smrg
134292bb16f8SmrgProgram names:
134392bb16f8Smrg  --program-prefix=PREFIX            prepend PREFIX to installed program names
134492bb16f8Smrg  --program-suffix=SUFFIX            append SUFFIX to installed program names
134592bb16f8Smrg  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
13468255a313Smrg
13478255a313SmrgSystem types:
13488255a313Smrg  --build=BUILD     configure for building on BUILD [guessed]
13498255a313Smrg  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
135092bb16f8Smrg_ACEOF
135192bb16f8Smrgfi
135292bb16f8Smrg
135392bb16f8Smrgif test -n "$ac_init_help"; then
135492bb16f8Smrg  case $ac_init_help in
1355187ef25fSmrg     short | recursive ) echo "Configuration of encodings 1.1.0:";;
135692bb16f8Smrg   esac
135792bb16f8Smrg  cat <<\_ACEOF
135892bb16f8Smrg
135992bb16f8SmrgOptional Features:
13608255a313Smrg  --disable-option-checking  ignore unrecognized --enable/--with options
136192bb16f8Smrg  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
136292bb16f8Smrg  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
136301395c31Smrg  --enable-silent-rules   less verbose build output (undo: "make V=1")
136401395c31Smrg  --disable-silent-rules  verbose build output (undo: "make V=0")
136592bb16f8Smrg  --disable-gzip-small-encodings
136692bb16f8Smrg                          Disable compression of small encoding files
136792bb16f8Smrg  --disable-gzip-large-encodings
136892bb16f8Smrg                          Disable compression of large encoding files
136992bb16f8Smrg
137092bb16f8SmrgOptional Packages:
137192bb16f8Smrg  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
137292bb16f8Smrg  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
13738255a313Smrg  --with-fontrootdir=DIR  Path to root directory for font files
13748255a313Smrg  --with-encodingsdir=DIR Path to encodings files [FONTROOTDIR/encodings]
13758255a313Smrg
13768255a313SmrgSome influential environment variables:
13778255a313Smrg  PKG_CONFIG  path to pkg-config utility
137801395c31Smrg  PKG_CONFIG_PATH
137901395c31Smrg              directories to add to pkg-config's search path
138001395c31Smrg  PKG_CONFIG_LIBDIR
138101395c31Smrg              path overriding pkg-config's built-in search path
13828255a313Smrg
1383187ef25fSmrgUse these variables to override the choices made by 'configure' or to help
13848255a313Smrgit to find libraries and programs with nonstandard names/locations.
138592bb16f8Smrg
138622138c50SmrgReport bugs to <https://gitlab.freedesktop.org/xorg/font/encodings/-/issues>.
138792bb16f8Smrg_ACEOF
138892bb16f8Smrgac_status=$?
138992bb16f8Smrgfi
139092bb16f8Smrg
139192bb16f8Smrgif test "$ac_init_help" = "recursive"; then
139292bb16f8Smrg  # If there are subdirs, report their specific --help.
139392bb16f8Smrg  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
13948255a313Smrg    test -d "$ac_dir" ||
13958255a313Smrg      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
13968255a313Smrg      continue
139792bb16f8Smrg    ac_builddir=.
139892bb16f8Smrg
139992bb16f8Smrgcase "$ac_dir" in
140092bb16f8Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
140192bb16f8Smrg*)
14023d13e800Smrg  ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
140392bb16f8Smrg  # A ".." for each directory in $ac_dir_suffix.
14043d13e800Smrg  ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
140592bb16f8Smrg  case $ac_top_builddir_sub in
140692bb16f8Smrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
140792bb16f8Smrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
140892bb16f8Smrg  esac ;;
140992bb16f8Smrgesac
141092bb16f8Smrgac_abs_top_builddir=$ac_pwd
141192bb16f8Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix
141292bb16f8Smrg# for backward compatibility:
141392bb16f8Smrgac_top_builddir=$ac_top_build_prefix
141492bb16f8Smrg
141592bb16f8Smrgcase $srcdir in
141692bb16f8Smrg  .)  # We are building in place.
141792bb16f8Smrg    ac_srcdir=.
141892bb16f8Smrg    ac_top_srcdir=$ac_top_builddir_sub
141992bb16f8Smrg    ac_abs_top_srcdir=$ac_pwd ;;
142092bb16f8Smrg  [\\/]* | ?:[\\/]* )  # Absolute name.
142192bb16f8Smrg    ac_srcdir=$srcdir$ac_dir_suffix;
142292bb16f8Smrg    ac_top_srcdir=$srcdir
142392bb16f8Smrg    ac_abs_top_srcdir=$srcdir ;;
142492bb16f8Smrg  *) # Relative name.
142592bb16f8Smrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
142692bb16f8Smrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
142792bb16f8Smrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
142892bb16f8Smrgesac
142992bb16f8Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
143092bb16f8Smrg
143192bb16f8Smrg    cd "$ac_dir" || { ac_status=$?; continue; }
14323d13e800Smrg    # Check for configure.gnu first; this name is used for a wrapper for
14333d13e800Smrg    # Metaconfig's "Configure" on case-insensitive file systems.
143492bb16f8Smrg    if test -f "$ac_srcdir/configure.gnu"; then
143592bb16f8Smrg      echo &&
143692bb16f8Smrg      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
143792bb16f8Smrg    elif test -f "$ac_srcdir/configure"; then
143892bb16f8Smrg      echo &&
143992bb16f8Smrg      $SHELL "$ac_srcdir/configure" --help=recursive
144092bb16f8Smrg    else
14413d13e800Smrg      printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
144292bb16f8Smrg    fi || ac_status=$?
144392bb16f8Smrg    cd "$ac_pwd" || { ac_status=$?; break; }
144492bb16f8Smrg  done
144592bb16f8Smrgfi
144692bb16f8Smrg
144792bb16f8Smrgtest -n "$ac_init_help" && exit $ac_status
144892bb16f8Smrgif $ac_init_version; then
144992bb16f8Smrg  cat <<\_ACEOF
1450187ef25fSmrgencodings configure 1.1.0
1451187ef25fSmrggenerated by GNU Autoconf 2.72
145292bb16f8Smrg
1453187ef25fSmrgCopyright (C) 2023 Free Software Foundation, Inc.
145492bb16f8SmrgThis configure script is free software; the Free Software Foundation
145592bb16f8Smrggives unlimited permission to copy, distribute and modify it.
145692bb16f8Smrg_ACEOF
145792bb16f8Smrg  exit
145892bb16f8Smrgfi
145992bb16f8Smrg
1460de7ed6e8Smrg## ------------------------ ##
1461de7ed6e8Smrg## Autoconf initialization. ##
1462de7ed6e8Smrg## ------------------------ ##
14633d13e800Smrgac_configure_args_raw=
14643d13e800Smrgfor ac_arg
14653d13e800Smrgdo
14663d13e800Smrg  case $ac_arg in
14673d13e800Smrg  *\'*)
14683d13e800Smrg    ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
14693d13e800Smrg  esac
14703d13e800Smrg  as_fn_append ac_configure_args_raw " '$ac_arg'"
14713d13e800Smrgdone
14723d13e800Smrg
14733d13e800Smrgcase $ac_configure_args_raw in
14743d13e800Smrg  *$as_nl*)
14753d13e800Smrg    ac_safe_unquote= ;;
14763d13e800Smrg  *)
14773d13e800Smrg    ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
14783d13e800Smrg    ac_unsafe_a="$ac_unsafe_z#~"
14793d13e800Smrg    ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
14803d13e800Smrg    ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
14813d13e800Smrgesac
14823d13e800Smrg
1483de7ed6e8Smrgcat >config.log <<_ACEOF
1484de7ed6e8SmrgThis file contains any messages produced by compilers while
1485de7ed6e8Smrgrunning configure, to aid debugging if configure makes a mistake.
1486de7ed6e8Smrg
1487187ef25fSmrgIt was created by encodings $as_me 1.1.0, which was
1488187ef25fSmrggenerated by GNU Autoconf 2.72.  Invocation command line was
1489de7ed6e8Smrg
14903d13e800Smrg  $ $0$ac_configure_args_raw
1491de7ed6e8Smrg
1492de7ed6e8Smrg_ACEOF
1493de7ed6e8Smrgexec 5>>config.log
1494de7ed6e8Smrg{
1495de7ed6e8Smrgcat <<_ASUNAME
1496de7ed6e8Smrg## --------- ##
1497de7ed6e8Smrg## Platform. ##
1498de7ed6e8Smrg## --------- ##
1499de7ed6e8Smrg
1500de7ed6e8Smrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1501de7ed6e8Smrguname -m = `(uname -m) 2>/dev/null || echo unknown`
1502de7ed6e8Smrguname -r = `(uname -r) 2>/dev/null || echo unknown`
1503de7ed6e8Smrguname -s = `(uname -s) 2>/dev/null || echo unknown`
1504de7ed6e8Smrguname -v = `(uname -v) 2>/dev/null || echo unknown`
1505de7ed6e8Smrg
1506de7ed6e8Smrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1507de7ed6e8Smrg/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1508de7ed6e8Smrg
1509de7ed6e8Smrg/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1510de7ed6e8Smrg/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1511de7ed6e8Smrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1512de7ed6e8Smrg/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1513de7ed6e8Smrg/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1514de7ed6e8Smrg/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1515de7ed6e8Smrg/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1516de7ed6e8Smrg
1517de7ed6e8Smrg_ASUNAME
1518de7ed6e8Smrg
1519de7ed6e8Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1520de7ed6e8Smrgfor as_dir in $PATH
152192bb16f8Smrgdo
152292bb16f8Smrg  IFS=$as_save_IFS
15233d13e800Smrg  case $as_dir in #(((
15243d13e800Smrg    '') as_dir=./ ;;
15253d13e800Smrg    */) ;;
15263d13e800Smrg    *) as_dir=$as_dir/ ;;
15273d13e800Smrg  esac
15283d13e800Smrg    printf "%s\n" "PATH: $as_dir"
1529de7ed6e8Smrg  done
153092bb16f8SmrgIFS=$as_save_IFS
153192bb16f8Smrg
153292bb16f8Smrg} >&5
153392bb16f8Smrg
153492bb16f8Smrgcat >&5 <<_ACEOF
153592bb16f8Smrg
153692bb16f8Smrg
153792bb16f8Smrg## ----------- ##
153892bb16f8Smrg## Core tests. ##
153992bb16f8Smrg## ----------- ##
154092bb16f8Smrg
154192bb16f8Smrg_ACEOF
154292bb16f8Smrg
154392bb16f8Smrg
154492bb16f8Smrg# Keep a trace of the command line.
154592bb16f8Smrg# Strip out --no-create and --no-recursion so they do not pile up.
154692bb16f8Smrg# Strip out --silent because we don't want to record it for future runs.
154792bb16f8Smrg# Also quote any args containing shell meta-characters.
154892bb16f8Smrg# Make two passes to allow for proper duplicate-argument suppression.
154992bb16f8Smrgac_configure_args=
155092bb16f8Smrgac_configure_args0=
155192bb16f8Smrgac_configure_args1=
155292bb16f8Smrgac_must_keep_next=false
155392bb16f8Smrgfor ac_pass in 1 2
155492bb16f8Smrgdo
155592bb16f8Smrg  for ac_arg
155692bb16f8Smrg  do
155792bb16f8Smrg    case $ac_arg in
155892bb16f8Smrg    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
155992bb16f8Smrg    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
156092bb16f8Smrg    | -silent | --silent | --silen | --sile | --sil)
156192bb16f8Smrg      continue ;;
156292bb16f8Smrg    *\'*)
15633d13e800Smrg      ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
156492bb16f8Smrg    esac
156592bb16f8Smrg    case $ac_pass in
1566de7ed6e8Smrg    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
156792bb16f8Smrg    2)
1568de7ed6e8Smrg      as_fn_append ac_configure_args1 " '$ac_arg'"
156992bb16f8Smrg      if test $ac_must_keep_next = true; then
157092bb16f8Smrg	ac_must_keep_next=false # Got value, back to normal.
157192bb16f8Smrg      else
157292bb16f8Smrg	case $ac_arg in
157392bb16f8Smrg	  *=* | --config-cache | -C | -disable-* | --disable-* \
157492bb16f8Smrg	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
157592bb16f8Smrg	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
157692bb16f8Smrg	  | -with-* | --with-* | -without-* | --without-* | --x)
157792bb16f8Smrg	    case "$ac_configure_args0 " in
157892bb16f8Smrg	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
157992bb16f8Smrg	    esac
158092bb16f8Smrg	    ;;
158192bb16f8Smrg	  -* ) ac_must_keep_next=true ;;
158292bb16f8Smrg	esac
158392bb16f8Smrg      fi
1584de7ed6e8Smrg      as_fn_append ac_configure_args " '$ac_arg'"
158592bb16f8Smrg      ;;
158692bb16f8Smrg    esac
158792bb16f8Smrg  done
158892bb16f8Smrgdone
1589de7ed6e8Smrg{ ac_configure_args0=; unset ac_configure_args0;}
1590de7ed6e8Smrg{ ac_configure_args1=; unset ac_configure_args1;}
159192bb16f8Smrg
159292bb16f8Smrg# When interrupted or exit'd, cleanup temporary files, and complete
159392bb16f8Smrg# config.log.  We remove comments because anyway the quotes in there
159492bb16f8Smrg# would cause problems or look ugly.
159592bb16f8Smrg# WARNING: Use '\'' to represent an apostrophe within the trap.
159692bb16f8Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
159792bb16f8Smrgtrap 'exit_status=$?
15983d13e800Smrg  # Sanitize IFS.
15993d13e800Smrg  IFS=" ""	$as_nl"
160092bb16f8Smrg  # Save into config.log some information that might help in debugging.
160192bb16f8Smrg  {
160292bb16f8Smrg    echo
160392bb16f8Smrg
16043d13e800Smrg    printf "%s\n" "## ---------------- ##
160592bb16f8Smrg## Cache variables. ##
1606de7ed6e8Smrg## ---------------- ##"
160792bb16f8Smrg    echo
160892bb16f8Smrg    # The following way of writing the cache mishandles newlines in values,
160992bb16f8Smrg(
161092bb16f8Smrg  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
161192bb16f8Smrg    eval ac_val=\$$ac_var
161292bb16f8Smrg    case $ac_val in #(
161392bb16f8Smrg    *${as_nl}*)
161492bb16f8Smrg      case $ac_var in #(
16153d13e800Smrg      *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16163d13e800Smrgprintf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
161792bb16f8Smrg      esac
161892bb16f8Smrg      case $ac_var in #(
161992bb16f8Smrg      _ | IFS | as_nl) ;; #(
16208255a313Smrg      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1621de7ed6e8Smrg      *) { eval $ac_var=; unset $ac_var;} ;;
162292bb16f8Smrg      esac ;;
162392bb16f8Smrg    esac
162492bb16f8Smrg  done
162592bb16f8Smrg  (set) 2>&1 |
162692bb16f8Smrg    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
162792bb16f8Smrg    *${as_nl}ac_space=\ *)
162892bb16f8Smrg      sed -n \
162992bb16f8Smrg	"s/'\''/'\''\\\\'\'''\''/g;
163092bb16f8Smrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
163192bb16f8Smrg      ;; #(
163292bb16f8Smrg    *)
163392bb16f8Smrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
163492bb16f8Smrg      ;;
163592bb16f8Smrg    esac |
163692bb16f8Smrg    sort
163792bb16f8Smrg)
163892bb16f8Smrg    echo
163992bb16f8Smrg
16403d13e800Smrg    printf "%s\n" "## ----------------- ##
164192bb16f8Smrg## Output variables. ##
1642de7ed6e8Smrg## ----------------- ##"
164392bb16f8Smrg    echo
164492bb16f8Smrg    for ac_var in $ac_subst_vars
164592bb16f8Smrg    do
164692bb16f8Smrg      eval ac_val=\$$ac_var
164792bb16f8Smrg      case $ac_val in
16483d13e800Smrg      *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
164992bb16f8Smrg      esac
16503d13e800Smrg      printf "%s\n" "$ac_var='\''$ac_val'\''"
165192bb16f8Smrg    done | sort
165292bb16f8Smrg    echo
165392bb16f8Smrg
165492bb16f8Smrg    if test -n "$ac_subst_files"; then
16553d13e800Smrg      printf "%s\n" "## ------------------- ##
165692bb16f8Smrg## File substitutions. ##
1657de7ed6e8Smrg## ------------------- ##"
165892bb16f8Smrg      echo
165992bb16f8Smrg      for ac_var in $ac_subst_files
166092bb16f8Smrg      do
166192bb16f8Smrg	eval ac_val=\$$ac_var
166292bb16f8Smrg	case $ac_val in
16633d13e800Smrg	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
166492bb16f8Smrg	esac
16653d13e800Smrg	printf "%s\n" "$ac_var='\''$ac_val'\''"
166692bb16f8Smrg      done | sort
166792bb16f8Smrg      echo
166892bb16f8Smrg    fi
166992bb16f8Smrg
167092bb16f8Smrg    if test -s confdefs.h; then
16713d13e800Smrg      printf "%s\n" "## ----------- ##
167292bb16f8Smrg## confdefs.h. ##
1673de7ed6e8Smrg## ----------- ##"
167492bb16f8Smrg      echo
167592bb16f8Smrg      cat confdefs.h
167692bb16f8Smrg      echo
167792bb16f8Smrg    fi
167892bb16f8Smrg    test "$ac_signal" != 0 &&
16793d13e800Smrg      printf "%s\n" "$as_me: caught signal $ac_signal"
16803d13e800Smrg    printf "%s\n" "$as_me: exit $exit_status"
168192bb16f8Smrg  } >&5
168292bb16f8Smrg  rm -f core *.core core.conftest.* &&
168392bb16f8Smrg    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
168492bb16f8Smrg    exit $exit_status
168592bb16f8Smrg' 0
168692bb16f8Smrgfor ac_signal in 1 2 13 15; do
1687de7ed6e8Smrg  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
168892bb16f8Smrgdone
168992bb16f8Smrgac_signal=0
169092bb16f8Smrg
169192bb16f8Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed.
169292bb16f8Smrgrm -f -r conftest* confdefs.h
169392bb16f8Smrg
16943d13e800Smrgprintf "%s\n" "/* confdefs.h */" > confdefs.h
1695de7ed6e8Smrg
169692bb16f8Smrg# Predefined preprocessor variables.
169792bb16f8Smrg
16983d13e800Smrgprintf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
169992bb16f8Smrg
17003d13e800Smrgprintf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
170192bb16f8Smrg
17023d13e800Smrgprintf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
170392bb16f8Smrg
17043d13e800Smrgprintf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
170592bb16f8Smrg
17063d13e800Smrgprintf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
170792bb16f8Smrg
17083d13e800Smrgprintf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1709de7ed6e8Smrg
171092bb16f8Smrg
171192bb16f8Smrg# Let the site file select an alternate cache file if it wants to.
17128255a313Smrg# Prefer an explicitly selected file to automatically selected ones.
171392bb16f8Smrgif test -n "$CONFIG_SITE"; then
17143d13e800Smrg  ac_site_files="$CONFIG_SITE"
171592bb16f8Smrgelif test "x$prefix" != xNONE; then
17163d13e800Smrg  ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
171792bb16f8Smrgelse
17183d13e800Smrg  ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
171992bb16f8Smrgfi
17203d13e800Smrg
17213d13e800Smrgfor ac_site_file in $ac_site_files
172292bb16f8Smrgdo
17233d13e800Smrg  case $ac_site_file in #(
17243d13e800Smrg  */*) :
17253d13e800Smrg     ;; #(
17263d13e800Smrg  *) :
17273d13e800Smrg    ac_site_file=./$ac_site_file ;;
17283d13e800Smrgesac
17293d13e800Smrg  if test -f "$ac_site_file" && test -r "$ac_site_file"; then
17303d13e800Smrg    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
17313d13e800Smrgprintf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
173292bb16f8Smrg    sed 's/^/| /' "$ac_site_file" >&5
1733de7ed6e8Smrg    . "$ac_site_file" \
1734187ef25fSmrg      || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
1735187ef25fSmrgprintf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
1736de7ed6e8Smrgas_fn_error $? "failed to load site script $ac_site_file
1737187ef25fSmrgSee 'config.log' for more details" "$LINENO" 5; }
173892bb16f8Smrg  fi
173992bb16f8Smrgdone
174092bb16f8Smrg
174192bb16f8Smrgif test -r "$cache_file"; then
1742de7ed6e8Smrg  # Some versions of bash will fail to source /dev/null (special files
1743de7ed6e8Smrg  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1744de7ed6e8Smrg  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
17453d13e800Smrg    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
17463d13e800Smrgprintf "%s\n" "$as_me: loading cache $cache_file" >&6;}
174792bb16f8Smrg    case $cache_file in
174892bb16f8Smrg      [\\/]* | ?:[\\/]* ) . "$cache_file";;
174992bb16f8Smrg      *)                      . "./$cache_file";;
175092bb16f8Smrg    esac
175192bb16f8Smrg  fi
175292bb16f8Smrgelse
17533d13e800Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
17543d13e800Smrgprintf "%s\n" "$as_me: creating cache $cache_file" >&6;}
175592bb16f8Smrg  >$cache_file
175692bb16f8Smrgfi
175792bb16f8Smrg
17583d13e800Smrg
17593d13e800Smrg# Auxiliary files required by this configure script.
176022138c50Smrgac_aux_files="config.guess config.sub missing install-sh"
17613d13e800Smrg
17623d13e800Smrg# Locations in which to look for auxiliary files.
17633d13e800Smrgac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
17643d13e800Smrg
17653d13e800Smrg# Search for a directory containing all of the required auxiliary files,
17663d13e800Smrg# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
17673d13e800Smrg# If we don't find one directory that contains all the files we need,
17683d13e800Smrg# we report the set of missing files from the *first* directory in
17693d13e800Smrg# $ac_aux_dir_candidates and give up.
17703d13e800Smrgac_missing_aux_files=""
17713d13e800Smrgac_first_candidate=:
17723d13e800Smrgprintf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
17733d13e800Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17743d13e800Smrgas_found=false
17753d13e800Smrgfor as_dir in $ac_aux_dir_candidates
17763d13e800Smrgdo
17773d13e800Smrg  IFS=$as_save_IFS
17783d13e800Smrg  case $as_dir in #(((
17793d13e800Smrg    '') as_dir=./ ;;
17803d13e800Smrg    */) ;;
17813d13e800Smrg    *) as_dir=$as_dir/ ;;
17823d13e800Smrg  esac
17833d13e800Smrg  as_found=:
17843d13e800Smrg
17853d13e800Smrg  printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
17863d13e800Smrg  ac_aux_dir_found=yes
17873d13e800Smrg  ac_install_sh=
17883d13e800Smrg  for ac_aux in $ac_aux_files
17893d13e800Smrg  do
17903d13e800Smrg    # As a special case, if "install-sh" is required, that requirement
17913d13e800Smrg    # can be satisfied by any of "install-sh", "install.sh", or "shtool",
17923d13e800Smrg    # and $ac_install_sh is set appropriately for whichever one is found.
17933d13e800Smrg    if test x"$ac_aux" = x"install-sh"
17943d13e800Smrg    then
17953d13e800Smrg      if test -f "${as_dir}install-sh"; then
17963d13e800Smrg        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
17973d13e800Smrg        ac_install_sh="${as_dir}install-sh -c"
17983d13e800Smrg      elif test -f "${as_dir}install.sh"; then
17993d13e800Smrg        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
18003d13e800Smrg        ac_install_sh="${as_dir}install.sh -c"
18013d13e800Smrg      elif test -f "${as_dir}shtool"; then
18023d13e800Smrg        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
18033d13e800Smrg        ac_install_sh="${as_dir}shtool install -c"
18043d13e800Smrg      else
18053d13e800Smrg        ac_aux_dir_found=no
18063d13e800Smrg        if $ac_first_candidate; then
18073d13e800Smrg          ac_missing_aux_files="${ac_missing_aux_files} install-sh"
18083d13e800Smrg        else
18093d13e800Smrg          break
18103d13e800Smrg        fi
18113d13e800Smrg      fi
18123d13e800Smrg    else
18133d13e800Smrg      if test -f "${as_dir}${ac_aux}"; then
18143d13e800Smrg        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
18153d13e800Smrg      else
18163d13e800Smrg        ac_aux_dir_found=no
18173d13e800Smrg        if $ac_first_candidate; then
18183d13e800Smrg          ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
18193d13e800Smrg        else
18203d13e800Smrg          break
18213d13e800Smrg        fi
18223d13e800Smrg      fi
18233d13e800Smrg    fi
18243d13e800Smrg  done
18253d13e800Smrg  if test "$ac_aux_dir_found" = yes; then
18263d13e800Smrg    ac_aux_dir="$as_dir"
18273d13e800Smrg    break
18283d13e800Smrg  fi
18293d13e800Smrg  ac_first_candidate=false
18303d13e800Smrg
18313d13e800Smrg  as_found=false
18323d13e800Smrgdone
18333d13e800SmrgIFS=$as_save_IFS
18343d13e800Smrgif $as_found
18353d13e800Smrgthen :
18363d13e800Smrg
1837187ef25fSmrgelse case e in #(
1838187ef25fSmrg  e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
1839187ef25fSmrgesac
18403d13e800Smrgfi
18413d13e800Smrg
18423d13e800Smrg
18433d13e800Smrg# These three variables are undocumented and unsupported,
18443d13e800Smrg# and are intended to be withdrawn in a future Autoconf release.
18453d13e800Smrg# They can cause serious problems if a builder's source tree is in a directory
18463d13e800Smrg# whose full name contains unusual characters.
18473d13e800Smrgif test -f "${ac_aux_dir}config.guess"; then
18483d13e800Smrg  ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
18493d13e800Smrgfi
18503d13e800Smrgif test -f "${ac_aux_dir}config.sub"; then
18513d13e800Smrg  ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
18523d13e800Smrgfi
18533d13e800Smrgif test -f "$ac_aux_dir/configure"; then
18543d13e800Smrg  ac_configure="$SHELL ${ac_aux_dir}configure"
18553d13e800Smrgfi
18563d13e800Smrg
18573d13e800Smrg# Check that the precious variables saved in the cache have kept the same
18583d13e800Smrg# value.
18593d13e800Smrgac_cache_corrupted=false
18603d13e800Smrgfor ac_var in $ac_precious_vars; do
18613d13e800Smrg  eval ac_old_set=\$ac_cv_env_${ac_var}_set
18623d13e800Smrg  eval ac_new_set=\$ac_env_${ac_var}_set
18633d13e800Smrg  eval ac_old_val=\$ac_cv_env_${ac_var}_value
18643d13e800Smrg  eval ac_new_val=\$ac_env_${ac_var}_value
18653d13e800Smrg  case $ac_old_set,$ac_new_set in
18663d13e800Smrg    set,)
1867187ef25fSmrg      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
1868187ef25fSmrgprintf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
18693d13e800Smrg      ac_cache_corrupted=: ;;
18703d13e800Smrg    ,set)
1871187ef25fSmrg      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
1872187ef25fSmrgprintf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
18733d13e800Smrg      ac_cache_corrupted=: ;;
18743d13e800Smrg    ,);;
18753d13e800Smrg    *)
18763d13e800Smrg      if test "x$ac_old_val" != "x$ac_new_val"; then
18773d13e800Smrg	# differences in whitespace do not lead to failure.
18783d13e800Smrg	ac_old_val_w=`echo x $ac_old_val`
18793d13e800Smrg	ac_new_val_w=`echo x $ac_new_val`
18803d13e800Smrg	if test "$ac_old_val_w" != "$ac_new_val_w"; then
1881187ef25fSmrg	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
1882187ef25fSmrgprintf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
18833d13e800Smrg	  ac_cache_corrupted=:
18843d13e800Smrg	else
1885187ef25fSmrg	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
1886187ef25fSmrgprintf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
18873d13e800Smrg	  eval $ac_var=\$ac_old_val
18883d13e800Smrg	fi
1889187ef25fSmrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
1890187ef25fSmrgprintf "%s\n" "$as_me:   former value:  '$ac_old_val'" >&2;}
1891187ef25fSmrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
1892187ef25fSmrgprintf "%s\n" "$as_me:   current value: '$ac_new_val'" >&2;}
18933d13e800Smrg      fi;;
18943d13e800Smrg  esac
18953d13e800Smrg  # Pass precious variables to config.status.
18963d13e800Smrg  if test "$ac_new_set" = set; then
18973d13e800Smrg    case $ac_new_val in
18983d13e800Smrg    *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
18993d13e800Smrg    *) ac_arg=$ac_var=$ac_new_val ;;
19003d13e800Smrg    esac
19013d13e800Smrg    case " $ac_configure_args " in
19023d13e800Smrg      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
19033d13e800Smrg      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
19043d13e800Smrg    esac
19053d13e800Smrg  fi
19063d13e800Smrgdone
19073d13e800Smrgif $ac_cache_corrupted; then
1908187ef25fSmrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
1909187ef25fSmrgprintf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
19103d13e800Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
19113d13e800Smrgprintf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
1912187ef25fSmrg  as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
19133d13e800Smrg	    and start over" "$LINENO" 5
19143d13e800Smrgfi
19153d13e800Smrg## -------------------- ##
19163d13e800Smrg## Main body of script. ##
19173d13e800Smrg## -------------------- ##
19183d13e800Smrg
19193d13e800Smrgac_ext=c
19203d13e800Smrgac_cpp='$CPP $CPPFLAGS'
19213d13e800Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19223d13e800Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19233d13e800Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
19243d13e800Smrg
19253d13e800Smrg
19263d13e800Smrgam__api_version='1.16'
19273d13e800Smrg
19283d13e800Smrg
19293d13e800Smrg
19303d13e800Smrg  # Find a good install program.  We prefer a C program (faster),
19313d13e800Smrg# so one script is as good as another.  But avoid the broken or
19323d13e800Smrg# incompatible versions:
19333d13e800Smrg# SysV /etc/install, /usr/sbin/install
19343d13e800Smrg# SunOS /usr/etc/install
19353d13e800Smrg# IRIX /sbin/install
19363d13e800Smrg# AIX /bin/install
19373d13e800Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs
19383d13e800Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
19393d13e800Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args
19403d13e800Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
194192bb16f8Smrg# OS/2's system install, which has a completely different semantic
194292bb16f8Smrg# ./install, which can be erroneously created by make from ./install.sh.
19438255a313Smrg# Reject install programs that cannot install multiple files.
19443d13e800Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
19453d13e800Smrgprintf %s "checking for a BSD-compatible install... " >&6; }
194692bb16f8Smrgif test -z "$INSTALL"; then
19473d13e800Smrgif test ${ac_cv_path_install+y}
19483d13e800Smrgthen :
19493d13e800Smrg  printf %s "(cached) " >&6
1950187ef25fSmrgelse case e in #(
1951187ef25fSmrg  e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195292bb16f8Smrgfor as_dir in $PATH
195392bb16f8Smrgdo
195492bb16f8Smrg  IFS=$as_save_IFS
19553d13e800Smrg  case $as_dir in #(((
19563d13e800Smrg    '') as_dir=./ ;;
19573d13e800Smrg    */) ;;
19583d13e800Smrg    *) as_dir=$as_dir/ ;;
19593d13e800Smrg  esac
19603d13e800Smrg    # Account for fact that we put trailing slashes in our PATH walk.
19613d13e800Smrgcase $as_dir in #((
19623d13e800Smrg  ./ | /[cC]/* | \
196392bb16f8Smrg  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1964de7ed6e8Smrg  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
196592bb16f8Smrg  /usr/ucb/* ) ;;
196692bb16f8Smrg  *)
196792bb16f8Smrg    # OSF1 and SCO ODT 3.0 have their own names for install.
196892bb16f8Smrg    # Don't use installbsd from OSF since it installs stuff as root
196992bb16f8Smrg    # by default.
197092bb16f8Smrg    for ac_prog in ginstall scoinst install; do
197192bb16f8Smrg      for ac_exec_ext in '' $ac_executable_extensions; do
19723d13e800Smrg	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
197392bb16f8Smrg	  if test $ac_prog = install &&
19743d13e800Smrg	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
197592bb16f8Smrg	    # AIX install.  It has an incompatible calling convention.
197692bb16f8Smrg	    :
197792bb16f8Smrg	  elif test $ac_prog = install &&
19783d13e800Smrg	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
197992bb16f8Smrg	    # program-specific install script used by HP pwplus--don't use.
198092bb16f8Smrg	    :
198192bb16f8Smrg	  else
19828255a313Smrg	    rm -rf conftest.one conftest.two conftest.dir
19838255a313Smrg	    echo one > conftest.one
19848255a313Smrg	    echo two > conftest.two
19858255a313Smrg	    mkdir conftest.dir
19863d13e800Smrg	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
19878255a313Smrg	      test -s conftest.one && test -s conftest.two &&
19888255a313Smrg	      test -s conftest.dir/conftest.one &&
19898255a313Smrg	      test -s conftest.dir/conftest.two
19908255a313Smrg	    then
19913d13e800Smrg	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
19928255a313Smrg	      break 3
19938255a313Smrg	    fi
199492bb16f8Smrg	  fi
199592bb16f8Smrg	fi
199692bb16f8Smrg      done
199792bb16f8Smrg    done
199892bb16f8Smrg    ;;
199992bb16f8Smrgesac
20008255a313Smrg
2001de7ed6e8Smrg  done
200292bb16f8SmrgIFS=$as_save_IFS
200392bb16f8Smrg
20048255a313Smrgrm -rf conftest.one conftest.two conftest.dir
2005187ef25fSmrg ;;
2006187ef25fSmrgesac
200792bb16f8Smrgfi
20083d13e800Smrg  if test ${ac_cv_path_install+y}; then
200992bb16f8Smrg    INSTALL=$ac_cv_path_install
201092bb16f8Smrg  else
201192bb16f8Smrg    # As a last resort, use the slow shell script.  Don't cache a
201292bb16f8Smrg    # value for INSTALL within a source directory, because that will
201392bb16f8Smrg    # break other packages using the cache if that directory is
201492bb16f8Smrg    # removed, or if the value is a relative name.
201592bb16f8Smrg    INSTALL=$ac_install_sh
201692bb16f8Smrg  fi
201792bb16f8Smrgfi
20183d13e800Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
20193d13e800Smrgprintf "%s\n" "$INSTALL" >&6; }
202092bb16f8Smrg
202192bb16f8Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
202292bb16f8Smrg# It thinks the first close brace ends the variable substitution.
202392bb16f8Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
202492bb16f8Smrg
202592bb16f8Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
202692bb16f8Smrg
202792bb16f8Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
202892bb16f8Smrg
20293d13e800Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
20303d13e800Smrgprintf %s "checking whether build environment is sane... " >&6; }
20318255a313Smrg# Reject unsafe characters in $srcdir or the absolute working directory
20328255a313Smrg# name.  Accept space and tab only in the latter.
20338255a313Smrgam_lf='
20348255a313Smrg'
20358255a313Smrgcase `pwd` in
20368255a313Smrg  *[\\\"\#\$\&\'\`$am_lf]*)
2037de7ed6e8Smrg    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
20388255a313Smrgesac
20398255a313Smrgcase $srcdir in
20408255a313Smrg  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
204101395c31Smrg    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
20428255a313Smrgesac
20438255a313Smrg
204401395c31Smrg# Do 'set' in a subshell so we don't clobber the current shell's
204592bb16f8Smrg# arguments.  Must try -L first in case configure is actually a
204692bb16f8Smrg# symlink; some systems play weird games with the mod time of symlinks
204792bb16f8Smrg# (eg FreeBSD returns the mod time of the symlink's containing
204892bb16f8Smrg# directory).
204992bb16f8Smrgif (
205001395c31Smrg   am_has_slept=no
205101395c31Smrg   for am_try in 1 2; do
205201395c31Smrg     echo "timestamp, slept: $am_has_slept" > conftest.file
205301395c31Smrg     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
205401395c31Smrg     if test "$*" = "X"; then
205501395c31Smrg	# -L didn't work.
205601395c31Smrg	set X `ls -t "$srcdir/configure" conftest.file`
205701395c31Smrg     fi
205801395c31Smrg     if test "$*" != "X $srcdir/configure conftest.file" \
205901395c31Smrg	&& test "$*" != "X conftest.file $srcdir/configure"; then
206001395c31Smrg
206101395c31Smrg	# If neither matched, then we have a broken ls.  This can happen
206201395c31Smrg	# if, for instance, CONFIG_SHELL is bash and it inherits a
206301395c31Smrg	# broken ls alias from the environment.  This has actually
206401395c31Smrg	# happened.  Such a system could not be considered "sane".
206501395c31Smrg	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
206601395c31Smrg  alias in your environment" "$LINENO" 5
206701395c31Smrg     fi
206801395c31Smrg     if test "$2" = conftest.file || test $am_try -eq 2; then
206901395c31Smrg       break
207001395c31Smrg     fi
207101395c31Smrg     # Just in case.
207201395c31Smrg     sleep 1
207301395c31Smrg     am_has_slept=yes
207401395c31Smrg   done
207592bb16f8Smrg   test "$2" = conftest.file
207692bb16f8Smrg   )
207792bb16f8Smrgthen
207892bb16f8Smrg   # Ok.
207992bb16f8Smrg   :
208092bb16f8Smrgelse
2081de7ed6e8Smrg   as_fn_error $? "newly created file is older than distributed files!
2082de7ed6e8SmrgCheck your system clock" "$LINENO" 5
208392bb16f8Smrgfi
20843d13e800Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20853d13e800Smrgprintf "%s\n" "yes" >&6; }
208601395c31Smrg# If we didn't sleep, we still need to ensure time stamps of config.status and
208701395c31Smrg# generated files are strictly newer.
208801395c31Smrgam_sleep_pid=
208901395c31Smrgif grep 'slept: no' conftest.file >/dev/null 2>&1; then
209001395c31Smrg  ( sleep 1 ) &
209101395c31Smrg  am_sleep_pid=$!
209201395c31Smrgfi
209301395c31Smrg
209401395c31Smrgrm -f conftest.file
209501395c31Smrg
209692bb16f8Smrgtest "$program_prefix" != NONE &&
209792bb16f8Smrg  program_transform_name="s&^&$program_prefix&;$program_transform_name"
209892bb16f8Smrg# Use a double $ so make ignores it.
209992bb16f8Smrgtest "$program_suffix" != NONE &&
210092bb16f8Smrg  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
21018255a313Smrg# Double any \ or $.
2102187ef25fSmrg# By default was 's,x,x', remove it if useless.
21038255a313Smrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
21043d13e800Smrgprogram_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
21053d13e800Smrg
210692bb16f8Smrg
210701395c31Smrg# Expand $ac_aux_dir to an absolute path.
210801395c31Smrgam_aux_dir=`cd "$ac_aux_dir" && pwd`
210992bb16f8Smrg
21103d13e800Smrg
21113d13e800Smrg  if test x"${MISSING+set}" != xset; then
21123d13e800Smrg  MISSING="\${SHELL} '$am_aux_dir/missing'"
21138255a313Smrgfi
211492bb16f8Smrg# Use eval to expand $SHELL
211501395c31Smrgif eval "$MISSING --is-lightweight"; then
211601395c31Smrg  am_missing_run="$MISSING "
211792bb16f8Smrgelse
211892bb16f8Smrg  am_missing_run=
21193d13e800Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
21203d13e800Smrgprintf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
212192bb16f8Smrgfi
212292bb16f8Smrg
212301395c31Smrgif test x"${install_sh+set}" != xset; then
21248255a313Smrg  case $am_aux_dir in
21258255a313Smrg  *\ * | *\	*)
21268255a313Smrg    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
21278255a313Smrg  *)
21288255a313Smrg    install_sh="\${SHELL} $am_aux_dir/install-sh"
21298255a313Smrg  esac
21308255a313Smrgfi
21318255a313Smrg
213201395c31Smrg# Installed binaries are usually stripped using 'strip' when the user
213301395c31Smrg# run "make install-strip".  However 'strip' might not be the right
21348255a313Smrg# tool to use in cross-compilation environments, therefore Automake
213501395c31Smrg# will honor the 'STRIP' environment variable to overrule this program.
21368255a313Smrgif test "$cross_compiling" != no; then
21378255a313Smrg  if test -n "$ac_tool_prefix"; then
21388255a313Smrg  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
21398255a313Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2
21403d13e800Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21413d13e800Smrgprintf %s "checking for $ac_word... " >&6; }
21423d13e800Smrgif test ${ac_cv_prog_STRIP+y}
21433d13e800Smrgthen :
21443d13e800Smrg  printf %s "(cached) " >&6
2145187ef25fSmrgelse case e in #(
2146187ef25fSmrg  e) if test -n "$STRIP"; then
21478255a313Smrg  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
214892bb16f8Smrgelse
214992bb16f8Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
215092bb16f8Smrgfor as_dir in $PATH
215192bb16f8Smrgdo
215292bb16f8Smrg  IFS=$as_save_IFS
21533d13e800Smrg  case $as_dir in #(((
21543d13e800Smrg    '') as_dir=./ ;;
21553d13e800Smrg    */) ;;
21563d13e800Smrg    *) as_dir=$as_dir/ ;;
21573d13e800Smrg  esac
2158de7ed6e8Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
21593d13e800Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
21608255a313Smrg    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
21613d13e800Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
216292bb16f8Smrg    break 2
216392bb16f8Smrg  fi
216492bb16f8Smrgdone
2165de7ed6e8Smrg  done
216692bb16f8SmrgIFS=$as_save_IFS
216792bb16f8Smrg
2168187ef25fSmrgfi ;;
2169187ef25fSmrgesac
217092bb16f8Smrgfi
21718255a313SmrgSTRIP=$ac_cv_prog_STRIP
21728255a313Smrgif test -n "$STRIP"; then
21733d13e800Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
21743d13e800Smrgprintf "%s\n" "$STRIP" >&6; }
217592bb16f8Smrgelse
21763d13e800Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21773d13e800Smrgprintf "%s\n" "no" >&6; }
217892bb16f8Smrgfi
217992bb16f8Smrg
218092bb16f8Smrg
21818255a313Smrgfi
21828255a313Smrgif test -z "$ac_cv_prog_STRIP"; then
21838255a313Smrg  ac_ct_STRIP=$STRIP
21848255a313Smrg  # Extract the first word of "strip", so it can be a program name with args.
21858255a313Smrgset dummy strip; ac_word=$2
21863d13e800Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21873d13e800Smrgprintf %s "checking for $ac_word... " >&6; }
21883d13e800Smrgif test ${ac_cv_prog_ac_ct_STRIP+y}
21893d13e800Smrgthen :
21903d13e800Smrg  printf %s "(cached) " >&6
2191187ef25fSmrgelse case e in #(
2192187ef25fSmrg  e) if test -n "$ac_ct_STRIP"; then
21938255a313Smrg  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
21948255a313Smrgelse
21958255a313Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21968255a313Smrgfor as_dir in $PATH
21978255a313Smrgdo
21988255a313Smrg  IFS=$as_save_IFS
21993d13e800Smrg  case $as_dir in #(((
22003d13e800Smrg    '') as_dir=./ ;;
22013d13e800Smrg    */) ;;
22023d13e800Smrg    *) as_dir=$as_dir/ ;;
22033d13e800Smrg  esac
2204de7ed6e8Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
22053d13e800Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
22068255a313Smrg    ac_cv_prog_ac_ct_STRIP="strip"
22073d13e800Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
22088255a313Smrg    break 2
22098255a313Smrg  fi
22108255a313Smrgdone
2211de7ed6e8Smrg  done
22128255a313SmrgIFS=$as_save_IFS
221392bb16f8Smrg
2214187ef25fSmrgfi ;;
2215187ef25fSmrgesac
22168255a313Smrgfi
22178255a313Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
22188255a313Smrgif test -n "$ac_ct_STRIP"; then
22193d13e800Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
22203d13e800Smrgprintf "%s\n" "$ac_ct_STRIP" >&6; }
22218255a313Smrgelse
22223d13e800Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22233d13e800Smrgprintf "%s\n" "no" >&6; }
22248255a313Smrgfi
22258255a313Smrg
22268255a313Smrg  if test "x$ac_ct_STRIP" = x; then
22278255a313Smrg    STRIP=":"
22288255a313Smrg  else
22298255a313Smrg    case $cross_compiling:$ac_tool_warned in
22308255a313Smrgyes:)
22313d13e800Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
22323d13e800Smrgprintf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22338255a313Smrgac_tool_warned=yes ;;
22348255a313Smrgesac
22358255a313Smrg    STRIP=$ac_ct_STRIP
22368255a313Smrg  fi
22378255a313Smrgelse
22388255a313Smrg  STRIP="$ac_cv_prog_STRIP"
22398255a313Smrgfi
22408255a313Smrg
22418255a313Smrgfi
22428255a313SmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
22438255a313Smrg
22443d13e800Smrg
22453d13e800Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
22463d13e800Smrgprintf %s "checking for a race-free mkdir -p... " >&6; }
22478255a313Smrgif test -z "$MKDIR_P"; then
22483d13e800Smrg  if test ${ac_cv_path_mkdir+y}
22493d13e800Smrgthen :
22503d13e800Smrg  printf %s "(cached) " >&6
2251187ef25fSmrgelse case e in #(
2252187ef25fSmrg  e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22538255a313Smrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
22548255a313Smrgdo
22558255a313Smrg  IFS=$as_save_IFS
22563d13e800Smrg  case $as_dir in #(((
22573d13e800Smrg    '') as_dir=./ ;;
22583d13e800Smrg    */) ;;
22593d13e800Smrg    *) as_dir=$as_dir/ ;;
22603d13e800Smrg  esac
2261de7ed6e8Smrg    for ac_prog in mkdir gmkdir; do
22628255a313Smrg	 for ac_exec_ext in '' $ac_executable_extensions; do
22633d13e800Smrg	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
22643d13e800Smrg	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
22653d13e800Smrg	     'mkdir ('*'coreutils) '* | \
2266187ef25fSmrg	     *'BusyBox '* | \
22678255a313Smrg	     'mkdir (fileutils) '4.1*)
22683d13e800Smrg	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
22698255a313Smrg	       break 3;;
22708255a313Smrg	   esac
22718255a313Smrg	 done
22728255a313Smrg       done
2273de7ed6e8Smrg  done
22748255a313SmrgIFS=$as_save_IFS
2275187ef25fSmrg ;;
2276187ef25fSmrgesac
22778255a313Smrgfi
22788255a313Smrg
2279de7ed6e8Smrg  test -d ./--version && rmdir ./--version
22803d13e800Smrg  if test ${ac_cv_path_mkdir+y}; then
22818255a313Smrg    MKDIR_P="$ac_cv_path_mkdir -p"
22828255a313Smrg  else
2283187ef25fSmrg    # As a last resort, use plain mkdir -p,
2284187ef25fSmrg    # in the hope it doesn't have the bugs of ancient mkdir.
2285187ef25fSmrg    MKDIR_P='mkdir -p'
22868255a313Smrg  fi
22878255a313Smrgfi
22883d13e800Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
22893d13e800Smrgprintf "%s\n" "$MKDIR_P" >&6; }
22908255a313Smrg
22918255a313Smrgfor ac_prog in gawk mawk nawk awk
22928255a313Smrgdo
22938255a313Smrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
22948255a313Smrgset dummy $ac_prog; ac_word=$2
22953d13e800Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22963d13e800Smrgprintf %s "checking for $ac_word... " >&6; }
22973d13e800Smrgif test ${ac_cv_prog_AWK+y}
22983d13e800Smrgthen :
22993d13e800Smrg  printf %s "(cached) " >&6
2300187ef25fSmrgelse case e in #(
2301187ef25fSmrg  e) if test -n "$AWK"; then
23028255a313Smrg  ac_cv_prog_AWK="$AWK" # Let the user override the test.
23038255a313Smrgelse
23048255a313Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23058255a313Smrgfor as_dir in $PATH
23068255a313Smrgdo
23078255a313Smrg  IFS=$as_save_IFS
23083d13e800Smrg  case $as_dir in #(((
23093d13e800Smrg    '') as_dir=./ ;;
23103d13e800Smrg    */) ;;
23113d13e800Smrg    *) as_dir=$as_dir/ ;;
23123d13e800Smrg  esac
2313de7ed6e8Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
23143d13e800Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
23158255a313Smrg    ac_cv_prog_AWK="$ac_prog"
23163d13e800Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
23178255a313Smrg    break 2
23188255a313Smrg  fi
23198255a313Smrgdone
2320de7ed6e8Smrg  done
23218255a313SmrgIFS=$as_save_IFS
23228255a313Smrg
2323187ef25fSmrgfi ;;
2324187ef25fSmrgesac
23258255a313Smrgfi
23268255a313SmrgAWK=$ac_cv_prog_AWK
23278255a313Smrgif test -n "$AWK"; then
23283d13e800Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
23293d13e800Smrgprintf "%s\n" "$AWK" >&6; }
23308255a313Smrgelse
23313d13e800Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23323d13e800Smrgprintf "%s\n" "no" >&6; }
23338255a313Smrgfi
23348255a313Smrg
23358255a313Smrg
23368255a313Smrg  test -n "$AWK" && break
23378255a313Smrgdone
23388255a313Smrg
23393d13e800Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
23403d13e800Smrgprintf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
23418255a313Smrgset x ${MAKE-make}
23423d13e800Smrgac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
23433d13e800Smrgif eval test \${ac_cv_prog_make_${ac_make}_set+y}
23443d13e800Smrgthen :
23453d13e800Smrg  printf %s "(cached) " >&6
2346187ef25fSmrgelse case e in #(
2347187ef25fSmrg  e) cat >conftest.make <<\_ACEOF
234892bb16f8SmrgSHELL = /bin/sh
234992bb16f8Smrgall:
235092bb16f8Smrg	@echo '@@@%%%=$(MAKE)=@@@%%%'
235192bb16f8Smrg_ACEOF
2352de7ed6e8Smrg# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
235392bb16f8Smrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in
235492bb16f8Smrg  *@@@%%%=?*=@@@%%%*)
235592bb16f8Smrg    eval ac_cv_prog_make_${ac_make}_set=yes;;
235692bb16f8Smrg  *)
235792bb16f8Smrg    eval ac_cv_prog_make_${ac_make}_set=no;;
235892bb16f8Smrgesac
2359187ef25fSmrgrm -f conftest.make ;;
2360187ef25fSmrgesac
236192bb16f8Smrgfi
236292bb16f8Smrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
23633d13e800Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23643d13e800Smrgprintf "%s\n" "yes" >&6; }
236592bb16f8Smrg  SET_MAKE=
236692bb16f8Smrgelse
23673d13e800Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23683d13e800Smrgprintf "%s\n" "no" >&6; }
236992bb16f8Smrg  SET_MAKE="MAKE=${MAKE-make}"
237092bb16f8Smrgfi
237192bb16f8Smrg
237292bb16f8Smrgrm -rf .tst 2>/dev/null
237392bb16f8Smrgmkdir .tst 2>/dev/null
237492bb16f8Smrgif test -d .tst; then
237592bb16f8Smrg  am__leading_dot=.
237692bb16f8Smrgelse
237792bb16f8Smrg  am__leading_dot=_
237892bb16f8Smrgfi
237992bb16f8Smrgrmdir .tst 2>/dev/null
238092bb16f8Smrg
238101395c31Smrg# Check whether --enable-silent-rules was given.
23823d13e800Smrgif test ${enable_silent_rules+y}
23833d13e800Smrgthen :
238401395c31Smrg  enableval=$enable_silent_rules;
238501395c31Smrgfi
238601395c31Smrg
238701395c31Smrgcase $enable_silent_rules in # (((
238801395c31Smrg  yes) AM_DEFAULT_VERBOSITY=0;;
238901395c31Smrg   no) AM_DEFAULT_VERBOSITY=1;;
239001395c31Smrg    *) AM_DEFAULT_VERBOSITY=1;;
239101395c31Smrgesac
239201395c31Smrgam_make=${MAKE-make}
23933d13e800Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
23943d13e800Smrgprintf %s "checking whether $am_make supports nested variables... " >&6; }
23953d13e800Smrgif test ${am_cv_make_support_nested_variables+y}
23963d13e800Smrgthen :
23973d13e800Smrg  printf %s "(cached) " >&6
2398187ef25fSmrgelse case e in #(
2399187ef25fSmrg  e) if printf "%s\n" 'TRUE=$(BAR$(V))
240001395c31SmrgBAR0=false
240101395c31SmrgBAR1=true
240201395c31SmrgV=1
240301395c31Smrgam__doit:
240401395c31Smrg	@$(TRUE)
240501395c31Smrg.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
240601395c31Smrg  am_cv_make_support_nested_variables=yes
240701395c31Smrgelse
240801395c31Smrg  am_cv_make_support_nested_variables=no
2409187ef25fSmrgfi ;;
2410187ef25fSmrgesac
241101395c31Smrgfi
24123d13e800Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
24133d13e800Smrgprintf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
241401395c31Smrgif test $am_cv_make_support_nested_variables = yes; then
241501395c31Smrg    AM_V='$(V)'
241601395c31Smrg  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
241701395c31Smrgelse
241801395c31Smrg  AM_V=$AM_DEFAULT_VERBOSITY
241901395c31Smrg  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
242001395c31Smrgfi
242101395c31SmrgAM_BACKSLASH='\'
242201395c31Smrg
24238255a313Smrgif test "`cd $srcdir && pwd`" != "`pwd`"; then
24248255a313Smrg  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
24258255a313Smrg  # is not polluted with repeated "-I."
24268255a313Smrg  am__isrc=' -I$(srcdir)'
24278255a313Smrg  # test to see if srcdir already configured
24288255a313Smrg  if test -f $srcdir/config.status; then
2429de7ed6e8Smrg    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
24308255a313Smrg  fi
243192bb16f8Smrgfi
243292bb16f8Smrg
243392bb16f8Smrg# test whether we have cygpath
243492bb16f8Smrgif test -z "$CYGPATH_W"; then
243592bb16f8Smrg  if (cygpath --version) >/dev/null 2>/dev/null; then
243692bb16f8Smrg    CYGPATH_W='cygpath -w'
243792bb16f8Smrg  else
243892bb16f8Smrg    CYGPATH_W=echo
243992bb16f8Smrg  fi
244092bb16f8Smrgfi
244192bb16f8Smrg
244292bb16f8Smrg
244392bb16f8Smrg# Define the identity of the package.
244492bb16f8Smrg PACKAGE='encodings'
2445187ef25fSmrg VERSION='1.1.0'
244692bb16f8Smrg
244792bb16f8Smrg
24483d13e800Smrgprintf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
244992bb16f8Smrg
245092bb16f8Smrg
24513d13e800Smrgprintf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
245292bb16f8Smrg
245392bb16f8Smrg# Some tools Automake needs.
245492bb16f8Smrg
245592bb16f8SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
245692bb16f8Smrg
245792bb16f8Smrg
245892bb16f8SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
245992bb16f8Smrg
246092bb16f8Smrg
246192bb16f8SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
246292bb16f8Smrg
246392bb16f8Smrg
246492bb16f8SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
246592bb16f8Smrg
246692bb16f8Smrg
246792bb16f8SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
246892bb16f8Smrg
246901395c31Smrg# For better backward compatibility.  To be removed once Automake 1.9.x
247001395c31Smrg# dies out for good.  For more background, see:
247101395c31Smrg# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
247201395c31Smrg# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
247301395c31Smrgmkdir_p='$(MKDIR_P)'
247492bb16f8Smrg
247501395c31Smrg# We need awk for the "check" target (and possibly the TAP driver).  The
247601395c31Smrg# system "awk" is bad on some platforms.
247701395c31Smrg# Always define AMTAR for backward compatibility.  Yes, it's still used
247801395c31Smrg# in the wild :-(  We should find a proper way to deprecate it ...
247901395c31SmrgAMTAR='$${TAR-tar}'
24808255a313Smrg
24818255a313Smrg
248201395c31Smrg# We'll loop over all known methods to create a tar archive until one works.
248301395c31Smrg_am_tools='gnutar  pax cpio none'
24848255a313Smrg
248501395c31Smrgam__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
24868255a313Smrg
24878255a313Smrg
24888255a313Smrg
24898255a313Smrg
2490de7ed6e8Smrg
24913d13e800Smrg# Variables for tags utilities; see am/tags.am
24923d13e800Smrgif test -z "$CTAGS"; then
24933d13e800Smrg  CTAGS=ctags
24943d13e800Smrgfi
24953d13e800Smrg
24963d13e800Smrgif test -z "$ETAGS"; then
24973d13e800Smrg  ETAGS=etags
24983d13e800Smrgfi
24993d13e800Smrg
25003d13e800Smrgif test -z "$CSCOPE"; then
25013d13e800Smrg  CSCOPE=cscope
25023d13e800Smrgfi
25033d13e800Smrg
25043d13e800Smrg
2505de7ed6e8Smrg
250601395c31Smrg# POSIX will say in a future version that running "rm -f" with no argument
250701395c31Smrg# is OK; and we want to be able to make that assumption in our Makefile
250801395c31Smrg# recipes.  So use an aggressive probe to check that the usage we want is
250901395c31Smrg# actually supported "in the wild" to an acceptable degree.
251001395c31Smrg# See automake bug#10828.
251101395c31Smrg# To make any issue more visible, cause the running configure to be aborted
251201395c31Smrg# by default if the 'rm' program in use doesn't match our expectations; the
251301395c31Smrg# user can still override this though.
251401395c31Smrgif rm -f && rm -fr && rm -rf; then : OK; else
251501395c31Smrg  cat >&2 <<'END'
251601395c31SmrgOops!
251701395c31Smrg
251801395c31SmrgYour 'rm' program seems unable to run without file operands specified
251901395c31Smrgon the command line, even when the '-f' option is present.  This is contrary
252001395c31Smrgto the behaviour of most rm programs out there, and not conforming with
252101395c31Smrgthe upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
252201395c31Smrg
252301395c31SmrgPlease tell bug-automake@gnu.org about your system, including the value
252401395c31Smrgof your $PATH and any error possibly output before this message.  This
252501395c31Smrgcan help us improve future automake versions.
252601395c31Smrg
252701395c31SmrgEND
252801395c31Smrg  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
252901395c31Smrg    echo 'Configuration will proceed anyway, since you have set the' >&2
253001395c31Smrg    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
253101395c31Smrg    echo >&2
253201395c31Smrg  else
253301395c31Smrg    cat >&2 <<'END'
253401395c31SmrgAborting the configuration process, to ensure you take notice of the issue.
253501395c31Smrg
253601395c31SmrgYou can download and install GNU coreutils to get an 'rm' implementation
253701395c31Smrgthat behaves properly: <https://www.gnu.org/software/coreutils/>.
253801395c31Smrg
253901395c31SmrgIf you want to complete the configuration process using your problematic
254001395c31Smrg'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
254101395c31Smrgto "yes", and re-run configure.
2542de7ed6e8Smrg
254301395c31SmrgEND
254401395c31Smrg    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
254501395c31Smrg  fi
254601395c31Smrgfi
2547de7ed6e8Smrg
2548de7ed6e8Smrg
254922138c50Smrg# Require xorg-macros 1.20 or later: XORG_DEFAULT_NOCODE_OPTIONS
25508255a313Smrg
25518255a313Smrg
25528255a313Smrg
25538255a313Smrg
25548255a313Smrg
25558255a313Smrg
25568255a313Smrg
25573d13e800Smrg
25583d13e800Smrg
25593d13e800Smrg
25603d13e800Smrg
25613d13e800Smrg
25623d13e800Smrg
25633d13e800Smrg
25643d13e800Smrg
25653d13e800Smrg
25668255a313Smrg
25678255a313Smrg
256822138c50Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
256922138c50Smrg	if test -n "$ac_tool_prefix"; then
257022138c50Smrg  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
257122138c50Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25723d13e800Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25733d13e800Smrgprintf %s "checking for $ac_word... " >&6; }
257422138c50Smrgif test ${ac_cv_path_PKG_CONFIG+y}
25753d13e800Smrgthen :
25763d13e800Smrg  printf %s "(cached) " >&6
2577187ef25fSmrgelse case e in #(
2578187ef25fSmrg  e) case $PKG_CONFIG in
257922138c50Smrg  [\\/]* | ?:[\\/]*)
258022138c50Smrg  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
258122138c50Smrg  ;;
258222138c50Smrg  *)
258322138c50Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
258492bb16f8Smrgfor as_dir in $PATH
258592bb16f8Smrgdo
258692bb16f8Smrg  IFS=$as_save_IFS
25873d13e800Smrg  case $as_dir in #(((
25883d13e800Smrg    '') as_dir=./ ;;
25893d13e800Smrg    */) ;;
25903d13e800Smrg    *) as_dir=$as_dir/ ;;
25913d13e800Smrg  esac
2592de7ed6e8Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
25933d13e800Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
259422138c50Smrg    ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
25953d13e800Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
259692bb16f8Smrg    break 2
259792bb16f8Smrg  fi
259892bb16f8Smrgdone
2599de7ed6e8Smrg  done
260092bb16f8SmrgIFS=$as_save_IFS
260192bb16f8Smrg
260222138c50Smrg  ;;
2603187ef25fSmrgesac ;;
260422138c50Smrgesac
260592bb16f8Smrgfi
260622138c50SmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG
260722138c50Smrgif test -n "$PKG_CONFIG"; then
260822138c50Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
260922138c50Smrgprintf "%s\n" "$PKG_CONFIG" >&6; }
261092bb16f8Smrgelse
26113d13e800Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26123d13e800Smrgprintf "%s\n" "no" >&6; }
261392bb16f8Smrgfi
261492bb16f8Smrg
261592bb16f8Smrg
261692bb16f8Smrgfi
261722138c50Smrgif test -z "$ac_cv_path_PKG_CONFIG"; then
261822138c50Smrg  ac_pt_PKG_CONFIG=$PKG_CONFIG
261922138c50Smrg  # Extract the first word of "pkg-config", so it can be a program name with args.
262022138c50Smrgset dummy pkg-config; ac_word=$2
26213d13e800Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26223d13e800Smrgprintf %s "checking for $ac_word... " >&6; }
262322138c50Smrgif test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
26243d13e800Smrgthen :
26253d13e800Smrg  printf %s "(cached) " >&6
2626187ef25fSmrgelse case e in #(
2627187ef25fSmrg  e) case $ac_pt_PKG_CONFIG in
262822138c50Smrg  [\\/]* | ?:[\\/]*)
262922138c50Smrg  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
263022138c50Smrg  ;;
263122138c50Smrg  *)
263222138c50Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
263392bb16f8Smrgfor as_dir in $PATH
263492bb16f8Smrgdo
263592bb16f8Smrg  IFS=$as_save_IFS
26363d13e800Smrg  case $as_dir in #(((
26373d13e800Smrg    '') as_dir=./ ;;
26383d13e800Smrg    */) ;;
26393d13e800Smrg    *) as_dir=$as_dir/ ;;
26403d13e800Smrg  esac
2641de7ed6e8Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
26423d13e800Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
264322138c50Smrg    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
26443d13e800Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
264592bb16f8Smrg    break 2
264692bb16f8Smrg  fi
264792bb16f8Smrgdone
2648de7ed6e8Smrg  done
264992bb16f8SmrgIFS=$as_save_IFS
265092bb16f8Smrg
265122138c50Smrg  ;;
2652187ef25fSmrgesac ;;
265322138c50Smrgesac
265492bb16f8Smrgfi
265522138c50Smrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
265622138c50Smrgif test -n "$ac_pt_PKG_CONFIG"; then
265722138c50Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
265822138c50Smrgprintf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
265992bb16f8Smrgelse
26603d13e800Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26613d13e800Smrgprintf "%s\n" "no" >&6; }
266292bb16f8Smrgfi
266392bb16f8Smrg
266422138c50Smrg  if test "x$ac_pt_PKG_CONFIG" = x; then
266522138c50Smrg    PKG_CONFIG=""
266692bb16f8Smrg  else
266792bb16f8Smrg    case $cross_compiling:$ac_tool_warned in
266892bb16f8Smrgyes:)
26693d13e800Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26703d13e800Smrgprintf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
267192bb16f8Smrgac_tool_warned=yes ;;
267292bb16f8Smrgesac
267322138c50Smrg    PKG_CONFIG=$ac_pt_PKG_CONFIG
267492bb16f8Smrg  fi
267592bb16f8Smrgelse
267622138c50Smrg  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
267792bb16f8Smrgfi
267892bb16f8Smrg
267922138c50Smrgfi
268022138c50Smrgif test -n "$PKG_CONFIG"; then
268122138c50Smrg	_pkg_min_version=0.9.0
268222138c50Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
268322138c50Smrgprintf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
268422138c50Smrg	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
268522138c50Smrg		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
268622138c50Smrgprintf "%s\n" "yes" >&6; }
268722138c50Smrg	else
268822138c50Smrg		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
268922138c50Smrgprintf "%s\n" "no" >&6; }
269022138c50Smrg		PKG_CONFIG=""
269122138c50Smrg	fi
269222138c50Smrgfi
269322138c50Smrg
269422138c50Smrg
269522138c50Smrg  # Make sure we can run config.sub.
269622138c50Smrg$SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
269722138c50Smrg  as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
269822138c50Smrg
269922138c50Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
270022138c50Smrgprintf %s "checking build system type... " >&6; }
270122138c50Smrgif test ${ac_cv_build+y}
27023d13e800Smrgthen :
27033d13e800Smrg  printf %s "(cached) " >&6
2704187ef25fSmrgelse case e in #(
2705187ef25fSmrg  e) ac_build_alias=$build_alias
270622138c50Smrgtest "x$ac_build_alias" = x &&
270722138c50Smrg  ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
270822138c50Smrgtest "x$ac_build_alias" = x &&
270922138c50Smrg  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
271022138c50Smrgac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
271122138c50Smrg  as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
2712187ef25fSmrg ;;
2713187ef25fSmrgesac
27148255a313Smrgfi
271522138c50Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
271622138c50Smrgprintf "%s\n" "$ac_cv_build" >&6; }
271722138c50Smrgcase $ac_cv_build in
271822138c50Smrg*-*-*) ;;
271922138c50Smrg*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
272022138c50Smrgesac
272122138c50Smrgbuild=$ac_cv_build
272222138c50Smrgac_save_IFS=$IFS; IFS='-'
272322138c50Smrgset x $ac_cv_build
272422138c50Smrgshift
272522138c50Smrgbuild_cpu=$1
272622138c50Smrgbuild_vendor=$2
272722138c50Smrgshift; shift
272822138c50Smrg# Remember, the first character of IFS is used to create $*,
272922138c50Smrg# except with old shells:
273022138c50Smrgbuild_os=$*
273122138c50SmrgIFS=$ac_save_IFS
273222138c50Smrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
273392bb16f8Smrg
273492bb16f8Smrg
273522138c50Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
273622138c50Smrgprintf %s "checking host system type... " >&6; }
273722138c50Smrgif test ${ac_cv_host+y}
27383d13e800Smrgthen :
27393d13e800Smrg  printf %s "(cached) " >&6
2740187ef25fSmrgelse case e in #(
2741187ef25fSmrg  e) if test "x$host_alias" = x; then
274222138c50Smrg  ac_cv_host=$ac_cv_build
27438255a313Smrgelse
274422138c50Smrg  ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
274522138c50Smrg    as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
274601395c31Smrgfi
2747187ef25fSmrg ;;
2748187ef25fSmrgesac
274901395c31Smrgfi
275022138c50Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
275122138c50Smrgprintf "%s\n" "$ac_cv_host" >&6; }
275222138c50Smrgcase $ac_cv_host in
275322138c50Smrg*-*-*) ;;
275422138c50Smrg*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
275522138c50Smrgesac
275622138c50Smrghost=$ac_cv_host
275722138c50Smrgac_save_IFS=$IFS; IFS='-'
275822138c50Smrgset x $ac_cv_host
275922138c50Smrgshift
276022138c50Smrghost_cpu=$1
276122138c50Smrghost_vendor=$2
276222138c50Smrgshift; shift
276322138c50Smrg# Remember, the first character of IFS is used to create $*,
276422138c50Smrg# except with old shells:
276522138c50Smrghost_os=$*
276622138c50SmrgIFS=$ac_save_IFS
276722138c50Smrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
276801395c31Smrg
276901395c31Smrg
277022138c50Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
277122138c50Smrgprintf %s "checking for a sed that does not truncate output... " >&6; }
277222138c50Smrgif test ${ac_cv_path_SED+y}
27733d13e800Smrgthen :
27743d13e800Smrg  printf %s "(cached) " >&6
2775187ef25fSmrgelse case e in #(
2776187ef25fSmrg  e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
277722138c50Smrg     for ac_i in 1 2 3 4 5 6 7; do
277822138c50Smrg       ac_script="$ac_script$as_nl$ac_script"
277922138c50Smrg     done
278022138c50Smrg     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
278122138c50Smrg     { ac_script=; unset ac_script;}
278222138c50Smrg     if test -z "$SED"; then
278322138c50Smrg  ac_path_SED_found=false
278422138c50Smrg  # Loop through the user's path and test for each of PROGNAME-LIST
278522138c50Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
278622138c50Smrgfor as_dir in $PATH
278722138c50Smrgdo
278822138c50Smrg  IFS=$as_save_IFS
278922138c50Smrg  case $as_dir in #(((
279022138c50Smrg    '') as_dir=./ ;;
279122138c50Smrg    */) ;;
279222138c50Smrg    *) as_dir=$as_dir/ ;;
279322138c50Smrg  esac
279422138c50Smrg    for ac_prog in sed gsed
279522138c50Smrg   do
279622138c50Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
279722138c50Smrg      ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
279822138c50Smrg      as_fn_executable_p "$ac_path_SED" || continue
279922138c50Smrg# Check for GNU ac_path_SED and select it if it is found.
280022138c50Smrg  # Check for GNU $ac_path_SED
2801187ef25fSmrgcase `"$ac_path_SED" --version 2>&1` in #(
280222138c50Smrg*GNU*)
280322138c50Smrg  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2804187ef25fSmrg#(
280522138c50Smrg*)
280622138c50Smrg  ac_count=0
280722138c50Smrg  printf %s 0123456789 >"conftest.in"
280822138c50Smrg  while :
280922138c50Smrg  do
281022138c50Smrg    cat "conftest.in" "conftest.in" >"conftest.tmp"
281122138c50Smrg    mv "conftest.tmp" "conftest.in"
281222138c50Smrg    cp "conftest.in" "conftest.nl"
281322138c50Smrg    printf "%s\n" '' >> "conftest.nl"
281422138c50Smrg    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
281522138c50Smrg    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
281622138c50Smrg    as_fn_arith $ac_count + 1 && ac_count=$as_val
281722138c50Smrg    if test $ac_count -gt ${ac_path_SED_max-0}; then
281822138c50Smrg      # Best one so far, save it but keep looking for a better one
281922138c50Smrg      ac_cv_path_SED="$ac_path_SED"
282022138c50Smrg      ac_path_SED_max=$ac_count
282122138c50Smrg    fi
282222138c50Smrg    # 10*(2^10) chars as input seems more than enough
282322138c50Smrg    test $ac_count -gt 10 && break
282422138c50Smrg  done
282522138c50Smrg  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
282622138c50Smrgesac
282701395c31Smrg
282822138c50Smrg      $ac_path_SED_found && break 3
282922138c50Smrg    done
283022138c50Smrg  done
283122138c50Smrg  done
283222138c50SmrgIFS=$as_save_IFS
283322138c50Smrg  if test -z "$ac_cv_path_SED"; then
283422138c50Smrg    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
283522138c50Smrg  fi
283622138c50Smrgelse
283722138c50Smrg  ac_cv_path_SED=$SED
283801395c31Smrgfi
2839187ef25fSmrg ;;
2840187ef25fSmrgesac
284101395c31Smrgfi
284222138c50Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
284322138c50Smrgprintf "%s\n" "$ac_cv_path_SED" >&6; }
284422138c50Smrg SED="$ac_cv_path_SED"
284522138c50Smrg  rm -f conftest.sed
284601395c31Smrg
284701395c31Smrg
284801395c31Smrg
284901395c31Smrg
285001395c31Smrg
285101395c31Smrgcat >>confdefs.h <<_ACEOF
285201395c31Smrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
285301395c31Smrg_ACEOF
285401395c31Smrg
285501395c31Smrg	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
285601395c31Smrg	if test "x$PVM" = "x"; then
285701395c31Smrg		PVM="0"
285801395c31Smrg	fi
285901395c31Smrg
28603d13e800Smrgprintf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
286101395c31Smrg
286201395c31Smrg	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
286301395c31Smrg	if test "x$PVP" = "x"; then
286401395c31Smrg		PVP="0"
286501395c31Smrg	fi
286601395c31Smrg
28673d13e800Smrgprintf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
286801395c31Smrg
286901395c31Smrg
287001395c31Smrg
287101395c31SmrgCHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
287201395c31Smrgmv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
287301395c31Smrg|| (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
287401395c31Smrgtouch \$(top_srcdir)/ChangeLog; \
287501395c31Smrgecho 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
287601395c31Smrg
287701395c31Smrg
287801395c31Smrg
287901395c31Smrg
288001395c31Smrgmacros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
288101395c31SmrgINSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
288201395c31Smrgmv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
288301395c31Smrg|| (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
288401395c31Smrgtouch \$(top_srcdir)/INSTALL; \
288501395c31Smrgecho 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
288601395c31Smrg
288701395c31Smrg
288801395c31Smrg
288901395c31Smrg
289001395c31Smrg
289101395c31Smrg
289201395c31Smrgcase $host_os in
289301395c31Smrg    solaris*)
289401395c31Smrg        # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
289501395c31Smrg        # check for a man page file found in later versions that use
289601395c31Smrg        # traditional section numbers instead
28973d13e800Smrg        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
28983d13e800Smrgprintf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
28993d13e800Smrgif test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
29003d13e800Smrgthen :
29013d13e800Smrg  printf %s "(cached) " >&6
2902187ef25fSmrgelse case e in #(
2903187ef25fSmrg  e) test "$cross_compiling" = yes &&
290401395c31Smrg  as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
290501395c31Smrgif test -r "/usr/share/man/man7/attributes.7"; then
290601395c31Smrg  ac_cv_file__usr_share_man_man7_attributes_7=yes
290701395c31Smrgelse
290801395c31Smrg  ac_cv_file__usr_share_man_man7_attributes_7=no
2909187ef25fSmrgfi ;;
2910187ef25fSmrgesac
291101395c31Smrgfi
29123d13e800Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
29133d13e800Smrgprintf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
29143d13e800Smrgif test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
29153d13e800Smrgthen :
291601395c31Smrg  SYSV_MAN_SECTIONS=false
2917187ef25fSmrgelse case e in #(
2918187ef25fSmrg  e) SYSV_MAN_SECTIONS=true ;;
2919187ef25fSmrgesac
292001395c31Smrgfi
292101395c31Smrg
292201395c31Smrg        ;;
292301395c31Smrg    *) SYSV_MAN_SECTIONS=false ;;
292401395c31Smrgesac
292501395c31Smrg
292601395c31Smrgif test x$APP_MAN_SUFFIX = x    ; then
292701395c31Smrg    APP_MAN_SUFFIX=1
292801395c31Smrgfi
29298255a313Smrgif test x$APP_MAN_DIR = x    ; then
29308255a313Smrg    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
29318255a313Smrgfi
29328255a313Smrg
29338255a313Smrgif test x$LIB_MAN_SUFFIX = x    ; then
29348255a313Smrg    LIB_MAN_SUFFIX=3
29358255a313Smrgfi
29368255a313Smrgif test x$LIB_MAN_DIR = x    ; then
29378255a313Smrg    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
29388255a313Smrgfi
29398255a313Smrg
29408255a313Smrgif test x$FILE_MAN_SUFFIX = x    ; then
294101395c31Smrg    case $SYSV_MAN_SECTIONS in
294201395c31Smrg	true)				FILE_MAN_SUFFIX=4  ;;
294301395c31Smrg	*)				FILE_MAN_SUFFIX=5  ;;
29448255a313Smrg    esac
29458255a313Smrgfi
29468255a313Smrgif test x$FILE_MAN_DIR = x    ; then
29478255a313Smrg    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
29488255a313Smrgfi
29498255a313Smrg
29508255a313Smrgif test x$MISC_MAN_SUFFIX = x    ; then
295101395c31Smrg    case $SYSV_MAN_SECTIONS in
295201395c31Smrg	true)				MISC_MAN_SUFFIX=5  ;;
295301395c31Smrg	*)				MISC_MAN_SUFFIX=7  ;;
29548255a313Smrg    esac
29558255a313Smrgfi
29568255a313Smrgif test x$MISC_MAN_DIR = x    ; then
29578255a313Smrg    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
29588255a313Smrgfi
29598255a313Smrg
29608255a313Smrgif test x$DRIVER_MAN_SUFFIX = x    ; then
296101395c31Smrg    case $SYSV_MAN_SECTIONS in
296201395c31Smrg	true)				DRIVER_MAN_SUFFIX=7  ;;
296301395c31Smrg	*)				DRIVER_MAN_SUFFIX=4  ;;
29648255a313Smrg    esac
29658255a313Smrgfi
29668255a313Smrgif test x$DRIVER_MAN_DIR = x    ; then
29678255a313Smrg    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
29688255a313Smrgfi
29698255a313Smrg
29708255a313Smrgif test x$ADMIN_MAN_SUFFIX = x    ; then
297101395c31Smrg    case $SYSV_MAN_SECTIONS in
297201395c31Smrg	true)				ADMIN_MAN_SUFFIX=1m ;;
297301395c31Smrg	*)				ADMIN_MAN_SUFFIX=8  ;;
29748255a313Smrg    esac
29758255a313Smrgfi
29768255a313Smrgif test x$ADMIN_MAN_DIR = x    ; then
29778255a313Smrg    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
29788255a313Smrgfi
29798255a313Smrg
29808255a313Smrg
29818255a313Smrg
29828255a313Smrg
29838255a313Smrg
29848255a313Smrg
29858255a313Smrg
29868255a313Smrg
29878255a313Smrg
29888255a313Smrg
29898255a313Smrg
29908255a313Smrg
29918255a313Smrg
29928255a313Smrg
29938255a313Smrg
2994de7ed6e8SmrgXORG_MAN_PAGE="X Version 11"
29958255a313Smrg
2996de7ed6e8SmrgMAN_SUBSTS="\
2997de7ed6e8Smrg	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
2998de7ed6e8Smrg	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
2999de7ed6e8Smrg	-e 's|__xservername__|Xorg|g' \
3000de7ed6e8Smrg	-e 's|__xconfigfile__|xorg.conf|g' \
3001de7ed6e8Smrg	-e 's|__projectroot__|\$(prefix)|g' \
3002de7ed6e8Smrg	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
3003de7ed6e8Smrg	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
3004de7ed6e8Smrg	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
3005de7ed6e8Smrg	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
3006de7ed6e8Smrg	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
3007de7ed6e8Smrg	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
3008de7ed6e8Smrg	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
30098255a313Smrg
30108255a313Smrg
30118255a313Smrg
3012de7ed6e8Smrg# Check whether --enable-silent-rules was given.
30133d13e800Smrgif test ${enable_silent_rules+y}
30143d13e800Smrgthen :
3015de7ed6e8Smrg  enableval=$enable_silent_rules;
30168255a313Smrgfi
30178255a313Smrg
301801395c31Smrgcase $enable_silent_rules in # (((
301901395c31Smrg  yes) AM_DEFAULT_VERBOSITY=0;;
302001395c31Smrg   no) AM_DEFAULT_VERBOSITY=1;;
302101395c31Smrg    *) AM_DEFAULT_VERBOSITY=0;;
3022de7ed6e8Smrgesac
302301395c31Smrgam_make=${MAKE-make}
30243d13e800Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
30253d13e800Smrgprintf %s "checking whether $am_make supports nested variables... " >&6; }
30263d13e800Smrgif test ${am_cv_make_support_nested_variables+y}
30273d13e800Smrgthen :
30283d13e800Smrg  printf %s "(cached) " >&6
3029187ef25fSmrgelse case e in #(
3030187ef25fSmrg  e) if printf "%s\n" 'TRUE=$(BAR$(V))
303101395c31SmrgBAR0=false
303201395c31SmrgBAR1=true
303301395c31SmrgV=1
303401395c31Smrgam__doit:
303501395c31Smrg	@$(TRUE)
303601395c31Smrg.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
303701395c31Smrg  am_cv_make_support_nested_variables=yes
303801395c31Smrgelse
303901395c31Smrg  am_cv_make_support_nested_variables=no
3040187ef25fSmrgfi ;;
3041187ef25fSmrgesac
304201395c31Smrgfi
30433d13e800Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
30443d13e800Smrgprintf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
304501395c31Smrgif test $am_cv_make_support_nested_variables = yes; then
304601395c31Smrg    AM_V='$(V)'
304701395c31Smrg  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
304801395c31Smrgelse
304901395c31Smrg  AM_V=$AM_DEFAULT_VERBOSITY
305001395c31Smrg  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
305101395c31Smrgfi
3052de7ed6e8SmrgAM_BACKSLASH='\'
30538255a313Smrg
30548255a313Smrg
30558255a313Smrg
3056de7ed6e8Smrg# Require X.Org's font util macros 1.2 or later
30578255a313Smrg
30588255a313Smrg
305992bb16f8Smrg
306092bb16f8Smrg
306192bb16f8Smrg
306292bb16f8Smrg
306392bb16f8Smrg
306492bb16f8Smrg
306592bb16f8Smrg
306692bb16f8Smrg
306792bb16f8Smrg
306892bb16f8Smrg
306992bb16f8Smrg# mkfontscale
307092bb16f8Smrg
30718255a313Smrg	# Extract the first word of "mkfontscale", so it can be a program name with args.
307292bb16f8Smrgset dummy mkfontscale; ac_word=$2
30733d13e800Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30743d13e800Smrgprintf %s "checking for $ac_word... " >&6; }
30753d13e800Smrgif test ${ac_cv_path_MKFONTSCALE+y}
30763d13e800Smrgthen :
30773d13e800Smrg  printf %s "(cached) " >&6
3078187ef25fSmrgelse case e in #(
3079187ef25fSmrg  e) case $MKFONTSCALE in
308092bb16f8Smrg  [\\/]* | ?:[\\/]*)
308192bb16f8Smrg  ac_cv_path_MKFONTSCALE="$MKFONTSCALE" # Let the user override the test with a path.
308292bb16f8Smrg  ;;
308392bb16f8Smrg  *)
308492bb16f8Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
308592bb16f8Smrgfor as_dir in $PATH
308692bb16f8Smrgdo
308792bb16f8Smrg  IFS=$as_save_IFS
30883d13e800Smrg  case $as_dir in #(((
30893d13e800Smrg    '') as_dir=./ ;;
30903d13e800Smrg    */) ;;
30913d13e800Smrg    *) as_dir=$as_dir/ ;;
30923d13e800Smrg  esac
3093de7ed6e8Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
30943d13e800Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
30953d13e800Smrg    ac_cv_path_MKFONTSCALE="$as_dir$ac_word$ac_exec_ext"
30963d13e800Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
309792bb16f8Smrg    break 2
309892bb16f8Smrg  fi
309992bb16f8Smrgdone
3100de7ed6e8Smrg  done
310192bb16f8SmrgIFS=$as_save_IFS
310292bb16f8Smrg
310392bb16f8Smrg  ;;
3104187ef25fSmrgesac ;;
310592bb16f8Smrgesac
310692bb16f8Smrgfi
310792bb16f8SmrgMKFONTSCALE=$ac_cv_path_MKFONTSCALE
310892bb16f8Smrgif test -n "$MKFONTSCALE"; then
31093d13e800Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKFONTSCALE" >&5
31103d13e800Smrgprintf "%s\n" "$MKFONTSCALE" >&6; }
311192bb16f8Smrgelse
31123d13e800Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
31133d13e800Smrgprintf "%s\n" "no" >&6; }
311492bb16f8Smrgfi
311592bb16f8Smrg
311692bb16f8Smrg
3117de7ed6e8Smrg	if test x"$MKFONTSCALE" = x; then
3118de7ed6e8Smrg		as_fn_error $? "mkfontscale is required to build $PACKAGE_NAME." "$LINENO" 5
31198255a313Smrg	fi
31208255a313Smrg
312192bb16f8Smrg
312292bb16f8Smrg# Choose whether or not to compress encodings - default is to compress all
312392bb16f8Smrg
31243d13e800Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if small encodings should be compressed" >&5
31253d13e800Smrgprintf %s "checking if small encodings should be compressed... " >&6; }
312692bb16f8Smrg# Check whether --enable-gzip-small-encodings was given.
31273d13e800Smrgif test ${enable_gzip_small_encodings+y}
31283d13e800Smrgthen :
312992bb16f8Smrg  enableval=$enable_gzip_small_encodings; GZIP_SMALL="$enableval"
3130187ef25fSmrgelse case e in #(
3131187ef25fSmrg  e) GZIP_SMALL="yes" ;;
3132187ef25fSmrgesac
313392bb16f8Smrgfi
313492bb16f8Smrg
31358255a313Smrg if test x$GZIP_SMALL = xyes; then
313692bb16f8Smrg  GZIP_SMALL_TRUE=
313792bb16f8Smrg  GZIP_SMALL_FALSE='#'
313892bb16f8Smrgelse
313992bb16f8Smrg  GZIP_SMALL_TRUE='#'
314092bb16f8Smrg  GZIP_SMALL_FALSE=
314192bb16f8Smrgfi
314292bb16f8Smrg
31433d13e800Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${GZIP_SMALL}" >&5
31443d13e800Smrgprintf "%s\n" "${GZIP_SMALL}" >&6; }
314592bb16f8Smrg
31463d13e800Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if large encodings should be compressed" >&5
31473d13e800Smrgprintf %s "checking if large encodings should be compressed... " >&6; }
314892bb16f8Smrg# Check whether --enable-gzip-large-encodings was given.
31493d13e800Smrgif test ${enable_gzip_large_encodings+y}
31503d13e800Smrgthen :
315192bb16f8Smrg  enableval=$enable_gzip_large_encodings; GZIP_LARGE="$enableval"
3152187ef25fSmrgelse case e in #(
3153187ef25fSmrg  e) GZIP_LARGE="yes" ;;
3154187ef25fSmrgesac
315592bb16f8Smrgfi
315692bb16f8Smrg
31578255a313Smrg if test x$GZIP_LARGE = xyes; then
315892bb16f8Smrg  GZIP_LARGE_TRUE=
315992bb16f8Smrg  GZIP_LARGE_FALSE='#'
316092bb16f8Smrgelse
316192bb16f8Smrg  GZIP_LARGE_TRUE='#'
316292bb16f8Smrg  GZIP_LARGE_FALSE=
316392bb16f8Smrgfi
316492bb16f8Smrg
31653d13e800Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${GZIP_LARGE}" >&5
31663d13e800Smrgprintf "%s\n" "${GZIP_LARGE}" >&6; }
316792bb16f8Smrg
316892bb16f8Smrg# gzip
316992bb16f8Smrg
317092bb16f8Smrgif test x$GZIP_SMALL = xyes -o x$GZIP_LARGE = xyes ; then
317192bb16f8Smrg    # Extract the first word of "gzip", so it can be a program name with args.
317292bb16f8Smrgset dummy gzip; ac_word=$2
31733d13e800Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31743d13e800Smrgprintf %s "checking for $ac_word... " >&6; }
31753d13e800Smrgif test ${ac_cv_path_GZIP+y}
31763d13e800Smrgthen :
31773d13e800Smrg  printf %s "(cached) " >&6
3178187ef25fSmrgelse case e in #(
3179187ef25fSmrg  e) case $GZIP in
318092bb16f8Smrg  [\\/]* | ?:[\\/]*)
318192bb16f8Smrg  ac_cv_path_GZIP="$GZIP" # Let the user override the test with a path.
318292bb16f8Smrg  ;;
318392bb16f8Smrg  *)
318492bb16f8Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
318592bb16f8Smrgfor as_dir in $PATH
318692bb16f8Smrgdo
318792bb16f8Smrg  IFS=$as_save_IFS
31883d13e800Smrg  case $as_dir in #(((
31893d13e800Smrg    '') as_dir=./ ;;
31903d13e800Smrg    */) ;;
31913d13e800Smrg    *) as_dir=$as_dir/ ;;
31923d13e800Smrg  esac
3193de7ed6e8Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
31943d13e800Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
31953d13e800Smrg    ac_cv_path_GZIP="$as_dir$ac_word$ac_exec_ext"
31963d13e800Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
31978255a313Smrg    break 2
31988255a313Smrg  fi
31998255a313Smrgdone
3200de7ed6e8Smrg  done
32018255a313SmrgIFS=$as_save_IFS
320292bb16f8Smrg
3203de7ed6e8Smrg  ;;
3204187ef25fSmrgesac ;;
32058255a313Smrgesac
3206de7ed6e8Smrgfi
3207de7ed6e8SmrgGZIP=$ac_cv_path_GZIP
3208de7ed6e8Smrgif test -n "$GZIP"; then
32093d13e800Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GZIP" >&5
32103d13e800Smrgprintf "%s\n" "$GZIP" >&6; }
321192bb16f8Smrgelse
32123d13e800Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
32133d13e800Smrgprintf "%s\n" "no" >&6; }
321492bb16f8Smrgfi
321592bb16f8Smrg
32168255a313Smrg
3217de7ed6e8Smrg    if [ -z $GZIP ]; then
3218de7ed6e8Smrg	as_fn_error $? "gzip is needed to compress font encodings" "$LINENO" 5
3219de7ed6e8Smrg    fi
322022138c50Smrg    COMPRESS_FLAGS="${COMPRESS_FLAGS--n}"
322122138c50Smrg
32228255a313Smrgfi
32238255a313Smrg
32248255a313Smrg
32258255a313Smrg
3226de7ed6e8Smrg
32273d13e800Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for root directory for font files" >&5
32283d13e800Smrgprintf %s "checking for root directory for font files... " >&6; }
32298255a313Smrg
32308255a313Smrg# Check whether --with-fontrootdir was given.
32313d13e800Smrgif test ${with_fontrootdir+y}
32323d13e800Smrgthen :
32338255a313Smrg  withval=$with_fontrootdir; FONTROOTDIR="$withval"
32348255a313Smrgfi
32358255a313Smrg
32368255a313Smrg	# if --with-fontrootdir not specified...
32378255a313Smrg	if test "x${FONTROOTDIR}" = "x"; then
32388255a313Smrg		FONTROOTDIR=`$PKG_CONFIG --variable=fontrootdir fontutil`
32398255a313Smrg	fi
32408255a313Smrg	# ...and if pkg-config didn't find fontdir in fontutil.pc...
32418255a313Smrg	if test "x${FONTROOTDIR}" = "x"; then
32428255a313Smrg		FONTROOTDIR="${datadir}/fonts/X11"
324392bb16f8Smrg	fi
324492bb16f8Smrg
32453d13e800Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${FONTROOTDIR}" >&5
32463d13e800Smrgprintf "%s\n" "${FONTROOTDIR}" >&6; }
32478255a313Smrg
32488255a313Smrg
32498255a313Smrg
32508255a313Smrg
32513d13e800Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for directory for encodings files" >&5
32523d13e800Smrgprintf %s "checking for directory for encodings files... " >&6; }
32538255a313Smrg
32548255a313Smrg# Check whether --with-encodingsdir was given.
32553d13e800Smrgif test ${with_encodingsdir+y}
32563d13e800Smrgthen :
32578255a313Smrg  withval=$with_encodingsdir; ENCODINGSDIR="${withval}"
3258187ef25fSmrgelse case e in #(
3259187ef25fSmrg  e) ENCODINGSDIR='${FONTROOTDIR}/encodings' ;;
3260187ef25fSmrgesac
32618255a313Smrgfi
32628255a313Smrg
32638255a313Smrg
32643d13e800Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${ENCODINGSDIR}" >&5
32653d13e800Smrgprintf "%s\n" "${ENCODINGSDIR}" >&6; }
32668255a313Smrg
326792bb16f8Smrg
326892bb16f8Smrgac_config_files="$ac_config_files Makefile large/Makefile"
326992bb16f8Smrg
327092bb16f8Smrgcat >confcache <<\_ACEOF
327192bb16f8Smrg# This file is a shell script that caches the results of configure
327292bb16f8Smrg# tests run on this system so they can be shared between configure
327392bb16f8Smrg# scripts and configure runs, see configure's option --config-cache.
327492bb16f8Smrg# It is not useful on other systems.  If it contains results you don't
327592bb16f8Smrg# want to keep, you may remove or edit it.
327692bb16f8Smrg#
327792bb16f8Smrg# config.status only pays attention to the cache file if you give it
327892bb16f8Smrg# the --recheck option to rerun configure.
327992bb16f8Smrg#
3280187ef25fSmrg# 'ac_cv_env_foo' variables (set or unset) will be overridden when
3281187ef25fSmrg# loading this file, other *unset* 'ac_cv_foo' will be assigned the
328292bb16f8Smrg# following values.
328392bb16f8Smrg
328492bb16f8Smrg_ACEOF
328592bb16f8Smrg
328692bb16f8Smrg# The following way of writing the cache mishandles newlines in values,
328792bb16f8Smrg# but we know of no workaround that is simple, portable, and efficient.
328892bb16f8Smrg# So, we kill variables containing newlines.
328992bb16f8Smrg# Ultrix sh set writes to stderr and can't be redirected directly,
329092bb16f8Smrg# and sets the high bit in the cache file unless we assign to the vars.
329192bb16f8Smrg(
329292bb16f8Smrg  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
329392bb16f8Smrg    eval ac_val=\$$ac_var
329492bb16f8Smrg    case $ac_val in #(
329592bb16f8Smrg    *${as_nl}*)
329692bb16f8Smrg      case $ac_var in #(
32973d13e800Smrg      *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
32983d13e800Smrgprintf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
329992bb16f8Smrg      esac
330092bb16f8Smrg      case $ac_var in #(
330192bb16f8Smrg      _ | IFS | as_nl) ;; #(
33028255a313Smrg      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3303de7ed6e8Smrg      *) { eval $ac_var=; unset $ac_var;} ;;
330492bb16f8Smrg      esac ;;
330592bb16f8Smrg    esac
330692bb16f8Smrg  done
330792bb16f8Smrg
330892bb16f8Smrg  (set) 2>&1 |
330992bb16f8Smrg    case $as_nl`(ac_space=' '; set) 2>&1` in #(
331092bb16f8Smrg    *${as_nl}ac_space=\ *)
3311187ef25fSmrg      # 'set' does not quote correctly, so add quotes: double-quote
3312de7ed6e8Smrg      # substitution turns \\\\ into \\, and sed turns \\ into \.
331392bb16f8Smrg      sed -n \
331492bb16f8Smrg	"s/'/'\\\\''/g;
331592bb16f8Smrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
331692bb16f8Smrg      ;; #(
331792bb16f8Smrg    *)
3318187ef25fSmrg      # 'set' quotes correctly as required by POSIX, so do not add quotes.
331992bb16f8Smrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
332092bb16f8Smrg      ;;
332192bb16f8Smrg    esac |
332292bb16f8Smrg    sort
332392bb16f8Smrg) |
332492bb16f8Smrg  sed '
332592bb16f8Smrg     /^ac_cv_env_/b end
332692bb16f8Smrg     t clear
332792bb16f8Smrg     :clear
33283d13e800Smrg     s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
332992bb16f8Smrg     t end
333092bb16f8Smrg     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
333192bb16f8Smrg     :end' >>confcache
333292bb16f8Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else
333392bb16f8Smrg  if test -w "$cache_file"; then
3334de7ed6e8Smrg    if test "x$cache_file" != "x/dev/null"; then
33353d13e800Smrg      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
33363d13e800Smrgprintf "%s\n" "$as_me: updating cache $cache_file" >&6;}
3337de7ed6e8Smrg      if test ! -f "$cache_file" || test -h "$cache_file"; then
3338de7ed6e8Smrg	cat confcache >"$cache_file"
3339de7ed6e8Smrg      else
3340de7ed6e8Smrg        case $cache_file in #(
3341de7ed6e8Smrg        */* | ?:*)
3342de7ed6e8Smrg	  mv -f confcache "$cache_file"$$ &&
3343de7ed6e8Smrg	  mv -f "$cache_file"$$ "$cache_file" ;; #(
3344de7ed6e8Smrg        *)
3345de7ed6e8Smrg	  mv -f confcache "$cache_file" ;;
3346de7ed6e8Smrg	esac
3347de7ed6e8Smrg      fi
3348de7ed6e8Smrg    fi
334992bb16f8Smrg  else
33503d13e800Smrg    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
33513d13e800Smrgprintf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
335292bb16f8Smrg  fi
335392bb16f8Smrgfi
335492bb16f8Smrgrm -f confcache
335592bb16f8Smrg
335692bb16f8Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix
335792bb16f8Smrg# Let make expand exec_prefix.
335892bb16f8Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
335992bb16f8Smrg
336092bb16f8Smrg# Transform confdefs.h into DEFS.
336192bb16f8Smrg# Protect against shell expansion while executing Makefile rules.
336292bb16f8Smrg# Protect against Makefile macro expansion.
336392bb16f8Smrg#
336492bb16f8Smrg# If the first sed substitution is executed (which looks for macros that
336592bb16f8Smrg# take arguments), then branch to the quote section.  Otherwise,
336692bb16f8Smrg# look for a macro that doesn't take arguments.
336792bb16f8Smrgac_script='
33688255a313Smrg:mline
33698255a313Smrg/\\$/{
33708255a313Smrg N
33718255a313Smrg s,\\\n,,
33728255a313Smrg b mline
33738255a313Smrg}
337492bb16f8Smrgt clear
337592bb16f8Smrg:clear
337692bb16f8Smrgs/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
337792bb16f8Smrgt quote
337892bb16f8Smrgs/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
337992bb16f8Smrgt quote
338092bb16f8Smrgb any
338192bb16f8Smrg:quote
3382187ef25fSmrgs/[][	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
338392bb16f8Smrgs/\$/$$/g
338492bb16f8SmrgH
338592bb16f8Smrg:any
338692bb16f8Smrg${
338792bb16f8Smrg	g
338892bb16f8Smrg	s/^\n//
338992bb16f8Smrg	s/\n/ /g
339092bb16f8Smrg	p
339192bb16f8Smrg}
339292bb16f8Smrg'
339392bb16f8SmrgDEFS=`sed -n "$ac_script" confdefs.h`
339492bb16f8Smrg
339592bb16f8Smrg
339692bb16f8Smrgac_libobjs=
339792bb16f8Smrgac_ltlibobjs=
3398de7ed6e8SmrgU=
339992bb16f8Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
340092bb16f8Smrg  # 1. Remove the extension, and $U if already installed.
340192bb16f8Smrg  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
34023d13e800Smrg  ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
340392bb16f8Smrg  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
340492bb16f8Smrg  #    will be set to the directory where LIBOBJS objects are built.
3405de7ed6e8Smrg  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3406de7ed6e8Smrg  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
340792bb16f8Smrgdone
340892bb16f8SmrgLIBOBJS=$ac_libobjs
340992bb16f8Smrg
341092bb16f8SmrgLTLIBOBJS=$ac_ltlibobjs
341192bb16f8Smrg
341292bb16f8Smrg
34133d13e800Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
34143d13e800Smrgprintf %s "checking that generated files are newer than configure... " >&6; }
341501395c31Smrg   if test -n "$am_sleep_pid"; then
341601395c31Smrg     # Hide warnings about reused PIDs.
341701395c31Smrg     wait $am_sleep_pid 2>/dev/null
341801395c31Smrg   fi
34193d13e800Smrg   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
34203d13e800Smrgprintf "%s\n" "done" >&6; }
34218255a313Smrg
342292bb16f8Smrgif test -z "${GZIP_SMALL_TRUE}" && test -z "${GZIP_SMALL_FALSE}"; then
3423de7ed6e8Smrg  as_fn_error $? "conditional \"GZIP_SMALL\" was never defined.
3424de7ed6e8SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
342592bb16f8Smrgfi
342692bb16f8Smrgif test -z "${GZIP_LARGE_TRUE}" && test -z "${GZIP_LARGE_FALSE}"; then
3427de7ed6e8Smrg  as_fn_error $? "conditional \"GZIP_LARGE\" was never defined.
3428de7ed6e8SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
342992bb16f8Smrgfi
343092bb16f8Smrg
3431de7ed6e8Smrg: "${CONFIG_STATUS=./config.status}"
34328255a313Smrgac_write_fail=0
343392bb16f8Smrgac_clean_files_save=$ac_clean_files
343492bb16f8Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS"
34353d13e800Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
34363d13e800Smrgprintf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
3437de7ed6e8Smrgas_write_fail=0
3438de7ed6e8Smrgcat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
343992bb16f8Smrg#! $SHELL
344092bb16f8Smrg# Generated by $as_me.
344192bb16f8Smrg# Run this file to recreate the current configuration.
344292bb16f8Smrg# Compiler output produced by configure, useful for debugging
344392bb16f8Smrg# configure, is in config.log if it exists.
344492bb16f8Smrg
344592bb16f8Smrgdebug=false
344692bb16f8Smrgac_cs_recheck=false
344792bb16f8Smrgac_cs_silent=false
344892bb16f8Smrg
3449de7ed6e8SmrgSHELL=\${CONFIG_SHELL-$SHELL}
3450de7ed6e8Smrgexport SHELL
3451de7ed6e8Smrg_ASEOF
3452de7ed6e8Smrgcat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3453de7ed6e8Smrg## -------------------- ##
3454de7ed6e8Smrg## M4sh Initialization. ##
3455de7ed6e8Smrg## -------------------- ##
345692bb16f8Smrg
34578255a313Smrg# Be more Bourne compatible
34588255a313SmrgDUALCASE=1; export DUALCASE # for MKS sh
34593d13e800Smrgif test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
34603d13e800Smrgthen :
346192bb16f8Smrg  emulate sh
346292bb16f8Smrg  NULLCMD=:
34638255a313Smrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
346492bb16f8Smrg  # is contrary to our usage.  Disable this feature.
346592bb16f8Smrg  alias -g '${1+"$@"}'='"$@"'
346692bb16f8Smrg  setopt NO_GLOB_SUBST
3467187ef25fSmrgelse case e in #(
3468187ef25fSmrg  e) case `(set -o) 2>/dev/null` in #(
3469de7ed6e8Smrg  *posix*) :
3470de7ed6e8Smrg    set -o posix ;; #(
3471de7ed6e8Smrg  *) :
3472de7ed6e8Smrg     ;;
3473187ef25fSmrgesac ;;
34748255a313Smrgesac
347592bb16f8Smrgfi
34768255a313Smrg
34778255a313Smrg
34783d13e800Smrg
34793d13e800Smrg# Reset variables that may have inherited troublesome values from
34803d13e800Smrg# the environment.
34813d13e800Smrg
34823d13e800Smrg# IFS needs to be set, to space, tab, and newline, in precisely that order.
34833d13e800Smrg# (If _AS_PATH_WALK were called with IFS unset, it would have the
34843d13e800Smrg# side effect of setting IFS to empty, thus disabling word splitting.)
34853d13e800Smrg# Quoting is to prevent editors from complaining about space-tab.
34868255a313Smrgas_nl='
34878255a313Smrg'
34888255a313Smrgexport as_nl
34893d13e800SmrgIFS=" ""	$as_nl"
34903d13e800Smrg
34913d13e800SmrgPS1='$ '
34923d13e800SmrgPS2='> '
34933d13e800SmrgPS4='+ '
34943d13e800Smrg
34953d13e800Smrg# Ensure predictable behavior from utilities with locale-dependent output.
34963d13e800SmrgLC_ALL=C
34973d13e800Smrgexport LC_ALL
34983d13e800SmrgLANGUAGE=C
34993d13e800Smrgexport LANGUAGE
35003d13e800Smrg
35013d13e800Smrg# We cannot yet rely on "unset" to work, but we need these variables
35023d13e800Smrg# to be unset--not just set to an empty or harmless value--now, to
35033d13e800Smrg# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
35043d13e800Smrg# also avoids known problems related to "unset" and subshell syntax
35053d13e800Smrg# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
35063d13e800Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
35073d13e800Smrgdo eval test \${$as_var+y} \
35083d13e800Smrg  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
35093d13e800Smrgdone
35103d13e800Smrg
35113d13e800Smrg# Ensure that fds 0, 1, and 2 are open.
35123d13e800Smrgif (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
35133d13e800Smrgif (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
35143d13e800Smrgif (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
35158255a313Smrg
35168255a313Smrg# The user is always right.
35173d13e800Smrgif ${PATH_SEPARATOR+false} :; then
35188255a313Smrg  PATH_SEPARATOR=:
35198255a313Smrg  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
35208255a313Smrg    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
35218255a313Smrg      PATH_SEPARATOR=';'
35228255a313Smrg  }
352392bb16f8Smrgfi
352492bb16f8Smrg
352592bb16f8Smrg
352692bb16f8Smrg# Find who we are.  Look in the path if we contain no directory separator.
3527de7ed6e8Smrgas_myself=
3528de7ed6e8Smrgcase $0 in #((
352992bb16f8Smrg  *[\\/]* ) as_myself=$0 ;;
353092bb16f8Smrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
353192bb16f8Smrgfor as_dir in $PATH
353292bb16f8Smrgdo
353392bb16f8Smrg  IFS=$as_save_IFS
35343d13e800Smrg  case $as_dir in #(((
35353d13e800Smrg    '') as_dir=./ ;;
35363d13e800Smrg    */) ;;
35373d13e800Smrg    *) as_dir=$as_dir/ ;;
35383d13e800Smrg  esac
35393d13e800Smrg    test -r "$as_dir$0" && as_myself=$as_dir$0 && break
3540de7ed6e8Smrg  done
354192bb16f8SmrgIFS=$as_save_IFS
354292bb16f8Smrg
354392bb16f8Smrg     ;;
354492bb16f8Smrgesac
3545187ef25fSmrg# We did not find ourselves, most probably we were run as 'sh COMMAND'
354692bb16f8Smrg# in which case we are not to be found in the path.
354792bb16f8Smrgif test "x$as_myself" = x; then
354892bb16f8Smrg  as_myself=$0
354992bb16f8Smrgfi
355092bb16f8Smrgif test ! -f "$as_myself"; then
35513d13e800Smrg  printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3552de7ed6e8Smrg  exit 1
355392bb16f8Smrgfi
355492bb16f8Smrg
3555de7ed6e8Smrg
3556de7ed6e8Smrg
3557de7ed6e8Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD]
3558de7ed6e8Smrg# ----------------------------------------
3559de7ed6e8Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3560de7ed6e8Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3561de7ed6e8Smrg# script with STATUS, using 1 if that was 0.
3562de7ed6e8Smrgas_fn_error ()
3563de7ed6e8Smrg{
3564de7ed6e8Smrg  as_status=$1; test $as_status -eq 0 && as_status=1
3565de7ed6e8Smrg  if test "$4"; then
3566de7ed6e8Smrg    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
35673d13e800Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3568de7ed6e8Smrg  fi
35693d13e800Smrg  printf "%s\n" "$as_me: error: $2" >&2
3570de7ed6e8Smrg  as_fn_exit $as_status
3571de7ed6e8Smrg} # as_fn_error
3572de7ed6e8Smrg
3573de7ed6e8Smrg
3574de7ed6e8Smrg# as_fn_set_status STATUS
3575de7ed6e8Smrg# -----------------------
3576de7ed6e8Smrg# Set $? to STATUS, without forking.
3577de7ed6e8Smrgas_fn_set_status ()
3578de7ed6e8Smrg{
3579de7ed6e8Smrg  return $1
3580de7ed6e8Smrg} # as_fn_set_status
3581de7ed6e8Smrg
3582de7ed6e8Smrg# as_fn_exit STATUS
3583de7ed6e8Smrg# -----------------
3584de7ed6e8Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3585de7ed6e8Smrgas_fn_exit ()
3586de7ed6e8Smrg{
3587de7ed6e8Smrg  set +e
3588de7ed6e8Smrg  as_fn_set_status $1
3589de7ed6e8Smrg  exit $1
3590de7ed6e8Smrg} # as_fn_exit
3591de7ed6e8Smrg
3592de7ed6e8Smrg# as_fn_unset VAR
3593de7ed6e8Smrg# ---------------
3594de7ed6e8Smrg# Portably unset VAR.
3595de7ed6e8Smrgas_fn_unset ()
3596de7ed6e8Smrg{
3597de7ed6e8Smrg  { eval $1=; unset $1;}
3598de7ed6e8Smrg}
3599de7ed6e8Smrgas_unset=as_fn_unset
36003d13e800Smrg
3601de7ed6e8Smrg# as_fn_append VAR VALUE
3602de7ed6e8Smrg# ----------------------
3603de7ed6e8Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take
3604de7ed6e8Smrg# advantage of any shell optimizations that allow amortized linear growth over
3605de7ed6e8Smrg# repeated appends, instead of the typical quadratic growth present in naive
3606de7ed6e8Smrg# implementations.
36073d13e800Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
36083d13e800Smrgthen :
3609de7ed6e8Smrg  eval 'as_fn_append ()
3610de7ed6e8Smrg  {
3611de7ed6e8Smrg    eval $1+=\$2
3612de7ed6e8Smrg  }'
3613187ef25fSmrgelse case e in #(
3614187ef25fSmrg  e) as_fn_append ()
3615de7ed6e8Smrg  {
3616de7ed6e8Smrg    eval $1=\$$1\$2
3617187ef25fSmrg  } ;;
3618187ef25fSmrgesac
3619de7ed6e8Smrgfi # as_fn_append
3620de7ed6e8Smrg
3621de7ed6e8Smrg# as_fn_arith ARG...
3622de7ed6e8Smrg# ------------------
3623de7ed6e8Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the
3624de7ed6e8Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments
3625de7ed6e8Smrg# must be portable across $(()) and expr.
36263d13e800Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
36273d13e800Smrgthen :
3628de7ed6e8Smrg  eval 'as_fn_arith ()
3629de7ed6e8Smrg  {
3630de7ed6e8Smrg    as_val=$(( $* ))
3631de7ed6e8Smrg  }'
3632187ef25fSmrgelse case e in #(
3633187ef25fSmrg  e) as_fn_arith ()
3634de7ed6e8Smrg  {
3635de7ed6e8Smrg    as_val=`expr "$@" || test $? -eq 1`
3636187ef25fSmrg  } ;;
3637187ef25fSmrgesac
3638de7ed6e8Smrgfi # as_fn_arith
3639de7ed6e8Smrg
3640de7ed6e8Smrg
364192bb16f8Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
364292bb16f8Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
364392bb16f8Smrg  as_expr=expr
364492bb16f8Smrgelse
364592bb16f8Smrg  as_expr=false
364692bb16f8Smrgfi
364792bb16f8Smrg
364892bb16f8Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
364992bb16f8Smrg  as_basename=basename
365092bb16f8Smrgelse
365192bb16f8Smrg  as_basename=false
365292bb16f8Smrgfi
365392bb16f8Smrg
3654de7ed6e8Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3655de7ed6e8Smrg  as_dirname=dirname
3656de7ed6e8Smrgelse
3657de7ed6e8Smrg  as_dirname=false
3658de7ed6e8Smrgfi
365992bb16f8Smrg
366092bb16f8Smrgas_me=`$as_basename -- "$0" ||
366192bb16f8Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
366292bb16f8Smrg	 X"$0" : 'X\(//\)$' \| \
366392bb16f8Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
36643d13e800Smrgprintf "%s\n" X/"$0" |
366592bb16f8Smrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
366692bb16f8Smrg	    s//\1/
366792bb16f8Smrg	    q
366892bb16f8Smrg	  }
366992bb16f8Smrg	  /^X\/\(\/\/\)$/{
367092bb16f8Smrg	    s//\1/
367192bb16f8Smrg	    q
367292bb16f8Smrg	  }
367392bb16f8Smrg	  /^X\/\(\/\).*/{
367492bb16f8Smrg	    s//\1/
367592bb16f8Smrg	    q
367692bb16f8Smrg	  }
367792bb16f8Smrg	  s/.*/./; q'`
367892bb16f8Smrg
3679de7ed6e8Smrg# Avoid depending upon Character Ranges.
3680de7ed6e8Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
3681de7ed6e8Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3682de7ed6e8Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
3683de7ed6e8Smrgas_cr_digits='0123456789'
3684de7ed6e8Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits
368592bb16f8Smrg
36863d13e800Smrg
36873d13e800Smrg# Determine whether it's possible to make 'echo' print without a newline.
36883d13e800Smrg# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
36893d13e800Smrg# for compatibility with existing Makefiles.
369092bb16f8SmrgECHO_C= ECHO_N= ECHO_T=
3691de7ed6e8Smrgcase `echo -n x` in #(((((
369292bb16f8Smrg-n*)
3693de7ed6e8Smrg  case `echo 'xy\c'` in
369492bb16f8Smrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
3695de7ed6e8Smrg  xy)  ECHO_C='\c';;
3696de7ed6e8Smrg  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
3697de7ed6e8Smrg       ECHO_T='	';;
369892bb16f8Smrg  esac;;
369992bb16f8Smrg*)
370092bb16f8Smrg  ECHO_N='-n';;
370192bb16f8Smrgesac
370292bb16f8Smrg
37033d13e800Smrg# For backward compatibility with old third-party macros, we provide
37043d13e800Smrg# the shell variables $as_echo and $as_echo_n.  New code should use
37053d13e800Smrg# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
37063d13e800Smrgas_echo='printf %s\n'
37073d13e800Smrgas_echo_n='printf %s'
37083d13e800Smrg
370992bb16f8Smrgrm -f conf$$ conf$$.exe conf$$.file
371092bb16f8Smrgif test -d conf$$.dir; then
371192bb16f8Smrg  rm -f conf$$.dir/conf$$.file
371292bb16f8Smrgelse
371392bb16f8Smrg  rm -f conf$$.dir
37148255a313Smrg  mkdir conf$$.dir 2>/dev/null
37158255a313Smrgfi
37168255a313Smrgif (echo >conf$$.file) 2>/dev/null; then
37178255a313Smrg  if ln -s conf$$.file conf$$ 2>/dev/null; then
37188255a313Smrg    as_ln_s='ln -s'
37198255a313Smrg    # ... but there are two gotchas:
3720187ef25fSmrg    # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
3721187ef25fSmrg    # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
3722187ef25fSmrg    # In both cases, we have to default to 'cp -pR'.
37238255a313Smrg    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
372401395c31Smrg      as_ln_s='cp -pR'
37258255a313Smrg  elif ln conf$$.file conf$$ 2>/dev/null; then
37268255a313Smrg    as_ln_s=ln
37278255a313Smrg  else
372801395c31Smrg    as_ln_s='cp -pR'
37298255a313Smrg  fi
373092bb16f8Smrgelse
373101395c31Smrg  as_ln_s='cp -pR'
373292bb16f8Smrgfi
373392bb16f8Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
373492bb16f8Smrgrmdir conf$$.dir 2>/dev/null
373592bb16f8Smrg
3736de7ed6e8Smrg
3737de7ed6e8Smrg# as_fn_mkdir_p
3738de7ed6e8Smrg# -------------
3739de7ed6e8Smrg# Create "$as_dir" as a directory, including parents if necessary.
3740de7ed6e8Smrgas_fn_mkdir_p ()
3741de7ed6e8Smrg{
3742de7ed6e8Smrg
3743de7ed6e8Smrg  case $as_dir in #(
3744de7ed6e8Smrg  -*) as_dir=./$as_dir;;
3745de7ed6e8Smrg  esac
3746de7ed6e8Smrg  test -d "$as_dir" || eval $as_mkdir_p || {
3747de7ed6e8Smrg    as_dirs=
3748de7ed6e8Smrg    while :; do
3749de7ed6e8Smrg      case $as_dir in #(
37503d13e800Smrg      *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3751de7ed6e8Smrg      *) as_qdir=$as_dir;;
3752de7ed6e8Smrg      esac
3753de7ed6e8Smrg      as_dirs="'$as_qdir' $as_dirs"
3754de7ed6e8Smrg      as_dir=`$as_dirname -- "$as_dir" ||
3755de7ed6e8Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3756de7ed6e8Smrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
3757de7ed6e8Smrg	 X"$as_dir" : 'X\(//\)$' \| \
3758de7ed6e8Smrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
37593d13e800Smrgprintf "%s\n" X"$as_dir" |
3760de7ed6e8Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3761de7ed6e8Smrg	    s//\1/
3762de7ed6e8Smrg	    q
3763de7ed6e8Smrg	  }
3764de7ed6e8Smrg	  /^X\(\/\/\)[^/].*/{
3765de7ed6e8Smrg	    s//\1/
3766de7ed6e8Smrg	    q
3767de7ed6e8Smrg	  }
3768de7ed6e8Smrg	  /^X\(\/\/\)$/{
3769de7ed6e8Smrg	    s//\1/
3770de7ed6e8Smrg	    q
3771de7ed6e8Smrg	  }
3772de7ed6e8Smrg	  /^X\(\/\).*/{
3773de7ed6e8Smrg	    s//\1/
3774de7ed6e8Smrg	    q
3775de7ed6e8Smrg	  }
3776de7ed6e8Smrg	  s/.*/./; q'`
3777de7ed6e8Smrg      test -d "$as_dir" && break
3778de7ed6e8Smrg    done
3779de7ed6e8Smrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
3780de7ed6e8Smrg  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3781de7ed6e8Smrg
3782de7ed6e8Smrg
3783de7ed6e8Smrg} # as_fn_mkdir_p
378492bb16f8Smrgif mkdir -p . 2>/dev/null; then
3785de7ed6e8Smrg  as_mkdir_p='mkdir -p "$as_dir"'
378692bb16f8Smrgelse
378792bb16f8Smrg  test -d ./-p && rmdir ./-p
378892bb16f8Smrg  as_mkdir_p=false
378992bb16f8Smrgfi
379092bb16f8Smrg
379101395c31Smrg
379201395c31Smrg# as_fn_executable_p FILE
379301395c31Smrg# -----------------------
379401395c31Smrg# Test if FILE is an executable regular file.
379501395c31Smrgas_fn_executable_p ()
379601395c31Smrg{
379701395c31Smrg  test -f "$1" && test -x "$1"
379801395c31Smrg} # as_fn_executable_p
379901395c31Smrgas_test_x='test -x'
380001395c31Smrgas_executable_p=as_fn_executable_p
380192bb16f8Smrg
380292bb16f8Smrg# Sed expression to map a string onto a valid CPP name.
3803187ef25fSmrgas_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
3804187ef25fSmrgas_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
380592bb16f8Smrg
380692bb16f8Smrg# Sed expression to map a string onto a valid variable name.
3807187ef25fSmrgas_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
3808187ef25fSmrgas_tr_sh="eval sed '$as_sed_sh'" # deprecated
380992bb16f8Smrg
381092bb16f8Smrg
381192bb16f8Smrgexec 6>&1
3812de7ed6e8Smrg## ----------------------------------- ##
3813de7ed6e8Smrg## Main body of $CONFIG_STATUS script. ##
3814de7ed6e8Smrg## ----------------------------------- ##
3815de7ed6e8Smrg_ASEOF
3816de7ed6e8Smrgtest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
381792bb16f8Smrg
3818de7ed6e8Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3819de7ed6e8Smrg# Save the log message, to keep $0 and so on meaningful, and to
382092bb16f8Smrg# report actual input values of CONFIG_FILES etc. instead of their
382192bb16f8Smrg# values after options handling.
382292bb16f8Smrgac_log="
3823187ef25fSmrgThis file was extended by encodings $as_me 1.1.0, which was
3824187ef25fSmrggenerated by GNU Autoconf 2.72.  Invocation command line was
382592bb16f8Smrg
382692bb16f8Smrg  CONFIG_FILES    = $CONFIG_FILES
382792bb16f8Smrg  CONFIG_HEADERS  = $CONFIG_HEADERS
382892bb16f8Smrg  CONFIG_LINKS    = $CONFIG_LINKS
382992bb16f8Smrg  CONFIG_COMMANDS = $CONFIG_COMMANDS
383092bb16f8Smrg  $ $0 $@
383192bb16f8Smrg
383292bb16f8Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q`
383392bb16f8Smrg"
383492bb16f8Smrg
383592bb16f8Smrg_ACEOF
383692bb16f8Smrg
38378255a313Smrgcase $ac_config_files in *"
38388255a313Smrg"*) set x $ac_config_files; shift; ac_config_files=$*;;
38398255a313Smrgesac
38408255a313Smrg
38418255a313Smrg
38428255a313Smrg
38438255a313Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
384492bb16f8Smrg# Files that config.status was made for.
384592bb16f8Smrgconfig_files="$ac_config_files"
384692bb16f8Smrg
384792bb16f8Smrg_ACEOF
384892bb16f8Smrg
38498255a313Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
385092bb16f8Smrgac_cs_usage="\
3851187ef25fSmrg'$as_me' instantiates files and other configuration actions
3852de7ed6e8Smrgfrom templates according to the current configuration.  Unless the files
3853de7ed6e8Smrgand actions are specified as TAGs, all are instantiated by default.
385492bb16f8Smrg
3855de7ed6e8SmrgUsage: $0 [OPTION]... [TAG]...
385692bb16f8Smrg
385792bb16f8Smrg  -h, --help       print this help, then exit
38588255a313Smrg  -V, --version    print version number and configuration settings, then exit
3859de7ed6e8Smrg      --config     print configuration, then exit
38608255a313Smrg  -q, --quiet, --silent
38618255a313Smrg                   do not print progress messages
386292bb16f8Smrg  -d, --debug      don't remove temporary files
386392bb16f8Smrg      --recheck    update $as_me by reconfiguring in the same conditions
38648255a313Smrg      --file=FILE[:TEMPLATE]
38658255a313Smrg                   instantiate the configuration file FILE
386692bb16f8Smrg
386792bb16f8SmrgConfiguration files:
386892bb16f8Smrg$config_files
386992bb16f8Smrg
387022138c50SmrgReport bugs to <https://gitlab.freedesktop.org/xorg/font/encodings/-/issues>."
387192bb16f8Smrg
387292bb16f8Smrg_ACEOF
38733d13e800Smrgac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
38743d13e800Smrgac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
38758255a313Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
38763d13e800Smrgac_cs_config='$ac_cs_config_escaped'
387792bb16f8Smrgac_cs_version="\\
3878187ef25fSmrgencodings config.status 1.1.0
3879187ef25fSmrgconfigured by $0, generated by GNU Autoconf 2.72,
3880de7ed6e8Smrg  with options \\"\$ac_cs_config\\"
388192bb16f8Smrg
3882187ef25fSmrgCopyright (C) 2023 Free Software Foundation, Inc.
388392bb16f8SmrgThis config.status script is free software; the Free Software Foundation
388492bb16f8Smrggives unlimited permission to copy, distribute and modify it."
388592bb16f8Smrg
388692bb16f8Smrgac_pwd='$ac_pwd'
388792bb16f8Smrgsrcdir='$srcdir'
388892bb16f8SmrgINSTALL='$INSTALL'
38898255a313SmrgMKDIR_P='$MKDIR_P'
38908255a313SmrgAWK='$AWK'
38918255a313Smrgtest -n "\$AWK" || AWK=awk
389292bb16f8Smrg_ACEOF
389392bb16f8Smrg
38948255a313Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
38958255a313Smrg# The default lists apply if the user does not specify any file.
389692bb16f8Smrgac_need_defaults=:
389792bb16f8Smrgwhile test $# != 0
389892bb16f8Smrgdo
389992bb16f8Smrg  case $1 in
3900de7ed6e8Smrg  --*=?*)
390192bb16f8Smrg    ac_option=`expr "X$1" : 'X\([^=]*\)='`
390292bb16f8Smrg    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
390392bb16f8Smrg    ac_shift=:
390492bb16f8Smrg    ;;
3905de7ed6e8Smrg  --*=)
3906de7ed6e8Smrg    ac_option=`expr "X$1" : 'X\([^=]*\)='`
3907de7ed6e8Smrg    ac_optarg=
3908de7ed6e8Smrg    ac_shift=:
3909de7ed6e8Smrg    ;;
391092bb16f8Smrg  *)
391192bb16f8Smrg    ac_option=$1
391292bb16f8Smrg    ac_optarg=$2
391392bb16f8Smrg    ac_shift=shift
391492bb16f8Smrg    ;;
391592bb16f8Smrg  esac
391692bb16f8Smrg
391792bb16f8Smrg  case $ac_option in
391892bb16f8Smrg  # Handling of the options.
391992bb16f8Smrg  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
392092bb16f8Smrg    ac_cs_recheck=: ;;
392192bb16f8Smrg  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
39223d13e800Smrg    printf "%s\n" "$ac_cs_version"; exit ;;
3923de7ed6e8Smrg  --config | --confi | --conf | --con | --co | --c )
39243d13e800Smrg    printf "%s\n" "$ac_cs_config"; exit ;;
392592bb16f8Smrg  --debug | --debu | --deb | --de | --d | -d )
392692bb16f8Smrg    debug=: ;;
392792bb16f8Smrg  --file | --fil | --fi | --f )
392892bb16f8Smrg    $ac_shift
39298255a313Smrg    case $ac_optarg in
39303d13e800Smrg    *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3931de7ed6e8Smrg    '') as_fn_error $? "missing file argument" ;;
39328255a313Smrg    esac
3933de7ed6e8Smrg    as_fn_append CONFIG_FILES " '$ac_optarg'"
393492bb16f8Smrg    ac_need_defaults=false;;
393592bb16f8Smrg  --he | --h |  --help | --hel | -h )
39363d13e800Smrg    printf "%s\n" "$ac_cs_usage"; exit ;;
393792bb16f8Smrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
393892bb16f8Smrg  | -silent | --silent | --silen | --sile | --sil | --si | --s)
393992bb16f8Smrg    ac_cs_silent=: ;;
394092bb16f8Smrg
394192bb16f8Smrg  # This is an error.
3942187ef25fSmrg  -*) as_fn_error $? "unrecognized option: '$1'
3943187ef25fSmrgTry '$0 --help' for more information." ;;
394492bb16f8Smrg
3945de7ed6e8Smrg  *) as_fn_append ac_config_targets " $1"
394692bb16f8Smrg     ac_need_defaults=false ;;
394792bb16f8Smrg
394892bb16f8Smrg  esac
394992bb16f8Smrg  shift
395092bb16f8Smrgdone
395192bb16f8Smrg
395292bb16f8Smrgac_configure_extra_args=
395392bb16f8Smrg
395492bb16f8Smrgif $ac_cs_silent; then
395592bb16f8Smrg  exec 6>/dev/null
395692bb16f8Smrg  ac_configure_extra_args="$ac_configure_extra_args --silent"
395792bb16f8Smrgfi
395892bb16f8Smrg
395992bb16f8Smrg_ACEOF
39608255a313Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
396192bb16f8Smrgif \$ac_cs_recheck; then
396201395c31Smrg  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
39638255a313Smrg  shift
39643d13e800Smrg  \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
39658255a313Smrg  CONFIG_SHELL='$SHELL'
396692bb16f8Smrg  export CONFIG_SHELL
39678255a313Smrg  exec "\$@"
396892bb16f8Smrgfi
396992bb16f8Smrg
397092bb16f8Smrg_ACEOF
39718255a313Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
397292bb16f8Smrgexec 5>>config.log
397392bb16f8Smrg{
397492bb16f8Smrg  echo
397592bb16f8Smrg  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
397692bb16f8Smrg## Running $as_me. ##
397792bb16f8Smrg_ASBOX
39783d13e800Smrg  printf "%s\n" "$ac_log"
397992bb16f8Smrg} >&5
398092bb16f8Smrg
398192bb16f8Smrg_ACEOF
39828255a313Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
398392bb16f8Smrg_ACEOF
398492bb16f8Smrg
39858255a313Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
398692bb16f8Smrg
398792bb16f8Smrg# Handling of arguments.
398892bb16f8Smrgfor ac_config_target in $ac_config_targets
398992bb16f8Smrgdo
399092bb16f8Smrg  case $ac_config_target in
399192bb16f8Smrg    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
399292bb16f8Smrg    "large/Makefile") CONFIG_FILES="$CONFIG_FILES large/Makefile" ;;
399392bb16f8Smrg
3994187ef25fSmrg  *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
399592bb16f8Smrg  esac
399692bb16f8Smrgdone
399792bb16f8Smrg
399892bb16f8Smrg
399992bb16f8Smrg# If the user did not use the arguments to specify the items to instantiate,
400092bb16f8Smrg# then the envvar interface is used.  Set only those that are not.
400192bb16f8Smrg# We use the long form for the default assignment because of an extremely
400292bb16f8Smrg# bizarre bug on SunOS 4.1.3.
400392bb16f8Smrgif $ac_need_defaults; then
40043d13e800Smrg  test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
400592bb16f8Smrgfi
400692bb16f8Smrg
400792bb16f8Smrg# Have a temporary directory for convenience.  Make it in the build tree
400892bb16f8Smrg# simply because there is no reason against having it here, and in addition,
400992bb16f8Smrg# creating and moving files from /tmp can sometimes cause problems.
401092bb16f8Smrg# Hook for its removal unless debugging.
401192bb16f8Smrg# Note that there is a small window in which the directory will not be cleaned:
4012187ef25fSmrg# after its creation but before its name has been assigned to '$tmp'.
401392bb16f8Smrg$debug ||
401492bb16f8Smrg{
4015de7ed6e8Smrg  tmp= ac_tmp=
401692bb16f8Smrg  trap 'exit_status=$?
4017de7ed6e8Smrg  : "${ac_tmp:=$tmp}"
4018de7ed6e8Smrg  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
401992bb16f8Smrg' 0
4020de7ed6e8Smrg  trap 'as_fn_exit 1' 1 2 13 15
402192bb16f8Smrg}
402292bb16f8Smrg# Create a (secure) tmp directory for tmp files.
402392bb16f8Smrg
402492bb16f8Smrg{
402592bb16f8Smrg  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4026de7ed6e8Smrg  test -d "$tmp"
402792bb16f8Smrg}  ||
402892bb16f8Smrg{
402992bb16f8Smrg  tmp=./conf$$-$RANDOM
403092bb16f8Smrg  (umask 077 && mkdir "$tmp")
4031de7ed6e8Smrg} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4032de7ed6e8Smrgac_tmp=$tmp
403392bb16f8Smrg
40348255a313Smrg# Set up the scripts for CONFIG_FILES section.
40358255a313Smrg# No need to generate them if there are no CONFIG_FILES.
4036187ef25fSmrg# This happens for instance with './config.status config.h'.
403792bb16f8Smrgif test -n "$CONFIG_FILES"; then
403892bb16f8Smrg
403992bb16f8Smrg
4040de7ed6e8Smrgac_cr=`echo X | tr X '\015'`
4041de7ed6e8Smrg# On cygwin, bash can eat \r inside `` if the user requested igncr.
4042de7ed6e8Smrg# But we know of no other shell where ac_cr would be empty at this
4043de7ed6e8Smrg# point, so we can use a bashism as a fallback.
4044de7ed6e8Smrgif test "x$ac_cr" = x; then
4045de7ed6e8Smrg  eval ac_cr=\$\'\\r\'
4046de7ed6e8Smrgfi
40478255a313Smrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
40488255a313Smrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
40498255a313Smrg  ac_cs_awk_cr='\\r'
40508255a313Smrgelse
40518255a313Smrg  ac_cs_awk_cr=$ac_cr
40528255a313Smrgfi
40538255a313Smrg
4054de7ed6e8Smrgecho 'BEGIN {' >"$ac_tmp/subs1.awk" &&
40558255a313Smrg_ACEOF
405692bb16f8Smrg
405792bb16f8Smrg
40588255a313Smrg{
40598255a313Smrg  echo "cat >conf$$subs.awk <<_ACEOF" &&
40608255a313Smrg  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
40618255a313Smrg  echo "_ACEOF"
40628255a313Smrg} >conf$$subs.sh ||
4063de7ed6e8Smrg  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4064de7ed6e8Smrgac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
406592bb16f8Smrgac_delim='%!_!# '
406692bb16f8Smrgfor ac_last_try in false false false false false :; do
40678255a313Smrg  . ./conf$$subs.sh ||
4068de7ed6e8Smrg    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
40698255a313Smrg
40708255a313Smrg  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
40718255a313Smrg  if test $ac_delim_n = $ac_delim_num; then
407292bb16f8Smrg    break
407392bb16f8Smrg  elif $ac_last_try; then
4074de7ed6e8Smrg    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
407592bb16f8Smrg  else
407692bb16f8Smrg    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
407792bb16f8Smrg  fi
407892bb16f8Smrgdone
40798255a313Smrgrm -f conf$$subs.sh
408092bb16f8Smrg
40818255a313Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4082de7ed6e8Smrgcat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
40838255a313Smrg_ACEOF
40848255a313Smrgsed -n '
40858255a313Smrgh
40868255a313Smrgs/^/S["/; s/!.*/"]=/
40878255a313Smrgp
40888255a313Smrgg
40898255a313Smrgs/^[^!]*!//
40908255a313Smrg:repl
40918255a313Smrgt repl
40928255a313Smrgs/'"$ac_delim"'$//
40938255a313Smrgt delim
40948255a313Smrg:nl
40958255a313Smrgh
4096de7ed6e8Smrgs/\(.\{148\}\)..*/\1/
40978255a313Smrgt more1
40988255a313Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
40998255a313Smrgp
41008255a313Smrgn
41018255a313Smrgb repl
41028255a313Smrg:more1
41038255a313Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/
41048255a313Smrgp
41058255a313Smrgg
41068255a313Smrgs/.\{148\}//
41078255a313Smrgt nl
41088255a313Smrg:delim
41098255a313Smrgh
4110de7ed6e8Smrgs/\(.\{148\}\)..*/\1/
41118255a313Smrgt more2
41128255a313Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/
41138255a313Smrgp
41148255a313Smrgb
41158255a313Smrg:more2
41168255a313Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/
41178255a313Smrgp
41188255a313Smrgg
41198255a313Smrgs/.\{148\}//
41208255a313Smrgt delim
41218255a313Smrg' <conf$$subs.awk | sed '
41228255a313Smrg/^[^""]/{
41238255a313Smrg  N
41248255a313Smrg  s/\n//
41258255a313Smrg}
41268255a313Smrg' >>$CONFIG_STATUS || ac_write_fail=1
41278255a313Smrgrm -f conf$$subs.awk
41288255a313Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41298255a313Smrg_ACAWK
4130de7ed6e8Smrgcat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
41318255a313Smrg  for (key in S) S_is_set[key] = 1
41328255a313Smrg  FS = ""
41338255a313Smrg
41348255a313Smrg}
41358255a313Smrg{
41368255a313Smrg  line = $ 0
41378255a313Smrg  nfields = split(line, field, "@")
41388255a313Smrg  substed = 0
41398255a313Smrg  len = length(field[1])
41408255a313Smrg  for (i = 2; i < nfields; i++) {
41418255a313Smrg    key = field[i]
41428255a313Smrg    keylen = length(key)
41438255a313Smrg    if (S_is_set[key]) {
41448255a313Smrg      value = S[key]
41458255a313Smrg      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
41468255a313Smrg      len += length(value) + length(field[++i])
41478255a313Smrg      substed = 1
41488255a313Smrg    } else
41498255a313Smrg      len += 1 + keylen
41508255a313Smrg  }
41518255a313Smrg
41528255a313Smrg  print line
41538255a313Smrg}
415492bb16f8Smrg
41558255a313Smrg_ACAWK
415692bb16f8Smrg_ACEOF
41578255a313Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41588255a313Smrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
41598255a313Smrg  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
41608255a313Smrgelse
41618255a313Smrg  cat
4162de7ed6e8Smrgfi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4163de7ed6e8Smrg  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
416492bb16f8Smrg_ACEOF
416592bb16f8Smrg
4166de7ed6e8Smrg# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4167de7ed6e8Smrg# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
416892bb16f8Smrg# trailing colons and then remove the whole line if VPATH becomes empty
416992bb16f8Smrg# (actually we leave an empty line to preserve line numbers).
417092bb16f8Smrgif test "x$srcdir" = x.; then
4171de7ed6e8Smrg  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
4172de7ed6e8Smrgh
4173de7ed6e8Smrgs///
4174de7ed6e8Smrgs/^/:/
4175de7ed6e8Smrgs/[	 ]*$/:/
4176de7ed6e8Smrgs/:\$(srcdir):/:/g
4177de7ed6e8Smrgs/:\${srcdir}:/:/g
4178de7ed6e8Smrgs/:@srcdir@:/:/g
4179de7ed6e8Smrgs/^:*//
418092bb16f8Smrgs/:*$//
4181de7ed6e8Smrgx
4182de7ed6e8Smrgs/\(=[	 ]*\).*/\1/
4183de7ed6e8SmrgG
4184de7ed6e8Smrgs/\n//
418592bb16f8Smrgs/^[^=]*=[	 ]*$//
418692bb16f8Smrg}'
418792bb16f8Smrgfi
418892bb16f8Smrg
41898255a313Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
419092bb16f8Smrgfi # test -n "$CONFIG_FILES"
419192bb16f8Smrg
419292bb16f8Smrg
419322138c50Smrgeval set X "  :F $CONFIG_FILES      "
41948255a313Smrgshift
41958255a313Smrgfor ac_tag
419692bb16f8Smrgdo
419792bb16f8Smrg  case $ac_tag in
419892bb16f8Smrg  :[FHLC]) ac_mode=$ac_tag; continue;;
419992bb16f8Smrg  esac
420092bb16f8Smrg  case $ac_mode$ac_tag in
420192bb16f8Smrg  :[FHL]*:*);;
4202187ef25fSmrg  :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
420392bb16f8Smrg  :[FH]-) ac_tag=-:-;;
420492bb16f8Smrg  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
420592bb16f8Smrg  esac
420692bb16f8Smrg  ac_save_IFS=$IFS
420792bb16f8Smrg  IFS=:
420892bb16f8Smrg  set x $ac_tag
420992bb16f8Smrg  IFS=$ac_save_IFS
421092bb16f8Smrg  shift
421192bb16f8Smrg  ac_file=$1
421292bb16f8Smrg  shift
421392bb16f8Smrg
421492bb16f8Smrg  case $ac_mode in
421592bb16f8Smrg  :L) ac_source=$1;;
421692bb16f8Smrg  :[FH])
421792bb16f8Smrg    ac_file_inputs=
421892bb16f8Smrg    for ac_f
421992bb16f8Smrg    do
422092bb16f8Smrg      case $ac_f in
4221de7ed6e8Smrg      -) ac_f="$ac_tmp/stdin";;
422292bb16f8Smrg      *) # Look for the file first in the build tree, then in the source tree
422392bb16f8Smrg	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
4224187ef25fSmrg	 # because $ac_f cannot contain ':'.
422592bb16f8Smrg	 test -f "$ac_f" ||
422692bb16f8Smrg	   case $ac_f in
422792bb16f8Smrg	   [\\/$]*) false;;
422892bb16f8Smrg	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
422992bb16f8Smrg	   esac ||
4230187ef25fSmrg	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
423192bb16f8Smrg      esac
42323d13e800Smrg      case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4233de7ed6e8Smrg      as_fn_append ac_file_inputs " '$ac_f'"
423492bb16f8Smrg    done
423592bb16f8Smrg
4236187ef25fSmrg    # Let's still pretend it is 'configure' which instantiates (i.e., don't
423792bb16f8Smrg    # use $as_me), people would be surprised to read:
423892bb16f8Smrg    #    /* config.h.  Generated by config.status.  */
42398255a313Smrg    configure_input='Generated from '`
42403d13e800Smrg	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
42418255a313Smrg	`' by configure.'
424292bb16f8Smrg    if test x"$ac_file" != x-; then
424392bb16f8Smrg      configure_input="$ac_file.  $configure_input"
42443d13e800Smrg      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
42453d13e800Smrgprintf "%s\n" "$as_me: creating $ac_file" >&6;}
424692bb16f8Smrg    fi
42478255a313Smrg    # Neutralize special characters interpreted by sed in replacement strings.
42488255a313Smrg    case $configure_input in #(
42498255a313Smrg    *\&* | *\|* | *\\* )
42503d13e800Smrg       ac_sed_conf_input=`printf "%s\n" "$configure_input" |
42518255a313Smrg       sed 's/[\\\\&|]/\\\\&/g'`;; #(
42528255a313Smrg    *) ac_sed_conf_input=$configure_input;;
42538255a313Smrg    esac
425492bb16f8Smrg
425592bb16f8Smrg    case $ac_tag in
4256de7ed6e8Smrg    *:-:* | *:-) cat >"$ac_tmp/stdin" \
4257de7ed6e8Smrg      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
425892bb16f8Smrg    esac
425992bb16f8Smrg    ;;
426092bb16f8Smrg  esac
426192bb16f8Smrg
426292bb16f8Smrg  ac_dir=`$as_dirname -- "$ac_file" ||
426392bb16f8Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
426492bb16f8Smrg	 X"$ac_file" : 'X\(//\)[^/]' \| \
426592bb16f8Smrg	 X"$ac_file" : 'X\(//\)$' \| \
426692bb16f8Smrg	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
42673d13e800Smrgprintf "%s\n" X"$ac_file" |
426892bb16f8Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
426992bb16f8Smrg	    s//\1/
427092bb16f8Smrg	    q
427192bb16f8Smrg	  }
427292bb16f8Smrg	  /^X\(\/\/\)[^/].*/{
427392bb16f8Smrg	    s//\1/
427492bb16f8Smrg	    q
427592bb16f8Smrg	  }
427692bb16f8Smrg	  /^X\(\/\/\)$/{
427792bb16f8Smrg	    s//\1/
427892bb16f8Smrg	    q
427992bb16f8Smrg	  }
428092bb16f8Smrg	  /^X\(\/\).*/{
428192bb16f8Smrg	    s//\1/
428292bb16f8Smrg	    q
428392bb16f8Smrg	  }
428492bb16f8Smrg	  s/.*/./; q'`
4285de7ed6e8Smrg  as_dir="$ac_dir"; as_fn_mkdir_p
428692bb16f8Smrg  ac_builddir=.
428792bb16f8Smrg
428892bb16f8Smrgcase "$ac_dir" in
428992bb16f8Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
429092bb16f8Smrg*)
42913d13e800Smrg  ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
429292bb16f8Smrg  # A ".." for each directory in $ac_dir_suffix.
42933d13e800Smrg  ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
429492bb16f8Smrg  case $ac_top_builddir_sub in
429592bb16f8Smrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
429692bb16f8Smrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
429792bb16f8Smrg  esac ;;
429892bb16f8Smrgesac
429992bb16f8Smrgac_abs_top_builddir=$ac_pwd
430092bb16f8Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix
430192bb16f8Smrg# for backward compatibility:
430292bb16f8Smrgac_top_builddir=$ac_top_build_prefix
430392bb16f8Smrg
430492bb16f8Smrgcase $srcdir in
430592bb16f8Smrg  .)  # We are building in place.
430692bb16f8Smrg    ac_srcdir=.
430792bb16f8Smrg    ac_top_srcdir=$ac_top_builddir_sub
430892bb16f8Smrg    ac_abs_top_srcdir=$ac_pwd ;;
430992bb16f8Smrg  [\\/]* | ?:[\\/]* )  # Absolute name.
431092bb16f8Smrg    ac_srcdir=$srcdir$ac_dir_suffix;
431192bb16f8Smrg    ac_top_srcdir=$srcdir
431292bb16f8Smrg    ac_abs_top_srcdir=$srcdir ;;
431392bb16f8Smrg  *) # Relative name.
431492bb16f8Smrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
431592bb16f8Smrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
431692bb16f8Smrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
431792bb16f8Smrgesac
431892bb16f8Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
431992bb16f8Smrg
432092bb16f8Smrg
432192bb16f8Smrg  case $ac_mode in
432292bb16f8Smrg  :F)
432392bb16f8Smrg  #
432492bb16f8Smrg  # CONFIG_FILE
432592bb16f8Smrg  #
432692bb16f8Smrg
432792bb16f8Smrg  case $INSTALL in
432892bb16f8Smrg  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
432992bb16f8Smrg  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
433092bb16f8Smrg  esac
43318255a313Smrg  ac_MKDIR_P=$MKDIR_P
43328255a313Smrg  case $MKDIR_P in
43338255a313Smrg  [\\/$]* | ?:[\\/]* ) ;;
43348255a313Smrg  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
43358255a313Smrg  esac
433692bb16f8Smrg_ACEOF
433792bb16f8Smrg
43388255a313Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
433992bb16f8Smrg# If the template does not know about datarootdir, expand it.
434092bb16f8Smrg# FIXME: This hack should be removed a few years after 2.60.
434192bb16f8Smrgac_datarootdir_hack=; ac_datarootdir_seen=
43428255a313Smrgac_sed_dataroot='
43438255a313Smrg/datarootdir/ {
434492bb16f8Smrg  p
434592bb16f8Smrg  q
434692bb16f8Smrg}
434792bb16f8Smrg/@datadir@/p
434892bb16f8Smrg/@docdir@/p
434992bb16f8Smrg/@infodir@/p
435092bb16f8Smrg/@localedir@/p
4351de7ed6e8Smrg/@mandir@/p'
43528255a313Smrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
435392bb16f8Smrg*datarootdir*) ac_datarootdir_seen=yes;;
435492bb16f8Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
43553d13e800Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
43563d13e800Smrgprintf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
435792bb16f8Smrg_ACEOF
43588255a313Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
435992bb16f8Smrg  ac_datarootdir_hack='
436092bb16f8Smrg  s&@datadir@&$datadir&g
436192bb16f8Smrg  s&@docdir@&$docdir&g
436292bb16f8Smrg  s&@infodir@&$infodir&g
436392bb16f8Smrg  s&@localedir@&$localedir&g
436492bb16f8Smrg  s&@mandir@&$mandir&g
4365de7ed6e8Smrg  s&\\\${datarootdir}&$datarootdir&g' ;;
436692bb16f8Smrgesac
436792bb16f8Smrg_ACEOF
436892bb16f8Smrg
4369187ef25fSmrg# Neutralize VPATH when '$srcdir' = '.'.
437092bb16f8Smrg# Shell code in configure.ac might set extrasub.
437192bb16f8Smrg# FIXME: do we really want to maintain this feature?
43728255a313Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
43738255a313Smrgac_sed_extra="$ac_vpsub
437492bb16f8Smrg$extrasub
437592bb16f8Smrg_ACEOF
43768255a313Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
437792bb16f8Smrg:t
437892bb16f8Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
43798255a313Smrgs|@configure_input@|$ac_sed_conf_input|;t t
438092bb16f8Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t
43818255a313Smrgs&@top_build_prefix@&$ac_top_build_prefix&;t t
438292bb16f8Smrgs&@srcdir@&$ac_srcdir&;t t
438392bb16f8Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t
438492bb16f8Smrgs&@top_srcdir@&$ac_top_srcdir&;t t
438592bb16f8Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
438692bb16f8Smrgs&@builddir@&$ac_builddir&;t t
438792bb16f8Smrgs&@abs_builddir@&$ac_abs_builddir&;t t
438892bb16f8Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t
438992bb16f8Smrgs&@INSTALL@&$ac_INSTALL&;t t
43908255a313Smrgs&@MKDIR_P@&$ac_MKDIR_P&;t t
439192bb16f8Smrg$ac_datarootdir_hack
43928255a313Smrg"
4393de7ed6e8Smrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4394de7ed6e8Smrg  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
439592bb16f8Smrg
439692bb16f8Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4397de7ed6e8Smrg  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4398de7ed6e8Smrg  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
4399de7ed6e8Smrg      "$ac_tmp/out"`; test -z "$ac_out"; } &&
4400187ef25fSmrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
4401de7ed6e8Smrgwhich seems to be undefined.  Please make sure it is defined" >&5
4402187ef25fSmrgprintf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
4403de7ed6e8Smrgwhich seems to be undefined.  Please make sure it is defined" >&2;}
440492bb16f8Smrg
4405de7ed6e8Smrg  rm -f "$ac_tmp/stdin"
440692bb16f8Smrg  case $ac_file in
4407de7ed6e8Smrg  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4408de7ed6e8Smrg  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
44098255a313Smrg  esac \
4410de7ed6e8Smrg  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
441192bb16f8Smrg ;;
441292bb16f8Smrg
441392bb16f8Smrg
441492bb16f8Smrg
44158255a313Smrg  esac
441622138c50Smrg
441792bb16f8Smrgdone # for ac_tag
441892bb16f8Smrg
441992bb16f8Smrg
4420de7ed6e8Smrgas_fn_exit 0
442192bb16f8Smrg_ACEOF
442292bb16f8Smrgac_clean_files=$ac_clean_files_save
442392bb16f8Smrg
44248255a313Smrgtest $ac_write_fail = 0 ||
4425de7ed6e8Smrg  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
44268255a313Smrg
442792bb16f8Smrg
442892bb16f8Smrg# configure is writing to config.log, and then calls config.status.
442992bb16f8Smrg# config.status does its own redirection, appending to config.log.
443092bb16f8Smrg# Unfortunately, on DOS this fails, as config.log is still kept open
443192bb16f8Smrg# by configure, so config.status won't be able to write to it; its
443292bb16f8Smrg# output is simply discarded.  So we exec the FD to /dev/null,
443392bb16f8Smrg# effectively closing config.log, so it can be properly (re)opened and
443492bb16f8Smrg# appended to by config.status.  When coming back to configure, we
443592bb16f8Smrg# need to make the FD available again.
443692bb16f8Smrgif test "$no_create" != yes; then
443792bb16f8Smrg  ac_cs_success=:
443892bb16f8Smrg  ac_config_status_args=
443992bb16f8Smrg  test "$silent" = yes &&
444092bb16f8Smrg    ac_config_status_args="$ac_config_status_args --quiet"
444192bb16f8Smrg  exec 5>/dev/null
444292bb16f8Smrg  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
444392bb16f8Smrg  exec 5>>config.log
444492bb16f8Smrg  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
444592bb16f8Smrg  # would make configure fail if this is the last instruction.
4446de7ed6e8Smrg  $ac_cs_success || as_fn_exit 1
444792bb16f8Smrgfi
44488255a313Smrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
44493d13e800Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
44503d13e800Smrgprintf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
44518255a313Smrgfi
445292bb16f8Smrg
44533d13e800Smrg
4454