configure revision 5d10e53f
1ed029a5fSmrg#! /bin/sh 2ed029a5fSmrg# Guess values for system-dependent variables and create Makefiles. 35d10e53fSmrg# Generated by GNU Autoconf 2.71 for font-adobe-100dpi 1.0.4. 4ed029a5fSmrg# 55d10e53fSmrg# Report bugs to <https://gitlab.freedesktop.org/xorg/font/adobe-100dpi/-/issues>. 6ed029a5fSmrg# 77973f115Smrg# 85d10e53fSmrg# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, 95d10e53fSmrg# Inc. 107973f115Smrg# 117973f115Smrg# 12ed029a5fSmrg# This configure script is free software; the Free Software Foundation 13ed029a5fSmrg# gives unlimited permission to copy, distribute and modify it. 147973f115Smrg## -------------------- ## 157973f115Smrg## M4sh Initialization. ## 167973f115Smrg## -------------------- ## 17ed029a5fSmrg 18dd519f38Smrg# Be more Bourne compatible 19dd519f38SmrgDUALCASE=1; export DUALCASE # for MKS sh 205d10e53fSmrgas_nop=: 215d10e53fSmrgif test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 225d10e53fSmrgthen : 23ed029a5fSmrg emulate sh 24ed029a5fSmrg NULLCMD=: 25dd519f38Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 26ed029a5fSmrg # is contrary to our usage. Disable this feature. 27ed029a5fSmrg alias -g '${1+"$@"}'='"$@"' 28dd519f38Smrg setopt NO_GLOB_SUBST 295d10e53fSmrgelse $as_nop 307973f115Smrg case `(set -o) 2>/dev/null` in #( 317973f115Smrg *posix*) : 327973f115Smrg set -o posix ;; #( 337973f115Smrg *) : 347973f115Smrg ;; 35dd519f38Smrgesac 36dd519f38Smrgfi 37dd519f38Smrg 38dd519f38Smrg 395d10e53fSmrg 405d10e53fSmrg# Reset variables that may have inherited troublesome values from 415d10e53fSmrg# the environment. 425d10e53fSmrg 435d10e53fSmrg# IFS needs to be set, to space, tab, and newline, in precisely that order. 445d10e53fSmrg# (If _AS_PATH_WALK were called with IFS unset, it would have the 455d10e53fSmrg# side effect of setting IFS to empty, thus disabling word splitting.) 465d10e53fSmrg# Quoting is to prevent editors from complaining about space-tab. 47dd519f38Smrgas_nl=' 48dd519f38Smrg' 49dd519f38Smrgexport as_nl 505d10e53fSmrgIFS=" "" $as_nl" 515d10e53fSmrg 525d10e53fSmrgPS1='$ ' 535d10e53fSmrgPS2='> ' 545d10e53fSmrgPS4='+ ' 555d10e53fSmrg 565d10e53fSmrg# Ensure predictable behavior from utilities with locale-dependent output. 575d10e53fSmrgLC_ALL=C 585d10e53fSmrgexport LC_ALL 595d10e53fSmrgLANGUAGE=C 605d10e53fSmrgexport LANGUAGE 615d10e53fSmrg 625d10e53fSmrg# We cannot yet rely on "unset" to work, but we need these variables 635d10e53fSmrg# to be unset--not just set to an empty or harmless value--now, to 645d10e53fSmrg# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct 655d10e53fSmrg# also avoids known problems related to "unset" and subshell syntax 665d10e53fSmrg# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). 675d10e53fSmrgfor as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 685d10e53fSmrgdo eval test \${$as_var+y} \ 695d10e53fSmrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 705d10e53fSmrgdone 715d10e53fSmrg 725d10e53fSmrg# Ensure that fds 0, 1, and 2 are open. 735d10e53fSmrgif (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 745d10e53fSmrgif (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 755d10e53fSmrgif (exec 3>&2) ; then :; else exec 2>/dev/null; fi 76dd519f38Smrg 77dd519f38Smrg# The user is always right. 785d10e53fSmrgif ${PATH_SEPARATOR+false} :; then 79dd519f38Smrg PATH_SEPARATOR=: 80dd519f38Smrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 81dd519f38Smrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 82dd519f38Smrg PATH_SEPARATOR=';' 83dd519f38Smrg } 84ed029a5fSmrgfi 85ed029a5fSmrg 86ed029a5fSmrg 87dd519f38Smrg# Find who we are. Look in the path if we contain no directory separator. 887973f115Smrgas_myself= 897973f115Smrgcase $0 in #(( 90dd519f38Smrg *[\\/]* ) as_myself=$0 ;; 91dd519f38Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 92dd519f38Smrgfor as_dir in $PATH 93dd519f38Smrgdo 94dd519f38Smrg IFS=$as_save_IFS 955d10e53fSmrg case $as_dir in #((( 965d10e53fSmrg '') as_dir=./ ;; 975d10e53fSmrg */) ;; 985d10e53fSmrg *) as_dir=$as_dir/ ;; 995d10e53fSmrg esac 1005d10e53fSmrg test -r "$as_dir$0" && as_myself=$as_dir$0 && break 1017973f115Smrg done 102dd519f38SmrgIFS=$as_save_IFS 103dd519f38Smrg 104dd519f38Smrg ;; 105dd519f38Smrgesac 106dd519f38Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 107dd519f38Smrg# in which case we are not to be found in the path. 108dd519f38Smrgif test "x$as_myself" = x; then 109dd519f38Smrg as_myself=$0 110dd519f38Smrgfi 111dd519f38Smrgif test ! -f "$as_myself"; then 1125d10e53fSmrg printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 1137973f115Smrg exit 1 114dd519f38Smrgfi 115dd519f38Smrg 1167973f115Smrg 1175d10e53fSmrg# Use a proper internal environment variable to ensure we don't fall 1185d10e53fSmrg # into an infinite loop, continuously re-executing ourselves. 1195d10e53fSmrg if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 1205d10e53fSmrg _as_can_reexec=no; export _as_can_reexec; 1215d10e53fSmrg # We cannot yet assume a decent shell, so we have to provide a 1225d10e53fSmrg# neutralization value for shells without unset; and this also 1235d10e53fSmrg# works around shells that cannot unset nonexistent variables. 1245d10e53fSmrg# Preserve -v and -x to the replacement shell. 1255d10e53fSmrgBASH_ENV=/dev/null 1265d10e53fSmrgENV=/dev/null 1275d10e53fSmrg(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 1285d10e53fSmrgcase $- in # (((( 1295d10e53fSmrg *v*x* | *x*v* ) as_opts=-vx ;; 1305d10e53fSmrg *v* ) as_opts=-v ;; 1315d10e53fSmrg *x* ) as_opts=-x ;; 1325d10e53fSmrg * ) as_opts= ;; 1335d10e53fSmrgesac 1345d10e53fSmrgexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 1355d10e53fSmrg# Admittedly, this is quite paranoid, since all the known shells bail 1365d10e53fSmrg# out after a failed `exec'. 1375d10e53fSmrgprintf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 1385d10e53fSmrgexit 255 1395d10e53fSmrg fi 1405d10e53fSmrg # We don't want this to propagate to other subprocesses. 1415d10e53fSmrg { _as_can_reexec=; unset _as_can_reexec;} 1427973f115Smrgif test "x$CONFIG_SHELL" = x; then 1435d10e53fSmrg as_bourne_compatible="as_nop=: 1445d10e53fSmrgif test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 1455d10e53fSmrgthen : 1467973f115Smrg emulate sh 1477973f115Smrg NULLCMD=: 1487973f115Smrg # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 1497973f115Smrg # is contrary to our usage. Disable this feature. 1507973f115Smrg alias -g '\${1+\"\$@\"}'='\"\$@\"' 1517973f115Smrg setopt NO_GLOB_SUBST 1525d10e53fSmrgelse \$as_nop 1537973f115Smrg case \`(set -o) 2>/dev/null\` in #( 1547973f115Smrg *posix*) : 1557973f115Smrg set -o posix ;; #( 1567973f115Smrg *) : 1577973f115Smrg ;; 1587973f115Smrgesac 1597973f115Smrgfi 1607973f115Smrg" 1617973f115Smrg as_required="as_fn_return () { (exit \$1); } 1627973f115Smrgas_fn_success () { as_fn_return 0; } 1637973f115Smrgas_fn_failure () { as_fn_return 1; } 1647973f115Smrgas_fn_ret_success () { return 0; } 1657973f115Smrgas_fn_ret_failure () { return 1; } 1667973f115Smrg 1677973f115Smrgexitcode=0 1687973f115Smrgas_fn_success || { exitcode=1; echo as_fn_success failed.; } 1697973f115Smrgas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 1707973f115Smrgas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 1717973f115Smrgas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 1725d10e53fSmrgif ( set x; as_fn_ret_success y && test x = \"\$1\" ) 1735d10e53fSmrgthen : 1747973f115Smrg 1755d10e53fSmrgelse \$as_nop 1767973f115Smrg exitcode=1; echo positional parameters were not saved. 1777973f115Smrgfi 1785d10e53fSmrgtest x\$exitcode = x0 || exit 1 1795d10e53fSmrgblah=\$(echo \$(echo blah)) 1805d10e53fSmrgtest x\"\$blah\" = xblah || exit 1 1815d10e53fSmrgtest -x / || exit 1" 1827973f115Smrg as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 1837973f115Smrg as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 1847973f115Smrg eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 1857973f115Smrg test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 1867973f115Smrgtest \$(( 1 + 1 )) = 2 || exit 1" 1875d10e53fSmrg if (eval "$as_required") 2>/dev/null 1885d10e53fSmrgthen : 1897973f115Smrg as_have_required=yes 1905d10e53fSmrgelse $as_nop 1917973f115Smrg as_have_required=no 1927973f115Smrgfi 1935d10e53fSmrg if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null 1945d10e53fSmrgthen : 1957973f115Smrg 1965d10e53fSmrgelse $as_nop 1977973f115Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1987973f115Smrgas_found=false 1997973f115Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 2007973f115Smrgdo 2017973f115Smrg IFS=$as_save_IFS 2025d10e53fSmrg case $as_dir in #((( 2035d10e53fSmrg '') as_dir=./ ;; 2045d10e53fSmrg */) ;; 2055d10e53fSmrg *) as_dir=$as_dir/ ;; 2065d10e53fSmrg esac 2077973f115Smrg as_found=: 2087973f115Smrg case $as_dir in #( 2097973f115Smrg /*) 2107973f115Smrg for as_base in sh bash ksh sh5; do 2117973f115Smrg # Try only shells that exist, to save several forks. 2125d10e53fSmrg as_shell=$as_dir$as_base 2137973f115Smrg if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 2145d10e53fSmrg as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null 2155d10e53fSmrgthen : 2167973f115Smrg CONFIG_SHELL=$as_shell as_have_required=yes 2175d10e53fSmrg if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null 2185d10e53fSmrgthen : 2197973f115Smrg break 2 2207973f115Smrgfi 2217973f115Smrgfi 2227973f115Smrg done;; 2237973f115Smrg esac 2247973f115Smrg as_found=false 2257973f115Smrgdone 2267973f115SmrgIFS=$as_save_IFS 2275d10e53fSmrgif $as_found 2285d10e53fSmrgthen : 2297973f115Smrg 2305d10e53fSmrgelse $as_nop 2315d10e53fSmrg if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 2325d10e53fSmrg as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null 2335d10e53fSmrgthen : 2345d10e53fSmrg CONFIG_SHELL=$SHELL as_have_required=yes 2357973f115Smrgfi 2365d10e53fSmrgfi 2375d10e53fSmrg 2387973f115Smrg 2395d10e53fSmrg if test "x$CONFIG_SHELL" != x 2405d10e53fSmrgthen : 2415d10e53fSmrg export CONFIG_SHELL 2425d10e53fSmrg # We cannot yet assume a decent shell, so we have to provide a 2435d10e53fSmrg# neutralization value for shells without unset; and this also 2445d10e53fSmrg# works around shells that cannot unset nonexistent variables. 2455d10e53fSmrg# Preserve -v and -x to the replacement shell. 2465d10e53fSmrgBASH_ENV=/dev/null 2475d10e53fSmrgENV=/dev/null 2485d10e53fSmrg(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 2495d10e53fSmrgcase $- in # (((( 2505d10e53fSmrg *v*x* | *x*v* ) as_opts=-vx ;; 2515d10e53fSmrg *v* ) as_opts=-v ;; 2525d10e53fSmrg *x* ) as_opts=-x ;; 2535d10e53fSmrg * ) as_opts= ;; 2545d10e53fSmrgesac 2555d10e53fSmrgexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 2565d10e53fSmrg# Admittedly, this is quite paranoid, since all the known shells bail 2575d10e53fSmrg# out after a failed `exec'. 2585d10e53fSmrgprintf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 2595d10e53fSmrgexit 255 2605d10e53fSmrgfi 2615d10e53fSmrg 2625d10e53fSmrg if test x$as_have_required = xno 2635d10e53fSmrgthen : 2645d10e53fSmrg printf "%s\n" "$0: This script requires a shell more modern than all" 2655d10e53fSmrg printf "%s\n" "$0: the shells that I found on your system." 2665d10e53fSmrg if test ${ZSH_VERSION+y} ; then 2675d10e53fSmrg printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should" 2685d10e53fSmrg printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later." 2697973f115Smrg else 2705d10e53fSmrg printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and 2715d10e53fSmrg$0: https://gitlab.freedesktop.org/xorg/font/adobe-100dpi/-/issues 2727973f115Smrg$0: about your system, including any error possibly output 2737973f115Smrg$0: before this message. Then install a modern shell, or 2747973f115Smrg$0: manually run the script under such a shell if you do 2757973f115Smrg$0: have one." 2767973f115Smrg fi 2777973f115Smrg exit 1 2787973f115Smrgfi 2797973f115Smrgfi 2807973f115Smrgfi 2817973f115SmrgSHELL=${CONFIG_SHELL-/bin/sh} 2827973f115Smrgexport SHELL 2837973f115Smrg# Unset more variables known to interfere with behavior of common tools. 2847973f115SmrgCLICOLOR_FORCE= GREP_OPTIONS= 2857973f115Smrgunset CLICOLOR_FORCE GREP_OPTIONS 2867973f115Smrg 2877973f115Smrg## --------------------- ## 2887973f115Smrg## M4sh Shell Functions. ## 2897973f115Smrg## --------------------- ## 2907973f115Smrg# as_fn_unset VAR 2917973f115Smrg# --------------- 2927973f115Smrg# Portably unset VAR. 2937973f115Smrgas_fn_unset () 2947973f115Smrg{ 2957973f115Smrg { eval $1=; unset $1;} 2967973f115Smrg} 2977973f115Smrgas_unset=as_fn_unset 2987973f115Smrg 2995d10e53fSmrg 3007973f115Smrg# as_fn_set_status STATUS 3017973f115Smrg# ----------------------- 3027973f115Smrg# Set $? to STATUS, without forking. 3037973f115Smrgas_fn_set_status () 3047973f115Smrg{ 3057973f115Smrg return $1 3067973f115Smrg} # as_fn_set_status 3077973f115Smrg 3087973f115Smrg# as_fn_exit STATUS 3097973f115Smrg# ----------------- 3107973f115Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 3117973f115Smrgas_fn_exit () 3127973f115Smrg{ 3137973f115Smrg set +e 3147973f115Smrg as_fn_set_status $1 3157973f115Smrg exit $1 3167973f115Smrg} # as_fn_exit 3175d10e53fSmrg# as_fn_nop 3185d10e53fSmrg# --------- 3195d10e53fSmrg# Do nothing but, unlike ":", preserve the value of $?. 3205d10e53fSmrgas_fn_nop () 3215d10e53fSmrg{ 3225d10e53fSmrg return $? 3235d10e53fSmrg} 3245d10e53fSmrgas_nop=as_fn_nop 3257973f115Smrg 3267973f115Smrg# as_fn_mkdir_p 3277973f115Smrg# ------------- 3287973f115Smrg# Create "$as_dir" as a directory, including parents if necessary. 3297973f115Smrgas_fn_mkdir_p () 3307973f115Smrg{ 3317973f115Smrg 3327973f115Smrg case $as_dir in #( 3337973f115Smrg -*) as_dir=./$as_dir;; 3347973f115Smrg esac 3357973f115Smrg test -d "$as_dir" || eval $as_mkdir_p || { 3367973f115Smrg as_dirs= 3377973f115Smrg while :; do 3387973f115Smrg case $as_dir in #( 3395d10e53fSmrg *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 3407973f115Smrg *) as_qdir=$as_dir;; 3417973f115Smrg esac 3427973f115Smrg as_dirs="'$as_qdir' $as_dirs" 3437973f115Smrg as_dir=`$as_dirname -- "$as_dir" || 3447973f115Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3457973f115Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 3467973f115Smrg X"$as_dir" : 'X\(//\)$' \| \ 3477973f115Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 3485d10e53fSmrgprintf "%s\n" X"$as_dir" | 3497973f115Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3507973f115Smrg s//\1/ 3517973f115Smrg q 3527973f115Smrg } 3537973f115Smrg /^X\(\/\/\)[^/].*/{ 3547973f115Smrg s//\1/ 3557973f115Smrg q 3567973f115Smrg } 3577973f115Smrg /^X\(\/\/\)$/{ 3587973f115Smrg s//\1/ 3597973f115Smrg q 3607973f115Smrg } 3617973f115Smrg /^X\(\/\).*/{ 3627973f115Smrg s//\1/ 3637973f115Smrg q 3647973f115Smrg } 3657973f115Smrg s/.*/./; q'` 3667973f115Smrg test -d "$as_dir" && break 3677973f115Smrg done 3687973f115Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 3697973f115Smrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 3707973f115Smrg 3717973f115Smrg 3727973f115Smrg} # as_fn_mkdir_p 3735d10e53fSmrg 3745d10e53fSmrg# as_fn_executable_p FILE 3755d10e53fSmrg# ----------------------- 3765d10e53fSmrg# Test if FILE is an executable regular file. 3775d10e53fSmrgas_fn_executable_p () 3785d10e53fSmrg{ 3795d10e53fSmrg test -f "$1" && test -x "$1" 3805d10e53fSmrg} # as_fn_executable_p 3817973f115Smrg# as_fn_append VAR VALUE 3827973f115Smrg# ---------------------- 3837973f115Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take 3847973f115Smrg# advantage of any shell optimizations that allow amortized linear growth over 3857973f115Smrg# repeated appends, instead of the typical quadratic growth present in naive 3867973f115Smrg# implementations. 3875d10e53fSmrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 3885d10e53fSmrgthen : 3897973f115Smrg eval 'as_fn_append () 3907973f115Smrg { 3917973f115Smrg eval $1+=\$2 3927973f115Smrg }' 3935d10e53fSmrgelse $as_nop 3947973f115Smrg as_fn_append () 3957973f115Smrg { 3967973f115Smrg eval $1=\$$1\$2 3977973f115Smrg } 3987973f115Smrgfi # as_fn_append 3997973f115Smrg 4007973f115Smrg# as_fn_arith ARG... 4017973f115Smrg# ------------------ 4027973f115Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the 4037973f115Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 4047973f115Smrg# must be portable across $(()) and expr. 4055d10e53fSmrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 4065d10e53fSmrgthen : 4077973f115Smrg eval 'as_fn_arith () 4087973f115Smrg { 4097973f115Smrg as_val=$(( $* )) 4107973f115Smrg }' 4115d10e53fSmrgelse $as_nop 4127973f115Smrg as_fn_arith () 4137973f115Smrg { 4147973f115Smrg as_val=`expr "$@" || test $? -eq 1` 4157973f115Smrg } 4167973f115Smrgfi # as_fn_arith 4177973f115Smrg 4185d10e53fSmrg# as_fn_nop 4195d10e53fSmrg# --------- 4205d10e53fSmrg# Do nothing but, unlike ":", preserve the value of $?. 4215d10e53fSmrgas_fn_nop () 4225d10e53fSmrg{ 4235d10e53fSmrg return $? 4245d10e53fSmrg} 4255d10e53fSmrgas_nop=as_fn_nop 4267973f115Smrg 4277973f115Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 4287973f115Smrg# ---------------------------------------- 4297973f115Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 4307973f115Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 4317973f115Smrg# script with STATUS, using 1 if that was 0. 4327973f115Smrgas_fn_error () 4337973f115Smrg{ 4347973f115Smrg as_status=$1; test $as_status -eq 0 && as_status=1 4357973f115Smrg if test "$4"; then 4367973f115Smrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 4375d10e53fSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 4387973f115Smrg fi 4395d10e53fSmrg printf "%s\n" "$as_me: error: $2" >&2 4407973f115Smrg as_fn_exit $as_status 4417973f115Smrg} # as_fn_error 4427973f115Smrg 443dd519f38Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 444dd519f38Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 445ed029a5fSmrg as_expr=expr 446ed029a5fSmrgelse 447ed029a5fSmrg as_expr=false 448ed029a5fSmrgfi 449ed029a5fSmrg 450dd519f38Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 451ed029a5fSmrg as_basename=basename 452ed029a5fSmrgelse 453ed029a5fSmrg as_basename=false 454ed029a5fSmrgfi 455ed029a5fSmrg 4567973f115Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 4577973f115Smrg as_dirname=dirname 4587973f115Smrgelse 4597973f115Smrg as_dirname=false 4607973f115Smrgfi 461ed029a5fSmrg 462dd519f38Smrgas_me=`$as_basename -- "$0" || 463ed029a5fSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 464ed029a5fSmrg X"$0" : 'X\(//\)$' \| \ 465dd519f38Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 4665d10e53fSmrgprintf "%s\n" X/"$0" | 467dd519f38Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 468dd519f38Smrg s//\1/ 469dd519f38Smrg q 470dd519f38Smrg } 471dd519f38Smrg /^X\/\(\/\/\)$/{ 472dd519f38Smrg s//\1/ 473dd519f38Smrg q 474dd519f38Smrg } 475dd519f38Smrg /^X\/\(\/\).*/{ 476dd519f38Smrg s//\1/ 477dd519f38Smrg q 478dd519f38Smrg } 479dd519f38Smrg s/.*/./; q'` 480ed029a5fSmrg 4817973f115Smrg# Avoid depending upon Character Ranges. 4827973f115Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 4837973f115Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 4847973f115Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 4857973f115Smrgas_cr_digits='0123456789' 4867973f115Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 487ed029a5fSmrg 488ed029a5fSmrg 4897973f115Smrg as_lineno_1=$LINENO as_lineno_1a=$LINENO 4907973f115Smrg as_lineno_2=$LINENO as_lineno_2a=$LINENO 4917973f115Smrg eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 4927973f115Smrg test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 4937973f115Smrg # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 4947973f115Smrg sed -n ' 4957973f115Smrg p 4967973f115Smrg /[$]LINENO/= 4977973f115Smrg ' <$as_myself | 4987973f115Smrg sed ' 4997973f115Smrg s/[$]LINENO.*/&-/ 5007973f115Smrg t lineno 5017973f115Smrg b 5027973f115Smrg :lineno 5037973f115Smrg N 5047973f115Smrg :loop 5057973f115Smrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 5067973f115Smrg t loop 5077973f115Smrg s/-\n.*// 5087973f115Smrg ' >$as_me.lineno && 5097973f115Smrg chmod +x "$as_me.lineno" || 5105d10e53fSmrg { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 511ed029a5fSmrg 5125d10e53fSmrg # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 5135d10e53fSmrg # already done that, so ensure we don't try to do so again and fall 5145d10e53fSmrg # in an infinite loop. This has already happened in practice. 5155d10e53fSmrg _as_can_reexec=no; export _as_can_reexec 5167973f115Smrg # Don't try to exec as it changes $[0], causing all sort of problems 5177973f115Smrg # (the dirname of $[0] is not the place where we might find the 5187973f115Smrg # original and so on. Autoconf is especially sensitive to this). 5197973f115Smrg . "./$as_me.lineno" 5207973f115Smrg # Exit status is that of the last command. 5217973f115Smrg exit 522dd519f38Smrg} 523ed029a5fSmrg 5245d10e53fSmrg 5255d10e53fSmrg# Determine whether it's possible to make 'echo' print without a newline. 5265d10e53fSmrg# These variables are no longer used directly by Autoconf, but are AC_SUBSTed 5275d10e53fSmrg# for compatibility with existing Makefiles. 5287973f115SmrgECHO_C= ECHO_N= ECHO_T= 5297973f115Smrgcase `echo -n x` in #((((( 5307973f115Smrg-n*) 5317973f115Smrg case `echo 'xy\c'` in 5327973f115Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 5337973f115Smrg xy) ECHO_C='\c';; 5347973f115Smrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 5357973f115Smrg ECHO_T=' ';; 5367973f115Smrg esac;; 5377973f115Smrg*) 5387973f115Smrg ECHO_N='-n';; 5397973f115Smrgesac 540ed029a5fSmrg 5415d10e53fSmrg# For backward compatibility with old third-party macros, we provide 5425d10e53fSmrg# the shell variables $as_echo and $as_echo_n. New code should use 5435d10e53fSmrg# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. 5445d10e53fSmrgas_echo='printf %s\n' 5455d10e53fSmrgas_echo_n='printf %s' 5465d10e53fSmrg 5475d10e53fSmrg 5487973f115Smrgrm -f conf$$ conf$$.exe conf$$.file 5497973f115Smrgif test -d conf$$.dir; then 5507973f115Smrg rm -f conf$$.dir/conf$$.file 5517973f115Smrgelse 5527973f115Smrg rm -f conf$$.dir 5537973f115Smrg mkdir conf$$.dir 2>/dev/null 554dd519f38Smrgfi 5557973f115Smrgif (echo >conf$$.file) 2>/dev/null; then 5567973f115Smrg if ln -s conf$$.file conf$$ 2>/dev/null; then 5577973f115Smrg as_ln_s='ln -s' 5587973f115Smrg # ... but there are two gotchas: 5597973f115Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 5607973f115Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 5615d10e53fSmrg # In both cases, we have to default to `cp -pR'. 5627973f115Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 5635d10e53fSmrg as_ln_s='cp -pR' 5647973f115Smrg elif ln conf$$.file conf$$ 2>/dev/null; then 5657973f115Smrg as_ln_s=ln 5667973f115Smrg else 5675d10e53fSmrg as_ln_s='cp -pR' 5687973f115Smrg fi 569dd519f38Smrgelse 5705d10e53fSmrg as_ln_s='cp -pR' 571dd519f38Smrgfi 5727973f115Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5737973f115Smrgrmdir conf$$.dir 2>/dev/null 574dd519f38Smrg 5757973f115Smrgif mkdir -p . 2>/dev/null; then 5767973f115Smrg as_mkdir_p='mkdir -p "$as_dir"' 5777973f115Smrgelse 5787973f115Smrg test -d ./-p && rmdir ./-p 5797973f115Smrg as_mkdir_p=false 580dd519f38Smrgfi 581dd519f38Smrg 5825d10e53fSmrgas_test_x='test -x' 5835d10e53fSmrgas_executable_p=as_fn_executable_p 584dd519f38Smrg 5857973f115Smrg# Sed expression to map a string onto a valid CPP name. 5867973f115Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 587dd519f38Smrg 5887973f115Smrg# Sed expression to map a string onto a valid variable name. 5897973f115Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 590dd519f38Smrg 591dd519f38Smrg 5927973f115Smrgtest -n "$DJDIR" || exec 7<&0 </dev/null 5937973f115Smrgexec 6>&1 594ed029a5fSmrg 595ed029a5fSmrg# Name of the host. 5967973f115Smrg# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 597ed029a5fSmrg# so uname gets run too. 598ed029a5fSmrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 599ed029a5fSmrg 600ed029a5fSmrg# 601ed029a5fSmrg# Initializations. 602ed029a5fSmrg# 603ed029a5fSmrgac_default_prefix=/usr/local 604dd519f38Smrgac_clean_files= 605ed029a5fSmrgac_config_libobj_dir=. 606dd519f38SmrgLIBOBJS= 607ed029a5fSmrgcross_compiling=no 608ed029a5fSmrgsubdirs= 609ed029a5fSmrgMFLAGS= 610ed029a5fSmrgMAKEFLAGS= 611ed029a5fSmrg 612ed029a5fSmrg# Identity of this package. 613ed029a5fSmrgPACKAGE_NAME='font-adobe-100dpi' 614ed029a5fSmrgPACKAGE_TARNAME='font-adobe-100dpi' 6155d10e53fSmrgPACKAGE_VERSION='1.0.4' 6165d10e53fSmrgPACKAGE_STRING='font-adobe-100dpi 1.0.4' 6175d10e53fSmrgPACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/font/adobe-100dpi/-/issues' 6187973f115SmrgPACKAGE_URL='' 619ed029a5fSmrg 6205d10e53fSmrgac_subst_vars='LTLIBOBJS 621dd519f38SmrgLIBOBJS 622dd519f38SmrgISO8859_15_FALSE 623dd519f38SmrgISO8859_15_TRUE 624dd519f38SmrgISO8859_14_FALSE 625dd519f38SmrgISO8859_14_TRUE 626dd519f38SmrgISO8859_13_FALSE 627dd519f38SmrgISO8859_13_TRUE 628dd519f38SmrgISO8859_10_FALSE 629dd519f38SmrgISO8859_10_TRUE 630dd519f38SmrgISO8859_9_FALSE 631dd519f38SmrgISO8859_9_TRUE 632dd519f38SmrgISO8859_4_FALSE 633dd519f38SmrgISO8859_4_TRUE 634dd519f38SmrgISO8859_3_FALSE 635dd519f38SmrgISO8859_3_TRUE 636dd519f38SmrgISO8859_2_FALSE 637dd519f38SmrgISO8859_2_TRUE 638dd519f38SmrgISO8859_1_FALSE 639dd519f38SmrgISO8859_1_TRUE 640dd519f38SmrgMAPFILES_PATH 641dd519f38SmrgMAPS_LIBS 642dd519f38SmrgMAPS_CFLAGS 643dd519f38SmrgUCS2ANY 644dd519f38SmrgCOMPRESS_SUFFIX 6455d10e53fSmrgCOMPRESS_FLAGS 646dd519f38SmrgCOMPRESS 647dd519f38SmrgBDFTOPCF 648dd519f38SmrgMKFONTDIR 649dd519f38SmrgRUN_FCCACHE 650dd519f38SmrgFCCACHE 651dd519f38SmrgFONTDIR 652dd519f38SmrgFONTROOTDIR 6537973f115SmrgMAN_SUBSTS 6547973f115SmrgXORG_MAN_PAGE 655dd519f38SmrgADMIN_MAN_DIR 656dd519f38SmrgDRIVER_MAN_DIR 657dd519f38SmrgMISC_MAN_DIR 658dd519f38SmrgFILE_MAN_DIR 659dd519f38SmrgLIB_MAN_DIR 660dd519f38SmrgAPP_MAN_DIR 661dd519f38SmrgADMIN_MAN_SUFFIX 662dd519f38SmrgDRIVER_MAN_SUFFIX 663dd519f38SmrgMISC_MAN_SUFFIX 664dd519f38SmrgFILE_MAN_SUFFIX 665dd519f38SmrgLIB_MAN_SUFFIX 666dd519f38SmrgAPP_MAN_SUFFIX 6677973f115SmrgSED 668dd519f38Smrghost_os 669dd519f38Smrghost_vendor 670dd519f38Smrghost_cpu 671dd519f38Smrghost 672dd519f38Smrgbuild_os 673dd519f38Smrgbuild_vendor 674dd519f38Smrgbuild_cpu 675dd519f38Smrgbuild 6767973f115SmrgINSTALL_CMD 6777973f115SmrgPKG_CONFIG_LIBDIR 6787973f115SmrgPKG_CONFIG_PATH 6797973f115SmrgPKG_CONFIG 680dd519f38SmrgCHANGELOG_CMD 6815d10e53fSmrgAM_BACKSLASH 6825d10e53fSmrgAM_DEFAULT_VERBOSITY 6835d10e53fSmrgAM_DEFAULT_V 6845d10e53fSmrgAM_V 6855d10e53fSmrgCSCOPE 6865d10e53fSmrgETAGS 6875d10e53fSmrgCTAGS 688dd519f38Smrgam__untar 689dd519f38Smrgam__tar 690dd519f38SmrgAMTAR 691dd519f38Smrgam__leading_dot 692dd519f38SmrgSET_MAKE 693dd519f38SmrgAWK 694dd519f38Smrgmkdir_p 695dd519f38SmrgMKDIR_P 696dd519f38SmrgINSTALL_STRIP_PROGRAM 697dd519f38SmrgSTRIP 698dd519f38Smrginstall_sh 699dd519f38SmrgMAKEINFO 700dd519f38SmrgAUTOHEADER 701dd519f38SmrgAUTOMAKE 702dd519f38SmrgAUTOCONF 703dd519f38SmrgACLOCAL 704dd519f38SmrgVERSION 705dd519f38SmrgPACKAGE 706dd519f38SmrgCYGPATH_W 707dd519f38Smrgam__isrc 708dd519f38SmrgINSTALL_DATA 709dd519f38SmrgINSTALL_SCRIPT 710dd519f38SmrgINSTALL_PROGRAM 711dd519f38Smrgtarget_alias 712dd519f38Smrghost_alias 713dd519f38Smrgbuild_alias 714dd519f38SmrgLIBS 715dd519f38SmrgECHO_T 716dd519f38SmrgECHO_N 717dd519f38SmrgECHO_C 718dd519f38SmrgDEFS 719dd519f38Smrgmandir 720dd519f38Smrglocaledir 721dd519f38Smrglibdir 722dd519f38Smrgpsdir 723dd519f38Smrgpdfdir 724dd519f38Smrgdvidir 725dd519f38Smrghtmldir 726dd519f38Smrginfodir 727dd519f38Smrgdocdir 728dd519f38Smrgoldincludedir 729dd519f38Smrgincludedir 7305d10e53fSmrgrunstatedir 731dd519f38Smrglocalstatedir 732dd519f38Smrgsharedstatedir 733dd519f38Smrgsysconfdir 734dd519f38Smrgdatadir 735dd519f38Smrgdatarootdir 736dd519f38Smrglibexecdir 737dd519f38Smrgsbindir 738dd519f38Smrgbindir 739dd519f38Smrgprogram_transform_name 740dd519f38Smrgprefix 741dd519f38Smrgexec_prefix 7427973f115SmrgPACKAGE_URL 743dd519f38SmrgPACKAGE_BUGREPORT 744dd519f38SmrgPACKAGE_STRING 745dd519f38SmrgPACKAGE_VERSION 746dd519f38SmrgPACKAGE_TARNAME 747dd519f38SmrgPACKAGE_NAME 748dd519f38SmrgPATH_SEPARATOR 749dd519f38SmrgSHELL' 750ed029a5fSmrgac_subst_files='' 751dd519f38Smrgac_user_opts=' 752dd519f38Smrgenable_option_checking 7537973f115Smrgenable_silent_rules 754dd519f38Smrgwith_fontrootdir 755dd519f38Smrgwith_fontdir 756dd519f38Smrgwith_compression 7577973f115Smrgenable_all_encodings 758dd519f38Smrgenable_iso8859_1 759dd519f38Smrgenable_iso8859_2 760dd519f38Smrgenable_iso8859_3 761dd519f38Smrgenable_iso8859_4 762dd519f38Smrgenable_iso8859_9 763dd519f38Smrgenable_iso8859_10 764dd519f38Smrgenable_iso8859_13 765dd519f38Smrgenable_iso8859_14 766dd519f38Smrgenable_iso8859_15 767dd519f38Smrg' 768dd519f38Smrg ac_precious_vars='build_alias 769dd519f38Smrghost_alias 770dd519f38Smrgtarget_alias 771dd519f38SmrgPKG_CONFIG 7727973f115SmrgPKG_CONFIG_PATH 7737973f115SmrgPKG_CONFIG_LIBDIR 774dd519f38SmrgMAPS_CFLAGS 775dd519f38SmrgMAPS_LIBS' 776dd519f38Smrg 777ed029a5fSmrg 778ed029a5fSmrg# Initialize some variables set by options. 779ed029a5fSmrgac_init_help= 780ed029a5fSmrgac_init_version=false 781dd519f38Smrgac_unrecognized_opts= 782dd519f38Smrgac_unrecognized_sep= 783ed029a5fSmrg# The variables have the same names as the options, with 784ed029a5fSmrg# dashes changed to underlines. 785ed029a5fSmrgcache_file=/dev/null 786ed029a5fSmrgexec_prefix=NONE 787ed029a5fSmrgno_create= 788ed029a5fSmrgno_recursion= 789ed029a5fSmrgprefix=NONE 790ed029a5fSmrgprogram_prefix=NONE 791ed029a5fSmrgprogram_suffix=NONE 792ed029a5fSmrgprogram_transform_name=s,x,x, 793ed029a5fSmrgsilent= 794ed029a5fSmrgsite= 795ed029a5fSmrgsrcdir= 796ed029a5fSmrgverbose= 797ed029a5fSmrgx_includes=NONE 798ed029a5fSmrgx_libraries=NONE 799ed029a5fSmrg 800ed029a5fSmrg# Installation directory options. 801ed029a5fSmrg# These are left unexpanded so users can "make install exec_prefix=/foo" 802ed029a5fSmrg# and all the variables that are supposed to be based on exec_prefix 803ed029a5fSmrg# by default will actually change. 804ed029a5fSmrg# Use braces instead of parens because sh, perl, etc. also accept them. 805dd519f38Smrg# (The list follows the same order as the GNU Coding Standards.) 806ed029a5fSmrgbindir='${exec_prefix}/bin' 807ed029a5fSmrgsbindir='${exec_prefix}/sbin' 808ed029a5fSmrglibexecdir='${exec_prefix}/libexec' 809dd519f38Smrgdatarootdir='${prefix}/share' 810dd519f38Smrgdatadir='${datarootdir}' 811ed029a5fSmrgsysconfdir='${prefix}/etc' 812ed029a5fSmrgsharedstatedir='${prefix}/com' 813ed029a5fSmrglocalstatedir='${prefix}/var' 8145d10e53fSmrgrunstatedir='${localstatedir}/run' 815ed029a5fSmrgincludedir='${prefix}/include' 816ed029a5fSmrgoldincludedir='/usr/include' 817dd519f38Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 818dd519f38Smrginfodir='${datarootdir}/info' 819dd519f38Smrghtmldir='${docdir}' 820dd519f38Smrgdvidir='${docdir}' 821dd519f38Smrgpdfdir='${docdir}' 822dd519f38Smrgpsdir='${docdir}' 823dd519f38Smrglibdir='${exec_prefix}/lib' 824dd519f38Smrglocaledir='${datarootdir}/locale' 825dd519f38Smrgmandir='${datarootdir}/man' 826ed029a5fSmrg 827ed029a5fSmrgac_prev= 828dd519f38Smrgac_dashdash= 829ed029a5fSmrgfor ac_option 830ed029a5fSmrgdo 831ed029a5fSmrg # If the previous option needs an argument, assign it. 832ed029a5fSmrg if test -n "$ac_prev"; then 833dd519f38Smrg eval $ac_prev=\$ac_option 834ed029a5fSmrg ac_prev= 835ed029a5fSmrg continue 836ed029a5fSmrg fi 837ed029a5fSmrg 838dd519f38Smrg case $ac_option in 8397973f115Smrg *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 8407973f115Smrg *=) ac_optarg= ;; 8417973f115Smrg *) ac_optarg=yes ;; 842dd519f38Smrg esac 843ed029a5fSmrg 844dd519f38Smrg case $ac_dashdash$ac_option in 845dd519f38Smrg --) 846dd519f38Smrg ac_dashdash=yes ;; 847ed029a5fSmrg 848ed029a5fSmrg -bindir | --bindir | --bindi | --bind | --bin | --bi) 849ed029a5fSmrg ac_prev=bindir ;; 850ed029a5fSmrg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 851ed029a5fSmrg bindir=$ac_optarg ;; 852ed029a5fSmrg 853ed029a5fSmrg -build | --build | --buil | --bui | --bu) 854ed029a5fSmrg ac_prev=build_alias ;; 855ed029a5fSmrg -build=* | --build=* | --buil=* | --bui=* | --bu=*) 856ed029a5fSmrg build_alias=$ac_optarg ;; 857ed029a5fSmrg 858ed029a5fSmrg -cache-file | --cache-file | --cache-fil | --cache-fi \ 859ed029a5fSmrg | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 860ed029a5fSmrg ac_prev=cache_file ;; 861ed029a5fSmrg -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 862ed029a5fSmrg | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 863ed029a5fSmrg cache_file=$ac_optarg ;; 864ed029a5fSmrg 865ed029a5fSmrg --config-cache | -C) 866ed029a5fSmrg cache_file=config.cache ;; 867ed029a5fSmrg 868dd519f38Smrg -datadir | --datadir | --datadi | --datad) 869ed029a5fSmrg ac_prev=datadir ;; 870dd519f38Smrg -datadir=* | --datadir=* | --datadi=* | --datad=*) 871ed029a5fSmrg datadir=$ac_optarg ;; 872ed029a5fSmrg 873dd519f38Smrg -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 874dd519f38Smrg | --dataroo | --dataro | --datar) 875dd519f38Smrg ac_prev=datarootdir ;; 876dd519f38Smrg -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 877dd519f38Smrg | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 878dd519f38Smrg datarootdir=$ac_optarg ;; 879dd519f38Smrg 880ed029a5fSmrg -disable-* | --disable-*) 881dd519f38Smrg ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 882ed029a5fSmrg # Reject names that are not valid shell variable names. 883dd519f38Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 8845d10e53fSmrg as_fn_error $? "invalid feature name: \`$ac_useropt'" 885dd519f38Smrg ac_useropt_orig=$ac_useropt 8865d10e53fSmrg ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 887dd519f38Smrg case $ac_user_opts in 888dd519f38Smrg *" 889dd519f38Smrg"enable_$ac_useropt" 890dd519f38Smrg"*) ;; 891dd519f38Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 892dd519f38Smrg ac_unrecognized_sep=', ';; 893dd519f38Smrg esac 894dd519f38Smrg eval enable_$ac_useropt=no ;; 895dd519f38Smrg 896dd519f38Smrg -docdir | --docdir | --docdi | --doc | --do) 897dd519f38Smrg ac_prev=docdir ;; 898dd519f38Smrg -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 899dd519f38Smrg docdir=$ac_optarg ;; 900dd519f38Smrg 901dd519f38Smrg -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 902dd519f38Smrg ac_prev=dvidir ;; 903dd519f38Smrg -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 904dd519f38Smrg dvidir=$ac_optarg ;; 905ed029a5fSmrg 906ed029a5fSmrg -enable-* | --enable-*) 907dd519f38Smrg ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 908ed029a5fSmrg # Reject names that are not valid shell variable names. 909dd519f38Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 9105d10e53fSmrg as_fn_error $? "invalid feature name: \`$ac_useropt'" 911dd519f38Smrg ac_useropt_orig=$ac_useropt 9125d10e53fSmrg ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 913dd519f38Smrg case $ac_user_opts in 914dd519f38Smrg *" 915dd519f38Smrg"enable_$ac_useropt" 916dd519f38Smrg"*) ;; 917dd519f38Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 918dd519f38Smrg ac_unrecognized_sep=', ';; 919ed029a5fSmrg esac 920dd519f38Smrg eval enable_$ac_useropt=\$ac_optarg ;; 921ed029a5fSmrg 922ed029a5fSmrg -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 923ed029a5fSmrg | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 924ed029a5fSmrg | --exec | --exe | --ex) 925ed029a5fSmrg ac_prev=exec_prefix ;; 926ed029a5fSmrg -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 927ed029a5fSmrg | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 928ed029a5fSmrg | --exec=* | --exe=* | --ex=*) 929ed029a5fSmrg exec_prefix=$ac_optarg ;; 930ed029a5fSmrg 931ed029a5fSmrg -gas | --gas | --ga | --g) 932ed029a5fSmrg # Obsolete; use --with-gas. 933ed029a5fSmrg with_gas=yes ;; 934ed029a5fSmrg 935ed029a5fSmrg -help | --help | --hel | --he | -h) 936ed029a5fSmrg ac_init_help=long ;; 937ed029a5fSmrg -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 938ed029a5fSmrg ac_init_help=recursive ;; 939ed029a5fSmrg -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 940ed029a5fSmrg ac_init_help=short ;; 941ed029a5fSmrg 942ed029a5fSmrg -host | --host | --hos | --ho) 943ed029a5fSmrg ac_prev=host_alias ;; 944ed029a5fSmrg -host=* | --host=* | --hos=* | --ho=*) 945ed029a5fSmrg host_alias=$ac_optarg ;; 946ed029a5fSmrg 947dd519f38Smrg -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 948dd519f38Smrg ac_prev=htmldir ;; 949dd519f38Smrg -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 950dd519f38Smrg | --ht=*) 951dd519f38Smrg htmldir=$ac_optarg ;; 952dd519f38Smrg 953ed029a5fSmrg -includedir | --includedir | --includedi | --included | --include \ 954ed029a5fSmrg | --includ | --inclu | --incl | --inc) 955ed029a5fSmrg ac_prev=includedir ;; 956ed029a5fSmrg -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 957ed029a5fSmrg | --includ=* | --inclu=* | --incl=* | --inc=*) 958ed029a5fSmrg includedir=$ac_optarg ;; 959ed029a5fSmrg 960ed029a5fSmrg -infodir | --infodir | --infodi | --infod | --info | --inf) 961ed029a5fSmrg ac_prev=infodir ;; 962ed029a5fSmrg -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 963ed029a5fSmrg infodir=$ac_optarg ;; 964ed029a5fSmrg 965ed029a5fSmrg -libdir | --libdir | --libdi | --libd) 966ed029a5fSmrg ac_prev=libdir ;; 967ed029a5fSmrg -libdir=* | --libdir=* | --libdi=* | --libd=*) 968ed029a5fSmrg libdir=$ac_optarg ;; 969ed029a5fSmrg 970ed029a5fSmrg -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 971ed029a5fSmrg | --libexe | --libex | --libe) 972ed029a5fSmrg ac_prev=libexecdir ;; 973ed029a5fSmrg -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 974ed029a5fSmrg | --libexe=* | --libex=* | --libe=*) 975ed029a5fSmrg libexecdir=$ac_optarg ;; 976ed029a5fSmrg 977dd519f38Smrg -localedir | --localedir | --localedi | --localed | --locale) 978dd519f38Smrg ac_prev=localedir ;; 979dd519f38Smrg -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 980dd519f38Smrg localedir=$ac_optarg ;; 981dd519f38Smrg 982ed029a5fSmrg -localstatedir | --localstatedir | --localstatedi | --localstated \ 983dd519f38Smrg | --localstate | --localstat | --localsta | --localst | --locals) 984ed029a5fSmrg ac_prev=localstatedir ;; 985ed029a5fSmrg -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 986dd519f38Smrg | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 987ed029a5fSmrg localstatedir=$ac_optarg ;; 988ed029a5fSmrg 989ed029a5fSmrg -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 990ed029a5fSmrg ac_prev=mandir ;; 991ed029a5fSmrg -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 992ed029a5fSmrg mandir=$ac_optarg ;; 993ed029a5fSmrg 994ed029a5fSmrg -nfp | --nfp | --nf) 995ed029a5fSmrg # Obsolete; use --without-fp. 996ed029a5fSmrg with_fp=no ;; 997ed029a5fSmrg 998ed029a5fSmrg -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 999ed029a5fSmrg | --no-cr | --no-c | -n) 1000ed029a5fSmrg no_create=yes ;; 1001ed029a5fSmrg 1002ed029a5fSmrg -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1003ed029a5fSmrg | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1004ed029a5fSmrg no_recursion=yes ;; 1005ed029a5fSmrg 1006ed029a5fSmrg -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1007ed029a5fSmrg | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1008ed029a5fSmrg | --oldin | --oldi | --old | --ol | --o) 1009ed029a5fSmrg ac_prev=oldincludedir ;; 1010ed029a5fSmrg -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1011ed029a5fSmrg | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1012ed029a5fSmrg | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1013ed029a5fSmrg oldincludedir=$ac_optarg ;; 1014ed029a5fSmrg 1015ed029a5fSmrg -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1016ed029a5fSmrg ac_prev=prefix ;; 1017ed029a5fSmrg -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1018ed029a5fSmrg prefix=$ac_optarg ;; 1019ed029a5fSmrg 1020ed029a5fSmrg -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1021ed029a5fSmrg | --program-pre | --program-pr | --program-p) 1022ed029a5fSmrg ac_prev=program_prefix ;; 1023ed029a5fSmrg -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1024ed029a5fSmrg | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1025ed029a5fSmrg program_prefix=$ac_optarg ;; 1026ed029a5fSmrg 1027ed029a5fSmrg -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1028ed029a5fSmrg | --program-suf | --program-su | --program-s) 1029ed029a5fSmrg ac_prev=program_suffix ;; 1030ed029a5fSmrg -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1031ed029a5fSmrg | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1032ed029a5fSmrg program_suffix=$ac_optarg ;; 1033ed029a5fSmrg 1034ed029a5fSmrg -program-transform-name | --program-transform-name \ 1035ed029a5fSmrg | --program-transform-nam | --program-transform-na \ 1036ed029a5fSmrg | --program-transform-n | --program-transform- \ 1037ed029a5fSmrg | --program-transform | --program-transfor \ 1038ed029a5fSmrg | --program-transfo | --program-transf \ 1039ed029a5fSmrg | --program-trans | --program-tran \ 1040ed029a5fSmrg | --progr-tra | --program-tr | --program-t) 1041ed029a5fSmrg ac_prev=program_transform_name ;; 1042ed029a5fSmrg -program-transform-name=* | --program-transform-name=* \ 1043ed029a5fSmrg | --program-transform-nam=* | --program-transform-na=* \ 1044ed029a5fSmrg | --program-transform-n=* | --program-transform-=* \ 1045ed029a5fSmrg | --program-transform=* | --program-transfor=* \ 1046ed029a5fSmrg | --program-transfo=* | --program-transf=* \ 1047ed029a5fSmrg | --program-trans=* | --program-tran=* \ 1048ed029a5fSmrg | --progr-tra=* | --program-tr=* | --program-t=*) 1049ed029a5fSmrg program_transform_name=$ac_optarg ;; 1050ed029a5fSmrg 1051dd519f38Smrg -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1052dd519f38Smrg ac_prev=pdfdir ;; 1053dd519f38Smrg -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1054dd519f38Smrg pdfdir=$ac_optarg ;; 1055dd519f38Smrg 1056dd519f38Smrg -psdir | --psdir | --psdi | --psd | --ps) 1057dd519f38Smrg ac_prev=psdir ;; 1058dd519f38Smrg -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1059dd519f38Smrg psdir=$ac_optarg ;; 1060dd519f38Smrg 1061ed029a5fSmrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1062ed029a5fSmrg | -silent | --silent | --silen | --sile | --sil) 1063ed029a5fSmrg silent=yes ;; 1064ed029a5fSmrg 10655d10e53fSmrg -runstatedir | --runstatedir | --runstatedi | --runstated \ 10665d10e53fSmrg | --runstate | --runstat | --runsta | --runst | --runs \ 10675d10e53fSmrg | --run | --ru | --r) 10685d10e53fSmrg ac_prev=runstatedir ;; 10695d10e53fSmrg -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 10705d10e53fSmrg | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 10715d10e53fSmrg | --run=* | --ru=* | --r=*) 10725d10e53fSmrg runstatedir=$ac_optarg ;; 10735d10e53fSmrg 1074ed029a5fSmrg -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1075ed029a5fSmrg ac_prev=sbindir ;; 1076ed029a5fSmrg -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1077ed029a5fSmrg | --sbi=* | --sb=*) 1078ed029a5fSmrg sbindir=$ac_optarg ;; 1079ed029a5fSmrg 1080ed029a5fSmrg -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1081ed029a5fSmrg | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1082ed029a5fSmrg | --sharedst | --shareds | --shared | --share | --shar \ 1083ed029a5fSmrg | --sha | --sh) 1084ed029a5fSmrg ac_prev=sharedstatedir ;; 1085ed029a5fSmrg -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1086ed029a5fSmrg | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1087ed029a5fSmrg | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1088ed029a5fSmrg | --sha=* | --sh=*) 1089ed029a5fSmrg sharedstatedir=$ac_optarg ;; 1090ed029a5fSmrg 1091ed029a5fSmrg -site | --site | --sit) 1092ed029a5fSmrg ac_prev=site ;; 1093ed029a5fSmrg -site=* | --site=* | --sit=*) 1094ed029a5fSmrg site=$ac_optarg ;; 1095ed029a5fSmrg 1096ed029a5fSmrg -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1097ed029a5fSmrg ac_prev=srcdir ;; 1098ed029a5fSmrg -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1099ed029a5fSmrg srcdir=$ac_optarg ;; 1100ed029a5fSmrg 1101ed029a5fSmrg -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1102ed029a5fSmrg | --syscon | --sysco | --sysc | --sys | --sy) 1103ed029a5fSmrg ac_prev=sysconfdir ;; 1104ed029a5fSmrg -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1105ed029a5fSmrg | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1106ed029a5fSmrg sysconfdir=$ac_optarg ;; 1107ed029a5fSmrg 1108ed029a5fSmrg -target | --target | --targe | --targ | --tar | --ta | --t) 1109ed029a5fSmrg ac_prev=target_alias ;; 1110ed029a5fSmrg -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1111ed029a5fSmrg target_alias=$ac_optarg ;; 1112ed029a5fSmrg 1113ed029a5fSmrg -v | -verbose | --verbose | --verbos | --verbo | --verb) 1114ed029a5fSmrg verbose=yes ;; 1115ed029a5fSmrg 1116ed029a5fSmrg -version | --version | --versio | --versi | --vers | -V) 1117ed029a5fSmrg ac_init_version=: ;; 1118ed029a5fSmrg 1119ed029a5fSmrg -with-* | --with-*) 1120dd519f38Smrg ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1121ed029a5fSmrg # Reject names that are not valid shell variable names. 1122dd519f38Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 11235d10e53fSmrg as_fn_error $? "invalid package name: \`$ac_useropt'" 1124dd519f38Smrg ac_useropt_orig=$ac_useropt 11255d10e53fSmrg ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 1126dd519f38Smrg case $ac_user_opts in 1127dd519f38Smrg *" 1128dd519f38Smrg"with_$ac_useropt" 1129dd519f38Smrg"*) ;; 1130dd519f38Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1131dd519f38Smrg ac_unrecognized_sep=', ';; 1132ed029a5fSmrg esac 1133dd519f38Smrg eval with_$ac_useropt=\$ac_optarg ;; 1134ed029a5fSmrg 1135ed029a5fSmrg -without-* | --without-*) 1136dd519f38Smrg ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1137ed029a5fSmrg # Reject names that are not valid shell variable names. 1138dd519f38Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 11395d10e53fSmrg as_fn_error $? "invalid package name: \`$ac_useropt'" 1140dd519f38Smrg ac_useropt_orig=$ac_useropt 11415d10e53fSmrg ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 1142dd519f38Smrg case $ac_user_opts in 1143dd519f38Smrg *" 1144dd519f38Smrg"with_$ac_useropt" 1145dd519f38Smrg"*) ;; 1146dd519f38Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1147dd519f38Smrg ac_unrecognized_sep=', ';; 1148dd519f38Smrg esac 1149dd519f38Smrg eval with_$ac_useropt=no ;; 1150ed029a5fSmrg 1151ed029a5fSmrg --x) 1152ed029a5fSmrg # Obsolete; use --with-x. 1153ed029a5fSmrg with_x=yes ;; 1154ed029a5fSmrg 1155ed029a5fSmrg -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1156ed029a5fSmrg | --x-incl | --x-inc | --x-in | --x-i) 1157ed029a5fSmrg ac_prev=x_includes ;; 1158ed029a5fSmrg -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1159ed029a5fSmrg | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1160ed029a5fSmrg x_includes=$ac_optarg ;; 1161ed029a5fSmrg 1162ed029a5fSmrg -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1163ed029a5fSmrg | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1164ed029a5fSmrg ac_prev=x_libraries ;; 1165ed029a5fSmrg -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1166ed029a5fSmrg | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1167ed029a5fSmrg x_libraries=$ac_optarg ;; 1168ed029a5fSmrg 11697973f115Smrg -*) as_fn_error $? "unrecognized option: \`$ac_option' 11707973f115SmrgTry \`$0 --help' for more information" 1171ed029a5fSmrg ;; 1172ed029a5fSmrg 1173ed029a5fSmrg *=*) 1174ed029a5fSmrg ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1175ed029a5fSmrg # Reject names that are not valid shell variable names. 11767973f115Smrg case $ac_envvar in #( 11777973f115Smrg '' | [0-9]* | *[!_$as_cr_alnum]* ) 11787973f115Smrg as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 11797973f115Smrg esac 1180dd519f38Smrg eval $ac_envvar=\$ac_optarg 1181ed029a5fSmrg export $ac_envvar ;; 1182ed029a5fSmrg 1183ed029a5fSmrg *) 1184ed029a5fSmrg # FIXME: should be removed in autoconf 3.0. 11855d10e53fSmrg printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2 1186ed029a5fSmrg expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 11875d10e53fSmrg printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 11887973f115Smrg : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1189ed029a5fSmrg ;; 1190ed029a5fSmrg 1191ed029a5fSmrg esac 1192ed029a5fSmrgdone 1193ed029a5fSmrg 1194ed029a5fSmrgif test -n "$ac_prev"; then 1195ed029a5fSmrg ac_option=--`echo $ac_prev | sed 's/_/-/g'` 11967973f115Smrg as_fn_error $? "missing argument to $ac_option" 1197ed029a5fSmrgfi 1198ed029a5fSmrg 1199dd519f38Smrgif test -n "$ac_unrecognized_opts"; then 1200dd519f38Smrg case $enable_option_checking in 1201dd519f38Smrg no) ;; 12027973f115Smrg fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 12035d10e53fSmrg *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1204ed029a5fSmrg esac 1205dd519f38Smrgfi 1206ed029a5fSmrg 1207dd519f38Smrg# Check all directory arguments for consistency. 1208dd519f38Smrgfor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1209dd519f38Smrg datadir sysconfdir sharedstatedir localstatedir includedir \ 1210dd519f38Smrg oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 12115d10e53fSmrg libdir localedir mandir runstatedir 1212ed029a5fSmrgdo 1213dd519f38Smrg eval ac_val=\$$ac_var 1214dd519f38Smrg # Remove trailing slashes. 1215ed029a5fSmrg case $ac_val in 1216dd519f38Smrg */ ) 1217dd519f38Smrg ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1218dd519f38Smrg eval $ac_var=\$ac_val;; 1219dd519f38Smrg esac 1220dd519f38Smrg # Be sure to have absolute directory names. 1221dd519f38Smrg case $ac_val in 1222dd519f38Smrg [\\/$]* | ?:[\\/]* ) continue;; 1223dd519f38Smrg NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1224ed029a5fSmrg esac 12257973f115Smrg as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1226ed029a5fSmrgdone 1227ed029a5fSmrg 1228ed029a5fSmrg# There might be people who depend on the old broken behavior: `$host' 1229ed029a5fSmrg# used to hold the argument of --host etc. 1230ed029a5fSmrg# FIXME: To remove some day. 1231ed029a5fSmrgbuild=$build_alias 1232ed029a5fSmrghost=$host_alias 1233ed029a5fSmrgtarget=$target_alias 1234ed029a5fSmrg 1235ed029a5fSmrg# FIXME: To remove some day. 1236ed029a5fSmrgif test "x$host_alias" != x; then 1237ed029a5fSmrg if test "x$build_alias" = x; then 1238ed029a5fSmrg cross_compiling=maybe 1239ed029a5fSmrg elif test "x$build_alias" != "x$host_alias"; then 1240ed029a5fSmrg cross_compiling=yes 1241ed029a5fSmrg fi 1242ed029a5fSmrgfi 1243ed029a5fSmrg 1244ed029a5fSmrgac_tool_prefix= 1245ed029a5fSmrgtest -n "$host_alias" && ac_tool_prefix=$host_alias- 1246ed029a5fSmrg 1247ed029a5fSmrgtest "$silent" = yes && exec 6>/dev/null 1248ed029a5fSmrg 1249ed029a5fSmrg 1250dd519f38Smrgac_pwd=`pwd` && test -n "$ac_pwd" && 1251dd519f38Smrgac_ls_di=`ls -di .` && 1252dd519f38Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 12537973f115Smrg as_fn_error $? "working directory cannot be determined" 1254dd519f38Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" || 12557973f115Smrg as_fn_error $? "pwd does not report name of working directory" 1256dd519f38Smrg 1257dd519f38Smrg 1258ed029a5fSmrg# Find the source files, if location was not specified. 1259ed029a5fSmrgif test -z "$srcdir"; then 1260ed029a5fSmrg ac_srcdir_defaulted=yes 1261dd519f38Smrg # Try the directory containing this script, then the parent directory. 1262dd519f38Smrg ac_confdir=`$as_dirname -- "$as_myself" || 1263dd519f38Smrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1264dd519f38Smrg X"$as_myself" : 'X\(//\)[^/]' \| \ 1265dd519f38Smrg X"$as_myself" : 'X\(//\)$' \| \ 1266dd519f38Smrg X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 12675d10e53fSmrgprintf "%s\n" X"$as_myself" | 1268dd519f38Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1269dd519f38Smrg s//\1/ 1270dd519f38Smrg q 1271dd519f38Smrg } 1272dd519f38Smrg /^X\(\/\/\)[^/].*/{ 1273dd519f38Smrg s//\1/ 1274dd519f38Smrg q 1275dd519f38Smrg } 1276dd519f38Smrg /^X\(\/\/\)$/{ 1277dd519f38Smrg s//\1/ 1278dd519f38Smrg q 1279dd519f38Smrg } 1280dd519f38Smrg /^X\(\/\).*/{ 1281dd519f38Smrg s//\1/ 1282dd519f38Smrg q 1283dd519f38Smrg } 1284dd519f38Smrg s/.*/./; q'` 1285ed029a5fSmrg srcdir=$ac_confdir 1286dd519f38Smrg if test ! -r "$srcdir/$ac_unique_file"; then 1287ed029a5fSmrg srcdir=.. 1288ed029a5fSmrg fi 1289ed029a5fSmrgelse 1290ed029a5fSmrg ac_srcdir_defaulted=no 1291ed029a5fSmrgfi 1292dd519f38Smrgif test ! -r "$srcdir/$ac_unique_file"; then 1293dd519f38Smrg test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 12947973f115Smrg as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1295ed029a5fSmrgfi 1296dd519f38Smrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1297dd519f38Smrgac_abs_confdir=`( 12987973f115Smrg cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1299dd519f38Smrg pwd)` 1300dd519f38Smrg# When building in place, set srcdir=. 1301dd519f38Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then 1302dd519f38Smrg srcdir=. 1303dd519f38Smrgfi 1304dd519f38Smrg# Remove unnecessary trailing slashes from srcdir. 1305dd519f38Smrg# Double slashes in file names in object file debugging info 1306dd519f38Smrg# mess up M-x gdb in Emacs. 1307dd519f38Smrgcase $srcdir in 1308dd519f38Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1309dd519f38Smrgesac 1310dd519f38Smrgfor ac_var in $ac_precious_vars; do 1311dd519f38Smrg eval ac_env_${ac_var}_set=\${${ac_var}+set} 1312dd519f38Smrg eval ac_env_${ac_var}_value=\$${ac_var} 1313dd519f38Smrg eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1314dd519f38Smrg eval ac_cv_env_${ac_var}_value=\$${ac_var} 1315dd519f38Smrgdone 1316ed029a5fSmrg 1317ed029a5fSmrg# 1318ed029a5fSmrg# Report the --help message. 1319ed029a5fSmrg# 1320ed029a5fSmrgif test "$ac_init_help" = "long"; then 1321ed029a5fSmrg # Omit some internal or obsolete options to make the list less imposing. 1322ed029a5fSmrg # This message is too long to be a string in the A/UX 3.1 sh. 1323ed029a5fSmrg cat <<_ACEOF 13245d10e53fSmrg\`configure' configures font-adobe-100dpi 1.0.4 to adapt to many kinds of systems. 1325ed029a5fSmrg 1326ed029a5fSmrgUsage: $0 [OPTION]... [VAR=VALUE]... 1327ed029a5fSmrg 1328ed029a5fSmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as 1329ed029a5fSmrgVAR=VALUE. See below for descriptions of some of the useful variables. 1330ed029a5fSmrg 1331ed029a5fSmrgDefaults for the options are specified in brackets. 1332ed029a5fSmrg 1333ed029a5fSmrgConfiguration: 1334ed029a5fSmrg -h, --help display this help and exit 1335ed029a5fSmrg --help=short display options specific to this package 1336ed029a5fSmrg --help=recursive display the short help of all the included packages 1337ed029a5fSmrg -V, --version display version information and exit 13387973f115Smrg -q, --quiet, --silent do not print \`checking ...' messages 1339ed029a5fSmrg --cache-file=FILE cache test results in FILE [disabled] 1340ed029a5fSmrg -C, --config-cache alias for \`--cache-file=config.cache' 1341ed029a5fSmrg -n, --no-create do not create output files 1342ed029a5fSmrg --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1343ed029a5fSmrg 1344ed029a5fSmrgInstallation directories: 1345ed029a5fSmrg --prefix=PREFIX install architecture-independent files in PREFIX 1346dd519f38Smrg [$ac_default_prefix] 1347ed029a5fSmrg --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1348dd519f38Smrg [PREFIX] 1349ed029a5fSmrg 1350ed029a5fSmrgBy default, \`make install' will install all the files in 1351ed029a5fSmrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1352ed029a5fSmrgan installation prefix other than \`$ac_default_prefix' using \`--prefix', 1353ed029a5fSmrgfor instance \`--prefix=\$HOME'. 1354ed029a5fSmrg 1355ed029a5fSmrgFor better control, use the options below. 1356ed029a5fSmrg 1357ed029a5fSmrgFine tuning of the installation directories: 1358dd519f38Smrg --bindir=DIR user executables [EPREFIX/bin] 1359dd519f38Smrg --sbindir=DIR system admin executables [EPREFIX/sbin] 1360dd519f38Smrg --libexecdir=DIR program executables [EPREFIX/libexec] 1361dd519f38Smrg --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1362dd519f38Smrg --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1363dd519f38Smrg --localstatedir=DIR modifiable single-machine data [PREFIX/var] 13645d10e53fSmrg --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1365dd519f38Smrg --libdir=DIR object code libraries [EPREFIX/lib] 1366dd519f38Smrg --includedir=DIR C header files [PREFIX/include] 1367dd519f38Smrg --oldincludedir=DIR C header files for non-gcc [/usr/include] 1368dd519f38Smrg --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1369dd519f38Smrg --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1370dd519f38Smrg --infodir=DIR info documentation [DATAROOTDIR/info] 1371dd519f38Smrg --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1372dd519f38Smrg --mandir=DIR man documentation [DATAROOTDIR/man] 1373dd519f38Smrg --docdir=DIR documentation root 1374dd519f38Smrg [DATAROOTDIR/doc/font-adobe-100dpi] 1375dd519f38Smrg --htmldir=DIR html documentation [DOCDIR] 1376dd519f38Smrg --dvidir=DIR dvi documentation [DOCDIR] 1377dd519f38Smrg --pdfdir=DIR pdf documentation [DOCDIR] 1378dd519f38Smrg --psdir=DIR ps documentation [DOCDIR] 1379ed029a5fSmrg_ACEOF 1380ed029a5fSmrg 1381ed029a5fSmrg cat <<\_ACEOF 1382ed029a5fSmrg 1383ed029a5fSmrgProgram names: 1384ed029a5fSmrg --program-prefix=PREFIX prepend PREFIX to installed program names 1385ed029a5fSmrg --program-suffix=SUFFIX append SUFFIX to installed program names 1386ed029a5fSmrg --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1387dd519f38Smrg 1388dd519f38SmrgSystem types: 1389dd519f38Smrg --build=BUILD configure for building on BUILD [guessed] 1390dd519f38Smrg --host=HOST cross-compile to build programs to run on HOST [BUILD] 1391ed029a5fSmrg_ACEOF 1392ed029a5fSmrgfi 1393ed029a5fSmrg 1394ed029a5fSmrgif test -n "$ac_init_help"; then 1395ed029a5fSmrg case $ac_init_help in 13965d10e53fSmrg short | recursive ) echo "Configuration of font-adobe-100dpi 1.0.4:";; 1397ed029a5fSmrg esac 1398ed029a5fSmrg cat <<\_ACEOF 1399ed029a5fSmrg 1400ed029a5fSmrgOptional Features: 1401dd519f38Smrg --disable-option-checking ignore unrecognized --enable/--with options 1402ed029a5fSmrg --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1403ed029a5fSmrg --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 14045d10e53fSmrg --enable-silent-rules less verbose build output (undo: "make V=1") 14055d10e53fSmrg --disable-silent-rules verbose build output (undo: "make V=0") 14067973f115Smrg --disable-all-encodings Disable building of all font encodings 1407ed029a5fSmrg --disable-iso8859-1 Build ISO8859-1 fonts (default: yes) 1408ed029a5fSmrg --disable-iso8859-2 Build ISO8859-2 fonts (default: yes) 1409ed029a5fSmrg --disable-iso8859-3 Build ISO8859-3 fonts (default: yes) 1410ed029a5fSmrg --disable-iso8859-4 Build ISO8859-4 fonts (default: yes) 1411ed029a5fSmrg --disable-iso8859-9 Build ISO8859-9 fonts (default: yes) 1412ed029a5fSmrg --disable-iso8859-10 Build ISO8859-10 fonts (default: yes) 1413ed029a5fSmrg --disable-iso8859-13 Build ISO8859-13 fonts (default: yes) 1414ed029a5fSmrg --disable-iso8859-14 Build ISO8859-14 fonts (default: yes) 1415ed029a5fSmrg --disable-iso8859-15 Build ISO8859-15 fonts (default: yes) 1416ed029a5fSmrg 1417ed029a5fSmrgOptional Packages: 1418ed029a5fSmrg --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1419ed029a5fSmrg --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1420dd519f38Smrg --with-fontrootdir=DIR Path to root directory for font files 1421dd519f38Smrg --with-fontdir=DIR Path to 100dpi files [FONTROOTDIR/100dpi] 1422dd519f38Smrg --with-compression=<no|compress|gzip|bzip2> 1423dd519f38Smrg compression method to use on pcf fonts 1424ed029a5fSmrg 1425ed029a5fSmrgSome influential environment variables: 1426ed029a5fSmrg PKG_CONFIG path to pkg-config utility 14277973f115Smrg PKG_CONFIG_PATH 14287973f115Smrg directories to add to pkg-config's search path 14297973f115Smrg PKG_CONFIG_LIBDIR 14307973f115Smrg path overriding pkg-config's built-in search path 1431ed029a5fSmrg MAPS_CFLAGS C compiler flags for MAPS, overriding pkg-config 1432ed029a5fSmrg MAPS_LIBS linker flags for MAPS, overriding pkg-config 1433ed029a5fSmrg 1434ed029a5fSmrgUse these variables to override the choices made by `configure' or to help 1435ed029a5fSmrgit to find libraries and programs with nonstandard names/locations. 1436ed029a5fSmrg 14375d10e53fSmrgReport bugs to <https://gitlab.freedesktop.org/xorg/font/adobe-100dpi/-/issues>. 1438ed029a5fSmrg_ACEOF 1439dd519f38Smrgac_status=$? 1440ed029a5fSmrgfi 1441ed029a5fSmrg 1442ed029a5fSmrgif test "$ac_init_help" = "recursive"; then 1443ed029a5fSmrg # If there are subdirs, report their specific --help. 1444ed029a5fSmrg for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1445dd519f38Smrg test -d "$ac_dir" || 1446dd519f38Smrg { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1447dd519f38Smrg continue 1448ed029a5fSmrg ac_builddir=. 1449ed029a5fSmrg 1450dd519f38Smrgcase "$ac_dir" in 1451dd519f38Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1452dd519f38Smrg*) 14535d10e53fSmrg ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 1454dd519f38Smrg # A ".." for each directory in $ac_dir_suffix. 14555d10e53fSmrg ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1456dd519f38Smrg case $ac_top_builddir_sub in 1457dd519f38Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1458dd519f38Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1459dd519f38Smrg esac ;; 1460dd519f38Smrgesac 1461dd519f38Smrgac_abs_top_builddir=$ac_pwd 1462dd519f38Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 1463dd519f38Smrg# for backward compatibility: 1464dd519f38Smrgac_top_builddir=$ac_top_build_prefix 1465ed029a5fSmrg 1466ed029a5fSmrgcase $srcdir in 1467dd519f38Smrg .) # We are building in place. 1468ed029a5fSmrg ac_srcdir=. 1469dd519f38Smrg ac_top_srcdir=$ac_top_builddir_sub 1470dd519f38Smrg ac_abs_top_srcdir=$ac_pwd ;; 1471dd519f38Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 1472ed029a5fSmrg ac_srcdir=$srcdir$ac_dir_suffix; 1473dd519f38Smrg ac_top_srcdir=$srcdir 1474dd519f38Smrg ac_abs_top_srcdir=$srcdir ;; 1475dd519f38Smrg *) # Relative name. 1476dd519f38Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1477dd519f38Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 1478dd519f38Smrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1479ed029a5fSmrgesac 1480dd519f38Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1481dd519f38Smrg 1482dd519f38Smrg cd "$ac_dir" || { ac_status=$?; continue; } 14835d10e53fSmrg # Check for configure.gnu first; this name is used for a wrapper for 14845d10e53fSmrg # Metaconfig's "Configure" on case-insensitive file systems. 1485dd519f38Smrg if test -f "$ac_srcdir/configure.gnu"; then 1486dd519f38Smrg echo && 1487dd519f38Smrg $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1488dd519f38Smrg elif test -f "$ac_srcdir/configure"; then 1489dd519f38Smrg echo && 1490dd519f38Smrg $SHELL "$ac_srcdir/configure" --help=recursive 1491ed029a5fSmrg else 14925d10e53fSmrg printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1493dd519f38Smrg fi || ac_status=$? 1494dd519f38Smrg cd "$ac_pwd" || { ac_status=$?; break; } 1495ed029a5fSmrg done 1496ed029a5fSmrgfi 1497ed029a5fSmrg 1498dd519f38Smrgtest -n "$ac_init_help" && exit $ac_status 1499ed029a5fSmrgif $ac_init_version; then 1500ed029a5fSmrg cat <<\_ACEOF 15015d10e53fSmrgfont-adobe-100dpi configure 1.0.4 15025d10e53fSmrggenerated by GNU Autoconf 2.71 1503ed029a5fSmrg 15045d10e53fSmrgCopyright (C) 2021 Free Software Foundation, Inc. 1505ed029a5fSmrgThis configure script is free software; the Free Software Foundation 1506ed029a5fSmrggives unlimited permission to copy, distribute and modify it. 1507ed029a5fSmrg_ACEOF 1508dd519f38Smrg exit 1509ed029a5fSmrgfi 1510ed029a5fSmrg 15117973f115Smrg## ------------------------ ## 15127973f115Smrg## Autoconf initialization. ## 15137973f115Smrg## ------------------------ ## 15145d10e53fSmrgac_configure_args_raw= 15155d10e53fSmrgfor ac_arg 15165d10e53fSmrgdo 15175d10e53fSmrg case $ac_arg in 15185d10e53fSmrg *\'*) 15195d10e53fSmrg ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 15205d10e53fSmrg esac 15215d10e53fSmrg as_fn_append ac_configure_args_raw " '$ac_arg'" 15225d10e53fSmrgdone 1523ed029a5fSmrg 15245d10e53fSmrgcase $ac_configure_args_raw in 15255d10e53fSmrg *$as_nl*) 15265d10e53fSmrg ac_safe_unquote= ;; 15275d10e53fSmrg *) 15285d10e53fSmrg ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. 15295d10e53fSmrg ac_unsafe_a="$ac_unsafe_z#~" 15305d10e53fSmrg ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" 15315d10e53fSmrg ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;; 15327973f115Smrgesac 15337973f115Smrg 15347973f115Smrgcat >config.log <<_ACEOF 15357973f115SmrgThis file contains any messages produced by compilers while 15367973f115Smrgrunning configure, to aid debugging if configure makes a mistake. 15377973f115Smrg 15385d10e53fSmrgIt was created by font-adobe-100dpi $as_me 1.0.4, which was 15395d10e53fSmrggenerated by GNU Autoconf 2.71. Invocation command line was 15407973f115Smrg 15415d10e53fSmrg $ $0$ac_configure_args_raw 15427973f115Smrg 15437973f115Smrg_ACEOF 15447973f115Smrgexec 5>>config.log 15457973f115Smrg{ 15467973f115Smrgcat <<_ASUNAME 15477973f115Smrg## --------- ## 15487973f115Smrg## Platform. ## 15497973f115Smrg## --------- ## 15507973f115Smrg 15517973f115Smrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 15527973f115Smrguname -m = `(uname -m) 2>/dev/null || echo unknown` 15537973f115Smrguname -r = `(uname -r) 2>/dev/null || echo unknown` 15547973f115Smrguname -s = `(uname -s) 2>/dev/null || echo unknown` 15557973f115Smrguname -v = `(uname -v) 2>/dev/null || echo unknown` 15567973f115Smrg 15577973f115Smrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 15587973f115Smrg/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 15597973f115Smrg 15607973f115Smrg/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 15617973f115Smrg/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 15627973f115Smrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 15637973f115Smrg/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 15647973f115Smrg/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 15657973f115Smrg/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 15667973f115Smrg/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 15677973f115Smrg 15687973f115Smrg_ASUNAME 15697973f115Smrg 15707973f115Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15717973f115Smrgfor as_dir in $PATH 1572ed029a5fSmrgdo 1573ed029a5fSmrg IFS=$as_save_IFS 15745d10e53fSmrg case $as_dir in #((( 15755d10e53fSmrg '') as_dir=./ ;; 15765d10e53fSmrg */) ;; 15775d10e53fSmrg *) as_dir=$as_dir/ ;; 15785d10e53fSmrg esac 15795d10e53fSmrg printf "%s\n" "PATH: $as_dir" 15807973f115Smrg done 1581dd519f38SmrgIFS=$as_save_IFS 1582ed029a5fSmrg 1583ed029a5fSmrg} >&5 1584ed029a5fSmrg 1585ed029a5fSmrgcat >&5 <<_ACEOF 1586ed029a5fSmrg 1587ed029a5fSmrg 1588ed029a5fSmrg## ----------- ## 1589ed029a5fSmrg## Core tests. ## 1590ed029a5fSmrg## ----------- ## 1591ed029a5fSmrg 1592ed029a5fSmrg_ACEOF 1593ed029a5fSmrg 1594ed029a5fSmrg 1595ed029a5fSmrg# Keep a trace of the command line. 1596ed029a5fSmrg# Strip out --no-create and --no-recursion so they do not pile up. 1597ed029a5fSmrg# Strip out --silent because we don't want to record it for future runs. 1598ed029a5fSmrg# Also quote any args containing shell meta-characters. 1599ed029a5fSmrg# Make two passes to allow for proper duplicate-argument suppression. 1600ed029a5fSmrgac_configure_args= 1601ed029a5fSmrgac_configure_args0= 1602ed029a5fSmrgac_configure_args1= 1603ed029a5fSmrgac_must_keep_next=false 1604ed029a5fSmrgfor ac_pass in 1 2 1605ed029a5fSmrgdo 1606ed029a5fSmrg for ac_arg 1607ed029a5fSmrg do 1608ed029a5fSmrg case $ac_arg in 1609ed029a5fSmrg -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1610ed029a5fSmrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1611ed029a5fSmrg | -silent | --silent | --silen | --sile | --sil) 1612ed029a5fSmrg continue ;; 1613dd519f38Smrg *\'*) 16145d10e53fSmrg ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1615ed029a5fSmrg esac 1616ed029a5fSmrg case $ac_pass in 16177973f115Smrg 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1618ed029a5fSmrg 2) 16197973f115Smrg as_fn_append ac_configure_args1 " '$ac_arg'" 1620ed029a5fSmrg if test $ac_must_keep_next = true; then 1621ed029a5fSmrg ac_must_keep_next=false # Got value, back to normal. 1622ed029a5fSmrg else 1623ed029a5fSmrg case $ac_arg in 1624ed029a5fSmrg *=* | --config-cache | -C | -disable-* | --disable-* \ 1625ed029a5fSmrg | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1626ed029a5fSmrg | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1627ed029a5fSmrg | -with-* | --with-* | -without-* | --without-* | --x) 1628ed029a5fSmrg case "$ac_configure_args0 " in 1629ed029a5fSmrg "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1630ed029a5fSmrg esac 1631ed029a5fSmrg ;; 1632ed029a5fSmrg -* ) ac_must_keep_next=true ;; 1633ed029a5fSmrg esac 1634ed029a5fSmrg fi 16357973f115Smrg as_fn_append ac_configure_args " '$ac_arg'" 1636ed029a5fSmrg ;; 1637ed029a5fSmrg esac 1638ed029a5fSmrg done 1639ed029a5fSmrgdone 16407973f115Smrg{ ac_configure_args0=; unset ac_configure_args0;} 16417973f115Smrg{ ac_configure_args1=; unset ac_configure_args1;} 1642ed029a5fSmrg 1643ed029a5fSmrg# When interrupted or exit'd, cleanup temporary files, and complete 1644ed029a5fSmrg# config.log. We remove comments because anyway the quotes in there 1645ed029a5fSmrg# would cause problems or look ugly. 1646dd519f38Smrg# WARNING: Use '\'' to represent an apostrophe within the trap. 1647dd519f38Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1648ed029a5fSmrgtrap 'exit_status=$? 16495d10e53fSmrg # Sanitize IFS. 16505d10e53fSmrg IFS=" "" $as_nl" 1651ed029a5fSmrg # Save into config.log some information that might help in debugging. 1652ed029a5fSmrg { 1653ed029a5fSmrg echo 1654ed029a5fSmrg 16555d10e53fSmrg printf "%s\n" "## ---------------- ## 1656ed029a5fSmrg## Cache variables. ## 16577973f115Smrg## ---------------- ##" 1658ed029a5fSmrg echo 1659ed029a5fSmrg # The following way of writing the cache mishandles newlines in values, 1660dd519f38Smrg( 1661dd519f38Smrg for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1662dd519f38Smrg eval ac_val=\$$ac_var 1663dd519f38Smrg case $ac_val in #( 1664dd519f38Smrg *${as_nl}*) 1665dd519f38Smrg case $ac_var in #( 16665d10e53fSmrg *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 16675d10e53fSmrgprintf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1668dd519f38Smrg esac 1669dd519f38Smrg case $ac_var in #( 1670dd519f38Smrg _ | IFS | as_nl) ;; #( 1671dd519f38Smrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 16727973f115Smrg *) { eval $ac_var=; unset $ac_var;} ;; 1673dd519f38Smrg esac ;; 1674dd519f38Smrg esac 1675dd519f38Smrg done 1676ed029a5fSmrg (set) 2>&1 | 1677dd519f38Smrg case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1678dd519f38Smrg *${as_nl}ac_space=\ *) 1679ed029a5fSmrg sed -n \ 1680dd519f38Smrg "s/'\''/'\''\\\\'\'''\''/g; 1681dd519f38Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1682dd519f38Smrg ;; #( 1683ed029a5fSmrg *) 1684dd519f38Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1685ed029a5fSmrg ;; 1686dd519f38Smrg esac | 1687dd519f38Smrg sort 1688dd519f38Smrg) 1689ed029a5fSmrg echo 1690ed029a5fSmrg 16915d10e53fSmrg printf "%s\n" "## ----------------- ## 1692ed029a5fSmrg## Output variables. ## 16937973f115Smrg## ----------------- ##" 1694ed029a5fSmrg echo 1695ed029a5fSmrg for ac_var in $ac_subst_vars 1696ed029a5fSmrg do 1697dd519f38Smrg eval ac_val=\$$ac_var 1698dd519f38Smrg case $ac_val in 16995d10e53fSmrg *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1700dd519f38Smrg esac 17015d10e53fSmrg printf "%s\n" "$ac_var='\''$ac_val'\''" 1702ed029a5fSmrg done | sort 1703ed029a5fSmrg echo 1704ed029a5fSmrg 1705ed029a5fSmrg if test -n "$ac_subst_files"; then 17065d10e53fSmrg printf "%s\n" "## ------------------- ## 1707dd519f38Smrg## File substitutions. ## 17087973f115Smrg## ------------------- ##" 1709ed029a5fSmrg echo 1710ed029a5fSmrg for ac_var in $ac_subst_files 1711ed029a5fSmrg do 1712dd519f38Smrg eval ac_val=\$$ac_var 1713dd519f38Smrg case $ac_val in 17145d10e53fSmrg *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1715dd519f38Smrg esac 17165d10e53fSmrg printf "%s\n" "$ac_var='\''$ac_val'\''" 1717ed029a5fSmrg done | sort 1718ed029a5fSmrg echo 1719ed029a5fSmrg fi 1720ed029a5fSmrg 1721ed029a5fSmrg if test -s confdefs.h; then 17225d10e53fSmrg printf "%s\n" "## ----------- ## 1723ed029a5fSmrg## confdefs.h. ## 17247973f115Smrg## ----------- ##" 1725ed029a5fSmrg echo 1726dd519f38Smrg cat confdefs.h 1727ed029a5fSmrg echo 1728ed029a5fSmrg fi 1729ed029a5fSmrg test "$ac_signal" != 0 && 17305d10e53fSmrg printf "%s\n" "$as_me: caught signal $ac_signal" 17315d10e53fSmrg printf "%s\n" "$as_me: exit $exit_status" 1732ed029a5fSmrg } >&5 1733dd519f38Smrg rm -f core *.core core.conftest.* && 1734dd519f38Smrg rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1735ed029a5fSmrg exit $exit_status 1736dd519f38Smrg' 0 1737ed029a5fSmrgfor ac_signal in 1 2 13 15; do 17387973f115Smrg trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1739ed029a5fSmrgdone 1740ed029a5fSmrgac_signal=0 1741ed029a5fSmrg 1742ed029a5fSmrg# confdefs.h avoids OS command line length limits that DEFS can exceed. 1743dd519f38Smrgrm -f -r conftest* confdefs.h 1744ed029a5fSmrg 17455d10e53fSmrgprintf "%s\n" "/* confdefs.h */" > confdefs.h 17467973f115Smrg 1747ed029a5fSmrg# Predefined preprocessor variables. 1748ed029a5fSmrg 17495d10e53fSmrgprintf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h 1750ed029a5fSmrg 17515d10e53fSmrgprintf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h 1752ed029a5fSmrg 17535d10e53fSmrgprintf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h 1754ed029a5fSmrg 17555d10e53fSmrgprintf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h 1756ed029a5fSmrg 17575d10e53fSmrgprintf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h 1758ed029a5fSmrg 17595d10e53fSmrgprintf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h 17607973f115Smrg 1761ed029a5fSmrg 1762ed029a5fSmrg# Let the site file select an alternate cache file if it wants to. 1763dd519f38Smrg# Prefer an explicitly selected file to automatically selected ones. 1764dd519f38Smrgif test -n "$CONFIG_SITE"; then 17655d10e53fSmrg ac_site_files="$CONFIG_SITE" 1766dd519f38Smrgelif test "x$prefix" != xNONE; then 17675d10e53fSmrg ac_site_files="$prefix/share/config.site $prefix/etc/config.site" 1768dd519f38Smrgelse 17695d10e53fSmrg ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1770ed029a5fSmrgfi 17715d10e53fSmrg 17725d10e53fSmrgfor ac_site_file in $ac_site_files 1773dd519f38Smrgdo 17745d10e53fSmrg case $ac_site_file in #( 17755d10e53fSmrg */*) : 17765d10e53fSmrg ;; #( 17775d10e53fSmrg *) : 17785d10e53fSmrg ac_site_file=./$ac_site_file ;; 17795d10e53fSmrgesac 17805d10e53fSmrg if test -f "$ac_site_file" && test -r "$ac_site_file"; then 17815d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 17825d10e53fSmrgprintf "%s\n" "$as_me: loading site script $ac_site_file" >&6;} 1783ed029a5fSmrg sed 's/^/| /' "$ac_site_file" >&5 17847973f115Smrg . "$ac_site_file" \ 17855d10e53fSmrg || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17865d10e53fSmrgprintf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 17877973f115Smrgas_fn_error $? "failed to load site script $ac_site_file 17887973f115SmrgSee \`config.log' for more details" "$LINENO" 5; } 1789ed029a5fSmrg fi 1790ed029a5fSmrgdone 1791ed029a5fSmrg 1792ed029a5fSmrgif test -r "$cache_file"; then 17937973f115Smrg # Some versions of bash will fail to source /dev/null (special files 17947973f115Smrg # actually), so we avoid doing that. DJGPP emulates it as a regular file. 17957973f115Smrg if test /dev/null != "$cache_file" && test -f "$cache_file"; then 17965d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 17975d10e53fSmrgprintf "%s\n" "$as_me: loading cache $cache_file" >&6;} 1798ed029a5fSmrg case $cache_file in 1799dd519f38Smrg [\\/]* | ?:[\\/]* ) . "$cache_file";; 1800dd519f38Smrg *) . "./$cache_file";; 1801ed029a5fSmrg esac 1802ed029a5fSmrg fi 1803ed029a5fSmrgelse 18045d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 18055d10e53fSmrgprintf "%s\n" "$as_me: creating cache $cache_file" >&6;} 1806ed029a5fSmrg >$cache_file 1807ed029a5fSmrgfi 1808ed029a5fSmrg 18095d10e53fSmrg 18105d10e53fSmrg# Auxiliary files required by this configure script. 18115d10e53fSmrgac_aux_files="config.guess config.sub missing install-sh" 18125d10e53fSmrg 18135d10e53fSmrg# Locations in which to look for auxiliary files. 18145d10e53fSmrgac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.." 18155d10e53fSmrg 18165d10e53fSmrg# Search for a directory containing all of the required auxiliary files, 18175d10e53fSmrg# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. 18185d10e53fSmrg# If we don't find one directory that contains all the files we need, 18195d10e53fSmrg# we report the set of missing files from the *first* directory in 18205d10e53fSmrg# $ac_aux_dir_candidates and give up. 18215d10e53fSmrgac_missing_aux_files="" 18225d10e53fSmrgac_first_candidate=: 18235d10e53fSmrgprintf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5 18245d10e53fSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18255d10e53fSmrgas_found=false 18265d10e53fSmrgfor as_dir in $ac_aux_dir_candidates 18275d10e53fSmrgdo 18285d10e53fSmrg IFS=$as_save_IFS 18295d10e53fSmrg case $as_dir in #((( 18305d10e53fSmrg '') as_dir=./ ;; 18315d10e53fSmrg */) ;; 18325d10e53fSmrg *) as_dir=$as_dir/ ;; 18335d10e53fSmrg esac 18345d10e53fSmrg as_found=: 18355d10e53fSmrg 18365d10e53fSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 18375d10e53fSmrg ac_aux_dir_found=yes 18385d10e53fSmrg ac_install_sh= 18395d10e53fSmrg for ac_aux in $ac_aux_files 18405d10e53fSmrg do 18415d10e53fSmrg # As a special case, if "install-sh" is required, that requirement 18425d10e53fSmrg # can be satisfied by any of "install-sh", "install.sh", or "shtool", 18435d10e53fSmrg # and $ac_install_sh is set appropriately for whichever one is found. 18445d10e53fSmrg if test x"$ac_aux" = x"install-sh" 18455d10e53fSmrg then 18465d10e53fSmrg if test -f "${as_dir}install-sh"; then 18475d10e53fSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5 18485d10e53fSmrg ac_install_sh="${as_dir}install-sh -c" 18495d10e53fSmrg elif test -f "${as_dir}install.sh"; then 18505d10e53fSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5 18515d10e53fSmrg ac_install_sh="${as_dir}install.sh -c" 18525d10e53fSmrg elif test -f "${as_dir}shtool"; then 18535d10e53fSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5 18545d10e53fSmrg ac_install_sh="${as_dir}shtool install -c" 18555d10e53fSmrg else 18565d10e53fSmrg ac_aux_dir_found=no 18575d10e53fSmrg if $ac_first_candidate; then 18585d10e53fSmrg ac_missing_aux_files="${ac_missing_aux_files} install-sh" 18595d10e53fSmrg else 18605d10e53fSmrg break 18615d10e53fSmrg fi 18625d10e53fSmrg fi 18635d10e53fSmrg else 18645d10e53fSmrg if test -f "${as_dir}${ac_aux}"; then 18655d10e53fSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5 18665d10e53fSmrg else 18675d10e53fSmrg ac_aux_dir_found=no 18685d10e53fSmrg if $ac_first_candidate; then 18695d10e53fSmrg ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}" 18705d10e53fSmrg else 18715d10e53fSmrg break 18725d10e53fSmrg fi 18735d10e53fSmrg fi 18745d10e53fSmrg fi 18755d10e53fSmrg done 18765d10e53fSmrg if test "$ac_aux_dir_found" = yes; then 18775d10e53fSmrg ac_aux_dir="$as_dir" 18785d10e53fSmrg break 18795d10e53fSmrg fi 18805d10e53fSmrg ac_first_candidate=false 18815d10e53fSmrg 18825d10e53fSmrg as_found=false 18835d10e53fSmrgdone 18845d10e53fSmrgIFS=$as_save_IFS 18855d10e53fSmrgif $as_found 18865d10e53fSmrgthen : 18875d10e53fSmrg 18885d10e53fSmrgelse $as_nop 18895d10e53fSmrg as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 18905d10e53fSmrgfi 18915d10e53fSmrg 18925d10e53fSmrg 18935d10e53fSmrg# These three variables are undocumented and unsupported, 18945d10e53fSmrg# and are intended to be withdrawn in a future Autoconf release. 18955d10e53fSmrg# They can cause serious problems if a builder's source tree is in a directory 18965d10e53fSmrg# whose full name contains unusual characters. 18975d10e53fSmrgif test -f "${ac_aux_dir}config.guess"; then 18985d10e53fSmrg ac_config_guess="$SHELL ${ac_aux_dir}config.guess" 18995d10e53fSmrgfi 19005d10e53fSmrgif test -f "${ac_aux_dir}config.sub"; then 19015d10e53fSmrg ac_config_sub="$SHELL ${ac_aux_dir}config.sub" 19025d10e53fSmrgfi 19035d10e53fSmrgif test -f "$ac_aux_dir/configure"; then 19045d10e53fSmrg ac_configure="$SHELL ${ac_aux_dir}configure" 19055d10e53fSmrgfi 19065d10e53fSmrg 1907ed029a5fSmrg# Check that the precious variables saved in the cache have kept the same 1908ed029a5fSmrg# value. 1909ed029a5fSmrgac_cache_corrupted=false 1910dd519f38Smrgfor ac_var in $ac_precious_vars; do 1911ed029a5fSmrg eval ac_old_set=\$ac_cv_env_${ac_var}_set 1912ed029a5fSmrg eval ac_new_set=\$ac_env_${ac_var}_set 1913dd519f38Smrg eval ac_old_val=\$ac_cv_env_${ac_var}_value 1914dd519f38Smrg eval ac_new_val=\$ac_env_${ac_var}_value 1915ed029a5fSmrg case $ac_old_set,$ac_new_set in 1916ed029a5fSmrg set,) 19175d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 19185d10e53fSmrgprintf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1919ed029a5fSmrg ac_cache_corrupted=: ;; 1920ed029a5fSmrg ,set) 19215d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 19225d10e53fSmrgprintf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1923ed029a5fSmrg ac_cache_corrupted=: ;; 1924ed029a5fSmrg ,);; 1925ed029a5fSmrg *) 1926ed029a5fSmrg if test "x$ac_old_val" != "x$ac_new_val"; then 1927dd519f38Smrg # differences in whitespace do not lead to failure. 1928dd519f38Smrg ac_old_val_w=`echo x $ac_old_val` 1929dd519f38Smrg ac_new_val_w=`echo x $ac_new_val` 1930dd519f38Smrg if test "$ac_old_val_w" != "$ac_new_val_w"; then 19315d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 19325d10e53fSmrgprintf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1933dd519f38Smrg ac_cache_corrupted=: 1934dd519f38Smrg else 19355d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 19365d10e53fSmrgprintf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1937dd519f38Smrg eval $ac_var=\$ac_old_val 1938dd519f38Smrg fi 19395d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 19405d10e53fSmrgprintf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;} 19415d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 19425d10e53fSmrgprintf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;} 1943ed029a5fSmrg fi;; 1944ed029a5fSmrg esac 1945ed029a5fSmrg # Pass precious variables to config.status. 1946ed029a5fSmrg if test "$ac_new_set" = set; then 1947ed029a5fSmrg case $ac_new_val in 19485d10e53fSmrg *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1949ed029a5fSmrg *) ac_arg=$ac_var=$ac_new_val ;; 1950ed029a5fSmrg esac 1951ed029a5fSmrg case " $ac_configure_args " in 1952ed029a5fSmrg *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 19537973f115Smrg *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1954ed029a5fSmrg esac 1955ed029a5fSmrg fi 1956ed029a5fSmrgdone 1957ed029a5fSmrgif $ac_cache_corrupted; then 19585d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19595d10e53fSmrgprintf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 19605d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 19615d10e53fSmrgprintf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;} 19625d10e53fSmrg as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file' 19635d10e53fSmrg and start over" "$LINENO" 5 1964ed029a5fSmrgfi 19657973f115Smrg## -------------------- ## 19667973f115Smrg## Main body of script. ## 19677973f115Smrg## -------------------- ## 1968ed029a5fSmrg 1969dd519f38Smrgac_ext=c 1970dd519f38Smrgac_cpp='$CPP $CPPFLAGS' 1971dd519f38Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1972dd519f38Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1973dd519f38Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 1974ed029a5fSmrg 1975ed029a5fSmrg 19765d10e53fSmrgam__api_version='1.16' 1977dd519f38Smrg 1978dd519f38Smrg 1979ed029a5fSmrg 19805d10e53fSmrg # Find a good install program. We prefer a C program (faster), 1981ed029a5fSmrg# so one script is as good as another. But avoid the broken or 1982ed029a5fSmrg# incompatible versions: 1983ed029a5fSmrg# SysV /etc/install, /usr/sbin/install 1984ed029a5fSmrg# SunOS /usr/etc/install 1985ed029a5fSmrg# IRIX /sbin/install 1986ed029a5fSmrg# AIX /bin/install 1987ed029a5fSmrg# AmigaOS /C/install, which installs bootblocks on floppy discs 1988ed029a5fSmrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1989ed029a5fSmrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1990ed029a5fSmrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1991ed029a5fSmrg# OS/2's system install, which has a completely different semantic 1992ed029a5fSmrg# ./install, which can be erroneously created by make from ./install.sh. 1993dd519f38Smrg# Reject install programs that cannot install multiple files. 19945d10e53fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 19955d10e53fSmrgprintf %s "checking for a BSD-compatible install... " >&6; } 1996ed029a5fSmrgif test -z "$INSTALL"; then 19975d10e53fSmrgif test ${ac_cv_path_install+y} 19985d10e53fSmrgthen : 19995d10e53fSmrg printf %s "(cached) " >&6 20005d10e53fSmrgelse $as_nop 2001ed029a5fSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2002ed029a5fSmrgfor as_dir in $PATH 2003ed029a5fSmrgdo 2004ed029a5fSmrg IFS=$as_save_IFS 20055d10e53fSmrg case $as_dir in #((( 20065d10e53fSmrg '') as_dir=./ ;; 20075d10e53fSmrg */) ;; 20085d10e53fSmrg *) as_dir=$as_dir/ ;; 20095d10e53fSmrg esac 20105d10e53fSmrg # Account for fact that we put trailing slashes in our PATH walk. 20115d10e53fSmrgcase $as_dir in #(( 20125d10e53fSmrg ./ | /[cC]/* | \ 2013ed029a5fSmrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 20147973f115Smrg ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2015ed029a5fSmrg /usr/ucb/* ) ;; 2016ed029a5fSmrg *) 2017ed029a5fSmrg # OSF1 and SCO ODT 3.0 have their own names for install. 2018ed029a5fSmrg # Don't use installbsd from OSF since it installs stuff as root 2019ed029a5fSmrg # by default. 2020ed029a5fSmrg for ac_prog in ginstall scoinst install; do 2021ed029a5fSmrg for ac_exec_ext in '' $ac_executable_extensions; do 20225d10e53fSmrg if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then 2023ed029a5fSmrg if test $ac_prog = install && 20245d10e53fSmrg grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2025ed029a5fSmrg # AIX install. It has an incompatible calling convention. 2026ed029a5fSmrg : 2027ed029a5fSmrg elif test $ac_prog = install && 20285d10e53fSmrg grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2029ed029a5fSmrg # program-specific install script used by HP pwplus--don't use. 2030ed029a5fSmrg : 2031ed029a5fSmrg else 2032dd519f38Smrg rm -rf conftest.one conftest.two conftest.dir 2033dd519f38Smrg echo one > conftest.one 2034dd519f38Smrg echo two > conftest.two 2035dd519f38Smrg mkdir conftest.dir 20365d10e53fSmrg if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" && 2037dd519f38Smrg test -s conftest.one && test -s conftest.two && 2038dd519f38Smrg test -s conftest.dir/conftest.one && 2039dd519f38Smrg test -s conftest.dir/conftest.two 2040dd519f38Smrg then 20415d10e53fSmrg ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c" 2042dd519f38Smrg break 3 2043dd519f38Smrg fi 2044ed029a5fSmrg fi 2045ed029a5fSmrg fi 2046ed029a5fSmrg done 2047ed029a5fSmrg done 2048ed029a5fSmrg ;; 2049ed029a5fSmrgesac 2050dd519f38Smrg 20517973f115Smrg done 2052dd519f38SmrgIFS=$as_save_IFS 2053ed029a5fSmrg 2054dd519f38Smrgrm -rf conftest.one conftest.two conftest.dir 2055ed029a5fSmrg 2056ed029a5fSmrgfi 20575d10e53fSmrg if test ${ac_cv_path_install+y}; then 2058ed029a5fSmrg INSTALL=$ac_cv_path_install 2059ed029a5fSmrg else 2060dd519f38Smrg # As a last resort, use the slow shell script. Don't cache a 2061dd519f38Smrg # value for INSTALL within a source directory, because that will 2062ed029a5fSmrg # break other packages using the cache if that directory is 2063dd519f38Smrg # removed, or if the value is a relative name. 2064ed029a5fSmrg INSTALL=$ac_install_sh 2065ed029a5fSmrg fi 2066ed029a5fSmrgfi 20675d10e53fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 20685d10e53fSmrgprintf "%s\n" "$INSTALL" >&6; } 2069ed029a5fSmrg 2070ed029a5fSmrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2071ed029a5fSmrg# It thinks the first close brace ends the variable substitution. 2072ed029a5fSmrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2073ed029a5fSmrg 2074ed029a5fSmrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2075ed029a5fSmrg 2076ed029a5fSmrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2077ed029a5fSmrg 20785d10e53fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 20795d10e53fSmrgprintf %s "checking whether build environment is sane... " >&6; } 2080dd519f38Smrg# Reject unsafe characters in $srcdir or the absolute working directory 2081dd519f38Smrg# name. Accept space and tab only in the latter. 2082dd519f38Smrgam_lf=' 2083dd519f38Smrg' 2084dd519f38Smrgcase `pwd` in 2085dd519f38Smrg *[\\\"\#\$\&\'\`$am_lf]*) 20867973f115Smrg as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2087dd519f38Smrgesac 2088dd519f38Smrgcase $srcdir in 2089dd519f38Smrg *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 20905d10e53fSmrg as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2091dd519f38Smrgesac 2092dd519f38Smrg 20935d10e53fSmrg# Do 'set' in a subshell so we don't clobber the current shell's 2094ed029a5fSmrg# arguments. Must try -L first in case configure is actually a 2095ed029a5fSmrg# symlink; some systems play weird games with the mod time of symlinks 2096ed029a5fSmrg# (eg FreeBSD returns the mod time of the symlink's containing 2097ed029a5fSmrg# directory). 2098ed029a5fSmrgif ( 20995d10e53fSmrg am_has_slept=no 21005d10e53fSmrg for am_try in 1 2; do 21015d10e53fSmrg echo "timestamp, slept: $am_has_slept" > conftest.file 21025d10e53fSmrg set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 21035d10e53fSmrg if test "$*" = "X"; then 21045d10e53fSmrg # -L didn't work. 21055d10e53fSmrg set X `ls -t "$srcdir/configure" conftest.file` 21065d10e53fSmrg fi 21075d10e53fSmrg if test "$*" != "X $srcdir/configure conftest.file" \ 21085d10e53fSmrg && test "$*" != "X conftest.file $srcdir/configure"; then 21095d10e53fSmrg 21105d10e53fSmrg # If neither matched, then we have a broken ls. This can happen 21115d10e53fSmrg # if, for instance, CONFIG_SHELL is bash and it inherits a 21125d10e53fSmrg # broken ls alias from the environment. This has actually 21135d10e53fSmrg # happened. Such a system could not be considered "sane". 21145d10e53fSmrg as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 21155d10e53fSmrg alias in your environment" "$LINENO" 5 21165d10e53fSmrg fi 21175d10e53fSmrg if test "$2" = conftest.file || test $am_try -eq 2; then 21185d10e53fSmrg break 21195d10e53fSmrg fi 21205d10e53fSmrg # Just in case. 21215d10e53fSmrg sleep 1 21225d10e53fSmrg am_has_slept=yes 21235d10e53fSmrg done 2124ed029a5fSmrg test "$2" = conftest.file 2125ed029a5fSmrg ) 2126ed029a5fSmrgthen 2127ed029a5fSmrg # Ok. 2128ed029a5fSmrg : 2129ed029a5fSmrgelse 21307973f115Smrg as_fn_error $? "newly created file is older than distributed files! 21317973f115SmrgCheck your system clock" "$LINENO" 5 2132ed029a5fSmrgfi 21335d10e53fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 21345d10e53fSmrgprintf "%s\n" "yes" >&6; } 21355d10e53fSmrg# If we didn't sleep, we still need to ensure time stamps of config.status and 21365d10e53fSmrg# generated files are strictly newer. 21375d10e53fSmrgam_sleep_pid= 21385d10e53fSmrgif grep 'slept: no' conftest.file >/dev/null 2>&1; then 21395d10e53fSmrg ( sleep 1 ) & 21405d10e53fSmrg am_sleep_pid=$! 21415d10e53fSmrgfi 21425d10e53fSmrg 21435d10e53fSmrgrm -f conftest.file 21445d10e53fSmrg 2145ed029a5fSmrgtest "$program_prefix" != NONE && 2146dd519f38Smrg program_transform_name="s&^&$program_prefix&;$program_transform_name" 2147ed029a5fSmrg# Use a double $ so make ignores it. 2148ed029a5fSmrgtest "$program_suffix" != NONE && 2149dd519f38Smrg program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2150dd519f38Smrg# Double any \ or $. 2151ed029a5fSmrg# By default was `s,x,x', remove it if useless. 2152dd519f38Smrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 21535d10e53fSmrgprogram_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"` 2154ed029a5fSmrg 2155ed029a5fSmrg 21565d10e53fSmrg# Expand $ac_aux_dir to an absolute path. 21575d10e53fSmrgam_aux_dir=`cd "$ac_aux_dir" && pwd` 21585d10e53fSmrg 21595d10e53fSmrg 21605d10e53fSmrg if test x"${MISSING+set}" != xset; then 21615d10e53fSmrg MISSING="\${SHELL} '$am_aux_dir/missing'" 2162dd519f38Smrgfi 2163ed029a5fSmrg# Use eval to expand $SHELL 21645d10e53fSmrgif eval "$MISSING --is-lightweight"; then 21655d10e53fSmrg am_missing_run="$MISSING " 2166ed029a5fSmrgelse 2167ed029a5fSmrg am_missing_run= 21685d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 21695d10e53fSmrgprintf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2170dd519f38Smrgfi 2171dd519f38Smrg 21725d10e53fSmrgif test x"${install_sh+set}" != xset; then 2173dd519f38Smrg case $am_aux_dir in 2174dd519f38Smrg *\ * | *\ *) 2175dd519f38Smrg install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2176dd519f38Smrg *) 2177dd519f38Smrg install_sh="\${SHELL} $am_aux_dir/install-sh" 2178dd519f38Smrg esac 2179dd519f38Smrgfi 2180dd519f38Smrg 21815d10e53fSmrg# Installed binaries are usually stripped using 'strip' when the user 21825d10e53fSmrg# run "make install-strip". However 'strip' might not be the right 2183dd519f38Smrg# tool to use in cross-compilation environments, therefore Automake 21845d10e53fSmrg# will honor the 'STRIP' environment variable to overrule this program. 2185dd519f38Smrgif test "$cross_compiling" != no; then 2186dd519f38Smrg if test -n "$ac_tool_prefix"; then 2187dd519f38Smrg # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2188dd519f38Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2 21895d10e53fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 21905d10e53fSmrgprintf %s "checking for $ac_word... " >&6; } 21915d10e53fSmrgif test ${ac_cv_prog_STRIP+y} 21925d10e53fSmrgthen : 21935d10e53fSmrg printf %s "(cached) " >&6 21945d10e53fSmrgelse $as_nop 2195dd519f38Smrg if test -n "$STRIP"; then 2196dd519f38Smrg ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2197dd519f38Smrgelse 2198dd519f38Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2199dd519f38Smrgfor as_dir in $PATH 2200dd519f38Smrgdo 2201dd519f38Smrg IFS=$as_save_IFS 22025d10e53fSmrg case $as_dir in #((( 22035d10e53fSmrg '') as_dir=./ ;; 22045d10e53fSmrg */) ;; 22055d10e53fSmrg *) as_dir=$as_dir/ ;; 22065d10e53fSmrg esac 22077973f115Smrg for ac_exec_ext in '' $ac_executable_extensions; do 22085d10e53fSmrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2209dd519f38Smrg ac_cv_prog_STRIP="${ac_tool_prefix}strip" 22105d10e53fSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2211dd519f38Smrg break 2 2212dd519f38Smrg fi 2213dd519f38Smrgdone 22147973f115Smrg done 2215dd519f38SmrgIFS=$as_save_IFS 2216dd519f38Smrg 2217dd519f38Smrgfi 2218dd519f38Smrgfi 2219dd519f38SmrgSTRIP=$ac_cv_prog_STRIP 2220dd519f38Smrgif test -n "$STRIP"; then 22215d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 22225d10e53fSmrgprintf "%s\n" "$STRIP" >&6; } 2223dd519f38Smrgelse 22245d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 22255d10e53fSmrgprintf "%s\n" "no" >&6; } 2226dd519f38Smrgfi 2227dd519f38Smrg 2228dd519f38Smrg 2229dd519f38Smrgfi 2230dd519f38Smrgif test -z "$ac_cv_prog_STRIP"; then 2231dd519f38Smrg ac_ct_STRIP=$STRIP 2232dd519f38Smrg # Extract the first word of "strip", so it can be a program name with args. 2233dd519f38Smrgset dummy strip; ac_word=$2 22345d10e53fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22355d10e53fSmrgprintf %s "checking for $ac_word... " >&6; } 22365d10e53fSmrgif test ${ac_cv_prog_ac_ct_STRIP+y} 22375d10e53fSmrgthen : 22385d10e53fSmrg printf %s "(cached) " >&6 22395d10e53fSmrgelse $as_nop 2240dd519f38Smrg if test -n "$ac_ct_STRIP"; then 2241dd519f38Smrg ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2242dd519f38Smrgelse 2243dd519f38Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2244dd519f38Smrgfor as_dir in $PATH 2245dd519f38Smrgdo 2246dd519f38Smrg IFS=$as_save_IFS 22475d10e53fSmrg case $as_dir in #((( 22485d10e53fSmrg '') as_dir=./ ;; 22495d10e53fSmrg */) ;; 22505d10e53fSmrg *) as_dir=$as_dir/ ;; 22515d10e53fSmrg esac 22527973f115Smrg for ac_exec_ext in '' $ac_executable_extensions; do 22535d10e53fSmrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2254dd519f38Smrg ac_cv_prog_ac_ct_STRIP="strip" 22555d10e53fSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2256dd519f38Smrg break 2 2257dd519f38Smrg fi 2258dd519f38Smrgdone 22597973f115Smrg done 2260dd519f38SmrgIFS=$as_save_IFS 2261dd519f38Smrg 2262dd519f38Smrgfi 2263dd519f38Smrgfi 2264dd519f38Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2265dd519f38Smrgif test -n "$ac_ct_STRIP"; then 22665d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 22675d10e53fSmrgprintf "%s\n" "$ac_ct_STRIP" >&6; } 2268dd519f38Smrgelse 22695d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 22705d10e53fSmrgprintf "%s\n" "no" >&6; } 2271ed029a5fSmrgfi 2272ed029a5fSmrg 2273dd519f38Smrg if test "x$ac_ct_STRIP" = x; then 2274dd519f38Smrg STRIP=":" 2275dd519f38Smrg else 2276dd519f38Smrg case $cross_compiling:$ac_tool_warned in 2277dd519f38Smrgyes:) 22785d10e53fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 22795d10e53fSmrgprintf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2280dd519f38Smrgac_tool_warned=yes ;; 2281dd519f38Smrgesac 2282dd519f38Smrg STRIP=$ac_ct_STRIP 2283dd519f38Smrg fi 2284dd519f38Smrgelse 2285dd519f38Smrg STRIP="$ac_cv_prog_STRIP" 2286dd519f38Smrgfi 2287dd519f38Smrg 2288dd519f38Smrgfi 2289dd519f38SmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2290dd519f38Smrg 22915d10e53fSmrg 22925d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5 22935d10e53fSmrgprintf %s "checking for a race-free mkdir -p... " >&6; } 2294dd519f38Smrgif test -z "$MKDIR_P"; then 22955d10e53fSmrg if test ${ac_cv_path_mkdir+y} 22965d10e53fSmrgthen : 22975d10e53fSmrg printf %s "(cached) " >&6 22985d10e53fSmrgelse $as_nop 2299dd519f38Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2300dd519f38Smrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2301dd519f38Smrgdo 2302dd519f38Smrg IFS=$as_save_IFS 23035d10e53fSmrg case $as_dir in #((( 23045d10e53fSmrg '') as_dir=./ ;; 23055d10e53fSmrg */) ;; 23065d10e53fSmrg *) as_dir=$as_dir/ ;; 23075d10e53fSmrg esac 23087973f115Smrg for ac_prog in mkdir gmkdir; do 2309dd519f38Smrg for ac_exec_ext in '' $ac_executable_extensions; do 23105d10e53fSmrg as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue 23115d10e53fSmrg case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #( 23125d10e53fSmrg 'mkdir ('*'coreutils) '* | \ 23135d10e53fSmrg 'BusyBox '* | \ 2314dd519f38Smrg 'mkdir (fileutils) '4.1*) 23155d10e53fSmrg ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext 2316dd519f38Smrg break 3;; 2317dd519f38Smrg esac 2318dd519f38Smrg done 2319dd519f38Smrg done 23207973f115Smrg done 2321dd519f38SmrgIFS=$as_save_IFS 2322dd519f38Smrg 2323dd519f38Smrgfi 2324dd519f38Smrg 23257973f115Smrg test -d ./--version && rmdir ./--version 23265d10e53fSmrg if test ${ac_cv_path_mkdir+y}; then 2327dd519f38Smrg MKDIR_P="$ac_cv_path_mkdir -p" 2328dd519f38Smrg else 2329dd519f38Smrg # As a last resort, use the slow shell script. Don't cache a 2330dd519f38Smrg # value for MKDIR_P within a source directory, because that will 2331dd519f38Smrg # break other packages using the cache if that directory is 2332dd519f38Smrg # removed, or if the value is a relative name. 2333dd519f38Smrg MKDIR_P="$ac_install_sh -d" 2334dd519f38Smrg fi 2335dd519f38Smrgfi 23365d10e53fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 23375d10e53fSmrgprintf "%s\n" "$MKDIR_P" >&6; } 2338dd519f38Smrg 2339ed029a5fSmrgfor ac_prog in gawk mawk nawk awk 2340ed029a5fSmrgdo 2341ed029a5fSmrg # Extract the first word of "$ac_prog", so it can be a program name with args. 2342ed029a5fSmrgset dummy $ac_prog; ac_word=$2 23435d10e53fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23445d10e53fSmrgprintf %s "checking for $ac_word... " >&6; } 23455d10e53fSmrgif test ${ac_cv_prog_AWK+y} 23465d10e53fSmrgthen : 23475d10e53fSmrg printf %s "(cached) " >&6 23485d10e53fSmrgelse $as_nop 2349ed029a5fSmrg if test -n "$AWK"; then 2350ed029a5fSmrg ac_cv_prog_AWK="$AWK" # Let the user override the test. 2351ed029a5fSmrgelse 2352ed029a5fSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2353ed029a5fSmrgfor as_dir in $PATH 2354ed029a5fSmrgdo 2355ed029a5fSmrg IFS=$as_save_IFS 23565d10e53fSmrg case $as_dir in #((( 23575d10e53fSmrg '') as_dir=./ ;; 23585d10e53fSmrg */) ;; 23595d10e53fSmrg *) as_dir=$as_dir/ ;; 23605d10e53fSmrg esac 23617973f115Smrg for ac_exec_ext in '' $ac_executable_extensions; do 23625d10e53fSmrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2363ed029a5fSmrg ac_cv_prog_AWK="$ac_prog" 23645d10e53fSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2365ed029a5fSmrg break 2 2366ed029a5fSmrg fi 2367ed029a5fSmrgdone 23687973f115Smrg done 2369dd519f38SmrgIFS=$as_save_IFS 2370ed029a5fSmrg 2371ed029a5fSmrgfi 2372ed029a5fSmrgfi 2373ed029a5fSmrgAWK=$ac_cv_prog_AWK 2374ed029a5fSmrgif test -n "$AWK"; then 23755d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 23765d10e53fSmrgprintf "%s\n" "$AWK" >&6; } 2377ed029a5fSmrgelse 23785d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 23795d10e53fSmrgprintf "%s\n" "no" >&6; } 2380ed029a5fSmrgfi 2381ed029a5fSmrg 2382dd519f38Smrg 2383ed029a5fSmrg test -n "$AWK" && break 2384ed029a5fSmrgdone 2385ed029a5fSmrg 23865d10e53fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 23875d10e53fSmrgprintf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2388dd519f38Smrgset x ${MAKE-make} 23895d10e53fSmrgac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 23905d10e53fSmrgif eval test \${ac_cv_prog_make_${ac_make}_set+y} 23915d10e53fSmrgthen : 23925d10e53fSmrg printf %s "(cached) " >&6 23935d10e53fSmrgelse $as_nop 2394ed029a5fSmrg cat >conftest.make <<\_ACEOF 2395dd519f38SmrgSHELL = /bin/sh 2396ed029a5fSmrgall: 2397dd519f38Smrg @echo '@@@%%%=$(MAKE)=@@@%%%' 2398ed029a5fSmrg_ACEOF 23997973f115Smrg# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2400dd519f38Smrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in 2401dd519f38Smrg *@@@%%%=?*=@@@%%%*) 2402dd519f38Smrg eval ac_cv_prog_make_${ac_make}_set=yes;; 2403dd519f38Smrg *) 2404dd519f38Smrg eval ac_cv_prog_make_${ac_make}_set=no;; 2405dd519f38Smrgesac 2406ed029a5fSmrgrm -f conftest.make 2407ed029a5fSmrgfi 2408dd519f38Smrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 24095d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24105d10e53fSmrgprintf "%s\n" "yes" >&6; } 2411ed029a5fSmrg SET_MAKE= 2412ed029a5fSmrgelse 24135d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 24145d10e53fSmrgprintf "%s\n" "no" >&6; } 2415ed029a5fSmrg SET_MAKE="MAKE=${MAKE-make}" 2416ed029a5fSmrgfi 2417ed029a5fSmrg 2418ed029a5fSmrgrm -rf .tst 2>/dev/null 2419ed029a5fSmrgmkdir .tst 2>/dev/null 2420ed029a5fSmrgif test -d .tst; then 2421ed029a5fSmrg am__leading_dot=. 2422ed029a5fSmrgelse 2423ed029a5fSmrg am__leading_dot=_ 2424ed029a5fSmrgfi 2425ed029a5fSmrgrmdir .tst 2>/dev/null 2426ed029a5fSmrg 24275d10e53fSmrg# Check whether --enable-silent-rules was given. 24285d10e53fSmrgif test ${enable_silent_rules+y} 24295d10e53fSmrgthen : 24305d10e53fSmrg enableval=$enable_silent_rules; 24315d10e53fSmrgfi 24325d10e53fSmrg 24335d10e53fSmrgcase $enable_silent_rules in # ((( 24345d10e53fSmrg yes) AM_DEFAULT_VERBOSITY=0;; 24355d10e53fSmrg no) AM_DEFAULT_VERBOSITY=1;; 24365d10e53fSmrg *) AM_DEFAULT_VERBOSITY=1;; 24375d10e53fSmrgesac 24385d10e53fSmrgam_make=${MAKE-make} 24395d10e53fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 24405d10e53fSmrgprintf %s "checking whether $am_make supports nested variables... " >&6; } 24415d10e53fSmrgif test ${am_cv_make_support_nested_variables+y} 24425d10e53fSmrgthen : 24435d10e53fSmrg printf %s "(cached) " >&6 24445d10e53fSmrgelse $as_nop 24455d10e53fSmrg if printf "%s\n" 'TRUE=$(BAR$(V)) 24465d10e53fSmrgBAR0=false 24475d10e53fSmrgBAR1=true 24485d10e53fSmrgV=1 24495d10e53fSmrgam__doit: 24505d10e53fSmrg @$(TRUE) 24515d10e53fSmrg.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 24525d10e53fSmrg am_cv_make_support_nested_variables=yes 24535d10e53fSmrgelse 24545d10e53fSmrg am_cv_make_support_nested_variables=no 24555d10e53fSmrgfi 24565d10e53fSmrgfi 24575d10e53fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 24585d10e53fSmrgprintf "%s\n" "$am_cv_make_support_nested_variables" >&6; } 24595d10e53fSmrgif test $am_cv_make_support_nested_variables = yes; then 24605d10e53fSmrg AM_V='$(V)' 24615d10e53fSmrg AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 24625d10e53fSmrgelse 24635d10e53fSmrg AM_V=$AM_DEFAULT_VERBOSITY 24645d10e53fSmrg AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 24655d10e53fSmrgfi 24665d10e53fSmrgAM_BACKSLASH='\' 24675d10e53fSmrg 2468dd519f38Smrgif test "`cd $srcdir && pwd`" != "`pwd`"; then 2469dd519f38Smrg # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2470dd519f38Smrg # is not polluted with repeated "-I." 2471dd519f38Smrg am__isrc=' -I$(srcdir)' 2472dd519f38Smrg # test to see if srcdir already configured 2473dd519f38Smrg if test -f $srcdir/config.status; then 24747973f115Smrg as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2475dd519f38Smrg fi 2476ed029a5fSmrgfi 2477ed029a5fSmrg 2478ed029a5fSmrg# test whether we have cygpath 2479ed029a5fSmrgif test -z "$CYGPATH_W"; then 2480ed029a5fSmrg if (cygpath --version) >/dev/null 2>/dev/null; then 2481ed029a5fSmrg CYGPATH_W='cygpath -w' 2482ed029a5fSmrg else 2483ed029a5fSmrg CYGPATH_W=echo 2484ed029a5fSmrg fi 2485ed029a5fSmrgfi 2486ed029a5fSmrg 2487ed029a5fSmrg 2488ed029a5fSmrg# Define the identity of the package. 2489ed029a5fSmrg PACKAGE='font-adobe-100dpi' 24905d10e53fSmrg VERSION='1.0.4' 2491ed029a5fSmrg 2492ed029a5fSmrg 24935d10e53fSmrgprintf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h 2494ed029a5fSmrg 2495ed029a5fSmrg 24965d10e53fSmrgprintf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h 2497ed029a5fSmrg 2498ed029a5fSmrg# Some tools Automake needs. 2499ed029a5fSmrg 2500ed029a5fSmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2501ed029a5fSmrg 2502ed029a5fSmrg 2503ed029a5fSmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2504ed029a5fSmrg 2505ed029a5fSmrg 2506ed029a5fSmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2507ed029a5fSmrg 2508ed029a5fSmrg 2509ed029a5fSmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2510ed029a5fSmrg 2511ed029a5fSmrg 2512ed029a5fSmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2513ed029a5fSmrg 25145d10e53fSmrg# For better backward compatibility. To be removed once Automake 1.9.x 25155d10e53fSmrg# dies out for good. For more background, see: 25165d10e53fSmrg# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 25175d10e53fSmrg# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 25185d10e53fSmrgmkdir_p='$(MKDIR_P)' 2519dd519f38Smrg 25205d10e53fSmrg# We need awk for the "check" target (and possibly the TAP driver). The 25215d10e53fSmrg# system "awk" is bad on some platforms. 25225d10e53fSmrg# Always define AMTAR for backward compatibility. Yes, it's still used 25235d10e53fSmrg# in the wild :-( We should find a proper way to deprecate it ... 25245d10e53fSmrgAMTAR='$${TAR-tar}' 2525dd519f38Smrg 2526dd519f38Smrg 25275d10e53fSmrg# We'll loop over all known methods to create a tar archive until one works. 25285d10e53fSmrg_am_tools='gnutar pax cpio none' 2529dd519f38Smrg 25305d10e53fSmrgam__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 2531dd519f38Smrg 2532dd519f38Smrg 25335d10e53fSmrg 25345d10e53fSmrg 25355d10e53fSmrg 25365d10e53fSmrg# Variables for tags utilities; see am/tags.am 25375d10e53fSmrgif test -z "$CTAGS"; then 25385d10e53fSmrg CTAGS=ctags 2539dd519f38Smrgfi 2540dd519f38Smrg 25415d10e53fSmrgif test -z "$ETAGS"; then 25425d10e53fSmrg ETAGS=etags 2543dd519f38Smrgfi 2544dd519f38Smrg 25455d10e53fSmrgif test -z "$CSCOPE"; then 25465d10e53fSmrg CSCOPE=cscope 25475d10e53fSmrgfi 2548dd519f38Smrg 2549dd519f38Smrg 2550dd519f38Smrg 25515d10e53fSmrg# POSIX will say in a future version that running "rm -f" with no argument 25525d10e53fSmrg# is OK; and we want to be able to make that assumption in our Makefile 25535d10e53fSmrg# recipes. So use an aggressive probe to check that the usage we want is 25545d10e53fSmrg# actually supported "in the wild" to an acceptable degree. 25555d10e53fSmrg# See automake bug#10828. 25565d10e53fSmrg# To make any issue more visible, cause the running configure to be aborted 25575d10e53fSmrg# by default if the 'rm' program in use doesn't match our expectations; the 25585d10e53fSmrg# user can still override this though. 25595d10e53fSmrgif rm -f && rm -fr && rm -rf; then : OK; else 25605d10e53fSmrg cat >&2 <<'END' 25615d10e53fSmrgOops! 2562dd519f38Smrg 25635d10e53fSmrgYour 'rm' program seems unable to run without file operands specified 25645d10e53fSmrgon the command line, even when the '-f' option is present. This is contrary 25655d10e53fSmrgto the behaviour of most rm programs out there, and not conforming with 25665d10e53fSmrgthe upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 25677973f115Smrg 25685d10e53fSmrgPlease tell bug-automake@gnu.org about your system, including the value 25695d10e53fSmrgof your $PATH and any error possibly output before this message. This 25705d10e53fSmrgcan help us improve future automake versions. 2571dd519f38Smrg 25725d10e53fSmrgEND 25735d10e53fSmrg if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 25745d10e53fSmrg echo 'Configuration will proceed anyway, since you have set the' >&2 25755d10e53fSmrg echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 25765d10e53fSmrg echo >&2 25775d10e53fSmrg else 25785d10e53fSmrg cat >&2 <<'END' 25795d10e53fSmrgAborting the configuration process, to ensure you take notice of the issue. 2580dd519f38Smrg 25815d10e53fSmrgYou can download and install GNU coreutils to get an 'rm' implementation 25825d10e53fSmrgthat behaves properly: <https://www.gnu.org/software/coreutils/>. 2583dd519f38Smrg 25845d10e53fSmrgIf you want to complete the configuration process using your problematic 25855d10e53fSmrg'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 25865d10e53fSmrgto "yes", and re-run configure. 25877973f115Smrg 25885d10e53fSmrgEND 25895d10e53fSmrg as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 25905d10e53fSmrg fi 2591dd519f38Smrgfi 2592dd519f38Smrg 2593dd519f38Smrg 25945d10e53fSmrg# Require xorg-macros 1.20 or later: XORG_DEFAULT_NOCODE_OPTIONS 25955d10e53fSmrg 25965d10e53fSmrg 25975d10e53fSmrg 2598dd519f38Smrg 2599dd519f38Smrg 2600dd519f38Smrg 2601dd519f38Smrg 2602dd519f38Smrg 2603dd519f38Smrg 2604dd519f38Smrg 2605dd519f38Smrg 2606dd519f38Smrg 2607dd519f38Smrg 2608dd519f38Smrg 2609dd519f38Smrg 2610dd519f38Smrg 2611dd519f38Smrg 2612dd519f38Smrg 26137973f115Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 26147973f115Smrg if test -n "$ac_tool_prefix"; then 26157973f115Smrg # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 26167973f115Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2 26175d10e53fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 26185d10e53fSmrgprintf %s "checking for $ac_word... " >&6; } 26195d10e53fSmrgif test ${ac_cv_path_PKG_CONFIG+y} 26205d10e53fSmrgthen : 26215d10e53fSmrg printf %s "(cached) " >&6 26225d10e53fSmrgelse $as_nop 26237973f115Smrg case $PKG_CONFIG in 26247973f115Smrg [\\/]* | ?:[\\/]*) 26257973f115Smrg ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 26267973f115Smrg ;; 26277973f115Smrg *) 26287973f115Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 26297973f115Smrgfor as_dir in $PATH 2630dd519f38Smrgdo 26317973f115Smrg IFS=$as_save_IFS 26325d10e53fSmrg case $as_dir in #((( 26335d10e53fSmrg '') as_dir=./ ;; 26345d10e53fSmrg */) ;; 26355d10e53fSmrg *) as_dir=$as_dir/ ;; 26365d10e53fSmrg esac 26377973f115Smrg for ac_exec_ext in '' $ac_executable_extensions; do 26385d10e53fSmrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 26395d10e53fSmrg ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" 26405d10e53fSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 26417973f115Smrg break 2 26427973f115Smrg fi 26437973f115Smrgdone 26447973f115Smrg done 26457973f115SmrgIFS=$as_save_IFS 26467973f115Smrg 26477973f115Smrg ;; 2648dd519f38Smrgesac 26497973f115Smrgfi 26507973f115SmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG 26517973f115Smrgif test -n "$PKG_CONFIG"; then 26525d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 26535d10e53fSmrgprintf "%s\n" "$PKG_CONFIG" >&6; } 2654dd519f38Smrgelse 26555d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 26565d10e53fSmrgprintf "%s\n" "no" >&6; } 2657dd519f38Smrgfi 2658dd519f38Smrg 2659dd519f38Smrg 2660dd519f38Smrgfi 26617973f115Smrgif test -z "$ac_cv_path_PKG_CONFIG"; then 26627973f115Smrg ac_pt_PKG_CONFIG=$PKG_CONFIG 26637973f115Smrg # Extract the first word of "pkg-config", so it can be a program name with args. 26647973f115Smrgset dummy pkg-config; ac_word=$2 26655d10e53fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 26665d10e53fSmrgprintf %s "checking for $ac_word... " >&6; } 26675d10e53fSmrgif test ${ac_cv_path_ac_pt_PKG_CONFIG+y} 26685d10e53fSmrgthen : 26695d10e53fSmrg printf %s "(cached) " >&6 26705d10e53fSmrgelse $as_nop 26717973f115Smrg case $ac_pt_PKG_CONFIG in 26727973f115Smrg [\\/]* | ?:[\\/]*) 26737973f115Smrg ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 26747973f115Smrg ;; 2675dd519f38Smrg *) 26767973f115Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 26777973f115Smrgfor as_dir in $PATH 26787973f115Smrgdo 26797973f115Smrg IFS=$as_save_IFS 26805d10e53fSmrg case $as_dir in #((( 26815d10e53fSmrg '') as_dir=./ ;; 26825d10e53fSmrg */) ;; 26835d10e53fSmrg *) as_dir=$as_dir/ ;; 26845d10e53fSmrg esac 26857973f115Smrg for ac_exec_ext in '' $ac_executable_extensions; do 26865d10e53fSmrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 26875d10e53fSmrg ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" 26885d10e53fSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 26897973f115Smrg break 2 26907973f115Smrg fi 26917973f115Smrgdone 26927973f115Smrg done 26937973f115SmrgIFS=$as_save_IFS 2694dd519f38Smrg 26957973f115Smrg ;; 26967973f115Smrgesac 26977973f115Smrgfi 26987973f115Smrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 26997973f115Smrgif test -n "$ac_pt_PKG_CONFIG"; then 27005d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 27015d10e53fSmrgprintf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } 27027973f115Smrgelse 27035d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 27045d10e53fSmrgprintf "%s\n" "no" >&6; } 27057973f115Smrgfi 2706dd519f38Smrg 27077973f115Smrg if test "x$ac_pt_PKG_CONFIG" = x; then 27087973f115Smrg PKG_CONFIG="" 27097973f115Smrg else 27107973f115Smrg case $cross_compiling:$ac_tool_warned in 27117973f115Smrgyes:) 27125d10e53fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 27135d10e53fSmrgprintf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 27147973f115Smrgac_tool_warned=yes ;; 27157973f115Smrgesac 27167973f115Smrg PKG_CONFIG=$ac_pt_PKG_CONFIG 27177973f115Smrg fi 27187973f115Smrgelse 27197973f115Smrg PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 27207973f115Smrgfi 2721dd519f38Smrg 27227973f115Smrgfi 27237973f115Smrgif test -n "$PKG_CONFIG"; then 27247973f115Smrg _pkg_min_version=0.9.0 27255d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 27265d10e53fSmrgprintf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; } 27277973f115Smrg if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 27285d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 27295d10e53fSmrgprintf "%s\n" "yes" >&6; } 27307973f115Smrg else 27315d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 27325d10e53fSmrgprintf "%s\n" "no" >&6; } 27337973f115Smrg PKG_CONFIG="" 27347973f115Smrg fi 27357973f115Smrgfi 2736dd519f38Smrg 27375d10e53fSmrg 27385d10e53fSmrg # Make sure we can run config.sub. 27395d10e53fSmrg$SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 || 27405d10e53fSmrg as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5 27415d10e53fSmrg 27425d10e53fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 27435d10e53fSmrgprintf %s "checking build system type... " >&6; } 27445d10e53fSmrgif test ${ac_cv_build+y} 27455d10e53fSmrgthen : 27465d10e53fSmrg printf %s "(cached) " >&6 27475d10e53fSmrgelse $as_nop 2748dd519f38Smrg ac_build_alias=$build_alias 2749dd519f38Smrgtest "x$ac_build_alias" = x && 27505d10e53fSmrg ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"` 2751dd519f38Smrgtest "x$ac_build_alias" = x && 27527973f115Smrg as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 27535d10e53fSmrgac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` || 27545d10e53fSmrg as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5 2755dd519f38Smrg 2756dd519f38Smrgfi 27575d10e53fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 27585d10e53fSmrgprintf "%s\n" "$ac_cv_build" >&6; } 2759dd519f38Smrgcase $ac_cv_build in 2760dd519f38Smrg*-*-*) ;; 27617973f115Smrg*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 2762dd519f38Smrgesac 2763dd519f38Smrgbuild=$ac_cv_build 2764dd519f38Smrgac_save_IFS=$IFS; IFS='-' 2765dd519f38Smrgset x $ac_cv_build 2766dd519f38Smrgshift 2767dd519f38Smrgbuild_cpu=$1 2768dd519f38Smrgbuild_vendor=$2 2769dd519f38Smrgshift; shift 2770dd519f38Smrg# Remember, the first character of IFS is used to create $*, 2771dd519f38Smrg# except with old shells: 2772dd519f38Smrgbuild_os=$* 2773dd519f38SmrgIFS=$ac_save_IFS 2774dd519f38Smrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2775dd519f38Smrg 2776dd519f38Smrg 27775d10e53fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 27785d10e53fSmrgprintf %s "checking host system type... " >&6; } 27795d10e53fSmrgif test ${ac_cv_host+y} 27805d10e53fSmrgthen : 27815d10e53fSmrg printf %s "(cached) " >&6 27825d10e53fSmrgelse $as_nop 2783dd519f38Smrg if test "x$host_alias" = x; then 2784dd519f38Smrg ac_cv_host=$ac_cv_build 2785dd519f38Smrgelse 27865d10e53fSmrg ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` || 27875d10e53fSmrg as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5 2788dd519f38Smrgfi 2789dd519f38Smrg 2790dd519f38Smrgfi 27915d10e53fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 27925d10e53fSmrgprintf "%s\n" "$ac_cv_host" >&6; } 2793dd519f38Smrgcase $ac_cv_host in 2794dd519f38Smrg*-*-*) ;; 27957973f115Smrg*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 2796dd519f38Smrgesac 2797dd519f38Smrghost=$ac_cv_host 2798dd519f38Smrgac_save_IFS=$IFS; IFS='-' 2799dd519f38Smrgset x $ac_cv_host 2800dd519f38Smrgshift 2801dd519f38Smrghost_cpu=$1 2802dd519f38Smrghost_vendor=$2 2803dd519f38Smrgshift; shift 2804dd519f38Smrg# Remember, the first character of IFS is used to create $*, 2805dd519f38Smrg# except with old shells: 2806dd519f38Smrghost_os=$* 2807dd519f38SmrgIFS=$ac_save_IFS 2808dd519f38Smrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2809dd519f38Smrg 2810dd519f38Smrg 28115d10e53fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 28125d10e53fSmrgprintf %s "checking for a sed that does not truncate output... " >&6; } 28135d10e53fSmrgif test ${ac_cv_path_SED+y} 28145d10e53fSmrgthen : 28155d10e53fSmrg printf %s "(cached) " >&6 28165d10e53fSmrgelse $as_nop 28177973f115Smrg ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 28187973f115Smrg for ac_i in 1 2 3 4 5 6 7; do 28197973f115Smrg ac_script="$ac_script$as_nl$ac_script" 28207973f115Smrg done 28217973f115Smrg echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 28227973f115Smrg { ac_script=; unset ac_script;} 28237973f115Smrg if test -z "$SED"; then 28247973f115Smrg ac_path_SED_found=false 28257973f115Smrg # Loop through the user's path and test for each of PROGNAME-LIST 28267973f115Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 28277973f115Smrgfor as_dir in $PATH 28287973f115Smrgdo 28297973f115Smrg IFS=$as_save_IFS 28305d10e53fSmrg case $as_dir in #((( 28315d10e53fSmrg '') as_dir=./ ;; 28325d10e53fSmrg */) ;; 28335d10e53fSmrg *) as_dir=$as_dir/ ;; 28345d10e53fSmrg esac 28355d10e53fSmrg for ac_prog in sed gsed 28365d10e53fSmrg do 28377973f115Smrg for ac_exec_ext in '' $ac_executable_extensions; do 28385d10e53fSmrg ac_path_SED="$as_dir$ac_prog$ac_exec_ext" 28395d10e53fSmrg as_fn_executable_p "$ac_path_SED" || continue 28407973f115Smrg# Check for GNU ac_path_SED and select it if it is found. 28417973f115Smrg # Check for GNU $ac_path_SED 28427973f115Smrgcase `"$ac_path_SED" --version 2>&1` in 28437973f115Smrg*GNU*) 28447973f115Smrg ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 28457973f115Smrg*) 28467973f115Smrg ac_count=0 28475d10e53fSmrg printf %s 0123456789 >"conftest.in" 28487973f115Smrg while : 28497973f115Smrg do 28507973f115Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 28517973f115Smrg mv "conftest.tmp" "conftest.in" 28527973f115Smrg cp "conftest.in" "conftest.nl" 28535d10e53fSmrg printf "%s\n" '' >> "conftest.nl" 28547973f115Smrg "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 28557973f115Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 28567973f115Smrg as_fn_arith $ac_count + 1 && ac_count=$as_val 28577973f115Smrg if test $ac_count -gt ${ac_path_SED_max-0}; then 28587973f115Smrg # Best one so far, save it but keep looking for a better one 28597973f115Smrg ac_cv_path_SED="$ac_path_SED" 28607973f115Smrg ac_path_SED_max=$ac_count 28617973f115Smrg fi 28627973f115Smrg # 10*(2^10) chars as input seems more than enough 28637973f115Smrg test $ac_count -gt 10 && break 28647973f115Smrg done 28657973f115Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 28667973f115Smrgesac 28677973f115Smrg 28687973f115Smrg $ac_path_SED_found && break 3 28697973f115Smrg done 28707973f115Smrg done 28717973f115Smrg done 28727973f115SmrgIFS=$as_save_IFS 28737973f115Smrg if test -z "$ac_cv_path_SED"; then 28747973f115Smrg as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 28757973f115Smrg fi 28767973f115Smrgelse 28777973f115Smrg ac_cv_path_SED=$SED 28787973f115Smrgfi 28797973f115Smrg 28807973f115Smrgfi 28815d10e53fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 28825d10e53fSmrgprintf "%s\n" "$ac_cv_path_SED" >&6; } 28837973f115Smrg SED="$ac_cv_path_SED" 28847973f115Smrg rm -f conftest.sed 28857973f115Smrg 28867973f115Smrg 2887dd519f38Smrg 2888dd519f38Smrg 2889dd519f38Smrg 2890dd519f38Smrgcat >>confdefs.h <<_ACEOF 2891dd519f38Smrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 2892dd519f38Smrg_ACEOF 2893dd519f38Smrg 2894dd519f38Smrg PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 2895dd519f38Smrg if test "x$PVM" = "x"; then 2896dd519f38Smrg PVM="0" 2897dd519f38Smrg fi 2898dd519f38Smrg 28995d10e53fSmrgprintf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h 2900dd519f38Smrg 2901dd519f38Smrg PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 2902dd519f38Smrg if test "x$PVP" = "x"; then 2903dd519f38Smrg PVP="0" 2904dd519f38Smrg fi 2905dd519f38Smrg 29065d10e53fSmrgprintf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h 2907dd519f38Smrg 2908dd519f38Smrg 2909dd519f38Smrg 29105d10e53fSmrgCHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \ 29117973f115Smrgmv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \ 29125d10e53fSmrg|| (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \ 29135d10e53fSmrgtouch \$(top_srcdir)/ChangeLog; \ 29145d10e53fSmrgecho 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))" 2915dd519f38Smrg 29167973f115Smrg 29177973f115Smrg 29187973f115Smrg 29197973f115Smrgmacros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros` 29207973f115SmrgINSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \ 29217973f115Smrgmv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \ 29225d10e53fSmrg|| (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \ 29235d10e53fSmrgtouch \$(top_srcdir)/INSTALL; \ 29245d10e53fSmrgecho 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))" 29255d10e53fSmrg 29267973f115Smrg 2927dd519f38Smrg 2928dd519f38Smrg 2929dd519f38Smrg 2930dd519f38Smrg 29315d10e53fSmrgcase $host_os in 29325d10e53fSmrg solaris*) 29335d10e53fSmrg # Solaris 2.0 - 11.3 use SysV man page section numbers, so we 29345d10e53fSmrg # check for a man page file found in later versions that use 29355d10e53fSmrg # traditional section numbers instead 29365d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5 29375d10e53fSmrgprintf %s "checking for /usr/share/man/man7/attributes.7... " >&6; } 29385d10e53fSmrgif test ${ac_cv_file__usr_share_man_man7_attributes_7+y} 29395d10e53fSmrgthen : 29405d10e53fSmrg printf %s "(cached) " >&6 29415d10e53fSmrgelse $as_nop 29425d10e53fSmrg test "$cross_compiling" = yes && 29435d10e53fSmrg as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 29445d10e53fSmrgif test -r "/usr/share/man/man7/attributes.7"; then 29455d10e53fSmrg ac_cv_file__usr_share_man_man7_attributes_7=yes 29465d10e53fSmrgelse 29475d10e53fSmrg ac_cv_file__usr_share_man_man7_attributes_7=no 29485d10e53fSmrgfi 29495d10e53fSmrgfi 29505d10e53fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5 29515d10e53fSmrgprintf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; } 29525d10e53fSmrgif test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes 29535d10e53fSmrgthen : 29545d10e53fSmrg SYSV_MAN_SECTIONS=false 29555d10e53fSmrgelse $as_nop 29565d10e53fSmrg SYSV_MAN_SECTIONS=true 29575d10e53fSmrgfi 29585d10e53fSmrg 29595d10e53fSmrg ;; 29605d10e53fSmrg *) SYSV_MAN_SECTIONS=false ;; 29615d10e53fSmrgesac 2962dd519f38Smrg 2963dd519f38Smrgif test x$APP_MAN_SUFFIX = x ; then 2964dd519f38Smrg APP_MAN_SUFFIX=1 2965dd519f38Smrgfi 2966dd519f38Smrgif test x$APP_MAN_DIR = x ; then 2967dd519f38Smrg APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 2968dd519f38Smrgfi 2969dd519f38Smrg 2970dd519f38Smrgif test x$LIB_MAN_SUFFIX = x ; then 2971dd519f38Smrg LIB_MAN_SUFFIX=3 2972dd519f38Smrgfi 2973dd519f38Smrgif test x$LIB_MAN_DIR = x ; then 2974dd519f38Smrg LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 2975dd519f38Smrgfi 2976dd519f38Smrg 2977dd519f38Smrgif test x$FILE_MAN_SUFFIX = x ; then 29785d10e53fSmrg case $SYSV_MAN_SECTIONS in 29795d10e53fSmrg true) FILE_MAN_SUFFIX=4 ;; 29805d10e53fSmrg *) FILE_MAN_SUFFIX=5 ;; 2981dd519f38Smrg esac 2982dd519f38Smrgfi 2983dd519f38Smrgif test x$FILE_MAN_DIR = x ; then 2984dd519f38Smrg FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 2985dd519f38Smrgfi 2986dd519f38Smrg 2987dd519f38Smrgif test x$MISC_MAN_SUFFIX = x ; then 29885d10e53fSmrg case $SYSV_MAN_SECTIONS in 29895d10e53fSmrg true) MISC_MAN_SUFFIX=5 ;; 29905d10e53fSmrg *) MISC_MAN_SUFFIX=7 ;; 2991dd519f38Smrg esac 2992dd519f38Smrgfi 2993dd519f38Smrgif test x$MISC_MAN_DIR = x ; then 2994dd519f38Smrg MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 2995dd519f38Smrgfi 2996dd519f38Smrg 2997dd519f38Smrgif test x$DRIVER_MAN_SUFFIX = x ; then 29985d10e53fSmrg case $SYSV_MAN_SECTIONS in 29995d10e53fSmrg true) DRIVER_MAN_SUFFIX=7 ;; 30005d10e53fSmrg *) DRIVER_MAN_SUFFIX=4 ;; 3001dd519f38Smrg esac 3002dd519f38Smrgfi 3003dd519f38Smrgif test x$DRIVER_MAN_DIR = x ; then 3004dd519f38Smrg DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 3005dd519f38Smrgfi 3006dd519f38Smrg 3007dd519f38Smrgif test x$ADMIN_MAN_SUFFIX = x ; then 30085d10e53fSmrg case $SYSV_MAN_SECTIONS in 30095d10e53fSmrg true) ADMIN_MAN_SUFFIX=1m ;; 30105d10e53fSmrg *) ADMIN_MAN_SUFFIX=8 ;; 3011dd519f38Smrg esac 3012dd519f38Smrgfi 3013dd519f38Smrgif test x$ADMIN_MAN_DIR = x ; then 3014dd519f38Smrg ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 3015dd519f38Smrgfi 3016dd519f38Smrg 3017dd519f38Smrg 3018dd519f38Smrg 3019dd519f38Smrg 3020dd519f38Smrg 3021dd519f38Smrg 3022dd519f38Smrg 3023dd519f38Smrg 3024dd519f38Smrg 3025dd519f38Smrg 3026dd519f38Smrg 3027dd519f38Smrg 3028dd519f38Smrg 3029dd519f38Smrg 3030ed029a5fSmrg 30317973f115SmrgXORG_MAN_PAGE="X Version 11" 3032ed029a5fSmrg 30337973f115SmrgMAN_SUBSTS="\ 30347973f115Smrg -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 30357973f115Smrg -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 30367973f115Smrg -e 's|__xservername__|Xorg|g' \ 30377973f115Smrg -e 's|__xconfigfile__|xorg.conf|g' \ 30387973f115Smrg -e 's|__projectroot__|\$(prefix)|g' \ 30397973f115Smrg -e 's|__apploaddir__|\$(appdefaultdir)|g' \ 30407973f115Smrg -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \ 30417973f115Smrg -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \ 30427973f115Smrg -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \ 30437973f115Smrg -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \ 30447973f115Smrg -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \ 30457973f115Smrg -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'" 3046ed029a5fSmrg 3047ed029a5fSmrg 3048ed029a5fSmrg 30497973f115Smrg# Check whether --enable-silent-rules was given. 30505d10e53fSmrgif test ${enable_silent_rules+y} 30515d10e53fSmrgthen : 30527973f115Smrg enableval=$enable_silent_rules; 3053ed029a5fSmrgfi 3054dd519f38Smrg 30555d10e53fSmrgcase $enable_silent_rules in # ((( 30565d10e53fSmrg yes) AM_DEFAULT_VERBOSITY=0;; 30575d10e53fSmrg no) AM_DEFAULT_VERBOSITY=1;; 30585d10e53fSmrg *) AM_DEFAULT_VERBOSITY=0;; 30597973f115Smrgesac 30605d10e53fSmrgam_make=${MAKE-make} 30615d10e53fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 30625d10e53fSmrgprintf %s "checking whether $am_make supports nested variables... " >&6; } 30635d10e53fSmrgif test ${am_cv_make_support_nested_variables+y} 30645d10e53fSmrgthen : 30655d10e53fSmrg printf %s "(cached) " >&6 30665d10e53fSmrgelse $as_nop 30675d10e53fSmrg if printf "%s\n" 'TRUE=$(BAR$(V)) 30685d10e53fSmrgBAR0=false 30695d10e53fSmrgBAR1=true 30705d10e53fSmrgV=1 30715d10e53fSmrgam__doit: 30725d10e53fSmrg @$(TRUE) 30735d10e53fSmrg.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 30745d10e53fSmrg am_cv_make_support_nested_variables=yes 30755d10e53fSmrgelse 30765d10e53fSmrg am_cv_make_support_nested_variables=no 30775d10e53fSmrgfi 30785d10e53fSmrgfi 30795d10e53fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 30805d10e53fSmrgprintf "%s\n" "$am_cv_make_support_nested_variables" >&6; } 30815d10e53fSmrgif test $am_cv_make_support_nested_variables = yes; then 30825d10e53fSmrg AM_V='$(V)' 30835d10e53fSmrg AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 30845d10e53fSmrgelse 30855d10e53fSmrg AM_V=$AM_DEFAULT_VERBOSITY 30865d10e53fSmrg AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 30875d10e53fSmrgfi 30887973f115SmrgAM_BACKSLASH='\' 3089dd519f38Smrg 3090dd519f38Smrg 3091dd519f38Smrg 30925d10e53fSmrg# Require X.Org's font util macros 1.4 or later for COMPRESS_FLAGS 3093dd519f38Smrg 3094dd519f38Smrg 3095dd519f38Smrg 3096dd519f38Smrg 3097dd519f38Smrg 3098dd519f38Smrg 3099ed029a5fSmrg 3100ed029a5fSmrg 3101dd519f38Smrg 3102ed029a5fSmrg 3103ed029a5fSmrg 3104dd519f38Smrg 3105dd519f38Smrg 3106dd519f38Smrg 3107dd519f38Smrg 31085d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for root directory for font files" >&5 31095d10e53fSmrgprintf %s "checking for root directory for font files... " >&6; } 3110dd519f38Smrg 3111dd519f38Smrg# Check whether --with-fontrootdir was given. 31125d10e53fSmrgif test ${with_fontrootdir+y} 31135d10e53fSmrgthen : 3114dd519f38Smrg withval=$with_fontrootdir; FONTROOTDIR="$withval" 3115dd519f38Smrgfi 3116dd519f38Smrg 3117dd519f38Smrg # if --with-fontrootdir not specified... 3118dd519f38Smrg if test "x${FONTROOTDIR}" = "x"; then 3119dd519f38Smrg FONTROOTDIR=`$PKG_CONFIG --variable=fontrootdir fontutil` 3120dd519f38Smrg fi 3121dd519f38Smrg # ...and if pkg-config didn't find fontdir in fontutil.pc... 3122dd519f38Smrg if test "x${FONTROOTDIR}" = "x"; then 3123dd519f38Smrg FONTROOTDIR="${datadir}/fonts/X11" 3124dd519f38Smrg fi 3125dd519f38Smrg 31265d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${FONTROOTDIR}" >&5 31275d10e53fSmrgprintf "%s\n" "${FONTROOTDIR}" >&6; } 3128dd519f38Smrg 3129dd519f38Smrg 3130dd519f38Smrg 3131dd519f38Smrg 31325d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for directory for 100dpi files" >&5 31335d10e53fSmrgprintf %s "checking for directory for 100dpi files... " >&6; } 3134dd519f38Smrg 3135dd519f38Smrg# Check whether --with-fontdir was given. 31365d10e53fSmrgif test ${with_fontdir+y} 31375d10e53fSmrgthen : 3138dd519f38Smrg withval=$with_fontdir; FONTDIR="${withval}" 31395d10e53fSmrgelse $as_nop 3140dd519f38Smrg FONTDIR='${FONTROOTDIR}/100dpi' 3141ed029a5fSmrgfi 3142ed029a5fSmrg 3143dd519f38Smrg 31445d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${FONTDIR}" >&5 31455d10e53fSmrgprintf "%s\n" "${FONTDIR}" >&6; } 3146dd519f38Smrg 3147dd519f38Smrg 3148dd519f38Smrg 3149dd519f38Smrg 3150dd519f38Smrg # Extract the first word of "fc-cache", so it can be a program name with args. 3151dd519f38Smrgset dummy fc-cache; ac_word=$2 31525d10e53fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 31535d10e53fSmrgprintf %s "checking for $ac_word... " >&6; } 31545d10e53fSmrgif test ${ac_cv_path_FCCACHE+y} 31555d10e53fSmrgthen : 31565d10e53fSmrg printf %s "(cached) " >&6 31575d10e53fSmrgelse $as_nop 3158dd519f38Smrg case $FCCACHE in 3159ed029a5fSmrg [\\/]* | ?:[\\/]*) 3160dd519f38Smrg ac_cv_path_FCCACHE="$FCCACHE" # Let the user override the test with a path. 3161ed029a5fSmrg ;; 3162ed029a5fSmrg *) 3163ed029a5fSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3164ed029a5fSmrgfor as_dir in $PATH 3165ed029a5fSmrgdo 3166ed029a5fSmrg IFS=$as_save_IFS 31675d10e53fSmrg case $as_dir in #((( 31685d10e53fSmrg '') as_dir=./ ;; 31695d10e53fSmrg */) ;; 31705d10e53fSmrg *) as_dir=$as_dir/ ;; 31715d10e53fSmrg esac 31727973f115Smrg for ac_exec_ext in '' $ac_executable_extensions; do 31735d10e53fSmrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 31745d10e53fSmrg ac_cv_path_FCCACHE="$as_dir$ac_word$ac_exec_ext" 31755d10e53fSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3176ed029a5fSmrg break 2 3177ed029a5fSmrg fi 3178ed029a5fSmrgdone 31797973f115Smrg done 3180dd519f38SmrgIFS=$as_save_IFS 3181ed029a5fSmrg 3182ed029a5fSmrg ;; 3183ed029a5fSmrgesac 3184ed029a5fSmrgfi 3185dd519f38SmrgFCCACHE=$ac_cv_path_FCCACHE 3186dd519f38Smrgif test -n "$FCCACHE"; then 31875d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FCCACHE" >&5 31885d10e53fSmrgprintf "%s\n" "$FCCACHE" >&6; } 3189ed029a5fSmrgelse 31905d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 31915d10e53fSmrgprintf "%s\n" "no" >&6; } 3192ed029a5fSmrgfi 3193ed029a5fSmrg 3194dd519f38Smrg 3195dd519f38Smrg FCCACHE_WARN='echo "** Warning: fonts.cache not built" ; echo "** Generate this file manually on host system using fc-cache"' 31965d10e53fSmrg if test x"$FCCACHE" = x || test x"$cross_compiling" != x"no" ; then 3197dd519f38Smrg RUN_FCCACHE="${FCCACHE_WARN}" 3198dd519f38Smrg else 3199dd519f38Smrg RUN_FCCACHE='@(if test -z "$(DESTDIR)"; then echo $(FCCACHE) $(fontdir); $(FCCACHE) $(fontdir); else' 3200dd519f38Smrg RUN_FCCACHE="${RUN_FCCACHE} ${FCCACHE_WARN} ; fi)" 3201dd519f38Smrg fi 3202dd519f38Smrg 3203dd519f38Smrg 3204dd519f38Smrg 32055d10e53fSmrg if test x"$cross_compiling" != x"no" ; then 32065d10e53fSmrg # Extract the first word of "mkfontdir", so it can be a program name with args. 3207ed029a5fSmrgset dummy mkfontdir; ac_word=$2 32085d10e53fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 32095d10e53fSmrgprintf %s "checking for $ac_word... " >&6; } 32105d10e53fSmrgif test ${ac_cv_path_MKFONTDIR+y} 32115d10e53fSmrgthen : 32125d10e53fSmrg printf %s "(cached) " >&6 32135d10e53fSmrgelse $as_nop 32145d10e53fSmrg case $MKFONTDIR in 32155d10e53fSmrg [\\/]* | ?:[\\/]*) 32165d10e53fSmrg ac_cv_path_MKFONTDIR="$MKFONTDIR" # Let the user override the test with a path. 32175d10e53fSmrg ;; 32185d10e53fSmrg *) 32195d10e53fSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 32205d10e53fSmrgfor as_dir in $PATH 32215d10e53fSmrgdo 32225d10e53fSmrg IFS=$as_save_IFS 32235d10e53fSmrg case $as_dir in #((( 32245d10e53fSmrg '') as_dir=./ ;; 32255d10e53fSmrg */) ;; 32265d10e53fSmrg *) as_dir=$as_dir/ ;; 32275d10e53fSmrg esac 32285d10e53fSmrg for ac_exec_ext in '' $ac_executable_extensions; do 32295d10e53fSmrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 32305d10e53fSmrg ac_cv_path_MKFONTDIR="$as_dir$ac_word$ac_exec_ext" 32315d10e53fSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 32325d10e53fSmrg break 2 32335d10e53fSmrg fi 32345d10e53fSmrgdone 32355d10e53fSmrg done 32365d10e53fSmrgIFS=$as_save_IFS 32375d10e53fSmrg 32385d10e53fSmrg test -z "$ac_cv_path_MKFONTDIR" && ac_cv_path_MKFONTDIR="""" 32395d10e53fSmrg ;; 32405d10e53fSmrgesac 32415d10e53fSmrgfi 32425d10e53fSmrgMKFONTDIR=$ac_cv_path_MKFONTDIR 32435d10e53fSmrgif test -n "$MKFONTDIR"; then 32445d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKFONTDIR" >&5 32455d10e53fSmrgprintf "%s\n" "$MKFONTDIR" >&6; } 3246ed029a5fSmrgelse 32475d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 32485d10e53fSmrgprintf "%s\n" "no" >&6; } 32495d10e53fSmrgfi 32505d10e53fSmrg 32515d10e53fSmrg 32525d10e53fSmrg MKFONTDIR_WARN='echo "** Warning: mkfontdir not run" ; echo "** Run mkfontdir manually on host system"' 32535d10e53fSmrg 32545d10e53fSmrg if test x"$MKFONTDIR" = x; then 32555d10e53fSmrg MKFONTDIR="${MKFONTDIR_WARN} ; echo '** mkfontdir'" 32565d10e53fSmrg fi 32575d10e53fSmrg else 32585d10e53fSmrg 32595d10e53fSmrg # Extract the first word of "mkfontdir", so it can be a program name with args. 32605d10e53fSmrgset dummy mkfontdir; ac_word=$2 32615d10e53fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 32625d10e53fSmrgprintf %s "checking for $ac_word... " >&6; } 32635d10e53fSmrgif test ${ac_cv_path_MKFONTDIR+y} 32645d10e53fSmrgthen : 32655d10e53fSmrg printf %s "(cached) " >&6 32665d10e53fSmrgelse $as_nop 3267ed029a5fSmrg case $MKFONTDIR in 3268ed029a5fSmrg [\\/]* | ?:[\\/]*) 3269ed029a5fSmrg ac_cv_path_MKFONTDIR="$MKFONTDIR" # Let the user override the test with a path. 3270ed029a5fSmrg ;; 3271ed029a5fSmrg *) 3272ed029a5fSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3273ed029a5fSmrgfor as_dir in $PATH 3274ed029a5fSmrgdo 3275ed029a5fSmrg IFS=$as_save_IFS 32765d10e53fSmrg case $as_dir in #((( 32775d10e53fSmrg '') as_dir=./ ;; 32785d10e53fSmrg */) ;; 32795d10e53fSmrg *) as_dir=$as_dir/ ;; 32805d10e53fSmrg esac 32817973f115Smrg for ac_exec_ext in '' $ac_executable_extensions; do 32825d10e53fSmrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 32835d10e53fSmrg ac_cv_path_MKFONTDIR="$as_dir$ac_word$ac_exec_ext" 32845d10e53fSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3285ed029a5fSmrg break 2 3286ed029a5fSmrg fi 3287ed029a5fSmrgdone 32887973f115Smrg done 3289dd519f38SmrgIFS=$as_save_IFS 3290ed029a5fSmrg 3291ed029a5fSmrg ;; 3292ed029a5fSmrgesac 3293ed029a5fSmrgfi 3294ed029a5fSmrgMKFONTDIR=$ac_cv_path_MKFONTDIR 3295ed029a5fSmrgif test -n "$MKFONTDIR"; then 32965d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKFONTDIR" >&5 32975d10e53fSmrgprintf "%s\n" "$MKFONTDIR" >&6; } 3298ed029a5fSmrgelse 32995d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 33005d10e53fSmrgprintf "%s\n" "no" >&6; } 3301ed029a5fSmrgfi 3302ed029a5fSmrg 3303ed029a5fSmrg 33047973f115Smrg if test x"$MKFONTDIR" = x; then 33057973f115Smrg as_fn_error $? "mkfontdir is required to build $PACKAGE_NAME." "$LINENO" 5 3306dd519f38Smrg fi 3307ed029a5fSmrg 33085d10e53fSmrg fi 33095d10e53fSmrg 33105d10e53fSmrg 33115d10e53fSmrg 3312ed029a5fSmrg 3313ed029a5fSmrg 3314dd519f38Smrg # Extract the first word of "bdftopcf", so it can be a program name with args. 3315dd519f38Smrgset dummy bdftopcf; ac_word=$2 33165d10e53fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 33175d10e53fSmrgprintf %s "checking for $ac_word... " >&6; } 33185d10e53fSmrgif test ${ac_cv_path_BDFTOPCF+y} 33195d10e53fSmrgthen : 33205d10e53fSmrg printf %s "(cached) " >&6 33215d10e53fSmrgelse $as_nop 3322dd519f38Smrg case $BDFTOPCF in 3323dd519f38Smrg [\\/]* | ?:[\\/]*) 3324dd519f38Smrg ac_cv_path_BDFTOPCF="$BDFTOPCF" # Let the user override the test with a path. 3325dd519f38Smrg ;; 3326dd519f38Smrg *) 3327dd519f38Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3328dd519f38Smrgfor as_dir in $PATH 3329dd519f38Smrgdo 3330dd519f38Smrg IFS=$as_save_IFS 33315d10e53fSmrg case $as_dir in #((( 33325d10e53fSmrg '') as_dir=./ ;; 33335d10e53fSmrg */) ;; 33345d10e53fSmrg *) as_dir=$as_dir/ ;; 33355d10e53fSmrg esac 33367973f115Smrg for ac_exec_ext in '' $ac_executable_extensions; do 33375d10e53fSmrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 33385d10e53fSmrg ac_cv_path_BDFTOPCF="$as_dir$ac_word$ac_exec_ext" 33395d10e53fSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3340dd519f38Smrg break 2 3341dd519f38Smrg fi 3342dd519f38Smrgdone 33437973f115Smrg done 3344dd519f38SmrgIFS=$as_save_IFS 3345dd519f38Smrg 3346dd519f38Smrg ;; 3347dd519f38Smrgesac 3348dd519f38Smrgfi 3349dd519f38SmrgBDFTOPCF=$ac_cv_path_BDFTOPCF 3350dd519f38Smrgif test -n "$BDFTOPCF"; then 33515d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BDFTOPCF" >&5 33525d10e53fSmrgprintf "%s\n" "$BDFTOPCF" >&6; } 3353ed029a5fSmrgelse 33545d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 33555d10e53fSmrgprintf "%s\n" "no" >&6; } 3356dd519f38Smrgfi 3357ed029a5fSmrg 3358ed029a5fSmrg 33597973f115Smrg if test x"$BDFTOPCF" = x; then 33607973f115Smrg as_fn_error $? "bdftopcf is required to build $PACKAGE_NAME." "$LINENO" 5 3361dd519f38Smrg fi 3362ed029a5fSmrg 3363ed029a5fSmrg 33645d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking font compression method" >&5 33655d10e53fSmrgprintf %s "checking font compression method... " >&6; } 3366dd519f38Smrg 3367dd519f38Smrg# Check whether --with-compression was given. 33685d10e53fSmrgif test ${with_compression+y} 33695d10e53fSmrgthen : 3370dd519f38Smrg withval=$with_compression; compression="$withval" 33715d10e53fSmrgelse $as_nop 3372dd519f38Smrg compression="yes" 3373dd519f38Smrgfi 3374dd519f38Smrg 3375dd519f38Smrg if test x"$compression" = "xyes" ; then 3376dd519f38Smrg compression="gzip" 3377dd519f38Smrg fi 33785d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${compression}" >&5 33795d10e53fSmrgprintf "%s\n" "${compression}" >&6; } 3380dd519f38Smrg case ${compression} in 3381dd519f38Smrg *compress) COMPRESS_SUFFIX=".Z" ;; 33825d10e53fSmrg *gzip) COMPRESS_SUFFIX=".gz" ; 33835d10e53fSmrg COMPRESS_FLAGS="${COMPRESS_FLAGS--n}" ;; 3384dd519f38Smrg *bzip2) COMPRESS_SUFFIX=".bz2" ;; 3385dd519f38Smrg no|none) COMPRESS_SUFFIX="" ; COMPRESS="cat" ;; 33867973f115Smrg *) as_fn_error $? "${compression} is not a supported compression method" "$LINENO" 5 ;; 3387dd519f38Smrg esac 3388dd519f38Smrg if test x"$COMPRESS_SUFFIX" != "x" ; then 3389dd519f38Smrg 3390dd519f38Smrg # Extract the first word of "${compression}", so it can be a program name with args. 3391dd519f38Smrgset dummy ${compression}; ac_word=$2 33925d10e53fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 33935d10e53fSmrgprintf %s "checking for $ac_word... " >&6; } 33945d10e53fSmrgif test ${ac_cv_path_COMPRESS+y} 33955d10e53fSmrgthen : 33965d10e53fSmrg printf %s "(cached) " >&6 33975d10e53fSmrgelse $as_nop 3398dd519f38Smrg case $COMPRESS in 3399ed029a5fSmrg [\\/]* | ?:[\\/]*) 3400dd519f38Smrg ac_cv_path_COMPRESS="$COMPRESS" # Let the user override the test with a path. 3401ed029a5fSmrg ;; 3402ed029a5fSmrg *) 3403ed029a5fSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3404ed029a5fSmrgfor as_dir in $PATH 3405ed029a5fSmrgdo 3406ed029a5fSmrg IFS=$as_save_IFS 34075d10e53fSmrg case $as_dir in #((( 34085d10e53fSmrg '') as_dir=./ ;; 34095d10e53fSmrg */) ;; 34105d10e53fSmrg *) as_dir=$as_dir/ ;; 34115d10e53fSmrg esac 34127973f115Smrg for ac_exec_ext in '' $ac_executable_extensions; do 34135d10e53fSmrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 34145d10e53fSmrg ac_cv_path_COMPRESS="$as_dir$ac_word$ac_exec_ext" 34155d10e53fSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3416ed029a5fSmrg break 2 3417ed029a5fSmrg fi 3418ed029a5fSmrgdone 34197973f115Smrg done 3420dd519f38SmrgIFS=$as_save_IFS 3421ed029a5fSmrg 3422ed029a5fSmrg ;; 3423ed029a5fSmrgesac 3424ed029a5fSmrgfi 3425dd519f38SmrgCOMPRESS=$ac_cv_path_COMPRESS 3426dd519f38Smrgif test -n "$COMPRESS"; then 34275d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $COMPRESS" >&5 34285d10e53fSmrgprintf "%s\n" "$COMPRESS" >&6; } 3429ed029a5fSmrgelse 34305d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 34315d10e53fSmrgprintf "%s\n" "no" >&6; } 3432ed029a5fSmrgfi 3433ed029a5fSmrg 3434dd519f38Smrg 34357973f115Smrg if test x"$COMPRESS" = x; then 34367973f115Smrg as_fn_error $? "${compression} is required to build $PACKAGE_NAME." "$LINENO" 5 3437dd519f38Smrg fi 3438dd519f38Smrg 3439dd519f38Smrg fi 34405d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking options to font compression command" >&5 34415d10e53fSmrgprintf %s "checking options to font compression command... " >&6; } 34425d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${COMPRESS_FLAGS:-none}" >&5 34435d10e53fSmrgprintf "%s\n" "${COMPRESS_FLAGS:-none}" >&6; } 34445d10e53fSmrg 34455d10e53fSmrg 3446dd519f38Smrg 3447dd519f38Smrg 3448dd519f38Smrg 3449dd519f38Smrg 3450dd519f38Smrg 3451dd519f38Smrg # Extract the first word of "ucs2any", so it can be a program name with args. 3452dd519f38Smrgset dummy ucs2any; ac_word=$2 34535d10e53fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 34545d10e53fSmrgprintf %s "checking for $ac_word... " >&6; } 34555d10e53fSmrgif test ${ac_cv_path_UCS2ANY+y} 34565d10e53fSmrgthen : 34575d10e53fSmrg printf %s "(cached) " >&6 34585d10e53fSmrgelse $as_nop 3459dd519f38Smrg case $UCS2ANY in 3460ed029a5fSmrg [\\/]* | ?:[\\/]*) 3461dd519f38Smrg ac_cv_path_UCS2ANY="$UCS2ANY" # Let the user override the test with a path. 3462ed029a5fSmrg ;; 3463ed029a5fSmrg *) 3464ed029a5fSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3465ed029a5fSmrgfor as_dir in $PATH 3466ed029a5fSmrgdo 3467ed029a5fSmrg IFS=$as_save_IFS 34685d10e53fSmrg case $as_dir in #((( 34695d10e53fSmrg '') as_dir=./ ;; 34705d10e53fSmrg */) ;; 34715d10e53fSmrg *) as_dir=$as_dir/ ;; 34725d10e53fSmrg esac 34737973f115Smrg for ac_exec_ext in '' $ac_executable_extensions; do 34745d10e53fSmrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 34755d10e53fSmrg ac_cv_path_UCS2ANY="$as_dir$ac_word$ac_exec_ext" 34765d10e53fSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3477ed029a5fSmrg break 2 3478ed029a5fSmrg fi 3479ed029a5fSmrgdone 34807973f115Smrg done 3481dd519f38SmrgIFS=$as_save_IFS 3482ed029a5fSmrg 3483ed029a5fSmrg ;; 3484ed029a5fSmrgesac 3485ed029a5fSmrgfi 3486dd519f38SmrgUCS2ANY=$ac_cv_path_UCS2ANY 3487dd519f38Smrgif test -n "$UCS2ANY"; then 34885d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $UCS2ANY" >&5 34895d10e53fSmrgprintf "%s\n" "$UCS2ANY" >&6; } 3490ed029a5fSmrgelse 34915d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 34925d10e53fSmrgprintf "%s\n" "no" >&6; } 3493ed029a5fSmrgfi 3494ed029a5fSmrg 3495ed029a5fSmrg 34967973f115Smrg if test x"$UCS2ANY" = x; then 34977973f115Smrg as_fn_error $? "ucs2any is required to build $PACKAGE_NAME." "$LINENO" 5 3498ed029a5fSmrg fi 3499ed029a5fSmrg 3500ed029a5fSmrg 3501ed029a5fSmrgpkg_failed=no 35025d10e53fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MAPS" >&5 35035d10e53fSmrgprintf %s "checking for MAPS... " >&6; } 3504dd519f38Smrg 3505dd519f38Smrgif test -n "$MAPS_CFLAGS"; then 3506dd519f38Smrg pkg_cv_MAPS_CFLAGS="$MAPS_CFLAGS" 3507dd519f38Smrg elif test -n "$PKG_CONFIG"; then 3508dd519f38Smrg if test -n "$PKG_CONFIG" && \ 35095d10e53fSmrg { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontutil\""; } >&5 3510ed029a5fSmrg ($PKG_CONFIG --exists --print-errors "fontutil") 2>&5 3511ed029a5fSmrg ac_status=$? 35125d10e53fSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 35137973f115Smrg test $ac_status = 0; }; then 3514ed029a5fSmrg pkg_cv_MAPS_CFLAGS=`$PKG_CONFIG --cflags "fontutil" 2>/dev/null` 35155d10e53fSmrg test "x$?" != "x0" && pkg_failed=yes 3516ed029a5fSmrgelse 3517ed029a5fSmrg pkg_failed=yes 3518ed029a5fSmrgfi 3519dd519f38Smrg else 3520dd519f38Smrg pkg_failed=untried 3521ed029a5fSmrgfi 3522dd519f38Smrgif test -n "$MAPS_LIBS"; then 3523dd519f38Smrg pkg_cv_MAPS_LIBS="$MAPS_LIBS" 3524dd519f38Smrg elif test -n "$PKG_CONFIG"; then 3525dd519f38Smrg if test -n "$PKG_CONFIG" && \ 35265d10e53fSmrg { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontutil\""; } >&5 3527ed029a5fSmrg ($PKG_CONFIG --exists --print-errors "fontutil") 2>&5 3528ed029a5fSmrg ac_status=$? 35295d10e53fSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 35307973f115Smrg test $ac_status = 0; }; then 3531ed029a5fSmrg pkg_cv_MAPS_LIBS=`$PKG_CONFIG --libs "fontutil" 2>/dev/null` 35325d10e53fSmrg test "x$?" != "x0" && pkg_failed=yes 3533ed029a5fSmrgelse 3534ed029a5fSmrg pkg_failed=yes 3535ed029a5fSmrgfi 3536dd519f38Smrg else 3537dd519f38Smrg pkg_failed=untried 3538ed029a5fSmrgfi 3539ed029a5fSmrg 3540ed029a5fSmrg 3541ed029a5fSmrg 3542ed029a5fSmrgif test $pkg_failed = yes; then 35435d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 35445d10e53fSmrgprintf "%s\n" "no" >&6; } 3545ed029a5fSmrg 3546ed029a5fSmrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 3547ed029a5fSmrg _pkg_short_errors_supported=yes 3548ed029a5fSmrgelse 3549ed029a5fSmrg _pkg_short_errors_supported=no 3550ed029a5fSmrgfi 3551ed029a5fSmrg if test $_pkg_short_errors_supported = yes; then 35525d10e53fSmrg MAPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fontutil" 2>&1` 3553ed029a5fSmrg else 35545d10e53fSmrg MAPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fontutil" 2>&1` 3555ed029a5fSmrg fi 3556ed029a5fSmrg # Put the nasty error message in config.log where it belongs 3557ed029a5fSmrg echo "$MAPS_PKG_ERRORS" >&5 3558ed029a5fSmrg 35597973f115Smrg as_fn_error $? "Package requirements (fontutil) were not met: 3560ed029a5fSmrg 3561ed029a5fSmrg$MAPS_PKG_ERRORS 3562ed029a5fSmrg 3563ed029a5fSmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 3564ed029a5fSmrginstalled software in a non-standard prefix. 3565ed029a5fSmrg 3566ed029a5fSmrgAlternatively, you may set the environment variables MAPS_CFLAGS 3567ed029a5fSmrgand MAPS_LIBS to avoid the need to call pkg-config. 35687973f115SmrgSee the pkg-config man page for more details." "$LINENO" 5 3569ed029a5fSmrgelif test $pkg_failed = untried; then 35705d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 35715d10e53fSmrgprintf "%s\n" "no" >&6; } 35725d10e53fSmrg { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 35735d10e53fSmrgprintf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 35747973f115Smrgas_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 3575ed029a5fSmrgis in your PATH or set the PKG_CONFIG environment variable to the full 3576ed029a5fSmrgpath to pkg-config. 3577ed029a5fSmrg 35787973f115SmrgAlternatively, you may set the environment variables MAPS_CFLAGS 35797973f115Smrgand MAPS_LIBS to avoid the need to call pkg-config. 35807973f115SmrgSee the pkg-config man page for more details. 35817973f115Smrg 35827973f115SmrgTo get pkg-config, see <http://pkg-config.freedesktop.org/>. 35837973f115SmrgSee \`config.log' for more details" "$LINENO" 5; } 35847973f115Smrgelse 35857973f115Smrg MAPS_CFLAGS=$pkg_cv_MAPS_CFLAGS 35867973f115Smrg MAPS_LIBS=$pkg_cv_MAPS_LIBS 35875d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 35885d10e53fSmrgprintf "%s\n" "yes" >&6; } 35897973f115Smrg 35907973f115Smrgfi 35915d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ucs2any encoding data files" >&5 35925d10e53fSmrgprintf %s "checking for ucs2any encoding data files... " >&6; } 35935d10e53fSmrg MAPFILES_PATH=`$PKG_CONFIG --variable=mapdir fontutil` 35947973f115Smrg 35955d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${MAPFILES_PATH}" >&5 35965d10e53fSmrgprintf "%s\n" "${MAPFILES_PATH}" >&6; } 35977973f115Smrg 35987973f115Smrg 35997973f115Smrg # Check whether --enable-all-encodings was given. 36005d10e53fSmrgif test ${enable_all_encodings+y} 36015d10e53fSmrgthen : 36027973f115Smrg enableval=$enable_all_encodings; 36037973f115Smrg ISO8859_1=$enableval 36047973f115Smrg 36057973f115Smrg ISO8859_2=$enableval 36067973f115Smrg 36077973f115Smrg ISO8859_3=$enableval 36087973f115Smrg 36097973f115Smrg ISO8859_4=$enableval 36107973f115Smrg 36117973f115Smrg ISO8859_9=$enableval 36127973f115Smrg 36137973f115Smrg ISO8859_10=$enableval 36147973f115Smrg 36157973f115Smrg ISO8859_13=$enableval 36167973f115Smrg 36177973f115Smrg ISO8859_14=$enableval 36187973f115Smrg 36197973f115Smrg ISO8859_15=$enableval 36207973f115Smrg 36215d10e53fSmrgelse $as_nop 36227973f115Smrg 36237973f115Smrg ISO8859_1=yes 36247973f115Smrg 36257973f115Smrg ISO8859_2=yes 36267973f115Smrg 36277973f115Smrg ISO8859_3=yes 3628ed029a5fSmrg 36297973f115Smrg ISO8859_4=yes 3630ed029a5fSmrg 36317973f115Smrg ISO8859_9=yes 3632ed029a5fSmrg 36337973f115Smrg ISO8859_10=yes 3634ed029a5fSmrg 36357973f115Smrg ISO8859_13=yes 36367973f115Smrg 36377973f115Smrg ISO8859_14=yes 36387973f115Smrg 36397973f115Smrg ISO8859_15=yes 3640ed029a5fSmrg 36417973f115Smrgfi 3642ed029a5fSmrg 3643dd519f38Smrg 3644dd519f38Smrg # Check whether --enable-iso8859-1 was given. 36455d10e53fSmrgif test ${enable_iso8859_1+y} 36465d10e53fSmrgthen : 3647dd519f38Smrg enableval=$enable_iso8859_1; ISO8859_1=$enableval 3648dd519f38Smrgfi 3649ed029a5fSmrg 36505d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build ISO8859-1 fonts" >&5 36515d10e53fSmrgprintf %s "checking whether to build ISO8859-1 fonts... " >&6; } 36525d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ISO8859_1" >&5 36535d10e53fSmrgprintf "%s\n" "$ISO8859_1" >&6; } 3654dd519f38Smrg if test "x$ISO8859_1" = xyes; then 3655ed029a5fSmrg ISO8859_1_TRUE= 3656ed029a5fSmrg ISO8859_1_FALSE='#' 3657ed029a5fSmrgelse 3658ed029a5fSmrg ISO8859_1_TRUE='#' 3659ed029a5fSmrg ISO8859_1_FALSE= 3660ed029a5fSmrgfi 3661ed029a5fSmrg 3662ed029a5fSmrg 3663dd519f38Smrg # Check whether --enable-iso8859-2 was given. 36645d10e53fSmrgif test ${enable_iso8859_2+y} 36655d10e53fSmrgthen : 3666dd519f38Smrg enableval=$enable_iso8859_2; ISO8859_2=$enableval 3667dd519f38Smrgfi 3668ed029a5fSmrg 36695d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build ISO8859-2 fonts" >&5 36705d10e53fSmrgprintf %s "checking whether to build ISO8859-2 fonts... " >&6; } 36715d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ISO8859_2" >&5 36725d10e53fSmrgprintf "%s\n" "$ISO8859_2" >&6; } 3673dd519f38Smrg if test "x$ISO8859_2" = xyes; then 3674ed029a5fSmrg ISO8859_2_TRUE= 3675ed029a5fSmrg ISO8859_2_FALSE='#' 3676ed029a5fSmrgelse 3677ed029a5fSmrg ISO8859_2_TRUE='#' 3678ed029a5fSmrg ISO8859_2_FALSE= 3679ed029a5fSmrgfi 3680ed029a5fSmrg 3681ed029a5fSmrg 3682dd519f38Smrg # Check whether --enable-iso8859-3 was given. 36835d10e53fSmrgif test ${enable_iso8859_3+y} 36845d10e53fSmrgthen : 3685dd519f38Smrg enableval=$enable_iso8859_3; ISO8859_3=$enableval 3686dd519f38Smrgfi 3687ed029a5fSmrg 36885d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build ISO8859-3 fonts" >&5 36895d10e53fSmrgprintf %s "checking whether to build ISO8859-3 fonts... " >&6; } 36905d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ISO8859_3" >&5 36915d10e53fSmrgprintf "%s\n" "$ISO8859_3" >&6; } 3692dd519f38Smrg if test "x$ISO8859_3" = xyes; then 3693ed029a5fSmrg ISO8859_3_TRUE= 3694ed029a5fSmrg ISO8859_3_FALSE='#' 3695ed029a5fSmrgelse 3696ed029a5fSmrg ISO8859_3_TRUE='#' 3697ed029a5fSmrg ISO8859_3_FALSE= 3698ed029a5fSmrgfi 3699ed029a5fSmrg 3700ed029a5fSmrg 3701dd519f38Smrg # Check whether --enable-iso8859-4 was given. 37025d10e53fSmrgif test ${enable_iso8859_4+y} 37035d10e53fSmrgthen : 3704dd519f38Smrg enableval=$enable_iso8859_4; ISO8859_4=$enableval 3705dd519f38Smrgfi 3706ed029a5fSmrg 37075d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build ISO8859-4 fonts" >&5 37085d10e53fSmrgprintf %s "checking whether to build ISO8859-4 fonts... " >&6; } 37095d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ISO8859_4" >&5 37105d10e53fSmrgprintf "%s\n" "$ISO8859_4" >&6; } 3711dd519f38Smrg if test "x$ISO8859_4" = xyes; then 3712ed029a5fSmrg ISO8859_4_TRUE= 3713ed029a5fSmrg ISO8859_4_FALSE='#' 3714ed029a5fSmrgelse 3715ed029a5fSmrg ISO8859_4_TRUE='#' 3716ed029a5fSmrg ISO8859_4_FALSE= 3717ed029a5fSmrgfi 3718ed029a5fSmrg 3719ed029a5fSmrg 3720dd519f38Smrg # Check whether --enable-iso8859-9 was given. 37215d10e53fSmrgif test ${enable_iso8859_9+y} 37225d10e53fSmrgthen : 3723dd519f38Smrg enableval=$enable_iso8859_9; ISO8859_9=$enableval 3724dd519f38Smrgfi 3725ed029a5fSmrg 37265d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build ISO8859-9 fonts" >&5 37275d10e53fSmrgprintf %s "checking whether to build ISO8859-9 fonts... " >&6; } 37285d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ISO8859_9" >&5 37295d10e53fSmrgprintf "%s\n" "$ISO8859_9" >&6; } 3730dd519f38Smrg if test "x$ISO8859_9" = xyes; then 3731ed029a5fSmrg ISO8859_9_TRUE= 3732ed029a5fSmrg ISO8859_9_FALSE='#' 3733ed029a5fSmrgelse 3734ed029a5fSmrg ISO8859_9_TRUE='#' 3735ed029a5fSmrg ISO8859_9_FALSE= 3736ed029a5fSmrgfi 3737ed029a5fSmrg 3738ed029a5fSmrg 3739dd519f38Smrg # Check whether --enable-iso8859-10 was given. 37405d10e53fSmrgif test ${enable_iso8859_10+y} 37415d10e53fSmrgthen : 3742dd519f38Smrg enableval=$enable_iso8859_10; ISO8859_10=$enableval 3743dd519f38Smrgfi 3744ed029a5fSmrg 37455d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build ISO8859-10 fonts" >&5 37465d10e53fSmrgprintf %s "checking whether to build ISO8859-10 fonts... " >&6; } 37475d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ISO8859_10" >&5 37485d10e53fSmrgprintf "%s\n" "$ISO8859_10" >&6; } 3749dd519f38Smrg if test "x$ISO8859_10" = xyes; then 3750ed029a5fSmrg ISO8859_10_TRUE= 3751ed029a5fSmrg ISO8859_10_FALSE='#' 3752ed029a5fSmrgelse 3753ed029a5fSmrg ISO8859_10_TRUE='#' 3754ed029a5fSmrg ISO8859_10_FALSE= 3755ed029a5fSmrgfi 3756ed029a5fSmrg 3757ed029a5fSmrg 3758dd519f38Smrg # Check whether --enable-iso8859-13 was given. 37595d10e53fSmrgif test ${enable_iso8859_13+y} 37605d10e53fSmrgthen : 3761dd519f38Smrg enableval=$enable_iso8859_13; ISO8859_13=$enableval 3762dd519f38Smrgfi 3763ed029a5fSmrg 37645d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build ISO8859-13 fonts" >&5 37655d10e53fSmrgprintf %s "checking whether to build ISO8859-13 fonts... " >&6; } 37665d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ISO8859_13" >&5 37675d10e53fSmrgprintf "%s\n" "$ISO8859_13" >&6; } 3768dd519f38Smrg if test "x$ISO8859_13" = xyes; then 3769ed029a5fSmrg ISO8859_13_TRUE= 3770ed029a5fSmrg ISO8859_13_FALSE='#' 3771ed029a5fSmrgelse 3772ed029a5fSmrg ISO8859_13_TRUE='#' 3773ed029a5fSmrg ISO8859_13_FALSE= 3774ed029a5fSmrgfi 3775ed029a5fSmrg 3776ed029a5fSmrg 3777dd519f38Smrg # Check whether --enable-iso8859-14 was given. 37785d10e53fSmrgif test ${enable_iso8859_14+y} 37795d10e53fSmrgthen : 3780dd519f38Smrg enableval=$enable_iso8859_14; ISO8859_14=$enableval 3781dd519f38Smrgfi 3782ed029a5fSmrg 37835d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build ISO8859-14 fonts" >&5 37845d10e53fSmrgprintf %s "checking whether to build ISO8859-14 fonts... " >&6; } 37855d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ISO8859_14" >&5 37865d10e53fSmrgprintf "%s\n" "$ISO8859_14" >&6; } 3787dd519f38Smrg if test "x$ISO8859_14" = xyes; then 3788ed029a5fSmrg ISO8859_14_TRUE= 3789ed029a5fSmrg ISO8859_14_FALSE='#' 3790ed029a5fSmrgelse 3791ed029a5fSmrg ISO8859_14_TRUE='#' 3792ed029a5fSmrg ISO8859_14_FALSE= 3793ed029a5fSmrgfi 3794ed029a5fSmrg 3795ed029a5fSmrg 3796dd519f38Smrg # Check whether --enable-iso8859-15 was given. 37975d10e53fSmrgif test ${enable_iso8859_15+y} 37985d10e53fSmrgthen : 3799dd519f38Smrg enableval=$enable_iso8859_15; ISO8859_15=$enableval 3800dd519f38Smrgfi 3801ed029a5fSmrg 38025d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build ISO8859-15 fonts" >&5 38035d10e53fSmrgprintf %s "checking whether to build ISO8859-15 fonts... " >&6; } 38045d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ISO8859_15" >&5 38055d10e53fSmrgprintf "%s\n" "$ISO8859_15" >&6; } 3806dd519f38Smrg if test "x$ISO8859_15" = xyes; then 3807ed029a5fSmrg ISO8859_15_TRUE= 3808ed029a5fSmrg ISO8859_15_FALSE='#' 3809ed029a5fSmrgelse 3810ed029a5fSmrg ISO8859_15_TRUE='#' 3811ed029a5fSmrg ISO8859_15_FALSE= 3812ed029a5fSmrgfi 3813ed029a5fSmrg 3814ed029a5fSmrg 3815ed029a5fSmrg 3816ed029a5fSmrg 3817dd519f38Smrgac_config_files="$ac_config_files Makefile" 3818ed029a5fSmrg 3819ed029a5fSmrgcat >confcache <<\_ACEOF 3820ed029a5fSmrg# This file is a shell script that caches the results of configure 3821ed029a5fSmrg# tests run on this system so they can be shared between configure 3822ed029a5fSmrg# scripts and configure runs, see configure's option --config-cache. 3823ed029a5fSmrg# It is not useful on other systems. If it contains results you don't 3824ed029a5fSmrg# want to keep, you may remove or edit it. 3825ed029a5fSmrg# 3826ed029a5fSmrg# config.status only pays attention to the cache file if you give it 3827ed029a5fSmrg# the --recheck option to rerun configure. 3828ed029a5fSmrg# 3829ed029a5fSmrg# `ac_cv_env_foo' variables (set or unset) will be overridden when 3830ed029a5fSmrg# loading this file, other *unset* `ac_cv_foo' will be assigned the 3831ed029a5fSmrg# following values. 3832ed029a5fSmrg 3833ed029a5fSmrg_ACEOF 3834ed029a5fSmrg 3835ed029a5fSmrg# The following way of writing the cache mishandles newlines in values, 3836ed029a5fSmrg# but we know of no workaround that is simple, portable, and efficient. 3837dd519f38Smrg# So, we kill variables containing newlines. 3838ed029a5fSmrg# Ultrix sh set writes to stderr and can't be redirected directly, 3839ed029a5fSmrg# and sets the high bit in the cache file unless we assign to the vars. 3840dd519f38Smrg( 3841dd519f38Smrg for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 3842dd519f38Smrg eval ac_val=\$$ac_var 3843dd519f38Smrg case $ac_val in #( 3844dd519f38Smrg *${as_nl}*) 3845dd519f38Smrg case $ac_var in #( 38465d10e53fSmrg *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 38475d10e53fSmrgprintf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 3848dd519f38Smrg esac 3849dd519f38Smrg case $ac_var in #( 3850dd519f38Smrg _ | IFS | as_nl) ;; #( 3851dd519f38Smrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 38527973f115Smrg *) { eval $ac_var=; unset $ac_var;} ;; 3853dd519f38Smrg esac ;; 3854dd519f38Smrg esac 3855dd519f38Smrg done 3856dd519f38Smrg 3857ed029a5fSmrg (set) 2>&1 | 3858dd519f38Smrg case $as_nl`(ac_space=' '; set) 2>&1` in #( 3859dd519f38Smrg *${as_nl}ac_space=\ *) 38607973f115Smrg # `set' does not quote correctly, so add quotes: double-quote 38617973f115Smrg # substitution turns \\\\ into \\, and sed turns \\ into \. 3862ed029a5fSmrg sed -n \ 3863ed029a5fSmrg "s/'/'\\\\''/g; 3864ed029a5fSmrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 3865dd519f38Smrg ;; #( 3866ed029a5fSmrg *) 3867ed029a5fSmrg # `set' quotes correctly as required by POSIX, so do not add quotes. 3868dd519f38Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 3869ed029a5fSmrg ;; 3870dd519f38Smrg esac | 3871dd519f38Smrg sort 3872dd519f38Smrg) | 3873ed029a5fSmrg sed ' 3874dd519f38Smrg /^ac_cv_env_/b end 3875ed029a5fSmrg t clear 3876dd519f38Smrg :clear 38775d10e53fSmrg s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ 3878ed029a5fSmrg t end 3879dd519f38Smrg s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 3880dd519f38Smrg :end' >>confcache 3881dd519f38Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 3882dd519f38Smrg if test -w "$cache_file"; then 38837973f115Smrg if test "x$cache_file" != "x/dev/null"; then 38845d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 38855d10e53fSmrgprintf "%s\n" "$as_me: updating cache $cache_file" >&6;} 38867973f115Smrg if test ! -f "$cache_file" || test -h "$cache_file"; then 38877973f115Smrg cat confcache >"$cache_file" 38887973f115Smrg else 38897973f115Smrg case $cache_file in #( 38907973f115Smrg */* | ?:*) 38917973f115Smrg mv -f confcache "$cache_file"$$ && 38927973f115Smrg mv -f "$cache_file"$$ "$cache_file" ;; #( 38937973f115Smrg *) 38947973f115Smrg mv -f confcache "$cache_file" ;; 38957973f115Smrg esac 38967973f115Smrg fi 38977973f115Smrg fi 3898ed029a5fSmrg else 38995d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 39005d10e53fSmrgprintf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} 3901ed029a5fSmrg fi 3902ed029a5fSmrgfi 3903ed029a5fSmrgrm -f confcache 3904ed029a5fSmrg 3905ed029a5fSmrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix 3906ed029a5fSmrg# Let make expand exec_prefix. 3907ed029a5fSmrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 3908ed029a5fSmrg 3909ed029a5fSmrg# Transform confdefs.h into DEFS. 3910ed029a5fSmrg# Protect against shell expansion while executing Makefile rules. 3911ed029a5fSmrg# Protect against Makefile macro expansion. 3912ed029a5fSmrg# 3913ed029a5fSmrg# If the first sed substitution is executed (which looks for macros that 3914dd519f38Smrg# take arguments), then branch to the quote section. Otherwise, 3915ed029a5fSmrg# look for a macro that doesn't take arguments. 3916dd519f38Smrgac_script=' 3917dd519f38Smrg:mline 3918dd519f38Smrg/\\$/{ 3919dd519f38Smrg N 3920dd519f38Smrg s,\\\n,, 3921dd519f38Smrg b mline 3922dd519f38Smrg} 3923ed029a5fSmrgt clear 3924dd519f38Smrg:clear 3925dd519f38Smrgs/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 3926ed029a5fSmrgt quote 3927dd519f38Smrgs/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 3928ed029a5fSmrgt quote 3929dd519f38Smrgb any 3930dd519f38Smrg:quote 3931dd519f38Smrgs/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 3932dd519f38Smrgs/\[/\\&/g 3933dd519f38Smrgs/\]/\\&/g 3934dd519f38Smrgs/\$/$$/g 3935dd519f38SmrgH 3936dd519f38Smrg:any 3937dd519f38Smrg${ 3938dd519f38Smrg g 3939dd519f38Smrg s/^\n// 3940dd519f38Smrg s/\n/ /g 3941dd519f38Smrg p 3942dd519f38Smrg} 3943dd519f38Smrg' 3944dd519f38SmrgDEFS=`sed -n "$ac_script" confdefs.h` 3945ed029a5fSmrg 3946ed029a5fSmrg 3947ed029a5fSmrgac_libobjs= 3948ed029a5fSmrgac_ltlibobjs= 39497973f115SmrgU= 3950ed029a5fSmrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 3951ed029a5fSmrg # 1. Remove the extension, and $U if already installed. 3952dd519f38Smrg ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 39535d10e53fSmrg ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"` 3954dd519f38Smrg # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 3955dd519f38Smrg # will be set to the directory where LIBOBJS objects are built. 39567973f115Smrg as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 39577973f115Smrg as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 3958ed029a5fSmrgdone 3959ed029a5fSmrgLIBOBJS=$ac_libobjs 3960ed029a5fSmrg 3961ed029a5fSmrgLTLIBOBJS=$ac_ltlibobjs 3962ed029a5fSmrg 3963ed029a5fSmrg 39645d10e53fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 39655d10e53fSmrgprintf %s "checking that generated files are newer than configure... " >&6; } 39665d10e53fSmrg if test -n "$am_sleep_pid"; then 39675d10e53fSmrg # Hide warnings about reused PIDs. 39685d10e53fSmrg wait $am_sleep_pid 2>/dev/null 39695d10e53fSmrg fi 39705d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5 39715d10e53fSmrgprintf "%s\n" "done" >&6; } 3972dd519f38Smrg 3973ed029a5fSmrgif test -z "${ISO8859_1_TRUE}" && test -z "${ISO8859_1_FALSE}"; then 39747973f115Smrg as_fn_error $? "conditional \"ISO8859_1\" was never defined. 39757973f115SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 3976ed029a5fSmrgfi 3977ed029a5fSmrgif test -z "${ISO8859_2_TRUE}" && test -z "${ISO8859_2_FALSE}"; then 39787973f115Smrg as_fn_error $? "conditional \"ISO8859_2\" was never defined. 39797973f115SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 3980ed029a5fSmrgfi 3981ed029a5fSmrgif test -z "${ISO8859_3_TRUE}" && test -z "${ISO8859_3_FALSE}"; then 39827973f115Smrg as_fn_error $? "conditional \"ISO8859_3\" was never defined. 39837973f115SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 3984ed029a5fSmrgfi 3985ed029a5fSmrgif test -z "${ISO8859_4_TRUE}" && test -z "${ISO8859_4_FALSE}"; then 39867973f115Smrg as_fn_error $? "conditional \"ISO8859_4\" was never defined. 39877973f115SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 3988ed029a5fSmrgfi 3989ed029a5fSmrgif test -z "${ISO8859_9_TRUE}" && test -z "${ISO8859_9_FALSE}"; then 39907973f115Smrg as_fn_error $? "conditional \"ISO8859_9\" was never defined. 39917973f115SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 3992ed029a5fSmrgfi 3993ed029a5fSmrgif test -z "${ISO8859_10_TRUE}" && test -z "${ISO8859_10_FALSE}"; then 39947973f115Smrg as_fn_error $? "conditional \"ISO8859_10\" was never defined. 39957973f115SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 3996ed029a5fSmrgfi 3997ed029a5fSmrgif test -z "${ISO8859_13_TRUE}" && test -z "${ISO8859_13_FALSE}"; then 39987973f115Smrg as_fn_error $? "conditional \"ISO8859_13\" was never defined. 39997973f115SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 4000ed029a5fSmrgfi 4001ed029a5fSmrgif test -z "${ISO8859_14_TRUE}" && test -z "${ISO8859_14_FALSE}"; then 40027973f115Smrg as_fn_error $? "conditional \"ISO8859_14\" was never defined. 40037973f115SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 4004ed029a5fSmrgfi 4005ed029a5fSmrgif test -z "${ISO8859_15_TRUE}" && test -z "${ISO8859_15_FALSE}"; then 40067973f115Smrg as_fn_error $? "conditional \"ISO8859_15\" was never defined. 40077973f115SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 4008ed029a5fSmrgfi 4009ed029a5fSmrg 40107973f115Smrg: "${CONFIG_STATUS=./config.status}" 4011dd519f38Smrgac_write_fail=0 4012ed029a5fSmrgac_clean_files_save=$ac_clean_files 4013ed029a5fSmrgac_clean_files="$ac_clean_files $CONFIG_STATUS" 40145d10e53fSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 40155d10e53fSmrgprintf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} 40167973f115Smrgas_write_fail=0 40177973f115Smrgcat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 4018ed029a5fSmrg#! $SHELL 4019ed029a5fSmrg# Generated by $as_me. 4020ed029a5fSmrg# Run this file to recreate the current configuration. 4021ed029a5fSmrg# Compiler output produced by configure, useful for debugging 4022ed029a5fSmrg# configure, is in config.log if it exists. 4023ed029a5fSmrg 4024ed029a5fSmrgdebug=false 4025ed029a5fSmrgac_cs_recheck=false 4026ed029a5fSmrgac_cs_silent=false 4027ed029a5fSmrg 40287973f115SmrgSHELL=\${CONFIG_SHELL-$SHELL} 40297973f115Smrgexport SHELL 40307973f115Smrg_ASEOF 40317973f115Smrgcat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 40327973f115Smrg## -------------------- ## 40337973f115Smrg## M4sh Initialization. ## 40347973f115Smrg## -------------------- ## 4035ed029a5fSmrg 4036dd519f38Smrg# Be more Bourne compatible 4037dd519f38SmrgDUALCASE=1; export DUALCASE # for MKS sh 40385d10e53fSmrgas_nop=: 40395d10e53fSmrgif test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 40405d10e53fSmrgthen : 4041ed029a5fSmrg emulate sh 4042ed029a5fSmrg NULLCMD=: 4043dd519f38Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 4044ed029a5fSmrg # is contrary to our usage. Disable this feature. 4045ed029a5fSmrg alias -g '${1+"$@"}'='"$@"' 4046dd519f38Smrg setopt NO_GLOB_SUBST 40475d10e53fSmrgelse $as_nop 40487973f115Smrg case `(set -o) 2>/dev/null` in #( 40497973f115Smrg *posix*) : 40507973f115Smrg set -o posix ;; #( 40517973f115Smrg *) : 40527973f115Smrg ;; 4053dd519f38Smrgesac 4054dd519f38Smrgfi 4055dd519f38Smrg 4056dd519f38Smrg 40575d10e53fSmrg 40585d10e53fSmrg# Reset variables that may have inherited troublesome values from 40595d10e53fSmrg# the environment. 40605d10e53fSmrg 40615d10e53fSmrg# IFS needs to be set, to space, tab, and newline, in precisely that order. 40625d10e53fSmrg# (If _AS_PATH_WALK were called with IFS unset, it would have the 40635d10e53fSmrg# side effect of setting IFS to empty, thus disabling word splitting.) 40645d10e53fSmrg# Quoting is to prevent editors from complaining about space-tab. 4065dd519f38Smrgas_nl=' 4066dd519f38Smrg' 4067dd519f38Smrgexport as_nl 40685d10e53fSmrgIFS=" "" $as_nl" 40695d10e53fSmrg 40705d10e53fSmrgPS1='$ ' 40715d10e53fSmrgPS2='> ' 40725d10e53fSmrgPS4='+ ' 40735d10e53fSmrg 40745d10e53fSmrg# Ensure predictable behavior from utilities with locale-dependent output. 40755d10e53fSmrgLC_ALL=C 40765d10e53fSmrgexport LC_ALL 40775d10e53fSmrgLANGUAGE=C 40785d10e53fSmrgexport LANGUAGE 40795d10e53fSmrg 40805d10e53fSmrg# We cannot yet rely on "unset" to work, but we need these variables 40815d10e53fSmrg# to be unset--not just set to an empty or harmless value--now, to 40825d10e53fSmrg# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct 40835d10e53fSmrg# also avoids known problems related to "unset" and subshell syntax 40845d10e53fSmrg# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). 40855d10e53fSmrgfor as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 40865d10e53fSmrgdo eval test \${$as_var+y} \ 40875d10e53fSmrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 40885d10e53fSmrgdone 40895d10e53fSmrg 40905d10e53fSmrg# Ensure that fds 0, 1, and 2 are open. 40915d10e53fSmrgif (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 40925d10e53fSmrgif (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 40935d10e53fSmrgif (exec 3>&2) ; then :; else exec 2>/dev/null; fi 4094dd519f38Smrg 4095dd519f38Smrg# The user is always right. 40965d10e53fSmrgif ${PATH_SEPARATOR+false} :; then 4097dd519f38Smrg PATH_SEPARATOR=: 4098dd519f38Smrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 4099dd519f38Smrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 4100dd519f38Smrg PATH_SEPARATOR=';' 4101dd519f38Smrg } 4102ed029a5fSmrgfi 4103ed029a5fSmrg 4104ed029a5fSmrg 4105dd519f38Smrg# Find who we are. Look in the path if we contain no directory separator. 41067973f115Smrgas_myself= 41077973f115Smrgcase $0 in #(( 4108dd519f38Smrg *[\\/]* ) as_myself=$0 ;; 4109dd519f38Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4110dd519f38Smrgfor as_dir in $PATH 4111dd519f38Smrgdo 4112dd519f38Smrg IFS=$as_save_IFS 41135d10e53fSmrg case $as_dir in #((( 41145d10e53fSmrg '') as_dir=./ ;; 41155d10e53fSmrg */) ;; 41165d10e53fSmrg *) as_dir=$as_dir/ ;; 41175d10e53fSmrg esac 41185d10e53fSmrg test -r "$as_dir$0" && as_myself=$as_dir$0 && break 41197973f115Smrg done 4120dd519f38SmrgIFS=$as_save_IFS 4121dd519f38Smrg 4122dd519f38Smrg ;; 4123dd519f38Smrgesac 4124dd519f38Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 4125dd519f38Smrg# in which case we are not to be found in the path. 4126dd519f38Smrgif test "x$as_myself" = x; then 4127dd519f38Smrg as_myself=$0 4128dd519f38Smrgfi 4129dd519f38Smrgif test ! -f "$as_myself"; then 41305d10e53fSmrg printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 41317973f115Smrg exit 1 4132dd519f38Smrgfi 4133dd519f38Smrg 41347973f115Smrg 41357973f115Smrg 41367973f115Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 41377973f115Smrg# ---------------------------------------- 41387973f115Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 41397973f115Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 41407973f115Smrg# script with STATUS, using 1 if that was 0. 41417973f115Smrgas_fn_error () 41427973f115Smrg{ 41437973f115Smrg as_status=$1; test $as_status -eq 0 && as_status=1 41447973f115Smrg if test "$4"; then 41457973f115Smrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 41465d10e53fSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 41477973f115Smrg fi 41485d10e53fSmrg printf "%s\n" "$as_me: error: $2" >&2 41497973f115Smrg as_fn_exit $as_status 41507973f115Smrg} # as_fn_error 41517973f115Smrg 41527973f115Smrg 41535d10e53fSmrg 41547973f115Smrg# as_fn_set_status STATUS 41557973f115Smrg# ----------------------- 41567973f115Smrg# Set $? to STATUS, without forking. 41577973f115Smrgas_fn_set_status () 41587973f115Smrg{ 41597973f115Smrg return $1 41607973f115Smrg} # as_fn_set_status 41617973f115Smrg 41627973f115Smrg# as_fn_exit STATUS 41637973f115Smrg# ----------------- 41647973f115Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 41657973f115Smrgas_fn_exit () 41667973f115Smrg{ 41677973f115Smrg set +e 41687973f115Smrg as_fn_set_status $1 41697973f115Smrg exit $1 41707973f115Smrg} # as_fn_exit 41717973f115Smrg 41727973f115Smrg# as_fn_unset VAR 41737973f115Smrg# --------------- 41747973f115Smrg# Portably unset VAR. 41757973f115Smrgas_fn_unset () 41767973f115Smrg{ 41777973f115Smrg { eval $1=; unset $1;} 41787973f115Smrg} 41797973f115Smrgas_unset=as_fn_unset 41805d10e53fSmrg 41817973f115Smrg# as_fn_append VAR VALUE 41827973f115Smrg# ---------------------- 41837973f115Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take 41847973f115Smrg# advantage of any shell optimizations that allow amortized linear growth over 41857973f115Smrg# repeated appends, instead of the typical quadratic growth present in naive 41867973f115Smrg# implementations. 41875d10e53fSmrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 41885d10e53fSmrgthen : 41897973f115Smrg eval 'as_fn_append () 41907973f115Smrg { 41917973f115Smrg eval $1+=\$2 41927973f115Smrg }' 41935d10e53fSmrgelse $as_nop 41947973f115Smrg as_fn_append () 41957973f115Smrg { 41967973f115Smrg eval $1=\$$1\$2 41977973f115Smrg } 41987973f115Smrgfi # as_fn_append 41997973f115Smrg 42007973f115Smrg# as_fn_arith ARG... 42017973f115Smrg# ------------------ 42027973f115Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the 42037973f115Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 42047973f115Smrg# must be portable across $(()) and expr. 42055d10e53fSmrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 42065d10e53fSmrgthen : 42077973f115Smrg eval 'as_fn_arith () 42087973f115Smrg { 42097973f115Smrg as_val=$(( $* )) 42107973f115Smrg }' 42115d10e53fSmrgelse $as_nop 42127973f115Smrg as_fn_arith () 42137973f115Smrg { 42147973f115Smrg as_val=`expr "$@" || test $? -eq 1` 42157973f115Smrg } 42167973f115Smrgfi # as_fn_arith 42177973f115Smrg 42187973f115Smrg 4219dd519f38Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 4220dd519f38Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 4221ed029a5fSmrg as_expr=expr 4222ed029a5fSmrgelse 4223ed029a5fSmrg as_expr=false 4224ed029a5fSmrgfi 4225ed029a5fSmrg 4226dd519f38Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 4227ed029a5fSmrg as_basename=basename 4228ed029a5fSmrgelse 4229ed029a5fSmrg as_basename=false 4230ed029a5fSmrgfi 4231ed029a5fSmrg 42327973f115Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 42337973f115Smrg as_dirname=dirname 42347973f115Smrgelse 42357973f115Smrg as_dirname=false 42367973f115Smrgfi 4237ed029a5fSmrg 4238dd519f38Smrgas_me=`$as_basename -- "$0" || 4239ed029a5fSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 4240ed029a5fSmrg X"$0" : 'X\(//\)$' \| \ 4241dd519f38Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 42425d10e53fSmrgprintf "%s\n" X/"$0" | 4243dd519f38Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 4244dd519f38Smrg s//\1/ 4245dd519f38Smrg q 4246dd519f38Smrg } 4247dd519f38Smrg /^X\/\(\/\/\)$/{ 4248dd519f38Smrg s//\1/ 4249dd519f38Smrg q 4250dd519f38Smrg } 4251dd519f38Smrg /^X\/\(\/\).*/{ 4252dd519f38Smrg s//\1/ 4253dd519f38Smrg q 4254dd519f38Smrg } 4255dd519f38Smrg s/.*/./; q'` 4256ed029a5fSmrg 42577973f115Smrg# Avoid depending upon Character Ranges. 42587973f115Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 42597973f115Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 42607973f115Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 42617973f115Smrgas_cr_digits='0123456789' 42627973f115Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 4263ed029a5fSmrg 42645d10e53fSmrg 42655d10e53fSmrg# Determine whether it's possible to make 'echo' print without a newline. 42665d10e53fSmrg# These variables are no longer used directly by Autoconf, but are AC_SUBSTed 42675d10e53fSmrg# for compatibility with existing Makefiles. 4268dd519f38SmrgECHO_C= ECHO_N= ECHO_T= 42697973f115Smrgcase `echo -n x` in #((((( 4270dd519f38Smrg-n*) 42717973f115Smrg case `echo 'xy\c'` in 4272dd519f38Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 42737973f115Smrg xy) ECHO_C='\c';; 42747973f115Smrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 42757973f115Smrg ECHO_T=' ';; 4276dd519f38Smrg esac;; 4277dd519f38Smrg*) 4278dd519f38Smrg ECHO_N='-n';; 4279dd519f38Smrgesac 4280ed029a5fSmrg 42815d10e53fSmrg# For backward compatibility with old third-party macros, we provide 42825d10e53fSmrg# the shell variables $as_echo and $as_echo_n. New code should use 42835d10e53fSmrg# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. 42845d10e53fSmrgas_echo='printf %s\n' 42855d10e53fSmrgas_echo_n='printf %s' 42865d10e53fSmrg 4287ed029a5fSmrgrm -f conf$$ conf$$.exe conf$$.file 4288dd519f38Smrgif test -d conf$$.dir; then 4289dd519f38Smrg rm -f conf$$.dir/conf$$.file 4290dd519f38Smrgelse 4291dd519f38Smrg rm -f conf$$.dir 4292dd519f38Smrg mkdir conf$$.dir 2>/dev/null 4293dd519f38Smrgfi 4294dd519f38Smrgif (echo >conf$$.file) 2>/dev/null; then 4295dd519f38Smrg if ln -s conf$$.file conf$$ 2>/dev/null; then 4296ed029a5fSmrg as_ln_s='ln -s' 4297dd519f38Smrg # ... but there are two gotchas: 4298dd519f38Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 4299dd519f38Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 43005d10e53fSmrg # In both cases, we have to default to `cp -pR'. 4301dd519f38Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 43025d10e53fSmrg as_ln_s='cp -pR' 4303dd519f38Smrg elif ln conf$$.file conf$$ 2>/dev/null; then 4304dd519f38Smrg as_ln_s=ln 4305dd519f38Smrg else 43065d10e53fSmrg as_ln_s='cp -pR' 4307ed029a5fSmrg fi 4308ed029a5fSmrgelse 43095d10e53fSmrg as_ln_s='cp -pR' 4310ed029a5fSmrgfi 4311dd519f38Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 4312dd519f38Smrgrmdir conf$$.dir 2>/dev/null 4313ed029a5fSmrg 43147973f115Smrg 43157973f115Smrg# as_fn_mkdir_p 43167973f115Smrg# ------------- 43177973f115Smrg# Create "$as_dir" as a directory, including parents if necessary. 43187973f115Smrgas_fn_mkdir_p () 43197973f115Smrg{ 43207973f115Smrg 43217973f115Smrg case $as_dir in #( 43227973f115Smrg -*) as_dir=./$as_dir;; 43237973f115Smrg esac 43247973f115Smrg test -d "$as_dir" || eval $as_mkdir_p || { 43257973f115Smrg as_dirs= 43267973f115Smrg while :; do 43277973f115Smrg case $as_dir in #( 43285d10e53fSmrg *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 43297973f115Smrg *) as_qdir=$as_dir;; 43307973f115Smrg esac 43317973f115Smrg as_dirs="'$as_qdir' $as_dirs" 43327973f115Smrg as_dir=`$as_dirname -- "$as_dir" || 43337973f115Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 43347973f115Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 43357973f115Smrg X"$as_dir" : 'X\(//\)$' \| \ 43367973f115Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 43375d10e53fSmrgprintf "%s\n" X"$as_dir" | 43387973f115Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 43397973f115Smrg s//\1/ 43407973f115Smrg q 43417973f115Smrg } 43427973f115Smrg /^X\(\/\/\)[^/].*/{ 43437973f115Smrg s//\1/ 43447973f115Smrg q 43457973f115Smrg } 43467973f115Smrg /^X\(\/\/\)$/{ 43477973f115Smrg s//\1/ 43487973f115Smrg q 43497973f115Smrg } 43507973f115Smrg /^X\(\/\).*/{ 43517973f115Smrg s//\1/ 43527973f115Smrg q 43537973f115Smrg } 43547973f115Smrg s/.*/./; q'` 43557973f115Smrg test -d "$as_dir" && break 43567973f115Smrg done 43577973f115Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 43587973f115Smrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 43597973f115Smrg 43607973f115Smrg 43617973f115Smrg} # as_fn_mkdir_p 4362ed029a5fSmrgif mkdir -p . 2>/dev/null; then 43637973f115Smrg as_mkdir_p='mkdir -p "$as_dir"' 4364ed029a5fSmrgelse 4365ed029a5fSmrg test -d ./-p && rmdir ./-p 4366ed029a5fSmrg as_mkdir_p=false 4367ed029a5fSmrgfi 4368ed029a5fSmrg 43695d10e53fSmrg 43705d10e53fSmrg# as_fn_executable_p FILE 43715d10e53fSmrg# ----------------------- 43725d10e53fSmrg# Test if FILE is an executable regular file. 43735d10e53fSmrgas_fn_executable_p () 43745d10e53fSmrg{ 43755d10e53fSmrg test -f "$1" && test -x "$1" 43765d10e53fSmrg} # as_fn_executable_p 43775d10e53fSmrgas_test_x='test -x' 43785d10e53fSmrgas_executable_p=as_fn_executable_p 4379ed029a5fSmrg 4380ed029a5fSmrg# Sed expression to map a string onto a valid CPP name. 4381ed029a5fSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 4382ed029a5fSmrg 4383ed029a5fSmrg# Sed expression to map a string onto a valid variable name. 4384ed029a5fSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 4385ed029a5fSmrg 4386ed029a5fSmrg 4387ed029a5fSmrgexec 6>&1 43887973f115Smrg## ----------------------------------- ## 43897973f115Smrg## Main body of $CONFIG_STATUS script. ## 43907973f115Smrg## ----------------------------------- ## 43917973f115Smrg_ASEOF 43927973f115Smrgtest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 4393ed029a5fSmrg 43947973f115Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 43957973f115Smrg# Save the log message, to keep $0 and so on meaningful, and to 4396ed029a5fSmrg# report actual input values of CONFIG_FILES etc. instead of their 4397dd519f38Smrg# values after options handling. 4398dd519f38Smrgac_log=" 43995d10e53fSmrgThis file was extended by font-adobe-100dpi $as_me 1.0.4, which was 44005d10e53fSmrggenerated by GNU Autoconf 2.71. Invocation command line was 4401ed029a5fSmrg 4402ed029a5fSmrg CONFIG_FILES = $CONFIG_FILES 4403ed029a5fSmrg CONFIG_HEADERS = $CONFIG_HEADERS 4404ed029a5fSmrg CONFIG_LINKS = $CONFIG_LINKS 4405ed029a5fSmrg CONFIG_COMMANDS = $CONFIG_COMMANDS 4406ed029a5fSmrg $ $0 $@ 4407ed029a5fSmrg 4408dd519f38Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q` 4409dd519f38Smrg" 4410dd519f38Smrg 4411ed029a5fSmrg_ACEOF 4412ed029a5fSmrg 4413dd519f38Smrgcase $ac_config_files in *" 4414dd519f38Smrg"*) set x $ac_config_files; shift; ac_config_files=$*;; 4415dd519f38Smrgesac 4416ed029a5fSmrg 4417ed029a5fSmrg 4418ed029a5fSmrg 4419dd519f38Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4420dd519f38Smrg# Files that config.status was made for. 4421dd519f38Smrgconfig_files="$ac_config_files" 4422ed029a5fSmrg 4423dd519f38Smrg_ACEOF 4424ed029a5fSmrg 4425dd519f38Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4426ed029a5fSmrgac_cs_usage="\ 44277973f115Smrg\`$as_me' instantiates files and other configuration actions 44287973f115Smrgfrom templates according to the current configuration. Unless the files 44297973f115Smrgand actions are specified as TAGs, all are instantiated by default. 4430ed029a5fSmrg 44317973f115SmrgUsage: $0 [OPTION]... [TAG]... 4432ed029a5fSmrg 4433ed029a5fSmrg -h, --help print this help, then exit 4434dd519f38Smrg -V, --version print version number and configuration settings, then exit 44357973f115Smrg --config print configuration, then exit 4436dd519f38Smrg -q, --quiet, --silent 4437dd519f38Smrg do not print progress messages 4438ed029a5fSmrg -d, --debug don't remove temporary files 4439ed029a5fSmrg --recheck update $as_me by reconfiguring in the same conditions 4440dd519f38Smrg --file=FILE[:TEMPLATE] 4441dd519f38Smrg instantiate the configuration file FILE 4442ed029a5fSmrg 4443ed029a5fSmrgConfiguration files: 4444ed029a5fSmrg$config_files 4445ed029a5fSmrg 44465d10e53fSmrgReport bugs to <https://gitlab.freedesktop.org/xorg/font/adobe-100dpi/-/issues>." 4447ed029a5fSmrg 4448dd519f38Smrg_ACEOF 44495d10e53fSmrgac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` 44505d10e53fSmrgac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` 4451dd519f38Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 44525d10e53fSmrgac_cs_config='$ac_cs_config_escaped' 4453ed029a5fSmrgac_cs_version="\\ 44545d10e53fSmrgfont-adobe-100dpi config.status 1.0.4 44555d10e53fSmrgconfigured by $0, generated by GNU Autoconf 2.71, 44567973f115Smrg with options \\"\$ac_cs_config\\" 4457ed029a5fSmrg 44585d10e53fSmrgCopyright (C) 2021 Free Software Foundation, Inc. 4459ed029a5fSmrgThis config.status script is free software; the Free Software Foundation 4460ed029a5fSmrggives unlimited permission to copy, distribute and modify it." 4461dd519f38Smrg 4462dd519f38Smrgac_pwd='$ac_pwd' 4463dd519f38Smrgsrcdir='$srcdir' 4464dd519f38SmrgINSTALL='$INSTALL' 4465dd519f38SmrgMKDIR_P='$MKDIR_P' 4466dd519f38SmrgAWK='$AWK' 4467dd519f38Smrgtest -n "\$AWK" || AWK=awk 4468ed029a5fSmrg_ACEOF 4469ed029a5fSmrg 4470dd519f38Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4471dd519f38Smrg# The default lists apply if the user does not specify any file. 4472ed029a5fSmrgac_need_defaults=: 4473ed029a5fSmrgwhile test $# != 0 4474ed029a5fSmrgdo 4475ed029a5fSmrg case $1 in 44767973f115Smrg --*=?*) 4477dd519f38Smrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 4478dd519f38Smrg ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 4479ed029a5fSmrg ac_shift=: 4480ed029a5fSmrg ;; 44817973f115Smrg --*=) 44827973f115Smrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 44837973f115Smrg ac_optarg= 44847973f115Smrg ac_shift=: 44857973f115Smrg ;; 4486dd519f38Smrg *) 4487ed029a5fSmrg ac_option=$1 4488ed029a5fSmrg ac_optarg=$2 4489ed029a5fSmrg ac_shift=shift 4490ed029a5fSmrg ;; 4491ed029a5fSmrg esac 4492ed029a5fSmrg 4493ed029a5fSmrg case $ac_option in 4494ed029a5fSmrg # Handling of the options. 4495ed029a5fSmrg -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 4496ed029a5fSmrg ac_cs_recheck=: ;; 4497dd519f38Smrg --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 44985d10e53fSmrg printf "%s\n" "$ac_cs_version"; exit ;; 44997973f115Smrg --config | --confi | --conf | --con | --co | --c ) 45005d10e53fSmrg printf "%s\n" "$ac_cs_config"; exit ;; 4501dd519f38Smrg --debug | --debu | --deb | --de | --d | -d ) 4502ed029a5fSmrg debug=: ;; 4503ed029a5fSmrg --file | --fil | --fi | --f ) 4504ed029a5fSmrg $ac_shift 4505dd519f38Smrg case $ac_optarg in 45065d10e53fSmrg *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 45077973f115Smrg '') as_fn_error $? "missing file argument" ;; 4508dd519f38Smrg esac 45097973f115Smrg as_fn_append CONFIG_FILES " '$ac_optarg'" 4510ed029a5fSmrg ac_need_defaults=false;; 4511dd519f38Smrg --he | --h | --help | --hel | -h ) 45125d10e53fSmrg printf "%s\n" "$ac_cs_usage"; exit ;; 4513ed029a5fSmrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 4514ed029a5fSmrg | -silent | --silent | --silen | --sile | --sil | --si | --s) 4515ed029a5fSmrg ac_cs_silent=: ;; 4516ed029a5fSmrg 4517ed029a5fSmrg # This is an error. 45187973f115Smrg -*) as_fn_error $? "unrecognized option: \`$1' 45197973f115SmrgTry \`$0 --help' for more information." ;; 4520ed029a5fSmrg 45217973f115Smrg *) as_fn_append ac_config_targets " $1" 4522dd519f38Smrg ac_need_defaults=false ;; 4523ed029a5fSmrg 4524ed029a5fSmrg esac 4525ed029a5fSmrg shift 4526ed029a5fSmrgdone 4527ed029a5fSmrg 4528ed029a5fSmrgac_configure_extra_args= 4529ed029a5fSmrg 4530ed029a5fSmrgif $ac_cs_silent; then 4531ed029a5fSmrg exec 6>/dev/null 4532ed029a5fSmrg ac_configure_extra_args="$ac_configure_extra_args --silent" 4533ed029a5fSmrgfi 4534ed029a5fSmrg 4535ed029a5fSmrg_ACEOF 4536dd519f38Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4537ed029a5fSmrgif \$ac_cs_recheck; then 45385d10e53fSmrg set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 4539dd519f38Smrg shift 45405d10e53fSmrg \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 4541dd519f38Smrg CONFIG_SHELL='$SHELL' 4542dd519f38Smrg export CONFIG_SHELL 4543dd519f38Smrg exec "\$@" 4544ed029a5fSmrgfi 4545ed029a5fSmrg 4546ed029a5fSmrg_ACEOF 4547dd519f38Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4548dd519f38Smrgexec 5>>config.log 4549dd519f38Smrg{ 4550dd519f38Smrg echo 4551dd519f38Smrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 4552dd519f38Smrg## Running $as_me. ## 4553dd519f38Smrg_ASBOX 45545d10e53fSmrg printf "%s\n" "$ac_log" 4555dd519f38Smrg} >&5 4556ed029a5fSmrg 4557dd519f38Smrg_ACEOF 4558dd519f38Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4559dd519f38Smrg_ACEOF 4560ed029a5fSmrg 4561dd519f38Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4562ed029a5fSmrg 4563dd519f38Smrg# Handling of arguments. 4564ed029a5fSmrgfor ac_config_target in $ac_config_targets 4565ed029a5fSmrgdo 4566dd519f38Smrg case $ac_config_target in 4567dd519f38Smrg "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 4568dd519f38Smrg 45697973f115Smrg *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 4570ed029a5fSmrg esac 4571ed029a5fSmrgdone 4572ed029a5fSmrg 4573dd519f38Smrg 4574ed029a5fSmrg# If the user did not use the arguments to specify the items to instantiate, 4575ed029a5fSmrg# then the envvar interface is used. Set only those that are not. 4576ed029a5fSmrg# We use the long form for the default assignment because of an extremely 4577ed029a5fSmrg# bizarre bug on SunOS 4.1.3. 4578ed029a5fSmrgif $ac_need_defaults; then 45795d10e53fSmrg test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files 4580ed029a5fSmrgfi 4581ed029a5fSmrg 4582ed029a5fSmrg# Have a temporary directory for convenience. Make it in the build tree 4583dd519f38Smrg# simply because there is no reason against having it here, and in addition, 4584ed029a5fSmrg# creating and moving files from /tmp can sometimes cause problems. 4585dd519f38Smrg# Hook for its removal unless debugging. 4586dd519f38Smrg# Note that there is a small window in which the directory will not be cleaned: 4587dd519f38Smrg# after its creation but before its name has been assigned to `$tmp'. 4588ed029a5fSmrg$debug || 4589ed029a5fSmrg{ 45907973f115Smrg tmp= ac_tmp= 4591dd519f38Smrg trap 'exit_status=$? 45927973f115Smrg : "${ac_tmp:=$tmp}" 45937973f115Smrg { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 4594dd519f38Smrg' 0 45957973f115Smrg trap 'as_fn_exit 1' 1 2 13 15 4596ed029a5fSmrg} 4597ed029a5fSmrg# Create a (secure) tmp directory for tmp files. 4598ed029a5fSmrg 4599ed029a5fSmrg{ 4600dd519f38Smrg tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 46017973f115Smrg test -d "$tmp" 4602ed029a5fSmrg} || 4603ed029a5fSmrg{ 4604dd519f38Smrg tmp=./conf$$-$RANDOM 4605dd519f38Smrg (umask 077 && mkdir "$tmp") 46067973f115Smrg} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 46077973f115Smrgac_tmp=$tmp 4608ed029a5fSmrg 4609dd519f38Smrg# Set up the scripts for CONFIG_FILES section. 4610dd519f38Smrg# No need to generate them if there are no CONFIG_FILES. 4611dd519f38Smrg# This happens for instance with `./config.status config.h'. 4612dd519f38Smrgif test -n "$CONFIG_FILES"; then 4613dd519f38Smrg 4614dd519f38Smrg 46157973f115Smrgac_cr=`echo X | tr X '\015'` 46167973f115Smrg# On cygwin, bash can eat \r inside `` if the user requested igncr. 46177973f115Smrg# But we know of no other shell where ac_cr would be empty at this 46187973f115Smrg# point, so we can use a bashism as a fallback. 46197973f115Smrgif test "x$ac_cr" = x; then 46207973f115Smrg eval ac_cr=\$\'\\r\' 46217973f115Smrgfi 4622dd519f38Smrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 4623dd519f38Smrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 4624dd519f38Smrg ac_cs_awk_cr='\\r' 4625dd519f38Smrgelse 4626dd519f38Smrg ac_cs_awk_cr=$ac_cr 4627dd519f38Smrgfi 4628dd519f38Smrg 46297973f115Smrgecho 'BEGIN {' >"$ac_tmp/subs1.awk" && 4630ed029a5fSmrg_ACEOF 4631ed029a5fSmrg 4632ed029a5fSmrg 4633dd519f38Smrg{ 4634dd519f38Smrg echo "cat >conf$$subs.awk <<_ACEOF" && 4635dd519f38Smrg echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 4636dd519f38Smrg echo "_ACEOF" 4637dd519f38Smrg} >conf$$subs.sh || 46387973f115Smrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 46397973f115Smrgac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 4640dd519f38Smrgac_delim='%!_!# ' 4641dd519f38Smrgfor ac_last_try in false false false false false :; do 4642dd519f38Smrg . ./conf$$subs.sh || 46437973f115Smrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 4644ed029a5fSmrg 4645dd519f38Smrg ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 4646dd519f38Smrg if test $ac_delim_n = $ac_delim_num; then 4647dd519f38Smrg break 4648dd519f38Smrg elif $ac_last_try; then 46497973f115Smrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 4650dd519f38Smrg else 4651dd519f38Smrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 4652ed029a5fSmrg fi 4653dd519f38Smrgdone 4654dd519f38Smrgrm -f conf$$subs.sh 4655ed029a5fSmrg 4656dd519f38Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 46577973f115Smrgcat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 4658ed029a5fSmrg_ACEOF 4659dd519f38Smrgsed -n ' 4660dd519f38Smrgh 4661dd519f38Smrgs/^/S["/; s/!.*/"]=/ 4662dd519f38Smrgp 4663dd519f38Smrgg 4664dd519f38Smrgs/^[^!]*!// 4665dd519f38Smrg:repl 4666dd519f38Smrgt repl 4667dd519f38Smrgs/'"$ac_delim"'$// 4668dd519f38Smrgt delim 4669dd519f38Smrg:nl 4670dd519f38Smrgh 46717973f115Smrgs/\(.\{148\}\)..*/\1/ 4672dd519f38Smrgt more1 4673dd519f38Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 4674dd519f38Smrgp 4675dd519f38Smrgn 4676dd519f38Smrgb repl 4677dd519f38Smrg:more1 4678dd519f38Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 4679dd519f38Smrgp 4680dd519f38Smrgg 4681dd519f38Smrgs/.\{148\}// 4682dd519f38Smrgt nl 4683dd519f38Smrg:delim 4684dd519f38Smrgh 46857973f115Smrgs/\(.\{148\}\)..*/\1/ 4686dd519f38Smrgt more2 4687dd519f38Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/ 4688dd519f38Smrgp 4689dd519f38Smrgb 4690dd519f38Smrg:more2 4691dd519f38Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 4692dd519f38Smrgp 4693dd519f38Smrgg 4694dd519f38Smrgs/.\{148\}// 4695dd519f38Smrgt delim 4696dd519f38Smrg' <conf$$subs.awk | sed ' 4697dd519f38Smrg/^[^""]/{ 4698dd519f38Smrg N 4699dd519f38Smrg s/\n// 4700dd519f38Smrg} 4701dd519f38Smrg' >>$CONFIG_STATUS || ac_write_fail=1 4702dd519f38Smrgrm -f conf$$subs.awk 4703dd519f38Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4704dd519f38Smrg_ACAWK 47057973f115Smrgcat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 4706dd519f38Smrg for (key in S) S_is_set[key] = 1 4707dd519f38Smrg FS = "" 4708dd519f38Smrg 4709dd519f38Smrg} 4710dd519f38Smrg{ 4711dd519f38Smrg line = $ 0 4712dd519f38Smrg nfields = split(line, field, "@") 4713dd519f38Smrg substed = 0 4714dd519f38Smrg len = length(field[1]) 4715dd519f38Smrg for (i = 2; i < nfields; i++) { 4716dd519f38Smrg key = field[i] 4717dd519f38Smrg keylen = length(key) 4718dd519f38Smrg if (S_is_set[key]) { 4719dd519f38Smrg value = S[key] 4720dd519f38Smrg line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 4721dd519f38Smrg len += length(value) + length(field[++i]) 4722dd519f38Smrg substed = 1 4723dd519f38Smrg } else 4724dd519f38Smrg len += 1 + keylen 4725dd519f38Smrg } 4726dd519f38Smrg 4727dd519f38Smrg print line 4728dd519f38Smrg} 4729dd519f38Smrg 4730dd519f38Smrg_ACAWK 4731dd519f38Smrg_ACEOF 4732dd519f38Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4733dd519f38Smrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 4734dd519f38Smrg sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 4735dd519f38Smrgelse 4736dd519f38Smrg cat 47377973f115Smrgfi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 47387973f115Smrg || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 4739dd519f38Smrg_ACEOF 4740dd519f38Smrg 47417973f115Smrg# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 47427973f115Smrg# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 4743dd519f38Smrg# trailing colons and then remove the whole line if VPATH becomes empty 4744dd519f38Smrg# (actually we leave an empty line to preserve line numbers). 4745dd519f38Smrgif test "x$srcdir" = x.; then 47467973f115Smrg ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 47477973f115Smrgh 47487973f115Smrgs/// 47497973f115Smrgs/^/:/ 47507973f115Smrgs/[ ]*$/:/ 47517973f115Smrgs/:\$(srcdir):/:/g 47527973f115Smrgs/:\${srcdir}:/:/g 47537973f115Smrgs/:@srcdir@:/:/g 47547973f115Smrgs/^:*// 4755dd519f38Smrgs/:*$// 47567973f115Smrgx 47577973f115Smrgs/\(=[ ]*\).*/\1/ 47587973f115SmrgG 47597973f115Smrgs/\n// 4760dd519f38Smrgs/^[^=]*=[ ]*$// 4761dd519f38Smrg}' 4762dd519f38Smrgfi 4763dd519f38Smrg 4764dd519f38Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4765dd519f38Smrgfi # test -n "$CONFIG_FILES" 4766dd519f38Smrg 4767dd519f38Smrg 47685d10e53fSmrgeval set X " :F $CONFIG_FILES " 4769dd519f38Smrgshift 4770dd519f38Smrgfor ac_tag 4771dd519f38Smrgdo 4772dd519f38Smrg case $ac_tag in 4773dd519f38Smrg :[FHLC]) ac_mode=$ac_tag; continue;; 4774dd519f38Smrg esac 4775dd519f38Smrg case $ac_mode$ac_tag in 4776dd519f38Smrg :[FHL]*:*);; 47777973f115Smrg :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 4778dd519f38Smrg :[FH]-) ac_tag=-:-;; 4779dd519f38Smrg :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 4780dd519f38Smrg esac 4781dd519f38Smrg ac_save_IFS=$IFS 4782dd519f38Smrg IFS=: 4783dd519f38Smrg set x $ac_tag 4784dd519f38Smrg IFS=$ac_save_IFS 4785dd519f38Smrg shift 4786dd519f38Smrg ac_file=$1 4787dd519f38Smrg shift 4788dd519f38Smrg 4789dd519f38Smrg case $ac_mode in 4790dd519f38Smrg :L) ac_source=$1;; 4791dd519f38Smrg :[FH]) 4792dd519f38Smrg ac_file_inputs= 4793dd519f38Smrg for ac_f 4794dd519f38Smrg do 4795dd519f38Smrg case $ac_f in 47967973f115Smrg -) ac_f="$ac_tmp/stdin";; 4797dd519f38Smrg *) # Look for the file first in the build tree, then in the source tree 4798dd519f38Smrg # (if the path is not absolute). The absolute path cannot be DOS-style, 4799dd519f38Smrg # because $ac_f cannot contain `:'. 4800dd519f38Smrg test -f "$ac_f" || 4801dd519f38Smrg case $ac_f in 4802dd519f38Smrg [\\/$]*) false;; 4803dd519f38Smrg *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 4804dd519f38Smrg esac || 48057973f115Smrg as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 4806dd519f38Smrg esac 48075d10e53fSmrg case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 48087973f115Smrg as_fn_append ac_file_inputs " '$ac_f'" 4809dd519f38Smrg done 4810dd519f38Smrg 4811dd519f38Smrg # Let's still pretend it is `configure' which instantiates (i.e., don't 4812dd519f38Smrg # use $as_me), people would be surprised to read: 4813dd519f38Smrg # /* config.h. Generated by config.status. */ 4814dd519f38Smrg configure_input='Generated from '` 48155d10e53fSmrg printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 4816dd519f38Smrg `' by configure.' 4817dd519f38Smrg if test x"$ac_file" != x-; then 4818dd519f38Smrg configure_input="$ac_file. $configure_input" 48195d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 48205d10e53fSmrgprintf "%s\n" "$as_me: creating $ac_file" >&6;} 4821dd519f38Smrg fi 4822dd519f38Smrg # Neutralize special characters interpreted by sed in replacement strings. 4823dd519f38Smrg case $configure_input in #( 4824dd519f38Smrg *\&* | *\|* | *\\* ) 48255d10e53fSmrg ac_sed_conf_input=`printf "%s\n" "$configure_input" | 4826dd519f38Smrg sed 's/[\\\\&|]/\\\\&/g'`;; #( 4827dd519f38Smrg *) ac_sed_conf_input=$configure_input;; 4828dd519f38Smrg esac 4829dd519f38Smrg 4830dd519f38Smrg case $ac_tag in 48317973f115Smrg *:-:* | *:-) cat >"$ac_tmp/stdin" \ 48327973f115Smrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 4833dd519f38Smrg esac 4834dd519f38Smrg ;; 4835ed029a5fSmrg esac 4836ed029a5fSmrg 4837dd519f38Smrg ac_dir=`$as_dirname -- "$ac_file" || 4838ed029a5fSmrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4839ed029a5fSmrg X"$ac_file" : 'X\(//\)[^/]' \| \ 4840ed029a5fSmrg X"$ac_file" : 'X\(//\)$' \| \ 4841dd519f38Smrg X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 48425d10e53fSmrgprintf "%s\n" X"$ac_file" | 4843dd519f38Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4844dd519f38Smrg s//\1/ 4845dd519f38Smrg q 4846dd519f38Smrg } 4847dd519f38Smrg /^X\(\/\/\)[^/].*/{ 4848dd519f38Smrg s//\1/ 4849dd519f38Smrg q 4850dd519f38Smrg } 4851dd519f38Smrg /^X\(\/\/\)$/{ 4852dd519f38Smrg s//\1/ 4853dd519f38Smrg q 4854dd519f38Smrg } 4855dd519f38Smrg /^X\(\/\).*/{ 4856dd519f38Smrg s//\1/ 4857dd519f38Smrg q 4858dd519f38Smrg } 4859dd519f38Smrg s/.*/./; q'` 48607973f115Smrg as_dir="$ac_dir"; as_fn_mkdir_p 4861ed029a5fSmrg ac_builddir=. 4862ed029a5fSmrg 4863dd519f38Smrgcase "$ac_dir" in 4864dd519f38Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 4865dd519f38Smrg*) 48665d10e53fSmrg ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 4867dd519f38Smrg # A ".." for each directory in $ac_dir_suffix. 48685d10e53fSmrg ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 4869dd519f38Smrg case $ac_top_builddir_sub in 4870dd519f38Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 4871dd519f38Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 4872dd519f38Smrg esac ;; 4873dd519f38Smrgesac 4874dd519f38Smrgac_abs_top_builddir=$ac_pwd 4875dd519f38Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 4876dd519f38Smrg# for backward compatibility: 4877dd519f38Smrgac_top_builddir=$ac_top_build_prefix 4878ed029a5fSmrg 4879ed029a5fSmrgcase $srcdir in 4880dd519f38Smrg .) # We are building in place. 4881ed029a5fSmrg ac_srcdir=. 4882dd519f38Smrg ac_top_srcdir=$ac_top_builddir_sub 4883dd519f38Smrg ac_abs_top_srcdir=$ac_pwd ;; 4884dd519f38Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 4885ed029a5fSmrg ac_srcdir=$srcdir$ac_dir_suffix; 4886dd519f38Smrg ac_top_srcdir=$srcdir 4887dd519f38Smrg ac_abs_top_srcdir=$srcdir ;; 4888dd519f38Smrg *) # Relative name. 4889dd519f38Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 4890dd519f38Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 4891dd519f38Smrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 4892ed029a5fSmrgesac 4893dd519f38Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 4894ed029a5fSmrg 4895ed029a5fSmrg 4896dd519f38Smrg case $ac_mode in 4897dd519f38Smrg :F) 4898dd519f38Smrg # 4899dd519f38Smrg # CONFIG_FILE 4900dd519f38Smrg # 4901ed029a5fSmrg 4902ed029a5fSmrg case $INSTALL in 4903ed029a5fSmrg [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 4904dd519f38Smrg *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 4905ed029a5fSmrg esac 4906dd519f38Smrg ac_MKDIR_P=$MKDIR_P 4907dd519f38Smrg case $MKDIR_P in 4908dd519f38Smrg [\\/$]* | ?:[\\/]* ) ;; 4909dd519f38Smrg */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 4910dd519f38Smrg esac 4911dd519f38Smrg_ACEOF 4912ed029a5fSmrg 4913dd519f38Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4914dd519f38Smrg# If the template does not know about datarootdir, expand it. 4915dd519f38Smrg# FIXME: This hack should be removed a few years after 2.60. 4916dd519f38Smrgac_datarootdir_hack=; ac_datarootdir_seen= 4917dd519f38Smrgac_sed_dataroot=' 4918dd519f38Smrg/datarootdir/ { 4919dd519f38Smrg p 4920dd519f38Smrg q 4921dd519f38Smrg} 4922dd519f38Smrg/@datadir@/p 4923dd519f38Smrg/@docdir@/p 4924dd519f38Smrg/@infodir@/p 4925dd519f38Smrg/@localedir@/p 49267973f115Smrg/@mandir@/p' 4927dd519f38Smrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 4928dd519f38Smrg*datarootdir*) ac_datarootdir_seen=yes;; 4929dd519f38Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 49305d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 49315d10e53fSmrgprintf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 4932dd519f38Smrg_ACEOF 4933dd519f38Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4934dd519f38Smrg ac_datarootdir_hack=' 4935dd519f38Smrg s&@datadir@&$datadir&g 4936dd519f38Smrg s&@docdir@&$docdir&g 4937dd519f38Smrg s&@infodir@&$infodir&g 4938dd519f38Smrg s&@localedir@&$localedir&g 4939dd519f38Smrg s&@mandir@&$mandir&g 49407973f115Smrg s&\\\${datarootdir}&$datarootdir&g' ;; 4941dd519f38Smrgesac 4942ed029a5fSmrg_ACEOF 4943dd519f38Smrg 4944dd519f38Smrg# Neutralize VPATH when `$srcdir' = `.'. 4945dd519f38Smrg# Shell code in configure.ac might set extrasub. 4946dd519f38Smrg# FIXME: do we really want to maintain this feature? 4947dd519f38Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4948dd519f38Smrgac_sed_extra="$ac_vpsub 4949ed029a5fSmrg$extrasub 4950ed029a5fSmrg_ACEOF 4951dd519f38Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4952ed029a5fSmrg:t 4953ed029a5fSmrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 4954dd519f38Smrgs|@configure_input@|$ac_sed_conf_input|;t t 4955dd519f38Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t 4956dd519f38Smrgs&@top_build_prefix@&$ac_top_build_prefix&;t t 4957dd519f38Smrgs&@srcdir@&$ac_srcdir&;t t 4958dd519f38Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t 4959dd519f38Smrgs&@top_srcdir@&$ac_top_srcdir&;t t 4960dd519f38Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 4961dd519f38Smrgs&@builddir@&$ac_builddir&;t t 4962dd519f38Smrgs&@abs_builddir@&$ac_abs_builddir&;t t 4963dd519f38Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t 4964dd519f38Smrgs&@INSTALL@&$ac_INSTALL&;t t 4965dd519f38Smrgs&@MKDIR_P@&$ac_MKDIR_P&;t t 4966dd519f38Smrg$ac_datarootdir_hack 4967dd519f38Smrg" 49687973f115Smrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 49697973f115Smrg >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 4970ed029a5fSmrg 4971dd519f38Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 49727973f115Smrg { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 49737973f115Smrg { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 49747973f115Smrg "$ac_tmp/out"`; test -z "$ac_out"; } && 49755d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 49767973f115Smrgwhich seems to be undefined. Please make sure it is defined" >&5 49775d10e53fSmrgprintf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 49787973f115Smrgwhich seems to be undefined. Please make sure it is defined" >&2;} 4979dd519f38Smrg 49807973f115Smrg rm -f "$ac_tmp/stdin" 4981dd519f38Smrg case $ac_file in 49827973f115Smrg -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 49837973f115Smrg *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 4984dd519f38Smrg esac \ 49857973f115Smrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 4986dd519f38Smrg ;; 4987dd519f38Smrg 4988dd519f38Smrg 4989dd519f38Smrg 4990dd519f38Smrg esac 4991dd519f38Smrg 4992dd519f38Smrgdone # for ac_tag 4993ed029a5fSmrg 4994ed029a5fSmrg 49957973f115Smrgas_fn_exit 0 4996ed029a5fSmrg_ACEOF 4997ed029a5fSmrgac_clean_files=$ac_clean_files_save 4998ed029a5fSmrg 4999dd519f38Smrgtest $ac_write_fail = 0 || 50007973f115Smrg as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 5001dd519f38Smrg 5002ed029a5fSmrg 5003ed029a5fSmrg# configure is writing to config.log, and then calls config.status. 5004ed029a5fSmrg# config.status does its own redirection, appending to config.log. 5005ed029a5fSmrg# Unfortunately, on DOS this fails, as config.log is still kept open 5006ed029a5fSmrg# by configure, so config.status won't be able to write to it; its 5007ed029a5fSmrg# output is simply discarded. So we exec the FD to /dev/null, 5008ed029a5fSmrg# effectively closing config.log, so it can be properly (re)opened and 5009ed029a5fSmrg# appended to by config.status. When coming back to configure, we 5010ed029a5fSmrg# need to make the FD available again. 5011ed029a5fSmrgif test "$no_create" != yes; then 5012ed029a5fSmrg ac_cs_success=: 5013ed029a5fSmrg ac_config_status_args= 5014ed029a5fSmrg test "$silent" = yes && 5015ed029a5fSmrg ac_config_status_args="$ac_config_status_args --quiet" 5016ed029a5fSmrg exec 5>/dev/null 5017ed029a5fSmrg $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 5018ed029a5fSmrg exec 5>>config.log 5019ed029a5fSmrg # Use ||, not &&, to avoid exiting from the if with $? = 1, which 5020ed029a5fSmrg # would make configure fail if this is the last instruction. 50217973f115Smrg $ac_cs_success || as_fn_exit 1 5022ed029a5fSmrgfi 5023dd519f38Smrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 50245d10e53fSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 50255d10e53fSmrgprintf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 5026dd519f38Smrgfi 5027ed029a5fSmrg 50285d10e53fSmrg 5029