1335e815aSmrg#! /bin/sh
2335e815aSmrg# Guess values for system-dependent variables and create Makefiles.
30cfee914Smrg# Generated by GNU Autoconf 2.71 for font-misc-misc 1.1.3.
4335e815aSmrg#
50cfee914Smrg# Report bugs to <https://gitlab.freedesktop.org/xorg/font/misc-misc/-/issues>.
6335e815aSmrg#
7cf8f59bfSmrg#
80cfee914Smrg# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
90cfee914Smrg# Inc.
10cf8f59bfSmrg#
11cf8f59bfSmrg#
12335e815aSmrg# This configure script is free software; the Free Software Foundation
13335e815aSmrg# gives unlimited permission to copy, distribute and modify it.
14cf8f59bfSmrg## -------------------- ##
15cf8f59bfSmrg## M4sh Initialization. ##
16cf8f59bfSmrg## -------------------- ##
17335e815aSmrg
18f4959950Smrg# Be more Bourne compatible
19f4959950SmrgDUALCASE=1; export DUALCASE # for MKS sh
200cfee914Smrgas_nop=:
210cfee914Smrgif test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
220cfee914Smrgthen :
23335e815aSmrg  emulate sh
24335e815aSmrg  NULLCMD=:
25f4959950Smrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26335e815aSmrg  # is contrary to our usage.  Disable this feature.
27335e815aSmrg  alias -g '${1+"$@"}'='"$@"'
28f4959950Smrg  setopt NO_GLOB_SUBST
290cfee914Smrgelse $as_nop
30cf8f59bfSmrg  case `(set -o) 2>/dev/null` in #(
31cf8f59bfSmrg  *posix*) :
32cf8f59bfSmrg    set -o posix ;; #(
33cf8f59bfSmrg  *) :
34cf8f59bfSmrg     ;;
35f4959950Smrgesac
36f4959950Smrgfi
37f4959950Smrg
38f4959950Smrg
390cfee914Smrg
400cfee914Smrg# Reset variables that may have inherited troublesome values from
410cfee914Smrg# the environment.
420cfee914Smrg
430cfee914Smrg# IFS needs to be set, to space, tab, and newline, in precisely that order.
440cfee914Smrg# (If _AS_PATH_WALK were called with IFS unset, it would have the
450cfee914Smrg# side effect of setting IFS to empty, thus disabling word splitting.)
460cfee914Smrg# Quoting is to prevent editors from complaining about space-tab.
47f4959950Smrgas_nl='
48f4959950Smrg'
49f4959950Smrgexport as_nl
500cfee914SmrgIFS=" ""	$as_nl"
510cfee914Smrg
520cfee914SmrgPS1='$ '
530cfee914SmrgPS2='> '
540cfee914SmrgPS4='+ '
550cfee914Smrg
560cfee914Smrg# Ensure predictable behavior from utilities with locale-dependent output.
570cfee914SmrgLC_ALL=C
580cfee914Smrgexport LC_ALL
590cfee914SmrgLANGUAGE=C
600cfee914Smrgexport LANGUAGE
610cfee914Smrg
620cfee914Smrg# We cannot yet rely on "unset" to work, but we need these variables
630cfee914Smrg# to be unset--not just set to an empty or harmless value--now, to
640cfee914Smrg# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
650cfee914Smrg# also avoids known problems related to "unset" and subshell syntax
660cfee914Smrg# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
670cfee914Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
680cfee914Smrgdo eval test \${$as_var+y} \
690cfee914Smrg  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
700cfee914Smrgdone
710cfee914Smrg
720cfee914Smrg# Ensure that fds 0, 1, and 2 are open.
730cfee914Smrgif (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
740cfee914Smrgif (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
750cfee914Smrgif (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
76f4959950Smrg
77f4959950Smrg# The user is always right.
780cfee914Smrgif ${PATH_SEPARATOR+false} :; then
79f4959950Smrg  PATH_SEPARATOR=:
80f4959950Smrg  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81f4959950Smrg    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82f4959950Smrg      PATH_SEPARATOR=';'
83f4959950Smrg  }
84335e815aSmrgfi
85335e815aSmrg
86335e815aSmrg
87f4959950Smrg# Find who we are.  Look in the path if we contain no directory separator.
88cf8f59bfSmrgas_myself=
89cf8f59bfSmrgcase $0 in #((
90f4959950Smrg  *[\\/]* ) as_myself=$0 ;;
91f4959950Smrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92f4959950Smrgfor as_dir in $PATH
93f4959950Smrgdo
94f4959950Smrg  IFS=$as_save_IFS
950cfee914Smrg  case $as_dir in #(((
960cfee914Smrg    '') as_dir=./ ;;
970cfee914Smrg    */) ;;
980cfee914Smrg    *) as_dir=$as_dir/ ;;
990cfee914Smrg  esac
1000cfee914Smrg    test -r "$as_dir$0" && as_myself=$as_dir$0 && break
101cf8f59bfSmrg  done
102f4959950SmrgIFS=$as_save_IFS
103f4959950Smrg
104f4959950Smrg     ;;
105f4959950Smrgesac
106f4959950Smrg# We did not find ourselves, most probably we were run as `sh COMMAND'
107f4959950Smrg# in which case we are not to be found in the path.
108f4959950Smrgif test "x$as_myself" = x; then
109f4959950Smrg  as_myself=$0
110f4959950Smrgfi
111f4959950Smrgif test ! -f "$as_myself"; then
1120cfee914Smrg  printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113cf8f59bfSmrg  exit 1
114f4959950Smrgfi
115f4959950Smrg
116cf8f59bfSmrg
1170cfee914Smrg# Use a proper internal environment variable to ensure we don't fall
1180cfee914Smrg  # into an infinite loop, continuously re-executing ourselves.
1190cfee914Smrg  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
1200cfee914Smrg    _as_can_reexec=no; export _as_can_reexec;
1210cfee914Smrg    # We cannot yet assume a decent shell, so we have to provide a
1220cfee914Smrg# neutralization value for shells without unset; and this also
1230cfee914Smrg# works around shells that cannot unset nonexistent variables.
1240cfee914Smrg# Preserve -v and -x to the replacement shell.
1250cfee914SmrgBASH_ENV=/dev/null
1260cfee914SmrgENV=/dev/null
1270cfee914Smrg(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
1280cfee914Smrgcase $- in # ((((
1290cfee914Smrg  *v*x* | *x*v* ) as_opts=-vx ;;
1300cfee914Smrg  *v* ) as_opts=-v ;;
1310cfee914Smrg  *x* ) as_opts=-x ;;
1320cfee914Smrg  * ) as_opts= ;;
1330cfee914Smrgesac
1340cfee914Smrgexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
1350cfee914Smrg# Admittedly, this is quite paranoid, since all the known shells bail
1360cfee914Smrg# out after a failed `exec'.
1370cfee914Smrgprintf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
1380cfee914Smrgexit 255
1390cfee914Smrg  fi
1400cfee914Smrg  # We don't want this to propagate to other subprocesses.
1410cfee914Smrg          { _as_can_reexec=; unset _as_can_reexec;}
142cf8f59bfSmrgif test "x$CONFIG_SHELL" = x; then
1430cfee914Smrg  as_bourne_compatible="as_nop=:
1440cfee914Smrgif test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
1450cfee914Smrgthen :
146cf8f59bfSmrg  emulate sh
147cf8f59bfSmrg  NULLCMD=:
148cf8f59bfSmrg  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149cf8f59bfSmrg  # is contrary to our usage.  Disable this feature.
150cf8f59bfSmrg  alias -g '\${1+\"\$@\"}'='\"\$@\"'
151cf8f59bfSmrg  setopt NO_GLOB_SUBST
1520cfee914Smrgelse \$as_nop
153cf8f59bfSmrg  case \`(set -o) 2>/dev/null\` in #(
154cf8f59bfSmrg  *posix*) :
155cf8f59bfSmrg    set -o posix ;; #(
156cf8f59bfSmrg  *) :
157cf8f59bfSmrg     ;;
158cf8f59bfSmrgesac
159cf8f59bfSmrgfi
160cf8f59bfSmrg"
161cf8f59bfSmrg  as_required="as_fn_return () { (exit \$1); }
162cf8f59bfSmrgas_fn_success () { as_fn_return 0; }
163cf8f59bfSmrgas_fn_failure () { as_fn_return 1; }
164cf8f59bfSmrgas_fn_ret_success () { return 0; }
165cf8f59bfSmrgas_fn_ret_failure () { return 1; }
166cf8f59bfSmrg
167cf8f59bfSmrgexitcode=0
168cf8f59bfSmrgas_fn_success || { exitcode=1; echo as_fn_success failed.; }
169cf8f59bfSmrgas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170cf8f59bfSmrgas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171cf8f59bfSmrgas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
1720cfee914Smrgif ( set x; as_fn_ret_success y && test x = \"\$1\" )
1730cfee914Smrgthen :
174cf8f59bfSmrg
1750cfee914Smrgelse \$as_nop
176cf8f59bfSmrg  exitcode=1; echo positional parameters were not saved.
177cf8f59bfSmrgfi
1780cfee914Smrgtest x\$exitcode = x0 || exit 1
1790cfee914Smrgblah=\$(echo \$(echo blah))
1800cfee914Smrgtest x\"\$blah\" = xblah || exit 1
1810cfee914Smrgtest -x / || exit 1"
182cf8f59bfSmrg  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
183cf8f59bfSmrg  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
184cf8f59bfSmrg  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185cf8f59bfSmrg  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
186cf8f59bfSmrgtest \$(( 1 + 1 )) = 2 || exit 1"
1870cfee914Smrg  if (eval "$as_required") 2>/dev/null
1880cfee914Smrgthen :
189cf8f59bfSmrg  as_have_required=yes
1900cfee914Smrgelse $as_nop
191cf8f59bfSmrg  as_have_required=no
192cf8f59bfSmrgfi
1930cfee914Smrg  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
1940cfee914Smrgthen :
195cf8f59bfSmrg
1960cfee914Smrgelse $as_nop
197cf8f59bfSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
198cf8f59bfSmrgas_found=false
199cf8f59bfSmrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
200cf8f59bfSmrgdo
201cf8f59bfSmrg  IFS=$as_save_IFS
2020cfee914Smrg  case $as_dir in #(((
2030cfee914Smrg    '') as_dir=./ ;;
2040cfee914Smrg    */) ;;
2050cfee914Smrg    *) as_dir=$as_dir/ ;;
2060cfee914Smrg  esac
207cf8f59bfSmrg  as_found=:
208cf8f59bfSmrg  case $as_dir in #(
209cf8f59bfSmrg	 /*)
210cf8f59bfSmrg	   for as_base in sh bash ksh sh5; do
211cf8f59bfSmrg	     # Try only shells that exist, to save several forks.
2120cfee914Smrg	     as_shell=$as_dir$as_base
213cf8f59bfSmrg	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
2140cfee914Smrg		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
2150cfee914Smrgthen :
216cf8f59bfSmrg  CONFIG_SHELL=$as_shell as_have_required=yes
2170cfee914Smrg		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
2180cfee914Smrgthen :
219cf8f59bfSmrg  break 2
220cf8f59bfSmrgfi
221cf8f59bfSmrgfi
222cf8f59bfSmrg	   done;;
223cf8f59bfSmrg       esac
224cf8f59bfSmrg  as_found=false
225cf8f59bfSmrgdone
226cf8f59bfSmrgIFS=$as_save_IFS
2270cfee914Smrgif $as_found
2280cfee914Smrgthen :
229cf8f59bfSmrg
2300cfee914Smrgelse $as_nop
2310cfee914Smrg  if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
2320cfee914Smrg	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
2330cfee914Smrgthen :
2340cfee914Smrg  CONFIG_SHELL=$SHELL as_have_required=yes
235cf8f59bfSmrgfi
2360cfee914Smrgfi
2370cfee914Smrg
238cf8f59bfSmrg
2390cfee914Smrg      if test "x$CONFIG_SHELL" != x
2400cfee914Smrgthen :
2410cfee914Smrg  export CONFIG_SHELL
2420cfee914Smrg             # We cannot yet assume a decent shell, so we have to provide a
2430cfee914Smrg# neutralization value for shells without unset; and this also
2440cfee914Smrg# works around shells that cannot unset nonexistent variables.
2450cfee914Smrg# Preserve -v and -x to the replacement shell.
2460cfee914SmrgBASH_ENV=/dev/null
2470cfee914SmrgENV=/dev/null
2480cfee914Smrg(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
2490cfee914Smrgcase $- in # ((((
2500cfee914Smrg  *v*x* | *x*v* ) as_opts=-vx ;;
2510cfee914Smrg  *v* ) as_opts=-v ;;
2520cfee914Smrg  *x* ) as_opts=-x ;;
2530cfee914Smrg  * ) as_opts= ;;
2540cfee914Smrgesac
2550cfee914Smrgexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
2560cfee914Smrg# Admittedly, this is quite paranoid, since all the known shells bail
2570cfee914Smrg# out after a failed `exec'.
2580cfee914Smrgprintf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
2590cfee914Smrgexit 255
2600cfee914Smrgfi
2610cfee914Smrg
2620cfee914Smrg    if test x$as_have_required = xno
2630cfee914Smrgthen :
2640cfee914Smrg  printf "%s\n" "$0: This script requires a shell more modern than all"
2650cfee914Smrg  printf "%s\n" "$0: the shells that I found on your system."
2660cfee914Smrg  if test ${ZSH_VERSION+y} ; then
2670cfee914Smrg    printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
2680cfee914Smrg    printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
269cf8f59bfSmrg  else
2700cfee914Smrg    printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
2710cfee914Smrg$0: https://gitlab.freedesktop.org/xorg/font/misc-misc/-/issues
272cf8f59bfSmrg$0: about your system, including any error possibly output
273cf8f59bfSmrg$0: before this message. Then install a modern shell, or
274cf8f59bfSmrg$0: manually run the script under such a shell if you do
275cf8f59bfSmrg$0: have one."
276cf8f59bfSmrg  fi
277cf8f59bfSmrg  exit 1
278cf8f59bfSmrgfi
279cf8f59bfSmrgfi
280cf8f59bfSmrgfi
281cf8f59bfSmrgSHELL=${CONFIG_SHELL-/bin/sh}
282cf8f59bfSmrgexport SHELL
283cf8f59bfSmrg# Unset more variables known to interfere with behavior of common tools.
284cf8f59bfSmrgCLICOLOR_FORCE= GREP_OPTIONS=
285cf8f59bfSmrgunset CLICOLOR_FORCE GREP_OPTIONS
286cf8f59bfSmrg
287cf8f59bfSmrg## --------------------- ##
288cf8f59bfSmrg## M4sh Shell Functions. ##
289cf8f59bfSmrg## --------------------- ##
290cf8f59bfSmrg# as_fn_unset VAR
291cf8f59bfSmrg# ---------------
292cf8f59bfSmrg# Portably unset VAR.
293cf8f59bfSmrgas_fn_unset ()
294cf8f59bfSmrg{
295cf8f59bfSmrg  { eval $1=; unset $1;}
296cf8f59bfSmrg}
297cf8f59bfSmrgas_unset=as_fn_unset
298cf8f59bfSmrg
2990cfee914Smrg
300cf8f59bfSmrg# as_fn_set_status STATUS
301cf8f59bfSmrg# -----------------------
302cf8f59bfSmrg# Set $? to STATUS, without forking.
303cf8f59bfSmrgas_fn_set_status ()
304cf8f59bfSmrg{
305cf8f59bfSmrg  return $1
306cf8f59bfSmrg} # as_fn_set_status
307cf8f59bfSmrg
308cf8f59bfSmrg# as_fn_exit STATUS
309cf8f59bfSmrg# -----------------
310cf8f59bfSmrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
311cf8f59bfSmrgas_fn_exit ()
312cf8f59bfSmrg{
313cf8f59bfSmrg  set +e
314cf8f59bfSmrg  as_fn_set_status $1
315cf8f59bfSmrg  exit $1
316cf8f59bfSmrg} # as_fn_exit
3170cfee914Smrg# as_fn_nop
3180cfee914Smrg# ---------
3190cfee914Smrg# Do nothing but, unlike ":", preserve the value of $?.
3200cfee914Smrgas_fn_nop ()
3210cfee914Smrg{
3220cfee914Smrg  return $?
3230cfee914Smrg}
3240cfee914Smrgas_nop=as_fn_nop
325cf8f59bfSmrg
326cf8f59bfSmrg# as_fn_mkdir_p
327cf8f59bfSmrg# -------------
328cf8f59bfSmrg# Create "$as_dir" as a directory, including parents if necessary.
329cf8f59bfSmrgas_fn_mkdir_p ()
330cf8f59bfSmrg{
331cf8f59bfSmrg
332cf8f59bfSmrg  case $as_dir in #(
333cf8f59bfSmrg  -*) as_dir=./$as_dir;;
334cf8f59bfSmrg  esac
335cf8f59bfSmrg  test -d "$as_dir" || eval $as_mkdir_p || {
336cf8f59bfSmrg    as_dirs=
337cf8f59bfSmrg    while :; do
338cf8f59bfSmrg      case $as_dir in #(
3390cfee914Smrg      *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
340cf8f59bfSmrg      *) as_qdir=$as_dir;;
341cf8f59bfSmrg      esac
342cf8f59bfSmrg      as_dirs="'$as_qdir' $as_dirs"
343cf8f59bfSmrg      as_dir=`$as_dirname -- "$as_dir" ||
344cf8f59bfSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
345cf8f59bfSmrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
346cf8f59bfSmrg	 X"$as_dir" : 'X\(//\)$' \| \
347cf8f59bfSmrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3480cfee914Smrgprintf "%s\n" X"$as_dir" |
349cf8f59bfSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
350cf8f59bfSmrg	    s//\1/
351cf8f59bfSmrg	    q
352cf8f59bfSmrg	  }
353cf8f59bfSmrg	  /^X\(\/\/\)[^/].*/{
354cf8f59bfSmrg	    s//\1/
355cf8f59bfSmrg	    q
356cf8f59bfSmrg	  }
357cf8f59bfSmrg	  /^X\(\/\/\)$/{
358cf8f59bfSmrg	    s//\1/
359cf8f59bfSmrg	    q
360cf8f59bfSmrg	  }
361cf8f59bfSmrg	  /^X\(\/\).*/{
362cf8f59bfSmrg	    s//\1/
363cf8f59bfSmrg	    q
364cf8f59bfSmrg	  }
365cf8f59bfSmrg	  s/.*/./; q'`
366cf8f59bfSmrg      test -d "$as_dir" && break
367cf8f59bfSmrg    done
368cf8f59bfSmrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
369cf8f59bfSmrg  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
370cf8f59bfSmrg
371cf8f59bfSmrg
372cf8f59bfSmrg} # as_fn_mkdir_p
3730cfee914Smrg
3740cfee914Smrg# as_fn_executable_p FILE
3750cfee914Smrg# -----------------------
3760cfee914Smrg# Test if FILE is an executable regular file.
3770cfee914Smrgas_fn_executable_p ()
3780cfee914Smrg{
3790cfee914Smrg  test -f "$1" && test -x "$1"
3800cfee914Smrg} # as_fn_executable_p
381cf8f59bfSmrg# as_fn_append VAR VALUE
382cf8f59bfSmrg# ----------------------
383cf8f59bfSmrg# Append the text in VALUE to the end of the definition contained in VAR. Take
384cf8f59bfSmrg# advantage of any shell optimizations that allow amortized linear growth over
385cf8f59bfSmrg# repeated appends, instead of the typical quadratic growth present in naive
386cf8f59bfSmrg# implementations.
3870cfee914Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
3880cfee914Smrgthen :
389cf8f59bfSmrg  eval 'as_fn_append ()
390cf8f59bfSmrg  {
391cf8f59bfSmrg    eval $1+=\$2
392cf8f59bfSmrg  }'
3930cfee914Smrgelse $as_nop
394cf8f59bfSmrg  as_fn_append ()
395cf8f59bfSmrg  {
396cf8f59bfSmrg    eval $1=\$$1\$2
397cf8f59bfSmrg  }
398cf8f59bfSmrgfi # as_fn_append
399cf8f59bfSmrg
400cf8f59bfSmrg# as_fn_arith ARG...
401cf8f59bfSmrg# ------------------
402cf8f59bfSmrg# Perform arithmetic evaluation on the ARGs, and store the result in the
403cf8f59bfSmrg# global $as_val. Take advantage of shells that can avoid forks. The arguments
404cf8f59bfSmrg# must be portable across $(()) and expr.
4050cfee914Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
4060cfee914Smrgthen :
407cf8f59bfSmrg  eval 'as_fn_arith ()
408cf8f59bfSmrg  {
409cf8f59bfSmrg    as_val=$(( $* ))
410cf8f59bfSmrg  }'
4110cfee914Smrgelse $as_nop
412cf8f59bfSmrg  as_fn_arith ()
413cf8f59bfSmrg  {
414cf8f59bfSmrg    as_val=`expr "$@" || test $? -eq 1`
415cf8f59bfSmrg  }
416cf8f59bfSmrgfi # as_fn_arith
417cf8f59bfSmrg
4180cfee914Smrg# as_fn_nop
4190cfee914Smrg# ---------
4200cfee914Smrg# Do nothing but, unlike ":", preserve the value of $?.
4210cfee914Smrgas_fn_nop ()
4220cfee914Smrg{
4230cfee914Smrg  return $?
4240cfee914Smrg}
4250cfee914Smrgas_nop=as_fn_nop
426cf8f59bfSmrg
427cf8f59bfSmrg# as_fn_error STATUS ERROR [LINENO LOG_FD]
428cf8f59bfSmrg# ----------------------------------------
429cf8f59bfSmrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
430cf8f59bfSmrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
431cf8f59bfSmrg# script with STATUS, using 1 if that was 0.
432cf8f59bfSmrgas_fn_error ()
433cf8f59bfSmrg{
434cf8f59bfSmrg  as_status=$1; test $as_status -eq 0 && as_status=1
435cf8f59bfSmrg  if test "$4"; then
436cf8f59bfSmrg    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4370cfee914Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
438cf8f59bfSmrg  fi
4390cfee914Smrg  printf "%s\n" "$as_me: error: $2" >&2
440cf8f59bfSmrg  as_fn_exit $as_status
441cf8f59bfSmrg} # as_fn_error
442cf8f59bfSmrg
443f4959950Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
444f4959950Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
445335e815aSmrg  as_expr=expr
446335e815aSmrgelse
447335e815aSmrg  as_expr=false
448335e815aSmrgfi
449335e815aSmrg
450f4959950Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
451335e815aSmrg  as_basename=basename
452335e815aSmrgelse
453335e815aSmrg  as_basename=false
454335e815aSmrgfi
455335e815aSmrg
456cf8f59bfSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
457cf8f59bfSmrg  as_dirname=dirname
458cf8f59bfSmrgelse
459cf8f59bfSmrg  as_dirname=false
460cf8f59bfSmrgfi
461335e815aSmrg
462f4959950Smrgas_me=`$as_basename -- "$0" ||
463335e815aSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
464335e815aSmrg	 X"$0" : 'X\(//\)$' \| \
465f4959950Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4660cfee914Smrgprintf "%s\n" X/"$0" |
467f4959950Smrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
468f4959950Smrg	    s//\1/
469f4959950Smrg	    q
470f4959950Smrg	  }
471f4959950Smrg	  /^X\/\(\/\/\)$/{
472f4959950Smrg	    s//\1/
473f4959950Smrg	    q
474f4959950Smrg	  }
475f4959950Smrg	  /^X\/\(\/\).*/{
476f4959950Smrg	    s//\1/
477f4959950Smrg	    q
478f4959950Smrg	  }
479f4959950Smrg	  s/.*/./; q'`
480335e815aSmrg
481cf8f59bfSmrg# Avoid depending upon Character Ranges.
482cf8f59bfSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
483cf8f59bfSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
484cf8f59bfSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
485cf8f59bfSmrgas_cr_digits='0123456789'
486cf8f59bfSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits
487335e815aSmrg
488335e815aSmrg
489cf8f59bfSmrg  as_lineno_1=$LINENO as_lineno_1a=$LINENO
490cf8f59bfSmrg  as_lineno_2=$LINENO as_lineno_2a=$LINENO
491cf8f59bfSmrg  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
492cf8f59bfSmrg  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
493cf8f59bfSmrg  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
494cf8f59bfSmrg  sed -n '
495cf8f59bfSmrg    p
496cf8f59bfSmrg    /[$]LINENO/=
497cf8f59bfSmrg  ' <$as_myself |
498cf8f59bfSmrg    sed '
499cf8f59bfSmrg      s/[$]LINENO.*/&-/
500cf8f59bfSmrg      t lineno
501cf8f59bfSmrg      b
502cf8f59bfSmrg      :lineno
503cf8f59bfSmrg      N
504cf8f59bfSmrg      :loop
505cf8f59bfSmrg      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
506cf8f59bfSmrg      t loop
507cf8f59bfSmrg      s/-\n.*//
508cf8f59bfSmrg    ' >$as_me.lineno &&
509cf8f59bfSmrg  chmod +x "$as_me.lineno" ||
5100cfee914Smrg    { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
511335e815aSmrg
5120cfee914Smrg  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
5130cfee914Smrg  # already done that, so ensure we don't try to do so again and fall
5140cfee914Smrg  # in an infinite loop.  This has already happened in practice.
5150cfee914Smrg  _as_can_reexec=no; export _as_can_reexec
516cf8f59bfSmrg  # Don't try to exec as it changes $[0], causing all sort of problems
517cf8f59bfSmrg  # (the dirname of $[0] is not the place where we might find the
518cf8f59bfSmrg  # original and so on.  Autoconf is especially sensitive to this).
519cf8f59bfSmrg  . "./$as_me.lineno"
520cf8f59bfSmrg  # Exit status is that of the last command.
521cf8f59bfSmrg  exit
522f4959950Smrg}
523335e815aSmrg
5240cfee914Smrg
5250cfee914Smrg# Determine whether it's possible to make 'echo' print without a newline.
5260cfee914Smrg# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
5270cfee914Smrg# for compatibility with existing Makefiles.
528cf8f59bfSmrgECHO_C= ECHO_N= ECHO_T=
529cf8f59bfSmrgcase `echo -n x` in #(((((
530cf8f59bfSmrg-n*)
531cf8f59bfSmrg  case `echo 'xy\c'` in
532cf8f59bfSmrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
533cf8f59bfSmrg  xy)  ECHO_C='\c';;
534cf8f59bfSmrg  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
535cf8f59bfSmrg       ECHO_T='	';;
536cf8f59bfSmrg  esac;;
537cf8f59bfSmrg*)
538cf8f59bfSmrg  ECHO_N='-n';;
539cf8f59bfSmrgesac
540335e815aSmrg
5410cfee914Smrg# For backward compatibility with old third-party macros, we provide
5420cfee914Smrg# the shell variables $as_echo and $as_echo_n.  New code should use
5430cfee914Smrg# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
5440cfee914Smrgas_echo='printf %s\n'
5450cfee914Smrgas_echo_n='printf %s'
5460cfee914Smrg
5470cfee914Smrg
548cf8f59bfSmrgrm -f conf$$ conf$$.exe conf$$.file
549cf8f59bfSmrgif test -d conf$$.dir; then
550cf8f59bfSmrg  rm -f conf$$.dir/conf$$.file
551cf8f59bfSmrgelse
552cf8f59bfSmrg  rm -f conf$$.dir
553cf8f59bfSmrg  mkdir conf$$.dir 2>/dev/null
554f4959950Smrgfi
555cf8f59bfSmrgif (echo >conf$$.file) 2>/dev/null; then
556cf8f59bfSmrg  if ln -s conf$$.file conf$$ 2>/dev/null; then
557cf8f59bfSmrg    as_ln_s='ln -s'
558cf8f59bfSmrg    # ... but there are two gotchas:
559cf8f59bfSmrg    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
560cf8f59bfSmrg    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5610cfee914Smrg    # In both cases, we have to default to `cp -pR'.
562cf8f59bfSmrg    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5630cfee914Smrg      as_ln_s='cp -pR'
564cf8f59bfSmrg  elif ln conf$$.file conf$$ 2>/dev/null; then
565cf8f59bfSmrg    as_ln_s=ln
566cf8f59bfSmrg  else
5670cfee914Smrg    as_ln_s='cp -pR'
568cf8f59bfSmrg  fi
569f4959950Smrgelse
5700cfee914Smrg  as_ln_s='cp -pR'
571f4959950Smrgfi
572cf8f59bfSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
573cf8f59bfSmrgrmdir conf$$.dir 2>/dev/null
574f4959950Smrg
575cf8f59bfSmrgif mkdir -p . 2>/dev/null; then
576cf8f59bfSmrg  as_mkdir_p='mkdir -p "$as_dir"'
577cf8f59bfSmrgelse
578cf8f59bfSmrg  test -d ./-p && rmdir ./-p
579cf8f59bfSmrg  as_mkdir_p=false
580f4959950Smrgfi
581f4959950Smrg
5820cfee914Smrgas_test_x='test -x'
5830cfee914Smrgas_executable_p=as_fn_executable_p
584f4959950Smrg
585cf8f59bfSmrg# Sed expression to map a string onto a valid CPP name.
586cf8f59bfSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
587f4959950Smrg
588cf8f59bfSmrg# Sed expression to map a string onto a valid variable name.
589cf8f59bfSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
590f4959950Smrg
591f4959950Smrg
592cf8f59bfSmrgtest -n "$DJDIR" || exec 7<&0 </dev/null
593cf8f59bfSmrgexec 6>&1
594335e815aSmrg
595335e815aSmrg# Name of the host.
596cf8f59bfSmrg# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
597335e815aSmrg# so uname gets run too.
598335e815aSmrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
599335e815aSmrg
600335e815aSmrg#
601335e815aSmrg# Initializations.
602335e815aSmrg#
603335e815aSmrgac_default_prefix=/usr/local
604f4959950Smrgac_clean_files=
605335e815aSmrgac_config_libobj_dir=.
606f4959950SmrgLIBOBJS=
607335e815aSmrgcross_compiling=no
608335e815aSmrgsubdirs=
609335e815aSmrgMFLAGS=
610335e815aSmrgMAKEFLAGS=
611335e815aSmrg
612335e815aSmrg# Identity of this package.
613335e815aSmrgPACKAGE_NAME='font-misc-misc'
614335e815aSmrgPACKAGE_TARNAME='font-misc-misc'
6150cfee914SmrgPACKAGE_VERSION='1.1.3'
6160cfee914SmrgPACKAGE_STRING='font-misc-misc 1.1.3'
6170cfee914SmrgPACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/font/misc-misc/-/issues'
618cf8f59bfSmrgPACKAGE_URL=''
619335e815aSmrg
6200cfee914Smrgac_subst_vars='LTLIBOBJS
621f4959950SmrgLIBOBJS
622f4959950SmrgJISX0201_FALSE
623f4959950SmrgJISX0201_TRUE
624f4959950SmrgKOI8_R_FALSE
625f4959950SmrgKOI8_R_TRUE
626f4959950SmrgISO8859_16_FALSE
627f4959950SmrgISO8859_16_TRUE
628f4959950SmrgISO8859_15_FALSE
629f4959950SmrgISO8859_15_TRUE
630f4959950SmrgISO8859_14_FALSE
631f4959950SmrgISO8859_14_TRUE
632f4959950SmrgISO8859_13_FALSE
633f4959950SmrgISO8859_13_TRUE
634f4959950SmrgISO8859_11_FALSE
635f4959950SmrgISO8859_11_TRUE
636f4959950SmrgISO8859_10_FALSE
637f4959950SmrgISO8859_10_TRUE
638f4959950SmrgISO8859_9_FALSE
639f4959950SmrgISO8859_9_TRUE
640f4959950SmrgISO8859_8_FALSE
641f4959950SmrgISO8859_8_TRUE
642f4959950SmrgISO8859_7_FALSE
643f4959950SmrgISO8859_7_TRUE
644f4959950SmrgISO8859_5_FALSE
645f4959950SmrgISO8859_5_TRUE
646f4959950SmrgISO8859_4_FALSE
647f4959950SmrgISO8859_4_TRUE
648f4959950SmrgISO8859_3_FALSE
649f4959950SmrgISO8859_3_TRUE
650f4959950SmrgISO8859_2_FALSE
651f4959950SmrgISO8859_2_TRUE
652f4959950SmrgISO8859_1_FALSE
653f4959950SmrgISO8859_1_TRUE
654f4959950SmrgMAPFILES_PATH
655f4959950SmrgMAPS_LIBS
656f4959950SmrgMAPS_CFLAGS
657f4959950SmrgUCS2ANY
658f4959950SmrgCOMPRESS_SUFFIX
6590cfee914SmrgCOMPRESS_FLAGS
660f4959950SmrgCOMPRESS
661f4959950SmrgBDFTOPCF
662f4959950SmrgMKFONTDIR
663f4959950SmrgRUN_FCCACHE
664f4959950SmrgFCCACHE
665f4959950SmrgFONTDIR
666f4959950SmrgFONTROOTDIR
667cf8f59bfSmrgMAN_SUBSTS
668cf8f59bfSmrgXORG_MAN_PAGE
669f4959950SmrgADMIN_MAN_DIR
670f4959950SmrgDRIVER_MAN_DIR
671f4959950SmrgMISC_MAN_DIR
672f4959950SmrgFILE_MAN_DIR
673f4959950SmrgLIB_MAN_DIR
674f4959950SmrgAPP_MAN_DIR
675f4959950SmrgADMIN_MAN_SUFFIX
676f4959950SmrgDRIVER_MAN_SUFFIX
677f4959950SmrgMISC_MAN_SUFFIX
678f4959950SmrgFILE_MAN_SUFFIX
679f4959950SmrgLIB_MAN_SUFFIX
680f4959950SmrgAPP_MAN_SUFFIX
681cf8f59bfSmrgSED
682f4959950Smrghost_os
683f4959950Smrghost_vendor
684f4959950Smrghost_cpu
685f4959950Smrghost
686f4959950Smrgbuild_os
687f4959950Smrgbuild_vendor
688f4959950Smrgbuild_cpu
689f4959950Smrgbuild
690cf8f59bfSmrgINSTALL_CMD
69127268fb8SmrgPKG_CONFIG_LIBDIR
69227268fb8SmrgPKG_CONFIG_PATH
693cf8f59bfSmrgPKG_CONFIG
694f4959950SmrgCHANGELOG_CMD
6950cfee914SmrgAM_BACKSLASH
6960cfee914SmrgAM_DEFAULT_VERBOSITY
6970cfee914SmrgAM_DEFAULT_V
6980cfee914SmrgAM_V
6990cfee914SmrgCSCOPE
7000cfee914SmrgETAGS
7010cfee914SmrgCTAGS
702f4959950Smrgam__untar
703f4959950Smrgam__tar
704f4959950SmrgAMTAR
705f4959950Smrgam__leading_dot
706f4959950SmrgSET_MAKE
707f4959950SmrgAWK
708f4959950Smrgmkdir_p
709f4959950SmrgMKDIR_P
710f4959950SmrgINSTALL_STRIP_PROGRAM
711f4959950SmrgSTRIP
712f4959950Smrginstall_sh
713f4959950SmrgMAKEINFO
714f4959950SmrgAUTOHEADER
715f4959950SmrgAUTOMAKE
716f4959950SmrgAUTOCONF
717f4959950SmrgACLOCAL
718f4959950SmrgVERSION
719f4959950SmrgPACKAGE
720f4959950SmrgCYGPATH_W
721f4959950Smrgam__isrc
722f4959950SmrgINSTALL_DATA
723f4959950SmrgINSTALL_SCRIPT
724f4959950SmrgINSTALL_PROGRAM
725f4959950Smrgtarget_alias
726f4959950Smrghost_alias
727f4959950Smrgbuild_alias
728f4959950SmrgLIBS
729f4959950SmrgECHO_T
730f4959950SmrgECHO_N
731f4959950SmrgECHO_C
732f4959950SmrgDEFS
733f4959950Smrgmandir
734f4959950Smrglocaledir
735f4959950Smrglibdir
736f4959950Smrgpsdir
737f4959950Smrgpdfdir
738f4959950Smrgdvidir
739f4959950Smrghtmldir
740f4959950Smrginfodir
741f4959950Smrgdocdir
742f4959950Smrgoldincludedir
743f4959950Smrgincludedir
7440cfee914Smrgrunstatedir
745f4959950Smrglocalstatedir
746f4959950Smrgsharedstatedir
747f4959950Smrgsysconfdir
748f4959950Smrgdatadir
749f4959950Smrgdatarootdir
750f4959950Smrglibexecdir
751f4959950Smrgsbindir
752f4959950Smrgbindir
753f4959950Smrgprogram_transform_name
754f4959950Smrgprefix
755f4959950Smrgexec_prefix
756cf8f59bfSmrgPACKAGE_URL
757f4959950SmrgPACKAGE_BUGREPORT
758f4959950SmrgPACKAGE_STRING
759f4959950SmrgPACKAGE_VERSION
760f4959950SmrgPACKAGE_TARNAME
761f4959950SmrgPACKAGE_NAME
762f4959950SmrgPATH_SEPARATOR
763f4959950SmrgSHELL'
764335e815aSmrgac_subst_files=''
765f4959950Smrgac_user_opts='
766f4959950Smrgenable_option_checking
767cf8f59bfSmrgenable_silent_rules
768f4959950Smrgwith_fontrootdir
769f4959950Smrgwith_fontdir
770f4959950Smrgwith_compression
77127268fb8Smrgenable_all_encodings
772f4959950Smrgenable_iso8859_1
773f4959950Smrgenable_iso8859_2
774f4959950Smrgenable_iso8859_3
775f4959950Smrgenable_iso8859_4
776f4959950Smrgenable_iso8859_5
777f4959950Smrgenable_iso8859_7
778f4959950Smrgenable_iso8859_8
779f4959950Smrgenable_iso8859_9
780f4959950Smrgenable_iso8859_10
781f4959950Smrgenable_iso8859_11
782f4959950Smrgenable_iso8859_13
783f4959950Smrgenable_iso8859_14
784f4959950Smrgenable_iso8859_15
785f4959950Smrgenable_iso8859_16
786f4959950Smrgenable_koi8_r
787f4959950Smrgenable_jisx0201
788f4959950Smrg'
789f4959950Smrg      ac_precious_vars='build_alias
790f4959950Smrghost_alias
791f4959950Smrgtarget_alias
792f4959950SmrgPKG_CONFIG
79327268fb8SmrgPKG_CONFIG_PATH
79427268fb8SmrgPKG_CONFIG_LIBDIR
795f4959950SmrgMAPS_CFLAGS
796f4959950SmrgMAPS_LIBS'
797f4959950Smrg
798335e815aSmrg
799335e815aSmrg# Initialize some variables set by options.
800335e815aSmrgac_init_help=
801335e815aSmrgac_init_version=false
802f4959950Smrgac_unrecognized_opts=
803f4959950Smrgac_unrecognized_sep=
804335e815aSmrg# The variables have the same names as the options, with
805335e815aSmrg# dashes changed to underlines.
806335e815aSmrgcache_file=/dev/null
807335e815aSmrgexec_prefix=NONE
808335e815aSmrgno_create=
809335e815aSmrgno_recursion=
810335e815aSmrgprefix=NONE
811335e815aSmrgprogram_prefix=NONE
812335e815aSmrgprogram_suffix=NONE
813335e815aSmrgprogram_transform_name=s,x,x,
814335e815aSmrgsilent=
815335e815aSmrgsite=
816335e815aSmrgsrcdir=
817335e815aSmrgverbose=
818335e815aSmrgx_includes=NONE
819335e815aSmrgx_libraries=NONE
820335e815aSmrg
821335e815aSmrg# Installation directory options.
822335e815aSmrg# These are left unexpanded so users can "make install exec_prefix=/foo"
823335e815aSmrg# and all the variables that are supposed to be based on exec_prefix
824335e815aSmrg# by default will actually change.
825335e815aSmrg# Use braces instead of parens because sh, perl, etc. also accept them.
826f4959950Smrg# (The list follows the same order as the GNU Coding Standards.)
827335e815aSmrgbindir='${exec_prefix}/bin'
828335e815aSmrgsbindir='${exec_prefix}/sbin'
829335e815aSmrglibexecdir='${exec_prefix}/libexec'
830f4959950Smrgdatarootdir='${prefix}/share'
831f4959950Smrgdatadir='${datarootdir}'
832335e815aSmrgsysconfdir='${prefix}/etc'
833335e815aSmrgsharedstatedir='${prefix}/com'
834335e815aSmrglocalstatedir='${prefix}/var'
8350cfee914Smrgrunstatedir='${localstatedir}/run'
836335e815aSmrgincludedir='${prefix}/include'
837335e815aSmrgoldincludedir='/usr/include'
838f4959950Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
839f4959950Smrginfodir='${datarootdir}/info'
840f4959950Smrghtmldir='${docdir}'
841f4959950Smrgdvidir='${docdir}'
842f4959950Smrgpdfdir='${docdir}'
843f4959950Smrgpsdir='${docdir}'
844f4959950Smrglibdir='${exec_prefix}/lib'
845f4959950Smrglocaledir='${datarootdir}/locale'
846f4959950Smrgmandir='${datarootdir}/man'
847335e815aSmrg
848335e815aSmrgac_prev=
849f4959950Smrgac_dashdash=
850335e815aSmrgfor ac_option
851335e815aSmrgdo
852335e815aSmrg  # If the previous option needs an argument, assign it.
853335e815aSmrg  if test -n "$ac_prev"; then
854f4959950Smrg    eval $ac_prev=\$ac_option
855335e815aSmrg    ac_prev=
856335e815aSmrg    continue
857335e815aSmrg  fi
858335e815aSmrg
859f4959950Smrg  case $ac_option in
860cf8f59bfSmrg  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
861cf8f59bfSmrg  *=)   ac_optarg= ;;
862cf8f59bfSmrg  *)    ac_optarg=yes ;;
863f4959950Smrg  esac
864335e815aSmrg
865f4959950Smrg  case $ac_dashdash$ac_option in
866f4959950Smrg  --)
867f4959950Smrg    ac_dashdash=yes ;;
868335e815aSmrg
869335e815aSmrg  -bindir | --bindir | --bindi | --bind | --bin | --bi)
870335e815aSmrg    ac_prev=bindir ;;
871335e815aSmrg  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
872335e815aSmrg    bindir=$ac_optarg ;;
873335e815aSmrg
874335e815aSmrg  -build | --build | --buil | --bui | --bu)
875335e815aSmrg    ac_prev=build_alias ;;
876335e815aSmrg  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
877335e815aSmrg    build_alias=$ac_optarg ;;
878335e815aSmrg
879335e815aSmrg  -cache-file | --cache-file | --cache-fil | --cache-fi \
880335e815aSmrg  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
881335e815aSmrg    ac_prev=cache_file ;;
882335e815aSmrg  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
883335e815aSmrg  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
884335e815aSmrg    cache_file=$ac_optarg ;;
885335e815aSmrg
886335e815aSmrg  --config-cache | -C)
887335e815aSmrg    cache_file=config.cache ;;
888335e815aSmrg
889f4959950Smrg  -datadir | --datadir | --datadi | --datad)
890335e815aSmrg    ac_prev=datadir ;;
891f4959950Smrg  -datadir=* | --datadir=* | --datadi=* | --datad=*)
892335e815aSmrg    datadir=$ac_optarg ;;
893335e815aSmrg
894f4959950Smrg  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
895f4959950Smrg  | --dataroo | --dataro | --datar)
896f4959950Smrg    ac_prev=datarootdir ;;
897f4959950Smrg  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
898f4959950Smrg  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
899f4959950Smrg    datarootdir=$ac_optarg ;;
900f4959950Smrg
901335e815aSmrg  -disable-* | --disable-*)
902f4959950Smrg    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
903335e815aSmrg    # Reject names that are not valid shell variable names.
904f4959950Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
9050cfee914Smrg      as_fn_error $? "invalid feature name: \`$ac_useropt'"
906f4959950Smrg    ac_useropt_orig=$ac_useropt
9070cfee914Smrg    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
908f4959950Smrg    case $ac_user_opts in
909f4959950Smrg      *"
910f4959950Smrg"enable_$ac_useropt"
911f4959950Smrg"*) ;;
912f4959950Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
913f4959950Smrg	 ac_unrecognized_sep=', ';;
914f4959950Smrg    esac
915f4959950Smrg    eval enable_$ac_useropt=no ;;
916f4959950Smrg
917f4959950Smrg  -docdir | --docdir | --docdi | --doc | --do)
918f4959950Smrg    ac_prev=docdir ;;
919f4959950Smrg  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
920f4959950Smrg    docdir=$ac_optarg ;;
921f4959950Smrg
922f4959950Smrg  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
923f4959950Smrg    ac_prev=dvidir ;;
924f4959950Smrg  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
925f4959950Smrg    dvidir=$ac_optarg ;;
926335e815aSmrg
927335e815aSmrg  -enable-* | --enable-*)
928f4959950Smrg    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
929335e815aSmrg    # Reject names that are not valid shell variable names.
930f4959950Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
9310cfee914Smrg      as_fn_error $? "invalid feature name: \`$ac_useropt'"
932f4959950Smrg    ac_useropt_orig=$ac_useropt
9330cfee914Smrg    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
934f4959950Smrg    case $ac_user_opts in
935f4959950Smrg      *"
936f4959950Smrg"enable_$ac_useropt"
937f4959950Smrg"*) ;;
938f4959950Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
939f4959950Smrg	 ac_unrecognized_sep=', ';;
940335e815aSmrg    esac
941f4959950Smrg    eval enable_$ac_useropt=\$ac_optarg ;;
942335e815aSmrg
943335e815aSmrg  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
944335e815aSmrg  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
945335e815aSmrg  | --exec | --exe | --ex)
946335e815aSmrg    ac_prev=exec_prefix ;;
947335e815aSmrg  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
948335e815aSmrg  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
949335e815aSmrg  | --exec=* | --exe=* | --ex=*)
950335e815aSmrg    exec_prefix=$ac_optarg ;;
951335e815aSmrg
952335e815aSmrg  -gas | --gas | --ga | --g)
953335e815aSmrg    # Obsolete; use --with-gas.
954335e815aSmrg    with_gas=yes ;;
955335e815aSmrg
956335e815aSmrg  -help | --help | --hel | --he | -h)
957335e815aSmrg    ac_init_help=long ;;
958335e815aSmrg  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
959335e815aSmrg    ac_init_help=recursive ;;
960335e815aSmrg  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
961335e815aSmrg    ac_init_help=short ;;
962335e815aSmrg
963335e815aSmrg  -host | --host | --hos | --ho)
964335e815aSmrg    ac_prev=host_alias ;;
965335e815aSmrg  -host=* | --host=* | --hos=* | --ho=*)
966335e815aSmrg    host_alias=$ac_optarg ;;
967335e815aSmrg
968f4959950Smrg  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
969f4959950Smrg    ac_prev=htmldir ;;
970f4959950Smrg  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
971f4959950Smrg  | --ht=*)
972f4959950Smrg    htmldir=$ac_optarg ;;
973f4959950Smrg
974335e815aSmrg  -includedir | --includedir | --includedi | --included | --include \
975335e815aSmrg  | --includ | --inclu | --incl | --inc)
976335e815aSmrg    ac_prev=includedir ;;
977335e815aSmrg  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
978335e815aSmrg  | --includ=* | --inclu=* | --incl=* | --inc=*)
979335e815aSmrg    includedir=$ac_optarg ;;
980335e815aSmrg
981335e815aSmrg  -infodir | --infodir | --infodi | --infod | --info | --inf)
982335e815aSmrg    ac_prev=infodir ;;
983335e815aSmrg  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
984335e815aSmrg    infodir=$ac_optarg ;;
985335e815aSmrg
986335e815aSmrg  -libdir | --libdir | --libdi | --libd)
987335e815aSmrg    ac_prev=libdir ;;
988335e815aSmrg  -libdir=* | --libdir=* | --libdi=* | --libd=*)
989335e815aSmrg    libdir=$ac_optarg ;;
990335e815aSmrg
991335e815aSmrg  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
992335e815aSmrg  | --libexe | --libex | --libe)
993335e815aSmrg    ac_prev=libexecdir ;;
994335e815aSmrg  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
995335e815aSmrg  | --libexe=* | --libex=* | --libe=*)
996335e815aSmrg    libexecdir=$ac_optarg ;;
997335e815aSmrg
998f4959950Smrg  -localedir | --localedir | --localedi | --localed | --locale)
999f4959950Smrg    ac_prev=localedir ;;
1000f4959950Smrg  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1001f4959950Smrg    localedir=$ac_optarg ;;
1002f4959950Smrg
1003335e815aSmrg  -localstatedir | --localstatedir | --localstatedi | --localstated \
1004f4959950Smrg  | --localstate | --localstat | --localsta | --localst | --locals)
1005335e815aSmrg    ac_prev=localstatedir ;;
1006335e815aSmrg  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1007f4959950Smrg  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1008335e815aSmrg    localstatedir=$ac_optarg ;;
1009335e815aSmrg
1010335e815aSmrg  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1011335e815aSmrg    ac_prev=mandir ;;
1012335e815aSmrg  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1013335e815aSmrg    mandir=$ac_optarg ;;
1014335e815aSmrg
1015335e815aSmrg  -nfp | --nfp | --nf)
1016335e815aSmrg    # Obsolete; use --without-fp.
1017335e815aSmrg    with_fp=no ;;
1018335e815aSmrg
1019335e815aSmrg  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1020335e815aSmrg  | --no-cr | --no-c | -n)
1021335e815aSmrg    no_create=yes ;;
1022335e815aSmrg
1023335e815aSmrg  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1024335e815aSmrg  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1025335e815aSmrg    no_recursion=yes ;;
1026335e815aSmrg
1027335e815aSmrg  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1028335e815aSmrg  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1029335e815aSmrg  | --oldin | --oldi | --old | --ol | --o)
1030335e815aSmrg    ac_prev=oldincludedir ;;
1031335e815aSmrg  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1032335e815aSmrg  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1033335e815aSmrg  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1034335e815aSmrg    oldincludedir=$ac_optarg ;;
1035335e815aSmrg
1036335e815aSmrg  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1037335e815aSmrg    ac_prev=prefix ;;
1038335e815aSmrg  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1039335e815aSmrg    prefix=$ac_optarg ;;
1040335e815aSmrg
1041335e815aSmrg  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1042335e815aSmrg  | --program-pre | --program-pr | --program-p)
1043335e815aSmrg    ac_prev=program_prefix ;;
1044335e815aSmrg  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1045335e815aSmrg  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1046335e815aSmrg    program_prefix=$ac_optarg ;;
1047335e815aSmrg
1048335e815aSmrg  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1049335e815aSmrg  | --program-suf | --program-su | --program-s)
1050335e815aSmrg    ac_prev=program_suffix ;;
1051335e815aSmrg  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1052335e815aSmrg  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1053335e815aSmrg    program_suffix=$ac_optarg ;;
1054335e815aSmrg
1055335e815aSmrg  -program-transform-name | --program-transform-name \
1056335e815aSmrg  | --program-transform-nam | --program-transform-na \
1057335e815aSmrg  | --program-transform-n | --program-transform- \
1058335e815aSmrg  | --program-transform | --program-transfor \
1059335e815aSmrg  | --program-transfo | --program-transf \
1060335e815aSmrg  | --program-trans | --program-tran \
1061335e815aSmrg  | --progr-tra | --program-tr | --program-t)
1062335e815aSmrg    ac_prev=program_transform_name ;;
1063335e815aSmrg  -program-transform-name=* | --program-transform-name=* \
1064335e815aSmrg  | --program-transform-nam=* | --program-transform-na=* \
1065335e815aSmrg  | --program-transform-n=* | --program-transform-=* \
1066335e815aSmrg  | --program-transform=* | --program-transfor=* \
1067335e815aSmrg  | --program-transfo=* | --program-transf=* \
1068335e815aSmrg  | --program-trans=* | --program-tran=* \
1069335e815aSmrg  | --progr-tra=* | --program-tr=* | --program-t=*)
1070335e815aSmrg    program_transform_name=$ac_optarg ;;
1071335e815aSmrg
1072f4959950Smrg  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1073f4959950Smrg    ac_prev=pdfdir ;;
1074f4959950Smrg  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1075f4959950Smrg    pdfdir=$ac_optarg ;;
1076f4959950Smrg
1077f4959950Smrg  -psdir | --psdir | --psdi | --psd | --ps)
1078f4959950Smrg    ac_prev=psdir ;;
1079f4959950Smrg  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1080f4959950Smrg    psdir=$ac_optarg ;;
1081f4959950Smrg
1082335e815aSmrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1083335e815aSmrg  | -silent | --silent | --silen | --sile | --sil)
1084335e815aSmrg    silent=yes ;;
1085335e815aSmrg
10860cfee914Smrg  -runstatedir | --runstatedir | --runstatedi | --runstated \
10870cfee914Smrg  | --runstate | --runstat | --runsta | --runst | --runs \
10880cfee914Smrg  | --run | --ru | --r)
10890cfee914Smrg    ac_prev=runstatedir ;;
10900cfee914Smrg  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
10910cfee914Smrg  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
10920cfee914Smrg  | --run=* | --ru=* | --r=*)
10930cfee914Smrg    runstatedir=$ac_optarg ;;
10940cfee914Smrg
1095335e815aSmrg  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1096335e815aSmrg    ac_prev=sbindir ;;
1097335e815aSmrg  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1098335e815aSmrg  | --sbi=* | --sb=*)
1099335e815aSmrg    sbindir=$ac_optarg ;;
1100335e815aSmrg
1101335e815aSmrg  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1102335e815aSmrg  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1103335e815aSmrg  | --sharedst | --shareds | --shared | --share | --shar \
1104335e815aSmrg  | --sha | --sh)
1105335e815aSmrg    ac_prev=sharedstatedir ;;
1106335e815aSmrg  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1107335e815aSmrg  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1108335e815aSmrg  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1109335e815aSmrg  | --sha=* | --sh=*)
1110335e815aSmrg    sharedstatedir=$ac_optarg ;;
1111335e815aSmrg
1112335e815aSmrg  -site | --site | --sit)
1113335e815aSmrg    ac_prev=site ;;
1114335e815aSmrg  -site=* | --site=* | --sit=*)
1115335e815aSmrg    site=$ac_optarg ;;
1116335e815aSmrg
1117335e815aSmrg  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1118335e815aSmrg    ac_prev=srcdir ;;
1119335e815aSmrg  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1120335e815aSmrg    srcdir=$ac_optarg ;;
1121335e815aSmrg
1122335e815aSmrg  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1123335e815aSmrg  | --syscon | --sysco | --sysc | --sys | --sy)
1124335e815aSmrg    ac_prev=sysconfdir ;;
1125335e815aSmrg  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1126335e815aSmrg  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1127335e815aSmrg    sysconfdir=$ac_optarg ;;
1128335e815aSmrg
1129335e815aSmrg  -target | --target | --targe | --targ | --tar | --ta | --t)
1130335e815aSmrg    ac_prev=target_alias ;;
1131335e815aSmrg  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1132335e815aSmrg    target_alias=$ac_optarg ;;
1133335e815aSmrg
1134335e815aSmrg  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1135335e815aSmrg    verbose=yes ;;
1136335e815aSmrg
1137335e815aSmrg  -version | --version | --versio | --versi | --vers | -V)
1138335e815aSmrg    ac_init_version=: ;;
1139335e815aSmrg
1140335e815aSmrg  -with-* | --with-*)
1141f4959950Smrg    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1142335e815aSmrg    # Reject names that are not valid shell variable names.
1143f4959950Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
11440cfee914Smrg      as_fn_error $? "invalid package name: \`$ac_useropt'"
1145f4959950Smrg    ac_useropt_orig=$ac_useropt
11460cfee914Smrg    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1147f4959950Smrg    case $ac_user_opts in
1148f4959950Smrg      *"
1149f4959950Smrg"with_$ac_useropt"
1150f4959950Smrg"*) ;;
1151f4959950Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1152f4959950Smrg	 ac_unrecognized_sep=', ';;
1153335e815aSmrg    esac
1154f4959950Smrg    eval with_$ac_useropt=\$ac_optarg ;;
1155335e815aSmrg
1156335e815aSmrg  -without-* | --without-*)
1157f4959950Smrg    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1158335e815aSmrg    # Reject names that are not valid shell variable names.
1159f4959950Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
11600cfee914Smrg      as_fn_error $? "invalid package name: \`$ac_useropt'"
1161f4959950Smrg    ac_useropt_orig=$ac_useropt
11620cfee914Smrg    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1163f4959950Smrg    case $ac_user_opts in
1164f4959950Smrg      *"
1165f4959950Smrg"with_$ac_useropt"
1166f4959950Smrg"*) ;;
1167f4959950Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1168f4959950Smrg	 ac_unrecognized_sep=', ';;
1169f4959950Smrg    esac
1170f4959950Smrg    eval with_$ac_useropt=no ;;
1171335e815aSmrg
1172335e815aSmrg  --x)
1173335e815aSmrg    # Obsolete; use --with-x.
1174335e815aSmrg    with_x=yes ;;
1175335e815aSmrg
1176335e815aSmrg  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1177335e815aSmrg  | --x-incl | --x-inc | --x-in | --x-i)
1178335e815aSmrg    ac_prev=x_includes ;;
1179335e815aSmrg  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1180335e815aSmrg  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1181335e815aSmrg    x_includes=$ac_optarg ;;
1182335e815aSmrg
1183335e815aSmrg  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1184335e815aSmrg  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1185335e815aSmrg    ac_prev=x_libraries ;;
1186335e815aSmrg  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1187335e815aSmrg  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1188335e815aSmrg    x_libraries=$ac_optarg ;;
1189335e815aSmrg
1190cf8f59bfSmrg  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1191cf8f59bfSmrgTry \`$0 --help' for more information"
1192335e815aSmrg    ;;
1193335e815aSmrg
1194335e815aSmrg  *=*)
1195335e815aSmrg    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1196335e815aSmrg    # Reject names that are not valid shell variable names.
1197cf8f59bfSmrg    case $ac_envvar in #(
1198cf8f59bfSmrg      '' | [0-9]* | *[!_$as_cr_alnum]* )
1199cf8f59bfSmrg      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1200cf8f59bfSmrg    esac
1201f4959950Smrg    eval $ac_envvar=\$ac_optarg
1202335e815aSmrg    export $ac_envvar ;;
1203335e815aSmrg
1204335e815aSmrg  *)
1205335e815aSmrg    # FIXME: should be removed in autoconf 3.0.
12060cfee914Smrg    printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1207335e815aSmrg    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
12080cfee914Smrg      printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1209cf8f59bfSmrg    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1210335e815aSmrg    ;;
1211335e815aSmrg
1212335e815aSmrg  esac
1213335e815aSmrgdone
1214335e815aSmrg
1215335e815aSmrgif test -n "$ac_prev"; then
1216335e815aSmrg  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1217cf8f59bfSmrg  as_fn_error $? "missing argument to $ac_option"
1218335e815aSmrgfi
1219335e815aSmrg
1220f4959950Smrgif test -n "$ac_unrecognized_opts"; then
1221f4959950Smrg  case $enable_option_checking in
1222f4959950Smrg    no) ;;
1223cf8f59bfSmrg    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
12240cfee914Smrg    *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1225335e815aSmrg  esac
1226f4959950Smrgfi
1227335e815aSmrg
1228f4959950Smrg# Check all directory arguments for consistency.
1229f4959950Smrgfor ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1230f4959950Smrg		datadir sysconfdir sharedstatedir localstatedir includedir \
1231f4959950Smrg		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
12320cfee914Smrg		libdir localedir mandir runstatedir
1233335e815aSmrgdo
1234f4959950Smrg  eval ac_val=\$$ac_var
1235f4959950Smrg  # Remove trailing slashes.
1236335e815aSmrg  case $ac_val in
1237f4959950Smrg    */ )
1238f4959950Smrg      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1239f4959950Smrg      eval $ac_var=\$ac_val;;
1240f4959950Smrg  esac
1241f4959950Smrg  # Be sure to have absolute directory names.
1242f4959950Smrg  case $ac_val in
1243f4959950Smrg    [\\/$]* | ?:[\\/]* )  continue;;
1244f4959950Smrg    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1245335e815aSmrg  esac
1246cf8f59bfSmrg  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1247335e815aSmrgdone
1248335e815aSmrg
1249335e815aSmrg# There might be people who depend on the old broken behavior: `$host'
1250335e815aSmrg# used to hold the argument of --host etc.
1251335e815aSmrg# FIXME: To remove some day.
1252335e815aSmrgbuild=$build_alias
1253335e815aSmrghost=$host_alias
1254335e815aSmrgtarget=$target_alias
1255335e815aSmrg
1256335e815aSmrg# FIXME: To remove some day.
1257335e815aSmrgif test "x$host_alias" != x; then
1258335e815aSmrg  if test "x$build_alias" = x; then
1259335e815aSmrg    cross_compiling=maybe
1260335e815aSmrg  elif test "x$build_alias" != "x$host_alias"; then
1261335e815aSmrg    cross_compiling=yes
1262335e815aSmrg  fi
1263335e815aSmrgfi
1264335e815aSmrg
1265335e815aSmrgac_tool_prefix=
1266335e815aSmrgtest -n "$host_alias" && ac_tool_prefix=$host_alias-
1267335e815aSmrg
1268335e815aSmrgtest "$silent" = yes && exec 6>/dev/null
1269335e815aSmrg
1270335e815aSmrg
1271f4959950Smrgac_pwd=`pwd` && test -n "$ac_pwd" &&
1272f4959950Smrgac_ls_di=`ls -di .` &&
1273f4959950Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1274cf8f59bfSmrg  as_fn_error $? "working directory cannot be determined"
1275f4959950Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1276cf8f59bfSmrg  as_fn_error $? "pwd does not report name of working directory"
1277f4959950Smrg
1278f4959950Smrg
1279335e815aSmrg# Find the source files, if location was not specified.
1280335e815aSmrgif test -z "$srcdir"; then
1281335e815aSmrg  ac_srcdir_defaulted=yes
1282f4959950Smrg  # Try the directory containing this script, then the parent directory.
1283f4959950Smrg  ac_confdir=`$as_dirname -- "$as_myself" ||
1284f4959950Smrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1285f4959950Smrg	 X"$as_myself" : 'X\(//\)[^/]' \| \
1286f4959950Smrg	 X"$as_myself" : 'X\(//\)$' \| \
1287f4959950Smrg	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
12880cfee914Smrgprintf "%s\n" X"$as_myself" |
1289f4959950Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1290f4959950Smrg	    s//\1/
1291f4959950Smrg	    q
1292f4959950Smrg	  }
1293f4959950Smrg	  /^X\(\/\/\)[^/].*/{
1294f4959950Smrg	    s//\1/
1295f4959950Smrg	    q
1296f4959950Smrg	  }
1297f4959950Smrg	  /^X\(\/\/\)$/{
1298f4959950Smrg	    s//\1/
1299f4959950Smrg	    q
1300f4959950Smrg	  }
1301f4959950Smrg	  /^X\(\/\).*/{
1302f4959950Smrg	    s//\1/
1303f4959950Smrg	    q
1304f4959950Smrg	  }
1305f4959950Smrg	  s/.*/./; q'`
1306335e815aSmrg  srcdir=$ac_confdir
1307f4959950Smrg  if test ! -r "$srcdir/$ac_unique_file"; then
1308335e815aSmrg    srcdir=..
1309335e815aSmrg  fi
1310335e815aSmrgelse
1311335e815aSmrg  ac_srcdir_defaulted=no
1312335e815aSmrgfi
1313f4959950Smrgif test ! -r "$srcdir/$ac_unique_file"; then
1314f4959950Smrg  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1315cf8f59bfSmrg  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1316335e815aSmrgfi
1317f4959950Smrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1318f4959950Smrgac_abs_confdir=`(
1319cf8f59bfSmrg	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1320f4959950Smrg	pwd)`
1321f4959950Smrg# When building in place, set srcdir=.
1322f4959950Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then
1323f4959950Smrg  srcdir=.
1324f4959950Smrgfi
1325f4959950Smrg# Remove unnecessary trailing slashes from srcdir.
1326f4959950Smrg# Double slashes in file names in object file debugging info
1327f4959950Smrg# mess up M-x gdb in Emacs.
1328f4959950Smrgcase $srcdir in
1329f4959950Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1330f4959950Smrgesac
1331f4959950Smrgfor ac_var in $ac_precious_vars; do
1332f4959950Smrg  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1333f4959950Smrg  eval ac_env_${ac_var}_value=\$${ac_var}
1334f4959950Smrg  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1335f4959950Smrg  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1336f4959950Smrgdone
1337335e815aSmrg
1338335e815aSmrg#
1339335e815aSmrg# Report the --help message.
1340335e815aSmrg#
1341335e815aSmrgif test "$ac_init_help" = "long"; then
1342335e815aSmrg  # Omit some internal or obsolete options to make the list less imposing.
1343335e815aSmrg  # This message is too long to be a string in the A/UX 3.1 sh.
1344335e815aSmrg  cat <<_ACEOF
13450cfee914Smrg\`configure' configures font-misc-misc 1.1.3 to adapt to many kinds of systems.
1346335e815aSmrg
1347335e815aSmrgUsage: $0 [OPTION]... [VAR=VALUE]...
1348335e815aSmrg
1349335e815aSmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as
1350335e815aSmrgVAR=VALUE.  See below for descriptions of some of the useful variables.
1351335e815aSmrg
1352335e815aSmrgDefaults for the options are specified in brackets.
1353335e815aSmrg
1354335e815aSmrgConfiguration:
1355335e815aSmrg  -h, --help              display this help and exit
1356335e815aSmrg      --help=short        display options specific to this package
1357335e815aSmrg      --help=recursive    display the short help of all the included packages
1358335e815aSmrg  -V, --version           display version information and exit
1359cf8f59bfSmrg  -q, --quiet, --silent   do not print \`checking ...' messages
1360335e815aSmrg      --cache-file=FILE   cache test results in FILE [disabled]
1361335e815aSmrg  -C, --config-cache      alias for \`--cache-file=config.cache'
1362335e815aSmrg  -n, --no-create         do not create output files
1363335e815aSmrg      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1364335e815aSmrg
1365335e815aSmrgInstallation directories:
1366335e815aSmrg  --prefix=PREFIX         install architecture-independent files in PREFIX
1367f4959950Smrg                          [$ac_default_prefix]
1368335e815aSmrg  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1369f4959950Smrg                          [PREFIX]
1370335e815aSmrg
1371335e815aSmrgBy default, \`make install' will install all the files in
1372335e815aSmrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1373335e815aSmrgan installation prefix other than \`$ac_default_prefix' using \`--prefix',
1374335e815aSmrgfor instance \`--prefix=\$HOME'.
1375335e815aSmrg
1376335e815aSmrgFor better control, use the options below.
1377335e815aSmrg
1378335e815aSmrgFine tuning of the installation directories:
1379f4959950Smrg  --bindir=DIR            user executables [EPREFIX/bin]
1380f4959950Smrg  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1381f4959950Smrg  --libexecdir=DIR        program executables [EPREFIX/libexec]
1382f4959950Smrg  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1383f4959950Smrg  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1384f4959950Smrg  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
13850cfee914Smrg  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1386f4959950Smrg  --libdir=DIR            object code libraries [EPREFIX/lib]
1387f4959950Smrg  --includedir=DIR        C header files [PREFIX/include]
1388f4959950Smrg  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1389f4959950Smrg  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1390f4959950Smrg  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1391f4959950Smrg  --infodir=DIR           info documentation [DATAROOTDIR/info]
1392f4959950Smrg  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1393f4959950Smrg  --mandir=DIR            man documentation [DATAROOTDIR/man]
1394f4959950Smrg  --docdir=DIR            documentation root [DATAROOTDIR/doc/font-misc-misc]
1395f4959950Smrg  --htmldir=DIR           html documentation [DOCDIR]
1396f4959950Smrg  --dvidir=DIR            dvi documentation [DOCDIR]
1397f4959950Smrg  --pdfdir=DIR            pdf documentation [DOCDIR]
1398f4959950Smrg  --psdir=DIR             ps documentation [DOCDIR]
1399335e815aSmrg_ACEOF
1400335e815aSmrg
1401335e815aSmrg  cat <<\_ACEOF
1402335e815aSmrg
1403335e815aSmrgProgram names:
1404335e815aSmrg  --program-prefix=PREFIX            prepend PREFIX to installed program names
1405335e815aSmrg  --program-suffix=SUFFIX            append SUFFIX to installed program names
1406335e815aSmrg  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1407f4959950Smrg
1408f4959950SmrgSystem types:
1409f4959950Smrg  --build=BUILD     configure for building on BUILD [guessed]
1410f4959950Smrg  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1411335e815aSmrg_ACEOF
1412335e815aSmrgfi
1413335e815aSmrg
1414335e815aSmrgif test -n "$ac_init_help"; then
1415335e815aSmrg  case $ac_init_help in
14160cfee914Smrg     short | recursive ) echo "Configuration of font-misc-misc 1.1.3:";;
1417335e815aSmrg   esac
1418335e815aSmrg  cat <<\_ACEOF
1419335e815aSmrg
1420335e815aSmrgOptional Features:
1421f4959950Smrg  --disable-option-checking  ignore unrecognized --enable/--with options
1422335e815aSmrg  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1423335e815aSmrg  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
14240cfee914Smrg  --enable-silent-rules   less verbose build output (undo: "make V=1")
14250cfee914Smrg  --disable-silent-rules  verbose build output (undo: "make V=0")
142627268fb8Smrg  --disable-all-encodings Disable building of all font encodings
1427335e815aSmrg  --disable-iso8859-1     Build ISO8859-1 fonts (default: yes)
1428335e815aSmrg  --disable-iso8859-2     Build ISO8859-2 fonts (default: yes)
1429335e815aSmrg  --disable-iso8859-3     Build ISO8859-3 fonts (default: yes)
1430335e815aSmrg  --disable-iso8859-4     Build ISO8859-4 fonts (default: yes)
1431335e815aSmrg  --disable-iso8859-5     Build ISO8859-5 fonts (default: yes)
1432335e815aSmrg  --disable-iso8859-7     Build ISO8859-7 fonts (default: yes)
1433335e815aSmrg  --disable-iso8859-8     Build ISO8859-8 fonts (default: yes)
1434335e815aSmrg  --disable-iso8859-9     Build ISO8859-9 fonts (default: yes)
1435335e815aSmrg  --disable-iso8859-10    Build ISO8859-10 fonts (default: yes)
1436335e815aSmrg  --disable-iso8859-11    Build ISO8859-11 fonts (default: yes)
1437335e815aSmrg  --disable-iso8859-13    Build ISO8859-13 fonts (default: yes)
1438335e815aSmrg  --disable-iso8859-14    Build ISO8859-14 fonts (default: yes)
1439335e815aSmrg  --disable-iso8859-15    Build ISO8859-15 fonts (default: yes)
1440335e815aSmrg  --disable-iso8859-16    Build ISO8859-16 fonts (default: yes)
1441335e815aSmrg  --disable-koi8-r        Build KOI8-R fonts (default: yes)
1442335e815aSmrg  --disable-jisx0201      Build JISX0201 fonts (default: yes)
1443335e815aSmrg
1444335e815aSmrgOptional Packages:
1445335e815aSmrg  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1446335e815aSmrg  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1447f4959950Smrg  --with-fontrootdir=DIR  Path to root directory for font files
1448f4959950Smrg  --with-fontdir=DIR      Path to misc files [FONTROOTDIR/misc]
1449f4959950Smrg  --with-compression=<no|compress|gzip|bzip2>
1450f4959950Smrg                          compression method to use on pcf fonts
1451335e815aSmrg
1452335e815aSmrgSome influential environment variables:
1453335e815aSmrg  PKG_CONFIG  path to pkg-config utility
145427268fb8Smrg  PKG_CONFIG_PATH
145527268fb8Smrg              directories to add to pkg-config's search path
145627268fb8Smrg  PKG_CONFIG_LIBDIR
145727268fb8Smrg              path overriding pkg-config's built-in search path
1458335e815aSmrg  MAPS_CFLAGS C compiler flags for MAPS, overriding pkg-config
1459335e815aSmrg  MAPS_LIBS   linker flags for MAPS, overriding pkg-config
1460335e815aSmrg
1461335e815aSmrgUse these variables to override the choices made by `configure' or to help
1462335e815aSmrgit to find libraries and programs with nonstandard names/locations.
1463335e815aSmrg
14640cfee914SmrgReport bugs to <https://gitlab.freedesktop.org/xorg/font/misc-misc/-/issues>.
1465335e815aSmrg_ACEOF
1466f4959950Smrgac_status=$?
1467335e815aSmrgfi
1468335e815aSmrg
1469335e815aSmrgif test "$ac_init_help" = "recursive"; then
1470335e815aSmrg  # If there are subdirs, report their specific --help.
1471335e815aSmrg  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1472f4959950Smrg    test -d "$ac_dir" ||
1473f4959950Smrg      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1474f4959950Smrg      continue
1475335e815aSmrg    ac_builddir=.
1476335e815aSmrg
1477f4959950Smrgcase "$ac_dir" in
1478f4959950Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1479f4959950Smrg*)
14800cfee914Smrg  ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1481f4959950Smrg  # A ".." for each directory in $ac_dir_suffix.
14820cfee914Smrg  ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1483f4959950Smrg  case $ac_top_builddir_sub in
1484f4959950Smrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1485f4959950Smrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1486f4959950Smrg  esac ;;
1487f4959950Smrgesac
1488f4959950Smrgac_abs_top_builddir=$ac_pwd
1489f4959950Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix
1490f4959950Smrg# for backward compatibility:
1491f4959950Smrgac_top_builddir=$ac_top_build_prefix
1492335e815aSmrg
1493335e815aSmrgcase $srcdir in
1494f4959950Smrg  .)  # We are building in place.
1495335e815aSmrg    ac_srcdir=.
1496f4959950Smrg    ac_top_srcdir=$ac_top_builddir_sub
1497f4959950Smrg    ac_abs_top_srcdir=$ac_pwd ;;
1498f4959950Smrg  [\\/]* | ?:[\\/]* )  # Absolute name.
1499335e815aSmrg    ac_srcdir=$srcdir$ac_dir_suffix;
1500f4959950Smrg    ac_top_srcdir=$srcdir
1501f4959950Smrg    ac_abs_top_srcdir=$srcdir ;;
1502f4959950Smrg  *) # Relative name.
1503f4959950Smrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1504f4959950Smrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
1505f4959950Smrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1506335e815aSmrgesac
1507f4959950Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1508f4959950Smrg
1509f4959950Smrg    cd "$ac_dir" || { ac_status=$?; continue; }
15100cfee914Smrg    # Check for configure.gnu first; this name is used for a wrapper for
15110cfee914Smrg    # Metaconfig's "Configure" on case-insensitive file systems.
1512f4959950Smrg    if test -f "$ac_srcdir/configure.gnu"; then
1513f4959950Smrg      echo &&
1514f4959950Smrg      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1515f4959950Smrg    elif test -f "$ac_srcdir/configure"; then
1516f4959950Smrg      echo &&
1517f4959950Smrg      $SHELL "$ac_srcdir/configure" --help=recursive
1518335e815aSmrg    else
15190cfee914Smrg      printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1520f4959950Smrg    fi || ac_status=$?
1521f4959950Smrg    cd "$ac_pwd" || { ac_status=$?; break; }
1522335e815aSmrg  done
1523335e815aSmrgfi
1524335e815aSmrg
1525f4959950Smrgtest -n "$ac_init_help" && exit $ac_status
1526335e815aSmrgif $ac_init_version; then
1527335e815aSmrg  cat <<\_ACEOF
15280cfee914Smrgfont-misc-misc configure 1.1.3
15290cfee914Smrggenerated by GNU Autoconf 2.71
1530335e815aSmrg
15310cfee914SmrgCopyright (C) 2021 Free Software Foundation, Inc.
1532335e815aSmrgThis configure script is free software; the Free Software Foundation
1533335e815aSmrggives unlimited permission to copy, distribute and modify it.
1534335e815aSmrg_ACEOF
1535f4959950Smrg  exit
1536335e815aSmrgfi
1537335e815aSmrg
1538cf8f59bfSmrg## ------------------------ ##
1539cf8f59bfSmrg## Autoconf initialization. ##
1540cf8f59bfSmrg## ------------------------ ##
15410cfee914Smrgac_configure_args_raw=
15420cfee914Smrgfor ac_arg
15430cfee914Smrgdo
15440cfee914Smrg  case $ac_arg in
15450cfee914Smrg  *\'*)
15460cfee914Smrg    ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
15470cfee914Smrg  esac
15480cfee914Smrg  as_fn_append ac_configure_args_raw " '$ac_arg'"
15490cfee914Smrgdone
1550335e815aSmrg
15510cfee914Smrgcase $ac_configure_args_raw in
15520cfee914Smrg  *$as_nl*)
15530cfee914Smrg    ac_safe_unquote= ;;
15540cfee914Smrg  *)
15550cfee914Smrg    ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
15560cfee914Smrg    ac_unsafe_a="$ac_unsafe_z#~"
15570cfee914Smrg    ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
15580cfee914Smrg    ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1559cf8f59bfSmrgesac
1560cf8f59bfSmrg
1561cf8f59bfSmrgcat >config.log <<_ACEOF
1562cf8f59bfSmrgThis file contains any messages produced by compilers while
1563cf8f59bfSmrgrunning configure, to aid debugging if configure makes a mistake.
1564cf8f59bfSmrg
15650cfee914SmrgIt was created by font-misc-misc $as_me 1.1.3, which was
15660cfee914Smrggenerated by GNU Autoconf 2.71.  Invocation command line was
1567cf8f59bfSmrg
15680cfee914Smrg  $ $0$ac_configure_args_raw
1569cf8f59bfSmrg
1570cf8f59bfSmrg_ACEOF
1571cf8f59bfSmrgexec 5>>config.log
1572cf8f59bfSmrg{
1573cf8f59bfSmrgcat <<_ASUNAME
1574cf8f59bfSmrg## --------- ##
1575cf8f59bfSmrg## Platform. ##
1576cf8f59bfSmrg## --------- ##
1577cf8f59bfSmrg
1578cf8f59bfSmrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1579cf8f59bfSmrguname -m = `(uname -m) 2>/dev/null || echo unknown`
1580cf8f59bfSmrguname -r = `(uname -r) 2>/dev/null || echo unknown`
1581cf8f59bfSmrguname -s = `(uname -s) 2>/dev/null || echo unknown`
1582cf8f59bfSmrguname -v = `(uname -v) 2>/dev/null || echo unknown`
1583cf8f59bfSmrg
1584cf8f59bfSmrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1585cf8f59bfSmrg/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1586cf8f59bfSmrg
1587cf8f59bfSmrg/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1588cf8f59bfSmrg/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1589cf8f59bfSmrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1590cf8f59bfSmrg/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1591cf8f59bfSmrg/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1592cf8f59bfSmrg/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1593cf8f59bfSmrg/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1594cf8f59bfSmrg
1595cf8f59bfSmrg_ASUNAME
1596cf8f59bfSmrg
1597cf8f59bfSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1598cf8f59bfSmrgfor as_dir in $PATH
1599335e815aSmrgdo
1600335e815aSmrg  IFS=$as_save_IFS
16010cfee914Smrg  case $as_dir in #(((
16020cfee914Smrg    '') as_dir=./ ;;
16030cfee914Smrg    */) ;;
16040cfee914Smrg    *) as_dir=$as_dir/ ;;
16050cfee914Smrg  esac
16060cfee914Smrg    printf "%s\n" "PATH: $as_dir"
1607cf8f59bfSmrg  done
1608f4959950SmrgIFS=$as_save_IFS
1609335e815aSmrg
1610335e815aSmrg} >&5
1611335e815aSmrg
1612335e815aSmrgcat >&5 <<_ACEOF
1613335e815aSmrg
1614335e815aSmrg
1615335e815aSmrg## ----------- ##
1616335e815aSmrg## Core tests. ##
1617335e815aSmrg## ----------- ##
1618335e815aSmrg
1619335e815aSmrg_ACEOF
1620335e815aSmrg
1621335e815aSmrg
1622335e815aSmrg# Keep a trace of the command line.
1623335e815aSmrg# Strip out --no-create and --no-recursion so they do not pile up.
1624335e815aSmrg# Strip out --silent because we don't want to record it for future runs.
1625335e815aSmrg# Also quote any args containing shell meta-characters.
1626335e815aSmrg# Make two passes to allow for proper duplicate-argument suppression.
1627335e815aSmrgac_configure_args=
1628335e815aSmrgac_configure_args0=
1629335e815aSmrgac_configure_args1=
1630335e815aSmrgac_must_keep_next=false
1631335e815aSmrgfor ac_pass in 1 2
1632335e815aSmrgdo
1633335e815aSmrg  for ac_arg
1634335e815aSmrg  do
1635335e815aSmrg    case $ac_arg in
1636335e815aSmrg    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1637335e815aSmrg    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1638335e815aSmrg    | -silent | --silent | --silen | --sile | --sil)
1639335e815aSmrg      continue ;;
1640f4959950Smrg    *\'*)
16410cfee914Smrg      ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1642335e815aSmrg    esac
1643335e815aSmrg    case $ac_pass in
1644cf8f59bfSmrg    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1645335e815aSmrg    2)
1646cf8f59bfSmrg      as_fn_append ac_configure_args1 " '$ac_arg'"
1647335e815aSmrg      if test $ac_must_keep_next = true; then
1648335e815aSmrg	ac_must_keep_next=false # Got value, back to normal.
1649335e815aSmrg      else
1650335e815aSmrg	case $ac_arg in
1651335e815aSmrg	  *=* | --config-cache | -C | -disable-* | --disable-* \
1652335e815aSmrg	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1653335e815aSmrg	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1654335e815aSmrg	  | -with-* | --with-* | -without-* | --without-* | --x)
1655335e815aSmrg	    case "$ac_configure_args0 " in
1656335e815aSmrg	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1657335e815aSmrg	    esac
1658335e815aSmrg	    ;;
1659335e815aSmrg	  -* ) ac_must_keep_next=true ;;
1660335e815aSmrg	esac
1661335e815aSmrg      fi
1662cf8f59bfSmrg      as_fn_append ac_configure_args " '$ac_arg'"
1663335e815aSmrg      ;;
1664335e815aSmrg    esac
1665335e815aSmrg  done
1666335e815aSmrgdone
1667cf8f59bfSmrg{ ac_configure_args0=; unset ac_configure_args0;}
1668cf8f59bfSmrg{ ac_configure_args1=; unset ac_configure_args1;}
1669335e815aSmrg
1670335e815aSmrg# When interrupted or exit'd, cleanup temporary files, and complete
1671335e815aSmrg# config.log.  We remove comments because anyway the quotes in there
1672335e815aSmrg# would cause problems or look ugly.
1673f4959950Smrg# WARNING: Use '\'' to represent an apostrophe within the trap.
1674f4959950Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1675335e815aSmrgtrap 'exit_status=$?
16760cfee914Smrg  # Sanitize IFS.
16770cfee914Smrg  IFS=" ""	$as_nl"
1678335e815aSmrg  # Save into config.log some information that might help in debugging.
1679335e815aSmrg  {
1680335e815aSmrg    echo
1681335e815aSmrg
16820cfee914Smrg    printf "%s\n" "## ---------------- ##
1683335e815aSmrg## Cache variables. ##
1684cf8f59bfSmrg## ---------------- ##"
1685335e815aSmrg    echo
1686335e815aSmrg    # The following way of writing the cache mishandles newlines in values,
1687f4959950Smrg(
1688f4959950Smrg  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1689f4959950Smrg    eval ac_val=\$$ac_var
1690f4959950Smrg    case $ac_val in #(
1691f4959950Smrg    *${as_nl}*)
1692f4959950Smrg      case $ac_var in #(
16930cfee914Smrg      *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16940cfee914Smrgprintf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1695f4959950Smrg      esac
1696f4959950Smrg      case $ac_var in #(
1697f4959950Smrg      _ | IFS | as_nl) ;; #(
1698f4959950Smrg      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1699cf8f59bfSmrg      *) { eval $ac_var=; unset $ac_var;} ;;
1700f4959950Smrg      esac ;;
1701f4959950Smrg    esac
1702f4959950Smrg  done
1703335e815aSmrg  (set) 2>&1 |
1704f4959950Smrg    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1705f4959950Smrg    *${as_nl}ac_space=\ *)
1706335e815aSmrg      sed -n \
1707f4959950Smrg	"s/'\''/'\''\\\\'\'''\''/g;
1708f4959950Smrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1709f4959950Smrg      ;; #(
1710335e815aSmrg    *)
1711f4959950Smrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1712335e815aSmrg      ;;
1713f4959950Smrg    esac |
1714f4959950Smrg    sort
1715f4959950Smrg)
1716335e815aSmrg    echo
1717335e815aSmrg
17180cfee914Smrg    printf "%s\n" "## ----------------- ##
1719335e815aSmrg## Output variables. ##
1720cf8f59bfSmrg## ----------------- ##"
1721335e815aSmrg    echo
1722335e815aSmrg    for ac_var in $ac_subst_vars
1723335e815aSmrg    do
1724f4959950Smrg      eval ac_val=\$$ac_var
1725f4959950Smrg      case $ac_val in
17260cfee914Smrg      *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1727f4959950Smrg      esac
17280cfee914Smrg      printf "%s\n" "$ac_var='\''$ac_val'\''"
1729335e815aSmrg    done | sort
1730335e815aSmrg    echo
1731335e815aSmrg
1732335e815aSmrg    if test -n "$ac_subst_files"; then
17330cfee914Smrg      printf "%s\n" "## ------------------- ##
1734f4959950Smrg## File substitutions. ##
1735cf8f59bfSmrg## ------------------- ##"
1736335e815aSmrg      echo
1737335e815aSmrg      for ac_var in $ac_subst_files
1738335e815aSmrg      do
1739f4959950Smrg	eval ac_val=\$$ac_var
1740f4959950Smrg	case $ac_val in
17410cfee914Smrg	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1742f4959950Smrg	esac
17430cfee914Smrg	printf "%s\n" "$ac_var='\''$ac_val'\''"
1744335e815aSmrg      done | sort
1745335e815aSmrg      echo
1746335e815aSmrg    fi
1747335e815aSmrg
1748335e815aSmrg    if test -s confdefs.h; then
17490cfee914Smrg      printf "%s\n" "## ----------- ##
1750335e815aSmrg## confdefs.h. ##
1751cf8f59bfSmrg## ----------- ##"
1752335e815aSmrg      echo
1753f4959950Smrg      cat confdefs.h
1754335e815aSmrg      echo
1755335e815aSmrg    fi
1756335e815aSmrg    test "$ac_signal" != 0 &&
17570cfee914Smrg      printf "%s\n" "$as_me: caught signal $ac_signal"
17580cfee914Smrg    printf "%s\n" "$as_me: exit $exit_status"
1759335e815aSmrg  } >&5
1760f4959950Smrg  rm -f core *.core core.conftest.* &&
1761f4959950Smrg    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1762335e815aSmrg    exit $exit_status
1763f4959950Smrg' 0
1764335e815aSmrgfor ac_signal in 1 2 13 15; do
1765cf8f59bfSmrg  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1766335e815aSmrgdone
1767335e815aSmrgac_signal=0
1768335e815aSmrg
1769335e815aSmrg# confdefs.h avoids OS command line length limits that DEFS can exceed.
1770f4959950Smrgrm -f -r conftest* confdefs.h
1771335e815aSmrg
17720cfee914Smrgprintf "%s\n" "/* confdefs.h */" > confdefs.h
1773cf8f59bfSmrg
1774335e815aSmrg# Predefined preprocessor variables.
1775335e815aSmrg
17760cfee914Smrgprintf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1777335e815aSmrg
17780cfee914Smrgprintf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1779335e815aSmrg
17800cfee914Smrgprintf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1781335e815aSmrg
17820cfee914Smrgprintf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1783335e815aSmrg
17840cfee914Smrgprintf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1785335e815aSmrg
17860cfee914Smrgprintf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1787cf8f59bfSmrg
1788335e815aSmrg
1789335e815aSmrg# Let the site file select an alternate cache file if it wants to.
1790f4959950Smrg# Prefer an explicitly selected file to automatically selected ones.
1791f4959950Smrgif test -n "$CONFIG_SITE"; then
17920cfee914Smrg  ac_site_files="$CONFIG_SITE"
1793f4959950Smrgelif test "x$prefix" != xNONE; then
17940cfee914Smrg  ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
1795f4959950Smrgelse
17960cfee914Smrg  ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1797335e815aSmrgfi
17980cfee914Smrg
17990cfee914Smrgfor ac_site_file in $ac_site_files
1800f4959950Smrgdo
18010cfee914Smrg  case $ac_site_file in #(
18020cfee914Smrg  */*) :
18030cfee914Smrg     ;; #(
18040cfee914Smrg  *) :
18050cfee914Smrg    ac_site_file=./$ac_site_file ;;
18060cfee914Smrgesac
18070cfee914Smrg  if test -f "$ac_site_file" && test -r "$ac_site_file"; then
18080cfee914Smrg    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
18090cfee914Smrgprintf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
1810335e815aSmrg    sed 's/^/| /' "$ac_site_file" >&5
1811cf8f59bfSmrg    . "$ac_site_file" \
18120cfee914Smrg      || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18130cfee914Smrgprintf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1814cf8f59bfSmrgas_fn_error $? "failed to load site script $ac_site_file
1815cf8f59bfSmrgSee \`config.log' for more details" "$LINENO" 5; }
1816335e815aSmrg  fi
1817335e815aSmrgdone
1818335e815aSmrg
1819335e815aSmrgif test -r "$cache_file"; then
1820cf8f59bfSmrg  # Some versions of bash will fail to source /dev/null (special files
1821cf8f59bfSmrg  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1822cf8f59bfSmrg  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
18230cfee914Smrg    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
18240cfee914Smrgprintf "%s\n" "$as_me: loading cache $cache_file" >&6;}
1825335e815aSmrg    case $cache_file in
1826f4959950Smrg      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1827f4959950Smrg      *)                      . "./$cache_file";;
1828335e815aSmrg    esac
1829335e815aSmrg  fi
1830335e815aSmrgelse
18310cfee914Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
18320cfee914Smrgprintf "%s\n" "$as_me: creating cache $cache_file" >&6;}
1833335e815aSmrg  >$cache_file
1834335e815aSmrgfi
1835335e815aSmrg
18360cfee914Smrg
18370cfee914Smrg# Auxiliary files required by this configure script.
18380cfee914Smrgac_aux_files="config.guess config.sub missing install-sh"
18390cfee914Smrg
18400cfee914Smrg# Locations in which to look for auxiliary files.
18410cfee914Smrgac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
18420cfee914Smrg
18430cfee914Smrg# Search for a directory containing all of the required auxiliary files,
18440cfee914Smrg# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
18450cfee914Smrg# If we don't find one directory that contains all the files we need,
18460cfee914Smrg# we report the set of missing files from the *first* directory in
18470cfee914Smrg# $ac_aux_dir_candidates and give up.
18480cfee914Smrgac_missing_aux_files=""
18490cfee914Smrgac_first_candidate=:
18500cfee914Smrgprintf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
18510cfee914Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18520cfee914Smrgas_found=false
18530cfee914Smrgfor as_dir in $ac_aux_dir_candidates
18540cfee914Smrgdo
18550cfee914Smrg  IFS=$as_save_IFS
18560cfee914Smrg  case $as_dir in #(((
18570cfee914Smrg    '') as_dir=./ ;;
18580cfee914Smrg    */) ;;
18590cfee914Smrg    *) as_dir=$as_dir/ ;;
18600cfee914Smrg  esac
18610cfee914Smrg  as_found=:
18620cfee914Smrg
18630cfee914Smrg  printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
18640cfee914Smrg  ac_aux_dir_found=yes
18650cfee914Smrg  ac_install_sh=
18660cfee914Smrg  for ac_aux in $ac_aux_files
18670cfee914Smrg  do
18680cfee914Smrg    # As a special case, if "install-sh" is required, that requirement
18690cfee914Smrg    # can be satisfied by any of "install-sh", "install.sh", or "shtool",
18700cfee914Smrg    # and $ac_install_sh is set appropriately for whichever one is found.
18710cfee914Smrg    if test x"$ac_aux" = x"install-sh"
18720cfee914Smrg    then
18730cfee914Smrg      if test -f "${as_dir}install-sh"; then
18740cfee914Smrg        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
18750cfee914Smrg        ac_install_sh="${as_dir}install-sh -c"
18760cfee914Smrg      elif test -f "${as_dir}install.sh"; then
18770cfee914Smrg        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
18780cfee914Smrg        ac_install_sh="${as_dir}install.sh -c"
18790cfee914Smrg      elif test -f "${as_dir}shtool"; then
18800cfee914Smrg        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
18810cfee914Smrg        ac_install_sh="${as_dir}shtool install -c"
18820cfee914Smrg      else
18830cfee914Smrg        ac_aux_dir_found=no
18840cfee914Smrg        if $ac_first_candidate; then
18850cfee914Smrg          ac_missing_aux_files="${ac_missing_aux_files} install-sh"
18860cfee914Smrg        else
18870cfee914Smrg          break
18880cfee914Smrg        fi
18890cfee914Smrg      fi
18900cfee914Smrg    else
18910cfee914Smrg      if test -f "${as_dir}${ac_aux}"; then
18920cfee914Smrg        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
18930cfee914Smrg      else
18940cfee914Smrg        ac_aux_dir_found=no
18950cfee914Smrg        if $ac_first_candidate; then
18960cfee914Smrg          ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
18970cfee914Smrg        else
18980cfee914Smrg          break
18990cfee914Smrg        fi
19000cfee914Smrg      fi
19010cfee914Smrg    fi
19020cfee914Smrg  done
19030cfee914Smrg  if test "$ac_aux_dir_found" = yes; then
19040cfee914Smrg    ac_aux_dir="$as_dir"
19050cfee914Smrg    break
19060cfee914Smrg  fi
19070cfee914Smrg  ac_first_candidate=false
19080cfee914Smrg
19090cfee914Smrg  as_found=false
19100cfee914Smrgdone
19110cfee914SmrgIFS=$as_save_IFS
19120cfee914Smrgif $as_found
19130cfee914Smrgthen :
19140cfee914Smrg
19150cfee914Smrgelse $as_nop
19160cfee914Smrg  as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
19170cfee914Smrgfi
19180cfee914Smrg
19190cfee914Smrg
19200cfee914Smrg# These three variables are undocumented and unsupported,
19210cfee914Smrg# and are intended to be withdrawn in a future Autoconf release.
19220cfee914Smrg# They can cause serious problems if a builder's source tree is in a directory
19230cfee914Smrg# whose full name contains unusual characters.
19240cfee914Smrgif test -f "${ac_aux_dir}config.guess"; then
19250cfee914Smrg  ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
19260cfee914Smrgfi
19270cfee914Smrgif test -f "${ac_aux_dir}config.sub"; then
19280cfee914Smrg  ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
19290cfee914Smrgfi
19300cfee914Smrgif test -f "$ac_aux_dir/configure"; then
19310cfee914Smrg  ac_configure="$SHELL ${ac_aux_dir}configure"
19320cfee914Smrgfi
19330cfee914Smrg
1934335e815aSmrg# Check that the precious variables saved in the cache have kept the same
1935335e815aSmrg# value.
1936335e815aSmrgac_cache_corrupted=false
1937f4959950Smrgfor ac_var in $ac_precious_vars; do
1938335e815aSmrg  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1939335e815aSmrg  eval ac_new_set=\$ac_env_${ac_var}_set
1940f4959950Smrg  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1941f4959950Smrg  eval ac_new_val=\$ac_env_${ac_var}_value
1942335e815aSmrg  case $ac_old_set,$ac_new_set in
1943335e815aSmrg    set,)
19440cfee914Smrg      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
19450cfee914Smrgprintf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1946335e815aSmrg      ac_cache_corrupted=: ;;
1947335e815aSmrg    ,set)
19480cfee914Smrg      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
19490cfee914Smrgprintf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1950335e815aSmrg      ac_cache_corrupted=: ;;
1951335e815aSmrg    ,);;
1952335e815aSmrg    *)
1953335e815aSmrg      if test "x$ac_old_val" != "x$ac_new_val"; then
1954f4959950Smrg	# differences in whitespace do not lead to failure.
1955f4959950Smrg	ac_old_val_w=`echo x $ac_old_val`
1956f4959950Smrg	ac_new_val_w=`echo x $ac_new_val`
1957f4959950Smrg	if test "$ac_old_val_w" != "$ac_new_val_w"; then
19580cfee914Smrg	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
19590cfee914Smrgprintf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1960f4959950Smrg	  ac_cache_corrupted=:
1961f4959950Smrg	else
19620cfee914Smrg	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
19630cfee914Smrgprintf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1964f4959950Smrg	  eval $ac_var=\$ac_old_val
1965f4959950Smrg	fi
19660cfee914Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
19670cfee914Smrgprintf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
19680cfee914Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
19690cfee914Smrgprintf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
1970335e815aSmrg      fi;;
1971335e815aSmrg  esac
1972335e815aSmrg  # Pass precious variables to config.status.
1973335e815aSmrg  if test "$ac_new_set" = set; then
1974335e815aSmrg    case $ac_new_val in
19750cfee914Smrg    *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1976335e815aSmrg    *) ac_arg=$ac_var=$ac_new_val ;;
1977335e815aSmrg    esac
1978335e815aSmrg    case " $ac_configure_args " in
1979335e815aSmrg      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1980cf8f59bfSmrg      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1981335e815aSmrg    esac
1982335e815aSmrg  fi
1983335e815aSmrgdone
1984335e815aSmrgif $ac_cache_corrupted; then
19850cfee914Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19860cfee914Smrgprintf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
19870cfee914Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
19880cfee914Smrgprintf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
19890cfee914Smrg  as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
19900cfee914Smrg	    and start over" "$LINENO" 5
1991335e815aSmrgfi
1992cf8f59bfSmrg## -------------------- ##
1993cf8f59bfSmrg## Main body of script. ##
1994cf8f59bfSmrg## -------------------- ##
1995335e815aSmrg
1996f4959950Smrgac_ext=c
1997f4959950Smrgac_cpp='$CPP $CPPFLAGS'
1998f4959950Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1999f4959950Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2000f4959950Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
2001335e815aSmrg
2002335e815aSmrg
20030cfee914Smrgam__api_version='1.16'
2004f4959950Smrg
2005f4959950Smrg
2006335e815aSmrg
20070cfee914Smrg  # Find a good install program.  We prefer a C program (faster),
2008335e815aSmrg# so one script is as good as another.  But avoid the broken or
2009335e815aSmrg# incompatible versions:
2010335e815aSmrg# SysV /etc/install, /usr/sbin/install
2011335e815aSmrg# SunOS /usr/etc/install
2012335e815aSmrg# IRIX /sbin/install
2013335e815aSmrg# AIX /bin/install
2014335e815aSmrg# AmigaOS /C/install, which installs bootblocks on floppy discs
2015335e815aSmrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2016335e815aSmrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2017335e815aSmrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2018335e815aSmrg# OS/2's system install, which has a completely different semantic
2019335e815aSmrg# ./install, which can be erroneously created by make from ./install.sh.
2020f4959950Smrg# Reject install programs that cannot install multiple files.
20210cfee914Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
20220cfee914Smrgprintf %s "checking for a BSD-compatible install... " >&6; }
2023335e815aSmrgif test -z "$INSTALL"; then
20240cfee914Smrgif test ${ac_cv_path_install+y}
20250cfee914Smrgthen :
20260cfee914Smrg  printf %s "(cached) " >&6
20270cfee914Smrgelse $as_nop
2028335e815aSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2029335e815aSmrgfor as_dir in $PATH
2030335e815aSmrgdo
2031335e815aSmrg  IFS=$as_save_IFS
20320cfee914Smrg  case $as_dir in #(((
20330cfee914Smrg    '') as_dir=./ ;;
20340cfee914Smrg    */) ;;
20350cfee914Smrg    *) as_dir=$as_dir/ ;;
20360cfee914Smrg  esac
20370cfee914Smrg    # Account for fact that we put trailing slashes in our PATH walk.
20380cfee914Smrgcase $as_dir in #((
20390cfee914Smrg  ./ | /[cC]/* | \
2040335e815aSmrg  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2041cf8f59bfSmrg  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2042335e815aSmrg  /usr/ucb/* ) ;;
2043335e815aSmrg  *)
2044335e815aSmrg    # OSF1 and SCO ODT 3.0 have their own names for install.
2045335e815aSmrg    # Don't use installbsd from OSF since it installs stuff as root
2046335e815aSmrg    # by default.
2047335e815aSmrg    for ac_prog in ginstall scoinst install; do
2048335e815aSmrg      for ac_exec_ext in '' $ac_executable_extensions; do
20490cfee914Smrg	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
2050335e815aSmrg	  if test $ac_prog = install &&
20510cfee914Smrg	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2052335e815aSmrg	    # AIX install.  It has an incompatible calling convention.
2053335e815aSmrg	    :
2054335e815aSmrg	  elif test $ac_prog = install &&
20550cfee914Smrg	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2056335e815aSmrg	    # program-specific install script used by HP pwplus--don't use.
2057335e815aSmrg	    :
2058335e815aSmrg	  else
2059f4959950Smrg	    rm -rf conftest.one conftest.two conftest.dir
2060f4959950Smrg	    echo one > conftest.one
2061f4959950Smrg	    echo two > conftest.two
2062f4959950Smrg	    mkdir conftest.dir
20630cfee914Smrg	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
2064f4959950Smrg	      test -s conftest.one && test -s conftest.two &&
2065f4959950Smrg	      test -s conftest.dir/conftest.one &&
2066f4959950Smrg	      test -s conftest.dir/conftest.two
2067f4959950Smrg	    then
20680cfee914Smrg	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
2069f4959950Smrg	      break 3
2070f4959950Smrg	    fi
2071335e815aSmrg	  fi
2072335e815aSmrg	fi
2073335e815aSmrg      done
2074335e815aSmrg    done
2075335e815aSmrg    ;;
2076335e815aSmrgesac
2077f4959950Smrg
2078cf8f59bfSmrg  done
2079f4959950SmrgIFS=$as_save_IFS
2080335e815aSmrg
2081f4959950Smrgrm -rf conftest.one conftest.two conftest.dir
2082335e815aSmrg
2083335e815aSmrgfi
20840cfee914Smrg  if test ${ac_cv_path_install+y}; then
2085335e815aSmrg    INSTALL=$ac_cv_path_install
2086335e815aSmrg  else
2087f4959950Smrg    # As a last resort, use the slow shell script.  Don't cache a
2088f4959950Smrg    # value for INSTALL within a source directory, because that will
2089335e815aSmrg    # break other packages using the cache if that directory is
2090f4959950Smrg    # removed, or if the value is a relative name.
2091335e815aSmrg    INSTALL=$ac_install_sh
2092335e815aSmrg  fi
2093335e815aSmrgfi
20940cfee914Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
20950cfee914Smrgprintf "%s\n" "$INSTALL" >&6; }
2096335e815aSmrg
2097335e815aSmrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2098335e815aSmrg# It thinks the first close brace ends the variable substitution.
2099335e815aSmrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2100335e815aSmrg
2101335e815aSmrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2102335e815aSmrg
2103335e815aSmrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2104335e815aSmrg
21050cfee914Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
21060cfee914Smrgprintf %s "checking whether build environment is sane... " >&6; }
2107f4959950Smrg# Reject unsafe characters in $srcdir or the absolute working directory
2108f4959950Smrg# name.  Accept space and tab only in the latter.
2109f4959950Smrgam_lf='
2110f4959950Smrg'
2111f4959950Smrgcase `pwd` in
2112f4959950Smrg  *[\\\"\#\$\&\'\`$am_lf]*)
2113cf8f59bfSmrg    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2114f4959950Smrgesac
2115f4959950Smrgcase $srcdir in
2116f4959950Smrg  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
21170cfee914Smrg    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2118f4959950Smrgesac
2119f4959950Smrg
21200cfee914Smrg# Do 'set' in a subshell so we don't clobber the current shell's
2121335e815aSmrg# arguments.  Must try -L first in case configure is actually a
2122335e815aSmrg# symlink; some systems play weird games with the mod time of symlinks
2123335e815aSmrg# (eg FreeBSD returns the mod time of the symlink's containing
2124335e815aSmrg# directory).
2125335e815aSmrgif (
21260cfee914Smrg   am_has_slept=no
21270cfee914Smrg   for am_try in 1 2; do
21280cfee914Smrg     echo "timestamp, slept: $am_has_slept" > conftest.file
21290cfee914Smrg     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
21300cfee914Smrg     if test "$*" = "X"; then
21310cfee914Smrg	# -L didn't work.
21320cfee914Smrg	set X `ls -t "$srcdir/configure" conftest.file`
21330cfee914Smrg     fi
21340cfee914Smrg     if test "$*" != "X $srcdir/configure conftest.file" \
21350cfee914Smrg	&& test "$*" != "X conftest.file $srcdir/configure"; then
21360cfee914Smrg
21370cfee914Smrg	# If neither matched, then we have a broken ls.  This can happen
21380cfee914Smrg	# if, for instance, CONFIG_SHELL is bash and it inherits a
21390cfee914Smrg	# broken ls alias from the environment.  This has actually
21400cfee914Smrg	# happened.  Such a system could not be considered "sane".
21410cfee914Smrg	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
21420cfee914Smrg  alias in your environment" "$LINENO" 5
21430cfee914Smrg     fi
21440cfee914Smrg     if test "$2" = conftest.file || test $am_try -eq 2; then
21450cfee914Smrg       break
21460cfee914Smrg     fi
21470cfee914Smrg     # Just in case.
21480cfee914Smrg     sleep 1
21490cfee914Smrg     am_has_slept=yes
21500cfee914Smrg   done
2151335e815aSmrg   test "$2" = conftest.file
2152335e815aSmrg   )
2153335e815aSmrgthen
2154335e815aSmrg   # Ok.
2155335e815aSmrg   :
2156335e815aSmrgelse
2157cf8f59bfSmrg   as_fn_error $? "newly created file is older than distributed files!
2158cf8f59bfSmrgCheck your system clock" "$LINENO" 5
2159335e815aSmrgfi
21600cfee914Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21610cfee914Smrgprintf "%s\n" "yes" >&6; }
21620cfee914Smrg# If we didn't sleep, we still need to ensure time stamps of config.status and
21630cfee914Smrg# generated files are strictly newer.
21640cfee914Smrgam_sleep_pid=
21650cfee914Smrgif grep 'slept: no' conftest.file >/dev/null 2>&1; then
21660cfee914Smrg  ( sleep 1 ) &
21670cfee914Smrg  am_sleep_pid=$!
21680cfee914Smrgfi
21690cfee914Smrg
21700cfee914Smrgrm -f conftest.file
21710cfee914Smrg
2172335e815aSmrgtest "$program_prefix" != NONE &&
2173f4959950Smrg  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2174335e815aSmrg# Use a double $ so make ignores it.
2175335e815aSmrgtest "$program_suffix" != NONE &&
2176f4959950Smrg  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2177f4959950Smrg# Double any \ or $.
2178335e815aSmrg# By default was `s,x,x', remove it if useless.
2179f4959950Smrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
21800cfee914Smrgprogram_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
2181335e815aSmrg
2182335e815aSmrg
21830cfee914Smrg# Expand $ac_aux_dir to an absolute path.
21840cfee914Smrgam_aux_dir=`cd "$ac_aux_dir" && pwd`
21850cfee914Smrg
21860cfee914Smrg
21870cfee914Smrg  if test x"${MISSING+set}" != xset; then
21880cfee914Smrg  MISSING="\${SHELL} '$am_aux_dir/missing'"
2189f4959950Smrgfi
2190335e815aSmrg# Use eval to expand $SHELL
21910cfee914Smrgif eval "$MISSING --is-lightweight"; then
21920cfee914Smrg  am_missing_run="$MISSING "
2193335e815aSmrgelse
2194335e815aSmrg  am_missing_run=
21950cfee914Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
21960cfee914Smrgprintf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2197f4959950Smrgfi
2198f4959950Smrg
21990cfee914Smrgif test x"${install_sh+set}" != xset; then
2200f4959950Smrg  case $am_aux_dir in
2201f4959950Smrg  *\ * | *\	*)
2202f4959950Smrg    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2203f4959950Smrg  *)
2204f4959950Smrg    install_sh="\${SHELL} $am_aux_dir/install-sh"
2205f4959950Smrg  esac
2206f4959950Smrgfi
2207f4959950Smrg
22080cfee914Smrg# Installed binaries are usually stripped using 'strip' when the user
22090cfee914Smrg# run "make install-strip".  However 'strip' might not be the right
2210f4959950Smrg# tool to use in cross-compilation environments, therefore Automake
22110cfee914Smrg# will honor the 'STRIP' environment variable to overrule this program.
2212f4959950Smrgif test "$cross_compiling" != no; then
2213f4959950Smrg  if test -n "$ac_tool_prefix"; then
2214f4959950Smrg  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2215f4959950Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2
22160cfee914Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22170cfee914Smrgprintf %s "checking for $ac_word... " >&6; }
22180cfee914Smrgif test ${ac_cv_prog_STRIP+y}
22190cfee914Smrgthen :
22200cfee914Smrg  printf %s "(cached) " >&6
22210cfee914Smrgelse $as_nop
2222f4959950Smrg  if test -n "$STRIP"; then
2223f4959950Smrg  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2224f4959950Smrgelse
2225f4959950Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2226f4959950Smrgfor as_dir in $PATH
2227f4959950Smrgdo
2228f4959950Smrg  IFS=$as_save_IFS
22290cfee914Smrg  case $as_dir in #(((
22300cfee914Smrg    '') as_dir=./ ;;
22310cfee914Smrg    */) ;;
22320cfee914Smrg    *) as_dir=$as_dir/ ;;
22330cfee914Smrg  esac
2234cf8f59bfSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
22350cfee914Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2236f4959950Smrg    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
22370cfee914Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2238f4959950Smrg    break 2
2239f4959950Smrg  fi
2240f4959950Smrgdone
2241cf8f59bfSmrg  done
2242f4959950SmrgIFS=$as_save_IFS
2243f4959950Smrg
2244f4959950Smrgfi
2245f4959950Smrgfi
2246f4959950SmrgSTRIP=$ac_cv_prog_STRIP
2247f4959950Smrgif test -n "$STRIP"; then
22480cfee914Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
22490cfee914Smrgprintf "%s\n" "$STRIP" >&6; }
2250f4959950Smrgelse
22510cfee914Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22520cfee914Smrgprintf "%s\n" "no" >&6; }
2253f4959950Smrgfi
2254f4959950Smrg
2255f4959950Smrg
2256f4959950Smrgfi
2257f4959950Smrgif test -z "$ac_cv_prog_STRIP"; then
2258f4959950Smrg  ac_ct_STRIP=$STRIP
2259f4959950Smrg  # Extract the first word of "strip", so it can be a program name with args.
2260f4959950Smrgset dummy strip; ac_word=$2
22610cfee914Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22620cfee914Smrgprintf %s "checking for $ac_word... " >&6; }
22630cfee914Smrgif test ${ac_cv_prog_ac_ct_STRIP+y}
22640cfee914Smrgthen :
22650cfee914Smrg  printf %s "(cached) " >&6
22660cfee914Smrgelse $as_nop
2267f4959950Smrg  if test -n "$ac_ct_STRIP"; then
2268f4959950Smrg  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2269f4959950Smrgelse
2270f4959950Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2271f4959950Smrgfor as_dir in $PATH
2272f4959950Smrgdo
2273f4959950Smrg  IFS=$as_save_IFS
22740cfee914Smrg  case $as_dir in #(((
22750cfee914Smrg    '') as_dir=./ ;;
22760cfee914Smrg    */) ;;
22770cfee914Smrg    *) as_dir=$as_dir/ ;;
22780cfee914Smrg  esac
2279cf8f59bfSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
22800cfee914Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2281f4959950Smrg    ac_cv_prog_ac_ct_STRIP="strip"
22820cfee914Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2283f4959950Smrg    break 2
2284f4959950Smrg  fi
2285f4959950Smrgdone
2286cf8f59bfSmrg  done
2287f4959950SmrgIFS=$as_save_IFS
2288f4959950Smrg
2289f4959950Smrgfi
2290f4959950Smrgfi
2291f4959950Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2292f4959950Smrgif test -n "$ac_ct_STRIP"; then
22930cfee914Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
22940cfee914Smrgprintf "%s\n" "$ac_ct_STRIP" >&6; }
2295f4959950Smrgelse
22960cfee914Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22970cfee914Smrgprintf "%s\n" "no" >&6; }
2298335e815aSmrgfi
2299335e815aSmrg
2300f4959950Smrg  if test "x$ac_ct_STRIP" = x; then
2301f4959950Smrg    STRIP=":"
2302f4959950Smrg  else
2303f4959950Smrg    case $cross_compiling:$ac_tool_warned in
2304f4959950Smrgyes:)
23050cfee914Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
23060cfee914Smrgprintf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2307f4959950Smrgac_tool_warned=yes ;;
2308f4959950Smrgesac
2309f4959950Smrg    STRIP=$ac_ct_STRIP
2310f4959950Smrg  fi
2311f4959950Smrgelse
2312f4959950Smrg  STRIP="$ac_cv_prog_STRIP"
2313f4959950Smrgfi
2314f4959950Smrg
2315f4959950Smrgfi
2316f4959950SmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2317f4959950Smrg
23180cfee914Smrg
23190cfee914Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
23200cfee914Smrgprintf %s "checking for a race-free mkdir -p... " >&6; }
2321f4959950Smrgif test -z "$MKDIR_P"; then
23220cfee914Smrg  if test ${ac_cv_path_mkdir+y}
23230cfee914Smrgthen :
23240cfee914Smrg  printf %s "(cached) " >&6
23250cfee914Smrgelse $as_nop
2326f4959950Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2327f4959950Smrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2328f4959950Smrgdo
2329f4959950Smrg  IFS=$as_save_IFS
23300cfee914Smrg  case $as_dir in #(((
23310cfee914Smrg    '') as_dir=./ ;;
23320cfee914Smrg    */) ;;
23330cfee914Smrg    *) as_dir=$as_dir/ ;;
23340cfee914Smrg  esac
2335cf8f59bfSmrg    for ac_prog in mkdir gmkdir; do
2336f4959950Smrg	 for ac_exec_ext in '' $ac_executable_extensions; do
23370cfee914Smrg	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
23380cfee914Smrg	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
23390cfee914Smrg	     'mkdir ('*'coreutils) '* | \
23400cfee914Smrg	     'BusyBox '* | \
2341f4959950Smrg	     'mkdir (fileutils) '4.1*)
23420cfee914Smrg	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
2343f4959950Smrg	       break 3;;
2344f4959950Smrg	   esac
2345f4959950Smrg	 done
2346f4959950Smrg       done
2347cf8f59bfSmrg  done
2348f4959950SmrgIFS=$as_save_IFS
2349f4959950Smrg
2350f4959950Smrgfi
2351f4959950Smrg
2352cf8f59bfSmrg  test -d ./--version && rmdir ./--version
23530cfee914Smrg  if test ${ac_cv_path_mkdir+y}; then
2354f4959950Smrg    MKDIR_P="$ac_cv_path_mkdir -p"
2355f4959950Smrg  else
2356f4959950Smrg    # As a last resort, use the slow shell script.  Don't cache a
2357f4959950Smrg    # value for MKDIR_P within a source directory, because that will
2358f4959950Smrg    # break other packages using the cache if that directory is
2359f4959950Smrg    # removed, or if the value is a relative name.
2360f4959950Smrg    MKDIR_P="$ac_install_sh -d"
2361f4959950Smrg  fi
2362f4959950Smrgfi
23630cfee914Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
23640cfee914Smrgprintf "%s\n" "$MKDIR_P" >&6; }
2365f4959950Smrg
2366335e815aSmrgfor ac_prog in gawk mawk nawk awk
2367335e815aSmrgdo
2368335e815aSmrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
2369335e815aSmrgset dummy $ac_prog; ac_word=$2
23700cfee914Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23710cfee914Smrgprintf %s "checking for $ac_word... " >&6; }
23720cfee914Smrgif test ${ac_cv_prog_AWK+y}
23730cfee914Smrgthen :
23740cfee914Smrg  printf %s "(cached) " >&6
23750cfee914Smrgelse $as_nop
2376335e815aSmrg  if test -n "$AWK"; then
2377335e815aSmrg  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2378335e815aSmrgelse
2379335e815aSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2380335e815aSmrgfor as_dir in $PATH
2381335e815aSmrgdo
2382335e815aSmrg  IFS=$as_save_IFS
23830cfee914Smrg  case $as_dir in #(((
23840cfee914Smrg    '') as_dir=./ ;;
23850cfee914Smrg    */) ;;
23860cfee914Smrg    *) as_dir=$as_dir/ ;;
23870cfee914Smrg  esac
2388cf8f59bfSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
23890cfee914Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2390335e815aSmrg    ac_cv_prog_AWK="$ac_prog"
23910cfee914Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2392335e815aSmrg    break 2
2393335e815aSmrg  fi
2394335e815aSmrgdone
2395cf8f59bfSmrg  done
2396f4959950SmrgIFS=$as_save_IFS
2397335e815aSmrg
2398335e815aSmrgfi
2399335e815aSmrgfi
2400335e815aSmrgAWK=$ac_cv_prog_AWK
2401335e815aSmrgif test -n "$AWK"; then
24020cfee914Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
24030cfee914Smrgprintf "%s\n" "$AWK" >&6; }
2404335e815aSmrgelse
24050cfee914Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24060cfee914Smrgprintf "%s\n" "no" >&6; }
2407335e815aSmrgfi
2408335e815aSmrg
2409f4959950Smrg
2410335e815aSmrg  test -n "$AWK" && break
2411335e815aSmrgdone
2412335e815aSmrg
24130cfee914Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
24140cfee914Smrgprintf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2415f4959950Smrgset x ${MAKE-make}
24160cfee914Smrgac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
24170cfee914Smrgif eval test \${ac_cv_prog_make_${ac_make}_set+y}
24180cfee914Smrgthen :
24190cfee914Smrg  printf %s "(cached) " >&6
24200cfee914Smrgelse $as_nop
2421335e815aSmrg  cat >conftest.make <<\_ACEOF
2422f4959950SmrgSHELL = /bin/sh
2423335e815aSmrgall:
2424f4959950Smrg	@echo '@@@%%%=$(MAKE)=@@@%%%'
2425335e815aSmrg_ACEOF
2426cf8f59bfSmrg# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2427f4959950Smrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in
2428f4959950Smrg  *@@@%%%=?*=@@@%%%*)
2429f4959950Smrg    eval ac_cv_prog_make_${ac_make}_set=yes;;
2430f4959950Smrg  *)
2431f4959950Smrg    eval ac_cv_prog_make_${ac_make}_set=no;;
2432f4959950Smrgesac
2433335e815aSmrgrm -f conftest.make
2434335e815aSmrgfi
2435f4959950Smrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
24360cfee914Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24370cfee914Smrgprintf "%s\n" "yes" >&6; }
2438335e815aSmrg  SET_MAKE=
2439335e815aSmrgelse
24400cfee914Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24410cfee914Smrgprintf "%s\n" "no" >&6; }
2442335e815aSmrg  SET_MAKE="MAKE=${MAKE-make}"
2443335e815aSmrgfi
2444335e815aSmrg
2445335e815aSmrgrm -rf .tst 2>/dev/null
2446335e815aSmrgmkdir .tst 2>/dev/null
2447335e815aSmrgif test -d .tst; then
2448335e815aSmrg  am__leading_dot=.
2449335e815aSmrgelse
2450335e815aSmrg  am__leading_dot=_
2451335e815aSmrgfi
2452335e815aSmrgrmdir .tst 2>/dev/null
2453335e815aSmrg
24540cfee914Smrg# Check whether --enable-silent-rules was given.
24550cfee914Smrgif test ${enable_silent_rules+y}
24560cfee914Smrgthen :
24570cfee914Smrg  enableval=$enable_silent_rules;
24580cfee914Smrgfi
24590cfee914Smrg
24600cfee914Smrgcase $enable_silent_rules in # (((
24610cfee914Smrg  yes) AM_DEFAULT_VERBOSITY=0;;
24620cfee914Smrg   no) AM_DEFAULT_VERBOSITY=1;;
24630cfee914Smrg    *) AM_DEFAULT_VERBOSITY=1;;
24640cfee914Smrgesac
24650cfee914Smrgam_make=${MAKE-make}
24660cfee914Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
24670cfee914Smrgprintf %s "checking whether $am_make supports nested variables... " >&6; }
24680cfee914Smrgif test ${am_cv_make_support_nested_variables+y}
24690cfee914Smrgthen :
24700cfee914Smrg  printf %s "(cached) " >&6
24710cfee914Smrgelse $as_nop
24720cfee914Smrg  if printf "%s\n" 'TRUE=$(BAR$(V))
24730cfee914SmrgBAR0=false
24740cfee914SmrgBAR1=true
24750cfee914SmrgV=1
24760cfee914Smrgam__doit:
24770cfee914Smrg	@$(TRUE)
24780cfee914Smrg.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
24790cfee914Smrg  am_cv_make_support_nested_variables=yes
24800cfee914Smrgelse
24810cfee914Smrg  am_cv_make_support_nested_variables=no
24820cfee914Smrgfi
24830cfee914Smrgfi
24840cfee914Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
24850cfee914Smrgprintf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
24860cfee914Smrgif test $am_cv_make_support_nested_variables = yes; then
24870cfee914Smrg    AM_V='$(V)'
24880cfee914Smrg  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
24890cfee914Smrgelse
24900cfee914Smrg  AM_V=$AM_DEFAULT_VERBOSITY
24910cfee914Smrg  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
24920cfee914Smrgfi
24930cfee914SmrgAM_BACKSLASH='\'
24940cfee914Smrg
2495f4959950Smrgif test "`cd $srcdir && pwd`" != "`pwd`"; then
2496f4959950Smrg  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2497f4959950Smrg  # is not polluted with repeated "-I."
2498f4959950Smrg  am__isrc=' -I$(srcdir)'
2499f4959950Smrg  # test to see if srcdir already configured
2500f4959950Smrg  if test -f $srcdir/config.status; then
2501cf8f59bfSmrg    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2502f4959950Smrg  fi
2503335e815aSmrgfi
2504335e815aSmrg
2505335e815aSmrg# test whether we have cygpath
2506335e815aSmrgif test -z "$CYGPATH_W"; then
2507335e815aSmrg  if (cygpath --version) >/dev/null 2>/dev/null; then
2508335e815aSmrg    CYGPATH_W='cygpath -w'
2509335e815aSmrg  else
2510335e815aSmrg    CYGPATH_W=echo
2511335e815aSmrg  fi
2512335e815aSmrgfi
2513335e815aSmrg
2514335e815aSmrg
2515335e815aSmrg# Define the identity of the package.
2516335e815aSmrg PACKAGE='font-misc-misc'
25170cfee914Smrg VERSION='1.1.3'
2518335e815aSmrg
2519335e815aSmrg
25200cfee914Smrgprintf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
2521335e815aSmrg
2522335e815aSmrg
25230cfee914Smrgprintf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
2524335e815aSmrg
2525335e815aSmrg# Some tools Automake needs.
2526335e815aSmrg
2527335e815aSmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2528335e815aSmrg
2529335e815aSmrg
2530335e815aSmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2531335e815aSmrg
2532335e815aSmrg
2533335e815aSmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2534335e815aSmrg
2535335e815aSmrg
2536335e815aSmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2537335e815aSmrg
2538335e815aSmrg
2539335e815aSmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2540335e815aSmrg
25410cfee914Smrg# For better backward compatibility.  To be removed once Automake 1.9.x
25420cfee914Smrg# dies out for good.  For more background, see:
25430cfee914Smrg# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
25440cfee914Smrg# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
25450cfee914Smrgmkdir_p='$(MKDIR_P)'
2546f4959950Smrg
25470cfee914Smrg# We need awk for the "check" target (and possibly the TAP driver).  The
25480cfee914Smrg# system "awk" is bad on some platforms.
25490cfee914Smrg# Always define AMTAR for backward compatibility.  Yes, it's still used
25500cfee914Smrg# in the wild :-(  We should find a proper way to deprecate it ...
25510cfee914SmrgAMTAR='$${TAR-tar}'
2552f4959950Smrg
2553f4959950Smrg
25540cfee914Smrg# We'll loop over all known methods to create a tar archive until one works.
25550cfee914Smrg_am_tools='gnutar  pax cpio none'
2556f4959950Smrg
25570cfee914Smrgam__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2558f4959950Smrg
2559f4959950Smrg
25600cfee914Smrg
25610cfee914Smrg
25620cfee914Smrg
25630cfee914Smrg# Variables for tags utilities; see am/tags.am
25640cfee914Smrgif test -z "$CTAGS"; then
25650cfee914Smrg  CTAGS=ctags
2566f4959950Smrgfi
2567f4959950Smrg
25680cfee914Smrgif test -z "$ETAGS"; then
25690cfee914Smrg  ETAGS=etags
2570f4959950Smrgfi
2571f4959950Smrg
25720cfee914Smrgif test -z "$CSCOPE"; then
25730cfee914Smrg  CSCOPE=cscope
25740cfee914Smrgfi
2575f4959950Smrg
2576f4959950Smrg
2577f4959950Smrg
25780cfee914Smrg# POSIX will say in a future version that running "rm -f" with no argument
25790cfee914Smrg# is OK; and we want to be able to make that assumption in our Makefile
25800cfee914Smrg# recipes.  So use an aggressive probe to check that the usage we want is
25810cfee914Smrg# actually supported "in the wild" to an acceptable degree.
25820cfee914Smrg# See automake bug#10828.
25830cfee914Smrg# To make any issue more visible, cause the running configure to be aborted
25840cfee914Smrg# by default if the 'rm' program in use doesn't match our expectations; the
25850cfee914Smrg# user can still override this though.
25860cfee914Smrgif rm -f && rm -fr && rm -rf; then : OK; else
25870cfee914Smrg  cat >&2 <<'END'
25880cfee914SmrgOops!
2589f4959950Smrg
25900cfee914SmrgYour 'rm' program seems unable to run without file operands specified
25910cfee914Smrgon the command line, even when the '-f' option is present.  This is contrary
25920cfee914Smrgto the behaviour of most rm programs out there, and not conforming with
25930cfee914Smrgthe upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2594cf8f59bfSmrg
25950cfee914SmrgPlease tell bug-automake@gnu.org about your system, including the value
25960cfee914Smrgof your $PATH and any error possibly output before this message.  This
25970cfee914Smrgcan help us improve future automake versions.
2598f4959950Smrg
25990cfee914SmrgEND
26000cfee914Smrg  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
26010cfee914Smrg    echo 'Configuration will proceed anyway, since you have set the' >&2
26020cfee914Smrg    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
26030cfee914Smrg    echo >&2
26040cfee914Smrg  else
26050cfee914Smrg    cat >&2 <<'END'
26060cfee914SmrgAborting the configuration process, to ensure you take notice of the issue.
2607f4959950Smrg
26080cfee914SmrgYou can download and install GNU coreutils to get an 'rm' implementation
26090cfee914Smrgthat behaves properly: <https://www.gnu.org/software/coreutils/>.
2610f4959950Smrg
26110cfee914SmrgIf you want to complete the configuration process using your problematic
26120cfee914Smrg'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
26130cfee914Smrgto "yes", and re-run configure.
2614cf8f59bfSmrg
26150cfee914SmrgEND
26160cfee914Smrg    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
26170cfee914Smrg  fi
2618f4959950Smrgfi
2619f4959950Smrg
2620f4959950Smrg
26210cfee914Smrg# Require xorg-macros 1.20 or later: XORG_DEFAULT_NOCODE_OPTIONS
26220cfee914Smrg
26230cfee914Smrg
26240cfee914Smrg
2625f4959950Smrg
2626f4959950Smrg
2627f4959950Smrg
2628f4959950Smrg
2629f4959950Smrg
2630f4959950Smrg
2631f4959950Smrg
2632f4959950Smrg
2633f4959950Smrg
2634f4959950Smrg
2635f4959950Smrg
263627268fb8Smrg
263727268fb8Smrg
263827268fb8Smrg
263927268fb8Smrg
2640cf8f59bfSmrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
2641cf8f59bfSmrg	if test -n "$ac_tool_prefix"; then
2642cf8f59bfSmrg  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
2643cf8f59bfSmrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26440cfee914Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26450cfee914Smrgprintf %s "checking for $ac_word... " >&6; }
26460cfee914Smrgif test ${ac_cv_path_PKG_CONFIG+y}
26470cfee914Smrgthen :
26480cfee914Smrg  printf %s "(cached) " >&6
26490cfee914Smrgelse $as_nop
2650cf8f59bfSmrg  case $PKG_CONFIG in
2651cf8f59bfSmrg  [\\/]* | ?:[\\/]*)
2652cf8f59bfSmrg  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
2653cf8f59bfSmrg  ;;
2654cf8f59bfSmrg  *)
2655cf8f59bfSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2656cf8f59bfSmrgfor as_dir in $PATH
2657f4959950Smrgdo
2658cf8f59bfSmrg  IFS=$as_save_IFS
26590cfee914Smrg  case $as_dir in #(((
26600cfee914Smrg    '') as_dir=./ ;;
26610cfee914Smrg    */) ;;
26620cfee914Smrg    *) as_dir=$as_dir/ ;;
26630cfee914Smrg  esac
2664cf8f59bfSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
26650cfee914Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
26660cfee914Smrg    ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
26670cfee914Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2668cf8f59bfSmrg    break 2
2669cf8f59bfSmrg  fi
2670cf8f59bfSmrgdone
2671cf8f59bfSmrg  done
2672cf8f59bfSmrgIFS=$as_save_IFS
2673cf8f59bfSmrg
2674cf8f59bfSmrg  ;;
2675f4959950Smrgesac
2676cf8f59bfSmrgfi
2677cf8f59bfSmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG
2678cf8f59bfSmrgif test -n "$PKG_CONFIG"; then
26790cfee914Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26800cfee914Smrgprintf "%s\n" "$PKG_CONFIG" >&6; }
2681335e815aSmrgelse
26820cfee914Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26830cfee914Smrgprintf "%s\n" "no" >&6; }
2684335e815aSmrgfi
2685335e815aSmrg
2686f4959950Smrg
2687f4959950Smrgfi
2688cf8f59bfSmrgif test -z "$ac_cv_path_PKG_CONFIG"; then
2689cf8f59bfSmrg  ac_pt_PKG_CONFIG=$PKG_CONFIG
2690cf8f59bfSmrg  # Extract the first word of "pkg-config", so it can be a program name with args.
2691cf8f59bfSmrgset dummy pkg-config; ac_word=$2
26920cfee914Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26930cfee914Smrgprintf %s "checking for $ac_word... " >&6; }
26940cfee914Smrgif test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
26950cfee914Smrgthen :
26960cfee914Smrg  printf %s "(cached) " >&6
26970cfee914Smrgelse $as_nop
2698cf8f59bfSmrg  case $ac_pt_PKG_CONFIG in
2699cf8f59bfSmrg  [\\/]* | ?:[\\/]*)
2700cf8f59bfSmrg  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
2701cf8f59bfSmrg  ;;
2702f4959950Smrg  *)
2703cf8f59bfSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2704cf8f59bfSmrgfor as_dir in $PATH
2705cf8f59bfSmrgdo
2706cf8f59bfSmrg  IFS=$as_save_IFS
27070cfee914Smrg  case $as_dir in #(((
27080cfee914Smrg    '') as_dir=./ ;;
27090cfee914Smrg    */) ;;
27100cfee914Smrg    *) as_dir=$as_dir/ ;;
27110cfee914Smrg  esac
2712cf8f59bfSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
27130cfee914Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
27140cfee914Smrg    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
27150cfee914Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2716cf8f59bfSmrg    break 2
2717cf8f59bfSmrg  fi
2718cf8f59bfSmrgdone
2719cf8f59bfSmrg  done
2720cf8f59bfSmrgIFS=$as_save_IFS
2721cf8f59bfSmrg
2722cf8f59bfSmrg  ;;
2723f4959950Smrgesac
2724cf8f59bfSmrgfi
2725cf8f59bfSmrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
2726cf8f59bfSmrgif test -n "$ac_pt_PKG_CONFIG"; then
27270cfee914Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27280cfee914Smrgprintf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
2729cf8f59bfSmrgelse
27300cfee914Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
27310cfee914Smrgprintf "%s\n" "no" >&6; }
2732cf8f59bfSmrgfi
2733f4959950Smrg
2734cf8f59bfSmrg  if test "x$ac_pt_PKG_CONFIG" = x; then
2735cf8f59bfSmrg    PKG_CONFIG=""
2736cf8f59bfSmrg  else
2737cf8f59bfSmrg    case $cross_compiling:$ac_tool_warned in
2738cf8f59bfSmrgyes:)
27390cfee914Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27400cfee914Smrgprintf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2741cf8f59bfSmrgac_tool_warned=yes ;;
2742cf8f59bfSmrgesac
2743cf8f59bfSmrg    PKG_CONFIG=$ac_pt_PKG_CONFIG
2744cf8f59bfSmrg  fi
2745cf8f59bfSmrgelse
2746cf8f59bfSmrg  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
2747cf8f59bfSmrgfi
2748f4959950Smrg
2749cf8f59bfSmrgfi
2750cf8f59bfSmrgif test -n "$PKG_CONFIG"; then
2751cf8f59bfSmrg	_pkg_min_version=0.9.0
27520cfee914Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27530cfee914Smrgprintf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
2754cf8f59bfSmrg	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27550cfee914Smrg		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27560cfee914Smrgprintf "%s\n" "yes" >&6; }
2757cf8f59bfSmrg	else
27580cfee914Smrg		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
27590cfee914Smrgprintf "%s\n" "no" >&6; }
2760cf8f59bfSmrg		PKG_CONFIG=""
2761cf8f59bfSmrg	fi
2762cf8f59bfSmrgfi
2763f4959950Smrg
27640cfee914Smrg
27650cfee914Smrg  # Make sure we can run config.sub.
27660cfee914Smrg$SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
27670cfee914Smrg  as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
27680cfee914Smrg
27690cfee914Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
27700cfee914Smrgprintf %s "checking build system type... " >&6; }
27710cfee914Smrgif test ${ac_cv_build+y}
27720cfee914Smrgthen :
27730cfee914Smrg  printf %s "(cached) " >&6
27740cfee914Smrgelse $as_nop
2775f4959950Smrg  ac_build_alias=$build_alias
2776f4959950Smrgtest "x$ac_build_alias" = x &&
27770cfee914Smrg  ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
2778f4959950Smrgtest "x$ac_build_alias" = x &&
2779cf8f59bfSmrg  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
27800cfee914Smrgac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
27810cfee914Smrg  as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
2782f4959950Smrg
2783f4959950Smrgfi
27840cfee914Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
27850cfee914Smrgprintf "%s\n" "$ac_cv_build" >&6; }
2786f4959950Smrgcase $ac_cv_build in
2787f4959950Smrg*-*-*) ;;
2788cf8f59bfSmrg*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2789f4959950Smrgesac
2790f4959950Smrgbuild=$ac_cv_build
2791f4959950Smrgac_save_IFS=$IFS; IFS='-'
2792f4959950Smrgset x $ac_cv_build
2793f4959950Smrgshift
2794f4959950Smrgbuild_cpu=$1
2795f4959950Smrgbuild_vendor=$2
2796f4959950Smrgshift; shift
2797f4959950Smrg# Remember, the first character of IFS is used to create $*,
2798f4959950Smrg# except with old shells:
2799f4959950Smrgbuild_os=$*
2800f4959950SmrgIFS=$ac_save_IFS
2801f4959950Smrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2802f4959950Smrg
2803f4959950Smrg
28040cfee914Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
28050cfee914Smrgprintf %s "checking host system type... " >&6; }
28060cfee914Smrgif test ${ac_cv_host+y}
28070cfee914Smrgthen :
28080cfee914Smrg  printf %s "(cached) " >&6
28090cfee914Smrgelse $as_nop
2810f4959950Smrg  if test "x$host_alias" = x; then
2811f4959950Smrg  ac_cv_host=$ac_cv_build
2812f4959950Smrgelse
28130cfee914Smrg  ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
28140cfee914Smrg    as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
2815f4959950Smrgfi
2816f4959950Smrg
2817f4959950Smrgfi
28180cfee914Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
28190cfee914Smrgprintf "%s\n" "$ac_cv_host" >&6; }
2820f4959950Smrgcase $ac_cv_host in
2821f4959950Smrg*-*-*) ;;
2822cf8f59bfSmrg*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2823f4959950Smrgesac
2824f4959950Smrghost=$ac_cv_host
2825f4959950Smrgac_save_IFS=$IFS; IFS='-'
2826f4959950Smrgset x $ac_cv_host
2827f4959950Smrgshift
2828f4959950Smrghost_cpu=$1
2829f4959950Smrghost_vendor=$2
2830f4959950Smrgshift; shift
2831f4959950Smrg# Remember, the first character of IFS is used to create $*,
2832f4959950Smrg# except with old shells:
2833f4959950Smrghost_os=$*
2834f4959950SmrgIFS=$ac_save_IFS
2835f4959950Smrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2836f4959950Smrg
2837f4959950Smrg
28380cfee914Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
28390cfee914Smrgprintf %s "checking for a sed that does not truncate output... " >&6; }
28400cfee914Smrgif test ${ac_cv_path_SED+y}
28410cfee914Smrgthen :
28420cfee914Smrg  printf %s "(cached) " >&6
28430cfee914Smrgelse $as_nop
2844cf8f59bfSmrg            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2845cf8f59bfSmrg     for ac_i in 1 2 3 4 5 6 7; do
2846cf8f59bfSmrg       ac_script="$ac_script$as_nl$ac_script"
2847cf8f59bfSmrg     done
2848cf8f59bfSmrg     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
2849cf8f59bfSmrg     { ac_script=; unset ac_script;}
2850cf8f59bfSmrg     if test -z "$SED"; then
2851cf8f59bfSmrg  ac_path_SED_found=false
2852cf8f59bfSmrg  # Loop through the user's path and test for each of PROGNAME-LIST
2853cf8f59bfSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2854cf8f59bfSmrgfor as_dir in $PATH
2855cf8f59bfSmrgdo
2856cf8f59bfSmrg  IFS=$as_save_IFS
28570cfee914Smrg  case $as_dir in #(((
28580cfee914Smrg    '') as_dir=./ ;;
28590cfee914Smrg    */) ;;
28600cfee914Smrg    *) as_dir=$as_dir/ ;;
28610cfee914Smrg  esac
28620cfee914Smrg    for ac_prog in sed gsed
28630cfee914Smrg   do
2864cf8f59bfSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
28650cfee914Smrg      ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
28660cfee914Smrg      as_fn_executable_p "$ac_path_SED" || continue
2867cf8f59bfSmrg# Check for GNU ac_path_SED and select it if it is found.
2868cf8f59bfSmrg  # Check for GNU $ac_path_SED
2869cf8f59bfSmrgcase `"$ac_path_SED" --version 2>&1` in
2870cf8f59bfSmrg*GNU*)
2871cf8f59bfSmrg  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2872cf8f59bfSmrg*)
2873cf8f59bfSmrg  ac_count=0
28740cfee914Smrg  printf %s 0123456789 >"conftest.in"
2875cf8f59bfSmrg  while :
2876cf8f59bfSmrg  do
2877cf8f59bfSmrg    cat "conftest.in" "conftest.in" >"conftest.tmp"
2878cf8f59bfSmrg    mv "conftest.tmp" "conftest.in"
2879cf8f59bfSmrg    cp "conftest.in" "conftest.nl"
28800cfee914Smrg    printf "%s\n" '' >> "conftest.nl"
2881cf8f59bfSmrg    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
2882cf8f59bfSmrg    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2883cf8f59bfSmrg    as_fn_arith $ac_count + 1 && ac_count=$as_val
2884cf8f59bfSmrg    if test $ac_count -gt ${ac_path_SED_max-0}; then
2885cf8f59bfSmrg      # Best one so far, save it but keep looking for a better one
2886cf8f59bfSmrg      ac_cv_path_SED="$ac_path_SED"
2887cf8f59bfSmrg      ac_path_SED_max=$ac_count
2888cf8f59bfSmrg    fi
2889cf8f59bfSmrg    # 10*(2^10) chars as input seems more than enough
2890cf8f59bfSmrg    test $ac_count -gt 10 && break
2891cf8f59bfSmrg  done
2892cf8f59bfSmrg  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2893cf8f59bfSmrgesac
2894cf8f59bfSmrg
2895cf8f59bfSmrg      $ac_path_SED_found && break 3
2896cf8f59bfSmrg    done
2897cf8f59bfSmrg  done
2898cf8f59bfSmrg  done
2899cf8f59bfSmrgIFS=$as_save_IFS
2900cf8f59bfSmrg  if test -z "$ac_cv_path_SED"; then
2901cf8f59bfSmrg    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
2902cf8f59bfSmrg  fi
2903cf8f59bfSmrgelse
2904cf8f59bfSmrg  ac_cv_path_SED=$SED
2905cf8f59bfSmrgfi
2906cf8f59bfSmrg
2907cf8f59bfSmrgfi
29080cfee914Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
29090cfee914Smrgprintf "%s\n" "$ac_cv_path_SED" >&6; }
2910cf8f59bfSmrg SED="$ac_cv_path_SED"
2911cf8f59bfSmrg  rm -f conftest.sed
2912cf8f59bfSmrg
2913cf8f59bfSmrg
2914f4959950Smrg
2915f4959950Smrg
2916f4959950Smrg
2917f4959950Smrgcat >>confdefs.h <<_ACEOF
2918f4959950Smrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
2919f4959950Smrg_ACEOF
2920f4959950Smrg
2921f4959950Smrg	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
2922f4959950Smrg	if test "x$PVM" = "x"; then
2923f4959950Smrg		PVM="0"
2924f4959950Smrg	fi
2925f4959950Smrg
29260cfee914Smrgprintf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
2927f4959950Smrg
2928f4959950Smrg	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
2929f4959950Smrg	if test "x$PVP" = "x"; then
2930f4959950Smrg		PVP="0"
2931f4959950Smrg	fi
2932f4959950Smrg
29330cfee914Smrgprintf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
2934f4959950Smrg
2935f4959950Smrg
2936f4959950Smrg
29370cfee914SmrgCHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
2938cf8f59bfSmrgmv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
29390cfee914Smrg|| (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
29400cfee914Smrgtouch \$(top_srcdir)/ChangeLog; \
29410cfee914Smrgecho 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
2942f4959950Smrg
2943cf8f59bfSmrg
2944cf8f59bfSmrg
2945cf8f59bfSmrg
2946cf8f59bfSmrgmacros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
2947cf8f59bfSmrgINSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
2948cf8f59bfSmrgmv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
29490cfee914Smrg|| (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
29500cfee914Smrgtouch \$(top_srcdir)/INSTALL; \
29510cfee914Smrgecho 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
29520cfee914Smrg
2953cf8f59bfSmrg
2954f4959950Smrg
2955f4959950Smrg
2956f4959950Smrg
2957f4959950Smrg
29580cfee914Smrgcase $host_os in
29590cfee914Smrg    solaris*)
29600cfee914Smrg        # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
29610cfee914Smrg        # check for a man page file found in later versions that use
29620cfee914Smrg        # traditional section numbers instead
29630cfee914Smrg        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
29640cfee914Smrgprintf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
29650cfee914Smrgif test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
29660cfee914Smrgthen :
29670cfee914Smrg  printf %s "(cached) " >&6
29680cfee914Smrgelse $as_nop
29690cfee914Smrg  test "$cross_compiling" = yes &&
29700cfee914Smrg  as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
29710cfee914Smrgif test -r "/usr/share/man/man7/attributes.7"; then
29720cfee914Smrg  ac_cv_file__usr_share_man_man7_attributes_7=yes
29730cfee914Smrgelse
29740cfee914Smrg  ac_cv_file__usr_share_man_man7_attributes_7=no
29750cfee914Smrgfi
29760cfee914Smrgfi
29770cfee914Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
29780cfee914Smrgprintf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
29790cfee914Smrgif test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
29800cfee914Smrgthen :
29810cfee914Smrg  SYSV_MAN_SECTIONS=false
29820cfee914Smrgelse $as_nop
29830cfee914Smrg  SYSV_MAN_SECTIONS=true
29840cfee914Smrgfi
29850cfee914Smrg
29860cfee914Smrg        ;;
29870cfee914Smrg    *) SYSV_MAN_SECTIONS=false ;;
29880cfee914Smrgesac
2989f4959950Smrg
2990f4959950Smrgif test x$APP_MAN_SUFFIX = x    ; then
2991f4959950Smrg    APP_MAN_SUFFIX=1
2992f4959950Smrgfi
2993f4959950Smrgif test x$APP_MAN_DIR = x    ; then
2994f4959950Smrg    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
2995f4959950Smrgfi
2996f4959950Smrg
2997f4959950Smrgif test x$LIB_MAN_SUFFIX = x    ; then
2998f4959950Smrg    LIB_MAN_SUFFIX=3
2999f4959950Smrgfi
3000f4959950Smrgif test x$LIB_MAN_DIR = x    ; then
3001f4959950Smrg    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
3002f4959950Smrgfi
3003f4959950Smrg
3004f4959950Smrgif test x$FILE_MAN_SUFFIX = x    ; then
30050cfee914Smrg    case $SYSV_MAN_SECTIONS in
30060cfee914Smrg	true)				FILE_MAN_SUFFIX=4  ;;
30070cfee914Smrg	*)				FILE_MAN_SUFFIX=5  ;;
3008f4959950Smrg    esac
3009f4959950Smrgfi
3010f4959950Smrgif test x$FILE_MAN_DIR = x    ; then
3011f4959950Smrg    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
3012f4959950Smrgfi
3013f4959950Smrg
3014f4959950Smrgif test x$MISC_MAN_SUFFIX = x    ; then
30150cfee914Smrg    case $SYSV_MAN_SECTIONS in
30160cfee914Smrg	true)				MISC_MAN_SUFFIX=5  ;;
30170cfee914Smrg	*)				MISC_MAN_SUFFIX=7  ;;
3018f4959950Smrg    esac
3019f4959950Smrgfi
3020f4959950Smrgif test x$MISC_MAN_DIR = x    ; then
3021f4959950Smrg    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
3022f4959950Smrgfi
3023f4959950Smrg
3024f4959950Smrgif test x$DRIVER_MAN_SUFFIX = x    ; then
30250cfee914Smrg    case $SYSV_MAN_SECTIONS in
30260cfee914Smrg	true)				DRIVER_MAN_SUFFIX=7  ;;
30270cfee914Smrg	*)				DRIVER_MAN_SUFFIX=4  ;;
3028f4959950Smrg    esac
3029f4959950Smrgfi
3030f4959950Smrgif test x$DRIVER_MAN_DIR = x    ; then
3031f4959950Smrg    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
3032f4959950Smrgfi
3033f4959950Smrg
3034f4959950Smrgif test x$ADMIN_MAN_SUFFIX = x    ; then
30350cfee914Smrg    case $SYSV_MAN_SECTIONS in
30360cfee914Smrg	true)				ADMIN_MAN_SUFFIX=1m ;;
30370cfee914Smrg	*)				ADMIN_MAN_SUFFIX=8  ;;
3038f4959950Smrg    esac
3039f4959950Smrgfi
3040f4959950Smrgif test x$ADMIN_MAN_DIR = x    ; then
3041f4959950Smrg    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
3042f4959950Smrgfi
3043f4959950Smrg
3044f4959950Smrg
3045f4959950Smrg
3046f4959950Smrg
3047f4959950Smrg
3048f4959950Smrg
3049f4959950Smrg
3050f4959950Smrg
3051f4959950Smrg
3052f4959950Smrg
3053f4959950Smrg
3054f4959950Smrg
3055f4959950Smrg
3056f4959950Smrg
3057335e815aSmrg
3058cf8f59bfSmrgXORG_MAN_PAGE="X Version 11"
3059335e815aSmrg
3060cf8f59bfSmrgMAN_SUBSTS="\
3061cf8f59bfSmrg	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
3062cf8f59bfSmrg	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
3063cf8f59bfSmrg	-e 's|__xservername__|Xorg|g' \
3064cf8f59bfSmrg	-e 's|__xconfigfile__|xorg.conf|g' \
3065cf8f59bfSmrg	-e 's|__projectroot__|\$(prefix)|g' \
3066cf8f59bfSmrg	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
3067cf8f59bfSmrg	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
3068cf8f59bfSmrg	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
3069cf8f59bfSmrg	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
3070cf8f59bfSmrg	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
3071cf8f59bfSmrg	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
3072cf8f59bfSmrg	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
3073335e815aSmrg
3074335e815aSmrg
3075335e815aSmrg
3076cf8f59bfSmrg# Check whether --enable-silent-rules was given.
30770cfee914Smrgif test ${enable_silent_rules+y}
30780cfee914Smrgthen :
3079cf8f59bfSmrg  enableval=$enable_silent_rules;
3080335e815aSmrgfi
3081f4959950Smrg
30820cfee914Smrgcase $enable_silent_rules in # (((
30830cfee914Smrg  yes) AM_DEFAULT_VERBOSITY=0;;
30840cfee914Smrg   no) AM_DEFAULT_VERBOSITY=1;;
30850cfee914Smrg    *) AM_DEFAULT_VERBOSITY=0;;
3086cf8f59bfSmrgesac
30870cfee914Smrgam_make=${MAKE-make}
30880cfee914Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
30890cfee914Smrgprintf %s "checking whether $am_make supports nested variables... " >&6; }
30900cfee914Smrgif test ${am_cv_make_support_nested_variables+y}
30910cfee914Smrgthen :
30920cfee914Smrg  printf %s "(cached) " >&6
30930cfee914Smrgelse $as_nop
30940cfee914Smrg  if printf "%s\n" 'TRUE=$(BAR$(V))
30950cfee914SmrgBAR0=false
30960cfee914SmrgBAR1=true
30970cfee914SmrgV=1
30980cfee914Smrgam__doit:
30990cfee914Smrg	@$(TRUE)
31000cfee914Smrg.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
31010cfee914Smrg  am_cv_make_support_nested_variables=yes
31020cfee914Smrgelse
31030cfee914Smrg  am_cv_make_support_nested_variables=no
31040cfee914Smrgfi
31050cfee914Smrgfi
31060cfee914Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
31070cfee914Smrgprintf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
31080cfee914Smrgif test $am_cv_make_support_nested_variables = yes; then
31090cfee914Smrg    AM_V='$(V)'
31100cfee914Smrg  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
31110cfee914Smrgelse
31120cfee914Smrg  AM_V=$AM_DEFAULT_VERBOSITY
31130cfee914Smrg  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
31140cfee914Smrgfi
3115cf8f59bfSmrgAM_BACKSLASH='\'
3116f4959950Smrg
3117f4959950Smrg
3118f4959950Smrg
31190cfee914Smrg# Require X.Org's font util macros 1.4 or later for COMPRESS_FLAGS
3120f4959950Smrg
3121f4959950Smrg
3122f4959950Smrg
3123f4959950Smrg
3124f4959950Smrg
3125f4959950Smrg
3126335e815aSmrg
3127335e815aSmrg
3128335e815aSmrg
3129335e815aSmrg
3130335e815aSmrg
3131f4959950Smrg
3132f4959950Smrg
3133335e815aSmrg
3134f4959950Smrg
31350cfee914Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for root directory for font files" >&5
31360cfee914Smrgprintf %s "checking for root directory for font files... " >&6; }
3137f4959950Smrg
3138f4959950Smrg# Check whether --with-fontrootdir was given.
31390cfee914Smrgif test ${with_fontrootdir+y}
31400cfee914Smrgthen :
3141f4959950Smrg  withval=$with_fontrootdir; FONTROOTDIR="$withval"
3142335e815aSmrgfi
3143335e815aSmrg
3144f4959950Smrg	# if --with-fontrootdir not specified...
3145f4959950Smrg	if test "x${FONTROOTDIR}" = "x"; then
3146f4959950Smrg		FONTROOTDIR=`$PKG_CONFIG --variable=fontrootdir fontutil`
3147f4959950Smrg	fi
3148f4959950Smrg	# ...and if pkg-config didn't find fontdir in fontutil.pc...
3149f4959950Smrg	if test "x${FONTROOTDIR}" = "x"; then
3150f4959950Smrg		FONTROOTDIR="${datadir}/fonts/X11"
3151f4959950Smrg	fi
3152f4959950Smrg
31530cfee914Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${FONTROOTDIR}" >&5
31540cfee914Smrgprintf "%s\n" "${FONTROOTDIR}" >&6; }
3155f4959950Smrg
3156f4959950Smrg
3157f4959950Smrg
3158f4959950Smrg
31590cfee914Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for directory for misc files" >&5
31600cfee914Smrgprintf %s "checking for directory for misc files... " >&6; }
3161f4959950Smrg
3162f4959950Smrg# Check whether --with-fontdir was given.
31630cfee914Smrgif test ${with_fontdir+y}
31640cfee914Smrgthen :
3165f4959950Smrg  withval=$with_fontdir; FONTDIR="${withval}"
31660cfee914Smrgelse $as_nop
3167f4959950Smrg  FONTDIR='${FONTROOTDIR}/misc'
3168335e815aSmrgfi
3169335e815aSmrg
3170f4959950Smrg
31710cfee914Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${FONTDIR}" >&5
31720cfee914Smrgprintf "%s\n" "${FONTDIR}" >&6; }
3173f4959950Smrg
3174f4959950Smrg
3175f4959950Smrg
3176f4959950Smrg
3177f4959950Smrg	# Extract the first word of "fc-cache", so it can be a program name with args.
3178f4959950Smrgset dummy fc-cache; ac_word=$2
31790cfee914Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31800cfee914Smrgprintf %s "checking for $ac_word... " >&6; }
31810cfee914Smrgif test ${ac_cv_path_FCCACHE+y}
31820cfee914Smrgthen :
31830cfee914Smrg  printf %s "(cached) " >&6
31840cfee914Smrgelse $as_nop
3185f4959950Smrg  case $FCCACHE in
3186335e815aSmrg  [\\/]* | ?:[\\/]*)
3187f4959950Smrg  ac_cv_path_FCCACHE="$FCCACHE" # Let the user override the test with a path.
3188335e815aSmrg  ;;
3189335e815aSmrg  *)
3190335e815aSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3191335e815aSmrgfor as_dir in $PATH
3192335e815aSmrgdo
3193335e815aSmrg  IFS=$as_save_IFS
31940cfee914Smrg  case $as_dir in #(((
31950cfee914Smrg    '') as_dir=./ ;;
31960cfee914Smrg    */) ;;
31970cfee914Smrg    *) as_dir=$as_dir/ ;;
31980cfee914Smrg  esac
3199cf8f59bfSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
32000cfee914Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
32010cfee914Smrg    ac_cv_path_FCCACHE="$as_dir$ac_word$ac_exec_ext"
32020cfee914Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3203335e815aSmrg    break 2
3204335e815aSmrg  fi
3205335e815aSmrgdone
3206cf8f59bfSmrg  done
3207f4959950SmrgIFS=$as_save_IFS
3208335e815aSmrg
3209335e815aSmrg  ;;
3210335e815aSmrgesac
3211335e815aSmrgfi
3212f4959950SmrgFCCACHE=$ac_cv_path_FCCACHE
3213f4959950Smrgif test -n "$FCCACHE"; then
32140cfee914Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FCCACHE" >&5
32150cfee914Smrgprintf "%s\n" "$FCCACHE" >&6; }
3216335e815aSmrgelse
32170cfee914Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
32180cfee914Smrgprintf "%s\n" "no" >&6; }
3219335e815aSmrgfi
3220335e815aSmrg
3221f4959950Smrg
3222f4959950Smrg	FCCACHE_WARN='echo "** Warning: fonts.cache not built" ; echo "** Generate this file manually on host system using fc-cache"'
32230cfee914Smrg	if test x"$FCCACHE" = x || test x"$cross_compiling" != x"no" ; then
3224f4959950Smrg		RUN_FCCACHE="${FCCACHE_WARN}"
3225f4959950Smrg	else
3226f4959950Smrg		RUN_FCCACHE='@(if test -z "$(DESTDIR)"; then echo $(FCCACHE) $(fontdir); $(FCCACHE) $(fontdir); else'
3227f4959950Smrg		RUN_FCCACHE="${RUN_FCCACHE} ${FCCACHE_WARN} ; fi)"
3228f4959950Smrg	fi
3229f4959950Smrg
3230f4959950Smrg
3231f4959950Smrg
32320cfee914Smrg	if test x"$cross_compiling" != x"no" ; then
32330cfee914Smrg		# Extract the first word of "mkfontdir", so it can be a program name with args.
3234f4959950Smrgset dummy mkfontdir; ac_word=$2
32350cfee914Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
32360cfee914Smrgprintf %s "checking for $ac_word... " >&6; }
32370cfee914Smrgif test ${ac_cv_path_MKFONTDIR+y}
32380cfee914Smrgthen :
32390cfee914Smrg  printf %s "(cached) " >&6
32400cfee914Smrgelse $as_nop
32410cfee914Smrg  case $MKFONTDIR in
32420cfee914Smrg  [\\/]* | ?:[\\/]*)
32430cfee914Smrg  ac_cv_path_MKFONTDIR="$MKFONTDIR" # Let the user override the test with a path.
32440cfee914Smrg  ;;
32450cfee914Smrg  *)
32460cfee914Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32470cfee914Smrgfor as_dir in $PATH
32480cfee914Smrgdo
32490cfee914Smrg  IFS=$as_save_IFS
32500cfee914Smrg  case $as_dir in #(((
32510cfee914Smrg    '') as_dir=./ ;;
32520cfee914Smrg    */) ;;
32530cfee914Smrg    *) as_dir=$as_dir/ ;;
32540cfee914Smrg  esac
32550cfee914Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
32560cfee914Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
32570cfee914Smrg    ac_cv_path_MKFONTDIR="$as_dir$ac_word$ac_exec_ext"
32580cfee914Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
32590cfee914Smrg    break 2
32600cfee914Smrg  fi
32610cfee914Smrgdone
32620cfee914Smrg  done
32630cfee914SmrgIFS=$as_save_IFS
32640cfee914Smrg
32650cfee914Smrg  test -z "$ac_cv_path_MKFONTDIR" && ac_cv_path_MKFONTDIR=""""
32660cfee914Smrg  ;;
32670cfee914Smrgesac
32680cfee914Smrgfi
32690cfee914SmrgMKFONTDIR=$ac_cv_path_MKFONTDIR
32700cfee914Smrgif test -n "$MKFONTDIR"; then
32710cfee914Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKFONTDIR" >&5
32720cfee914Smrgprintf "%s\n" "$MKFONTDIR" >&6; }
3273335e815aSmrgelse
32740cfee914Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
32750cfee914Smrgprintf "%s\n" "no" >&6; }
32760cfee914Smrgfi
32770cfee914Smrg
32780cfee914Smrg
32790cfee914Smrg		MKFONTDIR_WARN='echo "** Warning: mkfontdir not run" ; echo "** Run mkfontdir manually on host system"'
32800cfee914Smrg
32810cfee914Smrg		if test x"$MKFONTDIR" = x; then
32820cfee914Smrg			MKFONTDIR="${MKFONTDIR_WARN} ; echo '** mkfontdir'"
32830cfee914Smrg		fi
32840cfee914Smrg	else
32850cfee914Smrg
32860cfee914Smrg	# Extract the first word of "mkfontdir", so it can be a program name with args.
32870cfee914Smrgset dummy mkfontdir; ac_word=$2
32880cfee914Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
32890cfee914Smrgprintf %s "checking for $ac_word... " >&6; }
32900cfee914Smrgif test ${ac_cv_path_MKFONTDIR+y}
32910cfee914Smrgthen :
32920cfee914Smrg  printf %s "(cached) " >&6
32930cfee914Smrgelse $as_nop
3294f4959950Smrg  case $MKFONTDIR in
3295335e815aSmrg  [\\/]* | ?:[\\/]*)
3296f4959950Smrg  ac_cv_path_MKFONTDIR="$MKFONTDIR" # Let the user override the test with a path.
3297335e815aSmrg  ;;
3298335e815aSmrg  *)
3299335e815aSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3300335e815aSmrgfor as_dir in $PATH
3301335e815aSmrgdo
3302335e815aSmrg  IFS=$as_save_IFS
33030cfee914Smrg  case $as_dir in #(((
33040cfee914Smrg    '') as_dir=./ ;;
33050cfee914Smrg    */) ;;
33060cfee914Smrg    *) as_dir=$as_dir/ ;;
33070cfee914Smrg  esac
3308cf8f59bfSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
33090cfee914Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
33100cfee914Smrg    ac_cv_path_MKFONTDIR="$as_dir$ac_word$ac_exec_ext"
33110cfee914Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3312335e815aSmrg    break 2
3313335e815aSmrg  fi
3314335e815aSmrgdone
3315cf8f59bfSmrg  done
3316f4959950SmrgIFS=$as_save_IFS
3317335e815aSmrg
3318335e815aSmrg  ;;
3319335e815aSmrgesac
3320335e815aSmrgfi
3321f4959950SmrgMKFONTDIR=$ac_cv_path_MKFONTDIR
3322f4959950Smrgif test -n "$MKFONTDIR"; then
33230cfee914Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKFONTDIR" >&5
33240cfee914Smrgprintf "%s\n" "$MKFONTDIR" >&6; }
3325335e815aSmrgelse
33260cfee914Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
33270cfee914Smrgprintf "%s\n" "no" >&6; }
3328335e815aSmrgfi
3329335e815aSmrg
3330f4959950Smrg
3331cf8f59bfSmrg	if test x"$MKFONTDIR" = x; then
3332cf8f59bfSmrg		as_fn_error $? "mkfontdir is required to build $PACKAGE_NAME." "$LINENO" 5
3333f4959950Smrg	fi
3334f4959950Smrg
33350cfee914Smrg	fi
33360cfee914Smrg
33370cfee914Smrg
33380cfee914Smrg
3339f4959950Smrg
3340f4959950Smrg
3341f4959950Smrg	# Extract the first word of "bdftopcf", so it can be a program name with args.
3342f4959950Smrgset dummy bdftopcf; ac_word=$2
33430cfee914Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33440cfee914Smrgprintf %s "checking for $ac_word... " >&6; }
33450cfee914Smrgif test ${ac_cv_path_BDFTOPCF+y}
33460cfee914Smrgthen :
33470cfee914Smrg  printf %s "(cached) " >&6
33480cfee914Smrgelse $as_nop
3349f4959950Smrg  case $BDFTOPCF in
3350335e815aSmrg  [\\/]* | ?:[\\/]*)
3351f4959950Smrg  ac_cv_path_BDFTOPCF="$BDFTOPCF" # Let the user override the test with a path.
3352335e815aSmrg  ;;
3353335e815aSmrg  *)
3354335e815aSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3355335e815aSmrgfor as_dir in $PATH
3356335e815aSmrgdo
3357335e815aSmrg  IFS=$as_save_IFS
33580cfee914Smrg  case $as_dir in #(((
33590cfee914Smrg    '') as_dir=./ ;;
33600cfee914Smrg    */) ;;
33610cfee914Smrg    *) as_dir=$as_dir/ ;;
33620cfee914Smrg  esac
3363cf8f59bfSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
33640cfee914Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
33650cfee914Smrg    ac_cv_path_BDFTOPCF="$as_dir$ac_word$ac_exec_ext"
33660cfee914Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3367335e815aSmrg    break 2
3368335e815aSmrg  fi
3369335e815aSmrgdone
3370cf8f59bfSmrg  done
3371f4959950SmrgIFS=$as_save_IFS
3372335e815aSmrg
3373335e815aSmrg  ;;
3374335e815aSmrgesac
3375335e815aSmrgfi
3376f4959950SmrgBDFTOPCF=$ac_cv_path_BDFTOPCF
3377f4959950Smrgif test -n "$BDFTOPCF"; then
33780cfee914Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BDFTOPCF" >&5
33790cfee914Smrgprintf "%s\n" "$BDFTOPCF" >&6; }
3380335e815aSmrgelse
33810cfee914Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
33820cfee914Smrgprintf "%s\n" "no" >&6; }
3383335e815aSmrgfi
3384335e815aSmrg
3385335e815aSmrg
3386cf8f59bfSmrg	if test x"$BDFTOPCF" = x; then
3387cf8f59bfSmrg		as_fn_error $? "bdftopcf is required to build $PACKAGE_NAME." "$LINENO" 5
3388f4959950Smrg	fi
3389335e815aSmrg
3390335e815aSmrg
33910cfee914Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking font compression method" >&5
33920cfee914Smrgprintf %s "checking font compression method... " >&6; }
3393335e815aSmrg
3394f4959950Smrg# Check whether --with-compression was given.
33950cfee914Smrgif test ${with_compression+y}
33960cfee914Smrgthen :
3397f4959950Smrg  withval=$with_compression; compression="$withval"
33980cfee914Smrgelse $as_nop
3399f4959950Smrg  compression="yes"
3400f4959950Smrgfi
3401335e815aSmrg
3402f4959950Smrg	if test x"$compression" = "xyes" ; then
3403f4959950Smrg		compression="gzip"
3404f4959950Smrg	fi
34050cfee914Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${compression}" >&5
34060cfee914Smrgprintf "%s\n" "${compression}" >&6; }
3407f4959950Smrg	case ${compression} in
3408f4959950Smrg	 *compress)	COMPRESS_SUFFIX=".Z" ;;
34090cfee914Smrg	 *gzip)		COMPRESS_SUFFIX=".gz" ;
34100cfee914Smrg			COMPRESS_FLAGS="${COMPRESS_FLAGS--n}" ;;
3411f4959950Smrg	 *bzip2)	COMPRESS_SUFFIX=".bz2" ;;
3412f4959950Smrg	 no|none)	COMPRESS_SUFFIX="" ; COMPRESS="cat" ;;
3413cf8f59bfSmrg	 *) as_fn_error $? "${compression} is not a supported compression method" "$LINENO" 5 ;;
3414f4959950Smrg	esac
3415f4959950Smrg	if test x"$COMPRESS_SUFFIX" != "x" ; then
3416f4959950Smrg
3417f4959950Smrg	# Extract the first word of "${compression}", so it can be a program name with args.
3418f4959950Smrgset dummy ${compression}; ac_word=$2
34190cfee914Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
34200cfee914Smrgprintf %s "checking for $ac_word... " >&6; }
34210cfee914Smrgif test ${ac_cv_path_COMPRESS+y}
34220cfee914Smrgthen :
34230cfee914Smrg  printf %s "(cached) " >&6
34240cfee914Smrgelse $as_nop
3425f4959950Smrg  case $COMPRESS in
3426335e815aSmrg  [\\/]* | ?:[\\/]*)
3427f4959950Smrg  ac_cv_path_COMPRESS="$COMPRESS" # Let the user override the test with a path.
3428335e815aSmrg  ;;
3429335e815aSmrg  *)
3430335e815aSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3431335e815aSmrgfor as_dir in $PATH
3432335e815aSmrgdo
3433335e815aSmrg  IFS=$as_save_IFS
34340cfee914Smrg  case $as_dir in #(((
34350cfee914Smrg    '') as_dir=./ ;;
34360cfee914Smrg    */) ;;
34370cfee914Smrg    *) as_dir=$as_dir/ ;;
34380cfee914Smrg  esac
3439cf8f59bfSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
34400cfee914Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
34410cfee914Smrg    ac_cv_path_COMPRESS="$as_dir$ac_word$ac_exec_ext"
34420cfee914Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3443335e815aSmrg    break 2
3444335e815aSmrg  fi
3445335e815aSmrgdone
3446cf8f59bfSmrg  done
3447f4959950SmrgIFS=$as_save_IFS
3448335e815aSmrg
3449335e815aSmrg  ;;
3450335e815aSmrgesac
3451335e815aSmrgfi
3452f4959950SmrgCOMPRESS=$ac_cv_path_COMPRESS
3453f4959950Smrgif test -n "$COMPRESS"; then
34540cfee914Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $COMPRESS" >&5
34550cfee914Smrgprintf "%s\n" "$COMPRESS" >&6; }
3456335e815aSmrgelse
34570cfee914Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
34580cfee914Smrgprintf "%s\n" "no" >&6; }
3459335e815aSmrgfi
3460335e815aSmrg
3461f4959950Smrg
3462cf8f59bfSmrg	if test x"$COMPRESS" = x; then
3463cf8f59bfSmrg		as_fn_error $? "${compression} is required to build $PACKAGE_NAME." "$LINENO" 5
3464f4959950Smrg	fi
3465f4959950Smrg
3466f4959950Smrg	fi
34670cfee914Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking options to font compression command" >&5
34680cfee914Smrgprintf %s "checking options to font compression command... " >&6; }
34690cfee914Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${COMPRESS_FLAGS:-none}" >&5
34700cfee914Smrgprintf "%s\n" "${COMPRESS_FLAGS:-none}" >&6; }
34710cfee914Smrg
34720cfee914Smrg
3473f4959950Smrg
3474f4959950Smrg
3475f4959950Smrg
3476f4959950Smrg
3477f4959950Smrg
3478f4959950Smrg	# Extract the first word of "ucs2any", so it can be a program name with args.
3479f4959950Smrgset dummy ucs2any; ac_word=$2
34800cfee914Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
34810cfee914Smrgprintf %s "checking for $ac_word... " >&6; }
34820cfee914Smrgif test ${ac_cv_path_UCS2ANY+y}
34830cfee914Smrgthen :
34840cfee914Smrg  printf %s "(cached) " >&6
34850cfee914Smrgelse $as_nop
3486f4959950Smrg  case $UCS2ANY in
3487335e815aSmrg  [\\/]* | ?:[\\/]*)
3488f4959950Smrg  ac_cv_path_UCS2ANY="$UCS2ANY" # Let the user override the test with a path.
3489335e815aSmrg  ;;
3490335e815aSmrg  *)
3491335e815aSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3492335e815aSmrgfor as_dir in $PATH
3493335e815aSmrgdo
3494335e815aSmrg  IFS=$as_save_IFS
34950cfee914Smrg  case $as_dir in #(((
34960cfee914Smrg    '') as_dir=./ ;;
34970cfee914Smrg    */) ;;
34980cfee914Smrg    *) as_dir=$as_dir/ ;;
34990cfee914Smrg  esac
3500cf8f59bfSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
35010cfee914Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
35020cfee914Smrg    ac_cv_path_UCS2ANY="$as_dir$ac_word$ac_exec_ext"
35030cfee914Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3504335e815aSmrg    break 2
3505335e815aSmrg  fi
3506335e815aSmrgdone
3507cf8f59bfSmrg  done
3508f4959950SmrgIFS=$as_save_IFS
3509335e815aSmrg
3510335e815aSmrg  ;;
3511335e815aSmrgesac
3512335e815aSmrgfi
3513f4959950SmrgUCS2ANY=$ac_cv_path_UCS2ANY
3514f4959950Smrgif test -n "$UCS2ANY"; then
35150cfee914Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $UCS2ANY" >&5
35160cfee914Smrgprintf "%s\n" "$UCS2ANY" >&6; }
3517335e815aSmrgelse
35180cfee914Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35190cfee914Smrgprintf "%s\n" "no" >&6; }
3520335e815aSmrgfi
3521335e815aSmrg
3522335e815aSmrg
3523cf8f59bfSmrg	if test x"$UCS2ANY" = x; then
3524cf8f59bfSmrg		as_fn_error $? "ucs2any is required to build $PACKAGE_NAME." "$LINENO" 5
3525335e815aSmrg	fi
3526335e815aSmrg
3527335e815aSmrg
3528335e815aSmrgpkg_failed=no
35290cfee914Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MAPS" >&5
35300cfee914Smrgprintf %s "checking for MAPS... " >&6; }
3531f4959950Smrg
3532f4959950Smrgif test -n "$MAPS_CFLAGS"; then
3533f4959950Smrg    pkg_cv_MAPS_CFLAGS="$MAPS_CFLAGS"
3534f4959950Smrg elif test -n "$PKG_CONFIG"; then
3535f4959950Smrg    if test -n "$PKG_CONFIG" && \
35360cfee914Smrg    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontutil\""; } >&5
3537335e815aSmrg  ($PKG_CONFIG --exists --print-errors "fontutil") 2>&5
3538335e815aSmrg  ac_status=$?
35390cfee914Smrg  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3540cf8f59bfSmrg  test $ac_status = 0; }; then
3541335e815aSmrg  pkg_cv_MAPS_CFLAGS=`$PKG_CONFIG --cflags "fontutil" 2>/dev/null`
35420cfee914Smrg		      test "x$?" != "x0" && pkg_failed=yes
3543335e815aSmrgelse
3544335e815aSmrg  pkg_failed=yes
3545335e815aSmrgfi
3546f4959950Smrg else
3547f4959950Smrg    pkg_failed=untried
3548335e815aSmrgfi
3549f4959950Smrgif test -n "$MAPS_LIBS"; then
3550f4959950Smrg    pkg_cv_MAPS_LIBS="$MAPS_LIBS"
3551f4959950Smrg elif test -n "$PKG_CONFIG"; then
3552f4959950Smrg    if test -n "$PKG_CONFIG" && \
35530cfee914Smrg    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontutil\""; } >&5
3554335e815aSmrg  ($PKG_CONFIG --exists --print-errors "fontutil") 2>&5
3555335e815aSmrg  ac_status=$?
35560cfee914Smrg  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3557cf8f59bfSmrg  test $ac_status = 0; }; then
3558335e815aSmrg  pkg_cv_MAPS_LIBS=`$PKG_CONFIG --libs "fontutil" 2>/dev/null`
35590cfee914Smrg		      test "x$?" != "x0" && pkg_failed=yes
3560335e815aSmrgelse
3561335e815aSmrg  pkg_failed=yes
3562335e815aSmrgfi
3563f4959950Smrg else
3564f4959950Smrg    pkg_failed=untried
3565335e815aSmrgfi
3566335e815aSmrg
3567335e815aSmrg
3568335e815aSmrg
3569335e815aSmrgif test $pkg_failed = yes; then
35700cfee914Smrg   	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35710cfee914Smrgprintf "%s\n" "no" >&6; }
3572335e815aSmrg
3573335e815aSmrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3574335e815aSmrg        _pkg_short_errors_supported=yes
3575335e815aSmrgelse
3576335e815aSmrg        _pkg_short_errors_supported=no
3577335e815aSmrgfi
3578335e815aSmrg        if test $_pkg_short_errors_supported = yes; then
35790cfee914Smrg	        MAPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fontutil" 2>&1`
3580335e815aSmrg        else
35810cfee914Smrg	        MAPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fontutil" 2>&1`
3582335e815aSmrg        fi
3583335e815aSmrg	# Put the nasty error message in config.log where it belongs
3584335e815aSmrg	echo "$MAPS_PKG_ERRORS" >&5
3585335e815aSmrg
3586cf8f59bfSmrg	as_fn_error $? "Package requirements (fontutil) were not met:
3587335e815aSmrg
3588335e815aSmrg$MAPS_PKG_ERRORS
3589335e815aSmrg
3590335e815aSmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you
3591335e815aSmrginstalled software in a non-standard prefix.
3592335e815aSmrg
3593335e815aSmrgAlternatively, you may set the environment variables MAPS_CFLAGS
3594335e815aSmrgand MAPS_LIBS to avoid the need to call pkg-config.
359527268fb8SmrgSee the pkg-config man page for more details." "$LINENO" 5
3596335e815aSmrgelif test $pkg_failed = untried; then
35970cfee914Smrg     	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35980cfee914Smrgprintf "%s\n" "no" >&6; }
35990cfee914Smrg	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
36000cfee914Smrgprintf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3601cf8f59bfSmrgas_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
3602335e815aSmrgis in your PATH or set the PKG_CONFIG environment variable to the full
3603335e815aSmrgpath to pkg-config.
3604335e815aSmrg
3605335e815aSmrgAlternatively, you may set the environment variables MAPS_CFLAGS
3606335e815aSmrgand MAPS_LIBS to avoid the need to call pkg-config.
3607335e815aSmrgSee the pkg-config man page for more details.
3608335e815aSmrg
3609f4959950SmrgTo get pkg-config, see <http://pkg-config.freedesktop.org/>.
3610cf8f59bfSmrgSee \`config.log' for more details" "$LINENO" 5; }
3611335e815aSmrgelse
3612335e815aSmrg	MAPS_CFLAGS=$pkg_cv_MAPS_CFLAGS
3613335e815aSmrg	MAPS_LIBS=$pkg_cv_MAPS_LIBS
36140cfee914Smrg        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36150cfee914Smrgprintf "%s\n" "yes" >&6; }
361627268fb8Smrg
3617335e815aSmrgfi
36180cfee914Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ucs2any encoding data files" >&5
36190cfee914Smrgprintf %s "checking for ucs2any encoding data files... " >&6; }
36200cfee914Smrg	MAPFILES_PATH=`$PKG_CONFIG --variable=mapdir fontutil`
3621f4959950Smrg
36220cfee914Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${MAPFILES_PATH}" >&5
36230cfee914Smrgprintf "%s\n" "${MAPFILES_PATH}" >&6; }
3624f4959950Smrg
3625335e815aSmrg
3626335e815aSmrg
362727268fb8Smrg	# Check whether --enable-all-encodings was given.
36280cfee914Smrgif test ${enable_all_encodings+y}
36290cfee914Smrgthen :
363027268fb8Smrg  enableval=$enable_all_encodings;
363127268fb8Smrg			ISO8859_1=$enableval
363227268fb8Smrg
363327268fb8Smrg			ISO8859_2=$enableval
363427268fb8Smrg
363527268fb8Smrg			ISO8859_3=$enableval
363627268fb8Smrg
363727268fb8Smrg			ISO8859_4=$enableval
363827268fb8Smrg
363927268fb8Smrg			ISO8859_5=$enableval
364027268fb8Smrg
364127268fb8Smrg			ISO8859_7=$enableval
364227268fb8Smrg
364327268fb8Smrg			ISO8859_8=$enableval
364427268fb8Smrg
364527268fb8Smrg			ISO8859_9=$enableval
364627268fb8Smrg
364727268fb8Smrg			ISO8859_10=$enableval
364827268fb8Smrg
364927268fb8Smrg			ISO8859_11=$enableval
365027268fb8Smrg
365127268fb8Smrg			ISO8859_13=$enableval
365227268fb8Smrg
365327268fb8Smrg			ISO8859_14=$enableval
365427268fb8Smrg
365527268fb8Smrg			ISO8859_15=$enableval
365627268fb8Smrg
365727268fb8Smrg			ISO8859_16=$enableval
365827268fb8Smrg
365927268fb8Smrg			KOI8_R=$enableval
366027268fb8Smrg
366127268fb8Smrg			JISX0201=$enableval
366227268fb8Smrg
36630cfee914Smrgelse $as_nop
366427268fb8Smrg
366527268fb8Smrg			ISO8859_1=yes
366627268fb8Smrg
366727268fb8Smrg			ISO8859_2=yes
366827268fb8Smrg
366927268fb8Smrg			ISO8859_3=yes
367027268fb8Smrg
367127268fb8Smrg			ISO8859_4=yes
367227268fb8Smrg
367327268fb8Smrg			ISO8859_5=yes
367427268fb8Smrg
367527268fb8Smrg			ISO8859_7=yes
367627268fb8Smrg
367727268fb8Smrg			ISO8859_8=yes
367827268fb8Smrg
367927268fb8Smrg			ISO8859_9=yes
368027268fb8Smrg
368127268fb8Smrg			ISO8859_10=yes
368227268fb8Smrg
368327268fb8Smrg			ISO8859_11=yes
368427268fb8Smrg
368527268fb8Smrg			ISO8859_13=yes
368627268fb8Smrg
368727268fb8Smrg			ISO8859_14=yes
368827268fb8Smrg
368927268fb8Smrg			ISO8859_15=yes
369027268fb8Smrg
369127268fb8Smrg			ISO8859_16=yes
369227268fb8Smrg
369327268fb8Smrg			KOI8_R=yes
369427268fb8Smrg
369527268fb8Smrg			JISX0201=yes
369627268fb8Smrg
369727268fb8Smrgfi
369827268fb8Smrg
3699335e815aSmrg
3700f4959950Smrg	# Check whether --enable-iso8859-1 was given.
37010cfee914Smrgif test ${enable_iso8859_1+y}
37020cfee914Smrgthen :
3703f4959950Smrg  enableval=$enable_iso8859_1; ISO8859_1=$enableval
3704f4959950Smrgfi
3705335e815aSmrg
37060cfee914Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build ISO8859-1 fonts" >&5
37070cfee914Smrgprintf %s "checking whether to build ISO8859-1 fonts... " >&6; }
37080cfee914Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ISO8859_1" >&5
37090cfee914Smrgprintf "%s\n" "$ISO8859_1" >&6; }
3710f4959950Smrg	 if test "x$ISO8859_1" = xyes; then
3711335e815aSmrg  ISO8859_1_TRUE=
3712335e815aSmrg  ISO8859_1_FALSE='#'
3713335e815aSmrgelse
3714335e815aSmrg  ISO8859_1_TRUE='#'
3715335e815aSmrg  ISO8859_1_FALSE=
3716335e815aSmrgfi
3717335e815aSmrg
3718335e815aSmrg
3719f4959950Smrg	# Check whether --enable-iso8859-2 was given.
37200cfee914Smrgif test ${enable_iso8859_2+y}
37210cfee914Smrgthen :
3722f4959950Smrg  enableval=$enable_iso8859_2; ISO8859_2=$enableval
3723f4959950Smrgfi
3724335e815aSmrg
37250cfee914Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build ISO8859-2 fonts" >&5
37260cfee914Smrgprintf %s "checking whether to build ISO8859-2 fonts... " >&6; }
37270cfee914Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ISO8859_2" >&5
37280cfee914Smrgprintf "%s\n" "$ISO8859_2" >&6; }
3729f4959950Smrg	 if test "x$ISO8859_2" = xyes; then
3730335e815aSmrg  ISO8859_2_TRUE=
3731335e815aSmrg  ISO8859_2_FALSE='#'
3732335e815aSmrgelse
3733335e815aSmrg  ISO8859_2_TRUE='#'
3734335e815aSmrg  ISO8859_2_FALSE=
3735335e815aSmrgfi
3736335e815aSmrg
3737335e815aSmrg
3738f4959950Smrg	# Check whether --enable-iso8859-3 was given.
37390cfee914Smrgif test ${enable_iso8859_3+y}
37400cfee914Smrgthen :
3741f4959950Smrg  enableval=$enable_iso8859_3; ISO8859_3=$enableval
3742f4959950Smrgfi
3743335e815aSmrg
37440cfee914Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build ISO8859-3 fonts" >&5
37450cfee914Smrgprintf %s "checking whether to build ISO8859-3 fonts... " >&6; }
37460cfee914Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ISO8859_3" >&5
37470cfee914Smrgprintf "%s\n" "$ISO8859_3" >&6; }
3748f4959950Smrg	 if test "x$ISO8859_3" = xyes; then
3749335e815aSmrg  ISO8859_3_TRUE=
3750335e815aSmrg  ISO8859_3_FALSE='#'
3751335e815aSmrgelse
3752335e815aSmrg  ISO8859_3_TRUE='#'
3753335e815aSmrg  ISO8859_3_FALSE=
3754335e815aSmrgfi
3755335e815aSmrg
3756335e815aSmrg
3757f4959950Smrg	# Check whether --enable-iso8859-4 was given.
37580cfee914Smrgif test ${enable_iso8859_4+y}
37590cfee914Smrgthen :
3760f4959950Smrg  enableval=$enable_iso8859_4; ISO8859_4=$enableval
3761f4959950Smrgfi
3762335e815aSmrg
37630cfee914Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build ISO8859-4 fonts" >&5
37640cfee914Smrgprintf %s "checking whether to build ISO8859-4 fonts... " >&6; }
37650cfee914Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ISO8859_4" >&5
37660cfee914Smrgprintf "%s\n" "$ISO8859_4" >&6; }
3767f4959950Smrg	 if test "x$ISO8859_4" = xyes; then
3768335e815aSmrg  ISO8859_4_TRUE=
3769335e815aSmrg  ISO8859_4_FALSE='#'
3770335e815aSmrgelse
3771335e815aSmrg  ISO8859_4_TRUE='#'
3772335e815aSmrg  ISO8859_4_FALSE=
3773335e815aSmrgfi
3774335e815aSmrg
3775335e815aSmrg
3776f4959950Smrg	# Check whether --enable-iso8859-5 was given.
37770cfee914Smrgif test ${enable_iso8859_5+y}
37780cfee914Smrgthen :
3779f4959950Smrg  enableval=$enable_iso8859_5; ISO8859_5=$enableval
3780f4959950Smrgfi
3781335e815aSmrg
37820cfee914Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build ISO8859-5 fonts" >&5
37830cfee914Smrgprintf %s "checking whether to build ISO8859-5 fonts... " >&6; }
37840cfee914Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ISO8859_5" >&5
37850cfee914Smrgprintf "%s\n" "$ISO8859_5" >&6; }
3786f4959950Smrg	 if test "x$ISO8859_5" = xyes; then
3787335e815aSmrg  ISO8859_5_TRUE=
3788335e815aSmrg  ISO8859_5_FALSE='#'
3789335e815aSmrgelse
3790335e815aSmrg  ISO8859_5_TRUE='#'
3791335e815aSmrg  ISO8859_5_FALSE=
3792335e815aSmrgfi
3793335e815aSmrg
3794335e815aSmrg
3795f4959950Smrg	# Check whether --enable-iso8859-7 was given.
37960cfee914Smrgif test ${enable_iso8859_7+y}
37970cfee914Smrgthen :
3798f4959950Smrg  enableval=$enable_iso8859_7; ISO8859_7=$enableval
3799f4959950Smrgfi
3800335e815aSmrg
38010cfee914Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build ISO8859-7 fonts" >&5
38020cfee914Smrgprintf %s "checking whether to build ISO8859-7 fonts... " >&6; }
38030cfee914Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ISO8859_7" >&5
38040cfee914Smrgprintf "%s\n" "$ISO8859_7" >&6; }
3805f4959950Smrg	 if test "x$ISO8859_7" = xyes; then
3806335e815aSmrg  ISO8859_7_TRUE=
3807335e815aSmrg  ISO8859_7_FALSE='#'
3808335e815aSmrgelse
3809335e815aSmrg  ISO8859_7_TRUE='#'
3810335e815aSmrg  ISO8859_7_FALSE=
3811335e815aSmrgfi
3812335e815aSmrg
3813335e815aSmrg
3814f4959950Smrg	# Check whether --enable-iso8859-8 was given.
38150cfee914Smrgif test ${enable_iso8859_8+y}
38160cfee914Smrgthen :
3817f4959950Smrg  enableval=$enable_iso8859_8; ISO8859_8=$enableval
3818f4959950Smrgfi
3819335e815aSmrg
38200cfee914Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build ISO8859-8 fonts" >&5
38210cfee914Smrgprintf %s "checking whether to build ISO8859-8 fonts... " >&6; }
38220cfee914Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ISO8859_8" >&5
38230cfee914Smrgprintf "%s\n" "$ISO8859_8" >&6; }
3824f4959950Smrg	 if test "x$ISO8859_8" = xyes; then
3825335e815aSmrg  ISO8859_8_TRUE=
3826335e815aSmrg  ISO8859_8_FALSE='#'
3827335e815aSmrgelse
3828335e815aSmrg  ISO8859_8_TRUE='#'
3829335e815aSmrg  ISO8859_8_FALSE=
3830335e815aSmrgfi
3831335e815aSmrg
3832335e815aSmrg
3833f4959950Smrg	# Check whether --enable-iso8859-9 was given.
38340cfee914Smrgif test ${enable_iso8859_9+y}
38350cfee914Smrgthen :
3836f4959950Smrg  enableval=$enable_iso8859_9; ISO8859_9=$enableval
3837f4959950Smrgfi
3838335e815aSmrg
38390cfee914Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build ISO8859-9 fonts" >&5
38400cfee914Smrgprintf %s "checking whether to build ISO8859-9 fonts... " >&6; }
38410cfee914Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ISO8859_9" >&5
38420cfee914Smrgprintf "%s\n" "$ISO8859_9" >&6; }
3843f4959950Smrg	 if test "x$ISO8859_9" = xyes; then
3844335e815aSmrg  ISO8859_9_TRUE=
3845335e815aSmrg  ISO8859_9_FALSE='#'
3846335e815aSmrgelse
3847335e815aSmrg  ISO8859_9_TRUE='#'
3848335e815aSmrg  ISO8859_9_FALSE=
3849335e815aSmrgfi
3850335e815aSmrg
3851335e815aSmrg
3852f4959950Smrg	# Check whether --enable-iso8859-10 was given.
38530cfee914Smrgif test ${enable_iso8859_10+y}
38540cfee914Smrgthen :
3855f4959950Smrg  enableval=$enable_iso8859_10; ISO8859_10=$enableval
3856f4959950Smrgfi
3857335e815aSmrg
38580cfee914Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build ISO8859-10 fonts" >&5
38590cfee914Smrgprintf %s "checking whether to build ISO8859-10 fonts... " >&6; }
38600cfee914Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ISO8859_10" >&5
38610cfee914Smrgprintf "%s\n" "$ISO8859_10" >&6; }
3862f4959950Smrg	 if test "x$ISO8859_10" = xyes; then
3863335e815aSmrg  ISO8859_10_TRUE=
3864335e815aSmrg  ISO8859_10_FALSE='#'
3865335e815aSmrgelse
3866335e815aSmrg  ISO8859_10_TRUE='#'
3867335e815aSmrg  ISO8859_10_FALSE=
3868335e815aSmrgfi
3869335e815aSmrg
3870335e815aSmrg
3871f4959950Smrg	# Check whether --enable-iso8859-11 was given.
38720cfee914Smrgif test ${enable_iso8859_11+y}
38730cfee914Smrgthen :
3874f4959950Smrg  enableval=$enable_iso8859_11; ISO8859_11=$enableval
3875f4959950Smrgfi
3876335e815aSmrg
38770cfee914Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build ISO8859-11 fonts" >&5
38780cfee914Smrgprintf %s "checking whether to build ISO8859-11 fonts... " >&6; }
38790cfee914Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ISO8859_11" >&5
38800cfee914Smrgprintf "%s\n" "$ISO8859_11" >&6; }
3881f4959950Smrg	 if test "x$ISO8859_11" = xyes; then
3882335e815aSmrg  ISO8859_11_TRUE=
3883335e815aSmrg  ISO8859_11_FALSE='#'
3884335e815aSmrgelse
3885335e815aSmrg  ISO8859_11_TRUE='#'
3886335e815aSmrg  ISO8859_11_FALSE=
3887335e815aSmrgfi
3888335e815aSmrg
3889335e815aSmrg
3890f4959950Smrg	# Check whether --enable-iso8859-13 was given.
38910cfee914Smrgif test ${enable_iso8859_13+y}
38920cfee914Smrgthen :
3893f4959950Smrg  enableval=$enable_iso8859_13; ISO8859_13=$enableval
3894f4959950Smrgfi
3895335e815aSmrg
38960cfee914Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build ISO8859-13 fonts" >&5
38970cfee914Smrgprintf %s "checking whether to build ISO8859-13 fonts... " >&6; }
38980cfee914Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ISO8859_13" >&5
38990cfee914Smrgprintf "%s\n" "$ISO8859_13" >&6; }
3900f4959950Smrg	 if test "x$ISO8859_13" = xyes; then
3901335e815aSmrg  ISO8859_13_TRUE=
3902335e815aSmrg  ISO8859_13_FALSE='#'
3903335e815aSmrgelse
3904335e815aSmrg  ISO8859_13_TRUE='#'
3905335e815aSmrg  ISO8859_13_FALSE=
3906335e815aSmrgfi
3907335e815aSmrg
3908335e815aSmrg
3909f4959950Smrg	# Check whether --enable-iso8859-14 was given.
39100cfee914Smrgif test ${enable_iso8859_14+y}
39110cfee914Smrgthen :
3912f4959950Smrg  enableval=$enable_iso8859_14; ISO8859_14=$enableval
3913f4959950Smrgfi
3914335e815aSmrg
39150cfee914Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build ISO8859-14 fonts" >&5
39160cfee914Smrgprintf %s "checking whether to build ISO8859-14 fonts... " >&6; }
39170cfee914Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ISO8859_14" >&5
39180cfee914Smrgprintf "%s\n" "$ISO8859_14" >&6; }
3919f4959950Smrg	 if test "x$ISO8859_14" = xyes; then
3920335e815aSmrg  ISO8859_14_TRUE=
3921335e815aSmrg  ISO8859_14_FALSE='#'
3922335e815aSmrgelse
3923335e815aSmrg  ISO8859_14_TRUE='#'
3924335e815aSmrg  ISO8859_14_FALSE=
3925335e815aSmrgfi
3926335e815aSmrg
3927335e815aSmrg
3928f4959950Smrg	# Check whether --enable-iso8859-15 was given.
39290cfee914Smrgif test ${enable_iso8859_15+y}
39300cfee914Smrgthen :
3931f4959950Smrg  enableval=$enable_iso8859_15; ISO8859_15=$enableval
3932f4959950Smrgfi
3933335e815aSmrg
39340cfee914Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build ISO8859-15 fonts" >&5
39350cfee914Smrgprintf %s "checking whether to build ISO8859-15 fonts... " >&6; }
39360cfee914Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ISO8859_15" >&5
39370cfee914Smrgprintf "%s\n" "$ISO8859_15" >&6; }
3938f4959950Smrg	 if test "x$ISO8859_15" = xyes; then
3939335e815aSmrg  ISO8859_15_TRUE=
3940335e815aSmrg  ISO8859_15_FALSE='#'
3941335e815aSmrgelse
3942335e815aSmrg  ISO8859_15_TRUE='#'
3943335e815aSmrg  ISO8859_15_FALSE=
3944335e815aSmrgfi
3945335e815aSmrg
3946335e815aSmrg
3947f4959950Smrg	# Check whether --enable-iso8859-16 was given.
39480cfee914Smrgif test ${enable_iso8859_16+y}
39490cfee914Smrgthen :
3950f4959950Smrg  enableval=$enable_iso8859_16; ISO8859_16=$enableval
3951f4959950Smrgfi
3952335e815aSmrg
39530cfee914Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build ISO8859-16 fonts" >&5
39540cfee914Smrgprintf %s "checking whether to build ISO8859-16 fonts... " >&6; }
39550cfee914Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ISO8859_16" >&5
39560cfee914Smrgprintf "%s\n" "$ISO8859_16" >&6; }
3957f4959950Smrg	 if test "x$ISO8859_16" = xyes; then
3958335e815aSmrg  ISO8859_16_TRUE=
3959335e815aSmrg  ISO8859_16_FALSE='#'
3960335e815aSmrgelse
3961335e815aSmrg  ISO8859_16_TRUE='#'
3962335e815aSmrg  ISO8859_16_FALSE=
3963335e815aSmrgfi
3964335e815aSmrg
3965335e815aSmrg
3966f4959950Smrg	# Check whether --enable-koi8-r was given.
39670cfee914Smrgif test ${enable_koi8_r+y}
39680cfee914Smrgthen :
3969f4959950Smrg  enableval=$enable_koi8_r; KOI8_R=$enableval
3970f4959950Smrgfi
3971335e815aSmrg
39720cfee914Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build KOI8-R fonts" >&5
39730cfee914Smrgprintf %s "checking whether to build KOI8-R fonts... " >&6; }
39740cfee914Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $KOI8_R" >&5
39750cfee914Smrgprintf "%s\n" "$KOI8_R" >&6; }
3976f4959950Smrg	 if test "x$KOI8_R" = xyes; then
3977335e815aSmrg  KOI8_R_TRUE=
3978335e815aSmrg  KOI8_R_FALSE='#'
3979335e815aSmrgelse
3980335e815aSmrg  KOI8_R_TRUE='#'
3981335e815aSmrg  KOI8_R_FALSE=
3982335e815aSmrgfi
3983335e815aSmrg
3984335e815aSmrg
3985f4959950Smrg	# Check whether --enable-jisx0201 was given.
39860cfee914Smrgif test ${enable_jisx0201+y}
39870cfee914Smrgthen :
3988f4959950Smrg  enableval=$enable_jisx0201; JISX0201=$enableval
3989f4959950Smrgfi
3990335e815aSmrg
39910cfee914Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build JISX0201 fonts" >&5
39920cfee914Smrgprintf %s "checking whether to build JISX0201 fonts... " >&6; }
39930cfee914Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $JISX0201" >&5
39940cfee914Smrgprintf "%s\n" "$JISX0201" >&6; }
3995f4959950Smrg	 if test "x$JISX0201" = xyes; then
3996335e815aSmrg  JISX0201_TRUE=
3997335e815aSmrg  JISX0201_FALSE='#'
3998335e815aSmrgelse
3999335e815aSmrg  JISX0201_TRUE='#'
4000335e815aSmrg  JISX0201_FALSE=
4001335e815aSmrgfi
4002335e815aSmrg
4003335e815aSmrg
4004335e815aSmrg
4005335e815aSmrg
4006f4959950Smrgac_config_files="$ac_config_files Makefile"
4007335e815aSmrg
4008335e815aSmrgcat >confcache <<\_ACEOF
4009335e815aSmrg# This file is a shell script that caches the results of configure
4010335e815aSmrg# tests run on this system so they can be shared between configure
4011335e815aSmrg# scripts and configure runs, see configure's option --config-cache.
4012335e815aSmrg# It is not useful on other systems.  If it contains results you don't
4013335e815aSmrg# want to keep, you may remove or edit it.
4014335e815aSmrg#
4015335e815aSmrg# config.status only pays attention to the cache file if you give it
4016335e815aSmrg# the --recheck option to rerun configure.
4017335e815aSmrg#
4018335e815aSmrg# `ac_cv_env_foo' variables (set or unset) will be overridden when
4019335e815aSmrg# loading this file, other *unset* `ac_cv_foo' will be assigned the
4020335e815aSmrg# following values.
4021335e815aSmrg
4022335e815aSmrg_ACEOF
4023335e815aSmrg
4024335e815aSmrg# The following way of writing the cache mishandles newlines in values,
4025335e815aSmrg# but we know of no workaround that is simple, portable, and efficient.
4026f4959950Smrg# So, we kill variables containing newlines.
4027335e815aSmrg# Ultrix sh set writes to stderr and can't be redirected directly,
4028335e815aSmrg# and sets the high bit in the cache file unless we assign to the vars.
4029f4959950Smrg(
4030f4959950Smrg  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4031f4959950Smrg    eval ac_val=\$$ac_var
4032f4959950Smrg    case $ac_val in #(
4033f4959950Smrg    *${as_nl}*)
4034f4959950Smrg      case $ac_var in #(
40350cfee914Smrg      *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
40360cfee914Smrgprintf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4037f4959950Smrg      esac
4038f4959950Smrg      case $ac_var in #(
4039f4959950Smrg      _ | IFS | as_nl) ;; #(
4040f4959950Smrg      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4041cf8f59bfSmrg      *) { eval $ac_var=; unset $ac_var;} ;;
4042f4959950Smrg      esac ;;
4043f4959950Smrg    esac
4044f4959950Smrg  done
4045f4959950Smrg
4046335e815aSmrg  (set) 2>&1 |
4047f4959950Smrg    case $as_nl`(ac_space=' '; set) 2>&1` in #(
4048f4959950Smrg    *${as_nl}ac_space=\ *)
4049cf8f59bfSmrg      # `set' does not quote correctly, so add quotes: double-quote
4050cf8f59bfSmrg      # substitution turns \\\\ into \\, and sed turns \\ into \.
4051335e815aSmrg      sed -n \
4052335e815aSmrg	"s/'/'\\\\''/g;
4053335e815aSmrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4054f4959950Smrg      ;; #(
4055335e815aSmrg    *)
4056335e815aSmrg      # `set' quotes correctly as required by POSIX, so do not add quotes.
4057f4959950Smrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4058335e815aSmrg      ;;
4059f4959950Smrg    esac |
4060f4959950Smrg    sort
4061f4959950Smrg) |
4062335e815aSmrg  sed '
4063f4959950Smrg     /^ac_cv_env_/b end
4064335e815aSmrg     t clear
4065f4959950Smrg     :clear
40660cfee914Smrg     s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
4067335e815aSmrg     t end
4068f4959950Smrg     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4069f4959950Smrg     :end' >>confcache
4070f4959950Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4071f4959950Smrg  if test -w "$cache_file"; then
4072cf8f59bfSmrg    if test "x$cache_file" != "x/dev/null"; then
40730cfee914Smrg      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
40740cfee914Smrgprintf "%s\n" "$as_me: updating cache $cache_file" >&6;}
4075cf8f59bfSmrg      if test ! -f "$cache_file" || test -h "$cache_file"; then
4076cf8f59bfSmrg	cat confcache >"$cache_file"
4077cf8f59bfSmrg      else
4078cf8f59bfSmrg        case $cache_file in #(
4079cf8f59bfSmrg        */* | ?:*)
4080cf8f59bfSmrg	  mv -f confcache "$cache_file"$$ &&
4081cf8f59bfSmrg	  mv -f "$cache_file"$$ "$cache_file" ;; #(
4082cf8f59bfSmrg        *)
4083cf8f59bfSmrg	  mv -f confcache "$cache_file" ;;
4084cf8f59bfSmrg	esac
4085cf8f59bfSmrg      fi
4086cf8f59bfSmrg    fi
4087335e815aSmrg  else
40880cfee914Smrg    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
40890cfee914Smrgprintf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
4090335e815aSmrg  fi
4091335e815aSmrgfi
4092335e815aSmrgrm -f confcache
4093335e815aSmrg
4094335e815aSmrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix
4095335e815aSmrg# Let make expand exec_prefix.
4096335e815aSmrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4097335e815aSmrg
4098335e815aSmrg# Transform confdefs.h into DEFS.
4099335e815aSmrg# Protect against shell expansion while executing Makefile rules.
4100335e815aSmrg# Protect against Makefile macro expansion.
4101335e815aSmrg#
4102335e815aSmrg# If the first sed substitution is executed (which looks for macros that
4103f4959950Smrg# take arguments), then branch to the quote section.  Otherwise,
4104335e815aSmrg# look for a macro that doesn't take arguments.
4105f4959950Smrgac_script='
4106f4959950Smrg:mline
4107f4959950Smrg/\\$/{
4108f4959950Smrg N
4109f4959950Smrg s,\\\n,,
4110f4959950Smrg b mline
4111f4959950Smrg}
4112335e815aSmrgt clear
4113f4959950Smrg:clear
4114f4959950Smrgs/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
4115335e815aSmrgt quote
4116f4959950Smrgs/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
4117335e815aSmrgt quote
4118f4959950Smrgb any
4119f4959950Smrg:quote
4120f4959950Smrgs/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4121f4959950Smrgs/\[/\\&/g
4122f4959950Smrgs/\]/\\&/g
4123f4959950Smrgs/\$/$$/g
4124f4959950SmrgH
4125f4959950Smrg:any
4126f4959950Smrg${
4127f4959950Smrg	g
4128f4959950Smrg	s/^\n//
4129f4959950Smrg	s/\n/ /g
4130f4959950Smrg	p
4131f4959950Smrg}
4132f4959950Smrg'
4133f4959950SmrgDEFS=`sed -n "$ac_script" confdefs.h`
4134335e815aSmrg
4135335e815aSmrg
4136335e815aSmrgac_libobjs=
4137335e815aSmrgac_ltlibobjs=
4138cf8f59bfSmrgU=
4139335e815aSmrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4140335e815aSmrg  # 1. Remove the extension, and $U if already installed.
4141f4959950Smrg  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
41420cfee914Smrg  ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
4143f4959950Smrg  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
4144f4959950Smrg  #    will be set to the directory where LIBOBJS objects are built.
4145cf8f59bfSmrg  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4146cf8f59bfSmrg  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4147335e815aSmrgdone
4148335e815aSmrgLIBOBJS=$ac_libobjs
4149335e815aSmrg
4150335e815aSmrgLTLIBOBJS=$ac_ltlibobjs
4151335e815aSmrg
4152335e815aSmrg
41530cfee914Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
41540cfee914Smrgprintf %s "checking that generated files are newer than configure... " >&6; }
41550cfee914Smrg   if test -n "$am_sleep_pid"; then
41560cfee914Smrg     # Hide warnings about reused PIDs.
41570cfee914Smrg     wait $am_sleep_pid 2>/dev/null
41580cfee914Smrg   fi
41590cfee914Smrg   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
41600cfee914Smrgprintf "%s\n" "done" >&6; }
4161f4959950Smrg
4162335e815aSmrgif test -z "${ISO8859_1_TRUE}" && test -z "${ISO8859_1_FALSE}"; then
4163cf8f59bfSmrg  as_fn_error $? "conditional \"ISO8859_1\" was never defined.
4164cf8f59bfSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
4165335e815aSmrgfi
4166335e815aSmrgif test -z "${ISO8859_2_TRUE}" && test -z "${ISO8859_2_FALSE}"; then
4167cf8f59bfSmrg  as_fn_error $? "conditional \"ISO8859_2\" was never defined.
4168cf8f59bfSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
4169335e815aSmrgfi
4170335e815aSmrgif test -z "${ISO8859_3_TRUE}" && test -z "${ISO8859_3_FALSE}"; then
4171cf8f59bfSmrg  as_fn_error $? "conditional \"ISO8859_3\" was never defined.
4172cf8f59bfSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
4173335e815aSmrgfi
4174335e815aSmrgif test -z "${ISO8859_4_TRUE}" && test -z "${ISO8859_4_FALSE}"; then
4175cf8f59bfSmrg  as_fn_error $? "conditional \"ISO8859_4\" was never defined.
4176cf8f59bfSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
4177335e815aSmrgfi
4178335e815aSmrgif test -z "${ISO8859_5_TRUE}" && test -z "${ISO8859_5_FALSE}"; then
4179cf8f59bfSmrg  as_fn_error $? "conditional \"ISO8859_5\" was never defined.
4180cf8f59bfSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
4181335e815aSmrgfi
4182335e815aSmrgif test -z "${ISO8859_7_TRUE}" && test -z "${ISO8859_7_FALSE}"; then
4183cf8f59bfSmrg  as_fn_error $? "conditional \"ISO8859_7\" was never defined.
4184cf8f59bfSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
4185335e815aSmrgfi
4186335e815aSmrgif test -z "${ISO8859_8_TRUE}" && test -z "${ISO8859_8_FALSE}"; then
4187cf8f59bfSmrg  as_fn_error $? "conditional \"ISO8859_8\" was never defined.
4188cf8f59bfSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
4189335e815aSmrgfi
4190335e815aSmrgif test -z "${ISO8859_9_TRUE}" && test -z "${ISO8859_9_FALSE}"; then
4191cf8f59bfSmrg  as_fn_error $? "conditional \"ISO8859_9\" was never defined.
4192cf8f59bfSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
4193335e815aSmrgfi
4194335e815aSmrgif test -z "${ISO8859_10_TRUE}" && test -z "${ISO8859_10_FALSE}"; then
4195cf8f59bfSmrg  as_fn_error $? "conditional \"ISO8859_10\" was never defined.
4196cf8f59bfSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
4197335e815aSmrgfi
4198335e815aSmrgif test -z "${ISO8859_11_TRUE}" && test -z "${ISO8859_11_FALSE}"; then
4199cf8f59bfSmrg  as_fn_error $? "conditional \"ISO8859_11\" was never defined.
4200cf8f59bfSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
4201335e815aSmrgfi
4202335e815aSmrgif test -z "${ISO8859_13_TRUE}" && test -z "${ISO8859_13_FALSE}"; then
4203cf8f59bfSmrg  as_fn_error $? "conditional \"ISO8859_13\" was never defined.
4204cf8f59bfSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
4205335e815aSmrgfi
4206335e815aSmrgif test -z "${ISO8859_14_TRUE}" && test -z "${ISO8859_14_FALSE}"; then
4207cf8f59bfSmrg  as_fn_error $? "conditional \"ISO8859_14\" was never defined.
4208cf8f59bfSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
4209335e815aSmrgfi
4210335e815aSmrgif test -z "${ISO8859_15_TRUE}" && test -z "${ISO8859_15_FALSE}"; then
4211cf8f59bfSmrg  as_fn_error $? "conditional \"ISO8859_15\" was never defined.
4212cf8f59bfSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
4213335e815aSmrgfi
4214335e815aSmrgif test -z "${ISO8859_16_TRUE}" && test -z "${ISO8859_16_FALSE}"; then
4215cf8f59bfSmrg  as_fn_error $? "conditional \"ISO8859_16\" was never defined.
4216cf8f59bfSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
4217335e815aSmrgfi
4218335e815aSmrgif test -z "${KOI8_R_TRUE}" && test -z "${KOI8_R_FALSE}"; then
4219cf8f59bfSmrg  as_fn_error $? "conditional \"KOI8_R\" was never defined.
4220cf8f59bfSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
4221335e815aSmrgfi
4222335e815aSmrgif test -z "${JISX0201_TRUE}" && test -z "${JISX0201_FALSE}"; then
4223cf8f59bfSmrg  as_fn_error $? "conditional \"JISX0201\" was never defined.
4224cf8f59bfSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
4225335e815aSmrgfi
4226335e815aSmrg
4227cf8f59bfSmrg: "${CONFIG_STATUS=./config.status}"
4228f4959950Smrgac_write_fail=0
4229335e815aSmrgac_clean_files_save=$ac_clean_files
4230335e815aSmrgac_clean_files="$ac_clean_files $CONFIG_STATUS"
42310cfee914Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
42320cfee914Smrgprintf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
4233cf8f59bfSmrgas_write_fail=0
4234cf8f59bfSmrgcat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4235335e815aSmrg#! $SHELL
4236335e815aSmrg# Generated by $as_me.
4237335e815aSmrg# Run this file to recreate the current configuration.
4238335e815aSmrg# Compiler output produced by configure, useful for debugging
4239335e815aSmrg# configure, is in config.log if it exists.
4240335e815aSmrg
4241335e815aSmrgdebug=false
4242335e815aSmrgac_cs_recheck=false
4243335e815aSmrgac_cs_silent=false
4244335e815aSmrg
4245cf8f59bfSmrgSHELL=\${CONFIG_SHELL-$SHELL}
4246cf8f59bfSmrgexport SHELL
4247cf8f59bfSmrg_ASEOF
4248cf8f59bfSmrgcat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4249cf8f59bfSmrg## -------------------- ##
4250cf8f59bfSmrg## M4sh Initialization. ##
4251cf8f59bfSmrg## -------------------- ##
4252335e815aSmrg
4253f4959950Smrg# Be more Bourne compatible
4254f4959950SmrgDUALCASE=1; export DUALCASE # for MKS sh
42550cfee914Smrgas_nop=:
42560cfee914Smrgif test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
42570cfee914Smrgthen :
4258335e815aSmrg  emulate sh
4259335e815aSmrg  NULLCMD=:
4260f4959950Smrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4261335e815aSmrg  # is contrary to our usage.  Disable this feature.
4262335e815aSmrg  alias -g '${1+"$@"}'='"$@"'
4263f4959950Smrg  setopt NO_GLOB_SUBST
42640cfee914Smrgelse $as_nop
4265cf8f59bfSmrg  case `(set -o) 2>/dev/null` in #(
4266cf8f59bfSmrg  *posix*) :
4267cf8f59bfSmrg    set -o posix ;; #(
4268cf8f59bfSmrg  *) :
4269cf8f59bfSmrg     ;;
4270f4959950Smrgesac
4271f4959950Smrgfi
4272f4959950Smrg
4273f4959950Smrg
42740cfee914Smrg
42750cfee914Smrg# Reset variables that may have inherited troublesome values from
42760cfee914Smrg# the environment.
42770cfee914Smrg
42780cfee914Smrg# IFS needs to be set, to space, tab, and newline, in precisely that order.
42790cfee914Smrg# (If _AS_PATH_WALK were called with IFS unset, it would have the
42800cfee914Smrg# side effect of setting IFS to empty, thus disabling word splitting.)
42810cfee914Smrg# Quoting is to prevent editors from complaining about space-tab.
4282f4959950Smrgas_nl='
4283f4959950Smrg'
4284f4959950Smrgexport as_nl
42850cfee914SmrgIFS=" ""	$as_nl"
42860cfee914Smrg
42870cfee914SmrgPS1='$ '
42880cfee914SmrgPS2='> '
42890cfee914SmrgPS4='+ '
42900cfee914Smrg
42910cfee914Smrg# Ensure predictable behavior from utilities with locale-dependent output.
42920cfee914SmrgLC_ALL=C
42930cfee914Smrgexport LC_ALL
42940cfee914SmrgLANGUAGE=C
42950cfee914Smrgexport LANGUAGE
42960cfee914Smrg
42970cfee914Smrg# We cannot yet rely on "unset" to work, but we need these variables
42980cfee914Smrg# to be unset--not just set to an empty or harmless value--now, to
42990cfee914Smrg# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
43000cfee914Smrg# also avoids known problems related to "unset" and subshell syntax
43010cfee914Smrg# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
43020cfee914Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
43030cfee914Smrgdo eval test \${$as_var+y} \
43040cfee914Smrg  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
43050cfee914Smrgdone
43060cfee914Smrg
43070cfee914Smrg# Ensure that fds 0, 1, and 2 are open.
43080cfee914Smrgif (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
43090cfee914Smrgif (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
43100cfee914Smrgif (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
4311f4959950Smrg
4312f4959950Smrg# The user is always right.
43130cfee914Smrgif ${PATH_SEPARATOR+false} :; then
4314f4959950Smrg  PATH_SEPARATOR=:
4315f4959950Smrg  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4316f4959950Smrg    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4317f4959950Smrg      PATH_SEPARATOR=';'
4318f4959950Smrg  }
4319335e815aSmrgfi
4320335e815aSmrg
4321335e815aSmrg
4322f4959950Smrg# Find who we are.  Look in the path if we contain no directory separator.
4323cf8f59bfSmrgas_myself=
4324cf8f59bfSmrgcase $0 in #((
4325f4959950Smrg  *[\\/]* ) as_myself=$0 ;;
4326f4959950Smrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4327f4959950Smrgfor as_dir in $PATH
4328f4959950Smrgdo
4329f4959950Smrg  IFS=$as_save_IFS
43300cfee914Smrg  case $as_dir in #(((
43310cfee914Smrg    '') as_dir=./ ;;
43320cfee914Smrg    */) ;;
43330cfee914Smrg    *) as_dir=$as_dir/ ;;
43340cfee914Smrg  esac
43350cfee914Smrg    test -r "$as_dir$0" && as_myself=$as_dir$0 && break
4336cf8f59bfSmrg  done
4337f4959950SmrgIFS=$as_save_IFS
4338f4959950Smrg
4339f4959950Smrg     ;;
4340f4959950Smrgesac
4341f4959950Smrg# We did not find ourselves, most probably we were run as `sh COMMAND'
4342f4959950Smrg# in which case we are not to be found in the path.
4343f4959950Smrgif test "x$as_myself" = x; then
4344f4959950Smrg  as_myself=$0
4345f4959950Smrgfi
4346f4959950Smrgif test ! -f "$as_myself"; then
43470cfee914Smrg  printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4348cf8f59bfSmrg  exit 1
4349f4959950Smrgfi
4350f4959950Smrg
4351cf8f59bfSmrg
4352cf8f59bfSmrg
4353cf8f59bfSmrg# as_fn_error STATUS ERROR [LINENO LOG_FD]
4354cf8f59bfSmrg# ----------------------------------------
4355cf8f59bfSmrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4356cf8f59bfSmrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4357cf8f59bfSmrg# script with STATUS, using 1 if that was 0.
4358cf8f59bfSmrgas_fn_error ()
4359cf8f59bfSmrg{
4360cf8f59bfSmrg  as_status=$1; test $as_status -eq 0 && as_status=1
4361cf8f59bfSmrg  if test "$4"; then
4362cf8f59bfSmrg    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
43630cfee914Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4364cf8f59bfSmrg  fi
43650cfee914Smrg  printf "%s\n" "$as_me: error: $2" >&2
4366cf8f59bfSmrg  as_fn_exit $as_status
4367cf8f59bfSmrg} # as_fn_error
4368cf8f59bfSmrg
4369cf8f59bfSmrg
43700cfee914Smrg
4371cf8f59bfSmrg# as_fn_set_status STATUS
4372cf8f59bfSmrg# -----------------------
4373cf8f59bfSmrg# Set $? to STATUS, without forking.
4374cf8f59bfSmrgas_fn_set_status ()
4375cf8f59bfSmrg{
4376cf8f59bfSmrg  return $1
4377cf8f59bfSmrg} # as_fn_set_status
4378cf8f59bfSmrg
4379cf8f59bfSmrg# as_fn_exit STATUS
4380cf8f59bfSmrg# -----------------
4381cf8f59bfSmrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4382cf8f59bfSmrgas_fn_exit ()
4383cf8f59bfSmrg{
4384cf8f59bfSmrg  set +e
4385cf8f59bfSmrg  as_fn_set_status $1
4386cf8f59bfSmrg  exit $1
4387cf8f59bfSmrg} # as_fn_exit
4388cf8f59bfSmrg
4389cf8f59bfSmrg# as_fn_unset VAR
4390cf8f59bfSmrg# ---------------
4391cf8f59bfSmrg# Portably unset VAR.
4392cf8f59bfSmrgas_fn_unset ()
4393cf8f59bfSmrg{
4394cf8f59bfSmrg  { eval $1=; unset $1;}
4395cf8f59bfSmrg}
4396cf8f59bfSmrgas_unset=as_fn_unset
43970cfee914Smrg
4398cf8f59bfSmrg# as_fn_append VAR VALUE
4399cf8f59bfSmrg# ----------------------
4400cf8f59bfSmrg# Append the text in VALUE to the end of the definition contained in VAR. Take
4401cf8f59bfSmrg# advantage of any shell optimizations that allow amortized linear growth over
4402cf8f59bfSmrg# repeated appends, instead of the typical quadratic growth present in naive
4403cf8f59bfSmrg# implementations.
44040cfee914Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
44050cfee914Smrgthen :
4406cf8f59bfSmrg  eval 'as_fn_append ()
4407cf8f59bfSmrg  {
4408cf8f59bfSmrg    eval $1+=\$2
4409cf8f59bfSmrg  }'
44100cfee914Smrgelse $as_nop
4411cf8f59bfSmrg  as_fn_append ()
4412cf8f59bfSmrg  {
4413cf8f59bfSmrg    eval $1=\$$1\$2
4414cf8f59bfSmrg  }
4415cf8f59bfSmrgfi # as_fn_append
4416cf8f59bfSmrg
4417cf8f59bfSmrg# as_fn_arith ARG...
4418cf8f59bfSmrg# ------------------
4419cf8f59bfSmrg# Perform arithmetic evaluation on the ARGs, and store the result in the
4420cf8f59bfSmrg# global $as_val. Take advantage of shells that can avoid forks. The arguments
4421cf8f59bfSmrg# must be portable across $(()) and expr.
44220cfee914Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
44230cfee914Smrgthen :
4424cf8f59bfSmrg  eval 'as_fn_arith ()
4425cf8f59bfSmrg  {
4426cf8f59bfSmrg    as_val=$(( $* ))
4427cf8f59bfSmrg  }'
44280cfee914Smrgelse $as_nop
4429cf8f59bfSmrg  as_fn_arith ()
4430cf8f59bfSmrg  {
4431cf8f59bfSmrg    as_val=`expr "$@" || test $? -eq 1`
4432cf8f59bfSmrg  }
4433cf8f59bfSmrgfi # as_fn_arith
4434cf8f59bfSmrg
4435cf8f59bfSmrg
4436f4959950Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
4437f4959950Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
4438335e815aSmrg  as_expr=expr
4439335e815aSmrgelse
4440335e815aSmrg  as_expr=false
4441335e815aSmrgfi
4442335e815aSmrg
4443f4959950Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4444335e815aSmrg  as_basename=basename
4445335e815aSmrgelse
4446335e815aSmrg  as_basename=false
4447335e815aSmrgfi
4448335e815aSmrg
4449cf8f59bfSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4450cf8f59bfSmrg  as_dirname=dirname
4451cf8f59bfSmrgelse
4452cf8f59bfSmrg  as_dirname=false
4453cf8f59bfSmrgfi
4454335e815aSmrg
4455f4959950Smrgas_me=`$as_basename -- "$0" ||
4456335e815aSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4457335e815aSmrg	 X"$0" : 'X\(//\)$' \| \
4458f4959950Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
44590cfee914Smrgprintf "%s\n" X/"$0" |
4460f4959950Smrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
4461f4959950Smrg	    s//\1/
4462f4959950Smrg	    q
4463f4959950Smrg	  }
4464f4959950Smrg	  /^X\/\(\/\/\)$/{
4465f4959950Smrg	    s//\1/
4466f4959950Smrg	    q
4467f4959950Smrg	  }
4468f4959950Smrg	  /^X\/\(\/\).*/{
4469f4959950Smrg	    s//\1/
4470f4959950Smrg	    q
4471f4959950Smrg	  }
4472f4959950Smrg	  s/.*/./; q'`
4473335e815aSmrg
4474cf8f59bfSmrg# Avoid depending upon Character Ranges.
4475cf8f59bfSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
4476cf8f59bfSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4477cf8f59bfSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
4478cf8f59bfSmrgas_cr_digits='0123456789'
4479cf8f59bfSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits
4480335e815aSmrg
44810cfee914Smrg
44820cfee914Smrg# Determine whether it's possible to make 'echo' print without a newline.
44830cfee914Smrg# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
44840cfee914Smrg# for compatibility with existing Makefiles.
4485f4959950SmrgECHO_C= ECHO_N= ECHO_T=
4486cf8f59bfSmrgcase `echo -n x` in #(((((
4487f4959950Smrg-n*)
4488cf8f59bfSmrg  case `echo 'xy\c'` in
4489f4959950Smrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
4490cf8f59bfSmrg  xy)  ECHO_C='\c';;
4491cf8f59bfSmrg  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
4492cf8f59bfSmrg       ECHO_T='	';;
4493f4959950Smrg  esac;;
4494f4959950Smrg*)
4495f4959950Smrg  ECHO_N='-n';;
4496f4959950Smrgesac
4497335e815aSmrg
44980cfee914Smrg# For backward compatibility with old third-party macros, we provide
44990cfee914Smrg# the shell variables $as_echo and $as_echo_n.  New code should use
45000cfee914Smrg# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
45010cfee914Smrgas_echo='printf %s\n'
45020cfee914Smrgas_echo_n='printf %s'
45030cfee914Smrg
4504335e815aSmrgrm -f conf$$ conf$$.exe conf$$.file
4505f4959950Smrgif test -d conf$$.dir; then
4506f4959950Smrg  rm -f conf$$.dir/conf$$.file
4507f4959950Smrgelse
4508f4959950Smrg  rm -f conf$$.dir
4509f4959950Smrg  mkdir conf$$.dir 2>/dev/null
4510f4959950Smrgfi
4511f4959950Smrgif (echo >conf$$.file) 2>/dev/null; then
4512f4959950Smrg  if ln -s conf$$.file conf$$ 2>/dev/null; then
4513335e815aSmrg    as_ln_s='ln -s'
4514f4959950Smrg    # ... but there are two gotchas:
4515f4959950Smrg    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4516f4959950Smrg    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
45170cfee914Smrg    # In both cases, we have to default to `cp -pR'.
4518f4959950Smrg    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
45190cfee914Smrg      as_ln_s='cp -pR'
4520f4959950Smrg  elif ln conf$$.file conf$$ 2>/dev/null; then
4521f4959950Smrg    as_ln_s=ln
4522f4959950Smrg  else
45230cfee914Smrg    as_ln_s='cp -pR'
4524335e815aSmrg  fi
4525335e815aSmrgelse
45260cfee914Smrg  as_ln_s='cp -pR'
4527335e815aSmrgfi
4528f4959950Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4529f4959950Smrgrmdir conf$$.dir 2>/dev/null
4530335e815aSmrg
4531cf8f59bfSmrg
4532cf8f59bfSmrg# as_fn_mkdir_p
4533cf8f59bfSmrg# -------------
4534cf8f59bfSmrg# Create "$as_dir" as a directory, including parents if necessary.
4535cf8f59bfSmrgas_fn_mkdir_p ()
4536cf8f59bfSmrg{
4537cf8f59bfSmrg
4538cf8f59bfSmrg  case $as_dir in #(
4539cf8f59bfSmrg  -*) as_dir=./$as_dir;;
4540cf8f59bfSmrg  esac
4541cf8f59bfSmrg  test -d "$as_dir" || eval $as_mkdir_p || {
4542cf8f59bfSmrg    as_dirs=
4543cf8f59bfSmrg    while :; do
4544cf8f59bfSmrg      case $as_dir in #(
45450cfee914Smrg      *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4546cf8f59bfSmrg      *) as_qdir=$as_dir;;
4547cf8f59bfSmrg      esac
4548cf8f59bfSmrg      as_dirs="'$as_qdir' $as_dirs"
4549cf8f59bfSmrg      as_dir=`$as_dirname -- "$as_dir" ||
4550cf8f59bfSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4551cf8f59bfSmrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
4552cf8f59bfSmrg	 X"$as_dir" : 'X\(//\)$' \| \
4553cf8f59bfSmrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
45540cfee914Smrgprintf "%s\n" X"$as_dir" |
4555cf8f59bfSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4556cf8f59bfSmrg	    s//\1/
4557cf8f59bfSmrg	    q
4558cf8f59bfSmrg	  }
4559cf8f59bfSmrg	  /^X\(\/\/\)[^/].*/{
4560cf8f59bfSmrg	    s//\1/
4561cf8f59bfSmrg	    q
4562cf8f59bfSmrg	  }
4563cf8f59bfSmrg	  /^X\(\/\/\)$/{
4564cf8f59bfSmrg	    s//\1/
4565cf8f59bfSmrg	    q
4566cf8f59bfSmrg	  }
4567cf8f59bfSmrg	  /^X\(\/\).*/{
4568cf8f59bfSmrg	    s//\1/
4569cf8f59bfSmrg	    q
4570cf8f59bfSmrg	  }
4571cf8f59bfSmrg	  s/.*/./; q'`
4572cf8f59bfSmrg      test -d "$as_dir" && break
4573cf8f59bfSmrg    done
4574cf8f59bfSmrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
4575cf8f59bfSmrg  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4576cf8f59bfSmrg
4577cf8f59bfSmrg
4578cf8f59bfSmrg} # as_fn_mkdir_p
4579335e815aSmrgif mkdir -p . 2>/dev/null; then
4580cf8f59bfSmrg  as_mkdir_p='mkdir -p "$as_dir"'
4581335e815aSmrgelse
4582335e815aSmrg  test -d ./-p && rmdir ./-p
4583335e815aSmrg  as_mkdir_p=false
4584335e815aSmrgfi
4585335e815aSmrg
45860cfee914Smrg
45870cfee914Smrg# as_fn_executable_p FILE
45880cfee914Smrg# -----------------------
45890cfee914Smrg# Test if FILE is an executable regular file.
45900cfee914Smrgas_fn_executable_p ()
45910cfee914Smrg{
45920cfee914Smrg  test -f "$1" && test -x "$1"
45930cfee914Smrg} # as_fn_executable_p
45940cfee914Smrgas_test_x='test -x'
45950cfee914Smrgas_executable_p=as_fn_executable_p
4596335e815aSmrg
4597335e815aSmrg# Sed expression to map a string onto a valid CPP name.
4598335e815aSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4599335e815aSmrg
4600335e815aSmrg# Sed expression to map a string onto a valid variable name.
4601335e815aSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4602335e815aSmrg
4603335e815aSmrg
4604335e815aSmrgexec 6>&1
4605cf8f59bfSmrg## ----------------------------------- ##
4606cf8f59bfSmrg## Main body of $CONFIG_STATUS script. ##
4607cf8f59bfSmrg## ----------------------------------- ##
4608cf8f59bfSmrg_ASEOF
4609cf8f59bfSmrgtest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4610335e815aSmrg
4611cf8f59bfSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4612cf8f59bfSmrg# Save the log message, to keep $0 and so on meaningful, and to
4613335e815aSmrg# report actual input values of CONFIG_FILES etc. instead of their
4614f4959950Smrg# values after options handling.
4615f4959950Smrgac_log="
46160cfee914SmrgThis file was extended by font-misc-misc $as_me 1.1.3, which was
46170cfee914Smrggenerated by GNU Autoconf 2.71.  Invocation command line was
4618335e815aSmrg
4619335e815aSmrg  CONFIG_FILES    = $CONFIG_FILES
4620335e815aSmrg  CONFIG_HEADERS  = $CONFIG_HEADERS
4621335e815aSmrg  CONFIG_LINKS    = $CONFIG_LINKS
4622335e815aSmrg  CONFIG_COMMANDS = $CONFIG_COMMANDS
4623335e815aSmrg  $ $0 $@
4624335e815aSmrg
4625f4959950Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q`
4626f4959950Smrg"
4627f4959950Smrg
4628335e815aSmrg_ACEOF
4629335e815aSmrg
4630f4959950Smrgcase $ac_config_files in *"
4631f4959950Smrg"*) set x $ac_config_files; shift; ac_config_files=$*;;
4632f4959950Smrgesac
4633335e815aSmrg
4634335e815aSmrg
4635335e815aSmrg
4636f4959950Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4637f4959950Smrg# Files that config.status was made for.
4638f4959950Smrgconfig_files="$ac_config_files"
4639335e815aSmrg
4640f4959950Smrg_ACEOF
4641335e815aSmrg
4642f4959950Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4643335e815aSmrgac_cs_usage="\
4644cf8f59bfSmrg\`$as_me' instantiates files and other configuration actions
4645cf8f59bfSmrgfrom templates according to the current configuration.  Unless the files
4646cf8f59bfSmrgand actions are specified as TAGs, all are instantiated by default.
4647335e815aSmrg
4648cf8f59bfSmrgUsage: $0 [OPTION]... [TAG]...
4649335e815aSmrg
4650335e815aSmrg  -h, --help       print this help, then exit
4651f4959950Smrg  -V, --version    print version number and configuration settings, then exit
4652cf8f59bfSmrg      --config     print configuration, then exit
4653f4959950Smrg  -q, --quiet, --silent
4654f4959950Smrg                   do not print progress messages
4655335e815aSmrg  -d, --debug      don't remove temporary files
4656335e815aSmrg      --recheck    update $as_me by reconfiguring in the same conditions
4657f4959950Smrg      --file=FILE[:TEMPLATE]
4658f4959950Smrg                   instantiate the configuration file FILE
4659335e815aSmrg
4660335e815aSmrgConfiguration files:
4661335e815aSmrg$config_files
4662335e815aSmrg
46630cfee914SmrgReport bugs to <https://gitlab.freedesktop.org/xorg/font/misc-misc/-/issues>."
4664335e815aSmrg
4665f4959950Smrg_ACEOF
46660cfee914Smrgac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
46670cfee914Smrgac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
4668f4959950Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
46690cfee914Smrgac_cs_config='$ac_cs_config_escaped'
4670335e815aSmrgac_cs_version="\\
46710cfee914Smrgfont-misc-misc config.status 1.1.3
46720cfee914Smrgconfigured by $0, generated by GNU Autoconf 2.71,
4673cf8f59bfSmrg  with options \\"\$ac_cs_config\\"
4674335e815aSmrg
46750cfee914SmrgCopyright (C) 2021 Free Software Foundation, Inc.
4676335e815aSmrgThis config.status script is free software; the Free Software Foundation
4677335e815aSmrggives unlimited permission to copy, distribute and modify it."
4678f4959950Smrg
4679f4959950Smrgac_pwd='$ac_pwd'
4680f4959950Smrgsrcdir='$srcdir'
4681f4959950SmrgINSTALL='$INSTALL'
4682f4959950SmrgMKDIR_P='$MKDIR_P'
4683f4959950SmrgAWK='$AWK'
4684f4959950Smrgtest -n "\$AWK" || AWK=awk
4685335e815aSmrg_ACEOF
4686335e815aSmrg
4687f4959950Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4688f4959950Smrg# The default lists apply if the user does not specify any file.
4689335e815aSmrgac_need_defaults=:
4690335e815aSmrgwhile test $# != 0
4691335e815aSmrgdo
4692335e815aSmrg  case $1 in
4693cf8f59bfSmrg  --*=?*)
4694f4959950Smrg    ac_option=`expr "X$1" : 'X\([^=]*\)='`
4695f4959950Smrg    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4696335e815aSmrg    ac_shift=:
4697335e815aSmrg    ;;
4698cf8f59bfSmrg  --*=)
4699cf8f59bfSmrg    ac_option=`expr "X$1" : 'X\([^=]*\)='`
4700cf8f59bfSmrg    ac_optarg=
4701cf8f59bfSmrg    ac_shift=:
4702cf8f59bfSmrg    ;;
4703f4959950Smrg  *)
4704335e815aSmrg    ac_option=$1
4705335e815aSmrg    ac_optarg=$2
4706335e815aSmrg    ac_shift=shift
4707335e815aSmrg    ;;
4708335e815aSmrg  esac
4709335e815aSmrg
4710335e815aSmrg  case $ac_option in
4711335e815aSmrg  # Handling of the options.
4712335e815aSmrg  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4713335e815aSmrg    ac_cs_recheck=: ;;
4714f4959950Smrg  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
47150cfee914Smrg    printf "%s\n" "$ac_cs_version"; exit ;;
4716cf8f59bfSmrg  --config | --confi | --conf | --con | --co | --c )
47170cfee914Smrg    printf "%s\n" "$ac_cs_config"; exit ;;
4718f4959950Smrg  --debug | --debu | --deb | --de | --d | -d )
4719335e815aSmrg    debug=: ;;
4720335e815aSmrg  --file | --fil | --fi | --f )
4721335e815aSmrg    $ac_shift
4722f4959950Smrg    case $ac_optarg in
47230cfee914Smrg    *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4724cf8f59bfSmrg    '') as_fn_error $? "missing file argument" ;;
4725f4959950Smrg    esac
4726cf8f59bfSmrg    as_fn_append CONFIG_FILES " '$ac_optarg'"
4727335e815aSmrg    ac_need_defaults=false;;
4728f4959950Smrg  --he | --h |  --help | --hel | -h )
47290cfee914Smrg    printf "%s\n" "$ac_cs_usage"; exit ;;
4730335e815aSmrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4731335e815aSmrg  | -silent | --silent | --silen | --sile | --sil | --si | --s)
4732335e815aSmrg    ac_cs_silent=: ;;
4733335e815aSmrg
4734335e815aSmrg  # This is an error.
4735cf8f59bfSmrg  -*) as_fn_error $? "unrecognized option: \`$1'
4736cf8f59bfSmrgTry \`$0 --help' for more information." ;;
4737335e815aSmrg
4738cf8f59bfSmrg  *) as_fn_append ac_config_targets " $1"
4739f4959950Smrg     ac_need_defaults=false ;;
4740335e815aSmrg
4741335e815aSmrg  esac
4742335e815aSmrg  shift
4743335e815aSmrgdone
4744335e815aSmrg
4745335e815aSmrgac_configure_extra_args=
4746335e815aSmrg
4747335e815aSmrgif $ac_cs_silent; then
4748335e815aSmrg  exec 6>/dev/null
4749335e815aSmrg  ac_configure_extra_args="$ac_configure_extra_args --silent"
4750335e815aSmrgfi
4751335e815aSmrg
4752335e815aSmrg_ACEOF
4753f4959950Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4754335e815aSmrgif \$ac_cs_recheck; then
47550cfee914Smrg  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4756f4959950Smrg  shift
47570cfee914Smrg  \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
4758f4959950Smrg  CONFIG_SHELL='$SHELL'
4759f4959950Smrg  export CONFIG_SHELL
4760f4959950Smrg  exec "\$@"
4761335e815aSmrgfi
4762335e815aSmrg
4763335e815aSmrg_ACEOF
4764f4959950Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4765f4959950Smrgexec 5>>config.log
4766f4959950Smrg{
4767f4959950Smrg  echo
4768f4959950Smrg  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4769f4959950Smrg## Running $as_me. ##
4770f4959950Smrg_ASBOX
47710cfee914Smrg  printf "%s\n" "$ac_log"
4772f4959950Smrg} >&5
4773335e815aSmrg
4774f4959950Smrg_ACEOF
4775f4959950Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4776f4959950Smrg_ACEOF
4777335e815aSmrg
4778f4959950Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4779335e815aSmrg
4780f4959950Smrg# Handling of arguments.
4781335e815aSmrgfor ac_config_target in $ac_config_targets
4782335e815aSmrgdo
4783f4959950Smrg  case $ac_config_target in
4784f4959950Smrg    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4785f4959950Smrg
4786cf8f59bfSmrg  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4787335e815aSmrg  esac
4788335e815aSmrgdone
4789335e815aSmrg
4790f4959950Smrg
4791335e815aSmrg# If the user did not use the arguments to specify the items to instantiate,
4792335e815aSmrg# then the envvar interface is used.  Set only those that are not.
4793335e815aSmrg# We use the long form for the default assignment because of an extremely
4794335e815aSmrg# bizarre bug on SunOS 4.1.3.
4795335e815aSmrgif $ac_need_defaults; then
47960cfee914Smrg  test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
4797335e815aSmrgfi
4798335e815aSmrg
4799335e815aSmrg# Have a temporary directory for convenience.  Make it in the build tree
4800f4959950Smrg# simply because there is no reason against having it here, and in addition,
4801335e815aSmrg# creating and moving files from /tmp can sometimes cause problems.
4802f4959950Smrg# Hook for its removal unless debugging.
4803f4959950Smrg# Note that there is a small window in which the directory will not be cleaned:
4804f4959950Smrg# after its creation but before its name has been assigned to `$tmp'.
4805335e815aSmrg$debug ||
4806335e815aSmrg{
4807cf8f59bfSmrg  tmp= ac_tmp=
4808f4959950Smrg  trap 'exit_status=$?
4809cf8f59bfSmrg  : "${ac_tmp:=$tmp}"
4810cf8f59bfSmrg  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4811f4959950Smrg' 0
4812cf8f59bfSmrg  trap 'as_fn_exit 1' 1 2 13 15
4813335e815aSmrg}
4814335e815aSmrg# Create a (secure) tmp directory for tmp files.
4815335e815aSmrg
4816335e815aSmrg{
4817f4959950Smrg  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4818cf8f59bfSmrg  test -d "$tmp"
4819335e815aSmrg}  ||
4820335e815aSmrg{
4821f4959950Smrg  tmp=./conf$$-$RANDOM
4822f4959950Smrg  (umask 077 && mkdir "$tmp")
4823cf8f59bfSmrg} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4824cf8f59bfSmrgac_tmp=$tmp
4825335e815aSmrg
4826f4959950Smrg# Set up the scripts for CONFIG_FILES section.
4827f4959950Smrg# No need to generate them if there are no CONFIG_FILES.
4828f4959950Smrg# This happens for instance with `./config.status config.h'.
4829f4959950Smrgif test -n "$CONFIG_FILES"; then
4830f4959950Smrg
4831f4959950Smrg
4832cf8f59bfSmrgac_cr=`echo X | tr X '\015'`
4833cf8f59bfSmrg# On cygwin, bash can eat \r inside `` if the user requested igncr.
4834cf8f59bfSmrg# But we know of no other shell where ac_cr would be empty at this
4835cf8f59bfSmrg# point, so we can use a bashism as a fallback.
4836cf8f59bfSmrgif test "x$ac_cr" = x; then
4837cf8f59bfSmrg  eval ac_cr=\$\'\\r\'
4838cf8f59bfSmrgfi
4839f4959950Smrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4840f4959950Smrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4841f4959950Smrg  ac_cs_awk_cr='\\r'
4842f4959950Smrgelse
4843f4959950Smrg  ac_cs_awk_cr=$ac_cr
4844f4959950Smrgfi
4845f4959950Smrg
4846cf8f59bfSmrgecho 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4847335e815aSmrg_ACEOF
4848335e815aSmrg
4849335e815aSmrg
4850f4959950Smrg{
4851f4959950Smrg  echo "cat >conf$$subs.awk <<_ACEOF" &&
4852f4959950Smrg  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4853f4959950Smrg  echo "_ACEOF"
4854f4959950Smrg} >conf$$subs.sh ||
4855cf8f59bfSmrg  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4856cf8f59bfSmrgac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4857f4959950Smrgac_delim='%!_!# '
4858f4959950Smrgfor ac_last_try in false false false false false :; do
4859f4959950Smrg  . ./conf$$subs.sh ||
4860cf8f59bfSmrg    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4861335e815aSmrg
4862f4959950Smrg  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4863f4959950Smrg  if test $ac_delim_n = $ac_delim_num; then
4864f4959950Smrg    break
4865f4959950Smrg  elif $ac_last_try; then
4866cf8f59bfSmrg    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4867f4959950Smrg  else
4868f4959950Smrg    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4869335e815aSmrg  fi
4870f4959950Smrgdone
4871f4959950Smrgrm -f conf$$subs.sh
4872335e815aSmrg
4873f4959950Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4874cf8f59bfSmrgcat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4875335e815aSmrg_ACEOF
4876f4959950Smrgsed -n '
4877f4959950Smrgh
4878f4959950Smrgs/^/S["/; s/!.*/"]=/
4879f4959950Smrgp
4880f4959950Smrgg
4881f4959950Smrgs/^[^!]*!//
4882f4959950Smrg:repl
4883f4959950Smrgt repl
4884f4959950Smrgs/'"$ac_delim"'$//
4885f4959950Smrgt delim
4886f4959950Smrg:nl
4887f4959950Smrgh
4888cf8f59bfSmrgs/\(.\{148\}\)..*/\1/
4889f4959950Smrgt more1
4890f4959950Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4891f4959950Smrgp
4892f4959950Smrgn
4893f4959950Smrgb repl
4894f4959950Smrg:more1
4895f4959950Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/
4896f4959950Smrgp
4897f4959950Smrgg
4898f4959950Smrgs/.\{148\}//
4899f4959950Smrgt nl
4900f4959950Smrg:delim
4901f4959950Smrgh
4902cf8f59bfSmrgs/\(.\{148\}\)..*/\1/
4903f4959950Smrgt more2
4904f4959950Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/
4905f4959950Smrgp
4906f4959950Smrgb
4907f4959950Smrg:more2
4908f4959950Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/
4909f4959950Smrgp
4910f4959950Smrgg
4911f4959950Smrgs/.\{148\}//
4912f4959950Smrgt delim
4913f4959950Smrg' <conf$$subs.awk | sed '
4914f4959950Smrg/^[^""]/{
4915f4959950Smrg  N
4916f4959950Smrg  s/\n//
4917f4959950Smrg}
4918f4959950Smrg' >>$CONFIG_STATUS || ac_write_fail=1
4919f4959950Smrgrm -f conf$$subs.awk
4920f4959950Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4921f4959950Smrg_ACAWK
4922cf8f59bfSmrgcat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4923f4959950Smrg  for (key in S) S_is_set[key] = 1
4924f4959950Smrg  FS = ""
4925f4959950Smrg
4926f4959950Smrg}
4927f4959950Smrg{
4928f4959950Smrg  line = $ 0
4929f4959950Smrg  nfields = split(line, field, "@")
4930f4959950Smrg  substed = 0
4931f4959950Smrg  len = length(field[1])
4932f4959950Smrg  for (i = 2; i < nfields; i++) {
4933f4959950Smrg    key = field[i]
4934f4959950Smrg    keylen = length(key)
4935f4959950Smrg    if (S_is_set[key]) {
4936f4959950Smrg      value = S[key]
4937f4959950Smrg      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4938f4959950Smrg      len += length(value) + length(field[++i])
4939f4959950Smrg      substed = 1
4940f4959950Smrg    } else
4941f4959950Smrg      len += 1 + keylen
4942f4959950Smrg  }
4943f4959950Smrg
4944f4959950Smrg  print line
4945f4959950Smrg}
4946f4959950Smrg
4947f4959950Smrg_ACAWK
4948f4959950Smrg_ACEOF
4949f4959950Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4950f4959950Smrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4951f4959950Smrg  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4952f4959950Smrgelse
4953f4959950Smrg  cat
4954cf8f59bfSmrgfi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4955cf8f59bfSmrg  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4956f4959950Smrg_ACEOF
4957f4959950Smrg
4958cf8f59bfSmrg# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4959cf8f59bfSmrg# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4960f4959950Smrg# trailing colons and then remove the whole line if VPATH becomes empty
4961f4959950Smrg# (actually we leave an empty line to preserve line numbers).
4962f4959950Smrgif test "x$srcdir" = x.; then
4963cf8f59bfSmrg  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
4964cf8f59bfSmrgh
4965cf8f59bfSmrgs///
4966cf8f59bfSmrgs/^/:/
4967cf8f59bfSmrgs/[	 ]*$/:/
4968cf8f59bfSmrgs/:\$(srcdir):/:/g
4969cf8f59bfSmrgs/:\${srcdir}:/:/g
4970cf8f59bfSmrgs/:@srcdir@:/:/g
4971cf8f59bfSmrgs/^:*//
4972f4959950Smrgs/:*$//
4973cf8f59bfSmrgx
4974cf8f59bfSmrgs/\(=[	 ]*\).*/\1/
4975cf8f59bfSmrgG
4976cf8f59bfSmrgs/\n//
4977f4959950Smrgs/^[^=]*=[	 ]*$//
4978f4959950Smrg}'
4979f4959950Smrgfi
4980f4959950Smrg
4981f4959950Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4982f4959950Smrgfi # test -n "$CONFIG_FILES"
4983f4959950Smrg
4984f4959950Smrg
49850cfee914Smrgeval set X "  :F $CONFIG_FILES      "
4986f4959950Smrgshift
4987f4959950Smrgfor ac_tag
4988f4959950Smrgdo
4989f4959950Smrg  case $ac_tag in
4990f4959950Smrg  :[FHLC]) ac_mode=$ac_tag; continue;;
4991f4959950Smrg  esac
4992f4959950Smrg  case $ac_mode$ac_tag in
4993f4959950Smrg  :[FHL]*:*);;
4994cf8f59bfSmrg  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4995f4959950Smrg  :[FH]-) ac_tag=-:-;;
4996f4959950Smrg  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4997f4959950Smrg  esac
4998f4959950Smrg  ac_save_IFS=$IFS
4999f4959950Smrg  IFS=:
5000f4959950Smrg  set x $ac_tag
5001f4959950Smrg  IFS=$ac_save_IFS
5002f4959950Smrg  shift
5003f4959950Smrg  ac_file=$1
5004f4959950Smrg  shift
5005f4959950Smrg
5006f4959950Smrg  case $ac_mode in
5007f4959950Smrg  :L) ac_source=$1;;
5008f4959950Smrg  :[FH])
5009f4959950Smrg    ac_file_inputs=
5010f4959950Smrg    for ac_f
5011f4959950Smrg    do
5012f4959950Smrg      case $ac_f in
5013cf8f59bfSmrg      -) ac_f="$ac_tmp/stdin";;
5014f4959950Smrg      *) # Look for the file first in the build tree, then in the source tree
5015f4959950Smrg	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
5016f4959950Smrg	 # because $ac_f cannot contain `:'.
5017f4959950Smrg	 test -f "$ac_f" ||
5018f4959950Smrg	   case $ac_f in
5019f4959950Smrg	   [\\/$]*) false;;
5020f4959950Smrg	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5021f4959950Smrg	   esac ||
5022cf8f59bfSmrg	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5023f4959950Smrg      esac
50240cfee914Smrg      case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5025cf8f59bfSmrg      as_fn_append ac_file_inputs " '$ac_f'"
5026f4959950Smrg    done
5027f4959950Smrg
5028f4959950Smrg    # Let's still pretend it is `configure' which instantiates (i.e., don't
5029f4959950Smrg    # use $as_me), people would be surprised to read:
5030f4959950Smrg    #    /* config.h.  Generated by config.status.  */
5031f4959950Smrg    configure_input='Generated from '`
50320cfee914Smrg	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5033f4959950Smrg	`' by configure.'
5034f4959950Smrg    if test x"$ac_file" != x-; then
5035f4959950Smrg      configure_input="$ac_file.  $configure_input"
50360cfee914Smrg      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
50370cfee914Smrgprintf "%s\n" "$as_me: creating $ac_file" >&6;}
5038f4959950Smrg    fi
5039f4959950Smrg    # Neutralize special characters interpreted by sed in replacement strings.
5040f4959950Smrg    case $configure_input in #(
5041f4959950Smrg    *\&* | *\|* | *\\* )
50420cfee914Smrg       ac_sed_conf_input=`printf "%s\n" "$configure_input" |
5043f4959950Smrg       sed 's/[\\\\&|]/\\\\&/g'`;; #(
5044f4959950Smrg    *) ac_sed_conf_input=$configure_input;;
5045f4959950Smrg    esac
5046f4959950Smrg
5047f4959950Smrg    case $ac_tag in
5048cf8f59bfSmrg    *:-:* | *:-) cat >"$ac_tmp/stdin" \
5049cf8f59bfSmrg      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5050f4959950Smrg    esac
5051f4959950Smrg    ;;
5052335e815aSmrg  esac
5053335e815aSmrg
5054f4959950Smrg  ac_dir=`$as_dirname -- "$ac_file" ||
5055335e815aSmrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5056335e815aSmrg	 X"$ac_file" : 'X\(//\)[^/]' \| \
5057335e815aSmrg	 X"$ac_file" : 'X\(//\)$' \| \
5058f4959950Smrg	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
50590cfee914Smrgprintf "%s\n" X"$ac_file" |
5060f4959950Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5061f4959950Smrg	    s//\1/
5062f4959950Smrg	    q
5063f4959950Smrg	  }
5064f4959950Smrg	  /^X\(\/\/\)[^/].*/{
5065f4959950Smrg	    s//\1/
5066f4959950Smrg	    q
5067f4959950Smrg	  }
5068f4959950Smrg	  /^X\(\/\/\)$/{
5069f4959950Smrg	    s//\1/
5070f4959950Smrg	    q
5071f4959950Smrg	  }
5072f4959950Smrg	  /^X\(\/\).*/{
5073f4959950Smrg	    s//\1/
5074f4959950Smrg	    q
5075f4959950Smrg	  }
5076f4959950Smrg	  s/.*/./; q'`
5077cf8f59bfSmrg  as_dir="$ac_dir"; as_fn_mkdir_p
5078335e815aSmrg  ac_builddir=.
5079335e815aSmrg
5080f4959950Smrgcase "$ac_dir" in
5081f4959950Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5082f4959950Smrg*)
50830cfee914Smrg  ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
5084f4959950Smrg  # A ".." for each directory in $ac_dir_suffix.
50850cfee914Smrg  ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5086f4959950Smrg  case $ac_top_builddir_sub in
5087f4959950Smrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5088f4959950Smrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5089f4959950Smrg  esac ;;
5090f4959950Smrgesac
5091f4959950Smrgac_abs_top_builddir=$ac_pwd
5092f4959950Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix
5093f4959950Smrg# for backward compatibility:
5094f4959950Smrgac_top_builddir=$ac_top_build_prefix
5095335e815aSmrg
5096335e815aSmrgcase $srcdir in
5097f4959950Smrg  .)  # We are building in place.
5098335e815aSmrg    ac_srcdir=.
5099f4959950Smrg    ac_top_srcdir=$ac_top_builddir_sub
5100f4959950Smrg    ac_abs_top_srcdir=$ac_pwd ;;
5101f4959950Smrg  [\\/]* | ?:[\\/]* )  # Absolute name.
5102335e815aSmrg    ac_srcdir=$srcdir$ac_dir_suffix;
5103f4959950Smrg    ac_top_srcdir=$srcdir
5104f4959950Smrg    ac_abs_top_srcdir=$srcdir ;;
5105f4959950Smrg  *) # Relative name.
5106f4959950Smrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5107f4959950Smrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
5108f4959950Smrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5109335e815aSmrgesac
5110f4959950Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5111335e815aSmrg
5112335e815aSmrg
5113f4959950Smrg  case $ac_mode in
5114f4959950Smrg  :F)
5115f4959950Smrg  #
5116f4959950Smrg  # CONFIG_FILE
5117f4959950Smrg  #
5118335e815aSmrg
5119335e815aSmrg  case $INSTALL in
5120335e815aSmrg  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5121f4959950Smrg  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5122335e815aSmrg  esac
5123f4959950Smrg  ac_MKDIR_P=$MKDIR_P
5124f4959950Smrg  case $MKDIR_P in
5125f4959950Smrg  [\\/$]* | ?:[\\/]* ) ;;
5126f4959950Smrg  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5127f4959950Smrg  esac
5128f4959950Smrg_ACEOF
5129335e815aSmrg
5130f4959950Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5131f4959950Smrg# If the template does not know about datarootdir, expand it.
5132f4959950Smrg# FIXME: This hack should be removed a few years after 2.60.
5133f4959950Smrgac_datarootdir_hack=; ac_datarootdir_seen=
5134f4959950Smrgac_sed_dataroot='
5135f4959950Smrg/datarootdir/ {
5136f4959950Smrg  p
5137f4959950Smrg  q
5138f4959950Smrg}
5139f4959950Smrg/@datadir@/p
5140f4959950Smrg/@docdir@/p
5141f4959950Smrg/@infodir@/p
5142f4959950Smrg/@localedir@/p
5143cf8f59bfSmrg/@mandir@/p'
5144f4959950Smrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5145f4959950Smrg*datarootdir*) ac_datarootdir_seen=yes;;
5146f4959950Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
51470cfee914Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
51480cfee914Smrgprintf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5149f4959950Smrg_ACEOF
5150f4959950Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5151f4959950Smrg  ac_datarootdir_hack='
5152f4959950Smrg  s&@datadir@&$datadir&g
5153f4959950Smrg  s&@docdir@&$docdir&g
5154f4959950Smrg  s&@infodir@&$infodir&g
5155f4959950Smrg  s&@localedir@&$localedir&g
5156f4959950Smrg  s&@mandir@&$mandir&g
5157cf8f59bfSmrg  s&\\\${datarootdir}&$datarootdir&g' ;;
5158f4959950Smrgesac
5159335e815aSmrg_ACEOF
5160f4959950Smrg
5161f4959950Smrg# Neutralize VPATH when `$srcdir' = `.'.
5162f4959950Smrg# Shell code in configure.ac might set extrasub.
5163f4959950Smrg# FIXME: do we really want to maintain this feature?
5164f4959950Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5165f4959950Smrgac_sed_extra="$ac_vpsub
5166335e815aSmrg$extrasub
5167335e815aSmrg_ACEOF
5168f4959950Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5169335e815aSmrg:t
5170335e815aSmrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5171f4959950Smrgs|@configure_input@|$ac_sed_conf_input|;t t
5172f4959950Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t
5173f4959950Smrgs&@top_build_prefix@&$ac_top_build_prefix&;t t
5174f4959950Smrgs&@srcdir@&$ac_srcdir&;t t
5175f4959950Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t
5176f4959950Smrgs&@top_srcdir@&$ac_top_srcdir&;t t
5177f4959950Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5178f4959950Smrgs&@builddir@&$ac_builddir&;t t
5179f4959950Smrgs&@abs_builddir@&$ac_abs_builddir&;t t
5180f4959950Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5181f4959950Smrgs&@INSTALL@&$ac_INSTALL&;t t
5182f4959950Smrgs&@MKDIR_P@&$ac_MKDIR_P&;t t
5183f4959950Smrg$ac_datarootdir_hack
5184f4959950Smrg"
5185cf8f59bfSmrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5186cf8f59bfSmrg  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5187335e815aSmrg
5188f4959950Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5189cf8f59bfSmrg  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5190cf8f59bfSmrg  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
5191cf8f59bfSmrg      "$ac_tmp/out"`; test -z "$ac_out"; } &&
51920cfee914Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5193cf8f59bfSmrgwhich seems to be undefined.  Please make sure it is defined" >&5
51940cfee914Smrgprintf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5195cf8f59bfSmrgwhich seems to be undefined.  Please make sure it is defined" >&2;}
5196f4959950Smrg
5197cf8f59bfSmrg  rm -f "$ac_tmp/stdin"
5198f4959950Smrg  case $ac_file in
5199cf8f59bfSmrg  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5200cf8f59bfSmrg  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5201f4959950Smrg  esac \
5202cf8f59bfSmrg  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5203f4959950Smrg ;;
5204f4959950Smrg
5205f4959950Smrg
5206f4959950Smrg
5207f4959950Smrg  esac
5208f4959950Smrg
5209f4959950Smrgdone # for ac_tag
5210335e815aSmrg
5211335e815aSmrg
5212cf8f59bfSmrgas_fn_exit 0
5213335e815aSmrg_ACEOF
5214335e815aSmrgac_clean_files=$ac_clean_files_save
5215335e815aSmrg
5216f4959950Smrgtest $ac_write_fail = 0 ||
5217cf8f59bfSmrg  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5218f4959950Smrg
5219335e815aSmrg
5220335e815aSmrg# configure is writing to config.log, and then calls config.status.
5221335e815aSmrg# config.status does its own redirection, appending to config.log.
5222335e815aSmrg# Unfortunately, on DOS this fails, as config.log is still kept open
5223335e815aSmrg# by configure, so config.status won't be able to write to it; its
5224335e815aSmrg# output is simply discarded.  So we exec the FD to /dev/null,
5225335e815aSmrg# effectively closing config.log, so it can be properly (re)opened and
5226335e815aSmrg# appended to by config.status.  When coming back to configure, we
5227335e815aSmrg# need to make the FD available again.
5228335e815aSmrgif test "$no_create" != yes; then
5229335e815aSmrg  ac_cs_success=:
5230335e815aSmrg  ac_config_status_args=
5231335e815aSmrg  test "$silent" = yes &&
5232335e815aSmrg    ac_config_status_args="$ac_config_status_args --quiet"
5233335e815aSmrg  exec 5>/dev/null
5234335e815aSmrg  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5235335e815aSmrg  exec 5>>config.log
5236335e815aSmrg  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5237335e815aSmrg  # would make configure fail if this is the last instruction.
5238cf8f59bfSmrg  $ac_cs_success || as_fn_exit 1
5239335e815aSmrgfi
5240f4959950Smrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
52410cfee914Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
52420cfee914Smrgprintf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5243f4959950Smrgfi
5244335e815aSmrg
52450cfee914Smrg
5246