configure revision 541411ce
17117f1b4Smrg#! /bin/sh 27117f1b4Smrg# Guess values for system-dependent variables and create Makefiles. 34a49301eSmrg# Generated by GNU Autoconf 2.71 for font-mutt-misc 1.0.4. 47117f1b4Smrg# 54a49301eSmrg# Report bugs to <https://gitlab.freedesktop.org/xorg/font/mutt-misc/-/issues>. 64a49301eSmrg# 77117f1b4Smrg# 87117f1b4Smrg# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, 97117f1b4Smrg# Inc. 107117f1b4Smrg# 117117f1b4Smrg# 127117f1b4Smrg# This configure script is free software; the Free Software Foundation 137117f1b4Smrg# gives unlimited permission to copy, distribute and modify it. 147117f1b4Smrg## -------------------- ## 157117f1b4Smrg## M4sh Initialization. ## 167117f1b4Smrg## -------------------- ## 177117f1b4Smrg 187117f1b4Smrg# Be more Bourne compatible 197117f1b4SmrgDUALCASE=1; export DUALCASE # for MKS sh 207117f1b4Smrgas_nop=: 217117f1b4Smrgif test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 227117f1b4Smrgthen : 237117f1b4Smrg emulate sh 247117f1b4Smrg NULLCMD=: 257117f1b4Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 267117f1b4Smrg # is contrary to our usage. Disable this feature. 277117f1b4Smrg alias -g '${1+"$@"}'='"$@"' 287117f1b4Smrg setopt NO_GLOB_SUBST 297117f1b4Smrgelse $as_nop 307117f1b4Smrg case `(set -o) 2>/dev/null` in #( 317117f1b4Smrg *posix*) : 327117f1b4Smrg set -o posix ;; #( 337117f1b4Smrg *) : 347117f1b4Smrg ;; 357117f1b4Smrgesac 367117f1b4Smrgfi 377117f1b4Smrg 387117f1b4Smrg 397117f1b4Smrg 407117f1b4Smrg# Reset variables that may have inherited troublesome values from 417117f1b4Smrg# the environment. 427117f1b4Smrg 437117f1b4Smrg# IFS needs to be set, to space, tab, and newline, in precisely that order. 447117f1b4Smrg# (If _AS_PATH_WALK were called with IFS unset, it would have the 457117f1b4Smrg# side effect of setting IFS to empty, thus disabling word splitting.) 467117f1b4Smrg# Quoting is to prevent editors from complaining about space-tab. 477117f1b4Smrgas_nl=' 487117f1b4Smrg' 497117f1b4Smrgexport as_nl 507117f1b4SmrgIFS=" "" $as_nl" 517117f1b4Smrg 527117f1b4SmrgPS1='$ ' 537117f1b4SmrgPS2='> ' 547117f1b4SmrgPS4='+ ' 557117f1b4Smrg 567117f1b4Smrg# Ensure predictable behavior from utilities with locale-dependent output. 577117f1b4SmrgLC_ALL=C 587117f1b4Smrgexport LC_ALL 597117f1b4SmrgLANGUAGE=C 607117f1b4Smrgexport LANGUAGE 617117f1b4Smrg 627117f1b4Smrg# We cannot yet rely on "unset" to work, but we need these variables 637117f1b4Smrg# to be unset--not just set to an empty or harmless value--now, to 647117f1b4Smrg# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct 657117f1b4Smrg# also avoids known problems related to "unset" and subshell syntax 667117f1b4Smrg# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). 674a49301eSmrgfor as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 684a49301eSmrgdo eval test \${$as_var+y} \ 694a49301eSmrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 704a49301eSmrgdone 714a49301eSmrg 724a49301eSmrg# Ensure that fds 0, 1, and 2 are open. 734a49301eSmrgif (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 744a49301eSmrgif (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 754a49301eSmrgif (exec 3>&2) ; then :; else exec 2>/dev/null; fi 764a49301eSmrg 774a49301eSmrg# The user is always right. 784a49301eSmrgif ${PATH_SEPARATOR+false} :; then 794a49301eSmrg PATH_SEPARATOR=: 804a49301eSmrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 814a49301eSmrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 824a49301eSmrg PATH_SEPARATOR=';' 834a49301eSmrg } 844a49301eSmrgfi 854a49301eSmrg 864a49301eSmrg 874a49301eSmrg# Find who we are. Look in the path if we contain no directory separator. 884a49301eSmrgas_myself= 894a49301eSmrgcase $0 in #(( 904a49301eSmrg *[\\/]* ) as_myself=$0 ;; 914a49301eSmrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 924a49301eSmrgfor as_dir in $PATH 934a49301eSmrgdo 944a49301eSmrg IFS=$as_save_IFS 954a49301eSmrg case $as_dir in #((( 964a49301eSmrg '') as_dir=./ ;; 974a49301eSmrg */) ;; 987117f1b4Smrg *) as_dir=$as_dir/ ;; 997117f1b4Smrg esac 1007117f1b4Smrg test -r "$as_dir$0" && as_myself=$as_dir$0 && break 1017117f1b4Smrg done 1027117f1b4SmrgIFS=$as_save_IFS 1037117f1b4Smrg 1047117f1b4Smrg ;; 1057117f1b4Smrgesac 1067117f1b4Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 1077117f1b4Smrg# in which case we are not to be found in the path. 1087117f1b4Smrgif test "x$as_myself" = x; then 1097117f1b4Smrg as_myself=$0 1107117f1b4Smrgfi 1117117f1b4Smrgif test ! -f "$as_myself"; then 1127117f1b4Smrg printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 1137117f1b4Smrg exit 1 1147117f1b4Smrgfi 1157117f1b4Smrg 1167117f1b4Smrg 1177117f1b4Smrg# Use a proper internal environment variable to ensure we don't fall 1187117f1b4Smrg # into an infinite loop, continuously re-executing ourselves. 1197117f1b4Smrg if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 1207117f1b4Smrg _as_can_reexec=no; export _as_can_reexec; 1217117f1b4Smrg # We cannot yet assume a decent shell, so we have to provide a 1227117f1b4Smrg# neutralization value for shells without unset; and this also 1237117f1b4Smrg# works around shells that cannot unset nonexistent variables. 1247117f1b4Smrg# Preserve -v and -x to the replacement shell. 1257117f1b4SmrgBASH_ENV=/dev/null 1267117f1b4SmrgENV=/dev/null 1277117f1b4Smrg(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 1287117f1b4Smrgcase $- in # (((( 1297117f1b4Smrg *v*x* | *x*v* ) as_opts=-vx ;; 1307117f1b4Smrg *v* ) as_opts=-v ;; 1317117f1b4Smrg *x* ) as_opts=-x ;; 1327117f1b4Smrg * ) as_opts= ;; 1337117f1b4Smrgesac 1347117f1b4Smrgexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 1357117f1b4Smrg# Admittedly, this is quite paranoid, since all the known shells bail 1367117f1b4Smrg# out after a failed `exec'. 1377117f1b4Smrgprintf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 1387117f1b4Smrgexit 255 1397117f1b4Smrg fi 1407117f1b4Smrg # We don't want this to propagate to other subprocesses. 1417117f1b4Smrg { _as_can_reexec=; unset _as_can_reexec;} 1427117f1b4Smrgif test "x$CONFIG_SHELL" = x; then 1437117f1b4Smrg as_bourne_compatible="as_nop=: 1447117f1b4Smrgif test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 1454a49301eSmrgthen : 1467117f1b4Smrg emulate sh 1477117f1b4Smrg NULLCMD=: 1484a49301eSmrg # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 1497117f1b4Smrg # is contrary to our usage. Disable this feature. 1507117f1b4Smrg alias -g '\${1+\"\$@\"}'='\"\$@\"' 1517117f1b4Smrg setopt NO_GLOB_SUBST 1527117f1b4Smrgelse \$as_nop 1537117f1b4Smrg case \`(set -o) 2>/dev/null\` in #( 1547117f1b4Smrg *posix*) : 1557117f1b4Smrg set -o posix ;; #( 1567117f1b4Smrg *) : 1577117f1b4Smrg ;; 1587117f1b4Smrgesac 1597117f1b4Smrgfi 1607117f1b4Smrg" 1617117f1b4Smrg as_required="as_fn_return () { (exit \$1); } 1627117f1b4Smrgas_fn_success () { as_fn_return 0; } 1637117f1b4Smrgas_fn_failure () { as_fn_return 1; } 1647117f1b4Smrgas_fn_ret_success () { return 0; } 1657117f1b4Smrgas_fn_ret_failure () { return 1; } 1667117f1b4Smrg 1677117f1b4Smrgexitcode=0 1687117f1b4Smrgas_fn_success || { exitcode=1; echo as_fn_success failed.; } 1697117f1b4Smrgas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 1707117f1b4Smrgas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 1717117f1b4Smrgas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 1727117f1b4Smrgif ( set x; as_fn_ret_success y && test x = \"\$1\" ) 1737117f1b4Smrgthen : 1747117f1b4Smrg 1757117f1b4Smrgelse \$as_nop 1767117f1b4Smrg exitcode=1; echo positional parameters were not saved. 1777117f1b4Smrgfi 1787117f1b4Smrgtest x\$exitcode = x0 || exit 1 1797117f1b4Smrgblah=\$(echo \$(echo blah)) 1807117f1b4Smrgtest x\"\$blah\" = xblah || exit 1 1817117f1b4Smrgtest -x / || exit 1" 1827117f1b4Smrg as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 1837117f1b4Smrg as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 1847117f1b4Smrg eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 1857117f1b4Smrg test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 1867117f1b4Smrgtest \$(( 1 + 1 )) = 2 || exit 1" 1877117f1b4Smrg if (eval "$as_required") 2>/dev/null 1887117f1b4Smrgthen : 1897117f1b4Smrg as_have_required=yes 1907117f1b4Smrgelse $as_nop 1917117f1b4Smrg as_have_required=no 1927117f1b4Smrgfi 1937117f1b4Smrg if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null 1947117f1b4Smrgthen : 1957117f1b4Smrg 1967117f1b4Smrgelse $as_nop 1977117f1b4Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1987117f1b4Smrgas_found=false 1997117f1b4Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 2007117f1b4Smrgdo 2017117f1b4Smrg IFS=$as_save_IFS 2027117f1b4Smrg case $as_dir in #((( 2037117f1b4Smrg '') as_dir=./ ;; 2047117f1b4Smrg */) ;; 2057117f1b4Smrg *) as_dir=$as_dir/ ;; 2067117f1b4Smrg esac 2077117f1b4Smrg as_found=: 2087117f1b4Smrg case $as_dir in #( 2094a49301eSmrg /*) 2104a49301eSmrg for as_base in sh bash ksh sh5; do 2114a49301eSmrg # Try only shells that exist, to save several forks. 2124a49301eSmrg as_shell=$as_dir$as_base 2137117f1b4Smrg if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 2147117f1b4Smrg as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null 2157117f1b4Smrgthen : 2167117f1b4Smrg CONFIG_SHELL=$as_shell as_have_required=yes 2177117f1b4Smrg if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null 2187117f1b4Smrgthen : 2197117f1b4Smrg break 2 2207117f1b4Smrgfi 2217117f1b4Smrgfi 222c1f859d4Smrg done;; 2237117f1b4Smrg esac 2247117f1b4Smrg as_found=false 2257117f1b4Smrgdone 2267117f1b4SmrgIFS=$as_save_IFS 2277117f1b4Smrgif $as_found 2287117f1b4Smrgthen : 2297117f1b4Smrg 2307117f1b4Smrgelse $as_nop 2317117f1b4Smrg if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 2327117f1b4Smrg as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null 2337117f1b4Smrgthen : 2347117f1b4Smrg CONFIG_SHELL=$SHELL as_have_required=yes 2357117f1b4Smrgfi 2367117f1b4Smrgfi 2377117f1b4Smrg 2387117f1b4Smrg 2397117f1b4Smrg if test "x$CONFIG_SHELL" != x 2407117f1b4Smrgthen : 2417117f1b4Smrg export CONFIG_SHELL 2427117f1b4Smrg # We cannot yet assume a decent shell, so we have to provide a 2437117f1b4Smrg# neutralization value for shells without unset; and this also 2447117f1b4Smrg# works around shells that cannot unset nonexistent variables. 2457117f1b4Smrg# Preserve -v and -x to the replacement shell. 246c1f859d4SmrgBASH_ENV=/dev/null 2477117f1b4SmrgENV=/dev/null 2487117f1b4Smrg(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 2497117f1b4Smrgcase $- in # (((( 2507117f1b4Smrg *v*x* | *x*v* ) as_opts=-vx ;; 2517117f1b4Smrg *v* ) as_opts=-v ;; 2527117f1b4Smrg *x* ) as_opts=-x ;; 2537117f1b4Smrg * ) as_opts= ;; 2547117f1b4Smrgesac 2557117f1b4Smrgexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 2567117f1b4Smrg# Admittedly, this is quite paranoid, since all the known shells bail 2577117f1b4Smrg# out after a failed `exec'. 2587117f1b4Smrgprintf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 2597117f1b4Smrgexit 255 2607117f1b4Smrgfi 2617117f1b4Smrg 2627117f1b4Smrg if test x$as_have_required = xno 2637117f1b4Smrgthen : 2647117f1b4Smrg printf "%s\n" "$0: This script requires a shell more modern than all" 2657117f1b4Smrg printf "%s\n" "$0: the shells that I found on your system." 2667117f1b4Smrg if test ${ZSH_VERSION+y} ; then 2677117f1b4Smrg printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should" 2687117f1b4Smrg printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later." 2697117f1b4Smrg else 2707117f1b4Smrg printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and 2717117f1b4Smrg$0: https://gitlab.freedesktop.org/xorg/font/mutt-misc/-/issues 2727117f1b4Smrg$0: about your system, including any error possibly output 2737117f1b4Smrg$0: before this message. Then install a modern shell, or 2747117f1b4Smrg$0: manually run the script under such a shell if you do 2757117f1b4Smrg$0: have one." 2767117f1b4Smrg fi 2777117f1b4Smrg exit 1 2787117f1b4Smrgfi 2797117f1b4Smrgfi 2807117f1b4Smrgfi 2817117f1b4SmrgSHELL=${CONFIG_SHELL-/bin/sh} 2827117f1b4Smrgexport SHELL 2837117f1b4Smrg# Unset more variables known to interfere with behavior of common tools. 2847117f1b4SmrgCLICOLOR_FORCE= GREP_OPTIONS= 2857117f1b4Smrgunset CLICOLOR_FORCE GREP_OPTIONS 2867117f1b4Smrg 2877117f1b4Smrg## --------------------- ## 2887117f1b4Smrg## M4sh Shell Functions. ## 2897117f1b4Smrg## --------------------- ## 2907117f1b4Smrg# as_fn_unset VAR 2914a49301eSmrg# --------------- 2924a49301eSmrg# Portably unset VAR. 2934a49301eSmrgas_fn_unset () 2944a49301eSmrg{ 2957117f1b4Smrg { eval $1=; unset $1;} 2967117f1b4Smrg} 2977117f1b4Smrgas_unset=as_fn_unset 2987117f1b4Smrg 2997117f1b4Smrg 3007117f1b4Smrg# as_fn_set_status STATUS 3017117f1b4Smrg# ----------------------- 3027117f1b4Smrg# Set $? to STATUS, without forking. 3037117f1b4Smrgas_fn_set_status () 3047117f1b4Smrg{ 3057117f1b4Smrg return $1 3067117f1b4Smrg} # as_fn_set_status 3077117f1b4Smrg 3087117f1b4Smrg# as_fn_exit STATUS 3097117f1b4Smrg# ----------------- 3107117f1b4Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 3117117f1b4Smrgas_fn_exit () 3127117f1b4Smrg{ 3137117f1b4Smrg set +e 3147117f1b4Smrg as_fn_set_status $1 3157117f1b4Smrg exit $1 3167117f1b4Smrg} # as_fn_exit 3177117f1b4Smrg# as_fn_nop 3187117f1b4Smrg# --------- 3197117f1b4Smrg# Do nothing but, unlike ":", preserve the value of $?. 3207117f1b4Smrgas_fn_nop () 3217117f1b4Smrg{ 3227117f1b4Smrg return $? 3237117f1b4Smrg} 3247117f1b4Smrgas_nop=as_fn_nop 3257117f1b4Smrg 3267117f1b4Smrg# as_fn_mkdir_p 3277117f1b4Smrg# ------------- 3287117f1b4Smrg# Create "$as_dir" as a directory, including parents if necessary. 3297117f1b4Smrgas_fn_mkdir_p () 3307117f1b4Smrg{ 3317117f1b4Smrg 3327117f1b4Smrg case $as_dir in #( 3337117f1b4Smrg -*) as_dir=./$as_dir;; 3347117f1b4Smrg esac 3357117f1b4Smrg test -d "$as_dir" || eval $as_mkdir_p || { 3367117f1b4Smrg as_dirs= 3377117f1b4Smrg while :; do 3387117f1b4Smrg case $as_dir in #( 3397117f1b4Smrg *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 3407117f1b4Smrg *) as_qdir=$as_dir;; 3417117f1b4Smrg esac 3427117f1b4Smrg as_dirs="'$as_qdir' $as_dirs" 3437117f1b4Smrg as_dir=`$as_dirname -- "$as_dir" || 3447117f1b4Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3457117f1b4Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 3467117f1b4Smrg X"$as_dir" : 'X\(//\)$' \| \ 3477117f1b4Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 3487117f1b4Smrgprintf "%s\n" X"$as_dir" | 3497117f1b4Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3507117f1b4Smrg s//\1/ 3517117f1b4Smrg q 3527117f1b4Smrg } 3537117f1b4Smrg /^X\(\/\/\)[^/].*/{ 3547117f1b4Smrg s//\1/ 3557117f1b4Smrg q 3567117f1b4Smrg } 3577117f1b4Smrg /^X\(\/\/\)$/{ 3587117f1b4Smrg s//\1/ 3597117f1b4Smrg q 3607117f1b4Smrg } 3617117f1b4Smrg /^X\(\/\).*/{ 3627117f1b4Smrg s//\1/ 3637117f1b4Smrg q 3647117f1b4Smrg } 3657117f1b4Smrg s/.*/./; q'` 3664a49301eSmrg test -d "$as_dir" && break 3677117f1b4Smrg done 3687117f1b4Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 3697117f1b4Smrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 3707117f1b4Smrg 3717117f1b4Smrg 3727117f1b4Smrg} # as_fn_mkdir_p 3737117f1b4Smrg 3747117f1b4Smrg# as_fn_executable_p FILE 3757117f1b4Smrg# ----------------------- 3767117f1b4Smrg# Test if FILE is an executable regular file. 3777117f1b4Smrgas_fn_executable_p () 3787117f1b4Smrg{ 3797117f1b4Smrg test -f "$1" && test -x "$1" 3807117f1b4Smrg} # as_fn_executable_p 3817117f1b4Smrg# as_fn_append VAR VALUE 3827117f1b4Smrg# ---------------------- 3837117f1b4Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take 3847117f1b4Smrg# advantage of any shell optimizations that allow amortized linear growth over 3857117f1b4Smrg# repeated appends, instead of the typical quadratic growth present in naive 3867117f1b4Smrg# implementations. 3877117f1b4Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 3887117f1b4Smrgthen : 3897117f1b4Smrg eval 'as_fn_append () 3907117f1b4Smrg { 3917117f1b4Smrg eval $1+=\$2 3927117f1b4Smrg }' 3937117f1b4Smrgelse $as_nop 3947117f1b4Smrg as_fn_append () 3957117f1b4Smrg { 3967117f1b4Smrg eval $1=\$$1\$2 3977117f1b4Smrg } 3987117f1b4Smrgfi # as_fn_append 3997117f1b4Smrg 4007117f1b4Smrg# as_fn_arith ARG... 4017117f1b4Smrg# ------------------ 4027117f1b4Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the 4037117f1b4Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 4047117f1b4Smrg# must be portable across $(()) and expr. 4057117f1b4Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 4067117f1b4Smrgthen : 4077117f1b4Smrg eval 'as_fn_arith () 4087117f1b4Smrg { 4097117f1b4Smrg as_val=$(( $* )) 4107117f1b4Smrg }' 4117117f1b4Smrgelse $as_nop 4127117f1b4Smrg as_fn_arith () 4137117f1b4Smrg { 4147117f1b4Smrg as_val=`expr "$@" || test $? -eq 1` 4157117f1b4Smrg } 4167117f1b4Smrgfi # as_fn_arith 4177117f1b4Smrg 4187117f1b4Smrg# as_fn_nop 4197117f1b4Smrg# --------- 4207117f1b4Smrg# Do nothing but, unlike ":", preserve the value of $?. 4217117f1b4Smrgas_fn_nop () 4227117f1b4Smrg{ 4237117f1b4Smrg return $? 4247117f1b4Smrg} 4257117f1b4Smrgas_nop=as_fn_nop 4267117f1b4Smrg 4277117f1b4Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 4284a49301eSmrg# ---------------------------------------- 4294a49301eSmrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 4304a49301eSmrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 4317117f1b4Smrg# script with STATUS, using 1 if that was 0. 4327117f1b4Smrgas_fn_error () 4337117f1b4Smrg{ 4347117f1b4Smrg as_status=$1; test $as_status -eq 0 && as_status=1 4357117f1b4Smrg if test "$4"; then 4367117f1b4Smrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 4377117f1b4Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 4387117f1b4Smrg fi 4397117f1b4Smrg printf "%s\n" "$as_me: error: $2" >&2 4407117f1b4Smrg as_fn_exit $as_status 4417117f1b4Smrg} # as_fn_error 4427117f1b4Smrg 4437117f1b4Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 4447117f1b4Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 4457117f1b4Smrg as_expr=expr 4467117f1b4Smrgelse 4477117f1b4Smrg as_expr=false 4487117f1b4Smrgfi 4497117f1b4Smrg 4507117f1b4Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 4517117f1b4Smrg as_basename=basename 4527117f1b4Smrgelse 4537117f1b4Smrg as_basename=false 4547117f1b4Smrgfi 4557117f1b4Smrg 4567117f1b4Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 4577117f1b4Smrg as_dirname=dirname 4587117f1b4Smrgelse 4597117f1b4Smrg as_dirname=false 4607117f1b4Smrgfi 4617117f1b4Smrg 4627117f1b4Smrgas_me=`$as_basename -- "$0" || 4637117f1b4Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 4647117f1b4Smrg X"$0" : 'X\(//\)$' \| \ 4657117f1b4Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 4667117f1b4Smrgprintf "%s\n" X/"$0" | 4677117f1b4Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 4687117f1b4Smrg s//\1/ 4697117f1b4Smrg q 4707117f1b4Smrg } 4717117f1b4Smrg /^X\/\(\/\/\)$/{ 4727117f1b4Smrg s//\1/ 4737117f1b4Smrg q 4747117f1b4Smrg } 4757117f1b4Smrg /^X\/\(\/\).*/{ 4767117f1b4Smrg s//\1/ 4777117f1b4Smrg q 4787117f1b4Smrg } 4797117f1b4Smrg s/.*/./; q'` 4807117f1b4Smrg 4817117f1b4Smrg# Avoid depending upon Character Ranges. 4827117f1b4Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 4837117f1b4Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 4847117f1b4Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 4857117f1b4Smrgas_cr_digits='0123456789' 4867117f1b4Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 4877117f1b4Smrg 4887117f1b4Smrg 4897117f1b4Smrg as_lineno_1=$LINENO as_lineno_1a=$LINENO 4907117f1b4Smrg as_lineno_2=$LINENO as_lineno_2a=$LINENO 4917117f1b4Smrg eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 4927117f1b4Smrg test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 4937117f1b4Smrg # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 4947117f1b4Smrg sed -n ' 4957117f1b4Smrg p 4967117f1b4Smrg /[$]LINENO/= 4977117f1b4Smrg ' <$as_myself | 4987117f1b4Smrg sed ' 4997117f1b4Smrg s/[$]LINENO.*/&-/ 5007117f1b4Smrg t lineno 5017117f1b4Smrg b 5027117f1b4Smrg :lineno 5037117f1b4Smrg N 5047117f1b4Smrg :loop 5057117f1b4Smrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 5067117f1b4Smrg t loop 5077117f1b4Smrg s/-\n.*// 5087117f1b4Smrg ' >$as_me.lineno && 5097117f1b4Smrg chmod +x "$as_me.lineno" || 5107117f1b4Smrg { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 5117117f1b4Smrg 5127117f1b4Smrg # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 5137117f1b4Smrg # already done that, so ensure we don't try to do so again and fall 5147117f1b4Smrg # in an infinite loop. This has already happened in practice. 5157117f1b4Smrg _as_can_reexec=no; export _as_can_reexec 5167117f1b4Smrg # Don't try to exec as it changes $[0], causing all sort of problems 5177117f1b4Smrg # (the dirname of $[0] is not the place where we might find the 5187117f1b4Smrg # original and so on. Autoconf is especially sensitive to this). 5197117f1b4Smrg . "./$as_me.lineno" 5207117f1b4Smrg # Exit status is that of the last command. 5217117f1b4Smrg exit 5227117f1b4Smrg} 5237117f1b4Smrg 5247117f1b4Smrg 5257117f1b4Smrg# Determine whether it's possible to make 'echo' print without a newline. 5267117f1b4Smrg# These variables are no longer used directly by Autoconf, but are AC_SUBSTed 5277117f1b4Smrg# for compatibility with existing Makefiles. 5287117f1b4SmrgECHO_C= ECHO_N= ECHO_T= 5297117f1b4Smrgcase `echo -n x` in #((((( 5307117f1b4Smrg-n*) 5317117f1b4Smrg case `echo 'xy\c'` in 5327117f1b4Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 5337117f1b4Smrg xy) ECHO_C='\c';; 5347117f1b4Smrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 5357117f1b4Smrg ECHO_T=' ';; 5367117f1b4Smrg esac;; 5374a49301eSmrg*) 5387117f1b4Smrg ECHO_N='-n';; 5397117f1b4Smrgesac 5407117f1b4Smrg 5417117f1b4Smrg# For backward compatibility with old third-party macros, we provide 5427117f1b4Smrg# the shell variables $as_echo and $as_echo_n. New code should use 5437117f1b4Smrg# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. 5447117f1b4Smrgas_echo='printf %s\n' 5457117f1b4Smrgas_echo_n='printf %s' 5464a49301eSmrg 5474a49301eSmrg 5484a49301eSmrgrm -f conf$$ conf$$.exe conf$$.file 5494a49301eSmrgif test -d conf$$.dir; then 5507117f1b4Smrg rm -f conf$$.dir/conf$$.file 5517117f1b4Smrgelse 5527117f1b4Smrg rm -f conf$$.dir 5537117f1b4Smrg mkdir conf$$.dir 2>/dev/null 5547117f1b4Smrgfi 5557117f1b4Smrgif (echo >conf$$.file) 2>/dev/null; then 5564a49301eSmrg if ln -s conf$$.file conf$$ 2>/dev/null; then 5574a49301eSmrg as_ln_s='ln -s' 5584a49301eSmrg # ... but there are two gotchas: 5594a49301eSmrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 5607117f1b4Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 5617117f1b4Smrg # In both cases, we have to default to `cp -pR'. 5627117f1b4Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 5637117f1b4Smrg as_ln_s='cp -pR' 5647117f1b4Smrg elif ln conf$$.file conf$$ 2>/dev/null; then 5657117f1b4Smrg as_ln_s=ln 5667117f1b4Smrg else 5677117f1b4Smrg as_ln_s='cp -pR' 5687117f1b4Smrg fi 5697117f1b4Smrgelse 5707117f1b4Smrg as_ln_s='cp -pR' 5717117f1b4Smrgfi 5727117f1b4Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5737117f1b4Smrgrmdir conf$$.dir 2>/dev/null 5747117f1b4Smrg 5757117f1b4Smrgif mkdir -p . 2>/dev/null; then 5767117f1b4Smrg as_mkdir_p='mkdir -p "$as_dir"' 5777117f1b4Smrgelse 5787117f1b4Smrg test -d ./-p && rmdir ./-p 5797117f1b4Smrg as_mkdir_p=false 5807117f1b4Smrgfi 5817117f1b4Smrg 5827117f1b4Smrgas_test_x='test -x' 5837117f1b4Smrgas_executable_p=as_fn_executable_p 5847117f1b4Smrg 5857117f1b4Smrg# Sed expression to map a string onto a valid CPP name. 5867117f1b4Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5877117f1b4Smrg 5887117f1b4Smrg# Sed expression to map a string onto a valid variable name. 5897117f1b4Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5907117f1b4Smrg 5917117f1b4Smrg 5927117f1b4Smrgtest -n "$DJDIR" || exec 7<&0 </dev/null 5937117f1b4Smrgexec 6>&1 5947117f1b4Smrg 5957117f1b4Smrg# Name of the host. 5967117f1b4Smrg# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 5977117f1b4Smrg# so uname gets run too. 5987117f1b4Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 5997117f1b4Smrg 6007117f1b4Smrg# 6017117f1b4Smrg# Initializations. 6027117f1b4Smrg# 6037117f1b4Smrgac_default_prefix=/usr/local 6047117f1b4Smrgac_clean_files= 6057117f1b4Smrgac_config_libobj_dir=. 6067117f1b4SmrgLIBOBJS= 6077117f1b4Smrgcross_compiling=no 6087117f1b4Smrgsubdirs= 6097117f1b4SmrgMFLAGS= 6107117f1b4SmrgMAKEFLAGS= 6117117f1b4Smrg 6127117f1b4Smrg# Identity of this package. 6137117f1b4SmrgPACKAGE_NAME='font-mutt-misc' 6147117f1b4SmrgPACKAGE_TARNAME='font-mutt-misc' 6157117f1b4SmrgPACKAGE_VERSION='1.0.4' 6167117f1b4SmrgPACKAGE_STRING='font-mutt-misc 1.0.4' 6177117f1b4SmrgPACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/font/mutt-misc/-/issues' 6187117f1b4SmrgPACKAGE_URL='' 6197117f1b4Smrg 6207117f1b4Smrgac_subst_vars='LTLIBOBJS 6217117f1b4SmrgLIBOBJS 6227117f1b4SmrgCOMPRESS_SUFFIX 6237117f1b4SmrgCOMPRESS_FLAGS 6247117f1b4SmrgCOMPRESS 6257117f1b4SmrgBDFTOPCF 6267117f1b4SmrgMKFONTDIR 6277117f1b4SmrgRUN_FCCACHE 6287117f1b4SmrgFCCACHE 6297117f1b4SmrgFONTDIR 6307117f1b4SmrgFONTROOTDIR 6317117f1b4SmrgMAN_SUBSTS 6327117f1b4SmrgXORG_MAN_PAGE 6337117f1b4SmrgADMIN_MAN_DIR 6347117f1b4SmrgDRIVER_MAN_DIR 6357117f1b4SmrgMISC_MAN_DIR 6367117f1b4SmrgFILE_MAN_DIR 6377117f1b4SmrgLIB_MAN_DIR 6387117f1b4SmrgAPP_MAN_DIR 6397117f1b4SmrgADMIN_MAN_SUFFIX 6407117f1b4SmrgDRIVER_MAN_SUFFIX 6417117f1b4SmrgMISC_MAN_SUFFIX 6427117f1b4SmrgFILE_MAN_SUFFIX 6437117f1b4SmrgLIB_MAN_SUFFIX 6447117f1b4SmrgAPP_MAN_SUFFIX 6457117f1b4SmrgSED 6467117f1b4Smrghost_os 6477117f1b4Smrghost_vendor 6487117f1b4Smrghost_cpu 6497117f1b4Smrghost 6507117f1b4Smrgbuild_os 6514a49301eSmrgbuild_vendor 6527117f1b4Smrgbuild_cpu 6537117f1b4Smrgbuild 6547117f1b4SmrgINSTALL_CMD 6557117f1b4SmrgPKG_CONFIG_LIBDIR 6567117f1b4SmrgPKG_CONFIG_PATH 6577117f1b4SmrgPKG_CONFIG 6587117f1b4SmrgCHANGELOG_CMD 6597117f1b4SmrgAM_BACKSLASH 6607117f1b4SmrgAM_DEFAULT_VERBOSITY 6617117f1b4SmrgAM_DEFAULT_V 6627117f1b4SmrgAM_V 6637117f1b4SmrgCSCOPE 6647117f1b4SmrgETAGS 6657117f1b4SmrgCTAGS 6667117f1b4Smrgam__untar 6677117f1b4Smrgam__tar 6687117f1b4SmrgAMTAR 6697117f1b4Smrgam__leading_dot 6707117f1b4SmrgSET_MAKE 6717117f1b4SmrgAWK 6727117f1b4Smrgmkdir_p 6737117f1b4SmrgMKDIR_P 6747117f1b4SmrgINSTALL_STRIP_PROGRAM 6757117f1b4SmrgSTRIP 6767117f1b4Smrginstall_sh 6777117f1b4SmrgMAKEINFO 6787117f1b4SmrgAUTOHEADER 6797117f1b4SmrgAUTOMAKE 6807117f1b4SmrgAUTOCONF 6817117f1b4SmrgACLOCAL 6827117f1b4SmrgVERSION 6837117f1b4SmrgPACKAGE 6847117f1b4SmrgCYGPATH_W 6857117f1b4Smrgam__isrc 6867117f1b4SmrgINSTALL_DATA 6877117f1b4SmrgINSTALL_SCRIPT 6887117f1b4SmrgINSTALL_PROGRAM 6897117f1b4Smrgtarget_alias 6907117f1b4Smrghost_alias 6917117f1b4Smrgbuild_alias 6927117f1b4SmrgLIBS 6937117f1b4SmrgECHO_T 6947117f1b4SmrgECHO_N 6957117f1b4SmrgECHO_C 6967117f1b4SmrgDEFS 6977117f1b4Smrgmandir 6987117f1b4Smrglocaledir 6997117f1b4Smrglibdir 7007117f1b4Smrgpsdir 7017117f1b4Smrgpdfdir 7027117f1b4Smrgdvidir 7037117f1b4Smrghtmldir 7047117f1b4Smrginfodir 7057117f1b4Smrgdocdir 7067117f1b4Smrgoldincludedir 7077117f1b4Smrgincludedir 7087117f1b4Smrgrunstatedir 7097117f1b4Smrglocalstatedir 7107117f1b4Smrgsharedstatedir 7117117f1b4Smrgsysconfdir 7127117f1b4Smrgdatadir 7137117f1b4Smrgdatarootdir 7147117f1b4Smrglibexecdir 7157117f1b4Smrgsbindir 7167117f1b4Smrgbindir 7177117f1b4Smrgprogram_transform_name 7187117f1b4Smrgprefix 7197117f1b4Smrgexec_prefix 7207117f1b4SmrgPACKAGE_URL 7217117f1b4SmrgPACKAGE_BUGREPORT 7227117f1b4SmrgPACKAGE_STRING 7237117f1b4SmrgPACKAGE_VERSION 7247117f1b4SmrgPACKAGE_TARNAME 7257117f1b4SmrgPACKAGE_NAME 7267117f1b4SmrgPATH_SEPARATOR 7277117f1b4SmrgSHELL' 7287117f1b4Smrgac_subst_files='' 7297117f1b4Smrgac_user_opts=' 7307117f1b4Smrgenable_option_checking 7317117f1b4Smrgenable_silent_rules 7327117f1b4Smrgwith_fontrootdir 7337117f1b4Smrgwith_fontdir 7347117f1b4Smrgwith_compression 7357117f1b4Smrg' 7367117f1b4Smrg ac_precious_vars='build_alias 7377117f1b4Smrghost_alias 7387117f1b4Smrgtarget_alias 7397117f1b4SmrgPKG_CONFIG 7407117f1b4SmrgPKG_CONFIG_PATH 7417117f1b4SmrgPKG_CONFIG_LIBDIR' 7427117f1b4Smrg 7437117f1b4Smrg 7447117f1b4Smrg# Initialize some variables set by options. 7457117f1b4Smrgac_init_help= 7467117f1b4Smrgac_init_version=false 7477117f1b4Smrgac_unrecognized_opts= 7487117f1b4Smrgac_unrecognized_sep= 7497117f1b4Smrg# The variables have the same names as the options, with 7507117f1b4Smrg# dashes changed to underlines. 7517117f1b4Smrgcache_file=/dev/null 7527117f1b4Smrgexec_prefix=NONE 7537117f1b4Smrgno_create= 7547117f1b4Smrgno_recursion= 7557117f1b4Smrgprefix=NONE 7567117f1b4Smrgprogram_prefix=NONE 7577117f1b4Smrgprogram_suffix=NONE 7587117f1b4Smrgprogram_transform_name=s,x,x, 7597117f1b4Smrgsilent= 7607117f1b4Smrgsite= 7617117f1b4Smrgsrcdir= 7627117f1b4Smrgverbose= 7637117f1b4Smrgx_includes=NONE 7647117f1b4Smrgx_libraries=NONE 7657117f1b4Smrg 7667117f1b4Smrg# Installation directory options. 7677117f1b4Smrg# These are left unexpanded so users can "make install exec_prefix=/foo" 7687117f1b4Smrg# and all the variables that are supposed to be based on exec_prefix 7697117f1b4Smrg# by default will actually change. 7707117f1b4Smrg# Use braces instead of parens because sh, perl, etc. also accept them. 7717117f1b4Smrg# (The list follows the same order as the GNU Coding Standards.) 7727117f1b4Smrgbindir='${exec_prefix}/bin' 7737117f1b4Smrgsbindir='${exec_prefix}/sbin' 7747117f1b4Smrglibexecdir='${exec_prefix}/libexec' 7757117f1b4Smrgdatarootdir='${prefix}/share' 7767117f1b4Smrgdatadir='${datarootdir}' 7777117f1b4Smrgsysconfdir='${prefix}/etc' 7787117f1b4Smrgsharedstatedir='${prefix}/com' 7797117f1b4Smrglocalstatedir='${prefix}/var' 7807117f1b4Smrgrunstatedir='${localstatedir}/run' 7817117f1b4Smrgincludedir='${prefix}/include' 7827117f1b4Smrgoldincludedir='/usr/include' 7837117f1b4Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 7847117f1b4Smrginfodir='${datarootdir}/info' 7857117f1b4Smrghtmldir='${docdir}' 7867117f1b4Smrgdvidir='${docdir}' 7877117f1b4Smrgpdfdir='${docdir}' 7887117f1b4Smrgpsdir='${docdir}' 7897117f1b4Smrglibdir='${exec_prefix}/lib' 7907117f1b4Smrglocaledir='${datarootdir}/locale' 7917117f1b4Smrgmandir='${datarootdir}/man' 7927117f1b4Smrg 7937117f1b4Smrgac_prev= 7947117f1b4Smrgac_dashdash= 7957117f1b4Smrgfor ac_option 7967117f1b4Smrgdo 7977117f1b4Smrg # If the previous option needs an argument, assign it. 7987117f1b4Smrg if test -n "$ac_prev"; then 7997117f1b4Smrg eval $ac_prev=\$ac_option 8007117f1b4Smrg ac_prev= 8017117f1b4Smrg continue 8027117f1b4Smrg fi 8037117f1b4Smrg 8047117f1b4Smrg case $ac_option in 8057117f1b4Smrg *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 8067117f1b4Smrg *=) ac_optarg= ;; 8077117f1b4Smrg *) ac_optarg=yes ;; 8087117f1b4Smrg esac 8097117f1b4Smrg 8107117f1b4Smrg case $ac_dashdash$ac_option in 8117117f1b4Smrg --) 8127117f1b4Smrg ac_dashdash=yes ;; 8137117f1b4Smrg 8147117f1b4Smrg -bindir | --bindir | --bindi | --bind | --bin | --bi) 8157117f1b4Smrg ac_prev=bindir ;; 8167117f1b4Smrg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 8177117f1b4Smrg bindir=$ac_optarg ;; 8187117f1b4Smrg 8197117f1b4Smrg -build | --build | --buil | --bui | --bu) 8207117f1b4Smrg ac_prev=build_alias ;; 8217117f1b4Smrg -build=* | --build=* | --buil=* | --bui=* | --bu=*) 8227117f1b4Smrg build_alias=$ac_optarg ;; 8237117f1b4Smrg 8247117f1b4Smrg -cache-file | --cache-file | --cache-fil | --cache-fi \ 8257117f1b4Smrg | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 8267117f1b4Smrg ac_prev=cache_file ;; 8277117f1b4Smrg -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 8287117f1b4Smrg | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 8297117f1b4Smrg cache_file=$ac_optarg ;; 8307117f1b4Smrg 8317117f1b4Smrg --config-cache | -C) 8327117f1b4Smrg cache_file=config.cache ;; 8337117f1b4Smrg 8347117f1b4Smrg -datadir | --datadir | --datadi | --datad) 8357117f1b4Smrg ac_prev=datadir ;; 8367117f1b4Smrg -datadir=* | --datadir=* | --datadi=* | --datad=*) 8377117f1b4Smrg datadir=$ac_optarg ;; 8387117f1b4Smrg 8397117f1b4Smrg -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 8407117f1b4Smrg | --dataroo | --dataro | --datar) 8417117f1b4Smrg ac_prev=datarootdir ;; 8427117f1b4Smrg -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 8437117f1b4Smrg | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 8447117f1b4Smrg datarootdir=$ac_optarg ;; 8457117f1b4Smrg 8467117f1b4Smrg -disable-* | --disable-*) 8477117f1b4Smrg ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 8487117f1b4Smrg # Reject names that are not valid shell variable names. 8497117f1b4Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 8507117f1b4Smrg as_fn_error $? "invalid feature name: \`$ac_useropt'" 8517117f1b4Smrg ac_useropt_orig=$ac_useropt 8527117f1b4Smrg ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 8537117f1b4Smrg case $ac_user_opts in 8547117f1b4Smrg *" 8557117f1b4Smrg"enable_$ac_useropt" 8567117f1b4Smrg"*) ;; 8577117f1b4Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 8587117f1b4Smrg ac_unrecognized_sep=', ';; 8597117f1b4Smrg esac 8607117f1b4Smrg eval enable_$ac_useropt=no ;; 8617117f1b4Smrg 8627117f1b4Smrg -docdir | --docdir | --docdi | --doc | --do) 8637117f1b4Smrg ac_prev=docdir ;; 8647117f1b4Smrg -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 8657117f1b4Smrg docdir=$ac_optarg ;; 8667117f1b4Smrg 8677117f1b4Smrg -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 8687117f1b4Smrg ac_prev=dvidir ;; 8697117f1b4Smrg -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 8707117f1b4Smrg dvidir=$ac_optarg ;; 8717117f1b4Smrg 8727117f1b4Smrg -enable-* | --enable-*) 8737117f1b4Smrg ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 8747117f1b4Smrg # Reject names that are not valid shell variable names. 8757117f1b4Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 8767117f1b4Smrg as_fn_error $? "invalid feature name: \`$ac_useropt'" 8777117f1b4Smrg ac_useropt_orig=$ac_useropt 8787117f1b4Smrg ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 8797117f1b4Smrg case $ac_user_opts in 8807117f1b4Smrg *" 8817117f1b4Smrg"enable_$ac_useropt" 8827117f1b4Smrg"*) ;; 8837117f1b4Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 8847117f1b4Smrg ac_unrecognized_sep=', ';; 8857117f1b4Smrg esac 8867117f1b4Smrg eval enable_$ac_useropt=\$ac_optarg ;; 8877117f1b4Smrg 8887117f1b4Smrg -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 8897117f1b4Smrg | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 8907117f1b4Smrg | --exec | --exe | --ex) 8917117f1b4Smrg ac_prev=exec_prefix ;; 8927117f1b4Smrg -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 8937117f1b4Smrg | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 8947117f1b4Smrg | --exec=* | --exe=* | --ex=*) 8957117f1b4Smrg exec_prefix=$ac_optarg ;; 8967117f1b4Smrg 8977117f1b4Smrg -gas | --gas | --ga | --g) 8987117f1b4Smrg # Obsolete; use --with-gas. 8997117f1b4Smrg with_gas=yes ;; 9007117f1b4Smrg 9017117f1b4Smrg -help | --help | --hel | --he | -h) 9027117f1b4Smrg ac_init_help=long ;; 9037117f1b4Smrg -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 9047117f1b4Smrg ac_init_help=recursive ;; 9057117f1b4Smrg -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 9067117f1b4Smrg ac_init_help=short ;; 9077117f1b4Smrg 9087117f1b4Smrg -host | --host | --hos | --ho) 9097117f1b4Smrg ac_prev=host_alias ;; 9107117f1b4Smrg -host=* | --host=* | --hos=* | --ho=*) 9117117f1b4Smrg host_alias=$ac_optarg ;; 9127117f1b4Smrg 9137117f1b4Smrg -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 9147117f1b4Smrg ac_prev=htmldir ;; 9157117f1b4Smrg -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 9167117f1b4Smrg | --ht=*) 9177117f1b4Smrg htmldir=$ac_optarg ;; 9187117f1b4Smrg 9197117f1b4Smrg -includedir | --includedir | --includedi | --included | --include \ 9207117f1b4Smrg | --includ | --inclu | --incl | --inc) 9217117f1b4Smrg ac_prev=includedir ;; 9227117f1b4Smrg -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 9237117f1b4Smrg | --includ=* | --inclu=* | --incl=* | --inc=*) 9247117f1b4Smrg includedir=$ac_optarg ;; 9257117f1b4Smrg 9267117f1b4Smrg -infodir | --infodir | --infodi | --infod | --info | --inf) 9277117f1b4Smrg ac_prev=infodir ;; 9287117f1b4Smrg -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 9297117f1b4Smrg infodir=$ac_optarg ;; 9307117f1b4Smrg 9317117f1b4Smrg -libdir | --libdir | --libdi | --libd) 9327117f1b4Smrg ac_prev=libdir ;; 9337117f1b4Smrg -libdir=* | --libdir=* | --libdi=* | --libd=*) 9347117f1b4Smrg libdir=$ac_optarg ;; 9357117f1b4Smrg 9367117f1b4Smrg -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 9377117f1b4Smrg | --libexe | --libex | --libe) 9387117f1b4Smrg ac_prev=libexecdir ;; 9397117f1b4Smrg -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 9407117f1b4Smrg | --libexe=* | --libex=* | --libe=*) 9417117f1b4Smrg libexecdir=$ac_optarg ;; 9427117f1b4Smrg 9437117f1b4Smrg -localedir | --localedir | --localedi | --localed | --locale) 9447117f1b4Smrg ac_prev=localedir ;; 9457117f1b4Smrg -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 9467117f1b4Smrg localedir=$ac_optarg ;; 9477117f1b4Smrg 9487117f1b4Smrg -localstatedir | --localstatedir | --localstatedi | --localstated \ 9497117f1b4Smrg | --localstate | --localstat | --localsta | --localst | --locals) 9507117f1b4Smrg ac_prev=localstatedir ;; 9517117f1b4Smrg -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 9527117f1b4Smrg | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 9537117f1b4Smrg localstatedir=$ac_optarg ;; 9547117f1b4Smrg 9557117f1b4Smrg -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 9567117f1b4Smrg ac_prev=mandir ;; 9577117f1b4Smrg -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 9587117f1b4Smrg mandir=$ac_optarg ;; 9597117f1b4Smrg 9607117f1b4Smrg -nfp | --nfp | --nf) 9617117f1b4Smrg # Obsolete; use --without-fp. 9627117f1b4Smrg with_fp=no ;; 9637117f1b4Smrg 9647117f1b4Smrg -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 9657117f1b4Smrg | --no-cr | --no-c | -n) 9667117f1b4Smrg no_create=yes ;; 9677117f1b4Smrg 9687117f1b4Smrg -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 9697117f1b4Smrg | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 9707117f1b4Smrg no_recursion=yes ;; 9717117f1b4Smrg 9727117f1b4Smrg -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 9737117f1b4Smrg | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 9747117f1b4Smrg | --oldin | --oldi | --old | --ol | --o) 9757117f1b4Smrg ac_prev=oldincludedir ;; 9767117f1b4Smrg -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 9777117f1b4Smrg | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 9787117f1b4Smrg | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 9797117f1b4Smrg oldincludedir=$ac_optarg ;; 9807117f1b4Smrg 9817117f1b4Smrg -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 9827117f1b4Smrg ac_prev=prefix ;; 9837117f1b4Smrg -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 9847117f1b4Smrg prefix=$ac_optarg ;; 9857117f1b4Smrg 9867117f1b4Smrg -program-prefix | --program-prefix | --program-prefi | --program-pref \ 9877117f1b4Smrg | --program-pre | --program-pr | --program-p) 9887117f1b4Smrg ac_prev=program_prefix ;; 9897117f1b4Smrg -program-prefix=* | --program-prefix=* | --program-prefi=* \ 9907117f1b4Smrg | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 9917117f1b4Smrg program_prefix=$ac_optarg ;; 9927117f1b4Smrg 9937117f1b4Smrg -program-suffix | --program-suffix | --program-suffi | --program-suff \ 9947117f1b4Smrg | --program-suf | --program-su | --program-s) 9957117f1b4Smrg ac_prev=program_suffix ;; 9967117f1b4Smrg -program-suffix=* | --program-suffix=* | --program-suffi=* \ 9977117f1b4Smrg | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 9987117f1b4Smrg program_suffix=$ac_optarg ;; 9997117f1b4Smrg 10007117f1b4Smrg -program-transform-name | --program-transform-name \ 10017117f1b4Smrg | --program-transform-nam | --program-transform-na \ 10027117f1b4Smrg | --program-transform-n | --program-transform- \ 10037117f1b4Smrg | --program-transform | --program-transfor \ 10047117f1b4Smrg | --program-transfo | --program-transf \ 10057117f1b4Smrg | --program-trans | --program-tran \ 10067117f1b4Smrg | --progr-tra | --program-tr | --program-t) 10077117f1b4Smrg ac_prev=program_transform_name ;; 10087117f1b4Smrg -program-transform-name=* | --program-transform-name=* \ 10097117f1b4Smrg | --program-transform-nam=* | --program-transform-na=* \ 10107117f1b4Smrg | --program-transform-n=* | --program-transform-=* \ 10117117f1b4Smrg | --program-transform=* | --program-transfor=* \ 10127117f1b4Smrg | --program-transfo=* | --program-transf=* \ 10137117f1b4Smrg | --program-trans=* | --program-tran=* \ 10147117f1b4Smrg | --progr-tra=* | --program-tr=* | --program-t=*) 10157117f1b4Smrg program_transform_name=$ac_optarg ;; 10167117f1b4Smrg 10177117f1b4Smrg -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 10187117f1b4Smrg ac_prev=pdfdir ;; 10197117f1b4Smrg -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 10207117f1b4Smrg pdfdir=$ac_optarg ;; 10217117f1b4Smrg 10227117f1b4Smrg -psdir | --psdir | --psdi | --psd | --ps) 10237117f1b4Smrg ac_prev=psdir ;; 10247117f1b4Smrg -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 10257117f1b4Smrg psdir=$ac_optarg ;; 10267117f1b4Smrg 10277117f1b4Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 10287117f1b4Smrg | -silent | --silent | --silen | --sile | --sil) 10297117f1b4Smrg silent=yes ;; 10307117f1b4Smrg 10317117f1b4Smrg -runstatedir | --runstatedir | --runstatedi | --runstated \ 10327117f1b4Smrg | --runstate | --runstat | --runsta | --runst | --runs \ 10337117f1b4Smrg | --run | --ru | --r) 10347117f1b4Smrg ac_prev=runstatedir ;; 10357117f1b4Smrg -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 10367117f1b4Smrg | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 10377117f1b4Smrg | --run=* | --ru=* | --r=*) 10387117f1b4Smrg runstatedir=$ac_optarg ;; 10397117f1b4Smrg 10407117f1b4Smrg -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 10417117f1b4Smrg ac_prev=sbindir ;; 10427117f1b4Smrg -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 10437117f1b4Smrg | --sbi=* | --sb=*) 10447117f1b4Smrg sbindir=$ac_optarg ;; 10457117f1b4Smrg 10467117f1b4Smrg -sharedstatedir | --sharedstatedir | --sharedstatedi \ 10477117f1b4Smrg | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 10487117f1b4Smrg | --sharedst | --shareds | --shared | --share | --shar \ 10497117f1b4Smrg | --sha | --sh) 10507117f1b4Smrg ac_prev=sharedstatedir ;; 10517117f1b4Smrg -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 10527117f1b4Smrg | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 10537117f1b4Smrg | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 10547117f1b4Smrg | --sha=* | --sh=*) 10557117f1b4Smrg sharedstatedir=$ac_optarg ;; 10567117f1b4Smrg 10577117f1b4Smrg -site | --site | --sit) 10587117f1b4Smrg ac_prev=site ;; 10597117f1b4Smrg -site=* | --site=* | --sit=*) 10607117f1b4Smrg site=$ac_optarg ;; 10617117f1b4Smrg 10627117f1b4Smrg -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 10637117f1b4Smrg ac_prev=srcdir ;; 10647117f1b4Smrg -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 10657117f1b4Smrg srcdir=$ac_optarg ;; 10667117f1b4Smrg 10677117f1b4Smrg -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 10687117f1b4Smrg | --syscon | --sysco | --sysc | --sys | --sy) 10697117f1b4Smrg ac_prev=sysconfdir ;; 10707117f1b4Smrg -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 10717117f1b4Smrg | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 10727117f1b4Smrg sysconfdir=$ac_optarg ;; 10737117f1b4Smrg 10747117f1b4Smrg -target | --target | --targe | --targ | --tar | --ta | --t) 10757117f1b4Smrg ac_prev=target_alias ;; 10767117f1b4Smrg -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 10777117f1b4Smrg target_alias=$ac_optarg ;; 10787117f1b4Smrg 10797117f1b4Smrg -v | -verbose | --verbose | --verbos | --verbo | --verb) 10807117f1b4Smrg verbose=yes ;; 10817117f1b4Smrg 10827117f1b4Smrg -version | --version | --versio | --versi | --vers | -V) 10837117f1b4Smrg ac_init_version=: ;; 10847117f1b4Smrg 10857117f1b4Smrg -with-* | --with-*) 10867117f1b4Smrg ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 10877117f1b4Smrg # Reject names that are not valid shell variable names. 10887117f1b4Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 10897117f1b4Smrg as_fn_error $? "invalid package name: \`$ac_useropt'" 10907117f1b4Smrg ac_useropt_orig=$ac_useropt 10917117f1b4Smrg ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 10927117f1b4Smrg case $ac_user_opts in 10937117f1b4Smrg *" 10947117f1b4Smrg"with_$ac_useropt" 10957117f1b4Smrg"*) ;; 1096cdc920a0Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1097cdc920a0Smrg ac_unrecognized_sep=', ';; 1098cdc920a0Smrg esac 1099cdc920a0Smrg eval with_$ac_useropt=\$ac_optarg ;; 1100cdc920a0Smrg 1101cdc920a0Smrg -without-* | --without-*) 1102cdc920a0Smrg ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1103cdc920a0Smrg # Reject names that are not valid shell variable names. 1104cdc920a0Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1105cdc920a0Smrg as_fn_error $? "invalid package name: \`$ac_useropt'" 1106cdc920a0Smrg ac_useropt_orig=$ac_useropt 1107cdc920a0Smrg ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 1108cdc920a0Smrg case $ac_user_opts in 1109cdc920a0Smrg *" 1110cdc920a0Smrg"with_$ac_useropt" 1111cdc920a0Smrg"*) ;; 11127117f1b4Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 11137117f1b4Smrg ac_unrecognized_sep=', ';; 11147117f1b4Smrg esac 11157117f1b4Smrg eval with_$ac_useropt=no ;; 11167117f1b4Smrg 11177117f1b4Smrg --x) 11187117f1b4Smrg # Obsolete; use --with-x. 11197117f1b4Smrg with_x=yes ;; 11207117f1b4Smrg 11217117f1b4Smrg -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 11227117f1b4Smrg | --x-incl | --x-inc | --x-in | --x-i) 11237117f1b4Smrg ac_prev=x_includes ;; 11247117f1b4Smrg -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 11257117f1b4Smrg | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 11267117f1b4Smrg x_includes=$ac_optarg ;; 11277117f1b4Smrg 11287117f1b4Smrg -x-libraries | --x-libraries | --x-librarie | --x-librari \ 11297117f1b4Smrg | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 11307117f1b4Smrg ac_prev=x_libraries ;; 11317117f1b4Smrg -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 11327117f1b4Smrg | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 11337117f1b4Smrg x_libraries=$ac_optarg ;; 11347117f1b4Smrg 11357117f1b4Smrg -*) as_fn_error $? "unrecognized option: \`$ac_option' 11367117f1b4SmrgTry \`$0 --help' for more information" 11377117f1b4Smrg ;; 11387117f1b4Smrg 11397117f1b4Smrg *=*) 11407117f1b4Smrg ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 11417117f1b4Smrg # Reject names that are not valid shell variable names. 11427117f1b4Smrg case $ac_envvar in #( 11437117f1b4Smrg '' | [0-9]* | *[!_$as_cr_alnum]* ) 11447117f1b4Smrg as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 11457117f1b4Smrg esac 11467117f1b4Smrg eval $ac_envvar=\$ac_optarg 11477117f1b4Smrg export $ac_envvar ;; 11487117f1b4Smrg 11497117f1b4Smrg *) 11507117f1b4Smrg # FIXME: should be removed in autoconf 3.0. 11517117f1b4Smrg printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2 11527117f1b4Smrg expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 11537117f1b4Smrg printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 11547117f1b4Smrg : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 11557117f1b4Smrg ;; 11567117f1b4Smrg 11577117f1b4Smrg esac 11587117f1b4Smrgdone 11597117f1b4Smrg 11607117f1b4Smrgif test -n "$ac_prev"; then 11617117f1b4Smrg ac_option=--`echo $ac_prev | sed 's/_/-/g'` 11627117f1b4Smrg as_fn_error $? "missing argument to $ac_option" 11637117f1b4Smrgfi 11647117f1b4Smrg 11657117f1b4Smrgif test -n "$ac_unrecognized_opts"; then 11667117f1b4Smrg case $enable_option_checking in 1167c1f859d4Smrg no) ;; 11687117f1b4Smrg fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 11697117f1b4Smrg *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 11707117f1b4Smrg esac 11717117f1b4Smrgfi 11727117f1b4Smrg 11737117f1b4Smrg# Check all directory arguments for consistency. 1174c1f859d4Smrgfor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1175c1f859d4Smrg datadir sysconfdir sharedstatedir localstatedir includedir \ 11767117f1b4Smrg oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 11774a49301eSmrg libdir localedir mandir runstatedir 11784a49301eSmrgdo 11797117f1b4Smrg eval ac_val=\$$ac_var 11807117f1b4Smrg # Remove trailing slashes. 1181c1f859d4Smrg case $ac_val in 11824a49301eSmrg */ ) 1183c1f859d4Smrg ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 11844a49301eSmrg eval $ac_var=\$ac_val;; 1185c1f859d4Smrg esac 11867117f1b4Smrg # Be sure to have absolute directory names. 11877117f1b4Smrg case $ac_val in 11887117f1b4Smrg [\\/$]* | ?:[\\/]* ) continue;; 11894a49301eSmrg NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 11907117f1b4Smrg esac 11917117f1b4Smrg as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 11927117f1b4Smrgdone 11934a49301eSmrg 11947117f1b4Smrg# There might be people who depend on the old broken behavior: `$host' 11957117f1b4Smrg# used to hold the argument of --host etc. 11967117f1b4Smrg# FIXME: To remove some day. 11977117f1b4Smrgbuild=$build_alias 11987117f1b4Smrghost=$host_alias 11997117f1b4Smrgtarget=$target_alias 12007117f1b4Smrg 12017117f1b4Smrg# FIXME: To remove some day. 12027117f1b4Smrgif test "x$host_alias" != x; then 12037117f1b4Smrg if test "x$build_alias" = x; then 12047117f1b4Smrg cross_compiling=maybe 12057117f1b4Smrg elif test "x$build_alias" != "x$host_alias"; then 12067117f1b4Smrg cross_compiling=yes 12077117f1b4Smrg fi 12087117f1b4Smrgfi 12097117f1b4Smrg 12107117f1b4Smrgac_tool_prefix= 12117117f1b4Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias- 12127117f1b4Smrg 12137117f1b4Smrgtest "$silent" = yes && exec 6>/dev/null 12147117f1b4Smrg 12157117f1b4Smrg 12167117f1b4Smrgac_pwd=`pwd` && test -n "$ac_pwd" && 12177117f1b4Smrgac_ls_di=`ls -di .` && 12187117f1b4Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 12197117f1b4Smrg as_fn_error $? "working directory cannot be determined" 12207117f1b4Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" || 12217117f1b4Smrg as_fn_error $? "pwd does not report name of working directory" 12227117f1b4Smrg 12237117f1b4Smrg 12247117f1b4Smrg# Find the source files, if location was not specified. 12257117f1b4Smrgif test -z "$srcdir"; then 12267117f1b4Smrg ac_srcdir_defaulted=yes 12277117f1b4Smrg # Try the directory containing this script, then the parent directory. 12287117f1b4Smrg ac_confdir=`$as_dirname -- "$as_myself" || 12297117f1b4Smrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12307117f1b4Smrg X"$as_myself" : 'X\(//\)[^/]' \| \ 12317117f1b4Smrg X"$as_myself" : 'X\(//\)$' \| \ 12327117f1b4Smrg X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 12337117f1b4Smrgprintf "%s\n" X"$as_myself" | 12347117f1b4Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12357117f1b4Smrg s//\1/ 12367117f1b4Smrg q 12377117f1b4Smrg } 12387117f1b4Smrg /^X\(\/\/\)[^/].*/{ 12397117f1b4Smrg s//\1/ 12407117f1b4Smrg q 12417117f1b4Smrg } 12427117f1b4Smrg /^X\(\/\/\)$/{ 12437117f1b4Smrg s//\1/ 12447117f1b4Smrg q 12457117f1b4Smrg } 12467117f1b4Smrg /^X\(\/\).*/{ 12477117f1b4Smrg s//\1/ 12487117f1b4Smrg q 12497117f1b4Smrg } 12507117f1b4Smrg s/.*/./; q'` 12517117f1b4Smrg srcdir=$ac_confdir 12527117f1b4Smrg if test ! -r "$srcdir/$ac_unique_file"; then 12537117f1b4Smrg srcdir=.. 12547117f1b4Smrg fi 12557117f1b4Smrgelse 12567117f1b4Smrg ac_srcdir_defaulted=no 12577117f1b4Smrgfi 12587117f1b4Smrgif test ! -r "$srcdir/$ac_unique_file"; then 12597117f1b4Smrg test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 12607117f1b4Smrg as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 12617117f1b4Smrgfi 12624a49301eSmrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 12637117f1b4Smrgac_abs_confdir=`( 12647117f1b4Smrg cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 12657117f1b4Smrg pwd)` 12667117f1b4Smrg# When building in place, set srcdir=. 12674a49301eSmrgif test "$ac_abs_confdir" = "$ac_pwd"; then 12687117f1b4Smrg srcdir=. 12697117f1b4Smrgfi 12704a49301eSmrg# Remove unnecessary trailing slashes from srcdir. 12717117f1b4Smrg# Double slashes in file names in object file debugging info 12727117f1b4Smrg# mess up M-x gdb in Emacs. 12737117f1b4Smrgcase $srcdir in 12747117f1b4Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 12757117f1b4Smrgesac 12767117f1b4Smrgfor ac_var in $ac_precious_vars; do 12777117f1b4Smrg eval ac_env_${ac_var}_set=\${${ac_var}+set} 12787117f1b4Smrg eval ac_env_${ac_var}_value=\$${ac_var} 12797117f1b4Smrg eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 12807117f1b4Smrg eval ac_cv_env_${ac_var}_value=\$${ac_var} 12817117f1b4Smrgdone 12827117f1b4Smrg 12837117f1b4Smrg# 12847117f1b4Smrg# Report the --help message. 12857117f1b4Smrg# 12867117f1b4Smrgif test "$ac_init_help" = "long"; then 12877117f1b4Smrg # Omit some internal or obsolete options to make the list less imposing. 12887117f1b4Smrg # This message is too long to be a string in the A/UX 3.1 sh. 12897117f1b4Smrg cat <<_ACEOF 12907117f1b4Smrg\`configure' configures font-mutt-misc 1.0.4 to adapt to many kinds of systems. 12917117f1b4Smrg 12927117f1b4SmrgUsage: $0 [OPTION]... [VAR=VALUE]... 12937117f1b4Smrg 12947117f1b4SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as 12957117f1b4SmrgVAR=VALUE. See below for descriptions of some of the useful variables. 12967117f1b4Smrg 12977117f1b4SmrgDefaults for the options are specified in brackets. 12987117f1b4Smrg 12997117f1b4SmrgConfiguration: 13007117f1b4Smrg -h, --help display this help and exit 13017117f1b4Smrg --help=short display options specific to this package 13027117f1b4Smrg --help=recursive display the short help of all the included packages 13037117f1b4Smrg -V, --version display version information and exit 13047117f1b4Smrg -q, --quiet, --silent do not print \`checking ...' messages 13057117f1b4Smrg --cache-file=FILE cache test results in FILE [disabled] 13067117f1b4Smrg -C, --config-cache alias for \`--cache-file=config.cache' 13077117f1b4Smrg -n, --no-create do not create output files 13087117f1b4Smrg --srcdir=DIR find the sources in DIR [configure dir or \`..'] 13097117f1b4Smrg 13107117f1b4SmrgInstallation directories: 13117117f1b4Smrg --prefix=PREFIX install architecture-independent files in PREFIX 13127117f1b4Smrg [$ac_default_prefix] 13137117f1b4Smrg --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 13147117f1b4Smrg [PREFIX] 13157117f1b4Smrg 13167117f1b4SmrgBy default, \`make install' will install all the files in 13174a49301eSmrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 13187117f1b4Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix', 13197117f1b4Smrgfor instance \`--prefix=\$HOME'. 13207117f1b4Smrg 13217117f1b4SmrgFor better control, use the options below. 13227117f1b4Smrg 13237117f1b4SmrgFine tuning of the installation directories: 13247117f1b4Smrg --bindir=DIR user executables [EPREFIX/bin] 13257117f1b4Smrg --sbindir=DIR system admin executables [EPREFIX/sbin] 13267117f1b4Smrg --libexecdir=DIR program executables [EPREFIX/libexec] 13277117f1b4Smrg --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 13287117f1b4Smrg --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 13297117f1b4Smrg --localstatedir=DIR modifiable single-machine data [PREFIX/var] 13307117f1b4Smrg --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 13317117f1b4Smrg --libdir=DIR object code libraries [EPREFIX/lib] 13327117f1b4Smrg --includedir=DIR C header files [PREFIX/include] 13337117f1b4Smrg --oldincludedir=DIR C header files for non-gcc [/usr/include] 13347117f1b4Smrg --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 13357117f1b4Smrg --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 13367117f1b4Smrg --infodir=DIR info documentation [DATAROOTDIR/info] 13377117f1b4Smrg --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 13387117f1b4Smrg --mandir=DIR man documentation [DATAROOTDIR/man] 13397117f1b4Smrg --docdir=DIR documentation root [DATAROOTDIR/doc/font-mutt-misc] 13407117f1b4Smrg --htmldir=DIR html documentation [DOCDIR] 13417117f1b4Smrg --dvidir=DIR dvi documentation [DOCDIR] 13427117f1b4Smrg --pdfdir=DIR pdf documentation [DOCDIR] 13437117f1b4Smrg --psdir=DIR ps documentation [DOCDIR] 13447117f1b4Smrg_ACEOF 13457117f1b4Smrg 13467117f1b4Smrg cat <<\_ACEOF 13477117f1b4Smrg 13487117f1b4SmrgProgram names: 13497117f1b4Smrg --program-prefix=PREFIX prepend PREFIX to installed program names 13507117f1b4Smrg --program-suffix=SUFFIX append SUFFIX to installed program names 13517117f1b4Smrg --program-transform-name=PROGRAM run sed PROGRAM on installed program names 13527117f1b4Smrg 13537117f1b4SmrgSystem types: 13547117f1b4Smrg --build=BUILD configure for building on BUILD [guessed] 13557117f1b4Smrg --host=HOST cross-compile to build programs to run on HOST [BUILD] 13567117f1b4Smrg_ACEOF 13577117f1b4Smrgfi 13587117f1b4Smrg 13597117f1b4Smrgif test -n "$ac_init_help"; then 13607117f1b4Smrg case $ac_init_help in 13617117f1b4Smrg short | recursive ) echo "Configuration of font-mutt-misc 1.0.4:";; 13627117f1b4Smrg esac 13637117f1b4Smrg cat <<\_ACEOF 13647117f1b4Smrg 13657117f1b4SmrgOptional Features: 13667117f1b4Smrg --disable-option-checking ignore unrecognized --enable/--with options 13677117f1b4Smrg --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 13687117f1b4Smrg --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 13697117f1b4Smrg --enable-silent-rules less verbose build output (undo: "make V=1") 13707117f1b4Smrg --disable-silent-rules verbose build output (undo: "make V=0") 13717117f1b4Smrg 13727117f1b4SmrgOptional Packages: 13737117f1b4Smrg --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 13747117f1b4Smrg --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 13757117f1b4Smrg --with-fontrootdir=DIR Path to root directory for font files 13767117f1b4Smrg --with-fontdir=DIR Path to misc files [FONTROOTDIR/misc] 13777117f1b4Smrg --with-compression=<no|compress|gzip|bzip2> 13787117f1b4Smrg compression method to use on pcf fonts 13797117f1b4Smrg 13807117f1b4SmrgSome influential environment variables: 13817117f1b4Smrg PKG_CONFIG path to pkg-config utility 13827117f1b4Smrg PKG_CONFIG_PATH 13837117f1b4Smrg directories to add to pkg-config's search path 13847117f1b4Smrg PKG_CONFIG_LIBDIR 13857117f1b4Smrg path overriding pkg-config's built-in search path 13864a49301eSmrg 13877117f1b4SmrgUse these variables to override the choices made by `configure' or to help 13887117f1b4Smrgit to find libraries and programs with nonstandard names/locations. 13897117f1b4Smrg 13907117f1b4SmrgReport bugs to <https://gitlab.freedesktop.org/xorg/font/mutt-misc/-/issues>. 13917117f1b4Smrg_ACEOF 13927117f1b4Smrgac_status=$? 13937117f1b4Smrgfi 13947117f1b4Smrg 13957117f1b4Smrgif test "$ac_init_help" = "recursive"; then 13967117f1b4Smrg # If there are subdirs, report their specific --help. 13977117f1b4Smrg for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 13987117f1b4Smrg test -d "$ac_dir" || 13997117f1b4Smrg { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 14007117f1b4Smrg continue 14017117f1b4Smrg ac_builddir=. 14027117f1b4Smrg 14037117f1b4Smrgcase "$ac_dir" in 14047117f1b4Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 14057117f1b4Smrg*) 14067117f1b4Smrg ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 14077117f1b4Smrg # A ".." for each directory in $ac_dir_suffix. 14087117f1b4Smrg ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 14097117f1b4Smrg case $ac_top_builddir_sub in 14107117f1b4Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 14117117f1b4Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 14124a49301eSmrg esac ;; 14137117f1b4Smrgesac 14147117f1b4Smrgac_abs_top_builddir=$ac_pwd 14157117f1b4Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 14167117f1b4Smrg# for backward compatibility: 14177117f1b4Smrgac_top_builddir=$ac_top_build_prefix 14187117f1b4Smrg 14197117f1b4Smrgcase $srcdir in 14207117f1b4Smrg .) # We are building in place. 14217117f1b4Smrg ac_srcdir=. 14227117f1b4Smrg ac_top_srcdir=$ac_top_builddir_sub 14237117f1b4Smrg ac_abs_top_srcdir=$ac_pwd ;; 14247117f1b4Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 14257117f1b4Smrg ac_srcdir=$srcdir$ac_dir_suffix; 14267117f1b4Smrg ac_top_srcdir=$srcdir 1427cdc920a0Smrg ac_abs_top_srcdir=$srcdir ;; 14287117f1b4Smrg *) # Relative name. 1429cdc920a0Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 14307117f1b4Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 1431 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1432esac 1433ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1434 1435 cd "$ac_dir" || { ac_status=$?; continue; } 1436 # Check for configure.gnu first; this name is used for a wrapper for 1437 # Metaconfig's "Configure" on case-insensitive file systems. 1438 if test -f "$ac_srcdir/configure.gnu"; then 1439 echo && 1440 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1441 elif test -f "$ac_srcdir/configure"; then 1442 echo && 1443 $SHELL "$ac_srcdir/configure" --help=recursive 1444 else 1445 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1446 fi || ac_status=$? 1447 cd "$ac_pwd" || { ac_status=$?; break; } 1448 done 1449fi 1450 1451test -n "$ac_init_help" && exit $ac_status 1452if $ac_init_version; then 1453 cat <<\_ACEOF 1454font-mutt-misc configure 1.0.4 1455generated by GNU Autoconf 2.71 1456 1457Copyright (C) 2021 Free Software Foundation, Inc. 1458This configure script is free software; the Free Software Foundation 1459gives unlimited permission to copy, distribute and modify it. 1460_ACEOF 1461 exit 1462fi 1463 1464## ------------------------ ## 1465## Autoconf initialization. ## 1466## ------------------------ ## 1467ac_configure_args_raw= 1468for ac_arg 1469do 1470 case $ac_arg in 1471 *\'*) 1472 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1473 esac 1474 as_fn_append ac_configure_args_raw " '$ac_arg'" 1475done 1476 1477case $ac_configure_args_raw in 1478 *$as_nl*) 1479 ac_safe_unquote= ;; 1480 *) 1481 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. 1482 ac_unsafe_a="$ac_unsafe_z#~" 1483 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" 1484 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;; 1485esac 1486 1487cat >config.log <<_ACEOF 1488This file contains any messages produced by compilers while 1489running configure, to aid debugging if configure makes a mistake. 1490 1491It was created by font-mutt-misc $as_me 1.0.4, which was 1492generated by GNU Autoconf 2.71. Invocation command line was 1493 1494 $ $0$ac_configure_args_raw 1495 1496_ACEOF 1497exec 5>>config.log 1498{ 1499cat <<_ASUNAME 1500## --------- ## 1501## Platform. ## 1502## --------- ## 1503 1504hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1505uname -m = `(uname -m) 2>/dev/null || echo unknown` 1506uname -r = `(uname -r) 2>/dev/null || echo unknown` 1507uname -s = `(uname -s) 2>/dev/null || echo unknown` 1508uname -v = `(uname -v) 2>/dev/null || echo unknown` 1509 1510/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1511/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1512 1513/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1514/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1515/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1516/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1517/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1518/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1519/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1520 1521_ASUNAME 1522 1523as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1524for as_dir in $PATH 1525do 1526 IFS=$as_save_IFS 1527 case $as_dir in #((( 1528 '') as_dir=./ ;; 1529 */) ;; 1530 *) as_dir=$as_dir/ ;; 1531 esac 1532 printf "%s\n" "PATH: $as_dir" 1533 done 1534IFS=$as_save_IFS 1535 1536} >&5 1537 1538cat >&5 <<_ACEOF 1539 1540 1541## ----------- ## 1542## Core tests. ## 1543## ----------- ## 1544 1545_ACEOF 1546 1547 1548# Keep a trace of the command line. 1549# Strip out --no-create and --no-recursion so they do not pile up. 1550# Strip out --silent because we don't want to record it for future runs. 1551# Also quote any args containing shell meta-characters. 1552# Make two passes to allow for proper duplicate-argument suppression. 1553ac_configure_args= 1554ac_configure_args0= 1555ac_configure_args1= 1556ac_must_keep_next=false 1557for ac_pass in 1 2 1558do 1559 for ac_arg 1560 do 1561 case $ac_arg in 1562 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1563 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1564 | -silent | --silent | --silen | --sile | --sil) 1565 continue ;; 1566 *\'*) 1567 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1568 esac 1569 case $ac_pass in 1570 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1571 2) 1572 as_fn_append ac_configure_args1 " '$ac_arg'" 1573 if test $ac_must_keep_next = true; then 1574 ac_must_keep_next=false # Got value, back to normal. 1575 else 1576 case $ac_arg in 1577 *=* | --config-cache | -C | -disable-* | --disable-* \ 1578 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1579 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1580 | -with-* | --with-* | -without-* | --without-* | --x) 1581 case "$ac_configure_args0 " in 1582 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1583 esac 1584 ;; 1585 -* ) ac_must_keep_next=true ;; 1586 esac 1587 fi 1588 as_fn_append ac_configure_args " '$ac_arg'" 1589 ;; 1590 esac 1591 done 1592done 1593{ ac_configure_args0=; unset ac_configure_args0;} 1594{ ac_configure_args1=; unset ac_configure_args1;} 1595 1596# When interrupted or exit'd, cleanup temporary files, and complete 1597# config.log. We remove comments because anyway the quotes in there 1598# would cause problems or look ugly. 1599# WARNING: Use '\'' to represent an apostrophe within the trap. 1600# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1601trap 'exit_status=$? 1602 # Sanitize IFS. 1603 IFS=" "" $as_nl" 1604 # Save into config.log some information that might help in debugging. 1605 { 1606 echo 1607 1608 printf "%s\n" "## ---------------- ## 1609## Cache variables. ## 1610## ---------------- ##" 1611 echo 1612 # The following way of writing the cache mishandles newlines in values, 1613( 1614 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1615 eval ac_val=\$$ac_var 1616 case $ac_val in #( 1617 *${as_nl}*) 1618 case $ac_var in #( 1619 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1620printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1621 esac 1622 case $ac_var in #( 1623 _ | IFS | as_nl) ;; #( 1624 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1625 *) { eval $ac_var=; unset $ac_var;} ;; 1626 esac ;; 1627 esac 1628 done 1629 (set) 2>&1 | 1630 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1631 *${as_nl}ac_space=\ *) 1632 sed -n \ 1633 "s/'\''/'\''\\\\'\'''\''/g; 1634 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1635 ;; #( 1636 *) 1637 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1638 ;; 1639 esac | 1640 sort 1641) 1642 echo 1643 1644 printf "%s\n" "## ----------------- ## 1645## Output variables. ## 1646## ----------------- ##" 1647 echo 1648 for ac_var in $ac_subst_vars 1649 do 1650 eval ac_val=\$$ac_var 1651 case $ac_val in 1652 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1653 esac 1654 printf "%s\n" "$ac_var='\''$ac_val'\''" 1655 done | sort 1656 echo 1657 1658 if test -n "$ac_subst_files"; then 1659 printf "%s\n" "## ------------------- ## 1660## File substitutions. ## 1661## ------------------- ##" 1662 echo 1663 for ac_var in $ac_subst_files 1664 do 1665 eval ac_val=\$$ac_var 1666 case $ac_val in 1667 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1668 esac 1669 printf "%s\n" "$ac_var='\''$ac_val'\''" 1670 done | sort 1671 echo 1672 fi 1673 1674 if test -s confdefs.h; then 1675 printf "%s\n" "## ----------- ## 1676## confdefs.h. ## 1677## ----------- ##" 1678 echo 1679 cat confdefs.h 1680 echo 1681 fi 1682 test "$ac_signal" != 0 && 1683 printf "%s\n" "$as_me: caught signal $ac_signal" 1684 printf "%s\n" "$as_me: exit $exit_status" 1685 } >&5 1686 rm -f core *.core core.conftest.* && 1687 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1688 exit $exit_status 1689' 0 1690for ac_signal in 1 2 13 15; do 1691 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1692done 1693ac_signal=0 1694 1695# confdefs.h avoids OS command line length limits that DEFS can exceed. 1696rm -f -r conftest* confdefs.h 1697 1698printf "%s\n" "/* confdefs.h */" > confdefs.h 1699 1700# Predefined preprocessor variables. 1701 1702printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h 1703 1704printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h 1705 1706printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h 1707 1708printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h 1709 1710printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h 1711 1712printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h 1713 1714 1715# Let the site file select an alternate cache file if it wants to. 1716# Prefer an explicitly selected file to automatically selected ones. 1717if test -n "$CONFIG_SITE"; then 1718 ac_site_files="$CONFIG_SITE" 1719elif test "x$prefix" != xNONE; then 1720 ac_site_files="$prefix/share/config.site $prefix/etc/config.site" 1721else 1722 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1723fi 1724 1725for ac_site_file in $ac_site_files 1726do 1727 case $ac_site_file in #( 1728 */*) : 1729 ;; #( 1730 *) : 1731 ac_site_file=./$ac_site_file ;; 1732esac 1733 if test -f "$ac_site_file" && test -r "$ac_site_file"; then 1734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1735printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;} 1736 sed 's/^/| /' "$ac_site_file" >&5 1737 . "$ac_site_file" \ 1738 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1739printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 1740as_fn_error $? "failed to load site script $ac_site_file 1741See \`config.log' for more details" "$LINENO" 5; } 1742 fi 1743done 1744 1745if test -r "$cache_file"; then 1746 # Some versions of bash will fail to source /dev/null (special files 1747 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 1748 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 1749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1750printf "%s\n" "$as_me: loading cache $cache_file" >&6;} 1751 case $cache_file in 1752 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1753 *) . "./$cache_file";; 1754 esac 1755 fi 1756else 1757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1758printf "%s\n" "$as_me: creating cache $cache_file" >&6;} 1759 >$cache_file 1760fi 1761 1762 1763# Auxiliary files required by this configure script. 1764ac_aux_files="config.guess config.sub missing install-sh" 1765 1766# Locations in which to look for auxiliary files. 1767ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.." 1768 1769# Search for a directory containing all of the required auxiliary files, 1770# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. 1771# If we don't find one directory that contains all the files we need, 1772# we report the set of missing files from the *first* directory in 1773# $ac_aux_dir_candidates and give up. 1774ac_missing_aux_files="" 1775ac_first_candidate=: 1776printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5 1777as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1778as_found=false 1779for as_dir in $ac_aux_dir_candidates 1780do 1781 IFS=$as_save_IFS 1782 case $as_dir in #((( 1783 '') as_dir=./ ;; 1784 */) ;; 1785 *) as_dir=$as_dir/ ;; 1786 esac 1787 as_found=: 1788 1789 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 1790 ac_aux_dir_found=yes 1791 ac_install_sh= 1792 for ac_aux in $ac_aux_files 1793 do 1794 # As a special case, if "install-sh" is required, that requirement 1795 # can be satisfied by any of "install-sh", "install.sh", or "shtool", 1796 # and $ac_install_sh is set appropriately for whichever one is found. 1797 if test x"$ac_aux" = x"install-sh" 1798 then 1799 if test -f "${as_dir}install-sh"; then 1800 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5 1801 ac_install_sh="${as_dir}install-sh -c" 1802 elif test -f "${as_dir}install.sh"; then 1803 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5 1804 ac_install_sh="${as_dir}install.sh -c" 1805 elif test -f "${as_dir}shtool"; then 1806 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5 1807 ac_install_sh="${as_dir}shtool install -c" 1808 else 1809 ac_aux_dir_found=no 1810 if $ac_first_candidate; then 1811 ac_missing_aux_files="${ac_missing_aux_files} install-sh" 1812 else 1813 break 1814 fi 1815 fi 1816 else 1817 if test -f "${as_dir}${ac_aux}"; then 1818 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5 1819 else 1820 ac_aux_dir_found=no 1821 if $ac_first_candidate; then 1822 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}" 1823 else 1824 break 1825 fi 1826 fi 1827 fi 1828 done 1829 if test "$ac_aux_dir_found" = yes; then 1830 ac_aux_dir="$as_dir" 1831 break 1832 fi 1833 ac_first_candidate=false 1834 1835 as_found=false 1836done 1837IFS=$as_save_IFS 1838if $as_found 1839then : 1840 1841else $as_nop 1842 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 1843fi 1844 1845 1846# These three variables are undocumented and unsupported, 1847# and are intended to be withdrawn in a future Autoconf release. 1848# They can cause serious problems if a builder's source tree is in a directory 1849# whose full name contains unusual characters. 1850if test -f "${ac_aux_dir}config.guess"; then 1851 ac_config_guess="$SHELL ${ac_aux_dir}config.guess" 1852fi 1853if test -f "${ac_aux_dir}config.sub"; then 1854 ac_config_sub="$SHELL ${ac_aux_dir}config.sub" 1855fi 1856if test -f "$ac_aux_dir/configure"; then 1857 ac_configure="$SHELL ${ac_aux_dir}configure" 1858fi 1859 1860# Check that the precious variables saved in the cache have kept the same 1861# value. 1862ac_cache_corrupted=false 1863for ac_var in $ac_precious_vars; do 1864 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1865 eval ac_new_set=\$ac_env_${ac_var}_set 1866 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1867 eval ac_new_val=\$ac_env_${ac_var}_value 1868 case $ac_old_set,$ac_new_set in 1869 set,) 1870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1871printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1872 ac_cache_corrupted=: ;; 1873 ,set) 1874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1875printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1876 ac_cache_corrupted=: ;; 1877 ,);; 1878 *) 1879 if test "x$ac_old_val" != "x$ac_new_val"; then 1880 # differences in whitespace do not lead to failure. 1881 ac_old_val_w=`echo x $ac_old_val` 1882 ac_new_val_w=`echo x $ac_new_val` 1883 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1885printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1886 ac_cache_corrupted=: 1887 else 1888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1889printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1890 eval $ac_var=\$ac_old_val 1891 fi 1892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1893printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;} 1894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 1895printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;} 1896 fi;; 1897 esac 1898 # Pass precious variables to config.status. 1899 if test "$ac_new_set" = set; then 1900 case $ac_new_val in 1901 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1902 *) ac_arg=$ac_var=$ac_new_val ;; 1903 esac 1904 case " $ac_configure_args " in 1905 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1906 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1907 esac 1908 fi 1909done 1910if $ac_cache_corrupted; then 1911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1912printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 1913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 1914printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;} 1915 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file' 1916 and start over" "$LINENO" 5 1917fi 1918## -------------------- ## 1919## Main body of script. ## 1920## -------------------- ## 1921 1922ac_ext=c 1923ac_cpp='$CPP $CPPFLAGS' 1924ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1925ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1926ac_compiler_gnu=$ac_cv_c_compiler_gnu 1927 1928 1929am__api_version='1.16' 1930 1931 1932 1933 # Find a good install program. We prefer a C program (faster), 1934# so one script is as good as another. But avoid the broken or 1935# incompatible versions: 1936# SysV /etc/install, /usr/sbin/install 1937# SunOS /usr/etc/install 1938# IRIX /sbin/install 1939# AIX /bin/install 1940# AmigaOS /C/install, which installs bootblocks on floppy discs 1941# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1942# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1943# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1944# OS/2's system install, which has a completely different semantic 1945# ./install, which can be erroneously created by make from ./install.sh. 1946# Reject install programs that cannot install multiple files. 1947{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 1948printf %s "checking for a BSD-compatible install... " >&6; } 1949if test -z "$INSTALL"; then 1950if test ${ac_cv_path_install+y} 1951then : 1952 printf %s "(cached) " >&6 1953else $as_nop 1954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1955for as_dir in $PATH 1956do 1957 IFS=$as_save_IFS 1958 case $as_dir in #((( 1959 '') as_dir=./ ;; 1960 */) ;; 1961 *) as_dir=$as_dir/ ;; 1962 esac 1963 # Account for fact that we put trailing slashes in our PATH walk. 1964case $as_dir in #(( 1965 ./ | /[cC]/* | \ 1966 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1967 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 1968 /usr/ucb/* ) ;; 1969 *) 1970 # OSF1 and SCO ODT 3.0 have their own names for install. 1971 # Don't use installbsd from OSF since it installs stuff as root 1972 # by default. 1973 for ac_prog in ginstall scoinst install; do 1974 for ac_exec_ext in '' $ac_executable_extensions; do 1975 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then 1976 if test $ac_prog = install && 1977 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1978 # AIX install. It has an incompatible calling convention. 1979 : 1980 elif test $ac_prog = install && 1981 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1982 # program-specific install script used by HP pwplus--don't use. 1983 : 1984 else 1985 rm -rf conftest.one conftest.two conftest.dir 1986 echo one > conftest.one 1987 echo two > conftest.two 1988 mkdir conftest.dir 1989 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" && 1990 test -s conftest.one && test -s conftest.two && 1991 test -s conftest.dir/conftest.one && 1992 test -s conftest.dir/conftest.two 1993 then 1994 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c" 1995 break 3 1996 fi 1997 fi 1998 fi 1999 done 2000 done 2001 ;; 2002esac 2003 2004 done 2005IFS=$as_save_IFS 2006 2007rm -rf conftest.one conftest.two conftest.dir 2008 2009fi 2010 if test ${ac_cv_path_install+y}; then 2011 INSTALL=$ac_cv_path_install 2012 else 2013 # As a last resort, use the slow shell script. Don't cache a 2014 # value for INSTALL within a source directory, because that will 2015 # break other packages using the cache if that directory is 2016 # removed, or if the value is a relative name. 2017 INSTALL=$ac_install_sh 2018 fi 2019fi 2020{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2021printf "%s\n" "$INSTALL" >&6; } 2022 2023# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2024# It thinks the first close brace ends the variable substitution. 2025test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2026 2027test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2028 2029test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2030 2031{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2032printf %s "checking whether build environment is sane... " >&6; } 2033# Reject unsafe characters in $srcdir or the absolute working directory 2034# name. Accept space and tab only in the latter. 2035am_lf=' 2036' 2037case `pwd` in 2038 *[\\\"\#\$\&\'\`$am_lf]*) 2039 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2040esac 2041case $srcdir in 2042 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2043 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2044esac 2045 2046# Do 'set' in a subshell so we don't clobber the current shell's 2047# arguments. Must try -L first in case configure is actually a 2048# symlink; some systems play weird games with the mod time of symlinks 2049# (eg FreeBSD returns the mod time of the symlink's containing 2050# directory). 2051if ( 2052 am_has_slept=no 2053 for am_try in 1 2; do 2054 echo "timestamp, slept: $am_has_slept" > conftest.file 2055 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2056 if test "$*" = "X"; then 2057 # -L didn't work. 2058 set X `ls -t "$srcdir/configure" conftest.file` 2059 fi 2060 if test "$*" != "X $srcdir/configure conftest.file" \ 2061 && test "$*" != "X conftest.file $srcdir/configure"; then 2062 2063 # If neither matched, then we have a broken ls. This can happen 2064 # if, for instance, CONFIG_SHELL is bash and it inherits a 2065 # broken ls alias from the environment. This has actually 2066 # happened. Such a system could not be considered "sane". 2067 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2068 alias in your environment" "$LINENO" 5 2069 fi 2070 if test "$2" = conftest.file || test $am_try -eq 2; then 2071 break 2072 fi 2073 # Just in case. 2074 sleep 1 2075 am_has_slept=yes 2076 done 2077 test "$2" = conftest.file 2078 ) 2079then 2080 # Ok. 2081 : 2082else 2083 as_fn_error $? "newly created file is older than distributed files! 2084Check your system clock" "$LINENO" 5 2085fi 2086{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2087printf "%s\n" "yes" >&6; } 2088# If we didn't sleep, we still need to ensure time stamps of config.status and 2089# generated files are strictly newer. 2090am_sleep_pid= 2091if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2092 ( sleep 1 ) & 2093 am_sleep_pid=$! 2094fi 2095 2096rm -f conftest.file 2097 2098test "$program_prefix" != NONE && 2099 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2100# Use a double $ so make ignores it. 2101test "$program_suffix" != NONE && 2102 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2103# Double any \ or $. 2104# By default was `s,x,x', remove it if useless. 2105ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2106program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"` 2107 2108 2109# Expand $ac_aux_dir to an absolute path. 2110am_aux_dir=`cd "$ac_aux_dir" && pwd` 2111 2112 2113 if test x"${MISSING+set}" != xset; then 2114 MISSING="\${SHELL} '$am_aux_dir/missing'" 2115fi 2116# Use eval to expand $SHELL 2117if eval "$MISSING --is-lightweight"; then 2118 am_missing_run="$MISSING " 2119else 2120 am_missing_run= 2121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2122printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2123fi 2124 2125if test x"${install_sh+set}" != xset; then 2126 case $am_aux_dir in 2127 *\ * | *\ *) 2128 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2129 *) 2130 install_sh="\${SHELL} $am_aux_dir/install-sh" 2131 esac 2132fi 2133 2134# Installed binaries are usually stripped using 'strip' when the user 2135# run "make install-strip". However 'strip' might not be the right 2136# tool to use in cross-compilation environments, therefore Automake 2137# will honor the 'STRIP' environment variable to overrule this program. 2138if test "$cross_compiling" != no; then 2139 if test -n "$ac_tool_prefix"; then 2140 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2141set dummy ${ac_tool_prefix}strip; ac_word=$2 2142{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2143printf %s "checking for $ac_word... " >&6; } 2144if test ${ac_cv_prog_STRIP+y} 2145then : 2146 printf %s "(cached) " >&6 2147else $as_nop 2148 if test -n "$STRIP"; then 2149 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2150else 2151as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2152for as_dir in $PATH 2153do 2154 IFS=$as_save_IFS 2155 case $as_dir in #((( 2156 '') as_dir=./ ;; 2157 */) ;; 2158 *) as_dir=$as_dir/ ;; 2159 esac 2160 for ac_exec_ext in '' $ac_executable_extensions; do 2161 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2162 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2163 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2164 break 2 2165 fi 2166done 2167 done 2168IFS=$as_save_IFS 2169 2170fi 2171fi 2172STRIP=$ac_cv_prog_STRIP 2173if test -n "$STRIP"; then 2174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2175printf "%s\n" "$STRIP" >&6; } 2176else 2177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2178printf "%s\n" "no" >&6; } 2179fi 2180 2181 2182fi 2183if test -z "$ac_cv_prog_STRIP"; then 2184 ac_ct_STRIP=$STRIP 2185 # Extract the first word of "strip", so it can be a program name with args. 2186set dummy strip; ac_word=$2 2187{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2188printf %s "checking for $ac_word... " >&6; } 2189if test ${ac_cv_prog_ac_ct_STRIP+y} 2190then : 2191 printf %s "(cached) " >&6 2192else $as_nop 2193 if test -n "$ac_ct_STRIP"; then 2194 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2195else 2196as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2197for as_dir in $PATH 2198do 2199 IFS=$as_save_IFS 2200 case $as_dir in #((( 2201 '') as_dir=./ ;; 2202 */) ;; 2203 *) as_dir=$as_dir/ ;; 2204 esac 2205 for ac_exec_ext in '' $ac_executable_extensions; do 2206 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2207 ac_cv_prog_ac_ct_STRIP="strip" 2208 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2209 break 2 2210 fi 2211done 2212 done 2213IFS=$as_save_IFS 2214 2215fi 2216fi 2217ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2218if test -n "$ac_ct_STRIP"; then 2219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2220printf "%s\n" "$ac_ct_STRIP" >&6; } 2221else 2222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2223printf "%s\n" "no" >&6; } 2224fi 2225 2226 if test "x$ac_ct_STRIP" = x; then 2227 STRIP=":" 2228 else 2229 case $cross_compiling:$ac_tool_warned in 2230yes:) 2231{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2232printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2233ac_tool_warned=yes ;; 2234esac 2235 STRIP=$ac_ct_STRIP 2236 fi 2237else 2238 STRIP="$ac_cv_prog_STRIP" 2239fi 2240 2241fi 2242INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2243 2244 2245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5 2246printf %s "checking for a race-free mkdir -p... " >&6; } 2247if test -z "$MKDIR_P"; then 2248 if test ${ac_cv_path_mkdir+y} 2249then : 2250 printf %s "(cached) " >&6 2251else $as_nop 2252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2253for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2254do 2255 IFS=$as_save_IFS 2256 case $as_dir in #((( 2257 '') as_dir=./ ;; 2258 */) ;; 2259 *) as_dir=$as_dir/ ;; 2260 esac 2261 for ac_prog in mkdir gmkdir; do 2262 for ac_exec_ext in '' $ac_executable_extensions; do 2263 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue 2264 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #( 2265 'mkdir ('*'coreutils) '* | \ 2266 'BusyBox '* | \ 2267 'mkdir (fileutils) '4.1*) 2268 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext 2269 break 3;; 2270 esac 2271 done 2272 done 2273 done 2274IFS=$as_save_IFS 2275 2276fi 2277 2278 test -d ./--version && rmdir ./--version 2279 if test ${ac_cv_path_mkdir+y}; then 2280 MKDIR_P="$ac_cv_path_mkdir -p" 2281 else 2282 # As a last resort, use the slow shell script. Don't cache a 2283 # value for MKDIR_P within a source directory, because that will 2284 # break other packages using the cache if that directory is 2285 # removed, or if the value is a relative name. 2286 MKDIR_P="$ac_install_sh -d" 2287 fi 2288fi 2289{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2290printf "%s\n" "$MKDIR_P" >&6; } 2291 2292for ac_prog in gawk mawk nawk awk 2293do 2294 # Extract the first word of "$ac_prog", so it can be a program name with args. 2295set dummy $ac_prog; ac_word=$2 2296{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2297printf %s "checking for $ac_word... " >&6; } 2298if test ${ac_cv_prog_AWK+y} 2299then : 2300 printf %s "(cached) " >&6 2301else $as_nop 2302 if test -n "$AWK"; then 2303 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2304else 2305as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2306for as_dir in $PATH 2307do 2308 IFS=$as_save_IFS 2309 case $as_dir in #((( 2310 '') as_dir=./ ;; 2311 */) ;; 2312 *) as_dir=$as_dir/ ;; 2313 esac 2314 for ac_exec_ext in '' $ac_executable_extensions; do 2315 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2316 ac_cv_prog_AWK="$ac_prog" 2317 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2318 break 2 2319 fi 2320done 2321 done 2322IFS=$as_save_IFS 2323 2324fi 2325fi 2326AWK=$ac_cv_prog_AWK 2327if test -n "$AWK"; then 2328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2329printf "%s\n" "$AWK" >&6; } 2330else 2331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2332printf "%s\n" "no" >&6; } 2333fi 2334 2335 2336 test -n "$AWK" && break 2337done 2338 2339{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2340printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2341set x ${MAKE-make} 2342ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2343if eval test \${ac_cv_prog_make_${ac_make}_set+y} 2344then : 2345 printf %s "(cached) " >&6 2346else $as_nop 2347 cat >conftest.make <<\_ACEOF 2348SHELL = /bin/sh 2349all: 2350 @echo '@@@%%%=$(MAKE)=@@@%%%' 2351_ACEOF 2352# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2353case `${MAKE-make} -f conftest.make 2>/dev/null` in 2354 *@@@%%%=?*=@@@%%%*) 2355 eval ac_cv_prog_make_${ac_make}_set=yes;; 2356 *) 2357 eval ac_cv_prog_make_${ac_make}_set=no;; 2358esac 2359rm -f conftest.make 2360fi 2361if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2363printf "%s\n" "yes" >&6; } 2364 SET_MAKE= 2365else 2366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2367printf "%s\n" "no" >&6; } 2368 SET_MAKE="MAKE=${MAKE-make}" 2369fi 2370 2371rm -rf .tst 2>/dev/null 2372mkdir .tst 2>/dev/null 2373if test -d .tst; then 2374 am__leading_dot=. 2375else 2376 am__leading_dot=_ 2377fi 2378rmdir .tst 2>/dev/null 2379 2380# Check whether --enable-silent-rules was given. 2381if test ${enable_silent_rules+y} 2382then : 2383 enableval=$enable_silent_rules; 2384fi 2385 2386case $enable_silent_rules in # ((( 2387 yes) AM_DEFAULT_VERBOSITY=0;; 2388 no) AM_DEFAULT_VERBOSITY=1;; 2389 *) AM_DEFAULT_VERBOSITY=1;; 2390esac 2391am_make=${MAKE-make} 2392{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2393printf %s "checking whether $am_make supports nested variables... " >&6; } 2394if test ${am_cv_make_support_nested_variables+y} 2395then : 2396 printf %s "(cached) " >&6 2397else $as_nop 2398 if printf "%s\n" 'TRUE=$(BAR$(V)) 2399BAR0=false 2400BAR1=true 2401V=1 2402am__doit: 2403 @$(TRUE) 2404.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2405 am_cv_make_support_nested_variables=yes 2406else 2407 am_cv_make_support_nested_variables=no 2408fi 2409fi 2410{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2411printf "%s\n" "$am_cv_make_support_nested_variables" >&6; } 2412if test $am_cv_make_support_nested_variables = yes; then 2413 AM_V='$(V)' 2414 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2415else 2416 AM_V=$AM_DEFAULT_VERBOSITY 2417 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2418fi 2419AM_BACKSLASH='\' 2420 2421if test "`cd $srcdir && pwd`" != "`pwd`"; then 2422 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2423 # is not polluted with repeated "-I." 2424 am__isrc=' -I$(srcdir)' 2425 # test to see if srcdir already configured 2426 if test -f $srcdir/config.status; then 2427 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2428 fi 2429fi 2430 2431# test whether we have cygpath 2432if test -z "$CYGPATH_W"; then 2433 if (cygpath --version) >/dev/null 2>/dev/null; then 2434 CYGPATH_W='cygpath -w' 2435 else 2436 CYGPATH_W=echo 2437 fi 2438fi 2439 2440 2441# Define the identity of the package. 2442 PACKAGE='font-mutt-misc' 2443 VERSION='1.0.4' 2444 2445 2446printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h 2447 2448 2449printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h 2450 2451# Some tools Automake needs. 2452 2453ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2454 2455 2456AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2457 2458 2459AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2460 2461 2462AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2463 2464 2465MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2466 2467# For better backward compatibility. To be removed once Automake 1.9.x 2468# dies out for good. For more background, see: 2469# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2470# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2471mkdir_p='$(MKDIR_P)' 2472 2473# We need awk for the "check" target (and possibly the TAP driver). The 2474# system "awk" is bad on some platforms. 2475# Always define AMTAR for backward compatibility. Yes, it's still used 2476# in the wild :-( We should find a proper way to deprecate it ... 2477AMTAR='$${TAR-tar}' 2478 2479 2480# We'll loop over all known methods to create a tar archive until one works. 2481_am_tools='gnutar pax cpio none' 2482 2483am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 2484 2485 2486 2487 2488 2489# Variables for tags utilities; see am/tags.am 2490if test -z "$CTAGS"; then 2491 CTAGS=ctags 2492fi 2493 2494if test -z "$ETAGS"; then 2495 ETAGS=etags 2496fi 2497 2498if test -z "$CSCOPE"; then 2499 CSCOPE=cscope 2500fi 2501 2502 2503 2504# POSIX will say in a future version that running "rm -f" with no argument 2505# is OK; and we want to be able to make that assumption in our Makefile 2506# recipes. So use an aggressive probe to check that the usage we want is 2507# actually supported "in the wild" to an acceptable degree. 2508# See automake bug#10828. 2509# To make any issue more visible, cause the running configure to be aborted 2510# by default if the 'rm' program in use doesn't match our expectations; the 2511# user can still override this though. 2512if rm -f && rm -fr && rm -rf; then : OK; else 2513 cat >&2 <<'END' 2514Oops! 2515 2516Your 'rm' program seems unable to run without file operands specified 2517on the command line, even when the '-f' option is present. This is contrary 2518to the behaviour of most rm programs out there, and not conforming with 2519the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 2520 2521Please tell bug-automake@gnu.org about your system, including the value 2522of your $PATH and any error possibly output before this message. This 2523can help us improve future automake versions. 2524 2525END 2526 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 2527 echo 'Configuration will proceed anyway, since you have set the' >&2 2528 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 2529 echo >&2 2530 else 2531 cat >&2 <<'END' 2532Aborting the configuration process, to ensure you take notice of the issue. 2533 2534You can download and install GNU coreutils to get an 'rm' implementation 2535that behaves properly: <https://www.gnu.org/software/coreutils/>. 2536 2537If you want to complete the configuration process using your problematic 2538'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 2539to "yes", and re-run configure. 2540 2541END 2542 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 2543 fi 2544fi 2545 2546 2547# Require xorg-macros 1.20 or later: XORG_DEFAULT_NOCODE_OPTIONS 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 2567 if test -n "$ac_tool_prefix"; then 2568 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 2569set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 2570{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2571printf %s "checking for $ac_word... " >&6; } 2572if test ${ac_cv_path_PKG_CONFIG+y} 2573then : 2574 printf %s "(cached) " >&6 2575else $as_nop 2576 case $PKG_CONFIG in 2577 [\\/]* | ?:[\\/]*) 2578 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 2579 ;; 2580 *) 2581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2582for as_dir in $PATH 2583do 2584 IFS=$as_save_IFS 2585 case $as_dir in #((( 2586 '') as_dir=./ ;; 2587 */) ;; 2588 *) as_dir=$as_dir/ ;; 2589 esac 2590 for ac_exec_ext in '' $ac_executable_extensions; do 2591 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2592 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" 2593 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2594 break 2 2595 fi 2596done 2597 done 2598IFS=$as_save_IFS 2599 2600 ;; 2601esac 2602fi 2603PKG_CONFIG=$ac_cv_path_PKG_CONFIG 2604if test -n "$PKG_CONFIG"; then 2605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 2606printf "%s\n" "$PKG_CONFIG" >&6; } 2607else 2608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2609printf "%s\n" "no" >&6; } 2610fi 2611 2612 2613fi 2614if test -z "$ac_cv_path_PKG_CONFIG"; then 2615 ac_pt_PKG_CONFIG=$PKG_CONFIG 2616 # Extract the first word of "pkg-config", so it can be a program name with args. 2617set dummy pkg-config; ac_word=$2 2618{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2619printf %s "checking for $ac_word... " >&6; } 2620if test ${ac_cv_path_ac_pt_PKG_CONFIG+y} 2621then : 2622 printf %s "(cached) " >&6 2623else $as_nop 2624 case $ac_pt_PKG_CONFIG in 2625 [\\/]* | ?:[\\/]*) 2626 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 2627 ;; 2628 *) 2629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2630for as_dir in $PATH 2631do 2632 IFS=$as_save_IFS 2633 case $as_dir in #((( 2634 '') as_dir=./ ;; 2635 */) ;; 2636 *) as_dir=$as_dir/ ;; 2637 esac 2638 for ac_exec_ext in '' $ac_executable_extensions; do 2639 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2640 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" 2641 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2642 break 2 2643 fi 2644done 2645 done 2646IFS=$as_save_IFS 2647 2648 ;; 2649esac 2650fi 2651ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 2652if test -n "$ac_pt_PKG_CONFIG"; then 2653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 2654printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } 2655else 2656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2657printf "%s\n" "no" >&6; } 2658fi 2659 2660 if test "x$ac_pt_PKG_CONFIG" = x; then 2661 PKG_CONFIG="" 2662 else 2663 case $cross_compiling:$ac_tool_warned in 2664yes:) 2665{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2666printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2667ac_tool_warned=yes ;; 2668esac 2669 PKG_CONFIG=$ac_pt_PKG_CONFIG 2670 fi 2671else 2672 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 2673fi 2674 2675fi 2676if test -n "$PKG_CONFIG"; then 2677 _pkg_min_version=0.9.0 2678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 2679printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; } 2680 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 2681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2682printf "%s\n" "yes" >&6; } 2683 else 2684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2685printf "%s\n" "no" >&6; } 2686 PKG_CONFIG="" 2687 fi 2688fi 2689 2690 2691 # Make sure we can run config.sub. 2692$SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 || 2693 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5 2694 2695{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2696printf %s "checking build system type... " >&6; } 2697if test ${ac_cv_build+y} 2698then : 2699 printf %s "(cached) " >&6 2700else $as_nop 2701 ac_build_alias=$build_alias 2702test "x$ac_build_alias" = x && 2703 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"` 2704test "x$ac_build_alias" = x && 2705 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 2706ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` || 2707 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5 2708 2709fi 2710{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2711printf "%s\n" "$ac_cv_build" >&6; } 2712case $ac_cv_build in 2713*-*-*) ;; 2714*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 2715esac 2716build=$ac_cv_build 2717ac_save_IFS=$IFS; IFS='-' 2718set x $ac_cv_build 2719shift 2720build_cpu=$1 2721build_vendor=$2 2722shift; shift 2723# Remember, the first character of IFS is used to create $*, 2724# except with old shells: 2725build_os=$* 2726IFS=$ac_save_IFS 2727case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2728 2729 2730{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2731printf %s "checking host system type... " >&6; } 2732if test ${ac_cv_host+y} 2733then : 2734 printf %s "(cached) " >&6 2735else $as_nop 2736 if test "x$host_alias" = x; then 2737 ac_cv_host=$ac_cv_build 2738else 2739 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` || 2740 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5 2741fi 2742 2743fi 2744{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2745printf "%s\n" "$ac_cv_host" >&6; } 2746case $ac_cv_host in 2747*-*-*) ;; 2748*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 2749esac 2750host=$ac_cv_host 2751ac_save_IFS=$IFS; IFS='-' 2752set x $ac_cv_host 2753shift 2754host_cpu=$1 2755host_vendor=$2 2756shift; shift 2757# Remember, the first character of IFS is used to create $*, 2758# except with old shells: 2759host_os=$* 2760IFS=$ac_save_IFS 2761case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2762 2763 2764{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 2765printf %s "checking for a sed that does not truncate output... " >&6; } 2766if test ${ac_cv_path_SED+y} 2767then : 2768 printf %s "(cached) " >&6 2769else $as_nop 2770 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 2771 for ac_i in 1 2 3 4 5 6 7; do 2772 ac_script="$ac_script$as_nl$ac_script" 2773 done 2774 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 2775 { ac_script=; unset ac_script;} 2776 if test -z "$SED"; then 2777 ac_path_SED_found=false 2778 # Loop through the user's path and test for each of PROGNAME-LIST 2779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2780for as_dir in $PATH 2781do 2782 IFS=$as_save_IFS 2783 case $as_dir in #((( 2784 '') as_dir=./ ;; 2785 */) ;; 2786 *) as_dir=$as_dir/ ;; 2787 esac 2788 for ac_prog in sed gsed 2789 do 2790 for ac_exec_ext in '' $ac_executable_extensions; do 2791 ac_path_SED="$as_dir$ac_prog$ac_exec_ext" 2792 as_fn_executable_p "$ac_path_SED" || continue 2793# Check for GNU ac_path_SED and select it if it is found. 2794 # Check for GNU $ac_path_SED 2795case `"$ac_path_SED" --version 2>&1` in 2796*GNU*) 2797 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 2798*) 2799 ac_count=0 2800 printf %s 0123456789 >"conftest.in" 2801 while : 2802 do 2803 cat "conftest.in" "conftest.in" >"conftest.tmp" 2804 mv "conftest.tmp" "conftest.in" 2805 cp "conftest.in" "conftest.nl" 2806 printf "%s\n" '' >> "conftest.nl" 2807 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 2808 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 2809 as_fn_arith $ac_count + 1 && ac_count=$as_val 2810 if test $ac_count -gt ${ac_path_SED_max-0}; then 2811 # Best one so far, save it but keep looking for a better one 2812 ac_cv_path_SED="$ac_path_SED" 2813 ac_path_SED_max=$ac_count 2814 fi 2815 # 10*(2^10) chars as input seems more than enough 2816 test $ac_count -gt 10 && break 2817 done 2818 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 2819esac 2820 2821 $ac_path_SED_found && break 3 2822 done 2823 done 2824 done 2825IFS=$as_save_IFS 2826 if test -z "$ac_cv_path_SED"; then 2827 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 2828 fi 2829else 2830 ac_cv_path_SED=$SED 2831fi 2832 2833fi 2834{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 2835printf "%s\n" "$ac_cv_path_SED" >&6; } 2836 SED="$ac_cv_path_SED" 2837 rm -f conftest.sed 2838 2839 2840 2841 2842 2843cat >>confdefs.h <<_ACEOF 2844#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 2845_ACEOF 2846 2847 PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 2848 if test "x$PVM" = "x"; then 2849 PVM="0" 2850 fi 2851 2852printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h 2853 2854 PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 2855 if test "x$PVP" = "x"; then 2856 PVP="0" 2857 fi 2858 2859printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h 2860 2861 2862 2863CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \ 2864mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \ 2865|| (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \ 2866touch \$(top_srcdir)/ChangeLog; \ 2867echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))" 2868 2869 2870 2871 2872macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros` 2873INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \ 2874mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \ 2875|| (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \ 2876touch \$(top_srcdir)/INSTALL; \ 2877echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))" 2878 2879 2880 2881 2882 2883 2884case $host_os in 2885 solaris*) 2886 # Solaris 2.0 - 11.3 use SysV man page section numbers, so we 2887 # check for a man page file found in later versions that use 2888 # traditional section numbers instead 2889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5 2890printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; } 2891if test ${ac_cv_file__usr_share_man_man7_attributes_7+y} 2892then : 2893 printf %s "(cached) " >&6 2894else $as_nop 2895 test "$cross_compiling" = yes && 2896 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 2897if test -r "/usr/share/man/man7/attributes.7"; then 2898 ac_cv_file__usr_share_man_man7_attributes_7=yes 2899else 2900 ac_cv_file__usr_share_man_man7_attributes_7=no 2901fi 2902fi 2903{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5 2904printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; } 2905if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes 2906then : 2907 SYSV_MAN_SECTIONS=false 2908else $as_nop 2909 SYSV_MAN_SECTIONS=true 2910fi 2911 2912 ;; 2913 *) SYSV_MAN_SECTIONS=false ;; 2914esac 2915 2916if test x$APP_MAN_SUFFIX = x ; then 2917 APP_MAN_SUFFIX=1 2918fi 2919if test x$APP_MAN_DIR = x ; then 2920 APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 2921fi 2922 2923if test x$LIB_MAN_SUFFIX = x ; then 2924 LIB_MAN_SUFFIX=3 2925fi 2926if test x$LIB_MAN_DIR = x ; then 2927 LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 2928fi 2929 2930if test x$FILE_MAN_SUFFIX = x ; then 2931 case $SYSV_MAN_SECTIONS in 2932 true) FILE_MAN_SUFFIX=4 ;; 2933 *) FILE_MAN_SUFFIX=5 ;; 2934 esac 2935fi 2936if test x$FILE_MAN_DIR = x ; then 2937 FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 2938fi 2939 2940if test x$MISC_MAN_SUFFIX = x ; then 2941 case $SYSV_MAN_SECTIONS in 2942 true) MISC_MAN_SUFFIX=5 ;; 2943 *) MISC_MAN_SUFFIX=7 ;; 2944 esac 2945fi 2946if test x$MISC_MAN_DIR = x ; then 2947 MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 2948fi 2949 2950if test x$DRIVER_MAN_SUFFIX = x ; then 2951 case $SYSV_MAN_SECTIONS in 2952 true) DRIVER_MAN_SUFFIX=7 ;; 2953 *) DRIVER_MAN_SUFFIX=4 ;; 2954 esac 2955fi 2956if test x$DRIVER_MAN_DIR = x ; then 2957 DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 2958fi 2959 2960if test x$ADMIN_MAN_SUFFIX = x ; then 2961 case $SYSV_MAN_SECTIONS in 2962 true) ADMIN_MAN_SUFFIX=1m ;; 2963 *) ADMIN_MAN_SUFFIX=8 ;; 2964 esac 2965fi 2966if test x$ADMIN_MAN_DIR = x ; then 2967 ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 2968fi 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984XORG_MAN_PAGE="X Version 11" 2985 2986MAN_SUBSTS="\ 2987 -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 2988 -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 2989 -e 's|__xservername__|Xorg|g' \ 2990 -e 's|__xconfigfile__|xorg.conf|g' \ 2991 -e 's|__projectroot__|\$(prefix)|g' \ 2992 -e 's|__apploaddir__|\$(appdefaultdir)|g' \ 2993 -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \ 2994 -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \ 2995 -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \ 2996 -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \ 2997 -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \ 2998 -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'" 2999 3000 3001 3002# Check whether --enable-silent-rules was given. 3003if test ${enable_silent_rules+y} 3004then : 3005 enableval=$enable_silent_rules; 3006fi 3007 3008case $enable_silent_rules in # ((( 3009 yes) AM_DEFAULT_VERBOSITY=0;; 3010 no) AM_DEFAULT_VERBOSITY=1;; 3011 *) AM_DEFAULT_VERBOSITY=0;; 3012esac 3013am_make=${MAKE-make} 3014{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3015printf %s "checking whether $am_make supports nested variables... " >&6; } 3016if test ${am_cv_make_support_nested_variables+y} 3017then : 3018 printf %s "(cached) " >&6 3019else $as_nop 3020 if printf "%s\n" 'TRUE=$(BAR$(V)) 3021BAR0=false 3022BAR1=true 3023V=1 3024am__doit: 3025 @$(TRUE) 3026.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3027 am_cv_make_support_nested_variables=yes 3028else 3029 am_cv_make_support_nested_variables=no 3030fi 3031fi 3032{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3033printf "%s\n" "$am_cv_make_support_nested_variables" >&6; } 3034if test $am_cv_make_support_nested_variables = yes; then 3035 AM_V='$(V)' 3036 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3037else 3038 AM_V=$AM_DEFAULT_VERBOSITY 3039 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3040fi 3041AM_BACKSLASH='\' 3042 3043 3044 3045# Require X.Org's font util macros 1.4 or later for COMPRESS_FLAGS 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for root directory for font files" >&5 3062printf %s "checking for root directory for font files... " >&6; } 3063 3064# Check whether --with-fontrootdir was given. 3065if test ${with_fontrootdir+y} 3066then : 3067 withval=$with_fontrootdir; FONTROOTDIR="$withval" 3068fi 3069 3070 # if --with-fontrootdir not specified... 3071 if test "x${FONTROOTDIR}" = "x"; then 3072 FONTROOTDIR=`$PKG_CONFIG --variable=fontrootdir fontutil` 3073 fi 3074 # ...and if pkg-config didn't find fontdir in fontutil.pc... 3075 if test "x${FONTROOTDIR}" = "x"; then 3076 FONTROOTDIR="${datadir}/fonts/X11" 3077 fi 3078 3079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${FONTROOTDIR}" >&5 3080printf "%s\n" "${FONTROOTDIR}" >&6; } 3081 3082 3083 3084 3085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for directory for misc files" >&5 3086printf %s "checking for directory for misc files... " >&6; } 3087 3088# Check whether --with-fontdir was given. 3089if test ${with_fontdir+y} 3090then : 3091 withval=$with_fontdir; FONTDIR="${withval}" 3092else $as_nop 3093 FONTDIR='${FONTROOTDIR}/misc' 3094fi 3095 3096 3097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${FONTDIR}" >&5 3098printf "%s\n" "${FONTDIR}" >&6; } 3099 3100 3101 3102 3103 # Extract the first word of "fc-cache", so it can be a program name with args. 3104set dummy fc-cache; ac_word=$2 3105{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3106printf %s "checking for $ac_word... " >&6; } 3107if test ${ac_cv_path_FCCACHE+y} 3108then : 3109 printf %s "(cached) " >&6 3110else $as_nop 3111 case $FCCACHE in 3112 [\\/]* | ?:[\\/]*) 3113 ac_cv_path_FCCACHE="$FCCACHE" # Let the user override the test with a path. 3114 ;; 3115 *) 3116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3117for as_dir in $PATH 3118do 3119 IFS=$as_save_IFS 3120 case $as_dir in #((( 3121 '') as_dir=./ ;; 3122 */) ;; 3123 *) as_dir=$as_dir/ ;; 3124 esac 3125 for ac_exec_ext in '' $ac_executable_extensions; do 3126 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3127 ac_cv_path_FCCACHE="$as_dir$ac_word$ac_exec_ext" 3128 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3129 break 2 3130 fi 3131done 3132 done 3133IFS=$as_save_IFS 3134 3135 ;; 3136esac 3137fi 3138FCCACHE=$ac_cv_path_FCCACHE 3139if test -n "$FCCACHE"; then 3140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FCCACHE" >&5 3141printf "%s\n" "$FCCACHE" >&6; } 3142else 3143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3144printf "%s\n" "no" >&6; } 3145fi 3146 3147 3148 FCCACHE_WARN='echo "** Warning: fonts.cache not built" ; echo "** Generate this file manually on host system using fc-cache"' 3149 if test x"$FCCACHE" = x || test x"$cross_compiling" != x"no" ; then 3150 RUN_FCCACHE="${FCCACHE_WARN}" 3151 else 3152 RUN_FCCACHE='@(if test -z "$(DESTDIR)"; then echo $(FCCACHE) $(fontdir); $(FCCACHE) $(fontdir); else' 3153 RUN_FCCACHE="${RUN_FCCACHE} ${FCCACHE_WARN} ; fi)" 3154 fi 3155 3156 3157 3158 if test x"$cross_compiling" != x"no" ; then 3159 # Extract the first word of "mkfontdir", so it can be a program name with args. 3160set dummy mkfontdir; ac_word=$2 3161{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3162printf %s "checking for $ac_word... " >&6; } 3163if test ${ac_cv_path_MKFONTDIR+y} 3164then : 3165 printf %s "(cached) " >&6 3166else $as_nop 3167 case $MKFONTDIR in 3168 [\\/]* | ?:[\\/]*) 3169 ac_cv_path_MKFONTDIR="$MKFONTDIR" # Let the user override the test with a path. 3170 ;; 3171 *) 3172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3173for as_dir in $PATH 3174do 3175 IFS=$as_save_IFS 3176 case $as_dir in #((( 3177 '') as_dir=./ ;; 3178 */) ;; 3179 *) as_dir=$as_dir/ ;; 3180 esac 3181 for ac_exec_ext in '' $ac_executable_extensions; do 3182 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3183 ac_cv_path_MKFONTDIR="$as_dir$ac_word$ac_exec_ext" 3184 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3185 break 2 3186 fi 3187done 3188 done 3189IFS=$as_save_IFS 3190 3191 test -z "$ac_cv_path_MKFONTDIR" && ac_cv_path_MKFONTDIR="""" 3192 ;; 3193esac 3194fi 3195MKFONTDIR=$ac_cv_path_MKFONTDIR 3196if test -n "$MKFONTDIR"; then 3197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKFONTDIR" >&5 3198printf "%s\n" "$MKFONTDIR" >&6; } 3199else 3200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3201printf "%s\n" "no" >&6; } 3202fi 3203 3204 3205 MKFONTDIR_WARN='echo "** Warning: mkfontdir not run" ; echo "** Run mkfontdir manually on host system"' 3206 3207 if test x"$MKFONTDIR" = x; then 3208 MKFONTDIR="${MKFONTDIR_WARN} ; echo '** mkfontdir'" 3209 fi 3210 else 3211 3212 # Extract the first word of "mkfontdir", so it can be a program name with args. 3213set dummy mkfontdir; ac_word=$2 3214{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3215printf %s "checking for $ac_word... " >&6; } 3216if test ${ac_cv_path_MKFONTDIR+y} 3217then : 3218 printf %s "(cached) " >&6 3219else $as_nop 3220 case $MKFONTDIR in 3221 [\\/]* | ?:[\\/]*) 3222 ac_cv_path_MKFONTDIR="$MKFONTDIR" # Let the user override the test with a path. 3223 ;; 3224 *) 3225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3226for as_dir in $PATH 3227do 3228 IFS=$as_save_IFS 3229 case $as_dir in #((( 3230 '') as_dir=./ ;; 3231 */) ;; 3232 *) as_dir=$as_dir/ ;; 3233 esac 3234 for ac_exec_ext in '' $ac_executable_extensions; do 3235 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3236 ac_cv_path_MKFONTDIR="$as_dir$ac_word$ac_exec_ext" 3237 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3238 break 2 3239 fi 3240done 3241 done 3242IFS=$as_save_IFS 3243 3244 ;; 3245esac 3246fi 3247MKFONTDIR=$ac_cv_path_MKFONTDIR 3248if test -n "$MKFONTDIR"; then 3249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKFONTDIR" >&5 3250printf "%s\n" "$MKFONTDIR" >&6; } 3251else 3252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3253printf "%s\n" "no" >&6; } 3254fi 3255 3256 3257 if test x"$MKFONTDIR" = x; then 3258 as_fn_error $? "mkfontdir is required to build $PACKAGE_NAME." "$LINENO" 5 3259 fi 3260 3261 fi 3262 3263 3264 3265 3266 3267 # Extract the first word of "bdftopcf", so it can be a program name with args. 3268set dummy bdftopcf; ac_word=$2 3269{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3270printf %s "checking for $ac_word... " >&6; } 3271if test ${ac_cv_path_BDFTOPCF+y} 3272then : 3273 printf %s "(cached) " >&6 3274else $as_nop 3275 case $BDFTOPCF in 3276 [\\/]* | ?:[\\/]*) 3277 ac_cv_path_BDFTOPCF="$BDFTOPCF" # Let the user override the test with a path. 3278 ;; 3279 *) 3280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3281for as_dir in $PATH 3282do 3283 IFS=$as_save_IFS 3284 case $as_dir in #((( 3285 '') as_dir=./ ;; 3286 */) ;; 3287 *) as_dir=$as_dir/ ;; 3288 esac 3289 for ac_exec_ext in '' $ac_executable_extensions; do 3290 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3291 ac_cv_path_BDFTOPCF="$as_dir$ac_word$ac_exec_ext" 3292 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3293 break 2 3294 fi 3295done 3296 done 3297IFS=$as_save_IFS 3298 3299 ;; 3300esac 3301fi 3302BDFTOPCF=$ac_cv_path_BDFTOPCF 3303if test -n "$BDFTOPCF"; then 3304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BDFTOPCF" >&5 3305printf "%s\n" "$BDFTOPCF" >&6; } 3306else 3307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3308printf "%s\n" "no" >&6; } 3309fi 3310 3311 3312 if test x"$BDFTOPCF" = x; then 3313 as_fn_error $? "bdftopcf is required to build $PACKAGE_NAME." "$LINENO" 5 3314 fi 3315 3316 3317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking font compression method" >&5 3318printf %s "checking font compression method... " >&6; } 3319 3320# Check whether --with-compression was given. 3321if test ${with_compression+y} 3322then : 3323 withval=$with_compression; compression="$withval" 3324else $as_nop 3325 compression="yes" 3326fi 3327 3328 if test x"$compression" = "xyes" ; then 3329 compression="gzip" 3330 fi 3331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${compression}" >&5 3332printf "%s\n" "${compression}" >&6; } 3333 case ${compression} in 3334 *compress) COMPRESS_SUFFIX=".Z" ;; 3335 *gzip) COMPRESS_SUFFIX=".gz" ; 3336 COMPRESS_FLAGS="${COMPRESS_FLAGS--n}" ;; 3337 *bzip2) COMPRESS_SUFFIX=".bz2" ;; 3338 no|none) COMPRESS_SUFFIX="" ; COMPRESS="cat" ;; 3339 *) as_fn_error $? "${compression} is not a supported compression method" "$LINENO" 5 ;; 3340 esac 3341 if test x"$COMPRESS_SUFFIX" != "x" ; then 3342 3343 # Extract the first word of "${compression}", so it can be a program name with args. 3344set dummy ${compression}; ac_word=$2 3345{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3346printf %s "checking for $ac_word... " >&6; } 3347if test ${ac_cv_path_COMPRESS+y} 3348then : 3349 printf %s "(cached) " >&6 3350else $as_nop 3351 case $COMPRESS in 3352 [\\/]* | ?:[\\/]*) 3353 ac_cv_path_COMPRESS="$COMPRESS" # Let the user override the test with a path. 3354 ;; 3355 *) 3356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3357for as_dir in $PATH 3358do 3359 IFS=$as_save_IFS 3360 case $as_dir in #((( 3361 '') as_dir=./ ;; 3362 */) ;; 3363 *) as_dir=$as_dir/ ;; 3364 esac 3365 for ac_exec_ext in '' $ac_executable_extensions; do 3366 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3367 ac_cv_path_COMPRESS="$as_dir$ac_word$ac_exec_ext" 3368 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3369 break 2 3370 fi 3371done 3372 done 3373IFS=$as_save_IFS 3374 3375 ;; 3376esac 3377fi 3378COMPRESS=$ac_cv_path_COMPRESS 3379if test -n "$COMPRESS"; then 3380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $COMPRESS" >&5 3381printf "%s\n" "$COMPRESS" >&6; } 3382else 3383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3384printf "%s\n" "no" >&6; } 3385fi 3386 3387 3388 if test x"$COMPRESS" = x; then 3389 as_fn_error $? "${compression} is required to build $PACKAGE_NAME." "$LINENO" 5 3390 fi 3391 3392 fi 3393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking options to font compression command" >&5 3394printf %s "checking options to font compression command... " >&6; } 3395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${COMPRESS_FLAGS:-none}" >&5 3396printf "%s\n" "${COMPRESS_FLAGS:-none}" >&6; } 3397 3398 3399 3400 3401 3402ac_config_files="$ac_config_files Makefile" 3403 3404cat >confcache <<\_ACEOF 3405# This file is a shell script that caches the results of configure 3406# tests run on this system so they can be shared between configure 3407# scripts and configure runs, see configure's option --config-cache. 3408# It is not useful on other systems. If it contains results you don't 3409# want to keep, you may remove or edit it. 3410# 3411# config.status only pays attention to the cache file if you give it 3412# the --recheck option to rerun configure. 3413# 3414# `ac_cv_env_foo' variables (set or unset) will be overridden when 3415# loading this file, other *unset* `ac_cv_foo' will be assigned the 3416# following values. 3417 3418_ACEOF 3419 3420# The following way of writing the cache mishandles newlines in values, 3421# but we know of no workaround that is simple, portable, and efficient. 3422# So, we kill variables containing newlines. 3423# Ultrix sh set writes to stderr and can't be redirected directly, 3424# and sets the high bit in the cache file unless we assign to the vars. 3425( 3426 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 3427 eval ac_val=\$$ac_var 3428 case $ac_val in #( 3429 *${as_nl}*) 3430 case $ac_var in #( 3431 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 3432printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 3433 esac 3434 case $ac_var in #( 3435 _ | IFS | as_nl) ;; #( 3436 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 3437 *) { eval $ac_var=; unset $ac_var;} ;; 3438 esac ;; 3439 esac 3440 done 3441 3442 (set) 2>&1 | 3443 case $as_nl`(ac_space=' '; set) 2>&1` in #( 3444 *${as_nl}ac_space=\ *) 3445 # `set' does not quote correctly, so add quotes: double-quote 3446 # substitution turns \\\\ into \\, and sed turns \\ into \. 3447 sed -n \ 3448 "s/'/'\\\\''/g; 3449 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 3450 ;; #( 3451 *) 3452 # `set' quotes correctly as required by POSIX, so do not add quotes. 3453 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 3454 ;; 3455 esac | 3456 sort 3457) | 3458 sed ' 3459 /^ac_cv_env_/b end 3460 t clear 3461 :clear 3462 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ 3463 t end 3464 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 3465 :end' >>confcache 3466if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 3467 if test -w "$cache_file"; then 3468 if test "x$cache_file" != "x/dev/null"; then 3469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 3470printf "%s\n" "$as_me: updating cache $cache_file" >&6;} 3471 if test ! -f "$cache_file" || test -h "$cache_file"; then 3472 cat confcache >"$cache_file" 3473 else 3474 case $cache_file in #( 3475 */* | ?:*) 3476 mv -f confcache "$cache_file"$$ && 3477 mv -f "$cache_file"$$ "$cache_file" ;; #( 3478 *) 3479 mv -f confcache "$cache_file" ;; 3480 esac 3481 fi 3482 fi 3483 else 3484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 3485printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} 3486 fi 3487fi 3488rm -f confcache 3489 3490test "x$prefix" = xNONE && prefix=$ac_default_prefix 3491# Let make expand exec_prefix. 3492test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 3493 3494# Transform confdefs.h into DEFS. 3495# Protect against shell expansion while executing Makefile rules. 3496# Protect against Makefile macro expansion. 3497# 3498# If the first sed substitution is executed (which looks for macros that 3499# take arguments), then branch to the quote section. Otherwise, 3500# look for a macro that doesn't take arguments. 3501ac_script=' 3502:mline 3503/\\$/{ 3504 N 3505 s,\\\n,, 3506 b mline 3507} 3508t clear 3509:clear 3510s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 3511t quote 3512s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 3513t quote 3514b any 3515:quote 3516s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 3517s/\[/\\&/g 3518s/\]/\\&/g 3519s/\$/$$/g 3520H 3521:any 3522${ 3523 g 3524 s/^\n// 3525 s/\n/ /g 3526 p 3527} 3528' 3529DEFS=`sed -n "$ac_script" confdefs.h` 3530 3531 3532ac_libobjs= 3533ac_ltlibobjs= 3534U= 3535for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 3536 # 1. Remove the extension, and $U if already installed. 3537 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 3538 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"` 3539 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 3540 # will be set to the directory where LIBOBJS objects are built. 3541 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 3542 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 3543done 3544LIBOBJS=$ac_libobjs 3545 3546LTLIBOBJS=$ac_ltlibobjs 3547 3548 3549{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 3550printf %s "checking that generated files are newer than configure... " >&6; } 3551 if test -n "$am_sleep_pid"; then 3552 # Hide warnings about reused PIDs. 3553 wait $am_sleep_pid 2>/dev/null 3554 fi 3555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5 3556printf "%s\n" "done" >&6; } 3557 3558 3559: "${CONFIG_STATUS=./config.status}" 3560ac_write_fail=0 3561ac_clean_files_save=$ac_clean_files 3562ac_clean_files="$ac_clean_files $CONFIG_STATUS" 3563{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 3564printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} 3565as_write_fail=0 3566cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 3567#! $SHELL 3568# Generated by $as_me. 3569# Run this file to recreate the current configuration. 3570# Compiler output produced by configure, useful for debugging 3571# configure, is in config.log if it exists. 3572 3573debug=false 3574ac_cs_recheck=false 3575ac_cs_silent=false 3576 3577SHELL=\${CONFIG_SHELL-$SHELL} 3578export SHELL 3579_ASEOF 3580cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 3581## -------------------- ## 3582## M4sh Initialization. ## 3583## -------------------- ## 3584 3585# Be more Bourne compatible 3586DUALCASE=1; export DUALCASE # for MKS sh 3587as_nop=: 3588if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 3589then : 3590 emulate sh 3591 NULLCMD=: 3592 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 3593 # is contrary to our usage. Disable this feature. 3594 alias -g '${1+"$@"}'='"$@"' 3595 setopt NO_GLOB_SUBST 3596else $as_nop 3597 case `(set -o) 2>/dev/null` in #( 3598 *posix*) : 3599 set -o posix ;; #( 3600 *) : 3601 ;; 3602esac 3603fi 3604 3605 3606 3607# Reset variables that may have inherited troublesome values from 3608# the environment. 3609 3610# IFS needs to be set, to space, tab, and newline, in precisely that order. 3611# (If _AS_PATH_WALK were called with IFS unset, it would have the 3612# side effect of setting IFS to empty, thus disabling word splitting.) 3613# Quoting is to prevent editors from complaining about space-tab. 3614as_nl=' 3615' 3616export as_nl 3617IFS=" "" $as_nl" 3618 3619PS1='$ ' 3620PS2='> ' 3621PS4='+ ' 3622 3623# Ensure predictable behavior from utilities with locale-dependent output. 3624LC_ALL=C 3625export LC_ALL 3626LANGUAGE=C 3627export LANGUAGE 3628 3629# We cannot yet rely on "unset" to work, but we need these variables 3630# to be unset--not just set to an empty or harmless value--now, to 3631# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct 3632# also avoids known problems related to "unset" and subshell syntax 3633# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). 3634for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 3635do eval test \${$as_var+y} \ 3636 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 3637done 3638 3639# Ensure that fds 0, 1, and 2 are open. 3640if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 3641if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 3642if (exec 3>&2) ; then :; else exec 2>/dev/null; fi 3643 3644# The user is always right. 3645if ${PATH_SEPARATOR+false} :; then 3646 PATH_SEPARATOR=: 3647 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 3648 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 3649 PATH_SEPARATOR=';' 3650 } 3651fi 3652 3653 3654# Find who we are. Look in the path if we contain no directory separator. 3655as_myself= 3656case $0 in #(( 3657 *[\\/]* ) as_myself=$0 ;; 3658 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3659for as_dir in $PATH 3660do 3661 IFS=$as_save_IFS 3662 case $as_dir in #((( 3663 '') as_dir=./ ;; 3664 */) ;; 3665 *) as_dir=$as_dir/ ;; 3666 esac 3667 test -r "$as_dir$0" && as_myself=$as_dir$0 && break 3668 done 3669IFS=$as_save_IFS 3670 3671 ;; 3672esac 3673# We did not find ourselves, most probably we were run as `sh COMMAND' 3674# in which case we are not to be found in the path. 3675if test "x$as_myself" = x; then 3676 as_myself=$0 3677fi 3678if test ! -f "$as_myself"; then 3679 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 3680 exit 1 3681fi 3682 3683 3684 3685# as_fn_error STATUS ERROR [LINENO LOG_FD] 3686# ---------------------------------------- 3687# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 3688# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 3689# script with STATUS, using 1 if that was 0. 3690as_fn_error () 3691{ 3692 as_status=$1; test $as_status -eq 0 && as_status=1 3693 if test "$4"; then 3694 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 3695 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 3696 fi 3697 printf "%s\n" "$as_me: error: $2" >&2 3698 as_fn_exit $as_status 3699} # as_fn_error 3700 3701 3702 3703# as_fn_set_status STATUS 3704# ----------------------- 3705# Set $? to STATUS, without forking. 3706as_fn_set_status () 3707{ 3708 return $1 3709} # as_fn_set_status 3710 3711# as_fn_exit STATUS 3712# ----------------- 3713# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 3714as_fn_exit () 3715{ 3716 set +e 3717 as_fn_set_status $1 3718 exit $1 3719} # as_fn_exit 3720 3721# as_fn_unset VAR 3722# --------------- 3723# Portably unset VAR. 3724as_fn_unset () 3725{ 3726 { eval $1=; unset $1;} 3727} 3728as_unset=as_fn_unset 3729 3730# as_fn_append VAR VALUE 3731# ---------------------- 3732# Append the text in VALUE to the end of the definition contained in VAR. Take 3733# advantage of any shell optimizations that allow amortized linear growth over 3734# repeated appends, instead of the typical quadratic growth present in naive 3735# implementations. 3736if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 3737then : 3738 eval 'as_fn_append () 3739 { 3740 eval $1+=\$2 3741 }' 3742else $as_nop 3743 as_fn_append () 3744 { 3745 eval $1=\$$1\$2 3746 } 3747fi # as_fn_append 3748 3749# as_fn_arith ARG... 3750# ------------------ 3751# Perform arithmetic evaluation on the ARGs, and store the result in the 3752# global $as_val. Take advantage of shells that can avoid forks. The arguments 3753# must be portable across $(()) and expr. 3754if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 3755then : 3756 eval 'as_fn_arith () 3757 { 3758 as_val=$(( $* )) 3759 }' 3760else $as_nop 3761 as_fn_arith () 3762 { 3763 as_val=`expr "$@" || test $? -eq 1` 3764 } 3765fi # as_fn_arith 3766 3767 3768if expr a : '\(a\)' >/dev/null 2>&1 && 3769 test "X`expr 00001 : '.*\(...\)'`" = X001; then 3770 as_expr=expr 3771else 3772 as_expr=false 3773fi 3774 3775if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 3776 as_basename=basename 3777else 3778 as_basename=false 3779fi 3780 3781if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 3782 as_dirname=dirname 3783else 3784 as_dirname=false 3785fi 3786 3787as_me=`$as_basename -- "$0" || 3788$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 3789 X"$0" : 'X\(//\)$' \| \ 3790 X"$0" : 'X\(/\)' \| . 2>/dev/null || 3791printf "%s\n" X/"$0" | 3792 sed '/^.*\/\([^/][^/]*\)\/*$/{ 3793 s//\1/ 3794 q 3795 } 3796 /^X\/\(\/\/\)$/{ 3797 s//\1/ 3798 q 3799 } 3800 /^X\/\(\/\).*/{ 3801 s//\1/ 3802 q 3803 } 3804 s/.*/./; q'` 3805 3806# Avoid depending upon Character Ranges. 3807as_cr_letters='abcdefghijklmnopqrstuvwxyz' 3808as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 3809as_cr_Letters=$as_cr_letters$as_cr_LETTERS 3810as_cr_digits='0123456789' 3811as_cr_alnum=$as_cr_Letters$as_cr_digits 3812 3813 3814# Determine whether it's possible to make 'echo' print without a newline. 3815# These variables are no longer used directly by Autoconf, but are AC_SUBSTed 3816# for compatibility with existing Makefiles. 3817ECHO_C= ECHO_N= ECHO_T= 3818case `echo -n x` in #((((( 3819-n*) 3820 case `echo 'xy\c'` in 3821 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 3822 xy) ECHO_C='\c';; 3823 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 3824 ECHO_T=' ';; 3825 esac;; 3826*) 3827 ECHO_N='-n';; 3828esac 3829 3830# For backward compatibility with old third-party macros, we provide 3831# the shell variables $as_echo and $as_echo_n. New code should use 3832# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. 3833as_echo='printf %s\n' 3834as_echo_n='printf %s' 3835 3836rm -f conf$$ conf$$.exe conf$$.file 3837if test -d conf$$.dir; then 3838 rm -f conf$$.dir/conf$$.file 3839else 3840 rm -f conf$$.dir 3841 mkdir conf$$.dir 2>/dev/null 3842fi 3843if (echo >conf$$.file) 2>/dev/null; then 3844 if ln -s conf$$.file conf$$ 2>/dev/null; then 3845 as_ln_s='ln -s' 3846 # ... but there are two gotchas: 3847 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 3848 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 3849 # In both cases, we have to default to `cp -pR'. 3850 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 3851 as_ln_s='cp -pR' 3852 elif ln conf$$.file conf$$ 2>/dev/null; then 3853 as_ln_s=ln 3854 else 3855 as_ln_s='cp -pR' 3856 fi 3857else 3858 as_ln_s='cp -pR' 3859fi 3860rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 3861rmdir conf$$.dir 2>/dev/null 3862 3863 3864# as_fn_mkdir_p 3865# ------------- 3866# Create "$as_dir" as a directory, including parents if necessary. 3867as_fn_mkdir_p () 3868{ 3869 3870 case $as_dir in #( 3871 -*) as_dir=./$as_dir;; 3872 esac 3873 test -d "$as_dir" || eval $as_mkdir_p || { 3874 as_dirs= 3875 while :; do 3876 case $as_dir in #( 3877 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 3878 *) as_qdir=$as_dir;; 3879 esac 3880 as_dirs="'$as_qdir' $as_dirs" 3881 as_dir=`$as_dirname -- "$as_dir" || 3882$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3883 X"$as_dir" : 'X\(//\)[^/]' \| \ 3884 X"$as_dir" : 'X\(//\)$' \| \ 3885 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 3886printf "%s\n" X"$as_dir" | 3887 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3888 s//\1/ 3889 q 3890 } 3891 /^X\(\/\/\)[^/].*/{ 3892 s//\1/ 3893 q 3894 } 3895 /^X\(\/\/\)$/{ 3896 s//\1/ 3897 q 3898 } 3899 /^X\(\/\).*/{ 3900 s//\1/ 3901 q 3902 } 3903 s/.*/./; q'` 3904 test -d "$as_dir" && break 3905 done 3906 test -z "$as_dirs" || eval "mkdir $as_dirs" 3907 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 3908 3909 3910} # as_fn_mkdir_p 3911if mkdir -p . 2>/dev/null; then 3912 as_mkdir_p='mkdir -p "$as_dir"' 3913else 3914 test -d ./-p && rmdir ./-p 3915 as_mkdir_p=false 3916fi 3917 3918 3919# as_fn_executable_p FILE 3920# ----------------------- 3921# Test if FILE is an executable regular file. 3922as_fn_executable_p () 3923{ 3924 test -f "$1" && test -x "$1" 3925} # as_fn_executable_p 3926as_test_x='test -x' 3927as_executable_p=as_fn_executable_p 3928 3929# Sed expression to map a string onto a valid CPP name. 3930as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 3931 3932# Sed expression to map a string onto a valid variable name. 3933as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 3934 3935 3936exec 6>&1 3937## ----------------------------------- ## 3938## Main body of $CONFIG_STATUS script. ## 3939## ----------------------------------- ## 3940_ASEOF 3941test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 3942 3943cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3944# Save the log message, to keep $0 and so on meaningful, and to 3945# report actual input values of CONFIG_FILES etc. instead of their 3946# values after options handling. 3947ac_log=" 3948This file was extended by font-mutt-misc $as_me 1.0.4, which was 3949generated by GNU Autoconf 2.71. Invocation command line was 3950 3951 CONFIG_FILES = $CONFIG_FILES 3952 CONFIG_HEADERS = $CONFIG_HEADERS 3953 CONFIG_LINKS = $CONFIG_LINKS 3954 CONFIG_COMMANDS = $CONFIG_COMMANDS 3955 $ $0 $@ 3956 3957on `(hostname || uname -n) 2>/dev/null | sed 1q` 3958" 3959 3960_ACEOF 3961 3962case $ac_config_files in *" 3963"*) set x $ac_config_files; shift; ac_config_files=$*;; 3964esac 3965 3966 3967 3968cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3969# Files that config.status was made for. 3970config_files="$ac_config_files" 3971 3972_ACEOF 3973 3974cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3975ac_cs_usage="\ 3976\`$as_me' instantiates files and other configuration actions 3977from templates according to the current configuration. Unless the files 3978and actions are specified as TAGs, all are instantiated by default. 3979 3980Usage: $0 [OPTION]... [TAG]... 3981 3982 -h, --help print this help, then exit 3983 -V, --version print version number and configuration settings, then exit 3984 --config print configuration, then exit 3985 -q, --quiet, --silent 3986 do not print progress messages 3987 -d, --debug don't remove temporary files 3988 --recheck update $as_me by reconfiguring in the same conditions 3989 --file=FILE[:TEMPLATE] 3990 instantiate the configuration file FILE 3991 3992Configuration files: 3993$config_files 3994 3995Report bugs to <https://gitlab.freedesktop.org/xorg/font/mutt-misc/-/issues>." 3996 3997_ACEOF 3998ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` 3999ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` 4000cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4001ac_cs_config='$ac_cs_config_escaped' 4002ac_cs_version="\\ 4003font-mutt-misc config.status 1.0.4 4004configured by $0, generated by GNU Autoconf 2.71, 4005 with options \\"\$ac_cs_config\\" 4006 4007Copyright (C) 2021 Free Software Foundation, Inc. 4008This config.status script is free software; the Free Software Foundation 4009gives unlimited permission to copy, distribute and modify it." 4010 4011ac_pwd='$ac_pwd' 4012srcdir='$srcdir' 4013INSTALL='$INSTALL' 4014MKDIR_P='$MKDIR_P' 4015AWK='$AWK' 4016test -n "\$AWK" || AWK=awk 4017_ACEOF 4018 4019cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4020# The default lists apply if the user does not specify any file. 4021ac_need_defaults=: 4022while test $# != 0 4023do 4024 case $1 in 4025 --*=?*) 4026 ac_option=`expr "X$1" : 'X\([^=]*\)='` 4027 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 4028 ac_shift=: 4029 ;; 4030 --*=) 4031 ac_option=`expr "X$1" : 'X\([^=]*\)='` 4032 ac_optarg= 4033 ac_shift=: 4034 ;; 4035 *) 4036 ac_option=$1 4037 ac_optarg=$2 4038 ac_shift=shift 4039 ;; 4040 esac 4041 4042 case $ac_option in 4043 # Handling of the options. 4044 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 4045 ac_cs_recheck=: ;; 4046 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 4047 printf "%s\n" "$ac_cs_version"; exit ;; 4048 --config | --confi | --conf | --con | --co | --c ) 4049 printf "%s\n" "$ac_cs_config"; exit ;; 4050 --debug | --debu | --deb | --de | --d | -d ) 4051 debug=: ;; 4052 --file | --fil | --fi | --f ) 4053 $ac_shift 4054 case $ac_optarg in 4055 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 4056 '') as_fn_error $? "missing file argument" ;; 4057 esac 4058 as_fn_append CONFIG_FILES " '$ac_optarg'" 4059 ac_need_defaults=false;; 4060 --he | --h | --help | --hel | -h ) 4061 printf "%s\n" "$ac_cs_usage"; exit ;; 4062 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 4063 | -silent | --silent | --silen | --sile | --sil | --si | --s) 4064 ac_cs_silent=: ;; 4065 4066 # This is an error. 4067 -*) as_fn_error $? "unrecognized option: \`$1' 4068Try \`$0 --help' for more information." ;; 4069 4070 *) as_fn_append ac_config_targets " $1" 4071 ac_need_defaults=false ;; 4072 4073 esac 4074 shift 4075done 4076 4077ac_configure_extra_args= 4078 4079if $ac_cs_silent; then 4080 exec 6>/dev/null 4081 ac_configure_extra_args="$ac_configure_extra_args --silent" 4082fi 4083 4084_ACEOF 4085cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4086if \$ac_cs_recheck; then 4087 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 4088 shift 4089 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 4090 CONFIG_SHELL='$SHELL' 4091 export CONFIG_SHELL 4092 exec "\$@" 4093fi 4094 4095_ACEOF 4096cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4097exec 5>>config.log 4098{ 4099 echo 4100 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 4101## Running $as_me. ## 4102_ASBOX 4103 printf "%s\n" "$ac_log" 4104} >&5 4105 4106_ACEOF 4107cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4108_ACEOF 4109 4110cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4111 4112# Handling of arguments. 4113for ac_config_target in $ac_config_targets 4114do 4115 case $ac_config_target in 4116 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 4117 4118 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 4119 esac 4120done 4121 4122 4123# If the user did not use the arguments to specify the items to instantiate, 4124# then the envvar interface is used. Set only those that are not. 4125# We use the long form for the default assignment because of an extremely 4126# bizarre bug on SunOS 4.1.3. 4127if $ac_need_defaults; then 4128 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files 4129fi 4130 4131# Have a temporary directory for convenience. Make it in the build tree 4132# simply because there is no reason against having it here, and in addition, 4133# creating and moving files from /tmp can sometimes cause problems. 4134# Hook for its removal unless debugging. 4135# Note that there is a small window in which the directory will not be cleaned: 4136# after its creation but before its name has been assigned to `$tmp'. 4137$debug || 4138{ 4139 tmp= ac_tmp= 4140 trap 'exit_status=$? 4141 : "${ac_tmp:=$tmp}" 4142 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 4143' 0 4144 trap 'as_fn_exit 1' 1 2 13 15 4145} 4146# Create a (secure) tmp directory for tmp files. 4147 4148{ 4149 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 4150 test -d "$tmp" 4151} || 4152{ 4153 tmp=./conf$$-$RANDOM 4154 (umask 077 && mkdir "$tmp") 4155} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 4156ac_tmp=$tmp 4157 4158# Set up the scripts for CONFIG_FILES section. 4159# No need to generate them if there are no CONFIG_FILES. 4160# This happens for instance with `./config.status config.h'. 4161if test -n "$CONFIG_FILES"; then 4162 4163 4164ac_cr=`echo X | tr X '\015'` 4165# On cygwin, bash can eat \r inside `` if the user requested igncr. 4166# But we know of no other shell where ac_cr would be empty at this 4167# point, so we can use a bashism as a fallback. 4168if test "x$ac_cr" = x; then 4169 eval ac_cr=\$\'\\r\' 4170fi 4171ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 4172if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 4173 ac_cs_awk_cr='\\r' 4174else 4175 ac_cs_awk_cr=$ac_cr 4176fi 4177 4178echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 4179_ACEOF 4180 4181 4182{ 4183 echo "cat >conf$$subs.awk <<_ACEOF" && 4184 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 4185 echo "_ACEOF" 4186} >conf$$subs.sh || 4187 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 4188ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 4189ac_delim='%!_!# ' 4190for ac_last_try in false false false false false :; do 4191 . ./conf$$subs.sh || 4192 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 4193 4194 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 4195 if test $ac_delim_n = $ac_delim_num; then 4196 break 4197 elif $ac_last_try; then 4198 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 4199 else 4200 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 4201 fi 4202done 4203rm -f conf$$subs.sh 4204 4205cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4206cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 4207_ACEOF 4208sed -n ' 4209h 4210s/^/S["/; s/!.*/"]=/ 4211p 4212g 4213s/^[^!]*!// 4214:repl 4215t repl 4216s/'"$ac_delim"'$// 4217t delim 4218:nl 4219h 4220s/\(.\{148\}\)..*/\1/ 4221t more1 4222s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 4223p 4224n 4225b repl 4226:more1 4227s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 4228p 4229g 4230s/.\{148\}// 4231t nl 4232:delim 4233h 4234s/\(.\{148\}\)..*/\1/ 4235t more2 4236s/["\\]/\\&/g; s/^/"/; s/$/"/ 4237p 4238b 4239:more2 4240s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 4241p 4242g 4243s/.\{148\}// 4244t delim 4245' <conf$$subs.awk | sed ' 4246/^[^""]/{ 4247 N 4248 s/\n// 4249} 4250' >>$CONFIG_STATUS || ac_write_fail=1 4251rm -f conf$$subs.awk 4252cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4253_ACAWK 4254cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 4255 for (key in S) S_is_set[key] = 1 4256 FS = "" 4257 4258} 4259{ 4260 line = $ 0 4261 nfields = split(line, field, "@") 4262 substed = 0 4263 len = length(field[1]) 4264 for (i = 2; i < nfields; i++) { 4265 key = field[i] 4266 keylen = length(key) 4267 if (S_is_set[key]) { 4268 value = S[key] 4269 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 4270 len += length(value) + length(field[++i]) 4271 substed = 1 4272 } else 4273 len += 1 + keylen 4274 } 4275 4276 print line 4277} 4278 4279_ACAWK 4280_ACEOF 4281cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4282if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 4283 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 4284else 4285 cat 4286fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 4287 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 4288_ACEOF 4289 4290# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 4291# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 4292# trailing colons and then remove the whole line if VPATH becomes empty 4293# (actually we leave an empty line to preserve line numbers). 4294if test "x$srcdir" = x.; then 4295 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 4296h 4297s/// 4298s/^/:/ 4299s/[ ]*$/:/ 4300s/:\$(srcdir):/:/g 4301s/:\${srcdir}:/:/g 4302s/:@srcdir@:/:/g 4303s/^:*// 4304s/:*$// 4305x 4306s/\(=[ ]*\).*/\1/ 4307G 4308s/\n// 4309s/^[^=]*=[ ]*$// 4310}' 4311fi 4312 4313cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4314fi # test -n "$CONFIG_FILES" 4315 4316 4317eval set X " :F $CONFIG_FILES " 4318shift 4319for ac_tag 4320do 4321 case $ac_tag in 4322 :[FHLC]) ac_mode=$ac_tag; continue;; 4323 esac 4324 case $ac_mode$ac_tag in 4325 :[FHL]*:*);; 4326 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 4327 :[FH]-) ac_tag=-:-;; 4328 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 4329 esac 4330 ac_save_IFS=$IFS 4331 IFS=: 4332 set x $ac_tag 4333 IFS=$ac_save_IFS 4334 shift 4335 ac_file=$1 4336 shift 4337 4338 case $ac_mode in 4339 :L) ac_source=$1;; 4340 :[FH]) 4341 ac_file_inputs= 4342 for ac_f 4343 do 4344 case $ac_f in 4345 -) ac_f="$ac_tmp/stdin";; 4346 *) # Look for the file first in the build tree, then in the source tree 4347 # (if the path is not absolute). The absolute path cannot be DOS-style, 4348 # because $ac_f cannot contain `:'. 4349 test -f "$ac_f" || 4350 case $ac_f in 4351 [\\/$]*) false;; 4352 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 4353 esac || 4354 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 4355 esac 4356 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 4357 as_fn_append ac_file_inputs " '$ac_f'" 4358 done 4359 4360 # Let's still pretend it is `configure' which instantiates (i.e., don't 4361 # use $as_me), people would be surprised to read: 4362 # /* config.h. Generated by config.status. */ 4363 configure_input='Generated from '` 4364 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 4365 `' by configure.' 4366 if test x"$ac_file" != x-; then 4367 configure_input="$ac_file. $configure_input" 4368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 4369printf "%s\n" "$as_me: creating $ac_file" >&6;} 4370 fi 4371 # Neutralize special characters interpreted by sed in replacement strings. 4372 case $configure_input in #( 4373 *\&* | *\|* | *\\* ) 4374 ac_sed_conf_input=`printf "%s\n" "$configure_input" | 4375 sed 's/[\\\\&|]/\\\\&/g'`;; #( 4376 *) ac_sed_conf_input=$configure_input;; 4377 esac 4378 4379 case $ac_tag in 4380 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 4381 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 4382 esac 4383 ;; 4384 esac 4385 4386 ac_dir=`$as_dirname -- "$ac_file" || 4387$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4388 X"$ac_file" : 'X\(//\)[^/]' \| \ 4389 X"$ac_file" : 'X\(//\)$' \| \ 4390 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 4391printf "%s\n" X"$ac_file" | 4392 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4393 s//\1/ 4394 q 4395 } 4396 /^X\(\/\/\)[^/].*/{ 4397 s//\1/ 4398 q 4399 } 4400 /^X\(\/\/\)$/{ 4401 s//\1/ 4402 q 4403 } 4404 /^X\(\/\).*/{ 4405 s//\1/ 4406 q 4407 } 4408 s/.*/./; q'` 4409 as_dir="$ac_dir"; as_fn_mkdir_p 4410 ac_builddir=. 4411 4412case "$ac_dir" in 4413.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 4414*) 4415 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 4416 # A ".." for each directory in $ac_dir_suffix. 4417 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 4418 case $ac_top_builddir_sub in 4419 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 4420 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 4421 esac ;; 4422esac 4423ac_abs_top_builddir=$ac_pwd 4424ac_abs_builddir=$ac_pwd$ac_dir_suffix 4425# for backward compatibility: 4426ac_top_builddir=$ac_top_build_prefix 4427 4428case $srcdir in 4429 .) # We are building in place. 4430 ac_srcdir=. 4431 ac_top_srcdir=$ac_top_builddir_sub 4432 ac_abs_top_srcdir=$ac_pwd ;; 4433 [\\/]* | ?:[\\/]* ) # Absolute name. 4434 ac_srcdir=$srcdir$ac_dir_suffix; 4435 ac_top_srcdir=$srcdir 4436 ac_abs_top_srcdir=$srcdir ;; 4437 *) # Relative name. 4438 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 4439 ac_top_srcdir=$ac_top_build_prefix$srcdir 4440 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 4441esac 4442ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 4443 4444 4445 case $ac_mode in 4446 :F) 4447 # 4448 # CONFIG_FILE 4449 # 4450 4451 case $INSTALL in 4452 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 4453 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 4454 esac 4455 ac_MKDIR_P=$MKDIR_P 4456 case $MKDIR_P in 4457 [\\/$]* | ?:[\\/]* ) ;; 4458 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 4459 esac 4460_ACEOF 4461 4462cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4463# If the template does not know about datarootdir, expand it. 4464# FIXME: This hack should be removed a few years after 2.60. 4465ac_datarootdir_hack=; ac_datarootdir_seen= 4466ac_sed_dataroot=' 4467/datarootdir/ { 4468 p 4469 q 4470} 4471/@datadir@/p 4472/@docdir@/p 4473/@infodir@/p 4474/@localedir@/p 4475/@mandir@/p' 4476case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 4477*datarootdir*) ac_datarootdir_seen=yes;; 4478*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 4479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 4480printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 4481_ACEOF 4482cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4483 ac_datarootdir_hack=' 4484 s&@datadir@&$datadir&g 4485 s&@docdir@&$docdir&g 4486 s&@infodir@&$infodir&g 4487 s&@localedir@&$localedir&g 4488 s&@mandir@&$mandir&g 4489 s&\\\${datarootdir}&$datarootdir&g' ;; 4490esac 4491_ACEOF 4492 4493# Neutralize VPATH when `$srcdir' = `.'. 4494# Shell code in configure.ac might set extrasub. 4495# FIXME: do we really want to maintain this feature? 4496cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4497ac_sed_extra="$ac_vpsub 4498$extrasub 4499_ACEOF 4500cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4501:t 4502/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 4503s|@configure_input@|$ac_sed_conf_input|;t t 4504s&@top_builddir@&$ac_top_builddir_sub&;t t 4505s&@top_build_prefix@&$ac_top_build_prefix&;t t 4506s&@srcdir@&$ac_srcdir&;t t 4507s&@abs_srcdir@&$ac_abs_srcdir&;t t 4508s&@top_srcdir@&$ac_top_srcdir&;t t 4509s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 4510s&@builddir@&$ac_builddir&;t t 4511s&@abs_builddir@&$ac_abs_builddir&;t t 4512s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 4513s&@INSTALL@&$ac_INSTALL&;t t 4514s&@MKDIR_P@&$ac_MKDIR_P&;t t 4515$ac_datarootdir_hack 4516" 4517eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 4518 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 4519 4520test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 4521 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 4522 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 4523 "$ac_tmp/out"`; test -z "$ac_out"; } && 4524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 4525which seems to be undefined. Please make sure it is defined" >&5 4526printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 4527which seems to be undefined. Please make sure it is defined" >&2;} 4528 4529 rm -f "$ac_tmp/stdin" 4530 case $ac_file in 4531 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 4532 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 4533 esac \ 4534 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 4535 ;; 4536 4537 4538 4539 esac 4540 4541done # for ac_tag 4542 4543 4544as_fn_exit 0 4545_ACEOF 4546ac_clean_files=$ac_clean_files_save 4547 4548test $ac_write_fail = 0 || 4549 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 4550 4551 4552# configure is writing to config.log, and then calls config.status. 4553# config.status does its own redirection, appending to config.log. 4554# Unfortunately, on DOS this fails, as config.log is still kept open 4555# by configure, so config.status won't be able to write to it; its 4556# output is simply discarded. So we exec the FD to /dev/null, 4557# effectively closing config.log, so it can be properly (re)opened and 4558# appended to by config.status. When coming back to configure, we 4559# need to make the FD available again. 4560if test "$no_create" != yes; then 4561 ac_cs_success=: 4562 ac_config_status_args= 4563 test "$silent" = yes && 4564 ac_config_status_args="$ac_config_status_args --quiet" 4565 exec 5>/dev/null 4566 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 4567 exec 5>>config.log 4568 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 4569 # would make configure fail if this is the last instruction. 4570 $ac_cs_success || as_fn_exit 1 4571fi 4572if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 4573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 4574printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 4575fi 4576 4577 4578