1129be1b7Smrg#! /bin/sh 2129be1b7Smrg# Guess values for system-dependent variables and create Makefiles. 3e8340fabSmrg# Generated by GNU Autoconf 2.71 for xbitmaps 1.1.3. 4129be1b7Smrg# 5e8340fabSmrg# Report bugs to <https://gitlab.freedesktop.org/xorg/data/bitmaps/-/issues>. 6129be1b7Smrg# 7a376accbSmrg# 8e8340fabSmrg# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, 9e8340fabSmrg# Inc. 10a376accbSmrg# 11a376accbSmrg# 12129be1b7Smrg# This configure script is free software; the Free Software Foundation 13129be1b7Smrg# gives unlimited permission to copy, distribute and modify it. 14a376accbSmrg## -------------------- ## 15a376accbSmrg## M4sh Initialization. ## 16a376accbSmrg## -------------------- ## 17129be1b7Smrg 18a9a39c43Smrg# Be more Bourne compatible 19a9a39c43SmrgDUALCASE=1; export DUALCASE # for MKS sh 20e8340fabSmrgas_nop=: 21e8340fabSmrgif test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 22e8340fabSmrgthen : 23129be1b7Smrg emulate sh 24129be1b7Smrg NULLCMD=: 25a9a39c43Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 26129be1b7Smrg # is contrary to our usage. Disable this feature. 27129be1b7Smrg alias -g '${1+"$@"}'='"$@"' 28a9a39c43Smrg setopt NO_GLOB_SUBST 29e8340fabSmrgelse $as_nop 30a376accbSmrg case `(set -o) 2>/dev/null` in #( 31a376accbSmrg *posix*) : 32a376accbSmrg set -o posix ;; #( 33a376accbSmrg *) : 34a376accbSmrg ;; 35a9a39c43Smrgesac 36a9a39c43Smrgfi 37a9a39c43Smrg 38a9a39c43Smrg 39e8340fabSmrg 40e8340fabSmrg# Reset variables that may have inherited troublesome values from 41e8340fabSmrg# the environment. 42e8340fabSmrg 43e8340fabSmrg# IFS needs to be set, to space, tab, and newline, in precisely that order. 44e8340fabSmrg# (If _AS_PATH_WALK were called with IFS unset, it would have the 45e8340fabSmrg# side effect of setting IFS to empty, thus disabling word splitting.) 46e8340fabSmrg# Quoting is to prevent editors from complaining about space-tab. 47a9a39c43Smrgas_nl=' 48a9a39c43Smrg' 49a9a39c43Smrgexport as_nl 50e8340fabSmrgIFS=" "" $as_nl" 51e8340fabSmrg 52e8340fabSmrgPS1='$ ' 53e8340fabSmrgPS2='> ' 54e8340fabSmrgPS4='+ ' 55e8340fabSmrg 56e8340fabSmrg# Ensure predictable behavior from utilities with locale-dependent output. 57e8340fabSmrgLC_ALL=C 58e8340fabSmrgexport LC_ALL 59e8340fabSmrgLANGUAGE=C 60e8340fabSmrgexport LANGUAGE 61e8340fabSmrg 62e8340fabSmrg# We cannot yet rely on "unset" to work, but we need these variables 63e8340fabSmrg# to be unset--not just set to an empty or harmless value--now, to 64e8340fabSmrg# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct 65e8340fabSmrg# also avoids known problems related to "unset" and subshell syntax 66e8340fabSmrg# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). 67e8340fabSmrgfor as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 68e8340fabSmrgdo eval test \${$as_var+y} \ 69e8340fabSmrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 70e8340fabSmrgdone 71e8340fabSmrg 72e8340fabSmrg# Ensure that fds 0, 1, and 2 are open. 73e8340fabSmrgif (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 74e8340fabSmrgif (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 75e8340fabSmrgif (exec 3>&2) ; then :; else exec 2>/dev/null; fi 76a9a39c43Smrg 77a9a39c43Smrg# The user is always right. 78e8340fabSmrgif ${PATH_SEPARATOR+false} :; then 79a9a39c43Smrg PATH_SEPARATOR=: 80a9a39c43Smrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 81a9a39c43Smrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 82a9a39c43Smrg PATH_SEPARATOR=';' 83a9a39c43Smrg } 84129be1b7Smrgfi 85129be1b7Smrg 86129be1b7Smrg 87a9a39c43Smrg# Find who we are. Look in the path if we contain no directory separator. 88a376accbSmrgas_myself= 89a376accbSmrgcase $0 in #(( 90a9a39c43Smrg *[\\/]* ) as_myself=$0 ;; 91a9a39c43Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 92a9a39c43Smrgfor as_dir in $PATH 93a9a39c43Smrgdo 94a9a39c43Smrg IFS=$as_save_IFS 95e8340fabSmrg case $as_dir in #((( 96e8340fabSmrg '') as_dir=./ ;; 97e8340fabSmrg */) ;; 98e8340fabSmrg *) as_dir=$as_dir/ ;; 99e8340fabSmrg esac 100e8340fabSmrg test -r "$as_dir$0" && as_myself=$as_dir$0 && break 101a376accbSmrg done 102a9a39c43SmrgIFS=$as_save_IFS 103a9a39c43Smrg 104a9a39c43Smrg ;; 105a9a39c43Smrgesac 106a9a39c43Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 107a9a39c43Smrg# in which case we are not to be found in the path. 108a9a39c43Smrgif test "x$as_myself" = x; then 109a9a39c43Smrg as_myself=$0 110a9a39c43Smrgfi 111a9a39c43Smrgif test ! -f "$as_myself"; then 112e8340fabSmrg printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113a376accbSmrg exit 1 114a9a39c43Smrgfi 115a9a39c43Smrg 116a376accbSmrg 117e1670675Smrg# Use a proper internal environment variable to ensure we don't fall 118e1670675Smrg # into an infinite loop, continuously re-executing ourselves. 119e1670675Smrg if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 120e1670675Smrg _as_can_reexec=no; export _as_can_reexec; 121e1670675Smrg # We cannot yet assume a decent shell, so we have to provide a 122e1670675Smrg# neutralization value for shells without unset; and this also 123e1670675Smrg# works around shells that cannot unset nonexistent variables. 124e1670675Smrg# Preserve -v and -x to the replacement shell. 125e1670675SmrgBASH_ENV=/dev/null 126e1670675SmrgENV=/dev/null 127e1670675Smrg(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 128e1670675Smrgcase $- in # (((( 129e1670675Smrg *v*x* | *x*v* ) as_opts=-vx ;; 130e1670675Smrg *v* ) as_opts=-v ;; 131e1670675Smrg *x* ) as_opts=-x ;; 132e1670675Smrg * ) as_opts= ;; 133e1670675Smrgesac 134e1670675Smrgexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 135e1670675Smrg# Admittedly, this is quite paranoid, since all the known shells bail 136e1670675Smrg# out after a failed `exec'. 137e8340fabSmrgprintf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 138e8340fabSmrgexit 255 139e1670675Smrg fi 140e1670675Smrg # We don't want this to propagate to other subprocesses. 141e1670675Smrg { _as_can_reexec=; unset _as_can_reexec;} 142a376accbSmrgif test "x$CONFIG_SHELL" = x; then 143e8340fabSmrg as_bourne_compatible="as_nop=: 144e8340fabSmrgif test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 145e8340fabSmrgthen : 146a376accbSmrg emulate sh 147a376accbSmrg NULLCMD=: 148a376accbSmrg # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 149a376accbSmrg # is contrary to our usage. Disable this feature. 150a376accbSmrg alias -g '\${1+\"\$@\"}'='\"\$@\"' 151a376accbSmrg setopt NO_GLOB_SUBST 152e8340fabSmrgelse \$as_nop 153a376accbSmrg case \`(set -o) 2>/dev/null\` in #( 154a376accbSmrg *posix*) : 155a376accbSmrg set -o posix ;; #( 156a376accbSmrg *) : 157a376accbSmrg ;; 158a376accbSmrgesac 159a376accbSmrgfi 160a376accbSmrg" 161a376accbSmrg as_required="as_fn_return () { (exit \$1); } 162a376accbSmrgas_fn_success () { as_fn_return 0; } 163a376accbSmrgas_fn_failure () { as_fn_return 1; } 164a376accbSmrgas_fn_ret_success () { return 0; } 165a376accbSmrgas_fn_ret_failure () { return 1; } 166a376accbSmrg 167a376accbSmrgexitcode=0 168a376accbSmrgas_fn_success || { exitcode=1; echo as_fn_success failed.; } 169a376accbSmrgas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 170a376accbSmrgas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 171a376accbSmrgas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 172e8340fabSmrgif ( set x; as_fn_ret_success y && test x = \"\$1\" ) 173e8340fabSmrgthen : 174a376accbSmrg 175e8340fabSmrgelse \$as_nop 176a376accbSmrg exitcode=1; echo positional parameters were not saved. 177a376accbSmrgfi 178e1670675Smrgtest x\$exitcode = x0 || exit 1 179e8340fabSmrgblah=\$(echo \$(echo blah)) 180e8340fabSmrgtest x\"\$blah\" = xblah || exit 1 181e1670675Smrgtest -x / || exit 1" 182a376accbSmrg as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 183a376accbSmrg as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 184a376accbSmrg eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 185a376accbSmrg test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 186a376accbSmrgtest \$(( 1 + 1 )) = 2 || exit 1" 187e8340fabSmrg if (eval "$as_required") 2>/dev/null 188e8340fabSmrgthen : 189a376accbSmrg as_have_required=yes 190e8340fabSmrgelse $as_nop 191a376accbSmrg as_have_required=no 192a376accbSmrgfi 193e8340fabSmrg if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null 194e8340fabSmrgthen : 195a376accbSmrg 196e8340fabSmrgelse $as_nop 197a376accbSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 198a376accbSmrgas_found=false 199a376accbSmrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 200a376accbSmrgdo 201a376accbSmrg IFS=$as_save_IFS 202e8340fabSmrg case $as_dir in #((( 203e8340fabSmrg '') as_dir=./ ;; 204e8340fabSmrg */) ;; 205e8340fabSmrg *) as_dir=$as_dir/ ;; 206e8340fabSmrg esac 207a376accbSmrg as_found=: 208a376accbSmrg case $as_dir in #( 209a376accbSmrg /*) 210a376accbSmrg for as_base in sh bash ksh sh5; do 211a376accbSmrg # Try only shells that exist, to save several forks. 212e8340fabSmrg as_shell=$as_dir$as_base 213a376accbSmrg if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 214e8340fabSmrg as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null 215e8340fabSmrgthen : 216a376accbSmrg CONFIG_SHELL=$as_shell as_have_required=yes 217e8340fabSmrg if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null 218e8340fabSmrgthen : 219a376accbSmrg break 2 220a376accbSmrgfi 221a376accbSmrgfi 222a376accbSmrg done;; 223a376accbSmrg esac 224a376accbSmrg as_found=false 225a376accbSmrgdone 226a376accbSmrgIFS=$as_save_IFS 227e8340fabSmrgif $as_found 228e8340fabSmrgthen : 229e8340fabSmrg 230e8340fabSmrgelse $as_nop 231e8340fabSmrg if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 232e8340fabSmrg as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null 233e8340fabSmrgthen : 234e8340fabSmrg CONFIG_SHELL=$SHELL as_have_required=yes 235e8340fabSmrgfi 236e8340fabSmrgfi 237a376accbSmrg 238a376accbSmrg 239e8340fabSmrg if test "x$CONFIG_SHELL" != x 240e8340fabSmrgthen : 241e1670675Smrg export CONFIG_SHELL 242e1670675Smrg # We cannot yet assume a decent shell, so we have to provide a 243e1670675Smrg# neutralization value for shells without unset; and this also 244e1670675Smrg# works around shells that cannot unset nonexistent variables. 245e1670675Smrg# Preserve -v and -x to the replacement shell. 246e1670675SmrgBASH_ENV=/dev/null 247e1670675SmrgENV=/dev/null 248e1670675Smrg(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 249e1670675Smrgcase $- in # (((( 250e1670675Smrg *v*x* | *x*v* ) as_opts=-vx ;; 251e1670675Smrg *v* ) as_opts=-v ;; 252e1670675Smrg *x* ) as_opts=-x ;; 253e1670675Smrg * ) as_opts= ;; 254e1670675Smrgesac 255e1670675Smrgexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 256e1670675Smrg# Admittedly, this is quite paranoid, since all the known shells bail 257e1670675Smrg# out after a failed `exec'. 258e8340fabSmrgprintf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 259e1670675Smrgexit 255 260a376accbSmrgfi 261a376accbSmrg 262e8340fabSmrg if test x$as_have_required = xno 263e8340fabSmrgthen : 264e8340fabSmrg printf "%s\n" "$0: This script requires a shell more modern than all" 265e8340fabSmrg printf "%s\n" "$0: the shells that I found on your system." 266e8340fabSmrg if test ${ZSH_VERSION+y} ; then 267e8340fabSmrg printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should" 268e8340fabSmrg printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later." 269a376accbSmrg else 270e8340fabSmrg printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and 271e8340fabSmrg$0: https://gitlab.freedesktop.org/xorg/data/bitmaps/-/issues 272a376accbSmrg$0: about your system, including any error possibly output 273a376accbSmrg$0: before this message. Then install a modern shell, or 274a376accbSmrg$0: manually run the script under such a shell if you do 275a376accbSmrg$0: have one." 276a376accbSmrg fi 277a376accbSmrg exit 1 278a376accbSmrgfi 279a376accbSmrgfi 280a376accbSmrgfi 281a376accbSmrgSHELL=${CONFIG_SHELL-/bin/sh} 282a376accbSmrgexport SHELL 283a376accbSmrg# Unset more variables known to interfere with behavior of common tools. 284a376accbSmrgCLICOLOR_FORCE= GREP_OPTIONS= 285a376accbSmrgunset CLICOLOR_FORCE GREP_OPTIONS 286a376accbSmrg 287a376accbSmrg## --------------------- ## 288a376accbSmrg## M4sh Shell Functions. ## 289a376accbSmrg## --------------------- ## 290a376accbSmrg# as_fn_unset VAR 291a376accbSmrg# --------------- 292a376accbSmrg# Portably unset VAR. 293a376accbSmrgas_fn_unset () 294a376accbSmrg{ 295a376accbSmrg { eval $1=; unset $1;} 296a376accbSmrg} 297a376accbSmrgas_unset=as_fn_unset 298a376accbSmrg 299e8340fabSmrg 300a376accbSmrg# as_fn_set_status STATUS 301a376accbSmrg# ----------------------- 302a376accbSmrg# Set $? to STATUS, without forking. 303a376accbSmrgas_fn_set_status () 304a376accbSmrg{ 305a376accbSmrg return $1 306a376accbSmrg} # as_fn_set_status 307a376accbSmrg 308a376accbSmrg# as_fn_exit STATUS 309a376accbSmrg# ----------------- 310a376accbSmrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 311a376accbSmrgas_fn_exit () 312a376accbSmrg{ 313a376accbSmrg set +e 314a376accbSmrg as_fn_set_status $1 315a376accbSmrg exit $1 316a376accbSmrg} # as_fn_exit 317e8340fabSmrg# as_fn_nop 318e8340fabSmrg# --------- 319e8340fabSmrg# Do nothing but, unlike ":", preserve the value of $?. 320e8340fabSmrgas_fn_nop () 321e8340fabSmrg{ 322e8340fabSmrg return $? 323e8340fabSmrg} 324e8340fabSmrgas_nop=as_fn_nop 325a376accbSmrg 326a376accbSmrg# as_fn_mkdir_p 327a376accbSmrg# ------------- 328a376accbSmrg# Create "$as_dir" as a directory, including parents if necessary. 329a376accbSmrgas_fn_mkdir_p () 330a376accbSmrg{ 331a376accbSmrg 332a376accbSmrg case $as_dir in #( 333a376accbSmrg -*) as_dir=./$as_dir;; 334a376accbSmrg esac 335a376accbSmrg test -d "$as_dir" || eval $as_mkdir_p || { 336a376accbSmrg as_dirs= 337a376accbSmrg while :; do 338a376accbSmrg case $as_dir in #( 339e8340fabSmrg *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 340a376accbSmrg *) as_qdir=$as_dir;; 341a376accbSmrg esac 342a376accbSmrg as_dirs="'$as_qdir' $as_dirs" 343a376accbSmrg as_dir=`$as_dirname -- "$as_dir" || 344a376accbSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 345a376accbSmrg X"$as_dir" : 'X\(//\)[^/]' \| \ 346a376accbSmrg X"$as_dir" : 'X\(//\)$' \| \ 347a376accbSmrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 348e8340fabSmrgprintf "%s\n" X"$as_dir" | 349a376accbSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 350a376accbSmrg s//\1/ 351a376accbSmrg q 352a376accbSmrg } 353a376accbSmrg /^X\(\/\/\)[^/].*/{ 354a376accbSmrg s//\1/ 355a376accbSmrg q 356a376accbSmrg } 357a376accbSmrg /^X\(\/\/\)$/{ 358a376accbSmrg s//\1/ 359a376accbSmrg q 360a376accbSmrg } 361a376accbSmrg /^X\(\/\).*/{ 362a376accbSmrg s//\1/ 363a376accbSmrg q 364a376accbSmrg } 365a376accbSmrg s/.*/./; q'` 366a376accbSmrg test -d "$as_dir" && break 367a376accbSmrg done 368a376accbSmrg test -z "$as_dirs" || eval "mkdir $as_dirs" 369a376accbSmrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 370a376accbSmrg 371a376accbSmrg 372a376accbSmrg} # as_fn_mkdir_p 373e1670675Smrg 374e1670675Smrg# as_fn_executable_p FILE 375e1670675Smrg# ----------------------- 376e1670675Smrg# Test if FILE is an executable regular file. 377e1670675Smrgas_fn_executable_p () 378e1670675Smrg{ 379e1670675Smrg test -f "$1" && test -x "$1" 380e1670675Smrg} # as_fn_executable_p 381a376accbSmrg# as_fn_append VAR VALUE 382a376accbSmrg# ---------------------- 383a376accbSmrg# Append the text in VALUE to the end of the definition contained in VAR. Take 384a376accbSmrg# advantage of any shell optimizations that allow amortized linear growth over 385a376accbSmrg# repeated appends, instead of the typical quadratic growth present in naive 386a376accbSmrg# implementations. 387e8340fabSmrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 388e8340fabSmrgthen : 389a376accbSmrg eval 'as_fn_append () 390a376accbSmrg { 391a376accbSmrg eval $1+=\$2 392a376accbSmrg }' 393e8340fabSmrgelse $as_nop 394a376accbSmrg as_fn_append () 395a376accbSmrg { 396a376accbSmrg eval $1=\$$1\$2 397a376accbSmrg } 398a376accbSmrgfi # as_fn_append 399a376accbSmrg 400a376accbSmrg# as_fn_arith ARG... 401a376accbSmrg# ------------------ 402a376accbSmrg# Perform arithmetic evaluation on the ARGs, and store the result in the 403a376accbSmrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 404a376accbSmrg# must be portable across $(()) and expr. 405e8340fabSmrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 406e8340fabSmrgthen : 407a376accbSmrg eval 'as_fn_arith () 408a376accbSmrg { 409a376accbSmrg as_val=$(( $* )) 410a376accbSmrg }' 411e8340fabSmrgelse $as_nop 412a376accbSmrg as_fn_arith () 413a376accbSmrg { 414a376accbSmrg as_val=`expr "$@" || test $? -eq 1` 415a376accbSmrg } 416a376accbSmrgfi # as_fn_arith 417a376accbSmrg 418e8340fabSmrg# as_fn_nop 419e8340fabSmrg# --------- 420e8340fabSmrg# Do nothing but, unlike ":", preserve the value of $?. 421e8340fabSmrgas_fn_nop () 422e8340fabSmrg{ 423e8340fabSmrg return $? 424e8340fabSmrg} 425e8340fabSmrgas_nop=as_fn_nop 426a376accbSmrg 427a376accbSmrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 428a376accbSmrg# ---------------------------------------- 429a376accbSmrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 430a376accbSmrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 431a376accbSmrg# script with STATUS, using 1 if that was 0. 432a376accbSmrgas_fn_error () 433a376accbSmrg{ 434a376accbSmrg as_status=$1; test $as_status -eq 0 && as_status=1 435a376accbSmrg if test "$4"; then 436a376accbSmrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 437e8340fabSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 438a376accbSmrg fi 439e8340fabSmrg printf "%s\n" "$as_me: error: $2" >&2 440a376accbSmrg as_fn_exit $as_status 441a376accbSmrg} # as_fn_error 442a376accbSmrg 443a9a39c43Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 444a9a39c43Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 445129be1b7Smrg as_expr=expr 446129be1b7Smrgelse 447129be1b7Smrg as_expr=false 448129be1b7Smrgfi 449129be1b7Smrg 450a9a39c43Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 451129be1b7Smrg as_basename=basename 452129be1b7Smrgelse 453129be1b7Smrg as_basename=false 454129be1b7Smrgfi 455129be1b7Smrg 456a376accbSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 457a376accbSmrg as_dirname=dirname 458a376accbSmrgelse 459a376accbSmrg as_dirname=false 460a376accbSmrgfi 461129be1b7Smrg 462a9a39c43Smrgas_me=`$as_basename -- "$0" || 463129be1b7Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 464129be1b7Smrg X"$0" : 'X\(//\)$' \| \ 465a9a39c43Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 466e8340fabSmrgprintf "%s\n" X/"$0" | 467a9a39c43Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 468a9a39c43Smrg s//\1/ 469a9a39c43Smrg q 470a9a39c43Smrg } 471a9a39c43Smrg /^X\/\(\/\/\)$/{ 472a9a39c43Smrg s//\1/ 473a9a39c43Smrg q 474a9a39c43Smrg } 475a9a39c43Smrg /^X\/\(\/\).*/{ 476a9a39c43Smrg s//\1/ 477a9a39c43Smrg q 478a9a39c43Smrg } 479a9a39c43Smrg s/.*/./; q'` 480129be1b7Smrg 481a376accbSmrg# Avoid depending upon Character Ranges. 482a376accbSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 483a376accbSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 484a376accbSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 485a376accbSmrgas_cr_digits='0123456789' 486a376accbSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits 487129be1b7Smrg 488129be1b7Smrg 489a376accbSmrg as_lineno_1=$LINENO as_lineno_1a=$LINENO 490a376accbSmrg as_lineno_2=$LINENO as_lineno_2a=$LINENO 491a376accbSmrg eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 492a376accbSmrg test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 493a376accbSmrg # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 494a376accbSmrg sed -n ' 495a376accbSmrg p 496a376accbSmrg /[$]LINENO/= 497a376accbSmrg ' <$as_myself | 498a376accbSmrg sed ' 499a376accbSmrg s/[$]LINENO.*/&-/ 500a376accbSmrg t lineno 501a376accbSmrg b 502a376accbSmrg :lineno 503a376accbSmrg N 504a376accbSmrg :loop 505a376accbSmrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 506a376accbSmrg t loop 507a376accbSmrg s/-\n.*// 508a376accbSmrg ' >$as_me.lineno && 509a376accbSmrg chmod +x "$as_me.lineno" || 510e8340fabSmrg { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 511129be1b7Smrg 512e1670675Smrg # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 513e1670675Smrg # already done that, so ensure we don't try to do so again and fall 514e1670675Smrg # in an infinite loop. This has already happened in practice. 515e1670675Smrg _as_can_reexec=no; export _as_can_reexec 516a376accbSmrg # Don't try to exec as it changes $[0], causing all sort of problems 517a376accbSmrg # (the dirname of $[0] is not the place where we might find the 518a376accbSmrg # original and so on. Autoconf is especially sensitive to this). 519a376accbSmrg . "./$as_me.lineno" 520a376accbSmrg # Exit status is that of the last command. 521a376accbSmrg exit 522a9a39c43Smrg} 523129be1b7Smrg 524e8340fabSmrg 525e8340fabSmrg# Determine whether it's possible to make 'echo' print without a newline. 526e8340fabSmrg# These variables are no longer used directly by Autoconf, but are AC_SUBSTed 527e8340fabSmrg# for compatibility with existing Makefiles. 528a376accbSmrgECHO_C= ECHO_N= ECHO_T= 529a376accbSmrgcase `echo -n x` in #((((( 530a376accbSmrg-n*) 531a376accbSmrg case `echo 'xy\c'` in 532a376accbSmrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 533a376accbSmrg xy) ECHO_C='\c';; 534a376accbSmrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 535a376accbSmrg ECHO_T=' ';; 536a376accbSmrg esac;; 537a376accbSmrg*) 538a376accbSmrg ECHO_N='-n';; 539a376accbSmrgesac 540129be1b7Smrg 541e8340fabSmrg# For backward compatibility with old third-party macros, we provide 542e8340fabSmrg# the shell variables $as_echo and $as_echo_n. New code should use 543e8340fabSmrg# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. 544e8340fabSmrgas_echo='printf %s\n' 545e8340fabSmrgas_echo_n='printf %s' 546e8340fabSmrg 547e8340fabSmrg 548a376accbSmrgrm -f conf$$ conf$$.exe conf$$.file 549a376accbSmrgif test -d conf$$.dir; then 550a376accbSmrg rm -f conf$$.dir/conf$$.file 551a376accbSmrgelse 552a376accbSmrg rm -f conf$$.dir 553a376accbSmrg mkdir conf$$.dir 2>/dev/null 554a9a39c43Smrgfi 555a376accbSmrgif (echo >conf$$.file) 2>/dev/null; then 556a376accbSmrg if ln -s conf$$.file conf$$ 2>/dev/null; then 557a376accbSmrg as_ln_s='ln -s' 558a376accbSmrg # ... but there are two gotchas: 559a376accbSmrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 560a376accbSmrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 561e1670675Smrg # In both cases, we have to default to `cp -pR'. 562a376accbSmrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 563e1670675Smrg as_ln_s='cp -pR' 564a376accbSmrg elif ln conf$$.file conf$$ 2>/dev/null; then 565a376accbSmrg as_ln_s=ln 566a376accbSmrg else 567e1670675Smrg as_ln_s='cp -pR' 568a376accbSmrg fi 569a9a39c43Smrgelse 570e1670675Smrg as_ln_s='cp -pR' 571a9a39c43Smrgfi 572a376accbSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 573a376accbSmrgrmdir conf$$.dir 2>/dev/null 574a9a39c43Smrg 575a376accbSmrgif mkdir -p . 2>/dev/null; then 576a376accbSmrg as_mkdir_p='mkdir -p "$as_dir"' 577a376accbSmrgelse 578a376accbSmrg test -d ./-p && rmdir ./-p 579a376accbSmrg as_mkdir_p=false 580a9a39c43Smrgfi 581a9a39c43Smrg 582e1670675Smrgas_test_x='test -x' 583e1670675Smrgas_executable_p=as_fn_executable_p 584a9a39c43Smrg 585a376accbSmrg# Sed expression to map a string onto a valid CPP name. 586a376accbSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 587a9a39c43Smrg 588a376accbSmrg# Sed expression to map a string onto a valid variable name. 589a376accbSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 590a9a39c43Smrg 591a9a39c43Smrg 592a376accbSmrgtest -n "$DJDIR" || exec 7<&0 </dev/null 593a376accbSmrgexec 6>&1 594129be1b7Smrg 595129be1b7Smrg# Name of the host. 596a376accbSmrg# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 597129be1b7Smrg# so uname gets run too. 598129be1b7Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 599129be1b7Smrg 600129be1b7Smrg# 601129be1b7Smrg# Initializations. 602129be1b7Smrg# 603129be1b7Smrgac_default_prefix=/usr/local 604a9a39c43Smrgac_clean_files= 605129be1b7Smrgac_config_libobj_dir=. 606a9a39c43SmrgLIBOBJS= 607129be1b7Smrgcross_compiling=no 608129be1b7Smrgsubdirs= 609129be1b7SmrgMFLAGS= 610129be1b7SmrgMAKEFLAGS= 611129be1b7Smrg 612129be1b7Smrg# Identity of this package. 613129be1b7SmrgPACKAGE_NAME='xbitmaps' 614129be1b7SmrgPACKAGE_TARNAME='xbitmaps' 615e8340fabSmrgPACKAGE_VERSION='1.1.3' 616e8340fabSmrgPACKAGE_STRING='xbitmaps 1.1.3' 617e8340fabSmrgPACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/data/bitmaps/-/issues' 618a376accbSmrgPACKAGE_URL='' 619129be1b7Smrg 620a376accbSmrgac_unique_file="Makefile.am" 621e8340fabSmrgac_subst_vars='LTLIBOBJS 622a9a39c43SmrgLIBOBJS 623a376accbSmrgMAN_SUBSTS 624a376accbSmrgXORG_MAN_PAGE 625a9a39c43SmrgADMIN_MAN_DIR 626a9a39c43SmrgDRIVER_MAN_DIR 627a9a39c43SmrgMISC_MAN_DIR 628a9a39c43SmrgFILE_MAN_DIR 629a9a39c43SmrgLIB_MAN_DIR 630a9a39c43SmrgAPP_MAN_DIR 631a9a39c43SmrgADMIN_MAN_SUFFIX 632a9a39c43SmrgDRIVER_MAN_SUFFIX 633a9a39c43SmrgMISC_MAN_SUFFIX 634a9a39c43SmrgFILE_MAN_SUFFIX 635a9a39c43SmrgLIB_MAN_SUFFIX 636a9a39c43SmrgAPP_MAN_SUFFIX 637a376accbSmrgSED 638a9a39c43Smrghost_os 639a9a39c43Smrghost_vendor 640a9a39c43Smrghost_cpu 641a9a39c43Smrghost 642a9a39c43Smrgbuild_os 643a9a39c43Smrgbuild_vendor 644a9a39c43Smrgbuild_cpu 645a9a39c43Smrgbuild 646a376accbSmrgINSTALL_CMD 647e1670675SmrgPKG_CONFIG_LIBDIR 648e1670675SmrgPKG_CONFIG_PATH 649a376accbSmrgPKG_CONFIG 650a9a39c43SmrgCHANGELOG_CMD 651e1670675SmrgAM_BACKSLASH 652e1670675SmrgAM_DEFAULT_VERBOSITY 653e1670675SmrgAM_DEFAULT_V 654e1670675SmrgAM_V 655e8340fabSmrgCSCOPE 656e8340fabSmrgETAGS 657e8340fabSmrgCTAGS 658a9a39c43Smrgam__untar 659a9a39c43Smrgam__tar 660a9a39c43SmrgAMTAR 661a9a39c43Smrgam__leading_dot 662a9a39c43SmrgSET_MAKE 663a9a39c43SmrgAWK 664a9a39c43Smrgmkdir_p 665a9a39c43SmrgMKDIR_P 666a9a39c43SmrgINSTALL_STRIP_PROGRAM 667a9a39c43SmrgSTRIP 668a9a39c43Smrginstall_sh 669a9a39c43SmrgMAKEINFO 670a9a39c43SmrgAUTOHEADER 671a9a39c43SmrgAUTOMAKE 672a9a39c43SmrgAUTOCONF 673a9a39c43SmrgACLOCAL 674a9a39c43SmrgVERSION 675a9a39c43SmrgPACKAGE 676a9a39c43SmrgCYGPATH_W 677a9a39c43Smrgam__isrc 678a9a39c43SmrgINSTALL_DATA 679a9a39c43SmrgINSTALL_SCRIPT 680a9a39c43SmrgINSTALL_PROGRAM 681a9a39c43Smrgtarget_alias 682a9a39c43Smrghost_alias 683a9a39c43Smrgbuild_alias 684a9a39c43SmrgLIBS 685a9a39c43SmrgECHO_T 686a9a39c43SmrgECHO_N 687a9a39c43SmrgECHO_C 688a9a39c43SmrgDEFS 689a9a39c43Smrgmandir 690a9a39c43Smrglocaledir 691a9a39c43Smrglibdir 692a9a39c43Smrgpsdir 693a9a39c43Smrgpdfdir 694a9a39c43Smrgdvidir 695a9a39c43Smrghtmldir 696a9a39c43Smrginfodir 697a9a39c43Smrgdocdir 698a9a39c43Smrgoldincludedir 699a9a39c43Smrgincludedir 700e8340fabSmrgrunstatedir 701a9a39c43Smrglocalstatedir 702a9a39c43Smrgsharedstatedir 703a9a39c43Smrgsysconfdir 704a9a39c43Smrgdatadir 705a9a39c43Smrgdatarootdir 706a9a39c43Smrglibexecdir 707a9a39c43Smrgsbindir 708a9a39c43Smrgbindir 709a9a39c43Smrgprogram_transform_name 710a9a39c43Smrgprefix 711a9a39c43Smrgexec_prefix 712a376accbSmrgPACKAGE_URL 713a9a39c43SmrgPACKAGE_BUGREPORT 714a9a39c43SmrgPACKAGE_STRING 715a9a39c43SmrgPACKAGE_VERSION 716a9a39c43SmrgPACKAGE_TARNAME 717a9a39c43SmrgPACKAGE_NAME 718a9a39c43SmrgPATH_SEPARATOR 719a9a39c43SmrgSHELL' 720129be1b7Smrgac_subst_files='' 721a9a39c43Smrgac_user_opts=' 722a9a39c43Smrgenable_option_checking 723e1670675Smrgenable_silent_rules 724a9a39c43Smrg' 725a9a39c43Smrg ac_precious_vars='build_alias 726a9a39c43Smrghost_alias 727a9a39c43Smrgtarget_alias 728e1670675SmrgPKG_CONFIG 729e1670675SmrgPKG_CONFIG_PATH 730e1670675SmrgPKG_CONFIG_LIBDIR' 731a9a39c43Smrg 732129be1b7Smrg 733129be1b7Smrg# Initialize some variables set by options. 734129be1b7Smrgac_init_help= 735129be1b7Smrgac_init_version=false 736a9a39c43Smrgac_unrecognized_opts= 737a9a39c43Smrgac_unrecognized_sep= 738129be1b7Smrg# The variables have the same names as the options, with 739129be1b7Smrg# dashes changed to underlines. 740129be1b7Smrgcache_file=/dev/null 741129be1b7Smrgexec_prefix=NONE 742129be1b7Smrgno_create= 743129be1b7Smrgno_recursion= 744129be1b7Smrgprefix=NONE 745129be1b7Smrgprogram_prefix=NONE 746129be1b7Smrgprogram_suffix=NONE 747129be1b7Smrgprogram_transform_name=s,x,x, 748129be1b7Smrgsilent= 749129be1b7Smrgsite= 750129be1b7Smrgsrcdir= 751129be1b7Smrgverbose= 752129be1b7Smrgx_includes=NONE 753129be1b7Smrgx_libraries=NONE 754129be1b7Smrg 755129be1b7Smrg# Installation directory options. 756129be1b7Smrg# These are left unexpanded so users can "make install exec_prefix=/foo" 757129be1b7Smrg# and all the variables that are supposed to be based on exec_prefix 758129be1b7Smrg# by default will actually change. 759129be1b7Smrg# Use braces instead of parens because sh, perl, etc. also accept them. 760a9a39c43Smrg# (The list follows the same order as the GNU Coding Standards.) 761129be1b7Smrgbindir='${exec_prefix}/bin' 762129be1b7Smrgsbindir='${exec_prefix}/sbin' 763129be1b7Smrglibexecdir='${exec_prefix}/libexec' 764a9a39c43Smrgdatarootdir='${prefix}/share' 765a9a39c43Smrgdatadir='${datarootdir}' 766129be1b7Smrgsysconfdir='${prefix}/etc' 767129be1b7Smrgsharedstatedir='${prefix}/com' 768129be1b7Smrglocalstatedir='${prefix}/var' 769e8340fabSmrgrunstatedir='${localstatedir}/run' 770129be1b7Smrgincludedir='${prefix}/include' 771129be1b7Smrgoldincludedir='/usr/include' 772a9a39c43Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 773a9a39c43Smrginfodir='${datarootdir}/info' 774a9a39c43Smrghtmldir='${docdir}' 775a9a39c43Smrgdvidir='${docdir}' 776a9a39c43Smrgpdfdir='${docdir}' 777a9a39c43Smrgpsdir='${docdir}' 778a9a39c43Smrglibdir='${exec_prefix}/lib' 779a9a39c43Smrglocaledir='${datarootdir}/locale' 780a9a39c43Smrgmandir='${datarootdir}/man' 781129be1b7Smrg 782129be1b7Smrgac_prev= 783a9a39c43Smrgac_dashdash= 784129be1b7Smrgfor ac_option 785129be1b7Smrgdo 786129be1b7Smrg # If the previous option needs an argument, assign it. 787129be1b7Smrg if test -n "$ac_prev"; then 788a9a39c43Smrg eval $ac_prev=\$ac_option 789129be1b7Smrg ac_prev= 790129be1b7Smrg continue 791129be1b7Smrg fi 792129be1b7Smrg 793a9a39c43Smrg case $ac_option in 794a376accbSmrg *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 795a376accbSmrg *=) ac_optarg= ;; 796a376accbSmrg *) ac_optarg=yes ;; 797a9a39c43Smrg esac 798129be1b7Smrg 799a9a39c43Smrg case $ac_dashdash$ac_option in 800a9a39c43Smrg --) 801a9a39c43Smrg ac_dashdash=yes ;; 802129be1b7Smrg 803129be1b7Smrg -bindir | --bindir | --bindi | --bind | --bin | --bi) 804129be1b7Smrg ac_prev=bindir ;; 805129be1b7Smrg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 806129be1b7Smrg bindir=$ac_optarg ;; 807129be1b7Smrg 808129be1b7Smrg -build | --build | --buil | --bui | --bu) 809129be1b7Smrg ac_prev=build_alias ;; 810129be1b7Smrg -build=* | --build=* | --buil=* | --bui=* | --bu=*) 811129be1b7Smrg build_alias=$ac_optarg ;; 812129be1b7Smrg 813129be1b7Smrg -cache-file | --cache-file | --cache-fil | --cache-fi \ 814129be1b7Smrg | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 815129be1b7Smrg ac_prev=cache_file ;; 816129be1b7Smrg -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 817129be1b7Smrg | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 818129be1b7Smrg cache_file=$ac_optarg ;; 819129be1b7Smrg 820129be1b7Smrg --config-cache | -C) 821129be1b7Smrg cache_file=config.cache ;; 822129be1b7Smrg 823a9a39c43Smrg -datadir | --datadir | --datadi | --datad) 824129be1b7Smrg ac_prev=datadir ;; 825a9a39c43Smrg -datadir=* | --datadir=* | --datadi=* | --datad=*) 826129be1b7Smrg datadir=$ac_optarg ;; 827129be1b7Smrg 828a9a39c43Smrg -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 829a9a39c43Smrg | --dataroo | --dataro | --datar) 830a9a39c43Smrg ac_prev=datarootdir ;; 831a9a39c43Smrg -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 832a9a39c43Smrg | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 833a9a39c43Smrg datarootdir=$ac_optarg ;; 834a9a39c43Smrg 835129be1b7Smrg -disable-* | --disable-*) 836a9a39c43Smrg ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 837129be1b7Smrg # Reject names that are not valid shell variable names. 838a9a39c43Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 839e8340fabSmrg as_fn_error $? "invalid feature name: \`$ac_useropt'" 840a9a39c43Smrg ac_useropt_orig=$ac_useropt 841e8340fabSmrg ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 842a9a39c43Smrg case $ac_user_opts in 843a9a39c43Smrg *" 844a9a39c43Smrg"enable_$ac_useropt" 845a9a39c43Smrg"*) ;; 846a9a39c43Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 847a9a39c43Smrg ac_unrecognized_sep=', ';; 848a9a39c43Smrg esac 849a9a39c43Smrg eval enable_$ac_useropt=no ;; 850a9a39c43Smrg 851a9a39c43Smrg -docdir | --docdir | --docdi | --doc | --do) 852a9a39c43Smrg ac_prev=docdir ;; 853a9a39c43Smrg -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 854a9a39c43Smrg docdir=$ac_optarg ;; 855a9a39c43Smrg 856a9a39c43Smrg -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 857a9a39c43Smrg ac_prev=dvidir ;; 858a9a39c43Smrg -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 859a9a39c43Smrg dvidir=$ac_optarg ;; 860129be1b7Smrg 861129be1b7Smrg -enable-* | --enable-*) 862a9a39c43Smrg ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 863129be1b7Smrg # Reject names that are not valid shell variable names. 864a9a39c43Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 865e8340fabSmrg as_fn_error $? "invalid feature name: \`$ac_useropt'" 866a9a39c43Smrg ac_useropt_orig=$ac_useropt 867e8340fabSmrg ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 868a9a39c43Smrg case $ac_user_opts in 869a9a39c43Smrg *" 870a9a39c43Smrg"enable_$ac_useropt" 871a9a39c43Smrg"*) ;; 872a9a39c43Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 873a9a39c43Smrg ac_unrecognized_sep=', ';; 874129be1b7Smrg esac 875a9a39c43Smrg eval enable_$ac_useropt=\$ac_optarg ;; 876129be1b7Smrg 877129be1b7Smrg -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 878129be1b7Smrg | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 879129be1b7Smrg | --exec | --exe | --ex) 880129be1b7Smrg ac_prev=exec_prefix ;; 881129be1b7Smrg -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 882129be1b7Smrg | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 883129be1b7Smrg | --exec=* | --exe=* | --ex=*) 884129be1b7Smrg exec_prefix=$ac_optarg ;; 885129be1b7Smrg 886129be1b7Smrg -gas | --gas | --ga | --g) 887129be1b7Smrg # Obsolete; use --with-gas. 888129be1b7Smrg with_gas=yes ;; 889129be1b7Smrg 890129be1b7Smrg -help | --help | --hel | --he | -h) 891129be1b7Smrg ac_init_help=long ;; 892129be1b7Smrg -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 893129be1b7Smrg ac_init_help=recursive ;; 894129be1b7Smrg -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 895129be1b7Smrg ac_init_help=short ;; 896129be1b7Smrg 897129be1b7Smrg -host | --host | --hos | --ho) 898129be1b7Smrg ac_prev=host_alias ;; 899129be1b7Smrg -host=* | --host=* | --hos=* | --ho=*) 900129be1b7Smrg host_alias=$ac_optarg ;; 901129be1b7Smrg 902a9a39c43Smrg -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 903a9a39c43Smrg ac_prev=htmldir ;; 904a9a39c43Smrg -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 905a9a39c43Smrg | --ht=*) 906a9a39c43Smrg htmldir=$ac_optarg ;; 907a9a39c43Smrg 908129be1b7Smrg -includedir | --includedir | --includedi | --included | --include \ 909129be1b7Smrg | --includ | --inclu | --incl | --inc) 910129be1b7Smrg ac_prev=includedir ;; 911129be1b7Smrg -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 912129be1b7Smrg | --includ=* | --inclu=* | --incl=* | --inc=*) 913129be1b7Smrg includedir=$ac_optarg ;; 914129be1b7Smrg 915129be1b7Smrg -infodir | --infodir | --infodi | --infod | --info | --inf) 916129be1b7Smrg ac_prev=infodir ;; 917129be1b7Smrg -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 918129be1b7Smrg infodir=$ac_optarg ;; 919129be1b7Smrg 920129be1b7Smrg -libdir | --libdir | --libdi | --libd) 921129be1b7Smrg ac_prev=libdir ;; 922129be1b7Smrg -libdir=* | --libdir=* | --libdi=* | --libd=*) 923129be1b7Smrg libdir=$ac_optarg ;; 924129be1b7Smrg 925129be1b7Smrg -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 926129be1b7Smrg | --libexe | --libex | --libe) 927129be1b7Smrg ac_prev=libexecdir ;; 928129be1b7Smrg -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 929129be1b7Smrg | --libexe=* | --libex=* | --libe=*) 930129be1b7Smrg libexecdir=$ac_optarg ;; 931129be1b7Smrg 932a9a39c43Smrg -localedir | --localedir | --localedi | --localed | --locale) 933a9a39c43Smrg ac_prev=localedir ;; 934a9a39c43Smrg -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 935a9a39c43Smrg localedir=$ac_optarg ;; 936a9a39c43Smrg 937129be1b7Smrg -localstatedir | --localstatedir | --localstatedi | --localstated \ 938a9a39c43Smrg | --localstate | --localstat | --localsta | --localst | --locals) 939129be1b7Smrg ac_prev=localstatedir ;; 940129be1b7Smrg -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 941a9a39c43Smrg | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 942129be1b7Smrg localstatedir=$ac_optarg ;; 943129be1b7Smrg 944129be1b7Smrg -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 945129be1b7Smrg ac_prev=mandir ;; 946129be1b7Smrg -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 947129be1b7Smrg mandir=$ac_optarg ;; 948129be1b7Smrg 949129be1b7Smrg -nfp | --nfp | --nf) 950129be1b7Smrg # Obsolete; use --without-fp. 951129be1b7Smrg with_fp=no ;; 952129be1b7Smrg 953129be1b7Smrg -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 954129be1b7Smrg | --no-cr | --no-c | -n) 955129be1b7Smrg no_create=yes ;; 956129be1b7Smrg 957129be1b7Smrg -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 958129be1b7Smrg | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 959129be1b7Smrg no_recursion=yes ;; 960129be1b7Smrg 961129be1b7Smrg -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 962129be1b7Smrg | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 963129be1b7Smrg | --oldin | --oldi | --old | --ol | --o) 964129be1b7Smrg ac_prev=oldincludedir ;; 965129be1b7Smrg -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 966129be1b7Smrg | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 967129be1b7Smrg | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 968129be1b7Smrg oldincludedir=$ac_optarg ;; 969129be1b7Smrg 970129be1b7Smrg -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 971129be1b7Smrg ac_prev=prefix ;; 972129be1b7Smrg -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 973129be1b7Smrg prefix=$ac_optarg ;; 974129be1b7Smrg 975129be1b7Smrg -program-prefix | --program-prefix | --program-prefi | --program-pref \ 976129be1b7Smrg | --program-pre | --program-pr | --program-p) 977129be1b7Smrg ac_prev=program_prefix ;; 978129be1b7Smrg -program-prefix=* | --program-prefix=* | --program-prefi=* \ 979129be1b7Smrg | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 980129be1b7Smrg program_prefix=$ac_optarg ;; 981129be1b7Smrg 982129be1b7Smrg -program-suffix | --program-suffix | --program-suffi | --program-suff \ 983129be1b7Smrg | --program-suf | --program-su | --program-s) 984129be1b7Smrg ac_prev=program_suffix ;; 985129be1b7Smrg -program-suffix=* | --program-suffix=* | --program-suffi=* \ 986129be1b7Smrg | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 987129be1b7Smrg program_suffix=$ac_optarg ;; 988129be1b7Smrg 989129be1b7Smrg -program-transform-name | --program-transform-name \ 990129be1b7Smrg | --program-transform-nam | --program-transform-na \ 991129be1b7Smrg | --program-transform-n | --program-transform- \ 992129be1b7Smrg | --program-transform | --program-transfor \ 993129be1b7Smrg | --program-transfo | --program-transf \ 994129be1b7Smrg | --program-trans | --program-tran \ 995129be1b7Smrg | --progr-tra | --program-tr | --program-t) 996129be1b7Smrg ac_prev=program_transform_name ;; 997129be1b7Smrg -program-transform-name=* | --program-transform-name=* \ 998129be1b7Smrg | --program-transform-nam=* | --program-transform-na=* \ 999129be1b7Smrg | --program-transform-n=* | --program-transform-=* \ 1000129be1b7Smrg | --program-transform=* | --program-transfor=* \ 1001129be1b7Smrg | --program-transfo=* | --program-transf=* \ 1002129be1b7Smrg | --program-trans=* | --program-tran=* \ 1003129be1b7Smrg | --progr-tra=* | --program-tr=* | --program-t=*) 1004129be1b7Smrg program_transform_name=$ac_optarg ;; 1005129be1b7Smrg 1006a9a39c43Smrg -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1007a9a39c43Smrg ac_prev=pdfdir ;; 1008a9a39c43Smrg -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1009a9a39c43Smrg pdfdir=$ac_optarg ;; 1010a9a39c43Smrg 1011a9a39c43Smrg -psdir | --psdir | --psdi | --psd | --ps) 1012a9a39c43Smrg ac_prev=psdir ;; 1013a9a39c43Smrg -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1014a9a39c43Smrg psdir=$ac_optarg ;; 1015a9a39c43Smrg 1016129be1b7Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1017129be1b7Smrg | -silent | --silent | --silen | --sile | --sil) 1018129be1b7Smrg silent=yes ;; 1019129be1b7Smrg 1020e8340fabSmrg -runstatedir | --runstatedir | --runstatedi | --runstated \ 1021e8340fabSmrg | --runstate | --runstat | --runsta | --runst | --runs \ 1022e8340fabSmrg | --run | --ru | --r) 1023e8340fabSmrg ac_prev=runstatedir ;; 1024e8340fabSmrg -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 1025e8340fabSmrg | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 1026e8340fabSmrg | --run=* | --ru=* | --r=*) 1027e8340fabSmrg runstatedir=$ac_optarg ;; 1028e8340fabSmrg 1029129be1b7Smrg -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1030129be1b7Smrg ac_prev=sbindir ;; 1031129be1b7Smrg -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1032129be1b7Smrg | --sbi=* | --sb=*) 1033129be1b7Smrg sbindir=$ac_optarg ;; 1034129be1b7Smrg 1035129be1b7Smrg -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1036129be1b7Smrg | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1037129be1b7Smrg | --sharedst | --shareds | --shared | --share | --shar \ 1038129be1b7Smrg | --sha | --sh) 1039129be1b7Smrg ac_prev=sharedstatedir ;; 1040129be1b7Smrg -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1041129be1b7Smrg | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1042129be1b7Smrg | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1043129be1b7Smrg | --sha=* | --sh=*) 1044129be1b7Smrg sharedstatedir=$ac_optarg ;; 1045129be1b7Smrg 1046129be1b7Smrg -site | --site | --sit) 1047129be1b7Smrg ac_prev=site ;; 1048129be1b7Smrg -site=* | --site=* | --sit=*) 1049129be1b7Smrg site=$ac_optarg ;; 1050129be1b7Smrg 1051129be1b7Smrg -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1052129be1b7Smrg ac_prev=srcdir ;; 1053129be1b7Smrg -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1054129be1b7Smrg srcdir=$ac_optarg ;; 1055129be1b7Smrg 1056129be1b7Smrg -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1057129be1b7Smrg | --syscon | --sysco | --sysc | --sys | --sy) 1058129be1b7Smrg ac_prev=sysconfdir ;; 1059129be1b7Smrg -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1060129be1b7Smrg | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1061129be1b7Smrg sysconfdir=$ac_optarg ;; 1062129be1b7Smrg 1063129be1b7Smrg -target | --target | --targe | --targ | --tar | --ta | --t) 1064129be1b7Smrg ac_prev=target_alias ;; 1065129be1b7Smrg -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1066129be1b7Smrg target_alias=$ac_optarg ;; 1067129be1b7Smrg 1068129be1b7Smrg -v | -verbose | --verbose | --verbos | --verbo | --verb) 1069129be1b7Smrg verbose=yes ;; 1070129be1b7Smrg 1071129be1b7Smrg -version | --version | --versio | --versi | --vers | -V) 1072129be1b7Smrg ac_init_version=: ;; 1073129be1b7Smrg 1074129be1b7Smrg -with-* | --with-*) 1075a9a39c43Smrg ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1076129be1b7Smrg # Reject names that are not valid shell variable names. 1077a9a39c43Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1078e8340fabSmrg as_fn_error $? "invalid package name: \`$ac_useropt'" 1079a9a39c43Smrg ac_useropt_orig=$ac_useropt 1080e8340fabSmrg ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 1081a9a39c43Smrg case $ac_user_opts in 1082a9a39c43Smrg *" 1083a9a39c43Smrg"with_$ac_useropt" 1084a9a39c43Smrg"*) ;; 1085a9a39c43Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1086a9a39c43Smrg ac_unrecognized_sep=', ';; 1087129be1b7Smrg esac 1088a9a39c43Smrg eval with_$ac_useropt=\$ac_optarg ;; 1089129be1b7Smrg 1090129be1b7Smrg -without-* | --without-*) 1091a9a39c43Smrg ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1092129be1b7Smrg # Reject names that are not valid shell variable names. 1093a9a39c43Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1094e8340fabSmrg as_fn_error $? "invalid package name: \`$ac_useropt'" 1095a9a39c43Smrg ac_useropt_orig=$ac_useropt 1096e8340fabSmrg ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 1097a9a39c43Smrg case $ac_user_opts in 1098a9a39c43Smrg *" 1099a9a39c43Smrg"with_$ac_useropt" 1100a9a39c43Smrg"*) ;; 1101a9a39c43Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1102a9a39c43Smrg ac_unrecognized_sep=', ';; 1103a9a39c43Smrg esac 1104a9a39c43Smrg eval with_$ac_useropt=no ;; 1105129be1b7Smrg 1106129be1b7Smrg --x) 1107129be1b7Smrg # Obsolete; use --with-x. 1108129be1b7Smrg with_x=yes ;; 1109129be1b7Smrg 1110129be1b7Smrg -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1111129be1b7Smrg | --x-incl | --x-inc | --x-in | --x-i) 1112129be1b7Smrg ac_prev=x_includes ;; 1113129be1b7Smrg -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1114129be1b7Smrg | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1115129be1b7Smrg x_includes=$ac_optarg ;; 1116129be1b7Smrg 1117129be1b7Smrg -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1118129be1b7Smrg | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1119129be1b7Smrg ac_prev=x_libraries ;; 1120129be1b7Smrg -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1121129be1b7Smrg | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1122129be1b7Smrg x_libraries=$ac_optarg ;; 1123129be1b7Smrg 1124a376accbSmrg -*) as_fn_error $? "unrecognized option: \`$ac_option' 1125a376accbSmrgTry \`$0 --help' for more information" 1126129be1b7Smrg ;; 1127129be1b7Smrg 1128129be1b7Smrg *=*) 1129129be1b7Smrg ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1130129be1b7Smrg # Reject names that are not valid shell variable names. 1131a376accbSmrg case $ac_envvar in #( 1132a376accbSmrg '' | [0-9]* | *[!_$as_cr_alnum]* ) 1133a376accbSmrg as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1134a376accbSmrg esac 1135a9a39c43Smrg eval $ac_envvar=\$ac_optarg 1136129be1b7Smrg export $ac_envvar ;; 1137129be1b7Smrg 1138129be1b7Smrg *) 1139129be1b7Smrg # FIXME: should be removed in autoconf 3.0. 1140e8340fabSmrg printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2 1141129be1b7Smrg expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1142e8340fabSmrg printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 1143a376accbSmrg : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1144129be1b7Smrg ;; 1145129be1b7Smrg 1146129be1b7Smrg esac 1147129be1b7Smrgdone 1148129be1b7Smrg 1149129be1b7Smrgif test -n "$ac_prev"; then 1150129be1b7Smrg ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1151a376accbSmrg as_fn_error $? "missing argument to $ac_option" 1152129be1b7Smrgfi 1153129be1b7Smrg 1154a9a39c43Smrgif test -n "$ac_unrecognized_opts"; then 1155a9a39c43Smrg case $enable_option_checking in 1156a9a39c43Smrg no) ;; 1157a376accbSmrg fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1158e8340fabSmrg *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1159129be1b7Smrg esac 1160a9a39c43Smrgfi 1161129be1b7Smrg 1162a9a39c43Smrg# Check all directory arguments for consistency. 1163a9a39c43Smrgfor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1164a9a39c43Smrg datadir sysconfdir sharedstatedir localstatedir includedir \ 1165a9a39c43Smrg oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1166e8340fabSmrg libdir localedir mandir runstatedir 1167129be1b7Smrgdo 1168a9a39c43Smrg eval ac_val=\$$ac_var 1169a9a39c43Smrg # Remove trailing slashes. 1170129be1b7Smrg case $ac_val in 1171a9a39c43Smrg */ ) 1172a9a39c43Smrg ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1173a9a39c43Smrg eval $ac_var=\$ac_val;; 1174a9a39c43Smrg esac 1175a9a39c43Smrg # Be sure to have absolute directory names. 1176a9a39c43Smrg case $ac_val in 1177a9a39c43Smrg [\\/$]* | ?:[\\/]* ) continue;; 1178a9a39c43Smrg NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1179129be1b7Smrg esac 1180a376accbSmrg as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1181129be1b7Smrgdone 1182129be1b7Smrg 1183129be1b7Smrg# There might be people who depend on the old broken behavior: `$host' 1184129be1b7Smrg# used to hold the argument of --host etc. 1185129be1b7Smrg# FIXME: To remove some day. 1186129be1b7Smrgbuild=$build_alias 1187129be1b7Smrghost=$host_alias 1188129be1b7Smrgtarget=$target_alias 1189129be1b7Smrg 1190129be1b7Smrg# FIXME: To remove some day. 1191129be1b7Smrgif test "x$host_alias" != x; then 1192129be1b7Smrg if test "x$build_alias" = x; then 1193129be1b7Smrg cross_compiling=maybe 1194129be1b7Smrg elif test "x$build_alias" != "x$host_alias"; then 1195129be1b7Smrg cross_compiling=yes 1196129be1b7Smrg fi 1197129be1b7Smrgfi 1198129be1b7Smrg 1199129be1b7Smrgac_tool_prefix= 1200129be1b7Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias- 1201129be1b7Smrg 1202129be1b7Smrgtest "$silent" = yes && exec 6>/dev/null 1203129be1b7Smrg 1204129be1b7Smrg 1205a9a39c43Smrgac_pwd=`pwd` && test -n "$ac_pwd" && 1206a9a39c43Smrgac_ls_di=`ls -di .` && 1207a9a39c43Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1208a376accbSmrg as_fn_error $? "working directory cannot be determined" 1209a9a39c43Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1210a376accbSmrg as_fn_error $? "pwd does not report name of working directory" 1211a9a39c43Smrg 1212a9a39c43Smrg 1213129be1b7Smrg# Find the source files, if location was not specified. 1214129be1b7Smrgif test -z "$srcdir"; then 1215129be1b7Smrg ac_srcdir_defaulted=yes 1216a9a39c43Smrg # Try the directory containing this script, then the parent directory. 1217a9a39c43Smrg ac_confdir=`$as_dirname -- "$as_myself" || 1218a9a39c43Smrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1219a9a39c43Smrg X"$as_myself" : 'X\(//\)[^/]' \| \ 1220a9a39c43Smrg X"$as_myself" : 'X\(//\)$' \| \ 1221a9a39c43Smrg X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1222e8340fabSmrgprintf "%s\n" X"$as_myself" | 1223a9a39c43Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1224a9a39c43Smrg s//\1/ 1225a9a39c43Smrg q 1226a9a39c43Smrg } 1227a9a39c43Smrg /^X\(\/\/\)[^/].*/{ 1228a9a39c43Smrg s//\1/ 1229a9a39c43Smrg q 1230a9a39c43Smrg } 1231a9a39c43Smrg /^X\(\/\/\)$/{ 1232a9a39c43Smrg s//\1/ 1233a9a39c43Smrg q 1234a9a39c43Smrg } 1235a9a39c43Smrg /^X\(\/\).*/{ 1236a9a39c43Smrg s//\1/ 1237a9a39c43Smrg q 1238a9a39c43Smrg } 1239a9a39c43Smrg s/.*/./; q'` 1240129be1b7Smrg srcdir=$ac_confdir 1241a9a39c43Smrg if test ! -r "$srcdir/$ac_unique_file"; then 1242129be1b7Smrg srcdir=.. 1243129be1b7Smrg fi 1244129be1b7Smrgelse 1245129be1b7Smrg ac_srcdir_defaulted=no 1246129be1b7Smrgfi 1247a9a39c43Smrgif test ! -r "$srcdir/$ac_unique_file"; then 1248a9a39c43Smrg test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1249a376accbSmrg as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1250129be1b7Smrgfi 1251a9a39c43Smrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1252a9a39c43Smrgac_abs_confdir=`( 1253a376accbSmrg cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1254a9a39c43Smrg pwd)` 1255a9a39c43Smrg# When building in place, set srcdir=. 1256a9a39c43Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then 1257a9a39c43Smrg srcdir=. 1258a9a39c43Smrgfi 1259a9a39c43Smrg# Remove unnecessary trailing slashes from srcdir. 1260a9a39c43Smrg# Double slashes in file names in object file debugging info 1261a9a39c43Smrg# mess up M-x gdb in Emacs. 1262a9a39c43Smrgcase $srcdir in 1263a9a39c43Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1264a9a39c43Smrgesac 1265a9a39c43Smrgfor ac_var in $ac_precious_vars; do 1266a9a39c43Smrg eval ac_env_${ac_var}_set=\${${ac_var}+set} 1267a9a39c43Smrg eval ac_env_${ac_var}_value=\$${ac_var} 1268a9a39c43Smrg eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1269a9a39c43Smrg eval ac_cv_env_${ac_var}_value=\$${ac_var} 1270a9a39c43Smrgdone 1271129be1b7Smrg 1272129be1b7Smrg# 1273129be1b7Smrg# Report the --help message. 1274129be1b7Smrg# 1275129be1b7Smrgif test "$ac_init_help" = "long"; then 1276129be1b7Smrg # Omit some internal or obsolete options to make the list less imposing. 1277129be1b7Smrg # This message is too long to be a string in the A/UX 3.1 sh. 1278129be1b7Smrg cat <<_ACEOF 1279e8340fabSmrg\`configure' configures xbitmaps 1.1.3 to adapt to many kinds of systems. 1280129be1b7Smrg 1281129be1b7SmrgUsage: $0 [OPTION]... [VAR=VALUE]... 1282129be1b7Smrg 1283129be1b7SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as 1284129be1b7SmrgVAR=VALUE. See below for descriptions of some of the useful variables. 1285129be1b7Smrg 1286129be1b7SmrgDefaults for the options are specified in brackets. 1287129be1b7Smrg 1288129be1b7SmrgConfiguration: 1289129be1b7Smrg -h, --help display this help and exit 1290129be1b7Smrg --help=short display options specific to this package 1291129be1b7Smrg --help=recursive display the short help of all the included packages 1292129be1b7Smrg -V, --version display version information and exit 1293a376accbSmrg -q, --quiet, --silent do not print \`checking ...' messages 1294129be1b7Smrg --cache-file=FILE cache test results in FILE [disabled] 1295129be1b7Smrg -C, --config-cache alias for \`--cache-file=config.cache' 1296129be1b7Smrg -n, --no-create do not create output files 1297129be1b7Smrg --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1298129be1b7Smrg 1299129be1b7SmrgInstallation directories: 1300129be1b7Smrg --prefix=PREFIX install architecture-independent files in PREFIX 1301a9a39c43Smrg [$ac_default_prefix] 1302129be1b7Smrg --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1303a9a39c43Smrg [PREFIX] 1304129be1b7Smrg 1305129be1b7SmrgBy default, \`make install' will install all the files in 1306129be1b7Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1307129be1b7Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix', 1308129be1b7Smrgfor instance \`--prefix=\$HOME'. 1309129be1b7Smrg 1310129be1b7SmrgFor better control, use the options below. 1311129be1b7Smrg 1312129be1b7SmrgFine tuning of the installation directories: 1313a9a39c43Smrg --bindir=DIR user executables [EPREFIX/bin] 1314a9a39c43Smrg --sbindir=DIR system admin executables [EPREFIX/sbin] 1315a9a39c43Smrg --libexecdir=DIR program executables [EPREFIX/libexec] 1316a9a39c43Smrg --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1317a9a39c43Smrg --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1318a9a39c43Smrg --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1319e8340fabSmrg --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1320a9a39c43Smrg --libdir=DIR object code libraries [EPREFIX/lib] 1321a9a39c43Smrg --includedir=DIR C header files [PREFIX/include] 1322a9a39c43Smrg --oldincludedir=DIR C header files for non-gcc [/usr/include] 1323a9a39c43Smrg --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1324a9a39c43Smrg --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1325a9a39c43Smrg --infodir=DIR info documentation [DATAROOTDIR/info] 1326a9a39c43Smrg --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1327a9a39c43Smrg --mandir=DIR man documentation [DATAROOTDIR/man] 1328a9a39c43Smrg --docdir=DIR documentation root [DATAROOTDIR/doc/xbitmaps] 1329a9a39c43Smrg --htmldir=DIR html documentation [DOCDIR] 1330a9a39c43Smrg --dvidir=DIR dvi documentation [DOCDIR] 1331a9a39c43Smrg --pdfdir=DIR pdf documentation [DOCDIR] 1332a9a39c43Smrg --psdir=DIR ps documentation [DOCDIR] 1333129be1b7Smrg_ACEOF 1334129be1b7Smrg 1335129be1b7Smrg cat <<\_ACEOF 1336129be1b7Smrg 1337129be1b7SmrgProgram names: 1338129be1b7Smrg --program-prefix=PREFIX prepend PREFIX to installed program names 1339129be1b7Smrg --program-suffix=SUFFIX append SUFFIX to installed program names 1340129be1b7Smrg --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1341a9a39c43Smrg 1342a9a39c43SmrgSystem types: 1343a9a39c43Smrg --build=BUILD configure for building on BUILD [guessed] 1344a9a39c43Smrg --host=HOST cross-compile to build programs to run on HOST [BUILD] 1345129be1b7Smrg_ACEOF 1346129be1b7Smrgfi 1347129be1b7Smrg 1348129be1b7Smrgif test -n "$ac_init_help"; then 1349129be1b7Smrg case $ac_init_help in 1350e8340fabSmrg short | recursive ) echo "Configuration of xbitmaps 1.1.3:";; 1351129be1b7Smrg esac 1352129be1b7Smrg cat <<\_ACEOF 1353129be1b7Smrg 1354129be1b7SmrgOptional Features: 1355a9a39c43Smrg --disable-option-checking ignore unrecognized --enable/--with options 1356129be1b7Smrg --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1357129be1b7Smrg --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1358e1670675Smrg --enable-silent-rules less verbose build output (undo: "make V=1") 1359e1670675Smrg --disable-silent-rules verbose build output (undo: "make V=0") 1360129be1b7Smrg 1361a9a39c43SmrgSome influential environment variables: 1362a376accbSmrg PKG_CONFIG path to pkg-config utility 1363e1670675Smrg PKG_CONFIG_PATH 1364e1670675Smrg directories to add to pkg-config's search path 1365e1670675Smrg PKG_CONFIG_LIBDIR 1366e1670675Smrg path overriding pkg-config's built-in search path 1367a9a39c43Smrg 1368a9a39c43SmrgUse these variables to override the choices made by `configure' or to help 1369a9a39c43Smrgit to find libraries and programs with nonstandard names/locations. 1370a9a39c43Smrg 1371e8340fabSmrgReport bugs to <https://gitlab.freedesktop.org/xorg/data/bitmaps/-/issues>. 1372129be1b7Smrg_ACEOF 1373a9a39c43Smrgac_status=$? 1374129be1b7Smrgfi 1375129be1b7Smrg 1376129be1b7Smrgif test "$ac_init_help" = "recursive"; then 1377129be1b7Smrg # If there are subdirs, report their specific --help. 1378129be1b7Smrg for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1379a9a39c43Smrg test -d "$ac_dir" || 1380a9a39c43Smrg { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1381a9a39c43Smrg continue 1382129be1b7Smrg ac_builddir=. 1383129be1b7Smrg 1384a9a39c43Smrgcase "$ac_dir" in 1385a9a39c43Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1386a9a39c43Smrg*) 1387e8340fabSmrg ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 1388a9a39c43Smrg # A ".." for each directory in $ac_dir_suffix. 1389e8340fabSmrg ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1390a9a39c43Smrg case $ac_top_builddir_sub in 1391a9a39c43Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1392a9a39c43Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1393a9a39c43Smrg esac ;; 1394a9a39c43Smrgesac 1395a9a39c43Smrgac_abs_top_builddir=$ac_pwd 1396a9a39c43Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 1397a9a39c43Smrg# for backward compatibility: 1398a9a39c43Smrgac_top_builddir=$ac_top_build_prefix 1399129be1b7Smrg 1400129be1b7Smrgcase $srcdir in 1401a9a39c43Smrg .) # We are building in place. 1402129be1b7Smrg ac_srcdir=. 1403a9a39c43Smrg ac_top_srcdir=$ac_top_builddir_sub 1404a9a39c43Smrg ac_abs_top_srcdir=$ac_pwd ;; 1405a9a39c43Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 1406129be1b7Smrg ac_srcdir=$srcdir$ac_dir_suffix; 1407a9a39c43Smrg ac_top_srcdir=$srcdir 1408a9a39c43Smrg ac_abs_top_srcdir=$srcdir ;; 1409a9a39c43Smrg *) # Relative name. 1410a9a39c43Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1411a9a39c43Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 1412a9a39c43Smrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1413129be1b7Smrgesac 1414a9a39c43Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1415a9a39c43Smrg 1416a9a39c43Smrg cd "$ac_dir" || { ac_status=$?; continue; } 1417e8340fabSmrg # Check for configure.gnu first; this name is used for a wrapper for 1418e8340fabSmrg # Metaconfig's "Configure" on case-insensitive file systems. 1419a9a39c43Smrg if test -f "$ac_srcdir/configure.gnu"; then 1420a9a39c43Smrg echo && 1421a9a39c43Smrg $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1422a9a39c43Smrg elif test -f "$ac_srcdir/configure"; then 1423a9a39c43Smrg echo && 1424a9a39c43Smrg $SHELL "$ac_srcdir/configure" --help=recursive 1425129be1b7Smrg else 1426e8340fabSmrg printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1427a9a39c43Smrg fi || ac_status=$? 1428a9a39c43Smrg cd "$ac_pwd" || { ac_status=$?; break; } 1429129be1b7Smrg done 1430129be1b7Smrgfi 1431129be1b7Smrg 1432a9a39c43Smrgtest -n "$ac_init_help" && exit $ac_status 1433129be1b7Smrgif $ac_init_version; then 1434129be1b7Smrg cat <<\_ACEOF 1435e8340fabSmrgxbitmaps configure 1.1.3 1436e8340fabSmrggenerated by GNU Autoconf 2.71 1437129be1b7Smrg 1438e8340fabSmrgCopyright (C) 2021 Free Software Foundation, Inc. 1439129be1b7SmrgThis configure script is free software; the Free Software Foundation 1440129be1b7Smrggives unlimited permission to copy, distribute and modify it. 1441129be1b7Smrg_ACEOF 1442a9a39c43Smrg exit 1443129be1b7Smrgfi 1444129be1b7Smrg 1445a376accbSmrg## ------------------------ ## 1446a376accbSmrg## Autoconf initialization. ## 1447a376accbSmrg## ------------------------ ## 1448e8340fabSmrgac_configure_args_raw= 1449e8340fabSmrgfor ac_arg 1450e8340fabSmrgdo 1451e8340fabSmrg case $ac_arg in 1452e8340fabSmrg *\'*) 1453e8340fabSmrg ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1454e8340fabSmrg esac 1455e8340fabSmrg as_fn_append ac_configure_args_raw " '$ac_arg'" 1456e8340fabSmrgdone 1457129be1b7Smrg 1458e8340fabSmrgcase $ac_configure_args_raw in 1459e8340fabSmrg *$as_nl*) 1460e8340fabSmrg ac_safe_unquote= ;; 1461e8340fabSmrg *) 1462e8340fabSmrg ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. 1463e8340fabSmrg ac_unsafe_a="$ac_unsafe_z#~" 1464e8340fabSmrg ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" 1465e8340fabSmrg ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;; 1466e1670675Smrgesac 1467e1670675Smrg 1468a376accbSmrgcat >config.log <<_ACEOF 1469a376accbSmrgThis file contains any messages produced by compilers while 1470a376accbSmrgrunning configure, to aid debugging if configure makes a mistake. 1471a376accbSmrg 1472e8340fabSmrgIt was created by xbitmaps $as_me 1.1.3, which was 1473e8340fabSmrggenerated by GNU Autoconf 2.71. Invocation command line was 1474a376accbSmrg 1475e8340fabSmrg $ $0$ac_configure_args_raw 1476a376accbSmrg 1477a376accbSmrg_ACEOF 1478a376accbSmrgexec 5>>config.log 1479a376accbSmrg{ 1480a376accbSmrgcat <<_ASUNAME 1481a376accbSmrg## --------- ## 1482a376accbSmrg## Platform. ## 1483a376accbSmrg## --------- ## 1484a376accbSmrg 1485a376accbSmrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1486a376accbSmrguname -m = `(uname -m) 2>/dev/null || echo unknown` 1487a376accbSmrguname -r = `(uname -r) 2>/dev/null || echo unknown` 1488a376accbSmrguname -s = `(uname -s) 2>/dev/null || echo unknown` 1489a376accbSmrguname -v = `(uname -v) 2>/dev/null || echo unknown` 1490a376accbSmrg 1491a376accbSmrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1492a376accbSmrg/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1493a376accbSmrg 1494a376accbSmrg/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1495a376accbSmrg/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1496a376accbSmrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1497a376accbSmrg/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1498a376accbSmrg/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1499a376accbSmrg/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1500a376accbSmrg/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1501a376accbSmrg 1502a376accbSmrg_ASUNAME 1503a376accbSmrg 1504a376accbSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1505a376accbSmrgfor as_dir in $PATH 1506129be1b7Smrgdo 1507129be1b7Smrg IFS=$as_save_IFS 1508e8340fabSmrg case $as_dir in #((( 1509e8340fabSmrg '') as_dir=./ ;; 1510e8340fabSmrg */) ;; 1511e8340fabSmrg *) as_dir=$as_dir/ ;; 1512e8340fabSmrg esac 1513e8340fabSmrg printf "%s\n" "PATH: $as_dir" 1514a376accbSmrg done 1515a9a39c43SmrgIFS=$as_save_IFS 1516129be1b7Smrg 1517129be1b7Smrg} >&5 1518129be1b7Smrg 1519129be1b7Smrgcat >&5 <<_ACEOF 1520129be1b7Smrg 1521129be1b7Smrg 1522129be1b7Smrg## ----------- ## 1523129be1b7Smrg## Core tests. ## 1524129be1b7Smrg## ----------- ## 1525129be1b7Smrg 1526129be1b7Smrg_ACEOF 1527129be1b7Smrg 1528129be1b7Smrg 1529129be1b7Smrg# Keep a trace of the command line. 1530129be1b7Smrg# Strip out --no-create and --no-recursion so they do not pile up. 1531129be1b7Smrg# Strip out --silent because we don't want to record it for future runs. 1532129be1b7Smrg# Also quote any args containing shell meta-characters. 1533129be1b7Smrg# Make two passes to allow for proper duplicate-argument suppression. 1534129be1b7Smrgac_configure_args= 1535129be1b7Smrgac_configure_args0= 1536129be1b7Smrgac_configure_args1= 1537129be1b7Smrgac_must_keep_next=false 1538129be1b7Smrgfor ac_pass in 1 2 1539129be1b7Smrgdo 1540129be1b7Smrg for ac_arg 1541129be1b7Smrg do 1542129be1b7Smrg case $ac_arg in 1543129be1b7Smrg -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1544129be1b7Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1545129be1b7Smrg | -silent | --silent | --silen | --sile | --sil) 1546129be1b7Smrg continue ;; 1547a9a39c43Smrg *\'*) 1548e8340fabSmrg ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1549129be1b7Smrg esac 1550129be1b7Smrg case $ac_pass in 1551a376accbSmrg 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1552129be1b7Smrg 2) 1553a376accbSmrg as_fn_append ac_configure_args1 " '$ac_arg'" 1554129be1b7Smrg if test $ac_must_keep_next = true; then 1555129be1b7Smrg ac_must_keep_next=false # Got value, back to normal. 1556129be1b7Smrg else 1557129be1b7Smrg case $ac_arg in 1558129be1b7Smrg *=* | --config-cache | -C | -disable-* | --disable-* \ 1559129be1b7Smrg | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1560129be1b7Smrg | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1561129be1b7Smrg | -with-* | --with-* | -without-* | --without-* | --x) 1562129be1b7Smrg case "$ac_configure_args0 " in 1563129be1b7Smrg "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1564129be1b7Smrg esac 1565129be1b7Smrg ;; 1566129be1b7Smrg -* ) ac_must_keep_next=true ;; 1567129be1b7Smrg esac 1568129be1b7Smrg fi 1569a376accbSmrg as_fn_append ac_configure_args " '$ac_arg'" 1570129be1b7Smrg ;; 1571129be1b7Smrg esac 1572129be1b7Smrg done 1573129be1b7Smrgdone 1574a376accbSmrg{ ac_configure_args0=; unset ac_configure_args0;} 1575a376accbSmrg{ ac_configure_args1=; unset ac_configure_args1;} 1576129be1b7Smrg 1577129be1b7Smrg# When interrupted or exit'd, cleanup temporary files, and complete 1578129be1b7Smrg# config.log. We remove comments because anyway the quotes in there 1579129be1b7Smrg# would cause problems or look ugly. 1580a9a39c43Smrg# WARNING: Use '\'' to represent an apostrophe within the trap. 1581a9a39c43Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1582129be1b7Smrgtrap 'exit_status=$? 1583e8340fabSmrg # Sanitize IFS. 1584e8340fabSmrg IFS=" "" $as_nl" 1585129be1b7Smrg # Save into config.log some information that might help in debugging. 1586129be1b7Smrg { 1587129be1b7Smrg echo 1588129be1b7Smrg 1589e8340fabSmrg printf "%s\n" "## ---------------- ## 1590129be1b7Smrg## Cache variables. ## 1591a376accbSmrg## ---------------- ##" 1592129be1b7Smrg echo 1593129be1b7Smrg # The following way of writing the cache mishandles newlines in values, 1594a9a39c43Smrg( 1595a9a39c43Smrg for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1596a9a39c43Smrg eval ac_val=\$$ac_var 1597a9a39c43Smrg case $ac_val in #( 1598a9a39c43Smrg *${as_nl}*) 1599a9a39c43Smrg case $ac_var in #( 1600e8340fabSmrg *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1601e8340fabSmrgprintf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1602a9a39c43Smrg esac 1603a9a39c43Smrg case $ac_var in #( 1604a9a39c43Smrg _ | IFS | as_nl) ;; #( 1605a9a39c43Smrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1606a376accbSmrg *) { eval $ac_var=; unset $ac_var;} ;; 1607a9a39c43Smrg esac ;; 1608a9a39c43Smrg esac 1609a9a39c43Smrg done 1610129be1b7Smrg (set) 2>&1 | 1611a9a39c43Smrg case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1612a9a39c43Smrg *${as_nl}ac_space=\ *) 1613129be1b7Smrg sed -n \ 1614a9a39c43Smrg "s/'\''/'\''\\\\'\'''\''/g; 1615a9a39c43Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1616a9a39c43Smrg ;; #( 1617129be1b7Smrg *) 1618a9a39c43Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1619129be1b7Smrg ;; 1620a9a39c43Smrg esac | 1621a9a39c43Smrg sort 1622a9a39c43Smrg) 1623129be1b7Smrg echo 1624129be1b7Smrg 1625e8340fabSmrg printf "%s\n" "## ----------------- ## 1626129be1b7Smrg## Output variables. ## 1627a376accbSmrg## ----------------- ##" 1628129be1b7Smrg echo 1629129be1b7Smrg for ac_var in $ac_subst_vars 1630129be1b7Smrg do 1631a9a39c43Smrg eval ac_val=\$$ac_var 1632a9a39c43Smrg case $ac_val in 1633e8340fabSmrg *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1634a9a39c43Smrg esac 1635e8340fabSmrg printf "%s\n" "$ac_var='\''$ac_val'\''" 1636129be1b7Smrg done | sort 1637129be1b7Smrg echo 1638129be1b7Smrg 1639129be1b7Smrg if test -n "$ac_subst_files"; then 1640e8340fabSmrg printf "%s\n" "## ------------------- ## 1641a9a39c43Smrg## File substitutions. ## 1642a376accbSmrg## ------------------- ##" 1643129be1b7Smrg echo 1644129be1b7Smrg for ac_var in $ac_subst_files 1645129be1b7Smrg do 1646a9a39c43Smrg eval ac_val=\$$ac_var 1647a9a39c43Smrg case $ac_val in 1648e8340fabSmrg *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1649a9a39c43Smrg esac 1650e8340fabSmrg printf "%s\n" "$ac_var='\''$ac_val'\''" 1651129be1b7Smrg done | sort 1652129be1b7Smrg echo 1653129be1b7Smrg fi 1654129be1b7Smrg 1655129be1b7Smrg if test -s confdefs.h; then 1656e8340fabSmrg printf "%s\n" "## ----------- ## 1657129be1b7Smrg## confdefs.h. ## 1658a376accbSmrg## ----------- ##" 1659129be1b7Smrg echo 1660a9a39c43Smrg cat confdefs.h 1661129be1b7Smrg echo 1662129be1b7Smrg fi 1663129be1b7Smrg test "$ac_signal" != 0 && 1664e8340fabSmrg printf "%s\n" "$as_me: caught signal $ac_signal" 1665e8340fabSmrg printf "%s\n" "$as_me: exit $exit_status" 1666129be1b7Smrg } >&5 1667a9a39c43Smrg rm -f core *.core core.conftest.* && 1668a9a39c43Smrg rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1669129be1b7Smrg exit $exit_status 1670a9a39c43Smrg' 0 1671129be1b7Smrgfor ac_signal in 1 2 13 15; do 1672a376accbSmrg trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1673129be1b7Smrgdone 1674129be1b7Smrgac_signal=0 1675129be1b7Smrg 1676129be1b7Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed. 1677a9a39c43Smrgrm -f -r conftest* confdefs.h 1678129be1b7Smrg 1679e8340fabSmrgprintf "%s\n" "/* confdefs.h */" > confdefs.h 1680a376accbSmrg 1681129be1b7Smrg# Predefined preprocessor variables. 1682129be1b7Smrg 1683e8340fabSmrgprintf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h 1684129be1b7Smrg 1685e8340fabSmrgprintf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h 1686129be1b7Smrg 1687e8340fabSmrgprintf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h 1688129be1b7Smrg 1689e8340fabSmrgprintf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h 1690129be1b7Smrg 1691e8340fabSmrgprintf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h 1692129be1b7Smrg 1693e8340fabSmrgprintf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h 1694a376accbSmrg 1695129be1b7Smrg 1696129be1b7Smrg# Let the site file select an alternate cache file if it wants to. 1697a9a39c43Smrg# Prefer an explicitly selected file to automatically selected ones. 1698a9a39c43Smrgif test -n "$CONFIG_SITE"; then 1699e8340fabSmrg ac_site_files="$CONFIG_SITE" 1700a9a39c43Smrgelif test "x$prefix" != xNONE; then 1701e8340fabSmrg ac_site_files="$prefix/share/config.site $prefix/etc/config.site" 1702a9a39c43Smrgelse 1703e8340fabSmrg ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1704129be1b7Smrgfi 1705e8340fabSmrg 1706e8340fabSmrgfor ac_site_file in $ac_site_files 1707a9a39c43Smrgdo 1708e8340fabSmrg case $ac_site_file in #( 1709e8340fabSmrg */*) : 1710e8340fabSmrg ;; #( 1711e8340fabSmrg *) : 1712e8340fabSmrg ac_site_file=./$ac_site_file ;; 1713e8340fabSmrgesac 1714e8340fabSmrg if test -f "$ac_site_file" && test -r "$ac_site_file"; then 1715e8340fabSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1716e8340fabSmrgprintf "%s\n" "$as_me: loading site script $ac_site_file" >&6;} 1717129be1b7Smrg sed 's/^/| /' "$ac_site_file" >&5 1718a376accbSmrg . "$ac_site_file" \ 1719e8340fabSmrg || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1720e8340fabSmrgprintf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 1721a376accbSmrgas_fn_error $? "failed to load site script $ac_site_file 1722a376accbSmrgSee \`config.log' for more details" "$LINENO" 5; } 1723129be1b7Smrg fi 1724129be1b7Smrgdone 1725129be1b7Smrg 1726129be1b7Smrgif test -r "$cache_file"; then 1727a376accbSmrg # Some versions of bash will fail to source /dev/null (special files 1728a376accbSmrg # actually), so we avoid doing that. DJGPP emulates it as a regular file. 1729a376accbSmrg if test /dev/null != "$cache_file" && test -f "$cache_file"; then 1730e8340fabSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1731e8340fabSmrgprintf "%s\n" "$as_me: loading cache $cache_file" >&6;} 1732129be1b7Smrg case $cache_file in 1733a9a39c43Smrg [\\/]* | ?:[\\/]* ) . "$cache_file";; 1734a9a39c43Smrg *) . "./$cache_file";; 1735129be1b7Smrg esac 1736129be1b7Smrg fi 1737129be1b7Smrgelse 1738e8340fabSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1739e8340fabSmrgprintf "%s\n" "$as_me: creating cache $cache_file" >&6;} 1740129be1b7Smrg >$cache_file 1741129be1b7Smrgfi 1742129be1b7Smrg 1743e8340fabSmrg 1744e8340fabSmrg# Auxiliary files required by this configure script. 1745e8340fabSmrgac_aux_files="config.guess config.sub missing install-sh" 1746e8340fabSmrg 1747e8340fabSmrg# Locations in which to look for auxiliary files. 1748e8340fabSmrgac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.." 1749e8340fabSmrg 1750e8340fabSmrg# Search for a directory containing all of the required auxiliary files, 1751e8340fabSmrg# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. 1752e8340fabSmrg# If we don't find one directory that contains all the files we need, 1753e8340fabSmrg# we report the set of missing files from the *first* directory in 1754e8340fabSmrg# $ac_aux_dir_candidates and give up. 1755e8340fabSmrgac_missing_aux_files="" 1756e8340fabSmrgac_first_candidate=: 1757e8340fabSmrgprintf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5 1758e8340fabSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1759e8340fabSmrgas_found=false 1760e8340fabSmrgfor as_dir in $ac_aux_dir_candidates 1761e8340fabSmrgdo 1762e8340fabSmrg IFS=$as_save_IFS 1763e8340fabSmrg case $as_dir in #((( 1764e8340fabSmrg '') as_dir=./ ;; 1765e8340fabSmrg */) ;; 1766e8340fabSmrg *) as_dir=$as_dir/ ;; 1767e8340fabSmrg esac 1768e8340fabSmrg as_found=: 1769e8340fabSmrg 1770e8340fabSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 1771e8340fabSmrg ac_aux_dir_found=yes 1772e8340fabSmrg ac_install_sh= 1773e8340fabSmrg for ac_aux in $ac_aux_files 1774e8340fabSmrg do 1775e8340fabSmrg # As a special case, if "install-sh" is required, that requirement 1776e8340fabSmrg # can be satisfied by any of "install-sh", "install.sh", or "shtool", 1777e8340fabSmrg # and $ac_install_sh is set appropriately for whichever one is found. 1778e8340fabSmrg if test x"$ac_aux" = x"install-sh" 1779e8340fabSmrg then 1780e8340fabSmrg if test -f "${as_dir}install-sh"; then 1781e8340fabSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5 1782e8340fabSmrg ac_install_sh="${as_dir}install-sh -c" 1783e8340fabSmrg elif test -f "${as_dir}install.sh"; then 1784e8340fabSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5 1785e8340fabSmrg ac_install_sh="${as_dir}install.sh -c" 1786e8340fabSmrg elif test -f "${as_dir}shtool"; then 1787e8340fabSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5 1788e8340fabSmrg ac_install_sh="${as_dir}shtool install -c" 1789e8340fabSmrg else 1790e8340fabSmrg ac_aux_dir_found=no 1791e8340fabSmrg if $ac_first_candidate; then 1792e8340fabSmrg ac_missing_aux_files="${ac_missing_aux_files} install-sh" 1793e8340fabSmrg else 1794e8340fabSmrg break 1795e8340fabSmrg fi 1796e8340fabSmrg fi 1797e8340fabSmrg else 1798e8340fabSmrg if test -f "${as_dir}${ac_aux}"; then 1799e8340fabSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5 1800e8340fabSmrg else 1801e8340fabSmrg ac_aux_dir_found=no 1802e8340fabSmrg if $ac_first_candidate; then 1803e8340fabSmrg ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}" 1804e8340fabSmrg else 1805e8340fabSmrg break 1806e8340fabSmrg fi 1807e8340fabSmrg fi 1808e8340fabSmrg fi 1809e8340fabSmrg done 1810e8340fabSmrg if test "$ac_aux_dir_found" = yes; then 1811e8340fabSmrg ac_aux_dir="$as_dir" 1812e8340fabSmrg break 1813e8340fabSmrg fi 1814e8340fabSmrg ac_first_candidate=false 1815e8340fabSmrg 1816e8340fabSmrg as_found=false 1817e8340fabSmrgdone 1818e8340fabSmrgIFS=$as_save_IFS 1819e8340fabSmrgif $as_found 1820e8340fabSmrgthen : 1821e8340fabSmrg 1822e8340fabSmrgelse $as_nop 1823e8340fabSmrg as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 1824e8340fabSmrgfi 1825e8340fabSmrg 1826e8340fabSmrg 1827e8340fabSmrg# These three variables are undocumented and unsupported, 1828e8340fabSmrg# and are intended to be withdrawn in a future Autoconf release. 1829e8340fabSmrg# They can cause serious problems if a builder's source tree is in a directory 1830e8340fabSmrg# whose full name contains unusual characters. 1831e8340fabSmrgif test -f "${ac_aux_dir}config.guess"; then 1832e8340fabSmrg ac_config_guess="$SHELL ${ac_aux_dir}config.guess" 1833e8340fabSmrgfi 1834e8340fabSmrgif test -f "${ac_aux_dir}config.sub"; then 1835e8340fabSmrg ac_config_sub="$SHELL ${ac_aux_dir}config.sub" 1836e8340fabSmrgfi 1837e8340fabSmrgif test -f "$ac_aux_dir/configure"; then 1838e8340fabSmrg ac_configure="$SHELL ${ac_aux_dir}configure" 1839e8340fabSmrgfi 1840e8340fabSmrg 1841129be1b7Smrg# Check that the precious variables saved in the cache have kept the same 1842129be1b7Smrg# value. 1843129be1b7Smrgac_cache_corrupted=false 1844a9a39c43Smrgfor ac_var in $ac_precious_vars; do 1845129be1b7Smrg eval ac_old_set=\$ac_cv_env_${ac_var}_set 1846129be1b7Smrg eval ac_new_set=\$ac_env_${ac_var}_set 1847a9a39c43Smrg eval ac_old_val=\$ac_cv_env_${ac_var}_value 1848a9a39c43Smrg eval ac_new_val=\$ac_env_${ac_var}_value 1849129be1b7Smrg case $ac_old_set,$ac_new_set in 1850129be1b7Smrg set,) 1851e8340fabSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1852e8340fabSmrgprintf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1853129be1b7Smrg ac_cache_corrupted=: ;; 1854129be1b7Smrg ,set) 1855e8340fabSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1856e8340fabSmrgprintf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1857129be1b7Smrg ac_cache_corrupted=: ;; 1858129be1b7Smrg ,);; 1859129be1b7Smrg *) 1860129be1b7Smrg if test "x$ac_old_val" != "x$ac_new_val"; then 1861a9a39c43Smrg # differences in whitespace do not lead to failure. 1862a9a39c43Smrg ac_old_val_w=`echo x $ac_old_val` 1863a9a39c43Smrg ac_new_val_w=`echo x $ac_new_val` 1864a9a39c43Smrg if test "$ac_old_val_w" != "$ac_new_val_w"; then 1865e8340fabSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1866e8340fabSmrgprintf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1867a9a39c43Smrg ac_cache_corrupted=: 1868a9a39c43Smrg else 1869e8340fabSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1870e8340fabSmrgprintf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1871a9a39c43Smrg eval $ac_var=\$ac_old_val 1872a9a39c43Smrg fi 1873e8340fabSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1874e8340fabSmrgprintf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;} 1875e8340fabSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 1876e8340fabSmrgprintf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;} 1877129be1b7Smrg fi;; 1878129be1b7Smrg esac 1879129be1b7Smrg # Pass precious variables to config.status. 1880129be1b7Smrg if test "$ac_new_set" = set; then 1881129be1b7Smrg case $ac_new_val in 1882e8340fabSmrg *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1883129be1b7Smrg *) ac_arg=$ac_var=$ac_new_val ;; 1884129be1b7Smrg esac 1885129be1b7Smrg case " $ac_configure_args " in 1886129be1b7Smrg *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1887a376accbSmrg *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1888129be1b7Smrg esac 1889129be1b7Smrg fi 1890129be1b7Smrgdone 1891129be1b7Smrgif $ac_cache_corrupted; then 1892e8340fabSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1893e8340fabSmrgprintf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 1894e8340fabSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 1895e8340fabSmrgprintf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;} 1896e8340fabSmrg as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file' 1897e8340fabSmrg and start over" "$LINENO" 5 1898129be1b7Smrgfi 1899a376accbSmrg## -------------------- ## 1900a376accbSmrg## Main body of script. ## 1901a376accbSmrg## -------------------- ## 1902129be1b7Smrg 1903a9a39c43Smrgac_ext=c 1904a9a39c43Smrgac_cpp='$CPP $CPPFLAGS' 1905a9a39c43Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1906a9a39c43Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1907a9a39c43Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 1908129be1b7Smrg 1909129be1b7Smrg 1910a376accbSmrg 1911a376accbSmrgac_config_headers="$ac_config_headers config.h" 1912a376accbSmrg 1913a376accbSmrg 1914a376accbSmrg# Initialize Automake 1915e8340fabSmrgam__api_version='1.16' 1916a9a39c43Smrg 1917a9a39c43Smrg 1918129be1b7Smrg 1919e8340fabSmrg # Find a good install program. We prefer a C program (faster), 1920129be1b7Smrg# so one script is as good as another. But avoid the broken or 1921129be1b7Smrg# incompatible versions: 1922129be1b7Smrg# SysV /etc/install, /usr/sbin/install 1923129be1b7Smrg# SunOS /usr/etc/install 1924129be1b7Smrg# IRIX /sbin/install 1925129be1b7Smrg# AIX /bin/install 1926129be1b7Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs 1927129be1b7Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1928129be1b7Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1929129be1b7Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1930129be1b7Smrg# OS/2's system install, which has a completely different semantic 1931129be1b7Smrg# ./install, which can be erroneously created by make from ./install.sh. 1932a9a39c43Smrg# Reject install programs that cannot install multiple files. 1933e8340fabSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 1934e8340fabSmrgprintf %s "checking for a BSD-compatible install... " >&6; } 1935129be1b7Smrgif test -z "$INSTALL"; then 1936e8340fabSmrgif test ${ac_cv_path_install+y} 1937e8340fabSmrgthen : 1938e8340fabSmrg printf %s "(cached) " >&6 1939e8340fabSmrgelse $as_nop 1940129be1b7Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1941129be1b7Smrgfor as_dir in $PATH 1942129be1b7Smrgdo 1943129be1b7Smrg IFS=$as_save_IFS 1944e8340fabSmrg case $as_dir in #((( 1945e8340fabSmrg '') as_dir=./ ;; 1946e8340fabSmrg */) ;; 1947e8340fabSmrg *) as_dir=$as_dir/ ;; 1948e8340fabSmrg esac 1949e8340fabSmrg # Account for fact that we put trailing slashes in our PATH walk. 1950e8340fabSmrgcase $as_dir in #(( 1951e8340fabSmrg ./ | /[cC]/* | \ 1952129be1b7Smrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1953a376accbSmrg ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 1954129be1b7Smrg /usr/ucb/* ) ;; 1955129be1b7Smrg *) 1956129be1b7Smrg # OSF1 and SCO ODT 3.0 have their own names for install. 1957129be1b7Smrg # Don't use installbsd from OSF since it installs stuff as root 1958129be1b7Smrg # by default. 1959129be1b7Smrg for ac_prog in ginstall scoinst install; do 1960129be1b7Smrg for ac_exec_ext in '' $ac_executable_extensions; do 1961e8340fabSmrg if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then 1962129be1b7Smrg if test $ac_prog = install && 1963e8340fabSmrg grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1964129be1b7Smrg # AIX install. It has an incompatible calling convention. 1965129be1b7Smrg : 1966129be1b7Smrg elif test $ac_prog = install && 1967e8340fabSmrg grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1968129be1b7Smrg # program-specific install script used by HP pwplus--don't use. 1969129be1b7Smrg : 1970129be1b7Smrg else 1971a9a39c43Smrg rm -rf conftest.one conftest.two conftest.dir 1972a9a39c43Smrg echo one > conftest.one 1973a9a39c43Smrg echo two > conftest.two 1974a9a39c43Smrg mkdir conftest.dir 1975e8340fabSmrg if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" && 1976a9a39c43Smrg test -s conftest.one && test -s conftest.two && 1977a9a39c43Smrg test -s conftest.dir/conftest.one && 1978a9a39c43Smrg test -s conftest.dir/conftest.two 1979a9a39c43Smrg then 1980e8340fabSmrg ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c" 1981a9a39c43Smrg break 3 1982a9a39c43Smrg fi 1983129be1b7Smrg fi 1984129be1b7Smrg fi 1985129be1b7Smrg done 1986129be1b7Smrg done 1987129be1b7Smrg ;; 1988129be1b7Smrgesac 1989a9a39c43Smrg 1990a376accbSmrg done 1991a9a39c43SmrgIFS=$as_save_IFS 1992129be1b7Smrg 1993a9a39c43Smrgrm -rf conftest.one conftest.two conftest.dir 1994129be1b7Smrg 1995129be1b7Smrgfi 1996e8340fabSmrg if test ${ac_cv_path_install+y}; then 1997129be1b7Smrg INSTALL=$ac_cv_path_install 1998129be1b7Smrg else 1999a9a39c43Smrg # As a last resort, use the slow shell script. Don't cache a 2000a9a39c43Smrg # value for INSTALL within a source directory, because that will 2001129be1b7Smrg # break other packages using the cache if that directory is 2002a9a39c43Smrg # removed, or if the value is a relative name. 2003129be1b7Smrg INSTALL=$ac_install_sh 2004129be1b7Smrg fi 2005129be1b7Smrgfi 2006e8340fabSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2007e8340fabSmrgprintf "%s\n" "$INSTALL" >&6; } 2008129be1b7Smrg 2009129be1b7Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2010129be1b7Smrg# It thinks the first close brace ends the variable substitution. 2011129be1b7Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2012129be1b7Smrg 2013129be1b7Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2014129be1b7Smrg 2015129be1b7Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2016129be1b7Smrg 2017e8340fabSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2018e8340fabSmrgprintf %s "checking whether build environment is sane... " >&6; } 2019a9a39c43Smrg# Reject unsafe characters in $srcdir or the absolute working directory 2020a9a39c43Smrg# name. Accept space and tab only in the latter. 2021a9a39c43Smrgam_lf=' 2022a9a39c43Smrg' 2023a9a39c43Smrgcase `pwd` in 2024a9a39c43Smrg *[\\\"\#\$\&\'\`$am_lf]*) 2025a376accbSmrg as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2026a9a39c43Smrgesac 2027a9a39c43Smrgcase $srcdir in 2028a9a39c43Smrg *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2029e1670675Smrg as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2030a9a39c43Smrgesac 2031a9a39c43Smrg 2032e1670675Smrg# Do 'set' in a subshell so we don't clobber the current shell's 2033129be1b7Smrg# arguments. Must try -L first in case configure is actually a 2034129be1b7Smrg# symlink; some systems play weird games with the mod time of symlinks 2035129be1b7Smrg# (eg FreeBSD returns the mod time of the symlink's containing 2036129be1b7Smrg# directory). 2037129be1b7Smrgif ( 2038e1670675Smrg am_has_slept=no 2039e1670675Smrg for am_try in 1 2; do 2040e1670675Smrg echo "timestamp, slept: $am_has_slept" > conftest.file 2041e1670675Smrg set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2042e1670675Smrg if test "$*" = "X"; then 2043e1670675Smrg # -L didn't work. 2044e1670675Smrg set X `ls -t "$srcdir/configure" conftest.file` 2045e1670675Smrg fi 2046e1670675Smrg if test "$*" != "X $srcdir/configure conftest.file" \ 2047e1670675Smrg && test "$*" != "X conftest.file $srcdir/configure"; then 2048e1670675Smrg 2049e1670675Smrg # If neither matched, then we have a broken ls. This can happen 2050e1670675Smrg # if, for instance, CONFIG_SHELL is bash and it inherits a 2051e1670675Smrg # broken ls alias from the environment. This has actually 2052e1670675Smrg # happened. Such a system could not be considered "sane". 2053e1670675Smrg as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2054e1670675Smrg alias in your environment" "$LINENO" 5 2055e1670675Smrg fi 2056e1670675Smrg if test "$2" = conftest.file || test $am_try -eq 2; then 2057e1670675Smrg break 2058e1670675Smrg fi 2059e1670675Smrg # Just in case. 2060e1670675Smrg sleep 1 2061e1670675Smrg am_has_slept=yes 2062e1670675Smrg done 2063129be1b7Smrg test "$2" = conftest.file 2064129be1b7Smrg ) 2065129be1b7Smrgthen 2066129be1b7Smrg # Ok. 2067129be1b7Smrg : 2068129be1b7Smrgelse 2069a376accbSmrg as_fn_error $? "newly created file is older than distributed files! 2070a376accbSmrgCheck your system clock" "$LINENO" 5 2071129be1b7Smrgfi 2072e8340fabSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2073e8340fabSmrgprintf "%s\n" "yes" >&6; } 2074e1670675Smrg# If we didn't sleep, we still need to ensure time stamps of config.status and 2075e1670675Smrg# generated files are strictly newer. 2076e1670675Smrgam_sleep_pid= 2077e1670675Smrgif grep 'slept: no' conftest.file >/dev/null 2>&1; then 2078e1670675Smrg ( sleep 1 ) & 2079e1670675Smrg am_sleep_pid=$! 2080e1670675Smrgfi 2081e1670675Smrg 2082e1670675Smrgrm -f conftest.file 2083e1670675Smrg 2084129be1b7Smrgtest "$program_prefix" != NONE && 2085a9a39c43Smrg program_transform_name="s&^&$program_prefix&;$program_transform_name" 2086129be1b7Smrg# Use a double $ so make ignores it. 2087129be1b7Smrgtest "$program_suffix" != NONE && 2088a9a39c43Smrg program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2089a9a39c43Smrg# Double any \ or $. 2090129be1b7Smrg# By default was `s,x,x', remove it if useless. 2091a9a39c43Smrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2092e8340fabSmrgprogram_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"` 2093e8340fabSmrg 2094129be1b7Smrg 2095e1670675Smrg# Expand $ac_aux_dir to an absolute path. 2096e1670675Smrgam_aux_dir=`cd "$ac_aux_dir" && pwd` 2097129be1b7Smrg 2098e8340fabSmrg 2099e8340fabSmrg if test x"${MISSING+set}" != xset; then 2100e8340fabSmrg MISSING="\${SHELL} '$am_aux_dir/missing'" 2101a9a39c43Smrgfi 2102129be1b7Smrg# Use eval to expand $SHELL 2103e1670675Smrgif eval "$MISSING --is-lightweight"; then 2104e1670675Smrg am_missing_run="$MISSING " 2105129be1b7Smrgelse 2106129be1b7Smrg am_missing_run= 2107e8340fabSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2108e8340fabSmrgprintf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2109a9a39c43Smrgfi 2110a9a39c43Smrg 2111e1670675Smrgif test x"${install_sh+set}" != xset; then 2112a9a39c43Smrg case $am_aux_dir in 2113a9a39c43Smrg *\ * | *\ *) 2114a9a39c43Smrg install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2115a9a39c43Smrg *) 2116a9a39c43Smrg install_sh="\${SHELL} $am_aux_dir/install-sh" 2117a9a39c43Smrg esac 2118a9a39c43Smrgfi 2119a9a39c43Smrg 2120e1670675Smrg# Installed binaries are usually stripped using 'strip' when the user 2121e1670675Smrg# run "make install-strip". However 'strip' might not be the right 2122a9a39c43Smrg# tool to use in cross-compilation environments, therefore Automake 2123e1670675Smrg# will honor the 'STRIP' environment variable to overrule this program. 2124a9a39c43Smrgif test "$cross_compiling" != no; then 2125a9a39c43Smrg if test -n "$ac_tool_prefix"; then 2126a9a39c43Smrg # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2127a9a39c43Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2 2128e8340fabSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2129e8340fabSmrgprintf %s "checking for $ac_word... " >&6; } 2130e8340fabSmrgif test ${ac_cv_prog_STRIP+y} 2131e8340fabSmrgthen : 2132e8340fabSmrg printf %s "(cached) " >&6 2133e8340fabSmrgelse $as_nop 2134a9a39c43Smrg if test -n "$STRIP"; then 2135a9a39c43Smrg ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2136a9a39c43Smrgelse 2137a9a39c43Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2138a9a39c43Smrgfor as_dir in $PATH 2139a9a39c43Smrgdo 2140a9a39c43Smrg IFS=$as_save_IFS 2141e8340fabSmrg case $as_dir in #((( 2142e8340fabSmrg '') as_dir=./ ;; 2143e8340fabSmrg */) ;; 2144e8340fabSmrg *) as_dir=$as_dir/ ;; 2145e8340fabSmrg esac 2146a376accbSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2147e8340fabSmrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2148a9a39c43Smrg ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2149e8340fabSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2150a9a39c43Smrg break 2 2151a9a39c43Smrg fi 2152a9a39c43Smrgdone 2153a376accbSmrg done 2154a9a39c43SmrgIFS=$as_save_IFS 2155a9a39c43Smrg 2156a9a39c43Smrgfi 2157a9a39c43Smrgfi 2158a9a39c43SmrgSTRIP=$ac_cv_prog_STRIP 2159a9a39c43Smrgif test -n "$STRIP"; then 2160e8340fabSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2161e8340fabSmrgprintf "%s\n" "$STRIP" >&6; } 2162a9a39c43Smrgelse 2163e8340fabSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2164e8340fabSmrgprintf "%s\n" "no" >&6; } 2165a9a39c43Smrgfi 2166a9a39c43Smrg 2167a9a39c43Smrg 2168a9a39c43Smrgfi 2169a9a39c43Smrgif test -z "$ac_cv_prog_STRIP"; then 2170a9a39c43Smrg ac_ct_STRIP=$STRIP 2171a9a39c43Smrg # Extract the first word of "strip", so it can be a program name with args. 2172a9a39c43Smrgset dummy strip; ac_word=$2 2173e8340fabSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2174e8340fabSmrgprintf %s "checking for $ac_word... " >&6; } 2175e8340fabSmrgif test ${ac_cv_prog_ac_ct_STRIP+y} 2176e8340fabSmrgthen : 2177e8340fabSmrg printf %s "(cached) " >&6 2178e8340fabSmrgelse $as_nop 2179a9a39c43Smrg if test -n "$ac_ct_STRIP"; then 2180a9a39c43Smrg ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2181a9a39c43Smrgelse 2182a9a39c43Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2183a9a39c43Smrgfor as_dir in $PATH 2184a9a39c43Smrgdo 2185a9a39c43Smrg IFS=$as_save_IFS 2186e8340fabSmrg case $as_dir in #((( 2187e8340fabSmrg '') as_dir=./ ;; 2188e8340fabSmrg */) ;; 2189e8340fabSmrg *) as_dir=$as_dir/ ;; 2190e8340fabSmrg esac 2191a376accbSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2192e8340fabSmrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2193a9a39c43Smrg ac_cv_prog_ac_ct_STRIP="strip" 2194e8340fabSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2195a9a39c43Smrg break 2 2196a9a39c43Smrg fi 2197a9a39c43Smrgdone 2198a376accbSmrg done 2199a9a39c43SmrgIFS=$as_save_IFS 2200a9a39c43Smrg 2201a9a39c43Smrgfi 2202a9a39c43Smrgfi 2203a9a39c43Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2204a9a39c43Smrgif test -n "$ac_ct_STRIP"; then 2205e8340fabSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2206e8340fabSmrgprintf "%s\n" "$ac_ct_STRIP" >&6; } 2207a9a39c43Smrgelse 2208e8340fabSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2209e8340fabSmrgprintf "%s\n" "no" >&6; } 2210a9a39c43Smrgfi 2211a9a39c43Smrg 2212a9a39c43Smrg if test "x$ac_ct_STRIP" = x; then 2213a9a39c43Smrg STRIP=":" 2214a9a39c43Smrg else 2215a9a39c43Smrg case $cross_compiling:$ac_tool_warned in 2216a9a39c43Smrgyes:) 2217e8340fabSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2218e8340fabSmrgprintf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2219a9a39c43Smrgac_tool_warned=yes ;; 2220a9a39c43Smrgesac 2221a9a39c43Smrg STRIP=$ac_ct_STRIP 2222a9a39c43Smrg fi 2223a9a39c43Smrgelse 2224a9a39c43Smrg STRIP="$ac_cv_prog_STRIP" 2225a9a39c43Smrgfi 2226a9a39c43Smrg 2227a9a39c43Smrgfi 2228a9a39c43SmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2229a9a39c43Smrg 2230e8340fabSmrg 2231e8340fabSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5 2232e8340fabSmrgprintf %s "checking for a race-free mkdir -p... " >&6; } 2233a9a39c43Smrgif test -z "$MKDIR_P"; then 2234e8340fabSmrg if test ${ac_cv_path_mkdir+y} 2235e8340fabSmrgthen : 2236e8340fabSmrg printf %s "(cached) " >&6 2237e8340fabSmrgelse $as_nop 2238a9a39c43Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2239a9a39c43Smrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2240a9a39c43Smrgdo 2241a9a39c43Smrg IFS=$as_save_IFS 2242e8340fabSmrg case $as_dir in #((( 2243e8340fabSmrg '') as_dir=./ ;; 2244e8340fabSmrg */) ;; 2245e8340fabSmrg *) as_dir=$as_dir/ ;; 2246e8340fabSmrg esac 2247a376accbSmrg for ac_prog in mkdir gmkdir; do 2248a9a39c43Smrg for ac_exec_ext in '' $ac_executable_extensions; do 2249e8340fabSmrg as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue 2250e8340fabSmrg case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #( 2251e8340fabSmrg 'mkdir ('*'coreutils) '* | \ 2252e8340fabSmrg 'BusyBox '* | \ 2253a9a39c43Smrg 'mkdir (fileutils) '4.1*) 2254e8340fabSmrg ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext 2255a9a39c43Smrg break 3;; 2256a9a39c43Smrg esac 2257a9a39c43Smrg done 2258a9a39c43Smrg done 2259a376accbSmrg done 2260a9a39c43SmrgIFS=$as_save_IFS 2261a9a39c43Smrg 2262a9a39c43Smrgfi 2263a9a39c43Smrg 2264a376accbSmrg test -d ./--version && rmdir ./--version 2265e8340fabSmrg if test ${ac_cv_path_mkdir+y}; then 2266a9a39c43Smrg MKDIR_P="$ac_cv_path_mkdir -p" 2267a9a39c43Smrg else 2268a9a39c43Smrg # As a last resort, use the slow shell script. Don't cache a 2269a9a39c43Smrg # value for MKDIR_P within a source directory, because that will 2270a9a39c43Smrg # break other packages using the cache if that directory is 2271a9a39c43Smrg # removed, or if the value is a relative name. 2272a9a39c43Smrg MKDIR_P="$ac_install_sh -d" 2273a9a39c43Smrg fi 2274129be1b7Smrgfi 2275e8340fabSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2276e8340fabSmrgprintf "%s\n" "$MKDIR_P" >&6; } 2277a9a39c43Smrg 2278129be1b7Smrgfor ac_prog in gawk mawk nawk awk 2279129be1b7Smrgdo 2280129be1b7Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 2281129be1b7Smrgset dummy $ac_prog; ac_word=$2 2282e8340fabSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2283e8340fabSmrgprintf %s "checking for $ac_word... " >&6; } 2284e8340fabSmrgif test ${ac_cv_prog_AWK+y} 2285e8340fabSmrgthen : 2286e8340fabSmrg printf %s "(cached) " >&6 2287e8340fabSmrgelse $as_nop 2288129be1b7Smrg if test -n "$AWK"; then 2289129be1b7Smrg ac_cv_prog_AWK="$AWK" # Let the user override the test. 2290129be1b7Smrgelse 2291129be1b7Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2292129be1b7Smrgfor as_dir in $PATH 2293129be1b7Smrgdo 2294129be1b7Smrg IFS=$as_save_IFS 2295e8340fabSmrg case $as_dir in #((( 2296e8340fabSmrg '') as_dir=./ ;; 2297e8340fabSmrg */) ;; 2298e8340fabSmrg *) as_dir=$as_dir/ ;; 2299e8340fabSmrg esac 2300a376accbSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2301e8340fabSmrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2302129be1b7Smrg ac_cv_prog_AWK="$ac_prog" 2303e8340fabSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2304129be1b7Smrg break 2 2305129be1b7Smrg fi 2306129be1b7Smrgdone 2307a376accbSmrg done 2308a9a39c43SmrgIFS=$as_save_IFS 2309129be1b7Smrg 2310129be1b7Smrgfi 2311129be1b7Smrgfi 2312129be1b7SmrgAWK=$ac_cv_prog_AWK 2313129be1b7Smrgif test -n "$AWK"; then 2314e8340fabSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2315e8340fabSmrgprintf "%s\n" "$AWK" >&6; } 2316129be1b7Smrgelse 2317e8340fabSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2318e8340fabSmrgprintf "%s\n" "no" >&6; } 2319129be1b7Smrgfi 2320129be1b7Smrg 2321a9a39c43Smrg 2322129be1b7Smrg test -n "$AWK" && break 2323129be1b7Smrgdone 2324129be1b7Smrg 2325e8340fabSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2326e8340fabSmrgprintf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2327a9a39c43Smrgset x ${MAKE-make} 2328e8340fabSmrgac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2329e8340fabSmrgif eval test \${ac_cv_prog_make_${ac_make}_set+y} 2330e8340fabSmrgthen : 2331e8340fabSmrg printf %s "(cached) " >&6 2332e8340fabSmrgelse $as_nop 2333129be1b7Smrg cat >conftest.make <<\_ACEOF 2334a9a39c43SmrgSHELL = /bin/sh 2335129be1b7Smrgall: 2336a9a39c43Smrg @echo '@@@%%%=$(MAKE)=@@@%%%' 2337129be1b7Smrg_ACEOF 2338a376accbSmrg# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2339a9a39c43Smrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in 2340a9a39c43Smrg *@@@%%%=?*=@@@%%%*) 2341a9a39c43Smrg eval ac_cv_prog_make_${ac_make}_set=yes;; 2342a9a39c43Smrg *) 2343a9a39c43Smrg eval ac_cv_prog_make_${ac_make}_set=no;; 2344a9a39c43Smrgesac 2345129be1b7Smrgrm -f conftest.make 2346129be1b7Smrgfi 2347a9a39c43Smrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2348e8340fabSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2349e8340fabSmrgprintf "%s\n" "yes" >&6; } 2350129be1b7Smrg SET_MAKE= 2351129be1b7Smrgelse 2352e8340fabSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2353e8340fabSmrgprintf "%s\n" "no" >&6; } 2354129be1b7Smrg SET_MAKE="MAKE=${MAKE-make}" 2355129be1b7Smrgfi 2356129be1b7Smrg 2357129be1b7Smrgrm -rf .tst 2>/dev/null 2358129be1b7Smrgmkdir .tst 2>/dev/null 2359129be1b7Smrgif test -d .tst; then 2360129be1b7Smrg am__leading_dot=. 2361129be1b7Smrgelse 2362129be1b7Smrg am__leading_dot=_ 2363129be1b7Smrgfi 2364129be1b7Smrgrmdir .tst 2>/dev/null 2365129be1b7Smrg 2366e1670675Smrg# Check whether --enable-silent-rules was given. 2367e8340fabSmrgif test ${enable_silent_rules+y} 2368e8340fabSmrgthen : 2369e1670675Smrg enableval=$enable_silent_rules; 2370e1670675Smrgfi 2371e1670675Smrg 2372e1670675Smrgcase $enable_silent_rules in # ((( 2373e1670675Smrg yes) AM_DEFAULT_VERBOSITY=0;; 2374e1670675Smrg no) AM_DEFAULT_VERBOSITY=1;; 2375e1670675Smrg *) AM_DEFAULT_VERBOSITY=1;; 2376e1670675Smrgesac 2377e1670675Smrgam_make=${MAKE-make} 2378e8340fabSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2379e8340fabSmrgprintf %s "checking whether $am_make supports nested variables... " >&6; } 2380e8340fabSmrgif test ${am_cv_make_support_nested_variables+y} 2381e8340fabSmrgthen : 2382e8340fabSmrg printf %s "(cached) " >&6 2383e8340fabSmrgelse $as_nop 2384e8340fabSmrg if printf "%s\n" 'TRUE=$(BAR$(V)) 2385e1670675SmrgBAR0=false 2386e1670675SmrgBAR1=true 2387e1670675SmrgV=1 2388e1670675Smrgam__doit: 2389e1670675Smrg @$(TRUE) 2390e1670675Smrg.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2391e1670675Smrg am_cv_make_support_nested_variables=yes 2392e1670675Smrgelse 2393e1670675Smrg am_cv_make_support_nested_variables=no 2394e1670675Smrgfi 2395e1670675Smrgfi 2396e8340fabSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2397e8340fabSmrgprintf "%s\n" "$am_cv_make_support_nested_variables" >&6; } 2398e1670675Smrgif test $am_cv_make_support_nested_variables = yes; then 2399e1670675Smrg AM_V='$(V)' 2400e1670675Smrg AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2401e1670675Smrgelse 2402e1670675Smrg AM_V=$AM_DEFAULT_VERBOSITY 2403e1670675Smrg AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2404e1670675Smrgfi 2405e1670675SmrgAM_BACKSLASH='\' 2406e1670675Smrg 2407a9a39c43Smrgif test "`cd $srcdir && pwd`" != "`pwd`"; then 2408a9a39c43Smrg # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2409a9a39c43Smrg # is not polluted with repeated "-I." 2410a9a39c43Smrg am__isrc=' -I$(srcdir)' 2411a9a39c43Smrg # test to see if srcdir already configured 2412a9a39c43Smrg if test -f $srcdir/config.status; then 2413a376accbSmrg as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2414a9a39c43Smrg fi 2415129be1b7Smrgfi 2416129be1b7Smrg 2417129be1b7Smrg# test whether we have cygpath 2418129be1b7Smrgif test -z "$CYGPATH_W"; then 2419129be1b7Smrg if (cygpath --version) >/dev/null 2>/dev/null; then 2420129be1b7Smrg CYGPATH_W='cygpath -w' 2421129be1b7Smrg else 2422129be1b7Smrg CYGPATH_W=echo 2423129be1b7Smrg fi 2424129be1b7Smrgfi 2425129be1b7Smrg 2426129be1b7Smrg 2427129be1b7Smrg# Define the identity of the package. 2428129be1b7Smrg PACKAGE='xbitmaps' 2429e8340fabSmrg VERSION='1.1.3' 2430129be1b7Smrg 2431129be1b7Smrg 2432e8340fabSmrgprintf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h 2433129be1b7Smrg 2434129be1b7Smrg 2435e8340fabSmrgprintf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h 2436129be1b7Smrg 2437129be1b7Smrg# Some tools Automake needs. 2438129be1b7Smrg 2439129be1b7SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2440129be1b7Smrg 2441129be1b7Smrg 2442129be1b7SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2443129be1b7Smrg 2444129be1b7Smrg 2445129be1b7SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2446129be1b7Smrg 2447129be1b7Smrg 2448129be1b7SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2449129be1b7Smrg 2450129be1b7Smrg 2451129be1b7SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2452129be1b7Smrg 2453e1670675Smrg# For better backward compatibility. To be removed once Automake 1.9.x 2454e1670675Smrg# dies out for good. For more background, see: 2455e8340fabSmrg# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2456e8340fabSmrg# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2457e1670675Smrgmkdir_p='$(MKDIR_P)' 2458129be1b7Smrg 2459e1670675Smrg# We need awk for the "check" target (and possibly the TAP driver). The 2460e1670675Smrg# system "awk" is bad on some platforms. 2461e1670675Smrg# Always define AMTAR for backward compatibility. Yes, it's still used 2462e1670675Smrg# in the wild :-( We should find a proper way to deprecate it ... 2463e1670675SmrgAMTAR='$${TAR-tar}' 2464129be1b7Smrg 2465129be1b7Smrg 2466e1670675Smrg# We'll loop over all known methods to create a tar archive until one works. 2467e1670675Smrg_am_tools='gnutar pax cpio none' 2468a9a39c43Smrg 2469e1670675Smrgam__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 2470a9a39c43Smrg 2471a9a39c43Smrg 2472a9a39c43Smrg 2473a9a39c43Smrg 2474a9a39c43Smrg 2475e8340fabSmrg# Variables for tags utilities; see am/tags.am 2476e8340fabSmrgif test -z "$CTAGS"; then 2477e8340fabSmrg CTAGS=ctags 2478e8340fabSmrgfi 2479e8340fabSmrg 2480e8340fabSmrgif test -z "$ETAGS"; then 2481e8340fabSmrg ETAGS=etags 2482e8340fabSmrgfi 2483e8340fabSmrg 2484e8340fabSmrgif test -z "$CSCOPE"; then 2485e8340fabSmrg CSCOPE=cscope 2486e8340fabSmrgfi 2487e8340fabSmrg 2488e8340fabSmrg 2489a9a39c43Smrg 2490e1670675Smrg# POSIX will say in a future version that running "rm -f" with no argument 2491e1670675Smrg# is OK; and we want to be able to make that assumption in our Makefile 2492e1670675Smrg# recipes. So use an aggressive probe to check that the usage we want is 2493e1670675Smrg# actually supported "in the wild" to an acceptable degree. 2494e1670675Smrg# See automake bug#10828. 2495e1670675Smrg# To make any issue more visible, cause the running configure to be aborted 2496e1670675Smrg# by default if the 'rm' program in use doesn't match our expectations; the 2497e1670675Smrg# user can still override this though. 2498e1670675Smrgif rm -f && rm -fr && rm -rf; then : OK; else 2499e1670675Smrg cat >&2 <<'END' 2500e1670675SmrgOops! 2501e1670675Smrg 2502e1670675SmrgYour 'rm' program seems unable to run without file operands specified 2503e1670675Smrgon the command line, even when the '-f' option is present. This is contrary 2504e1670675Smrgto the behaviour of most rm programs out there, and not conforming with 2505e1670675Smrgthe upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 2506e1670675Smrg 2507e1670675SmrgPlease tell bug-automake@gnu.org about your system, including the value 2508e1670675Smrgof your $PATH and any error possibly output before this message. This 2509e1670675Smrgcan help us improve future automake versions. 2510e1670675Smrg 2511e1670675SmrgEND 2512e1670675Smrg if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 2513e1670675Smrg echo 'Configuration will proceed anyway, since you have set the' >&2 2514e1670675Smrg echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 2515e1670675Smrg echo >&2 2516e1670675Smrg else 2517e1670675Smrg cat >&2 <<'END' 2518e1670675SmrgAborting the configuration process, to ensure you take notice of the issue. 2519e1670675Smrg 2520e1670675SmrgYou can download and install GNU coreutils to get an 'rm' implementation 2521e8340fabSmrgthat behaves properly: <https://www.gnu.org/software/coreutils/>. 2522e1670675Smrg 2523e1670675SmrgIf you want to complete the configuration process using your problematic 2524e1670675Smrg'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 2525e1670675Smrgto "yes", and re-run configure. 2526a9a39c43Smrg 2527e1670675SmrgEND 2528e1670675Smrg as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 2529e1670675Smrg fi 2530e1670675Smrgfi 2531a9a39c43Smrg 2532a9a39c43Smrg 2533e8340fabSmrg# Require xorg-macros 1.20 or later: XORG_DEFAULT_NOCODE_OPTIONS 2534a9a39c43Smrg 2535a9a39c43Smrg 2536a9a39c43Smrg 2537a9a39c43Smrg 2538a9a39c43Smrg 2539a9a39c43Smrg 2540a9a39c43Smrg 2541a9a39c43Smrg 2542a9a39c43Smrg 2543a9a39c43Smrg 2544a9a39c43Smrg 2545a9a39c43Smrg 2546a9a39c43Smrg 2547a9a39c43Smrg 2548a9a39c43Smrg 2549a9a39c43Smrg 2550a9a39c43Smrg 2551a9a39c43Smrg 2552e8340fabSmrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 2553e8340fabSmrg if test -n "$ac_tool_prefix"; then 2554e8340fabSmrg # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 2555e8340fabSmrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2 2556e8340fabSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2557e8340fabSmrgprintf %s "checking for $ac_word... " >&6; } 2558e8340fabSmrgif test ${ac_cv_path_PKG_CONFIG+y} 2559e8340fabSmrgthen : 2560e8340fabSmrg printf %s "(cached) " >&6 2561e8340fabSmrgelse $as_nop 2562e8340fabSmrg case $PKG_CONFIG in 2563e8340fabSmrg [\\/]* | ?:[\\/]*) 2564e8340fabSmrg ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 2565e8340fabSmrg ;; 2566e8340fabSmrg *) 2567e8340fabSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2568129be1b7Smrgfor as_dir in $PATH 2569129be1b7Smrgdo 2570129be1b7Smrg IFS=$as_save_IFS 2571e8340fabSmrg case $as_dir in #((( 2572e8340fabSmrg '') as_dir=./ ;; 2573e8340fabSmrg */) ;; 2574e8340fabSmrg *) as_dir=$as_dir/ ;; 2575e8340fabSmrg esac 2576a376accbSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2577e8340fabSmrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2578e8340fabSmrg ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" 2579e8340fabSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2580129be1b7Smrg break 2 2581129be1b7Smrg fi 2582129be1b7Smrgdone 2583a376accbSmrg done 2584a9a39c43SmrgIFS=$as_save_IFS 2585129be1b7Smrg 2586e8340fabSmrg ;; 2587e8340fabSmrgesac 2588129be1b7Smrgfi 2589e8340fabSmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG 2590e8340fabSmrgif test -n "$PKG_CONFIG"; then 2591e8340fabSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 2592e8340fabSmrgprintf "%s\n" "$PKG_CONFIG" >&6; } 2593129be1b7Smrgelse 2594e8340fabSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2595e8340fabSmrgprintf "%s\n" "no" >&6; } 2596129be1b7Smrgfi 2597129be1b7Smrg 2598a9a39c43Smrg 2599129be1b7Smrgfi 2600e8340fabSmrgif test -z "$ac_cv_path_PKG_CONFIG"; then 2601e8340fabSmrg ac_pt_PKG_CONFIG=$PKG_CONFIG 2602e8340fabSmrg # Extract the first word of "pkg-config", so it can be a program name with args. 2603e8340fabSmrgset dummy pkg-config; ac_word=$2 2604e8340fabSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2605e8340fabSmrgprintf %s "checking for $ac_word... " >&6; } 2606e8340fabSmrgif test ${ac_cv_path_ac_pt_PKG_CONFIG+y} 2607e8340fabSmrgthen : 2608e8340fabSmrg printf %s "(cached) " >&6 2609e8340fabSmrgelse $as_nop 2610e8340fabSmrg case $ac_pt_PKG_CONFIG in 2611e8340fabSmrg [\\/]* | ?:[\\/]*) 2612e8340fabSmrg ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 2613e8340fabSmrg ;; 2614e8340fabSmrg *) 2615e8340fabSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2616e8340fabSmrgfor as_dir in $PATH 2617e8340fabSmrgdo 2618e8340fabSmrg IFS=$as_save_IFS 2619e8340fabSmrg case $as_dir in #((( 2620e8340fabSmrg '') as_dir=./ ;; 2621e8340fabSmrg */) ;; 2622e8340fabSmrg *) as_dir=$as_dir/ ;; 2623e8340fabSmrg esac 2624e8340fabSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2625e8340fabSmrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2626e8340fabSmrg ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" 2627e8340fabSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2628e8340fabSmrg break 2 2629e8340fabSmrg fi 2630e8340fabSmrgdone 2631e8340fabSmrg done 2632e8340fabSmrgIFS=$as_save_IFS 2633e1670675Smrg 2634e8340fabSmrg ;; 2635e8340fabSmrgesac 2636e1670675Smrgfi 2637e8340fabSmrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 2638e8340fabSmrgif test -n "$ac_pt_PKG_CONFIG"; then 2639e8340fabSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 2640e8340fabSmrgprintf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } 2641e8340fabSmrgelse 2642e8340fabSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2643e8340fabSmrgprintf "%s\n" "no" >&6; } 2644e1670675Smrgfi 2645e1670675Smrg 2646e8340fabSmrg if test "x$ac_pt_PKG_CONFIG" = x; then 2647e8340fabSmrg PKG_CONFIG="" 2648e8340fabSmrg else 2649e8340fabSmrg case $cross_compiling:$ac_tool_warned in 2650e8340fabSmrgyes:) 2651e8340fabSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2652e8340fabSmrgprintf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2653e8340fabSmrgac_tool_warned=yes ;; 2654e8340fabSmrgesac 2655e8340fabSmrg PKG_CONFIG=$ac_pt_PKG_CONFIG 2656e8340fabSmrg fi 2657e1670675Smrgelse 2658e8340fabSmrg PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 2659e1670675Smrgfi 2660e8340fabSmrg 2661e1670675Smrgfi 2662e8340fabSmrgif test -n "$PKG_CONFIG"; then 2663e8340fabSmrg _pkg_min_version=0.9.0 2664e8340fabSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 2665e8340fabSmrgprintf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; } 2666e8340fabSmrg if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 2667e8340fabSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2668e8340fabSmrgprintf "%s\n" "yes" >&6; } 2669e8340fabSmrg else 2670e8340fabSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2671e8340fabSmrgprintf "%s\n" "no" >&6; } 2672e8340fabSmrg PKG_CONFIG="" 2673e8340fabSmrg fi 2674e1670675Smrgfi 2675e1670675Smrg 2676e1670675Smrg 2677e8340fabSmrg # Make sure we can run config.sub. 2678e8340fabSmrg$SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 || 2679e8340fabSmrg as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5 2680e1670675Smrg 2681e8340fabSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2682e8340fabSmrgprintf %s "checking build system type... " >&6; } 2683e8340fabSmrgif test ${ac_cv_build+y} 2684e8340fabSmrgthen : 2685e8340fabSmrg printf %s "(cached) " >&6 2686e8340fabSmrgelse $as_nop 2687e8340fabSmrg ac_build_alias=$build_alias 2688e8340fabSmrgtest "x$ac_build_alias" = x && 2689e8340fabSmrg ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"` 2690e8340fabSmrgtest "x$ac_build_alias" = x && 2691e8340fabSmrg as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 2692e8340fabSmrgac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` || 2693e8340fabSmrg as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5 2694e1670675Smrg 2695e8340fabSmrgfi 2696e8340fabSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2697e8340fabSmrgprintf "%s\n" "$ac_cv_build" >&6; } 2698e8340fabSmrgcase $ac_cv_build in 2699e8340fabSmrg*-*-*) ;; 2700e8340fabSmrg*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 2701e8340fabSmrgesac 2702e8340fabSmrgbuild=$ac_cv_build 2703e8340fabSmrgac_save_IFS=$IFS; IFS='-' 2704e8340fabSmrgset x $ac_cv_build 2705e8340fabSmrgshift 2706e8340fabSmrgbuild_cpu=$1 2707e8340fabSmrgbuild_vendor=$2 2708e8340fabSmrgshift; shift 2709e8340fabSmrg# Remember, the first character of IFS is used to create $*, 2710e8340fabSmrg# except with old shells: 2711e8340fabSmrgbuild_os=$* 2712e8340fabSmrgIFS=$ac_save_IFS 2713e8340fabSmrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2714e1670675Smrg 2715e1670675Smrg 2716e8340fabSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2717e8340fabSmrgprintf %s "checking host system type... " >&6; } 2718e8340fabSmrgif test ${ac_cv_host+y} 2719e8340fabSmrgthen : 2720e8340fabSmrg printf %s "(cached) " >&6 2721e8340fabSmrgelse $as_nop 2722e8340fabSmrg if test "x$host_alias" = x; then 2723e8340fabSmrg ac_cv_host=$ac_cv_build 2724e1670675Smrgelse 2725e8340fabSmrg ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` || 2726e8340fabSmrg as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5 2727e1670675Smrgfi 2728e1670675Smrg 2729e8340fabSmrgfi 2730e8340fabSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2731e8340fabSmrgprintf "%s\n" "$ac_cv_host" >&6; } 2732e8340fabSmrgcase $ac_cv_host in 2733e8340fabSmrg*-*-*) ;; 2734e8340fabSmrg*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 2735e8340fabSmrgesac 2736e8340fabSmrghost=$ac_cv_host 2737e8340fabSmrgac_save_IFS=$IFS; IFS='-' 2738e8340fabSmrgset x $ac_cv_host 2739e8340fabSmrgshift 2740e8340fabSmrghost_cpu=$1 2741e8340fabSmrghost_vendor=$2 2742e8340fabSmrgshift; shift 2743e8340fabSmrg# Remember, the first character of IFS is used to create $*, 2744e8340fabSmrg# except with old shells: 2745e8340fabSmrghost_os=$* 2746e8340fabSmrgIFS=$ac_save_IFS 2747e8340fabSmrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2748e1670675Smrg 2749e1670675Smrg 2750e8340fabSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 2751e8340fabSmrgprintf %s "checking for a sed that does not truncate output... " >&6; } 2752e8340fabSmrgif test ${ac_cv_path_SED+y} 2753e8340fabSmrgthen : 2754e8340fabSmrg printf %s "(cached) " >&6 2755e8340fabSmrgelse $as_nop 2756e8340fabSmrg ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 2757e8340fabSmrg for ac_i in 1 2 3 4 5 6 7; do 2758e8340fabSmrg ac_script="$ac_script$as_nl$ac_script" 2759e8340fabSmrg done 2760e8340fabSmrg echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 2761e8340fabSmrg { ac_script=; unset ac_script;} 2762e8340fabSmrg if test -z "$SED"; then 2763e8340fabSmrg ac_path_SED_found=false 2764e8340fabSmrg # Loop through the user's path and test for each of PROGNAME-LIST 2765e8340fabSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2766e8340fabSmrgfor as_dir in $PATH 2767e8340fabSmrgdo 2768e8340fabSmrg IFS=$as_save_IFS 2769e8340fabSmrg case $as_dir in #((( 2770e8340fabSmrg '') as_dir=./ ;; 2771e8340fabSmrg */) ;; 2772e8340fabSmrg *) as_dir=$as_dir/ ;; 2773e8340fabSmrg esac 2774e8340fabSmrg for ac_prog in sed gsed 2775e8340fabSmrg do 2776e8340fabSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2777e8340fabSmrg ac_path_SED="$as_dir$ac_prog$ac_exec_ext" 2778e8340fabSmrg as_fn_executable_p "$ac_path_SED" || continue 2779e8340fabSmrg# Check for GNU ac_path_SED and select it if it is found. 2780e8340fabSmrg # Check for GNU $ac_path_SED 2781e8340fabSmrgcase `"$ac_path_SED" --version 2>&1` in 2782e8340fabSmrg*GNU*) 2783e8340fabSmrg ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 2784e8340fabSmrg*) 2785e8340fabSmrg ac_count=0 2786e8340fabSmrg printf %s 0123456789 >"conftest.in" 2787e8340fabSmrg while : 2788e8340fabSmrg do 2789e8340fabSmrg cat "conftest.in" "conftest.in" >"conftest.tmp" 2790e8340fabSmrg mv "conftest.tmp" "conftest.in" 2791e8340fabSmrg cp "conftest.in" "conftest.nl" 2792e8340fabSmrg printf "%s\n" '' >> "conftest.nl" 2793e8340fabSmrg "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 2794e8340fabSmrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 2795e8340fabSmrg as_fn_arith $ac_count + 1 && ac_count=$as_val 2796e8340fabSmrg if test $ac_count -gt ${ac_path_SED_max-0}; then 2797e8340fabSmrg # Best one so far, save it but keep looking for a better one 2798e8340fabSmrg ac_cv_path_SED="$ac_path_SED" 2799e8340fabSmrg ac_path_SED_max=$ac_count 2800e8340fabSmrg fi 2801e8340fabSmrg # 10*(2^10) chars as input seems more than enough 2802e8340fabSmrg test $ac_count -gt 10 && break 2803e8340fabSmrg done 2804e8340fabSmrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 2805e8340fabSmrgesac 2806e1670675Smrg 2807e8340fabSmrg $ac_path_SED_found && break 3 2808e8340fabSmrg done 2809e8340fabSmrg done 2810e8340fabSmrg done 2811e8340fabSmrgIFS=$as_save_IFS 2812e8340fabSmrg if test -z "$ac_cv_path_SED"; then 2813e8340fabSmrg as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 2814e8340fabSmrg fi 2815e8340fabSmrgelse 2816e8340fabSmrg ac_cv_path_SED=$SED 2817e1670675Smrgfi 2818e1670675Smrg 2819e8340fabSmrgfi 2820e8340fabSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 2821e8340fabSmrgprintf "%s\n" "$ac_cv_path_SED" >&6; } 2822e8340fabSmrg SED="$ac_cv_path_SED" 2823e8340fabSmrg rm -f conftest.sed 2824e1670675Smrg 2825e1670675Smrg 2826e1670675Smrg 2827e1670675Smrg 2828e1670675Smrg 2829e1670675Smrgcat >>confdefs.h <<_ACEOF 2830e1670675Smrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 2831e1670675Smrg_ACEOF 2832e1670675Smrg 2833e1670675Smrg PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 2834e1670675Smrg if test "x$PVM" = "x"; then 2835e1670675Smrg PVM="0" 2836e1670675Smrg fi 2837e1670675Smrg 2838e8340fabSmrgprintf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h 2839e1670675Smrg 2840e1670675Smrg PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 2841e1670675Smrg if test "x$PVP" = "x"; then 2842e1670675Smrg PVP="0" 2843e1670675Smrg fi 2844e1670675Smrg 2845e8340fabSmrgprintf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h 2846e1670675Smrg 2847e1670675Smrg 2848e1670675Smrg 2849e8340fabSmrgCHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \ 2850e1670675Smrgmv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \ 2851e8340fabSmrg|| (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \ 2852e8340fabSmrgtouch \$(top_srcdir)/ChangeLog; \ 2853e8340fabSmrgecho 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))" 2854e1670675Smrg 2855e1670675Smrg 2856e1670675Smrg 2857e1670675Smrg 2858e1670675Smrgmacros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros` 2859e1670675SmrgINSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \ 2860e1670675Smrgmv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \ 2861e8340fabSmrg|| (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \ 2862e8340fabSmrgtouch \$(top_srcdir)/INSTALL; \ 2863e8340fabSmrgecho 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))" 2864e8340fabSmrg 2865e1670675Smrg 2866e1670675Smrg 2867e1670675Smrg 2868e1670675Smrg 2869e1670675Smrg 2870e8340fabSmrgcase $host_os in 2871e8340fabSmrg solaris*) 2872e8340fabSmrg # Solaris 2.0 - 11.3 use SysV man page section numbers, so we 2873e8340fabSmrg # check for a man page file found in later versions that use 2874e8340fabSmrg # traditional section numbers instead 2875e8340fabSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5 2876e8340fabSmrgprintf %s "checking for /usr/share/man/man7/attributes.7... " >&6; } 2877e8340fabSmrgif test ${ac_cv_file__usr_share_man_man7_attributes_7+y} 2878e8340fabSmrgthen : 2879e8340fabSmrg printf %s "(cached) " >&6 2880e8340fabSmrgelse $as_nop 2881e8340fabSmrg test "$cross_compiling" = yes && 2882e8340fabSmrg as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 2883e8340fabSmrgif test -r "/usr/share/man/man7/attributes.7"; then 2884e8340fabSmrg ac_cv_file__usr_share_man_man7_attributes_7=yes 2885e8340fabSmrgelse 2886e8340fabSmrg ac_cv_file__usr_share_man_man7_attributes_7=no 2887e8340fabSmrgfi 2888e8340fabSmrgfi 2889e8340fabSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5 2890e8340fabSmrgprintf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; } 2891e8340fabSmrgif test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes 2892e8340fabSmrgthen : 2893e8340fabSmrg SYSV_MAN_SECTIONS=false 2894e8340fabSmrgelse $as_nop 2895e8340fabSmrg SYSV_MAN_SECTIONS=true 2896e8340fabSmrgfi 2897e8340fabSmrg 2898e8340fabSmrg ;; 2899e8340fabSmrg *) SYSV_MAN_SECTIONS=false ;; 2900e8340fabSmrgesac 2901e1670675Smrg 2902e1670675Smrgif test x$APP_MAN_SUFFIX = x ; then 2903e1670675Smrg APP_MAN_SUFFIX=1 2904e1670675Smrgfi 2905e1670675Smrgif test x$APP_MAN_DIR = x ; then 2906e1670675Smrg APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 2907e1670675Smrgfi 2908e1670675Smrg 2909e1670675Smrgif test x$LIB_MAN_SUFFIX = x ; then 2910e1670675Smrg LIB_MAN_SUFFIX=3 2911e1670675Smrgfi 2912e1670675Smrgif test x$LIB_MAN_DIR = x ; then 2913e1670675Smrg LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 2914e1670675Smrgfi 2915a9a39c43Smrg 2916a9a39c43Smrgif test x$FILE_MAN_SUFFIX = x ; then 2917e8340fabSmrg case $SYSV_MAN_SECTIONS in 2918e8340fabSmrg true) FILE_MAN_SUFFIX=4 ;; 2919e1670675Smrg *) FILE_MAN_SUFFIX=5 ;; 2920a9a39c43Smrg esac 2921a9a39c43Smrgfi 2922a9a39c43Smrgif test x$FILE_MAN_DIR = x ; then 2923a9a39c43Smrg FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 2924a9a39c43Smrgfi 2925a9a39c43Smrg 2926a9a39c43Smrgif test x$MISC_MAN_SUFFIX = x ; then 2927e8340fabSmrg case $SYSV_MAN_SECTIONS in 2928e8340fabSmrg true) MISC_MAN_SUFFIX=5 ;; 2929e1670675Smrg *) MISC_MAN_SUFFIX=7 ;; 2930a9a39c43Smrg esac 2931a9a39c43Smrgfi 2932a9a39c43Smrgif test x$MISC_MAN_DIR = x ; then 2933a9a39c43Smrg MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 2934a9a39c43Smrgfi 2935a9a39c43Smrg 2936a9a39c43Smrgif test x$DRIVER_MAN_SUFFIX = x ; then 2937e8340fabSmrg case $SYSV_MAN_SECTIONS in 2938e8340fabSmrg true) DRIVER_MAN_SUFFIX=7 ;; 2939e1670675Smrg *) DRIVER_MAN_SUFFIX=4 ;; 2940a9a39c43Smrg esac 2941a9a39c43Smrgfi 2942a9a39c43Smrgif test x$DRIVER_MAN_DIR = x ; then 2943a9a39c43Smrg DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 2944a9a39c43Smrgfi 2945a9a39c43Smrg 2946a9a39c43Smrgif test x$ADMIN_MAN_SUFFIX = x ; then 2947e8340fabSmrg case $SYSV_MAN_SECTIONS in 2948e8340fabSmrg true) ADMIN_MAN_SUFFIX=1m ;; 2949e1670675Smrg *) ADMIN_MAN_SUFFIX=8 ;; 2950a9a39c43Smrg esac 2951a9a39c43Smrgfi 2952a9a39c43Smrgif test x$ADMIN_MAN_DIR = x ; then 2953a9a39c43Smrg ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 2954a9a39c43Smrgfi 2955a9a39c43Smrg 2956a9a39c43Smrg 2957a9a39c43Smrg 2958a9a39c43Smrg 2959a9a39c43Smrg 2960a9a39c43Smrg 2961a9a39c43Smrg 2962a9a39c43Smrg 2963a9a39c43Smrg 2964a9a39c43Smrg 2965a9a39c43Smrg 2966a9a39c43Smrg 2967a9a39c43Smrg 2968a9a39c43Smrg 2969a9a39c43Smrg 2970a376accbSmrgXORG_MAN_PAGE="X Version 11" 2971a376accbSmrg 2972a376accbSmrgMAN_SUBSTS="\ 2973a376accbSmrg -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 2974a376accbSmrg -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 2975a376accbSmrg -e 's|__xservername__|Xorg|g' \ 2976a376accbSmrg -e 's|__xconfigfile__|xorg.conf|g' \ 2977a376accbSmrg -e 's|__projectroot__|\$(prefix)|g' \ 2978a376accbSmrg -e 's|__apploaddir__|\$(appdefaultdir)|g' \ 2979a376accbSmrg -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \ 2980a376accbSmrg -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \ 2981a376accbSmrg -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \ 2982a376accbSmrg -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \ 2983a376accbSmrg -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \ 2984a376accbSmrg -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'" 2985a376accbSmrg 2986a376accbSmrg 2987a376accbSmrg 2988a376accbSmrg# Check whether --enable-silent-rules was given. 2989e8340fabSmrgif test ${enable_silent_rules+y} 2990e8340fabSmrgthen : 2991a376accbSmrg enableval=$enable_silent_rules; 2992a376accbSmrgfi 2993a376accbSmrg 2994e1670675Smrgcase $enable_silent_rules in # ((( 2995e1670675Smrg yes) AM_DEFAULT_VERBOSITY=0;; 2996e1670675Smrg no) AM_DEFAULT_VERBOSITY=1;; 2997e1670675Smrg *) AM_DEFAULT_VERBOSITY=0;; 2998a376accbSmrgesac 2999e1670675Smrgam_make=${MAKE-make} 3000e8340fabSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3001e8340fabSmrgprintf %s "checking whether $am_make supports nested variables... " >&6; } 3002e8340fabSmrgif test ${am_cv_make_support_nested_variables+y} 3003e8340fabSmrgthen : 3004e8340fabSmrg printf %s "(cached) " >&6 3005e8340fabSmrgelse $as_nop 3006e8340fabSmrg if printf "%s\n" 'TRUE=$(BAR$(V)) 3007e1670675SmrgBAR0=false 3008e1670675SmrgBAR1=true 3009e1670675SmrgV=1 3010e1670675Smrgam__doit: 3011e1670675Smrg @$(TRUE) 3012e1670675Smrg.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3013e1670675Smrg am_cv_make_support_nested_variables=yes 3014e1670675Smrgelse 3015e1670675Smrg am_cv_make_support_nested_variables=no 3016e1670675Smrgfi 3017e1670675Smrgfi 3018e8340fabSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3019e8340fabSmrgprintf "%s\n" "$am_cv_make_support_nested_variables" >&6; } 3020e1670675Smrgif test $am_cv_make_support_nested_variables = yes; then 3021e1670675Smrg AM_V='$(V)' 3022e1670675Smrg AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3023e1670675Smrgelse 3024e1670675Smrg AM_V=$AM_DEFAULT_VERBOSITY 3025e1670675Smrg AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3026e1670675Smrgfi 3027a376accbSmrgAM_BACKSLASH='\' 3028a376accbSmrg 3029a9a39c43Smrg 3030a9a39c43Smrg 3031a9a39c43Smrgac_config_files="$ac_config_files Makefile xbitmaps.pc" 3032129be1b7Smrg 3033129be1b7Smrgcat >confcache <<\_ACEOF 3034129be1b7Smrg# This file is a shell script that caches the results of configure 3035129be1b7Smrg# tests run on this system so they can be shared between configure 3036129be1b7Smrg# scripts and configure runs, see configure's option --config-cache. 3037129be1b7Smrg# It is not useful on other systems. If it contains results you don't 3038129be1b7Smrg# want to keep, you may remove or edit it. 3039129be1b7Smrg# 3040129be1b7Smrg# config.status only pays attention to the cache file if you give it 3041129be1b7Smrg# the --recheck option to rerun configure. 3042129be1b7Smrg# 3043129be1b7Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when 3044129be1b7Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the 3045129be1b7Smrg# following values. 3046129be1b7Smrg 3047129be1b7Smrg_ACEOF 3048129be1b7Smrg 3049129be1b7Smrg# The following way of writing the cache mishandles newlines in values, 3050129be1b7Smrg# but we know of no workaround that is simple, portable, and efficient. 3051a9a39c43Smrg# So, we kill variables containing newlines. 3052129be1b7Smrg# Ultrix sh set writes to stderr and can't be redirected directly, 3053129be1b7Smrg# and sets the high bit in the cache file unless we assign to the vars. 3054a9a39c43Smrg( 3055a9a39c43Smrg for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 3056a9a39c43Smrg eval ac_val=\$$ac_var 3057a9a39c43Smrg case $ac_val in #( 3058a9a39c43Smrg *${as_nl}*) 3059a9a39c43Smrg case $ac_var in #( 3060e8340fabSmrg *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 3061e8340fabSmrgprintf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 3062a9a39c43Smrg esac 3063a9a39c43Smrg case $ac_var in #( 3064a9a39c43Smrg _ | IFS | as_nl) ;; #( 3065a9a39c43Smrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 3066a376accbSmrg *) { eval $ac_var=; unset $ac_var;} ;; 3067a9a39c43Smrg esac ;; 3068a9a39c43Smrg esac 3069a9a39c43Smrg done 3070a9a39c43Smrg 3071129be1b7Smrg (set) 2>&1 | 3072a9a39c43Smrg case $as_nl`(ac_space=' '; set) 2>&1` in #( 3073a9a39c43Smrg *${as_nl}ac_space=\ *) 3074a376accbSmrg # `set' does not quote correctly, so add quotes: double-quote 3075a376accbSmrg # substitution turns \\\\ into \\, and sed turns \\ into \. 3076129be1b7Smrg sed -n \ 3077129be1b7Smrg "s/'/'\\\\''/g; 3078129be1b7Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 3079a9a39c43Smrg ;; #( 3080129be1b7Smrg *) 3081129be1b7Smrg # `set' quotes correctly as required by POSIX, so do not add quotes. 3082a9a39c43Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 3083129be1b7Smrg ;; 3084a9a39c43Smrg esac | 3085a9a39c43Smrg sort 3086a9a39c43Smrg) | 3087129be1b7Smrg sed ' 3088a9a39c43Smrg /^ac_cv_env_/b end 3089129be1b7Smrg t clear 3090a9a39c43Smrg :clear 3091e8340fabSmrg s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ 3092129be1b7Smrg t end 3093a9a39c43Smrg s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 3094a9a39c43Smrg :end' >>confcache 3095a9a39c43Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 3096a9a39c43Smrg if test -w "$cache_file"; then 3097a376accbSmrg if test "x$cache_file" != "x/dev/null"; then 3098e8340fabSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 3099e8340fabSmrgprintf "%s\n" "$as_me: updating cache $cache_file" >&6;} 3100a376accbSmrg if test ! -f "$cache_file" || test -h "$cache_file"; then 3101a376accbSmrg cat confcache >"$cache_file" 3102a376accbSmrg else 3103a376accbSmrg case $cache_file in #( 3104a376accbSmrg */* | ?:*) 3105a376accbSmrg mv -f confcache "$cache_file"$$ && 3106a376accbSmrg mv -f "$cache_file"$$ "$cache_file" ;; #( 3107a376accbSmrg *) 3108a376accbSmrg mv -f confcache "$cache_file" ;; 3109a376accbSmrg esac 3110a376accbSmrg fi 3111a376accbSmrg fi 3112129be1b7Smrg else 3113e8340fabSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 3114e8340fabSmrgprintf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} 3115129be1b7Smrg fi 3116129be1b7Smrgfi 3117129be1b7Smrgrm -f confcache 3118129be1b7Smrg 3119129be1b7Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix 3120129be1b7Smrg# Let make expand exec_prefix. 3121129be1b7Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 3122129be1b7Smrg 3123129be1b7SmrgDEFS=-DHAVE_CONFIG_H 3124129be1b7Smrg 3125129be1b7Smrgac_libobjs= 3126129be1b7Smrgac_ltlibobjs= 3127a376accbSmrgU= 3128129be1b7Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 3129129be1b7Smrg # 1. Remove the extension, and $U if already installed. 3130a9a39c43Smrg ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 3131e8340fabSmrg ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"` 3132a9a39c43Smrg # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 3133a9a39c43Smrg # will be set to the directory where LIBOBJS objects are built. 3134a376accbSmrg as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 3135a376accbSmrg as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 3136129be1b7Smrgdone 3137129be1b7SmrgLIBOBJS=$ac_libobjs 3138129be1b7Smrg 3139129be1b7SmrgLTLIBOBJS=$ac_ltlibobjs 3140129be1b7Smrg 3141129be1b7Smrg 3142e8340fabSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 3143e8340fabSmrgprintf %s "checking that generated files are newer than configure... " >&6; } 3144e1670675Smrg if test -n "$am_sleep_pid"; then 3145e1670675Smrg # Hide warnings about reused PIDs. 3146e1670675Smrg wait $am_sleep_pid 2>/dev/null 3147e1670675Smrg fi 3148e8340fabSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5 3149e8340fabSmrgprintf "%s\n" "done" >&6; } 3150a9a39c43Smrg 3151129be1b7Smrg 3152a376accbSmrg: "${CONFIG_STATUS=./config.status}" 3153a9a39c43Smrgac_write_fail=0 3154129be1b7Smrgac_clean_files_save=$ac_clean_files 3155129be1b7Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS" 3156e8340fabSmrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 3157e8340fabSmrgprintf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} 3158a376accbSmrgas_write_fail=0 3159a376accbSmrgcat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 3160129be1b7Smrg#! $SHELL 3161129be1b7Smrg# Generated by $as_me. 3162129be1b7Smrg# Run this file to recreate the current configuration. 3163129be1b7Smrg# Compiler output produced by configure, useful for debugging 3164129be1b7Smrg# configure, is in config.log if it exists. 3165129be1b7Smrg 3166129be1b7Smrgdebug=false 3167129be1b7Smrgac_cs_recheck=false 3168129be1b7Smrgac_cs_silent=false 3169129be1b7Smrg 3170a376accbSmrgSHELL=\${CONFIG_SHELL-$SHELL} 3171a376accbSmrgexport SHELL 3172a376accbSmrg_ASEOF 3173a376accbSmrgcat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 3174a376accbSmrg## -------------------- ## 3175a376accbSmrg## M4sh Initialization. ## 3176a376accbSmrg## -------------------- ## 3177129be1b7Smrg 3178a9a39c43Smrg# Be more Bourne compatible 3179a9a39c43SmrgDUALCASE=1; export DUALCASE # for MKS sh 3180e8340fabSmrgas_nop=: 3181e8340fabSmrgif test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 3182e8340fabSmrgthen : 3183129be1b7Smrg emulate sh 3184129be1b7Smrg NULLCMD=: 3185a9a39c43Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 3186129be1b7Smrg # is contrary to our usage. Disable this feature. 3187129be1b7Smrg alias -g '${1+"$@"}'='"$@"' 3188a9a39c43Smrg setopt NO_GLOB_SUBST 3189e8340fabSmrgelse $as_nop 3190a376accbSmrg case `(set -o) 2>/dev/null` in #( 3191a376accbSmrg *posix*) : 3192a376accbSmrg set -o posix ;; #( 3193a376accbSmrg *) : 3194a376accbSmrg ;; 3195a9a39c43Smrgesac 3196a9a39c43Smrgfi 3197a9a39c43Smrg 3198a9a39c43Smrg 3199e8340fabSmrg 3200e8340fabSmrg# Reset variables that may have inherited troublesome values from 3201e8340fabSmrg# the environment. 3202e8340fabSmrg 3203e8340fabSmrg# IFS needs to be set, to space, tab, and newline, in precisely that order. 3204e8340fabSmrg# (If _AS_PATH_WALK were called with IFS unset, it would have the 3205e8340fabSmrg# side effect of setting IFS to empty, thus disabling word splitting.) 3206e8340fabSmrg# Quoting is to prevent editors from complaining about space-tab. 3207a9a39c43Smrgas_nl=' 3208a9a39c43Smrg' 3209a9a39c43Smrgexport as_nl 3210e8340fabSmrgIFS=" "" $as_nl" 3211e8340fabSmrg 3212e8340fabSmrgPS1='$ ' 3213e8340fabSmrgPS2='> ' 3214e8340fabSmrgPS4='+ ' 3215e8340fabSmrg 3216e8340fabSmrg# Ensure predictable behavior from utilities with locale-dependent output. 3217e8340fabSmrgLC_ALL=C 3218e8340fabSmrgexport LC_ALL 3219e8340fabSmrgLANGUAGE=C 3220e8340fabSmrgexport LANGUAGE 3221e8340fabSmrg 3222e8340fabSmrg# We cannot yet rely on "unset" to work, but we need these variables 3223e8340fabSmrg# to be unset--not just set to an empty or harmless value--now, to 3224e8340fabSmrg# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct 3225e8340fabSmrg# also avoids known problems related to "unset" and subshell syntax 3226e8340fabSmrg# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). 3227e8340fabSmrgfor as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 3228e8340fabSmrgdo eval test \${$as_var+y} \ 3229e8340fabSmrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 3230e8340fabSmrgdone 3231e8340fabSmrg 3232e8340fabSmrg# Ensure that fds 0, 1, and 2 are open. 3233e8340fabSmrgif (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 3234e8340fabSmrgif (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 3235e8340fabSmrgif (exec 3>&2) ; then :; else exec 2>/dev/null; fi 3236a9a39c43Smrg 3237a9a39c43Smrg# The user is always right. 3238e8340fabSmrgif ${PATH_SEPARATOR+false} :; then 3239a9a39c43Smrg PATH_SEPARATOR=: 3240a9a39c43Smrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 3241a9a39c43Smrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 3242a9a39c43Smrg PATH_SEPARATOR=';' 3243a9a39c43Smrg } 3244129be1b7Smrgfi 3245129be1b7Smrg 3246129be1b7Smrg 3247a9a39c43Smrg# Find who we are. Look in the path if we contain no directory separator. 3248a376accbSmrgas_myself= 3249a376accbSmrgcase $0 in #(( 3250a9a39c43Smrg *[\\/]* ) as_myself=$0 ;; 3251a9a39c43Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3252a9a39c43Smrgfor as_dir in $PATH 3253a9a39c43Smrgdo 3254a9a39c43Smrg IFS=$as_save_IFS 3255e8340fabSmrg case $as_dir in #((( 3256e8340fabSmrg '') as_dir=./ ;; 3257e8340fabSmrg */) ;; 3258e8340fabSmrg *) as_dir=$as_dir/ ;; 3259e8340fabSmrg esac 3260e8340fabSmrg test -r "$as_dir$0" && as_myself=$as_dir$0 && break 3261a376accbSmrg done 3262a9a39c43SmrgIFS=$as_save_IFS 3263a9a39c43Smrg 3264a9a39c43Smrg ;; 3265a9a39c43Smrgesac 3266a9a39c43Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 3267a9a39c43Smrg# in which case we are not to be found in the path. 3268a9a39c43Smrgif test "x$as_myself" = x; then 3269a9a39c43Smrg as_myself=$0 3270a9a39c43Smrgfi 3271a9a39c43Smrgif test ! -f "$as_myself"; then 3272e8340fabSmrg printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 3273a376accbSmrg exit 1 3274a9a39c43Smrgfi 3275a9a39c43Smrg 3276a376accbSmrg 3277a376accbSmrg 3278a376accbSmrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 3279a376accbSmrg# ---------------------------------------- 3280a376accbSmrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 3281a376accbSmrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 3282a376accbSmrg# script with STATUS, using 1 if that was 0. 3283a376accbSmrgas_fn_error () 3284a376accbSmrg{ 3285a376accbSmrg as_status=$1; test $as_status -eq 0 && as_status=1 3286a376accbSmrg if test "$4"; then 3287a376accbSmrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 3288e8340fabSmrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 3289a376accbSmrg fi 3290e8340fabSmrg printf "%s\n" "$as_me: error: $2" >&2 3291a376accbSmrg as_fn_exit $as_status 3292a376accbSmrg} # as_fn_error 3293a376accbSmrg 3294a376accbSmrg 3295e8340fabSmrg 3296a376accbSmrg# as_fn_set_status STATUS 3297a376accbSmrg# ----------------------- 3298a376accbSmrg# Set $? to STATUS, without forking. 3299a376accbSmrgas_fn_set_status () 3300a376accbSmrg{ 3301a376accbSmrg return $1 3302a376accbSmrg} # as_fn_set_status 3303a376accbSmrg 3304a376accbSmrg# as_fn_exit STATUS 3305a376accbSmrg# ----------------- 3306a376accbSmrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 3307a376accbSmrgas_fn_exit () 3308a376accbSmrg{ 3309a376accbSmrg set +e 3310a376accbSmrg as_fn_set_status $1 3311a376accbSmrg exit $1 3312a376accbSmrg} # as_fn_exit 3313a376accbSmrg 3314a376accbSmrg# as_fn_unset VAR 3315a376accbSmrg# --------------- 3316a376accbSmrg# Portably unset VAR. 3317a376accbSmrgas_fn_unset () 3318a376accbSmrg{ 3319a376accbSmrg { eval $1=; unset $1;} 3320a376accbSmrg} 3321a376accbSmrgas_unset=as_fn_unset 3322e8340fabSmrg 3323a376accbSmrg# as_fn_append VAR VALUE 3324a376accbSmrg# ---------------------- 3325a376accbSmrg# Append the text in VALUE to the end of the definition contained in VAR. Take 3326a376accbSmrg# advantage of any shell optimizations that allow amortized linear growth over 3327a376accbSmrg# repeated appends, instead of the typical quadratic growth present in naive 3328a376accbSmrg# implementations. 3329e8340fabSmrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 3330e8340fabSmrgthen : 3331a376accbSmrg eval 'as_fn_append () 3332a376accbSmrg { 3333a376accbSmrg eval $1+=\$2 3334a376accbSmrg }' 3335e8340fabSmrgelse $as_nop 3336a376accbSmrg as_fn_append () 3337a376accbSmrg { 3338a376accbSmrg eval $1=\$$1\$2 3339a376accbSmrg } 3340a376accbSmrgfi # as_fn_append 3341a376accbSmrg 3342a376accbSmrg# as_fn_arith ARG... 3343a376accbSmrg# ------------------ 3344a376accbSmrg# Perform arithmetic evaluation on the ARGs, and store the result in the 3345a376accbSmrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 3346a376accbSmrg# must be portable across $(()) and expr. 3347e8340fabSmrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 3348e8340fabSmrgthen : 3349a376accbSmrg eval 'as_fn_arith () 3350a376accbSmrg { 3351a376accbSmrg as_val=$(( $* )) 3352a376accbSmrg }' 3353e8340fabSmrgelse $as_nop 3354a376accbSmrg as_fn_arith () 3355a376accbSmrg { 3356a376accbSmrg as_val=`expr "$@" || test $? -eq 1` 3357a376accbSmrg } 3358a376accbSmrgfi # as_fn_arith 3359a376accbSmrg 3360a376accbSmrg 3361a9a39c43Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 3362a9a39c43Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 3363129be1b7Smrg as_expr=expr 3364129be1b7Smrgelse 3365129be1b7Smrg as_expr=false 3366129be1b7Smrgfi 3367129be1b7Smrg 3368a9a39c43Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 3369129be1b7Smrg as_basename=basename 3370129be1b7Smrgelse 3371129be1b7Smrg as_basename=false 3372129be1b7Smrgfi 3373129be1b7Smrg 3374a376accbSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 3375a376accbSmrg as_dirname=dirname 3376a376accbSmrgelse 3377a376accbSmrg as_dirname=false 3378a376accbSmrgfi 3379129be1b7Smrg 3380a9a39c43Smrgas_me=`$as_basename -- "$0" || 3381129be1b7Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 3382129be1b7Smrg X"$0" : 'X\(//\)$' \| \ 3383a9a39c43Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 3384e8340fabSmrgprintf "%s\n" X/"$0" | 3385a9a39c43Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 3386a9a39c43Smrg s//\1/ 3387a9a39c43Smrg q 3388a9a39c43Smrg } 3389a9a39c43Smrg /^X\/\(\/\/\)$/{ 3390a9a39c43Smrg s//\1/ 3391a9a39c43Smrg q 3392a9a39c43Smrg } 3393a9a39c43Smrg /^X\/\(\/\).*/{ 3394a9a39c43Smrg s//\1/ 3395a9a39c43Smrg q 3396a9a39c43Smrg } 3397a9a39c43Smrg s/.*/./; q'` 3398a9a39c43Smrg 3399a376accbSmrg# Avoid depending upon Character Ranges. 3400a376accbSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 3401a376accbSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 3402a376accbSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 3403a376accbSmrgas_cr_digits='0123456789' 3404a376accbSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits 3405129be1b7Smrg 3406e8340fabSmrg 3407e8340fabSmrg# Determine whether it's possible to make 'echo' print without a newline. 3408e8340fabSmrg# These variables are no longer used directly by Autoconf, but are AC_SUBSTed 3409e8340fabSmrg# for compatibility with existing Makefiles. 3410a9a39c43SmrgECHO_C= ECHO_N= ECHO_T= 3411a376accbSmrgcase `echo -n x` in #((((( 3412a9a39c43Smrg-n*) 3413a376accbSmrg case `echo 'xy\c'` in 3414a9a39c43Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 3415a376accbSmrg xy) ECHO_C='\c';; 3416a376accbSmrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 3417a376accbSmrg ECHO_T=' ';; 3418a9a39c43Smrg esac;; 3419a9a39c43Smrg*) 3420a9a39c43Smrg ECHO_N='-n';; 3421a9a39c43Smrgesac 3422129be1b7Smrg 3423e8340fabSmrg# For backward compatibility with old third-party macros, we provide 3424e8340fabSmrg# the shell variables $as_echo and $as_echo_n. New code should use 3425e8340fabSmrg# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. 3426e8340fabSmrgas_echo='printf %s\n' 3427e8340fabSmrgas_echo_n='printf %s' 3428e8340fabSmrg 3429129be1b7Smrgrm -f conf$$ conf$$.exe conf$$.file 3430a9a39c43Smrgif test -d conf$$.dir; then 3431a9a39c43Smrg rm -f conf$$.dir/conf$$.file 3432a9a39c43Smrgelse 3433a9a39c43Smrg rm -f conf$$.dir 3434a9a39c43Smrg mkdir conf$$.dir 2>/dev/null 3435a9a39c43Smrgfi 3436a9a39c43Smrgif (echo >conf$$.file) 2>/dev/null; then 3437a9a39c43Smrg if ln -s conf$$.file conf$$ 2>/dev/null; then 3438129be1b7Smrg as_ln_s='ln -s' 3439a9a39c43Smrg # ... but there are two gotchas: 3440a9a39c43Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 3441a9a39c43Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 3442e1670675Smrg # In both cases, we have to default to `cp -pR'. 3443a9a39c43Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 3444e1670675Smrg as_ln_s='cp -pR' 3445a9a39c43Smrg elif ln conf$$.file conf$$ 2>/dev/null; then 3446a9a39c43Smrg as_ln_s=ln 3447a9a39c43Smrg else 3448e1670675Smrg as_ln_s='cp -pR' 3449129be1b7Smrg fi 3450129be1b7Smrgelse 3451e1670675Smrg as_ln_s='cp -pR' 3452129be1b7Smrgfi 3453a9a39c43Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 3454a9a39c43Smrgrmdir conf$$.dir 2>/dev/null 3455129be1b7Smrg 3456a376accbSmrg 3457a376accbSmrg# as_fn_mkdir_p 3458a376accbSmrg# ------------- 3459a376accbSmrg# Create "$as_dir" as a directory, including parents if necessary. 3460a376accbSmrgas_fn_mkdir_p () 3461a376accbSmrg{ 3462a376accbSmrg 3463a376accbSmrg case $as_dir in #( 3464a376accbSmrg -*) as_dir=./$as_dir;; 3465a376accbSmrg esac 3466a376accbSmrg test -d "$as_dir" || eval $as_mkdir_p || { 3467a376accbSmrg as_dirs= 3468a376accbSmrg while :; do 3469a376accbSmrg case $as_dir in #( 3470e8340fabSmrg *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 3471a376accbSmrg *) as_qdir=$as_dir;; 3472a376accbSmrg esac 3473a376accbSmrg as_dirs="'$as_qdir' $as_dirs" 3474a376accbSmrg as_dir=`$as_dirname -- "$as_dir" || 3475a376accbSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3476a376accbSmrg X"$as_dir" : 'X\(//\)[^/]' \| \ 3477a376accbSmrg X"$as_dir" : 'X\(//\)$' \| \ 3478a376accbSmrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 3479e8340fabSmrgprintf "%s\n" X"$as_dir" | 3480a376accbSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3481a376accbSmrg s//\1/ 3482a376accbSmrg q 3483a376accbSmrg } 3484a376accbSmrg /^X\(\/\/\)[^/].*/{ 3485a376accbSmrg s//\1/ 3486a376accbSmrg q 3487a376accbSmrg } 3488a376accbSmrg /^X\(\/\/\)$/{ 3489a376accbSmrg s//\1/ 3490a376accbSmrg q 3491a376accbSmrg } 3492a376accbSmrg /^X\(\/\).*/{ 3493a376accbSmrg s//\1/ 3494a376accbSmrg q 3495a376accbSmrg } 3496a376accbSmrg s/.*/./; q'` 3497a376accbSmrg test -d "$as_dir" && break 3498a376accbSmrg done 3499a376accbSmrg test -z "$as_dirs" || eval "mkdir $as_dirs" 3500a376accbSmrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 3501a376accbSmrg 3502a376accbSmrg 3503a376accbSmrg} # as_fn_mkdir_p 3504129be1b7Smrgif mkdir -p . 2>/dev/null; then 3505a376accbSmrg as_mkdir_p='mkdir -p "$as_dir"' 3506129be1b7Smrgelse 3507129be1b7Smrg test -d ./-p && rmdir ./-p 3508129be1b7Smrg as_mkdir_p=false 3509129be1b7Smrgfi 3510129be1b7Smrg 3511e1670675Smrg 3512e1670675Smrg# as_fn_executable_p FILE 3513e1670675Smrg# ----------------------- 3514e1670675Smrg# Test if FILE is an executable regular file. 3515e1670675Smrgas_fn_executable_p () 3516e1670675Smrg{ 3517e1670675Smrg test -f "$1" && test -x "$1" 3518e1670675Smrg} # as_fn_executable_p 3519e1670675Smrgas_test_x='test -x' 3520e1670675Smrgas_executable_p=as_fn_executable_p 3521129be1b7Smrg 3522129be1b7Smrg# Sed expression to map a string onto a valid CPP name. 3523129be1b7Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 3524129be1b7Smrg 3525129be1b7Smrg# Sed expression to map a string onto a valid variable name. 3526129be1b7Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 3527129be1b7Smrg 3528129be1b7Smrg 3529129be1b7Smrgexec 6>&1 3530a376accbSmrg## ----------------------------------- ## 3531a376accbSmrg## Main body of $CONFIG_STATUS script. ## 3532a376accbSmrg## ----------------------------------- ## 3533a376accbSmrg_ASEOF 3534a376accbSmrgtest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 3535129be1b7Smrg 3536a376accbSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3537a376accbSmrg# Save the log message, to keep $0 and so on meaningful, and to 3538129be1b7Smrg# report actual input values of CONFIG_FILES etc. instead of their 3539a9a39c43Smrg# values after options handling. 3540a9a39c43Smrgac_log=" 3541e8340fabSmrgThis file was extended by xbitmaps $as_me 1.1.3, which was 3542e8340fabSmrggenerated by GNU Autoconf 2.71. Invocation command line was 3543129be1b7Smrg 3544129be1b7Smrg CONFIG_FILES = $CONFIG_FILES 3545129be1b7Smrg CONFIG_HEADERS = $CONFIG_HEADERS 3546129be1b7Smrg CONFIG_LINKS = $CONFIG_LINKS 3547129be1b7Smrg CONFIG_COMMANDS = $CONFIG_COMMANDS 3548129be1b7Smrg $ $0 $@ 3549129be1b7Smrg 3550a9a39c43Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q` 3551a9a39c43Smrg" 3552a9a39c43Smrg 3553129be1b7Smrg_ACEOF 3554129be1b7Smrg 3555a9a39c43Smrgcase $ac_config_files in *" 3556a9a39c43Smrg"*) set x $ac_config_files; shift; ac_config_files=$*;; 3557a9a39c43Smrgesac 3558129be1b7Smrg 3559a9a39c43Smrgcase $ac_config_headers in *" 3560a9a39c43Smrg"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 3561a9a39c43Smrgesac 3562129be1b7Smrg 3563129be1b7Smrg 3564a9a39c43Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3565a9a39c43Smrg# Files that config.status was made for. 3566a9a39c43Smrgconfig_files="$ac_config_files" 3567a9a39c43Smrgconfig_headers="$ac_config_headers" 3568129be1b7Smrg 3569a9a39c43Smrg_ACEOF 3570129be1b7Smrg 3571a9a39c43Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3572129be1b7Smrgac_cs_usage="\ 3573a376accbSmrg\`$as_me' instantiates files and other configuration actions 3574a376accbSmrgfrom templates according to the current configuration. Unless the files 3575a376accbSmrgand actions are specified as TAGs, all are instantiated by default. 3576129be1b7Smrg 3577a376accbSmrgUsage: $0 [OPTION]... [TAG]... 3578129be1b7Smrg 3579129be1b7Smrg -h, --help print this help, then exit 3580a9a39c43Smrg -V, --version print version number and configuration settings, then exit 3581a376accbSmrg --config print configuration, then exit 3582a9a39c43Smrg -q, --quiet, --silent 3583a9a39c43Smrg do not print progress messages 3584129be1b7Smrg -d, --debug don't remove temporary files 3585129be1b7Smrg --recheck update $as_me by reconfiguring in the same conditions 3586a9a39c43Smrg --file=FILE[:TEMPLATE] 3587a9a39c43Smrg instantiate the configuration file FILE 3588a9a39c43Smrg --header=FILE[:TEMPLATE] 3589a9a39c43Smrg instantiate the configuration header FILE 3590129be1b7Smrg 3591129be1b7SmrgConfiguration files: 3592129be1b7Smrg$config_files 3593129be1b7Smrg 3594129be1b7SmrgConfiguration headers: 3595129be1b7Smrg$config_headers 3596129be1b7Smrg 3597e8340fabSmrgReport bugs to <https://gitlab.freedesktop.org/xorg/data/bitmaps/-/issues>." 3598129be1b7Smrg 3599a9a39c43Smrg_ACEOF 3600e8340fabSmrgac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` 3601e8340fabSmrgac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` 3602a9a39c43Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3603e8340fabSmrgac_cs_config='$ac_cs_config_escaped' 3604129be1b7Smrgac_cs_version="\\ 3605e8340fabSmrgxbitmaps config.status 1.1.3 3606e8340fabSmrgconfigured by $0, generated by GNU Autoconf 2.71, 3607a376accbSmrg with options \\"\$ac_cs_config\\" 3608129be1b7Smrg 3609e8340fabSmrgCopyright (C) 2021 Free Software Foundation, Inc. 3610129be1b7SmrgThis config.status script is free software; the Free Software Foundation 3611129be1b7Smrggives unlimited permission to copy, distribute and modify it." 3612a9a39c43Smrg 3613a9a39c43Smrgac_pwd='$ac_pwd' 3614a9a39c43Smrgsrcdir='$srcdir' 3615a9a39c43SmrgINSTALL='$INSTALL' 3616a9a39c43SmrgMKDIR_P='$MKDIR_P' 3617a9a39c43SmrgAWK='$AWK' 3618a9a39c43Smrgtest -n "\$AWK" || AWK=awk 3619129be1b7Smrg_ACEOF 3620129be1b7Smrg 3621a9a39c43Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3622a9a39c43Smrg# The default lists apply if the user does not specify any file. 3623129be1b7Smrgac_need_defaults=: 3624129be1b7Smrgwhile test $# != 0 3625129be1b7Smrgdo 3626129be1b7Smrg case $1 in 3627a376accbSmrg --*=?*) 3628a9a39c43Smrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 3629a9a39c43Smrg ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 3630129be1b7Smrg ac_shift=: 3631129be1b7Smrg ;; 3632a376accbSmrg --*=) 3633a376accbSmrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 3634a376accbSmrg ac_optarg= 3635a376accbSmrg ac_shift=: 3636a376accbSmrg ;; 3637a9a39c43Smrg *) 3638129be1b7Smrg ac_option=$1 3639129be1b7Smrg ac_optarg=$2 3640129be1b7Smrg ac_shift=shift 3641129be1b7Smrg ;; 3642129be1b7Smrg esac 3643129be1b7Smrg 3644129be1b7Smrg case $ac_option in 3645129be1b7Smrg # Handling of the options. 3646129be1b7Smrg -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 3647129be1b7Smrg ac_cs_recheck=: ;; 3648a9a39c43Smrg --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 3649e8340fabSmrg printf "%s\n" "$ac_cs_version"; exit ;; 3650a376accbSmrg --config | --confi | --conf | --con | --co | --c ) 3651e8340fabSmrg printf "%s\n" "$ac_cs_config"; exit ;; 3652a9a39c43Smrg --debug | --debu | --deb | --de | --d | -d ) 3653129be1b7Smrg debug=: ;; 3654129be1b7Smrg --file | --fil | --fi | --f ) 3655129be1b7Smrg $ac_shift 3656a9a39c43Smrg case $ac_optarg in 3657e8340fabSmrg *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 3658a376accbSmrg '') as_fn_error $? "missing file argument" ;; 3659a9a39c43Smrg esac 3660a376accbSmrg as_fn_append CONFIG_FILES " '$ac_optarg'" 3661129be1b7Smrg ac_need_defaults=false;; 3662129be1b7Smrg --header | --heade | --head | --hea ) 3663129be1b7Smrg $ac_shift 3664a9a39c43Smrg case $ac_optarg in 3665e8340fabSmrg *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 3666a9a39c43Smrg esac 3667a376accbSmrg as_fn_append CONFIG_HEADERS " '$ac_optarg'" 3668129be1b7Smrg ac_need_defaults=false;; 3669a9a39c43Smrg --he | --h) 3670a9a39c43Smrg # Conflict between --help and --header 3671a376accbSmrg as_fn_error $? "ambiguous option: \`$1' 3672a376accbSmrgTry \`$0 --help' for more information.";; 3673a9a39c43Smrg --help | --hel | -h ) 3674e8340fabSmrg printf "%s\n" "$ac_cs_usage"; exit ;; 3675129be1b7Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 3676129be1b7Smrg | -silent | --silent | --silen | --sile | --sil | --si | --s) 3677129be1b7Smrg ac_cs_silent=: ;; 3678129be1b7Smrg 3679129be1b7Smrg # This is an error. 3680a376accbSmrg -*) as_fn_error $? "unrecognized option: \`$1' 3681a376accbSmrgTry \`$0 --help' for more information." ;; 3682129be1b7Smrg 3683a376accbSmrg *) as_fn_append ac_config_targets " $1" 3684a9a39c43Smrg ac_need_defaults=false ;; 3685129be1b7Smrg 3686129be1b7Smrg esac 3687129be1b7Smrg shift 3688129be1b7Smrgdone 3689129be1b7Smrg 3690129be1b7Smrgac_configure_extra_args= 3691129be1b7Smrg 3692129be1b7Smrgif $ac_cs_silent; then 3693129be1b7Smrg exec 6>/dev/null 3694129be1b7Smrg ac_configure_extra_args="$ac_configure_extra_args --silent" 3695129be1b7Smrgfi 3696129be1b7Smrg 3697129be1b7Smrg_ACEOF 3698a9a39c43Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3699129be1b7Smrgif \$ac_cs_recheck; then 3700e1670675Smrg set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 3701a9a39c43Smrg shift 3702e8340fabSmrg \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 3703a9a39c43Smrg CONFIG_SHELL='$SHELL' 3704a9a39c43Smrg export CONFIG_SHELL 3705a9a39c43Smrg exec "\$@" 3706129be1b7Smrgfi 3707129be1b7Smrg 3708129be1b7Smrg_ACEOF 3709a9a39c43Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3710a9a39c43Smrgexec 5>>config.log 3711a9a39c43Smrg{ 3712a9a39c43Smrg echo 3713a9a39c43Smrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 3714a9a39c43Smrg## Running $as_me. ## 3715a9a39c43Smrg_ASBOX 3716e8340fabSmrg printf "%s\n" "$ac_log" 3717a9a39c43Smrg} >&5 3718129be1b7Smrg 3719a9a39c43Smrg_ACEOF 3720a9a39c43Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3721a9a39c43Smrg_ACEOF 3722129be1b7Smrg 3723a9a39c43Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3724129be1b7Smrg 3725a9a39c43Smrg# Handling of arguments. 3726129be1b7Smrgfor ac_config_target in $ac_config_targets 3727129be1b7Smrgdo 3728a9a39c43Smrg case $ac_config_target in 3729a9a39c43Smrg "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 3730a9a39c43Smrg "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 3731a9a39c43Smrg "xbitmaps.pc") CONFIG_FILES="$CONFIG_FILES xbitmaps.pc" ;; 3732a9a39c43Smrg 3733a376accbSmrg *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 3734129be1b7Smrg esac 3735129be1b7Smrgdone 3736129be1b7Smrg 3737a9a39c43Smrg 3738129be1b7Smrg# If the user did not use the arguments to specify the items to instantiate, 3739129be1b7Smrg# then the envvar interface is used. Set only those that are not. 3740129be1b7Smrg# We use the long form for the default assignment because of an extremely 3741129be1b7Smrg# bizarre bug on SunOS 4.1.3. 3742129be1b7Smrgif $ac_need_defaults; then 3743e8340fabSmrg test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files 3744e8340fabSmrg test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers 3745129be1b7Smrgfi 3746129be1b7Smrg 3747129be1b7Smrg# Have a temporary directory for convenience. Make it in the build tree 3748a9a39c43Smrg# simply because there is no reason against having it here, and in addition, 3749129be1b7Smrg# creating and moving files from /tmp can sometimes cause problems. 3750a9a39c43Smrg# Hook for its removal unless debugging. 3751a9a39c43Smrg# Note that there is a small window in which the directory will not be cleaned: 3752a9a39c43Smrg# after its creation but before its name has been assigned to `$tmp'. 3753129be1b7Smrg$debug || 3754129be1b7Smrg{ 3755a376accbSmrg tmp= ac_tmp= 3756a9a39c43Smrg trap 'exit_status=$? 3757a376accbSmrg : "${ac_tmp:=$tmp}" 3758a376accbSmrg { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 3759a9a39c43Smrg' 0 3760a376accbSmrg trap 'as_fn_exit 1' 1 2 13 15 3761129be1b7Smrg} 3762129be1b7Smrg# Create a (secure) tmp directory for tmp files. 3763129be1b7Smrg 3764129be1b7Smrg{ 3765a9a39c43Smrg tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 3766a376accbSmrg test -d "$tmp" 3767129be1b7Smrg} || 3768129be1b7Smrg{ 3769a9a39c43Smrg tmp=./conf$$-$RANDOM 3770a9a39c43Smrg (umask 077 && mkdir "$tmp") 3771a376accbSmrg} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 3772a376accbSmrgac_tmp=$tmp 3773129be1b7Smrg 3774a9a39c43Smrg# Set up the scripts for CONFIG_FILES section. 3775a9a39c43Smrg# No need to generate them if there are no CONFIG_FILES. 3776a9a39c43Smrg# This happens for instance with `./config.status config.h'. 3777a9a39c43Smrgif test -n "$CONFIG_FILES"; then 3778a9a39c43Smrg 3779a9a39c43Smrg 3780a376accbSmrgac_cr=`echo X | tr X '\015'` 3781a376accbSmrg# On cygwin, bash can eat \r inside `` if the user requested igncr. 3782a376accbSmrg# But we know of no other shell where ac_cr would be empty at this 3783a376accbSmrg# point, so we can use a bashism as a fallback. 3784a376accbSmrgif test "x$ac_cr" = x; then 3785a376accbSmrg eval ac_cr=\$\'\\r\' 3786a376accbSmrgfi 3787a9a39c43Smrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 3788a9a39c43Smrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 3789a9a39c43Smrg ac_cs_awk_cr='\\r' 3790a9a39c43Smrgelse 3791a9a39c43Smrg ac_cs_awk_cr=$ac_cr 3792a9a39c43Smrgfi 3793a9a39c43Smrg 3794a376accbSmrgecho 'BEGIN {' >"$ac_tmp/subs1.awk" && 3795129be1b7Smrg_ACEOF 3796129be1b7Smrg 3797129be1b7Smrg 3798a9a39c43Smrg{ 3799a9a39c43Smrg echo "cat >conf$$subs.awk <<_ACEOF" && 3800a9a39c43Smrg echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 3801a9a39c43Smrg echo "_ACEOF" 3802a9a39c43Smrg} >conf$$subs.sh || 3803a376accbSmrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 3804a376accbSmrgac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 3805a9a39c43Smrgac_delim='%!_!# ' 3806a9a39c43Smrgfor ac_last_try in false false false false false :; do 3807a9a39c43Smrg . ./conf$$subs.sh || 3808a376accbSmrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 3809129be1b7Smrg 3810a9a39c43Smrg ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 3811a9a39c43Smrg if test $ac_delim_n = $ac_delim_num; then 3812a9a39c43Smrg break 3813a9a39c43Smrg elif $ac_last_try; then 3814a376accbSmrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 3815a9a39c43Smrg else 3816a9a39c43Smrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 3817129be1b7Smrg fi 3818a9a39c43Smrgdone 3819a9a39c43Smrgrm -f conf$$subs.sh 3820a9a39c43Smrg 3821a9a39c43Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3822a376accbSmrgcat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 3823a9a39c43Smrg_ACEOF 3824a9a39c43Smrgsed -n ' 3825a9a39c43Smrgh 3826a9a39c43Smrgs/^/S["/; s/!.*/"]=/ 3827a9a39c43Smrgp 3828a9a39c43Smrgg 3829a9a39c43Smrgs/^[^!]*!// 3830a9a39c43Smrg:repl 3831a9a39c43Smrgt repl 3832a9a39c43Smrgs/'"$ac_delim"'$// 3833a9a39c43Smrgt delim 3834a9a39c43Smrg:nl 3835a9a39c43Smrgh 3836a376accbSmrgs/\(.\{148\}\)..*/\1/ 3837a9a39c43Smrgt more1 3838a9a39c43Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 3839a9a39c43Smrgp 3840a9a39c43Smrgn 3841a9a39c43Smrgb repl 3842a9a39c43Smrg:more1 3843a9a39c43Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 3844a9a39c43Smrgp 3845a9a39c43Smrgg 3846a9a39c43Smrgs/.\{148\}// 3847a9a39c43Smrgt nl 3848a9a39c43Smrg:delim 3849a9a39c43Smrgh 3850a376accbSmrgs/\(.\{148\}\)..*/\1/ 3851a9a39c43Smrgt more2 3852a9a39c43Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/ 3853a9a39c43Smrgp 3854a9a39c43Smrgb 3855a9a39c43Smrg:more2 3856a9a39c43Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 3857a9a39c43Smrgp 3858a9a39c43Smrgg 3859a9a39c43Smrgs/.\{148\}// 3860a9a39c43Smrgt delim 3861a9a39c43Smrg' <conf$$subs.awk | sed ' 3862a9a39c43Smrg/^[^""]/{ 3863a9a39c43Smrg N 3864a9a39c43Smrg s/\n// 3865a9a39c43Smrg} 3866a9a39c43Smrg' >>$CONFIG_STATUS || ac_write_fail=1 3867a9a39c43Smrgrm -f conf$$subs.awk 3868a9a39c43Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3869a9a39c43Smrg_ACAWK 3870a376accbSmrgcat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 3871a9a39c43Smrg for (key in S) S_is_set[key] = 1 3872a9a39c43Smrg FS = "" 3873a9a39c43Smrg 3874a9a39c43Smrg} 3875a9a39c43Smrg{ 3876a9a39c43Smrg line = $ 0 3877a9a39c43Smrg nfields = split(line, field, "@") 3878a9a39c43Smrg substed = 0 3879a9a39c43Smrg len = length(field[1]) 3880a9a39c43Smrg for (i = 2; i < nfields; i++) { 3881a9a39c43Smrg key = field[i] 3882a9a39c43Smrg keylen = length(key) 3883a9a39c43Smrg if (S_is_set[key]) { 3884a9a39c43Smrg value = S[key] 3885a9a39c43Smrg line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 3886a9a39c43Smrg len += length(value) + length(field[++i]) 3887a9a39c43Smrg substed = 1 3888a9a39c43Smrg } else 3889a9a39c43Smrg len += 1 + keylen 3890a9a39c43Smrg } 3891a9a39c43Smrg 3892a9a39c43Smrg print line 3893a9a39c43Smrg} 3894a9a39c43Smrg 3895a9a39c43Smrg_ACAWK 3896a9a39c43Smrg_ACEOF 3897a9a39c43Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3898a9a39c43Smrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 3899a9a39c43Smrg sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 3900a9a39c43Smrgelse 3901a9a39c43Smrg cat 3902a376accbSmrgfi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 3903a376accbSmrg || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 3904a9a39c43Smrg_ACEOF 3905a9a39c43Smrg 3906a376accbSmrg# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 3907a376accbSmrg# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 3908a9a39c43Smrg# trailing colons and then remove the whole line if VPATH becomes empty 3909a9a39c43Smrg# (actually we leave an empty line to preserve line numbers). 3910a9a39c43Smrgif test "x$srcdir" = x.; then 3911a376accbSmrg ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 3912a376accbSmrgh 3913a376accbSmrgs/// 3914a376accbSmrgs/^/:/ 3915a376accbSmrgs/[ ]*$/:/ 3916a376accbSmrgs/:\$(srcdir):/:/g 3917a376accbSmrgs/:\${srcdir}:/:/g 3918a376accbSmrgs/:@srcdir@:/:/g 3919a376accbSmrgs/^:*// 3920a9a39c43Smrgs/:*$// 3921a376accbSmrgx 3922a376accbSmrgs/\(=[ ]*\).*/\1/ 3923a376accbSmrgG 3924a376accbSmrgs/\n// 3925a9a39c43Smrgs/^[^=]*=[ ]*$// 3926a9a39c43Smrg}' 3927a9a39c43Smrgfi 3928a9a39c43Smrg 3929a9a39c43Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3930129be1b7Smrgfi # test -n "$CONFIG_FILES" 3931129be1b7Smrg 3932a9a39c43Smrg# Set up the scripts for CONFIG_HEADERS section. 3933a9a39c43Smrg# No need to generate them if there are no CONFIG_HEADERS. 3934a9a39c43Smrg# This happens for instance with `./config.status Makefile'. 3935a9a39c43Smrgif test -n "$CONFIG_HEADERS"; then 3936a376accbSmrgcat >"$ac_tmp/defines.awk" <<\_ACAWK || 3937a9a39c43SmrgBEGIN { 3938129be1b7Smrg_ACEOF 3939a9a39c43Smrg 3940a9a39c43Smrg# Transform confdefs.h into an awk script `defines.awk', embedded as 3941a9a39c43Smrg# here-document in config.status, that substitutes the proper values into 3942a9a39c43Smrg# config.h.in to produce config.h. 3943a9a39c43Smrg 3944a9a39c43Smrg# Create a delimiter string that does not exist in confdefs.h, to ease 3945a9a39c43Smrg# handling of long lines. 3946a9a39c43Smrgac_delim='%!_!# ' 3947a9a39c43Smrgfor ac_last_try in false false :; do 3948a376accbSmrg ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 3949a376accbSmrg if test -z "$ac_tt"; then 3950a9a39c43Smrg break 3951a9a39c43Smrg elif $ac_last_try; then 3952a376accbSmrg as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 3953a9a39c43Smrg else 3954a9a39c43Smrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 3955a9a39c43Smrg fi 3956a9a39c43Smrgdone 3957a9a39c43Smrg 3958a9a39c43Smrg# For the awk script, D is an array of macro values keyed by name, 3959a9a39c43Smrg# likewise P contains macro parameters if any. Preserve backslash 3960a9a39c43Smrg# newline sequences. 3961a9a39c43Smrg 3962a9a39c43Smrgac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 3963a9a39c43Smrgsed -n ' 3964a9a39c43Smrgs/.\{148\}/&'"$ac_delim"'/g 3965a9a39c43Smrgt rset 3966a9a39c43Smrg:rset 3967a9a39c43Smrgs/^[ ]*#[ ]*define[ ][ ]*/ / 3968a9a39c43Smrgt def 3969a9a39c43Smrgd 3970a9a39c43Smrg:def 3971a9a39c43Smrgs/\\$// 3972a9a39c43Smrgt bsnl 3973a9a39c43Smrgs/["\\]/\\&/g 3974a9a39c43Smrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 3975a9a39c43SmrgD["\1"]=" \3"/p 3976a9a39c43Smrgs/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 3977a9a39c43Smrgd 3978a9a39c43Smrg:bsnl 3979a9a39c43Smrgs/["\\]/\\&/g 3980a9a39c43Smrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 3981a9a39c43SmrgD["\1"]=" \3\\\\\\n"\\/p 3982a9a39c43Smrgt cont 3983a9a39c43Smrgs/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 3984a9a39c43Smrgt cont 3985a9a39c43Smrgd 3986a9a39c43Smrg:cont 3987a9a39c43Smrgn 3988a9a39c43Smrgs/.\{148\}/&'"$ac_delim"'/g 3989a9a39c43Smrgt clear 3990a9a39c43Smrg:clear 3991a9a39c43Smrgs/\\$// 3992a9a39c43Smrgt bsnlc 3993a9a39c43Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/p 3994a9a39c43Smrgd 3995a9a39c43Smrg:bsnlc 3996a9a39c43Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 3997a9a39c43Smrgb cont 3998a9a39c43Smrg' <confdefs.h | sed ' 3999a9a39c43Smrgs/'"$ac_delim"'/"\\\ 4000a9a39c43Smrg"/g' >>$CONFIG_STATUS || ac_write_fail=1 4001a9a39c43Smrg 4002a9a39c43Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4003a9a39c43Smrg for (key in D) D_is_set[key] = 1 4004a9a39c43Smrg FS = "" 4005a9a39c43Smrg} 4006a9a39c43Smrg/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 4007a9a39c43Smrg line = \$ 0 4008a9a39c43Smrg split(line, arg, " ") 4009a9a39c43Smrg if (arg[1] == "#") { 4010a9a39c43Smrg defundef = arg[2] 4011a9a39c43Smrg mac1 = arg[3] 4012a9a39c43Smrg } else { 4013a9a39c43Smrg defundef = substr(arg[1], 2) 4014a9a39c43Smrg mac1 = arg[2] 4015a9a39c43Smrg } 4016a9a39c43Smrg split(mac1, mac2, "(") #) 4017a9a39c43Smrg macro = mac2[1] 4018a9a39c43Smrg prefix = substr(line, 1, index(line, defundef) - 1) 4019a9a39c43Smrg if (D_is_set[macro]) { 4020a9a39c43Smrg # Preserve the white space surrounding the "#". 4021a9a39c43Smrg print prefix "define", macro P[macro] D[macro] 4022a9a39c43Smrg next 4023a9a39c43Smrg } else { 4024a9a39c43Smrg # Replace #undef with comments. This is necessary, for example, 4025a9a39c43Smrg # in the case of _POSIX_SOURCE, which is predefined and required 4026a9a39c43Smrg # on some systems where configure will not decide to define it. 4027a9a39c43Smrg if (defundef == "undef") { 4028a9a39c43Smrg print "/*", prefix defundef, macro, "*/" 4029a9a39c43Smrg next 4030a9a39c43Smrg } 4031a9a39c43Smrg } 4032a9a39c43Smrg} 4033a9a39c43Smrg{ print } 4034a9a39c43Smrg_ACAWK 4035a9a39c43Smrg_ACEOF 4036a9a39c43Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4037a376accbSmrg as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 4038a9a39c43Smrgfi # test -n "$CONFIG_HEADERS" 4039a9a39c43Smrg 4040a9a39c43Smrg 4041e8340fabSmrgeval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 4042a9a39c43Smrgshift 4043a9a39c43Smrgfor ac_tag 4044a9a39c43Smrgdo 4045a9a39c43Smrg case $ac_tag in 4046a9a39c43Smrg :[FHLC]) ac_mode=$ac_tag; continue;; 4047a9a39c43Smrg esac 4048a9a39c43Smrg case $ac_mode$ac_tag in 4049a9a39c43Smrg :[FHL]*:*);; 4050a376accbSmrg :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 4051a9a39c43Smrg :[FH]-) ac_tag=-:-;; 4052a9a39c43Smrg :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 4053a9a39c43Smrg esac 4054a9a39c43Smrg ac_save_IFS=$IFS 4055a9a39c43Smrg IFS=: 4056a9a39c43Smrg set x $ac_tag 4057a9a39c43Smrg IFS=$ac_save_IFS 4058a9a39c43Smrg shift 4059a9a39c43Smrg ac_file=$1 4060a9a39c43Smrg shift 4061a9a39c43Smrg 4062a9a39c43Smrg case $ac_mode in 4063a9a39c43Smrg :L) ac_source=$1;; 4064a9a39c43Smrg :[FH]) 4065a9a39c43Smrg ac_file_inputs= 4066a9a39c43Smrg for ac_f 4067a9a39c43Smrg do 4068a9a39c43Smrg case $ac_f in 4069a376accbSmrg -) ac_f="$ac_tmp/stdin";; 4070a9a39c43Smrg *) # Look for the file first in the build tree, then in the source tree 4071a9a39c43Smrg # (if the path is not absolute). The absolute path cannot be DOS-style, 4072a9a39c43Smrg # because $ac_f cannot contain `:'. 4073a9a39c43Smrg test -f "$ac_f" || 4074a9a39c43Smrg case $ac_f in 4075a9a39c43Smrg [\\/$]*) false;; 4076a9a39c43Smrg *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 4077a9a39c43Smrg esac || 4078a376accbSmrg as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 4079a9a39c43Smrg esac 4080e8340fabSmrg case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 4081a376accbSmrg as_fn_append ac_file_inputs " '$ac_f'" 4082a9a39c43Smrg done 4083a9a39c43Smrg 4084a9a39c43Smrg # Let's still pretend it is `configure' which instantiates (i.e., don't 4085a9a39c43Smrg # use $as_me), people would be surprised to read: 4086a9a39c43Smrg # /* config.h. Generated by config.status. */ 4087a9a39c43Smrg configure_input='Generated from '` 4088e8340fabSmrg printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 4089a9a39c43Smrg `' by configure.' 4090a9a39c43Smrg if test x"$ac_file" != x-; then 4091a9a39c43Smrg configure_input="$ac_file. $configure_input" 4092e8340fabSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 4093e8340fabSmrgprintf "%s\n" "$as_me: creating $ac_file" >&6;} 4094a9a39c43Smrg fi 4095a9a39c43Smrg # Neutralize special characters interpreted by sed in replacement strings. 4096a9a39c43Smrg case $configure_input in #( 4097a9a39c43Smrg *\&* | *\|* | *\\* ) 4098e8340fabSmrg ac_sed_conf_input=`printf "%s\n" "$configure_input" | 4099a9a39c43Smrg sed 's/[\\\\&|]/\\\\&/g'`;; #( 4100a9a39c43Smrg *) ac_sed_conf_input=$configure_input;; 4101a9a39c43Smrg esac 4102a9a39c43Smrg 4103a9a39c43Smrg case $ac_tag in 4104a376accbSmrg *:-:* | *:-) cat >"$ac_tmp/stdin" \ 4105a376accbSmrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 4106a9a39c43Smrg esac 4107a9a39c43Smrg ;; 4108129be1b7Smrg esac 4109129be1b7Smrg 4110a9a39c43Smrg ac_dir=`$as_dirname -- "$ac_file" || 4111129be1b7Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4112129be1b7Smrg X"$ac_file" : 'X\(//\)[^/]' \| \ 4113129be1b7Smrg X"$ac_file" : 'X\(//\)$' \| \ 4114a9a39c43Smrg X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 4115e8340fabSmrgprintf "%s\n" X"$ac_file" | 4116a9a39c43Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4117a9a39c43Smrg s//\1/ 4118a9a39c43Smrg q 4119a9a39c43Smrg } 4120a9a39c43Smrg /^X\(\/\/\)[^/].*/{ 4121a9a39c43Smrg s//\1/ 4122a9a39c43Smrg q 4123a9a39c43Smrg } 4124a9a39c43Smrg /^X\(\/\/\)$/{ 4125a9a39c43Smrg s//\1/ 4126a9a39c43Smrg q 4127a9a39c43Smrg } 4128a9a39c43Smrg /^X\(\/\).*/{ 4129a9a39c43Smrg s//\1/ 4130a9a39c43Smrg q 4131a9a39c43Smrg } 4132a9a39c43Smrg s/.*/./; q'` 4133a376accbSmrg as_dir="$ac_dir"; as_fn_mkdir_p 4134129be1b7Smrg ac_builddir=. 4135129be1b7Smrg 4136a9a39c43Smrgcase "$ac_dir" in 4137a9a39c43Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 4138a9a39c43Smrg*) 4139e8340fabSmrg ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 4140a9a39c43Smrg # A ".." for each directory in $ac_dir_suffix. 4141e8340fabSmrg ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 4142a9a39c43Smrg case $ac_top_builddir_sub in 4143a9a39c43Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 4144a9a39c43Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 4145a9a39c43Smrg esac ;; 4146a9a39c43Smrgesac 4147a9a39c43Smrgac_abs_top_builddir=$ac_pwd 4148a9a39c43Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 4149a9a39c43Smrg# for backward compatibility: 4150a9a39c43Smrgac_top_builddir=$ac_top_build_prefix 4151129be1b7Smrg 4152129be1b7Smrgcase $srcdir in 4153a9a39c43Smrg .) # We are building in place. 4154129be1b7Smrg ac_srcdir=. 4155a9a39c43Smrg ac_top_srcdir=$ac_top_builddir_sub 4156a9a39c43Smrg ac_abs_top_srcdir=$ac_pwd ;; 4157a9a39c43Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 4158129be1b7Smrg ac_srcdir=$srcdir$ac_dir_suffix; 4159a9a39c43Smrg ac_top_srcdir=$srcdir 4160a9a39c43Smrg ac_abs_top_srcdir=$srcdir ;; 4161a9a39c43Smrg *) # Relative name. 4162a9a39c43Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 4163a9a39c43Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 4164a9a39c43Smrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 4165129be1b7Smrgesac 4166a9a39c43Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 4167129be1b7Smrg 4168129be1b7Smrg 4169a9a39c43Smrg case $ac_mode in 4170a9a39c43Smrg :F) 4171a9a39c43Smrg # 4172a9a39c43Smrg # CONFIG_FILE 4173a9a39c43Smrg # 4174129be1b7Smrg 4175129be1b7Smrg case $INSTALL in 4176129be1b7Smrg [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 4177a9a39c43Smrg *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 4178a9a39c43Smrg esac 4179a9a39c43Smrg ac_MKDIR_P=$MKDIR_P 4180a9a39c43Smrg case $MKDIR_P in 4181a9a39c43Smrg [\\/$]* | ?:[\\/]* ) ;; 4182a9a39c43Smrg */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 4183129be1b7Smrg esac 4184a9a39c43Smrg_ACEOF 4185129be1b7Smrg 4186a9a39c43Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4187a9a39c43Smrg# If the template does not know about datarootdir, expand it. 4188a9a39c43Smrg# FIXME: This hack should be removed a few years after 2.60. 4189a9a39c43Smrgac_datarootdir_hack=; ac_datarootdir_seen= 4190a9a39c43Smrgac_sed_dataroot=' 4191a9a39c43Smrg/datarootdir/ { 4192a9a39c43Smrg p 4193a9a39c43Smrg q 4194a9a39c43Smrg} 4195a9a39c43Smrg/@datadir@/p 4196a9a39c43Smrg/@docdir@/p 4197a9a39c43Smrg/@infodir@/p 4198a9a39c43Smrg/@localedir@/p 4199a376accbSmrg/@mandir@/p' 4200a9a39c43Smrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 4201a9a39c43Smrg*datarootdir*) ac_datarootdir_seen=yes;; 4202a9a39c43Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 4203e8340fabSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 4204e8340fabSmrgprintf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 4205a9a39c43Smrg_ACEOF 4206a9a39c43Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4207a9a39c43Smrg ac_datarootdir_hack=' 4208a9a39c43Smrg s&@datadir@&$datadir&g 4209a9a39c43Smrg s&@docdir@&$docdir&g 4210a9a39c43Smrg s&@infodir@&$infodir&g 4211a9a39c43Smrg s&@localedir@&$localedir&g 4212a9a39c43Smrg s&@mandir@&$mandir&g 4213a376accbSmrg s&\\\${datarootdir}&$datarootdir&g' ;; 4214a9a39c43Smrgesac 4215129be1b7Smrg_ACEOF 4216a9a39c43Smrg 4217a9a39c43Smrg# Neutralize VPATH when `$srcdir' = `.'. 4218a9a39c43Smrg# Shell code in configure.ac might set extrasub. 4219a9a39c43Smrg# FIXME: do we really want to maintain this feature? 4220a9a39c43Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4221a9a39c43Smrgac_sed_extra="$ac_vpsub 4222129be1b7Smrg$extrasub 4223129be1b7Smrg_ACEOF 4224a9a39c43Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4225129be1b7Smrg:t 4226129be1b7Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 4227a9a39c43Smrgs|@configure_input@|$ac_sed_conf_input|;t t 4228a9a39c43Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t 4229a9a39c43Smrgs&@top_build_prefix@&$ac_top_build_prefix&;t t 4230a9a39c43Smrgs&@srcdir@&$ac_srcdir&;t t 4231a9a39c43Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t 4232a9a39c43Smrgs&@top_srcdir@&$ac_top_srcdir&;t t 4233a9a39c43Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 4234a9a39c43Smrgs&@builddir@&$ac_builddir&;t t 4235a9a39c43Smrgs&@abs_builddir@&$ac_abs_builddir&;t t 4236a9a39c43Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t 4237a9a39c43Smrgs&@INSTALL@&$ac_INSTALL&;t t 4238a9a39c43Smrgs&@MKDIR_P@&$ac_MKDIR_P&;t t 4239a9a39c43Smrg$ac_datarootdir_hack 4240a9a39c43Smrg" 4241a376accbSmrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 4242a376accbSmrg >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 4243129be1b7Smrg 4244a9a39c43Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 4245a376accbSmrg { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 4246a376accbSmrg { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 4247a376accbSmrg "$ac_tmp/out"`; test -z "$ac_out"; } && 4248e8340fabSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 4249a376accbSmrgwhich seems to be undefined. Please make sure it is defined" >&5 4250e8340fabSmrgprintf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 4251a376accbSmrgwhich seems to be undefined. Please make sure it is defined" >&2;} 4252129be1b7Smrg 4253a376accbSmrg rm -f "$ac_tmp/stdin" 4254129be1b7Smrg case $ac_file in 4255a376accbSmrg -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 4256a376accbSmrg *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 4257a9a39c43Smrg esac \ 4258a376accbSmrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 4259a9a39c43Smrg ;; 4260a9a39c43Smrg :H) 4261a9a39c43Smrg # 4262a9a39c43Smrg # CONFIG_HEADER 4263a9a39c43Smrg # 4264129be1b7Smrg if test x"$ac_file" != x-; then 4265a9a39c43Smrg { 4266e8340fabSmrg printf "%s\n" "/* $configure_input */" >&1 \ 4267a376accbSmrg && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 4268a376accbSmrg } >"$ac_tmp/config.h" \ 4269a376accbSmrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 4270a376accbSmrg if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 4271e8340fabSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 4272e8340fabSmrgprintf "%s\n" "$as_me: $ac_file is unchanged" >&6;} 4273129be1b7Smrg else 4274a9a39c43Smrg rm -f "$ac_file" 4275a376accbSmrg mv "$ac_tmp/config.h" "$ac_file" \ 4276a376accbSmrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 4277129be1b7Smrg fi 4278129be1b7Smrg else 4279e8340fabSmrg printf "%s\n" "/* $configure_input */" >&1 \ 4280a376accbSmrg && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 4281a376accbSmrg || as_fn_error $? "could not create -" "$LINENO" 5 4282129be1b7Smrg fi 4283a9a39c43Smrg# Compute "$ac_file"'s index in $config_headers. 4284a9a39c43Smrg_am_arg="$ac_file" 4285129be1b7Smrg_am_stamp_count=1 4286129be1b7Smrgfor _am_header in $config_headers :; do 4287129be1b7Smrg case $_am_header in 4288a9a39c43Smrg $_am_arg | $_am_arg:* ) 4289129be1b7Smrg break ;; 4290129be1b7Smrg * ) 4291129be1b7Smrg _am_stamp_count=`expr $_am_stamp_count + 1` ;; 4292129be1b7Smrg esac 4293129be1b7Smrgdone 4294a9a39c43Smrgecho "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 4295a9a39c43Smrg$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4296a9a39c43Smrg X"$_am_arg" : 'X\(//\)[^/]' \| \ 4297a9a39c43Smrg X"$_am_arg" : 'X\(//\)$' \| \ 4298a9a39c43Smrg X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 4299e8340fabSmrgprintf "%s\n" X"$_am_arg" | 4300a9a39c43Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4301a9a39c43Smrg s//\1/ 4302a9a39c43Smrg q 4303a9a39c43Smrg } 4304a9a39c43Smrg /^X\(\/\/\)[^/].*/{ 4305a9a39c43Smrg s//\1/ 4306a9a39c43Smrg q 4307a9a39c43Smrg } 4308a9a39c43Smrg /^X\(\/\/\)$/{ 4309a9a39c43Smrg s//\1/ 4310a9a39c43Smrg q 4311a9a39c43Smrg } 4312a9a39c43Smrg /^X\(\/\).*/{ 4313a9a39c43Smrg s//\1/ 4314a9a39c43Smrg q 4315a9a39c43Smrg } 4316a9a39c43Smrg s/.*/./; q'`/stamp-h$_am_stamp_count 4317a9a39c43Smrg ;; 4318a9a39c43Smrg 4319a9a39c43Smrg 4320a9a39c43Smrg esac 4321a9a39c43Smrg 4322a9a39c43Smrgdone # for ac_tag 4323129be1b7Smrg 4324129be1b7Smrg 4325a376accbSmrgas_fn_exit 0 4326129be1b7Smrg_ACEOF 4327129be1b7Smrgac_clean_files=$ac_clean_files_save 4328129be1b7Smrg 4329a9a39c43Smrgtest $ac_write_fail = 0 || 4330a376accbSmrg as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 4331a9a39c43Smrg 4332129be1b7Smrg 4333129be1b7Smrg# configure is writing to config.log, and then calls config.status. 4334129be1b7Smrg# config.status does its own redirection, appending to config.log. 4335129be1b7Smrg# Unfortunately, on DOS this fails, as config.log is still kept open 4336129be1b7Smrg# by configure, so config.status won't be able to write to it; its 4337129be1b7Smrg# output is simply discarded. So we exec the FD to /dev/null, 4338129be1b7Smrg# effectively closing config.log, so it can be properly (re)opened and 4339129be1b7Smrg# appended to by config.status. When coming back to configure, we 4340129be1b7Smrg# need to make the FD available again. 4341129be1b7Smrgif test "$no_create" != yes; then 4342129be1b7Smrg ac_cs_success=: 4343129be1b7Smrg ac_config_status_args= 4344129be1b7Smrg test "$silent" = yes && 4345129be1b7Smrg ac_config_status_args="$ac_config_status_args --quiet" 4346129be1b7Smrg exec 5>/dev/null 4347129be1b7Smrg $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 4348129be1b7Smrg exec 5>>config.log 4349129be1b7Smrg # Use ||, not &&, to avoid exiting from the if with $? = 1, which 4350129be1b7Smrg # would make configure fail if this is the last instruction. 4351a376accbSmrg $ac_cs_success || as_fn_exit 1 4352129be1b7Smrgfi 4353a9a39c43Smrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 4354e8340fabSmrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 4355e8340fabSmrgprintf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 4356a9a39c43Smrgfi 4357129be1b7Smrg 4358e8340fabSmrg 4359