1b7d53ee5Smrg#! /bin/sh 2b7d53ee5Smrg# Guess values for system-dependent variables and create Makefiles. 387402a6fSmrg# Generated by GNU Autoconf 2.71 for font-dec-misc 1.0.4. 4b7d53ee5Smrg# 587402a6fSmrg# Report bugs to <https://gitlab.freedesktop.org/xorg/font/dec-misc/-/issues>. 6b7d53ee5Smrg# 75cf18391Smrg# 887402a6fSmrg# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, 987402a6fSmrg# Inc. 105cf18391Smrg# 115cf18391Smrg# 12b7d53ee5Smrg# This configure script is free software; the Free Software Foundation 13b7d53ee5Smrg# gives unlimited permission to copy, distribute and modify it. 145cf18391Smrg## -------------------- ## 155cf18391Smrg## M4sh Initialization. ## 165cf18391Smrg## -------------------- ## 17b7d53ee5Smrg 182ceb2653Smrg# Be more Bourne compatible 192ceb2653SmrgDUALCASE=1; export DUALCASE # for MKS sh 2087402a6fSmrgas_nop=: 2187402a6fSmrgif test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 2287402a6fSmrgthen : 23b7d53ee5Smrg emulate sh 24b7d53ee5Smrg NULLCMD=: 252ceb2653Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 26b7d53ee5Smrg # is contrary to our usage. Disable this feature. 27b7d53ee5Smrg alias -g '${1+"$@"}'='"$@"' 282ceb2653Smrg setopt NO_GLOB_SUBST 2987402a6fSmrgelse $as_nop 305cf18391Smrg case `(set -o) 2>/dev/null` in #( 315cf18391Smrg *posix*) : 325cf18391Smrg set -o posix ;; #( 335cf18391Smrg *) : 345cf18391Smrg ;; 352ceb2653Smrgesac 362ceb2653Smrgfi 372ceb2653Smrg 382ceb2653Smrg 3987402a6fSmrg 4087402a6fSmrg# Reset variables that may have inherited troublesome values from 4187402a6fSmrg# the environment. 4287402a6fSmrg 4387402a6fSmrg# IFS needs to be set, to space, tab, and newline, in precisely that order. 4487402a6fSmrg# (If _AS_PATH_WALK were called with IFS unset, it would have the 4587402a6fSmrg# side effect of setting IFS to empty, thus disabling word splitting.) 4687402a6fSmrg# Quoting is to prevent editors from complaining about space-tab. 472ceb2653Smrgas_nl=' 482ceb2653Smrg' 492ceb2653Smrgexport as_nl 5087402a6fSmrgIFS=" "" $as_nl" 5187402a6fSmrg 5287402a6fSmrgPS1='$ ' 5387402a6fSmrgPS2='> ' 5487402a6fSmrgPS4='+ ' 5587402a6fSmrg 5687402a6fSmrg# Ensure predictable behavior from utilities with locale-dependent output. 5787402a6fSmrgLC_ALL=C 5887402a6fSmrgexport LC_ALL 5987402a6fSmrgLANGUAGE=C 6087402a6fSmrgexport LANGUAGE 6187402a6fSmrg 6287402a6fSmrg# We cannot yet rely on "unset" to work, but we need these variables 6387402a6fSmrg# to be unset--not just set to an empty or harmless value--now, to 6487402a6fSmrg# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct 6587402a6fSmrg# also avoids known problems related to "unset" and subshell syntax 6687402a6fSmrg# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). 6787402a6fSmrgfor as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 6887402a6fSmrgdo eval test \${$as_var+y} \ 6987402a6fSmrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 7087402a6fSmrgdone 7187402a6fSmrg 7287402a6fSmrg# Ensure that fds 0, 1, and 2 are open. 7387402a6fSmrgif (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 7487402a6fSmrgif (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 7587402a6fSmrgif (exec 3>&2) ; then :; else exec 2>/dev/null; fi 762ceb2653Smrg 772ceb2653Smrg# The user is always right. 7887402a6fSmrgif ${PATH_SEPARATOR+false} :; then 792ceb2653Smrg PATH_SEPARATOR=: 802ceb2653Smrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 812ceb2653Smrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 822ceb2653Smrg PATH_SEPARATOR=';' 832ceb2653Smrg } 84b7d53ee5Smrgfi 85b7d53ee5Smrg 86b7d53ee5Smrg 872ceb2653Smrg# Find who we are. Look in the path if we contain no directory separator. 885cf18391Smrgas_myself= 895cf18391Smrgcase $0 in #(( 902ceb2653Smrg *[\\/]* ) as_myself=$0 ;; 912ceb2653Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 922ceb2653Smrgfor as_dir in $PATH 932ceb2653Smrgdo 942ceb2653Smrg IFS=$as_save_IFS 9587402a6fSmrg case $as_dir in #((( 9687402a6fSmrg '') as_dir=./ ;; 9787402a6fSmrg */) ;; 9887402a6fSmrg *) as_dir=$as_dir/ ;; 9987402a6fSmrg esac 10087402a6fSmrg test -r "$as_dir$0" && as_myself=$as_dir$0 && break 1015cf18391Smrg done 1022ceb2653SmrgIFS=$as_save_IFS 1032ceb2653Smrg 1042ceb2653Smrg ;; 1052ceb2653Smrgesac 1062ceb2653Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 1072ceb2653Smrg# in which case we are not to be found in the path. 1082ceb2653Smrgif test "x$as_myself" = x; then 1092ceb2653Smrg as_myself=$0 1102ceb2653Smrgfi 1112ceb2653Smrgif test ! -f "$as_myself"; then 11287402a6fSmrg printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 1135cf18391Smrg exit 1 1142ceb2653Smrgfi 1152ceb2653Smrg 1165cf18391Smrg 11787402a6fSmrg# Use a proper internal environment variable to ensure we don't fall 11887402a6fSmrg # into an infinite loop, continuously re-executing ourselves. 11987402a6fSmrg if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 12087402a6fSmrg _as_can_reexec=no; export _as_can_reexec; 12187402a6fSmrg # We cannot yet assume a decent shell, so we have to provide a 12287402a6fSmrg# neutralization value for shells without unset; and this also 12387402a6fSmrg# works around shells that cannot unset nonexistent variables. 12487402a6fSmrg# Preserve -v and -x to the replacement shell. 12587402a6fSmrgBASH_ENV=/dev/null 12687402a6fSmrgENV=/dev/null 12787402a6fSmrg(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 12887402a6fSmrgcase $- in # (((( 12987402a6fSmrg *v*x* | *x*v* ) as_opts=-vx ;; 13087402a6fSmrg *v* ) as_opts=-v ;; 13187402a6fSmrg *x* ) as_opts=-x ;; 13287402a6fSmrg * ) as_opts= ;; 13387402a6fSmrgesac 13487402a6fSmrgexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 13587402a6fSmrg# Admittedly, this is quite paranoid, since all the known shells bail 13687402a6fSmrg# out after a failed `exec'. 13787402a6fSmrgprintf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 13887402a6fSmrgexit 255 13987402a6fSmrg fi 14087402a6fSmrg # We don't want this to propagate to other subprocesses. 14187402a6fSmrg { _as_can_reexec=; unset _as_can_reexec;} 1425cf18391Smrgif test "x$CONFIG_SHELL" = x; then 14387402a6fSmrg as_bourne_compatible="as_nop=: 14487402a6fSmrgif test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 14587402a6fSmrgthen : 1465cf18391Smrg emulate sh 1475cf18391Smrg NULLCMD=: 1485cf18391Smrg # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 1495cf18391Smrg # is contrary to our usage. Disable this feature. 1505cf18391Smrg alias -g '\${1+\"\$@\"}'='\"\$@\"' 1515cf18391Smrg setopt NO_GLOB_SUBST 15287402a6fSmrgelse \$as_nop 1535cf18391Smrg case \`(set -o) 2>/dev/null\` in #( 1545cf18391Smrg *posix*) : 1555cf18391Smrg set -o posix ;; #( 1565cf18391Smrg *) : 1575cf18391Smrg ;; 1585cf18391Smrgesac 1595cf18391Smrgfi 1605cf18391Smrg" 1615cf18391Smrg as_required="as_fn_return () { (exit \$1); } 1625cf18391Smrgas_fn_success () { as_fn_return 0; } 1635cf18391Smrgas_fn_failure () { as_fn_return 1; } 1645cf18391Smrgas_fn_ret_success () { return 0; } 1655cf18391Smrgas_fn_ret_failure () { return 1; } 1665cf18391Smrg 1675cf18391Smrgexitcode=0 1685cf18391Smrgas_fn_success || { exitcode=1; echo as_fn_success failed.; } 1695cf18391Smrgas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 1705cf18391Smrgas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 1715cf18391Smrgas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 17287402a6fSmrgif ( set x; as_fn_ret_success y && test x = \"\$1\" ) 17387402a6fSmrgthen : 1745cf18391Smrg 17587402a6fSmrgelse \$as_nop 1765cf18391Smrg exitcode=1; echo positional parameters were not saved. 1775cf18391Smrgfi 17887402a6fSmrgtest x\$exitcode = x0 || exit 1 17987402a6fSmrgblah=\$(echo \$(echo blah)) 18087402a6fSmrgtest x\"\$blah\" = xblah || exit 1 18187402a6fSmrgtest -x / || exit 1" 1825cf18391Smrg as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 1835cf18391Smrg as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 1845cf18391Smrg eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 1855cf18391Smrg test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 1865cf18391Smrgtest \$(( 1 + 1 )) = 2 || exit 1" 18787402a6fSmrg if (eval "$as_required") 2>/dev/null 18887402a6fSmrgthen : 1895cf18391Smrg as_have_required=yes 19087402a6fSmrgelse $as_nop 1915cf18391Smrg as_have_required=no 1925cf18391Smrgfi 19387402a6fSmrg if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null 19487402a6fSmrgthen : 1955cf18391Smrg 19687402a6fSmrgelse $as_nop 1975cf18391Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1985cf18391Smrgas_found=false 1995cf18391Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 2005cf18391Smrgdo 2015cf18391Smrg IFS=$as_save_IFS 20287402a6fSmrg case $as_dir in #((( 20387402a6fSmrg '') as_dir=./ ;; 20487402a6fSmrg */) ;; 20587402a6fSmrg *) as_dir=$as_dir/ ;; 20687402a6fSmrg esac 2075cf18391Smrg as_found=: 2085cf18391Smrg case $as_dir in #( 2095cf18391Smrg /*) 2105cf18391Smrg for as_base in sh bash ksh sh5; do 2115cf18391Smrg # Try only shells that exist, to save several forks. 21287402a6fSmrg as_shell=$as_dir$as_base 2135cf18391Smrg if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 21487402a6fSmrg as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null 21587402a6fSmrgthen : 2165cf18391Smrg CONFIG_SHELL=$as_shell as_have_required=yes 21787402a6fSmrg if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null 21887402a6fSmrgthen : 2195cf18391Smrg break 2 2205cf18391Smrgfi 2215cf18391Smrgfi 2225cf18391Smrg done;; 2235cf18391Smrg esac 2245cf18391Smrg as_found=false 2255cf18391Smrgdone 2265cf18391SmrgIFS=$as_save_IFS 22787402a6fSmrgif $as_found 22887402a6fSmrgthen : 2295cf18391Smrg 23087402a6fSmrgelse $as_nop 23187402a6fSmrg if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 23287402a6fSmrg as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null 23387402a6fSmrgthen : 23487402a6fSmrg CONFIG_SHELL=$SHELL as_have_required=yes 2355cf18391Smrgfi 23687402a6fSmrgfi 23787402a6fSmrg 2385cf18391Smrg 23987402a6fSmrg if test "x$CONFIG_SHELL" != x 24087402a6fSmrgthen : 24187402a6fSmrg export CONFIG_SHELL 24287402a6fSmrg # We cannot yet assume a decent shell, so we have to provide a 24387402a6fSmrg# neutralization value for shells without unset; and this also 24487402a6fSmrg# works around shells that cannot unset nonexistent variables. 24587402a6fSmrg# Preserve -v and -x to the replacement shell. 24687402a6fSmrgBASH_ENV=/dev/null 24787402a6fSmrgENV=/dev/null 24887402a6fSmrg(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 24987402a6fSmrgcase $- in # (((( 25087402a6fSmrg *v*x* | *x*v* ) as_opts=-vx ;; 25187402a6fSmrg *v* ) as_opts=-v ;; 25287402a6fSmrg *x* ) as_opts=-x ;; 25387402a6fSmrg * ) as_opts= ;; 25487402a6fSmrgesac 25587402a6fSmrgexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 25687402a6fSmrg# Admittedly, this is quite paranoid, since all the known shells bail 25787402a6fSmrg# out after a failed `exec'. 25887402a6fSmrgprintf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 25987402a6fSmrgexit 255 26087402a6fSmrgfi 26187402a6fSmrg 26287402a6fSmrg if test x$as_have_required = xno 26387402a6fSmrgthen : 26487402a6fSmrg printf "%s\n" "$0: This script requires a shell more modern than all" 26587402a6fSmrg printf "%s\n" "$0: the shells that I found on your system." 26687402a6fSmrg if test ${ZSH_VERSION+y} ; then 26787402a6fSmrg printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should" 26887402a6fSmrg printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later." 2695cf18391Smrg else 27087402a6fSmrg printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and 27187402a6fSmrg$0: https://gitlab.freedesktop.org/xorg/font/dec-misc/-/issues 2725cf18391Smrg$0: about your system, including any error possibly output 2735cf18391Smrg$0: before this message. Then install a modern shell, or 2745cf18391Smrg$0: manually run the script under such a shell if you do 2755cf18391Smrg$0: have one." 2765cf18391Smrg fi 2775cf18391Smrg exit 1 2785cf18391Smrgfi 2795cf18391Smrgfi 2805cf18391Smrgfi 2815cf18391SmrgSHELL=${CONFIG_SHELL-/bin/sh} 2825cf18391Smrgexport SHELL 2835cf18391Smrg# Unset more variables known to interfere with behavior of common tools. 2845cf18391SmrgCLICOLOR_FORCE= GREP_OPTIONS= 2855cf18391Smrgunset CLICOLOR_FORCE GREP_OPTIONS 2865cf18391Smrg 2875cf18391Smrg## --------------------- ## 2885cf18391Smrg## M4sh Shell Functions. ## 2895cf18391Smrg## --------------------- ## 2905cf18391Smrg# as_fn_unset VAR 2915cf18391Smrg# --------------- 2925cf18391Smrg# Portably unset VAR. 2935cf18391Smrgas_fn_unset () 2945cf18391Smrg{ 2955cf18391Smrg { eval $1=; unset $1;} 2965cf18391Smrg} 2975cf18391Smrgas_unset=as_fn_unset 2985cf18391Smrg 29987402a6fSmrg 3005cf18391Smrg# as_fn_set_status STATUS 3015cf18391Smrg# ----------------------- 3025cf18391Smrg# Set $? to STATUS, without forking. 3035cf18391Smrgas_fn_set_status () 3045cf18391Smrg{ 3055cf18391Smrg return $1 3065cf18391Smrg} # as_fn_set_status 3075cf18391Smrg 3085cf18391Smrg# as_fn_exit STATUS 3095cf18391Smrg# ----------------- 3105cf18391Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 3115cf18391Smrgas_fn_exit () 3125cf18391Smrg{ 3135cf18391Smrg set +e 3145cf18391Smrg as_fn_set_status $1 3155cf18391Smrg exit $1 3165cf18391Smrg} # as_fn_exit 31787402a6fSmrg# as_fn_nop 31887402a6fSmrg# --------- 31987402a6fSmrg# Do nothing but, unlike ":", preserve the value of $?. 32087402a6fSmrgas_fn_nop () 32187402a6fSmrg{ 32287402a6fSmrg return $? 32387402a6fSmrg} 32487402a6fSmrgas_nop=as_fn_nop 3255cf18391Smrg 3265cf18391Smrg# as_fn_mkdir_p 3275cf18391Smrg# ------------- 3285cf18391Smrg# Create "$as_dir" as a directory, including parents if necessary. 3295cf18391Smrgas_fn_mkdir_p () 3305cf18391Smrg{ 3315cf18391Smrg 3325cf18391Smrg case $as_dir in #( 3335cf18391Smrg -*) as_dir=./$as_dir;; 3345cf18391Smrg esac 3355cf18391Smrg test -d "$as_dir" || eval $as_mkdir_p || { 3365cf18391Smrg as_dirs= 3375cf18391Smrg while :; do 3385cf18391Smrg case $as_dir in #( 33987402a6fSmrg *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 3405cf18391Smrg *) as_qdir=$as_dir;; 3415cf18391Smrg esac 3425cf18391Smrg as_dirs="'$as_qdir' $as_dirs" 3435cf18391Smrg as_dir=`$as_dirname -- "$as_dir" || 3445cf18391Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3455cf18391Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 3465cf18391Smrg X"$as_dir" : 'X\(//\)$' \| \ 3475cf18391Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 34887402a6fSmrgprintf "%s\n" X"$as_dir" | 3495cf18391Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3505cf18391Smrg s//\1/ 3515cf18391Smrg q 3525cf18391Smrg } 3535cf18391Smrg /^X\(\/\/\)[^/].*/{ 3545cf18391Smrg s//\1/ 3555cf18391Smrg q 3565cf18391Smrg } 3575cf18391Smrg /^X\(\/\/\)$/{ 3585cf18391Smrg s//\1/ 3595cf18391Smrg q 3605cf18391Smrg } 3615cf18391Smrg /^X\(\/\).*/{ 3625cf18391Smrg s//\1/ 3635cf18391Smrg q 3645cf18391Smrg } 3655cf18391Smrg s/.*/./; q'` 3665cf18391Smrg test -d "$as_dir" && break 3675cf18391Smrg done 3685cf18391Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 3695cf18391Smrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 3705cf18391Smrg 3715cf18391Smrg 3725cf18391Smrg} # as_fn_mkdir_p 37387402a6fSmrg 37487402a6fSmrg# as_fn_executable_p FILE 37587402a6fSmrg# ----------------------- 37687402a6fSmrg# Test if FILE is an executable regular file. 37787402a6fSmrgas_fn_executable_p () 37887402a6fSmrg{ 37987402a6fSmrg test -f "$1" && test -x "$1" 38087402a6fSmrg} # as_fn_executable_p 3815cf18391Smrg# as_fn_append VAR VALUE 3825cf18391Smrg# ---------------------- 3835cf18391Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take 3845cf18391Smrg# advantage of any shell optimizations that allow amortized linear growth over 3855cf18391Smrg# repeated appends, instead of the typical quadratic growth present in naive 3865cf18391Smrg# implementations. 38787402a6fSmrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 38887402a6fSmrgthen : 3895cf18391Smrg eval 'as_fn_append () 3905cf18391Smrg { 3915cf18391Smrg eval $1+=\$2 3925cf18391Smrg }' 39387402a6fSmrgelse $as_nop 3945cf18391Smrg as_fn_append () 3955cf18391Smrg { 3965cf18391Smrg eval $1=\$$1\$2 3975cf18391Smrg } 3985cf18391Smrgfi # as_fn_append 3995cf18391Smrg 4005cf18391Smrg# as_fn_arith ARG... 4015cf18391Smrg# ------------------ 4025cf18391Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the 4035cf18391Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 4045cf18391Smrg# must be portable across $(()) and expr. 40587402a6fSmrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 40687402a6fSmrgthen : 4075cf18391Smrg eval 'as_fn_arith () 4085cf18391Smrg { 4095cf18391Smrg as_val=$(( $* )) 4105cf18391Smrg }' 41187402a6fSmrgelse $as_nop 4125cf18391Smrg as_fn_arith () 4135cf18391Smrg { 4145cf18391Smrg as_val=`expr "$@" || test $? -eq 1` 4155cf18391Smrg } 4165cf18391Smrgfi # as_fn_arith 4175cf18391Smrg 41887402a6fSmrg# as_fn_nop 41987402a6fSmrg# --------- 42087402a6fSmrg# Do nothing but, unlike ":", preserve the value of $?. 42187402a6fSmrgas_fn_nop () 42287402a6fSmrg{ 42387402a6fSmrg return $? 42487402a6fSmrg} 42587402a6fSmrgas_nop=as_fn_nop 4265cf18391Smrg 4275cf18391Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 4285cf18391Smrg# ---------------------------------------- 4295cf18391Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 4305cf18391Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 4315cf18391Smrg# script with STATUS, using 1 if that was 0. 4325cf18391Smrgas_fn_error () 4335cf18391Smrg{ 4345cf18391Smrg as_status=$1; test $as_status -eq 0 && as_status=1 4355cf18391Smrg if test "$4"; then 4365cf18391Smrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 43787402a6fSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 4385cf18391Smrg fi 43987402a6fSmrg printf "%s\n" "$as_me: error: $2" >&2 4405cf18391Smrg as_fn_exit $as_status 4415cf18391Smrg} # as_fn_error 4425cf18391Smrg 4432ceb2653Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 4442ceb2653Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 445b7d53ee5Smrg as_expr=expr 446b7d53ee5Smrgelse 447b7d53ee5Smrg as_expr=false 448b7d53ee5Smrgfi 449b7d53ee5Smrg 4502ceb2653Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 451b7d53ee5Smrg as_basename=basename 452b7d53ee5Smrgelse 453b7d53ee5Smrg as_basename=false 454b7d53ee5Smrgfi 455b7d53ee5Smrg 4565cf18391Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 4575cf18391Smrg as_dirname=dirname 4585cf18391Smrgelse 4595cf18391Smrg as_dirname=false 4605cf18391Smrgfi 461b7d53ee5Smrg 4622ceb2653Smrgas_me=`$as_basename -- "$0" || 463b7d53ee5Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 464b7d53ee5Smrg X"$0" : 'X\(//\)$' \| \ 4652ceb2653Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 46687402a6fSmrgprintf "%s\n" X/"$0" | 4672ceb2653Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 4682ceb2653Smrg s//\1/ 4692ceb2653Smrg q 4702ceb2653Smrg } 4712ceb2653Smrg /^X\/\(\/\/\)$/{ 4722ceb2653Smrg s//\1/ 4732ceb2653Smrg q 4742ceb2653Smrg } 4752ceb2653Smrg /^X\/\(\/\).*/{ 4762ceb2653Smrg s//\1/ 4772ceb2653Smrg q 4782ceb2653Smrg } 4792ceb2653Smrg s/.*/./; q'` 480b7d53ee5Smrg 4815cf18391Smrg# Avoid depending upon Character Ranges. 4825cf18391Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 4835cf18391Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 4845cf18391Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 4855cf18391Smrgas_cr_digits='0123456789' 4865cf18391Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 487b7d53ee5Smrg 488b7d53ee5Smrg 4895cf18391Smrg as_lineno_1=$LINENO as_lineno_1a=$LINENO 4905cf18391Smrg as_lineno_2=$LINENO as_lineno_2a=$LINENO 4915cf18391Smrg eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 4925cf18391Smrg test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 4935cf18391Smrg # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 4945cf18391Smrg sed -n ' 4955cf18391Smrg p 4965cf18391Smrg /[$]LINENO/= 4975cf18391Smrg ' <$as_myself | 4985cf18391Smrg sed ' 4995cf18391Smrg s/[$]LINENO.*/&-/ 5005cf18391Smrg t lineno 5015cf18391Smrg b 5025cf18391Smrg :lineno 5035cf18391Smrg N 5045cf18391Smrg :loop 5055cf18391Smrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 5065cf18391Smrg t loop 5075cf18391Smrg s/-\n.*// 5085cf18391Smrg ' >$as_me.lineno && 5095cf18391Smrg chmod +x "$as_me.lineno" || 51087402a6fSmrg { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 511b7d53ee5Smrg 51287402a6fSmrg # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 51387402a6fSmrg # already done that, so ensure we don't try to do so again and fall 51487402a6fSmrg # in an infinite loop. This has already happened in practice. 51587402a6fSmrg _as_can_reexec=no; export _as_can_reexec 5165cf18391Smrg # Don't try to exec as it changes $[0], causing all sort of problems 5175cf18391Smrg # (the dirname of $[0] is not the place where we might find the 5185cf18391Smrg # original and so on. Autoconf is especially sensitive to this). 5195cf18391Smrg . "./$as_me.lineno" 5205cf18391Smrg # Exit status is that of the last command. 5215cf18391Smrg exit 5222ceb2653Smrg} 523b7d53ee5Smrg 52487402a6fSmrg 52587402a6fSmrg# Determine whether it's possible to make 'echo' print without a newline. 52687402a6fSmrg# These variables are no longer used directly by Autoconf, but are AC_SUBSTed 52787402a6fSmrg# for compatibility with existing Makefiles. 5285cf18391SmrgECHO_C= ECHO_N= ECHO_T= 5295cf18391Smrgcase `echo -n x` in #((((( 5305cf18391Smrg-n*) 5315cf18391Smrg case `echo 'xy\c'` in 5325cf18391Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 5335cf18391Smrg xy) ECHO_C='\c';; 5345cf18391Smrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 5355cf18391Smrg ECHO_T=' ';; 5365cf18391Smrg esac;; 5375cf18391Smrg*) 5385cf18391Smrg ECHO_N='-n';; 5395cf18391Smrgesac 540b7d53ee5Smrg 54187402a6fSmrg# For backward compatibility with old third-party macros, we provide 54287402a6fSmrg# the shell variables $as_echo and $as_echo_n. New code should use 54387402a6fSmrg# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. 54487402a6fSmrgas_echo='printf %s\n' 54587402a6fSmrgas_echo_n='printf %s' 54687402a6fSmrg 54787402a6fSmrg 5485cf18391Smrgrm -f conf$$ conf$$.exe conf$$.file 5495cf18391Smrgif test -d conf$$.dir; then 5505cf18391Smrg rm -f conf$$.dir/conf$$.file 5515cf18391Smrgelse 5525cf18391Smrg rm -f conf$$.dir 5535cf18391Smrg mkdir conf$$.dir 2>/dev/null 5542ceb2653Smrgfi 5555cf18391Smrgif (echo >conf$$.file) 2>/dev/null; then 5565cf18391Smrg if ln -s conf$$.file conf$$ 2>/dev/null; then 5575cf18391Smrg as_ln_s='ln -s' 5585cf18391Smrg # ... but there are two gotchas: 5595cf18391Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 5605cf18391Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 56187402a6fSmrg # In both cases, we have to default to `cp -pR'. 5625cf18391Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 56387402a6fSmrg as_ln_s='cp -pR' 5645cf18391Smrg elif ln conf$$.file conf$$ 2>/dev/null; then 5655cf18391Smrg as_ln_s=ln 5665cf18391Smrg else 56787402a6fSmrg as_ln_s='cp -pR' 5685cf18391Smrg fi 5692ceb2653Smrgelse 57087402a6fSmrg as_ln_s='cp -pR' 5712ceb2653Smrgfi 5725cf18391Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5735cf18391Smrgrmdir conf$$.dir 2>/dev/null 5742ceb2653Smrg 5755cf18391Smrgif mkdir -p . 2>/dev/null; then 5765cf18391Smrg as_mkdir_p='mkdir -p "$as_dir"' 5775cf18391Smrgelse 5785cf18391Smrg test -d ./-p && rmdir ./-p 5795cf18391Smrg as_mkdir_p=false 5802ceb2653Smrgfi 5812ceb2653Smrg 58287402a6fSmrgas_test_x='test -x' 58387402a6fSmrgas_executable_p=as_fn_executable_p 5842ceb2653Smrg 5855cf18391Smrg# Sed expression to map a string onto a valid CPP name. 5865cf18391Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5872ceb2653Smrg 5885cf18391Smrg# Sed expression to map a string onto a valid variable name. 5895cf18391Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5902ceb2653Smrg 5912ceb2653Smrg 5925cf18391Smrgtest -n "$DJDIR" || exec 7<&0 </dev/null 5935cf18391Smrgexec 6>&1 594b7d53ee5Smrg 595b7d53ee5Smrg# Name of the host. 5965cf18391Smrg# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 597b7d53ee5Smrg# so uname gets run too. 598b7d53ee5Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 599b7d53ee5Smrg 600b7d53ee5Smrg# 601b7d53ee5Smrg# Initializations. 602b7d53ee5Smrg# 603b7d53ee5Smrgac_default_prefix=/usr/local 6042ceb2653Smrgac_clean_files= 605b7d53ee5Smrgac_config_libobj_dir=. 6062ceb2653SmrgLIBOBJS= 607b7d53ee5Smrgcross_compiling=no 608b7d53ee5Smrgsubdirs= 609b7d53ee5SmrgMFLAGS= 610b7d53ee5SmrgMAKEFLAGS= 611b7d53ee5Smrg 612b7d53ee5Smrg# Identity of this package. 613b7d53ee5SmrgPACKAGE_NAME='font-dec-misc' 614b7d53ee5SmrgPACKAGE_TARNAME='font-dec-misc' 61587402a6fSmrgPACKAGE_VERSION='1.0.4' 61687402a6fSmrgPACKAGE_STRING='font-dec-misc 1.0.4' 61787402a6fSmrgPACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/font/dec-misc/-/issues' 6185cf18391SmrgPACKAGE_URL='' 619b7d53ee5Smrg 62087402a6fSmrgac_subst_vars='LTLIBOBJS 6212ceb2653SmrgLIBOBJS 6222ceb2653SmrgCOMPRESS_SUFFIX 62387402a6fSmrgCOMPRESS_FLAGS 6242ceb2653SmrgCOMPRESS 6252ceb2653SmrgBDFTOPCF 6262ceb2653SmrgMKFONTDIR 6272ceb2653SmrgRUN_FCCACHE 6282ceb2653SmrgFCCACHE 6292ceb2653SmrgFONTDIR 6302ceb2653SmrgFONTROOTDIR 6315cf18391SmrgMAN_SUBSTS 6325cf18391SmrgXORG_MAN_PAGE 6332ceb2653SmrgADMIN_MAN_DIR 6342ceb2653SmrgDRIVER_MAN_DIR 6352ceb2653SmrgMISC_MAN_DIR 6362ceb2653SmrgFILE_MAN_DIR 6372ceb2653SmrgLIB_MAN_DIR 6382ceb2653SmrgAPP_MAN_DIR 6392ceb2653SmrgADMIN_MAN_SUFFIX 6402ceb2653SmrgDRIVER_MAN_SUFFIX 6412ceb2653SmrgMISC_MAN_SUFFIX 6422ceb2653SmrgFILE_MAN_SUFFIX 6432ceb2653SmrgLIB_MAN_SUFFIX 6442ceb2653SmrgAPP_MAN_SUFFIX 6455cf18391SmrgSED 6462ceb2653Smrghost_os 6472ceb2653Smrghost_vendor 6482ceb2653Smrghost_cpu 6492ceb2653Smrghost 6502ceb2653Smrgbuild_os 6512ceb2653Smrgbuild_vendor 6522ceb2653Smrgbuild_cpu 6532ceb2653Smrgbuild 6545cf18391SmrgINSTALL_CMD 6555cf18391SmrgPKG_CONFIG_LIBDIR 6565cf18391SmrgPKG_CONFIG_PATH 6575cf18391SmrgPKG_CONFIG 6582ceb2653SmrgCHANGELOG_CMD 65987402a6fSmrgAM_BACKSLASH 66087402a6fSmrgAM_DEFAULT_VERBOSITY 66187402a6fSmrgAM_DEFAULT_V 66287402a6fSmrgAM_V 66387402a6fSmrgCSCOPE 66487402a6fSmrgETAGS 66587402a6fSmrgCTAGS 6662ceb2653Smrgam__untar 6672ceb2653Smrgam__tar 6682ceb2653SmrgAMTAR 6692ceb2653Smrgam__leading_dot 6702ceb2653SmrgSET_MAKE 6712ceb2653SmrgAWK 6722ceb2653Smrgmkdir_p 6732ceb2653SmrgMKDIR_P 6742ceb2653SmrgINSTALL_STRIP_PROGRAM 6752ceb2653SmrgSTRIP 6762ceb2653Smrginstall_sh 6772ceb2653SmrgMAKEINFO 6782ceb2653SmrgAUTOHEADER 6792ceb2653SmrgAUTOMAKE 6802ceb2653SmrgAUTOCONF 6812ceb2653SmrgACLOCAL 6822ceb2653SmrgVERSION 6832ceb2653SmrgPACKAGE 6842ceb2653SmrgCYGPATH_W 6852ceb2653Smrgam__isrc 6862ceb2653SmrgINSTALL_DATA 6872ceb2653SmrgINSTALL_SCRIPT 6882ceb2653SmrgINSTALL_PROGRAM 6892ceb2653Smrgtarget_alias 6902ceb2653Smrghost_alias 6912ceb2653Smrgbuild_alias 6922ceb2653SmrgLIBS 6932ceb2653SmrgECHO_T 6942ceb2653SmrgECHO_N 6952ceb2653SmrgECHO_C 6962ceb2653SmrgDEFS 6972ceb2653Smrgmandir 6982ceb2653Smrglocaledir 6992ceb2653Smrglibdir 7002ceb2653Smrgpsdir 7012ceb2653Smrgpdfdir 7022ceb2653Smrgdvidir 7032ceb2653Smrghtmldir 7042ceb2653Smrginfodir 7052ceb2653Smrgdocdir 7062ceb2653Smrgoldincludedir 7072ceb2653Smrgincludedir 70887402a6fSmrgrunstatedir 7092ceb2653Smrglocalstatedir 7102ceb2653Smrgsharedstatedir 7112ceb2653Smrgsysconfdir 7122ceb2653Smrgdatadir 7132ceb2653Smrgdatarootdir 7142ceb2653Smrglibexecdir 7152ceb2653Smrgsbindir 7162ceb2653Smrgbindir 7172ceb2653Smrgprogram_transform_name 7182ceb2653Smrgprefix 7192ceb2653Smrgexec_prefix 7205cf18391SmrgPACKAGE_URL 7212ceb2653SmrgPACKAGE_BUGREPORT 7222ceb2653SmrgPACKAGE_STRING 7232ceb2653SmrgPACKAGE_VERSION 7242ceb2653SmrgPACKAGE_TARNAME 7252ceb2653SmrgPACKAGE_NAME 7262ceb2653SmrgPATH_SEPARATOR 7272ceb2653SmrgSHELL' 728b7d53ee5Smrgac_subst_files='' 7292ceb2653Smrgac_user_opts=' 7302ceb2653Smrgenable_option_checking 7315cf18391Smrgenable_silent_rules 7322ceb2653Smrgwith_fontrootdir 7332ceb2653Smrgwith_fontdir 7342ceb2653Smrgwith_compression 7352ceb2653Smrg' 7362ceb2653Smrg ac_precious_vars='build_alias 7372ceb2653Smrghost_alias 7382ceb2653Smrgtarget_alias 7395cf18391SmrgPKG_CONFIG 7405cf18391SmrgPKG_CONFIG_PATH 7415cf18391SmrgPKG_CONFIG_LIBDIR' 7422ceb2653Smrg 743b7d53ee5Smrg 744b7d53ee5Smrg# Initialize some variables set by options. 745b7d53ee5Smrgac_init_help= 746b7d53ee5Smrgac_init_version=false 7472ceb2653Smrgac_unrecognized_opts= 7482ceb2653Smrgac_unrecognized_sep= 749b7d53ee5Smrg# The variables have the same names as the options, with 750b7d53ee5Smrg# dashes changed to underlines. 751b7d53ee5Smrgcache_file=/dev/null 752b7d53ee5Smrgexec_prefix=NONE 753b7d53ee5Smrgno_create= 754b7d53ee5Smrgno_recursion= 755b7d53ee5Smrgprefix=NONE 756b7d53ee5Smrgprogram_prefix=NONE 757b7d53ee5Smrgprogram_suffix=NONE 758b7d53ee5Smrgprogram_transform_name=s,x,x, 759b7d53ee5Smrgsilent= 760b7d53ee5Smrgsite= 761b7d53ee5Smrgsrcdir= 762b7d53ee5Smrgverbose= 763b7d53ee5Smrgx_includes=NONE 764b7d53ee5Smrgx_libraries=NONE 765b7d53ee5Smrg 766b7d53ee5Smrg# Installation directory options. 767b7d53ee5Smrg# These are left unexpanded so users can "make install exec_prefix=/foo" 768b7d53ee5Smrg# and all the variables that are supposed to be based on exec_prefix 769b7d53ee5Smrg# by default will actually change. 770b7d53ee5Smrg# Use braces instead of parens because sh, perl, etc. also accept them. 7712ceb2653Smrg# (The list follows the same order as the GNU Coding Standards.) 772b7d53ee5Smrgbindir='${exec_prefix}/bin' 773b7d53ee5Smrgsbindir='${exec_prefix}/sbin' 774b7d53ee5Smrglibexecdir='${exec_prefix}/libexec' 7752ceb2653Smrgdatarootdir='${prefix}/share' 7762ceb2653Smrgdatadir='${datarootdir}' 777b7d53ee5Smrgsysconfdir='${prefix}/etc' 778b7d53ee5Smrgsharedstatedir='${prefix}/com' 779b7d53ee5Smrglocalstatedir='${prefix}/var' 78087402a6fSmrgrunstatedir='${localstatedir}/run' 781b7d53ee5Smrgincludedir='${prefix}/include' 782b7d53ee5Smrgoldincludedir='/usr/include' 7832ceb2653Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 7842ceb2653Smrginfodir='${datarootdir}/info' 7852ceb2653Smrghtmldir='${docdir}' 7862ceb2653Smrgdvidir='${docdir}' 7872ceb2653Smrgpdfdir='${docdir}' 7882ceb2653Smrgpsdir='${docdir}' 7892ceb2653Smrglibdir='${exec_prefix}/lib' 7902ceb2653Smrglocaledir='${datarootdir}/locale' 7912ceb2653Smrgmandir='${datarootdir}/man' 792b7d53ee5Smrg 793b7d53ee5Smrgac_prev= 7942ceb2653Smrgac_dashdash= 795b7d53ee5Smrgfor ac_option 796b7d53ee5Smrgdo 797b7d53ee5Smrg # If the previous option needs an argument, assign it. 798b7d53ee5Smrg if test -n "$ac_prev"; then 7992ceb2653Smrg eval $ac_prev=\$ac_option 800b7d53ee5Smrg ac_prev= 801b7d53ee5Smrg continue 802b7d53ee5Smrg fi 803b7d53ee5Smrg 8042ceb2653Smrg case $ac_option in 8055cf18391Smrg *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 8065cf18391Smrg *=) ac_optarg= ;; 8075cf18391Smrg *) ac_optarg=yes ;; 8082ceb2653Smrg esac 809b7d53ee5Smrg 8102ceb2653Smrg case $ac_dashdash$ac_option in 8112ceb2653Smrg --) 8122ceb2653Smrg ac_dashdash=yes ;; 813b7d53ee5Smrg 814b7d53ee5Smrg -bindir | --bindir | --bindi | --bind | --bin | --bi) 815b7d53ee5Smrg ac_prev=bindir ;; 816b7d53ee5Smrg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 817b7d53ee5Smrg bindir=$ac_optarg ;; 818b7d53ee5Smrg 819b7d53ee5Smrg -build | --build | --buil | --bui | --bu) 820b7d53ee5Smrg ac_prev=build_alias ;; 821b7d53ee5Smrg -build=* | --build=* | --buil=* | --bui=* | --bu=*) 822b7d53ee5Smrg build_alias=$ac_optarg ;; 823b7d53ee5Smrg 824b7d53ee5Smrg -cache-file | --cache-file | --cache-fil | --cache-fi \ 825b7d53ee5Smrg | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 826b7d53ee5Smrg ac_prev=cache_file ;; 827b7d53ee5Smrg -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 828b7d53ee5Smrg | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 829b7d53ee5Smrg cache_file=$ac_optarg ;; 830b7d53ee5Smrg 831b7d53ee5Smrg --config-cache | -C) 832b7d53ee5Smrg cache_file=config.cache ;; 833b7d53ee5Smrg 8342ceb2653Smrg -datadir | --datadir | --datadi | --datad) 835b7d53ee5Smrg ac_prev=datadir ;; 8362ceb2653Smrg -datadir=* | --datadir=* | --datadi=* | --datad=*) 837b7d53ee5Smrg datadir=$ac_optarg ;; 838b7d53ee5Smrg 8392ceb2653Smrg -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 8402ceb2653Smrg | --dataroo | --dataro | --datar) 8412ceb2653Smrg ac_prev=datarootdir ;; 8422ceb2653Smrg -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 8432ceb2653Smrg | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 8442ceb2653Smrg datarootdir=$ac_optarg ;; 8452ceb2653Smrg 846b7d53ee5Smrg -disable-* | --disable-*) 8472ceb2653Smrg ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 848b7d53ee5Smrg # Reject names that are not valid shell variable names. 8492ceb2653Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 85087402a6fSmrg as_fn_error $? "invalid feature name: \`$ac_useropt'" 8512ceb2653Smrg ac_useropt_orig=$ac_useropt 85287402a6fSmrg ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 8532ceb2653Smrg case $ac_user_opts in 8542ceb2653Smrg *" 8552ceb2653Smrg"enable_$ac_useropt" 8562ceb2653Smrg"*) ;; 8572ceb2653Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 8582ceb2653Smrg ac_unrecognized_sep=', ';; 8592ceb2653Smrg esac 8602ceb2653Smrg eval enable_$ac_useropt=no ;; 8612ceb2653Smrg 8622ceb2653Smrg -docdir | --docdir | --docdi | --doc | --do) 8632ceb2653Smrg ac_prev=docdir ;; 8642ceb2653Smrg -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 8652ceb2653Smrg docdir=$ac_optarg ;; 8662ceb2653Smrg 8672ceb2653Smrg -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 8682ceb2653Smrg ac_prev=dvidir ;; 8692ceb2653Smrg -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 8702ceb2653Smrg dvidir=$ac_optarg ;; 871b7d53ee5Smrg 872b7d53ee5Smrg -enable-* | --enable-*) 8732ceb2653Smrg ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 874b7d53ee5Smrg # Reject names that are not valid shell variable names. 8752ceb2653Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 87687402a6fSmrg as_fn_error $? "invalid feature name: \`$ac_useropt'" 8772ceb2653Smrg ac_useropt_orig=$ac_useropt 87887402a6fSmrg ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 8792ceb2653Smrg case $ac_user_opts in 8802ceb2653Smrg *" 8812ceb2653Smrg"enable_$ac_useropt" 8822ceb2653Smrg"*) ;; 8832ceb2653Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 8842ceb2653Smrg ac_unrecognized_sep=', ';; 885b7d53ee5Smrg esac 8862ceb2653Smrg eval enable_$ac_useropt=\$ac_optarg ;; 887b7d53ee5Smrg 888b7d53ee5Smrg -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 889b7d53ee5Smrg | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 890b7d53ee5Smrg | --exec | --exe | --ex) 891b7d53ee5Smrg ac_prev=exec_prefix ;; 892b7d53ee5Smrg -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 893b7d53ee5Smrg | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 894b7d53ee5Smrg | --exec=* | --exe=* | --ex=*) 895b7d53ee5Smrg exec_prefix=$ac_optarg ;; 896b7d53ee5Smrg 897b7d53ee5Smrg -gas | --gas | --ga | --g) 898b7d53ee5Smrg # Obsolete; use --with-gas. 899b7d53ee5Smrg with_gas=yes ;; 900b7d53ee5Smrg 901b7d53ee5Smrg -help | --help | --hel | --he | -h) 902b7d53ee5Smrg ac_init_help=long ;; 903b7d53ee5Smrg -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 904b7d53ee5Smrg ac_init_help=recursive ;; 905b7d53ee5Smrg -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 906b7d53ee5Smrg ac_init_help=short ;; 907b7d53ee5Smrg 908b7d53ee5Smrg -host | --host | --hos | --ho) 909b7d53ee5Smrg ac_prev=host_alias ;; 910b7d53ee5Smrg -host=* | --host=* | --hos=* | --ho=*) 911b7d53ee5Smrg host_alias=$ac_optarg ;; 912b7d53ee5Smrg 9132ceb2653Smrg -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 9142ceb2653Smrg ac_prev=htmldir ;; 9152ceb2653Smrg -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 9162ceb2653Smrg | --ht=*) 9172ceb2653Smrg htmldir=$ac_optarg ;; 9182ceb2653Smrg 919b7d53ee5Smrg -includedir | --includedir | --includedi | --included | --include \ 920b7d53ee5Smrg | --includ | --inclu | --incl | --inc) 921b7d53ee5Smrg ac_prev=includedir ;; 922b7d53ee5Smrg -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 923b7d53ee5Smrg | --includ=* | --inclu=* | --incl=* | --inc=*) 924b7d53ee5Smrg includedir=$ac_optarg ;; 925b7d53ee5Smrg 926b7d53ee5Smrg -infodir | --infodir | --infodi | --infod | --info | --inf) 927b7d53ee5Smrg ac_prev=infodir ;; 928b7d53ee5Smrg -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 929b7d53ee5Smrg infodir=$ac_optarg ;; 930b7d53ee5Smrg 931b7d53ee5Smrg -libdir | --libdir | --libdi | --libd) 932b7d53ee5Smrg ac_prev=libdir ;; 933b7d53ee5Smrg -libdir=* | --libdir=* | --libdi=* | --libd=*) 934b7d53ee5Smrg libdir=$ac_optarg ;; 935b7d53ee5Smrg 936b7d53ee5Smrg -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 937b7d53ee5Smrg | --libexe | --libex | --libe) 938b7d53ee5Smrg ac_prev=libexecdir ;; 939b7d53ee5Smrg -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 940b7d53ee5Smrg | --libexe=* | --libex=* | --libe=*) 941b7d53ee5Smrg libexecdir=$ac_optarg ;; 942b7d53ee5Smrg 9432ceb2653Smrg -localedir | --localedir | --localedi | --localed | --locale) 9442ceb2653Smrg ac_prev=localedir ;; 9452ceb2653Smrg -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 9462ceb2653Smrg localedir=$ac_optarg ;; 9472ceb2653Smrg 948b7d53ee5Smrg -localstatedir | --localstatedir | --localstatedi | --localstated \ 9492ceb2653Smrg | --localstate | --localstat | --localsta | --localst | --locals) 950b7d53ee5Smrg ac_prev=localstatedir ;; 951b7d53ee5Smrg -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 9522ceb2653Smrg | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 953b7d53ee5Smrg localstatedir=$ac_optarg ;; 954b7d53ee5Smrg 955b7d53ee5Smrg -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 956b7d53ee5Smrg ac_prev=mandir ;; 957b7d53ee5Smrg -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 958b7d53ee5Smrg mandir=$ac_optarg ;; 959b7d53ee5Smrg 960b7d53ee5Smrg -nfp | --nfp | --nf) 961b7d53ee5Smrg # Obsolete; use --without-fp. 962b7d53ee5Smrg with_fp=no ;; 963b7d53ee5Smrg 964b7d53ee5Smrg -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 965b7d53ee5Smrg | --no-cr | --no-c | -n) 966b7d53ee5Smrg no_create=yes ;; 967b7d53ee5Smrg 968b7d53ee5Smrg -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 969b7d53ee5Smrg | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 970b7d53ee5Smrg no_recursion=yes ;; 971b7d53ee5Smrg 972b7d53ee5Smrg -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 973b7d53ee5Smrg | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 974b7d53ee5Smrg | --oldin | --oldi | --old | --ol | --o) 975b7d53ee5Smrg ac_prev=oldincludedir ;; 976b7d53ee5Smrg -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 977b7d53ee5Smrg | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 978b7d53ee5Smrg | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 979b7d53ee5Smrg oldincludedir=$ac_optarg ;; 980b7d53ee5Smrg 981b7d53ee5Smrg -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 982b7d53ee5Smrg ac_prev=prefix ;; 983b7d53ee5Smrg -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 984b7d53ee5Smrg prefix=$ac_optarg ;; 985b7d53ee5Smrg 986b7d53ee5Smrg -program-prefix | --program-prefix | --program-prefi | --program-pref \ 987b7d53ee5Smrg | --program-pre | --program-pr | --program-p) 988b7d53ee5Smrg ac_prev=program_prefix ;; 989b7d53ee5Smrg -program-prefix=* | --program-prefix=* | --program-prefi=* \ 990b7d53ee5Smrg | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 991b7d53ee5Smrg program_prefix=$ac_optarg ;; 992b7d53ee5Smrg 993b7d53ee5Smrg -program-suffix | --program-suffix | --program-suffi | --program-suff \ 994b7d53ee5Smrg | --program-suf | --program-su | --program-s) 995b7d53ee5Smrg ac_prev=program_suffix ;; 996b7d53ee5Smrg -program-suffix=* | --program-suffix=* | --program-suffi=* \ 997b7d53ee5Smrg | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 998b7d53ee5Smrg program_suffix=$ac_optarg ;; 999b7d53ee5Smrg 1000b7d53ee5Smrg -program-transform-name | --program-transform-name \ 1001b7d53ee5Smrg | --program-transform-nam | --program-transform-na \ 1002b7d53ee5Smrg | --program-transform-n | --program-transform- \ 1003b7d53ee5Smrg | --program-transform | --program-transfor \ 1004b7d53ee5Smrg | --program-transfo | --program-transf \ 1005b7d53ee5Smrg | --program-trans | --program-tran \ 1006b7d53ee5Smrg | --progr-tra | --program-tr | --program-t) 1007b7d53ee5Smrg ac_prev=program_transform_name ;; 1008b7d53ee5Smrg -program-transform-name=* | --program-transform-name=* \ 1009b7d53ee5Smrg | --program-transform-nam=* | --program-transform-na=* \ 1010b7d53ee5Smrg | --program-transform-n=* | --program-transform-=* \ 1011b7d53ee5Smrg | --program-transform=* | --program-transfor=* \ 1012b7d53ee5Smrg | --program-transfo=* | --program-transf=* \ 1013b7d53ee5Smrg | --program-trans=* | --program-tran=* \ 1014b7d53ee5Smrg | --progr-tra=* | --program-tr=* | --program-t=*) 1015b7d53ee5Smrg program_transform_name=$ac_optarg ;; 1016b7d53ee5Smrg 10172ceb2653Smrg -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 10182ceb2653Smrg ac_prev=pdfdir ;; 10192ceb2653Smrg -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 10202ceb2653Smrg pdfdir=$ac_optarg ;; 10212ceb2653Smrg 10222ceb2653Smrg -psdir | --psdir | --psdi | --psd | --ps) 10232ceb2653Smrg ac_prev=psdir ;; 10242ceb2653Smrg -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 10252ceb2653Smrg psdir=$ac_optarg ;; 10262ceb2653Smrg 1027b7d53ee5Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1028b7d53ee5Smrg | -silent | --silent | --silen | --sile | --sil) 1029b7d53ee5Smrg silent=yes ;; 1030b7d53ee5Smrg 103187402a6fSmrg -runstatedir | --runstatedir | --runstatedi | --runstated \ 103287402a6fSmrg | --runstate | --runstat | --runsta | --runst | --runs \ 103387402a6fSmrg | --run | --ru | --r) 103487402a6fSmrg ac_prev=runstatedir ;; 103587402a6fSmrg -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 103687402a6fSmrg | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 103787402a6fSmrg | --run=* | --ru=* | --r=*) 103887402a6fSmrg runstatedir=$ac_optarg ;; 103987402a6fSmrg 1040b7d53ee5Smrg -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1041b7d53ee5Smrg ac_prev=sbindir ;; 1042b7d53ee5Smrg -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1043b7d53ee5Smrg | --sbi=* | --sb=*) 1044b7d53ee5Smrg sbindir=$ac_optarg ;; 1045b7d53ee5Smrg 1046b7d53ee5Smrg -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1047b7d53ee5Smrg | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1048b7d53ee5Smrg | --sharedst | --shareds | --shared | --share | --shar \ 1049b7d53ee5Smrg | --sha | --sh) 1050b7d53ee5Smrg ac_prev=sharedstatedir ;; 1051b7d53ee5Smrg -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1052b7d53ee5Smrg | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1053b7d53ee5Smrg | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1054b7d53ee5Smrg | --sha=* | --sh=*) 1055b7d53ee5Smrg sharedstatedir=$ac_optarg ;; 1056b7d53ee5Smrg 1057b7d53ee5Smrg -site | --site | --sit) 1058b7d53ee5Smrg ac_prev=site ;; 1059b7d53ee5Smrg -site=* | --site=* | --sit=*) 1060b7d53ee5Smrg site=$ac_optarg ;; 1061b7d53ee5Smrg 1062b7d53ee5Smrg -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1063b7d53ee5Smrg ac_prev=srcdir ;; 1064b7d53ee5Smrg -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1065b7d53ee5Smrg srcdir=$ac_optarg ;; 1066b7d53ee5Smrg 1067b7d53ee5Smrg -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1068b7d53ee5Smrg | --syscon | --sysco | --sysc | --sys | --sy) 1069b7d53ee5Smrg ac_prev=sysconfdir ;; 1070b7d53ee5Smrg -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1071b7d53ee5Smrg | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1072b7d53ee5Smrg sysconfdir=$ac_optarg ;; 1073b7d53ee5Smrg 1074b7d53ee5Smrg -target | --target | --targe | --targ | --tar | --ta | --t) 1075b7d53ee5Smrg ac_prev=target_alias ;; 1076b7d53ee5Smrg -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1077b7d53ee5Smrg target_alias=$ac_optarg ;; 1078b7d53ee5Smrg 1079b7d53ee5Smrg -v | -verbose | --verbose | --verbos | --verbo | --verb) 1080b7d53ee5Smrg verbose=yes ;; 1081b7d53ee5Smrg 1082b7d53ee5Smrg -version | --version | --versio | --versi | --vers | -V) 1083b7d53ee5Smrg ac_init_version=: ;; 1084b7d53ee5Smrg 1085b7d53ee5Smrg -with-* | --with-*) 10862ceb2653Smrg ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1087b7d53ee5Smrg # Reject names that are not valid shell variable names. 10882ceb2653Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 108987402a6fSmrg as_fn_error $? "invalid package name: \`$ac_useropt'" 10902ceb2653Smrg ac_useropt_orig=$ac_useropt 109187402a6fSmrg ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 10922ceb2653Smrg case $ac_user_opts in 10932ceb2653Smrg *" 10942ceb2653Smrg"with_$ac_useropt" 10952ceb2653Smrg"*) ;; 10962ceb2653Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 10972ceb2653Smrg ac_unrecognized_sep=', ';; 1098b7d53ee5Smrg esac 10992ceb2653Smrg eval with_$ac_useropt=\$ac_optarg ;; 1100b7d53ee5Smrg 1101b7d53ee5Smrg -without-* | --without-*) 11022ceb2653Smrg ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1103b7d53ee5Smrg # Reject names that are not valid shell variable names. 11042ceb2653Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 110587402a6fSmrg as_fn_error $? "invalid package name: \`$ac_useropt'" 11062ceb2653Smrg ac_useropt_orig=$ac_useropt 110787402a6fSmrg ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 11082ceb2653Smrg case $ac_user_opts in 11092ceb2653Smrg *" 11102ceb2653Smrg"with_$ac_useropt" 11112ceb2653Smrg"*) ;; 11122ceb2653Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 11132ceb2653Smrg ac_unrecognized_sep=', ';; 11142ceb2653Smrg esac 11152ceb2653Smrg eval with_$ac_useropt=no ;; 1116b7d53ee5Smrg 1117b7d53ee5Smrg --x) 1118b7d53ee5Smrg # Obsolete; use --with-x. 1119b7d53ee5Smrg with_x=yes ;; 1120b7d53ee5Smrg 1121b7d53ee5Smrg -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1122b7d53ee5Smrg | --x-incl | --x-inc | --x-in | --x-i) 1123b7d53ee5Smrg ac_prev=x_includes ;; 1124b7d53ee5Smrg -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1125b7d53ee5Smrg | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1126b7d53ee5Smrg x_includes=$ac_optarg ;; 1127b7d53ee5Smrg 1128b7d53ee5Smrg -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1129b7d53ee5Smrg | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1130b7d53ee5Smrg ac_prev=x_libraries ;; 1131b7d53ee5Smrg -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1132b7d53ee5Smrg | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1133b7d53ee5Smrg x_libraries=$ac_optarg ;; 1134b7d53ee5Smrg 11355cf18391Smrg -*) as_fn_error $? "unrecognized option: \`$ac_option' 11365cf18391SmrgTry \`$0 --help' for more information" 1137b7d53ee5Smrg ;; 1138b7d53ee5Smrg 1139b7d53ee5Smrg *=*) 1140b7d53ee5Smrg ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1141b7d53ee5Smrg # Reject names that are not valid shell variable names. 11425cf18391Smrg case $ac_envvar in #( 11435cf18391Smrg '' | [0-9]* | *[!_$as_cr_alnum]* ) 11445cf18391Smrg as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 11455cf18391Smrg esac 11462ceb2653Smrg eval $ac_envvar=\$ac_optarg 1147b7d53ee5Smrg export $ac_envvar ;; 1148b7d53ee5Smrg 1149b7d53ee5Smrg *) 1150b7d53ee5Smrg # FIXME: should be removed in autoconf 3.0. 115187402a6fSmrg printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2 1152b7d53ee5Smrg expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 115387402a6fSmrg printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 11545cf18391Smrg : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1155b7d53ee5Smrg ;; 1156b7d53ee5Smrg 1157b7d53ee5Smrg esac 1158b7d53ee5Smrgdone 1159b7d53ee5Smrg 1160b7d53ee5Smrgif test -n "$ac_prev"; then 1161b7d53ee5Smrg ac_option=--`echo $ac_prev | sed 's/_/-/g'` 11625cf18391Smrg as_fn_error $? "missing argument to $ac_option" 1163b7d53ee5Smrgfi 1164b7d53ee5Smrg 11652ceb2653Smrgif test -n "$ac_unrecognized_opts"; then 11662ceb2653Smrg case $enable_option_checking in 11672ceb2653Smrg no) ;; 11685cf18391Smrg fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 116987402a6fSmrg *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1170b7d53ee5Smrg esac 11712ceb2653Smrgfi 1172b7d53ee5Smrg 11732ceb2653Smrg# Check all directory arguments for consistency. 11742ceb2653Smrgfor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 11752ceb2653Smrg datadir sysconfdir sharedstatedir localstatedir includedir \ 11762ceb2653Smrg oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 117787402a6fSmrg libdir localedir mandir runstatedir 1178b7d53ee5Smrgdo 11792ceb2653Smrg eval ac_val=\$$ac_var 11802ceb2653Smrg # Remove trailing slashes. 1181b7d53ee5Smrg case $ac_val in 11822ceb2653Smrg */ ) 11832ceb2653Smrg ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 11842ceb2653Smrg eval $ac_var=\$ac_val;; 11852ceb2653Smrg esac 11862ceb2653Smrg # Be sure to have absolute directory names. 11872ceb2653Smrg case $ac_val in 11882ceb2653Smrg [\\/$]* | ?:[\\/]* ) continue;; 11892ceb2653Smrg NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1190b7d53ee5Smrg esac 11915cf18391Smrg as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1192b7d53ee5Smrgdone 1193b7d53ee5Smrg 1194b7d53ee5Smrg# There might be people who depend on the old broken behavior: `$host' 1195b7d53ee5Smrg# used to hold the argument of --host etc. 1196b7d53ee5Smrg# FIXME: To remove some day. 1197b7d53ee5Smrgbuild=$build_alias 1198b7d53ee5Smrghost=$host_alias 1199b7d53ee5Smrgtarget=$target_alias 1200b7d53ee5Smrg 1201b7d53ee5Smrg# FIXME: To remove some day. 1202b7d53ee5Smrgif test "x$host_alias" != x; then 1203b7d53ee5Smrg if test "x$build_alias" = x; then 1204b7d53ee5Smrg cross_compiling=maybe 1205b7d53ee5Smrg elif test "x$build_alias" != "x$host_alias"; then 1206b7d53ee5Smrg cross_compiling=yes 1207b7d53ee5Smrg fi 1208b7d53ee5Smrgfi 1209b7d53ee5Smrg 1210b7d53ee5Smrgac_tool_prefix= 1211b7d53ee5Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias- 1212b7d53ee5Smrg 1213b7d53ee5Smrgtest "$silent" = yes && exec 6>/dev/null 1214b7d53ee5Smrg 1215b7d53ee5Smrg 12162ceb2653Smrgac_pwd=`pwd` && test -n "$ac_pwd" && 12172ceb2653Smrgac_ls_di=`ls -di .` && 12182ceb2653Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 12195cf18391Smrg as_fn_error $? "working directory cannot be determined" 12202ceb2653Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" || 12215cf18391Smrg as_fn_error $? "pwd does not report name of working directory" 12222ceb2653Smrg 12232ceb2653Smrg 1224b7d53ee5Smrg# Find the source files, if location was not specified. 1225b7d53ee5Smrgif test -z "$srcdir"; then 1226b7d53ee5Smrg ac_srcdir_defaulted=yes 12272ceb2653Smrg # Try the directory containing this script, then the parent directory. 12282ceb2653Smrg ac_confdir=`$as_dirname -- "$as_myself" || 12292ceb2653Smrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12302ceb2653Smrg X"$as_myself" : 'X\(//\)[^/]' \| \ 12312ceb2653Smrg X"$as_myself" : 'X\(//\)$' \| \ 12322ceb2653Smrg X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 123387402a6fSmrgprintf "%s\n" X"$as_myself" | 12342ceb2653Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12352ceb2653Smrg s//\1/ 12362ceb2653Smrg q 12372ceb2653Smrg } 12382ceb2653Smrg /^X\(\/\/\)[^/].*/{ 12392ceb2653Smrg s//\1/ 12402ceb2653Smrg q 12412ceb2653Smrg } 12422ceb2653Smrg /^X\(\/\/\)$/{ 12432ceb2653Smrg s//\1/ 12442ceb2653Smrg q 12452ceb2653Smrg } 12462ceb2653Smrg /^X\(\/\).*/{ 12472ceb2653Smrg s//\1/ 12482ceb2653Smrg q 12492ceb2653Smrg } 12502ceb2653Smrg s/.*/./; q'` 1251b7d53ee5Smrg srcdir=$ac_confdir 12522ceb2653Smrg if test ! -r "$srcdir/$ac_unique_file"; then 1253b7d53ee5Smrg srcdir=.. 1254b7d53ee5Smrg fi 1255b7d53ee5Smrgelse 1256b7d53ee5Smrg ac_srcdir_defaulted=no 1257b7d53ee5Smrgfi 12582ceb2653Smrgif test ! -r "$srcdir/$ac_unique_file"; then 12592ceb2653Smrg test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 12605cf18391Smrg as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1261b7d53ee5Smrgfi 12622ceb2653Smrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 12632ceb2653Smrgac_abs_confdir=`( 12645cf18391Smrg cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 12652ceb2653Smrg pwd)` 12662ceb2653Smrg# When building in place, set srcdir=. 12672ceb2653Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then 12682ceb2653Smrg srcdir=. 12692ceb2653Smrgfi 12702ceb2653Smrg# Remove unnecessary trailing slashes from srcdir. 12712ceb2653Smrg# Double slashes in file names in object file debugging info 12722ceb2653Smrg# mess up M-x gdb in Emacs. 12732ceb2653Smrgcase $srcdir in 12742ceb2653Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 12752ceb2653Smrgesac 12762ceb2653Smrgfor ac_var in $ac_precious_vars; do 12772ceb2653Smrg eval ac_env_${ac_var}_set=\${${ac_var}+set} 12782ceb2653Smrg eval ac_env_${ac_var}_value=\$${ac_var} 12792ceb2653Smrg eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 12802ceb2653Smrg eval ac_cv_env_${ac_var}_value=\$${ac_var} 12812ceb2653Smrgdone 1282b7d53ee5Smrg 1283b7d53ee5Smrg# 1284b7d53ee5Smrg# Report the --help message. 1285b7d53ee5Smrg# 1286b7d53ee5Smrgif test "$ac_init_help" = "long"; then 1287b7d53ee5Smrg # Omit some internal or obsolete options to make the list less imposing. 1288b7d53ee5Smrg # This message is too long to be a string in the A/UX 3.1 sh. 1289b7d53ee5Smrg cat <<_ACEOF 129087402a6fSmrg\`configure' configures font-dec-misc 1.0.4 to adapt to many kinds of systems. 1291b7d53ee5Smrg 1292b7d53ee5SmrgUsage: $0 [OPTION]... [VAR=VALUE]... 1293b7d53ee5Smrg 1294b7d53ee5SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as 1295b7d53ee5SmrgVAR=VALUE. See below for descriptions of some of the useful variables. 1296b7d53ee5Smrg 1297b7d53ee5SmrgDefaults for the options are specified in brackets. 1298b7d53ee5Smrg 1299b7d53ee5SmrgConfiguration: 1300b7d53ee5Smrg -h, --help display this help and exit 1301b7d53ee5Smrg --help=short display options specific to this package 1302b7d53ee5Smrg --help=recursive display the short help of all the included packages 1303b7d53ee5Smrg -V, --version display version information and exit 13045cf18391Smrg -q, --quiet, --silent do not print \`checking ...' messages 1305b7d53ee5Smrg --cache-file=FILE cache test results in FILE [disabled] 1306b7d53ee5Smrg -C, --config-cache alias for \`--cache-file=config.cache' 1307b7d53ee5Smrg -n, --no-create do not create output files 1308b7d53ee5Smrg --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1309b7d53ee5Smrg 1310b7d53ee5SmrgInstallation directories: 1311b7d53ee5Smrg --prefix=PREFIX install architecture-independent files in PREFIX 13122ceb2653Smrg [$ac_default_prefix] 1313b7d53ee5Smrg --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 13142ceb2653Smrg [PREFIX] 1315b7d53ee5Smrg 1316b7d53ee5SmrgBy default, \`make install' will install all the files in 1317b7d53ee5Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1318b7d53ee5Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix', 1319b7d53ee5Smrgfor instance \`--prefix=\$HOME'. 1320b7d53ee5Smrg 1321b7d53ee5SmrgFor better control, use the options below. 1322b7d53ee5Smrg 1323b7d53ee5SmrgFine tuning of the installation directories: 13242ceb2653Smrg --bindir=DIR user executables [EPREFIX/bin] 13252ceb2653Smrg --sbindir=DIR system admin executables [EPREFIX/sbin] 13262ceb2653Smrg --libexecdir=DIR program executables [EPREFIX/libexec] 13272ceb2653Smrg --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 13282ceb2653Smrg --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 13292ceb2653Smrg --localstatedir=DIR modifiable single-machine data [PREFIX/var] 133087402a6fSmrg --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 13312ceb2653Smrg --libdir=DIR object code libraries [EPREFIX/lib] 13322ceb2653Smrg --includedir=DIR C header files [PREFIX/include] 13332ceb2653Smrg --oldincludedir=DIR C header files for non-gcc [/usr/include] 13342ceb2653Smrg --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 13352ceb2653Smrg --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 13362ceb2653Smrg --infodir=DIR info documentation [DATAROOTDIR/info] 13372ceb2653Smrg --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 13382ceb2653Smrg --mandir=DIR man documentation [DATAROOTDIR/man] 13392ceb2653Smrg --docdir=DIR documentation root [DATAROOTDIR/doc/font-dec-misc] 13402ceb2653Smrg --htmldir=DIR html documentation [DOCDIR] 13412ceb2653Smrg --dvidir=DIR dvi documentation [DOCDIR] 13422ceb2653Smrg --pdfdir=DIR pdf documentation [DOCDIR] 13432ceb2653Smrg --psdir=DIR ps documentation [DOCDIR] 1344b7d53ee5Smrg_ACEOF 1345b7d53ee5Smrg 1346b7d53ee5Smrg cat <<\_ACEOF 1347b7d53ee5Smrg 1348b7d53ee5SmrgProgram names: 1349b7d53ee5Smrg --program-prefix=PREFIX prepend PREFIX to installed program names 1350b7d53ee5Smrg --program-suffix=SUFFIX append SUFFIX to installed program names 1351b7d53ee5Smrg --program-transform-name=PROGRAM run sed PROGRAM on installed program names 13522ceb2653Smrg 13532ceb2653SmrgSystem types: 13542ceb2653Smrg --build=BUILD configure for building on BUILD [guessed] 13552ceb2653Smrg --host=HOST cross-compile to build programs to run on HOST [BUILD] 1356b7d53ee5Smrg_ACEOF 1357b7d53ee5Smrgfi 1358b7d53ee5Smrg 1359b7d53ee5Smrgif test -n "$ac_init_help"; then 1360b7d53ee5Smrg case $ac_init_help in 136187402a6fSmrg short | recursive ) echo "Configuration of font-dec-misc 1.0.4:";; 1362b7d53ee5Smrg esac 1363b7d53ee5Smrg cat <<\_ACEOF 1364b7d53ee5Smrg 1365b7d53ee5SmrgOptional Features: 13662ceb2653Smrg --disable-option-checking ignore unrecognized --enable/--with options 1367b7d53ee5Smrg --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1368b7d53ee5Smrg --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 136987402a6fSmrg --enable-silent-rules less verbose build output (undo: "make V=1") 137087402a6fSmrg --disable-silent-rules verbose build output (undo: "make V=0") 1371b7d53ee5Smrg 1372b7d53ee5SmrgOptional Packages: 1373b7d53ee5Smrg --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1374b7d53ee5Smrg --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 13752ceb2653Smrg --with-fontrootdir=DIR Path to root directory for font files 13762ceb2653Smrg --with-fontdir=DIR Path to misc files [FONTROOTDIR/misc] 13772ceb2653Smrg --with-compression=<no|compress|gzip|bzip2> 13782ceb2653Smrg compression method to use on pcf fonts 13792ceb2653Smrg 13802ceb2653SmrgSome influential environment variables: 13812ceb2653Smrg PKG_CONFIG path to pkg-config utility 13825cf18391Smrg PKG_CONFIG_PATH 13835cf18391Smrg directories to add to pkg-config's search path 13845cf18391Smrg PKG_CONFIG_LIBDIR 13855cf18391Smrg path overriding pkg-config's built-in search path 13862ceb2653Smrg 13872ceb2653SmrgUse these variables to override the choices made by `configure' or to help 13882ceb2653Smrgit to find libraries and programs with nonstandard names/locations. 1389b7d53ee5Smrg 139087402a6fSmrgReport bugs to <https://gitlab.freedesktop.org/xorg/font/dec-misc/-/issues>. 1391b7d53ee5Smrg_ACEOF 13922ceb2653Smrgac_status=$? 1393b7d53ee5Smrgfi 1394b7d53ee5Smrg 1395b7d53ee5Smrgif test "$ac_init_help" = "recursive"; then 1396b7d53ee5Smrg # If there are subdirs, report their specific --help. 1397b7d53ee5Smrg for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 13982ceb2653Smrg test -d "$ac_dir" || 13992ceb2653Smrg { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 14002ceb2653Smrg continue 1401b7d53ee5Smrg ac_builddir=. 1402b7d53ee5Smrg 14032ceb2653Smrgcase "$ac_dir" in 14042ceb2653Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 14052ceb2653Smrg*) 140687402a6fSmrg ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 14072ceb2653Smrg # A ".." for each directory in $ac_dir_suffix. 140887402a6fSmrg ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 14092ceb2653Smrg case $ac_top_builddir_sub in 14102ceb2653Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 14112ceb2653Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 14122ceb2653Smrg esac ;; 14132ceb2653Smrgesac 14142ceb2653Smrgac_abs_top_builddir=$ac_pwd 14152ceb2653Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 14162ceb2653Smrg# for backward compatibility: 14172ceb2653Smrgac_top_builddir=$ac_top_build_prefix 1418b7d53ee5Smrg 1419b7d53ee5Smrgcase $srcdir in 14202ceb2653Smrg .) # We are building in place. 1421b7d53ee5Smrg ac_srcdir=. 14222ceb2653Smrg ac_top_srcdir=$ac_top_builddir_sub 14232ceb2653Smrg ac_abs_top_srcdir=$ac_pwd ;; 14242ceb2653Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 1425b7d53ee5Smrg ac_srcdir=$srcdir$ac_dir_suffix; 14262ceb2653Smrg ac_top_srcdir=$srcdir 14272ceb2653Smrg ac_abs_top_srcdir=$srcdir ;; 14282ceb2653Smrg *) # Relative name. 14292ceb2653Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 14302ceb2653Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 14312ceb2653Smrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1432b7d53ee5Smrgesac 14332ceb2653Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 14342ceb2653Smrg 14352ceb2653Smrg cd "$ac_dir" || { ac_status=$?; continue; } 143687402a6fSmrg # Check for configure.gnu first; this name is used for a wrapper for 143787402a6fSmrg # Metaconfig's "Configure" on case-insensitive file systems. 14382ceb2653Smrg if test -f "$ac_srcdir/configure.gnu"; then 14392ceb2653Smrg echo && 14402ceb2653Smrg $SHELL "$ac_srcdir/configure.gnu" --help=recursive 14412ceb2653Smrg elif test -f "$ac_srcdir/configure"; then 14422ceb2653Smrg echo && 14432ceb2653Smrg $SHELL "$ac_srcdir/configure" --help=recursive 1444b7d53ee5Smrg else 144587402a6fSmrg printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2 14462ceb2653Smrg fi || ac_status=$? 14472ceb2653Smrg cd "$ac_pwd" || { ac_status=$?; break; } 1448b7d53ee5Smrg done 1449b7d53ee5Smrgfi 1450b7d53ee5Smrg 14512ceb2653Smrgtest -n "$ac_init_help" && exit $ac_status 1452b7d53ee5Smrgif $ac_init_version; then 1453b7d53ee5Smrg cat <<\_ACEOF 145487402a6fSmrgfont-dec-misc configure 1.0.4 145587402a6fSmrggenerated by GNU Autoconf 2.71 1456b7d53ee5Smrg 145787402a6fSmrgCopyright (C) 2021 Free Software Foundation, Inc. 1458b7d53ee5SmrgThis configure script is free software; the Free Software Foundation 1459b7d53ee5Smrggives unlimited permission to copy, distribute and modify it. 1460b7d53ee5Smrg_ACEOF 14612ceb2653Smrg exit 1462b7d53ee5Smrgfi 1463b7d53ee5Smrg 14645cf18391Smrg## ------------------------ ## 14655cf18391Smrg## Autoconf initialization. ## 14665cf18391Smrg## ------------------------ ## 146787402a6fSmrgac_configure_args_raw= 146887402a6fSmrgfor ac_arg 146987402a6fSmrgdo 147087402a6fSmrg case $ac_arg in 147187402a6fSmrg *\'*) 147287402a6fSmrg ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 147387402a6fSmrg esac 147487402a6fSmrg as_fn_append ac_configure_args_raw " '$ac_arg'" 147587402a6fSmrgdone 1476b7d53ee5Smrg 147787402a6fSmrgcase $ac_configure_args_raw in 147887402a6fSmrg *$as_nl*) 147987402a6fSmrg ac_safe_unquote= ;; 148087402a6fSmrg *) 148187402a6fSmrg ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. 148287402a6fSmrg ac_unsafe_a="$ac_unsafe_z#~" 148387402a6fSmrg ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" 148487402a6fSmrg ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;; 14855cf18391Smrgesac 14865cf18391Smrg 14875cf18391Smrgcat >config.log <<_ACEOF 14885cf18391SmrgThis file contains any messages produced by compilers while 14895cf18391Smrgrunning configure, to aid debugging if configure makes a mistake. 14905cf18391Smrg 149187402a6fSmrgIt was created by font-dec-misc $as_me 1.0.4, which was 149287402a6fSmrggenerated by GNU Autoconf 2.71. Invocation command line was 14935cf18391Smrg 149487402a6fSmrg $ $0$ac_configure_args_raw 14955cf18391Smrg 14965cf18391Smrg_ACEOF 14975cf18391Smrgexec 5>>config.log 14985cf18391Smrg{ 14995cf18391Smrgcat <<_ASUNAME 15005cf18391Smrg## --------- ## 15015cf18391Smrg## Platform. ## 15025cf18391Smrg## --------- ## 15035cf18391Smrg 15045cf18391Smrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 15055cf18391Smrguname -m = `(uname -m) 2>/dev/null || echo unknown` 15065cf18391Smrguname -r = `(uname -r) 2>/dev/null || echo unknown` 15075cf18391Smrguname -s = `(uname -s) 2>/dev/null || echo unknown` 15085cf18391Smrguname -v = `(uname -v) 2>/dev/null || echo unknown` 15095cf18391Smrg 15105cf18391Smrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 15115cf18391Smrg/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 15125cf18391Smrg 15135cf18391Smrg/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 15145cf18391Smrg/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 15155cf18391Smrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 15165cf18391Smrg/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 15175cf18391Smrg/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 15185cf18391Smrg/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 15195cf18391Smrg/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 15205cf18391Smrg 15215cf18391Smrg_ASUNAME 15225cf18391Smrg 15235cf18391Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1524b7d53ee5Smrgfor as_dir in $PATH 1525b7d53ee5Smrgdo 1526b7d53ee5Smrg IFS=$as_save_IFS 152787402a6fSmrg case $as_dir in #((( 152887402a6fSmrg '') as_dir=./ ;; 152987402a6fSmrg */) ;; 153087402a6fSmrg *) as_dir=$as_dir/ ;; 153187402a6fSmrg esac 153287402a6fSmrg printf "%s\n" "PATH: $as_dir" 15335cf18391Smrg done 15342ceb2653SmrgIFS=$as_save_IFS 1535b7d53ee5Smrg 1536b7d53ee5Smrg} >&5 1537b7d53ee5Smrg 1538b7d53ee5Smrgcat >&5 <<_ACEOF 1539b7d53ee5Smrg 1540b7d53ee5Smrg 1541b7d53ee5Smrg## ----------- ## 1542b7d53ee5Smrg## Core tests. ## 1543b7d53ee5Smrg## ----------- ## 1544b7d53ee5Smrg 1545b7d53ee5Smrg_ACEOF 1546b7d53ee5Smrg 1547b7d53ee5Smrg 1548b7d53ee5Smrg# Keep a trace of the command line. 1549b7d53ee5Smrg# Strip out --no-create and --no-recursion so they do not pile up. 1550b7d53ee5Smrg# Strip out --silent because we don't want to record it for future runs. 1551b7d53ee5Smrg# Also quote any args containing shell meta-characters. 1552b7d53ee5Smrg# Make two passes to allow for proper duplicate-argument suppression. 1553b7d53ee5Smrgac_configure_args= 1554b7d53ee5Smrgac_configure_args0= 1555b7d53ee5Smrgac_configure_args1= 1556b7d53ee5Smrgac_must_keep_next=false 1557b7d53ee5Smrgfor ac_pass in 1 2 1558b7d53ee5Smrgdo 1559b7d53ee5Smrg for ac_arg 1560b7d53ee5Smrg do 1561b7d53ee5Smrg case $ac_arg in 1562b7d53ee5Smrg -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1563b7d53ee5Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1564b7d53ee5Smrg | -silent | --silent | --silen | --sile | --sil) 1565b7d53ee5Smrg continue ;; 15662ceb2653Smrg *\'*) 156787402a6fSmrg ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1568b7d53ee5Smrg esac 1569b7d53ee5Smrg case $ac_pass in 15705cf18391Smrg 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1571b7d53ee5Smrg 2) 15725cf18391Smrg as_fn_append ac_configure_args1 " '$ac_arg'" 1573b7d53ee5Smrg if test $ac_must_keep_next = true; then 1574b7d53ee5Smrg ac_must_keep_next=false # Got value, back to normal. 1575b7d53ee5Smrg else 1576b7d53ee5Smrg case $ac_arg in 1577b7d53ee5Smrg *=* | --config-cache | -C | -disable-* | --disable-* \ 1578b7d53ee5Smrg | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1579b7d53ee5Smrg | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1580b7d53ee5Smrg | -with-* | --with-* | -without-* | --without-* | --x) 1581b7d53ee5Smrg case "$ac_configure_args0 " in 1582b7d53ee5Smrg "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1583b7d53ee5Smrg esac 1584b7d53ee5Smrg ;; 1585b7d53ee5Smrg -* ) ac_must_keep_next=true ;; 1586b7d53ee5Smrg esac 1587b7d53ee5Smrg fi 15885cf18391Smrg as_fn_append ac_configure_args " '$ac_arg'" 1589b7d53ee5Smrg ;; 1590b7d53ee5Smrg esac 1591b7d53ee5Smrg done 1592b7d53ee5Smrgdone 15935cf18391Smrg{ ac_configure_args0=; unset ac_configure_args0;} 15945cf18391Smrg{ ac_configure_args1=; unset ac_configure_args1;} 1595b7d53ee5Smrg 1596b7d53ee5Smrg# When interrupted or exit'd, cleanup temporary files, and complete 1597b7d53ee5Smrg# config.log. We remove comments because anyway the quotes in there 1598b7d53ee5Smrg# would cause problems or look ugly. 15992ceb2653Smrg# WARNING: Use '\'' to represent an apostrophe within the trap. 16002ceb2653Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1601b7d53ee5Smrgtrap 'exit_status=$? 160287402a6fSmrg # Sanitize IFS. 160387402a6fSmrg IFS=" "" $as_nl" 1604b7d53ee5Smrg # Save into config.log some information that might help in debugging. 1605b7d53ee5Smrg { 1606b7d53ee5Smrg echo 1607b7d53ee5Smrg 160887402a6fSmrg printf "%s\n" "## ---------------- ## 1609b7d53ee5Smrg## Cache variables. ## 16105cf18391Smrg## ---------------- ##" 1611b7d53ee5Smrg echo 1612b7d53ee5Smrg # The following way of writing the cache mishandles newlines in values, 16132ceb2653Smrg( 16142ceb2653Smrg for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 16152ceb2653Smrg eval ac_val=\$$ac_var 16162ceb2653Smrg case $ac_val in #( 16172ceb2653Smrg *${as_nl}*) 16182ceb2653Smrg case $ac_var in #( 161987402a6fSmrg *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 162087402a6fSmrgprintf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 16212ceb2653Smrg esac 16222ceb2653Smrg case $ac_var in #( 16232ceb2653Smrg _ | IFS | as_nl) ;; #( 16242ceb2653Smrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 16255cf18391Smrg *) { eval $ac_var=; unset $ac_var;} ;; 16262ceb2653Smrg esac ;; 16272ceb2653Smrg esac 16282ceb2653Smrg done 1629b7d53ee5Smrg (set) 2>&1 | 16302ceb2653Smrg case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 16312ceb2653Smrg *${as_nl}ac_space=\ *) 1632b7d53ee5Smrg sed -n \ 16332ceb2653Smrg "s/'\''/'\''\\\\'\'''\''/g; 16342ceb2653Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 16352ceb2653Smrg ;; #( 1636b7d53ee5Smrg *) 16372ceb2653Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1638b7d53ee5Smrg ;; 16392ceb2653Smrg esac | 16402ceb2653Smrg sort 16412ceb2653Smrg) 1642b7d53ee5Smrg echo 1643b7d53ee5Smrg 164487402a6fSmrg printf "%s\n" "## ----------------- ## 1645b7d53ee5Smrg## Output variables. ## 16465cf18391Smrg## ----------------- ##" 1647b7d53ee5Smrg echo 1648b7d53ee5Smrg for ac_var in $ac_subst_vars 1649b7d53ee5Smrg do 16502ceb2653Smrg eval ac_val=\$$ac_var 16512ceb2653Smrg case $ac_val in 165287402a6fSmrg *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 16532ceb2653Smrg esac 165487402a6fSmrg printf "%s\n" "$ac_var='\''$ac_val'\''" 1655b7d53ee5Smrg done | sort 1656b7d53ee5Smrg echo 1657b7d53ee5Smrg 1658b7d53ee5Smrg if test -n "$ac_subst_files"; then 165987402a6fSmrg printf "%s\n" "## ------------------- ## 16602ceb2653Smrg## File substitutions. ## 16615cf18391Smrg## ------------------- ##" 1662b7d53ee5Smrg echo 1663b7d53ee5Smrg for ac_var in $ac_subst_files 1664b7d53ee5Smrg do 16652ceb2653Smrg eval ac_val=\$$ac_var 16662ceb2653Smrg case $ac_val in 166787402a6fSmrg *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 16682ceb2653Smrg esac 166987402a6fSmrg printf "%s\n" "$ac_var='\''$ac_val'\''" 1670b7d53ee5Smrg done | sort 1671b7d53ee5Smrg echo 1672b7d53ee5Smrg fi 1673b7d53ee5Smrg 1674b7d53ee5Smrg if test -s confdefs.h; then 167587402a6fSmrg printf "%s\n" "## ----------- ## 1676b7d53ee5Smrg## confdefs.h. ## 16775cf18391Smrg## ----------- ##" 1678b7d53ee5Smrg echo 16792ceb2653Smrg cat confdefs.h 1680b7d53ee5Smrg echo 1681b7d53ee5Smrg fi 1682b7d53ee5Smrg test "$ac_signal" != 0 && 168387402a6fSmrg printf "%s\n" "$as_me: caught signal $ac_signal" 168487402a6fSmrg printf "%s\n" "$as_me: exit $exit_status" 1685b7d53ee5Smrg } >&5 16862ceb2653Smrg rm -f core *.core core.conftest.* && 16872ceb2653Smrg rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1688b7d53ee5Smrg exit $exit_status 16892ceb2653Smrg' 0 1690b7d53ee5Smrgfor ac_signal in 1 2 13 15; do 16915cf18391Smrg trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1692b7d53ee5Smrgdone 1693b7d53ee5Smrgac_signal=0 1694b7d53ee5Smrg 1695b7d53ee5Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed. 16962ceb2653Smrgrm -f -r conftest* confdefs.h 1697b7d53ee5Smrg 169887402a6fSmrgprintf "%s\n" "/* confdefs.h */" > confdefs.h 16995cf18391Smrg 1700b7d53ee5Smrg# Predefined preprocessor variables. 1701b7d53ee5Smrg 170287402a6fSmrgprintf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h 1703b7d53ee5Smrg 170487402a6fSmrgprintf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h 1705b7d53ee5Smrg 170687402a6fSmrgprintf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h 1707b7d53ee5Smrg 170887402a6fSmrgprintf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h 1709b7d53ee5Smrg 171087402a6fSmrgprintf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h 1711b7d53ee5Smrg 171287402a6fSmrgprintf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h 17135cf18391Smrg 1714b7d53ee5Smrg 1715b7d53ee5Smrg# Let the site file select an alternate cache file if it wants to. 17162ceb2653Smrg# Prefer an explicitly selected file to automatically selected ones. 17172ceb2653Smrgif test -n "$CONFIG_SITE"; then 171887402a6fSmrg ac_site_files="$CONFIG_SITE" 17192ceb2653Smrgelif test "x$prefix" != xNONE; then 172087402a6fSmrg ac_site_files="$prefix/share/config.site $prefix/etc/config.site" 17212ceb2653Smrgelse 172287402a6fSmrg ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1723b7d53ee5Smrgfi 172487402a6fSmrg 172587402a6fSmrgfor ac_site_file in $ac_site_files 17262ceb2653Smrgdo 172787402a6fSmrg case $ac_site_file in #( 172887402a6fSmrg */*) : 172987402a6fSmrg ;; #( 173087402a6fSmrg *) : 173187402a6fSmrg ac_site_file=./$ac_site_file ;; 173287402a6fSmrgesac 173387402a6fSmrg if test -f "$ac_site_file" && test -r "$ac_site_file"; then 173487402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 173587402a6fSmrgprintf "%s\n" "$as_me: loading site script $ac_site_file" >&6;} 1736b7d53ee5Smrg sed 's/^/| /' "$ac_site_file" >&5 17375cf18391Smrg . "$ac_site_file" \ 173887402a6fSmrg || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 173987402a6fSmrgprintf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 17405cf18391Smrgas_fn_error $? "failed to load site script $ac_site_file 17415cf18391SmrgSee \`config.log' for more details" "$LINENO" 5; } 1742b7d53ee5Smrg fi 1743b7d53ee5Smrgdone 1744b7d53ee5Smrg 1745b7d53ee5Smrgif test -r "$cache_file"; then 17465cf18391Smrg # Some versions of bash will fail to source /dev/null (special files 17475cf18391Smrg # actually), so we avoid doing that. DJGPP emulates it as a regular file. 17485cf18391Smrg if test /dev/null != "$cache_file" && test -f "$cache_file"; then 174987402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 175087402a6fSmrgprintf "%s\n" "$as_me: loading cache $cache_file" >&6;} 1751b7d53ee5Smrg case $cache_file in 17522ceb2653Smrg [\\/]* | ?:[\\/]* ) . "$cache_file";; 17532ceb2653Smrg *) . "./$cache_file";; 1754b7d53ee5Smrg esac 1755b7d53ee5Smrg fi 1756b7d53ee5Smrgelse 175787402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 175887402a6fSmrgprintf "%s\n" "$as_me: creating cache $cache_file" >&6;} 1759b7d53ee5Smrg >$cache_file 1760b7d53ee5Smrgfi 1761b7d53ee5Smrg 176287402a6fSmrg 176387402a6fSmrg# Auxiliary files required by this configure script. 176487402a6fSmrgac_aux_files="config.guess config.sub missing install-sh" 176587402a6fSmrg 176687402a6fSmrg# Locations in which to look for auxiliary files. 176787402a6fSmrgac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.." 176887402a6fSmrg 176987402a6fSmrg# Search for a directory containing all of the required auxiliary files, 177087402a6fSmrg# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. 177187402a6fSmrg# If we don't find one directory that contains all the files we need, 177287402a6fSmrg# we report the set of missing files from the *first* directory in 177387402a6fSmrg# $ac_aux_dir_candidates and give up. 177487402a6fSmrgac_missing_aux_files="" 177587402a6fSmrgac_first_candidate=: 177687402a6fSmrgprintf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5 177787402a6fSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 177887402a6fSmrgas_found=false 177987402a6fSmrgfor as_dir in $ac_aux_dir_candidates 178087402a6fSmrgdo 178187402a6fSmrg IFS=$as_save_IFS 178287402a6fSmrg case $as_dir in #((( 178387402a6fSmrg '') as_dir=./ ;; 178487402a6fSmrg */) ;; 178587402a6fSmrg *) as_dir=$as_dir/ ;; 178687402a6fSmrg esac 178787402a6fSmrg as_found=: 178887402a6fSmrg 178987402a6fSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 179087402a6fSmrg ac_aux_dir_found=yes 179187402a6fSmrg ac_install_sh= 179287402a6fSmrg for ac_aux in $ac_aux_files 179387402a6fSmrg do 179487402a6fSmrg # As a special case, if "install-sh" is required, that requirement 179587402a6fSmrg # can be satisfied by any of "install-sh", "install.sh", or "shtool", 179687402a6fSmrg # and $ac_install_sh is set appropriately for whichever one is found. 179787402a6fSmrg if test x"$ac_aux" = x"install-sh" 179887402a6fSmrg then 179987402a6fSmrg if test -f "${as_dir}install-sh"; then 180087402a6fSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5 180187402a6fSmrg ac_install_sh="${as_dir}install-sh -c" 180287402a6fSmrg elif test -f "${as_dir}install.sh"; then 180387402a6fSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5 180487402a6fSmrg ac_install_sh="${as_dir}install.sh -c" 180587402a6fSmrg elif test -f "${as_dir}shtool"; then 180687402a6fSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5 180787402a6fSmrg ac_install_sh="${as_dir}shtool install -c" 180887402a6fSmrg else 180987402a6fSmrg ac_aux_dir_found=no 181087402a6fSmrg if $ac_first_candidate; then 181187402a6fSmrg ac_missing_aux_files="${ac_missing_aux_files} install-sh" 181287402a6fSmrg else 181387402a6fSmrg break 181487402a6fSmrg fi 181587402a6fSmrg fi 181687402a6fSmrg else 181787402a6fSmrg if test -f "${as_dir}${ac_aux}"; then 181887402a6fSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5 181987402a6fSmrg else 182087402a6fSmrg ac_aux_dir_found=no 182187402a6fSmrg if $ac_first_candidate; then 182287402a6fSmrg ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}" 182387402a6fSmrg else 182487402a6fSmrg break 182587402a6fSmrg fi 182687402a6fSmrg fi 182787402a6fSmrg fi 182887402a6fSmrg done 182987402a6fSmrg if test "$ac_aux_dir_found" = yes; then 183087402a6fSmrg ac_aux_dir="$as_dir" 183187402a6fSmrg break 183287402a6fSmrg fi 183387402a6fSmrg ac_first_candidate=false 183487402a6fSmrg 183587402a6fSmrg as_found=false 183687402a6fSmrgdone 183787402a6fSmrgIFS=$as_save_IFS 183887402a6fSmrgif $as_found 183987402a6fSmrgthen : 184087402a6fSmrg 184187402a6fSmrgelse $as_nop 184287402a6fSmrg as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 184387402a6fSmrgfi 184487402a6fSmrg 184587402a6fSmrg 184687402a6fSmrg# These three variables are undocumented and unsupported, 184787402a6fSmrg# and are intended to be withdrawn in a future Autoconf release. 184887402a6fSmrg# They can cause serious problems if a builder's source tree is in a directory 184987402a6fSmrg# whose full name contains unusual characters. 185087402a6fSmrgif test -f "${ac_aux_dir}config.guess"; then 185187402a6fSmrg ac_config_guess="$SHELL ${ac_aux_dir}config.guess" 185287402a6fSmrgfi 185387402a6fSmrgif test -f "${ac_aux_dir}config.sub"; then 185487402a6fSmrg ac_config_sub="$SHELL ${ac_aux_dir}config.sub" 185587402a6fSmrgfi 185687402a6fSmrgif test -f "$ac_aux_dir/configure"; then 185787402a6fSmrg ac_configure="$SHELL ${ac_aux_dir}configure" 185887402a6fSmrgfi 185987402a6fSmrg 1860b7d53ee5Smrg# Check that the precious variables saved in the cache have kept the same 1861b7d53ee5Smrg# value. 1862b7d53ee5Smrgac_cache_corrupted=false 18632ceb2653Smrgfor ac_var in $ac_precious_vars; do 1864b7d53ee5Smrg eval ac_old_set=\$ac_cv_env_${ac_var}_set 1865b7d53ee5Smrg eval ac_new_set=\$ac_env_${ac_var}_set 18662ceb2653Smrg eval ac_old_val=\$ac_cv_env_${ac_var}_value 18672ceb2653Smrg eval ac_new_val=\$ac_env_${ac_var}_value 1868b7d53ee5Smrg case $ac_old_set,$ac_new_set in 1869b7d53ee5Smrg set,) 187087402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 187187402a6fSmrgprintf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1872b7d53ee5Smrg ac_cache_corrupted=: ;; 1873b7d53ee5Smrg ,set) 187487402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 187587402a6fSmrgprintf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1876b7d53ee5Smrg ac_cache_corrupted=: ;; 1877b7d53ee5Smrg ,);; 1878b7d53ee5Smrg *) 1879b7d53ee5Smrg if test "x$ac_old_val" != "x$ac_new_val"; then 18802ceb2653Smrg # differences in whitespace do not lead to failure. 18812ceb2653Smrg ac_old_val_w=`echo x $ac_old_val` 18822ceb2653Smrg ac_new_val_w=`echo x $ac_new_val` 18832ceb2653Smrg if test "$ac_old_val_w" != "$ac_new_val_w"; then 188487402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 188587402a6fSmrgprintf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 18862ceb2653Smrg ac_cache_corrupted=: 18872ceb2653Smrg else 188887402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 188987402a6fSmrgprintf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 18902ceb2653Smrg eval $ac_var=\$ac_old_val 18912ceb2653Smrg fi 189287402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 189387402a6fSmrgprintf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;} 189487402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 189587402a6fSmrgprintf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;} 1896b7d53ee5Smrg fi;; 1897b7d53ee5Smrg esac 1898b7d53ee5Smrg # Pass precious variables to config.status. 1899b7d53ee5Smrg if test "$ac_new_set" = set; then 1900b7d53ee5Smrg case $ac_new_val in 190187402a6fSmrg *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1902b7d53ee5Smrg *) ac_arg=$ac_var=$ac_new_val ;; 1903b7d53ee5Smrg esac 1904b7d53ee5Smrg case " $ac_configure_args " in 1905b7d53ee5Smrg *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 19065cf18391Smrg *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1907b7d53ee5Smrg esac 1908b7d53ee5Smrg fi 1909b7d53ee5Smrgdone 1910b7d53ee5Smrgif $ac_cache_corrupted; then 191187402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 191287402a6fSmrgprintf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 191387402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 191487402a6fSmrgprintf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;} 191587402a6fSmrg as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file' 191687402a6fSmrg and start over" "$LINENO" 5 1917b7d53ee5Smrgfi 19185cf18391Smrg## -------------------- ## 19195cf18391Smrg## Main body of script. ## 19205cf18391Smrg## -------------------- ## 1921b7d53ee5Smrg 19222ceb2653Smrgac_ext=c 19232ceb2653Smrgac_cpp='$CPP $CPPFLAGS' 19242ceb2653Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 19252ceb2653Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 19262ceb2653Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 1927b7d53ee5Smrg 1928b7d53ee5Smrg 192987402a6fSmrgam__api_version='1.16' 19302ceb2653Smrg 19312ceb2653Smrg 1932b7d53ee5Smrg 193387402a6fSmrg # Find a good install program. We prefer a C program (faster), 1934b7d53ee5Smrg# so one script is as good as another. But avoid the broken or 1935b7d53ee5Smrg# incompatible versions: 1936b7d53ee5Smrg# SysV /etc/install, /usr/sbin/install 1937b7d53ee5Smrg# SunOS /usr/etc/install 1938b7d53ee5Smrg# IRIX /sbin/install 1939b7d53ee5Smrg# AIX /bin/install 1940b7d53ee5Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs 1941b7d53ee5Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1942b7d53ee5Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1943b7d53ee5Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1944b7d53ee5Smrg# OS/2's system install, which has a completely different semantic 1945b7d53ee5Smrg# ./install, which can be erroneously created by make from ./install.sh. 19462ceb2653Smrg# Reject install programs that cannot install multiple files. 194787402a6fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 194887402a6fSmrgprintf %s "checking for a BSD-compatible install... " >&6; } 1949b7d53ee5Smrgif test -z "$INSTALL"; then 195087402a6fSmrgif test ${ac_cv_path_install+y} 195187402a6fSmrgthen : 195287402a6fSmrg printf %s "(cached) " >&6 195387402a6fSmrgelse $as_nop 1954b7d53ee5Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1955b7d53ee5Smrgfor as_dir in $PATH 1956b7d53ee5Smrgdo 1957b7d53ee5Smrg IFS=$as_save_IFS 195887402a6fSmrg case $as_dir in #((( 195987402a6fSmrg '') as_dir=./ ;; 196087402a6fSmrg */) ;; 196187402a6fSmrg *) as_dir=$as_dir/ ;; 196287402a6fSmrg esac 196387402a6fSmrg # Account for fact that we put trailing slashes in our PATH walk. 196487402a6fSmrgcase $as_dir in #(( 196587402a6fSmrg ./ | /[cC]/* | \ 1966b7d53ee5Smrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 19675cf18391Smrg ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 1968b7d53ee5Smrg /usr/ucb/* ) ;; 1969b7d53ee5Smrg *) 1970b7d53ee5Smrg # OSF1 and SCO ODT 3.0 have their own names for install. 1971b7d53ee5Smrg # Don't use installbsd from OSF since it installs stuff as root 1972b7d53ee5Smrg # by default. 1973b7d53ee5Smrg for ac_prog in ginstall scoinst install; do 1974b7d53ee5Smrg for ac_exec_ext in '' $ac_executable_extensions; do 197587402a6fSmrg if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then 1976b7d53ee5Smrg if test $ac_prog = install && 197787402a6fSmrg grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1978b7d53ee5Smrg # AIX install. It has an incompatible calling convention. 1979b7d53ee5Smrg : 1980b7d53ee5Smrg elif test $ac_prog = install && 198187402a6fSmrg grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1982b7d53ee5Smrg # program-specific install script used by HP pwplus--don't use. 1983b7d53ee5Smrg : 1984b7d53ee5Smrg else 19852ceb2653Smrg rm -rf conftest.one conftest.two conftest.dir 19862ceb2653Smrg echo one > conftest.one 19872ceb2653Smrg echo two > conftest.two 19882ceb2653Smrg mkdir conftest.dir 198987402a6fSmrg if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" && 19902ceb2653Smrg test -s conftest.one && test -s conftest.two && 19912ceb2653Smrg test -s conftest.dir/conftest.one && 19922ceb2653Smrg test -s conftest.dir/conftest.two 19932ceb2653Smrg then 199487402a6fSmrg ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c" 19952ceb2653Smrg break 3 19962ceb2653Smrg fi 1997b7d53ee5Smrg fi 1998b7d53ee5Smrg fi 1999b7d53ee5Smrg done 2000b7d53ee5Smrg done 2001b7d53ee5Smrg ;; 2002b7d53ee5Smrgesac 20032ceb2653Smrg 20045cf18391Smrg done 20052ceb2653SmrgIFS=$as_save_IFS 2006b7d53ee5Smrg 20072ceb2653Smrgrm -rf conftest.one conftest.two conftest.dir 2008b7d53ee5Smrg 2009b7d53ee5Smrgfi 201087402a6fSmrg if test ${ac_cv_path_install+y}; then 2011b7d53ee5Smrg INSTALL=$ac_cv_path_install 2012b7d53ee5Smrg else 20132ceb2653Smrg # As a last resort, use the slow shell script. Don't cache a 20142ceb2653Smrg # value for INSTALL within a source directory, because that will 2015b7d53ee5Smrg # break other packages using the cache if that directory is 20162ceb2653Smrg # removed, or if the value is a relative name. 2017b7d53ee5Smrg INSTALL=$ac_install_sh 2018b7d53ee5Smrg fi 2019b7d53ee5Smrgfi 202087402a6fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 202187402a6fSmrgprintf "%s\n" "$INSTALL" >&6; } 2022b7d53ee5Smrg 2023b7d53ee5Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2024b7d53ee5Smrg# It thinks the first close brace ends the variable substitution. 2025b7d53ee5Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2026b7d53ee5Smrg 2027b7d53ee5Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2028b7d53ee5Smrg 2029b7d53ee5Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2030b7d53ee5Smrg 203187402a6fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 203287402a6fSmrgprintf %s "checking whether build environment is sane... " >&6; } 20332ceb2653Smrg# Reject unsafe characters in $srcdir or the absolute working directory 20342ceb2653Smrg# name. Accept space and tab only in the latter. 20352ceb2653Smrgam_lf=' 20362ceb2653Smrg' 20372ceb2653Smrgcase `pwd` in 20382ceb2653Smrg *[\\\"\#\$\&\'\`$am_lf]*) 20395cf18391Smrg as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 20402ceb2653Smrgesac 20412ceb2653Smrgcase $srcdir in 20422ceb2653Smrg *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 204387402a6fSmrg as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 20442ceb2653Smrgesac 20452ceb2653Smrg 204687402a6fSmrg# Do 'set' in a subshell so we don't clobber the current shell's 2047b7d53ee5Smrg# arguments. Must try -L first in case configure is actually a 2048b7d53ee5Smrg# symlink; some systems play weird games with the mod time of symlinks 2049b7d53ee5Smrg# (eg FreeBSD returns the mod time of the symlink's containing 2050b7d53ee5Smrg# directory). 2051b7d53ee5Smrgif ( 205287402a6fSmrg am_has_slept=no 205387402a6fSmrg for am_try in 1 2; do 205487402a6fSmrg echo "timestamp, slept: $am_has_slept" > conftest.file 205587402a6fSmrg set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 205687402a6fSmrg if test "$*" = "X"; then 205787402a6fSmrg # -L didn't work. 205887402a6fSmrg set X `ls -t "$srcdir/configure" conftest.file` 205987402a6fSmrg fi 206087402a6fSmrg if test "$*" != "X $srcdir/configure conftest.file" \ 206187402a6fSmrg && test "$*" != "X conftest.file $srcdir/configure"; then 206287402a6fSmrg 206387402a6fSmrg # If neither matched, then we have a broken ls. This can happen 206487402a6fSmrg # if, for instance, CONFIG_SHELL is bash and it inherits a 206587402a6fSmrg # broken ls alias from the environment. This has actually 206687402a6fSmrg # happened. Such a system could not be considered "sane". 206787402a6fSmrg as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 206887402a6fSmrg alias in your environment" "$LINENO" 5 206987402a6fSmrg fi 207087402a6fSmrg if test "$2" = conftest.file || test $am_try -eq 2; then 207187402a6fSmrg break 207287402a6fSmrg fi 207387402a6fSmrg # Just in case. 207487402a6fSmrg sleep 1 207587402a6fSmrg am_has_slept=yes 207687402a6fSmrg done 2077b7d53ee5Smrg test "$2" = conftest.file 2078b7d53ee5Smrg ) 2079b7d53ee5Smrgthen 2080b7d53ee5Smrg # Ok. 2081b7d53ee5Smrg : 2082b7d53ee5Smrgelse 20835cf18391Smrg as_fn_error $? "newly created file is older than distributed files! 20845cf18391SmrgCheck your system clock" "$LINENO" 5 2085b7d53ee5Smrgfi 208687402a6fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 208787402a6fSmrgprintf "%s\n" "yes" >&6; } 208887402a6fSmrg# If we didn't sleep, we still need to ensure time stamps of config.status and 208987402a6fSmrg# generated files are strictly newer. 209087402a6fSmrgam_sleep_pid= 209187402a6fSmrgif grep 'slept: no' conftest.file >/dev/null 2>&1; then 209287402a6fSmrg ( sleep 1 ) & 209387402a6fSmrg am_sleep_pid=$! 209487402a6fSmrgfi 209587402a6fSmrg 209687402a6fSmrgrm -f conftest.file 209787402a6fSmrg 2098b7d53ee5Smrgtest "$program_prefix" != NONE && 20992ceb2653Smrg program_transform_name="s&^&$program_prefix&;$program_transform_name" 2100b7d53ee5Smrg# Use a double $ so make ignores it. 2101b7d53ee5Smrgtest "$program_suffix" != NONE && 21022ceb2653Smrg program_transform_name="s&\$&$program_suffix&;$program_transform_name" 21032ceb2653Smrg# Double any \ or $. 2104b7d53ee5Smrg# By default was `s,x,x', remove it if useless. 21052ceb2653Smrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 210687402a6fSmrgprogram_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"` 2107b7d53ee5Smrg 2108b7d53ee5Smrg 210987402a6fSmrg# Expand $ac_aux_dir to an absolute path. 211087402a6fSmrgam_aux_dir=`cd "$ac_aux_dir" && pwd` 211187402a6fSmrg 211287402a6fSmrg 211387402a6fSmrg if test x"${MISSING+set}" != xset; then 211487402a6fSmrg MISSING="\${SHELL} '$am_aux_dir/missing'" 21152ceb2653Smrgfi 2116b7d53ee5Smrg# Use eval to expand $SHELL 211787402a6fSmrgif eval "$MISSING --is-lightweight"; then 211887402a6fSmrg am_missing_run="$MISSING " 2119b7d53ee5Smrgelse 2120b7d53ee5Smrg am_missing_run= 212187402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 212287402a6fSmrgprintf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 21232ceb2653Smrgfi 21242ceb2653Smrg 212587402a6fSmrgif test x"${install_sh+set}" != xset; then 21262ceb2653Smrg case $am_aux_dir in 21272ceb2653Smrg *\ * | *\ *) 21282ceb2653Smrg install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 21292ceb2653Smrg *) 21302ceb2653Smrg install_sh="\${SHELL} $am_aux_dir/install-sh" 21312ceb2653Smrg esac 21322ceb2653Smrgfi 21332ceb2653Smrg 213487402a6fSmrg# Installed binaries are usually stripped using 'strip' when the user 213587402a6fSmrg# run "make install-strip". However 'strip' might not be the right 21362ceb2653Smrg# tool to use in cross-compilation environments, therefore Automake 213787402a6fSmrg# will honor the 'STRIP' environment variable to overrule this program. 21382ceb2653Smrgif test "$cross_compiling" != no; then 21392ceb2653Smrg if test -n "$ac_tool_prefix"; then 21402ceb2653Smrg # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 21412ceb2653Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2 214287402a6fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 214387402a6fSmrgprintf %s "checking for $ac_word... " >&6; } 214487402a6fSmrgif test ${ac_cv_prog_STRIP+y} 214587402a6fSmrgthen : 214687402a6fSmrg printf %s "(cached) " >&6 214787402a6fSmrgelse $as_nop 21482ceb2653Smrg if test -n "$STRIP"; then 21492ceb2653Smrg ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 21502ceb2653Smrgelse 21512ceb2653Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 21522ceb2653Smrgfor as_dir in $PATH 21532ceb2653Smrgdo 21542ceb2653Smrg IFS=$as_save_IFS 215587402a6fSmrg case $as_dir in #((( 215687402a6fSmrg '') as_dir=./ ;; 215787402a6fSmrg */) ;; 215887402a6fSmrg *) as_dir=$as_dir/ ;; 215987402a6fSmrg esac 21605cf18391Smrg for ac_exec_ext in '' $ac_executable_extensions; do 216187402a6fSmrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 21622ceb2653Smrg ac_cv_prog_STRIP="${ac_tool_prefix}strip" 216387402a6fSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 21642ceb2653Smrg break 2 21652ceb2653Smrg fi 21662ceb2653Smrgdone 21675cf18391Smrg done 21682ceb2653SmrgIFS=$as_save_IFS 21692ceb2653Smrg 21702ceb2653Smrgfi 21712ceb2653Smrgfi 21722ceb2653SmrgSTRIP=$ac_cv_prog_STRIP 21732ceb2653Smrgif test -n "$STRIP"; then 217487402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 217587402a6fSmrgprintf "%s\n" "$STRIP" >&6; } 21762ceb2653Smrgelse 217787402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 217887402a6fSmrgprintf "%s\n" "no" >&6; } 21792ceb2653Smrgfi 21802ceb2653Smrg 21812ceb2653Smrg 21822ceb2653Smrgfi 21832ceb2653Smrgif test -z "$ac_cv_prog_STRIP"; then 21842ceb2653Smrg ac_ct_STRIP=$STRIP 21852ceb2653Smrg # Extract the first word of "strip", so it can be a program name with args. 21862ceb2653Smrgset dummy strip; ac_word=$2 218787402a6fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 218887402a6fSmrgprintf %s "checking for $ac_word... " >&6; } 218987402a6fSmrgif test ${ac_cv_prog_ac_ct_STRIP+y} 219087402a6fSmrgthen : 219187402a6fSmrg printf %s "(cached) " >&6 219287402a6fSmrgelse $as_nop 21932ceb2653Smrg if test -n "$ac_ct_STRIP"; then 21942ceb2653Smrg ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 21952ceb2653Smrgelse 21962ceb2653Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 21972ceb2653Smrgfor as_dir in $PATH 21982ceb2653Smrgdo 21992ceb2653Smrg IFS=$as_save_IFS 220087402a6fSmrg case $as_dir in #((( 220187402a6fSmrg '') as_dir=./ ;; 220287402a6fSmrg */) ;; 220387402a6fSmrg *) as_dir=$as_dir/ ;; 220487402a6fSmrg esac 22055cf18391Smrg for ac_exec_ext in '' $ac_executable_extensions; do 220687402a6fSmrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 22072ceb2653Smrg ac_cv_prog_ac_ct_STRIP="strip" 220887402a6fSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 22092ceb2653Smrg break 2 22102ceb2653Smrg fi 22112ceb2653Smrgdone 22125cf18391Smrg done 22132ceb2653SmrgIFS=$as_save_IFS 22142ceb2653Smrg 22152ceb2653Smrgfi 22162ceb2653Smrgfi 22172ceb2653Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 22182ceb2653Smrgif test -n "$ac_ct_STRIP"; then 221987402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 222087402a6fSmrgprintf "%s\n" "$ac_ct_STRIP" >&6; } 22212ceb2653Smrgelse 222287402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 222387402a6fSmrgprintf "%s\n" "no" >&6; } 22242ceb2653Smrgfi 22252ceb2653Smrg 22262ceb2653Smrg if test "x$ac_ct_STRIP" = x; then 22272ceb2653Smrg STRIP=":" 22282ceb2653Smrg else 22292ceb2653Smrg case $cross_compiling:$ac_tool_warned in 22302ceb2653Smrgyes:) 223187402a6fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 223287402a6fSmrgprintf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 22332ceb2653Smrgac_tool_warned=yes ;; 22342ceb2653Smrgesac 22352ceb2653Smrg STRIP=$ac_ct_STRIP 22362ceb2653Smrg fi 22372ceb2653Smrgelse 22382ceb2653Smrg STRIP="$ac_cv_prog_STRIP" 22392ceb2653Smrgfi 22402ceb2653Smrg 22412ceb2653Smrgfi 22422ceb2653SmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 22432ceb2653Smrg 224487402a6fSmrg 224587402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5 224687402a6fSmrgprintf %s "checking for a race-free mkdir -p... " >&6; } 22472ceb2653Smrgif test -z "$MKDIR_P"; then 224887402a6fSmrg if test ${ac_cv_path_mkdir+y} 224987402a6fSmrgthen : 225087402a6fSmrg printf %s "(cached) " >&6 225187402a6fSmrgelse $as_nop 22522ceb2653Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22532ceb2653Smrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 22542ceb2653Smrgdo 22552ceb2653Smrg IFS=$as_save_IFS 225687402a6fSmrg case $as_dir in #((( 225787402a6fSmrg '') as_dir=./ ;; 225887402a6fSmrg */) ;; 225987402a6fSmrg *) as_dir=$as_dir/ ;; 226087402a6fSmrg esac 22615cf18391Smrg for ac_prog in mkdir gmkdir; do 22622ceb2653Smrg for ac_exec_ext in '' $ac_executable_extensions; do 226387402a6fSmrg as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue 226487402a6fSmrg case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #( 226587402a6fSmrg 'mkdir ('*'coreutils) '* | \ 226687402a6fSmrg 'BusyBox '* | \ 22672ceb2653Smrg 'mkdir (fileutils) '4.1*) 226887402a6fSmrg ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext 22692ceb2653Smrg break 3;; 22702ceb2653Smrg esac 22712ceb2653Smrg done 22722ceb2653Smrg done 22735cf18391Smrg done 22742ceb2653SmrgIFS=$as_save_IFS 22752ceb2653Smrg 22762ceb2653Smrgfi 22772ceb2653Smrg 22785cf18391Smrg test -d ./--version && rmdir ./--version 227987402a6fSmrg if test ${ac_cv_path_mkdir+y}; then 22802ceb2653Smrg MKDIR_P="$ac_cv_path_mkdir -p" 22812ceb2653Smrg else 22822ceb2653Smrg # As a last resort, use the slow shell script. Don't cache a 22832ceb2653Smrg # value for MKDIR_P within a source directory, because that will 22842ceb2653Smrg # break other packages using the cache if that directory is 22852ceb2653Smrg # removed, or if the value is a relative name. 22862ceb2653Smrg MKDIR_P="$ac_install_sh -d" 22872ceb2653Smrg fi 2288b7d53ee5Smrgfi 228987402a6fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 229087402a6fSmrgprintf "%s\n" "$MKDIR_P" >&6; } 2291b7d53ee5Smrg 2292b7d53ee5Smrgfor ac_prog in gawk mawk nawk awk 2293b7d53ee5Smrgdo 2294b7d53ee5Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 2295b7d53ee5Smrgset dummy $ac_prog; ac_word=$2 229687402a6fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 229787402a6fSmrgprintf %s "checking for $ac_word... " >&6; } 229887402a6fSmrgif test ${ac_cv_prog_AWK+y} 229987402a6fSmrgthen : 230087402a6fSmrg printf %s "(cached) " >&6 230187402a6fSmrgelse $as_nop 2302b7d53ee5Smrg if test -n "$AWK"; then 2303b7d53ee5Smrg ac_cv_prog_AWK="$AWK" # Let the user override the test. 2304b7d53ee5Smrgelse 2305b7d53ee5Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2306b7d53ee5Smrgfor as_dir in $PATH 2307b7d53ee5Smrgdo 2308b7d53ee5Smrg IFS=$as_save_IFS 230987402a6fSmrg case $as_dir in #((( 231087402a6fSmrg '') as_dir=./ ;; 231187402a6fSmrg */) ;; 231287402a6fSmrg *) as_dir=$as_dir/ ;; 231387402a6fSmrg esac 23145cf18391Smrg for ac_exec_ext in '' $ac_executable_extensions; do 231587402a6fSmrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2316b7d53ee5Smrg ac_cv_prog_AWK="$ac_prog" 231787402a6fSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2318b7d53ee5Smrg break 2 2319b7d53ee5Smrg fi 2320b7d53ee5Smrgdone 23215cf18391Smrg done 23222ceb2653SmrgIFS=$as_save_IFS 2323b7d53ee5Smrg 2324b7d53ee5Smrgfi 2325b7d53ee5Smrgfi 2326b7d53ee5SmrgAWK=$ac_cv_prog_AWK 2327b7d53ee5Smrgif test -n "$AWK"; then 232887402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 232987402a6fSmrgprintf "%s\n" "$AWK" >&6; } 2330b7d53ee5Smrgelse 233187402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 233287402a6fSmrgprintf "%s\n" "no" >&6; } 2333b7d53ee5Smrgfi 2334b7d53ee5Smrg 23352ceb2653Smrg 2336b7d53ee5Smrg test -n "$AWK" && break 2337b7d53ee5Smrgdone 2338b7d53ee5Smrg 233987402a6fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 234087402a6fSmrgprintf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 23412ceb2653Smrgset x ${MAKE-make} 234287402a6fSmrgac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 234387402a6fSmrgif eval test \${ac_cv_prog_make_${ac_make}_set+y} 234487402a6fSmrgthen : 234587402a6fSmrg printf %s "(cached) " >&6 234687402a6fSmrgelse $as_nop 2347b7d53ee5Smrg cat >conftest.make <<\_ACEOF 23482ceb2653SmrgSHELL = /bin/sh 2349b7d53ee5Smrgall: 23502ceb2653Smrg @echo '@@@%%%=$(MAKE)=@@@%%%' 2351b7d53ee5Smrg_ACEOF 23525cf18391Smrg# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 23532ceb2653Smrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in 23542ceb2653Smrg *@@@%%%=?*=@@@%%%*) 23552ceb2653Smrg eval ac_cv_prog_make_${ac_make}_set=yes;; 23562ceb2653Smrg *) 23572ceb2653Smrg eval ac_cv_prog_make_${ac_make}_set=no;; 23582ceb2653Smrgesac 2359b7d53ee5Smrgrm -f conftest.make 2360b7d53ee5Smrgfi 23612ceb2653Smrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 236287402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 236387402a6fSmrgprintf "%s\n" "yes" >&6; } 2364b7d53ee5Smrg SET_MAKE= 2365b7d53ee5Smrgelse 236687402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 236787402a6fSmrgprintf "%s\n" "no" >&6; } 2368b7d53ee5Smrg SET_MAKE="MAKE=${MAKE-make}" 2369b7d53ee5Smrgfi 2370b7d53ee5Smrg 2371b7d53ee5Smrgrm -rf .tst 2>/dev/null 2372b7d53ee5Smrgmkdir .tst 2>/dev/null 2373b7d53ee5Smrgif test -d .tst; then 2374b7d53ee5Smrg am__leading_dot=. 2375b7d53ee5Smrgelse 2376b7d53ee5Smrg am__leading_dot=_ 2377b7d53ee5Smrgfi 2378b7d53ee5Smrgrmdir .tst 2>/dev/null 2379b7d53ee5Smrg 238087402a6fSmrg# Check whether --enable-silent-rules was given. 238187402a6fSmrgif test ${enable_silent_rules+y} 238287402a6fSmrgthen : 238387402a6fSmrg enableval=$enable_silent_rules; 238487402a6fSmrgfi 238587402a6fSmrg 238687402a6fSmrgcase $enable_silent_rules in # ((( 238787402a6fSmrg yes) AM_DEFAULT_VERBOSITY=0;; 238887402a6fSmrg no) AM_DEFAULT_VERBOSITY=1;; 238987402a6fSmrg *) AM_DEFAULT_VERBOSITY=1;; 239087402a6fSmrgesac 239187402a6fSmrgam_make=${MAKE-make} 239287402a6fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 239387402a6fSmrgprintf %s "checking whether $am_make supports nested variables... " >&6; } 239487402a6fSmrgif test ${am_cv_make_support_nested_variables+y} 239587402a6fSmrgthen : 239687402a6fSmrg printf %s "(cached) " >&6 239787402a6fSmrgelse $as_nop 239887402a6fSmrg if printf "%s\n" 'TRUE=$(BAR$(V)) 239987402a6fSmrgBAR0=false 240087402a6fSmrgBAR1=true 240187402a6fSmrgV=1 240287402a6fSmrgam__doit: 240387402a6fSmrg @$(TRUE) 240487402a6fSmrg.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 240587402a6fSmrg am_cv_make_support_nested_variables=yes 240687402a6fSmrgelse 240787402a6fSmrg am_cv_make_support_nested_variables=no 240887402a6fSmrgfi 240987402a6fSmrgfi 241087402a6fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 241187402a6fSmrgprintf "%s\n" "$am_cv_make_support_nested_variables" >&6; } 241287402a6fSmrgif test $am_cv_make_support_nested_variables = yes; then 241387402a6fSmrg AM_V='$(V)' 241487402a6fSmrg AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 241587402a6fSmrgelse 241687402a6fSmrg AM_V=$AM_DEFAULT_VERBOSITY 241787402a6fSmrg AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 241887402a6fSmrgfi 241987402a6fSmrgAM_BACKSLASH='\' 242087402a6fSmrg 24212ceb2653Smrgif test "`cd $srcdir && pwd`" != "`pwd`"; then 24222ceb2653Smrg # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 24232ceb2653Smrg # is not polluted with repeated "-I." 24242ceb2653Smrg am__isrc=' -I$(srcdir)' 24252ceb2653Smrg # test to see if srcdir already configured 24262ceb2653Smrg if test -f $srcdir/config.status; then 24275cf18391Smrg as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 24282ceb2653Smrg fi 2429b7d53ee5Smrgfi 2430b7d53ee5Smrg 2431b7d53ee5Smrg# test whether we have cygpath 2432b7d53ee5Smrgif test -z "$CYGPATH_W"; then 2433b7d53ee5Smrg if (cygpath --version) >/dev/null 2>/dev/null; then 2434b7d53ee5Smrg CYGPATH_W='cygpath -w' 2435b7d53ee5Smrg else 2436b7d53ee5Smrg CYGPATH_W=echo 2437b7d53ee5Smrg fi 2438b7d53ee5Smrgfi 2439b7d53ee5Smrg 2440b7d53ee5Smrg 2441b7d53ee5Smrg# Define the identity of the package. 2442b7d53ee5Smrg PACKAGE='font-dec-misc' 244387402a6fSmrg VERSION='1.0.4' 2444b7d53ee5Smrg 2445b7d53ee5Smrg 244687402a6fSmrgprintf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h 2447b7d53ee5Smrg 2448b7d53ee5Smrg 244987402a6fSmrgprintf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h 2450b7d53ee5Smrg 2451b7d53ee5Smrg# Some tools Automake needs. 2452b7d53ee5Smrg 2453b7d53ee5SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2454b7d53ee5Smrg 2455b7d53ee5Smrg 2456b7d53ee5SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2457b7d53ee5Smrg 2458b7d53ee5Smrg 2459b7d53ee5SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2460b7d53ee5Smrg 2461b7d53ee5Smrg 2462b7d53ee5SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2463b7d53ee5Smrg 2464b7d53ee5Smrg 2465b7d53ee5SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2466b7d53ee5Smrg 246787402a6fSmrg# For better backward compatibility. To be removed once Automake 1.9.x 246887402a6fSmrg# dies out for good. For more background, see: 246987402a6fSmrg# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 247087402a6fSmrg# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 247187402a6fSmrgmkdir_p='$(MKDIR_P)' 2472b7d53ee5Smrg 247387402a6fSmrg# We need awk for the "check" target (and possibly the TAP driver). The 247487402a6fSmrg# system "awk" is bad on some platforms. 247587402a6fSmrg# Always define AMTAR for backward compatibility. Yes, it's still used 247687402a6fSmrg# in the wild :-( We should find a proper way to deprecate it ... 247787402a6fSmrgAMTAR='$${TAR-tar}' 2478b7d53ee5Smrg 2479b7d53ee5Smrg 248087402a6fSmrg# We'll loop over all known methods to create a tar archive until one works. 248187402a6fSmrg_am_tools='gnutar pax cpio none' 24822ceb2653Smrg 248387402a6fSmrgam__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 24842ceb2653Smrg 24852ceb2653Smrg 24862ceb2653Smrg 24872ceb2653Smrg 248887402a6fSmrg 248987402a6fSmrg# Variables for tags utilities; see am/tags.am 249087402a6fSmrgif test -z "$CTAGS"; then 249187402a6fSmrg CTAGS=ctags 24922ceb2653Smrgfi 24932ceb2653Smrg 249487402a6fSmrgif test -z "$ETAGS"; then 249587402a6fSmrg ETAGS=etags 24962ceb2653Smrgfi 24972ceb2653Smrg 249887402a6fSmrgif test -z "$CSCOPE"; then 249987402a6fSmrg CSCOPE=cscope 250087402a6fSmrgfi 25012ceb2653Smrg 25022ceb2653Smrg 25032ceb2653Smrg 250487402a6fSmrg# POSIX will say in a future version that running "rm -f" with no argument 250587402a6fSmrg# is OK; and we want to be able to make that assumption in our Makefile 250687402a6fSmrg# recipes. So use an aggressive probe to check that the usage we want is 250787402a6fSmrg# actually supported "in the wild" to an acceptable degree. 250887402a6fSmrg# See automake bug#10828. 250987402a6fSmrg# To make any issue more visible, cause the running configure to be aborted 251087402a6fSmrg# by default if the 'rm' program in use doesn't match our expectations; the 251187402a6fSmrg# user can still override this though. 251287402a6fSmrgif rm -f && rm -fr && rm -rf; then : OK; else 251387402a6fSmrg cat >&2 <<'END' 251487402a6fSmrgOops! 25152ceb2653Smrg 251687402a6fSmrgYour 'rm' program seems unable to run without file operands specified 251787402a6fSmrgon the command line, even when the '-f' option is present. This is contrary 251887402a6fSmrgto the behaviour of most rm programs out there, and not conforming with 251987402a6fSmrgthe upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 25202ceb2653Smrg 252187402a6fSmrgPlease tell bug-automake@gnu.org about your system, including the value 252287402a6fSmrgof your $PATH and any error possibly output before this message. This 252387402a6fSmrgcan help us improve future automake versions. 25242ceb2653Smrg 252587402a6fSmrgEND 252687402a6fSmrg if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 252787402a6fSmrg echo 'Configuration will proceed anyway, since you have set the' >&2 252887402a6fSmrg echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 252987402a6fSmrg echo >&2 253087402a6fSmrg else 253187402a6fSmrg cat >&2 <<'END' 253287402a6fSmrgAborting the configuration process, to ensure you take notice of the issue. 25332ceb2653Smrg 253487402a6fSmrgYou can download and install GNU coreutils to get an 'rm' implementation 253587402a6fSmrgthat behaves properly: <https://www.gnu.org/software/coreutils/>. 25362ceb2653Smrg 253787402a6fSmrgIf you want to complete the configuration process using your problematic 253887402a6fSmrg'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 253987402a6fSmrgto "yes", and re-run configure. 25402ceb2653Smrg 254187402a6fSmrgEND 254287402a6fSmrg as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 254387402a6fSmrg fi 254487402a6fSmrgfi 25452ceb2653Smrg 25462ceb2653Smrg 254787402a6fSmrg# Require xorg-macros 1.20 or later: XORG_DEFAULT_NOCODE_OPTIONS 25482ceb2653Smrg 25492ceb2653Smrg 25502ceb2653Smrg 25512ceb2653Smrg 25522ceb2653Smrg 25532ceb2653Smrg 25542ceb2653Smrg 25552ceb2653Smrg 25562ceb2653Smrg 25572ceb2653Smrg 25582ceb2653Smrg 25592ceb2653Smrg 25602ceb2653Smrg 25612ceb2653Smrg 25622ceb2653Smrg 25632ceb2653Smrg 25642ceb2653Smrg 25652ceb2653Smrg 25665cf18391Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 25675cf18391Smrg if test -n "$ac_tool_prefix"; then 25685cf18391Smrg # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 25695cf18391Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2 257087402a6fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 257187402a6fSmrgprintf %s "checking for $ac_word... " >&6; } 257287402a6fSmrgif test ${ac_cv_path_PKG_CONFIG+y} 257387402a6fSmrgthen : 257487402a6fSmrg printf %s "(cached) " >&6 257587402a6fSmrgelse $as_nop 25765cf18391Smrg case $PKG_CONFIG in 25775cf18391Smrg [\\/]* | ?:[\\/]*) 25785cf18391Smrg ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 25795cf18391Smrg ;; 25805cf18391Smrg *) 25815cf18391Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 25825cf18391Smrgfor as_dir in $PATH 25832ceb2653Smrgdo 25845cf18391Smrg IFS=$as_save_IFS 258587402a6fSmrg case $as_dir in #((( 258687402a6fSmrg '') as_dir=./ ;; 258787402a6fSmrg */) ;; 258887402a6fSmrg *) as_dir=$as_dir/ ;; 258987402a6fSmrg esac 25905cf18391Smrg for ac_exec_ext in '' $ac_executable_extensions; do 259187402a6fSmrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 259287402a6fSmrg ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" 259387402a6fSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 25945cf18391Smrg break 2 25955cf18391Smrg fi 25965cf18391Smrgdone 25975cf18391Smrg done 25985cf18391SmrgIFS=$as_save_IFS 25995cf18391Smrg 26005cf18391Smrg ;; 26012ceb2653Smrgesac 26025cf18391Smrgfi 26035cf18391SmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG 26045cf18391Smrgif test -n "$PKG_CONFIG"; then 260587402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 260687402a6fSmrgprintf "%s\n" "$PKG_CONFIG" >&6; } 26072ceb2653Smrgelse 260887402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 260987402a6fSmrgprintf "%s\n" "no" >&6; } 26102ceb2653Smrgfi 26112ceb2653Smrg 26122ceb2653Smrg 26132ceb2653Smrgfi 26145cf18391Smrgif test -z "$ac_cv_path_PKG_CONFIG"; then 26155cf18391Smrg ac_pt_PKG_CONFIG=$PKG_CONFIG 26165cf18391Smrg # Extract the first word of "pkg-config", so it can be a program name with args. 26175cf18391Smrgset dummy pkg-config; ac_word=$2 261887402a6fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 261987402a6fSmrgprintf %s "checking for $ac_word... " >&6; } 262087402a6fSmrgif test ${ac_cv_path_ac_pt_PKG_CONFIG+y} 262187402a6fSmrgthen : 262287402a6fSmrg printf %s "(cached) " >&6 262387402a6fSmrgelse $as_nop 26245cf18391Smrg case $ac_pt_PKG_CONFIG in 26255cf18391Smrg [\\/]* | ?:[\\/]*) 26265cf18391Smrg ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 26275cf18391Smrg ;; 26282ceb2653Smrg *) 26295cf18391Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 26305cf18391Smrgfor as_dir in $PATH 26315cf18391Smrgdo 26325cf18391Smrg IFS=$as_save_IFS 263387402a6fSmrg case $as_dir in #((( 263487402a6fSmrg '') as_dir=./ ;; 263587402a6fSmrg */) ;; 263687402a6fSmrg *) as_dir=$as_dir/ ;; 263787402a6fSmrg esac 26385cf18391Smrg for ac_exec_ext in '' $ac_executable_extensions; do 263987402a6fSmrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 264087402a6fSmrg ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" 264187402a6fSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 26425cf18391Smrg break 2 26435cf18391Smrg fi 26445cf18391Smrgdone 26455cf18391Smrg done 26465cf18391SmrgIFS=$as_save_IFS 26472ceb2653Smrg 26485cf18391Smrg ;; 26495cf18391Smrgesac 26505cf18391Smrgfi 26515cf18391Smrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 26525cf18391Smrgif test -n "$ac_pt_PKG_CONFIG"; then 265387402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 265487402a6fSmrgprintf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } 26555cf18391Smrgelse 265687402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 265787402a6fSmrgprintf "%s\n" "no" >&6; } 26585cf18391Smrgfi 26592ceb2653Smrg 26605cf18391Smrg if test "x$ac_pt_PKG_CONFIG" = x; then 26615cf18391Smrg PKG_CONFIG="" 26625cf18391Smrg else 26635cf18391Smrg case $cross_compiling:$ac_tool_warned in 26645cf18391Smrgyes:) 266587402a6fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 266687402a6fSmrgprintf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 26675cf18391Smrgac_tool_warned=yes ;; 26685cf18391Smrgesac 26695cf18391Smrg PKG_CONFIG=$ac_pt_PKG_CONFIG 26705cf18391Smrg fi 26715cf18391Smrgelse 26725cf18391Smrg PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 26735cf18391Smrgfi 26742ceb2653Smrg 26755cf18391Smrgfi 26765cf18391Smrgif test -n "$PKG_CONFIG"; then 26775cf18391Smrg _pkg_min_version=0.9.0 267887402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 267987402a6fSmrgprintf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; } 26805cf18391Smrg if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 268187402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 268287402a6fSmrgprintf "%s\n" "yes" >&6; } 26835cf18391Smrg else 268487402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 268587402a6fSmrgprintf "%s\n" "no" >&6; } 26865cf18391Smrg PKG_CONFIG="" 26875cf18391Smrg fi 26885cf18391Smrgfi 26892ceb2653Smrg 269087402a6fSmrg 269187402a6fSmrg # Make sure we can run config.sub. 269287402a6fSmrg$SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 || 269387402a6fSmrg as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5 269487402a6fSmrg 269587402a6fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 269687402a6fSmrgprintf %s "checking build system type... " >&6; } 269787402a6fSmrgif test ${ac_cv_build+y} 269887402a6fSmrgthen : 269987402a6fSmrg printf %s "(cached) " >&6 270087402a6fSmrgelse $as_nop 27012ceb2653Smrg ac_build_alias=$build_alias 27022ceb2653Smrgtest "x$ac_build_alias" = x && 270387402a6fSmrg ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"` 27042ceb2653Smrgtest "x$ac_build_alias" = x && 27055cf18391Smrg as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 270687402a6fSmrgac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` || 270787402a6fSmrg as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5 27082ceb2653Smrg 27092ceb2653Smrgfi 271087402a6fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 271187402a6fSmrgprintf "%s\n" "$ac_cv_build" >&6; } 27122ceb2653Smrgcase $ac_cv_build in 27132ceb2653Smrg*-*-*) ;; 27145cf18391Smrg*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 27152ceb2653Smrgesac 27162ceb2653Smrgbuild=$ac_cv_build 27172ceb2653Smrgac_save_IFS=$IFS; IFS='-' 27182ceb2653Smrgset x $ac_cv_build 27192ceb2653Smrgshift 27202ceb2653Smrgbuild_cpu=$1 27212ceb2653Smrgbuild_vendor=$2 27222ceb2653Smrgshift; shift 27232ceb2653Smrg# Remember, the first character of IFS is used to create $*, 27242ceb2653Smrg# except with old shells: 27252ceb2653Smrgbuild_os=$* 27262ceb2653SmrgIFS=$ac_save_IFS 27272ceb2653Smrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 27282ceb2653Smrg 27292ceb2653Smrg 273087402a6fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 273187402a6fSmrgprintf %s "checking host system type... " >&6; } 273287402a6fSmrgif test ${ac_cv_host+y} 273387402a6fSmrgthen : 273487402a6fSmrg printf %s "(cached) " >&6 273587402a6fSmrgelse $as_nop 27362ceb2653Smrg if test "x$host_alias" = x; then 27372ceb2653Smrg ac_cv_host=$ac_cv_build 27382ceb2653Smrgelse 273987402a6fSmrg ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` || 274087402a6fSmrg as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5 27412ceb2653Smrgfi 27422ceb2653Smrg 27432ceb2653Smrgfi 274487402a6fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 274587402a6fSmrgprintf "%s\n" "$ac_cv_host" >&6; } 27462ceb2653Smrgcase $ac_cv_host in 27472ceb2653Smrg*-*-*) ;; 27485cf18391Smrg*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 27492ceb2653Smrgesac 27502ceb2653Smrghost=$ac_cv_host 27512ceb2653Smrgac_save_IFS=$IFS; IFS='-' 27522ceb2653Smrgset x $ac_cv_host 27532ceb2653Smrgshift 27542ceb2653Smrghost_cpu=$1 27552ceb2653Smrghost_vendor=$2 27562ceb2653Smrgshift; shift 27572ceb2653Smrg# Remember, the first character of IFS is used to create $*, 27582ceb2653Smrg# except with old shells: 27592ceb2653Smrghost_os=$* 27602ceb2653SmrgIFS=$ac_save_IFS 27612ceb2653Smrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 27622ceb2653Smrg 27632ceb2653Smrg 276487402a6fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 276587402a6fSmrgprintf %s "checking for a sed that does not truncate output... " >&6; } 276687402a6fSmrgif test ${ac_cv_path_SED+y} 276787402a6fSmrgthen : 276887402a6fSmrg printf %s "(cached) " >&6 276987402a6fSmrgelse $as_nop 27705cf18391Smrg ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 27715cf18391Smrg for ac_i in 1 2 3 4 5 6 7; do 27725cf18391Smrg ac_script="$ac_script$as_nl$ac_script" 27735cf18391Smrg done 27745cf18391Smrg echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 27755cf18391Smrg { ac_script=; unset ac_script;} 27765cf18391Smrg if test -z "$SED"; then 27775cf18391Smrg ac_path_SED_found=false 27785cf18391Smrg # Loop through the user's path and test for each of PROGNAME-LIST 27795cf18391Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 27805cf18391Smrgfor as_dir in $PATH 27815cf18391Smrgdo 27825cf18391Smrg IFS=$as_save_IFS 278387402a6fSmrg case $as_dir in #((( 278487402a6fSmrg '') as_dir=./ ;; 278587402a6fSmrg */) ;; 278687402a6fSmrg *) as_dir=$as_dir/ ;; 278787402a6fSmrg esac 278887402a6fSmrg for ac_prog in sed gsed 278987402a6fSmrg do 27905cf18391Smrg for ac_exec_ext in '' $ac_executable_extensions; do 279187402a6fSmrg ac_path_SED="$as_dir$ac_prog$ac_exec_ext" 279287402a6fSmrg as_fn_executable_p "$ac_path_SED" || continue 27935cf18391Smrg# Check for GNU ac_path_SED and select it if it is found. 27945cf18391Smrg # Check for GNU $ac_path_SED 27955cf18391Smrgcase `"$ac_path_SED" --version 2>&1` in 27965cf18391Smrg*GNU*) 27975cf18391Smrg ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 27985cf18391Smrg*) 27995cf18391Smrg ac_count=0 280087402a6fSmrg printf %s 0123456789 >"conftest.in" 28015cf18391Smrg while : 28025cf18391Smrg do 28035cf18391Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 28045cf18391Smrg mv "conftest.tmp" "conftest.in" 28055cf18391Smrg cp "conftest.in" "conftest.nl" 280687402a6fSmrg printf "%s\n" '' >> "conftest.nl" 28075cf18391Smrg "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 28085cf18391Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 28095cf18391Smrg as_fn_arith $ac_count + 1 && ac_count=$as_val 28105cf18391Smrg if test $ac_count -gt ${ac_path_SED_max-0}; then 28115cf18391Smrg # Best one so far, save it but keep looking for a better one 28125cf18391Smrg ac_cv_path_SED="$ac_path_SED" 28135cf18391Smrg ac_path_SED_max=$ac_count 28145cf18391Smrg fi 28155cf18391Smrg # 10*(2^10) chars as input seems more than enough 28165cf18391Smrg test $ac_count -gt 10 && break 28175cf18391Smrg done 28185cf18391Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 28195cf18391Smrgesac 28205cf18391Smrg 28215cf18391Smrg $ac_path_SED_found && break 3 28225cf18391Smrg done 28235cf18391Smrg done 28245cf18391Smrg done 28255cf18391SmrgIFS=$as_save_IFS 28265cf18391Smrg if test -z "$ac_cv_path_SED"; then 28275cf18391Smrg as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 28285cf18391Smrg fi 28295cf18391Smrgelse 28305cf18391Smrg ac_cv_path_SED=$SED 28315cf18391Smrgfi 28325cf18391Smrg 28335cf18391Smrgfi 283487402a6fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 283587402a6fSmrgprintf "%s\n" "$ac_cv_path_SED" >&6; } 28365cf18391Smrg SED="$ac_cv_path_SED" 28375cf18391Smrg rm -f conftest.sed 28385cf18391Smrg 28395cf18391Smrg 28402ceb2653Smrg 28412ceb2653Smrg 28422ceb2653Smrg 28432ceb2653Smrgcat >>confdefs.h <<_ACEOF 28442ceb2653Smrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 28452ceb2653Smrg_ACEOF 28462ceb2653Smrg 28472ceb2653Smrg PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 28482ceb2653Smrg if test "x$PVM" = "x"; then 28492ceb2653Smrg PVM="0" 28502ceb2653Smrg fi 28512ceb2653Smrg 285287402a6fSmrgprintf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h 28532ceb2653Smrg 28542ceb2653Smrg PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 28552ceb2653Smrg if test "x$PVP" = "x"; then 28562ceb2653Smrg PVP="0" 28572ceb2653Smrg fi 28582ceb2653Smrg 285987402a6fSmrgprintf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h 28602ceb2653Smrg 28612ceb2653Smrg 28622ceb2653Smrg 286387402a6fSmrgCHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \ 28645cf18391Smrgmv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \ 286587402a6fSmrg|| (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \ 286687402a6fSmrgtouch \$(top_srcdir)/ChangeLog; \ 286787402a6fSmrgecho 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))" 28682ceb2653Smrg 28695cf18391Smrg 28705cf18391Smrg 28715cf18391Smrg 28725cf18391Smrgmacros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros` 28735cf18391SmrgINSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \ 28745cf18391Smrgmv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \ 287587402a6fSmrg|| (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \ 287687402a6fSmrgtouch \$(top_srcdir)/INSTALL; \ 287787402a6fSmrgecho 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))" 28785cf18391Smrg 28792ceb2653Smrg 28802ceb2653Smrg 28812ceb2653Smrg 28822ceb2653Smrg 28832ceb2653Smrg 288487402a6fSmrgcase $host_os in 288587402a6fSmrg solaris*) 288687402a6fSmrg # Solaris 2.0 - 11.3 use SysV man page section numbers, so we 288787402a6fSmrg # check for a man page file found in later versions that use 288887402a6fSmrg # traditional section numbers instead 288987402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5 289087402a6fSmrgprintf %s "checking for /usr/share/man/man7/attributes.7... " >&6; } 289187402a6fSmrgif test ${ac_cv_file__usr_share_man_man7_attributes_7+y} 289287402a6fSmrgthen : 289387402a6fSmrg printf %s "(cached) " >&6 289487402a6fSmrgelse $as_nop 289587402a6fSmrg test "$cross_compiling" = yes && 289687402a6fSmrg as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 289787402a6fSmrgif test -r "/usr/share/man/man7/attributes.7"; then 289887402a6fSmrg ac_cv_file__usr_share_man_man7_attributes_7=yes 289987402a6fSmrgelse 290087402a6fSmrg ac_cv_file__usr_share_man_man7_attributes_7=no 290187402a6fSmrgfi 290287402a6fSmrgfi 290387402a6fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5 290487402a6fSmrgprintf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; } 290587402a6fSmrgif test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes 290687402a6fSmrgthen : 290787402a6fSmrg SYSV_MAN_SECTIONS=false 290887402a6fSmrgelse $as_nop 290987402a6fSmrg SYSV_MAN_SECTIONS=true 291087402a6fSmrgfi 291187402a6fSmrg 291287402a6fSmrg ;; 291387402a6fSmrg *) SYSV_MAN_SECTIONS=false ;; 291487402a6fSmrgesac 291587402a6fSmrg 29162ceb2653Smrgif test x$APP_MAN_SUFFIX = x ; then 29172ceb2653Smrg APP_MAN_SUFFIX=1 29182ceb2653Smrgfi 29192ceb2653Smrgif test x$APP_MAN_DIR = x ; then 29202ceb2653Smrg APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 2921b7d53ee5Smrgfi 2922b7d53ee5Smrg 29232ceb2653Smrgif test x$LIB_MAN_SUFFIX = x ; then 29242ceb2653Smrg LIB_MAN_SUFFIX=3 29252ceb2653Smrgfi 29262ceb2653Smrgif test x$LIB_MAN_DIR = x ; then 29272ceb2653Smrg LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 29282ceb2653Smrgfi 29292ceb2653Smrg 29302ceb2653Smrgif test x$FILE_MAN_SUFFIX = x ; then 293187402a6fSmrg case $SYSV_MAN_SECTIONS in 293287402a6fSmrg true) FILE_MAN_SUFFIX=4 ;; 293387402a6fSmrg *) FILE_MAN_SUFFIX=5 ;; 29342ceb2653Smrg esac 29352ceb2653Smrgfi 29362ceb2653Smrgif test x$FILE_MAN_DIR = x ; then 29372ceb2653Smrg FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 29382ceb2653Smrgfi 29392ceb2653Smrg 29402ceb2653Smrgif test x$MISC_MAN_SUFFIX = x ; then 294187402a6fSmrg case $SYSV_MAN_SECTIONS in 294287402a6fSmrg true) MISC_MAN_SUFFIX=5 ;; 294387402a6fSmrg *) MISC_MAN_SUFFIX=7 ;; 29442ceb2653Smrg esac 29452ceb2653Smrgfi 29462ceb2653Smrgif test x$MISC_MAN_DIR = x ; then 29472ceb2653Smrg MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 29482ceb2653Smrgfi 29492ceb2653Smrg 29502ceb2653Smrgif test x$DRIVER_MAN_SUFFIX = x ; then 295187402a6fSmrg case $SYSV_MAN_SECTIONS in 295287402a6fSmrg true) DRIVER_MAN_SUFFIX=7 ;; 295387402a6fSmrg *) DRIVER_MAN_SUFFIX=4 ;; 29542ceb2653Smrg esac 29552ceb2653Smrgfi 29562ceb2653Smrgif test x$DRIVER_MAN_DIR = x ; then 29572ceb2653Smrg DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 29582ceb2653Smrgfi 29592ceb2653Smrg 29602ceb2653Smrgif test x$ADMIN_MAN_SUFFIX = x ; then 296187402a6fSmrg case $SYSV_MAN_SECTIONS in 296287402a6fSmrg true) ADMIN_MAN_SUFFIX=1m ;; 296387402a6fSmrg *) ADMIN_MAN_SUFFIX=8 ;; 29642ceb2653Smrg esac 29652ceb2653Smrgfi 29662ceb2653Smrgif test x$ADMIN_MAN_DIR = x ; then 29672ceb2653Smrg ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 29682ceb2653Smrgfi 29692ceb2653Smrg 29702ceb2653Smrg 29712ceb2653Smrg 29722ceb2653Smrg 29732ceb2653Smrg 29742ceb2653Smrg 29752ceb2653Smrg 29762ceb2653Smrg 29772ceb2653Smrg 29782ceb2653Smrg 29792ceb2653Smrg 29802ceb2653Smrg 29812ceb2653Smrg 29822ceb2653Smrg 2983b7d53ee5Smrg 29845cf18391SmrgXORG_MAN_PAGE="X Version 11" 2985b7d53ee5Smrg 29865cf18391SmrgMAN_SUBSTS="\ 29875cf18391Smrg -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 29885cf18391Smrg -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 29895cf18391Smrg -e 's|__xservername__|Xorg|g' \ 29905cf18391Smrg -e 's|__xconfigfile__|xorg.conf|g' \ 29915cf18391Smrg -e 's|__projectroot__|\$(prefix)|g' \ 29925cf18391Smrg -e 's|__apploaddir__|\$(appdefaultdir)|g' \ 29935cf18391Smrg -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \ 29945cf18391Smrg -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \ 29955cf18391Smrg -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \ 29965cf18391Smrg -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \ 29975cf18391Smrg -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \ 29985cf18391Smrg -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'" 2999b7d53ee5Smrg 3000b7d53ee5Smrg 3001b7d53ee5Smrg 30025cf18391Smrg# Check whether --enable-silent-rules was given. 300387402a6fSmrgif test ${enable_silent_rules+y} 300487402a6fSmrgthen : 30055cf18391Smrg enableval=$enable_silent_rules; 3006b7d53ee5Smrgfi 30072ceb2653Smrg 300887402a6fSmrgcase $enable_silent_rules in # ((( 300987402a6fSmrg yes) AM_DEFAULT_VERBOSITY=0;; 301087402a6fSmrg no) AM_DEFAULT_VERBOSITY=1;; 301187402a6fSmrg *) AM_DEFAULT_VERBOSITY=0;; 30125cf18391Smrgesac 301387402a6fSmrgam_make=${MAKE-make} 301487402a6fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 301587402a6fSmrgprintf %s "checking whether $am_make supports nested variables... " >&6; } 301687402a6fSmrgif test ${am_cv_make_support_nested_variables+y} 301787402a6fSmrgthen : 301887402a6fSmrg printf %s "(cached) " >&6 301987402a6fSmrgelse $as_nop 302087402a6fSmrg if printf "%s\n" 'TRUE=$(BAR$(V)) 302187402a6fSmrgBAR0=false 302287402a6fSmrgBAR1=true 302387402a6fSmrgV=1 302487402a6fSmrgam__doit: 302587402a6fSmrg @$(TRUE) 302687402a6fSmrg.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 302787402a6fSmrg am_cv_make_support_nested_variables=yes 302887402a6fSmrgelse 302987402a6fSmrg am_cv_make_support_nested_variables=no 303087402a6fSmrgfi 303187402a6fSmrgfi 303287402a6fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 303387402a6fSmrgprintf "%s\n" "$am_cv_make_support_nested_variables" >&6; } 303487402a6fSmrgif test $am_cv_make_support_nested_variables = yes; then 303587402a6fSmrg AM_V='$(V)' 303687402a6fSmrg AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 303787402a6fSmrgelse 303887402a6fSmrg AM_V=$AM_DEFAULT_VERBOSITY 303987402a6fSmrg AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 304087402a6fSmrgfi 30415cf18391SmrgAM_BACKSLASH='\' 30425cf18391Smrg 30435cf18391Smrg 30445cf18391Smrg 304587402a6fSmrg# Require X.Org's font util macros 1.4 or later for COMPRESS_FLAGS 30462ceb2653Smrg 30472ceb2653Smrg 30482ceb2653Smrg 3049b7d53ee5Smrg 3050b7d53ee5Smrg 30512ceb2653Smrg 3052b7d53ee5Smrg 30532ceb2653Smrg 30542ceb2653Smrg 30552ceb2653Smrg 30562ceb2653Smrg 30572ceb2653Smrg 30582ceb2653Smrg 30595cf18391Smrg 30605cf18391Smrg 306187402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for root directory for font files" >&5 306287402a6fSmrgprintf %s "checking for root directory for font files... " >&6; } 30632ceb2653Smrg 30642ceb2653Smrg# Check whether --with-fontrootdir was given. 306587402a6fSmrgif test ${with_fontrootdir+y} 306687402a6fSmrgthen : 30672ceb2653Smrg withval=$with_fontrootdir; FONTROOTDIR="$withval" 30682ceb2653Smrgfi 30692ceb2653Smrg 30702ceb2653Smrg # if --with-fontrootdir not specified... 30712ceb2653Smrg if test "x${FONTROOTDIR}" = "x"; then 30722ceb2653Smrg FONTROOTDIR=`$PKG_CONFIG --variable=fontrootdir fontutil` 30732ceb2653Smrg fi 30742ceb2653Smrg # ...and if pkg-config didn't find fontdir in fontutil.pc... 30752ceb2653Smrg if test "x${FONTROOTDIR}" = "x"; then 30762ceb2653Smrg FONTROOTDIR="${datadir}/fonts/X11" 30772ceb2653Smrg fi 30782ceb2653Smrg 307987402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${FONTROOTDIR}" >&5 308087402a6fSmrgprintf "%s\n" "${FONTROOTDIR}" >&6; } 30812ceb2653Smrg 30822ceb2653Smrg 30832ceb2653Smrg 30842ceb2653Smrg 308587402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for directory for misc files" >&5 308687402a6fSmrgprintf %s "checking for directory for misc files... " >&6; } 30872ceb2653Smrg 30882ceb2653Smrg# Check whether --with-fontdir was given. 308987402a6fSmrgif test ${with_fontdir+y} 309087402a6fSmrgthen : 30912ceb2653Smrg withval=$with_fontdir; FONTDIR="${withval}" 309287402a6fSmrgelse $as_nop 30932ceb2653Smrg FONTDIR='${FONTROOTDIR}/misc' 30942ceb2653Smrgfi 30952ceb2653Smrg 30962ceb2653Smrg 309787402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${FONTDIR}" >&5 309887402a6fSmrgprintf "%s\n" "${FONTDIR}" >&6; } 30992ceb2653Smrg 3100b7d53ee5Smrg 31012ceb2653Smrg 31022ceb2653Smrg 31032ceb2653Smrg # Extract the first word of "fc-cache", so it can be a program name with args. 31042ceb2653Smrgset dummy fc-cache; ac_word=$2 310587402a6fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 310687402a6fSmrgprintf %s "checking for $ac_word... " >&6; } 310787402a6fSmrgif test ${ac_cv_path_FCCACHE+y} 310887402a6fSmrgthen : 310987402a6fSmrg printf %s "(cached) " >&6 311087402a6fSmrgelse $as_nop 31112ceb2653Smrg case $FCCACHE in 31122ceb2653Smrg [\\/]* | ?:[\\/]*) 31132ceb2653Smrg ac_cv_path_FCCACHE="$FCCACHE" # Let the user override the test with a path. 31142ceb2653Smrg ;; 31152ceb2653Smrg *) 31162ceb2653Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 31172ceb2653Smrgfor as_dir in $PATH 31182ceb2653Smrgdo 31192ceb2653Smrg IFS=$as_save_IFS 312087402a6fSmrg case $as_dir in #((( 312187402a6fSmrg '') as_dir=./ ;; 312287402a6fSmrg */) ;; 312387402a6fSmrg *) as_dir=$as_dir/ ;; 312487402a6fSmrg esac 31255cf18391Smrg for ac_exec_ext in '' $ac_executable_extensions; do 312687402a6fSmrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 312787402a6fSmrg ac_cv_path_FCCACHE="$as_dir$ac_word$ac_exec_ext" 312887402a6fSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 31292ceb2653Smrg break 2 31302ceb2653Smrg fi 31312ceb2653Smrgdone 31325cf18391Smrg done 31332ceb2653SmrgIFS=$as_save_IFS 31342ceb2653Smrg 31352ceb2653Smrg ;; 31362ceb2653Smrgesac 31372ceb2653Smrgfi 31382ceb2653SmrgFCCACHE=$ac_cv_path_FCCACHE 31392ceb2653Smrgif test -n "$FCCACHE"; then 314087402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FCCACHE" >&5 314187402a6fSmrgprintf "%s\n" "$FCCACHE" >&6; } 3142b7d53ee5Smrgelse 314387402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 314487402a6fSmrgprintf "%s\n" "no" >&6; } 3145b7d53ee5Smrgfi 3146b7d53ee5Smrg 31472ceb2653Smrg 31482ceb2653Smrg FCCACHE_WARN='echo "** Warning: fonts.cache not built" ; echo "** Generate this file manually on host system using fc-cache"' 314987402a6fSmrg if test x"$FCCACHE" = x || test x"$cross_compiling" != x"no" ; then 31502ceb2653Smrg RUN_FCCACHE="${FCCACHE_WARN}" 31512ceb2653Smrg else 31522ceb2653Smrg RUN_FCCACHE='@(if test -z "$(DESTDIR)"; then echo $(FCCACHE) $(fontdir); $(FCCACHE) $(fontdir); else' 31532ceb2653Smrg RUN_FCCACHE="${RUN_FCCACHE} ${FCCACHE_WARN} ; fi)" 31542ceb2653Smrg fi 31552ceb2653Smrg 31562ceb2653Smrg 31572ceb2653Smrg 315887402a6fSmrg if test x"$cross_compiling" != x"no" ; then 315987402a6fSmrg # Extract the first word of "mkfontdir", so it can be a program name with args. 3160b7d53ee5Smrgset dummy mkfontdir; ac_word=$2 316187402a6fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 316287402a6fSmrgprintf %s "checking for $ac_word... " >&6; } 316387402a6fSmrgif test ${ac_cv_path_MKFONTDIR+y} 316487402a6fSmrgthen : 316587402a6fSmrg printf %s "(cached) " >&6 316687402a6fSmrgelse $as_nop 316787402a6fSmrg case $MKFONTDIR in 316887402a6fSmrg [\\/]* | ?:[\\/]*) 316987402a6fSmrg ac_cv_path_MKFONTDIR="$MKFONTDIR" # Let the user override the test with a path. 317087402a6fSmrg ;; 317187402a6fSmrg *) 317287402a6fSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 317387402a6fSmrgfor as_dir in $PATH 317487402a6fSmrgdo 317587402a6fSmrg IFS=$as_save_IFS 317687402a6fSmrg case $as_dir in #((( 317787402a6fSmrg '') as_dir=./ ;; 317887402a6fSmrg */) ;; 317987402a6fSmrg *) as_dir=$as_dir/ ;; 318087402a6fSmrg esac 318187402a6fSmrg for ac_exec_ext in '' $ac_executable_extensions; do 318287402a6fSmrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 318387402a6fSmrg ac_cv_path_MKFONTDIR="$as_dir$ac_word$ac_exec_ext" 318487402a6fSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 318587402a6fSmrg break 2 318687402a6fSmrg fi 318787402a6fSmrgdone 318887402a6fSmrg done 318987402a6fSmrgIFS=$as_save_IFS 319087402a6fSmrg 319187402a6fSmrg test -z "$ac_cv_path_MKFONTDIR" && ac_cv_path_MKFONTDIR="""" 319287402a6fSmrg ;; 319387402a6fSmrgesac 319487402a6fSmrgfi 319587402a6fSmrgMKFONTDIR=$ac_cv_path_MKFONTDIR 319687402a6fSmrgif test -n "$MKFONTDIR"; then 319787402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKFONTDIR" >&5 319887402a6fSmrgprintf "%s\n" "$MKFONTDIR" >&6; } 3199b7d53ee5Smrgelse 320087402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 320187402a6fSmrgprintf "%s\n" "no" >&6; } 320287402a6fSmrgfi 320387402a6fSmrg 320487402a6fSmrg 320587402a6fSmrg MKFONTDIR_WARN='echo "** Warning: mkfontdir not run" ; echo "** Run mkfontdir manually on host system"' 320687402a6fSmrg 320787402a6fSmrg if test x"$MKFONTDIR" = x; then 320887402a6fSmrg MKFONTDIR="${MKFONTDIR_WARN} ; echo '** mkfontdir'" 320987402a6fSmrg fi 321087402a6fSmrg else 321187402a6fSmrg 321287402a6fSmrg # Extract the first word of "mkfontdir", so it can be a program name with args. 321387402a6fSmrgset dummy mkfontdir; ac_word=$2 321487402a6fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 321587402a6fSmrgprintf %s "checking for $ac_word... " >&6; } 321687402a6fSmrgif test ${ac_cv_path_MKFONTDIR+y} 321787402a6fSmrgthen : 321887402a6fSmrg printf %s "(cached) " >&6 321987402a6fSmrgelse $as_nop 3220b7d53ee5Smrg case $MKFONTDIR in 3221b7d53ee5Smrg [\\/]* | ?:[\\/]*) 3222b7d53ee5Smrg ac_cv_path_MKFONTDIR="$MKFONTDIR" # Let the user override the test with a path. 3223b7d53ee5Smrg ;; 3224b7d53ee5Smrg *) 3225b7d53ee5Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3226b7d53ee5Smrgfor as_dir in $PATH 3227b7d53ee5Smrgdo 3228b7d53ee5Smrg IFS=$as_save_IFS 322987402a6fSmrg case $as_dir in #((( 323087402a6fSmrg '') as_dir=./ ;; 323187402a6fSmrg */) ;; 323287402a6fSmrg *) as_dir=$as_dir/ ;; 323387402a6fSmrg esac 32345cf18391Smrg for ac_exec_ext in '' $ac_executable_extensions; do 323587402a6fSmrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 323687402a6fSmrg ac_cv_path_MKFONTDIR="$as_dir$ac_word$ac_exec_ext" 323787402a6fSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3238b7d53ee5Smrg break 2 3239b7d53ee5Smrg fi 3240b7d53ee5Smrgdone 32415cf18391Smrg done 32422ceb2653SmrgIFS=$as_save_IFS 3243b7d53ee5Smrg 3244b7d53ee5Smrg ;; 3245b7d53ee5Smrgesac 3246b7d53ee5Smrgfi 3247b7d53ee5SmrgMKFONTDIR=$ac_cv_path_MKFONTDIR 3248b7d53ee5Smrgif test -n "$MKFONTDIR"; then 324987402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKFONTDIR" >&5 325087402a6fSmrgprintf "%s\n" "$MKFONTDIR" >&6; } 3251b7d53ee5Smrgelse 325287402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 325387402a6fSmrgprintf "%s\n" "no" >&6; } 3254b7d53ee5Smrgfi 3255b7d53ee5Smrg 3256b7d53ee5Smrg 32575cf18391Smrg if test x"$MKFONTDIR" = x; then 32585cf18391Smrg as_fn_error $? "mkfontdir is required to build $PACKAGE_NAME." "$LINENO" 5 32592ceb2653Smrg fi 3260b7d53ee5Smrg 326187402a6fSmrg fi 326287402a6fSmrg 326387402a6fSmrg 326487402a6fSmrg 3265b7d53ee5Smrg 3266b7d53ee5Smrg 32672ceb2653Smrg # Extract the first word of "bdftopcf", so it can be a program name with args. 32682ceb2653Smrgset dummy bdftopcf; ac_word=$2 326987402a6fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 327087402a6fSmrgprintf %s "checking for $ac_word... " >&6; } 327187402a6fSmrgif test ${ac_cv_path_BDFTOPCF+y} 327287402a6fSmrgthen : 327387402a6fSmrg printf %s "(cached) " >&6 327487402a6fSmrgelse $as_nop 32752ceb2653Smrg case $BDFTOPCF in 32762ceb2653Smrg [\\/]* | ?:[\\/]*) 32772ceb2653Smrg ac_cv_path_BDFTOPCF="$BDFTOPCF" # Let the user override the test with a path. 32782ceb2653Smrg ;; 32792ceb2653Smrg *) 32802ceb2653Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 32812ceb2653Smrgfor as_dir in $PATH 32822ceb2653Smrgdo 32832ceb2653Smrg IFS=$as_save_IFS 328487402a6fSmrg case $as_dir in #((( 328587402a6fSmrg '') as_dir=./ ;; 328687402a6fSmrg */) ;; 328787402a6fSmrg *) as_dir=$as_dir/ ;; 328887402a6fSmrg esac 32895cf18391Smrg for ac_exec_ext in '' $ac_executable_extensions; do 329087402a6fSmrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 329187402a6fSmrg ac_cv_path_BDFTOPCF="$as_dir$ac_word$ac_exec_ext" 329287402a6fSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 32932ceb2653Smrg break 2 32942ceb2653Smrg fi 32952ceb2653Smrgdone 32965cf18391Smrg done 32972ceb2653SmrgIFS=$as_save_IFS 32982ceb2653Smrg 32992ceb2653Smrg ;; 33002ceb2653Smrgesac 33012ceb2653Smrgfi 33022ceb2653SmrgBDFTOPCF=$ac_cv_path_BDFTOPCF 33032ceb2653Smrgif test -n "$BDFTOPCF"; then 330487402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BDFTOPCF" >&5 330587402a6fSmrgprintf "%s\n" "$BDFTOPCF" >&6; } 3306b7d53ee5Smrgelse 330787402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 330887402a6fSmrgprintf "%s\n" "no" >&6; } 33092ceb2653Smrgfi 33102ceb2653Smrg 3311b7d53ee5Smrg 33125cf18391Smrg if test x"$BDFTOPCF" = x; then 33135cf18391Smrg as_fn_error $? "bdftopcf is required to build $PACKAGE_NAME." "$LINENO" 5 33142ceb2653Smrg fi 3315b7d53ee5Smrg 3316b7d53ee5Smrg 331787402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking font compression method" >&5 331887402a6fSmrgprintf %s "checking font compression method... " >&6; } 3319b7d53ee5Smrg 33202ceb2653Smrg# Check whether --with-compression was given. 332187402a6fSmrgif test ${with_compression+y} 332287402a6fSmrgthen : 33232ceb2653Smrg withval=$with_compression; compression="$withval" 332487402a6fSmrgelse $as_nop 33252ceb2653Smrg compression="yes" 33262ceb2653Smrgfi 33272ceb2653Smrg 33282ceb2653Smrg if test x"$compression" = "xyes" ; then 33292ceb2653Smrg compression="gzip" 33302ceb2653Smrg fi 333187402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${compression}" >&5 333287402a6fSmrgprintf "%s\n" "${compression}" >&6; } 33332ceb2653Smrg case ${compression} in 33342ceb2653Smrg *compress) COMPRESS_SUFFIX=".Z" ;; 333587402a6fSmrg *gzip) COMPRESS_SUFFIX=".gz" ; 333687402a6fSmrg COMPRESS_FLAGS="${COMPRESS_FLAGS--n}" ;; 33372ceb2653Smrg *bzip2) COMPRESS_SUFFIX=".bz2" ;; 33382ceb2653Smrg no|none) COMPRESS_SUFFIX="" ; COMPRESS="cat" ;; 33395cf18391Smrg *) as_fn_error $? "${compression} is not a supported compression method" "$LINENO" 5 ;; 33402ceb2653Smrg esac 33412ceb2653Smrg if test x"$COMPRESS_SUFFIX" != "x" ; then 33422ceb2653Smrg 33432ceb2653Smrg # Extract the first word of "${compression}", so it can be a program name with args. 33442ceb2653Smrgset dummy ${compression}; ac_word=$2 334587402a6fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 334687402a6fSmrgprintf %s "checking for $ac_word... " >&6; } 334787402a6fSmrgif test ${ac_cv_path_COMPRESS+y} 334887402a6fSmrgthen : 334987402a6fSmrg printf %s "(cached) " >&6 335087402a6fSmrgelse $as_nop 33512ceb2653Smrg case $COMPRESS in 33522ceb2653Smrg [\\/]* | ?:[\\/]*) 33532ceb2653Smrg ac_cv_path_COMPRESS="$COMPRESS" # Let the user override the test with a path. 33542ceb2653Smrg ;; 33552ceb2653Smrg *) 33562ceb2653Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 33572ceb2653Smrgfor as_dir in $PATH 33582ceb2653Smrgdo 33592ceb2653Smrg IFS=$as_save_IFS 336087402a6fSmrg case $as_dir in #((( 336187402a6fSmrg '') as_dir=./ ;; 336287402a6fSmrg */) ;; 336387402a6fSmrg *) as_dir=$as_dir/ ;; 336487402a6fSmrg esac 33655cf18391Smrg for ac_exec_ext in '' $ac_executable_extensions; do 336687402a6fSmrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 336787402a6fSmrg ac_cv_path_COMPRESS="$as_dir$ac_word$ac_exec_ext" 336887402a6fSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 33692ceb2653Smrg break 2 33702ceb2653Smrg fi 33712ceb2653Smrgdone 33725cf18391Smrg done 33732ceb2653SmrgIFS=$as_save_IFS 33742ceb2653Smrg 33752ceb2653Smrg ;; 33762ceb2653Smrgesac 33772ceb2653Smrgfi 33782ceb2653SmrgCOMPRESS=$ac_cv_path_COMPRESS 33792ceb2653Smrgif test -n "$COMPRESS"; then 338087402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $COMPRESS" >&5 338187402a6fSmrgprintf "%s\n" "$COMPRESS" >&6; } 33822ceb2653Smrgelse 338387402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 338487402a6fSmrgprintf "%s\n" "no" >&6; } 33852ceb2653Smrgfi 33862ceb2653Smrg 33872ceb2653Smrg 33885cf18391Smrg if test x"$COMPRESS" = x; then 33895cf18391Smrg as_fn_error $? "${compression} is required to build $PACKAGE_NAME." "$LINENO" 5 33902ceb2653Smrg fi 33912ceb2653Smrg 3392b7d53ee5Smrg fi 339387402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking options to font compression command" >&5 339487402a6fSmrgprintf %s "checking options to font compression command... " >&6; } 339587402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${COMPRESS_FLAGS:-none}" >&5 339687402a6fSmrgprintf "%s\n" "${COMPRESS_FLAGS:-none}" >&6; } 339787402a6fSmrg 3398b7d53ee5Smrg 3399b7d53ee5Smrg 34002ceb2653Smrg 34012ceb2653Smrg 34022ceb2653Smrgac_config_files="$ac_config_files Makefile" 34032ceb2653Smrg 3404b7d53ee5Smrgcat >confcache <<\_ACEOF 3405b7d53ee5Smrg# This file is a shell script that caches the results of configure 3406b7d53ee5Smrg# tests run on this system so they can be shared between configure 3407b7d53ee5Smrg# scripts and configure runs, see configure's option --config-cache. 3408b7d53ee5Smrg# It is not useful on other systems. If it contains results you don't 3409b7d53ee5Smrg# want to keep, you may remove or edit it. 3410b7d53ee5Smrg# 3411b7d53ee5Smrg# config.status only pays attention to the cache file if you give it 3412b7d53ee5Smrg# the --recheck option to rerun configure. 3413b7d53ee5Smrg# 3414b7d53ee5Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when 3415b7d53ee5Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the 3416b7d53ee5Smrg# following values. 3417b7d53ee5Smrg 3418b7d53ee5Smrg_ACEOF 3419b7d53ee5Smrg 3420b7d53ee5Smrg# The following way of writing the cache mishandles newlines in values, 3421b7d53ee5Smrg# but we know of no workaround that is simple, portable, and efficient. 34222ceb2653Smrg# So, we kill variables containing newlines. 3423b7d53ee5Smrg# Ultrix sh set writes to stderr and can't be redirected directly, 3424b7d53ee5Smrg# and sets the high bit in the cache file unless we assign to the vars. 34252ceb2653Smrg( 34262ceb2653Smrg for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 34272ceb2653Smrg eval ac_val=\$$ac_var 34282ceb2653Smrg case $ac_val in #( 34292ceb2653Smrg *${as_nl}*) 34302ceb2653Smrg case $ac_var in #( 343187402a6fSmrg *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 343287402a6fSmrgprintf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 34332ceb2653Smrg esac 34342ceb2653Smrg case $ac_var in #( 34352ceb2653Smrg _ | IFS | as_nl) ;; #( 34362ceb2653Smrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 34375cf18391Smrg *) { eval $ac_var=; unset $ac_var;} ;; 34382ceb2653Smrg esac ;; 34392ceb2653Smrg esac 34402ceb2653Smrg done 34412ceb2653Smrg 3442b7d53ee5Smrg (set) 2>&1 | 34432ceb2653Smrg case $as_nl`(ac_space=' '; set) 2>&1` in #( 34442ceb2653Smrg *${as_nl}ac_space=\ *) 34455cf18391Smrg # `set' does not quote correctly, so add quotes: double-quote 34465cf18391Smrg # substitution turns \\\\ into \\, and sed turns \\ into \. 3447b7d53ee5Smrg sed -n \ 3448b7d53ee5Smrg "s/'/'\\\\''/g; 3449b7d53ee5Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 34502ceb2653Smrg ;; #( 3451b7d53ee5Smrg *) 3452b7d53ee5Smrg # `set' quotes correctly as required by POSIX, so do not add quotes. 34532ceb2653Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 3454b7d53ee5Smrg ;; 34552ceb2653Smrg esac | 34562ceb2653Smrg sort 34572ceb2653Smrg) | 3458b7d53ee5Smrg sed ' 34592ceb2653Smrg /^ac_cv_env_/b end 3460b7d53ee5Smrg t clear 34612ceb2653Smrg :clear 346287402a6fSmrg s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ 3463b7d53ee5Smrg t end 34642ceb2653Smrg s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 34652ceb2653Smrg :end' >>confcache 34662ceb2653Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 34672ceb2653Smrg if test -w "$cache_file"; then 34685cf18391Smrg if test "x$cache_file" != "x/dev/null"; then 346987402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 347087402a6fSmrgprintf "%s\n" "$as_me: updating cache $cache_file" >&6;} 34715cf18391Smrg if test ! -f "$cache_file" || test -h "$cache_file"; then 34725cf18391Smrg cat confcache >"$cache_file" 34735cf18391Smrg else 34745cf18391Smrg case $cache_file in #( 34755cf18391Smrg */* | ?:*) 34765cf18391Smrg mv -f confcache "$cache_file"$$ && 34775cf18391Smrg mv -f "$cache_file"$$ "$cache_file" ;; #( 34785cf18391Smrg *) 34795cf18391Smrg mv -f confcache "$cache_file" ;; 34805cf18391Smrg esac 34815cf18391Smrg fi 34825cf18391Smrg fi 3483b7d53ee5Smrg else 348487402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 348587402a6fSmrgprintf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} 3486b7d53ee5Smrg fi 3487b7d53ee5Smrgfi 3488b7d53ee5Smrgrm -f confcache 3489b7d53ee5Smrg 3490b7d53ee5Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix 3491b7d53ee5Smrg# Let make expand exec_prefix. 3492b7d53ee5Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 3493b7d53ee5Smrg 3494b7d53ee5Smrg# Transform confdefs.h into DEFS. 3495b7d53ee5Smrg# Protect against shell expansion while executing Makefile rules. 3496b7d53ee5Smrg# Protect against Makefile macro expansion. 3497b7d53ee5Smrg# 3498b7d53ee5Smrg# If the first sed substitution is executed (which looks for macros that 34992ceb2653Smrg# take arguments), then branch to the quote section. Otherwise, 3500b7d53ee5Smrg# look for a macro that doesn't take arguments. 35012ceb2653Smrgac_script=' 35022ceb2653Smrg:mline 35032ceb2653Smrg/\\$/{ 35042ceb2653Smrg N 35052ceb2653Smrg s,\\\n,, 35062ceb2653Smrg b mline 35072ceb2653Smrg} 3508b7d53ee5Smrgt clear 35092ceb2653Smrg:clear 35102ceb2653Smrgs/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 3511b7d53ee5Smrgt quote 35122ceb2653Smrgs/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 3513b7d53ee5Smrgt quote 35142ceb2653Smrgb any 35152ceb2653Smrg:quote 35162ceb2653Smrgs/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 35172ceb2653Smrgs/\[/\\&/g 35182ceb2653Smrgs/\]/\\&/g 35192ceb2653Smrgs/\$/$$/g 35202ceb2653SmrgH 35212ceb2653Smrg:any 35222ceb2653Smrg${ 35232ceb2653Smrg g 35242ceb2653Smrg s/^\n// 35252ceb2653Smrg s/\n/ /g 35262ceb2653Smrg p 35272ceb2653Smrg} 35282ceb2653Smrg' 35292ceb2653SmrgDEFS=`sed -n "$ac_script" confdefs.h` 3530b7d53ee5Smrg 3531b7d53ee5Smrg 3532b7d53ee5Smrgac_libobjs= 3533b7d53ee5Smrgac_ltlibobjs= 35345cf18391SmrgU= 3535b7d53ee5Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 3536b7d53ee5Smrg # 1. Remove the extension, and $U if already installed. 35372ceb2653Smrg ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 353887402a6fSmrg ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"` 35392ceb2653Smrg # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 35402ceb2653Smrg # will be set to the directory where LIBOBJS objects are built. 35415cf18391Smrg as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 35425cf18391Smrg as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 3543b7d53ee5Smrgdone 3544b7d53ee5SmrgLIBOBJS=$ac_libobjs 3545b7d53ee5Smrg 3546b7d53ee5SmrgLTLIBOBJS=$ac_ltlibobjs 3547b7d53ee5Smrg 3548b7d53ee5Smrg 354987402a6fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 355087402a6fSmrgprintf %s "checking that generated files are newer than configure... " >&6; } 355187402a6fSmrg if test -n "$am_sleep_pid"; then 355287402a6fSmrg # Hide warnings about reused PIDs. 355387402a6fSmrg wait $am_sleep_pid 2>/dev/null 355487402a6fSmrg fi 355587402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5 355687402a6fSmrgprintf "%s\n" "done" >&6; } 35572ceb2653Smrg 3558b7d53ee5Smrg 35595cf18391Smrg: "${CONFIG_STATUS=./config.status}" 35602ceb2653Smrgac_write_fail=0 3561b7d53ee5Smrgac_clean_files_save=$ac_clean_files 3562b7d53ee5Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS" 356387402a6fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 356487402a6fSmrgprintf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} 35655cf18391Smrgas_write_fail=0 35665cf18391Smrgcat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 3567b7d53ee5Smrg#! $SHELL 3568b7d53ee5Smrg# Generated by $as_me. 3569b7d53ee5Smrg# Run this file to recreate the current configuration. 3570b7d53ee5Smrg# Compiler output produced by configure, useful for debugging 3571b7d53ee5Smrg# configure, is in config.log if it exists. 3572b7d53ee5Smrg 3573b7d53ee5Smrgdebug=false 3574b7d53ee5Smrgac_cs_recheck=false 3575b7d53ee5Smrgac_cs_silent=false 3576b7d53ee5Smrg 35775cf18391SmrgSHELL=\${CONFIG_SHELL-$SHELL} 35785cf18391Smrgexport SHELL 35795cf18391Smrg_ASEOF 35805cf18391Smrgcat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 35815cf18391Smrg## -------------------- ## 35825cf18391Smrg## M4sh Initialization. ## 35835cf18391Smrg## -------------------- ## 3584b7d53ee5Smrg 35852ceb2653Smrg# Be more Bourne compatible 35862ceb2653SmrgDUALCASE=1; export DUALCASE # for MKS sh 358787402a6fSmrgas_nop=: 358887402a6fSmrgif test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 358987402a6fSmrgthen : 3590b7d53ee5Smrg emulate sh 3591b7d53ee5Smrg NULLCMD=: 35922ceb2653Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 3593b7d53ee5Smrg # is contrary to our usage. Disable this feature. 3594b7d53ee5Smrg alias -g '${1+"$@"}'='"$@"' 35952ceb2653Smrg setopt NO_GLOB_SUBST 359687402a6fSmrgelse $as_nop 35975cf18391Smrg case `(set -o) 2>/dev/null` in #( 35985cf18391Smrg *posix*) : 35995cf18391Smrg set -o posix ;; #( 36005cf18391Smrg *) : 36015cf18391Smrg ;; 36022ceb2653Smrgesac 36032ceb2653Smrgfi 36042ceb2653Smrg 36052ceb2653Smrg 360687402a6fSmrg 360787402a6fSmrg# Reset variables that may have inherited troublesome values from 360887402a6fSmrg# the environment. 360987402a6fSmrg 361087402a6fSmrg# IFS needs to be set, to space, tab, and newline, in precisely that order. 361187402a6fSmrg# (If _AS_PATH_WALK were called with IFS unset, it would have the 361287402a6fSmrg# side effect of setting IFS to empty, thus disabling word splitting.) 361387402a6fSmrg# Quoting is to prevent editors from complaining about space-tab. 36142ceb2653Smrgas_nl=' 36152ceb2653Smrg' 36162ceb2653Smrgexport as_nl 361787402a6fSmrgIFS=" "" $as_nl" 361887402a6fSmrg 361987402a6fSmrgPS1='$ ' 362087402a6fSmrgPS2='> ' 362187402a6fSmrgPS4='+ ' 362287402a6fSmrg 362387402a6fSmrg# Ensure predictable behavior from utilities with locale-dependent output. 362487402a6fSmrgLC_ALL=C 362587402a6fSmrgexport LC_ALL 362687402a6fSmrgLANGUAGE=C 362787402a6fSmrgexport LANGUAGE 362887402a6fSmrg 362987402a6fSmrg# We cannot yet rely on "unset" to work, but we need these variables 363087402a6fSmrg# to be unset--not just set to an empty or harmless value--now, to 363187402a6fSmrg# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct 363287402a6fSmrg# also avoids known problems related to "unset" and subshell syntax 363387402a6fSmrg# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). 363487402a6fSmrgfor as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 363587402a6fSmrgdo eval test \${$as_var+y} \ 363687402a6fSmrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 363787402a6fSmrgdone 363887402a6fSmrg 363987402a6fSmrg# Ensure that fds 0, 1, and 2 are open. 364087402a6fSmrgif (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 364187402a6fSmrgif (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 364287402a6fSmrgif (exec 3>&2) ; then :; else exec 2>/dev/null; fi 36432ceb2653Smrg 36442ceb2653Smrg# The user is always right. 364587402a6fSmrgif ${PATH_SEPARATOR+false} :; then 36462ceb2653Smrg PATH_SEPARATOR=: 36472ceb2653Smrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 36482ceb2653Smrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 36492ceb2653Smrg PATH_SEPARATOR=';' 36502ceb2653Smrg } 3651b7d53ee5Smrgfi 3652b7d53ee5Smrg 3653b7d53ee5Smrg 36542ceb2653Smrg# Find who we are. Look in the path if we contain no directory separator. 36555cf18391Smrgas_myself= 36565cf18391Smrgcase $0 in #(( 36572ceb2653Smrg *[\\/]* ) as_myself=$0 ;; 36582ceb2653Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 36592ceb2653Smrgfor as_dir in $PATH 36602ceb2653Smrgdo 36612ceb2653Smrg IFS=$as_save_IFS 366287402a6fSmrg case $as_dir in #((( 366387402a6fSmrg '') as_dir=./ ;; 366487402a6fSmrg */) ;; 366587402a6fSmrg *) as_dir=$as_dir/ ;; 366687402a6fSmrg esac 366787402a6fSmrg test -r "$as_dir$0" && as_myself=$as_dir$0 && break 36685cf18391Smrg done 36692ceb2653SmrgIFS=$as_save_IFS 36702ceb2653Smrg 36712ceb2653Smrg ;; 36722ceb2653Smrgesac 36732ceb2653Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 36742ceb2653Smrg# in which case we are not to be found in the path. 36752ceb2653Smrgif test "x$as_myself" = x; then 36762ceb2653Smrg as_myself=$0 36772ceb2653Smrgfi 36782ceb2653Smrgif test ! -f "$as_myself"; then 367987402a6fSmrg printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 36805cf18391Smrg exit 1 36812ceb2653Smrgfi 36822ceb2653Smrg 36835cf18391Smrg 36845cf18391Smrg 36855cf18391Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 36865cf18391Smrg# ---------------------------------------- 36875cf18391Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 36885cf18391Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 36895cf18391Smrg# script with STATUS, using 1 if that was 0. 36905cf18391Smrgas_fn_error () 36915cf18391Smrg{ 36925cf18391Smrg as_status=$1; test $as_status -eq 0 && as_status=1 36935cf18391Smrg if test "$4"; then 36945cf18391Smrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 369587402a6fSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 36965cf18391Smrg fi 369787402a6fSmrg printf "%s\n" "$as_me: error: $2" >&2 36985cf18391Smrg as_fn_exit $as_status 36995cf18391Smrg} # as_fn_error 37005cf18391Smrg 37015cf18391Smrg 370287402a6fSmrg 37035cf18391Smrg# as_fn_set_status STATUS 37045cf18391Smrg# ----------------------- 37055cf18391Smrg# Set $? to STATUS, without forking. 37065cf18391Smrgas_fn_set_status () 37075cf18391Smrg{ 37085cf18391Smrg return $1 37095cf18391Smrg} # as_fn_set_status 37105cf18391Smrg 37115cf18391Smrg# as_fn_exit STATUS 37125cf18391Smrg# ----------------- 37135cf18391Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 37145cf18391Smrgas_fn_exit () 37155cf18391Smrg{ 37165cf18391Smrg set +e 37175cf18391Smrg as_fn_set_status $1 37185cf18391Smrg exit $1 37195cf18391Smrg} # as_fn_exit 37205cf18391Smrg 37215cf18391Smrg# as_fn_unset VAR 37225cf18391Smrg# --------------- 37235cf18391Smrg# Portably unset VAR. 37245cf18391Smrgas_fn_unset () 37255cf18391Smrg{ 37265cf18391Smrg { eval $1=; unset $1;} 37275cf18391Smrg} 37285cf18391Smrgas_unset=as_fn_unset 372987402a6fSmrg 37305cf18391Smrg# as_fn_append VAR VALUE 37315cf18391Smrg# ---------------------- 37325cf18391Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take 37335cf18391Smrg# advantage of any shell optimizations that allow amortized linear growth over 37345cf18391Smrg# repeated appends, instead of the typical quadratic growth present in naive 37355cf18391Smrg# implementations. 373687402a6fSmrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 373787402a6fSmrgthen : 37385cf18391Smrg eval 'as_fn_append () 37395cf18391Smrg { 37405cf18391Smrg eval $1+=\$2 37415cf18391Smrg }' 374287402a6fSmrgelse $as_nop 37435cf18391Smrg as_fn_append () 37445cf18391Smrg { 37455cf18391Smrg eval $1=\$$1\$2 37465cf18391Smrg } 37475cf18391Smrgfi # as_fn_append 37485cf18391Smrg 37495cf18391Smrg# as_fn_arith ARG... 37505cf18391Smrg# ------------------ 37515cf18391Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the 37525cf18391Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 37535cf18391Smrg# must be portable across $(()) and expr. 375487402a6fSmrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 375587402a6fSmrgthen : 37565cf18391Smrg eval 'as_fn_arith () 37575cf18391Smrg { 37585cf18391Smrg as_val=$(( $* )) 37595cf18391Smrg }' 376087402a6fSmrgelse $as_nop 37615cf18391Smrg as_fn_arith () 37625cf18391Smrg { 37635cf18391Smrg as_val=`expr "$@" || test $? -eq 1` 37645cf18391Smrg } 37655cf18391Smrgfi # as_fn_arith 37665cf18391Smrg 37675cf18391Smrg 37682ceb2653Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 37692ceb2653Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 3770b7d53ee5Smrg as_expr=expr 3771b7d53ee5Smrgelse 3772b7d53ee5Smrg as_expr=false 3773b7d53ee5Smrgfi 3774b7d53ee5Smrg 37752ceb2653Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 3776b7d53ee5Smrg as_basename=basename 3777b7d53ee5Smrgelse 3778b7d53ee5Smrg as_basename=false 3779b7d53ee5Smrgfi 3780b7d53ee5Smrg 37815cf18391Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 37825cf18391Smrg as_dirname=dirname 37835cf18391Smrgelse 37845cf18391Smrg as_dirname=false 37855cf18391Smrgfi 3786b7d53ee5Smrg 37872ceb2653Smrgas_me=`$as_basename -- "$0" || 3788b7d53ee5Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 3789b7d53ee5Smrg X"$0" : 'X\(//\)$' \| \ 37902ceb2653Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 379187402a6fSmrgprintf "%s\n" X/"$0" | 37922ceb2653Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 37932ceb2653Smrg s//\1/ 37942ceb2653Smrg q 37952ceb2653Smrg } 37962ceb2653Smrg /^X\/\(\/\/\)$/{ 37972ceb2653Smrg s//\1/ 37982ceb2653Smrg q 37992ceb2653Smrg } 38002ceb2653Smrg /^X\/\(\/\).*/{ 38012ceb2653Smrg s//\1/ 38022ceb2653Smrg q 38032ceb2653Smrg } 38042ceb2653Smrg s/.*/./; q'` 3805b7d53ee5Smrg 38065cf18391Smrg# Avoid depending upon Character Ranges. 38075cf18391Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 38085cf18391Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 38095cf18391Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 38105cf18391Smrgas_cr_digits='0123456789' 38115cf18391Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 3812b7d53ee5Smrg 381387402a6fSmrg 381487402a6fSmrg# Determine whether it's possible to make 'echo' print without a newline. 381587402a6fSmrg# These variables are no longer used directly by Autoconf, but are AC_SUBSTed 381687402a6fSmrg# for compatibility with existing Makefiles. 38172ceb2653SmrgECHO_C= ECHO_N= ECHO_T= 38185cf18391Smrgcase `echo -n x` in #((((( 38192ceb2653Smrg-n*) 38205cf18391Smrg case `echo 'xy\c'` in 38212ceb2653Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 38225cf18391Smrg xy) ECHO_C='\c';; 38235cf18391Smrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 38245cf18391Smrg ECHO_T=' ';; 38252ceb2653Smrg esac;; 38262ceb2653Smrg*) 38272ceb2653Smrg ECHO_N='-n';; 38282ceb2653Smrgesac 3829b7d53ee5Smrg 383087402a6fSmrg# For backward compatibility with old third-party macros, we provide 383187402a6fSmrg# the shell variables $as_echo and $as_echo_n. New code should use 383287402a6fSmrg# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. 383387402a6fSmrgas_echo='printf %s\n' 383487402a6fSmrgas_echo_n='printf %s' 383587402a6fSmrg 3836b7d53ee5Smrgrm -f conf$$ conf$$.exe conf$$.file 38372ceb2653Smrgif test -d conf$$.dir; then 38382ceb2653Smrg rm -f conf$$.dir/conf$$.file 38392ceb2653Smrgelse 38402ceb2653Smrg rm -f conf$$.dir 38412ceb2653Smrg mkdir conf$$.dir 2>/dev/null 38422ceb2653Smrgfi 38432ceb2653Smrgif (echo >conf$$.file) 2>/dev/null; then 38442ceb2653Smrg if ln -s conf$$.file conf$$ 2>/dev/null; then 3845b7d53ee5Smrg as_ln_s='ln -s' 38462ceb2653Smrg # ... but there are two gotchas: 38472ceb2653Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 38482ceb2653Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 384987402a6fSmrg # In both cases, we have to default to `cp -pR'. 38502ceb2653Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 385187402a6fSmrg as_ln_s='cp -pR' 38522ceb2653Smrg elif ln conf$$.file conf$$ 2>/dev/null; then 38532ceb2653Smrg as_ln_s=ln 38542ceb2653Smrg else 385587402a6fSmrg as_ln_s='cp -pR' 3856b7d53ee5Smrg fi 3857b7d53ee5Smrgelse 385887402a6fSmrg as_ln_s='cp -pR' 3859b7d53ee5Smrgfi 38602ceb2653Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 38612ceb2653Smrgrmdir conf$$.dir 2>/dev/null 3862b7d53ee5Smrg 38635cf18391Smrg 38645cf18391Smrg# as_fn_mkdir_p 38655cf18391Smrg# ------------- 38665cf18391Smrg# Create "$as_dir" as a directory, including parents if necessary. 38675cf18391Smrgas_fn_mkdir_p () 38685cf18391Smrg{ 38695cf18391Smrg 38705cf18391Smrg case $as_dir in #( 38715cf18391Smrg -*) as_dir=./$as_dir;; 38725cf18391Smrg esac 38735cf18391Smrg test -d "$as_dir" || eval $as_mkdir_p || { 38745cf18391Smrg as_dirs= 38755cf18391Smrg while :; do 38765cf18391Smrg case $as_dir in #( 387787402a6fSmrg *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 38785cf18391Smrg *) as_qdir=$as_dir;; 38795cf18391Smrg esac 38805cf18391Smrg as_dirs="'$as_qdir' $as_dirs" 38815cf18391Smrg as_dir=`$as_dirname -- "$as_dir" || 38825cf18391Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 38835cf18391Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 38845cf18391Smrg X"$as_dir" : 'X\(//\)$' \| \ 38855cf18391Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 388687402a6fSmrgprintf "%s\n" X"$as_dir" | 38875cf18391Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 38885cf18391Smrg s//\1/ 38895cf18391Smrg q 38905cf18391Smrg } 38915cf18391Smrg /^X\(\/\/\)[^/].*/{ 38925cf18391Smrg s//\1/ 38935cf18391Smrg q 38945cf18391Smrg } 38955cf18391Smrg /^X\(\/\/\)$/{ 38965cf18391Smrg s//\1/ 38975cf18391Smrg q 38985cf18391Smrg } 38995cf18391Smrg /^X\(\/\).*/{ 39005cf18391Smrg s//\1/ 39015cf18391Smrg q 39025cf18391Smrg } 39035cf18391Smrg s/.*/./; q'` 39045cf18391Smrg test -d "$as_dir" && break 39055cf18391Smrg done 39065cf18391Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 39075cf18391Smrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 39085cf18391Smrg 39095cf18391Smrg 39105cf18391Smrg} # as_fn_mkdir_p 3911b7d53ee5Smrgif mkdir -p . 2>/dev/null; then 39125cf18391Smrg as_mkdir_p='mkdir -p "$as_dir"' 3913b7d53ee5Smrgelse 3914b7d53ee5Smrg test -d ./-p && rmdir ./-p 3915b7d53ee5Smrg as_mkdir_p=false 3916b7d53ee5Smrgfi 3917b7d53ee5Smrg 391887402a6fSmrg 391987402a6fSmrg# as_fn_executable_p FILE 392087402a6fSmrg# ----------------------- 392187402a6fSmrg# Test if FILE is an executable regular file. 392287402a6fSmrgas_fn_executable_p () 392387402a6fSmrg{ 392487402a6fSmrg test -f "$1" && test -x "$1" 392587402a6fSmrg} # as_fn_executable_p 392687402a6fSmrgas_test_x='test -x' 392787402a6fSmrgas_executable_p=as_fn_executable_p 3928b7d53ee5Smrg 3929b7d53ee5Smrg# Sed expression to map a string onto a valid CPP name. 3930b7d53ee5Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 3931b7d53ee5Smrg 3932b7d53ee5Smrg# Sed expression to map a string onto a valid variable name. 3933b7d53ee5Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 3934b7d53ee5Smrg 3935b7d53ee5Smrg 3936b7d53ee5Smrgexec 6>&1 39375cf18391Smrg## ----------------------------------- ## 39385cf18391Smrg## Main body of $CONFIG_STATUS script. ## 39395cf18391Smrg## ----------------------------------- ## 39405cf18391Smrg_ASEOF 39415cf18391Smrgtest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 3942b7d53ee5Smrg 39435cf18391Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 39445cf18391Smrg# Save the log message, to keep $0 and so on meaningful, and to 3945b7d53ee5Smrg# report actual input values of CONFIG_FILES etc. instead of their 39462ceb2653Smrg# values after options handling. 39472ceb2653Smrgac_log=" 394887402a6fSmrgThis file was extended by font-dec-misc $as_me 1.0.4, which was 394987402a6fSmrggenerated by GNU Autoconf 2.71. Invocation command line was 3950b7d53ee5Smrg 3951b7d53ee5Smrg CONFIG_FILES = $CONFIG_FILES 3952b7d53ee5Smrg CONFIG_HEADERS = $CONFIG_HEADERS 3953b7d53ee5Smrg CONFIG_LINKS = $CONFIG_LINKS 3954b7d53ee5Smrg CONFIG_COMMANDS = $CONFIG_COMMANDS 3955b7d53ee5Smrg $ $0 $@ 3956b7d53ee5Smrg 39572ceb2653Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q` 39582ceb2653Smrg" 39592ceb2653Smrg 3960b7d53ee5Smrg_ACEOF 3961b7d53ee5Smrg 39622ceb2653Smrgcase $ac_config_files in *" 39632ceb2653Smrg"*) set x $ac_config_files; shift; ac_config_files=$*;; 39642ceb2653Smrgesac 3965b7d53ee5Smrg 3966b7d53ee5Smrg 3967b7d53ee5Smrg 39682ceb2653Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 39692ceb2653Smrg# Files that config.status was made for. 39702ceb2653Smrgconfig_files="$ac_config_files" 3971b7d53ee5Smrg 39722ceb2653Smrg_ACEOF 3973b7d53ee5Smrg 39742ceb2653Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3975b7d53ee5Smrgac_cs_usage="\ 39765cf18391Smrg\`$as_me' instantiates files and other configuration actions 39775cf18391Smrgfrom templates according to the current configuration. Unless the files 39785cf18391Smrgand actions are specified as TAGs, all are instantiated by default. 3979b7d53ee5Smrg 39805cf18391SmrgUsage: $0 [OPTION]... [TAG]... 3981b7d53ee5Smrg 3982b7d53ee5Smrg -h, --help print this help, then exit 39832ceb2653Smrg -V, --version print version number and configuration settings, then exit 39845cf18391Smrg --config print configuration, then exit 39852ceb2653Smrg -q, --quiet, --silent 39862ceb2653Smrg do not print progress messages 3987b7d53ee5Smrg -d, --debug don't remove temporary files 3988b7d53ee5Smrg --recheck update $as_me by reconfiguring in the same conditions 39892ceb2653Smrg --file=FILE[:TEMPLATE] 39902ceb2653Smrg instantiate the configuration file FILE 3991b7d53ee5Smrg 3992b7d53ee5SmrgConfiguration files: 3993b7d53ee5Smrg$config_files 3994b7d53ee5Smrg 399587402a6fSmrgReport bugs to <https://gitlab.freedesktop.org/xorg/font/dec-misc/-/issues>." 3996b7d53ee5Smrg 39972ceb2653Smrg_ACEOF 399887402a6fSmrgac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` 399987402a6fSmrgac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` 40002ceb2653Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 400187402a6fSmrgac_cs_config='$ac_cs_config_escaped' 4002b7d53ee5Smrgac_cs_version="\\ 400387402a6fSmrgfont-dec-misc config.status 1.0.4 400487402a6fSmrgconfigured by $0, generated by GNU Autoconf 2.71, 40055cf18391Smrg with options \\"\$ac_cs_config\\" 4006b7d53ee5Smrg 400787402a6fSmrgCopyright (C) 2021 Free Software Foundation, Inc. 4008b7d53ee5SmrgThis config.status script is free software; the Free Software Foundation 4009b7d53ee5Smrggives unlimited permission to copy, distribute and modify it." 40102ceb2653Smrg 40112ceb2653Smrgac_pwd='$ac_pwd' 40122ceb2653Smrgsrcdir='$srcdir' 40132ceb2653SmrgINSTALL='$INSTALL' 40142ceb2653SmrgMKDIR_P='$MKDIR_P' 40152ceb2653SmrgAWK='$AWK' 40162ceb2653Smrgtest -n "\$AWK" || AWK=awk 4017b7d53ee5Smrg_ACEOF 4018b7d53ee5Smrg 40192ceb2653Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 40202ceb2653Smrg# The default lists apply if the user does not specify any file. 4021b7d53ee5Smrgac_need_defaults=: 4022b7d53ee5Smrgwhile test $# != 0 4023b7d53ee5Smrgdo 4024b7d53ee5Smrg case $1 in 40255cf18391Smrg --*=?*) 40262ceb2653Smrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 40272ceb2653Smrg ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 4028b7d53ee5Smrg ac_shift=: 4029b7d53ee5Smrg ;; 40305cf18391Smrg --*=) 40315cf18391Smrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 40325cf18391Smrg ac_optarg= 40335cf18391Smrg ac_shift=: 40345cf18391Smrg ;; 40352ceb2653Smrg *) 4036b7d53ee5Smrg ac_option=$1 4037b7d53ee5Smrg ac_optarg=$2 4038b7d53ee5Smrg ac_shift=shift 4039b7d53ee5Smrg ;; 4040b7d53ee5Smrg esac 4041b7d53ee5Smrg 4042b7d53ee5Smrg case $ac_option in 4043b7d53ee5Smrg # Handling of the options. 4044b7d53ee5Smrg -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 4045b7d53ee5Smrg ac_cs_recheck=: ;; 40462ceb2653Smrg --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 404787402a6fSmrg printf "%s\n" "$ac_cs_version"; exit ;; 40485cf18391Smrg --config | --confi | --conf | --con | --co | --c ) 404987402a6fSmrg printf "%s\n" "$ac_cs_config"; exit ;; 40502ceb2653Smrg --debug | --debu | --deb | --de | --d | -d ) 4051b7d53ee5Smrg debug=: ;; 4052b7d53ee5Smrg --file | --fil | --fi | --f ) 4053b7d53ee5Smrg $ac_shift 40542ceb2653Smrg case $ac_optarg in 405587402a6fSmrg *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 40565cf18391Smrg '') as_fn_error $? "missing file argument" ;; 40572ceb2653Smrg esac 40585cf18391Smrg as_fn_append CONFIG_FILES " '$ac_optarg'" 4059b7d53ee5Smrg ac_need_defaults=false;; 40602ceb2653Smrg --he | --h | --help | --hel | -h ) 406187402a6fSmrg printf "%s\n" "$ac_cs_usage"; exit ;; 4062b7d53ee5Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 4063b7d53ee5Smrg | -silent | --silent | --silen | --sile | --sil | --si | --s) 4064b7d53ee5Smrg ac_cs_silent=: ;; 4065b7d53ee5Smrg 4066b7d53ee5Smrg # This is an error. 40675cf18391Smrg -*) as_fn_error $? "unrecognized option: \`$1' 40685cf18391SmrgTry \`$0 --help' for more information." ;; 4069b7d53ee5Smrg 40705cf18391Smrg *) as_fn_append ac_config_targets " $1" 40712ceb2653Smrg ac_need_defaults=false ;; 4072b7d53ee5Smrg 4073b7d53ee5Smrg esac 4074b7d53ee5Smrg shift 4075b7d53ee5Smrgdone 4076b7d53ee5Smrg 4077b7d53ee5Smrgac_configure_extra_args= 4078b7d53ee5Smrg 4079b7d53ee5Smrgif $ac_cs_silent; then 4080b7d53ee5Smrg exec 6>/dev/null 4081b7d53ee5Smrg ac_configure_extra_args="$ac_configure_extra_args --silent" 4082b7d53ee5Smrgfi 4083b7d53ee5Smrg 4084b7d53ee5Smrg_ACEOF 40852ceb2653Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4086b7d53ee5Smrgif \$ac_cs_recheck; then 408787402a6fSmrg set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 40882ceb2653Smrg shift 408987402a6fSmrg \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 40902ceb2653Smrg CONFIG_SHELL='$SHELL' 40912ceb2653Smrg export CONFIG_SHELL 40922ceb2653Smrg exec "\$@" 4093b7d53ee5Smrgfi 4094b7d53ee5Smrg 4095b7d53ee5Smrg_ACEOF 40962ceb2653Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 40972ceb2653Smrgexec 5>>config.log 40982ceb2653Smrg{ 40992ceb2653Smrg echo 41002ceb2653Smrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 41012ceb2653Smrg## Running $as_me. ## 41022ceb2653Smrg_ASBOX 410387402a6fSmrg printf "%s\n" "$ac_log" 41042ceb2653Smrg} >&5 4105b7d53ee5Smrg 41062ceb2653Smrg_ACEOF 41072ceb2653Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 41082ceb2653Smrg_ACEOF 4109b7d53ee5Smrg 41102ceb2653Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4111b7d53ee5Smrg 41122ceb2653Smrg# Handling of arguments. 4113b7d53ee5Smrgfor ac_config_target in $ac_config_targets 4114b7d53ee5Smrgdo 41152ceb2653Smrg case $ac_config_target in 41162ceb2653Smrg "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 41172ceb2653Smrg 41185cf18391Smrg *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 4119b7d53ee5Smrg esac 4120b7d53ee5Smrgdone 4121b7d53ee5Smrg 41222ceb2653Smrg 4123b7d53ee5Smrg# If the user did not use the arguments to specify the items to instantiate, 4124b7d53ee5Smrg# then the envvar interface is used. Set only those that are not. 4125b7d53ee5Smrg# We use the long form for the default assignment because of an extremely 4126b7d53ee5Smrg# bizarre bug on SunOS 4.1.3. 4127b7d53ee5Smrgif $ac_need_defaults; then 412887402a6fSmrg test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files 4129b7d53ee5Smrgfi 4130b7d53ee5Smrg 4131b7d53ee5Smrg# Have a temporary directory for convenience. Make it in the build tree 41322ceb2653Smrg# simply because there is no reason against having it here, and in addition, 4133b7d53ee5Smrg# creating and moving files from /tmp can sometimes cause problems. 41342ceb2653Smrg# Hook for its removal unless debugging. 41352ceb2653Smrg# Note that there is a small window in which the directory will not be cleaned: 41362ceb2653Smrg# after its creation but before its name has been assigned to `$tmp'. 4137b7d53ee5Smrg$debug || 4138b7d53ee5Smrg{ 41395cf18391Smrg tmp= ac_tmp= 41402ceb2653Smrg trap 'exit_status=$? 41415cf18391Smrg : "${ac_tmp:=$tmp}" 41425cf18391Smrg { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 41432ceb2653Smrg' 0 41445cf18391Smrg trap 'as_fn_exit 1' 1 2 13 15 4145b7d53ee5Smrg} 4146b7d53ee5Smrg# Create a (secure) tmp directory for tmp files. 4147b7d53ee5Smrg 4148b7d53ee5Smrg{ 41492ceb2653Smrg tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 41505cf18391Smrg test -d "$tmp" 4151b7d53ee5Smrg} || 4152b7d53ee5Smrg{ 41532ceb2653Smrg tmp=./conf$$-$RANDOM 41542ceb2653Smrg (umask 077 && mkdir "$tmp") 41555cf18391Smrg} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 41565cf18391Smrgac_tmp=$tmp 4157b7d53ee5Smrg 41582ceb2653Smrg# Set up the scripts for CONFIG_FILES section. 41592ceb2653Smrg# No need to generate them if there are no CONFIG_FILES. 41602ceb2653Smrg# This happens for instance with `./config.status config.h'. 41612ceb2653Smrgif test -n "$CONFIG_FILES"; then 41622ceb2653Smrg 41632ceb2653Smrg 41645cf18391Smrgac_cr=`echo X | tr X '\015'` 41655cf18391Smrg# On cygwin, bash can eat \r inside `` if the user requested igncr. 41665cf18391Smrg# But we know of no other shell where ac_cr would be empty at this 41675cf18391Smrg# point, so we can use a bashism as a fallback. 41685cf18391Smrgif test "x$ac_cr" = x; then 41695cf18391Smrg eval ac_cr=\$\'\\r\' 41705cf18391Smrgfi 41712ceb2653Smrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 41722ceb2653Smrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 41732ceb2653Smrg ac_cs_awk_cr='\\r' 41742ceb2653Smrgelse 41752ceb2653Smrg ac_cs_awk_cr=$ac_cr 41762ceb2653Smrgfi 41772ceb2653Smrg 41785cf18391Smrgecho 'BEGIN {' >"$ac_tmp/subs1.awk" && 4179b7d53ee5Smrg_ACEOF 4180b7d53ee5Smrg 4181b7d53ee5Smrg 41822ceb2653Smrg{ 41832ceb2653Smrg echo "cat >conf$$subs.awk <<_ACEOF" && 41842ceb2653Smrg echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 41852ceb2653Smrg echo "_ACEOF" 41862ceb2653Smrg} >conf$$subs.sh || 41875cf18391Smrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 41885cf18391Smrgac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 41892ceb2653Smrgac_delim='%!_!# ' 41902ceb2653Smrgfor ac_last_try in false false false false false :; do 41912ceb2653Smrg . ./conf$$subs.sh || 41925cf18391Smrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 4193b7d53ee5Smrg 41942ceb2653Smrg ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 41952ceb2653Smrg if test $ac_delim_n = $ac_delim_num; then 41962ceb2653Smrg break 41972ceb2653Smrg elif $ac_last_try; then 41985cf18391Smrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 41992ceb2653Smrg else 42002ceb2653Smrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 4201b7d53ee5Smrg fi 42022ceb2653Smrgdone 42032ceb2653Smrgrm -f conf$$subs.sh 4204b7d53ee5Smrg 42052ceb2653Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 42065cf18391Smrgcat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 4207b7d53ee5Smrg_ACEOF 42082ceb2653Smrgsed -n ' 42092ceb2653Smrgh 42102ceb2653Smrgs/^/S["/; s/!.*/"]=/ 42112ceb2653Smrgp 42122ceb2653Smrgg 42132ceb2653Smrgs/^[^!]*!// 42142ceb2653Smrg:repl 42152ceb2653Smrgt repl 42162ceb2653Smrgs/'"$ac_delim"'$// 42172ceb2653Smrgt delim 42182ceb2653Smrg:nl 42192ceb2653Smrgh 42205cf18391Smrgs/\(.\{148\}\)..*/\1/ 42212ceb2653Smrgt more1 42222ceb2653Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 42232ceb2653Smrgp 42242ceb2653Smrgn 42252ceb2653Smrgb repl 42262ceb2653Smrg:more1 42272ceb2653Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 42282ceb2653Smrgp 42292ceb2653Smrgg 42302ceb2653Smrgs/.\{148\}// 42312ceb2653Smrgt nl 42322ceb2653Smrg:delim 42332ceb2653Smrgh 42345cf18391Smrgs/\(.\{148\}\)..*/\1/ 42352ceb2653Smrgt more2 42362ceb2653Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/ 42372ceb2653Smrgp 42382ceb2653Smrgb 42392ceb2653Smrg:more2 42402ceb2653Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 42412ceb2653Smrgp 42422ceb2653Smrgg 42432ceb2653Smrgs/.\{148\}// 42442ceb2653Smrgt delim 42452ceb2653Smrg' <conf$$subs.awk | sed ' 42462ceb2653Smrg/^[^""]/{ 42472ceb2653Smrg N 42482ceb2653Smrg s/\n// 42492ceb2653Smrg} 42502ceb2653Smrg' >>$CONFIG_STATUS || ac_write_fail=1 42512ceb2653Smrgrm -f conf$$subs.awk 42522ceb2653Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 42532ceb2653Smrg_ACAWK 42545cf18391Smrgcat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 42552ceb2653Smrg for (key in S) S_is_set[key] = 1 42562ceb2653Smrg FS = "" 42572ceb2653Smrg 42582ceb2653Smrg} 42592ceb2653Smrg{ 42602ceb2653Smrg line = $ 0 42612ceb2653Smrg nfields = split(line, field, "@") 42622ceb2653Smrg substed = 0 42632ceb2653Smrg len = length(field[1]) 42642ceb2653Smrg for (i = 2; i < nfields; i++) { 42652ceb2653Smrg key = field[i] 42662ceb2653Smrg keylen = length(key) 42672ceb2653Smrg if (S_is_set[key]) { 42682ceb2653Smrg value = S[key] 42692ceb2653Smrg line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 42702ceb2653Smrg len += length(value) + length(field[++i]) 42712ceb2653Smrg substed = 1 42722ceb2653Smrg } else 42732ceb2653Smrg len += 1 + keylen 42742ceb2653Smrg } 42752ceb2653Smrg 42762ceb2653Smrg print line 42772ceb2653Smrg} 42782ceb2653Smrg 42792ceb2653Smrg_ACAWK 42802ceb2653Smrg_ACEOF 42812ceb2653Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 42822ceb2653Smrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 42832ceb2653Smrg sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 42842ceb2653Smrgelse 42852ceb2653Smrg cat 42865cf18391Smrgfi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 42875cf18391Smrg || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 42882ceb2653Smrg_ACEOF 42892ceb2653Smrg 42905cf18391Smrg# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 42915cf18391Smrg# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 42922ceb2653Smrg# trailing colons and then remove the whole line if VPATH becomes empty 42932ceb2653Smrg# (actually we leave an empty line to preserve line numbers). 42942ceb2653Smrgif test "x$srcdir" = x.; then 42955cf18391Smrg ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 42965cf18391Smrgh 42975cf18391Smrgs/// 42985cf18391Smrgs/^/:/ 42995cf18391Smrgs/[ ]*$/:/ 43005cf18391Smrgs/:\$(srcdir):/:/g 43015cf18391Smrgs/:\${srcdir}:/:/g 43025cf18391Smrgs/:@srcdir@:/:/g 43035cf18391Smrgs/^:*// 43042ceb2653Smrgs/:*$// 43055cf18391Smrgx 43065cf18391Smrgs/\(=[ ]*\).*/\1/ 43075cf18391SmrgG 43085cf18391Smrgs/\n// 43092ceb2653Smrgs/^[^=]*=[ ]*$// 43102ceb2653Smrg}' 43112ceb2653Smrgfi 43122ceb2653Smrg 43132ceb2653Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 43142ceb2653Smrgfi # test -n "$CONFIG_FILES" 43152ceb2653Smrg 43162ceb2653Smrg 431787402a6fSmrgeval set X " :F $CONFIG_FILES " 43182ceb2653Smrgshift 43192ceb2653Smrgfor ac_tag 43202ceb2653Smrgdo 43212ceb2653Smrg case $ac_tag in 43222ceb2653Smrg :[FHLC]) ac_mode=$ac_tag; continue;; 43232ceb2653Smrg esac 43242ceb2653Smrg case $ac_mode$ac_tag in 43252ceb2653Smrg :[FHL]*:*);; 43265cf18391Smrg :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 43272ceb2653Smrg :[FH]-) ac_tag=-:-;; 43282ceb2653Smrg :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 43292ceb2653Smrg esac 43302ceb2653Smrg ac_save_IFS=$IFS 43312ceb2653Smrg IFS=: 43322ceb2653Smrg set x $ac_tag 43332ceb2653Smrg IFS=$ac_save_IFS 43342ceb2653Smrg shift 43352ceb2653Smrg ac_file=$1 43362ceb2653Smrg shift 43372ceb2653Smrg 43382ceb2653Smrg case $ac_mode in 43392ceb2653Smrg :L) ac_source=$1;; 43402ceb2653Smrg :[FH]) 43412ceb2653Smrg ac_file_inputs= 43422ceb2653Smrg for ac_f 43432ceb2653Smrg do 43442ceb2653Smrg case $ac_f in 43455cf18391Smrg -) ac_f="$ac_tmp/stdin";; 43462ceb2653Smrg *) # Look for the file first in the build tree, then in the source tree 43472ceb2653Smrg # (if the path is not absolute). The absolute path cannot be DOS-style, 43482ceb2653Smrg # because $ac_f cannot contain `:'. 43492ceb2653Smrg test -f "$ac_f" || 43502ceb2653Smrg case $ac_f in 43512ceb2653Smrg [\\/$]*) false;; 43522ceb2653Smrg *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 43532ceb2653Smrg esac || 43545cf18391Smrg as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 43552ceb2653Smrg esac 435687402a6fSmrg case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 43575cf18391Smrg as_fn_append ac_file_inputs " '$ac_f'" 43582ceb2653Smrg done 43592ceb2653Smrg 43602ceb2653Smrg # Let's still pretend it is `configure' which instantiates (i.e., don't 43612ceb2653Smrg # use $as_me), people would be surprised to read: 43622ceb2653Smrg # /* config.h. Generated by config.status. */ 43632ceb2653Smrg configure_input='Generated from '` 436487402a6fSmrg printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 43652ceb2653Smrg `' by configure.' 43662ceb2653Smrg if test x"$ac_file" != x-; then 43672ceb2653Smrg configure_input="$ac_file. $configure_input" 436887402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 436987402a6fSmrgprintf "%s\n" "$as_me: creating $ac_file" >&6;} 43702ceb2653Smrg fi 43712ceb2653Smrg # Neutralize special characters interpreted by sed in replacement strings. 43722ceb2653Smrg case $configure_input in #( 43732ceb2653Smrg *\&* | *\|* | *\\* ) 437487402a6fSmrg ac_sed_conf_input=`printf "%s\n" "$configure_input" | 43752ceb2653Smrg sed 's/[\\\\&|]/\\\\&/g'`;; #( 43762ceb2653Smrg *) ac_sed_conf_input=$configure_input;; 43772ceb2653Smrg esac 43782ceb2653Smrg 43792ceb2653Smrg case $ac_tag in 43805cf18391Smrg *:-:* | *:-) cat >"$ac_tmp/stdin" \ 43815cf18391Smrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 43822ceb2653Smrg esac 43832ceb2653Smrg ;; 4384b7d53ee5Smrg esac 4385b7d53ee5Smrg 43862ceb2653Smrg ac_dir=`$as_dirname -- "$ac_file" || 4387b7d53ee5Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4388b7d53ee5Smrg X"$ac_file" : 'X\(//\)[^/]' \| \ 4389b7d53ee5Smrg X"$ac_file" : 'X\(//\)$' \| \ 43902ceb2653Smrg X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 439187402a6fSmrgprintf "%s\n" X"$ac_file" | 43922ceb2653Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 43932ceb2653Smrg s//\1/ 43942ceb2653Smrg q 43952ceb2653Smrg } 43962ceb2653Smrg /^X\(\/\/\)[^/].*/{ 43972ceb2653Smrg s//\1/ 43982ceb2653Smrg q 43992ceb2653Smrg } 44002ceb2653Smrg /^X\(\/\/\)$/{ 44012ceb2653Smrg s//\1/ 44022ceb2653Smrg q 44032ceb2653Smrg } 44042ceb2653Smrg /^X\(\/\).*/{ 44052ceb2653Smrg s//\1/ 44062ceb2653Smrg q 44072ceb2653Smrg } 44082ceb2653Smrg s/.*/./; q'` 44095cf18391Smrg as_dir="$ac_dir"; as_fn_mkdir_p 4410b7d53ee5Smrg ac_builddir=. 4411b7d53ee5Smrg 44122ceb2653Smrgcase "$ac_dir" in 44132ceb2653Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 44142ceb2653Smrg*) 441587402a6fSmrg ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 44162ceb2653Smrg # A ".." for each directory in $ac_dir_suffix. 441787402a6fSmrg ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 44182ceb2653Smrg case $ac_top_builddir_sub in 44192ceb2653Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 44202ceb2653Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 44212ceb2653Smrg esac ;; 44222ceb2653Smrgesac 44232ceb2653Smrgac_abs_top_builddir=$ac_pwd 44242ceb2653Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 44252ceb2653Smrg# for backward compatibility: 44262ceb2653Smrgac_top_builddir=$ac_top_build_prefix 4427b7d53ee5Smrg 4428b7d53ee5Smrgcase $srcdir in 44292ceb2653Smrg .) # We are building in place. 4430b7d53ee5Smrg ac_srcdir=. 44312ceb2653Smrg ac_top_srcdir=$ac_top_builddir_sub 44322ceb2653Smrg ac_abs_top_srcdir=$ac_pwd ;; 44332ceb2653Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 4434b7d53ee5Smrg ac_srcdir=$srcdir$ac_dir_suffix; 44352ceb2653Smrg ac_top_srcdir=$srcdir 44362ceb2653Smrg ac_abs_top_srcdir=$srcdir ;; 44372ceb2653Smrg *) # Relative name. 44382ceb2653Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 44392ceb2653Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 44402ceb2653Smrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 4441b7d53ee5Smrgesac 44422ceb2653Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 4443b7d53ee5Smrg 4444b7d53ee5Smrg 44452ceb2653Smrg case $ac_mode in 44462ceb2653Smrg :F) 44472ceb2653Smrg # 44482ceb2653Smrg # CONFIG_FILE 44492ceb2653Smrg # 4450b7d53ee5Smrg 4451b7d53ee5Smrg case $INSTALL in 4452b7d53ee5Smrg [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 44532ceb2653Smrg *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 4454b7d53ee5Smrg esac 44552ceb2653Smrg ac_MKDIR_P=$MKDIR_P 44562ceb2653Smrg case $MKDIR_P in 44572ceb2653Smrg [\\/$]* | ?:[\\/]* ) ;; 44582ceb2653Smrg */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 44592ceb2653Smrg esac 44602ceb2653Smrg_ACEOF 4461b7d53ee5Smrg 44622ceb2653Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 44632ceb2653Smrg# If the template does not know about datarootdir, expand it. 44642ceb2653Smrg# FIXME: This hack should be removed a few years after 2.60. 44652ceb2653Smrgac_datarootdir_hack=; ac_datarootdir_seen= 44662ceb2653Smrgac_sed_dataroot=' 44672ceb2653Smrg/datarootdir/ { 44682ceb2653Smrg p 44692ceb2653Smrg q 44702ceb2653Smrg} 44712ceb2653Smrg/@datadir@/p 44722ceb2653Smrg/@docdir@/p 44732ceb2653Smrg/@infodir@/p 44742ceb2653Smrg/@localedir@/p 44755cf18391Smrg/@mandir@/p' 44762ceb2653Smrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 44772ceb2653Smrg*datarootdir*) ac_datarootdir_seen=yes;; 44782ceb2653Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 447987402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 448087402a6fSmrgprintf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 44812ceb2653Smrg_ACEOF 44822ceb2653Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 44832ceb2653Smrg ac_datarootdir_hack=' 44842ceb2653Smrg s&@datadir@&$datadir&g 44852ceb2653Smrg s&@docdir@&$docdir&g 44862ceb2653Smrg s&@infodir@&$infodir&g 44872ceb2653Smrg s&@localedir@&$localedir&g 44882ceb2653Smrg s&@mandir@&$mandir&g 44895cf18391Smrg s&\\\${datarootdir}&$datarootdir&g' ;; 44902ceb2653Smrgesac 4491b7d53ee5Smrg_ACEOF 44922ceb2653Smrg 44932ceb2653Smrg# Neutralize VPATH when `$srcdir' = `.'. 44942ceb2653Smrg# Shell code in configure.ac might set extrasub. 44952ceb2653Smrg# FIXME: do we really want to maintain this feature? 44962ceb2653Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 44972ceb2653Smrgac_sed_extra="$ac_vpsub 4498b7d53ee5Smrg$extrasub 4499b7d53ee5Smrg_ACEOF 45002ceb2653Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4501b7d53ee5Smrg:t 4502b7d53ee5Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 45032ceb2653Smrgs|@configure_input@|$ac_sed_conf_input|;t t 45042ceb2653Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t 45052ceb2653Smrgs&@top_build_prefix@&$ac_top_build_prefix&;t t 45062ceb2653Smrgs&@srcdir@&$ac_srcdir&;t t 45072ceb2653Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t 45082ceb2653Smrgs&@top_srcdir@&$ac_top_srcdir&;t t 45092ceb2653Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 45102ceb2653Smrgs&@builddir@&$ac_builddir&;t t 45112ceb2653Smrgs&@abs_builddir@&$ac_abs_builddir&;t t 45122ceb2653Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t 45132ceb2653Smrgs&@INSTALL@&$ac_INSTALL&;t t 45142ceb2653Smrgs&@MKDIR_P@&$ac_MKDIR_P&;t t 45152ceb2653Smrg$ac_datarootdir_hack 45162ceb2653Smrg" 45175cf18391Smrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 45185cf18391Smrg >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 4519b7d53ee5Smrg 45202ceb2653Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 45215cf18391Smrg { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 45225cf18391Smrg { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 45235cf18391Smrg "$ac_tmp/out"`; test -z "$ac_out"; } && 452487402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 45255cf18391Smrgwhich seems to be undefined. Please make sure it is defined" >&5 452687402a6fSmrgprintf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 45275cf18391Smrgwhich seems to be undefined. Please make sure it is defined" >&2;} 45282ceb2653Smrg 45295cf18391Smrg rm -f "$ac_tmp/stdin" 45302ceb2653Smrg case $ac_file in 45315cf18391Smrg -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 45325cf18391Smrg *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 45332ceb2653Smrg esac \ 45345cf18391Smrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 45352ceb2653Smrg ;; 45362ceb2653Smrg 45372ceb2653Smrg 45382ceb2653Smrg 45392ceb2653Smrg esac 45402ceb2653Smrg 45412ceb2653Smrgdone # for ac_tag 4542b7d53ee5Smrg 4543b7d53ee5Smrg 45445cf18391Smrgas_fn_exit 0 4545b7d53ee5Smrg_ACEOF 4546b7d53ee5Smrgac_clean_files=$ac_clean_files_save 4547b7d53ee5Smrg 45482ceb2653Smrgtest $ac_write_fail = 0 || 45495cf18391Smrg as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 45502ceb2653Smrg 4551b7d53ee5Smrg 4552b7d53ee5Smrg# configure is writing to config.log, and then calls config.status. 4553b7d53ee5Smrg# config.status does its own redirection, appending to config.log. 4554b7d53ee5Smrg# Unfortunately, on DOS this fails, as config.log is still kept open 4555b7d53ee5Smrg# by configure, so config.status won't be able to write to it; its 4556b7d53ee5Smrg# output is simply discarded. So we exec the FD to /dev/null, 4557b7d53ee5Smrg# effectively closing config.log, so it can be properly (re)opened and 4558b7d53ee5Smrg# appended to by config.status. When coming back to configure, we 4559b7d53ee5Smrg# need to make the FD available again. 4560b7d53ee5Smrgif test "$no_create" != yes; then 4561b7d53ee5Smrg ac_cs_success=: 4562b7d53ee5Smrg ac_config_status_args= 4563b7d53ee5Smrg test "$silent" = yes && 4564b7d53ee5Smrg ac_config_status_args="$ac_config_status_args --quiet" 4565b7d53ee5Smrg exec 5>/dev/null 4566b7d53ee5Smrg $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 4567b7d53ee5Smrg exec 5>>config.log 4568b7d53ee5Smrg # Use ||, not &&, to avoid exiting from the if with $? = 1, which 4569b7d53ee5Smrg # would make configure fail if this is the last instruction. 45705cf18391Smrg $ac_cs_success || as_fn_exit 1 4571b7d53ee5Smrgfi 45722ceb2653Smrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 457387402a6fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 457487402a6fSmrgprintf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 45752ceb2653Smrgfi 4576b7d53ee5Smrg 457787402a6fSmrg 4578