10bd0e222Smrg#! /bin/sh 20bd0e222Smrg# Guess values for system-dependent variables and create Makefiles. 3111ba1daSmrg# Generated by GNU Autoconf 2.71 for font-jis-misc 1.0.4. 40bd0e222Smrg# 5111ba1daSmrg# Report bugs to <https://gitlab.freedesktop.org/xorg/font/jis-misc/-/issues>. 60bd0e222Smrg# 7d5d8cc55Smrg# 8111ba1daSmrg# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, 9111ba1daSmrg# Inc. 10d5d8cc55Smrg# 11d5d8cc55Smrg# 120bd0e222Smrg# This configure script is free software; the Free Software Foundation 130bd0e222Smrg# gives unlimited permission to copy, distribute and modify it. 14d5d8cc55Smrg## -------------------- ## 15d5d8cc55Smrg## M4sh Initialization. ## 16d5d8cc55Smrg## -------------------- ## 170bd0e222Smrg 188ff16396Smrg# Be more Bourne compatible 198ff16396SmrgDUALCASE=1; export DUALCASE # for MKS sh 20111ba1daSmrgas_nop=: 21111ba1daSmrgif test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 22111ba1daSmrgthen : 230bd0e222Smrg emulate sh 240bd0e222Smrg NULLCMD=: 258ff16396Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 260bd0e222Smrg # is contrary to our usage. Disable this feature. 270bd0e222Smrg alias -g '${1+"$@"}'='"$@"' 288ff16396Smrg setopt NO_GLOB_SUBST 29111ba1daSmrgelse $as_nop 30d5d8cc55Smrg case `(set -o) 2>/dev/null` in #( 31d5d8cc55Smrg *posix*) : 32d5d8cc55Smrg set -o posix ;; #( 33d5d8cc55Smrg *) : 34d5d8cc55Smrg ;; 358ff16396Smrgesac 368ff16396Smrgfi 378ff16396Smrg 388ff16396Smrg 39111ba1daSmrg 40111ba1daSmrg# Reset variables that may have inherited troublesome values from 41111ba1daSmrg# the environment. 42111ba1daSmrg 43111ba1daSmrg# IFS needs to be set, to space, tab, and newline, in precisely that order. 44111ba1daSmrg# (If _AS_PATH_WALK were called with IFS unset, it would have the 45111ba1daSmrg# side effect of setting IFS to empty, thus disabling word splitting.) 46111ba1daSmrg# Quoting is to prevent editors from complaining about space-tab. 478ff16396Smrgas_nl=' 488ff16396Smrg' 498ff16396Smrgexport as_nl 50111ba1daSmrgIFS=" "" $as_nl" 51111ba1daSmrg 52111ba1daSmrgPS1='$ ' 53111ba1daSmrgPS2='> ' 54111ba1daSmrgPS4='+ ' 55111ba1daSmrg 56111ba1daSmrg# Ensure predictable behavior from utilities with locale-dependent output. 57111ba1daSmrgLC_ALL=C 58111ba1daSmrgexport LC_ALL 59111ba1daSmrgLANGUAGE=C 60111ba1daSmrgexport LANGUAGE 61111ba1daSmrg 62111ba1daSmrg# We cannot yet rely on "unset" to work, but we need these variables 63111ba1daSmrg# to be unset--not just set to an empty or harmless value--now, to 64111ba1daSmrg# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct 65111ba1daSmrg# also avoids known problems related to "unset" and subshell syntax 66111ba1daSmrg# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). 67111ba1daSmrgfor as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 68111ba1daSmrgdo eval test \${$as_var+y} \ 69111ba1daSmrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 70111ba1daSmrgdone 71111ba1daSmrg 72111ba1daSmrg# Ensure that fds 0, 1, and 2 are open. 73111ba1daSmrgif (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 74111ba1daSmrgif (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 75111ba1daSmrgif (exec 3>&2) ; then :; else exec 2>/dev/null; fi 768ff16396Smrg 778ff16396Smrg# The user is always right. 78111ba1daSmrgif ${PATH_SEPARATOR+false} :; then 798ff16396Smrg PATH_SEPARATOR=: 808ff16396Smrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 818ff16396Smrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 828ff16396Smrg PATH_SEPARATOR=';' 838ff16396Smrg } 840bd0e222Smrgfi 850bd0e222Smrg 860bd0e222Smrg 878ff16396Smrg# Find who we are. Look in the path if we contain no directory separator. 88d5d8cc55Smrgas_myself= 89d5d8cc55Smrgcase $0 in #(( 908ff16396Smrg *[\\/]* ) as_myself=$0 ;; 918ff16396Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 928ff16396Smrgfor as_dir in $PATH 938ff16396Smrgdo 948ff16396Smrg IFS=$as_save_IFS 95111ba1daSmrg case $as_dir in #((( 96111ba1daSmrg '') as_dir=./ ;; 97111ba1daSmrg */) ;; 98111ba1daSmrg *) as_dir=$as_dir/ ;; 99111ba1daSmrg esac 100111ba1daSmrg test -r "$as_dir$0" && as_myself=$as_dir$0 && break 101d5d8cc55Smrg done 1028ff16396SmrgIFS=$as_save_IFS 1038ff16396Smrg 1048ff16396Smrg ;; 1058ff16396Smrgesac 1068ff16396Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 1078ff16396Smrg# in which case we are not to be found in the path. 1088ff16396Smrgif test "x$as_myself" = x; then 1098ff16396Smrg as_myself=$0 1108ff16396Smrgfi 1118ff16396Smrgif test ! -f "$as_myself"; then 112111ba1daSmrg printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113d5d8cc55Smrg exit 1 1148ff16396Smrgfi 1158ff16396Smrg 116d5d8cc55Smrg 117111ba1daSmrg# Use a proper internal environment variable to ensure we don't fall 118111ba1daSmrg # into an infinite loop, continuously re-executing ourselves. 119111ba1daSmrg if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 120111ba1daSmrg _as_can_reexec=no; export _as_can_reexec; 121111ba1daSmrg # We cannot yet assume a decent shell, so we have to provide a 122111ba1daSmrg# neutralization value for shells without unset; and this also 123111ba1daSmrg# works around shells that cannot unset nonexistent variables. 124111ba1daSmrg# Preserve -v and -x to the replacement shell. 125111ba1daSmrgBASH_ENV=/dev/null 126111ba1daSmrgENV=/dev/null 127111ba1daSmrg(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 128111ba1daSmrgcase $- in # (((( 129111ba1daSmrg *v*x* | *x*v* ) as_opts=-vx ;; 130111ba1daSmrg *v* ) as_opts=-v ;; 131111ba1daSmrg *x* ) as_opts=-x ;; 132111ba1daSmrg * ) as_opts= ;; 133111ba1daSmrgesac 134111ba1daSmrgexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 135111ba1daSmrg# Admittedly, this is quite paranoid, since all the known shells bail 136111ba1daSmrg# out after a failed `exec'. 137111ba1daSmrgprintf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 138111ba1daSmrgexit 255 139111ba1daSmrg fi 140111ba1daSmrg # We don't want this to propagate to other subprocesses. 141111ba1daSmrg { _as_can_reexec=; unset _as_can_reexec;} 142d5d8cc55Smrgif test "x$CONFIG_SHELL" = x; then 143111ba1daSmrg as_bourne_compatible="as_nop=: 144111ba1daSmrgif test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 145111ba1daSmrgthen : 146d5d8cc55Smrg emulate sh 147d5d8cc55Smrg NULLCMD=: 148d5d8cc55Smrg # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 149d5d8cc55Smrg # is contrary to our usage. Disable this feature. 150d5d8cc55Smrg alias -g '\${1+\"\$@\"}'='\"\$@\"' 151d5d8cc55Smrg setopt NO_GLOB_SUBST 152111ba1daSmrgelse \$as_nop 153d5d8cc55Smrg case \`(set -o) 2>/dev/null\` in #( 154d5d8cc55Smrg *posix*) : 155d5d8cc55Smrg set -o posix ;; #( 156d5d8cc55Smrg *) : 157d5d8cc55Smrg ;; 158d5d8cc55Smrgesac 159d5d8cc55Smrgfi 160d5d8cc55Smrg" 161d5d8cc55Smrg as_required="as_fn_return () { (exit \$1); } 162d5d8cc55Smrgas_fn_success () { as_fn_return 0; } 163d5d8cc55Smrgas_fn_failure () { as_fn_return 1; } 164d5d8cc55Smrgas_fn_ret_success () { return 0; } 165d5d8cc55Smrgas_fn_ret_failure () { return 1; } 166d5d8cc55Smrg 167d5d8cc55Smrgexitcode=0 168d5d8cc55Smrgas_fn_success || { exitcode=1; echo as_fn_success failed.; } 169d5d8cc55Smrgas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 170d5d8cc55Smrgas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 171d5d8cc55Smrgas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 172111ba1daSmrgif ( set x; as_fn_ret_success y && test x = \"\$1\" ) 173111ba1daSmrgthen : 174d5d8cc55Smrg 175111ba1daSmrgelse \$as_nop 176d5d8cc55Smrg exitcode=1; echo positional parameters were not saved. 177d5d8cc55Smrgfi 178111ba1daSmrgtest x\$exitcode = x0 || exit 1 179111ba1daSmrgblah=\$(echo \$(echo blah)) 180111ba1daSmrgtest x\"\$blah\" = xblah || exit 1 181111ba1daSmrgtest -x / || exit 1" 182d5d8cc55Smrg as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 183d5d8cc55Smrg as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 184d5d8cc55Smrg eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 185d5d8cc55Smrg test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 186d5d8cc55Smrgtest \$(( 1 + 1 )) = 2 || exit 1" 187111ba1daSmrg if (eval "$as_required") 2>/dev/null 188111ba1daSmrgthen : 189d5d8cc55Smrg as_have_required=yes 190111ba1daSmrgelse $as_nop 191d5d8cc55Smrg as_have_required=no 192d5d8cc55Smrgfi 193111ba1daSmrg if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null 194111ba1daSmrgthen : 195d5d8cc55Smrg 196111ba1daSmrgelse $as_nop 197d5d8cc55Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 198d5d8cc55Smrgas_found=false 199d5d8cc55Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 200d5d8cc55Smrgdo 201d5d8cc55Smrg IFS=$as_save_IFS 202111ba1daSmrg case $as_dir in #((( 203111ba1daSmrg '') as_dir=./ ;; 204111ba1daSmrg */) ;; 205111ba1daSmrg *) as_dir=$as_dir/ ;; 206111ba1daSmrg esac 207d5d8cc55Smrg as_found=: 208d5d8cc55Smrg case $as_dir in #( 209d5d8cc55Smrg /*) 210d5d8cc55Smrg for as_base in sh bash ksh sh5; do 211d5d8cc55Smrg # Try only shells that exist, to save several forks. 212111ba1daSmrg as_shell=$as_dir$as_base 213d5d8cc55Smrg if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 214111ba1daSmrg as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null 215111ba1daSmrgthen : 216d5d8cc55Smrg CONFIG_SHELL=$as_shell as_have_required=yes 217111ba1daSmrg if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null 218111ba1daSmrgthen : 219d5d8cc55Smrg break 2 220d5d8cc55Smrgfi 221d5d8cc55Smrgfi 222d5d8cc55Smrg done;; 223d5d8cc55Smrg esac 224d5d8cc55Smrg as_found=false 225d5d8cc55Smrgdone 226d5d8cc55SmrgIFS=$as_save_IFS 227111ba1daSmrgif $as_found 228111ba1daSmrgthen : 229d5d8cc55Smrg 230111ba1daSmrgelse $as_nop 231111ba1daSmrg if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 232111ba1daSmrg as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null 233111ba1daSmrgthen : 234111ba1daSmrg CONFIG_SHELL=$SHELL as_have_required=yes 235d5d8cc55Smrgfi 236111ba1daSmrgfi 237111ba1daSmrg 238d5d8cc55Smrg 239111ba1daSmrg if test "x$CONFIG_SHELL" != x 240111ba1daSmrgthen : 241111ba1daSmrg export CONFIG_SHELL 242111ba1daSmrg # We cannot yet assume a decent shell, so we have to provide a 243111ba1daSmrg# neutralization value for shells without unset; and this also 244111ba1daSmrg# works around shells that cannot unset nonexistent variables. 245111ba1daSmrg# Preserve -v and -x to the replacement shell. 246111ba1daSmrgBASH_ENV=/dev/null 247111ba1daSmrgENV=/dev/null 248111ba1daSmrg(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 249111ba1daSmrgcase $- in # (((( 250111ba1daSmrg *v*x* | *x*v* ) as_opts=-vx ;; 251111ba1daSmrg *v* ) as_opts=-v ;; 252111ba1daSmrg *x* ) as_opts=-x ;; 253111ba1daSmrg * ) as_opts= ;; 254111ba1daSmrgesac 255111ba1daSmrgexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 256111ba1daSmrg# Admittedly, this is quite paranoid, since all the known shells bail 257111ba1daSmrg# out after a failed `exec'. 258111ba1daSmrgprintf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 259111ba1daSmrgexit 255 260111ba1daSmrgfi 261111ba1daSmrg 262111ba1daSmrg if test x$as_have_required = xno 263111ba1daSmrgthen : 264111ba1daSmrg printf "%s\n" "$0: This script requires a shell more modern than all" 265111ba1daSmrg printf "%s\n" "$0: the shells that I found on your system." 266111ba1daSmrg if test ${ZSH_VERSION+y} ; then 267111ba1daSmrg printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should" 268111ba1daSmrg printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later." 269d5d8cc55Smrg else 270111ba1daSmrg printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and 271111ba1daSmrg$0: https://gitlab.freedesktop.org/xorg/font/jis-misc/-/issues 272d5d8cc55Smrg$0: about your system, including any error possibly output 273d5d8cc55Smrg$0: before this message. Then install a modern shell, or 274d5d8cc55Smrg$0: manually run the script under such a shell if you do 275d5d8cc55Smrg$0: have one." 276d5d8cc55Smrg fi 277d5d8cc55Smrg exit 1 278d5d8cc55Smrgfi 279d5d8cc55Smrgfi 280d5d8cc55Smrgfi 281d5d8cc55SmrgSHELL=${CONFIG_SHELL-/bin/sh} 282d5d8cc55Smrgexport SHELL 283d5d8cc55Smrg# Unset more variables known to interfere with behavior of common tools. 284d5d8cc55SmrgCLICOLOR_FORCE= GREP_OPTIONS= 285d5d8cc55Smrgunset CLICOLOR_FORCE GREP_OPTIONS 286d5d8cc55Smrg 287d5d8cc55Smrg## --------------------- ## 288d5d8cc55Smrg## M4sh Shell Functions. ## 289d5d8cc55Smrg## --------------------- ## 290d5d8cc55Smrg# as_fn_unset VAR 291d5d8cc55Smrg# --------------- 292d5d8cc55Smrg# Portably unset VAR. 293d5d8cc55Smrgas_fn_unset () 294d5d8cc55Smrg{ 295d5d8cc55Smrg { eval $1=; unset $1;} 296d5d8cc55Smrg} 297d5d8cc55Smrgas_unset=as_fn_unset 298d5d8cc55Smrg 299111ba1daSmrg 300d5d8cc55Smrg# as_fn_set_status STATUS 301d5d8cc55Smrg# ----------------------- 302d5d8cc55Smrg# Set $? to STATUS, without forking. 303d5d8cc55Smrgas_fn_set_status () 304d5d8cc55Smrg{ 305d5d8cc55Smrg return $1 306d5d8cc55Smrg} # as_fn_set_status 307d5d8cc55Smrg 308d5d8cc55Smrg# as_fn_exit STATUS 309d5d8cc55Smrg# ----------------- 310d5d8cc55Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 311d5d8cc55Smrgas_fn_exit () 312d5d8cc55Smrg{ 313d5d8cc55Smrg set +e 314d5d8cc55Smrg as_fn_set_status $1 315d5d8cc55Smrg exit $1 316d5d8cc55Smrg} # as_fn_exit 317111ba1daSmrg# as_fn_nop 318111ba1daSmrg# --------- 319111ba1daSmrg# Do nothing but, unlike ":", preserve the value of $?. 320111ba1daSmrgas_fn_nop () 321111ba1daSmrg{ 322111ba1daSmrg return $? 323111ba1daSmrg} 324111ba1daSmrgas_nop=as_fn_nop 325d5d8cc55Smrg 326d5d8cc55Smrg# as_fn_mkdir_p 327d5d8cc55Smrg# ------------- 328d5d8cc55Smrg# Create "$as_dir" as a directory, including parents if necessary. 329d5d8cc55Smrgas_fn_mkdir_p () 330d5d8cc55Smrg{ 331d5d8cc55Smrg 332d5d8cc55Smrg case $as_dir in #( 333d5d8cc55Smrg -*) as_dir=./$as_dir;; 334d5d8cc55Smrg esac 335d5d8cc55Smrg test -d "$as_dir" || eval $as_mkdir_p || { 336d5d8cc55Smrg as_dirs= 337d5d8cc55Smrg while :; do 338d5d8cc55Smrg case $as_dir in #( 339111ba1daSmrg *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 340d5d8cc55Smrg *) as_qdir=$as_dir;; 341d5d8cc55Smrg esac 342d5d8cc55Smrg as_dirs="'$as_qdir' $as_dirs" 343d5d8cc55Smrg as_dir=`$as_dirname -- "$as_dir" || 344d5d8cc55Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 345d5d8cc55Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 346d5d8cc55Smrg X"$as_dir" : 'X\(//\)$' \| \ 347d5d8cc55Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 348111ba1daSmrgprintf "%s\n" X"$as_dir" | 349d5d8cc55Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 350d5d8cc55Smrg s//\1/ 351d5d8cc55Smrg q 352d5d8cc55Smrg } 353d5d8cc55Smrg /^X\(\/\/\)[^/].*/{ 354d5d8cc55Smrg s//\1/ 355d5d8cc55Smrg q 356d5d8cc55Smrg } 357d5d8cc55Smrg /^X\(\/\/\)$/{ 358d5d8cc55Smrg s//\1/ 359d5d8cc55Smrg q 360d5d8cc55Smrg } 361d5d8cc55Smrg /^X\(\/\).*/{ 362d5d8cc55Smrg s//\1/ 363d5d8cc55Smrg q 364d5d8cc55Smrg } 365d5d8cc55Smrg s/.*/./; q'` 366d5d8cc55Smrg test -d "$as_dir" && break 367d5d8cc55Smrg done 368d5d8cc55Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 369d5d8cc55Smrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 370d5d8cc55Smrg 371d5d8cc55Smrg 372d5d8cc55Smrg} # as_fn_mkdir_p 373111ba1daSmrg 374111ba1daSmrg# as_fn_executable_p FILE 375111ba1daSmrg# ----------------------- 376111ba1daSmrg# Test if FILE is an executable regular file. 377111ba1daSmrgas_fn_executable_p () 378111ba1daSmrg{ 379111ba1daSmrg test -f "$1" && test -x "$1" 380111ba1daSmrg} # as_fn_executable_p 381d5d8cc55Smrg# as_fn_append VAR VALUE 382d5d8cc55Smrg# ---------------------- 383d5d8cc55Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take 384d5d8cc55Smrg# advantage of any shell optimizations that allow amortized linear growth over 385d5d8cc55Smrg# repeated appends, instead of the typical quadratic growth present in naive 386d5d8cc55Smrg# implementations. 387111ba1daSmrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 388111ba1daSmrgthen : 389d5d8cc55Smrg eval 'as_fn_append () 390d5d8cc55Smrg { 391d5d8cc55Smrg eval $1+=\$2 392d5d8cc55Smrg }' 393111ba1daSmrgelse $as_nop 394d5d8cc55Smrg as_fn_append () 395d5d8cc55Smrg { 396d5d8cc55Smrg eval $1=\$$1\$2 397d5d8cc55Smrg } 398d5d8cc55Smrgfi # as_fn_append 399d5d8cc55Smrg 400d5d8cc55Smrg# as_fn_arith ARG... 401d5d8cc55Smrg# ------------------ 402d5d8cc55Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the 403d5d8cc55Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 404d5d8cc55Smrg# must be portable across $(()) and expr. 405111ba1daSmrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 406111ba1daSmrgthen : 407d5d8cc55Smrg eval 'as_fn_arith () 408d5d8cc55Smrg { 409d5d8cc55Smrg as_val=$(( $* )) 410d5d8cc55Smrg }' 411111ba1daSmrgelse $as_nop 412d5d8cc55Smrg as_fn_arith () 413d5d8cc55Smrg { 414d5d8cc55Smrg as_val=`expr "$@" || test $? -eq 1` 415d5d8cc55Smrg } 416d5d8cc55Smrgfi # as_fn_arith 417d5d8cc55Smrg 418111ba1daSmrg# as_fn_nop 419111ba1daSmrg# --------- 420111ba1daSmrg# Do nothing but, unlike ":", preserve the value of $?. 421111ba1daSmrgas_fn_nop () 422111ba1daSmrg{ 423111ba1daSmrg return $? 424111ba1daSmrg} 425111ba1daSmrgas_nop=as_fn_nop 426d5d8cc55Smrg 427d5d8cc55Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 428d5d8cc55Smrg# ---------------------------------------- 429d5d8cc55Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 430d5d8cc55Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 431d5d8cc55Smrg# script with STATUS, using 1 if that was 0. 432d5d8cc55Smrgas_fn_error () 433d5d8cc55Smrg{ 434d5d8cc55Smrg as_status=$1; test $as_status -eq 0 && as_status=1 435d5d8cc55Smrg if test "$4"; then 436d5d8cc55Smrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 437111ba1daSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 438d5d8cc55Smrg fi 439111ba1daSmrg printf "%s\n" "$as_me: error: $2" >&2 440d5d8cc55Smrg as_fn_exit $as_status 441d5d8cc55Smrg} # as_fn_error 442d5d8cc55Smrg 4438ff16396Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 4448ff16396Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 4450bd0e222Smrg as_expr=expr 4460bd0e222Smrgelse 4470bd0e222Smrg as_expr=false 4480bd0e222Smrgfi 4490bd0e222Smrg 4508ff16396Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 4510bd0e222Smrg as_basename=basename 4520bd0e222Smrgelse 4530bd0e222Smrg as_basename=false 4540bd0e222Smrgfi 4550bd0e222Smrg 456d5d8cc55Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 457d5d8cc55Smrg as_dirname=dirname 458d5d8cc55Smrgelse 459d5d8cc55Smrg as_dirname=false 460d5d8cc55Smrgfi 4610bd0e222Smrg 4628ff16396Smrgas_me=`$as_basename -- "$0" || 4630bd0e222Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 4640bd0e222Smrg X"$0" : 'X\(//\)$' \| \ 4658ff16396Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 466111ba1daSmrgprintf "%s\n" X/"$0" | 4678ff16396Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 4688ff16396Smrg s//\1/ 4698ff16396Smrg q 4708ff16396Smrg } 4718ff16396Smrg /^X\/\(\/\/\)$/{ 4728ff16396Smrg s//\1/ 4738ff16396Smrg q 4748ff16396Smrg } 4758ff16396Smrg /^X\/\(\/\).*/{ 4768ff16396Smrg s//\1/ 4778ff16396Smrg q 4788ff16396Smrg } 4798ff16396Smrg s/.*/./; q'` 4800bd0e222Smrg 481d5d8cc55Smrg# Avoid depending upon Character Ranges. 482d5d8cc55Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 483d5d8cc55Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 484d5d8cc55Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 485d5d8cc55Smrgas_cr_digits='0123456789' 486d5d8cc55Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 4870bd0e222Smrg 4880bd0e222Smrg 489d5d8cc55Smrg as_lineno_1=$LINENO as_lineno_1a=$LINENO 490d5d8cc55Smrg as_lineno_2=$LINENO as_lineno_2a=$LINENO 491d5d8cc55Smrg eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 492d5d8cc55Smrg test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 493d5d8cc55Smrg # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 494d5d8cc55Smrg sed -n ' 495d5d8cc55Smrg p 496d5d8cc55Smrg /[$]LINENO/= 497d5d8cc55Smrg ' <$as_myself | 498d5d8cc55Smrg sed ' 499d5d8cc55Smrg s/[$]LINENO.*/&-/ 500d5d8cc55Smrg t lineno 501d5d8cc55Smrg b 502d5d8cc55Smrg :lineno 503d5d8cc55Smrg N 504d5d8cc55Smrg :loop 505d5d8cc55Smrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 506d5d8cc55Smrg t loop 507d5d8cc55Smrg s/-\n.*// 508d5d8cc55Smrg ' >$as_me.lineno && 509d5d8cc55Smrg chmod +x "$as_me.lineno" || 510111ba1daSmrg { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 5110bd0e222Smrg 512111ba1daSmrg # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 513111ba1daSmrg # already done that, so ensure we don't try to do so again and fall 514111ba1daSmrg # in an infinite loop. This has already happened in practice. 515111ba1daSmrg _as_can_reexec=no; export _as_can_reexec 516d5d8cc55Smrg # Don't try to exec as it changes $[0], causing all sort of problems 517d5d8cc55Smrg # (the dirname of $[0] is not the place where we might find the 518d5d8cc55Smrg # original and so on. Autoconf is especially sensitive to this). 519d5d8cc55Smrg . "./$as_me.lineno" 520d5d8cc55Smrg # Exit status is that of the last command. 521d5d8cc55Smrg exit 5228ff16396Smrg} 5230bd0e222Smrg 524111ba1daSmrg 525111ba1daSmrg# Determine whether it's possible to make 'echo' print without a newline. 526111ba1daSmrg# These variables are no longer used directly by Autoconf, but are AC_SUBSTed 527111ba1daSmrg# for compatibility with existing Makefiles. 528d5d8cc55SmrgECHO_C= ECHO_N= ECHO_T= 529d5d8cc55Smrgcase `echo -n x` in #((((( 530d5d8cc55Smrg-n*) 531d5d8cc55Smrg case `echo 'xy\c'` in 532d5d8cc55Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 533d5d8cc55Smrg xy) ECHO_C='\c';; 534d5d8cc55Smrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 535d5d8cc55Smrg ECHO_T=' ';; 536d5d8cc55Smrg esac;; 537d5d8cc55Smrg*) 538d5d8cc55Smrg ECHO_N='-n';; 539d5d8cc55Smrgesac 5400bd0e222Smrg 541111ba1daSmrg# For backward compatibility with old third-party macros, we provide 542111ba1daSmrg# the shell variables $as_echo and $as_echo_n. New code should use 543111ba1daSmrg# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. 544111ba1daSmrgas_echo='printf %s\n' 545111ba1daSmrgas_echo_n='printf %s' 546111ba1daSmrg 547111ba1daSmrg 548d5d8cc55Smrgrm -f conf$$ conf$$.exe conf$$.file 549d5d8cc55Smrgif test -d conf$$.dir; then 550d5d8cc55Smrg rm -f conf$$.dir/conf$$.file 551d5d8cc55Smrgelse 552d5d8cc55Smrg rm -f conf$$.dir 553d5d8cc55Smrg mkdir conf$$.dir 2>/dev/null 5548ff16396Smrgfi 555d5d8cc55Smrgif (echo >conf$$.file) 2>/dev/null; then 556d5d8cc55Smrg if ln -s conf$$.file conf$$ 2>/dev/null; then 557d5d8cc55Smrg as_ln_s='ln -s' 558d5d8cc55Smrg # ... but there are two gotchas: 559d5d8cc55Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 560d5d8cc55Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 561111ba1daSmrg # In both cases, we have to default to `cp -pR'. 562d5d8cc55Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 563111ba1daSmrg as_ln_s='cp -pR' 564d5d8cc55Smrg elif ln conf$$.file conf$$ 2>/dev/null; then 565d5d8cc55Smrg as_ln_s=ln 566d5d8cc55Smrg else 567111ba1daSmrg as_ln_s='cp -pR' 568d5d8cc55Smrg fi 5698ff16396Smrgelse 570111ba1daSmrg as_ln_s='cp -pR' 5718ff16396Smrgfi 572d5d8cc55Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 573d5d8cc55Smrgrmdir conf$$.dir 2>/dev/null 5748ff16396Smrg 575d5d8cc55Smrgif mkdir -p . 2>/dev/null; then 576d5d8cc55Smrg as_mkdir_p='mkdir -p "$as_dir"' 577d5d8cc55Smrgelse 578d5d8cc55Smrg test -d ./-p && rmdir ./-p 579d5d8cc55Smrg as_mkdir_p=false 5808ff16396Smrgfi 5818ff16396Smrg 582111ba1daSmrgas_test_x='test -x' 583111ba1daSmrgas_executable_p=as_fn_executable_p 5848ff16396Smrg 585d5d8cc55Smrg# Sed expression to map a string onto a valid CPP name. 586d5d8cc55Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5878ff16396Smrg 588d5d8cc55Smrg# Sed expression to map a string onto a valid variable name. 589d5d8cc55Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5908ff16396Smrg 5918ff16396Smrg 592d5d8cc55Smrgtest -n "$DJDIR" || exec 7<&0 </dev/null 593d5d8cc55Smrgexec 6>&1 5940bd0e222Smrg 5950bd0e222Smrg# Name of the host. 596d5d8cc55Smrg# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 5970bd0e222Smrg# so uname gets run too. 5980bd0e222Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 5990bd0e222Smrg 6000bd0e222Smrg# 6010bd0e222Smrg# Initializations. 6020bd0e222Smrg# 6030bd0e222Smrgac_default_prefix=/usr/local 6048ff16396Smrgac_clean_files= 6050bd0e222Smrgac_config_libobj_dir=. 6068ff16396SmrgLIBOBJS= 6070bd0e222Smrgcross_compiling=no 6080bd0e222Smrgsubdirs= 6090bd0e222SmrgMFLAGS= 6100bd0e222SmrgMAKEFLAGS= 6110bd0e222Smrg 6120bd0e222Smrg# Identity of this package. 6130bd0e222SmrgPACKAGE_NAME='font-jis-misc' 6140bd0e222SmrgPACKAGE_TARNAME='font-jis-misc' 615111ba1daSmrgPACKAGE_VERSION='1.0.4' 616111ba1daSmrgPACKAGE_STRING='font-jis-misc 1.0.4' 617111ba1daSmrgPACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/font/jis-misc/-/issues' 618d5d8cc55SmrgPACKAGE_URL='' 6190bd0e222Smrg 620111ba1daSmrgac_subst_vars='LTLIBOBJS 6218ff16396SmrgLIBOBJS 6228ff16396SmrgCOMPRESS_SUFFIX 623111ba1daSmrgCOMPRESS_FLAGS 6248ff16396SmrgCOMPRESS 6258ff16396SmrgBDFTOPCF 6268ff16396SmrgMKFONTDIR 6278ff16396SmrgRUN_FCCACHE 6288ff16396SmrgFCCACHE 6298ff16396SmrgFONTDIR 6308ff16396SmrgFONTROOTDIR 631d5d8cc55SmrgMAN_SUBSTS 632d5d8cc55SmrgXORG_MAN_PAGE 6338ff16396SmrgADMIN_MAN_DIR 6348ff16396SmrgDRIVER_MAN_DIR 6358ff16396SmrgMISC_MAN_DIR 6368ff16396SmrgFILE_MAN_DIR 6378ff16396SmrgLIB_MAN_DIR 6388ff16396SmrgAPP_MAN_DIR 6398ff16396SmrgADMIN_MAN_SUFFIX 6408ff16396SmrgDRIVER_MAN_SUFFIX 6418ff16396SmrgMISC_MAN_SUFFIX 6428ff16396SmrgFILE_MAN_SUFFIX 6438ff16396SmrgLIB_MAN_SUFFIX 6448ff16396SmrgAPP_MAN_SUFFIX 645d5d8cc55SmrgSED 6468ff16396Smrghost_os 6478ff16396Smrghost_vendor 6488ff16396Smrghost_cpu 6498ff16396Smrghost 6508ff16396Smrgbuild_os 6518ff16396Smrgbuild_vendor 6528ff16396Smrgbuild_cpu 6538ff16396Smrgbuild 654d5d8cc55SmrgINSTALL_CMD 655d5d8cc55SmrgPKG_CONFIG_LIBDIR 656d5d8cc55SmrgPKG_CONFIG_PATH 657d5d8cc55SmrgPKG_CONFIG 6588ff16396SmrgCHANGELOG_CMD 659111ba1daSmrgAM_BACKSLASH 660111ba1daSmrgAM_DEFAULT_VERBOSITY 661111ba1daSmrgAM_DEFAULT_V 662111ba1daSmrgAM_V 663111ba1daSmrgCSCOPE 664111ba1daSmrgETAGS 665111ba1daSmrgCTAGS 6668ff16396Smrgam__untar 6678ff16396Smrgam__tar 6688ff16396SmrgAMTAR 6698ff16396Smrgam__leading_dot 6708ff16396SmrgSET_MAKE 6718ff16396SmrgAWK 6728ff16396Smrgmkdir_p 6738ff16396SmrgMKDIR_P 6748ff16396SmrgINSTALL_STRIP_PROGRAM 6758ff16396SmrgSTRIP 6768ff16396Smrginstall_sh 6778ff16396SmrgMAKEINFO 6788ff16396SmrgAUTOHEADER 6798ff16396SmrgAUTOMAKE 6808ff16396SmrgAUTOCONF 6818ff16396SmrgACLOCAL 6828ff16396SmrgVERSION 6838ff16396SmrgPACKAGE 6848ff16396SmrgCYGPATH_W 6858ff16396Smrgam__isrc 6868ff16396SmrgINSTALL_DATA 6878ff16396SmrgINSTALL_SCRIPT 6888ff16396SmrgINSTALL_PROGRAM 6898ff16396Smrgtarget_alias 6908ff16396Smrghost_alias 6918ff16396Smrgbuild_alias 6928ff16396SmrgLIBS 6938ff16396SmrgECHO_T 6948ff16396SmrgECHO_N 6958ff16396SmrgECHO_C 6968ff16396SmrgDEFS 6978ff16396Smrgmandir 6988ff16396Smrglocaledir 6998ff16396Smrglibdir 7008ff16396Smrgpsdir 7018ff16396Smrgpdfdir 7028ff16396Smrgdvidir 7038ff16396Smrghtmldir 7048ff16396Smrginfodir 7058ff16396Smrgdocdir 7068ff16396Smrgoldincludedir 7078ff16396Smrgincludedir 708111ba1daSmrgrunstatedir 7098ff16396Smrglocalstatedir 7108ff16396Smrgsharedstatedir 7118ff16396Smrgsysconfdir 7128ff16396Smrgdatadir 7138ff16396Smrgdatarootdir 7148ff16396Smrglibexecdir 7158ff16396Smrgsbindir 7168ff16396Smrgbindir 7178ff16396Smrgprogram_transform_name 7188ff16396Smrgprefix 7198ff16396Smrgexec_prefix 720d5d8cc55SmrgPACKAGE_URL 7218ff16396SmrgPACKAGE_BUGREPORT 7228ff16396SmrgPACKAGE_STRING 7238ff16396SmrgPACKAGE_VERSION 7248ff16396SmrgPACKAGE_TARNAME 7258ff16396SmrgPACKAGE_NAME 7268ff16396SmrgPATH_SEPARATOR 7278ff16396SmrgSHELL' 7280bd0e222Smrgac_subst_files='' 7298ff16396Smrgac_user_opts=' 7308ff16396Smrgenable_option_checking 731d5d8cc55Smrgenable_silent_rules 7328ff16396Smrgwith_fontrootdir 7338ff16396Smrgwith_fontdir 7348ff16396Smrgwith_compression 7358ff16396Smrg' 7368ff16396Smrg ac_precious_vars='build_alias 7378ff16396Smrghost_alias 7388ff16396Smrgtarget_alias 739d5d8cc55SmrgPKG_CONFIG 740d5d8cc55SmrgPKG_CONFIG_PATH 741d5d8cc55SmrgPKG_CONFIG_LIBDIR' 7428ff16396Smrg 7430bd0e222Smrg 7440bd0e222Smrg# Initialize some variables set by options. 7450bd0e222Smrgac_init_help= 7460bd0e222Smrgac_init_version=false 7478ff16396Smrgac_unrecognized_opts= 7488ff16396Smrgac_unrecognized_sep= 7490bd0e222Smrg# The variables have the same names as the options, with 7500bd0e222Smrg# dashes changed to underlines. 7510bd0e222Smrgcache_file=/dev/null 7520bd0e222Smrgexec_prefix=NONE 7530bd0e222Smrgno_create= 7540bd0e222Smrgno_recursion= 7550bd0e222Smrgprefix=NONE 7560bd0e222Smrgprogram_prefix=NONE 7570bd0e222Smrgprogram_suffix=NONE 7580bd0e222Smrgprogram_transform_name=s,x,x, 7590bd0e222Smrgsilent= 7600bd0e222Smrgsite= 7610bd0e222Smrgsrcdir= 7620bd0e222Smrgverbose= 7630bd0e222Smrgx_includes=NONE 7640bd0e222Smrgx_libraries=NONE 7650bd0e222Smrg 7660bd0e222Smrg# Installation directory options. 7670bd0e222Smrg# These are left unexpanded so users can "make install exec_prefix=/foo" 7680bd0e222Smrg# and all the variables that are supposed to be based on exec_prefix 7690bd0e222Smrg# by default will actually change. 7700bd0e222Smrg# Use braces instead of parens because sh, perl, etc. also accept them. 7718ff16396Smrg# (The list follows the same order as the GNU Coding Standards.) 7720bd0e222Smrgbindir='${exec_prefix}/bin' 7730bd0e222Smrgsbindir='${exec_prefix}/sbin' 7740bd0e222Smrglibexecdir='${exec_prefix}/libexec' 7758ff16396Smrgdatarootdir='${prefix}/share' 7768ff16396Smrgdatadir='${datarootdir}' 7770bd0e222Smrgsysconfdir='${prefix}/etc' 7780bd0e222Smrgsharedstatedir='${prefix}/com' 7790bd0e222Smrglocalstatedir='${prefix}/var' 780111ba1daSmrgrunstatedir='${localstatedir}/run' 7810bd0e222Smrgincludedir='${prefix}/include' 7820bd0e222Smrgoldincludedir='/usr/include' 7838ff16396Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 7848ff16396Smrginfodir='${datarootdir}/info' 7858ff16396Smrghtmldir='${docdir}' 7868ff16396Smrgdvidir='${docdir}' 7878ff16396Smrgpdfdir='${docdir}' 7888ff16396Smrgpsdir='${docdir}' 7898ff16396Smrglibdir='${exec_prefix}/lib' 7908ff16396Smrglocaledir='${datarootdir}/locale' 7918ff16396Smrgmandir='${datarootdir}/man' 7920bd0e222Smrg 7930bd0e222Smrgac_prev= 7948ff16396Smrgac_dashdash= 7950bd0e222Smrgfor ac_option 7960bd0e222Smrgdo 7970bd0e222Smrg # If the previous option needs an argument, assign it. 7980bd0e222Smrg if test -n "$ac_prev"; then 7998ff16396Smrg eval $ac_prev=\$ac_option 8000bd0e222Smrg ac_prev= 8010bd0e222Smrg continue 8020bd0e222Smrg fi 8030bd0e222Smrg 8048ff16396Smrg case $ac_option in 805d5d8cc55Smrg *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 806d5d8cc55Smrg *=) ac_optarg= ;; 807d5d8cc55Smrg *) ac_optarg=yes ;; 8088ff16396Smrg esac 8090bd0e222Smrg 8108ff16396Smrg case $ac_dashdash$ac_option in 8118ff16396Smrg --) 8128ff16396Smrg ac_dashdash=yes ;; 8130bd0e222Smrg 8140bd0e222Smrg -bindir | --bindir | --bindi | --bind | --bin | --bi) 8150bd0e222Smrg ac_prev=bindir ;; 8160bd0e222Smrg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 8170bd0e222Smrg bindir=$ac_optarg ;; 8180bd0e222Smrg 8190bd0e222Smrg -build | --build | --buil | --bui | --bu) 8200bd0e222Smrg ac_prev=build_alias ;; 8210bd0e222Smrg -build=* | --build=* | --buil=* | --bui=* | --bu=*) 8220bd0e222Smrg build_alias=$ac_optarg ;; 8230bd0e222Smrg 8240bd0e222Smrg -cache-file | --cache-file | --cache-fil | --cache-fi \ 8250bd0e222Smrg | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 8260bd0e222Smrg ac_prev=cache_file ;; 8270bd0e222Smrg -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 8280bd0e222Smrg | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 8290bd0e222Smrg cache_file=$ac_optarg ;; 8300bd0e222Smrg 8310bd0e222Smrg --config-cache | -C) 8320bd0e222Smrg cache_file=config.cache ;; 8330bd0e222Smrg 8348ff16396Smrg -datadir | --datadir | --datadi | --datad) 8350bd0e222Smrg ac_prev=datadir ;; 8368ff16396Smrg -datadir=* | --datadir=* | --datadi=* | --datad=*) 8370bd0e222Smrg datadir=$ac_optarg ;; 8380bd0e222Smrg 8398ff16396Smrg -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 8408ff16396Smrg | --dataroo | --dataro | --datar) 8418ff16396Smrg ac_prev=datarootdir ;; 8428ff16396Smrg -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 8438ff16396Smrg | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 8448ff16396Smrg datarootdir=$ac_optarg ;; 8458ff16396Smrg 8460bd0e222Smrg -disable-* | --disable-*) 8478ff16396Smrg ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 8480bd0e222Smrg # Reject names that are not valid shell variable names. 8498ff16396Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 850111ba1daSmrg as_fn_error $? "invalid feature name: \`$ac_useropt'" 8518ff16396Smrg ac_useropt_orig=$ac_useropt 852111ba1daSmrg ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 8538ff16396Smrg case $ac_user_opts in 8548ff16396Smrg *" 8558ff16396Smrg"enable_$ac_useropt" 8568ff16396Smrg"*) ;; 8578ff16396Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 8588ff16396Smrg ac_unrecognized_sep=', ';; 8598ff16396Smrg esac 8608ff16396Smrg eval enable_$ac_useropt=no ;; 8618ff16396Smrg 8628ff16396Smrg -docdir | --docdir | --docdi | --doc | --do) 8638ff16396Smrg ac_prev=docdir ;; 8648ff16396Smrg -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 8658ff16396Smrg docdir=$ac_optarg ;; 8668ff16396Smrg 8678ff16396Smrg -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 8688ff16396Smrg ac_prev=dvidir ;; 8698ff16396Smrg -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 8708ff16396Smrg dvidir=$ac_optarg ;; 8710bd0e222Smrg 8720bd0e222Smrg -enable-* | --enable-*) 8738ff16396Smrg ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 8740bd0e222Smrg # Reject names that are not valid shell variable names. 8758ff16396Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 876111ba1daSmrg as_fn_error $? "invalid feature name: \`$ac_useropt'" 8778ff16396Smrg ac_useropt_orig=$ac_useropt 878111ba1daSmrg ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 8798ff16396Smrg case $ac_user_opts in 8808ff16396Smrg *" 8818ff16396Smrg"enable_$ac_useropt" 8828ff16396Smrg"*) ;; 8838ff16396Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 8848ff16396Smrg ac_unrecognized_sep=', ';; 8850bd0e222Smrg esac 8868ff16396Smrg eval enable_$ac_useropt=\$ac_optarg ;; 8870bd0e222Smrg 8880bd0e222Smrg -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 8890bd0e222Smrg | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 8900bd0e222Smrg | --exec | --exe | --ex) 8910bd0e222Smrg ac_prev=exec_prefix ;; 8920bd0e222Smrg -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 8930bd0e222Smrg | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 8940bd0e222Smrg | --exec=* | --exe=* | --ex=*) 8950bd0e222Smrg exec_prefix=$ac_optarg ;; 8960bd0e222Smrg 8970bd0e222Smrg -gas | --gas | --ga | --g) 8980bd0e222Smrg # Obsolete; use --with-gas. 8990bd0e222Smrg with_gas=yes ;; 9000bd0e222Smrg 9010bd0e222Smrg -help | --help | --hel | --he | -h) 9020bd0e222Smrg ac_init_help=long ;; 9030bd0e222Smrg -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 9040bd0e222Smrg ac_init_help=recursive ;; 9050bd0e222Smrg -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 9060bd0e222Smrg ac_init_help=short ;; 9070bd0e222Smrg 9080bd0e222Smrg -host | --host | --hos | --ho) 9090bd0e222Smrg ac_prev=host_alias ;; 9100bd0e222Smrg -host=* | --host=* | --hos=* | --ho=*) 9110bd0e222Smrg host_alias=$ac_optarg ;; 9120bd0e222Smrg 9138ff16396Smrg -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 9148ff16396Smrg ac_prev=htmldir ;; 9158ff16396Smrg -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 9168ff16396Smrg | --ht=*) 9178ff16396Smrg htmldir=$ac_optarg ;; 9188ff16396Smrg 9190bd0e222Smrg -includedir | --includedir | --includedi | --included | --include \ 9200bd0e222Smrg | --includ | --inclu | --incl | --inc) 9210bd0e222Smrg ac_prev=includedir ;; 9220bd0e222Smrg -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 9230bd0e222Smrg | --includ=* | --inclu=* | --incl=* | --inc=*) 9240bd0e222Smrg includedir=$ac_optarg ;; 9250bd0e222Smrg 9260bd0e222Smrg -infodir | --infodir | --infodi | --infod | --info | --inf) 9270bd0e222Smrg ac_prev=infodir ;; 9280bd0e222Smrg -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 9290bd0e222Smrg infodir=$ac_optarg ;; 9300bd0e222Smrg 9310bd0e222Smrg -libdir | --libdir | --libdi | --libd) 9320bd0e222Smrg ac_prev=libdir ;; 9330bd0e222Smrg -libdir=* | --libdir=* | --libdi=* | --libd=*) 9340bd0e222Smrg libdir=$ac_optarg ;; 9350bd0e222Smrg 9360bd0e222Smrg -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 9370bd0e222Smrg | --libexe | --libex | --libe) 9380bd0e222Smrg ac_prev=libexecdir ;; 9390bd0e222Smrg -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 9400bd0e222Smrg | --libexe=* | --libex=* | --libe=*) 9410bd0e222Smrg libexecdir=$ac_optarg ;; 9420bd0e222Smrg 9438ff16396Smrg -localedir | --localedir | --localedi | --localed | --locale) 9448ff16396Smrg ac_prev=localedir ;; 9458ff16396Smrg -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 9468ff16396Smrg localedir=$ac_optarg ;; 9478ff16396Smrg 9480bd0e222Smrg -localstatedir | --localstatedir | --localstatedi | --localstated \ 9498ff16396Smrg | --localstate | --localstat | --localsta | --localst | --locals) 9500bd0e222Smrg ac_prev=localstatedir ;; 9510bd0e222Smrg -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 9528ff16396Smrg | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 9530bd0e222Smrg localstatedir=$ac_optarg ;; 9540bd0e222Smrg 9550bd0e222Smrg -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 9560bd0e222Smrg ac_prev=mandir ;; 9570bd0e222Smrg -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 9580bd0e222Smrg mandir=$ac_optarg ;; 9590bd0e222Smrg 9600bd0e222Smrg -nfp | --nfp | --nf) 9610bd0e222Smrg # Obsolete; use --without-fp. 9620bd0e222Smrg with_fp=no ;; 9630bd0e222Smrg 9640bd0e222Smrg -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 9650bd0e222Smrg | --no-cr | --no-c | -n) 9660bd0e222Smrg no_create=yes ;; 9670bd0e222Smrg 9680bd0e222Smrg -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 9690bd0e222Smrg | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 9700bd0e222Smrg no_recursion=yes ;; 9710bd0e222Smrg 9720bd0e222Smrg -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 9730bd0e222Smrg | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 9740bd0e222Smrg | --oldin | --oldi | --old | --ol | --o) 9750bd0e222Smrg ac_prev=oldincludedir ;; 9760bd0e222Smrg -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 9770bd0e222Smrg | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 9780bd0e222Smrg | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 9790bd0e222Smrg oldincludedir=$ac_optarg ;; 9800bd0e222Smrg 9810bd0e222Smrg -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 9820bd0e222Smrg ac_prev=prefix ;; 9830bd0e222Smrg -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 9840bd0e222Smrg prefix=$ac_optarg ;; 9850bd0e222Smrg 9860bd0e222Smrg -program-prefix | --program-prefix | --program-prefi | --program-pref \ 9870bd0e222Smrg | --program-pre | --program-pr | --program-p) 9880bd0e222Smrg ac_prev=program_prefix ;; 9890bd0e222Smrg -program-prefix=* | --program-prefix=* | --program-prefi=* \ 9900bd0e222Smrg | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 9910bd0e222Smrg program_prefix=$ac_optarg ;; 9920bd0e222Smrg 9930bd0e222Smrg -program-suffix | --program-suffix | --program-suffi | --program-suff \ 9940bd0e222Smrg | --program-suf | --program-su | --program-s) 9950bd0e222Smrg ac_prev=program_suffix ;; 9960bd0e222Smrg -program-suffix=* | --program-suffix=* | --program-suffi=* \ 9970bd0e222Smrg | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 9980bd0e222Smrg program_suffix=$ac_optarg ;; 9990bd0e222Smrg 10000bd0e222Smrg -program-transform-name | --program-transform-name \ 10010bd0e222Smrg | --program-transform-nam | --program-transform-na \ 10020bd0e222Smrg | --program-transform-n | --program-transform- \ 10030bd0e222Smrg | --program-transform | --program-transfor \ 10040bd0e222Smrg | --program-transfo | --program-transf \ 10050bd0e222Smrg | --program-trans | --program-tran \ 10060bd0e222Smrg | --progr-tra | --program-tr | --program-t) 10070bd0e222Smrg ac_prev=program_transform_name ;; 10080bd0e222Smrg -program-transform-name=* | --program-transform-name=* \ 10090bd0e222Smrg | --program-transform-nam=* | --program-transform-na=* \ 10100bd0e222Smrg | --program-transform-n=* | --program-transform-=* \ 10110bd0e222Smrg | --program-transform=* | --program-transfor=* \ 10120bd0e222Smrg | --program-transfo=* | --program-transf=* \ 10130bd0e222Smrg | --program-trans=* | --program-tran=* \ 10140bd0e222Smrg | --progr-tra=* | --program-tr=* | --program-t=*) 10150bd0e222Smrg program_transform_name=$ac_optarg ;; 10160bd0e222Smrg 10178ff16396Smrg -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 10188ff16396Smrg ac_prev=pdfdir ;; 10198ff16396Smrg -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 10208ff16396Smrg pdfdir=$ac_optarg ;; 10218ff16396Smrg 10228ff16396Smrg -psdir | --psdir | --psdi | --psd | --ps) 10238ff16396Smrg ac_prev=psdir ;; 10248ff16396Smrg -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 10258ff16396Smrg psdir=$ac_optarg ;; 10268ff16396Smrg 10270bd0e222Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 10280bd0e222Smrg | -silent | --silent | --silen | --sile | --sil) 10290bd0e222Smrg silent=yes ;; 10300bd0e222Smrg 1031111ba1daSmrg -runstatedir | --runstatedir | --runstatedi | --runstated \ 1032111ba1daSmrg | --runstate | --runstat | --runsta | --runst | --runs \ 1033111ba1daSmrg | --run | --ru | --r) 1034111ba1daSmrg ac_prev=runstatedir ;; 1035111ba1daSmrg -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 1036111ba1daSmrg | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 1037111ba1daSmrg | --run=* | --ru=* | --r=*) 1038111ba1daSmrg runstatedir=$ac_optarg ;; 1039111ba1daSmrg 10400bd0e222Smrg -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 10410bd0e222Smrg ac_prev=sbindir ;; 10420bd0e222Smrg -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 10430bd0e222Smrg | --sbi=* | --sb=*) 10440bd0e222Smrg sbindir=$ac_optarg ;; 10450bd0e222Smrg 10460bd0e222Smrg -sharedstatedir | --sharedstatedir | --sharedstatedi \ 10470bd0e222Smrg | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 10480bd0e222Smrg | --sharedst | --shareds | --shared | --share | --shar \ 10490bd0e222Smrg | --sha | --sh) 10500bd0e222Smrg ac_prev=sharedstatedir ;; 10510bd0e222Smrg -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 10520bd0e222Smrg | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 10530bd0e222Smrg | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 10540bd0e222Smrg | --sha=* | --sh=*) 10550bd0e222Smrg sharedstatedir=$ac_optarg ;; 10560bd0e222Smrg 10570bd0e222Smrg -site | --site | --sit) 10580bd0e222Smrg ac_prev=site ;; 10590bd0e222Smrg -site=* | --site=* | --sit=*) 10600bd0e222Smrg site=$ac_optarg ;; 10610bd0e222Smrg 10620bd0e222Smrg -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 10630bd0e222Smrg ac_prev=srcdir ;; 10640bd0e222Smrg -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 10650bd0e222Smrg srcdir=$ac_optarg ;; 10660bd0e222Smrg 10670bd0e222Smrg -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 10680bd0e222Smrg | --syscon | --sysco | --sysc | --sys | --sy) 10690bd0e222Smrg ac_prev=sysconfdir ;; 10700bd0e222Smrg -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 10710bd0e222Smrg | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 10720bd0e222Smrg sysconfdir=$ac_optarg ;; 10730bd0e222Smrg 10740bd0e222Smrg -target | --target | --targe | --targ | --tar | --ta | --t) 10750bd0e222Smrg ac_prev=target_alias ;; 10760bd0e222Smrg -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 10770bd0e222Smrg target_alias=$ac_optarg ;; 10780bd0e222Smrg 10790bd0e222Smrg -v | -verbose | --verbose | --verbos | --verbo | --verb) 10800bd0e222Smrg verbose=yes ;; 10810bd0e222Smrg 10820bd0e222Smrg -version | --version | --versio | --versi | --vers | -V) 10830bd0e222Smrg ac_init_version=: ;; 10840bd0e222Smrg 10850bd0e222Smrg -with-* | --with-*) 10868ff16396Smrg ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 10870bd0e222Smrg # Reject names that are not valid shell variable names. 10888ff16396Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1089111ba1daSmrg as_fn_error $? "invalid package name: \`$ac_useropt'" 10908ff16396Smrg ac_useropt_orig=$ac_useropt 1091111ba1daSmrg ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 10928ff16396Smrg case $ac_user_opts in 10938ff16396Smrg *" 10948ff16396Smrg"with_$ac_useropt" 10958ff16396Smrg"*) ;; 10968ff16396Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 10978ff16396Smrg ac_unrecognized_sep=', ';; 10980bd0e222Smrg esac 10998ff16396Smrg eval with_$ac_useropt=\$ac_optarg ;; 11000bd0e222Smrg 11010bd0e222Smrg -without-* | --without-*) 11028ff16396Smrg ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 11030bd0e222Smrg # Reject names that are not valid shell variable names. 11048ff16396Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1105111ba1daSmrg as_fn_error $? "invalid package name: \`$ac_useropt'" 11068ff16396Smrg ac_useropt_orig=$ac_useropt 1107111ba1daSmrg ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 11088ff16396Smrg case $ac_user_opts in 11098ff16396Smrg *" 11108ff16396Smrg"with_$ac_useropt" 11118ff16396Smrg"*) ;; 11128ff16396Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 11138ff16396Smrg ac_unrecognized_sep=', ';; 11148ff16396Smrg esac 11158ff16396Smrg eval with_$ac_useropt=no ;; 11160bd0e222Smrg 11170bd0e222Smrg --x) 11180bd0e222Smrg # Obsolete; use --with-x. 11190bd0e222Smrg with_x=yes ;; 11200bd0e222Smrg 11210bd0e222Smrg -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 11220bd0e222Smrg | --x-incl | --x-inc | --x-in | --x-i) 11230bd0e222Smrg ac_prev=x_includes ;; 11240bd0e222Smrg -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 11250bd0e222Smrg | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 11260bd0e222Smrg x_includes=$ac_optarg ;; 11270bd0e222Smrg 11280bd0e222Smrg -x-libraries | --x-libraries | --x-librarie | --x-librari \ 11290bd0e222Smrg | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 11300bd0e222Smrg ac_prev=x_libraries ;; 11310bd0e222Smrg -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 11320bd0e222Smrg | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 11330bd0e222Smrg x_libraries=$ac_optarg ;; 11340bd0e222Smrg 1135d5d8cc55Smrg -*) as_fn_error $? "unrecognized option: \`$ac_option' 1136d5d8cc55SmrgTry \`$0 --help' for more information" 11370bd0e222Smrg ;; 11380bd0e222Smrg 11390bd0e222Smrg *=*) 11400bd0e222Smrg ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 11410bd0e222Smrg # Reject names that are not valid shell variable names. 1142d5d8cc55Smrg case $ac_envvar in #( 1143d5d8cc55Smrg '' | [0-9]* | *[!_$as_cr_alnum]* ) 1144d5d8cc55Smrg as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1145d5d8cc55Smrg esac 11468ff16396Smrg eval $ac_envvar=\$ac_optarg 11470bd0e222Smrg export $ac_envvar ;; 11480bd0e222Smrg 11490bd0e222Smrg *) 11500bd0e222Smrg # FIXME: should be removed in autoconf 3.0. 1151111ba1daSmrg printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2 11520bd0e222Smrg expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1153111ba1daSmrg printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 1154d5d8cc55Smrg : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 11550bd0e222Smrg ;; 11560bd0e222Smrg 11570bd0e222Smrg esac 11580bd0e222Smrgdone 11590bd0e222Smrg 11600bd0e222Smrgif test -n "$ac_prev"; then 11610bd0e222Smrg ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1162d5d8cc55Smrg as_fn_error $? "missing argument to $ac_option" 11630bd0e222Smrgfi 11640bd0e222Smrg 11658ff16396Smrgif test -n "$ac_unrecognized_opts"; then 11668ff16396Smrg case $enable_option_checking in 11678ff16396Smrg no) ;; 1168d5d8cc55Smrg fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1169111ba1daSmrg *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 11700bd0e222Smrg esac 11718ff16396Smrgfi 11720bd0e222Smrg 11738ff16396Smrg# Check all directory arguments for consistency. 11748ff16396Smrgfor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 11758ff16396Smrg datadir sysconfdir sharedstatedir localstatedir includedir \ 11768ff16396Smrg oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1177111ba1daSmrg libdir localedir mandir runstatedir 11780bd0e222Smrgdo 11798ff16396Smrg eval ac_val=\$$ac_var 11808ff16396Smrg # Remove trailing slashes. 11810bd0e222Smrg case $ac_val in 11828ff16396Smrg */ ) 11838ff16396Smrg ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 11848ff16396Smrg eval $ac_var=\$ac_val;; 11858ff16396Smrg esac 11868ff16396Smrg # Be sure to have absolute directory names. 11878ff16396Smrg case $ac_val in 11888ff16396Smrg [\\/$]* | ?:[\\/]* ) continue;; 11898ff16396Smrg NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 11900bd0e222Smrg esac 1191d5d8cc55Smrg as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 11920bd0e222Smrgdone 11930bd0e222Smrg 11940bd0e222Smrg# There might be people who depend on the old broken behavior: `$host' 11950bd0e222Smrg# used to hold the argument of --host etc. 11960bd0e222Smrg# FIXME: To remove some day. 11970bd0e222Smrgbuild=$build_alias 11980bd0e222Smrghost=$host_alias 11990bd0e222Smrgtarget=$target_alias 12000bd0e222Smrg 12010bd0e222Smrg# FIXME: To remove some day. 12020bd0e222Smrgif test "x$host_alias" != x; then 12030bd0e222Smrg if test "x$build_alias" = x; then 12040bd0e222Smrg cross_compiling=maybe 12050bd0e222Smrg elif test "x$build_alias" != "x$host_alias"; then 12060bd0e222Smrg cross_compiling=yes 12070bd0e222Smrg fi 12080bd0e222Smrgfi 12090bd0e222Smrg 12100bd0e222Smrgac_tool_prefix= 12110bd0e222Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias- 12120bd0e222Smrg 12130bd0e222Smrgtest "$silent" = yes && exec 6>/dev/null 12140bd0e222Smrg 12150bd0e222Smrg 12168ff16396Smrgac_pwd=`pwd` && test -n "$ac_pwd" && 12178ff16396Smrgac_ls_di=`ls -di .` && 12188ff16396Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1219d5d8cc55Smrg as_fn_error $? "working directory cannot be determined" 12208ff16396Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1221d5d8cc55Smrg as_fn_error $? "pwd does not report name of working directory" 12228ff16396Smrg 12238ff16396Smrg 12240bd0e222Smrg# Find the source files, if location was not specified. 12250bd0e222Smrgif test -z "$srcdir"; then 12260bd0e222Smrg ac_srcdir_defaulted=yes 12278ff16396Smrg # Try the directory containing this script, then the parent directory. 12288ff16396Smrg ac_confdir=`$as_dirname -- "$as_myself" || 12298ff16396Smrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12308ff16396Smrg X"$as_myself" : 'X\(//\)[^/]' \| \ 12318ff16396Smrg X"$as_myself" : 'X\(//\)$' \| \ 12328ff16396Smrg X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1233111ba1daSmrgprintf "%s\n" X"$as_myself" | 12348ff16396Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12358ff16396Smrg s//\1/ 12368ff16396Smrg q 12378ff16396Smrg } 12388ff16396Smrg /^X\(\/\/\)[^/].*/{ 12398ff16396Smrg s//\1/ 12408ff16396Smrg q 12418ff16396Smrg } 12428ff16396Smrg /^X\(\/\/\)$/{ 12438ff16396Smrg s//\1/ 12448ff16396Smrg q 12458ff16396Smrg } 12468ff16396Smrg /^X\(\/\).*/{ 12478ff16396Smrg s//\1/ 12488ff16396Smrg q 12498ff16396Smrg } 12508ff16396Smrg s/.*/./; q'` 12510bd0e222Smrg srcdir=$ac_confdir 12528ff16396Smrg if test ! -r "$srcdir/$ac_unique_file"; then 12530bd0e222Smrg srcdir=.. 12540bd0e222Smrg fi 12550bd0e222Smrgelse 12560bd0e222Smrg ac_srcdir_defaulted=no 12570bd0e222Smrgfi 12588ff16396Smrgif test ! -r "$srcdir/$ac_unique_file"; then 12598ff16396Smrg test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1260d5d8cc55Smrg as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 12610bd0e222Smrgfi 12628ff16396Smrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 12638ff16396Smrgac_abs_confdir=`( 1264d5d8cc55Smrg cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 12658ff16396Smrg pwd)` 12668ff16396Smrg# When building in place, set srcdir=. 12678ff16396Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then 12688ff16396Smrg srcdir=. 12698ff16396Smrgfi 12708ff16396Smrg# Remove unnecessary trailing slashes from srcdir. 12718ff16396Smrg# Double slashes in file names in object file debugging info 12728ff16396Smrg# mess up M-x gdb in Emacs. 12738ff16396Smrgcase $srcdir in 12748ff16396Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 12758ff16396Smrgesac 12768ff16396Smrgfor ac_var in $ac_precious_vars; do 12778ff16396Smrg eval ac_env_${ac_var}_set=\${${ac_var}+set} 12788ff16396Smrg eval ac_env_${ac_var}_value=\$${ac_var} 12798ff16396Smrg eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 12808ff16396Smrg eval ac_cv_env_${ac_var}_value=\$${ac_var} 12818ff16396Smrgdone 12820bd0e222Smrg 12830bd0e222Smrg# 12840bd0e222Smrg# Report the --help message. 12850bd0e222Smrg# 12860bd0e222Smrgif test "$ac_init_help" = "long"; then 12870bd0e222Smrg # Omit some internal or obsolete options to make the list less imposing. 12880bd0e222Smrg # This message is too long to be a string in the A/UX 3.1 sh. 12890bd0e222Smrg cat <<_ACEOF 1290111ba1daSmrg\`configure' configures font-jis-misc 1.0.4 to adapt to many kinds of systems. 12910bd0e222Smrg 12920bd0e222SmrgUsage: $0 [OPTION]... [VAR=VALUE]... 12930bd0e222Smrg 12940bd0e222SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as 12950bd0e222SmrgVAR=VALUE. See below for descriptions of some of the useful variables. 12960bd0e222Smrg 12970bd0e222SmrgDefaults for the options are specified in brackets. 12980bd0e222Smrg 12990bd0e222SmrgConfiguration: 13000bd0e222Smrg -h, --help display this help and exit 13010bd0e222Smrg --help=short display options specific to this package 13020bd0e222Smrg --help=recursive display the short help of all the included packages 13030bd0e222Smrg -V, --version display version information and exit 1304d5d8cc55Smrg -q, --quiet, --silent do not print \`checking ...' messages 13050bd0e222Smrg --cache-file=FILE cache test results in FILE [disabled] 13060bd0e222Smrg -C, --config-cache alias for \`--cache-file=config.cache' 13070bd0e222Smrg -n, --no-create do not create output files 13080bd0e222Smrg --srcdir=DIR find the sources in DIR [configure dir or \`..'] 13090bd0e222Smrg 13100bd0e222SmrgInstallation directories: 13110bd0e222Smrg --prefix=PREFIX install architecture-independent files in PREFIX 13128ff16396Smrg [$ac_default_prefix] 13130bd0e222Smrg --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 13148ff16396Smrg [PREFIX] 13150bd0e222Smrg 13160bd0e222SmrgBy default, \`make install' will install all the files in 13170bd0e222Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 13180bd0e222Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix', 13190bd0e222Smrgfor instance \`--prefix=\$HOME'. 13200bd0e222Smrg 13210bd0e222SmrgFor better control, use the options below. 13220bd0e222Smrg 13230bd0e222SmrgFine tuning of the installation directories: 13248ff16396Smrg --bindir=DIR user executables [EPREFIX/bin] 13258ff16396Smrg --sbindir=DIR system admin executables [EPREFIX/sbin] 13268ff16396Smrg --libexecdir=DIR program executables [EPREFIX/libexec] 13278ff16396Smrg --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 13288ff16396Smrg --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 13298ff16396Smrg --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1330111ba1daSmrg --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 13318ff16396Smrg --libdir=DIR object code libraries [EPREFIX/lib] 13328ff16396Smrg --includedir=DIR C header files [PREFIX/include] 13338ff16396Smrg --oldincludedir=DIR C header files for non-gcc [/usr/include] 13348ff16396Smrg --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 13358ff16396Smrg --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 13368ff16396Smrg --infodir=DIR info documentation [DATAROOTDIR/info] 13378ff16396Smrg --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 13388ff16396Smrg --mandir=DIR man documentation [DATAROOTDIR/man] 13398ff16396Smrg --docdir=DIR documentation root [DATAROOTDIR/doc/font-jis-misc] 13408ff16396Smrg --htmldir=DIR html documentation [DOCDIR] 13418ff16396Smrg --dvidir=DIR dvi documentation [DOCDIR] 13428ff16396Smrg --pdfdir=DIR pdf documentation [DOCDIR] 13438ff16396Smrg --psdir=DIR ps documentation [DOCDIR] 13440bd0e222Smrg_ACEOF 13450bd0e222Smrg 13460bd0e222Smrg cat <<\_ACEOF 13470bd0e222Smrg 13480bd0e222SmrgProgram names: 13490bd0e222Smrg --program-prefix=PREFIX prepend PREFIX to installed program names 13500bd0e222Smrg --program-suffix=SUFFIX append SUFFIX to installed program names 13510bd0e222Smrg --program-transform-name=PROGRAM run sed PROGRAM on installed program names 13528ff16396Smrg 13538ff16396SmrgSystem types: 13548ff16396Smrg --build=BUILD configure for building on BUILD [guessed] 13558ff16396Smrg --host=HOST cross-compile to build programs to run on HOST [BUILD] 13560bd0e222Smrg_ACEOF 13570bd0e222Smrgfi 13580bd0e222Smrg 13590bd0e222Smrgif test -n "$ac_init_help"; then 13600bd0e222Smrg case $ac_init_help in 1361111ba1daSmrg short | recursive ) echo "Configuration of font-jis-misc 1.0.4:";; 13620bd0e222Smrg esac 13630bd0e222Smrg cat <<\_ACEOF 13640bd0e222Smrg 13650bd0e222SmrgOptional Features: 13668ff16396Smrg --disable-option-checking ignore unrecognized --enable/--with options 13670bd0e222Smrg --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 13680bd0e222Smrg --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1369111ba1daSmrg --enable-silent-rules less verbose build output (undo: "make V=1") 1370111ba1daSmrg --disable-silent-rules verbose build output (undo: "make V=0") 13710bd0e222Smrg 13720bd0e222SmrgOptional Packages: 13730bd0e222Smrg --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 13740bd0e222Smrg --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 13758ff16396Smrg --with-fontrootdir=DIR Path to root directory for font files 13768ff16396Smrg --with-fontdir=DIR Path to misc files [FONTROOTDIR/misc] 13778ff16396Smrg --with-compression=<no|compress|gzip|bzip2> 13788ff16396Smrg compression method to use on pcf fonts 13798ff16396Smrg 13808ff16396SmrgSome influential environment variables: 13818ff16396Smrg PKG_CONFIG path to pkg-config utility 1382d5d8cc55Smrg PKG_CONFIG_PATH 1383d5d8cc55Smrg directories to add to pkg-config's search path 1384d5d8cc55Smrg PKG_CONFIG_LIBDIR 1385d5d8cc55Smrg path overriding pkg-config's built-in search path 13868ff16396Smrg 13878ff16396SmrgUse these variables to override the choices made by `configure' or to help 13888ff16396Smrgit to find libraries and programs with nonstandard names/locations. 13890bd0e222Smrg 1390111ba1daSmrgReport bugs to <https://gitlab.freedesktop.org/xorg/font/jis-misc/-/issues>. 13910bd0e222Smrg_ACEOF 13928ff16396Smrgac_status=$? 13930bd0e222Smrgfi 13940bd0e222Smrg 13950bd0e222Smrgif test "$ac_init_help" = "recursive"; then 13960bd0e222Smrg # If there are subdirs, report their specific --help. 13970bd0e222Smrg for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 13988ff16396Smrg test -d "$ac_dir" || 13998ff16396Smrg { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 14008ff16396Smrg continue 14010bd0e222Smrg ac_builddir=. 14020bd0e222Smrg 14038ff16396Smrgcase "$ac_dir" in 14048ff16396Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 14058ff16396Smrg*) 1406111ba1daSmrg ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 14078ff16396Smrg # A ".." for each directory in $ac_dir_suffix. 1408111ba1daSmrg ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 14098ff16396Smrg case $ac_top_builddir_sub in 14108ff16396Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 14118ff16396Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 14128ff16396Smrg esac ;; 14138ff16396Smrgesac 14148ff16396Smrgac_abs_top_builddir=$ac_pwd 14158ff16396Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 14168ff16396Smrg# for backward compatibility: 14178ff16396Smrgac_top_builddir=$ac_top_build_prefix 14180bd0e222Smrg 14190bd0e222Smrgcase $srcdir in 14208ff16396Smrg .) # We are building in place. 14210bd0e222Smrg ac_srcdir=. 14228ff16396Smrg ac_top_srcdir=$ac_top_builddir_sub 14238ff16396Smrg ac_abs_top_srcdir=$ac_pwd ;; 14248ff16396Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 14250bd0e222Smrg ac_srcdir=$srcdir$ac_dir_suffix; 14268ff16396Smrg ac_top_srcdir=$srcdir 14278ff16396Smrg ac_abs_top_srcdir=$srcdir ;; 14288ff16396Smrg *) # Relative name. 14298ff16396Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 14308ff16396Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 14318ff16396Smrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 14320bd0e222Smrgesac 14338ff16396Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 14348ff16396Smrg 14358ff16396Smrg cd "$ac_dir" || { ac_status=$?; continue; } 1436111ba1daSmrg # Check for configure.gnu first; this name is used for a wrapper for 1437111ba1daSmrg # Metaconfig's "Configure" on case-insensitive file systems. 14388ff16396Smrg if test -f "$ac_srcdir/configure.gnu"; then 14398ff16396Smrg echo && 14408ff16396Smrg $SHELL "$ac_srcdir/configure.gnu" --help=recursive 14418ff16396Smrg elif test -f "$ac_srcdir/configure"; then 14428ff16396Smrg echo && 14438ff16396Smrg $SHELL "$ac_srcdir/configure" --help=recursive 14440bd0e222Smrg else 1445111ba1daSmrg printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2 14468ff16396Smrg fi || ac_status=$? 14478ff16396Smrg cd "$ac_pwd" || { ac_status=$?; break; } 14480bd0e222Smrg done 14490bd0e222Smrgfi 14500bd0e222Smrg 14518ff16396Smrgtest -n "$ac_init_help" && exit $ac_status 14520bd0e222Smrgif $ac_init_version; then 14530bd0e222Smrg cat <<\_ACEOF 1454111ba1daSmrgfont-jis-misc configure 1.0.4 1455111ba1daSmrggenerated by GNU Autoconf 2.71 14560bd0e222Smrg 1457111ba1daSmrgCopyright (C) 2021 Free Software Foundation, Inc. 14580bd0e222SmrgThis configure script is free software; the Free Software Foundation 14590bd0e222Smrggives unlimited permission to copy, distribute and modify it. 14600bd0e222Smrg_ACEOF 14618ff16396Smrg exit 14620bd0e222Smrgfi 14630bd0e222Smrg 1464d5d8cc55Smrg## ------------------------ ## 1465d5d8cc55Smrg## Autoconf initialization. ## 1466d5d8cc55Smrg## ------------------------ ## 1467111ba1daSmrgac_configure_args_raw= 1468111ba1daSmrgfor ac_arg 1469111ba1daSmrgdo 1470111ba1daSmrg case $ac_arg in 1471111ba1daSmrg *\'*) 1472111ba1daSmrg ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1473111ba1daSmrg esac 1474111ba1daSmrg as_fn_append ac_configure_args_raw " '$ac_arg'" 1475111ba1daSmrgdone 14760bd0e222Smrg 1477111ba1daSmrgcase $ac_configure_args_raw in 1478111ba1daSmrg *$as_nl*) 1479111ba1daSmrg ac_safe_unquote= ;; 1480111ba1daSmrg *) 1481111ba1daSmrg ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. 1482111ba1daSmrg ac_unsafe_a="$ac_unsafe_z#~" 1483111ba1daSmrg ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" 1484111ba1daSmrg ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;; 1485d5d8cc55Smrgesac 1486d5d8cc55Smrg 1487d5d8cc55Smrgcat >config.log <<_ACEOF 1488d5d8cc55SmrgThis file contains any messages produced by compilers while 1489d5d8cc55Smrgrunning configure, to aid debugging if configure makes a mistake. 1490d5d8cc55Smrg 1491111ba1daSmrgIt was created by font-jis-misc $as_me 1.0.4, which was 1492111ba1daSmrggenerated by GNU Autoconf 2.71. Invocation command line was 1493d5d8cc55Smrg 1494111ba1daSmrg $ $0$ac_configure_args_raw 1495d5d8cc55Smrg 1496d5d8cc55Smrg_ACEOF 1497d5d8cc55Smrgexec 5>>config.log 1498d5d8cc55Smrg{ 1499d5d8cc55Smrgcat <<_ASUNAME 1500d5d8cc55Smrg## --------- ## 1501d5d8cc55Smrg## Platform. ## 1502d5d8cc55Smrg## --------- ## 1503d5d8cc55Smrg 1504d5d8cc55Smrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1505d5d8cc55Smrguname -m = `(uname -m) 2>/dev/null || echo unknown` 1506d5d8cc55Smrguname -r = `(uname -r) 2>/dev/null || echo unknown` 1507d5d8cc55Smrguname -s = `(uname -s) 2>/dev/null || echo unknown` 1508d5d8cc55Smrguname -v = `(uname -v) 2>/dev/null || echo unknown` 1509d5d8cc55Smrg 1510d5d8cc55Smrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1511d5d8cc55Smrg/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1512d5d8cc55Smrg 1513d5d8cc55Smrg/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1514d5d8cc55Smrg/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1515d5d8cc55Smrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1516d5d8cc55Smrg/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1517d5d8cc55Smrg/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1518d5d8cc55Smrg/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1519d5d8cc55Smrg/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1520d5d8cc55Smrg 1521d5d8cc55Smrg_ASUNAME 1522d5d8cc55Smrg 1523d5d8cc55Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15240bd0e222Smrgfor as_dir in $PATH 15250bd0e222Smrgdo 15260bd0e222Smrg IFS=$as_save_IFS 1527111ba1daSmrg case $as_dir in #((( 1528111ba1daSmrg '') as_dir=./ ;; 1529111ba1daSmrg */) ;; 1530111ba1daSmrg *) as_dir=$as_dir/ ;; 1531111ba1daSmrg esac 1532111ba1daSmrg printf "%s\n" "PATH: $as_dir" 1533d5d8cc55Smrg done 15348ff16396SmrgIFS=$as_save_IFS 15350bd0e222Smrg 15360bd0e222Smrg} >&5 15370bd0e222Smrg 15380bd0e222Smrgcat >&5 <<_ACEOF 15390bd0e222Smrg 15400bd0e222Smrg 15410bd0e222Smrg## ----------- ## 15420bd0e222Smrg## Core tests. ## 15430bd0e222Smrg## ----------- ## 15440bd0e222Smrg 15450bd0e222Smrg_ACEOF 15460bd0e222Smrg 15470bd0e222Smrg 15480bd0e222Smrg# Keep a trace of the command line. 15490bd0e222Smrg# Strip out --no-create and --no-recursion so they do not pile up. 15500bd0e222Smrg# Strip out --silent because we don't want to record it for future runs. 15510bd0e222Smrg# Also quote any args containing shell meta-characters. 15520bd0e222Smrg# Make two passes to allow for proper duplicate-argument suppression. 15530bd0e222Smrgac_configure_args= 15540bd0e222Smrgac_configure_args0= 15550bd0e222Smrgac_configure_args1= 15560bd0e222Smrgac_must_keep_next=false 15570bd0e222Smrgfor ac_pass in 1 2 15580bd0e222Smrgdo 15590bd0e222Smrg for ac_arg 15600bd0e222Smrg do 15610bd0e222Smrg case $ac_arg in 15620bd0e222Smrg -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 15630bd0e222Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 15640bd0e222Smrg | -silent | --silent | --silen | --sile | --sil) 15650bd0e222Smrg continue ;; 15668ff16396Smrg *\'*) 1567111ba1daSmrg ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 15680bd0e222Smrg esac 15690bd0e222Smrg case $ac_pass in 1570d5d8cc55Smrg 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 15710bd0e222Smrg 2) 1572d5d8cc55Smrg as_fn_append ac_configure_args1 " '$ac_arg'" 15730bd0e222Smrg if test $ac_must_keep_next = true; then 15740bd0e222Smrg ac_must_keep_next=false # Got value, back to normal. 15750bd0e222Smrg else 15760bd0e222Smrg case $ac_arg in 15770bd0e222Smrg *=* | --config-cache | -C | -disable-* | --disable-* \ 15780bd0e222Smrg | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 15790bd0e222Smrg | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 15800bd0e222Smrg | -with-* | --with-* | -without-* | --without-* | --x) 15810bd0e222Smrg case "$ac_configure_args0 " in 15820bd0e222Smrg "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 15830bd0e222Smrg esac 15840bd0e222Smrg ;; 15850bd0e222Smrg -* ) ac_must_keep_next=true ;; 15860bd0e222Smrg esac 15870bd0e222Smrg fi 1588d5d8cc55Smrg as_fn_append ac_configure_args " '$ac_arg'" 15890bd0e222Smrg ;; 15900bd0e222Smrg esac 15910bd0e222Smrg done 15920bd0e222Smrgdone 1593d5d8cc55Smrg{ ac_configure_args0=; unset ac_configure_args0;} 1594d5d8cc55Smrg{ ac_configure_args1=; unset ac_configure_args1;} 15950bd0e222Smrg 15960bd0e222Smrg# When interrupted or exit'd, cleanup temporary files, and complete 15970bd0e222Smrg# config.log. We remove comments because anyway the quotes in there 15980bd0e222Smrg# would cause problems or look ugly. 15998ff16396Smrg# WARNING: Use '\'' to represent an apostrophe within the trap. 16008ff16396Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 16010bd0e222Smrgtrap 'exit_status=$? 1602111ba1daSmrg # Sanitize IFS. 1603111ba1daSmrg IFS=" "" $as_nl" 16040bd0e222Smrg # Save into config.log some information that might help in debugging. 16050bd0e222Smrg { 16060bd0e222Smrg echo 16070bd0e222Smrg 1608111ba1daSmrg printf "%s\n" "## ---------------- ## 16090bd0e222Smrg## Cache variables. ## 1610d5d8cc55Smrg## ---------------- ##" 16110bd0e222Smrg echo 16120bd0e222Smrg # The following way of writing the cache mishandles newlines in values, 16138ff16396Smrg( 16148ff16396Smrg for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 16158ff16396Smrg eval ac_val=\$$ac_var 16168ff16396Smrg case $ac_val in #( 16178ff16396Smrg *${as_nl}*) 16188ff16396Smrg case $ac_var in #( 1619111ba1daSmrg *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1620111ba1daSmrgprintf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 16218ff16396Smrg esac 16228ff16396Smrg case $ac_var in #( 16238ff16396Smrg _ | IFS | as_nl) ;; #( 16248ff16396Smrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1625d5d8cc55Smrg *) { eval $ac_var=; unset $ac_var;} ;; 16268ff16396Smrg esac ;; 16278ff16396Smrg esac 16288ff16396Smrg done 16290bd0e222Smrg (set) 2>&1 | 16308ff16396Smrg case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 16318ff16396Smrg *${as_nl}ac_space=\ *) 16320bd0e222Smrg sed -n \ 16338ff16396Smrg "s/'\''/'\''\\\\'\'''\''/g; 16348ff16396Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 16358ff16396Smrg ;; #( 16360bd0e222Smrg *) 16378ff16396Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 16380bd0e222Smrg ;; 16398ff16396Smrg esac | 16408ff16396Smrg sort 16418ff16396Smrg) 16420bd0e222Smrg echo 16430bd0e222Smrg 1644111ba1daSmrg printf "%s\n" "## ----------------- ## 16450bd0e222Smrg## Output variables. ## 1646d5d8cc55Smrg## ----------------- ##" 16470bd0e222Smrg echo 16480bd0e222Smrg for ac_var in $ac_subst_vars 16490bd0e222Smrg do 16508ff16396Smrg eval ac_val=\$$ac_var 16518ff16396Smrg case $ac_val in 1652111ba1daSmrg *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 16538ff16396Smrg esac 1654111ba1daSmrg printf "%s\n" "$ac_var='\''$ac_val'\''" 16550bd0e222Smrg done | sort 16560bd0e222Smrg echo 16570bd0e222Smrg 16580bd0e222Smrg if test -n "$ac_subst_files"; then 1659111ba1daSmrg printf "%s\n" "## ------------------- ## 16608ff16396Smrg## File substitutions. ## 1661d5d8cc55Smrg## ------------------- ##" 16620bd0e222Smrg echo 16630bd0e222Smrg for ac_var in $ac_subst_files 16640bd0e222Smrg do 16658ff16396Smrg eval ac_val=\$$ac_var 16668ff16396Smrg case $ac_val in 1667111ba1daSmrg *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 16688ff16396Smrg esac 1669111ba1daSmrg printf "%s\n" "$ac_var='\''$ac_val'\''" 16700bd0e222Smrg done | sort 16710bd0e222Smrg echo 16720bd0e222Smrg fi 16730bd0e222Smrg 16740bd0e222Smrg if test -s confdefs.h; then 1675111ba1daSmrg printf "%s\n" "## ----------- ## 16760bd0e222Smrg## confdefs.h. ## 1677d5d8cc55Smrg## ----------- ##" 16780bd0e222Smrg echo 16798ff16396Smrg cat confdefs.h 16800bd0e222Smrg echo 16810bd0e222Smrg fi 16820bd0e222Smrg test "$ac_signal" != 0 && 1683111ba1daSmrg printf "%s\n" "$as_me: caught signal $ac_signal" 1684111ba1daSmrg printf "%s\n" "$as_me: exit $exit_status" 16850bd0e222Smrg } >&5 16868ff16396Smrg rm -f core *.core core.conftest.* && 16878ff16396Smrg rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 16880bd0e222Smrg exit $exit_status 16898ff16396Smrg' 0 16900bd0e222Smrgfor ac_signal in 1 2 13 15; do 1691d5d8cc55Smrg trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 16920bd0e222Smrgdone 16930bd0e222Smrgac_signal=0 16940bd0e222Smrg 16950bd0e222Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed. 16968ff16396Smrgrm -f -r conftest* confdefs.h 16970bd0e222Smrg 1698111ba1daSmrgprintf "%s\n" "/* confdefs.h */" > confdefs.h 1699d5d8cc55Smrg 17000bd0e222Smrg# Predefined preprocessor variables. 17010bd0e222Smrg 1702111ba1daSmrgprintf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h 17030bd0e222Smrg 1704111ba1daSmrgprintf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h 17050bd0e222Smrg 1706111ba1daSmrgprintf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h 17070bd0e222Smrg 1708111ba1daSmrgprintf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h 17090bd0e222Smrg 1710111ba1daSmrgprintf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h 17110bd0e222Smrg 1712111ba1daSmrgprintf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h 1713d5d8cc55Smrg 17140bd0e222Smrg 17150bd0e222Smrg# Let the site file select an alternate cache file if it wants to. 17168ff16396Smrg# Prefer an explicitly selected file to automatically selected ones. 17178ff16396Smrgif test -n "$CONFIG_SITE"; then 1718111ba1daSmrg ac_site_files="$CONFIG_SITE" 17198ff16396Smrgelif test "x$prefix" != xNONE; then 1720111ba1daSmrg ac_site_files="$prefix/share/config.site $prefix/etc/config.site" 17218ff16396Smrgelse 1722111ba1daSmrg ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 17230bd0e222Smrgfi 1724111ba1daSmrg 1725111ba1daSmrgfor ac_site_file in $ac_site_files 17268ff16396Smrgdo 1727111ba1daSmrg case $ac_site_file in #( 1728111ba1daSmrg */*) : 1729111ba1daSmrg ;; #( 1730111ba1daSmrg *) : 1731111ba1daSmrg ac_site_file=./$ac_site_file ;; 1732111ba1daSmrgesac 1733111ba1daSmrg if test -f "$ac_site_file" && test -r "$ac_site_file"; then 1734111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1735111ba1daSmrgprintf "%s\n" "$as_me: loading site script $ac_site_file" >&6;} 17360bd0e222Smrg sed 's/^/| /' "$ac_site_file" >&5 1737d5d8cc55Smrg . "$ac_site_file" \ 1738111ba1daSmrg || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1739111ba1daSmrgprintf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 1740d5d8cc55Smrgas_fn_error $? "failed to load site script $ac_site_file 1741d5d8cc55SmrgSee \`config.log' for more details" "$LINENO" 5; } 17420bd0e222Smrg fi 17430bd0e222Smrgdone 17440bd0e222Smrg 17450bd0e222Smrgif test -r "$cache_file"; then 1746d5d8cc55Smrg # Some versions of bash will fail to source /dev/null (special files 1747d5d8cc55Smrg # actually), so we avoid doing that. DJGPP emulates it as a regular file. 1748d5d8cc55Smrg if test /dev/null != "$cache_file" && test -f "$cache_file"; then 1749111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1750111ba1daSmrgprintf "%s\n" "$as_me: loading cache $cache_file" >&6;} 17510bd0e222Smrg case $cache_file in 17528ff16396Smrg [\\/]* | ?:[\\/]* ) . "$cache_file";; 17538ff16396Smrg *) . "./$cache_file";; 17540bd0e222Smrg esac 17550bd0e222Smrg fi 17560bd0e222Smrgelse 1757111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1758111ba1daSmrgprintf "%s\n" "$as_me: creating cache $cache_file" >&6;} 17590bd0e222Smrg >$cache_file 17600bd0e222Smrgfi 17610bd0e222Smrg 1762111ba1daSmrg 1763111ba1daSmrg# Auxiliary files required by this configure script. 1764111ba1daSmrgac_aux_files="config.guess config.sub missing install-sh" 1765111ba1daSmrg 1766111ba1daSmrg# Locations in which to look for auxiliary files. 1767111ba1daSmrgac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.." 1768111ba1daSmrg 1769111ba1daSmrg# Search for a directory containing all of the required auxiliary files, 1770111ba1daSmrg# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. 1771111ba1daSmrg# If we don't find one directory that contains all the files we need, 1772111ba1daSmrg# we report the set of missing files from the *first* directory in 1773111ba1daSmrg# $ac_aux_dir_candidates and give up. 1774111ba1daSmrgac_missing_aux_files="" 1775111ba1daSmrgac_first_candidate=: 1776111ba1daSmrgprintf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5 1777111ba1daSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1778111ba1daSmrgas_found=false 1779111ba1daSmrgfor as_dir in $ac_aux_dir_candidates 1780111ba1daSmrgdo 1781111ba1daSmrg IFS=$as_save_IFS 1782111ba1daSmrg case $as_dir in #((( 1783111ba1daSmrg '') as_dir=./ ;; 1784111ba1daSmrg */) ;; 1785111ba1daSmrg *) as_dir=$as_dir/ ;; 1786111ba1daSmrg esac 1787111ba1daSmrg as_found=: 1788111ba1daSmrg 1789111ba1daSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 1790111ba1daSmrg ac_aux_dir_found=yes 1791111ba1daSmrg ac_install_sh= 1792111ba1daSmrg for ac_aux in $ac_aux_files 1793111ba1daSmrg do 1794111ba1daSmrg # As a special case, if "install-sh" is required, that requirement 1795111ba1daSmrg # can be satisfied by any of "install-sh", "install.sh", or "shtool", 1796111ba1daSmrg # and $ac_install_sh is set appropriately for whichever one is found. 1797111ba1daSmrg if test x"$ac_aux" = x"install-sh" 1798111ba1daSmrg then 1799111ba1daSmrg if test -f "${as_dir}install-sh"; then 1800111ba1daSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5 1801111ba1daSmrg ac_install_sh="${as_dir}install-sh -c" 1802111ba1daSmrg elif test -f "${as_dir}install.sh"; then 1803111ba1daSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5 1804111ba1daSmrg ac_install_sh="${as_dir}install.sh -c" 1805111ba1daSmrg elif test -f "${as_dir}shtool"; then 1806111ba1daSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5 1807111ba1daSmrg ac_install_sh="${as_dir}shtool install -c" 1808111ba1daSmrg else 1809111ba1daSmrg ac_aux_dir_found=no 1810111ba1daSmrg if $ac_first_candidate; then 1811111ba1daSmrg ac_missing_aux_files="${ac_missing_aux_files} install-sh" 1812111ba1daSmrg else 1813111ba1daSmrg break 1814111ba1daSmrg fi 1815111ba1daSmrg fi 1816111ba1daSmrg else 1817111ba1daSmrg if test -f "${as_dir}${ac_aux}"; then 1818111ba1daSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5 1819111ba1daSmrg else 1820111ba1daSmrg ac_aux_dir_found=no 1821111ba1daSmrg if $ac_first_candidate; then 1822111ba1daSmrg ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}" 1823111ba1daSmrg else 1824111ba1daSmrg break 1825111ba1daSmrg fi 1826111ba1daSmrg fi 1827111ba1daSmrg fi 1828111ba1daSmrg done 1829111ba1daSmrg if test "$ac_aux_dir_found" = yes; then 1830111ba1daSmrg ac_aux_dir="$as_dir" 1831111ba1daSmrg break 1832111ba1daSmrg fi 1833111ba1daSmrg ac_first_candidate=false 1834111ba1daSmrg 1835111ba1daSmrg as_found=false 1836111ba1daSmrgdone 1837111ba1daSmrgIFS=$as_save_IFS 1838111ba1daSmrgif $as_found 1839111ba1daSmrgthen : 1840111ba1daSmrg 1841111ba1daSmrgelse $as_nop 1842111ba1daSmrg as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 1843111ba1daSmrgfi 1844111ba1daSmrg 1845111ba1daSmrg 1846111ba1daSmrg# These three variables are undocumented and unsupported, 1847111ba1daSmrg# and are intended to be withdrawn in a future Autoconf release. 1848111ba1daSmrg# They can cause serious problems if a builder's source tree is in a directory 1849111ba1daSmrg# whose full name contains unusual characters. 1850111ba1daSmrgif test -f "${ac_aux_dir}config.guess"; then 1851111ba1daSmrg ac_config_guess="$SHELL ${ac_aux_dir}config.guess" 1852111ba1daSmrgfi 1853111ba1daSmrgif test -f "${ac_aux_dir}config.sub"; then 1854111ba1daSmrg ac_config_sub="$SHELL ${ac_aux_dir}config.sub" 1855111ba1daSmrgfi 1856111ba1daSmrgif test -f "$ac_aux_dir/configure"; then 1857111ba1daSmrg ac_configure="$SHELL ${ac_aux_dir}configure" 1858111ba1daSmrgfi 1859111ba1daSmrg 18600bd0e222Smrg# Check that the precious variables saved in the cache have kept the same 18610bd0e222Smrg# value. 18620bd0e222Smrgac_cache_corrupted=false 18638ff16396Smrgfor ac_var in $ac_precious_vars; do 18640bd0e222Smrg eval ac_old_set=\$ac_cv_env_${ac_var}_set 18650bd0e222Smrg eval ac_new_set=\$ac_env_${ac_var}_set 18668ff16396Smrg eval ac_old_val=\$ac_cv_env_${ac_var}_value 18678ff16396Smrg eval ac_new_val=\$ac_env_${ac_var}_value 18680bd0e222Smrg case $ac_old_set,$ac_new_set in 18690bd0e222Smrg set,) 1870111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1871111ba1daSmrgprintf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 18720bd0e222Smrg ac_cache_corrupted=: ;; 18730bd0e222Smrg ,set) 1874111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1875111ba1daSmrgprintf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 18760bd0e222Smrg ac_cache_corrupted=: ;; 18770bd0e222Smrg ,);; 18780bd0e222Smrg *) 18790bd0e222Smrg if test "x$ac_old_val" != "x$ac_new_val"; then 18808ff16396Smrg # differences in whitespace do not lead to failure. 18818ff16396Smrg ac_old_val_w=`echo x $ac_old_val` 18828ff16396Smrg ac_new_val_w=`echo x $ac_new_val` 18838ff16396Smrg if test "$ac_old_val_w" != "$ac_new_val_w"; then 1884111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1885111ba1daSmrgprintf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 18868ff16396Smrg ac_cache_corrupted=: 18878ff16396Smrg else 1888111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1889111ba1daSmrgprintf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 18908ff16396Smrg eval $ac_var=\$ac_old_val 18918ff16396Smrg fi 1892111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1893111ba1daSmrgprintf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;} 1894111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 1895111ba1daSmrgprintf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;} 18960bd0e222Smrg fi;; 18970bd0e222Smrg esac 18980bd0e222Smrg # Pass precious variables to config.status. 18990bd0e222Smrg if test "$ac_new_set" = set; then 19000bd0e222Smrg case $ac_new_val in 1901111ba1daSmrg *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 19020bd0e222Smrg *) ac_arg=$ac_var=$ac_new_val ;; 19030bd0e222Smrg esac 19040bd0e222Smrg case " $ac_configure_args " in 19050bd0e222Smrg *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1906d5d8cc55Smrg *) as_fn_append ac_configure_args " '$ac_arg'" ;; 19070bd0e222Smrg esac 19080bd0e222Smrg fi 19090bd0e222Smrgdone 19100bd0e222Smrgif $ac_cache_corrupted; then 1911111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1912111ba1daSmrgprintf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 1913111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 1914111ba1daSmrgprintf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;} 1915111ba1daSmrg as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file' 1916111ba1daSmrg and start over" "$LINENO" 5 19170bd0e222Smrgfi 1918d5d8cc55Smrg## -------------------- ## 1919d5d8cc55Smrg## Main body of script. ## 1920d5d8cc55Smrg## -------------------- ## 19210bd0e222Smrg 19228ff16396Smrgac_ext=c 19238ff16396Smrgac_cpp='$CPP $CPPFLAGS' 19248ff16396Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 19258ff16396Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 19268ff16396Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 19270bd0e222Smrg 19280bd0e222Smrg 1929111ba1daSmrgam__api_version='1.16' 19308ff16396Smrg 19318ff16396Smrg 19320bd0e222Smrg 1933111ba1daSmrg # Find a good install program. We prefer a C program (faster), 19340bd0e222Smrg# so one script is as good as another. But avoid the broken or 19350bd0e222Smrg# incompatible versions: 19360bd0e222Smrg# SysV /etc/install, /usr/sbin/install 19370bd0e222Smrg# SunOS /usr/etc/install 19380bd0e222Smrg# IRIX /sbin/install 19390bd0e222Smrg# AIX /bin/install 19400bd0e222Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs 19410bd0e222Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 19420bd0e222Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 19430bd0e222Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 19440bd0e222Smrg# OS/2's system install, which has a completely different semantic 19450bd0e222Smrg# ./install, which can be erroneously created by make from ./install.sh. 19468ff16396Smrg# Reject install programs that cannot install multiple files. 1947111ba1daSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 1948111ba1daSmrgprintf %s "checking for a BSD-compatible install... " >&6; } 19490bd0e222Smrgif test -z "$INSTALL"; then 1950111ba1daSmrgif test ${ac_cv_path_install+y} 1951111ba1daSmrgthen : 1952111ba1daSmrg printf %s "(cached) " >&6 1953111ba1daSmrgelse $as_nop 19540bd0e222Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19550bd0e222Smrgfor as_dir in $PATH 19560bd0e222Smrgdo 19570bd0e222Smrg IFS=$as_save_IFS 1958111ba1daSmrg case $as_dir in #((( 1959111ba1daSmrg '') as_dir=./ ;; 1960111ba1daSmrg */) ;; 1961111ba1daSmrg *) as_dir=$as_dir/ ;; 1962111ba1daSmrg esac 1963111ba1daSmrg # Account for fact that we put trailing slashes in our PATH walk. 1964111ba1daSmrgcase $as_dir in #(( 1965111ba1daSmrg ./ | /[cC]/* | \ 19660bd0e222Smrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1967d5d8cc55Smrg ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 19680bd0e222Smrg /usr/ucb/* ) ;; 19690bd0e222Smrg *) 19700bd0e222Smrg # OSF1 and SCO ODT 3.0 have their own names for install. 19710bd0e222Smrg # Don't use installbsd from OSF since it installs stuff as root 19720bd0e222Smrg # by default. 19730bd0e222Smrg for ac_prog in ginstall scoinst install; do 19740bd0e222Smrg for ac_exec_ext in '' $ac_executable_extensions; do 1975111ba1daSmrg if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then 19760bd0e222Smrg if test $ac_prog = install && 1977111ba1daSmrg grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 19780bd0e222Smrg # AIX install. It has an incompatible calling convention. 19790bd0e222Smrg : 19800bd0e222Smrg elif test $ac_prog = install && 1981111ba1daSmrg grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 19820bd0e222Smrg # program-specific install script used by HP pwplus--don't use. 19830bd0e222Smrg : 19840bd0e222Smrg else 19858ff16396Smrg rm -rf conftest.one conftest.two conftest.dir 19868ff16396Smrg echo one > conftest.one 19878ff16396Smrg echo two > conftest.two 19888ff16396Smrg mkdir conftest.dir 1989111ba1daSmrg if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" && 19908ff16396Smrg test -s conftest.one && test -s conftest.two && 19918ff16396Smrg test -s conftest.dir/conftest.one && 19928ff16396Smrg test -s conftest.dir/conftest.two 19938ff16396Smrg then 1994111ba1daSmrg ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c" 19958ff16396Smrg break 3 19968ff16396Smrg fi 19970bd0e222Smrg fi 19980bd0e222Smrg fi 19990bd0e222Smrg done 20000bd0e222Smrg done 20010bd0e222Smrg ;; 20020bd0e222Smrgesac 20038ff16396Smrg 2004d5d8cc55Smrg done 20058ff16396SmrgIFS=$as_save_IFS 20060bd0e222Smrg 20078ff16396Smrgrm -rf conftest.one conftest.two conftest.dir 20080bd0e222Smrg 20090bd0e222Smrgfi 2010111ba1daSmrg if test ${ac_cv_path_install+y}; then 20110bd0e222Smrg INSTALL=$ac_cv_path_install 20120bd0e222Smrg else 20138ff16396Smrg # As a last resort, use the slow shell script. Don't cache a 20148ff16396Smrg # value for INSTALL within a source directory, because that will 20150bd0e222Smrg # break other packages using the cache if that directory is 20168ff16396Smrg # removed, or if the value is a relative name. 20170bd0e222Smrg INSTALL=$ac_install_sh 20180bd0e222Smrg fi 20190bd0e222Smrgfi 2020111ba1daSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2021111ba1daSmrgprintf "%s\n" "$INSTALL" >&6; } 20220bd0e222Smrg 20230bd0e222Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 20240bd0e222Smrg# It thinks the first close brace ends the variable substitution. 20250bd0e222Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 20260bd0e222Smrg 20270bd0e222Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 20280bd0e222Smrg 20290bd0e222Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 20300bd0e222Smrg 2031111ba1daSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2032111ba1daSmrgprintf %s "checking whether build environment is sane... " >&6; } 20338ff16396Smrg# Reject unsafe characters in $srcdir or the absolute working directory 20348ff16396Smrg# name. Accept space and tab only in the latter. 20358ff16396Smrgam_lf=' 20368ff16396Smrg' 20378ff16396Smrgcase `pwd` in 20388ff16396Smrg *[\\\"\#\$\&\'\`$am_lf]*) 2039d5d8cc55Smrg as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 20408ff16396Smrgesac 20418ff16396Smrgcase $srcdir in 20428ff16396Smrg *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2043111ba1daSmrg as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 20448ff16396Smrgesac 20458ff16396Smrg 2046111ba1daSmrg# Do 'set' in a subshell so we don't clobber the current shell's 20470bd0e222Smrg# arguments. Must try -L first in case configure is actually a 20480bd0e222Smrg# symlink; some systems play weird games with the mod time of symlinks 20490bd0e222Smrg# (eg FreeBSD returns the mod time of the symlink's containing 20500bd0e222Smrg# directory). 20510bd0e222Smrgif ( 2052111ba1daSmrg am_has_slept=no 2053111ba1daSmrg for am_try in 1 2; do 2054111ba1daSmrg echo "timestamp, slept: $am_has_slept" > conftest.file 2055111ba1daSmrg set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2056111ba1daSmrg if test "$*" = "X"; then 2057111ba1daSmrg # -L didn't work. 2058111ba1daSmrg set X `ls -t "$srcdir/configure" conftest.file` 2059111ba1daSmrg fi 2060111ba1daSmrg if test "$*" != "X $srcdir/configure conftest.file" \ 2061111ba1daSmrg && test "$*" != "X conftest.file $srcdir/configure"; then 2062111ba1daSmrg 2063111ba1daSmrg # If neither matched, then we have a broken ls. This can happen 2064111ba1daSmrg # if, for instance, CONFIG_SHELL is bash and it inherits a 2065111ba1daSmrg # broken ls alias from the environment. This has actually 2066111ba1daSmrg # happened. Such a system could not be considered "sane". 2067111ba1daSmrg as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2068111ba1daSmrg alias in your environment" "$LINENO" 5 2069111ba1daSmrg fi 2070111ba1daSmrg if test "$2" = conftest.file || test $am_try -eq 2; then 2071111ba1daSmrg break 2072111ba1daSmrg fi 2073111ba1daSmrg # Just in case. 2074111ba1daSmrg sleep 1 2075111ba1daSmrg am_has_slept=yes 2076111ba1daSmrg done 20770bd0e222Smrg test "$2" = conftest.file 20780bd0e222Smrg ) 20790bd0e222Smrgthen 20800bd0e222Smrg # Ok. 20810bd0e222Smrg : 20820bd0e222Smrgelse 2083d5d8cc55Smrg as_fn_error $? "newly created file is older than distributed files! 2084d5d8cc55SmrgCheck your system clock" "$LINENO" 5 20850bd0e222Smrgfi 2086111ba1daSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2087111ba1daSmrgprintf "%s\n" "yes" >&6; } 2088111ba1daSmrg# If we didn't sleep, we still need to ensure time stamps of config.status and 2089111ba1daSmrg# generated files are strictly newer. 2090111ba1daSmrgam_sleep_pid= 2091111ba1daSmrgif grep 'slept: no' conftest.file >/dev/null 2>&1; then 2092111ba1daSmrg ( sleep 1 ) & 2093111ba1daSmrg am_sleep_pid=$! 2094111ba1daSmrgfi 2095111ba1daSmrg 2096111ba1daSmrgrm -f conftest.file 2097111ba1daSmrg 20980bd0e222Smrgtest "$program_prefix" != NONE && 20998ff16396Smrg program_transform_name="s&^&$program_prefix&;$program_transform_name" 21000bd0e222Smrg# Use a double $ so make ignores it. 21010bd0e222Smrgtest "$program_suffix" != NONE && 21028ff16396Smrg program_transform_name="s&\$&$program_suffix&;$program_transform_name" 21038ff16396Smrg# Double any \ or $. 21040bd0e222Smrg# By default was `s,x,x', remove it if useless. 21058ff16396Smrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2106111ba1daSmrgprogram_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"` 21070bd0e222Smrg 21080bd0e222Smrg 2109111ba1daSmrg# Expand $ac_aux_dir to an absolute path. 2110111ba1daSmrgam_aux_dir=`cd "$ac_aux_dir" && pwd` 2111111ba1daSmrg 2112111ba1daSmrg 2113111ba1daSmrg if test x"${MISSING+set}" != xset; then 2114111ba1daSmrg MISSING="\${SHELL} '$am_aux_dir/missing'" 21158ff16396Smrgfi 21160bd0e222Smrg# Use eval to expand $SHELL 2117111ba1daSmrgif eval "$MISSING --is-lightweight"; then 2118111ba1daSmrg am_missing_run="$MISSING " 21190bd0e222Smrgelse 21200bd0e222Smrg am_missing_run= 2121111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2122111ba1daSmrgprintf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 21238ff16396Smrgfi 21248ff16396Smrg 2125111ba1daSmrgif test x"${install_sh+set}" != xset; then 21268ff16396Smrg case $am_aux_dir in 21278ff16396Smrg *\ * | *\ *) 21288ff16396Smrg install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 21298ff16396Smrg *) 21308ff16396Smrg install_sh="\${SHELL} $am_aux_dir/install-sh" 21318ff16396Smrg esac 21328ff16396Smrgfi 21338ff16396Smrg 2134111ba1daSmrg# Installed binaries are usually stripped using 'strip' when the user 2135111ba1daSmrg# run "make install-strip". However 'strip' might not be the right 21368ff16396Smrg# tool to use in cross-compilation environments, therefore Automake 2137111ba1daSmrg# will honor the 'STRIP' environment variable to overrule this program. 21388ff16396Smrgif test "$cross_compiling" != no; then 21398ff16396Smrg if test -n "$ac_tool_prefix"; then 21408ff16396Smrg # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 21418ff16396Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2 2142111ba1daSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2143111ba1daSmrgprintf %s "checking for $ac_word... " >&6; } 2144111ba1daSmrgif test ${ac_cv_prog_STRIP+y} 2145111ba1daSmrgthen : 2146111ba1daSmrg printf %s "(cached) " >&6 2147111ba1daSmrgelse $as_nop 21488ff16396Smrg if test -n "$STRIP"; then 21498ff16396Smrg ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 21508ff16396Smrgelse 21518ff16396Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 21528ff16396Smrgfor as_dir in $PATH 21538ff16396Smrgdo 21548ff16396Smrg IFS=$as_save_IFS 2155111ba1daSmrg case $as_dir in #((( 2156111ba1daSmrg '') as_dir=./ ;; 2157111ba1daSmrg */) ;; 2158111ba1daSmrg *) as_dir=$as_dir/ ;; 2159111ba1daSmrg esac 2160d5d8cc55Smrg for ac_exec_ext in '' $ac_executable_extensions; do 2161111ba1daSmrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 21628ff16396Smrg ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2163111ba1daSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 21648ff16396Smrg break 2 21658ff16396Smrg fi 21668ff16396Smrgdone 2167d5d8cc55Smrg done 21688ff16396SmrgIFS=$as_save_IFS 21698ff16396Smrg 21708ff16396Smrgfi 21718ff16396Smrgfi 21728ff16396SmrgSTRIP=$ac_cv_prog_STRIP 21738ff16396Smrgif test -n "$STRIP"; then 2174111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2175111ba1daSmrgprintf "%s\n" "$STRIP" >&6; } 21768ff16396Smrgelse 2177111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2178111ba1daSmrgprintf "%s\n" "no" >&6; } 21798ff16396Smrgfi 21808ff16396Smrg 21818ff16396Smrg 21828ff16396Smrgfi 21838ff16396Smrgif test -z "$ac_cv_prog_STRIP"; then 21848ff16396Smrg ac_ct_STRIP=$STRIP 21858ff16396Smrg # Extract the first word of "strip", so it can be a program name with args. 21868ff16396Smrgset dummy strip; ac_word=$2 2187111ba1daSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2188111ba1daSmrgprintf %s "checking for $ac_word... " >&6; } 2189111ba1daSmrgif test ${ac_cv_prog_ac_ct_STRIP+y} 2190111ba1daSmrgthen : 2191111ba1daSmrg printf %s "(cached) " >&6 2192111ba1daSmrgelse $as_nop 21938ff16396Smrg if test -n "$ac_ct_STRIP"; then 21948ff16396Smrg ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 21958ff16396Smrgelse 21968ff16396Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 21978ff16396Smrgfor as_dir in $PATH 21988ff16396Smrgdo 21998ff16396Smrg IFS=$as_save_IFS 2200111ba1daSmrg case $as_dir in #((( 2201111ba1daSmrg '') as_dir=./ ;; 2202111ba1daSmrg */) ;; 2203111ba1daSmrg *) as_dir=$as_dir/ ;; 2204111ba1daSmrg esac 2205d5d8cc55Smrg for ac_exec_ext in '' $ac_executable_extensions; do 2206111ba1daSmrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 22078ff16396Smrg ac_cv_prog_ac_ct_STRIP="strip" 2208111ba1daSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 22098ff16396Smrg break 2 22108ff16396Smrg fi 22118ff16396Smrgdone 2212d5d8cc55Smrg done 22138ff16396SmrgIFS=$as_save_IFS 22148ff16396Smrg 22158ff16396Smrgfi 22168ff16396Smrgfi 22178ff16396Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 22188ff16396Smrgif test -n "$ac_ct_STRIP"; then 2219111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2220111ba1daSmrgprintf "%s\n" "$ac_ct_STRIP" >&6; } 22218ff16396Smrgelse 2222111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2223111ba1daSmrgprintf "%s\n" "no" >&6; } 22248ff16396Smrgfi 22258ff16396Smrg 22268ff16396Smrg if test "x$ac_ct_STRIP" = x; then 22278ff16396Smrg STRIP=":" 22288ff16396Smrg else 22298ff16396Smrg case $cross_compiling:$ac_tool_warned in 22308ff16396Smrgyes:) 2231111ba1daSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2232111ba1daSmrgprintf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 22338ff16396Smrgac_tool_warned=yes ;; 22348ff16396Smrgesac 22358ff16396Smrg STRIP=$ac_ct_STRIP 22368ff16396Smrg fi 22378ff16396Smrgelse 22388ff16396Smrg STRIP="$ac_cv_prog_STRIP" 22398ff16396Smrgfi 22408ff16396Smrg 22418ff16396Smrgfi 22428ff16396SmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 22438ff16396Smrg 2244111ba1daSmrg 2245111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5 2246111ba1daSmrgprintf %s "checking for a race-free mkdir -p... " >&6; } 22478ff16396Smrgif test -z "$MKDIR_P"; then 2248111ba1daSmrg if test ${ac_cv_path_mkdir+y} 2249111ba1daSmrgthen : 2250111ba1daSmrg printf %s "(cached) " >&6 2251111ba1daSmrgelse $as_nop 22528ff16396Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22538ff16396Smrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 22548ff16396Smrgdo 22558ff16396Smrg IFS=$as_save_IFS 2256111ba1daSmrg case $as_dir in #((( 2257111ba1daSmrg '') as_dir=./ ;; 2258111ba1daSmrg */) ;; 2259111ba1daSmrg *) as_dir=$as_dir/ ;; 2260111ba1daSmrg esac 2261d5d8cc55Smrg for ac_prog in mkdir gmkdir; do 22628ff16396Smrg for ac_exec_ext in '' $ac_executable_extensions; do 2263111ba1daSmrg as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue 2264111ba1daSmrg case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #( 2265111ba1daSmrg 'mkdir ('*'coreutils) '* | \ 2266111ba1daSmrg 'BusyBox '* | \ 22678ff16396Smrg 'mkdir (fileutils) '4.1*) 2268111ba1daSmrg ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext 22698ff16396Smrg break 3;; 22708ff16396Smrg esac 22718ff16396Smrg done 22728ff16396Smrg done 2273d5d8cc55Smrg done 22748ff16396SmrgIFS=$as_save_IFS 22758ff16396Smrg 22768ff16396Smrgfi 22778ff16396Smrg 2278d5d8cc55Smrg test -d ./--version && rmdir ./--version 2279111ba1daSmrg if test ${ac_cv_path_mkdir+y}; then 22808ff16396Smrg MKDIR_P="$ac_cv_path_mkdir -p" 22818ff16396Smrg else 22828ff16396Smrg # As a last resort, use the slow shell script. Don't cache a 22838ff16396Smrg # value for MKDIR_P within a source directory, because that will 22848ff16396Smrg # break other packages using the cache if that directory is 22858ff16396Smrg # removed, or if the value is a relative name. 22868ff16396Smrg MKDIR_P="$ac_install_sh -d" 22878ff16396Smrg fi 22880bd0e222Smrgfi 2289111ba1daSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2290111ba1daSmrgprintf "%s\n" "$MKDIR_P" >&6; } 22910bd0e222Smrg 22920bd0e222Smrgfor ac_prog in gawk mawk nawk awk 22930bd0e222Smrgdo 22940bd0e222Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 22950bd0e222Smrgset dummy $ac_prog; ac_word=$2 2296111ba1daSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2297111ba1daSmrgprintf %s "checking for $ac_word... " >&6; } 2298111ba1daSmrgif test ${ac_cv_prog_AWK+y} 2299111ba1daSmrgthen : 2300111ba1daSmrg printf %s "(cached) " >&6 2301111ba1daSmrgelse $as_nop 23020bd0e222Smrg if test -n "$AWK"; then 23030bd0e222Smrg ac_cv_prog_AWK="$AWK" # Let the user override the test. 23040bd0e222Smrgelse 23050bd0e222Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23060bd0e222Smrgfor as_dir in $PATH 23070bd0e222Smrgdo 23080bd0e222Smrg IFS=$as_save_IFS 2309111ba1daSmrg case $as_dir in #((( 2310111ba1daSmrg '') as_dir=./ ;; 2311111ba1daSmrg */) ;; 2312111ba1daSmrg *) as_dir=$as_dir/ ;; 2313111ba1daSmrg esac 2314d5d8cc55Smrg for ac_exec_ext in '' $ac_executable_extensions; do 2315111ba1daSmrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 23160bd0e222Smrg ac_cv_prog_AWK="$ac_prog" 2317111ba1daSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 23180bd0e222Smrg break 2 23190bd0e222Smrg fi 23200bd0e222Smrgdone 2321d5d8cc55Smrg done 23228ff16396SmrgIFS=$as_save_IFS 23230bd0e222Smrg 23240bd0e222Smrgfi 23250bd0e222Smrgfi 23260bd0e222SmrgAWK=$ac_cv_prog_AWK 23270bd0e222Smrgif test -n "$AWK"; then 2328111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2329111ba1daSmrgprintf "%s\n" "$AWK" >&6; } 23300bd0e222Smrgelse 2331111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2332111ba1daSmrgprintf "%s\n" "no" >&6; } 23330bd0e222Smrgfi 23340bd0e222Smrg 23358ff16396Smrg 23360bd0e222Smrg test -n "$AWK" && break 23370bd0e222Smrgdone 23380bd0e222Smrg 2339111ba1daSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2340111ba1daSmrgprintf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 23418ff16396Smrgset x ${MAKE-make} 2342111ba1daSmrgac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2343111ba1daSmrgif eval test \${ac_cv_prog_make_${ac_make}_set+y} 2344111ba1daSmrgthen : 2345111ba1daSmrg printf %s "(cached) " >&6 2346111ba1daSmrgelse $as_nop 23470bd0e222Smrg cat >conftest.make <<\_ACEOF 23488ff16396SmrgSHELL = /bin/sh 23490bd0e222Smrgall: 23508ff16396Smrg @echo '@@@%%%=$(MAKE)=@@@%%%' 23510bd0e222Smrg_ACEOF 2352d5d8cc55Smrg# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 23538ff16396Smrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in 23548ff16396Smrg *@@@%%%=?*=@@@%%%*) 23558ff16396Smrg eval ac_cv_prog_make_${ac_make}_set=yes;; 23568ff16396Smrg *) 23578ff16396Smrg eval ac_cv_prog_make_${ac_make}_set=no;; 23588ff16396Smrgesac 23590bd0e222Smrgrm -f conftest.make 23600bd0e222Smrgfi 23618ff16396Smrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2362111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2363111ba1daSmrgprintf "%s\n" "yes" >&6; } 23640bd0e222Smrg SET_MAKE= 23650bd0e222Smrgelse 2366111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2367111ba1daSmrgprintf "%s\n" "no" >&6; } 23680bd0e222Smrg SET_MAKE="MAKE=${MAKE-make}" 23690bd0e222Smrgfi 23700bd0e222Smrg 23710bd0e222Smrgrm -rf .tst 2>/dev/null 23720bd0e222Smrgmkdir .tst 2>/dev/null 23730bd0e222Smrgif test -d .tst; then 23740bd0e222Smrg am__leading_dot=. 23750bd0e222Smrgelse 23760bd0e222Smrg am__leading_dot=_ 23770bd0e222Smrgfi 23780bd0e222Smrgrmdir .tst 2>/dev/null 23790bd0e222Smrg 2380111ba1daSmrg# Check whether --enable-silent-rules was given. 2381111ba1daSmrgif test ${enable_silent_rules+y} 2382111ba1daSmrgthen : 2383111ba1daSmrg enableval=$enable_silent_rules; 2384111ba1daSmrgfi 2385111ba1daSmrg 2386111ba1daSmrgcase $enable_silent_rules in # ((( 2387111ba1daSmrg yes) AM_DEFAULT_VERBOSITY=0;; 2388111ba1daSmrg no) AM_DEFAULT_VERBOSITY=1;; 2389111ba1daSmrg *) AM_DEFAULT_VERBOSITY=1;; 2390111ba1daSmrgesac 2391111ba1daSmrgam_make=${MAKE-make} 2392111ba1daSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2393111ba1daSmrgprintf %s "checking whether $am_make supports nested variables... " >&6; } 2394111ba1daSmrgif test ${am_cv_make_support_nested_variables+y} 2395111ba1daSmrgthen : 2396111ba1daSmrg printf %s "(cached) " >&6 2397111ba1daSmrgelse $as_nop 2398111ba1daSmrg if printf "%s\n" 'TRUE=$(BAR$(V)) 2399111ba1daSmrgBAR0=false 2400111ba1daSmrgBAR1=true 2401111ba1daSmrgV=1 2402111ba1daSmrgam__doit: 2403111ba1daSmrg @$(TRUE) 2404111ba1daSmrg.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2405111ba1daSmrg am_cv_make_support_nested_variables=yes 2406111ba1daSmrgelse 2407111ba1daSmrg am_cv_make_support_nested_variables=no 2408111ba1daSmrgfi 2409111ba1daSmrgfi 2410111ba1daSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2411111ba1daSmrgprintf "%s\n" "$am_cv_make_support_nested_variables" >&6; } 2412111ba1daSmrgif test $am_cv_make_support_nested_variables = yes; then 2413111ba1daSmrg AM_V='$(V)' 2414111ba1daSmrg AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2415111ba1daSmrgelse 2416111ba1daSmrg AM_V=$AM_DEFAULT_VERBOSITY 2417111ba1daSmrg AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2418111ba1daSmrgfi 2419111ba1daSmrgAM_BACKSLASH='\' 2420111ba1daSmrg 24218ff16396Smrgif test "`cd $srcdir && pwd`" != "`pwd`"; then 24228ff16396Smrg # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 24238ff16396Smrg # is not polluted with repeated "-I." 24248ff16396Smrg am__isrc=' -I$(srcdir)' 24258ff16396Smrg # test to see if srcdir already configured 24268ff16396Smrg if test -f $srcdir/config.status; then 2427d5d8cc55Smrg as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 24288ff16396Smrg fi 24290bd0e222Smrgfi 24300bd0e222Smrg 24310bd0e222Smrg# test whether we have cygpath 24320bd0e222Smrgif test -z "$CYGPATH_W"; then 24330bd0e222Smrg if (cygpath --version) >/dev/null 2>/dev/null; then 24340bd0e222Smrg CYGPATH_W='cygpath -w' 24350bd0e222Smrg else 24360bd0e222Smrg CYGPATH_W=echo 24370bd0e222Smrg fi 24380bd0e222Smrgfi 24390bd0e222Smrg 24400bd0e222Smrg 24410bd0e222Smrg# Define the identity of the package. 24420bd0e222Smrg PACKAGE='font-jis-misc' 2443111ba1daSmrg VERSION='1.0.4' 24440bd0e222Smrg 24450bd0e222Smrg 2446111ba1daSmrgprintf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h 24470bd0e222Smrg 24480bd0e222Smrg 2449111ba1daSmrgprintf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h 24500bd0e222Smrg 24510bd0e222Smrg# Some tools Automake needs. 24520bd0e222Smrg 24530bd0e222SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 24540bd0e222Smrg 24550bd0e222Smrg 24560bd0e222SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 24570bd0e222Smrg 24580bd0e222Smrg 24590bd0e222SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 24600bd0e222Smrg 24610bd0e222Smrg 24620bd0e222SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 24630bd0e222Smrg 24640bd0e222Smrg 24650bd0e222SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 24660bd0e222Smrg 2467111ba1daSmrg# For better backward compatibility. To be removed once Automake 1.9.x 2468111ba1daSmrg# dies out for good. For more background, see: 2469111ba1daSmrg# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2470111ba1daSmrg# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2471111ba1daSmrgmkdir_p='$(MKDIR_P)' 24720bd0e222Smrg 2473111ba1daSmrg# We need awk for the "check" target (and possibly the TAP driver). The 2474111ba1daSmrg# system "awk" is bad on some platforms. 2475111ba1daSmrg# Always define AMTAR for backward compatibility. Yes, it's still used 2476111ba1daSmrg# in the wild :-( We should find a proper way to deprecate it ... 2477111ba1daSmrgAMTAR='$${TAR-tar}' 24780bd0e222Smrg 24790bd0e222Smrg 2480111ba1daSmrg# We'll loop over all known methods to create a tar archive until one works. 2481111ba1daSmrg_am_tools='gnutar pax cpio none' 24828ff16396Smrg 2483111ba1daSmrgam__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 24848ff16396Smrg 24858ff16396Smrg 24868ff16396Smrg 24878ff16396Smrg 2488111ba1daSmrg 2489111ba1daSmrg# Variables for tags utilities; see am/tags.am 2490111ba1daSmrgif test -z "$CTAGS"; then 2491111ba1daSmrg CTAGS=ctags 24928ff16396Smrgfi 24938ff16396Smrg 2494111ba1daSmrgif test -z "$ETAGS"; then 2495111ba1daSmrg ETAGS=etags 24968ff16396Smrgfi 24978ff16396Smrg 2498111ba1daSmrgif test -z "$CSCOPE"; then 2499111ba1daSmrg CSCOPE=cscope 2500111ba1daSmrgfi 25018ff16396Smrg 25028ff16396Smrg 25038ff16396Smrg 2504111ba1daSmrg# POSIX will say in a future version that running "rm -f" with no argument 2505111ba1daSmrg# is OK; and we want to be able to make that assumption in our Makefile 2506111ba1daSmrg# recipes. So use an aggressive probe to check that the usage we want is 2507111ba1daSmrg# actually supported "in the wild" to an acceptable degree. 2508111ba1daSmrg# See automake bug#10828. 2509111ba1daSmrg# To make any issue more visible, cause the running configure to be aborted 2510111ba1daSmrg# by default if the 'rm' program in use doesn't match our expectations; the 2511111ba1daSmrg# user can still override this though. 2512111ba1daSmrgif rm -f && rm -fr && rm -rf; then : OK; else 2513111ba1daSmrg cat >&2 <<'END' 2514111ba1daSmrgOops! 25158ff16396Smrg 2516111ba1daSmrgYour 'rm' program seems unable to run without file operands specified 2517111ba1daSmrgon the command line, even when the '-f' option is present. This is contrary 2518111ba1daSmrgto the behaviour of most rm programs out there, and not conforming with 2519111ba1daSmrgthe upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 25208ff16396Smrg 2521111ba1daSmrgPlease tell bug-automake@gnu.org about your system, including the value 2522111ba1daSmrgof your $PATH and any error possibly output before this message. This 2523111ba1daSmrgcan help us improve future automake versions. 25248ff16396Smrg 2525111ba1daSmrgEND 2526111ba1daSmrg if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 2527111ba1daSmrg echo 'Configuration will proceed anyway, since you have set the' >&2 2528111ba1daSmrg echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 2529111ba1daSmrg echo >&2 2530111ba1daSmrg else 2531111ba1daSmrg cat >&2 <<'END' 2532111ba1daSmrgAborting the configuration process, to ensure you take notice of the issue. 25338ff16396Smrg 2534111ba1daSmrgYou can download and install GNU coreutils to get an 'rm' implementation 2535111ba1daSmrgthat behaves properly: <https://www.gnu.org/software/coreutils/>. 25368ff16396Smrg 2537111ba1daSmrgIf you want to complete the configuration process using your problematic 2538111ba1daSmrg'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 2539111ba1daSmrgto "yes", and re-run configure. 25408ff16396Smrg 2541111ba1daSmrgEND 2542111ba1daSmrg as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 2543111ba1daSmrg fi 2544111ba1daSmrgfi 25458ff16396Smrg 25468ff16396Smrg 2547111ba1daSmrg# Require xorg-macros 1.20 or later: XORG_DEFAULT_NOCODE_OPTIONS 25488ff16396Smrg 25498ff16396Smrg 25508ff16396Smrg 25518ff16396Smrg 25528ff16396Smrg 25538ff16396Smrg 25548ff16396Smrg 25558ff16396Smrg 25568ff16396Smrg 25578ff16396Smrg 25588ff16396Smrg 25598ff16396Smrg 25608ff16396Smrg 25618ff16396Smrg 25628ff16396Smrg 25638ff16396Smrg 25648ff16396Smrg 25658ff16396Smrg 2566d5d8cc55Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 2567d5d8cc55Smrg if test -n "$ac_tool_prefix"; then 2568d5d8cc55Smrg # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 2569d5d8cc55Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2 2570111ba1daSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2571111ba1daSmrgprintf %s "checking for $ac_word... " >&6; } 2572111ba1daSmrgif test ${ac_cv_path_PKG_CONFIG+y} 2573111ba1daSmrgthen : 2574111ba1daSmrg printf %s "(cached) " >&6 2575111ba1daSmrgelse $as_nop 2576d5d8cc55Smrg case $PKG_CONFIG in 2577d5d8cc55Smrg [\\/]* | ?:[\\/]*) 2578d5d8cc55Smrg ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 2579d5d8cc55Smrg ;; 2580d5d8cc55Smrg *) 2581d5d8cc55Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2582d5d8cc55Smrgfor as_dir in $PATH 25838ff16396Smrgdo 2584d5d8cc55Smrg IFS=$as_save_IFS 2585111ba1daSmrg case $as_dir in #((( 2586111ba1daSmrg '') as_dir=./ ;; 2587111ba1daSmrg */) ;; 2588111ba1daSmrg *) as_dir=$as_dir/ ;; 2589111ba1daSmrg esac 2590d5d8cc55Smrg for ac_exec_ext in '' $ac_executable_extensions; do 2591111ba1daSmrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2592111ba1daSmrg ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" 2593111ba1daSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2594d5d8cc55Smrg break 2 2595d5d8cc55Smrg fi 2596d5d8cc55Smrgdone 2597d5d8cc55Smrg done 2598d5d8cc55SmrgIFS=$as_save_IFS 2599d5d8cc55Smrg 2600d5d8cc55Smrg ;; 26018ff16396Smrgesac 2602d5d8cc55Smrgfi 2603d5d8cc55SmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG 2604d5d8cc55Smrgif test -n "$PKG_CONFIG"; then 2605111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 2606111ba1daSmrgprintf "%s\n" "$PKG_CONFIG" >&6; } 26078ff16396Smrgelse 2608111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2609111ba1daSmrgprintf "%s\n" "no" >&6; } 26108ff16396Smrgfi 26118ff16396Smrg 26128ff16396Smrg 26138ff16396Smrgfi 2614d5d8cc55Smrgif test -z "$ac_cv_path_PKG_CONFIG"; then 2615d5d8cc55Smrg ac_pt_PKG_CONFIG=$PKG_CONFIG 2616d5d8cc55Smrg # Extract the first word of "pkg-config", so it can be a program name with args. 2617d5d8cc55Smrgset dummy pkg-config; ac_word=$2 2618111ba1daSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2619111ba1daSmrgprintf %s "checking for $ac_word... " >&6; } 2620111ba1daSmrgif test ${ac_cv_path_ac_pt_PKG_CONFIG+y} 2621111ba1daSmrgthen : 2622111ba1daSmrg printf %s "(cached) " >&6 2623111ba1daSmrgelse $as_nop 2624d5d8cc55Smrg case $ac_pt_PKG_CONFIG in 2625d5d8cc55Smrg [\\/]* | ?:[\\/]*) 2626d5d8cc55Smrg ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 2627d5d8cc55Smrg ;; 26288ff16396Smrg *) 2629d5d8cc55Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2630d5d8cc55Smrgfor as_dir in $PATH 2631d5d8cc55Smrgdo 2632d5d8cc55Smrg IFS=$as_save_IFS 2633111ba1daSmrg case $as_dir in #((( 2634111ba1daSmrg '') as_dir=./ ;; 2635111ba1daSmrg */) ;; 2636111ba1daSmrg *) as_dir=$as_dir/ ;; 2637111ba1daSmrg esac 2638d5d8cc55Smrg for ac_exec_ext in '' $ac_executable_extensions; do 2639111ba1daSmrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2640111ba1daSmrg ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" 2641111ba1daSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2642d5d8cc55Smrg break 2 2643d5d8cc55Smrg fi 2644d5d8cc55Smrgdone 2645d5d8cc55Smrg done 2646d5d8cc55SmrgIFS=$as_save_IFS 26478ff16396Smrg 2648d5d8cc55Smrg ;; 2649d5d8cc55Smrgesac 2650d5d8cc55Smrgfi 2651d5d8cc55Smrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 2652d5d8cc55Smrgif test -n "$ac_pt_PKG_CONFIG"; then 2653111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 2654111ba1daSmrgprintf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } 2655d5d8cc55Smrgelse 2656111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2657111ba1daSmrgprintf "%s\n" "no" >&6; } 2658d5d8cc55Smrgfi 26598ff16396Smrg 2660d5d8cc55Smrg if test "x$ac_pt_PKG_CONFIG" = x; then 2661d5d8cc55Smrg PKG_CONFIG="" 2662d5d8cc55Smrg else 2663d5d8cc55Smrg case $cross_compiling:$ac_tool_warned in 2664d5d8cc55Smrgyes:) 2665111ba1daSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2666111ba1daSmrgprintf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2667d5d8cc55Smrgac_tool_warned=yes ;; 2668d5d8cc55Smrgesac 2669d5d8cc55Smrg PKG_CONFIG=$ac_pt_PKG_CONFIG 2670d5d8cc55Smrg fi 2671d5d8cc55Smrgelse 2672d5d8cc55Smrg PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 2673d5d8cc55Smrgfi 26748ff16396Smrg 2675d5d8cc55Smrgfi 2676d5d8cc55Smrgif test -n "$PKG_CONFIG"; then 2677d5d8cc55Smrg _pkg_min_version=0.9.0 2678111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 2679111ba1daSmrgprintf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; } 2680d5d8cc55Smrg if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 2681111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2682111ba1daSmrgprintf "%s\n" "yes" >&6; } 2683d5d8cc55Smrg else 2684111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2685111ba1daSmrgprintf "%s\n" "no" >&6; } 2686d5d8cc55Smrg PKG_CONFIG="" 2687d5d8cc55Smrg fi 2688d5d8cc55Smrgfi 26898ff16396Smrg 2690111ba1daSmrg 2691111ba1daSmrg # Make sure we can run config.sub. 2692111ba1daSmrg$SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 || 2693111ba1daSmrg as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5 2694111ba1daSmrg 2695111ba1daSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2696111ba1daSmrgprintf %s "checking build system type... " >&6; } 2697111ba1daSmrgif test ${ac_cv_build+y} 2698111ba1daSmrgthen : 2699111ba1daSmrg printf %s "(cached) " >&6 2700111ba1daSmrgelse $as_nop 27018ff16396Smrg ac_build_alias=$build_alias 27028ff16396Smrgtest "x$ac_build_alias" = x && 2703111ba1daSmrg ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"` 27048ff16396Smrgtest "x$ac_build_alias" = x && 2705d5d8cc55Smrg as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 2706111ba1daSmrgac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` || 2707111ba1daSmrg as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5 27088ff16396Smrg 27098ff16396Smrgfi 2710111ba1daSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2711111ba1daSmrgprintf "%s\n" "$ac_cv_build" >&6; } 27128ff16396Smrgcase $ac_cv_build in 27138ff16396Smrg*-*-*) ;; 2714d5d8cc55Smrg*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 27158ff16396Smrgesac 27168ff16396Smrgbuild=$ac_cv_build 27178ff16396Smrgac_save_IFS=$IFS; IFS='-' 27188ff16396Smrgset x $ac_cv_build 27198ff16396Smrgshift 27208ff16396Smrgbuild_cpu=$1 27218ff16396Smrgbuild_vendor=$2 27228ff16396Smrgshift; shift 27238ff16396Smrg# Remember, the first character of IFS is used to create $*, 27248ff16396Smrg# except with old shells: 27258ff16396Smrgbuild_os=$* 27268ff16396SmrgIFS=$ac_save_IFS 27278ff16396Smrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 27288ff16396Smrg 27298ff16396Smrg 2730111ba1daSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2731111ba1daSmrgprintf %s "checking host system type... " >&6; } 2732111ba1daSmrgif test ${ac_cv_host+y} 2733111ba1daSmrgthen : 2734111ba1daSmrg printf %s "(cached) " >&6 2735111ba1daSmrgelse $as_nop 27368ff16396Smrg if test "x$host_alias" = x; then 27378ff16396Smrg ac_cv_host=$ac_cv_build 27388ff16396Smrgelse 2739111ba1daSmrg ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` || 2740111ba1daSmrg as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5 27418ff16396Smrgfi 27428ff16396Smrg 27438ff16396Smrgfi 2744111ba1daSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2745111ba1daSmrgprintf "%s\n" "$ac_cv_host" >&6; } 27468ff16396Smrgcase $ac_cv_host in 27478ff16396Smrg*-*-*) ;; 2748d5d8cc55Smrg*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 27498ff16396Smrgesac 27508ff16396Smrghost=$ac_cv_host 27518ff16396Smrgac_save_IFS=$IFS; IFS='-' 27528ff16396Smrgset x $ac_cv_host 27538ff16396Smrgshift 27548ff16396Smrghost_cpu=$1 27558ff16396Smrghost_vendor=$2 27568ff16396Smrgshift; shift 27578ff16396Smrg# Remember, the first character of IFS is used to create $*, 27588ff16396Smrg# except with old shells: 27598ff16396Smrghost_os=$* 27608ff16396SmrgIFS=$ac_save_IFS 27618ff16396Smrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 27628ff16396Smrg 27638ff16396Smrg 2764111ba1daSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 2765111ba1daSmrgprintf %s "checking for a sed that does not truncate output... " >&6; } 2766111ba1daSmrgif test ${ac_cv_path_SED+y} 2767111ba1daSmrgthen : 2768111ba1daSmrg printf %s "(cached) " >&6 2769111ba1daSmrgelse $as_nop 2770d5d8cc55Smrg ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 2771d5d8cc55Smrg for ac_i in 1 2 3 4 5 6 7; do 2772d5d8cc55Smrg ac_script="$ac_script$as_nl$ac_script" 2773d5d8cc55Smrg done 2774d5d8cc55Smrg echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 2775d5d8cc55Smrg { ac_script=; unset ac_script;} 2776d5d8cc55Smrg if test -z "$SED"; then 2777d5d8cc55Smrg ac_path_SED_found=false 2778d5d8cc55Smrg # Loop through the user's path and test for each of PROGNAME-LIST 2779d5d8cc55Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2780d5d8cc55Smrgfor as_dir in $PATH 2781d5d8cc55Smrgdo 2782d5d8cc55Smrg IFS=$as_save_IFS 2783111ba1daSmrg case $as_dir in #((( 2784111ba1daSmrg '') as_dir=./ ;; 2785111ba1daSmrg */) ;; 2786111ba1daSmrg *) as_dir=$as_dir/ ;; 2787111ba1daSmrg esac 2788111ba1daSmrg for ac_prog in sed gsed 2789111ba1daSmrg do 2790d5d8cc55Smrg for ac_exec_ext in '' $ac_executable_extensions; do 2791111ba1daSmrg ac_path_SED="$as_dir$ac_prog$ac_exec_ext" 2792111ba1daSmrg as_fn_executable_p "$ac_path_SED" || continue 2793d5d8cc55Smrg# Check for GNU ac_path_SED and select it if it is found. 2794d5d8cc55Smrg # Check for GNU $ac_path_SED 2795d5d8cc55Smrgcase `"$ac_path_SED" --version 2>&1` in 2796d5d8cc55Smrg*GNU*) 2797d5d8cc55Smrg ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 2798d5d8cc55Smrg*) 2799d5d8cc55Smrg ac_count=0 2800111ba1daSmrg printf %s 0123456789 >"conftest.in" 2801d5d8cc55Smrg while : 2802d5d8cc55Smrg do 2803d5d8cc55Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 2804d5d8cc55Smrg mv "conftest.tmp" "conftest.in" 2805d5d8cc55Smrg cp "conftest.in" "conftest.nl" 2806111ba1daSmrg printf "%s\n" '' >> "conftest.nl" 2807d5d8cc55Smrg "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 2808d5d8cc55Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 2809d5d8cc55Smrg as_fn_arith $ac_count + 1 && ac_count=$as_val 2810d5d8cc55Smrg if test $ac_count -gt ${ac_path_SED_max-0}; then 2811d5d8cc55Smrg # Best one so far, save it but keep looking for a better one 2812d5d8cc55Smrg ac_cv_path_SED="$ac_path_SED" 2813d5d8cc55Smrg ac_path_SED_max=$ac_count 2814d5d8cc55Smrg fi 2815d5d8cc55Smrg # 10*(2^10) chars as input seems more than enough 2816d5d8cc55Smrg test $ac_count -gt 10 && break 2817d5d8cc55Smrg done 2818d5d8cc55Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 2819d5d8cc55Smrgesac 2820d5d8cc55Smrg 2821d5d8cc55Smrg $ac_path_SED_found && break 3 2822d5d8cc55Smrg done 2823d5d8cc55Smrg done 2824d5d8cc55Smrg done 2825d5d8cc55SmrgIFS=$as_save_IFS 2826d5d8cc55Smrg if test -z "$ac_cv_path_SED"; then 2827d5d8cc55Smrg as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 2828d5d8cc55Smrg fi 2829d5d8cc55Smrgelse 2830d5d8cc55Smrg ac_cv_path_SED=$SED 2831d5d8cc55Smrgfi 2832d5d8cc55Smrg 2833d5d8cc55Smrgfi 2834111ba1daSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 2835111ba1daSmrgprintf "%s\n" "$ac_cv_path_SED" >&6; } 2836d5d8cc55Smrg SED="$ac_cv_path_SED" 2837d5d8cc55Smrg rm -f conftest.sed 2838d5d8cc55Smrg 2839d5d8cc55Smrg 28408ff16396Smrg 28418ff16396Smrg 28428ff16396Smrg 28438ff16396Smrgcat >>confdefs.h <<_ACEOF 28448ff16396Smrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 28458ff16396Smrg_ACEOF 28468ff16396Smrg 28478ff16396Smrg PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 28488ff16396Smrg if test "x$PVM" = "x"; then 28498ff16396Smrg PVM="0" 28508ff16396Smrg fi 28518ff16396Smrg 2852111ba1daSmrgprintf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h 28538ff16396Smrg 28548ff16396Smrg PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 28558ff16396Smrg if test "x$PVP" = "x"; then 28568ff16396Smrg PVP="0" 28578ff16396Smrg fi 28588ff16396Smrg 2859111ba1daSmrgprintf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h 28608ff16396Smrg 28618ff16396Smrg 28628ff16396Smrg 2863111ba1daSmrgCHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \ 2864d5d8cc55Smrgmv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \ 2865111ba1daSmrg|| (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \ 2866111ba1daSmrgtouch \$(top_srcdir)/ChangeLog; \ 2867111ba1daSmrgecho 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))" 28688ff16396Smrg 2869d5d8cc55Smrg 2870d5d8cc55Smrg 2871d5d8cc55Smrg 2872d5d8cc55Smrgmacros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros` 2873d5d8cc55SmrgINSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \ 2874d5d8cc55Smrgmv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \ 2875111ba1daSmrg|| (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \ 2876111ba1daSmrgtouch \$(top_srcdir)/INSTALL; \ 2877111ba1daSmrgecho 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))" 2878d5d8cc55Smrg 28798ff16396Smrg 28808ff16396Smrg 28818ff16396Smrg 28828ff16396Smrg 28838ff16396Smrg 2884111ba1daSmrgcase $host_os in 2885111ba1daSmrg solaris*) 2886111ba1daSmrg # Solaris 2.0 - 11.3 use SysV man page section numbers, so we 2887111ba1daSmrg # check for a man page file found in later versions that use 2888111ba1daSmrg # traditional section numbers instead 2889111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5 2890111ba1daSmrgprintf %s "checking for /usr/share/man/man7/attributes.7... " >&6; } 2891111ba1daSmrgif test ${ac_cv_file__usr_share_man_man7_attributes_7+y} 2892111ba1daSmrgthen : 2893111ba1daSmrg printf %s "(cached) " >&6 2894111ba1daSmrgelse $as_nop 2895111ba1daSmrg test "$cross_compiling" = yes && 2896111ba1daSmrg as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 2897111ba1daSmrgif test -r "/usr/share/man/man7/attributes.7"; then 2898111ba1daSmrg ac_cv_file__usr_share_man_man7_attributes_7=yes 2899111ba1daSmrgelse 2900111ba1daSmrg ac_cv_file__usr_share_man_man7_attributes_7=no 2901111ba1daSmrgfi 2902111ba1daSmrgfi 2903111ba1daSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5 2904111ba1daSmrgprintf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; } 2905111ba1daSmrgif test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes 2906111ba1daSmrgthen : 2907111ba1daSmrg SYSV_MAN_SECTIONS=false 2908111ba1daSmrgelse $as_nop 2909111ba1daSmrg SYSV_MAN_SECTIONS=true 2910111ba1daSmrgfi 2911111ba1daSmrg 2912111ba1daSmrg ;; 2913111ba1daSmrg *) SYSV_MAN_SECTIONS=false ;; 2914111ba1daSmrgesac 2915111ba1daSmrg 29168ff16396Smrgif test x$APP_MAN_SUFFIX = x ; then 29178ff16396Smrg APP_MAN_SUFFIX=1 29188ff16396Smrgfi 29198ff16396Smrgif test x$APP_MAN_DIR = x ; then 29208ff16396Smrg APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 29210bd0e222Smrgfi 29220bd0e222Smrg 29238ff16396Smrgif test x$LIB_MAN_SUFFIX = x ; then 29248ff16396Smrg LIB_MAN_SUFFIX=3 29258ff16396Smrgfi 29268ff16396Smrgif test x$LIB_MAN_DIR = x ; then 29278ff16396Smrg LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 29288ff16396Smrgfi 29298ff16396Smrg 29308ff16396Smrgif test x$FILE_MAN_SUFFIX = x ; then 2931111ba1daSmrg case $SYSV_MAN_SECTIONS in 2932111ba1daSmrg true) FILE_MAN_SUFFIX=4 ;; 2933111ba1daSmrg *) FILE_MAN_SUFFIX=5 ;; 29348ff16396Smrg esac 29358ff16396Smrgfi 29368ff16396Smrgif test x$FILE_MAN_DIR = x ; then 29378ff16396Smrg FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 29388ff16396Smrgfi 29398ff16396Smrg 29408ff16396Smrgif test x$MISC_MAN_SUFFIX = x ; then 2941111ba1daSmrg case $SYSV_MAN_SECTIONS in 2942111ba1daSmrg true) MISC_MAN_SUFFIX=5 ;; 2943111ba1daSmrg *) MISC_MAN_SUFFIX=7 ;; 29448ff16396Smrg esac 29458ff16396Smrgfi 29468ff16396Smrgif test x$MISC_MAN_DIR = x ; then 29478ff16396Smrg MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 29488ff16396Smrgfi 29498ff16396Smrg 29508ff16396Smrgif test x$DRIVER_MAN_SUFFIX = x ; then 2951111ba1daSmrg case $SYSV_MAN_SECTIONS in 2952111ba1daSmrg true) DRIVER_MAN_SUFFIX=7 ;; 2953111ba1daSmrg *) DRIVER_MAN_SUFFIX=4 ;; 29548ff16396Smrg esac 29558ff16396Smrgfi 29568ff16396Smrgif test x$DRIVER_MAN_DIR = x ; then 29578ff16396Smrg DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 29588ff16396Smrgfi 29598ff16396Smrg 29608ff16396Smrgif test x$ADMIN_MAN_SUFFIX = x ; then 2961111ba1daSmrg case $SYSV_MAN_SECTIONS in 2962111ba1daSmrg true) ADMIN_MAN_SUFFIX=1m ;; 2963111ba1daSmrg *) ADMIN_MAN_SUFFIX=8 ;; 29648ff16396Smrg esac 29658ff16396Smrgfi 29668ff16396Smrgif test x$ADMIN_MAN_DIR = x ; then 29678ff16396Smrg ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 29688ff16396Smrgfi 29698ff16396Smrg 29708ff16396Smrg 29718ff16396Smrg 29728ff16396Smrg 29738ff16396Smrg 29748ff16396Smrg 29758ff16396Smrg 29768ff16396Smrg 29778ff16396Smrg 29788ff16396Smrg 29798ff16396Smrg 29808ff16396Smrg 29818ff16396Smrg 29828ff16396Smrg 29830bd0e222Smrg 2984d5d8cc55SmrgXORG_MAN_PAGE="X Version 11" 29850bd0e222Smrg 2986d5d8cc55SmrgMAN_SUBSTS="\ 2987d5d8cc55Smrg -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 2988d5d8cc55Smrg -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 2989d5d8cc55Smrg -e 's|__xservername__|Xorg|g' \ 2990d5d8cc55Smrg -e 's|__xconfigfile__|xorg.conf|g' \ 2991d5d8cc55Smrg -e 's|__projectroot__|\$(prefix)|g' \ 2992d5d8cc55Smrg -e 's|__apploaddir__|\$(appdefaultdir)|g' \ 2993d5d8cc55Smrg -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \ 2994d5d8cc55Smrg -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \ 2995d5d8cc55Smrg -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \ 2996d5d8cc55Smrg -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \ 2997d5d8cc55Smrg -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \ 2998d5d8cc55Smrg -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'" 29990bd0e222Smrg 30000bd0e222Smrg 30010bd0e222Smrg 3002d5d8cc55Smrg# Check whether --enable-silent-rules was given. 3003111ba1daSmrgif test ${enable_silent_rules+y} 3004111ba1daSmrgthen : 3005d5d8cc55Smrg enableval=$enable_silent_rules; 30060bd0e222Smrgfi 30078ff16396Smrg 3008111ba1daSmrgcase $enable_silent_rules in # ((( 3009111ba1daSmrg yes) AM_DEFAULT_VERBOSITY=0;; 3010111ba1daSmrg no) AM_DEFAULT_VERBOSITY=1;; 3011111ba1daSmrg *) AM_DEFAULT_VERBOSITY=0;; 3012d5d8cc55Smrgesac 3013111ba1daSmrgam_make=${MAKE-make} 3014111ba1daSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3015111ba1daSmrgprintf %s "checking whether $am_make supports nested variables... " >&6; } 3016111ba1daSmrgif test ${am_cv_make_support_nested_variables+y} 3017111ba1daSmrgthen : 3018111ba1daSmrg printf %s "(cached) " >&6 3019111ba1daSmrgelse $as_nop 3020111ba1daSmrg if printf "%s\n" 'TRUE=$(BAR$(V)) 3021111ba1daSmrgBAR0=false 3022111ba1daSmrgBAR1=true 3023111ba1daSmrgV=1 3024111ba1daSmrgam__doit: 3025111ba1daSmrg @$(TRUE) 3026111ba1daSmrg.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3027111ba1daSmrg am_cv_make_support_nested_variables=yes 3028111ba1daSmrgelse 3029111ba1daSmrg am_cv_make_support_nested_variables=no 3030111ba1daSmrgfi 3031111ba1daSmrgfi 3032111ba1daSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3033111ba1daSmrgprintf "%s\n" "$am_cv_make_support_nested_variables" >&6; } 3034111ba1daSmrgif test $am_cv_make_support_nested_variables = yes; then 3035111ba1daSmrg AM_V='$(V)' 3036111ba1daSmrg AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3037111ba1daSmrgelse 3038111ba1daSmrg AM_V=$AM_DEFAULT_VERBOSITY 3039111ba1daSmrg AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3040111ba1daSmrgfi 3041d5d8cc55SmrgAM_BACKSLASH='\' 3042d5d8cc55Smrg 3043d5d8cc55Smrg 3044d5d8cc55Smrg 3045111ba1daSmrg# Require X.Org's font util macros 1.4 or later for COMPRESS_FLAGS 30468ff16396Smrg 30478ff16396Smrg 30488ff16396Smrg 30490bd0e222Smrg 30500bd0e222Smrg 30518ff16396Smrg 30520bd0e222Smrg 30538ff16396Smrg 30548ff16396Smrg 30558ff16396Smrg 30568ff16396Smrg 30578ff16396Smrg 30588ff16396Smrg 3059d5d8cc55Smrg 3060d5d8cc55Smrg 3061111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for root directory for font files" >&5 3062111ba1daSmrgprintf %s "checking for root directory for font files... " >&6; } 30638ff16396Smrg 30648ff16396Smrg# Check whether --with-fontrootdir was given. 3065111ba1daSmrgif test ${with_fontrootdir+y} 3066111ba1daSmrgthen : 30678ff16396Smrg withval=$with_fontrootdir; FONTROOTDIR="$withval" 30688ff16396Smrgfi 30698ff16396Smrg 30708ff16396Smrg # if --with-fontrootdir not specified... 30718ff16396Smrg if test "x${FONTROOTDIR}" = "x"; then 30728ff16396Smrg FONTROOTDIR=`$PKG_CONFIG --variable=fontrootdir fontutil` 30738ff16396Smrg fi 30748ff16396Smrg # ...and if pkg-config didn't find fontdir in fontutil.pc... 30758ff16396Smrg if test "x${FONTROOTDIR}" = "x"; then 30768ff16396Smrg FONTROOTDIR="${datadir}/fonts/X11" 30778ff16396Smrg fi 30788ff16396Smrg 3079111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${FONTROOTDIR}" >&5 3080111ba1daSmrgprintf "%s\n" "${FONTROOTDIR}" >&6; } 30818ff16396Smrg 30828ff16396Smrg 30838ff16396Smrg 30848ff16396Smrg 3085111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for directory for misc files" >&5 3086111ba1daSmrgprintf %s "checking for directory for misc files... " >&6; } 30878ff16396Smrg 30888ff16396Smrg# Check whether --with-fontdir was given. 3089111ba1daSmrgif test ${with_fontdir+y} 3090111ba1daSmrgthen : 30918ff16396Smrg withval=$with_fontdir; FONTDIR="${withval}" 3092111ba1daSmrgelse $as_nop 30938ff16396Smrg FONTDIR='${FONTROOTDIR}/misc' 30948ff16396Smrgfi 30958ff16396Smrg 30968ff16396Smrg 3097111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${FONTDIR}" >&5 3098111ba1daSmrgprintf "%s\n" "${FONTDIR}" >&6; } 30998ff16396Smrg 31000bd0e222Smrg 31018ff16396Smrg 31028ff16396Smrg 31038ff16396Smrg # Extract the first word of "fc-cache", so it can be a program name with args. 31048ff16396Smrgset dummy fc-cache; ac_word=$2 3105111ba1daSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3106111ba1daSmrgprintf %s "checking for $ac_word... " >&6; } 3107111ba1daSmrgif test ${ac_cv_path_FCCACHE+y} 3108111ba1daSmrgthen : 3109111ba1daSmrg printf %s "(cached) " >&6 3110111ba1daSmrgelse $as_nop 31118ff16396Smrg case $FCCACHE in 31128ff16396Smrg [\\/]* | ?:[\\/]*) 31138ff16396Smrg ac_cv_path_FCCACHE="$FCCACHE" # Let the user override the test with a path. 31148ff16396Smrg ;; 31158ff16396Smrg *) 31168ff16396Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 31178ff16396Smrgfor as_dir in $PATH 31188ff16396Smrgdo 31198ff16396Smrg IFS=$as_save_IFS 3120111ba1daSmrg case $as_dir in #((( 3121111ba1daSmrg '') as_dir=./ ;; 3122111ba1daSmrg */) ;; 3123111ba1daSmrg *) as_dir=$as_dir/ ;; 3124111ba1daSmrg esac 3125d5d8cc55Smrg for ac_exec_ext in '' $ac_executable_extensions; do 3126111ba1daSmrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3127111ba1daSmrg ac_cv_path_FCCACHE="$as_dir$ac_word$ac_exec_ext" 3128111ba1daSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 31298ff16396Smrg break 2 31308ff16396Smrg fi 31318ff16396Smrgdone 3132d5d8cc55Smrg done 31338ff16396SmrgIFS=$as_save_IFS 31348ff16396Smrg 31358ff16396Smrg ;; 31368ff16396Smrgesac 31378ff16396Smrgfi 31388ff16396SmrgFCCACHE=$ac_cv_path_FCCACHE 31398ff16396Smrgif test -n "$FCCACHE"; then 3140111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FCCACHE" >&5 3141111ba1daSmrgprintf "%s\n" "$FCCACHE" >&6; } 31420bd0e222Smrgelse 3143111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3144111ba1daSmrgprintf "%s\n" "no" >&6; } 31450bd0e222Smrgfi 31460bd0e222Smrg 31478ff16396Smrg 31488ff16396Smrg FCCACHE_WARN='echo "** Warning: fonts.cache not built" ; echo "** Generate this file manually on host system using fc-cache"' 3149111ba1daSmrg if test x"$FCCACHE" = x || test x"$cross_compiling" != x"no" ; then 31508ff16396Smrg RUN_FCCACHE="${FCCACHE_WARN}" 31518ff16396Smrg else 31528ff16396Smrg RUN_FCCACHE='@(if test -z "$(DESTDIR)"; then echo $(FCCACHE) $(fontdir); $(FCCACHE) $(fontdir); else' 31538ff16396Smrg RUN_FCCACHE="${RUN_FCCACHE} ${FCCACHE_WARN} ; fi)" 31548ff16396Smrg fi 31558ff16396Smrg 31568ff16396Smrg 31578ff16396Smrg 3158111ba1daSmrg if test x"$cross_compiling" != x"no" ; then 3159111ba1daSmrg # Extract the first word of "mkfontdir", so it can be a program name with args. 31600bd0e222Smrgset dummy mkfontdir; ac_word=$2 3161111ba1daSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3162111ba1daSmrgprintf %s "checking for $ac_word... " >&6; } 3163111ba1daSmrgif test ${ac_cv_path_MKFONTDIR+y} 3164111ba1daSmrgthen : 3165111ba1daSmrg printf %s "(cached) " >&6 3166111ba1daSmrgelse $as_nop 3167111ba1daSmrg case $MKFONTDIR in 3168111ba1daSmrg [\\/]* | ?:[\\/]*) 3169111ba1daSmrg ac_cv_path_MKFONTDIR="$MKFONTDIR" # Let the user override the test with a path. 3170111ba1daSmrg ;; 3171111ba1daSmrg *) 3172111ba1daSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3173111ba1daSmrgfor as_dir in $PATH 3174111ba1daSmrgdo 3175111ba1daSmrg IFS=$as_save_IFS 3176111ba1daSmrg case $as_dir in #((( 3177111ba1daSmrg '') as_dir=./ ;; 3178111ba1daSmrg */) ;; 3179111ba1daSmrg *) as_dir=$as_dir/ ;; 3180111ba1daSmrg esac 3181111ba1daSmrg for ac_exec_ext in '' $ac_executable_extensions; do 3182111ba1daSmrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3183111ba1daSmrg ac_cv_path_MKFONTDIR="$as_dir$ac_word$ac_exec_ext" 3184111ba1daSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3185111ba1daSmrg break 2 3186111ba1daSmrg fi 3187111ba1daSmrgdone 3188111ba1daSmrg done 3189111ba1daSmrgIFS=$as_save_IFS 3190111ba1daSmrg 3191111ba1daSmrg test -z "$ac_cv_path_MKFONTDIR" && ac_cv_path_MKFONTDIR="""" 3192111ba1daSmrg ;; 3193111ba1daSmrgesac 3194111ba1daSmrgfi 3195111ba1daSmrgMKFONTDIR=$ac_cv_path_MKFONTDIR 3196111ba1daSmrgif test -n "$MKFONTDIR"; then 3197111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKFONTDIR" >&5 3198111ba1daSmrgprintf "%s\n" "$MKFONTDIR" >&6; } 31990bd0e222Smrgelse 3200111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3201111ba1daSmrgprintf "%s\n" "no" >&6; } 3202111ba1daSmrgfi 3203111ba1daSmrg 3204111ba1daSmrg 3205111ba1daSmrg MKFONTDIR_WARN='echo "** Warning: mkfontdir not run" ; echo "** Run mkfontdir manually on host system"' 3206111ba1daSmrg 3207111ba1daSmrg if test x"$MKFONTDIR" = x; then 3208111ba1daSmrg MKFONTDIR="${MKFONTDIR_WARN} ; echo '** mkfontdir'" 3209111ba1daSmrg fi 3210111ba1daSmrg else 3211111ba1daSmrg 3212111ba1daSmrg # Extract the first word of "mkfontdir", so it can be a program name with args. 3213111ba1daSmrgset dummy mkfontdir; ac_word=$2 3214111ba1daSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3215111ba1daSmrgprintf %s "checking for $ac_word... " >&6; } 3216111ba1daSmrgif test ${ac_cv_path_MKFONTDIR+y} 3217111ba1daSmrgthen : 3218111ba1daSmrg printf %s "(cached) " >&6 3219111ba1daSmrgelse $as_nop 32200bd0e222Smrg case $MKFONTDIR in 32210bd0e222Smrg [\\/]* | ?:[\\/]*) 32220bd0e222Smrg ac_cv_path_MKFONTDIR="$MKFONTDIR" # Let the user override the test with a path. 32230bd0e222Smrg ;; 32240bd0e222Smrg *) 32250bd0e222Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 32260bd0e222Smrgfor as_dir in $PATH 32270bd0e222Smrgdo 32280bd0e222Smrg IFS=$as_save_IFS 3229111ba1daSmrg case $as_dir in #((( 3230111ba1daSmrg '') as_dir=./ ;; 3231111ba1daSmrg */) ;; 3232111ba1daSmrg *) as_dir=$as_dir/ ;; 3233111ba1daSmrg esac 3234d5d8cc55Smrg for ac_exec_ext in '' $ac_executable_extensions; do 3235111ba1daSmrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3236111ba1daSmrg ac_cv_path_MKFONTDIR="$as_dir$ac_word$ac_exec_ext" 3237111ba1daSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 32380bd0e222Smrg break 2 32390bd0e222Smrg fi 32400bd0e222Smrgdone 3241d5d8cc55Smrg done 32428ff16396SmrgIFS=$as_save_IFS 32430bd0e222Smrg 32440bd0e222Smrg ;; 32450bd0e222Smrgesac 32460bd0e222Smrgfi 32470bd0e222SmrgMKFONTDIR=$ac_cv_path_MKFONTDIR 32480bd0e222Smrgif test -n "$MKFONTDIR"; then 3249111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKFONTDIR" >&5 3250111ba1daSmrgprintf "%s\n" "$MKFONTDIR" >&6; } 32510bd0e222Smrgelse 3252111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3253111ba1daSmrgprintf "%s\n" "no" >&6; } 32540bd0e222Smrgfi 32550bd0e222Smrg 32560bd0e222Smrg 3257d5d8cc55Smrg if test x"$MKFONTDIR" = x; then 3258d5d8cc55Smrg as_fn_error $? "mkfontdir is required to build $PACKAGE_NAME." "$LINENO" 5 32598ff16396Smrg fi 32600bd0e222Smrg 3261111ba1daSmrg fi 3262111ba1daSmrg 3263111ba1daSmrg 3264111ba1daSmrg 32650bd0e222Smrg 32660bd0e222Smrg 32678ff16396Smrg # Extract the first word of "bdftopcf", so it can be a program name with args. 32688ff16396Smrgset dummy bdftopcf; ac_word=$2 3269111ba1daSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3270111ba1daSmrgprintf %s "checking for $ac_word... " >&6; } 3271111ba1daSmrgif test ${ac_cv_path_BDFTOPCF+y} 3272111ba1daSmrgthen : 3273111ba1daSmrg printf %s "(cached) " >&6 3274111ba1daSmrgelse $as_nop 32758ff16396Smrg case $BDFTOPCF in 32768ff16396Smrg [\\/]* | ?:[\\/]*) 32778ff16396Smrg ac_cv_path_BDFTOPCF="$BDFTOPCF" # Let the user override the test with a path. 32788ff16396Smrg ;; 32798ff16396Smrg *) 32808ff16396Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 32818ff16396Smrgfor as_dir in $PATH 32828ff16396Smrgdo 32838ff16396Smrg IFS=$as_save_IFS 3284111ba1daSmrg case $as_dir in #((( 3285111ba1daSmrg '') as_dir=./ ;; 3286111ba1daSmrg */) ;; 3287111ba1daSmrg *) as_dir=$as_dir/ ;; 3288111ba1daSmrg esac 3289d5d8cc55Smrg for ac_exec_ext in '' $ac_executable_extensions; do 3290111ba1daSmrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3291111ba1daSmrg ac_cv_path_BDFTOPCF="$as_dir$ac_word$ac_exec_ext" 3292111ba1daSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 32938ff16396Smrg break 2 32948ff16396Smrg fi 32958ff16396Smrgdone 3296d5d8cc55Smrg done 32978ff16396SmrgIFS=$as_save_IFS 32988ff16396Smrg 32998ff16396Smrg ;; 33008ff16396Smrgesac 33018ff16396Smrgfi 33028ff16396SmrgBDFTOPCF=$ac_cv_path_BDFTOPCF 33038ff16396Smrgif test -n "$BDFTOPCF"; then 3304111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BDFTOPCF" >&5 3305111ba1daSmrgprintf "%s\n" "$BDFTOPCF" >&6; } 33060bd0e222Smrgelse 3307111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3308111ba1daSmrgprintf "%s\n" "no" >&6; } 33098ff16396Smrgfi 33108ff16396Smrg 33110bd0e222Smrg 3312d5d8cc55Smrg if test x"$BDFTOPCF" = x; then 3313d5d8cc55Smrg as_fn_error $? "bdftopcf is required to build $PACKAGE_NAME." "$LINENO" 5 33148ff16396Smrg fi 33150bd0e222Smrg 33160bd0e222Smrg 3317111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking font compression method" >&5 3318111ba1daSmrgprintf %s "checking font compression method... " >&6; } 33190bd0e222Smrg 33208ff16396Smrg# Check whether --with-compression was given. 3321111ba1daSmrgif test ${with_compression+y} 3322111ba1daSmrgthen : 33238ff16396Smrg withval=$with_compression; compression="$withval" 3324111ba1daSmrgelse $as_nop 33258ff16396Smrg compression="yes" 33268ff16396Smrgfi 33278ff16396Smrg 33288ff16396Smrg if test x"$compression" = "xyes" ; then 33298ff16396Smrg compression="gzip" 33308ff16396Smrg fi 3331111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${compression}" >&5 3332111ba1daSmrgprintf "%s\n" "${compression}" >&6; } 33338ff16396Smrg case ${compression} in 33348ff16396Smrg *compress) COMPRESS_SUFFIX=".Z" ;; 3335111ba1daSmrg *gzip) COMPRESS_SUFFIX=".gz" ; 3336111ba1daSmrg COMPRESS_FLAGS="${COMPRESS_FLAGS--n}" ;; 33378ff16396Smrg *bzip2) COMPRESS_SUFFIX=".bz2" ;; 33388ff16396Smrg no|none) COMPRESS_SUFFIX="" ; COMPRESS="cat" ;; 3339d5d8cc55Smrg *) as_fn_error $? "${compression} is not a supported compression method" "$LINENO" 5 ;; 33408ff16396Smrg esac 33418ff16396Smrg if test x"$COMPRESS_SUFFIX" != "x" ; then 33428ff16396Smrg 33438ff16396Smrg # Extract the first word of "${compression}", so it can be a program name with args. 33448ff16396Smrgset dummy ${compression}; ac_word=$2 3345111ba1daSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3346111ba1daSmrgprintf %s "checking for $ac_word... " >&6; } 3347111ba1daSmrgif test ${ac_cv_path_COMPRESS+y} 3348111ba1daSmrgthen : 3349111ba1daSmrg printf %s "(cached) " >&6 3350111ba1daSmrgelse $as_nop 33518ff16396Smrg case $COMPRESS in 33528ff16396Smrg [\\/]* | ?:[\\/]*) 33538ff16396Smrg ac_cv_path_COMPRESS="$COMPRESS" # Let the user override the test with a path. 33548ff16396Smrg ;; 33558ff16396Smrg *) 33568ff16396Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 33578ff16396Smrgfor as_dir in $PATH 33588ff16396Smrgdo 33598ff16396Smrg IFS=$as_save_IFS 3360111ba1daSmrg case $as_dir in #((( 3361111ba1daSmrg '') as_dir=./ ;; 3362111ba1daSmrg */) ;; 3363111ba1daSmrg *) as_dir=$as_dir/ ;; 3364111ba1daSmrg esac 3365d5d8cc55Smrg for ac_exec_ext in '' $ac_executable_extensions; do 3366111ba1daSmrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3367111ba1daSmrg ac_cv_path_COMPRESS="$as_dir$ac_word$ac_exec_ext" 3368111ba1daSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 33698ff16396Smrg break 2 33708ff16396Smrg fi 33718ff16396Smrgdone 3372d5d8cc55Smrg done 33738ff16396SmrgIFS=$as_save_IFS 33748ff16396Smrg 33758ff16396Smrg ;; 33768ff16396Smrgesac 33778ff16396Smrgfi 33788ff16396SmrgCOMPRESS=$ac_cv_path_COMPRESS 33798ff16396Smrgif test -n "$COMPRESS"; then 3380111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $COMPRESS" >&5 3381111ba1daSmrgprintf "%s\n" "$COMPRESS" >&6; } 33828ff16396Smrgelse 3383111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3384111ba1daSmrgprintf "%s\n" "no" >&6; } 33858ff16396Smrgfi 33868ff16396Smrg 33878ff16396Smrg 3388d5d8cc55Smrg if test x"$COMPRESS" = x; then 3389d5d8cc55Smrg as_fn_error $? "${compression} is required to build $PACKAGE_NAME." "$LINENO" 5 33908ff16396Smrg fi 33918ff16396Smrg 33920bd0e222Smrg fi 3393111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking options to font compression command" >&5 3394111ba1daSmrgprintf %s "checking options to font compression command... " >&6; } 3395111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${COMPRESS_FLAGS:-none}" >&5 3396111ba1daSmrgprintf "%s\n" "${COMPRESS_FLAGS:-none}" >&6; } 3397111ba1daSmrg 33980bd0e222Smrg 33990bd0e222Smrg 34008ff16396Smrg 34018ff16396Smrg 34028ff16396Smrgac_config_files="$ac_config_files Makefile" 34038ff16396Smrg 34040bd0e222Smrgcat >confcache <<\_ACEOF 34050bd0e222Smrg# This file is a shell script that caches the results of configure 34060bd0e222Smrg# tests run on this system so they can be shared between configure 34070bd0e222Smrg# scripts and configure runs, see configure's option --config-cache. 34080bd0e222Smrg# It is not useful on other systems. If it contains results you don't 34090bd0e222Smrg# want to keep, you may remove or edit it. 34100bd0e222Smrg# 34110bd0e222Smrg# config.status only pays attention to the cache file if you give it 34120bd0e222Smrg# the --recheck option to rerun configure. 34130bd0e222Smrg# 34140bd0e222Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when 34150bd0e222Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the 34160bd0e222Smrg# following values. 34170bd0e222Smrg 34180bd0e222Smrg_ACEOF 34190bd0e222Smrg 34200bd0e222Smrg# The following way of writing the cache mishandles newlines in values, 34210bd0e222Smrg# but we know of no workaround that is simple, portable, and efficient. 34228ff16396Smrg# So, we kill variables containing newlines. 34230bd0e222Smrg# Ultrix sh set writes to stderr and can't be redirected directly, 34240bd0e222Smrg# and sets the high bit in the cache file unless we assign to the vars. 34258ff16396Smrg( 34268ff16396Smrg for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 34278ff16396Smrg eval ac_val=\$$ac_var 34288ff16396Smrg case $ac_val in #( 34298ff16396Smrg *${as_nl}*) 34308ff16396Smrg case $ac_var in #( 3431111ba1daSmrg *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 3432111ba1daSmrgprintf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 34338ff16396Smrg esac 34348ff16396Smrg case $ac_var in #( 34358ff16396Smrg _ | IFS | as_nl) ;; #( 34368ff16396Smrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 3437d5d8cc55Smrg *) { eval $ac_var=; unset $ac_var;} ;; 34388ff16396Smrg esac ;; 34398ff16396Smrg esac 34408ff16396Smrg done 34418ff16396Smrg 34420bd0e222Smrg (set) 2>&1 | 34438ff16396Smrg case $as_nl`(ac_space=' '; set) 2>&1` in #( 34448ff16396Smrg *${as_nl}ac_space=\ *) 3445d5d8cc55Smrg # `set' does not quote correctly, so add quotes: double-quote 3446d5d8cc55Smrg # substitution turns \\\\ into \\, and sed turns \\ into \. 34470bd0e222Smrg sed -n \ 34480bd0e222Smrg "s/'/'\\\\''/g; 34490bd0e222Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 34508ff16396Smrg ;; #( 34510bd0e222Smrg *) 34520bd0e222Smrg # `set' quotes correctly as required by POSIX, so do not add quotes. 34538ff16396Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 34540bd0e222Smrg ;; 34558ff16396Smrg esac | 34568ff16396Smrg sort 34578ff16396Smrg) | 34580bd0e222Smrg sed ' 34598ff16396Smrg /^ac_cv_env_/b end 34600bd0e222Smrg t clear 34618ff16396Smrg :clear 3462111ba1daSmrg s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ 34630bd0e222Smrg t end 34648ff16396Smrg s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 34658ff16396Smrg :end' >>confcache 34668ff16396Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 34678ff16396Smrg if test -w "$cache_file"; then 3468d5d8cc55Smrg if test "x$cache_file" != "x/dev/null"; then 3469111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 3470111ba1daSmrgprintf "%s\n" "$as_me: updating cache $cache_file" >&6;} 3471d5d8cc55Smrg if test ! -f "$cache_file" || test -h "$cache_file"; then 3472d5d8cc55Smrg cat confcache >"$cache_file" 3473d5d8cc55Smrg else 3474d5d8cc55Smrg case $cache_file in #( 3475d5d8cc55Smrg */* | ?:*) 3476d5d8cc55Smrg mv -f confcache "$cache_file"$$ && 3477d5d8cc55Smrg mv -f "$cache_file"$$ "$cache_file" ;; #( 3478d5d8cc55Smrg *) 3479d5d8cc55Smrg mv -f confcache "$cache_file" ;; 3480d5d8cc55Smrg esac 3481d5d8cc55Smrg fi 3482d5d8cc55Smrg fi 34830bd0e222Smrg else 3484111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 3485111ba1daSmrgprintf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} 34860bd0e222Smrg fi 34870bd0e222Smrgfi 34880bd0e222Smrgrm -f confcache 34890bd0e222Smrg 34900bd0e222Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix 34910bd0e222Smrg# Let make expand exec_prefix. 34920bd0e222Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 34930bd0e222Smrg 34940bd0e222Smrg# Transform confdefs.h into DEFS. 34950bd0e222Smrg# Protect against shell expansion while executing Makefile rules. 34960bd0e222Smrg# Protect against Makefile macro expansion. 34970bd0e222Smrg# 34980bd0e222Smrg# If the first sed substitution is executed (which looks for macros that 34998ff16396Smrg# take arguments), then branch to the quote section. Otherwise, 35000bd0e222Smrg# look for a macro that doesn't take arguments. 35018ff16396Smrgac_script=' 35028ff16396Smrg:mline 35038ff16396Smrg/\\$/{ 35048ff16396Smrg N 35058ff16396Smrg s,\\\n,, 35068ff16396Smrg b mline 35078ff16396Smrg} 35080bd0e222Smrgt clear 35098ff16396Smrg:clear 35108ff16396Smrgs/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 35110bd0e222Smrgt quote 35128ff16396Smrgs/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 35130bd0e222Smrgt quote 35148ff16396Smrgb any 35158ff16396Smrg:quote 35168ff16396Smrgs/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 35178ff16396Smrgs/\[/\\&/g 35188ff16396Smrgs/\]/\\&/g 35198ff16396Smrgs/\$/$$/g 35208ff16396SmrgH 35218ff16396Smrg:any 35228ff16396Smrg${ 35238ff16396Smrg g 35248ff16396Smrg s/^\n// 35258ff16396Smrg s/\n/ /g 35268ff16396Smrg p 35278ff16396Smrg} 35288ff16396Smrg' 35298ff16396SmrgDEFS=`sed -n "$ac_script" confdefs.h` 35300bd0e222Smrg 35310bd0e222Smrg 35320bd0e222Smrgac_libobjs= 35330bd0e222Smrgac_ltlibobjs= 3534d5d8cc55SmrgU= 35350bd0e222Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 35360bd0e222Smrg # 1. Remove the extension, and $U if already installed. 35378ff16396Smrg ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 3538111ba1daSmrg ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"` 35398ff16396Smrg # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 35408ff16396Smrg # will be set to the directory where LIBOBJS objects are built. 3541d5d8cc55Smrg as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 3542d5d8cc55Smrg as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 35430bd0e222Smrgdone 35440bd0e222SmrgLIBOBJS=$ac_libobjs 35450bd0e222Smrg 35460bd0e222SmrgLTLIBOBJS=$ac_ltlibobjs 35470bd0e222Smrg 35480bd0e222Smrg 3549111ba1daSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 3550111ba1daSmrgprintf %s "checking that generated files are newer than configure... " >&6; } 3551111ba1daSmrg if test -n "$am_sleep_pid"; then 3552111ba1daSmrg # Hide warnings about reused PIDs. 3553111ba1daSmrg wait $am_sleep_pid 2>/dev/null 3554111ba1daSmrg fi 3555111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5 3556111ba1daSmrgprintf "%s\n" "done" >&6; } 35578ff16396Smrg 35580bd0e222Smrg 3559d5d8cc55Smrg: "${CONFIG_STATUS=./config.status}" 35608ff16396Smrgac_write_fail=0 35610bd0e222Smrgac_clean_files_save=$ac_clean_files 35620bd0e222Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS" 3563111ba1daSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 3564111ba1daSmrgprintf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} 3565d5d8cc55Smrgas_write_fail=0 3566d5d8cc55Smrgcat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 35670bd0e222Smrg#! $SHELL 35680bd0e222Smrg# Generated by $as_me. 35690bd0e222Smrg# Run this file to recreate the current configuration. 35700bd0e222Smrg# Compiler output produced by configure, useful for debugging 35710bd0e222Smrg# configure, is in config.log if it exists. 35720bd0e222Smrg 35730bd0e222Smrgdebug=false 35740bd0e222Smrgac_cs_recheck=false 35750bd0e222Smrgac_cs_silent=false 35760bd0e222Smrg 3577d5d8cc55SmrgSHELL=\${CONFIG_SHELL-$SHELL} 3578d5d8cc55Smrgexport SHELL 3579d5d8cc55Smrg_ASEOF 3580d5d8cc55Smrgcat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 3581d5d8cc55Smrg## -------------------- ## 3582d5d8cc55Smrg## M4sh Initialization. ## 3583d5d8cc55Smrg## -------------------- ## 35840bd0e222Smrg 35858ff16396Smrg# Be more Bourne compatible 35868ff16396SmrgDUALCASE=1; export DUALCASE # for MKS sh 3587111ba1daSmrgas_nop=: 3588111ba1daSmrgif test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 3589111ba1daSmrgthen : 35900bd0e222Smrg emulate sh 35910bd0e222Smrg NULLCMD=: 35928ff16396Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 35930bd0e222Smrg # is contrary to our usage. Disable this feature. 35940bd0e222Smrg alias -g '${1+"$@"}'='"$@"' 35958ff16396Smrg setopt NO_GLOB_SUBST 3596111ba1daSmrgelse $as_nop 3597d5d8cc55Smrg case `(set -o) 2>/dev/null` in #( 3598d5d8cc55Smrg *posix*) : 3599d5d8cc55Smrg set -o posix ;; #( 3600d5d8cc55Smrg *) : 3601d5d8cc55Smrg ;; 36028ff16396Smrgesac 36038ff16396Smrgfi 36048ff16396Smrg 36058ff16396Smrg 3606111ba1daSmrg 3607111ba1daSmrg# Reset variables that may have inherited troublesome values from 3608111ba1daSmrg# the environment. 3609111ba1daSmrg 3610111ba1daSmrg# IFS needs to be set, to space, tab, and newline, in precisely that order. 3611111ba1daSmrg# (If _AS_PATH_WALK were called with IFS unset, it would have the 3612111ba1daSmrg# side effect of setting IFS to empty, thus disabling word splitting.) 3613111ba1daSmrg# Quoting is to prevent editors from complaining about space-tab. 36148ff16396Smrgas_nl=' 36158ff16396Smrg' 36168ff16396Smrgexport as_nl 3617111ba1daSmrgIFS=" "" $as_nl" 3618111ba1daSmrg 3619111ba1daSmrgPS1='$ ' 3620111ba1daSmrgPS2='> ' 3621111ba1daSmrgPS4='+ ' 3622111ba1daSmrg 3623111ba1daSmrg# Ensure predictable behavior from utilities with locale-dependent output. 3624111ba1daSmrgLC_ALL=C 3625111ba1daSmrgexport LC_ALL 3626111ba1daSmrgLANGUAGE=C 3627111ba1daSmrgexport LANGUAGE 3628111ba1daSmrg 3629111ba1daSmrg# We cannot yet rely on "unset" to work, but we need these variables 3630111ba1daSmrg# to be unset--not just set to an empty or harmless value--now, to 3631111ba1daSmrg# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct 3632111ba1daSmrg# also avoids known problems related to "unset" and subshell syntax 3633111ba1daSmrg# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). 3634111ba1daSmrgfor as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 3635111ba1daSmrgdo eval test \${$as_var+y} \ 3636111ba1daSmrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 3637111ba1daSmrgdone 3638111ba1daSmrg 3639111ba1daSmrg# Ensure that fds 0, 1, and 2 are open. 3640111ba1daSmrgif (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 3641111ba1daSmrgif (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 3642111ba1daSmrgif (exec 3>&2) ; then :; else exec 2>/dev/null; fi 36438ff16396Smrg 36448ff16396Smrg# The user is always right. 3645111ba1daSmrgif ${PATH_SEPARATOR+false} :; then 36468ff16396Smrg PATH_SEPARATOR=: 36478ff16396Smrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 36488ff16396Smrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 36498ff16396Smrg PATH_SEPARATOR=';' 36508ff16396Smrg } 36510bd0e222Smrgfi 36520bd0e222Smrg 36530bd0e222Smrg 36548ff16396Smrg# Find who we are. Look in the path if we contain no directory separator. 3655d5d8cc55Smrgas_myself= 3656d5d8cc55Smrgcase $0 in #(( 36578ff16396Smrg *[\\/]* ) as_myself=$0 ;; 36588ff16396Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 36598ff16396Smrgfor as_dir in $PATH 36608ff16396Smrgdo 36618ff16396Smrg IFS=$as_save_IFS 3662111ba1daSmrg case $as_dir in #((( 3663111ba1daSmrg '') as_dir=./ ;; 3664111ba1daSmrg */) ;; 3665111ba1daSmrg *) as_dir=$as_dir/ ;; 3666111ba1daSmrg esac 3667111ba1daSmrg test -r "$as_dir$0" && as_myself=$as_dir$0 && break 3668d5d8cc55Smrg done 36698ff16396SmrgIFS=$as_save_IFS 36708ff16396Smrg 36718ff16396Smrg ;; 36728ff16396Smrgesac 36738ff16396Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 36748ff16396Smrg# in which case we are not to be found in the path. 36758ff16396Smrgif test "x$as_myself" = x; then 36768ff16396Smrg as_myself=$0 36778ff16396Smrgfi 36788ff16396Smrgif test ! -f "$as_myself"; then 3679111ba1daSmrg printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 3680d5d8cc55Smrg exit 1 36818ff16396Smrgfi 36828ff16396Smrg 3683d5d8cc55Smrg 3684d5d8cc55Smrg 3685d5d8cc55Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 3686d5d8cc55Smrg# ---------------------------------------- 3687d5d8cc55Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 3688d5d8cc55Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 3689d5d8cc55Smrg# script with STATUS, using 1 if that was 0. 3690d5d8cc55Smrgas_fn_error () 3691d5d8cc55Smrg{ 3692d5d8cc55Smrg as_status=$1; test $as_status -eq 0 && as_status=1 3693d5d8cc55Smrg if test "$4"; then 3694d5d8cc55Smrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 3695111ba1daSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 3696d5d8cc55Smrg fi 3697111ba1daSmrg printf "%s\n" "$as_me: error: $2" >&2 3698d5d8cc55Smrg as_fn_exit $as_status 3699d5d8cc55Smrg} # as_fn_error 3700d5d8cc55Smrg 3701d5d8cc55Smrg 3702111ba1daSmrg 3703d5d8cc55Smrg# as_fn_set_status STATUS 3704d5d8cc55Smrg# ----------------------- 3705d5d8cc55Smrg# Set $? to STATUS, without forking. 3706d5d8cc55Smrgas_fn_set_status () 3707d5d8cc55Smrg{ 3708d5d8cc55Smrg return $1 3709d5d8cc55Smrg} # as_fn_set_status 3710d5d8cc55Smrg 3711d5d8cc55Smrg# as_fn_exit STATUS 3712d5d8cc55Smrg# ----------------- 3713d5d8cc55Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 3714d5d8cc55Smrgas_fn_exit () 3715d5d8cc55Smrg{ 3716d5d8cc55Smrg set +e 3717d5d8cc55Smrg as_fn_set_status $1 3718d5d8cc55Smrg exit $1 3719d5d8cc55Smrg} # as_fn_exit 3720d5d8cc55Smrg 3721d5d8cc55Smrg# as_fn_unset VAR 3722d5d8cc55Smrg# --------------- 3723d5d8cc55Smrg# Portably unset VAR. 3724d5d8cc55Smrgas_fn_unset () 3725d5d8cc55Smrg{ 3726d5d8cc55Smrg { eval $1=; unset $1;} 3727d5d8cc55Smrg} 3728d5d8cc55Smrgas_unset=as_fn_unset 3729111ba1daSmrg 3730d5d8cc55Smrg# as_fn_append VAR VALUE 3731d5d8cc55Smrg# ---------------------- 3732d5d8cc55Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take 3733d5d8cc55Smrg# advantage of any shell optimizations that allow amortized linear growth over 3734d5d8cc55Smrg# repeated appends, instead of the typical quadratic growth present in naive 3735d5d8cc55Smrg# implementations. 3736111ba1daSmrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 3737111ba1daSmrgthen : 3738d5d8cc55Smrg eval 'as_fn_append () 3739d5d8cc55Smrg { 3740d5d8cc55Smrg eval $1+=\$2 3741d5d8cc55Smrg }' 3742111ba1daSmrgelse $as_nop 3743d5d8cc55Smrg as_fn_append () 3744d5d8cc55Smrg { 3745d5d8cc55Smrg eval $1=\$$1\$2 3746d5d8cc55Smrg } 3747d5d8cc55Smrgfi # as_fn_append 3748d5d8cc55Smrg 3749d5d8cc55Smrg# as_fn_arith ARG... 3750d5d8cc55Smrg# ------------------ 3751d5d8cc55Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the 3752d5d8cc55Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 3753d5d8cc55Smrg# must be portable across $(()) and expr. 3754111ba1daSmrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 3755111ba1daSmrgthen : 3756d5d8cc55Smrg eval 'as_fn_arith () 3757d5d8cc55Smrg { 3758d5d8cc55Smrg as_val=$(( $* )) 3759d5d8cc55Smrg }' 3760111ba1daSmrgelse $as_nop 3761d5d8cc55Smrg as_fn_arith () 3762d5d8cc55Smrg { 3763d5d8cc55Smrg as_val=`expr "$@" || test $? -eq 1` 3764d5d8cc55Smrg } 3765d5d8cc55Smrgfi # as_fn_arith 3766d5d8cc55Smrg 3767d5d8cc55Smrg 37688ff16396Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 37698ff16396Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 37700bd0e222Smrg as_expr=expr 37710bd0e222Smrgelse 37720bd0e222Smrg as_expr=false 37730bd0e222Smrgfi 37740bd0e222Smrg 37758ff16396Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 37760bd0e222Smrg as_basename=basename 37770bd0e222Smrgelse 37780bd0e222Smrg as_basename=false 37790bd0e222Smrgfi 37800bd0e222Smrg 3781d5d8cc55Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 3782d5d8cc55Smrg as_dirname=dirname 3783d5d8cc55Smrgelse 3784d5d8cc55Smrg as_dirname=false 3785d5d8cc55Smrgfi 37860bd0e222Smrg 37878ff16396Smrgas_me=`$as_basename -- "$0" || 37880bd0e222Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 37890bd0e222Smrg X"$0" : 'X\(//\)$' \| \ 37908ff16396Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 3791111ba1daSmrgprintf "%s\n" X/"$0" | 37928ff16396Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 37938ff16396Smrg s//\1/ 37948ff16396Smrg q 37958ff16396Smrg } 37968ff16396Smrg /^X\/\(\/\/\)$/{ 37978ff16396Smrg s//\1/ 37988ff16396Smrg q 37998ff16396Smrg } 38008ff16396Smrg /^X\/\(\/\).*/{ 38018ff16396Smrg s//\1/ 38028ff16396Smrg q 38038ff16396Smrg } 38048ff16396Smrg s/.*/./; q'` 38050bd0e222Smrg 3806d5d8cc55Smrg# Avoid depending upon Character Ranges. 3807d5d8cc55Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 3808d5d8cc55Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 3809d5d8cc55Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 3810d5d8cc55Smrgas_cr_digits='0123456789' 3811d5d8cc55Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 38120bd0e222Smrg 3813111ba1daSmrg 3814111ba1daSmrg# Determine whether it's possible to make 'echo' print without a newline. 3815111ba1daSmrg# These variables are no longer used directly by Autoconf, but are AC_SUBSTed 3816111ba1daSmrg# for compatibility with existing Makefiles. 38178ff16396SmrgECHO_C= ECHO_N= ECHO_T= 3818d5d8cc55Smrgcase `echo -n x` in #((((( 38198ff16396Smrg-n*) 3820d5d8cc55Smrg case `echo 'xy\c'` in 38218ff16396Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 3822d5d8cc55Smrg xy) ECHO_C='\c';; 3823d5d8cc55Smrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 3824d5d8cc55Smrg ECHO_T=' ';; 38258ff16396Smrg esac;; 38268ff16396Smrg*) 38278ff16396Smrg ECHO_N='-n';; 38288ff16396Smrgesac 38290bd0e222Smrg 3830111ba1daSmrg# For backward compatibility with old third-party macros, we provide 3831111ba1daSmrg# the shell variables $as_echo and $as_echo_n. New code should use 3832111ba1daSmrg# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. 3833111ba1daSmrgas_echo='printf %s\n' 3834111ba1daSmrgas_echo_n='printf %s' 3835111ba1daSmrg 38360bd0e222Smrgrm -f conf$$ conf$$.exe conf$$.file 38378ff16396Smrgif test -d conf$$.dir; then 38388ff16396Smrg rm -f conf$$.dir/conf$$.file 38398ff16396Smrgelse 38408ff16396Smrg rm -f conf$$.dir 38418ff16396Smrg mkdir conf$$.dir 2>/dev/null 38428ff16396Smrgfi 38438ff16396Smrgif (echo >conf$$.file) 2>/dev/null; then 38448ff16396Smrg if ln -s conf$$.file conf$$ 2>/dev/null; then 38450bd0e222Smrg as_ln_s='ln -s' 38468ff16396Smrg # ... but there are two gotchas: 38478ff16396Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 38488ff16396Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 3849111ba1daSmrg # In both cases, we have to default to `cp -pR'. 38508ff16396Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 3851111ba1daSmrg as_ln_s='cp -pR' 38528ff16396Smrg elif ln conf$$.file conf$$ 2>/dev/null; then 38538ff16396Smrg as_ln_s=ln 38548ff16396Smrg else 3855111ba1daSmrg as_ln_s='cp -pR' 38560bd0e222Smrg fi 38570bd0e222Smrgelse 3858111ba1daSmrg as_ln_s='cp -pR' 38590bd0e222Smrgfi 38608ff16396Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 38618ff16396Smrgrmdir conf$$.dir 2>/dev/null 38620bd0e222Smrg 3863d5d8cc55Smrg 3864d5d8cc55Smrg# as_fn_mkdir_p 3865d5d8cc55Smrg# ------------- 3866d5d8cc55Smrg# Create "$as_dir" as a directory, including parents if necessary. 3867d5d8cc55Smrgas_fn_mkdir_p () 3868d5d8cc55Smrg{ 3869d5d8cc55Smrg 3870d5d8cc55Smrg case $as_dir in #( 3871d5d8cc55Smrg -*) as_dir=./$as_dir;; 3872d5d8cc55Smrg esac 3873d5d8cc55Smrg test -d "$as_dir" || eval $as_mkdir_p || { 3874d5d8cc55Smrg as_dirs= 3875d5d8cc55Smrg while :; do 3876d5d8cc55Smrg case $as_dir in #( 3877111ba1daSmrg *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 3878d5d8cc55Smrg *) as_qdir=$as_dir;; 3879d5d8cc55Smrg esac 3880d5d8cc55Smrg as_dirs="'$as_qdir' $as_dirs" 3881d5d8cc55Smrg as_dir=`$as_dirname -- "$as_dir" || 3882d5d8cc55Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3883d5d8cc55Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 3884d5d8cc55Smrg X"$as_dir" : 'X\(//\)$' \| \ 3885d5d8cc55Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 3886111ba1daSmrgprintf "%s\n" X"$as_dir" | 3887d5d8cc55Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3888d5d8cc55Smrg s//\1/ 3889d5d8cc55Smrg q 3890d5d8cc55Smrg } 3891d5d8cc55Smrg /^X\(\/\/\)[^/].*/{ 3892d5d8cc55Smrg s//\1/ 3893d5d8cc55Smrg q 3894d5d8cc55Smrg } 3895d5d8cc55Smrg /^X\(\/\/\)$/{ 3896d5d8cc55Smrg s//\1/ 3897d5d8cc55Smrg q 3898d5d8cc55Smrg } 3899d5d8cc55Smrg /^X\(\/\).*/{ 3900d5d8cc55Smrg s//\1/ 3901d5d8cc55Smrg q 3902d5d8cc55Smrg } 3903d5d8cc55Smrg s/.*/./; q'` 3904d5d8cc55Smrg test -d "$as_dir" && break 3905d5d8cc55Smrg done 3906d5d8cc55Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 3907d5d8cc55Smrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 3908d5d8cc55Smrg 3909d5d8cc55Smrg 3910d5d8cc55Smrg} # as_fn_mkdir_p 39110bd0e222Smrgif mkdir -p . 2>/dev/null; then 3912d5d8cc55Smrg as_mkdir_p='mkdir -p "$as_dir"' 39130bd0e222Smrgelse 39140bd0e222Smrg test -d ./-p && rmdir ./-p 39150bd0e222Smrg as_mkdir_p=false 39160bd0e222Smrgfi 39170bd0e222Smrg 3918111ba1daSmrg 3919111ba1daSmrg# as_fn_executable_p FILE 3920111ba1daSmrg# ----------------------- 3921111ba1daSmrg# Test if FILE is an executable regular file. 3922111ba1daSmrgas_fn_executable_p () 3923111ba1daSmrg{ 3924111ba1daSmrg test -f "$1" && test -x "$1" 3925111ba1daSmrg} # as_fn_executable_p 3926111ba1daSmrgas_test_x='test -x' 3927111ba1daSmrgas_executable_p=as_fn_executable_p 39280bd0e222Smrg 39290bd0e222Smrg# Sed expression to map a string onto a valid CPP name. 39300bd0e222Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 39310bd0e222Smrg 39320bd0e222Smrg# Sed expression to map a string onto a valid variable name. 39330bd0e222Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 39340bd0e222Smrg 39350bd0e222Smrg 39360bd0e222Smrgexec 6>&1 3937d5d8cc55Smrg## ----------------------------------- ## 3938d5d8cc55Smrg## Main body of $CONFIG_STATUS script. ## 3939d5d8cc55Smrg## ----------------------------------- ## 3940d5d8cc55Smrg_ASEOF 3941d5d8cc55Smrgtest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 39420bd0e222Smrg 3943d5d8cc55Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3944d5d8cc55Smrg# Save the log message, to keep $0 and so on meaningful, and to 39450bd0e222Smrg# report actual input values of CONFIG_FILES etc. instead of their 39468ff16396Smrg# values after options handling. 39478ff16396Smrgac_log=" 3948111ba1daSmrgThis file was extended by font-jis-misc $as_me 1.0.4, which was 3949111ba1daSmrggenerated by GNU Autoconf 2.71. Invocation command line was 39500bd0e222Smrg 39510bd0e222Smrg CONFIG_FILES = $CONFIG_FILES 39520bd0e222Smrg CONFIG_HEADERS = $CONFIG_HEADERS 39530bd0e222Smrg CONFIG_LINKS = $CONFIG_LINKS 39540bd0e222Smrg CONFIG_COMMANDS = $CONFIG_COMMANDS 39550bd0e222Smrg $ $0 $@ 39560bd0e222Smrg 39578ff16396Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q` 39588ff16396Smrg" 39598ff16396Smrg 39600bd0e222Smrg_ACEOF 39610bd0e222Smrg 39628ff16396Smrgcase $ac_config_files in *" 39638ff16396Smrg"*) set x $ac_config_files; shift; ac_config_files=$*;; 39648ff16396Smrgesac 39650bd0e222Smrg 39660bd0e222Smrg 39670bd0e222Smrg 39688ff16396Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 39698ff16396Smrg# Files that config.status was made for. 39708ff16396Smrgconfig_files="$ac_config_files" 39710bd0e222Smrg 39728ff16396Smrg_ACEOF 39730bd0e222Smrg 39748ff16396Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 39750bd0e222Smrgac_cs_usage="\ 3976d5d8cc55Smrg\`$as_me' instantiates files and other configuration actions 3977d5d8cc55Smrgfrom templates according to the current configuration. Unless the files 3978d5d8cc55Smrgand actions are specified as TAGs, all are instantiated by default. 39790bd0e222Smrg 3980d5d8cc55SmrgUsage: $0 [OPTION]... [TAG]... 39810bd0e222Smrg 39820bd0e222Smrg -h, --help print this help, then exit 39838ff16396Smrg -V, --version print version number and configuration settings, then exit 3984d5d8cc55Smrg --config print configuration, then exit 39858ff16396Smrg -q, --quiet, --silent 39868ff16396Smrg do not print progress messages 39870bd0e222Smrg -d, --debug don't remove temporary files 39880bd0e222Smrg --recheck update $as_me by reconfiguring in the same conditions 39898ff16396Smrg --file=FILE[:TEMPLATE] 39908ff16396Smrg instantiate the configuration file FILE 39910bd0e222Smrg 39920bd0e222SmrgConfiguration files: 39930bd0e222Smrg$config_files 39940bd0e222Smrg 3995111ba1daSmrgReport bugs to <https://gitlab.freedesktop.org/xorg/font/jis-misc/-/issues>." 39960bd0e222Smrg 39978ff16396Smrg_ACEOF 3998111ba1daSmrgac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` 3999111ba1daSmrgac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` 40008ff16396Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4001111ba1daSmrgac_cs_config='$ac_cs_config_escaped' 40020bd0e222Smrgac_cs_version="\\ 4003111ba1daSmrgfont-jis-misc config.status 1.0.4 4004111ba1daSmrgconfigured by $0, generated by GNU Autoconf 2.71, 4005d5d8cc55Smrg with options \\"\$ac_cs_config\\" 40060bd0e222Smrg 4007111ba1daSmrgCopyright (C) 2021 Free Software Foundation, Inc. 40080bd0e222SmrgThis config.status script is free software; the Free Software Foundation 40090bd0e222Smrggives unlimited permission to copy, distribute and modify it." 40108ff16396Smrg 40118ff16396Smrgac_pwd='$ac_pwd' 40128ff16396Smrgsrcdir='$srcdir' 40138ff16396SmrgINSTALL='$INSTALL' 40148ff16396SmrgMKDIR_P='$MKDIR_P' 40158ff16396SmrgAWK='$AWK' 40168ff16396Smrgtest -n "\$AWK" || AWK=awk 40170bd0e222Smrg_ACEOF 40180bd0e222Smrg 40198ff16396Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 40208ff16396Smrg# The default lists apply if the user does not specify any file. 40210bd0e222Smrgac_need_defaults=: 40220bd0e222Smrgwhile test $# != 0 40230bd0e222Smrgdo 40240bd0e222Smrg case $1 in 4025d5d8cc55Smrg --*=?*) 40268ff16396Smrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 40278ff16396Smrg ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 40280bd0e222Smrg ac_shift=: 40290bd0e222Smrg ;; 4030d5d8cc55Smrg --*=) 4031d5d8cc55Smrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 4032d5d8cc55Smrg ac_optarg= 4033d5d8cc55Smrg ac_shift=: 4034d5d8cc55Smrg ;; 40358ff16396Smrg *) 40360bd0e222Smrg ac_option=$1 40370bd0e222Smrg ac_optarg=$2 40380bd0e222Smrg ac_shift=shift 40390bd0e222Smrg ;; 40400bd0e222Smrg esac 40410bd0e222Smrg 40420bd0e222Smrg case $ac_option in 40430bd0e222Smrg # Handling of the options. 40440bd0e222Smrg -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 40450bd0e222Smrg ac_cs_recheck=: ;; 40468ff16396Smrg --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 4047111ba1daSmrg printf "%s\n" "$ac_cs_version"; exit ;; 4048d5d8cc55Smrg --config | --confi | --conf | --con | --co | --c ) 4049111ba1daSmrg printf "%s\n" "$ac_cs_config"; exit ;; 40508ff16396Smrg --debug | --debu | --deb | --de | --d | -d ) 40510bd0e222Smrg debug=: ;; 40520bd0e222Smrg --file | --fil | --fi | --f ) 40530bd0e222Smrg $ac_shift 40548ff16396Smrg case $ac_optarg in 4055111ba1daSmrg *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 4056d5d8cc55Smrg '') as_fn_error $? "missing file argument" ;; 40578ff16396Smrg esac 4058d5d8cc55Smrg as_fn_append CONFIG_FILES " '$ac_optarg'" 40590bd0e222Smrg ac_need_defaults=false;; 40608ff16396Smrg --he | --h | --help | --hel | -h ) 4061111ba1daSmrg printf "%s\n" "$ac_cs_usage"; exit ;; 40620bd0e222Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 40630bd0e222Smrg | -silent | --silent | --silen | --sile | --sil | --si | --s) 40640bd0e222Smrg ac_cs_silent=: ;; 40650bd0e222Smrg 40660bd0e222Smrg # This is an error. 4067d5d8cc55Smrg -*) as_fn_error $? "unrecognized option: \`$1' 4068d5d8cc55SmrgTry \`$0 --help' for more information." ;; 40690bd0e222Smrg 4070d5d8cc55Smrg *) as_fn_append ac_config_targets " $1" 40718ff16396Smrg ac_need_defaults=false ;; 40720bd0e222Smrg 40730bd0e222Smrg esac 40740bd0e222Smrg shift 40750bd0e222Smrgdone 40760bd0e222Smrg 40770bd0e222Smrgac_configure_extra_args= 40780bd0e222Smrg 40790bd0e222Smrgif $ac_cs_silent; then 40800bd0e222Smrg exec 6>/dev/null 40810bd0e222Smrg ac_configure_extra_args="$ac_configure_extra_args --silent" 40820bd0e222Smrgfi 40830bd0e222Smrg 40840bd0e222Smrg_ACEOF 40858ff16396Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 40860bd0e222Smrgif \$ac_cs_recheck; then 4087111ba1daSmrg set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 40888ff16396Smrg shift 4089111ba1daSmrg \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 40908ff16396Smrg CONFIG_SHELL='$SHELL' 40918ff16396Smrg export CONFIG_SHELL 40928ff16396Smrg exec "\$@" 40930bd0e222Smrgfi 40940bd0e222Smrg 40950bd0e222Smrg_ACEOF 40968ff16396Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 40978ff16396Smrgexec 5>>config.log 40988ff16396Smrg{ 40998ff16396Smrg echo 41008ff16396Smrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 41018ff16396Smrg## Running $as_me. ## 41028ff16396Smrg_ASBOX 4103111ba1daSmrg printf "%s\n" "$ac_log" 41048ff16396Smrg} >&5 41050bd0e222Smrg 41068ff16396Smrg_ACEOF 41078ff16396Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 41088ff16396Smrg_ACEOF 41090bd0e222Smrg 41108ff16396Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 41110bd0e222Smrg 41128ff16396Smrg# Handling of arguments. 41130bd0e222Smrgfor ac_config_target in $ac_config_targets 41140bd0e222Smrgdo 41158ff16396Smrg case $ac_config_target in 41168ff16396Smrg "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 41178ff16396Smrg 4118d5d8cc55Smrg *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 41190bd0e222Smrg esac 41200bd0e222Smrgdone 41210bd0e222Smrg 41228ff16396Smrg 41230bd0e222Smrg# If the user did not use the arguments to specify the items to instantiate, 41240bd0e222Smrg# then the envvar interface is used. Set only those that are not. 41250bd0e222Smrg# We use the long form for the default assignment because of an extremely 41260bd0e222Smrg# bizarre bug on SunOS 4.1.3. 41270bd0e222Smrgif $ac_need_defaults; then 4128111ba1daSmrg test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files 41290bd0e222Smrgfi 41300bd0e222Smrg 41310bd0e222Smrg# Have a temporary directory for convenience. Make it in the build tree 41328ff16396Smrg# simply because there is no reason against having it here, and in addition, 41330bd0e222Smrg# creating and moving files from /tmp can sometimes cause problems. 41348ff16396Smrg# Hook for its removal unless debugging. 41358ff16396Smrg# Note that there is a small window in which the directory will not be cleaned: 41368ff16396Smrg# after its creation but before its name has been assigned to `$tmp'. 41370bd0e222Smrg$debug || 41380bd0e222Smrg{ 4139d5d8cc55Smrg tmp= ac_tmp= 41408ff16396Smrg trap 'exit_status=$? 4141d5d8cc55Smrg : "${ac_tmp:=$tmp}" 4142d5d8cc55Smrg { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 41438ff16396Smrg' 0 4144d5d8cc55Smrg trap 'as_fn_exit 1' 1 2 13 15 41450bd0e222Smrg} 41460bd0e222Smrg# Create a (secure) tmp directory for tmp files. 41470bd0e222Smrg 41480bd0e222Smrg{ 41498ff16396Smrg tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 4150d5d8cc55Smrg test -d "$tmp" 41510bd0e222Smrg} || 41520bd0e222Smrg{ 41538ff16396Smrg tmp=./conf$$-$RANDOM 41548ff16396Smrg (umask 077 && mkdir "$tmp") 4155d5d8cc55Smrg} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 4156d5d8cc55Smrgac_tmp=$tmp 41570bd0e222Smrg 41588ff16396Smrg# Set up the scripts for CONFIG_FILES section. 41598ff16396Smrg# No need to generate them if there are no CONFIG_FILES. 41608ff16396Smrg# This happens for instance with `./config.status config.h'. 41618ff16396Smrgif test -n "$CONFIG_FILES"; then 41628ff16396Smrg 41638ff16396Smrg 4164d5d8cc55Smrgac_cr=`echo X | tr X '\015'` 4165d5d8cc55Smrg# On cygwin, bash can eat \r inside `` if the user requested igncr. 4166d5d8cc55Smrg# But we know of no other shell where ac_cr would be empty at this 4167d5d8cc55Smrg# point, so we can use a bashism as a fallback. 4168d5d8cc55Smrgif test "x$ac_cr" = x; then 4169d5d8cc55Smrg eval ac_cr=\$\'\\r\' 4170d5d8cc55Smrgfi 41718ff16396Smrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 41728ff16396Smrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 41738ff16396Smrg ac_cs_awk_cr='\\r' 41748ff16396Smrgelse 41758ff16396Smrg ac_cs_awk_cr=$ac_cr 41768ff16396Smrgfi 41778ff16396Smrg 4178d5d8cc55Smrgecho 'BEGIN {' >"$ac_tmp/subs1.awk" && 41790bd0e222Smrg_ACEOF 41800bd0e222Smrg 41810bd0e222Smrg 41828ff16396Smrg{ 41838ff16396Smrg echo "cat >conf$$subs.awk <<_ACEOF" && 41848ff16396Smrg echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 41858ff16396Smrg echo "_ACEOF" 41868ff16396Smrg} >conf$$subs.sh || 4187d5d8cc55Smrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 4188d5d8cc55Smrgac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 41898ff16396Smrgac_delim='%!_!# ' 41908ff16396Smrgfor ac_last_try in false false false false false :; do 41918ff16396Smrg . ./conf$$subs.sh || 4192d5d8cc55Smrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 41930bd0e222Smrg 41948ff16396Smrg ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 41958ff16396Smrg if test $ac_delim_n = $ac_delim_num; then 41968ff16396Smrg break 41978ff16396Smrg elif $ac_last_try; then 4198d5d8cc55Smrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 41998ff16396Smrg else 42008ff16396Smrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 42010bd0e222Smrg fi 42028ff16396Smrgdone 42038ff16396Smrgrm -f conf$$subs.sh 42040bd0e222Smrg 42058ff16396Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4206d5d8cc55Smrgcat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 42070bd0e222Smrg_ACEOF 42088ff16396Smrgsed -n ' 42098ff16396Smrgh 42108ff16396Smrgs/^/S["/; s/!.*/"]=/ 42118ff16396Smrgp 42128ff16396Smrgg 42138ff16396Smrgs/^[^!]*!// 42148ff16396Smrg:repl 42158ff16396Smrgt repl 42168ff16396Smrgs/'"$ac_delim"'$// 42178ff16396Smrgt delim 42188ff16396Smrg:nl 42198ff16396Smrgh 4220d5d8cc55Smrgs/\(.\{148\}\)..*/\1/ 42218ff16396Smrgt more1 42228ff16396Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 42238ff16396Smrgp 42248ff16396Smrgn 42258ff16396Smrgb repl 42268ff16396Smrg:more1 42278ff16396Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 42288ff16396Smrgp 42298ff16396Smrgg 42308ff16396Smrgs/.\{148\}// 42318ff16396Smrgt nl 42328ff16396Smrg:delim 42338ff16396Smrgh 4234d5d8cc55Smrgs/\(.\{148\}\)..*/\1/ 42358ff16396Smrgt more2 42368ff16396Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/ 42378ff16396Smrgp 42388ff16396Smrgb 42398ff16396Smrg:more2 42408ff16396Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 42418ff16396Smrgp 42428ff16396Smrgg 42438ff16396Smrgs/.\{148\}// 42448ff16396Smrgt delim 42458ff16396Smrg' <conf$$subs.awk | sed ' 42468ff16396Smrg/^[^""]/{ 42478ff16396Smrg N 42488ff16396Smrg s/\n// 42498ff16396Smrg} 42508ff16396Smrg' >>$CONFIG_STATUS || ac_write_fail=1 42518ff16396Smrgrm -f conf$$subs.awk 42528ff16396Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 42538ff16396Smrg_ACAWK 4254d5d8cc55Smrgcat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 42558ff16396Smrg for (key in S) S_is_set[key] = 1 42568ff16396Smrg FS = "" 42578ff16396Smrg 42588ff16396Smrg} 42598ff16396Smrg{ 42608ff16396Smrg line = $ 0 42618ff16396Smrg nfields = split(line, field, "@") 42628ff16396Smrg substed = 0 42638ff16396Smrg len = length(field[1]) 42648ff16396Smrg for (i = 2; i < nfields; i++) { 42658ff16396Smrg key = field[i] 42668ff16396Smrg keylen = length(key) 42678ff16396Smrg if (S_is_set[key]) { 42688ff16396Smrg value = S[key] 42698ff16396Smrg line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 42708ff16396Smrg len += length(value) + length(field[++i]) 42718ff16396Smrg substed = 1 42728ff16396Smrg } else 42738ff16396Smrg len += 1 + keylen 42748ff16396Smrg } 42758ff16396Smrg 42768ff16396Smrg print line 42778ff16396Smrg} 42788ff16396Smrg 42798ff16396Smrg_ACAWK 42808ff16396Smrg_ACEOF 42818ff16396Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 42828ff16396Smrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 42838ff16396Smrg sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 42848ff16396Smrgelse 42858ff16396Smrg cat 4286d5d8cc55Smrgfi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 4287d5d8cc55Smrg || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 42888ff16396Smrg_ACEOF 42898ff16396Smrg 4290d5d8cc55Smrg# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 4291d5d8cc55Smrg# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 42928ff16396Smrg# trailing colons and then remove the whole line if VPATH becomes empty 42938ff16396Smrg# (actually we leave an empty line to preserve line numbers). 42948ff16396Smrgif test "x$srcdir" = x.; then 4295d5d8cc55Smrg ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 4296d5d8cc55Smrgh 4297d5d8cc55Smrgs/// 4298d5d8cc55Smrgs/^/:/ 4299d5d8cc55Smrgs/[ ]*$/:/ 4300d5d8cc55Smrgs/:\$(srcdir):/:/g 4301d5d8cc55Smrgs/:\${srcdir}:/:/g 4302d5d8cc55Smrgs/:@srcdir@:/:/g 4303d5d8cc55Smrgs/^:*// 43048ff16396Smrgs/:*$// 4305d5d8cc55Smrgx 4306d5d8cc55Smrgs/\(=[ ]*\).*/\1/ 4307d5d8cc55SmrgG 4308d5d8cc55Smrgs/\n// 43098ff16396Smrgs/^[^=]*=[ ]*$// 43108ff16396Smrg}' 43118ff16396Smrgfi 43128ff16396Smrg 43138ff16396Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 43148ff16396Smrgfi # test -n "$CONFIG_FILES" 43158ff16396Smrg 43168ff16396Smrg 4317111ba1daSmrgeval set X " :F $CONFIG_FILES " 43188ff16396Smrgshift 43198ff16396Smrgfor ac_tag 43208ff16396Smrgdo 43218ff16396Smrg case $ac_tag in 43228ff16396Smrg :[FHLC]) ac_mode=$ac_tag; continue;; 43238ff16396Smrg esac 43248ff16396Smrg case $ac_mode$ac_tag in 43258ff16396Smrg :[FHL]*:*);; 4326d5d8cc55Smrg :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 43278ff16396Smrg :[FH]-) ac_tag=-:-;; 43288ff16396Smrg :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 43298ff16396Smrg esac 43308ff16396Smrg ac_save_IFS=$IFS 43318ff16396Smrg IFS=: 43328ff16396Smrg set x $ac_tag 43338ff16396Smrg IFS=$ac_save_IFS 43348ff16396Smrg shift 43358ff16396Smrg ac_file=$1 43368ff16396Smrg shift 43378ff16396Smrg 43388ff16396Smrg case $ac_mode in 43398ff16396Smrg :L) ac_source=$1;; 43408ff16396Smrg :[FH]) 43418ff16396Smrg ac_file_inputs= 43428ff16396Smrg for ac_f 43438ff16396Smrg do 43448ff16396Smrg case $ac_f in 4345d5d8cc55Smrg -) ac_f="$ac_tmp/stdin";; 43468ff16396Smrg *) # Look for the file first in the build tree, then in the source tree 43478ff16396Smrg # (if the path is not absolute). The absolute path cannot be DOS-style, 43488ff16396Smrg # because $ac_f cannot contain `:'. 43498ff16396Smrg test -f "$ac_f" || 43508ff16396Smrg case $ac_f in 43518ff16396Smrg [\\/$]*) false;; 43528ff16396Smrg *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 43538ff16396Smrg esac || 4354d5d8cc55Smrg as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 43558ff16396Smrg esac 4356111ba1daSmrg case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 4357d5d8cc55Smrg as_fn_append ac_file_inputs " '$ac_f'" 43588ff16396Smrg done 43598ff16396Smrg 43608ff16396Smrg # Let's still pretend it is `configure' which instantiates (i.e., don't 43618ff16396Smrg # use $as_me), people would be surprised to read: 43628ff16396Smrg # /* config.h. Generated by config.status. */ 43638ff16396Smrg configure_input='Generated from '` 4364111ba1daSmrg printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 43658ff16396Smrg `' by configure.' 43668ff16396Smrg if test x"$ac_file" != x-; then 43678ff16396Smrg configure_input="$ac_file. $configure_input" 4368111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 4369111ba1daSmrgprintf "%s\n" "$as_me: creating $ac_file" >&6;} 43708ff16396Smrg fi 43718ff16396Smrg # Neutralize special characters interpreted by sed in replacement strings. 43728ff16396Smrg case $configure_input in #( 43738ff16396Smrg *\&* | *\|* | *\\* ) 4374111ba1daSmrg ac_sed_conf_input=`printf "%s\n" "$configure_input" | 43758ff16396Smrg sed 's/[\\\\&|]/\\\\&/g'`;; #( 43768ff16396Smrg *) ac_sed_conf_input=$configure_input;; 43778ff16396Smrg esac 43788ff16396Smrg 43798ff16396Smrg case $ac_tag in 4380d5d8cc55Smrg *:-:* | *:-) cat >"$ac_tmp/stdin" \ 4381d5d8cc55Smrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 43828ff16396Smrg esac 43838ff16396Smrg ;; 43840bd0e222Smrg esac 43850bd0e222Smrg 43868ff16396Smrg ac_dir=`$as_dirname -- "$ac_file" || 43870bd0e222Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 43880bd0e222Smrg X"$ac_file" : 'X\(//\)[^/]' \| \ 43890bd0e222Smrg X"$ac_file" : 'X\(//\)$' \| \ 43908ff16396Smrg X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 4391111ba1daSmrgprintf "%s\n" X"$ac_file" | 43928ff16396Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 43938ff16396Smrg s//\1/ 43948ff16396Smrg q 43958ff16396Smrg } 43968ff16396Smrg /^X\(\/\/\)[^/].*/{ 43978ff16396Smrg s//\1/ 43988ff16396Smrg q 43998ff16396Smrg } 44008ff16396Smrg /^X\(\/\/\)$/{ 44018ff16396Smrg s//\1/ 44028ff16396Smrg q 44038ff16396Smrg } 44048ff16396Smrg /^X\(\/\).*/{ 44058ff16396Smrg s//\1/ 44068ff16396Smrg q 44078ff16396Smrg } 44088ff16396Smrg s/.*/./; q'` 4409d5d8cc55Smrg as_dir="$ac_dir"; as_fn_mkdir_p 44100bd0e222Smrg ac_builddir=. 44110bd0e222Smrg 44128ff16396Smrgcase "$ac_dir" in 44138ff16396Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 44148ff16396Smrg*) 4415111ba1daSmrg ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 44168ff16396Smrg # A ".." for each directory in $ac_dir_suffix. 4417111ba1daSmrg ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 44188ff16396Smrg case $ac_top_builddir_sub in 44198ff16396Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 44208ff16396Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 44218ff16396Smrg esac ;; 44228ff16396Smrgesac 44238ff16396Smrgac_abs_top_builddir=$ac_pwd 44248ff16396Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 44258ff16396Smrg# for backward compatibility: 44268ff16396Smrgac_top_builddir=$ac_top_build_prefix 44270bd0e222Smrg 44280bd0e222Smrgcase $srcdir in 44298ff16396Smrg .) # We are building in place. 44300bd0e222Smrg ac_srcdir=. 44318ff16396Smrg ac_top_srcdir=$ac_top_builddir_sub 44328ff16396Smrg ac_abs_top_srcdir=$ac_pwd ;; 44338ff16396Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 44340bd0e222Smrg ac_srcdir=$srcdir$ac_dir_suffix; 44358ff16396Smrg ac_top_srcdir=$srcdir 44368ff16396Smrg ac_abs_top_srcdir=$srcdir ;; 44378ff16396Smrg *) # Relative name. 44388ff16396Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 44398ff16396Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 44408ff16396Smrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 44410bd0e222Smrgesac 44428ff16396Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 44430bd0e222Smrg 44440bd0e222Smrg 44458ff16396Smrg case $ac_mode in 44468ff16396Smrg :F) 44478ff16396Smrg # 44488ff16396Smrg # CONFIG_FILE 44498ff16396Smrg # 44500bd0e222Smrg 44510bd0e222Smrg case $INSTALL in 44520bd0e222Smrg [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 44538ff16396Smrg *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 44540bd0e222Smrg esac 44558ff16396Smrg ac_MKDIR_P=$MKDIR_P 44568ff16396Smrg case $MKDIR_P in 44578ff16396Smrg [\\/$]* | ?:[\\/]* ) ;; 44588ff16396Smrg */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 44598ff16396Smrg esac 44608ff16396Smrg_ACEOF 44610bd0e222Smrg 44628ff16396Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 44638ff16396Smrg# If the template does not know about datarootdir, expand it. 44648ff16396Smrg# FIXME: This hack should be removed a few years after 2.60. 44658ff16396Smrgac_datarootdir_hack=; ac_datarootdir_seen= 44668ff16396Smrgac_sed_dataroot=' 44678ff16396Smrg/datarootdir/ { 44688ff16396Smrg p 44698ff16396Smrg q 44708ff16396Smrg} 44718ff16396Smrg/@datadir@/p 44728ff16396Smrg/@docdir@/p 44738ff16396Smrg/@infodir@/p 44748ff16396Smrg/@localedir@/p 4475d5d8cc55Smrg/@mandir@/p' 44768ff16396Smrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 44778ff16396Smrg*datarootdir*) ac_datarootdir_seen=yes;; 44788ff16396Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 4479111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 4480111ba1daSmrgprintf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 44818ff16396Smrg_ACEOF 44828ff16396Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 44838ff16396Smrg ac_datarootdir_hack=' 44848ff16396Smrg s&@datadir@&$datadir&g 44858ff16396Smrg s&@docdir@&$docdir&g 44868ff16396Smrg s&@infodir@&$infodir&g 44878ff16396Smrg s&@localedir@&$localedir&g 44888ff16396Smrg s&@mandir@&$mandir&g 4489d5d8cc55Smrg s&\\\${datarootdir}&$datarootdir&g' ;; 44908ff16396Smrgesac 44910bd0e222Smrg_ACEOF 44928ff16396Smrg 44938ff16396Smrg# Neutralize VPATH when `$srcdir' = `.'. 44948ff16396Smrg# Shell code in configure.ac might set extrasub. 44958ff16396Smrg# FIXME: do we really want to maintain this feature? 44968ff16396Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 44978ff16396Smrgac_sed_extra="$ac_vpsub 44980bd0e222Smrg$extrasub 44990bd0e222Smrg_ACEOF 45008ff16396Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 45010bd0e222Smrg:t 45020bd0e222Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 45038ff16396Smrgs|@configure_input@|$ac_sed_conf_input|;t t 45048ff16396Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t 45058ff16396Smrgs&@top_build_prefix@&$ac_top_build_prefix&;t t 45068ff16396Smrgs&@srcdir@&$ac_srcdir&;t t 45078ff16396Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t 45088ff16396Smrgs&@top_srcdir@&$ac_top_srcdir&;t t 45098ff16396Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 45108ff16396Smrgs&@builddir@&$ac_builddir&;t t 45118ff16396Smrgs&@abs_builddir@&$ac_abs_builddir&;t t 45128ff16396Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t 45138ff16396Smrgs&@INSTALL@&$ac_INSTALL&;t t 45148ff16396Smrgs&@MKDIR_P@&$ac_MKDIR_P&;t t 45158ff16396Smrg$ac_datarootdir_hack 45168ff16396Smrg" 4517d5d8cc55Smrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 4518d5d8cc55Smrg >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 45190bd0e222Smrg 45208ff16396Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 4521d5d8cc55Smrg { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 4522d5d8cc55Smrg { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 4523d5d8cc55Smrg "$ac_tmp/out"`; test -z "$ac_out"; } && 4524111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 4525d5d8cc55Smrgwhich seems to be undefined. Please make sure it is defined" >&5 4526111ba1daSmrgprintf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 4527d5d8cc55Smrgwhich seems to be undefined. Please make sure it is defined" >&2;} 45288ff16396Smrg 4529d5d8cc55Smrg rm -f "$ac_tmp/stdin" 45308ff16396Smrg case $ac_file in 4531d5d8cc55Smrg -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 4532d5d8cc55Smrg *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 45338ff16396Smrg esac \ 4534d5d8cc55Smrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 45358ff16396Smrg ;; 45368ff16396Smrg 45378ff16396Smrg 45388ff16396Smrg 45398ff16396Smrg esac 45408ff16396Smrg 45418ff16396Smrgdone # for ac_tag 45420bd0e222Smrg 45430bd0e222Smrg 4544d5d8cc55Smrgas_fn_exit 0 45450bd0e222Smrg_ACEOF 45460bd0e222Smrgac_clean_files=$ac_clean_files_save 45470bd0e222Smrg 45488ff16396Smrgtest $ac_write_fail = 0 || 4549d5d8cc55Smrg as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 45508ff16396Smrg 45510bd0e222Smrg 45520bd0e222Smrg# configure is writing to config.log, and then calls config.status. 45530bd0e222Smrg# config.status does its own redirection, appending to config.log. 45540bd0e222Smrg# Unfortunately, on DOS this fails, as config.log is still kept open 45550bd0e222Smrg# by configure, so config.status won't be able to write to it; its 45560bd0e222Smrg# output is simply discarded. So we exec the FD to /dev/null, 45570bd0e222Smrg# effectively closing config.log, so it can be properly (re)opened and 45580bd0e222Smrg# appended to by config.status. When coming back to configure, we 45590bd0e222Smrg# need to make the FD available again. 45600bd0e222Smrgif test "$no_create" != yes; then 45610bd0e222Smrg ac_cs_success=: 45620bd0e222Smrg ac_config_status_args= 45630bd0e222Smrg test "$silent" = yes && 45640bd0e222Smrg ac_config_status_args="$ac_config_status_args --quiet" 45650bd0e222Smrg exec 5>/dev/null 45660bd0e222Smrg $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 45670bd0e222Smrg exec 5>>config.log 45680bd0e222Smrg # Use ||, not &&, to avoid exiting from the if with $? = 1, which 45690bd0e222Smrg # would make configure fail if this is the last instruction. 4570d5d8cc55Smrg $ac_cs_success || as_fn_exit 1 45710bd0e222Smrgfi 45728ff16396Smrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 4573111ba1daSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 4574111ba1daSmrgprintf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 45758ff16396Smrgfi 45760bd0e222Smrg 4577111ba1daSmrg 4578