configure revision 22138c50
192bb16f8Smrg#! /bin/sh
292bb16f8Smrg# Guess values for system-dependent variables and create Makefiles.
322138c50Smrg# Generated by GNU Autoconf 2.71 for encodings 1.0.7.
492bb16f8Smrg#
522138c50Smrg# Report bugs to <https://gitlab.freedesktop.org/xorg/font/encodings/-/issues>.
692bb16f8Smrg#
7de7ed6e8Smrg#
83d13e800Smrg# Copyright (C) 1992-1996, 1998-2017, 2020-2021 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
203d13e800Smrgas_nop=:
213d13e800Smrgif test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
223d13e800Smrgthen :
2392bb16f8Smrg  emulate sh
2492bb16f8Smrg  NULLCMD=:
258255a313Smrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2692bb16f8Smrg  # is contrary to our usage.  Disable this feature.
2792bb16f8Smrg  alias -g '${1+"$@"}'='"$@"'
2892bb16f8Smrg  setopt NO_GLOB_SUBST
293d13e800Smrgelse $as_nop
30de7ed6e8Smrg  case `(set -o) 2>/dev/null` in #(
31de7ed6e8Smrg  *posix*) :
32de7ed6e8Smrg    set -o posix ;; #(
33de7ed6e8Smrg  *) :
34de7ed6e8Smrg     ;;
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
10692bb16f8Smrg# 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
13601395c31Smrg# 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
1433d13e800Smrg  as_bourne_compatible="as_nop=:
1443d13e800Smrgif test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
1453d13e800Smrgthen :
146de7ed6e8Smrg  emulate sh
147de7ed6e8Smrg  NULLCMD=:
148de7ed6e8Smrg  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149de7ed6e8Smrg  # is contrary to our usage.  Disable this feature.
150de7ed6e8Smrg  alias -g '\${1+\"\$@\"}'='\"\$@\"'
151de7ed6e8Smrg  setopt NO_GLOB_SUBST
1523d13e800Smrgelse \$as_nop
153de7ed6e8Smrg  case \`(set -o) 2>/dev/null\` in #(
154de7ed6e8Smrg  *posix*) :
155de7ed6e8Smrg    set -o posix ;; #(
156de7ed6e8Smrg  *) :
157de7ed6e8Smrg     ;;
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
1753d13e800Smrgelse \$as_nop
176de7ed6e8Smrg  exitcode=1; echo positional parameters were not saved.
177de7ed6e8Smrgfi
17801395c31Smrgtest x\$exitcode = x0 || exit 1
1793d13e800Smrgblah=\$(echo \$(echo blah))
1803d13e800Smrgtest x\"\$blah\" = xblah || exit 1
18101395c31Smrgtest -x / || exit 1"
182de7ed6e8Smrg  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
183de7ed6e8Smrg  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
184de7ed6e8Smrg  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185de7ed6e8Smrg  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
186de7ed6e8Smrgtest \$(( 1 + 1 )) = 2 || exit 1"
1873d13e800Smrg  if (eval "$as_required") 2>/dev/null
1883d13e800Smrgthen :
189de7ed6e8Smrg  as_have_required=yes
1903d13e800Smrgelse $as_nop
191de7ed6e8Smrg  as_have_required=no
192de7ed6e8Smrgfi
1933d13e800Smrg  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
1943d13e800Smrgthen :
195de7ed6e8Smrg
1963d13e800Smrgelse $as_nop
197de7ed6e8Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
198de7ed6e8Smrgas_found=false
199de7ed6e8Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
200de7ed6e8Smrgdo
201de7ed6e8Smrg  IFS=$as_save_IFS
2023d13e800Smrg  case $as_dir in #(((
2033d13e800Smrg    '') as_dir=./ ;;
2043d13e800Smrg    */) ;;
2053d13e800Smrg    *) as_dir=$as_dir/ ;;
2063d13e800Smrg  esac
207de7ed6e8Smrg  as_found=:
208de7ed6e8Smrg  case $as_dir in #(
209de7ed6e8Smrg	 /*)
210de7ed6e8Smrg	   for as_base in sh bash ksh sh5; do
211de7ed6e8Smrg	     # Try only shells that exist, to save several forks.
2123d13e800Smrg	     as_shell=$as_dir$as_base
213de7ed6e8Smrg	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
2143d13e800Smrg		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
2153d13e800Smrgthen :
216de7ed6e8Smrg  CONFIG_SHELL=$as_shell as_have_required=yes
2173d13e800Smrg		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
2183d13e800Smrgthen :
219de7ed6e8Smrg  break 2
220de7ed6e8Smrgfi
221de7ed6e8Smrgfi
222de7ed6e8Smrg	   done;;
223de7ed6e8Smrg       esac
224de7ed6e8Smrg  as_found=false
225de7ed6e8Smrgdone
226de7ed6e8SmrgIFS=$as_save_IFS
2273d13e800Smrgif $as_found
2283d13e800Smrgthen :
2293d13e800Smrg
2303d13e800Smrgelse $as_nop
2313d13e800Smrg  if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
2323d13e800Smrg	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
2333d13e800Smrgthen :
2343d13e800Smrg  CONFIG_SHELL=$SHELL as_have_required=yes
2353d13e800Smrgfi
2363d13e800Smrgfi
237de7ed6e8Smrg
238de7ed6e8Smrg
2393d13e800Smrg      if test "x$CONFIG_SHELL" != x
2403d13e800Smrgthen :
24101395c31Smrg  export CONFIG_SHELL
24201395c31Smrg             # We cannot yet assume a decent shell, so we have to provide a
24301395c31Smrg# neutralization value for shells without unset; and this also
24401395c31Smrg# works around shells that cannot unset nonexistent variables.
24501395c31Smrg# Preserve -v and -x to the replacement shell.
24601395c31SmrgBASH_ENV=/dev/null
24701395c31SmrgENV=/dev/null
24801395c31Smrg(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
24901395c31Smrgcase $- in # ((((
25001395c31Smrg  *v*x* | *x*v* ) as_opts=-vx ;;
25101395c31Smrg  *v* ) as_opts=-v ;;
25201395c31Smrg  *x* ) as_opts=-x ;;
25301395c31Smrg  * ) as_opts= ;;
25401395c31Smrgesac
25501395c31Smrgexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
25601395c31Smrg# Admittedly, this is quite paranoid, since all the known shells bail
25701395c31Smrg# out after a failed `exec'.
2583d13e800Smrgprintf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
25901395c31Smrgexit 255
260de7ed6e8Smrgfi
261de7ed6e8Smrg
2623d13e800Smrg    if test x$as_have_required = xno
2633d13e800Smrgthen :
2643d13e800Smrg  printf "%s\n" "$0: This script requires a shell more modern than all"
2653d13e800Smrg  printf "%s\n" "$0: the shells that I found on your system."
2663d13e800Smrg  if test ${ZSH_VERSION+y} ; then
2673d13e800Smrg    printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
2683d13e800Smrg    printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
269de7ed6e8Smrg  else
2703d13e800Smrg    printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
27122138c50Smrg$0: https://gitlab.freedesktop.org/xorg/font/encodings/-/issues
272de7ed6e8Smrg$0: about your system, including any error possibly output
273de7ed6e8Smrg$0: before this message. Then install a modern shell, or
274de7ed6e8Smrg$0: manually run the script under such a shell if you do
275de7ed6e8Smrg$0: have one."
276de7ed6e8Smrg  fi
277de7ed6e8Smrg  exit 1
278de7ed6e8Smrgfi
279de7ed6e8Smrgfi
280de7ed6e8Smrgfi
281de7ed6e8SmrgSHELL=${CONFIG_SHELL-/bin/sh}
282de7ed6e8Smrgexport SHELL
283de7ed6e8Smrg# Unset more variables known to interfere with behavior of common tools.
284de7ed6e8SmrgCLICOLOR_FORCE= GREP_OPTIONS=
285de7ed6e8Smrgunset CLICOLOR_FORCE GREP_OPTIONS
286de7ed6e8Smrg
287de7ed6e8Smrg## --------------------- ##
288de7ed6e8Smrg## M4sh Shell Functions. ##
289de7ed6e8Smrg## --------------------- ##
290de7ed6e8Smrg# as_fn_unset VAR
291de7ed6e8Smrg# ---------------
292de7ed6e8Smrg# Portably unset VAR.
293de7ed6e8Smrgas_fn_unset ()
294de7ed6e8Smrg{
295de7ed6e8Smrg  { eval $1=; unset $1;}
296de7ed6e8Smrg}
297de7ed6e8Smrgas_unset=as_fn_unset
298de7ed6e8Smrg
2993d13e800Smrg
300de7ed6e8Smrg# as_fn_set_status STATUS
301de7ed6e8Smrg# -----------------------
302de7ed6e8Smrg# Set $? to STATUS, without forking.
303de7ed6e8Smrgas_fn_set_status ()
304de7ed6e8Smrg{
305de7ed6e8Smrg  return $1
306de7ed6e8Smrg} # as_fn_set_status
307de7ed6e8Smrg
308de7ed6e8Smrg# as_fn_exit STATUS
309de7ed6e8Smrg# -----------------
310de7ed6e8Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
311de7ed6e8Smrgas_fn_exit ()
312de7ed6e8Smrg{
313de7ed6e8Smrg  set +e
314de7ed6e8Smrg  as_fn_set_status $1
315de7ed6e8Smrg  exit $1
316de7ed6e8Smrg} # as_fn_exit
3173d13e800Smrg# as_fn_nop
3183d13e800Smrg# ---------
3193d13e800Smrg# Do nothing but, unlike ":", preserve the value of $?.
3203d13e800Smrgas_fn_nop ()
3213d13e800Smrg{
3223d13e800Smrg  return $?
3233d13e800Smrg}
3243d13e800Smrgas_nop=as_fn_nop
325de7ed6e8Smrg
326de7ed6e8Smrg# as_fn_mkdir_p
327de7ed6e8Smrg# -------------
328de7ed6e8Smrg# Create "$as_dir" as a directory, including parents if necessary.
329de7ed6e8Smrgas_fn_mkdir_p ()
330de7ed6e8Smrg{
331de7ed6e8Smrg
332de7ed6e8Smrg  case $as_dir in #(
333de7ed6e8Smrg  -*) as_dir=./$as_dir;;
334de7ed6e8Smrg  esac
335de7ed6e8Smrg  test -d "$as_dir" || eval $as_mkdir_p || {
336de7ed6e8Smrg    as_dirs=
337de7ed6e8Smrg    while :; do
338de7ed6e8Smrg      case $as_dir in #(
3393d13e800Smrg      *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
340de7ed6e8Smrg      *) as_qdir=$as_dir;;
341de7ed6e8Smrg      esac
342de7ed6e8Smrg      as_dirs="'$as_qdir' $as_dirs"
343de7ed6e8Smrg      as_dir=`$as_dirname -- "$as_dir" ||
344de7ed6e8Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
345de7ed6e8Smrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
346de7ed6e8Smrg	 X"$as_dir" : 'X\(//\)$' \| \
347de7ed6e8Smrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3483d13e800Smrgprintf "%s\n" X"$as_dir" |
349de7ed6e8Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
350de7ed6e8Smrg	    s//\1/
351de7ed6e8Smrg	    q
352de7ed6e8Smrg	  }
353de7ed6e8Smrg	  /^X\(\/\/\)[^/].*/{
354de7ed6e8Smrg	    s//\1/
355de7ed6e8Smrg	    q
356de7ed6e8Smrg	  }
357de7ed6e8Smrg	  /^X\(\/\/\)$/{
358de7ed6e8Smrg	    s//\1/
359de7ed6e8Smrg	    q
360de7ed6e8Smrg	  }
361de7ed6e8Smrg	  /^X\(\/\).*/{
362de7ed6e8Smrg	    s//\1/
363de7ed6e8Smrg	    q
364de7ed6e8Smrg	  }
365de7ed6e8Smrg	  s/.*/./; q'`
366de7ed6e8Smrg      test -d "$as_dir" && break
367de7ed6e8Smrg    done
368de7ed6e8Smrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
369de7ed6e8Smrg  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
370de7ed6e8Smrg
371de7ed6e8Smrg
372de7ed6e8Smrg} # as_fn_mkdir_p
37301395c31Smrg
37401395c31Smrg# as_fn_executable_p FILE
37501395c31Smrg# -----------------------
37601395c31Smrg# Test if FILE is an executable regular file.
37701395c31Smrgas_fn_executable_p ()
37801395c31Smrg{
37901395c31Smrg  test -f "$1" && test -x "$1"
38001395c31Smrg} # as_fn_executable_p
381de7ed6e8Smrg# as_fn_append VAR VALUE
382de7ed6e8Smrg# ----------------------
383de7ed6e8Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take
384de7ed6e8Smrg# advantage of any shell optimizations that allow amortized linear growth over
385de7ed6e8Smrg# repeated appends, instead of the typical quadratic growth present in naive
386de7ed6e8Smrg# implementations.
3873d13e800Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
3883d13e800Smrgthen :
389de7ed6e8Smrg  eval 'as_fn_append ()
390de7ed6e8Smrg  {
391de7ed6e8Smrg    eval $1+=\$2
392de7ed6e8Smrg  }'
3933d13e800Smrgelse $as_nop
394de7ed6e8Smrg  as_fn_append ()
395de7ed6e8Smrg  {
396de7ed6e8Smrg    eval $1=\$$1\$2
397de7ed6e8Smrg  }
398de7ed6e8Smrgfi # as_fn_append
399de7ed6e8Smrg
400de7ed6e8Smrg# as_fn_arith ARG...
401de7ed6e8Smrg# ------------------
402de7ed6e8Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the
403de7ed6e8Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments
404de7ed6e8Smrg# must be portable across $(()) and expr.
4053d13e800Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
4063d13e800Smrgthen :
407de7ed6e8Smrg  eval 'as_fn_arith ()
408de7ed6e8Smrg  {
409de7ed6e8Smrg    as_val=$(( $* ))
410de7ed6e8Smrg  }'
4113d13e800Smrgelse $as_nop
412de7ed6e8Smrg  as_fn_arith ()
413de7ed6e8Smrg  {
414de7ed6e8Smrg    as_val=`expr "$@" || test $? -eq 1`
415de7ed6e8Smrg  }
416de7ed6e8Smrgfi # as_fn_arith
417de7ed6e8Smrg
4183d13e800Smrg# as_fn_nop
4193d13e800Smrg# ---------
4203d13e800Smrg# Do nothing but, unlike ":", preserve the value of $?.
4213d13e800Smrgas_fn_nop ()
4223d13e800Smrg{
4233d13e800Smrg  return $?
4243d13e800Smrg}
4253d13e800Smrgas_nop=as_fn_nop
426de7ed6e8Smrg
427de7ed6e8Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD]
428de7ed6e8Smrg# ----------------------------------------
429de7ed6e8Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
430de7ed6e8Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
431de7ed6e8Smrg# script with STATUS, using 1 if that was 0.
432de7ed6e8Smrgas_fn_error ()
433de7ed6e8Smrg{
434de7ed6e8Smrg  as_status=$1; test $as_status -eq 0 && as_status=1
435de7ed6e8Smrg  if test "$4"; then
436de7ed6e8Smrg    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4373d13e800Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
438de7ed6e8Smrg  fi
4393d13e800Smrg  printf "%s\n" "$as_me: error: $2" >&2
440de7ed6e8Smrg  as_fn_exit $as_status
441de7ed6e8Smrg} # as_fn_error
442de7ed6e8Smrg
44392bb16f8Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
44492bb16f8Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
44592bb16f8Smrg  as_expr=expr
44692bb16f8Smrgelse
44792bb16f8Smrg  as_expr=false
44892bb16f8Smrgfi
44992bb16f8Smrg
45092bb16f8Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
45192bb16f8Smrg  as_basename=basename
45292bb16f8Smrgelse
45392bb16f8Smrg  as_basename=false
45492bb16f8Smrgfi
45592bb16f8Smrg
456de7ed6e8Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
457de7ed6e8Smrg  as_dirname=dirname
458de7ed6e8Smrgelse
459de7ed6e8Smrg  as_dirname=false
460de7ed6e8Smrgfi
46192bb16f8Smrg
46292bb16f8Smrgas_me=`$as_basename -- "$0" ||
46392bb16f8Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
46492bb16f8Smrg	 X"$0" : 'X\(//\)$' \| \
46592bb16f8Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4663d13e800Smrgprintf "%s\n" X/"$0" |
46792bb16f8Smrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
46892bb16f8Smrg	    s//\1/
46992bb16f8Smrg	    q
47092bb16f8Smrg	  }
47192bb16f8Smrg	  /^X\/\(\/\/\)$/{
47292bb16f8Smrg	    s//\1/
47392bb16f8Smrg	    q
47492bb16f8Smrg	  }
47592bb16f8Smrg	  /^X\/\(\/\).*/{
47692bb16f8Smrg	    s//\1/
47792bb16f8Smrg	    q
47892bb16f8Smrg	  }
47992bb16f8Smrg	  s/.*/./; q'`
48092bb16f8Smrg
481de7ed6e8Smrg# Avoid depending upon Character Ranges.
482de7ed6e8Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
483de7ed6e8Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
484de7ed6e8Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
485de7ed6e8Smrgas_cr_digits='0123456789'
486de7ed6e8Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits
48792bb16f8Smrg
48892bb16f8Smrg
489de7ed6e8Smrg  as_lineno_1=$LINENO as_lineno_1a=$LINENO
490de7ed6e8Smrg  as_lineno_2=$LINENO as_lineno_2a=$LINENO
491de7ed6e8Smrg  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
492de7ed6e8Smrg  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
493de7ed6e8Smrg  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
494de7ed6e8Smrg  sed -n '
495de7ed6e8Smrg    p
496de7ed6e8Smrg    /[$]LINENO/=
497de7ed6e8Smrg  ' <$as_myself |
498de7ed6e8Smrg    sed '
499de7ed6e8Smrg      s/[$]LINENO.*/&-/
500de7ed6e8Smrg      t lineno
501de7ed6e8Smrg      b
502de7ed6e8Smrg      :lineno
503de7ed6e8Smrg      N
504de7ed6e8Smrg      :loop
505de7ed6e8Smrg      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
506de7ed6e8Smrg      t loop
507de7ed6e8Smrg      s/-\n.*//
508de7ed6e8Smrg    ' >$as_me.lineno &&
509de7ed6e8Smrg  chmod +x "$as_me.lineno" ||
5103d13e800Smrg    { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
51192bb16f8Smrg
51201395c31Smrg  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
51301395c31Smrg  # already done that, so ensure we don't try to do so again and fall
51401395c31Smrg  # in an infinite loop.  This has already happened in practice.
51501395c31Smrg  _as_can_reexec=no; export _as_can_reexec
516de7ed6e8Smrg  # Don't try to exec as it changes $[0], causing all sort of problems
517de7ed6e8Smrg  # (the dirname of $[0] is not the place where we might find the
518de7ed6e8Smrg  # original and so on.  Autoconf is especially sensitive to this).
519de7ed6e8Smrg  . "./$as_me.lineno"
520de7ed6e8Smrg  # Exit status is that of the last command.
521de7ed6e8Smrg  exit
52292bb16f8Smrg}
52392bb16f8Smrg
5243d13e800Smrg
5253d13e800Smrg# Determine whether it's possible to make 'echo' print without a newline.
5263d13e800Smrg# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
5273d13e800Smrg# for compatibility with existing Makefiles.
528de7ed6e8SmrgECHO_C= ECHO_N= ECHO_T=
529de7ed6e8Smrgcase `echo -n x` in #(((((
530de7ed6e8Smrg-n*)
531de7ed6e8Smrg  case `echo 'xy\c'` in
532de7ed6e8Smrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
533de7ed6e8Smrg  xy)  ECHO_C='\c';;
534de7ed6e8Smrg  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
535de7ed6e8Smrg       ECHO_T='	';;
536de7ed6e8Smrg  esac;;
537de7ed6e8Smrg*)
538de7ed6e8Smrg  ECHO_N='-n';;
539de7ed6e8Smrgesac
54092bb16f8Smrg
5413d13e800Smrg# For backward compatibility with old third-party macros, we provide
5423d13e800Smrg# the shell variables $as_echo and $as_echo_n.  New code should use
5433d13e800Smrg# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
5443d13e800Smrgas_echo='printf %s\n'
5453d13e800Smrgas_echo_n='printf %s'
5463d13e800Smrg
5473d13e800Smrg
548de7ed6e8Smrgrm -f conf$$ conf$$.exe conf$$.file
549de7ed6e8Smrgif test -d conf$$.dir; then
550de7ed6e8Smrg  rm -f conf$$.dir/conf$$.file
551de7ed6e8Smrgelse
552de7ed6e8Smrg  rm -f conf$$.dir
553de7ed6e8Smrg  mkdir conf$$.dir 2>/dev/null
55492bb16f8Smrgfi
555de7ed6e8Smrgif (echo >conf$$.file) 2>/dev/null; then
556de7ed6e8Smrg  if ln -s conf$$.file conf$$ 2>/dev/null; then
557de7ed6e8Smrg    as_ln_s='ln -s'
558de7ed6e8Smrg    # ... but there are two gotchas:
559de7ed6e8Smrg    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
560de7ed6e8Smrg    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
56101395c31Smrg    # In both cases, we have to default to `cp -pR'.
562de7ed6e8Smrg    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
56301395c31Smrg      as_ln_s='cp -pR'
564de7ed6e8Smrg  elif ln conf$$.file conf$$ 2>/dev/null; then
565de7ed6e8Smrg    as_ln_s=ln
566de7ed6e8Smrg  else
56701395c31Smrg    as_ln_s='cp -pR'
568de7ed6e8Smrg  fi
56992bb16f8Smrgelse
57001395c31Smrg  as_ln_s='cp -pR'
57192bb16f8Smrgfi
572de7ed6e8Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
573de7ed6e8Smrgrmdir conf$$.dir 2>/dev/null
57492bb16f8Smrg
575de7ed6e8Smrgif mkdir -p . 2>/dev/null; then
576de7ed6e8Smrg  as_mkdir_p='mkdir -p "$as_dir"'
577de7ed6e8Smrgelse
578de7ed6e8Smrg  test -d ./-p && rmdir ./-p
579de7ed6e8Smrg  as_mkdir_p=false
58092bb16f8Smrgfi
58192bb16f8Smrg
58201395c31Smrgas_test_x='test -x'
58301395c31Smrgas_executable_p=as_fn_executable_p
58492bb16f8Smrg
585de7ed6e8Smrg# Sed expression to map a string onto a valid CPP name.
586de7ed6e8Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
58792bb16f8Smrg
588de7ed6e8Smrg# Sed expression to map a string onto a valid variable name.
589de7ed6e8Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
59092bb16f8Smrg
59192bb16f8Smrg
592de7ed6e8Smrgtest -n "$DJDIR" || exec 7<&0 </dev/null
593de7ed6e8Smrgexec 6>&1
59492bb16f8Smrg
59592bb16f8Smrg# Name of the host.
596de7ed6e8Smrg# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
59792bb16f8Smrg# so uname gets run too.
59892bb16f8Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
59992bb16f8Smrg
60092bb16f8Smrg#
60192bb16f8Smrg# Initializations.
60292bb16f8Smrg#
60392bb16f8Smrgac_default_prefix=/usr/local
60492bb16f8Smrgac_clean_files=
60592bb16f8Smrgac_config_libobj_dir=.
60692bb16f8SmrgLIBOBJS=
60792bb16f8Smrgcross_compiling=no
60892bb16f8Smrgsubdirs=
60992bb16f8SmrgMFLAGS=
61092bb16f8SmrgMAKEFLAGS=
61192bb16f8Smrg
61292bb16f8Smrg# Identity of this package.
61392bb16f8SmrgPACKAGE_NAME='encodings'
61492bb16f8SmrgPACKAGE_TARNAME='encodings'
61522138c50SmrgPACKAGE_VERSION='1.0.7'
61622138c50SmrgPACKAGE_STRING='encodings 1.0.7'
61722138c50SmrgPACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/font/encodings/-/issues'
618de7ed6e8SmrgPACKAGE_URL=''
61992bb16f8Smrg
62022138c50Smrgac_subst_vars='LTLIBOBJS
62192bb16f8SmrgLIBOBJS
6228255a313SmrgENCODINGSDIR
6238255a313SmrgFONTROOTDIR
62422138c50SmrgCOMPRESS_FLAGS
6258255a313SmrgGZIP
6268255a313SmrgGZIP_LARGE_FALSE
6278255a313SmrgGZIP_LARGE_TRUE
6288255a313SmrgGZIP_SMALL_FALSE
6298255a313SmrgGZIP_SMALL_TRUE
6308255a313SmrgMKFONTSCALE
631de7ed6e8SmrgMAN_SUBSTS
632de7ed6e8SmrgXORG_MAN_PAGE
6338255a313SmrgADMIN_MAN_DIR
6348255a313SmrgDRIVER_MAN_DIR
6358255a313SmrgMISC_MAN_DIR
6368255a313SmrgFILE_MAN_DIR
6378255a313SmrgLIB_MAN_DIR
6388255a313SmrgAPP_MAN_DIR
6398255a313SmrgADMIN_MAN_SUFFIX
6408255a313SmrgDRIVER_MAN_SUFFIX
6418255a313SmrgMISC_MAN_SUFFIX
6428255a313SmrgFILE_MAN_SUFFIX
6438255a313SmrgLIB_MAN_SUFFIX
6448255a313SmrgAPP_MAN_SUFFIX
645de7ed6e8SmrgSED
6468255a313Smrghost_os
6478255a313Smrghost_vendor
6488255a313Smrghost_cpu
6498255a313Smrghost
6508255a313Smrgbuild_os
6518255a313Smrgbuild_vendor
6528255a313Smrgbuild_cpu
6538255a313Smrgbuild
654de7ed6e8SmrgINSTALL_CMD
65501395c31SmrgPKG_CONFIG_LIBDIR
65601395c31SmrgPKG_CONFIG_PATH
657de7ed6e8SmrgPKG_CONFIG
6588255a313SmrgCHANGELOG_CMD
65901395c31SmrgAM_BACKSLASH
66001395c31SmrgAM_DEFAULT_VERBOSITY
66101395c31SmrgAM_DEFAULT_V
66201395c31SmrgAM_V
6633d13e800SmrgCSCOPE
6643d13e800SmrgETAGS
6653d13e800SmrgCTAGS
6668255a313Smrgam__untar
6678255a313Smrgam__tar
6688255a313SmrgAMTAR
6698255a313Smrgam__leading_dot
6708255a313SmrgSET_MAKE
6718255a313SmrgAWK
6728255a313Smrgmkdir_p
6738255a313SmrgMKDIR_P
6748255a313SmrgINSTALL_STRIP_PROGRAM
6758255a313SmrgSTRIP
6768255a313Smrginstall_sh
6778255a313SmrgMAKEINFO
6788255a313SmrgAUTOHEADER
6798255a313SmrgAUTOMAKE
6808255a313SmrgAUTOCONF
6818255a313SmrgACLOCAL
6828255a313SmrgVERSION
6838255a313SmrgPACKAGE
6848255a313SmrgCYGPATH_W
6858255a313Smrgam__isrc
6868255a313SmrgINSTALL_DATA
6878255a313SmrgINSTALL_SCRIPT
6888255a313SmrgINSTALL_PROGRAM
6898255a313Smrgtarget_alias
6908255a313Smrghost_alias
6918255a313Smrgbuild_alias
6928255a313SmrgLIBS
6938255a313SmrgECHO_T
6948255a313SmrgECHO_N
6958255a313SmrgECHO_C
6968255a313SmrgDEFS
6978255a313Smrgmandir
6988255a313Smrglocaledir
6998255a313Smrglibdir
7008255a313Smrgpsdir
7018255a313Smrgpdfdir
7028255a313Smrgdvidir
7038255a313Smrghtmldir
7048255a313Smrginfodir
7058255a313Smrgdocdir
7068255a313Smrgoldincludedir
7078255a313Smrgincludedir
7083d13e800Smrgrunstatedir
7098255a313Smrglocalstatedir
7108255a313Smrgsharedstatedir
7118255a313Smrgsysconfdir
7128255a313Smrgdatadir
7138255a313Smrgdatarootdir
7148255a313Smrglibexecdir
7158255a313Smrgsbindir
7168255a313Smrgbindir
7178255a313Smrgprogram_transform_name
7188255a313Smrgprefix
7198255a313Smrgexec_prefix
720de7ed6e8SmrgPACKAGE_URL
7218255a313SmrgPACKAGE_BUGREPORT
7228255a313SmrgPACKAGE_STRING
7238255a313SmrgPACKAGE_VERSION
7248255a313SmrgPACKAGE_TARNAME
7258255a313SmrgPACKAGE_NAME
7268255a313SmrgPATH_SEPARATOR
72722138c50SmrgSHELL'
72892bb16f8Smrgac_subst_files=''
7298255a313Smrgac_user_opts='
7308255a313Smrgenable_option_checking
73101395c31Smrgenable_silent_rules
7328255a313Smrgenable_gzip_small_encodings
7338255a313Smrgenable_gzip_large_encodings
7348255a313Smrgwith_fontrootdir
7358255a313Smrgwith_encodingsdir
7368255a313Smrg'
73792bb16f8Smrg      ac_precious_vars='build_alias
73892bb16f8Smrghost_alias
7398255a313Smrgtarget_alias
74001395c31SmrgPKG_CONFIG
74101395c31SmrgPKG_CONFIG_PATH
74201395c31SmrgPKG_CONFIG_LIBDIR'
74392bb16f8Smrg
74492bb16f8Smrg
74592bb16f8Smrg# Initialize some variables set by options.
74692bb16f8Smrgac_init_help=
74792bb16f8Smrgac_init_version=false
7488255a313Smrgac_unrecognized_opts=
7498255a313Smrgac_unrecognized_sep=
75092bb16f8Smrg# The variables have the same names as the options, with
75192bb16f8Smrg# dashes changed to underlines.
75292bb16f8Smrgcache_file=/dev/null
75392bb16f8Smrgexec_prefix=NONE
75492bb16f8Smrgno_create=
75592bb16f8Smrgno_recursion=
75692bb16f8Smrgprefix=NONE
75792bb16f8Smrgprogram_prefix=NONE
75892bb16f8Smrgprogram_suffix=NONE
75992bb16f8Smrgprogram_transform_name=s,x,x,
76092bb16f8Smrgsilent=
76192bb16f8Smrgsite=
76292bb16f8Smrgsrcdir=
76392bb16f8Smrgverbose=
76492bb16f8Smrgx_includes=NONE
76592bb16f8Smrgx_libraries=NONE
76692bb16f8Smrg
76792bb16f8Smrg# Installation directory options.
76892bb16f8Smrg# These are left unexpanded so users can "make install exec_prefix=/foo"
76992bb16f8Smrg# and all the variables that are supposed to be based on exec_prefix
77092bb16f8Smrg# by default will actually change.
77192bb16f8Smrg# Use braces instead of parens because sh, perl, etc. also accept them.
77292bb16f8Smrg# (The list follows the same order as the GNU Coding Standards.)
77392bb16f8Smrgbindir='${exec_prefix}/bin'
77492bb16f8Smrgsbindir='${exec_prefix}/sbin'
77592bb16f8Smrglibexecdir='${exec_prefix}/libexec'
77692bb16f8Smrgdatarootdir='${prefix}/share'
77792bb16f8Smrgdatadir='${datarootdir}'
77892bb16f8Smrgsysconfdir='${prefix}/etc'
77992bb16f8Smrgsharedstatedir='${prefix}/com'
78092bb16f8Smrglocalstatedir='${prefix}/var'
7813d13e800Smrgrunstatedir='${localstatedir}/run'
78292bb16f8Smrgincludedir='${prefix}/include'
78392bb16f8Smrgoldincludedir='/usr/include'
78492bb16f8Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
78592bb16f8Smrginfodir='${datarootdir}/info'
78692bb16f8Smrghtmldir='${docdir}'
78792bb16f8Smrgdvidir='${docdir}'
78892bb16f8Smrgpdfdir='${docdir}'
78992bb16f8Smrgpsdir='${docdir}'
79092bb16f8Smrglibdir='${exec_prefix}/lib'
79192bb16f8Smrglocaledir='${datarootdir}/locale'
79292bb16f8Smrgmandir='${datarootdir}/man'
79392bb16f8Smrg
79492bb16f8Smrgac_prev=
79592bb16f8Smrgac_dashdash=
79692bb16f8Smrgfor ac_option
79792bb16f8Smrgdo
79892bb16f8Smrg  # If the previous option needs an argument, assign it.
79992bb16f8Smrg  if test -n "$ac_prev"; then
80092bb16f8Smrg    eval $ac_prev=\$ac_option
80192bb16f8Smrg    ac_prev=
80292bb16f8Smrg    continue
80392bb16f8Smrg  fi
80492bb16f8Smrg
80592bb16f8Smrg  case $ac_option in
806de7ed6e8Smrg  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
807de7ed6e8Smrg  *=)   ac_optarg= ;;
808de7ed6e8Smrg  *)    ac_optarg=yes ;;
80992bb16f8Smrg  esac
81092bb16f8Smrg
81192bb16f8Smrg  case $ac_dashdash$ac_option in
81292bb16f8Smrg  --)
81392bb16f8Smrg    ac_dashdash=yes ;;
81492bb16f8Smrg
81592bb16f8Smrg  -bindir | --bindir | --bindi | --bind | --bin | --bi)
81692bb16f8Smrg    ac_prev=bindir ;;
81792bb16f8Smrg  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
81892bb16f8Smrg    bindir=$ac_optarg ;;
81992bb16f8Smrg
82092bb16f8Smrg  -build | --build | --buil | --bui | --bu)
82192bb16f8Smrg    ac_prev=build_alias ;;
82292bb16f8Smrg  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
82392bb16f8Smrg    build_alias=$ac_optarg ;;
82492bb16f8Smrg
82592bb16f8Smrg  -cache-file | --cache-file | --cache-fil | --cache-fi \
82692bb16f8Smrg  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
82792bb16f8Smrg    ac_prev=cache_file ;;
82892bb16f8Smrg  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
82992bb16f8Smrg  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
83092bb16f8Smrg    cache_file=$ac_optarg ;;
83192bb16f8Smrg
83292bb16f8Smrg  --config-cache | -C)
83392bb16f8Smrg    cache_file=config.cache ;;
83492bb16f8Smrg
83592bb16f8Smrg  -datadir | --datadir | --datadi | --datad)
83692bb16f8Smrg    ac_prev=datadir ;;
83792bb16f8Smrg  -datadir=* | --datadir=* | --datadi=* | --datad=*)
83892bb16f8Smrg    datadir=$ac_optarg ;;
83992bb16f8Smrg
84092bb16f8Smrg  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
84192bb16f8Smrg  | --dataroo | --dataro | --datar)
84292bb16f8Smrg    ac_prev=datarootdir ;;
84392bb16f8Smrg  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
84492bb16f8Smrg  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
84592bb16f8Smrg    datarootdir=$ac_optarg ;;
84692bb16f8Smrg
84792bb16f8Smrg  -disable-* | --disable-*)
8488255a313Smrg    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
84992bb16f8Smrg    # Reject names that are not valid shell variable names.
8508255a313Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
8513d13e800Smrg      as_fn_error $? "invalid feature name: \`$ac_useropt'"
8528255a313Smrg    ac_useropt_orig=$ac_useropt
8533d13e800Smrg    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
8548255a313Smrg    case $ac_user_opts in
8558255a313Smrg      *"
8568255a313Smrg"enable_$ac_useropt"
8578255a313Smrg"*) ;;
8588255a313Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
8598255a313Smrg	 ac_unrecognized_sep=', ';;
8608255a313Smrg    esac
8618255a313Smrg    eval enable_$ac_useropt=no ;;
86292bb16f8Smrg
86392bb16f8Smrg  -docdir | --docdir | --docdi | --doc | --do)
86492bb16f8Smrg    ac_prev=docdir ;;
86592bb16f8Smrg  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
86692bb16f8Smrg    docdir=$ac_optarg ;;
86792bb16f8Smrg
86892bb16f8Smrg  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
86992bb16f8Smrg    ac_prev=dvidir ;;
87092bb16f8Smrg  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
87192bb16f8Smrg    dvidir=$ac_optarg ;;
87292bb16f8Smrg
87392bb16f8Smrg  -enable-* | --enable-*)
8748255a313Smrg    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
87592bb16f8Smrg    # Reject names that are not valid shell variable names.
8768255a313Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
8773d13e800Smrg      as_fn_error $? "invalid feature name: \`$ac_useropt'"
8788255a313Smrg    ac_useropt_orig=$ac_useropt
8793d13e800Smrg    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
8808255a313Smrg    case $ac_user_opts in
8818255a313Smrg      *"
8828255a313Smrg"enable_$ac_useropt"
8838255a313Smrg"*) ;;
8848255a313Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
8858255a313Smrg	 ac_unrecognized_sep=', ';;
8868255a313Smrg    esac
8878255a313Smrg    eval enable_$ac_useropt=\$ac_optarg ;;
88892bb16f8Smrg
88992bb16f8Smrg  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
89092bb16f8Smrg  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
89192bb16f8Smrg  | --exec | --exe | --ex)
89292bb16f8Smrg    ac_prev=exec_prefix ;;
89392bb16f8Smrg  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
89492bb16f8Smrg  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
89592bb16f8Smrg  | --exec=* | --exe=* | --ex=*)
89692bb16f8Smrg    exec_prefix=$ac_optarg ;;
89792bb16f8Smrg
89892bb16f8Smrg  -gas | --gas | --ga | --g)
89992bb16f8Smrg    # Obsolete; use --with-gas.
90092bb16f8Smrg    with_gas=yes ;;
90192bb16f8Smrg
90292bb16f8Smrg  -help | --help | --hel | --he | -h)
90392bb16f8Smrg    ac_init_help=long ;;
90492bb16f8Smrg  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
90592bb16f8Smrg    ac_init_help=recursive ;;
90692bb16f8Smrg  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
90792bb16f8Smrg    ac_init_help=short ;;
90892bb16f8Smrg
90992bb16f8Smrg  -host | --host | --hos | --ho)
91092bb16f8Smrg    ac_prev=host_alias ;;
91192bb16f8Smrg  -host=* | --host=* | --hos=* | --ho=*)
91292bb16f8Smrg    host_alias=$ac_optarg ;;
91392bb16f8Smrg
91492bb16f8Smrg  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
91592bb16f8Smrg    ac_prev=htmldir ;;
91692bb16f8Smrg  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
91792bb16f8Smrg  | --ht=*)
91892bb16f8Smrg    htmldir=$ac_optarg ;;
91992bb16f8Smrg
92092bb16f8Smrg  -includedir | --includedir | --includedi | --included | --include \
92192bb16f8Smrg  | --includ | --inclu | --incl | --inc)
92292bb16f8Smrg    ac_prev=includedir ;;
92392bb16f8Smrg  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
92492bb16f8Smrg  | --includ=* | --inclu=* | --incl=* | --inc=*)
92592bb16f8Smrg    includedir=$ac_optarg ;;
92692bb16f8Smrg
92792bb16f8Smrg  -infodir | --infodir | --infodi | --infod | --info | --inf)
92892bb16f8Smrg    ac_prev=infodir ;;
92992bb16f8Smrg  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
93092bb16f8Smrg    infodir=$ac_optarg ;;
93192bb16f8Smrg
93292bb16f8Smrg  -libdir | --libdir | --libdi | --libd)
93392bb16f8Smrg    ac_prev=libdir ;;
93492bb16f8Smrg  -libdir=* | --libdir=* | --libdi=* | --libd=*)
93592bb16f8Smrg    libdir=$ac_optarg ;;
93692bb16f8Smrg
93792bb16f8Smrg  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
93892bb16f8Smrg  | --libexe | --libex | --libe)
93992bb16f8Smrg    ac_prev=libexecdir ;;
94092bb16f8Smrg  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
94192bb16f8Smrg  | --libexe=* | --libex=* | --libe=*)
94292bb16f8Smrg    libexecdir=$ac_optarg ;;
94392bb16f8Smrg
94492bb16f8Smrg  -localedir | --localedir | --localedi | --localed | --locale)
94592bb16f8Smrg    ac_prev=localedir ;;
94692bb16f8Smrg  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
94792bb16f8Smrg    localedir=$ac_optarg ;;
94892bb16f8Smrg
94992bb16f8Smrg  -localstatedir | --localstatedir | --localstatedi | --localstated \
95092bb16f8Smrg  | --localstate | --localstat | --localsta | --localst | --locals)
95192bb16f8Smrg    ac_prev=localstatedir ;;
95292bb16f8Smrg  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
95392bb16f8Smrg  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
95492bb16f8Smrg    localstatedir=$ac_optarg ;;
95592bb16f8Smrg
95692bb16f8Smrg  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
95792bb16f8Smrg    ac_prev=mandir ;;
95892bb16f8Smrg  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
95992bb16f8Smrg    mandir=$ac_optarg ;;
96092bb16f8Smrg
96192bb16f8Smrg  -nfp | --nfp | --nf)
96292bb16f8Smrg    # Obsolete; use --without-fp.
96392bb16f8Smrg    with_fp=no ;;
96492bb16f8Smrg
96592bb16f8Smrg  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
96692bb16f8Smrg  | --no-cr | --no-c | -n)
96792bb16f8Smrg    no_create=yes ;;
96892bb16f8Smrg
96992bb16f8Smrg  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
97092bb16f8Smrg  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
97192bb16f8Smrg    no_recursion=yes ;;
97292bb16f8Smrg
97392bb16f8Smrg  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
97492bb16f8Smrg  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
97592bb16f8Smrg  | --oldin | --oldi | --old | --ol | --o)
97692bb16f8Smrg    ac_prev=oldincludedir ;;
97792bb16f8Smrg  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
97892bb16f8Smrg  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
97992bb16f8Smrg  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
98092bb16f8Smrg    oldincludedir=$ac_optarg ;;
98192bb16f8Smrg
98292bb16f8Smrg  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
98392bb16f8Smrg    ac_prev=prefix ;;
98492bb16f8Smrg  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
98592bb16f8Smrg    prefix=$ac_optarg ;;
98692bb16f8Smrg
98792bb16f8Smrg  -program-prefix | --program-prefix | --program-prefi | --program-pref \
98892bb16f8Smrg  | --program-pre | --program-pr | --program-p)
98992bb16f8Smrg    ac_prev=program_prefix ;;
99092bb16f8Smrg  -program-prefix=* | --program-prefix=* | --program-prefi=* \
99192bb16f8Smrg  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
99292bb16f8Smrg    program_prefix=$ac_optarg ;;
99392bb16f8Smrg
99492bb16f8Smrg  -program-suffix | --program-suffix | --program-suffi | --program-suff \
99592bb16f8Smrg  | --program-suf | --program-su | --program-s)
99692bb16f8Smrg    ac_prev=program_suffix ;;
99792bb16f8Smrg  -program-suffix=* | --program-suffix=* | --program-suffi=* \
99892bb16f8Smrg  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
99992bb16f8Smrg    program_suffix=$ac_optarg ;;
100092bb16f8Smrg
100192bb16f8Smrg  -program-transform-name | --program-transform-name \
100292bb16f8Smrg  | --program-transform-nam | --program-transform-na \
100392bb16f8Smrg  | --program-transform-n | --program-transform- \
100492bb16f8Smrg  | --program-transform | --program-transfor \
100592bb16f8Smrg  | --program-transfo | --program-transf \
100692bb16f8Smrg  | --program-trans | --program-tran \
100792bb16f8Smrg  | --progr-tra | --program-tr | --program-t)
100892bb16f8Smrg    ac_prev=program_transform_name ;;
100992bb16f8Smrg  -program-transform-name=* | --program-transform-name=* \
101092bb16f8Smrg  | --program-transform-nam=* | --program-transform-na=* \
101192bb16f8Smrg  | --program-transform-n=* | --program-transform-=* \
101292bb16f8Smrg  | --program-transform=* | --program-transfor=* \
101392bb16f8Smrg  | --program-transfo=* | --program-transf=* \
101492bb16f8Smrg  | --program-trans=* | --program-tran=* \
101592bb16f8Smrg  | --progr-tra=* | --program-tr=* | --program-t=*)
101692bb16f8Smrg    program_transform_name=$ac_optarg ;;
101792bb16f8Smrg
101892bb16f8Smrg  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
101992bb16f8Smrg    ac_prev=pdfdir ;;
102092bb16f8Smrg  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
102192bb16f8Smrg    pdfdir=$ac_optarg ;;
102292bb16f8Smrg
102392bb16f8Smrg  -psdir | --psdir | --psdi | --psd | --ps)
102492bb16f8Smrg    ac_prev=psdir ;;
102592bb16f8Smrg  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
102692bb16f8Smrg    psdir=$ac_optarg ;;
102792bb16f8Smrg
102892bb16f8Smrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
102992bb16f8Smrg  | -silent | --silent | --silen | --sile | --sil)
103092bb16f8Smrg    silent=yes ;;
103192bb16f8Smrg
10323d13e800Smrg  -runstatedir | --runstatedir | --runstatedi | --runstated \
10333d13e800Smrg  | --runstate | --runstat | --runsta | --runst | --runs \
10343d13e800Smrg  | --run | --ru | --r)
10353d13e800Smrg    ac_prev=runstatedir ;;
10363d13e800Smrg  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
10373d13e800Smrg  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
10383d13e800Smrg  | --run=* | --ru=* | --r=*)
10393d13e800Smrg    runstatedir=$ac_optarg ;;
10403d13e800Smrg
104192bb16f8Smrg  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
104292bb16f8Smrg    ac_prev=sbindir ;;
104392bb16f8Smrg  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
104492bb16f8Smrg  | --sbi=* | --sb=*)
104592bb16f8Smrg    sbindir=$ac_optarg ;;
104692bb16f8Smrg
104792bb16f8Smrg  -sharedstatedir | --sharedstatedir | --sharedstatedi \
104892bb16f8Smrg  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
104992bb16f8Smrg  | --sharedst | --shareds | --shared | --share | --shar \
105092bb16f8Smrg  | --sha | --sh)
105192bb16f8Smrg    ac_prev=sharedstatedir ;;
105292bb16f8Smrg  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
105392bb16f8Smrg  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
105492bb16f8Smrg  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
105592bb16f8Smrg  | --sha=* | --sh=*)
105692bb16f8Smrg    sharedstatedir=$ac_optarg ;;
105792bb16f8Smrg
105892bb16f8Smrg  -site | --site | --sit)
105992bb16f8Smrg    ac_prev=site ;;
106092bb16f8Smrg  -site=* | --site=* | --sit=*)
106192bb16f8Smrg    site=$ac_optarg ;;
106292bb16f8Smrg
106392bb16f8Smrg  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
106492bb16f8Smrg    ac_prev=srcdir ;;
106592bb16f8Smrg  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
106692bb16f8Smrg    srcdir=$ac_optarg ;;
106792bb16f8Smrg
106892bb16f8Smrg  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
106992bb16f8Smrg  | --syscon | --sysco | --sysc | --sys | --sy)
107092bb16f8Smrg    ac_prev=sysconfdir ;;
107192bb16f8Smrg  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
107292bb16f8Smrg  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
107392bb16f8Smrg    sysconfdir=$ac_optarg ;;
107492bb16f8Smrg
107592bb16f8Smrg  -target | --target | --targe | --targ | --tar | --ta | --t)
107692bb16f8Smrg    ac_prev=target_alias ;;
107792bb16f8Smrg  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
107892bb16f8Smrg    target_alias=$ac_optarg ;;
107992bb16f8Smrg
108092bb16f8Smrg  -v | -verbose | --verbose | --verbos | --verbo | --verb)
108192bb16f8Smrg    verbose=yes ;;
108292bb16f8Smrg
108392bb16f8Smrg  -version | --version | --versio | --versi | --vers | -V)
108492bb16f8Smrg    ac_init_version=: ;;
108592bb16f8Smrg
108692bb16f8Smrg  -with-* | --with-*)
10878255a313Smrg    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
108892bb16f8Smrg    # Reject names that are not valid shell variable names.
10898255a313Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
10903d13e800Smrg      as_fn_error $? "invalid package name: \`$ac_useropt'"
10918255a313Smrg    ac_useropt_orig=$ac_useropt
10923d13e800Smrg    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
10938255a313Smrg    case $ac_user_opts in
10948255a313Smrg      *"
10958255a313Smrg"with_$ac_useropt"
10968255a313Smrg"*) ;;
10978255a313Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
10988255a313Smrg	 ac_unrecognized_sep=', ';;
10998255a313Smrg    esac
11008255a313Smrg    eval with_$ac_useropt=\$ac_optarg ;;
110192bb16f8Smrg
110292bb16f8Smrg  -without-* | --without-*)
11038255a313Smrg    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
110492bb16f8Smrg    # Reject names that are not valid shell variable names.
11058255a313Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
11063d13e800Smrg      as_fn_error $? "invalid package name: \`$ac_useropt'"
11078255a313Smrg    ac_useropt_orig=$ac_useropt
11083d13e800Smrg    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
11098255a313Smrg    case $ac_user_opts in
11108255a313Smrg      *"
11118255a313Smrg"with_$ac_useropt"
11128255a313Smrg"*) ;;
11138255a313Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
11148255a313Smrg	 ac_unrecognized_sep=', ';;
11158255a313Smrg    esac
11168255a313Smrg    eval with_$ac_useropt=no ;;
111792bb16f8Smrg
111892bb16f8Smrg  --x)
111992bb16f8Smrg    # Obsolete; use --with-x.
112092bb16f8Smrg    with_x=yes ;;
112192bb16f8Smrg
112292bb16f8Smrg  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
112392bb16f8Smrg  | --x-incl | --x-inc | --x-in | --x-i)
112492bb16f8Smrg    ac_prev=x_includes ;;
112592bb16f8Smrg  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
112692bb16f8Smrg  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
112792bb16f8Smrg    x_includes=$ac_optarg ;;
112892bb16f8Smrg
112992bb16f8Smrg  -x-libraries | --x-libraries | --x-librarie | --x-librari \
113092bb16f8Smrg  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
113192bb16f8Smrg    ac_prev=x_libraries ;;
113292bb16f8Smrg  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
113392bb16f8Smrg  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
113492bb16f8Smrg    x_libraries=$ac_optarg ;;
113592bb16f8Smrg
1136de7ed6e8Smrg  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1137de7ed6e8SmrgTry \`$0 --help' for more information"
113892bb16f8Smrg    ;;
113992bb16f8Smrg
114092bb16f8Smrg  *=*)
114192bb16f8Smrg    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
114292bb16f8Smrg    # Reject names that are not valid shell variable names.
1143de7ed6e8Smrg    case $ac_envvar in #(
1144de7ed6e8Smrg      '' | [0-9]* | *[!_$as_cr_alnum]* )
1145de7ed6e8Smrg      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1146de7ed6e8Smrg    esac
114792bb16f8Smrg    eval $ac_envvar=\$ac_optarg
114892bb16f8Smrg    export $ac_envvar ;;
114992bb16f8Smrg
115092bb16f8Smrg  *)
115192bb16f8Smrg    # FIXME: should be removed in autoconf 3.0.
11523d13e800Smrg    printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
115392bb16f8Smrg    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
11543d13e800Smrg      printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1155de7ed6e8Smrg    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
115692bb16f8Smrg    ;;
115792bb16f8Smrg
115892bb16f8Smrg  esac
115992bb16f8Smrgdone
116092bb16f8Smrg
116192bb16f8Smrgif test -n "$ac_prev"; then
116292bb16f8Smrg  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1163de7ed6e8Smrg  as_fn_error $? "missing argument to $ac_option"
116492bb16f8Smrgfi
116592bb16f8Smrg
11668255a313Smrgif test -n "$ac_unrecognized_opts"; then
11678255a313Smrg  case $enable_option_checking in
11688255a313Smrg    no) ;;
1169de7ed6e8Smrg    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
11703d13e800Smrg    *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
11718255a313Smrg  esac
11728255a313Smrgfi
11738255a313Smrg
11748255a313Smrg# Check all directory arguments for consistency.
117592bb16f8Smrgfor ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
117692bb16f8Smrg		datadir sysconfdir sharedstatedir localstatedir includedir \
117792bb16f8Smrg		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
11783d13e800Smrg		libdir localedir mandir runstatedir
117992bb16f8Smrgdo
118092bb16f8Smrg  eval ac_val=\$$ac_var
11818255a313Smrg  # Remove trailing slashes.
11828255a313Smrg  case $ac_val in
11838255a313Smrg    */ )
11848255a313Smrg      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
11858255a313Smrg      eval $ac_var=\$ac_val;;
11868255a313Smrg  esac
11878255a313Smrg  # Be sure to have absolute directory names.
118892bb16f8Smrg  case $ac_val in
118992bb16f8Smrg    [\\/$]* | ?:[\\/]* )  continue;;
119092bb16f8Smrg    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
119192bb16f8Smrg  esac
1192de7ed6e8Smrg  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
119392bb16f8Smrgdone
119492bb16f8Smrg
119592bb16f8Smrg# There might be people who depend on the old broken behavior: `$host'
119692bb16f8Smrg# used to hold the argument of --host etc.
119792bb16f8Smrg# FIXME: To remove some day.
119892bb16f8Smrgbuild=$build_alias
119992bb16f8Smrghost=$host_alias
120092bb16f8Smrgtarget=$target_alias
120192bb16f8Smrg
120292bb16f8Smrg# FIXME: To remove some day.
120392bb16f8Smrgif test "x$host_alias" != x; then
120492bb16f8Smrg  if test "x$build_alias" = x; then
120592bb16f8Smrg    cross_compiling=maybe
120692bb16f8Smrg  elif test "x$build_alias" != "x$host_alias"; then
120792bb16f8Smrg    cross_compiling=yes
120892bb16f8Smrg  fi
120992bb16f8Smrgfi
121092bb16f8Smrg
121192bb16f8Smrgac_tool_prefix=
121292bb16f8Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias-
121392bb16f8Smrg
121492bb16f8Smrgtest "$silent" = yes && exec 6>/dev/null
121592bb16f8Smrg
121692bb16f8Smrg
121792bb16f8Smrgac_pwd=`pwd` && test -n "$ac_pwd" &&
121892bb16f8Smrgac_ls_di=`ls -di .` &&
121992bb16f8Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1220de7ed6e8Smrg  as_fn_error $? "working directory cannot be determined"
122192bb16f8Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1222de7ed6e8Smrg  as_fn_error $? "pwd does not report name of working directory"
122392bb16f8Smrg
122492bb16f8Smrg
122592bb16f8Smrg# Find the source files, if location was not specified.
122692bb16f8Smrgif test -z "$srcdir"; then
122792bb16f8Smrg  ac_srcdir_defaulted=yes
122892bb16f8Smrg  # Try the directory containing this script, then the parent directory.
12298255a313Smrg  ac_confdir=`$as_dirname -- "$as_myself" ||
12308255a313Smrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12318255a313Smrg	 X"$as_myself" : 'X\(//\)[^/]' \| \
12328255a313Smrg	 X"$as_myself" : 'X\(//\)$' \| \
12338255a313Smrg	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
12343d13e800Smrgprintf "%s\n" X"$as_myself" |
123592bb16f8Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
123692bb16f8Smrg	    s//\1/
123792bb16f8Smrg	    q
123892bb16f8Smrg	  }
123992bb16f8Smrg	  /^X\(\/\/\)[^/].*/{
124092bb16f8Smrg	    s//\1/
124192bb16f8Smrg	    q
124292bb16f8Smrg	  }
124392bb16f8Smrg	  /^X\(\/\/\)$/{
124492bb16f8Smrg	    s//\1/
124592bb16f8Smrg	    q
124692bb16f8Smrg	  }
124792bb16f8Smrg	  /^X\(\/\).*/{
124892bb16f8Smrg	    s//\1/
124992bb16f8Smrg	    q
125092bb16f8Smrg	  }
125192bb16f8Smrg	  s/.*/./; q'`
125292bb16f8Smrg  srcdir=$ac_confdir
125392bb16f8Smrg  if test ! -r "$srcdir/$ac_unique_file"; then
125492bb16f8Smrg    srcdir=..
125592bb16f8Smrg  fi
125692bb16f8Smrgelse
125792bb16f8Smrg  ac_srcdir_defaulted=no
125892bb16f8Smrgfi
125992bb16f8Smrgif test ! -r "$srcdir/$ac_unique_file"; then
126092bb16f8Smrg  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1261de7ed6e8Smrg  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
126292bb16f8Smrgfi
126392bb16f8Smrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
126492bb16f8Smrgac_abs_confdir=`(
1265de7ed6e8Smrg	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
126692bb16f8Smrg	pwd)`
126792bb16f8Smrg# When building in place, set srcdir=.
126892bb16f8Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then
126992bb16f8Smrg  srcdir=.
127092bb16f8Smrgfi
127192bb16f8Smrg# Remove unnecessary trailing slashes from srcdir.
127292bb16f8Smrg# Double slashes in file names in object file debugging info
127392bb16f8Smrg# mess up M-x gdb in Emacs.
127492bb16f8Smrgcase $srcdir in
127592bb16f8Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
127692bb16f8Smrgesac
127792bb16f8Smrgfor ac_var in $ac_precious_vars; do
127892bb16f8Smrg  eval ac_env_${ac_var}_set=\${${ac_var}+set}
127992bb16f8Smrg  eval ac_env_${ac_var}_value=\$${ac_var}
128092bb16f8Smrg  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
128192bb16f8Smrg  eval ac_cv_env_${ac_var}_value=\$${ac_var}
128292bb16f8Smrgdone
128392bb16f8Smrg
128492bb16f8Smrg#
128592bb16f8Smrg# Report the --help message.
128692bb16f8Smrg#
128792bb16f8Smrgif test "$ac_init_help" = "long"; then
128892bb16f8Smrg  # Omit some internal or obsolete options to make the list less imposing.
128992bb16f8Smrg  # This message is too long to be a string in the A/UX 3.1 sh.
129092bb16f8Smrg  cat <<_ACEOF
129122138c50Smrg\`configure' configures encodings 1.0.7 to adapt to many kinds of systems.
129292bb16f8Smrg
129392bb16f8SmrgUsage: $0 [OPTION]... [VAR=VALUE]...
129492bb16f8Smrg
129592bb16f8SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as
129692bb16f8SmrgVAR=VALUE.  See below for descriptions of some of the useful variables.
129792bb16f8Smrg
129892bb16f8SmrgDefaults for the options are specified in brackets.
129992bb16f8Smrg
130092bb16f8SmrgConfiguration:
130192bb16f8Smrg  -h, --help              display this help and exit
130292bb16f8Smrg      --help=short        display options specific to this package
130392bb16f8Smrg      --help=recursive    display the short help of all the included packages
130492bb16f8Smrg  -V, --version           display version information and exit
1305de7ed6e8Smrg  -q, --quiet, --silent   do not print \`checking ...' messages
130692bb16f8Smrg      --cache-file=FILE   cache test results in FILE [disabled]
130792bb16f8Smrg  -C, --config-cache      alias for \`--cache-file=config.cache'
130892bb16f8Smrg  -n, --no-create         do not create output files
130992bb16f8Smrg      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
131092bb16f8Smrg
131192bb16f8SmrgInstallation directories:
131292bb16f8Smrg  --prefix=PREFIX         install architecture-independent files in PREFIX
13138255a313Smrg                          [$ac_default_prefix]
131492bb16f8Smrg  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
13158255a313Smrg                          [PREFIX]
131692bb16f8Smrg
131792bb16f8SmrgBy default, \`make install' will install all the files in
131892bb16f8Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
131992bb16f8Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix',
132092bb16f8Smrgfor instance \`--prefix=\$HOME'.
132192bb16f8Smrg
132292bb16f8SmrgFor better control, use the options below.
132392bb16f8Smrg
132492bb16f8SmrgFine tuning of the installation directories:
13258255a313Smrg  --bindir=DIR            user executables [EPREFIX/bin]
13268255a313Smrg  --sbindir=DIR           system admin executables [EPREFIX/sbin]
13278255a313Smrg  --libexecdir=DIR        program executables [EPREFIX/libexec]
13288255a313Smrg  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
13298255a313Smrg  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
13308255a313Smrg  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
13313d13e800Smrg  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
13328255a313Smrg  --libdir=DIR            object code libraries [EPREFIX/lib]
13338255a313Smrg  --includedir=DIR        C header files [PREFIX/include]
13348255a313Smrg  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
13358255a313Smrg  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
13368255a313Smrg  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
13378255a313Smrg  --infodir=DIR           info documentation [DATAROOTDIR/info]
13388255a313Smrg  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
13398255a313Smrg  --mandir=DIR            man documentation [DATAROOTDIR/man]
13408255a313Smrg  --docdir=DIR            documentation root [DATAROOTDIR/doc/encodings]
13418255a313Smrg  --htmldir=DIR           html documentation [DOCDIR]
13428255a313Smrg  --dvidir=DIR            dvi documentation [DOCDIR]
13438255a313Smrg  --pdfdir=DIR            pdf documentation [DOCDIR]
13448255a313Smrg  --psdir=DIR             ps documentation [DOCDIR]
134592bb16f8Smrg_ACEOF
134692bb16f8Smrg
134792bb16f8Smrg  cat <<\_ACEOF
134892bb16f8Smrg
134992bb16f8SmrgProgram names:
135092bb16f8Smrg  --program-prefix=PREFIX            prepend PREFIX to installed program names
135192bb16f8Smrg  --program-suffix=SUFFIX            append SUFFIX to installed program names
135292bb16f8Smrg  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
13538255a313Smrg
13548255a313SmrgSystem types:
13558255a313Smrg  --build=BUILD     configure for building on BUILD [guessed]
13568255a313Smrg  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
135792bb16f8Smrg_ACEOF
135892bb16f8Smrgfi
135992bb16f8Smrg
136092bb16f8Smrgif test -n "$ac_init_help"; then
136192bb16f8Smrg  case $ac_init_help in
136222138c50Smrg     short | recursive ) echo "Configuration of encodings 1.0.7:";;
136392bb16f8Smrg   esac
136492bb16f8Smrg  cat <<\_ACEOF
136592bb16f8Smrg
136692bb16f8SmrgOptional Features:
13678255a313Smrg  --disable-option-checking  ignore unrecognized --enable/--with options
136892bb16f8Smrg  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
136992bb16f8Smrg  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
137001395c31Smrg  --enable-silent-rules   less verbose build output (undo: "make V=1")
137101395c31Smrg  --disable-silent-rules  verbose build output (undo: "make V=0")
137292bb16f8Smrg  --disable-gzip-small-encodings
137392bb16f8Smrg                          Disable compression of small encoding files
137492bb16f8Smrg  --disable-gzip-large-encodings
137592bb16f8Smrg                          Disable compression of large encoding files
137692bb16f8Smrg
137792bb16f8SmrgOptional Packages:
137892bb16f8Smrg  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
137992bb16f8Smrg  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
13808255a313Smrg  --with-fontrootdir=DIR  Path to root directory for font files
13818255a313Smrg  --with-encodingsdir=DIR Path to encodings files [FONTROOTDIR/encodings]
13828255a313Smrg
13838255a313SmrgSome influential environment variables:
13848255a313Smrg  PKG_CONFIG  path to pkg-config utility
138501395c31Smrg  PKG_CONFIG_PATH
138601395c31Smrg              directories to add to pkg-config's search path
138701395c31Smrg  PKG_CONFIG_LIBDIR
138801395c31Smrg              path overriding pkg-config's built-in search path
13898255a313Smrg
13908255a313SmrgUse these variables to override the choices made by `configure' or to help
13918255a313Smrgit to find libraries and programs with nonstandard names/locations.
139292bb16f8Smrg
139322138c50SmrgReport bugs to <https://gitlab.freedesktop.org/xorg/font/encodings/-/issues>.
139492bb16f8Smrg_ACEOF
139592bb16f8Smrgac_status=$?
139692bb16f8Smrgfi
139792bb16f8Smrg
139892bb16f8Smrgif test "$ac_init_help" = "recursive"; then
139992bb16f8Smrg  # If there are subdirs, report their specific --help.
140092bb16f8Smrg  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
14018255a313Smrg    test -d "$ac_dir" ||
14028255a313Smrg      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
14038255a313Smrg      continue
140492bb16f8Smrg    ac_builddir=.
140592bb16f8Smrg
140692bb16f8Smrgcase "$ac_dir" in
140792bb16f8Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
140892bb16f8Smrg*)
14093d13e800Smrg  ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
141092bb16f8Smrg  # A ".." for each directory in $ac_dir_suffix.
14113d13e800Smrg  ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
141292bb16f8Smrg  case $ac_top_builddir_sub in
141392bb16f8Smrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
141492bb16f8Smrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
141592bb16f8Smrg  esac ;;
141692bb16f8Smrgesac
141792bb16f8Smrgac_abs_top_builddir=$ac_pwd
141892bb16f8Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix
141992bb16f8Smrg# for backward compatibility:
142092bb16f8Smrgac_top_builddir=$ac_top_build_prefix
142192bb16f8Smrg
142292bb16f8Smrgcase $srcdir in
142392bb16f8Smrg  .)  # We are building in place.
142492bb16f8Smrg    ac_srcdir=.
142592bb16f8Smrg    ac_top_srcdir=$ac_top_builddir_sub
142692bb16f8Smrg    ac_abs_top_srcdir=$ac_pwd ;;
142792bb16f8Smrg  [\\/]* | ?:[\\/]* )  # Absolute name.
142892bb16f8Smrg    ac_srcdir=$srcdir$ac_dir_suffix;
142992bb16f8Smrg    ac_top_srcdir=$srcdir
143092bb16f8Smrg    ac_abs_top_srcdir=$srcdir ;;
143192bb16f8Smrg  *) # Relative name.
143292bb16f8Smrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
143392bb16f8Smrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
143492bb16f8Smrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
143592bb16f8Smrgesac
143692bb16f8Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
143792bb16f8Smrg
143892bb16f8Smrg    cd "$ac_dir" || { ac_status=$?; continue; }
14393d13e800Smrg    # Check for configure.gnu first; this name is used for a wrapper for
14403d13e800Smrg    # Metaconfig's "Configure" on case-insensitive file systems.
144192bb16f8Smrg    if test -f "$ac_srcdir/configure.gnu"; then
144292bb16f8Smrg      echo &&
144392bb16f8Smrg      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
144492bb16f8Smrg    elif test -f "$ac_srcdir/configure"; then
144592bb16f8Smrg      echo &&
144692bb16f8Smrg      $SHELL "$ac_srcdir/configure" --help=recursive
144792bb16f8Smrg    else
14483d13e800Smrg      printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
144992bb16f8Smrg    fi || ac_status=$?
145092bb16f8Smrg    cd "$ac_pwd" || { ac_status=$?; break; }
145192bb16f8Smrg  done
145292bb16f8Smrgfi
145392bb16f8Smrg
145492bb16f8Smrgtest -n "$ac_init_help" && exit $ac_status
145592bb16f8Smrgif $ac_init_version; then
145692bb16f8Smrg  cat <<\_ACEOF
145722138c50Smrgencodings configure 1.0.7
14583d13e800Smrggenerated by GNU Autoconf 2.71
145992bb16f8Smrg
14603d13e800SmrgCopyright (C) 2021 Free Software Foundation, Inc.
146192bb16f8SmrgThis configure script is free software; the Free Software Foundation
146292bb16f8Smrggives unlimited permission to copy, distribute and modify it.
146392bb16f8Smrg_ACEOF
146492bb16f8Smrg  exit
146592bb16f8Smrgfi
146692bb16f8Smrg
1467de7ed6e8Smrg## ------------------------ ##
1468de7ed6e8Smrg## Autoconf initialization. ##
1469de7ed6e8Smrg## ------------------------ ##
14703d13e800Smrgac_configure_args_raw=
14713d13e800Smrgfor ac_arg
14723d13e800Smrgdo
14733d13e800Smrg  case $ac_arg in
14743d13e800Smrg  *\'*)
14753d13e800Smrg    ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
14763d13e800Smrg  esac
14773d13e800Smrg  as_fn_append ac_configure_args_raw " '$ac_arg'"
14783d13e800Smrgdone
14793d13e800Smrg
14803d13e800Smrgcase $ac_configure_args_raw in
14813d13e800Smrg  *$as_nl*)
14823d13e800Smrg    ac_safe_unquote= ;;
14833d13e800Smrg  *)
14843d13e800Smrg    ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
14853d13e800Smrg    ac_unsafe_a="$ac_unsafe_z#~"
14863d13e800Smrg    ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
14873d13e800Smrg    ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
14883d13e800Smrgesac
14893d13e800Smrg
1490de7ed6e8Smrgcat >config.log <<_ACEOF
1491de7ed6e8SmrgThis file contains any messages produced by compilers while
1492de7ed6e8Smrgrunning configure, to aid debugging if configure makes a mistake.
1493de7ed6e8Smrg
149422138c50SmrgIt was created by encodings $as_me 1.0.7, which was
14953d13e800Smrggenerated by GNU Autoconf 2.71.  Invocation command line was
1496de7ed6e8Smrg
14973d13e800Smrg  $ $0$ac_configure_args_raw
1498de7ed6e8Smrg
1499de7ed6e8Smrg_ACEOF
1500de7ed6e8Smrgexec 5>>config.log
1501de7ed6e8Smrg{
1502de7ed6e8Smrgcat <<_ASUNAME
1503de7ed6e8Smrg## --------- ##
1504de7ed6e8Smrg## Platform. ##
1505de7ed6e8Smrg## --------- ##
1506de7ed6e8Smrg
1507de7ed6e8Smrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1508de7ed6e8Smrguname -m = `(uname -m) 2>/dev/null || echo unknown`
1509de7ed6e8Smrguname -r = `(uname -r) 2>/dev/null || echo unknown`
1510de7ed6e8Smrguname -s = `(uname -s) 2>/dev/null || echo unknown`
1511de7ed6e8Smrguname -v = `(uname -v) 2>/dev/null || echo unknown`
1512de7ed6e8Smrg
1513de7ed6e8Smrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1514de7ed6e8Smrg/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1515de7ed6e8Smrg
1516de7ed6e8Smrg/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1517de7ed6e8Smrg/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1518de7ed6e8Smrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1519de7ed6e8Smrg/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1520de7ed6e8Smrg/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1521de7ed6e8Smrg/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1522de7ed6e8Smrg/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1523de7ed6e8Smrg
1524de7ed6e8Smrg_ASUNAME
1525de7ed6e8Smrg
1526de7ed6e8Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1527de7ed6e8Smrgfor as_dir in $PATH
152892bb16f8Smrgdo
152992bb16f8Smrg  IFS=$as_save_IFS
15303d13e800Smrg  case $as_dir in #(((
15313d13e800Smrg    '') as_dir=./ ;;
15323d13e800Smrg    */) ;;
15333d13e800Smrg    *) as_dir=$as_dir/ ;;
15343d13e800Smrg  esac
15353d13e800Smrg    printf "%s\n" "PATH: $as_dir"
1536de7ed6e8Smrg  done
153792bb16f8SmrgIFS=$as_save_IFS
153892bb16f8Smrg
153992bb16f8Smrg} >&5
154092bb16f8Smrg
154192bb16f8Smrgcat >&5 <<_ACEOF
154292bb16f8Smrg
154392bb16f8Smrg
154492bb16f8Smrg## ----------- ##
154592bb16f8Smrg## Core tests. ##
154692bb16f8Smrg## ----------- ##
154792bb16f8Smrg
154892bb16f8Smrg_ACEOF
154992bb16f8Smrg
155092bb16f8Smrg
155192bb16f8Smrg# Keep a trace of the command line.
155292bb16f8Smrg# Strip out --no-create and --no-recursion so they do not pile up.
155392bb16f8Smrg# Strip out --silent because we don't want to record it for future runs.
155492bb16f8Smrg# Also quote any args containing shell meta-characters.
155592bb16f8Smrg# Make two passes to allow for proper duplicate-argument suppression.
155692bb16f8Smrgac_configure_args=
155792bb16f8Smrgac_configure_args0=
155892bb16f8Smrgac_configure_args1=
155992bb16f8Smrgac_must_keep_next=false
156092bb16f8Smrgfor ac_pass in 1 2
156192bb16f8Smrgdo
156292bb16f8Smrg  for ac_arg
156392bb16f8Smrg  do
156492bb16f8Smrg    case $ac_arg in
156592bb16f8Smrg    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
156692bb16f8Smrg    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
156792bb16f8Smrg    | -silent | --silent | --silen | --sile | --sil)
156892bb16f8Smrg      continue ;;
156992bb16f8Smrg    *\'*)
15703d13e800Smrg      ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
157192bb16f8Smrg    esac
157292bb16f8Smrg    case $ac_pass in
1573de7ed6e8Smrg    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
157492bb16f8Smrg    2)
1575de7ed6e8Smrg      as_fn_append ac_configure_args1 " '$ac_arg'"
157692bb16f8Smrg      if test $ac_must_keep_next = true; then
157792bb16f8Smrg	ac_must_keep_next=false # Got value, back to normal.
157892bb16f8Smrg      else
157992bb16f8Smrg	case $ac_arg in
158092bb16f8Smrg	  *=* | --config-cache | -C | -disable-* | --disable-* \
158192bb16f8Smrg	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
158292bb16f8Smrg	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
158392bb16f8Smrg	  | -with-* | --with-* | -without-* | --without-* | --x)
158492bb16f8Smrg	    case "$ac_configure_args0 " in
158592bb16f8Smrg	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
158692bb16f8Smrg	    esac
158792bb16f8Smrg	    ;;
158892bb16f8Smrg	  -* ) ac_must_keep_next=true ;;
158992bb16f8Smrg	esac
159092bb16f8Smrg      fi
1591de7ed6e8Smrg      as_fn_append ac_configure_args " '$ac_arg'"
159292bb16f8Smrg      ;;
159392bb16f8Smrg    esac
159492bb16f8Smrg  done
159592bb16f8Smrgdone
1596de7ed6e8Smrg{ ac_configure_args0=; unset ac_configure_args0;}
1597de7ed6e8Smrg{ ac_configure_args1=; unset ac_configure_args1;}
159892bb16f8Smrg
159992bb16f8Smrg# When interrupted or exit'd, cleanup temporary files, and complete
160092bb16f8Smrg# config.log.  We remove comments because anyway the quotes in there
160192bb16f8Smrg# would cause problems or look ugly.
160292bb16f8Smrg# WARNING: Use '\'' to represent an apostrophe within the trap.
160392bb16f8Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
160492bb16f8Smrgtrap 'exit_status=$?
16053d13e800Smrg  # Sanitize IFS.
16063d13e800Smrg  IFS=" ""	$as_nl"
160792bb16f8Smrg  # Save into config.log some information that might help in debugging.
160892bb16f8Smrg  {
160992bb16f8Smrg    echo
161092bb16f8Smrg
16113d13e800Smrg    printf "%s\n" "## ---------------- ##
161292bb16f8Smrg## Cache variables. ##
1613de7ed6e8Smrg## ---------------- ##"
161492bb16f8Smrg    echo
161592bb16f8Smrg    # The following way of writing the cache mishandles newlines in values,
161692bb16f8Smrg(
161792bb16f8Smrg  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
161892bb16f8Smrg    eval ac_val=\$$ac_var
161992bb16f8Smrg    case $ac_val in #(
162092bb16f8Smrg    *${as_nl}*)
162192bb16f8Smrg      case $ac_var in #(
16223d13e800Smrg      *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16233d13e800Smrgprintf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
162492bb16f8Smrg      esac
162592bb16f8Smrg      case $ac_var in #(
162692bb16f8Smrg      _ | IFS | as_nl) ;; #(
16278255a313Smrg      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1628de7ed6e8Smrg      *) { eval $ac_var=; unset $ac_var;} ;;
162992bb16f8Smrg      esac ;;
163092bb16f8Smrg    esac
163192bb16f8Smrg  done
163292bb16f8Smrg  (set) 2>&1 |
163392bb16f8Smrg    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
163492bb16f8Smrg    *${as_nl}ac_space=\ *)
163592bb16f8Smrg      sed -n \
163692bb16f8Smrg	"s/'\''/'\''\\\\'\'''\''/g;
163792bb16f8Smrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
163892bb16f8Smrg      ;; #(
163992bb16f8Smrg    *)
164092bb16f8Smrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
164192bb16f8Smrg      ;;
164292bb16f8Smrg    esac |
164392bb16f8Smrg    sort
164492bb16f8Smrg)
164592bb16f8Smrg    echo
164692bb16f8Smrg
16473d13e800Smrg    printf "%s\n" "## ----------------- ##
164892bb16f8Smrg## Output variables. ##
1649de7ed6e8Smrg## ----------------- ##"
165092bb16f8Smrg    echo
165192bb16f8Smrg    for ac_var in $ac_subst_vars
165292bb16f8Smrg    do
165392bb16f8Smrg      eval ac_val=\$$ac_var
165492bb16f8Smrg      case $ac_val in
16553d13e800Smrg      *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
165692bb16f8Smrg      esac
16573d13e800Smrg      printf "%s\n" "$ac_var='\''$ac_val'\''"
165892bb16f8Smrg    done | sort
165992bb16f8Smrg    echo
166092bb16f8Smrg
166192bb16f8Smrg    if test -n "$ac_subst_files"; then
16623d13e800Smrg      printf "%s\n" "## ------------------- ##
166392bb16f8Smrg## File substitutions. ##
1664de7ed6e8Smrg## ------------------- ##"
166592bb16f8Smrg      echo
166692bb16f8Smrg      for ac_var in $ac_subst_files
166792bb16f8Smrg      do
166892bb16f8Smrg	eval ac_val=\$$ac_var
166992bb16f8Smrg	case $ac_val in
16703d13e800Smrg	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
167192bb16f8Smrg	esac
16723d13e800Smrg	printf "%s\n" "$ac_var='\''$ac_val'\''"
167392bb16f8Smrg      done | sort
167492bb16f8Smrg      echo
167592bb16f8Smrg    fi
167692bb16f8Smrg
167792bb16f8Smrg    if test -s confdefs.h; then
16783d13e800Smrg      printf "%s\n" "## ----------- ##
167992bb16f8Smrg## confdefs.h. ##
1680de7ed6e8Smrg## ----------- ##"
168192bb16f8Smrg      echo
168292bb16f8Smrg      cat confdefs.h
168392bb16f8Smrg      echo
168492bb16f8Smrg    fi
168592bb16f8Smrg    test "$ac_signal" != 0 &&
16863d13e800Smrg      printf "%s\n" "$as_me: caught signal $ac_signal"
16873d13e800Smrg    printf "%s\n" "$as_me: exit $exit_status"
168892bb16f8Smrg  } >&5
168992bb16f8Smrg  rm -f core *.core core.conftest.* &&
169092bb16f8Smrg    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
169192bb16f8Smrg    exit $exit_status
169292bb16f8Smrg' 0
169392bb16f8Smrgfor ac_signal in 1 2 13 15; do
1694de7ed6e8Smrg  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
169592bb16f8Smrgdone
169692bb16f8Smrgac_signal=0
169792bb16f8Smrg
169892bb16f8Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed.
169992bb16f8Smrgrm -f -r conftest* confdefs.h
170092bb16f8Smrg
17013d13e800Smrgprintf "%s\n" "/* confdefs.h */" > confdefs.h
1702de7ed6e8Smrg
170392bb16f8Smrg# Predefined preprocessor variables.
170492bb16f8Smrg
17053d13e800Smrgprintf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
170692bb16f8Smrg
17073d13e800Smrgprintf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
170892bb16f8Smrg
17093d13e800Smrgprintf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
171092bb16f8Smrg
17113d13e800Smrgprintf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
171292bb16f8Smrg
17133d13e800Smrgprintf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
171492bb16f8Smrg
17153d13e800Smrgprintf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1716de7ed6e8Smrg
171792bb16f8Smrg
171892bb16f8Smrg# Let the site file select an alternate cache file if it wants to.
17198255a313Smrg# Prefer an explicitly selected file to automatically selected ones.
172092bb16f8Smrgif test -n "$CONFIG_SITE"; then
17213d13e800Smrg  ac_site_files="$CONFIG_SITE"
172292bb16f8Smrgelif test "x$prefix" != xNONE; then
17233d13e800Smrg  ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
172492bb16f8Smrgelse
17253d13e800Smrg  ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
172692bb16f8Smrgfi
17273d13e800Smrg
17283d13e800Smrgfor ac_site_file in $ac_site_files
172992bb16f8Smrgdo
17303d13e800Smrg  case $ac_site_file in #(
17313d13e800Smrg  */*) :
17323d13e800Smrg     ;; #(
17333d13e800Smrg  *) :
17343d13e800Smrg    ac_site_file=./$ac_site_file ;;
17353d13e800Smrgesac
17363d13e800Smrg  if test -f "$ac_site_file" && test -r "$ac_site_file"; then
17373d13e800Smrg    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
17383d13e800Smrgprintf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
173992bb16f8Smrg    sed 's/^/| /' "$ac_site_file" >&5
1740de7ed6e8Smrg    . "$ac_site_file" \
17413d13e800Smrg      || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17423d13e800Smrgprintf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1743de7ed6e8Smrgas_fn_error $? "failed to load site script $ac_site_file
1744de7ed6e8SmrgSee \`config.log' for more details" "$LINENO" 5; }
174592bb16f8Smrg  fi
174692bb16f8Smrgdone
174792bb16f8Smrg
174892bb16f8Smrgif test -r "$cache_file"; then
1749de7ed6e8Smrg  # Some versions of bash will fail to source /dev/null (special files
1750de7ed6e8Smrg  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1751de7ed6e8Smrg  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
17523d13e800Smrg    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
17533d13e800Smrgprintf "%s\n" "$as_me: loading cache $cache_file" >&6;}
175492bb16f8Smrg    case $cache_file in
175592bb16f8Smrg      [\\/]* | ?:[\\/]* ) . "$cache_file";;
175692bb16f8Smrg      *)                      . "./$cache_file";;
175792bb16f8Smrg    esac
175892bb16f8Smrg  fi
175992bb16f8Smrgelse
17603d13e800Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
17613d13e800Smrgprintf "%s\n" "$as_me: creating cache $cache_file" >&6;}
176292bb16f8Smrg  >$cache_file
176392bb16f8Smrgfi
176492bb16f8Smrg
17653d13e800Smrg
17663d13e800Smrg# Auxiliary files required by this configure script.
176722138c50Smrgac_aux_files="config.guess config.sub missing install-sh"
17683d13e800Smrg
17693d13e800Smrg# Locations in which to look for auxiliary files.
17703d13e800Smrgac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
17713d13e800Smrg
17723d13e800Smrg# Search for a directory containing all of the required auxiliary files,
17733d13e800Smrg# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
17743d13e800Smrg# If we don't find one directory that contains all the files we need,
17753d13e800Smrg# we report the set of missing files from the *first* directory in
17763d13e800Smrg# $ac_aux_dir_candidates and give up.
17773d13e800Smrgac_missing_aux_files=""
17783d13e800Smrgac_first_candidate=:
17793d13e800Smrgprintf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
17803d13e800Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17813d13e800Smrgas_found=false
17823d13e800Smrgfor as_dir in $ac_aux_dir_candidates
17833d13e800Smrgdo
17843d13e800Smrg  IFS=$as_save_IFS
17853d13e800Smrg  case $as_dir in #(((
17863d13e800Smrg    '') as_dir=./ ;;
17873d13e800Smrg    */) ;;
17883d13e800Smrg    *) as_dir=$as_dir/ ;;
17893d13e800Smrg  esac
17903d13e800Smrg  as_found=:
17913d13e800Smrg
17923d13e800Smrg  printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
17933d13e800Smrg  ac_aux_dir_found=yes
17943d13e800Smrg  ac_install_sh=
17953d13e800Smrg  for ac_aux in $ac_aux_files
17963d13e800Smrg  do
17973d13e800Smrg    # As a special case, if "install-sh" is required, that requirement
17983d13e800Smrg    # can be satisfied by any of "install-sh", "install.sh", or "shtool",
17993d13e800Smrg    # and $ac_install_sh is set appropriately for whichever one is found.
18003d13e800Smrg    if test x"$ac_aux" = x"install-sh"
18013d13e800Smrg    then
18023d13e800Smrg      if test -f "${as_dir}install-sh"; then
18033d13e800Smrg        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
18043d13e800Smrg        ac_install_sh="${as_dir}install-sh -c"
18053d13e800Smrg      elif test -f "${as_dir}install.sh"; then
18063d13e800Smrg        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
18073d13e800Smrg        ac_install_sh="${as_dir}install.sh -c"
18083d13e800Smrg      elif test -f "${as_dir}shtool"; then
18093d13e800Smrg        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
18103d13e800Smrg        ac_install_sh="${as_dir}shtool install -c"
18113d13e800Smrg      else
18123d13e800Smrg        ac_aux_dir_found=no
18133d13e800Smrg        if $ac_first_candidate; then
18143d13e800Smrg          ac_missing_aux_files="${ac_missing_aux_files} install-sh"
18153d13e800Smrg        else
18163d13e800Smrg          break
18173d13e800Smrg        fi
18183d13e800Smrg      fi
18193d13e800Smrg    else
18203d13e800Smrg      if test -f "${as_dir}${ac_aux}"; then
18213d13e800Smrg        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
18223d13e800Smrg      else
18233d13e800Smrg        ac_aux_dir_found=no
18243d13e800Smrg        if $ac_first_candidate; then
18253d13e800Smrg          ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
18263d13e800Smrg        else
18273d13e800Smrg          break
18283d13e800Smrg        fi
18293d13e800Smrg      fi
18303d13e800Smrg    fi
18313d13e800Smrg  done
18323d13e800Smrg  if test "$ac_aux_dir_found" = yes; then
18333d13e800Smrg    ac_aux_dir="$as_dir"
18343d13e800Smrg    break
18353d13e800Smrg  fi
18363d13e800Smrg  ac_first_candidate=false
18373d13e800Smrg
18383d13e800Smrg  as_found=false
18393d13e800Smrgdone
18403d13e800SmrgIFS=$as_save_IFS
18413d13e800Smrgif $as_found
18423d13e800Smrgthen :
18433d13e800Smrg
18443d13e800Smrgelse $as_nop
18453d13e800Smrg  as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
18463d13e800Smrgfi
18473d13e800Smrg
18483d13e800Smrg
18493d13e800Smrg# These three variables are undocumented and unsupported,
18503d13e800Smrg# and are intended to be withdrawn in a future Autoconf release.
18513d13e800Smrg# They can cause serious problems if a builder's source tree is in a directory
18523d13e800Smrg# whose full name contains unusual characters.
18533d13e800Smrgif test -f "${ac_aux_dir}config.guess"; then
18543d13e800Smrg  ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
18553d13e800Smrgfi
18563d13e800Smrgif test -f "${ac_aux_dir}config.sub"; then
18573d13e800Smrg  ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
18583d13e800Smrgfi
18593d13e800Smrgif test -f "$ac_aux_dir/configure"; then
18603d13e800Smrg  ac_configure="$SHELL ${ac_aux_dir}configure"
18613d13e800Smrgfi
18623d13e800Smrg
18633d13e800Smrg# Check that the precious variables saved in the cache have kept the same
18643d13e800Smrg# value.
18653d13e800Smrgac_cache_corrupted=false
18663d13e800Smrgfor ac_var in $ac_precious_vars; do
18673d13e800Smrg  eval ac_old_set=\$ac_cv_env_${ac_var}_set
18683d13e800Smrg  eval ac_new_set=\$ac_env_${ac_var}_set
18693d13e800Smrg  eval ac_old_val=\$ac_cv_env_${ac_var}_value
18703d13e800Smrg  eval ac_new_val=\$ac_env_${ac_var}_value
18713d13e800Smrg  case $ac_old_set,$ac_new_set in
18723d13e800Smrg    set,)
18733d13e800Smrg      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
18743d13e800Smrgprintf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
18753d13e800Smrg      ac_cache_corrupted=: ;;
18763d13e800Smrg    ,set)
18773d13e800Smrg      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
18783d13e800Smrgprintf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
18793d13e800Smrg      ac_cache_corrupted=: ;;
18803d13e800Smrg    ,);;
18813d13e800Smrg    *)
18823d13e800Smrg      if test "x$ac_old_val" != "x$ac_new_val"; then
18833d13e800Smrg	# differences in whitespace do not lead to failure.
18843d13e800Smrg	ac_old_val_w=`echo x $ac_old_val`
18853d13e800Smrg	ac_new_val_w=`echo x $ac_new_val`
18863d13e800Smrg	if test "$ac_old_val_w" != "$ac_new_val_w"; then
18873d13e800Smrg	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
18883d13e800Smrgprintf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
18893d13e800Smrg	  ac_cache_corrupted=:
18903d13e800Smrg	else
18913d13e800Smrg	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
18923d13e800Smrgprintf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
18933d13e800Smrg	  eval $ac_var=\$ac_old_val
18943d13e800Smrg	fi
18953d13e800Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
18963d13e800Smrgprintf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
18973d13e800Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
18983d13e800Smrgprintf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
18993d13e800Smrg      fi;;
19003d13e800Smrg  esac
19013d13e800Smrg  # Pass precious variables to config.status.
19023d13e800Smrg  if test "$ac_new_set" = set; then
19033d13e800Smrg    case $ac_new_val in
19043d13e800Smrg    *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
19053d13e800Smrg    *) ac_arg=$ac_var=$ac_new_val ;;
19063d13e800Smrg    esac
19073d13e800Smrg    case " $ac_configure_args " in
19083d13e800Smrg      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
19093d13e800Smrg      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
19103d13e800Smrg    esac
19113d13e800Smrg  fi
19123d13e800Smrgdone
19133d13e800Smrgif $ac_cache_corrupted; then
19143d13e800Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19153d13e800Smrgprintf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
19163d13e800Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
19173d13e800Smrgprintf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
19183d13e800Smrg  as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
19193d13e800Smrg	    and start over" "$LINENO" 5
19203d13e800Smrgfi
19213d13e800Smrg## -------------------- ##
19223d13e800Smrg## Main body of script. ##
19233d13e800Smrg## -------------------- ##
19243d13e800Smrg
19253d13e800Smrgac_ext=c
19263d13e800Smrgac_cpp='$CPP $CPPFLAGS'
19273d13e800Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19283d13e800Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19293d13e800Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
19303d13e800Smrg
19313d13e800Smrg
19323d13e800Smrgam__api_version='1.16'
19333d13e800Smrg
19343d13e800Smrg
19353d13e800Smrg
19363d13e800Smrg  # Find a good install program.  We prefer a C program (faster),
19373d13e800Smrg# so one script is as good as another.  But avoid the broken or
19383d13e800Smrg# incompatible versions:
19393d13e800Smrg# SysV /etc/install, /usr/sbin/install
19403d13e800Smrg# SunOS /usr/etc/install
19413d13e800Smrg# IRIX /sbin/install
19423d13e800Smrg# AIX /bin/install
19433d13e800Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs
19443d13e800Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
19453d13e800Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args
19463d13e800Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
194792bb16f8Smrg# OS/2's system install, which has a completely different semantic
194892bb16f8Smrg# ./install, which can be erroneously created by make from ./install.sh.
19498255a313Smrg# Reject install programs that cannot install multiple files.
19503d13e800Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
19513d13e800Smrgprintf %s "checking for a BSD-compatible install... " >&6; }
195292bb16f8Smrgif test -z "$INSTALL"; then
19533d13e800Smrgif test ${ac_cv_path_install+y}
19543d13e800Smrgthen :
19553d13e800Smrg  printf %s "(cached) " >&6
19563d13e800Smrgelse $as_nop
195792bb16f8Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195892bb16f8Smrgfor as_dir in $PATH
195992bb16f8Smrgdo
196092bb16f8Smrg  IFS=$as_save_IFS
19613d13e800Smrg  case $as_dir in #(((
19623d13e800Smrg    '') as_dir=./ ;;
19633d13e800Smrg    */) ;;
19643d13e800Smrg    *) as_dir=$as_dir/ ;;
19653d13e800Smrg  esac
19663d13e800Smrg    # Account for fact that we put trailing slashes in our PATH walk.
19673d13e800Smrgcase $as_dir in #((
19683d13e800Smrg  ./ | /[cC]/* | \
196992bb16f8Smrg  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1970de7ed6e8Smrg  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
197192bb16f8Smrg  /usr/ucb/* ) ;;
197292bb16f8Smrg  *)
197392bb16f8Smrg    # OSF1 and SCO ODT 3.0 have their own names for install.
197492bb16f8Smrg    # Don't use installbsd from OSF since it installs stuff as root
197592bb16f8Smrg    # by default.
197692bb16f8Smrg    for ac_prog in ginstall scoinst install; do
197792bb16f8Smrg      for ac_exec_ext in '' $ac_executable_extensions; do
19783d13e800Smrg	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
197992bb16f8Smrg	  if test $ac_prog = install &&
19803d13e800Smrg	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
198192bb16f8Smrg	    # AIX install.  It has an incompatible calling convention.
198292bb16f8Smrg	    :
198392bb16f8Smrg	  elif test $ac_prog = install &&
19843d13e800Smrg	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
198592bb16f8Smrg	    # program-specific install script used by HP pwplus--don't use.
198692bb16f8Smrg	    :
198792bb16f8Smrg	  else
19888255a313Smrg	    rm -rf conftest.one conftest.two conftest.dir
19898255a313Smrg	    echo one > conftest.one
19908255a313Smrg	    echo two > conftest.two
19918255a313Smrg	    mkdir conftest.dir
19923d13e800Smrg	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
19938255a313Smrg	      test -s conftest.one && test -s conftest.two &&
19948255a313Smrg	      test -s conftest.dir/conftest.one &&
19958255a313Smrg	      test -s conftest.dir/conftest.two
19968255a313Smrg	    then
19973d13e800Smrg	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
19988255a313Smrg	      break 3
19998255a313Smrg	    fi
200092bb16f8Smrg	  fi
200192bb16f8Smrg	fi
200292bb16f8Smrg      done
200392bb16f8Smrg    done
200492bb16f8Smrg    ;;
200592bb16f8Smrgesac
20068255a313Smrg
2007de7ed6e8Smrg  done
200892bb16f8SmrgIFS=$as_save_IFS
200992bb16f8Smrg
20108255a313Smrgrm -rf conftest.one conftest.two conftest.dir
201192bb16f8Smrg
201292bb16f8Smrgfi
20133d13e800Smrg  if test ${ac_cv_path_install+y}; then
201492bb16f8Smrg    INSTALL=$ac_cv_path_install
201592bb16f8Smrg  else
201692bb16f8Smrg    # As a last resort, use the slow shell script.  Don't cache a
201792bb16f8Smrg    # value for INSTALL within a source directory, because that will
201892bb16f8Smrg    # break other packages using the cache if that directory is
201992bb16f8Smrg    # removed, or if the value is a relative name.
202092bb16f8Smrg    INSTALL=$ac_install_sh
202192bb16f8Smrg  fi
202292bb16f8Smrgfi
20233d13e800Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
20243d13e800Smrgprintf "%s\n" "$INSTALL" >&6; }
202592bb16f8Smrg
202692bb16f8Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
202792bb16f8Smrg# It thinks the first close brace ends the variable substitution.
202892bb16f8Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
202992bb16f8Smrg
203092bb16f8Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
203192bb16f8Smrg
203292bb16f8Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
203392bb16f8Smrg
20343d13e800Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
20353d13e800Smrgprintf %s "checking whether build environment is sane... " >&6; }
20368255a313Smrg# Reject unsafe characters in $srcdir or the absolute working directory
20378255a313Smrg# name.  Accept space and tab only in the latter.
20388255a313Smrgam_lf='
20398255a313Smrg'
20408255a313Smrgcase `pwd` in
20418255a313Smrg  *[\\\"\#\$\&\'\`$am_lf]*)
2042de7ed6e8Smrg    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
20438255a313Smrgesac
20448255a313Smrgcase $srcdir in
20458255a313Smrg  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
204601395c31Smrg    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
20478255a313Smrgesac
20488255a313Smrg
204901395c31Smrg# Do 'set' in a subshell so we don't clobber the current shell's
205092bb16f8Smrg# arguments.  Must try -L first in case configure is actually a
205192bb16f8Smrg# symlink; some systems play weird games with the mod time of symlinks
205292bb16f8Smrg# (eg FreeBSD returns the mod time of the symlink's containing
205392bb16f8Smrg# directory).
205492bb16f8Smrgif (
205501395c31Smrg   am_has_slept=no
205601395c31Smrg   for am_try in 1 2; do
205701395c31Smrg     echo "timestamp, slept: $am_has_slept" > conftest.file
205801395c31Smrg     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
205901395c31Smrg     if test "$*" = "X"; then
206001395c31Smrg	# -L didn't work.
206101395c31Smrg	set X `ls -t "$srcdir/configure" conftest.file`
206201395c31Smrg     fi
206301395c31Smrg     if test "$*" != "X $srcdir/configure conftest.file" \
206401395c31Smrg	&& test "$*" != "X conftest.file $srcdir/configure"; then
206501395c31Smrg
206601395c31Smrg	# If neither matched, then we have a broken ls.  This can happen
206701395c31Smrg	# if, for instance, CONFIG_SHELL is bash and it inherits a
206801395c31Smrg	# broken ls alias from the environment.  This has actually
206901395c31Smrg	# happened.  Such a system could not be considered "sane".
207001395c31Smrg	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
207101395c31Smrg  alias in your environment" "$LINENO" 5
207201395c31Smrg     fi
207301395c31Smrg     if test "$2" = conftest.file || test $am_try -eq 2; then
207401395c31Smrg       break
207501395c31Smrg     fi
207601395c31Smrg     # Just in case.
207701395c31Smrg     sleep 1
207801395c31Smrg     am_has_slept=yes
207901395c31Smrg   done
208092bb16f8Smrg   test "$2" = conftest.file
208192bb16f8Smrg   )
208292bb16f8Smrgthen
208392bb16f8Smrg   # Ok.
208492bb16f8Smrg   :
208592bb16f8Smrgelse
2086de7ed6e8Smrg   as_fn_error $? "newly created file is older than distributed files!
2087de7ed6e8SmrgCheck your system clock" "$LINENO" 5
208892bb16f8Smrgfi
20893d13e800Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20903d13e800Smrgprintf "%s\n" "yes" >&6; }
209101395c31Smrg# If we didn't sleep, we still need to ensure time stamps of config.status and
209201395c31Smrg# generated files are strictly newer.
209301395c31Smrgam_sleep_pid=
209401395c31Smrgif grep 'slept: no' conftest.file >/dev/null 2>&1; then
209501395c31Smrg  ( sleep 1 ) &
209601395c31Smrg  am_sleep_pid=$!
209701395c31Smrgfi
209801395c31Smrg
209901395c31Smrgrm -f conftest.file
210001395c31Smrg
210192bb16f8Smrgtest "$program_prefix" != NONE &&
210292bb16f8Smrg  program_transform_name="s&^&$program_prefix&;$program_transform_name"
210392bb16f8Smrg# Use a double $ so make ignores it.
210492bb16f8Smrgtest "$program_suffix" != NONE &&
210592bb16f8Smrg  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
21068255a313Smrg# Double any \ or $.
210792bb16f8Smrg# By default was `s,x,x', remove it if useless.
21088255a313Smrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
21093d13e800Smrgprogram_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
21103d13e800Smrg
211192bb16f8Smrg
211201395c31Smrg# Expand $ac_aux_dir to an absolute path.
211301395c31Smrgam_aux_dir=`cd "$ac_aux_dir" && pwd`
211492bb16f8Smrg
21153d13e800Smrg
21163d13e800Smrg  if test x"${MISSING+set}" != xset; then
21173d13e800Smrg  MISSING="\${SHELL} '$am_aux_dir/missing'"
21188255a313Smrgfi
211992bb16f8Smrg# Use eval to expand $SHELL
212001395c31Smrgif eval "$MISSING --is-lightweight"; then
212101395c31Smrg  am_missing_run="$MISSING "
212292bb16f8Smrgelse
212392bb16f8Smrg  am_missing_run=
21243d13e800Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
21253d13e800Smrgprintf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
212692bb16f8Smrgfi
212792bb16f8Smrg
212801395c31Smrgif test x"${install_sh+set}" != xset; then
21298255a313Smrg  case $am_aux_dir in
21308255a313Smrg  *\ * | *\	*)
21318255a313Smrg    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
21328255a313Smrg  *)
21338255a313Smrg    install_sh="\${SHELL} $am_aux_dir/install-sh"
21348255a313Smrg  esac
21358255a313Smrgfi
21368255a313Smrg
213701395c31Smrg# Installed binaries are usually stripped using 'strip' when the user
213801395c31Smrg# run "make install-strip".  However 'strip' might not be the right
21398255a313Smrg# tool to use in cross-compilation environments, therefore Automake
214001395c31Smrg# will honor the 'STRIP' environment variable to overrule this program.
21418255a313Smrgif test "$cross_compiling" != no; then
21428255a313Smrg  if test -n "$ac_tool_prefix"; then
21438255a313Smrg  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
21448255a313Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2
21453d13e800Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21463d13e800Smrgprintf %s "checking for $ac_word... " >&6; }
21473d13e800Smrgif test ${ac_cv_prog_STRIP+y}
21483d13e800Smrgthen :
21493d13e800Smrg  printf %s "(cached) " >&6
21503d13e800Smrgelse $as_nop
21518255a313Smrg  if test -n "$STRIP"; then
21528255a313Smrg  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
215392bb16f8Smrgelse
215492bb16f8Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
215592bb16f8Smrgfor as_dir in $PATH
215692bb16f8Smrgdo
215792bb16f8Smrg  IFS=$as_save_IFS
21583d13e800Smrg  case $as_dir in #(((
21593d13e800Smrg    '') as_dir=./ ;;
21603d13e800Smrg    */) ;;
21613d13e800Smrg    *) as_dir=$as_dir/ ;;
21623d13e800Smrg  esac
2163de7ed6e8Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
21643d13e800Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
21658255a313Smrg    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
21663d13e800Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
216792bb16f8Smrg    break 2
216892bb16f8Smrg  fi
216992bb16f8Smrgdone
2170de7ed6e8Smrg  done
217192bb16f8SmrgIFS=$as_save_IFS
217292bb16f8Smrg
217392bb16f8Smrgfi
217492bb16f8Smrgfi
21758255a313SmrgSTRIP=$ac_cv_prog_STRIP
21768255a313Smrgif test -n "$STRIP"; then
21773d13e800Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
21783d13e800Smrgprintf "%s\n" "$STRIP" >&6; }
217992bb16f8Smrgelse
21803d13e800Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21813d13e800Smrgprintf "%s\n" "no" >&6; }
218292bb16f8Smrgfi
218392bb16f8Smrg
218492bb16f8Smrg
21858255a313Smrgfi
21868255a313Smrgif test -z "$ac_cv_prog_STRIP"; then
21878255a313Smrg  ac_ct_STRIP=$STRIP
21888255a313Smrg  # Extract the first word of "strip", so it can be a program name with args.
21898255a313Smrgset dummy strip; ac_word=$2
21903d13e800Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21913d13e800Smrgprintf %s "checking for $ac_word... " >&6; }
21923d13e800Smrgif test ${ac_cv_prog_ac_ct_STRIP+y}
21933d13e800Smrgthen :
21943d13e800Smrg  printf %s "(cached) " >&6
21953d13e800Smrgelse $as_nop
21968255a313Smrg  if test -n "$ac_ct_STRIP"; then
21978255a313Smrg  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
21988255a313Smrgelse
21998255a313Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22008255a313Smrgfor as_dir in $PATH
22018255a313Smrgdo
22028255a313Smrg  IFS=$as_save_IFS
22033d13e800Smrg  case $as_dir in #(((
22043d13e800Smrg    '') as_dir=./ ;;
22053d13e800Smrg    */) ;;
22063d13e800Smrg    *) as_dir=$as_dir/ ;;
22073d13e800Smrg  esac
2208de7ed6e8Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
22093d13e800Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
22108255a313Smrg    ac_cv_prog_ac_ct_STRIP="strip"
22113d13e800Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
22128255a313Smrg    break 2
22138255a313Smrg  fi
22148255a313Smrgdone
2215de7ed6e8Smrg  done
22168255a313SmrgIFS=$as_save_IFS
221792bb16f8Smrg
22188255a313Smrgfi
22198255a313Smrgfi
22208255a313Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
22218255a313Smrgif test -n "$ac_ct_STRIP"; then
22223d13e800Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
22233d13e800Smrgprintf "%s\n" "$ac_ct_STRIP" >&6; }
22248255a313Smrgelse
22253d13e800Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22263d13e800Smrgprintf "%s\n" "no" >&6; }
22278255a313Smrgfi
22288255a313Smrg
22298255a313Smrg  if test "x$ac_ct_STRIP" = x; then
22308255a313Smrg    STRIP=":"
22318255a313Smrg  else
22328255a313Smrg    case $cross_compiling:$ac_tool_warned in
22338255a313Smrgyes:)
22343d13e800Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
22353d13e800Smrgprintf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22368255a313Smrgac_tool_warned=yes ;;
22378255a313Smrgesac
22388255a313Smrg    STRIP=$ac_ct_STRIP
22398255a313Smrg  fi
22408255a313Smrgelse
22418255a313Smrg  STRIP="$ac_cv_prog_STRIP"
22428255a313Smrgfi
22438255a313Smrg
22448255a313Smrgfi
22458255a313SmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
22468255a313Smrg
22473d13e800Smrg
22483d13e800Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
22493d13e800Smrgprintf %s "checking for a race-free mkdir -p... " >&6; }
22508255a313Smrgif test -z "$MKDIR_P"; then
22513d13e800Smrg  if test ${ac_cv_path_mkdir+y}
22523d13e800Smrgthen :
22533d13e800Smrg  printf %s "(cached) " >&6
22543d13e800Smrgelse $as_nop
22558255a313Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22568255a313Smrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
22578255a313Smrgdo
22588255a313Smrg  IFS=$as_save_IFS
22593d13e800Smrg  case $as_dir in #(((
22603d13e800Smrg    '') as_dir=./ ;;
22613d13e800Smrg    */) ;;
22623d13e800Smrg    *) as_dir=$as_dir/ ;;
22633d13e800Smrg  esac
2264de7ed6e8Smrg    for ac_prog in mkdir gmkdir; do
22658255a313Smrg	 for ac_exec_ext in '' $ac_executable_extensions; do
22663d13e800Smrg	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
22673d13e800Smrg	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
22683d13e800Smrg	     'mkdir ('*'coreutils) '* | \
22693d13e800Smrg	     'BusyBox '* | \
22708255a313Smrg	     'mkdir (fileutils) '4.1*)
22713d13e800Smrg	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
22728255a313Smrg	       break 3;;
22738255a313Smrg	   esac
22748255a313Smrg	 done
22758255a313Smrg       done
2276de7ed6e8Smrg  done
22778255a313SmrgIFS=$as_save_IFS
22788255a313Smrg
22798255a313Smrgfi
22808255a313Smrg
2281de7ed6e8Smrg  test -d ./--version && rmdir ./--version
22823d13e800Smrg  if test ${ac_cv_path_mkdir+y}; then
22838255a313Smrg    MKDIR_P="$ac_cv_path_mkdir -p"
22848255a313Smrg  else
22858255a313Smrg    # As a last resort, use the slow shell script.  Don't cache a
22868255a313Smrg    # value for MKDIR_P within a source directory, because that will
22878255a313Smrg    # break other packages using the cache if that directory is
22888255a313Smrg    # removed, or if the value is a relative name.
22898255a313Smrg    MKDIR_P="$ac_install_sh -d"
22908255a313Smrg  fi
22918255a313Smrgfi
22923d13e800Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
22933d13e800Smrgprintf "%s\n" "$MKDIR_P" >&6; }
22948255a313Smrg
22958255a313Smrgfor ac_prog in gawk mawk nawk awk
22968255a313Smrgdo
22978255a313Smrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
22988255a313Smrgset dummy $ac_prog; ac_word=$2
22993d13e800Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23003d13e800Smrgprintf %s "checking for $ac_word... " >&6; }
23013d13e800Smrgif test ${ac_cv_prog_AWK+y}
23023d13e800Smrgthen :
23033d13e800Smrg  printf %s "(cached) " >&6
23043d13e800Smrgelse $as_nop
23058255a313Smrg  if test -n "$AWK"; then
23068255a313Smrg  ac_cv_prog_AWK="$AWK" # Let the user override the test.
23078255a313Smrgelse
23088255a313Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23098255a313Smrgfor as_dir in $PATH
23108255a313Smrgdo
23118255a313Smrg  IFS=$as_save_IFS
23123d13e800Smrg  case $as_dir in #(((
23133d13e800Smrg    '') as_dir=./ ;;
23143d13e800Smrg    */) ;;
23153d13e800Smrg    *) as_dir=$as_dir/ ;;
23163d13e800Smrg  esac
2317de7ed6e8Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
23183d13e800Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
23198255a313Smrg    ac_cv_prog_AWK="$ac_prog"
23203d13e800Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
23218255a313Smrg    break 2
23228255a313Smrg  fi
23238255a313Smrgdone
2324de7ed6e8Smrg  done
23258255a313SmrgIFS=$as_save_IFS
23268255a313Smrg
23278255a313Smrgfi
23288255a313Smrgfi
23298255a313SmrgAWK=$ac_cv_prog_AWK
23308255a313Smrgif test -n "$AWK"; then
23313d13e800Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
23323d13e800Smrgprintf "%s\n" "$AWK" >&6; }
23338255a313Smrgelse
23343d13e800Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23353d13e800Smrgprintf "%s\n" "no" >&6; }
23368255a313Smrgfi
23378255a313Smrg
23388255a313Smrg
23398255a313Smrg  test -n "$AWK" && break
23408255a313Smrgdone
23418255a313Smrg
23423d13e800Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
23433d13e800Smrgprintf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
23448255a313Smrgset x ${MAKE-make}
23453d13e800Smrgac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
23463d13e800Smrgif eval test \${ac_cv_prog_make_${ac_make}_set+y}
23473d13e800Smrgthen :
23483d13e800Smrg  printf %s "(cached) " >&6
23493d13e800Smrgelse $as_nop
235092bb16f8Smrg  cat >conftest.make <<\_ACEOF
235192bb16f8SmrgSHELL = /bin/sh
235292bb16f8Smrgall:
235392bb16f8Smrg	@echo '@@@%%%=$(MAKE)=@@@%%%'
235492bb16f8Smrg_ACEOF
2355de7ed6e8Smrg# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
235692bb16f8Smrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in
235792bb16f8Smrg  *@@@%%%=?*=@@@%%%*)
235892bb16f8Smrg    eval ac_cv_prog_make_${ac_make}_set=yes;;
235992bb16f8Smrg  *)
236092bb16f8Smrg    eval ac_cv_prog_make_${ac_make}_set=no;;
236192bb16f8Smrgesac
236292bb16f8Smrgrm -f conftest.make
236392bb16f8Smrgfi
236492bb16f8Smrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
23653d13e800Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23663d13e800Smrgprintf "%s\n" "yes" >&6; }
236792bb16f8Smrg  SET_MAKE=
236892bb16f8Smrgelse
23693d13e800Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23703d13e800Smrgprintf "%s\n" "no" >&6; }
237192bb16f8Smrg  SET_MAKE="MAKE=${MAKE-make}"
237292bb16f8Smrgfi
237392bb16f8Smrg
237492bb16f8Smrgrm -rf .tst 2>/dev/null
237592bb16f8Smrgmkdir .tst 2>/dev/null
237692bb16f8Smrgif test -d .tst; then
237792bb16f8Smrg  am__leading_dot=.
237892bb16f8Smrgelse
237992bb16f8Smrg  am__leading_dot=_
238092bb16f8Smrgfi
238192bb16f8Smrgrmdir .tst 2>/dev/null
238292bb16f8Smrg
238301395c31Smrg# Check whether --enable-silent-rules was given.
23843d13e800Smrgif test ${enable_silent_rules+y}
23853d13e800Smrgthen :
238601395c31Smrg  enableval=$enable_silent_rules;
238701395c31Smrgfi
238801395c31Smrg
238901395c31Smrgcase $enable_silent_rules in # (((
239001395c31Smrg  yes) AM_DEFAULT_VERBOSITY=0;;
239101395c31Smrg   no) AM_DEFAULT_VERBOSITY=1;;
239201395c31Smrg    *) AM_DEFAULT_VERBOSITY=1;;
239301395c31Smrgesac
239401395c31Smrgam_make=${MAKE-make}
23953d13e800Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
23963d13e800Smrgprintf %s "checking whether $am_make supports nested variables... " >&6; }
23973d13e800Smrgif test ${am_cv_make_support_nested_variables+y}
23983d13e800Smrgthen :
23993d13e800Smrg  printf %s "(cached) " >&6
24003d13e800Smrgelse $as_nop
24013d13e800Smrg  if printf "%s\n" 'TRUE=$(BAR$(V))
240201395c31SmrgBAR0=false
240301395c31SmrgBAR1=true
240401395c31SmrgV=1
240501395c31Smrgam__doit:
240601395c31Smrg	@$(TRUE)
240701395c31Smrg.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
240801395c31Smrg  am_cv_make_support_nested_variables=yes
240901395c31Smrgelse
241001395c31Smrg  am_cv_make_support_nested_variables=no
241101395c31Smrgfi
241201395c31Smrgfi
24133d13e800Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
24143d13e800Smrgprintf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
241501395c31Smrgif test $am_cv_make_support_nested_variables = yes; then
241601395c31Smrg    AM_V='$(V)'
241701395c31Smrg  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
241801395c31Smrgelse
241901395c31Smrg  AM_V=$AM_DEFAULT_VERBOSITY
242001395c31Smrg  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
242101395c31Smrgfi
242201395c31SmrgAM_BACKSLASH='\'
242301395c31Smrg
24248255a313Smrgif test "`cd $srcdir && pwd`" != "`pwd`"; then
24258255a313Smrg  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
24268255a313Smrg  # is not polluted with repeated "-I."
24278255a313Smrg  am__isrc=' -I$(srcdir)'
24288255a313Smrg  # test to see if srcdir already configured
24298255a313Smrg  if test -f $srcdir/config.status; then
2430de7ed6e8Smrg    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
24318255a313Smrg  fi
243292bb16f8Smrgfi
243392bb16f8Smrg
243492bb16f8Smrg# test whether we have cygpath
243592bb16f8Smrgif test -z "$CYGPATH_W"; then
243692bb16f8Smrg  if (cygpath --version) >/dev/null 2>/dev/null; then
243792bb16f8Smrg    CYGPATH_W='cygpath -w'
243892bb16f8Smrg  else
243992bb16f8Smrg    CYGPATH_W=echo
244092bb16f8Smrg  fi
244192bb16f8Smrgfi
244292bb16f8Smrg
244392bb16f8Smrg
244492bb16f8Smrg# Define the identity of the package.
244592bb16f8Smrg PACKAGE='encodings'
244622138c50Smrg VERSION='1.0.7'
244792bb16f8Smrg
244892bb16f8Smrg
24493d13e800Smrgprintf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
245092bb16f8Smrg
245192bb16f8Smrg
24523d13e800Smrgprintf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
245392bb16f8Smrg
245492bb16f8Smrg# Some tools Automake needs.
245592bb16f8Smrg
245692bb16f8SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
245792bb16f8Smrg
245892bb16f8Smrg
245992bb16f8SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
246092bb16f8Smrg
246192bb16f8Smrg
246292bb16f8SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
246392bb16f8Smrg
246492bb16f8Smrg
246592bb16f8SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
246692bb16f8Smrg
246792bb16f8Smrg
246892bb16f8SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
246992bb16f8Smrg
247001395c31Smrg# For better backward compatibility.  To be removed once Automake 1.9.x
247101395c31Smrg# dies out for good.  For more background, see:
247201395c31Smrg# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
247301395c31Smrg# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
247401395c31Smrgmkdir_p='$(MKDIR_P)'
247592bb16f8Smrg
247601395c31Smrg# We need awk for the "check" target (and possibly the TAP driver).  The
247701395c31Smrg# system "awk" is bad on some platforms.
247801395c31Smrg# Always define AMTAR for backward compatibility.  Yes, it's still used
247901395c31Smrg# in the wild :-(  We should find a proper way to deprecate it ...
248001395c31SmrgAMTAR='$${TAR-tar}'
24818255a313Smrg
24828255a313Smrg
248301395c31Smrg# We'll loop over all known methods to create a tar archive until one works.
248401395c31Smrg_am_tools='gnutar  pax cpio none'
24858255a313Smrg
248601395c31Smrgam__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
24878255a313Smrg
24888255a313Smrg
24898255a313Smrg
24908255a313Smrg
2491de7ed6e8Smrg
24923d13e800Smrg# Variables for tags utilities; see am/tags.am
24933d13e800Smrgif test -z "$CTAGS"; then
24943d13e800Smrg  CTAGS=ctags
24953d13e800Smrgfi
24963d13e800Smrg
24973d13e800Smrgif test -z "$ETAGS"; then
24983d13e800Smrg  ETAGS=etags
24993d13e800Smrgfi
25003d13e800Smrg
25013d13e800Smrgif test -z "$CSCOPE"; then
25023d13e800Smrg  CSCOPE=cscope
25033d13e800Smrgfi
25043d13e800Smrg
25053d13e800Smrg
2506de7ed6e8Smrg
250701395c31Smrg# POSIX will say in a future version that running "rm -f" with no argument
250801395c31Smrg# is OK; and we want to be able to make that assumption in our Makefile
250901395c31Smrg# recipes.  So use an aggressive probe to check that the usage we want is
251001395c31Smrg# actually supported "in the wild" to an acceptable degree.
251101395c31Smrg# See automake bug#10828.
251201395c31Smrg# To make any issue more visible, cause the running configure to be aborted
251301395c31Smrg# by default if the 'rm' program in use doesn't match our expectations; the
251401395c31Smrg# user can still override this though.
251501395c31Smrgif rm -f && rm -fr && rm -rf; then : OK; else
251601395c31Smrg  cat >&2 <<'END'
251701395c31SmrgOops!
251801395c31Smrg
251901395c31SmrgYour 'rm' program seems unable to run without file operands specified
252001395c31Smrgon the command line, even when the '-f' option is present.  This is contrary
252101395c31Smrgto the behaviour of most rm programs out there, and not conforming with
252201395c31Smrgthe upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
252301395c31Smrg
252401395c31SmrgPlease tell bug-automake@gnu.org about your system, including the value
252501395c31Smrgof your $PATH and any error possibly output before this message.  This
252601395c31Smrgcan help us improve future automake versions.
252701395c31Smrg
252801395c31SmrgEND
252901395c31Smrg  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
253001395c31Smrg    echo 'Configuration will proceed anyway, since you have set the' >&2
253101395c31Smrg    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
253201395c31Smrg    echo >&2
253301395c31Smrg  else
253401395c31Smrg    cat >&2 <<'END'
253501395c31SmrgAborting the configuration process, to ensure you take notice of the issue.
253601395c31Smrg
253701395c31SmrgYou can download and install GNU coreutils to get an 'rm' implementation
253801395c31Smrgthat behaves properly: <https://www.gnu.org/software/coreutils/>.
253901395c31Smrg
254001395c31SmrgIf you want to complete the configuration process using your problematic
254101395c31Smrg'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
254201395c31Smrgto "yes", and re-run configure.
2543de7ed6e8Smrg
254401395c31SmrgEND
254501395c31Smrg    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
254601395c31Smrg  fi
254701395c31Smrgfi
2548de7ed6e8Smrg
2549de7ed6e8Smrg
255022138c50Smrg# Require xorg-macros 1.20 or later: XORG_DEFAULT_NOCODE_OPTIONS
25518255a313Smrg
25528255a313Smrg
25538255a313Smrg
25548255a313Smrg
25558255a313Smrg
25568255a313Smrg
25578255a313Smrg
25583d13e800Smrg
25593d13e800Smrg
25603d13e800Smrg
25613d13e800Smrg
25623d13e800Smrg
25633d13e800Smrg
25643d13e800Smrg
25653d13e800Smrg
25663d13e800Smrg
25678255a313Smrg
25688255a313Smrg
256922138c50Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
257022138c50Smrg	if test -n "$ac_tool_prefix"; then
257122138c50Smrg  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
257222138c50Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25733d13e800Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25743d13e800Smrgprintf %s "checking for $ac_word... " >&6; }
257522138c50Smrgif test ${ac_cv_path_PKG_CONFIG+y}
25763d13e800Smrgthen :
25773d13e800Smrg  printf %s "(cached) " >&6
25783d13e800Smrgelse $as_nop
257922138c50Smrg  case $PKG_CONFIG in
258022138c50Smrg  [\\/]* | ?:[\\/]*)
258122138c50Smrg  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
258222138c50Smrg  ;;
258322138c50Smrg  *)
258422138c50Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
258592bb16f8Smrgfor as_dir in $PATH
258692bb16f8Smrgdo
258792bb16f8Smrg  IFS=$as_save_IFS
25883d13e800Smrg  case $as_dir in #(((
25893d13e800Smrg    '') as_dir=./ ;;
25903d13e800Smrg    */) ;;
25913d13e800Smrg    *) as_dir=$as_dir/ ;;
25923d13e800Smrg  esac
2593de7ed6e8Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
25943d13e800Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
259522138c50Smrg    ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
25963d13e800Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
259792bb16f8Smrg    break 2
259892bb16f8Smrg  fi
259992bb16f8Smrgdone
2600de7ed6e8Smrg  done
260192bb16f8SmrgIFS=$as_save_IFS
260292bb16f8Smrg
260322138c50Smrg  ;;
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
26263d13e800Smrgelse $as_nop
262722138c50Smrg  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  ;;
265222138c50Smrgesac
265392bb16f8Smrgfi
265422138c50Smrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
265522138c50Smrgif test -n "$ac_pt_PKG_CONFIG"; then
265622138c50Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
265722138c50Smrgprintf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
265892bb16f8Smrgelse
26593d13e800Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26603d13e800Smrgprintf "%s\n" "no" >&6; }
266192bb16f8Smrgfi
266292bb16f8Smrg
266322138c50Smrg  if test "x$ac_pt_PKG_CONFIG" = x; then
266422138c50Smrg    PKG_CONFIG=""
266592bb16f8Smrg  else
266692bb16f8Smrg    case $cross_compiling:$ac_tool_warned in
266792bb16f8Smrgyes:)
26683d13e800Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26693d13e800Smrgprintf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
267092bb16f8Smrgac_tool_warned=yes ;;
267192bb16f8Smrgesac
267222138c50Smrg    PKG_CONFIG=$ac_pt_PKG_CONFIG
267392bb16f8Smrg  fi
267492bb16f8Smrgelse
267522138c50Smrg  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
267692bb16f8Smrgfi
267792bb16f8Smrg
267822138c50Smrgfi
267922138c50Smrgif test -n "$PKG_CONFIG"; then
268022138c50Smrg	_pkg_min_version=0.9.0
268122138c50Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
268222138c50Smrgprintf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
268322138c50Smrg	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
268422138c50Smrg		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
268522138c50Smrgprintf "%s\n" "yes" >&6; }
268622138c50Smrg	else
268722138c50Smrg		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
268822138c50Smrgprintf "%s\n" "no" >&6; }
268922138c50Smrg		PKG_CONFIG=""
269022138c50Smrg	fi
269122138c50Smrgfi
269222138c50Smrg
269322138c50Smrg
269422138c50Smrg  # Make sure we can run config.sub.
269522138c50Smrg$SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
269622138c50Smrg  as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
269722138c50Smrg
269822138c50Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
269922138c50Smrgprintf %s "checking build system type... " >&6; }
270022138c50Smrgif test ${ac_cv_build+y}
27013d13e800Smrgthen :
27023d13e800Smrg  printf %s "(cached) " >&6
27033d13e800Smrgelse $as_nop
270422138c50Smrg  ac_build_alias=$build_alias
270522138c50Smrgtest "x$ac_build_alias" = x &&
270622138c50Smrg  ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
270722138c50Smrgtest "x$ac_build_alias" = x &&
270822138c50Smrg  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
270922138c50Smrgac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
271022138c50Smrg  as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
27118255a313Smrg
27128255a313Smrgfi
271322138c50Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
271422138c50Smrgprintf "%s\n" "$ac_cv_build" >&6; }
271522138c50Smrgcase $ac_cv_build in
271622138c50Smrg*-*-*) ;;
271722138c50Smrg*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
271822138c50Smrgesac
271922138c50Smrgbuild=$ac_cv_build
272022138c50Smrgac_save_IFS=$IFS; IFS='-'
272122138c50Smrgset x $ac_cv_build
272222138c50Smrgshift
272322138c50Smrgbuild_cpu=$1
272422138c50Smrgbuild_vendor=$2
272522138c50Smrgshift; shift
272622138c50Smrg# Remember, the first character of IFS is used to create $*,
272722138c50Smrg# except with old shells:
272822138c50Smrgbuild_os=$*
272922138c50SmrgIFS=$ac_save_IFS
273022138c50Smrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
273192bb16f8Smrg
273292bb16f8Smrg
273322138c50Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
273422138c50Smrgprintf %s "checking host system type... " >&6; }
273522138c50Smrgif test ${ac_cv_host+y}
27363d13e800Smrgthen :
27373d13e800Smrg  printf %s "(cached) " >&6
27383d13e800Smrgelse $as_nop
273922138c50Smrg  if test "x$host_alias" = x; then
274022138c50Smrg  ac_cv_host=$ac_cv_build
27418255a313Smrgelse
274222138c50Smrg  ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
274322138c50Smrg    as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
274401395c31Smrgfi
274501395c31Smrg
274601395c31Smrgfi
274722138c50Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
274822138c50Smrgprintf "%s\n" "$ac_cv_host" >&6; }
274922138c50Smrgcase $ac_cv_host in
275022138c50Smrg*-*-*) ;;
275122138c50Smrg*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
275222138c50Smrgesac
275322138c50Smrghost=$ac_cv_host
275422138c50Smrgac_save_IFS=$IFS; IFS='-'
275522138c50Smrgset x $ac_cv_host
275622138c50Smrgshift
275722138c50Smrghost_cpu=$1
275822138c50Smrghost_vendor=$2
275922138c50Smrgshift; shift
276022138c50Smrg# Remember, the first character of IFS is used to create $*,
276122138c50Smrg# except with old shells:
276222138c50Smrghost_os=$*
276322138c50SmrgIFS=$ac_save_IFS
276422138c50Smrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
276501395c31Smrg
276601395c31Smrg
276722138c50Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
276822138c50Smrgprintf %s "checking for a sed that does not truncate output... " >&6; }
276922138c50Smrgif test ${ac_cv_path_SED+y}
27703d13e800Smrgthen :
27713d13e800Smrg  printf %s "(cached) " >&6
27723d13e800Smrgelse $as_nop
277322138c50Smrg            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
277422138c50Smrg     for ac_i in 1 2 3 4 5 6 7; do
277522138c50Smrg       ac_script="$ac_script$as_nl$ac_script"
277622138c50Smrg     done
277722138c50Smrg     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
277822138c50Smrg     { ac_script=; unset ac_script;}
277922138c50Smrg     if test -z "$SED"; then
278022138c50Smrg  ac_path_SED_found=false
278122138c50Smrg  # Loop through the user's path and test for each of PROGNAME-LIST
278222138c50Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
278322138c50Smrgfor as_dir in $PATH
278422138c50Smrgdo
278522138c50Smrg  IFS=$as_save_IFS
278622138c50Smrg  case $as_dir in #(((
278722138c50Smrg    '') as_dir=./ ;;
278822138c50Smrg    */) ;;
278922138c50Smrg    *) as_dir=$as_dir/ ;;
279022138c50Smrg  esac
279122138c50Smrg    for ac_prog in sed gsed
279222138c50Smrg   do
279322138c50Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
279422138c50Smrg      ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
279522138c50Smrg      as_fn_executable_p "$ac_path_SED" || continue
279622138c50Smrg# Check for GNU ac_path_SED and select it if it is found.
279722138c50Smrg  # Check for GNU $ac_path_SED
279822138c50Smrgcase `"$ac_path_SED" --version 2>&1` in
279922138c50Smrg*GNU*)
280022138c50Smrg  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
280122138c50Smrg*)
280222138c50Smrg  ac_count=0
280322138c50Smrg  printf %s 0123456789 >"conftest.in"
280422138c50Smrg  while :
280522138c50Smrg  do
280622138c50Smrg    cat "conftest.in" "conftest.in" >"conftest.tmp"
280722138c50Smrg    mv "conftest.tmp" "conftest.in"
280822138c50Smrg    cp "conftest.in" "conftest.nl"
280922138c50Smrg    printf "%s\n" '' >> "conftest.nl"
281022138c50Smrg    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
281122138c50Smrg    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
281222138c50Smrg    as_fn_arith $ac_count + 1 && ac_count=$as_val
281322138c50Smrg    if test $ac_count -gt ${ac_path_SED_max-0}; then
281422138c50Smrg      # Best one so far, save it but keep looking for a better one
281522138c50Smrg      ac_cv_path_SED="$ac_path_SED"
281622138c50Smrg      ac_path_SED_max=$ac_count
281722138c50Smrg    fi
281822138c50Smrg    # 10*(2^10) chars as input seems more than enough
281922138c50Smrg    test $ac_count -gt 10 && break
282022138c50Smrg  done
282122138c50Smrg  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
282222138c50Smrgesac
282301395c31Smrg
282422138c50Smrg      $ac_path_SED_found && break 3
282522138c50Smrg    done
282622138c50Smrg  done
282722138c50Smrg  done
282822138c50SmrgIFS=$as_save_IFS
282922138c50Smrg  if test -z "$ac_cv_path_SED"; then
283022138c50Smrg    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
283122138c50Smrg  fi
283222138c50Smrgelse
283322138c50Smrg  ac_cv_path_SED=$SED
283401395c31Smrgfi
283501395c31Smrg
283601395c31Smrgfi
283722138c50Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
283822138c50Smrgprintf "%s\n" "$ac_cv_path_SED" >&6; }
283922138c50Smrg SED="$ac_cv_path_SED"
284022138c50Smrg  rm -f conftest.sed
284101395c31Smrg
284201395c31Smrg
284301395c31Smrg
284401395c31Smrg
284501395c31Smrg
284601395c31Smrgcat >>confdefs.h <<_ACEOF
284701395c31Smrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
284801395c31Smrg_ACEOF
284901395c31Smrg
285001395c31Smrg	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
285101395c31Smrg	if test "x$PVM" = "x"; then
285201395c31Smrg		PVM="0"
285301395c31Smrg	fi
285401395c31Smrg
28553d13e800Smrgprintf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
285601395c31Smrg
285701395c31Smrg	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
285801395c31Smrg	if test "x$PVP" = "x"; then
285901395c31Smrg		PVP="0"
286001395c31Smrg	fi
286101395c31Smrg
28623d13e800Smrgprintf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
286301395c31Smrg
286401395c31Smrg
286501395c31Smrg
286601395c31SmrgCHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
286701395c31Smrgmv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
286801395c31Smrg|| (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
286901395c31Smrgtouch \$(top_srcdir)/ChangeLog; \
287001395c31Smrgecho 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
287101395c31Smrg
287201395c31Smrg
287301395c31Smrg
287401395c31Smrg
287501395c31Smrgmacros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
287601395c31SmrgINSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
287701395c31Smrgmv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
287801395c31Smrg|| (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
287901395c31Smrgtouch \$(top_srcdir)/INSTALL; \
288001395c31Smrgecho 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
288101395c31Smrg
288201395c31Smrg
288301395c31Smrg
288401395c31Smrg
288501395c31Smrg
288601395c31Smrg
288701395c31Smrgcase $host_os in
288801395c31Smrg    solaris*)
288901395c31Smrg        # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
289001395c31Smrg        # check for a man page file found in later versions that use
289101395c31Smrg        # traditional section numbers instead
28923d13e800Smrg        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
28933d13e800Smrgprintf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
28943d13e800Smrgif test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
28953d13e800Smrgthen :
28963d13e800Smrg  printf %s "(cached) " >&6
28973d13e800Smrgelse $as_nop
289801395c31Smrg  test "$cross_compiling" = yes &&
289901395c31Smrg  as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
290001395c31Smrgif test -r "/usr/share/man/man7/attributes.7"; then
290101395c31Smrg  ac_cv_file__usr_share_man_man7_attributes_7=yes
290201395c31Smrgelse
290301395c31Smrg  ac_cv_file__usr_share_man_man7_attributes_7=no
290401395c31Smrgfi
290501395c31Smrgfi
29063d13e800Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
29073d13e800Smrgprintf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
29083d13e800Smrgif test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
29093d13e800Smrgthen :
291001395c31Smrg  SYSV_MAN_SECTIONS=false
29113d13e800Smrgelse $as_nop
291201395c31Smrg  SYSV_MAN_SECTIONS=true
291301395c31Smrgfi
291401395c31Smrg
291501395c31Smrg        ;;
291601395c31Smrg    *) SYSV_MAN_SECTIONS=false ;;
291701395c31Smrgesac
291801395c31Smrg
291901395c31Smrgif test x$APP_MAN_SUFFIX = x    ; then
292001395c31Smrg    APP_MAN_SUFFIX=1
292101395c31Smrgfi
29228255a313Smrgif test x$APP_MAN_DIR = x    ; then
29238255a313Smrg    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
29248255a313Smrgfi
29258255a313Smrg
29268255a313Smrgif test x$LIB_MAN_SUFFIX = x    ; then
29278255a313Smrg    LIB_MAN_SUFFIX=3
29288255a313Smrgfi
29298255a313Smrgif test x$LIB_MAN_DIR = x    ; then
29308255a313Smrg    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
29318255a313Smrgfi
29328255a313Smrg
29338255a313Smrgif test x$FILE_MAN_SUFFIX = x    ; then
293401395c31Smrg    case $SYSV_MAN_SECTIONS in
293501395c31Smrg	true)				FILE_MAN_SUFFIX=4  ;;
293601395c31Smrg	*)				FILE_MAN_SUFFIX=5  ;;
29378255a313Smrg    esac
29388255a313Smrgfi
29398255a313Smrgif test x$FILE_MAN_DIR = x    ; then
29408255a313Smrg    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
29418255a313Smrgfi
29428255a313Smrg
29438255a313Smrgif test x$MISC_MAN_SUFFIX = x    ; then
294401395c31Smrg    case $SYSV_MAN_SECTIONS in
294501395c31Smrg	true)				MISC_MAN_SUFFIX=5  ;;
294601395c31Smrg	*)				MISC_MAN_SUFFIX=7  ;;
29478255a313Smrg    esac
29488255a313Smrgfi
29498255a313Smrgif test x$MISC_MAN_DIR = x    ; then
29508255a313Smrg    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
29518255a313Smrgfi
29528255a313Smrg
29538255a313Smrgif test x$DRIVER_MAN_SUFFIX = x    ; then
295401395c31Smrg    case $SYSV_MAN_SECTIONS in
295501395c31Smrg	true)				DRIVER_MAN_SUFFIX=7  ;;
295601395c31Smrg	*)				DRIVER_MAN_SUFFIX=4  ;;
29578255a313Smrg    esac
29588255a313Smrgfi
29598255a313Smrgif test x$DRIVER_MAN_DIR = x    ; then
29608255a313Smrg    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
29618255a313Smrgfi
29628255a313Smrg
29638255a313Smrgif test x$ADMIN_MAN_SUFFIX = x    ; then
296401395c31Smrg    case $SYSV_MAN_SECTIONS in
296501395c31Smrg	true)				ADMIN_MAN_SUFFIX=1m ;;
296601395c31Smrg	*)				ADMIN_MAN_SUFFIX=8  ;;
29678255a313Smrg    esac
29688255a313Smrgfi
29698255a313Smrgif test x$ADMIN_MAN_DIR = x    ; then
29708255a313Smrg    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
29718255a313Smrgfi
29728255a313Smrg
29738255a313Smrg
29748255a313Smrg
29758255a313Smrg
29768255a313Smrg
29778255a313Smrg
29788255a313Smrg
29798255a313Smrg
29808255a313Smrg
29818255a313Smrg
29828255a313Smrg
29838255a313Smrg
29848255a313Smrg
29858255a313Smrg
29868255a313Smrg
2987de7ed6e8SmrgXORG_MAN_PAGE="X Version 11"
29888255a313Smrg
2989de7ed6e8SmrgMAN_SUBSTS="\
2990de7ed6e8Smrg	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
2991de7ed6e8Smrg	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
2992de7ed6e8Smrg	-e 's|__xservername__|Xorg|g' \
2993de7ed6e8Smrg	-e 's|__xconfigfile__|xorg.conf|g' \
2994de7ed6e8Smrg	-e 's|__projectroot__|\$(prefix)|g' \
2995de7ed6e8Smrg	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
2996de7ed6e8Smrg	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
2997de7ed6e8Smrg	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
2998de7ed6e8Smrg	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
2999de7ed6e8Smrg	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
3000de7ed6e8Smrg	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
3001de7ed6e8Smrg	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
30028255a313Smrg
30038255a313Smrg
30048255a313Smrg
3005de7ed6e8Smrg# Check whether --enable-silent-rules was given.
30063d13e800Smrgif test ${enable_silent_rules+y}
30073d13e800Smrgthen :
3008de7ed6e8Smrg  enableval=$enable_silent_rules;
30098255a313Smrgfi
30108255a313Smrg
301101395c31Smrgcase $enable_silent_rules in # (((
301201395c31Smrg  yes) AM_DEFAULT_VERBOSITY=0;;
301301395c31Smrg   no) AM_DEFAULT_VERBOSITY=1;;
301401395c31Smrg    *) AM_DEFAULT_VERBOSITY=0;;
3015de7ed6e8Smrgesac
301601395c31Smrgam_make=${MAKE-make}
30173d13e800Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
30183d13e800Smrgprintf %s "checking whether $am_make supports nested variables... " >&6; }
30193d13e800Smrgif test ${am_cv_make_support_nested_variables+y}
30203d13e800Smrgthen :
30213d13e800Smrg  printf %s "(cached) " >&6
30223d13e800Smrgelse $as_nop
30233d13e800Smrg  if printf "%s\n" 'TRUE=$(BAR$(V))
302401395c31SmrgBAR0=false
302501395c31SmrgBAR1=true
302601395c31SmrgV=1
302701395c31Smrgam__doit:
302801395c31Smrg	@$(TRUE)
302901395c31Smrg.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
303001395c31Smrg  am_cv_make_support_nested_variables=yes
303101395c31Smrgelse
303201395c31Smrg  am_cv_make_support_nested_variables=no
303301395c31Smrgfi
303401395c31Smrgfi
30353d13e800Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
30363d13e800Smrgprintf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
303701395c31Smrgif test $am_cv_make_support_nested_variables = yes; then
303801395c31Smrg    AM_V='$(V)'
303901395c31Smrg  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
304001395c31Smrgelse
304101395c31Smrg  AM_V=$AM_DEFAULT_VERBOSITY
304201395c31Smrg  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
304301395c31Smrgfi
3044de7ed6e8SmrgAM_BACKSLASH='\'
30458255a313Smrg
30468255a313Smrg
30478255a313Smrg
3048de7ed6e8Smrg# Require X.Org's font util macros 1.2 or later
30498255a313Smrg
30508255a313Smrg
305192bb16f8Smrg
305292bb16f8Smrg
305392bb16f8Smrg
305492bb16f8Smrg
305592bb16f8Smrg
305692bb16f8Smrg
305792bb16f8Smrg
305892bb16f8Smrg
305992bb16f8Smrg
306092bb16f8Smrg
306192bb16f8Smrg# mkfontscale
306292bb16f8Smrg
30638255a313Smrg	# Extract the first word of "mkfontscale", so it can be a program name with args.
306492bb16f8Smrgset dummy mkfontscale; ac_word=$2
30653d13e800Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30663d13e800Smrgprintf %s "checking for $ac_word... " >&6; }
30673d13e800Smrgif test ${ac_cv_path_MKFONTSCALE+y}
30683d13e800Smrgthen :
30693d13e800Smrg  printf %s "(cached) " >&6
30703d13e800Smrgelse $as_nop
307192bb16f8Smrg  case $MKFONTSCALE in
307292bb16f8Smrg  [\\/]* | ?:[\\/]*)
307392bb16f8Smrg  ac_cv_path_MKFONTSCALE="$MKFONTSCALE" # Let the user override the test with a path.
307492bb16f8Smrg  ;;
307592bb16f8Smrg  *)
307692bb16f8Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
307792bb16f8Smrgfor as_dir in $PATH
307892bb16f8Smrgdo
307992bb16f8Smrg  IFS=$as_save_IFS
30803d13e800Smrg  case $as_dir in #(((
30813d13e800Smrg    '') as_dir=./ ;;
30823d13e800Smrg    */) ;;
30833d13e800Smrg    *) as_dir=$as_dir/ ;;
30843d13e800Smrg  esac
3085de7ed6e8Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
30863d13e800Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
30873d13e800Smrg    ac_cv_path_MKFONTSCALE="$as_dir$ac_word$ac_exec_ext"
30883d13e800Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
308992bb16f8Smrg    break 2
309092bb16f8Smrg  fi
309192bb16f8Smrgdone
3092de7ed6e8Smrg  done
309392bb16f8SmrgIFS=$as_save_IFS
309492bb16f8Smrg
309592bb16f8Smrg  ;;
309692bb16f8Smrgesac
309792bb16f8Smrgfi
309892bb16f8SmrgMKFONTSCALE=$ac_cv_path_MKFONTSCALE
309992bb16f8Smrgif test -n "$MKFONTSCALE"; then
31003d13e800Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKFONTSCALE" >&5
31013d13e800Smrgprintf "%s\n" "$MKFONTSCALE" >&6; }
310292bb16f8Smrgelse
31033d13e800Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
31043d13e800Smrgprintf "%s\n" "no" >&6; }
310592bb16f8Smrgfi
310692bb16f8Smrg
310792bb16f8Smrg
3108de7ed6e8Smrg	if test x"$MKFONTSCALE" = x; then
3109de7ed6e8Smrg		as_fn_error $? "mkfontscale is required to build $PACKAGE_NAME." "$LINENO" 5
31108255a313Smrg	fi
31118255a313Smrg
311292bb16f8Smrg
311392bb16f8Smrg# Choose whether or not to compress encodings - default is to compress all
311492bb16f8Smrg
31153d13e800Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if small encodings should be compressed" >&5
31163d13e800Smrgprintf %s "checking if small encodings should be compressed... " >&6; }
311792bb16f8Smrg# Check whether --enable-gzip-small-encodings was given.
31183d13e800Smrgif test ${enable_gzip_small_encodings+y}
31193d13e800Smrgthen :
312092bb16f8Smrg  enableval=$enable_gzip_small_encodings; GZIP_SMALL="$enableval"
31213d13e800Smrgelse $as_nop
312292bb16f8Smrg  GZIP_SMALL="yes"
312392bb16f8Smrgfi
312492bb16f8Smrg
31258255a313Smrg if test x$GZIP_SMALL = xyes; then
312692bb16f8Smrg  GZIP_SMALL_TRUE=
312792bb16f8Smrg  GZIP_SMALL_FALSE='#'
312892bb16f8Smrgelse
312992bb16f8Smrg  GZIP_SMALL_TRUE='#'
313092bb16f8Smrg  GZIP_SMALL_FALSE=
313192bb16f8Smrgfi
313292bb16f8Smrg
31333d13e800Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${GZIP_SMALL}" >&5
31343d13e800Smrgprintf "%s\n" "${GZIP_SMALL}" >&6; }
313592bb16f8Smrg
31363d13e800Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if large encodings should be compressed" >&5
31373d13e800Smrgprintf %s "checking if large encodings should be compressed... " >&6; }
313892bb16f8Smrg# Check whether --enable-gzip-large-encodings was given.
31393d13e800Smrgif test ${enable_gzip_large_encodings+y}
31403d13e800Smrgthen :
314192bb16f8Smrg  enableval=$enable_gzip_large_encodings; GZIP_LARGE="$enableval"
31423d13e800Smrgelse $as_nop
314392bb16f8Smrg  GZIP_LARGE="yes"
314492bb16f8Smrgfi
314592bb16f8Smrg
31468255a313Smrg if test x$GZIP_LARGE = xyes; then
314792bb16f8Smrg  GZIP_LARGE_TRUE=
314892bb16f8Smrg  GZIP_LARGE_FALSE='#'
314992bb16f8Smrgelse
315092bb16f8Smrg  GZIP_LARGE_TRUE='#'
315192bb16f8Smrg  GZIP_LARGE_FALSE=
315292bb16f8Smrgfi
315392bb16f8Smrg
31543d13e800Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${GZIP_LARGE}" >&5
31553d13e800Smrgprintf "%s\n" "${GZIP_LARGE}" >&6; }
315692bb16f8Smrg
315792bb16f8Smrg# gzip
315892bb16f8Smrg
315992bb16f8Smrgif test x$GZIP_SMALL = xyes -o x$GZIP_LARGE = xyes ; then
316092bb16f8Smrg    # Extract the first word of "gzip", so it can be a program name with args.
316192bb16f8Smrgset dummy gzip; ac_word=$2
31623d13e800Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31633d13e800Smrgprintf %s "checking for $ac_word... " >&6; }
31643d13e800Smrgif test ${ac_cv_path_GZIP+y}
31653d13e800Smrgthen :
31663d13e800Smrg  printf %s "(cached) " >&6
31673d13e800Smrgelse $as_nop
316892bb16f8Smrg  case $GZIP in
316992bb16f8Smrg  [\\/]* | ?:[\\/]*)
317092bb16f8Smrg  ac_cv_path_GZIP="$GZIP" # Let the user override the test with a path.
317192bb16f8Smrg  ;;
317292bb16f8Smrg  *)
317392bb16f8Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
317492bb16f8Smrgfor as_dir in $PATH
317592bb16f8Smrgdo
317692bb16f8Smrg  IFS=$as_save_IFS
31773d13e800Smrg  case $as_dir in #(((
31783d13e800Smrg    '') as_dir=./ ;;
31793d13e800Smrg    */) ;;
31803d13e800Smrg    *) as_dir=$as_dir/ ;;
31813d13e800Smrg  esac
3182de7ed6e8Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
31833d13e800Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
31843d13e800Smrg    ac_cv_path_GZIP="$as_dir$ac_word$ac_exec_ext"
31853d13e800Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
31868255a313Smrg    break 2
31878255a313Smrg  fi
31888255a313Smrgdone
3189de7ed6e8Smrg  done
31908255a313SmrgIFS=$as_save_IFS
319192bb16f8Smrg
3192de7ed6e8Smrg  ;;
31938255a313Smrgesac
3194de7ed6e8Smrgfi
3195de7ed6e8SmrgGZIP=$ac_cv_path_GZIP
3196de7ed6e8Smrgif test -n "$GZIP"; then
31973d13e800Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GZIP" >&5
31983d13e800Smrgprintf "%s\n" "$GZIP" >&6; }
319992bb16f8Smrgelse
32003d13e800Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
32013d13e800Smrgprintf "%s\n" "no" >&6; }
320292bb16f8Smrgfi
320392bb16f8Smrg
32048255a313Smrg
3205de7ed6e8Smrg    if [ -z $GZIP ]; then
3206de7ed6e8Smrg	as_fn_error $? "gzip is needed to compress font encodings" "$LINENO" 5
3207de7ed6e8Smrg    fi
320822138c50Smrg    COMPRESS_FLAGS="${COMPRESS_FLAGS--n}"
320922138c50Smrg
32108255a313Smrgfi
32118255a313Smrg
32128255a313Smrg
32138255a313Smrg
3214de7ed6e8Smrg
32153d13e800Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for root directory for font files" >&5
32163d13e800Smrgprintf %s "checking for root directory for font files... " >&6; }
32178255a313Smrg
32188255a313Smrg# Check whether --with-fontrootdir was given.
32193d13e800Smrgif test ${with_fontrootdir+y}
32203d13e800Smrgthen :
32218255a313Smrg  withval=$with_fontrootdir; FONTROOTDIR="$withval"
32228255a313Smrgfi
32238255a313Smrg
32248255a313Smrg	# if --with-fontrootdir not specified...
32258255a313Smrg	if test "x${FONTROOTDIR}" = "x"; then
32268255a313Smrg		FONTROOTDIR=`$PKG_CONFIG --variable=fontrootdir fontutil`
32278255a313Smrg	fi
32288255a313Smrg	# ...and if pkg-config didn't find fontdir in fontutil.pc...
32298255a313Smrg	if test "x${FONTROOTDIR}" = "x"; then
32308255a313Smrg		FONTROOTDIR="${datadir}/fonts/X11"
323192bb16f8Smrg	fi
323292bb16f8Smrg
32333d13e800Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${FONTROOTDIR}" >&5
32343d13e800Smrgprintf "%s\n" "${FONTROOTDIR}" >&6; }
32358255a313Smrg
32368255a313Smrg
32378255a313Smrg
32388255a313Smrg
32393d13e800Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for directory for encodings files" >&5
32403d13e800Smrgprintf %s "checking for directory for encodings files... " >&6; }
32418255a313Smrg
32428255a313Smrg# Check whether --with-encodingsdir was given.
32433d13e800Smrgif test ${with_encodingsdir+y}
32443d13e800Smrgthen :
32458255a313Smrg  withval=$with_encodingsdir; ENCODINGSDIR="${withval}"
32463d13e800Smrgelse $as_nop
32478255a313Smrg  ENCODINGSDIR='${FONTROOTDIR}/encodings'
32488255a313Smrgfi
32498255a313Smrg
32508255a313Smrg
32513d13e800Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${ENCODINGSDIR}" >&5
32523d13e800Smrgprintf "%s\n" "${ENCODINGSDIR}" >&6; }
32538255a313Smrg
325492bb16f8Smrg
325592bb16f8Smrgac_config_files="$ac_config_files Makefile large/Makefile"
325692bb16f8Smrg
325792bb16f8Smrgcat >confcache <<\_ACEOF
325892bb16f8Smrg# This file is a shell script that caches the results of configure
325992bb16f8Smrg# tests run on this system so they can be shared between configure
326092bb16f8Smrg# scripts and configure runs, see configure's option --config-cache.
326192bb16f8Smrg# It is not useful on other systems.  If it contains results you don't
326292bb16f8Smrg# want to keep, you may remove or edit it.
326392bb16f8Smrg#
326492bb16f8Smrg# config.status only pays attention to the cache file if you give it
326592bb16f8Smrg# the --recheck option to rerun configure.
326692bb16f8Smrg#
326792bb16f8Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when
326892bb16f8Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the
326992bb16f8Smrg# following values.
327092bb16f8Smrg
327192bb16f8Smrg_ACEOF
327292bb16f8Smrg
327392bb16f8Smrg# The following way of writing the cache mishandles newlines in values,
327492bb16f8Smrg# but we know of no workaround that is simple, portable, and efficient.
327592bb16f8Smrg# So, we kill variables containing newlines.
327692bb16f8Smrg# Ultrix sh set writes to stderr and can't be redirected directly,
327792bb16f8Smrg# and sets the high bit in the cache file unless we assign to the vars.
327892bb16f8Smrg(
327992bb16f8Smrg  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
328092bb16f8Smrg    eval ac_val=\$$ac_var
328192bb16f8Smrg    case $ac_val in #(
328292bb16f8Smrg    *${as_nl}*)
328392bb16f8Smrg      case $ac_var in #(
32843d13e800Smrg      *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
32853d13e800Smrgprintf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
328692bb16f8Smrg      esac
328792bb16f8Smrg      case $ac_var in #(
328892bb16f8Smrg      _ | IFS | as_nl) ;; #(
32898255a313Smrg      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3290de7ed6e8Smrg      *) { eval $ac_var=; unset $ac_var;} ;;
329192bb16f8Smrg      esac ;;
329292bb16f8Smrg    esac
329392bb16f8Smrg  done
329492bb16f8Smrg
329592bb16f8Smrg  (set) 2>&1 |
329692bb16f8Smrg    case $as_nl`(ac_space=' '; set) 2>&1` in #(
329792bb16f8Smrg    *${as_nl}ac_space=\ *)
3298de7ed6e8Smrg      # `set' does not quote correctly, so add quotes: double-quote
3299de7ed6e8Smrg      # substitution turns \\\\ into \\, and sed turns \\ into \.
330092bb16f8Smrg      sed -n \
330192bb16f8Smrg	"s/'/'\\\\''/g;
330292bb16f8Smrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
330392bb16f8Smrg      ;; #(
330492bb16f8Smrg    *)
330592bb16f8Smrg      # `set' quotes correctly as required by POSIX, so do not add quotes.
330692bb16f8Smrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
330792bb16f8Smrg      ;;
330892bb16f8Smrg    esac |
330992bb16f8Smrg    sort
331092bb16f8Smrg) |
331192bb16f8Smrg  sed '
331292bb16f8Smrg     /^ac_cv_env_/b end
331392bb16f8Smrg     t clear
331492bb16f8Smrg     :clear
33153d13e800Smrg     s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
331692bb16f8Smrg     t end
331792bb16f8Smrg     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
331892bb16f8Smrg     :end' >>confcache
331992bb16f8Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else
332092bb16f8Smrg  if test -w "$cache_file"; then
3321de7ed6e8Smrg    if test "x$cache_file" != "x/dev/null"; then
33223d13e800Smrg      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
33233d13e800Smrgprintf "%s\n" "$as_me: updating cache $cache_file" >&6;}
3324de7ed6e8Smrg      if test ! -f "$cache_file" || test -h "$cache_file"; then
3325de7ed6e8Smrg	cat confcache >"$cache_file"
3326de7ed6e8Smrg      else
3327de7ed6e8Smrg        case $cache_file in #(
3328de7ed6e8Smrg        */* | ?:*)
3329de7ed6e8Smrg	  mv -f confcache "$cache_file"$$ &&
3330de7ed6e8Smrg	  mv -f "$cache_file"$$ "$cache_file" ;; #(
3331de7ed6e8Smrg        *)
3332de7ed6e8Smrg	  mv -f confcache "$cache_file" ;;
3333de7ed6e8Smrg	esac
3334de7ed6e8Smrg      fi
3335de7ed6e8Smrg    fi
333692bb16f8Smrg  else
33373d13e800Smrg    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
33383d13e800Smrgprintf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
333992bb16f8Smrg  fi
334092bb16f8Smrgfi
334192bb16f8Smrgrm -f confcache
334292bb16f8Smrg
334392bb16f8Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix
334492bb16f8Smrg# Let make expand exec_prefix.
334592bb16f8Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
334692bb16f8Smrg
334792bb16f8Smrg# Transform confdefs.h into DEFS.
334892bb16f8Smrg# Protect against shell expansion while executing Makefile rules.
334992bb16f8Smrg# Protect against Makefile macro expansion.
335092bb16f8Smrg#
335192bb16f8Smrg# If the first sed substitution is executed (which looks for macros that
335292bb16f8Smrg# take arguments), then branch to the quote section.  Otherwise,
335392bb16f8Smrg# look for a macro that doesn't take arguments.
335492bb16f8Smrgac_script='
33558255a313Smrg:mline
33568255a313Smrg/\\$/{
33578255a313Smrg N
33588255a313Smrg s,\\\n,,
33598255a313Smrg b mline
33608255a313Smrg}
336192bb16f8Smrgt clear
336292bb16f8Smrg:clear
336392bb16f8Smrgs/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
336492bb16f8Smrgt quote
336592bb16f8Smrgs/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
336692bb16f8Smrgt quote
336792bb16f8Smrgb any
336892bb16f8Smrg:quote
336992bb16f8Smrgs/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
337092bb16f8Smrgs/\[/\\&/g
337192bb16f8Smrgs/\]/\\&/g
337292bb16f8Smrgs/\$/$$/g
337392bb16f8SmrgH
337492bb16f8Smrg:any
337592bb16f8Smrg${
337692bb16f8Smrg	g
337792bb16f8Smrg	s/^\n//
337892bb16f8Smrg	s/\n/ /g
337992bb16f8Smrg	p
338092bb16f8Smrg}
338192bb16f8Smrg'
338292bb16f8SmrgDEFS=`sed -n "$ac_script" confdefs.h`
338392bb16f8Smrg
338492bb16f8Smrg
338592bb16f8Smrgac_libobjs=
338692bb16f8Smrgac_ltlibobjs=
3387de7ed6e8SmrgU=
338892bb16f8Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
338992bb16f8Smrg  # 1. Remove the extension, and $U if already installed.
339092bb16f8Smrg  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
33913d13e800Smrg  ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
339292bb16f8Smrg  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
339392bb16f8Smrg  #    will be set to the directory where LIBOBJS objects are built.
3394de7ed6e8Smrg  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3395de7ed6e8Smrg  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
339692bb16f8Smrgdone
339792bb16f8SmrgLIBOBJS=$ac_libobjs
339892bb16f8Smrg
339992bb16f8SmrgLTLIBOBJS=$ac_ltlibobjs
340092bb16f8Smrg
340192bb16f8Smrg
34023d13e800Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
34033d13e800Smrgprintf %s "checking that generated files are newer than configure... " >&6; }
340401395c31Smrg   if test -n "$am_sleep_pid"; then
340501395c31Smrg     # Hide warnings about reused PIDs.
340601395c31Smrg     wait $am_sleep_pid 2>/dev/null
340701395c31Smrg   fi
34083d13e800Smrg   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
34093d13e800Smrgprintf "%s\n" "done" >&6; }
34108255a313Smrg
341192bb16f8Smrgif test -z "${GZIP_SMALL_TRUE}" && test -z "${GZIP_SMALL_FALSE}"; then
3412de7ed6e8Smrg  as_fn_error $? "conditional \"GZIP_SMALL\" was never defined.
3413de7ed6e8SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
341492bb16f8Smrgfi
341592bb16f8Smrgif test -z "${GZIP_LARGE_TRUE}" && test -z "${GZIP_LARGE_FALSE}"; then
3416de7ed6e8Smrg  as_fn_error $? "conditional \"GZIP_LARGE\" was never defined.
3417de7ed6e8SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
341892bb16f8Smrgfi
341992bb16f8Smrg
3420de7ed6e8Smrg: "${CONFIG_STATUS=./config.status}"
34218255a313Smrgac_write_fail=0
342292bb16f8Smrgac_clean_files_save=$ac_clean_files
342392bb16f8Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS"
34243d13e800Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
34253d13e800Smrgprintf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
3426de7ed6e8Smrgas_write_fail=0
3427de7ed6e8Smrgcat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
342892bb16f8Smrg#! $SHELL
342992bb16f8Smrg# Generated by $as_me.
343092bb16f8Smrg# Run this file to recreate the current configuration.
343192bb16f8Smrg# Compiler output produced by configure, useful for debugging
343292bb16f8Smrg# configure, is in config.log if it exists.
343392bb16f8Smrg
343492bb16f8Smrgdebug=false
343592bb16f8Smrgac_cs_recheck=false
343692bb16f8Smrgac_cs_silent=false
343792bb16f8Smrg
3438de7ed6e8SmrgSHELL=\${CONFIG_SHELL-$SHELL}
3439de7ed6e8Smrgexport SHELL
3440de7ed6e8Smrg_ASEOF
3441de7ed6e8Smrgcat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3442de7ed6e8Smrg## -------------------- ##
3443de7ed6e8Smrg## M4sh Initialization. ##
3444de7ed6e8Smrg## -------------------- ##
344592bb16f8Smrg
34468255a313Smrg# Be more Bourne compatible
34478255a313SmrgDUALCASE=1; export DUALCASE # for MKS sh
34483d13e800Smrgas_nop=:
34493d13e800Smrgif test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
34503d13e800Smrgthen :
345192bb16f8Smrg  emulate sh
345292bb16f8Smrg  NULLCMD=:
34538255a313Smrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
345492bb16f8Smrg  # is contrary to our usage.  Disable this feature.
345592bb16f8Smrg  alias -g '${1+"$@"}'='"$@"'
345692bb16f8Smrg  setopt NO_GLOB_SUBST
34573d13e800Smrgelse $as_nop
3458de7ed6e8Smrg  case `(set -o) 2>/dev/null` in #(
3459de7ed6e8Smrg  *posix*) :
3460de7ed6e8Smrg    set -o posix ;; #(
3461de7ed6e8Smrg  *) :
3462de7ed6e8Smrg     ;;
34638255a313Smrgesac
346492bb16f8Smrgfi
34658255a313Smrg
34668255a313Smrg
34673d13e800Smrg
34683d13e800Smrg# Reset variables that may have inherited troublesome values from
34693d13e800Smrg# the environment.
34703d13e800Smrg
34713d13e800Smrg# IFS needs to be set, to space, tab, and newline, in precisely that order.
34723d13e800Smrg# (If _AS_PATH_WALK were called with IFS unset, it would have the
34733d13e800Smrg# side effect of setting IFS to empty, thus disabling word splitting.)
34743d13e800Smrg# Quoting is to prevent editors from complaining about space-tab.
34758255a313Smrgas_nl='
34768255a313Smrg'
34778255a313Smrgexport as_nl
34783d13e800SmrgIFS=" ""	$as_nl"
34793d13e800Smrg
34803d13e800SmrgPS1='$ '
34813d13e800SmrgPS2='> '
34823d13e800SmrgPS4='+ '
34833d13e800Smrg
34843d13e800Smrg# Ensure predictable behavior from utilities with locale-dependent output.
34853d13e800SmrgLC_ALL=C
34863d13e800Smrgexport LC_ALL
34873d13e800SmrgLANGUAGE=C
34883d13e800Smrgexport LANGUAGE
34893d13e800Smrg
34903d13e800Smrg# We cannot yet rely on "unset" to work, but we need these variables
34913d13e800Smrg# to be unset--not just set to an empty or harmless value--now, to
34923d13e800Smrg# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
34933d13e800Smrg# also avoids known problems related to "unset" and subshell syntax
34943d13e800Smrg# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
34953d13e800Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
34963d13e800Smrgdo eval test \${$as_var+y} \
34973d13e800Smrg  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
34983d13e800Smrgdone
34993d13e800Smrg
35003d13e800Smrg# Ensure that fds 0, 1, and 2 are open.
35013d13e800Smrgif (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
35023d13e800Smrgif (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
35033d13e800Smrgif (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
35048255a313Smrg
35058255a313Smrg# The user is always right.
35063d13e800Smrgif ${PATH_SEPARATOR+false} :; then
35078255a313Smrg  PATH_SEPARATOR=:
35088255a313Smrg  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
35098255a313Smrg    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
35108255a313Smrg      PATH_SEPARATOR=';'
35118255a313Smrg  }
351292bb16f8Smrgfi
351392bb16f8Smrg
351492bb16f8Smrg
351592bb16f8Smrg# Find who we are.  Look in the path if we contain no directory separator.
3516de7ed6e8Smrgas_myself=
3517de7ed6e8Smrgcase $0 in #((
351892bb16f8Smrg  *[\\/]* ) as_myself=$0 ;;
351992bb16f8Smrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
352092bb16f8Smrgfor as_dir in $PATH
352192bb16f8Smrgdo
352292bb16f8Smrg  IFS=$as_save_IFS
35233d13e800Smrg  case $as_dir in #(((
35243d13e800Smrg    '') as_dir=./ ;;
35253d13e800Smrg    */) ;;
35263d13e800Smrg    *) as_dir=$as_dir/ ;;
35273d13e800Smrg  esac
35283d13e800Smrg    test -r "$as_dir$0" && as_myself=$as_dir$0 && break
3529de7ed6e8Smrg  done
353092bb16f8SmrgIFS=$as_save_IFS
353192bb16f8Smrg
353292bb16f8Smrg     ;;
353392bb16f8Smrgesac
353492bb16f8Smrg# We did not find ourselves, most probably we were run as `sh COMMAND'
353592bb16f8Smrg# in which case we are not to be found in the path.
353692bb16f8Smrgif test "x$as_myself" = x; then
353792bb16f8Smrg  as_myself=$0
353892bb16f8Smrgfi
353992bb16f8Smrgif test ! -f "$as_myself"; then
35403d13e800Smrg  printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3541de7ed6e8Smrg  exit 1
354292bb16f8Smrgfi
354392bb16f8Smrg
3544de7ed6e8Smrg
3545de7ed6e8Smrg
3546de7ed6e8Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD]
3547de7ed6e8Smrg# ----------------------------------------
3548de7ed6e8Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3549de7ed6e8Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3550de7ed6e8Smrg# script with STATUS, using 1 if that was 0.
3551de7ed6e8Smrgas_fn_error ()
3552de7ed6e8Smrg{
3553de7ed6e8Smrg  as_status=$1; test $as_status -eq 0 && as_status=1
3554de7ed6e8Smrg  if test "$4"; then
3555de7ed6e8Smrg    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
35563d13e800Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3557de7ed6e8Smrg  fi
35583d13e800Smrg  printf "%s\n" "$as_me: error: $2" >&2
3559de7ed6e8Smrg  as_fn_exit $as_status
3560de7ed6e8Smrg} # as_fn_error
3561de7ed6e8Smrg
3562de7ed6e8Smrg
35633d13e800Smrg
3564de7ed6e8Smrg# as_fn_set_status STATUS
3565de7ed6e8Smrg# -----------------------
3566de7ed6e8Smrg# Set $? to STATUS, without forking.
3567de7ed6e8Smrgas_fn_set_status ()
3568de7ed6e8Smrg{
3569de7ed6e8Smrg  return $1
3570de7ed6e8Smrg} # as_fn_set_status
3571de7ed6e8Smrg
3572de7ed6e8Smrg# as_fn_exit STATUS
3573de7ed6e8Smrg# -----------------
3574de7ed6e8Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3575de7ed6e8Smrgas_fn_exit ()
3576de7ed6e8Smrg{
3577de7ed6e8Smrg  set +e
3578de7ed6e8Smrg  as_fn_set_status $1
3579de7ed6e8Smrg  exit $1
3580de7ed6e8Smrg} # as_fn_exit
3581de7ed6e8Smrg
3582de7ed6e8Smrg# as_fn_unset VAR
3583de7ed6e8Smrg# ---------------
3584de7ed6e8Smrg# Portably unset VAR.
3585de7ed6e8Smrgas_fn_unset ()
3586de7ed6e8Smrg{
3587de7ed6e8Smrg  { eval $1=; unset $1;}
3588de7ed6e8Smrg}
3589de7ed6e8Smrgas_unset=as_fn_unset
35903d13e800Smrg
3591de7ed6e8Smrg# as_fn_append VAR VALUE
3592de7ed6e8Smrg# ----------------------
3593de7ed6e8Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take
3594de7ed6e8Smrg# advantage of any shell optimizations that allow amortized linear growth over
3595de7ed6e8Smrg# repeated appends, instead of the typical quadratic growth present in naive
3596de7ed6e8Smrg# implementations.
35973d13e800Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
35983d13e800Smrgthen :
3599de7ed6e8Smrg  eval 'as_fn_append ()
3600de7ed6e8Smrg  {
3601de7ed6e8Smrg    eval $1+=\$2
3602de7ed6e8Smrg  }'
36033d13e800Smrgelse $as_nop
3604de7ed6e8Smrg  as_fn_append ()
3605de7ed6e8Smrg  {
3606de7ed6e8Smrg    eval $1=\$$1\$2
3607de7ed6e8Smrg  }
3608de7ed6e8Smrgfi # as_fn_append
3609de7ed6e8Smrg
3610de7ed6e8Smrg# as_fn_arith ARG...
3611de7ed6e8Smrg# ------------------
3612de7ed6e8Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the
3613de7ed6e8Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments
3614de7ed6e8Smrg# must be portable across $(()) and expr.
36153d13e800Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
36163d13e800Smrgthen :
3617de7ed6e8Smrg  eval 'as_fn_arith ()
3618de7ed6e8Smrg  {
3619de7ed6e8Smrg    as_val=$(( $* ))
3620de7ed6e8Smrg  }'
36213d13e800Smrgelse $as_nop
3622de7ed6e8Smrg  as_fn_arith ()
3623de7ed6e8Smrg  {
3624de7ed6e8Smrg    as_val=`expr "$@" || test $? -eq 1`
3625de7ed6e8Smrg  }
3626de7ed6e8Smrgfi # as_fn_arith
3627de7ed6e8Smrg
3628de7ed6e8Smrg
362992bb16f8Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
363092bb16f8Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
363192bb16f8Smrg  as_expr=expr
363292bb16f8Smrgelse
363392bb16f8Smrg  as_expr=false
363492bb16f8Smrgfi
363592bb16f8Smrg
363692bb16f8Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
363792bb16f8Smrg  as_basename=basename
363892bb16f8Smrgelse
363992bb16f8Smrg  as_basename=false
364092bb16f8Smrgfi
364192bb16f8Smrg
3642de7ed6e8Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3643de7ed6e8Smrg  as_dirname=dirname
3644de7ed6e8Smrgelse
3645de7ed6e8Smrg  as_dirname=false
3646de7ed6e8Smrgfi
364792bb16f8Smrg
364892bb16f8Smrgas_me=`$as_basename -- "$0" ||
364992bb16f8Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
365092bb16f8Smrg	 X"$0" : 'X\(//\)$' \| \
365192bb16f8Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
36523d13e800Smrgprintf "%s\n" X/"$0" |
365392bb16f8Smrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
365492bb16f8Smrg	    s//\1/
365592bb16f8Smrg	    q
365692bb16f8Smrg	  }
365792bb16f8Smrg	  /^X\/\(\/\/\)$/{
365892bb16f8Smrg	    s//\1/
365992bb16f8Smrg	    q
366092bb16f8Smrg	  }
366192bb16f8Smrg	  /^X\/\(\/\).*/{
366292bb16f8Smrg	    s//\1/
366392bb16f8Smrg	    q
366492bb16f8Smrg	  }
366592bb16f8Smrg	  s/.*/./; q'`
366692bb16f8Smrg
3667de7ed6e8Smrg# Avoid depending upon Character Ranges.
3668de7ed6e8Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
3669de7ed6e8Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3670de7ed6e8Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
3671de7ed6e8Smrgas_cr_digits='0123456789'
3672de7ed6e8Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits
367392bb16f8Smrg
36743d13e800Smrg
36753d13e800Smrg# Determine whether it's possible to make 'echo' print without a newline.
36763d13e800Smrg# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
36773d13e800Smrg# for compatibility with existing Makefiles.
367892bb16f8SmrgECHO_C= ECHO_N= ECHO_T=
3679de7ed6e8Smrgcase `echo -n x` in #(((((
368092bb16f8Smrg-n*)
3681de7ed6e8Smrg  case `echo 'xy\c'` in
368292bb16f8Smrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
3683de7ed6e8Smrg  xy)  ECHO_C='\c';;
3684de7ed6e8Smrg  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
3685de7ed6e8Smrg       ECHO_T='	';;
368692bb16f8Smrg  esac;;
368792bb16f8Smrg*)
368892bb16f8Smrg  ECHO_N='-n';;
368992bb16f8Smrgesac
369092bb16f8Smrg
36913d13e800Smrg# For backward compatibility with old third-party macros, we provide
36923d13e800Smrg# the shell variables $as_echo and $as_echo_n.  New code should use
36933d13e800Smrg# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
36943d13e800Smrgas_echo='printf %s\n'
36953d13e800Smrgas_echo_n='printf %s'
36963d13e800Smrg
369792bb16f8Smrgrm -f conf$$ conf$$.exe conf$$.file
369892bb16f8Smrgif test -d conf$$.dir; then
369992bb16f8Smrg  rm -f conf$$.dir/conf$$.file
370092bb16f8Smrgelse
370192bb16f8Smrg  rm -f conf$$.dir
37028255a313Smrg  mkdir conf$$.dir 2>/dev/null
37038255a313Smrgfi
37048255a313Smrgif (echo >conf$$.file) 2>/dev/null; then
37058255a313Smrg  if ln -s conf$$.file conf$$ 2>/dev/null; then
37068255a313Smrg    as_ln_s='ln -s'
37078255a313Smrg    # ... but there are two gotchas:
37088255a313Smrg    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
37098255a313Smrg    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
371001395c31Smrg    # In both cases, we have to default to `cp -pR'.
37118255a313Smrg    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
371201395c31Smrg      as_ln_s='cp -pR'
37138255a313Smrg  elif ln conf$$.file conf$$ 2>/dev/null; then
37148255a313Smrg    as_ln_s=ln
37158255a313Smrg  else
371601395c31Smrg    as_ln_s='cp -pR'
37178255a313Smrg  fi
371892bb16f8Smrgelse
371901395c31Smrg  as_ln_s='cp -pR'
372092bb16f8Smrgfi
372192bb16f8Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
372292bb16f8Smrgrmdir conf$$.dir 2>/dev/null
372392bb16f8Smrg
3724de7ed6e8Smrg
3725de7ed6e8Smrg# as_fn_mkdir_p
3726de7ed6e8Smrg# -------------
3727de7ed6e8Smrg# Create "$as_dir" as a directory, including parents if necessary.
3728de7ed6e8Smrgas_fn_mkdir_p ()
3729de7ed6e8Smrg{
3730de7ed6e8Smrg
3731de7ed6e8Smrg  case $as_dir in #(
3732de7ed6e8Smrg  -*) as_dir=./$as_dir;;
3733de7ed6e8Smrg  esac
3734de7ed6e8Smrg  test -d "$as_dir" || eval $as_mkdir_p || {
3735de7ed6e8Smrg    as_dirs=
3736de7ed6e8Smrg    while :; do
3737de7ed6e8Smrg      case $as_dir in #(
37383d13e800Smrg      *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3739de7ed6e8Smrg      *) as_qdir=$as_dir;;
3740de7ed6e8Smrg      esac
3741de7ed6e8Smrg      as_dirs="'$as_qdir' $as_dirs"
3742de7ed6e8Smrg      as_dir=`$as_dirname -- "$as_dir" ||
3743de7ed6e8Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3744de7ed6e8Smrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
3745de7ed6e8Smrg	 X"$as_dir" : 'X\(//\)$' \| \
3746de7ed6e8Smrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
37473d13e800Smrgprintf "%s\n" X"$as_dir" |
3748de7ed6e8Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3749de7ed6e8Smrg	    s//\1/
3750de7ed6e8Smrg	    q
3751de7ed6e8Smrg	  }
3752de7ed6e8Smrg	  /^X\(\/\/\)[^/].*/{
3753de7ed6e8Smrg	    s//\1/
3754de7ed6e8Smrg	    q
3755de7ed6e8Smrg	  }
3756de7ed6e8Smrg	  /^X\(\/\/\)$/{
3757de7ed6e8Smrg	    s//\1/
3758de7ed6e8Smrg	    q
3759de7ed6e8Smrg	  }
3760de7ed6e8Smrg	  /^X\(\/\).*/{
3761de7ed6e8Smrg	    s//\1/
3762de7ed6e8Smrg	    q
3763de7ed6e8Smrg	  }
3764de7ed6e8Smrg	  s/.*/./; q'`
3765de7ed6e8Smrg      test -d "$as_dir" && break
3766de7ed6e8Smrg    done
3767de7ed6e8Smrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
3768de7ed6e8Smrg  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3769de7ed6e8Smrg
3770de7ed6e8Smrg
3771de7ed6e8Smrg} # as_fn_mkdir_p
377292bb16f8Smrgif mkdir -p . 2>/dev/null; then
3773de7ed6e8Smrg  as_mkdir_p='mkdir -p "$as_dir"'
377492bb16f8Smrgelse
377592bb16f8Smrg  test -d ./-p && rmdir ./-p
377692bb16f8Smrg  as_mkdir_p=false
377792bb16f8Smrgfi
377892bb16f8Smrg
377901395c31Smrg
378001395c31Smrg# as_fn_executable_p FILE
378101395c31Smrg# -----------------------
378201395c31Smrg# Test if FILE is an executable regular file.
378301395c31Smrgas_fn_executable_p ()
378401395c31Smrg{
378501395c31Smrg  test -f "$1" && test -x "$1"
378601395c31Smrg} # as_fn_executable_p
378701395c31Smrgas_test_x='test -x'
378801395c31Smrgas_executable_p=as_fn_executable_p
378992bb16f8Smrg
379092bb16f8Smrg# Sed expression to map a string onto a valid CPP name.
379192bb16f8Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
379292bb16f8Smrg
379392bb16f8Smrg# Sed expression to map a string onto a valid variable name.
379492bb16f8Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
379592bb16f8Smrg
379692bb16f8Smrg
379792bb16f8Smrgexec 6>&1
3798de7ed6e8Smrg## ----------------------------------- ##
3799de7ed6e8Smrg## Main body of $CONFIG_STATUS script. ##
3800de7ed6e8Smrg## ----------------------------------- ##
3801de7ed6e8Smrg_ASEOF
3802de7ed6e8Smrgtest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
380392bb16f8Smrg
3804de7ed6e8Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3805de7ed6e8Smrg# Save the log message, to keep $0 and so on meaningful, and to
380692bb16f8Smrg# report actual input values of CONFIG_FILES etc. instead of their
380792bb16f8Smrg# values after options handling.
380892bb16f8Smrgac_log="
380922138c50SmrgThis file was extended by encodings $as_me 1.0.7, which was
38103d13e800Smrggenerated by GNU Autoconf 2.71.  Invocation command line was
381192bb16f8Smrg
381292bb16f8Smrg  CONFIG_FILES    = $CONFIG_FILES
381392bb16f8Smrg  CONFIG_HEADERS  = $CONFIG_HEADERS
381492bb16f8Smrg  CONFIG_LINKS    = $CONFIG_LINKS
381592bb16f8Smrg  CONFIG_COMMANDS = $CONFIG_COMMANDS
381692bb16f8Smrg  $ $0 $@
381792bb16f8Smrg
381892bb16f8Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q`
381992bb16f8Smrg"
382092bb16f8Smrg
382192bb16f8Smrg_ACEOF
382292bb16f8Smrg
38238255a313Smrgcase $ac_config_files in *"
38248255a313Smrg"*) set x $ac_config_files; shift; ac_config_files=$*;;
38258255a313Smrgesac
38268255a313Smrg
38278255a313Smrg
38288255a313Smrg
38298255a313Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
383092bb16f8Smrg# Files that config.status was made for.
383192bb16f8Smrgconfig_files="$ac_config_files"
383292bb16f8Smrg
383392bb16f8Smrg_ACEOF
383492bb16f8Smrg
38358255a313Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
383692bb16f8Smrgac_cs_usage="\
3837de7ed6e8Smrg\`$as_me' instantiates files and other configuration actions
3838de7ed6e8Smrgfrom templates according to the current configuration.  Unless the files
3839de7ed6e8Smrgand actions are specified as TAGs, all are instantiated by default.
384092bb16f8Smrg
3841de7ed6e8SmrgUsage: $0 [OPTION]... [TAG]...
384292bb16f8Smrg
384392bb16f8Smrg  -h, --help       print this help, then exit
38448255a313Smrg  -V, --version    print version number and configuration settings, then exit
3845de7ed6e8Smrg      --config     print configuration, then exit
38468255a313Smrg  -q, --quiet, --silent
38478255a313Smrg                   do not print progress messages
384892bb16f8Smrg  -d, --debug      don't remove temporary files
384992bb16f8Smrg      --recheck    update $as_me by reconfiguring in the same conditions
38508255a313Smrg      --file=FILE[:TEMPLATE]
38518255a313Smrg                   instantiate the configuration file FILE
385292bb16f8Smrg
385392bb16f8SmrgConfiguration files:
385492bb16f8Smrg$config_files
385592bb16f8Smrg
385622138c50SmrgReport bugs to <https://gitlab.freedesktop.org/xorg/font/encodings/-/issues>."
385792bb16f8Smrg
385892bb16f8Smrg_ACEOF
38593d13e800Smrgac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
38603d13e800Smrgac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
38618255a313Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
38623d13e800Smrgac_cs_config='$ac_cs_config_escaped'
386392bb16f8Smrgac_cs_version="\\
386422138c50Smrgencodings config.status 1.0.7
38653d13e800Smrgconfigured by $0, generated by GNU Autoconf 2.71,
3866de7ed6e8Smrg  with options \\"\$ac_cs_config\\"
386792bb16f8Smrg
38683d13e800SmrgCopyright (C) 2021 Free Software Foundation, Inc.
386992bb16f8SmrgThis config.status script is free software; the Free Software Foundation
387092bb16f8Smrggives unlimited permission to copy, distribute and modify it."
387192bb16f8Smrg
387292bb16f8Smrgac_pwd='$ac_pwd'
387392bb16f8Smrgsrcdir='$srcdir'
387492bb16f8SmrgINSTALL='$INSTALL'
38758255a313SmrgMKDIR_P='$MKDIR_P'
38768255a313SmrgAWK='$AWK'
38778255a313Smrgtest -n "\$AWK" || AWK=awk
387892bb16f8Smrg_ACEOF
387992bb16f8Smrg
38808255a313Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
38818255a313Smrg# The default lists apply if the user does not specify any file.
388292bb16f8Smrgac_need_defaults=:
388392bb16f8Smrgwhile test $# != 0
388492bb16f8Smrgdo
388592bb16f8Smrg  case $1 in
3886de7ed6e8Smrg  --*=?*)
388792bb16f8Smrg    ac_option=`expr "X$1" : 'X\([^=]*\)='`
388892bb16f8Smrg    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
388992bb16f8Smrg    ac_shift=:
389092bb16f8Smrg    ;;
3891de7ed6e8Smrg  --*=)
3892de7ed6e8Smrg    ac_option=`expr "X$1" : 'X\([^=]*\)='`
3893de7ed6e8Smrg    ac_optarg=
3894de7ed6e8Smrg    ac_shift=:
3895de7ed6e8Smrg    ;;
389692bb16f8Smrg  *)
389792bb16f8Smrg    ac_option=$1
389892bb16f8Smrg    ac_optarg=$2
389992bb16f8Smrg    ac_shift=shift
390092bb16f8Smrg    ;;
390192bb16f8Smrg  esac
390292bb16f8Smrg
390392bb16f8Smrg  case $ac_option in
390492bb16f8Smrg  # Handling of the options.
390592bb16f8Smrg  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
390692bb16f8Smrg    ac_cs_recheck=: ;;
390792bb16f8Smrg  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
39083d13e800Smrg    printf "%s\n" "$ac_cs_version"; exit ;;
3909de7ed6e8Smrg  --config | --confi | --conf | --con | --co | --c )
39103d13e800Smrg    printf "%s\n" "$ac_cs_config"; exit ;;
391192bb16f8Smrg  --debug | --debu | --deb | --de | --d | -d )
391292bb16f8Smrg    debug=: ;;
391392bb16f8Smrg  --file | --fil | --fi | --f )
391492bb16f8Smrg    $ac_shift
39158255a313Smrg    case $ac_optarg in
39163d13e800Smrg    *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3917de7ed6e8Smrg    '') as_fn_error $? "missing file argument" ;;
39188255a313Smrg    esac
3919de7ed6e8Smrg    as_fn_append CONFIG_FILES " '$ac_optarg'"
392092bb16f8Smrg    ac_need_defaults=false;;
392192bb16f8Smrg  --he | --h |  --help | --hel | -h )
39223d13e800Smrg    printf "%s\n" "$ac_cs_usage"; exit ;;
392392bb16f8Smrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
392492bb16f8Smrg  | -silent | --silent | --silen | --sile | --sil | --si | --s)
392592bb16f8Smrg    ac_cs_silent=: ;;
392692bb16f8Smrg
392792bb16f8Smrg  # This is an error.
3928de7ed6e8Smrg  -*) as_fn_error $? "unrecognized option: \`$1'
3929de7ed6e8SmrgTry \`$0 --help' for more information." ;;
393092bb16f8Smrg
3931de7ed6e8Smrg  *) as_fn_append ac_config_targets " $1"
393292bb16f8Smrg     ac_need_defaults=false ;;
393392bb16f8Smrg
393492bb16f8Smrg  esac
393592bb16f8Smrg  shift
393692bb16f8Smrgdone
393792bb16f8Smrg
393892bb16f8Smrgac_configure_extra_args=
393992bb16f8Smrg
394092bb16f8Smrgif $ac_cs_silent; then
394192bb16f8Smrg  exec 6>/dev/null
394292bb16f8Smrg  ac_configure_extra_args="$ac_configure_extra_args --silent"
394392bb16f8Smrgfi
394492bb16f8Smrg
394592bb16f8Smrg_ACEOF
39468255a313Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
394792bb16f8Smrgif \$ac_cs_recheck; then
394801395c31Smrg  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
39498255a313Smrg  shift
39503d13e800Smrg  \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
39518255a313Smrg  CONFIG_SHELL='$SHELL'
395292bb16f8Smrg  export CONFIG_SHELL
39538255a313Smrg  exec "\$@"
395492bb16f8Smrgfi
395592bb16f8Smrg
395692bb16f8Smrg_ACEOF
39578255a313Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
395892bb16f8Smrgexec 5>>config.log
395992bb16f8Smrg{
396092bb16f8Smrg  echo
396192bb16f8Smrg  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
396292bb16f8Smrg## Running $as_me. ##
396392bb16f8Smrg_ASBOX
39643d13e800Smrg  printf "%s\n" "$ac_log"
396592bb16f8Smrg} >&5
396692bb16f8Smrg
396792bb16f8Smrg_ACEOF
39688255a313Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
396992bb16f8Smrg_ACEOF
397092bb16f8Smrg
39718255a313Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
397292bb16f8Smrg
397392bb16f8Smrg# Handling of arguments.
397492bb16f8Smrgfor ac_config_target in $ac_config_targets
397592bb16f8Smrgdo
397692bb16f8Smrg  case $ac_config_target in
397792bb16f8Smrg    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
397892bb16f8Smrg    "large/Makefile") CONFIG_FILES="$CONFIG_FILES large/Makefile" ;;
397992bb16f8Smrg
3980de7ed6e8Smrg  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
398192bb16f8Smrg  esac
398292bb16f8Smrgdone
398392bb16f8Smrg
398492bb16f8Smrg
398592bb16f8Smrg# If the user did not use the arguments to specify the items to instantiate,
398692bb16f8Smrg# then the envvar interface is used.  Set only those that are not.
398792bb16f8Smrg# We use the long form for the default assignment because of an extremely
398892bb16f8Smrg# bizarre bug on SunOS 4.1.3.
398992bb16f8Smrgif $ac_need_defaults; then
39903d13e800Smrg  test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
399192bb16f8Smrgfi
399292bb16f8Smrg
399392bb16f8Smrg# Have a temporary directory for convenience.  Make it in the build tree
399492bb16f8Smrg# simply because there is no reason against having it here, and in addition,
399592bb16f8Smrg# creating and moving files from /tmp can sometimes cause problems.
399692bb16f8Smrg# Hook for its removal unless debugging.
399792bb16f8Smrg# Note that there is a small window in which the directory will not be cleaned:
399892bb16f8Smrg# after its creation but before its name has been assigned to `$tmp'.
399992bb16f8Smrg$debug ||
400092bb16f8Smrg{
4001de7ed6e8Smrg  tmp= ac_tmp=
400292bb16f8Smrg  trap 'exit_status=$?
4003de7ed6e8Smrg  : "${ac_tmp:=$tmp}"
4004de7ed6e8Smrg  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
400592bb16f8Smrg' 0
4006de7ed6e8Smrg  trap 'as_fn_exit 1' 1 2 13 15
400792bb16f8Smrg}
400892bb16f8Smrg# Create a (secure) tmp directory for tmp files.
400992bb16f8Smrg
401092bb16f8Smrg{
401192bb16f8Smrg  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4012de7ed6e8Smrg  test -d "$tmp"
401392bb16f8Smrg}  ||
401492bb16f8Smrg{
401592bb16f8Smrg  tmp=./conf$$-$RANDOM
401692bb16f8Smrg  (umask 077 && mkdir "$tmp")
4017de7ed6e8Smrg} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4018de7ed6e8Smrgac_tmp=$tmp
401992bb16f8Smrg
40208255a313Smrg# Set up the scripts for CONFIG_FILES section.
40218255a313Smrg# No need to generate them if there are no CONFIG_FILES.
40228255a313Smrg# This happens for instance with `./config.status config.h'.
402392bb16f8Smrgif test -n "$CONFIG_FILES"; then
402492bb16f8Smrg
402592bb16f8Smrg
4026de7ed6e8Smrgac_cr=`echo X | tr X '\015'`
4027de7ed6e8Smrg# On cygwin, bash can eat \r inside `` if the user requested igncr.
4028de7ed6e8Smrg# But we know of no other shell where ac_cr would be empty at this
4029de7ed6e8Smrg# point, so we can use a bashism as a fallback.
4030de7ed6e8Smrgif test "x$ac_cr" = x; then
4031de7ed6e8Smrg  eval ac_cr=\$\'\\r\'
4032de7ed6e8Smrgfi
40338255a313Smrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
40348255a313Smrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
40358255a313Smrg  ac_cs_awk_cr='\\r'
40368255a313Smrgelse
40378255a313Smrg  ac_cs_awk_cr=$ac_cr
40388255a313Smrgfi
40398255a313Smrg
4040de7ed6e8Smrgecho 'BEGIN {' >"$ac_tmp/subs1.awk" &&
40418255a313Smrg_ACEOF
404292bb16f8Smrg
404392bb16f8Smrg
40448255a313Smrg{
40458255a313Smrg  echo "cat >conf$$subs.awk <<_ACEOF" &&
40468255a313Smrg  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
40478255a313Smrg  echo "_ACEOF"
40488255a313Smrg} >conf$$subs.sh ||
4049de7ed6e8Smrg  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4050de7ed6e8Smrgac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
405192bb16f8Smrgac_delim='%!_!# '
405292bb16f8Smrgfor ac_last_try in false false false false false :; do
40538255a313Smrg  . ./conf$$subs.sh ||
4054de7ed6e8Smrg    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
40558255a313Smrg
40568255a313Smrg  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
40578255a313Smrg  if test $ac_delim_n = $ac_delim_num; then
405892bb16f8Smrg    break
405992bb16f8Smrg  elif $ac_last_try; then
4060de7ed6e8Smrg    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
406192bb16f8Smrg  else
406292bb16f8Smrg    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
406392bb16f8Smrg  fi
406492bb16f8Smrgdone
40658255a313Smrgrm -f conf$$subs.sh
406692bb16f8Smrg
40678255a313Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4068de7ed6e8Smrgcat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
40698255a313Smrg_ACEOF
40708255a313Smrgsed -n '
40718255a313Smrgh
40728255a313Smrgs/^/S["/; s/!.*/"]=/
40738255a313Smrgp
40748255a313Smrgg
40758255a313Smrgs/^[^!]*!//
40768255a313Smrg:repl
40778255a313Smrgt repl
40788255a313Smrgs/'"$ac_delim"'$//
40798255a313Smrgt delim
40808255a313Smrg:nl
40818255a313Smrgh
4082de7ed6e8Smrgs/\(.\{148\}\)..*/\1/
40838255a313Smrgt more1
40848255a313Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
40858255a313Smrgp
40868255a313Smrgn
40878255a313Smrgb repl
40888255a313Smrg:more1
40898255a313Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/
40908255a313Smrgp
40918255a313Smrgg
40928255a313Smrgs/.\{148\}//
40938255a313Smrgt nl
40948255a313Smrg:delim
40958255a313Smrgh
4096de7ed6e8Smrgs/\(.\{148\}\)..*/\1/
40978255a313Smrgt more2
40988255a313Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/
40998255a313Smrgp
41008255a313Smrgb
41018255a313Smrg:more2
41028255a313Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/
41038255a313Smrgp
41048255a313Smrgg
41058255a313Smrgs/.\{148\}//
41068255a313Smrgt delim
41078255a313Smrg' <conf$$subs.awk | sed '
41088255a313Smrg/^[^""]/{
41098255a313Smrg  N
41108255a313Smrg  s/\n//
41118255a313Smrg}
41128255a313Smrg' >>$CONFIG_STATUS || ac_write_fail=1
41138255a313Smrgrm -f conf$$subs.awk
41148255a313Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41158255a313Smrg_ACAWK
4116de7ed6e8Smrgcat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
41178255a313Smrg  for (key in S) S_is_set[key] = 1
41188255a313Smrg  FS = ""
41198255a313Smrg
41208255a313Smrg}
41218255a313Smrg{
41228255a313Smrg  line = $ 0
41238255a313Smrg  nfields = split(line, field, "@")
41248255a313Smrg  substed = 0
41258255a313Smrg  len = length(field[1])
41268255a313Smrg  for (i = 2; i < nfields; i++) {
41278255a313Smrg    key = field[i]
41288255a313Smrg    keylen = length(key)
41298255a313Smrg    if (S_is_set[key]) {
41308255a313Smrg      value = S[key]
41318255a313Smrg      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
41328255a313Smrg      len += length(value) + length(field[++i])
41338255a313Smrg      substed = 1
41348255a313Smrg    } else
41358255a313Smrg      len += 1 + keylen
41368255a313Smrg  }
41378255a313Smrg
41388255a313Smrg  print line
41398255a313Smrg}
414092bb16f8Smrg
41418255a313Smrg_ACAWK
414292bb16f8Smrg_ACEOF
41438255a313Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41448255a313Smrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
41458255a313Smrg  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
41468255a313Smrgelse
41478255a313Smrg  cat
4148de7ed6e8Smrgfi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4149de7ed6e8Smrg  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
415092bb16f8Smrg_ACEOF
415192bb16f8Smrg
4152de7ed6e8Smrg# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4153de7ed6e8Smrg# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
415492bb16f8Smrg# trailing colons and then remove the whole line if VPATH becomes empty
415592bb16f8Smrg# (actually we leave an empty line to preserve line numbers).
415692bb16f8Smrgif test "x$srcdir" = x.; then
4157de7ed6e8Smrg  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
4158de7ed6e8Smrgh
4159de7ed6e8Smrgs///
4160de7ed6e8Smrgs/^/:/
4161de7ed6e8Smrgs/[	 ]*$/:/
4162de7ed6e8Smrgs/:\$(srcdir):/:/g
4163de7ed6e8Smrgs/:\${srcdir}:/:/g
4164de7ed6e8Smrgs/:@srcdir@:/:/g
4165de7ed6e8Smrgs/^:*//
416692bb16f8Smrgs/:*$//
4167de7ed6e8Smrgx
4168de7ed6e8Smrgs/\(=[	 ]*\).*/\1/
4169de7ed6e8SmrgG
4170de7ed6e8Smrgs/\n//
417192bb16f8Smrgs/^[^=]*=[	 ]*$//
417292bb16f8Smrg}'
417392bb16f8Smrgfi
417492bb16f8Smrg
41758255a313Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
417692bb16f8Smrgfi # test -n "$CONFIG_FILES"
417792bb16f8Smrg
417892bb16f8Smrg
417922138c50Smrgeval set X "  :F $CONFIG_FILES      "
41808255a313Smrgshift
41818255a313Smrgfor ac_tag
418292bb16f8Smrgdo
418392bb16f8Smrg  case $ac_tag in
418492bb16f8Smrg  :[FHLC]) ac_mode=$ac_tag; continue;;
418592bb16f8Smrg  esac
418692bb16f8Smrg  case $ac_mode$ac_tag in
418792bb16f8Smrg  :[FHL]*:*);;
4188de7ed6e8Smrg  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
418992bb16f8Smrg  :[FH]-) ac_tag=-:-;;
419092bb16f8Smrg  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
419192bb16f8Smrg  esac
419292bb16f8Smrg  ac_save_IFS=$IFS
419392bb16f8Smrg  IFS=:
419492bb16f8Smrg  set x $ac_tag
419592bb16f8Smrg  IFS=$ac_save_IFS
419692bb16f8Smrg  shift
419792bb16f8Smrg  ac_file=$1
419892bb16f8Smrg  shift
419992bb16f8Smrg
420092bb16f8Smrg  case $ac_mode in
420192bb16f8Smrg  :L) ac_source=$1;;
420292bb16f8Smrg  :[FH])
420392bb16f8Smrg    ac_file_inputs=
420492bb16f8Smrg    for ac_f
420592bb16f8Smrg    do
420692bb16f8Smrg      case $ac_f in
4207de7ed6e8Smrg      -) ac_f="$ac_tmp/stdin";;
420892bb16f8Smrg      *) # Look for the file first in the build tree, then in the source tree
420992bb16f8Smrg	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
421092bb16f8Smrg	 # because $ac_f cannot contain `:'.
421192bb16f8Smrg	 test -f "$ac_f" ||
421292bb16f8Smrg	   case $ac_f in
421392bb16f8Smrg	   [\\/$]*) false;;
421492bb16f8Smrg	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
421592bb16f8Smrg	   esac ||
4216de7ed6e8Smrg	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
421792bb16f8Smrg      esac
42183d13e800Smrg      case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4219de7ed6e8Smrg      as_fn_append ac_file_inputs " '$ac_f'"
422092bb16f8Smrg    done
422192bb16f8Smrg
422292bb16f8Smrg    # Let's still pretend it is `configure' which instantiates (i.e., don't
422392bb16f8Smrg    # use $as_me), people would be surprised to read:
422492bb16f8Smrg    #    /* config.h.  Generated by config.status.  */
42258255a313Smrg    configure_input='Generated from '`
42263d13e800Smrg	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
42278255a313Smrg	`' by configure.'
422892bb16f8Smrg    if test x"$ac_file" != x-; then
422992bb16f8Smrg      configure_input="$ac_file.  $configure_input"
42303d13e800Smrg      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
42313d13e800Smrgprintf "%s\n" "$as_me: creating $ac_file" >&6;}
423292bb16f8Smrg    fi
42338255a313Smrg    # Neutralize special characters interpreted by sed in replacement strings.
42348255a313Smrg    case $configure_input in #(
42358255a313Smrg    *\&* | *\|* | *\\* )
42363d13e800Smrg       ac_sed_conf_input=`printf "%s\n" "$configure_input" |
42378255a313Smrg       sed 's/[\\\\&|]/\\\\&/g'`;; #(
42388255a313Smrg    *) ac_sed_conf_input=$configure_input;;
42398255a313Smrg    esac
424092bb16f8Smrg
424192bb16f8Smrg    case $ac_tag in
4242de7ed6e8Smrg    *:-:* | *:-) cat >"$ac_tmp/stdin" \
4243de7ed6e8Smrg      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
424492bb16f8Smrg    esac
424592bb16f8Smrg    ;;
424692bb16f8Smrg  esac
424792bb16f8Smrg
424892bb16f8Smrg  ac_dir=`$as_dirname -- "$ac_file" ||
424992bb16f8Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
425092bb16f8Smrg	 X"$ac_file" : 'X\(//\)[^/]' \| \
425192bb16f8Smrg	 X"$ac_file" : 'X\(//\)$' \| \
425292bb16f8Smrg	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
42533d13e800Smrgprintf "%s\n" X"$ac_file" |
425492bb16f8Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
425592bb16f8Smrg	    s//\1/
425692bb16f8Smrg	    q
425792bb16f8Smrg	  }
425892bb16f8Smrg	  /^X\(\/\/\)[^/].*/{
425992bb16f8Smrg	    s//\1/
426092bb16f8Smrg	    q
426192bb16f8Smrg	  }
426292bb16f8Smrg	  /^X\(\/\/\)$/{
426392bb16f8Smrg	    s//\1/
426492bb16f8Smrg	    q
426592bb16f8Smrg	  }
426692bb16f8Smrg	  /^X\(\/\).*/{
426792bb16f8Smrg	    s//\1/
426892bb16f8Smrg	    q
426992bb16f8Smrg	  }
427092bb16f8Smrg	  s/.*/./; q'`
4271de7ed6e8Smrg  as_dir="$ac_dir"; as_fn_mkdir_p
427292bb16f8Smrg  ac_builddir=.
427392bb16f8Smrg
427492bb16f8Smrgcase "$ac_dir" in
427592bb16f8Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
427692bb16f8Smrg*)
42773d13e800Smrg  ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
427892bb16f8Smrg  # A ".." for each directory in $ac_dir_suffix.
42793d13e800Smrg  ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
428092bb16f8Smrg  case $ac_top_builddir_sub in
428192bb16f8Smrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
428292bb16f8Smrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
428392bb16f8Smrg  esac ;;
428492bb16f8Smrgesac
428592bb16f8Smrgac_abs_top_builddir=$ac_pwd
428692bb16f8Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix
428792bb16f8Smrg# for backward compatibility:
428892bb16f8Smrgac_top_builddir=$ac_top_build_prefix
428992bb16f8Smrg
429092bb16f8Smrgcase $srcdir in
429192bb16f8Smrg  .)  # We are building in place.
429292bb16f8Smrg    ac_srcdir=.
429392bb16f8Smrg    ac_top_srcdir=$ac_top_builddir_sub
429492bb16f8Smrg    ac_abs_top_srcdir=$ac_pwd ;;
429592bb16f8Smrg  [\\/]* | ?:[\\/]* )  # Absolute name.
429692bb16f8Smrg    ac_srcdir=$srcdir$ac_dir_suffix;
429792bb16f8Smrg    ac_top_srcdir=$srcdir
429892bb16f8Smrg    ac_abs_top_srcdir=$srcdir ;;
429992bb16f8Smrg  *) # Relative name.
430092bb16f8Smrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
430192bb16f8Smrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
430292bb16f8Smrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
430392bb16f8Smrgesac
430492bb16f8Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
430592bb16f8Smrg
430692bb16f8Smrg
430792bb16f8Smrg  case $ac_mode in
430892bb16f8Smrg  :F)
430992bb16f8Smrg  #
431092bb16f8Smrg  # CONFIG_FILE
431192bb16f8Smrg  #
431292bb16f8Smrg
431392bb16f8Smrg  case $INSTALL in
431492bb16f8Smrg  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
431592bb16f8Smrg  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
431692bb16f8Smrg  esac
43178255a313Smrg  ac_MKDIR_P=$MKDIR_P
43188255a313Smrg  case $MKDIR_P in
43198255a313Smrg  [\\/$]* | ?:[\\/]* ) ;;
43208255a313Smrg  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
43218255a313Smrg  esac
432292bb16f8Smrg_ACEOF
432392bb16f8Smrg
43248255a313Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
432592bb16f8Smrg# If the template does not know about datarootdir, expand it.
432692bb16f8Smrg# FIXME: This hack should be removed a few years after 2.60.
432792bb16f8Smrgac_datarootdir_hack=; ac_datarootdir_seen=
43288255a313Smrgac_sed_dataroot='
43298255a313Smrg/datarootdir/ {
433092bb16f8Smrg  p
433192bb16f8Smrg  q
433292bb16f8Smrg}
433392bb16f8Smrg/@datadir@/p
433492bb16f8Smrg/@docdir@/p
433592bb16f8Smrg/@infodir@/p
433692bb16f8Smrg/@localedir@/p
4337de7ed6e8Smrg/@mandir@/p'
43388255a313Smrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
433992bb16f8Smrg*datarootdir*) ac_datarootdir_seen=yes;;
434092bb16f8Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
43413d13e800Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
43423d13e800Smrgprintf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
434392bb16f8Smrg_ACEOF
43448255a313Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
434592bb16f8Smrg  ac_datarootdir_hack='
434692bb16f8Smrg  s&@datadir@&$datadir&g
434792bb16f8Smrg  s&@docdir@&$docdir&g
434892bb16f8Smrg  s&@infodir@&$infodir&g
434992bb16f8Smrg  s&@localedir@&$localedir&g
435092bb16f8Smrg  s&@mandir@&$mandir&g
4351de7ed6e8Smrg  s&\\\${datarootdir}&$datarootdir&g' ;;
435292bb16f8Smrgesac
435392bb16f8Smrg_ACEOF
435492bb16f8Smrg
435592bb16f8Smrg# Neutralize VPATH when `$srcdir' = `.'.
435692bb16f8Smrg# Shell code in configure.ac might set extrasub.
435792bb16f8Smrg# FIXME: do we really want to maintain this feature?
43588255a313Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
43598255a313Smrgac_sed_extra="$ac_vpsub
436092bb16f8Smrg$extrasub
436192bb16f8Smrg_ACEOF
43628255a313Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
436392bb16f8Smrg:t
436492bb16f8Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
43658255a313Smrgs|@configure_input@|$ac_sed_conf_input|;t t
436692bb16f8Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t
43678255a313Smrgs&@top_build_prefix@&$ac_top_build_prefix&;t t
436892bb16f8Smrgs&@srcdir@&$ac_srcdir&;t t
436992bb16f8Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t
437092bb16f8Smrgs&@top_srcdir@&$ac_top_srcdir&;t t
437192bb16f8Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
437292bb16f8Smrgs&@builddir@&$ac_builddir&;t t
437392bb16f8Smrgs&@abs_builddir@&$ac_abs_builddir&;t t
437492bb16f8Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t
437592bb16f8Smrgs&@INSTALL@&$ac_INSTALL&;t t
43768255a313Smrgs&@MKDIR_P@&$ac_MKDIR_P&;t t
437792bb16f8Smrg$ac_datarootdir_hack
43788255a313Smrg"
4379de7ed6e8Smrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4380de7ed6e8Smrg  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
438192bb16f8Smrg
438292bb16f8Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4383de7ed6e8Smrg  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4384de7ed6e8Smrg  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
4385de7ed6e8Smrg      "$ac_tmp/out"`; test -z "$ac_out"; } &&
43863d13e800Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4387de7ed6e8Smrgwhich seems to be undefined.  Please make sure it is defined" >&5
43883d13e800Smrgprintf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4389de7ed6e8Smrgwhich seems to be undefined.  Please make sure it is defined" >&2;}
439092bb16f8Smrg
4391de7ed6e8Smrg  rm -f "$ac_tmp/stdin"
439292bb16f8Smrg  case $ac_file in
4393de7ed6e8Smrg  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4394de7ed6e8Smrg  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
43958255a313Smrg  esac \
4396de7ed6e8Smrg  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
439792bb16f8Smrg ;;
439892bb16f8Smrg
439992bb16f8Smrg
440092bb16f8Smrg
44018255a313Smrg  esac
440222138c50Smrg
440392bb16f8Smrgdone # for ac_tag
440492bb16f8Smrg
440592bb16f8Smrg
4406de7ed6e8Smrgas_fn_exit 0
440792bb16f8Smrg_ACEOF
440892bb16f8Smrgac_clean_files=$ac_clean_files_save
440992bb16f8Smrg
44108255a313Smrgtest $ac_write_fail = 0 ||
4411de7ed6e8Smrg  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
44128255a313Smrg
441392bb16f8Smrg
441492bb16f8Smrg# configure is writing to config.log, and then calls config.status.
441592bb16f8Smrg# config.status does its own redirection, appending to config.log.
441692bb16f8Smrg# Unfortunately, on DOS this fails, as config.log is still kept open
441792bb16f8Smrg# by configure, so config.status won't be able to write to it; its
441892bb16f8Smrg# output is simply discarded.  So we exec the FD to /dev/null,
441992bb16f8Smrg# effectively closing config.log, so it can be properly (re)opened and
442092bb16f8Smrg# appended to by config.status.  When coming back to configure, we
442192bb16f8Smrg# need to make the FD available again.
442292bb16f8Smrgif test "$no_create" != yes; then
442392bb16f8Smrg  ac_cs_success=:
442492bb16f8Smrg  ac_config_status_args=
442592bb16f8Smrg  test "$silent" = yes &&
442692bb16f8Smrg    ac_config_status_args="$ac_config_status_args --quiet"
442792bb16f8Smrg  exec 5>/dev/null
442892bb16f8Smrg  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
442992bb16f8Smrg  exec 5>>config.log
443092bb16f8Smrg  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
443192bb16f8Smrg  # would make configure fail if this is the last instruction.
4432de7ed6e8Smrg  $ac_cs_success || as_fn_exit 1
443392bb16f8Smrgfi
44348255a313Smrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
44353d13e800Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
44363d13e800Smrgprintf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
44378255a313Smrgfi
443892bb16f8Smrg
44393d13e800Smrg
4440