configure revision 48e37bc2
10cc6efb6Smrg#! /bin/sh 20cc6efb6Smrg# Guess values for system-dependent variables and create Makefiles. 348e37bc2Smrg# Generated by GNU Autoconf 2.71 for font-bh-ttf 1.0.4. 40cc6efb6Smrg# 548e37bc2Smrg# Report bugs to <https://gitlab.freedesktop.org/xorg/font/bh-ttf/-/issues>. 60cc6efb6Smrg# 71c43011aSmrg# 848e37bc2Smrg# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, 948e37bc2Smrg# Inc. 101c43011aSmrg# 111c43011aSmrg# 120cc6efb6Smrg# This configure script is free software; the Free Software Foundation 130cc6efb6Smrg# gives unlimited permission to copy, distribute and modify it. 141c43011aSmrg## -------------------- ## 151c43011aSmrg## M4sh Initialization. ## 161c43011aSmrg## -------------------- ## 170cc6efb6Smrg 186cf5427aSmrg# Be more Bourne compatible 196cf5427aSmrgDUALCASE=1; export DUALCASE # for MKS sh 2048e37bc2Smrgas_nop=: 2148e37bc2Smrgif test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 2248e37bc2Smrgthen : 230cc6efb6Smrg emulate sh 240cc6efb6Smrg NULLCMD=: 256cf5427aSmrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 260cc6efb6Smrg # is contrary to our usage. Disable this feature. 270cc6efb6Smrg alias -g '${1+"$@"}'='"$@"' 286cf5427aSmrg setopt NO_GLOB_SUBST 2948e37bc2Smrgelse $as_nop 301c43011aSmrg case `(set -o) 2>/dev/null` in #( 311c43011aSmrg *posix*) : 321c43011aSmrg set -o posix ;; #( 331c43011aSmrg *) : 341c43011aSmrg ;; 356cf5427aSmrgesac 366cf5427aSmrgfi 376cf5427aSmrg 386cf5427aSmrg 3948e37bc2Smrg 4048e37bc2Smrg# Reset variables that may have inherited troublesome values from 4148e37bc2Smrg# the environment. 4248e37bc2Smrg 4348e37bc2Smrg# IFS needs to be set, to space, tab, and newline, in precisely that order. 4448e37bc2Smrg# (If _AS_PATH_WALK were called with IFS unset, it would have the 4548e37bc2Smrg# side effect of setting IFS to empty, thus disabling word splitting.) 4648e37bc2Smrg# Quoting is to prevent editors from complaining about space-tab. 476cf5427aSmrgas_nl=' 486cf5427aSmrg' 496cf5427aSmrgexport as_nl 5048e37bc2SmrgIFS=" "" $as_nl" 5148e37bc2Smrg 5248e37bc2SmrgPS1='$ ' 5348e37bc2SmrgPS2='> ' 5448e37bc2SmrgPS4='+ ' 5548e37bc2Smrg 5648e37bc2Smrg# Ensure predictable behavior from utilities with locale-dependent output. 5748e37bc2SmrgLC_ALL=C 5848e37bc2Smrgexport LC_ALL 5948e37bc2SmrgLANGUAGE=C 6048e37bc2Smrgexport LANGUAGE 6148e37bc2Smrg 6248e37bc2Smrg# We cannot yet rely on "unset" to work, but we need these variables 6348e37bc2Smrg# to be unset--not just set to an empty or harmless value--now, to 6448e37bc2Smrg# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct 6548e37bc2Smrg# also avoids known problems related to "unset" and subshell syntax 6648e37bc2Smrg# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). 6748e37bc2Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 6848e37bc2Smrgdo eval test \${$as_var+y} \ 6948e37bc2Smrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 7048e37bc2Smrgdone 7148e37bc2Smrg 7248e37bc2Smrg# Ensure that fds 0, 1, and 2 are open. 7348e37bc2Smrgif (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 7448e37bc2Smrgif (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 7548e37bc2Smrgif (exec 3>&2) ; then :; else exec 2>/dev/null; fi 766cf5427aSmrg 776cf5427aSmrg# The user is always right. 7848e37bc2Smrgif ${PATH_SEPARATOR+false} :; then 796cf5427aSmrg PATH_SEPARATOR=: 806cf5427aSmrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 816cf5427aSmrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 826cf5427aSmrg PATH_SEPARATOR=';' 836cf5427aSmrg } 840cc6efb6Smrgfi 850cc6efb6Smrg 860cc6efb6Smrg 876cf5427aSmrg# Find who we are. Look in the path if we contain no directory separator. 881c43011aSmrgas_myself= 891c43011aSmrgcase $0 in #(( 906cf5427aSmrg *[\\/]* ) as_myself=$0 ;; 916cf5427aSmrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 926cf5427aSmrgfor as_dir in $PATH 936cf5427aSmrgdo 946cf5427aSmrg IFS=$as_save_IFS 9548e37bc2Smrg case $as_dir in #((( 9648e37bc2Smrg '') as_dir=./ ;; 9748e37bc2Smrg */) ;; 9848e37bc2Smrg *) as_dir=$as_dir/ ;; 9948e37bc2Smrg esac 10048e37bc2Smrg test -r "$as_dir$0" && as_myself=$as_dir$0 && break 1011c43011aSmrg done 1026cf5427aSmrgIFS=$as_save_IFS 1036cf5427aSmrg 1046cf5427aSmrg ;; 1056cf5427aSmrgesac 1066cf5427aSmrg# We did not find ourselves, most probably we were run as `sh COMMAND' 1076cf5427aSmrg# in which case we are not to be found in the path. 1086cf5427aSmrgif test "x$as_myself" = x; then 1096cf5427aSmrg as_myself=$0 1106cf5427aSmrgfi 1116cf5427aSmrgif test ! -f "$as_myself"; then 11248e37bc2Smrg printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 1131c43011aSmrg exit 1 1146cf5427aSmrgfi 1156cf5427aSmrg 1161c43011aSmrg 11748e37bc2Smrg# Use a proper internal environment variable to ensure we don't fall 11848e37bc2Smrg # into an infinite loop, continuously re-executing ourselves. 11948e37bc2Smrg if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 12048e37bc2Smrg _as_can_reexec=no; export _as_can_reexec; 12148e37bc2Smrg # We cannot yet assume a decent shell, so we have to provide a 12248e37bc2Smrg# neutralization value for shells without unset; and this also 12348e37bc2Smrg# works around shells that cannot unset nonexistent variables. 12448e37bc2Smrg# Preserve -v and -x to the replacement shell. 12548e37bc2SmrgBASH_ENV=/dev/null 12648e37bc2SmrgENV=/dev/null 12748e37bc2Smrg(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 12848e37bc2Smrgcase $- in # (((( 12948e37bc2Smrg *v*x* | *x*v* ) as_opts=-vx ;; 13048e37bc2Smrg *v* ) as_opts=-v ;; 13148e37bc2Smrg *x* ) as_opts=-x ;; 13248e37bc2Smrg * ) as_opts= ;; 13348e37bc2Smrgesac 13448e37bc2Smrgexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 13548e37bc2Smrg# Admittedly, this is quite paranoid, since all the known shells bail 13648e37bc2Smrg# out after a failed `exec'. 13748e37bc2Smrgprintf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 13848e37bc2Smrgexit 255 13948e37bc2Smrg fi 14048e37bc2Smrg # We don't want this to propagate to other subprocesses. 14148e37bc2Smrg { _as_can_reexec=; unset _as_can_reexec;} 1421c43011aSmrgif test "x$CONFIG_SHELL" = x; then 14348e37bc2Smrg as_bourne_compatible="as_nop=: 14448e37bc2Smrgif test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 14548e37bc2Smrgthen : 1461c43011aSmrg emulate sh 1471c43011aSmrg NULLCMD=: 1481c43011aSmrg # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 1491c43011aSmrg # is contrary to our usage. Disable this feature. 1501c43011aSmrg alias -g '\${1+\"\$@\"}'='\"\$@\"' 1511c43011aSmrg setopt NO_GLOB_SUBST 15248e37bc2Smrgelse \$as_nop 1531c43011aSmrg case \`(set -o) 2>/dev/null\` in #( 1541c43011aSmrg *posix*) : 1551c43011aSmrg set -o posix ;; #( 1561c43011aSmrg *) : 1571c43011aSmrg ;; 1581c43011aSmrgesac 1591c43011aSmrgfi 1601c43011aSmrg" 1611c43011aSmrg as_required="as_fn_return () { (exit \$1); } 1621c43011aSmrgas_fn_success () { as_fn_return 0; } 1631c43011aSmrgas_fn_failure () { as_fn_return 1; } 1641c43011aSmrgas_fn_ret_success () { return 0; } 1651c43011aSmrgas_fn_ret_failure () { return 1; } 1661c43011aSmrg 1671c43011aSmrgexitcode=0 1681c43011aSmrgas_fn_success || { exitcode=1; echo as_fn_success failed.; } 1691c43011aSmrgas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 1701c43011aSmrgas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 1711c43011aSmrgas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 17248e37bc2Smrgif ( set x; as_fn_ret_success y && test x = \"\$1\" ) 17348e37bc2Smrgthen : 1741c43011aSmrg 17548e37bc2Smrgelse \$as_nop 1761c43011aSmrg exitcode=1; echo positional parameters were not saved. 1771c43011aSmrgfi 17848e37bc2Smrgtest x\$exitcode = x0 || exit 1 17948e37bc2Smrgblah=\$(echo \$(echo blah)) 18048e37bc2Smrgtest x\"\$blah\" = xblah || exit 1 18148e37bc2Smrgtest -x / || exit 1" 1821c43011aSmrg as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 1831c43011aSmrg as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 1841c43011aSmrg eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 1851c43011aSmrg test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 1861c43011aSmrgtest \$(( 1 + 1 )) = 2 || exit 1" 18748e37bc2Smrg if (eval "$as_required") 2>/dev/null 18848e37bc2Smrgthen : 1891c43011aSmrg as_have_required=yes 19048e37bc2Smrgelse $as_nop 1911c43011aSmrg as_have_required=no 1921c43011aSmrgfi 19348e37bc2Smrg if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null 19448e37bc2Smrgthen : 1951c43011aSmrg 19648e37bc2Smrgelse $as_nop 1971c43011aSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1981c43011aSmrgas_found=false 1991c43011aSmrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 2001c43011aSmrgdo 2011c43011aSmrg IFS=$as_save_IFS 20248e37bc2Smrg case $as_dir in #((( 20348e37bc2Smrg '') as_dir=./ ;; 20448e37bc2Smrg */) ;; 20548e37bc2Smrg *) as_dir=$as_dir/ ;; 20648e37bc2Smrg esac 2071c43011aSmrg as_found=: 2081c43011aSmrg case $as_dir in #( 2091c43011aSmrg /*) 2101c43011aSmrg for as_base in sh bash ksh sh5; do 2111c43011aSmrg # Try only shells that exist, to save several forks. 21248e37bc2Smrg as_shell=$as_dir$as_base 2131c43011aSmrg if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 21448e37bc2Smrg as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null 21548e37bc2Smrgthen : 2161c43011aSmrg CONFIG_SHELL=$as_shell as_have_required=yes 21748e37bc2Smrg if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null 21848e37bc2Smrgthen : 2191c43011aSmrg break 2 2201c43011aSmrgfi 2211c43011aSmrgfi 2221c43011aSmrg done;; 2231c43011aSmrg esac 2241c43011aSmrg as_found=false 2251c43011aSmrgdone 2261c43011aSmrgIFS=$as_save_IFS 22748e37bc2Smrgif $as_found 22848e37bc2Smrgthen : 2291c43011aSmrg 23048e37bc2Smrgelse $as_nop 23148e37bc2Smrg if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 23248e37bc2Smrg as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null 23348e37bc2Smrgthen : 23448e37bc2Smrg CONFIG_SHELL=$SHELL as_have_required=yes 2351c43011aSmrgfi 23648e37bc2Smrgfi 23748e37bc2Smrg 2381c43011aSmrg 23948e37bc2Smrg if test "x$CONFIG_SHELL" != x 24048e37bc2Smrgthen : 24148e37bc2Smrg export CONFIG_SHELL 24248e37bc2Smrg # We cannot yet assume a decent shell, so we have to provide a 24348e37bc2Smrg# neutralization value for shells without unset; and this also 24448e37bc2Smrg# works around shells that cannot unset nonexistent variables. 24548e37bc2Smrg# Preserve -v and -x to the replacement shell. 24648e37bc2SmrgBASH_ENV=/dev/null 24748e37bc2SmrgENV=/dev/null 24848e37bc2Smrg(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 24948e37bc2Smrgcase $- in # (((( 25048e37bc2Smrg *v*x* | *x*v* ) as_opts=-vx ;; 25148e37bc2Smrg *v* ) as_opts=-v ;; 25248e37bc2Smrg *x* ) as_opts=-x ;; 25348e37bc2Smrg * ) as_opts= ;; 25448e37bc2Smrgesac 25548e37bc2Smrgexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 25648e37bc2Smrg# Admittedly, this is quite paranoid, since all the known shells bail 25748e37bc2Smrg# out after a failed `exec'. 25848e37bc2Smrgprintf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 25948e37bc2Smrgexit 255 26048e37bc2Smrgfi 26148e37bc2Smrg 26248e37bc2Smrg if test x$as_have_required = xno 26348e37bc2Smrgthen : 26448e37bc2Smrg printf "%s\n" "$0: This script requires a shell more modern than all" 26548e37bc2Smrg printf "%s\n" "$0: the shells that I found on your system." 26648e37bc2Smrg if test ${ZSH_VERSION+y} ; then 26748e37bc2Smrg printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should" 26848e37bc2Smrg printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later." 2691c43011aSmrg else 27048e37bc2Smrg printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and 27148e37bc2Smrg$0: https://gitlab.freedesktop.org/xorg/font/bh-ttf/-/issues 2721c43011aSmrg$0: about your system, including any error possibly output 2731c43011aSmrg$0: before this message. Then install a modern shell, or 2741c43011aSmrg$0: manually run the script under such a shell if you do 2751c43011aSmrg$0: have one." 2761c43011aSmrg fi 2771c43011aSmrg exit 1 2781c43011aSmrgfi 2791c43011aSmrgfi 2801c43011aSmrgfi 2811c43011aSmrgSHELL=${CONFIG_SHELL-/bin/sh} 2821c43011aSmrgexport SHELL 2831c43011aSmrg# Unset more variables known to interfere with behavior of common tools. 2841c43011aSmrgCLICOLOR_FORCE= GREP_OPTIONS= 2851c43011aSmrgunset CLICOLOR_FORCE GREP_OPTIONS 2861c43011aSmrg 2871c43011aSmrg## --------------------- ## 2881c43011aSmrg## M4sh Shell Functions. ## 2891c43011aSmrg## --------------------- ## 2901c43011aSmrg# as_fn_unset VAR 2911c43011aSmrg# --------------- 2921c43011aSmrg# Portably unset VAR. 2931c43011aSmrgas_fn_unset () 2941c43011aSmrg{ 2951c43011aSmrg { eval $1=; unset $1;} 2961c43011aSmrg} 2971c43011aSmrgas_unset=as_fn_unset 2981c43011aSmrg 29948e37bc2Smrg 3001c43011aSmrg# as_fn_set_status STATUS 3011c43011aSmrg# ----------------------- 3021c43011aSmrg# Set $? to STATUS, without forking. 3031c43011aSmrgas_fn_set_status () 3041c43011aSmrg{ 3051c43011aSmrg return $1 3061c43011aSmrg} # as_fn_set_status 3071c43011aSmrg 3081c43011aSmrg# as_fn_exit STATUS 3091c43011aSmrg# ----------------- 3101c43011aSmrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 3111c43011aSmrgas_fn_exit () 3121c43011aSmrg{ 3131c43011aSmrg set +e 3141c43011aSmrg as_fn_set_status $1 3151c43011aSmrg exit $1 3161c43011aSmrg} # as_fn_exit 31748e37bc2Smrg# as_fn_nop 31848e37bc2Smrg# --------- 31948e37bc2Smrg# Do nothing but, unlike ":", preserve the value of $?. 32048e37bc2Smrgas_fn_nop () 32148e37bc2Smrg{ 32248e37bc2Smrg return $? 32348e37bc2Smrg} 32448e37bc2Smrgas_nop=as_fn_nop 3251c43011aSmrg 3261c43011aSmrg# as_fn_mkdir_p 3271c43011aSmrg# ------------- 3281c43011aSmrg# Create "$as_dir" as a directory, including parents if necessary. 3291c43011aSmrgas_fn_mkdir_p () 3301c43011aSmrg{ 3311c43011aSmrg 3321c43011aSmrg case $as_dir in #( 3331c43011aSmrg -*) as_dir=./$as_dir;; 3341c43011aSmrg esac 3351c43011aSmrg test -d "$as_dir" || eval $as_mkdir_p || { 3361c43011aSmrg as_dirs= 3371c43011aSmrg while :; do 3381c43011aSmrg case $as_dir in #( 33948e37bc2Smrg *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 3401c43011aSmrg *) as_qdir=$as_dir;; 3411c43011aSmrg esac 3421c43011aSmrg as_dirs="'$as_qdir' $as_dirs" 3431c43011aSmrg as_dir=`$as_dirname -- "$as_dir" || 3441c43011aSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3451c43011aSmrg X"$as_dir" : 'X\(//\)[^/]' \| \ 3461c43011aSmrg X"$as_dir" : 'X\(//\)$' \| \ 3471c43011aSmrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 34848e37bc2Smrgprintf "%s\n" X"$as_dir" | 3491c43011aSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3501c43011aSmrg s//\1/ 3511c43011aSmrg q 3521c43011aSmrg } 3531c43011aSmrg /^X\(\/\/\)[^/].*/{ 3541c43011aSmrg s//\1/ 3551c43011aSmrg q 3561c43011aSmrg } 3571c43011aSmrg /^X\(\/\/\)$/{ 3581c43011aSmrg s//\1/ 3591c43011aSmrg q 3601c43011aSmrg } 3611c43011aSmrg /^X\(\/\).*/{ 3621c43011aSmrg s//\1/ 3631c43011aSmrg q 3641c43011aSmrg } 3651c43011aSmrg s/.*/./; q'` 3661c43011aSmrg test -d "$as_dir" && break 3671c43011aSmrg done 3681c43011aSmrg test -z "$as_dirs" || eval "mkdir $as_dirs" 3691c43011aSmrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 3701c43011aSmrg 3711c43011aSmrg 3721c43011aSmrg} # as_fn_mkdir_p 37348e37bc2Smrg 37448e37bc2Smrg# as_fn_executable_p FILE 37548e37bc2Smrg# ----------------------- 37648e37bc2Smrg# Test if FILE is an executable regular file. 37748e37bc2Smrgas_fn_executable_p () 37848e37bc2Smrg{ 37948e37bc2Smrg test -f "$1" && test -x "$1" 38048e37bc2Smrg} # as_fn_executable_p 3811c43011aSmrg# as_fn_append VAR VALUE 3821c43011aSmrg# ---------------------- 3831c43011aSmrg# Append the text in VALUE to the end of the definition contained in VAR. Take 3841c43011aSmrg# advantage of any shell optimizations that allow amortized linear growth over 3851c43011aSmrg# repeated appends, instead of the typical quadratic growth present in naive 3861c43011aSmrg# implementations. 38748e37bc2Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 38848e37bc2Smrgthen : 3891c43011aSmrg eval 'as_fn_append () 3901c43011aSmrg { 3911c43011aSmrg eval $1+=\$2 3921c43011aSmrg }' 39348e37bc2Smrgelse $as_nop 3941c43011aSmrg as_fn_append () 3951c43011aSmrg { 3961c43011aSmrg eval $1=\$$1\$2 3971c43011aSmrg } 3981c43011aSmrgfi # as_fn_append 3991c43011aSmrg 4001c43011aSmrg# as_fn_arith ARG... 4011c43011aSmrg# ------------------ 4021c43011aSmrg# Perform arithmetic evaluation on the ARGs, and store the result in the 4031c43011aSmrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 4041c43011aSmrg# must be portable across $(()) and expr. 40548e37bc2Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 40648e37bc2Smrgthen : 4071c43011aSmrg eval 'as_fn_arith () 4081c43011aSmrg { 4091c43011aSmrg as_val=$(( $* )) 4101c43011aSmrg }' 41148e37bc2Smrgelse $as_nop 4121c43011aSmrg as_fn_arith () 4131c43011aSmrg { 4141c43011aSmrg as_val=`expr "$@" || test $? -eq 1` 4151c43011aSmrg } 4161c43011aSmrgfi # as_fn_arith 4171c43011aSmrg 41848e37bc2Smrg# as_fn_nop 41948e37bc2Smrg# --------- 42048e37bc2Smrg# Do nothing but, unlike ":", preserve the value of $?. 42148e37bc2Smrgas_fn_nop () 42248e37bc2Smrg{ 42348e37bc2Smrg return $? 42448e37bc2Smrg} 42548e37bc2Smrgas_nop=as_fn_nop 4261c43011aSmrg 4271c43011aSmrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 4281c43011aSmrg# ---------------------------------------- 4291c43011aSmrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 4301c43011aSmrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 4311c43011aSmrg# script with STATUS, using 1 if that was 0. 4321c43011aSmrgas_fn_error () 4331c43011aSmrg{ 4341c43011aSmrg as_status=$1; test $as_status -eq 0 && as_status=1 4351c43011aSmrg if test "$4"; then 4361c43011aSmrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 43748e37bc2Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 4381c43011aSmrg fi 43948e37bc2Smrg printf "%s\n" "$as_me: error: $2" >&2 4401c43011aSmrg as_fn_exit $as_status 4411c43011aSmrg} # as_fn_error 4421c43011aSmrg 4436cf5427aSmrgif expr a : '\(a\)' >/dev/null 2>&1 && 4446cf5427aSmrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 4450cc6efb6Smrg as_expr=expr 4460cc6efb6Smrgelse 4470cc6efb6Smrg as_expr=false 4480cc6efb6Smrgfi 4490cc6efb6Smrg 4506cf5427aSmrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 4510cc6efb6Smrg as_basename=basename 4520cc6efb6Smrgelse 4530cc6efb6Smrg as_basename=false 4540cc6efb6Smrgfi 4550cc6efb6Smrg 4561c43011aSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 4571c43011aSmrg as_dirname=dirname 4581c43011aSmrgelse 4591c43011aSmrg as_dirname=false 4601c43011aSmrgfi 4610cc6efb6Smrg 4626cf5427aSmrgas_me=`$as_basename -- "$0" || 4630cc6efb6Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 4640cc6efb6Smrg X"$0" : 'X\(//\)$' \| \ 4656cf5427aSmrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 46648e37bc2Smrgprintf "%s\n" X/"$0" | 4676cf5427aSmrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 4686cf5427aSmrg s//\1/ 4696cf5427aSmrg q 4706cf5427aSmrg } 4716cf5427aSmrg /^X\/\(\/\/\)$/{ 4726cf5427aSmrg s//\1/ 4736cf5427aSmrg q 4746cf5427aSmrg } 4756cf5427aSmrg /^X\/\(\/\).*/{ 4766cf5427aSmrg s//\1/ 4776cf5427aSmrg q 4786cf5427aSmrg } 4796cf5427aSmrg s/.*/./; q'` 4800cc6efb6Smrg 4811c43011aSmrg# Avoid depending upon Character Ranges. 4821c43011aSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 4831c43011aSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 4841c43011aSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 4851c43011aSmrgas_cr_digits='0123456789' 4861c43011aSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits 4870cc6efb6Smrg 4880cc6efb6Smrg 4891c43011aSmrg as_lineno_1=$LINENO as_lineno_1a=$LINENO 4901c43011aSmrg as_lineno_2=$LINENO as_lineno_2a=$LINENO 4911c43011aSmrg eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 4921c43011aSmrg test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 4931c43011aSmrg # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 4941c43011aSmrg sed -n ' 4951c43011aSmrg p 4961c43011aSmrg /[$]LINENO/= 4971c43011aSmrg ' <$as_myself | 4981c43011aSmrg sed ' 4991c43011aSmrg s/[$]LINENO.*/&-/ 5001c43011aSmrg t lineno 5011c43011aSmrg b 5021c43011aSmrg :lineno 5031c43011aSmrg N 5041c43011aSmrg :loop 5051c43011aSmrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 5061c43011aSmrg t loop 5071c43011aSmrg s/-\n.*// 5081c43011aSmrg ' >$as_me.lineno && 5091c43011aSmrg chmod +x "$as_me.lineno" || 51048e37bc2Smrg { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 5110cc6efb6Smrg 51248e37bc2Smrg # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 51348e37bc2Smrg # already done that, so ensure we don't try to do so again and fall 51448e37bc2Smrg # in an infinite loop. This has already happened in practice. 51548e37bc2Smrg _as_can_reexec=no; export _as_can_reexec 5161c43011aSmrg # Don't try to exec as it changes $[0], causing all sort of problems 5171c43011aSmrg # (the dirname of $[0] is not the place where we might find the 5181c43011aSmrg # original and so on. Autoconf is especially sensitive to this). 5191c43011aSmrg . "./$as_me.lineno" 5201c43011aSmrg # Exit status is that of the last command. 5211c43011aSmrg exit 5226cf5427aSmrg} 5230cc6efb6Smrg 52448e37bc2Smrg 52548e37bc2Smrg# Determine whether it's possible to make 'echo' print without a newline. 52648e37bc2Smrg# These variables are no longer used directly by Autoconf, but are AC_SUBSTed 52748e37bc2Smrg# for compatibility with existing Makefiles. 5281c43011aSmrgECHO_C= ECHO_N= ECHO_T= 5291c43011aSmrgcase `echo -n x` in #((((( 5301c43011aSmrg-n*) 5311c43011aSmrg case `echo 'xy\c'` in 5321c43011aSmrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 5331c43011aSmrg xy) ECHO_C='\c';; 5341c43011aSmrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 5351c43011aSmrg ECHO_T=' ';; 5361c43011aSmrg esac;; 5371c43011aSmrg*) 5381c43011aSmrg ECHO_N='-n';; 5391c43011aSmrgesac 5400cc6efb6Smrg 54148e37bc2Smrg# For backward compatibility with old third-party macros, we provide 54248e37bc2Smrg# the shell variables $as_echo and $as_echo_n. New code should use 54348e37bc2Smrg# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. 54448e37bc2Smrgas_echo='printf %s\n' 54548e37bc2Smrgas_echo_n='printf %s' 54648e37bc2Smrg 54748e37bc2Smrg 5481c43011aSmrgrm -f conf$$ conf$$.exe conf$$.file 5491c43011aSmrgif test -d conf$$.dir; then 5501c43011aSmrg rm -f conf$$.dir/conf$$.file 5511c43011aSmrgelse 5521c43011aSmrg rm -f conf$$.dir 5531c43011aSmrg mkdir conf$$.dir 2>/dev/null 5546cf5427aSmrgfi 5551c43011aSmrgif (echo >conf$$.file) 2>/dev/null; then 5561c43011aSmrg if ln -s conf$$.file conf$$ 2>/dev/null; then 5571c43011aSmrg as_ln_s='ln -s' 5581c43011aSmrg # ... but there are two gotchas: 5591c43011aSmrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 5601c43011aSmrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 56148e37bc2Smrg # In both cases, we have to default to `cp -pR'. 5621c43011aSmrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 56348e37bc2Smrg as_ln_s='cp -pR' 5641c43011aSmrg elif ln conf$$.file conf$$ 2>/dev/null; then 5651c43011aSmrg as_ln_s=ln 5661c43011aSmrg else 56748e37bc2Smrg as_ln_s='cp -pR' 5681c43011aSmrg fi 5696cf5427aSmrgelse 57048e37bc2Smrg as_ln_s='cp -pR' 5716cf5427aSmrgfi 5721c43011aSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5731c43011aSmrgrmdir conf$$.dir 2>/dev/null 5746cf5427aSmrg 5751c43011aSmrgif mkdir -p . 2>/dev/null; then 5761c43011aSmrg as_mkdir_p='mkdir -p "$as_dir"' 5771c43011aSmrgelse 5781c43011aSmrg test -d ./-p && rmdir ./-p 5791c43011aSmrg as_mkdir_p=false 5806cf5427aSmrgfi 5816cf5427aSmrg 58248e37bc2Smrgas_test_x='test -x' 58348e37bc2Smrgas_executable_p=as_fn_executable_p 5846cf5427aSmrg 5851c43011aSmrg# Sed expression to map a string onto a valid CPP name. 5861c43011aSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5876cf5427aSmrg 5881c43011aSmrg# Sed expression to map a string onto a valid variable name. 5891c43011aSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5906cf5427aSmrg 5916cf5427aSmrg 5921c43011aSmrgtest -n "$DJDIR" || exec 7<&0 </dev/null 5931c43011aSmrgexec 6>&1 5940cc6efb6Smrg 5950cc6efb6Smrg# Name of the host. 5961c43011aSmrg# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 5970cc6efb6Smrg# so uname gets run too. 5980cc6efb6Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 5990cc6efb6Smrg 6000cc6efb6Smrg# 6010cc6efb6Smrg# Initializations. 6020cc6efb6Smrg# 6030cc6efb6Smrgac_default_prefix=/usr/local 6046cf5427aSmrgac_clean_files= 6050cc6efb6Smrgac_config_libobj_dir=. 6066cf5427aSmrgLIBOBJS= 6070cc6efb6Smrgcross_compiling=no 6080cc6efb6Smrgsubdirs= 6090cc6efb6SmrgMFLAGS= 6100cc6efb6SmrgMAKEFLAGS= 6110cc6efb6Smrg 6120cc6efb6Smrg# Identity of this package. 6130cc6efb6SmrgPACKAGE_NAME='font-bh-ttf' 6140cc6efb6SmrgPACKAGE_TARNAME='font-bh-ttf' 61548e37bc2SmrgPACKAGE_VERSION='1.0.4' 61648e37bc2SmrgPACKAGE_STRING='font-bh-ttf 1.0.4' 61748e37bc2SmrgPACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/font/bh-ttf/-/issues' 6181c43011aSmrgPACKAGE_URL='' 6190cc6efb6Smrg 62048e37bc2Smrgac_subst_vars='LTLIBOBJS 6216cf5427aSmrgLIBOBJS 6221c43011aSmrgFC_CONFDIR 6236cf5427aSmrgMKFONTSCALE 6246cf5427aSmrgMKFONTDIR 6256cf5427aSmrgRUN_FCCACHE 6266cf5427aSmrgFCCACHE 6276cf5427aSmrgFONTDIR 6286cf5427aSmrgFONTROOTDIR 6291c43011aSmrgMAN_SUBSTS 6301c43011aSmrgXORG_MAN_PAGE 6316cf5427aSmrgADMIN_MAN_DIR 6326cf5427aSmrgDRIVER_MAN_DIR 6336cf5427aSmrgMISC_MAN_DIR 6346cf5427aSmrgFILE_MAN_DIR 6356cf5427aSmrgLIB_MAN_DIR 6366cf5427aSmrgAPP_MAN_DIR 6376cf5427aSmrgADMIN_MAN_SUFFIX 6386cf5427aSmrgDRIVER_MAN_SUFFIX 6396cf5427aSmrgMISC_MAN_SUFFIX 6406cf5427aSmrgFILE_MAN_SUFFIX 6416cf5427aSmrgLIB_MAN_SUFFIX 6426cf5427aSmrgAPP_MAN_SUFFIX 6431c43011aSmrgSED 6446cf5427aSmrghost_os 6456cf5427aSmrghost_vendor 6466cf5427aSmrghost_cpu 6476cf5427aSmrghost 6486cf5427aSmrgbuild_os 6496cf5427aSmrgbuild_vendor 6506cf5427aSmrgbuild_cpu 6516cf5427aSmrgbuild 6521c43011aSmrgINSTALL_CMD 65348e37bc2SmrgPKG_CONFIG_LIBDIR 65448e37bc2SmrgPKG_CONFIG_PATH 6551c43011aSmrgPKG_CONFIG 6566cf5427aSmrgCHANGELOG_CMD 65748e37bc2SmrgAM_BACKSLASH 65848e37bc2SmrgAM_DEFAULT_VERBOSITY 65948e37bc2SmrgAM_DEFAULT_V 66048e37bc2SmrgAM_V 66148e37bc2SmrgCSCOPE 66248e37bc2SmrgETAGS 66348e37bc2SmrgCTAGS 6646cf5427aSmrgam__untar 6656cf5427aSmrgam__tar 6666cf5427aSmrgAMTAR 6676cf5427aSmrgam__leading_dot 6686cf5427aSmrgSET_MAKE 6696cf5427aSmrgAWK 6706cf5427aSmrgmkdir_p 6716cf5427aSmrgMKDIR_P 6726cf5427aSmrgINSTALL_STRIP_PROGRAM 6736cf5427aSmrgSTRIP 6746cf5427aSmrginstall_sh 6756cf5427aSmrgMAKEINFO 6766cf5427aSmrgAUTOHEADER 6776cf5427aSmrgAUTOMAKE 6786cf5427aSmrgAUTOCONF 6796cf5427aSmrgACLOCAL 6806cf5427aSmrgVERSION 6816cf5427aSmrgPACKAGE 6826cf5427aSmrgCYGPATH_W 6836cf5427aSmrgam__isrc 6846cf5427aSmrgINSTALL_DATA 6856cf5427aSmrgINSTALL_SCRIPT 6866cf5427aSmrgINSTALL_PROGRAM 6876cf5427aSmrgtarget_alias 6886cf5427aSmrghost_alias 6896cf5427aSmrgbuild_alias 6906cf5427aSmrgLIBS 6916cf5427aSmrgECHO_T 6926cf5427aSmrgECHO_N 6936cf5427aSmrgECHO_C 6946cf5427aSmrgDEFS 6956cf5427aSmrgmandir 6966cf5427aSmrglocaledir 6976cf5427aSmrglibdir 6986cf5427aSmrgpsdir 6996cf5427aSmrgpdfdir 7006cf5427aSmrgdvidir 7016cf5427aSmrghtmldir 7026cf5427aSmrginfodir 7036cf5427aSmrgdocdir 7046cf5427aSmrgoldincludedir 7056cf5427aSmrgincludedir 70648e37bc2Smrgrunstatedir 7076cf5427aSmrglocalstatedir 7086cf5427aSmrgsharedstatedir 7096cf5427aSmrgsysconfdir 7106cf5427aSmrgdatadir 7116cf5427aSmrgdatarootdir 7126cf5427aSmrglibexecdir 7136cf5427aSmrgsbindir 7146cf5427aSmrgbindir 7156cf5427aSmrgprogram_transform_name 7166cf5427aSmrgprefix 7176cf5427aSmrgexec_prefix 7181c43011aSmrgPACKAGE_URL 7196cf5427aSmrgPACKAGE_BUGREPORT 7206cf5427aSmrgPACKAGE_STRING 7216cf5427aSmrgPACKAGE_VERSION 7226cf5427aSmrgPACKAGE_TARNAME 7236cf5427aSmrgPACKAGE_NAME 7246cf5427aSmrgPATH_SEPARATOR 7256cf5427aSmrgSHELL' 7260cc6efb6Smrgac_subst_files='' 7276cf5427aSmrgac_user_opts=' 7286cf5427aSmrgenable_option_checking 7291c43011aSmrgenable_silent_rules 7306cf5427aSmrgwith_fontrootdir 7316cf5427aSmrgwith_fontdir 7321c43011aSmrgwith_fc_confdir 7336cf5427aSmrg' 7346cf5427aSmrg ac_precious_vars='build_alias 7356cf5427aSmrghost_alias 7366cf5427aSmrgtarget_alias 73748e37bc2SmrgPKG_CONFIG 73848e37bc2SmrgPKG_CONFIG_PATH 73948e37bc2SmrgPKG_CONFIG_LIBDIR' 7406cf5427aSmrg 7410cc6efb6Smrg 7420cc6efb6Smrg# Initialize some variables set by options. 7430cc6efb6Smrgac_init_help= 7440cc6efb6Smrgac_init_version=false 7456cf5427aSmrgac_unrecognized_opts= 7466cf5427aSmrgac_unrecognized_sep= 7470cc6efb6Smrg# The variables have the same names as the options, with 7480cc6efb6Smrg# dashes changed to underlines. 7490cc6efb6Smrgcache_file=/dev/null 7500cc6efb6Smrgexec_prefix=NONE 7510cc6efb6Smrgno_create= 7520cc6efb6Smrgno_recursion= 7530cc6efb6Smrgprefix=NONE 7540cc6efb6Smrgprogram_prefix=NONE 7550cc6efb6Smrgprogram_suffix=NONE 7560cc6efb6Smrgprogram_transform_name=s,x,x, 7570cc6efb6Smrgsilent= 7580cc6efb6Smrgsite= 7590cc6efb6Smrgsrcdir= 7600cc6efb6Smrgverbose= 7610cc6efb6Smrgx_includes=NONE 7620cc6efb6Smrgx_libraries=NONE 7630cc6efb6Smrg 7640cc6efb6Smrg# Installation directory options. 7650cc6efb6Smrg# These are left unexpanded so users can "make install exec_prefix=/foo" 7660cc6efb6Smrg# and all the variables that are supposed to be based on exec_prefix 7670cc6efb6Smrg# by default will actually change. 7680cc6efb6Smrg# Use braces instead of parens because sh, perl, etc. also accept them. 7696cf5427aSmrg# (The list follows the same order as the GNU Coding Standards.) 7700cc6efb6Smrgbindir='${exec_prefix}/bin' 7710cc6efb6Smrgsbindir='${exec_prefix}/sbin' 7720cc6efb6Smrglibexecdir='${exec_prefix}/libexec' 7736cf5427aSmrgdatarootdir='${prefix}/share' 7746cf5427aSmrgdatadir='${datarootdir}' 7750cc6efb6Smrgsysconfdir='${prefix}/etc' 7760cc6efb6Smrgsharedstatedir='${prefix}/com' 7770cc6efb6Smrglocalstatedir='${prefix}/var' 77848e37bc2Smrgrunstatedir='${localstatedir}/run' 7790cc6efb6Smrgincludedir='${prefix}/include' 7800cc6efb6Smrgoldincludedir='/usr/include' 7816cf5427aSmrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 7826cf5427aSmrginfodir='${datarootdir}/info' 7836cf5427aSmrghtmldir='${docdir}' 7846cf5427aSmrgdvidir='${docdir}' 7856cf5427aSmrgpdfdir='${docdir}' 7866cf5427aSmrgpsdir='${docdir}' 7876cf5427aSmrglibdir='${exec_prefix}/lib' 7886cf5427aSmrglocaledir='${datarootdir}/locale' 7896cf5427aSmrgmandir='${datarootdir}/man' 7900cc6efb6Smrg 7910cc6efb6Smrgac_prev= 7926cf5427aSmrgac_dashdash= 7930cc6efb6Smrgfor ac_option 7940cc6efb6Smrgdo 7950cc6efb6Smrg # If the previous option needs an argument, assign it. 7960cc6efb6Smrg if test -n "$ac_prev"; then 7976cf5427aSmrg eval $ac_prev=\$ac_option 7980cc6efb6Smrg ac_prev= 7990cc6efb6Smrg continue 8000cc6efb6Smrg fi 8010cc6efb6Smrg 8026cf5427aSmrg case $ac_option in 8031c43011aSmrg *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 8041c43011aSmrg *=) ac_optarg= ;; 8051c43011aSmrg *) ac_optarg=yes ;; 8066cf5427aSmrg esac 8070cc6efb6Smrg 8086cf5427aSmrg case $ac_dashdash$ac_option in 8096cf5427aSmrg --) 8106cf5427aSmrg ac_dashdash=yes ;; 8110cc6efb6Smrg 8120cc6efb6Smrg -bindir | --bindir | --bindi | --bind | --bin | --bi) 8130cc6efb6Smrg ac_prev=bindir ;; 8140cc6efb6Smrg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 8150cc6efb6Smrg bindir=$ac_optarg ;; 8160cc6efb6Smrg 8170cc6efb6Smrg -build | --build | --buil | --bui | --bu) 8180cc6efb6Smrg ac_prev=build_alias ;; 8190cc6efb6Smrg -build=* | --build=* | --buil=* | --bui=* | --bu=*) 8200cc6efb6Smrg build_alias=$ac_optarg ;; 8210cc6efb6Smrg 8220cc6efb6Smrg -cache-file | --cache-file | --cache-fil | --cache-fi \ 8230cc6efb6Smrg | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 8240cc6efb6Smrg ac_prev=cache_file ;; 8250cc6efb6Smrg -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 8260cc6efb6Smrg | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 8270cc6efb6Smrg cache_file=$ac_optarg ;; 8280cc6efb6Smrg 8290cc6efb6Smrg --config-cache | -C) 8300cc6efb6Smrg cache_file=config.cache ;; 8310cc6efb6Smrg 8326cf5427aSmrg -datadir | --datadir | --datadi | --datad) 8330cc6efb6Smrg ac_prev=datadir ;; 8346cf5427aSmrg -datadir=* | --datadir=* | --datadi=* | --datad=*) 8350cc6efb6Smrg datadir=$ac_optarg ;; 8360cc6efb6Smrg 8376cf5427aSmrg -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 8386cf5427aSmrg | --dataroo | --dataro | --datar) 8396cf5427aSmrg ac_prev=datarootdir ;; 8406cf5427aSmrg -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 8416cf5427aSmrg | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 8426cf5427aSmrg datarootdir=$ac_optarg ;; 8436cf5427aSmrg 8440cc6efb6Smrg -disable-* | --disable-*) 8456cf5427aSmrg ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 8460cc6efb6Smrg # Reject names that are not valid shell variable names. 8476cf5427aSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 84848e37bc2Smrg as_fn_error $? "invalid feature name: \`$ac_useropt'" 8496cf5427aSmrg ac_useropt_orig=$ac_useropt 85048e37bc2Smrg ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 8516cf5427aSmrg case $ac_user_opts in 8526cf5427aSmrg *" 8536cf5427aSmrg"enable_$ac_useropt" 8546cf5427aSmrg"*) ;; 8556cf5427aSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 8566cf5427aSmrg ac_unrecognized_sep=', ';; 8576cf5427aSmrg esac 8586cf5427aSmrg eval enable_$ac_useropt=no ;; 8596cf5427aSmrg 8606cf5427aSmrg -docdir | --docdir | --docdi | --doc | --do) 8616cf5427aSmrg ac_prev=docdir ;; 8626cf5427aSmrg -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 8636cf5427aSmrg docdir=$ac_optarg ;; 8646cf5427aSmrg 8656cf5427aSmrg -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 8666cf5427aSmrg ac_prev=dvidir ;; 8676cf5427aSmrg -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 8686cf5427aSmrg dvidir=$ac_optarg ;; 8690cc6efb6Smrg 8700cc6efb6Smrg -enable-* | --enable-*) 8716cf5427aSmrg ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 8720cc6efb6Smrg # Reject names that are not valid shell variable names. 8736cf5427aSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 87448e37bc2Smrg as_fn_error $? "invalid feature name: \`$ac_useropt'" 8756cf5427aSmrg ac_useropt_orig=$ac_useropt 87648e37bc2Smrg ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 8776cf5427aSmrg case $ac_user_opts in 8786cf5427aSmrg *" 8796cf5427aSmrg"enable_$ac_useropt" 8806cf5427aSmrg"*) ;; 8816cf5427aSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 8826cf5427aSmrg ac_unrecognized_sep=', ';; 8830cc6efb6Smrg esac 8846cf5427aSmrg eval enable_$ac_useropt=\$ac_optarg ;; 8850cc6efb6Smrg 8860cc6efb6Smrg -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 8870cc6efb6Smrg | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 8880cc6efb6Smrg | --exec | --exe | --ex) 8890cc6efb6Smrg ac_prev=exec_prefix ;; 8900cc6efb6Smrg -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 8910cc6efb6Smrg | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 8920cc6efb6Smrg | --exec=* | --exe=* | --ex=*) 8930cc6efb6Smrg exec_prefix=$ac_optarg ;; 8940cc6efb6Smrg 8950cc6efb6Smrg -gas | --gas | --ga | --g) 8960cc6efb6Smrg # Obsolete; use --with-gas. 8970cc6efb6Smrg with_gas=yes ;; 8980cc6efb6Smrg 8990cc6efb6Smrg -help | --help | --hel | --he | -h) 9000cc6efb6Smrg ac_init_help=long ;; 9010cc6efb6Smrg -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 9020cc6efb6Smrg ac_init_help=recursive ;; 9030cc6efb6Smrg -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 9040cc6efb6Smrg ac_init_help=short ;; 9050cc6efb6Smrg 9060cc6efb6Smrg -host | --host | --hos | --ho) 9070cc6efb6Smrg ac_prev=host_alias ;; 9080cc6efb6Smrg -host=* | --host=* | --hos=* | --ho=*) 9090cc6efb6Smrg host_alias=$ac_optarg ;; 9100cc6efb6Smrg 9116cf5427aSmrg -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 9126cf5427aSmrg ac_prev=htmldir ;; 9136cf5427aSmrg -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 9146cf5427aSmrg | --ht=*) 9156cf5427aSmrg htmldir=$ac_optarg ;; 9166cf5427aSmrg 9170cc6efb6Smrg -includedir | --includedir | --includedi | --included | --include \ 9180cc6efb6Smrg | --includ | --inclu | --incl | --inc) 9190cc6efb6Smrg ac_prev=includedir ;; 9200cc6efb6Smrg -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 9210cc6efb6Smrg | --includ=* | --inclu=* | --incl=* | --inc=*) 9220cc6efb6Smrg includedir=$ac_optarg ;; 9230cc6efb6Smrg 9240cc6efb6Smrg -infodir | --infodir | --infodi | --infod | --info | --inf) 9250cc6efb6Smrg ac_prev=infodir ;; 9260cc6efb6Smrg -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 9270cc6efb6Smrg infodir=$ac_optarg ;; 9280cc6efb6Smrg 9290cc6efb6Smrg -libdir | --libdir | --libdi | --libd) 9300cc6efb6Smrg ac_prev=libdir ;; 9310cc6efb6Smrg -libdir=* | --libdir=* | --libdi=* | --libd=*) 9320cc6efb6Smrg libdir=$ac_optarg ;; 9330cc6efb6Smrg 9340cc6efb6Smrg -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 9350cc6efb6Smrg | --libexe | --libex | --libe) 9360cc6efb6Smrg ac_prev=libexecdir ;; 9370cc6efb6Smrg -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 9380cc6efb6Smrg | --libexe=* | --libex=* | --libe=*) 9390cc6efb6Smrg libexecdir=$ac_optarg ;; 9400cc6efb6Smrg 9416cf5427aSmrg -localedir | --localedir | --localedi | --localed | --locale) 9426cf5427aSmrg ac_prev=localedir ;; 9436cf5427aSmrg -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 9446cf5427aSmrg localedir=$ac_optarg ;; 9456cf5427aSmrg 9460cc6efb6Smrg -localstatedir | --localstatedir | --localstatedi | --localstated \ 9476cf5427aSmrg | --localstate | --localstat | --localsta | --localst | --locals) 9480cc6efb6Smrg ac_prev=localstatedir ;; 9490cc6efb6Smrg -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 9506cf5427aSmrg | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 9510cc6efb6Smrg localstatedir=$ac_optarg ;; 9520cc6efb6Smrg 9530cc6efb6Smrg -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 9540cc6efb6Smrg ac_prev=mandir ;; 9550cc6efb6Smrg -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 9560cc6efb6Smrg mandir=$ac_optarg ;; 9570cc6efb6Smrg 9580cc6efb6Smrg -nfp | --nfp | --nf) 9590cc6efb6Smrg # Obsolete; use --without-fp. 9600cc6efb6Smrg with_fp=no ;; 9610cc6efb6Smrg 9620cc6efb6Smrg -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 9630cc6efb6Smrg | --no-cr | --no-c | -n) 9640cc6efb6Smrg no_create=yes ;; 9650cc6efb6Smrg 9660cc6efb6Smrg -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 9670cc6efb6Smrg | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 9680cc6efb6Smrg no_recursion=yes ;; 9690cc6efb6Smrg 9700cc6efb6Smrg -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 9710cc6efb6Smrg | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 9720cc6efb6Smrg | --oldin | --oldi | --old | --ol | --o) 9730cc6efb6Smrg ac_prev=oldincludedir ;; 9740cc6efb6Smrg -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 9750cc6efb6Smrg | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 9760cc6efb6Smrg | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 9770cc6efb6Smrg oldincludedir=$ac_optarg ;; 9780cc6efb6Smrg 9790cc6efb6Smrg -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 9800cc6efb6Smrg ac_prev=prefix ;; 9810cc6efb6Smrg -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 9820cc6efb6Smrg prefix=$ac_optarg ;; 9830cc6efb6Smrg 9840cc6efb6Smrg -program-prefix | --program-prefix | --program-prefi | --program-pref \ 9850cc6efb6Smrg | --program-pre | --program-pr | --program-p) 9860cc6efb6Smrg ac_prev=program_prefix ;; 9870cc6efb6Smrg -program-prefix=* | --program-prefix=* | --program-prefi=* \ 9880cc6efb6Smrg | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 9890cc6efb6Smrg program_prefix=$ac_optarg ;; 9900cc6efb6Smrg 9910cc6efb6Smrg -program-suffix | --program-suffix | --program-suffi | --program-suff \ 9920cc6efb6Smrg | --program-suf | --program-su | --program-s) 9930cc6efb6Smrg ac_prev=program_suffix ;; 9940cc6efb6Smrg -program-suffix=* | --program-suffix=* | --program-suffi=* \ 9950cc6efb6Smrg | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 9960cc6efb6Smrg program_suffix=$ac_optarg ;; 9970cc6efb6Smrg 9980cc6efb6Smrg -program-transform-name | --program-transform-name \ 9990cc6efb6Smrg | --program-transform-nam | --program-transform-na \ 10000cc6efb6Smrg | --program-transform-n | --program-transform- \ 10010cc6efb6Smrg | --program-transform | --program-transfor \ 10020cc6efb6Smrg | --program-transfo | --program-transf \ 10030cc6efb6Smrg | --program-trans | --program-tran \ 10040cc6efb6Smrg | --progr-tra | --program-tr | --program-t) 10050cc6efb6Smrg ac_prev=program_transform_name ;; 10060cc6efb6Smrg -program-transform-name=* | --program-transform-name=* \ 10070cc6efb6Smrg | --program-transform-nam=* | --program-transform-na=* \ 10080cc6efb6Smrg | --program-transform-n=* | --program-transform-=* \ 10090cc6efb6Smrg | --program-transform=* | --program-transfor=* \ 10100cc6efb6Smrg | --program-transfo=* | --program-transf=* \ 10110cc6efb6Smrg | --program-trans=* | --program-tran=* \ 10120cc6efb6Smrg | --progr-tra=* | --program-tr=* | --program-t=*) 10130cc6efb6Smrg program_transform_name=$ac_optarg ;; 10140cc6efb6Smrg 10156cf5427aSmrg -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 10166cf5427aSmrg ac_prev=pdfdir ;; 10176cf5427aSmrg -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 10186cf5427aSmrg pdfdir=$ac_optarg ;; 10196cf5427aSmrg 10206cf5427aSmrg -psdir | --psdir | --psdi | --psd | --ps) 10216cf5427aSmrg ac_prev=psdir ;; 10226cf5427aSmrg -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 10236cf5427aSmrg psdir=$ac_optarg ;; 10246cf5427aSmrg 10250cc6efb6Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 10260cc6efb6Smrg | -silent | --silent | --silen | --sile | --sil) 10270cc6efb6Smrg silent=yes ;; 10280cc6efb6Smrg 102948e37bc2Smrg -runstatedir | --runstatedir | --runstatedi | --runstated \ 103048e37bc2Smrg | --runstate | --runstat | --runsta | --runst | --runs \ 103148e37bc2Smrg | --run | --ru | --r) 103248e37bc2Smrg ac_prev=runstatedir ;; 103348e37bc2Smrg -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 103448e37bc2Smrg | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 103548e37bc2Smrg | --run=* | --ru=* | --r=*) 103648e37bc2Smrg runstatedir=$ac_optarg ;; 103748e37bc2Smrg 10380cc6efb6Smrg -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 10390cc6efb6Smrg ac_prev=sbindir ;; 10400cc6efb6Smrg -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 10410cc6efb6Smrg | --sbi=* | --sb=*) 10420cc6efb6Smrg sbindir=$ac_optarg ;; 10430cc6efb6Smrg 10440cc6efb6Smrg -sharedstatedir | --sharedstatedir | --sharedstatedi \ 10450cc6efb6Smrg | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 10460cc6efb6Smrg | --sharedst | --shareds | --shared | --share | --shar \ 10470cc6efb6Smrg | --sha | --sh) 10480cc6efb6Smrg ac_prev=sharedstatedir ;; 10490cc6efb6Smrg -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 10500cc6efb6Smrg | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 10510cc6efb6Smrg | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 10520cc6efb6Smrg | --sha=* | --sh=*) 10530cc6efb6Smrg sharedstatedir=$ac_optarg ;; 10540cc6efb6Smrg 10550cc6efb6Smrg -site | --site | --sit) 10560cc6efb6Smrg ac_prev=site ;; 10570cc6efb6Smrg -site=* | --site=* | --sit=*) 10580cc6efb6Smrg site=$ac_optarg ;; 10590cc6efb6Smrg 10600cc6efb6Smrg -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 10610cc6efb6Smrg ac_prev=srcdir ;; 10620cc6efb6Smrg -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 10630cc6efb6Smrg srcdir=$ac_optarg ;; 10640cc6efb6Smrg 10650cc6efb6Smrg -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 10660cc6efb6Smrg | --syscon | --sysco | --sysc | --sys | --sy) 10670cc6efb6Smrg ac_prev=sysconfdir ;; 10680cc6efb6Smrg -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 10690cc6efb6Smrg | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 10700cc6efb6Smrg sysconfdir=$ac_optarg ;; 10710cc6efb6Smrg 10720cc6efb6Smrg -target | --target | --targe | --targ | --tar | --ta | --t) 10730cc6efb6Smrg ac_prev=target_alias ;; 10740cc6efb6Smrg -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 10750cc6efb6Smrg target_alias=$ac_optarg ;; 10760cc6efb6Smrg 10770cc6efb6Smrg -v | -verbose | --verbose | --verbos | --verbo | --verb) 10780cc6efb6Smrg verbose=yes ;; 10790cc6efb6Smrg 10800cc6efb6Smrg -version | --version | --versio | --versi | --vers | -V) 10810cc6efb6Smrg ac_init_version=: ;; 10820cc6efb6Smrg 10830cc6efb6Smrg -with-* | --with-*) 10846cf5427aSmrg ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 10850cc6efb6Smrg # Reject names that are not valid shell variable names. 10866cf5427aSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 108748e37bc2Smrg as_fn_error $? "invalid package name: \`$ac_useropt'" 10886cf5427aSmrg ac_useropt_orig=$ac_useropt 108948e37bc2Smrg ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 10906cf5427aSmrg case $ac_user_opts in 10916cf5427aSmrg *" 10926cf5427aSmrg"with_$ac_useropt" 10936cf5427aSmrg"*) ;; 10946cf5427aSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 10956cf5427aSmrg ac_unrecognized_sep=', ';; 10960cc6efb6Smrg esac 10976cf5427aSmrg eval with_$ac_useropt=\$ac_optarg ;; 10980cc6efb6Smrg 10990cc6efb6Smrg -without-* | --without-*) 11006cf5427aSmrg ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 11010cc6efb6Smrg # Reject names that are not valid shell variable names. 11026cf5427aSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 110348e37bc2Smrg as_fn_error $? "invalid package name: \`$ac_useropt'" 11046cf5427aSmrg ac_useropt_orig=$ac_useropt 110548e37bc2Smrg ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 11066cf5427aSmrg case $ac_user_opts in 11076cf5427aSmrg *" 11086cf5427aSmrg"with_$ac_useropt" 11096cf5427aSmrg"*) ;; 11106cf5427aSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 11116cf5427aSmrg ac_unrecognized_sep=', ';; 11126cf5427aSmrg esac 11136cf5427aSmrg eval with_$ac_useropt=no ;; 11140cc6efb6Smrg 11150cc6efb6Smrg --x) 11160cc6efb6Smrg # Obsolete; use --with-x. 11170cc6efb6Smrg with_x=yes ;; 11180cc6efb6Smrg 11190cc6efb6Smrg -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 11200cc6efb6Smrg | --x-incl | --x-inc | --x-in | --x-i) 11210cc6efb6Smrg ac_prev=x_includes ;; 11220cc6efb6Smrg -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 11230cc6efb6Smrg | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 11240cc6efb6Smrg x_includes=$ac_optarg ;; 11250cc6efb6Smrg 11260cc6efb6Smrg -x-libraries | --x-libraries | --x-librarie | --x-librari \ 11270cc6efb6Smrg | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 11280cc6efb6Smrg ac_prev=x_libraries ;; 11290cc6efb6Smrg -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 11300cc6efb6Smrg | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 11310cc6efb6Smrg x_libraries=$ac_optarg ;; 11320cc6efb6Smrg 11331c43011aSmrg -*) as_fn_error $? "unrecognized option: \`$ac_option' 11341c43011aSmrgTry \`$0 --help' for more information" 11350cc6efb6Smrg ;; 11360cc6efb6Smrg 11370cc6efb6Smrg *=*) 11380cc6efb6Smrg ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 11390cc6efb6Smrg # Reject names that are not valid shell variable names. 11401c43011aSmrg case $ac_envvar in #( 11411c43011aSmrg '' | [0-9]* | *[!_$as_cr_alnum]* ) 11421c43011aSmrg as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 11431c43011aSmrg esac 11446cf5427aSmrg eval $ac_envvar=\$ac_optarg 11450cc6efb6Smrg export $ac_envvar ;; 11460cc6efb6Smrg 11470cc6efb6Smrg *) 11480cc6efb6Smrg # FIXME: should be removed in autoconf 3.0. 114948e37bc2Smrg printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2 11500cc6efb6Smrg expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 115148e37bc2Smrg printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 11521c43011aSmrg : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 11530cc6efb6Smrg ;; 11540cc6efb6Smrg 11550cc6efb6Smrg esac 11560cc6efb6Smrgdone 11570cc6efb6Smrg 11580cc6efb6Smrgif test -n "$ac_prev"; then 11590cc6efb6Smrg ac_option=--`echo $ac_prev | sed 's/_/-/g'` 11601c43011aSmrg as_fn_error $? "missing argument to $ac_option" 11610cc6efb6Smrgfi 11620cc6efb6Smrg 11636cf5427aSmrgif test -n "$ac_unrecognized_opts"; then 11646cf5427aSmrg case $enable_option_checking in 11656cf5427aSmrg no) ;; 11661c43011aSmrg fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 116748e37bc2Smrg *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 11680cc6efb6Smrg esac 11696cf5427aSmrgfi 11700cc6efb6Smrg 11716cf5427aSmrg# Check all directory arguments for consistency. 11726cf5427aSmrgfor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 11736cf5427aSmrg datadir sysconfdir sharedstatedir localstatedir includedir \ 11746cf5427aSmrg oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 117548e37bc2Smrg libdir localedir mandir runstatedir 11760cc6efb6Smrgdo 11776cf5427aSmrg eval ac_val=\$$ac_var 11786cf5427aSmrg # Remove trailing slashes. 11790cc6efb6Smrg case $ac_val in 11806cf5427aSmrg */ ) 11816cf5427aSmrg ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 11826cf5427aSmrg eval $ac_var=\$ac_val;; 11836cf5427aSmrg esac 11846cf5427aSmrg # Be sure to have absolute directory names. 11856cf5427aSmrg case $ac_val in 11866cf5427aSmrg [\\/$]* | ?:[\\/]* ) continue;; 11876cf5427aSmrg NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 11880cc6efb6Smrg esac 11891c43011aSmrg as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 11900cc6efb6Smrgdone 11910cc6efb6Smrg 11920cc6efb6Smrg# There might be people who depend on the old broken behavior: `$host' 11930cc6efb6Smrg# used to hold the argument of --host etc. 11940cc6efb6Smrg# FIXME: To remove some day. 11950cc6efb6Smrgbuild=$build_alias 11960cc6efb6Smrghost=$host_alias 11970cc6efb6Smrgtarget=$target_alias 11980cc6efb6Smrg 11990cc6efb6Smrg# FIXME: To remove some day. 12000cc6efb6Smrgif test "x$host_alias" != x; then 12010cc6efb6Smrg if test "x$build_alias" = x; then 12020cc6efb6Smrg cross_compiling=maybe 12030cc6efb6Smrg elif test "x$build_alias" != "x$host_alias"; then 12040cc6efb6Smrg cross_compiling=yes 12050cc6efb6Smrg fi 12060cc6efb6Smrgfi 12070cc6efb6Smrg 12080cc6efb6Smrgac_tool_prefix= 12090cc6efb6Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias- 12100cc6efb6Smrg 12110cc6efb6Smrgtest "$silent" = yes && exec 6>/dev/null 12120cc6efb6Smrg 12130cc6efb6Smrg 12146cf5427aSmrgac_pwd=`pwd` && test -n "$ac_pwd" && 12156cf5427aSmrgac_ls_di=`ls -di .` && 12166cf5427aSmrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 12171c43011aSmrg as_fn_error $? "working directory cannot be determined" 12186cf5427aSmrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" || 12191c43011aSmrg as_fn_error $? "pwd does not report name of working directory" 12206cf5427aSmrg 12216cf5427aSmrg 12220cc6efb6Smrg# Find the source files, if location was not specified. 12230cc6efb6Smrgif test -z "$srcdir"; then 12240cc6efb6Smrg ac_srcdir_defaulted=yes 12256cf5427aSmrg # Try the directory containing this script, then the parent directory. 12266cf5427aSmrg ac_confdir=`$as_dirname -- "$as_myself" || 12276cf5427aSmrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12286cf5427aSmrg X"$as_myself" : 'X\(//\)[^/]' \| \ 12296cf5427aSmrg X"$as_myself" : 'X\(//\)$' \| \ 12306cf5427aSmrg X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 123148e37bc2Smrgprintf "%s\n" X"$as_myself" | 12326cf5427aSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12336cf5427aSmrg s//\1/ 12346cf5427aSmrg q 12356cf5427aSmrg } 12366cf5427aSmrg /^X\(\/\/\)[^/].*/{ 12376cf5427aSmrg s//\1/ 12386cf5427aSmrg q 12396cf5427aSmrg } 12406cf5427aSmrg /^X\(\/\/\)$/{ 12416cf5427aSmrg s//\1/ 12426cf5427aSmrg q 12436cf5427aSmrg } 12446cf5427aSmrg /^X\(\/\).*/{ 12456cf5427aSmrg s//\1/ 12466cf5427aSmrg q 12476cf5427aSmrg } 12486cf5427aSmrg s/.*/./; q'` 12490cc6efb6Smrg srcdir=$ac_confdir 12506cf5427aSmrg if test ! -r "$srcdir/$ac_unique_file"; then 12510cc6efb6Smrg srcdir=.. 12520cc6efb6Smrg fi 12530cc6efb6Smrgelse 12540cc6efb6Smrg ac_srcdir_defaulted=no 12550cc6efb6Smrgfi 12566cf5427aSmrgif test ! -r "$srcdir/$ac_unique_file"; then 12576cf5427aSmrg test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 12581c43011aSmrg as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 12590cc6efb6Smrgfi 12606cf5427aSmrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 12616cf5427aSmrgac_abs_confdir=`( 12621c43011aSmrg cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 12636cf5427aSmrg pwd)` 12646cf5427aSmrg# When building in place, set srcdir=. 12656cf5427aSmrgif test "$ac_abs_confdir" = "$ac_pwd"; then 12666cf5427aSmrg srcdir=. 12676cf5427aSmrgfi 12686cf5427aSmrg# Remove unnecessary trailing slashes from srcdir. 12696cf5427aSmrg# Double slashes in file names in object file debugging info 12706cf5427aSmrg# mess up M-x gdb in Emacs. 12716cf5427aSmrgcase $srcdir in 12726cf5427aSmrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 12736cf5427aSmrgesac 12746cf5427aSmrgfor ac_var in $ac_precious_vars; do 12756cf5427aSmrg eval ac_env_${ac_var}_set=\${${ac_var}+set} 12766cf5427aSmrg eval ac_env_${ac_var}_value=\$${ac_var} 12776cf5427aSmrg eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 12786cf5427aSmrg eval ac_cv_env_${ac_var}_value=\$${ac_var} 12796cf5427aSmrgdone 12800cc6efb6Smrg 12810cc6efb6Smrg# 12820cc6efb6Smrg# Report the --help message. 12830cc6efb6Smrg# 12840cc6efb6Smrgif test "$ac_init_help" = "long"; then 12850cc6efb6Smrg # Omit some internal or obsolete options to make the list less imposing. 12860cc6efb6Smrg # This message is too long to be a string in the A/UX 3.1 sh. 12870cc6efb6Smrg cat <<_ACEOF 128848e37bc2Smrg\`configure' configures font-bh-ttf 1.0.4 to adapt to many kinds of systems. 12890cc6efb6Smrg 12900cc6efb6SmrgUsage: $0 [OPTION]... [VAR=VALUE]... 12910cc6efb6Smrg 12920cc6efb6SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as 12930cc6efb6SmrgVAR=VALUE. See below for descriptions of some of the useful variables. 12940cc6efb6Smrg 12950cc6efb6SmrgDefaults for the options are specified in brackets. 12960cc6efb6Smrg 12970cc6efb6SmrgConfiguration: 12980cc6efb6Smrg -h, --help display this help and exit 12990cc6efb6Smrg --help=short display options specific to this package 13000cc6efb6Smrg --help=recursive display the short help of all the included packages 13010cc6efb6Smrg -V, --version display version information and exit 13021c43011aSmrg -q, --quiet, --silent do not print \`checking ...' messages 13030cc6efb6Smrg --cache-file=FILE cache test results in FILE [disabled] 13040cc6efb6Smrg -C, --config-cache alias for \`--cache-file=config.cache' 13050cc6efb6Smrg -n, --no-create do not create output files 13060cc6efb6Smrg --srcdir=DIR find the sources in DIR [configure dir or \`..'] 13070cc6efb6Smrg 13080cc6efb6SmrgInstallation directories: 13090cc6efb6Smrg --prefix=PREFIX install architecture-independent files in PREFIX 13106cf5427aSmrg [$ac_default_prefix] 13110cc6efb6Smrg --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 13126cf5427aSmrg [PREFIX] 13130cc6efb6Smrg 13140cc6efb6SmrgBy default, \`make install' will install all the files in 13150cc6efb6Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 13160cc6efb6Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix', 13170cc6efb6Smrgfor instance \`--prefix=\$HOME'. 13180cc6efb6Smrg 13190cc6efb6SmrgFor better control, use the options below. 13200cc6efb6Smrg 13210cc6efb6SmrgFine tuning of the installation directories: 13226cf5427aSmrg --bindir=DIR user executables [EPREFIX/bin] 13236cf5427aSmrg --sbindir=DIR system admin executables [EPREFIX/sbin] 13246cf5427aSmrg --libexecdir=DIR program executables [EPREFIX/libexec] 13256cf5427aSmrg --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 13266cf5427aSmrg --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 13276cf5427aSmrg --localstatedir=DIR modifiable single-machine data [PREFIX/var] 132848e37bc2Smrg --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 13296cf5427aSmrg --libdir=DIR object code libraries [EPREFIX/lib] 13306cf5427aSmrg --includedir=DIR C header files [PREFIX/include] 13316cf5427aSmrg --oldincludedir=DIR C header files for non-gcc [/usr/include] 13326cf5427aSmrg --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 13336cf5427aSmrg --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 13346cf5427aSmrg --infodir=DIR info documentation [DATAROOTDIR/info] 13356cf5427aSmrg --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 13366cf5427aSmrg --mandir=DIR man documentation [DATAROOTDIR/man] 13376cf5427aSmrg --docdir=DIR documentation root [DATAROOTDIR/doc/font-bh-ttf] 13386cf5427aSmrg --htmldir=DIR html documentation [DOCDIR] 13396cf5427aSmrg --dvidir=DIR dvi documentation [DOCDIR] 13406cf5427aSmrg --pdfdir=DIR pdf documentation [DOCDIR] 13416cf5427aSmrg --psdir=DIR ps documentation [DOCDIR] 13420cc6efb6Smrg_ACEOF 13430cc6efb6Smrg 13440cc6efb6Smrg cat <<\_ACEOF 13450cc6efb6Smrg 13460cc6efb6SmrgProgram names: 13470cc6efb6Smrg --program-prefix=PREFIX prepend PREFIX to installed program names 13480cc6efb6Smrg --program-suffix=SUFFIX append SUFFIX to installed program names 13490cc6efb6Smrg --program-transform-name=PROGRAM run sed PROGRAM on installed program names 13506cf5427aSmrg 13516cf5427aSmrgSystem types: 13526cf5427aSmrg --build=BUILD configure for building on BUILD [guessed] 13536cf5427aSmrg --host=HOST cross-compile to build programs to run on HOST [BUILD] 13540cc6efb6Smrg_ACEOF 13550cc6efb6Smrgfi 13560cc6efb6Smrg 13570cc6efb6Smrgif test -n "$ac_init_help"; then 13580cc6efb6Smrg case $ac_init_help in 135948e37bc2Smrg short | recursive ) echo "Configuration of font-bh-ttf 1.0.4:";; 13600cc6efb6Smrg esac 13610cc6efb6Smrg cat <<\_ACEOF 13620cc6efb6Smrg 13630cc6efb6SmrgOptional Features: 13646cf5427aSmrg --disable-option-checking ignore unrecognized --enable/--with options 13650cc6efb6Smrg --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 13660cc6efb6Smrg --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 136748e37bc2Smrg --enable-silent-rules less verbose build output (undo: "make V=1") 136848e37bc2Smrg --disable-silent-rules verbose build output (undo: "make V=0") 13690cc6efb6Smrg 13700cc6efb6SmrgOptional Packages: 13710cc6efb6Smrg --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 13720cc6efb6Smrg --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 13736cf5427aSmrg --with-fontrootdir=DIR Path to root directory for font files 13746cf5427aSmrg --with-fontdir=DIR Path to TTF files [FONTROOTDIR/TTF] 13751c43011aSmrg --with-fc-confdir=DIR Path to fontconfig's configuration directory 13766cf5427aSmrg 13776cf5427aSmrgSome influential environment variables: 13786cf5427aSmrg PKG_CONFIG path to pkg-config utility 137948e37bc2Smrg PKG_CONFIG_PATH 138048e37bc2Smrg directories to add to pkg-config's search path 138148e37bc2Smrg PKG_CONFIG_LIBDIR 138248e37bc2Smrg path overriding pkg-config's built-in search path 13836cf5427aSmrg 13846cf5427aSmrgUse these variables to override the choices made by `configure' or to help 13856cf5427aSmrgit to find libraries and programs with nonstandard names/locations. 13860cc6efb6Smrg 138748e37bc2SmrgReport bugs to <https://gitlab.freedesktop.org/xorg/font/bh-ttf/-/issues>. 13880cc6efb6Smrg_ACEOF 13896cf5427aSmrgac_status=$? 13900cc6efb6Smrgfi 13910cc6efb6Smrg 13920cc6efb6Smrgif test "$ac_init_help" = "recursive"; then 13930cc6efb6Smrg # If there are subdirs, report their specific --help. 13940cc6efb6Smrg for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 13956cf5427aSmrg test -d "$ac_dir" || 13966cf5427aSmrg { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 13976cf5427aSmrg continue 13980cc6efb6Smrg ac_builddir=. 13990cc6efb6Smrg 14006cf5427aSmrgcase "$ac_dir" in 14016cf5427aSmrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 14026cf5427aSmrg*) 140348e37bc2Smrg ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 14046cf5427aSmrg # A ".." for each directory in $ac_dir_suffix. 140548e37bc2Smrg ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 14066cf5427aSmrg case $ac_top_builddir_sub in 14076cf5427aSmrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 14086cf5427aSmrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 14096cf5427aSmrg esac ;; 14106cf5427aSmrgesac 14116cf5427aSmrgac_abs_top_builddir=$ac_pwd 14126cf5427aSmrgac_abs_builddir=$ac_pwd$ac_dir_suffix 14136cf5427aSmrg# for backward compatibility: 14146cf5427aSmrgac_top_builddir=$ac_top_build_prefix 14150cc6efb6Smrg 14160cc6efb6Smrgcase $srcdir in 14176cf5427aSmrg .) # We are building in place. 14180cc6efb6Smrg ac_srcdir=. 14196cf5427aSmrg ac_top_srcdir=$ac_top_builddir_sub 14206cf5427aSmrg ac_abs_top_srcdir=$ac_pwd ;; 14216cf5427aSmrg [\\/]* | ?:[\\/]* ) # Absolute name. 14220cc6efb6Smrg ac_srcdir=$srcdir$ac_dir_suffix; 14236cf5427aSmrg ac_top_srcdir=$srcdir 14246cf5427aSmrg ac_abs_top_srcdir=$srcdir ;; 14256cf5427aSmrg *) # Relative name. 14266cf5427aSmrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 14276cf5427aSmrg ac_top_srcdir=$ac_top_build_prefix$srcdir 14286cf5427aSmrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 14290cc6efb6Smrgesac 14306cf5427aSmrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 14316cf5427aSmrg 14326cf5427aSmrg cd "$ac_dir" || { ac_status=$?; continue; } 143348e37bc2Smrg # Check for configure.gnu first; this name is used for a wrapper for 143448e37bc2Smrg # Metaconfig's "Configure" on case-insensitive file systems. 14356cf5427aSmrg if test -f "$ac_srcdir/configure.gnu"; then 14366cf5427aSmrg echo && 14376cf5427aSmrg $SHELL "$ac_srcdir/configure.gnu" --help=recursive 14386cf5427aSmrg elif test -f "$ac_srcdir/configure"; then 14396cf5427aSmrg echo && 14406cf5427aSmrg $SHELL "$ac_srcdir/configure" --help=recursive 14410cc6efb6Smrg else 144248e37bc2Smrg printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2 14436cf5427aSmrg fi || ac_status=$? 14446cf5427aSmrg cd "$ac_pwd" || { ac_status=$?; break; } 14450cc6efb6Smrg done 14460cc6efb6Smrgfi 14470cc6efb6Smrg 14486cf5427aSmrgtest -n "$ac_init_help" && exit $ac_status 14490cc6efb6Smrgif $ac_init_version; then 14500cc6efb6Smrg cat <<\_ACEOF 145148e37bc2Smrgfont-bh-ttf configure 1.0.4 145248e37bc2Smrggenerated by GNU Autoconf 2.71 14530cc6efb6Smrg 145448e37bc2SmrgCopyright (C) 2021 Free Software Foundation, Inc. 14550cc6efb6SmrgThis configure script is free software; the Free Software Foundation 14560cc6efb6Smrggives unlimited permission to copy, distribute and modify it. 14570cc6efb6Smrg_ACEOF 14586cf5427aSmrg exit 14590cc6efb6Smrgfi 14600cc6efb6Smrg 14611c43011aSmrg## ------------------------ ## 14621c43011aSmrg## Autoconf initialization. ## 14631c43011aSmrg## ------------------------ ## 146448e37bc2Smrgac_configure_args_raw= 146548e37bc2Smrgfor ac_arg 146648e37bc2Smrgdo 146748e37bc2Smrg case $ac_arg in 146848e37bc2Smrg *\'*) 146948e37bc2Smrg ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 147048e37bc2Smrg esac 147148e37bc2Smrg as_fn_append ac_configure_args_raw " '$ac_arg'" 147248e37bc2Smrgdone 14730cc6efb6Smrg 147448e37bc2Smrgcase $ac_configure_args_raw in 147548e37bc2Smrg *$as_nl*) 147648e37bc2Smrg ac_safe_unquote= ;; 147748e37bc2Smrg *) 147848e37bc2Smrg ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. 147948e37bc2Smrg ac_unsafe_a="$ac_unsafe_z#~" 148048e37bc2Smrg ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" 148148e37bc2Smrg ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;; 14821c43011aSmrgesac 14831c43011aSmrg 14841c43011aSmrgcat >config.log <<_ACEOF 14851c43011aSmrgThis file contains any messages produced by compilers while 14861c43011aSmrgrunning configure, to aid debugging if configure makes a mistake. 14871c43011aSmrg 148848e37bc2SmrgIt was created by font-bh-ttf $as_me 1.0.4, which was 148948e37bc2Smrggenerated by GNU Autoconf 2.71. Invocation command line was 14901c43011aSmrg 149148e37bc2Smrg $ $0$ac_configure_args_raw 14921c43011aSmrg 14931c43011aSmrg_ACEOF 14941c43011aSmrgexec 5>>config.log 14951c43011aSmrg{ 14961c43011aSmrgcat <<_ASUNAME 14971c43011aSmrg## --------- ## 14981c43011aSmrg## Platform. ## 14991c43011aSmrg## --------- ## 15001c43011aSmrg 15011c43011aSmrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 15021c43011aSmrguname -m = `(uname -m) 2>/dev/null || echo unknown` 15031c43011aSmrguname -r = `(uname -r) 2>/dev/null || echo unknown` 15041c43011aSmrguname -s = `(uname -s) 2>/dev/null || echo unknown` 15051c43011aSmrguname -v = `(uname -v) 2>/dev/null || echo unknown` 15061c43011aSmrg 15071c43011aSmrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 15081c43011aSmrg/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 15091c43011aSmrg 15101c43011aSmrg/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 15111c43011aSmrg/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 15121c43011aSmrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 15131c43011aSmrg/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 15141c43011aSmrg/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 15151c43011aSmrg/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 15161c43011aSmrg/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 15171c43011aSmrg 15181c43011aSmrg_ASUNAME 15191c43011aSmrg 15201c43011aSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15211c43011aSmrgfor as_dir in $PATH 15220cc6efb6Smrgdo 15230cc6efb6Smrg IFS=$as_save_IFS 152448e37bc2Smrg case $as_dir in #((( 152548e37bc2Smrg '') as_dir=./ ;; 152648e37bc2Smrg */) ;; 152748e37bc2Smrg *) as_dir=$as_dir/ ;; 152848e37bc2Smrg esac 152948e37bc2Smrg printf "%s\n" "PATH: $as_dir" 15301c43011aSmrg done 15316cf5427aSmrgIFS=$as_save_IFS 15320cc6efb6Smrg 15330cc6efb6Smrg} >&5 15340cc6efb6Smrg 15350cc6efb6Smrgcat >&5 <<_ACEOF 15360cc6efb6Smrg 15370cc6efb6Smrg 15380cc6efb6Smrg## ----------- ## 15390cc6efb6Smrg## Core tests. ## 15400cc6efb6Smrg## ----------- ## 15410cc6efb6Smrg 15420cc6efb6Smrg_ACEOF 15430cc6efb6Smrg 15440cc6efb6Smrg 15450cc6efb6Smrg# Keep a trace of the command line. 15460cc6efb6Smrg# Strip out --no-create and --no-recursion so they do not pile up. 15470cc6efb6Smrg# Strip out --silent because we don't want to record it for future runs. 15480cc6efb6Smrg# Also quote any args containing shell meta-characters. 15490cc6efb6Smrg# Make two passes to allow for proper duplicate-argument suppression. 15500cc6efb6Smrgac_configure_args= 15510cc6efb6Smrgac_configure_args0= 15520cc6efb6Smrgac_configure_args1= 15530cc6efb6Smrgac_must_keep_next=false 15540cc6efb6Smrgfor ac_pass in 1 2 15550cc6efb6Smrgdo 15560cc6efb6Smrg for ac_arg 15570cc6efb6Smrg do 15580cc6efb6Smrg case $ac_arg in 15590cc6efb6Smrg -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 15600cc6efb6Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 15610cc6efb6Smrg | -silent | --silent | --silen | --sile | --sil) 15620cc6efb6Smrg continue ;; 15636cf5427aSmrg *\'*) 156448e37bc2Smrg ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 15650cc6efb6Smrg esac 15660cc6efb6Smrg case $ac_pass in 15671c43011aSmrg 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 15680cc6efb6Smrg 2) 15691c43011aSmrg as_fn_append ac_configure_args1 " '$ac_arg'" 15700cc6efb6Smrg if test $ac_must_keep_next = true; then 15710cc6efb6Smrg ac_must_keep_next=false # Got value, back to normal. 15720cc6efb6Smrg else 15730cc6efb6Smrg case $ac_arg in 15740cc6efb6Smrg *=* | --config-cache | -C | -disable-* | --disable-* \ 15750cc6efb6Smrg | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 15760cc6efb6Smrg | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 15770cc6efb6Smrg | -with-* | --with-* | -without-* | --without-* | --x) 15780cc6efb6Smrg case "$ac_configure_args0 " in 15790cc6efb6Smrg "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 15800cc6efb6Smrg esac 15810cc6efb6Smrg ;; 15820cc6efb6Smrg -* ) ac_must_keep_next=true ;; 15830cc6efb6Smrg esac 15840cc6efb6Smrg fi 15851c43011aSmrg as_fn_append ac_configure_args " '$ac_arg'" 15860cc6efb6Smrg ;; 15870cc6efb6Smrg esac 15880cc6efb6Smrg done 15890cc6efb6Smrgdone 15901c43011aSmrg{ ac_configure_args0=; unset ac_configure_args0;} 15911c43011aSmrg{ ac_configure_args1=; unset ac_configure_args1;} 15920cc6efb6Smrg 15930cc6efb6Smrg# When interrupted or exit'd, cleanup temporary files, and complete 15940cc6efb6Smrg# config.log. We remove comments because anyway the quotes in there 15950cc6efb6Smrg# would cause problems or look ugly. 15966cf5427aSmrg# WARNING: Use '\'' to represent an apostrophe within the trap. 15976cf5427aSmrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 15980cc6efb6Smrgtrap 'exit_status=$? 159948e37bc2Smrg # Sanitize IFS. 160048e37bc2Smrg IFS=" "" $as_nl" 16010cc6efb6Smrg # Save into config.log some information that might help in debugging. 16020cc6efb6Smrg { 16030cc6efb6Smrg echo 16040cc6efb6Smrg 160548e37bc2Smrg printf "%s\n" "## ---------------- ## 16060cc6efb6Smrg## Cache variables. ## 16071c43011aSmrg## ---------------- ##" 16080cc6efb6Smrg echo 16090cc6efb6Smrg # The following way of writing the cache mishandles newlines in values, 16106cf5427aSmrg( 16116cf5427aSmrg for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 16126cf5427aSmrg eval ac_val=\$$ac_var 16136cf5427aSmrg case $ac_val in #( 16146cf5427aSmrg *${as_nl}*) 16156cf5427aSmrg case $ac_var in #( 161648e37bc2Smrg *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 161748e37bc2Smrgprintf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 16186cf5427aSmrg esac 16196cf5427aSmrg case $ac_var in #( 16206cf5427aSmrg _ | IFS | as_nl) ;; #( 16216cf5427aSmrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 16221c43011aSmrg *) { eval $ac_var=; unset $ac_var;} ;; 16236cf5427aSmrg esac ;; 16246cf5427aSmrg esac 16256cf5427aSmrg done 16260cc6efb6Smrg (set) 2>&1 | 16276cf5427aSmrg case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 16286cf5427aSmrg *${as_nl}ac_space=\ *) 16290cc6efb6Smrg sed -n \ 16306cf5427aSmrg "s/'\''/'\''\\\\'\'''\''/g; 16316cf5427aSmrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 16326cf5427aSmrg ;; #( 16330cc6efb6Smrg *) 16346cf5427aSmrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 16350cc6efb6Smrg ;; 16366cf5427aSmrg esac | 16376cf5427aSmrg sort 16386cf5427aSmrg) 16390cc6efb6Smrg echo 16400cc6efb6Smrg 164148e37bc2Smrg printf "%s\n" "## ----------------- ## 16420cc6efb6Smrg## Output variables. ## 16431c43011aSmrg## ----------------- ##" 16440cc6efb6Smrg echo 16450cc6efb6Smrg for ac_var in $ac_subst_vars 16460cc6efb6Smrg do 16476cf5427aSmrg eval ac_val=\$$ac_var 16486cf5427aSmrg case $ac_val in 164948e37bc2Smrg *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 16506cf5427aSmrg esac 165148e37bc2Smrg printf "%s\n" "$ac_var='\''$ac_val'\''" 16520cc6efb6Smrg done | sort 16530cc6efb6Smrg echo 16540cc6efb6Smrg 16550cc6efb6Smrg if test -n "$ac_subst_files"; then 165648e37bc2Smrg printf "%s\n" "## ------------------- ## 16576cf5427aSmrg## File substitutions. ## 16581c43011aSmrg## ------------------- ##" 16590cc6efb6Smrg echo 16600cc6efb6Smrg for ac_var in $ac_subst_files 16610cc6efb6Smrg do 16626cf5427aSmrg eval ac_val=\$$ac_var 16636cf5427aSmrg case $ac_val in 166448e37bc2Smrg *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 16656cf5427aSmrg esac 166648e37bc2Smrg printf "%s\n" "$ac_var='\''$ac_val'\''" 16670cc6efb6Smrg done | sort 16680cc6efb6Smrg echo 16690cc6efb6Smrg fi 16700cc6efb6Smrg 16710cc6efb6Smrg if test -s confdefs.h; then 167248e37bc2Smrg printf "%s\n" "## ----------- ## 16730cc6efb6Smrg## confdefs.h. ## 16741c43011aSmrg## ----------- ##" 16750cc6efb6Smrg echo 16766cf5427aSmrg cat confdefs.h 16770cc6efb6Smrg echo 16780cc6efb6Smrg fi 16790cc6efb6Smrg test "$ac_signal" != 0 && 168048e37bc2Smrg printf "%s\n" "$as_me: caught signal $ac_signal" 168148e37bc2Smrg printf "%s\n" "$as_me: exit $exit_status" 16820cc6efb6Smrg } >&5 16836cf5427aSmrg rm -f core *.core core.conftest.* && 16846cf5427aSmrg rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 16850cc6efb6Smrg exit $exit_status 16866cf5427aSmrg' 0 16870cc6efb6Smrgfor ac_signal in 1 2 13 15; do 16881c43011aSmrg trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 16890cc6efb6Smrgdone 16900cc6efb6Smrgac_signal=0 16910cc6efb6Smrg 16920cc6efb6Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed. 16936cf5427aSmrgrm -f -r conftest* confdefs.h 16940cc6efb6Smrg 169548e37bc2Smrgprintf "%s\n" "/* confdefs.h */" > confdefs.h 16961c43011aSmrg 16970cc6efb6Smrg# Predefined preprocessor variables. 16980cc6efb6Smrg 169948e37bc2Smrgprintf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h 17000cc6efb6Smrg 170148e37bc2Smrgprintf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h 17020cc6efb6Smrg 170348e37bc2Smrgprintf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h 17040cc6efb6Smrg 170548e37bc2Smrgprintf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h 17060cc6efb6Smrg 170748e37bc2Smrgprintf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h 17080cc6efb6Smrg 170948e37bc2Smrgprintf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h 17101c43011aSmrg 17110cc6efb6Smrg 17120cc6efb6Smrg# Let the site file select an alternate cache file if it wants to. 17136cf5427aSmrg# Prefer an explicitly selected file to automatically selected ones. 17146cf5427aSmrgif test -n "$CONFIG_SITE"; then 171548e37bc2Smrg ac_site_files="$CONFIG_SITE" 17166cf5427aSmrgelif test "x$prefix" != xNONE; then 171748e37bc2Smrg ac_site_files="$prefix/share/config.site $prefix/etc/config.site" 17186cf5427aSmrgelse 171948e37bc2Smrg ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 17200cc6efb6Smrgfi 172148e37bc2Smrg 172248e37bc2Smrgfor ac_site_file in $ac_site_files 17236cf5427aSmrgdo 172448e37bc2Smrg case $ac_site_file in #( 172548e37bc2Smrg */*) : 172648e37bc2Smrg ;; #( 172748e37bc2Smrg *) : 172848e37bc2Smrg ac_site_file=./$ac_site_file ;; 172948e37bc2Smrgesac 173048e37bc2Smrg if test -f "$ac_site_file" && test -r "$ac_site_file"; then 173148e37bc2Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 173248e37bc2Smrgprintf "%s\n" "$as_me: loading site script $ac_site_file" >&6;} 17330cc6efb6Smrg sed 's/^/| /' "$ac_site_file" >&5 17341c43011aSmrg . "$ac_site_file" \ 173548e37bc2Smrg || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 173648e37bc2Smrgprintf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 17371c43011aSmrgas_fn_error $? "failed to load site script $ac_site_file 17381c43011aSmrgSee \`config.log' for more details" "$LINENO" 5; } 17390cc6efb6Smrg fi 17400cc6efb6Smrgdone 17410cc6efb6Smrg 17420cc6efb6Smrgif test -r "$cache_file"; then 17431c43011aSmrg # Some versions of bash will fail to source /dev/null (special files 17441c43011aSmrg # actually), so we avoid doing that. DJGPP emulates it as a regular file. 17451c43011aSmrg if test /dev/null != "$cache_file" && test -f "$cache_file"; then 174648e37bc2Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 174748e37bc2Smrgprintf "%s\n" "$as_me: loading cache $cache_file" >&6;} 17480cc6efb6Smrg case $cache_file in 17496cf5427aSmrg [\\/]* | ?:[\\/]* ) . "$cache_file";; 17506cf5427aSmrg *) . "./$cache_file";; 17510cc6efb6Smrg esac 17520cc6efb6Smrg fi 17530cc6efb6Smrgelse 175448e37bc2Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 175548e37bc2Smrgprintf "%s\n" "$as_me: creating cache $cache_file" >&6;} 17560cc6efb6Smrg >$cache_file 17570cc6efb6Smrgfi 17580cc6efb6Smrg 175948e37bc2Smrg 176048e37bc2Smrg# Auxiliary files required by this configure script. 176148e37bc2Smrgac_aux_files="config.guess config.sub missing install-sh" 176248e37bc2Smrg 176348e37bc2Smrg# Locations in which to look for auxiliary files. 176448e37bc2Smrgac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.." 176548e37bc2Smrg 176648e37bc2Smrg# Search for a directory containing all of the required auxiliary files, 176748e37bc2Smrg# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. 176848e37bc2Smrg# If we don't find one directory that contains all the files we need, 176948e37bc2Smrg# we report the set of missing files from the *first* directory in 177048e37bc2Smrg# $ac_aux_dir_candidates and give up. 177148e37bc2Smrgac_missing_aux_files="" 177248e37bc2Smrgac_first_candidate=: 177348e37bc2Smrgprintf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5 177448e37bc2Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 177548e37bc2Smrgas_found=false 177648e37bc2Smrgfor as_dir in $ac_aux_dir_candidates 177748e37bc2Smrgdo 177848e37bc2Smrg IFS=$as_save_IFS 177948e37bc2Smrg case $as_dir in #((( 178048e37bc2Smrg '') as_dir=./ ;; 178148e37bc2Smrg */) ;; 178248e37bc2Smrg *) as_dir=$as_dir/ ;; 178348e37bc2Smrg esac 178448e37bc2Smrg as_found=: 178548e37bc2Smrg 178648e37bc2Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 178748e37bc2Smrg ac_aux_dir_found=yes 178848e37bc2Smrg ac_install_sh= 178948e37bc2Smrg for ac_aux in $ac_aux_files 179048e37bc2Smrg do 179148e37bc2Smrg # As a special case, if "install-sh" is required, that requirement 179248e37bc2Smrg # can be satisfied by any of "install-sh", "install.sh", or "shtool", 179348e37bc2Smrg # and $ac_install_sh is set appropriately for whichever one is found. 179448e37bc2Smrg if test x"$ac_aux" = x"install-sh" 179548e37bc2Smrg then 179648e37bc2Smrg if test -f "${as_dir}install-sh"; then 179748e37bc2Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5 179848e37bc2Smrg ac_install_sh="${as_dir}install-sh -c" 179948e37bc2Smrg elif test -f "${as_dir}install.sh"; then 180048e37bc2Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5 180148e37bc2Smrg ac_install_sh="${as_dir}install.sh -c" 180248e37bc2Smrg elif test -f "${as_dir}shtool"; then 180348e37bc2Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5 180448e37bc2Smrg ac_install_sh="${as_dir}shtool install -c" 180548e37bc2Smrg else 180648e37bc2Smrg ac_aux_dir_found=no 180748e37bc2Smrg if $ac_first_candidate; then 180848e37bc2Smrg ac_missing_aux_files="${ac_missing_aux_files} install-sh" 180948e37bc2Smrg else 181048e37bc2Smrg break 181148e37bc2Smrg fi 181248e37bc2Smrg fi 181348e37bc2Smrg else 181448e37bc2Smrg if test -f "${as_dir}${ac_aux}"; then 181548e37bc2Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5 181648e37bc2Smrg else 181748e37bc2Smrg ac_aux_dir_found=no 181848e37bc2Smrg if $ac_first_candidate; then 181948e37bc2Smrg ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}" 182048e37bc2Smrg else 182148e37bc2Smrg break 182248e37bc2Smrg fi 182348e37bc2Smrg fi 182448e37bc2Smrg fi 182548e37bc2Smrg done 182648e37bc2Smrg if test "$ac_aux_dir_found" = yes; then 182748e37bc2Smrg ac_aux_dir="$as_dir" 182848e37bc2Smrg break 182948e37bc2Smrg fi 183048e37bc2Smrg ac_first_candidate=false 183148e37bc2Smrg 183248e37bc2Smrg as_found=false 183348e37bc2Smrgdone 183448e37bc2SmrgIFS=$as_save_IFS 183548e37bc2Smrgif $as_found 183648e37bc2Smrgthen : 183748e37bc2Smrg 183848e37bc2Smrgelse $as_nop 183948e37bc2Smrg as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 184048e37bc2Smrgfi 184148e37bc2Smrg 184248e37bc2Smrg 184348e37bc2Smrg# These three variables are undocumented and unsupported, 184448e37bc2Smrg# and are intended to be withdrawn in a future Autoconf release. 184548e37bc2Smrg# They can cause serious problems if a builder's source tree is in a directory 184648e37bc2Smrg# whose full name contains unusual characters. 184748e37bc2Smrgif test -f "${ac_aux_dir}config.guess"; then 184848e37bc2Smrg ac_config_guess="$SHELL ${ac_aux_dir}config.guess" 184948e37bc2Smrgfi 185048e37bc2Smrgif test -f "${ac_aux_dir}config.sub"; then 185148e37bc2Smrg ac_config_sub="$SHELL ${ac_aux_dir}config.sub" 185248e37bc2Smrgfi 185348e37bc2Smrgif test -f "$ac_aux_dir/configure"; then 185448e37bc2Smrg ac_configure="$SHELL ${ac_aux_dir}configure" 185548e37bc2Smrgfi 185648e37bc2Smrg 18570cc6efb6Smrg# Check that the precious variables saved in the cache have kept the same 18580cc6efb6Smrg# value. 18590cc6efb6Smrgac_cache_corrupted=false 18606cf5427aSmrgfor ac_var in $ac_precious_vars; do 18610cc6efb6Smrg eval ac_old_set=\$ac_cv_env_${ac_var}_set 18620cc6efb6Smrg eval ac_new_set=\$ac_env_${ac_var}_set 18636cf5427aSmrg eval ac_old_val=\$ac_cv_env_${ac_var}_value 18646cf5427aSmrg eval ac_new_val=\$ac_env_${ac_var}_value 18650cc6efb6Smrg case $ac_old_set,$ac_new_set in 18660cc6efb6Smrg set,) 186748e37bc2Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 186848e37bc2Smrgprintf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 18690cc6efb6Smrg ac_cache_corrupted=: ;; 18700cc6efb6Smrg ,set) 187148e37bc2Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 187248e37bc2Smrgprintf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 18730cc6efb6Smrg ac_cache_corrupted=: ;; 18740cc6efb6Smrg ,);; 18750cc6efb6Smrg *) 18760cc6efb6Smrg if test "x$ac_old_val" != "x$ac_new_val"; then 18776cf5427aSmrg # differences in whitespace do not lead to failure. 18786cf5427aSmrg ac_old_val_w=`echo x $ac_old_val` 18796cf5427aSmrg ac_new_val_w=`echo x $ac_new_val` 18806cf5427aSmrg if test "$ac_old_val_w" != "$ac_new_val_w"; then 188148e37bc2Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 188248e37bc2Smrgprintf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 18836cf5427aSmrg ac_cache_corrupted=: 18846cf5427aSmrg else 188548e37bc2Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 188648e37bc2Smrgprintf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 18876cf5427aSmrg eval $ac_var=\$ac_old_val 18886cf5427aSmrg fi 188948e37bc2Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 189048e37bc2Smrgprintf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;} 189148e37bc2Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 189248e37bc2Smrgprintf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;} 18930cc6efb6Smrg fi;; 18940cc6efb6Smrg esac 18950cc6efb6Smrg # Pass precious variables to config.status. 18960cc6efb6Smrg if test "$ac_new_set" = set; then 18970cc6efb6Smrg case $ac_new_val in 189848e37bc2Smrg *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 18990cc6efb6Smrg *) ac_arg=$ac_var=$ac_new_val ;; 19000cc6efb6Smrg esac 19010cc6efb6Smrg case " $ac_configure_args " in 19020cc6efb6Smrg *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 19031c43011aSmrg *) as_fn_append ac_configure_args " '$ac_arg'" ;; 19040cc6efb6Smrg esac 19050cc6efb6Smrg fi 19060cc6efb6Smrgdone 19070cc6efb6Smrgif $ac_cache_corrupted; then 190848e37bc2Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 190948e37bc2Smrgprintf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 191048e37bc2Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 191148e37bc2Smrgprintf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;} 191248e37bc2Smrg as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file' 191348e37bc2Smrg and start over" "$LINENO" 5 19140cc6efb6Smrgfi 19151c43011aSmrg## -------------------- ## 19161c43011aSmrg## Main body of script. ## 19171c43011aSmrg## -------------------- ## 19180cc6efb6Smrg 19196cf5427aSmrgac_ext=c 19206cf5427aSmrgac_cpp='$CPP $CPPFLAGS' 19216cf5427aSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 19226cf5427aSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 19236cf5427aSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 19240cc6efb6Smrg 19250cc6efb6Smrg 192648e37bc2Smrgam__api_version='1.16' 19276cf5427aSmrg 19286cf5427aSmrg 19290cc6efb6Smrg 193048e37bc2Smrg # Find a good install program. We prefer a C program (faster), 19310cc6efb6Smrg# so one script is as good as another. But avoid the broken or 19320cc6efb6Smrg# incompatible versions: 19330cc6efb6Smrg# SysV /etc/install, /usr/sbin/install 19340cc6efb6Smrg# SunOS /usr/etc/install 19350cc6efb6Smrg# IRIX /sbin/install 19360cc6efb6Smrg# AIX /bin/install 19370cc6efb6Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs 19380cc6efb6Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 19390cc6efb6Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 19400cc6efb6Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 19410cc6efb6Smrg# OS/2's system install, which has a completely different semantic 19420cc6efb6Smrg# ./install, which can be erroneously created by make from ./install.sh. 19436cf5427aSmrg# Reject install programs that cannot install multiple files. 194448e37bc2Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 194548e37bc2Smrgprintf %s "checking for a BSD-compatible install... " >&6; } 19460cc6efb6Smrgif test -z "$INSTALL"; then 194748e37bc2Smrgif test ${ac_cv_path_install+y} 194848e37bc2Smrgthen : 194948e37bc2Smrg printf %s "(cached) " >&6 195048e37bc2Smrgelse $as_nop 19510cc6efb6Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19520cc6efb6Smrgfor as_dir in $PATH 19530cc6efb6Smrgdo 19540cc6efb6Smrg IFS=$as_save_IFS 195548e37bc2Smrg case $as_dir in #((( 195648e37bc2Smrg '') as_dir=./ ;; 195748e37bc2Smrg */) ;; 195848e37bc2Smrg *) as_dir=$as_dir/ ;; 195948e37bc2Smrg esac 196048e37bc2Smrg # Account for fact that we put trailing slashes in our PATH walk. 196148e37bc2Smrgcase $as_dir in #(( 196248e37bc2Smrg ./ | /[cC]/* | \ 19630cc6efb6Smrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 19641c43011aSmrg ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 19650cc6efb6Smrg /usr/ucb/* ) ;; 19660cc6efb6Smrg *) 19670cc6efb6Smrg # OSF1 and SCO ODT 3.0 have their own names for install. 19680cc6efb6Smrg # Don't use installbsd from OSF since it installs stuff as root 19690cc6efb6Smrg # by default. 19700cc6efb6Smrg for ac_prog in ginstall scoinst install; do 19710cc6efb6Smrg for ac_exec_ext in '' $ac_executable_extensions; do 197248e37bc2Smrg if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then 19730cc6efb6Smrg if test $ac_prog = install && 197448e37bc2Smrg grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 19750cc6efb6Smrg # AIX install. It has an incompatible calling convention. 19760cc6efb6Smrg : 19770cc6efb6Smrg elif test $ac_prog = install && 197848e37bc2Smrg grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 19790cc6efb6Smrg # program-specific install script used by HP pwplus--don't use. 19800cc6efb6Smrg : 19810cc6efb6Smrg else 19826cf5427aSmrg rm -rf conftest.one conftest.two conftest.dir 19836cf5427aSmrg echo one > conftest.one 19846cf5427aSmrg echo two > conftest.two 19856cf5427aSmrg mkdir conftest.dir 198648e37bc2Smrg if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" && 19876cf5427aSmrg test -s conftest.one && test -s conftest.two && 19886cf5427aSmrg test -s conftest.dir/conftest.one && 19896cf5427aSmrg test -s conftest.dir/conftest.two 19906cf5427aSmrg then 199148e37bc2Smrg ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c" 19926cf5427aSmrg break 3 19936cf5427aSmrg fi 19940cc6efb6Smrg fi 19950cc6efb6Smrg fi 19960cc6efb6Smrg done 19970cc6efb6Smrg done 19980cc6efb6Smrg ;; 19990cc6efb6Smrgesac 20006cf5427aSmrg 20011c43011aSmrg done 20026cf5427aSmrgIFS=$as_save_IFS 20030cc6efb6Smrg 20046cf5427aSmrgrm -rf conftest.one conftest.two conftest.dir 20050cc6efb6Smrg 20060cc6efb6Smrgfi 200748e37bc2Smrg if test ${ac_cv_path_install+y}; then 20080cc6efb6Smrg INSTALL=$ac_cv_path_install 20090cc6efb6Smrg else 20106cf5427aSmrg # As a last resort, use the slow shell script. Don't cache a 20116cf5427aSmrg # value for INSTALL within a source directory, because that will 20120cc6efb6Smrg # break other packages using the cache if that directory is 20136cf5427aSmrg # removed, or if the value is a relative name. 20140cc6efb6Smrg INSTALL=$ac_install_sh 20150cc6efb6Smrg fi 20160cc6efb6Smrgfi 201748e37bc2Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 201848e37bc2Smrgprintf "%s\n" "$INSTALL" >&6; } 20190cc6efb6Smrg 20200cc6efb6Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 20210cc6efb6Smrg# It thinks the first close brace ends the variable substitution. 20220cc6efb6Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 20230cc6efb6Smrg 20240cc6efb6Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 20250cc6efb6Smrg 20260cc6efb6Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 20270cc6efb6Smrg 202848e37bc2Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 202948e37bc2Smrgprintf %s "checking whether build environment is sane... " >&6; } 20306cf5427aSmrg# Reject unsafe characters in $srcdir or the absolute working directory 20316cf5427aSmrg# name. Accept space and tab only in the latter. 20326cf5427aSmrgam_lf=' 20336cf5427aSmrg' 20346cf5427aSmrgcase `pwd` in 20356cf5427aSmrg *[\\\"\#\$\&\'\`$am_lf]*) 20361c43011aSmrg as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 20376cf5427aSmrgesac 20386cf5427aSmrgcase $srcdir in 20396cf5427aSmrg *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 204048e37bc2Smrg as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 20416cf5427aSmrgesac 20426cf5427aSmrg 204348e37bc2Smrg# Do 'set' in a subshell so we don't clobber the current shell's 20440cc6efb6Smrg# arguments. Must try -L first in case configure is actually a 20450cc6efb6Smrg# symlink; some systems play weird games with the mod time of symlinks 20460cc6efb6Smrg# (eg FreeBSD returns the mod time of the symlink's containing 20470cc6efb6Smrg# directory). 20480cc6efb6Smrgif ( 204948e37bc2Smrg am_has_slept=no 205048e37bc2Smrg for am_try in 1 2; do 205148e37bc2Smrg echo "timestamp, slept: $am_has_slept" > conftest.file 205248e37bc2Smrg set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 205348e37bc2Smrg if test "$*" = "X"; then 205448e37bc2Smrg # -L didn't work. 205548e37bc2Smrg set X `ls -t "$srcdir/configure" conftest.file` 205648e37bc2Smrg fi 205748e37bc2Smrg if test "$*" != "X $srcdir/configure conftest.file" \ 205848e37bc2Smrg && test "$*" != "X conftest.file $srcdir/configure"; then 205948e37bc2Smrg 206048e37bc2Smrg # If neither matched, then we have a broken ls. This can happen 206148e37bc2Smrg # if, for instance, CONFIG_SHELL is bash and it inherits a 206248e37bc2Smrg # broken ls alias from the environment. This has actually 206348e37bc2Smrg # happened. Such a system could not be considered "sane". 206448e37bc2Smrg as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 206548e37bc2Smrg alias in your environment" "$LINENO" 5 206648e37bc2Smrg fi 206748e37bc2Smrg if test "$2" = conftest.file || test $am_try -eq 2; then 206848e37bc2Smrg break 206948e37bc2Smrg fi 207048e37bc2Smrg # Just in case. 207148e37bc2Smrg sleep 1 207248e37bc2Smrg am_has_slept=yes 207348e37bc2Smrg done 20740cc6efb6Smrg test "$2" = conftest.file 20750cc6efb6Smrg ) 20760cc6efb6Smrgthen 20770cc6efb6Smrg # Ok. 20780cc6efb6Smrg : 20790cc6efb6Smrgelse 20801c43011aSmrg as_fn_error $? "newly created file is older than distributed files! 20811c43011aSmrgCheck your system clock" "$LINENO" 5 20820cc6efb6Smrgfi 208348e37bc2Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 208448e37bc2Smrgprintf "%s\n" "yes" >&6; } 208548e37bc2Smrg# If we didn't sleep, we still need to ensure time stamps of config.status and 208648e37bc2Smrg# generated files are strictly newer. 208748e37bc2Smrgam_sleep_pid= 208848e37bc2Smrgif grep 'slept: no' conftest.file >/dev/null 2>&1; then 208948e37bc2Smrg ( sleep 1 ) & 209048e37bc2Smrg am_sleep_pid=$! 209148e37bc2Smrgfi 209248e37bc2Smrg 209348e37bc2Smrgrm -f conftest.file 209448e37bc2Smrg 20950cc6efb6Smrgtest "$program_prefix" != NONE && 20966cf5427aSmrg program_transform_name="s&^&$program_prefix&;$program_transform_name" 20970cc6efb6Smrg# Use a double $ so make ignores it. 20980cc6efb6Smrgtest "$program_suffix" != NONE && 20996cf5427aSmrg program_transform_name="s&\$&$program_suffix&;$program_transform_name" 21006cf5427aSmrg# Double any \ or $. 21010cc6efb6Smrg# By default was `s,x,x', remove it if useless. 21026cf5427aSmrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 210348e37bc2Smrgprogram_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"` 21040cc6efb6Smrg 21050cc6efb6Smrg 210648e37bc2Smrg# Expand $ac_aux_dir to an absolute path. 210748e37bc2Smrgam_aux_dir=`cd "$ac_aux_dir" && pwd` 210848e37bc2Smrg 210948e37bc2Smrg 211048e37bc2Smrg if test x"${MISSING+set}" != xset; then 211148e37bc2Smrg MISSING="\${SHELL} '$am_aux_dir/missing'" 21126cf5427aSmrgfi 21130cc6efb6Smrg# Use eval to expand $SHELL 211448e37bc2Smrgif eval "$MISSING --is-lightweight"; then 211548e37bc2Smrg am_missing_run="$MISSING " 21160cc6efb6Smrgelse 21170cc6efb6Smrg am_missing_run= 211848e37bc2Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 211948e37bc2Smrgprintf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 21206cf5427aSmrgfi 21216cf5427aSmrg 212248e37bc2Smrgif test x"${install_sh+set}" != xset; then 21236cf5427aSmrg case $am_aux_dir in 21246cf5427aSmrg *\ * | *\ *) 21256cf5427aSmrg install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 21266cf5427aSmrg *) 21276cf5427aSmrg install_sh="\${SHELL} $am_aux_dir/install-sh" 21286cf5427aSmrg esac 21296cf5427aSmrgfi 21306cf5427aSmrg 213148e37bc2Smrg# Installed binaries are usually stripped using 'strip' when the user 213248e37bc2Smrg# run "make install-strip". However 'strip' might not be the right 21336cf5427aSmrg# tool to use in cross-compilation environments, therefore Automake 213448e37bc2Smrg# will honor the 'STRIP' environment variable to overrule this program. 21356cf5427aSmrgif test "$cross_compiling" != no; then 21366cf5427aSmrg if test -n "$ac_tool_prefix"; then 21376cf5427aSmrg # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 21386cf5427aSmrgset dummy ${ac_tool_prefix}strip; ac_word=$2 213948e37bc2Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 214048e37bc2Smrgprintf %s "checking for $ac_word... " >&6; } 214148e37bc2Smrgif test ${ac_cv_prog_STRIP+y} 214248e37bc2Smrgthen : 214348e37bc2Smrg printf %s "(cached) " >&6 214448e37bc2Smrgelse $as_nop 21456cf5427aSmrg if test -n "$STRIP"; then 21466cf5427aSmrg ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 21476cf5427aSmrgelse 21486cf5427aSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 21496cf5427aSmrgfor as_dir in $PATH 21506cf5427aSmrgdo 21516cf5427aSmrg IFS=$as_save_IFS 215248e37bc2Smrg case $as_dir in #((( 215348e37bc2Smrg '') as_dir=./ ;; 215448e37bc2Smrg */) ;; 215548e37bc2Smrg *) as_dir=$as_dir/ ;; 215648e37bc2Smrg esac 21571c43011aSmrg for ac_exec_ext in '' $ac_executable_extensions; do 215848e37bc2Smrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 21596cf5427aSmrg ac_cv_prog_STRIP="${ac_tool_prefix}strip" 216048e37bc2Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 21616cf5427aSmrg break 2 21626cf5427aSmrg fi 21636cf5427aSmrgdone 21641c43011aSmrg done 21656cf5427aSmrgIFS=$as_save_IFS 21666cf5427aSmrg 21676cf5427aSmrgfi 21686cf5427aSmrgfi 21696cf5427aSmrgSTRIP=$ac_cv_prog_STRIP 21706cf5427aSmrgif test -n "$STRIP"; then 217148e37bc2Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 217248e37bc2Smrgprintf "%s\n" "$STRIP" >&6; } 21736cf5427aSmrgelse 217448e37bc2Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 217548e37bc2Smrgprintf "%s\n" "no" >&6; } 21766cf5427aSmrgfi 21776cf5427aSmrg 21786cf5427aSmrg 21796cf5427aSmrgfi 21806cf5427aSmrgif test -z "$ac_cv_prog_STRIP"; then 21816cf5427aSmrg ac_ct_STRIP=$STRIP 21826cf5427aSmrg # Extract the first word of "strip", so it can be a program name with args. 21836cf5427aSmrgset dummy strip; ac_word=$2 218448e37bc2Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 218548e37bc2Smrgprintf %s "checking for $ac_word... " >&6; } 218648e37bc2Smrgif test ${ac_cv_prog_ac_ct_STRIP+y} 218748e37bc2Smrgthen : 218848e37bc2Smrg printf %s "(cached) " >&6 218948e37bc2Smrgelse $as_nop 21906cf5427aSmrg if test -n "$ac_ct_STRIP"; then 21916cf5427aSmrg ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 21926cf5427aSmrgelse 21936cf5427aSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 21946cf5427aSmrgfor as_dir in $PATH 21956cf5427aSmrgdo 21966cf5427aSmrg IFS=$as_save_IFS 219748e37bc2Smrg case $as_dir in #((( 219848e37bc2Smrg '') as_dir=./ ;; 219948e37bc2Smrg */) ;; 220048e37bc2Smrg *) as_dir=$as_dir/ ;; 220148e37bc2Smrg esac 22021c43011aSmrg for ac_exec_ext in '' $ac_executable_extensions; do 220348e37bc2Smrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 22046cf5427aSmrg ac_cv_prog_ac_ct_STRIP="strip" 220548e37bc2Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 22066cf5427aSmrg break 2 22076cf5427aSmrg fi 22086cf5427aSmrgdone 22091c43011aSmrg done 22106cf5427aSmrgIFS=$as_save_IFS 22116cf5427aSmrg 22126cf5427aSmrgfi 22136cf5427aSmrgfi 22146cf5427aSmrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 22156cf5427aSmrgif test -n "$ac_ct_STRIP"; then 221648e37bc2Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 221748e37bc2Smrgprintf "%s\n" "$ac_ct_STRIP" >&6; } 22186cf5427aSmrgelse 221948e37bc2Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 222048e37bc2Smrgprintf "%s\n" "no" >&6; } 22216cf5427aSmrgfi 22226cf5427aSmrg 22236cf5427aSmrg if test "x$ac_ct_STRIP" = x; then 22246cf5427aSmrg STRIP=":" 22256cf5427aSmrg else 22266cf5427aSmrg case $cross_compiling:$ac_tool_warned in 22276cf5427aSmrgyes:) 222848e37bc2Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 222948e37bc2Smrgprintf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 22306cf5427aSmrgac_tool_warned=yes ;; 22316cf5427aSmrgesac 22326cf5427aSmrg STRIP=$ac_ct_STRIP 22336cf5427aSmrg fi 22346cf5427aSmrgelse 22356cf5427aSmrg STRIP="$ac_cv_prog_STRIP" 22366cf5427aSmrgfi 22376cf5427aSmrg 22386cf5427aSmrgfi 22396cf5427aSmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 22406cf5427aSmrg 224148e37bc2Smrg 224248e37bc2Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5 224348e37bc2Smrgprintf %s "checking for a race-free mkdir -p... " >&6; } 22446cf5427aSmrgif test -z "$MKDIR_P"; then 224548e37bc2Smrg if test ${ac_cv_path_mkdir+y} 224648e37bc2Smrgthen : 224748e37bc2Smrg printf %s "(cached) " >&6 224848e37bc2Smrgelse $as_nop 22496cf5427aSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22506cf5427aSmrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 22516cf5427aSmrgdo 22526cf5427aSmrg IFS=$as_save_IFS 225348e37bc2Smrg case $as_dir in #((( 225448e37bc2Smrg '') as_dir=./ ;; 225548e37bc2Smrg */) ;; 225648e37bc2Smrg *) as_dir=$as_dir/ ;; 225748e37bc2Smrg esac 22581c43011aSmrg for ac_prog in mkdir gmkdir; do 22596cf5427aSmrg for ac_exec_ext in '' $ac_executable_extensions; do 226048e37bc2Smrg as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue 226148e37bc2Smrg case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #( 226248e37bc2Smrg 'mkdir ('*'coreutils) '* | \ 226348e37bc2Smrg 'BusyBox '* | \ 22646cf5427aSmrg 'mkdir (fileutils) '4.1*) 226548e37bc2Smrg ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext 22666cf5427aSmrg break 3;; 22676cf5427aSmrg esac 22686cf5427aSmrg done 22696cf5427aSmrg done 22701c43011aSmrg done 22716cf5427aSmrgIFS=$as_save_IFS 22726cf5427aSmrg 22736cf5427aSmrgfi 22746cf5427aSmrg 22751c43011aSmrg test -d ./--version && rmdir ./--version 227648e37bc2Smrg if test ${ac_cv_path_mkdir+y}; then 22776cf5427aSmrg MKDIR_P="$ac_cv_path_mkdir -p" 22786cf5427aSmrg else 22796cf5427aSmrg # As a last resort, use the slow shell script. Don't cache a 22806cf5427aSmrg # value for MKDIR_P within a source directory, because that will 22816cf5427aSmrg # break other packages using the cache if that directory is 22826cf5427aSmrg # removed, or if the value is a relative name. 22836cf5427aSmrg MKDIR_P="$ac_install_sh -d" 22846cf5427aSmrg fi 22850cc6efb6Smrgfi 228648e37bc2Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 228748e37bc2Smrgprintf "%s\n" "$MKDIR_P" >&6; } 22880cc6efb6Smrg 22890cc6efb6Smrgfor ac_prog in gawk mawk nawk awk 22900cc6efb6Smrgdo 22910cc6efb6Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 22920cc6efb6Smrgset dummy $ac_prog; ac_word=$2 229348e37bc2Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 229448e37bc2Smrgprintf %s "checking for $ac_word... " >&6; } 229548e37bc2Smrgif test ${ac_cv_prog_AWK+y} 229648e37bc2Smrgthen : 229748e37bc2Smrg printf %s "(cached) " >&6 229848e37bc2Smrgelse $as_nop 22990cc6efb6Smrg if test -n "$AWK"; then 23000cc6efb6Smrg ac_cv_prog_AWK="$AWK" # Let the user override the test. 23010cc6efb6Smrgelse 23020cc6efb6Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23030cc6efb6Smrgfor as_dir in $PATH 23040cc6efb6Smrgdo 23050cc6efb6Smrg IFS=$as_save_IFS 230648e37bc2Smrg case $as_dir in #((( 230748e37bc2Smrg '') as_dir=./ ;; 230848e37bc2Smrg */) ;; 230948e37bc2Smrg *) as_dir=$as_dir/ ;; 231048e37bc2Smrg esac 23111c43011aSmrg for ac_exec_ext in '' $ac_executable_extensions; do 231248e37bc2Smrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 23130cc6efb6Smrg ac_cv_prog_AWK="$ac_prog" 231448e37bc2Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 23150cc6efb6Smrg break 2 23160cc6efb6Smrg fi 23170cc6efb6Smrgdone 23181c43011aSmrg done 23196cf5427aSmrgIFS=$as_save_IFS 23200cc6efb6Smrg 23210cc6efb6Smrgfi 23220cc6efb6Smrgfi 23230cc6efb6SmrgAWK=$ac_cv_prog_AWK 23240cc6efb6Smrgif test -n "$AWK"; then 232548e37bc2Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 232648e37bc2Smrgprintf "%s\n" "$AWK" >&6; } 23270cc6efb6Smrgelse 232848e37bc2Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 232948e37bc2Smrgprintf "%s\n" "no" >&6; } 23300cc6efb6Smrgfi 23310cc6efb6Smrg 23326cf5427aSmrg 23330cc6efb6Smrg test -n "$AWK" && break 23340cc6efb6Smrgdone 23350cc6efb6Smrg 233648e37bc2Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 233748e37bc2Smrgprintf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 23386cf5427aSmrgset x ${MAKE-make} 233948e37bc2Smrgac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 234048e37bc2Smrgif eval test \${ac_cv_prog_make_${ac_make}_set+y} 234148e37bc2Smrgthen : 234248e37bc2Smrg printf %s "(cached) " >&6 234348e37bc2Smrgelse $as_nop 23440cc6efb6Smrg cat >conftest.make <<\_ACEOF 23456cf5427aSmrgSHELL = /bin/sh 23460cc6efb6Smrgall: 23476cf5427aSmrg @echo '@@@%%%=$(MAKE)=@@@%%%' 23480cc6efb6Smrg_ACEOF 23491c43011aSmrg# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 23506cf5427aSmrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in 23516cf5427aSmrg *@@@%%%=?*=@@@%%%*) 23526cf5427aSmrg eval ac_cv_prog_make_${ac_make}_set=yes;; 23536cf5427aSmrg *) 23546cf5427aSmrg eval ac_cv_prog_make_${ac_make}_set=no;; 23556cf5427aSmrgesac 23560cc6efb6Smrgrm -f conftest.make 23570cc6efb6Smrgfi 23586cf5427aSmrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 235948e37bc2Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 236048e37bc2Smrgprintf "%s\n" "yes" >&6; } 23610cc6efb6Smrg SET_MAKE= 23620cc6efb6Smrgelse 236348e37bc2Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 236448e37bc2Smrgprintf "%s\n" "no" >&6; } 23650cc6efb6Smrg SET_MAKE="MAKE=${MAKE-make}" 23660cc6efb6Smrgfi 23670cc6efb6Smrg 23680cc6efb6Smrgrm -rf .tst 2>/dev/null 23690cc6efb6Smrgmkdir .tst 2>/dev/null 23700cc6efb6Smrgif test -d .tst; then 23710cc6efb6Smrg am__leading_dot=. 23720cc6efb6Smrgelse 23730cc6efb6Smrg am__leading_dot=_ 23740cc6efb6Smrgfi 23750cc6efb6Smrgrmdir .tst 2>/dev/null 23760cc6efb6Smrg 237748e37bc2Smrg# Check whether --enable-silent-rules was given. 237848e37bc2Smrgif test ${enable_silent_rules+y} 237948e37bc2Smrgthen : 238048e37bc2Smrg enableval=$enable_silent_rules; 238148e37bc2Smrgfi 238248e37bc2Smrg 238348e37bc2Smrgcase $enable_silent_rules in # ((( 238448e37bc2Smrg yes) AM_DEFAULT_VERBOSITY=0;; 238548e37bc2Smrg no) AM_DEFAULT_VERBOSITY=1;; 238648e37bc2Smrg *) AM_DEFAULT_VERBOSITY=1;; 238748e37bc2Smrgesac 238848e37bc2Smrgam_make=${MAKE-make} 238948e37bc2Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 239048e37bc2Smrgprintf %s "checking whether $am_make supports nested variables... " >&6; } 239148e37bc2Smrgif test ${am_cv_make_support_nested_variables+y} 239248e37bc2Smrgthen : 239348e37bc2Smrg printf %s "(cached) " >&6 239448e37bc2Smrgelse $as_nop 239548e37bc2Smrg if printf "%s\n" 'TRUE=$(BAR$(V)) 239648e37bc2SmrgBAR0=false 239748e37bc2SmrgBAR1=true 239848e37bc2SmrgV=1 239948e37bc2Smrgam__doit: 240048e37bc2Smrg @$(TRUE) 240148e37bc2Smrg.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 240248e37bc2Smrg am_cv_make_support_nested_variables=yes 240348e37bc2Smrgelse 240448e37bc2Smrg am_cv_make_support_nested_variables=no 240548e37bc2Smrgfi 240648e37bc2Smrgfi 240748e37bc2Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 240848e37bc2Smrgprintf "%s\n" "$am_cv_make_support_nested_variables" >&6; } 240948e37bc2Smrgif test $am_cv_make_support_nested_variables = yes; then 241048e37bc2Smrg AM_V='$(V)' 241148e37bc2Smrg AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 241248e37bc2Smrgelse 241348e37bc2Smrg AM_V=$AM_DEFAULT_VERBOSITY 241448e37bc2Smrg AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 241548e37bc2Smrgfi 241648e37bc2SmrgAM_BACKSLASH='\' 241748e37bc2Smrg 24186cf5427aSmrgif test "`cd $srcdir && pwd`" != "`pwd`"; then 24196cf5427aSmrg # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 24206cf5427aSmrg # is not polluted with repeated "-I." 24216cf5427aSmrg am__isrc=' -I$(srcdir)' 24226cf5427aSmrg # test to see if srcdir already configured 24236cf5427aSmrg if test -f $srcdir/config.status; then 24241c43011aSmrg as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 24256cf5427aSmrg fi 24260cc6efb6Smrgfi 24270cc6efb6Smrg 24280cc6efb6Smrg# test whether we have cygpath 24290cc6efb6Smrgif test -z "$CYGPATH_W"; then 24300cc6efb6Smrg if (cygpath --version) >/dev/null 2>/dev/null; then 24310cc6efb6Smrg CYGPATH_W='cygpath -w' 24320cc6efb6Smrg else 24330cc6efb6Smrg CYGPATH_W=echo 24340cc6efb6Smrg fi 24350cc6efb6Smrgfi 24360cc6efb6Smrg 24370cc6efb6Smrg 24380cc6efb6Smrg# Define the identity of the package. 24390cc6efb6Smrg PACKAGE='font-bh-ttf' 244048e37bc2Smrg VERSION='1.0.4' 24410cc6efb6Smrg 24420cc6efb6Smrg 244348e37bc2Smrgprintf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h 24440cc6efb6Smrg 24450cc6efb6Smrg 244648e37bc2Smrgprintf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h 24470cc6efb6Smrg 24480cc6efb6Smrg# Some tools Automake needs. 24490cc6efb6Smrg 24500cc6efb6SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 24510cc6efb6Smrg 24520cc6efb6Smrg 24530cc6efb6SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 24540cc6efb6Smrg 24550cc6efb6Smrg 24560cc6efb6SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 24570cc6efb6Smrg 24580cc6efb6Smrg 24590cc6efb6SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 24600cc6efb6Smrg 24610cc6efb6Smrg 24620cc6efb6SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 24630cc6efb6Smrg 246448e37bc2Smrg# For better backward compatibility. To be removed once Automake 1.9.x 246548e37bc2Smrg# dies out for good. For more background, see: 246648e37bc2Smrg# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 246748e37bc2Smrg# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 246848e37bc2Smrgmkdir_p='$(MKDIR_P)' 24690cc6efb6Smrg 247048e37bc2Smrg# We need awk for the "check" target (and possibly the TAP driver). The 247148e37bc2Smrg# system "awk" is bad on some platforms. 247248e37bc2Smrg# Always define AMTAR for backward compatibility. Yes, it's still used 247348e37bc2Smrg# in the wild :-( We should find a proper way to deprecate it ... 247448e37bc2SmrgAMTAR='$${TAR-tar}' 24750cc6efb6Smrg 24760cc6efb6Smrg 247748e37bc2Smrg# We'll loop over all known methods to create a tar archive until one works. 247848e37bc2Smrg_am_tools='gnutar pax cpio none' 24796cf5427aSmrg 248048e37bc2Smrgam__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 24816cf5427aSmrg 24826cf5427aSmrg 24836cf5427aSmrg 24846cf5427aSmrg 248548e37bc2Smrg 248648e37bc2Smrg# Variables for tags utilities; see am/tags.am 248748e37bc2Smrgif test -z "$CTAGS"; then 248848e37bc2Smrg CTAGS=ctags 24896cf5427aSmrgfi 24906cf5427aSmrg 249148e37bc2Smrgif test -z "$ETAGS"; then 249248e37bc2Smrg ETAGS=etags 24936cf5427aSmrgfi 24946cf5427aSmrg 249548e37bc2Smrgif test -z "$CSCOPE"; then 249648e37bc2Smrg CSCOPE=cscope 249748e37bc2Smrgfi 24986cf5427aSmrg 24996cf5427aSmrg 25006cf5427aSmrg 250148e37bc2Smrg# POSIX will say in a future version that running "rm -f" with no argument 250248e37bc2Smrg# is OK; and we want to be able to make that assumption in our Makefile 250348e37bc2Smrg# recipes. So use an aggressive probe to check that the usage we want is 250448e37bc2Smrg# actually supported "in the wild" to an acceptable degree. 250548e37bc2Smrg# See automake bug#10828. 250648e37bc2Smrg# To make any issue more visible, cause the running configure to be aborted 250748e37bc2Smrg# by default if the 'rm' program in use doesn't match our expectations; the 250848e37bc2Smrg# user can still override this though. 250948e37bc2Smrgif rm -f && rm -fr && rm -rf; then : OK; else 251048e37bc2Smrg cat >&2 <<'END' 251148e37bc2SmrgOops! 25126cf5427aSmrg 251348e37bc2SmrgYour 'rm' program seems unable to run without file operands specified 251448e37bc2Smrgon the command line, even when the '-f' option is present. This is contrary 251548e37bc2Smrgto the behaviour of most rm programs out there, and not conforming with 251648e37bc2Smrgthe upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 25176cf5427aSmrg 251848e37bc2SmrgPlease tell bug-automake@gnu.org about your system, including the value 251948e37bc2Smrgof your $PATH and any error possibly output before this message. This 252048e37bc2Smrgcan help us improve future automake versions. 25216cf5427aSmrg 252248e37bc2SmrgEND 252348e37bc2Smrg if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 252448e37bc2Smrg echo 'Configuration will proceed anyway, since you have set the' >&2 252548e37bc2Smrg echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 252648e37bc2Smrg echo >&2 252748e37bc2Smrg else 252848e37bc2Smrg cat >&2 <<'END' 252948e37bc2SmrgAborting the configuration process, to ensure you take notice of the issue. 25306cf5427aSmrg 253148e37bc2SmrgYou can download and install GNU coreutils to get an 'rm' implementation 253248e37bc2Smrgthat behaves properly: <https://www.gnu.org/software/coreutils/>. 25336cf5427aSmrg 253448e37bc2SmrgIf you want to complete the configuration process using your problematic 253548e37bc2Smrg'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 253648e37bc2Smrgto "yes", and re-run configure. 25376cf5427aSmrg 253848e37bc2SmrgEND 253948e37bc2Smrg as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 254048e37bc2Smrg fi 254148e37bc2Smrgfi 25426cf5427aSmrg 25436cf5427aSmrg 254448e37bc2Smrg# Require xorg-macros 1.20 or later: XORG_DEFAULT_NOCODE_OPTIONS 25456cf5427aSmrg 25466cf5427aSmrg 25476cf5427aSmrg 25486cf5427aSmrg 25496cf5427aSmrg 25506cf5427aSmrg 25516cf5427aSmrg 25526cf5427aSmrg 25536cf5427aSmrg 25546cf5427aSmrg 25556cf5427aSmrg 25566cf5427aSmrg 25576cf5427aSmrg 25586cf5427aSmrg 25596cf5427aSmrg 25606cf5427aSmrg 25616cf5427aSmrg 25626cf5427aSmrg 25631c43011aSmrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 25641c43011aSmrg if test -n "$ac_tool_prefix"; then 25651c43011aSmrg # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 25661c43011aSmrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2 256748e37bc2Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 256848e37bc2Smrgprintf %s "checking for $ac_word... " >&6; } 256948e37bc2Smrgif test ${ac_cv_path_PKG_CONFIG+y} 257048e37bc2Smrgthen : 257148e37bc2Smrg printf %s "(cached) " >&6 257248e37bc2Smrgelse $as_nop 25731c43011aSmrg case $PKG_CONFIG in 25741c43011aSmrg [\\/]* | ?:[\\/]*) 25751c43011aSmrg ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 25761c43011aSmrg ;; 25771c43011aSmrg *) 25781c43011aSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 25791c43011aSmrgfor as_dir in $PATH 25806cf5427aSmrgdo 25811c43011aSmrg IFS=$as_save_IFS 258248e37bc2Smrg case $as_dir in #((( 258348e37bc2Smrg '') as_dir=./ ;; 258448e37bc2Smrg */) ;; 258548e37bc2Smrg *) as_dir=$as_dir/ ;; 258648e37bc2Smrg esac 25871c43011aSmrg for ac_exec_ext in '' $ac_executable_extensions; do 258848e37bc2Smrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 258948e37bc2Smrg ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" 259048e37bc2Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 25911c43011aSmrg break 2 25921c43011aSmrg fi 25931c43011aSmrgdone 25941c43011aSmrg done 25951c43011aSmrgIFS=$as_save_IFS 25961c43011aSmrg 25971c43011aSmrg ;; 25986cf5427aSmrgesac 25991c43011aSmrgfi 26001c43011aSmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG 26011c43011aSmrgif test -n "$PKG_CONFIG"; then 260248e37bc2Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 260348e37bc2Smrgprintf "%s\n" "$PKG_CONFIG" >&6; } 26046cf5427aSmrgelse 260548e37bc2Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 260648e37bc2Smrgprintf "%s\n" "no" >&6; } 26076cf5427aSmrgfi 26086cf5427aSmrg 26096cf5427aSmrg 26106cf5427aSmrgfi 26111c43011aSmrgif test -z "$ac_cv_path_PKG_CONFIG"; then 26121c43011aSmrg ac_pt_PKG_CONFIG=$PKG_CONFIG 26131c43011aSmrg # Extract the first word of "pkg-config", so it can be a program name with args. 26141c43011aSmrgset dummy pkg-config; ac_word=$2 261548e37bc2Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 261648e37bc2Smrgprintf %s "checking for $ac_word... " >&6; } 261748e37bc2Smrgif test ${ac_cv_path_ac_pt_PKG_CONFIG+y} 261848e37bc2Smrgthen : 261948e37bc2Smrg printf %s "(cached) " >&6 262048e37bc2Smrgelse $as_nop 26211c43011aSmrg case $ac_pt_PKG_CONFIG in 26221c43011aSmrg [\\/]* | ?:[\\/]*) 26231c43011aSmrg ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 26241c43011aSmrg ;; 26256cf5427aSmrg *) 26261c43011aSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 26271c43011aSmrgfor as_dir in $PATH 26281c43011aSmrgdo 26291c43011aSmrg IFS=$as_save_IFS 263048e37bc2Smrg case $as_dir in #((( 263148e37bc2Smrg '') as_dir=./ ;; 263248e37bc2Smrg */) ;; 263348e37bc2Smrg *) as_dir=$as_dir/ ;; 263448e37bc2Smrg esac 26351c43011aSmrg for ac_exec_ext in '' $ac_executable_extensions; do 263648e37bc2Smrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 263748e37bc2Smrg ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" 263848e37bc2Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 26391c43011aSmrg break 2 26401c43011aSmrg fi 26411c43011aSmrgdone 26421c43011aSmrg done 26431c43011aSmrgIFS=$as_save_IFS 26441c43011aSmrg 26451c43011aSmrg ;; 26466cf5427aSmrgesac 26471c43011aSmrgfi 26481c43011aSmrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 26491c43011aSmrgif test -n "$ac_pt_PKG_CONFIG"; then 265048e37bc2Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 265148e37bc2Smrgprintf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } 26521c43011aSmrgelse 265348e37bc2Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 265448e37bc2Smrgprintf "%s\n" "no" >&6; } 26551c43011aSmrgfi 26566cf5427aSmrg 26571c43011aSmrg if test "x$ac_pt_PKG_CONFIG" = x; then 26581c43011aSmrg PKG_CONFIG="" 26591c43011aSmrg else 26601c43011aSmrg case $cross_compiling:$ac_tool_warned in 26611c43011aSmrgyes:) 266248e37bc2Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 266348e37bc2Smrgprintf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 26641c43011aSmrgac_tool_warned=yes ;; 26651c43011aSmrgesac 26661c43011aSmrg PKG_CONFIG=$ac_pt_PKG_CONFIG 26671c43011aSmrg fi 26681c43011aSmrgelse 26691c43011aSmrg PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 26701c43011aSmrgfi 26716cf5427aSmrg 26721c43011aSmrgfi 26731c43011aSmrgif test -n "$PKG_CONFIG"; then 26741c43011aSmrg _pkg_min_version=0.9.0 267548e37bc2Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 267648e37bc2Smrgprintf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; } 26771c43011aSmrg if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 267848e37bc2Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 267948e37bc2Smrgprintf "%s\n" "yes" >&6; } 26801c43011aSmrg else 268148e37bc2Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 268248e37bc2Smrgprintf "%s\n" "no" >&6; } 26831c43011aSmrg PKG_CONFIG="" 26841c43011aSmrg fi 26851c43011aSmrgfi 26866cf5427aSmrg 268748e37bc2Smrg 268848e37bc2Smrg # Make sure we can run config.sub. 268948e37bc2Smrg$SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 || 269048e37bc2Smrg as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5 269148e37bc2Smrg 269248e37bc2Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 269348e37bc2Smrgprintf %s "checking build system type... " >&6; } 269448e37bc2Smrgif test ${ac_cv_build+y} 269548e37bc2Smrgthen : 269648e37bc2Smrg printf %s "(cached) " >&6 269748e37bc2Smrgelse $as_nop 26986cf5427aSmrg ac_build_alias=$build_alias 26996cf5427aSmrgtest "x$ac_build_alias" = x && 270048e37bc2Smrg ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"` 27016cf5427aSmrgtest "x$ac_build_alias" = x && 27021c43011aSmrg as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 270348e37bc2Smrgac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` || 270448e37bc2Smrg as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5 27056cf5427aSmrg 27066cf5427aSmrgfi 270748e37bc2Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 270848e37bc2Smrgprintf "%s\n" "$ac_cv_build" >&6; } 27096cf5427aSmrgcase $ac_cv_build in 27106cf5427aSmrg*-*-*) ;; 27111c43011aSmrg*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 27126cf5427aSmrgesac 27136cf5427aSmrgbuild=$ac_cv_build 27146cf5427aSmrgac_save_IFS=$IFS; IFS='-' 27156cf5427aSmrgset x $ac_cv_build 27166cf5427aSmrgshift 27176cf5427aSmrgbuild_cpu=$1 27186cf5427aSmrgbuild_vendor=$2 27196cf5427aSmrgshift; shift 27206cf5427aSmrg# Remember, the first character of IFS is used to create $*, 27216cf5427aSmrg# except with old shells: 27226cf5427aSmrgbuild_os=$* 27236cf5427aSmrgIFS=$ac_save_IFS 27246cf5427aSmrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 27256cf5427aSmrg 27266cf5427aSmrg 272748e37bc2Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 272848e37bc2Smrgprintf %s "checking host system type... " >&6; } 272948e37bc2Smrgif test ${ac_cv_host+y} 273048e37bc2Smrgthen : 273148e37bc2Smrg printf %s "(cached) " >&6 273248e37bc2Smrgelse $as_nop 27336cf5427aSmrg if test "x$host_alias" = x; then 27346cf5427aSmrg ac_cv_host=$ac_cv_build 27356cf5427aSmrgelse 273648e37bc2Smrg ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` || 273748e37bc2Smrg as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5 27386cf5427aSmrgfi 27396cf5427aSmrg 27406cf5427aSmrgfi 274148e37bc2Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 274248e37bc2Smrgprintf "%s\n" "$ac_cv_host" >&6; } 27436cf5427aSmrgcase $ac_cv_host in 27446cf5427aSmrg*-*-*) ;; 27451c43011aSmrg*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 27466cf5427aSmrgesac 27476cf5427aSmrghost=$ac_cv_host 27486cf5427aSmrgac_save_IFS=$IFS; IFS='-' 27496cf5427aSmrgset x $ac_cv_host 27506cf5427aSmrgshift 27516cf5427aSmrghost_cpu=$1 27526cf5427aSmrghost_vendor=$2 27536cf5427aSmrgshift; shift 27546cf5427aSmrg# Remember, the first character of IFS is used to create $*, 27556cf5427aSmrg# except with old shells: 27566cf5427aSmrghost_os=$* 27576cf5427aSmrgIFS=$ac_save_IFS 27586cf5427aSmrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 27596cf5427aSmrg 27606cf5427aSmrg 276148e37bc2Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 276248e37bc2Smrgprintf %s "checking for a sed that does not truncate output... " >&6; } 276348e37bc2Smrgif test ${ac_cv_path_SED+y} 276448e37bc2Smrgthen : 276548e37bc2Smrg printf %s "(cached) " >&6 276648e37bc2Smrgelse $as_nop 27671c43011aSmrg ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 27681c43011aSmrg for ac_i in 1 2 3 4 5 6 7; do 27691c43011aSmrg ac_script="$ac_script$as_nl$ac_script" 27701c43011aSmrg done 27711c43011aSmrg echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 27721c43011aSmrg { ac_script=; unset ac_script;} 27731c43011aSmrg if test -z "$SED"; then 27741c43011aSmrg ac_path_SED_found=false 27751c43011aSmrg # Loop through the user's path and test for each of PROGNAME-LIST 27761c43011aSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 27771c43011aSmrgfor as_dir in $PATH 27781c43011aSmrgdo 27791c43011aSmrg IFS=$as_save_IFS 278048e37bc2Smrg case $as_dir in #((( 278148e37bc2Smrg '') as_dir=./ ;; 278248e37bc2Smrg */) ;; 278348e37bc2Smrg *) as_dir=$as_dir/ ;; 278448e37bc2Smrg esac 278548e37bc2Smrg for ac_prog in sed gsed 278648e37bc2Smrg do 27871c43011aSmrg for ac_exec_ext in '' $ac_executable_extensions; do 278848e37bc2Smrg ac_path_SED="$as_dir$ac_prog$ac_exec_ext" 278948e37bc2Smrg as_fn_executable_p "$ac_path_SED" || continue 27901c43011aSmrg# Check for GNU ac_path_SED and select it if it is found. 27911c43011aSmrg # Check for GNU $ac_path_SED 27921c43011aSmrgcase `"$ac_path_SED" --version 2>&1` in 27931c43011aSmrg*GNU*) 27941c43011aSmrg ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 27951c43011aSmrg*) 27961c43011aSmrg ac_count=0 279748e37bc2Smrg printf %s 0123456789 >"conftest.in" 27981c43011aSmrg while : 27991c43011aSmrg do 28001c43011aSmrg cat "conftest.in" "conftest.in" >"conftest.tmp" 28011c43011aSmrg mv "conftest.tmp" "conftest.in" 28021c43011aSmrg cp "conftest.in" "conftest.nl" 280348e37bc2Smrg printf "%s\n" '' >> "conftest.nl" 28041c43011aSmrg "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 28051c43011aSmrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 28061c43011aSmrg as_fn_arith $ac_count + 1 && ac_count=$as_val 28071c43011aSmrg if test $ac_count -gt ${ac_path_SED_max-0}; then 28081c43011aSmrg # Best one so far, save it but keep looking for a better one 28091c43011aSmrg ac_cv_path_SED="$ac_path_SED" 28101c43011aSmrg ac_path_SED_max=$ac_count 28111c43011aSmrg fi 28121c43011aSmrg # 10*(2^10) chars as input seems more than enough 28131c43011aSmrg test $ac_count -gt 10 && break 28141c43011aSmrg done 28151c43011aSmrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 28161c43011aSmrgesac 28171c43011aSmrg 28181c43011aSmrg $ac_path_SED_found && break 3 28191c43011aSmrg done 28201c43011aSmrg done 28211c43011aSmrg done 28221c43011aSmrgIFS=$as_save_IFS 28231c43011aSmrg if test -z "$ac_cv_path_SED"; then 28241c43011aSmrg as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 28251c43011aSmrg fi 28261c43011aSmrgelse 28271c43011aSmrg ac_cv_path_SED=$SED 28281c43011aSmrgfi 28291c43011aSmrg 28301c43011aSmrgfi 283148e37bc2Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 283248e37bc2Smrgprintf "%s\n" "$ac_cv_path_SED" >&6; } 28331c43011aSmrg SED="$ac_cv_path_SED" 28341c43011aSmrg rm -f conftest.sed 28351c43011aSmrg 28361c43011aSmrg 28376cf5427aSmrg 28386cf5427aSmrg 28396cf5427aSmrg 28406cf5427aSmrgcat >>confdefs.h <<_ACEOF 28416cf5427aSmrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 28426cf5427aSmrg_ACEOF 28436cf5427aSmrg 28446cf5427aSmrg PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 28456cf5427aSmrg if test "x$PVM" = "x"; then 28466cf5427aSmrg PVM="0" 28476cf5427aSmrg fi 28486cf5427aSmrg 284948e37bc2Smrgprintf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h 28506cf5427aSmrg 28516cf5427aSmrg PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 28526cf5427aSmrg if test "x$PVP" = "x"; then 28536cf5427aSmrg PVP="0" 28546cf5427aSmrg fi 28556cf5427aSmrg 285648e37bc2Smrgprintf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h 28576cf5427aSmrg 28586cf5427aSmrg 28596cf5427aSmrg 286048e37bc2SmrgCHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \ 28611c43011aSmrgmv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \ 286248e37bc2Smrg|| (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \ 286348e37bc2Smrgtouch \$(top_srcdir)/ChangeLog; \ 286448e37bc2Smrgecho 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))" 28656cf5427aSmrg 28661c43011aSmrg 28671c43011aSmrg 28681c43011aSmrg 28691c43011aSmrgmacros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros` 28701c43011aSmrgINSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \ 28711c43011aSmrgmv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \ 287248e37bc2Smrg|| (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \ 287348e37bc2Smrgtouch \$(top_srcdir)/INSTALL; \ 287448e37bc2Smrgecho 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))" 28751c43011aSmrg 28766cf5427aSmrg 28776cf5427aSmrg 28786cf5427aSmrg 28796cf5427aSmrg 28806cf5427aSmrg 288148e37bc2Smrgcase $host_os in 288248e37bc2Smrg solaris*) 288348e37bc2Smrg # Solaris 2.0 - 11.3 use SysV man page section numbers, so we 288448e37bc2Smrg # check for a man page file found in later versions that use 288548e37bc2Smrg # traditional section numbers instead 288648e37bc2Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5 288748e37bc2Smrgprintf %s "checking for /usr/share/man/man7/attributes.7... " >&6; } 288848e37bc2Smrgif test ${ac_cv_file__usr_share_man_man7_attributes_7+y} 288948e37bc2Smrgthen : 289048e37bc2Smrg printf %s "(cached) " >&6 289148e37bc2Smrgelse $as_nop 289248e37bc2Smrg test "$cross_compiling" = yes && 289348e37bc2Smrg as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 289448e37bc2Smrgif test -r "/usr/share/man/man7/attributes.7"; then 289548e37bc2Smrg ac_cv_file__usr_share_man_man7_attributes_7=yes 289648e37bc2Smrgelse 289748e37bc2Smrg ac_cv_file__usr_share_man_man7_attributes_7=no 289848e37bc2Smrgfi 289948e37bc2Smrgfi 290048e37bc2Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5 290148e37bc2Smrgprintf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; } 290248e37bc2Smrgif test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes 290348e37bc2Smrgthen : 290448e37bc2Smrg SYSV_MAN_SECTIONS=false 290548e37bc2Smrgelse $as_nop 290648e37bc2Smrg SYSV_MAN_SECTIONS=true 290748e37bc2Smrgfi 290848e37bc2Smrg 290948e37bc2Smrg ;; 291048e37bc2Smrg *) SYSV_MAN_SECTIONS=false ;; 291148e37bc2Smrgesac 291248e37bc2Smrg 29136cf5427aSmrgif test x$APP_MAN_SUFFIX = x ; then 29146cf5427aSmrg APP_MAN_SUFFIX=1 29156cf5427aSmrgfi 29166cf5427aSmrgif test x$APP_MAN_DIR = x ; then 29176cf5427aSmrg APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 29180cc6efb6Smrgfi 29190cc6efb6Smrg 29206cf5427aSmrgif test x$LIB_MAN_SUFFIX = x ; then 29216cf5427aSmrg LIB_MAN_SUFFIX=3 29226cf5427aSmrgfi 29236cf5427aSmrgif test x$LIB_MAN_DIR = x ; then 29246cf5427aSmrg LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 29256cf5427aSmrgfi 29266cf5427aSmrg 29276cf5427aSmrgif test x$FILE_MAN_SUFFIX = x ; then 292848e37bc2Smrg case $SYSV_MAN_SECTIONS in 292948e37bc2Smrg true) FILE_MAN_SUFFIX=4 ;; 293048e37bc2Smrg *) FILE_MAN_SUFFIX=5 ;; 29316cf5427aSmrg esac 29326cf5427aSmrgfi 29336cf5427aSmrgif test x$FILE_MAN_DIR = x ; then 29346cf5427aSmrg FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 29356cf5427aSmrgfi 29366cf5427aSmrg 29376cf5427aSmrgif test x$MISC_MAN_SUFFIX = x ; then 293848e37bc2Smrg case $SYSV_MAN_SECTIONS in 293948e37bc2Smrg true) MISC_MAN_SUFFIX=5 ;; 294048e37bc2Smrg *) MISC_MAN_SUFFIX=7 ;; 29416cf5427aSmrg esac 29426cf5427aSmrgfi 29436cf5427aSmrgif test x$MISC_MAN_DIR = x ; then 29446cf5427aSmrg MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 29456cf5427aSmrgfi 29466cf5427aSmrg 29476cf5427aSmrgif test x$DRIVER_MAN_SUFFIX = x ; then 294848e37bc2Smrg case $SYSV_MAN_SECTIONS in 294948e37bc2Smrg true) DRIVER_MAN_SUFFIX=7 ;; 295048e37bc2Smrg *) DRIVER_MAN_SUFFIX=4 ;; 29516cf5427aSmrg esac 29526cf5427aSmrgfi 29536cf5427aSmrgif test x$DRIVER_MAN_DIR = x ; then 29546cf5427aSmrg DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 29556cf5427aSmrgfi 29566cf5427aSmrg 29576cf5427aSmrgif test x$ADMIN_MAN_SUFFIX = x ; then 295848e37bc2Smrg case $SYSV_MAN_SECTIONS in 295948e37bc2Smrg true) ADMIN_MAN_SUFFIX=1m ;; 296048e37bc2Smrg *) ADMIN_MAN_SUFFIX=8 ;; 29616cf5427aSmrg esac 29626cf5427aSmrgfi 29636cf5427aSmrgif test x$ADMIN_MAN_DIR = x ; then 29646cf5427aSmrg ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 29656cf5427aSmrgfi 29666cf5427aSmrg 29676cf5427aSmrg 29686cf5427aSmrg 29696cf5427aSmrg 29706cf5427aSmrg 29716cf5427aSmrg 29726cf5427aSmrg 29736cf5427aSmrg 29746cf5427aSmrg 29756cf5427aSmrg 29766cf5427aSmrg 29776cf5427aSmrg 29786cf5427aSmrg 29796cf5427aSmrg 29800cc6efb6Smrg 29811c43011aSmrgXORG_MAN_PAGE="X Version 11" 29820cc6efb6Smrg 29831c43011aSmrgMAN_SUBSTS="\ 29841c43011aSmrg -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 29851c43011aSmrg -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 29861c43011aSmrg -e 's|__xservername__|Xorg|g' \ 29871c43011aSmrg -e 's|__xconfigfile__|xorg.conf|g' \ 29881c43011aSmrg -e 's|__projectroot__|\$(prefix)|g' \ 29891c43011aSmrg -e 's|__apploaddir__|\$(appdefaultdir)|g' \ 29901c43011aSmrg -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \ 29911c43011aSmrg -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \ 29921c43011aSmrg -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \ 29931c43011aSmrg -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \ 29941c43011aSmrg -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \ 29951c43011aSmrg -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'" 29960cc6efb6Smrg 29970cc6efb6Smrg 29980cc6efb6Smrg 29991c43011aSmrg# Check whether --enable-silent-rules was given. 300048e37bc2Smrgif test ${enable_silent_rules+y} 300148e37bc2Smrgthen : 30021c43011aSmrg enableval=$enable_silent_rules; 30030cc6efb6Smrgfi 30046cf5427aSmrg 300548e37bc2Smrgcase $enable_silent_rules in # ((( 300648e37bc2Smrg yes) AM_DEFAULT_VERBOSITY=0;; 300748e37bc2Smrg no) AM_DEFAULT_VERBOSITY=1;; 300848e37bc2Smrg *) AM_DEFAULT_VERBOSITY=0;; 30091c43011aSmrgesac 301048e37bc2Smrgam_make=${MAKE-make} 301148e37bc2Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 301248e37bc2Smrgprintf %s "checking whether $am_make supports nested variables... " >&6; } 301348e37bc2Smrgif test ${am_cv_make_support_nested_variables+y} 301448e37bc2Smrgthen : 301548e37bc2Smrg printf %s "(cached) " >&6 301648e37bc2Smrgelse $as_nop 301748e37bc2Smrg if printf "%s\n" 'TRUE=$(BAR$(V)) 301848e37bc2SmrgBAR0=false 301948e37bc2SmrgBAR1=true 302048e37bc2SmrgV=1 302148e37bc2Smrgam__doit: 302248e37bc2Smrg @$(TRUE) 302348e37bc2Smrg.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 302448e37bc2Smrg am_cv_make_support_nested_variables=yes 302548e37bc2Smrgelse 302648e37bc2Smrg am_cv_make_support_nested_variables=no 302748e37bc2Smrgfi 302848e37bc2Smrgfi 302948e37bc2Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 303048e37bc2Smrgprintf "%s\n" "$am_cv_make_support_nested_variables" >&6; } 303148e37bc2Smrgif test $am_cv_make_support_nested_variables = yes; then 303248e37bc2Smrg AM_V='$(V)' 303348e37bc2Smrg AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 303448e37bc2Smrgelse 303548e37bc2Smrg AM_V=$AM_DEFAULT_VERBOSITY 303648e37bc2Smrg AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 303748e37bc2Smrgfi 30381c43011aSmrgAM_BACKSLASH='\' 30396cf5427aSmrg 30406cf5427aSmrg 30416cf5427aSmrg 30421c43011aSmrg# Require X.Org's font util macros 1.2 or later 30436cf5427aSmrg 30446cf5427aSmrg 30456cf5427aSmrg 30466cf5427aSmrg 30476cf5427aSmrg 30480cc6efb6Smrg 30490cc6efb6Smrg 30506cf5427aSmrg 30510cc6efb6Smrg 30520cc6efb6Smrg 30536cf5427aSmrg 30546cf5427aSmrg 30556cf5427aSmrg 30566cf5427aSmrg 30576cf5427aSmrg 305848e37bc2Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for root directory for font files" >&5 305948e37bc2Smrgprintf %s "checking for root directory for font files... " >&6; } 30606cf5427aSmrg 30616cf5427aSmrg# Check whether --with-fontrootdir was given. 306248e37bc2Smrgif test ${with_fontrootdir+y} 306348e37bc2Smrgthen : 30646cf5427aSmrg withval=$with_fontrootdir; FONTROOTDIR="$withval" 30656cf5427aSmrgfi 30666cf5427aSmrg 30676cf5427aSmrg # if --with-fontrootdir not specified... 30686cf5427aSmrg if test "x${FONTROOTDIR}" = "x"; then 30696cf5427aSmrg FONTROOTDIR=`$PKG_CONFIG --variable=fontrootdir fontutil` 30706cf5427aSmrg fi 30716cf5427aSmrg # ...and if pkg-config didn't find fontdir in fontutil.pc... 30726cf5427aSmrg if test "x${FONTROOTDIR}" = "x"; then 30736cf5427aSmrg FONTROOTDIR="${datadir}/fonts/X11" 30746cf5427aSmrg fi 30756cf5427aSmrg 307648e37bc2Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${FONTROOTDIR}" >&5 307748e37bc2Smrgprintf "%s\n" "${FONTROOTDIR}" >&6; } 30786cf5427aSmrg 30796cf5427aSmrg 30806cf5427aSmrg 30816cf5427aSmrg 308248e37bc2Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for directory for TTF files" >&5 308348e37bc2Smrgprintf %s "checking for directory for TTF files... " >&6; } 30846cf5427aSmrg 30856cf5427aSmrg# Check whether --with-fontdir was given. 308648e37bc2Smrgif test ${with_fontdir+y} 308748e37bc2Smrgthen : 30886cf5427aSmrg withval=$with_fontdir; FONTDIR="${withval}" 308948e37bc2Smrgelse $as_nop 30906cf5427aSmrg FONTDIR='${FONTROOTDIR}/TTF' 30910cc6efb6Smrgfi 30920cc6efb6Smrg 30936cf5427aSmrg 309448e37bc2Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${FONTDIR}" >&5 309548e37bc2Smrgprintf "%s\n" "${FONTDIR}" >&6; } 30966cf5427aSmrg 30976cf5427aSmrg 30986cf5427aSmrg 30996cf5427aSmrg 31006cf5427aSmrg # Extract the first word of "fc-cache", so it can be a program name with args. 31010cc6efb6Smrgset dummy fc-cache; ac_word=$2 310248e37bc2Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 310348e37bc2Smrgprintf %s "checking for $ac_word... " >&6; } 310448e37bc2Smrgif test ${ac_cv_path_FCCACHE+y} 310548e37bc2Smrgthen : 310648e37bc2Smrg printf %s "(cached) " >&6 310748e37bc2Smrgelse $as_nop 31080cc6efb6Smrg case $FCCACHE in 31090cc6efb6Smrg [\\/]* | ?:[\\/]*) 31100cc6efb6Smrg ac_cv_path_FCCACHE="$FCCACHE" # Let the user override the test with a path. 31110cc6efb6Smrg ;; 31120cc6efb6Smrg *) 31130cc6efb6Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 31140cc6efb6Smrgfor as_dir in $PATH 31150cc6efb6Smrgdo 31160cc6efb6Smrg IFS=$as_save_IFS 311748e37bc2Smrg case $as_dir in #((( 311848e37bc2Smrg '') as_dir=./ ;; 311948e37bc2Smrg */) ;; 312048e37bc2Smrg *) as_dir=$as_dir/ ;; 312148e37bc2Smrg esac 31221c43011aSmrg for ac_exec_ext in '' $ac_executable_extensions; do 312348e37bc2Smrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 312448e37bc2Smrg ac_cv_path_FCCACHE="$as_dir$ac_word$ac_exec_ext" 312548e37bc2Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 31260cc6efb6Smrg break 2 31270cc6efb6Smrg fi 31280cc6efb6Smrgdone 31291c43011aSmrg done 31306cf5427aSmrgIFS=$as_save_IFS 31310cc6efb6Smrg 31320cc6efb6Smrg ;; 31330cc6efb6Smrgesac 31340cc6efb6Smrgfi 31350cc6efb6SmrgFCCACHE=$ac_cv_path_FCCACHE 31360cc6efb6Smrgif test -n "$FCCACHE"; then 313748e37bc2Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FCCACHE" >&5 313848e37bc2Smrgprintf "%s\n" "$FCCACHE" >&6; } 31390cc6efb6Smrgelse 314048e37bc2Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 314148e37bc2Smrgprintf "%s\n" "no" >&6; } 31420cc6efb6Smrgfi 31430cc6efb6Smrg 31440cc6efb6Smrg 31456cf5427aSmrg FCCACHE_WARN='echo "** Warning: fonts.cache not built" ; echo "** Generate this file manually on host system using fc-cache"' 314648e37bc2Smrg if test x"$FCCACHE" = x || test x"$cross_compiling" != x"no" ; then 31476cf5427aSmrg RUN_FCCACHE="${FCCACHE_WARN}" 31486cf5427aSmrg else 31496cf5427aSmrg RUN_FCCACHE='@(if test -z "$(DESTDIR)"; then echo $(FCCACHE) $(fontdir); $(FCCACHE) $(fontdir); else' 31506cf5427aSmrg RUN_FCCACHE="${RUN_FCCACHE} ${FCCACHE_WARN} ; fi)" 31516cf5427aSmrg fi 31520cc6efb6Smrg 31530cc6efb6Smrg 31540cc6efb6Smrg 315548e37bc2Smrg if test x"$cross_compiling" != x"no" ; then 315648e37bc2Smrg # Extract the first word of "mkfontdir", so it can be a program name with args. 31576cf5427aSmrgset dummy mkfontdir; ac_word=$2 315848e37bc2Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 315948e37bc2Smrgprintf %s "checking for $ac_word... " >&6; } 316048e37bc2Smrgif test ${ac_cv_path_MKFONTDIR+y} 316148e37bc2Smrgthen : 316248e37bc2Smrg printf %s "(cached) " >&6 316348e37bc2Smrgelse $as_nop 316448e37bc2Smrg case $MKFONTDIR in 316548e37bc2Smrg [\\/]* | ?:[\\/]*) 316648e37bc2Smrg ac_cv_path_MKFONTDIR="$MKFONTDIR" # Let the user override the test with a path. 316748e37bc2Smrg ;; 316848e37bc2Smrg *) 316948e37bc2Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 317048e37bc2Smrgfor as_dir in $PATH 317148e37bc2Smrgdo 317248e37bc2Smrg IFS=$as_save_IFS 317348e37bc2Smrg case $as_dir in #((( 317448e37bc2Smrg '') as_dir=./ ;; 317548e37bc2Smrg */) ;; 317648e37bc2Smrg *) as_dir=$as_dir/ ;; 317748e37bc2Smrg esac 317848e37bc2Smrg for ac_exec_ext in '' $ac_executable_extensions; do 317948e37bc2Smrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 318048e37bc2Smrg ac_cv_path_MKFONTDIR="$as_dir$ac_word$ac_exec_ext" 318148e37bc2Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 318248e37bc2Smrg break 2 318348e37bc2Smrg fi 318448e37bc2Smrgdone 318548e37bc2Smrg done 318648e37bc2SmrgIFS=$as_save_IFS 318748e37bc2Smrg 318848e37bc2Smrg test -z "$ac_cv_path_MKFONTDIR" && ac_cv_path_MKFONTDIR="""" 318948e37bc2Smrg ;; 319048e37bc2Smrgesac 319148e37bc2Smrgfi 319248e37bc2SmrgMKFONTDIR=$ac_cv_path_MKFONTDIR 319348e37bc2Smrgif test -n "$MKFONTDIR"; then 319448e37bc2Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKFONTDIR" >&5 319548e37bc2Smrgprintf "%s\n" "$MKFONTDIR" >&6; } 31966cf5427aSmrgelse 319748e37bc2Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 319848e37bc2Smrgprintf "%s\n" "no" >&6; } 319948e37bc2Smrgfi 320048e37bc2Smrg 320148e37bc2Smrg 320248e37bc2Smrg MKFONTDIR_WARN='echo "** Warning: mkfontdir not run" ; echo "** Run mkfontdir manually on host system"' 320348e37bc2Smrg 320448e37bc2Smrg if test x"$MKFONTDIR" = x; then 320548e37bc2Smrg MKFONTDIR="${MKFONTDIR_WARN} ; echo '** mkfontdir'" 320648e37bc2Smrg fi 320748e37bc2Smrg else 320848e37bc2Smrg 320948e37bc2Smrg # Extract the first word of "mkfontdir", so it can be a program name with args. 321048e37bc2Smrgset dummy mkfontdir; ac_word=$2 321148e37bc2Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 321248e37bc2Smrgprintf %s "checking for $ac_word... " >&6; } 321348e37bc2Smrgif test ${ac_cv_path_MKFONTDIR+y} 321448e37bc2Smrgthen : 321548e37bc2Smrg printf %s "(cached) " >&6 321648e37bc2Smrgelse $as_nop 32176cf5427aSmrg case $MKFONTDIR in 32186cf5427aSmrg [\\/]* | ?:[\\/]*) 32196cf5427aSmrg ac_cv_path_MKFONTDIR="$MKFONTDIR" # Let the user override the test with a path. 32206cf5427aSmrg ;; 32216cf5427aSmrg *) 32226cf5427aSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 32236cf5427aSmrgfor as_dir in $PATH 32246cf5427aSmrgdo 32256cf5427aSmrg IFS=$as_save_IFS 322648e37bc2Smrg case $as_dir in #((( 322748e37bc2Smrg '') as_dir=./ ;; 322848e37bc2Smrg */) ;; 322948e37bc2Smrg *) as_dir=$as_dir/ ;; 323048e37bc2Smrg esac 32311c43011aSmrg for ac_exec_ext in '' $ac_executable_extensions; do 323248e37bc2Smrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 323348e37bc2Smrg ac_cv_path_MKFONTDIR="$as_dir$ac_word$ac_exec_ext" 323448e37bc2Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 32356cf5427aSmrg break 2 32366cf5427aSmrg fi 32376cf5427aSmrgdone 32381c43011aSmrg done 32396cf5427aSmrgIFS=$as_save_IFS 32406cf5427aSmrg 32416cf5427aSmrg ;; 32426cf5427aSmrgesac 32436cf5427aSmrgfi 32446cf5427aSmrgMKFONTDIR=$ac_cv_path_MKFONTDIR 32456cf5427aSmrgif test -n "$MKFONTDIR"; then 324648e37bc2Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKFONTDIR" >&5 324748e37bc2Smrgprintf "%s\n" "$MKFONTDIR" >&6; } 32480cc6efb6Smrgelse 324948e37bc2Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 325048e37bc2Smrgprintf "%s\n" "no" >&6; } 32516cf5427aSmrgfi 32520cc6efb6Smrg 32530cc6efb6Smrg 32541c43011aSmrg if test x"$MKFONTDIR" = x; then 32551c43011aSmrg as_fn_error $? "mkfontdir is required to build $PACKAGE_NAME." "$LINENO" 5 32566cf5427aSmrg fi 32570cc6efb6Smrg 325848e37bc2Smrg fi 325948e37bc2Smrg 326048e37bc2Smrg 326148e37bc2Smrg 32620cc6efb6Smrg 32636cf5427aSmrg 32646cf5427aSmrg # Extract the first word of "mkfontscale", so it can be a program name with args. 32656cf5427aSmrgset dummy mkfontscale; ac_word=$2 326648e37bc2Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 326748e37bc2Smrgprintf %s "checking for $ac_word... " >&6; } 326848e37bc2Smrgif test ${ac_cv_path_MKFONTSCALE+y} 326948e37bc2Smrgthen : 327048e37bc2Smrg printf %s "(cached) " >&6 327148e37bc2Smrgelse $as_nop 32726cf5427aSmrg case $MKFONTSCALE in 32736cf5427aSmrg [\\/]* | ?:[\\/]*) 32746cf5427aSmrg ac_cv_path_MKFONTSCALE="$MKFONTSCALE" # Let the user override the test with a path. 32756cf5427aSmrg ;; 32766cf5427aSmrg *) 32776cf5427aSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 32786cf5427aSmrgfor as_dir in $PATH 32796cf5427aSmrgdo 32806cf5427aSmrg IFS=$as_save_IFS 328148e37bc2Smrg case $as_dir in #((( 328248e37bc2Smrg '') as_dir=./ ;; 328348e37bc2Smrg */) ;; 328448e37bc2Smrg *) as_dir=$as_dir/ ;; 328548e37bc2Smrg esac 32861c43011aSmrg for ac_exec_ext in '' $ac_executable_extensions; do 328748e37bc2Smrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 328848e37bc2Smrg ac_cv_path_MKFONTSCALE="$as_dir$ac_word$ac_exec_ext" 328948e37bc2Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 32906cf5427aSmrg break 2 32916cf5427aSmrg fi 32926cf5427aSmrgdone 32931c43011aSmrg done 32946cf5427aSmrgIFS=$as_save_IFS 32956cf5427aSmrg 32966cf5427aSmrg ;; 32976cf5427aSmrgesac 32986cf5427aSmrgfi 32996cf5427aSmrgMKFONTSCALE=$ac_cv_path_MKFONTSCALE 33006cf5427aSmrgif test -n "$MKFONTSCALE"; then 330148e37bc2Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKFONTSCALE" >&5 330248e37bc2Smrgprintf "%s\n" "$MKFONTSCALE" >&6; } 33036cf5427aSmrgelse 330448e37bc2Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 330548e37bc2Smrgprintf "%s\n" "no" >&6; } 33066cf5427aSmrgfi 33076cf5427aSmrg 33086cf5427aSmrg 33091c43011aSmrg if test x"$MKFONTSCALE" = x; then 33101c43011aSmrg as_fn_error $? "mkfontscale is required to build $PACKAGE_NAME." "$LINENO" 5 33111c43011aSmrg fi 33121c43011aSmrg 33131c43011aSmrg 33141c43011aSmrg 33151c43011aSmrg 33161c43011aSmrg 331748e37bc2Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fontconfig's configuration directory" >&5 331848e37bc2Smrgprintf %s "checking for fontconfig's configuration directory... " >&6; } 33191c43011aSmrg 33201c43011aSmrg# Check whether --with-fc-confdir was given. 332148e37bc2Smrgif test ${with_fc_confdir+y} 332248e37bc2Smrgthen : 33231c43011aSmrg withval=$with_fc_confdir; FC_CONFDIR="$withval" 33241c43011aSmrgfi 33251c43011aSmrg 33261c43011aSmrg # if --with-fc-confdir was not specified 33271c43011aSmrg if test "x${FC_CONFDIR}" = "x"; then 33281c43011aSmrg FC_CONFDIR=`$PKG_CONFIG --variable=confdir fontconfig` 33291c43011aSmrg fi 33301c43011aSmrg # ...and if pkg-config didn't find confdir in fontconfig.pc... 33311c43011aSmrg if test "x${FC_CONFDIR}" = "x"; then 33321c43011aSmrg FC_CONFDIR="${sysconfdir}/fonts" 33330cc6efb6Smrg fi 33340cc6efb6Smrg 333548e37bc2Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${FC_CONFDIR}" >&5 333648e37bc2Smrgprintf "%s\n" "${FC_CONFDIR}" >&6; } 33370cc6efb6Smrg 33386cf5427aSmrg 33396cf5427aSmrgac_config_files="$ac_config_files Makefile" 33406cf5427aSmrg 33410cc6efb6Smrgcat >confcache <<\_ACEOF 33420cc6efb6Smrg# This file is a shell script that caches the results of configure 33430cc6efb6Smrg# tests run on this system so they can be shared between configure 33440cc6efb6Smrg# scripts and configure runs, see configure's option --config-cache. 33450cc6efb6Smrg# It is not useful on other systems. If it contains results you don't 33460cc6efb6Smrg# want to keep, you may remove or edit it. 33470cc6efb6Smrg# 33480cc6efb6Smrg# config.status only pays attention to the cache file if you give it 33490cc6efb6Smrg# the --recheck option to rerun configure. 33500cc6efb6Smrg# 33510cc6efb6Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when 33520cc6efb6Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the 33530cc6efb6Smrg# following values. 33540cc6efb6Smrg 33550cc6efb6Smrg_ACEOF 33560cc6efb6Smrg 33570cc6efb6Smrg# The following way of writing the cache mishandles newlines in values, 33580cc6efb6Smrg# but we know of no workaround that is simple, portable, and efficient. 33596cf5427aSmrg# So, we kill variables containing newlines. 33600cc6efb6Smrg# Ultrix sh set writes to stderr and can't be redirected directly, 33610cc6efb6Smrg# and sets the high bit in the cache file unless we assign to the vars. 33626cf5427aSmrg( 33636cf5427aSmrg for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 33646cf5427aSmrg eval ac_val=\$$ac_var 33656cf5427aSmrg case $ac_val in #( 33666cf5427aSmrg *${as_nl}*) 33676cf5427aSmrg case $ac_var in #( 336848e37bc2Smrg *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 336948e37bc2Smrgprintf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 33706cf5427aSmrg esac 33716cf5427aSmrg case $ac_var in #( 33726cf5427aSmrg _ | IFS | as_nl) ;; #( 33736cf5427aSmrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 33741c43011aSmrg *) { eval $ac_var=; unset $ac_var;} ;; 33756cf5427aSmrg esac ;; 33766cf5427aSmrg esac 33776cf5427aSmrg done 33786cf5427aSmrg 33790cc6efb6Smrg (set) 2>&1 | 33806cf5427aSmrg case $as_nl`(ac_space=' '; set) 2>&1` in #( 33816cf5427aSmrg *${as_nl}ac_space=\ *) 33821c43011aSmrg # `set' does not quote correctly, so add quotes: double-quote 33831c43011aSmrg # substitution turns \\\\ into \\, and sed turns \\ into \. 33840cc6efb6Smrg sed -n \ 33850cc6efb6Smrg "s/'/'\\\\''/g; 33860cc6efb6Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 33876cf5427aSmrg ;; #( 33880cc6efb6Smrg *) 33890cc6efb6Smrg # `set' quotes correctly as required by POSIX, so do not add quotes. 33906cf5427aSmrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 33910cc6efb6Smrg ;; 33926cf5427aSmrg esac | 33936cf5427aSmrg sort 33946cf5427aSmrg) | 33950cc6efb6Smrg sed ' 33966cf5427aSmrg /^ac_cv_env_/b end 33970cc6efb6Smrg t clear 33986cf5427aSmrg :clear 339948e37bc2Smrg s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ 34000cc6efb6Smrg t end 34016cf5427aSmrg s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 34026cf5427aSmrg :end' >>confcache 34036cf5427aSmrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 34046cf5427aSmrg if test -w "$cache_file"; then 34051c43011aSmrg if test "x$cache_file" != "x/dev/null"; then 340648e37bc2Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 340748e37bc2Smrgprintf "%s\n" "$as_me: updating cache $cache_file" >&6;} 34081c43011aSmrg if test ! -f "$cache_file" || test -h "$cache_file"; then 34091c43011aSmrg cat confcache >"$cache_file" 34101c43011aSmrg else 34111c43011aSmrg case $cache_file in #( 34121c43011aSmrg */* | ?:*) 34131c43011aSmrg mv -f confcache "$cache_file"$$ && 34141c43011aSmrg mv -f "$cache_file"$$ "$cache_file" ;; #( 34151c43011aSmrg *) 34161c43011aSmrg mv -f confcache "$cache_file" ;; 34171c43011aSmrg esac 34181c43011aSmrg fi 34191c43011aSmrg fi 34200cc6efb6Smrg else 342148e37bc2Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 342248e37bc2Smrgprintf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} 34230cc6efb6Smrg fi 34240cc6efb6Smrgfi 34250cc6efb6Smrgrm -f confcache 34260cc6efb6Smrg 34270cc6efb6Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix 34280cc6efb6Smrg# Let make expand exec_prefix. 34290cc6efb6Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 34300cc6efb6Smrg 34310cc6efb6Smrg# Transform confdefs.h into DEFS. 34320cc6efb6Smrg# Protect against shell expansion while executing Makefile rules. 34330cc6efb6Smrg# Protect against Makefile macro expansion. 34340cc6efb6Smrg# 34350cc6efb6Smrg# If the first sed substitution is executed (which looks for macros that 34366cf5427aSmrg# take arguments), then branch to the quote section. Otherwise, 34370cc6efb6Smrg# look for a macro that doesn't take arguments. 34386cf5427aSmrgac_script=' 34396cf5427aSmrg:mline 34406cf5427aSmrg/\\$/{ 34416cf5427aSmrg N 34426cf5427aSmrg s,\\\n,, 34436cf5427aSmrg b mline 34446cf5427aSmrg} 34450cc6efb6Smrgt clear 34466cf5427aSmrg:clear 34476cf5427aSmrgs/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 34480cc6efb6Smrgt quote 34496cf5427aSmrgs/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 34500cc6efb6Smrgt quote 34516cf5427aSmrgb any 34526cf5427aSmrg:quote 34536cf5427aSmrgs/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 34546cf5427aSmrgs/\[/\\&/g 34556cf5427aSmrgs/\]/\\&/g 34566cf5427aSmrgs/\$/$$/g 34576cf5427aSmrgH 34586cf5427aSmrg:any 34596cf5427aSmrg${ 34606cf5427aSmrg g 34616cf5427aSmrg s/^\n// 34626cf5427aSmrg s/\n/ /g 34636cf5427aSmrg p 34646cf5427aSmrg} 34656cf5427aSmrg' 34666cf5427aSmrgDEFS=`sed -n "$ac_script" confdefs.h` 34670cc6efb6Smrg 34680cc6efb6Smrg 34690cc6efb6Smrgac_libobjs= 34700cc6efb6Smrgac_ltlibobjs= 34711c43011aSmrgU= 34720cc6efb6Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 34730cc6efb6Smrg # 1. Remove the extension, and $U if already installed. 34746cf5427aSmrg ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 347548e37bc2Smrg ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"` 34766cf5427aSmrg # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 34776cf5427aSmrg # will be set to the directory where LIBOBJS objects are built. 34781c43011aSmrg as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 34791c43011aSmrg as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 34800cc6efb6Smrgdone 34810cc6efb6SmrgLIBOBJS=$ac_libobjs 34820cc6efb6Smrg 34830cc6efb6SmrgLTLIBOBJS=$ac_ltlibobjs 34840cc6efb6Smrg 34850cc6efb6Smrg 348648e37bc2Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 348748e37bc2Smrgprintf %s "checking that generated files are newer than configure... " >&6; } 348848e37bc2Smrg if test -n "$am_sleep_pid"; then 348948e37bc2Smrg # Hide warnings about reused PIDs. 349048e37bc2Smrg wait $am_sleep_pid 2>/dev/null 349148e37bc2Smrg fi 349248e37bc2Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5 349348e37bc2Smrgprintf "%s\n" "done" >&6; } 34946cf5427aSmrg 34950cc6efb6Smrg 34961c43011aSmrg: "${CONFIG_STATUS=./config.status}" 34976cf5427aSmrgac_write_fail=0 34980cc6efb6Smrgac_clean_files_save=$ac_clean_files 34990cc6efb6Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS" 350048e37bc2Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 350148e37bc2Smrgprintf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} 35021c43011aSmrgas_write_fail=0 35031c43011aSmrgcat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 35040cc6efb6Smrg#! $SHELL 35050cc6efb6Smrg# Generated by $as_me. 35060cc6efb6Smrg# Run this file to recreate the current configuration. 35070cc6efb6Smrg# Compiler output produced by configure, useful for debugging 35080cc6efb6Smrg# configure, is in config.log if it exists. 35090cc6efb6Smrg 35100cc6efb6Smrgdebug=false 35110cc6efb6Smrgac_cs_recheck=false 35120cc6efb6Smrgac_cs_silent=false 35130cc6efb6Smrg 35141c43011aSmrgSHELL=\${CONFIG_SHELL-$SHELL} 35151c43011aSmrgexport SHELL 35161c43011aSmrg_ASEOF 35171c43011aSmrgcat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 35181c43011aSmrg## -------------------- ## 35191c43011aSmrg## M4sh Initialization. ## 35201c43011aSmrg## -------------------- ## 35210cc6efb6Smrg 35226cf5427aSmrg# Be more Bourne compatible 35236cf5427aSmrgDUALCASE=1; export DUALCASE # for MKS sh 352448e37bc2Smrgas_nop=: 352548e37bc2Smrgif test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 352648e37bc2Smrgthen : 35270cc6efb6Smrg emulate sh 35280cc6efb6Smrg NULLCMD=: 35296cf5427aSmrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 35300cc6efb6Smrg # is contrary to our usage. Disable this feature. 35310cc6efb6Smrg alias -g '${1+"$@"}'='"$@"' 35326cf5427aSmrg setopt NO_GLOB_SUBST 353348e37bc2Smrgelse $as_nop 35341c43011aSmrg case `(set -o) 2>/dev/null` in #( 35351c43011aSmrg *posix*) : 35361c43011aSmrg set -o posix ;; #( 35371c43011aSmrg *) : 35381c43011aSmrg ;; 35396cf5427aSmrgesac 35406cf5427aSmrgfi 35416cf5427aSmrg 35426cf5427aSmrg 354348e37bc2Smrg 354448e37bc2Smrg# Reset variables that may have inherited troublesome values from 354548e37bc2Smrg# the environment. 354648e37bc2Smrg 354748e37bc2Smrg# IFS needs to be set, to space, tab, and newline, in precisely that order. 354848e37bc2Smrg# (If _AS_PATH_WALK were called with IFS unset, it would have the 354948e37bc2Smrg# side effect of setting IFS to empty, thus disabling word splitting.) 355048e37bc2Smrg# Quoting is to prevent editors from complaining about space-tab. 35516cf5427aSmrgas_nl=' 35526cf5427aSmrg' 35536cf5427aSmrgexport as_nl 355448e37bc2SmrgIFS=" "" $as_nl" 355548e37bc2Smrg 355648e37bc2SmrgPS1='$ ' 355748e37bc2SmrgPS2='> ' 355848e37bc2SmrgPS4='+ ' 355948e37bc2Smrg 356048e37bc2Smrg# Ensure predictable behavior from utilities with locale-dependent output. 356148e37bc2SmrgLC_ALL=C 356248e37bc2Smrgexport LC_ALL 356348e37bc2SmrgLANGUAGE=C 356448e37bc2Smrgexport LANGUAGE 356548e37bc2Smrg 356648e37bc2Smrg# We cannot yet rely on "unset" to work, but we need these variables 356748e37bc2Smrg# to be unset--not just set to an empty or harmless value--now, to 356848e37bc2Smrg# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct 356948e37bc2Smrg# also avoids known problems related to "unset" and subshell syntax 357048e37bc2Smrg# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). 357148e37bc2Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 357248e37bc2Smrgdo eval test \${$as_var+y} \ 357348e37bc2Smrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 357448e37bc2Smrgdone 357548e37bc2Smrg 357648e37bc2Smrg# Ensure that fds 0, 1, and 2 are open. 357748e37bc2Smrgif (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 357848e37bc2Smrgif (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 357948e37bc2Smrgif (exec 3>&2) ; then :; else exec 2>/dev/null; fi 35806cf5427aSmrg 35816cf5427aSmrg# The user is always right. 358248e37bc2Smrgif ${PATH_SEPARATOR+false} :; then 35836cf5427aSmrg PATH_SEPARATOR=: 35846cf5427aSmrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 35856cf5427aSmrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 35866cf5427aSmrg PATH_SEPARATOR=';' 35876cf5427aSmrg } 35880cc6efb6Smrgfi 35890cc6efb6Smrg 35900cc6efb6Smrg 35916cf5427aSmrg# Find who we are. Look in the path if we contain no directory separator. 35921c43011aSmrgas_myself= 35931c43011aSmrgcase $0 in #(( 35946cf5427aSmrg *[\\/]* ) as_myself=$0 ;; 35956cf5427aSmrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 35966cf5427aSmrgfor as_dir in $PATH 35976cf5427aSmrgdo 35986cf5427aSmrg IFS=$as_save_IFS 359948e37bc2Smrg case $as_dir in #((( 360048e37bc2Smrg '') as_dir=./ ;; 360148e37bc2Smrg */) ;; 360248e37bc2Smrg *) as_dir=$as_dir/ ;; 360348e37bc2Smrg esac 360448e37bc2Smrg test -r "$as_dir$0" && as_myself=$as_dir$0 && break 36051c43011aSmrg done 36066cf5427aSmrgIFS=$as_save_IFS 36076cf5427aSmrg 36086cf5427aSmrg ;; 36096cf5427aSmrgesac 36106cf5427aSmrg# We did not find ourselves, most probably we were run as `sh COMMAND' 36116cf5427aSmrg# in which case we are not to be found in the path. 36126cf5427aSmrgif test "x$as_myself" = x; then 36136cf5427aSmrg as_myself=$0 36146cf5427aSmrgfi 36156cf5427aSmrgif test ! -f "$as_myself"; then 361648e37bc2Smrg printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 36171c43011aSmrg exit 1 36186cf5427aSmrgfi 36196cf5427aSmrg 36201c43011aSmrg 36211c43011aSmrg 36221c43011aSmrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 36231c43011aSmrg# ---------------------------------------- 36241c43011aSmrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 36251c43011aSmrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 36261c43011aSmrg# script with STATUS, using 1 if that was 0. 36271c43011aSmrgas_fn_error () 36281c43011aSmrg{ 36291c43011aSmrg as_status=$1; test $as_status -eq 0 && as_status=1 36301c43011aSmrg if test "$4"; then 36311c43011aSmrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 363248e37bc2Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 36331c43011aSmrg fi 363448e37bc2Smrg printf "%s\n" "$as_me: error: $2" >&2 36351c43011aSmrg as_fn_exit $as_status 36361c43011aSmrg} # as_fn_error 36371c43011aSmrg 36381c43011aSmrg 363948e37bc2Smrg 36401c43011aSmrg# as_fn_set_status STATUS 36411c43011aSmrg# ----------------------- 36421c43011aSmrg# Set $? to STATUS, without forking. 36431c43011aSmrgas_fn_set_status () 36441c43011aSmrg{ 36451c43011aSmrg return $1 36461c43011aSmrg} # as_fn_set_status 36471c43011aSmrg 36481c43011aSmrg# as_fn_exit STATUS 36491c43011aSmrg# ----------------- 36501c43011aSmrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 36511c43011aSmrgas_fn_exit () 36521c43011aSmrg{ 36531c43011aSmrg set +e 36541c43011aSmrg as_fn_set_status $1 36551c43011aSmrg exit $1 36561c43011aSmrg} # as_fn_exit 36571c43011aSmrg 36581c43011aSmrg# as_fn_unset VAR 36591c43011aSmrg# --------------- 36601c43011aSmrg# Portably unset VAR. 36611c43011aSmrgas_fn_unset () 36621c43011aSmrg{ 36631c43011aSmrg { eval $1=; unset $1;} 36641c43011aSmrg} 36651c43011aSmrgas_unset=as_fn_unset 366648e37bc2Smrg 36671c43011aSmrg# as_fn_append VAR VALUE 36681c43011aSmrg# ---------------------- 36691c43011aSmrg# Append the text in VALUE to the end of the definition contained in VAR. Take 36701c43011aSmrg# advantage of any shell optimizations that allow amortized linear growth over 36711c43011aSmrg# repeated appends, instead of the typical quadratic growth present in naive 36721c43011aSmrg# implementations. 367348e37bc2Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 367448e37bc2Smrgthen : 36751c43011aSmrg eval 'as_fn_append () 36761c43011aSmrg { 36771c43011aSmrg eval $1+=\$2 36781c43011aSmrg }' 367948e37bc2Smrgelse $as_nop 36801c43011aSmrg as_fn_append () 36811c43011aSmrg { 36821c43011aSmrg eval $1=\$$1\$2 36831c43011aSmrg } 36841c43011aSmrgfi # as_fn_append 36851c43011aSmrg 36861c43011aSmrg# as_fn_arith ARG... 36871c43011aSmrg# ------------------ 36881c43011aSmrg# Perform arithmetic evaluation on the ARGs, and store the result in the 36891c43011aSmrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 36901c43011aSmrg# must be portable across $(()) and expr. 369148e37bc2Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 369248e37bc2Smrgthen : 36931c43011aSmrg eval 'as_fn_arith () 36941c43011aSmrg { 36951c43011aSmrg as_val=$(( $* )) 36961c43011aSmrg }' 369748e37bc2Smrgelse $as_nop 36981c43011aSmrg as_fn_arith () 36991c43011aSmrg { 37001c43011aSmrg as_val=`expr "$@" || test $? -eq 1` 37011c43011aSmrg } 37021c43011aSmrgfi # as_fn_arith 37031c43011aSmrg 37041c43011aSmrg 37056cf5427aSmrgif expr a : '\(a\)' >/dev/null 2>&1 && 37066cf5427aSmrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 37070cc6efb6Smrg as_expr=expr 37080cc6efb6Smrgelse 37090cc6efb6Smrg as_expr=false 37100cc6efb6Smrgfi 37110cc6efb6Smrg 37126cf5427aSmrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 37130cc6efb6Smrg as_basename=basename 37140cc6efb6Smrgelse 37150cc6efb6Smrg as_basename=false 37160cc6efb6Smrgfi 37170cc6efb6Smrg 37181c43011aSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 37191c43011aSmrg as_dirname=dirname 37201c43011aSmrgelse 37211c43011aSmrg as_dirname=false 37221c43011aSmrgfi 37230cc6efb6Smrg 37246cf5427aSmrgas_me=`$as_basename -- "$0" || 37250cc6efb6Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 37260cc6efb6Smrg X"$0" : 'X\(//\)$' \| \ 37276cf5427aSmrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 372848e37bc2Smrgprintf "%s\n" X/"$0" | 37296cf5427aSmrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 37306cf5427aSmrg s//\1/ 37316cf5427aSmrg q 37326cf5427aSmrg } 37336cf5427aSmrg /^X\/\(\/\/\)$/{ 37346cf5427aSmrg s//\1/ 37356cf5427aSmrg q 37366cf5427aSmrg } 37376cf5427aSmrg /^X\/\(\/\).*/{ 37386cf5427aSmrg s//\1/ 37396cf5427aSmrg q 37406cf5427aSmrg } 37416cf5427aSmrg s/.*/./; q'` 37420cc6efb6Smrg 37431c43011aSmrg# Avoid depending upon Character Ranges. 37441c43011aSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 37451c43011aSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 37461c43011aSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 37471c43011aSmrgas_cr_digits='0123456789' 37481c43011aSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits 37490cc6efb6Smrg 375048e37bc2Smrg 375148e37bc2Smrg# Determine whether it's possible to make 'echo' print without a newline. 375248e37bc2Smrg# These variables are no longer used directly by Autoconf, but are AC_SUBSTed 375348e37bc2Smrg# for compatibility with existing Makefiles. 37546cf5427aSmrgECHO_C= ECHO_N= ECHO_T= 37551c43011aSmrgcase `echo -n x` in #((((( 37566cf5427aSmrg-n*) 37571c43011aSmrg case `echo 'xy\c'` in 37586cf5427aSmrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 37591c43011aSmrg xy) ECHO_C='\c';; 37601c43011aSmrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 37611c43011aSmrg ECHO_T=' ';; 37626cf5427aSmrg esac;; 37636cf5427aSmrg*) 37646cf5427aSmrg ECHO_N='-n';; 37656cf5427aSmrgesac 37660cc6efb6Smrg 376748e37bc2Smrg# For backward compatibility with old third-party macros, we provide 376848e37bc2Smrg# the shell variables $as_echo and $as_echo_n. New code should use 376948e37bc2Smrg# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. 377048e37bc2Smrgas_echo='printf %s\n' 377148e37bc2Smrgas_echo_n='printf %s' 377248e37bc2Smrg 37730cc6efb6Smrgrm -f conf$$ conf$$.exe conf$$.file 37746cf5427aSmrgif test -d conf$$.dir; then 37756cf5427aSmrg rm -f conf$$.dir/conf$$.file 37766cf5427aSmrgelse 37776cf5427aSmrg rm -f conf$$.dir 37786cf5427aSmrg mkdir conf$$.dir 2>/dev/null 37796cf5427aSmrgfi 37806cf5427aSmrgif (echo >conf$$.file) 2>/dev/null; then 37816cf5427aSmrg if ln -s conf$$.file conf$$ 2>/dev/null; then 37820cc6efb6Smrg as_ln_s='ln -s' 37836cf5427aSmrg # ... but there are two gotchas: 37846cf5427aSmrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 37856cf5427aSmrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 378648e37bc2Smrg # In both cases, we have to default to `cp -pR'. 37876cf5427aSmrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 378848e37bc2Smrg as_ln_s='cp -pR' 37896cf5427aSmrg elif ln conf$$.file conf$$ 2>/dev/null; then 37906cf5427aSmrg as_ln_s=ln 37916cf5427aSmrg else 379248e37bc2Smrg as_ln_s='cp -pR' 37930cc6efb6Smrg fi 37940cc6efb6Smrgelse 379548e37bc2Smrg as_ln_s='cp -pR' 37960cc6efb6Smrgfi 37976cf5427aSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 37986cf5427aSmrgrmdir conf$$.dir 2>/dev/null 37990cc6efb6Smrg 38001c43011aSmrg 38011c43011aSmrg# as_fn_mkdir_p 38021c43011aSmrg# ------------- 38031c43011aSmrg# Create "$as_dir" as a directory, including parents if necessary. 38041c43011aSmrgas_fn_mkdir_p () 38051c43011aSmrg{ 38061c43011aSmrg 38071c43011aSmrg case $as_dir in #( 38081c43011aSmrg -*) as_dir=./$as_dir;; 38091c43011aSmrg esac 38101c43011aSmrg test -d "$as_dir" || eval $as_mkdir_p || { 38111c43011aSmrg as_dirs= 38121c43011aSmrg while :; do 38131c43011aSmrg case $as_dir in #( 381448e37bc2Smrg *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 38151c43011aSmrg *) as_qdir=$as_dir;; 38161c43011aSmrg esac 38171c43011aSmrg as_dirs="'$as_qdir' $as_dirs" 38181c43011aSmrg as_dir=`$as_dirname -- "$as_dir" || 38191c43011aSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 38201c43011aSmrg X"$as_dir" : 'X\(//\)[^/]' \| \ 38211c43011aSmrg X"$as_dir" : 'X\(//\)$' \| \ 38221c43011aSmrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 382348e37bc2Smrgprintf "%s\n" X"$as_dir" | 38241c43011aSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 38251c43011aSmrg s//\1/ 38261c43011aSmrg q 38271c43011aSmrg } 38281c43011aSmrg /^X\(\/\/\)[^/].*/{ 38291c43011aSmrg s//\1/ 38301c43011aSmrg q 38311c43011aSmrg } 38321c43011aSmrg /^X\(\/\/\)$/{ 38331c43011aSmrg s//\1/ 38341c43011aSmrg q 38351c43011aSmrg } 38361c43011aSmrg /^X\(\/\).*/{ 38371c43011aSmrg s//\1/ 38381c43011aSmrg q 38391c43011aSmrg } 38401c43011aSmrg s/.*/./; q'` 38411c43011aSmrg test -d "$as_dir" && break 38421c43011aSmrg done 38431c43011aSmrg test -z "$as_dirs" || eval "mkdir $as_dirs" 38441c43011aSmrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 38451c43011aSmrg 38461c43011aSmrg 38471c43011aSmrg} # as_fn_mkdir_p 38480cc6efb6Smrgif mkdir -p . 2>/dev/null; then 38491c43011aSmrg as_mkdir_p='mkdir -p "$as_dir"' 38500cc6efb6Smrgelse 38510cc6efb6Smrg test -d ./-p && rmdir ./-p 38520cc6efb6Smrg as_mkdir_p=false 38530cc6efb6Smrgfi 38540cc6efb6Smrg 385548e37bc2Smrg 385648e37bc2Smrg# as_fn_executable_p FILE 385748e37bc2Smrg# ----------------------- 385848e37bc2Smrg# Test if FILE is an executable regular file. 385948e37bc2Smrgas_fn_executable_p () 386048e37bc2Smrg{ 386148e37bc2Smrg test -f "$1" && test -x "$1" 386248e37bc2Smrg} # as_fn_executable_p 386348e37bc2Smrgas_test_x='test -x' 386448e37bc2Smrgas_executable_p=as_fn_executable_p 38650cc6efb6Smrg 38660cc6efb6Smrg# Sed expression to map a string onto a valid CPP name. 38670cc6efb6Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 38680cc6efb6Smrg 38690cc6efb6Smrg# Sed expression to map a string onto a valid variable name. 38700cc6efb6Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 38710cc6efb6Smrg 38720cc6efb6Smrg 38730cc6efb6Smrgexec 6>&1 38741c43011aSmrg## ----------------------------------- ## 38751c43011aSmrg## Main body of $CONFIG_STATUS script. ## 38761c43011aSmrg## ----------------------------------- ## 38771c43011aSmrg_ASEOF 38781c43011aSmrgtest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 38790cc6efb6Smrg 38801c43011aSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 38811c43011aSmrg# Save the log message, to keep $0 and so on meaningful, and to 38820cc6efb6Smrg# report actual input values of CONFIG_FILES etc. instead of their 38836cf5427aSmrg# values after options handling. 38846cf5427aSmrgac_log=" 388548e37bc2SmrgThis file was extended by font-bh-ttf $as_me 1.0.4, which was 388648e37bc2Smrggenerated by GNU Autoconf 2.71. Invocation command line was 38870cc6efb6Smrg 38880cc6efb6Smrg CONFIG_FILES = $CONFIG_FILES 38890cc6efb6Smrg CONFIG_HEADERS = $CONFIG_HEADERS 38900cc6efb6Smrg CONFIG_LINKS = $CONFIG_LINKS 38910cc6efb6Smrg CONFIG_COMMANDS = $CONFIG_COMMANDS 38920cc6efb6Smrg $ $0 $@ 38930cc6efb6Smrg 38946cf5427aSmrgon `(hostname || uname -n) 2>/dev/null | sed 1q` 38956cf5427aSmrg" 38966cf5427aSmrg 38970cc6efb6Smrg_ACEOF 38980cc6efb6Smrg 38996cf5427aSmrgcase $ac_config_files in *" 39006cf5427aSmrg"*) set x $ac_config_files; shift; ac_config_files=$*;; 39016cf5427aSmrgesac 39020cc6efb6Smrg 39030cc6efb6Smrg 39040cc6efb6Smrg 39056cf5427aSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 39066cf5427aSmrg# Files that config.status was made for. 39076cf5427aSmrgconfig_files="$ac_config_files" 39080cc6efb6Smrg 39096cf5427aSmrg_ACEOF 39100cc6efb6Smrg 39116cf5427aSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 39120cc6efb6Smrgac_cs_usage="\ 39131c43011aSmrg\`$as_me' instantiates files and other configuration actions 39141c43011aSmrgfrom templates according to the current configuration. Unless the files 39151c43011aSmrgand actions are specified as TAGs, all are instantiated by default. 39160cc6efb6Smrg 39171c43011aSmrgUsage: $0 [OPTION]... [TAG]... 39180cc6efb6Smrg 39190cc6efb6Smrg -h, --help print this help, then exit 39206cf5427aSmrg -V, --version print version number and configuration settings, then exit 39211c43011aSmrg --config print configuration, then exit 39226cf5427aSmrg -q, --quiet, --silent 39236cf5427aSmrg do not print progress messages 39240cc6efb6Smrg -d, --debug don't remove temporary files 39250cc6efb6Smrg --recheck update $as_me by reconfiguring in the same conditions 39266cf5427aSmrg --file=FILE[:TEMPLATE] 39276cf5427aSmrg instantiate the configuration file FILE 39280cc6efb6Smrg 39290cc6efb6SmrgConfiguration files: 39300cc6efb6Smrg$config_files 39310cc6efb6Smrg 393248e37bc2SmrgReport bugs to <https://gitlab.freedesktop.org/xorg/font/bh-ttf/-/issues>." 39330cc6efb6Smrg 39346cf5427aSmrg_ACEOF 393548e37bc2Smrgac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` 393648e37bc2Smrgac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` 39376cf5427aSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 393848e37bc2Smrgac_cs_config='$ac_cs_config_escaped' 39390cc6efb6Smrgac_cs_version="\\ 394048e37bc2Smrgfont-bh-ttf config.status 1.0.4 394148e37bc2Smrgconfigured by $0, generated by GNU Autoconf 2.71, 39421c43011aSmrg with options \\"\$ac_cs_config\\" 39430cc6efb6Smrg 394448e37bc2SmrgCopyright (C) 2021 Free Software Foundation, Inc. 39450cc6efb6SmrgThis config.status script is free software; the Free Software Foundation 39460cc6efb6Smrggives unlimited permission to copy, distribute and modify it." 39476cf5427aSmrg 39486cf5427aSmrgac_pwd='$ac_pwd' 39496cf5427aSmrgsrcdir='$srcdir' 39506cf5427aSmrgINSTALL='$INSTALL' 39516cf5427aSmrgMKDIR_P='$MKDIR_P' 39526cf5427aSmrgAWK='$AWK' 39536cf5427aSmrgtest -n "\$AWK" || AWK=awk 39540cc6efb6Smrg_ACEOF 39550cc6efb6Smrg 39566cf5427aSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 39576cf5427aSmrg# The default lists apply if the user does not specify any file. 39580cc6efb6Smrgac_need_defaults=: 39590cc6efb6Smrgwhile test $# != 0 39600cc6efb6Smrgdo 39610cc6efb6Smrg case $1 in 39621c43011aSmrg --*=?*) 39636cf5427aSmrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 39646cf5427aSmrg ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 39650cc6efb6Smrg ac_shift=: 39660cc6efb6Smrg ;; 39671c43011aSmrg --*=) 39681c43011aSmrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 39691c43011aSmrg ac_optarg= 39701c43011aSmrg ac_shift=: 39711c43011aSmrg ;; 39726cf5427aSmrg *) 39730cc6efb6Smrg ac_option=$1 39740cc6efb6Smrg ac_optarg=$2 39750cc6efb6Smrg ac_shift=shift 39760cc6efb6Smrg ;; 39770cc6efb6Smrg esac 39780cc6efb6Smrg 39790cc6efb6Smrg case $ac_option in 39800cc6efb6Smrg # Handling of the options. 39810cc6efb6Smrg -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 39820cc6efb6Smrg ac_cs_recheck=: ;; 39836cf5427aSmrg --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 398448e37bc2Smrg printf "%s\n" "$ac_cs_version"; exit ;; 39851c43011aSmrg --config | --confi | --conf | --con | --co | --c ) 398648e37bc2Smrg printf "%s\n" "$ac_cs_config"; exit ;; 39876cf5427aSmrg --debug | --debu | --deb | --de | --d | -d ) 39880cc6efb6Smrg debug=: ;; 39890cc6efb6Smrg --file | --fil | --fi | --f ) 39900cc6efb6Smrg $ac_shift 39916cf5427aSmrg case $ac_optarg in 399248e37bc2Smrg *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 39931c43011aSmrg '') as_fn_error $? "missing file argument" ;; 39946cf5427aSmrg esac 39951c43011aSmrg as_fn_append CONFIG_FILES " '$ac_optarg'" 39960cc6efb6Smrg ac_need_defaults=false;; 39976cf5427aSmrg --he | --h | --help | --hel | -h ) 399848e37bc2Smrg printf "%s\n" "$ac_cs_usage"; exit ;; 39990cc6efb6Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 40000cc6efb6Smrg | -silent | --silent | --silen | --sile | --sil | --si | --s) 40010cc6efb6Smrg ac_cs_silent=: ;; 40020cc6efb6Smrg 40030cc6efb6Smrg # This is an error. 40041c43011aSmrg -*) as_fn_error $? "unrecognized option: \`$1' 40051c43011aSmrgTry \`$0 --help' for more information." ;; 40060cc6efb6Smrg 40071c43011aSmrg *) as_fn_append ac_config_targets " $1" 40086cf5427aSmrg ac_need_defaults=false ;; 40090cc6efb6Smrg 40100cc6efb6Smrg esac 40110cc6efb6Smrg shift 40120cc6efb6Smrgdone 40130cc6efb6Smrg 40140cc6efb6Smrgac_configure_extra_args= 40150cc6efb6Smrg 40160cc6efb6Smrgif $ac_cs_silent; then 40170cc6efb6Smrg exec 6>/dev/null 40180cc6efb6Smrg ac_configure_extra_args="$ac_configure_extra_args --silent" 40190cc6efb6Smrgfi 40200cc6efb6Smrg 40210cc6efb6Smrg_ACEOF 40226cf5427aSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 40230cc6efb6Smrgif \$ac_cs_recheck; then 402448e37bc2Smrg set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 40256cf5427aSmrg shift 402648e37bc2Smrg \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 40276cf5427aSmrg CONFIG_SHELL='$SHELL' 40286cf5427aSmrg export CONFIG_SHELL 40296cf5427aSmrg exec "\$@" 40300cc6efb6Smrgfi 40310cc6efb6Smrg 40320cc6efb6Smrg_ACEOF 40336cf5427aSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 40346cf5427aSmrgexec 5>>config.log 40356cf5427aSmrg{ 40366cf5427aSmrg echo 40376cf5427aSmrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 40386cf5427aSmrg## Running $as_me. ## 40396cf5427aSmrg_ASBOX 404048e37bc2Smrg printf "%s\n" "$ac_log" 40416cf5427aSmrg} >&5 40420cc6efb6Smrg 40436cf5427aSmrg_ACEOF 40446cf5427aSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 40456cf5427aSmrg_ACEOF 40460cc6efb6Smrg 40476cf5427aSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 40480cc6efb6Smrg 40496cf5427aSmrg# Handling of arguments. 40500cc6efb6Smrgfor ac_config_target in $ac_config_targets 40510cc6efb6Smrgdo 40526cf5427aSmrg case $ac_config_target in 40536cf5427aSmrg "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 40546cf5427aSmrg 40551c43011aSmrg *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 40560cc6efb6Smrg esac 40570cc6efb6Smrgdone 40580cc6efb6Smrg 40596cf5427aSmrg 40600cc6efb6Smrg# If the user did not use the arguments to specify the items to instantiate, 40610cc6efb6Smrg# then the envvar interface is used. Set only those that are not. 40620cc6efb6Smrg# We use the long form for the default assignment because of an extremely 40630cc6efb6Smrg# bizarre bug on SunOS 4.1.3. 40640cc6efb6Smrgif $ac_need_defaults; then 406548e37bc2Smrg test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files 40660cc6efb6Smrgfi 40670cc6efb6Smrg 40680cc6efb6Smrg# Have a temporary directory for convenience. Make it in the build tree 40696cf5427aSmrg# simply because there is no reason against having it here, and in addition, 40700cc6efb6Smrg# creating and moving files from /tmp can sometimes cause problems. 40716cf5427aSmrg# Hook for its removal unless debugging. 40726cf5427aSmrg# Note that there is a small window in which the directory will not be cleaned: 40736cf5427aSmrg# after its creation but before its name has been assigned to `$tmp'. 40740cc6efb6Smrg$debug || 40750cc6efb6Smrg{ 40761c43011aSmrg tmp= ac_tmp= 40776cf5427aSmrg trap 'exit_status=$? 40781c43011aSmrg : "${ac_tmp:=$tmp}" 40791c43011aSmrg { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 40806cf5427aSmrg' 0 40811c43011aSmrg trap 'as_fn_exit 1' 1 2 13 15 40820cc6efb6Smrg} 40830cc6efb6Smrg# Create a (secure) tmp directory for tmp files. 40840cc6efb6Smrg 40850cc6efb6Smrg{ 40866cf5427aSmrg tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 40871c43011aSmrg test -d "$tmp" 40880cc6efb6Smrg} || 40890cc6efb6Smrg{ 40906cf5427aSmrg tmp=./conf$$-$RANDOM 40916cf5427aSmrg (umask 077 && mkdir "$tmp") 40921c43011aSmrg} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 40931c43011aSmrgac_tmp=$tmp 40940cc6efb6Smrg 40956cf5427aSmrg# Set up the scripts for CONFIG_FILES section. 40966cf5427aSmrg# No need to generate them if there are no CONFIG_FILES. 40976cf5427aSmrg# This happens for instance with `./config.status config.h'. 40986cf5427aSmrgif test -n "$CONFIG_FILES"; then 40996cf5427aSmrg 41006cf5427aSmrg 41011c43011aSmrgac_cr=`echo X | tr X '\015'` 41021c43011aSmrg# On cygwin, bash can eat \r inside `` if the user requested igncr. 41031c43011aSmrg# But we know of no other shell where ac_cr would be empty at this 41041c43011aSmrg# point, so we can use a bashism as a fallback. 41051c43011aSmrgif test "x$ac_cr" = x; then 41061c43011aSmrg eval ac_cr=\$\'\\r\' 41071c43011aSmrgfi 41086cf5427aSmrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 41096cf5427aSmrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 41106cf5427aSmrg ac_cs_awk_cr='\\r' 41116cf5427aSmrgelse 41126cf5427aSmrg ac_cs_awk_cr=$ac_cr 41136cf5427aSmrgfi 41146cf5427aSmrg 41151c43011aSmrgecho 'BEGIN {' >"$ac_tmp/subs1.awk" && 41160cc6efb6Smrg_ACEOF 41170cc6efb6Smrg 41180cc6efb6Smrg 41196cf5427aSmrg{ 41206cf5427aSmrg echo "cat >conf$$subs.awk <<_ACEOF" && 41216cf5427aSmrg echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 41226cf5427aSmrg echo "_ACEOF" 41236cf5427aSmrg} >conf$$subs.sh || 41241c43011aSmrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 41251c43011aSmrgac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 41266cf5427aSmrgac_delim='%!_!# ' 41276cf5427aSmrgfor ac_last_try in false false false false false :; do 41286cf5427aSmrg . ./conf$$subs.sh || 41291c43011aSmrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 41300cc6efb6Smrg 41316cf5427aSmrg ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 41326cf5427aSmrg if test $ac_delim_n = $ac_delim_num; then 41336cf5427aSmrg break 41346cf5427aSmrg elif $ac_last_try; then 41351c43011aSmrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 41366cf5427aSmrg else 41376cf5427aSmrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 41380cc6efb6Smrg fi 41396cf5427aSmrgdone 41406cf5427aSmrgrm -f conf$$subs.sh 41410cc6efb6Smrg 41426cf5427aSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 41431c43011aSmrgcat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 41440cc6efb6Smrg_ACEOF 41456cf5427aSmrgsed -n ' 41466cf5427aSmrgh 41476cf5427aSmrgs/^/S["/; s/!.*/"]=/ 41486cf5427aSmrgp 41496cf5427aSmrgg 41506cf5427aSmrgs/^[^!]*!// 41516cf5427aSmrg:repl 41526cf5427aSmrgt repl 41536cf5427aSmrgs/'"$ac_delim"'$// 41546cf5427aSmrgt delim 41556cf5427aSmrg:nl 41566cf5427aSmrgh 41571c43011aSmrgs/\(.\{148\}\)..*/\1/ 41586cf5427aSmrgt more1 41596cf5427aSmrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 41606cf5427aSmrgp 41616cf5427aSmrgn 41626cf5427aSmrgb repl 41636cf5427aSmrg:more1 41646cf5427aSmrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 41656cf5427aSmrgp 41666cf5427aSmrgg 41676cf5427aSmrgs/.\{148\}// 41686cf5427aSmrgt nl 41696cf5427aSmrg:delim 41706cf5427aSmrgh 41711c43011aSmrgs/\(.\{148\}\)..*/\1/ 41726cf5427aSmrgt more2 41736cf5427aSmrgs/["\\]/\\&/g; s/^/"/; s/$/"/ 41746cf5427aSmrgp 41756cf5427aSmrgb 41766cf5427aSmrg:more2 41776cf5427aSmrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 41786cf5427aSmrgp 41796cf5427aSmrgg 41806cf5427aSmrgs/.\{148\}// 41816cf5427aSmrgt delim 41826cf5427aSmrg' <conf$$subs.awk | sed ' 41836cf5427aSmrg/^[^""]/{ 41846cf5427aSmrg N 41856cf5427aSmrg s/\n// 41866cf5427aSmrg} 41876cf5427aSmrg' >>$CONFIG_STATUS || ac_write_fail=1 41886cf5427aSmrgrm -f conf$$subs.awk 41896cf5427aSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 41906cf5427aSmrg_ACAWK 41911c43011aSmrgcat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 41926cf5427aSmrg for (key in S) S_is_set[key] = 1 41936cf5427aSmrg FS = "" 41946cf5427aSmrg 41956cf5427aSmrg} 41966cf5427aSmrg{ 41976cf5427aSmrg line = $ 0 41986cf5427aSmrg nfields = split(line, field, "@") 41996cf5427aSmrg substed = 0 42006cf5427aSmrg len = length(field[1]) 42016cf5427aSmrg for (i = 2; i < nfields; i++) { 42026cf5427aSmrg key = field[i] 42036cf5427aSmrg keylen = length(key) 42046cf5427aSmrg if (S_is_set[key]) { 42056cf5427aSmrg value = S[key] 42066cf5427aSmrg line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 42076cf5427aSmrg len += length(value) + length(field[++i]) 42086cf5427aSmrg substed = 1 42096cf5427aSmrg } else 42106cf5427aSmrg len += 1 + keylen 42116cf5427aSmrg } 42126cf5427aSmrg 42136cf5427aSmrg print line 42146cf5427aSmrg} 42156cf5427aSmrg 42166cf5427aSmrg_ACAWK 42176cf5427aSmrg_ACEOF 42186cf5427aSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 42196cf5427aSmrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 42206cf5427aSmrg sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 42216cf5427aSmrgelse 42226cf5427aSmrg cat 42231c43011aSmrgfi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 42241c43011aSmrg || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 42256cf5427aSmrg_ACEOF 42266cf5427aSmrg 42271c43011aSmrg# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 42281c43011aSmrg# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 42296cf5427aSmrg# trailing colons and then remove the whole line if VPATH becomes empty 42306cf5427aSmrg# (actually we leave an empty line to preserve line numbers). 42316cf5427aSmrgif test "x$srcdir" = x.; then 42321c43011aSmrg ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 42331c43011aSmrgh 42341c43011aSmrgs/// 42351c43011aSmrgs/^/:/ 42361c43011aSmrgs/[ ]*$/:/ 42371c43011aSmrgs/:\$(srcdir):/:/g 42381c43011aSmrgs/:\${srcdir}:/:/g 42391c43011aSmrgs/:@srcdir@:/:/g 42401c43011aSmrgs/^:*// 42416cf5427aSmrgs/:*$// 42421c43011aSmrgx 42431c43011aSmrgs/\(=[ ]*\).*/\1/ 42441c43011aSmrgG 42451c43011aSmrgs/\n// 42466cf5427aSmrgs/^[^=]*=[ ]*$// 42476cf5427aSmrg}' 42486cf5427aSmrgfi 42496cf5427aSmrg 42506cf5427aSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 42516cf5427aSmrgfi # test -n "$CONFIG_FILES" 42526cf5427aSmrg 42536cf5427aSmrg 425448e37bc2Smrgeval set X " :F $CONFIG_FILES " 42556cf5427aSmrgshift 42566cf5427aSmrgfor ac_tag 42576cf5427aSmrgdo 42586cf5427aSmrg case $ac_tag in 42596cf5427aSmrg :[FHLC]) ac_mode=$ac_tag; continue;; 42606cf5427aSmrg esac 42616cf5427aSmrg case $ac_mode$ac_tag in 42626cf5427aSmrg :[FHL]*:*);; 42631c43011aSmrg :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 42646cf5427aSmrg :[FH]-) ac_tag=-:-;; 42656cf5427aSmrg :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 42666cf5427aSmrg esac 42676cf5427aSmrg ac_save_IFS=$IFS 42686cf5427aSmrg IFS=: 42696cf5427aSmrg set x $ac_tag 42706cf5427aSmrg IFS=$ac_save_IFS 42716cf5427aSmrg shift 42726cf5427aSmrg ac_file=$1 42736cf5427aSmrg shift 42746cf5427aSmrg 42756cf5427aSmrg case $ac_mode in 42766cf5427aSmrg :L) ac_source=$1;; 42776cf5427aSmrg :[FH]) 42786cf5427aSmrg ac_file_inputs= 42796cf5427aSmrg for ac_f 42806cf5427aSmrg do 42816cf5427aSmrg case $ac_f in 42821c43011aSmrg -) ac_f="$ac_tmp/stdin";; 42836cf5427aSmrg *) # Look for the file first in the build tree, then in the source tree 42846cf5427aSmrg # (if the path is not absolute). The absolute path cannot be DOS-style, 42856cf5427aSmrg # because $ac_f cannot contain `:'. 42866cf5427aSmrg test -f "$ac_f" || 42876cf5427aSmrg case $ac_f in 42886cf5427aSmrg [\\/$]*) false;; 42896cf5427aSmrg *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 42906cf5427aSmrg esac || 42911c43011aSmrg as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 42926cf5427aSmrg esac 429348e37bc2Smrg case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 42941c43011aSmrg as_fn_append ac_file_inputs " '$ac_f'" 42956cf5427aSmrg done 42966cf5427aSmrg 42976cf5427aSmrg # Let's still pretend it is `configure' which instantiates (i.e., don't 42986cf5427aSmrg # use $as_me), people would be surprised to read: 42996cf5427aSmrg # /* config.h. Generated by config.status. */ 43006cf5427aSmrg configure_input='Generated from '` 430148e37bc2Smrg printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 43026cf5427aSmrg `' by configure.' 43036cf5427aSmrg if test x"$ac_file" != x-; then 43046cf5427aSmrg configure_input="$ac_file. $configure_input" 430548e37bc2Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 430648e37bc2Smrgprintf "%s\n" "$as_me: creating $ac_file" >&6;} 43076cf5427aSmrg fi 43086cf5427aSmrg # Neutralize special characters interpreted by sed in replacement strings. 43096cf5427aSmrg case $configure_input in #( 43106cf5427aSmrg *\&* | *\|* | *\\* ) 431148e37bc2Smrg ac_sed_conf_input=`printf "%s\n" "$configure_input" | 43126cf5427aSmrg sed 's/[\\\\&|]/\\\\&/g'`;; #( 43136cf5427aSmrg *) ac_sed_conf_input=$configure_input;; 43146cf5427aSmrg esac 43156cf5427aSmrg 43166cf5427aSmrg case $ac_tag in 43171c43011aSmrg *:-:* | *:-) cat >"$ac_tmp/stdin" \ 43181c43011aSmrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 43196cf5427aSmrg esac 43206cf5427aSmrg ;; 43210cc6efb6Smrg esac 43220cc6efb6Smrg 43236cf5427aSmrg ac_dir=`$as_dirname -- "$ac_file" || 43240cc6efb6Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 43250cc6efb6Smrg X"$ac_file" : 'X\(//\)[^/]' \| \ 43260cc6efb6Smrg X"$ac_file" : 'X\(//\)$' \| \ 43276cf5427aSmrg X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 432848e37bc2Smrgprintf "%s\n" X"$ac_file" | 43296cf5427aSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 43306cf5427aSmrg s//\1/ 43316cf5427aSmrg q 43326cf5427aSmrg } 43336cf5427aSmrg /^X\(\/\/\)[^/].*/{ 43346cf5427aSmrg s//\1/ 43356cf5427aSmrg q 43366cf5427aSmrg } 43376cf5427aSmrg /^X\(\/\/\)$/{ 43386cf5427aSmrg s//\1/ 43396cf5427aSmrg q 43406cf5427aSmrg } 43416cf5427aSmrg /^X\(\/\).*/{ 43426cf5427aSmrg s//\1/ 43436cf5427aSmrg q 43446cf5427aSmrg } 43456cf5427aSmrg s/.*/./; q'` 43461c43011aSmrg as_dir="$ac_dir"; as_fn_mkdir_p 43470cc6efb6Smrg ac_builddir=. 43480cc6efb6Smrg 43496cf5427aSmrgcase "$ac_dir" in 43506cf5427aSmrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 43516cf5427aSmrg*) 435248e37bc2Smrg ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 43536cf5427aSmrg # A ".." for each directory in $ac_dir_suffix. 435448e37bc2Smrg ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 43556cf5427aSmrg case $ac_top_builddir_sub in 43566cf5427aSmrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 43576cf5427aSmrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 43586cf5427aSmrg esac ;; 43596cf5427aSmrgesac 43606cf5427aSmrgac_abs_top_builddir=$ac_pwd 43616cf5427aSmrgac_abs_builddir=$ac_pwd$ac_dir_suffix 43626cf5427aSmrg# for backward compatibility: 43636cf5427aSmrgac_top_builddir=$ac_top_build_prefix 43640cc6efb6Smrg 43650cc6efb6Smrgcase $srcdir in 43666cf5427aSmrg .) # We are building in place. 43670cc6efb6Smrg ac_srcdir=. 43686cf5427aSmrg ac_top_srcdir=$ac_top_builddir_sub 43696cf5427aSmrg ac_abs_top_srcdir=$ac_pwd ;; 43706cf5427aSmrg [\\/]* | ?:[\\/]* ) # Absolute name. 43710cc6efb6Smrg ac_srcdir=$srcdir$ac_dir_suffix; 43726cf5427aSmrg ac_top_srcdir=$srcdir 43736cf5427aSmrg ac_abs_top_srcdir=$srcdir ;; 43746cf5427aSmrg *) # Relative name. 43756cf5427aSmrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 43766cf5427aSmrg ac_top_srcdir=$ac_top_build_prefix$srcdir 43776cf5427aSmrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 43780cc6efb6Smrgesac 43796cf5427aSmrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 43800cc6efb6Smrg 43810cc6efb6Smrg 43826cf5427aSmrg case $ac_mode in 43836cf5427aSmrg :F) 43846cf5427aSmrg # 43856cf5427aSmrg # CONFIG_FILE 43866cf5427aSmrg # 43870cc6efb6Smrg 43880cc6efb6Smrg case $INSTALL in 43890cc6efb6Smrg [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 43906cf5427aSmrg *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 43910cc6efb6Smrg esac 43926cf5427aSmrg ac_MKDIR_P=$MKDIR_P 43936cf5427aSmrg case $MKDIR_P in 43946cf5427aSmrg [\\/$]* | ?:[\\/]* ) ;; 43956cf5427aSmrg */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 43966cf5427aSmrg esac 43976cf5427aSmrg_ACEOF 43980cc6efb6Smrg 43996cf5427aSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 44006cf5427aSmrg# If the template does not know about datarootdir, expand it. 44016cf5427aSmrg# FIXME: This hack should be removed a few years after 2.60. 44026cf5427aSmrgac_datarootdir_hack=; ac_datarootdir_seen= 44036cf5427aSmrgac_sed_dataroot=' 44046cf5427aSmrg/datarootdir/ { 44056cf5427aSmrg p 44066cf5427aSmrg q 44076cf5427aSmrg} 44086cf5427aSmrg/@datadir@/p 44096cf5427aSmrg/@docdir@/p 44106cf5427aSmrg/@infodir@/p 44116cf5427aSmrg/@localedir@/p 44121c43011aSmrg/@mandir@/p' 44136cf5427aSmrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 44146cf5427aSmrg*datarootdir*) ac_datarootdir_seen=yes;; 44156cf5427aSmrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 441648e37bc2Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 441748e37bc2Smrgprintf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 44186cf5427aSmrg_ACEOF 44196cf5427aSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 44206cf5427aSmrg ac_datarootdir_hack=' 44216cf5427aSmrg s&@datadir@&$datadir&g 44226cf5427aSmrg s&@docdir@&$docdir&g 44236cf5427aSmrg s&@infodir@&$infodir&g 44246cf5427aSmrg s&@localedir@&$localedir&g 44256cf5427aSmrg s&@mandir@&$mandir&g 44261c43011aSmrg s&\\\${datarootdir}&$datarootdir&g' ;; 44276cf5427aSmrgesac 44280cc6efb6Smrg_ACEOF 44296cf5427aSmrg 44306cf5427aSmrg# Neutralize VPATH when `$srcdir' = `.'. 44316cf5427aSmrg# Shell code in configure.ac might set extrasub. 44326cf5427aSmrg# FIXME: do we really want to maintain this feature? 44336cf5427aSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 44346cf5427aSmrgac_sed_extra="$ac_vpsub 44350cc6efb6Smrg$extrasub 44360cc6efb6Smrg_ACEOF 44376cf5427aSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 44380cc6efb6Smrg:t 44390cc6efb6Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 44406cf5427aSmrgs|@configure_input@|$ac_sed_conf_input|;t t 44416cf5427aSmrgs&@top_builddir@&$ac_top_builddir_sub&;t t 44426cf5427aSmrgs&@top_build_prefix@&$ac_top_build_prefix&;t t 44436cf5427aSmrgs&@srcdir@&$ac_srcdir&;t t 44446cf5427aSmrgs&@abs_srcdir@&$ac_abs_srcdir&;t t 44456cf5427aSmrgs&@top_srcdir@&$ac_top_srcdir&;t t 44466cf5427aSmrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 44476cf5427aSmrgs&@builddir@&$ac_builddir&;t t 44486cf5427aSmrgs&@abs_builddir@&$ac_abs_builddir&;t t 44496cf5427aSmrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t 44506cf5427aSmrgs&@INSTALL@&$ac_INSTALL&;t t 44516cf5427aSmrgs&@MKDIR_P@&$ac_MKDIR_P&;t t 44526cf5427aSmrg$ac_datarootdir_hack 44536cf5427aSmrg" 44541c43011aSmrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 44551c43011aSmrg >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 44560cc6efb6Smrg 44576cf5427aSmrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 44581c43011aSmrg { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 44591c43011aSmrg { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 44601c43011aSmrg "$ac_tmp/out"`; test -z "$ac_out"; } && 446148e37bc2Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 44621c43011aSmrgwhich seems to be undefined. Please make sure it is defined" >&5 446348e37bc2Smrgprintf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 44641c43011aSmrgwhich seems to be undefined. Please make sure it is defined" >&2;} 44656cf5427aSmrg 44661c43011aSmrg rm -f "$ac_tmp/stdin" 44676cf5427aSmrg case $ac_file in 44681c43011aSmrg -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 44691c43011aSmrg *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 44706cf5427aSmrg esac \ 44711c43011aSmrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 44726cf5427aSmrg ;; 44736cf5427aSmrg 44746cf5427aSmrg 44756cf5427aSmrg 44766cf5427aSmrg esac 44776cf5427aSmrg 44786cf5427aSmrgdone # for ac_tag 44790cc6efb6Smrg 44800cc6efb6Smrg 44811c43011aSmrgas_fn_exit 0 44820cc6efb6Smrg_ACEOF 44830cc6efb6Smrgac_clean_files=$ac_clean_files_save 44840cc6efb6Smrg 44856cf5427aSmrgtest $ac_write_fail = 0 || 44861c43011aSmrg as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 44876cf5427aSmrg 44880cc6efb6Smrg 44890cc6efb6Smrg# configure is writing to config.log, and then calls config.status. 44900cc6efb6Smrg# config.status does its own redirection, appending to config.log. 44910cc6efb6Smrg# Unfortunately, on DOS this fails, as config.log is still kept open 44920cc6efb6Smrg# by configure, so config.status won't be able to write to it; its 44930cc6efb6Smrg# output is simply discarded. So we exec the FD to /dev/null, 44940cc6efb6Smrg# effectively closing config.log, so it can be properly (re)opened and 44950cc6efb6Smrg# appended to by config.status. When coming back to configure, we 44960cc6efb6Smrg# need to make the FD available again. 44970cc6efb6Smrgif test "$no_create" != yes; then 44980cc6efb6Smrg ac_cs_success=: 44990cc6efb6Smrg ac_config_status_args= 45000cc6efb6Smrg test "$silent" = yes && 45010cc6efb6Smrg ac_config_status_args="$ac_config_status_args --quiet" 45020cc6efb6Smrg exec 5>/dev/null 45030cc6efb6Smrg $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 45040cc6efb6Smrg exec 5>>config.log 45050cc6efb6Smrg # Use ||, not &&, to avoid exiting from the if with $? = 1, which 45060cc6efb6Smrg # would make configure fail if this is the last instruction. 45071c43011aSmrg $ac_cs_success || as_fn_exit 1 45080cc6efb6Smrgfi 45096cf5427aSmrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 451048e37bc2Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 451148e37bc2Smrgprintf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 45126cf5427aSmrgfi 45130cc6efb6Smrg 451448e37bc2Smrg 4515