configure revision 75b29833
175b29833Smrg#! /bin/sh 275b29833Smrg# Guess values for system-dependent variables and create Makefiles. 375b29833Smrg# Generated by GNU Autoconf 2.71 for font-misc-cyrillic 1.0.4. 475b29833Smrg# 575b29833Smrg# Report bugs to <https://gitlab.freedesktop.org/xorg/font/misc-cyrillic/-/issues>. 675b29833Smrg# 775b29833Smrg# 875b29833Smrg# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, 975b29833Smrg# Inc. 1075b29833Smrg# 1175b29833Smrg# 1275b29833Smrg# This configure script is free software; the Free Software Foundation 1375b29833Smrg# gives unlimited permission to copy, distribute and modify it. 1475b29833Smrg## -------------------- ## 1575b29833Smrg## M4sh Initialization. ## 1675b29833Smrg## -------------------- ## 1775b29833Smrg 1875b29833Smrg# Be more Bourne compatible 1975b29833SmrgDUALCASE=1; export DUALCASE # for MKS sh 2075b29833Smrgas_nop=: 2175b29833Smrgif test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 2275b29833Smrgthen : 2375b29833Smrg emulate sh 2475b29833Smrg NULLCMD=: 2575b29833Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 2675b29833Smrg # is contrary to our usage. Disable this feature. 2775b29833Smrg alias -g '${1+"$@"}'='"$@"' 2875b29833Smrg setopt NO_GLOB_SUBST 2975b29833Smrgelse $as_nop 3075b29833Smrg case `(set -o) 2>/dev/null` in #( 3175b29833Smrg *posix*) : 3275b29833Smrg set -o posix ;; #( 3375b29833Smrg *) : 3475b29833Smrg ;; 3575b29833Smrgesac 3675b29833Smrgfi 3775b29833Smrg 3875b29833Smrg 3975b29833Smrg 4075b29833Smrg# Reset variables that may have inherited troublesome values from 4175b29833Smrg# the environment. 4275b29833Smrg 4375b29833Smrg# IFS needs to be set, to space, tab, and newline, in precisely that order. 4475b29833Smrg# (If _AS_PATH_WALK were called with IFS unset, it would have the 4575b29833Smrg# side effect of setting IFS to empty, thus disabling word splitting.) 4675b29833Smrg# Quoting is to prevent editors from complaining about space-tab. 4775b29833Smrgas_nl=' 4875b29833Smrg' 4975b29833Smrgexport as_nl 5075b29833SmrgIFS=" "" $as_nl" 5175b29833Smrg 5275b29833SmrgPS1='$ ' 5375b29833SmrgPS2='> ' 5475b29833SmrgPS4='+ ' 5575b29833Smrg 5675b29833Smrg# Ensure predictable behavior from utilities with locale-dependent output. 5775b29833SmrgLC_ALL=C 5875b29833Smrgexport LC_ALL 5975b29833SmrgLANGUAGE=C 6075b29833Smrgexport LANGUAGE 6175b29833Smrg 6275b29833Smrg# We cannot yet rely on "unset" to work, but we need these variables 6375b29833Smrg# to be unset--not just set to an empty or harmless value--now, to 6475b29833Smrg# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct 6575b29833Smrg# also avoids known problems related to "unset" and subshell syntax 6675b29833Smrg# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). 6775b29833Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 6875b29833Smrgdo eval test \${$as_var+y} \ 6975b29833Smrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 7075b29833Smrgdone 7175b29833Smrg 7275b29833Smrg# Ensure that fds 0, 1, and 2 are open. 7375b29833Smrgif (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 7475b29833Smrgif (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 7575b29833Smrgif (exec 3>&2) ; then :; else exec 2>/dev/null; fi 7675b29833Smrg 7775b29833Smrg# The user is always right. 7875b29833Smrgif ${PATH_SEPARATOR+false} :; then 7975b29833Smrg PATH_SEPARATOR=: 8075b29833Smrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 8175b29833Smrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 8275b29833Smrg PATH_SEPARATOR=';' 8375b29833Smrg } 8475b29833Smrgfi 8575b29833Smrg 8675b29833Smrg 8775b29833Smrg# Find who we are. Look in the path if we contain no directory separator. 8875b29833Smrgas_myself= 8975b29833Smrgcase $0 in #(( 9075b29833Smrg *[\\/]* ) as_myself=$0 ;; 9175b29833Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9275b29833Smrgfor as_dir in $PATH 9375b29833Smrgdo 9475b29833Smrg IFS=$as_save_IFS 9575b29833Smrg case $as_dir in #((( 9675b29833Smrg '') as_dir=./ ;; 9775b29833Smrg */) ;; 9875b29833Smrg *) as_dir=$as_dir/ ;; 9975b29833Smrg esac 10075b29833Smrg test -r "$as_dir$0" && as_myself=$as_dir$0 && break 10175b29833Smrg done 10275b29833SmrgIFS=$as_save_IFS 10375b29833Smrg 10475b29833Smrg ;; 10575b29833Smrgesac 10675b29833Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 10775b29833Smrg# in which case we are not to be found in the path. 10875b29833Smrgif test "x$as_myself" = x; then 10975b29833Smrg as_myself=$0 11075b29833Smrgfi 11175b29833Smrgif test ! -f "$as_myself"; then 11275b29833Smrg printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 11375b29833Smrg exit 1 11475b29833Smrgfi 11575b29833Smrg 11675b29833Smrg 11775b29833Smrg# Use a proper internal environment variable to ensure we don't fall 11875b29833Smrg # into an infinite loop, continuously re-executing ourselves. 11975b29833Smrg if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 12075b29833Smrg _as_can_reexec=no; export _as_can_reexec; 12175b29833Smrg # We cannot yet assume a decent shell, so we have to provide a 12275b29833Smrg# neutralization value for shells without unset; and this also 12375b29833Smrg# works around shells that cannot unset nonexistent variables. 12475b29833Smrg# Preserve -v and -x to the replacement shell. 12575b29833SmrgBASH_ENV=/dev/null 12675b29833SmrgENV=/dev/null 12775b29833Smrg(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 12875b29833Smrgcase $- in # (((( 12975b29833Smrg *v*x* | *x*v* ) as_opts=-vx ;; 13075b29833Smrg *v* ) as_opts=-v ;; 13175b29833Smrg *x* ) as_opts=-x ;; 13275b29833Smrg * ) as_opts= ;; 13375b29833Smrgesac 13475b29833Smrgexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 13575b29833Smrg# Admittedly, this is quite paranoid, since all the known shells bail 13675b29833Smrg# out after a failed `exec'. 13775b29833Smrgprintf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 13875b29833Smrgexit 255 13975b29833Smrg fi 14075b29833Smrg # We don't want this to propagate to other subprocesses. 14175b29833Smrg { _as_can_reexec=; unset _as_can_reexec;} 14275b29833Smrgif test "x$CONFIG_SHELL" = x; then 14375b29833Smrg as_bourne_compatible="as_nop=: 14475b29833Smrgif test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 14575b29833Smrgthen : 14675b29833Smrg emulate sh 14775b29833Smrg NULLCMD=: 14875b29833Smrg # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 14975b29833Smrg # is contrary to our usage. Disable this feature. 15075b29833Smrg alias -g '\${1+\"\$@\"}'='\"\$@\"' 15175b29833Smrg setopt NO_GLOB_SUBST 15275b29833Smrgelse \$as_nop 15375b29833Smrg case \`(set -o) 2>/dev/null\` in #( 15475b29833Smrg *posix*) : 15575b29833Smrg set -o posix ;; #( 15675b29833Smrg *) : 15775b29833Smrg ;; 15875b29833Smrgesac 15975b29833Smrgfi 16075b29833Smrg" 16175b29833Smrg as_required="as_fn_return () { (exit \$1); } 16275b29833Smrgas_fn_success () { as_fn_return 0; } 16375b29833Smrgas_fn_failure () { as_fn_return 1; } 16475b29833Smrgas_fn_ret_success () { return 0; } 16575b29833Smrgas_fn_ret_failure () { return 1; } 16675b29833Smrg 16775b29833Smrgexitcode=0 16875b29833Smrgas_fn_success || { exitcode=1; echo as_fn_success failed.; } 16975b29833Smrgas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 17075b29833Smrgas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 17175b29833Smrgas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 17275b29833Smrgif ( set x; as_fn_ret_success y && test x = \"\$1\" ) 17375b29833Smrgthen : 17475b29833Smrg 17575b29833Smrgelse \$as_nop 17675b29833Smrg exitcode=1; echo positional parameters were not saved. 17775b29833Smrgfi 17875b29833Smrgtest x\$exitcode = x0 || exit 1 17975b29833Smrgblah=\$(echo \$(echo blah)) 18075b29833Smrgtest x\"\$blah\" = xblah || exit 1 18175b29833Smrgtest -x / || exit 1" 18275b29833Smrg as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 18375b29833Smrg as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 18475b29833Smrg eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 18575b29833Smrg test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 18675b29833Smrgtest \$(( 1 + 1 )) = 2 || exit 1" 18775b29833Smrg if (eval "$as_required") 2>/dev/null 18875b29833Smrgthen : 18975b29833Smrg as_have_required=yes 19075b29833Smrgelse $as_nop 19175b29833Smrg as_have_required=no 19275b29833Smrgfi 19375b29833Smrg if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null 19475b29833Smrgthen : 19575b29833Smrg 19675b29833Smrgelse $as_nop 19775b29833Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19875b29833Smrgas_found=false 19975b29833Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 20075b29833Smrgdo 20175b29833Smrg IFS=$as_save_IFS 20275b29833Smrg case $as_dir in #((( 20375b29833Smrg '') as_dir=./ ;; 20475b29833Smrg */) ;; 20575b29833Smrg *) as_dir=$as_dir/ ;; 20675b29833Smrg esac 20775b29833Smrg as_found=: 20875b29833Smrg case $as_dir in #( 20975b29833Smrg /*) 21075b29833Smrg for as_base in sh bash ksh sh5; do 21175b29833Smrg # Try only shells that exist, to save several forks. 21275b29833Smrg as_shell=$as_dir$as_base 21375b29833Smrg if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 21475b29833Smrg as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null 21575b29833Smrgthen : 21675b29833Smrg CONFIG_SHELL=$as_shell as_have_required=yes 21775b29833Smrg if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null 21875b29833Smrgthen : 21975b29833Smrg break 2 22075b29833Smrgfi 22175b29833Smrgfi 22275b29833Smrg done;; 22375b29833Smrg esac 22475b29833Smrg as_found=false 22575b29833Smrgdone 22675b29833SmrgIFS=$as_save_IFS 22775b29833Smrgif $as_found 22875b29833Smrgthen : 22975b29833Smrg 23075b29833Smrgelse $as_nop 23175b29833Smrg if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 23275b29833Smrg as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null 23375b29833Smrgthen : 23475b29833Smrg CONFIG_SHELL=$SHELL as_have_required=yes 23575b29833Smrgfi 23675b29833Smrgfi 23775b29833Smrg 23875b29833Smrg 23975b29833Smrg if test "x$CONFIG_SHELL" != x 24075b29833Smrgthen : 24175b29833Smrg export CONFIG_SHELL 24275b29833Smrg # We cannot yet assume a decent shell, so we have to provide a 24375b29833Smrg# neutralization value for shells without unset; and this also 24475b29833Smrg# works around shells that cannot unset nonexistent variables. 24575b29833Smrg# Preserve -v and -x to the replacement shell. 24675b29833SmrgBASH_ENV=/dev/null 24775b29833SmrgENV=/dev/null 24875b29833Smrg(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 24975b29833Smrgcase $- in # (((( 25075b29833Smrg *v*x* | *x*v* ) as_opts=-vx ;; 25175b29833Smrg *v* ) as_opts=-v ;; 25275b29833Smrg *x* ) as_opts=-x ;; 25375b29833Smrg * ) as_opts= ;; 25475b29833Smrgesac 25575b29833Smrgexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 25675b29833Smrg# Admittedly, this is quite paranoid, since all the known shells bail 25775b29833Smrg# out after a failed `exec'. 25875b29833Smrgprintf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 25975b29833Smrgexit 255 26075b29833Smrgfi 26175b29833Smrg 26275b29833Smrg if test x$as_have_required = xno 26375b29833Smrgthen : 26475b29833Smrg printf "%s\n" "$0: This script requires a shell more modern than all" 26575b29833Smrg printf "%s\n" "$0: the shells that I found on your system." 26675b29833Smrg if test ${ZSH_VERSION+y} ; then 26775b29833Smrg printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should" 26875b29833Smrg printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later." 26975b29833Smrg else 27075b29833Smrg printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and 27175b29833Smrg$0: https://gitlab.freedesktop.org/xorg/font/misc-cyrillic/-/issues 27275b29833Smrg$0: about your system, including any error possibly output 27375b29833Smrg$0: before this message. Then install a modern shell, or 27475b29833Smrg$0: manually run the script under such a shell if you do 27575b29833Smrg$0: have one." 27675b29833Smrg fi 27775b29833Smrg exit 1 27875b29833Smrgfi 27975b29833Smrgfi 28075b29833Smrgfi 28175b29833SmrgSHELL=${CONFIG_SHELL-/bin/sh} 28275b29833Smrgexport SHELL 28375b29833Smrg# Unset more variables known to interfere with behavior of common tools. 28475b29833SmrgCLICOLOR_FORCE= GREP_OPTIONS= 28575b29833Smrgunset CLICOLOR_FORCE GREP_OPTIONS 28675b29833Smrg 28775b29833Smrg## --------------------- ## 28875b29833Smrg## M4sh Shell Functions. ## 28975b29833Smrg## --------------------- ## 29075b29833Smrg# as_fn_unset VAR 29175b29833Smrg# --------------- 29275b29833Smrg# Portably unset VAR. 29375b29833Smrgas_fn_unset () 29475b29833Smrg{ 29575b29833Smrg { eval $1=; unset $1;} 29675b29833Smrg} 29775b29833Smrgas_unset=as_fn_unset 29875b29833Smrg 29975b29833Smrg 30075b29833Smrg# as_fn_set_status STATUS 30175b29833Smrg# ----------------------- 30275b29833Smrg# Set $? to STATUS, without forking. 30375b29833Smrgas_fn_set_status () 30475b29833Smrg{ 30575b29833Smrg return $1 30675b29833Smrg} # as_fn_set_status 30775b29833Smrg 30875b29833Smrg# as_fn_exit STATUS 30975b29833Smrg# ----------------- 31075b29833Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 31175b29833Smrgas_fn_exit () 31275b29833Smrg{ 31375b29833Smrg set +e 31475b29833Smrg as_fn_set_status $1 31575b29833Smrg exit $1 31675b29833Smrg} # as_fn_exit 31775b29833Smrg# as_fn_nop 31875b29833Smrg# --------- 31975b29833Smrg# Do nothing but, unlike ":", preserve the value of $?. 32075b29833Smrgas_fn_nop () 32175b29833Smrg{ 32275b29833Smrg return $? 32375b29833Smrg} 32475b29833Smrgas_nop=as_fn_nop 32575b29833Smrg 32675b29833Smrg# as_fn_mkdir_p 32775b29833Smrg# ------------- 32875b29833Smrg# Create "$as_dir" as a directory, including parents if necessary. 32975b29833Smrgas_fn_mkdir_p () 33075b29833Smrg{ 33175b29833Smrg 33275b29833Smrg case $as_dir in #( 33375b29833Smrg -*) as_dir=./$as_dir;; 33475b29833Smrg esac 33575b29833Smrg test -d "$as_dir" || eval $as_mkdir_p || { 33675b29833Smrg as_dirs= 33775b29833Smrg while :; do 33875b29833Smrg case $as_dir in #( 33975b29833Smrg *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 34075b29833Smrg *) as_qdir=$as_dir;; 34175b29833Smrg esac 34275b29833Smrg as_dirs="'$as_qdir' $as_dirs" 34375b29833Smrg as_dir=`$as_dirname -- "$as_dir" || 34475b29833Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 34575b29833Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 34675b29833Smrg X"$as_dir" : 'X\(//\)$' \| \ 34775b29833Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 34875b29833Smrgprintf "%s\n" X"$as_dir" | 34975b29833Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 35075b29833Smrg s//\1/ 35175b29833Smrg q 35275b29833Smrg } 35375b29833Smrg /^X\(\/\/\)[^/].*/{ 35475b29833Smrg s//\1/ 35575b29833Smrg q 35675b29833Smrg } 35775b29833Smrg /^X\(\/\/\)$/{ 35875b29833Smrg s//\1/ 35975b29833Smrg q 36075b29833Smrg } 36175b29833Smrg /^X\(\/\).*/{ 36275b29833Smrg s//\1/ 36375b29833Smrg q 36475b29833Smrg } 36575b29833Smrg s/.*/./; q'` 36675b29833Smrg test -d "$as_dir" && break 36775b29833Smrg done 36875b29833Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 36975b29833Smrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 37075b29833Smrg 37175b29833Smrg 37275b29833Smrg} # as_fn_mkdir_p 37375b29833Smrg 37475b29833Smrg# as_fn_executable_p FILE 37575b29833Smrg# ----------------------- 37675b29833Smrg# Test if FILE is an executable regular file. 37775b29833Smrgas_fn_executable_p () 37875b29833Smrg{ 37975b29833Smrg test -f "$1" && test -x "$1" 38075b29833Smrg} # as_fn_executable_p 38175b29833Smrg# as_fn_append VAR VALUE 38275b29833Smrg# ---------------------- 38375b29833Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take 38475b29833Smrg# advantage of any shell optimizations that allow amortized linear growth over 38575b29833Smrg# repeated appends, instead of the typical quadratic growth present in naive 38675b29833Smrg# implementations. 38775b29833Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 38875b29833Smrgthen : 38975b29833Smrg eval 'as_fn_append () 39075b29833Smrg { 39175b29833Smrg eval $1+=\$2 39275b29833Smrg }' 39375b29833Smrgelse $as_nop 39475b29833Smrg as_fn_append () 39575b29833Smrg { 39675b29833Smrg eval $1=\$$1\$2 39775b29833Smrg } 39875b29833Smrgfi # as_fn_append 39975b29833Smrg 40075b29833Smrg# as_fn_arith ARG... 40175b29833Smrg# ------------------ 40275b29833Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the 40375b29833Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 40475b29833Smrg# must be portable across $(()) and expr. 40575b29833Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 40675b29833Smrgthen : 40775b29833Smrg eval 'as_fn_arith () 40875b29833Smrg { 40975b29833Smrg as_val=$(( $* )) 41075b29833Smrg }' 41175b29833Smrgelse $as_nop 41275b29833Smrg as_fn_arith () 41375b29833Smrg { 41475b29833Smrg as_val=`expr "$@" || test $? -eq 1` 41575b29833Smrg } 41675b29833Smrgfi # as_fn_arith 41775b29833Smrg 41875b29833Smrg# as_fn_nop 41975b29833Smrg# --------- 42075b29833Smrg# Do nothing but, unlike ":", preserve the value of $?. 42175b29833Smrgas_fn_nop () 42275b29833Smrg{ 42375b29833Smrg return $? 42475b29833Smrg} 42575b29833Smrgas_nop=as_fn_nop 42675b29833Smrg 42775b29833Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 42875b29833Smrg# ---------------------------------------- 42975b29833Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 43075b29833Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 43175b29833Smrg# script with STATUS, using 1 if that was 0. 43275b29833Smrgas_fn_error () 43375b29833Smrg{ 43475b29833Smrg as_status=$1; test $as_status -eq 0 && as_status=1 43575b29833Smrg if test "$4"; then 43675b29833Smrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 43775b29833Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 43875b29833Smrg fi 43975b29833Smrg printf "%s\n" "$as_me: error: $2" >&2 44075b29833Smrg as_fn_exit $as_status 44175b29833Smrg} # as_fn_error 44275b29833Smrg 44375b29833Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 44475b29833Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 44575b29833Smrg as_expr=expr 44675b29833Smrgelse 44775b29833Smrg as_expr=false 44875b29833Smrgfi 44975b29833Smrg 45075b29833Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 45175b29833Smrg as_basename=basename 45275b29833Smrgelse 45375b29833Smrg as_basename=false 45475b29833Smrgfi 45575b29833Smrg 45675b29833Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 45775b29833Smrg as_dirname=dirname 45875b29833Smrgelse 45975b29833Smrg as_dirname=false 46075b29833Smrgfi 46175b29833Smrg 46275b29833Smrgas_me=`$as_basename -- "$0" || 46375b29833Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 46475b29833Smrg X"$0" : 'X\(//\)$' \| \ 46575b29833Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 46675b29833Smrgprintf "%s\n" X/"$0" | 46775b29833Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 46875b29833Smrg s//\1/ 46975b29833Smrg q 47075b29833Smrg } 47175b29833Smrg /^X\/\(\/\/\)$/{ 47275b29833Smrg s//\1/ 47375b29833Smrg q 47475b29833Smrg } 47575b29833Smrg /^X\/\(\/\).*/{ 47675b29833Smrg s//\1/ 47775b29833Smrg q 47875b29833Smrg } 47975b29833Smrg s/.*/./; q'` 48075b29833Smrg 48175b29833Smrg# Avoid depending upon Character Ranges. 48275b29833Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 48375b29833Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 48475b29833Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 48575b29833Smrgas_cr_digits='0123456789' 48675b29833Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 48775b29833Smrg 48875b29833Smrg 48975b29833Smrg as_lineno_1=$LINENO as_lineno_1a=$LINENO 49075b29833Smrg as_lineno_2=$LINENO as_lineno_2a=$LINENO 49175b29833Smrg eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 49275b29833Smrg test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 49375b29833Smrg # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 49475b29833Smrg sed -n ' 49575b29833Smrg p 49675b29833Smrg /[$]LINENO/= 49775b29833Smrg ' <$as_myself | 49875b29833Smrg sed ' 49975b29833Smrg s/[$]LINENO.*/&-/ 50075b29833Smrg t lineno 50175b29833Smrg b 50275b29833Smrg :lineno 50375b29833Smrg N 50475b29833Smrg :loop 50575b29833Smrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 50675b29833Smrg t loop 50775b29833Smrg s/-\n.*// 50875b29833Smrg ' >$as_me.lineno && 50975b29833Smrg chmod +x "$as_me.lineno" || 51075b29833Smrg { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 51175b29833Smrg 51275b29833Smrg # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 51375b29833Smrg # already done that, so ensure we don't try to do so again and fall 51475b29833Smrg # in an infinite loop. This has already happened in practice. 51575b29833Smrg _as_can_reexec=no; export _as_can_reexec 51675b29833Smrg # Don't try to exec as it changes $[0], causing all sort of problems 51775b29833Smrg # (the dirname of $[0] is not the place where we might find the 51875b29833Smrg # original and so on. Autoconf is especially sensitive to this). 51975b29833Smrg . "./$as_me.lineno" 52075b29833Smrg # Exit status is that of the last command. 52175b29833Smrg exit 52275b29833Smrg} 52375b29833Smrg 52475b29833Smrg 52575b29833Smrg# Determine whether it's possible to make 'echo' print without a newline. 52675b29833Smrg# These variables are no longer used directly by Autoconf, but are AC_SUBSTed 52775b29833Smrg# for compatibility with existing Makefiles. 52875b29833SmrgECHO_C= ECHO_N= ECHO_T= 52975b29833Smrgcase `echo -n x` in #((((( 53075b29833Smrg-n*) 53175b29833Smrg case `echo 'xy\c'` in 53275b29833Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 53375b29833Smrg xy) ECHO_C='\c';; 53475b29833Smrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 53575b29833Smrg ECHO_T=' ';; 53675b29833Smrg esac;; 53775b29833Smrg*) 53875b29833Smrg ECHO_N='-n';; 53975b29833Smrgesac 54075b29833Smrg 54175b29833Smrg# For backward compatibility with old third-party macros, we provide 54275b29833Smrg# the shell variables $as_echo and $as_echo_n. New code should use 54375b29833Smrg# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. 54475b29833Smrgas_echo='printf %s\n' 54575b29833Smrgas_echo_n='printf %s' 54675b29833Smrg 54775b29833Smrg 54875b29833Smrgrm -f conf$$ conf$$.exe conf$$.file 54975b29833Smrgif test -d conf$$.dir; then 55075b29833Smrg rm -f conf$$.dir/conf$$.file 55175b29833Smrgelse 55275b29833Smrg rm -f conf$$.dir 55375b29833Smrg mkdir conf$$.dir 2>/dev/null 55475b29833Smrgfi 55575b29833Smrgif (echo >conf$$.file) 2>/dev/null; then 55675b29833Smrg if ln -s conf$$.file conf$$ 2>/dev/null; then 55775b29833Smrg as_ln_s='ln -s' 55875b29833Smrg # ... but there are two gotchas: 55975b29833Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 56075b29833Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 56175b29833Smrg # In both cases, we have to default to `cp -pR'. 56275b29833Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 56375b29833Smrg as_ln_s='cp -pR' 56475b29833Smrg elif ln conf$$.file conf$$ 2>/dev/null; then 56575b29833Smrg as_ln_s=ln 56675b29833Smrg else 56775b29833Smrg as_ln_s='cp -pR' 56875b29833Smrg fi 56975b29833Smrgelse 57075b29833Smrg as_ln_s='cp -pR' 57175b29833Smrgfi 57275b29833Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 57375b29833Smrgrmdir conf$$.dir 2>/dev/null 57475b29833Smrg 57575b29833Smrgif mkdir -p . 2>/dev/null; then 57675b29833Smrg as_mkdir_p='mkdir -p "$as_dir"' 57775b29833Smrgelse 57875b29833Smrg test -d ./-p && rmdir ./-p 57975b29833Smrg as_mkdir_p=false 58075b29833Smrgfi 58175b29833Smrg 58275b29833Smrgas_test_x='test -x' 58375b29833Smrgas_executable_p=as_fn_executable_p 58475b29833Smrg 58575b29833Smrg# Sed expression to map a string onto a valid CPP name. 58675b29833Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 58775b29833Smrg 58875b29833Smrg# Sed expression to map a string onto a valid variable name. 58975b29833Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 59075b29833Smrg 59175b29833Smrg 59275b29833Smrgtest -n "$DJDIR" || exec 7<&0 </dev/null 59375b29833Smrgexec 6>&1 59475b29833Smrg 59575b29833Smrg# Name of the host. 59675b29833Smrg# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 59775b29833Smrg# so uname gets run too. 59875b29833Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 59975b29833Smrg 60075b29833Smrg# 60175b29833Smrg# Initializations. 60275b29833Smrg# 60375b29833Smrgac_default_prefix=/usr/local 60475b29833Smrgac_clean_files= 60575b29833Smrgac_config_libobj_dir=. 60675b29833SmrgLIBOBJS= 60775b29833Smrgcross_compiling=no 60875b29833Smrgsubdirs= 60975b29833SmrgMFLAGS= 61075b29833SmrgMAKEFLAGS= 61175b29833Smrg 61275b29833Smrg# Identity of this package. 61375b29833SmrgPACKAGE_NAME='font-misc-cyrillic' 61475b29833SmrgPACKAGE_TARNAME='font-misc-cyrillic' 61575b29833SmrgPACKAGE_VERSION='1.0.4' 61675b29833SmrgPACKAGE_STRING='font-misc-cyrillic 1.0.4' 61775b29833SmrgPACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/font/misc-cyrillic/-/issues' 61875b29833SmrgPACKAGE_URL='' 61975b29833Smrg 62075b29833Smrgac_subst_vars='LTLIBOBJS 62175b29833SmrgLIBOBJS 62275b29833SmrgCOMPRESS_SUFFIX 62375b29833SmrgCOMPRESS_FLAGS 62475b29833SmrgCOMPRESS 62575b29833SmrgBDFTOPCF 62675b29833SmrgMKFONTDIR 62775b29833SmrgRUN_FCCACHE 62875b29833SmrgFCCACHE 62975b29833SmrgFONTDIR 63075b29833SmrgFONTROOTDIR 63175b29833SmrgMAN_SUBSTS 63275b29833SmrgXORG_MAN_PAGE 63375b29833SmrgADMIN_MAN_DIR 63475b29833SmrgDRIVER_MAN_DIR 63575b29833SmrgMISC_MAN_DIR 63675b29833SmrgFILE_MAN_DIR 63775b29833SmrgLIB_MAN_DIR 63875b29833SmrgAPP_MAN_DIR 63975b29833SmrgADMIN_MAN_SUFFIX 64075b29833SmrgDRIVER_MAN_SUFFIX 64175b29833SmrgMISC_MAN_SUFFIX 64275b29833SmrgFILE_MAN_SUFFIX 64375b29833SmrgLIB_MAN_SUFFIX 64475b29833SmrgAPP_MAN_SUFFIX 64575b29833SmrgSED 64675b29833Smrghost_os 64775b29833Smrghost_vendor 64875b29833Smrghost_cpu 64975b29833Smrghost 65075b29833Smrgbuild_os 65175b29833Smrgbuild_vendor 65275b29833Smrgbuild_cpu 65375b29833Smrgbuild 65475b29833SmrgINSTALL_CMD 65575b29833SmrgPKG_CONFIG_LIBDIR 65675b29833SmrgPKG_CONFIG_PATH 65775b29833SmrgPKG_CONFIG 65875b29833SmrgCHANGELOG_CMD 65975b29833SmrgAM_BACKSLASH 66075b29833SmrgAM_DEFAULT_VERBOSITY 66175b29833SmrgAM_DEFAULT_V 66275b29833SmrgAM_V 66375b29833SmrgCSCOPE 66475b29833SmrgETAGS 66575b29833SmrgCTAGS 66675b29833Smrgam__untar 66775b29833Smrgam__tar 66875b29833SmrgAMTAR 66975b29833Smrgam__leading_dot 67075b29833SmrgSET_MAKE 67175b29833SmrgAWK 67275b29833Smrgmkdir_p 67375b29833SmrgMKDIR_P 67475b29833SmrgINSTALL_STRIP_PROGRAM 67575b29833SmrgSTRIP 67675b29833Smrginstall_sh 67775b29833SmrgMAKEINFO 67875b29833SmrgAUTOHEADER 67975b29833SmrgAUTOMAKE 68075b29833SmrgAUTOCONF 68175b29833SmrgACLOCAL 68275b29833SmrgVERSION 68375b29833SmrgPACKAGE 68475b29833SmrgCYGPATH_W 68575b29833Smrgam__isrc 68675b29833SmrgINSTALL_DATA 68775b29833SmrgINSTALL_SCRIPT 68875b29833SmrgINSTALL_PROGRAM 68975b29833Smrgtarget_alias 69075b29833Smrghost_alias 69175b29833Smrgbuild_alias 69275b29833SmrgLIBS 69375b29833SmrgECHO_T 69475b29833SmrgECHO_N 69575b29833SmrgECHO_C 69675b29833SmrgDEFS 69775b29833Smrgmandir 69875b29833Smrglocaledir 69975b29833Smrglibdir 70075b29833Smrgpsdir 70175b29833Smrgpdfdir 70275b29833Smrgdvidir 70375b29833Smrghtmldir 70475b29833Smrginfodir 70575b29833Smrgdocdir 70675b29833Smrgoldincludedir 70775b29833Smrgincludedir 70875b29833Smrgrunstatedir 70975b29833Smrglocalstatedir 71075b29833Smrgsharedstatedir 71175b29833Smrgsysconfdir 71275b29833Smrgdatadir 71375b29833Smrgdatarootdir 71475b29833Smrglibexecdir 71575b29833Smrgsbindir 71675b29833Smrgbindir 71775b29833Smrgprogram_transform_name 71875b29833Smrgprefix 71975b29833Smrgexec_prefix 72075b29833SmrgPACKAGE_URL 72175b29833SmrgPACKAGE_BUGREPORT 72275b29833SmrgPACKAGE_STRING 72375b29833SmrgPACKAGE_VERSION 72475b29833SmrgPACKAGE_TARNAME 72575b29833SmrgPACKAGE_NAME 72675b29833SmrgPATH_SEPARATOR 72775b29833SmrgSHELL' 72875b29833Smrgac_subst_files='' 72975b29833Smrgac_user_opts=' 73075b29833Smrgenable_option_checking 73175b29833Smrgenable_silent_rules 73275b29833Smrgwith_fontrootdir 73375b29833Smrgwith_fontdir 73475b29833Smrgwith_compression 73575b29833Smrg' 73675b29833Smrg ac_precious_vars='build_alias 73775b29833Smrghost_alias 73875b29833Smrgtarget_alias 73975b29833SmrgPKG_CONFIG 74075b29833SmrgPKG_CONFIG_PATH 74175b29833SmrgPKG_CONFIG_LIBDIR' 74275b29833Smrg 74375b29833Smrg 74475b29833Smrg# Initialize some variables set by options. 74575b29833Smrgac_init_help= 74675b29833Smrgac_init_version=false 74775b29833Smrgac_unrecognized_opts= 74875b29833Smrgac_unrecognized_sep= 74975b29833Smrg# The variables have the same names as the options, with 75075b29833Smrg# dashes changed to underlines. 75175b29833Smrgcache_file=/dev/null 75275b29833Smrgexec_prefix=NONE 75375b29833Smrgno_create= 75475b29833Smrgno_recursion= 75575b29833Smrgprefix=NONE 75675b29833Smrgprogram_prefix=NONE 75775b29833Smrgprogram_suffix=NONE 75875b29833Smrgprogram_transform_name=s,x,x, 75975b29833Smrgsilent= 76075b29833Smrgsite= 76175b29833Smrgsrcdir= 76275b29833Smrgverbose= 76375b29833Smrgx_includes=NONE 76475b29833Smrgx_libraries=NONE 76575b29833Smrg 76675b29833Smrg# Installation directory options. 76775b29833Smrg# These are left unexpanded so users can "make install exec_prefix=/foo" 76875b29833Smrg# and all the variables that are supposed to be based on exec_prefix 76975b29833Smrg# by default will actually change. 77075b29833Smrg# Use braces instead of parens because sh, perl, etc. also accept them. 77175b29833Smrg# (The list follows the same order as the GNU Coding Standards.) 77275b29833Smrgbindir='${exec_prefix}/bin' 77375b29833Smrgsbindir='${exec_prefix}/sbin' 77475b29833Smrglibexecdir='${exec_prefix}/libexec' 77575b29833Smrgdatarootdir='${prefix}/share' 77675b29833Smrgdatadir='${datarootdir}' 77775b29833Smrgsysconfdir='${prefix}/etc' 77875b29833Smrgsharedstatedir='${prefix}/com' 77975b29833Smrglocalstatedir='${prefix}/var' 78075b29833Smrgrunstatedir='${localstatedir}/run' 78175b29833Smrgincludedir='${prefix}/include' 78275b29833Smrgoldincludedir='/usr/include' 78375b29833Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 78475b29833Smrginfodir='${datarootdir}/info' 78575b29833Smrghtmldir='${docdir}' 78675b29833Smrgdvidir='${docdir}' 78775b29833Smrgpdfdir='${docdir}' 78875b29833Smrgpsdir='${docdir}' 78975b29833Smrglibdir='${exec_prefix}/lib' 79075b29833Smrglocaledir='${datarootdir}/locale' 79175b29833Smrgmandir='${datarootdir}/man' 79275b29833Smrg 79375b29833Smrgac_prev= 79475b29833Smrgac_dashdash= 79575b29833Smrgfor ac_option 79675b29833Smrgdo 79775b29833Smrg # If the previous option needs an argument, assign it. 79875b29833Smrg if test -n "$ac_prev"; then 79975b29833Smrg eval $ac_prev=\$ac_option 80075b29833Smrg ac_prev= 80175b29833Smrg continue 80275b29833Smrg fi 80375b29833Smrg 80475b29833Smrg case $ac_option in 80575b29833Smrg *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 80675b29833Smrg *=) ac_optarg= ;; 80775b29833Smrg *) ac_optarg=yes ;; 80875b29833Smrg esac 80975b29833Smrg 81075b29833Smrg case $ac_dashdash$ac_option in 81175b29833Smrg --) 81275b29833Smrg ac_dashdash=yes ;; 81375b29833Smrg 81475b29833Smrg -bindir | --bindir | --bindi | --bind | --bin | --bi) 81575b29833Smrg ac_prev=bindir ;; 81675b29833Smrg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 81775b29833Smrg bindir=$ac_optarg ;; 81875b29833Smrg 81975b29833Smrg -build | --build | --buil | --bui | --bu) 82075b29833Smrg ac_prev=build_alias ;; 82175b29833Smrg -build=* | --build=* | --buil=* | --bui=* | --bu=*) 82275b29833Smrg build_alias=$ac_optarg ;; 82375b29833Smrg 82475b29833Smrg -cache-file | --cache-file | --cache-fil | --cache-fi \ 82575b29833Smrg | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 82675b29833Smrg ac_prev=cache_file ;; 82775b29833Smrg -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 82875b29833Smrg | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 82975b29833Smrg cache_file=$ac_optarg ;; 83075b29833Smrg 83175b29833Smrg --config-cache | -C) 83275b29833Smrg cache_file=config.cache ;; 83375b29833Smrg 83475b29833Smrg -datadir | --datadir | --datadi | --datad) 83575b29833Smrg ac_prev=datadir ;; 83675b29833Smrg -datadir=* | --datadir=* | --datadi=* | --datad=*) 83775b29833Smrg datadir=$ac_optarg ;; 83875b29833Smrg 83975b29833Smrg -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 84075b29833Smrg | --dataroo | --dataro | --datar) 84175b29833Smrg ac_prev=datarootdir ;; 84275b29833Smrg -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 84375b29833Smrg | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 84475b29833Smrg datarootdir=$ac_optarg ;; 84575b29833Smrg 84675b29833Smrg -disable-* | --disable-*) 84775b29833Smrg ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 84875b29833Smrg # Reject names that are not valid shell variable names. 84975b29833Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 85075b29833Smrg as_fn_error $? "invalid feature name: \`$ac_useropt'" 85175b29833Smrg ac_useropt_orig=$ac_useropt 85275b29833Smrg ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 85375b29833Smrg case $ac_user_opts in 85475b29833Smrg *" 85575b29833Smrg"enable_$ac_useropt" 85675b29833Smrg"*) ;; 85775b29833Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 85875b29833Smrg ac_unrecognized_sep=', ';; 85975b29833Smrg esac 86075b29833Smrg eval enable_$ac_useropt=no ;; 86175b29833Smrg 86275b29833Smrg -docdir | --docdir | --docdi | --doc | --do) 86375b29833Smrg ac_prev=docdir ;; 86475b29833Smrg -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 86575b29833Smrg docdir=$ac_optarg ;; 86675b29833Smrg 86775b29833Smrg -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 86875b29833Smrg ac_prev=dvidir ;; 86975b29833Smrg -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 87075b29833Smrg dvidir=$ac_optarg ;; 87175b29833Smrg 87275b29833Smrg -enable-* | --enable-*) 87375b29833Smrg ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 87475b29833Smrg # Reject names that are not valid shell variable names. 87575b29833Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 87675b29833Smrg as_fn_error $? "invalid feature name: \`$ac_useropt'" 87775b29833Smrg ac_useropt_orig=$ac_useropt 87875b29833Smrg ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 87975b29833Smrg case $ac_user_opts in 88075b29833Smrg *" 88175b29833Smrg"enable_$ac_useropt" 88275b29833Smrg"*) ;; 88375b29833Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 88475b29833Smrg ac_unrecognized_sep=', ';; 88575b29833Smrg esac 88675b29833Smrg eval enable_$ac_useropt=\$ac_optarg ;; 88775b29833Smrg 88875b29833Smrg -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 88975b29833Smrg | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 89075b29833Smrg | --exec | --exe | --ex) 89175b29833Smrg ac_prev=exec_prefix ;; 89275b29833Smrg -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 89375b29833Smrg | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 89475b29833Smrg | --exec=* | --exe=* | --ex=*) 89575b29833Smrg exec_prefix=$ac_optarg ;; 89675b29833Smrg 89775b29833Smrg -gas | --gas | --ga | --g) 89875b29833Smrg # Obsolete; use --with-gas. 89975b29833Smrg with_gas=yes ;; 90075b29833Smrg 90175b29833Smrg -help | --help | --hel | --he | -h) 90275b29833Smrg ac_init_help=long ;; 90375b29833Smrg -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 90475b29833Smrg ac_init_help=recursive ;; 90575b29833Smrg -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 90675b29833Smrg ac_init_help=short ;; 90775b29833Smrg 90875b29833Smrg -host | --host | --hos | --ho) 90975b29833Smrg ac_prev=host_alias ;; 91075b29833Smrg -host=* | --host=* | --hos=* | --ho=*) 91175b29833Smrg host_alias=$ac_optarg ;; 91275b29833Smrg 91375b29833Smrg -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 91475b29833Smrg ac_prev=htmldir ;; 91575b29833Smrg -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 91675b29833Smrg | --ht=*) 91775b29833Smrg htmldir=$ac_optarg ;; 91875b29833Smrg 91975b29833Smrg -includedir | --includedir | --includedi | --included | --include \ 92075b29833Smrg | --includ | --inclu | --incl | --inc) 92175b29833Smrg ac_prev=includedir ;; 92275b29833Smrg -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 92375b29833Smrg | --includ=* | --inclu=* | --incl=* | --inc=*) 92475b29833Smrg includedir=$ac_optarg ;; 92575b29833Smrg 92675b29833Smrg -infodir | --infodir | --infodi | --infod | --info | --inf) 92775b29833Smrg ac_prev=infodir ;; 92875b29833Smrg -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 92975b29833Smrg infodir=$ac_optarg ;; 93075b29833Smrg 93175b29833Smrg -libdir | --libdir | --libdi | --libd) 93275b29833Smrg ac_prev=libdir ;; 93375b29833Smrg -libdir=* | --libdir=* | --libdi=* | --libd=*) 93475b29833Smrg libdir=$ac_optarg ;; 93575b29833Smrg 93675b29833Smrg -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 93775b29833Smrg | --libexe | --libex | --libe) 93875b29833Smrg ac_prev=libexecdir ;; 93975b29833Smrg -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 94075b29833Smrg | --libexe=* | --libex=* | --libe=*) 94175b29833Smrg libexecdir=$ac_optarg ;; 94275b29833Smrg 94375b29833Smrg -localedir | --localedir | --localedi | --localed | --locale) 94475b29833Smrg ac_prev=localedir ;; 94575b29833Smrg -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 94675b29833Smrg localedir=$ac_optarg ;; 94775b29833Smrg 94875b29833Smrg -localstatedir | --localstatedir | --localstatedi | --localstated \ 94975b29833Smrg | --localstate | --localstat | --localsta | --localst | --locals) 95075b29833Smrg ac_prev=localstatedir ;; 95175b29833Smrg -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 95275b29833Smrg | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 95375b29833Smrg localstatedir=$ac_optarg ;; 95475b29833Smrg 95575b29833Smrg -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 95675b29833Smrg ac_prev=mandir ;; 95775b29833Smrg -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 95875b29833Smrg mandir=$ac_optarg ;; 95975b29833Smrg 96075b29833Smrg -nfp | --nfp | --nf) 96175b29833Smrg # Obsolete; use --without-fp. 96275b29833Smrg with_fp=no ;; 96375b29833Smrg 96475b29833Smrg -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 96575b29833Smrg | --no-cr | --no-c | -n) 96675b29833Smrg no_create=yes ;; 96775b29833Smrg 96875b29833Smrg -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 96975b29833Smrg | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 97075b29833Smrg no_recursion=yes ;; 97175b29833Smrg 97275b29833Smrg -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 97375b29833Smrg | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 97475b29833Smrg | --oldin | --oldi | --old | --ol | --o) 97575b29833Smrg ac_prev=oldincludedir ;; 97675b29833Smrg -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 97775b29833Smrg | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 97875b29833Smrg | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 97975b29833Smrg oldincludedir=$ac_optarg ;; 98075b29833Smrg 98175b29833Smrg -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 98275b29833Smrg ac_prev=prefix ;; 98375b29833Smrg -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 98475b29833Smrg prefix=$ac_optarg ;; 98575b29833Smrg 98675b29833Smrg -program-prefix | --program-prefix | --program-prefi | --program-pref \ 98775b29833Smrg | --program-pre | --program-pr | --program-p) 98875b29833Smrg ac_prev=program_prefix ;; 98975b29833Smrg -program-prefix=* | --program-prefix=* | --program-prefi=* \ 99075b29833Smrg | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 99175b29833Smrg program_prefix=$ac_optarg ;; 99275b29833Smrg 99375b29833Smrg -program-suffix | --program-suffix | --program-suffi | --program-suff \ 99475b29833Smrg | --program-suf | --program-su | --program-s) 99575b29833Smrg ac_prev=program_suffix ;; 99675b29833Smrg -program-suffix=* | --program-suffix=* | --program-suffi=* \ 99775b29833Smrg | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 99875b29833Smrg program_suffix=$ac_optarg ;; 99975b29833Smrg 100075b29833Smrg -program-transform-name | --program-transform-name \ 100175b29833Smrg | --program-transform-nam | --program-transform-na \ 100275b29833Smrg | --program-transform-n | --program-transform- \ 100375b29833Smrg | --program-transform | --program-transfor \ 100475b29833Smrg | --program-transfo | --program-transf \ 100575b29833Smrg | --program-trans | --program-tran \ 100675b29833Smrg | --progr-tra | --program-tr | --program-t) 100775b29833Smrg ac_prev=program_transform_name ;; 100875b29833Smrg -program-transform-name=* | --program-transform-name=* \ 100975b29833Smrg | --program-transform-nam=* | --program-transform-na=* \ 101075b29833Smrg | --program-transform-n=* | --program-transform-=* \ 101175b29833Smrg | --program-transform=* | --program-transfor=* \ 101275b29833Smrg | --program-transfo=* | --program-transf=* \ 101375b29833Smrg | --program-trans=* | --program-tran=* \ 101475b29833Smrg | --progr-tra=* | --program-tr=* | --program-t=*) 101575b29833Smrg program_transform_name=$ac_optarg ;; 101675b29833Smrg 101775b29833Smrg -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 101875b29833Smrg ac_prev=pdfdir ;; 101975b29833Smrg -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 102075b29833Smrg pdfdir=$ac_optarg ;; 102175b29833Smrg 102275b29833Smrg -psdir | --psdir | --psdi | --psd | --ps) 102375b29833Smrg ac_prev=psdir ;; 102475b29833Smrg -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 102575b29833Smrg psdir=$ac_optarg ;; 102675b29833Smrg 102775b29833Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 102875b29833Smrg | -silent | --silent | --silen | --sile | --sil) 102975b29833Smrg silent=yes ;; 103075b29833Smrg 103175b29833Smrg -runstatedir | --runstatedir | --runstatedi | --runstated \ 103275b29833Smrg | --runstate | --runstat | --runsta | --runst | --runs \ 103375b29833Smrg | --run | --ru | --r) 103475b29833Smrg ac_prev=runstatedir ;; 103575b29833Smrg -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 103675b29833Smrg | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 103775b29833Smrg | --run=* | --ru=* | --r=*) 103875b29833Smrg runstatedir=$ac_optarg ;; 103975b29833Smrg 104075b29833Smrg -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 104175b29833Smrg ac_prev=sbindir ;; 104275b29833Smrg -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 104375b29833Smrg | --sbi=* | --sb=*) 104475b29833Smrg sbindir=$ac_optarg ;; 104575b29833Smrg 104675b29833Smrg -sharedstatedir | --sharedstatedir | --sharedstatedi \ 104775b29833Smrg | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 104875b29833Smrg | --sharedst | --shareds | --shared | --share | --shar \ 104975b29833Smrg | --sha | --sh) 105075b29833Smrg ac_prev=sharedstatedir ;; 105175b29833Smrg -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 105275b29833Smrg | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 105375b29833Smrg | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 105475b29833Smrg | --sha=* | --sh=*) 105575b29833Smrg sharedstatedir=$ac_optarg ;; 105675b29833Smrg 105775b29833Smrg -site | --site | --sit) 105875b29833Smrg ac_prev=site ;; 105975b29833Smrg -site=* | --site=* | --sit=*) 106075b29833Smrg site=$ac_optarg ;; 106175b29833Smrg 106275b29833Smrg -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 106375b29833Smrg ac_prev=srcdir ;; 106475b29833Smrg -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 106575b29833Smrg srcdir=$ac_optarg ;; 106675b29833Smrg 106775b29833Smrg -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 106875b29833Smrg | --syscon | --sysco | --sysc | --sys | --sy) 106975b29833Smrg ac_prev=sysconfdir ;; 107075b29833Smrg -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 107175b29833Smrg | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 107275b29833Smrg sysconfdir=$ac_optarg ;; 107375b29833Smrg 107475b29833Smrg -target | --target | --targe | --targ | --tar | --ta | --t) 107575b29833Smrg ac_prev=target_alias ;; 107675b29833Smrg -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 107775b29833Smrg target_alias=$ac_optarg ;; 107875b29833Smrg 107975b29833Smrg -v | -verbose | --verbose | --verbos | --verbo | --verb) 108075b29833Smrg verbose=yes ;; 108175b29833Smrg 108275b29833Smrg -version | --version | --versio | --versi | --vers | -V) 108375b29833Smrg ac_init_version=: ;; 108475b29833Smrg 108575b29833Smrg -with-* | --with-*) 108675b29833Smrg ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 108775b29833Smrg # Reject names that are not valid shell variable names. 108875b29833Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 108975b29833Smrg as_fn_error $? "invalid package name: \`$ac_useropt'" 109075b29833Smrg ac_useropt_orig=$ac_useropt 109175b29833Smrg ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 109275b29833Smrg case $ac_user_opts in 109375b29833Smrg *" 109475b29833Smrg"with_$ac_useropt" 109575b29833Smrg"*) ;; 109675b29833Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 109775b29833Smrg ac_unrecognized_sep=', ';; 109875b29833Smrg esac 109975b29833Smrg eval with_$ac_useropt=\$ac_optarg ;; 110075b29833Smrg 110175b29833Smrg -without-* | --without-*) 110275b29833Smrg ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 110375b29833Smrg # Reject names that are not valid shell variable names. 110475b29833Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 110575b29833Smrg as_fn_error $? "invalid package name: \`$ac_useropt'" 110675b29833Smrg ac_useropt_orig=$ac_useropt 110775b29833Smrg ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 110875b29833Smrg case $ac_user_opts in 110975b29833Smrg *" 111075b29833Smrg"with_$ac_useropt" 111175b29833Smrg"*) ;; 111275b29833Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 111375b29833Smrg ac_unrecognized_sep=', ';; 111475b29833Smrg esac 111575b29833Smrg eval with_$ac_useropt=no ;; 111675b29833Smrg 111775b29833Smrg --x) 111875b29833Smrg # Obsolete; use --with-x. 111975b29833Smrg with_x=yes ;; 112075b29833Smrg 112175b29833Smrg -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 112275b29833Smrg | --x-incl | --x-inc | --x-in | --x-i) 112375b29833Smrg ac_prev=x_includes ;; 112475b29833Smrg -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 112575b29833Smrg | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 112675b29833Smrg x_includes=$ac_optarg ;; 112775b29833Smrg 112875b29833Smrg -x-libraries | --x-libraries | --x-librarie | --x-librari \ 112975b29833Smrg | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 113075b29833Smrg ac_prev=x_libraries ;; 113175b29833Smrg -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 113275b29833Smrg | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 113375b29833Smrg x_libraries=$ac_optarg ;; 113475b29833Smrg 113575b29833Smrg -*) as_fn_error $? "unrecognized option: \`$ac_option' 113675b29833SmrgTry \`$0 --help' for more information" 113775b29833Smrg ;; 113875b29833Smrg 113975b29833Smrg *=*) 114075b29833Smrg ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 114175b29833Smrg # Reject names that are not valid shell variable names. 114275b29833Smrg case $ac_envvar in #( 114375b29833Smrg '' | [0-9]* | *[!_$as_cr_alnum]* ) 114475b29833Smrg as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 114575b29833Smrg esac 114675b29833Smrg eval $ac_envvar=\$ac_optarg 114775b29833Smrg export $ac_envvar ;; 114875b29833Smrg 114975b29833Smrg *) 115075b29833Smrg # FIXME: should be removed in autoconf 3.0. 115175b29833Smrg printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2 115275b29833Smrg expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 115375b29833Smrg printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 115475b29833Smrg : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 115575b29833Smrg ;; 115675b29833Smrg 115775b29833Smrg esac 115875b29833Smrgdone 115975b29833Smrg 116075b29833Smrgif test -n "$ac_prev"; then 116175b29833Smrg ac_option=--`echo $ac_prev | sed 's/_/-/g'` 116275b29833Smrg as_fn_error $? "missing argument to $ac_option" 116375b29833Smrgfi 116475b29833Smrg 116575b29833Smrgif test -n "$ac_unrecognized_opts"; then 116675b29833Smrg case $enable_option_checking in 116775b29833Smrg no) ;; 116875b29833Smrg fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 116975b29833Smrg *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 117075b29833Smrg esac 117175b29833Smrgfi 117275b29833Smrg 117375b29833Smrg# Check all directory arguments for consistency. 117475b29833Smrgfor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 117575b29833Smrg datadir sysconfdir sharedstatedir localstatedir includedir \ 117675b29833Smrg oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 117775b29833Smrg libdir localedir mandir runstatedir 117875b29833Smrgdo 117975b29833Smrg eval ac_val=\$$ac_var 118075b29833Smrg # Remove trailing slashes. 118175b29833Smrg case $ac_val in 118275b29833Smrg */ ) 118375b29833Smrg ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 118475b29833Smrg eval $ac_var=\$ac_val;; 118575b29833Smrg esac 118675b29833Smrg # Be sure to have absolute directory names. 118775b29833Smrg case $ac_val in 118875b29833Smrg [\\/$]* | ?:[\\/]* ) continue;; 118975b29833Smrg NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 119075b29833Smrg esac 119175b29833Smrg as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 119275b29833Smrgdone 119375b29833Smrg 119475b29833Smrg# There might be people who depend on the old broken behavior: `$host' 119575b29833Smrg# used to hold the argument of --host etc. 119675b29833Smrg# FIXME: To remove some day. 119775b29833Smrgbuild=$build_alias 119875b29833Smrghost=$host_alias 119975b29833Smrgtarget=$target_alias 120075b29833Smrg 120175b29833Smrg# FIXME: To remove some day. 120275b29833Smrgif test "x$host_alias" != x; then 120375b29833Smrg if test "x$build_alias" = x; then 120475b29833Smrg cross_compiling=maybe 120575b29833Smrg elif test "x$build_alias" != "x$host_alias"; then 120675b29833Smrg cross_compiling=yes 120775b29833Smrg fi 120875b29833Smrgfi 120975b29833Smrg 121075b29833Smrgac_tool_prefix= 121175b29833Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias- 121275b29833Smrg 121375b29833Smrgtest "$silent" = yes && exec 6>/dev/null 121475b29833Smrg 121575b29833Smrg 121675b29833Smrgac_pwd=`pwd` && test -n "$ac_pwd" && 121775b29833Smrgac_ls_di=`ls -di .` && 121875b29833Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 121975b29833Smrg as_fn_error $? "working directory cannot be determined" 122075b29833Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" || 122175b29833Smrg as_fn_error $? "pwd does not report name of working directory" 122275b29833Smrg 122375b29833Smrg 122475b29833Smrg# Find the source files, if location was not specified. 122575b29833Smrgif test -z "$srcdir"; then 122675b29833Smrg ac_srcdir_defaulted=yes 122775b29833Smrg # Try the directory containing this script, then the parent directory. 122875b29833Smrg ac_confdir=`$as_dirname -- "$as_myself" || 122975b29833Smrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 123075b29833Smrg X"$as_myself" : 'X\(//\)[^/]' \| \ 123175b29833Smrg X"$as_myself" : 'X\(//\)$' \| \ 123275b29833Smrg X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 123375b29833Smrgprintf "%s\n" X"$as_myself" | 123475b29833Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 123575b29833Smrg s//\1/ 123675b29833Smrg q 123775b29833Smrg } 123875b29833Smrg /^X\(\/\/\)[^/].*/{ 123975b29833Smrg s//\1/ 124075b29833Smrg q 124175b29833Smrg } 124275b29833Smrg /^X\(\/\/\)$/{ 124375b29833Smrg s//\1/ 124475b29833Smrg q 124575b29833Smrg } 124675b29833Smrg /^X\(\/\).*/{ 124775b29833Smrg s//\1/ 124875b29833Smrg q 124975b29833Smrg } 125075b29833Smrg s/.*/./; q'` 125175b29833Smrg srcdir=$ac_confdir 125275b29833Smrg if test ! -r "$srcdir/$ac_unique_file"; then 125375b29833Smrg srcdir=.. 125475b29833Smrg fi 125575b29833Smrgelse 125675b29833Smrg ac_srcdir_defaulted=no 125775b29833Smrgfi 125875b29833Smrgif test ! -r "$srcdir/$ac_unique_file"; then 125975b29833Smrg test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 126075b29833Smrg as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 126175b29833Smrgfi 126275b29833Smrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 126375b29833Smrgac_abs_confdir=`( 126475b29833Smrg cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 126575b29833Smrg pwd)` 126675b29833Smrg# When building in place, set srcdir=. 126775b29833Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then 126875b29833Smrg srcdir=. 126975b29833Smrgfi 127075b29833Smrg# Remove unnecessary trailing slashes from srcdir. 127175b29833Smrg# Double slashes in file names in object file debugging info 127275b29833Smrg# mess up M-x gdb in Emacs. 127375b29833Smrgcase $srcdir in 127475b29833Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 127575b29833Smrgesac 127675b29833Smrgfor ac_var in $ac_precious_vars; do 127775b29833Smrg eval ac_env_${ac_var}_set=\${${ac_var}+set} 127875b29833Smrg eval ac_env_${ac_var}_value=\$${ac_var} 127975b29833Smrg eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 128075b29833Smrg eval ac_cv_env_${ac_var}_value=\$${ac_var} 128175b29833Smrgdone 128275b29833Smrg 128375b29833Smrg# 128475b29833Smrg# Report the --help message. 128575b29833Smrg# 128675b29833Smrgif test "$ac_init_help" = "long"; then 128775b29833Smrg # Omit some internal or obsolete options to make the list less imposing. 128875b29833Smrg # This message is too long to be a string in the A/UX 3.1 sh. 128975b29833Smrg cat <<_ACEOF 129075b29833Smrg\`configure' configures font-misc-cyrillic 1.0.4 to adapt to many kinds of systems. 129175b29833Smrg 129275b29833SmrgUsage: $0 [OPTION]... [VAR=VALUE]... 129375b29833Smrg 129475b29833SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as 129575b29833SmrgVAR=VALUE. See below for descriptions of some of the useful variables. 129675b29833Smrg 129775b29833SmrgDefaults for the options are specified in brackets. 129875b29833Smrg 129975b29833SmrgConfiguration: 130075b29833Smrg -h, --help display this help and exit 130175b29833Smrg --help=short display options specific to this package 130275b29833Smrg --help=recursive display the short help of all the included packages 130375b29833Smrg -V, --version display version information and exit 130475b29833Smrg -q, --quiet, --silent do not print \`checking ...' messages 130575b29833Smrg --cache-file=FILE cache test results in FILE [disabled] 130675b29833Smrg -C, --config-cache alias for \`--cache-file=config.cache' 130775b29833Smrg -n, --no-create do not create output files 130875b29833Smrg --srcdir=DIR find the sources in DIR [configure dir or \`..'] 130975b29833Smrg 131075b29833SmrgInstallation directories: 131175b29833Smrg --prefix=PREFIX install architecture-independent files in PREFIX 131275b29833Smrg [$ac_default_prefix] 131375b29833Smrg --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 131475b29833Smrg [PREFIX] 131575b29833Smrg 131675b29833SmrgBy default, \`make install' will install all the files in 131775b29833Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 131875b29833Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix', 131975b29833Smrgfor instance \`--prefix=\$HOME'. 132075b29833Smrg 132175b29833SmrgFor better control, use the options below. 132275b29833Smrg 132375b29833SmrgFine tuning of the installation directories: 132475b29833Smrg --bindir=DIR user executables [EPREFIX/bin] 132575b29833Smrg --sbindir=DIR system admin executables [EPREFIX/sbin] 132675b29833Smrg --libexecdir=DIR program executables [EPREFIX/libexec] 132775b29833Smrg --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 132875b29833Smrg --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 132975b29833Smrg --localstatedir=DIR modifiable single-machine data [PREFIX/var] 133075b29833Smrg --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 133175b29833Smrg --libdir=DIR object code libraries [EPREFIX/lib] 133275b29833Smrg --includedir=DIR C header files [PREFIX/include] 133375b29833Smrg --oldincludedir=DIR C header files for non-gcc [/usr/include] 133475b29833Smrg --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 133575b29833Smrg --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 133675b29833Smrg --infodir=DIR info documentation [DATAROOTDIR/info] 133775b29833Smrg --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 133875b29833Smrg --mandir=DIR man documentation [DATAROOTDIR/man] 133975b29833Smrg --docdir=DIR documentation root 134075b29833Smrg [DATAROOTDIR/doc/font-misc-cyrillic] 134175b29833Smrg --htmldir=DIR html documentation [DOCDIR] 134275b29833Smrg --dvidir=DIR dvi documentation [DOCDIR] 134375b29833Smrg --pdfdir=DIR pdf documentation [DOCDIR] 134475b29833Smrg --psdir=DIR ps documentation [DOCDIR] 134575b29833Smrg_ACEOF 134675b29833Smrg 134775b29833Smrg cat <<\_ACEOF 134875b29833Smrg 134975b29833SmrgProgram names: 135075b29833Smrg --program-prefix=PREFIX prepend PREFIX to installed program names 135175b29833Smrg --program-suffix=SUFFIX append SUFFIX to installed program names 135275b29833Smrg --program-transform-name=PROGRAM run sed PROGRAM on installed program names 135375b29833Smrg 135475b29833SmrgSystem types: 135575b29833Smrg --build=BUILD configure for building on BUILD [guessed] 135675b29833Smrg --host=HOST cross-compile to build programs to run on HOST [BUILD] 135775b29833Smrg_ACEOF 135875b29833Smrgfi 135975b29833Smrg 136075b29833Smrgif test -n "$ac_init_help"; then 136175b29833Smrg case $ac_init_help in 136275b29833Smrg short | recursive ) echo "Configuration of font-misc-cyrillic 1.0.4:";; 136375b29833Smrg esac 136475b29833Smrg cat <<\_ACEOF 136575b29833Smrg 136675b29833SmrgOptional Features: 136775b29833Smrg --disable-option-checking ignore unrecognized --enable/--with options 136875b29833Smrg --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 136975b29833Smrg --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 137075b29833Smrg --enable-silent-rules less verbose build output (undo: "make V=1") 137175b29833Smrg --disable-silent-rules verbose build output (undo: "make V=0") 137275b29833Smrg 137375b29833SmrgOptional Packages: 137475b29833Smrg --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 137575b29833Smrg --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 137675b29833Smrg --with-fontrootdir=DIR Path to root directory for font files 137775b29833Smrg --with-fontdir=DIR Path to cyrillic files [FONTROOTDIR/cyrillic] 137875b29833Smrg --with-compression=<no|compress|gzip|bzip2> 137975b29833Smrg compression method to use on pcf fonts 138075b29833Smrg 138175b29833SmrgSome influential environment variables: 138275b29833Smrg PKG_CONFIG path to pkg-config utility 138375b29833Smrg PKG_CONFIG_PATH 138475b29833Smrg directories to add to pkg-config's search path 138575b29833Smrg PKG_CONFIG_LIBDIR 138675b29833Smrg path overriding pkg-config's built-in search path 138775b29833Smrg 138875b29833SmrgUse these variables to override the choices made by `configure' or to help 138975b29833Smrgit to find libraries and programs with nonstandard names/locations. 139075b29833Smrg 139175b29833SmrgReport bugs to <https://gitlab.freedesktop.org/xorg/font/misc-cyrillic/-/issues>. 139275b29833Smrg_ACEOF 139375b29833Smrgac_status=$? 139475b29833Smrgfi 139575b29833Smrg 139675b29833Smrgif test "$ac_init_help" = "recursive"; then 139775b29833Smrg # If there are subdirs, report their specific --help. 139875b29833Smrg for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 139975b29833Smrg test -d "$ac_dir" || 140075b29833Smrg { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 140175b29833Smrg continue 140275b29833Smrg ac_builddir=. 140375b29833Smrg 140475b29833Smrgcase "$ac_dir" in 140575b29833Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 140675b29833Smrg*) 140775b29833Smrg ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 140875b29833Smrg # A ".." for each directory in $ac_dir_suffix. 140975b29833Smrg ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 141075b29833Smrg case $ac_top_builddir_sub in 141175b29833Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 141275b29833Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 141375b29833Smrg esac ;; 141475b29833Smrgesac 141575b29833Smrgac_abs_top_builddir=$ac_pwd 141675b29833Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 141775b29833Smrg# for backward compatibility: 141875b29833Smrgac_top_builddir=$ac_top_build_prefix 141975b29833Smrg 142075b29833Smrgcase $srcdir in 142175b29833Smrg .) # We are building in place. 142275b29833Smrg ac_srcdir=. 142375b29833Smrg ac_top_srcdir=$ac_top_builddir_sub 142475b29833Smrg ac_abs_top_srcdir=$ac_pwd ;; 142575b29833Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 142675b29833Smrg ac_srcdir=$srcdir$ac_dir_suffix; 142775b29833Smrg ac_top_srcdir=$srcdir 142875b29833Smrg ac_abs_top_srcdir=$srcdir ;; 142975b29833Smrg *) # Relative name. 143075b29833Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 143175b29833Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 143275b29833Smrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 143375b29833Smrgesac 143475b29833Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 143575b29833Smrg 143675b29833Smrg cd "$ac_dir" || { ac_status=$?; continue; } 143775b29833Smrg # Check for configure.gnu first; this name is used for a wrapper for 143875b29833Smrg # Metaconfig's "Configure" on case-insensitive file systems. 143975b29833Smrg if test -f "$ac_srcdir/configure.gnu"; then 144075b29833Smrg echo && 144175b29833Smrg $SHELL "$ac_srcdir/configure.gnu" --help=recursive 144275b29833Smrg elif test -f "$ac_srcdir/configure"; then 144375b29833Smrg echo && 144475b29833Smrg $SHELL "$ac_srcdir/configure" --help=recursive 144575b29833Smrg else 144675b29833Smrg printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2 144775b29833Smrg fi || ac_status=$? 144875b29833Smrg cd "$ac_pwd" || { ac_status=$?; break; } 144975b29833Smrg done 145075b29833Smrgfi 145175b29833Smrg 145275b29833Smrgtest -n "$ac_init_help" && exit $ac_status 145375b29833Smrgif $ac_init_version; then 145475b29833Smrg cat <<\_ACEOF 145575b29833Smrgfont-misc-cyrillic configure 1.0.4 145675b29833Smrggenerated by GNU Autoconf 2.71 145775b29833Smrg 145875b29833SmrgCopyright (C) 2021 Free Software Foundation, Inc. 145975b29833SmrgThis configure script is free software; the Free Software Foundation 146075b29833Smrggives unlimited permission to copy, distribute and modify it. 146175b29833Smrg_ACEOF 146275b29833Smrg exit 146375b29833Smrgfi 146475b29833Smrg 146575b29833Smrg## ------------------------ ## 146675b29833Smrg## Autoconf initialization. ## 146775b29833Smrg## ------------------------ ## 146875b29833Smrgac_configure_args_raw= 146975b29833Smrgfor ac_arg 147075b29833Smrgdo 147175b29833Smrg case $ac_arg in 147275b29833Smrg *\'*) 147375b29833Smrg ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 147475b29833Smrg esac 147575b29833Smrg as_fn_append ac_configure_args_raw " '$ac_arg'" 147675b29833Smrgdone 147775b29833Smrg 147875b29833Smrgcase $ac_configure_args_raw in 147975b29833Smrg *$as_nl*) 148075b29833Smrg ac_safe_unquote= ;; 148175b29833Smrg *) 148275b29833Smrg ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. 148375b29833Smrg ac_unsafe_a="$ac_unsafe_z#~" 148475b29833Smrg ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" 148575b29833Smrg ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;; 148675b29833Smrgesac 148775b29833Smrg 148875b29833Smrgcat >config.log <<_ACEOF 148975b29833SmrgThis file contains any messages produced by compilers while 149075b29833Smrgrunning configure, to aid debugging if configure makes a mistake. 149175b29833Smrg 149275b29833SmrgIt was created by font-misc-cyrillic $as_me 1.0.4, which was 149375b29833Smrggenerated by GNU Autoconf 2.71. Invocation command line was 149475b29833Smrg 149575b29833Smrg $ $0$ac_configure_args_raw 149675b29833Smrg 149775b29833Smrg_ACEOF 149875b29833Smrgexec 5>>config.log 149975b29833Smrg{ 150075b29833Smrgcat <<_ASUNAME 150175b29833Smrg## --------- ## 150275b29833Smrg## Platform. ## 150375b29833Smrg## --------- ## 150475b29833Smrg 150575b29833Smrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 150675b29833Smrguname -m = `(uname -m) 2>/dev/null || echo unknown` 150775b29833Smrguname -r = `(uname -r) 2>/dev/null || echo unknown` 150875b29833Smrguname -s = `(uname -s) 2>/dev/null || echo unknown` 150975b29833Smrguname -v = `(uname -v) 2>/dev/null || echo unknown` 151075b29833Smrg 151175b29833Smrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 151275b29833Smrg/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 151375b29833Smrg 151475b29833Smrg/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 151575b29833Smrg/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 151675b29833Smrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 151775b29833Smrg/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 151875b29833Smrg/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 151975b29833Smrg/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 152075b29833Smrg/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 152175b29833Smrg 152275b29833Smrg_ASUNAME 152375b29833Smrg 152475b29833Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 152575b29833Smrgfor as_dir in $PATH 152675b29833Smrgdo 152775b29833Smrg IFS=$as_save_IFS 152875b29833Smrg case $as_dir in #((( 152975b29833Smrg '') as_dir=./ ;; 153075b29833Smrg */) ;; 153175b29833Smrg *) as_dir=$as_dir/ ;; 153275b29833Smrg esac 153375b29833Smrg printf "%s\n" "PATH: $as_dir" 153475b29833Smrg done 153575b29833SmrgIFS=$as_save_IFS 153675b29833Smrg 153775b29833Smrg} >&5 153875b29833Smrg 153975b29833Smrgcat >&5 <<_ACEOF 154075b29833Smrg 154175b29833Smrg 154275b29833Smrg## ----------- ## 154375b29833Smrg## Core tests. ## 154475b29833Smrg## ----------- ## 154575b29833Smrg 154675b29833Smrg_ACEOF 154775b29833Smrg 154875b29833Smrg 154975b29833Smrg# Keep a trace of the command line. 155075b29833Smrg# Strip out --no-create and --no-recursion so they do not pile up. 155175b29833Smrg# Strip out --silent because we don't want to record it for future runs. 155275b29833Smrg# Also quote any args containing shell meta-characters. 155375b29833Smrg# Make two passes to allow for proper duplicate-argument suppression. 155475b29833Smrgac_configure_args= 155575b29833Smrgac_configure_args0= 155675b29833Smrgac_configure_args1= 155775b29833Smrgac_must_keep_next=false 155875b29833Smrgfor ac_pass in 1 2 155975b29833Smrgdo 156075b29833Smrg for ac_arg 156175b29833Smrg do 156275b29833Smrg case $ac_arg in 156375b29833Smrg -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 156475b29833Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 156575b29833Smrg | -silent | --silent | --silen | --sile | --sil) 156675b29833Smrg continue ;; 156775b29833Smrg *\'*) 156875b29833Smrg ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 156975b29833Smrg esac 157075b29833Smrg case $ac_pass in 157175b29833Smrg 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 157275b29833Smrg 2) 157375b29833Smrg as_fn_append ac_configure_args1 " '$ac_arg'" 157475b29833Smrg if test $ac_must_keep_next = true; then 157575b29833Smrg ac_must_keep_next=false # Got value, back to normal. 157675b29833Smrg else 157775b29833Smrg case $ac_arg in 157875b29833Smrg *=* | --config-cache | -C | -disable-* | --disable-* \ 157975b29833Smrg | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 158075b29833Smrg | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 158175b29833Smrg | -with-* | --with-* | -without-* | --without-* | --x) 158275b29833Smrg case "$ac_configure_args0 " in 158375b29833Smrg "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 158475b29833Smrg esac 158575b29833Smrg ;; 158675b29833Smrg -* ) ac_must_keep_next=true ;; 158775b29833Smrg esac 158875b29833Smrg fi 158975b29833Smrg as_fn_append ac_configure_args " '$ac_arg'" 159075b29833Smrg ;; 159175b29833Smrg esac 159275b29833Smrg done 159375b29833Smrgdone 159475b29833Smrg{ ac_configure_args0=; unset ac_configure_args0;} 159575b29833Smrg{ ac_configure_args1=; unset ac_configure_args1;} 159675b29833Smrg 159775b29833Smrg# When interrupted or exit'd, cleanup temporary files, and complete 159875b29833Smrg# config.log. We remove comments because anyway the quotes in there 159975b29833Smrg# would cause problems or look ugly. 160075b29833Smrg# WARNING: Use '\'' to represent an apostrophe within the trap. 160175b29833Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 160275b29833Smrgtrap 'exit_status=$? 160375b29833Smrg # Sanitize IFS. 160475b29833Smrg IFS=" "" $as_nl" 160575b29833Smrg # Save into config.log some information that might help in debugging. 160675b29833Smrg { 160775b29833Smrg echo 160875b29833Smrg 160975b29833Smrg printf "%s\n" "## ---------------- ## 161075b29833Smrg## Cache variables. ## 161175b29833Smrg## ---------------- ##" 161275b29833Smrg echo 161375b29833Smrg # The following way of writing the cache mishandles newlines in values, 161475b29833Smrg( 161575b29833Smrg for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 161675b29833Smrg eval ac_val=\$$ac_var 161775b29833Smrg case $ac_val in #( 161875b29833Smrg *${as_nl}*) 161975b29833Smrg case $ac_var in #( 162075b29833Smrg *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 162175b29833Smrgprintf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 162275b29833Smrg esac 162375b29833Smrg case $ac_var in #( 162475b29833Smrg _ | IFS | as_nl) ;; #( 162575b29833Smrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 162675b29833Smrg *) { eval $ac_var=; unset $ac_var;} ;; 162775b29833Smrg esac ;; 162875b29833Smrg esac 162975b29833Smrg done 163075b29833Smrg (set) 2>&1 | 163175b29833Smrg case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 163275b29833Smrg *${as_nl}ac_space=\ *) 163375b29833Smrg sed -n \ 163475b29833Smrg "s/'\''/'\''\\\\'\'''\''/g; 163575b29833Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 163675b29833Smrg ;; #( 163775b29833Smrg *) 163875b29833Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 163975b29833Smrg ;; 164075b29833Smrg esac | 164175b29833Smrg sort 164275b29833Smrg) 164375b29833Smrg echo 164475b29833Smrg 164575b29833Smrg printf "%s\n" "## ----------------- ## 164675b29833Smrg## Output variables. ## 164775b29833Smrg## ----------------- ##" 164875b29833Smrg echo 164975b29833Smrg for ac_var in $ac_subst_vars 165075b29833Smrg do 165175b29833Smrg eval ac_val=\$$ac_var 165275b29833Smrg case $ac_val in 165375b29833Smrg *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 165475b29833Smrg esac 165575b29833Smrg printf "%s\n" "$ac_var='\''$ac_val'\''" 165675b29833Smrg done | sort 165775b29833Smrg echo 165875b29833Smrg 165975b29833Smrg if test -n "$ac_subst_files"; then 166075b29833Smrg printf "%s\n" "## ------------------- ## 166175b29833Smrg## File substitutions. ## 166275b29833Smrg## ------------------- ##" 166375b29833Smrg echo 166475b29833Smrg for ac_var in $ac_subst_files 166575b29833Smrg do 166675b29833Smrg eval ac_val=\$$ac_var 166775b29833Smrg case $ac_val in 166875b29833Smrg *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 166975b29833Smrg esac 167075b29833Smrg printf "%s\n" "$ac_var='\''$ac_val'\''" 167175b29833Smrg done | sort 167275b29833Smrg echo 167375b29833Smrg fi 167475b29833Smrg 167575b29833Smrg if test -s confdefs.h; then 167675b29833Smrg printf "%s\n" "## ----------- ## 167775b29833Smrg## confdefs.h. ## 167875b29833Smrg## ----------- ##" 167975b29833Smrg echo 168075b29833Smrg cat confdefs.h 168175b29833Smrg echo 168275b29833Smrg fi 168375b29833Smrg test "$ac_signal" != 0 && 168475b29833Smrg printf "%s\n" "$as_me: caught signal $ac_signal" 168575b29833Smrg printf "%s\n" "$as_me: exit $exit_status" 168675b29833Smrg } >&5 168775b29833Smrg rm -f core *.core core.conftest.* && 168875b29833Smrg rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 168975b29833Smrg exit $exit_status 169075b29833Smrg' 0 169175b29833Smrgfor ac_signal in 1 2 13 15; do 169275b29833Smrg trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 169375b29833Smrgdone 169475b29833Smrgac_signal=0 169575b29833Smrg 169675b29833Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed. 169775b29833Smrgrm -f -r conftest* confdefs.h 169875b29833Smrg 169975b29833Smrgprintf "%s\n" "/* confdefs.h */" > confdefs.h 170075b29833Smrg 170175b29833Smrg# Predefined preprocessor variables. 170275b29833Smrg 170375b29833Smrgprintf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h 170475b29833Smrg 170575b29833Smrgprintf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h 170675b29833Smrg 170775b29833Smrgprintf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h 170875b29833Smrg 170975b29833Smrgprintf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h 171075b29833Smrg 171175b29833Smrgprintf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h 171275b29833Smrg 171375b29833Smrgprintf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h 171475b29833Smrg 171575b29833Smrg 171675b29833Smrg# Let the site file select an alternate cache file if it wants to. 171775b29833Smrg# Prefer an explicitly selected file to automatically selected ones. 171875b29833Smrgif test -n "$CONFIG_SITE"; then 171975b29833Smrg ac_site_files="$CONFIG_SITE" 172075b29833Smrgelif test "x$prefix" != xNONE; then 172175b29833Smrg ac_site_files="$prefix/share/config.site $prefix/etc/config.site" 172275b29833Smrgelse 172375b29833Smrg ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 172475b29833Smrgfi 172575b29833Smrg 172675b29833Smrgfor ac_site_file in $ac_site_files 172775b29833Smrgdo 172875b29833Smrg case $ac_site_file in #( 172975b29833Smrg */*) : 173075b29833Smrg ;; #( 173175b29833Smrg *) : 173275b29833Smrg ac_site_file=./$ac_site_file ;; 173375b29833Smrgesac 173475b29833Smrg if test -f "$ac_site_file" && test -r "$ac_site_file"; then 173575b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 173675b29833Smrgprintf "%s\n" "$as_me: loading site script $ac_site_file" >&6;} 173775b29833Smrg sed 's/^/| /' "$ac_site_file" >&5 173875b29833Smrg . "$ac_site_file" \ 173975b29833Smrg || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 174075b29833Smrgprintf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 174175b29833Smrgas_fn_error $? "failed to load site script $ac_site_file 174275b29833SmrgSee \`config.log' for more details" "$LINENO" 5; } 174375b29833Smrg fi 174475b29833Smrgdone 174575b29833Smrg 174675b29833Smrgif test -r "$cache_file"; then 174775b29833Smrg # Some versions of bash will fail to source /dev/null (special files 174875b29833Smrg # actually), so we avoid doing that. DJGPP emulates it as a regular file. 174975b29833Smrg if test /dev/null != "$cache_file" && test -f "$cache_file"; then 175075b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 175175b29833Smrgprintf "%s\n" "$as_me: loading cache $cache_file" >&6;} 175275b29833Smrg case $cache_file in 175375b29833Smrg [\\/]* | ?:[\\/]* ) . "$cache_file";; 175475b29833Smrg *) . "./$cache_file";; 175575b29833Smrg esac 175675b29833Smrg fi 175775b29833Smrgelse 175875b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 175975b29833Smrgprintf "%s\n" "$as_me: creating cache $cache_file" >&6;} 176075b29833Smrg >$cache_file 176175b29833Smrgfi 176275b29833Smrg 176375b29833Smrg 176475b29833Smrg# Auxiliary files required by this configure script. 176575b29833Smrgac_aux_files="config.guess config.sub missing install-sh" 176675b29833Smrg 176775b29833Smrg# Locations in which to look for auxiliary files. 176875b29833Smrgac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.." 176975b29833Smrg 177075b29833Smrg# Search for a directory containing all of the required auxiliary files, 177175b29833Smrg# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. 177275b29833Smrg# If we don't find one directory that contains all the files we need, 177375b29833Smrg# we report the set of missing files from the *first* directory in 177475b29833Smrg# $ac_aux_dir_candidates and give up. 177575b29833Smrgac_missing_aux_files="" 177675b29833Smrgac_first_candidate=: 177775b29833Smrgprintf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5 177875b29833Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 177975b29833Smrgas_found=false 178075b29833Smrgfor as_dir in $ac_aux_dir_candidates 178175b29833Smrgdo 178275b29833Smrg IFS=$as_save_IFS 178375b29833Smrg case $as_dir in #((( 178475b29833Smrg '') as_dir=./ ;; 178575b29833Smrg */) ;; 178675b29833Smrg *) as_dir=$as_dir/ ;; 178775b29833Smrg esac 178875b29833Smrg as_found=: 178975b29833Smrg 179075b29833Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 179175b29833Smrg ac_aux_dir_found=yes 179275b29833Smrg ac_install_sh= 179375b29833Smrg for ac_aux in $ac_aux_files 179475b29833Smrg do 179575b29833Smrg # As a special case, if "install-sh" is required, that requirement 179675b29833Smrg # can be satisfied by any of "install-sh", "install.sh", or "shtool", 179775b29833Smrg # and $ac_install_sh is set appropriately for whichever one is found. 179875b29833Smrg if test x"$ac_aux" = x"install-sh" 179975b29833Smrg then 180075b29833Smrg if test -f "${as_dir}install-sh"; then 180175b29833Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5 180275b29833Smrg ac_install_sh="${as_dir}install-sh -c" 180375b29833Smrg elif test -f "${as_dir}install.sh"; then 180475b29833Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5 180575b29833Smrg ac_install_sh="${as_dir}install.sh -c" 180675b29833Smrg elif test -f "${as_dir}shtool"; then 180775b29833Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5 180875b29833Smrg ac_install_sh="${as_dir}shtool install -c" 180975b29833Smrg else 181075b29833Smrg ac_aux_dir_found=no 181175b29833Smrg if $ac_first_candidate; then 181275b29833Smrg ac_missing_aux_files="${ac_missing_aux_files} install-sh" 181375b29833Smrg else 181475b29833Smrg break 181575b29833Smrg fi 181675b29833Smrg fi 181775b29833Smrg else 181875b29833Smrg if test -f "${as_dir}${ac_aux}"; then 181975b29833Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5 182075b29833Smrg else 182175b29833Smrg ac_aux_dir_found=no 182275b29833Smrg if $ac_first_candidate; then 182375b29833Smrg ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}" 182475b29833Smrg else 182575b29833Smrg break 182675b29833Smrg fi 182775b29833Smrg fi 182875b29833Smrg fi 182975b29833Smrg done 183075b29833Smrg if test "$ac_aux_dir_found" = yes; then 183175b29833Smrg ac_aux_dir="$as_dir" 183275b29833Smrg break 183375b29833Smrg fi 183475b29833Smrg ac_first_candidate=false 183575b29833Smrg 183675b29833Smrg as_found=false 183775b29833Smrgdone 183875b29833SmrgIFS=$as_save_IFS 183975b29833Smrgif $as_found 184075b29833Smrgthen : 184175b29833Smrg 184275b29833Smrgelse $as_nop 184375b29833Smrg as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 184475b29833Smrgfi 184575b29833Smrg 184675b29833Smrg 184775b29833Smrg# These three variables are undocumented and unsupported, 184875b29833Smrg# and are intended to be withdrawn in a future Autoconf release. 184975b29833Smrg# They can cause serious problems if a builder's source tree is in a directory 185075b29833Smrg# whose full name contains unusual characters. 185175b29833Smrgif test -f "${ac_aux_dir}config.guess"; then 185275b29833Smrg ac_config_guess="$SHELL ${ac_aux_dir}config.guess" 185375b29833Smrgfi 185475b29833Smrgif test -f "${ac_aux_dir}config.sub"; then 185575b29833Smrg ac_config_sub="$SHELL ${ac_aux_dir}config.sub" 185675b29833Smrgfi 185775b29833Smrgif test -f "$ac_aux_dir/configure"; then 185875b29833Smrg ac_configure="$SHELL ${ac_aux_dir}configure" 185975b29833Smrgfi 186075b29833Smrg 186175b29833Smrg# Check that the precious variables saved in the cache have kept the same 186275b29833Smrg# value. 186375b29833Smrgac_cache_corrupted=false 186475b29833Smrgfor ac_var in $ac_precious_vars; do 186575b29833Smrg eval ac_old_set=\$ac_cv_env_${ac_var}_set 186675b29833Smrg eval ac_new_set=\$ac_env_${ac_var}_set 186775b29833Smrg eval ac_old_val=\$ac_cv_env_${ac_var}_value 186875b29833Smrg eval ac_new_val=\$ac_env_${ac_var}_value 186975b29833Smrg case $ac_old_set,$ac_new_set in 187075b29833Smrg set,) 187175b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 187275b29833Smrgprintf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 187375b29833Smrg ac_cache_corrupted=: ;; 187475b29833Smrg ,set) 187575b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 187675b29833Smrgprintf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 187775b29833Smrg ac_cache_corrupted=: ;; 187875b29833Smrg ,);; 187975b29833Smrg *) 188075b29833Smrg if test "x$ac_old_val" != "x$ac_new_val"; then 188175b29833Smrg # differences in whitespace do not lead to failure. 188275b29833Smrg ac_old_val_w=`echo x $ac_old_val` 188375b29833Smrg ac_new_val_w=`echo x $ac_new_val` 188475b29833Smrg if test "$ac_old_val_w" != "$ac_new_val_w"; then 188575b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 188675b29833Smrgprintf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 188775b29833Smrg ac_cache_corrupted=: 188875b29833Smrg else 188975b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 189075b29833Smrgprintf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 189175b29833Smrg eval $ac_var=\$ac_old_val 189275b29833Smrg fi 189375b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 189475b29833Smrgprintf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;} 189575b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 189675b29833Smrgprintf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;} 189775b29833Smrg fi;; 189875b29833Smrg esac 189975b29833Smrg # Pass precious variables to config.status. 190075b29833Smrg if test "$ac_new_set" = set; then 190175b29833Smrg case $ac_new_val in 190275b29833Smrg *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 190375b29833Smrg *) ac_arg=$ac_var=$ac_new_val ;; 190475b29833Smrg esac 190575b29833Smrg case " $ac_configure_args " in 190675b29833Smrg *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 190775b29833Smrg *) as_fn_append ac_configure_args " '$ac_arg'" ;; 190875b29833Smrg esac 190975b29833Smrg fi 191075b29833Smrgdone 191175b29833Smrgif $ac_cache_corrupted; then 191275b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 191375b29833Smrgprintf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 191475b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 191575b29833Smrgprintf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;} 191675b29833Smrg as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file' 191775b29833Smrg and start over" "$LINENO" 5 191875b29833Smrgfi 191975b29833Smrg## -------------------- ## 192075b29833Smrg## Main body of script. ## 192175b29833Smrg## -------------------- ## 192275b29833Smrg 192375b29833Smrgac_ext=c 192475b29833Smrgac_cpp='$CPP $CPPFLAGS' 192575b29833Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 192675b29833Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 192775b29833Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 192875b29833Smrg 192975b29833Smrg 193075b29833Smrgam__api_version='1.16' 193175b29833Smrg 193275b29833Smrg 193375b29833Smrg 193475b29833Smrg # Find a good install program. We prefer a C program (faster), 193575b29833Smrg# so one script is as good as another. But avoid the broken or 193675b29833Smrg# incompatible versions: 193775b29833Smrg# SysV /etc/install, /usr/sbin/install 193875b29833Smrg# SunOS /usr/etc/install 193975b29833Smrg# IRIX /sbin/install 194075b29833Smrg# AIX /bin/install 194175b29833Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs 194275b29833Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 194375b29833Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 194475b29833Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 194575b29833Smrg# OS/2's system install, which has a completely different semantic 194675b29833Smrg# ./install, which can be erroneously created by make from ./install.sh. 194775b29833Smrg# Reject install programs that cannot install multiple files. 194875b29833Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 194975b29833Smrgprintf %s "checking for a BSD-compatible install... " >&6; } 195075b29833Smrgif test -z "$INSTALL"; then 195175b29833Smrgif test ${ac_cv_path_install+y} 195275b29833Smrgthen : 195375b29833Smrg printf %s "(cached) " >&6 195475b29833Smrgelse $as_nop 195575b29833Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 195675b29833Smrgfor as_dir in $PATH 195775b29833Smrgdo 195875b29833Smrg IFS=$as_save_IFS 195975b29833Smrg case $as_dir in #((( 196075b29833Smrg '') as_dir=./ ;; 196175b29833Smrg */) ;; 196275b29833Smrg *) as_dir=$as_dir/ ;; 196375b29833Smrg esac 196475b29833Smrg # Account for fact that we put trailing slashes in our PATH walk. 196575b29833Smrgcase $as_dir in #(( 196675b29833Smrg ./ | /[cC]/* | \ 196775b29833Smrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 196875b29833Smrg ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 196975b29833Smrg /usr/ucb/* ) ;; 197075b29833Smrg *) 197175b29833Smrg # OSF1 and SCO ODT 3.0 have their own names for install. 197275b29833Smrg # Don't use installbsd from OSF since it installs stuff as root 197375b29833Smrg # by default. 197475b29833Smrg for ac_prog in ginstall scoinst install; do 197575b29833Smrg for ac_exec_ext in '' $ac_executable_extensions; do 197675b29833Smrg if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then 197775b29833Smrg if test $ac_prog = install && 197875b29833Smrg grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 197975b29833Smrg # AIX install. It has an incompatible calling convention. 198075b29833Smrg : 198175b29833Smrg elif test $ac_prog = install && 198275b29833Smrg grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 198375b29833Smrg # program-specific install script used by HP pwplus--don't use. 198475b29833Smrg : 198575b29833Smrg else 198675b29833Smrg rm -rf conftest.one conftest.two conftest.dir 198775b29833Smrg echo one > conftest.one 198875b29833Smrg echo two > conftest.two 198975b29833Smrg mkdir conftest.dir 199075b29833Smrg if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" && 199175b29833Smrg test -s conftest.one && test -s conftest.two && 199275b29833Smrg test -s conftest.dir/conftest.one && 199375b29833Smrg test -s conftest.dir/conftest.two 199475b29833Smrg then 199575b29833Smrg ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c" 199675b29833Smrg break 3 199775b29833Smrg fi 199875b29833Smrg fi 199975b29833Smrg fi 200075b29833Smrg done 200175b29833Smrg done 200275b29833Smrg ;; 200375b29833Smrgesac 200475b29833Smrg 200575b29833Smrg done 200675b29833SmrgIFS=$as_save_IFS 200775b29833Smrg 200875b29833Smrgrm -rf conftest.one conftest.two conftest.dir 200975b29833Smrg 201075b29833Smrgfi 201175b29833Smrg if test ${ac_cv_path_install+y}; then 201275b29833Smrg INSTALL=$ac_cv_path_install 201375b29833Smrg else 201475b29833Smrg # As a last resort, use the slow shell script. Don't cache a 201575b29833Smrg # value for INSTALL within a source directory, because that will 201675b29833Smrg # break other packages using the cache if that directory is 201775b29833Smrg # removed, or if the value is a relative name. 201875b29833Smrg INSTALL=$ac_install_sh 201975b29833Smrg fi 202075b29833Smrgfi 202175b29833Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 202275b29833Smrgprintf "%s\n" "$INSTALL" >&6; } 202375b29833Smrg 202475b29833Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 202575b29833Smrg# It thinks the first close brace ends the variable substitution. 202675b29833Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 202775b29833Smrg 202875b29833Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 202975b29833Smrg 203075b29833Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 203175b29833Smrg 203275b29833Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 203375b29833Smrgprintf %s "checking whether build environment is sane... " >&6; } 203475b29833Smrg# Reject unsafe characters in $srcdir or the absolute working directory 203575b29833Smrg# name. Accept space and tab only in the latter. 203675b29833Smrgam_lf=' 203775b29833Smrg' 203875b29833Smrgcase `pwd` in 203975b29833Smrg *[\\\"\#\$\&\'\`$am_lf]*) 204075b29833Smrg as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 204175b29833Smrgesac 204275b29833Smrgcase $srcdir in 204375b29833Smrg *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 204475b29833Smrg as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 204575b29833Smrgesac 204675b29833Smrg 204775b29833Smrg# Do 'set' in a subshell so we don't clobber the current shell's 204875b29833Smrg# arguments. Must try -L first in case configure is actually a 204975b29833Smrg# symlink; some systems play weird games with the mod time of symlinks 205075b29833Smrg# (eg FreeBSD returns the mod time of the symlink's containing 205175b29833Smrg# directory). 205275b29833Smrgif ( 205375b29833Smrg am_has_slept=no 205475b29833Smrg for am_try in 1 2; do 205575b29833Smrg echo "timestamp, slept: $am_has_slept" > conftest.file 205675b29833Smrg set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 205775b29833Smrg if test "$*" = "X"; then 205875b29833Smrg # -L didn't work. 205975b29833Smrg set X `ls -t "$srcdir/configure" conftest.file` 206075b29833Smrg fi 206175b29833Smrg if test "$*" != "X $srcdir/configure conftest.file" \ 206275b29833Smrg && test "$*" != "X conftest.file $srcdir/configure"; then 206375b29833Smrg 206475b29833Smrg # If neither matched, then we have a broken ls. This can happen 206575b29833Smrg # if, for instance, CONFIG_SHELL is bash and it inherits a 206675b29833Smrg # broken ls alias from the environment. This has actually 206775b29833Smrg # happened. Such a system could not be considered "sane". 206875b29833Smrg as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 206975b29833Smrg alias in your environment" "$LINENO" 5 207075b29833Smrg fi 207175b29833Smrg if test "$2" = conftest.file || test $am_try -eq 2; then 207275b29833Smrg break 207375b29833Smrg fi 207475b29833Smrg # Just in case. 207575b29833Smrg sleep 1 207675b29833Smrg am_has_slept=yes 207775b29833Smrg done 207875b29833Smrg test "$2" = conftest.file 207975b29833Smrg ) 208075b29833Smrgthen 208175b29833Smrg # Ok. 208275b29833Smrg : 208375b29833Smrgelse 208475b29833Smrg as_fn_error $? "newly created file is older than distributed files! 208575b29833SmrgCheck your system clock" "$LINENO" 5 208675b29833Smrgfi 208775b29833Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 208875b29833Smrgprintf "%s\n" "yes" >&6; } 208975b29833Smrg# If we didn't sleep, we still need to ensure time stamps of config.status and 209075b29833Smrg# generated files are strictly newer. 209175b29833Smrgam_sleep_pid= 209275b29833Smrgif grep 'slept: no' conftest.file >/dev/null 2>&1; then 209375b29833Smrg ( sleep 1 ) & 209475b29833Smrg am_sleep_pid=$! 209575b29833Smrgfi 209675b29833Smrg 209775b29833Smrgrm -f conftest.file 209875b29833Smrg 209975b29833Smrgtest "$program_prefix" != NONE && 210075b29833Smrg program_transform_name="s&^&$program_prefix&;$program_transform_name" 210175b29833Smrg# Use a double $ so make ignores it. 210275b29833Smrgtest "$program_suffix" != NONE && 210375b29833Smrg program_transform_name="s&\$&$program_suffix&;$program_transform_name" 210475b29833Smrg# Double any \ or $. 210575b29833Smrg# By default was `s,x,x', remove it if useless. 210675b29833Smrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 210775b29833Smrgprogram_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"` 210875b29833Smrg 210975b29833Smrg 211075b29833Smrg# Expand $ac_aux_dir to an absolute path. 211175b29833Smrgam_aux_dir=`cd "$ac_aux_dir" && pwd` 211275b29833Smrg 211375b29833Smrg 211475b29833Smrg if test x"${MISSING+set}" != xset; then 211575b29833Smrg MISSING="\${SHELL} '$am_aux_dir/missing'" 211675b29833Smrgfi 211775b29833Smrg# Use eval to expand $SHELL 211875b29833Smrgif eval "$MISSING --is-lightweight"; then 211975b29833Smrg am_missing_run="$MISSING " 212075b29833Smrgelse 212175b29833Smrg am_missing_run= 212275b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 212375b29833Smrgprintf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 212475b29833Smrgfi 212575b29833Smrg 212675b29833Smrgif test x"${install_sh+set}" != xset; then 212775b29833Smrg case $am_aux_dir in 212875b29833Smrg *\ * | *\ *) 212975b29833Smrg install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 213075b29833Smrg *) 213175b29833Smrg install_sh="\${SHELL} $am_aux_dir/install-sh" 213275b29833Smrg esac 213375b29833Smrgfi 213475b29833Smrg 213575b29833Smrg# Installed binaries are usually stripped using 'strip' when the user 213675b29833Smrg# run "make install-strip". However 'strip' might not be the right 213775b29833Smrg# tool to use in cross-compilation environments, therefore Automake 213875b29833Smrg# will honor the 'STRIP' environment variable to overrule this program. 213975b29833Smrgif test "$cross_compiling" != no; then 214075b29833Smrg if test -n "$ac_tool_prefix"; then 214175b29833Smrg # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 214275b29833Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2 214375b29833Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 214475b29833Smrgprintf %s "checking for $ac_word... " >&6; } 214575b29833Smrgif test ${ac_cv_prog_STRIP+y} 214675b29833Smrgthen : 214775b29833Smrg printf %s "(cached) " >&6 214875b29833Smrgelse $as_nop 214975b29833Smrg if test -n "$STRIP"; then 215075b29833Smrg ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 215175b29833Smrgelse 215275b29833Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 215375b29833Smrgfor as_dir in $PATH 215475b29833Smrgdo 215575b29833Smrg IFS=$as_save_IFS 215675b29833Smrg case $as_dir in #((( 215775b29833Smrg '') as_dir=./ ;; 215875b29833Smrg */) ;; 215975b29833Smrg *) as_dir=$as_dir/ ;; 216075b29833Smrg esac 216175b29833Smrg for ac_exec_ext in '' $ac_executable_extensions; do 216275b29833Smrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 216375b29833Smrg ac_cv_prog_STRIP="${ac_tool_prefix}strip" 216475b29833Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 216575b29833Smrg break 2 216675b29833Smrg fi 216775b29833Smrgdone 216875b29833Smrg done 216975b29833SmrgIFS=$as_save_IFS 217075b29833Smrg 217175b29833Smrgfi 217275b29833Smrgfi 217375b29833SmrgSTRIP=$ac_cv_prog_STRIP 217475b29833Smrgif test -n "$STRIP"; then 217575b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 217675b29833Smrgprintf "%s\n" "$STRIP" >&6; } 217775b29833Smrgelse 217875b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 217975b29833Smrgprintf "%s\n" "no" >&6; } 218075b29833Smrgfi 218175b29833Smrg 218275b29833Smrg 218375b29833Smrgfi 218475b29833Smrgif test -z "$ac_cv_prog_STRIP"; then 218575b29833Smrg ac_ct_STRIP=$STRIP 218675b29833Smrg # Extract the first word of "strip", so it can be a program name with args. 218775b29833Smrgset dummy strip; ac_word=$2 218875b29833Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 218975b29833Smrgprintf %s "checking for $ac_word... " >&6; } 219075b29833Smrgif test ${ac_cv_prog_ac_ct_STRIP+y} 219175b29833Smrgthen : 219275b29833Smrg printf %s "(cached) " >&6 219375b29833Smrgelse $as_nop 219475b29833Smrg if test -n "$ac_ct_STRIP"; then 219575b29833Smrg ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 219675b29833Smrgelse 219775b29833Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 219875b29833Smrgfor as_dir in $PATH 219975b29833Smrgdo 220075b29833Smrg IFS=$as_save_IFS 220175b29833Smrg case $as_dir in #((( 220275b29833Smrg '') as_dir=./ ;; 220375b29833Smrg */) ;; 220475b29833Smrg *) as_dir=$as_dir/ ;; 220575b29833Smrg esac 220675b29833Smrg for ac_exec_ext in '' $ac_executable_extensions; do 220775b29833Smrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 220875b29833Smrg ac_cv_prog_ac_ct_STRIP="strip" 220975b29833Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 221075b29833Smrg break 2 221175b29833Smrg fi 221275b29833Smrgdone 221375b29833Smrg done 221475b29833SmrgIFS=$as_save_IFS 221575b29833Smrg 221675b29833Smrgfi 221775b29833Smrgfi 221875b29833Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 221975b29833Smrgif test -n "$ac_ct_STRIP"; then 222075b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 222175b29833Smrgprintf "%s\n" "$ac_ct_STRIP" >&6; } 222275b29833Smrgelse 222375b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 222475b29833Smrgprintf "%s\n" "no" >&6; } 222575b29833Smrgfi 222675b29833Smrg 222775b29833Smrg if test "x$ac_ct_STRIP" = x; then 222875b29833Smrg STRIP=":" 222975b29833Smrg else 223075b29833Smrg case $cross_compiling:$ac_tool_warned in 223175b29833Smrgyes:) 223275b29833Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 223375b29833Smrgprintf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 223475b29833Smrgac_tool_warned=yes ;; 223575b29833Smrgesac 223675b29833Smrg STRIP=$ac_ct_STRIP 223775b29833Smrg fi 223875b29833Smrgelse 223975b29833Smrg STRIP="$ac_cv_prog_STRIP" 224075b29833Smrgfi 224175b29833Smrg 224275b29833Smrgfi 224375b29833SmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 224475b29833Smrg 224575b29833Smrg 224675b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5 224775b29833Smrgprintf %s "checking for a race-free mkdir -p... " >&6; } 224875b29833Smrgif test -z "$MKDIR_P"; then 224975b29833Smrg if test ${ac_cv_path_mkdir+y} 225075b29833Smrgthen : 225175b29833Smrg printf %s "(cached) " >&6 225275b29833Smrgelse $as_nop 225375b29833Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 225475b29833Smrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 225575b29833Smrgdo 225675b29833Smrg IFS=$as_save_IFS 225775b29833Smrg case $as_dir in #((( 225875b29833Smrg '') as_dir=./ ;; 225975b29833Smrg */) ;; 226075b29833Smrg *) as_dir=$as_dir/ ;; 226175b29833Smrg esac 226275b29833Smrg for ac_prog in mkdir gmkdir; do 226375b29833Smrg for ac_exec_ext in '' $ac_executable_extensions; do 226475b29833Smrg as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue 226575b29833Smrg case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #( 226675b29833Smrg 'mkdir ('*'coreutils) '* | \ 226775b29833Smrg 'BusyBox '* | \ 226875b29833Smrg 'mkdir (fileutils) '4.1*) 226975b29833Smrg ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext 227075b29833Smrg break 3;; 227175b29833Smrg esac 227275b29833Smrg done 227375b29833Smrg done 227475b29833Smrg done 227575b29833SmrgIFS=$as_save_IFS 227675b29833Smrg 227775b29833Smrgfi 227875b29833Smrg 227975b29833Smrg test -d ./--version && rmdir ./--version 228075b29833Smrg if test ${ac_cv_path_mkdir+y}; then 228175b29833Smrg MKDIR_P="$ac_cv_path_mkdir -p" 228275b29833Smrg else 228375b29833Smrg # As a last resort, use the slow shell script. Don't cache a 228475b29833Smrg # value for MKDIR_P within a source directory, because that will 228575b29833Smrg # break other packages using the cache if that directory is 228675b29833Smrg # removed, or if the value is a relative name. 228775b29833Smrg MKDIR_P="$ac_install_sh -d" 228875b29833Smrg fi 228975b29833Smrgfi 229075b29833Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 229175b29833Smrgprintf "%s\n" "$MKDIR_P" >&6; } 229275b29833Smrg 229375b29833Smrgfor ac_prog in gawk mawk nawk awk 229475b29833Smrgdo 229575b29833Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 229675b29833Smrgset dummy $ac_prog; ac_word=$2 229775b29833Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 229875b29833Smrgprintf %s "checking for $ac_word... " >&6; } 229975b29833Smrgif test ${ac_cv_prog_AWK+y} 230075b29833Smrgthen : 230175b29833Smrg printf %s "(cached) " >&6 230275b29833Smrgelse $as_nop 230375b29833Smrg if test -n "$AWK"; then 230475b29833Smrg ac_cv_prog_AWK="$AWK" # Let the user override the test. 230575b29833Smrgelse 230675b29833Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 230775b29833Smrgfor as_dir in $PATH 230875b29833Smrgdo 230975b29833Smrg IFS=$as_save_IFS 231075b29833Smrg case $as_dir in #((( 231175b29833Smrg '') as_dir=./ ;; 231275b29833Smrg */) ;; 231375b29833Smrg *) as_dir=$as_dir/ ;; 231475b29833Smrg esac 231575b29833Smrg for ac_exec_ext in '' $ac_executable_extensions; do 231675b29833Smrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 231775b29833Smrg ac_cv_prog_AWK="$ac_prog" 231875b29833Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 231975b29833Smrg break 2 232075b29833Smrg fi 232175b29833Smrgdone 232275b29833Smrg done 232375b29833SmrgIFS=$as_save_IFS 232475b29833Smrg 232575b29833Smrgfi 232675b29833Smrgfi 232775b29833SmrgAWK=$ac_cv_prog_AWK 232875b29833Smrgif test -n "$AWK"; then 232975b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 233075b29833Smrgprintf "%s\n" "$AWK" >&6; } 233175b29833Smrgelse 233275b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 233375b29833Smrgprintf "%s\n" "no" >&6; } 233475b29833Smrgfi 233575b29833Smrg 233675b29833Smrg 233775b29833Smrg test -n "$AWK" && break 233875b29833Smrgdone 233975b29833Smrg 234075b29833Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 234175b29833Smrgprintf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 234275b29833Smrgset x ${MAKE-make} 234375b29833Smrgac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 234475b29833Smrgif eval test \${ac_cv_prog_make_${ac_make}_set+y} 234575b29833Smrgthen : 234675b29833Smrg printf %s "(cached) " >&6 234775b29833Smrgelse $as_nop 234875b29833Smrg cat >conftest.make <<\_ACEOF 234975b29833SmrgSHELL = /bin/sh 235075b29833Smrgall: 235175b29833Smrg @echo '@@@%%%=$(MAKE)=@@@%%%' 235275b29833Smrg_ACEOF 235375b29833Smrg# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 235475b29833Smrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in 235575b29833Smrg *@@@%%%=?*=@@@%%%*) 235675b29833Smrg eval ac_cv_prog_make_${ac_make}_set=yes;; 235775b29833Smrg *) 235875b29833Smrg eval ac_cv_prog_make_${ac_make}_set=no;; 235975b29833Smrgesac 236075b29833Smrgrm -f conftest.make 236175b29833Smrgfi 236275b29833Smrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 236375b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 236475b29833Smrgprintf "%s\n" "yes" >&6; } 236575b29833Smrg SET_MAKE= 236675b29833Smrgelse 236775b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 236875b29833Smrgprintf "%s\n" "no" >&6; } 236975b29833Smrg SET_MAKE="MAKE=${MAKE-make}" 237075b29833Smrgfi 237175b29833Smrg 237275b29833Smrgrm -rf .tst 2>/dev/null 237375b29833Smrgmkdir .tst 2>/dev/null 237475b29833Smrgif test -d .tst; then 237575b29833Smrg am__leading_dot=. 237675b29833Smrgelse 237775b29833Smrg am__leading_dot=_ 237875b29833Smrgfi 237975b29833Smrgrmdir .tst 2>/dev/null 238075b29833Smrg 238175b29833Smrg# Check whether --enable-silent-rules was given. 238275b29833Smrgif test ${enable_silent_rules+y} 238375b29833Smrgthen : 238475b29833Smrg enableval=$enable_silent_rules; 238575b29833Smrgfi 238675b29833Smrg 238775b29833Smrgcase $enable_silent_rules in # ((( 238875b29833Smrg yes) AM_DEFAULT_VERBOSITY=0;; 238975b29833Smrg no) AM_DEFAULT_VERBOSITY=1;; 239075b29833Smrg *) AM_DEFAULT_VERBOSITY=1;; 239175b29833Smrgesac 239275b29833Smrgam_make=${MAKE-make} 239375b29833Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 239475b29833Smrgprintf %s "checking whether $am_make supports nested variables... " >&6; } 239575b29833Smrgif test ${am_cv_make_support_nested_variables+y} 239675b29833Smrgthen : 239775b29833Smrg printf %s "(cached) " >&6 239875b29833Smrgelse $as_nop 239975b29833Smrg if printf "%s\n" 'TRUE=$(BAR$(V)) 240075b29833SmrgBAR0=false 240175b29833SmrgBAR1=true 240275b29833SmrgV=1 240375b29833Smrgam__doit: 240475b29833Smrg @$(TRUE) 240575b29833Smrg.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 240675b29833Smrg am_cv_make_support_nested_variables=yes 240775b29833Smrgelse 240875b29833Smrg am_cv_make_support_nested_variables=no 240975b29833Smrgfi 241075b29833Smrgfi 241175b29833Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 241275b29833Smrgprintf "%s\n" "$am_cv_make_support_nested_variables" >&6; } 241375b29833Smrgif test $am_cv_make_support_nested_variables = yes; then 241475b29833Smrg AM_V='$(V)' 241575b29833Smrg AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 241675b29833Smrgelse 241775b29833Smrg AM_V=$AM_DEFAULT_VERBOSITY 241875b29833Smrg AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 241975b29833Smrgfi 242075b29833SmrgAM_BACKSLASH='\' 242175b29833Smrg 242275b29833Smrgif test "`cd $srcdir && pwd`" != "`pwd`"; then 242375b29833Smrg # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 242475b29833Smrg # is not polluted with repeated "-I." 242575b29833Smrg am__isrc=' -I$(srcdir)' 242675b29833Smrg # test to see if srcdir already configured 242775b29833Smrg if test -f $srcdir/config.status; then 242875b29833Smrg as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 242975b29833Smrg fi 243075b29833Smrgfi 243175b29833Smrg 243275b29833Smrg# test whether we have cygpath 243375b29833Smrgif test -z "$CYGPATH_W"; then 243475b29833Smrg if (cygpath --version) >/dev/null 2>/dev/null; then 243575b29833Smrg CYGPATH_W='cygpath -w' 243675b29833Smrg else 243775b29833Smrg CYGPATH_W=echo 243875b29833Smrg fi 243975b29833Smrgfi 244075b29833Smrg 244175b29833Smrg 244275b29833Smrg# Define the identity of the package. 244375b29833Smrg PACKAGE='font-misc-cyrillic' 244475b29833Smrg VERSION='1.0.4' 244575b29833Smrg 244675b29833Smrg 244775b29833Smrgprintf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h 244875b29833Smrg 244975b29833Smrg 245075b29833Smrgprintf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h 245175b29833Smrg 245275b29833Smrg# Some tools Automake needs. 245375b29833Smrg 245475b29833SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 245575b29833Smrg 245675b29833Smrg 245775b29833SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 245875b29833Smrg 245975b29833Smrg 246075b29833SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 246175b29833Smrg 246275b29833Smrg 246375b29833SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 246475b29833Smrg 246575b29833Smrg 246675b29833SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 246775b29833Smrg 246875b29833Smrg# For better backward compatibility. To be removed once Automake 1.9.x 246975b29833Smrg# dies out for good. For more background, see: 247075b29833Smrg# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 247175b29833Smrg# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 247275b29833Smrgmkdir_p='$(MKDIR_P)' 247375b29833Smrg 247475b29833Smrg# We need awk for the "check" target (and possibly the TAP driver). The 247575b29833Smrg# system "awk" is bad on some platforms. 247675b29833Smrg# Always define AMTAR for backward compatibility. Yes, it's still used 247775b29833Smrg# in the wild :-( We should find a proper way to deprecate it ... 247875b29833SmrgAMTAR='$${TAR-tar}' 247975b29833Smrg 248075b29833Smrg 248175b29833Smrg# We'll loop over all known methods to create a tar archive until one works. 248275b29833Smrg_am_tools='gnutar pax cpio none' 248375b29833Smrg 248475b29833Smrgam__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 248575b29833Smrg 248675b29833Smrg 248775b29833Smrg 248875b29833Smrg 248975b29833Smrg 249075b29833Smrg# Variables for tags utilities; see am/tags.am 249175b29833Smrgif test -z "$CTAGS"; then 249275b29833Smrg CTAGS=ctags 249375b29833Smrgfi 249475b29833Smrg 249575b29833Smrgif test -z "$ETAGS"; then 249675b29833Smrg ETAGS=etags 249775b29833Smrgfi 249875b29833Smrg 249975b29833Smrgif test -z "$CSCOPE"; then 250075b29833Smrg CSCOPE=cscope 250175b29833Smrgfi 250275b29833Smrg 250375b29833Smrg 250475b29833Smrg 250575b29833Smrg# POSIX will say in a future version that running "rm -f" with no argument 250675b29833Smrg# is OK; and we want to be able to make that assumption in our Makefile 250775b29833Smrg# recipes. So use an aggressive probe to check that the usage we want is 250875b29833Smrg# actually supported "in the wild" to an acceptable degree. 250975b29833Smrg# See automake bug#10828. 251075b29833Smrg# To make any issue more visible, cause the running configure to be aborted 251175b29833Smrg# by default if the 'rm' program in use doesn't match our expectations; the 251275b29833Smrg# user can still override this though. 251375b29833Smrgif rm -f && rm -fr && rm -rf; then : OK; else 251475b29833Smrg cat >&2 <<'END' 251575b29833SmrgOops! 251675b29833Smrg 251775b29833SmrgYour 'rm' program seems unable to run without file operands specified 251875b29833Smrgon the command line, even when the '-f' option is present. This is contrary 251975b29833Smrgto the behaviour of most rm programs out there, and not conforming with 252075b29833Smrgthe upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 252175b29833Smrg 252275b29833SmrgPlease tell bug-automake@gnu.org about your system, including the value 252375b29833Smrgof your $PATH and any error possibly output before this message. This 252475b29833Smrgcan help us improve future automake versions. 252575b29833Smrg 252675b29833SmrgEND 252775b29833Smrg if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 252875b29833Smrg echo 'Configuration will proceed anyway, since you have set the' >&2 252975b29833Smrg echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 253075b29833Smrg echo >&2 253175b29833Smrg else 253275b29833Smrg cat >&2 <<'END' 253375b29833SmrgAborting the configuration process, to ensure you take notice of the issue. 253475b29833Smrg 253575b29833SmrgYou can download and install GNU coreutils to get an 'rm' implementation 253675b29833Smrgthat behaves properly: <https://www.gnu.org/software/coreutils/>. 253775b29833Smrg 253875b29833SmrgIf you want to complete the configuration process using your problematic 253975b29833Smrg'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 254075b29833Smrgto "yes", and re-run configure. 254175b29833Smrg 254275b29833SmrgEND 254375b29833Smrg as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 254475b29833Smrg fi 254575b29833Smrgfi 254675b29833Smrg 254775b29833Smrg 254875b29833Smrg# Require xorg-macros 1.20 or later: XORG_DEFAULT_NOCODE_OPTIONS 254975b29833Smrg 255075b29833Smrg 255175b29833Smrg 255275b29833Smrg 255375b29833Smrg 255475b29833Smrg 255575b29833Smrg 255675b29833Smrg 255775b29833Smrg 255875b29833Smrg 255975b29833Smrg 256075b29833Smrg 256175b29833Smrg 256275b29833Smrg 256375b29833Smrg 256475b29833Smrg 256575b29833Smrg 256675b29833Smrg 256775b29833Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 256875b29833Smrg if test -n "$ac_tool_prefix"; then 256975b29833Smrg # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 257075b29833Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2 257175b29833Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 257275b29833Smrgprintf %s "checking for $ac_word... " >&6; } 257375b29833Smrgif test ${ac_cv_path_PKG_CONFIG+y} 257475b29833Smrgthen : 257575b29833Smrg printf %s "(cached) " >&6 257675b29833Smrgelse $as_nop 257775b29833Smrg case $PKG_CONFIG in 257875b29833Smrg [\\/]* | ?:[\\/]*) 257975b29833Smrg ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 258075b29833Smrg ;; 258175b29833Smrg *) 258275b29833Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 258375b29833Smrgfor as_dir in $PATH 258475b29833Smrgdo 258575b29833Smrg IFS=$as_save_IFS 258675b29833Smrg case $as_dir in #((( 258775b29833Smrg '') as_dir=./ ;; 258875b29833Smrg */) ;; 258975b29833Smrg *) as_dir=$as_dir/ ;; 259075b29833Smrg esac 259175b29833Smrg for ac_exec_ext in '' $ac_executable_extensions; do 259275b29833Smrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 259375b29833Smrg ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" 259475b29833Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 259575b29833Smrg break 2 259675b29833Smrg fi 259775b29833Smrgdone 259875b29833Smrg done 259975b29833SmrgIFS=$as_save_IFS 260075b29833Smrg 260175b29833Smrg ;; 260275b29833Smrgesac 260375b29833Smrgfi 260475b29833SmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG 260575b29833Smrgif test -n "$PKG_CONFIG"; then 260675b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 260775b29833Smrgprintf "%s\n" "$PKG_CONFIG" >&6; } 260875b29833Smrgelse 260975b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 261075b29833Smrgprintf "%s\n" "no" >&6; } 261175b29833Smrgfi 261275b29833Smrg 261375b29833Smrg 261475b29833Smrgfi 261575b29833Smrgif test -z "$ac_cv_path_PKG_CONFIG"; then 261675b29833Smrg ac_pt_PKG_CONFIG=$PKG_CONFIG 261775b29833Smrg # Extract the first word of "pkg-config", so it can be a program name with args. 261875b29833Smrgset dummy pkg-config; ac_word=$2 261975b29833Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 262075b29833Smrgprintf %s "checking for $ac_word... " >&6; } 262175b29833Smrgif test ${ac_cv_path_ac_pt_PKG_CONFIG+y} 262275b29833Smrgthen : 262375b29833Smrg printf %s "(cached) " >&6 262475b29833Smrgelse $as_nop 262575b29833Smrg case $ac_pt_PKG_CONFIG in 262675b29833Smrg [\\/]* | ?:[\\/]*) 262775b29833Smrg ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 262875b29833Smrg ;; 262975b29833Smrg *) 263075b29833Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 263175b29833Smrgfor as_dir in $PATH 263275b29833Smrgdo 263375b29833Smrg IFS=$as_save_IFS 263475b29833Smrg case $as_dir in #((( 263575b29833Smrg '') as_dir=./ ;; 263675b29833Smrg */) ;; 263775b29833Smrg *) as_dir=$as_dir/ ;; 263875b29833Smrg esac 263975b29833Smrg for ac_exec_ext in '' $ac_executable_extensions; do 264075b29833Smrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 264175b29833Smrg ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" 264275b29833Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 264375b29833Smrg break 2 264475b29833Smrg fi 264575b29833Smrgdone 264675b29833Smrg done 264775b29833SmrgIFS=$as_save_IFS 264875b29833Smrg 264975b29833Smrg ;; 265075b29833Smrgesac 265175b29833Smrgfi 265275b29833Smrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 265375b29833Smrgif test -n "$ac_pt_PKG_CONFIG"; then 265475b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 265575b29833Smrgprintf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } 265675b29833Smrgelse 265775b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 265875b29833Smrgprintf "%s\n" "no" >&6; } 265975b29833Smrgfi 266075b29833Smrg 266175b29833Smrg if test "x$ac_pt_PKG_CONFIG" = x; then 266275b29833Smrg PKG_CONFIG="" 266375b29833Smrg else 266475b29833Smrg case $cross_compiling:$ac_tool_warned in 266575b29833Smrgyes:) 266675b29833Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 266775b29833Smrgprintf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 266875b29833Smrgac_tool_warned=yes ;; 266975b29833Smrgesac 267075b29833Smrg PKG_CONFIG=$ac_pt_PKG_CONFIG 267175b29833Smrg fi 267275b29833Smrgelse 267375b29833Smrg PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 267475b29833Smrgfi 267575b29833Smrg 267675b29833Smrgfi 267775b29833Smrgif test -n "$PKG_CONFIG"; then 267875b29833Smrg _pkg_min_version=0.9.0 267975b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 268075b29833Smrgprintf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; } 268175b29833Smrg if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 268275b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 268375b29833Smrgprintf "%s\n" "yes" >&6; } 268475b29833Smrg else 268575b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 268675b29833Smrgprintf "%s\n" "no" >&6; } 268775b29833Smrg PKG_CONFIG="" 268875b29833Smrg fi 268975b29833Smrgfi 269075b29833Smrg 269175b29833Smrg 269275b29833Smrg # Make sure we can run config.sub. 269375b29833Smrg$SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 || 269475b29833Smrg as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5 269575b29833Smrg 269675b29833Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 269775b29833Smrgprintf %s "checking build system type... " >&6; } 269875b29833Smrgif test ${ac_cv_build+y} 269975b29833Smrgthen : 270075b29833Smrg printf %s "(cached) " >&6 270175b29833Smrgelse $as_nop 270275b29833Smrg ac_build_alias=$build_alias 270375b29833Smrgtest "x$ac_build_alias" = x && 270475b29833Smrg ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"` 270575b29833Smrgtest "x$ac_build_alias" = x && 270675b29833Smrg as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 270775b29833Smrgac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` || 270875b29833Smrg as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5 270975b29833Smrg 271075b29833Smrgfi 271175b29833Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 271275b29833Smrgprintf "%s\n" "$ac_cv_build" >&6; } 271375b29833Smrgcase $ac_cv_build in 271475b29833Smrg*-*-*) ;; 271575b29833Smrg*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 271675b29833Smrgesac 271775b29833Smrgbuild=$ac_cv_build 271875b29833Smrgac_save_IFS=$IFS; IFS='-' 271975b29833Smrgset x $ac_cv_build 272075b29833Smrgshift 272175b29833Smrgbuild_cpu=$1 272275b29833Smrgbuild_vendor=$2 272375b29833Smrgshift; shift 272475b29833Smrg# Remember, the first character of IFS is used to create $*, 272575b29833Smrg# except with old shells: 272675b29833Smrgbuild_os=$* 272775b29833SmrgIFS=$ac_save_IFS 272875b29833Smrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 272975b29833Smrg 273075b29833Smrg 273175b29833Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 273275b29833Smrgprintf %s "checking host system type... " >&6; } 273375b29833Smrgif test ${ac_cv_host+y} 273475b29833Smrgthen : 273575b29833Smrg printf %s "(cached) " >&6 273675b29833Smrgelse $as_nop 273775b29833Smrg if test "x$host_alias" = x; then 273875b29833Smrg ac_cv_host=$ac_cv_build 273975b29833Smrgelse 274075b29833Smrg ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` || 274175b29833Smrg as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5 274275b29833Smrgfi 274375b29833Smrg 274475b29833Smrgfi 274575b29833Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 274675b29833Smrgprintf "%s\n" "$ac_cv_host" >&6; } 274775b29833Smrgcase $ac_cv_host in 274875b29833Smrg*-*-*) ;; 274975b29833Smrg*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 275075b29833Smrgesac 275175b29833Smrghost=$ac_cv_host 275275b29833Smrgac_save_IFS=$IFS; IFS='-' 275375b29833Smrgset x $ac_cv_host 275475b29833Smrgshift 275575b29833Smrghost_cpu=$1 275675b29833Smrghost_vendor=$2 275775b29833Smrgshift; shift 275875b29833Smrg# Remember, the first character of IFS is used to create $*, 275975b29833Smrg# except with old shells: 276075b29833Smrghost_os=$* 276175b29833SmrgIFS=$ac_save_IFS 276275b29833Smrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 276375b29833Smrg 276475b29833Smrg 276575b29833Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 276675b29833Smrgprintf %s "checking for a sed that does not truncate output... " >&6; } 276775b29833Smrgif test ${ac_cv_path_SED+y} 276875b29833Smrgthen : 276975b29833Smrg printf %s "(cached) " >&6 277075b29833Smrgelse $as_nop 277175b29833Smrg ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 277275b29833Smrg for ac_i in 1 2 3 4 5 6 7; do 277375b29833Smrg ac_script="$ac_script$as_nl$ac_script" 277475b29833Smrg done 277575b29833Smrg echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 277675b29833Smrg { ac_script=; unset ac_script;} 277775b29833Smrg if test -z "$SED"; then 277875b29833Smrg ac_path_SED_found=false 277975b29833Smrg # Loop through the user's path and test for each of PROGNAME-LIST 278075b29833Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 278175b29833Smrgfor as_dir in $PATH 278275b29833Smrgdo 278375b29833Smrg IFS=$as_save_IFS 278475b29833Smrg case $as_dir in #((( 278575b29833Smrg '') as_dir=./ ;; 278675b29833Smrg */) ;; 278775b29833Smrg *) as_dir=$as_dir/ ;; 278875b29833Smrg esac 278975b29833Smrg for ac_prog in sed gsed 279075b29833Smrg do 279175b29833Smrg for ac_exec_ext in '' $ac_executable_extensions; do 279275b29833Smrg ac_path_SED="$as_dir$ac_prog$ac_exec_ext" 279375b29833Smrg as_fn_executable_p "$ac_path_SED" || continue 279475b29833Smrg# Check for GNU ac_path_SED and select it if it is found. 279575b29833Smrg # Check for GNU $ac_path_SED 279675b29833Smrgcase `"$ac_path_SED" --version 2>&1` in 279775b29833Smrg*GNU*) 279875b29833Smrg ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 279975b29833Smrg*) 280075b29833Smrg ac_count=0 280175b29833Smrg printf %s 0123456789 >"conftest.in" 280275b29833Smrg while : 280375b29833Smrg do 280475b29833Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 280575b29833Smrg mv "conftest.tmp" "conftest.in" 280675b29833Smrg cp "conftest.in" "conftest.nl" 280775b29833Smrg printf "%s\n" '' >> "conftest.nl" 280875b29833Smrg "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 280975b29833Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 281075b29833Smrg as_fn_arith $ac_count + 1 && ac_count=$as_val 281175b29833Smrg if test $ac_count -gt ${ac_path_SED_max-0}; then 281275b29833Smrg # Best one so far, save it but keep looking for a better one 281375b29833Smrg ac_cv_path_SED="$ac_path_SED" 281475b29833Smrg ac_path_SED_max=$ac_count 281575b29833Smrg fi 281675b29833Smrg # 10*(2^10) chars as input seems more than enough 281775b29833Smrg test $ac_count -gt 10 && break 281875b29833Smrg done 281975b29833Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 282075b29833Smrgesac 282175b29833Smrg 282275b29833Smrg $ac_path_SED_found && break 3 282375b29833Smrg done 282475b29833Smrg done 282575b29833Smrg done 282675b29833SmrgIFS=$as_save_IFS 282775b29833Smrg if test -z "$ac_cv_path_SED"; then 282875b29833Smrg as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 282975b29833Smrg fi 283075b29833Smrgelse 283175b29833Smrg ac_cv_path_SED=$SED 283275b29833Smrgfi 283375b29833Smrg 283475b29833Smrgfi 283575b29833Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 283675b29833Smrgprintf "%s\n" "$ac_cv_path_SED" >&6; } 283775b29833Smrg SED="$ac_cv_path_SED" 283875b29833Smrg rm -f conftest.sed 283975b29833Smrg 284075b29833Smrg 284175b29833Smrg 284275b29833Smrg 284375b29833Smrg 284475b29833Smrgcat >>confdefs.h <<_ACEOF 284575b29833Smrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 284675b29833Smrg_ACEOF 284775b29833Smrg 284875b29833Smrg PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 284975b29833Smrg if test "x$PVM" = "x"; then 285075b29833Smrg PVM="0" 285175b29833Smrg fi 285275b29833Smrg 285375b29833Smrgprintf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h 285475b29833Smrg 285575b29833Smrg PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 285675b29833Smrg if test "x$PVP" = "x"; then 285775b29833Smrg PVP="0" 285875b29833Smrg fi 285975b29833Smrg 286075b29833Smrgprintf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h 286175b29833Smrg 286275b29833Smrg 286375b29833Smrg 286475b29833SmrgCHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \ 286575b29833Smrgmv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \ 286675b29833Smrg|| (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \ 286775b29833Smrgtouch \$(top_srcdir)/ChangeLog; \ 286875b29833Smrgecho 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))" 286975b29833Smrg 287075b29833Smrg 287175b29833Smrg 287275b29833Smrg 287375b29833Smrgmacros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros` 287475b29833SmrgINSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \ 287575b29833Smrgmv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \ 287675b29833Smrg|| (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \ 287775b29833Smrgtouch \$(top_srcdir)/INSTALL; \ 287875b29833Smrgecho 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))" 287975b29833Smrg 288075b29833Smrg 288175b29833Smrg 288275b29833Smrg 288375b29833Smrg 288475b29833Smrg 288575b29833Smrgcase $host_os in 288675b29833Smrg solaris*) 288775b29833Smrg # Solaris 2.0 - 11.3 use SysV man page section numbers, so we 288875b29833Smrg # check for a man page file found in later versions that use 288975b29833Smrg # traditional section numbers instead 289075b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5 289175b29833Smrgprintf %s "checking for /usr/share/man/man7/attributes.7... " >&6; } 289275b29833Smrgif test ${ac_cv_file__usr_share_man_man7_attributes_7+y} 289375b29833Smrgthen : 289475b29833Smrg printf %s "(cached) " >&6 289575b29833Smrgelse $as_nop 289675b29833Smrg test "$cross_compiling" = yes && 289775b29833Smrg as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 289875b29833Smrgif test -r "/usr/share/man/man7/attributes.7"; then 289975b29833Smrg ac_cv_file__usr_share_man_man7_attributes_7=yes 290075b29833Smrgelse 290175b29833Smrg ac_cv_file__usr_share_man_man7_attributes_7=no 290275b29833Smrgfi 290375b29833Smrgfi 290475b29833Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5 290575b29833Smrgprintf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; } 290675b29833Smrgif test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes 290775b29833Smrgthen : 290875b29833Smrg SYSV_MAN_SECTIONS=false 290975b29833Smrgelse $as_nop 291075b29833Smrg SYSV_MAN_SECTIONS=true 291175b29833Smrgfi 291275b29833Smrg 291375b29833Smrg ;; 291475b29833Smrg *) SYSV_MAN_SECTIONS=false ;; 291575b29833Smrgesac 291675b29833Smrg 291775b29833Smrgif test x$APP_MAN_SUFFIX = x ; then 291875b29833Smrg APP_MAN_SUFFIX=1 291975b29833Smrgfi 292075b29833Smrgif test x$APP_MAN_DIR = x ; then 292175b29833Smrg APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 292275b29833Smrgfi 292375b29833Smrg 292475b29833Smrgif test x$LIB_MAN_SUFFIX = x ; then 292575b29833Smrg LIB_MAN_SUFFIX=3 292675b29833Smrgfi 292775b29833Smrgif test x$LIB_MAN_DIR = x ; then 292875b29833Smrg LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 292975b29833Smrgfi 293075b29833Smrg 293175b29833Smrgif test x$FILE_MAN_SUFFIX = x ; then 293275b29833Smrg case $SYSV_MAN_SECTIONS in 293375b29833Smrg true) FILE_MAN_SUFFIX=4 ;; 293475b29833Smrg *) FILE_MAN_SUFFIX=5 ;; 293575b29833Smrg esac 293675b29833Smrgfi 293775b29833Smrgif test x$FILE_MAN_DIR = x ; then 293875b29833Smrg FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 293975b29833Smrgfi 294075b29833Smrg 294175b29833Smrgif test x$MISC_MAN_SUFFIX = x ; then 294275b29833Smrg case $SYSV_MAN_SECTIONS in 294375b29833Smrg true) MISC_MAN_SUFFIX=5 ;; 294475b29833Smrg *) MISC_MAN_SUFFIX=7 ;; 294575b29833Smrg esac 294675b29833Smrgfi 294775b29833Smrgif test x$MISC_MAN_DIR = x ; then 294875b29833Smrg MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 294975b29833Smrgfi 295075b29833Smrg 295175b29833Smrgif test x$DRIVER_MAN_SUFFIX = x ; then 295275b29833Smrg case $SYSV_MAN_SECTIONS in 295375b29833Smrg true) DRIVER_MAN_SUFFIX=7 ;; 295475b29833Smrg *) DRIVER_MAN_SUFFIX=4 ;; 295575b29833Smrg esac 295675b29833Smrgfi 295775b29833Smrgif test x$DRIVER_MAN_DIR = x ; then 295875b29833Smrg DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 295975b29833Smrgfi 296075b29833Smrg 296175b29833Smrgif test x$ADMIN_MAN_SUFFIX = x ; then 296275b29833Smrg case $SYSV_MAN_SECTIONS in 296375b29833Smrg true) ADMIN_MAN_SUFFIX=1m ;; 296475b29833Smrg *) ADMIN_MAN_SUFFIX=8 ;; 296575b29833Smrg esac 296675b29833Smrgfi 296775b29833Smrgif test x$ADMIN_MAN_DIR = x ; then 296875b29833Smrg ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 296975b29833Smrgfi 297075b29833Smrg 297175b29833Smrg 297275b29833Smrg 297375b29833Smrg 297475b29833Smrg 297575b29833Smrg 297675b29833Smrg 297775b29833Smrg 297875b29833Smrg 297975b29833Smrg 298075b29833Smrg 298175b29833Smrg 298275b29833Smrg 298375b29833Smrg 298475b29833Smrg 298575b29833SmrgXORG_MAN_PAGE="X Version 11" 298675b29833Smrg 298775b29833SmrgMAN_SUBSTS="\ 298875b29833Smrg -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 298975b29833Smrg -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 299075b29833Smrg -e 's|__xservername__|Xorg|g' \ 299175b29833Smrg -e 's|__xconfigfile__|xorg.conf|g' \ 299275b29833Smrg -e 's|__projectroot__|\$(prefix)|g' \ 299375b29833Smrg -e 's|__apploaddir__|\$(appdefaultdir)|g' \ 299475b29833Smrg -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \ 299575b29833Smrg -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \ 299675b29833Smrg -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \ 299775b29833Smrg -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \ 299875b29833Smrg -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \ 299975b29833Smrg -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'" 300075b29833Smrg 300175b29833Smrg 300275b29833Smrg 300375b29833Smrg# Check whether --enable-silent-rules was given. 300475b29833Smrgif test ${enable_silent_rules+y} 300575b29833Smrgthen : 300675b29833Smrg enableval=$enable_silent_rules; 300775b29833Smrgfi 300875b29833Smrg 300975b29833Smrgcase $enable_silent_rules in # ((( 301075b29833Smrg yes) AM_DEFAULT_VERBOSITY=0;; 301175b29833Smrg no) AM_DEFAULT_VERBOSITY=1;; 301275b29833Smrg *) AM_DEFAULT_VERBOSITY=0;; 301375b29833Smrgesac 301475b29833Smrgam_make=${MAKE-make} 301575b29833Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 301675b29833Smrgprintf %s "checking whether $am_make supports nested variables... " >&6; } 301775b29833Smrgif test ${am_cv_make_support_nested_variables+y} 301875b29833Smrgthen : 301975b29833Smrg printf %s "(cached) " >&6 302075b29833Smrgelse $as_nop 302175b29833Smrg if printf "%s\n" 'TRUE=$(BAR$(V)) 302275b29833SmrgBAR0=false 302375b29833SmrgBAR1=true 302475b29833SmrgV=1 302575b29833Smrgam__doit: 302675b29833Smrg @$(TRUE) 302775b29833Smrg.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 302875b29833Smrg am_cv_make_support_nested_variables=yes 302975b29833Smrgelse 303075b29833Smrg am_cv_make_support_nested_variables=no 303175b29833Smrgfi 303275b29833Smrgfi 303375b29833Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 303475b29833Smrgprintf "%s\n" "$am_cv_make_support_nested_variables" >&6; } 303575b29833Smrgif test $am_cv_make_support_nested_variables = yes; then 303675b29833Smrg AM_V='$(V)' 303775b29833Smrg AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 303875b29833Smrgelse 303975b29833Smrg AM_V=$AM_DEFAULT_VERBOSITY 304075b29833Smrg AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 304175b29833Smrgfi 304275b29833SmrgAM_BACKSLASH='\' 304375b29833Smrg 304475b29833Smrg 304575b29833Smrg 304675b29833Smrg# Require X.Org's font util macros 1.4 or later for COMPRESS_FLAGS 304775b29833Smrg 304875b29833Smrg 304975b29833Smrg 305075b29833Smrg 305175b29833Smrg 305275b29833Smrg 305375b29833Smrg 305475b29833Smrg 305575b29833Smrg 305675b29833Smrg 305775b29833Smrg 305875b29833Smrg 305975b29833Smrg 306075b29833Smrg 306175b29833Smrg 306275b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for root directory for font files" >&5 306375b29833Smrgprintf %s "checking for root directory for font files... " >&6; } 306475b29833Smrg 306575b29833Smrg# Check whether --with-fontrootdir was given. 306675b29833Smrgif test ${with_fontrootdir+y} 306775b29833Smrgthen : 306875b29833Smrg withval=$with_fontrootdir; FONTROOTDIR="$withval" 306975b29833Smrgfi 307075b29833Smrg 307175b29833Smrg # if --with-fontrootdir not specified... 307275b29833Smrg if test "x${FONTROOTDIR}" = "x"; then 307375b29833Smrg FONTROOTDIR=`$PKG_CONFIG --variable=fontrootdir fontutil` 307475b29833Smrg fi 307575b29833Smrg # ...and if pkg-config didn't find fontdir in fontutil.pc... 307675b29833Smrg if test "x${FONTROOTDIR}" = "x"; then 307775b29833Smrg FONTROOTDIR="${datadir}/fonts/X11" 307875b29833Smrg fi 307975b29833Smrg 308075b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${FONTROOTDIR}" >&5 308175b29833Smrgprintf "%s\n" "${FONTROOTDIR}" >&6; } 308275b29833Smrg 308375b29833Smrg 308475b29833Smrg 308575b29833Smrg 308675b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for directory for cyrillic files" >&5 308775b29833Smrgprintf %s "checking for directory for cyrillic files... " >&6; } 308875b29833Smrg 308975b29833Smrg# Check whether --with-fontdir was given. 309075b29833Smrgif test ${with_fontdir+y} 309175b29833Smrgthen : 309275b29833Smrg withval=$with_fontdir; FONTDIR="${withval}" 309375b29833Smrgelse $as_nop 309475b29833Smrg FONTDIR='${FONTROOTDIR}/cyrillic' 309575b29833Smrgfi 309675b29833Smrg 309775b29833Smrg 309875b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${FONTDIR}" >&5 309975b29833Smrgprintf "%s\n" "${FONTDIR}" >&6; } 310075b29833Smrg 310175b29833Smrg 310275b29833Smrg 310375b29833Smrg 310475b29833Smrg # Extract the first word of "fc-cache", so it can be a program name with args. 310575b29833Smrgset dummy fc-cache; ac_word=$2 310675b29833Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 310775b29833Smrgprintf %s "checking for $ac_word... " >&6; } 310875b29833Smrgif test ${ac_cv_path_FCCACHE+y} 310975b29833Smrgthen : 311075b29833Smrg printf %s "(cached) " >&6 311175b29833Smrgelse $as_nop 311275b29833Smrg case $FCCACHE in 311375b29833Smrg [\\/]* | ?:[\\/]*) 311475b29833Smrg ac_cv_path_FCCACHE="$FCCACHE" # Let the user override the test with a path. 311575b29833Smrg ;; 311675b29833Smrg *) 311775b29833Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 311875b29833Smrgfor as_dir in $PATH 311975b29833Smrgdo 312075b29833Smrg IFS=$as_save_IFS 312175b29833Smrg case $as_dir in #((( 312275b29833Smrg '') as_dir=./ ;; 312375b29833Smrg */) ;; 312475b29833Smrg *) as_dir=$as_dir/ ;; 312575b29833Smrg esac 312675b29833Smrg for ac_exec_ext in '' $ac_executable_extensions; do 312775b29833Smrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 312875b29833Smrg ac_cv_path_FCCACHE="$as_dir$ac_word$ac_exec_ext" 312975b29833Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 313075b29833Smrg break 2 313175b29833Smrg fi 313275b29833Smrgdone 313375b29833Smrg done 313475b29833SmrgIFS=$as_save_IFS 313575b29833Smrg 313675b29833Smrg ;; 313775b29833Smrgesac 313875b29833Smrgfi 313975b29833SmrgFCCACHE=$ac_cv_path_FCCACHE 314075b29833Smrgif test -n "$FCCACHE"; then 314175b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FCCACHE" >&5 314275b29833Smrgprintf "%s\n" "$FCCACHE" >&6; } 314375b29833Smrgelse 314475b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 314575b29833Smrgprintf "%s\n" "no" >&6; } 314675b29833Smrgfi 314775b29833Smrg 314875b29833Smrg 314975b29833Smrg FCCACHE_WARN='echo "** Warning: fonts.cache not built" ; echo "** Generate this file manually on host system using fc-cache"' 315075b29833Smrg if test x"$FCCACHE" = x || test x"$cross_compiling" != x"no" ; then 315175b29833Smrg RUN_FCCACHE="${FCCACHE_WARN}" 315275b29833Smrg else 315375b29833Smrg RUN_FCCACHE='@(if test -z "$(DESTDIR)"; then echo $(FCCACHE) $(fontdir); $(FCCACHE) $(fontdir); else' 315475b29833Smrg RUN_FCCACHE="${RUN_FCCACHE} ${FCCACHE_WARN} ; fi)" 315575b29833Smrg fi 315675b29833Smrg 315775b29833Smrg 315875b29833Smrg 315975b29833Smrg if test x"$cross_compiling" != x"no" ; then 316075b29833Smrg # Extract the first word of "mkfontdir", so it can be a program name with args. 316175b29833Smrgset dummy mkfontdir; ac_word=$2 316275b29833Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 316375b29833Smrgprintf %s "checking for $ac_word... " >&6; } 316475b29833Smrgif test ${ac_cv_path_MKFONTDIR+y} 316575b29833Smrgthen : 316675b29833Smrg printf %s "(cached) " >&6 316775b29833Smrgelse $as_nop 316875b29833Smrg case $MKFONTDIR in 316975b29833Smrg [\\/]* | ?:[\\/]*) 317075b29833Smrg ac_cv_path_MKFONTDIR="$MKFONTDIR" # Let the user override the test with a path. 317175b29833Smrg ;; 317275b29833Smrg *) 317375b29833Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 317475b29833Smrgfor as_dir in $PATH 317575b29833Smrgdo 317675b29833Smrg IFS=$as_save_IFS 317775b29833Smrg case $as_dir in #((( 317875b29833Smrg '') as_dir=./ ;; 317975b29833Smrg */) ;; 318075b29833Smrg *) as_dir=$as_dir/ ;; 318175b29833Smrg esac 318275b29833Smrg for ac_exec_ext in '' $ac_executable_extensions; do 318375b29833Smrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 318475b29833Smrg ac_cv_path_MKFONTDIR="$as_dir$ac_word$ac_exec_ext" 318575b29833Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 318675b29833Smrg break 2 318775b29833Smrg fi 318875b29833Smrgdone 318975b29833Smrg done 319075b29833SmrgIFS=$as_save_IFS 319175b29833Smrg 319275b29833Smrg test -z "$ac_cv_path_MKFONTDIR" && ac_cv_path_MKFONTDIR="""" 319375b29833Smrg ;; 319475b29833Smrgesac 319575b29833Smrgfi 319675b29833SmrgMKFONTDIR=$ac_cv_path_MKFONTDIR 319775b29833Smrgif test -n "$MKFONTDIR"; then 319875b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKFONTDIR" >&5 319975b29833Smrgprintf "%s\n" "$MKFONTDIR" >&6; } 320075b29833Smrgelse 320175b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 320275b29833Smrgprintf "%s\n" "no" >&6; } 320375b29833Smrgfi 320475b29833Smrg 320575b29833Smrg 320675b29833Smrg MKFONTDIR_WARN='echo "** Warning: mkfontdir not run" ; echo "** Run mkfontdir manually on host system"' 320775b29833Smrg 320875b29833Smrg if test x"$MKFONTDIR" = x; then 320975b29833Smrg MKFONTDIR="${MKFONTDIR_WARN} ; echo '** mkfontdir'" 321075b29833Smrg fi 321175b29833Smrg else 321275b29833Smrg 321375b29833Smrg # Extract the first word of "mkfontdir", so it can be a program name with args. 321475b29833Smrgset dummy mkfontdir; ac_word=$2 321575b29833Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 321675b29833Smrgprintf %s "checking for $ac_word... " >&6; } 321775b29833Smrgif test ${ac_cv_path_MKFONTDIR+y} 321875b29833Smrgthen : 321975b29833Smrg printf %s "(cached) " >&6 322075b29833Smrgelse $as_nop 322175b29833Smrg case $MKFONTDIR in 322275b29833Smrg [\\/]* | ?:[\\/]*) 322375b29833Smrg ac_cv_path_MKFONTDIR="$MKFONTDIR" # Let the user override the test with a path. 322475b29833Smrg ;; 322575b29833Smrg *) 322675b29833Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 322775b29833Smrgfor as_dir in $PATH 322875b29833Smrgdo 322975b29833Smrg IFS=$as_save_IFS 323075b29833Smrg case $as_dir in #((( 323175b29833Smrg '') as_dir=./ ;; 323275b29833Smrg */) ;; 323375b29833Smrg *) as_dir=$as_dir/ ;; 323475b29833Smrg esac 323575b29833Smrg for ac_exec_ext in '' $ac_executable_extensions; do 323675b29833Smrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 323775b29833Smrg ac_cv_path_MKFONTDIR="$as_dir$ac_word$ac_exec_ext" 323875b29833Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 323975b29833Smrg break 2 324075b29833Smrg fi 324175b29833Smrgdone 324275b29833Smrg done 324375b29833SmrgIFS=$as_save_IFS 324475b29833Smrg 324575b29833Smrg ;; 324675b29833Smrgesac 324775b29833Smrgfi 324875b29833SmrgMKFONTDIR=$ac_cv_path_MKFONTDIR 324975b29833Smrgif test -n "$MKFONTDIR"; then 325075b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKFONTDIR" >&5 325175b29833Smrgprintf "%s\n" "$MKFONTDIR" >&6; } 325275b29833Smrgelse 325375b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 325475b29833Smrgprintf "%s\n" "no" >&6; } 325575b29833Smrgfi 325675b29833Smrg 325775b29833Smrg 325875b29833Smrg if test x"$MKFONTDIR" = x; then 325975b29833Smrg as_fn_error $? "mkfontdir is required to build $PACKAGE_NAME." "$LINENO" 5 326075b29833Smrg fi 326175b29833Smrg 326275b29833Smrg fi 326375b29833Smrg 326475b29833Smrg 326575b29833Smrg 326675b29833Smrg 326775b29833Smrg 326875b29833Smrg # Extract the first word of "bdftopcf", so it can be a program name with args. 326975b29833Smrgset dummy bdftopcf; ac_word=$2 327075b29833Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 327175b29833Smrgprintf %s "checking for $ac_word... " >&6; } 327275b29833Smrgif test ${ac_cv_path_BDFTOPCF+y} 327375b29833Smrgthen : 327475b29833Smrg printf %s "(cached) " >&6 327575b29833Smrgelse $as_nop 327675b29833Smrg case $BDFTOPCF in 327775b29833Smrg [\\/]* | ?:[\\/]*) 327875b29833Smrg ac_cv_path_BDFTOPCF="$BDFTOPCF" # Let the user override the test with a path. 327975b29833Smrg ;; 328075b29833Smrg *) 328175b29833Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 328275b29833Smrgfor as_dir in $PATH 328375b29833Smrgdo 328475b29833Smrg IFS=$as_save_IFS 328575b29833Smrg case $as_dir in #((( 328675b29833Smrg '') as_dir=./ ;; 328775b29833Smrg */) ;; 328875b29833Smrg *) as_dir=$as_dir/ ;; 328975b29833Smrg esac 329075b29833Smrg for ac_exec_ext in '' $ac_executable_extensions; do 329175b29833Smrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 329275b29833Smrg ac_cv_path_BDFTOPCF="$as_dir$ac_word$ac_exec_ext" 329375b29833Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 329475b29833Smrg break 2 329575b29833Smrg fi 329675b29833Smrgdone 329775b29833Smrg done 329875b29833SmrgIFS=$as_save_IFS 329975b29833Smrg 330075b29833Smrg ;; 330175b29833Smrgesac 330275b29833Smrgfi 330375b29833SmrgBDFTOPCF=$ac_cv_path_BDFTOPCF 330475b29833Smrgif test -n "$BDFTOPCF"; then 330575b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BDFTOPCF" >&5 330675b29833Smrgprintf "%s\n" "$BDFTOPCF" >&6; } 330775b29833Smrgelse 330875b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 330975b29833Smrgprintf "%s\n" "no" >&6; } 331075b29833Smrgfi 331175b29833Smrg 331275b29833Smrg 331375b29833Smrg if test x"$BDFTOPCF" = x; then 331475b29833Smrg as_fn_error $? "bdftopcf is required to build $PACKAGE_NAME." "$LINENO" 5 331575b29833Smrg fi 331675b29833Smrg 331775b29833Smrg 331875b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking font compression method" >&5 331975b29833Smrgprintf %s "checking font compression method... " >&6; } 332075b29833Smrg 332175b29833Smrg# Check whether --with-compression was given. 332275b29833Smrgif test ${with_compression+y} 332375b29833Smrgthen : 332475b29833Smrg withval=$with_compression; compression="$withval" 332575b29833Smrgelse $as_nop 332675b29833Smrg compression="yes" 332775b29833Smrgfi 332875b29833Smrg 332975b29833Smrg if test x"$compression" = "xyes" ; then 333075b29833Smrg compression="gzip" 333175b29833Smrg fi 333275b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${compression}" >&5 333375b29833Smrgprintf "%s\n" "${compression}" >&6; } 333475b29833Smrg case ${compression} in 333575b29833Smrg *compress) COMPRESS_SUFFIX=".Z" ;; 333675b29833Smrg *gzip) COMPRESS_SUFFIX=".gz" ; 333775b29833Smrg COMPRESS_FLAGS="${COMPRESS_FLAGS--n}" ;; 333875b29833Smrg *bzip2) COMPRESS_SUFFIX=".bz2" ;; 333975b29833Smrg no|none) COMPRESS_SUFFIX="" ; COMPRESS="cat" ;; 334075b29833Smrg *) as_fn_error $? "${compression} is not a supported compression method" "$LINENO" 5 ;; 334175b29833Smrg esac 334275b29833Smrg if test x"$COMPRESS_SUFFIX" != "x" ; then 334375b29833Smrg 334475b29833Smrg # Extract the first word of "${compression}", so it can be a program name with args. 334575b29833Smrgset dummy ${compression}; ac_word=$2 334675b29833Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 334775b29833Smrgprintf %s "checking for $ac_word... " >&6; } 334875b29833Smrgif test ${ac_cv_path_COMPRESS+y} 334975b29833Smrgthen : 335075b29833Smrg printf %s "(cached) " >&6 335175b29833Smrgelse $as_nop 335275b29833Smrg case $COMPRESS in 335375b29833Smrg [\\/]* | ?:[\\/]*) 335475b29833Smrg ac_cv_path_COMPRESS="$COMPRESS" # Let the user override the test with a path. 335575b29833Smrg ;; 335675b29833Smrg *) 335775b29833Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 335875b29833Smrgfor as_dir in $PATH 335975b29833Smrgdo 336075b29833Smrg IFS=$as_save_IFS 336175b29833Smrg case $as_dir in #((( 336275b29833Smrg '') as_dir=./ ;; 336375b29833Smrg */) ;; 336475b29833Smrg *) as_dir=$as_dir/ ;; 336575b29833Smrg esac 336675b29833Smrg for ac_exec_ext in '' $ac_executable_extensions; do 336775b29833Smrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 336875b29833Smrg ac_cv_path_COMPRESS="$as_dir$ac_word$ac_exec_ext" 336975b29833Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 337075b29833Smrg break 2 337175b29833Smrg fi 337275b29833Smrgdone 337375b29833Smrg done 337475b29833SmrgIFS=$as_save_IFS 337575b29833Smrg 337675b29833Smrg ;; 337775b29833Smrgesac 337875b29833Smrgfi 337975b29833SmrgCOMPRESS=$ac_cv_path_COMPRESS 338075b29833Smrgif test -n "$COMPRESS"; then 338175b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $COMPRESS" >&5 338275b29833Smrgprintf "%s\n" "$COMPRESS" >&6; } 338375b29833Smrgelse 338475b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 338575b29833Smrgprintf "%s\n" "no" >&6; } 338675b29833Smrgfi 338775b29833Smrg 338875b29833Smrg 338975b29833Smrg if test x"$COMPRESS" = x; then 339075b29833Smrg as_fn_error $? "${compression} is required to build $PACKAGE_NAME." "$LINENO" 5 339175b29833Smrg fi 339275b29833Smrg 339375b29833Smrg fi 339475b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking options to font compression command" >&5 339575b29833Smrgprintf %s "checking options to font compression command... " >&6; } 339675b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${COMPRESS_FLAGS:-none}" >&5 339775b29833Smrgprintf "%s\n" "${COMPRESS_FLAGS:-none}" >&6; } 339875b29833Smrg 339975b29833Smrg 340075b29833Smrg 340175b29833Smrg 340275b29833Smrg 340375b29833Smrgac_config_files="$ac_config_files Makefile" 340475b29833Smrg 340575b29833Smrgcat >confcache <<\_ACEOF 340675b29833Smrg# This file is a shell script that caches the results of configure 340775b29833Smrg# tests run on this system so they can be shared between configure 340875b29833Smrg# scripts and configure runs, see configure's option --config-cache. 340975b29833Smrg# It is not useful on other systems. If it contains results you don't 341075b29833Smrg# want to keep, you may remove or edit it. 341175b29833Smrg# 341275b29833Smrg# config.status only pays attention to the cache file if you give it 341375b29833Smrg# the --recheck option to rerun configure. 341475b29833Smrg# 341575b29833Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when 341675b29833Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the 341775b29833Smrg# following values. 341875b29833Smrg 341975b29833Smrg_ACEOF 342075b29833Smrg 342175b29833Smrg# The following way of writing the cache mishandles newlines in values, 342275b29833Smrg# but we know of no workaround that is simple, portable, and efficient. 342375b29833Smrg# So, we kill variables containing newlines. 342475b29833Smrg# Ultrix sh set writes to stderr and can't be redirected directly, 342575b29833Smrg# and sets the high bit in the cache file unless we assign to the vars. 342675b29833Smrg( 342775b29833Smrg for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 342875b29833Smrg eval ac_val=\$$ac_var 342975b29833Smrg case $ac_val in #( 343075b29833Smrg *${as_nl}*) 343175b29833Smrg case $ac_var in #( 343275b29833Smrg *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 343375b29833Smrgprintf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 343475b29833Smrg esac 343575b29833Smrg case $ac_var in #( 343675b29833Smrg _ | IFS | as_nl) ;; #( 343775b29833Smrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 343875b29833Smrg *) { eval $ac_var=; unset $ac_var;} ;; 343975b29833Smrg esac ;; 344075b29833Smrg esac 344175b29833Smrg done 344275b29833Smrg 344375b29833Smrg (set) 2>&1 | 344475b29833Smrg case $as_nl`(ac_space=' '; set) 2>&1` in #( 344575b29833Smrg *${as_nl}ac_space=\ *) 344675b29833Smrg # `set' does not quote correctly, so add quotes: double-quote 344775b29833Smrg # substitution turns \\\\ into \\, and sed turns \\ into \. 344875b29833Smrg sed -n \ 344975b29833Smrg "s/'/'\\\\''/g; 345075b29833Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 345175b29833Smrg ;; #( 345275b29833Smrg *) 345375b29833Smrg # `set' quotes correctly as required by POSIX, so do not add quotes. 345475b29833Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 345575b29833Smrg ;; 345675b29833Smrg esac | 345775b29833Smrg sort 345875b29833Smrg) | 345975b29833Smrg sed ' 346075b29833Smrg /^ac_cv_env_/b end 346175b29833Smrg t clear 346275b29833Smrg :clear 346375b29833Smrg s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ 346475b29833Smrg t end 346575b29833Smrg s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 346675b29833Smrg :end' >>confcache 346775b29833Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 346875b29833Smrg if test -w "$cache_file"; then 346975b29833Smrg if test "x$cache_file" != "x/dev/null"; then 347075b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 347175b29833Smrgprintf "%s\n" "$as_me: updating cache $cache_file" >&6;} 347275b29833Smrg if test ! -f "$cache_file" || test -h "$cache_file"; then 347375b29833Smrg cat confcache >"$cache_file" 347475b29833Smrg else 347575b29833Smrg case $cache_file in #( 347675b29833Smrg */* | ?:*) 347775b29833Smrg mv -f confcache "$cache_file"$$ && 347875b29833Smrg mv -f "$cache_file"$$ "$cache_file" ;; #( 347975b29833Smrg *) 348075b29833Smrg mv -f confcache "$cache_file" ;; 348175b29833Smrg esac 348275b29833Smrg fi 348375b29833Smrg fi 348475b29833Smrg else 348575b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 348675b29833Smrgprintf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} 348775b29833Smrg fi 348875b29833Smrgfi 348975b29833Smrgrm -f confcache 349075b29833Smrg 349175b29833Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix 349275b29833Smrg# Let make expand exec_prefix. 349375b29833Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 349475b29833Smrg 349575b29833Smrg# Transform confdefs.h into DEFS. 349675b29833Smrg# Protect against shell expansion while executing Makefile rules. 349775b29833Smrg# Protect against Makefile macro expansion. 349875b29833Smrg# 349975b29833Smrg# If the first sed substitution is executed (which looks for macros that 350075b29833Smrg# take arguments), then branch to the quote section. Otherwise, 350175b29833Smrg# look for a macro that doesn't take arguments. 350275b29833Smrgac_script=' 350375b29833Smrg:mline 350475b29833Smrg/\\$/{ 350575b29833Smrg N 350675b29833Smrg s,\\\n,, 350775b29833Smrg b mline 350875b29833Smrg} 350975b29833Smrgt clear 351075b29833Smrg:clear 351175b29833Smrgs/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 351275b29833Smrgt quote 351375b29833Smrgs/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 351475b29833Smrgt quote 351575b29833Smrgb any 351675b29833Smrg:quote 351775b29833Smrgs/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 351875b29833Smrgs/\[/\\&/g 351975b29833Smrgs/\]/\\&/g 352075b29833Smrgs/\$/$$/g 352175b29833SmrgH 352275b29833Smrg:any 352375b29833Smrg${ 352475b29833Smrg g 352575b29833Smrg s/^\n// 352675b29833Smrg s/\n/ /g 352775b29833Smrg p 352875b29833Smrg} 352975b29833Smrg' 353075b29833SmrgDEFS=`sed -n "$ac_script" confdefs.h` 353175b29833Smrg 353275b29833Smrg 353375b29833Smrgac_libobjs= 353475b29833Smrgac_ltlibobjs= 353575b29833SmrgU= 353675b29833Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 353775b29833Smrg # 1. Remove the extension, and $U if already installed. 353875b29833Smrg ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 353975b29833Smrg ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"` 354075b29833Smrg # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 354175b29833Smrg # will be set to the directory where LIBOBJS objects are built. 354275b29833Smrg as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 354375b29833Smrg as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 354475b29833Smrgdone 354575b29833SmrgLIBOBJS=$ac_libobjs 354675b29833Smrg 354775b29833SmrgLTLIBOBJS=$ac_ltlibobjs 354875b29833Smrg 354975b29833Smrg 355075b29833Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 355175b29833Smrgprintf %s "checking that generated files are newer than configure... " >&6; } 355275b29833Smrg if test -n "$am_sleep_pid"; then 355375b29833Smrg # Hide warnings about reused PIDs. 355475b29833Smrg wait $am_sleep_pid 2>/dev/null 355575b29833Smrg fi 355675b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5 355775b29833Smrgprintf "%s\n" "done" >&6; } 355875b29833Smrg 355975b29833Smrg 356075b29833Smrg: "${CONFIG_STATUS=./config.status}" 356175b29833Smrgac_write_fail=0 356275b29833Smrgac_clean_files_save=$ac_clean_files 356375b29833Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS" 356475b29833Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 356575b29833Smrgprintf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} 356675b29833Smrgas_write_fail=0 356775b29833Smrgcat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 356875b29833Smrg#! $SHELL 356975b29833Smrg# Generated by $as_me. 357075b29833Smrg# Run this file to recreate the current configuration. 357175b29833Smrg# Compiler output produced by configure, useful for debugging 357275b29833Smrg# configure, is in config.log if it exists. 357375b29833Smrg 357475b29833Smrgdebug=false 357575b29833Smrgac_cs_recheck=false 357675b29833Smrgac_cs_silent=false 357775b29833Smrg 357875b29833SmrgSHELL=\${CONFIG_SHELL-$SHELL} 357975b29833Smrgexport SHELL 358075b29833Smrg_ASEOF 358175b29833Smrgcat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 358275b29833Smrg## -------------------- ## 358375b29833Smrg## M4sh Initialization. ## 358475b29833Smrg## -------------------- ## 358575b29833Smrg 358675b29833Smrg# Be more Bourne compatible 358775b29833SmrgDUALCASE=1; export DUALCASE # for MKS sh 358875b29833Smrgas_nop=: 358975b29833Smrgif test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 359075b29833Smrgthen : 359175b29833Smrg emulate sh 359275b29833Smrg NULLCMD=: 359375b29833Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 359475b29833Smrg # is contrary to our usage. Disable this feature. 359575b29833Smrg alias -g '${1+"$@"}'='"$@"' 359675b29833Smrg setopt NO_GLOB_SUBST 359775b29833Smrgelse $as_nop 359875b29833Smrg case `(set -o) 2>/dev/null` in #( 359975b29833Smrg *posix*) : 360075b29833Smrg set -o posix ;; #( 360175b29833Smrg *) : 360275b29833Smrg ;; 360375b29833Smrgesac 360475b29833Smrgfi 360575b29833Smrg 360675b29833Smrg 360775b29833Smrg 360875b29833Smrg# Reset variables that may have inherited troublesome values from 360975b29833Smrg# the environment. 361075b29833Smrg 361175b29833Smrg# IFS needs to be set, to space, tab, and newline, in precisely that order. 361275b29833Smrg# (If _AS_PATH_WALK were called with IFS unset, it would have the 361375b29833Smrg# side effect of setting IFS to empty, thus disabling word splitting.) 361475b29833Smrg# Quoting is to prevent editors from complaining about space-tab. 361575b29833Smrgas_nl=' 361675b29833Smrg' 361775b29833Smrgexport as_nl 361875b29833SmrgIFS=" "" $as_nl" 361975b29833Smrg 362075b29833SmrgPS1='$ ' 362175b29833SmrgPS2='> ' 362275b29833SmrgPS4='+ ' 362375b29833Smrg 362475b29833Smrg# Ensure predictable behavior from utilities with locale-dependent output. 362575b29833SmrgLC_ALL=C 362675b29833Smrgexport LC_ALL 362775b29833SmrgLANGUAGE=C 362875b29833Smrgexport LANGUAGE 362975b29833Smrg 363075b29833Smrg# We cannot yet rely on "unset" to work, but we need these variables 363175b29833Smrg# to be unset--not just set to an empty or harmless value--now, to 363275b29833Smrg# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct 363375b29833Smrg# also avoids known problems related to "unset" and subshell syntax 363475b29833Smrg# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). 363575b29833Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 363675b29833Smrgdo eval test \${$as_var+y} \ 363775b29833Smrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 363875b29833Smrgdone 363975b29833Smrg 364075b29833Smrg# Ensure that fds 0, 1, and 2 are open. 364175b29833Smrgif (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 364275b29833Smrgif (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 364375b29833Smrgif (exec 3>&2) ; then :; else exec 2>/dev/null; fi 364475b29833Smrg 364575b29833Smrg# The user is always right. 364675b29833Smrgif ${PATH_SEPARATOR+false} :; then 364775b29833Smrg PATH_SEPARATOR=: 364875b29833Smrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 364975b29833Smrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 365075b29833Smrg PATH_SEPARATOR=';' 365175b29833Smrg } 365275b29833Smrgfi 365375b29833Smrg 365475b29833Smrg 365575b29833Smrg# Find who we are. Look in the path if we contain no directory separator. 365675b29833Smrgas_myself= 365775b29833Smrgcase $0 in #(( 365875b29833Smrg *[\\/]* ) as_myself=$0 ;; 365975b29833Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 366075b29833Smrgfor as_dir in $PATH 366175b29833Smrgdo 366275b29833Smrg IFS=$as_save_IFS 366375b29833Smrg case $as_dir in #((( 366475b29833Smrg '') as_dir=./ ;; 366575b29833Smrg */) ;; 366675b29833Smrg *) as_dir=$as_dir/ ;; 366775b29833Smrg esac 366875b29833Smrg test -r "$as_dir$0" && as_myself=$as_dir$0 && break 366975b29833Smrg done 367075b29833SmrgIFS=$as_save_IFS 367175b29833Smrg 367275b29833Smrg ;; 367375b29833Smrgesac 367475b29833Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 367575b29833Smrg# in which case we are not to be found in the path. 367675b29833Smrgif test "x$as_myself" = x; then 367775b29833Smrg as_myself=$0 367875b29833Smrgfi 367975b29833Smrgif test ! -f "$as_myself"; then 368075b29833Smrg printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 368175b29833Smrg exit 1 368275b29833Smrgfi 368375b29833Smrg 368475b29833Smrg 368575b29833Smrg 368675b29833Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 368775b29833Smrg# ---------------------------------------- 368875b29833Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 368975b29833Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 369075b29833Smrg# script with STATUS, using 1 if that was 0. 369175b29833Smrgas_fn_error () 369275b29833Smrg{ 369375b29833Smrg as_status=$1; test $as_status -eq 0 && as_status=1 369475b29833Smrg if test "$4"; then 369575b29833Smrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 369675b29833Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 369775b29833Smrg fi 369875b29833Smrg printf "%s\n" "$as_me: error: $2" >&2 369975b29833Smrg as_fn_exit $as_status 370075b29833Smrg} # as_fn_error 370175b29833Smrg 370275b29833Smrg 370375b29833Smrg 370475b29833Smrg# as_fn_set_status STATUS 370575b29833Smrg# ----------------------- 370675b29833Smrg# Set $? to STATUS, without forking. 370775b29833Smrgas_fn_set_status () 370875b29833Smrg{ 370975b29833Smrg return $1 371075b29833Smrg} # as_fn_set_status 371175b29833Smrg 371275b29833Smrg# as_fn_exit STATUS 371375b29833Smrg# ----------------- 371475b29833Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 371575b29833Smrgas_fn_exit () 371675b29833Smrg{ 371775b29833Smrg set +e 371875b29833Smrg as_fn_set_status $1 371975b29833Smrg exit $1 372075b29833Smrg} # as_fn_exit 372175b29833Smrg 372275b29833Smrg# as_fn_unset VAR 372375b29833Smrg# --------------- 372475b29833Smrg# Portably unset VAR. 372575b29833Smrgas_fn_unset () 372675b29833Smrg{ 372775b29833Smrg { eval $1=; unset $1;} 372875b29833Smrg} 372975b29833Smrgas_unset=as_fn_unset 373075b29833Smrg 373175b29833Smrg# as_fn_append VAR VALUE 373275b29833Smrg# ---------------------- 373375b29833Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take 373475b29833Smrg# advantage of any shell optimizations that allow amortized linear growth over 373575b29833Smrg# repeated appends, instead of the typical quadratic growth present in naive 373675b29833Smrg# implementations. 373775b29833Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 373875b29833Smrgthen : 373975b29833Smrg eval 'as_fn_append () 374075b29833Smrg { 374175b29833Smrg eval $1+=\$2 374275b29833Smrg }' 374375b29833Smrgelse $as_nop 374475b29833Smrg as_fn_append () 374575b29833Smrg { 374675b29833Smrg eval $1=\$$1\$2 374775b29833Smrg } 374875b29833Smrgfi # as_fn_append 374975b29833Smrg 375075b29833Smrg# as_fn_arith ARG... 375175b29833Smrg# ------------------ 375275b29833Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the 375375b29833Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 375475b29833Smrg# must be portable across $(()) and expr. 375575b29833Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 375675b29833Smrgthen : 375775b29833Smrg eval 'as_fn_arith () 375875b29833Smrg { 375975b29833Smrg as_val=$(( $* )) 376075b29833Smrg }' 376175b29833Smrgelse $as_nop 376275b29833Smrg as_fn_arith () 376375b29833Smrg { 376475b29833Smrg as_val=`expr "$@" || test $? -eq 1` 376575b29833Smrg } 376675b29833Smrgfi # as_fn_arith 376775b29833Smrg 376875b29833Smrg 376975b29833Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 377075b29833Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 377175b29833Smrg as_expr=expr 377275b29833Smrgelse 377375b29833Smrg as_expr=false 377475b29833Smrgfi 377575b29833Smrg 377675b29833Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 377775b29833Smrg as_basename=basename 377875b29833Smrgelse 377975b29833Smrg as_basename=false 378075b29833Smrgfi 378175b29833Smrg 378275b29833Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 378375b29833Smrg as_dirname=dirname 378475b29833Smrgelse 378575b29833Smrg as_dirname=false 378675b29833Smrgfi 378775b29833Smrg 378875b29833Smrgas_me=`$as_basename -- "$0" || 378975b29833Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 379075b29833Smrg X"$0" : 'X\(//\)$' \| \ 379175b29833Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 379275b29833Smrgprintf "%s\n" X/"$0" | 379375b29833Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 379475b29833Smrg s//\1/ 379575b29833Smrg q 379675b29833Smrg } 379775b29833Smrg /^X\/\(\/\/\)$/{ 379875b29833Smrg s//\1/ 379975b29833Smrg q 380075b29833Smrg } 380175b29833Smrg /^X\/\(\/\).*/{ 380275b29833Smrg s//\1/ 380375b29833Smrg q 380475b29833Smrg } 380575b29833Smrg s/.*/./; q'` 380675b29833Smrg 380775b29833Smrg# Avoid depending upon Character Ranges. 380875b29833Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 380975b29833Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 381075b29833Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 381175b29833Smrgas_cr_digits='0123456789' 381275b29833Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 381375b29833Smrg 381475b29833Smrg 381575b29833Smrg# Determine whether it's possible to make 'echo' print without a newline. 381675b29833Smrg# These variables are no longer used directly by Autoconf, but are AC_SUBSTed 381775b29833Smrg# for compatibility with existing Makefiles. 381875b29833SmrgECHO_C= ECHO_N= ECHO_T= 381975b29833Smrgcase `echo -n x` in #((((( 382075b29833Smrg-n*) 382175b29833Smrg case `echo 'xy\c'` in 382275b29833Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 382375b29833Smrg xy) ECHO_C='\c';; 382475b29833Smrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 382575b29833Smrg ECHO_T=' ';; 382675b29833Smrg esac;; 382775b29833Smrg*) 382875b29833Smrg ECHO_N='-n';; 382975b29833Smrgesac 383075b29833Smrg 383175b29833Smrg# For backward compatibility with old third-party macros, we provide 383275b29833Smrg# the shell variables $as_echo and $as_echo_n. New code should use 383375b29833Smrg# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. 383475b29833Smrgas_echo='printf %s\n' 383575b29833Smrgas_echo_n='printf %s' 383675b29833Smrg 383775b29833Smrgrm -f conf$$ conf$$.exe conf$$.file 383875b29833Smrgif test -d conf$$.dir; then 383975b29833Smrg rm -f conf$$.dir/conf$$.file 384075b29833Smrgelse 384175b29833Smrg rm -f conf$$.dir 384275b29833Smrg mkdir conf$$.dir 2>/dev/null 384375b29833Smrgfi 384475b29833Smrgif (echo >conf$$.file) 2>/dev/null; then 384575b29833Smrg if ln -s conf$$.file conf$$ 2>/dev/null; then 384675b29833Smrg as_ln_s='ln -s' 384775b29833Smrg # ... but there are two gotchas: 384875b29833Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 384975b29833Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 385075b29833Smrg # In both cases, we have to default to `cp -pR'. 385175b29833Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 385275b29833Smrg as_ln_s='cp -pR' 385375b29833Smrg elif ln conf$$.file conf$$ 2>/dev/null; then 385475b29833Smrg as_ln_s=ln 385575b29833Smrg else 385675b29833Smrg as_ln_s='cp -pR' 385775b29833Smrg fi 385875b29833Smrgelse 385975b29833Smrg as_ln_s='cp -pR' 386075b29833Smrgfi 386175b29833Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 386275b29833Smrgrmdir conf$$.dir 2>/dev/null 386375b29833Smrg 386475b29833Smrg 386575b29833Smrg# as_fn_mkdir_p 386675b29833Smrg# ------------- 386775b29833Smrg# Create "$as_dir" as a directory, including parents if necessary. 386875b29833Smrgas_fn_mkdir_p () 386975b29833Smrg{ 387075b29833Smrg 387175b29833Smrg case $as_dir in #( 387275b29833Smrg -*) as_dir=./$as_dir;; 387375b29833Smrg esac 387475b29833Smrg test -d "$as_dir" || eval $as_mkdir_p || { 387575b29833Smrg as_dirs= 387675b29833Smrg while :; do 387775b29833Smrg case $as_dir in #( 387875b29833Smrg *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 387975b29833Smrg *) as_qdir=$as_dir;; 388075b29833Smrg esac 388175b29833Smrg as_dirs="'$as_qdir' $as_dirs" 388275b29833Smrg as_dir=`$as_dirname -- "$as_dir" || 388375b29833Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 388475b29833Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 388575b29833Smrg X"$as_dir" : 'X\(//\)$' \| \ 388675b29833Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 388775b29833Smrgprintf "%s\n" X"$as_dir" | 388875b29833Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 388975b29833Smrg s//\1/ 389075b29833Smrg q 389175b29833Smrg } 389275b29833Smrg /^X\(\/\/\)[^/].*/{ 389375b29833Smrg s//\1/ 389475b29833Smrg q 389575b29833Smrg } 389675b29833Smrg /^X\(\/\/\)$/{ 389775b29833Smrg s//\1/ 389875b29833Smrg q 389975b29833Smrg } 390075b29833Smrg /^X\(\/\).*/{ 390175b29833Smrg s//\1/ 390275b29833Smrg q 390375b29833Smrg } 390475b29833Smrg s/.*/./; q'` 390575b29833Smrg test -d "$as_dir" && break 390675b29833Smrg done 390775b29833Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 390875b29833Smrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 390975b29833Smrg 391075b29833Smrg 391175b29833Smrg} # as_fn_mkdir_p 391275b29833Smrgif mkdir -p . 2>/dev/null; then 391375b29833Smrg as_mkdir_p='mkdir -p "$as_dir"' 391475b29833Smrgelse 391575b29833Smrg test -d ./-p && rmdir ./-p 391675b29833Smrg as_mkdir_p=false 391775b29833Smrgfi 391875b29833Smrg 391975b29833Smrg 392075b29833Smrg# as_fn_executable_p FILE 392175b29833Smrg# ----------------------- 392275b29833Smrg# Test if FILE is an executable regular file. 392375b29833Smrgas_fn_executable_p () 392475b29833Smrg{ 392575b29833Smrg test -f "$1" && test -x "$1" 392675b29833Smrg} # as_fn_executable_p 392775b29833Smrgas_test_x='test -x' 392875b29833Smrgas_executable_p=as_fn_executable_p 392975b29833Smrg 393075b29833Smrg# Sed expression to map a string onto a valid CPP name. 393175b29833Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 393275b29833Smrg 393375b29833Smrg# Sed expression to map a string onto a valid variable name. 393475b29833Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 393575b29833Smrg 393675b29833Smrg 393775b29833Smrgexec 6>&1 393875b29833Smrg## ----------------------------------- ## 393975b29833Smrg## Main body of $CONFIG_STATUS script. ## 394075b29833Smrg## ----------------------------------- ## 394175b29833Smrg_ASEOF 394275b29833Smrgtest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 394375b29833Smrg 394475b29833Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 394575b29833Smrg# Save the log message, to keep $0 and so on meaningful, and to 394675b29833Smrg# report actual input values of CONFIG_FILES etc. instead of their 394775b29833Smrg# values after options handling. 394875b29833Smrgac_log=" 394975b29833SmrgThis file was extended by font-misc-cyrillic $as_me 1.0.4, which was 395075b29833Smrggenerated by GNU Autoconf 2.71. Invocation command line was 395175b29833Smrg 395275b29833Smrg CONFIG_FILES = $CONFIG_FILES 395375b29833Smrg CONFIG_HEADERS = $CONFIG_HEADERS 395475b29833Smrg CONFIG_LINKS = $CONFIG_LINKS 395575b29833Smrg CONFIG_COMMANDS = $CONFIG_COMMANDS 395675b29833Smrg $ $0 $@ 395775b29833Smrg 395875b29833Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q` 395975b29833Smrg" 396075b29833Smrg 396175b29833Smrg_ACEOF 396275b29833Smrg 396375b29833Smrgcase $ac_config_files in *" 396475b29833Smrg"*) set x $ac_config_files; shift; ac_config_files=$*;; 396575b29833Smrgesac 396675b29833Smrg 396775b29833Smrg 396875b29833Smrg 396975b29833Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 397075b29833Smrg# Files that config.status was made for. 397175b29833Smrgconfig_files="$ac_config_files" 397275b29833Smrg 397375b29833Smrg_ACEOF 397475b29833Smrg 397575b29833Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 397675b29833Smrgac_cs_usage="\ 397775b29833Smrg\`$as_me' instantiates files and other configuration actions 397875b29833Smrgfrom templates according to the current configuration. Unless the files 397975b29833Smrgand actions are specified as TAGs, all are instantiated by default. 398075b29833Smrg 398175b29833SmrgUsage: $0 [OPTION]... [TAG]... 398275b29833Smrg 398375b29833Smrg -h, --help print this help, then exit 398475b29833Smrg -V, --version print version number and configuration settings, then exit 398575b29833Smrg --config print configuration, then exit 398675b29833Smrg -q, --quiet, --silent 398775b29833Smrg do not print progress messages 398875b29833Smrg -d, --debug don't remove temporary files 398975b29833Smrg --recheck update $as_me by reconfiguring in the same conditions 399075b29833Smrg --file=FILE[:TEMPLATE] 399175b29833Smrg instantiate the configuration file FILE 399275b29833Smrg 399375b29833SmrgConfiguration files: 399475b29833Smrg$config_files 399575b29833Smrg 399675b29833SmrgReport bugs to <https://gitlab.freedesktop.org/xorg/font/misc-cyrillic/-/issues>." 399775b29833Smrg 399875b29833Smrg_ACEOF 399975b29833Smrgac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` 400075b29833Smrgac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` 400175b29833Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 400275b29833Smrgac_cs_config='$ac_cs_config_escaped' 400375b29833Smrgac_cs_version="\\ 400475b29833Smrgfont-misc-cyrillic config.status 1.0.4 400575b29833Smrgconfigured by $0, generated by GNU Autoconf 2.71, 400675b29833Smrg with options \\"\$ac_cs_config\\" 400775b29833Smrg 400875b29833SmrgCopyright (C) 2021 Free Software Foundation, Inc. 400975b29833SmrgThis config.status script is free software; the Free Software Foundation 401075b29833Smrggives unlimited permission to copy, distribute and modify it." 401175b29833Smrg 401275b29833Smrgac_pwd='$ac_pwd' 401375b29833Smrgsrcdir='$srcdir' 401475b29833SmrgINSTALL='$INSTALL' 401575b29833SmrgMKDIR_P='$MKDIR_P' 401675b29833SmrgAWK='$AWK' 401775b29833Smrgtest -n "\$AWK" || AWK=awk 401875b29833Smrg_ACEOF 401975b29833Smrg 402075b29833Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 402175b29833Smrg# The default lists apply if the user does not specify any file. 402275b29833Smrgac_need_defaults=: 402375b29833Smrgwhile test $# != 0 402475b29833Smrgdo 402575b29833Smrg case $1 in 402675b29833Smrg --*=?*) 402775b29833Smrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 402875b29833Smrg ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 402975b29833Smrg ac_shift=: 403075b29833Smrg ;; 403175b29833Smrg --*=) 403275b29833Smrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 403375b29833Smrg ac_optarg= 403475b29833Smrg ac_shift=: 403575b29833Smrg ;; 403675b29833Smrg *) 403775b29833Smrg ac_option=$1 403875b29833Smrg ac_optarg=$2 403975b29833Smrg ac_shift=shift 404075b29833Smrg ;; 404175b29833Smrg esac 404275b29833Smrg 404375b29833Smrg case $ac_option in 404475b29833Smrg # Handling of the options. 404575b29833Smrg -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 404675b29833Smrg ac_cs_recheck=: ;; 404775b29833Smrg --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 404875b29833Smrg printf "%s\n" "$ac_cs_version"; exit ;; 404975b29833Smrg --config | --confi | --conf | --con | --co | --c ) 405075b29833Smrg printf "%s\n" "$ac_cs_config"; exit ;; 405175b29833Smrg --debug | --debu | --deb | --de | --d | -d ) 405275b29833Smrg debug=: ;; 405375b29833Smrg --file | --fil | --fi | --f ) 405475b29833Smrg $ac_shift 405575b29833Smrg case $ac_optarg in 405675b29833Smrg *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 405775b29833Smrg '') as_fn_error $? "missing file argument" ;; 405875b29833Smrg esac 405975b29833Smrg as_fn_append CONFIG_FILES " '$ac_optarg'" 406075b29833Smrg ac_need_defaults=false;; 406175b29833Smrg --he | --h | --help | --hel | -h ) 406275b29833Smrg printf "%s\n" "$ac_cs_usage"; exit ;; 406375b29833Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 406475b29833Smrg | -silent | --silent | --silen | --sile | --sil | --si | --s) 406575b29833Smrg ac_cs_silent=: ;; 406675b29833Smrg 406775b29833Smrg # This is an error. 406875b29833Smrg -*) as_fn_error $? "unrecognized option: \`$1' 406975b29833SmrgTry \`$0 --help' for more information." ;; 407075b29833Smrg 407175b29833Smrg *) as_fn_append ac_config_targets " $1" 407275b29833Smrg ac_need_defaults=false ;; 407375b29833Smrg 407475b29833Smrg esac 407575b29833Smrg shift 407675b29833Smrgdone 407775b29833Smrg 407875b29833Smrgac_configure_extra_args= 407975b29833Smrg 408075b29833Smrgif $ac_cs_silent; then 408175b29833Smrg exec 6>/dev/null 408275b29833Smrg ac_configure_extra_args="$ac_configure_extra_args --silent" 408375b29833Smrgfi 408475b29833Smrg 408575b29833Smrg_ACEOF 408675b29833Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 408775b29833Smrgif \$ac_cs_recheck; then 408875b29833Smrg set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 408975b29833Smrg shift 409075b29833Smrg \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 409175b29833Smrg CONFIG_SHELL='$SHELL' 409275b29833Smrg export CONFIG_SHELL 409375b29833Smrg exec "\$@" 409475b29833Smrgfi 409575b29833Smrg 409675b29833Smrg_ACEOF 409775b29833Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 409875b29833Smrgexec 5>>config.log 409975b29833Smrg{ 410075b29833Smrg echo 410175b29833Smrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 410275b29833Smrg## Running $as_me. ## 410375b29833Smrg_ASBOX 410475b29833Smrg printf "%s\n" "$ac_log" 410575b29833Smrg} >&5 410675b29833Smrg 410775b29833Smrg_ACEOF 410875b29833Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 410975b29833Smrg_ACEOF 411075b29833Smrg 411175b29833Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 411275b29833Smrg 411375b29833Smrg# Handling of arguments. 411475b29833Smrgfor ac_config_target in $ac_config_targets 411575b29833Smrgdo 411675b29833Smrg case $ac_config_target in 411775b29833Smrg "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 411875b29833Smrg 411975b29833Smrg *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 412075b29833Smrg esac 412175b29833Smrgdone 412275b29833Smrg 412375b29833Smrg 412475b29833Smrg# If the user did not use the arguments to specify the items to instantiate, 412575b29833Smrg# then the envvar interface is used. Set only those that are not. 412675b29833Smrg# We use the long form for the default assignment because of an extremely 412775b29833Smrg# bizarre bug on SunOS 4.1.3. 412875b29833Smrgif $ac_need_defaults; then 412975b29833Smrg test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files 413075b29833Smrgfi 413175b29833Smrg 413275b29833Smrg# Have a temporary directory for convenience. Make it in the build tree 413375b29833Smrg# simply because there is no reason against having it here, and in addition, 413475b29833Smrg# creating and moving files from /tmp can sometimes cause problems. 413575b29833Smrg# Hook for its removal unless debugging. 413675b29833Smrg# Note that there is a small window in which the directory will not be cleaned: 413775b29833Smrg# after its creation but before its name has been assigned to `$tmp'. 413875b29833Smrg$debug || 413975b29833Smrg{ 414075b29833Smrg tmp= ac_tmp= 414175b29833Smrg trap 'exit_status=$? 414275b29833Smrg : "${ac_tmp:=$tmp}" 414375b29833Smrg { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 414475b29833Smrg' 0 414575b29833Smrg trap 'as_fn_exit 1' 1 2 13 15 414675b29833Smrg} 414775b29833Smrg# Create a (secure) tmp directory for tmp files. 414875b29833Smrg 414975b29833Smrg{ 415075b29833Smrg tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 415175b29833Smrg test -d "$tmp" 415275b29833Smrg} || 415375b29833Smrg{ 415475b29833Smrg tmp=./conf$$-$RANDOM 415575b29833Smrg (umask 077 && mkdir "$tmp") 415675b29833Smrg} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 415775b29833Smrgac_tmp=$tmp 415875b29833Smrg 415975b29833Smrg# Set up the scripts for CONFIG_FILES section. 416075b29833Smrg# No need to generate them if there are no CONFIG_FILES. 416175b29833Smrg# This happens for instance with `./config.status config.h'. 416275b29833Smrgif test -n "$CONFIG_FILES"; then 416375b29833Smrg 416475b29833Smrg 416575b29833Smrgac_cr=`echo X | tr X '\015'` 416675b29833Smrg# On cygwin, bash can eat \r inside `` if the user requested igncr. 416775b29833Smrg# But we know of no other shell where ac_cr would be empty at this 416875b29833Smrg# point, so we can use a bashism as a fallback. 416975b29833Smrgif test "x$ac_cr" = x; then 417075b29833Smrg eval ac_cr=\$\'\\r\' 417175b29833Smrgfi 417275b29833Smrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 417375b29833Smrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 417475b29833Smrg ac_cs_awk_cr='\\r' 417575b29833Smrgelse 417675b29833Smrg ac_cs_awk_cr=$ac_cr 417775b29833Smrgfi 417875b29833Smrg 417975b29833Smrgecho 'BEGIN {' >"$ac_tmp/subs1.awk" && 418075b29833Smrg_ACEOF 418175b29833Smrg 418275b29833Smrg 418375b29833Smrg{ 418475b29833Smrg echo "cat >conf$$subs.awk <<_ACEOF" && 418575b29833Smrg echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 418675b29833Smrg echo "_ACEOF" 418775b29833Smrg} >conf$$subs.sh || 418875b29833Smrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 418975b29833Smrgac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 419075b29833Smrgac_delim='%!_!# ' 419175b29833Smrgfor ac_last_try in false false false false false :; do 419275b29833Smrg . ./conf$$subs.sh || 419375b29833Smrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 419475b29833Smrg 419575b29833Smrg ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 419675b29833Smrg if test $ac_delim_n = $ac_delim_num; then 419775b29833Smrg break 419875b29833Smrg elif $ac_last_try; then 419975b29833Smrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 420075b29833Smrg else 420175b29833Smrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 420275b29833Smrg fi 420375b29833Smrgdone 420475b29833Smrgrm -f conf$$subs.sh 420575b29833Smrg 420675b29833Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 420775b29833Smrgcat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 420875b29833Smrg_ACEOF 420975b29833Smrgsed -n ' 421075b29833Smrgh 421175b29833Smrgs/^/S["/; s/!.*/"]=/ 421275b29833Smrgp 421375b29833Smrgg 421475b29833Smrgs/^[^!]*!// 421575b29833Smrg:repl 421675b29833Smrgt repl 421775b29833Smrgs/'"$ac_delim"'$// 421875b29833Smrgt delim 421975b29833Smrg:nl 422075b29833Smrgh 422175b29833Smrgs/\(.\{148\}\)..*/\1/ 422275b29833Smrgt more1 422375b29833Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 422475b29833Smrgp 422575b29833Smrgn 422675b29833Smrgb repl 422775b29833Smrg:more1 422875b29833Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 422975b29833Smrgp 423075b29833Smrgg 423175b29833Smrgs/.\{148\}// 423275b29833Smrgt nl 423375b29833Smrg:delim 423475b29833Smrgh 423575b29833Smrgs/\(.\{148\}\)..*/\1/ 423675b29833Smrgt more2 423775b29833Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/ 423875b29833Smrgp 423975b29833Smrgb 424075b29833Smrg:more2 424175b29833Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 424275b29833Smrgp 424375b29833Smrgg 424475b29833Smrgs/.\{148\}// 424575b29833Smrgt delim 424675b29833Smrg' <conf$$subs.awk | sed ' 424775b29833Smrg/^[^""]/{ 424875b29833Smrg N 424975b29833Smrg s/\n// 425075b29833Smrg} 425175b29833Smrg' >>$CONFIG_STATUS || ac_write_fail=1 425275b29833Smrgrm -f conf$$subs.awk 425375b29833Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 425475b29833Smrg_ACAWK 425575b29833Smrgcat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 425675b29833Smrg for (key in S) S_is_set[key] = 1 425775b29833Smrg FS = "" 425875b29833Smrg 425975b29833Smrg} 426075b29833Smrg{ 426175b29833Smrg line = $ 0 426275b29833Smrg nfields = split(line, field, "@") 426375b29833Smrg substed = 0 426475b29833Smrg len = length(field[1]) 426575b29833Smrg for (i = 2; i < nfields; i++) { 426675b29833Smrg key = field[i] 426775b29833Smrg keylen = length(key) 426875b29833Smrg if (S_is_set[key]) { 426975b29833Smrg value = S[key] 427075b29833Smrg line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 427175b29833Smrg len += length(value) + length(field[++i]) 427275b29833Smrg substed = 1 427375b29833Smrg } else 427475b29833Smrg len += 1 + keylen 427575b29833Smrg } 427675b29833Smrg 427775b29833Smrg print line 427875b29833Smrg} 427975b29833Smrg 428075b29833Smrg_ACAWK 428175b29833Smrg_ACEOF 428275b29833Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 428375b29833Smrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 428475b29833Smrg sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 428575b29833Smrgelse 428675b29833Smrg cat 428775b29833Smrgfi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 428875b29833Smrg || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 428975b29833Smrg_ACEOF 429075b29833Smrg 429175b29833Smrg# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 429275b29833Smrg# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 429375b29833Smrg# trailing colons and then remove the whole line if VPATH becomes empty 429475b29833Smrg# (actually we leave an empty line to preserve line numbers). 429575b29833Smrgif test "x$srcdir" = x.; then 429675b29833Smrg ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 429775b29833Smrgh 429875b29833Smrgs/// 429975b29833Smrgs/^/:/ 430075b29833Smrgs/[ ]*$/:/ 430175b29833Smrgs/:\$(srcdir):/:/g 430275b29833Smrgs/:\${srcdir}:/:/g 430375b29833Smrgs/:@srcdir@:/:/g 430475b29833Smrgs/^:*// 430575b29833Smrgs/:*$// 430675b29833Smrgx 430775b29833Smrgs/\(=[ ]*\).*/\1/ 430875b29833SmrgG 430975b29833Smrgs/\n// 431075b29833Smrgs/^[^=]*=[ ]*$// 431175b29833Smrg}' 431275b29833Smrgfi 431375b29833Smrg 431475b29833Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 431575b29833Smrgfi # test -n "$CONFIG_FILES" 431675b29833Smrg 431775b29833Smrg 431875b29833Smrgeval set X " :F $CONFIG_FILES " 431975b29833Smrgshift 432075b29833Smrgfor ac_tag 432175b29833Smrgdo 432275b29833Smrg case $ac_tag in 432375b29833Smrg :[FHLC]) ac_mode=$ac_tag; continue;; 432475b29833Smrg esac 432575b29833Smrg case $ac_mode$ac_tag in 432675b29833Smrg :[FHL]*:*);; 432775b29833Smrg :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 432875b29833Smrg :[FH]-) ac_tag=-:-;; 432975b29833Smrg :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 433075b29833Smrg esac 433175b29833Smrg ac_save_IFS=$IFS 433275b29833Smrg IFS=: 433375b29833Smrg set x $ac_tag 433475b29833Smrg IFS=$ac_save_IFS 433575b29833Smrg shift 433675b29833Smrg ac_file=$1 433775b29833Smrg shift 433875b29833Smrg 433975b29833Smrg case $ac_mode in 434075b29833Smrg :L) ac_source=$1;; 434175b29833Smrg :[FH]) 434275b29833Smrg ac_file_inputs= 434375b29833Smrg for ac_f 434475b29833Smrg do 434575b29833Smrg case $ac_f in 434675b29833Smrg -) ac_f="$ac_tmp/stdin";; 434775b29833Smrg *) # Look for the file first in the build tree, then in the source tree 434875b29833Smrg # (if the path is not absolute). The absolute path cannot be DOS-style, 434975b29833Smrg # because $ac_f cannot contain `:'. 435075b29833Smrg test -f "$ac_f" || 435175b29833Smrg case $ac_f in 435275b29833Smrg [\\/$]*) false;; 435375b29833Smrg *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 435475b29833Smrg esac || 435575b29833Smrg as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 435675b29833Smrg esac 435775b29833Smrg case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 435875b29833Smrg as_fn_append ac_file_inputs " '$ac_f'" 435975b29833Smrg done 436075b29833Smrg 436175b29833Smrg # Let's still pretend it is `configure' which instantiates (i.e., don't 436275b29833Smrg # use $as_me), people would be surprised to read: 436375b29833Smrg # /* config.h. Generated by config.status. */ 436475b29833Smrg configure_input='Generated from '` 436575b29833Smrg printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 436675b29833Smrg `' by configure.' 436775b29833Smrg if test x"$ac_file" != x-; then 436875b29833Smrg configure_input="$ac_file. $configure_input" 436975b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 437075b29833Smrgprintf "%s\n" "$as_me: creating $ac_file" >&6;} 437175b29833Smrg fi 437275b29833Smrg # Neutralize special characters interpreted by sed in replacement strings. 437375b29833Smrg case $configure_input in #( 437475b29833Smrg *\&* | *\|* | *\\* ) 437575b29833Smrg ac_sed_conf_input=`printf "%s\n" "$configure_input" | 437675b29833Smrg sed 's/[\\\\&|]/\\\\&/g'`;; #( 437775b29833Smrg *) ac_sed_conf_input=$configure_input;; 437875b29833Smrg esac 437975b29833Smrg 438075b29833Smrg case $ac_tag in 438175b29833Smrg *:-:* | *:-) cat >"$ac_tmp/stdin" \ 438275b29833Smrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 438375b29833Smrg esac 438475b29833Smrg ;; 438575b29833Smrg esac 438675b29833Smrg 438775b29833Smrg ac_dir=`$as_dirname -- "$ac_file" || 438875b29833Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 438975b29833Smrg X"$ac_file" : 'X\(//\)[^/]' \| \ 439075b29833Smrg X"$ac_file" : 'X\(//\)$' \| \ 439175b29833Smrg X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 439275b29833Smrgprintf "%s\n" X"$ac_file" | 439375b29833Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 439475b29833Smrg s//\1/ 439575b29833Smrg q 439675b29833Smrg } 439775b29833Smrg /^X\(\/\/\)[^/].*/{ 439875b29833Smrg s//\1/ 439975b29833Smrg q 440075b29833Smrg } 440175b29833Smrg /^X\(\/\/\)$/{ 440275b29833Smrg s//\1/ 440375b29833Smrg q 440475b29833Smrg } 440575b29833Smrg /^X\(\/\).*/{ 440675b29833Smrg s//\1/ 440775b29833Smrg q 440875b29833Smrg } 440975b29833Smrg s/.*/./; q'` 441075b29833Smrg as_dir="$ac_dir"; as_fn_mkdir_p 441175b29833Smrg ac_builddir=. 441275b29833Smrg 441375b29833Smrgcase "$ac_dir" in 441475b29833Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 441575b29833Smrg*) 441675b29833Smrg ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 441775b29833Smrg # A ".." for each directory in $ac_dir_suffix. 441875b29833Smrg ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 441975b29833Smrg case $ac_top_builddir_sub in 442075b29833Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 442175b29833Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 442275b29833Smrg esac ;; 442375b29833Smrgesac 442475b29833Smrgac_abs_top_builddir=$ac_pwd 442575b29833Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 442675b29833Smrg# for backward compatibility: 442775b29833Smrgac_top_builddir=$ac_top_build_prefix 442875b29833Smrg 442975b29833Smrgcase $srcdir in 443075b29833Smrg .) # We are building in place. 443175b29833Smrg ac_srcdir=. 443275b29833Smrg ac_top_srcdir=$ac_top_builddir_sub 443375b29833Smrg ac_abs_top_srcdir=$ac_pwd ;; 443475b29833Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 443575b29833Smrg ac_srcdir=$srcdir$ac_dir_suffix; 443675b29833Smrg ac_top_srcdir=$srcdir 443775b29833Smrg ac_abs_top_srcdir=$srcdir ;; 443875b29833Smrg *) # Relative name. 443975b29833Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 444075b29833Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 444175b29833Smrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 444275b29833Smrgesac 444375b29833Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 444475b29833Smrg 444575b29833Smrg 444675b29833Smrg case $ac_mode in 444775b29833Smrg :F) 444875b29833Smrg # 444975b29833Smrg # CONFIG_FILE 445075b29833Smrg # 445175b29833Smrg 445275b29833Smrg case $INSTALL in 445375b29833Smrg [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 445475b29833Smrg *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 445575b29833Smrg esac 445675b29833Smrg ac_MKDIR_P=$MKDIR_P 445775b29833Smrg case $MKDIR_P in 445875b29833Smrg [\\/$]* | ?:[\\/]* ) ;; 445975b29833Smrg */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 446075b29833Smrg esac 446175b29833Smrg_ACEOF 446275b29833Smrg 446375b29833Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 446475b29833Smrg# If the template does not know about datarootdir, expand it. 446575b29833Smrg# FIXME: This hack should be removed a few years after 2.60. 446675b29833Smrgac_datarootdir_hack=; ac_datarootdir_seen= 446775b29833Smrgac_sed_dataroot=' 446875b29833Smrg/datarootdir/ { 446975b29833Smrg p 447075b29833Smrg q 447175b29833Smrg} 447275b29833Smrg/@datadir@/p 447375b29833Smrg/@docdir@/p 447475b29833Smrg/@infodir@/p 447575b29833Smrg/@localedir@/p 447675b29833Smrg/@mandir@/p' 447775b29833Smrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 447875b29833Smrg*datarootdir*) ac_datarootdir_seen=yes;; 447975b29833Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 448075b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 448175b29833Smrgprintf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 448275b29833Smrg_ACEOF 448375b29833Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 448475b29833Smrg ac_datarootdir_hack=' 448575b29833Smrg s&@datadir@&$datadir&g 448675b29833Smrg s&@docdir@&$docdir&g 448775b29833Smrg s&@infodir@&$infodir&g 448875b29833Smrg s&@localedir@&$localedir&g 448975b29833Smrg s&@mandir@&$mandir&g 449075b29833Smrg s&\\\${datarootdir}&$datarootdir&g' ;; 449175b29833Smrgesac 449275b29833Smrg_ACEOF 449375b29833Smrg 449475b29833Smrg# Neutralize VPATH when `$srcdir' = `.'. 449575b29833Smrg# Shell code in configure.ac might set extrasub. 449675b29833Smrg# FIXME: do we really want to maintain this feature? 449775b29833Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 449875b29833Smrgac_sed_extra="$ac_vpsub 449975b29833Smrg$extrasub 450075b29833Smrg_ACEOF 450175b29833Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 450275b29833Smrg:t 450375b29833Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 450475b29833Smrgs|@configure_input@|$ac_sed_conf_input|;t t 450575b29833Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t 450675b29833Smrgs&@top_build_prefix@&$ac_top_build_prefix&;t t 450775b29833Smrgs&@srcdir@&$ac_srcdir&;t t 450875b29833Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t 450975b29833Smrgs&@top_srcdir@&$ac_top_srcdir&;t t 451075b29833Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 451175b29833Smrgs&@builddir@&$ac_builddir&;t t 451275b29833Smrgs&@abs_builddir@&$ac_abs_builddir&;t t 451375b29833Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t 451475b29833Smrgs&@INSTALL@&$ac_INSTALL&;t t 451575b29833Smrgs&@MKDIR_P@&$ac_MKDIR_P&;t t 451675b29833Smrg$ac_datarootdir_hack 451775b29833Smrg" 451875b29833Smrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 451975b29833Smrg >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 452075b29833Smrg 452175b29833Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 452275b29833Smrg { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 452375b29833Smrg { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 452475b29833Smrg "$ac_tmp/out"`; test -z "$ac_out"; } && 452575b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 452675b29833Smrgwhich seems to be undefined. Please make sure it is defined" >&5 452775b29833Smrgprintf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 452875b29833Smrgwhich seems to be undefined. Please make sure it is defined" >&2;} 452975b29833Smrg 453075b29833Smrg rm -f "$ac_tmp/stdin" 453175b29833Smrg case $ac_file in 453275b29833Smrg -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 453375b29833Smrg *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 453475b29833Smrg esac \ 453575b29833Smrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 453675b29833Smrg ;; 453775b29833Smrg 453875b29833Smrg 453975b29833Smrg 454075b29833Smrg esac 454175b29833Smrg 454275b29833Smrgdone # for ac_tag 454375b29833Smrg 454475b29833Smrg 454575b29833Smrgas_fn_exit 0 454675b29833Smrg_ACEOF 454775b29833Smrgac_clean_files=$ac_clean_files_save 454875b29833Smrg 454975b29833Smrgtest $ac_write_fail = 0 || 455075b29833Smrg as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 455175b29833Smrg 455275b29833Smrg 455375b29833Smrg# configure is writing to config.log, and then calls config.status. 455475b29833Smrg# config.status does its own redirection, appending to config.log. 455575b29833Smrg# Unfortunately, on DOS this fails, as config.log is still kept open 455675b29833Smrg# by configure, so config.status won't be able to write to it; its 455775b29833Smrg# output is simply discarded. So we exec the FD to /dev/null, 455875b29833Smrg# effectively closing config.log, so it can be properly (re)opened and 455975b29833Smrg# appended to by config.status. When coming back to configure, we 456075b29833Smrg# need to make the FD available again. 456175b29833Smrgif test "$no_create" != yes; then 456275b29833Smrg ac_cs_success=: 456375b29833Smrg ac_config_status_args= 456475b29833Smrg test "$silent" = yes && 456575b29833Smrg ac_config_status_args="$ac_config_status_args --quiet" 456675b29833Smrg exec 5>/dev/null 456775b29833Smrg $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 456875b29833Smrg exec 5>>config.log 456975b29833Smrg # Use ||, not &&, to avoid exiting from the if with $? = 1, which 457075b29833Smrg # would make configure fail if this is the last instruction. 457175b29833Smrg $ac_cs_success || as_fn_exit 1 457275b29833Smrgfi 457375b29833Smrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 457475b29833Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 457575b29833Smrgprintf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 457675b29833Smrgfi 457775b29833Smrg 457875b29833Smrg 4579