156f6b22bSmrg#! /bin/sh 256f6b22bSmrg# Guess values for system-dependent variables and create Makefiles. 37591dea4Smrg# Generated by GNU Autoconf 2.71 for font-bitstream-100dpi 1.0.4. 456f6b22bSmrg# 57591dea4Smrg# Report bugs to <https://gitlab.freedesktop.org/xorg/font/bitstream-100dpi/-/issues>. 656f6b22bSmrg# 73a67387eSmrg# 87591dea4Smrg# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, 97591dea4Smrg# Inc. 103a67387eSmrg# 113a67387eSmrg# 1256f6b22bSmrg# This configure script is free software; the Free Software Foundation 1356f6b22bSmrg# gives unlimited permission to copy, distribute and modify it. 143a67387eSmrg## -------------------- ## 153a67387eSmrg## M4sh Initialization. ## 163a67387eSmrg## -------------------- ## 1756f6b22bSmrg 18ef7198c0Smrg# Be more Bourne compatible 19ef7198c0SmrgDUALCASE=1; export DUALCASE # for MKS sh 207591dea4Smrgas_nop=: 217591dea4Smrgif test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 227591dea4Smrgthen : 2356f6b22bSmrg emulate sh 2456f6b22bSmrg NULLCMD=: 25ef7198c0Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 2656f6b22bSmrg # is contrary to our usage. Disable this feature. 2756f6b22bSmrg alias -g '${1+"$@"}'='"$@"' 28ef7198c0Smrg setopt NO_GLOB_SUBST 297591dea4Smrgelse $as_nop 303a67387eSmrg case `(set -o) 2>/dev/null` in #( 313a67387eSmrg *posix*) : 323a67387eSmrg set -o posix ;; #( 333a67387eSmrg *) : 343a67387eSmrg ;; 35ef7198c0Smrgesac 36ef7198c0Smrgfi 37ef7198c0Smrg 38ef7198c0Smrg 397591dea4Smrg 407591dea4Smrg# Reset variables that may have inherited troublesome values from 417591dea4Smrg# the environment. 427591dea4Smrg 437591dea4Smrg# IFS needs to be set, to space, tab, and newline, in precisely that order. 447591dea4Smrg# (If _AS_PATH_WALK were called with IFS unset, it would have the 457591dea4Smrg# side effect of setting IFS to empty, thus disabling word splitting.) 467591dea4Smrg# Quoting is to prevent editors from complaining about space-tab. 47ef7198c0Smrgas_nl=' 48ef7198c0Smrg' 49ef7198c0Smrgexport as_nl 507591dea4SmrgIFS=" "" $as_nl" 517591dea4Smrg 527591dea4SmrgPS1='$ ' 537591dea4SmrgPS2='> ' 547591dea4SmrgPS4='+ ' 557591dea4Smrg 567591dea4Smrg# Ensure predictable behavior from utilities with locale-dependent output. 577591dea4SmrgLC_ALL=C 587591dea4Smrgexport LC_ALL 597591dea4SmrgLANGUAGE=C 607591dea4Smrgexport LANGUAGE 617591dea4Smrg 627591dea4Smrg# We cannot yet rely on "unset" to work, but we need these variables 637591dea4Smrg# to be unset--not just set to an empty or harmless value--now, to 647591dea4Smrg# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct 657591dea4Smrg# also avoids known problems related to "unset" and subshell syntax 667591dea4Smrg# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). 677591dea4Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 687591dea4Smrgdo eval test \${$as_var+y} \ 697591dea4Smrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 707591dea4Smrgdone 717591dea4Smrg 727591dea4Smrg# Ensure that fds 0, 1, and 2 are open. 737591dea4Smrgif (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 747591dea4Smrgif (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 757591dea4Smrgif (exec 3>&2) ; then :; else exec 2>/dev/null; fi 76ef7198c0Smrg 77ef7198c0Smrg# The user is always right. 787591dea4Smrgif ${PATH_SEPARATOR+false} :; then 79ef7198c0Smrg PATH_SEPARATOR=: 80ef7198c0Smrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 81ef7198c0Smrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 82ef7198c0Smrg PATH_SEPARATOR=';' 83ef7198c0Smrg } 8456f6b22bSmrgfi 8556f6b22bSmrg 8656f6b22bSmrg 87ef7198c0Smrg# Find who we are. Look in the path if we contain no directory separator. 883a67387eSmrgas_myself= 893a67387eSmrgcase $0 in #(( 90ef7198c0Smrg *[\\/]* ) as_myself=$0 ;; 91ef7198c0Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 92ef7198c0Smrgfor as_dir in $PATH 93ef7198c0Smrgdo 94ef7198c0Smrg IFS=$as_save_IFS 957591dea4Smrg case $as_dir in #((( 967591dea4Smrg '') as_dir=./ ;; 977591dea4Smrg */) ;; 987591dea4Smrg *) as_dir=$as_dir/ ;; 997591dea4Smrg esac 1007591dea4Smrg test -r "$as_dir$0" && as_myself=$as_dir$0 && break 1013a67387eSmrg done 102ef7198c0SmrgIFS=$as_save_IFS 103ef7198c0Smrg 104ef7198c0Smrg ;; 105ef7198c0Smrgesac 106ef7198c0Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 107ef7198c0Smrg# in which case we are not to be found in the path. 108ef7198c0Smrgif test "x$as_myself" = x; then 109ef7198c0Smrg as_myself=$0 110ef7198c0Smrgfi 111ef7198c0Smrgif test ! -f "$as_myself"; then 1127591dea4Smrg printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 1133a67387eSmrg exit 1 114ef7198c0Smrgfi 115ef7198c0Smrg 1163a67387eSmrg 1177591dea4Smrg# Use a proper internal environment variable to ensure we don't fall 1187591dea4Smrg # into an infinite loop, continuously re-executing ourselves. 1197591dea4Smrg if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 1207591dea4Smrg _as_can_reexec=no; export _as_can_reexec; 1217591dea4Smrg # We cannot yet assume a decent shell, so we have to provide a 1227591dea4Smrg# neutralization value for shells without unset; and this also 1237591dea4Smrg# works around shells that cannot unset nonexistent variables. 1247591dea4Smrg# Preserve -v and -x to the replacement shell. 1257591dea4SmrgBASH_ENV=/dev/null 1267591dea4SmrgENV=/dev/null 1277591dea4Smrg(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 1287591dea4Smrgcase $- in # (((( 1297591dea4Smrg *v*x* | *x*v* ) as_opts=-vx ;; 1307591dea4Smrg *v* ) as_opts=-v ;; 1317591dea4Smrg *x* ) as_opts=-x ;; 1327591dea4Smrg * ) as_opts= ;; 1337591dea4Smrgesac 1347591dea4Smrgexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 1357591dea4Smrg# Admittedly, this is quite paranoid, since all the known shells bail 1367591dea4Smrg# out after a failed `exec'. 1377591dea4Smrgprintf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 1387591dea4Smrgexit 255 1397591dea4Smrg fi 1407591dea4Smrg # We don't want this to propagate to other subprocesses. 1417591dea4Smrg { _as_can_reexec=; unset _as_can_reexec;} 1423a67387eSmrgif test "x$CONFIG_SHELL" = x; then 1437591dea4Smrg as_bourne_compatible="as_nop=: 1447591dea4Smrgif test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 1457591dea4Smrgthen : 1463a67387eSmrg emulate sh 1473a67387eSmrg NULLCMD=: 1483a67387eSmrg # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 1493a67387eSmrg # is contrary to our usage. Disable this feature. 1503a67387eSmrg alias -g '\${1+\"\$@\"}'='\"\$@\"' 1513a67387eSmrg setopt NO_GLOB_SUBST 1527591dea4Smrgelse \$as_nop 1533a67387eSmrg case \`(set -o) 2>/dev/null\` in #( 1543a67387eSmrg *posix*) : 1553a67387eSmrg set -o posix ;; #( 1563a67387eSmrg *) : 1573a67387eSmrg ;; 1583a67387eSmrgesac 1593a67387eSmrgfi 1603a67387eSmrg" 1613a67387eSmrg as_required="as_fn_return () { (exit \$1); } 1623a67387eSmrgas_fn_success () { as_fn_return 0; } 1633a67387eSmrgas_fn_failure () { as_fn_return 1; } 1643a67387eSmrgas_fn_ret_success () { return 0; } 1653a67387eSmrgas_fn_ret_failure () { return 1; } 1663a67387eSmrg 1673a67387eSmrgexitcode=0 1683a67387eSmrgas_fn_success || { exitcode=1; echo as_fn_success failed.; } 1693a67387eSmrgas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 1703a67387eSmrgas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 1713a67387eSmrgas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 1727591dea4Smrgif ( set x; as_fn_ret_success y && test x = \"\$1\" ) 1737591dea4Smrgthen : 1743a67387eSmrg 1757591dea4Smrgelse \$as_nop 1763a67387eSmrg exitcode=1; echo positional parameters were not saved. 1773a67387eSmrgfi 1787591dea4Smrgtest x\$exitcode = x0 || exit 1 1797591dea4Smrgblah=\$(echo \$(echo blah)) 1807591dea4Smrgtest x\"\$blah\" = xblah || exit 1 1817591dea4Smrgtest -x / || exit 1" 1823a67387eSmrg as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 1833a67387eSmrg as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 1843a67387eSmrg eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 1853a67387eSmrg test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 1863a67387eSmrgtest \$(( 1 + 1 )) = 2 || exit 1" 1877591dea4Smrg if (eval "$as_required") 2>/dev/null 1887591dea4Smrgthen : 1893a67387eSmrg as_have_required=yes 1907591dea4Smrgelse $as_nop 1913a67387eSmrg as_have_required=no 1923a67387eSmrgfi 1937591dea4Smrg if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null 1947591dea4Smrgthen : 1953a67387eSmrg 1967591dea4Smrgelse $as_nop 1973a67387eSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1983a67387eSmrgas_found=false 1993a67387eSmrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 2003a67387eSmrgdo 2013a67387eSmrg IFS=$as_save_IFS 2027591dea4Smrg case $as_dir in #((( 2037591dea4Smrg '') as_dir=./ ;; 2047591dea4Smrg */) ;; 2057591dea4Smrg *) as_dir=$as_dir/ ;; 2067591dea4Smrg esac 2073a67387eSmrg as_found=: 2083a67387eSmrg case $as_dir in #( 2093a67387eSmrg /*) 2103a67387eSmrg for as_base in sh bash ksh sh5; do 2113a67387eSmrg # Try only shells that exist, to save several forks. 2127591dea4Smrg as_shell=$as_dir$as_base 2133a67387eSmrg if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 2147591dea4Smrg as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null 2157591dea4Smrgthen : 2163a67387eSmrg CONFIG_SHELL=$as_shell as_have_required=yes 2177591dea4Smrg if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null 2187591dea4Smrgthen : 2193a67387eSmrg break 2 2203a67387eSmrgfi 2213a67387eSmrgfi 2223a67387eSmrg done;; 2233a67387eSmrg esac 2243a67387eSmrg as_found=false 2253a67387eSmrgdone 2263a67387eSmrgIFS=$as_save_IFS 2277591dea4Smrgif $as_found 2287591dea4Smrgthen : 2293a67387eSmrg 2307591dea4Smrgelse $as_nop 2317591dea4Smrg if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 2327591dea4Smrg as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null 2337591dea4Smrgthen : 2347591dea4Smrg CONFIG_SHELL=$SHELL as_have_required=yes 2353a67387eSmrgfi 2367591dea4Smrgfi 2377591dea4Smrg 2383a67387eSmrg 2397591dea4Smrg if test "x$CONFIG_SHELL" != x 2407591dea4Smrgthen : 2417591dea4Smrg export CONFIG_SHELL 2427591dea4Smrg # We cannot yet assume a decent shell, so we have to provide a 2437591dea4Smrg# neutralization value for shells without unset; and this also 2447591dea4Smrg# works around shells that cannot unset nonexistent variables. 2457591dea4Smrg# Preserve -v and -x to the replacement shell. 2467591dea4SmrgBASH_ENV=/dev/null 2477591dea4SmrgENV=/dev/null 2487591dea4Smrg(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 2497591dea4Smrgcase $- in # (((( 2507591dea4Smrg *v*x* | *x*v* ) as_opts=-vx ;; 2517591dea4Smrg *v* ) as_opts=-v ;; 2527591dea4Smrg *x* ) as_opts=-x ;; 2537591dea4Smrg * ) as_opts= ;; 2547591dea4Smrgesac 2557591dea4Smrgexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 2567591dea4Smrg# Admittedly, this is quite paranoid, since all the known shells bail 2577591dea4Smrg# out after a failed `exec'. 2587591dea4Smrgprintf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 2597591dea4Smrgexit 255 2607591dea4Smrgfi 2617591dea4Smrg 2627591dea4Smrg if test x$as_have_required = xno 2637591dea4Smrgthen : 2647591dea4Smrg printf "%s\n" "$0: This script requires a shell more modern than all" 2657591dea4Smrg printf "%s\n" "$0: the shells that I found on your system." 2667591dea4Smrg if test ${ZSH_VERSION+y} ; then 2677591dea4Smrg printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should" 2687591dea4Smrg printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later." 2693a67387eSmrg else 2707591dea4Smrg printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and 2717591dea4Smrg$0: https://gitlab.freedesktop.org/xorg/font/bitstream-100dpi/-/issues 2723a67387eSmrg$0: about your system, including any error possibly output 2733a67387eSmrg$0: before this message. Then install a modern shell, or 2743a67387eSmrg$0: manually run the script under such a shell if you do 2753a67387eSmrg$0: have one." 2763a67387eSmrg fi 2773a67387eSmrg exit 1 2783a67387eSmrgfi 2793a67387eSmrgfi 2803a67387eSmrgfi 2813a67387eSmrgSHELL=${CONFIG_SHELL-/bin/sh} 2823a67387eSmrgexport SHELL 2833a67387eSmrg# Unset more variables known to interfere with behavior of common tools. 2843a67387eSmrgCLICOLOR_FORCE= GREP_OPTIONS= 2853a67387eSmrgunset CLICOLOR_FORCE GREP_OPTIONS 2863a67387eSmrg 2873a67387eSmrg## --------------------- ## 2883a67387eSmrg## M4sh Shell Functions. ## 2893a67387eSmrg## --------------------- ## 2903a67387eSmrg# as_fn_unset VAR 2913a67387eSmrg# --------------- 2923a67387eSmrg# Portably unset VAR. 2933a67387eSmrgas_fn_unset () 2943a67387eSmrg{ 2953a67387eSmrg { eval $1=; unset $1;} 2963a67387eSmrg} 2973a67387eSmrgas_unset=as_fn_unset 2983a67387eSmrg 2997591dea4Smrg 3003a67387eSmrg# as_fn_set_status STATUS 3013a67387eSmrg# ----------------------- 3023a67387eSmrg# Set $? to STATUS, without forking. 3033a67387eSmrgas_fn_set_status () 3043a67387eSmrg{ 3053a67387eSmrg return $1 3063a67387eSmrg} # as_fn_set_status 3073a67387eSmrg 3083a67387eSmrg# as_fn_exit STATUS 3093a67387eSmrg# ----------------- 3103a67387eSmrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 3113a67387eSmrgas_fn_exit () 3123a67387eSmrg{ 3133a67387eSmrg set +e 3143a67387eSmrg as_fn_set_status $1 3153a67387eSmrg exit $1 3163a67387eSmrg} # as_fn_exit 3177591dea4Smrg# as_fn_nop 3187591dea4Smrg# --------- 3197591dea4Smrg# Do nothing but, unlike ":", preserve the value of $?. 3207591dea4Smrgas_fn_nop () 3217591dea4Smrg{ 3227591dea4Smrg return $? 3237591dea4Smrg} 3247591dea4Smrgas_nop=as_fn_nop 3253a67387eSmrg 3263a67387eSmrg# as_fn_mkdir_p 3273a67387eSmrg# ------------- 3283a67387eSmrg# Create "$as_dir" as a directory, including parents if necessary. 3293a67387eSmrgas_fn_mkdir_p () 3303a67387eSmrg{ 3313a67387eSmrg 3323a67387eSmrg case $as_dir in #( 3333a67387eSmrg -*) as_dir=./$as_dir;; 3343a67387eSmrg esac 3353a67387eSmrg test -d "$as_dir" || eval $as_mkdir_p || { 3363a67387eSmrg as_dirs= 3373a67387eSmrg while :; do 3383a67387eSmrg case $as_dir in #( 3397591dea4Smrg *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 3403a67387eSmrg *) as_qdir=$as_dir;; 3413a67387eSmrg esac 3423a67387eSmrg as_dirs="'$as_qdir' $as_dirs" 3433a67387eSmrg as_dir=`$as_dirname -- "$as_dir" || 3443a67387eSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3453a67387eSmrg X"$as_dir" : 'X\(//\)[^/]' \| \ 3463a67387eSmrg X"$as_dir" : 'X\(//\)$' \| \ 3473a67387eSmrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 3487591dea4Smrgprintf "%s\n" X"$as_dir" | 3493a67387eSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3503a67387eSmrg s//\1/ 3513a67387eSmrg q 3523a67387eSmrg } 3533a67387eSmrg /^X\(\/\/\)[^/].*/{ 3543a67387eSmrg s//\1/ 3553a67387eSmrg q 3563a67387eSmrg } 3573a67387eSmrg /^X\(\/\/\)$/{ 3583a67387eSmrg s//\1/ 3593a67387eSmrg q 3603a67387eSmrg } 3613a67387eSmrg /^X\(\/\).*/{ 3623a67387eSmrg s//\1/ 3633a67387eSmrg q 3643a67387eSmrg } 3653a67387eSmrg s/.*/./; q'` 3663a67387eSmrg test -d "$as_dir" && break 3673a67387eSmrg done 3683a67387eSmrg test -z "$as_dirs" || eval "mkdir $as_dirs" 3693a67387eSmrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 3703a67387eSmrg 3713a67387eSmrg 3723a67387eSmrg} # as_fn_mkdir_p 3737591dea4Smrg 3747591dea4Smrg# as_fn_executable_p FILE 3757591dea4Smrg# ----------------------- 3767591dea4Smrg# Test if FILE is an executable regular file. 3777591dea4Smrgas_fn_executable_p () 3787591dea4Smrg{ 3797591dea4Smrg test -f "$1" && test -x "$1" 3807591dea4Smrg} # as_fn_executable_p 3813a67387eSmrg# as_fn_append VAR VALUE 3823a67387eSmrg# ---------------------- 3833a67387eSmrg# Append the text in VALUE to the end of the definition contained in VAR. Take 3843a67387eSmrg# advantage of any shell optimizations that allow amortized linear growth over 3853a67387eSmrg# repeated appends, instead of the typical quadratic growth present in naive 3863a67387eSmrg# implementations. 3877591dea4Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 3887591dea4Smrgthen : 3893a67387eSmrg eval 'as_fn_append () 3903a67387eSmrg { 3913a67387eSmrg eval $1+=\$2 3923a67387eSmrg }' 3937591dea4Smrgelse $as_nop 3943a67387eSmrg as_fn_append () 3953a67387eSmrg { 3963a67387eSmrg eval $1=\$$1\$2 3973a67387eSmrg } 3983a67387eSmrgfi # as_fn_append 3993a67387eSmrg 4003a67387eSmrg# as_fn_arith ARG... 4013a67387eSmrg# ------------------ 4023a67387eSmrg# Perform arithmetic evaluation on the ARGs, and store the result in the 4033a67387eSmrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 4043a67387eSmrg# must be portable across $(()) and expr. 4057591dea4Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 4067591dea4Smrgthen : 4073a67387eSmrg eval 'as_fn_arith () 4083a67387eSmrg { 4093a67387eSmrg as_val=$(( $* )) 4103a67387eSmrg }' 4117591dea4Smrgelse $as_nop 4123a67387eSmrg as_fn_arith () 4133a67387eSmrg { 4143a67387eSmrg as_val=`expr "$@" || test $? -eq 1` 4153a67387eSmrg } 4163a67387eSmrgfi # as_fn_arith 4173a67387eSmrg 4187591dea4Smrg# as_fn_nop 4197591dea4Smrg# --------- 4207591dea4Smrg# Do nothing but, unlike ":", preserve the value of $?. 4217591dea4Smrgas_fn_nop () 4227591dea4Smrg{ 4237591dea4Smrg return $? 4247591dea4Smrg} 4257591dea4Smrgas_nop=as_fn_nop 4263a67387eSmrg 4273a67387eSmrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 4283a67387eSmrg# ---------------------------------------- 4293a67387eSmrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 4303a67387eSmrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 4313a67387eSmrg# script with STATUS, using 1 if that was 0. 4323a67387eSmrgas_fn_error () 4333a67387eSmrg{ 4343a67387eSmrg as_status=$1; test $as_status -eq 0 && as_status=1 4353a67387eSmrg if test "$4"; then 4363a67387eSmrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 4377591dea4Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 4383a67387eSmrg fi 4397591dea4Smrg printf "%s\n" "$as_me: error: $2" >&2 4403a67387eSmrg as_fn_exit $as_status 4413a67387eSmrg} # as_fn_error 4423a67387eSmrg 443ef7198c0Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 444ef7198c0Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 44556f6b22bSmrg as_expr=expr 44656f6b22bSmrgelse 44756f6b22bSmrg as_expr=false 44856f6b22bSmrgfi 44956f6b22bSmrg 450ef7198c0Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 45156f6b22bSmrg as_basename=basename 45256f6b22bSmrgelse 45356f6b22bSmrg as_basename=false 45456f6b22bSmrgfi 45556f6b22bSmrg 4563a67387eSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 4573a67387eSmrg as_dirname=dirname 4583a67387eSmrgelse 4593a67387eSmrg as_dirname=false 4603a67387eSmrgfi 46156f6b22bSmrg 462ef7198c0Smrgas_me=`$as_basename -- "$0" || 46356f6b22bSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 46456f6b22bSmrg X"$0" : 'X\(//\)$' \| \ 465ef7198c0Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 4667591dea4Smrgprintf "%s\n" X/"$0" | 467ef7198c0Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 468ef7198c0Smrg s//\1/ 469ef7198c0Smrg q 470ef7198c0Smrg } 471ef7198c0Smrg /^X\/\(\/\/\)$/{ 472ef7198c0Smrg s//\1/ 473ef7198c0Smrg q 474ef7198c0Smrg } 475ef7198c0Smrg /^X\/\(\/\).*/{ 476ef7198c0Smrg s//\1/ 477ef7198c0Smrg q 478ef7198c0Smrg } 479ef7198c0Smrg s/.*/./; q'` 48056f6b22bSmrg 4813a67387eSmrg# Avoid depending upon Character Ranges. 4823a67387eSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 4833a67387eSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 4843a67387eSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 4853a67387eSmrgas_cr_digits='0123456789' 4863a67387eSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits 48756f6b22bSmrg 48856f6b22bSmrg 4893a67387eSmrg as_lineno_1=$LINENO as_lineno_1a=$LINENO 4903a67387eSmrg as_lineno_2=$LINENO as_lineno_2a=$LINENO 4913a67387eSmrg eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 4923a67387eSmrg test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 4933a67387eSmrg # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 4943a67387eSmrg sed -n ' 4953a67387eSmrg p 4963a67387eSmrg /[$]LINENO/= 4973a67387eSmrg ' <$as_myself | 4983a67387eSmrg sed ' 4993a67387eSmrg s/[$]LINENO.*/&-/ 5003a67387eSmrg t lineno 5013a67387eSmrg b 5023a67387eSmrg :lineno 5033a67387eSmrg N 5043a67387eSmrg :loop 5053a67387eSmrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 5063a67387eSmrg t loop 5073a67387eSmrg s/-\n.*// 5083a67387eSmrg ' >$as_me.lineno && 5093a67387eSmrg chmod +x "$as_me.lineno" || 5107591dea4Smrg { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 51156f6b22bSmrg 5127591dea4Smrg # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 5137591dea4Smrg # already done that, so ensure we don't try to do so again and fall 5147591dea4Smrg # in an infinite loop. This has already happened in practice. 5157591dea4Smrg _as_can_reexec=no; export _as_can_reexec 5163a67387eSmrg # Don't try to exec as it changes $[0], causing all sort of problems 5173a67387eSmrg # (the dirname of $[0] is not the place where we might find the 5183a67387eSmrg # original and so on. Autoconf is especially sensitive to this). 5193a67387eSmrg . "./$as_me.lineno" 5203a67387eSmrg # Exit status is that of the last command. 5213a67387eSmrg exit 522ef7198c0Smrg} 52356f6b22bSmrg 5247591dea4Smrg 5257591dea4Smrg# Determine whether it's possible to make 'echo' print without a newline. 5267591dea4Smrg# These variables are no longer used directly by Autoconf, but are AC_SUBSTed 5277591dea4Smrg# for compatibility with existing Makefiles. 5283a67387eSmrgECHO_C= ECHO_N= ECHO_T= 5293a67387eSmrgcase `echo -n x` in #((((( 5303a67387eSmrg-n*) 5313a67387eSmrg case `echo 'xy\c'` in 5323a67387eSmrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 5333a67387eSmrg xy) ECHO_C='\c';; 5343a67387eSmrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 5353a67387eSmrg ECHO_T=' ';; 5363a67387eSmrg esac;; 5373a67387eSmrg*) 5383a67387eSmrg ECHO_N='-n';; 5393a67387eSmrgesac 54056f6b22bSmrg 5417591dea4Smrg# For backward compatibility with old third-party macros, we provide 5427591dea4Smrg# the shell variables $as_echo and $as_echo_n. New code should use 5437591dea4Smrg# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. 5447591dea4Smrgas_echo='printf %s\n' 5457591dea4Smrgas_echo_n='printf %s' 5467591dea4Smrg 5477591dea4Smrg 5483a67387eSmrgrm -f conf$$ conf$$.exe conf$$.file 5493a67387eSmrgif test -d conf$$.dir; then 5503a67387eSmrg rm -f conf$$.dir/conf$$.file 5513a67387eSmrgelse 5523a67387eSmrg rm -f conf$$.dir 5533a67387eSmrg mkdir conf$$.dir 2>/dev/null 554ef7198c0Smrgfi 5553a67387eSmrgif (echo >conf$$.file) 2>/dev/null; then 5563a67387eSmrg if ln -s conf$$.file conf$$ 2>/dev/null; then 5573a67387eSmrg as_ln_s='ln -s' 5583a67387eSmrg # ... but there are two gotchas: 5593a67387eSmrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 5603a67387eSmrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 5617591dea4Smrg # In both cases, we have to default to `cp -pR'. 5623a67387eSmrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 5637591dea4Smrg as_ln_s='cp -pR' 5643a67387eSmrg elif ln conf$$.file conf$$ 2>/dev/null; then 5653a67387eSmrg as_ln_s=ln 5663a67387eSmrg else 5677591dea4Smrg as_ln_s='cp -pR' 5683a67387eSmrg fi 569ef7198c0Smrgelse 5707591dea4Smrg as_ln_s='cp -pR' 571ef7198c0Smrgfi 5723a67387eSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5733a67387eSmrgrmdir conf$$.dir 2>/dev/null 574ef7198c0Smrg 5753a67387eSmrgif mkdir -p . 2>/dev/null; then 5763a67387eSmrg as_mkdir_p='mkdir -p "$as_dir"' 5773a67387eSmrgelse 5783a67387eSmrg test -d ./-p && rmdir ./-p 5793a67387eSmrg as_mkdir_p=false 580ef7198c0Smrgfi 581ef7198c0Smrg 5827591dea4Smrgas_test_x='test -x' 5837591dea4Smrgas_executable_p=as_fn_executable_p 584ef7198c0Smrg 5853a67387eSmrg# Sed expression to map a string onto a valid CPP name. 5863a67387eSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 587ef7198c0Smrg 5883a67387eSmrg# Sed expression to map a string onto a valid variable name. 5893a67387eSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 590ef7198c0Smrg 591ef7198c0Smrg 5923a67387eSmrgtest -n "$DJDIR" || exec 7<&0 </dev/null 5933a67387eSmrgexec 6>&1 59456f6b22bSmrg 59556f6b22bSmrg# Name of the host. 5963a67387eSmrg# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 59756f6b22bSmrg# so uname gets run too. 59856f6b22bSmrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 59956f6b22bSmrg 60056f6b22bSmrg# 60156f6b22bSmrg# Initializations. 60256f6b22bSmrg# 60356f6b22bSmrgac_default_prefix=/usr/local 604ef7198c0Smrgac_clean_files= 60556f6b22bSmrgac_config_libobj_dir=. 606ef7198c0SmrgLIBOBJS= 60756f6b22bSmrgcross_compiling=no 60856f6b22bSmrgsubdirs= 60956f6b22bSmrgMFLAGS= 61056f6b22bSmrgMAKEFLAGS= 61156f6b22bSmrg 61256f6b22bSmrg# Identity of this package. 61356f6b22bSmrgPACKAGE_NAME='font-bitstream-100dpi' 61456f6b22bSmrgPACKAGE_TARNAME='font-bitstream-100dpi' 6157591dea4SmrgPACKAGE_VERSION='1.0.4' 6167591dea4SmrgPACKAGE_STRING='font-bitstream-100dpi 1.0.4' 6177591dea4SmrgPACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/font/bitstream-100dpi/-/issues' 6183a67387eSmrgPACKAGE_URL='' 61956f6b22bSmrg 6207591dea4Smrgac_subst_vars='LTLIBOBJS 621ef7198c0SmrgLIBOBJS 622ef7198c0SmrgCOMPRESS_SUFFIX 6237591dea4SmrgCOMPRESS_FLAGS 624ef7198c0SmrgCOMPRESS 625ef7198c0SmrgBDFTOPCF 626ef7198c0SmrgMKFONTDIR 627ef7198c0SmrgRUN_FCCACHE 628ef7198c0SmrgFCCACHE 629ef7198c0SmrgFONTDIR 630ef7198c0SmrgFONTROOTDIR 6313a67387eSmrgMAN_SUBSTS 6323a67387eSmrgXORG_MAN_PAGE 633ef7198c0SmrgADMIN_MAN_DIR 634ef7198c0SmrgDRIVER_MAN_DIR 635ef7198c0SmrgMISC_MAN_DIR 636ef7198c0SmrgFILE_MAN_DIR 637ef7198c0SmrgLIB_MAN_DIR 638ef7198c0SmrgAPP_MAN_DIR 639ef7198c0SmrgADMIN_MAN_SUFFIX 640ef7198c0SmrgDRIVER_MAN_SUFFIX 641ef7198c0SmrgMISC_MAN_SUFFIX 642ef7198c0SmrgFILE_MAN_SUFFIX 643ef7198c0SmrgLIB_MAN_SUFFIX 644ef7198c0SmrgAPP_MAN_SUFFIX 6453a67387eSmrgSED 646ef7198c0Smrghost_os 647ef7198c0Smrghost_vendor 648ef7198c0Smrghost_cpu 649ef7198c0Smrghost 650ef7198c0Smrgbuild_os 651ef7198c0Smrgbuild_vendor 652ef7198c0Smrgbuild_cpu 653ef7198c0Smrgbuild 6543a67387eSmrgINSTALL_CMD 6553a67387eSmrgPKG_CONFIG_LIBDIR 6563a67387eSmrgPKG_CONFIG_PATH 6573a67387eSmrgPKG_CONFIG 658ef7198c0SmrgCHANGELOG_CMD 6597591dea4SmrgAM_BACKSLASH 6607591dea4SmrgAM_DEFAULT_VERBOSITY 6617591dea4SmrgAM_DEFAULT_V 6627591dea4SmrgAM_V 6637591dea4SmrgCSCOPE 6647591dea4SmrgETAGS 6657591dea4SmrgCTAGS 666ef7198c0Smrgam__untar 667ef7198c0Smrgam__tar 668ef7198c0SmrgAMTAR 669ef7198c0Smrgam__leading_dot 670ef7198c0SmrgSET_MAKE 671ef7198c0SmrgAWK 672ef7198c0Smrgmkdir_p 673ef7198c0SmrgMKDIR_P 674ef7198c0SmrgINSTALL_STRIP_PROGRAM 675ef7198c0SmrgSTRIP 676ef7198c0Smrginstall_sh 677ef7198c0SmrgMAKEINFO 678ef7198c0SmrgAUTOHEADER 679ef7198c0SmrgAUTOMAKE 680ef7198c0SmrgAUTOCONF 681ef7198c0SmrgACLOCAL 682ef7198c0SmrgVERSION 683ef7198c0SmrgPACKAGE 684ef7198c0SmrgCYGPATH_W 685ef7198c0Smrgam__isrc 686ef7198c0SmrgINSTALL_DATA 687ef7198c0SmrgINSTALL_SCRIPT 688ef7198c0SmrgINSTALL_PROGRAM 689ef7198c0Smrgtarget_alias 690ef7198c0Smrghost_alias 691ef7198c0Smrgbuild_alias 692ef7198c0SmrgLIBS 693ef7198c0SmrgECHO_T 694ef7198c0SmrgECHO_N 695ef7198c0SmrgECHO_C 696ef7198c0SmrgDEFS 697ef7198c0Smrgmandir 698ef7198c0Smrglocaledir 699ef7198c0Smrglibdir 700ef7198c0Smrgpsdir 701ef7198c0Smrgpdfdir 702ef7198c0Smrgdvidir 703ef7198c0Smrghtmldir 704ef7198c0Smrginfodir 705ef7198c0Smrgdocdir 706ef7198c0Smrgoldincludedir 707ef7198c0Smrgincludedir 7087591dea4Smrgrunstatedir 709ef7198c0Smrglocalstatedir 710ef7198c0Smrgsharedstatedir 711ef7198c0Smrgsysconfdir 712ef7198c0Smrgdatadir 713ef7198c0Smrgdatarootdir 714ef7198c0Smrglibexecdir 715ef7198c0Smrgsbindir 716ef7198c0Smrgbindir 717ef7198c0Smrgprogram_transform_name 718ef7198c0Smrgprefix 719ef7198c0Smrgexec_prefix 7203a67387eSmrgPACKAGE_URL 721ef7198c0SmrgPACKAGE_BUGREPORT 722ef7198c0SmrgPACKAGE_STRING 723ef7198c0SmrgPACKAGE_VERSION 724ef7198c0SmrgPACKAGE_TARNAME 725ef7198c0SmrgPACKAGE_NAME 726ef7198c0SmrgPATH_SEPARATOR 727ef7198c0SmrgSHELL' 72856f6b22bSmrgac_subst_files='' 729ef7198c0Smrgac_user_opts=' 730ef7198c0Smrgenable_option_checking 7313a67387eSmrgenable_silent_rules 732ef7198c0Smrgwith_fontrootdir 733ef7198c0Smrgwith_fontdir 734ef7198c0Smrgwith_compression 735ef7198c0Smrg' 736ef7198c0Smrg ac_precious_vars='build_alias 737ef7198c0Smrghost_alias 738ef7198c0Smrgtarget_alias 7393a67387eSmrgPKG_CONFIG 7403a67387eSmrgPKG_CONFIG_PATH 7413a67387eSmrgPKG_CONFIG_LIBDIR' 742ef7198c0Smrg 74356f6b22bSmrg 74456f6b22bSmrg# Initialize some variables set by options. 74556f6b22bSmrgac_init_help= 74656f6b22bSmrgac_init_version=false 747ef7198c0Smrgac_unrecognized_opts= 748ef7198c0Smrgac_unrecognized_sep= 74956f6b22bSmrg# The variables have the same names as the options, with 75056f6b22bSmrg# dashes changed to underlines. 75156f6b22bSmrgcache_file=/dev/null 75256f6b22bSmrgexec_prefix=NONE 75356f6b22bSmrgno_create= 75456f6b22bSmrgno_recursion= 75556f6b22bSmrgprefix=NONE 75656f6b22bSmrgprogram_prefix=NONE 75756f6b22bSmrgprogram_suffix=NONE 75856f6b22bSmrgprogram_transform_name=s,x,x, 75956f6b22bSmrgsilent= 76056f6b22bSmrgsite= 76156f6b22bSmrgsrcdir= 76256f6b22bSmrgverbose= 76356f6b22bSmrgx_includes=NONE 76456f6b22bSmrgx_libraries=NONE 76556f6b22bSmrg 76656f6b22bSmrg# Installation directory options. 76756f6b22bSmrg# These are left unexpanded so users can "make install exec_prefix=/foo" 76856f6b22bSmrg# and all the variables that are supposed to be based on exec_prefix 76956f6b22bSmrg# by default will actually change. 77056f6b22bSmrg# Use braces instead of parens because sh, perl, etc. also accept them. 771ef7198c0Smrg# (The list follows the same order as the GNU Coding Standards.) 77256f6b22bSmrgbindir='${exec_prefix}/bin' 77356f6b22bSmrgsbindir='${exec_prefix}/sbin' 77456f6b22bSmrglibexecdir='${exec_prefix}/libexec' 775ef7198c0Smrgdatarootdir='${prefix}/share' 776ef7198c0Smrgdatadir='${datarootdir}' 77756f6b22bSmrgsysconfdir='${prefix}/etc' 77856f6b22bSmrgsharedstatedir='${prefix}/com' 77956f6b22bSmrglocalstatedir='${prefix}/var' 7807591dea4Smrgrunstatedir='${localstatedir}/run' 78156f6b22bSmrgincludedir='${prefix}/include' 78256f6b22bSmrgoldincludedir='/usr/include' 783ef7198c0Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 784ef7198c0Smrginfodir='${datarootdir}/info' 785ef7198c0Smrghtmldir='${docdir}' 786ef7198c0Smrgdvidir='${docdir}' 787ef7198c0Smrgpdfdir='${docdir}' 788ef7198c0Smrgpsdir='${docdir}' 789ef7198c0Smrglibdir='${exec_prefix}/lib' 790ef7198c0Smrglocaledir='${datarootdir}/locale' 791ef7198c0Smrgmandir='${datarootdir}/man' 79256f6b22bSmrg 79356f6b22bSmrgac_prev= 794ef7198c0Smrgac_dashdash= 79556f6b22bSmrgfor ac_option 79656f6b22bSmrgdo 79756f6b22bSmrg # If the previous option needs an argument, assign it. 79856f6b22bSmrg if test -n "$ac_prev"; then 799ef7198c0Smrg eval $ac_prev=\$ac_option 80056f6b22bSmrg ac_prev= 80156f6b22bSmrg continue 80256f6b22bSmrg fi 80356f6b22bSmrg 804ef7198c0Smrg case $ac_option in 8053a67387eSmrg *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 8063a67387eSmrg *=) ac_optarg= ;; 8073a67387eSmrg *) ac_optarg=yes ;; 808ef7198c0Smrg esac 80956f6b22bSmrg 810ef7198c0Smrg case $ac_dashdash$ac_option in 811ef7198c0Smrg --) 812ef7198c0Smrg ac_dashdash=yes ;; 81356f6b22bSmrg 81456f6b22bSmrg -bindir | --bindir | --bindi | --bind | --bin | --bi) 81556f6b22bSmrg ac_prev=bindir ;; 81656f6b22bSmrg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 81756f6b22bSmrg bindir=$ac_optarg ;; 81856f6b22bSmrg 81956f6b22bSmrg -build | --build | --buil | --bui | --bu) 82056f6b22bSmrg ac_prev=build_alias ;; 82156f6b22bSmrg -build=* | --build=* | --buil=* | --bui=* | --bu=*) 82256f6b22bSmrg build_alias=$ac_optarg ;; 82356f6b22bSmrg 82456f6b22bSmrg -cache-file | --cache-file | --cache-fil | --cache-fi \ 82556f6b22bSmrg | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 82656f6b22bSmrg ac_prev=cache_file ;; 82756f6b22bSmrg -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 82856f6b22bSmrg | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 82956f6b22bSmrg cache_file=$ac_optarg ;; 83056f6b22bSmrg 83156f6b22bSmrg --config-cache | -C) 83256f6b22bSmrg cache_file=config.cache ;; 83356f6b22bSmrg 834ef7198c0Smrg -datadir | --datadir | --datadi | --datad) 83556f6b22bSmrg ac_prev=datadir ;; 836ef7198c0Smrg -datadir=* | --datadir=* | --datadi=* | --datad=*) 83756f6b22bSmrg datadir=$ac_optarg ;; 83856f6b22bSmrg 839ef7198c0Smrg -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 840ef7198c0Smrg | --dataroo | --dataro | --datar) 841ef7198c0Smrg ac_prev=datarootdir ;; 842ef7198c0Smrg -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 843ef7198c0Smrg | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 844ef7198c0Smrg datarootdir=$ac_optarg ;; 845ef7198c0Smrg 84656f6b22bSmrg -disable-* | --disable-*) 847ef7198c0Smrg ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 84856f6b22bSmrg # Reject names that are not valid shell variable names. 849ef7198c0Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 8507591dea4Smrg as_fn_error $? "invalid feature name: \`$ac_useropt'" 851ef7198c0Smrg ac_useropt_orig=$ac_useropt 8527591dea4Smrg ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 853ef7198c0Smrg case $ac_user_opts in 854ef7198c0Smrg *" 855ef7198c0Smrg"enable_$ac_useropt" 856ef7198c0Smrg"*) ;; 857ef7198c0Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 858ef7198c0Smrg ac_unrecognized_sep=', ';; 859ef7198c0Smrg esac 860ef7198c0Smrg eval enable_$ac_useropt=no ;; 861ef7198c0Smrg 862ef7198c0Smrg -docdir | --docdir | --docdi | --doc | --do) 863ef7198c0Smrg ac_prev=docdir ;; 864ef7198c0Smrg -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 865ef7198c0Smrg docdir=$ac_optarg ;; 866ef7198c0Smrg 867ef7198c0Smrg -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 868ef7198c0Smrg ac_prev=dvidir ;; 869ef7198c0Smrg -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 870ef7198c0Smrg dvidir=$ac_optarg ;; 87156f6b22bSmrg 87256f6b22bSmrg -enable-* | --enable-*) 873ef7198c0Smrg ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 87456f6b22bSmrg # Reject names that are not valid shell variable names. 875ef7198c0Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 8767591dea4Smrg as_fn_error $? "invalid feature name: \`$ac_useropt'" 877ef7198c0Smrg ac_useropt_orig=$ac_useropt 8787591dea4Smrg ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 879ef7198c0Smrg case $ac_user_opts in 880ef7198c0Smrg *" 881ef7198c0Smrg"enable_$ac_useropt" 882ef7198c0Smrg"*) ;; 883ef7198c0Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 884ef7198c0Smrg ac_unrecognized_sep=', ';; 88556f6b22bSmrg esac 886ef7198c0Smrg eval enable_$ac_useropt=\$ac_optarg ;; 88756f6b22bSmrg 88856f6b22bSmrg -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 88956f6b22bSmrg | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 89056f6b22bSmrg | --exec | --exe | --ex) 89156f6b22bSmrg ac_prev=exec_prefix ;; 89256f6b22bSmrg -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 89356f6b22bSmrg | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 89456f6b22bSmrg | --exec=* | --exe=* | --ex=*) 89556f6b22bSmrg exec_prefix=$ac_optarg ;; 89656f6b22bSmrg 89756f6b22bSmrg -gas | --gas | --ga | --g) 89856f6b22bSmrg # Obsolete; use --with-gas. 89956f6b22bSmrg with_gas=yes ;; 90056f6b22bSmrg 90156f6b22bSmrg -help | --help | --hel | --he | -h) 90256f6b22bSmrg ac_init_help=long ;; 90356f6b22bSmrg -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 90456f6b22bSmrg ac_init_help=recursive ;; 90556f6b22bSmrg -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 90656f6b22bSmrg ac_init_help=short ;; 90756f6b22bSmrg 90856f6b22bSmrg -host | --host | --hos | --ho) 90956f6b22bSmrg ac_prev=host_alias ;; 91056f6b22bSmrg -host=* | --host=* | --hos=* | --ho=*) 91156f6b22bSmrg host_alias=$ac_optarg ;; 91256f6b22bSmrg 913ef7198c0Smrg -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 914ef7198c0Smrg ac_prev=htmldir ;; 915ef7198c0Smrg -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 916ef7198c0Smrg | --ht=*) 917ef7198c0Smrg htmldir=$ac_optarg ;; 918ef7198c0Smrg 91956f6b22bSmrg -includedir | --includedir | --includedi | --included | --include \ 92056f6b22bSmrg | --includ | --inclu | --incl | --inc) 92156f6b22bSmrg ac_prev=includedir ;; 92256f6b22bSmrg -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 92356f6b22bSmrg | --includ=* | --inclu=* | --incl=* | --inc=*) 92456f6b22bSmrg includedir=$ac_optarg ;; 92556f6b22bSmrg 92656f6b22bSmrg -infodir | --infodir | --infodi | --infod | --info | --inf) 92756f6b22bSmrg ac_prev=infodir ;; 92856f6b22bSmrg -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 92956f6b22bSmrg infodir=$ac_optarg ;; 93056f6b22bSmrg 93156f6b22bSmrg -libdir | --libdir | --libdi | --libd) 93256f6b22bSmrg ac_prev=libdir ;; 93356f6b22bSmrg -libdir=* | --libdir=* | --libdi=* | --libd=*) 93456f6b22bSmrg libdir=$ac_optarg ;; 93556f6b22bSmrg 93656f6b22bSmrg -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 93756f6b22bSmrg | --libexe | --libex | --libe) 93856f6b22bSmrg ac_prev=libexecdir ;; 93956f6b22bSmrg -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 94056f6b22bSmrg | --libexe=* | --libex=* | --libe=*) 94156f6b22bSmrg libexecdir=$ac_optarg ;; 94256f6b22bSmrg 943ef7198c0Smrg -localedir | --localedir | --localedi | --localed | --locale) 944ef7198c0Smrg ac_prev=localedir ;; 945ef7198c0Smrg -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 946ef7198c0Smrg localedir=$ac_optarg ;; 947ef7198c0Smrg 94856f6b22bSmrg -localstatedir | --localstatedir | --localstatedi | --localstated \ 949ef7198c0Smrg | --localstate | --localstat | --localsta | --localst | --locals) 95056f6b22bSmrg ac_prev=localstatedir ;; 95156f6b22bSmrg -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 952ef7198c0Smrg | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 95356f6b22bSmrg localstatedir=$ac_optarg ;; 95456f6b22bSmrg 95556f6b22bSmrg -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 95656f6b22bSmrg ac_prev=mandir ;; 95756f6b22bSmrg -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 95856f6b22bSmrg mandir=$ac_optarg ;; 95956f6b22bSmrg 96056f6b22bSmrg -nfp | --nfp | --nf) 96156f6b22bSmrg # Obsolete; use --without-fp. 96256f6b22bSmrg with_fp=no ;; 96356f6b22bSmrg 96456f6b22bSmrg -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 96556f6b22bSmrg | --no-cr | --no-c | -n) 96656f6b22bSmrg no_create=yes ;; 96756f6b22bSmrg 96856f6b22bSmrg -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 96956f6b22bSmrg | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 97056f6b22bSmrg no_recursion=yes ;; 97156f6b22bSmrg 97256f6b22bSmrg -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 97356f6b22bSmrg | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 97456f6b22bSmrg | --oldin | --oldi | --old | --ol | --o) 97556f6b22bSmrg ac_prev=oldincludedir ;; 97656f6b22bSmrg -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 97756f6b22bSmrg | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 97856f6b22bSmrg | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 97956f6b22bSmrg oldincludedir=$ac_optarg ;; 98056f6b22bSmrg 98156f6b22bSmrg -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 98256f6b22bSmrg ac_prev=prefix ;; 98356f6b22bSmrg -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 98456f6b22bSmrg prefix=$ac_optarg ;; 98556f6b22bSmrg 98656f6b22bSmrg -program-prefix | --program-prefix | --program-prefi | --program-pref \ 98756f6b22bSmrg | --program-pre | --program-pr | --program-p) 98856f6b22bSmrg ac_prev=program_prefix ;; 98956f6b22bSmrg -program-prefix=* | --program-prefix=* | --program-prefi=* \ 99056f6b22bSmrg | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 99156f6b22bSmrg program_prefix=$ac_optarg ;; 99256f6b22bSmrg 99356f6b22bSmrg -program-suffix | --program-suffix | --program-suffi | --program-suff \ 99456f6b22bSmrg | --program-suf | --program-su | --program-s) 99556f6b22bSmrg ac_prev=program_suffix ;; 99656f6b22bSmrg -program-suffix=* | --program-suffix=* | --program-suffi=* \ 99756f6b22bSmrg | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 99856f6b22bSmrg program_suffix=$ac_optarg ;; 99956f6b22bSmrg 100056f6b22bSmrg -program-transform-name | --program-transform-name \ 100156f6b22bSmrg | --program-transform-nam | --program-transform-na \ 100256f6b22bSmrg | --program-transform-n | --program-transform- \ 100356f6b22bSmrg | --program-transform | --program-transfor \ 100456f6b22bSmrg | --program-transfo | --program-transf \ 100556f6b22bSmrg | --program-trans | --program-tran \ 100656f6b22bSmrg | --progr-tra | --program-tr | --program-t) 100756f6b22bSmrg ac_prev=program_transform_name ;; 100856f6b22bSmrg -program-transform-name=* | --program-transform-name=* \ 100956f6b22bSmrg | --program-transform-nam=* | --program-transform-na=* \ 101056f6b22bSmrg | --program-transform-n=* | --program-transform-=* \ 101156f6b22bSmrg | --program-transform=* | --program-transfor=* \ 101256f6b22bSmrg | --program-transfo=* | --program-transf=* \ 101356f6b22bSmrg | --program-trans=* | --program-tran=* \ 101456f6b22bSmrg | --progr-tra=* | --program-tr=* | --program-t=*) 101556f6b22bSmrg program_transform_name=$ac_optarg ;; 101656f6b22bSmrg 1017ef7198c0Smrg -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1018ef7198c0Smrg ac_prev=pdfdir ;; 1019ef7198c0Smrg -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1020ef7198c0Smrg pdfdir=$ac_optarg ;; 1021ef7198c0Smrg 1022ef7198c0Smrg -psdir | --psdir | --psdi | --psd | --ps) 1023ef7198c0Smrg ac_prev=psdir ;; 1024ef7198c0Smrg -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1025ef7198c0Smrg psdir=$ac_optarg ;; 1026ef7198c0Smrg 102756f6b22bSmrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 102856f6b22bSmrg | -silent | --silent | --silen | --sile | --sil) 102956f6b22bSmrg silent=yes ;; 103056f6b22bSmrg 10317591dea4Smrg -runstatedir | --runstatedir | --runstatedi | --runstated \ 10327591dea4Smrg | --runstate | --runstat | --runsta | --runst | --runs \ 10337591dea4Smrg | --run | --ru | --r) 10347591dea4Smrg ac_prev=runstatedir ;; 10357591dea4Smrg -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 10367591dea4Smrg | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 10377591dea4Smrg | --run=* | --ru=* | --r=*) 10387591dea4Smrg runstatedir=$ac_optarg ;; 10397591dea4Smrg 104056f6b22bSmrg -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 104156f6b22bSmrg ac_prev=sbindir ;; 104256f6b22bSmrg -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 104356f6b22bSmrg | --sbi=* | --sb=*) 104456f6b22bSmrg sbindir=$ac_optarg ;; 104556f6b22bSmrg 104656f6b22bSmrg -sharedstatedir | --sharedstatedir | --sharedstatedi \ 104756f6b22bSmrg | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 104856f6b22bSmrg | --sharedst | --shareds | --shared | --share | --shar \ 104956f6b22bSmrg | --sha | --sh) 105056f6b22bSmrg ac_prev=sharedstatedir ;; 105156f6b22bSmrg -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 105256f6b22bSmrg | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 105356f6b22bSmrg | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 105456f6b22bSmrg | --sha=* | --sh=*) 105556f6b22bSmrg sharedstatedir=$ac_optarg ;; 105656f6b22bSmrg 105756f6b22bSmrg -site | --site | --sit) 105856f6b22bSmrg ac_prev=site ;; 105956f6b22bSmrg -site=* | --site=* | --sit=*) 106056f6b22bSmrg site=$ac_optarg ;; 106156f6b22bSmrg 106256f6b22bSmrg -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 106356f6b22bSmrg ac_prev=srcdir ;; 106456f6b22bSmrg -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 106556f6b22bSmrg srcdir=$ac_optarg ;; 106656f6b22bSmrg 106756f6b22bSmrg -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 106856f6b22bSmrg | --syscon | --sysco | --sysc | --sys | --sy) 106956f6b22bSmrg ac_prev=sysconfdir ;; 107056f6b22bSmrg -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 107156f6b22bSmrg | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 107256f6b22bSmrg sysconfdir=$ac_optarg ;; 107356f6b22bSmrg 107456f6b22bSmrg -target | --target | --targe | --targ | --tar | --ta | --t) 107556f6b22bSmrg ac_prev=target_alias ;; 107656f6b22bSmrg -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 107756f6b22bSmrg target_alias=$ac_optarg ;; 107856f6b22bSmrg 107956f6b22bSmrg -v | -verbose | --verbose | --verbos | --verbo | --verb) 108056f6b22bSmrg verbose=yes ;; 108156f6b22bSmrg 108256f6b22bSmrg -version | --version | --versio | --versi | --vers | -V) 108356f6b22bSmrg ac_init_version=: ;; 108456f6b22bSmrg 108556f6b22bSmrg -with-* | --with-*) 1086ef7198c0Smrg ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 108756f6b22bSmrg # Reject names that are not valid shell variable names. 1088ef7198c0Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 10897591dea4Smrg as_fn_error $? "invalid package name: \`$ac_useropt'" 1090ef7198c0Smrg ac_useropt_orig=$ac_useropt 10917591dea4Smrg ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 1092ef7198c0Smrg case $ac_user_opts in 1093ef7198c0Smrg *" 1094ef7198c0Smrg"with_$ac_useropt" 1095ef7198c0Smrg"*) ;; 1096ef7198c0Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1097ef7198c0Smrg ac_unrecognized_sep=', ';; 109856f6b22bSmrg esac 1099ef7198c0Smrg eval with_$ac_useropt=\$ac_optarg ;; 110056f6b22bSmrg 110156f6b22bSmrg -without-* | --without-*) 1102ef7198c0Smrg ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 110356f6b22bSmrg # Reject names that are not valid shell variable names. 1104ef7198c0Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 11057591dea4Smrg as_fn_error $? "invalid package name: \`$ac_useropt'" 1106ef7198c0Smrg ac_useropt_orig=$ac_useropt 11077591dea4Smrg ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 1108ef7198c0Smrg case $ac_user_opts in 1109ef7198c0Smrg *" 1110ef7198c0Smrg"with_$ac_useropt" 1111ef7198c0Smrg"*) ;; 1112ef7198c0Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1113ef7198c0Smrg ac_unrecognized_sep=', ';; 1114ef7198c0Smrg esac 1115ef7198c0Smrg eval with_$ac_useropt=no ;; 111656f6b22bSmrg 111756f6b22bSmrg --x) 111856f6b22bSmrg # Obsolete; use --with-x. 111956f6b22bSmrg with_x=yes ;; 112056f6b22bSmrg 112156f6b22bSmrg -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 112256f6b22bSmrg | --x-incl | --x-inc | --x-in | --x-i) 112356f6b22bSmrg ac_prev=x_includes ;; 112456f6b22bSmrg -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 112556f6b22bSmrg | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 112656f6b22bSmrg x_includes=$ac_optarg ;; 112756f6b22bSmrg 112856f6b22bSmrg -x-libraries | --x-libraries | --x-librarie | --x-librari \ 112956f6b22bSmrg | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 113056f6b22bSmrg ac_prev=x_libraries ;; 113156f6b22bSmrg -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 113256f6b22bSmrg | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 113356f6b22bSmrg x_libraries=$ac_optarg ;; 113456f6b22bSmrg 11353a67387eSmrg -*) as_fn_error $? "unrecognized option: \`$ac_option' 11363a67387eSmrgTry \`$0 --help' for more information" 113756f6b22bSmrg ;; 113856f6b22bSmrg 113956f6b22bSmrg *=*) 114056f6b22bSmrg ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 114156f6b22bSmrg # Reject names that are not valid shell variable names. 11423a67387eSmrg case $ac_envvar in #( 11433a67387eSmrg '' | [0-9]* | *[!_$as_cr_alnum]* ) 11443a67387eSmrg as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 11453a67387eSmrg esac 1146ef7198c0Smrg eval $ac_envvar=\$ac_optarg 114756f6b22bSmrg export $ac_envvar ;; 114856f6b22bSmrg 114956f6b22bSmrg *) 115056f6b22bSmrg # FIXME: should be removed in autoconf 3.0. 11517591dea4Smrg printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2 115256f6b22bSmrg expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 11537591dea4Smrg printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 11543a67387eSmrg : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 115556f6b22bSmrg ;; 115656f6b22bSmrg 115756f6b22bSmrg esac 115856f6b22bSmrgdone 115956f6b22bSmrg 116056f6b22bSmrgif test -n "$ac_prev"; then 116156f6b22bSmrg ac_option=--`echo $ac_prev | sed 's/_/-/g'` 11623a67387eSmrg as_fn_error $? "missing argument to $ac_option" 116356f6b22bSmrgfi 116456f6b22bSmrg 1165ef7198c0Smrgif test -n "$ac_unrecognized_opts"; then 1166ef7198c0Smrg case $enable_option_checking in 1167ef7198c0Smrg no) ;; 11683a67387eSmrg fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 11697591dea4Smrg *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 117056f6b22bSmrg esac 1171ef7198c0Smrgfi 117256f6b22bSmrg 1173ef7198c0Smrg# Check all directory arguments for consistency. 1174ef7198c0Smrgfor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1175ef7198c0Smrg datadir sysconfdir sharedstatedir localstatedir includedir \ 1176ef7198c0Smrg oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 11777591dea4Smrg libdir localedir mandir runstatedir 117856f6b22bSmrgdo 1179ef7198c0Smrg eval ac_val=\$$ac_var 1180ef7198c0Smrg # Remove trailing slashes. 118156f6b22bSmrg case $ac_val in 1182ef7198c0Smrg */ ) 1183ef7198c0Smrg ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1184ef7198c0Smrg eval $ac_var=\$ac_val;; 1185ef7198c0Smrg esac 1186ef7198c0Smrg # Be sure to have absolute directory names. 1187ef7198c0Smrg case $ac_val in 1188ef7198c0Smrg [\\/$]* | ?:[\\/]* ) continue;; 1189ef7198c0Smrg NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 119056f6b22bSmrg esac 11913a67387eSmrg as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 119256f6b22bSmrgdone 119356f6b22bSmrg 119456f6b22bSmrg# There might be people who depend on the old broken behavior: `$host' 119556f6b22bSmrg# used to hold the argument of --host etc. 119656f6b22bSmrg# FIXME: To remove some day. 119756f6b22bSmrgbuild=$build_alias 119856f6b22bSmrghost=$host_alias 119956f6b22bSmrgtarget=$target_alias 120056f6b22bSmrg 120156f6b22bSmrg# FIXME: To remove some day. 120256f6b22bSmrgif test "x$host_alias" != x; then 120356f6b22bSmrg if test "x$build_alias" = x; then 120456f6b22bSmrg cross_compiling=maybe 120556f6b22bSmrg elif test "x$build_alias" != "x$host_alias"; then 120656f6b22bSmrg cross_compiling=yes 120756f6b22bSmrg fi 120856f6b22bSmrgfi 120956f6b22bSmrg 121056f6b22bSmrgac_tool_prefix= 121156f6b22bSmrgtest -n "$host_alias" && ac_tool_prefix=$host_alias- 121256f6b22bSmrg 121356f6b22bSmrgtest "$silent" = yes && exec 6>/dev/null 121456f6b22bSmrg 121556f6b22bSmrg 1216ef7198c0Smrgac_pwd=`pwd` && test -n "$ac_pwd" && 1217ef7198c0Smrgac_ls_di=`ls -di .` && 1218ef7198c0Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 12193a67387eSmrg as_fn_error $? "working directory cannot be determined" 1220ef7198c0Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" || 12213a67387eSmrg as_fn_error $? "pwd does not report name of working directory" 1222ef7198c0Smrg 1223ef7198c0Smrg 122456f6b22bSmrg# Find the source files, if location was not specified. 122556f6b22bSmrgif test -z "$srcdir"; then 122656f6b22bSmrg ac_srcdir_defaulted=yes 1227ef7198c0Smrg # Try the directory containing this script, then the parent directory. 1228ef7198c0Smrg ac_confdir=`$as_dirname -- "$as_myself" || 1229ef7198c0Smrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1230ef7198c0Smrg X"$as_myself" : 'X\(//\)[^/]' \| \ 1231ef7198c0Smrg X"$as_myself" : 'X\(//\)$' \| \ 1232ef7198c0Smrg X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 12337591dea4Smrgprintf "%s\n" X"$as_myself" | 1234ef7198c0Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1235ef7198c0Smrg s//\1/ 1236ef7198c0Smrg q 1237ef7198c0Smrg } 1238ef7198c0Smrg /^X\(\/\/\)[^/].*/{ 1239ef7198c0Smrg s//\1/ 1240ef7198c0Smrg q 1241ef7198c0Smrg } 1242ef7198c0Smrg /^X\(\/\/\)$/{ 1243ef7198c0Smrg s//\1/ 1244ef7198c0Smrg q 1245ef7198c0Smrg } 1246ef7198c0Smrg /^X\(\/\).*/{ 1247ef7198c0Smrg s//\1/ 1248ef7198c0Smrg q 1249ef7198c0Smrg } 1250ef7198c0Smrg s/.*/./; q'` 125156f6b22bSmrg srcdir=$ac_confdir 1252ef7198c0Smrg if test ! -r "$srcdir/$ac_unique_file"; then 125356f6b22bSmrg srcdir=.. 125456f6b22bSmrg fi 125556f6b22bSmrgelse 125656f6b22bSmrg ac_srcdir_defaulted=no 125756f6b22bSmrgfi 1258ef7198c0Smrgif test ! -r "$srcdir/$ac_unique_file"; then 1259ef7198c0Smrg test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 12603a67387eSmrg as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 126156f6b22bSmrgfi 1262ef7198c0Smrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1263ef7198c0Smrgac_abs_confdir=`( 12643a67387eSmrg cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1265ef7198c0Smrg pwd)` 1266ef7198c0Smrg# When building in place, set srcdir=. 1267ef7198c0Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then 1268ef7198c0Smrg srcdir=. 1269ef7198c0Smrgfi 1270ef7198c0Smrg# Remove unnecessary trailing slashes from srcdir. 1271ef7198c0Smrg# Double slashes in file names in object file debugging info 1272ef7198c0Smrg# mess up M-x gdb in Emacs. 1273ef7198c0Smrgcase $srcdir in 1274ef7198c0Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1275ef7198c0Smrgesac 1276ef7198c0Smrgfor ac_var in $ac_precious_vars; do 1277ef7198c0Smrg eval ac_env_${ac_var}_set=\${${ac_var}+set} 1278ef7198c0Smrg eval ac_env_${ac_var}_value=\$${ac_var} 1279ef7198c0Smrg eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1280ef7198c0Smrg eval ac_cv_env_${ac_var}_value=\$${ac_var} 1281ef7198c0Smrgdone 128256f6b22bSmrg 128356f6b22bSmrg# 128456f6b22bSmrg# Report the --help message. 128556f6b22bSmrg# 128656f6b22bSmrgif test "$ac_init_help" = "long"; then 128756f6b22bSmrg # Omit some internal or obsolete options to make the list less imposing. 128856f6b22bSmrg # This message is too long to be a string in the A/UX 3.1 sh. 128956f6b22bSmrg cat <<_ACEOF 12907591dea4Smrg\`configure' configures font-bitstream-100dpi 1.0.4 to adapt to many kinds of systems. 129156f6b22bSmrg 129256f6b22bSmrgUsage: $0 [OPTION]... [VAR=VALUE]... 129356f6b22bSmrg 129456f6b22bSmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as 129556f6b22bSmrgVAR=VALUE. See below for descriptions of some of the useful variables. 129656f6b22bSmrg 129756f6b22bSmrgDefaults for the options are specified in brackets. 129856f6b22bSmrg 129956f6b22bSmrgConfiguration: 130056f6b22bSmrg -h, --help display this help and exit 130156f6b22bSmrg --help=short display options specific to this package 130256f6b22bSmrg --help=recursive display the short help of all the included packages 130356f6b22bSmrg -V, --version display version information and exit 13043a67387eSmrg -q, --quiet, --silent do not print \`checking ...' messages 130556f6b22bSmrg --cache-file=FILE cache test results in FILE [disabled] 130656f6b22bSmrg -C, --config-cache alias for \`--cache-file=config.cache' 130756f6b22bSmrg -n, --no-create do not create output files 130856f6b22bSmrg --srcdir=DIR find the sources in DIR [configure dir or \`..'] 130956f6b22bSmrg 131056f6b22bSmrgInstallation directories: 131156f6b22bSmrg --prefix=PREFIX install architecture-independent files in PREFIX 1312ef7198c0Smrg [$ac_default_prefix] 131356f6b22bSmrg --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1314ef7198c0Smrg [PREFIX] 131556f6b22bSmrg 131656f6b22bSmrgBy default, \`make install' will install all the files in 131756f6b22bSmrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 131856f6b22bSmrgan installation prefix other than \`$ac_default_prefix' using \`--prefix', 131956f6b22bSmrgfor instance \`--prefix=\$HOME'. 132056f6b22bSmrg 132156f6b22bSmrgFor better control, use the options below. 132256f6b22bSmrg 132356f6b22bSmrgFine tuning of the installation directories: 1324ef7198c0Smrg --bindir=DIR user executables [EPREFIX/bin] 1325ef7198c0Smrg --sbindir=DIR system admin executables [EPREFIX/sbin] 1326ef7198c0Smrg --libexecdir=DIR program executables [EPREFIX/libexec] 1327ef7198c0Smrg --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1328ef7198c0Smrg --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1329ef7198c0Smrg --localstatedir=DIR modifiable single-machine data [PREFIX/var] 13307591dea4Smrg --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1331ef7198c0Smrg --libdir=DIR object code libraries [EPREFIX/lib] 1332ef7198c0Smrg --includedir=DIR C header files [PREFIX/include] 1333ef7198c0Smrg --oldincludedir=DIR C header files for non-gcc [/usr/include] 1334ef7198c0Smrg --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1335ef7198c0Smrg --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1336ef7198c0Smrg --infodir=DIR info documentation [DATAROOTDIR/info] 1337ef7198c0Smrg --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1338ef7198c0Smrg --mandir=DIR man documentation [DATAROOTDIR/man] 1339ef7198c0Smrg --docdir=DIR documentation root 1340ef7198c0Smrg [DATAROOTDIR/doc/font-bitstream-100dpi] 1341ef7198c0Smrg --htmldir=DIR html documentation [DOCDIR] 1342ef7198c0Smrg --dvidir=DIR dvi documentation [DOCDIR] 1343ef7198c0Smrg --pdfdir=DIR pdf documentation [DOCDIR] 1344ef7198c0Smrg --psdir=DIR ps documentation [DOCDIR] 134556f6b22bSmrg_ACEOF 134656f6b22bSmrg 134756f6b22bSmrg cat <<\_ACEOF 134856f6b22bSmrg 134956f6b22bSmrgProgram names: 135056f6b22bSmrg --program-prefix=PREFIX prepend PREFIX to installed program names 135156f6b22bSmrg --program-suffix=SUFFIX append SUFFIX to installed program names 135256f6b22bSmrg --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1353ef7198c0Smrg 1354ef7198c0SmrgSystem types: 1355ef7198c0Smrg --build=BUILD configure for building on BUILD [guessed] 1356ef7198c0Smrg --host=HOST cross-compile to build programs to run on HOST [BUILD] 135756f6b22bSmrg_ACEOF 135856f6b22bSmrgfi 135956f6b22bSmrg 136056f6b22bSmrgif test -n "$ac_init_help"; then 136156f6b22bSmrg case $ac_init_help in 13627591dea4Smrg short | recursive ) echo "Configuration of font-bitstream-100dpi 1.0.4:";; 136356f6b22bSmrg esac 136456f6b22bSmrg cat <<\_ACEOF 136556f6b22bSmrg 136656f6b22bSmrgOptional Features: 1367ef7198c0Smrg --disable-option-checking ignore unrecognized --enable/--with options 136856f6b22bSmrg --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 136956f6b22bSmrg --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 13707591dea4Smrg --enable-silent-rules less verbose build output (undo: "make V=1") 13717591dea4Smrg --disable-silent-rules verbose build output (undo: "make V=0") 137256f6b22bSmrg 137356f6b22bSmrgOptional Packages: 137456f6b22bSmrg --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 137556f6b22bSmrg --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1376ef7198c0Smrg --with-fontrootdir=DIR Path to root directory for font files 1377ef7198c0Smrg --with-fontdir=DIR Path to 100dpi files [FONTROOTDIR/100dpi] 1378ef7198c0Smrg --with-compression=<no|compress|gzip|bzip2> 1379ef7198c0Smrg compression method to use on pcf fonts 1380ef7198c0Smrg 1381ef7198c0SmrgSome influential environment variables: 1382ef7198c0Smrg PKG_CONFIG path to pkg-config utility 13833a67387eSmrg PKG_CONFIG_PATH 13843a67387eSmrg directories to add to pkg-config's search path 13853a67387eSmrg PKG_CONFIG_LIBDIR 13863a67387eSmrg path overriding pkg-config's built-in search path 1387ef7198c0Smrg 1388ef7198c0SmrgUse these variables to override the choices made by `configure' or to help 1389ef7198c0Smrgit to find libraries and programs with nonstandard names/locations. 139056f6b22bSmrg 13917591dea4SmrgReport bugs to <https://gitlab.freedesktop.org/xorg/font/bitstream-100dpi/-/issues>. 139256f6b22bSmrg_ACEOF 1393ef7198c0Smrgac_status=$? 139456f6b22bSmrgfi 139556f6b22bSmrg 139656f6b22bSmrgif test "$ac_init_help" = "recursive"; then 139756f6b22bSmrg # If there are subdirs, report their specific --help. 139856f6b22bSmrg for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1399ef7198c0Smrg test -d "$ac_dir" || 1400ef7198c0Smrg { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1401ef7198c0Smrg continue 140256f6b22bSmrg ac_builddir=. 140356f6b22bSmrg 1404ef7198c0Smrgcase "$ac_dir" in 1405ef7198c0Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1406ef7198c0Smrg*) 14077591dea4Smrg ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 1408ef7198c0Smrg # A ".." for each directory in $ac_dir_suffix. 14097591dea4Smrg ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1410ef7198c0Smrg case $ac_top_builddir_sub in 1411ef7198c0Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1412ef7198c0Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1413ef7198c0Smrg esac ;; 1414ef7198c0Smrgesac 1415ef7198c0Smrgac_abs_top_builddir=$ac_pwd 1416ef7198c0Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 1417ef7198c0Smrg# for backward compatibility: 1418ef7198c0Smrgac_top_builddir=$ac_top_build_prefix 141956f6b22bSmrg 142056f6b22bSmrgcase $srcdir in 1421ef7198c0Smrg .) # We are building in place. 142256f6b22bSmrg ac_srcdir=. 1423ef7198c0Smrg ac_top_srcdir=$ac_top_builddir_sub 1424ef7198c0Smrg ac_abs_top_srcdir=$ac_pwd ;; 1425ef7198c0Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 142656f6b22bSmrg ac_srcdir=$srcdir$ac_dir_suffix; 1427ef7198c0Smrg ac_top_srcdir=$srcdir 1428ef7198c0Smrg ac_abs_top_srcdir=$srcdir ;; 1429ef7198c0Smrg *) # Relative name. 1430ef7198c0Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1431ef7198c0Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 1432ef7198c0Smrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 143356f6b22bSmrgesac 1434ef7198c0Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1435ef7198c0Smrg 1436ef7198c0Smrg cd "$ac_dir" || { ac_status=$?; continue; } 14377591dea4Smrg # Check for configure.gnu first; this name is used for a wrapper for 14387591dea4Smrg # Metaconfig's "Configure" on case-insensitive file systems. 1439ef7198c0Smrg if test -f "$ac_srcdir/configure.gnu"; then 1440ef7198c0Smrg echo && 1441ef7198c0Smrg $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1442ef7198c0Smrg elif test -f "$ac_srcdir/configure"; then 1443ef7198c0Smrg echo && 1444ef7198c0Smrg $SHELL "$ac_srcdir/configure" --help=recursive 144556f6b22bSmrg else 14467591dea4Smrg printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1447ef7198c0Smrg fi || ac_status=$? 1448ef7198c0Smrg cd "$ac_pwd" || { ac_status=$?; break; } 144956f6b22bSmrg done 145056f6b22bSmrgfi 145156f6b22bSmrg 1452ef7198c0Smrgtest -n "$ac_init_help" && exit $ac_status 145356f6b22bSmrgif $ac_init_version; then 145456f6b22bSmrg cat <<\_ACEOF 14557591dea4Smrgfont-bitstream-100dpi configure 1.0.4 14567591dea4Smrggenerated by GNU Autoconf 2.71 145756f6b22bSmrg 14587591dea4SmrgCopyright (C) 2021 Free Software Foundation, Inc. 145956f6b22bSmrgThis configure script is free software; the Free Software Foundation 146056f6b22bSmrggives unlimited permission to copy, distribute and modify it. 146156f6b22bSmrg_ACEOF 1462ef7198c0Smrg exit 146356f6b22bSmrgfi 146456f6b22bSmrg 14653a67387eSmrg## ------------------------ ## 14663a67387eSmrg## Autoconf initialization. ## 14673a67387eSmrg## ------------------------ ## 14687591dea4Smrgac_configure_args_raw= 14697591dea4Smrgfor ac_arg 14707591dea4Smrgdo 14717591dea4Smrg case $ac_arg in 14727591dea4Smrg *\'*) 14737591dea4Smrg ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 14747591dea4Smrg esac 14757591dea4Smrg as_fn_append ac_configure_args_raw " '$ac_arg'" 14767591dea4Smrgdone 147756f6b22bSmrg 14787591dea4Smrgcase $ac_configure_args_raw in 14797591dea4Smrg *$as_nl*) 14807591dea4Smrg ac_safe_unquote= ;; 14817591dea4Smrg *) 14827591dea4Smrg ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. 14837591dea4Smrg ac_unsafe_a="$ac_unsafe_z#~" 14847591dea4Smrg ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" 14857591dea4Smrg ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;; 14863a67387eSmrgesac 14873a67387eSmrg 14883a67387eSmrgcat >config.log <<_ACEOF 14893a67387eSmrgThis file contains any messages produced by compilers while 14903a67387eSmrgrunning configure, to aid debugging if configure makes a mistake. 14913a67387eSmrg 14927591dea4SmrgIt was created by font-bitstream-100dpi $as_me 1.0.4, which was 14937591dea4Smrggenerated by GNU Autoconf 2.71. Invocation command line was 14943a67387eSmrg 14957591dea4Smrg $ $0$ac_configure_args_raw 14963a67387eSmrg 14973a67387eSmrg_ACEOF 14983a67387eSmrgexec 5>>config.log 14993a67387eSmrg{ 15003a67387eSmrgcat <<_ASUNAME 15013a67387eSmrg## --------- ## 15023a67387eSmrg## Platform. ## 15033a67387eSmrg## --------- ## 15043a67387eSmrg 15053a67387eSmrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 15063a67387eSmrguname -m = `(uname -m) 2>/dev/null || echo unknown` 15073a67387eSmrguname -r = `(uname -r) 2>/dev/null || echo unknown` 15083a67387eSmrguname -s = `(uname -s) 2>/dev/null || echo unknown` 15093a67387eSmrguname -v = `(uname -v) 2>/dev/null || echo unknown` 15103a67387eSmrg 15113a67387eSmrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 15123a67387eSmrg/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 15133a67387eSmrg 15143a67387eSmrg/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 15153a67387eSmrg/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 15163a67387eSmrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 15173a67387eSmrg/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 15183a67387eSmrg/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 15193a67387eSmrg/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 15203a67387eSmrg/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 15213a67387eSmrg 15223a67387eSmrg_ASUNAME 15233a67387eSmrg 15243a67387eSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 152556f6b22bSmrgfor as_dir in $PATH 152656f6b22bSmrgdo 152756f6b22bSmrg IFS=$as_save_IFS 15287591dea4Smrg case $as_dir in #((( 15297591dea4Smrg '') as_dir=./ ;; 15307591dea4Smrg */) ;; 15317591dea4Smrg *) as_dir=$as_dir/ ;; 15327591dea4Smrg esac 15337591dea4Smrg printf "%s\n" "PATH: $as_dir" 15343a67387eSmrg done 1535ef7198c0SmrgIFS=$as_save_IFS 153656f6b22bSmrg 153756f6b22bSmrg} >&5 153856f6b22bSmrg 153956f6b22bSmrgcat >&5 <<_ACEOF 154056f6b22bSmrg 154156f6b22bSmrg 154256f6b22bSmrg## ----------- ## 154356f6b22bSmrg## Core tests. ## 154456f6b22bSmrg## ----------- ## 154556f6b22bSmrg 154656f6b22bSmrg_ACEOF 154756f6b22bSmrg 154856f6b22bSmrg 154956f6b22bSmrg# Keep a trace of the command line. 155056f6b22bSmrg# Strip out --no-create and --no-recursion so they do not pile up. 155156f6b22bSmrg# Strip out --silent because we don't want to record it for future runs. 155256f6b22bSmrg# Also quote any args containing shell meta-characters. 155356f6b22bSmrg# Make two passes to allow for proper duplicate-argument suppression. 155456f6b22bSmrgac_configure_args= 155556f6b22bSmrgac_configure_args0= 155656f6b22bSmrgac_configure_args1= 155756f6b22bSmrgac_must_keep_next=false 155856f6b22bSmrgfor ac_pass in 1 2 155956f6b22bSmrgdo 156056f6b22bSmrg for ac_arg 156156f6b22bSmrg do 156256f6b22bSmrg case $ac_arg in 156356f6b22bSmrg -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 156456f6b22bSmrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 156556f6b22bSmrg | -silent | --silent | --silen | --sile | --sil) 156656f6b22bSmrg continue ;; 1567ef7198c0Smrg *\'*) 15687591dea4Smrg ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 156956f6b22bSmrg esac 157056f6b22bSmrg case $ac_pass in 15713a67387eSmrg 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 157256f6b22bSmrg 2) 15733a67387eSmrg as_fn_append ac_configure_args1 " '$ac_arg'" 157456f6b22bSmrg if test $ac_must_keep_next = true; then 157556f6b22bSmrg ac_must_keep_next=false # Got value, back to normal. 157656f6b22bSmrg else 157756f6b22bSmrg case $ac_arg in 157856f6b22bSmrg *=* | --config-cache | -C | -disable-* | --disable-* \ 157956f6b22bSmrg | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 158056f6b22bSmrg | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 158156f6b22bSmrg | -with-* | --with-* | -without-* | --without-* | --x) 158256f6b22bSmrg case "$ac_configure_args0 " in 158356f6b22bSmrg "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 158456f6b22bSmrg esac 158556f6b22bSmrg ;; 158656f6b22bSmrg -* ) ac_must_keep_next=true ;; 158756f6b22bSmrg esac 158856f6b22bSmrg fi 15893a67387eSmrg as_fn_append ac_configure_args " '$ac_arg'" 159056f6b22bSmrg ;; 159156f6b22bSmrg esac 159256f6b22bSmrg done 159356f6b22bSmrgdone 15943a67387eSmrg{ ac_configure_args0=; unset ac_configure_args0;} 15953a67387eSmrg{ ac_configure_args1=; unset ac_configure_args1;} 159656f6b22bSmrg 159756f6b22bSmrg# When interrupted or exit'd, cleanup temporary files, and complete 159856f6b22bSmrg# config.log. We remove comments because anyway the quotes in there 159956f6b22bSmrg# would cause problems or look ugly. 1600ef7198c0Smrg# WARNING: Use '\'' to represent an apostrophe within the trap. 1601ef7198c0Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 160256f6b22bSmrgtrap 'exit_status=$? 16037591dea4Smrg # Sanitize IFS. 16047591dea4Smrg IFS=" "" $as_nl" 160556f6b22bSmrg # Save into config.log some information that might help in debugging. 160656f6b22bSmrg { 160756f6b22bSmrg echo 160856f6b22bSmrg 16097591dea4Smrg printf "%s\n" "## ---------------- ## 161056f6b22bSmrg## Cache variables. ## 16113a67387eSmrg## ---------------- ##" 161256f6b22bSmrg echo 161356f6b22bSmrg # The following way of writing the cache mishandles newlines in values, 1614ef7198c0Smrg( 1615ef7198c0Smrg for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1616ef7198c0Smrg eval ac_val=\$$ac_var 1617ef7198c0Smrg case $ac_val in #( 1618ef7198c0Smrg *${as_nl}*) 1619ef7198c0Smrg case $ac_var in #( 16207591dea4Smrg *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 16217591dea4Smrgprintf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1622ef7198c0Smrg esac 1623ef7198c0Smrg case $ac_var in #( 1624ef7198c0Smrg _ | IFS | as_nl) ;; #( 1625ef7198c0Smrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 16263a67387eSmrg *) { eval $ac_var=; unset $ac_var;} ;; 1627ef7198c0Smrg esac ;; 1628ef7198c0Smrg esac 1629ef7198c0Smrg done 163056f6b22bSmrg (set) 2>&1 | 1631ef7198c0Smrg case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1632ef7198c0Smrg *${as_nl}ac_space=\ *) 163356f6b22bSmrg sed -n \ 1634ef7198c0Smrg "s/'\''/'\''\\\\'\'''\''/g; 1635ef7198c0Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1636ef7198c0Smrg ;; #( 163756f6b22bSmrg *) 1638ef7198c0Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 163956f6b22bSmrg ;; 1640ef7198c0Smrg esac | 1641ef7198c0Smrg sort 1642ef7198c0Smrg) 164356f6b22bSmrg echo 164456f6b22bSmrg 16457591dea4Smrg printf "%s\n" "## ----------------- ## 164656f6b22bSmrg## Output variables. ## 16473a67387eSmrg## ----------------- ##" 164856f6b22bSmrg echo 164956f6b22bSmrg for ac_var in $ac_subst_vars 165056f6b22bSmrg do 1651ef7198c0Smrg eval ac_val=\$$ac_var 1652ef7198c0Smrg case $ac_val in 16537591dea4Smrg *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1654ef7198c0Smrg esac 16557591dea4Smrg printf "%s\n" "$ac_var='\''$ac_val'\''" 165656f6b22bSmrg done | sort 165756f6b22bSmrg echo 165856f6b22bSmrg 165956f6b22bSmrg if test -n "$ac_subst_files"; then 16607591dea4Smrg printf "%s\n" "## ------------------- ## 1661ef7198c0Smrg## File substitutions. ## 16623a67387eSmrg## ------------------- ##" 166356f6b22bSmrg echo 166456f6b22bSmrg for ac_var in $ac_subst_files 166556f6b22bSmrg do 1666ef7198c0Smrg eval ac_val=\$$ac_var 1667ef7198c0Smrg case $ac_val in 16687591dea4Smrg *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1669ef7198c0Smrg esac 16707591dea4Smrg printf "%s\n" "$ac_var='\''$ac_val'\''" 167156f6b22bSmrg done | sort 167256f6b22bSmrg echo 167356f6b22bSmrg fi 167456f6b22bSmrg 167556f6b22bSmrg if test -s confdefs.h; then 16767591dea4Smrg printf "%s\n" "## ----------- ## 167756f6b22bSmrg## confdefs.h. ## 16783a67387eSmrg## ----------- ##" 167956f6b22bSmrg echo 1680ef7198c0Smrg cat confdefs.h 168156f6b22bSmrg echo 168256f6b22bSmrg fi 168356f6b22bSmrg test "$ac_signal" != 0 && 16847591dea4Smrg printf "%s\n" "$as_me: caught signal $ac_signal" 16857591dea4Smrg printf "%s\n" "$as_me: exit $exit_status" 168656f6b22bSmrg } >&5 1687ef7198c0Smrg rm -f core *.core core.conftest.* && 1688ef7198c0Smrg rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 168956f6b22bSmrg exit $exit_status 1690ef7198c0Smrg' 0 169156f6b22bSmrgfor ac_signal in 1 2 13 15; do 16923a67387eSmrg trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 169356f6b22bSmrgdone 169456f6b22bSmrgac_signal=0 169556f6b22bSmrg 169656f6b22bSmrg# confdefs.h avoids OS command line length limits that DEFS can exceed. 1697ef7198c0Smrgrm -f -r conftest* confdefs.h 169856f6b22bSmrg 16997591dea4Smrgprintf "%s\n" "/* confdefs.h */" > confdefs.h 17003a67387eSmrg 170156f6b22bSmrg# Predefined preprocessor variables. 170256f6b22bSmrg 17037591dea4Smrgprintf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h 170456f6b22bSmrg 17057591dea4Smrgprintf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h 170656f6b22bSmrg 17077591dea4Smrgprintf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h 170856f6b22bSmrg 17097591dea4Smrgprintf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h 171056f6b22bSmrg 17117591dea4Smrgprintf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h 171256f6b22bSmrg 17137591dea4Smrgprintf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h 17143a67387eSmrg 171556f6b22bSmrg 171656f6b22bSmrg# Let the site file select an alternate cache file if it wants to. 1717ef7198c0Smrg# Prefer an explicitly selected file to automatically selected ones. 1718ef7198c0Smrgif test -n "$CONFIG_SITE"; then 17197591dea4Smrg ac_site_files="$CONFIG_SITE" 1720ef7198c0Smrgelif test "x$prefix" != xNONE; then 17217591dea4Smrg ac_site_files="$prefix/share/config.site $prefix/etc/config.site" 1722ef7198c0Smrgelse 17237591dea4Smrg ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 172456f6b22bSmrgfi 17257591dea4Smrg 17267591dea4Smrgfor ac_site_file in $ac_site_files 1727ef7198c0Smrgdo 17287591dea4Smrg case $ac_site_file in #( 17297591dea4Smrg */*) : 17307591dea4Smrg ;; #( 17317591dea4Smrg *) : 17327591dea4Smrg ac_site_file=./$ac_site_file ;; 17337591dea4Smrgesac 17347591dea4Smrg if test -f "$ac_site_file" && test -r "$ac_site_file"; then 17357591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 17367591dea4Smrgprintf "%s\n" "$as_me: loading site script $ac_site_file" >&6;} 173756f6b22bSmrg sed 's/^/| /' "$ac_site_file" >&5 17383a67387eSmrg . "$ac_site_file" \ 17397591dea4Smrg || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17407591dea4Smrgprintf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 17413a67387eSmrgas_fn_error $? "failed to load site script $ac_site_file 17423a67387eSmrgSee \`config.log' for more details" "$LINENO" 5; } 174356f6b22bSmrg fi 174456f6b22bSmrgdone 174556f6b22bSmrg 174656f6b22bSmrgif test -r "$cache_file"; then 17473a67387eSmrg # Some versions of bash will fail to source /dev/null (special files 17483a67387eSmrg # actually), so we avoid doing that. DJGPP emulates it as a regular file. 17493a67387eSmrg if test /dev/null != "$cache_file" && test -f "$cache_file"; then 17507591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 17517591dea4Smrgprintf "%s\n" "$as_me: loading cache $cache_file" >&6;} 175256f6b22bSmrg case $cache_file in 1753ef7198c0Smrg [\\/]* | ?:[\\/]* ) . "$cache_file";; 1754ef7198c0Smrg *) . "./$cache_file";; 175556f6b22bSmrg esac 175656f6b22bSmrg fi 175756f6b22bSmrgelse 17587591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 17597591dea4Smrgprintf "%s\n" "$as_me: creating cache $cache_file" >&6;} 176056f6b22bSmrg >$cache_file 176156f6b22bSmrgfi 176256f6b22bSmrg 17637591dea4Smrg 17647591dea4Smrg# Auxiliary files required by this configure script. 17657591dea4Smrgac_aux_files="config.guess config.sub missing install-sh" 17667591dea4Smrg 17677591dea4Smrg# Locations in which to look for auxiliary files. 17687591dea4Smrgac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.." 17697591dea4Smrg 17707591dea4Smrg# Search for a directory containing all of the required auxiliary files, 17717591dea4Smrg# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. 17727591dea4Smrg# If we don't find one directory that contains all the files we need, 17737591dea4Smrg# we report the set of missing files from the *first* directory in 17747591dea4Smrg# $ac_aux_dir_candidates and give up. 17757591dea4Smrgac_missing_aux_files="" 17767591dea4Smrgac_first_candidate=: 17777591dea4Smrgprintf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5 17787591dea4Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17797591dea4Smrgas_found=false 17807591dea4Smrgfor as_dir in $ac_aux_dir_candidates 17817591dea4Smrgdo 17827591dea4Smrg IFS=$as_save_IFS 17837591dea4Smrg case $as_dir in #((( 17847591dea4Smrg '') as_dir=./ ;; 17857591dea4Smrg */) ;; 17867591dea4Smrg *) as_dir=$as_dir/ ;; 17877591dea4Smrg esac 17887591dea4Smrg as_found=: 17897591dea4Smrg 17907591dea4Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 17917591dea4Smrg ac_aux_dir_found=yes 17927591dea4Smrg ac_install_sh= 17937591dea4Smrg for ac_aux in $ac_aux_files 17947591dea4Smrg do 17957591dea4Smrg # As a special case, if "install-sh" is required, that requirement 17967591dea4Smrg # can be satisfied by any of "install-sh", "install.sh", or "shtool", 17977591dea4Smrg # and $ac_install_sh is set appropriately for whichever one is found. 17987591dea4Smrg if test x"$ac_aux" = x"install-sh" 17997591dea4Smrg then 18007591dea4Smrg if test -f "${as_dir}install-sh"; then 18017591dea4Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5 18027591dea4Smrg ac_install_sh="${as_dir}install-sh -c" 18037591dea4Smrg elif test -f "${as_dir}install.sh"; then 18047591dea4Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5 18057591dea4Smrg ac_install_sh="${as_dir}install.sh -c" 18067591dea4Smrg elif test -f "${as_dir}shtool"; then 18077591dea4Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5 18087591dea4Smrg ac_install_sh="${as_dir}shtool install -c" 18097591dea4Smrg else 18107591dea4Smrg ac_aux_dir_found=no 18117591dea4Smrg if $ac_first_candidate; then 18127591dea4Smrg ac_missing_aux_files="${ac_missing_aux_files} install-sh" 18137591dea4Smrg else 18147591dea4Smrg break 18157591dea4Smrg fi 18167591dea4Smrg fi 18177591dea4Smrg else 18187591dea4Smrg if test -f "${as_dir}${ac_aux}"; then 18197591dea4Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5 18207591dea4Smrg else 18217591dea4Smrg ac_aux_dir_found=no 18227591dea4Smrg if $ac_first_candidate; then 18237591dea4Smrg ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}" 18247591dea4Smrg else 18257591dea4Smrg break 18267591dea4Smrg fi 18277591dea4Smrg fi 18287591dea4Smrg fi 18297591dea4Smrg done 18307591dea4Smrg if test "$ac_aux_dir_found" = yes; then 18317591dea4Smrg ac_aux_dir="$as_dir" 18327591dea4Smrg break 18337591dea4Smrg fi 18347591dea4Smrg ac_first_candidate=false 18357591dea4Smrg 18367591dea4Smrg as_found=false 18377591dea4Smrgdone 18387591dea4SmrgIFS=$as_save_IFS 18397591dea4Smrgif $as_found 18407591dea4Smrgthen : 18417591dea4Smrg 18427591dea4Smrgelse $as_nop 18437591dea4Smrg as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 18447591dea4Smrgfi 18457591dea4Smrg 18467591dea4Smrg 18477591dea4Smrg# These three variables are undocumented and unsupported, 18487591dea4Smrg# and are intended to be withdrawn in a future Autoconf release. 18497591dea4Smrg# They can cause serious problems if a builder's source tree is in a directory 18507591dea4Smrg# whose full name contains unusual characters. 18517591dea4Smrgif test -f "${ac_aux_dir}config.guess"; then 18527591dea4Smrg ac_config_guess="$SHELL ${ac_aux_dir}config.guess" 18537591dea4Smrgfi 18547591dea4Smrgif test -f "${ac_aux_dir}config.sub"; then 18557591dea4Smrg ac_config_sub="$SHELL ${ac_aux_dir}config.sub" 18567591dea4Smrgfi 18577591dea4Smrgif test -f "$ac_aux_dir/configure"; then 18587591dea4Smrg ac_configure="$SHELL ${ac_aux_dir}configure" 18597591dea4Smrgfi 18607591dea4Smrg 186156f6b22bSmrg# Check that the precious variables saved in the cache have kept the same 186256f6b22bSmrg# value. 186356f6b22bSmrgac_cache_corrupted=false 1864ef7198c0Smrgfor ac_var in $ac_precious_vars; do 186556f6b22bSmrg eval ac_old_set=\$ac_cv_env_${ac_var}_set 186656f6b22bSmrg eval ac_new_set=\$ac_env_${ac_var}_set 1867ef7198c0Smrg eval ac_old_val=\$ac_cv_env_${ac_var}_value 1868ef7198c0Smrg eval ac_new_val=\$ac_env_${ac_var}_value 186956f6b22bSmrg case $ac_old_set,$ac_new_set in 187056f6b22bSmrg set,) 18717591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 18727591dea4Smrgprintf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 187356f6b22bSmrg ac_cache_corrupted=: ;; 187456f6b22bSmrg ,set) 18757591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 18767591dea4Smrgprintf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 187756f6b22bSmrg ac_cache_corrupted=: ;; 187856f6b22bSmrg ,);; 187956f6b22bSmrg *) 188056f6b22bSmrg if test "x$ac_old_val" != "x$ac_new_val"; then 1881ef7198c0Smrg # differences in whitespace do not lead to failure. 1882ef7198c0Smrg ac_old_val_w=`echo x $ac_old_val` 1883ef7198c0Smrg ac_new_val_w=`echo x $ac_new_val` 1884ef7198c0Smrg if test "$ac_old_val_w" != "$ac_new_val_w"; then 18857591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 18867591dea4Smrgprintf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1887ef7198c0Smrg ac_cache_corrupted=: 1888ef7198c0Smrg else 18897591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 18907591dea4Smrgprintf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1891ef7198c0Smrg eval $ac_var=\$ac_old_val 1892ef7198c0Smrg fi 18937591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 18947591dea4Smrgprintf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;} 18957591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 18967591dea4Smrgprintf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;} 189756f6b22bSmrg fi;; 189856f6b22bSmrg esac 189956f6b22bSmrg # Pass precious variables to config.status. 190056f6b22bSmrg if test "$ac_new_set" = set; then 190156f6b22bSmrg case $ac_new_val in 19027591dea4Smrg *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 190356f6b22bSmrg *) ac_arg=$ac_var=$ac_new_val ;; 190456f6b22bSmrg esac 190556f6b22bSmrg case " $ac_configure_args " in 190656f6b22bSmrg *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 19073a67387eSmrg *) as_fn_append ac_configure_args " '$ac_arg'" ;; 190856f6b22bSmrg esac 190956f6b22bSmrg fi 191056f6b22bSmrgdone 191156f6b22bSmrgif $ac_cache_corrupted; then 19127591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19137591dea4Smrgprintf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 19147591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 19157591dea4Smrgprintf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;} 19167591dea4Smrg as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file' 19177591dea4Smrg and start over" "$LINENO" 5 191856f6b22bSmrgfi 19193a67387eSmrg## -------------------- ## 19203a67387eSmrg## Main body of script. ## 19213a67387eSmrg## -------------------- ## 192256f6b22bSmrg 1923ef7198c0Smrgac_ext=c 1924ef7198c0Smrgac_cpp='$CPP $CPPFLAGS' 1925ef7198c0Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1926ef7198c0Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1927ef7198c0Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 192856f6b22bSmrg 192956f6b22bSmrg 19307591dea4Smrgam__api_version='1.16' 1931ef7198c0Smrg 1932ef7198c0Smrg 193356f6b22bSmrg 19347591dea4Smrg # Find a good install program. We prefer a C program (faster), 193556f6b22bSmrg# so one script is as good as another. But avoid the broken or 193656f6b22bSmrg# incompatible versions: 193756f6b22bSmrg# SysV /etc/install, /usr/sbin/install 193856f6b22bSmrg# SunOS /usr/etc/install 193956f6b22bSmrg# IRIX /sbin/install 194056f6b22bSmrg# AIX /bin/install 194156f6b22bSmrg# AmigaOS /C/install, which installs bootblocks on floppy discs 194256f6b22bSmrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 194356f6b22bSmrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 194456f6b22bSmrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 194556f6b22bSmrg# OS/2's system install, which has a completely different semantic 194656f6b22bSmrg# ./install, which can be erroneously created by make from ./install.sh. 1947ef7198c0Smrg# Reject install programs that cannot install multiple files. 19487591dea4Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 19497591dea4Smrgprintf %s "checking for a BSD-compatible install... " >&6; } 195056f6b22bSmrgif test -z "$INSTALL"; then 19517591dea4Smrgif test ${ac_cv_path_install+y} 19527591dea4Smrgthen : 19537591dea4Smrg printf %s "(cached) " >&6 19547591dea4Smrgelse $as_nop 195556f6b22bSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 195656f6b22bSmrgfor as_dir in $PATH 195756f6b22bSmrgdo 195856f6b22bSmrg IFS=$as_save_IFS 19597591dea4Smrg case $as_dir in #((( 19607591dea4Smrg '') as_dir=./ ;; 19617591dea4Smrg */) ;; 19627591dea4Smrg *) as_dir=$as_dir/ ;; 19637591dea4Smrg esac 19647591dea4Smrg # Account for fact that we put trailing slashes in our PATH walk. 19657591dea4Smrgcase $as_dir in #(( 19667591dea4Smrg ./ | /[cC]/* | \ 196756f6b22bSmrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 19683a67387eSmrg ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 196956f6b22bSmrg /usr/ucb/* ) ;; 197056f6b22bSmrg *) 197156f6b22bSmrg # OSF1 and SCO ODT 3.0 have their own names for install. 197256f6b22bSmrg # Don't use installbsd from OSF since it installs stuff as root 197356f6b22bSmrg # by default. 197456f6b22bSmrg for ac_prog in ginstall scoinst install; do 197556f6b22bSmrg for ac_exec_ext in '' $ac_executable_extensions; do 19767591dea4Smrg if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then 197756f6b22bSmrg if test $ac_prog = install && 19787591dea4Smrg grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 197956f6b22bSmrg # AIX install. It has an incompatible calling convention. 198056f6b22bSmrg : 198156f6b22bSmrg elif test $ac_prog = install && 19827591dea4Smrg grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 198356f6b22bSmrg # program-specific install script used by HP pwplus--don't use. 198456f6b22bSmrg : 198556f6b22bSmrg else 1986ef7198c0Smrg rm -rf conftest.one conftest.two conftest.dir 1987ef7198c0Smrg echo one > conftest.one 1988ef7198c0Smrg echo two > conftest.two 1989ef7198c0Smrg mkdir conftest.dir 19907591dea4Smrg if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" && 1991ef7198c0Smrg test -s conftest.one && test -s conftest.two && 1992ef7198c0Smrg test -s conftest.dir/conftest.one && 1993ef7198c0Smrg test -s conftest.dir/conftest.two 1994ef7198c0Smrg then 19957591dea4Smrg ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c" 1996ef7198c0Smrg break 3 1997ef7198c0Smrg fi 199856f6b22bSmrg fi 199956f6b22bSmrg fi 200056f6b22bSmrg done 200156f6b22bSmrg done 200256f6b22bSmrg ;; 200356f6b22bSmrgesac 2004ef7198c0Smrg 20053a67387eSmrg done 2006ef7198c0SmrgIFS=$as_save_IFS 200756f6b22bSmrg 2008ef7198c0Smrgrm -rf conftest.one conftest.two conftest.dir 200956f6b22bSmrg 201056f6b22bSmrgfi 20117591dea4Smrg if test ${ac_cv_path_install+y}; then 201256f6b22bSmrg INSTALL=$ac_cv_path_install 201356f6b22bSmrg else 2014ef7198c0Smrg # As a last resort, use the slow shell script. Don't cache a 2015ef7198c0Smrg # value for INSTALL within a source directory, because that will 201656f6b22bSmrg # break other packages using the cache if that directory is 2017ef7198c0Smrg # removed, or if the value is a relative name. 201856f6b22bSmrg INSTALL=$ac_install_sh 201956f6b22bSmrg fi 202056f6b22bSmrgfi 20217591dea4Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 20227591dea4Smrgprintf "%s\n" "$INSTALL" >&6; } 202356f6b22bSmrg 202456f6b22bSmrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 202556f6b22bSmrg# It thinks the first close brace ends the variable substitution. 202656f6b22bSmrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 202756f6b22bSmrg 202856f6b22bSmrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 202956f6b22bSmrg 203056f6b22bSmrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 203156f6b22bSmrg 20327591dea4Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 20337591dea4Smrgprintf %s "checking whether build environment is sane... " >&6; } 2034ef7198c0Smrg# Reject unsafe characters in $srcdir or the absolute working directory 2035ef7198c0Smrg# name. Accept space and tab only in the latter. 2036ef7198c0Smrgam_lf=' 2037ef7198c0Smrg' 2038ef7198c0Smrgcase `pwd` in 2039ef7198c0Smrg *[\\\"\#\$\&\'\`$am_lf]*) 20403a67387eSmrg as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2041ef7198c0Smrgesac 2042ef7198c0Smrgcase $srcdir in 2043ef7198c0Smrg *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 20447591dea4Smrg as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2045ef7198c0Smrgesac 2046ef7198c0Smrg 20477591dea4Smrg# Do 'set' in a subshell so we don't clobber the current shell's 204856f6b22bSmrg# arguments. Must try -L first in case configure is actually a 204956f6b22bSmrg# symlink; some systems play weird games with the mod time of symlinks 205056f6b22bSmrg# (eg FreeBSD returns the mod time of the symlink's containing 205156f6b22bSmrg# directory). 205256f6b22bSmrgif ( 20537591dea4Smrg am_has_slept=no 20547591dea4Smrg for am_try in 1 2; do 20557591dea4Smrg echo "timestamp, slept: $am_has_slept" > conftest.file 20567591dea4Smrg set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 20577591dea4Smrg if test "$*" = "X"; then 20587591dea4Smrg # -L didn't work. 20597591dea4Smrg set X `ls -t "$srcdir/configure" conftest.file` 20607591dea4Smrg fi 20617591dea4Smrg if test "$*" != "X $srcdir/configure conftest.file" \ 20627591dea4Smrg && test "$*" != "X conftest.file $srcdir/configure"; then 20637591dea4Smrg 20647591dea4Smrg # If neither matched, then we have a broken ls. This can happen 20657591dea4Smrg # if, for instance, CONFIG_SHELL is bash and it inherits a 20667591dea4Smrg # broken ls alias from the environment. This has actually 20677591dea4Smrg # happened. Such a system could not be considered "sane". 20687591dea4Smrg as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 20697591dea4Smrg alias in your environment" "$LINENO" 5 20707591dea4Smrg fi 20717591dea4Smrg if test "$2" = conftest.file || test $am_try -eq 2; then 20727591dea4Smrg break 20737591dea4Smrg fi 20747591dea4Smrg # Just in case. 20757591dea4Smrg sleep 1 20767591dea4Smrg am_has_slept=yes 20777591dea4Smrg done 207856f6b22bSmrg test "$2" = conftest.file 207956f6b22bSmrg ) 208056f6b22bSmrgthen 208156f6b22bSmrg # Ok. 208256f6b22bSmrg : 208356f6b22bSmrgelse 20843a67387eSmrg as_fn_error $? "newly created file is older than distributed files! 20853a67387eSmrgCheck your system clock" "$LINENO" 5 208656f6b22bSmrgfi 20877591dea4Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20887591dea4Smrgprintf "%s\n" "yes" >&6; } 20897591dea4Smrg# If we didn't sleep, we still need to ensure time stamps of config.status and 20907591dea4Smrg# generated files are strictly newer. 20917591dea4Smrgam_sleep_pid= 20927591dea4Smrgif grep 'slept: no' conftest.file >/dev/null 2>&1; then 20937591dea4Smrg ( sleep 1 ) & 20947591dea4Smrg am_sleep_pid=$! 20957591dea4Smrgfi 20967591dea4Smrg 20977591dea4Smrgrm -f conftest.file 20987591dea4Smrg 209956f6b22bSmrgtest "$program_prefix" != NONE && 2100ef7198c0Smrg program_transform_name="s&^&$program_prefix&;$program_transform_name" 210156f6b22bSmrg# Use a double $ so make ignores it. 210256f6b22bSmrgtest "$program_suffix" != NONE && 2103ef7198c0Smrg program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2104ef7198c0Smrg# Double any \ or $. 210556f6b22bSmrg# By default was `s,x,x', remove it if useless. 2106ef7198c0Smrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 21077591dea4Smrgprogram_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"` 210856f6b22bSmrg 210956f6b22bSmrg 21107591dea4Smrg# Expand $ac_aux_dir to an absolute path. 21117591dea4Smrgam_aux_dir=`cd "$ac_aux_dir" && pwd` 21127591dea4Smrg 21137591dea4Smrg 21147591dea4Smrg if test x"${MISSING+set}" != xset; then 21157591dea4Smrg MISSING="\${SHELL} '$am_aux_dir/missing'" 2116ef7198c0Smrgfi 211756f6b22bSmrg# Use eval to expand $SHELL 21187591dea4Smrgif eval "$MISSING --is-lightweight"; then 21197591dea4Smrg am_missing_run="$MISSING " 212056f6b22bSmrgelse 212156f6b22bSmrg am_missing_run= 21227591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 21237591dea4Smrgprintf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2124ef7198c0Smrgfi 2125ef7198c0Smrg 21267591dea4Smrgif test x"${install_sh+set}" != xset; then 2127ef7198c0Smrg case $am_aux_dir in 2128ef7198c0Smrg *\ * | *\ *) 2129ef7198c0Smrg install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2130ef7198c0Smrg *) 2131ef7198c0Smrg install_sh="\${SHELL} $am_aux_dir/install-sh" 2132ef7198c0Smrg esac 2133ef7198c0Smrgfi 2134ef7198c0Smrg 21357591dea4Smrg# Installed binaries are usually stripped using 'strip' when the user 21367591dea4Smrg# run "make install-strip". However 'strip' might not be the right 2137ef7198c0Smrg# tool to use in cross-compilation environments, therefore Automake 21387591dea4Smrg# will honor the 'STRIP' environment variable to overrule this program. 2139ef7198c0Smrgif test "$cross_compiling" != no; then 2140ef7198c0Smrg if test -n "$ac_tool_prefix"; then 2141ef7198c0Smrg # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2142ef7198c0Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2 21437591dea4Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 21447591dea4Smrgprintf %s "checking for $ac_word... " >&6; } 21457591dea4Smrgif test ${ac_cv_prog_STRIP+y} 21467591dea4Smrgthen : 21477591dea4Smrg printf %s "(cached) " >&6 21487591dea4Smrgelse $as_nop 2149ef7198c0Smrg if test -n "$STRIP"; then 2150ef7198c0Smrg ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2151ef7198c0Smrgelse 2152ef7198c0Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2153ef7198c0Smrgfor as_dir in $PATH 2154ef7198c0Smrgdo 2155ef7198c0Smrg IFS=$as_save_IFS 21567591dea4Smrg case $as_dir in #((( 21577591dea4Smrg '') as_dir=./ ;; 21587591dea4Smrg */) ;; 21597591dea4Smrg *) as_dir=$as_dir/ ;; 21607591dea4Smrg esac 21613a67387eSmrg for ac_exec_ext in '' $ac_executable_extensions; do 21627591dea4Smrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2163ef7198c0Smrg ac_cv_prog_STRIP="${ac_tool_prefix}strip" 21647591dea4Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2165ef7198c0Smrg break 2 2166ef7198c0Smrg fi 2167ef7198c0Smrgdone 21683a67387eSmrg done 2169ef7198c0SmrgIFS=$as_save_IFS 2170ef7198c0Smrg 2171ef7198c0Smrgfi 2172ef7198c0Smrgfi 2173ef7198c0SmrgSTRIP=$ac_cv_prog_STRIP 2174ef7198c0Smrgif test -n "$STRIP"; then 21757591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 21767591dea4Smrgprintf "%s\n" "$STRIP" >&6; } 2177ef7198c0Smrgelse 21787591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 21797591dea4Smrgprintf "%s\n" "no" >&6; } 2180ef7198c0Smrgfi 2181ef7198c0Smrg 2182ef7198c0Smrg 2183ef7198c0Smrgfi 2184ef7198c0Smrgif test -z "$ac_cv_prog_STRIP"; then 2185ef7198c0Smrg ac_ct_STRIP=$STRIP 2186ef7198c0Smrg # Extract the first word of "strip", so it can be a program name with args. 2187ef7198c0Smrgset dummy strip; ac_word=$2 21887591dea4Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 21897591dea4Smrgprintf %s "checking for $ac_word... " >&6; } 21907591dea4Smrgif test ${ac_cv_prog_ac_ct_STRIP+y} 21917591dea4Smrgthen : 21927591dea4Smrg printf %s "(cached) " >&6 21937591dea4Smrgelse $as_nop 2194ef7198c0Smrg if test -n "$ac_ct_STRIP"; then 2195ef7198c0Smrg ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2196ef7198c0Smrgelse 2197ef7198c0Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2198ef7198c0Smrgfor as_dir in $PATH 2199ef7198c0Smrgdo 2200ef7198c0Smrg IFS=$as_save_IFS 22017591dea4Smrg case $as_dir in #((( 22027591dea4Smrg '') as_dir=./ ;; 22037591dea4Smrg */) ;; 22047591dea4Smrg *) as_dir=$as_dir/ ;; 22057591dea4Smrg esac 22063a67387eSmrg for ac_exec_ext in '' $ac_executable_extensions; do 22077591dea4Smrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2208ef7198c0Smrg ac_cv_prog_ac_ct_STRIP="strip" 22097591dea4Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2210ef7198c0Smrg break 2 2211ef7198c0Smrg fi 2212ef7198c0Smrgdone 22133a67387eSmrg done 2214ef7198c0SmrgIFS=$as_save_IFS 2215ef7198c0Smrg 2216ef7198c0Smrgfi 2217ef7198c0Smrgfi 2218ef7198c0Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2219ef7198c0Smrgif test -n "$ac_ct_STRIP"; then 22207591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 22217591dea4Smrgprintf "%s\n" "$ac_ct_STRIP" >&6; } 2222ef7198c0Smrgelse 22237591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 22247591dea4Smrgprintf "%s\n" "no" >&6; } 2225ef7198c0Smrgfi 2226ef7198c0Smrg 2227ef7198c0Smrg if test "x$ac_ct_STRIP" = x; then 2228ef7198c0Smrg STRIP=":" 2229ef7198c0Smrg else 2230ef7198c0Smrg case $cross_compiling:$ac_tool_warned in 2231ef7198c0Smrgyes:) 22327591dea4Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 22337591dea4Smrgprintf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2234ef7198c0Smrgac_tool_warned=yes ;; 2235ef7198c0Smrgesac 2236ef7198c0Smrg STRIP=$ac_ct_STRIP 2237ef7198c0Smrg fi 2238ef7198c0Smrgelse 2239ef7198c0Smrg STRIP="$ac_cv_prog_STRIP" 2240ef7198c0Smrgfi 2241ef7198c0Smrg 2242ef7198c0Smrgfi 2243ef7198c0SmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2244ef7198c0Smrg 22457591dea4Smrg 22467591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5 22477591dea4Smrgprintf %s "checking for a race-free mkdir -p... " >&6; } 2248ef7198c0Smrgif test -z "$MKDIR_P"; then 22497591dea4Smrg if test ${ac_cv_path_mkdir+y} 22507591dea4Smrgthen : 22517591dea4Smrg printf %s "(cached) " >&6 22527591dea4Smrgelse $as_nop 2253ef7198c0Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2254ef7198c0Smrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2255ef7198c0Smrgdo 2256ef7198c0Smrg IFS=$as_save_IFS 22577591dea4Smrg case $as_dir in #((( 22587591dea4Smrg '') as_dir=./ ;; 22597591dea4Smrg */) ;; 22607591dea4Smrg *) as_dir=$as_dir/ ;; 22617591dea4Smrg esac 22623a67387eSmrg for ac_prog in mkdir gmkdir; do 2263ef7198c0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 22647591dea4Smrg as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue 22657591dea4Smrg case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #( 22667591dea4Smrg 'mkdir ('*'coreutils) '* | \ 22677591dea4Smrg 'BusyBox '* | \ 2268ef7198c0Smrg 'mkdir (fileutils) '4.1*) 22697591dea4Smrg ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext 2270ef7198c0Smrg break 3;; 2271ef7198c0Smrg esac 2272ef7198c0Smrg done 2273ef7198c0Smrg done 22743a67387eSmrg done 2275ef7198c0SmrgIFS=$as_save_IFS 2276ef7198c0Smrg 2277ef7198c0Smrgfi 2278ef7198c0Smrg 22793a67387eSmrg test -d ./--version && rmdir ./--version 22807591dea4Smrg if test ${ac_cv_path_mkdir+y}; then 2281ef7198c0Smrg MKDIR_P="$ac_cv_path_mkdir -p" 2282ef7198c0Smrg else 2283ef7198c0Smrg # As a last resort, use the slow shell script. Don't cache a 2284ef7198c0Smrg # value for MKDIR_P within a source directory, because that will 2285ef7198c0Smrg # break other packages using the cache if that directory is 2286ef7198c0Smrg # removed, or if the value is a relative name. 2287ef7198c0Smrg MKDIR_P="$ac_install_sh -d" 2288ef7198c0Smrg fi 228956f6b22bSmrgfi 22907591dea4Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 22917591dea4Smrgprintf "%s\n" "$MKDIR_P" >&6; } 229256f6b22bSmrg 229356f6b22bSmrgfor ac_prog in gawk mawk nawk awk 229456f6b22bSmrgdo 229556f6b22bSmrg # Extract the first word of "$ac_prog", so it can be a program name with args. 229656f6b22bSmrgset dummy $ac_prog; ac_word=$2 22977591dea4Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22987591dea4Smrgprintf %s "checking for $ac_word... " >&6; } 22997591dea4Smrgif test ${ac_cv_prog_AWK+y} 23007591dea4Smrgthen : 23017591dea4Smrg printf %s "(cached) " >&6 23027591dea4Smrgelse $as_nop 230356f6b22bSmrg if test -n "$AWK"; then 230456f6b22bSmrg ac_cv_prog_AWK="$AWK" # Let the user override the test. 230556f6b22bSmrgelse 230656f6b22bSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 230756f6b22bSmrgfor as_dir in $PATH 230856f6b22bSmrgdo 230956f6b22bSmrg IFS=$as_save_IFS 23107591dea4Smrg case $as_dir in #((( 23117591dea4Smrg '') as_dir=./ ;; 23127591dea4Smrg */) ;; 23137591dea4Smrg *) as_dir=$as_dir/ ;; 23147591dea4Smrg esac 23153a67387eSmrg for ac_exec_ext in '' $ac_executable_extensions; do 23167591dea4Smrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 231756f6b22bSmrg ac_cv_prog_AWK="$ac_prog" 23187591dea4Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 231956f6b22bSmrg break 2 232056f6b22bSmrg fi 232156f6b22bSmrgdone 23223a67387eSmrg done 2323ef7198c0SmrgIFS=$as_save_IFS 232456f6b22bSmrg 232556f6b22bSmrgfi 232656f6b22bSmrgfi 232756f6b22bSmrgAWK=$ac_cv_prog_AWK 232856f6b22bSmrgif test -n "$AWK"; then 23297591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 23307591dea4Smrgprintf "%s\n" "$AWK" >&6; } 233156f6b22bSmrgelse 23327591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 23337591dea4Smrgprintf "%s\n" "no" >&6; } 233456f6b22bSmrgfi 233556f6b22bSmrg 2336ef7198c0Smrg 233756f6b22bSmrg test -n "$AWK" && break 233856f6b22bSmrgdone 233956f6b22bSmrg 23407591dea4Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 23417591dea4Smrgprintf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2342ef7198c0Smrgset x ${MAKE-make} 23437591dea4Smrgac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 23447591dea4Smrgif eval test \${ac_cv_prog_make_${ac_make}_set+y} 23457591dea4Smrgthen : 23467591dea4Smrg printf %s "(cached) " >&6 23477591dea4Smrgelse $as_nop 234856f6b22bSmrg cat >conftest.make <<\_ACEOF 2349ef7198c0SmrgSHELL = /bin/sh 235056f6b22bSmrgall: 2351ef7198c0Smrg @echo '@@@%%%=$(MAKE)=@@@%%%' 235256f6b22bSmrg_ACEOF 23533a67387eSmrg# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2354ef7198c0Smrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in 2355ef7198c0Smrg *@@@%%%=?*=@@@%%%*) 2356ef7198c0Smrg eval ac_cv_prog_make_${ac_make}_set=yes;; 2357ef7198c0Smrg *) 2358ef7198c0Smrg eval ac_cv_prog_make_${ac_make}_set=no;; 2359ef7198c0Smrgesac 236056f6b22bSmrgrm -f conftest.make 236156f6b22bSmrgfi 2362ef7198c0Smrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 23637591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 23647591dea4Smrgprintf "%s\n" "yes" >&6; } 236556f6b22bSmrg SET_MAKE= 236656f6b22bSmrgelse 23677591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 23687591dea4Smrgprintf "%s\n" "no" >&6; } 236956f6b22bSmrg SET_MAKE="MAKE=${MAKE-make}" 237056f6b22bSmrgfi 237156f6b22bSmrg 237256f6b22bSmrgrm -rf .tst 2>/dev/null 237356f6b22bSmrgmkdir .tst 2>/dev/null 237456f6b22bSmrgif test -d .tst; then 237556f6b22bSmrg am__leading_dot=. 237656f6b22bSmrgelse 237756f6b22bSmrg am__leading_dot=_ 237856f6b22bSmrgfi 237956f6b22bSmrgrmdir .tst 2>/dev/null 238056f6b22bSmrg 23817591dea4Smrg# Check whether --enable-silent-rules was given. 23827591dea4Smrgif test ${enable_silent_rules+y} 23837591dea4Smrgthen : 23847591dea4Smrg enableval=$enable_silent_rules; 23857591dea4Smrgfi 23867591dea4Smrg 23877591dea4Smrgcase $enable_silent_rules in # ((( 23887591dea4Smrg yes) AM_DEFAULT_VERBOSITY=0;; 23897591dea4Smrg no) AM_DEFAULT_VERBOSITY=1;; 23907591dea4Smrg *) AM_DEFAULT_VERBOSITY=1;; 23917591dea4Smrgesac 23927591dea4Smrgam_make=${MAKE-make} 23937591dea4Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 23947591dea4Smrgprintf %s "checking whether $am_make supports nested variables... " >&6; } 23957591dea4Smrgif test ${am_cv_make_support_nested_variables+y} 23967591dea4Smrgthen : 23977591dea4Smrg printf %s "(cached) " >&6 23987591dea4Smrgelse $as_nop 23997591dea4Smrg if printf "%s\n" 'TRUE=$(BAR$(V)) 24007591dea4SmrgBAR0=false 24017591dea4SmrgBAR1=true 24027591dea4SmrgV=1 24037591dea4Smrgam__doit: 24047591dea4Smrg @$(TRUE) 24057591dea4Smrg.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 24067591dea4Smrg am_cv_make_support_nested_variables=yes 24077591dea4Smrgelse 24087591dea4Smrg am_cv_make_support_nested_variables=no 24097591dea4Smrgfi 24107591dea4Smrgfi 24117591dea4Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 24127591dea4Smrgprintf "%s\n" "$am_cv_make_support_nested_variables" >&6; } 24137591dea4Smrgif test $am_cv_make_support_nested_variables = yes; then 24147591dea4Smrg AM_V='$(V)' 24157591dea4Smrg AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 24167591dea4Smrgelse 24177591dea4Smrg AM_V=$AM_DEFAULT_VERBOSITY 24187591dea4Smrg AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 24197591dea4Smrgfi 24207591dea4SmrgAM_BACKSLASH='\' 24217591dea4Smrg 2422ef7198c0Smrgif test "`cd $srcdir && pwd`" != "`pwd`"; then 2423ef7198c0Smrg # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2424ef7198c0Smrg # is not polluted with repeated "-I." 2425ef7198c0Smrg am__isrc=' -I$(srcdir)' 2426ef7198c0Smrg # test to see if srcdir already configured 2427ef7198c0Smrg if test -f $srcdir/config.status; then 24283a67387eSmrg as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2429ef7198c0Smrg fi 243056f6b22bSmrgfi 243156f6b22bSmrg 243256f6b22bSmrg# test whether we have cygpath 243356f6b22bSmrgif test -z "$CYGPATH_W"; then 243456f6b22bSmrg if (cygpath --version) >/dev/null 2>/dev/null; then 243556f6b22bSmrg CYGPATH_W='cygpath -w' 243656f6b22bSmrg else 243756f6b22bSmrg CYGPATH_W=echo 243856f6b22bSmrg fi 243956f6b22bSmrgfi 244056f6b22bSmrg 244156f6b22bSmrg 244256f6b22bSmrg# Define the identity of the package. 244356f6b22bSmrg PACKAGE='font-bitstream-100dpi' 24447591dea4Smrg VERSION='1.0.4' 244556f6b22bSmrg 244656f6b22bSmrg 24477591dea4Smrgprintf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h 244856f6b22bSmrg 244956f6b22bSmrg 24507591dea4Smrgprintf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h 245156f6b22bSmrg 245256f6b22bSmrg# Some tools Automake needs. 245356f6b22bSmrg 245456f6b22bSmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 245556f6b22bSmrg 245656f6b22bSmrg 245756f6b22bSmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 245856f6b22bSmrg 245956f6b22bSmrg 246056f6b22bSmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 246156f6b22bSmrg 246256f6b22bSmrg 246356f6b22bSmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 246456f6b22bSmrg 246556f6b22bSmrg 246656f6b22bSmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 246756f6b22bSmrg 24687591dea4Smrg# For better backward compatibility. To be removed once Automake 1.9.x 24697591dea4Smrg# dies out for good. For more background, see: 24707591dea4Smrg# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 24717591dea4Smrg# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 24727591dea4Smrgmkdir_p='$(MKDIR_P)' 247356f6b22bSmrg 24747591dea4Smrg# We need awk for the "check" target (and possibly the TAP driver). The 24757591dea4Smrg# system "awk" is bad on some platforms. 24767591dea4Smrg# Always define AMTAR for backward compatibility. Yes, it's still used 24777591dea4Smrg# in the wild :-( We should find a proper way to deprecate it ... 24787591dea4SmrgAMTAR='$${TAR-tar}' 247956f6b22bSmrg 248056f6b22bSmrg 24817591dea4Smrg# We'll loop over all known methods to create a tar archive until one works. 24827591dea4Smrg_am_tools='gnutar pax cpio none' 2483ef7198c0Smrg 24847591dea4Smrgam__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 2485ef7198c0Smrg 2486ef7198c0Smrg 2487ef7198c0Smrg 2488ef7198c0Smrg 24897591dea4Smrg 24907591dea4Smrg# Variables for tags utilities; see am/tags.am 24917591dea4Smrgif test -z "$CTAGS"; then 24927591dea4Smrg CTAGS=ctags 2493ef7198c0Smrgfi 2494ef7198c0Smrg 24957591dea4Smrgif test -z "$ETAGS"; then 24967591dea4Smrg ETAGS=etags 2497ef7198c0Smrgfi 2498ef7198c0Smrg 24997591dea4Smrgif test -z "$CSCOPE"; then 25007591dea4Smrg CSCOPE=cscope 25017591dea4Smrgfi 2502ef7198c0Smrg 2503ef7198c0Smrg 2504ef7198c0Smrg 25057591dea4Smrg# POSIX will say in a future version that running "rm -f" with no argument 25067591dea4Smrg# is OK; and we want to be able to make that assumption in our Makefile 25077591dea4Smrg# recipes. So use an aggressive probe to check that the usage we want is 25087591dea4Smrg# actually supported "in the wild" to an acceptable degree. 25097591dea4Smrg# See automake bug#10828. 25107591dea4Smrg# To make any issue more visible, cause the running configure to be aborted 25117591dea4Smrg# by default if the 'rm' program in use doesn't match our expectations; the 25127591dea4Smrg# user can still override this though. 25137591dea4Smrgif rm -f && rm -fr && rm -rf; then : OK; else 25147591dea4Smrg cat >&2 <<'END' 25157591dea4SmrgOops! 2516ef7198c0Smrg 25177591dea4SmrgYour 'rm' program seems unable to run without file operands specified 25187591dea4Smrgon the command line, even when the '-f' option is present. This is contrary 25197591dea4Smrgto the behaviour of most rm programs out there, and not conforming with 25207591dea4Smrgthe upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 2521ef7198c0Smrg 25227591dea4SmrgPlease tell bug-automake@gnu.org about your system, including the value 25237591dea4Smrgof your $PATH and any error possibly output before this message. This 25247591dea4Smrgcan help us improve future automake versions. 2525ef7198c0Smrg 25267591dea4SmrgEND 25277591dea4Smrg if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 25287591dea4Smrg echo 'Configuration will proceed anyway, since you have set the' >&2 25297591dea4Smrg echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 25307591dea4Smrg echo >&2 25317591dea4Smrg else 25327591dea4Smrg cat >&2 <<'END' 25337591dea4SmrgAborting the configuration process, to ensure you take notice of the issue. 2534ef7198c0Smrg 25357591dea4SmrgYou can download and install GNU coreutils to get an 'rm' implementation 25367591dea4Smrgthat behaves properly: <https://www.gnu.org/software/coreutils/>. 2537ef7198c0Smrg 25387591dea4SmrgIf you want to complete the configuration process using your problematic 25397591dea4Smrg'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 25407591dea4Smrgto "yes", and re-run configure. 2541ef7198c0Smrg 25427591dea4SmrgEND 25437591dea4Smrg as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 25447591dea4Smrg fi 25457591dea4Smrgfi 2546ef7198c0Smrg 2547ef7198c0Smrg 25487591dea4Smrg# Require xorg-macros 1.20 or later: XORG_DEFAULT_NOCODE_OPTIONS 2549ef7198c0Smrg 2550ef7198c0Smrg 2551ef7198c0Smrg 2552ef7198c0Smrg 2553ef7198c0Smrg 2554ef7198c0Smrg 2555ef7198c0Smrg 2556ef7198c0Smrg 2557ef7198c0Smrg 2558ef7198c0Smrg 2559ef7198c0Smrg 2560ef7198c0Smrg 2561ef7198c0Smrg 2562ef7198c0Smrg 2563ef7198c0Smrg 2564ef7198c0Smrg 2565ef7198c0Smrg 2566ef7198c0Smrg 25673a67387eSmrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 25683a67387eSmrg if test -n "$ac_tool_prefix"; then 25693a67387eSmrg # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 25703a67387eSmrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2 25717591dea4Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 25727591dea4Smrgprintf %s "checking for $ac_word... " >&6; } 25737591dea4Smrgif test ${ac_cv_path_PKG_CONFIG+y} 25747591dea4Smrgthen : 25757591dea4Smrg printf %s "(cached) " >&6 25767591dea4Smrgelse $as_nop 25773a67387eSmrg case $PKG_CONFIG in 25783a67387eSmrg [\\/]* | ?:[\\/]*) 25793a67387eSmrg ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 25803a67387eSmrg ;; 25813a67387eSmrg *) 25823a67387eSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 25833a67387eSmrgfor as_dir in $PATH 2584ef7198c0Smrgdo 25853a67387eSmrg IFS=$as_save_IFS 25867591dea4Smrg case $as_dir in #((( 25877591dea4Smrg '') as_dir=./ ;; 25887591dea4Smrg */) ;; 25897591dea4Smrg *) as_dir=$as_dir/ ;; 25907591dea4Smrg esac 25913a67387eSmrg for ac_exec_ext in '' $ac_executable_extensions; do 25927591dea4Smrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 25937591dea4Smrg ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" 25947591dea4Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 25953a67387eSmrg break 2 25963a67387eSmrg fi 25973a67387eSmrgdone 25983a67387eSmrg done 25993a67387eSmrgIFS=$as_save_IFS 26003a67387eSmrg 26013a67387eSmrg ;; 2602ef7198c0Smrgesac 26033a67387eSmrgfi 26043a67387eSmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG 26053a67387eSmrgif test -n "$PKG_CONFIG"; then 26067591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 26077591dea4Smrgprintf "%s\n" "$PKG_CONFIG" >&6; } 2608ef7198c0Smrgelse 26097591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 26107591dea4Smrgprintf "%s\n" "no" >&6; } 2611ef7198c0Smrgfi 2612ef7198c0Smrg 2613ef7198c0Smrg 2614ef7198c0Smrgfi 26153a67387eSmrgif test -z "$ac_cv_path_PKG_CONFIG"; then 26163a67387eSmrg ac_pt_PKG_CONFIG=$PKG_CONFIG 26173a67387eSmrg # Extract the first word of "pkg-config", so it can be a program name with args. 26183a67387eSmrgset dummy pkg-config; ac_word=$2 26197591dea4Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 26207591dea4Smrgprintf %s "checking for $ac_word... " >&6; } 26217591dea4Smrgif test ${ac_cv_path_ac_pt_PKG_CONFIG+y} 26227591dea4Smrgthen : 26237591dea4Smrg printf %s "(cached) " >&6 26247591dea4Smrgelse $as_nop 26253a67387eSmrg case $ac_pt_PKG_CONFIG in 26263a67387eSmrg [\\/]* | ?:[\\/]*) 26273a67387eSmrg ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 26283a67387eSmrg ;; 2629ef7198c0Smrg *) 26303a67387eSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 26313a67387eSmrgfor as_dir in $PATH 26323a67387eSmrgdo 26333a67387eSmrg IFS=$as_save_IFS 26347591dea4Smrg case $as_dir in #((( 26357591dea4Smrg '') as_dir=./ ;; 26367591dea4Smrg */) ;; 26377591dea4Smrg *) as_dir=$as_dir/ ;; 26387591dea4Smrg esac 26393a67387eSmrg for ac_exec_ext in '' $ac_executable_extensions; do 26407591dea4Smrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 26417591dea4Smrg ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" 26427591dea4Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 26433a67387eSmrg break 2 26443a67387eSmrg fi 26453a67387eSmrgdone 26463a67387eSmrg done 26473a67387eSmrgIFS=$as_save_IFS 2648ef7198c0Smrg 26493a67387eSmrg ;; 26503a67387eSmrgesac 26513a67387eSmrgfi 26523a67387eSmrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 26533a67387eSmrgif test -n "$ac_pt_PKG_CONFIG"; then 26547591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 26557591dea4Smrgprintf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } 26563a67387eSmrgelse 26577591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 26587591dea4Smrgprintf "%s\n" "no" >&6; } 26593a67387eSmrgfi 2660ef7198c0Smrg 26613a67387eSmrg if test "x$ac_pt_PKG_CONFIG" = x; then 26623a67387eSmrg PKG_CONFIG="" 26633a67387eSmrg else 26643a67387eSmrg case $cross_compiling:$ac_tool_warned in 26653a67387eSmrgyes:) 26667591dea4Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 26677591dea4Smrgprintf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 26683a67387eSmrgac_tool_warned=yes ;; 26693a67387eSmrgesac 26703a67387eSmrg PKG_CONFIG=$ac_pt_PKG_CONFIG 26713a67387eSmrg fi 26723a67387eSmrgelse 26733a67387eSmrg PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 26743a67387eSmrgfi 2675ef7198c0Smrg 26763a67387eSmrgfi 26773a67387eSmrgif test -n "$PKG_CONFIG"; then 26783a67387eSmrg _pkg_min_version=0.9.0 26797591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 26807591dea4Smrgprintf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; } 26813a67387eSmrg if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 26827591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 26837591dea4Smrgprintf "%s\n" "yes" >&6; } 26843a67387eSmrg else 26857591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 26867591dea4Smrgprintf "%s\n" "no" >&6; } 26873a67387eSmrg PKG_CONFIG="" 26883a67387eSmrg fi 26893a67387eSmrgfi 2690ef7198c0Smrg 26917591dea4Smrg 26927591dea4Smrg # Make sure we can run config.sub. 26937591dea4Smrg$SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 || 26947591dea4Smrg as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5 26957591dea4Smrg 26967591dea4Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 26977591dea4Smrgprintf %s "checking build system type... " >&6; } 26987591dea4Smrgif test ${ac_cv_build+y} 26997591dea4Smrgthen : 27007591dea4Smrg printf %s "(cached) " >&6 27017591dea4Smrgelse $as_nop 2702ef7198c0Smrg ac_build_alias=$build_alias 2703ef7198c0Smrgtest "x$ac_build_alias" = x && 27047591dea4Smrg ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"` 2705ef7198c0Smrgtest "x$ac_build_alias" = x && 27063a67387eSmrg as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 27077591dea4Smrgac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` || 27087591dea4Smrg as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5 2709ef7198c0Smrg 2710ef7198c0Smrgfi 27117591dea4Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 27127591dea4Smrgprintf "%s\n" "$ac_cv_build" >&6; } 2713ef7198c0Smrgcase $ac_cv_build in 2714ef7198c0Smrg*-*-*) ;; 27153a67387eSmrg*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 2716ef7198c0Smrgesac 2717ef7198c0Smrgbuild=$ac_cv_build 2718ef7198c0Smrgac_save_IFS=$IFS; IFS='-' 2719ef7198c0Smrgset x $ac_cv_build 2720ef7198c0Smrgshift 2721ef7198c0Smrgbuild_cpu=$1 2722ef7198c0Smrgbuild_vendor=$2 2723ef7198c0Smrgshift; shift 2724ef7198c0Smrg# Remember, the first character of IFS is used to create $*, 2725ef7198c0Smrg# except with old shells: 2726ef7198c0Smrgbuild_os=$* 2727ef7198c0SmrgIFS=$ac_save_IFS 2728ef7198c0Smrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2729ef7198c0Smrg 2730ef7198c0Smrg 27317591dea4Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 27327591dea4Smrgprintf %s "checking host system type... " >&6; } 27337591dea4Smrgif test ${ac_cv_host+y} 27347591dea4Smrgthen : 27357591dea4Smrg printf %s "(cached) " >&6 27367591dea4Smrgelse $as_nop 2737ef7198c0Smrg if test "x$host_alias" = x; then 2738ef7198c0Smrg ac_cv_host=$ac_cv_build 2739ef7198c0Smrgelse 27407591dea4Smrg ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` || 27417591dea4Smrg as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5 2742ef7198c0Smrgfi 2743ef7198c0Smrg 2744ef7198c0Smrgfi 27457591dea4Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 27467591dea4Smrgprintf "%s\n" "$ac_cv_host" >&6; } 2747ef7198c0Smrgcase $ac_cv_host in 2748ef7198c0Smrg*-*-*) ;; 27493a67387eSmrg*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 2750ef7198c0Smrgesac 2751ef7198c0Smrghost=$ac_cv_host 2752ef7198c0Smrgac_save_IFS=$IFS; IFS='-' 2753ef7198c0Smrgset x $ac_cv_host 2754ef7198c0Smrgshift 2755ef7198c0Smrghost_cpu=$1 2756ef7198c0Smrghost_vendor=$2 2757ef7198c0Smrgshift; shift 2758ef7198c0Smrg# Remember, the first character of IFS is used to create $*, 2759ef7198c0Smrg# except with old shells: 2760ef7198c0Smrghost_os=$* 2761ef7198c0SmrgIFS=$ac_save_IFS 2762ef7198c0Smrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2763ef7198c0Smrg 2764ef7198c0Smrg 27657591dea4Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 27667591dea4Smrgprintf %s "checking for a sed that does not truncate output... " >&6; } 27677591dea4Smrgif test ${ac_cv_path_SED+y} 27687591dea4Smrgthen : 27697591dea4Smrg printf %s "(cached) " >&6 27707591dea4Smrgelse $as_nop 27713a67387eSmrg ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 27723a67387eSmrg for ac_i in 1 2 3 4 5 6 7; do 27733a67387eSmrg ac_script="$ac_script$as_nl$ac_script" 27743a67387eSmrg done 27753a67387eSmrg echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 27763a67387eSmrg { ac_script=; unset ac_script;} 27773a67387eSmrg if test -z "$SED"; then 27783a67387eSmrg ac_path_SED_found=false 27793a67387eSmrg # Loop through the user's path and test for each of PROGNAME-LIST 27803a67387eSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 27813a67387eSmrgfor as_dir in $PATH 27823a67387eSmrgdo 27833a67387eSmrg IFS=$as_save_IFS 27847591dea4Smrg case $as_dir in #((( 27857591dea4Smrg '') as_dir=./ ;; 27867591dea4Smrg */) ;; 27877591dea4Smrg *) as_dir=$as_dir/ ;; 27887591dea4Smrg esac 27897591dea4Smrg for ac_prog in sed gsed 27907591dea4Smrg do 27913a67387eSmrg for ac_exec_ext in '' $ac_executable_extensions; do 27927591dea4Smrg ac_path_SED="$as_dir$ac_prog$ac_exec_ext" 27937591dea4Smrg as_fn_executable_p "$ac_path_SED" || continue 27943a67387eSmrg# Check for GNU ac_path_SED and select it if it is found. 27953a67387eSmrg # Check for GNU $ac_path_SED 27963a67387eSmrgcase `"$ac_path_SED" --version 2>&1` in 27973a67387eSmrg*GNU*) 27983a67387eSmrg ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 27993a67387eSmrg*) 28003a67387eSmrg ac_count=0 28017591dea4Smrg printf %s 0123456789 >"conftest.in" 28023a67387eSmrg while : 28033a67387eSmrg do 28043a67387eSmrg cat "conftest.in" "conftest.in" >"conftest.tmp" 28053a67387eSmrg mv "conftest.tmp" "conftest.in" 28063a67387eSmrg cp "conftest.in" "conftest.nl" 28077591dea4Smrg printf "%s\n" '' >> "conftest.nl" 28083a67387eSmrg "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 28093a67387eSmrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 28103a67387eSmrg as_fn_arith $ac_count + 1 && ac_count=$as_val 28113a67387eSmrg if test $ac_count -gt ${ac_path_SED_max-0}; then 28123a67387eSmrg # Best one so far, save it but keep looking for a better one 28133a67387eSmrg ac_cv_path_SED="$ac_path_SED" 28143a67387eSmrg ac_path_SED_max=$ac_count 28153a67387eSmrg fi 28163a67387eSmrg # 10*(2^10) chars as input seems more than enough 28173a67387eSmrg test $ac_count -gt 10 && break 28183a67387eSmrg done 28193a67387eSmrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 28203a67387eSmrgesac 28213a67387eSmrg 28223a67387eSmrg $ac_path_SED_found && break 3 28233a67387eSmrg done 28243a67387eSmrg done 28253a67387eSmrg done 28263a67387eSmrgIFS=$as_save_IFS 28273a67387eSmrg if test -z "$ac_cv_path_SED"; then 28283a67387eSmrg as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 28293a67387eSmrg fi 28303a67387eSmrgelse 28313a67387eSmrg ac_cv_path_SED=$SED 28323a67387eSmrgfi 28333a67387eSmrg 28343a67387eSmrgfi 28357591dea4Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 28367591dea4Smrgprintf "%s\n" "$ac_cv_path_SED" >&6; } 28373a67387eSmrg SED="$ac_cv_path_SED" 28383a67387eSmrg rm -f conftest.sed 28393a67387eSmrg 28403a67387eSmrg 2841ef7198c0Smrg 2842ef7198c0Smrg 2843ef7198c0Smrg 2844ef7198c0Smrgcat >>confdefs.h <<_ACEOF 2845ef7198c0Smrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 2846ef7198c0Smrg_ACEOF 2847ef7198c0Smrg 2848ef7198c0Smrg PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 2849ef7198c0Smrg if test "x$PVM" = "x"; then 2850ef7198c0Smrg PVM="0" 2851ef7198c0Smrg fi 2852ef7198c0Smrg 28537591dea4Smrgprintf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h 2854ef7198c0Smrg 2855ef7198c0Smrg PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 2856ef7198c0Smrg if test "x$PVP" = "x"; then 2857ef7198c0Smrg PVP="0" 2858ef7198c0Smrg fi 2859ef7198c0Smrg 28607591dea4Smrgprintf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h 2861ef7198c0Smrg 2862ef7198c0Smrg 2863ef7198c0Smrg 28647591dea4SmrgCHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \ 28653a67387eSmrgmv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \ 28667591dea4Smrg|| (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \ 28677591dea4Smrgtouch \$(top_srcdir)/ChangeLog; \ 28687591dea4Smrgecho 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))" 2869ef7198c0Smrg 28703a67387eSmrg 28713a67387eSmrg 28723a67387eSmrg 28733a67387eSmrgmacros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros` 28743a67387eSmrgINSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \ 28753a67387eSmrgmv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \ 28767591dea4Smrg|| (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \ 28777591dea4Smrgtouch \$(top_srcdir)/INSTALL; \ 28787591dea4Smrgecho 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))" 28793a67387eSmrg 2880ef7198c0Smrg 2881ef7198c0Smrg 2882ef7198c0Smrg 2883ef7198c0Smrg 2884ef7198c0Smrg 28857591dea4Smrgcase $host_os in 28867591dea4Smrg solaris*) 28877591dea4Smrg # Solaris 2.0 - 11.3 use SysV man page section numbers, so we 28887591dea4Smrg # check for a man page file found in later versions that use 28897591dea4Smrg # traditional section numbers instead 28907591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5 28917591dea4Smrgprintf %s "checking for /usr/share/man/man7/attributes.7... " >&6; } 28927591dea4Smrgif test ${ac_cv_file__usr_share_man_man7_attributes_7+y} 28937591dea4Smrgthen : 28947591dea4Smrg printf %s "(cached) " >&6 28957591dea4Smrgelse $as_nop 28967591dea4Smrg test "$cross_compiling" = yes && 28977591dea4Smrg as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 28987591dea4Smrgif test -r "/usr/share/man/man7/attributes.7"; then 28997591dea4Smrg ac_cv_file__usr_share_man_man7_attributes_7=yes 29007591dea4Smrgelse 29017591dea4Smrg ac_cv_file__usr_share_man_man7_attributes_7=no 29027591dea4Smrgfi 29037591dea4Smrgfi 29047591dea4Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5 29057591dea4Smrgprintf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; } 29067591dea4Smrgif test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes 29077591dea4Smrgthen : 29087591dea4Smrg SYSV_MAN_SECTIONS=false 29097591dea4Smrgelse $as_nop 29107591dea4Smrg SYSV_MAN_SECTIONS=true 29117591dea4Smrgfi 29127591dea4Smrg 29137591dea4Smrg ;; 29147591dea4Smrg *) SYSV_MAN_SECTIONS=false ;; 29157591dea4Smrgesac 29167591dea4Smrg 2917ef7198c0Smrgif test x$APP_MAN_SUFFIX = x ; then 2918ef7198c0Smrg APP_MAN_SUFFIX=1 2919ef7198c0Smrgfi 2920ef7198c0Smrgif test x$APP_MAN_DIR = x ; then 2921ef7198c0Smrg APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 292256f6b22bSmrgfi 292356f6b22bSmrg 2924ef7198c0Smrgif test x$LIB_MAN_SUFFIX = x ; then 2925ef7198c0Smrg LIB_MAN_SUFFIX=3 2926ef7198c0Smrgfi 2927ef7198c0Smrgif test x$LIB_MAN_DIR = x ; then 2928ef7198c0Smrg LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 2929ef7198c0Smrgfi 2930ef7198c0Smrg 2931ef7198c0Smrgif test x$FILE_MAN_SUFFIX = x ; then 29327591dea4Smrg case $SYSV_MAN_SECTIONS in 29337591dea4Smrg true) FILE_MAN_SUFFIX=4 ;; 29347591dea4Smrg *) FILE_MAN_SUFFIX=5 ;; 2935ef7198c0Smrg esac 2936ef7198c0Smrgfi 2937ef7198c0Smrgif test x$FILE_MAN_DIR = x ; then 2938ef7198c0Smrg FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 2939ef7198c0Smrgfi 2940ef7198c0Smrg 2941ef7198c0Smrgif test x$MISC_MAN_SUFFIX = x ; then 29427591dea4Smrg case $SYSV_MAN_SECTIONS in 29437591dea4Smrg true) MISC_MAN_SUFFIX=5 ;; 29447591dea4Smrg *) MISC_MAN_SUFFIX=7 ;; 2945ef7198c0Smrg esac 2946ef7198c0Smrgfi 2947ef7198c0Smrgif test x$MISC_MAN_DIR = x ; then 2948ef7198c0Smrg MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 2949ef7198c0Smrgfi 2950ef7198c0Smrg 2951ef7198c0Smrgif test x$DRIVER_MAN_SUFFIX = x ; then 29527591dea4Smrg case $SYSV_MAN_SECTIONS in 29537591dea4Smrg true) DRIVER_MAN_SUFFIX=7 ;; 29547591dea4Smrg *) DRIVER_MAN_SUFFIX=4 ;; 2955ef7198c0Smrg esac 2956ef7198c0Smrgfi 2957ef7198c0Smrgif test x$DRIVER_MAN_DIR = x ; then 2958ef7198c0Smrg DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 2959ef7198c0Smrgfi 2960ef7198c0Smrg 2961ef7198c0Smrgif test x$ADMIN_MAN_SUFFIX = x ; then 29627591dea4Smrg case $SYSV_MAN_SECTIONS in 29637591dea4Smrg true) ADMIN_MAN_SUFFIX=1m ;; 29647591dea4Smrg *) ADMIN_MAN_SUFFIX=8 ;; 2965ef7198c0Smrg esac 2966ef7198c0Smrgfi 2967ef7198c0Smrgif test x$ADMIN_MAN_DIR = x ; then 2968ef7198c0Smrg ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 2969ef7198c0Smrgfi 2970ef7198c0Smrg 2971ef7198c0Smrg 2972ef7198c0Smrg 2973ef7198c0Smrg 2974ef7198c0Smrg 2975ef7198c0Smrg 2976ef7198c0Smrg 2977ef7198c0Smrg 2978ef7198c0Smrg 2979ef7198c0Smrg 2980ef7198c0Smrg 2981ef7198c0Smrg 2982ef7198c0Smrg 2983ef7198c0Smrg 298456f6b22bSmrg 29853a67387eSmrgXORG_MAN_PAGE="X Version 11" 298656f6b22bSmrg 29873a67387eSmrgMAN_SUBSTS="\ 29883a67387eSmrg -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 29893a67387eSmrg -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 29903a67387eSmrg -e 's|__xservername__|Xorg|g' \ 29913a67387eSmrg -e 's|__xconfigfile__|xorg.conf|g' \ 29923a67387eSmrg -e 's|__projectroot__|\$(prefix)|g' \ 29933a67387eSmrg -e 's|__apploaddir__|\$(appdefaultdir)|g' \ 29943a67387eSmrg -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \ 29953a67387eSmrg -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \ 29963a67387eSmrg -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \ 29973a67387eSmrg -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \ 29983a67387eSmrg -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \ 29993a67387eSmrg -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'" 300056f6b22bSmrg 300156f6b22bSmrg 300256f6b22bSmrg 30033a67387eSmrg# Check whether --enable-silent-rules was given. 30047591dea4Smrgif test ${enable_silent_rules+y} 30057591dea4Smrgthen : 30063a67387eSmrg enableval=$enable_silent_rules; 300756f6b22bSmrgfi 3008ef7198c0Smrg 30097591dea4Smrgcase $enable_silent_rules in # ((( 30107591dea4Smrg yes) AM_DEFAULT_VERBOSITY=0;; 30117591dea4Smrg no) AM_DEFAULT_VERBOSITY=1;; 30127591dea4Smrg *) AM_DEFAULT_VERBOSITY=0;; 30133a67387eSmrgesac 30147591dea4Smrgam_make=${MAKE-make} 30157591dea4Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 30167591dea4Smrgprintf %s "checking whether $am_make supports nested variables... " >&6; } 30177591dea4Smrgif test ${am_cv_make_support_nested_variables+y} 30187591dea4Smrgthen : 30197591dea4Smrg printf %s "(cached) " >&6 30207591dea4Smrgelse $as_nop 30217591dea4Smrg if printf "%s\n" 'TRUE=$(BAR$(V)) 30227591dea4SmrgBAR0=false 30237591dea4SmrgBAR1=true 30247591dea4SmrgV=1 30257591dea4Smrgam__doit: 30267591dea4Smrg @$(TRUE) 30277591dea4Smrg.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 30287591dea4Smrg am_cv_make_support_nested_variables=yes 30297591dea4Smrgelse 30307591dea4Smrg am_cv_make_support_nested_variables=no 30317591dea4Smrgfi 30327591dea4Smrgfi 30337591dea4Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 30347591dea4Smrgprintf "%s\n" "$am_cv_make_support_nested_variables" >&6; } 30357591dea4Smrgif test $am_cv_make_support_nested_variables = yes; then 30367591dea4Smrg AM_V='$(V)' 30377591dea4Smrg AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 30387591dea4Smrgelse 30397591dea4Smrg AM_V=$AM_DEFAULT_VERBOSITY 30407591dea4Smrg AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 30417591dea4Smrgfi 30423a67387eSmrgAM_BACKSLASH='\' 30433a67387eSmrg 30443a67387eSmrg 30453a67387eSmrg 30467591dea4Smrg# Require X.Org's font util macros 1.4 or later for COMPRESS_FLAGS 3047ef7198c0Smrg 3048ef7198c0Smrg 3049ef7198c0Smrg 305056f6b22bSmrg 305156f6b22bSmrg 3052ef7198c0Smrg 305356f6b22bSmrg 3054ef7198c0Smrg 3055ef7198c0Smrg 3056ef7198c0Smrg 3057ef7198c0Smrg 3058ef7198c0Smrg 3059ef7198c0Smrg 30603a67387eSmrg 30613a67387eSmrg 30627591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for root directory for font files" >&5 30637591dea4Smrgprintf %s "checking for root directory for font files... " >&6; } 3064ef7198c0Smrg 3065ef7198c0Smrg# Check whether --with-fontrootdir was given. 30667591dea4Smrgif test ${with_fontrootdir+y} 30677591dea4Smrgthen : 3068ef7198c0Smrg withval=$with_fontrootdir; FONTROOTDIR="$withval" 3069ef7198c0Smrgfi 3070ef7198c0Smrg 3071ef7198c0Smrg # if --with-fontrootdir not specified... 3072ef7198c0Smrg if test "x${FONTROOTDIR}" = "x"; then 3073ef7198c0Smrg FONTROOTDIR=`$PKG_CONFIG --variable=fontrootdir fontutil` 3074ef7198c0Smrg fi 3075ef7198c0Smrg # ...and if pkg-config didn't find fontdir in fontutil.pc... 3076ef7198c0Smrg if test "x${FONTROOTDIR}" = "x"; then 3077ef7198c0Smrg FONTROOTDIR="${datadir}/fonts/X11" 3078ef7198c0Smrg fi 3079ef7198c0Smrg 30807591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${FONTROOTDIR}" >&5 30817591dea4Smrgprintf "%s\n" "${FONTROOTDIR}" >&6; } 3082ef7198c0Smrg 3083ef7198c0Smrg 3084ef7198c0Smrg 3085ef7198c0Smrg 30867591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for directory for 100dpi files" >&5 30877591dea4Smrgprintf %s "checking for directory for 100dpi files... " >&6; } 3088ef7198c0Smrg 3089ef7198c0Smrg# Check whether --with-fontdir was given. 30907591dea4Smrgif test ${with_fontdir+y} 30917591dea4Smrgthen : 3092ef7198c0Smrg withval=$with_fontdir; FONTDIR="${withval}" 30937591dea4Smrgelse $as_nop 3094ef7198c0Smrg FONTDIR='${FONTROOTDIR}/100dpi' 3095ef7198c0Smrgfi 3096ef7198c0Smrg 3097ef7198c0Smrg 30987591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${FONTDIR}" >&5 30997591dea4Smrgprintf "%s\n" "${FONTDIR}" >&6; } 3100ef7198c0Smrg 310156f6b22bSmrg 3102ef7198c0Smrg 3103ef7198c0Smrg 3104ef7198c0Smrg # Extract the first word of "fc-cache", so it can be a program name with args. 3105ef7198c0Smrgset dummy fc-cache; ac_word=$2 31067591dea4Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 31077591dea4Smrgprintf %s "checking for $ac_word... " >&6; } 31087591dea4Smrgif test ${ac_cv_path_FCCACHE+y} 31097591dea4Smrgthen : 31107591dea4Smrg printf %s "(cached) " >&6 31117591dea4Smrgelse $as_nop 3112ef7198c0Smrg case $FCCACHE in 3113ef7198c0Smrg [\\/]* | ?:[\\/]*) 3114ef7198c0Smrg ac_cv_path_FCCACHE="$FCCACHE" # Let the user override the test with a path. 3115ef7198c0Smrg ;; 3116ef7198c0Smrg *) 3117ef7198c0Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3118ef7198c0Smrgfor as_dir in $PATH 3119ef7198c0Smrgdo 3120ef7198c0Smrg IFS=$as_save_IFS 31217591dea4Smrg case $as_dir in #((( 31227591dea4Smrg '') as_dir=./ ;; 31237591dea4Smrg */) ;; 31247591dea4Smrg *) as_dir=$as_dir/ ;; 31257591dea4Smrg esac 31263a67387eSmrg for ac_exec_ext in '' $ac_executable_extensions; do 31277591dea4Smrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 31287591dea4Smrg ac_cv_path_FCCACHE="$as_dir$ac_word$ac_exec_ext" 31297591dea4Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3130ef7198c0Smrg break 2 3131ef7198c0Smrg fi 3132ef7198c0Smrgdone 31333a67387eSmrg done 3134ef7198c0SmrgIFS=$as_save_IFS 3135ef7198c0Smrg 3136ef7198c0Smrg ;; 3137ef7198c0Smrgesac 3138ef7198c0Smrgfi 3139ef7198c0SmrgFCCACHE=$ac_cv_path_FCCACHE 3140ef7198c0Smrgif test -n "$FCCACHE"; then 31417591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FCCACHE" >&5 31427591dea4Smrgprintf "%s\n" "$FCCACHE" >&6; } 314356f6b22bSmrgelse 31447591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 31457591dea4Smrgprintf "%s\n" "no" >&6; } 314656f6b22bSmrgfi 314756f6b22bSmrg 3148ef7198c0Smrg 3149ef7198c0Smrg FCCACHE_WARN='echo "** Warning: fonts.cache not built" ; echo "** Generate this file manually on host system using fc-cache"' 31507591dea4Smrg if test x"$FCCACHE" = x || test x"$cross_compiling" != x"no" ; then 3151ef7198c0Smrg RUN_FCCACHE="${FCCACHE_WARN}" 3152ef7198c0Smrg else 3153ef7198c0Smrg RUN_FCCACHE='@(if test -z "$(DESTDIR)"; then echo $(FCCACHE) $(fontdir); $(FCCACHE) $(fontdir); else' 3154ef7198c0Smrg RUN_FCCACHE="${RUN_FCCACHE} ${FCCACHE_WARN} ; fi)" 3155ef7198c0Smrg fi 3156ef7198c0Smrg 3157ef7198c0Smrg 3158ef7198c0Smrg 31597591dea4Smrg if test x"$cross_compiling" != x"no" ; then 31607591dea4Smrg # Extract the first word of "mkfontdir", so it can be a program name with args. 316156f6b22bSmrgset dummy mkfontdir; ac_word=$2 31627591dea4Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 31637591dea4Smrgprintf %s "checking for $ac_word... " >&6; } 31647591dea4Smrgif test ${ac_cv_path_MKFONTDIR+y} 31657591dea4Smrgthen : 31667591dea4Smrg printf %s "(cached) " >&6 31677591dea4Smrgelse $as_nop 31687591dea4Smrg case $MKFONTDIR in 31697591dea4Smrg [\\/]* | ?:[\\/]*) 31707591dea4Smrg ac_cv_path_MKFONTDIR="$MKFONTDIR" # Let the user override the test with a path. 31717591dea4Smrg ;; 31727591dea4Smrg *) 31737591dea4Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 31747591dea4Smrgfor as_dir in $PATH 31757591dea4Smrgdo 31767591dea4Smrg IFS=$as_save_IFS 31777591dea4Smrg case $as_dir in #((( 31787591dea4Smrg '') as_dir=./ ;; 31797591dea4Smrg */) ;; 31807591dea4Smrg *) as_dir=$as_dir/ ;; 31817591dea4Smrg esac 31827591dea4Smrg for ac_exec_ext in '' $ac_executable_extensions; do 31837591dea4Smrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 31847591dea4Smrg ac_cv_path_MKFONTDIR="$as_dir$ac_word$ac_exec_ext" 31857591dea4Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 31867591dea4Smrg break 2 31877591dea4Smrg fi 31887591dea4Smrgdone 31897591dea4Smrg done 31907591dea4SmrgIFS=$as_save_IFS 31917591dea4Smrg 31927591dea4Smrg test -z "$ac_cv_path_MKFONTDIR" && ac_cv_path_MKFONTDIR="""" 31937591dea4Smrg ;; 31947591dea4Smrgesac 31957591dea4Smrgfi 31967591dea4SmrgMKFONTDIR=$ac_cv_path_MKFONTDIR 31977591dea4Smrgif test -n "$MKFONTDIR"; then 31987591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKFONTDIR" >&5 31997591dea4Smrgprintf "%s\n" "$MKFONTDIR" >&6; } 320056f6b22bSmrgelse 32017591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 32027591dea4Smrgprintf "%s\n" "no" >&6; } 32037591dea4Smrgfi 32047591dea4Smrg 32057591dea4Smrg 32067591dea4Smrg MKFONTDIR_WARN='echo "** Warning: mkfontdir not run" ; echo "** Run mkfontdir manually on host system"' 32077591dea4Smrg 32087591dea4Smrg if test x"$MKFONTDIR" = x; then 32097591dea4Smrg MKFONTDIR="${MKFONTDIR_WARN} ; echo '** mkfontdir'" 32107591dea4Smrg fi 32117591dea4Smrg else 32127591dea4Smrg 32137591dea4Smrg # Extract the first word of "mkfontdir", so it can be a program name with args. 32147591dea4Smrgset dummy mkfontdir; ac_word=$2 32157591dea4Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 32167591dea4Smrgprintf %s "checking for $ac_word... " >&6; } 32177591dea4Smrgif test ${ac_cv_path_MKFONTDIR+y} 32187591dea4Smrgthen : 32197591dea4Smrg printf %s "(cached) " >&6 32207591dea4Smrgelse $as_nop 322156f6b22bSmrg case $MKFONTDIR in 322256f6b22bSmrg [\\/]* | ?:[\\/]*) 322356f6b22bSmrg ac_cv_path_MKFONTDIR="$MKFONTDIR" # Let the user override the test with a path. 322456f6b22bSmrg ;; 322556f6b22bSmrg *) 322656f6b22bSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 322756f6b22bSmrgfor as_dir in $PATH 322856f6b22bSmrgdo 322956f6b22bSmrg IFS=$as_save_IFS 32307591dea4Smrg case $as_dir in #((( 32317591dea4Smrg '') as_dir=./ ;; 32327591dea4Smrg */) ;; 32337591dea4Smrg *) as_dir=$as_dir/ ;; 32347591dea4Smrg esac 32353a67387eSmrg for ac_exec_ext in '' $ac_executable_extensions; do 32367591dea4Smrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 32377591dea4Smrg ac_cv_path_MKFONTDIR="$as_dir$ac_word$ac_exec_ext" 32387591dea4Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 323956f6b22bSmrg break 2 324056f6b22bSmrg fi 324156f6b22bSmrgdone 32423a67387eSmrg done 3243ef7198c0SmrgIFS=$as_save_IFS 324456f6b22bSmrg 324556f6b22bSmrg ;; 324656f6b22bSmrgesac 324756f6b22bSmrgfi 324856f6b22bSmrgMKFONTDIR=$ac_cv_path_MKFONTDIR 324956f6b22bSmrgif test -n "$MKFONTDIR"; then 32507591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKFONTDIR" >&5 32517591dea4Smrgprintf "%s\n" "$MKFONTDIR" >&6; } 325256f6b22bSmrgelse 32537591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 32547591dea4Smrgprintf "%s\n" "no" >&6; } 325556f6b22bSmrgfi 325656f6b22bSmrg 325756f6b22bSmrg 32583a67387eSmrg if test x"$MKFONTDIR" = x; then 32593a67387eSmrg as_fn_error $? "mkfontdir is required to build $PACKAGE_NAME." "$LINENO" 5 3260ef7198c0Smrg fi 326156f6b22bSmrg 32627591dea4Smrg fi 32637591dea4Smrg 32647591dea4Smrg 32657591dea4Smrg 326656f6b22bSmrg 326756f6b22bSmrg 3268ef7198c0Smrg # Extract the first word of "bdftopcf", so it can be a program name with args. 3269ef7198c0Smrgset dummy bdftopcf; ac_word=$2 32707591dea4Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 32717591dea4Smrgprintf %s "checking for $ac_word... " >&6; } 32727591dea4Smrgif test ${ac_cv_path_BDFTOPCF+y} 32737591dea4Smrgthen : 32747591dea4Smrg printf %s "(cached) " >&6 32757591dea4Smrgelse $as_nop 3276ef7198c0Smrg case $BDFTOPCF in 3277ef7198c0Smrg [\\/]* | ?:[\\/]*) 3278ef7198c0Smrg ac_cv_path_BDFTOPCF="$BDFTOPCF" # Let the user override the test with a path. 3279ef7198c0Smrg ;; 3280ef7198c0Smrg *) 3281ef7198c0Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3282ef7198c0Smrgfor as_dir in $PATH 3283ef7198c0Smrgdo 3284ef7198c0Smrg IFS=$as_save_IFS 32857591dea4Smrg case $as_dir in #((( 32867591dea4Smrg '') as_dir=./ ;; 32877591dea4Smrg */) ;; 32887591dea4Smrg *) as_dir=$as_dir/ ;; 32897591dea4Smrg esac 32903a67387eSmrg for ac_exec_ext in '' $ac_executable_extensions; do 32917591dea4Smrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 32927591dea4Smrg ac_cv_path_BDFTOPCF="$as_dir$ac_word$ac_exec_ext" 32937591dea4Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3294ef7198c0Smrg break 2 3295ef7198c0Smrg fi 3296ef7198c0Smrgdone 32973a67387eSmrg done 3298ef7198c0SmrgIFS=$as_save_IFS 3299ef7198c0Smrg 3300ef7198c0Smrg ;; 3301ef7198c0Smrgesac 3302ef7198c0Smrgfi 3303ef7198c0SmrgBDFTOPCF=$ac_cv_path_BDFTOPCF 3304ef7198c0Smrgif test -n "$BDFTOPCF"; then 33057591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BDFTOPCF" >&5 33067591dea4Smrgprintf "%s\n" "$BDFTOPCF" >&6; } 330756f6b22bSmrgelse 33087591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 33097591dea4Smrgprintf "%s\n" "no" >&6; } 3310ef7198c0Smrgfi 3311ef7198c0Smrg 331256f6b22bSmrg 33133a67387eSmrg if test x"$BDFTOPCF" = x; then 33143a67387eSmrg as_fn_error $? "bdftopcf is required to build $PACKAGE_NAME." "$LINENO" 5 3315ef7198c0Smrg fi 331656f6b22bSmrg 331756f6b22bSmrg 33187591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking font compression method" >&5 33197591dea4Smrgprintf %s "checking font compression method... " >&6; } 332056f6b22bSmrg 3321ef7198c0Smrg# Check whether --with-compression was given. 33227591dea4Smrgif test ${with_compression+y} 33237591dea4Smrgthen : 3324ef7198c0Smrg withval=$with_compression; compression="$withval" 33257591dea4Smrgelse $as_nop 3326ef7198c0Smrg compression="yes" 3327ef7198c0Smrgfi 3328ef7198c0Smrg 3329ef7198c0Smrg if test x"$compression" = "xyes" ; then 3330ef7198c0Smrg compression="gzip" 3331ef7198c0Smrg fi 33327591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${compression}" >&5 33337591dea4Smrgprintf "%s\n" "${compression}" >&6; } 3334ef7198c0Smrg case ${compression} in 3335ef7198c0Smrg *compress) COMPRESS_SUFFIX=".Z" ;; 33367591dea4Smrg *gzip) COMPRESS_SUFFIX=".gz" ; 33377591dea4Smrg COMPRESS_FLAGS="${COMPRESS_FLAGS--n}" ;; 3338ef7198c0Smrg *bzip2) COMPRESS_SUFFIX=".bz2" ;; 3339ef7198c0Smrg no|none) COMPRESS_SUFFIX="" ; COMPRESS="cat" ;; 33403a67387eSmrg *) as_fn_error $? "${compression} is not a supported compression method" "$LINENO" 5 ;; 3341ef7198c0Smrg esac 3342ef7198c0Smrg if test x"$COMPRESS_SUFFIX" != "x" ; then 3343ef7198c0Smrg 3344ef7198c0Smrg # Extract the first word of "${compression}", so it can be a program name with args. 3345ef7198c0Smrgset dummy ${compression}; ac_word=$2 33467591dea4Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 33477591dea4Smrgprintf %s "checking for $ac_word... " >&6; } 33487591dea4Smrgif test ${ac_cv_path_COMPRESS+y} 33497591dea4Smrgthen : 33507591dea4Smrg printf %s "(cached) " >&6 33517591dea4Smrgelse $as_nop 3352ef7198c0Smrg case $COMPRESS in 3353ef7198c0Smrg [\\/]* | ?:[\\/]*) 3354ef7198c0Smrg ac_cv_path_COMPRESS="$COMPRESS" # Let the user override the test with a path. 3355ef7198c0Smrg ;; 3356ef7198c0Smrg *) 3357ef7198c0Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3358ef7198c0Smrgfor as_dir in $PATH 3359ef7198c0Smrgdo 3360ef7198c0Smrg IFS=$as_save_IFS 33617591dea4Smrg case $as_dir in #((( 33627591dea4Smrg '') as_dir=./ ;; 33637591dea4Smrg */) ;; 33647591dea4Smrg *) as_dir=$as_dir/ ;; 33657591dea4Smrg esac 33663a67387eSmrg for ac_exec_ext in '' $ac_executable_extensions; do 33677591dea4Smrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 33687591dea4Smrg ac_cv_path_COMPRESS="$as_dir$ac_word$ac_exec_ext" 33697591dea4Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3370ef7198c0Smrg break 2 3371ef7198c0Smrg fi 3372ef7198c0Smrgdone 33733a67387eSmrg done 3374ef7198c0SmrgIFS=$as_save_IFS 3375ef7198c0Smrg 3376ef7198c0Smrg ;; 3377ef7198c0Smrgesac 3378ef7198c0Smrgfi 3379ef7198c0SmrgCOMPRESS=$ac_cv_path_COMPRESS 3380ef7198c0Smrgif test -n "$COMPRESS"; then 33817591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $COMPRESS" >&5 33827591dea4Smrgprintf "%s\n" "$COMPRESS" >&6; } 3383ef7198c0Smrgelse 33847591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 33857591dea4Smrgprintf "%s\n" "no" >&6; } 3386ef7198c0Smrgfi 3387ef7198c0Smrg 3388ef7198c0Smrg 33893a67387eSmrg if test x"$COMPRESS" = x; then 33903a67387eSmrg as_fn_error $? "${compression} is required to build $PACKAGE_NAME." "$LINENO" 5 3391ef7198c0Smrg fi 3392ef7198c0Smrg 339356f6b22bSmrg fi 33947591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking options to font compression command" >&5 33957591dea4Smrgprintf %s "checking options to font compression command... " >&6; } 33967591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${COMPRESS_FLAGS:-none}" >&5 33977591dea4Smrgprintf "%s\n" "${COMPRESS_FLAGS:-none}" >&6; } 33987591dea4Smrg 339956f6b22bSmrg 340056f6b22bSmrg 3401ef7198c0Smrg 3402ef7198c0Smrg 3403ef7198c0Smrgac_config_files="$ac_config_files Makefile" 3404ef7198c0Smrg 340556f6b22bSmrgcat >confcache <<\_ACEOF 340656f6b22bSmrg# This file is a shell script that caches the results of configure 340756f6b22bSmrg# tests run on this system so they can be shared between configure 340856f6b22bSmrg# scripts and configure runs, see configure's option --config-cache. 340956f6b22bSmrg# It is not useful on other systems. If it contains results you don't 341056f6b22bSmrg# want to keep, you may remove or edit it. 341156f6b22bSmrg# 341256f6b22bSmrg# config.status only pays attention to the cache file if you give it 341356f6b22bSmrg# the --recheck option to rerun configure. 341456f6b22bSmrg# 341556f6b22bSmrg# `ac_cv_env_foo' variables (set or unset) will be overridden when 341656f6b22bSmrg# loading this file, other *unset* `ac_cv_foo' will be assigned the 341756f6b22bSmrg# following values. 341856f6b22bSmrg 341956f6b22bSmrg_ACEOF 342056f6b22bSmrg 342156f6b22bSmrg# The following way of writing the cache mishandles newlines in values, 342256f6b22bSmrg# but we know of no workaround that is simple, portable, and efficient. 3423ef7198c0Smrg# So, we kill variables containing newlines. 342456f6b22bSmrg# Ultrix sh set writes to stderr and can't be redirected directly, 342556f6b22bSmrg# and sets the high bit in the cache file unless we assign to the vars. 3426ef7198c0Smrg( 3427ef7198c0Smrg for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 3428ef7198c0Smrg eval ac_val=\$$ac_var 3429ef7198c0Smrg case $ac_val in #( 3430ef7198c0Smrg *${as_nl}*) 3431ef7198c0Smrg case $ac_var in #( 34327591dea4Smrg *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 34337591dea4Smrgprintf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 3434ef7198c0Smrg esac 3435ef7198c0Smrg case $ac_var in #( 3436ef7198c0Smrg _ | IFS | as_nl) ;; #( 3437ef7198c0Smrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 34383a67387eSmrg *) { eval $ac_var=; unset $ac_var;} ;; 3439ef7198c0Smrg esac ;; 3440ef7198c0Smrg esac 3441ef7198c0Smrg done 3442ef7198c0Smrg 344356f6b22bSmrg (set) 2>&1 | 3444ef7198c0Smrg case $as_nl`(ac_space=' '; set) 2>&1` in #( 3445ef7198c0Smrg *${as_nl}ac_space=\ *) 34463a67387eSmrg # `set' does not quote correctly, so add quotes: double-quote 34473a67387eSmrg # substitution turns \\\\ into \\, and sed turns \\ into \. 344856f6b22bSmrg sed -n \ 344956f6b22bSmrg "s/'/'\\\\''/g; 345056f6b22bSmrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 3451ef7198c0Smrg ;; #( 345256f6b22bSmrg *) 345356f6b22bSmrg # `set' quotes correctly as required by POSIX, so do not add quotes. 3454ef7198c0Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 345556f6b22bSmrg ;; 3456ef7198c0Smrg esac | 3457ef7198c0Smrg sort 3458ef7198c0Smrg) | 345956f6b22bSmrg sed ' 3460ef7198c0Smrg /^ac_cv_env_/b end 346156f6b22bSmrg t clear 3462ef7198c0Smrg :clear 34637591dea4Smrg s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ 346456f6b22bSmrg t end 3465ef7198c0Smrg s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 3466ef7198c0Smrg :end' >>confcache 3467ef7198c0Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 3468ef7198c0Smrg if test -w "$cache_file"; then 34693a67387eSmrg if test "x$cache_file" != "x/dev/null"; then 34707591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 34717591dea4Smrgprintf "%s\n" "$as_me: updating cache $cache_file" >&6;} 34723a67387eSmrg if test ! -f "$cache_file" || test -h "$cache_file"; then 34733a67387eSmrg cat confcache >"$cache_file" 34743a67387eSmrg else 34753a67387eSmrg case $cache_file in #( 34763a67387eSmrg */* | ?:*) 34773a67387eSmrg mv -f confcache "$cache_file"$$ && 34783a67387eSmrg mv -f "$cache_file"$$ "$cache_file" ;; #( 34793a67387eSmrg *) 34803a67387eSmrg mv -f confcache "$cache_file" ;; 34813a67387eSmrg esac 34823a67387eSmrg fi 34833a67387eSmrg fi 348456f6b22bSmrg else 34857591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 34867591dea4Smrgprintf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} 348756f6b22bSmrg fi 348856f6b22bSmrgfi 348956f6b22bSmrgrm -f confcache 349056f6b22bSmrg 349156f6b22bSmrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix 349256f6b22bSmrg# Let make expand exec_prefix. 349356f6b22bSmrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 349456f6b22bSmrg 349556f6b22bSmrg# Transform confdefs.h into DEFS. 349656f6b22bSmrg# Protect against shell expansion while executing Makefile rules. 349756f6b22bSmrg# Protect against Makefile macro expansion. 349856f6b22bSmrg# 349956f6b22bSmrg# If the first sed substitution is executed (which looks for macros that 3500ef7198c0Smrg# take arguments), then branch to the quote section. Otherwise, 350156f6b22bSmrg# look for a macro that doesn't take arguments. 3502ef7198c0Smrgac_script=' 3503ef7198c0Smrg:mline 3504ef7198c0Smrg/\\$/{ 3505ef7198c0Smrg N 3506ef7198c0Smrg s,\\\n,, 3507ef7198c0Smrg b mline 3508ef7198c0Smrg} 350956f6b22bSmrgt clear 3510ef7198c0Smrg:clear 3511ef7198c0Smrgs/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 351256f6b22bSmrgt quote 3513ef7198c0Smrgs/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 351456f6b22bSmrgt quote 3515ef7198c0Smrgb any 3516ef7198c0Smrg:quote 3517ef7198c0Smrgs/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 3518ef7198c0Smrgs/\[/\\&/g 3519ef7198c0Smrgs/\]/\\&/g 3520ef7198c0Smrgs/\$/$$/g 3521ef7198c0SmrgH 3522ef7198c0Smrg:any 3523ef7198c0Smrg${ 3524ef7198c0Smrg g 3525ef7198c0Smrg s/^\n// 3526ef7198c0Smrg s/\n/ /g 3527ef7198c0Smrg p 3528ef7198c0Smrg} 3529ef7198c0Smrg' 3530ef7198c0SmrgDEFS=`sed -n "$ac_script" confdefs.h` 353156f6b22bSmrg 353256f6b22bSmrg 353356f6b22bSmrgac_libobjs= 353456f6b22bSmrgac_ltlibobjs= 35353a67387eSmrgU= 353656f6b22bSmrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 353756f6b22bSmrg # 1. Remove the extension, and $U if already installed. 3538ef7198c0Smrg ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 35397591dea4Smrg ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"` 3540ef7198c0Smrg # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 3541ef7198c0Smrg # will be set to the directory where LIBOBJS objects are built. 35423a67387eSmrg as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 35433a67387eSmrg as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 354456f6b22bSmrgdone 354556f6b22bSmrgLIBOBJS=$ac_libobjs 354656f6b22bSmrg 354756f6b22bSmrgLTLIBOBJS=$ac_ltlibobjs 354856f6b22bSmrg 354956f6b22bSmrg 35507591dea4Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 35517591dea4Smrgprintf %s "checking that generated files are newer than configure... " >&6; } 35527591dea4Smrg if test -n "$am_sleep_pid"; then 35537591dea4Smrg # Hide warnings about reused PIDs. 35547591dea4Smrg wait $am_sleep_pid 2>/dev/null 35557591dea4Smrg fi 35567591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5 35577591dea4Smrgprintf "%s\n" "done" >&6; } 3558ef7198c0Smrg 355956f6b22bSmrg 35603a67387eSmrg: "${CONFIG_STATUS=./config.status}" 3561ef7198c0Smrgac_write_fail=0 356256f6b22bSmrgac_clean_files_save=$ac_clean_files 356356f6b22bSmrgac_clean_files="$ac_clean_files $CONFIG_STATUS" 35647591dea4Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 35657591dea4Smrgprintf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} 35663a67387eSmrgas_write_fail=0 35673a67387eSmrgcat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 356856f6b22bSmrg#! $SHELL 356956f6b22bSmrg# Generated by $as_me. 357056f6b22bSmrg# Run this file to recreate the current configuration. 357156f6b22bSmrg# Compiler output produced by configure, useful for debugging 357256f6b22bSmrg# configure, is in config.log if it exists. 357356f6b22bSmrg 357456f6b22bSmrgdebug=false 357556f6b22bSmrgac_cs_recheck=false 357656f6b22bSmrgac_cs_silent=false 357756f6b22bSmrg 35783a67387eSmrgSHELL=\${CONFIG_SHELL-$SHELL} 35793a67387eSmrgexport SHELL 35803a67387eSmrg_ASEOF 35813a67387eSmrgcat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 35823a67387eSmrg## -------------------- ## 35833a67387eSmrg## M4sh Initialization. ## 35843a67387eSmrg## -------------------- ## 358556f6b22bSmrg 3586ef7198c0Smrg# Be more Bourne compatible 3587ef7198c0SmrgDUALCASE=1; export DUALCASE # for MKS sh 35887591dea4Smrgas_nop=: 35897591dea4Smrgif test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 35907591dea4Smrgthen : 359156f6b22bSmrg emulate sh 359256f6b22bSmrg NULLCMD=: 3593ef7198c0Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 359456f6b22bSmrg # is contrary to our usage. Disable this feature. 359556f6b22bSmrg alias -g '${1+"$@"}'='"$@"' 3596ef7198c0Smrg setopt NO_GLOB_SUBST 35977591dea4Smrgelse $as_nop 35983a67387eSmrg case `(set -o) 2>/dev/null` in #( 35993a67387eSmrg *posix*) : 36003a67387eSmrg set -o posix ;; #( 36013a67387eSmrg *) : 36023a67387eSmrg ;; 3603ef7198c0Smrgesac 3604ef7198c0Smrgfi 3605ef7198c0Smrg 3606ef7198c0Smrg 36077591dea4Smrg 36087591dea4Smrg# Reset variables that may have inherited troublesome values from 36097591dea4Smrg# the environment. 36107591dea4Smrg 36117591dea4Smrg# IFS needs to be set, to space, tab, and newline, in precisely that order. 36127591dea4Smrg# (If _AS_PATH_WALK were called with IFS unset, it would have the 36137591dea4Smrg# side effect of setting IFS to empty, thus disabling word splitting.) 36147591dea4Smrg# Quoting is to prevent editors from complaining about space-tab. 3615ef7198c0Smrgas_nl=' 3616ef7198c0Smrg' 3617ef7198c0Smrgexport as_nl 36187591dea4SmrgIFS=" "" $as_nl" 36197591dea4Smrg 36207591dea4SmrgPS1='$ ' 36217591dea4SmrgPS2='> ' 36227591dea4SmrgPS4='+ ' 36237591dea4Smrg 36247591dea4Smrg# Ensure predictable behavior from utilities with locale-dependent output. 36257591dea4SmrgLC_ALL=C 36267591dea4Smrgexport LC_ALL 36277591dea4SmrgLANGUAGE=C 36287591dea4Smrgexport LANGUAGE 36297591dea4Smrg 36307591dea4Smrg# We cannot yet rely on "unset" to work, but we need these variables 36317591dea4Smrg# to be unset--not just set to an empty or harmless value--now, to 36327591dea4Smrg# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct 36337591dea4Smrg# also avoids known problems related to "unset" and subshell syntax 36347591dea4Smrg# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). 36357591dea4Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 36367591dea4Smrgdo eval test \${$as_var+y} \ 36377591dea4Smrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 36387591dea4Smrgdone 36397591dea4Smrg 36407591dea4Smrg# Ensure that fds 0, 1, and 2 are open. 36417591dea4Smrgif (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 36427591dea4Smrgif (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 36437591dea4Smrgif (exec 3>&2) ; then :; else exec 2>/dev/null; fi 3644ef7198c0Smrg 3645ef7198c0Smrg# The user is always right. 36467591dea4Smrgif ${PATH_SEPARATOR+false} :; then 3647ef7198c0Smrg PATH_SEPARATOR=: 3648ef7198c0Smrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 3649ef7198c0Smrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 3650ef7198c0Smrg PATH_SEPARATOR=';' 3651ef7198c0Smrg } 365256f6b22bSmrgfi 365356f6b22bSmrg 365456f6b22bSmrg 3655ef7198c0Smrg# Find who we are. Look in the path if we contain no directory separator. 36563a67387eSmrgas_myself= 36573a67387eSmrgcase $0 in #(( 3658ef7198c0Smrg *[\\/]* ) as_myself=$0 ;; 3659ef7198c0Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3660ef7198c0Smrgfor as_dir in $PATH 3661ef7198c0Smrgdo 3662ef7198c0Smrg IFS=$as_save_IFS 36637591dea4Smrg case $as_dir in #((( 36647591dea4Smrg '') as_dir=./ ;; 36657591dea4Smrg */) ;; 36667591dea4Smrg *) as_dir=$as_dir/ ;; 36677591dea4Smrg esac 36687591dea4Smrg test -r "$as_dir$0" && as_myself=$as_dir$0 && break 36693a67387eSmrg done 3670ef7198c0SmrgIFS=$as_save_IFS 3671ef7198c0Smrg 3672ef7198c0Smrg ;; 3673ef7198c0Smrgesac 3674ef7198c0Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 3675ef7198c0Smrg# in which case we are not to be found in the path. 3676ef7198c0Smrgif test "x$as_myself" = x; then 3677ef7198c0Smrg as_myself=$0 3678ef7198c0Smrgfi 3679ef7198c0Smrgif test ! -f "$as_myself"; then 36807591dea4Smrg printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 36813a67387eSmrg exit 1 3682ef7198c0Smrgfi 3683ef7198c0Smrg 36843a67387eSmrg 36853a67387eSmrg 36863a67387eSmrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 36873a67387eSmrg# ---------------------------------------- 36883a67387eSmrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 36893a67387eSmrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 36903a67387eSmrg# script with STATUS, using 1 if that was 0. 36913a67387eSmrgas_fn_error () 36923a67387eSmrg{ 36933a67387eSmrg as_status=$1; test $as_status -eq 0 && as_status=1 36943a67387eSmrg if test "$4"; then 36953a67387eSmrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 36967591dea4Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 36973a67387eSmrg fi 36987591dea4Smrg printf "%s\n" "$as_me: error: $2" >&2 36993a67387eSmrg as_fn_exit $as_status 37003a67387eSmrg} # as_fn_error 37013a67387eSmrg 37023a67387eSmrg 37037591dea4Smrg 37043a67387eSmrg# as_fn_set_status STATUS 37053a67387eSmrg# ----------------------- 37063a67387eSmrg# Set $? to STATUS, without forking. 37073a67387eSmrgas_fn_set_status () 37083a67387eSmrg{ 37093a67387eSmrg return $1 37103a67387eSmrg} # as_fn_set_status 37113a67387eSmrg 37123a67387eSmrg# as_fn_exit STATUS 37133a67387eSmrg# ----------------- 37143a67387eSmrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 37153a67387eSmrgas_fn_exit () 37163a67387eSmrg{ 37173a67387eSmrg set +e 37183a67387eSmrg as_fn_set_status $1 37193a67387eSmrg exit $1 37203a67387eSmrg} # as_fn_exit 37213a67387eSmrg 37223a67387eSmrg# as_fn_unset VAR 37233a67387eSmrg# --------------- 37243a67387eSmrg# Portably unset VAR. 37253a67387eSmrgas_fn_unset () 37263a67387eSmrg{ 37273a67387eSmrg { eval $1=; unset $1;} 37283a67387eSmrg} 37293a67387eSmrgas_unset=as_fn_unset 37307591dea4Smrg 37313a67387eSmrg# as_fn_append VAR VALUE 37323a67387eSmrg# ---------------------- 37333a67387eSmrg# Append the text in VALUE to the end of the definition contained in VAR. Take 37343a67387eSmrg# advantage of any shell optimizations that allow amortized linear growth over 37353a67387eSmrg# repeated appends, instead of the typical quadratic growth present in naive 37363a67387eSmrg# implementations. 37377591dea4Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 37387591dea4Smrgthen : 37393a67387eSmrg eval 'as_fn_append () 37403a67387eSmrg { 37413a67387eSmrg eval $1+=\$2 37423a67387eSmrg }' 37437591dea4Smrgelse $as_nop 37443a67387eSmrg as_fn_append () 37453a67387eSmrg { 37463a67387eSmrg eval $1=\$$1\$2 37473a67387eSmrg } 37483a67387eSmrgfi # as_fn_append 37493a67387eSmrg 37503a67387eSmrg# as_fn_arith ARG... 37513a67387eSmrg# ------------------ 37523a67387eSmrg# Perform arithmetic evaluation on the ARGs, and store the result in the 37533a67387eSmrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 37543a67387eSmrg# must be portable across $(()) and expr. 37557591dea4Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 37567591dea4Smrgthen : 37573a67387eSmrg eval 'as_fn_arith () 37583a67387eSmrg { 37593a67387eSmrg as_val=$(( $* )) 37603a67387eSmrg }' 37617591dea4Smrgelse $as_nop 37623a67387eSmrg as_fn_arith () 37633a67387eSmrg { 37643a67387eSmrg as_val=`expr "$@" || test $? -eq 1` 37653a67387eSmrg } 37663a67387eSmrgfi # as_fn_arith 37673a67387eSmrg 37683a67387eSmrg 3769ef7198c0Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 3770ef7198c0Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 377156f6b22bSmrg as_expr=expr 377256f6b22bSmrgelse 377356f6b22bSmrg as_expr=false 377456f6b22bSmrgfi 377556f6b22bSmrg 3776ef7198c0Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 377756f6b22bSmrg as_basename=basename 377856f6b22bSmrgelse 377956f6b22bSmrg as_basename=false 378056f6b22bSmrgfi 378156f6b22bSmrg 37823a67387eSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 37833a67387eSmrg as_dirname=dirname 37843a67387eSmrgelse 37853a67387eSmrg as_dirname=false 37863a67387eSmrgfi 378756f6b22bSmrg 3788ef7198c0Smrgas_me=`$as_basename -- "$0" || 378956f6b22bSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 379056f6b22bSmrg X"$0" : 'X\(//\)$' \| \ 3791ef7198c0Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 37927591dea4Smrgprintf "%s\n" X/"$0" | 3793ef7198c0Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 3794ef7198c0Smrg s//\1/ 3795ef7198c0Smrg q 3796ef7198c0Smrg } 3797ef7198c0Smrg /^X\/\(\/\/\)$/{ 3798ef7198c0Smrg s//\1/ 3799ef7198c0Smrg q 3800ef7198c0Smrg } 3801ef7198c0Smrg /^X\/\(\/\).*/{ 3802ef7198c0Smrg s//\1/ 3803ef7198c0Smrg q 3804ef7198c0Smrg } 3805ef7198c0Smrg s/.*/./; q'` 380656f6b22bSmrg 38073a67387eSmrg# Avoid depending upon Character Ranges. 38083a67387eSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 38093a67387eSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 38103a67387eSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 38113a67387eSmrgas_cr_digits='0123456789' 38123a67387eSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits 381356f6b22bSmrg 38147591dea4Smrg 38157591dea4Smrg# Determine whether it's possible to make 'echo' print without a newline. 38167591dea4Smrg# These variables are no longer used directly by Autoconf, but are AC_SUBSTed 38177591dea4Smrg# for compatibility with existing Makefiles. 3818ef7198c0SmrgECHO_C= ECHO_N= ECHO_T= 38193a67387eSmrgcase `echo -n x` in #((((( 3820ef7198c0Smrg-n*) 38213a67387eSmrg case `echo 'xy\c'` in 3822ef7198c0Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 38233a67387eSmrg xy) ECHO_C='\c';; 38243a67387eSmrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 38253a67387eSmrg ECHO_T=' ';; 3826ef7198c0Smrg esac;; 3827ef7198c0Smrg*) 3828ef7198c0Smrg ECHO_N='-n';; 3829ef7198c0Smrgesac 383056f6b22bSmrg 38317591dea4Smrg# For backward compatibility with old third-party macros, we provide 38327591dea4Smrg# the shell variables $as_echo and $as_echo_n. New code should use 38337591dea4Smrg# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. 38347591dea4Smrgas_echo='printf %s\n' 38357591dea4Smrgas_echo_n='printf %s' 38367591dea4Smrg 383756f6b22bSmrgrm -f conf$$ conf$$.exe conf$$.file 3838ef7198c0Smrgif test -d conf$$.dir; then 3839ef7198c0Smrg rm -f conf$$.dir/conf$$.file 3840ef7198c0Smrgelse 3841ef7198c0Smrg rm -f conf$$.dir 3842ef7198c0Smrg mkdir conf$$.dir 2>/dev/null 3843ef7198c0Smrgfi 3844ef7198c0Smrgif (echo >conf$$.file) 2>/dev/null; then 3845ef7198c0Smrg if ln -s conf$$.file conf$$ 2>/dev/null; then 384656f6b22bSmrg as_ln_s='ln -s' 3847ef7198c0Smrg # ... but there are two gotchas: 3848ef7198c0Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 3849ef7198c0Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 38507591dea4Smrg # In both cases, we have to default to `cp -pR'. 3851ef7198c0Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 38527591dea4Smrg as_ln_s='cp -pR' 3853ef7198c0Smrg elif ln conf$$.file conf$$ 2>/dev/null; then 3854ef7198c0Smrg as_ln_s=ln 3855ef7198c0Smrg else 38567591dea4Smrg as_ln_s='cp -pR' 385756f6b22bSmrg fi 385856f6b22bSmrgelse 38597591dea4Smrg as_ln_s='cp -pR' 386056f6b22bSmrgfi 3861ef7198c0Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 3862ef7198c0Smrgrmdir conf$$.dir 2>/dev/null 386356f6b22bSmrg 38643a67387eSmrg 38653a67387eSmrg# as_fn_mkdir_p 38663a67387eSmrg# ------------- 38673a67387eSmrg# Create "$as_dir" as a directory, including parents if necessary. 38683a67387eSmrgas_fn_mkdir_p () 38693a67387eSmrg{ 38703a67387eSmrg 38713a67387eSmrg case $as_dir in #( 38723a67387eSmrg -*) as_dir=./$as_dir;; 38733a67387eSmrg esac 38743a67387eSmrg test -d "$as_dir" || eval $as_mkdir_p || { 38753a67387eSmrg as_dirs= 38763a67387eSmrg while :; do 38773a67387eSmrg case $as_dir in #( 38787591dea4Smrg *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 38793a67387eSmrg *) as_qdir=$as_dir;; 38803a67387eSmrg esac 38813a67387eSmrg as_dirs="'$as_qdir' $as_dirs" 38823a67387eSmrg as_dir=`$as_dirname -- "$as_dir" || 38833a67387eSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 38843a67387eSmrg X"$as_dir" : 'X\(//\)[^/]' \| \ 38853a67387eSmrg X"$as_dir" : 'X\(//\)$' \| \ 38863a67387eSmrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 38877591dea4Smrgprintf "%s\n" X"$as_dir" | 38883a67387eSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 38893a67387eSmrg s//\1/ 38903a67387eSmrg q 38913a67387eSmrg } 38923a67387eSmrg /^X\(\/\/\)[^/].*/{ 38933a67387eSmrg s//\1/ 38943a67387eSmrg q 38953a67387eSmrg } 38963a67387eSmrg /^X\(\/\/\)$/{ 38973a67387eSmrg s//\1/ 38983a67387eSmrg q 38993a67387eSmrg } 39003a67387eSmrg /^X\(\/\).*/{ 39013a67387eSmrg s//\1/ 39023a67387eSmrg q 39033a67387eSmrg } 39043a67387eSmrg s/.*/./; q'` 39053a67387eSmrg test -d "$as_dir" && break 39063a67387eSmrg done 39073a67387eSmrg test -z "$as_dirs" || eval "mkdir $as_dirs" 39083a67387eSmrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 39093a67387eSmrg 39103a67387eSmrg 39113a67387eSmrg} # as_fn_mkdir_p 391256f6b22bSmrgif mkdir -p . 2>/dev/null; then 39133a67387eSmrg as_mkdir_p='mkdir -p "$as_dir"' 391456f6b22bSmrgelse 391556f6b22bSmrg test -d ./-p && rmdir ./-p 391656f6b22bSmrg as_mkdir_p=false 391756f6b22bSmrgfi 391856f6b22bSmrg 39197591dea4Smrg 39207591dea4Smrg# as_fn_executable_p FILE 39217591dea4Smrg# ----------------------- 39227591dea4Smrg# Test if FILE is an executable regular file. 39237591dea4Smrgas_fn_executable_p () 39247591dea4Smrg{ 39257591dea4Smrg test -f "$1" && test -x "$1" 39267591dea4Smrg} # as_fn_executable_p 39277591dea4Smrgas_test_x='test -x' 39287591dea4Smrgas_executable_p=as_fn_executable_p 392956f6b22bSmrg 393056f6b22bSmrg# Sed expression to map a string onto a valid CPP name. 393156f6b22bSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 393256f6b22bSmrg 393356f6b22bSmrg# Sed expression to map a string onto a valid variable name. 393456f6b22bSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 393556f6b22bSmrg 393656f6b22bSmrg 393756f6b22bSmrgexec 6>&1 39383a67387eSmrg## ----------------------------------- ## 39393a67387eSmrg## Main body of $CONFIG_STATUS script. ## 39403a67387eSmrg## ----------------------------------- ## 39413a67387eSmrg_ASEOF 39423a67387eSmrgtest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 394356f6b22bSmrg 39443a67387eSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 39453a67387eSmrg# Save the log message, to keep $0 and so on meaningful, and to 394656f6b22bSmrg# report actual input values of CONFIG_FILES etc. instead of their 3947ef7198c0Smrg# values after options handling. 3948ef7198c0Smrgac_log=" 39497591dea4SmrgThis file was extended by font-bitstream-100dpi $as_me 1.0.4, which was 39507591dea4Smrggenerated by GNU Autoconf 2.71. Invocation command line was 395156f6b22bSmrg 395256f6b22bSmrg CONFIG_FILES = $CONFIG_FILES 395356f6b22bSmrg CONFIG_HEADERS = $CONFIG_HEADERS 395456f6b22bSmrg CONFIG_LINKS = $CONFIG_LINKS 395556f6b22bSmrg CONFIG_COMMANDS = $CONFIG_COMMANDS 395656f6b22bSmrg $ $0 $@ 395756f6b22bSmrg 3958ef7198c0Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q` 3959ef7198c0Smrg" 3960ef7198c0Smrg 396156f6b22bSmrg_ACEOF 396256f6b22bSmrg 3963ef7198c0Smrgcase $ac_config_files in *" 3964ef7198c0Smrg"*) set x $ac_config_files; shift; ac_config_files=$*;; 3965ef7198c0Smrgesac 396656f6b22bSmrg 396756f6b22bSmrg 396856f6b22bSmrg 3969ef7198c0Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3970ef7198c0Smrg# Files that config.status was made for. 3971ef7198c0Smrgconfig_files="$ac_config_files" 397256f6b22bSmrg 3973ef7198c0Smrg_ACEOF 397456f6b22bSmrg 3975ef7198c0Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 397656f6b22bSmrgac_cs_usage="\ 39773a67387eSmrg\`$as_me' instantiates files and other configuration actions 39783a67387eSmrgfrom templates according to the current configuration. Unless the files 39793a67387eSmrgand actions are specified as TAGs, all are instantiated by default. 398056f6b22bSmrg 39813a67387eSmrgUsage: $0 [OPTION]... [TAG]... 398256f6b22bSmrg 398356f6b22bSmrg -h, --help print this help, then exit 3984ef7198c0Smrg -V, --version print version number and configuration settings, then exit 39853a67387eSmrg --config print configuration, then exit 3986ef7198c0Smrg -q, --quiet, --silent 3987ef7198c0Smrg do not print progress messages 398856f6b22bSmrg -d, --debug don't remove temporary files 398956f6b22bSmrg --recheck update $as_me by reconfiguring in the same conditions 3990ef7198c0Smrg --file=FILE[:TEMPLATE] 3991ef7198c0Smrg instantiate the configuration file FILE 399256f6b22bSmrg 399356f6b22bSmrgConfiguration files: 399456f6b22bSmrg$config_files 399556f6b22bSmrg 39967591dea4SmrgReport bugs to <https://gitlab.freedesktop.org/xorg/font/bitstream-100dpi/-/issues>." 399756f6b22bSmrg 3998ef7198c0Smrg_ACEOF 39997591dea4Smrgac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` 40007591dea4Smrgac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` 4001ef7198c0Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 40027591dea4Smrgac_cs_config='$ac_cs_config_escaped' 400356f6b22bSmrgac_cs_version="\\ 40047591dea4Smrgfont-bitstream-100dpi config.status 1.0.4 40057591dea4Smrgconfigured by $0, generated by GNU Autoconf 2.71, 40063a67387eSmrg with options \\"\$ac_cs_config\\" 400756f6b22bSmrg 40087591dea4SmrgCopyright (C) 2021 Free Software Foundation, Inc. 400956f6b22bSmrgThis config.status script is free software; the Free Software Foundation 401056f6b22bSmrggives unlimited permission to copy, distribute and modify it." 4011ef7198c0Smrg 4012ef7198c0Smrgac_pwd='$ac_pwd' 4013ef7198c0Smrgsrcdir='$srcdir' 4014ef7198c0SmrgINSTALL='$INSTALL' 4015ef7198c0SmrgMKDIR_P='$MKDIR_P' 4016ef7198c0SmrgAWK='$AWK' 4017ef7198c0Smrgtest -n "\$AWK" || AWK=awk 401856f6b22bSmrg_ACEOF 401956f6b22bSmrg 4020ef7198c0Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4021ef7198c0Smrg# The default lists apply if the user does not specify any file. 402256f6b22bSmrgac_need_defaults=: 402356f6b22bSmrgwhile test $# != 0 402456f6b22bSmrgdo 402556f6b22bSmrg case $1 in 40263a67387eSmrg --*=?*) 4027ef7198c0Smrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 4028ef7198c0Smrg ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 402956f6b22bSmrg ac_shift=: 403056f6b22bSmrg ;; 40313a67387eSmrg --*=) 40323a67387eSmrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 40333a67387eSmrg ac_optarg= 40343a67387eSmrg ac_shift=: 40353a67387eSmrg ;; 4036ef7198c0Smrg *) 403756f6b22bSmrg ac_option=$1 403856f6b22bSmrg ac_optarg=$2 403956f6b22bSmrg ac_shift=shift 404056f6b22bSmrg ;; 404156f6b22bSmrg esac 404256f6b22bSmrg 404356f6b22bSmrg case $ac_option in 404456f6b22bSmrg # Handling of the options. 404556f6b22bSmrg -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 404656f6b22bSmrg ac_cs_recheck=: ;; 4047ef7198c0Smrg --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 40487591dea4Smrg printf "%s\n" "$ac_cs_version"; exit ;; 40493a67387eSmrg --config | --confi | --conf | --con | --co | --c ) 40507591dea4Smrg printf "%s\n" "$ac_cs_config"; exit ;; 4051ef7198c0Smrg --debug | --debu | --deb | --de | --d | -d ) 405256f6b22bSmrg debug=: ;; 405356f6b22bSmrg --file | --fil | --fi | --f ) 405456f6b22bSmrg $ac_shift 4055ef7198c0Smrg case $ac_optarg in 40567591dea4Smrg *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 40573a67387eSmrg '') as_fn_error $? "missing file argument" ;; 4058ef7198c0Smrg esac 40593a67387eSmrg as_fn_append CONFIG_FILES " '$ac_optarg'" 406056f6b22bSmrg ac_need_defaults=false;; 4061ef7198c0Smrg --he | --h | --help | --hel | -h ) 40627591dea4Smrg printf "%s\n" "$ac_cs_usage"; exit ;; 406356f6b22bSmrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 406456f6b22bSmrg | -silent | --silent | --silen | --sile | --sil | --si | --s) 406556f6b22bSmrg ac_cs_silent=: ;; 406656f6b22bSmrg 406756f6b22bSmrg # This is an error. 40683a67387eSmrg -*) as_fn_error $? "unrecognized option: \`$1' 40693a67387eSmrgTry \`$0 --help' for more information." ;; 407056f6b22bSmrg 40713a67387eSmrg *) as_fn_append ac_config_targets " $1" 4072ef7198c0Smrg ac_need_defaults=false ;; 407356f6b22bSmrg 407456f6b22bSmrg esac 407556f6b22bSmrg shift 407656f6b22bSmrgdone 407756f6b22bSmrg 407856f6b22bSmrgac_configure_extra_args= 407956f6b22bSmrg 408056f6b22bSmrgif $ac_cs_silent; then 408156f6b22bSmrg exec 6>/dev/null 408256f6b22bSmrg ac_configure_extra_args="$ac_configure_extra_args --silent" 408356f6b22bSmrgfi 408456f6b22bSmrg 408556f6b22bSmrg_ACEOF 4086ef7198c0Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 408756f6b22bSmrgif \$ac_cs_recheck; then 40887591dea4Smrg set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 4089ef7198c0Smrg shift 40907591dea4Smrg \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 4091ef7198c0Smrg CONFIG_SHELL='$SHELL' 4092ef7198c0Smrg export CONFIG_SHELL 4093ef7198c0Smrg exec "\$@" 409456f6b22bSmrgfi 409556f6b22bSmrg 409656f6b22bSmrg_ACEOF 4097ef7198c0Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4098ef7198c0Smrgexec 5>>config.log 4099ef7198c0Smrg{ 4100ef7198c0Smrg echo 4101ef7198c0Smrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 4102ef7198c0Smrg## Running $as_me. ## 4103ef7198c0Smrg_ASBOX 41047591dea4Smrg printf "%s\n" "$ac_log" 4105ef7198c0Smrg} >&5 410656f6b22bSmrg 4107ef7198c0Smrg_ACEOF 4108ef7198c0Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4109ef7198c0Smrg_ACEOF 411056f6b22bSmrg 4111ef7198c0Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 411256f6b22bSmrg 4113ef7198c0Smrg# Handling of arguments. 411456f6b22bSmrgfor ac_config_target in $ac_config_targets 411556f6b22bSmrgdo 4116ef7198c0Smrg case $ac_config_target in 4117ef7198c0Smrg "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 4118ef7198c0Smrg 41193a67387eSmrg *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 412056f6b22bSmrg esac 412156f6b22bSmrgdone 412256f6b22bSmrg 4123ef7198c0Smrg 412456f6b22bSmrg# If the user did not use the arguments to specify the items to instantiate, 412556f6b22bSmrg# then the envvar interface is used. Set only those that are not. 412656f6b22bSmrg# We use the long form for the default assignment because of an extremely 412756f6b22bSmrg# bizarre bug on SunOS 4.1.3. 412856f6b22bSmrgif $ac_need_defaults; then 41297591dea4Smrg test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files 413056f6b22bSmrgfi 413156f6b22bSmrg 413256f6b22bSmrg# Have a temporary directory for convenience. Make it in the build tree 4133ef7198c0Smrg# simply because there is no reason against having it here, and in addition, 413456f6b22bSmrg# creating and moving files from /tmp can sometimes cause problems. 4135ef7198c0Smrg# Hook for its removal unless debugging. 4136ef7198c0Smrg# Note that there is a small window in which the directory will not be cleaned: 4137ef7198c0Smrg# after its creation but before its name has been assigned to `$tmp'. 413856f6b22bSmrg$debug || 413956f6b22bSmrg{ 41403a67387eSmrg tmp= ac_tmp= 4141ef7198c0Smrg trap 'exit_status=$? 41423a67387eSmrg : "${ac_tmp:=$tmp}" 41433a67387eSmrg { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 4144ef7198c0Smrg' 0 41453a67387eSmrg trap 'as_fn_exit 1' 1 2 13 15 414656f6b22bSmrg} 414756f6b22bSmrg# Create a (secure) tmp directory for tmp files. 414856f6b22bSmrg 414956f6b22bSmrg{ 4150ef7198c0Smrg tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 41513a67387eSmrg test -d "$tmp" 415256f6b22bSmrg} || 415356f6b22bSmrg{ 4154ef7198c0Smrg tmp=./conf$$-$RANDOM 4155ef7198c0Smrg (umask 077 && mkdir "$tmp") 41563a67387eSmrg} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 41573a67387eSmrgac_tmp=$tmp 415856f6b22bSmrg 4159ef7198c0Smrg# Set up the scripts for CONFIG_FILES section. 4160ef7198c0Smrg# No need to generate them if there are no CONFIG_FILES. 4161ef7198c0Smrg# This happens for instance with `./config.status config.h'. 4162ef7198c0Smrgif test -n "$CONFIG_FILES"; then 4163ef7198c0Smrg 4164ef7198c0Smrg 41653a67387eSmrgac_cr=`echo X | tr X '\015'` 41663a67387eSmrg# On cygwin, bash can eat \r inside `` if the user requested igncr. 41673a67387eSmrg# But we know of no other shell where ac_cr would be empty at this 41683a67387eSmrg# point, so we can use a bashism as a fallback. 41693a67387eSmrgif test "x$ac_cr" = x; then 41703a67387eSmrg eval ac_cr=\$\'\\r\' 41713a67387eSmrgfi 4172ef7198c0Smrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 4173ef7198c0Smrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 4174ef7198c0Smrg ac_cs_awk_cr='\\r' 4175ef7198c0Smrgelse 4176ef7198c0Smrg ac_cs_awk_cr=$ac_cr 4177ef7198c0Smrgfi 4178ef7198c0Smrg 41793a67387eSmrgecho 'BEGIN {' >"$ac_tmp/subs1.awk" && 418056f6b22bSmrg_ACEOF 418156f6b22bSmrg 418256f6b22bSmrg 4183ef7198c0Smrg{ 4184ef7198c0Smrg echo "cat >conf$$subs.awk <<_ACEOF" && 4185ef7198c0Smrg echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 4186ef7198c0Smrg echo "_ACEOF" 4187ef7198c0Smrg} >conf$$subs.sh || 41883a67387eSmrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 41893a67387eSmrgac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 4190ef7198c0Smrgac_delim='%!_!# ' 4191ef7198c0Smrgfor ac_last_try in false false false false false :; do 4192ef7198c0Smrg . ./conf$$subs.sh || 41933a67387eSmrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 419456f6b22bSmrg 4195ef7198c0Smrg ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 4196ef7198c0Smrg if test $ac_delim_n = $ac_delim_num; then 4197ef7198c0Smrg break 4198ef7198c0Smrg elif $ac_last_try; then 41993a67387eSmrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 4200ef7198c0Smrg else 4201ef7198c0Smrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 420256f6b22bSmrg fi 4203ef7198c0Smrgdone 4204ef7198c0Smrgrm -f conf$$subs.sh 420556f6b22bSmrg 4206ef7198c0Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 42073a67387eSmrgcat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 420856f6b22bSmrg_ACEOF 4209ef7198c0Smrgsed -n ' 4210ef7198c0Smrgh 4211ef7198c0Smrgs/^/S["/; s/!.*/"]=/ 4212ef7198c0Smrgp 4213ef7198c0Smrgg 4214ef7198c0Smrgs/^[^!]*!// 4215ef7198c0Smrg:repl 4216ef7198c0Smrgt repl 4217ef7198c0Smrgs/'"$ac_delim"'$// 4218ef7198c0Smrgt delim 4219ef7198c0Smrg:nl 4220ef7198c0Smrgh 42213a67387eSmrgs/\(.\{148\}\)..*/\1/ 4222ef7198c0Smrgt more1 4223ef7198c0Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 4224ef7198c0Smrgp 4225ef7198c0Smrgn 4226ef7198c0Smrgb repl 4227ef7198c0Smrg:more1 4228ef7198c0Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 4229ef7198c0Smrgp 4230ef7198c0Smrgg 4231ef7198c0Smrgs/.\{148\}// 4232ef7198c0Smrgt nl 4233ef7198c0Smrg:delim 4234ef7198c0Smrgh 42353a67387eSmrgs/\(.\{148\}\)..*/\1/ 4236ef7198c0Smrgt more2 4237ef7198c0Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/ 4238ef7198c0Smrgp 4239ef7198c0Smrgb 4240ef7198c0Smrg:more2 4241ef7198c0Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 4242ef7198c0Smrgp 4243ef7198c0Smrgg 4244ef7198c0Smrgs/.\{148\}// 4245ef7198c0Smrgt delim 4246ef7198c0Smrg' <conf$$subs.awk | sed ' 4247ef7198c0Smrg/^[^""]/{ 4248ef7198c0Smrg N 4249ef7198c0Smrg s/\n// 4250ef7198c0Smrg} 4251ef7198c0Smrg' >>$CONFIG_STATUS || ac_write_fail=1 4252ef7198c0Smrgrm -f conf$$subs.awk 4253ef7198c0Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4254ef7198c0Smrg_ACAWK 42553a67387eSmrgcat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 4256ef7198c0Smrg for (key in S) S_is_set[key] = 1 4257ef7198c0Smrg FS = "" 4258ef7198c0Smrg 4259ef7198c0Smrg} 4260ef7198c0Smrg{ 4261ef7198c0Smrg line = $ 0 4262ef7198c0Smrg nfields = split(line, field, "@") 4263ef7198c0Smrg substed = 0 4264ef7198c0Smrg len = length(field[1]) 4265ef7198c0Smrg for (i = 2; i < nfields; i++) { 4266ef7198c0Smrg key = field[i] 4267ef7198c0Smrg keylen = length(key) 4268ef7198c0Smrg if (S_is_set[key]) { 4269ef7198c0Smrg value = S[key] 4270ef7198c0Smrg line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 4271ef7198c0Smrg len += length(value) + length(field[++i]) 4272ef7198c0Smrg substed = 1 4273ef7198c0Smrg } else 4274ef7198c0Smrg len += 1 + keylen 4275ef7198c0Smrg } 4276ef7198c0Smrg 4277ef7198c0Smrg print line 4278ef7198c0Smrg} 4279ef7198c0Smrg 4280ef7198c0Smrg_ACAWK 4281ef7198c0Smrg_ACEOF 4282ef7198c0Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4283ef7198c0Smrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 4284ef7198c0Smrg sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 4285ef7198c0Smrgelse 4286ef7198c0Smrg cat 42873a67387eSmrgfi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 42883a67387eSmrg || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 4289ef7198c0Smrg_ACEOF 4290ef7198c0Smrg 42913a67387eSmrg# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 42923a67387eSmrg# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 4293ef7198c0Smrg# trailing colons and then remove the whole line if VPATH becomes empty 4294ef7198c0Smrg# (actually we leave an empty line to preserve line numbers). 4295ef7198c0Smrgif test "x$srcdir" = x.; then 42963a67387eSmrg ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 42973a67387eSmrgh 42983a67387eSmrgs/// 42993a67387eSmrgs/^/:/ 43003a67387eSmrgs/[ ]*$/:/ 43013a67387eSmrgs/:\$(srcdir):/:/g 43023a67387eSmrgs/:\${srcdir}:/:/g 43033a67387eSmrgs/:@srcdir@:/:/g 43043a67387eSmrgs/^:*// 4305ef7198c0Smrgs/:*$// 43063a67387eSmrgx 43073a67387eSmrgs/\(=[ ]*\).*/\1/ 43083a67387eSmrgG 43093a67387eSmrgs/\n// 4310ef7198c0Smrgs/^[^=]*=[ ]*$// 4311ef7198c0Smrg}' 4312ef7198c0Smrgfi 4313ef7198c0Smrg 4314ef7198c0Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4315ef7198c0Smrgfi # test -n "$CONFIG_FILES" 4316ef7198c0Smrg 4317ef7198c0Smrg 43187591dea4Smrgeval set X " :F $CONFIG_FILES " 4319ef7198c0Smrgshift 4320ef7198c0Smrgfor ac_tag 4321ef7198c0Smrgdo 4322ef7198c0Smrg case $ac_tag in 4323ef7198c0Smrg :[FHLC]) ac_mode=$ac_tag; continue;; 4324ef7198c0Smrg esac 4325ef7198c0Smrg case $ac_mode$ac_tag in 4326ef7198c0Smrg :[FHL]*:*);; 43273a67387eSmrg :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 4328ef7198c0Smrg :[FH]-) ac_tag=-:-;; 4329ef7198c0Smrg :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 4330ef7198c0Smrg esac 4331ef7198c0Smrg ac_save_IFS=$IFS 4332ef7198c0Smrg IFS=: 4333ef7198c0Smrg set x $ac_tag 4334ef7198c0Smrg IFS=$ac_save_IFS 4335ef7198c0Smrg shift 4336ef7198c0Smrg ac_file=$1 4337ef7198c0Smrg shift 4338ef7198c0Smrg 4339ef7198c0Smrg case $ac_mode in 4340ef7198c0Smrg :L) ac_source=$1;; 4341ef7198c0Smrg :[FH]) 4342ef7198c0Smrg ac_file_inputs= 4343ef7198c0Smrg for ac_f 4344ef7198c0Smrg do 4345ef7198c0Smrg case $ac_f in 43463a67387eSmrg -) ac_f="$ac_tmp/stdin";; 4347ef7198c0Smrg *) # Look for the file first in the build tree, then in the source tree 4348ef7198c0Smrg # (if the path is not absolute). The absolute path cannot be DOS-style, 4349ef7198c0Smrg # because $ac_f cannot contain `:'. 4350ef7198c0Smrg test -f "$ac_f" || 4351ef7198c0Smrg case $ac_f in 4352ef7198c0Smrg [\\/$]*) false;; 4353ef7198c0Smrg *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 4354ef7198c0Smrg esac || 43553a67387eSmrg as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 4356ef7198c0Smrg esac 43577591dea4Smrg case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 43583a67387eSmrg as_fn_append ac_file_inputs " '$ac_f'" 4359ef7198c0Smrg done 4360ef7198c0Smrg 4361ef7198c0Smrg # Let's still pretend it is `configure' which instantiates (i.e., don't 4362ef7198c0Smrg # use $as_me), people would be surprised to read: 4363ef7198c0Smrg # /* config.h. Generated by config.status. */ 4364ef7198c0Smrg configure_input='Generated from '` 43657591dea4Smrg printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 4366ef7198c0Smrg `' by configure.' 4367ef7198c0Smrg if test x"$ac_file" != x-; then 4368ef7198c0Smrg configure_input="$ac_file. $configure_input" 43697591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 43707591dea4Smrgprintf "%s\n" "$as_me: creating $ac_file" >&6;} 4371ef7198c0Smrg fi 4372ef7198c0Smrg # Neutralize special characters interpreted by sed in replacement strings. 4373ef7198c0Smrg case $configure_input in #( 4374ef7198c0Smrg *\&* | *\|* | *\\* ) 43757591dea4Smrg ac_sed_conf_input=`printf "%s\n" "$configure_input" | 4376ef7198c0Smrg sed 's/[\\\\&|]/\\\\&/g'`;; #( 4377ef7198c0Smrg *) ac_sed_conf_input=$configure_input;; 4378ef7198c0Smrg esac 4379ef7198c0Smrg 4380ef7198c0Smrg case $ac_tag in 43813a67387eSmrg *:-:* | *:-) cat >"$ac_tmp/stdin" \ 43823a67387eSmrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 4383ef7198c0Smrg esac 4384ef7198c0Smrg ;; 438556f6b22bSmrg esac 438656f6b22bSmrg 4387ef7198c0Smrg ac_dir=`$as_dirname -- "$ac_file" || 438856f6b22bSmrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 438956f6b22bSmrg X"$ac_file" : 'X\(//\)[^/]' \| \ 439056f6b22bSmrg X"$ac_file" : 'X\(//\)$' \| \ 4391ef7198c0Smrg X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 43927591dea4Smrgprintf "%s\n" X"$ac_file" | 4393ef7198c0Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4394ef7198c0Smrg s//\1/ 4395ef7198c0Smrg q 4396ef7198c0Smrg } 4397ef7198c0Smrg /^X\(\/\/\)[^/].*/{ 4398ef7198c0Smrg s//\1/ 4399ef7198c0Smrg q 4400ef7198c0Smrg } 4401ef7198c0Smrg /^X\(\/\/\)$/{ 4402ef7198c0Smrg s//\1/ 4403ef7198c0Smrg q 4404ef7198c0Smrg } 4405ef7198c0Smrg /^X\(\/\).*/{ 4406ef7198c0Smrg s//\1/ 4407ef7198c0Smrg q 4408ef7198c0Smrg } 4409ef7198c0Smrg s/.*/./; q'` 44103a67387eSmrg as_dir="$ac_dir"; as_fn_mkdir_p 441156f6b22bSmrg ac_builddir=. 441256f6b22bSmrg 4413ef7198c0Smrgcase "$ac_dir" in 4414ef7198c0Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 4415ef7198c0Smrg*) 44167591dea4Smrg ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 4417ef7198c0Smrg # A ".." for each directory in $ac_dir_suffix. 44187591dea4Smrg ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 4419ef7198c0Smrg case $ac_top_builddir_sub in 4420ef7198c0Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 4421ef7198c0Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 4422ef7198c0Smrg esac ;; 4423ef7198c0Smrgesac 4424ef7198c0Smrgac_abs_top_builddir=$ac_pwd 4425ef7198c0Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 4426ef7198c0Smrg# for backward compatibility: 4427ef7198c0Smrgac_top_builddir=$ac_top_build_prefix 442856f6b22bSmrg 442956f6b22bSmrgcase $srcdir in 4430ef7198c0Smrg .) # We are building in place. 443156f6b22bSmrg ac_srcdir=. 4432ef7198c0Smrg ac_top_srcdir=$ac_top_builddir_sub 4433ef7198c0Smrg ac_abs_top_srcdir=$ac_pwd ;; 4434ef7198c0Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 443556f6b22bSmrg ac_srcdir=$srcdir$ac_dir_suffix; 4436ef7198c0Smrg ac_top_srcdir=$srcdir 4437ef7198c0Smrg ac_abs_top_srcdir=$srcdir ;; 4438ef7198c0Smrg *) # Relative name. 4439ef7198c0Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 4440ef7198c0Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 4441ef7198c0Smrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 444256f6b22bSmrgesac 4443ef7198c0Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 444456f6b22bSmrg 444556f6b22bSmrg 4446ef7198c0Smrg case $ac_mode in 4447ef7198c0Smrg :F) 4448ef7198c0Smrg # 4449ef7198c0Smrg # CONFIG_FILE 4450ef7198c0Smrg # 445156f6b22bSmrg 445256f6b22bSmrg case $INSTALL in 445356f6b22bSmrg [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 4454ef7198c0Smrg *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 445556f6b22bSmrg esac 4456ef7198c0Smrg ac_MKDIR_P=$MKDIR_P 4457ef7198c0Smrg case $MKDIR_P in 4458ef7198c0Smrg [\\/$]* | ?:[\\/]* ) ;; 4459ef7198c0Smrg */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 4460ef7198c0Smrg esac 4461ef7198c0Smrg_ACEOF 446256f6b22bSmrg 4463ef7198c0Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4464ef7198c0Smrg# If the template does not know about datarootdir, expand it. 4465ef7198c0Smrg# FIXME: This hack should be removed a few years after 2.60. 4466ef7198c0Smrgac_datarootdir_hack=; ac_datarootdir_seen= 4467ef7198c0Smrgac_sed_dataroot=' 4468ef7198c0Smrg/datarootdir/ { 4469ef7198c0Smrg p 4470ef7198c0Smrg q 4471ef7198c0Smrg} 4472ef7198c0Smrg/@datadir@/p 4473ef7198c0Smrg/@docdir@/p 4474ef7198c0Smrg/@infodir@/p 4475ef7198c0Smrg/@localedir@/p 44763a67387eSmrg/@mandir@/p' 4477ef7198c0Smrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 4478ef7198c0Smrg*datarootdir*) ac_datarootdir_seen=yes;; 4479ef7198c0Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 44807591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 44817591dea4Smrgprintf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 4482ef7198c0Smrg_ACEOF 4483ef7198c0Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4484ef7198c0Smrg ac_datarootdir_hack=' 4485ef7198c0Smrg s&@datadir@&$datadir&g 4486ef7198c0Smrg s&@docdir@&$docdir&g 4487ef7198c0Smrg s&@infodir@&$infodir&g 4488ef7198c0Smrg s&@localedir@&$localedir&g 4489ef7198c0Smrg s&@mandir@&$mandir&g 44903a67387eSmrg s&\\\${datarootdir}&$datarootdir&g' ;; 4491ef7198c0Smrgesac 449256f6b22bSmrg_ACEOF 4493ef7198c0Smrg 4494ef7198c0Smrg# Neutralize VPATH when `$srcdir' = `.'. 4495ef7198c0Smrg# Shell code in configure.ac might set extrasub. 4496ef7198c0Smrg# FIXME: do we really want to maintain this feature? 4497ef7198c0Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4498ef7198c0Smrgac_sed_extra="$ac_vpsub 449956f6b22bSmrg$extrasub 450056f6b22bSmrg_ACEOF 4501ef7198c0Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 450256f6b22bSmrg:t 450356f6b22bSmrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 4504ef7198c0Smrgs|@configure_input@|$ac_sed_conf_input|;t t 4505ef7198c0Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t 4506ef7198c0Smrgs&@top_build_prefix@&$ac_top_build_prefix&;t t 4507ef7198c0Smrgs&@srcdir@&$ac_srcdir&;t t 4508ef7198c0Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t 4509ef7198c0Smrgs&@top_srcdir@&$ac_top_srcdir&;t t 4510ef7198c0Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 4511ef7198c0Smrgs&@builddir@&$ac_builddir&;t t 4512ef7198c0Smrgs&@abs_builddir@&$ac_abs_builddir&;t t 4513ef7198c0Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t 4514ef7198c0Smrgs&@INSTALL@&$ac_INSTALL&;t t 4515ef7198c0Smrgs&@MKDIR_P@&$ac_MKDIR_P&;t t 4516ef7198c0Smrg$ac_datarootdir_hack 4517ef7198c0Smrg" 45183a67387eSmrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 45193a67387eSmrg >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 452056f6b22bSmrg 4521ef7198c0Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 45223a67387eSmrg { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 45233a67387eSmrg { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 45243a67387eSmrg "$ac_tmp/out"`; test -z "$ac_out"; } && 45257591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 45263a67387eSmrgwhich seems to be undefined. Please make sure it is defined" >&5 45277591dea4Smrgprintf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 45283a67387eSmrgwhich seems to be undefined. Please make sure it is defined" >&2;} 4529ef7198c0Smrg 45303a67387eSmrg rm -f "$ac_tmp/stdin" 4531ef7198c0Smrg case $ac_file in 45323a67387eSmrg -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 45333a67387eSmrg *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 4534ef7198c0Smrg esac \ 45353a67387eSmrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 4536ef7198c0Smrg ;; 4537ef7198c0Smrg 4538ef7198c0Smrg 4539ef7198c0Smrg 4540ef7198c0Smrg esac 4541ef7198c0Smrg 4542ef7198c0Smrgdone # for ac_tag 454356f6b22bSmrg 454456f6b22bSmrg 45453a67387eSmrgas_fn_exit 0 454656f6b22bSmrg_ACEOF 454756f6b22bSmrgac_clean_files=$ac_clean_files_save 454856f6b22bSmrg 4549ef7198c0Smrgtest $ac_write_fail = 0 || 45503a67387eSmrg as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 4551ef7198c0Smrg 455256f6b22bSmrg 455356f6b22bSmrg# configure is writing to config.log, and then calls config.status. 455456f6b22bSmrg# config.status does its own redirection, appending to config.log. 455556f6b22bSmrg# Unfortunately, on DOS this fails, as config.log is still kept open 455656f6b22bSmrg# by configure, so config.status won't be able to write to it; its 455756f6b22bSmrg# output is simply discarded. So we exec the FD to /dev/null, 455856f6b22bSmrg# effectively closing config.log, so it can be properly (re)opened and 455956f6b22bSmrg# appended to by config.status. When coming back to configure, we 456056f6b22bSmrg# need to make the FD available again. 456156f6b22bSmrgif test "$no_create" != yes; then 456256f6b22bSmrg ac_cs_success=: 456356f6b22bSmrg ac_config_status_args= 456456f6b22bSmrg test "$silent" = yes && 456556f6b22bSmrg ac_config_status_args="$ac_config_status_args --quiet" 456656f6b22bSmrg exec 5>/dev/null 456756f6b22bSmrg $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 456856f6b22bSmrg exec 5>>config.log 456956f6b22bSmrg # Use ||, not &&, to avoid exiting from the if with $? = 1, which 457056f6b22bSmrg # would make configure fail if this is the last instruction. 45713a67387eSmrg $ac_cs_success || as_fn_exit 1 457256f6b22bSmrgfi 4573ef7198c0Smrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 45747591dea4Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 45757591dea4Smrgprintf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 4576ef7198c0Smrgfi 457756f6b22bSmrg 45787591dea4Smrg 4579