120d725fbSmrg#! /bin/sh 220d725fbSmrg# Guess values for system-dependent variables and create Makefiles. 3fe605390Smrg# Generated by GNU Autoconf 2.71 for libpthread-stubs 0.5. 420d725fbSmrg# 520d725fbSmrg# Report bugs to <xcb@lists.freedesktop.org>. 620d725fbSmrg# 7fe605390Smrg# 8fe605390Smrg# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, 9fe605390Smrg# Inc. 10fe605390Smrg# 1163fbae1dSmrg# 1220d725fbSmrg# This configure script is free software; the Free Software Foundation 1320d725fbSmrg# gives unlimited permission to copy, distribute and modify it. 1463fbae1dSmrg## -------------------- ## 1563fbae1dSmrg## M4sh Initialization. ## 1663fbae1dSmrg## -------------------- ## 1720d725fbSmrg 1863fbae1dSmrg# Be more Bourne compatible 1963fbae1dSmrgDUALCASE=1; export DUALCASE # for MKS sh 20fe605390Smrgas_nop=: 21fe605390Smrgif test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 22fe605390Smrgthen : 2320d725fbSmrg emulate sh 2420d725fbSmrg NULLCMD=: 2563fbae1dSmrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 2620d725fbSmrg # is contrary to our usage. Disable this feature. 2720d725fbSmrg alias -g '${1+"$@"}'='"$@"' 2820d725fbSmrg setopt NO_GLOB_SUBST 29fe605390Smrgelse $as_nop 3063fbae1dSmrg case `(set -o) 2>/dev/null` in #( 3163fbae1dSmrg *posix*) : 3263fbae1dSmrg set -o posix ;; #( 3363fbae1dSmrg *) : 3463fbae1dSmrg ;; 3563fbae1dSmrgesac 3620d725fbSmrgfi 3720d725fbSmrg 3820d725fbSmrg 39fe605390Smrg 40fe605390Smrg# Reset variables that may have inherited troublesome values from 41fe605390Smrg# the environment. 42fe605390Smrg 43fe605390Smrg# IFS needs to be set, to space, tab, and newline, in precisely that order. 44fe605390Smrg# (If _AS_PATH_WALK were called with IFS unset, it would have the 45fe605390Smrg# side effect of setting IFS to empty, thus disabling word splitting.) 46fe605390Smrg# Quoting is to prevent editors from complaining about space-tab. 4763fbae1dSmrgas_nl=' 4863fbae1dSmrg' 4963fbae1dSmrgexport as_nl 50fe605390SmrgIFS=" "" $as_nl" 51fe605390Smrg 52fe605390SmrgPS1='$ ' 53fe605390SmrgPS2='> ' 54fe605390SmrgPS4='+ ' 55fe605390Smrg 56fe605390Smrg# Ensure predictable behavior from utilities with locale-dependent output. 57fe605390SmrgLC_ALL=C 58fe605390Smrgexport LC_ALL 59fe605390SmrgLANGUAGE=C 60fe605390Smrgexport LANGUAGE 61fe605390Smrg 62fe605390Smrg# We cannot yet rely on "unset" to work, but we need these variables 63fe605390Smrg# to be unset--not just set to an empty or harmless value--now, to 64fe605390Smrg# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct 65fe605390Smrg# also avoids known problems related to "unset" and subshell syntax 66fe605390Smrg# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). 67fe605390Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 68fe605390Smrgdo eval test \${$as_var+y} \ 69fe605390Smrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 70fe605390Smrgdone 71fe605390Smrg 72fe605390Smrg# Ensure that fds 0, 1, and 2 are open. 73fe605390Smrgif (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 74fe605390Smrgif (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 75fe605390Smrgif (exec 3>&2) ; then :; else exec 2>/dev/null; fi 7620d725fbSmrg 7763fbae1dSmrg# The user is always right. 78fe605390Smrgif ${PATH_SEPARATOR+false} :; then 7963fbae1dSmrg PATH_SEPARATOR=: 8063fbae1dSmrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 8163fbae1dSmrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 8263fbae1dSmrg PATH_SEPARATOR=';' 8363fbae1dSmrg } 8420d725fbSmrgfi 8520d725fbSmrg 8620d725fbSmrg 8720d725fbSmrg# Find who we are. Look in the path if we contain no directory separator. 88fe605390Smrgas_myself= 8963fbae1dSmrgcase $0 in #(( 9020d725fbSmrg *[\\/]* ) as_myself=$0 ;; 9120d725fbSmrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9220d725fbSmrgfor as_dir in $PATH 9320d725fbSmrgdo 9420d725fbSmrg IFS=$as_save_IFS 95fe605390Smrg case $as_dir in #((( 96fe605390Smrg '') as_dir=./ ;; 97fe605390Smrg */) ;; 98fe605390Smrg *) as_dir=$as_dir/ ;; 99fe605390Smrg esac 100fe605390Smrg test -r "$as_dir$0" && as_myself=$as_dir$0 && break 10163fbae1dSmrg done 10220d725fbSmrgIFS=$as_save_IFS 10320d725fbSmrg 10420d725fbSmrg ;; 10520d725fbSmrgesac 10620d725fbSmrg# We did not find ourselves, most probably we were run as `sh COMMAND' 10720d725fbSmrg# in which case we are not to be found in the path. 10820d725fbSmrgif test "x$as_myself" = x; then 10920d725fbSmrg as_myself=$0 11020d725fbSmrgfi 11120d725fbSmrgif test ! -f "$as_myself"; then 112fe605390Smrg printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 11363fbae1dSmrg exit 1 11420d725fbSmrgfi 11520d725fbSmrg 11620d725fbSmrg 117fe605390Smrg# Use a proper internal environment variable to ensure we don't fall 118fe605390Smrg # into an infinite loop, continuously re-executing ourselves. 119fe605390Smrg if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 120fe605390Smrg _as_can_reexec=no; export _as_can_reexec; 121fe605390Smrg # We cannot yet assume a decent shell, so we have to provide a 122fe605390Smrg# neutralization value for shells without unset; and this also 123fe605390Smrg# works around shells that cannot unset nonexistent variables. 124fe605390Smrg# Preserve -v and -x to the replacement shell. 125fe605390SmrgBASH_ENV=/dev/null 126fe605390SmrgENV=/dev/null 127fe605390Smrg(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 128fe605390Smrgcase $- in # (((( 129fe605390Smrg *v*x* | *x*v* ) as_opts=-vx ;; 130fe605390Smrg *v* ) as_opts=-v ;; 131fe605390Smrg *x* ) as_opts=-x ;; 132fe605390Smrg * ) as_opts= ;; 133fe605390Smrgesac 134fe605390Smrgexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 135fe605390Smrg# Admittedly, this is quite paranoid, since all the known shells bail 136fe605390Smrg# out after a failed `exec'. 137fe605390Smrgprintf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 138fe605390Smrgexit 255 139fe605390Smrg fi 140fe605390Smrg # We don't want this to propagate to other subprocesses. 141fe605390Smrg { _as_can_reexec=; unset _as_can_reexec;} 14220d725fbSmrgif test "x$CONFIG_SHELL" = x; then 143fe605390Smrg as_bourne_compatible="as_nop=: 144fe605390Smrgif test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 145fe605390Smrgthen : 14663fbae1dSmrg emulate sh 14763fbae1dSmrg NULLCMD=: 14863fbae1dSmrg # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 14963fbae1dSmrg # is contrary to our usage. Disable this feature. 15063fbae1dSmrg alias -g '\${1+\"\$@\"}'='\"\$@\"' 15163fbae1dSmrg setopt NO_GLOB_SUBST 152fe605390Smrgelse \$as_nop 15363fbae1dSmrg case \`(set -o) 2>/dev/null\` in #( 15463fbae1dSmrg *posix*) : 15563fbae1dSmrg set -o posix ;; #( 15663fbae1dSmrg *) : 15763fbae1dSmrg ;; 15863fbae1dSmrgesac 15920d725fbSmrgfi 16063fbae1dSmrg" 16163fbae1dSmrg as_required="as_fn_return () { (exit \$1); } 16263fbae1dSmrgas_fn_success () { as_fn_return 0; } 16363fbae1dSmrgas_fn_failure () { as_fn_return 1; } 16463fbae1dSmrgas_fn_ret_success () { return 0; } 16563fbae1dSmrgas_fn_ret_failure () { return 1; } 16620d725fbSmrg 16720d725fbSmrgexitcode=0 16863fbae1dSmrgas_fn_success || { exitcode=1; echo as_fn_success failed.; } 16963fbae1dSmrgas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 17063fbae1dSmrgas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 17163fbae1dSmrgas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 172fe605390Smrgif ( set x; as_fn_ret_success y && test x = \"\$1\" ) 173fe605390Smrgthen : 17463fbae1dSmrg 175fe605390Smrgelse \$as_nop 17663fbae1dSmrg exitcode=1; echo positional parameters were not saved. 17763fbae1dSmrgfi 178fe605390Smrgtest x\$exitcode = x0 || exit 1 179fe605390Smrgblah=\$(echo \$(echo blah)) 180fe605390Smrgtest x\"\$blah\" = xblah || exit 1 181fe605390Smrgtest -x / || exit 1" 18263fbae1dSmrg as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 18363fbae1dSmrg as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 18463fbae1dSmrg eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 185fe605390Smrg test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1" 186fe605390Smrg if (eval "$as_required") 2>/dev/null 187fe605390Smrgthen : 18863fbae1dSmrg as_have_required=yes 189fe605390Smrgelse $as_nop 19063fbae1dSmrg as_have_required=no 19120d725fbSmrgfi 192fe605390Smrg if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null 193fe605390Smrgthen : 19420d725fbSmrg 195fe605390Smrgelse $as_nop 19663fbae1dSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19763fbae1dSmrgas_found=false 19863fbae1dSmrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 19920d725fbSmrgdo 20020d725fbSmrg IFS=$as_save_IFS 201fe605390Smrg case $as_dir in #((( 202fe605390Smrg '') as_dir=./ ;; 203fe605390Smrg */) ;; 204fe605390Smrg *) as_dir=$as_dir/ ;; 205fe605390Smrg esac 20663fbae1dSmrg as_found=: 20763fbae1dSmrg case $as_dir in #( 20820d725fbSmrg /*) 20920d725fbSmrg for as_base in sh bash ksh sh5; do 21063fbae1dSmrg # Try only shells that exist, to save several forks. 211fe605390Smrg as_shell=$as_dir$as_base 21263fbae1dSmrg if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 213fe605390Smrg as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null 214fe605390Smrgthen : 21563fbae1dSmrg CONFIG_SHELL=$as_shell as_have_required=yes 216fe605390Smrg if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null 217fe605390Smrgthen : 21863fbae1dSmrg break 2 21963fbae1dSmrgfi 22063fbae1dSmrgfi 22120d725fbSmrg done;; 22220d725fbSmrg esac 22363fbae1dSmrg as_found=false 22420d725fbSmrgdone 22520d725fbSmrgIFS=$as_save_IFS 226fe605390Smrgif $as_found 227fe605390Smrgthen : 22820d725fbSmrg 229fe605390Smrgelse $as_nop 230fe605390Smrg if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 231fe605390Smrg as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null 232fe605390Smrgthen : 233fe605390Smrg CONFIG_SHELL=$SHELL as_have_required=yes 23420d725fbSmrgfi 235fe605390Smrgfi 236fe605390Smrg 23720d725fbSmrg 238fe605390Smrg if test "x$CONFIG_SHELL" != x 239fe605390Smrgthen : 240fe605390Smrg export CONFIG_SHELL 241fe605390Smrg # We cannot yet assume a decent shell, so we have to provide a 242fe605390Smrg# neutralization value for shells without unset; and this also 243fe605390Smrg# works around shells that cannot unset nonexistent variables. 244fe605390Smrg# Preserve -v and -x to the replacement shell. 245fe605390SmrgBASH_ENV=/dev/null 246fe605390SmrgENV=/dev/null 247fe605390Smrg(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 248fe605390Smrgcase $- in # (((( 249fe605390Smrg *v*x* | *x*v* ) as_opts=-vx ;; 250fe605390Smrg *v* ) as_opts=-v ;; 251fe605390Smrg *x* ) as_opts=-x ;; 252fe605390Smrg * ) as_opts= ;; 253fe605390Smrgesac 254fe605390Smrgexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 255fe605390Smrg# Admittedly, this is quite paranoid, since all the known shells bail 256fe605390Smrg# out after a failed `exec'. 257fe605390Smrgprintf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 258fe605390Smrgexit 255 259fe605390Smrgfi 260fe605390Smrg 261fe605390Smrg if test x$as_have_required = xno 262fe605390Smrgthen : 263fe605390Smrg printf "%s\n" "$0: This script requires a shell more modern than all" 264fe605390Smrg printf "%s\n" "$0: the shells that I found on your system." 265fe605390Smrg if test ${ZSH_VERSION+y} ; then 266fe605390Smrg printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should" 267fe605390Smrg printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later." 26863fbae1dSmrg else 269fe605390Smrg printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and 27063fbae1dSmrg$0: xcb@lists.freedesktop.org about your system, including 27163fbae1dSmrg$0: any error possibly output before this message. Then 27263fbae1dSmrg$0: install a modern shell, or manually run the script 27363fbae1dSmrg$0: under such a shell if you do have one." 27463fbae1dSmrg fi 27563fbae1dSmrg exit 1 27620d725fbSmrgfi 27763fbae1dSmrgfi 27863fbae1dSmrgfi 27963fbae1dSmrgSHELL=${CONFIG_SHELL-/bin/sh} 28063fbae1dSmrgexport SHELL 28163fbae1dSmrg# Unset more variables known to interfere with behavior of common tools. 28263fbae1dSmrgCLICOLOR_FORCE= GREP_OPTIONS= 28363fbae1dSmrgunset CLICOLOR_FORCE GREP_OPTIONS 28420d725fbSmrg 28563fbae1dSmrg## --------------------- ## 28663fbae1dSmrg## M4sh Shell Functions. ## 28763fbae1dSmrg## --------------------- ## 28863fbae1dSmrg# as_fn_unset VAR 28963fbae1dSmrg# --------------- 29063fbae1dSmrg# Portably unset VAR. 29163fbae1dSmrgas_fn_unset () 29263fbae1dSmrg{ 29363fbae1dSmrg { eval $1=; unset $1;} 29420d725fbSmrg} 29563fbae1dSmrgas_unset=as_fn_unset 29620d725fbSmrg 297fe605390Smrg 29863fbae1dSmrg# as_fn_set_status STATUS 29963fbae1dSmrg# ----------------------- 30063fbae1dSmrg# Set $? to STATUS, without forking. 30163fbae1dSmrgas_fn_set_status () 30263fbae1dSmrg{ 30363fbae1dSmrg return $1 30463fbae1dSmrg} # as_fn_set_status 30520d725fbSmrg 30663fbae1dSmrg# as_fn_exit STATUS 30763fbae1dSmrg# ----------------- 30863fbae1dSmrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 30963fbae1dSmrgas_fn_exit () 31063fbae1dSmrg{ 31163fbae1dSmrg set +e 31263fbae1dSmrg as_fn_set_status $1 31363fbae1dSmrg exit $1 31463fbae1dSmrg} # as_fn_exit 315fe605390Smrg# as_fn_nop 316fe605390Smrg# --------- 317fe605390Smrg# Do nothing but, unlike ":", preserve the value of $?. 318fe605390Smrgas_fn_nop () 319fe605390Smrg{ 320fe605390Smrg return $? 321fe605390Smrg} 322fe605390Smrgas_nop=as_fn_nop 32363fbae1dSmrg 32463fbae1dSmrg# as_fn_mkdir_p 32563fbae1dSmrg# ------------- 32663fbae1dSmrg# Create "$as_dir" as a directory, including parents if necessary. 32763fbae1dSmrgas_fn_mkdir_p () 32863fbae1dSmrg{ 32920d725fbSmrg 33063fbae1dSmrg case $as_dir in #( 33163fbae1dSmrg -*) as_dir=./$as_dir;; 33263fbae1dSmrg esac 33363fbae1dSmrg test -d "$as_dir" || eval $as_mkdir_p || { 33463fbae1dSmrg as_dirs= 33563fbae1dSmrg while :; do 33663fbae1dSmrg case $as_dir in #( 337fe605390Smrg *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 33863fbae1dSmrg *) as_qdir=$as_dir;; 33963fbae1dSmrg esac 34063fbae1dSmrg as_dirs="'$as_qdir' $as_dirs" 34163fbae1dSmrg as_dir=`$as_dirname -- "$as_dir" || 34263fbae1dSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 34363fbae1dSmrg X"$as_dir" : 'X\(//\)[^/]' \| \ 34463fbae1dSmrg X"$as_dir" : 'X\(//\)$' \| \ 34563fbae1dSmrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 346fe605390Smrgprintf "%s\n" X"$as_dir" | 34763fbae1dSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 34863fbae1dSmrg s//\1/ 34963fbae1dSmrg q 35063fbae1dSmrg } 35163fbae1dSmrg /^X\(\/\/\)[^/].*/{ 35263fbae1dSmrg s//\1/ 35363fbae1dSmrg q 35463fbae1dSmrg } 35563fbae1dSmrg /^X\(\/\/\)$/{ 35663fbae1dSmrg s//\1/ 35763fbae1dSmrg q 35863fbae1dSmrg } 35963fbae1dSmrg /^X\(\/\).*/{ 36063fbae1dSmrg s//\1/ 36163fbae1dSmrg q 36263fbae1dSmrg } 36363fbae1dSmrg s/.*/./; q'` 36463fbae1dSmrg test -d "$as_dir" && break 36563fbae1dSmrg done 36663fbae1dSmrg test -z "$as_dirs" || eval "mkdir $as_dirs" 367fe605390Smrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 36863fbae1dSmrg 36963fbae1dSmrg 37063fbae1dSmrg} # as_fn_mkdir_p 371fe605390Smrg 372fe605390Smrg# as_fn_executable_p FILE 373fe605390Smrg# ----------------------- 374fe605390Smrg# Test if FILE is an executable regular file. 375fe605390Smrgas_fn_executable_p () 376fe605390Smrg{ 377fe605390Smrg test -f "$1" && test -x "$1" 378fe605390Smrg} # as_fn_executable_p 37963fbae1dSmrg# as_fn_append VAR VALUE 38063fbae1dSmrg# ---------------------- 38163fbae1dSmrg# Append the text in VALUE to the end of the definition contained in VAR. Take 38263fbae1dSmrg# advantage of any shell optimizations that allow amortized linear growth over 38363fbae1dSmrg# repeated appends, instead of the typical quadratic growth present in naive 38463fbae1dSmrg# implementations. 385fe605390Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 386fe605390Smrgthen : 38763fbae1dSmrg eval 'as_fn_append () 38863fbae1dSmrg { 38963fbae1dSmrg eval $1+=\$2 39063fbae1dSmrg }' 391fe605390Smrgelse $as_nop 39263fbae1dSmrg as_fn_append () 39363fbae1dSmrg { 39463fbae1dSmrg eval $1=\$$1\$2 39563fbae1dSmrg } 39663fbae1dSmrgfi # as_fn_append 39763fbae1dSmrg 39863fbae1dSmrg# as_fn_arith ARG... 39963fbae1dSmrg# ------------------ 40063fbae1dSmrg# Perform arithmetic evaluation on the ARGs, and store the result in the 40163fbae1dSmrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 40263fbae1dSmrg# must be portable across $(()) and expr. 403fe605390Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 404fe605390Smrgthen : 40563fbae1dSmrg eval 'as_fn_arith () 40663fbae1dSmrg { 40763fbae1dSmrg as_val=$(( $* )) 40863fbae1dSmrg }' 409fe605390Smrgelse $as_nop 41063fbae1dSmrg as_fn_arith () 41163fbae1dSmrg { 41263fbae1dSmrg as_val=`expr "$@" || test $? -eq 1` 41363fbae1dSmrg } 41463fbae1dSmrgfi # as_fn_arith 41520d725fbSmrg 416fe605390Smrg# as_fn_nop 417fe605390Smrg# --------- 418fe605390Smrg# Do nothing but, unlike ":", preserve the value of $?. 419fe605390Smrgas_fn_nop () 420fe605390Smrg{ 421fe605390Smrg return $? 422fe605390Smrg} 423fe605390Smrgas_nop=as_fn_nop 42420d725fbSmrg 425fe605390Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 426fe605390Smrg# ---------------------------------------- 42763fbae1dSmrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 42863fbae1dSmrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 429fe605390Smrg# script with STATUS, using 1 if that was 0. 43063fbae1dSmrgas_fn_error () 43163fbae1dSmrg{ 432fe605390Smrg as_status=$1; test $as_status -eq 0 && as_status=1 433fe605390Smrg if test "$4"; then 434fe605390Smrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 435fe605390Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 43663fbae1dSmrg fi 437fe605390Smrg printf "%s\n" "$as_me: error: $2" >&2 43863fbae1dSmrg as_fn_exit $as_status 43963fbae1dSmrg} # as_fn_error 44020d725fbSmrg 44163fbae1dSmrgif expr a : '\(a\)' >/dev/null 2>&1 && 44263fbae1dSmrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 44363fbae1dSmrg as_expr=expr 44420d725fbSmrgelse 44563fbae1dSmrg as_expr=false 44620d725fbSmrgfi 44720d725fbSmrg 44863fbae1dSmrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 44963fbae1dSmrg as_basename=basename 45020d725fbSmrgelse 45163fbae1dSmrg as_basename=false 45220d725fbSmrgfi 45320d725fbSmrg 45463fbae1dSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 45563fbae1dSmrg as_dirname=dirname 45620d725fbSmrgelse 45763fbae1dSmrg as_dirname=false 45820d725fbSmrgfi 45920d725fbSmrg 46063fbae1dSmrgas_me=`$as_basename -- "$0" || 46163fbae1dSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 46263fbae1dSmrg X"$0" : 'X\(//\)$' \| \ 46363fbae1dSmrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 464fe605390Smrgprintf "%s\n" X/"$0" | 46563fbae1dSmrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 46663fbae1dSmrg s//\1/ 46763fbae1dSmrg q 46863fbae1dSmrg } 46963fbae1dSmrg /^X\/\(\/\/\)$/{ 47063fbae1dSmrg s//\1/ 47163fbae1dSmrg q 47263fbae1dSmrg } 47363fbae1dSmrg /^X\/\(\/\).*/{ 47463fbae1dSmrg s//\1/ 47563fbae1dSmrg q 47663fbae1dSmrg } 47763fbae1dSmrg s/.*/./; q'` 47820d725fbSmrg 47963fbae1dSmrg# Avoid depending upon Character Ranges. 48063fbae1dSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 48163fbae1dSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 48263fbae1dSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 48363fbae1dSmrgas_cr_digits='0123456789' 48463fbae1dSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits 48520d725fbSmrg 48620d725fbSmrg 48763fbae1dSmrg as_lineno_1=$LINENO as_lineno_1a=$LINENO 48863fbae1dSmrg as_lineno_2=$LINENO as_lineno_2a=$LINENO 48963fbae1dSmrg eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 49063fbae1dSmrg test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 49163fbae1dSmrg # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 49220d725fbSmrg sed -n ' 49320d725fbSmrg p 49420d725fbSmrg /[$]LINENO/= 49520d725fbSmrg ' <$as_myself | 49620d725fbSmrg sed ' 49720d725fbSmrg s/[$]LINENO.*/&-/ 49820d725fbSmrg t lineno 49920d725fbSmrg b 50020d725fbSmrg :lineno 50120d725fbSmrg N 50220d725fbSmrg :loop 50320d725fbSmrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 50420d725fbSmrg t loop 50520d725fbSmrg s/-\n.*// 50620d725fbSmrg ' >$as_me.lineno && 50720d725fbSmrg chmod +x "$as_me.lineno" || 508fe605390Smrg { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 50920d725fbSmrg 510fe605390Smrg # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 511fe605390Smrg # already done that, so ensure we don't try to do so again and fall 512fe605390Smrg # in an infinite loop. This has already happened in practice. 513fe605390Smrg _as_can_reexec=no; export _as_can_reexec 51420d725fbSmrg # Don't try to exec as it changes $[0], causing all sort of problems 51520d725fbSmrg # (the dirname of $[0] is not the place where we might find the 51620d725fbSmrg # original and so on. Autoconf is especially sensitive to this). 51720d725fbSmrg . "./$as_me.lineno" 51820d725fbSmrg # Exit status is that of the last command. 51920d725fbSmrg exit 52020d725fbSmrg} 52120d725fbSmrg 522fe605390Smrg 523fe605390Smrg# Determine whether it's possible to make 'echo' print without a newline. 524fe605390Smrg# These variables are no longer used directly by Autoconf, but are AC_SUBSTed 525fe605390Smrg# for compatibility with existing Makefiles. 52620d725fbSmrgECHO_C= ECHO_N= ECHO_T= 52763fbae1dSmrgcase `echo -n x` in #((((( 52820d725fbSmrg-n*) 52963fbae1dSmrg case `echo 'xy\c'` in 53020d725fbSmrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 53163fbae1dSmrg xy) ECHO_C='\c';; 53263fbae1dSmrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 53363fbae1dSmrg ECHO_T=' ';; 53420d725fbSmrg esac;; 53520d725fbSmrg*) 53620d725fbSmrg ECHO_N='-n';; 53720d725fbSmrgesac 53820d725fbSmrg 539fe605390Smrg# For backward compatibility with old third-party macros, we provide 540fe605390Smrg# the shell variables $as_echo and $as_echo_n. New code should use 541fe605390Smrg# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. 542fe605390Smrgas_echo='printf %s\n' 543fe605390Smrgas_echo_n='printf %s' 544fe605390Smrg 545fe605390Smrg 54620d725fbSmrgrm -f conf$$ conf$$.exe conf$$.file 54720d725fbSmrgif test -d conf$$.dir; then 54820d725fbSmrg rm -f conf$$.dir/conf$$.file 54920d725fbSmrgelse 55020d725fbSmrg rm -f conf$$.dir 55163fbae1dSmrg mkdir conf$$.dir 2>/dev/null 55263fbae1dSmrgfi 55363fbae1dSmrgif (echo >conf$$.file) 2>/dev/null; then 55463fbae1dSmrg if ln -s conf$$.file conf$$ 2>/dev/null; then 55563fbae1dSmrg as_ln_s='ln -s' 55663fbae1dSmrg # ... but there are two gotchas: 55763fbae1dSmrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 55863fbae1dSmrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 559fe605390Smrg # In both cases, we have to default to `cp -pR'. 56063fbae1dSmrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 561fe605390Smrg as_ln_s='cp -pR' 56263fbae1dSmrg elif ln conf$$.file conf$$ 2>/dev/null; then 56363fbae1dSmrg as_ln_s=ln 56463fbae1dSmrg else 565fe605390Smrg as_ln_s='cp -pR' 56663fbae1dSmrg fi 56720d725fbSmrgelse 568fe605390Smrg as_ln_s='cp -pR' 56920d725fbSmrgfi 57020d725fbSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 57120d725fbSmrgrmdir conf$$.dir 2>/dev/null 57220d725fbSmrg 57320d725fbSmrgif mkdir -p . 2>/dev/null; then 57463fbae1dSmrg as_mkdir_p='mkdir -p "$as_dir"' 57520d725fbSmrgelse 57620d725fbSmrg test -d ./-p && rmdir ./-p 57720d725fbSmrg as_mkdir_p=false 57820d725fbSmrgfi 57920d725fbSmrg 580fe605390Smrgas_test_x='test -x' 581fe605390Smrgas_executable_p=as_fn_executable_p 58220d725fbSmrg 58320d725fbSmrg# Sed expression to map a string onto a valid CPP name. 58420d725fbSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 58520d725fbSmrg 58620d725fbSmrg# Sed expression to map a string onto a valid variable name. 58720d725fbSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 58820d725fbSmrg 58920d725fbSmrg 590fe605390Smrgtest -n "$DJDIR" || exec 7<&0 </dev/null 591fe605390Smrgexec 6>&1 59220d725fbSmrg 59320d725fbSmrg# Name of the host. 594fe605390Smrg# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 59520d725fbSmrg# so uname gets run too. 59620d725fbSmrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 59720d725fbSmrg 59820d725fbSmrg# 59920d725fbSmrg# Initializations. 60020d725fbSmrg# 60120d725fbSmrgac_default_prefix=/usr/local 60220d725fbSmrgac_clean_files= 60320d725fbSmrgac_config_libobj_dir=. 60420d725fbSmrgLIBOBJS= 60520d725fbSmrgcross_compiling=no 60620d725fbSmrgsubdirs= 60720d725fbSmrgMFLAGS= 60820d725fbSmrgMAKEFLAGS= 60920d725fbSmrg 61020d725fbSmrg# Identity of this package. 61120d725fbSmrgPACKAGE_NAME='libpthread-stubs' 61220d725fbSmrgPACKAGE_TARNAME='libpthread-stubs' 613fe605390SmrgPACKAGE_VERSION='0.5' 614fe605390SmrgPACKAGE_STRING='libpthread-stubs 0.5' 61520d725fbSmrgPACKAGE_BUGREPORT='xcb@lists.freedesktop.org' 61663fbae1dSmrgPACKAGE_URL='' 61720d725fbSmrg 61820d725fbSmrgac_unique_file="pthread-stubs.pc.in" 61963fbae1dSmrgac_subst_vars='am__EXEEXT_FALSE 62063fbae1dSmrgam__EXEEXT_TRUE 62163fbae1dSmrgLTLIBOBJS 62263fbae1dSmrgLIBOBJS 62363fbae1dSmrgPKG_CONFIG_LIBS 624fe605390SmrgPKG_CONFIG_CFLAGS 62563fbae1dSmrgam__fastdepCC_FALSE 62663fbae1dSmrgam__fastdepCC_TRUE 62763fbae1dSmrgCCDEPMODE 628fe605390Smrgam__nodep 62963fbae1dSmrgAMDEPBACKSLASH 63063fbae1dSmrgAMDEP_FALSE 63163fbae1dSmrgAMDEP_TRUE 63263fbae1dSmrgam__include 63363fbae1dSmrgDEPDIR 63463fbae1dSmrgOBJEXT 63563fbae1dSmrgEXEEXT 63663fbae1dSmrgac_ct_CC 63763fbae1dSmrgCPPFLAGS 63863fbae1dSmrgLDFLAGS 63963fbae1dSmrgCFLAGS 64063fbae1dSmrgCC 641fe605390SmrgAM_BACKSLASH 642fe605390SmrgAM_DEFAULT_VERBOSITY 643fe605390SmrgAM_DEFAULT_V 644fe605390SmrgAM_V 645fe605390SmrgCSCOPE 646fe605390SmrgETAGS 647fe605390SmrgCTAGS 64863fbae1dSmrgam__untar 64963fbae1dSmrgam__tar 65063fbae1dSmrgAMTAR 65163fbae1dSmrgam__leading_dot 65263fbae1dSmrgSET_MAKE 65363fbae1dSmrgAWK 65463fbae1dSmrgmkdir_p 65563fbae1dSmrgMKDIR_P 65663fbae1dSmrgINSTALL_STRIP_PROGRAM 65763fbae1dSmrgSTRIP 65863fbae1dSmrginstall_sh 65963fbae1dSmrgMAKEINFO 66063fbae1dSmrgAUTOHEADER 66163fbae1dSmrgAUTOMAKE 66263fbae1dSmrgAUTOCONF 66363fbae1dSmrgACLOCAL 66463fbae1dSmrgVERSION 66563fbae1dSmrgPACKAGE 66663fbae1dSmrgCYGPATH_W 66763fbae1dSmrgam__isrc 66863fbae1dSmrgINSTALL_DATA 66963fbae1dSmrgINSTALL_SCRIPT 67063fbae1dSmrgINSTALL_PROGRAM 67163fbae1dSmrgtarget_alias 67263fbae1dSmrghost_alias 67363fbae1dSmrgbuild_alias 67463fbae1dSmrgLIBS 67563fbae1dSmrgECHO_T 67663fbae1dSmrgECHO_N 67763fbae1dSmrgECHO_C 67863fbae1dSmrgDEFS 67963fbae1dSmrgmandir 68063fbae1dSmrglocaledir 68163fbae1dSmrglibdir 68263fbae1dSmrgpsdir 68363fbae1dSmrgpdfdir 68463fbae1dSmrgdvidir 68563fbae1dSmrghtmldir 68663fbae1dSmrginfodir 68763fbae1dSmrgdocdir 68863fbae1dSmrgoldincludedir 68963fbae1dSmrgincludedir 690fe605390Smrgrunstatedir 69163fbae1dSmrglocalstatedir 69263fbae1dSmrgsharedstatedir 69363fbae1dSmrgsysconfdir 69463fbae1dSmrgdatadir 69563fbae1dSmrgdatarootdir 69663fbae1dSmrglibexecdir 69763fbae1dSmrgsbindir 69863fbae1dSmrgbindir 69963fbae1dSmrgprogram_transform_name 70063fbae1dSmrgprefix 70163fbae1dSmrgexec_prefix 70263fbae1dSmrgPACKAGE_URL 70363fbae1dSmrgPACKAGE_BUGREPORT 70463fbae1dSmrgPACKAGE_STRING 70563fbae1dSmrgPACKAGE_VERSION 70663fbae1dSmrgPACKAGE_TARNAME 70763fbae1dSmrgPACKAGE_NAME 70863fbae1dSmrgPATH_SEPARATOR 709fe605390SmrgSHELL 710fe605390Smrgam__quote' 71120d725fbSmrgac_subst_files='' 71263fbae1dSmrgac_user_opts=' 71363fbae1dSmrgenable_option_checking 714fe605390Smrgenable_silent_rules 71563fbae1dSmrgenable_dependency_tracking 71663fbae1dSmrg' 71720d725fbSmrg ac_precious_vars='build_alias 71820d725fbSmrghost_alias 71920d725fbSmrgtarget_alias 72020d725fbSmrgCC 72120d725fbSmrgCFLAGS 72220d725fbSmrgLDFLAGS 72363fbae1dSmrgLIBS 724fe605390SmrgCPPFLAGS' 72520d725fbSmrg 72620d725fbSmrg 72720d725fbSmrg# Initialize some variables set by options. 72820d725fbSmrgac_init_help= 72920d725fbSmrgac_init_version=false 73063fbae1dSmrgac_unrecognized_opts= 73163fbae1dSmrgac_unrecognized_sep= 73220d725fbSmrg# The variables have the same names as the options, with 73320d725fbSmrg# dashes changed to underlines. 73420d725fbSmrgcache_file=/dev/null 73520d725fbSmrgexec_prefix=NONE 73620d725fbSmrgno_create= 73720d725fbSmrgno_recursion= 73820d725fbSmrgprefix=NONE 73920d725fbSmrgprogram_prefix=NONE 74020d725fbSmrgprogram_suffix=NONE 74120d725fbSmrgprogram_transform_name=s,x,x, 74220d725fbSmrgsilent= 74320d725fbSmrgsite= 74420d725fbSmrgsrcdir= 74520d725fbSmrgverbose= 74620d725fbSmrgx_includes=NONE 74720d725fbSmrgx_libraries=NONE 74820d725fbSmrg 74920d725fbSmrg# Installation directory options. 75020d725fbSmrg# These are left unexpanded so users can "make install exec_prefix=/foo" 75120d725fbSmrg# and all the variables that are supposed to be based on exec_prefix 75220d725fbSmrg# by default will actually change. 75320d725fbSmrg# Use braces instead of parens because sh, perl, etc. also accept them. 75420d725fbSmrg# (The list follows the same order as the GNU Coding Standards.) 75520d725fbSmrgbindir='${exec_prefix}/bin' 75620d725fbSmrgsbindir='${exec_prefix}/sbin' 75720d725fbSmrglibexecdir='${exec_prefix}/libexec' 75820d725fbSmrgdatarootdir='${prefix}/share' 75920d725fbSmrgdatadir='${datarootdir}' 76020d725fbSmrgsysconfdir='${prefix}/etc' 76120d725fbSmrgsharedstatedir='${prefix}/com' 76220d725fbSmrglocalstatedir='${prefix}/var' 763fe605390Smrgrunstatedir='${localstatedir}/run' 76420d725fbSmrgincludedir='${prefix}/include' 76520d725fbSmrgoldincludedir='/usr/include' 76620d725fbSmrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 76720d725fbSmrginfodir='${datarootdir}/info' 76820d725fbSmrghtmldir='${docdir}' 76920d725fbSmrgdvidir='${docdir}' 77020d725fbSmrgpdfdir='${docdir}' 77120d725fbSmrgpsdir='${docdir}' 77220d725fbSmrglibdir='${exec_prefix}/lib' 77320d725fbSmrglocaledir='${datarootdir}/locale' 77420d725fbSmrgmandir='${datarootdir}/man' 77520d725fbSmrg 77620d725fbSmrgac_prev= 77720d725fbSmrgac_dashdash= 77820d725fbSmrgfor ac_option 77920d725fbSmrgdo 78020d725fbSmrg # If the previous option needs an argument, assign it. 78120d725fbSmrg if test -n "$ac_prev"; then 78220d725fbSmrg eval $ac_prev=\$ac_option 78320d725fbSmrg ac_prev= 78420d725fbSmrg continue 78520d725fbSmrg fi 78620d725fbSmrg 78720d725fbSmrg case $ac_option in 788fe605390Smrg *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 789fe605390Smrg *=) ac_optarg= ;; 790fe605390Smrg *) ac_optarg=yes ;; 79120d725fbSmrg esac 79220d725fbSmrg 79320d725fbSmrg case $ac_dashdash$ac_option in 79420d725fbSmrg --) 79520d725fbSmrg ac_dashdash=yes ;; 79620d725fbSmrg 79720d725fbSmrg -bindir | --bindir | --bindi | --bind | --bin | --bi) 79820d725fbSmrg ac_prev=bindir ;; 79920d725fbSmrg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 80020d725fbSmrg bindir=$ac_optarg ;; 80120d725fbSmrg 80220d725fbSmrg -build | --build | --buil | --bui | --bu) 80320d725fbSmrg ac_prev=build_alias ;; 80420d725fbSmrg -build=* | --build=* | --buil=* | --bui=* | --bu=*) 80520d725fbSmrg build_alias=$ac_optarg ;; 80620d725fbSmrg 80720d725fbSmrg -cache-file | --cache-file | --cache-fil | --cache-fi \ 80820d725fbSmrg | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 80920d725fbSmrg ac_prev=cache_file ;; 81020d725fbSmrg -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 81120d725fbSmrg | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 81220d725fbSmrg cache_file=$ac_optarg ;; 81320d725fbSmrg 81420d725fbSmrg --config-cache | -C) 81520d725fbSmrg cache_file=config.cache ;; 81620d725fbSmrg 81720d725fbSmrg -datadir | --datadir | --datadi | --datad) 81820d725fbSmrg ac_prev=datadir ;; 81920d725fbSmrg -datadir=* | --datadir=* | --datadi=* | --datad=*) 82020d725fbSmrg datadir=$ac_optarg ;; 82120d725fbSmrg 82220d725fbSmrg -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 82320d725fbSmrg | --dataroo | --dataro | --datar) 82420d725fbSmrg ac_prev=datarootdir ;; 82520d725fbSmrg -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 82620d725fbSmrg | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 82720d725fbSmrg datarootdir=$ac_optarg ;; 82820d725fbSmrg 82920d725fbSmrg -disable-* | --disable-*) 83063fbae1dSmrg ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 83120d725fbSmrg # Reject names that are not valid shell variable names. 83263fbae1dSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 833fe605390Smrg as_fn_error $? "invalid feature name: \`$ac_useropt'" 83463fbae1dSmrg ac_useropt_orig=$ac_useropt 835fe605390Smrg ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 83663fbae1dSmrg case $ac_user_opts in 83763fbae1dSmrg *" 83863fbae1dSmrg"enable_$ac_useropt" 83963fbae1dSmrg"*) ;; 84063fbae1dSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 84163fbae1dSmrg ac_unrecognized_sep=', ';; 84263fbae1dSmrg esac 84363fbae1dSmrg eval enable_$ac_useropt=no ;; 84420d725fbSmrg 84520d725fbSmrg -docdir | --docdir | --docdi | --doc | --do) 84620d725fbSmrg ac_prev=docdir ;; 84720d725fbSmrg -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 84820d725fbSmrg docdir=$ac_optarg ;; 84920d725fbSmrg 85020d725fbSmrg -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 85120d725fbSmrg ac_prev=dvidir ;; 85220d725fbSmrg -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 85320d725fbSmrg dvidir=$ac_optarg ;; 85420d725fbSmrg 85520d725fbSmrg -enable-* | --enable-*) 85663fbae1dSmrg ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 85720d725fbSmrg # Reject names that are not valid shell variable names. 85863fbae1dSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 859fe605390Smrg as_fn_error $? "invalid feature name: \`$ac_useropt'" 86063fbae1dSmrg ac_useropt_orig=$ac_useropt 861fe605390Smrg ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 86263fbae1dSmrg case $ac_user_opts in 86363fbae1dSmrg *" 86463fbae1dSmrg"enable_$ac_useropt" 86563fbae1dSmrg"*) ;; 86663fbae1dSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 86763fbae1dSmrg ac_unrecognized_sep=', ';; 86863fbae1dSmrg esac 86963fbae1dSmrg eval enable_$ac_useropt=\$ac_optarg ;; 87020d725fbSmrg 87120d725fbSmrg -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 87220d725fbSmrg | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 87320d725fbSmrg | --exec | --exe | --ex) 87420d725fbSmrg ac_prev=exec_prefix ;; 87520d725fbSmrg -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 87620d725fbSmrg | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 87720d725fbSmrg | --exec=* | --exe=* | --ex=*) 87820d725fbSmrg exec_prefix=$ac_optarg ;; 87920d725fbSmrg 88020d725fbSmrg -gas | --gas | --ga | --g) 88120d725fbSmrg # Obsolete; use --with-gas. 88220d725fbSmrg with_gas=yes ;; 88320d725fbSmrg 88420d725fbSmrg -help | --help | --hel | --he | -h) 88520d725fbSmrg ac_init_help=long ;; 88620d725fbSmrg -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 88720d725fbSmrg ac_init_help=recursive ;; 88820d725fbSmrg -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 88920d725fbSmrg ac_init_help=short ;; 89020d725fbSmrg 89120d725fbSmrg -host | --host | --hos | --ho) 89220d725fbSmrg ac_prev=host_alias ;; 89320d725fbSmrg -host=* | --host=* | --hos=* | --ho=*) 89420d725fbSmrg host_alias=$ac_optarg ;; 89520d725fbSmrg 89620d725fbSmrg -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 89720d725fbSmrg ac_prev=htmldir ;; 89820d725fbSmrg -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 89920d725fbSmrg | --ht=*) 90020d725fbSmrg htmldir=$ac_optarg ;; 90120d725fbSmrg 90220d725fbSmrg -includedir | --includedir | --includedi | --included | --include \ 90320d725fbSmrg | --includ | --inclu | --incl | --inc) 90420d725fbSmrg ac_prev=includedir ;; 90520d725fbSmrg -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 90620d725fbSmrg | --includ=* | --inclu=* | --incl=* | --inc=*) 90720d725fbSmrg includedir=$ac_optarg ;; 90820d725fbSmrg 90920d725fbSmrg -infodir | --infodir | --infodi | --infod | --info | --inf) 91020d725fbSmrg ac_prev=infodir ;; 91120d725fbSmrg -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 91220d725fbSmrg infodir=$ac_optarg ;; 91320d725fbSmrg 91420d725fbSmrg -libdir | --libdir | --libdi | --libd) 91520d725fbSmrg ac_prev=libdir ;; 91620d725fbSmrg -libdir=* | --libdir=* | --libdi=* | --libd=*) 91720d725fbSmrg libdir=$ac_optarg ;; 91820d725fbSmrg 91920d725fbSmrg -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 92020d725fbSmrg | --libexe | --libex | --libe) 92120d725fbSmrg ac_prev=libexecdir ;; 92220d725fbSmrg -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 92320d725fbSmrg | --libexe=* | --libex=* | --libe=*) 92420d725fbSmrg libexecdir=$ac_optarg ;; 92520d725fbSmrg 92620d725fbSmrg -localedir | --localedir | --localedi | --localed | --locale) 92720d725fbSmrg ac_prev=localedir ;; 92820d725fbSmrg -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 92920d725fbSmrg localedir=$ac_optarg ;; 93020d725fbSmrg 93120d725fbSmrg -localstatedir | --localstatedir | --localstatedi | --localstated \ 93220d725fbSmrg | --localstate | --localstat | --localsta | --localst | --locals) 93320d725fbSmrg ac_prev=localstatedir ;; 93420d725fbSmrg -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 93520d725fbSmrg | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 93620d725fbSmrg localstatedir=$ac_optarg ;; 93720d725fbSmrg 93820d725fbSmrg -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 93920d725fbSmrg ac_prev=mandir ;; 94020d725fbSmrg -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 94120d725fbSmrg mandir=$ac_optarg ;; 94220d725fbSmrg 94320d725fbSmrg -nfp | --nfp | --nf) 94420d725fbSmrg # Obsolete; use --without-fp. 94520d725fbSmrg with_fp=no ;; 94620d725fbSmrg 94720d725fbSmrg -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 94820d725fbSmrg | --no-cr | --no-c | -n) 94920d725fbSmrg no_create=yes ;; 95020d725fbSmrg 95120d725fbSmrg -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 95220d725fbSmrg | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 95320d725fbSmrg no_recursion=yes ;; 95420d725fbSmrg 95520d725fbSmrg -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 95620d725fbSmrg | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 95720d725fbSmrg | --oldin | --oldi | --old | --ol | --o) 95820d725fbSmrg ac_prev=oldincludedir ;; 95920d725fbSmrg -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 96020d725fbSmrg | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 96120d725fbSmrg | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 96220d725fbSmrg oldincludedir=$ac_optarg ;; 96320d725fbSmrg 96420d725fbSmrg -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 96520d725fbSmrg ac_prev=prefix ;; 96620d725fbSmrg -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 96720d725fbSmrg prefix=$ac_optarg ;; 96820d725fbSmrg 96920d725fbSmrg -program-prefix | --program-prefix | --program-prefi | --program-pref \ 97020d725fbSmrg | --program-pre | --program-pr | --program-p) 97120d725fbSmrg ac_prev=program_prefix ;; 97220d725fbSmrg -program-prefix=* | --program-prefix=* | --program-prefi=* \ 97320d725fbSmrg | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 97420d725fbSmrg program_prefix=$ac_optarg ;; 97520d725fbSmrg 97620d725fbSmrg -program-suffix | --program-suffix | --program-suffi | --program-suff \ 97720d725fbSmrg | --program-suf | --program-su | --program-s) 97820d725fbSmrg ac_prev=program_suffix ;; 97920d725fbSmrg -program-suffix=* | --program-suffix=* | --program-suffi=* \ 98020d725fbSmrg | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 98120d725fbSmrg program_suffix=$ac_optarg ;; 98220d725fbSmrg 98320d725fbSmrg -program-transform-name | --program-transform-name \ 98420d725fbSmrg | --program-transform-nam | --program-transform-na \ 98520d725fbSmrg | --program-transform-n | --program-transform- \ 98620d725fbSmrg | --program-transform | --program-transfor \ 98720d725fbSmrg | --program-transfo | --program-transf \ 98820d725fbSmrg | --program-trans | --program-tran \ 98920d725fbSmrg | --progr-tra | --program-tr | --program-t) 99020d725fbSmrg ac_prev=program_transform_name ;; 99120d725fbSmrg -program-transform-name=* | --program-transform-name=* \ 99220d725fbSmrg | --program-transform-nam=* | --program-transform-na=* \ 99320d725fbSmrg | --program-transform-n=* | --program-transform-=* \ 99420d725fbSmrg | --program-transform=* | --program-transfor=* \ 99520d725fbSmrg | --program-transfo=* | --program-transf=* \ 99620d725fbSmrg | --program-trans=* | --program-tran=* \ 99720d725fbSmrg | --progr-tra=* | --program-tr=* | --program-t=*) 99820d725fbSmrg program_transform_name=$ac_optarg ;; 99920d725fbSmrg 100020d725fbSmrg -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 100120d725fbSmrg ac_prev=pdfdir ;; 100220d725fbSmrg -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 100320d725fbSmrg pdfdir=$ac_optarg ;; 100420d725fbSmrg 100520d725fbSmrg -psdir | --psdir | --psdi | --psd | --ps) 100620d725fbSmrg ac_prev=psdir ;; 100720d725fbSmrg -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 100820d725fbSmrg psdir=$ac_optarg ;; 100920d725fbSmrg 101020d725fbSmrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 101120d725fbSmrg | -silent | --silent | --silen | --sile | --sil) 101220d725fbSmrg silent=yes ;; 101320d725fbSmrg 1014fe605390Smrg -runstatedir | --runstatedir | --runstatedi | --runstated \ 1015fe605390Smrg | --runstate | --runstat | --runsta | --runst | --runs \ 1016fe605390Smrg | --run | --ru | --r) 1017fe605390Smrg ac_prev=runstatedir ;; 1018fe605390Smrg -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 1019fe605390Smrg | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 1020fe605390Smrg | --run=* | --ru=* | --r=*) 1021fe605390Smrg runstatedir=$ac_optarg ;; 1022fe605390Smrg 102320d725fbSmrg -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 102420d725fbSmrg ac_prev=sbindir ;; 102520d725fbSmrg -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 102620d725fbSmrg | --sbi=* | --sb=*) 102720d725fbSmrg sbindir=$ac_optarg ;; 102820d725fbSmrg 102920d725fbSmrg -sharedstatedir | --sharedstatedir | --sharedstatedi \ 103020d725fbSmrg | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 103120d725fbSmrg | --sharedst | --shareds | --shared | --share | --shar \ 103220d725fbSmrg | --sha | --sh) 103320d725fbSmrg ac_prev=sharedstatedir ;; 103420d725fbSmrg -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 103520d725fbSmrg | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 103620d725fbSmrg | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 103720d725fbSmrg | --sha=* | --sh=*) 103820d725fbSmrg sharedstatedir=$ac_optarg ;; 103920d725fbSmrg 104020d725fbSmrg -site | --site | --sit) 104120d725fbSmrg ac_prev=site ;; 104220d725fbSmrg -site=* | --site=* | --sit=*) 104320d725fbSmrg site=$ac_optarg ;; 104420d725fbSmrg 104520d725fbSmrg -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 104620d725fbSmrg ac_prev=srcdir ;; 104720d725fbSmrg -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 104820d725fbSmrg srcdir=$ac_optarg ;; 104920d725fbSmrg 105020d725fbSmrg -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 105120d725fbSmrg | --syscon | --sysco | --sysc | --sys | --sy) 105220d725fbSmrg ac_prev=sysconfdir ;; 105320d725fbSmrg -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 105420d725fbSmrg | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 105520d725fbSmrg sysconfdir=$ac_optarg ;; 105620d725fbSmrg 105720d725fbSmrg -target | --target | --targe | --targ | --tar | --ta | --t) 105820d725fbSmrg ac_prev=target_alias ;; 105920d725fbSmrg -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 106020d725fbSmrg target_alias=$ac_optarg ;; 106120d725fbSmrg 106220d725fbSmrg -v | -verbose | --verbose | --verbos | --verbo | --verb) 106320d725fbSmrg verbose=yes ;; 106420d725fbSmrg 106520d725fbSmrg -version | --version | --versio | --versi | --vers | -V) 106620d725fbSmrg ac_init_version=: ;; 106720d725fbSmrg 106820d725fbSmrg -with-* | --with-*) 106963fbae1dSmrg ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 107020d725fbSmrg # Reject names that are not valid shell variable names. 107163fbae1dSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1072fe605390Smrg as_fn_error $? "invalid package name: \`$ac_useropt'" 107363fbae1dSmrg ac_useropt_orig=$ac_useropt 1074fe605390Smrg ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 107563fbae1dSmrg case $ac_user_opts in 107663fbae1dSmrg *" 107763fbae1dSmrg"with_$ac_useropt" 107863fbae1dSmrg"*) ;; 107963fbae1dSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 108063fbae1dSmrg ac_unrecognized_sep=', ';; 108163fbae1dSmrg esac 108263fbae1dSmrg eval with_$ac_useropt=\$ac_optarg ;; 108320d725fbSmrg 108420d725fbSmrg -without-* | --without-*) 108563fbae1dSmrg ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 108620d725fbSmrg # Reject names that are not valid shell variable names. 108763fbae1dSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1088fe605390Smrg as_fn_error $? "invalid package name: \`$ac_useropt'" 108963fbae1dSmrg ac_useropt_orig=$ac_useropt 1090fe605390Smrg ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 109163fbae1dSmrg case $ac_user_opts in 109263fbae1dSmrg *" 109363fbae1dSmrg"with_$ac_useropt" 109463fbae1dSmrg"*) ;; 109563fbae1dSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 109663fbae1dSmrg ac_unrecognized_sep=', ';; 109763fbae1dSmrg esac 109863fbae1dSmrg eval with_$ac_useropt=no ;; 109920d725fbSmrg 110020d725fbSmrg --x) 110120d725fbSmrg # Obsolete; use --with-x. 110220d725fbSmrg with_x=yes ;; 110320d725fbSmrg 110420d725fbSmrg -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 110520d725fbSmrg | --x-incl | --x-inc | --x-in | --x-i) 110620d725fbSmrg ac_prev=x_includes ;; 110720d725fbSmrg -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 110820d725fbSmrg | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 110920d725fbSmrg x_includes=$ac_optarg ;; 111020d725fbSmrg 111120d725fbSmrg -x-libraries | --x-libraries | --x-librarie | --x-librari \ 111220d725fbSmrg | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 111320d725fbSmrg ac_prev=x_libraries ;; 111420d725fbSmrg -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 111520d725fbSmrg | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 111620d725fbSmrg x_libraries=$ac_optarg ;; 111720d725fbSmrg 1118fe605390Smrg -*) as_fn_error $? "unrecognized option: \`$ac_option' 1119fe605390SmrgTry \`$0 --help' for more information" 112020d725fbSmrg ;; 112120d725fbSmrg 112220d725fbSmrg *=*) 112320d725fbSmrg ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 112420d725fbSmrg # Reject names that are not valid shell variable names. 112563fbae1dSmrg case $ac_envvar in #( 112663fbae1dSmrg '' | [0-9]* | *[!_$as_cr_alnum]* ) 1127fe605390Smrg as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 112863fbae1dSmrg esac 112920d725fbSmrg eval $ac_envvar=\$ac_optarg 113020d725fbSmrg export $ac_envvar ;; 113120d725fbSmrg 113220d725fbSmrg *) 113320d725fbSmrg # FIXME: should be removed in autoconf 3.0. 1134fe605390Smrg printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2 113520d725fbSmrg expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1136fe605390Smrg printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 1137fe605390Smrg : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 113820d725fbSmrg ;; 113920d725fbSmrg 114020d725fbSmrg esac 114120d725fbSmrgdone 114220d725fbSmrg 114320d725fbSmrgif test -n "$ac_prev"; then 114420d725fbSmrg ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1145fe605390Smrg as_fn_error $? "missing argument to $ac_option" 114663fbae1dSmrgfi 114763fbae1dSmrg 114863fbae1dSmrgif test -n "$ac_unrecognized_opts"; then 114963fbae1dSmrg case $enable_option_checking in 115063fbae1dSmrg no) ;; 1151fe605390Smrg fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1152fe605390Smrg *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 115363fbae1dSmrg esac 115420d725fbSmrgfi 115520d725fbSmrg 115663fbae1dSmrg# Check all directory arguments for consistency. 115720d725fbSmrgfor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 115820d725fbSmrg datadir sysconfdir sharedstatedir localstatedir includedir \ 115920d725fbSmrg oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1160fe605390Smrg libdir localedir mandir runstatedir 116120d725fbSmrgdo 116220d725fbSmrg eval ac_val=\$$ac_var 116363fbae1dSmrg # Remove trailing slashes. 116463fbae1dSmrg case $ac_val in 116563fbae1dSmrg */ ) 116663fbae1dSmrg ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 116763fbae1dSmrg eval $ac_var=\$ac_val;; 116863fbae1dSmrg esac 116963fbae1dSmrg # Be sure to have absolute directory names. 117020d725fbSmrg case $ac_val in 117120d725fbSmrg [\\/$]* | ?:[\\/]* ) continue;; 117220d725fbSmrg NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 117320d725fbSmrg esac 1174fe605390Smrg as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 117520d725fbSmrgdone 117620d725fbSmrg 117720d725fbSmrg# There might be people who depend on the old broken behavior: `$host' 117820d725fbSmrg# used to hold the argument of --host etc. 117920d725fbSmrg# FIXME: To remove some day. 118020d725fbSmrgbuild=$build_alias 118120d725fbSmrghost=$host_alias 118220d725fbSmrgtarget=$target_alias 118320d725fbSmrg 118420d725fbSmrg# FIXME: To remove some day. 118520d725fbSmrgif test "x$host_alias" != x; then 118620d725fbSmrg if test "x$build_alias" = x; then 118720d725fbSmrg cross_compiling=maybe 118820d725fbSmrg elif test "x$build_alias" != "x$host_alias"; then 118920d725fbSmrg cross_compiling=yes 119020d725fbSmrg fi 119120d725fbSmrgfi 119220d725fbSmrg 119320d725fbSmrgac_tool_prefix= 119420d725fbSmrgtest -n "$host_alias" && ac_tool_prefix=$host_alias- 119520d725fbSmrg 119620d725fbSmrgtest "$silent" = yes && exec 6>/dev/null 119720d725fbSmrg 119820d725fbSmrg 119920d725fbSmrgac_pwd=`pwd` && test -n "$ac_pwd" && 120020d725fbSmrgac_ls_di=`ls -di .` && 120120d725fbSmrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1202fe605390Smrg as_fn_error $? "working directory cannot be determined" 120320d725fbSmrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1204fe605390Smrg as_fn_error $? "pwd does not report name of working directory" 120520d725fbSmrg 120620d725fbSmrg 120720d725fbSmrg# Find the source files, if location was not specified. 120820d725fbSmrgif test -z "$srcdir"; then 120920d725fbSmrg ac_srcdir_defaulted=yes 121020d725fbSmrg # Try the directory containing this script, then the parent directory. 121163fbae1dSmrg ac_confdir=`$as_dirname -- "$as_myself" || 121263fbae1dSmrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 121363fbae1dSmrg X"$as_myself" : 'X\(//\)[^/]' \| \ 121463fbae1dSmrg X"$as_myself" : 'X\(//\)$' \| \ 121563fbae1dSmrg X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1216fe605390Smrgprintf "%s\n" X"$as_myself" | 121720d725fbSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 121820d725fbSmrg s//\1/ 121920d725fbSmrg q 122020d725fbSmrg } 122120d725fbSmrg /^X\(\/\/\)[^/].*/{ 122220d725fbSmrg s//\1/ 122320d725fbSmrg q 122420d725fbSmrg } 122520d725fbSmrg /^X\(\/\/\)$/{ 122620d725fbSmrg s//\1/ 122720d725fbSmrg q 122820d725fbSmrg } 122920d725fbSmrg /^X\(\/\).*/{ 123020d725fbSmrg s//\1/ 123120d725fbSmrg q 123220d725fbSmrg } 123320d725fbSmrg s/.*/./; q'` 123420d725fbSmrg srcdir=$ac_confdir 123520d725fbSmrg if test ! -r "$srcdir/$ac_unique_file"; then 123620d725fbSmrg srcdir=.. 123720d725fbSmrg fi 123820d725fbSmrgelse 123920d725fbSmrg ac_srcdir_defaulted=no 124020d725fbSmrgfi 124120d725fbSmrgif test ! -r "$srcdir/$ac_unique_file"; then 124220d725fbSmrg test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1243fe605390Smrg as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 124420d725fbSmrgfi 124520d725fbSmrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 124620d725fbSmrgac_abs_confdir=`( 1247fe605390Smrg cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 124820d725fbSmrg pwd)` 124920d725fbSmrg# When building in place, set srcdir=. 125020d725fbSmrgif test "$ac_abs_confdir" = "$ac_pwd"; then 125120d725fbSmrg srcdir=. 125220d725fbSmrgfi 125320d725fbSmrg# Remove unnecessary trailing slashes from srcdir. 125420d725fbSmrg# Double slashes in file names in object file debugging info 125520d725fbSmrg# mess up M-x gdb in Emacs. 125620d725fbSmrgcase $srcdir in 125720d725fbSmrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 125820d725fbSmrgesac 125920d725fbSmrgfor ac_var in $ac_precious_vars; do 126020d725fbSmrg eval ac_env_${ac_var}_set=\${${ac_var}+set} 126120d725fbSmrg eval ac_env_${ac_var}_value=\$${ac_var} 126220d725fbSmrg eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 126320d725fbSmrg eval ac_cv_env_${ac_var}_value=\$${ac_var} 126420d725fbSmrgdone 126520d725fbSmrg 126620d725fbSmrg# 126720d725fbSmrg# Report the --help message. 126820d725fbSmrg# 126920d725fbSmrgif test "$ac_init_help" = "long"; then 127020d725fbSmrg # Omit some internal or obsolete options to make the list less imposing. 127120d725fbSmrg # This message is too long to be a string in the A/UX 3.1 sh. 127220d725fbSmrg cat <<_ACEOF 1273fe605390Smrg\`configure' configures libpthread-stubs 0.5 to adapt to many kinds of systems. 127420d725fbSmrg 127520d725fbSmrgUsage: $0 [OPTION]... [VAR=VALUE]... 127620d725fbSmrg 127720d725fbSmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as 127820d725fbSmrgVAR=VALUE. See below for descriptions of some of the useful variables. 127920d725fbSmrg 128020d725fbSmrgDefaults for the options are specified in brackets. 128120d725fbSmrg 128220d725fbSmrgConfiguration: 128320d725fbSmrg -h, --help display this help and exit 128420d725fbSmrg --help=short display options specific to this package 128520d725fbSmrg --help=recursive display the short help of all the included packages 128620d725fbSmrg -V, --version display version information and exit 1287fe605390Smrg -q, --quiet, --silent do not print \`checking ...' messages 128820d725fbSmrg --cache-file=FILE cache test results in FILE [disabled] 128920d725fbSmrg -C, --config-cache alias for \`--cache-file=config.cache' 129020d725fbSmrg -n, --no-create do not create output files 129120d725fbSmrg --srcdir=DIR find the sources in DIR [configure dir or \`..'] 129220d725fbSmrg 129320d725fbSmrgInstallation directories: 129420d725fbSmrg --prefix=PREFIX install architecture-independent files in PREFIX 129563fbae1dSmrg [$ac_default_prefix] 129620d725fbSmrg --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 129763fbae1dSmrg [PREFIX] 129820d725fbSmrg 129920d725fbSmrgBy default, \`make install' will install all the files in 130020d725fbSmrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 130120d725fbSmrgan installation prefix other than \`$ac_default_prefix' using \`--prefix', 130220d725fbSmrgfor instance \`--prefix=\$HOME'. 130320d725fbSmrg 130420d725fbSmrgFor better control, use the options below. 130520d725fbSmrg 130620d725fbSmrgFine tuning of the installation directories: 130763fbae1dSmrg --bindir=DIR user executables [EPREFIX/bin] 130863fbae1dSmrg --sbindir=DIR system admin executables [EPREFIX/sbin] 130963fbae1dSmrg --libexecdir=DIR program executables [EPREFIX/libexec] 131063fbae1dSmrg --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 131163fbae1dSmrg --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 131263fbae1dSmrg --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1313fe605390Smrg --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 131463fbae1dSmrg --libdir=DIR object code libraries [EPREFIX/lib] 131563fbae1dSmrg --includedir=DIR C header files [PREFIX/include] 131663fbae1dSmrg --oldincludedir=DIR C header files for non-gcc [/usr/include] 131763fbae1dSmrg --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 131863fbae1dSmrg --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 131963fbae1dSmrg --infodir=DIR info documentation [DATAROOTDIR/info] 132063fbae1dSmrg --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 132163fbae1dSmrg --mandir=DIR man documentation [DATAROOTDIR/man] 132263fbae1dSmrg --docdir=DIR documentation root 132363fbae1dSmrg [DATAROOTDIR/doc/libpthread-stubs] 132463fbae1dSmrg --htmldir=DIR html documentation [DOCDIR] 132563fbae1dSmrg --dvidir=DIR dvi documentation [DOCDIR] 132663fbae1dSmrg --pdfdir=DIR pdf documentation [DOCDIR] 132763fbae1dSmrg --psdir=DIR ps documentation [DOCDIR] 132820d725fbSmrg_ACEOF 132920d725fbSmrg 133020d725fbSmrg cat <<\_ACEOF 133120d725fbSmrg 133220d725fbSmrgProgram names: 133320d725fbSmrg --program-prefix=PREFIX prepend PREFIX to installed program names 133420d725fbSmrg --program-suffix=SUFFIX append SUFFIX to installed program names 133520d725fbSmrg --program-transform-name=PROGRAM run sed PROGRAM on installed program names 133620d725fbSmrg_ACEOF 133720d725fbSmrgfi 133820d725fbSmrg 133920d725fbSmrgif test -n "$ac_init_help"; then 134020d725fbSmrg case $ac_init_help in 1341fe605390Smrg short | recursive ) echo "Configuration of libpthread-stubs 0.5:";; 134220d725fbSmrg esac 134320d725fbSmrg cat <<\_ACEOF 134420d725fbSmrg 134520d725fbSmrgOptional Features: 134663fbae1dSmrg --disable-option-checking ignore unrecognized --enable/--with options 134720d725fbSmrg --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 134820d725fbSmrg --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1349fe605390Smrg --enable-silent-rules less verbose build output (undo: "make V=1") 1350fe605390Smrg --disable-silent-rules verbose build output (undo: "make V=0") 1351fe605390Smrg --enable-dependency-tracking 1352fe605390Smrg do not reject slow dependency extractors 1353fe605390Smrg --disable-dependency-tracking 1354fe605390Smrg speeds up one-time build 135520d725fbSmrg 135620d725fbSmrgSome influential environment variables: 135720d725fbSmrg CC C compiler command 135820d725fbSmrg CFLAGS C compiler flags 135920d725fbSmrg LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 136020d725fbSmrg nonstandard directory <lib dir> 136163fbae1dSmrg LIBS libraries to pass to the linker, e.g. -l<library> 1362fe605390Smrg CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 136320d725fbSmrg you have headers in a nonstandard directory <include dir> 136420d725fbSmrg 136520d725fbSmrgUse these variables to override the choices made by `configure' or to help 136620d725fbSmrgit to find libraries and programs with nonstandard names/locations. 136720d725fbSmrg 136820d725fbSmrgReport bugs to <xcb@lists.freedesktop.org>. 136920d725fbSmrg_ACEOF 137020d725fbSmrgac_status=$? 137120d725fbSmrgfi 137220d725fbSmrg 137320d725fbSmrgif test "$ac_init_help" = "recursive"; then 137420d725fbSmrg # If there are subdirs, report their specific --help. 137520d725fbSmrg for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 137663fbae1dSmrg test -d "$ac_dir" || 137763fbae1dSmrg { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 137863fbae1dSmrg continue 137920d725fbSmrg ac_builddir=. 138020d725fbSmrg 138120d725fbSmrgcase "$ac_dir" in 138220d725fbSmrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 138320d725fbSmrg*) 1384fe605390Smrg ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 138520d725fbSmrg # A ".." for each directory in $ac_dir_suffix. 1386fe605390Smrg ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 138720d725fbSmrg case $ac_top_builddir_sub in 138820d725fbSmrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 138920d725fbSmrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 139020d725fbSmrg esac ;; 139120d725fbSmrgesac 139220d725fbSmrgac_abs_top_builddir=$ac_pwd 139320d725fbSmrgac_abs_builddir=$ac_pwd$ac_dir_suffix 139420d725fbSmrg# for backward compatibility: 139520d725fbSmrgac_top_builddir=$ac_top_build_prefix 139620d725fbSmrg 139720d725fbSmrgcase $srcdir in 139820d725fbSmrg .) # We are building in place. 139920d725fbSmrg ac_srcdir=. 140020d725fbSmrg ac_top_srcdir=$ac_top_builddir_sub 140120d725fbSmrg ac_abs_top_srcdir=$ac_pwd ;; 140220d725fbSmrg [\\/]* | ?:[\\/]* ) # Absolute name. 140320d725fbSmrg ac_srcdir=$srcdir$ac_dir_suffix; 140420d725fbSmrg ac_top_srcdir=$srcdir 140520d725fbSmrg ac_abs_top_srcdir=$srcdir ;; 140620d725fbSmrg *) # Relative name. 140720d725fbSmrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 140820d725fbSmrg ac_top_srcdir=$ac_top_build_prefix$srcdir 140920d725fbSmrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 141020d725fbSmrgesac 141120d725fbSmrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 141220d725fbSmrg 141320d725fbSmrg cd "$ac_dir" || { ac_status=$?; continue; } 1414fe605390Smrg # Check for configure.gnu first; this name is used for a wrapper for 1415fe605390Smrg # Metaconfig's "Configure" on case-insensitive file systems. 141620d725fbSmrg if test -f "$ac_srcdir/configure.gnu"; then 141720d725fbSmrg echo && 141820d725fbSmrg $SHELL "$ac_srcdir/configure.gnu" --help=recursive 141920d725fbSmrg elif test -f "$ac_srcdir/configure"; then 142020d725fbSmrg echo && 142120d725fbSmrg $SHELL "$ac_srcdir/configure" --help=recursive 142220d725fbSmrg else 1423fe605390Smrg printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2 142420d725fbSmrg fi || ac_status=$? 142520d725fbSmrg cd "$ac_pwd" || { ac_status=$?; break; } 142620d725fbSmrg done 142720d725fbSmrgfi 142820d725fbSmrg 142920d725fbSmrgtest -n "$ac_init_help" && exit $ac_status 143020d725fbSmrgif $ac_init_version; then 143120d725fbSmrg cat <<\_ACEOF 1432fe605390Smrglibpthread-stubs configure 0.5 1433fe605390Smrggenerated by GNU Autoconf 2.71 143420d725fbSmrg 1435fe605390SmrgCopyright (C) 2021 Free Software Foundation, Inc. 143620d725fbSmrgThis configure script is free software; the Free Software Foundation 143720d725fbSmrggives unlimited permission to copy, distribute and modify it. 143820d725fbSmrg_ACEOF 143920d725fbSmrg exit 144020d725fbSmrgfi 144163fbae1dSmrg 144263fbae1dSmrg## ------------------------ ## 144363fbae1dSmrg## Autoconf initialization. ## 144463fbae1dSmrg## ------------------------ ## 144563fbae1dSmrg 144663fbae1dSmrg# ac_fn_c_try_compile LINENO 144763fbae1dSmrg# -------------------------- 144863fbae1dSmrg# Try to compile conftest.$ac_ext, and return whether this succeeded. 144963fbae1dSmrgac_fn_c_try_compile () 145063fbae1dSmrg{ 145163fbae1dSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1452fe605390Smrg rm -f conftest.$ac_objext conftest.beam 145363fbae1dSmrg if { { ac_try="$ac_compile" 145463fbae1dSmrgcase "(($ac_try" in 145563fbae1dSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 145663fbae1dSmrg *) ac_try_echo=$ac_try;; 145763fbae1dSmrgesac 145863fbae1dSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1459fe605390Smrgprintf "%s\n" "$ac_try_echo"; } >&5 146063fbae1dSmrg (eval "$ac_compile") 2>conftest.err 146163fbae1dSmrg ac_status=$? 146263fbae1dSmrg if test -s conftest.err; then 146363fbae1dSmrg grep -v '^ *+' conftest.err >conftest.er1 146463fbae1dSmrg cat conftest.er1 >&5 146563fbae1dSmrg mv -f conftest.er1 conftest.err 146663fbae1dSmrg fi 1467fe605390Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 146863fbae1dSmrg test $ac_status = 0; } && { 146963fbae1dSmrg test -z "$ac_c_werror_flag" || 147063fbae1dSmrg test ! -s conftest.err 1471fe605390Smrg } && test -s conftest.$ac_objext 1472fe605390Smrgthen : 147363fbae1dSmrg ac_retval=0 1474fe605390Smrgelse $as_nop 1475fe605390Smrg printf "%s\n" "$as_me: failed program was:" >&5 147663fbae1dSmrgsed 's/^/| /' conftest.$ac_ext >&5 147763fbae1dSmrg 147863fbae1dSmrg ac_retval=1 147963fbae1dSmrgfi 1480fe605390Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1481fe605390Smrg as_fn_set_status $ac_retval 148263fbae1dSmrg 148363fbae1dSmrg} # ac_fn_c_try_compile 148463fbae1dSmrg 148563fbae1dSmrg# ac_fn_c_try_link LINENO 148663fbae1dSmrg# ----------------------- 148763fbae1dSmrg# Try to link conftest.$ac_ext, and return whether this succeeded. 148863fbae1dSmrgac_fn_c_try_link () 148963fbae1dSmrg{ 149063fbae1dSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1491fe605390Smrg rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext 149263fbae1dSmrg if { { ac_try="$ac_link" 149363fbae1dSmrgcase "(($ac_try" in 149463fbae1dSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 149563fbae1dSmrg *) ac_try_echo=$ac_try;; 149663fbae1dSmrgesac 149763fbae1dSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1498fe605390Smrgprintf "%s\n" "$ac_try_echo"; } >&5 149963fbae1dSmrg (eval "$ac_link") 2>conftest.err 150063fbae1dSmrg ac_status=$? 150163fbae1dSmrg if test -s conftest.err; then 150263fbae1dSmrg grep -v '^ *+' conftest.err >conftest.er1 150363fbae1dSmrg cat conftest.er1 >&5 150463fbae1dSmrg mv -f conftest.er1 conftest.err 150563fbae1dSmrg fi 1506fe605390Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 150763fbae1dSmrg test $ac_status = 0; } && { 150863fbae1dSmrg test -z "$ac_c_werror_flag" || 150963fbae1dSmrg test ! -s conftest.err 151063fbae1dSmrg } && test -s conftest$ac_exeext && { 151163fbae1dSmrg test "$cross_compiling" = yes || 1512fe605390Smrg test -x conftest$ac_exeext 1513fe605390Smrg } 1514fe605390Smrgthen : 151563fbae1dSmrg ac_retval=0 1516fe605390Smrgelse $as_nop 1517fe605390Smrg printf "%s\n" "$as_me: failed program was:" >&5 151863fbae1dSmrgsed 's/^/| /' conftest.$ac_ext >&5 151963fbae1dSmrg 152063fbae1dSmrg ac_retval=1 152163fbae1dSmrgfi 152263fbae1dSmrg # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 152363fbae1dSmrg # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 152463fbae1dSmrg # interfere with the next link command; also delete a directory that is 152563fbae1dSmrg # left behind by Apple's compiler. We do this before executing the actions. 152663fbae1dSmrg rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1527fe605390Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1528fe605390Smrg as_fn_set_status $ac_retval 152963fbae1dSmrg 153063fbae1dSmrg} # ac_fn_c_try_link 153163fbae1dSmrg 153263fbae1dSmrg# ac_fn_c_check_func LINENO FUNC VAR 153363fbae1dSmrg# ---------------------------------- 153463fbae1dSmrg# Tests whether FUNC exists, setting the cache variable VAR accordingly 153563fbae1dSmrgac_fn_c_check_func () 153663fbae1dSmrg{ 153763fbae1dSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1538fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1539fe605390Smrgprintf %s "checking for $2... " >&6; } 1540fe605390Smrgif eval test \${$3+y} 1541fe605390Smrgthen : 1542fe605390Smrg printf %s "(cached) " >&6 1543fe605390Smrgelse $as_nop 154463fbae1dSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 154563fbae1dSmrg/* end confdefs.h. */ 154663fbae1dSmrg/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 154763fbae1dSmrg For example, HP-UX 11i <limits.h> declares gettimeofday. */ 154863fbae1dSmrg#define $2 innocuous_$2 154963fbae1dSmrg 155063fbae1dSmrg/* System header to define __stub macros and hopefully few prototypes, 1551fe605390Smrg which can conflict with char $2 (); below. */ 155263fbae1dSmrg 1553fe605390Smrg#include <limits.h> 155463fbae1dSmrg#undef $2 155563fbae1dSmrg 155663fbae1dSmrg/* Override any GCC internal prototype to avoid an error. 155763fbae1dSmrg Use char because int might match the return type of a GCC 155863fbae1dSmrg builtin and then its argument prototype would still apply. */ 155963fbae1dSmrg#ifdef __cplusplus 156063fbae1dSmrgextern "C" 156163fbae1dSmrg#endif 156263fbae1dSmrgchar $2 (); 156363fbae1dSmrg/* The GNU C library defines this for functions which it implements 156463fbae1dSmrg to always fail with ENOSYS. Some functions are actually named 156563fbae1dSmrg something starting with __ and the normal name is an alias. */ 156663fbae1dSmrg#if defined __stub_$2 || defined __stub___$2 156763fbae1dSmrgchoke me 156863fbae1dSmrg#endif 156963fbae1dSmrg 157063fbae1dSmrgint 1571fe605390Smrgmain (void) 157263fbae1dSmrg{ 157363fbae1dSmrgreturn $2 (); 157463fbae1dSmrg ; 157563fbae1dSmrg return 0; 157663fbae1dSmrg} 157763fbae1dSmrg_ACEOF 1578fe605390Smrgif ac_fn_c_try_link "$LINENO" 1579fe605390Smrgthen : 158063fbae1dSmrg eval "$3=yes" 1581fe605390Smrgelse $as_nop 158263fbae1dSmrg eval "$3=no" 158363fbae1dSmrgfi 1584fe605390Smrgrm -f core conftest.err conftest.$ac_objext conftest.beam \ 158563fbae1dSmrg conftest$ac_exeext conftest.$ac_ext 158663fbae1dSmrgfi 158763fbae1dSmrgeval ac_res=\$$3 1588fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1589fe605390Smrgprintf "%s\n" "$ac_res" >&6; } 1590fe605390Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 159163fbae1dSmrg 159263fbae1dSmrg} # ac_fn_c_check_func 1593fe605390Smrgac_configure_args_raw= 1594fe605390Smrgfor ac_arg 1595fe605390Smrgdo 1596fe605390Smrg case $ac_arg in 1597fe605390Smrg *\'*) 1598fe605390Smrg ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1599fe605390Smrg esac 1600fe605390Smrg as_fn_append ac_configure_args_raw " '$ac_arg'" 1601fe605390Smrgdone 1602fe605390Smrg 1603fe605390Smrgcase $ac_configure_args_raw in 1604fe605390Smrg *$as_nl*) 1605fe605390Smrg ac_safe_unquote= ;; 1606fe605390Smrg *) 1607fe605390Smrg ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. 1608fe605390Smrg ac_unsafe_a="$ac_unsafe_z#~" 1609fe605390Smrg ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" 1610fe605390Smrg ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;; 1611fe605390Smrgesac 1612fe605390Smrg 161320d725fbSmrgcat >config.log <<_ACEOF 161420d725fbSmrgThis file contains any messages produced by compilers while 161520d725fbSmrgrunning configure, to aid debugging if configure makes a mistake. 161620d725fbSmrg 1617fe605390SmrgIt was created by libpthread-stubs $as_me 0.5, which was 1618fe605390Smrggenerated by GNU Autoconf 2.71. Invocation command line was 161920d725fbSmrg 1620fe605390Smrg $ $0$ac_configure_args_raw 162120d725fbSmrg 162220d725fbSmrg_ACEOF 162320d725fbSmrgexec 5>>config.log 162420d725fbSmrg{ 162520d725fbSmrgcat <<_ASUNAME 162620d725fbSmrg## --------- ## 162720d725fbSmrg## Platform. ## 162820d725fbSmrg## --------- ## 162920d725fbSmrg 163020d725fbSmrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 163120d725fbSmrguname -m = `(uname -m) 2>/dev/null || echo unknown` 163220d725fbSmrguname -r = `(uname -r) 2>/dev/null || echo unknown` 163320d725fbSmrguname -s = `(uname -s) 2>/dev/null || echo unknown` 163420d725fbSmrguname -v = `(uname -v) 2>/dev/null || echo unknown` 163520d725fbSmrg 163620d725fbSmrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 163720d725fbSmrg/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 163820d725fbSmrg 163920d725fbSmrg/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 164020d725fbSmrg/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 164120d725fbSmrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 164220d725fbSmrg/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 164320d725fbSmrg/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 164420d725fbSmrg/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 164520d725fbSmrg/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 164620d725fbSmrg 164720d725fbSmrg_ASUNAME 164820d725fbSmrg 164920d725fbSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 165020d725fbSmrgfor as_dir in $PATH 165120d725fbSmrgdo 165220d725fbSmrg IFS=$as_save_IFS 1653fe605390Smrg case $as_dir in #((( 1654fe605390Smrg '') as_dir=./ ;; 1655fe605390Smrg */) ;; 1656fe605390Smrg *) as_dir=$as_dir/ ;; 1657fe605390Smrg esac 1658fe605390Smrg printf "%s\n" "PATH: $as_dir" 165963fbae1dSmrg done 166020d725fbSmrgIFS=$as_save_IFS 166120d725fbSmrg 166220d725fbSmrg} >&5 166320d725fbSmrg 166420d725fbSmrgcat >&5 <<_ACEOF 166520d725fbSmrg 166620d725fbSmrg 166720d725fbSmrg## ----------- ## 166820d725fbSmrg## Core tests. ## 166920d725fbSmrg## ----------- ## 167020d725fbSmrg 167120d725fbSmrg_ACEOF 167220d725fbSmrg 167320d725fbSmrg 167420d725fbSmrg# Keep a trace of the command line. 167520d725fbSmrg# Strip out --no-create and --no-recursion so they do not pile up. 167620d725fbSmrg# Strip out --silent because we don't want to record it for future runs. 167720d725fbSmrg# Also quote any args containing shell meta-characters. 167820d725fbSmrg# Make two passes to allow for proper duplicate-argument suppression. 167920d725fbSmrgac_configure_args= 168020d725fbSmrgac_configure_args0= 168120d725fbSmrgac_configure_args1= 168220d725fbSmrgac_must_keep_next=false 168320d725fbSmrgfor ac_pass in 1 2 168420d725fbSmrgdo 168520d725fbSmrg for ac_arg 168620d725fbSmrg do 168720d725fbSmrg case $ac_arg in 168820d725fbSmrg -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 168920d725fbSmrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 169020d725fbSmrg | -silent | --silent | --silen | --sile | --sil) 169120d725fbSmrg continue ;; 169220d725fbSmrg *\'*) 1693fe605390Smrg ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 169420d725fbSmrg esac 169520d725fbSmrg case $ac_pass in 169663fbae1dSmrg 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 169720d725fbSmrg 2) 169863fbae1dSmrg as_fn_append ac_configure_args1 " '$ac_arg'" 169920d725fbSmrg if test $ac_must_keep_next = true; then 170020d725fbSmrg ac_must_keep_next=false # Got value, back to normal. 170120d725fbSmrg else 170220d725fbSmrg case $ac_arg in 170320d725fbSmrg *=* | --config-cache | -C | -disable-* | --disable-* \ 170420d725fbSmrg | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 170520d725fbSmrg | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 170620d725fbSmrg | -with-* | --with-* | -without-* | --without-* | --x) 170720d725fbSmrg case "$ac_configure_args0 " in 170820d725fbSmrg "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 170920d725fbSmrg esac 171020d725fbSmrg ;; 171120d725fbSmrg -* ) ac_must_keep_next=true ;; 171220d725fbSmrg esac 171320d725fbSmrg fi 171463fbae1dSmrg as_fn_append ac_configure_args " '$ac_arg'" 171520d725fbSmrg ;; 171620d725fbSmrg esac 171720d725fbSmrg done 171820d725fbSmrgdone 171963fbae1dSmrg{ ac_configure_args0=; unset ac_configure_args0;} 172063fbae1dSmrg{ ac_configure_args1=; unset ac_configure_args1;} 172120d725fbSmrg 172220d725fbSmrg# When interrupted or exit'd, cleanup temporary files, and complete 172320d725fbSmrg# config.log. We remove comments because anyway the quotes in there 172420d725fbSmrg# would cause problems or look ugly. 172520d725fbSmrg# WARNING: Use '\'' to represent an apostrophe within the trap. 172620d725fbSmrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 172720d725fbSmrgtrap 'exit_status=$? 1728fe605390Smrg # Sanitize IFS. 1729fe605390Smrg IFS=" "" $as_nl" 173020d725fbSmrg # Save into config.log some information that might help in debugging. 173120d725fbSmrg { 173220d725fbSmrg echo 173320d725fbSmrg 1734fe605390Smrg printf "%s\n" "## ---------------- ## 173520d725fbSmrg## Cache variables. ## 1736fe605390Smrg## ---------------- ##" 173720d725fbSmrg echo 173820d725fbSmrg # The following way of writing the cache mishandles newlines in values, 173920d725fbSmrg( 174020d725fbSmrg for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 174120d725fbSmrg eval ac_val=\$$ac_var 174220d725fbSmrg case $ac_val in #( 174320d725fbSmrg *${as_nl}*) 174420d725fbSmrg case $ac_var in #( 1745fe605390Smrg *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1746fe605390Smrgprintf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 174720d725fbSmrg esac 174820d725fbSmrg case $ac_var in #( 174920d725fbSmrg _ | IFS | as_nl) ;; #( 175063fbae1dSmrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 175163fbae1dSmrg *) { eval $ac_var=; unset $ac_var;} ;; 175220d725fbSmrg esac ;; 175320d725fbSmrg esac 175420d725fbSmrg done 175520d725fbSmrg (set) 2>&1 | 175620d725fbSmrg case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 175720d725fbSmrg *${as_nl}ac_space=\ *) 175820d725fbSmrg sed -n \ 175920d725fbSmrg "s/'\''/'\''\\\\'\'''\''/g; 176020d725fbSmrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 176120d725fbSmrg ;; #( 176220d725fbSmrg *) 176320d725fbSmrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 176420d725fbSmrg ;; 176520d725fbSmrg esac | 176620d725fbSmrg sort 176720d725fbSmrg) 176820d725fbSmrg echo 176920d725fbSmrg 1770fe605390Smrg printf "%s\n" "## ----------------- ## 177120d725fbSmrg## Output variables. ## 1772fe605390Smrg## ----------------- ##" 177320d725fbSmrg echo 177420d725fbSmrg for ac_var in $ac_subst_vars 177520d725fbSmrg do 177620d725fbSmrg eval ac_val=\$$ac_var 177720d725fbSmrg case $ac_val in 1778fe605390Smrg *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 177920d725fbSmrg esac 1780fe605390Smrg printf "%s\n" "$ac_var='\''$ac_val'\''" 178120d725fbSmrg done | sort 178220d725fbSmrg echo 178320d725fbSmrg 178420d725fbSmrg if test -n "$ac_subst_files"; then 1785fe605390Smrg printf "%s\n" "## ------------------- ## 178620d725fbSmrg## File substitutions. ## 1787fe605390Smrg## ------------------- ##" 178820d725fbSmrg echo 178920d725fbSmrg for ac_var in $ac_subst_files 179020d725fbSmrg do 179120d725fbSmrg eval ac_val=\$$ac_var 179220d725fbSmrg case $ac_val in 1793fe605390Smrg *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 179420d725fbSmrg esac 1795fe605390Smrg printf "%s\n" "$ac_var='\''$ac_val'\''" 179620d725fbSmrg done | sort 179720d725fbSmrg echo 179820d725fbSmrg fi 179920d725fbSmrg 180020d725fbSmrg if test -s confdefs.h; then 1801fe605390Smrg printf "%s\n" "## ----------- ## 180220d725fbSmrg## confdefs.h. ## 1803fe605390Smrg## ----------- ##" 180420d725fbSmrg echo 180520d725fbSmrg cat confdefs.h 180620d725fbSmrg echo 180720d725fbSmrg fi 180820d725fbSmrg test "$ac_signal" != 0 && 1809fe605390Smrg printf "%s\n" "$as_me: caught signal $ac_signal" 1810fe605390Smrg printf "%s\n" "$as_me: exit $exit_status" 181120d725fbSmrg } >&5 181220d725fbSmrg rm -f core *.core core.conftest.* && 181320d725fbSmrg rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 181420d725fbSmrg exit $exit_status 181520d725fbSmrg' 0 181620d725fbSmrgfor ac_signal in 1 2 13 15; do 181763fbae1dSmrg trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 181820d725fbSmrgdone 181920d725fbSmrgac_signal=0 182020d725fbSmrg 182120d725fbSmrg# confdefs.h avoids OS command line length limits that DEFS can exceed. 182220d725fbSmrgrm -f -r conftest* confdefs.h 182320d725fbSmrg 1824fe605390Smrgprintf "%s\n" "/* confdefs.h */" > confdefs.h 182563fbae1dSmrg 182620d725fbSmrg# Predefined preprocessor variables. 182720d725fbSmrg 1828fe605390Smrgprintf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h 182920d725fbSmrg 1830fe605390Smrgprintf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h 183120d725fbSmrg 1832fe605390Smrgprintf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h 183320d725fbSmrg 1834fe605390Smrgprintf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h 183520d725fbSmrg 1836fe605390Smrgprintf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h 183720d725fbSmrg 1838fe605390Smrgprintf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h 183963fbae1dSmrg 184020d725fbSmrg 184120d725fbSmrg# Let the site file select an alternate cache file if it wants to. 184263fbae1dSmrg# Prefer an explicitly selected file to automatically selected ones. 184320d725fbSmrgif test -n "$CONFIG_SITE"; then 1844fe605390Smrg ac_site_files="$CONFIG_SITE" 184520d725fbSmrgelif test "x$prefix" != xNONE; then 1846fe605390Smrg ac_site_files="$prefix/share/config.site $prefix/etc/config.site" 184720d725fbSmrgelse 1848fe605390Smrg ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 184920d725fbSmrgfi 1850fe605390Smrg 1851fe605390Smrgfor ac_site_file in $ac_site_files 185220d725fbSmrgdo 1853fe605390Smrg case $ac_site_file in #( 1854fe605390Smrg */*) : 1855fe605390Smrg ;; #( 1856fe605390Smrg *) : 1857fe605390Smrg ac_site_file=./$ac_site_file ;; 1858fe605390Smrgesac 1859fe605390Smrg if test -f "$ac_site_file" && test -r "$ac_site_file"; then 1860fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1861fe605390Smrgprintf "%s\n" "$as_me: loading site script $ac_site_file" >&6;} 186220d725fbSmrg sed 's/^/| /' "$ac_site_file" >&5 1863fe605390Smrg . "$ac_site_file" \ 1864fe605390Smrg || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1865fe605390Smrgprintf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 1866fe605390Smrgas_fn_error $? "failed to load site script $ac_site_file 1867fe605390SmrgSee \`config.log' for more details" "$LINENO" 5; } 186820d725fbSmrg fi 186920d725fbSmrgdone 187020d725fbSmrg 187120d725fbSmrgif test -r "$cache_file"; then 1872fe605390Smrg # Some versions of bash will fail to source /dev/null (special files 1873fe605390Smrg # actually), so we avoid doing that. DJGPP emulates it as a regular file. 1874fe605390Smrg if test /dev/null != "$cache_file" && test -f "$cache_file"; then 1875fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1876fe605390Smrgprintf "%s\n" "$as_me: loading cache $cache_file" >&6;} 187720d725fbSmrg case $cache_file in 187820d725fbSmrg [\\/]* | ?:[\\/]* ) . "$cache_file";; 187920d725fbSmrg *) . "./$cache_file";; 188020d725fbSmrg esac 188120d725fbSmrg fi 188220d725fbSmrgelse 1883fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1884fe605390Smrgprintf "%s\n" "$as_me: creating cache $cache_file" >&6;} 188520d725fbSmrg >$cache_file 188620d725fbSmrgfi 188720d725fbSmrg 1888fe605390Smrg# Test code for whether the C compiler supports C89 (global declarations) 1889fe605390Smrgac_c_conftest_c89_globals=' 1890fe605390Smrg/* Does the compiler advertise C89 conformance? 1891fe605390Smrg Do not test the value of __STDC__, because some compilers set it to 0 1892fe605390Smrg while being otherwise adequately conformant. */ 1893fe605390Smrg#if !defined __STDC__ 1894fe605390Smrg# error "Compiler does not advertise C89 conformance" 1895fe605390Smrg#endif 189620d725fbSmrg 1897fe605390Smrg#include <stddef.h> 1898fe605390Smrg#include <stdarg.h> 1899fe605390Smrgstruct stat; 1900fe605390Smrg/* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ 1901fe605390Smrgstruct buf { int x; }; 1902fe605390Smrgstruct buf * (*rcsopen) (struct buf *, struct stat *, int); 1903fe605390Smrgstatic char *e (p, i) 1904fe605390Smrg char **p; 1905fe605390Smrg int i; 1906fe605390Smrg{ 1907fe605390Smrg return p[i]; 1908fe605390Smrg} 1909fe605390Smrgstatic char *f (char * (*g) (char **, int), char **p, ...) 1910fe605390Smrg{ 1911fe605390Smrg char *s; 1912fe605390Smrg va_list v; 1913fe605390Smrg va_start (v,p); 1914fe605390Smrg s = g (p, va_arg (v,int)); 1915fe605390Smrg va_end (v); 1916fe605390Smrg return s; 1917fe605390Smrg} 1918fe605390Smrg 1919fe605390Smrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 1920fe605390Smrg function prototypes and stuff, but not \xHH hex character constants. 1921fe605390Smrg These do not provoke an error unfortunately, instead are silently treated 1922fe605390Smrg as an "x". The following induces an error, until -std is added to get 1923fe605390Smrg proper ANSI mode. Curiously \x00 != x always comes out true, for an 1924fe605390Smrg array size at least. It is necessary to write \x00 == 0 to get something 1925fe605390Smrg that is true only with -std. */ 1926fe605390Smrgint osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1]; 1927fe605390Smrg 1928fe605390Smrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 1929fe605390Smrg inside strings and character constants. */ 1930fe605390Smrg#define FOO(x) '\''x'\'' 1931fe605390Smrgint xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1]; 1932fe605390Smrg 1933fe605390Smrgint test (int i, double x); 1934fe605390Smrgstruct s1 {int (*f) (int a);}; 1935fe605390Smrgstruct s2 {int (*f) (double a);}; 1936fe605390Smrgint pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), 1937fe605390Smrg int, int);' 1938fe605390Smrg 1939fe605390Smrg# Test code for whether the C compiler supports C89 (body of main). 1940fe605390Smrgac_c_conftest_c89_main=' 1941fe605390Smrgok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); 1942fe605390Smrg' 1943fe605390Smrg 1944fe605390Smrg# Test code for whether the C compiler supports C99 (global declarations) 1945fe605390Smrgac_c_conftest_c99_globals=' 1946fe605390Smrg// Does the compiler advertise C99 conformance? 1947fe605390Smrg#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L 1948fe605390Smrg# error "Compiler does not advertise C99 conformance" 1949fe605390Smrg#endif 1950fe605390Smrg 1951fe605390Smrg#include <stdbool.h> 1952fe605390Smrgextern int puts (const char *); 1953fe605390Smrgextern int printf (const char *, ...); 1954fe605390Smrgextern int dprintf (int, const char *, ...); 1955fe605390Smrgextern void *malloc (size_t); 1956fe605390Smrg 1957fe605390Smrg// Check varargs macros. These examples are taken from C99 6.10.3.5. 1958fe605390Smrg// dprintf is used instead of fprintf to avoid needing to declare 1959fe605390Smrg// FILE and stderr. 1960fe605390Smrg#define debug(...) dprintf (2, __VA_ARGS__) 1961fe605390Smrg#define showlist(...) puts (#__VA_ARGS__) 1962fe605390Smrg#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 1963fe605390Smrgstatic void 1964fe605390Smrgtest_varargs_macros (void) 1965fe605390Smrg{ 1966fe605390Smrg int x = 1234; 1967fe605390Smrg int y = 5678; 1968fe605390Smrg debug ("Flag"); 1969fe605390Smrg debug ("X = %d\n", x); 1970fe605390Smrg showlist (The first, second, and third items.); 1971fe605390Smrg report (x>y, "x is %d but y is %d", x, y); 1972fe605390Smrg} 1973fe605390Smrg 1974fe605390Smrg// Check long long types. 1975fe605390Smrg#define BIG64 18446744073709551615ull 1976fe605390Smrg#define BIG32 4294967295ul 1977fe605390Smrg#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 1978fe605390Smrg#if !BIG_OK 1979fe605390Smrg #error "your preprocessor is broken" 1980fe605390Smrg#endif 1981fe605390Smrg#if BIG_OK 1982fe605390Smrg#else 1983fe605390Smrg #error "your preprocessor is broken" 1984fe605390Smrg#endif 1985fe605390Smrgstatic long long int bignum = -9223372036854775807LL; 1986fe605390Smrgstatic unsigned long long int ubignum = BIG64; 1987fe605390Smrg 1988fe605390Smrgstruct incomplete_array 1989fe605390Smrg{ 1990fe605390Smrg int datasize; 1991fe605390Smrg double data[]; 1992fe605390Smrg}; 1993fe605390Smrg 1994fe605390Smrgstruct named_init { 1995fe605390Smrg int number; 1996fe605390Smrg const wchar_t *name; 1997fe605390Smrg double average; 1998fe605390Smrg}; 1999fe605390Smrg 2000fe605390Smrgtypedef const char *ccp; 2001fe605390Smrg 2002fe605390Smrgstatic inline int 2003fe605390Smrgtest_restrict (ccp restrict text) 2004fe605390Smrg{ 2005fe605390Smrg // See if C++-style comments work. 2006fe605390Smrg // Iterate through items via the restricted pointer. 2007fe605390Smrg // Also check for declarations in for loops. 2008fe605390Smrg for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i) 2009fe605390Smrg continue; 2010fe605390Smrg return 0; 2011fe605390Smrg} 2012fe605390Smrg 2013fe605390Smrg// Check varargs and va_copy. 2014fe605390Smrgstatic bool 2015fe605390Smrgtest_varargs (const char *format, ...) 2016fe605390Smrg{ 2017fe605390Smrg va_list args; 2018fe605390Smrg va_start (args, format); 2019fe605390Smrg va_list args_copy; 2020fe605390Smrg va_copy (args_copy, args); 2021fe605390Smrg 2022fe605390Smrg const char *str = ""; 2023fe605390Smrg int number = 0; 2024fe605390Smrg float fnumber = 0; 2025fe605390Smrg 2026fe605390Smrg while (*format) 2027fe605390Smrg { 2028fe605390Smrg switch (*format++) 2029fe605390Smrg { 2030fe605390Smrg case '\''s'\'': // string 2031fe605390Smrg str = va_arg (args_copy, const char *); 2032fe605390Smrg break; 2033fe605390Smrg case '\''d'\'': // int 2034fe605390Smrg number = va_arg (args_copy, int); 2035fe605390Smrg break; 2036fe605390Smrg case '\''f'\'': // float 2037fe605390Smrg fnumber = va_arg (args_copy, double); 2038fe605390Smrg break; 2039fe605390Smrg default: 2040fe605390Smrg break; 2041fe605390Smrg } 2042fe605390Smrg } 2043fe605390Smrg va_end (args_copy); 2044fe605390Smrg va_end (args); 2045fe605390Smrg 2046fe605390Smrg return *str && number && fnumber; 2047fe605390Smrg} 2048fe605390Smrg' 204920d725fbSmrg 2050fe605390Smrg# Test code for whether the C compiler supports C99 (body of main). 2051fe605390Smrgac_c_conftest_c99_main=' 2052fe605390Smrg // Check bool. 2053fe605390Smrg _Bool success = false; 2054fe605390Smrg success |= (argc != 0); 2055fe605390Smrg 2056fe605390Smrg // Check restrict. 2057fe605390Smrg if (test_restrict ("String literal") == 0) 2058fe605390Smrg success = true; 2059fe605390Smrg char *restrict newvar = "Another string"; 2060fe605390Smrg 2061fe605390Smrg // Check varargs. 2062fe605390Smrg success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234); 2063fe605390Smrg test_varargs_macros (); 2064fe605390Smrg 2065fe605390Smrg // Check flexible array members. 2066fe605390Smrg struct incomplete_array *ia = 2067fe605390Smrg malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 2068fe605390Smrg ia->datasize = 10; 2069fe605390Smrg for (int i = 0; i < ia->datasize; ++i) 2070fe605390Smrg ia->data[i] = i * 1.234; 2071fe605390Smrg 2072fe605390Smrg // Check named initializers. 2073fe605390Smrg struct named_init ni = { 2074fe605390Smrg .number = 34, 2075fe605390Smrg .name = L"Test wide string", 2076fe605390Smrg .average = 543.34343, 2077fe605390Smrg }; 2078fe605390Smrg 2079fe605390Smrg ni.number = 58; 2080fe605390Smrg 2081fe605390Smrg int dynamic_array[ni.number]; 2082fe605390Smrg dynamic_array[0] = argv[0][0]; 2083fe605390Smrg dynamic_array[ni.number - 1] = 543; 2084fe605390Smrg 2085fe605390Smrg // work around unused variable warnings 2086fe605390Smrg ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\'' 2087fe605390Smrg || dynamic_array[ni.number - 1] != 543); 2088fe605390Smrg' 2089fe605390Smrg 2090fe605390Smrg# Test code for whether the C compiler supports C11 (global declarations) 2091fe605390Smrgac_c_conftest_c11_globals=' 2092fe605390Smrg// Does the compiler advertise C11 conformance? 2093fe605390Smrg#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L 2094fe605390Smrg# error "Compiler does not advertise C11 conformance" 2095fe605390Smrg#endif 2096fe605390Smrg 2097fe605390Smrg// Check _Alignas. 2098fe605390Smrgchar _Alignas (double) aligned_as_double; 2099fe605390Smrgchar _Alignas (0) no_special_alignment; 2100fe605390Smrgextern char aligned_as_int; 2101fe605390Smrgchar _Alignas (0) _Alignas (int) aligned_as_int; 2102fe605390Smrg 2103fe605390Smrg// Check _Alignof. 2104fe605390Smrgenum 2105fe605390Smrg{ 2106fe605390Smrg int_alignment = _Alignof (int), 2107fe605390Smrg int_array_alignment = _Alignof (int[100]), 2108fe605390Smrg char_alignment = _Alignof (char) 2109fe605390Smrg}; 2110fe605390Smrg_Static_assert (0 < -_Alignof (int), "_Alignof is signed"); 2111fe605390Smrg 2112fe605390Smrg// Check _Noreturn. 2113fe605390Smrgint _Noreturn does_not_return (void) { for (;;) continue; } 2114fe605390Smrg 2115fe605390Smrg// Check _Static_assert. 2116fe605390Smrgstruct test_static_assert 2117fe605390Smrg{ 2118fe605390Smrg int x; 2119fe605390Smrg _Static_assert (sizeof (int) <= sizeof (long int), 2120fe605390Smrg "_Static_assert does not work in struct"); 2121fe605390Smrg long int y; 2122fe605390Smrg}; 2123fe605390Smrg 2124fe605390Smrg// Check UTF-8 literals. 2125fe605390Smrg#define u8 syntax error! 2126fe605390Smrgchar const utf8_literal[] = u8"happens to be ASCII" "another string"; 2127fe605390Smrg 2128fe605390Smrg// Check duplicate typedefs. 2129fe605390Smrgtypedef long *long_ptr; 2130fe605390Smrgtypedef long int *long_ptr; 2131fe605390Smrgtypedef long_ptr long_ptr; 2132fe605390Smrg 2133fe605390Smrg// Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. 2134fe605390Smrgstruct anonymous 2135fe605390Smrg{ 2136fe605390Smrg union { 2137fe605390Smrg struct { int i; int j; }; 2138fe605390Smrg struct { int k; long int l; } w; 2139fe605390Smrg }; 2140fe605390Smrg int m; 2141fe605390Smrg} v1; 2142fe605390Smrg' 2143fe605390Smrg 2144fe605390Smrg# Test code for whether the C compiler supports C11 (body of main). 2145fe605390Smrgac_c_conftest_c11_main=' 2146fe605390Smrg _Static_assert ((offsetof (struct anonymous, i) 2147fe605390Smrg == offsetof (struct anonymous, w.k)), 2148fe605390Smrg "Anonymous union alignment botch"); 2149fe605390Smrg v1.i = 2; 2150fe605390Smrg v1.w.k = 5; 2151fe605390Smrg ok |= v1.i != 5; 2152fe605390Smrg' 2153fe605390Smrg 2154fe605390Smrg# Test code for whether the C compiler supports C11 (complete). 2155fe605390Smrgac_c_conftest_c11_program="${ac_c_conftest_c89_globals} 2156fe605390Smrg${ac_c_conftest_c99_globals} 2157fe605390Smrg${ac_c_conftest_c11_globals} 2158fe605390Smrg 2159fe605390Smrgint 2160fe605390Smrgmain (int argc, char **argv) 2161fe605390Smrg{ 2162fe605390Smrg int ok = 0; 2163fe605390Smrg ${ac_c_conftest_c89_main} 2164fe605390Smrg ${ac_c_conftest_c99_main} 2165fe605390Smrg ${ac_c_conftest_c11_main} 2166fe605390Smrg return ok; 2167fe605390Smrg} 2168fe605390Smrg" 2169fe605390Smrg 2170fe605390Smrg# Test code for whether the C compiler supports C99 (complete). 2171fe605390Smrgac_c_conftest_c99_program="${ac_c_conftest_c89_globals} 2172fe605390Smrg${ac_c_conftest_c99_globals} 2173fe605390Smrg 2174fe605390Smrgint 2175fe605390Smrgmain (int argc, char **argv) 2176fe605390Smrg{ 2177fe605390Smrg int ok = 0; 2178fe605390Smrg ${ac_c_conftest_c89_main} 2179fe605390Smrg ${ac_c_conftest_c99_main} 2180fe605390Smrg return ok; 2181fe605390Smrg} 2182fe605390Smrg" 2183fe605390Smrg 2184fe605390Smrg# Test code for whether the C compiler supports C89 (complete). 2185fe605390Smrgac_c_conftest_c89_program="${ac_c_conftest_c89_globals} 2186fe605390Smrg 2187fe605390Smrgint 2188fe605390Smrgmain (int argc, char **argv) 2189fe605390Smrg{ 2190fe605390Smrg int ok = 0; 2191fe605390Smrg ${ac_c_conftest_c89_main} 2192fe605390Smrg return ok; 2193fe605390Smrg} 2194fe605390Smrg" 219520d725fbSmrg 219620d725fbSmrg 2197fe605390Smrg# Auxiliary files required by this configure script. 2198fe605390Smrgac_aux_files="compile missing install-sh" 2199fe605390Smrg 2200fe605390Smrg# Locations in which to look for auxiliary files. 2201fe605390Smrgac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.." 2202fe605390Smrg 2203fe605390Smrg# Search for a directory containing all of the required auxiliary files, 2204fe605390Smrg# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. 2205fe605390Smrg# If we don't find one directory that contains all the files we need, 2206fe605390Smrg# we report the set of missing files from the *first* directory in 2207fe605390Smrg# $ac_aux_dir_candidates and give up. 2208fe605390Smrgac_missing_aux_files="" 2209fe605390Smrgac_first_candidate=: 2210fe605390Smrgprintf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5 2211fe605390Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2212fe605390Smrgas_found=false 2213fe605390Smrgfor as_dir in $ac_aux_dir_candidates 2214fe605390Smrgdo 2215fe605390Smrg IFS=$as_save_IFS 2216fe605390Smrg case $as_dir in #((( 2217fe605390Smrg '') as_dir=./ ;; 2218fe605390Smrg */) ;; 2219fe605390Smrg *) as_dir=$as_dir/ ;; 2220fe605390Smrg esac 2221fe605390Smrg as_found=: 222263fbae1dSmrg 2223fe605390Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 2224fe605390Smrg ac_aux_dir_found=yes 2225fe605390Smrg ac_install_sh= 2226fe605390Smrg for ac_aux in $ac_aux_files 2227fe605390Smrg do 2228fe605390Smrg # As a special case, if "install-sh" is required, that requirement 2229fe605390Smrg # can be satisfied by any of "install-sh", "install.sh", or "shtool", 2230fe605390Smrg # and $ac_install_sh is set appropriately for whichever one is found. 2231fe605390Smrg if test x"$ac_aux" = x"install-sh" 2232fe605390Smrg then 2233fe605390Smrg if test -f "${as_dir}install-sh"; then 2234fe605390Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5 2235fe605390Smrg ac_install_sh="${as_dir}install-sh -c" 2236fe605390Smrg elif test -f "${as_dir}install.sh"; then 2237fe605390Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5 2238fe605390Smrg ac_install_sh="${as_dir}install.sh -c" 2239fe605390Smrg elif test -f "${as_dir}shtool"; then 2240fe605390Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5 2241fe605390Smrg ac_install_sh="${as_dir}shtool install -c" 2242fe605390Smrg else 2243fe605390Smrg ac_aux_dir_found=no 2244fe605390Smrg if $ac_first_candidate; then 2245fe605390Smrg ac_missing_aux_files="${ac_missing_aux_files} install-sh" 2246fe605390Smrg else 2247fe605390Smrg break 2248fe605390Smrg fi 2249fe605390Smrg fi 2250fe605390Smrg else 2251fe605390Smrg if test -f "${as_dir}${ac_aux}"; then 2252fe605390Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5 2253fe605390Smrg else 2254fe605390Smrg ac_aux_dir_found=no 2255fe605390Smrg if $ac_first_candidate; then 2256fe605390Smrg ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}" 2257fe605390Smrg else 2258fe605390Smrg break 2259fe605390Smrg fi 2260fe605390Smrg fi 226163fbae1dSmrg fi 226263fbae1dSmrg done 2263fe605390Smrg if test "$ac_aux_dir_found" = yes; then 2264fe605390Smrg ac_aux_dir="$as_dir" 2265fe605390Smrg break 2266fe605390Smrg fi 2267fe605390Smrg ac_first_candidate=false 2268fe605390Smrg 2269fe605390Smrg as_found=false 227020d725fbSmrgdone 2271fe605390SmrgIFS=$as_save_IFS 2272fe605390Smrgif $as_found 2273fe605390Smrgthen : 2274fe605390Smrg 2275fe605390Smrgelse $as_nop 2276fe605390Smrg as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 227720d725fbSmrgfi 227820d725fbSmrg 2279fe605390Smrg 228020d725fbSmrg# These three variables are undocumented and unsupported, 228120d725fbSmrg# and are intended to be withdrawn in a future Autoconf release. 228220d725fbSmrg# They can cause serious problems if a builder's source tree is in a directory 228320d725fbSmrg# whose full name contains unusual characters. 2284fe605390Smrgif test -f "${ac_aux_dir}config.guess"; then 2285fe605390Smrg ac_config_guess="$SHELL ${ac_aux_dir}config.guess" 2286fe605390Smrgfi 2287fe605390Smrgif test -f "${ac_aux_dir}config.sub"; then 2288fe605390Smrg ac_config_sub="$SHELL ${ac_aux_dir}config.sub" 2289fe605390Smrgfi 2290fe605390Smrgif test -f "$ac_aux_dir/configure"; then 2291fe605390Smrg ac_configure="$SHELL ${ac_aux_dir}configure" 2292fe605390Smrgfi 229320d725fbSmrg 2294fe605390Smrg# Check that the precious variables saved in the cache have kept the same 2295fe605390Smrg# value. 2296fe605390Smrgac_cache_corrupted=false 2297fe605390Smrgfor ac_var in $ac_precious_vars; do 2298fe605390Smrg eval ac_old_set=\$ac_cv_env_${ac_var}_set 2299fe605390Smrg eval ac_new_set=\$ac_env_${ac_var}_set 2300fe605390Smrg eval ac_old_val=\$ac_cv_env_${ac_var}_value 2301fe605390Smrg eval ac_new_val=\$ac_env_${ac_var}_value 2302fe605390Smrg case $ac_old_set,$ac_new_set in 2303fe605390Smrg set,) 2304fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2305fe605390Smrgprintf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2306fe605390Smrg ac_cache_corrupted=: ;; 2307fe605390Smrg ,set) 2308fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2309fe605390Smrgprintf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2310fe605390Smrg ac_cache_corrupted=: ;; 2311fe605390Smrg ,);; 2312fe605390Smrg *) 2313fe605390Smrg if test "x$ac_old_val" != "x$ac_new_val"; then 2314fe605390Smrg # differences in whitespace do not lead to failure. 2315fe605390Smrg ac_old_val_w=`echo x $ac_old_val` 2316fe605390Smrg ac_new_val_w=`echo x $ac_new_val` 2317fe605390Smrg if test "$ac_old_val_w" != "$ac_new_val_w"; then 2318fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2319fe605390Smrgprintf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2320fe605390Smrg ac_cache_corrupted=: 2321fe605390Smrg else 2322fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2323fe605390Smrgprintf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2324fe605390Smrg eval $ac_var=\$ac_old_val 2325fe605390Smrg fi 2326fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2327fe605390Smrgprintf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;} 2328fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2329fe605390Smrgprintf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;} 2330fe605390Smrg fi;; 2331fe605390Smrg esac 2332fe605390Smrg # Pass precious variables to config.status. 2333fe605390Smrg if test "$ac_new_set" = set; then 2334fe605390Smrg case $ac_new_val in 2335fe605390Smrg *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2336fe605390Smrg *) ac_arg=$ac_var=$ac_new_val ;; 2337fe605390Smrg esac 2338fe605390Smrg case " $ac_configure_args " in 2339fe605390Smrg *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2340fe605390Smrg *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2341fe605390Smrg esac 2342fe605390Smrg fi 2343fe605390Smrgdone 2344fe605390Smrgif $ac_cache_corrupted; then 2345fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2346fe605390Smrgprintf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 2347fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2348fe605390Smrgprintf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;} 2349fe605390Smrg as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file' 2350fe605390Smrg and start over" "$LINENO" 5 2351fe605390Smrgfi 2352fe605390Smrg## -------------------- ## 2353fe605390Smrg## Main body of script. ## 2354fe605390Smrg## -------------------- ## 2355fe605390Smrg 2356fe605390Smrgac_ext=c 2357fe605390Smrgac_cpp='$CPP $CPPFLAGS' 2358fe605390Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2359fe605390Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2360fe605390Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 236120d725fbSmrg 2362fe605390Smrg 2363fe605390Smrg 2364fe605390Smrgam__api_version='1.16' 2365fe605390Smrg 2366fe605390Smrg 2367fe605390Smrg 2368fe605390Smrg # Find a good install program. We prefer a C program (faster), 236920d725fbSmrg# so one script is as good as another. But avoid the broken or 237020d725fbSmrg# incompatible versions: 237120d725fbSmrg# SysV /etc/install, /usr/sbin/install 237220d725fbSmrg# SunOS /usr/etc/install 237320d725fbSmrg# IRIX /sbin/install 237420d725fbSmrg# AIX /bin/install 237520d725fbSmrg# AmigaOS /C/install, which installs bootblocks on floppy discs 237620d725fbSmrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 237720d725fbSmrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 237820d725fbSmrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 237920d725fbSmrg# OS/2's system install, which has a completely different semantic 238020d725fbSmrg# ./install, which can be erroneously created by make from ./install.sh. 238163fbae1dSmrg# Reject install programs that cannot install multiple files. 2382fe605390Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2383fe605390Smrgprintf %s "checking for a BSD-compatible install... " >&6; } 238420d725fbSmrgif test -z "$INSTALL"; then 2385fe605390Smrgif test ${ac_cv_path_install+y} 2386fe605390Smrgthen : 2387fe605390Smrg printf %s "(cached) " >&6 2388fe605390Smrgelse $as_nop 238920d725fbSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 239020d725fbSmrgfor as_dir in $PATH 239120d725fbSmrgdo 239220d725fbSmrg IFS=$as_save_IFS 2393fe605390Smrg case $as_dir in #((( 2394fe605390Smrg '') as_dir=./ ;; 2395fe605390Smrg */) ;; 2396fe605390Smrg *) as_dir=$as_dir/ ;; 2397fe605390Smrg esac 2398fe605390Smrg # Account for fact that we put trailing slashes in our PATH walk. 2399fe605390Smrgcase $as_dir in #(( 2400fe605390Smrg ./ | /[cC]/* | \ 240120d725fbSmrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 240263fbae1dSmrg ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 240320d725fbSmrg /usr/ucb/* ) ;; 240420d725fbSmrg *) 240520d725fbSmrg # OSF1 and SCO ODT 3.0 have their own names for install. 240620d725fbSmrg # Don't use installbsd from OSF since it installs stuff as root 240720d725fbSmrg # by default. 240820d725fbSmrg for ac_prog in ginstall scoinst install; do 240920d725fbSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2410fe605390Smrg if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then 241120d725fbSmrg if test $ac_prog = install && 2412fe605390Smrg grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 241320d725fbSmrg # AIX install. It has an incompatible calling convention. 241420d725fbSmrg : 241520d725fbSmrg elif test $ac_prog = install && 2416fe605390Smrg grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 241720d725fbSmrg # program-specific install script used by HP pwplus--don't use. 241820d725fbSmrg : 241920d725fbSmrg else 242063fbae1dSmrg rm -rf conftest.one conftest.two conftest.dir 242163fbae1dSmrg echo one > conftest.one 242263fbae1dSmrg echo two > conftest.two 242363fbae1dSmrg mkdir conftest.dir 2424fe605390Smrg if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" && 242563fbae1dSmrg test -s conftest.one && test -s conftest.two && 242663fbae1dSmrg test -s conftest.dir/conftest.one && 242763fbae1dSmrg test -s conftest.dir/conftest.two 242863fbae1dSmrg then 2429fe605390Smrg ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c" 243063fbae1dSmrg break 3 243163fbae1dSmrg fi 243220d725fbSmrg fi 243320d725fbSmrg fi 243420d725fbSmrg done 243520d725fbSmrg done 243620d725fbSmrg ;; 243720d725fbSmrgesac 243863fbae1dSmrg 243963fbae1dSmrg done 244020d725fbSmrgIFS=$as_save_IFS 244120d725fbSmrg 244263fbae1dSmrgrm -rf conftest.one conftest.two conftest.dir 244320d725fbSmrg 244420d725fbSmrgfi 2445fe605390Smrg if test ${ac_cv_path_install+y}; then 244620d725fbSmrg INSTALL=$ac_cv_path_install 244720d725fbSmrg else 244820d725fbSmrg # As a last resort, use the slow shell script. Don't cache a 244920d725fbSmrg # value for INSTALL within a source directory, because that will 245020d725fbSmrg # break other packages using the cache if that directory is 245120d725fbSmrg # removed, or if the value is a relative name. 245220d725fbSmrg INSTALL=$ac_install_sh 245320d725fbSmrg fi 245420d725fbSmrgfi 2455fe605390Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2456fe605390Smrgprintf "%s\n" "$INSTALL" >&6; } 245720d725fbSmrg 245820d725fbSmrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 245920d725fbSmrg# It thinks the first close brace ends the variable substitution. 246020d725fbSmrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 246120d725fbSmrg 246220d725fbSmrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 246320d725fbSmrg 246420d725fbSmrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 246520d725fbSmrg 2466fe605390Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2467fe605390Smrgprintf %s "checking whether build environment is sane... " >&6; } 246863fbae1dSmrg# Reject unsafe characters in $srcdir or the absolute working directory 246963fbae1dSmrg# name. Accept space and tab only in the latter. 247063fbae1dSmrgam_lf=' 247163fbae1dSmrg' 247263fbae1dSmrgcase `pwd` in 247363fbae1dSmrg *[\\\"\#\$\&\'\`$am_lf]*) 2474fe605390Smrg as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 247563fbae1dSmrgesac 247663fbae1dSmrgcase $srcdir in 247763fbae1dSmrg *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2478fe605390Smrg as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 247963fbae1dSmrgesac 248063fbae1dSmrg 2481fe605390Smrg# Do 'set' in a subshell so we don't clobber the current shell's 248220d725fbSmrg# arguments. Must try -L first in case configure is actually a 248320d725fbSmrg# symlink; some systems play weird games with the mod time of symlinks 248420d725fbSmrg# (eg FreeBSD returns the mod time of the symlink's containing 248520d725fbSmrg# directory). 248620d725fbSmrgif ( 2487fe605390Smrg am_has_slept=no 2488fe605390Smrg for am_try in 1 2; do 2489fe605390Smrg echo "timestamp, slept: $am_has_slept" > conftest.file 2490fe605390Smrg set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2491fe605390Smrg if test "$*" = "X"; then 2492fe605390Smrg # -L didn't work. 2493fe605390Smrg set X `ls -t "$srcdir/configure" conftest.file` 2494fe605390Smrg fi 2495fe605390Smrg if test "$*" != "X $srcdir/configure conftest.file" \ 2496fe605390Smrg && test "$*" != "X conftest.file $srcdir/configure"; then 2497fe605390Smrg 2498fe605390Smrg # If neither matched, then we have a broken ls. This can happen 2499fe605390Smrg # if, for instance, CONFIG_SHELL is bash and it inherits a 2500fe605390Smrg # broken ls alias from the environment. This has actually 2501fe605390Smrg # happened. Such a system could not be considered "sane". 2502fe605390Smrg as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2503fe605390Smrg alias in your environment" "$LINENO" 5 2504fe605390Smrg fi 2505fe605390Smrg if test "$2" = conftest.file || test $am_try -eq 2; then 2506fe605390Smrg break 2507fe605390Smrg fi 2508fe605390Smrg # Just in case. 2509fe605390Smrg sleep 1 2510fe605390Smrg am_has_slept=yes 2511fe605390Smrg done 251220d725fbSmrg test "$2" = conftest.file 251320d725fbSmrg ) 251420d725fbSmrgthen 251520d725fbSmrg # Ok. 251620d725fbSmrg : 251720d725fbSmrgelse 2518fe605390Smrg as_fn_error $? "newly created file is older than distributed files! 251963fbae1dSmrgCheck your system clock" "$LINENO" 5 252020d725fbSmrgfi 2521fe605390Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2522fe605390Smrgprintf "%s\n" "yes" >&6; } 2523fe605390Smrg# If we didn't sleep, we still need to ensure time stamps of config.status and 2524fe605390Smrg# generated files are strictly newer. 2525fe605390Smrgam_sleep_pid= 2526fe605390Smrgif grep 'slept: no' conftest.file >/dev/null 2>&1; then 2527fe605390Smrg ( sleep 1 ) & 2528fe605390Smrg am_sleep_pid=$! 2529fe605390Smrgfi 2530fe605390Smrg 2531fe605390Smrgrm -f conftest.file 2532fe605390Smrg 253320d725fbSmrgtest "$program_prefix" != NONE && 253420d725fbSmrg program_transform_name="s&^&$program_prefix&;$program_transform_name" 253520d725fbSmrg# Use a double $ so make ignores it. 253620d725fbSmrgtest "$program_suffix" != NONE && 253720d725fbSmrg program_transform_name="s&\$&$program_suffix&;$program_transform_name" 253863fbae1dSmrg# Double any \ or $. 253920d725fbSmrg# By default was `s,x,x', remove it if useless. 254063fbae1dSmrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2541fe605390Smrgprogram_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"` 254220d725fbSmrg 254320d725fbSmrg 2544fe605390Smrg# Expand $ac_aux_dir to an absolute path. 2545fe605390Smrgam_aux_dir=`cd "$ac_aux_dir" && pwd` 2546fe605390Smrg 2547fe605390Smrg 2548fe605390Smrg if test x"${MISSING+set}" != xset; then 2549fe605390Smrg MISSING="\${SHELL} '$am_aux_dir/missing'" 255063fbae1dSmrgfi 255120d725fbSmrg# Use eval to expand $SHELL 2552fe605390Smrgif eval "$MISSING --is-lightweight"; then 2553fe605390Smrg am_missing_run="$MISSING " 255420d725fbSmrgelse 255520d725fbSmrg am_missing_run= 2556fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2557fe605390Smrgprintf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 255820d725fbSmrgfi 255920d725fbSmrg 2560fe605390Smrgif test x"${install_sh+set}" != xset; then 256163fbae1dSmrg case $am_aux_dir in 256263fbae1dSmrg *\ * | *\ *) 256363fbae1dSmrg install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 256463fbae1dSmrg *) 256563fbae1dSmrg install_sh="\${SHELL} $am_aux_dir/install-sh" 256663fbae1dSmrg esac 256763fbae1dSmrgfi 256863fbae1dSmrg 2569fe605390Smrg# Installed binaries are usually stripped using 'strip' when the user 2570fe605390Smrg# run "make install-strip". However 'strip' might not be the right 257163fbae1dSmrg# tool to use in cross-compilation environments, therefore Automake 2572fe605390Smrg# will honor the 'STRIP' environment variable to overrule this program. 257363fbae1dSmrgif test "$cross_compiling" != no; then 257463fbae1dSmrg if test -n "$ac_tool_prefix"; then 257563fbae1dSmrg # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 257663fbae1dSmrgset dummy ${ac_tool_prefix}strip; ac_word=$2 2577fe605390Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2578fe605390Smrgprintf %s "checking for $ac_word... " >&6; } 2579fe605390Smrgif test ${ac_cv_prog_STRIP+y} 2580fe605390Smrgthen : 2581fe605390Smrg printf %s "(cached) " >&6 2582fe605390Smrgelse $as_nop 258363fbae1dSmrg if test -n "$STRIP"; then 258463fbae1dSmrg ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 258520d725fbSmrgelse 258620d725fbSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 258720d725fbSmrgfor as_dir in $PATH 258820d725fbSmrgdo 258920d725fbSmrg IFS=$as_save_IFS 2590fe605390Smrg case $as_dir in #((( 2591fe605390Smrg '') as_dir=./ ;; 2592fe605390Smrg */) ;; 2593fe605390Smrg *) as_dir=$as_dir/ ;; 2594fe605390Smrg esac 259563fbae1dSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2596fe605390Smrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 259763fbae1dSmrg ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2598fe605390Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 259920d725fbSmrg break 2 260020d725fbSmrg fi 260120d725fbSmrgdone 260263fbae1dSmrg done 260320d725fbSmrgIFS=$as_save_IFS 260420d725fbSmrg 260520d725fbSmrgfi 260620d725fbSmrgfi 260763fbae1dSmrgSTRIP=$ac_cv_prog_STRIP 260863fbae1dSmrgif test -n "$STRIP"; then 2609fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2610fe605390Smrgprintf "%s\n" "$STRIP" >&6; } 261120d725fbSmrgelse 2612fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2613fe605390Smrgprintf "%s\n" "no" >&6; } 261420d725fbSmrgfi 261520d725fbSmrg 261620d725fbSmrg 261763fbae1dSmrgfi 261863fbae1dSmrgif test -z "$ac_cv_prog_STRIP"; then 261963fbae1dSmrg ac_ct_STRIP=$STRIP 262063fbae1dSmrg # Extract the first word of "strip", so it can be a program name with args. 262163fbae1dSmrgset dummy strip; ac_word=$2 2622fe605390Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2623fe605390Smrgprintf %s "checking for $ac_word... " >&6; } 2624fe605390Smrgif test ${ac_cv_prog_ac_ct_STRIP+y} 2625fe605390Smrgthen : 2626fe605390Smrg printf %s "(cached) " >&6 2627fe605390Smrgelse $as_nop 262863fbae1dSmrg if test -n "$ac_ct_STRIP"; then 262963fbae1dSmrg ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 263063fbae1dSmrgelse 263163fbae1dSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 263263fbae1dSmrgfor as_dir in $PATH 263363fbae1dSmrgdo 263463fbae1dSmrg IFS=$as_save_IFS 2635fe605390Smrg case $as_dir in #((( 2636fe605390Smrg '') as_dir=./ ;; 2637fe605390Smrg */) ;; 2638fe605390Smrg *) as_dir=$as_dir/ ;; 2639fe605390Smrg esac 264063fbae1dSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2641fe605390Smrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 264263fbae1dSmrg ac_cv_prog_ac_ct_STRIP="strip" 2643fe605390Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 264463fbae1dSmrg break 2 264563fbae1dSmrg fi 264620d725fbSmrgdone 264763fbae1dSmrg done 264863fbae1dSmrgIFS=$as_save_IFS 264920d725fbSmrg 265020d725fbSmrgfi 265120d725fbSmrgfi 265263fbae1dSmrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 265363fbae1dSmrgif test -n "$ac_ct_STRIP"; then 2654fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2655fe605390Smrgprintf "%s\n" "$ac_ct_STRIP" >&6; } 265620d725fbSmrgelse 2657fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2658fe605390Smrgprintf "%s\n" "no" >&6; } 265963fbae1dSmrgfi 266063fbae1dSmrg 266163fbae1dSmrg if test "x$ac_ct_STRIP" = x; then 266263fbae1dSmrg STRIP=":" 266363fbae1dSmrg else 266463fbae1dSmrg case $cross_compiling:$ac_tool_warned in 266563fbae1dSmrgyes:) 2666fe605390Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2667fe605390Smrgprintf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 266863fbae1dSmrgac_tool_warned=yes ;; 266963fbae1dSmrgesac 267063fbae1dSmrg STRIP=$ac_ct_STRIP 267163fbae1dSmrg fi 267263fbae1dSmrgelse 267363fbae1dSmrg STRIP="$ac_cv_prog_STRIP" 267463fbae1dSmrgfi 267563fbae1dSmrg 267663fbae1dSmrgfi 267763fbae1dSmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 267863fbae1dSmrg 2679fe605390Smrg 2680fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5 2681fe605390Smrgprintf %s "checking for a race-free mkdir -p... " >&6; } 268263fbae1dSmrgif test -z "$MKDIR_P"; then 2683fe605390Smrg if test ${ac_cv_path_mkdir+y} 2684fe605390Smrgthen : 2685fe605390Smrg printf %s "(cached) " >&6 2686fe605390Smrgelse $as_nop 268763fbae1dSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 268863fbae1dSmrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 268963fbae1dSmrgdo 269063fbae1dSmrg IFS=$as_save_IFS 2691fe605390Smrg case $as_dir in #((( 2692fe605390Smrg '') as_dir=./ ;; 2693fe605390Smrg */) ;; 2694fe605390Smrg *) as_dir=$as_dir/ ;; 2695fe605390Smrg esac 269663fbae1dSmrg for ac_prog in mkdir gmkdir; do 269763fbae1dSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2698fe605390Smrg as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue 2699fe605390Smrg case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #( 2700fe605390Smrg 'mkdir ('*'coreutils) '* | \ 2701fe605390Smrg 'BusyBox '* | \ 270263fbae1dSmrg 'mkdir (fileutils) '4.1*) 2703fe605390Smrg ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext 270463fbae1dSmrg break 3;; 270563fbae1dSmrg esac 270663fbae1dSmrg done 270763fbae1dSmrg done 270863fbae1dSmrg done 270963fbae1dSmrgIFS=$as_save_IFS 271063fbae1dSmrg 271163fbae1dSmrgfi 271263fbae1dSmrg 2713fe605390Smrg test -d ./--version && rmdir ./--version 2714fe605390Smrg if test ${ac_cv_path_mkdir+y}; then 271563fbae1dSmrg MKDIR_P="$ac_cv_path_mkdir -p" 271663fbae1dSmrg else 271763fbae1dSmrg # As a last resort, use the slow shell script. Don't cache a 271863fbae1dSmrg # value for MKDIR_P within a source directory, because that will 271963fbae1dSmrg # break other packages using the cache if that directory is 272063fbae1dSmrg # removed, or if the value is a relative name. 272163fbae1dSmrg MKDIR_P="$ac_install_sh -d" 272263fbae1dSmrg fi 272363fbae1dSmrgfi 2724fe605390Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2725fe605390Smrgprintf "%s\n" "$MKDIR_P" >&6; } 272663fbae1dSmrg 272763fbae1dSmrgfor ac_prog in gawk mawk nawk awk 272863fbae1dSmrgdo 272963fbae1dSmrg # Extract the first word of "$ac_prog", so it can be a program name with args. 273063fbae1dSmrgset dummy $ac_prog; ac_word=$2 2731fe605390Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2732fe605390Smrgprintf %s "checking for $ac_word... " >&6; } 2733fe605390Smrgif test ${ac_cv_prog_AWK+y} 2734fe605390Smrgthen : 2735fe605390Smrg printf %s "(cached) " >&6 2736fe605390Smrgelse $as_nop 273763fbae1dSmrg if test -n "$AWK"; then 273863fbae1dSmrg ac_cv_prog_AWK="$AWK" # Let the user override the test. 273963fbae1dSmrgelse 274063fbae1dSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 274163fbae1dSmrgfor as_dir in $PATH 274263fbae1dSmrgdo 274363fbae1dSmrg IFS=$as_save_IFS 2744fe605390Smrg case $as_dir in #((( 2745fe605390Smrg '') as_dir=./ ;; 2746fe605390Smrg */) ;; 2747fe605390Smrg *) as_dir=$as_dir/ ;; 2748fe605390Smrg esac 274963fbae1dSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2750fe605390Smrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 275163fbae1dSmrg ac_cv_prog_AWK="$ac_prog" 2752fe605390Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 275363fbae1dSmrg break 2 275463fbae1dSmrg fi 275563fbae1dSmrgdone 275663fbae1dSmrg done 275763fbae1dSmrgIFS=$as_save_IFS 275863fbae1dSmrg 275963fbae1dSmrgfi 276063fbae1dSmrgfi 276163fbae1dSmrgAWK=$ac_cv_prog_AWK 276263fbae1dSmrgif test -n "$AWK"; then 2763fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2764fe605390Smrgprintf "%s\n" "$AWK" >&6; } 276563fbae1dSmrgelse 2766fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2767fe605390Smrgprintf "%s\n" "no" >&6; } 276863fbae1dSmrgfi 276963fbae1dSmrg 277063fbae1dSmrg 277163fbae1dSmrg test -n "$AWK" && break 277263fbae1dSmrgdone 277363fbae1dSmrg 2774fe605390Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2775fe605390Smrgprintf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 277663fbae1dSmrgset x ${MAKE-make} 2777fe605390Smrgac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2778fe605390Smrgif eval test \${ac_cv_prog_make_${ac_make}_set+y} 2779fe605390Smrgthen : 2780fe605390Smrg printf %s "(cached) " >&6 2781fe605390Smrgelse $as_nop 278263fbae1dSmrg cat >conftest.make <<\_ACEOF 278363fbae1dSmrgSHELL = /bin/sh 278463fbae1dSmrgall: 278563fbae1dSmrg @echo '@@@%%%=$(MAKE)=@@@%%%' 278663fbae1dSmrg_ACEOF 2787fe605390Smrg# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 278863fbae1dSmrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in 278963fbae1dSmrg *@@@%%%=?*=@@@%%%*) 279063fbae1dSmrg eval ac_cv_prog_make_${ac_make}_set=yes;; 279163fbae1dSmrg *) 279263fbae1dSmrg eval ac_cv_prog_make_${ac_make}_set=no;; 279363fbae1dSmrgesac 279463fbae1dSmrgrm -f conftest.make 279563fbae1dSmrgfi 279663fbae1dSmrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2797fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2798fe605390Smrgprintf "%s\n" "yes" >&6; } 279963fbae1dSmrg SET_MAKE= 280063fbae1dSmrgelse 2801fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2802fe605390Smrgprintf "%s\n" "no" >&6; } 280363fbae1dSmrg SET_MAKE="MAKE=${MAKE-make}" 280463fbae1dSmrgfi 280563fbae1dSmrg 280663fbae1dSmrgrm -rf .tst 2>/dev/null 280763fbae1dSmrgmkdir .tst 2>/dev/null 280863fbae1dSmrgif test -d .tst; then 280963fbae1dSmrg am__leading_dot=. 281063fbae1dSmrgelse 281163fbae1dSmrg am__leading_dot=_ 281263fbae1dSmrgfi 281363fbae1dSmrgrmdir .tst 2>/dev/null 281463fbae1dSmrg 2815fe605390Smrg# Check whether --enable-silent-rules was given. 2816fe605390Smrgif test ${enable_silent_rules+y} 2817fe605390Smrgthen : 2818fe605390Smrg enableval=$enable_silent_rules; 2819fe605390Smrgfi 2820fe605390Smrg 2821fe605390Smrgcase $enable_silent_rules in # ((( 2822fe605390Smrg yes) AM_DEFAULT_VERBOSITY=0;; 2823fe605390Smrg no) AM_DEFAULT_VERBOSITY=1;; 2824fe605390Smrg *) AM_DEFAULT_VERBOSITY=1;; 2825fe605390Smrgesac 2826fe605390Smrgam_make=${MAKE-make} 2827fe605390Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2828fe605390Smrgprintf %s "checking whether $am_make supports nested variables... " >&6; } 2829fe605390Smrgif test ${am_cv_make_support_nested_variables+y} 2830fe605390Smrgthen : 2831fe605390Smrg printf %s "(cached) " >&6 2832fe605390Smrgelse $as_nop 2833fe605390Smrg if printf "%s\n" 'TRUE=$(BAR$(V)) 2834fe605390SmrgBAR0=false 2835fe605390SmrgBAR1=true 2836fe605390SmrgV=1 2837fe605390Smrgam__doit: 2838fe605390Smrg @$(TRUE) 2839fe605390Smrg.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2840fe605390Smrg am_cv_make_support_nested_variables=yes 2841fe605390Smrgelse 2842fe605390Smrg am_cv_make_support_nested_variables=no 2843fe605390Smrgfi 2844fe605390Smrgfi 2845fe605390Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2846fe605390Smrgprintf "%s\n" "$am_cv_make_support_nested_variables" >&6; } 2847fe605390Smrgif test $am_cv_make_support_nested_variables = yes; then 2848fe605390Smrg AM_V='$(V)' 2849fe605390Smrg AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2850fe605390Smrgelse 2851fe605390Smrg AM_V=$AM_DEFAULT_VERBOSITY 2852fe605390Smrg AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2853fe605390Smrgfi 2854fe605390SmrgAM_BACKSLASH='\' 2855fe605390Smrg 285663fbae1dSmrgif test "`cd $srcdir && pwd`" != "`pwd`"; then 285763fbae1dSmrg # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 285863fbae1dSmrg # is not polluted with repeated "-I." 285963fbae1dSmrg am__isrc=' -I$(srcdir)' 286063fbae1dSmrg # test to see if srcdir already configured 286163fbae1dSmrg if test -f $srcdir/config.status; then 2862fe605390Smrg as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 286363fbae1dSmrg fi 286420d725fbSmrgfi 286520d725fbSmrg 286620d725fbSmrg# test whether we have cygpath 286720d725fbSmrgif test -z "$CYGPATH_W"; then 286820d725fbSmrg if (cygpath --version) >/dev/null 2>/dev/null; then 286920d725fbSmrg CYGPATH_W='cygpath -w' 287020d725fbSmrg else 287120d725fbSmrg CYGPATH_W=echo 287220d725fbSmrg fi 287320d725fbSmrgfi 287420d725fbSmrg 287520d725fbSmrg 287620d725fbSmrg# Define the identity of the package. 287720d725fbSmrg PACKAGE='libpthread-stubs' 2878fe605390Smrg VERSION='0.5' 287920d725fbSmrg 288020d725fbSmrg 2881fe605390Smrgprintf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h 288220d725fbSmrg 288320d725fbSmrg 2884fe605390Smrgprintf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h 288520d725fbSmrg 288620d725fbSmrg# Some tools Automake needs. 288720d725fbSmrg 288820d725fbSmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 288920d725fbSmrg 289020d725fbSmrg 289120d725fbSmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 289220d725fbSmrg 289320d725fbSmrg 289420d725fbSmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 289520d725fbSmrg 289620d725fbSmrg 289720d725fbSmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 289820d725fbSmrg 289920d725fbSmrg 290020d725fbSmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 290120d725fbSmrg 2902fe605390Smrg# For better backward compatibility. To be removed once Automake 1.9.x 2903fe605390Smrg# dies out for good. For more background, see: 2904fe605390Smrg# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2905fe605390Smrg# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2906fe605390Smrgmkdir_p='$(MKDIR_P)' 2907fe605390Smrg 2908fe605390Smrg# We need awk for the "check" target (and possibly the TAP driver). The 2909fe605390Smrg# system "awk" is bad on some platforms. 2910fe605390Smrg# Always define AMTAR for backward compatibility. Yes, it's still used 2911fe605390Smrg# in the wild :-( We should find a proper way to deprecate it ... 2912fe605390SmrgAMTAR='$${TAR-tar}' 291320d725fbSmrg 291420d725fbSmrg 2915fe605390Smrg# We'll loop over all known methods to create a tar archive until one works. 2916fe605390Smrg_am_tools='gnutar pax cpio none' 291720d725fbSmrg 2918fe605390Smrgam__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 291920d725fbSmrg 292020d725fbSmrg 292120d725fbSmrg 292220d725fbSmrg 292320d725fbSmrg 2924fe605390Smrg# Variables for tags utilities; see am/tags.am 2925fe605390Smrgif test -z "$CTAGS"; then 2926fe605390Smrg CTAGS=ctags 2927fe605390Smrgfi 292820d725fbSmrg 2929fe605390Smrgif test -z "$ETAGS"; then 2930fe605390Smrg ETAGS=etags 2931fe605390Smrgfi 293220d725fbSmrg 2933fe605390Smrgif test -z "$CSCOPE"; then 2934fe605390Smrg CSCOPE=cscope 2935fe605390Smrgfi 293620d725fbSmrg 293720d725fbSmrg 293820d725fbSmrg 2939fe605390Smrg# POSIX will say in a future version that running "rm -f" with no argument 2940fe605390Smrg# is OK; and we want to be able to make that assumption in our Makefile 2941fe605390Smrg# recipes. So use an aggressive probe to check that the usage we want is 2942fe605390Smrg# actually supported "in the wild" to an acceptable degree. 2943fe605390Smrg# See automake bug#10828. 2944fe605390Smrg# To make any issue more visible, cause the running configure to be aborted 2945fe605390Smrg# by default if the 'rm' program in use doesn't match our expectations; the 2946fe605390Smrg# user can still override this though. 2947fe605390Smrgif rm -f && rm -fr && rm -rf; then : OK; else 2948fe605390Smrg cat >&2 <<'END' 2949fe605390SmrgOops! 295020d725fbSmrg 2951fe605390SmrgYour 'rm' program seems unable to run without file operands specified 2952fe605390Smrgon the command line, even when the '-f' option is present. This is contrary 2953fe605390Smrgto the behaviour of most rm programs out there, and not conforming with 2954fe605390Smrgthe upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 295520d725fbSmrg 2956fe605390SmrgPlease tell bug-automake@gnu.org about your system, including the value 2957fe605390Smrgof your $PATH and any error possibly output before this message. This 2958fe605390Smrgcan help us improve future automake versions. 295920d725fbSmrg 2960fe605390SmrgEND 2961fe605390Smrg if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 2962fe605390Smrg echo 'Configuration will proceed anyway, since you have set the' >&2 2963fe605390Smrg echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 2964fe605390Smrg echo >&2 2965fe605390Smrg else 2966fe605390Smrg cat >&2 <<'END' 2967fe605390SmrgAborting the configuration process, to ensure you take notice of the issue. 296820d725fbSmrg 2969fe605390SmrgYou can download and install GNU coreutils to get an 'rm' implementation 2970fe605390Smrgthat behaves properly: <https://www.gnu.org/software/coreutils/>. 297120d725fbSmrg 2972fe605390SmrgIf you want to complete the configuration process using your problematic 2973fe605390Smrg'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 2974fe605390Smrgto "yes", and re-run configure. 297520d725fbSmrg 2976fe605390SmrgEND 2977fe605390Smrg as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 2978fe605390Smrg fi 2979fe605390Smrgfi 298020d725fbSmrg 298120d725fbSmrg 2982fe605390Smrgfunclist="\ 2983fe605390Smrgpthread_condattr_destroy \ 2984fe605390Smrgpthread_condattr_init \ 2985fe605390Smrgpthread_cond_broadcast \ 2986fe605390Smrgpthread_cond_destroy \ 2987fe605390Smrgpthread_cond_init \ 2988fe605390Smrgpthread_cond_signal \ 2989fe605390Smrgpthread_cond_timedwait \ 2990fe605390Smrgpthread_cond_wait \ 2991fe605390Smrgpthread_equal \ 2992fe605390Smrgpthread_exit \ 2993fe605390Smrgpthread_mutex_destroy \ 2994fe605390Smrgpthread_mutex_init \ 2995fe605390Smrgpthread_mutex_lock \ 2996fe605390Smrgpthread_mutex_unlock \ 2997fe605390Smrgpthread_self" 299820d725fbSmrg 299920d725fbSmrg 300020d725fbSmrg 300163fbae1dSmrg 300263fbae1dSmrg 300363fbae1dSmrg 300420d725fbSmrg 300520d725fbSmrg 300620d725fbSmrg 300720d725fbSmrg 300820d725fbSmrgDEPDIR="${am__leading_dot}deps" 300920d725fbSmrg 301020d725fbSmrgac_config_commands="$ac_config_commands depfiles" 301120d725fbSmrg 3012fe605390Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 3013fe605390Smrgprintf %s "checking whether ${MAKE-make} supports the include directive... " >&6; } 3014fe605390Smrgcat > confinc.mk << 'END' 301520d725fbSmrgam__doit: 3016fe605390Smrg @echo this is the am__doit target >confinc.out 301720d725fbSmrg.PHONY: am__doit 301820d725fbSmrgEND 301920d725fbSmrgam__include="#" 302020d725fbSmrgam__quote= 3021fe605390Smrg# BSD make does it like this. 3022fe605390Smrgecho '.include "confinc.mk" # ignored' > confmf.BSD 3023fe605390Smrg# Other make implementations (GNU, Solaris 10, AIX) do it like this. 3024fe605390Smrgecho 'include confinc.mk # ignored' > confmf.GNU 3025fe605390Smrg_am_result=no 3026fe605390Smrgfor s in GNU BSD; do 3027fe605390Smrg { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 3028fe605390Smrg (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 3029fe605390Smrg ac_status=$? 3030fe605390Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 3031fe605390Smrg (exit $ac_status); } 3032fe605390Smrg case $?:`cat confinc.out 2>/dev/null` in #( 3033fe605390Smrg '0:this is the am__doit target') : 3034fe605390Smrg case $s in #( 3035fe605390Smrg BSD) : 3036fe605390Smrg am__include='.include' am__quote='"' ;; #( 3037fe605390Smrg *) : 3038fe605390Smrg am__include='include' am__quote='' ;; 3039fe605390Smrgesac ;; #( 3040fe605390Smrg *) : 304163fbae1dSmrg ;; 3042fe605390Smrgesac 3043fe605390Smrg if test "$am__include" != "#"; then 3044fe605390Smrg _am_result="yes ($s style)" 3045fe605390Smrg break 3046fe605390Smrg fi 3047fe605390Smrgdone 3048fe605390Smrgrm -f confinc.* confmf.* 3049fe605390Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 3050fe605390Smrgprintf "%s\n" "${_am_result}" >&6; } 305120d725fbSmrg 305220d725fbSmrg# Check whether --enable-dependency-tracking was given. 3053fe605390Smrgif test ${enable_dependency_tracking+y} 3054fe605390Smrgthen : 305520d725fbSmrg enableval=$enable_dependency_tracking; 305620d725fbSmrgfi 305720d725fbSmrg 305820d725fbSmrgif test "x$enable_dependency_tracking" != xno; then 305920d725fbSmrg am_depcomp="$ac_aux_dir/depcomp" 306020d725fbSmrg AMDEPBACKSLASH='\' 3061fe605390Smrg am__nodep='_no' 306220d725fbSmrgfi 306363fbae1dSmrg if test "x$enable_dependency_tracking" != xno; then 306420d725fbSmrg AMDEP_TRUE= 306520d725fbSmrg AMDEP_FALSE='#' 306620d725fbSmrgelse 306720d725fbSmrg AMDEP_TRUE='#' 306820d725fbSmrg AMDEP_FALSE= 306920d725fbSmrgfi 307020d725fbSmrg 307120d725fbSmrg 307220d725fbSmrgac_ext=c 307320d725fbSmrgac_cpp='$CPP $CPPFLAGS' 307420d725fbSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 307520d725fbSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 307620d725fbSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 307720d725fbSmrgif test -n "$ac_tool_prefix"; then 307820d725fbSmrg # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 307920d725fbSmrgset dummy ${ac_tool_prefix}gcc; ac_word=$2 3080fe605390Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3081fe605390Smrgprintf %s "checking for $ac_word... " >&6; } 3082fe605390Smrgif test ${ac_cv_prog_CC+y} 3083fe605390Smrgthen : 3084fe605390Smrg printf %s "(cached) " >&6 3085fe605390Smrgelse $as_nop 308620d725fbSmrg if test -n "$CC"; then 308720d725fbSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 308820d725fbSmrgelse 308920d725fbSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 309020d725fbSmrgfor as_dir in $PATH 309120d725fbSmrgdo 309220d725fbSmrg IFS=$as_save_IFS 3093fe605390Smrg case $as_dir in #((( 3094fe605390Smrg '') as_dir=./ ;; 3095fe605390Smrg */) ;; 3096fe605390Smrg *) as_dir=$as_dir/ ;; 3097fe605390Smrg esac 309863fbae1dSmrg for ac_exec_ext in '' $ac_executable_extensions; do 3099fe605390Smrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 310020d725fbSmrg ac_cv_prog_CC="${ac_tool_prefix}gcc" 3101fe605390Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 310220d725fbSmrg break 2 310320d725fbSmrg fi 310420d725fbSmrgdone 310563fbae1dSmrg done 310620d725fbSmrgIFS=$as_save_IFS 310720d725fbSmrg 310820d725fbSmrgfi 310920d725fbSmrgfi 311020d725fbSmrgCC=$ac_cv_prog_CC 311120d725fbSmrgif test -n "$CC"; then 3112fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3113fe605390Smrgprintf "%s\n" "$CC" >&6; } 311420d725fbSmrgelse 3115fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3116fe605390Smrgprintf "%s\n" "no" >&6; } 311720d725fbSmrgfi 311820d725fbSmrg 311920d725fbSmrg 312020d725fbSmrgfi 312120d725fbSmrgif test -z "$ac_cv_prog_CC"; then 312220d725fbSmrg ac_ct_CC=$CC 312320d725fbSmrg # Extract the first word of "gcc", so it can be a program name with args. 312420d725fbSmrgset dummy gcc; ac_word=$2 3125fe605390Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3126fe605390Smrgprintf %s "checking for $ac_word... " >&6; } 3127fe605390Smrgif test ${ac_cv_prog_ac_ct_CC+y} 3128fe605390Smrgthen : 3129fe605390Smrg printf %s "(cached) " >&6 3130fe605390Smrgelse $as_nop 313120d725fbSmrg if test -n "$ac_ct_CC"; then 313220d725fbSmrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 313320d725fbSmrgelse 313420d725fbSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 313520d725fbSmrgfor as_dir in $PATH 313620d725fbSmrgdo 313720d725fbSmrg IFS=$as_save_IFS 3138fe605390Smrg case $as_dir in #((( 3139fe605390Smrg '') as_dir=./ ;; 3140fe605390Smrg */) ;; 3141fe605390Smrg *) as_dir=$as_dir/ ;; 3142fe605390Smrg esac 314363fbae1dSmrg for ac_exec_ext in '' $ac_executable_extensions; do 3144fe605390Smrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 314520d725fbSmrg ac_cv_prog_ac_ct_CC="gcc" 3146fe605390Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 314720d725fbSmrg break 2 314820d725fbSmrg fi 314920d725fbSmrgdone 315063fbae1dSmrg done 315120d725fbSmrgIFS=$as_save_IFS 315220d725fbSmrg 315320d725fbSmrgfi 315420d725fbSmrgfi 315520d725fbSmrgac_ct_CC=$ac_cv_prog_ac_ct_CC 315620d725fbSmrgif test -n "$ac_ct_CC"; then 3157fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3158fe605390Smrgprintf "%s\n" "$ac_ct_CC" >&6; } 315920d725fbSmrgelse 3160fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3161fe605390Smrgprintf "%s\n" "no" >&6; } 316220d725fbSmrgfi 316320d725fbSmrg 316420d725fbSmrg if test "x$ac_ct_CC" = x; then 316520d725fbSmrg CC="" 316620d725fbSmrg else 316720d725fbSmrg case $cross_compiling:$ac_tool_warned in 316820d725fbSmrgyes:) 3169fe605390Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3170fe605390Smrgprintf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 317120d725fbSmrgac_tool_warned=yes ;; 317220d725fbSmrgesac 317320d725fbSmrg CC=$ac_ct_CC 317420d725fbSmrg fi 317520d725fbSmrgelse 317620d725fbSmrg CC="$ac_cv_prog_CC" 317720d725fbSmrgfi 317820d725fbSmrg 317920d725fbSmrgif test -z "$CC"; then 318020d725fbSmrg if test -n "$ac_tool_prefix"; then 318120d725fbSmrg # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 318220d725fbSmrgset dummy ${ac_tool_prefix}cc; ac_word=$2 3183fe605390Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3184fe605390Smrgprintf %s "checking for $ac_word... " >&6; } 3185fe605390Smrgif test ${ac_cv_prog_CC+y} 3186fe605390Smrgthen : 3187fe605390Smrg printf %s "(cached) " >&6 3188fe605390Smrgelse $as_nop 318920d725fbSmrg if test -n "$CC"; then 319020d725fbSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 319120d725fbSmrgelse 319220d725fbSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 319320d725fbSmrgfor as_dir in $PATH 319420d725fbSmrgdo 319520d725fbSmrg IFS=$as_save_IFS 3196fe605390Smrg case $as_dir in #((( 3197fe605390Smrg '') as_dir=./ ;; 3198fe605390Smrg */) ;; 3199fe605390Smrg *) as_dir=$as_dir/ ;; 3200fe605390Smrg esac 320163fbae1dSmrg for ac_exec_ext in '' $ac_executable_extensions; do 3202fe605390Smrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 320320d725fbSmrg ac_cv_prog_CC="${ac_tool_prefix}cc" 3204fe605390Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 320520d725fbSmrg break 2 320620d725fbSmrg fi 320720d725fbSmrgdone 320863fbae1dSmrg done 320920d725fbSmrgIFS=$as_save_IFS 321020d725fbSmrg 321120d725fbSmrgfi 321220d725fbSmrgfi 321320d725fbSmrgCC=$ac_cv_prog_CC 321420d725fbSmrgif test -n "$CC"; then 3215fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3216fe605390Smrgprintf "%s\n" "$CC" >&6; } 321720d725fbSmrgelse 3218fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3219fe605390Smrgprintf "%s\n" "no" >&6; } 322020d725fbSmrgfi 322120d725fbSmrg 322220d725fbSmrg 322320d725fbSmrg fi 322420d725fbSmrgfi 322520d725fbSmrgif test -z "$CC"; then 322620d725fbSmrg # Extract the first word of "cc", so it can be a program name with args. 322720d725fbSmrgset dummy cc; ac_word=$2 3228fe605390Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3229fe605390Smrgprintf %s "checking for $ac_word... " >&6; } 3230fe605390Smrgif test ${ac_cv_prog_CC+y} 3231fe605390Smrgthen : 3232fe605390Smrg printf %s "(cached) " >&6 3233fe605390Smrgelse $as_nop 323420d725fbSmrg if test -n "$CC"; then 323520d725fbSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 323620d725fbSmrgelse 323720d725fbSmrg ac_prog_rejected=no 323820d725fbSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 323920d725fbSmrgfor as_dir in $PATH 324020d725fbSmrgdo 324120d725fbSmrg IFS=$as_save_IFS 3242fe605390Smrg case $as_dir in #((( 3243fe605390Smrg '') as_dir=./ ;; 3244fe605390Smrg */) ;; 3245fe605390Smrg *) as_dir=$as_dir/ ;; 3246fe605390Smrg esac 324763fbae1dSmrg for ac_exec_ext in '' $ac_executable_extensions; do 3248fe605390Smrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3249fe605390Smrg if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 325020d725fbSmrg ac_prog_rejected=yes 325120d725fbSmrg continue 325220d725fbSmrg fi 325320d725fbSmrg ac_cv_prog_CC="cc" 3254fe605390Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 325520d725fbSmrg break 2 325620d725fbSmrg fi 325720d725fbSmrgdone 325863fbae1dSmrg done 325920d725fbSmrgIFS=$as_save_IFS 326020d725fbSmrg 326120d725fbSmrgif test $ac_prog_rejected = yes; then 326220d725fbSmrg # We found a bogon in the path, so make sure we never use it. 326320d725fbSmrg set dummy $ac_cv_prog_CC 326420d725fbSmrg shift 326520d725fbSmrg if test $# != 0; then 326620d725fbSmrg # We chose a different compiler from the bogus one. 326720d725fbSmrg # However, it has the same basename, so the bogon will be chosen 326820d725fbSmrg # first if we set CC to just the basename; use the full file name. 326920d725fbSmrg shift 3270fe605390Smrg ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@" 327120d725fbSmrg fi 327220d725fbSmrgfi 327320d725fbSmrgfi 327420d725fbSmrgfi 327520d725fbSmrgCC=$ac_cv_prog_CC 327620d725fbSmrgif test -n "$CC"; then 3277fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3278fe605390Smrgprintf "%s\n" "$CC" >&6; } 327920d725fbSmrgelse 3280fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3281fe605390Smrgprintf "%s\n" "no" >&6; } 328220d725fbSmrgfi 328320d725fbSmrg 328420d725fbSmrg 328520d725fbSmrgfi 328620d725fbSmrgif test -z "$CC"; then 328720d725fbSmrg if test -n "$ac_tool_prefix"; then 328820d725fbSmrg for ac_prog in cl.exe 328920d725fbSmrg do 329020d725fbSmrg # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 329120d725fbSmrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2 3292fe605390Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3293fe605390Smrgprintf %s "checking for $ac_word... " >&6; } 3294fe605390Smrgif test ${ac_cv_prog_CC+y} 3295fe605390Smrgthen : 3296fe605390Smrg printf %s "(cached) " >&6 3297fe605390Smrgelse $as_nop 329820d725fbSmrg if test -n "$CC"; then 329920d725fbSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 330020d725fbSmrgelse 330120d725fbSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 330220d725fbSmrgfor as_dir in $PATH 330320d725fbSmrgdo 330420d725fbSmrg IFS=$as_save_IFS 3305fe605390Smrg case $as_dir in #((( 3306fe605390Smrg '') as_dir=./ ;; 3307fe605390Smrg */) ;; 3308fe605390Smrg *) as_dir=$as_dir/ ;; 3309fe605390Smrg esac 331063fbae1dSmrg for ac_exec_ext in '' $ac_executable_extensions; do 3311fe605390Smrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 331220d725fbSmrg ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3313fe605390Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 331420d725fbSmrg break 2 331520d725fbSmrg fi 331620d725fbSmrgdone 331763fbae1dSmrg done 331820d725fbSmrgIFS=$as_save_IFS 331920d725fbSmrg 332020d725fbSmrgfi 332120d725fbSmrgfi 332220d725fbSmrgCC=$ac_cv_prog_CC 332320d725fbSmrgif test -n "$CC"; then 3324fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3325fe605390Smrgprintf "%s\n" "$CC" >&6; } 332620d725fbSmrgelse 3327fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3328fe605390Smrgprintf "%s\n" "no" >&6; } 332920d725fbSmrgfi 333020d725fbSmrg 333120d725fbSmrg 333220d725fbSmrg test -n "$CC" && break 333320d725fbSmrg done 333420d725fbSmrgfi 333520d725fbSmrgif test -z "$CC"; then 333620d725fbSmrg ac_ct_CC=$CC 333720d725fbSmrg for ac_prog in cl.exe 333820d725fbSmrgdo 333920d725fbSmrg # Extract the first word of "$ac_prog", so it can be a program name with args. 334020d725fbSmrgset dummy $ac_prog; ac_word=$2 3341fe605390Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3342fe605390Smrgprintf %s "checking for $ac_word... " >&6; } 3343fe605390Smrgif test ${ac_cv_prog_ac_ct_CC+y} 3344fe605390Smrgthen : 3345fe605390Smrg printf %s "(cached) " >&6 3346fe605390Smrgelse $as_nop 334720d725fbSmrg if test -n "$ac_ct_CC"; then 334820d725fbSmrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 334920d725fbSmrgelse 335020d725fbSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 335120d725fbSmrgfor as_dir in $PATH 335220d725fbSmrgdo 335320d725fbSmrg IFS=$as_save_IFS 3354fe605390Smrg case $as_dir in #((( 3355fe605390Smrg '') as_dir=./ ;; 3356fe605390Smrg */) ;; 3357fe605390Smrg *) as_dir=$as_dir/ ;; 3358fe605390Smrg esac 335963fbae1dSmrg for ac_exec_ext in '' $ac_executable_extensions; do 3360fe605390Smrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 336120d725fbSmrg ac_cv_prog_ac_ct_CC="$ac_prog" 3362fe605390Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 336320d725fbSmrg break 2 336420d725fbSmrg fi 336520d725fbSmrgdone 336663fbae1dSmrg done 336720d725fbSmrgIFS=$as_save_IFS 336820d725fbSmrg 336920d725fbSmrgfi 337020d725fbSmrgfi 337120d725fbSmrgac_ct_CC=$ac_cv_prog_ac_ct_CC 337220d725fbSmrgif test -n "$ac_ct_CC"; then 3373fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3374fe605390Smrgprintf "%s\n" "$ac_ct_CC" >&6; } 337520d725fbSmrgelse 3376fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3377fe605390Smrgprintf "%s\n" "no" >&6; } 337820d725fbSmrgfi 337920d725fbSmrg 338020d725fbSmrg 338120d725fbSmrg test -n "$ac_ct_CC" && break 338220d725fbSmrgdone 338320d725fbSmrg 338420d725fbSmrg if test "x$ac_ct_CC" = x; then 338520d725fbSmrg CC="" 338620d725fbSmrg else 338720d725fbSmrg case $cross_compiling:$ac_tool_warned in 338820d725fbSmrgyes:) 3389fe605390Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3390fe605390Smrgprintf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3391fe605390Smrgac_tool_warned=yes ;; 3392fe605390Smrgesac 3393fe605390Smrg CC=$ac_ct_CC 3394fe605390Smrg fi 3395fe605390Smrgfi 3396fe605390Smrg 3397fe605390Smrgfi 3398fe605390Smrgif test -z "$CC"; then 3399fe605390Smrg if test -n "$ac_tool_prefix"; then 3400fe605390Smrg # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args. 3401fe605390Smrgset dummy ${ac_tool_prefix}clang; ac_word=$2 3402fe605390Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3403fe605390Smrgprintf %s "checking for $ac_word... " >&6; } 3404fe605390Smrgif test ${ac_cv_prog_CC+y} 3405fe605390Smrgthen : 3406fe605390Smrg printf %s "(cached) " >&6 3407fe605390Smrgelse $as_nop 3408fe605390Smrg if test -n "$CC"; then 3409fe605390Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 3410fe605390Smrgelse 3411fe605390Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3412fe605390Smrgfor as_dir in $PATH 3413fe605390Smrgdo 3414fe605390Smrg IFS=$as_save_IFS 3415fe605390Smrg case $as_dir in #((( 3416fe605390Smrg '') as_dir=./ ;; 3417fe605390Smrg */) ;; 3418fe605390Smrg *) as_dir=$as_dir/ ;; 3419fe605390Smrg esac 3420fe605390Smrg for ac_exec_ext in '' $ac_executable_extensions; do 3421fe605390Smrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3422fe605390Smrg ac_cv_prog_CC="${ac_tool_prefix}clang" 3423fe605390Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3424fe605390Smrg break 2 3425fe605390Smrg fi 3426fe605390Smrgdone 3427fe605390Smrg done 3428fe605390SmrgIFS=$as_save_IFS 3429fe605390Smrg 3430fe605390Smrgfi 3431fe605390Smrgfi 3432fe605390SmrgCC=$ac_cv_prog_CC 3433fe605390Smrgif test -n "$CC"; then 3434fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3435fe605390Smrgprintf "%s\n" "$CC" >&6; } 3436fe605390Smrgelse 3437fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3438fe605390Smrgprintf "%s\n" "no" >&6; } 3439fe605390Smrgfi 3440fe605390Smrg 3441fe605390Smrg 3442fe605390Smrgfi 3443fe605390Smrgif test -z "$ac_cv_prog_CC"; then 3444fe605390Smrg ac_ct_CC=$CC 3445fe605390Smrg # Extract the first word of "clang", so it can be a program name with args. 3446fe605390Smrgset dummy clang; ac_word=$2 3447fe605390Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3448fe605390Smrgprintf %s "checking for $ac_word... " >&6; } 3449fe605390Smrgif test ${ac_cv_prog_ac_ct_CC+y} 3450fe605390Smrgthen : 3451fe605390Smrg printf %s "(cached) " >&6 3452fe605390Smrgelse $as_nop 3453fe605390Smrg if test -n "$ac_ct_CC"; then 3454fe605390Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3455fe605390Smrgelse 3456fe605390Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3457fe605390Smrgfor as_dir in $PATH 3458fe605390Smrgdo 3459fe605390Smrg IFS=$as_save_IFS 3460fe605390Smrg case $as_dir in #((( 3461fe605390Smrg '') as_dir=./ ;; 3462fe605390Smrg */) ;; 3463fe605390Smrg *) as_dir=$as_dir/ ;; 3464fe605390Smrg esac 3465fe605390Smrg for ac_exec_ext in '' $ac_executable_extensions; do 3466fe605390Smrg if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3467fe605390Smrg ac_cv_prog_ac_ct_CC="clang" 3468fe605390Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3469fe605390Smrg break 2 3470fe605390Smrg fi 3471fe605390Smrgdone 3472fe605390Smrg done 3473fe605390SmrgIFS=$as_save_IFS 3474fe605390Smrg 3475fe605390Smrgfi 3476fe605390Smrgfi 3477fe605390Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 3478fe605390Smrgif test -n "$ac_ct_CC"; then 3479fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3480fe605390Smrgprintf "%s\n" "$ac_ct_CC" >&6; } 3481fe605390Smrgelse 3482fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3483fe605390Smrgprintf "%s\n" "no" >&6; } 3484fe605390Smrgfi 3485fe605390Smrg 3486fe605390Smrg if test "x$ac_ct_CC" = x; then 3487fe605390Smrg CC="" 3488fe605390Smrg else 3489fe605390Smrg case $cross_compiling:$ac_tool_warned in 3490fe605390Smrgyes:) 3491fe605390Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3492fe605390Smrgprintf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 349320d725fbSmrgac_tool_warned=yes ;; 349420d725fbSmrgesac 349520d725fbSmrg CC=$ac_ct_CC 349620d725fbSmrg fi 3497fe605390Smrgelse 3498fe605390Smrg CC="$ac_cv_prog_CC" 349920d725fbSmrgfi 350020d725fbSmrg 350120d725fbSmrgfi 350220d725fbSmrg 350320d725fbSmrg 3504fe605390Smrgtest -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3505fe605390Smrgprintf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 3506fe605390Smrgas_fn_error $? "no acceptable C compiler found in \$PATH 3507fe605390SmrgSee \`config.log' for more details" "$LINENO" 5; } 350820d725fbSmrg 350920d725fbSmrg# Provide some information about the compiler. 3510fe605390Smrgprintf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 351163fbae1dSmrgset X $ac_compile 351263fbae1dSmrgac_compiler=$2 3513fe605390Smrgfor ac_option in --version -v -V -qversion -version; do 351463fbae1dSmrg { { ac_try="$ac_compiler $ac_option >&5" 351520d725fbSmrgcase "(($ac_try" in 351620d725fbSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 351720d725fbSmrg *) ac_try_echo=$ac_try;; 351820d725fbSmrgesac 351963fbae1dSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3520fe605390Smrgprintf "%s\n" "$ac_try_echo"; } >&5 352163fbae1dSmrg (eval "$ac_compiler $ac_option >&5") 2>conftest.err 352220d725fbSmrg ac_status=$? 352363fbae1dSmrg if test -s conftest.err; then 352463fbae1dSmrg sed '10a\ 352563fbae1dSmrg... rest of stderr output deleted ... 352663fbae1dSmrg 10q' conftest.err >conftest.er1 352763fbae1dSmrg cat conftest.er1 >&5 352863fbae1dSmrg fi 3529fe605390Smrg rm -f conftest.er1 conftest.err 3530fe605390Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 353163fbae1dSmrg test $ac_status = 0; } 353263fbae1dSmrgdone 353320d725fbSmrg 353463fbae1dSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 353520d725fbSmrg/* end confdefs.h. */ 3536fe605390Smrg 353720d725fbSmrgint 3538fe605390Smrgmain (void) 353920d725fbSmrg{ 354020d725fbSmrg 354120d725fbSmrg ; 354220d725fbSmrg return 0; 354320d725fbSmrg} 354420d725fbSmrg_ACEOF 354520d725fbSmrgac_clean_files_save=$ac_clean_files 3546fe605390Smrgac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 354720d725fbSmrg# Try to create an executable without -o first, disregard a.out. 354820d725fbSmrg# It will help us diagnose broken compilers, and finding out an intuition 354920d725fbSmrg# of exeext. 3550fe605390Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3551fe605390Smrgprintf %s "checking whether the C compiler works... " >&6; } 3552fe605390Smrgac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 355363fbae1dSmrg 355463fbae1dSmrg# The possible output files: 355563fbae1dSmrgac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 355663fbae1dSmrg 355720d725fbSmrgac_rmfiles= 355820d725fbSmrgfor ac_file in $ac_files 355920d725fbSmrgdo 356020d725fbSmrg case $ac_file in 356163fbae1dSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 356220d725fbSmrg * ) ac_rmfiles="$ac_rmfiles $ac_file";; 356320d725fbSmrg esac 356420d725fbSmrgdone 356520d725fbSmrgrm -f $ac_rmfiles 356620d725fbSmrg 356763fbae1dSmrgif { { ac_try="$ac_link_default" 356820d725fbSmrgcase "(($ac_try" in 356920d725fbSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 357020d725fbSmrg *) ac_try_echo=$ac_try;; 357120d725fbSmrgesac 357263fbae1dSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3573fe605390Smrgprintf "%s\n" "$ac_try_echo"; } >&5 357420d725fbSmrg (eval "$ac_link_default") 2>&5 357520d725fbSmrg ac_status=$? 3576fe605390Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3577fe605390Smrg test $ac_status = 0; } 3578fe605390Smrgthen : 357920d725fbSmrg # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 358020d725fbSmrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 358120d725fbSmrg# in a Makefile. We should not override ac_cv_exeext if it was cached, 358220d725fbSmrg# so that the user can short-circuit this test for compilers unknown to 358320d725fbSmrg# Autoconf. 358420d725fbSmrgfor ac_file in $ac_files '' 358520d725fbSmrgdo 358620d725fbSmrg test -f "$ac_file" || continue 358720d725fbSmrg case $ac_file in 358863fbae1dSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 358920d725fbSmrg ;; 359020d725fbSmrg [ab].out ) 359120d725fbSmrg # We found the default executable, but exeext='' is most 359220d725fbSmrg # certainly right. 359320d725fbSmrg break;; 359420d725fbSmrg *.* ) 3595fe605390Smrg if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no; 359620d725fbSmrg then :; else 359720d725fbSmrg ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 359820d725fbSmrg fi 359920d725fbSmrg # We set ac_cv_exeext here because the later test for it is not 360020d725fbSmrg # safe: cross compilers may not add the suffix if given an `-o' 360120d725fbSmrg # argument, so we may need to know it at that point already. 360220d725fbSmrg # Even if this section looks crufty: it has the advantage of 360320d725fbSmrg # actually working. 360420d725fbSmrg break;; 360520d725fbSmrg * ) 360620d725fbSmrg break;; 360720d725fbSmrg esac 360820d725fbSmrgdone 360920d725fbSmrgtest "$ac_cv_exeext" = no && ac_cv_exeext= 361020d725fbSmrg 3611fe605390Smrgelse $as_nop 361220d725fbSmrg ac_file='' 361320d725fbSmrgfi 3614fe605390Smrgif test -z "$ac_file" 3615fe605390Smrgthen : 3616fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3617fe605390Smrgprintf "%s\n" "no" >&6; } 3618fe605390Smrgprintf "%s\n" "$as_me: failed program was:" >&5 361920d725fbSmrgsed 's/^/| /' conftest.$ac_ext >&5 362020d725fbSmrg 3621fe605390Smrg{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3622fe605390Smrgprintf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 3623fe605390Smrgas_fn_error 77 "C compiler cannot create executables 3624fe605390SmrgSee \`config.log' for more details" "$LINENO" 5; } 3625fe605390Smrgelse $as_nop 3626fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3627fe605390Smrgprintf "%s\n" "yes" >&6; } 3628fe605390Smrgfi 3629fe605390Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3630fe605390Smrgprintf %s "checking for C compiler default output file name... " >&6; } 3631fe605390Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3632fe605390Smrgprintf "%s\n" "$ac_file" >&6; } 363320d725fbSmrgac_exeext=$ac_cv_exeext 363420d725fbSmrg 3635fe605390Smrgrm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 363620d725fbSmrgac_clean_files=$ac_clean_files_save 3637fe605390Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3638fe605390Smrgprintf %s "checking for suffix of executables... " >&6; } 363963fbae1dSmrgif { { ac_try="$ac_link" 364020d725fbSmrgcase "(($ac_try" in 364120d725fbSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 364220d725fbSmrg *) ac_try_echo=$ac_try;; 364320d725fbSmrgesac 364463fbae1dSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3645fe605390Smrgprintf "%s\n" "$ac_try_echo"; } >&5 364620d725fbSmrg (eval "$ac_link") 2>&5 364720d725fbSmrg ac_status=$? 3648fe605390Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3649fe605390Smrg test $ac_status = 0; } 3650fe605390Smrgthen : 365120d725fbSmrg # If both `conftest.exe' and `conftest' are `present' (well, observable) 365220d725fbSmrg# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 365320d725fbSmrg# work properly (i.e., refer to `conftest.exe'), while it won't with 365420d725fbSmrg# `rm'. 365520d725fbSmrgfor ac_file in conftest.exe conftest conftest.*; do 365620d725fbSmrg test -f "$ac_file" || continue 365720d725fbSmrg case $ac_file in 365863fbae1dSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 365920d725fbSmrg *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 366020d725fbSmrg break;; 366120d725fbSmrg * ) break;; 366220d725fbSmrg esac 366320d725fbSmrgdone 3664fe605390Smrgelse $as_nop 3665fe605390Smrg { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3666fe605390Smrgprintf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 3667fe605390Smrgas_fn_error $? "cannot compute suffix of executables: cannot compile and link 3668fe605390SmrgSee \`config.log' for more details" "$LINENO" 5; } 366920d725fbSmrgfi 3670fe605390Smrgrm -f conftest conftest$ac_cv_exeext 3671fe605390Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3672fe605390Smrgprintf "%s\n" "$ac_cv_exeext" >&6; } 367320d725fbSmrg 367420d725fbSmrgrm -f conftest.$ac_ext 367520d725fbSmrgEXEEXT=$ac_cv_exeext 367620d725fbSmrgac_exeext=$EXEEXT 3677fe605390Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 3678fe605390Smrg/* end confdefs.h. */ 3679fe605390Smrg#include <stdio.h> 3680fe605390Smrgint 3681fe605390Smrgmain (void) 3682fe605390Smrg{ 3683fe605390SmrgFILE *f = fopen ("conftest.out", "w"); 3684fe605390Smrg return ferror (f) || fclose (f) != 0; 3685fe605390Smrg 3686fe605390Smrg ; 3687fe605390Smrg return 0; 3688fe605390Smrg} 3689fe605390Smrg_ACEOF 3690fe605390Smrgac_clean_files="$ac_clean_files conftest.out" 3691fe605390Smrg# Check that the compiler produces executables we can run. If not, either 3692fe605390Smrg# the compiler is broken, or we cross compile. 3693fe605390Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3694fe605390Smrgprintf %s "checking whether we are cross compiling... " >&6; } 3695fe605390Smrgif test "$cross_compiling" != yes; then 3696fe605390Smrg { { ac_try="$ac_link" 3697fe605390Smrgcase "(($ac_try" in 3698fe605390Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3699fe605390Smrg *) ac_try_echo=$ac_try;; 3700fe605390Smrgesac 3701fe605390Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3702fe605390Smrgprintf "%s\n" "$ac_try_echo"; } >&5 3703fe605390Smrg (eval "$ac_link") 2>&5 3704fe605390Smrg ac_status=$? 3705fe605390Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3706fe605390Smrg test $ac_status = 0; } 3707fe605390Smrg if { ac_try='./conftest$ac_cv_exeext' 3708fe605390Smrg { { case "(($ac_try" in 3709fe605390Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3710fe605390Smrg *) ac_try_echo=$ac_try;; 3711fe605390Smrgesac 3712fe605390Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3713fe605390Smrgprintf "%s\n" "$ac_try_echo"; } >&5 3714fe605390Smrg (eval "$ac_try") 2>&5 3715fe605390Smrg ac_status=$? 3716fe605390Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3717fe605390Smrg test $ac_status = 0; }; }; then 3718fe605390Smrg cross_compiling=no 3719fe605390Smrg else 3720fe605390Smrg if test "$cross_compiling" = maybe; then 3721fe605390Smrg cross_compiling=yes 3722fe605390Smrg else 3723fe605390Smrg { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3724fe605390Smrgprintf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 3725fe605390Smrgas_fn_error 77 "cannot run C compiled programs. 3726fe605390SmrgIf you meant to cross compile, use \`--host'. 3727fe605390SmrgSee \`config.log' for more details" "$LINENO" 5; } 3728fe605390Smrg fi 3729fe605390Smrg fi 3730fe605390Smrgfi 3731fe605390Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3732fe605390Smrgprintf "%s\n" "$cross_compiling" >&6; } 3733fe605390Smrg 3734fe605390Smrgrm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3735fe605390Smrgac_clean_files=$ac_clean_files_save 3736fe605390Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3737fe605390Smrgprintf %s "checking for suffix of object files... " >&6; } 3738fe605390Smrgif test ${ac_cv_objext+y} 3739fe605390Smrgthen : 3740fe605390Smrg printf %s "(cached) " >&6 3741fe605390Smrgelse $as_nop 374263fbae1dSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 374320d725fbSmrg/* end confdefs.h. */ 374420d725fbSmrg 374520d725fbSmrgint 3746fe605390Smrgmain (void) 374720d725fbSmrg{ 374820d725fbSmrg 374920d725fbSmrg ; 375020d725fbSmrg return 0; 375120d725fbSmrg} 375220d725fbSmrg_ACEOF 375320d725fbSmrgrm -f conftest.o conftest.obj 375463fbae1dSmrgif { { ac_try="$ac_compile" 375520d725fbSmrgcase "(($ac_try" in 375620d725fbSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 375720d725fbSmrg *) ac_try_echo=$ac_try;; 375820d725fbSmrgesac 375963fbae1dSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3760fe605390Smrgprintf "%s\n" "$ac_try_echo"; } >&5 376120d725fbSmrg (eval "$ac_compile") 2>&5 376220d725fbSmrg ac_status=$? 3763fe605390Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3764fe605390Smrg test $ac_status = 0; } 3765fe605390Smrgthen : 376620d725fbSmrg for ac_file in conftest.o conftest.obj conftest.*; do 376720d725fbSmrg test -f "$ac_file" || continue; 376820d725fbSmrg case $ac_file in 376963fbae1dSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 377020d725fbSmrg *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 377120d725fbSmrg break;; 377220d725fbSmrg esac 377320d725fbSmrgdone 3774fe605390Smrgelse $as_nop 3775fe605390Smrg printf "%s\n" "$as_me: failed program was:" >&5 377620d725fbSmrgsed 's/^/| /' conftest.$ac_ext >&5 377720d725fbSmrg 3778fe605390Smrg{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3779fe605390Smrgprintf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 3780fe605390Smrgas_fn_error $? "cannot compute suffix of object files: cannot compile 3781fe605390SmrgSee \`config.log' for more details" "$LINENO" 5; } 378220d725fbSmrgfi 378320d725fbSmrgrm -f conftest.$ac_cv_objext conftest.$ac_ext 378420d725fbSmrgfi 3785fe605390Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3786fe605390Smrgprintf "%s\n" "$ac_cv_objext" >&6; } 378720d725fbSmrgOBJEXT=$ac_cv_objext 378820d725fbSmrgac_objext=$OBJEXT 3789fe605390Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5 3790fe605390Smrgprintf %s "checking whether the compiler supports GNU C... " >&6; } 3791fe605390Smrgif test ${ac_cv_c_compiler_gnu+y} 3792fe605390Smrgthen : 3793fe605390Smrg printf %s "(cached) " >&6 3794fe605390Smrgelse $as_nop 379563fbae1dSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 379620d725fbSmrg/* end confdefs.h. */ 379720d725fbSmrg 379820d725fbSmrgint 3799fe605390Smrgmain (void) 380020d725fbSmrg{ 380120d725fbSmrg#ifndef __GNUC__ 380220d725fbSmrg choke me 380320d725fbSmrg#endif 380420d725fbSmrg 380520d725fbSmrg ; 380620d725fbSmrg return 0; 380720d725fbSmrg} 380820d725fbSmrg_ACEOF 3809fe605390Smrgif ac_fn_c_try_compile "$LINENO" 3810fe605390Smrgthen : 381120d725fbSmrg ac_compiler_gnu=yes 3812fe605390Smrgelse $as_nop 381363fbae1dSmrg ac_compiler_gnu=no 381420d725fbSmrgfi 3815fe605390Smrgrm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 381620d725fbSmrgac_cv_c_compiler_gnu=$ac_compiler_gnu 381720d725fbSmrg 381820d725fbSmrgfi 3819fe605390Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3820fe605390Smrgprintf "%s\n" "$ac_cv_c_compiler_gnu" >&6; } 3821fe605390Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 3822fe605390Smrg 382363fbae1dSmrgif test $ac_compiler_gnu = yes; then 382463fbae1dSmrg GCC=yes 382563fbae1dSmrgelse 382663fbae1dSmrg GCC= 382763fbae1dSmrgfi 3828fe605390Smrgac_test_CFLAGS=${CFLAGS+y} 382920d725fbSmrgac_save_CFLAGS=$CFLAGS 3830fe605390Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3831fe605390Smrgprintf %s "checking whether $CC accepts -g... " >&6; } 3832fe605390Smrgif test ${ac_cv_prog_cc_g+y} 3833fe605390Smrgthen : 3834fe605390Smrg printf %s "(cached) " >&6 3835fe605390Smrgelse $as_nop 383620d725fbSmrg ac_save_c_werror_flag=$ac_c_werror_flag 383720d725fbSmrg ac_c_werror_flag=yes 383820d725fbSmrg ac_cv_prog_cc_g=no 383920d725fbSmrg CFLAGS="-g" 384063fbae1dSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 384120d725fbSmrg/* end confdefs.h. */ 384220d725fbSmrg 384320d725fbSmrgint 3844fe605390Smrgmain (void) 384520d725fbSmrg{ 384620d725fbSmrg 384720d725fbSmrg ; 384820d725fbSmrg return 0; 384920d725fbSmrg} 385020d725fbSmrg_ACEOF 3851fe605390Smrgif ac_fn_c_try_compile "$LINENO" 3852fe605390Smrgthen : 385320d725fbSmrg ac_cv_prog_cc_g=yes 3854fe605390Smrgelse $as_nop 385563fbae1dSmrg CFLAGS="" 385663fbae1dSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 385720d725fbSmrg/* end confdefs.h. */ 385820d725fbSmrg 385920d725fbSmrgint 3860fe605390Smrgmain (void) 386120d725fbSmrg{ 386220d725fbSmrg 386320d725fbSmrg ; 386420d725fbSmrg return 0; 386520d725fbSmrg} 386620d725fbSmrg_ACEOF 3867fe605390Smrgif ac_fn_c_try_compile "$LINENO" 3868fe605390Smrgthen : 386920d725fbSmrg 3870fe605390Smrgelse $as_nop 387163fbae1dSmrg ac_c_werror_flag=$ac_save_c_werror_flag 387220d725fbSmrg CFLAGS="-g" 387363fbae1dSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 387420d725fbSmrg/* end confdefs.h. */ 387520d725fbSmrg 387620d725fbSmrgint 3877fe605390Smrgmain (void) 387820d725fbSmrg{ 387920d725fbSmrg 388020d725fbSmrg ; 388120d725fbSmrg return 0; 388220d725fbSmrg} 388320d725fbSmrg_ACEOF 3884fe605390Smrgif ac_fn_c_try_compile "$LINENO" 3885fe605390Smrgthen : 388620d725fbSmrg ac_cv_prog_cc_g=yes 388720d725fbSmrgfi 3888fe605390Smrgrm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 388920d725fbSmrgfi 3890fe605390Smrgrm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 389120d725fbSmrgfi 3892fe605390Smrgrm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 389320d725fbSmrg ac_c_werror_flag=$ac_save_c_werror_flag 389420d725fbSmrgfi 3895fe605390Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3896fe605390Smrgprintf "%s\n" "$ac_cv_prog_cc_g" >&6; } 3897fe605390Smrgif test $ac_test_CFLAGS; then 389820d725fbSmrg CFLAGS=$ac_save_CFLAGS 389920d725fbSmrgelif test $ac_cv_prog_cc_g = yes; then 390020d725fbSmrg if test "$GCC" = yes; then 390120d725fbSmrg CFLAGS="-g -O2" 390220d725fbSmrg else 390320d725fbSmrg CFLAGS="-g" 390420d725fbSmrg fi 390520d725fbSmrgelse 390620d725fbSmrg if test "$GCC" = yes; then 390720d725fbSmrg CFLAGS="-O2" 390820d725fbSmrg else 390920d725fbSmrg CFLAGS= 391020d725fbSmrg fi 391120d725fbSmrgfi 3912fe605390Smrgac_prog_cc_stdc=no 3913fe605390Smrgif test x$ac_prog_cc_stdc = xno 3914fe605390Smrgthen : 3915fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5 3916fe605390Smrgprintf %s "checking for $CC option to enable C11 features... " >&6; } 3917fe605390Smrgif test ${ac_cv_prog_cc_c11+y} 3918fe605390Smrgthen : 3919fe605390Smrg printf %s "(cached) " >&6 3920fe605390Smrgelse $as_nop 3921fe605390Smrg ac_cv_prog_cc_c11=no 392220d725fbSmrgac_save_CC=$CC 392363fbae1dSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 392420d725fbSmrg/* end confdefs.h. */ 3925fe605390Smrg$ac_c_conftest_c11_program 3926fe605390Smrg_ACEOF 3927fe605390Smrgfor ac_arg in '' -std=gnu11 3928fe605390Smrgdo 3929fe605390Smrg CC="$ac_save_CC $ac_arg" 3930fe605390Smrg if ac_fn_c_try_compile "$LINENO" 3931fe605390Smrgthen : 3932fe605390Smrg ac_cv_prog_cc_c11=$ac_arg 3933fe605390Smrgfi 3934fe605390Smrgrm -f core conftest.err conftest.$ac_objext conftest.beam 3935fe605390Smrg test "x$ac_cv_prog_cc_c11" != "xno" && break 3936fe605390Smrgdone 3937fe605390Smrgrm -f conftest.$ac_ext 3938fe605390SmrgCC=$ac_save_CC 3939fe605390Smrgfi 394020d725fbSmrg 3941fe605390Smrgif test "x$ac_cv_prog_cc_c11" = xno 3942fe605390Smrgthen : 3943fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3944fe605390Smrgprintf "%s\n" "unsupported" >&6; } 3945fe605390Smrgelse $as_nop 3946fe605390Smrg if test "x$ac_cv_prog_cc_c11" = x 3947fe605390Smrgthen : 3948fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3949fe605390Smrgprintf "%s\n" "none needed" >&6; } 3950fe605390Smrgelse $as_nop 3951fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 3952fe605390Smrgprintf "%s\n" "$ac_cv_prog_cc_c11" >&6; } 3953fe605390Smrg CC="$CC $ac_cv_prog_cc_c11" 3954fe605390Smrgfi 3955fe605390Smrg ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11 3956fe605390Smrg ac_prog_cc_stdc=c11 3957fe605390Smrgfi 3958fe605390Smrgfi 3959fe605390Smrgif test x$ac_prog_cc_stdc = xno 3960fe605390Smrgthen : 3961fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5 3962fe605390Smrgprintf %s "checking for $CC option to enable C99 features... " >&6; } 3963fe605390Smrgif test ${ac_cv_prog_cc_c99+y} 3964fe605390Smrgthen : 3965fe605390Smrg printf %s "(cached) " >&6 3966fe605390Smrgelse $as_nop 3967fe605390Smrg ac_cv_prog_cc_c99=no 3968fe605390Smrgac_save_CC=$CC 3969fe605390Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 3970fe605390Smrg/* end confdefs.h. */ 3971fe605390Smrg$ac_c_conftest_c99_program 3972fe605390Smrg_ACEOF 3973fe605390Smrgfor ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99= 3974fe605390Smrgdo 3975fe605390Smrg CC="$ac_save_CC $ac_arg" 3976fe605390Smrg if ac_fn_c_try_compile "$LINENO" 3977fe605390Smrgthen : 3978fe605390Smrg ac_cv_prog_cc_c99=$ac_arg 3979fe605390Smrgfi 3980fe605390Smrgrm -f core conftest.err conftest.$ac_objext conftest.beam 3981fe605390Smrg test "x$ac_cv_prog_cc_c99" != "xno" && break 3982fe605390Smrgdone 3983fe605390Smrgrm -f conftest.$ac_ext 3984fe605390SmrgCC=$ac_save_CC 3985fe605390Smrgfi 398620d725fbSmrg 3987fe605390Smrgif test "x$ac_cv_prog_cc_c99" = xno 3988fe605390Smrgthen : 3989fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3990fe605390Smrgprintf "%s\n" "unsupported" >&6; } 3991fe605390Smrgelse $as_nop 3992fe605390Smrg if test "x$ac_cv_prog_cc_c99" = x 3993fe605390Smrgthen : 3994fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3995fe605390Smrgprintf "%s\n" "none needed" >&6; } 3996fe605390Smrgelse $as_nop 3997fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 3998fe605390Smrgprintf "%s\n" "$ac_cv_prog_cc_c99" >&6; } 3999fe605390Smrg CC="$CC $ac_cv_prog_cc_c99" 4000fe605390Smrgfi 4001fe605390Smrg ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 4002fe605390Smrg ac_prog_cc_stdc=c99 4003fe605390Smrgfi 4004fe605390Smrgfi 4005fe605390Smrgif test x$ac_prog_cc_stdc = xno 4006fe605390Smrgthen : 4007fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5 4008fe605390Smrgprintf %s "checking for $CC option to enable C89 features... " >&6; } 4009fe605390Smrgif test ${ac_cv_prog_cc_c89+y} 4010fe605390Smrgthen : 4011fe605390Smrg printf %s "(cached) " >&6 4012fe605390Smrgelse $as_nop 4013fe605390Smrg ac_cv_prog_cc_c89=no 4014fe605390Smrgac_save_CC=$CC 4015fe605390Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 4016fe605390Smrg/* end confdefs.h. */ 4017fe605390Smrg$ac_c_conftest_c89_program 401820d725fbSmrg_ACEOF 4019fe605390Smrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 402020d725fbSmrgdo 402120d725fbSmrg CC="$ac_save_CC $ac_arg" 4022fe605390Smrg if ac_fn_c_try_compile "$LINENO" 4023fe605390Smrgthen : 402420d725fbSmrg ac_cv_prog_cc_c89=$ac_arg 402520d725fbSmrgfi 4026fe605390Smrgrm -f core conftest.err conftest.$ac_objext conftest.beam 402720d725fbSmrg test "x$ac_cv_prog_cc_c89" != "xno" && break 402820d725fbSmrgdone 402920d725fbSmrgrm -f conftest.$ac_ext 403020d725fbSmrgCC=$ac_save_CC 403120d725fbSmrgfi 403220d725fbSmrg 4033fe605390Smrgif test "x$ac_cv_prog_cc_c89" = xno 4034fe605390Smrgthen : 4035fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4036fe605390Smrgprintf "%s\n" "unsupported" >&6; } 4037fe605390Smrgelse $as_nop 4038fe605390Smrg if test "x$ac_cv_prog_cc_c89" = x 4039fe605390Smrgthen : 4040fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4041fe605390Smrgprintf "%s\n" "none needed" >&6; } 4042fe605390Smrgelse $as_nop 4043fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4044fe605390Smrgprintf "%s\n" "$ac_cv_prog_cc_c89" >&6; } 4045fe605390Smrg CC="$CC $ac_cv_prog_cc_c89" 4046fe605390Smrgfi 4047fe605390Smrg ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 4048fe605390Smrg ac_prog_cc_stdc=c89 404963fbae1dSmrgfi 4050fe605390Smrgfi 4051fe605390Smrg 4052fe605390Smrgac_ext=c 4053fe605390Smrgac_cpp='$CPP $CPPFLAGS' 4054fe605390Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4055fe605390Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4056fe605390Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 4057fe605390Smrg 4058fe605390Smrg 4059fe605390Smrg ac_ext=c 4060fe605390Smrgac_cpp='$CPP $CPPFLAGS' 4061fe605390Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4062fe605390Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4063fe605390Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 4064fe605390Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 4065fe605390Smrgprintf %s "checking whether $CC understands -c and -o together... " >&6; } 4066fe605390Smrgif test ${am_cv_prog_cc_c_o+y} 4067fe605390Smrgthen : 4068fe605390Smrg printf %s "(cached) " >&6 4069fe605390Smrgelse $as_nop 4070fe605390Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4071fe605390Smrg/* end confdefs.h. */ 4072fe605390Smrg 4073fe605390Smrgint 4074fe605390Smrgmain (void) 4075fe605390Smrg{ 407620d725fbSmrg 4077fe605390Smrg ; 4078fe605390Smrg return 0; 4079fe605390Smrg} 4080fe605390Smrg_ACEOF 4081fe605390Smrg # Make sure it works both with $CC and with simple cc. 4082fe605390Smrg # Following AC_PROG_CC_C_O, we do the test twice because some 4083fe605390Smrg # compilers refuse to overwrite an existing .o file with -o, 4084fe605390Smrg # though they will create one. 4085fe605390Smrg am_cv_prog_cc_c_o=yes 4086fe605390Smrg for am_i in 1 2; do 4087fe605390Smrg if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 4088fe605390Smrg ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 4089fe605390Smrg ac_status=$? 4090fe605390Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 4091fe605390Smrg (exit $ac_status); } \ 4092fe605390Smrg && test -f conftest2.$ac_objext; then 4093fe605390Smrg : OK 4094fe605390Smrg else 4095fe605390Smrg am_cv_prog_cc_c_o=no 4096fe605390Smrg break 4097fe605390Smrg fi 4098fe605390Smrg done 4099fe605390Smrg rm -f core conftest* 4100fe605390Smrg unset am_i 4101fe605390Smrgfi 4102fe605390Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 4103fe605390Smrgprintf "%s\n" "$am_cv_prog_cc_c_o" >&6; } 4104fe605390Smrgif test "$am_cv_prog_cc_c_o" != yes; then 4105fe605390Smrg # Losing compiler, so override with the script. 4106fe605390Smrg # FIXME: It is wrong to rewrite CC. 4107fe605390Smrg # But if we don't then we get into trouble of one sort or another. 4108fe605390Smrg # A longer-term fix would be to have automake use am__CC in this case, 4109fe605390Smrg # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 4110fe605390Smrg CC="$am_aux_dir/compile $CC" 4111fe605390Smrgfi 411220d725fbSmrgac_ext=c 411320d725fbSmrgac_cpp='$CPP $CPPFLAGS' 411420d725fbSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 411520d725fbSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 411620d725fbSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 411720d725fbSmrg 4118fe605390Smrg 411920d725fbSmrgdepcc="$CC" am_compiler_list= 412020d725fbSmrg 4121fe605390Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4122fe605390Smrgprintf %s "checking dependency style of $depcc... " >&6; } 4123fe605390Smrgif test ${am_cv_CC_dependencies_compiler_type+y} 4124fe605390Smrgthen : 4125fe605390Smrg printf %s "(cached) " >&6 4126fe605390Smrgelse $as_nop 412720d725fbSmrg if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 412820d725fbSmrg # We make a subdir and do the tests there. Otherwise we can end up 412920d725fbSmrg # making bogus files that we don't know about and never remove. For 413020d725fbSmrg # instance it was reported that on HP-UX the gcc test will end up 4131fe605390Smrg # making a dummy file named 'D' -- because '-MD' means "put the output 4132fe605390Smrg # in D". 4133fe605390Smrg rm -rf conftest.dir 413420d725fbSmrg mkdir conftest.dir 413520d725fbSmrg # Copy depcomp to subdir because otherwise we won't find it if we're 413620d725fbSmrg # using a relative directory. 413720d725fbSmrg cp "$am_depcomp" conftest.dir 413820d725fbSmrg cd conftest.dir 413920d725fbSmrg # We will build objects and dependencies in a subdirectory because 414020d725fbSmrg # it helps to detect inapplicable dependency modes. For instance 414120d725fbSmrg # both Tru64's cc and ICC support -MD to output dependencies as a 414220d725fbSmrg # side effect of compilation, but ICC will put the dependencies in 414320d725fbSmrg # the current directory while Tru64 will put them in the object 414420d725fbSmrg # directory. 414520d725fbSmrg mkdir sub 414620d725fbSmrg 414720d725fbSmrg am_cv_CC_dependencies_compiler_type=none 414820d725fbSmrg if test "$am_compiler_list" = ""; then 414920d725fbSmrg am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 415020d725fbSmrg fi 415163fbae1dSmrg am__universal=false 415263fbae1dSmrg case " $depcc " in #( 415363fbae1dSmrg *\ -arch\ *\ -arch\ *) am__universal=true ;; 415463fbae1dSmrg esac 415563fbae1dSmrg 415620d725fbSmrg for depmode in $am_compiler_list; do 415720d725fbSmrg # Setup a source with many dependencies, because some compilers 415820d725fbSmrg # like to wrap large dependency lists on column 80 (with \), and 415920d725fbSmrg # we should not choose a depcomp mode which is confused by this. 416020d725fbSmrg # 416120d725fbSmrg # We need to recreate these files for each test, as the compiler may 416220d725fbSmrg # overwrite some of them when testing with obscure command lines. 416320d725fbSmrg # This happens at least with the AIX C compiler. 416420d725fbSmrg : > sub/conftest.c 416520d725fbSmrg for i in 1 2 3 4 5 6; do 416620d725fbSmrg echo '#include "conftst'$i'.h"' >> sub/conftest.c 4167fe605390Smrg # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4168fe605390Smrg # Solaris 10 /bin/sh. 4169fe605390Smrg echo '/* dummy */' > sub/conftst$i.h 417020d725fbSmrg done 417120d725fbSmrg echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 417220d725fbSmrg 4173fe605390Smrg # We check with '-c' and '-o' for the sake of the "dashmstdout" 417463fbae1dSmrg # mode. It turns out that the SunPro C++ compiler does not properly 4175fe605390Smrg # handle '-M -o', and we need to detect this. Also, some Intel 4176fe605390Smrg # versions had trouble with output in subdirs. 417763fbae1dSmrg am__obj=sub/conftest.${OBJEXT-o} 417863fbae1dSmrg am__minus_obj="-o $am__obj" 417920d725fbSmrg case $depmode in 418063fbae1dSmrg gcc) 418163fbae1dSmrg # This depmode causes a compiler race in universal mode. 418263fbae1dSmrg test "$am__universal" = false || continue 418363fbae1dSmrg ;; 418420d725fbSmrg nosideeffect) 4185fe605390Smrg # After this tag, mechanisms are not by side-effect, so they'll 4186fe605390Smrg # only be used when explicitly requested. 418720d725fbSmrg if test "x$enable_dependency_tracking" = xyes; then 418820d725fbSmrg continue 418920d725fbSmrg else 419020d725fbSmrg break 419120d725fbSmrg fi 419220d725fbSmrg ;; 4193fe605390Smrg msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4194fe605390Smrg # This compiler won't grok '-c -o', but also, the minuso test has 419563fbae1dSmrg # not run yet. These depmodes are late enough in the game, and 419663fbae1dSmrg # so weak that their functioning should not be impacted. 419763fbae1dSmrg am__obj=conftest.${OBJEXT-o} 419863fbae1dSmrg am__minus_obj= 419963fbae1dSmrg ;; 420020d725fbSmrg none) break ;; 420120d725fbSmrg esac 420220d725fbSmrg if depmode=$depmode \ 420363fbae1dSmrg source=sub/conftest.c object=$am__obj \ 420420d725fbSmrg depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 420563fbae1dSmrg $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 420620d725fbSmrg >/dev/null 2>conftest.err && 420763fbae1dSmrg grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 420820d725fbSmrg grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 420963fbae1dSmrg grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 421020d725fbSmrg ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 421120d725fbSmrg # icc doesn't choke on unknown options, it will just issue warnings 421220d725fbSmrg # or remarks (even with -Werror). So we grep stderr for any message 421320d725fbSmrg # that says an option was ignored or not supported. 421420d725fbSmrg # When given -MP, icc 7.0 and 7.1 complain thusly: 421520d725fbSmrg # icc: Command line warning: ignoring option '-M'; no argument required 421620d725fbSmrg # The diagnosis changed in icc 8.0: 421720d725fbSmrg # icc: Command line remark: option '-MP' not supported 421820d725fbSmrg if (grep 'ignoring option' conftest.err || 421920d725fbSmrg grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 422020d725fbSmrg am_cv_CC_dependencies_compiler_type=$depmode 422120d725fbSmrg break 422220d725fbSmrg fi 422320d725fbSmrg fi 422420d725fbSmrg done 422520d725fbSmrg 422620d725fbSmrg cd .. 422720d725fbSmrg rm -rf conftest.dir 422820d725fbSmrgelse 422920d725fbSmrg am_cv_CC_dependencies_compiler_type=none 423020d725fbSmrgfi 423120d725fbSmrg 423220d725fbSmrgfi 4233fe605390Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4234fe605390Smrgprintf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; } 423563fbae1dSmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 423620d725fbSmrg 423763fbae1dSmrg if 423863fbae1dSmrg test "x$enable_dependency_tracking" != xno \ 423963fbae1dSmrg && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 424063fbae1dSmrg am__fastdepCC_TRUE= 424163fbae1dSmrg am__fastdepCC_FALSE='#' 424263fbae1dSmrgelse 424363fbae1dSmrg am__fastdepCC_TRUE='#' 424463fbae1dSmrg am__fastdepCC_FALSE= 424563fbae1dSmrgfi 424620d725fbSmrg 424720d725fbSmrg 424820d725fbSmrg 424920d725fbSmrg 4250fe605390Smrg for ac_func in $funclist 425163fbae1dSmrgdo : 4252fe605390Smrg as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | $as_tr_sh` 425363fbae1dSmrgac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 4254fe605390Smrgif eval test \"x\$"$as_ac_var"\" = x"yes" 4255fe605390Smrgthen : 425663fbae1dSmrg cat >>confdefs.h <<_ACEOF 4257fe605390Smrg#define `printf "%s\n" "HAVE_$ac_func" | $as_tr_cpp` 1 425863fbae1dSmrg_ACEOF 425963fbae1dSmrg 4260fe605390Smrgelse $as_nop 4261fe605390Smrg HAVE_STUBS=no 426263fbae1dSmrgfi 4263fe605390Smrg 426420d725fbSmrgdone 426520d725fbSmrg 426663fbae1dSmrg 4267fe605390Smrgif test "x$HAVE_STUBS" != xno; then 4268fe605390Smrg PKG_CONFIG_CFLAGS= 4269fe605390Smrg PKG_CONFIG_LIBS= 427020d725fbSmrgelse 4271fe605390Smrg PKG_CONFIG_CFLAGS="-pthread" 4272fe605390Smrg PKG_CONFIG_LIBS="-pthread" 427320d725fbSmrgfi 427420d725fbSmrg 427563fbae1dSmrg 4276fe605390Smrg 4277fe605390Smrg 427863fbae1dSmrgac_config_files="$ac_config_files Makefile pthread-stubs.pc" 427963fbae1dSmrg 428063fbae1dSmrgcat >confcache <<\_ACEOF 428163fbae1dSmrg# This file is a shell script that caches the results of configure 428263fbae1dSmrg# tests run on this system so they can be shared between configure 428363fbae1dSmrg# scripts and configure runs, see configure's option --config-cache. 428463fbae1dSmrg# It is not useful on other systems. If it contains results you don't 428563fbae1dSmrg# want to keep, you may remove or edit it. 428663fbae1dSmrg# 428763fbae1dSmrg# config.status only pays attention to the cache file if you give it 428863fbae1dSmrg# the --recheck option to rerun configure. 428963fbae1dSmrg# 429063fbae1dSmrg# `ac_cv_env_foo' variables (set or unset) will be overridden when 429163fbae1dSmrg# loading this file, other *unset* `ac_cv_foo' will be assigned the 429263fbae1dSmrg# following values. 429363fbae1dSmrg 429463fbae1dSmrg_ACEOF 429563fbae1dSmrg 429663fbae1dSmrg# The following way of writing the cache mishandles newlines in values, 429763fbae1dSmrg# but we know of no workaround that is simple, portable, and efficient. 429863fbae1dSmrg# So, we kill variables containing newlines. 429963fbae1dSmrg# Ultrix sh set writes to stderr and can't be redirected directly, 430063fbae1dSmrg# and sets the high bit in the cache file unless we assign to the vars. 430163fbae1dSmrg( 430263fbae1dSmrg for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 430363fbae1dSmrg eval ac_val=\$$ac_var 430463fbae1dSmrg case $ac_val in #( 430563fbae1dSmrg *${as_nl}*) 430663fbae1dSmrg case $ac_var in #( 4307fe605390Smrg *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 4308fe605390Smrgprintf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 430963fbae1dSmrg esac 431063fbae1dSmrg case $ac_var in #( 431163fbae1dSmrg _ | IFS | as_nl) ;; #( 431263fbae1dSmrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 431363fbae1dSmrg *) { eval $ac_var=; unset $ac_var;} ;; 431463fbae1dSmrg esac ;; 431563fbae1dSmrg esac 431663fbae1dSmrg done 431763fbae1dSmrg 431863fbae1dSmrg (set) 2>&1 | 431963fbae1dSmrg case $as_nl`(ac_space=' '; set) 2>&1` in #( 432063fbae1dSmrg *${as_nl}ac_space=\ *) 432163fbae1dSmrg # `set' does not quote correctly, so add quotes: double-quote 432263fbae1dSmrg # substitution turns \\\\ into \\, and sed turns \\ into \. 432363fbae1dSmrg sed -n \ 432463fbae1dSmrg "s/'/'\\\\''/g; 432563fbae1dSmrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 432663fbae1dSmrg ;; #( 432763fbae1dSmrg *) 432863fbae1dSmrg # `set' quotes correctly as required by POSIX, so do not add quotes. 432963fbae1dSmrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 433063fbae1dSmrg ;; 433163fbae1dSmrg esac | 433263fbae1dSmrg sort 433363fbae1dSmrg) | 433463fbae1dSmrg sed ' 433563fbae1dSmrg /^ac_cv_env_/b end 433663fbae1dSmrg t clear 433763fbae1dSmrg :clear 4338fe605390Smrg s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ 433963fbae1dSmrg t end 434063fbae1dSmrg s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 434163fbae1dSmrg :end' >>confcache 434263fbae1dSmrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 434363fbae1dSmrg if test -w "$cache_file"; then 4344fe605390Smrg if test "x$cache_file" != "x/dev/null"; then 4345fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 4346fe605390Smrgprintf "%s\n" "$as_me: updating cache $cache_file" >&6;} 4347fe605390Smrg if test ! -f "$cache_file" || test -h "$cache_file"; then 4348fe605390Smrg cat confcache >"$cache_file" 4349fe605390Smrg else 4350fe605390Smrg case $cache_file in #( 4351fe605390Smrg */* | ?:*) 4352fe605390Smrg mv -f confcache "$cache_file"$$ && 4353fe605390Smrg mv -f "$cache_file"$$ "$cache_file" ;; #( 4354fe605390Smrg *) 4355fe605390Smrg mv -f confcache "$cache_file" ;; 4356fe605390Smrg esac 4357fe605390Smrg fi 4358fe605390Smrg fi 435920d725fbSmrg else 4360fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 4361fe605390Smrgprintf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} 436220d725fbSmrg fi 436320d725fbSmrgfi 436463fbae1dSmrgrm -f confcache 436520d725fbSmrg 436663fbae1dSmrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix 436763fbae1dSmrg# Let make expand exec_prefix. 436863fbae1dSmrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 436963fbae1dSmrg 4370fe605390Smrg# Transform confdefs.h into DEFS. 4371fe605390Smrg# Protect against shell expansion while executing Makefile rules. 4372fe605390Smrg# Protect against Makefile macro expansion. 4373fe605390Smrg# 4374fe605390Smrg# If the first sed substitution is executed (which looks for macros that 4375fe605390Smrg# take arguments), then branch to the quote section. Otherwise, 4376fe605390Smrg# look for a macro that doesn't take arguments. 4377fe605390Smrgac_script=' 4378fe605390Smrg:mline 4379fe605390Smrg/\\$/{ 4380fe605390Smrg N 4381fe605390Smrg s,\\\n,, 4382fe605390Smrg b mline 4383fe605390Smrg} 4384fe605390Smrgt clear 4385fe605390Smrg:clear 4386fe605390Smrgs/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 4387fe605390Smrgt quote 4388fe605390Smrgs/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 4389fe605390Smrgt quote 4390fe605390Smrgb any 4391fe605390Smrg:quote 4392fe605390Smrgs/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 4393fe605390Smrgs/\[/\\&/g 4394fe605390Smrgs/\]/\\&/g 4395fe605390Smrgs/\$/$$/g 4396fe605390SmrgH 4397fe605390Smrg:any 4398fe605390Smrg${ 4399fe605390Smrg g 4400fe605390Smrg s/^\n// 4401fe605390Smrg s/\n/ /g 4402fe605390Smrg p 4403fe605390Smrg} 4404fe605390Smrg' 4405fe605390SmrgDEFS=`sed -n "$ac_script" confdefs.h` 4406fe605390Smrg 440763fbae1dSmrg 440863fbae1dSmrgac_libobjs= 440963fbae1dSmrgac_ltlibobjs= 4410fe605390SmrgU= 441163fbae1dSmrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 441263fbae1dSmrg # 1. Remove the extension, and $U if already installed. 441363fbae1dSmrg ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 4414fe605390Smrg ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"` 441563fbae1dSmrg # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 441663fbae1dSmrg # will be set to the directory where LIBOBJS objects are built. 441763fbae1dSmrg as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 441863fbae1dSmrg as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 441920d725fbSmrgdone 442063fbae1dSmrgLIBOBJS=$ac_libobjs 442120d725fbSmrg 442263fbae1dSmrgLTLIBOBJS=$ac_ltlibobjs 442320d725fbSmrg 442420d725fbSmrg 4425fe605390Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 4426fe605390Smrgprintf %s "checking that generated files are newer than configure... " >&6; } 4427fe605390Smrg if test -n "$am_sleep_pid"; then 4428fe605390Smrg # Hide warnings about reused PIDs. 4429fe605390Smrg wait $am_sleep_pid 2>/dev/null 4430fe605390Smrg fi 4431fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5 4432fe605390Smrgprintf "%s\n" "done" >&6; } 443363fbae1dSmrg if test -n "$EXEEXT"; then 443463fbae1dSmrg am__EXEEXT_TRUE= 443563fbae1dSmrg am__EXEEXT_FALSE='#' 443620d725fbSmrgelse 443763fbae1dSmrg am__EXEEXT_TRUE='#' 443863fbae1dSmrg am__EXEEXT_FALSE= 443963fbae1dSmrgfi 444020d725fbSmrg 444163fbae1dSmrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 4442fe605390Smrg as_fn_error $? "conditional \"AMDEP\" was never defined. 444363fbae1dSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 444420d725fbSmrgfi 444563fbae1dSmrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 4446fe605390Smrg as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 444763fbae1dSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 444820d725fbSmrgfi 444920d725fbSmrg 4450fe605390Smrg: "${CONFIG_STATUS=./config.status}" 445163fbae1dSmrgac_write_fail=0 445263fbae1dSmrgac_clean_files_save=$ac_clean_files 445363fbae1dSmrgac_clean_files="$ac_clean_files $CONFIG_STATUS" 4454fe605390Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 4455fe605390Smrgprintf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} 445663fbae1dSmrgas_write_fail=0 445763fbae1dSmrgcat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 445863fbae1dSmrg#! $SHELL 445963fbae1dSmrg# Generated by $as_me. 446063fbae1dSmrg# Run this file to recreate the current configuration. 446163fbae1dSmrg# Compiler output produced by configure, useful for debugging 446263fbae1dSmrg# configure, is in config.log if it exists. 446363fbae1dSmrg 446463fbae1dSmrgdebug=false 446563fbae1dSmrgac_cs_recheck=false 446663fbae1dSmrgac_cs_silent=false 446720d725fbSmrg 446863fbae1dSmrgSHELL=\${CONFIG_SHELL-$SHELL} 446963fbae1dSmrgexport SHELL 447063fbae1dSmrg_ASEOF 447163fbae1dSmrgcat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 447263fbae1dSmrg## -------------------- ## 447363fbae1dSmrg## M4sh Initialization. ## 447463fbae1dSmrg## -------------------- ## 447520d725fbSmrg 447663fbae1dSmrg# Be more Bourne compatible 447763fbae1dSmrgDUALCASE=1; export DUALCASE # for MKS sh 4478fe605390Smrgas_nop=: 4479fe605390Smrgif test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 4480fe605390Smrgthen : 448163fbae1dSmrg emulate sh 448263fbae1dSmrg NULLCMD=: 448363fbae1dSmrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 448463fbae1dSmrg # is contrary to our usage. Disable this feature. 448563fbae1dSmrg alias -g '${1+"$@"}'='"$@"' 448663fbae1dSmrg setopt NO_GLOB_SUBST 4487fe605390Smrgelse $as_nop 448863fbae1dSmrg case `(set -o) 2>/dev/null` in #( 448963fbae1dSmrg *posix*) : 449063fbae1dSmrg set -o posix ;; #( 449163fbae1dSmrg *) : 449263fbae1dSmrg ;; 449363fbae1dSmrgesac 449420d725fbSmrgfi 449520d725fbSmrg 449620d725fbSmrg 4497fe605390Smrg 4498fe605390Smrg# Reset variables that may have inherited troublesome values from 4499fe605390Smrg# the environment. 4500fe605390Smrg 4501fe605390Smrg# IFS needs to be set, to space, tab, and newline, in precisely that order. 4502fe605390Smrg# (If _AS_PATH_WALK were called with IFS unset, it would have the 4503fe605390Smrg# side effect of setting IFS to empty, thus disabling word splitting.) 4504fe605390Smrg# Quoting is to prevent editors from complaining about space-tab. 450563fbae1dSmrgas_nl=' 450663fbae1dSmrg' 450763fbae1dSmrgexport as_nl 4508fe605390SmrgIFS=" "" $as_nl" 4509fe605390Smrg 4510fe605390SmrgPS1='$ ' 4511fe605390SmrgPS2='> ' 4512fe605390SmrgPS4='+ ' 4513fe605390Smrg 4514fe605390Smrg# Ensure predictable behavior from utilities with locale-dependent output. 4515fe605390SmrgLC_ALL=C 4516fe605390Smrgexport LC_ALL 4517fe605390SmrgLANGUAGE=C 4518fe605390Smrgexport LANGUAGE 4519fe605390Smrg 4520fe605390Smrg# We cannot yet rely on "unset" to work, but we need these variables 4521fe605390Smrg# to be unset--not just set to an empty or harmless value--now, to 4522fe605390Smrg# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct 4523fe605390Smrg# also avoids known problems related to "unset" and subshell syntax 4524fe605390Smrg# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). 4525fe605390Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 4526fe605390Smrgdo eval test \${$as_var+y} \ 4527fe605390Smrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 4528fe605390Smrgdone 4529fe605390Smrg 4530fe605390Smrg# Ensure that fds 0, 1, and 2 are open. 4531fe605390Smrgif (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 4532fe605390Smrgif (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 4533fe605390Smrgif (exec 3>&2) ; then :; else exec 2>/dev/null; fi 453463fbae1dSmrg 453563fbae1dSmrg# The user is always right. 4536fe605390Smrgif ${PATH_SEPARATOR+false} :; then 453763fbae1dSmrg PATH_SEPARATOR=: 453863fbae1dSmrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 453963fbae1dSmrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 454063fbae1dSmrg PATH_SEPARATOR=';' 454163fbae1dSmrg } 454263fbae1dSmrgfi 454363fbae1dSmrg 454463fbae1dSmrg 454563fbae1dSmrg# Find who we are. Look in the path if we contain no directory separator. 4546fe605390Smrgas_myself= 454763fbae1dSmrgcase $0 in #(( 454863fbae1dSmrg *[\\/]* ) as_myself=$0 ;; 454963fbae1dSmrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 455020d725fbSmrgfor as_dir in $PATH 455120d725fbSmrgdo 455220d725fbSmrg IFS=$as_save_IFS 4553fe605390Smrg case $as_dir in #((( 4554fe605390Smrg '') as_dir=./ ;; 4555fe605390Smrg */) ;; 4556fe605390Smrg *) as_dir=$as_dir/ ;; 4557fe605390Smrg esac 4558fe605390Smrg test -r "$as_dir$0" && as_myself=$as_dir$0 && break 455963fbae1dSmrg done 456020d725fbSmrgIFS=$as_save_IFS 456120d725fbSmrg 456263fbae1dSmrg ;; 456363fbae1dSmrgesac 456463fbae1dSmrg# We did not find ourselves, most probably we were run as `sh COMMAND' 456563fbae1dSmrg# in which case we are not to be found in the path. 456663fbae1dSmrgif test "x$as_myself" = x; then 456763fbae1dSmrg as_myself=$0 456820d725fbSmrgfi 456963fbae1dSmrgif test ! -f "$as_myself"; then 4570fe605390Smrg printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 457163fbae1dSmrg exit 1 457220d725fbSmrgfi 457320d725fbSmrg 457463fbae1dSmrg 457563fbae1dSmrg 4576fe605390Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 4577fe605390Smrg# ---------------------------------------- 457863fbae1dSmrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 457963fbae1dSmrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 4580fe605390Smrg# script with STATUS, using 1 if that was 0. 458163fbae1dSmrgas_fn_error () 458263fbae1dSmrg{ 4583fe605390Smrg as_status=$1; test $as_status -eq 0 && as_status=1 4584fe605390Smrg if test "$4"; then 4585fe605390Smrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 4586fe605390Smrg printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 458720d725fbSmrg fi 4588fe605390Smrg printf "%s\n" "$as_me: error: $2" >&2 458963fbae1dSmrg as_fn_exit $as_status 459063fbae1dSmrg} # as_fn_error 459163fbae1dSmrg 459263fbae1dSmrg 4593fe605390Smrg 459463fbae1dSmrg# as_fn_set_status STATUS 459563fbae1dSmrg# ----------------------- 459663fbae1dSmrg# Set $? to STATUS, without forking. 459763fbae1dSmrgas_fn_set_status () 459863fbae1dSmrg{ 459963fbae1dSmrg return $1 460063fbae1dSmrg} # as_fn_set_status 460163fbae1dSmrg 460263fbae1dSmrg# as_fn_exit STATUS 460363fbae1dSmrg# ----------------- 460463fbae1dSmrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 460563fbae1dSmrgas_fn_exit () 460663fbae1dSmrg{ 460763fbae1dSmrg set +e 460863fbae1dSmrg as_fn_set_status $1 460963fbae1dSmrg exit $1 461063fbae1dSmrg} # as_fn_exit 461163fbae1dSmrg 461263fbae1dSmrg# as_fn_unset VAR 461363fbae1dSmrg# --------------- 461463fbae1dSmrg# Portably unset VAR. 461563fbae1dSmrgas_fn_unset () 461663fbae1dSmrg{ 461763fbae1dSmrg { eval $1=; unset $1;} 461863fbae1dSmrg} 461963fbae1dSmrgas_unset=as_fn_unset 4620fe605390Smrg 462163fbae1dSmrg# as_fn_append VAR VALUE 462263fbae1dSmrg# ---------------------- 462363fbae1dSmrg# Append the text in VALUE to the end of the definition contained in VAR. Take 462463fbae1dSmrg# advantage of any shell optimizations that allow amortized linear growth over 462563fbae1dSmrg# repeated appends, instead of the typical quadratic growth present in naive 462663fbae1dSmrg# implementations. 4627fe605390Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 4628fe605390Smrgthen : 462963fbae1dSmrg eval 'as_fn_append () 463063fbae1dSmrg { 463163fbae1dSmrg eval $1+=\$2 463263fbae1dSmrg }' 4633fe605390Smrgelse $as_nop 463463fbae1dSmrg as_fn_append () 463563fbae1dSmrg { 463663fbae1dSmrg eval $1=\$$1\$2 463763fbae1dSmrg } 463863fbae1dSmrgfi # as_fn_append 463963fbae1dSmrg 464063fbae1dSmrg# as_fn_arith ARG... 464163fbae1dSmrg# ------------------ 464263fbae1dSmrg# Perform arithmetic evaluation on the ARGs, and store the result in the 464363fbae1dSmrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 464463fbae1dSmrg# must be portable across $(()) and expr. 4645fe605390Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 4646fe605390Smrgthen : 464763fbae1dSmrg eval 'as_fn_arith () 464863fbae1dSmrg { 464963fbae1dSmrg as_val=$(( $* )) 465063fbae1dSmrg }' 4651fe605390Smrgelse $as_nop 465263fbae1dSmrg as_fn_arith () 465363fbae1dSmrg { 465463fbae1dSmrg as_val=`expr "$@" || test $? -eq 1` 465563fbae1dSmrg } 465663fbae1dSmrgfi # as_fn_arith 465763fbae1dSmrg 465863fbae1dSmrg 465963fbae1dSmrgif expr a : '\(a\)' >/dev/null 2>&1 && 466063fbae1dSmrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 466163fbae1dSmrg as_expr=expr 466263fbae1dSmrgelse 466363fbae1dSmrg as_expr=false 466463fbae1dSmrgfi 466563fbae1dSmrg 466663fbae1dSmrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 466763fbae1dSmrg as_basename=basename 466863fbae1dSmrgelse 466963fbae1dSmrg as_basename=false 467020d725fbSmrgfi 467120d725fbSmrg 467263fbae1dSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 467363fbae1dSmrg as_dirname=dirname 467463fbae1dSmrgelse 467563fbae1dSmrg as_dirname=false 467620d725fbSmrgfi 467720d725fbSmrg 467863fbae1dSmrgas_me=`$as_basename -- "$0" || 467963fbae1dSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 468063fbae1dSmrg X"$0" : 'X\(//\)$' \| \ 468163fbae1dSmrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 4682fe605390Smrgprintf "%s\n" X/"$0" | 468363fbae1dSmrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 468463fbae1dSmrg s//\1/ 468563fbae1dSmrg q 468663fbae1dSmrg } 468763fbae1dSmrg /^X\/\(\/\/\)$/{ 468863fbae1dSmrg s//\1/ 468963fbae1dSmrg q 469063fbae1dSmrg } 469163fbae1dSmrg /^X\/\(\/\).*/{ 469263fbae1dSmrg s//\1/ 469363fbae1dSmrg q 469463fbae1dSmrg } 469563fbae1dSmrg s/.*/./; q'` 469620d725fbSmrg 469763fbae1dSmrg# Avoid depending upon Character Ranges. 469863fbae1dSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 469963fbae1dSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 470063fbae1dSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 470163fbae1dSmrgas_cr_digits='0123456789' 470263fbae1dSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits 470320d725fbSmrg 4704fe605390Smrg 4705fe605390Smrg# Determine whether it's possible to make 'echo' print without a newline. 4706fe605390Smrg# These variables are no longer used directly by Autoconf, but are AC_SUBSTed 4707fe605390Smrg# for compatibility with existing Makefiles. 470863fbae1dSmrgECHO_C= ECHO_N= ECHO_T= 470963fbae1dSmrgcase `echo -n x` in #((((( 471063fbae1dSmrg-n*) 471163fbae1dSmrg case `echo 'xy\c'` in 471263fbae1dSmrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 471363fbae1dSmrg xy) ECHO_C='\c';; 471463fbae1dSmrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 471563fbae1dSmrg ECHO_T=' ';; 471663fbae1dSmrg esac;; 471763fbae1dSmrg*) 471863fbae1dSmrg ECHO_N='-n';; 471920d725fbSmrgesac 472020d725fbSmrg 4721fe605390Smrg# For backward compatibility with old third-party macros, we provide 4722fe605390Smrg# the shell variables $as_echo and $as_echo_n. New code should use 4723fe605390Smrg# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. 4724fe605390Smrgas_echo='printf %s\n' 4725fe605390Smrgas_echo_n='printf %s' 4726fe605390Smrg 472763fbae1dSmrgrm -f conf$$ conf$$.exe conf$$.file 472863fbae1dSmrgif test -d conf$$.dir; then 472963fbae1dSmrg rm -f conf$$.dir/conf$$.file 473020d725fbSmrgelse 473163fbae1dSmrg rm -f conf$$.dir 473263fbae1dSmrg mkdir conf$$.dir 2>/dev/null 473363fbae1dSmrgfi 473463fbae1dSmrgif (echo >conf$$.file) 2>/dev/null; then 473563fbae1dSmrg if ln -s conf$$.file conf$$ 2>/dev/null; then 473663fbae1dSmrg as_ln_s='ln -s' 473763fbae1dSmrg # ... but there are two gotchas: 473863fbae1dSmrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 473963fbae1dSmrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 4740fe605390Smrg # In both cases, we have to default to `cp -pR'. 474163fbae1dSmrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 4742fe605390Smrg as_ln_s='cp -pR' 474363fbae1dSmrg elif ln conf$$.file conf$$ 2>/dev/null; then 474463fbae1dSmrg as_ln_s=ln 474563fbae1dSmrg else 4746fe605390Smrg as_ln_s='cp -pR' 474763fbae1dSmrg fi 474863fbae1dSmrgelse 4749fe605390Smrg as_ln_s='cp -pR' 475063fbae1dSmrgfi 475163fbae1dSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 475263fbae1dSmrgrmdir conf$$.dir 2>/dev/null 475320d725fbSmrg 475463fbae1dSmrg 475563fbae1dSmrg# as_fn_mkdir_p 475663fbae1dSmrg# ------------- 475763fbae1dSmrg# Create "$as_dir" as a directory, including parents if necessary. 475863fbae1dSmrgas_fn_mkdir_p () 475920d725fbSmrg{ 476020d725fbSmrg 476163fbae1dSmrg case $as_dir in #( 476263fbae1dSmrg -*) as_dir=./$as_dir;; 476363fbae1dSmrg esac 476463fbae1dSmrg test -d "$as_dir" || eval $as_mkdir_p || { 476563fbae1dSmrg as_dirs= 476663fbae1dSmrg while :; do 476763fbae1dSmrg case $as_dir in #( 4768fe605390Smrg *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 476963fbae1dSmrg *) as_qdir=$as_dir;; 477063fbae1dSmrg esac 477163fbae1dSmrg as_dirs="'$as_qdir' $as_dirs" 477263fbae1dSmrg as_dir=`$as_dirname -- "$as_dir" || 477363fbae1dSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 477463fbae1dSmrg X"$as_dir" : 'X\(//\)[^/]' \| \ 477563fbae1dSmrg X"$as_dir" : 'X\(//\)$' \| \ 477663fbae1dSmrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 4777fe605390Smrgprintf "%s\n" X"$as_dir" | 477863fbae1dSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 477963fbae1dSmrg s//\1/ 478063fbae1dSmrg q 478163fbae1dSmrg } 478263fbae1dSmrg /^X\(\/\/\)[^/].*/{ 478363fbae1dSmrg s//\1/ 478463fbae1dSmrg q 478563fbae1dSmrg } 478663fbae1dSmrg /^X\(\/\/\)$/{ 478763fbae1dSmrg s//\1/ 478863fbae1dSmrg q 478963fbae1dSmrg } 479063fbae1dSmrg /^X\(\/\).*/{ 479163fbae1dSmrg s//\1/ 479263fbae1dSmrg q 479363fbae1dSmrg } 479463fbae1dSmrg s/.*/./; q'` 479563fbae1dSmrg test -d "$as_dir" && break 479663fbae1dSmrg done 479763fbae1dSmrg test -z "$as_dirs" || eval "mkdir $as_dirs" 4798fe605390Smrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 479963fbae1dSmrg 480063fbae1dSmrg 480163fbae1dSmrg} # as_fn_mkdir_p 480263fbae1dSmrgif mkdir -p . 2>/dev/null; then 480363fbae1dSmrg as_mkdir_p='mkdir -p "$as_dir"' 480420d725fbSmrgelse 480563fbae1dSmrg test -d ./-p && rmdir ./-p 480663fbae1dSmrg as_mkdir_p=false 480763fbae1dSmrgfi 480820d725fbSmrg 4809fe605390Smrg 4810fe605390Smrg# as_fn_executable_p FILE 4811fe605390Smrg# ----------------------- 4812fe605390Smrg# Test if FILE is an executable regular file. 4813fe605390Smrgas_fn_executable_p () 4814fe605390Smrg{ 4815fe605390Smrg test -f "$1" && test -x "$1" 4816fe605390Smrg} # as_fn_executable_p 4817fe605390Smrgas_test_x='test -x' 4818fe605390Smrgas_executable_p=as_fn_executable_p 481920d725fbSmrg 482063fbae1dSmrg# Sed expression to map a string onto a valid CPP name. 482163fbae1dSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 482220d725fbSmrg 482363fbae1dSmrg# Sed expression to map a string onto a valid variable name. 482463fbae1dSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 482520d725fbSmrg 482620d725fbSmrg 482763fbae1dSmrgexec 6>&1 482863fbae1dSmrg## ----------------------------------- ## 482963fbae1dSmrg## Main body of $CONFIG_STATUS script. ## 483063fbae1dSmrg## ----------------------------------- ## 483163fbae1dSmrg_ASEOF 483263fbae1dSmrgtest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 483363fbae1dSmrg 483463fbae1dSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 483563fbae1dSmrg# Save the log message, to keep $0 and so on meaningful, and to 483663fbae1dSmrg# report actual input values of CONFIG_FILES etc. instead of their 483763fbae1dSmrg# values after options handling. 483863fbae1dSmrgac_log=" 4839fe605390SmrgThis file was extended by libpthread-stubs $as_me 0.5, which was 4840fe605390Smrggenerated by GNU Autoconf 2.71. Invocation command line was 484120d725fbSmrg 484263fbae1dSmrg CONFIG_FILES = $CONFIG_FILES 484363fbae1dSmrg CONFIG_HEADERS = $CONFIG_HEADERS 484463fbae1dSmrg CONFIG_LINKS = $CONFIG_LINKS 484563fbae1dSmrg CONFIG_COMMANDS = $CONFIG_COMMANDS 484663fbae1dSmrg $ $0 $@ 484720d725fbSmrg 484863fbae1dSmrgon `(hostname || uname -n) 2>/dev/null | sed 1q` 484963fbae1dSmrg" 485020d725fbSmrg 485120d725fbSmrg_ACEOF 485263fbae1dSmrg 485363fbae1dSmrgcase $ac_config_files in *" 485463fbae1dSmrg"*) set x $ac_config_files; shift; ac_config_files=$*;; 485520d725fbSmrgesac 485663fbae1dSmrg 485720d725fbSmrg 485863fbae1dSmrg 485963fbae1dSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 486063fbae1dSmrg# Files that config.status was made for. 486163fbae1dSmrgconfig_files="$ac_config_files" 486263fbae1dSmrgconfig_commands="$ac_config_commands" 486363fbae1dSmrg 486420d725fbSmrg_ACEOF 486520d725fbSmrg 486663fbae1dSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 486763fbae1dSmrgac_cs_usage="\ 486863fbae1dSmrg\`$as_me' instantiates files and other configuration actions 486963fbae1dSmrgfrom templates according to the current configuration. Unless the files 487063fbae1dSmrgand actions are specified as TAGs, all are instantiated by default. 487163fbae1dSmrg 487263fbae1dSmrgUsage: $0 [OPTION]... [TAG]... 487363fbae1dSmrg 487463fbae1dSmrg -h, --help print this help, then exit 487563fbae1dSmrg -V, --version print version number and configuration settings, then exit 4876fe605390Smrg --config print configuration, then exit 487763fbae1dSmrg -q, --quiet, --silent 487863fbae1dSmrg do not print progress messages 487963fbae1dSmrg -d, --debug don't remove temporary files 488063fbae1dSmrg --recheck update $as_me by reconfiguring in the same conditions 488163fbae1dSmrg --file=FILE[:TEMPLATE] 488263fbae1dSmrg instantiate the configuration file FILE 488363fbae1dSmrg 488463fbae1dSmrgConfiguration files: 488563fbae1dSmrg$config_files 488663fbae1dSmrg 488763fbae1dSmrgConfiguration commands: 488863fbae1dSmrg$config_commands 488963fbae1dSmrg 489063fbae1dSmrgReport bugs to <xcb@lists.freedesktop.org>." 489120d725fbSmrg 489220d725fbSmrg_ACEOF 4893fe605390Smrgac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` 4894fe605390Smrgac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` 489563fbae1dSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4896fe605390Smrgac_cs_config='$ac_cs_config_escaped' 489763fbae1dSmrgac_cs_version="\\ 4898fe605390Smrglibpthread-stubs config.status 0.5 4899fe605390Smrgconfigured by $0, generated by GNU Autoconf 2.71, 4900fe605390Smrg with options \\"\$ac_cs_config\\" 490120d725fbSmrg 4902fe605390SmrgCopyright (C) 2021 Free Software Foundation, Inc. 490363fbae1dSmrgThis config.status script is free software; the Free Software Foundation 490463fbae1dSmrggives unlimited permission to copy, distribute and modify it." 490520d725fbSmrg 490663fbae1dSmrgac_pwd='$ac_pwd' 490763fbae1dSmrgsrcdir='$srcdir' 490863fbae1dSmrgINSTALL='$INSTALL' 490963fbae1dSmrgMKDIR_P='$MKDIR_P' 491063fbae1dSmrgAWK='$AWK' 491163fbae1dSmrgtest -n "\$AWK" || AWK=awk 491263fbae1dSmrg_ACEOF 491320d725fbSmrg 491463fbae1dSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 491563fbae1dSmrg# The default lists apply if the user does not specify any file. 491663fbae1dSmrgac_need_defaults=: 491763fbae1dSmrgwhile test $# != 0 491863fbae1dSmrgdo 491963fbae1dSmrg case $1 in 4920fe605390Smrg --*=?*) 492163fbae1dSmrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 492263fbae1dSmrg ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 492363fbae1dSmrg ac_shift=: 492463fbae1dSmrg ;; 4925fe605390Smrg --*=) 4926fe605390Smrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 4927fe605390Smrg ac_optarg= 4928fe605390Smrg ac_shift=: 4929fe605390Smrg ;; 493063fbae1dSmrg *) 493163fbae1dSmrg ac_option=$1 493263fbae1dSmrg ac_optarg=$2 493363fbae1dSmrg ac_shift=shift 493463fbae1dSmrg ;; 493563fbae1dSmrg esac 493620d725fbSmrg 493763fbae1dSmrg case $ac_option in 493863fbae1dSmrg # Handling of the options. 493963fbae1dSmrg -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 494063fbae1dSmrg ac_cs_recheck=: ;; 494163fbae1dSmrg --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 4942fe605390Smrg printf "%s\n" "$ac_cs_version"; exit ;; 4943fe605390Smrg --config | --confi | --conf | --con | --co | --c ) 4944fe605390Smrg printf "%s\n" "$ac_cs_config"; exit ;; 494563fbae1dSmrg --debug | --debu | --deb | --de | --d | -d ) 494663fbae1dSmrg debug=: ;; 494763fbae1dSmrg --file | --fil | --fi | --f ) 494863fbae1dSmrg $ac_shift 494963fbae1dSmrg case $ac_optarg in 4950fe605390Smrg *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 4951fe605390Smrg '') as_fn_error $? "missing file argument" ;; 495263fbae1dSmrg esac 495363fbae1dSmrg as_fn_append CONFIG_FILES " '$ac_optarg'" 495463fbae1dSmrg ac_need_defaults=false;; 4955fe605390Smrg --he | --h | --help | --hel | -h ) 4956fe605390Smrg printf "%s\n" "$ac_cs_usage"; exit ;; 495763fbae1dSmrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 495863fbae1dSmrg | -silent | --silent | --silen | --sile | --sil | --si | --s) 495963fbae1dSmrg ac_cs_silent=: ;; 496020d725fbSmrg 496163fbae1dSmrg # This is an error. 4962fe605390Smrg -*) as_fn_error $? "unrecognized option: \`$1' 496363fbae1dSmrgTry \`$0 --help' for more information." ;; 496463fbae1dSmrg 496563fbae1dSmrg *) as_fn_append ac_config_targets " $1" 496663fbae1dSmrg ac_need_defaults=false ;; 496763fbae1dSmrg 496863fbae1dSmrg esac 496963fbae1dSmrg shift 497063fbae1dSmrgdone 497163fbae1dSmrg 497263fbae1dSmrgac_configure_extra_args= 497363fbae1dSmrg 497463fbae1dSmrgif $ac_cs_silent; then 497563fbae1dSmrg exec 6>/dev/null 497663fbae1dSmrg ac_configure_extra_args="$ac_configure_extra_args --silent" 497720d725fbSmrgfi 497863fbae1dSmrg 497963fbae1dSmrg_ACEOF 498063fbae1dSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 498163fbae1dSmrgif \$ac_cs_recheck; then 4982fe605390Smrg set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 498363fbae1dSmrg shift 4984fe605390Smrg \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 498563fbae1dSmrg CONFIG_SHELL='$SHELL' 498663fbae1dSmrg export CONFIG_SHELL 498763fbae1dSmrg exec "\$@" 498820d725fbSmrgfi 498963fbae1dSmrg 499020d725fbSmrg_ACEOF 499163fbae1dSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 499263fbae1dSmrgexec 5>>config.log 499320d725fbSmrg{ 499463fbae1dSmrg echo 499563fbae1dSmrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 499663fbae1dSmrg## Running $as_me. ## 499763fbae1dSmrg_ASBOX 4998fe605390Smrg printf "%s\n" "$ac_log" 499963fbae1dSmrg} >&5 500020d725fbSmrg 500163fbae1dSmrg_ACEOF 500263fbae1dSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 500363fbae1dSmrg# 500463fbae1dSmrg# INIT-COMMANDS 500563fbae1dSmrg# 5006fe605390SmrgAMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" 500720d725fbSmrg 500863fbae1dSmrg_ACEOF 500920d725fbSmrg 501063fbae1dSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 501120d725fbSmrg 501263fbae1dSmrg# Handling of arguments. 501363fbae1dSmrgfor ac_config_target in $ac_config_targets 501463fbae1dSmrgdo 501563fbae1dSmrg case $ac_config_target in 501663fbae1dSmrg "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 501763fbae1dSmrg "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 501863fbae1dSmrg "pthread-stubs.pc") CONFIG_FILES="$CONFIG_FILES pthread-stubs.pc" ;; 501963fbae1dSmrg 5020fe605390Smrg *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 502163fbae1dSmrg esac 502263fbae1dSmrgdone 502320d725fbSmrg 502420d725fbSmrg 502563fbae1dSmrg# If the user did not use the arguments to specify the items to instantiate, 502663fbae1dSmrg# then the envvar interface is used. Set only those that are not. 502763fbae1dSmrg# We use the long form for the default assignment because of an extremely 502863fbae1dSmrg# bizarre bug on SunOS 4.1.3. 502963fbae1dSmrgif $ac_need_defaults; then 5030fe605390Smrg test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files 5031fe605390Smrg test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands 503220d725fbSmrgfi 503320d725fbSmrg 503463fbae1dSmrg# Have a temporary directory for convenience. Make it in the build tree 503563fbae1dSmrg# simply because there is no reason against having it here, and in addition, 503663fbae1dSmrg# creating and moving files from /tmp can sometimes cause problems. 503763fbae1dSmrg# Hook for its removal unless debugging. 503863fbae1dSmrg# Note that there is a small window in which the directory will not be cleaned: 503963fbae1dSmrg# after its creation but before its name has been assigned to `$tmp'. 504063fbae1dSmrg$debug || 504163fbae1dSmrg{ 5042fe605390Smrg tmp= ac_tmp= 504363fbae1dSmrg trap 'exit_status=$? 5044fe605390Smrg : "${ac_tmp:=$tmp}" 5045fe605390Smrg { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 504663fbae1dSmrg' 0 504763fbae1dSmrg trap 'as_fn_exit 1' 1 2 13 15 504863fbae1dSmrg} 504963fbae1dSmrg# Create a (secure) tmp directory for tmp files. 505063fbae1dSmrg 505163fbae1dSmrg{ 505263fbae1dSmrg tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 5053fe605390Smrg test -d "$tmp" 505463fbae1dSmrg} || 505563fbae1dSmrg{ 505663fbae1dSmrg tmp=./conf$$-$RANDOM 505763fbae1dSmrg (umask 077 && mkdir "$tmp") 5058fe605390Smrg} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 5059fe605390Smrgac_tmp=$tmp 506020d725fbSmrg 506163fbae1dSmrg# Set up the scripts for CONFIG_FILES section. 506263fbae1dSmrg# No need to generate them if there are no CONFIG_FILES. 506363fbae1dSmrg# This happens for instance with `./config.status config.h'. 506463fbae1dSmrgif test -n "$CONFIG_FILES"; then 506520d725fbSmrg 506663fbae1dSmrg 506763fbae1dSmrgac_cr=`echo X | tr X '\015'` 506863fbae1dSmrg# On cygwin, bash can eat \r inside `` if the user requested igncr. 506963fbae1dSmrg# But we know of no other shell where ac_cr would be empty at this 507063fbae1dSmrg# point, so we can use a bashism as a fallback. 507163fbae1dSmrgif test "x$ac_cr" = x; then 507263fbae1dSmrg eval ac_cr=\$\'\\r\' 507363fbae1dSmrgfi 507463fbae1dSmrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 507563fbae1dSmrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 5076fe605390Smrg ac_cs_awk_cr='\\r' 507720d725fbSmrgelse 507863fbae1dSmrg ac_cs_awk_cr=$ac_cr 507920d725fbSmrgfi 508020d725fbSmrg 5081fe605390Smrgecho 'BEGIN {' >"$ac_tmp/subs1.awk" && 508263fbae1dSmrg_ACEOF 508320d725fbSmrg 508420d725fbSmrg 508563fbae1dSmrg{ 508663fbae1dSmrg echo "cat >conf$$subs.awk <<_ACEOF" && 508763fbae1dSmrg echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 508863fbae1dSmrg echo "_ACEOF" 508963fbae1dSmrg} >conf$$subs.sh || 5090fe605390Smrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5091fe605390Smrgac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 509263fbae1dSmrgac_delim='%!_!# ' 509363fbae1dSmrgfor ac_last_try in false false false false false :; do 509463fbae1dSmrg . ./conf$$subs.sh || 5095fe605390Smrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 509620d725fbSmrg 509763fbae1dSmrg ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 509863fbae1dSmrg if test $ac_delim_n = $ac_delim_num; then 509963fbae1dSmrg break 510063fbae1dSmrg elif $ac_last_try; then 5101fe605390Smrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 510263fbae1dSmrg else 510363fbae1dSmrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 510463fbae1dSmrg fi 510563fbae1dSmrgdone 510663fbae1dSmrgrm -f conf$$subs.sh 510763fbae1dSmrg 510863fbae1dSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5109fe605390Smrgcat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 511063fbae1dSmrg_ACEOF 511163fbae1dSmrgsed -n ' 511263fbae1dSmrgh 511363fbae1dSmrgs/^/S["/; s/!.*/"]=/ 511463fbae1dSmrgp 511563fbae1dSmrgg 511663fbae1dSmrgs/^[^!]*!// 511763fbae1dSmrg:repl 511863fbae1dSmrgt repl 511963fbae1dSmrgs/'"$ac_delim"'$// 512063fbae1dSmrgt delim 512163fbae1dSmrg:nl 512263fbae1dSmrgh 5123fe605390Smrgs/\(.\{148\}\)..*/\1/ 512463fbae1dSmrgt more1 512563fbae1dSmrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 512663fbae1dSmrgp 512763fbae1dSmrgn 512863fbae1dSmrgb repl 512963fbae1dSmrg:more1 513063fbae1dSmrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 513163fbae1dSmrgp 513263fbae1dSmrgg 513363fbae1dSmrgs/.\{148\}// 513463fbae1dSmrgt nl 513563fbae1dSmrg:delim 513663fbae1dSmrgh 5137fe605390Smrgs/\(.\{148\}\)..*/\1/ 513863fbae1dSmrgt more2 513963fbae1dSmrgs/["\\]/\\&/g; s/^/"/; s/$/"/ 514063fbae1dSmrgp 514163fbae1dSmrgb 514263fbae1dSmrg:more2 514363fbae1dSmrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 514463fbae1dSmrgp 514563fbae1dSmrgg 514663fbae1dSmrgs/.\{148\}// 514763fbae1dSmrgt delim 514863fbae1dSmrg' <conf$$subs.awk | sed ' 514963fbae1dSmrg/^[^""]/{ 515063fbae1dSmrg N 515163fbae1dSmrg s/\n// 515263fbae1dSmrg} 515363fbae1dSmrg' >>$CONFIG_STATUS || ac_write_fail=1 515463fbae1dSmrgrm -f conf$$subs.awk 515563fbae1dSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 515663fbae1dSmrg_ACAWK 5157fe605390Smrgcat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 515863fbae1dSmrg for (key in S) S_is_set[key] = 1 515963fbae1dSmrg FS = "" 516020d725fbSmrg 516163fbae1dSmrg} 516263fbae1dSmrg{ 516363fbae1dSmrg line = $ 0 516463fbae1dSmrg nfields = split(line, field, "@") 516563fbae1dSmrg substed = 0 516663fbae1dSmrg len = length(field[1]) 516763fbae1dSmrg for (i = 2; i < nfields; i++) { 516863fbae1dSmrg key = field[i] 516963fbae1dSmrg keylen = length(key) 517063fbae1dSmrg if (S_is_set[key]) { 517163fbae1dSmrg value = S[key] 517263fbae1dSmrg line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 517363fbae1dSmrg len += length(value) + length(field[++i]) 517463fbae1dSmrg substed = 1 517563fbae1dSmrg } else 517663fbae1dSmrg len += 1 + keylen 517763fbae1dSmrg } 517863fbae1dSmrg 517963fbae1dSmrg print line 518063fbae1dSmrg} 518120d725fbSmrg 518263fbae1dSmrg_ACAWK 518320d725fbSmrg_ACEOF 518463fbae1dSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 518563fbae1dSmrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 518663fbae1dSmrg sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 518720d725fbSmrgelse 518863fbae1dSmrg cat 5189fe605390Smrgfi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 5190fe605390Smrg || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 519163fbae1dSmrg_ACEOF 519220d725fbSmrg 5193fe605390Smrg# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 5194fe605390Smrg# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 519563fbae1dSmrg# trailing colons and then remove the whole line if VPATH becomes empty 519663fbae1dSmrg# (actually we leave an empty line to preserve line numbers). 519763fbae1dSmrgif test "x$srcdir" = x.; then 5198fe605390Smrg ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 5199fe605390Smrgh 5200fe605390Smrgs/// 5201fe605390Smrgs/^/:/ 5202fe605390Smrgs/[ ]*$/:/ 5203fe605390Smrgs/:\$(srcdir):/:/g 5204fe605390Smrgs/:\${srcdir}:/:/g 5205fe605390Smrgs/:@srcdir@:/:/g 5206fe605390Smrgs/^:*// 520763fbae1dSmrgs/:*$// 5208fe605390Smrgx 5209fe605390Smrgs/\(=[ ]*\).*/\1/ 5210fe605390SmrgG 5211fe605390Smrgs/\n// 521263fbae1dSmrgs/^[^=]*=[ ]*$// 521363fbae1dSmrg}' 521420d725fbSmrgfi 521520d725fbSmrg 521663fbae1dSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 521763fbae1dSmrgfi # test -n "$CONFIG_FILES" 521820d725fbSmrg 521963fbae1dSmrg 5220fe605390Smrgeval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" 522163fbae1dSmrgshift 522263fbae1dSmrgfor ac_tag 522363fbae1dSmrgdo 522463fbae1dSmrg case $ac_tag in 522563fbae1dSmrg :[FHLC]) ac_mode=$ac_tag; continue;; 522663fbae1dSmrg esac 522763fbae1dSmrg case $ac_mode$ac_tag in 522863fbae1dSmrg :[FHL]*:*);; 5229fe605390Smrg :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 523063fbae1dSmrg :[FH]-) ac_tag=-:-;; 523163fbae1dSmrg :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 523263fbae1dSmrg esac 523363fbae1dSmrg ac_save_IFS=$IFS 523463fbae1dSmrg IFS=: 523563fbae1dSmrg set x $ac_tag 523663fbae1dSmrg IFS=$ac_save_IFS 523763fbae1dSmrg shift 523863fbae1dSmrg ac_file=$1 523963fbae1dSmrg shift 524020d725fbSmrg 524163fbae1dSmrg case $ac_mode in 524263fbae1dSmrg :L) ac_source=$1;; 524363fbae1dSmrg :[FH]) 524463fbae1dSmrg ac_file_inputs= 524563fbae1dSmrg for ac_f 524663fbae1dSmrg do 524763fbae1dSmrg case $ac_f in 5248fe605390Smrg -) ac_f="$ac_tmp/stdin";; 524963fbae1dSmrg *) # Look for the file first in the build tree, then in the source tree 525063fbae1dSmrg # (if the path is not absolute). The absolute path cannot be DOS-style, 525163fbae1dSmrg # because $ac_f cannot contain `:'. 525263fbae1dSmrg test -f "$ac_f" || 525363fbae1dSmrg case $ac_f in 525463fbae1dSmrg [\\/$]*) false;; 525563fbae1dSmrg *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 525663fbae1dSmrg esac || 5257fe605390Smrg as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 525863fbae1dSmrg esac 5259fe605390Smrg case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 526063fbae1dSmrg as_fn_append ac_file_inputs " '$ac_f'" 526163fbae1dSmrg done 526220d725fbSmrg 526363fbae1dSmrg # Let's still pretend it is `configure' which instantiates (i.e., don't 526463fbae1dSmrg # use $as_me), people would be surprised to read: 526563fbae1dSmrg # /* config.h. Generated by config.status. */ 526663fbae1dSmrg configure_input='Generated from '` 5267fe605390Smrg printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 526863fbae1dSmrg `' by configure.' 526963fbae1dSmrg if test x"$ac_file" != x-; then 527063fbae1dSmrg configure_input="$ac_file. $configure_input" 5271fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 5272fe605390Smrgprintf "%s\n" "$as_me: creating $ac_file" >&6;} 527363fbae1dSmrg fi 527463fbae1dSmrg # Neutralize special characters interpreted by sed in replacement strings. 527563fbae1dSmrg case $configure_input in #( 527663fbae1dSmrg *\&* | *\|* | *\\* ) 5277fe605390Smrg ac_sed_conf_input=`printf "%s\n" "$configure_input" | 527863fbae1dSmrg sed 's/[\\\\&|]/\\\\&/g'`;; #( 527963fbae1dSmrg *) ac_sed_conf_input=$configure_input;; 528063fbae1dSmrg esac 528120d725fbSmrg 528263fbae1dSmrg case $ac_tag in 5283fe605390Smrg *:-:* | *:-) cat >"$ac_tmp/stdin" \ 5284fe605390Smrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 528563fbae1dSmrg esac 528663fbae1dSmrg ;; 528763fbae1dSmrg esac 528820d725fbSmrg 528963fbae1dSmrg ac_dir=`$as_dirname -- "$ac_file" || 529063fbae1dSmrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 529163fbae1dSmrg X"$ac_file" : 'X\(//\)[^/]' \| \ 529263fbae1dSmrg X"$ac_file" : 'X\(//\)$' \| \ 529363fbae1dSmrg X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 5294fe605390Smrgprintf "%s\n" X"$ac_file" | 529563fbae1dSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 529663fbae1dSmrg s//\1/ 529763fbae1dSmrg q 529863fbae1dSmrg } 529963fbae1dSmrg /^X\(\/\/\)[^/].*/{ 530063fbae1dSmrg s//\1/ 530163fbae1dSmrg q 530263fbae1dSmrg } 530363fbae1dSmrg /^X\(\/\/\)$/{ 530463fbae1dSmrg s//\1/ 530563fbae1dSmrg q 530663fbae1dSmrg } 530763fbae1dSmrg /^X\(\/\).*/{ 530863fbae1dSmrg s//\1/ 530963fbae1dSmrg q 531063fbae1dSmrg } 531163fbae1dSmrg s/.*/./; q'` 531263fbae1dSmrg as_dir="$ac_dir"; as_fn_mkdir_p 531363fbae1dSmrg ac_builddir=. 531420d725fbSmrg 531563fbae1dSmrgcase "$ac_dir" in 531663fbae1dSmrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 531763fbae1dSmrg*) 5318fe605390Smrg ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 531963fbae1dSmrg # A ".." for each directory in $ac_dir_suffix. 5320fe605390Smrg ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 532163fbae1dSmrg case $ac_top_builddir_sub in 532263fbae1dSmrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 532363fbae1dSmrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 532463fbae1dSmrg esac ;; 532563fbae1dSmrgesac 532663fbae1dSmrgac_abs_top_builddir=$ac_pwd 532763fbae1dSmrgac_abs_builddir=$ac_pwd$ac_dir_suffix 532863fbae1dSmrg# for backward compatibility: 532963fbae1dSmrgac_top_builddir=$ac_top_build_prefix 533020d725fbSmrg 533163fbae1dSmrgcase $srcdir in 533263fbae1dSmrg .) # We are building in place. 533363fbae1dSmrg ac_srcdir=. 533463fbae1dSmrg ac_top_srcdir=$ac_top_builddir_sub 533563fbae1dSmrg ac_abs_top_srcdir=$ac_pwd ;; 533663fbae1dSmrg [\\/]* | ?:[\\/]* ) # Absolute name. 533763fbae1dSmrg ac_srcdir=$srcdir$ac_dir_suffix; 533863fbae1dSmrg ac_top_srcdir=$srcdir 533963fbae1dSmrg ac_abs_top_srcdir=$srcdir ;; 534063fbae1dSmrg *) # Relative name. 534163fbae1dSmrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 534263fbae1dSmrg ac_top_srcdir=$ac_top_build_prefix$srcdir 534363fbae1dSmrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 534463fbae1dSmrgesac 534563fbae1dSmrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 534620d725fbSmrg 534720d725fbSmrg 534863fbae1dSmrg case $ac_mode in 534963fbae1dSmrg :F) 535063fbae1dSmrg # 535163fbae1dSmrg # CONFIG_FILE 535263fbae1dSmrg # 535320d725fbSmrg 535463fbae1dSmrg case $INSTALL in 535563fbae1dSmrg [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 535663fbae1dSmrg *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 535763fbae1dSmrg esac 535863fbae1dSmrg ac_MKDIR_P=$MKDIR_P 535963fbae1dSmrg case $MKDIR_P in 536063fbae1dSmrg [\\/$]* | ?:[\\/]* ) ;; 536163fbae1dSmrg */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 536263fbae1dSmrg esac 536363fbae1dSmrg_ACEOF 536420d725fbSmrg 536563fbae1dSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 536663fbae1dSmrg# If the template does not know about datarootdir, expand it. 536763fbae1dSmrg# FIXME: This hack should be removed a few years after 2.60. 536863fbae1dSmrgac_datarootdir_hack=; ac_datarootdir_seen= 536963fbae1dSmrgac_sed_dataroot=' 537063fbae1dSmrg/datarootdir/ { 537163fbae1dSmrg p 537263fbae1dSmrg q 537363fbae1dSmrg} 537463fbae1dSmrg/@datadir@/p 537563fbae1dSmrg/@docdir@/p 537663fbae1dSmrg/@infodir@/p 537763fbae1dSmrg/@localedir@/p 537863fbae1dSmrg/@mandir@/p' 537963fbae1dSmrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 538063fbae1dSmrg*datarootdir*) ac_datarootdir_seen=yes;; 538163fbae1dSmrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 5382fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 5383fe605390Smrgprintf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 538463fbae1dSmrg_ACEOF 538563fbae1dSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 538663fbae1dSmrg ac_datarootdir_hack=' 538763fbae1dSmrg s&@datadir@&$datadir&g 538863fbae1dSmrg s&@docdir@&$docdir&g 538963fbae1dSmrg s&@infodir@&$infodir&g 539063fbae1dSmrg s&@localedir@&$localedir&g 539163fbae1dSmrg s&@mandir@&$mandir&g 539263fbae1dSmrg s&\\\${datarootdir}&$datarootdir&g' ;; 539363fbae1dSmrgesac 539463fbae1dSmrg_ACEOF 539520d725fbSmrg 539663fbae1dSmrg# Neutralize VPATH when `$srcdir' = `.'. 539763fbae1dSmrg# Shell code in configure.ac might set extrasub. 539863fbae1dSmrg# FIXME: do we really want to maintain this feature? 539963fbae1dSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 540063fbae1dSmrgac_sed_extra="$ac_vpsub 540163fbae1dSmrg$extrasub 540220d725fbSmrg_ACEOF 5403fe605390Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5404fe605390Smrg:t 5405fe605390Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 5406fe605390Smrgs|@configure_input@|$ac_sed_conf_input|;t t 5407fe605390Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t 5408fe605390Smrgs&@top_build_prefix@&$ac_top_build_prefix&;t t 5409fe605390Smrgs&@srcdir@&$ac_srcdir&;t t 5410fe605390Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t 5411fe605390Smrgs&@top_srcdir@&$ac_top_srcdir&;t t 5412fe605390Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 5413fe605390Smrgs&@builddir@&$ac_builddir&;t t 5414fe605390Smrgs&@abs_builddir@&$ac_abs_builddir&;t t 5415fe605390Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t 5416fe605390Smrgs&@INSTALL@&$ac_INSTALL&;t t 5417fe605390Smrgs&@MKDIR_P@&$ac_MKDIR_P&;t t 5418fe605390Smrg$ac_datarootdir_hack 5419fe605390Smrg" 5420fe605390Smrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 5421fe605390Smrg >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 5422fe605390Smrg 5423fe605390Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 5424fe605390Smrg { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 5425fe605390Smrg { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 5426fe605390Smrg "$ac_tmp/out"`; test -z "$ac_out"; } && 5427fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 5428fe605390Smrgwhich seems to be undefined. Please make sure it is defined" >&5 5429fe605390Smrgprintf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 5430fe605390Smrgwhich seems to be undefined. Please make sure it is defined" >&2;} 5431fe605390Smrg 5432fe605390Smrg rm -f "$ac_tmp/stdin" 5433fe605390Smrg case $ac_file in 5434fe605390Smrg -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 5435fe605390Smrg *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 5436fe605390Smrg esac \ 5437fe605390Smrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 543863fbae1dSmrg ;; 543920d725fbSmrg 5440fe605390Smrg 5441fe605390Smrg :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 5442fe605390Smrgprintf "%s\n" "$as_me: executing $ac_file commands" >&6;} 544363fbae1dSmrg ;; 544463fbae1dSmrg esac 544520d725fbSmrg 544620d725fbSmrg 544763fbae1dSmrg case $ac_file$ac_mode in 544863fbae1dSmrg "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 5449fe605390Smrg # Older Autoconf quotes --file arguments for eval, but not when files 545063fbae1dSmrg # are listed without --file. Let's play safe and only enable the eval 545163fbae1dSmrg # if we detect the quoting. 5452fe605390Smrg # TODO: see whether this extra hack can be removed once we start 5453fe605390Smrg # requiring Autoconf 2.70 or later. 5454fe605390Smrg case $CONFIG_FILES in #( 5455fe605390Smrg *\'*) : 5456fe605390Smrg eval set x "$CONFIG_FILES" ;; #( 5457fe605390Smrg *) : 5458fe605390Smrg set x $CONFIG_FILES ;; #( 5459fe605390Smrg *) : 5460fe605390Smrg ;; 5461fe605390Smrgesac 546263fbae1dSmrg shift 5463fe605390Smrg # Used to flag and report bootstrapping failures. 5464fe605390Smrg am_rc=0 5465fe605390Smrg for am_mf 546663fbae1dSmrg do 546763fbae1dSmrg # Strip MF so we end up with the name of the file. 5468fe605390Smrg am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'` 5469fe605390Smrg # Check whether this is an Automake generated Makefile which includes 5470fe605390Smrg # dependency-tracking related rules and includes. 5471fe605390Smrg # Grep'ing the whole file directly is not great: AIX grep has a line 547263fbae1dSmrg # limit of 2048, but all sed's we know have understand at least 4000. 5473fe605390Smrg sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ 5474fe605390Smrg || continue 5475fe605390Smrg am_dirpart=`$as_dirname -- "$am_mf" || 5476fe605390Smrg$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5477fe605390Smrg X"$am_mf" : 'X\(//\)[^/]' \| \ 5478fe605390Smrg X"$am_mf" : 'X\(//\)$' \| \ 5479fe605390Smrg X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 5480fe605390Smrgprintf "%s\n" X"$am_mf" | 548163fbae1dSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 548263fbae1dSmrg s//\1/ 548363fbae1dSmrg q 548463fbae1dSmrg } 548563fbae1dSmrg /^X\(\/\/\)[^/].*/{ 548663fbae1dSmrg s//\1/ 548763fbae1dSmrg q 548863fbae1dSmrg } 548963fbae1dSmrg /^X\(\/\/\)$/{ 549063fbae1dSmrg s//\1/ 549163fbae1dSmrg q 549263fbae1dSmrg } 549363fbae1dSmrg /^X\(\/\).*/{ 549463fbae1dSmrg s//\1/ 549563fbae1dSmrg q 549663fbae1dSmrg } 549763fbae1dSmrg s/.*/./; q'` 5498fe605390Smrg am_filepart=`$as_basename -- "$am_mf" || 5499fe605390Smrg$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ 5500fe605390Smrg X"$am_mf" : 'X\(//\)$' \| \ 5501fe605390Smrg X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 5502fe605390Smrgprintf "%s\n" X/"$am_mf" | 5503fe605390Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 550463fbae1dSmrg s//\1/ 550563fbae1dSmrg q 550663fbae1dSmrg } 5507fe605390Smrg /^X\/\(\/\/\)$/{ 550863fbae1dSmrg s//\1/ 550963fbae1dSmrg q 551063fbae1dSmrg } 5511fe605390Smrg /^X\/\(\/\).*/{ 551263fbae1dSmrg s//\1/ 551363fbae1dSmrg q 551463fbae1dSmrg } 551563fbae1dSmrg s/.*/./; q'` 5516fe605390Smrg { echo "$as_me:$LINENO: cd "$am_dirpart" \ 5517fe605390Smrg && sed -e '/# am--include-marker/d' "$am_filepart" \ 5518fe605390Smrg | $MAKE -f - am--depfiles" >&5 5519fe605390Smrg (cd "$am_dirpart" \ 5520fe605390Smrg && sed -e '/# am--include-marker/d' "$am_filepart" \ 5521fe605390Smrg | $MAKE -f - am--depfiles) >&5 2>&5 5522fe605390Smrg ac_status=$? 5523fe605390Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 5524fe605390Smrg (exit $ac_status); } || am_rc=$? 552563fbae1dSmrg done 5526fe605390Smrg if test $am_rc -ne 0; then 5527fe605390Smrg { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5528fe605390Smrgprintf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 5529fe605390Smrgas_fn_error $? "Something went wrong bootstrapping makefile fragments 5530fe605390Smrg for automatic dependency tracking. If GNU make was not used, consider 5531fe605390Smrg re-running the configure script with MAKE=\"gmake\" (or whatever is 5532fe605390Smrg necessary). You can also try re-running configure with the 5533fe605390Smrg '--disable-dependency-tracking' option to at least be able to build 5534fe605390Smrg the package (albeit without support for automatic dependency tracking). 5535fe605390SmrgSee \`config.log' for more details" "$LINENO" 5; } 5536fe605390Smrg fi 5537fe605390Smrg { am_dirpart=; unset am_dirpart;} 5538fe605390Smrg { am_filepart=; unset am_filepart;} 5539fe605390Smrg { am_mf=; unset am_mf;} 5540fe605390Smrg { am_rc=; unset am_rc;} 5541fe605390Smrg rm -f conftest-deps.mk 554263fbae1dSmrg} 554320d725fbSmrg ;; 554420d725fbSmrg 554520d725fbSmrg esac 554620d725fbSmrgdone # for ac_tag 554720d725fbSmrg 554820d725fbSmrg 554963fbae1dSmrgas_fn_exit 0 555020d725fbSmrg_ACEOF 555120d725fbSmrgac_clean_files=$ac_clean_files_save 555220d725fbSmrg 555363fbae1dSmrgtest $ac_write_fail = 0 || 5554fe605390Smrg as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 555563fbae1dSmrg 555620d725fbSmrg 555720d725fbSmrg# configure is writing to config.log, and then calls config.status. 555820d725fbSmrg# config.status does its own redirection, appending to config.log. 555920d725fbSmrg# Unfortunately, on DOS this fails, as config.log is still kept open 556020d725fbSmrg# by configure, so config.status won't be able to write to it; its 556120d725fbSmrg# output is simply discarded. So we exec the FD to /dev/null, 556220d725fbSmrg# effectively closing config.log, so it can be properly (re)opened and 556320d725fbSmrg# appended to by config.status. When coming back to configure, we 556420d725fbSmrg# need to make the FD available again. 556520d725fbSmrgif test "$no_create" != yes; then 556620d725fbSmrg ac_cs_success=: 556720d725fbSmrg ac_config_status_args= 556820d725fbSmrg test "$silent" = yes && 556920d725fbSmrg ac_config_status_args="$ac_config_status_args --quiet" 557020d725fbSmrg exec 5>/dev/null 557120d725fbSmrg $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 557220d725fbSmrg exec 5>>config.log 557320d725fbSmrg # Use ||, not &&, to avoid exiting from the if with $? = 1, which 557420d725fbSmrg # would make configure fail if this is the last instruction. 5575fe605390Smrg $ac_cs_success || as_fn_exit 1 557663fbae1dSmrgfi 557763fbae1dSmrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 5578fe605390Smrg { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 5579fe605390Smrgprintf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 558020d725fbSmrgfi 558120d725fbSmrg 5582fe605390Smrg 5583