configure revision 0c1e1135
1a99f82b8Smrg#! /bin/sh 2a99f82b8Smrg# Guess values for system-dependent variables and create Makefiles. 30c1e1135Smrg# Generated by GNU Autoconf 2.71 for font-alias 1.0.5. 4a99f82b8Smrg# 50c1e1135Smrg# Report bugs to <https://gitlab.freedesktop.org/xorg/font/alias/-/issues>. 6a99f82b8Smrg# 76d325d25Smrg# 80c1e1135Smrg# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, 90c1e1135Smrg# Inc. 106d325d25Smrg# 116d325d25Smrg# 12a99f82b8Smrg# This configure script is free software; the Free Software Foundation 13a99f82b8Smrg# gives unlimited permission to copy, distribute and modify it. 146d325d25Smrg## -------------------- ## 156d325d25Smrg## M4sh Initialization. ## 166d325d25Smrg## -------------------- ## 17a99f82b8Smrg 182d62a77cSmrg# Be more Bourne compatible 192d62a77cSmrgDUALCASE=1; export DUALCASE # for MKS sh 200c1e1135Smrgas_nop=: 210c1e1135Smrgif test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 220c1e1135Smrgthen : 23a99f82b8Smrg emulate sh 24a99f82b8Smrg NULLCMD=: 252d62a77cSmrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 26a99f82b8Smrg # is contrary to our usage. Disable this feature. 27a99f82b8Smrg alias -g '${1+"$@"}'='"$@"' 282d62a77cSmrg setopt NO_GLOB_SUBST 290c1e1135Smrgelse $as_nop 306d325d25Smrg case `(set -o) 2>/dev/null` in #( 316d325d25Smrg *posix*) : 326d325d25Smrg set -o posix ;; #( 336d325d25Smrg *) : 346d325d25Smrg ;; 352d62a77cSmrgesac 362d62a77cSmrgfi 372d62a77cSmrg 382d62a77cSmrg 390c1e1135Smrg 400c1e1135Smrg# Reset variables that may have inherited troublesome values from 410c1e1135Smrg# the environment. 420c1e1135Smrg 430c1e1135Smrg# IFS needs to be set, to space, tab, and newline, in precisely that order. 440c1e1135Smrg# (If _AS_PATH_WALK were called with IFS unset, it would have the 450c1e1135Smrg# side effect of setting IFS to empty, thus disabling word splitting.) 460c1e1135Smrg# Quoting is to prevent editors from complaining about space-tab. 472d62a77cSmrgas_nl=' 482d62a77cSmrg' 492d62a77cSmrgexport as_nl 500c1e1135SmrgIFS=" "" $as_nl" 510c1e1135Smrg 520c1e1135SmrgPS1='$ ' 530c1e1135SmrgPS2='> ' 540c1e1135SmrgPS4='+ ' 550c1e1135Smrg 560c1e1135Smrg# Ensure predictable behavior from utilities with locale-dependent output. 570c1e1135SmrgLC_ALL=C 580c1e1135Smrgexport LC_ALL 590c1e1135SmrgLANGUAGE=C 600c1e1135Smrgexport LANGUAGE 610c1e1135Smrg 620c1e1135Smrg# We cannot yet rely on "unset" to work, but we need these variables 630c1e1135Smrg# to be unset--not just set to an empty or harmless value--now, to 640c1e1135Smrg# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct 650c1e1135Smrg# also avoids known problems related to "unset" and subshell syntax 660c1e1135Smrg# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). 670c1e1135Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 680c1e1135Smrgdo eval test \${$as_var+y} \ 690c1e1135Smrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 700c1e1135Smrgdone 710c1e1135Smrg 720c1e1135Smrg# Ensure that fds 0, 1, and 2 are open. 730c1e1135Smrgif (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 740c1e1135Smrgif (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 750c1e1135Smrgif (exec 3>&2) ; then :; else exec 2>/dev/null; fi 762d62a77cSmrg 772d62a77cSmrg# The user is always right. 780c1e1135Smrgif ${PATH_SEPARATOR+false} :; then 792d62a77cSmrg PATH_SEPARATOR=: 802d62a77cSmrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 812d62a77cSmrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 822d62a77cSmrg PATH_SEPARATOR=';' 832d62a77cSmrg } 84a99f82b8Smrgfi 85a99f82b8Smrg 86a99f82b8Smrg 872d62a77cSmrg# Find who we are. Look in the path if we contain no directory separator. 886d325d25Smrgas_myself= 896d325d25Smrgcase $0 in #(( 902d62a77cSmrg *[\\/]* ) as_myself=$0 ;; 912d62a77cSmrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 922d62a77cSmrgfor as_dir in $PATH 932d62a77cSmrgdo 942d62a77cSmrg IFS=$as_save_IFS 950c1e1135Smrg case $as_dir in #((( 960c1e1135Smrg '') as_dir=./ ;; 970c1e1135Smrg */) ;; 980c1e1135Smrg *) as_dir=$as_dir/ ;; 990c1e1135Smrg esac 1000c1e1135Smrg test -r "$as_dir$0" && as_myself=$as_dir$0 && break 1016d325d25Smrg done 1022d62a77cSmrgIFS=$as_save_IFS 1032d62a77cSmrg 1042d62a77cSmrg ;; 1052d62a77cSmrgesac 1062d62a77cSmrg# We did not find ourselves, most probably we were run as `sh COMMAND' 1072d62a77cSmrg# in which case we are not to be found in the path. 1082d62a77cSmrgif test "x$as_myself" = x; then 1092d62a77cSmrg as_myself=$0 1102d62a77cSmrgfi 1112d62a77cSmrgif test ! -f "$as_myself"; then 1120c1e1135Smrg printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 1136d325d25Smrg exit 1 1142d62a77cSmrgfi 1152d62a77cSmrg 1166d325d25Smrg 11718b08247Smrg# Use a proper internal environment variable to ensure we don't fall 11818b08247Smrg # into an infinite loop, continuously re-executing ourselves. 11918b08247Smrg if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 12018b08247Smrg _as_can_reexec=no; export _as_can_reexec; 12118b08247Smrg # We cannot yet assume a decent shell, so we have to provide a 12218b08247Smrg# neutralization value for shells without unset; and this also 12318b08247Smrg# works around shells that cannot unset nonexistent variables. 12418b08247Smrg# Preserve -v and -x to the replacement shell. 12518b08247SmrgBASH_ENV=/dev/null 12618b08247SmrgENV=/dev/null 12718b08247Smrg(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 12818b08247Smrgcase $- in # (((( 12918b08247Smrg *v*x* | *x*v* ) as_opts=-vx ;; 13018b08247Smrg *v* ) as_opts=-v ;; 13118b08247Smrg *x* ) as_opts=-x ;; 13218b08247Smrg * ) as_opts= ;; 13318b08247Smrgesac 13418b08247Smrgexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 13518b08247Smrg# Admittedly, this is quite paranoid, since all the known shells bail 13618b08247Smrg# out after a failed `exec'. 1370c1e1135Smrgprintf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 1380c1e1135Smrgexit 255 13918b08247Smrg fi 14018b08247Smrg # We don't want this to propagate to other subprocesses. 14118b08247Smrg { _as_can_reexec=; unset _as_can_reexec;} 1426d325d25Smrgif test "x$CONFIG_SHELL" = x; then 1430c1e1135Smrg as_bourne_compatible="as_nop=: 1440c1e1135Smrgif test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 1450c1e1135Smrgthen : 1466d325d25Smrg emulate sh 1476d325d25Smrg NULLCMD=: 1486d325d25Smrg # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 1496d325d25Smrg # is contrary to our usage. Disable this feature. 1506d325d25Smrg alias -g '\${1+\"\$@\"}'='\"\$@\"' 1516d325d25Smrg setopt NO_GLOB_SUBST 1520c1e1135Smrgelse \$as_nop 1536d325d25Smrg case \`(set -o) 2>/dev/null\` in #( 1546d325d25Smrg *posix*) : 1556d325d25Smrg set -o posix ;; #( 1566d325d25Smrg *) : 1576d325d25Smrg ;; 1586d325d25Smrgesac 1596d325d25Smrgfi 1606d325d25Smrg" 1616d325d25Smrg as_required="as_fn_return () { (exit \$1); } 1626d325d25Smrgas_fn_success () { as_fn_return 0; } 1636d325d25Smrgas_fn_failure () { as_fn_return 1; } 1646d325d25Smrgas_fn_ret_success () { return 0; } 1656d325d25Smrgas_fn_ret_failure () { return 1; } 1666d325d25Smrg 1676d325d25Smrgexitcode=0 1686d325d25Smrgas_fn_success || { exitcode=1; echo as_fn_success failed.; } 1696d325d25Smrgas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 1706d325d25Smrgas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 1716d325d25Smrgas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 1720c1e1135Smrgif ( set x; as_fn_ret_success y && test x = \"\$1\" ) 1730c1e1135Smrgthen : 1746d325d25Smrg 1750c1e1135Smrgelse \$as_nop 1766d325d25Smrg exitcode=1; echo positional parameters were not saved. 1776d325d25Smrgfi 17818b08247Smrgtest x\$exitcode = x0 || exit 1 1790c1e1135Smrgblah=\$(echo \$(echo blah)) 1800c1e1135Smrgtest x\"\$blah\" = xblah || exit 1 18118b08247Smrgtest -x / || exit 1" 1826d325d25Smrg as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 1836d325d25Smrg as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 1846d325d25Smrg eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 1856d325d25Smrg test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 1866d325d25Smrgtest \$(( 1 + 1 )) = 2 || exit 1" 1870c1e1135Smrg if (eval "$as_required") 2>/dev/null 1880c1e1135Smrgthen : 1896d325d25Smrg as_have_required=yes 1900c1e1135Smrgelse $as_nop 1916d325d25Smrg as_have_required=no 1926d325d25Smrgfi 1930c1e1135Smrg if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null 1940c1e1135Smrgthen : 1956d325d25Smrg 1960c1e1135Smrgelse $as_nop 1976d325d25Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1986d325d25Smrgas_found=false 1996d325d25Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 2006d325d25Smrgdo 2016d325d25Smrg IFS=$as_save_IFS 2020c1e1135Smrg case $as_dir in #((( 2030c1e1135Smrg '') as_dir=./ ;; 2040c1e1135Smrg */) ;; 2050c1e1135Smrg *) as_dir=$as_dir/ ;; 2060c1e1135Smrg esac 2076d325d25Smrg as_found=: 2086d325d25Smrg case $as_dir in #( 2096d325d25Smrg /*) 2106d325d25Smrg for as_base in sh bash ksh sh5; do 2116d325d25Smrg # Try only shells that exist, to save several forks. 2120c1e1135Smrg as_shell=$as_dir$as_base 2136d325d25Smrg if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 2140c1e1135Smrg as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null 2150c1e1135Smrgthen : 2166d325d25Smrg CONFIG_SHELL=$as_shell as_have_required=yes 2170c1e1135Smrg if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null 2180c1e1135Smrgthen : 2196d325d25Smrg break 2 2206d325d25Smrgfi 2216d325d25Smrgfi 2226d325d25Smrg done;; 2236d325d25Smrg esac 2246d325d25Smrg as_found=false 2256d325d25Smrgdone 2266d325d25SmrgIFS=$as_save_IFS 2270c1e1135Smrgif $as_found 2280c1e1135Smrgthen : 2290c1e1135Smrg 2300c1e1135Smrgelse $as_nop 2310c1e1135Smrg if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 2320c1e1135Smrg as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null 2330c1e1135Smrgthen : 2340c1e1135Smrg CONFIG_SHELL=$SHELL as_have_required=yes 2350c1e1135Smrgfi 2360c1e1135Smrgfi 2376d325d25Smrg 2386d325d25Smrg 2390c1e1135Smrg if test "x$CONFIG_SHELL" != x 2400c1e1135Smrgthen : 24118b08247Smrg export CONFIG_SHELL 24218b08247Smrg # We cannot yet assume a decent shell, so we have to provide a 24318b08247Smrg# neutralization value for shells without unset; and this also 24418b08247Smrg# works around shells that cannot unset nonexistent variables. 24518b08247Smrg# Preserve -v and -x to the replacement shell. 24618b08247SmrgBASH_ENV=/dev/null 24718b08247SmrgENV=/dev/null 24818b08247Smrg(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 24918b08247Smrgcase $- in # (((( 25018b08247Smrg *v*x* | *x*v* ) as_opts=-vx ;; 25118b08247Smrg *v* ) as_opts=-v ;; 25218b08247Smrg *x* ) as_opts=-x ;; 25318b08247Smrg * ) as_opts= ;; 25418b08247Smrgesac 25518b08247Smrgexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 25618b08247Smrg# Admittedly, this is quite paranoid, since all the known shells bail 25718b08247Smrg# out after a failed `exec'. 2580c1e1135Smrgprintf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 25918b08247Smrgexit 255 2606d325d25Smrgfi 2616d325d25Smrg 2620c1e1135Smrg if test x$as_have_required = xno 2630c1e1135Smrgthen : 2640c1e1135Smrg printf "%s\n" "$0: This script requires a shell more modern than all" 2650c1e1135Smrg printf "%s\n" "$0: the shells that I found on your system." 2660c1e1135Smrg if test ${ZSH_VERSION+y} ; then 2670c1e1135Smrg printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should" 2680c1e1135Smrg printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later." 2696d325d25Smrg else 2700c1e1135Smrg printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and 2710c1e1135Smrg$0: https://gitlab.freedesktop.org/xorg/font/alias/-/issues 2726d325d25Smrg$0: about your system, including any error possibly output 2736d325d25Smrg$0: before this message. Then install a modern shell, or 2746d325d25Smrg$0: manually run the script under such a shell if you do 2756d325d25Smrg$0: have one." 2766d325d25Smrg fi 2776d325d25Smrg exit 1 2786d325d25Smrgfi 2796d325d25Smrgfi 2806d325d25Smrgfi 2816d325d25SmrgSHELL=${CONFIG_SHELL-/bin/sh} 2826d325d25Smrgexport SHELL 2836d325d25Smrg# Unset more variables known to interfere with behavior of common tools. 2846d325d25SmrgCLICOLOR_FORCE= GREP_OPTIONS= 2856d325d25Smrgunset CLICOLOR_FORCE GREP_OPTIONS 2866d325d25Smrg 2876d325d25Smrg## --------------------- ## 2886d325d25Smrg## M4sh Shell Functions. ## 2896d325d25Smrg## --------------------- ## 2906d325d25Smrg# as_fn_unset VAR 2916d325d25Smrg# --------------- 2926d325d25Smrg# Portably unset VAR. 2936d325d25Smrgas_fn_unset () 2946d325d25Smrg{ 2956d325d25Smrg { eval $1=; unset $1;} 2966d325d25Smrg} 2976d325d25Smrgas_unset=as_fn_unset 2986d325d25Smrg 2990c1e1135Smrg 3006d325d25Smrg# as_fn_set_status STATUS 3016d325d25Smrg# ----------------------- 3026d325d25Smrg# Set $? to STATUS, without forking. 3036d325d25Smrgas_fn_set_status () 3046d325d25Smrg{ 3056d325d25Smrg return $1 3066d325d25Smrg} # as_fn_set_status 3076d325d25Smrg 3086d325d25Smrg# as_fn_exit STATUS 3096d325d25Smrg# ----------------- 3106d325d25Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 3116d325d25Smrgas_fn_exit () 3126d325d25Smrg{ 3136d325d25Smrg set +e 3146d325d25Smrg as_fn_set_status $1 3156d325d25Smrg exit $1 3166d325d25Smrg} # as_fn_exit 3170c1e1135Smrg# as_fn_nop 3180c1e1135Smrg# --------- 3190c1e1135Smrg# Do nothing but, unlike ":", preserve the value of $?. 3200c1e1135Smrgas_fn_nop () 3210c1e1135Smrg{ 3220c1e1135Smrg return $? 3230c1e1135Smrg} 3240c1e1135Smrgas_nop=as_fn_nop 3256d325d25Smrg 3266d325d25Smrg# as_fn_mkdir_p 3276d325d25Smrg# ------------- 3286d325d25Smrg# Create "$as_dir" as a directory, including parents if necessary. 3296d325d25Smrgas_fn_mkdir_p () 3306d325d25Smrg{ 3316d325d25Smrg 3326d325d25Smrg case $as_dir in #( 3336d325d25Smrg -*) as_dir=./$as_dir;; 3346d325d25Smrg esac 3356d325d25Smrg test -d "$as_dir" || eval $as_mkdir_p || { 3366d325d25Smrg as_dirs= 3376d325d25Smrg while :; do 3386d325d25Smrg case $as_dir in #( 3390c1e1135Smrg *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 3406d325d25Smrg *) as_qdir=$as_dir;; 3416d325d25Smrg esac 3426d325d25Smrg as_dirs="'$as_qdir' $as_dirs" 3436d325d25Smrg as_dir=`$as_dirname -- "$as_dir" || 3446d325d25Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3456d325d25Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 3466d325d25Smrg X"$as_dir" : 'X\(//\)$' \| \ 3476d325d25Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 3480c1e1135Smrgprintf "%s\n" X"$as_dir" | 3496d325d25Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3506d325d25Smrg s//\1/ 3516d325d25Smrg q 3526d325d25Smrg } 3536d325d25Smrg /^X\(\/\/\)[^/].*/{ 3546d325d25Smrg s//\1/ 3556d325d25Smrg q 3566d325d25Smrg } 3576d325d25Smrg /^X\(\/\/\)$/{ 3586d325d25Smrg s//\1/ 3596d325d25Smrg q 3606d325d25Smrg } 3616d325d25Smrg /^X\(\/\).*/{ 3626d325d25Smrg s//\1/ 3636d325d25Smrg q 3646d325d25Smrg } 3656d325d25Smrg s/.*/./; q'` 3666d325d25Smrg test -d "$as_dir" && break 3676d325d25Smrg done 3686d325d25Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 3696d325d25Smrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 3706d325d25Smrg 3716d325d25Smrg 3726d325d25Smrg} # as_fn_mkdir_p 37318b08247Smrg 37418b08247Smrg# as_fn_executable_p FILE 37518b08247Smrg# ----------------------- 37618b08247Smrg# Test if FILE is an executable regular file. 37718b08247Smrgas_fn_executable_p () 37818b08247Smrg{ 37918b08247Smrg test -f "$1" && test -x "$1" 38018b08247Smrg} # as_fn_executable_p 3816d325d25Smrg# as_fn_append VAR VALUE 3826d325d25Smrg# ---------------------- 3836d325d25Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take 3846d325d25Smrg# advantage of any shell optimizations that allow amortized linear growth over 3856d325d25Smrg# repeated appends, instead of the typical quadratic growth present in naive 3866d325d25Smrg# implementations. 3870c1e1135Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 3880c1e1135Smrgthen : 3896d325d25Smrg eval 'as_fn_append () 3906d325d25Smrg { 3916d325d25Smrg eval $1+=\$2 3926d325d25Smrg }' 3930c1e1135Smrgelse $as_nop 3946d325d25Smrg as_fn_append () 3956d325d25Smrg { 3966d325d25Smrg eval $1=\$$1\$2 3976d325d25Smrg } 3986d325d25Smrgfi # as_fn_append 3996d325d25Smrg 4006d325d25Smrg# as_fn_arith ARG... 4016d325d25Smrg# ------------------ 4026d325d25Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the 4036d325d25Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 4046d325d25Smrg# must be portable across $(()) and expr. 4050c1e1135Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 4060c1e1135Smrgthen : 4076d325d25Smrg eval 'as_fn_arith () 4086d325d25Smrg { 4096d325d25Smrg as_val=$(( $* )) 4106d325d25Smrg }' 4110c1e1135Smrgelse $as_nop 4126d325d25Smrg as_fn_arith () 4136d325d25Smrg { 4146d325d25Smrg as_val=`expr "$@" || test $? -eq 1` 4156d325d25Smrg } 4166d325d25Smrgfi # as_fn_arith 4176d325d25Smrg 4180c1e1135Smrg# as_fn_nop 4190c1e1135Smrg# --------- 4200c1e1135Smrg# Do nothing but, unlike ":", preserve the value of $?. 4210c1e1135Smrgas_fn_nop () 4220c1e1135Smrg{ 4230c1e1135Smrg return $? 4240c1e1135Smrg} 4250c1e1135Smrgas_nop=as_fn_nop 4266d325d25Smrg 4276d325d25Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 4286d325d25Smrg# ---------------------------------------- 4296d325d25Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 4306d325d25Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 4316d325d25Smrg# script with STATUS, using 1 if that was 0. 4326d325d25Smrgas_fn_error () 4336d325d25Smrg{ 4346d325d25Smrg as_status=$1; test $as_status -eq 0 && as_status=1 4356d325d25Smrg if test "$4"; then 4366d325d25Smrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 4370c1e1135Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 4386d325d25Smrg fi 4390c1e1135Smrg printf "%s\n" "$as_me: error: $2" >&2 4406d325d25Smrg as_fn_exit $as_status 4416d325d25Smrg} # as_fn_error 4426d325d25Smrg 4432d62a77cSmrgif expr a : '\(a\)' >/dev/null 2>&1 && 4442d62a77cSmrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 445a99f82b8Smrg as_expr=expr 446a99f82b8Smrgelse 447a99f82b8Smrg as_expr=false 448a99f82b8Smrgfi 449a99f82b8Smrg 4502d62a77cSmrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 451a99f82b8Smrg as_basename=basename 452a99f82b8Smrgelse 453a99f82b8Smrg as_basename=false 454a99f82b8Smrgfi 455a99f82b8Smrg 4566d325d25Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 4576d325d25Smrg as_dirname=dirname 4586d325d25Smrgelse 4596d325d25Smrg as_dirname=false 4606d325d25Smrgfi 461a99f82b8Smrg 4622d62a77cSmrgas_me=`$as_basename -- "$0" || 463a99f82b8Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 464a99f82b8Smrg X"$0" : 'X\(//\)$' \| \ 4652d62a77cSmrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 4660c1e1135Smrgprintf "%s\n" X/"$0" | 4672d62a77cSmrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 4682d62a77cSmrg s//\1/ 4692d62a77cSmrg q 4702d62a77cSmrg } 4712d62a77cSmrg /^X\/\(\/\/\)$/{ 4722d62a77cSmrg s//\1/ 4732d62a77cSmrg q 4742d62a77cSmrg } 4752d62a77cSmrg /^X\/\(\/\).*/{ 4762d62a77cSmrg s//\1/ 4772d62a77cSmrg q 4782d62a77cSmrg } 4792d62a77cSmrg s/.*/./; q'` 480a99f82b8Smrg 4816d325d25Smrg# Avoid depending upon Character Ranges. 4826d325d25Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 4836d325d25Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 4846d325d25Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 4856d325d25Smrgas_cr_digits='0123456789' 4866d325d25Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 487a99f82b8Smrg 488a99f82b8Smrg 4896d325d25Smrg as_lineno_1=$LINENO as_lineno_1a=$LINENO 4906d325d25Smrg as_lineno_2=$LINENO as_lineno_2a=$LINENO 4916d325d25Smrg eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 4926d325d25Smrg test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 4936d325d25Smrg # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 4946d325d25Smrg sed -n ' 4956d325d25Smrg p 4966d325d25Smrg /[$]LINENO/= 4976d325d25Smrg ' <$as_myself | 4986d325d25Smrg sed ' 4996d325d25Smrg s/[$]LINENO.*/&-/ 5006d325d25Smrg t lineno 5016d325d25Smrg b 5026d325d25Smrg :lineno 5036d325d25Smrg N 5046d325d25Smrg :loop 5056d325d25Smrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 5066d325d25Smrg t loop 5076d325d25Smrg s/-\n.*// 5086d325d25Smrg ' >$as_me.lineno && 5096d325d25Smrg chmod +x "$as_me.lineno" || 5100c1e1135Smrg { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 511a99f82b8Smrg 51218b08247Smrg # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 51318b08247Smrg # already done that, so ensure we don't try to do so again and fall 51418b08247Smrg # in an infinite loop. This has already happened in practice. 51518b08247Smrg _as_can_reexec=no; export _as_can_reexec 5166d325d25Smrg # Don't try to exec as it changes $[0], causing all sort of problems 5176d325d25Smrg # (the dirname of $[0] is not the place where we might find the 5186d325d25Smrg # original and so on. Autoconf is especially sensitive to this). 5196d325d25Smrg . "./$as_me.lineno" 5206d325d25Smrg # Exit status is that of the last command. 5216d325d25Smrg exit 5222d62a77cSmrg} 523a99f82b8Smrg 5240c1e1135Smrg 5250c1e1135Smrg# Determine whether it's possible to make 'echo' print without a newline. 5260c1e1135Smrg# These variables are no longer used directly by Autoconf, but are AC_SUBSTed 5270c1e1135Smrg# for compatibility with existing Makefiles. 5286d325d25SmrgECHO_C= ECHO_N= ECHO_T= 5296d325d25Smrgcase `echo -n x` in #((((( 5306d325d25Smrg-n*) 5316d325d25Smrg case `echo 'xy\c'` in 5326d325d25Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 5336d325d25Smrg xy) ECHO_C='\c';; 5346d325d25Smrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 5356d325d25Smrg ECHO_T=' ';; 5366d325d25Smrg esac;; 5376d325d25Smrg*) 5386d325d25Smrg ECHO_N='-n';; 5396d325d25Smrgesac 540a99f82b8Smrg 5410c1e1135Smrg# For backward compatibility with old third-party macros, we provide 5420c1e1135Smrg# the shell variables $as_echo and $as_echo_n. New code should use 5430c1e1135Smrg# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. 5440c1e1135Smrgas_echo='printf %s\n' 5450c1e1135Smrgas_echo_n='printf %s' 5460c1e1135Smrg 5470c1e1135Smrg 5486d325d25Smrgrm -f conf$$ conf$$.exe conf$$.file 5496d325d25Smrgif test -d conf$$.dir; then 5506d325d25Smrg rm -f conf$$.dir/conf$$.file 5516d325d25Smrgelse 5526d325d25Smrg rm -f conf$$.dir 5536d325d25Smrg mkdir conf$$.dir 2>/dev/null 5542d62a77cSmrgfi 5556d325d25Smrgif (echo >conf$$.file) 2>/dev/null; then 5566d325d25Smrg if ln -s conf$$.file conf$$ 2>/dev/null; then 5576d325d25Smrg as_ln_s='ln -s' 5586d325d25Smrg # ... but there are two gotchas: 5596d325d25Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 5606d325d25Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 56118b08247Smrg # In both cases, we have to default to `cp -pR'. 5626d325d25Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 56318b08247Smrg as_ln_s='cp -pR' 5646d325d25Smrg elif ln conf$$.file conf$$ 2>/dev/null; then 5656d325d25Smrg as_ln_s=ln 5666d325d25Smrg else 56718b08247Smrg as_ln_s='cp -pR' 5686d325d25Smrg fi 5692d62a77cSmrgelse 57018b08247Smrg as_ln_s='cp -pR' 5712d62a77cSmrgfi 5726d325d25Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5736d325d25Smrgrmdir conf$$.dir 2>/dev/null 5742d62a77cSmrg 5756d325d25Smrgif mkdir -p . 2>/dev/null; then 5766d325d25Smrg as_mkdir_p='mkdir -p "$as_dir"' 5776d325d25Smrgelse 5786d325d25Smrg test -d ./-p && rmdir ./-p 5796d325d25Smrg as_mkdir_p=false 5802d62a77cSmrgfi 5812d62a77cSmrg 58218b08247Smrgas_test_x='test -x' 58318b08247Smrgas_executable_p=as_fn_executable_p 5842d62a77cSmrg 5856d325d25Smrg# Sed expression to map a string onto a valid CPP name. 5866d325d25Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5872d62a77cSmrg 5886d325d25Smrg# Sed expression to map a string onto a valid variable name. 5896d325d25Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5902d62a77cSmrg 5912d62a77cSmrg 5926d325d25Smrgtest -n "$DJDIR" || exec 7<&0 </dev/null 5936d325d25Smrgexec 6>&1 594a99f82b8Smrg 595a99f82b8Smrg# Name of the host. 5966d325d25Smrg# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 597a99f82b8Smrg# so uname gets run too. 598a99f82b8Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 599a99f82b8Smrg 600a99f82b8Smrg# 601a99f82b8Smrg# Initializations. 602a99f82b8Smrg# 603a99f82b8Smrgac_default_prefix=/usr/local 6042d62a77cSmrgac_clean_files= 605a99f82b8Smrgac_config_libobj_dir=. 6062d62a77cSmrgLIBOBJS= 607a99f82b8Smrgcross_compiling=no 608a99f82b8Smrgsubdirs= 609a99f82b8SmrgMFLAGS= 610a99f82b8SmrgMAKEFLAGS= 611a99f82b8Smrg 612a99f82b8Smrg# Identity of this package. 613a99f82b8SmrgPACKAGE_NAME='font-alias' 614a99f82b8SmrgPACKAGE_TARNAME='font-alias' 6150c1e1135SmrgPACKAGE_VERSION='1.0.5' 6160c1e1135SmrgPACKAGE_STRING='font-alias 1.0.5' 6170c1e1135SmrgPACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/font/alias/-/issues' 6186d325d25SmrgPACKAGE_URL='' 619a99f82b8Smrg 6200c1e1135Smrgac_subst_vars='LTLIBOBJS 6212d62a77cSmrgLIBOBJS 6222d62a77cSmrgFONTROOTDIR 6236d325d25SmrgMAN_SUBSTS 6246d325d25SmrgXORG_MAN_PAGE 6252d62a77cSmrgADMIN_MAN_DIR 6262d62a77cSmrgDRIVER_MAN_DIR 6272d62a77cSmrgMISC_MAN_DIR 6282d62a77cSmrgFILE_MAN_DIR 6292d62a77cSmrgLIB_MAN_DIR 6302d62a77cSmrgAPP_MAN_DIR 6312d62a77cSmrgADMIN_MAN_SUFFIX 6322d62a77cSmrgDRIVER_MAN_SUFFIX 6332d62a77cSmrgMISC_MAN_SUFFIX 6342d62a77cSmrgFILE_MAN_SUFFIX 6352d62a77cSmrgLIB_MAN_SUFFIX 6362d62a77cSmrgAPP_MAN_SUFFIX 6376d325d25SmrgSED 6382d62a77cSmrghost_os 6392d62a77cSmrghost_vendor 6402d62a77cSmrghost_cpu 6412d62a77cSmrghost 6422d62a77cSmrgbuild_os 6432d62a77cSmrgbuild_vendor 6442d62a77cSmrgbuild_cpu 6452d62a77cSmrgbuild 6466d325d25SmrgINSTALL_CMD 64718b08247SmrgPKG_CONFIG_LIBDIR 64818b08247SmrgPKG_CONFIG_PATH 6496d325d25SmrgPKG_CONFIG 6502d62a77cSmrgCHANGELOG_CMD 65118b08247SmrgAM_BACKSLASH 65218b08247SmrgAM_DEFAULT_VERBOSITY 65318b08247SmrgAM_DEFAULT_V 65418b08247SmrgAM_V 6550c1e1135SmrgCSCOPE 6560c1e1135SmrgETAGS 6570c1e1135SmrgCTAGS 6582d62a77cSmrgam__untar 6592d62a77cSmrgam__tar 6602d62a77cSmrgAMTAR 6612d62a77cSmrgam__leading_dot 6622d62a77cSmrgSET_MAKE 6632d62a77cSmrgAWK 6642d62a77cSmrgmkdir_p 6652d62a77cSmrgMKDIR_P 6662d62a77cSmrgINSTALL_STRIP_PROGRAM 6672d62a77cSmrgSTRIP 6682d62a77cSmrginstall_sh 6692d62a77cSmrgMAKEINFO 6702d62a77cSmrgAUTOHEADER 6712d62a77cSmrgAUTOMAKE 6722d62a77cSmrgAUTOCONF 6732d62a77cSmrgACLOCAL 6742d62a77cSmrgVERSION 6752d62a77cSmrgPACKAGE 6762d62a77cSmrgCYGPATH_W 6772d62a77cSmrgam__isrc 6782d62a77cSmrgINSTALL_DATA 6792d62a77cSmrgINSTALL_SCRIPT 6802d62a77cSmrgINSTALL_PROGRAM 6812d62a77cSmrgtarget_alias 6822d62a77cSmrghost_alias 6832d62a77cSmrgbuild_alias 6842d62a77cSmrgLIBS 6852d62a77cSmrgECHO_T 6862d62a77cSmrgECHO_N 6872d62a77cSmrgECHO_C 6882d62a77cSmrgDEFS 6892d62a77cSmrgmandir 6902d62a77cSmrglocaledir 6912d62a77cSmrglibdir 6922d62a77cSmrgpsdir 6932d62a77cSmrgpdfdir 6942d62a77cSmrgdvidir 6952d62a77cSmrghtmldir 6962d62a77cSmrginfodir 6972d62a77cSmrgdocdir 6982d62a77cSmrgoldincludedir 6992d62a77cSmrgincludedir 7000c1e1135Smrgrunstatedir 7012d62a77cSmrglocalstatedir 7022d62a77cSmrgsharedstatedir 7032d62a77cSmrgsysconfdir 7042d62a77cSmrgdatadir 7052d62a77cSmrgdatarootdir 7062d62a77cSmrglibexecdir 7072d62a77cSmrgsbindir 7082d62a77cSmrgbindir 7092d62a77cSmrgprogram_transform_name 7102d62a77cSmrgprefix 7112d62a77cSmrgexec_prefix 7126d325d25SmrgPACKAGE_URL 7132d62a77cSmrgPACKAGE_BUGREPORT 7142d62a77cSmrgPACKAGE_STRING 7152d62a77cSmrgPACKAGE_VERSION 7162d62a77cSmrgPACKAGE_TARNAME 7172d62a77cSmrgPACKAGE_NAME 7182d62a77cSmrgPATH_SEPARATOR 7192d62a77cSmrgSHELL' 720a99f82b8Smrgac_subst_files='' 7212d62a77cSmrgac_user_opts=' 7222d62a77cSmrgenable_option_checking 72318b08247Smrgenable_silent_rules 7242d62a77cSmrgwith_fontrootdir 7252d62a77cSmrgwith_top_fontdir 7262d62a77cSmrg' 7272d62a77cSmrg ac_precious_vars='build_alias 7282d62a77cSmrghost_alias 7292d62a77cSmrgtarget_alias 73018b08247SmrgPKG_CONFIG 73118b08247SmrgPKG_CONFIG_PATH 73218b08247SmrgPKG_CONFIG_LIBDIR' 7332d62a77cSmrg 734a99f82b8Smrg 735a99f82b8Smrg# Initialize some variables set by options. 736a99f82b8Smrgac_init_help= 737a99f82b8Smrgac_init_version=false 7382d62a77cSmrgac_unrecognized_opts= 7392d62a77cSmrgac_unrecognized_sep= 740a99f82b8Smrg# The variables have the same names as the options, with 741a99f82b8Smrg# dashes changed to underlines. 742a99f82b8Smrgcache_file=/dev/null 743a99f82b8Smrgexec_prefix=NONE 744a99f82b8Smrgno_create= 745a99f82b8Smrgno_recursion= 746a99f82b8Smrgprefix=NONE 747a99f82b8Smrgprogram_prefix=NONE 748a99f82b8Smrgprogram_suffix=NONE 749a99f82b8Smrgprogram_transform_name=s,x,x, 750a99f82b8Smrgsilent= 751a99f82b8Smrgsite= 752a99f82b8Smrgsrcdir= 753a99f82b8Smrgverbose= 754a99f82b8Smrgx_includes=NONE 755a99f82b8Smrgx_libraries=NONE 756a99f82b8Smrg 757a99f82b8Smrg# Installation directory options. 758a99f82b8Smrg# These are left unexpanded so users can "make install exec_prefix=/foo" 759a99f82b8Smrg# and all the variables that are supposed to be based on exec_prefix 760a99f82b8Smrg# by default will actually change. 761a99f82b8Smrg# Use braces instead of parens because sh, perl, etc. also accept them. 7622d62a77cSmrg# (The list follows the same order as the GNU Coding Standards.) 763a99f82b8Smrgbindir='${exec_prefix}/bin' 764a99f82b8Smrgsbindir='${exec_prefix}/sbin' 765a99f82b8Smrglibexecdir='${exec_prefix}/libexec' 7662d62a77cSmrgdatarootdir='${prefix}/share' 7672d62a77cSmrgdatadir='${datarootdir}' 768a99f82b8Smrgsysconfdir='${prefix}/etc' 769a99f82b8Smrgsharedstatedir='${prefix}/com' 770a99f82b8Smrglocalstatedir='${prefix}/var' 7710c1e1135Smrgrunstatedir='${localstatedir}/run' 772a99f82b8Smrgincludedir='${prefix}/include' 773a99f82b8Smrgoldincludedir='/usr/include' 7742d62a77cSmrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 7752d62a77cSmrginfodir='${datarootdir}/info' 7762d62a77cSmrghtmldir='${docdir}' 7772d62a77cSmrgdvidir='${docdir}' 7782d62a77cSmrgpdfdir='${docdir}' 7792d62a77cSmrgpsdir='${docdir}' 7802d62a77cSmrglibdir='${exec_prefix}/lib' 7812d62a77cSmrglocaledir='${datarootdir}/locale' 7822d62a77cSmrgmandir='${datarootdir}/man' 783a99f82b8Smrg 784a99f82b8Smrgac_prev= 7852d62a77cSmrgac_dashdash= 786a99f82b8Smrgfor ac_option 787a99f82b8Smrgdo 788a99f82b8Smrg # If the previous option needs an argument, assign it. 789a99f82b8Smrg if test -n "$ac_prev"; then 7902d62a77cSmrg eval $ac_prev=\$ac_option 791a99f82b8Smrg ac_prev= 792a99f82b8Smrg continue 793a99f82b8Smrg fi 794a99f82b8Smrg 7952d62a77cSmrg case $ac_option in 7966d325d25Smrg *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 7976d325d25Smrg *=) ac_optarg= ;; 7986d325d25Smrg *) ac_optarg=yes ;; 7992d62a77cSmrg esac 800a99f82b8Smrg 8012d62a77cSmrg case $ac_dashdash$ac_option in 8022d62a77cSmrg --) 8032d62a77cSmrg ac_dashdash=yes ;; 804a99f82b8Smrg 805a99f82b8Smrg -bindir | --bindir | --bindi | --bind | --bin | --bi) 806a99f82b8Smrg ac_prev=bindir ;; 807a99f82b8Smrg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 808a99f82b8Smrg bindir=$ac_optarg ;; 809a99f82b8Smrg 810a99f82b8Smrg -build | --build | --buil | --bui | --bu) 811a99f82b8Smrg ac_prev=build_alias ;; 812a99f82b8Smrg -build=* | --build=* | --buil=* | --bui=* | --bu=*) 813a99f82b8Smrg build_alias=$ac_optarg ;; 814a99f82b8Smrg 815a99f82b8Smrg -cache-file | --cache-file | --cache-fil | --cache-fi \ 816a99f82b8Smrg | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 817a99f82b8Smrg ac_prev=cache_file ;; 818a99f82b8Smrg -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 819a99f82b8Smrg | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 820a99f82b8Smrg cache_file=$ac_optarg ;; 821a99f82b8Smrg 822a99f82b8Smrg --config-cache | -C) 823a99f82b8Smrg cache_file=config.cache ;; 824a99f82b8Smrg 8252d62a77cSmrg -datadir | --datadir | --datadi | --datad) 826a99f82b8Smrg ac_prev=datadir ;; 8272d62a77cSmrg -datadir=* | --datadir=* | --datadi=* | --datad=*) 828a99f82b8Smrg datadir=$ac_optarg ;; 829a99f82b8Smrg 8302d62a77cSmrg -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 8312d62a77cSmrg | --dataroo | --dataro | --datar) 8322d62a77cSmrg ac_prev=datarootdir ;; 8332d62a77cSmrg -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 8342d62a77cSmrg | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 8352d62a77cSmrg datarootdir=$ac_optarg ;; 8362d62a77cSmrg 837a99f82b8Smrg -disable-* | --disable-*) 8382d62a77cSmrg ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 839a99f82b8Smrg # Reject names that are not valid shell variable names. 8402d62a77cSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 8410c1e1135Smrg as_fn_error $? "invalid feature name: \`$ac_useropt'" 8422d62a77cSmrg ac_useropt_orig=$ac_useropt 8430c1e1135Smrg ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 8442d62a77cSmrg case $ac_user_opts in 8452d62a77cSmrg *" 8462d62a77cSmrg"enable_$ac_useropt" 8472d62a77cSmrg"*) ;; 8482d62a77cSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 8492d62a77cSmrg ac_unrecognized_sep=', ';; 8502d62a77cSmrg esac 8512d62a77cSmrg eval enable_$ac_useropt=no ;; 8522d62a77cSmrg 8532d62a77cSmrg -docdir | --docdir | --docdi | --doc | --do) 8542d62a77cSmrg ac_prev=docdir ;; 8552d62a77cSmrg -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 8562d62a77cSmrg docdir=$ac_optarg ;; 8572d62a77cSmrg 8582d62a77cSmrg -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 8592d62a77cSmrg ac_prev=dvidir ;; 8602d62a77cSmrg -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 8612d62a77cSmrg dvidir=$ac_optarg ;; 862a99f82b8Smrg 863a99f82b8Smrg -enable-* | --enable-*) 8642d62a77cSmrg ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 865a99f82b8Smrg # Reject names that are not valid shell variable names. 8662d62a77cSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 8670c1e1135Smrg as_fn_error $? "invalid feature name: \`$ac_useropt'" 8682d62a77cSmrg ac_useropt_orig=$ac_useropt 8690c1e1135Smrg ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 8702d62a77cSmrg case $ac_user_opts in 8712d62a77cSmrg *" 8722d62a77cSmrg"enable_$ac_useropt" 8732d62a77cSmrg"*) ;; 8742d62a77cSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 8752d62a77cSmrg ac_unrecognized_sep=', ';; 876a99f82b8Smrg esac 8772d62a77cSmrg eval enable_$ac_useropt=\$ac_optarg ;; 878a99f82b8Smrg 879a99f82b8Smrg -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 880a99f82b8Smrg | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 881a99f82b8Smrg | --exec | --exe | --ex) 882a99f82b8Smrg ac_prev=exec_prefix ;; 883a99f82b8Smrg -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 884a99f82b8Smrg | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 885a99f82b8Smrg | --exec=* | --exe=* | --ex=*) 886a99f82b8Smrg exec_prefix=$ac_optarg ;; 887a99f82b8Smrg 888a99f82b8Smrg -gas | --gas | --ga | --g) 889a99f82b8Smrg # Obsolete; use --with-gas. 890a99f82b8Smrg with_gas=yes ;; 891a99f82b8Smrg 892a99f82b8Smrg -help | --help | --hel | --he | -h) 893a99f82b8Smrg ac_init_help=long ;; 894a99f82b8Smrg -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 895a99f82b8Smrg ac_init_help=recursive ;; 896a99f82b8Smrg -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 897a99f82b8Smrg ac_init_help=short ;; 898a99f82b8Smrg 899a99f82b8Smrg -host | --host | --hos | --ho) 900a99f82b8Smrg ac_prev=host_alias ;; 901a99f82b8Smrg -host=* | --host=* | --hos=* | --ho=*) 902a99f82b8Smrg host_alias=$ac_optarg ;; 903a99f82b8Smrg 9042d62a77cSmrg -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 9052d62a77cSmrg ac_prev=htmldir ;; 9062d62a77cSmrg -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 9072d62a77cSmrg | --ht=*) 9082d62a77cSmrg htmldir=$ac_optarg ;; 9092d62a77cSmrg 910a99f82b8Smrg -includedir | --includedir | --includedi | --included | --include \ 911a99f82b8Smrg | --includ | --inclu | --incl | --inc) 912a99f82b8Smrg ac_prev=includedir ;; 913a99f82b8Smrg -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 914a99f82b8Smrg | --includ=* | --inclu=* | --incl=* | --inc=*) 915a99f82b8Smrg includedir=$ac_optarg ;; 916a99f82b8Smrg 917a99f82b8Smrg -infodir | --infodir | --infodi | --infod | --info | --inf) 918a99f82b8Smrg ac_prev=infodir ;; 919a99f82b8Smrg -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 920a99f82b8Smrg infodir=$ac_optarg ;; 921a99f82b8Smrg 922a99f82b8Smrg -libdir | --libdir | --libdi | --libd) 923a99f82b8Smrg ac_prev=libdir ;; 924a99f82b8Smrg -libdir=* | --libdir=* | --libdi=* | --libd=*) 925a99f82b8Smrg libdir=$ac_optarg ;; 926a99f82b8Smrg 927a99f82b8Smrg -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 928a99f82b8Smrg | --libexe | --libex | --libe) 929a99f82b8Smrg ac_prev=libexecdir ;; 930a99f82b8Smrg -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 931a99f82b8Smrg | --libexe=* | --libex=* | --libe=*) 932a99f82b8Smrg libexecdir=$ac_optarg ;; 933a99f82b8Smrg 9342d62a77cSmrg -localedir | --localedir | --localedi | --localed | --locale) 9352d62a77cSmrg ac_prev=localedir ;; 9362d62a77cSmrg -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 9372d62a77cSmrg localedir=$ac_optarg ;; 9382d62a77cSmrg 939a99f82b8Smrg -localstatedir | --localstatedir | --localstatedi | --localstated \ 9402d62a77cSmrg | --localstate | --localstat | --localsta | --localst | --locals) 941a99f82b8Smrg ac_prev=localstatedir ;; 942a99f82b8Smrg -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 9432d62a77cSmrg | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 944a99f82b8Smrg localstatedir=$ac_optarg ;; 945a99f82b8Smrg 946a99f82b8Smrg -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 947a99f82b8Smrg ac_prev=mandir ;; 948a99f82b8Smrg -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 949a99f82b8Smrg mandir=$ac_optarg ;; 950a99f82b8Smrg 951a99f82b8Smrg -nfp | --nfp | --nf) 952a99f82b8Smrg # Obsolete; use --without-fp. 953a99f82b8Smrg with_fp=no ;; 954a99f82b8Smrg 955a99f82b8Smrg -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 956a99f82b8Smrg | --no-cr | --no-c | -n) 957a99f82b8Smrg no_create=yes ;; 958a99f82b8Smrg 959a99f82b8Smrg -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 960a99f82b8Smrg | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 961a99f82b8Smrg no_recursion=yes ;; 962a99f82b8Smrg 963a99f82b8Smrg -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 964a99f82b8Smrg | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 965a99f82b8Smrg | --oldin | --oldi | --old | --ol | --o) 966a99f82b8Smrg ac_prev=oldincludedir ;; 967a99f82b8Smrg -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 968a99f82b8Smrg | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 969a99f82b8Smrg | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 970a99f82b8Smrg oldincludedir=$ac_optarg ;; 971a99f82b8Smrg 972a99f82b8Smrg -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 973a99f82b8Smrg ac_prev=prefix ;; 974a99f82b8Smrg -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 975a99f82b8Smrg prefix=$ac_optarg ;; 976a99f82b8Smrg 977a99f82b8Smrg -program-prefix | --program-prefix | --program-prefi | --program-pref \ 978a99f82b8Smrg | --program-pre | --program-pr | --program-p) 979a99f82b8Smrg ac_prev=program_prefix ;; 980a99f82b8Smrg -program-prefix=* | --program-prefix=* | --program-prefi=* \ 981a99f82b8Smrg | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 982a99f82b8Smrg program_prefix=$ac_optarg ;; 983a99f82b8Smrg 984a99f82b8Smrg -program-suffix | --program-suffix | --program-suffi | --program-suff \ 985a99f82b8Smrg | --program-suf | --program-su | --program-s) 986a99f82b8Smrg ac_prev=program_suffix ;; 987a99f82b8Smrg -program-suffix=* | --program-suffix=* | --program-suffi=* \ 988a99f82b8Smrg | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 989a99f82b8Smrg program_suffix=$ac_optarg ;; 990a99f82b8Smrg 991a99f82b8Smrg -program-transform-name | --program-transform-name \ 992a99f82b8Smrg | --program-transform-nam | --program-transform-na \ 993a99f82b8Smrg | --program-transform-n | --program-transform- \ 994a99f82b8Smrg | --program-transform | --program-transfor \ 995a99f82b8Smrg | --program-transfo | --program-transf \ 996a99f82b8Smrg | --program-trans | --program-tran \ 997a99f82b8Smrg | --progr-tra | --program-tr | --program-t) 998a99f82b8Smrg ac_prev=program_transform_name ;; 999a99f82b8Smrg -program-transform-name=* | --program-transform-name=* \ 1000a99f82b8Smrg | --program-transform-nam=* | --program-transform-na=* \ 1001a99f82b8Smrg | --program-transform-n=* | --program-transform-=* \ 1002a99f82b8Smrg | --program-transform=* | --program-transfor=* \ 1003a99f82b8Smrg | --program-transfo=* | --program-transf=* \ 1004a99f82b8Smrg | --program-trans=* | --program-tran=* \ 1005a99f82b8Smrg | --progr-tra=* | --program-tr=* | --program-t=*) 1006a99f82b8Smrg program_transform_name=$ac_optarg ;; 1007a99f82b8Smrg 10082d62a77cSmrg -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 10092d62a77cSmrg ac_prev=pdfdir ;; 10102d62a77cSmrg -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 10112d62a77cSmrg pdfdir=$ac_optarg ;; 10122d62a77cSmrg 10132d62a77cSmrg -psdir | --psdir | --psdi | --psd | --ps) 10142d62a77cSmrg ac_prev=psdir ;; 10152d62a77cSmrg -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 10162d62a77cSmrg psdir=$ac_optarg ;; 10172d62a77cSmrg 1018a99f82b8Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1019a99f82b8Smrg | -silent | --silent | --silen | --sile | --sil) 1020a99f82b8Smrg silent=yes ;; 1021a99f82b8Smrg 10220c1e1135Smrg -runstatedir | --runstatedir | --runstatedi | --runstated \ 10230c1e1135Smrg | --runstate | --runstat | --runsta | --runst | --runs \ 10240c1e1135Smrg | --run | --ru | --r) 10250c1e1135Smrg ac_prev=runstatedir ;; 10260c1e1135Smrg -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 10270c1e1135Smrg | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 10280c1e1135Smrg | --run=* | --ru=* | --r=*) 10290c1e1135Smrg runstatedir=$ac_optarg ;; 10300c1e1135Smrg 1031a99f82b8Smrg -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1032a99f82b8Smrg ac_prev=sbindir ;; 1033a99f82b8Smrg -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1034a99f82b8Smrg | --sbi=* | --sb=*) 1035a99f82b8Smrg sbindir=$ac_optarg ;; 1036a99f82b8Smrg 1037a99f82b8Smrg -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1038a99f82b8Smrg | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1039a99f82b8Smrg | --sharedst | --shareds | --shared | --share | --shar \ 1040a99f82b8Smrg | --sha | --sh) 1041a99f82b8Smrg ac_prev=sharedstatedir ;; 1042a99f82b8Smrg -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1043a99f82b8Smrg | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1044a99f82b8Smrg | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1045a99f82b8Smrg | --sha=* | --sh=*) 1046a99f82b8Smrg sharedstatedir=$ac_optarg ;; 1047a99f82b8Smrg 1048a99f82b8Smrg -site | --site | --sit) 1049a99f82b8Smrg ac_prev=site ;; 1050a99f82b8Smrg -site=* | --site=* | --sit=*) 1051a99f82b8Smrg site=$ac_optarg ;; 1052a99f82b8Smrg 1053a99f82b8Smrg -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1054a99f82b8Smrg ac_prev=srcdir ;; 1055a99f82b8Smrg -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1056a99f82b8Smrg srcdir=$ac_optarg ;; 1057a99f82b8Smrg 1058a99f82b8Smrg -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1059a99f82b8Smrg | --syscon | --sysco | --sysc | --sys | --sy) 1060a99f82b8Smrg ac_prev=sysconfdir ;; 1061a99f82b8Smrg -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1062a99f82b8Smrg | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1063a99f82b8Smrg sysconfdir=$ac_optarg ;; 1064a99f82b8Smrg 1065a99f82b8Smrg -target | --target | --targe | --targ | --tar | --ta | --t) 1066a99f82b8Smrg ac_prev=target_alias ;; 1067a99f82b8Smrg -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1068a99f82b8Smrg target_alias=$ac_optarg ;; 1069a99f82b8Smrg 1070a99f82b8Smrg -v | -verbose | --verbose | --verbos | --verbo | --verb) 1071a99f82b8Smrg verbose=yes ;; 1072a99f82b8Smrg 1073a99f82b8Smrg -version | --version | --versio | --versi | --vers | -V) 1074a99f82b8Smrg ac_init_version=: ;; 1075a99f82b8Smrg 1076a99f82b8Smrg -with-* | --with-*) 10772d62a77cSmrg ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1078a99f82b8Smrg # Reject names that are not valid shell variable names. 10792d62a77cSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 10800c1e1135Smrg as_fn_error $? "invalid package name: \`$ac_useropt'" 10812d62a77cSmrg ac_useropt_orig=$ac_useropt 10820c1e1135Smrg ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 10832d62a77cSmrg case $ac_user_opts in 10842d62a77cSmrg *" 10852d62a77cSmrg"with_$ac_useropt" 10862d62a77cSmrg"*) ;; 10872d62a77cSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 10882d62a77cSmrg ac_unrecognized_sep=', ';; 1089a99f82b8Smrg esac 10902d62a77cSmrg eval with_$ac_useropt=\$ac_optarg ;; 1091a99f82b8Smrg 1092a99f82b8Smrg -without-* | --without-*) 10932d62a77cSmrg ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1094a99f82b8Smrg # Reject names that are not valid shell variable names. 10952d62a77cSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 10960c1e1135Smrg as_fn_error $? "invalid package name: \`$ac_useropt'" 10972d62a77cSmrg ac_useropt_orig=$ac_useropt 10980c1e1135Smrg ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 10992d62a77cSmrg case $ac_user_opts in 11002d62a77cSmrg *" 11012d62a77cSmrg"with_$ac_useropt" 11022d62a77cSmrg"*) ;; 11032d62a77cSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 11042d62a77cSmrg ac_unrecognized_sep=', ';; 11052d62a77cSmrg esac 11062d62a77cSmrg eval with_$ac_useropt=no ;; 1107a99f82b8Smrg 1108a99f82b8Smrg --x) 1109a99f82b8Smrg # Obsolete; use --with-x. 1110a99f82b8Smrg with_x=yes ;; 1111a99f82b8Smrg 1112a99f82b8Smrg -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1113a99f82b8Smrg | --x-incl | --x-inc | --x-in | --x-i) 1114a99f82b8Smrg ac_prev=x_includes ;; 1115a99f82b8Smrg -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1116a99f82b8Smrg | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1117a99f82b8Smrg x_includes=$ac_optarg ;; 1118a99f82b8Smrg 1119a99f82b8Smrg -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1120a99f82b8Smrg | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1121a99f82b8Smrg ac_prev=x_libraries ;; 1122a99f82b8Smrg -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1123a99f82b8Smrg | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1124a99f82b8Smrg x_libraries=$ac_optarg ;; 1125a99f82b8Smrg 11266d325d25Smrg -*) as_fn_error $? "unrecognized option: \`$ac_option' 11276d325d25SmrgTry \`$0 --help' for more information" 1128a99f82b8Smrg ;; 1129a99f82b8Smrg 1130a99f82b8Smrg *=*) 1131a99f82b8Smrg ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1132a99f82b8Smrg # Reject names that are not valid shell variable names. 11336d325d25Smrg case $ac_envvar in #( 11346d325d25Smrg '' | [0-9]* | *[!_$as_cr_alnum]* ) 11356d325d25Smrg as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 11366d325d25Smrg esac 11372d62a77cSmrg eval $ac_envvar=\$ac_optarg 1138a99f82b8Smrg export $ac_envvar ;; 1139a99f82b8Smrg 1140a99f82b8Smrg *) 1141a99f82b8Smrg # FIXME: should be removed in autoconf 3.0. 11420c1e1135Smrg printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2 1143a99f82b8Smrg expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 11440c1e1135Smrg printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 11456d325d25Smrg : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1146a99f82b8Smrg ;; 1147a99f82b8Smrg 1148a99f82b8Smrg esac 1149a99f82b8Smrgdone 1150a99f82b8Smrg 1151a99f82b8Smrgif test -n "$ac_prev"; then 1152a99f82b8Smrg ac_option=--`echo $ac_prev | sed 's/_/-/g'` 11536d325d25Smrg as_fn_error $? "missing argument to $ac_option" 1154a99f82b8Smrgfi 1155a99f82b8Smrg 11562d62a77cSmrgif test -n "$ac_unrecognized_opts"; then 11572d62a77cSmrg case $enable_option_checking in 11582d62a77cSmrg no) ;; 11596d325d25Smrg fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 11600c1e1135Smrg *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1161a99f82b8Smrg esac 11622d62a77cSmrgfi 1163a99f82b8Smrg 11642d62a77cSmrg# Check all directory arguments for consistency. 11652d62a77cSmrgfor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 11662d62a77cSmrg datadir sysconfdir sharedstatedir localstatedir includedir \ 11672d62a77cSmrg oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 11680c1e1135Smrg libdir localedir mandir runstatedir 1169a99f82b8Smrgdo 11702d62a77cSmrg eval ac_val=\$$ac_var 11712d62a77cSmrg # Remove trailing slashes. 1172a99f82b8Smrg case $ac_val in 11732d62a77cSmrg */ ) 11742d62a77cSmrg ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 11752d62a77cSmrg eval $ac_var=\$ac_val;; 11762d62a77cSmrg esac 11772d62a77cSmrg # Be sure to have absolute directory names. 11782d62a77cSmrg case $ac_val in 11792d62a77cSmrg [\\/$]* | ?:[\\/]* ) continue;; 11802d62a77cSmrg NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1181a99f82b8Smrg esac 11826d325d25Smrg as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1183a99f82b8Smrgdone 1184a99f82b8Smrg 1185a99f82b8Smrg# There might be people who depend on the old broken behavior: `$host' 1186a99f82b8Smrg# used to hold the argument of --host etc. 1187a99f82b8Smrg# FIXME: To remove some day. 1188a99f82b8Smrgbuild=$build_alias 1189a99f82b8Smrghost=$host_alias 1190a99f82b8Smrgtarget=$target_alias 1191a99f82b8Smrg 1192a99f82b8Smrg# FIXME: To remove some day. 1193a99f82b8Smrgif test "x$host_alias" != x; then 1194a99f82b8Smrg if test "x$build_alias" = x; then 1195a99f82b8Smrg cross_compiling=maybe 1196a99f82b8Smrg elif test "x$build_alias" != "x$host_alias"; then 1197a99f82b8Smrg cross_compiling=yes 1198a99f82b8Smrg fi 1199a99f82b8Smrgfi 1200a99f82b8Smrg 1201a99f82b8Smrgac_tool_prefix= 1202a99f82b8Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias- 1203a99f82b8Smrg 1204a99f82b8Smrgtest "$silent" = yes && exec 6>/dev/null 1205a99f82b8Smrg 1206a99f82b8Smrg 12072d62a77cSmrgac_pwd=`pwd` && test -n "$ac_pwd" && 12082d62a77cSmrgac_ls_di=`ls -di .` && 12092d62a77cSmrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 12106d325d25Smrg as_fn_error $? "working directory cannot be determined" 12112d62a77cSmrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" || 12126d325d25Smrg as_fn_error $? "pwd does not report name of working directory" 12132d62a77cSmrg 12142d62a77cSmrg 1215a99f82b8Smrg# Find the source files, if location was not specified. 1216a99f82b8Smrgif test -z "$srcdir"; then 1217a99f82b8Smrg ac_srcdir_defaulted=yes 12182d62a77cSmrg # Try the directory containing this script, then the parent directory. 12192d62a77cSmrg ac_confdir=`$as_dirname -- "$as_myself" || 12202d62a77cSmrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12212d62a77cSmrg X"$as_myself" : 'X\(//\)[^/]' \| \ 12222d62a77cSmrg X"$as_myself" : 'X\(//\)$' \| \ 12232d62a77cSmrg X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 12240c1e1135Smrgprintf "%s\n" X"$as_myself" | 12252d62a77cSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12262d62a77cSmrg s//\1/ 12272d62a77cSmrg q 12282d62a77cSmrg } 12292d62a77cSmrg /^X\(\/\/\)[^/].*/{ 12302d62a77cSmrg s//\1/ 12312d62a77cSmrg q 12322d62a77cSmrg } 12332d62a77cSmrg /^X\(\/\/\)$/{ 12342d62a77cSmrg s//\1/ 12352d62a77cSmrg q 12362d62a77cSmrg } 12372d62a77cSmrg /^X\(\/\).*/{ 12382d62a77cSmrg s//\1/ 12392d62a77cSmrg q 12402d62a77cSmrg } 12412d62a77cSmrg s/.*/./; q'` 1242a99f82b8Smrg srcdir=$ac_confdir 12432d62a77cSmrg if test ! -r "$srcdir/$ac_unique_file"; then 1244a99f82b8Smrg srcdir=.. 1245a99f82b8Smrg fi 1246a99f82b8Smrgelse 1247a99f82b8Smrg ac_srcdir_defaulted=no 1248a99f82b8Smrgfi 12492d62a77cSmrgif test ! -r "$srcdir/$ac_unique_file"; then 12502d62a77cSmrg test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 12516d325d25Smrg as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1252a99f82b8Smrgfi 12532d62a77cSmrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 12542d62a77cSmrgac_abs_confdir=`( 12556d325d25Smrg cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 12562d62a77cSmrg pwd)` 12572d62a77cSmrg# When building in place, set srcdir=. 12582d62a77cSmrgif test "$ac_abs_confdir" = "$ac_pwd"; then 12592d62a77cSmrg srcdir=. 12602d62a77cSmrgfi 12612d62a77cSmrg# Remove unnecessary trailing slashes from srcdir. 12622d62a77cSmrg# Double slashes in file names in object file debugging info 12632d62a77cSmrg# mess up M-x gdb in Emacs. 12642d62a77cSmrgcase $srcdir in 12652d62a77cSmrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 12662d62a77cSmrgesac 12672d62a77cSmrgfor ac_var in $ac_precious_vars; do 12682d62a77cSmrg eval ac_env_${ac_var}_set=\${${ac_var}+set} 12692d62a77cSmrg eval ac_env_${ac_var}_value=\$${ac_var} 12702d62a77cSmrg eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 12712d62a77cSmrg eval ac_cv_env_${ac_var}_value=\$${ac_var} 12722d62a77cSmrgdone 1273a99f82b8Smrg 1274a99f82b8Smrg# 1275a99f82b8Smrg# Report the --help message. 1276a99f82b8Smrg# 1277a99f82b8Smrgif test "$ac_init_help" = "long"; then 1278a99f82b8Smrg # Omit some internal or obsolete options to make the list less imposing. 1279a99f82b8Smrg # This message is too long to be a string in the A/UX 3.1 sh. 1280a99f82b8Smrg cat <<_ACEOF 12810c1e1135Smrg\`configure' configures font-alias 1.0.5 to adapt to many kinds of systems. 1282a99f82b8Smrg 1283a99f82b8SmrgUsage: $0 [OPTION]... [VAR=VALUE]... 1284a99f82b8Smrg 1285a99f82b8SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as 1286a99f82b8SmrgVAR=VALUE. See below for descriptions of some of the useful variables. 1287a99f82b8Smrg 1288a99f82b8SmrgDefaults for the options are specified in brackets. 1289a99f82b8Smrg 1290a99f82b8SmrgConfiguration: 1291a99f82b8Smrg -h, --help display this help and exit 1292a99f82b8Smrg --help=short display options specific to this package 1293a99f82b8Smrg --help=recursive display the short help of all the included packages 1294a99f82b8Smrg -V, --version display version information and exit 12956d325d25Smrg -q, --quiet, --silent do not print \`checking ...' messages 1296a99f82b8Smrg --cache-file=FILE cache test results in FILE [disabled] 1297a99f82b8Smrg -C, --config-cache alias for \`--cache-file=config.cache' 1298a99f82b8Smrg -n, --no-create do not create output files 1299a99f82b8Smrg --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1300a99f82b8Smrg 1301a99f82b8SmrgInstallation directories: 1302a99f82b8Smrg --prefix=PREFIX install architecture-independent files in PREFIX 13032d62a77cSmrg [$ac_default_prefix] 1304a99f82b8Smrg --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 13052d62a77cSmrg [PREFIX] 1306a99f82b8Smrg 1307a99f82b8SmrgBy default, \`make install' will install all the files in 1308a99f82b8Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1309a99f82b8Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix', 1310a99f82b8Smrgfor instance \`--prefix=\$HOME'. 1311a99f82b8Smrg 1312a99f82b8SmrgFor better control, use the options below. 1313a99f82b8Smrg 1314a99f82b8SmrgFine tuning of the installation directories: 13152d62a77cSmrg --bindir=DIR user executables [EPREFIX/bin] 13162d62a77cSmrg --sbindir=DIR system admin executables [EPREFIX/sbin] 13172d62a77cSmrg --libexecdir=DIR program executables [EPREFIX/libexec] 13182d62a77cSmrg --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 13192d62a77cSmrg --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 13202d62a77cSmrg --localstatedir=DIR modifiable single-machine data [PREFIX/var] 13210c1e1135Smrg --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 13222d62a77cSmrg --libdir=DIR object code libraries [EPREFIX/lib] 13232d62a77cSmrg --includedir=DIR C header files [PREFIX/include] 13242d62a77cSmrg --oldincludedir=DIR C header files for non-gcc [/usr/include] 13252d62a77cSmrg --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 13262d62a77cSmrg --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 13272d62a77cSmrg --infodir=DIR info documentation [DATAROOTDIR/info] 13282d62a77cSmrg --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 13292d62a77cSmrg --mandir=DIR man documentation [DATAROOTDIR/man] 13302d62a77cSmrg --docdir=DIR documentation root [DATAROOTDIR/doc/font-alias] 13312d62a77cSmrg --htmldir=DIR html documentation [DOCDIR] 13322d62a77cSmrg --dvidir=DIR dvi documentation [DOCDIR] 13332d62a77cSmrg --pdfdir=DIR pdf documentation [DOCDIR] 13342d62a77cSmrg --psdir=DIR ps documentation [DOCDIR] 1335a99f82b8Smrg_ACEOF 1336a99f82b8Smrg 1337a99f82b8Smrg cat <<\_ACEOF 1338a99f82b8Smrg 1339a99f82b8SmrgProgram names: 1340a99f82b8Smrg --program-prefix=PREFIX prepend PREFIX to installed program names 1341a99f82b8Smrg --program-suffix=SUFFIX append SUFFIX to installed program names 1342a99f82b8Smrg --program-transform-name=PROGRAM run sed PROGRAM on installed program names 13432d62a77cSmrg 13442d62a77cSmrgSystem types: 13452d62a77cSmrg --build=BUILD configure for building on BUILD [guessed] 13462d62a77cSmrg --host=HOST cross-compile to build programs to run on HOST [BUILD] 1347a99f82b8Smrg_ACEOF 1348a99f82b8Smrgfi 1349a99f82b8Smrg 1350a99f82b8Smrgif test -n "$ac_init_help"; then 1351a99f82b8Smrg case $ac_init_help in 13520c1e1135Smrg short | recursive ) echo "Configuration of font-alias 1.0.5:";; 1353a99f82b8Smrg esac 1354a99f82b8Smrg cat <<\_ACEOF 1355a99f82b8Smrg 1356a99f82b8SmrgOptional Features: 13572d62a77cSmrg --disable-option-checking ignore unrecognized --enable/--with options 1358a99f82b8Smrg --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1359a99f82b8Smrg --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 136018b08247Smrg --enable-silent-rules less verbose build output (undo: "make V=1") 136118b08247Smrg --disable-silent-rules verbose build output (undo: "make V=0") 1362a99f82b8Smrg 1363a99f82b8SmrgOptional Packages: 1364a99f82b8Smrg --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1365a99f82b8Smrg --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 13662d62a77cSmrg --with-fontrootdir=DIR Path to root directory for font files 13672d62a77cSmrg --with-top-fontdir=<pathname> 13682d62a77cSmrg Obsolete: use --with-fontrootdir instead 13692d62a77cSmrg 13702d62a77cSmrgSome influential environment variables: 13712d62a77cSmrg PKG_CONFIG path to pkg-config utility 137218b08247Smrg PKG_CONFIG_PATH 137318b08247Smrg directories to add to pkg-config's search path 137418b08247Smrg PKG_CONFIG_LIBDIR 137518b08247Smrg path overriding pkg-config's built-in search path 13762d62a77cSmrg 13772d62a77cSmrgUse these variables to override the choices made by `configure' or to help 13782d62a77cSmrgit to find libraries and programs with nonstandard names/locations. 1379a99f82b8Smrg 13800c1e1135SmrgReport bugs to <https://gitlab.freedesktop.org/xorg/font/alias/-/issues>. 1381a99f82b8Smrg_ACEOF 13822d62a77cSmrgac_status=$? 1383a99f82b8Smrgfi 1384a99f82b8Smrg 1385a99f82b8Smrgif test "$ac_init_help" = "recursive"; then 1386a99f82b8Smrg # If there are subdirs, report their specific --help. 1387a99f82b8Smrg for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 13882d62a77cSmrg test -d "$ac_dir" || 13892d62a77cSmrg { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 13902d62a77cSmrg continue 1391a99f82b8Smrg ac_builddir=. 1392a99f82b8Smrg 13932d62a77cSmrgcase "$ac_dir" in 13942d62a77cSmrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 13952d62a77cSmrg*) 13960c1e1135Smrg ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 13972d62a77cSmrg # A ".." for each directory in $ac_dir_suffix. 13980c1e1135Smrg ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 13992d62a77cSmrg case $ac_top_builddir_sub in 14002d62a77cSmrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 14012d62a77cSmrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 14022d62a77cSmrg esac ;; 14032d62a77cSmrgesac 14042d62a77cSmrgac_abs_top_builddir=$ac_pwd 14052d62a77cSmrgac_abs_builddir=$ac_pwd$ac_dir_suffix 14062d62a77cSmrg# for backward compatibility: 14072d62a77cSmrgac_top_builddir=$ac_top_build_prefix 1408a99f82b8Smrg 1409a99f82b8Smrgcase $srcdir in 14102d62a77cSmrg .) # We are building in place. 1411a99f82b8Smrg ac_srcdir=. 14122d62a77cSmrg ac_top_srcdir=$ac_top_builddir_sub 14132d62a77cSmrg ac_abs_top_srcdir=$ac_pwd ;; 14142d62a77cSmrg [\\/]* | ?:[\\/]* ) # Absolute name. 1415a99f82b8Smrg ac_srcdir=$srcdir$ac_dir_suffix; 14162d62a77cSmrg ac_top_srcdir=$srcdir 14172d62a77cSmrg ac_abs_top_srcdir=$srcdir ;; 14182d62a77cSmrg *) # Relative name. 14192d62a77cSmrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 14202d62a77cSmrg ac_top_srcdir=$ac_top_build_prefix$srcdir 14212d62a77cSmrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1422a99f82b8Smrgesac 14232d62a77cSmrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 14242d62a77cSmrg 14252d62a77cSmrg cd "$ac_dir" || { ac_status=$?; continue; } 14260c1e1135Smrg # Check for configure.gnu first; this name is used for a wrapper for 14270c1e1135Smrg # Metaconfig's "Configure" on case-insensitive file systems. 14282d62a77cSmrg if test -f "$ac_srcdir/configure.gnu"; then 14292d62a77cSmrg echo && 14302d62a77cSmrg $SHELL "$ac_srcdir/configure.gnu" --help=recursive 14312d62a77cSmrg elif test -f "$ac_srcdir/configure"; then 14322d62a77cSmrg echo && 14332d62a77cSmrg $SHELL "$ac_srcdir/configure" --help=recursive 1434a99f82b8Smrg else 14350c1e1135Smrg printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2 14362d62a77cSmrg fi || ac_status=$? 14372d62a77cSmrg cd "$ac_pwd" || { ac_status=$?; break; } 1438a99f82b8Smrg done 1439a99f82b8Smrgfi 1440a99f82b8Smrg 14412d62a77cSmrgtest -n "$ac_init_help" && exit $ac_status 1442a99f82b8Smrgif $ac_init_version; then 1443a99f82b8Smrg cat <<\_ACEOF 14440c1e1135Smrgfont-alias configure 1.0.5 14450c1e1135Smrggenerated by GNU Autoconf 2.71 1446a99f82b8Smrg 14470c1e1135SmrgCopyright (C) 2021 Free Software Foundation, Inc. 1448a99f82b8SmrgThis configure script is free software; the Free Software Foundation 1449a99f82b8Smrggives unlimited permission to copy, distribute and modify it. 1450a99f82b8Smrg_ACEOF 14512d62a77cSmrg exit 1452a99f82b8Smrgfi 1453a99f82b8Smrg 14546d325d25Smrg## ------------------------ ## 14556d325d25Smrg## Autoconf initialization. ## 14566d325d25Smrg## ------------------------ ## 14570c1e1135Smrgac_configure_args_raw= 14580c1e1135Smrgfor ac_arg 14590c1e1135Smrgdo 14600c1e1135Smrg case $ac_arg in 14610c1e1135Smrg *\'*) 14620c1e1135Smrg ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 14630c1e1135Smrg esac 14640c1e1135Smrg as_fn_append ac_configure_args_raw " '$ac_arg'" 14650c1e1135Smrgdone 1466a99f82b8Smrg 14670c1e1135Smrgcase $ac_configure_args_raw in 14680c1e1135Smrg *$as_nl*) 14690c1e1135Smrg ac_safe_unquote= ;; 14700c1e1135Smrg *) 14710c1e1135Smrg ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. 14720c1e1135Smrg ac_unsafe_a="$ac_unsafe_z#~" 14730c1e1135Smrg ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" 14740c1e1135Smrg ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;; 147518b08247Smrgesac 147618b08247Smrg 14776d325d25Smrgcat >config.log <<_ACEOF 14786d325d25SmrgThis file contains any messages produced by compilers while 14796d325d25Smrgrunning configure, to aid debugging if configure makes a mistake. 14806d325d25Smrg 14810c1e1135SmrgIt was created by font-alias $as_me 1.0.5, which was 14820c1e1135Smrggenerated by GNU Autoconf 2.71. Invocation command line was 14836d325d25Smrg 14840c1e1135Smrg $ $0$ac_configure_args_raw 14856d325d25Smrg 14866d325d25Smrg_ACEOF 14876d325d25Smrgexec 5>>config.log 14886d325d25Smrg{ 14896d325d25Smrgcat <<_ASUNAME 14906d325d25Smrg## --------- ## 14916d325d25Smrg## Platform. ## 14926d325d25Smrg## --------- ## 14936d325d25Smrg 14946d325d25Smrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 14956d325d25Smrguname -m = `(uname -m) 2>/dev/null || echo unknown` 14966d325d25Smrguname -r = `(uname -r) 2>/dev/null || echo unknown` 14976d325d25Smrguname -s = `(uname -s) 2>/dev/null || echo unknown` 14986d325d25Smrguname -v = `(uname -v) 2>/dev/null || echo unknown` 14996d325d25Smrg 15006d325d25Smrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 15016d325d25Smrg/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 15026d325d25Smrg 15036d325d25Smrg/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 15046d325d25Smrg/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 15056d325d25Smrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 15066d325d25Smrg/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 15076d325d25Smrg/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 15086d325d25Smrg/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 15096d325d25Smrg/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 15106d325d25Smrg 15116d325d25Smrg_ASUNAME 15126d325d25Smrg 15136d325d25Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15146d325d25Smrgfor as_dir in $PATH 1515a99f82b8Smrgdo 1516a99f82b8Smrg IFS=$as_save_IFS 15170c1e1135Smrg case $as_dir in #((( 15180c1e1135Smrg '') as_dir=./ ;; 15190c1e1135Smrg */) ;; 15200c1e1135Smrg *) as_dir=$as_dir/ ;; 15210c1e1135Smrg esac 15220c1e1135Smrg printf "%s\n" "PATH: $as_dir" 15236d325d25Smrg done 15242d62a77cSmrgIFS=$as_save_IFS 1525a99f82b8Smrg 1526a99f82b8Smrg} >&5 1527a99f82b8Smrg 1528a99f82b8Smrgcat >&5 <<_ACEOF 1529a99f82b8Smrg 1530a99f82b8Smrg 1531a99f82b8Smrg## ----------- ## 1532a99f82b8Smrg## Core tests. ## 1533a99f82b8Smrg## ----------- ## 1534a99f82b8Smrg 1535a99f82b8Smrg_ACEOF 1536a99f82b8Smrg 1537a99f82b8Smrg 1538a99f82b8Smrg# Keep a trace of the command line. 1539a99f82b8Smrg# Strip out --no-create and --no-recursion so they do not pile up. 1540a99f82b8Smrg# Strip out --silent because we don't want to record it for future runs. 1541a99f82b8Smrg# Also quote any args containing shell meta-characters. 1542a99f82b8Smrg# Make two passes to allow for proper duplicate-argument suppression. 1543a99f82b8Smrgac_configure_args= 1544a99f82b8Smrgac_configure_args0= 1545a99f82b8Smrgac_configure_args1= 1546a99f82b8Smrgac_must_keep_next=false 1547a99f82b8Smrgfor ac_pass in 1 2 1548a99f82b8Smrgdo 1549a99f82b8Smrg for ac_arg 1550a99f82b8Smrg do 1551a99f82b8Smrg case $ac_arg in 1552a99f82b8Smrg -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1553a99f82b8Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1554a99f82b8Smrg | -silent | --silent | --silen | --sile | --sil) 1555a99f82b8Smrg continue ;; 15562d62a77cSmrg *\'*) 15570c1e1135Smrg ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1558a99f82b8Smrg esac 1559a99f82b8Smrg case $ac_pass in 15606d325d25Smrg 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1561a99f82b8Smrg 2) 15626d325d25Smrg as_fn_append ac_configure_args1 " '$ac_arg'" 1563a99f82b8Smrg if test $ac_must_keep_next = true; then 1564a99f82b8Smrg ac_must_keep_next=false # Got value, back to normal. 1565a99f82b8Smrg else 1566a99f82b8Smrg case $ac_arg in 1567a99f82b8Smrg *=* | --config-cache | -C | -disable-* | --disable-* \ 1568a99f82b8Smrg | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1569a99f82b8Smrg | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1570a99f82b8Smrg | -with-* | --with-* | -without-* | --without-* | --x) 1571a99f82b8Smrg case "$ac_configure_args0 " in 1572a99f82b8Smrg "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1573a99f82b8Smrg esac 1574a99f82b8Smrg ;; 1575a99f82b8Smrg -* ) ac_must_keep_next=true ;; 1576a99f82b8Smrg esac 1577a99f82b8Smrg fi 15786d325d25Smrg as_fn_append ac_configure_args " '$ac_arg'" 1579a99f82b8Smrg ;; 1580a99f82b8Smrg esac 1581a99f82b8Smrg done 1582a99f82b8Smrgdone 15836d325d25Smrg{ ac_configure_args0=; unset ac_configure_args0;} 15846d325d25Smrg{ ac_configure_args1=; unset ac_configure_args1;} 1585a99f82b8Smrg 1586a99f82b8Smrg# When interrupted or exit'd, cleanup temporary files, and complete 1587a99f82b8Smrg# config.log. We remove comments because anyway the quotes in there 1588a99f82b8Smrg# would cause problems or look ugly. 15892d62a77cSmrg# WARNING: Use '\'' to represent an apostrophe within the trap. 15902d62a77cSmrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1591a99f82b8Smrgtrap 'exit_status=$? 15920c1e1135Smrg # Sanitize IFS. 15930c1e1135Smrg IFS=" "" $as_nl" 1594a99f82b8Smrg # Save into config.log some information that might help in debugging. 1595a99f82b8Smrg { 1596a99f82b8Smrg echo 1597a99f82b8Smrg 15980c1e1135Smrg printf "%s\n" "## ---------------- ## 1599a99f82b8Smrg## Cache variables. ## 16006d325d25Smrg## ---------------- ##" 1601a99f82b8Smrg echo 1602a99f82b8Smrg # The following way of writing the cache mishandles newlines in values, 16032d62a77cSmrg( 16042d62a77cSmrg for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 16052d62a77cSmrg eval ac_val=\$$ac_var 16062d62a77cSmrg case $ac_val in #( 16072d62a77cSmrg *${as_nl}*) 16082d62a77cSmrg case $ac_var in #( 16090c1e1135Smrg *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 16100c1e1135Smrgprintf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 16112d62a77cSmrg esac 16122d62a77cSmrg case $ac_var in #( 16132d62a77cSmrg _ | IFS | as_nl) ;; #( 16142d62a77cSmrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 16156d325d25Smrg *) { eval $ac_var=; unset $ac_var;} ;; 16162d62a77cSmrg esac ;; 16172d62a77cSmrg esac 16182d62a77cSmrg done 1619a99f82b8Smrg (set) 2>&1 | 16202d62a77cSmrg case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 16212d62a77cSmrg *${as_nl}ac_space=\ *) 1622a99f82b8Smrg sed -n \ 16232d62a77cSmrg "s/'\''/'\''\\\\'\'''\''/g; 16242d62a77cSmrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 16252d62a77cSmrg ;; #( 1626a99f82b8Smrg *) 16272d62a77cSmrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1628a99f82b8Smrg ;; 16292d62a77cSmrg esac | 16302d62a77cSmrg sort 16312d62a77cSmrg) 1632a99f82b8Smrg echo 1633a99f82b8Smrg 16340c1e1135Smrg printf "%s\n" "## ----------------- ## 1635a99f82b8Smrg## Output variables. ## 16366d325d25Smrg## ----------------- ##" 1637a99f82b8Smrg echo 1638a99f82b8Smrg for ac_var in $ac_subst_vars 1639a99f82b8Smrg do 16402d62a77cSmrg eval ac_val=\$$ac_var 16412d62a77cSmrg case $ac_val in 16420c1e1135Smrg *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 16432d62a77cSmrg esac 16440c1e1135Smrg printf "%s\n" "$ac_var='\''$ac_val'\''" 1645a99f82b8Smrg done | sort 1646a99f82b8Smrg echo 1647a99f82b8Smrg 1648a99f82b8Smrg if test -n "$ac_subst_files"; then 16490c1e1135Smrg printf "%s\n" "## ------------------- ## 16502d62a77cSmrg## File substitutions. ## 16516d325d25Smrg## ------------------- ##" 1652a99f82b8Smrg echo 1653a99f82b8Smrg for ac_var in $ac_subst_files 1654a99f82b8Smrg do 16552d62a77cSmrg eval ac_val=\$$ac_var 16562d62a77cSmrg case $ac_val in 16570c1e1135Smrg *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 16582d62a77cSmrg esac 16590c1e1135Smrg printf "%s\n" "$ac_var='\''$ac_val'\''" 1660a99f82b8Smrg done | sort 1661a99f82b8Smrg echo 1662a99f82b8Smrg fi 1663a99f82b8Smrg 1664a99f82b8Smrg if test -s confdefs.h; then 16650c1e1135Smrg printf "%s\n" "## ----------- ## 1666a99f82b8Smrg## confdefs.h. ## 16676d325d25Smrg## ----------- ##" 1668a99f82b8Smrg echo 16692d62a77cSmrg cat confdefs.h 1670a99f82b8Smrg echo 1671a99f82b8Smrg fi 1672a99f82b8Smrg test "$ac_signal" != 0 && 16730c1e1135Smrg printf "%s\n" "$as_me: caught signal $ac_signal" 16740c1e1135Smrg printf "%s\n" "$as_me: exit $exit_status" 1675a99f82b8Smrg } >&5 16762d62a77cSmrg rm -f core *.core core.conftest.* && 16772d62a77cSmrg rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1678a99f82b8Smrg exit $exit_status 16792d62a77cSmrg' 0 1680a99f82b8Smrgfor ac_signal in 1 2 13 15; do 16816d325d25Smrg trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1682a99f82b8Smrgdone 1683a99f82b8Smrgac_signal=0 1684a99f82b8Smrg 1685a99f82b8Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed. 16862d62a77cSmrgrm -f -r conftest* confdefs.h 1687a99f82b8Smrg 16880c1e1135Smrgprintf "%s\n" "/* confdefs.h */" > confdefs.h 16896d325d25Smrg 1690a99f82b8Smrg# Predefined preprocessor variables. 1691a99f82b8Smrg 16920c1e1135Smrgprintf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h 1693a99f82b8Smrg 16940c1e1135Smrgprintf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h 1695a99f82b8Smrg 16960c1e1135Smrgprintf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h 1697a99f82b8Smrg 16980c1e1135Smrgprintf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h 1699a99f82b8Smrg 17000c1e1135Smrgprintf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h 1701a99f82b8Smrg 17020c1e1135Smrgprintf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h 17036d325d25Smrg 1704a99f82b8Smrg 1705a99f82b8Smrg# Let the site file select an alternate cache file if it wants to. 17062d62a77cSmrg# Prefer an explicitly selected file to automatically selected ones. 17072d62a77cSmrgif test -n "$CONFIG_SITE"; then 17080c1e1135Smrg ac_site_files="$CONFIG_SITE" 17092d62a77cSmrgelif test "x$prefix" != xNONE; then 17100c1e1135Smrg ac_site_files="$prefix/share/config.site $prefix/etc/config.site" 17112d62a77cSmrgelse 17120c1e1135Smrg ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1713a99f82b8Smrgfi 17140c1e1135Smrg 17150c1e1135Smrgfor ac_site_file in $ac_site_files 17162d62a77cSmrgdo 17170c1e1135Smrg case $ac_site_file in #( 17180c1e1135Smrg */*) : 17190c1e1135Smrg ;; #( 17200c1e1135Smrg *) : 17210c1e1135Smrg ac_site_file=./$ac_site_file ;; 17220c1e1135Smrgesac 17230c1e1135Smrg if test -f "$ac_site_file" && test -r "$ac_site_file"; then 17240c1e1135Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 17250c1e1135Smrgprintf "%s\n" "$as_me: loading site script $ac_site_file" >&6;} 1726a99f82b8Smrg sed 's/^/| /' "$ac_site_file" >&5 17276d325d25Smrg . "$ac_site_file" \ 17280c1e1135Smrg || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17290c1e1135Smrgprintf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 17306d325d25Smrgas_fn_error $? "failed to load site script $ac_site_file 17316d325d25SmrgSee \`config.log' for more details" "$LINENO" 5; } 1732a99f82b8Smrg fi 1733a99f82b8Smrgdone 1734a99f82b8Smrg 1735a99f82b8Smrgif test -r "$cache_file"; then 17366d325d25Smrg # Some versions of bash will fail to source /dev/null (special files 17376d325d25Smrg # actually), so we avoid doing that. DJGPP emulates it as a regular file. 17386d325d25Smrg if test /dev/null != "$cache_file" && test -f "$cache_file"; then 17390c1e1135Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 17400c1e1135Smrgprintf "%s\n" "$as_me: loading cache $cache_file" >&6;} 1741a99f82b8Smrg case $cache_file in 17422d62a77cSmrg [\\/]* | ?:[\\/]* ) . "$cache_file";; 17432d62a77cSmrg *) . "./$cache_file";; 1744a99f82b8Smrg esac 1745a99f82b8Smrg fi 1746a99f82b8Smrgelse 17470c1e1135Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 17480c1e1135Smrgprintf "%s\n" "$as_me: creating cache $cache_file" >&6;} 1749a99f82b8Smrg >$cache_file 1750a99f82b8Smrgfi 1751a99f82b8Smrg 17520c1e1135Smrg 17530c1e1135Smrg# Auxiliary files required by this configure script. 17540c1e1135Smrgac_aux_files="config.guess config.sub missing install-sh" 17550c1e1135Smrg 17560c1e1135Smrg# Locations in which to look for auxiliary files. 17570c1e1135Smrgac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.." 17580c1e1135Smrg 17590c1e1135Smrg# Search for a directory containing all of the required auxiliary files, 17600c1e1135Smrg# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. 17610c1e1135Smrg# If we don't find one directory that contains all the files we need, 17620c1e1135Smrg# we report the set of missing files from the *first* directory in 17630c1e1135Smrg# $ac_aux_dir_candidates and give up. 17640c1e1135Smrgac_missing_aux_files="" 17650c1e1135Smrgac_first_candidate=: 17660c1e1135Smrgprintf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5 17670c1e1135Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17680c1e1135Smrgas_found=false 17690c1e1135Smrgfor as_dir in $ac_aux_dir_candidates 17700c1e1135Smrgdo 17710c1e1135Smrg IFS=$as_save_IFS 17720c1e1135Smrg case $as_dir in #((( 17730c1e1135Smrg '') as_dir=./ ;; 17740c1e1135Smrg */) ;; 17750c1e1135Smrg *) as_dir=$as_dir/ ;; 17760c1e1135Smrg esac 17770c1e1135Smrg as_found=: 17780c1e1135Smrg 17790c1e1135Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 17800c1e1135Smrg ac_aux_dir_found=yes 17810c1e1135Smrg ac_install_sh= 17820c1e1135Smrg for ac_aux in $ac_aux_files 17830c1e1135Smrg do 17840c1e1135Smrg # As a special case, if "install-sh" is required, that requirement 17850c1e1135Smrg # can be satisfied by any of "install-sh", "install.sh", or "shtool", 17860c1e1135Smrg # and $ac_install_sh is set appropriately for whichever one is found. 17870c1e1135Smrg if test x"$ac_aux" = x"install-sh" 17880c1e1135Smrg then 17890c1e1135Smrg if test -f "${as_dir}install-sh"; then 17900c1e1135Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5 17910c1e1135Smrg ac_install_sh="${as_dir}install-sh -c" 17920c1e1135Smrg elif test -f "${as_dir}install.sh"; then 17930c1e1135Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5 17940c1e1135Smrg ac_install_sh="${as_dir}install.sh -c" 17950c1e1135Smrg elif test -f "${as_dir}shtool"; then 17960c1e1135Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5 17970c1e1135Smrg ac_install_sh="${as_dir}shtool install -c" 17980c1e1135Smrg else 17990c1e1135Smrg ac_aux_dir_found=no 18000c1e1135Smrg if $ac_first_candidate; then 18010c1e1135Smrg ac_missing_aux_files="${ac_missing_aux_files} install-sh" 18020c1e1135Smrg else 18030c1e1135Smrg break 18040c1e1135Smrg fi 18050c1e1135Smrg fi 18060c1e1135Smrg else 18070c1e1135Smrg if test -f "${as_dir}${ac_aux}"; then 18080c1e1135Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5 18090c1e1135Smrg else 18100c1e1135Smrg ac_aux_dir_found=no 18110c1e1135Smrg if $ac_first_candidate; then 18120c1e1135Smrg ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}" 18130c1e1135Smrg else 18140c1e1135Smrg break 18150c1e1135Smrg fi 18160c1e1135Smrg fi 18170c1e1135Smrg fi 18180c1e1135Smrg done 18190c1e1135Smrg if test "$ac_aux_dir_found" = yes; then 18200c1e1135Smrg ac_aux_dir="$as_dir" 18210c1e1135Smrg break 18220c1e1135Smrg fi 18230c1e1135Smrg ac_first_candidate=false 18240c1e1135Smrg 18250c1e1135Smrg as_found=false 18260c1e1135Smrgdone 18270c1e1135SmrgIFS=$as_save_IFS 18280c1e1135Smrgif $as_found 18290c1e1135Smrgthen : 18300c1e1135Smrg 18310c1e1135Smrgelse $as_nop 18320c1e1135Smrg as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 18330c1e1135Smrgfi 18340c1e1135Smrg 18350c1e1135Smrg 18360c1e1135Smrg# These three variables are undocumented and unsupported, 18370c1e1135Smrg# and are intended to be withdrawn in a future Autoconf release. 18380c1e1135Smrg# They can cause serious problems if a builder's source tree is in a directory 18390c1e1135Smrg# whose full name contains unusual characters. 18400c1e1135Smrgif test -f "${ac_aux_dir}config.guess"; then 18410c1e1135Smrg ac_config_guess="$SHELL ${ac_aux_dir}config.guess" 18420c1e1135Smrgfi 18430c1e1135Smrgif test -f "${ac_aux_dir}config.sub"; then 18440c1e1135Smrg ac_config_sub="$SHELL ${ac_aux_dir}config.sub" 18450c1e1135Smrgfi 18460c1e1135Smrgif test -f "$ac_aux_dir/configure"; then 18470c1e1135Smrg ac_configure="$SHELL ${ac_aux_dir}configure" 18480c1e1135Smrgfi 18490c1e1135Smrg 1850a99f82b8Smrg# Check that the precious variables saved in the cache have kept the same 1851a99f82b8Smrg# value. 1852a99f82b8Smrgac_cache_corrupted=false 18532d62a77cSmrgfor ac_var in $ac_precious_vars; do 1854a99f82b8Smrg eval ac_old_set=\$ac_cv_env_${ac_var}_set 1855a99f82b8Smrg eval ac_new_set=\$ac_env_${ac_var}_set 18562d62a77cSmrg eval ac_old_val=\$ac_cv_env_${ac_var}_value 18572d62a77cSmrg eval ac_new_val=\$ac_env_${ac_var}_value 1858a99f82b8Smrg case $ac_old_set,$ac_new_set in 1859a99f82b8Smrg set,) 18600c1e1135Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 18610c1e1135Smrgprintf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1862a99f82b8Smrg ac_cache_corrupted=: ;; 1863a99f82b8Smrg ,set) 18640c1e1135Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 18650c1e1135Smrgprintf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1866a99f82b8Smrg ac_cache_corrupted=: ;; 1867a99f82b8Smrg ,);; 1868a99f82b8Smrg *) 1869a99f82b8Smrg if test "x$ac_old_val" != "x$ac_new_val"; then 18702d62a77cSmrg # differences in whitespace do not lead to failure. 18712d62a77cSmrg ac_old_val_w=`echo x $ac_old_val` 18722d62a77cSmrg ac_new_val_w=`echo x $ac_new_val` 18732d62a77cSmrg if test "$ac_old_val_w" != "$ac_new_val_w"; then 18740c1e1135Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 18750c1e1135Smrgprintf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 18762d62a77cSmrg ac_cache_corrupted=: 18772d62a77cSmrg else 18780c1e1135Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 18790c1e1135Smrgprintf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 18802d62a77cSmrg eval $ac_var=\$ac_old_val 18812d62a77cSmrg fi 18820c1e1135Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 18830c1e1135Smrgprintf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;} 18840c1e1135Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 18850c1e1135Smrgprintf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;} 1886a99f82b8Smrg fi;; 1887a99f82b8Smrg esac 1888a99f82b8Smrg # Pass precious variables to config.status. 1889a99f82b8Smrg if test "$ac_new_set" = set; then 1890a99f82b8Smrg case $ac_new_val in 18910c1e1135Smrg *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1892a99f82b8Smrg *) ac_arg=$ac_var=$ac_new_val ;; 1893a99f82b8Smrg esac 1894a99f82b8Smrg case " $ac_configure_args " in 1895a99f82b8Smrg *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 18966d325d25Smrg *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1897a99f82b8Smrg esac 1898a99f82b8Smrg fi 1899a99f82b8Smrgdone 1900a99f82b8Smrgif $ac_cache_corrupted; then 19010c1e1135Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19020c1e1135Smrgprintf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 19030c1e1135Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 19040c1e1135Smrgprintf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;} 19050c1e1135Smrg as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file' 19060c1e1135Smrg and start over" "$LINENO" 5 1907a99f82b8Smrgfi 19086d325d25Smrg## -------------------- ## 19096d325d25Smrg## Main body of script. ## 19106d325d25Smrg## -------------------- ## 1911a99f82b8Smrg 19122d62a77cSmrgac_ext=c 19132d62a77cSmrgac_cpp='$CPP $CPPFLAGS' 19142d62a77cSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 19152d62a77cSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 19162d62a77cSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 1917a99f82b8Smrg 1918a99f82b8Smrg 19190c1e1135Smrgam__api_version='1.16' 19202d62a77cSmrg 19212d62a77cSmrg 1922a99f82b8Smrg 19230c1e1135Smrg # Find a good install program. We prefer a C program (faster), 1924a99f82b8Smrg# so one script is as good as another. But avoid the broken or 1925a99f82b8Smrg# incompatible versions: 1926a99f82b8Smrg# SysV /etc/install, /usr/sbin/install 1927a99f82b8Smrg# SunOS /usr/etc/install 1928a99f82b8Smrg# IRIX /sbin/install 1929a99f82b8Smrg# AIX /bin/install 1930a99f82b8Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs 1931a99f82b8Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1932a99f82b8Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1933a99f82b8Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1934a99f82b8Smrg# OS/2's system install, which has a completely different semantic 1935a99f82b8Smrg# ./install, which can be erroneously created by make from ./install.sh. 19362d62a77cSmrg# Reject install programs that cannot install multiple files. 19370c1e1135Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 19380c1e1135Smrgprintf %s "checking for a BSD-compatible install... " >&6; } 1939a99f82b8Smrgif test -z "$INSTALL"; then 19400c1e1135Smrgif test ${ac_cv_path_install+y} 19410c1e1135Smrgthen : 19420c1e1135Smrg printf %s "(cached) " >&6 19430c1e1135Smrgelse $as_nop 1944a99f82b8Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1945a99f82b8Smrgfor as_dir in $PATH 1946a99f82b8Smrgdo 1947a99f82b8Smrg IFS=$as_save_IFS 19480c1e1135Smrg case $as_dir in #((( 19490c1e1135Smrg '') as_dir=./ ;; 19500c1e1135Smrg */) ;; 19510c1e1135Smrg *) as_dir=$as_dir/ ;; 19520c1e1135Smrg esac 19530c1e1135Smrg # Account for fact that we put trailing slashes in our PATH walk. 19540c1e1135Smrgcase $as_dir in #(( 19550c1e1135Smrg ./ | /[cC]/* | \ 1956a99f82b8Smrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 19576d325d25Smrg ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 1958a99f82b8Smrg /usr/ucb/* ) ;; 1959a99f82b8Smrg *) 1960a99f82b8Smrg # OSF1 and SCO ODT 3.0 have their own names for install. 1961a99f82b8Smrg # Don't use installbsd from OSF since it installs stuff as root 1962a99f82b8Smrg # by default. 1963a99f82b8Smrg for ac_prog in ginstall scoinst install; do 1964a99f82b8Smrg for ac_exec_ext in '' $ac_executable_extensions; do 19650c1e1135Smrg if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then 1966a99f82b8Smrg if test $ac_prog = install && 19670c1e1135Smrg grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1968a99f82b8Smrg # AIX install. It has an incompatible calling convention. 1969a99f82b8Smrg : 1970a99f82b8Smrg elif test $ac_prog = install && 19710c1e1135Smrg grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1972a99f82b8Smrg # program-specific install script used by HP pwplus--don't use. 1973a99f82b8Smrg : 1974a99f82b8Smrg else 19752d62a77cSmrg rm -rf conftest.one conftest.two conftest.dir 19762d62a77cSmrg echo one > conftest.one 19772d62a77cSmrg echo two > conftest.two 19782d62a77cSmrg mkdir conftest.dir 19790c1e1135Smrg if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" && 19802d62a77cSmrg test -s conftest.one && test -s conftest.two && 19812d62a77cSmrg test -s conftest.dir/conftest.one && 19822d62a77cSmrg test -s conftest.dir/conftest.two 19832d62a77cSmrg then 19840c1e1135Smrg ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c" 19852d62a77cSmrg break 3 19862d62a77cSmrg fi 1987a99f82b8Smrg fi 1988a99f82b8Smrg fi 1989a99f82b8Smrg done 1990a99f82b8Smrg done 1991a99f82b8Smrg ;; 1992a99f82b8Smrgesac 19932d62a77cSmrg 19946d325d25Smrg done 19952d62a77cSmrgIFS=$as_save_IFS 1996a99f82b8Smrg 19972d62a77cSmrgrm -rf conftest.one conftest.two conftest.dir 1998a99f82b8Smrg 1999a99f82b8Smrgfi 20000c1e1135Smrg if test ${ac_cv_path_install+y}; then 2001a99f82b8Smrg INSTALL=$ac_cv_path_install 2002a99f82b8Smrg else 20032d62a77cSmrg # As a last resort, use the slow shell script. Don't cache a 20042d62a77cSmrg # value for INSTALL within a source directory, because that will 2005a99f82b8Smrg # break other packages using the cache if that directory is 20062d62a77cSmrg # removed, or if the value is a relative name. 2007a99f82b8Smrg INSTALL=$ac_install_sh 2008a99f82b8Smrg fi 2009a99f82b8Smrgfi 20100c1e1135Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 20110c1e1135Smrgprintf "%s\n" "$INSTALL" >&6; } 2012a99f82b8Smrg 2013a99f82b8Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2014a99f82b8Smrg# It thinks the first close brace ends the variable substitution. 2015a99f82b8Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2016a99f82b8Smrg 2017a99f82b8Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2018a99f82b8Smrg 2019a99f82b8Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2020a99f82b8Smrg 20210c1e1135Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 20220c1e1135Smrgprintf %s "checking whether build environment is sane... " >&6; } 20232d62a77cSmrg# Reject unsafe characters in $srcdir or the absolute working directory 20242d62a77cSmrg# name. Accept space and tab only in the latter. 20252d62a77cSmrgam_lf=' 20262d62a77cSmrg' 20272d62a77cSmrgcase `pwd` in 20282d62a77cSmrg *[\\\"\#\$\&\'\`$am_lf]*) 20296d325d25Smrg as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 20302d62a77cSmrgesac 20312d62a77cSmrgcase $srcdir in 20322d62a77cSmrg *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 203318b08247Smrg as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 20342d62a77cSmrgesac 20352d62a77cSmrg 203618b08247Smrg# Do 'set' in a subshell so we don't clobber the current shell's 2037a99f82b8Smrg# arguments. Must try -L first in case configure is actually a 2038a99f82b8Smrg# symlink; some systems play weird games with the mod time of symlinks 2039a99f82b8Smrg# (eg FreeBSD returns the mod time of the symlink's containing 2040a99f82b8Smrg# directory). 2041a99f82b8Smrgif ( 204218b08247Smrg am_has_slept=no 204318b08247Smrg for am_try in 1 2; do 204418b08247Smrg echo "timestamp, slept: $am_has_slept" > conftest.file 204518b08247Smrg set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 204618b08247Smrg if test "$*" = "X"; then 204718b08247Smrg # -L didn't work. 204818b08247Smrg set X `ls -t "$srcdir/configure" conftest.file` 204918b08247Smrg fi 205018b08247Smrg if test "$*" != "X $srcdir/configure conftest.file" \ 205118b08247Smrg && test "$*" != "X conftest.file $srcdir/configure"; then 205218b08247Smrg 205318b08247Smrg # If neither matched, then we have a broken ls. This can happen 205418b08247Smrg # if, for instance, CONFIG_SHELL is bash and it inherits a 205518b08247Smrg # broken ls alias from the environment. This has actually 205618b08247Smrg # happened. Such a system could not be considered "sane". 205718b08247Smrg as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 205818b08247Smrg alias in your environment" "$LINENO" 5 205918b08247Smrg fi 206018b08247Smrg if test "$2" = conftest.file || test $am_try -eq 2; then 206118b08247Smrg break 206218b08247Smrg fi 206318b08247Smrg # Just in case. 206418b08247Smrg sleep 1 206518b08247Smrg am_has_slept=yes 206618b08247Smrg done 2067a99f82b8Smrg test "$2" = conftest.file 2068a99f82b8Smrg ) 2069a99f82b8Smrgthen 2070a99f82b8Smrg # Ok. 2071a99f82b8Smrg : 2072a99f82b8Smrgelse 20736d325d25Smrg as_fn_error $? "newly created file is older than distributed files! 20746d325d25SmrgCheck your system clock" "$LINENO" 5 2075a99f82b8Smrgfi 20760c1e1135Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20770c1e1135Smrgprintf "%s\n" "yes" >&6; } 207818b08247Smrg# If we didn't sleep, we still need to ensure time stamps of config.status and 207918b08247Smrg# generated files are strictly newer. 208018b08247Smrgam_sleep_pid= 208118b08247Smrgif grep 'slept: no' conftest.file >/dev/null 2>&1; then 208218b08247Smrg ( sleep 1 ) & 208318b08247Smrg am_sleep_pid=$! 208418b08247Smrgfi 208518b08247Smrg 208618b08247Smrgrm -f conftest.file 208718b08247Smrg 2088a99f82b8Smrgtest "$program_prefix" != NONE && 20892d62a77cSmrg program_transform_name="s&^&$program_prefix&;$program_transform_name" 2090a99f82b8Smrg# Use a double $ so make ignores it. 2091a99f82b8Smrgtest "$program_suffix" != NONE && 20922d62a77cSmrg program_transform_name="s&\$&$program_suffix&;$program_transform_name" 20932d62a77cSmrg# Double any \ or $. 2094a99f82b8Smrg# By default was `s,x,x', remove it if useless. 20952d62a77cSmrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 20960c1e1135Smrgprogram_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"` 20970c1e1135Smrg 2098a99f82b8Smrg 209918b08247Smrg# Expand $ac_aux_dir to an absolute path. 210018b08247Smrgam_aux_dir=`cd "$ac_aux_dir" && pwd` 2101a99f82b8Smrg 21020c1e1135Smrg 21030c1e1135Smrg if test x"${MISSING+set}" != xset; then 21040c1e1135Smrg MISSING="\${SHELL} '$am_aux_dir/missing'" 21052d62a77cSmrgfi 2106a99f82b8Smrg# Use eval to expand $SHELL 210718b08247Smrgif eval "$MISSING --is-lightweight"; then 210818b08247Smrg am_missing_run="$MISSING " 2109a99f82b8Smrgelse 2110a99f82b8Smrg am_missing_run= 21110c1e1135Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 21120c1e1135Smrgprintf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 21132d62a77cSmrgfi 21142d62a77cSmrg 211518b08247Smrgif test x"${install_sh+set}" != xset; then 21162d62a77cSmrg case $am_aux_dir in 21172d62a77cSmrg *\ * | *\ *) 21182d62a77cSmrg install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 21192d62a77cSmrg *) 21202d62a77cSmrg install_sh="\${SHELL} $am_aux_dir/install-sh" 21212d62a77cSmrg esac 21222d62a77cSmrgfi 21232d62a77cSmrg 212418b08247Smrg# Installed binaries are usually stripped using 'strip' when the user 212518b08247Smrg# run "make install-strip". However 'strip' might not be the right 21262d62a77cSmrg# tool to use in cross-compilation environments, therefore Automake 212718b08247Smrg# will honor the 'STRIP' environment variable to overrule this program. 21282d62a77cSmrgif test "$cross_compiling" != no; then 21292d62a77cSmrg if test -n "$ac_tool_prefix"; then 21302d62a77cSmrg # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 21312d62a77cSmrgset dummy ${ac_tool_prefix}strip; ac_word=$2 21320c1e1135Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 21330c1e1135Smrgprintf %s "checking for $ac_word... " >&6; } 21340c1e1135Smrgif test ${ac_cv_prog_STRIP+y} 21350c1e1135Smrgthen : 21360c1e1135Smrg printf %s "(cached) " >&6 21370c1e1135Smrgelse $as_nop 21382d62a77cSmrg if test -n "$STRIP"; then 21392d62a77cSmrg ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 21402d62a77cSmrgelse 21412d62a77cSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 21422d62a77cSmrgfor as_dir in $PATH 21432d62a77cSmrgdo 21442d62a77cSmrg IFS=$as_save_IFS 21450c1e1135Smrg case $as_dir in #((( 21460c1e1135Smrg '') as_dir=./ ;; 21470c1e1135Smrg */) ;; 21480c1e1135Smrg *) as_dir=$as_dir/ ;; 21490c1e1135Smrg esac 21506d325d25Smrg for ac_exec_ext in '' $ac_executable_extensions; do 21510c1e1135Smrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 21522d62a77cSmrg ac_cv_prog_STRIP="${ac_tool_prefix}strip" 21530c1e1135Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 21542d62a77cSmrg break 2 21552d62a77cSmrg fi 21562d62a77cSmrgdone 21576d325d25Smrg done 21582d62a77cSmrgIFS=$as_save_IFS 21592d62a77cSmrg 21602d62a77cSmrgfi 21612d62a77cSmrgfi 21622d62a77cSmrgSTRIP=$ac_cv_prog_STRIP 21632d62a77cSmrgif test -n "$STRIP"; then 21640c1e1135Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 21650c1e1135Smrgprintf "%s\n" "$STRIP" >&6; } 21662d62a77cSmrgelse 21670c1e1135Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 21680c1e1135Smrgprintf "%s\n" "no" >&6; } 21692d62a77cSmrgfi 21702d62a77cSmrg 21712d62a77cSmrg 21722d62a77cSmrgfi 21732d62a77cSmrgif test -z "$ac_cv_prog_STRIP"; then 21742d62a77cSmrg ac_ct_STRIP=$STRIP 21752d62a77cSmrg # Extract the first word of "strip", so it can be a program name with args. 21762d62a77cSmrgset dummy strip; ac_word=$2 21770c1e1135Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 21780c1e1135Smrgprintf %s "checking for $ac_word... " >&6; } 21790c1e1135Smrgif test ${ac_cv_prog_ac_ct_STRIP+y} 21800c1e1135Smrgthen : 21810c1e1135Smrg printf %s "(cached) " >&6 21820c1e1135Smrgelse $as_nop 21832d62a77cSmrg if test -n "$ac_ct_STRIP"; then 21842d62a77cSmrg ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 21852d62a77cSmrgelse 21862d62a77cSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 21872d62a77cSmrgfor as_dir in $PATH 21882d62a77cSmrgdo 21892d62a77cSmrg IFS=$as_save_IFS 21900c1e1135Smrg case $as_dir in #((( 21910c1e1135Smrg '') as_dir=./ ;; 21920c1e1135Smrg */) ;; 21930c1e1135Smrg *) as_dir=$as_dir/ ;; 21940c1e1135Smrg esac 21956d325d25Smrg for ac_exec_ext in '' $ac_executable_extensions; do 21960c1e1135Smrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 21972d62a77cSmrg ac_cv_prog_ac_ct_STRIP="strip" 21980c1e1135Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 21992d62a77cSmrg break 2 22002d62a77cSmrg fi 22012d62a77cSmrgdone 22026d325d25Smrg done 22032d62a77cSmrgIFS=$as_save_IFS 22042d62a77cSmrg 22052d62a77cSmrgfi 22062d62a77cSmrgfi 22072d62a77cSmrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 22082d62a77cSmrgif test -n "$ac_ct_STRIP"; then 22090c1e1135Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 22100c1e1135Smrgprintf "%s\n" "$ac_ct_STRIP" >&6; } 22112d62a77cSmrgelse 22120c1e1135Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 22130c1e1135Smrgprintf "%s\n" "no" >&6; } 22142d62a77cSmrgfi 22152d62a77cSmrg 22162d62a77cSmrg if test "x$ac_ct_STRIP" = x; then 22172d62a77cSmrg STRIP=":" 22182d62a77cSmrg else 22192d62a77cSmrg case $cross_compiling:$ac_tool_warned in 22202d62a77cSmrgyes:) 22210c1e1135Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 22220c1e1135Smrgprintf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 22232d62a77cSmrgac_tool_warned=yes ;; 22242d62a77cSmrgesac 22252d62a77cSmrg STRIP=$ac_ct_STRIP 22262d62a77cSmrg fi 22272d62a77cSmrgelse 22282d62a77cSmrg STRIP="$ac_cv_prog_STRIP" 22292d62a77cSmrgfi 22302d62a77cSmrg 22312d62a77cSmrgfi 22322d62a77cSmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 22332d62a77cSmrg 22340c1e1135Smrg 22350c1e1135Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5 22360c1e1135Smrgprintf %s "checking for a race-free mkdir -p... " >&6; } 22372d62a77cSmrgif test -z "$MKDIR_P"; then 22380c1e1135Smrg if test ${ac_cv_path_mkdir+y} 22390c1e1135Smrgthen : 22400c1e1135Smrg printf %s "(cached) " >&6 22410c1e1135Smrgelse $as_nop 22422d62a77cSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22432d62a77cSmrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 22442d62a77cSmrgdo 22452d62a77cSmrg IFS=$as_save_IFS 22460c1e1135Smrg case $as_dir in #((( 22470c1e1135Smrg '') as_dir=./ ;; 22480c1e1135Smrg */) ;; 22490c1e1135Smrg *) as_dir=$as_dir/ ;; 22500c1e1135Smrg esac 22516d325d25Smrg for ac_prog in mkdir gmkdir; do 22522d62a77cSmrg for ac_exec_ext in '' $ac_executable_extensions; do 22530c1e1135Smrg as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue 22540c1e1135Smrg case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #( 22550c1e1135Smrg 'mkdir ('*'coreutils) '* | \ 22560c1e1135Smrg 'BusyBox '* | \ 22572d62a77cSmrg 'mkdir (fileutils) '4.1*) 22580c1e1135Smrg ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext 22592d62a77cSmrg break 3;; 22602d62a77cSmrg esac 22612d62a77cSmrg done 22622d62a77cSmrg done 22636d325d25Smrg done 22642d62a77cSmrgIFS=$as_save_IFS 22652d62a77cSmrg 22662d62a77cSmrgfi 22672d62a77cSmrg 22686d325d25Smrg test -d ./--version && rmdir ./--version 22690c1e1135Smrg if test ${ac_cv_path_mkdir+y}; then 22702d62a77cSmrg MKDIR_P="$ac_cv_path_mkdir -p" 22712d62a77cSmrg else 22722d62a77cSmrg # As a last resort, use the slow shell script. Don't cache a 22732d62a77cSmrg # value for MKDIR_P within a source directory, because that will 22742d62a77cSmrg # break other packages using the cache if that directory is 22752d62a77cSmrg # removed, or if the value is a relative name. 22762d62a77cSmrg MKDIR_P="$ac_install_sh -d" 22772d62a77cSmrg fi 2278a99f82b8Smrgfi 22790c1e1135Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 22800c1e1135Smrgprintf "%s\n" "$MKDIR_P" >&6; } 22812d62a77cSmrg 2282a99f82b8Smrgfor ac_prog in gawk mawk nawk awk 2283a99f82b8Smrgdo 2284a99f82b8Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 2285a99f82b8Smrgset dummy $ac_prog; ac_word=$2 22860c1e1135Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22870c1e1135Smrgprintf %s "checking for $ac_word... " >&6; } 22880c1e1135Smrgif test ${ac_cv_prog_AWK+y} 22890c1e1135Smrgthen : 22900c1e1135Smrg printf %s "(cached) " >&6 22910c1e1135Smrgelse $as_nop 2292a99f82b8Smrg if test -n "$AWK"; then 2293a99f82b8Smrg ac_cv_prog_AWK="$AWK" # Let the user override the test. 2294a99f82b8Smrgelse 2295a99f82b8Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2296a99f82b8Smrgfor as_dir in $PATH 2297a99f82b8Smrgdo 2298a99f82b8Smrg IFS=$as_save_IFS 22990c1e1135Smrg case $as_dir in #((( 23000c1e1135Smrg '') as_dir=./ ;; 23010c1e1135Smrg */) ;; 23020c1e1135Smrg *) as_dir=$as_dir/ ;; 23030c1e1135Smrg esac 23046d325d25Smrg for ac_exec_ext in '' $ac_executable_extensions; do 23050c1e1135Smrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2306a99f82b8Smrg ac_cv_prog_AWK="$ac_prog" 23070c1e1135Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2308a99f82b8Smrg break 2 2309a99f82b8Smrg fi 2310a99f82b8Smrgdone 23116d325d25Smrg done 23122d62a77cSmrgIFS=$as_save_IFS 2313a99f82b8Smrg 2314a99f82b8Smrgfi 2315a99f82b8Smrgfi 2316a99f82b8SmrgAWK=$ac_cv_prog_AWK 2317a99f82b8Smrgif test -n "$AWK"; then 23180c1e1135Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 23190c1e1135Smrgprintf "%s\n" "$AWK" >&6; } 2320a99f82b8Smrgelse 23210c1e1135Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 23220c1e1135Smrgprintf "%s\n" "no" >&6; } 2323a99f82b8Smrgfi 2324a99f82b8Smrg 23252d62a77cSmrg 2326a99f82b8Smrg test -n "$AWK" && break 2327a99f82b8Smrgdone 2328a99f82b8Smrg 23290c1e1135Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 23300c1e1135Smrgprintf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 23312d62a77cSmrgset x ${MAKE-make} 23320c1e1135Smrgac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 23330c1e1135Smrgif eval test \${ac_cv_prog_make_${ac_make}_set+y} 23340c1e1135Smrgthen : 23350c1e1135Smrg printf %s "(cached) " >&6 23360c1e1135Smrgelse $as_nop 2337a99f82b8Smrg cat >conftest.make <<\_ACEOF 23382d62a77cSmrgSHELL = /bin/sh 2339a99f82b8Smrgall: 23402d62a77cSmrg @echo '@@@%%%=$(MAKE)=@@@%%%' 2341a99f82b8Smrg_ACEOF 23426d325d25Smrg# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 23432d62a77cSmrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in 23442d62a77cSmrg *@@@%%%=?*=@@@%%%*) 23452d62a77cSmrg eval ac_cv_prog_make_${ac_make}_set=yes;; 23462d62a77cSmrg *) 23472d62a77cSmrg eval ac_cv_prog_make_${ac_make}_set=no;; 23482d62a77cSmrgesac 2349a99f82b8Smrgrm -f conftest.make 2350a99f82b8Smrgfi 23512d62a77cSmrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 23520c1e1135Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 23530c1e1135Smrgprintf "%s\n" "yes" >&6; } 2354a99f82b8Smrg SET_MAKE= 2355a99f82b8Smrgelse 23560c1e1135Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 23570c1e1135Smrgprintf "%s\n" "no" >&6; } 2358a99f82b8Smrg SET_MAKE="MAKE=${MAKE-make}" 2359a99f82b8Smrgfi 2360a99f82b8Smrg 2361a99f82b8Smrgrm -rf .tst 2>/dev/null 2362a99f82b8Smrgmkdir .tst 2>/dev/null 2363a99f82b8Smrgif test -d .tst; then 2364a99f82b8Smrg am__leading_dot=. 2365a99f82b8Smrgelse 2366a99f82b8Smrg am__leading_dot=_ 2367a99f82b8Smrgfi 2368a99f82b8Smrgrmdir .tst 2>/dev/null 2369a99f82b8Smrg 237018b08247Smrg# Check whether --enable-silent-rules was given. 23710c1e1135Smrgif test ${enable_silent_rules+y} 23720c1e1135Smrgthen : 237318b08247Smrg enableval=$enable_silent_rules; 237418b08247Smrgfi 237518b08247Smrg 237618b08247Smrgcase $enable_silent_rules in # ((( 237718b08247Smrg yes) AM_DEFAULT_VERBOSITY=0;; 237818b08247Smrg no) AM_DEFAULT_VERBOSITY=1;; 237918b08247Smrg *) AM_DEFAULT_VERBOSITY=1;; 238018b08247Smrgesac 238118b08247Smrgam_make=${MAKE-make} 23820c1e1135Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 23830c1e1135Smrgprintf %s "checking whether $am_make supports nested variables... " >&6; } 23840c1e1135Smrgif test ${am_cv_make_support_nested_variables+y} 23850c1e1135Smrgthen : 23860c1e1135Smrg printf %s "(cached) " >&6 23870c1e1135Smrgelse $as_nop 23880c1e1135Smrg if printf "%s\n" 'TRUE=$(BAR$(V)) 238918b08247SmrgBAR0=false 239018b08247SmrgBAR1=true 239118b08247SmrgV=1 239218b08247Smrgam__doit: 239318b08247Smrg @$(TRUE) 239418b08247Smrg.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 239518b08247Smrg am_cv_make_support_nested_variables=yes 239618b08247Smrgelse 239718b08247Smrg am_cv_make_support_nested_variables=no 239818b08247Smrgfi 239918b08247Smrgfi 24000c1e1135Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 24010c1e1135Smrgprintf "%s\n" "$am_cv_make_support_nested_variables" >&6; } 240218b08247Smrgif test $am_cv_make_support_nested_variables = yes; then 240318b08247Smrg AM_V='$(V)' 240418b08247Smrg AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 240518b08247Smrgelse 240618b08247Smrg AM_V=$AM_DEFAULT_VERBOSITY 240718b08247Smrg AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 240818b08247Smrgfi 240918b08247SmrgAM_BACKSLASH='\' 241018b08247Smrg 24112d62a77cSmrgif test "`cd $srcdir && pwd`" != "`pwd`"; then 24122d62a77cSmrg # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 24132d62a77cSmrg # is not polluted with repeated "-I." 24142d62a77cSmrg am__isrc=' -I$(srcdir)' 24152d62a77cSmrg # test to see if srcdir already configured 24162d62a77cSmrg if test -f $srcdir/config.status; then 24176d325d25Smrg as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 24182d62a77cSmrg fi 2419a99f82b8Smrgfi 2420a99f82b8Smrg 2421a99f82b8Smrg# test whether we have cygpath 2422a99f82b8Smrgif test -z "$CYGPATH_W"; then 2423a99f82b8Smrg if (cygpath --version) >/dev/null 2>/dev/null; then 2424a99f82b8Smrg CYGPATH_W='cygpath -w' 2425a99f82b8Smrg else 2426a99f82b8Smrg CYGPATH_W=echo 2427a99f82b8Smrg fi 2428a99f82b8Smrgfi 2429a99f82b8Smrg 2430a99f82b8Smrg 2431a99f82b8Smrg# Define the identity of the package. 2432a99f82b8Smrg PACKAGE='font-alias' 24330c1e1135Smrg VERSION='1.0.5' 2434a99f82b8Smrg 2435a99f82b8Smrg 24360c1e1135Smrgprintf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h 2437a99f82b8Smrg 2438a99f82b8Smrg 24390c1e1135Smrgprintf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h 2440a99f82b8Smrg 2441a99f82b8Smrg# Some tools Automake needs. 2442a99f82b8Smrg 2443a99f82b8SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2444a99f82b8Smrg 2445a99f82b8Smrg 2446a99f82b8SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2447a99f82b8Smrg 2448a99f82b8Smrg 2449a99f82b8SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2450a99f82b8Smrg 2451a99f82b8Smrg 2452a99f82b8SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2453a99f82b8Smrg 2454a99f82b8Smrg 2455a99f82b8SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2456a99f82b8Smrg 245718b08247Smrg# For better backward compatibility. To be removed once Automake 1.9.x 245818b08247Smrg# dies out for good. For more background, see: 24590c1e1135Smrg# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 24600c1e1135Smrg# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 246118b08247Smrgmkdir_p='$(MKDIR_P)' 2462a99f82b8Smrg 246318b08247Smrg# We need awk for the "check" target (and possibly the TAP driver). The 246418b08247Smrg# system "awk" is bad on some platforms. 246518b08247Smrg# Always define AMTAR for backward compatibility. Yes, it's still used 246618b08247Smrg# in the wild :-( We should find a proper way to deprecate it ... 246718b08247SmrgAMTAR='$${TAR-tar}' 2468a99f82b8Smrg 2469a99f82b8Smrg 247018b08247Smrg# We'll loop over all known methods to create a tar archive until one works. 247118b08247Smrg_am_tools='gnutar pax cpio none' 24722d62a77cSmrg 247318b08247Smrgam__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 24742d62a77cSmrg 24752d62a77cSmrg 24762d62a77cSmrg 24772d62a77cSmrg 24782d62a77cSmrg 24790c1e1135Smrg# Variables for tags utilities; see am/tags.am 24800c1e1135Smrgif test -z "$CTAGS"; then 24810c1e1135Smrg CTAGS=ctags 24820c1e1135Smrgfi 24830c1e1135Smrg 24840c1e1135Smrgif test -z "$ETAGS"; then 24850c1e1135Smrg ETAGS=etags 24860c1e1135Smrgfi 24870c1e1135Smrg 24880c1e1135Smrgif test -z "$CSCOPE"; then 24890c1e1135Smrg CSCOPE=cscope 24900c1e1135Smrgfi 24910c1e1135Smrg 24920c1e1135Smrg 24932d62a77cSmrg 249418b08247Smrg# POSIX will say in a future version that running "rm -f" with no argument 249518b08247Smrg# is OK; and we want to be able to make that assumption in our Makefile 249618b08247Smrg# recipes. So use an aggressive probe to check that the usage we want is 249718b08247Smrg# actually supported "in the wild" to an acceptable degree. 249818b08247Smrg# See automake bug#10828. 249918b08247Smrg# To make any issue more visible, cause the running configure to be aborted 250018b08247Smrg# by default if the 'rm' program in use doesn't match our expectations; the 250118b08247Smrg# user can still override this though. 250218b08247Smrgif rm -f && rm -fr && rm -rf; then : OK; else 250318b08247Smrg cat >&2 <<'END' 250418b08247SmrgOops! 250518b08247Smrg 250618b08247SmrgYour 'rm' program seems unable to run without file operands specified 250718b08247Smrgon the command line, even when the '-f' option is present. This is contrary 250818b08247Smrgto the behaviour of most rm programs out there, and not conforming with 250918b08247Smrgthe upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 251018b08247Smrg 251118b08247SmrgPlease tell bug-automake@gnu.org about your system, including the value 251218b08247Smrgof your $PATH and any error possibly output before this message. This 251318b08247Smrgcan help us improve future automake versions. 251418b08247Smrg 251518b08247SmrgEND 251618b08247Smrg if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 251718b08247Smrg echo 'Configuration will proceed anyway, since you have set the' >&2 251818b08247Smrg echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 251918b08247Smrg echo >&2 252018b08247Smrg else 252118b08247Smrg cat >&2 <<'END' 252218b08247SmrgAborting the configuration process, to ensure you take notice of the issue. 252318b08247Smrg 252418b08247SmrgYou can download and install GNU coreutils to get an 'rm' implementation 25250c1e1135Smrgthat behaves properly: <https://www.gnu.org/software/coreutils/>. 252618b08247Smrg 252718b08247SmrgIf you want to complete the configuration process using your problematic 252818b08247Smrg'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 252918b08247Smrgto "yes", and re-run configure. 25302d62a77cSmrg 253118b08247SmrgEND 253218b08247Smrg as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 253318b08247Smrg fi 253418b08247Smrgfi 25352d62a77cSmrg 25362d62a77cSmrg 25370c1e1135Smrg# Require xorg-macros 1.20 or later: XORG_DEFAULT_NOCODE_OPTIONS 25382d62a77cSmrg 25392d62a77cSmrg 25402d62a77cSmrg 25412d62a77cSmrg 25422d62a77cSmrg 25432d62a77cSmrg 25442d62a77cSmrg 25452d62a77cSmrg 25462d62a77cSmrg 25472d62a77cSmrg 25482d62a77cSmrg 25492d62a77cSmrg 25502d62a77cSmrg 25512d62a77cSmrg 25522d62a77cSmrg 25532d62a77cSmrg 25542d62a77cSmrg 25552d62a77cSmrg 25560c1e1135Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 25570c1e1135Smrg if test -n "$ac_tool_prefix"; then 25580c1e1135Smrg # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 25590c1e1135Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2 25600c1e1135Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 25610c1e1135Smrgprintf %s "checking for $ac_word... " >&6; } 25620c1e1135Smrgif test ${ac_cv_path_PKG_CONFIG+y} 25630c1e1135Smrgthen : 25640c1e1135Smrg printf %s "(cached) " >&6 25650c1e1135Smrgelse $as_nop 25660c1e1135Smrg case $PKG_CONFIG in 25670c1e1135Smrg [\\/]* | ?:[\\/]*) 25680c1e1135Smrg ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 25690c1e1135Smrg ;; 25700c1e1135Smrg *) 25710c1e1135Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2572a99f82b8Smrgfor as_dir in $PATH 2573a99f82b8Smrgdo 2574a99f82b8Smrg IFS=$as_save_IFS 25750c1e1135Smrg case $as_dir in #((( 25760c1e1135Smrg '') as_dir=./ ;; 25770c1e1135Smrg */) ;; 25780c1e1135Smrg *) as_dir=$as_dir/ ;; 25790c1e1135Smrg esac 25806d325d25Smrg for ac_exec_ext in '' $ac_executable_extensions; do 25810c1e1135Smrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 25820c1e1135Smrg ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" 25830c1e1135Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2584a99f82b8Smrg break 2 2585a99f82b8Smrg fi 2586a99f82b8Smrgdone 25876d325d25Smrg done 25882d62a77cSmrgIFS=$as_save_IFS 2589a99f82b8Smrg 25900c1e1135Smrg ;; 25910c1e1135Smrgesac 2592a99f82b8Smrgfi 25930c1e1135SmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG 25940c1e1135Smrgif test -n "$PKG_CONFIG"; then 25950c1e1135Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 25960c1e1135Smrgprintf "%s\n" "$PKG_CONFIG" >&6; } 2597a99f82b8Smrgelse 25980c1e1135Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 25990c1e1135Smrgprintf "%s\n" "no" >&6; } 2600a99f82b8Smrgfi 2601a99f82b8Smrg 26022d62a77cSmrg 2603a99f82b8Smrgfi 26040c1e1135Smrgif test -z "$ac_cv_path_PKG_CONFIG"; then 26050c1e1135Smrg ac_pt_PKG_CONFIG=$PKG_CONFIG 26060c1e1135Smrg # Extract the first word of "pkg-config", so it can be a program name with args. 26070c1e1135Smrgset dummy pkg-config; ac_word=$2 26080c1e1135Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 26090c1e1135Smrgprintf %s "checking for $ac_word... " >&6; } 26100c1e1135Smrgif test ${ac_cv_path_ac_pt_PKG_CONFIG+y} 26110c1e1135Smrgthen : 26120c1e1135Smrg printf %s "(cached) " >&6 26130c1e1135Smrgelse $as_nop 26140c1e1135Smrg case $ac_pt_PKG_CONFIG in 26150c1e1135Smrg [\\/]* | ?:[\\/]*) 26160c1e1135Smrg ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 26170c1e1135Smrg ;; 26180c1e1135Smrg *) 26190c1e1135Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 26200c1e1135Smrgfor as_dir in $PATH 26210c1e1135Smrgdo 26220c1e1135Smrg IFS=$as_save_IFS 26230c1e1135Smrg case $as_dir in #((( 26240c1e1135Smrg '') as_dir=./ ;; 26250c1e1135Smrg */) ;; 26260c1e1135Smrg *) as_dir=$as_dir/ ;; 26270c1e1135Smrg esac 26280c1e1135Smrg for ac_exec_ext in '' $ac_executable_extensions; do 26290c1e1135Smrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 26300c1e1135Smrg ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" 26310c1e1135Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 26320c1e1135Smrg break 2 26330c1e1135Smrg fi 26340c1e1135Smrgdone 26350c1e1135Smrg done 26360c1e1135SmrgIFS=$as_save_IFS 263718b08247Smrg 26380c1e1135Smrg ;; 26390c1e1135Smrgesac 264018b08247Smrgfi 26410c1e1135Smrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 26420c1e1135Smrgif test -n "$ac_pt_PKG_CONFIG"; then 26430c1e1135Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 26440c1e1135Smrgprintf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } 26450c1e1135Smrgelse 26460c1e1135Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 26470c1e1135Smrgprintf "%s\n" "no" >&6; } 264818b08247Smrgfi 264918b08247Smrg 26500c1e1135Smrg if test "x$ac_pt_PKG_CONFIG" = x; then 26510c1e1135Smrg PKG_CONFIG="" 26520c1e1135Smrg else 26530c1e1135Smrg case $cross_compiling:$ac_tool_warned in 26540c1e1135Smrgyes:) 26550c1e1135Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 26560c1e1135Smrgprintf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 26570c1e1135Smrgac_tool_warned=yes ;; 26580c1e1135Smrgesac 26590c1e1135Smrg PKG_CONFIG=$ac_pt_PKG_CONFIG 26600c1e1135Smrg fi 266118b08247Smrgelse 26620c1e1135Smrg PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 266318b08247Smrgfi 26640c1e1135Smrg 266518b08247Smrgfi 26660c1e1135Smrgif test -n "$PKG_CONFIG"; then 26670c1e1135Smrg _pkg_min_version=0.9.0 26680c1e1135Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 26690c1e1135Smrgprintf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; } 26700c1e1135Smrg if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 26710c1e1135Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 26720c1e1135Smrgprintf "%s\n" "yes" >&6; } 26730c1e1135Smrg else 26740c1e1135Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 26750c1e1135Smrgprintf "%s\n" "no" >&6; } 26760c1e1135Smrg PKG_CONFIG="" 26770c1e1135Smrg fi 267818b08247Smrgfi 267918b08247Smrg 268018b08247Smrg 26810c1e1135Smrg # Make sure we can run config.sub. 26820c1e1135Smrg$SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 || 26830c1e1135Smrg as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5 268418b08247Smrg 26850c1e1135Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 26860c1e1135Smrgprintf %s "checking build system type... " >&6; } 26870c1e1135Smrgif test ${ac_cv_build+y} 26880c1e1135Smrgthen : 26890c1e1135Smrg printf %s "(cached) " >&6 26900c1e1135Smrgelse $as_nop 26910c1e1135Smrg ac_build_alias=$build_alias 26920c1e1135Smrgtest "x$ac_build_alias" = x && 26930c1e1135Smrg ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"` 26940c1e1135Smrgtest "x$ac_build_alias" = x && 26950c1e1135Smrg as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 26960c1e1135Smrgac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` || 26970c1e1135Smrg as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5 269818b08247Smrg 26990c1e1135Smrgfi 27000c1e1135Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 27010c1e1135Smrgprintf "%s\n" "$ac_cv_build" >&6; } 27020c1e1135Smrgcase $ac_cv_build in 27030c1e1135Smrg*-*-*) ;; 27040c1e1135Smrg*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 27050c1e1135Smrgesac 27060c1e1135Smrgbuild=$ac_cv_build 27070c1e1135Smrgac_save_IFS=$IFS; IFS='-' 27080c1e1135Smrgset x $ac_cv_build 27090c1e1135Smrgshift 27100c1e1135Smrgbuild_cpu=$1 27110c1e1135Smrgbuild_vendor=$2 27120c1e1135Smrgshift; shift 27130c1e1135Smrg# Remember, the first character of IFS is used to create $*, 27140c1e1135Smrg# except with old shells: 27150c1e1135Smrgbuild_os=$* 27160c1e1135SmrgIFS=$ac_save_IFS 27170c1e1135Smrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 271818b08247Smrg 271918b08247Smrg 27200c1e1135Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 27210c1e1135Smrgprintf %s "checking host system type... " >&6; } 27220c1e1135Smrgif test ${ac_cv_host+y} 27230c1e1135Smrgthen : 27240c1e1135Smrg printf %s "(cached) " >&6 27250c1e1135Smrgelse $as_nop 27260c1e1135Smrg if test "x$host_alias" = x; then 27270c1e1135Smrg ac_cv_host=$ac_cv_build 272818b08247Smrgelse 27290c1e1135Smrg ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` || 27300c1e1135Smrg as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5 273118b08247Smrgfi 273218b08247Smrg 27330c1e1135Smrgfi 27340c1e1135Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 27350c1e1135Smrgprintf "%s\n" "$ac_cv_host" >&6; } 27360c1e1135Smrgcase $ac_cv_host in 27370c1e1135Smrg*-*-*) ;; 27380c1e1135Smrg*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 27390c1e1135Smrgesac 27400c1e1135Smrghost=$ac_cv_host 27410c1e1135Smrgac_save_IFS=$IFS; IFS='-' 27420c1e1135Smrgset x $ac_cv_host 27430c1e1135Smrgshift 27440c1e1135Smrghost_cpu=$1 27450c1e1135Smrghost_vendor=$2 27460c1e1135Smrgshift; shift 27470c1e1135Smrg# Remember, the first character of IFS is used to create $*, 27480c1e1135Smrg# except with old shells: 27490c1e1135Smrghost_os=$* 27500c1e1135SmrgIFS=$ac_save_IFS 27510c1e1135Smrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 275218b08247Smrg 275318b08247Smrg 27540c1e1135Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 27550c1e1135Smrgprintf %s "checking for a sed that does not truncate output... " >&6; } 27560c1e1135Smrgif test ${ac_cv_path_SED+y} 27570c1e1135Smrgthen : 27580c1e1135Smrg printf %s "(cached) " >&6 27590c1e1135Smrgelse $as_nop 27600c1e1135Smrg ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 27610c1e1135Smrg for ac_i in 1 2 3 4 5 6 7; do 27620c1e1135Smrg ac_script="$ac_script$as_nl$ac_script" 27630c1e1135Smrg done 27640c1e1135Smrg echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 27650c1e1135Smrg { ac_script=; unset ac_script;} 27660c1e1135Smrg if test -z "$SED"; then 27670c1e1135Smrg ac_path_SED_found=false 27680c1e1135Smrg # Loop through the user's path and test for each of PROGNAME-LIST 27690c1e1135Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 27700c1e1135Smrgfor as_dir in $PATH 27710c1e1135Smrgdo 27720c1e1135Smrg IFS=$as_save_IFS 27730c1e1135Smrg case $as_dir in #((( 27740c1e1135Smrg '') as_dir=./ ;; 27750c1e1135Smrg */) ;; 27760c1e1135Smrg *) as_dir=$as_dir/ ;; 27770c1e1135Smrg esac 27780c1e1135Smrg for ac_prog in sed gsed 27790c1e1135Smrg do 27800c1e1135Smrg for ac_exec_ext in '' $ac_executable_extensions; do 27810c1e1135Smrg ac_path_SED="$as_dir$ac_prog$ac_exec_ext" 27820c1e1135Smrg as_fn_executable_p "$ac_path_SED" || continue 27830c1e1135Smrg# Check for GNU ac_path_SED and select it if it is found. 27840c1e1135Smrg # Check for GNU $ac_path_SED 27850c1e1135Smrgcase `"$ac_path_SED" --version 2>&1` in 27860c1e1135Smrg*GNU*) 27870c1e1135Smrg ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 27880c1e1135Smrg*) 27890c1e1135Smrg ac_count=0 27900c1e1135Smrg printf %s 0123456789 >"conftest.in" 27910c1e1135Smrg while : 27920c1e1135Smrg do 27930c1e1135Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 27940c1e1135Smrg mv "conftest.tmp" "conftest.in" 27950c1e1135Smrg cp "conftest.in" "conftest.nl" 27960c1e1135Smrg printf "%s\n" '' >> "conftest.nl" 27970c1e1135Smrg "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 27980c1e1135Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 27990c1e1135Smrg as_fn_arith $ac_count + 1 && ac_count=$as_val 28000c1e1135Smrg if test $ac_count -gt ${ac_path_SED_max-0}; then 28010c1e1135Smrg # Best one so far, save it but keep looking for a better one 28020c1e1135Smrg ac_cv_path_SED="$ac_path_SED" 28030c1e1135Smrg ac_path_SED_max=$ac_count 28040c1e1135Smrg fi 28050c1e1135Smrg # 10*(2^10) chars as input seems more than enough 28060c1e1135Smrg test $ac_count -gt 10 && break 28070c1e1135Smrg done 28080c1e1135Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 28090c1e1135Smrgesac 281018b08247Smrg 28110c1e1135Smrg $ac_path_SED_found && break 3 28120c1e1135Smrg done 28130c1e1135Smrg done 28140c1e1135Smrg done 28150c1e1135SmrgIFS=$as_save_IFS 28160c1e1135Smrg if test -z "$ac_cv_path_SED"; then 28170c1e1135Smrg as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 28180c1e1135Smrg fi 28190c1e1135Smrgelse 28200c1e1135Smrg ac_cv_path_SED=$SED 282118b08247Smrgfi 282218b08247Smrg 28230c1e1135Smrgfi 28240c1e1135Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 28250c1e1135Smrgprintf "%s\n" "$ac_cv_path_SED" >&6; } 28260c1e1135Smrg SED="$ac_cv_path_SED" 28270c1e1135Smrg rm -f conftest.sed 282818b08247Smrg 282918b08247Smrg 283018b08247Smrg 283118b08247Smrg 283218b08247Smrg 283318b08247Smrgcat >>confdefs.h <<_ACEOF 283418b08247Smrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 283518b08247Smrg_ACEOF 283618b08247Smrg 283718b08247Smrg PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 283818b08247Smrg if test "x$PVM" = "x"; then 283918b08247Smrg PVM="0" 284018b08247Smrg fi 284118b08247Smrg 28420c1e1135Smrgprintf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h 284318b08247Smrg 284418b08247Smrg PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 284518b08247Smrg if test "x$PVP" = "x"; then 284618b08247Smrg PVP="0" 284718b08247Smrg fi 284818b08247Smrg 28490c1e1135Smrgprintf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h 285018b08247Smrg 285118b08247Smrg 285218b08247Smrg 285318b08247SmrgCHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \ 285418b08247Smrgmv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \ 285518b08247Smrg|| (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \ 285618b08247Smrgtouch \$(top_srcdir)/ChangeLog; \ 285718b08247Smrgecho 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))" 285818b08247Smrg 285918b08247Smrg 286018b08247Smrg 286118b08247Smrg 286218b08247Smrgmacros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros` 286318b08247SmrgINSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \ 286418b08247Smrgmv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \ 286518b08247Smrg|| (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \ 286618b08247Smrgtouch \$(top_srcdir)/INSTALL; \ 286718b08247Smrgecho 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))" 286818b08247Smrg 286918b08247Smrg 287018b08247Smrg 287118b08247Smrg 287218b08247Smrg 287318b08247Smrg 287418b08247Smrgcase $host_os in 287518b08247Smrg solaris*) 287618b08247Smrg # Solaris 2.0 - 11.3 use SysV man page section numbers, so we 287718b08247Smrg # check for a man page file found in later versions that use 287818b08247Smrg # traditional section numbers instead 28790c1e1135Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5 28800c1e1135Smrgprintf %s "checking for /usr/share/man/man7/attributes.7... " >&6; } 28810c1e1135Smrgif test ${ac_cv_file__usr_share_man_man7_attributes_7+y} 28820c1e1135Smrgthen : 28830c1e1135Smrg printf %s "(cached) " >&6 28840c1e1135Smrgelse $as_nop 288518b08247Smrg test "$cross_compiling" = yes && 288618b08247Smrg as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 288718b08247Smrgif test -r "/usr/share/man/man7/attributes.7"; then 288818b08247Smrg ac_cv_file__usr_share_man_man7_attributes_7=yes 288918b08247Smrgelse 289018b08247Smrg ac_cv_file__usr_share_man_man7_attributes_7=no 289118b08247Smrgfi 289218b08247Smrgfi 28930c1e1135Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5 28940c1e1135Smrgprintf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; } 28950c1e1135Smrgif test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes 28960c1e1135Smrgthen : 289718b08247Smrg SYSV_MAN_SECTIONS=false 28980c1e1135Smrgelse $as_nop 289918b08247Smrg SYSV_MAN_SECTIONS=true 290018b08247Smrgfi 290118b08247Smrg 290218b08247Smrg ;; 290318b08247Smrg *) SYSV_MAN_SECTIONS=false ;; 290418b08247Smrgesac 290518b08247Smrg 290618b08247Smrgif test x$APP_MAN_SUFFIX = x ; then 290718b08247Smrg APP_MAN_SUFFIX=1 290818b08247Smrgfi 290918b08247Smrgif test x$APP_MAN_DIR = x ; then 291018b08247Smrg APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 291118b08247Smrgfi 291218b08247Smrg 291318b08247Smrgif test x$LIB_MAN_SUFFIX = x ; then 291418b08247Smrg LIB_MAN_SUFFIX=3 29152d62a77cSmrgfi 29162d62a77cSmrgif test x$LIB_MAN_DIR = x ; then 29172d62a77cSmrg LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 29182d62a77cSmrgfi 29192d62a77cSmrg 29202d62a77cSmrgif test x$FILE_MAN_SUFFIX = x ; then 292118b08247Smrg case $SYSV_MAN_SECTIONS in 292218b08247Smrg true) FILE_MAN_SUFFIX=4 ;; 292318b08247Smrg *) FILE_MAN_SUFFIX=5 ;; 29242d62a77cSmrg esac 29252d62a77cSmrgfi 29262d62a77cSmrgif test x$FILE_MAN_DIR = x ; then 29272d62a77cSmrg FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 29282d62a77cSmrgfi 29292d62a77cSmrg 29302d62a77cSmrgif test x$MISC_MAN_SUFFIX = x ; then 293118b08247Smrg case $SYSV_MAN_SECTIONS in 293218b08247Smrg true) MISC_MAN_SUFFIX=5 ;; 293318b08247Smrg *) MISC_MAN_SUFFIX=7 ;; 29342d62a77cSmrg esac 29352d62a77cSmrgfi 29362d62a77cSmrgif test x$MISC_MAN_DIR = x ; then 29372d62a77cSmrg MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 29382d62a77cSmrgfi 29392d62a77cSmrg 29402d62a77cSmrgif test x$DRIVER_MAN_SUFFIX = x ; then 294118b08247Smrg case $SYSV_MAN_SECTIONS in 294218b08247Smrg true) DRIVER_MAN_SUFFIX=7 ;; 294318b08247Smrg *) DRIVER_MAN_SUFFIX=4 ;; 29442d62a77cSmrg esac 29452d62a77cSmrgfi 29462d62a77cSmrgif test x$DRIVER_MAN_DIR = x ; then 29472d62a77cSmrg DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 29482d62a77cSmrgfi 29492d62a77cSmrg 29502d62a77cSmrgif test x$ADMIN_MAN_SUFFIX = x ; then 295118b08247Smrg case $SYSV_MAN_SECTIONS in 295218b08247Smrg true) ADMIN_MAN_SUFFIX=1m ;; 295318b08247Smrg *) ADMIN_MAN_SUFFIX=8 ;; 29542d62a77cSmrg esac 29552d62a77cSmrgfi 29562d62a77cSmrgif test x$ADMIN_MAN_DIR = x ; then 29572d62a77cSmrg ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 29582d62a77cSmrgfi 29592d62a77cSmrg 29602d62a77cSmrg 29612d62a77cSmrg 29622d62a77cSmrg 29632d62a77cSmrg 29642d62a77cSmrg 29652d62a77cSmrg 29662d62a77cSmrg 29672d62a77cSmrg 29682d62a77cSmrg 29692d62a77cSmrg 29702d62a77cSmrg 29712d62a77cSmrg 29726d325d25Smrg 29736d325d25Smrg 29746d325d25SmrgXORG_MAN_PAGE="X Version 11" 29756d325d25Smrg 29766d325d25SmrgMAN_SUBSTS="\ 29776d325d25Smrg -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 29786d325d25Smrg -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 29796d325d25Smrg -e 's|__xservername__|Xorg|g' \ 29806d325d25Smrg -e 's|__xconfigfile__|xorg.conf|g' \ 29816d325d25Smrg -e 's|__projectroot__|\$(prefix)|g' \ 29826d325d25Smrg -e 's|__apploaddir__|\$(appdefaultdir)|g' \ 29836d325d25Smrg -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \ 29846d325d25Smrg -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \ 29856d325d25Smrg -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \ 29866d325d25Smrg -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \ 29876d325d25Smrg -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \ 29886d325d25Smrg -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'" 29896d325d25Smrg 29906d325d25Smrg 29916d325d25Smrg 29926d325d25Smrg# Check whether --enable-silent-rules was given. 29930c1e1135Smrgif test ${enable_silent_rules+y} 29940c1e1135Smrgthen : 29956d325d25Smrg enableval=$enable_silent_rules; 29962d62a77cSmrgfi 29972d62a77cSmrg 299818b08247Smrgcase $enable_silent_rules in # ((( 299918b08247Smrg yes) AM_DEFAULT_VERBOSITY=0;; 300018b08247Smrg no) AM_DEFAULT_VERBOSITY=1;; 300118b08247Smrg *) AM_DEFAULT_VERBOSITY=0;; 30026d325d25Smrgesac 300318b08247Smrgam_make=${MAKE-make} 30040c1e1135Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 30050c1e1135Smrgprintf %s "checking whether $am_make supports nested variables... " >&6; } 30060c1e1135Smrgif test ${am_cv_make_support_nested_variables+y} 30070c1e1135Smrgthen : 30080c1e1135Smrg printf %s "(cached) " >&6 30090c1e1135Smrgelse $as_nop 30100c1e1135Smrg if printf "%s\n" 'TRUE=$(BAR$(V)) 301118b08247SmrgBAR0=false 301218b08247SmrgBAR1=true 301318b08247SmrgV=1 301418b08247Smrgam__doit: 301518b08247Smrg @$(TRUE) 301618b08247Smrg.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 301718b08247Smrg am_cv_make_support_nested_variables=yes 301818b08247Smrgelse 301918b08247Smrg am_cv_make_support_nested_variables=no 302018b08247Smrgfi 302118b08247Smrgfi 30220c1e1135Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 30230c1e1135Smrgprintf "%s\n" "$am_cv_make_support_nested_variables" >&6; } 302418b08247Smrgif test $am_cv_make_support_nested_variables = yes; then 302518b08247Smrg AM_V='$(V)' 302618b08247Smrg AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 302718b08247Smrgelse 302818b08247Smrg AM_V=$AM_DEFAULT_VERBOSITY 302918b08247Smrg AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 303018b08247Smrgfi 30316d325d25SmrgAM_BACKSLASH='\' 30326d325d25Smrg 30336d325d25Smrg 30346d325d25Smrg 303518b08247Smrg# Require X.Org's font util macros 1.2 or later 303618b08247Smrg 303718b08247Smrg 303818b08247Smrg 303918b08247Smrg 304018b08247Smrg 304118b08247Smrg 304218b08247Smrg 304318b08247Smrg 304418b08247Smrg 304518b08247Smrg 304618b08247Smrg 304718b08247Smrg 30482d62a77cSmrg 30496d325d25Smrg 30506d325d25Smrg 30510c1e1135Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for root directory for font files" >&5 30520c1e1135Smrgprintf %s "checking for root directory for font files... " >&6; } 30532d62a77cSmrg 30542d62a77cSmrg# Check whether --with-fontrootdir was given. 30550c1e1135Smrgif test ${with_fontrootdir+y} 30560c1e1135Smrgthen : 30572d62a77cSmrg withval=$with_fontrootdir; FONTROOTDIR="$withval" 30582d62a77cSmrgfi 30592d62a77cSmrg 30602d62a77cSmrg # if --with-fontrootdir not specified... 30612d62a77cSmrg if test "x${FONTROOTDIR}" = "x"; then 30622d62a77cSmrg FONTROOTDIR=`$PKG_CONFIG --variable=fontrootdir fontutil` 30632d62a77cSmrg fi 30642d62a77cSmrg # ...and if pkg-config didn't find fontdir in fontutil.pc... 30652d62a77cSmrg if test "x${FONTROOTDIR}" = "x"; then 30662d62a77cSmrg FONTROOTDIR="${datadir}/fonts/X11" 3067a99f82b8Smrg fi 3068a99f82b8Smrg 30690c1e1135Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${FONTROOTDIR}" >&5 30700c1e1135Smrgprintf "%s\n" "${FONTROOTDIR}" >&6; } 30712d62a77cSmrg 30722d62a77cSmrg 30732d62a77cSmrg 30742d62a77cSmrg# Check whether --with-top-fontdir was given. 30750c1e1135Smrgif test ${with_top_fontdir+y} 30760c1e1135Smrgthen : 30776d325d25Smrg withval=$with_top_fontdir; as_fn_error $? "--with-top-fontdir is obsolete, use --with-fontrootdir instead" "$LINENO" 5 30782d62a77cSmrgfi 30792d62a77cSmrg 30802d62a77cSmrg 30812d62a77cSmrg 30822d62a77cSmrgac_config_files="$ac_config_files Makefile 100dpi/Makefile 75dpi/Makefile cyrillic/Makefile misc/Makefile" 3083a99f82b8Smrg 3084a99f82b8Smrgcat >confcache <<\_ACEOF 3085a99f82b8Smrg# This file is a shell script that caches the results of configure 3086a99f82b8Smrg# tests run on this system so they can be shared between configure 3087a99f82b8Smrg# scripts and configure runs, see configure's option --config-cache. 3088a99f82b8Smrg# It is not useful on other systems. If it contains results you don't 3089a99f82b8Smrg# want to keep, you may remove or edit it. 3090a99f82b8Smrg# 3091a99f82b8Smrg# config.status only pays attention to the cache file if you give it 3092a99f82b8Smrg# the --recheck option to rerun configure. 3093a99f82b8Smrg# 3094a99f82b8Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when 3095a99f82b8Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the 3096a99f82b8Smrg# following values. 3097a99f82b8Smrg 3098a99f82b8Smrg_ACEOF 3099a99f82b8Smrg 3100a99f82b8Smrg# The following way of writing the cache mishandles newlines in values, 3101a99f82b8Smrg# but we know of no workaround that is simple, portable, and efficient. 31022d62a77cSmrg# So, we kill variables containing newlines. 3103a99f82b8Smrg# Ultrix sh set writes to stderr and can't be redirected directly, 3104a99f82b8Smrg# and sets the high bit in the cache file unless we assign to the vars. 31052d62a77cSmrg( 31062d62a77cSmrg for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 31072d62a77cSmrg eval ac_val=\$$ac_var 31082d62a77cSmrg case $ac_val in #( 31092d62a77cSmrg *${as_nl}*) 31102d62a77cSmrg case $ac_var in #( 31110c1e1135Smrg *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 31120c1e1135Smrgprintf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 31132d62a77cSmrg esac 31142d62a77cSmrg case $ac_var in #( 31152d62a77cSmrg _ | IFS | as_nl) ;; #( 31162d62a77cSmrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 31176d325d25Smrg *) { eval $ac_var=; unset $ac_var;} ;; 31182d62a77cSmrg esac ;; 31192d62a77cSmrg esac 31202d62a77cSmrg done 31212d62a77cSmrg 3122a99f82b8Smrg (set) 2>&1 | 31232d62a77cSmrg case $as_nl`(ac_space=' '; set) 2>&1` in #( 31242d62a77cSmrg *${as_nl}ac_space=\ *) 31256d325d25Smrg # `set' does not quote correctly, so add quotes: double-quote 31266d325d25Smrg # substitution turns \\\\ into \\, and sed turns \\ into \. 3127a99f82b8Smrg sed -n \ 3128a99f82b8Smrg "s/'/'\\\\''/g; 3129a99f82b8Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 31302d62a77cSmrg ;; #( 3131a99f82b8Smrg *) 3132a99f82b8Smrg # `set' quotes correctly as required by POSIX, so do not add quotes. 31332d62a77cSmrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 3134a99f82b8Smrg ;; 31352d62a77cSmrg esac | 31362d62a77cSmrg sort 31372d62a77cSmrg) | 3138a99f82b8Smrg sed ' 31392d62a77cSmrg /^ac_cv_env_/b end 3140a99f82b8Smrg t clear 31412d62a77cSmrg :clear 31420c1e1135Smrg s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ 3143a99f82b8Smrg t end 31442d62a77cSmrg s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 31452d62a77cSmrg :end' >>confcache 31462d62a77cSmrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 31472d62a77cSmrg if test -w "$cache_file"; then 31486d325d25Smrg if test "x$cache_file" != "x/dev/null"; then 31490c1e1135Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 31500c1e1135Smrgprintf "%s\n" "$as_me: updating cache $cache_file" >&6;} 31516d325d25Smrg if test ! -f "$cache_file" || test -h "$cache_file"; then 31526d325d25Smrg cat confcache >"$cache_file" 31536d325d25Smrg else 31546d325d25Smrg case $cache_file in #( 31556d325d25Smrg */* | ?:*) 31566d325d25Smrg mv -f confcache "$cache_file"$$ && 31576d325d25Smrg mv -f "$cache_file"$$ "$cache_file" ;; #( 31586d325d25Smrg *) 31596d325d25Smrg mv -f confcache "$cache_file" ;; 31606d325d25Smrg esac 31616d325d25Smrg fi 31626d325d25Smrg fi 3163a99f82b8Smrg else 31640c1e1135Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 31650c1e1135Smrgprintf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} 3166a99f82b8Smrg fi 3167a99f82b8Smrgfi 3168a99f82b8Smrgrm -f confcache 3169a99f82b8Smrg 3170a99f82b8Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix 3171a99f82b8Smrg# Let make expand exec_prefix. 3172a99f82b8Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 3173a99f82b8Smrg 3174a99f82b8Smrg# Transform confdefs.h into DEFS. 3175a99f82b8Smrg# Protect against shell expansion while executing Makefile rules. 3176a99f82b8Smrg# Protect against Makefile macro expansion. 3177a99f82b8Smrg# 3178a99f82b8Smrg# If the first sed substitution is executed (which looks for macros that 31792d62a77cSmrg# take arguments), then branch to the quote section. Otherwise, 3180a99f82b8Smrg# look for a macro that doesn't take arguments. 31812d62a77cSmrgac_script=' 31822d62a77cSmrg:mline 31832d62a77cSmrg/\\$/{ 31842d62a77cSmrg N 31852d62a77cSmrg s,\\\n,, 31862d62a77cSmrg b mline 31872d62a77cSmrg} 3188a99f82b8Smrgt clear 31892d62a77cSmrg:clear 31902d62a77cSmrgs/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 3191a99f82b8Smrgt quote 31922d62a77cSmrgs/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 3193a99f82b8Smrgt quote 31942d62a77cSmrgb any 31952d62a77cSmrg:quote 31962d62a77cSmrgs/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 31972d62a77cSmrgs/\[/\\&/g 31982d62a77cSmrgs/\]/\\&/g 31992d62a77cSmrgs/\$/$$/g 32002d62a77cSmrgH 32012d62a77cSmrg:any 32022d62a77cSmrg${ 32032d62a77cSmrg g 32042d62a77cSmrg s/^\n// 32052d62a77cSmrg s/\n/ /g 32062d62a77cSmrg p 32072d62a77cSmrg} 32082d62a77cSmrg' 32092d62a77cSmrgDEFS=`sed -n "$ac_script" confdefs.h` 3210a99f82b8Smrg 3211a99f82b8Smrg 3212a99f82b8Smrgac_libobjs= 3213a99f82b8Smrgac_ltlibobjs= 32146d325d25SmrgU= 3215a99f82b8Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 3216a99f82b8Smrg # 1. Remove the extension, and $U if already installed. 32172d62a77cSmrg ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 32180c1e1135Smrg ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"` 32192d62a77cSmrg # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 32202d62a77cSmrg # will be set to the directory where LIBOBJS objects are built. 32216d325d25Smrg as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 32226d325d25Smrg as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 3223a99f82b8Smrgdone 3224a99f82b8SmrgLIBOBJS=$ac_libobjs 3225a99f82b8Smrg 3226a99f82b8SmrgLTLIBOBJS=$ac_ltlibobjs 3227a99f82b8Smrg 3228a99f82b8Smrg 32290c1e1135Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 32300c1e1135Smrgprintf %s "checking that generated files are newer than configure... " >&6; } 323118b08247Smrg if test -n "$am_sleep_pid"; then 323218b08247Smrg # Hide warnings about reused PIDs. 323318b08247Smrg wait $am_sleep_pid 2>/dev/null 323418b08247Smrg fi 32350c1e1135Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5 32360c1e1135Smrgprintf "%s\n" "done" >&6; } 32372d62a77cSmrg 3238a99f82b8Smrg 32396d325d25Smrg: "${CONFIG_STATUS=./config.status}" 32402d62a77cSmrgac_write_fail=0 3241a99f82b8Smrgac_clean_files_save=$ac_clean_files 3242a99f82b8Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS" 32430c1e1135Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 32440c1e1135Smrgprintf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} 32456d325d25Smrgas_write_fail=0 32466d325d25Smrgcat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 3247a99f82b8Smrg#! $SHELL 3248a99f82b8Smrg# Generated by $as_me. 3249a99f82b8Smrg# Run this file to recreate the current configuration. 3250a99f82b8Smrg# Compiler output produced by configure, useful for debugging 3251a99f82b8Smrg# configure, is in config.log if it exists. 3252a99f82b8Smrg 3253a99f82b8Smrgdebug=false 3254a99f82b8Smrgac_cs_recheck=false 3255a99f82b8Smrgac_cs_silent=false 3256a99f82b8Smrg 32576d325d25SmrgSHELL=\${CONFIG_SHELL-$SHELL} 32586d325d25Smrgexport SHELL 32596d325d25Smrg_ASEOF 32606d325d25Smrgcat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 32616d325d25Smrg## -------------------- ## 32626d325d25Smrg## M4sh Initialization. ## 32636d325d25Smrg## -------------------- ## 3264a99f82b8Smrg 32652d62a77cSmrg# Be more Bourne compatible 32662d62a77cSmrgDUALCASE=1; export DUALCASE # for MKS sh 32670c1e1135Smrgas_nop=: 32680c1e1135Smrgif test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 32690c1e1135Smrgthen : 3270a99f82b8Smrg emulate sh 3271a99f82b8Smrg NULLCMD=: 32722d62a77cSmrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 3273a99f82b8Smrg # is contrary to our usage. Disable this feature. 3274a99f82b8Smrg alias -g '${1+"$@"}'='"$@"' 32752d62a77cSmrg setopt NO_GLOB_SUBST 32760c1e1135Smrgelse $as_nop 32776d325d25Smrg case `(set -o) 2>/dev/null` in #( 32786d325d25Smrg *posix*) : 32796d325d25Smrg set -o posix ;; #( 32806d325d25Smrg *) : 32816d325d25Smrg ;; 32822d62a77cSmrgesac 32832d62a77cSmrgfi 32842d62a77cSmrg 32852d62a77cSmrg 32860c1e1135Smrg 32870c1e1135Smrg# Reset variables that may have inherited troublesome values from 32880c1e1135Smrg# the environment. 32890c1e1135Smrg 32900c1e1135Smrg# IFS needs to be set, to space, tab, and newline, in precisely that order. 32910c1e1135Smrg# (If _AS_PATH_WALK were called with IFS unset, it would have the 32920c1e1135Smrg# side effect of setting IFS to empty, thus disabling word splitting.) 32930c1e1135Smrg# Quoting is to prevent editors from complaining about space-tab. 32942d62a77cSmrgas_nl=' 32952d62a77cSmrg' 32962d62a77cSmrgexport as_nl 32970c1e1135SmrgIFS=" "" $as_nl" 32980c1e1135Smrg 32990c1e1135SmrgPS1='$ ' 33000c1e1135SmrgPS2='> ' 33010c1e1135SmrgPS4='+ ' 33020c1e1135Smrg 33030c1e1135Smrg# Ensure predictable behavior from utilities with locale-dependent output. 33040c1e1135SmrgLC_ALL=C 33050c1e1135Smrgexport LC_ALL 33060c1e1135SmrgLANGUAGE=C 33070c1e1135Smrgexport LANGUAGE 33080c1e1135Smrg 33090c1e1135Smrg# We cannot yet rely on "unset" to work, but we need these variables 33100c1e1135Smrg# to be unset--not just set to an empty or harmless value--now, to 33110c1e1135Smrg# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct 33120c1e1135Smrg# also avoids known problems related to "unset" and subshell syntax 33130c1e1135Smrg# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). 33140c1e1135Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 33150c1e1135Smrgdo eval test \${$as_var+y} \ 33160c1e1135Smrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 33170c1e1135Smrgdone 33180c1e1135Smrg 33190c1e1135Smrg# Ensure that fds 0, 1, and 2 are open. 33200c1e1135Smrgif (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 33210c1e1135Smrgif (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 33220c1e1135Smrgif (exec 3>&2) ; then :; else exec 2>/dev/null; fi 33232d62a77cSmrg 33242d62a77cSmrg# The user is always right. 33250c1e1135Smrgif ${PATH_SEPARATOR+false} :; then 33262d62a77cSmrg PATH_SEPARATOR=: 33272d62a77cSmrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 33282d62a77cSmrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 33292d62a77cSmrg PATH_SEPARATOR=';' 33302d62a77cSmrg } 3331a99f82b8Smrgfi 3332a99f82b8Smrg 3333a99f82b8Smrg 33342d62a77cSmrg# Find who we are. Look in the path if we contain no directory separator. 33356d325d25Smrgas_myself= 33366d325d25Smrgcase $0 in #(( 33372d62a77cSmrg *[\\/]* ) as_myself=$0 ;; 33382d62a77cSmrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 33392d62a77cSmrgfor as_dir in $PATH 33402d62a77cSmrgdo 33412d62a77cSmrg IFS=$as_save_IFS 33420c1e1135Smrg case $as_dir in #((( 33430c1e1135Smrg '') as_dir=./ ;; 33440c1e1135Smrg */) ;; 33450c1e1135Smrg *) as_dir=$as_dir/ ;; 33460c1e1135Smrg esac 33470c1e1135Smrg test -r "$as_dir$0" && as_myself=$as_dir$0 && break 33486d325d25Smrg done 33492d62a77cSmrgIFS=$as_save_IFS 33502d62a77cSmrg 33512d62a77cSmrg ;; 33522d62a77cSmrgesac 33532d62a77cSmrg# We did not find ourselves, most probably we were run as `sh COMMAND' 33542d62a77cSmrg# in which case we are not to be found in the path. 33552d62a77cSmrgif test "x$as_myself" = x; then 33562d62a77cSmrg as_myself=$0 33572d62a77cSmrgfi 33582d62a77cSmrgif test ! -f "$as_myself"; then 33590c1e1135Smrg printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 33606d325d25Smrg exit 1 33612d62a77cSmrgfi 33622d62a77cSmrg 33636d325d25Smrg 33646d325d25Smrg 33656d325d25Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 33666d325d25Smrg# ---------------------------------------- 33676d325d25Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 33686d325d25Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 33696d325d25Smrg# script with STATUS, using 1 if that was 0. 33706d325d25Smrgas_fn_error () 33716d325d25Smrg{ 33726d325d25Smrg as_status=$1; test $as_status -eq 0 && as_status=1 33736d325d25Smrg if test "$4"; then 33746d325d25Smrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 33750c1e1135Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 33766d325d25Smrg fi 33770c1e1135Smrg printf "%s\n" "$as_me: error: $2" >&2 33786d325d25Smrg as_fn_exit $as_status 33796d325d25Smrg} # as_fn_error 33806d325d25Smrg 33816d325d25Smrg 33820c1e1135Smrg 33836d325d25Smrg# as_fn_set_status STATUS 33846d325d25Smrg# ----------------------- 33856d325d25Smrg# Set $? to STATUS, without forking. 33866d325d25Smrgas_fn_set_status () 33876d325d25Smrg{ 33886d325d25Smrg return $1 33896d325d25Smrg} # as_fn_set_status 33906d325d25Smrg 33916d325d25Smrg# as_fn_exit STATUS 33926d325d25Smrg# ----------------- 33936d325d25Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 33946d325d25Smrgas_fn_exit () 33956d325d25Smrg{ 33966d325d25Smrg set +e 33976d325d25Smrg as_fn_set_status $1 33986d325d25Smrg exit $1 33996d325d25Smrg} # as_fn_exit 34006d325d25Smrg 34016d325d25Smrg# as_fn_unset VAR 34026d325d25Smrg# --------------- 34036d325d25Smrg# Portably unset VAR. 34046d325d25Smrgas_fn_unset () 34056d325d25Smrg{ 34066d325d25Smrg { eval $1=; unset $1;} 34076d325d25Smrg} 34086d325d25Smrgas_unset=as_fn_unset 34090c1e1135Smrg 34106d325d25Smrg# as_fn_append VAR VALUE 34116d325d25Smrg# ---------------------- 34126d325d25Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take 34136d325d25Smrg# advantage of any shell optimizations that allow amortized linear growth over 34146d325d25Smrg# repeated appends, instead of the typical quadratic growth present in naive 34156d325d25Smrg# implementations. 34160c1e1135Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 34170c1e1135Smrgthen : 34186d325d25Smrg eval 'as_fn_append () 34196d325d25Smrg { 34206d325d25Smrg eval $1+=\$2 34216d325d25Smrg }' 34220c1e1135Smrgelse $as_nop 34236d325d25Smrg as_fn_append () 34246d325d25Smrg { 34256d325d25Smrg eval $1=\$$1\$2 34266d325d25Smrg } 34276d325d25Smrgfi # as_fn_append 34286d325d25Smrg 34296d325d25Smrg# as_fn_arith ARG... 34306d325d25Smrg# ------------------ 34316d325d25Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the 34326d325d25Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 34336d325d25Smrg# must be portable across $(()) and expr. 34340c1e1135Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 34350c1e1135Smrgthen : 34366d325d25Smrg eval 'as_fn_arith () 34376d325d25Smrg { 34386d325d25Smrg as_val=$(( $* )) 34396d325d25Smrg }' 34400c1e1135Smrgelse $as_nop 34416d325d25Smrg as_fn_arith () 34426d325d25Smrg { 34436d325d25Smrg as_val=`expr "$@" || test $? -eq 1` 34446d325d25Smrg } 34456d325d25Smrgfi # as_fn_arith 34466d325d25Smrg 34476d325d25Smrg 34482d62a77cSmrgif expr a : '\(a\)' >/dev/null 2>&1 && 34492d62a77cSmrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 3450a99f82b8Smrg as_expr=expr 3451a99f82b8Smrgelse 3452a99f82b8Smrg as_expr=false 3453a99f82b8Smrgfi 3454a99f82b8Smrg 34552d62a77cSmrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 3456a99f82b8Smrg as_basename=basename 3457a99f82b8Smrgelse 3458a99f82b8Smrg as_basename=false 3459a99f82b8Smrgfi 3460a99f82b8Smrg 34616d325d25Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 34626d325d25Smrg as_dirname=dirname 34636d325d25Smrgelse 34646d325d25Smrg as_dirname=false 34656d325d25Smrgfi 3466a99f82b8Smrg 34672d62a77cSmrgas_me=`$as_basename -- "$0" || 3468a99f82b8Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 3469a99f82b8Smrg X"$0" : 'X\(//\)$' \| \ 34702d62a77cSmrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 34710c1e1135Smrgprintf "%s\n" X/"$0" | 34722d62a77cSmrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 34732d62a77cSmrg s//\1/ 34742d62a77cSmrg q 34752d62a77cSmrg } 34762d62a77cSmrg /^X\/\(\/\/\)$/{ 34772d62a77cSmrg s//\1/ 34782d62a77cSmrg q 34792d62a77cSmrg } 34802d62a77cSmrg /^X\/\(\/\).*/{ 34812d62a77cSmrg s//\1/ 34822d62a77cSmrg q 34832d62a77cSmrg } 34842d62a77cSmrg s/.*/./; q'` 3485a99f82b8Smrg 34866d325d25Smrg# Avoid depending upon Character Ranges. 34876d325d25Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 34886d325d25Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 34896d325d25Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 34906d325d25Smrgas_cr_digits='0123456789' 34916d325d25Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 3492a99f82b8Smrg 34930c1e1135Smrg 34940c1e1135Smrg# Determine whether it's possible to make 'echo' print without a newline. 34950c1e1135Smrg# These variables are no longer used directly by Autoconf, but are AC_SUBSTed 34960c1e1135Smrg# for compatibility with existing Makefiles. 34972d62a77cSmrgECHO_C= ECHO_N= ECHO_T= 34986d325d25Smrgcase `echo -n x` in #((((( 34992d62a77cSmrg-n*) 35006d325d25Smrg case `echo 'xy\c'` in 35012d62a77cSmrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 35026d325d25Smrg xy) ECHO_C='\c';; 35036d325d25Smrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 35046d325d25Smrg ECHO_T=' ';; 35052d62a77cSmrg esac;; 35062d62a77cSmrg*) 35072d62a77cSmrg ECHO_N='-n';; 35082d62a77cSmrgesac 3509a99f82b8Smrg 35100c1e1135Smrg# For backward compatibility with old third-party macros, we provide 35110c1e1135Smrg# the shell variables $as_echo and $as_echo_n. New code should use 35120c1e1135Smrg# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. 35130c1e1135Smrgas_echo='printf %s\n' 35140c1e1135Smrgas_echo_n='printf %s' 35150c1e1135Smrg 3516a99f82b8Smrgrm -f conf$$ conf$$.exe conf$$.file 35172d62a77cSmrgif test -d conf$$.dir; then 35182d62a77cSmrg rm -f conf$$.dir/conf$$.file 35192d62a77cSmrgelse 35202d62a77cSmrg rm -f conf$$.dir 35212d62a77cSmrg mkdir conf$$.dir 2>/dev/null 35222d62a77cSmrgfi 35232d62a77cSmrgif (echo >conf$$.file) 2>/dev/null; then 35242d62a77cSmrg if ln -s conf$$.file conf$$ 2>/dev/null; then 3525a99f82b8Smrg as_ln_s='ln -s' 35262d62a77cSmrg # ... but there are two gotchas: 35272d62a77cSmrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 35282d62a77cSmrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 352918b08247Smrg # In both cases, we have to default to `cp -pR'. 35302d62a77cSmrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 353118b08247Smrg as_ln_s='cp -pR' 35322d62a77cSmrg elif ln conf$$.file conf$$ 2>/dev/null; then 35332d62a77cSmrg as_ln_s=ln 35342d62a77cSmrg else 353518b08247Smrg as_ln_s='cp -pR' 3536a99f82b8Smrg fi 3537a99f82b8Smrgelse 353818b08247Smrg as_ln_s='cp -pR' 3539a99f82b8Smrgfi 35402d62a77cSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 35412d62a77cSmrgrmdir conf$$.dir 2>/dev/null 3542a99f82b8Smrg 35436d325d25Smrg 35446d325d25Smrg# as_fn_mkdir_p 35456d325d25Smrg# ------------- 35466d325d25Smrg# Create "$as_dir" as a directory, including parents if necessary. 35476d325d25Smrgas_fn_mkdir_p () 35486d325d25Smrg{ 35496d325d25Smrg 35506d325d25Smrg case $as_dir in #( 35516d325d25Smrg -*) as_dir=./$as_dir;; 35526d325d25Smrg esac 35536d325d25Smrg test -d "$as_dir" || eval $as_mkdir_p || { 35546d325d25Smrg as_dirs= 35556d325d25Smrg while :; do 35566d325d25Smrg case $as_dir in #( 35570c1e1135Smrg *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 35586d325d25Smrg *) as_qdir=$as_dir;; 35596d325d25Smrg esac 35606d325d25Smrg as_dirs="'$as_qdir' $as_dirs" 35616d325d25Smrg as_dir=`$as_dirname -- "$as_dir" || 35626d325d25Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 35636d325d25Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 35646d325d25Smrg X"$as_dir" : 'X\(//\)$' \| \ 35656d325d25Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 35660c1e1135Smrgprintf "%s\n" X"$as_dir" | 35676d325d25Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 35686d325d25Smrg s//\1/ 35696d325d25Smrg q 35706d325d25Smrg } 35716d325d25Smrg /^X\(\/\/\)[^/].*/{ 35726d325d25Smrg s//\1/ 35736d325d25Smrg q 35746d325d25Smrg } 35756d325d25Smrg /^X\(\/\/\)$/{ 35766d325d25Smrg s//\1/ 35776d325d25Smrg q 35786d325d25Smrg } 35796d325d25Smrg /^X\(\/\).*/{ 35806d325d25Smrg s//\1/ 35816d325d25Smrg q 35826d325d25Smrg } 35836d325d25Smrg s/.*/./; q'` 35846d325d25Smrg test -d "$as_dir" && break 35856d325d25Smrg done 35866d325d25Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 35876d325d25Smrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 35886d325d25Smrg 35896d325d25Smrg 35906d325d25Smrg} # as_fn_mkdir_p 3591a99f82b8Smrgif mkdir -p . 2>/dev/null; then 35926d325d25Smrg as_mkdir_p='mkdir -p "$as_dir"' 3593a99f82b8Smrgelse 3594a99f82b8Smrg test -d ./-p && rmdir ./-p 3595a99f82b8Smrg as_mkdir_p=false 3596a99f82b8Smrgfi 3597a99f82b8Smrg 359818b08247Smrg 359918b08247Smrg# as_fn_executable_p FILE 360018b08247Smrg# ----------------------- 360118b08247Smrg# Test if FILE is an executable regular file. 360218b08247Smrgas_fn_executable_p () 360318b08247Smrg{ 360418b08247Smrg test -f "$1" && test -x "$1" 360518b08247Smrg} # as_fn_executable_p 360618b08247Smrgas_test_x='test -x' 360718b08247Smrgas_executable_p=as_fn_executable_p 3608a99f82b8Smrg 3609a99f82b8Smrg# Sed expression to map a string onto a valid CPP name. 3610a99f82b8Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 3611a99f82b8Smrg 3612a99f82b8Smrg# Sed expression to map a string onto a valid variable name. 3613a99f82b8Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 3614a99f82b8Smrg 3615a99f82b8Smrg 3616a99f82b8Smrgexec 6>&1 36176d325d25Smrg## ----------------------------------- ## 36186d325d25Smrg## Main body of $CONFIG_STATUS script. ## 36196d325d25Smrg## ----------------------------------- ## 36206d325d25Smrg_ASEOF 36216d325d25Smrgtest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 3622a99f82b8Smrg 36236d325d25Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 36246d325d25Smrg# Save the log message, to keep $0 and so on meaningful, and to 3625a99f82b8Smrg# report actual input values of CONFIG_FILES etc. instead of their 36262d62a77cSmrg# values after options handling. 36272d62a77cSmrgac_log=" 36280c1e1135SmrgThis file was extended by font-alias $as_me 1.0.5, which was 36290c1e1135Smrggenerated by GNU Autoconf 2.71. Invocation command line was 3630a99f82b8Smrg 3631a99f82b8Smrg CONFIG_FILES = $CONFIG_FILES 3632a99f82b8Smrg CONFIG_HEADERS = $CONFIG_HEADERS 3633a99f82b8Smrg CONFIG_LINKS = $CONFIG_LINKS 3634a99f82b8Smrg CONFIG_COMMANDS = $CONFIG_COMMANDS 3635a99f82b8Smrg $ $0 $@ 3636a99f82b8Smrg 36372d62a77cSmrgon `(hostname || uname -n) 2>/dev/null | sed 1q` 36382d62a77cSmrg" 36392d62a77cSmrg 3640a99f82b8Smrg_ACEOF 3641a99f82b8Smrg 36422d62a77cSmrgcase $ac_config_files in *" 36432d62a77cSmrg"*) set x $ac_config_files; shift; ac_config_files=$*;; 36442d62a77cSmrgesac 3645a99f82b8Smrg 3646a99f82b8Smrg 3647a99f82b8Smrg 36482d62a77cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 36492d62a77cSmrg# Files that config.status was made for. 36502d62a77cSmrgconfig_files="$ac_config_files" 3651a99f82b8Smrg 36522d62a77cSmrg_ACEOF 3653a99f82b8Smrg 36542d62a77cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3655a99f82b8Smrgac_cs_usage="\ 36566d325d25Smrg\`$as_me' instantiates files and other configuration actions 36576d325d25Smrgfrom templates according to the current configuration. Unless the files 36586d325d25Smrgand actions are specified as TAGs, all are instantiated by default. 3659a99f82b8Smrg 36606d325d25SmrgUsage: $0 [OPTION]... [TAG]... 3661a99f82b8Smrg 3662a99f82b8Smrg -h, --help print this help, then exit 36632d62a77cSmrg -V, --version print version number and configuration settings, then exit 36646d325d25Smrg --config print configuration, then exit 36652d62a77cSmrg -q, --quiet, --silent 36662d62a77cSmrg do not print progress messages 3667a99f82b8Smrg -d, --debug don't remove temporary files 3668a99f82b8Smrg --recheck update $as_me by reconfiguring in the same conditions 36692d62a77cSmrg --file=FILE[:TEMPLATE] 36702d62a77cSmrg instantiate the configuration file FILE 3671a99f82b8Smrg 3672a99f82b8SmrgConfiguration files: 3673a99f82b8Smrg$config_files 3674a99f82b8Smrg 36750c1e1135SmrgReport bugs to <https://gitlab.freedesktop.org/xorg/font/alias/-/issues>." 3676a99f82b8Smrg 36772d62a77cSmrg_ACEOF 36780c1e1135Smrgac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` 36790c1e1135Smrgac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` 36802d62a77cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 36810c1e1135Smrgac_cs_config='$ac_cs_config_escaped' 3682a99f82b8Smrgac_cs_version="\\ 36830c1e1135Smrgfont-alias config.status 1.0.5 36840c1e1135Smrgconfigured by $0, generated by GNU Autoconf 2.71, 36856d325d25Smrg with options \\"\$ac_cs_config\\" 3686a99f82b8Smrg 36870c1e1135SmrgCopyright (C) 2021 Free Software Foundation, Inc. 3688a99f82b8SmrgThis config.status script is free software; the Free Software Foundation 3689a99f82b8Smrggives unlimited permission to copy, distribute and modify it." 36902d62a77cSmrg 36912d62a77cSmrgac_pwd='$ac_pwd' 36922d62a77cSmrgsrcdir='$srcdir' 36932d62a77cSmrgINSTALL='$INSTALL' 36942d62a77cSmrgMKDIR_P='$MKDIR_P' 36952d62a77cSmrgAWK='$AWK' 36962d62a77cSmrgtest -n "\$AWK" || AWK=awk 3697a99f82b8Smrg_ACEOF 3698a99f82b8Smrg 36992d62a77cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 37002d62a77cSmrg# The default lists apply if the user does not specify any file. 3701a99f82b8Smrgac_need_defaults=: 3702a99f82b8Smrgwhile test $# != 0 3703a99f82b8Smrgdo 3704a99f82b8Smrg case $1 in 37056d325d25Smrg --*=?*) 37062d62a77cSmrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 37072d62a77cSmrg ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 3708a99f82b8Smrg ac_shift=: 3709a99f82b8Smrg ;; 37106d325d25Smrg --*=) 37116d325d25Smrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 37126d325d25Smrg ac_optarg= 37136d325d25Smrg ac_shift=: 37146d325d25Smrg ;; 37152d62a77cSmrg *) 3716a99f82b8Smrg ac_option=$1 3717a99f82b8Smrg ac_optarg=$2 3718a99f82b8Smrg ac_shift=shift 3719a99f82b8Smrg ;; 3720a99f82b8Smrg esac 3721a99f82b8Smrg 3722a99f82b8Smrg case $ac_option in 3723a99f82b8Smrg # Handling of the options. 3724a99f82b8Smrg -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 3725a99f82b8Smrg ac_cs_recheck=: ;; 37262d62a77cSmrg --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 37270c1e1135Smrg printf "%s\n" "$ac_cs_version"; exit ;; 37286d325d25Smrg --config | --confi | --conf | --con | --co | --c ) 37290c1e1135Smrg printf "%s\n" "$ac_cs_config"; exit ;; 37302d62a77cSmrg --debug | --debu | --deb | --de | --d | -d ) 3731a99f82b8Smrg debug=: ;; 3732a99f82b8Smrg --file | --fil | --fi | --f ) 3733a99f82b8Smrg $ac_shift 37342d62a77cSmrg case $ac_optarg in 37350c1e1135Smrg *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 37366d325d25Smrg '') as_fn_error $? "missing file argument" ;; 37372d62a77cSmrg esac 37386d325d25Smrg as_fn_append CONFIG_FILES " '$ac_optarg'" 3739a99f82b8Smrg ac_need_defaults=false;; 37402d62a77cSmrg --he | --h | --help | --hel | -h ) 37410c1e1135Smrg printf "%s\n" "$ac_cs_usage"; exit ;; 3742a99f82b8Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 3743a99f82b8Smrg | -silent | --silent | --silen | --sile | --sil | --si | --s) 3744a99f82b8Smrg ac_cs_silent=: ;; 3745a99f82b8Smrg 3746a99f82b8Smrg # This is an error. 37476d325d25Smrg -*) as_fn_error $? "unrecognized option: \`$1' 37486d325d25SmrgTry \`$0 --help' for more information." ;; 3749a99f82b8Smrg 37506d325d25Smrg *) as_fn_append ac_config_targets " $1" 37512d62a77cSmrg ac_need_defaults=false ;; 3752a99f82b8Smrg 3753a99f82b8Smrg esac 3754a99f82b8Smrg shift 3755a99f82b8Smrgdone 3756a99f82b8Smrg 3757a99f82b8Smrgac_configure_extra_args= 3758a99f82b8Smrg 3759a99f82b8Smrgif $ac_cs_silent; then 3760a99f82b8Smrg exec 6>/dev/null 3761a99f82b8Smrg ac_configure_extra_args="$ac_configure_extra_args --silent" 3762a99f82b8Smrgfi 3763a99f82b8Smrg 3764a99f82b8Smrg_ACEOF 37652d62a77cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3766a99f82b8Smrgif \$ac_cs_recheck; then 376718b08247Smrg set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 37682d62a77cSmrg shift 37690c1e1135Smrg \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 37702d62a77cSmrg CONFIG_SHELL='$SHELL' 37712d62a77cSmrg export CONFIG_SHELL 37722d62a77cSmrg exec "\$@" 3773a99f82b8Smrgfi 3774a99f82b8Smrg 3775a99f82b8Smrg_ACEOF 37762d62a77cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 37772d62a77cSmrgexec 5>>config.log 37782d62a77cSmrg{ 37792d62a77cSmrg echo 37802d62a77cSmrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 37812d62a77cSmrg## Running $as_me. ## 37822d62a77cSmrg_ASBOX 37830c1e1135Smrg printf "%s\n" "$ac_log" 37842d62a77cSmrg} >&5 3785a99f82b8Smrg 37862d62a77cSmrg_ACEOF 37872d62a77cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 37882d62a77cSmrg_ACEOF 3789a99f82b8Smrg 37902d62a77cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3791a99f82b8Smrg 37922d62a77cSmrg# Handling of arguments. 3793a99f82b8Smrgfor ac_config_target in $ac_config_targets 3794a99f82b8Smrgdo 37952d62a77cSmrg case $ac_config_target in 37962d62a77cSmrg "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 37972d62a77cSmrg "100dpi/Makefile") CONFIG_FILES="$CONFIG_FILES 100dpi/Makefile" ;; 37982d62a77cSmrg "75dpi/Makefile") CONFIG_FILES="$CONFIG_FILES 75dpi/Makefile" ;; 37992d62a77cSmrg "cyrillic/Makefile") CONFIG_FILES="$CONFIG_FILES cyrillic/Makefile" ;; 38002d62a77cSmrg "misc/Makefile") CONFIG_FILES="$CONFIG_FILES misc/Makefile" ;; 38012d62a77cSmrg 38026d325d25Smrg *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 3803a99f82b8Smrg esac 3804a99f82b8Smrgdone 3805a99f82b8Smrg 38062d62a77cSmrg 3807a99f82b8Smrg# If the user did not use the arguments to specify the items to instantiate, 3808a99f82b8Smrg# then the envvar interface is used. Set only those that are not. 3809a99f82b8Smrg# We use the long form for the default assignment because of an extremely 3810a99f82b8Smrg# bizarre bug on SunOS 4.1.3. 3811a99f82b8Smrgif $ac_need_defaults; then 38120c1e1135Smrg test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files 3813a99f82b8Smrgfi 3814a99f82b8Smrg 3815a99f82b8Smrg# Have a temporary directory for convenience. Make it in the build tree 38162d62a77cSmrg# simply because there is no reason against having it here, and in addition, 3817a99f82b8Smrg# creating and moving files from /tmp can sometimes cause problems. 38182d62a77cSmrg# Hook for its removal unless debugging. 38192d62a77cSmrg# Note that there is a small window in which the directory will not be cleaned: 38202d62a77cSmrg# after its creation but before its name has been assigned to `$tmp'. 3821a99f82b8Smrg$debug || 3822a99f82b8Smrg{ 38236d325d25Smrg tmp= ac_tmp= 38242d62a77cSmrg trap 'exit_status=$? 38256d325d25Smrg : "${ac_tmp:=$tmp}" 38266d325d25Smrg { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 38272d62a77cSmrg' 0 38286d325d25Smrg trap 'as_fn_exit 1' 1 2 13 15 3829a99f82b8Smrg} 3830a99f82b8Smrg# Create a (secure) tmp directory for tmp files. 3831a99f82b8Smrg 3832a99f82b8Smrg{ 38332d62a77cSmrg tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 38346d325d25Smrg test -d "$tmp" 3835a99f82b8Smrg} || 3836a99f82b8Smrg{ 38372d62a77cSmrg tmp=./conf$$-$RANDOM 38382d62a77cSmrg (umask 077 && mkdir "$tmp") 38396d325d25Smrg} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 38406d325d25Smrgac_tmp=$tmp 3841a99f82b8Smrg 38422d62a77cSmrg# Set up the scripts for CONFIG_FILES section. 38432d62a77cSmrg# No need to generate them if there are no CONFIG_FILES. 38442d62a77cSmrg# This happens for instance with `./config.status config.h'. 38452d62a77cSmrgif test -n "$CONFIG_FILES"; then 38462d62a77cSmrg 38472d62a77cSmrg 38486d325d25Smrgac_cr=`echo X | tr X '\015'` 38496d325d25Smrg# On cygwin, bash can eat \r inside `` if the user requested igncr. 38506d325d25Smrg# But we know of no other shell where ac_cr would be empty at this 38516d325d25Smrg# point, so we can use a bashism as a fallback. 38526d325d25Smrgif test "x$ac_cr" = x; then 38536d325d25Smrg eval ac_cr=\$\'\\r\' 38546d325d25Smrgfi 38552d62a77cSmrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 38562d62a77cSmrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 38572d62a77cSmrg ac_cs_awk_cr='\\r' 38582d62a77cSmrgelse 38592d62a77cSmrg ac_cs_awk_cr=$ac_cr 38602d62a77cSmrgfi 38612d62a77cSmrg 38626d325d25Smrgecho 'BEGIN {' >"$ac_tmp/subs1.awk" && 3863a99f82b8Smrg_ACEOF 3864a99f82b8Smrg 3865a99f82b8Smrg 38662d62a77cSmrg{ 38672d62a77cSmrg echo "cat >conf$$subs.awk <<_ACEOF" && 38682d62a77cSmrg echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 38692d62a77cSmrg echo "_ACEOF" 38702d62a77cSmrg} >conf$$subs.sh || 38716d325d25Smrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 38726d325d25Smrgac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 38732d62a77cSmrgac_delim='%!_!# ' 38742d62a77cSmrgfor ac_last_try in false false false false false :; do 38752d62a77cSmrg . ./conf$$subs.sh || 38766d325d25Smrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 3877a99f82b8Smrg 38782d62a77cSmrg ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 38792d62a77cSmrg if test $ac_delim_n = $ac_delim_num; then 38802d62a77cSmrg break 38812d62a77cSmrg elif $ac_last_try; then 38826d325d25Smrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 38832d62a77cSmrg else 38842d62a77cSmrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 3885a99f82b8Smrg fi 38862d62a77cSmrgdone 38872d62a77cSmrgrm -f conf$$subs.sh 3888a99f82b8Smrg 38892d62a77cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 38906d325d25Smrgcat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 3891a99f82b8Smrg_ACEOF 38922d62a77cSmrgsed -n ' 38932d62a77cSmrgh 38942d62a77cSmrgs/^/S["/; s/!.*/"]=/ 38952d62a77cSmrgp 38962d62a77cSmrgg 38972d62a77cSmrgs/^[^!]*!// 38982d62a77cSmrg:repl 38992d62a77cSmrgt repl 39002d62a77cSmrgs/'"$ac_delim"'$// 39012d62a77cSmrgt delim 39022d62a77cSmrg:nl 39032d62a77cSmrgh 39046d325d25Smrgs/\(.\{148\}\)..*/\1/ 39052d62a77cSmrgt more1 39062d62a77cSmrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 39072d62a77cSmrgp 39082d62a77cSmrgn 39092d62a77cSmrgb repl 39102d62a77cSmrg:more1 39112d62a77cSmrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 39122d62a77cSmrgp 39132d62a77cSmrgg 39142d62a77cSmrgs/.\{148\}// 39152d62a77cSmrgt nl 39162d62a77cSmrg:delim 39172d62a77cSmrgh 39186d325d25Smrgs/\(.\{148\}\)..*/\1/ 39192d62a77cSmrgt more2 39202d62a77cSmrgs/["\\]/\\&/g; s/^/"/; s/$/"/ 39212d62a77cSmrgp 39222d62a77cSmrgb 39232d62a77cSmrg:more2 39242d62a77cSmrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 39252d62a77cSmrgp 39262d62a77cSmrgg 39272d62a77cSmrgs/.\{148\}// 39282d62a77cSmrgt delim 39292d62a77cSmrg' <conf$$subs.awk | sed ' 39302d62a77cSmrg/^[^""]/{ 39312d62a77cSmrg N 39322d62a77cSmrg s/\n// 39332d62a77cSmrg} 39342d62a77cSmrg' >>$CONFIG_STATUS || ac_write_fail=1 39352d62a77cSmrgrm -f conf$$subs.awk 39362d62a77cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 39372d62a77cSmrg_ACAWK 39386d325d25Smrgcat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 39392d62a77cSmrg for (key in S) S_is_set[key] = 1 39402d62a77cSmrg FS = "" 39412d62a77cSmrg 39422d62a77cSmrg} 39432d62a77cSmrg{ 39442d62a77cSmrg line = $ 0 39452d62a77cSmrg nfields = split(line, field, "@") 39462d62a77cSmrg substed = 0 39472d62a77cSmrg len = length(field[1]) 39482d62a77cSmrg for (i = 2; i < nfields; i++) { 39492d62a77cSmrg key = field[i] 39502d62a77cSmrg keylen = length(key) 39512d62a77cSmrg if (S_is_set[key]) { 39522d62a77cSmrg value = S[key] 39532d62a77cSmrg line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 39542d62a77cSmrg len += length(value) + length(field[++i]) 39552d62a77cSmrg substed = 1 39562d62a77cSmrg } else 39572d62a77cSmrg len += 1 + keylen 39582d62a77cSmrg } 39592d62a77cSmrg 39602d62a77cSmrg print line 39612d62a77cSmrg} 39622d62a77cSmrg 39632d62a77cSmrg_ACAWK 39642d62a77cSmrg_ACEOF 39652d62a77cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 39662d62a77cSmrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 39672d62a77cSmrg sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 39682d62a77cSmrgelse 39692d62a77cSmrg cat 39706d325d25Smrgfi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 39716d325d25Smrg || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 39722d62a77cSmrg_ACEOF 39732d62a77cSmrg 39746d325d25Smrg# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 39756d325d25Smrg# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 39762d62a77cSmrg# trailing colons and then remove the whole line if VPATH becomes empty 39772d62a77cSmrg# (actually we leave an empty line to preserve line numbers). 39782d62a77cSmrgif test "x$srcdir" = x.; then 39796d325d25Smrg ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 39806d325d25Smrgh 39816d325d25Smrgs/// 39826d325d25Smrgs/^/:/ 39836d325d25Smrgs/[ ]*$/:/ 39846d325d25Smrgs/:\$(srcdir):/:/g 39856d325d25Smrgs/:\${srcdir}:/:/g 39866d325d25Smrgs/:@srcdir@:/:/g 39876d325d25Smrgs/^:*// 39882d62a77cSmrgs/:*$// 39896d325d25Smrgx 39906d325d25Smrgs/\(=[ ]*\).*/\1/ 39916d325d25SmrgG 39926d325d25Smrgs/\n// 39932d62a77cSmrgs/^[^=]*=[ ]*$// 39942d62a77cSmrg}' 39952d62a77cSmrgfi 39962d62a77cSmrg 39972d62a77cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 39982d62a77cSmrgfi # test -n "$CONFIG_FILES" 39992d62a77cSmrg 40002d62a77cSmrg 40010c1e1135Smrgeval set X " :F $CONFIG_FILES " 40022d62a77cSmrgshift 40032d62a77cSmrgfor ac_tag 40042d62a77cSmrgdo 40052d62a77cSmrg case $ac_tag in 40062d62a77cSmrg :[FHLC]) ac_mode=$ac_tag; continue;; 40072d62a77cSmrg esac 40082d62a77cSmrg case $ac_mode$ac_tag in 40092d62a77cSmrg :[FHL]*:*);; 40106d325d25Smrg :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 40112d62a77cSmrg :[FH]-) ac_tag=-:-;; 40122d62a77cSmrg :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 40132d62a77cSmrg esac 40142d62a77cSmrg ac_save_IFS=$IFS 40152d62a77cSmrg IFS=: 40162d62a77cSmrg set x $ac_tag 40172d62a77cSmrg IFS=$ac_save_IFS 40182d62a77cSmrg shift 40192d62a77cSmrg ac_file=$1 40202d62a77cSmrg shift 40212d62a77cSmrg 40222d62a77cSmrg case $ac_mode in 40232d62a77cSmrg :L) ac_source=$1;; 40242d62a77cSmrg :[FH]) 40252d62a77cSmrg ac_file_inputs= 40262d62a77cSmrg for ac_f 40272d62a77cSmrg do 40282d62a77cSmrg case $ac_f in 40296d325d25Smrg -) ac_f="$ac_tmp/stdin";; 40302d62a77cSmrg *) # Look for the file first in the build tree, then in the source tree 40312d62a77cSmrg # (if the path is not absolute). The absolute path cannot be DOS-style, 40322d62a77cSmrg # because $ac_f cannot contain `:'. 40332d62a77cSmrg test -f "$ac_f" || 40342d62a77cSmrg case $ac_f in 40352d62a77cSmrg [\\/$]*) false;; 40362d62a77cSmrg *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 40372d62a77cSmrg esac || 40386d325d25Smrg as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 40392d62a77cSmrg esac 40400c1e1135Smrg case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 40416d325d25Smrg as_fn_append ac_file_inputs " '$ac_f'" 40422d62a77cSmrg done 40432d62a77cSmrg 40442d62a77cSmrg # Let's still pretend it is `configure' which instantiates (i.e., don't 40452d62a77cSmrg # use $as_me), people would be surprised to read: 40462d62a77cSmrg # /* config.h. Generated by config.status. */ 40472d62a77cSmrg configure_input='Generated from '` 40480c1e1135Smrg printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 40492d62a77cSmrg `' by configure.' 40502d62a77cSmrg if test x"$ac_file" != x-; then 40512d62a77cSmrg configure_input="$ac_file. $configure_input" 40520c1e1135Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 40530c1e1135Smrgprintf "%s\n" "$as_me: creating $ac_file" >&6;} 40542d62a77cSmrg fi 40552d62a77cSmrg # Neutralize special characters interpreted by sed in replacement strings. 40562d62a77cSmrg case $configure_input in #( 40572d62a77cSmrg *\&* | *\|* | *\\* ) 40580c1e1135Smrg ac_sed_conf_input=`printf "%s\n" "$configure_input" | 40592d62a77cSmrg sed 's/[\\\\&|]/\\\\&/g'`;; #( 40602d62a77cSmrg *) ac_sed_conf_input=$configure_input;; 40612d62a77cSmrg esac 40622d62a77cSmrg 40632d62a77cSmrg case $ac_tag in 40646d325d25Smrg *:-:* | *:-) cat >"$ac_tmp/stdin" \ 40656d325d25Smrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 40662d62a77cSmrg esac 40672d62a77cSmrg ;; 4068a99f82b8Smrg esac 4069a99f82b8Smrg 40702d62a77cSmrg ac_dir=`$as_dirname -- "$ac_file" || 4071a99f82b8Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4072a99f82b8Smrg X"$ac_file" : 'X\(//\)[^/]' \| \ 4073a99f82b8Smrg X"$ac_file" : 'X\(//\)$' \| \ 40742d62a77cSmrg X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 40750c1e1135Smrgprintf "%s\n" X"$ac_file" | 40762d62a77cSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 40772d62a77cSmrg s//\1/ 40782d62a77cSmrg q 40792d62a77cSmrg } 40802d62a77cSmrg /^X\(\/\/\)[^/].*/{ 40812d62a77cSmrg s//\1/ 40822d62a77cSmrg q 40832d62a77cSmrg } 40842d62a77cSmrg /^X\(\/\/\)$/{ 40852d62a77cSmrg s//\1/ 40862d62a77cSmrg q 40872d62a77cSmrg } 40882d62a77cSmrg /^X\(\/\).*/{ 40892d62a77cSmrg s//\1/ 40902d62a77cSmrg q 40912d62a77cSmrg } 40922d62a77cSmrg s/.*/./; q'` 40936d325d25Smrg as_dir="$ac_dir"; as_fn_mkdir_p 4094a99f82b8Smrg ac_builddir=. 4095a99f82b8Smrg 40962d62a77cSmrgcase "$ac_dir" in 40972d62a77cSmrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 40982d62a77cSmrg*) 40990c1e1135Smrg ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 41002d62a77cSmrg # A ".." for each directory in $ac_dir_suffix. 41010c1e1135Smrg ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 41022d62a77cSmrg case $ac_top_builddir_sub in 41032d62a77cSmrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 41042d62a77cSmrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 41052d62a77cSmrg esac ;; 41062d62a77cSmrgesac 41072d62a77cSmrgac_abs_top_builddir=$ac_pwd 41082d62a77cSmrgac_abs_builddir=$ac_pwd$ac_dir_suffix 41092d62a77cSmrg# for backward compatibility: 41102d62a77cSmrgac_top_builddir=$ac_top_build_prefix 4111a99f82b8Smrg 4112a99f82b8Smrgcase $srcdir in 41132d62a77cSmrg .) # We are building in place. 4114a99f82b8Smrg ac_srcdir=. 41152d62a77cSmrg ac_top_srcdir=$ac_top_builddir_sub 41162d62a77cSmrg ac_abs_top_srcdir=$ac_pwd ;; 41172d62a77cSmrg [\\/]* | ?:[\\/]* ) # Absolute name. 4118a99f82b8Smrg ac_srcdir=$srcdir$ac_dir_suffix; 41192d62a77cSmrg ac_top_srcdir=$srcdir 41202d62a77cSmrg ac_abs_top_srcdir=$srcdir ;; 41212d62a77cSmrg *) # Relative name. 41222d62a77cSmrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 41232d62a77cSmrg ac_top_srcdir=$ac_top_build_prefix$srcdir 41242d62a77cSmrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 4125a99f82b8Smrgesac 41262d62a77cSmrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 4127a99f82b8Smrg 4128a99f82b8Smrg 41292d62a77cSmrg case $ac_mode in 41302d62a77cSmrg :F) 41312d62a77cSmrg # 41322d62a77cSmrg # CONFIG_FILE 41332d62a77cSmrg # 4134a99f82b8Smrg 4135a99f82b8Smrg case $INSTALL in 4136a99f82b8Smrg [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 41372d62a77cSmrg *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 4138a99f82b8Smrg esac 41392d62a77cSmrg ac_MKDIR_P=$MKDIR_P 41402d62a77cSmrg case $MKDIR_P in 41412d62a77cSmrg [\\/$]* | ?:[\\/]* ) ;; 41422d62a77cSmrg */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 41432d62a77cSmrg esac 41442d62a77cSmrg_ACEOF 4145a99f82b8Smrg 41462d62a77cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 41472d62a77cSmrg# If the template does not know about datarootdir, expand it. 41482d62a77cSmrg# FIXME: This hack should be removed a few years after 2.60. 41492d62a77cSmrgac_datarootdir_hack=; ac_datarootdir_seen= 41502d62a77cSmrgac_sed_dataroot=' 41512d62a77cSmrg/datarootdir/ { 41522d62a77cSmrg p 41532d62a77cSmrg q 41542d62a77cSmrg} 41552d62a77cSmrg/@datadir@/p 41562d62a77cSmrg/@docdir@/p 41572d62a77cSmrg/@infodir@/p 41582d62a77cSmrg/@localedir@/p 41596d325d25Smrg/@mandir@/p' 41602d62a77cSmrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 41612d62a77cSmrg*datarootdir*) ac_datarootdir_seen=yes;; 41622d62a77cSmrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 41630c1e1135Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 41640c1e1135Smrgprintf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 41652d62a77cSmrg_ACEOF 41662d62a77cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 41672d62a77cSmrg ac_datarootdir_hack=' 41682d62a77cSmrg s&@datadir@&$datadir&g 41692d62a77cSmrg s&@docdir@&$docdir&g 41702d62a77cSmrg s&@infodir@&$infodir&g 41712d62a77cSmrg s&@localedir@&$localedir&g 41722d62a77cSmrg s&@mandir@&$mandir&g 41736d325d25Smrg s&\\\${datarootdir}&$datarootdir&g' ;; 41742d62a77cSmrgesac 4175a99f82b8Smrg_ACEOF 41762d62a77cSmrg 41772d62a77cSmrg# Neutralize VPATH when `$srcdir' = `.'. 41782d62a77cSmrg# Shell code in configure.ac might set extrasub. 41792d62a77cSmrg# FIXME: do we really want to maintain this feature? 41802d62a77cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 41812d62a77cSmrgac_sed_extra="$ac_vpsub 4182a99f82b8Smrg$extrasub 4183a99f82b8Smrg_ACEOF 41842d62a77cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4185a99f82b8Smrg:t 4186a99f82b8Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 41872d62a77cSmrgs|@configure_input@|$ac_sed_conf_input|;t t 41882d62a77cSmrgs&@top_builddir@&$ac_top_builddir_sub&;t t 41892d62a77cSmrgs&@top_build_prefix@&$ac_top_build_prefix&;t t 41902d62a77cSmrgs&@srcdir@&$ac_srcdir&;t t 41912d62a77cSmrgs&@abs_srcdir@&$ac_abs_srcdir&;t t 41922d62a77cSmrgs&@top_srcdir@&$ac_top_srcdir&;t t 41932d62a77cSmrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 41942d62a77cSmrgs&@builddir@&$ac_builddir&;t t 41952d62a77cSmrgs&@abs_builddir@&$ac_abs_builddir&;t t 41962d62a77cSmrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t 41972d62a77cSmrgs&@INSTALL@&$ac_INSTALL&;t t 41982d62a77cSmrgs&@MKDIR_P@&$ac_MKDIR_P&;t t 41992d62a77cSmrg$ac_datarootdir_hack 42002d62a77cSmrg" 42016d325d25Smrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 42026d325d25Smrg >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 4203a99f82b8Smrg 42042d62a77cSmrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 42056d325d25Smrg { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 42066d325d25Smrg { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 42076d325d25Smrg "$ac_tmp/out"`; test -z "$ac_out"; } && 42080c1e1135Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 42096d325d25Smrgwhich seems to be undefined. Please make sure it is defined" >&5 42100c1e1135Smrgprintf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 42116d325d25Smrgwhich seems to be undefined. Please make sure it is defined" >&2;} 42122d62a77cSmrg 42136d325d25Smrg rm -f "$ac_tmp/stdin" 42142d62a77cSmrg case $ac_file in 42156d325d25Smrg -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 42166d325d25Smrg *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 42172d62a77cSmrg esac \ 42186d325d25Smrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 42192d62a77cSmrg ;; 42202d62a77cSmrg 42212d62a77cSmrg 42222d62a77cSmrg 42232d62a77cSmrg esac 42242d62a77cSmrg 42252d62a77cSmrgdone # for ac_tag 4226a99f82b8Smrg 4227a99f82b8Smrg 42286d325d25Smrgas_fn_exit 0 4229a99f82b8Smrg_ACEOF 4230a99f82b8Smrgac_clean_files=$ac_clean_files_save 4231a99f82b8Smrg 42322d62a77cSmrgtest $ac_write_fail = 0 || 42336d325d25Smrg as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 42342d62a77cSmrg 4235a99f82b8Smrg 4236a99f82b8Smrg# configure is writing to config.log, and then calls config.status. 4237a99f82b8Smrg# config.status does its own redirection, appending to config.log. 4238a99f82b8Smrg# Unfortunately, on DOS this fails, as config.log is still kept open 4239a99f82b8Smrg# by configure, so config.status won't be able to write to it; its 4240a99f82b8Smrg# output is simply discarded. So we exec the FD to /dev/null, 4241a99f82b8Smrg# effectively closing config.log, so it can be properly (re)opened and 4242a99f82b8Smrg# appended to by config.status. When coming back to configure, we 4243a99f82b8Smrg# need to make the FD available again. 4244a99f82b8Smrgif test "$no_create" != yes; then 4245a99f82b8Smrg ac_cs_success=: 4246a99f82b8Smrg ac_config_status_args= 4247a99f82b8Smrg test "$silent" = yes && 4248a99f82b8Smrg ac_config_status_args="$ac_config_status_args --quiet" 4249a99f82b8Smrg exec 5>/dev/null 4250a99f82b8Smrg $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 4251a99f82b8Smrg exec 5>>config.log 4252a99f82b8Smrg # Use ||, not &&, to avoid exiting from the if with $? = 1, which 4253a99f82b8Smrg # would make configure fail if this is the last instruction. 42546d325d25Smrg $ac_cs_success || as_fn_exit 1 4255a99f82b8Smrgfi 42562d62a77cSmrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 42570c1e1135Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 42580c1e1135Smrgprintf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 42592d62a77cSmrgfi 4260a99f82b8Smrg 42610c1e1135Smrg 4262