configure revision 9ef7378b
1c19de146Smrg#! /bin/sh 2c19de146Smrg# Guess values for system-dependent variables and create Makefiles. 39ef7378bSmrg# Generated by GNU Autoconf 2.65 for xbiff 1.0.2. 4c19de146Smrg# 5c19de146Smrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 6c19de146Smrg# 79ef7378bSmrg# 89ef7378bSmrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 99ef7378bSmrg# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, 109ef7378bSmrg# Inc. 119ef7378bSmrg# 129ef7378bSmrg# 13c19de146Smrg# This configure script is free software; the Free Software Foundation 14c19de146Smrg# gives unlimited permission to copy, distribute and modify it. 159ef7378bSmrg## -------------------- ## 169ef7378bSmrg## M4sh Initialization. ## 179ef7378bSmrg## -------------------- ## 18c19de146Smrg 199ef7378bSmrg# Be more Bourne compatible 209ef7378bSmrgDUALCASE=1; export DUALCASE # for MKS sh 219ef7378bSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 22c19de146Smrg emulate sh 23c19de146Smrg NULLCMD=: 249ef7378bSmrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 25c19de146Smrg # is contrary to our usage. Disable this feature. 26c19de146Smrg alias -g '${1+"$@"}'='"$@"' 279ef7378bSmrg setopt NO_GLOB_SUBST 289ef7378bSmrgelse 299ef7378bSmrg case `(set -o) 2>/dev/null` in #( 309ef7378bSmrg *posix*) : 319ef7378bSmrg set -o posix ;; #( 329ef7378bSmrg *) : 339ef7378bSmrg ;; 349ef7378bSmrgesac 35c19de146Smrgfi 36c19de146Smrg 379ef7378bSmrg 389ef7378bSmrgas_nl=' 399ef7378bSmrg' 409ef7378bSmrgexport as_nl 419ef7378bSmrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 429ef7378bSmrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 439ef7378bSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 449ef7378bSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 459ef7378bSmrg# Prefer a ksh shell builtin over an external printf program on Solaris, 469ef7378bSmrg# but without wasting forks for bash or zsh. 479ef7378bSmrgif test -z "$BASH_VERSION$ZSH_VERSION" \ 489ef7378bSmrg && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 499ef7378bSmrg as_echo='print -r --' 509ef7378bSmrg as_echo_n='print -rn --' 519ef7378bSmrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 529ef7378bSmrg as_echo='printf %s\n' 539ef7378bSmrg as_echo_n='printf %s' 54c19de146Smrgelse 559ef7378bSmrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 569ef7378bSmrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 579ef7378bSmrg as_echo_n='/usr/ucb/echo -n' 589ef7378bSmrg else 599ef7378bSmrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 609ef7378bSmrg as_echo_n_body='eval 619ef7378bSmrg arg=$1; 629ef7378bSmrg case $arg in #( 639ef7378bSmrg *"$as_nl"*) 649ef7378bSmrg expr "X$arg" : "X\\(.*\\)$as_nl"; 659ef7378bSmrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 669ef7378bSmrg esac; 679ef7378bSmrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 689ef7378bSmrg ' 699ef7378bSmrg export as_echo_n_body 709ef7378bSmrg as_echo_n='sh -c $as_echo_n_body as_echo' 719ef7378bSmrg fi 729ef7378bSmrg export as_echo_body 739ef7378bSmrg as_echo='sh -c $as_echo_body as_echo' 749ef7378bSmrgfi 759ef7378bSmrg 769ef7378bSmrg# The user is always right. 779ef7378bSmrgif test "${PATH_SEPARATOR+set}" != set; then 789ef7378bSmrg PATH_SEPARATOR=: 799ef7378bSmrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 809ef7378bSmrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 819ef7378bSmrg PATH_SEPARATOR=';' 829ef7378bSmrg } 83c19de146Smrgfi 84c19de146Smrg 85c19de146Smrg 869ef7378bSmrg# IFS 879ef7378bSmrg# We need space, tab and new line, in precisely that order. Quoting is 889ef7378bSmrg# there to prevent editors from complaining about space-tab. 899ef7378bSmrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 909ef7378bSmrg# splitting by setting IFS to empty value.) 919ef7378bSmrgIFS=" "" $as_nl" 929ef7378bSmrg 939ef7378bSmrg# Find who we are. Look in the path if we contain no directory separator. 949ef7378bSmrgcase $0 in #(( 959ef7378bSmrg *[\\/]* ) as_myself=$0 ;; 969ef7378bSmrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 979ef7378bSmrgfor as_dir in $PATH 989ef7378bSmrgdo 999ef7378bSmrg IFS=$as_save_IFS 1009ef7378bSmrg test -z "$as_dir" && as_dir=. 1019ef7378bSmrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 1029ef7378bSmrg done 1039ef7378bSmrgIFS=$as_save_IFS 1049ef7378bSmrg 1059ef7378bSmrg ;; 1069ef7378bSmrgesac 1079ef7378bSmrg# We did not find ourselves, most probably we were run as `sh COMMAND' 1089ef7378bSmrg# in which case we are not to be found in the path. 1099ef7378bSmrgif test "x$as_myself" = x; then 1109ef7378bSmrg as_myself=$0 1119ef7378bSmrgfi 1129ef7378bSmrgif test ! -f "$as_myself"; then 1139ef7378bSmrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 1149ef7378bSmrg exit 1 1159ef7378bSmrgfi 1169ef7378bSmrg 1179ef7378bSmrg# Unset variables that we do not need and which cause bugs (e.g. in 1189ef7378bSmrg# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 1199ef7378bSmrg# suppresses any "Segmentation fault" message there. '((' could 1209ef7378bSmrg# trigger a bug in pdksh 5.2.14. 1219ef7378bSmrgfor as_var in BASH_ENV ENV MAIL MAILPATH 1229ef7378bSmrgdo eval test x\${$as_var+set} = xset \ 1239ef7378bSmrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 1249ef7378bSmrgdone 125c19de146SmrgPS1='$ ' 126c19de146SmrgPS2='> ' 127c19de146SmrgPS4='+ ' 128c19de146Smrg 129c19de146Smrg# NLS nuisances. 1309ef7378bSmrgLC_ALL=C 1319ef7378bSmrgexport LC_ALL 1329ef7378bSmrgLANGUAGE=C 1339ef7378bSmrgexport LANGUAGE 1349ef7378bSmrg 1359ef7378bSmrg# CDPATH. 1369ef7378bSmrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 1379ef7378bSmrg 1389ef7378bSmrgif test "x$CONFIG_SHELL" = x; then 1399ef7378bSmrg as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 1409ef7378bSmrg emulate sh 1419ef7378bSmrg NULLCMD=: 1429ef7378bSmrg # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 1439ef7378bSmrg # is contrary to our usage. Disable this feature. 1449ef7378bSmrg alias -g '\${1+\"\$@\"}'='\"\$@\"' 1459ef7378bSmrg setopt NO_GLOB_SUBST 1469ef7378bSmrgelse 1479ef7378bSmrg case \`(set -o) 2>/dev/null\` in #( 1489ef7378bSmrg *posix*) : 1499ef7378bSmrg set -o posix ;; #( 1509ef7378bSmrg *) : 1519ef7378bSmrg ;; 1529ef7378bSmrgesac 1539ef7378bSmrgfi 1549ef7378bSmrg" 1559ef7378bSmrg as_required="as_fn_return () { (exit \$1); } 1569ef7378bSmrgas_fn_success () { as_fn_return 0; } 1579ef7378bSmrgas_fn_failure () { as_fn_return 1; } 1589ef7378bSmrgas_fn_ret_success () { return 0; } 1599ef7378bSmrgas_fn_ret_failure () { return 1; } 1609ef7378bSmrg 1619ef7378bSmrgexitcode=0 1629ef7378bSmrgas_fn_success || { exitcode=1; echo as_fn_success failed.; } 1639ef7378bSmrgas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 1649ef7378bSmrgas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 1659ef7378bSmrgas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 1669ef7378bSmrgif ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 1679ef7378bSmrg 1689ef7378bSmrgelse 1699ef7378bSmrg exitcode=1; echo positional parameters were not saved. 1709ef7378bSmrgfi 1719ef7378bSmrgtest x\$exitcode = x0 || exit 1" 1729ef7378bSmrg as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 1739ef7378bSmrg as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 1749ef7378bSmrg eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 1759ef7378bSmrg test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 1769ef7378bSmrgtest \$(( 1 + 1 )) = 2 || exit 1" 1779ef7378bSmrg if (eval "$as_required") 2>/dev/null; then : 1789ef7378bSmrg as_have_required=yes 1799ef7378bSmrgelse 1809ef7378bSmrg as_have_required=no 1819ef7378bSmrgfi 1829ef7378bSmrg if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 1839ef7378bSmrg 1849ef7378bSmrgelse 1859ef7378bSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1869ef7378bSmrgas_found=false 1879ef7378bSmrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 188c19de146Smrgdo 1899ef7378bSmrg IFS=$as_save_IFS 1909ef7378bSmrg test -z "$as_dir" && as_dir=. 1919ef7378bSmrg as_found=: 1929ef7378bSmrg case $as_dir in #( 1939ef7378bSmrg /*) 1949ef7378bSmrg for as_base in sh bash ksh sh5; do 1959ef7378bSmrg # Try only shells that exist, to save several forks. 1969ef7378bSmrg as_shell=$as_dir/$as_base 1979ef7378bSmrg if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 1989ef7378bSmrg { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 1999ef7378bSmrg CONFIG_SHELL=$as_shell as_have_required=yes 2009ef7378bSmrg if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 2019ef7378bSmrg break 2 2029ef7378bSmrgfi 2039ef7378bSmrgfi 2049ef7378bSmrg done;; 2059ef7378bSmrg esac 2069ef7378bSmrg as_found=false 2079ef7378bSmrgdone 2089ef7378bSmrg$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 2099ef7378bSmrg { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 2109ef7378bSmrg CONFIG_SHELL=$SHELL as_have_required=yes 2119ef7378bSmrgfi; } 2129ef7378bSmrgIFS=$as_save_IFS 2139ef7378bSmrg 2149ef7378bSmrg 2159ef7378bSmrg if test "x$CONFIG_SHELL" != x; then : 2169ef7378bSmrg # We cannot yet assume a decent shell, so we have to provide a 2179ef7378bSmrg # neutralization value for shells without unset; and this also 2189ef7378bSmrg # works around shells that cannot unset nonexistent variables. 2199ef7378bSmrg BASH_ENV=/dev/null 2209ef7378bSmrg ENV=/dev/null 2219ef7378bSmrg (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 2229ef7378bSmrg export CONFIG_SHELL 2239ef7378bSmrg exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 2249ef7378bSmrgfi 2259ef7378bSmrg 2269ef7378bSmrg if test x$as_have_required = xno; then : 2279ef7378bSmrg $as_echo "$0: This script requires a shell more modern than all" 2289ef7378bSmrg $as_echo "$0: the shells that I found on your system." 2299ef7378bSmrg if test x${ZSH_VERSION+set} = xset ; then 2309ef7378bSmrg $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 2319ef7378bSmrg $as_echo "$0: be upgraded to zsh 4.3.4 or later." 232c19de146Smrg else 2339ef7378bSmrg $as_echo "$0: Please tell bug-autoconf@gnu.org and 2349ef7378bSmrg$0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg 2359ef7378bSmrg$0: about your system, including any error possibly output 2369ef7378bSmrg$0: before this message. Then install a modern shell, or 2379ef7378bSmrg$0: manually run the script under such a shell if you do 2389ef7378bSmrg$0: have one." 239c19de146Smrg fi 2409ef7378bSmrg exit 1 2419ef7378bSmrgfi 2429ef7378bSmrgfi 2439ef7378bSmrgfi 2449ef7378bSmrgSHELL=${CONFIG_SHELL-/bin/sh} 2459ef7378bSmrgexport SHELL 2469ef7378bSmrg# Unset more variables known to interfere with behavior of common tools. 2479ef7378bSmrgCLICOLOR_FORCE= GREP_OPTIONS= 2489ef7378bSmrgunset CLICOLOR_FORCE GREP_OPTIONS 2499ef7378bSmrg 2509ef7378bSmrg## --------------------- ## 2519ef7378bSmrg## M4sh Shell Functions. ## 2529ef7378bSmrg## --------------------- ## 2539ef7378bSmrg# as_fn_unset VAR 2549ef7378bSmrg# --------------- 2559ef7378bSmrg# Portably unset VAR. 2569ef7378bSmrgas_fn_unset () 2579ef7378bSmrg{ 2589ef7378bSmrg { eval $1=; unset $1;} 2599ef7378bSmrg} 2609ef7378bSmrgas_unset=as_fn_unset 2619ef7378bSmrg 2629ef7378bSmrg# as_fn_set_status STATUS 2639ef7378bSmrg# ----------------------- 2649ef7378bSmrg# Set $? to STATUS, without forking. 2659ef7378bSmrgas_fn_set_status () 2669ef7378bSmrg{ 2679ef7378bSmrg return $1 2689ef7378bSmrg} # as_fn_set_status 2699ef7378bSmrg 2709ef7378bSmrg# as_fn_exit STATUS 2719ef7378bSmrg# ----------------- 2729ef7378bSmrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 2739ef7378bSmrgas_fn_exit () 2749ef7378bSmrg{ 2759ef7378bSmrg set +e 2769ef7378bSmrg as_fn_set_status $1 2779ef7378bSmrg exit $1 2789ef7378bSmrg} # as_fn_exit 2799ef7378bSmrg 2809ef7378bSmrg# as_fn_mkdir_p 2819ef7378bSmrg# ------------- 2829ef7378bSmrg# Create "$as_dir" as a directory, including parents if necessary. 2839ef7378bSmrgas_fn_mkdir_p () 2849ef7378bSmrg{ 285c19de146Smrg 2869ef7378bSmrg case $as_dir in #( 2879ef7378bSmrg -*) as_dir=./$as_dir;; 2889ef7378bSmrg esac 2899ef7378bSmrg test -d "$as_dir" || eval $as_mkdir_p || { 2909ef7378bSmrg as_dirs= 2919ef7378bSmrg while :; do 2929ef7378bSmrg case $as_dir in #( 2939ef7378bSmrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 2949ef7378bSmrg *) as_qdir=$as_dir;; 2959ef7378bSmrg esac 2969ef7378bSmrg as_dirs="'$as_qdir' $as_dirs" 2979ef7378bSmrg as_dir=`$as_dirname -- "$as_dir" || 2989ef7378bSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 2999ef7378bSmrg X"$as_dir" : 'X\(//\)[^/]' \| \ 3009ef7378bSmrg X"$as_dir" : 'X\(//\)$' \| \ 3019ef7378bSmrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 3029ef7378bSmrg$as_echo X"$as_dir" | 3039ef7378bSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3049ef7378bSmrg s//\1/ 3059ef7378bSmrg q 3069ef7378bSmrg } 3079ef7378bSmrg /^X\(\/\/\)[^/].*/{ 3089ef7378bSmrg s//\1/ 3099ef7378bSmrg q 3109ef7378bSmrg } 3119ef7378bSmrg /^X\(\/\/\)$/{ 3129ef7378bSmrg s//\1/ 3139ef7378bSmrg q 3149ef7378bSmrg } 3159ef7378bSmrg /^X\(\/\).*/{ 3169ef7378bSmrg s//\1/ 3179ef7378bSmrg q 3189ef7378bSmrg } 3199ef7378bSmrg s/.*/./; q'` 3209ef7378bSmrg test -d "$as_dir" && break 3219ef7378bSmrg done 3229ef7378bSmrg test -z "$as_dirs" || eval "mkdir $as_dirs" 3239ef7378bSmrg } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 3249ef7378bSmrg 3259ef7378bSmrg 3269ef7378bSmrg} # as_fn_mkdir_p 3279ef7378bSmrg# as_fn_append VAR VALUE 3289ef7378bSmrg# ---------------------- 3299ef7378bSmrg# Append the text in VALUE to the end of the definition contained in VAR. Take 3309ef7378bSmrg# advantage of any shell optimizations that allow amortized linear growth over 3319ef7378bSmrg# repeated appends, instead of the typical quadratic growth present in naive 3329ef7378bSmrg# implementations. 3339ef7378bSmrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 3349ef7378bSmrg eval 'as_fn_append () 3359ef7378bSmrg { 3369ef7378bSmrg eval $1+=\$2 3379ef7378bSmrg }' 3389ef7378bSmrgelse 3399ef7378bSmrg as_fn_append () 3409ef7378bSmrg { 3419ef7378bSmrg eval $1=\$$1\$2 3429ef7378bSmrg } 3439ef7378bSmrgfi # as_fn_append 3449ef7378bSmrg 3459ef7378bSmrg# as_fn_arith ARG... 3469ef7378bSmrg# ------------------ 3479ef7378bSmrg# Perform arithmetic evaluation on the ARGs, and store the result in the 3489ef7378bSmrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 3499ef7378bSmrg# must be portable across $(()) and expr. 3509ef7378bSmrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 3519ef7378bSmrg eval 'as_fn_arith () 3529ef7378bSmrg { 3539ef7378bSmrg as_val=$(( $* )) 3549ef7378bSmrg }' 3559ef7378bSmrgelse 3569ef7378bSmrg as_fn_arith () 3579ef7378bSmrg { 3589ef7378bSmrg as_val=`expr "$@" || test $? -eq 1` 3599ef7378bSmrg } 3609ef7378bSmrgfi # as_fn_arith 3619ef7378bSmrg 3629ef7378bSmrg 3639ef7378bSmrg# as_fn_error ERROR [LINENO LOG_FD] 3649ef7378bSmrg# --------------------------------- 3659ef7378bSmrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 3669ef7378bSmrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 3679ef7378bSmrg# script with status $?, using 1 if that was 0. 3689ef7378bSmrgas_fn_error () 3699ef7378bSmrg{ 3709ef7378bSmrg as_status=$?; test $as_status -eq 0 && as_status=1 3719ef7378bSmrg if test "$3"; then 3729ef7378bSmrg as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 3739ef7378bSmrg $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 3749ef7378bSmrg fi 3759ef7378bSmrg $as_echo "$as_me: error: $1" >&2 3769ef7378bSmrg as_fn_exit $as_status 3779ef7378bSmrg} # as_fn_error 3789ef7378bSmrg 3799ef7378bSmrgif expr a : '\(a\)' >/dev/null 2>&1 && 3809ef7378bSmrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 381c19de146Smrg as_expr=expr 382c19de146Smrgelse 383c19de146Smrg as_expr=false 384c19de146Smrgfi 385c19de146Smrg 3869ef7378bSmrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 387c19de146Smrg as_basename=basename 388c19de146Smrgelse 389c19de146Smrg as_basename=false 390c19de146Smrgfi 391c19de146Smrg 3929ef7378bSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 3939ef7378bSmrg as_dirname=dirname 3949ef7378bSmrgelse 3959ef7378bSmrg as_dirname=false 3969ef7378bSmrgfi 397c19de146Smrg 3989ef7378bSmrgas_me=`$as_basename -- "$0" || 399c19de146Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 400c19de146Smrg X"$0" : 'X\(//\)$' \| \ 4019ef7378bSmrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 4029ef7378bSmrg$as_echo X/"$0" | 4039ef7378bSmrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 4049ef7378bSmrg s//\1/ 4059ef7378bSmrg q 4069ef7378bSmrg } 4079ef7378bSmrg /^X\/\(\/\/\)$/{ 4089ef7378bSmrg s//\1/ 4099ef7378bSmrg q 4109ef7378bSmrg } 4119ef7378bSmrg /^X\/\(\/\).*/{ 4129ef7378bSmrg s//\1/ 4139ef7378bSmrg q 4149ef7378bSmrg } 4159ef7378bSmrg s/.*/./; q'` 416c19de146Smrg 417c19de146Smrg# Avoid depending upon Character Ranges. 418c19de146Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 419c19de146Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 420c19de146Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 421c19de146Smrgas_cr_digits='0123456789' 422c19de146Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 423c19de146Smrg 424c19de146Smrg 4259ef7378bSmrg as_lineno_1=$LINENO as_lineno_1a=$LINENO 4269ef7378bSmrg as_lineno_2=$LINENO as_lineno_2a=$LINENO 4279ef7378bSmrg eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 4289ef7378bSmrg test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 4299ef7378bSmrg # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 4309ef7378bSmrg sed -n ' 4319ef7378bSmrg p 4329ef7378bSmrg /[$]LINENO/= 4339ef7378bSmrg ' <$as_myself | 434c19de146Smrg sed ' 4359ef7378bSmrg s/[$]LINENO.*/&-/ 4369ef7378bSmrg t lineno 4379ef7378bSmrg b 4389ef7378bSmrg :lineno 439c19de146Smrg N 4409ef7378bSmrg :loop 4419ef7378bSmrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 442c19de146Smrg t loop 4439ef7378bSmrg s/-\n.*// 444c19de146Smrg ' >$as_me.lineno && 4459ef7378bSmrg chmod +x "$as_me.lineno" || 4469ef7378bSmrg { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 447c19de146Smrg 448c19de146Smrg # Don't try to exec as it changes $[0], causing all sort of problems 449c19de146Smrg # (the dirname of $[0] is not the place where we might find the 4509ef7378bSmrg # original and so on. Autoconf is especially sensitive to this). 4519ef7378bSmrg . "./$as_me.lineno" 452c19de146Smrg # Exit status is that of the last command. 453c19de146Smrg exit 454c19de146Smrg} 455c19de146Smrg 4569ef7378bSmrgECHO_C= ECHO_N= ECHO_T= 4579ef7378bSmrgcase `echo -n x` in #((((( 4589ef7378bSmrg-n*) 4599ef7378bSmrg case `echo 'xy\c'` in 4609ef7378bSmrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 4619ef7378bSmrg xy) ECHO_C='\c';; 4629ef7378bSmrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 4639ef7378bSmrg ECHO_T=' ';; 4649ef7378bSmrg esac;; 4659ef7378bSmrg*) 4669ef7378bSmrg ECHO_N='-n';; 467c19de146Smrgesac 468c19de146Smrg 4699ef7378bSmrgrm -f conf$$ conf$$.exe conf$$.file 4709ef7378bSmrgif test -d conf$$.dir; then 4719ef7378bSmrg rm -f conf$$.dir/conf$$.file 472c19de146Smrgelse 4739ef7378bSmrg rm -f conf$$.dir 4749ef7378bSmrg mkdir conf$$.dir 2>/dev/null 475c19de146Smrgfi 4769ef7378bSmrgif (echo >conf$$.file) 2>/dev/null; then 4779ef7378bSmrg if ln -s conf$$.file conf$$ 2>/dev/null; then 478c19de146Smrg as_ln_s='ln -s' 4799ef7378bSmrg # ... but there are two gotchas: 4809ef7378bSmrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 4819ef7378bSmrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 4829ef7378bSmrg # In both cases, we have to default to `cp -p'. 4839ef7378bSmrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 4849ef7378bSmrg as_ln_s='cp -p' 4859ef7378bSmrg elif ln conf$$.file conf$$ 2>/dev/null; then 4869ef7378bSmrg as_ln_s=ln 4879ef7378bSmrg else 4889ef7378bSmrg as_ln_s='cp -p' 489c19de146Smrg fi 490c19de146Smrgelse 491c19de146Smrg as_ln_s='cp -p' 492c19de146Smrgfi 4939ef7378bSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 4949ef7378bSmrgrmdir conf$$.dir 2>/dev/null 495c19de146Smrg 496c19de146Smrgif mkdir -p . 2>/dev/null; then 4979ef7378bSmrg as_mkdir_p='mkdir -p "$as_dir"' 498c19de146Smrgelse 499c19de146Smrg test -d ./-p && rmdir ./-p 500c19de146Smrg as_mkdir_p=false 501c19de146Smrgfi 502c19de146Smrg 5039ef7378bSmrgif test -x / >/dev/null 2>&1; then 5049ef7378bSmrg as_test_x='test -x' 5059ef7378bSmrgelse 5069ef7378bSmrg if ls -dL / >/dev/null 2>&1; then 5079ef7378bSmrg as_ls_L_option=L 5089ef7378bSmrg else 5099ef7378bSmrg as_ls_L_option= 5109ef7378bSmrg fi 5119ef7378bSmrg as_test_x=' 5129ef7378bSmrg eval sh -c '\'' 5139ef7378bSmrg if test -d "$1"; then 5149ef7378bSmrg test -d "$1/."; 5159ef7378bSmrg else 5169ef7378bSmrg case $1 in #( 5179ef7378bSmrg -*)set "./$1";; 5189ef7378bSmrg esac; 5199ef7378bSmrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 5209ef7378bSmrg ???[sx]*):;;*)false;;esac;fi 5219ef7378bSmrg '\'' sh 5229ef7378bSmrg ' 5239ef7378bSmrgfi 5249ef7378bSmrgas_executable_p=$as_test_x 525c19de146Smrg 526c19de146Smrg# Sed expression to map a string onto a valid CPP name. 527c19de146Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 528c19de146Smrg 529c19de146Smrg# Sed expression to map a string onto a valid variable name. 530c19de146Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 531c19de146Smrg 532c19de146Smrg 5339ef7378bSmrgtest -n "$DJDIR" || exec 7<&0 </dev/null 5349ef7378bSmrgexec 6>&1 535c19de146Smrg 536c19de146Smrg# Name of the host. 537c19de146Smrg# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 538c19de146Smrg# so uname gets run too. 539c19de146Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 540c19de146Smrg 541c19de146Smrg# 542c19de146Smrg# Initializations. 543c19de146Smrg# 544c19de146Smrgac_default_prefix=/usr/local 5459ef7378bSmrgac_clean_files= 546c19de146Smrgac_config_libobj_dir=. 5479ef7378bSmrgLIBOBJS= 548c19de146Smrgcross_compiling=no 549c19de146Smrgsubdirs= 550c19de146SmrgMFLAGS= 551c19de146SmrgMAKEFLAGS= 552c19de146Smrg 553c19de146Smrg# Identity of this package. 554c19de146SmrgPACKAGE_NAME='xbiff' 555c19de146SmrgPACKAGE_TARNAME='xbiff' 5569ef7378bSmrgPACKAGE_VERSION='1.0.2' 5579ef7378bSmrgPACKAGE_STRING='xbiff 1.0.2' 558c19de146SmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 5599ef7378bSmrgPACKAGE_URL='' 560c19de146Smrg 5619ef7378bSmrg# Factoring default headers for most tests. 5629ef7378bSmrgac_includes_default="\ 5639ef7378bSmrg#include <stdio.h> 5649ef7378bSmrg#ifdef HAVE_SYS_TYPES_H 5659ef7378bSmrg# include <sys/types.h> 5669ef7378bSmrg#endif 5679ef7378bSmrg#ifdef HAVE_SYS_STAT_H 5689ef7378bSmrg# include <sys/stat.h> 5699ef7378bSmrg#endif 5709ef7378bSmrg#ifdef STDC_HEADERS 5719ef7378bSmrg# include <stdlib.h> 5729ef7378bSmrg# include <stddef.h> 5739ef7378bSmrg#else 5749ef7378bSmrg# ifdef HAVE_STDLIB_H 5759ef7378bSmrg# include <stdlib.h> 5769ef7378bSmrg# endif 5779ef7378bSmrg#endif 5789ef7378bSmrg#ifdef HAVE_STRING_H 5799ef7378bSmrg# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 5809ef7378bSmrg# include <memory.h> 5819ef7378bSmrg# endif 5829ef7378bSmrg# include <string.h> 5839ef7378bSmrg#endif 5849ef7378bSmrg#ifdef HAVE_STRINGS_H 5859ef7378bSmrg# include <strings.h> 5869ef7378bSmrg#endif 5879ef7378bSmrg#ifdef HAVE_INTTYPES_H 5889ef7378bSmrg# include <inttypes.h> 5899ef7378bSmrg#endif 5909ef7378bSmrg#ifdef HAVE_STDINT_H 5919ef7378bSmrg# include <stdint.h> 5929ef7378bSmrg#endif 5939ef7378bSmrg#ifdef HAVE_UNISTD_H 5949ef7378bSmrg# include <unistd.h> 5959ef7378bSmrg#endif" 5969ef7378bSmrg 5979ef7378bSmrgac_subst_vars='am__EXEEXT_FALSE 5989ef7378bSmrgam__EXEEXT_TRUE 5999ef7378bSmrgLTLIBOBJS 6009ef7378bSmrgLIBOBJS 6019ef7378bSmrgXBIFF_LIBS 6029ef7378bSmrgXBIFF_CFLAGS 6039ef7378bSmrgADMIN_MAN_DIR 6049ef7378bSmrgDRIVER_MAN_DIR 6059ef7378bSmrgMISC_MAN_DIR 6069ef7378bSmrgFILE_MAN_DIR 6079ef7378bSmrgLIB_MAN_DIR 6089ef7378bSmrgAPP_MAN_DIR 6099ef7378bSmrgADMIN_MAN_SUFFIX 6109ef7378bSmrgDRIVER_MAN_SUFFIX 6119ef7378bSmrgMISC_MAN_SUFFIX 6129ef7378bSmrgFILE_MAN_SUFFIX 6139ef7378bSmrgLIB_MAN_SUFFIX 6149ef7378bSmrgAPP_MAN_SUFFIX 6159ef7378bSmrghost_os 6169ef7378bSmrghost_vendor 6179ef7378bSmrghost_cpu 6189ef7378bSmrghost 6199ef7378bSmrgbuild_os 6209ef7378bSmrgbuild_vendor 6219ef7378bSmrgbuild_cpu 6229ef7378bSmrgbuild 6239ef7378bSmrgINSTALL_CMD 6249ef7378bSmrgPKG_CONFIG 6259ef7378bSmrgCHANGELOG_CMD 6269ef7378bSmrgAM_BACKSLASH 6279ef7378bSmrgAM_DEFAULT_VERBOSITY 6289ef7378bSmrgCWARNFLAGS 6299ef7378bSmrgEGREP 6309ef7378bSmrgGREP 6319ef7378bSmrgCPP 6329ef7378bSmrgam__fastdepCC_FALSE 6339ef7378bSmrgam__fastdepCC_TRUE 6349ef7378bSmrgCCDEPMODE 6359ef7378bSmrgAMDEPBACKSLASH 6369ef7378bSmrgAMDEP_FALSE 6379ef7378bSmrgAMDEP_TRUE 6389ef7378bSmrgam__quote 6399ef7378bSmrgam__include 6409ef7378bSmrgDEPDIR 6419ef7378bSmrgOBJEXT 6429ef7378bSmrgEXEEXT 6439ef7378bSmrgac_ct_CC 6449ef7378bSmrgCPPFLAGS 6459ef7378bSmrgLDFLAGS 6469ef7378bSmrgCFLAGS 6479ef7378bSmrgCC 6489ef7378bSmrgMAINT 6499ef7378bSmrgMAINTAINER_MODE_FALSE 6509ef7378bSmrgMAINTAINER_MODE_TRUE 6519ef7378bSmrgam__untar 6529ef7378bSmrgam__tar 6539ef7378bSmrgAMTAR 6549ef7378bSmrgam__leading_dot 6559ef7378bSmrgSET_MAKE 6569ef7378bSmrgAWK 6579ef7378bSmrgmkdir_p 6589ef7378bSmrgMKDIR_P 6599ef7378bSmrgINSTALL_STRIP_PROGRAM 6609ef7378bSmrgSTRIP 6619ef7378bSmrginstall_sh 6629ef7378bSmrgMAKEINFO 6639ef7378bSmrgAUTOHEADER 6649ef7378bSmrgAUTOMAKE 6659ef7378bSmrgAUTOCONF 6669ef7378bSmrgACLOCAL 6679ef7378bSmrgVERSION 6689ef7378bSmrgPACKAGE 6699ef7378bSmrgCYGPATH_W 6709ef7378bSmrgam__isrc 6719ef7378bSmrgINSTALL_DATA 6729ef7378bSmrgINSTALL_SCRIPT 6739ef7378bSmrgINSTALL_PROGRAM 6749ef7378bSmrgtarget_alias 6759ef7378bSmrghost_alias 6769ef7378bSmrgbuild_alias 6779ef7378bSmrgLIBS 6789ef7378bSmrgECHO_T 6799ef7378bSmrgECHO_N 6809ef7378bSmrgECHO_C 6819ef7378bSmrgDEFS 6829ef7378bSmrgmandir 6839ef7378bSmrglocaledir 6849ef7378bSmrglibdir 6859ef7378bSmrgpsdir 6869ef7378bSmrgpdfdir 6879ef7378bSmrgdvidir 6889ef7378bSmrghtmldir 6899ef7378bSmrginfodir 6909ef7378bSmrgdocdir 6919ef7378bSmrgoldincludedir 6929ef7378bSmrgincludedir 6939ef7378bSmrglocalstatedir 6949ef7378bSmrgsharedstatedir 6959ef7378bSmrgsysconfdir 6969ef7378bSmrgdatadir 6979ef7378bSmrgdatarootdir 6989ef7378bSmrglibexecdir 6999ef7378bSmrgsbindir 7009ef7378bSmrgbindir 7019ef7378bSmrgprogram_transform_name 7029ef7378bSmrgprefix 7039ef7378bSmrgexec_prefix 7049ef7378bSmrgPACKAGE_URL 7059ef7378bSmrgPACKAGE_BUGREPORT 7069ef7378bSmrgPACKAGE_STRING 7079ef7378bSmrgPACKAGE_VERSION 7089ef7378bSmrgPACKAGE_TARNAME 7099ef7378bSmrgPACKAGE_NAME 7109ef7378bSmrgPATH_SEPARATOR 7119ef7378bSmrgSHELL' 712c19de146Smrgac_subst_files='' 7139ef7378bSmrgac_user_opts=' 7149ef7378bSmrgenable_option_checking 7159ef7378bSmrgenable_maintainer_mode 7169ef7378bSmrgenable_dependency_tracking 7179ef7378bSmrgenable_silent_rules 7189ef7378bSmrgenable_strict_compilation 7199ef7378bSmrgwith_release_version 7209ef7378bSmrg' 7219ef7378bSmrg ac_precious_vars='build_alias 7229ef7378bSmrghost_alias 7239ef7378bSmrgtarget_alias 7249ef7378bSmrgCC 7259ef7378bSmrgCFLAGS 7269ef7378bSmrgLDFLAGS 7279ef7378bSmrgLIBS 7289ef7378bSmrgCPPFLAGS 7299ef7378bSmrgCPP 7309ef7378bSmrgPKG_CONFIG 7319ef7378bSmrgXBIFF_CFLAGS 7329ef7378bSmrgXBIFF_LIBS' 7339ef7378bSmrg 734c19de146Smrg 735c19de146Smrg# Initialize some variables set by options. 736c19de146Smrgac_init_help= 737c19de146Smrgac_init_version=false 7389ef7378bSmrgac_unrecognized_opts= 7399ef7378bSmrgac_unrecognized_sep= 740c19de146Smrg# The variables have the same names as the options, with 741c19de146Smrg# dashes changed to underlines. 742c19de146Smrgcache_file=/dev/null 743c19de146Smrgexec_prefix=NONE 744c19de146Smrgno_create= 745c19de146Smrgno_recursion= 746c19de146Smrgprefix=NONE 747c19de146Smrgprogram_prefix=NONE 748c19de146Smrgprogram_suffix=NONE 749c19de146Smrgprogram_transform_name=s,x,x, 750c19de146Smrgsilent= 751c19de146Smrgsite= 752c19de146Smrgsrcdir= 753c19de146Smrgverbose= 754c19de146Smrgx_includes=NONE 755c19de146Smrgx_libraries=NONE 756c19de146Smrg 757c19de146Smrg# Installation directory options. 758c19de146Smrg# These are left unexpanded so users can "make install exec_prefix=/foo" 759c19de146Smrg# and all the variables that are supposed to be based on exec_prefix 760c19de146Smrg# by default will actually change. 761c19de146Smrg# Use braces instead of parens because sh, perl, etc. also accept them. 7629ef7378bSmrg# (The list follows the same order as the GNU Coding Standards.) 763c19de146Smrgbindir='${exec_prefix}/bin' 764c19de146Smrgsbindir='${exec_prefix}/sbin' 765c19de146Smrglibexecdir='${exec_prefix}/libexec' 7669ef7378bSmrgdatarootdir='${prefix}/share' 7679ef7378bSmrgdatadir='${datarootdir}' 768c19de146Smrgsysconfdir='${prefix}/etc' 769c19de146Smrgsharedstatedir='${prefix}/com' 770c19de146Smrglocalstatedir='${prefix}/var' 771c19de146Smrgincludedir='${prefix}/include' 772c19de146Smrgoldincludedir='/usr/include' 7739ef7378bSmrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 7749ef7378bSmrginfodir='${datarootdir}/info' 7759ef7378bSmrghtmldir='${docdir}' 7769ef7378bSmrgdvidir='${docdir}' 7779ef7378bSmrgpdfdir='${docdir}' 7789ef7378bSmrgpsdir='${docdir}' 7799ef7378bSmrglibdir='${exec_prefix}/lib' 7809ef7378bSmrglocaledir='${datarootdir}/locale' 7819ef7378bSmrgmandir='${datarootdir}/man' 782c19de146Smrg 783c19de146Smrgac_prev= 7849ef7378bSmrgac_dashdash= 785c19de146Smrgfor ac_option 786c19de146Smrgdo 787c19de146Smrg # If the previous option needs an argument, assign it. 788c19de146Smrg if test -n "$ac_prev"; then 7899ef7378bSmrg eval $ac_prev=\$ac_option 790c19de146Smrg ac_prev= 791c19de146Smrg continue 792c19de146Smrg fi 793c19de146Smrg 7949ef7378bSmrg case $ac_option in 7959ef7378bSmrg *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 7969ef7378bSmrg *) ac_optarg=yes ;; 7979ef7378bSmrg esac 798c19de146Smrg 799c19de146Smrg # Accept the important Cygnus configure options, so we can diagnose typos. 800c19de146Smrg 8019ef7378bSmrg case $ac_dashdash$ac_option in 8029ef7378bSmrg --) 8039ef7378bSmrg ac_dashdash=yes ;; 804c19de146Smrg 805c19de146Smrg -bindir | --bindir | --bindi | --bind | --bin | --bi) 806c19de146Smrg ac_prev=bindir ;; 807c19de146Smrg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 808c19de146Smrg bindir=$ac_optarg ;; 809c19de146Smrg 810c19de146Smrg -build | --build | --buil | --bui | --bu) 811c19de146Smrg ac_prev=build_alias ;; 812c19de146Smrg -build=* | --build=* | --buil=* | --bui=* | --bu=*) 813c19de146Smrg build_alias=$ac_optarg ;; 814c19de146Smrg 815c19de146Smrg -cache-file | --cache-file | --cache-fil | --cache-fi \ 816c19de146Smrg | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 817c19de146Smrg ac_prev=cache_file ;; 818c19de146Smrg -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 819c19de146Smrg | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 820c19de146Smrg cache_file=$ac_optarg ;; 821c19de146Smrg 822c19de146Smrg --config-cache | -C) 823c19de146Smrg cache_file=config.cache ;; 824c19de146Smrg 8259ef7378bSmrg -datadir | --datadir | --datadi | --datad) 826c19de146Smrg ac_prev=datadir ;; 8279ef7378bSmrg -datadir=* | --datadir=* | --datadi=* | --datad=*) 828c19de146Smrg datadir=$ac_optarg ;; 829c19de146Smrg 8309ef7378bSmrg -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 8319ef7378bSmrg | --dataroo | --dataro | --datar) 8329ef7378bSmrg ac_prev=datarootdir ;; 8339ef7378bSmrg -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 8349ef7378bSmrg | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 8359ef7378bSmrg datarootdir=$ac_optarg ;; 8369ef7378bSmrg 837c19de146Smrg -disable-* | --disable-*) 8389ef7378bSmrg ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 839c19de146Smrg # Reject names that are not valid shell variable names. 8409ef7378bSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 8419ef7378bSmrg as_fn_error "invalid feature name: $ac_useropt" 8429ef7378bSmrg ac_useropt_orig=$ac_useropt 8439ef7378bSmrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 8449ef7378bSmrg case $ac_user_opts in 8459ef7378bSmrg *" 8469ef7378bSmrg"enable_$ac_useropt" 8479ef7378bSmrg"*) ;; 8489ef7378bSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 8499ef7378bSmrg ac_unrecognized_sep=', ';; 8509ef7378bSmrg esac 8519ef7378bSmrg eval enable_$ac_useropt=no ;; 8529ef7378bSmrg 8539ef7378bSmrg -docdir | --docdir | --docdi | --doc | --do) 8549ef7378bSmrg ac_prev=docdir ;; 8559ef7378bSmrg -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 8569ef7378bSmrg docdir=$ac_optarg ;; 8579ef7378bSmrg 8589ef7378bSmrg -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 8599ef7378bSmrg ac_prev=dvidir ;; 8609ef7378bSmrg -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 8619ef7378bSmrg dvidir=$ac_optarg ;; 862c19de146Smrg 863c19de146Smrg -enable-* | --enable-*) 8649ef7378bSmrg ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 865c19de146Smrg # Reject names that are not valid shell variable names. 8669ef7378bSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 8679ef7378bSmrg as_fn_error "invalid feature name: $ac_useropt" 8689ef7378bSmrg ac_useropt_orig=$ac_useropt 8699ef7378bSmrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 8709ef7378bSmrg case $ac_user_opts in 8719ef7378bSmrg *" 8729ef7378bSmrg"enable_$ac_useropt" 8739ef7378bSmrg"*) ;; 8749ef7378bSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 8759ef7378bSmrg ac_unrecognized_sep=', ';; 876c19de146Smrg esac 8779ef7378bSmrg eval enable_$ac_useropt=\$ac_optarg ;; 878c19de146Smrg 879c19de146Smrg -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 880c19de146Smrg | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 881c19de146Smrg | --exec | --exe | --ex) 882c19de146Smrg ac_prev=exec_prefix ;; 883c19de146Smrg -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 884c19de146Smrg | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 885c19de146Smrg | --exec=* | --exe=* | --ex=*) 886c19de146Smrg exec_prefix=$ac_optarg ;; 887c19de146Smrg 888c19de146Smrg -gas | --gas | --ga | --g) 889c19de146Smrg # Obsolete; use --with-gas. 890c19de146Smrg with_gas=yes ;; 891c19de146Smrg 892c19de146Smrg -help | --help | --hel | --he | -h) 893c19de146Smrg ac_init_help=long ;; 894c19de146Smrg -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 895c19de146Smrg ac_init_help=recursive ;; 896c19de146Smrg -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 897c19de146Smrg ac_init_help=short ;; 898c19de146Smrg 899c19de146Smrg -host | --host | --hos | --ho) 900c19de146Smrg ac_prev=host_alias ;; 901c19de146Smrg -host=* | --host=* | --hos=* | --ho=*) 902c19de146Smrg host_alias=$ac_optarg ;; 903c19de146Smrg 9049ef7378bSmrg -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 9059ef7378bSmrg ac_prev=htmldir ;; 9069ef7378bSmrg -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 9079ef7378bSmrg | --ht=*) 9089ef7378bSmrg htmldir=$ac_optarg ;; 9099ef7378bSmrg 910c19de146Smrg -includedir | --includedir | --includedi | --included | --include \ 911c19de146Smrg | --includ | --inclu | --incl | --inc) 912c19de146Smrg ac_prev=includedir ;; 913c19de146Smrg -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 914c19de146Smrg | --includ=* | --inclu=* | --incl=* | --inc=*) 915c19de146Smrg includedir=$ac_optarg ;; 916c19de146Smrg 917c19de146Smrg -infodir | --infodir | --infodi | --infod | --info | --inf) 918c19de146Smrg ac_prev=infodir ;; 919c19de146Smrg -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 920c19de146Smrg infodir=$ac_optarg ;; 921c19de146Smrg 922c19de146Smrg -libdir | --libdir | --libdi | --libd) 923c19de146Smrg ac_prev=libdir ;; 924c19de146Smrg -libdir=* | --libdir=* | --libdi=* | --libd=*) 925c19de146Smrg libdir=$ac_optarg ;; 926c19de146Smrg 927c19de146Smrg -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 928c19de146Smrg | --libexe | --libex | --libe) 929c19de146Smrg ac_prev=libexecdir ;; 930c19de146Smrg -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 931c19de146Smrg | --libexe=* | --libex=* | --libe=*) 932c19de146Smrg libexecdir=$ac_optarg ;; 933c19de146Smrg 9349ef7378bSmrg -localedir | --localedir | --localedi | --localed | --locale) 9359ef7378bSmrg ac_prev=localedir ;; 9369ef7378bSmrg -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 9379ef7378bSmrg localedir=$ac_optarg ;; 9389ef7378bSmrg 939c19de146Smrg -localstatedir | --localstatedir | --localstatedi | --localstated \ 9409ef7378bSmrg | --localstate | --localstat | --localsta | --localst | --locals) 941c19de146Smrg ac_prev=localstatedir ;; 942c19de146Smrg -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 9439ef7378bSmrg | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 944c19de146Smrg localstatedir=$ac_optarg ;; 945c19de146Smrg 946c19de146Smrg -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 947c19de146Smrg ac_prev=mandir ;; 948c19de146Smrg -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 949c19de146Smrg mandir=$ac_optarg ;; 950c19de146Smrg 951c19de146Smrg -nfp | --nfp | --nf) 952c19de146Smrg # Obsolete; use --without-fp. 953c19de146Smrg with_fp=no ;; 954c19de146Smrg 955c19de146Smrg -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 956c19de146Smrg | --no-cr | --no-c | -n) 957c19de146Smrg no_create=yes ;; 958c19de146Smrg 959c19de146Smrg -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 960c19de146Smrg | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 961c19de146Smrg no_recursion=yes ;; 962c19de146Smrg 963c19de146Smrg -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 964c19de146Smrg | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 965c19de146Smrg | --oldin | --oldi | --old | --ol | --o) 966c19de146Smrg ac_prev=oldincludedir ;; 967c19de146Smrg -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 968c19de146Smrg | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 969c19de146Smrg | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 970c19de146Smrg oldincludedir=$ac_optarg ;; 971c19de146Smrg 972c19de146Smrg -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 973c19de146Smrg ac_prev=prefix ;; 974c19de146Smrg -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 975c19de146Smrg prefix=$ac_optarg ;; 976c19de146Smrg 977c19de146Smrg -program-prefix | --program-prefix | --program-prefi | --program-pref \ 978c19de146Smrg | --program-pre | --program-pr | --program-p) 979c19de146Smrg ac_prev=program_prefix ;; 980c19de146Smrg -program-prefix=* | --program-prefix=* | --program-prefi=* \ 981c19de146Smrg | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 982c19de146Smrg program_prefix=$ac_optarg ;; 983c19de146Smrg 984c19de146Smrg -program-suffix | --program-suffix | --program-suffi | --program-suff \ 985c19de146Smrg | --program-suf | --program-su | --program-s) 986c19de146Smrg ac_prev=program_suffix ;; 987c19de146Smrg -program-suffix=* | --program-suffix=* | --program-suffi=* \ 988c19de146Smrg | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 989c19de146Smrg program_suffix=$ac_optarg ;; 990c19de146Smrg 991c19de146Smrg -program-transform-name | --program-transform-name \ 992c19de146Smrg | --program-transform-nam | --program-transform-na \ 993c19de146Smrg | --program-transform-n | --program-transform- \ 994c19de146Smrg | --program-transform | --program-transfor \ 995c19de146Smrg | --program-transfo | --program-transf \ 996c19de146Smrg | --program-trans | --program-tran \ 997c19de146Smrg | --progr-tra | --program-tr | --program-t) 998c19de146Smrg ac_prev=program_transform_name ;; 999c19de146Smrg -program-transform-name=* | --program-transform-name=* \ 1000c19de146Smrg | --program-transform-nam=* | --program-transform-na=* \ 1001c19de146Smrg | --program-transform-n=* | --program-transform-=* \ 1002c19de146Smrg | --program-transform=* | --program-transfor=* \ 1003c19de146Smrg | --program-transfo=* | --program-transf=* \ 1004c19de146Smrg | --program-trans=* | --program-tran=* \ 1005c19de146Smrg | --progr-tra=* | --program-tr=* | --program-t=*) 1006c19de146Smrg program_transform_name=$ac_optarg ;; 1007c19de146Smrg 10089ef7378bSmrg -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 10099ef7378bSmrg ac_prev=pdfdir ;; 10109ef7378bSmrg -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 10119ef7378bSmrg pdfdir=$ac_optarg ;; 10129ef7378bSmrg 10139ef7378bSmrg -psdir | --psdir | --psdi | --psd | --ps) 10149ef7378bSmrg ac_prev=psdir ;; 10159ef7378bSmrg -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 10169ef7378bSmrg psdir=$ac_optarg ;; 10179ef7378bSmrg 1018c19de146Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1019c19de146Smrg | -silent | --silent | --silen | --sile | --sil) 1020c19de146Smrg silent=yes ;; 1021c19de146Smrg 1022c19de146Smrg -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1023c19de146Smrg ac_prev=sbindir ;; 1024c19de146Smrg -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1025c19de146Smrg | --sbi=* | --sb=*) 1026c19de146Smrg sbindir=$ac_optarg ;; 1027c19de146Smrg 1028c19de146Smrg -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1029c19de146Smrg | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1030c19de146Smrg | --sharedst | --shareds | --shared | --share | --shar \ 1031c19de146Smrg | --sha | --sh) 1032c19de146Smrg ac_prev=sharedstatedir ;; 1033c19de146Smrg -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1034c19de146Smrg | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1035c19de146Smrg | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1036c19de146Smrg | --sha=* | --sh=*) 1037c19de146Smrg sharedstatedir=$ac_optarg ;; 1038c19de146Smrg 1039c19de146Smrg -site | --site | --sit) 1040c19de146Smrg ac_prev=site ;; 1041c19de146Smrg -site=* | --site=* | --sit=*) 1042c19de146Smrg site=$ac_optarg ;; 1043c19de146Smrg 1044c19de146Smrg -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1045c19de146Smrg ac_prev=srcdir ;; 1046c19de146Smrg -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1047c19de146Smrg srcdir=$ac_optarg ;; 1048c19de146Smrg 1049c19de146Smrg -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1050c19de146Smrg | --syscon | --sysco | --sysc | --sys | --sy) 1051c19de146Smrg ac_prev=sysconfdir ;; 1052c19de146Smrg -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1053c19de146Smrg | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1054c19de146Smrg sysconfdir=$ac_optarg ;; 1055c19de146Smrg 1056c19de146Smrg -target | --target | --targe | --targ | --tar | --ta | --t) 1057c19de146Smrg ac_prev=target_alias ;; 1058c19de146Smrg -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1059c19de146Smrg target_alias=$ac_optarg ;; 1060c19de146Smrg 1061c19de146Smrg -v | -verbose | --verbose | --verbos | --verbo | --verb) 1062c19de146Smrg verbose=yes ;; 1063c19de146Smrg 1064c19de146Smrg -version | --version | --versio | --versi | --vers | -V) 1065c19de146Smrg ac_init_version=: ;; 1066c19de146Smrg 1067c19de146Smrg -with-* | --with-*) 10689ef7378bSmrg ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1069c19de146Smrg # Reject names that are not valid shell variable names. 10709ef7378bSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 10719ef7378bSmrg as_fn_error "invalid package name: $ac_useropt" 10729ef7378bSmrg ac_useropt_orig=$ac_useropt 10739ef7378bSmrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 10749ef7378bSmrg case $ac_user_opts in 10759ef7378bSmrg *" 10769ef7378bSmrg"with_$ac_useropt" 10779ef7378bSmrg"*) ;; 10789ef7378bSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 10799ef7378bSmrg ac_unrecognized_sep=', ';; 1080c19de146Smrg esac 10819ef7378bSmrg eval with_$ac_useropt=\$ac_optarg ;; 1082c19de146Smrg 1083c19de146Smrg -without-* | --without-*) 10849ef7378bSmrg ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1085c19de146Smrg # Reject names that are not valid shell variable names. 10869ef7378bSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 10879ef7378bSmrg as_fn_error "invalid package name: $ac_useropt" 10889ef7378bSmrg ac_useropt_orig=$ac_useropt 10899ef7378bSmrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 10909ef7378bSmrg case $ac_user_opts in 10919ef7378bSmrg *" 10929ef7378bSmrg"with_$ac_useropt" 10939ef7378bSmrg"*) ;; 10949ef7378bSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 10959ef7378bSmrg ac_unrecognized_sep=', ';; 10969ef7378bSmrg esac 10979ef7378bSmrg eval with_$ac_useropt=no ;; 1098c19de146Smrg 1099c19de146Smrg --x) 1100c19de146Smrg # Obsolete; use --with-x. 1101c19de146Smrg with_x=yes ;; 1102c19de146Smrg 1103c19de146Smrg -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1104c19de146Smrg | --x-incl | --x-inc | --x-in | --x-i) 1105c19de146Smrg ac_prev=x_includes ;; 1106c19de146Smrg -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1107c19de146Smrg | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1108c19de146Smrg x_includes=$ac_optarg ;; 1109c19de146Smrg 1110c19de146Smrg -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1111c19de146Smrg | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1112c19de146Smrg ac_prev=x_libraries ;; 1113c19de146Smrg -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1114c19de146Smrg | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1115c19de146Smrg x_libraries=$ac_optarg ;; 1116c19de146Smrg 11179ef7378bSmrg -*) as_fn_error "unrecognized option: \`$ac_option' 11189ef7378bSmrgTry \`$0 --help' for more information." 1119c19de146Smrg ;; 1120c19de146Smrg 1121c19de146Smrg *=*) 1122c19de146Smrg ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1123c19de146Smrg # Reject names that are not valid shell variable names. 11249ef7378bSmrg case $ac_envvar in #( 11259ef7378bSmrg '' | [0-9]* | *[!_$as_cr_alnum]* ) 11269ef7378bSmrg as_fn_error "invalid variable name: \`$ac_envvar'" ;; 11279ef7378bSmrg esac 11289ef7378bSmrg eval $ac_envvar=\$ac_optarg 1129c19de146Smrg export $ac_envvar ;; 1130c19de146Smrg 1131c19de146Smrg *) 1132c19de146Smrg # FIXME: should be removed in autoconf 3.0. 11339ef7378bSmrg $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1134c19de146Smrg expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 11359ef7378bSmrg $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1136c19de146Smrg : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1137c19de146Smrg ;; 1138c19de146Smrg 1139c19de146Smrg esac 1140c19de146Smrgdone 1141c19de146Smrg 1142c19de146Smrgif test -n "$ac_prev"; then 1143c19de146Smrg ac_option=--`echo $ac_prev | sed 's/_/-/g'` 11449ef7378bSmrg as_fn_error "missing argument to $ac_option" 1145c19de146Smrgfi 1146c19de146Smrg 11479ef7378bSmrgif test -n "$ac_unrecognized_opts"; then 11489ef7378bSmrg case $enable_option_checking in 11499ef7378bSmrg no) ;; 11509ef7378bSmrg fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 11519ef7378bSmrg *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1152c19de146Smrg esac 11539ef7378bSmrgfi 1154c19de146Smrg 11559ef7378bSmrg# Check all directory arguments for consistency. 11569ef7378bSmrgfor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 11579ef7378bSmrg datadir sysconfdir sharedstatedir localstatedir includedir \ 11589ef7378bSmrg oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 11599ef7378bSmrg libdir localedir mandir 1160c19de146Smrgdo 11619ef7378bSmrg eval ac_val=\$$ac_var 11629ef7378bSmrg # Remove trailing slashes. 1163c19de146Smrg case $ac_val in 11649ef7378bSmrg */ ) 11659ef7378bSmrg ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 11669ef7378bSmrg eval $ac_var=\$ac_val;; 1167c19de146Smrg esac 11689ef7378bSmrg # Be sure to have absolute directory names. 11699ef7378bSmrg case $ac_val in 11709ef7378bSmrg [\\/$]* | ?:[\\/]* ) continue;; 11719ef7378bSmrg NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 11729ef7378bSmrg esac 11739ef7378bSmrg as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1174c19de146Smrgdone 1175c19de146Smrg 1176c19de146Smrg# There might be people who depend on the old broken behavior: `$host' 1177c19de146Smrg# used to hold the argument of --host etc. 1178c19de146Smrg# FIXME: To remove some day. 1179c19de146Smrgbuild=$build_alias 1180c19de146Smrghost=$host_alias 1181c19de146Smrgtarget=$target_alias 1182c19de146Smrg 1183c19de146Smrg# FIXME: To remove some day. 1184c19de146Smrgif test "x$host_alias" != x; then 1185c19de146Smrg if test "x$build_alias" = x; then 1186c19de146Smrg cross_compiling=maybe 11879ef7378bSmrg $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1188c19de146Smrg If a cross compiler is detected then cross compile mode will be used." >&2 1189c19de146Smrg elif test "x$build_alias" != "x$host_alias"; then 1190c19de146Smrg cross_compiling=yes 1191c19de146Smrg fi 1192c19de146Smrgfi 1193c19de146Smrg 1194c19de146Smrgac_tool_prefix= 1195c19de146Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias- 1196c19de146Smrg 1197c19de146Smrgtest "$silent" = yes && exec 6>/dev/null 1198c19de146Smrg 1199c19de146Smrg 12009ef7378bSmrgac_pwd=`pwd` && test -n "$ac_pwd" && 12019ef7378bSmrgac_ls_di=`ls -di .` && 12029ef7378bSmrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 12039ef7378bSmrg as_fn_error "working directory cannot be determined" 12049ef7378bSmrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" || 12059ef7378bSmrg as_fn_error "pwd does not report name of working directory" 12069ef7378bSmrg 12079ef7378bSmrg 1208c19de146Smrg# Find the source files, if location was not specified. 1209c19de146Smrgif test -z "$srcdir"; then 1210c19de146Smrg ac_srcdir_defaulted=yes 12119ef7378bSmrg # Try the directory containing this script, then the parent directory. 12129ef7378bSmrg ac_confdir=`$as_dirname -- "$as_myself" || 12139ef7378bSmrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12149ef7378bSmrg X"$as_myself" : 'X\(//\)[^/]' \| \ 12159ef7378bSmrg X"$as_myself" : 'X\(//\)$' \| \ 12169ef7378bSmrg X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 12179ef7378bSmrg$as_echo X"$as_myself" | 12189ef7378bSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12199ef7378bSmrg s//\1/ 12209ef7378bSmrg q 12219ef7378bSmrg } 12229ef7378bSmrg /^X\(\/\/\)[^/].*/{ 12239ef7378bSmrg s//\1/ 12249ef7378bSmrg q 12259ef7378bSmrg } 12269ef7378bSmrg /^X\(\/\/\)$/{ 12279ef7378bSmrg s//\1/ 12289ef7378bSmrg q 12299ef7378bSmrg } 12309ef7378bSmrg /^X\(\/\).*/{ 12319ef7378bSmrg s//\1/ 12329ef7378bSmrg q 12339ef7378bSmrg } 12349ef7378bSmrg s/.*/./; q'` 1235c19de146Smrg srcdir=$ac_confdir 12369ef7378bSmrg if test ! -r "$srcdir/$ac_unique_file"; then 1237c19de146Smrg srcdir=.. 1238c19de146Smrg fi 1239c19de146Smrgelse 1240c19de146Smrg ac_srcdir_defaulted=no 1241c19de146Smrgfi 12429ef7378bSmrgif test ! -r "$srcdir/$ac_unique_file"; then 12439ef7378bSmrg test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 12449ef7378bSmrg as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 12459ef7378bSmrgfi 12469ef7378bSmrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 12479ef7378bSmrgac_abs_confdir=`( 12489ef7378bSmrg cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 12499ef7378bSmrg pwd)` 12509ef7378bSmrg# When building in place, set srcdir=. 12519ef7378bSmrgif test "$ac_abs_confdir" = "$ac_pwd"; then 12529ef7378bSmrg srcdir=. 12539ef7378bSmrgfi 12549ef7378bSmrg# Remove unnecessary trailing slashes from srcdir. 12559ef7378bSmrg# Double slashes in file names in object file debugging info 12569ef7378bSmrg# mess up M-x gdb in Emacs. 12579ef7378bSmrgcase $srcdir in 12589ef7378bSmrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 12599ef7378bSmrgesac 12609ef7378bSmrgfor ac_var in $ac_precious_vars; do 12619ef7378bSmrg eval ac_env_${ac_var}_set=\${${ac_var}+set} 12629ef7378bSmrg eval ac_env_${ac_var}_value=\$${ac_var} 12639ef7378bSmrg eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 12649ef7378bSmrg eval ac_cv_env_${ac_var}_value=\$${ac_var} 12659ef7378bSmrgdone 1266c19de146Smrg 1267c19de146Smrg# 1268c19de146Smrg# Report the --help message. 1269c19de146Smrg# 1270c19de146Smrgif test "$ac_init_help" = "long"; then 1271c19de146Smrg # Omit some internal or obsolete options to make the list less imposing. 1272c19de146Smrg # This message is too long to be a string in the A/UX 3.1 sh. 1273c19de146Smrg cat <<_ACEOF 12749ef7378bSmrg\`configure' configures xbiff 1.0.2 to adapt to many kinds of systems. 1275c19de146Smrg 1276c19de146SmrgUsage: $0 [OPTION]... [VAR=VALUE]... 1277c19de146Smrg 1278c19de146SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as 1279c19de146SmrgVAR=VALUE. See below for descriptions of some of the useful variables. 1280c19de146Smrg 1281c19de146SmrgDefaults for the options are specified in brackets. 1282c19de146Smrg 1283c19de146SmrgConfiguration: 1284c19de146Smrg -h, --help display this help and exit 1285c19de146Smrg --help=short display options specific to this package 1286c19de146Smrg --help=recursive display the short help of all the included packages 1287c19de146Smrg -V, --version display version information and exit 1288c19de146Smrg -q, --quiet, --silent do not print \`checking...' messages 1289c19de146Smrg --cache-file=FILE cache test results in FILE [disabled] 1290c19de146Smrg -C, --config-cache alias for \`--cache-file=config.cache' 1291c19de146Smrg -n, --no-create do not create output files 1292c19de146Smrg --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1293c19de146Smrg 1294c19de146SmrgInstallation directories: 1295c19de146Smrg --prefix=PREFIX install architecture-independent files in PREFIX 12969ef7378bSmrg [$ac_default_prefix] 1297c19de146Smrg --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 12989ef7378bSmrg [PREFIX] 1299c19de146Smrg 1300c19de146SmrgBy default, \`make install' will install all the files in 1301c19de146Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1302c19de146Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix', 1303c19de146Smrgfor instance \`--prefix=\$HOME'. 1304c19de146Smrg 1305c19de146SmrgFor better control, use the options below. 1306c19de146Smrg 1307c19de146SmrgFine tuning of the installation directories: 13089ef7378bSmrg --bindir=DIR user executables [EPREFIX/bin] 13099ef7378bSmrg --sbindir=DIR system admin executables [EPREFIX/sbin] 13109ef7378bSmrg --libexecdir=DIR program executables [EPREFIX/libexec] 13119ef7378bSmrg --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 13129ef7378bSmrg --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 13139ef7378bSmrg --localstatedir=DIR modifiable single-machine data [PREFIX/var] 13149ef7378bSmrg --libdir=DIR object code libraries [EPREFIX/lib] 13159ef7378bSmrg --includedir=DIR C header files [PREFIX/include] 13169ef7378bSmrg --oldincludedir=DIR C header files for non-gcc [/usr/include] 13179ef7378bSmrg --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 13189ef7378bSmrg --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 13199ef7378bSmrg --infodir=DIR info documentation [DATAROOTDIR/info] 13209ef7378bSmrg --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 13219ef7378bSmrg --mandir=DIR man documentation [DATAROOTDIR/man] 13229ef7378bSmrg --docdir=DIR documentation root [DATAROOTDIR/doc/xbiff] 13239ef7378bSmrg --htmldir=DIR html documentation [DOCDIR] 13249ef7378bSmrg --dvidir=DIR dvi documentation [DOCDIR] 13259ef7378bSmrg --pdfdir=DIR pdf documentation [DOCDIR] 13269ef7378bSmrg --psdir=DIR ps documentation [DOCDIR] 1327c19de146Smrg_ACEOF 1328c19de146Smrg 1329c19de146Smrg cat <<\_ACEOF 1330c19de146Smrg 1331c19de146SmrgProgram names: 1332c19de146Smrg --program-prefix=PREFIX prepend PREFIX to installed program names 1333c19de146Smrg --program-suffix=SUFFIX append SUFFIX to installed program names 1334c19de146Smrg --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1335c19de146Smrg 1336c19de146SmrgSystem types: 1337c19de146Smrg --build=BUILD configure for building on BUILD [guessed] 1338c19de146Smrg --host=HOST cross-compile to build programs to run on HOST [BUILD] 1339c19de146Smrg_ACEOF 1340c19de146Smrgfi 1341c19de146Smrg 1342c19de146Smrgif test -n "$ac_init_help"; then 1343c19de146Smrg case $ac_init_help in 13449ef7378bSmrg short | recursive ) echo "Configuration of xbiff 1.0.2:";; 1345c19de146Smrg esac 1346c19de146Smrg cat <<\_ACEOF 1347c19de146Smrg 1348c19de146SmrgOptional Features: 13499ef7378bSmrg --disable-option-checking ignore unrecognized --enable/--with options 1350c19de146Smrg --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1351c19de146Smrg --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 13529ef7378bSmrg --enable-maintainer-mode enable make rules and dependencies not useful 13539ef7378bSmrg (and sometimes confusing) to the casual installer 13549ef7378bSmrg --disable-dependency-tracking speeds up one-time build 13559ef7378bSmrg --enable-dependency-tracking do not reject slow dependency extractors 13569ef7378bSmrg --enable-silent-rules less verbose build output (undo: `make V=1') 13579ef7378bSmrg --disable-silent-rules verbose build output (undo: `make V=0') 13589ef7378bSmrg --enable-strict-compilation 13599ef7378bSmrg Enable all warnings from compiler and make them 13609ef7378bSmrg errors (default: disabled) 1361c19de146Smrg 1362c19de146SmrgOptional Packages: 1363c19de146Smrg --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1364c19de146Smrg --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1365c19de146Smrg --with-release-version=STRING 1366c19de146Smrg Use release version string in package name 1367c19de146Smrg 1368c19de146SmrgSome influential environment variables: 1369c19de146Smrg CC C compiler command 1370c19de146Smrg CFLAGS C compiler flags 1371c19de146Smrg LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1372c19de146Smrg nonstandard directory <lib dir> 13739ef7378bSmrg LIBS libraries to pass to the linker, e.g. -l<library> 13749ef7378bSmrg CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 13759ef7378bSmrg you have headers in a nonstandard directory <include dir> 13769ef7378bSmrg CPP C preprocessor 1377c19de146Smrg PKG_CONFIG path to pkg-config utility 1378c19de146Smrg XBIFF_CFLAGS 1379c19de146Smrg C compiler flags for XBIFF, overriding pkg-config 1380c19de146Smrg XBIFF_LIBS linker flags for XBIFF, overriding pkg-config 1381c19de146Smrg 1382c19de146SmrgUse these variables to override the choices made by `configure' or to help 1383c19de146Smrgit to find libraries and programs with nonstandard names/locations. 1384c19de146Smrg 1385c19de146SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 1386c19de146Smrg_ACEOF 13879ef7378bSmrgac_status=$? 1388c19de146Smrgfi 1389c19de146Smrg 1390c19de146Smrgif test "$ac_init_help" = "recursive"; then 1391c19de146Smrg # If there are subdirs, report their specific --help. 1392c19de146Smrg for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 13939ef7378bSmrg test -d "$ac_dir" || 13949ef7378bSmrg { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 13959ef7378bSmrg continue 1396c19de146Smrg ac_builddir=. 1397c19de146Smrg 13989ef7378bSmrgcase "$ac_dir" in 13999ef7378bSmrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 14009ef7378bSmrg*) 14019ef7378bSmrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 14029ef7378bSmrg # A ".." for each directory in $ac_dir_suffix. 14039ef7378bSmrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 14049ef7378bSmrg case $ac_top_builddir_sub in 14059ef7378bSmrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 14069ef7378bSmrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 14079ef7378bSmrg esac ;; 14089ef7378bSmrgesac 14099ef7378bSmrgac_abs_top_builddir=$ac_pwd 14109ef7378bSmrgac_abs_builddir=$ac_pwd$ac_dir_suffix 14119ef7378bSmrg# for backward compatibility: 14129ef7378bSmrgac_top_builddir=$ac_top_build_prefix 1413c19de146Smrg 1414c19de146Smrgcase $srcdir in 14159ef7378bSmrg .) # We are building in place. 1416c19de146Smrg ac_srcdir=. 14179ef7378bSmrg ac_top_srcdir=$ac_top_builddir_sub 14189ef7378bSmrg ac_abs_top_srcdir=$ac_pwd ;; 14199ef7378bSmrg [\\/]* | ?:[\\/]* ) # Absolute name. 1420c19de146Smrg ac_srcdir=$srcdir$ac_dir_suffix; 14219ef7378bSmrg ac_top_srcdir=$srcdir 14229ef7378bSmrg ac_abs_top_srcdir=$srcdir ;; 14239ef7378bSmrg *) # Relative name. 14249ef7378bSmrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 14259ef7378bSmrg ac_top_srcdir=$ac_top_build_prefix$srcdir 14269ef7378bSmrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1427c19de146Smrgesac 14289ef7378bSmrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 14299ef7378bSmrg 14309ef7378bSmrg cd "$ac_dir" || { ac_status=$?; continue; } 14319ef7378bSmrg # Check for guested configure. 14329ef7378bSmrg if test -f "$ac_srcdir/configure.gnu"; then 14339ef7378bSmrg echo && 14349ef7378bSmrg $SHELL "$ac_srcdir/configure.gnu" --help=recursive 14359ef7378bSmrg elif test -f "$ac_srcdir/configure"; then 14369ef7378bSmrg echo && 14379ef7378bSmrg $SHELL "$ac_srcdir/configure" --help=recursive 1438c19de146Smrg else 14399ef7378bSmrg $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 14409ef7378bSmrg fi || ac_status=$? 14419ef7378bSmrg cd "$ac_pwd" || { ac_status=$?; break; } 1442c19de146Smrg done 1443c19de146Smrgfi 1444c19de146Smrg 14459ef7378bSmrgtest -n "$ac_init_help" && exit $ac_status 1446c19de146Smrgif $ac_init_version; then 1447c19de146Smrg cat <<\_ACEOF 14489ef7378bSmrgxbiff configure 1.0.2 14499ef7378bSmrggenerated by GNU Autoconf 2.65 1450c19de146Smrg 14519ef7378bSmrgCopyright (C) 2009 Free Software Foundation, Inc. 1452c19de146SmrgThis configure script is free software; the Free Software Foundation 1453c19de146Smrggives unlimited permission to copy, distribute and modify it. 1454c19de146Smrg_ACEOF 14559ef7378bSmrg exit 1456c19de146Smrgfi 1457c19de146Smrg 14589ef7378bSmrg## ------------------------ ## 14599ef7378bSmrg## Autoconf initialization. ## 14609ef7378bSmrg## ------------------------ ## 1461c19de146Smrg 14629ef7378bSmrg# ac_fn_c_try_compile LINENO 14639ef7378bSmrg# -------------------------- 14649ef7378bSmrg# Try to compile conftest.$ac_ext, and return whether this succeeded. 14659ef7378bSmrgac_fn_c_try_compile () 1466c19de146Smrg{ 14679ef7378bSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 14689ef7378bSmrg rm -f conftest.$ac_objext 14699ef7378bSmrg if { { ac_try="$ac_compile" 14709ef7378bSmrgcase "(($ac_try" in 14719ef7378bSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14729ef7378bSmrg *) ac_try_echo=$ac_try;; 14739ef7378bSmrgesac 14749ef7378bSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 14759ef7378bSmrg$as_echo "$ac_try_echo"; } >&5 14769ef7378bSmrg (eval "$ac_compile") 2>conftest.err 14779ef7378bSmrg ac_status=$? 14789ef7378bSmrg if test -s conftest.err; then 14799ef7378bSmrg grep -v '^ *+' conftest.err >conftest.er1 14809ef7378bSmrg cat conftest.er1 >&5 14819ef7378bSmrg mv -f conftest.er1 conftest.err 14829ef7378bSmrg fi 14839ef7378bSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14849ef7378bSmrg test $ac_status = 0; } && { 14859ef7378bSmrg test -z "$ac_c_werror_flag" || 14869ef7378bSmrg test ! -s conftest.err 14879ef7378bSmrg } && test -s conftest.$ac_objext; then : 14889ef7378bSmrg ac_retval=0 14899ef7378bSmrgelse 14909ef7378bSmrg $as_echo "$as_me: failed program was:" >&5 14919ef7378bSmrgsed 's/^/| /' conftest.$ac_ext >&5 1492c19de146Smrg 14939ef7378bSmrg ac_retval=1 14949ef7378bSmrgfi 14959ef7378bSmrg eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 14969ef7378bSmrg as_fn_set_status $ac_retval 1497c19de146Smrg 14989ef7378bSmrg} # ac_fn_c_try_compile 1499c19de146Smrg 15009ef7378bSmrg# ac_fn_c_check_decl LINENO SYMBOL VAR 15019ef7378bSmrg# ------------------------------------ 15029ef7378bSmrg# Tests whether SYMBOL is declared, setting cache variable VAR accordingly. 15039ef7378bSmrgac_fn_c_check_decl () 15049ef7378bSmrg{ 15059ef7378bSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 15069ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 15079ef7378bSmrg$as_echo_n "checking whether $2 is declared... " >&6; } 15089ef7378bSmrgif { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 15099ef7378bSmrg $as_echo_n "(cached) " >&6 15109ef7378bSmrgelse 15119ef7378bSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15129ef7378bSmrg/* end confdefs.h. */ 15139ef7378bSmrg$4 15149ef7378bSmrgint 15159ef7378bSmrgmain () 15169ef7378bSmrg{ 15179ef7378bSmrg#ifndef $2 15189ef7378bSmrg (void) $2; 15199ef7378bSmrg#endif 1520c19de146Smrg 15219ef7378bSmrg ; 15229ef7378bSmrg return 0; 15239ef7378bSmrg} 15249ef7378bSmrg_ACEOF 15259ef7378bSmrgif ac_fn_c_try_compile "$LINENO"; then : 15269ef7378bSmrg eval "$3=yes" 15279ef7378bSmrgelse 15289ef7378bSmrg eval "$3=no" 15299ef7378bSmrgfi 15309ef7378bSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15319ef7378bSmrgfi 15329ef7378bSmrgeval ac_res=\$$3 15339ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 15349ef7378bSmrg$as_echo "$ac_res" >&6; } 15359ef7378bSmrg eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1536c19de146Smrg 15379ef7378bSmrg} # ac_fn_c_check_decl 15389ef7378bSmrg 15399ef7378bSmrg# ac_fn_c_try_cpp LINENO 15409ef7378bSmrg# ---------------------- 15419ef7378bSmrg# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 15429ef7378bSmrgac_fn_c_try_cpp () 15439ef7378bSmrg{ 15449ef7378bSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 15459ef7378bSmrg if { { ac_try="$ac_cpp conftest.$ac_ext" 15469ef7378bSmrgcase "(($ac_try" in 15479ef7378bSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15489ef7378bSmrg *) ac_try_echo=$ac_try;; 15499ef7378bSmrgesac 15509ef7378bSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 15519ef7378bSmrg$as_echo "$ac_try_echo"; } >&5 15529ef7378bSmrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 15539ef7378bSmrg ac_status=$? 15549ef7378bSmrg if test -s conftest.err; then 15559ef7378bSmrg grep -v '^ *+' conftest.err >conftest.er1 15569ef7378bSmrg cat conftest.er1 >&5 15579ef7378bSmrg mv -f conftest.er1 conftest.err 15589ef7378bSmrg fi 15599ef7378bSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15609ef7378bSmrg test $ac_status = 0; } >/dev/null && { 15619ef7378bSmrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 15629ef7378bSmrg test ! -s conftest.err 15639ef7378bSmrg }; then : 15649ef7378bSmrg ac_retval=0 15659ef7378bSmrgelse 15669ef7378bSmrg $as_echo "$as_me: failed program was:" >&5 15679ef7378bSmrgsed 's/^/| /' conftest.$ac_ext >&5 15689ef7378bSmrg 15699ef7378bSmrg ac_retval=1 15709ef7378bSmrgfi 15719ef7378bSmrg eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 15729ef7378bSmrg as_fn_set_status $ac_retval 15739ef7378bSmrg 15749ef7378bSmrg} # ac_fn_c_try_cpp 15759ef7378bSmrg 15769ef7378bSmrg# ac_fn_c_try_run LINENO 15779ef7378bSmrg# ---------------------- 15789ef7378bSmrg# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 15799ef7378bSmrg# that executables *can* be run. 15809ef7378bSmrgac_fn_c_try_run () 15819ef7378bSmrg{ 15829ef7378bSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 15839ef7378bSmrg if { { ac_try="$ac_link" 15849ef7378bSmrgcase "(($ac_try" in 15859ef7378bSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15869ef7378bSmrg *) ac_try_echo=$ac_try;; 15879ef7378bSmrgesac 15889ef7378bSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 15899ef7378bSmrg$as_echo "$ac_try_echo"; } >&5 15909ef7378bSmrg (eval "$ac_link") 2>&5 15919ef7378bSmrg ac_status=$? 15929ef7378bSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15939ef7378bSmrg test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 15949ef7378bSmrg { { case "(($ac_try" in 15959ef7378bSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15969ef7378bSmrg *) ac_try_echo=$ac_try;; 15979ef7378bSmrgesac 15989ef7378bSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 15999ef7378bSmrg$as_echo "$ac_try_echo"; } >&5 16009ef7378bSmrg (eval "$ac_try") 2>&5 16019ef7378bSmrg ac_status=$? 16029ef7378bSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16039ef7378bSmrg test $ac_status = 0; }; }; then : 16049ef7378bSmrg ac_retval=0 16059ef7378bSmrgelse 16069ef7378bSmrg $as_echo "$as_me: program exited with status $ac_status" >&5 16079ef7378bSmrg $as_echo "$as_me: failed program was:" >&5 16089ef7378bSmrgsed 's/^/| /' conftest.$ac_ext >&5 16099ef7378bSmrg 16109ef7378bSmrg ac_retval=$ac_status 16119ef7378bSmrgfi 16129ef7378bSmrg rm -rf conftest.dSYM conftest_ipa8_conftest.oo 16139ef7378bSmrg eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 16149ef7378bSmrg as_fn_set_status $ac_retval 16159ef7378bSmrg 16169ef7378bSmrg} # ac_fn_c_try_run 16179ef7378bSmrg 16189ef7378bSmrg# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 16199ef7378bSmrg# ------------------------------------------------------- 16209ef7378bSmrg# Tests whether HEADER exists and can be compiled using the include files in 16219ef7378bSmrg# INCLUDES, setting the cache variable VAR accordingly. 16229ef7378bSmrgac_fn_c_check_header_compile () 16239ef7378bSmrg{ 16249ef7378bSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 16259ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 16269ef7378bSmrg$as_echo_n "checking for $2... " >&6; } 16279ef7378bSmrgif { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 16289ef7378bSmrg $as_echo_n "(cached) " >&6 16299ef7378bSmrgelse 16309ef7378bSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16319ef7378bSmrg/* end confdefs.h. */ 16329ef7378bSmrg$4 16339ef7378bSmrg#include <$2> 16349ef7378bSmrg_ACEOF 16359ef7378bSmrgif ac_fn_c_try_compile "$LINENO"; then : 16369ef7378bSmrg eval "$3=yes" 16379ef7378bSmrgelse 16389ef7378bSmrg eval "$3=no" 16399ef7378bSmrgfi 16409ef7378bSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16419ef7378bSmrgfi 16429ef7378bSmrgeval ac_res=\$$3 16439ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 16449ef7378bSmrg$as_echo "$ac_res" >&6; } 16459ef7378bSmrg eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 16469ef7378bSmrg 16479ef7378bSmrg} # ac_fn_c_check_header_compile 16489ef7378bSmrgcat >config.log <<_ACEOF 16499ef7378bSmrgThis file contains any messages produced by compilers while 16509ef7378bSmrgrunning configure, to aid debugging if configure makes a mistake. 16519ef7378bSmrg 16529ef7378bSmrgIt was created by xbiff $as_me 1.0.2, which was 16539ef7378bSmrggenerated by GNU Autoconf 2.65. Invocation command line was 16549ef7378bSmrg 16559ef7378bSmrg $ $0 $@ 16569ef7378bSmrg 16579ef7378bSmrg_ACEOF 16589ef7378bSmrgexec 5>>config.log 16599ef7378bSmrg{ 16609ef7378bSmrgcat <<_ASUNAME 16619ef7378bSmrg## --------- ## 16629ef7378bSmrg## Platform. ## 16639ef7378bSmrg## --------- ## 16649ef7378bSmrg 16659ef7378bSmrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 16669ef7378bSmrguname -m = `(uname -m) 2>/dev/null || echo unknown` 16679ef7378bSmrguname -r = `(uname -r) 2>/dev/null || echo unknown` 16689ef7378bSmrguname -s = `(uname -s) 2>/dev/null || echo unknown` 16699ef7378bSmrguname -v = `(uname -v) 2>/dev/null || echo unknown` 16709ef7378bSmrg 16719ef7378bSmrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 16729ef7378bSmrg/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 16739ef7378bSmrg 16749ef7378bSmrg/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 16759ef7378bSmrg/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 16769ef7378bSmrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 16779ef7378bSmrg/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 16789ef7378bSmrg/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 16799ef7378bSmrg/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 16809ef7378bSmrg/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 16819ef7378bSmrg 16829ef7378bSmrg_ASUNAME 16839ef7378bSmrg 16849ef7378bSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16859ef7378bSmrgfor as_dir in $PATH 16869ef7378bSmrgdo 16879ef7378bSmrg IFS=$as_save_IFS 1688c19de146Smrg test -z "$as_dir" && as_dir=. 16899ef7378bSmrg $as_echo "PATH: $as_dir" 16909ef7378bSmrg done 16919ef7378bSmrgIFS=$as_save_IFS 1692c19de146Smrg 1693c19de146Smrg} >&5 1694c19de146Smrg 1695c19de146Smrgcat >&5 <<_ACEOF 1696c19de146Smrg 1697c19de146Smrg 1698c19de146Smrg## ----------- ## 1699c19de146Smrg## Core tests. ## 1700c19de146Smrg## ----------- ## 1701c19de146Smrg 1702c19de146Smrg_ACEOF 1703c19de146Smrg 1704c19de146Smrg 1705c19de146Smrg# Keep a trace of the command line. 1706c19de146Smrg# Strip out --no-create and --no-recursion so they do not pile up. 1707c19de146Smrg# Strip out --silent because we don't want to record it for future runs. 1708c19de146Smrg# Also quote any args containing shell meta-characters. 1709c19de146Smrg# Make two passes to allow for proper duplicate-argument suppression. 1710c19de146Smrgac_configure_args= 1711c19de146Smrgac_configure_args0= 1712c19de146Smrgac_configure_args1= 1713c19de146Smrgac_must_keep_next=false 1714c19de146Smrgfor ac_pass in 1 2 1715c19de146Smrgdo 1716c19de146Smrg for ac_arg 1717c19de146Smrg do 1718c19de146Smrg case $ac_arg in 1719c19de146Smrg -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1720c19de146Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1721c19de146Smrg | -silent | --silent | --silen | --sile | --sil) 1722c19de146Smrg continue ;; 17239ef7378bSmrg *\'*) 17249ef7378bSmrg ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1725c19de146Smrg esac 1726c19de146Smrg case $ac_pass in 17279ef7378bSmrg 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1728c19de146Smrg 2) 17299ef7378bSmrg as_fn_append ac_configure_args1 " '$ac_arg'" 1730c19de146Smrg if test $ac_must_keep_next = true; then 1731c19de146Smrg ac_must_keep_next=false # Got value, back to normal. 1732c19de146Smrg else 1733c19de146Smrg case $ac_arg in 1734c19de146Smrg *=* | --config-cache | -C | -disable-* | --disable-* \ 1735c19de146Smrg | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1736c19de146Smrg | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1737c19de146Smrg | -with-* | --with-* | -without-* | --without-* | --x) 1738c19de146Smrg case "$ac_configure_args0 " in 1739c19de146Smrg "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1740c19de146Smrg esac 1741c19de146Smrg ;; 1742c19de146Smrg -* ) ac_must_keep_next=true ;; 1743c19de146Smrg esac 1744c19de146Smrg fi 17459ef7378bSmrg as_fn_append ac_configure_args " '$ac_arg'" 1746c19de146Smrg ;; 1747c19de146Smrg esac 1748c19de146Smrg done 1749c19de146Smrgdone 17509ef7378bSmrg{ ac_configure_args0=; unset ac_configure_args0;} 17519ef7378bSmrg{ ac_configure_args1=; unset ac_configure_args1;} 1752c19de146Smrg 1753c19de146Smrg# When interrupted or exit'd, cleanup temporary files, and complete 1754c19de146Smrg# config.log. We remove comments because anyway the quotes in there 1755c19de146Smrg# would cause problems or look ugly. 17569ef7378bSmrg# WARNING: Use '\'' to represent an apostrophe within the trap. 17579ef7378bSmrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1758c19de146Smrgtrap 'exit_status=$? 1759c19de146Smrg # Save into config.log some information that might help in debugging. 1760c19de146Smrg { 1761c19de146Smrg echo 1762c19de146Smrg 1763c19de146Smrg cat <<\_ASBOX 1764c19de146Smrg## ---------------- ## 1765c19de146Smrg## Cache variables. ## 1766c19de146Smrg## ---------------- ## 1767c19de146Smrg_ASBOX 1768c19de146Smrg echo 1769c19de146Smrg # The following way of writing the cache mishandles newlines in values, 17709ef7378bSmrg( 17719ef7378bSmrg for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 17729ef7378bSmrg eval ac_val=\$$ac_var 17739ef7378bSmrg case $ac_val in #( 17749ef7378bSmrg *${as_nl}*) 17759ef7378bSmrg case $ac_var in #( 17769ef7378bSmrg *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 17779ef7378bSmrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 17789ef7378bSmrg esac 17799ef7378bSmrg case $ac_var in #( 17809ef7378bSmrg _ | IFS | as_nl) ;; #( 17819ef7378bSmrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 17829ef7378bSmrg *) { eval $ac_var=; unset $ac_var;} ;; 17839ef7378bSmrg esac ;; 17849ef7378bSmrg esac 17859ef7378bSmrg done 1786c19de146Smrg (set) 2>&1 | 17879ef7378bSmrg case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 17889ef7378bSmrg *${as_nl}ac_space=\ *) 1789c19de146Smrg sed -n \ 17909ef7378bSmrg "s/'\''/'\''\\\\'\'''\''/g; 17919ef7378bSmrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 17929ef7378bSmrg ;; #( 1793c19de146Smrg *) 17949ef7378bSmrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1795c19de146Smrg ;; 17969ef7378bSmrg esac | 17979ef7378bSmrg sort 17989ef7378bSmrg) 1799c19de146Smrg echo 1800c19de146Smrg 1801c19de146Smrg cat <<\_ASBOX 1802c19de146Smrg## ----------------- ## 1803c19de146Smrg## Output variables. ## 1804c19de146Smrg## ----------------- ## 1805c19de146Smrg_ASBOX 1806c19de146Smrg echo 1807c19de146Smrg for ac_var in $ac_subst_vars 1808c19de146Smrg do 18099ef7378bSmrg eval ac_val=\$$ac_var 18109ef7378bSmrg case $ac_val in 18119ef7378bSmrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 18129ef7378bSmrg esac 18139ef7378bSmrg $as_echo "$ac_var='\''$ac_val'\''" 1814c19de146Smrg done | sort 1815c19de146Smrg echo 1816c19de146Smrg 1817c19de146Smrg if test -n "$ac_subst_files"; then 1818c19de146Smrg cat <<\_ASBOX 18199ef7378bSmrg## ------------------- ## 18209ef7378bSmrg## File substitutions. ## 18219ef7378bSmrg## ------------------- ## 1822c19de146Smrg_ASBOX 1823c19de146Smrg echo 1824c19de146Smrg for ac_var in $ac_subst_files 1825c19de146Smrg do 18269ef7378bSmrg eval ac_val=\$$ac_var 18279ef7378bSmrg case $ac_val in 18289ef7378bSmrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 18299ef7378bSmrg esac 18309ef7378bSmrg $as_echo "$ac_var='\''$ac_val'\''" 1831c19de146Smrg done | sort 1832c19de146Smrg echo 1833c19de146Smrg fi 1834c19de146Smrg 1835c19de146Smrg if test -s confdefs.h; then 1836c19de146Smrg cat <<\_ASBOX 1837c19de146Smrg## ----------- ## 1838c19de146Smrg## confdefs.h. ## 1839c19de146Smrg## ----------- ## 1840c19de146Smrg_ASBOX 1841c19de146Smrg echo 18429ef7378bSmrg cat confdefs.h 1843c19de146Smrg echo 1844c19de146Smrg fi 1845c19de146Smrg test "$ac_signal" != 0 && 18469ef7378bSmrg $as_echo "$as_me: caught signal $ac_signal" 18479ef7378bSmrg $as_echo "$as_me: exit $exit_status" 1848c19de146Smrg } >&5 18499ef7378bSmrg rm -f core *.core core.conftest.* && 18509ef7378bSmrg rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1851c19de146Smrg exit $exit_status 18529ef7378bSmrg' 0 1853c19de146Smrgfor ac_signal in 1 2 13 15; do 18549ef7378bSmrg trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1855c19de146Smrgdone 1856c19de146Smrgac_signal=0 1857c19de146Smrg 1858c19de146Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed. 18599ef7378bSmrgrm -f -r conftest* confdefs.h 18609ef7378bSmrg 18619ef7378bSmrg$as_echo "/* confdefs.h */" > confdefs.h 1862c19de146Smrg 1863c19de146Smrg# Predefined preprocessor variables. 1864c19de146Smrg 1865c19de146Smrgcat >>confdefs.h <<_ACEOF 1866c19de146Smrg#define PACKAGE_NAME "$PACKAGE_NAME" 1867c19de146Smrg_ACEOF 1868c19de146Smrg 1869c19de146Smrgcat >>confdefs.h <<_ACEOF 1870c19de146Smrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1871c19de146Smrg_ACEOF 1872c19de146Smrg 1873c19de146Smrgcat >>confdefs.h <<_ACEOF 1874c19de146Smrg#define PACKAGE_VERSION "$PACKAGE_VERSION" 1875c19de146Smrg_ACEOF 1876c19de146Smrg 1877c19de146Smrgcat >>confdefs.h <<_ACEOF 1878c19de146Smrg#define PACKAGE_STRING "$PACKAGE_STRING" 1879c19de146Smrg_ACEOF 1880c19de146Smrg 1881c19de146Smrgcat >>confdefs.h <<_ACEOF 1882c19de146Smrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1883c19de146Smrg_ACEOF 1884c19de146Smrg 18859ef7378bSmrgcat >>confdefs.h <<_ACEOF 18869ef7378bSmrg#define PACKAGE_URL "$PACKAGE_URL" 18879ef7378bSmrg_ACEOF 18889ef7378bSmrg 1889c19de146Smrg 1890c19de146Smrg# Let the site file select an alternate cache file if it wants to. 18919ef7378bSmrg# Prefer an explicitly selected file to automatically selected ones. 18929ef7378bSmrgac_site_file1=NONE 18939ef7378bSmrgac_site_file2=NONE 18949ef7378bSmrgif test -n "$CONFIG_SITE"; then 18959ef7378bSmrg ac_site_file1=$CONFIG_SITE 18969ef7378bSmrgelif test "x$prefix" != xNONE; then 18979ef7378bSmrg ac_site_file1=$prefix/share/config.site 18989ef7378bSmrg ac_site_file2=$prefix/etc/config.site 18999ef7378bSmrgelse 19009ef7378bSmrg ac_site_file1=$ac_default_prefix/share/config.site 19019ef7378bSmrg ac_site_file2=$ac_default_prefix/etc/config.site 1902c19de146Smrgfi 19039ef7378bSmrgfor ac_site_file in "$ac_site_file1" "$ac_site_file2" 19049ef7378bSmrgdo 19059ef7378bSmrg test "x$ac_site_file" = xNONE && continue 19069ef7378bSmrg if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 19079ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 19089ef7378bSmrg$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1909c19de146Smrg sed 's/^/| /' "$ac_site_file" >&5 1910c19de146Smrg . "$ac_site_file" 1911c19de146Smrg fi 1912c19de146Smrgdone 1913c19de146Smrg 1914c19de146Smrgif test -r "$cache_file"; then 19159ef7378bSmrg # Some versions of bash will fail to source /dev/null (special files 19169ef7378bSmrg # actually), so we avoid doing that. DJGPP emulates it as a regular file. 19179ef7378bSmrg if test /dev/null != "$cache_file" && test -f "$cache_file"; then 19189ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 19199ef7378bSmrg$as_echo "$as_me: loading cache $cache_file" >&6;} 1920c19de146Smrg case $cache_file in 19219ef7378bSmrg [\\/]* | ?:[\\/]* ) . "$cache_file";; 19229ef7378bSmrg *) . "./$cache_file";; 1923c19de146Smrg esac 1924c19de146Smrg fi 1925c19de146Smrgelse 19269ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 19279ef7378bSmrg$as_echo "$as_me: creating cache $cache_file" >&6;} 1928c19de146Smrg >$cache_file 1929c19de146Smrgfi 1930c19de146Smrg 1931c19de146Smrg# Check that the precious variables saved in the cache have kept the same 1932c19de146Smrg# value. 1933c19de146Smrgac_cache_corrupted=false 19349ef7378bSmrgfor ac_var in $ac_precious_vars; do 1935c19de146Smrg eval ac_old_set=\$ac_cv_env_${ac_var}_set 1936c19de146Smrg eval ac_new_set=\$ac_env_${ac_var}_set 19379ef7378bSmrg eval ac_old_val=\$ac_cv_env_${ac_var}_value 19389ef7378bSmrg eval ac_new_val=\$ac_env_${ac_var}_value 1939c19de146Smrg case $ac_old_set,$ac_new_set in 1940c19de146Smrg set,) 19419ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 19429ef7378bSmrg$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1943c19de146Smrg ac_cache_corrupted=: ;; 1944c19de146Smrg ,set) 19459ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 19469ef7378bSmrg$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1947c19de146Smrg ac_cache_corrupted=: ;; 1948c19de146Smrg ,);; 1949c19de146Smrg *) 1950c19de146Smrg if test "x$ac_old_val" != "x$ac_new_val"; then 19519ef7378bSmrg # differences in whitespace do not lead to failure. 19529ef7378bSmrg ac_old_val_w=`echo x $ac_old_val` 19539ef7378bSmrg ac_new_val_w=`echo x $ac_new_val` 19549ef7378bSmrg if test "$ac_old_val_w" != "$ac_new_val_w"; then 19559ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 19569ef7378bSmrg$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 19579ef7378bSmrg ac_cache_corrupted=: 19589ef7378bSmrg else 19599ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 19609ef7378bSmrg$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 19619ef7378bSmrg eval $ac_var=\$ac_old_val 19629ef7378bSmrg fi 19639ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 19649ef7378bSmrg$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 19659ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 19669ef7378bSmrg$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1967c19de146Smrg fi;; 1968c19de146Smrg esac 1969c19de146Smrg # Pass precious variables to config.status. 1970c19de146Smrg if test "$ac_new_set" = set; then 1971c19de146Smrg case $ac_new_val in 19729ef7378bSmrg *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1973c19de146Smrg *) ac_arg=$ac_var=$ac_new_val ;; 1974c19de146Smrg esac 1975c19de146Smrg case " $ac_configure_args " in 1976c19de146Smrg *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 19779ef7378bSmrg *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1978c19de146Smrg esac 1979c19de146Smrg fi 1980c19de146Smrgdone 1981c19de146Smrgif $ac_cache_corrupted; then 19829ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19839ef7378bSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19849ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 19859ef7378bSmrg$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 19869ef7378bSmrg as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 1987c19de146Smrgfi 19889ef7378bSmrg## -------------------- ## 19899ef7378bSmrg## Main body of script. ## 19909ef7378bSmrg## -------------------- ## 1991c19de146Smrg 1992c19de146Smrgac_ext=c 1993c19de146Smrgac_cpp='$CPP $CPPFLAGS' 1994c19de146Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1995c19de146Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1996c19de146Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 1997c19de146Smrg 1998c19de146Smrg 19999ef7378bSmrgam__api_version='1.11' 2000c19de146Smrg 2001c19de146Smrgac_aux_dir= 20029ef7378bSmrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 20039ef7378bSmrg for ac_t in install-sh install.sh shtool; do 20049ef7378bSmrg if test -f "$ac_dir/$ac_t"; then 20059ef7378bSmrg ac_aux_dir=$ac_dir 20069ef7378bSmrg ac_install_sh="$ac_aux_dir/$ac_t -c" 20079ef7378bSmrg break 2 20089ef7378bSmrg fi 20099ef7378bSmrg done 2010c19de146Smrgdone 2011c19de146Smrgif test -z "$ac_aux_dir"; then 20129ef7378bSmrg as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2013c19de146Smrgfi 20149ef7378bSmrg 20159ef7378bSmrg# These three variables are undocumented and unsupported, 20169ef7378bSmrg# and are intended to be withdrawn in a future Autoconf release. 20179ef7378bSmrg# They can cause serious problems if a builder's source tree is in a directory 20189ef7378bSmrg# whose full name contains unusual characters. 20199ef7378bSmrgac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 20209ef7378bSmrgac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 20219ef7378bSmrgac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 20229ef7378bSmrg 2023c19de146Smrg 2024c19de146Smrg# Find a good install program. We prefer a C program (faster), 2025c19de146Smrg# so one script is as good as another. But avoid the broken or 2026c19de146Smrg# incompatible versions: 2027c19de146Smrg# SysV /etc/install, /usr/sbin/install 2028c19de146Smrg# SunOS /usr/etc/install 2029c19de146Smrg# IRIX /sbin/install 2030c19de146Smrg# AIX /bin/install 2031c19de146Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs 2032c19de146Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2033c19de146Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2034c19de146Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2035c19de146Smrg# OS/2's system install, which has a completely different semantic 2036c19de146Smrg# ./install, which can be erroneously created by make from ./install.sh. 20379ef7378bSmrg# Reject install programs that cannot install multiple files. 20389ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 20399ef7378bSmrg$as_echo_n "checking for a BSD-compatible install... " >&6; } 2040c19de146Smrgif test -z "$INSTALL"; then 20419ef7378bSmrgif test "${ac_cv_path_install+set}" = set; then : 20429ef7378bSmrg $as_echo_n "(cached) " >&6 2043c19de146Smrgelse 2044c19de146Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2045c19de146Smrgfor as_dir in $PATH 2046c19de146Smrgdo 2047c19de146Smrg IFS=$as_save_IFS 2048c19de146Smrg test -z "$as_dir" && as_dir=. 20499ef7378bSmrg # Account for people who put trailing slashes in PATH elements. 20509ef7378bSmrgcase $as_dir/ in #(( 20519ef7378bSmrg ./ | .// | /[cC]/* | \ 2052c19de146Smrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 20539ef7378bSmrg ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2054c19de146Smrg /usr/ucb/* ) ;; 2055c19de146Smrg *) 2056c19de146Smrg # OSF1 and SCO ODT 3.0 have their own names for install. 2057c19de146Smrg # Don't use installbsd from OSF since it installs stuff as root 2058c19de146Smrg # by default. 2059c19de146Smrg for ac_prog in ginstall scoinst install; do 2060c19de146Smrg for ac_exec_ext in '' $ac_executable_extensions; do 20619ef7378bSmrg if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2062c19de146Smrg if test $ac_prog = install && 2063c19de146Smrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2064c19de146Smrg # AIX install. It has an incompatible calling convention. 2065c19de146Smrg : 2066c19de146Smrg elif test $ac_prog = install && 2067c19de146Smrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2068c19de146Smrg # program-specific install script used by HP pwplus--don't use. 2069c19de146Smrg : 2070c19de146Smrg else 20719ef7378bSmrg rm -rf conftest.one conftest.two conftest.dir 20729ef7378bSmrg echo one > conftest.one 20739ef7378bSmrg echo two > conftest.two 20749ef7378bSmrg mkdir conftest.dir 20759ef7378bSmrg if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 20769ef7378bSmrg test -s conftest.one && test -s conftest.two && 20779ef7378bSmrg test -s conftest.dir/conftest.one && 20789ef7378bSmrg test -s conftest.dir/conftest.two 20799ef7378bSmrg then 20809ef7378bSmrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 20819ef7378bSmrg break 3 20829ef7378bSmrg fi 2083c19de146Smrg fi 2084c19de146Smrg fi 2085c19de146Smrg done 2086c19de146Smrg done 2087c19de146Smrg ;; 2088c19de146Smrgesac 2089c19de146Smrg 20909ef7378bSmrg done 20919ef7378bSmrgIFS=$as_save_IFS 20929ef7378bSmrg 20939ef7378bSmrgrm -rf conftest.one conftest.two conftest.dir 2094c19de146Smrg 2095c19de146Smrgfi 2096c19de146Smrg if test "${ac_cv_path_install+set}" = set; then 2097c19de146Smrg INSTALL=$ac_cv_path_install 2098c19de146Smrg else 20999ef7378bSmrg # As a last resort, use the slow shell script. Don't cache a 21009ef7378bSmrg # value for INSTALL within a source directory, because that will 2101c19de146Smrg # break other packages using the cache if that directory is 21029ef7378bSmrg # removed, or if the value is a relative name. 2103c19de146Smrg INSTALL=$ac_install_sh 2104c19de146Smrg fi 2105c19de146Smrgfi 21069ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 21079ef7378bSmrg$as_echo "$INSTALL" >&6; } 2108c19de146Smrg 2109c19de146Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2110c19de146Smrg# It thinks the first close brace ends the variable substitution. 2111c19de146Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2112c19de146Smrg 2113c19de146Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2114c19de146Smrg 2115c19de146Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2116c19de146Smrg 21179ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 21189ef7378bSmrg$as_echo_n "checking whether build environment is sane... " >&6; } 2119c19de146Smrg# Just in case 2120c19de146Smrgsleep 1 2121c19de146Smrgecho timestamp > conftest.file 21229ef7378bSmrg# Reject unsafe characters in $srcdir or the absolute working directory 21239ef7378bSmrg# name. Accept space and tab only in the latter. 21249ef7378bSmrgam_lf=' 21259ef7378bSmrg' 21269ef7378bSmrgcase `pwd` in 21279ef7378bSmrg *[\\\"\#\$\&\'\`$am_lf]*) 21289ef7378bSmrg as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; 21299ef7378bSmrgesac 21309ef7378bSmrgcase $srcdir in 21319ef7378bSmrg *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 21329ef7378bSmrg as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 21339ef7378bSmrgesac 21349ef7378bSmrg 2135c19de146Smrg# Do `set' in a subshell so we don't clobber the current shell's 2136c19de146Smrg# arguments. Must try -L first in case configure is actually a 2137c19de146Smrg# symlink; some systems play weird games with the mod time of symlinks 2138c19de146Smrg# (eg FreeBSD returns the mod time of the symlink's containing 2139c19de146Smrg# directory). 2140c19de146Smrgif ( 21419ef7378bSmrg set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2142c19de146Smrg if test "$*" = "X"; then 2143c19de146Smrg # -L didn't work. 21449ef7378bSmrg set X `ls -t "$srcdir/configure" conftest.file` 2145c19de146Smrg fi 2146c19de146Smrg rm -f conftest.file 2147c19de146Smrg if test "$*" != "X $srcdir/configure conftest.file" \ 2148c19de146Smrg && test "$*" != "X conftest.file $srcdir/configure"; then 2149c19de146Smrg 2150c19de146Smrg # If neither matched, then we have a broken ls. This can happen 2151c19de146Smrg # if, for instance, CONFIG_SHELL is bash and it inherits a 2152c19de146Smrg # broken ls alias from the environment. This has actually 2153c19de146Smrg # happened. Such a system could not be considered "sane". 21549ef7378bSmrg as_fn_error "ls -t appears to fail. Make sure there is not a broken 21559ef7378bSmrgalias in your environment" "$LINENO" 5 2156c19de146Smrg fi 2157c19de146Smrg 2158c19de146Smrg test "$2" = conftest.file 2159c19de146Smrg ) 2160c19de146Smrgthen 2161c19de146Smrg # Ok. 2162c19de146Smrg : 2163c19de146Smrgelse 21649ef7378bSmrg as_fn_error "newly created file is older than distributed files! 21659ef7378bSmrgCheck your system clock" "$LINENO" 5 2166c19de146Smrgfi 21679ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 21689ef7378bSmrg$as_echo "yes" >&6; } 2169c19de146Smrgtest "$program_prefix" != NONE && 21709ef7378bSmrg program_transform_name="s&^&$program_prefix&;$program_transform_name" 2171c19de146Smrg# Use a double $ so make ignores it. 2172c19de146Smrgtest "$program_suffix" != NONE && 21739ef7378bSmrg program_transform_name="s&\$&$program_suffix&;$program_transform_name" 21749ef7378bSmrg# Double any \ or $. 2175c19de146Smrg# By default was `s,x,x', remove it if useless. 21769ef7378bSmrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 21779ef7378bSmrgprogram_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2178c19de146Smrg 2179c19de146Smrg# expand $ac_aux_dir to an absolute path 2180c19de146Smrgam_aux_dir=`cd $ac_aux_dir && pwd` 2181c19de146Smrg 21829ef7378bSmrgif test x"${MISSING+set}" != xset; then 21839ef7378bSmrg case $am_aux_dir in 21849ef7378bSmrg *\ * | *\ *) 21859ef7378bSmrg MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 21869ef7378bSmrg *) 21879ef7378bSmrg MISSING="\${SHELL} $am_aux_dir/missing" ;; 21889ef7378bSmrg esac 21899ef7378bSmrgfi 2190c19de146Smrg# Use eval to expand $SHELL 2191c19de146Smrgif eval "$MISSING --run true"; then 2192c19de146Smrg am_missing_run="$MISSING --run " 2193c19de146Smrgelse 2194c19de146Smrg am_missing_run= 21959ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 21969ef7378bSmrg$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 21979ef7378bSmrgfi 21989ef7378bSmrg 21999ef7378bSmrgif test x"${install_sh}" != xset; then 22009ef7378bSmrg case $am_aux_dir in 22019ef7378bSmrg *\ * | *\ *) 22029ef7378bSmrg install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 22039ef7378bSmrg *) 22049ef7378bSmrg install_sh="\${SHELL} $am_aux_dir/install-sh" 22059ef7378bSmrg esac 22069ef7378bSmrgfi 22079ef7378bSmrg 22089ef7378bSmrg# Installed binaries are usually stripped using `strip' when the user 22099ef7378bSmrg# run `make install-strip'. However `strip' might not be the right 22109ef7378bSmrg# tool to use in cross-compilation environments, therefore Automake 22119ef7378bSmrg# will honor the `STRIP' environment variable to overrule this program. 22129ef7378bSmrgif test "$cross_compiling" != no; then 22139ef7378bSmrg if test -n "$ac_tool_prefix"; then 22149ef7378bSmrg # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 22159ef7378bSmrgset dummy ${ac_tool_prefix}strip; ac_word=$2 22169ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22179ef7378bSmrg$as_echo_n "checking for $ac_word... " >&6; } 22189ef7378bSmrgif test "${ac_cv_prog_STRIP+set}" = set; then : 22199ef7378bSmrg $as_echo_n "(cached) " >&6 22209ef7378bSmrgelse 22219ef7378bSmrg if test -n "$STRIP"; then 22229ef7378bSmrg ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 22239ef7378bSmrgelse 22249ef7378bSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22259ef7378bSmrgfor as_dir in $PATH 22269ef7378bSmrgdo 22279ef7378bSmrg IFS=$as_save_IFS 22289ef7378bSmrg test -z "$as_dir" && as_dir=. 22299ef7378bSmrg for ac_exec_ext in '' $ac_executable_extensions; do 22309ef7378bSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 22319ef7378bSmrg ac_cv_prog_STRIP="${ac_tool_prefix}strip" 22329ef7378bSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 22339ef7378bSmrg break 2 22349ef7378bSmrg fi 22359ef7378bSmrgdone 22369ef7378bSmrg done 22379ef7378bSmrgIFS=$as_save_IFS 22389ef7378bSmrg 22399ef7378bSmrgfi 22409ef7378bSmrgfi 22419ef7378bSmrgSTRIP=$ac_cv_prog_STRIP 22429ef7378bSmrgif test -n "$STRIP"; then 22439ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 22449ef7378bSmrg$as_echo "$STRIP" >&6; } 22459ef7378bSmrgelse 22469ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22479ef7378bSmrg$as_echo "no" >&6; } 22489ef7378bSmrgfi 22499ef7378bSmrg 22509ef7378bSmrg 22519ef7378bSmrgfi 22529ef7378bSmrgif test -z "$ac_cv_prog_STRIP"; then 22539ef7378bSmrg ac_ct_STRIP=$STRIP 22549ef7378bSmrg # Extract the first word of "strip", so it can be a program name with args. 22559ef7378bSmrgset dummy strip; ac_word=$2 22569ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22579ef7378bSmrg$as_echo_n "checking for $ac_word... " >&6; } 22589ef7378bSmrgif test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 22599ef7378bSmrg $as_echo_n "(cached) " >&6 22609ef7378bSmrgelse 22619ef7378bSmrg if test -n "$ac_ct_STRIP"; then 22629ef7378bSmrg ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 22639ef7378bSmrgelse 22649ef7378bSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22659ef7378bSmrgfor as_dir in $PATH 22669ef7378bSmrgdo 22679ef7378bSmrg IFS=$as_save_IFS 22689ef7378bSmrg test -z "$as_dir" && as_dir=. 22699ef7378bSmrg for ac_exec_ext in '' $ac_executable_extensions; do 22709ef7378bSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 22719ef7378bSmrg ac_cv_prog_ac_ct_STRIP="strip" 22729ef7378bSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 22739ef7378bSmrg break 2 22749ef7378bSmrg fi 22759ef7378bSmrgdone 22769ef7378bSmrg done 22779ef7378bSmrgIFS=$as_save_IFS 22789ef7378bSmrg 22799ef7378bSmrgfi 22809ef7378bSmrgfi 22819ef7378bSmrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 22829ef7378bSmrgif test -n "$ac_ct_STRIP"; then 22839ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 22849ef7378bSmrg$as_echo "$ac_ct_STRIP" >&6; } 22859ef7378bSmrgelse 22869ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22879ef7378bSmrg$as_echo "no" >&6; } 22889ef7378bSmrgfi 22899ef7378bSmrg 22909ef7378bSmrg if test "x$ac_ct_STRIP" = x; then 22919ef7378bSmrg STRIP=":" 22929ef7378bSmrg else 22939ef7378bSmrg case $cross_compiling:$ac_tool_warned in 22949ef7378bSmrgyes:) 22959ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 22969ef7378bSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 22979ef7378bSmrgac_tool_warned=yes ;; 22989ef7378bSmrgesac 22999ef7378bSmrg STRIP=$ac_ct_STRIP 23009ef7378bSmrg fi 23019ef7378bSmrgelse 23029ef7378bSmrg STRIP="$ac_cv_prog_STRIP" 23039ef7378bSmrgfi 23049ef7378bSmrg 2305c19de146Smrgfi 23069ef7378bSmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 23079ef7378bSmrg 23089ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 23099ef7378bSmrg$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 23109ef7378bSmrgif test -z "$MKDIR_P"; then 23119ef7378bSmrg if test "${ac_cv_path_mkdir+set}" = set; then : 23129ef7378bSmrg $as_echo_n "(cached) " >&6 23139ef7378bSmrgelse 23149ef7378bSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23159ef7378bSmrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 23169ef7378bSmrgdo 23179ef7378bSmrg IFS=$as_save_IFS 23189ef7378bSmrg test -z "$as_dir" && as_dir=. 23199ef7378bSmrg for ac_prog in mkdir gmkdir; do 23209ef7378bSmrg for ac_exec_ext in '' $ac_executable_extensions; do 23219ef7378bSmrg { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 23229ef7378bSmrg case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 23239ef7378bSmrg 'mkdir (GNU coreutils) '* | \ 23249ef7378bSmrg 'mkdir (coreutils) '* | \ 23259ef7378bSmrg 'mkdir (fileutils) '4.1*) 23269ef7378bSmrg ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 23279ef7378bSmrg break 3;; 23289ef7378bSmrg esac 23299ef7378bSmrg done 23309ef7378bSmrg done 23319ef7378bSmrg done 23329ef7378bSmrgIFS=$as_save_IFS 23339ef7378bSmrg 23349ef7378bSmrgfi 23359ef7378bSmrg 23369ef7378bSmrg test -d ./--version && rmdir ./--version 23379ef7378bSmrg if test "${ac_cv_path_mkdir+set}" = set; then 23389ef7378bSmrg MKDIR_P="$ac_cv_path_mkdir -p" 23399ef7378bSmrg else 23409ef7378bSmrg # As a last resort, use the slow shell script. Don't cache a 23419ef7378bSmrg # value for MKDIR_P within a source directory, because that will 23429ef7378bSmrg # break other packages using the cache if that directory is 23439ef7378bSmrg # removed, or if the value is a relative name. 23449ef7378bSmrg MKDIR_P="$ac_install_sh -d" 23459ef7378bSmrg fi 23469ef7378bSmrgfi 23479ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 23489ef7378bSmrg$as_echo "$MKDIR_P" >&6; } 23499ef7378bSmrg 23509ef7378bSmrgmkdir_p="$MKDIR_P" 23519ef7378bSmrgcase $mkdir_p in 23529ef7378bSmrg [\\/$]* | ?:[\\/]*) ;; 23539ef7378bSmrg */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 23549ef7378bSmrgesac 2355c19de146Smrg 2356c19de146Smrgfor ac_prog in gawk mawk nawk awk 2357c19de146Smrgdo 2358c19de146Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 2359c19de146Smrgset dummy $ac_prog; ac_word=$2 23609ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23619ef7378bSmrg$as_echo_n "checking for $ac_word... " >&6; } 23629ef7378bSmrgif test "${ac_cv_prog_AWK+set}" = set; then : 23639ef7378bSmrg $as_echo_n "(cached) " >&6 2364c19de146Smrgelse 2365c19de146Smrg if test -n "$AWK"; then 2366c19de146Smrg ac_cv_prog_AWK="$AWK" # Let the user override the test. 2367c19de146Smrgelse 2368c19de146Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2369c19de146Smrgfor as_dir in $PATH 2370c19de146Smrgdo 2371c19de146Smrg IFS=$as_save_IFS 2372c19de146Smrg test -z "$as_dir" && as_dir=. 23739ef7378bSmrg for ac_exec_ext in '' $ac_executable_extensions; do 23749ef7378bSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2375c19de146Smrg ac_cv_prog_AWK="$ac_prog" 23769ef7378bSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2377c19de146Smrg break 2 2378c19de146Smrg fi 2379c19de146Smrgdone 23809ef7378bSmrg done 23819ef7378bSmrgIFS=$as_save_IFS 2382c19de146Smrg 2383c19de146Smrgfi 2384c19de146Smrgfi 2385c19de146SmrgAWK=$ac_cv_prog_AWK 2386c19de146Smrgif test -n "$AWK"; then 23879ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 23889ef7378bSmrg$as_echo "$AWK" >&6; } 2389c19de146Smrgelse 23909ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23919ef7378bSmrg$as_echo "no" >&6; } 2392c19de146Smrgfi 2393c19de146Smrg 23949ef7378bSmrg 2395c19de146Smrg test -n "$AWK" && break 2396c19de146Smrgdone 2397c19de146Smrg 23989ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 23999ef7378bSmrg$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 24009ef7378bSmrgset x ${MAKE-make} 24019ef7378bSmrgac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 24029ef7378bSmrgif { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : 24039ef7378bSmrg $as_echo_n "(cached) " >&6 2404c19de146Smrgelse 2405c19de146Smrg cat >conftest.make <<\_ACEOF 24069ef7378bSmrgSHELL = /bin/sh 2407c19de146Smrgall: 24089ef7378bSmrg @echo '@@@%%%=$(MAKE)=@@@%%%' 2409c19de146Smrg_ACEOF 2410c19de146Smrg# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 24119ef7378bSmrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in 24129ef7378bSmrg *@@@%%%=?*=@@@%%%*) 24139ef7378bSmrg eval ac_cv_prog_make_${ac_make}_set=yes;; 24149ef7378bSmrg *) 24159ef7378bSmrg eval ac_cv_prog_make_${ac_make}_set=no;; 24169ef7378bSmrgesac 2417c19de146Smrgrm -f conftest.make 2418c19de146Smrgfi 24199ef7378bSmrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 24209ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24219ef7378bSmrg$as_echo "yes" >&6; } 2422c19de146Smrg SET_MAKE= 2423c19de146Smrgelse 24249ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24259ef7378bSmrg$as_echo "no" >&6; } 2426c19de146Smrg SET_MAKE="MAKE=${MAKE-make}" 2427c19de146Smrgfi 2428c19de146Smrg 2429c19de146Smrgrm -rf .tst 2>/dev/null 2430c19de146Smrgmkdir .tst 2>/dev/null 2431c19de146Smrgif test -d .tst; then 2432c19de146Smrg am__leading_dot=. 2433c19de146Smrgelse 2434c19de146Smrg am__leading_dot=_ 2435c19de146Smrgfi 2436c19de146Smrgrmdir .tst 2>/dev/null 2437c19de146Smrg 24389ef7378bSmrgif test "`cd $srcdir && pwd`" != "`pwd`"; then 24399ef7378bSmrg # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 24409ef7378bSmrg # is not polluted with repeated "-I." 24419ef7378bSmrg am__isrc=' -I$(srcdir)' 24429ef7378bSmrg # test to see if srcdir already configured 24439ef7378bSmrg if test -f $srcdir/config.status; then 24449ef7378bSmrg as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 24459ef7378bSmrg fi 2446c19de146Smrgfi 2447c19de146Smrg 2448c19de146Smrg# test whether we have cygpath 2449c19de146Smrgif test -z "$CYGPATH_W"; then 2450c19de146Smrg if (cygpath --version) >/dev/null 2>/dev/null; then 2451c19de146Smrg CYGPATH_W='cygpath -w' 2452c19de146Smrg else 2453c19de146Smrg CYGPATH_W=echo 2454c19de146Smrg fi 2455c19de146Smrgfi 2456c19de146Smrg 2457c19de146Smrg 2458c19de146Smrg# Define the identity of the package. 2459c19de146Smrg PACKAGE='xbiff' 24609ef7378bSmrg VERSION='1.0.2' 2461c19de146Smrg 2462c19de146Smrg 2463c19de146Smrgcat >>confdefs.h <<_ACEOF 2464c19de146Smrg#define PACKAGE "$PACKAGE" 2465c19de146Smrg_ACEOF 2466c19de146Smrg 2467c19de146Smrg 2468c19de146Smrgcat >>confdefs.h <<_ACEOF 2469c19de146Smrg#define VERSION "$VERSION" 2470c19de146Smrg_ACEOF 2471c19de146Smrg 2472c19de146Smrg# Some tools Automake needs. 2473c19de146Smrg 2474c19de146SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2475c19de146Smrg 2476c19de146Smrg 2477c19de146SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2478c19de146Smrg 2479c19de146Smrg 2480c19de146SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2481c19de146Smrg 2482c19de146Smrg 2483c19de146SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2484c19de146Smrg 2485c19de146Smrg 2486c19de146SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2487c19de146Smrg 24889ef7378bSmrg# We need awk for the "check" target. The system "awk" is bad on 24899ef7378bSmrg# some platforms. 24909ef7378bSmrg# Always define AMTAR for backward compatibility. 2491c19de146Smrg 2492c19de146SmrgAMTAR=${AMTAR-"${am_missing_run}tar"} 2493c19de146Smrg 24949ef7378bSmrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2495c19de146Smrg 24969ef7378bSmrg 24979ef7378bSmrg 24989ef7378bSmrg 24999ef7378bSmrg 25009ef7378bSmrg 25019ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 25029ef7378bSmrg$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 25039ef7378bSmrg # Check whether --enable-maintainer-mode was given. 25049ef7378bSmrgif test "${enable_maintainer_mode+set}" = set; then : 25059ef7378bSmrg enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2506c19de146Smrgelse 25079ef7378bSmrg USE_MAINTAINER_MODE=no 25089ef7378bSmrgfi 25099ef7378bSmrg 25109ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 25119ef7378bSmrg$as_echo "$USE_MAINTAINER_MODE" >&6; } 25129ef7378bSmrg if test $USE_MAINTAINER_MODE = yes; then 25139ef7378bSmrg MAINTAINER_MODE_TRUE= 25149ef7378bSmrg MAINTAINER_MODE_FALSE='#' 2515c19de146Smrgelse 25169ef7378bSmrg MAINTAINER_MODE_TRUE='#' 25179ef7378bSmrg MAINTAINER_MODE_FALSE= 2518c19de146Smrgfi 2519c19de146Smrg 25209ef7378bSmrg MAINT=$MAINTAINER_MODE_TRUE 2521c19de146Smrg 2522c19de146Smrg 2523c19de146Smrg 25249ef7378bSmrg# Require xorg-macros 1.3 or later: XORG_DEFAULT_OPTIONS 25259ef7378bSmrg 25269ef7378bSmrg 2527c19de146Smrg 2528c19de146Smrg 2529c19de146Smrg 2530c19de146Smrg 2531c19de146Smrg 2532c19de146Smrg 2533c19de146Smrg 2534c19de146Smrg 2535c19de146Smrg 2536c19de146Smrg 25379ef7378bSmrgac_config_headers="$ac_config_headers config.h" 2538c19de146Smrg 2539c19de146Smrg 2540c19de146Smrgac_ext=c 2541c19de146Smrgac_cpp='$CPP $CPPFLAGS' 2542c19de146Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2543c19de146Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2544c19de146Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 2545c19de146Smrgif test -n "$ac_tool_prefix"; then 2546c19de146Smrg # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2547c19de146Smrgset dummy ${ac_tool_prefix}gcc; ac_word=$2 25489ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 25499ef7378bSmrg$as_echo_n "checking for $ac_word... " >&6; } 25509ef7378bSmrgif test "${ac_cv_prog_CC+set}" = set; then : 25519ef7378bSmrg $as_echo_n "(cached) " >&6 2552c19de146Smrgelse 2553c19de146Smrg if test -n "$CC"; then 2554c19de146Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 2555c19de146Smrgelse 2556c19de146Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2557c19de146Smrgfor as_dir in $PATH 2558c19de146Smrgdo 2559c19de146Smrg IFS=$as_save_IFS 2560c19de146Smrg test -z "$as_dir" && as_dir=. 25619ef7378bSmrg for ac_exec_ext in '' $ac_executable_extensions; do 25629ef7378bSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2563c19de146Smrg ac_cv_prog_CC="${ac_tool_prefix}gcc" 25649ef7378bSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2565c19de146Smrg break 2 2566c19de146Smrg fi 2567c19de146Smrgdone 25689ef7378bSmrg done 25699ef7378bSmrgIFS=$as_save_IFS 2570c19de146Smrg 2571c19de146Smrgfi 2572c19de146Smrgfi 2573c19de146SmrgCC=$ac_cv_prog_CC 2574c19de146Smrgif test -n "$CC"; then 25759ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 25769ef7378bSmrg$as_echo "$CC" >&6; } 2577c19de146Smrgelse 25789ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25799ef7378bSmrg$as_echo "no" >&6; } 2580c19de146Smrgfi 2581c19de146Smrg 25829ef7378bSmrg 2583c19de146Smrgfi 2584c19de146Smrgif test -z "$ac_cv_prog_CC"; then 2585c19de146Smrg ac_ct_CC=$CC 2586c19de146Smrg # Extract the first word of "gcc", so it can be a program name with args. 2587c19de146Smrgset dummy gcc; ac_word=$2 25889ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 25899ef7378bSmrg$as_echo_n "checking for $ac_word... " >&6; } 25909ef7378bSmrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 25919ef7378bSmrg $as_echo_n "(cached) " >&6 2592c19de146Smrgelse 2593c19de146Smrg if test -n "$ac_ct_CC"; then 2594c19de146Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2595c19de146Smrgelse 2596c19de146Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2597c19de146Smrgfor as_dir in $PATH 2598c19de146Smrgdo 2599c19de146Smrg IFS=$as_save_IFS 2600c19de146Smrg test -z "$as_dir" && as_dir=. 26019ef7378bSmrg for ac_exec_ext in '' $ac_executable_extensions; do 26029ef7378bSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2603c19de146Smrg ac_cv_prog_ac_ct_CC="gcc" 26049ef7378bSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2605c19de146Smrg break 2 2606c19de146Smrg fi 2607c19de146Smrgdone 26089ef7378bSmrg done 26099ef7378bSmrgIFS=$as_save_IFS 2610c19de146Smrg 2611c19de146Smrgfi 2612c19de146Smrgfi 2613c19de146Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 2614c19de146Smrgif test -n "$ac_ct_CC"; then 26159ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 26169ef7378bSmrg$as_echo "$ac_ct_CC" >&6; } 2617c19de146Smrgelse 26189ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26199ef7378bSmrg$as_echo "no" >&6; } 2620c19de146Smrgfi 2621c19de146Smrg 26229ef7378bSmrg if test "x$ac_ct_CC" = x; then 26239ef7378bSmrg CC="" 26249ef7378bSmrg else 26259ef7378bSmrg case $cross_compiling:$ac_tool_warned in 26269ef7378bSmrgyes:) 26279ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 26289ef7378bSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 26299ef7378bSmrgac_tool_warned=yes ;; 26309ef7378bSmrgesac 26319ef7378bSmrg CC=$ac_ct_CC 26329ef7378bSmrg fi 2633c19de146Smrgelse 2634c19de146Smrg CC="$ac_cv_prog_CC" 2635c19de146Smrgfi 2636c19de146Smrg 2637c19de146Smrgif test -z "$CC"; then 26389ef7378bSmrg if test -n "$ac_tool_prefix"; then 26399ef7378bSmrg # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2640c19de146Smrgset dummy ${ac_tool_prefix}cc; ac_word=$2 26419ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 26429ef7378bSmrg$as_echo_n "checking for $ac_word... " >&6; } 26439ef7378bSmrgif test "${ac_cv_prog_CC+set}" = set; then : 26449ef7378bSmrg $as_echo_n "(cached) " >&6 2645c19de146Smrgelse 2646c19de146Smrg if test -n "$CC"; then 2647c19de146Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 2648c19de146Smrgelse 2649c19de146Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2650c19de146Smrgfor as_dir in $PATH 2651c19de146Smrgdo 2652c19de146Smrg IFS=$as_save_IFS 2653c19de146Smrg test -z "$as_dir" && as_dir=. 26549ef7378bSmrg for ac_exec_ext in '' $ac_executable_extensions; do 26559ef7378bSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2656c19de146Smrg ac_cv_prog_CC="${ac_tool_prefix}cc" 26579ef7378bSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2658c19de146Smrg break 2 2659c19de146Smrg fi 2660c19de146Smrgdone 26619ef7378bSmrg done 26629ef7378bSmrgIFS=$as_save_IFS 2663c19de146Smrg 2664c19de146Smrgfi 2665c19de146Smrgfi 2666c19de146SmrgCC=$ac_cv_prog_CC 2667c19de146Smrgif test -n "$CC"; then 26689ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 26699ef7378bSmrg$as_echo "$CC" >&6; } 2670c19de146Smrgelse 26719ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26729ef7378bSmrg$as_echo "no" >&6; } 2673c19de146Smrgfi 2674c19de146Smrg 2675c19de146Smrg 26769ef7378bSmrg fi 2677c19de146Smrgfi 2678c19de146Smrgif test -z "$CC"; then 2679c19de146Smrg # Extract the first word of "cc", so it can be a program name with args. 2680c19de146Smrgset dummy cc; ac_word=$2 26819ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 26829ef7378bSmrg$as_echo_n "checking for $ac_word... " >&6; } 26839ef7378bSmrgif test "${ac_cv_prog_CC+set}" = set; then : 26849ef7378bSmrg $as_echo_n "(cached) " >&6 2685c19de146Smrgelse 2686c19de146Smrg if test -n "$CC"; then 2687c19de146Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 2688c19de146Smrgelse 2689c19de146Smrg ac_prog_rejected=no 2690c19de146Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2691c19de146Smrgfor as_dir in $PATH 2692c19de146Smrgdo 2693c19de146Smrg IFS=$as_save_IFS 2694c19de146Smrg test -z "$as_dir" && as_dir=. 26959ef7378bSmrg for ac_exec_ext in '' $ac_executable_extensions; do 26969ef7378bSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2697c19de146Smrg if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2698c19de146Smrg ac_prog_rejected=yes 2699c19de146Smrg continue 2700c19de146Smrg fi 2701c19de146Smrg ac_cv_prog_CC="cc" 27029ef7378bSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2703c19de146Smrg break 2 2704c19de146Smrg fi 2705c19de146Smrgdone 27069ef7378bSmrg done 27079ef7378bSmrgIFS=$as_save_IFS 2708c19de146Smrg 2709c19de146Smrgif test $ac_prog_rejected = yes; then 2710c19de146Smrg # We found a bogon in the path, so make sure we never use it. 2711c19de146Smrg set dummy $ac_cv_prog_CC 2712c19de146Smrg shift 2713c19de146Smrg if test $# != 0; then 2714c19de146Smrg # We chose a different compiler from the bogus one. 2715c19de146Smrg # However, it has the same basename, so the bogon will be chosen 2716c19de146Smrg # first if we set CC to just the basename; use the full file name. 2717c19de146Smrg shift 2718c19de146Smrg ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2719c19de146Smrg fi 2720c19de146Smrgfi 2721c19de146Smrgfi 2722c19de146Smrgfi 2723c19de146SmrgCC=$ac_cv_prog_CC 2724c19de146Smrgif test -n "$CC"; then 27259ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 27269ef7378bSmrg$as_echo "$CC" >&6; } 2727c19de146Smrgelse 27289ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27299ef7378bSmrg$as_echo "no" >&6; } 2730c19de146Smrgfi 2731c19de146Smrg 27329ef7378bSmrg 2733c19de146Smrgfi 2734c19de146Smrgif test -z "$CC"; then 2735c19de146Smrg if test -n "$ac_tool_prefix"; then 27369ef7378bSmrg for ac_prog in cl.exe 2737c19de146Smrg do 2738c19de146Smrg # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2739c19de146Smrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2 27409ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 27419ef7378bSmrg$as_echo_n "checking for $ac_word... " >&6; } 27429ef7378bSmrgif test "${ac_cv_prog_CC+set}" = set; then : 27439ef7378bSmrg $as_echo_n "(cached) " >&6 2744c19de146Smrgelse 2745c19de146Smrg if test -n "$CC"; then 2746c19de146Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 2747c19de146Smrgelse 2748c19de146Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2749c19de146Smrgfor as_dir in $PATH 2750c19de146Smrgdo 2751c19de146Smrg IFS=$as_save_IFS 2752c19de146Smrg test -z "$as_dir" && as_dir=. 27539ef7378bSmrg for ac_exec_ext in '' $ac_executable_extensions; do 27549ef7378bSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2755c19de146Smrg ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 27569ef7378bSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2757c19de146Smrg break 2 2758c19de146Smrg fi 2759c19de146Smrgdone 27609ef7378bSmrg done 27619ef7378bSmrgIFS=$as_save_IFS 2762c19de146Smrg 2763c19de146Smrgfi 2764c19de146Smrgfi 2765c19de146SmrgCC=$ac_cv_prog_CC 2766c19de146Smrgif test -n "$CC"; then 27679ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 27689ef7378bSmrg$as_echo "$CC" >&6; } 2769c19de146Smrgelse 27709ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27719ef7378bSmrg$as_echo "no" >&6; } 2772c19de146Smrgfi 2773c19de146Smrg 27749ef7378bSmrg 2775c19de146Smrg test -n "$CC" && break 2776c19de146Smrg done 2777c19de146Smrgfi 2778c19de146Smrgif test -z "$CC"; then 2779c19de146Smrg ac_ct_CC=$CC 27809ef7378bSmrg for ac_prog in cl.exe 2781c19de146Smrgdo 2782c19de146Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 2783c19de146Smrgset dummy $ac_prog; ac_word=$2 27849ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 27859ef7378bSmrg$as_echo_n "checking for $ac_word... " >&6; } 27869ef7378bSmrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 27879ef7378bSmrg $as_echo_n "(cached) " >&6 2788c19de146Smrgelse 2789c19de146Smrg if test -n "$ac_ct_CC"; then 2790c19de146Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2791c19de146Smrgelse 2792c19de146Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2793c19de146Smrgfor as_dir in $PATH 2794c19de146Smrgdo 2795c19de146Smrg IFS=$as_save_IFS 2796c19de146Smrg test -z "$as_dir" && as_dir=. 27979ef7378bSmrg for ac_exec_ext in '' $ac_executable_extensions; do 27989ef7378bSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2799c19de146Smrg ac_cv_prog_ac_ct_CC="$ac_prog" 28009ef7378bSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2801c19de146Smrg break 2 2802c19de146Smrg fi 2803c19de146Smrgdone 28049ef7378bSmrg done 28059ef7378bSmrgIFS=$as_save_IFS 2806c19de146Smrg 2807c19de146Smrgfi 2808c19de146Smrgfi 2809c19de146Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 2810c19de146Smrgif test -n "$ac_ct_CC"; then 28119ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 28129ef7378bSmrg$as_echo "$ac_ct_CC" >&6; } 2813c19de146Smrgelse 28149ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28159ef7378bSmrg$as_echo "no" >&6; } 2816c19de146Smrgfi 2817c19de146Smrg 28189ef7378bSmrg 2819c19de146Smrg test -n "$ac_ct_CC" && break 2820c19de146Smrgdone 2821c19de146Smrg 28229ef7378bSmrg if test "x$ac_ct_CC" = x; then 28239ef7378bSmrg CC="" 28249ef7378bSmrg else 28259ef7378bSmrg case $cross_compiling:$ac_tool_warned in 28269ef7378bSmrgyes:) 28279ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 28289ef7378bSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 28299ef7378bSmrgac_tool_warned=yes ;; 28309ef7378bSmrgesac 28319ef7378bSmrg CC=$ac_ct_CC 28329ef7378bSmrg fi 2833c19de146Smrgfi 2834c19de146Smrg 2835c19de146Smrgfi 2836c19de146Smrg 2837c19de146Smrg 28389ef7378bSmrgtest -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 28399ef7378bSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 28409ef7378bSmrgas_fn_error "no acceptable C compiler found in \$PATH 28419ef7378bSmrgSee \`config.log' for more details." "$LINENO" 5; } 2842c19de146Smrg 2843c19de146Smrg# Provide some information about the compiler. 28449ef7378bSmrg$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 28459ef7378bSmrgset X $ac_compile 28469ef7378bSmrgac_compiler=$2 28479ef7378bSmrgfor ac_option in --version -v -V -qversion; do 28489ef7378bSmrg { { ac_try="$ac_compiler $ac_option >&5" 28499ef7378bSmrgcase "(($ac_try" in 28509ef7378bSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28519ef7378bSmrg *) ac_try_echo=$ac_try;; 28529ef7378bSmrgesac 28539ef7378bSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 28549ef7378bSmrg$as_echo "$ac_try_echo"; } >&5 28559ef7378bSmrg (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2856c19de146Smrg ac_status=$? 28579ef7378bSmrg if test -s conftest.err; then 28589ef7378bSmrg sed '10a\ 28599ef7378bSmrg... rest of stderr output deleted ... 28609ef7378bSmrg 10q' conftest.err >conftest.er1 28619ef7378bSmrg cat conftest.er1 >&5 28629ef7378bSmrg fi 28639ef7378bSmrg rm -f conftest.er1 conftest.err 28649ef7378bSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 28659ef7378bSmrg test $ac_status = 0; } 28669ef7378bSmrgdone 2867c19de146Smrg 28689ef7378bSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 2869c19de146Smrg/* end confdefs.h. */ 2870c19de146Smrg 2871c19de146Smrgint 2872c19de146Smrgmain () 2873c19de146Smrg{ 2874c19de146Smrg 2875c19de146Smrg ; 2876c19de146Smrg return 0; 2877c19de146Smrg} 2878c19de146Smrg_ACEOF 2879c19de146Smrgac_clean_files_save=$ac_clean_files 28809ef7378bSmrgac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2881c19de146Smrg# Try to create an executable without -o first, disregard a.out. 2882c19de146Smrg# It will help us diagnose broken compilers, and finding out an intuition 2883c19de146Smrg# of exeext. 28849ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 28859ef7378bSmrg$as_echo_n "checking whether the C compiler works... " >&6; } 28869ef7378bSmrgac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 28879ef7378bSmrg 28889ef7378bSmrg# The possible output files: 28899ef7378bSmrgac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 28909ef7378bSmrg 28919ef7378bSmrgac_rmfiles= 28929ef7378bSmrgfor ac_file in $ac_files 28939ef7378bSmrgdo 28949ef7378bSmrg case $ac_file in 28959ef7378bSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 28969ef7378bSmrg * ) ac_rmfiles="$ac_rmfiles $ac_file";; 28979ef7378bSmrg esac 28989ef7378bSmrgdone 28999ef7378bSmrgrm -f $ac_rmfiles 29009ef7378bSmrg 29019ef7378bSmrgif { { ac_try="$ac_link_default" 29029ef7378bSmrgcase "(($ac_try" in 29039ef7378bSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 29049ef7378bSmrg *) ac_try_echo=$ac_try;; 29059ef7378bSmrgesac 29069ef7378bSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 29079ef7378bSmrg$as_echo "$ac_try_echo"; } >&5 29089ef7378bSmrg (eval "$ac_link_default") 2>&5 2909c19de146Smrg ac_status=$? 29109ef7378bSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 29119ef7378bSmrg test $ac_status = 0; }; then : 29129ef7378bSmrg # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 29139ef7378bSmrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 29149ef7378bSmrg# in a Makefile. We should not override ac_cv_exeext if it was cached, 29159ef7378bSmrg# so that the user can short-circuit this test for compilers unknown to 29169ef7378bSmrg# Autoconf. 29179ef7378bSmrgfor ac_file in $ac_files '' 2918c19de146Smrgdo 2919c19de146Smrg test -f "$ac_file" || continue 2920c19de146Smrg case $ac_file in 29219ef7378bSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2922c19de146Smrg ;; 2923c19de146Smrg [ab].out ) 2924c19de146Smrg # We found the default executable, but exeext='' is most 2925c19de146Smrg # certainly right. 2926c19de146Smrg break;; 2927c19de146Smrg *.* ) 29289ef7378bSmrg if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 29299ef7378bSmrg then :; else 29309ef7378bSmrg ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 29319ef7378bSmrg fi 29329ef7378bSmrg # We set ac_cv_exeext here because the later test for it is not 29339ef7378bSmrg # safe: cross compilers may not add the suffix if given an `-o' 29349ef7378bSmrg # argument, so we may need to know it at that point already. 29359ef7378bSmrg # Even if this section looks crufty: it has the advantage of 29369ef7378bSmrg # actually working. 2937c19de146Smrg break;; 2938c19de146Smrg * ) 2939c19de146Smrg break;; 2940c19de146Smrg esac 2941c19de146Smrgdone 29429ef7378bSmrgtest "$ac_cv_exeext" = no && ac_cv_exeext= 29439ef7378bSmrg 2944c19de146Smrgelse 29459ef7378bSmrg ac_file='' 29469ef7378bSmrgfi 29479ef7378bSmrgif test -z "$ac_file"; then : 29489ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 29499ef7378bSmrg$as_echo "no" >&6; } 29509ef7378bSmrg$as_echo "$as_me: failed program was:" >&5 2951c19de146Smrgsed 's/^/| /' conftest.$ac_ext >&5 2952c19de146Smrg 29539ef7378bSmrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 29549ef7378bSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 29559ef7378bSmrg{ as_fn_set_status 77 29569ef7378bSmrgas_fn_error "C compiler cannot create executables 29579ef7378bSmrgSee \`config.log' for more details." "$LINENO" 5; }; } 29589ef7378bSmrgelse 29599ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 29609ef7378bSmrg$as_echo "yes" >&6; } 2961c19de146Smrgfi 29629ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 29639ef7378bSmrg$as_echo_n "checking for C compiler default output file name... " >&6; } 29649ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 29659ef7378bSmrg$as_echo "$ac_file" >&6; } 2966c19de146Smrgac_exeext=$ac_cv_exeext 2967c19de146Smrg 29689ef7378bSmrgrm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2969c19de146Smrgac_clean_files=$ac_clean_files_save 29709ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 29719ef7378bSmrg$as_echo_n "checking for suffix of executables... " >&6; } 29729ef7378bSmrgif { { ac_try="$ac_link" 29739ef7378bSmrgcase "(($ac_try" in 29749ef7378bSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 29759ef7378bSmrg *) ac_try_echo=$ac_try;; 29769ef7378bSmrgesac 29779ef7378bSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 29789ef7378bSmrg$as_echo "$ac_try_echo"; } >&5 29799ef7378bSmrg (eval "$ac_link") 2>&5 2980c19de146Smrg ac_status=$? 29819ef7378bSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 29829ef7378bSmrg test $ac_status = 0; }; then : 2983c19de146Smrg # If both `conftest.exe' and `conftest' are `present' (well, observable) 2984c19de146Smrg# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2985c19de146Smrg# work properly (i.e., refer to `conftest.exe'), while it won't with 2986c19de146Smrg# `rm'. 2987c19de146Smrgfor ac_file in conftest.exe conftest conftest.*; do 2988c19de146Smrg test -f "$ac_file" || continue 2989c19de146Smrg case $ac_file in 29909ef7378bSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2991c19de146Smrg *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2992c19de146Smrg break;; 2993c19de146Smrg * ) break;; 2994c19de146Smrg esac 2995c19de146Smrgdone 2996c19de146Smrgelse 29979ef7378bSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 29989ef7378bSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 29999ef7378bSmrgas_fn_error "cannot compute suffix of executables: cannot compile and link 30009ef7378bSmrgSee \`config.log' for more details." "$LINENO" 5; } 3001c19de146Smrgfi 30029ef7378bSmrgrm -f conftest conftest$ac_cv_exeext 30039ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 30049ef7378bSmrg$as_echo "$ac_cv_exeext" >&6; } 3005c19de146Smrg 3006c19de146Smrgrm -f conftest.$ac_ext 3007c19de146SmrgEXEEXT=$ac_cv_exeext 3008c19de146Smrgac_exeext=$EXEEXT 30099ef7378bSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 30109ef7378bSmrg/* end confdefs.h. */ 30119ef7378bSmrg#include <stdio.h> 30129ef7378bSmrgint 30139ef7378bSmrgmain () 30149ef7378bSmrg{ 30159ef7378bSmrgFILE *f = fopen ("conftest.out", "w"); 30169ef7378bSmrg return ferror (f) || fclose (f) != 0; 30179ef7378bSmrg 30189ef7378bSmrg ; 30199ef7378bSmrg return 0; 30209ef7378bSmrg} 3021c19de146Smrg_ACEOF 30229ef7378bSmrgac_clean_files="$ac_clean_files conftest.out" 30239ef7378bSmrg# Check that the compiler produces executables we can run. If not, either 30249ef7378bSmrg# the compiler is broken, or we cross compile. 30259ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 30269ef7378bSmrg$as_echo_n "checking whether we are cross compiling... " >&6; } 30279ef7378bSmrgif test "$cross_compiling" != yes; then 30289ef7378bSmrg { { ac_try="$ac_link" 30299ef7378bSmrgcase "(($ac_try" in 30309ef7378bSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 30319ef7378bSmrg *) ac_try_echo=$ac_try;; 30329ef7378bSmrgesac 30339ef7378bSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 30349ef7378bSmrg$as_echo "$ac_try_echo"; } >&5 30359ef7378bSmrg (eval "$ac_link") 2>&5 30369ef7378bSmrg ac_status=$? 30379ef7378bSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 30389ef7378bSmrg test $ac_status = 0; } 30399ef7378bSmrg if { ac_try='./conftest$ac_cv_exeext' 30409ef7378bSmrg { { case "(($ac_try" in 30419ef7378bSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 30429ef7378bSmrg *) ac_try_echo=$ac_try;; 30439ef7378bSmrgesac 30449ef7378bSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 30459ef7378bSmrg$as_echo "$ac_try_echo"; } >&5 30469ef7378bSmrg (eval "$ac_try") 2>&5 30479ef7378bSmrg ac_status=$? 30489ef7378bSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 30499ef7378bSmrg test $ac_status = 0; }; }; then 30509ef7378bSmrg cross_compiling=no 30519ef7378bSmrg else 30529ef7378bSmrg if test "$cross_compiling" = maybe; then 30539ef7378bSmrg cross_compiling=yes 30549ef7378bSmrg else 30559ef7378bSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 30569ef7378bSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 30579ef7378bSmrgas_fn_error "cannot run C compiled programs. 30589ef7378bSmrgIf you meant to cross compile, use \`--host'. 30599ef7378bSmrgSee \`config.log' for more details." "$LINENO" 5; } 30609ef7378bSmrg fi 30619ef7378bSmrg fi 30629ef7378bSmrgfi 30639ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 30649ef7378bSmrg$as_echo "$cross_compiling" >&6; } 30659ef7378bSmrg 30669ef7378bSmrgrm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 30679ef7378bSmrgac_clean_files=$ac_clean_files_save 30689ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 30699ef7378bSmrg$as_echo_n "checking for suffix of object files... " >&6; } 30709ef7378bSmrgif test "${ac_cv_objext+set}" = set; then : 30719ef7378bSmrg $as_echo_n "(cached) " >&6 30729ef7378bSmrgelse 30739ef7378bSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3074c19de146Smrg/* end confdefs.h. */ 3075c19de146Smrg 3076c19de146Smrgint 3077c19de146Smrgmain () 3078c19de146Smrg{ 3079c19de146Smrg 3080c19de146Smrg ; 3081c19de146Smrg return 0; 3082c19de146Smrg} 3083c19de146Smrg_ACEOF 3084c19de146Smrgrm -f conftest.o conftest.obj 30859ef7378bSmrgif { { ac_try="$ac_compile" 30869ef7378bSmrgcase "(($ac_try" in 30879ef7378bSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 30889ef7378bSmrg *) ac_try_echo=$ac_try;; 30899ef7378bSmrgesac 30909ef7378bSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 30919ef7378bSmrg$as_echo "$ac_try_echo"; } >&5 30929ef7378bSmrg (eval "$ac_compile") 2>&5 3093c19de146Smrg ac_status=$? 30949ef7378bSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 30959ef7378bSmrg test $ac_status = 0; }; then : 30969ef7378bSmrg for ac_file in conftest.o conftest.obj conftest.*; do 30979ef7378bSmrg test -f "$ac_file" || continue; 3098c19de146Smrg case $ac_file in 30999ef7378bSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3100c19de146Smrg *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3101c19de146Smrg break;; 3102c19de146Smrg esac 3103c19de146Smrgdone 3104c19de146Smrgelse 31059ef7378bSmrg $as_echo "$as_me: failed program was:" >&5 3106c19de146Smrgsed 's/^/| /' conftest.$ac_ext >&5 3107c19de146Smrg 31089ef7378bSmrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 31099ef7378bSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 31109ef7378bSmrgas_fn_error "cannot compute suffix of object files: cannot compile 31119ef7378bSmrgSee \`config.log' for more details." "$LINENO" 5; } 3112c19de146Smrgfi 3113c19de146Smrgrm -f conftest.$ac_cv_objext conftest.$ac_ext 3114c19de146Smrgfi 31159ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 31169ef7378bSmrg$as_echo "$ac_cv_objext" >&6; } 3117c19de146SmrgOBJEXT=$ac_cv_objext 3118c19de146Smrgac_objext=$OBJEXT 31199ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 31209ef7378bSmrg$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 31219ef7378bSmrgif test "${ac_cv_c_compiler_gnu+set}" = set; then : 31229ef7378bSmrg $as_echo_n "(cached) " >&6 3123c19de146Smrgelse 31249ef7378bSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3125c19de146Smrg/* end confdefs.h. */ 3126c19de146Smrg 3127c19de146Smrgint 3128c19de146Smrgmain () 3129c19de146Smrg{ 3130c19de146Smrg#ifndef __GNUC__ 3131c19de146Smrg choke me 3132c19de146Smrg#endif 3133c19de146Smrg 3134c19de146Smrg ; 3135c19de146Smrg return 0; 3136c19de146Smrg} 3137c19de146Smrg_ACEOF 31389ef7378bSmrgif ac_fn_c_try_compile "$LINENO"; then : 3139c19de146Smrg ac_compiler_gnu=yes 3140c19de146Smrgelse 31419ef7378bSmrg ac_compiler_gnu=no 3142c19de146Smrgfi 31439ef7378bSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3144c19de146Smrgac_cv_c_compiler_gnu=$ac_compiler_gnu 3145c19de146Smrg 3146c19de146Smrgfi 31479ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 31489ef7378bSmrg$as_echo "$ac_cv_c_compiler_gnu" >&6; } 31499ef7378bSmrgif test $ac_compiler_gnu = yes; then 31509ef7378bSmrg GCC=yes 31519ef7378bSmrgelse 31529ef7378bSmrg GCC= 31539ef7378bSmrgfi 3154c19de146Smrgac_test_CFLAGS=${CFLAGS+set} 3155c19de146Smrgac_save_CFLAGS=$CFLAGS 31569ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 31579ef7378bSmrg$as_echo_n "checking whether $CC accepts -g... " >&6; } 31589ef7378bSmrgif test "${ac_cv_prog_cc_g+set}" = set; then : 31599ef7378bSmrg $as_echo_n "(cached) " >&6 31609ef7378bSmrgelse 31619ef7378bSmrg ac_save_c_werror_flag=$ac_c_werror_flag 31629ef7378bSmrg ac_c_werror_flag=yes 31639ef7378bSmrg ac_cv_prog_cc_g=no 31649ef7378bSmrg CFLAGS="-g" 31659ef7378bSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3166c19de146Smrg/* end confdefs.h. */ 3167c19de146Smrg 3168c19de146Smrgint 3169c19de146Smrgmain () 3170c19de146Smrg{ 3171c19de146Smrg 3172c19de146Smrg ; 3173c19de146Smrg return 0; 3174c19de146Smrg} 3175c19de146Smrg_ACEOF 31769ef7378bSmrgif ac_fn_c_try_compile "$LINENO"; then : 3177c19de146Smrg ac_cv_prog_cc_g=yes 3178c19de146Smrgelse 31799ef7378bSmrg CFLAGS="" 31809ef7378bSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31819ef7378bSmrg/* end confdefs.h. */ 31829ef7378bSmrg 31839ef7378bSmrgint 31849ef7378bSmrgmain () 31859ef7378bSmrg{ 31869ef7378bSmrg 31879ef7378bSmrg ; 31889ef7378bSmrg return 0; 31899ef7378bSmrg} 31909ef7378bSmrg_ACEOF 31919ef7378bSmrgif ac_fn_c_try_compile "$LINENO"; then : 31929ef7378bSmrg 31939ef7378bSmrgelse 31949ef7378bSmrg ac_c_werror_flag=$ac_save_c_werror_flag 31959ef7378bSmrg CFLAGS="-g" 31969ef7378bSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31979ef7378bSmrg/* end confdefs.h. */ 31989ef7378bSmrg 31999ef7378bSmrgint 32009ef7378bSmrgmain () 32019ef7378bSmrg{ 3202c19de146Smrg 32039ef7378bSmrg ; 32049ef7378bSmrg return 0; 32059ef7378bSmrg} 32069ef7378bSmrg_ACEOF 32079ef7378bSmrgif ac_fn_c_try_compile "$LINENO"; then : 32089ef7378bSmrg ac_cv_prog_cc_g=yes 3209c19de146Smrgfi 32109ef7378bSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3211c19de146Smrgfi 32129ef7378bSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 32139ef7378bSmrgfi 32149ef7378bSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 32159ef7378bSmrg ac_c_werror_flag=$ac_save_c_werror_flag 32169ef7378bSmrgfi 32179ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 32189ef7378bSmrg$as_echo "$ac_cv_prog_cc_g" >&6; } 3219c19de146Smrgif test "$ac_test_CFLAGS" = set; then 3220c19de146Smrg CFLAGS=$ac_save_CFLAGS 3221c19de146Smrgelif test $ac_cv_prog_cc_g = yes; then 3222c19de146Smrg if test "$GCC" = yes; then 3223c19de146Smrg CFLAGS="-g -O2" 3224c19de146Smrg else 3225c19de146Smrg CFLAGS="-g" 3226c19de146Smrg fi 3227c19de146Smrgelse 3228c19de146Smrg if test "$GCC" = yes; then 3229c19de146Smrg CFLAGS="-O2" 3230c19de146Smrg else 3231c19de146Smrg CFLAGS= 3232c19de146Smrg fi 3233c19de146Smrgfi 32349ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 32359ef7378bSmrg$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 32369ef7378bSmrgif test "${ac_cv_prog_cc_c89+set}" = set; then : 32379ef7378bSmrg $as_echo_n "(cached) " >&6 3238c19de146Smrgelse 32399ef7378bSmrg ac_cv_prog_cc_c89=no 3240c19de146Smrgac_save_CC=$CC 32419ef7378bSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 3242c19de146Smrg/* end confdefs.h. */ 3243c19de146Smrg#include <stdarg.h> 3244c19de146Smrg#include <stdio.h> 3245c19de146Smrg#include <sys/types.h> 3246c19de146Smrg#include <sys/stat.h> 3247c19de146Smrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3248c19de146Smrgstruct buf { int x; }; 3249c19de146SmrgFILE * (*rcsopen) (struct buf *, struct stat *, int); 3250c19de146Smrgstatic char *e (p, i) 3251c19de146Smrg char **p; 3252c19de146Smrg int i; 3253c19de146Smrg{ 3254c19de146Smrg return p[i]; 3255c19de146Smrg} 3256c19de146Smrgstatic char *f (char * (*g) (char **, int), char **p, ...) 3257c19de146Smrg{ 3258c19de146Smrg char *s; 3259c19de146Smrg va_list v; 3260c19de146Smrg va_start (v,p); 3261c19de146Smrg s = g (p, va_arg (v,int)); 3262c19de146Smrg va_end (v); 3263c19de146Smrg return s; 3264c19de146Smrg} 3265c19de146Smrg 3266c19de146Smrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3267c19de146Smrg function prototypes and stuff, but not '\xHH' hex character constants. 3268c19de146Smrg These don't provoke an error unfortunately, instead are silently treated 32699ef7378bSmrg as 'x'. The following induces an error, until -std is added to get 3270c19de146Smrg proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3271c19de146Smrg array size at least. It's necessary to write '\x00'==0 to get something 32729ef7378bSmrg that's true only with -std. */ 3273c19de146Smrgint osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3274c19de146Smrg 32759ef7378bSmrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 32769ef7378bSmrg inside strings and character constants. */ 32779ef7378bSmrg#define FOO(x) 'x' 32789ef7378bSmrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 32799ef7378bSmrg 3280c19de146Smrgint test (int i, double x); 3281c19de146Smrgstruct s1 {int (*f) (int a);}; 3282c19de146Smrgstruct s2 {int (*f) (double a);}; 3283c19de146Smrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3284c19de146Smrgint argc; 3285c19de146Smrgchar **argv; 3286c19de146Smrgint 3287c19de146Smrgmain () 3288c19de146Smrg{ 3289c19de146Smrgreturn f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3290c19de146Smrg ; 3291c19de146Smrg return 0; 3292c19de146Smrg} 3293c19de146Smrg_ACEOF 32949ef7378bSmrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 32959ef7378bSmrg -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3296c19de146Smrgdo 3297c19de146Smrg CC="$ac_save_CC $ac_arg" 32989ef7378bSmrg if ac_fn_c_try_compile "$LINENO"; then : 32999ef7378bSmrg ac_cv_prog_cc_c89=$ac_arg 3300c19de146Smrgfi 33019ef7378bSmrgrm -f core conftest.err conftest.$ac_objext 33029ef7378bSmrg test "x$ac_cv_prog_cc_c89" != "xno" && break 3303c19de146Smrgdone 33049ef7378bSmrgrm -f conftest.$ac_ext 3305c19de146SmrgCC=$ac_save_CC 3306c19de146Smrg 3307c19de146Smrgfi 33089ef7378bSmrg# AC_CACHE_VAL 33099ef7378bSmrgcase "x$ac_cv_prog_cc_c89" in 33109ef7378bSmrg x) 33119ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 33129ef7378bSmrg$as_echo "none needed" >&6; } ;; 33139ef7378bSmrg xno) 33149ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 33159ef7378bSmrg$as_echo "unsupported" >&6; } ;; 3316c19de146Smrg *) 33179ef7378bSmrg CC="$CC $ac_cv_prog_cc_c89" 33189ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 33199ef7378bSmrg$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3320c19de146Smrgesac 33219ef7378bSmrgif test "x$ac_cv_prog_cc_c89" != xno; then : 3322c19de146Smrg 3323c19de146Smrgfi 3324c19de146Smrg 3325c19de146Smrgac_ext=c 3326c19de146Smrgac_cpp='$CPP $CPPFLAGS' 3327c19de146Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3328c19de146Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3329c19de146Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 3330c19de146SmrgDEPDIR="${am__leading_dot}deps" 3331c19de146Smrg 33329ef7378bSmrgac_config_commands="$ac_config_commands depfiles" 3333c19de146Smrg 3334c19de146Smrg 3335c19de146Smrgam_make=${MAKE-make} 3336c19de146Smrgcat > confinc << 'END' 3337c19de146Smrgam__doit: 33389ef7378bSmrg @echo this is the am__doit target 3339c19de146Smrg.PHONY: am__doit 3340c19de146SmrgEND 3341c19de146Smrg# If we don't find an include directive, just comment out the code. 33429ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 33439ef7378bSmrg$as_echo_n "checking for style of include used by $am_make... " >&6; } 3344c19de146Smrgam__include="#" 3345c19de146Smrgam__quote= 3346c19de146Smrg_am_result=none 3347c19de146Smrg# First try GNU make style include. 3348c19de146Smrgecho "include confinc" > confmf 33499ef7378bSmrg# Ignore all kinds of additional output from `make'. 33509ef7378bSmrgcase `$am_make -s -f confmf 2> /dev/null` in #( 33519ef7378bSmrg*the\ am__doit\ target*) 33529ef7378bSmrg am__include=include 33539ef7378bSmrg am__quote= 33549ef7378bSmrg _am_result=GNU 33559ef7378bSmrg ;; 33569ef7378bSmrgesac 3357c19de146Smrg# Now try BSD make style include. 3358c19de146Smrgif test "$am__include" = "#"; then 3359c19de146Smrg echo '.include "confinc"' > confmf 33609ef7378bSmrg case `$am_make -s -f confmf 2> /dev/null` in #( 33619ef7378bSmrg *the\ am__doit\ target*) 33629ef7378bSmrg am__include=.include 33639ef7378bSmrg am__quote="\"" 33649ef7378bSmrg _am_result=BSD 33659ef7378bSmrg ;; 33669ef7378bSmrg esac 3367c19de146Smrgfi 3368c19de146Smrg 3369c19de146Smrg 33709ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 33719ef7378bSmrg$as_echo "$_am_result" >&6; } 3372c19de146Smrgrm -f confinc confmf 3373c19de146Smrg 33749ef7378bSmrg# Check whether --enable-dependency-tracking was given. 33759ef7378bSmrgif test "${enable_dependency_tracking+set}" = set; then : 33769ef7378bSmrg enableval=$enable_dependency_tracking; 33779ef7378bSmrgfi 3378c19de146Smrg 3379c19de146Smrgif test "x$enable_dependency_tracking" != xno; then 3380c19de146Smrg am_depcomp="$ac_aux_dir/depcomp" 3381c19de146Smrg AMDEPBACKSLASH='\' 3382c19de146Smrgfi 33839ef7378bSmrg if test "x$enable_dependency_tracking" != xno; then 3384c19de146Smrg AMDEP_TRUE= 3385c19de146Smrg AMDEP_FALSE='#' 3386c19de146Smrgelse 3387c19de146Smrg AMDEP_TRUE='#' 3388c19de146Smrg AMDEP_FALSE= 3389c19de146Smrgfi 3390c19de146Smrg 3391c19de146Smrg 3392c19de146Smrg 3393c19de146Smrgdepcc="$CC" am_compiler_list= 3394c19de146Smrg 33959ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 33969ef7378bSmrg$as_echo_n "checking dependency style of $depcc... " >&6; } 33979ef7378bSmrgif test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : 33989ef7378bSmrg $as_echo_n "(cached) " >&6 3399c19de146Smrgelse 3400c19de146Smrg if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3401c19de146Smrg # We make a subdir and do the tests there. Otherwise we can end up 3402c19de146Smrg # making bogus files that we don't know about and never remove. For 3403c19de146Smrg # instance it was reported that on HP-UX the gcc test will end up 3404c19de146Smrg # making a dummy file named `D' -- because `-MD' means `put the output 3405c19de146Smrg # in D'. 3406c19de146Smrg mkdir conftest.dir 3407c19de146Smrg # Copy depcomp to subdir because otherwise we won't find it if we're 3408c19de146Smrg # using a relative directory. 3409c19de146Smrg cp "$am_depcomp" conftest.dir 3410c19de146Smrg cd conftest.dir 3411c19de146Smrg # We will build objects and dependencies in a subdirectory because 3412c19de146Smrg # it helps to detect inapplicable dependency modes. For instance 3413c19de146Smrg # both Tru64's cc and ICC support -MD to output dependencies as a 3414c19de146Smrg # side effect of compilation, but ICC will put the dependencies in 3415c19de146Smrg # the current directory while Tru64 will put them in the object 3416c19de146Smrg # directory. 3417c19de146Smrg mkdir sub 3418c19de146Smrg 3419c19de146Smrg am_cv_CC_dependencies_compiler_type=none 3420c19de146Smrg if test "$am_compiler_list" = ""; then 3421c19de146Smrg am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3422c19de146Smrg fi 34239ef7378bSmrg am__universal=false 34249ef7378bSmrg case " $depcc " in #( 34259ef7378bSmrg *\ -arch\ *\ -arch\ *) am__universal=true ;; 34269ef7378bSmrg esac 34279ef7378bSmrg 3428c19de146Smrg for depmode in $am_compiler_list; do 3429c19de146Smrg # Setup a source with many dependencies, because some compilers 3430c19de146Smrg # like to wrap large dependency lists on column 80 (with \), and 3431c19de146Smrg # we should not choose a depcomp mode which is confused by this. 3432c19de146Smrg # 3433c19de146Smrg # We need to recreate these files for each test, as the compiler may 3434c19de146Smrg # overwrite some of them when testing with obscure command lines. 3435c19de146Smrg # This happens at least with the AIX C compiler. 3436c19de146Smrg : > sub/conftest.c 3437c19de146Smrg for i in 1 2 3 4 5 6; do 3438c19de146Smrg echo '#include "conftst'$i'.h"' >> sub/conftest.c 34399ef7378bSmrg # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 34409ef7378bSmrg # Solaris 8's {/usr,}/bin/sh. 34419ef7378bSmrg touch sub/conftst$i.h 3442c19de146Smrg done 3443c19de146Smrg echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3444c19de146Smrg 34459ef7378bSmrg # We check with `-c' and `-o' for the sake of the "dashmstdout" 34469ef7378bSmrg # mode. It turns out that the SunPro C++ compiler does not properly 34479ef7378bSmrg # handle `-M -o', and we need to detect this. Also, some Intel 34489ef7378bSmrg # versions had trouble with output in subdirs 34499ef7378bSmrg am__obj=sub/conftest.${OBJEXT-o} 34509ef7378bSmrg am__minus_obj="-o $am__obj" 3451c19de146Smrg case $depmode in 34529ef7378bSmrg gcc) 34539ef7378bSmrg # This depmode causes a compiler race in universal mode. 34549ef7378bSmrg test "$am__universal" = false || continue 34559ef7378bSmrg ;; 3456c19de146Smrg nosideeffect) 3457c19de146Smrg # after this tag, mechanisms are not by side-effect, so they'll 3458c19de146Smrg # only be used when explicitly requested 3459c19de146Smrg if test "x$enable_dependency_tracking" = xyes; then 3460c19de146Smrg continue 3461c19de146Smrg else 3462c19de146Smrg break 3463c19de146Smrg fi 3464c19de146Smrg ;; 34659ef7378bSmrg msvisualcpp | msvcmsys) 34669ef7378bSmrg # This compiler won't grok `-c -o', but also, the minuso test has 34679ef7378bSmrg # not run yet. These depmodes are late enough in the game, and 34689ef7378bSmrg # so weak that their functioning should not be impacted. 34699ef7378bSmrg am__obj=conftest.${OBJEXT-o} 34709ef7378bSmrg am__minus_obj= 34719ef7378bSmrg ;; 3472c19de146Smrg none) break ;; 3473c19de146Smrg esac 3474c19de146Smrg if depmode=$depmode \ 34759ef7378bSmrg source=sub/conftest.c object=$am__obj \ 3476c19de146Smrg depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 34779ef7378bSmrg $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3478c19de146Smrg >/dev/null 2>conftest.err && 34799ef7378bSmrg grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3480c19de146Smrg grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 34819ef7378bSmrg grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3482c19de146Smrg ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3483c19de146Smrg # icc doesn't choke on unknown options, it will just issue warnings 34849ef7378bSmrg # or remarks (even with -Werror). So we grep stderr for any message 34859ef7378bSmrg # that says an option was ignored or not supported. 34869ef7378bSmrg # When given -MP, icc 7.0 and 7.1 complain thusly: 34879ef7378bSmrg # icc: Command line warning: ignoring option '-M'; no argument required 34889ef7378bSmrg # The diagnosis changed in icc 8.0: 34899ef7378bSmrg # icc: Command line remark: option '-MP' not supported 34909ef7378bSmrg if (grep 'ignoring option' conftest.err || 34919ef7378bSmrg grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3492c19de146Smrg am_cv_CC_dependencies_compiler_type=$depmode 3493c19de146Smrg break 3494c19de146Smrg fi 3495c19de146Smrg fi 3496c19de146Smrg done 3497c19de146Smrg 3498c19de146Smrg cd .. 3499c19de146Smrg rm -rf conftest.dir 3500c19de146Smrgelse 3501c19de146Smrg am_cv_CC_dependencies_compiler_type=none 3502c19de146Smrgfi 3503c19de146Smrg 3504c19de146Smrgfi 35059ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 35069ef7378bSmrg$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3507c19de146SmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3508c19de146Smrg 35099ef7378bSmrg if 3510c19de146Smrg test "x$enable_dependency_tracking" != xno \ 3511c19de146Smrg && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3512c19de146Smrg am__fastdepCC_TRUE= 3513c19de146Smrg am__fastdepCC_FALSE='#' 3514c19de146Smrgelse 3515c19de146Smrg am__fastdepCC_TRUE='#' 3516c19de146Smrg am__fastdepCC_FALSE= 3517c19de146Smrgfi 3518c19de146Smrg 3519c19de146Smrg 35209ef7378bSmrg 35219ef7378bSmrg 35229ef7378bSmrg 35239ef7378bSmrgac_ext=c 35249ef7378bSmrgac_cpp='$CPP $CPPFLAGS' 35259ef7378bSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35269ef7378bSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35279ef7378bSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 35289ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 35299ef7378bSmrg$as_echo_n "checking how to run the C preprocessor... " >&6; } 35309ef7378bSmrg# On Suns, sometimes $CPP names a directory. 35319ef7378bSmrgif test -n "$CPP" && test -d "$CPP"; then 35329ef7378bSmrg CPP= 35339ef7378bSmrgfi 35349ef7378bSmrgif test -z "$CPP"; then 35359ef7378bSmrg if test "${ac_cv_prog_CPP+set}" = set; then : 35369ef7378bSmrg $as_echo_n "(cached) " >&6 3537c19de146Smrgelse 35389ef7378bSmrg # Double quotes because CPP needs to be expanded 35399ef7378bSmrg for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 35409ef7378bSmrg do 35419ef7378bSmrg ac_preproc_ok=false 35429ef7378bSmrgfor ac_c_preproc_warn_flag in '' yes 35439ef7378bSmrgdo 35449ef7378bSmrg # Use a header file that comes with gcc, so configuring glibc 35459ef7378bSmrg # with a fresh cross-compiler works. 35469ef7378bSmrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 35479ef7378bSmrg # <limits.h> exists even on freestanding compilers. 35489ef7378bSmrg # On the NeXT, cc -E runs the code through the compiler's parser, 35499ef7378bSmrg # not just through cpp. "Syntax error" is here to catch this case. 35509ef7378bSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35519ef7378bSmrg/* end confdefs.h. */ 35529ef7378bSmrg#ifdef __STDC__ 35539ef7378bSmrg# include <limits.h> 35549ef7378bSmrg#else 35559ef7378bSmrg# include <assert.h> 35569ef7378bSmrg#endif 35579ef7378bSmrg Syntax error 35589ef7378bSmrg_ACEOF 35599ef7378bSmrgif ac_fn_c_try_cpp "$LINENO"; then : 35609ef7378bSmrg 35619ef7378bSmrgelse 35629ef7378bSmrg # Broken: fails on valid input. 35639ef7378bSmrgcontinue 35649ef7378bSmrgfi 35659ef7378bSmrgrm -f conftest.err conftest.$ac_ext 35669ef7378bSmrg 35679ef7378bSmrg # OK, works on sane cases. Now check whether nonexistent headers 35689ef7378bSmrg # can be detected and how. 35699ef7378bSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35709ef7378bSmrg/* end confdefs.h. */ 35719ef7378bSmrg#include <ac_nonexistent.h> 35729ef7378bSmrg_ACEOF 35739ef7378bSmrgif ac_fn_c_try_cpp "$LINENO"; then : 35749ef7378bSmrg # Broken: success on invalid input. 35759ef7378bSmrgcontinue 35769ef7378bSmrgelse 35779ef7378bSmrg # Passes both tests. 35789ef7378bSmrgac_preproc_ok=: 35799ef7378bSmrgbreak 35809ef7378bSmrgfi 35819ef7378bSmrgrm -f conftest.err conftest.$ac_ext 35829ef7378bSmrg 35839ef7378bSmrgdone 35849ef7378bSmrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 35859ef7378bSmrgrm -f conftest.err conftest.$ac_ext 35869ef7378bSmrgif $ac_preproc_ok; then : 35879ef7378bSmrg break 35889ef7378bSmrgfi 35899ef7378bSmrg 35909ef7378bSmrg done 35919ef7378bSmrg ac_cv_prog_CPP=$CPP 35929ef7378bSmrg 35939ef7378bSmrgfi 35949ef7378bSmrg CPP=$ac_cv_prog_CPP 35959ef7378bSmrgelse 35969ef7378bSmrg ac_cv_prog_CPP=$CPP 35979ef7378bSmrgfi 35989ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 35999ef7378bSmrg$as_echo "$CPP" >&6; } 36009ef7378bSmrgac_preproc_ok=false 36019ef7378bSmrgfor ac_c_preproc_warn_flag in '' yes 36029ef7378bSmrgdo 36039ef7378bSmrg # Use a header file that comes with gcc, so configuring glibc 36049ef7378bSmrg # with a fresh cross-compiler works. 36059ef7378bSmrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 36069ef7378bSmrg # <limits.h> exists even on freestanding compilers. 36079ef7378bSmrg # On the NeXT, cc -E runs the code through the compiler's parser, 36089ef7378bSmrg # not just through cpp. "Syntax error" is here to catch this case. 36099ef7378bSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36109ef7378bSmrg/* end confdefs.h. */ 36119ef7378bSmrg#ifdef __STDC__ 36129ef7378bSmrg# include <limits.h> 36139ef7378bSmrg#else 36149ef7378bSmrg# include <assert.h> 36159ef7378bSmrg#endif 36169ef7378bSmrg Syntax error 36179ef7378bSmrg_ACEOF 36189ef7378bSmrgif ac_fn_c_try_cpp "$LINENO"; then : 36199ef7378bSmrg 36209ef7378bSmrgelse 36219ef7378bSmrg # Broken: fails on valid input. 36229ef7378bSmrgcontinue 36239ef7378bSmrgfi 36249ef7378bSmrgrm -f conftest.err conftest.$ac_ext 36259ef7378bSmrg 36269ef7378bSmrg # OK, works on sane cases. Now check whether nonexistent headers 36279ef7378bSmrg # can be detected and how. 36289ef7378bSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36299ef7378bSmrg/* end confdefs.h. */ 36309ef7378bSmrg#include <ac_nonexistent.h> 36319ef7378bSmrg_ACEOF 36329ef7378bSmrgif ac_fn_c_try_cpp "$LINENO"; then : 36339ef7378bSmrg # Broken: success on invalid input. 36349ef7378bSmrgcontinue 36359ef7378bSmrgelse 36369ef7378bSmrg # Passes both tests. 36379ef7378bSmrgac_preproc_ok=: 36389ef7378bSmrgbreak 36399ef7378bSmrgfi 36409ef7378bSmrgrm -f conftest.err conftest.$ac_ext 36419ef7378bSmrg 36429ef7378bSmrgdone 36439ef7378bSmrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 36449ef7378bSmrgrm -f conftest.err conftest.$ac_ext 36459ef7378bSmrgif $ac_preproc_ok; then : 36469ef7378bSmrg 36479ef7378bSmrgelse 36489ef7378bSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36499ef7378bSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36509ef7378bSmrgas_fn_error "C preprocessor \"$CPP\" fails sanity check 36519ef7378bSmrgSee \`config.log' for more details." "$LINENO" 5; } 36529ef7378bSmrgfi 36539ef7378bSmrg 36549ef7378bSmrgac_ext=c 36559ef7378bSmrgac_cpp='$CPP $CPPFLAGS' 36569ef7378bSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 36579ef7378bSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 36589ef7378bSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 36599ef7378bSmrg 36609ef7378bSmrg 36619ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 36629ef7378bSmrg$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 36639ef7378bSmrgif test "${ac_cv_path_GREP+set}" = set; then : 36649ef7378bSmrg $as_echo_n "(cached) " >&6 36659ef7378bSmrgelse 36669ef7378bSmrg if test -z "$GREP"; then 36679ef7378bSmrg ac_path_GREP_found=false 36689ef7378bSmrg # Loop through the user's path and test for each of PROGNAME-LIST 3669c19de146Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 36709ef7378bSmrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3671c19de146Smrgdo 3672c19de146Smrg IFS=$as_save_IFS 3673c19de146Smrg test -z "$as_dir" && as_dir=. 36749ef7378bSmrg for ac_prog in grep ggrep; do 36759ef7378bSmrg for ac_exec_ext in '' $ac_executable_extensions; do 36769ef7378bSmrg ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 36779ef7378bSmrg { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 36789ef7378bSmrg# Check for GNU ac_path_GREP and select it if it is found. 36799ef7378bSmrg # Check for GNU $ac_path_GREP 36809ef7378bSmrgcase `"$ac_path_GREP" --version 2>&1` in 36819ef7378bSmrg*GNU*) 36829ef7378bSmrg ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 36839ef7378bSmrg*) 36849ef7378bSmrg ac_count=0 36859ef7378bSmrg $as_echo_n 0123456789 >"conftest.in" 36869ef7378bSmrg while : 36879ef7378bSmrg do 36889ef7378bSmrg cat "conftest.in" "conftest.in" >"conftest.tmp" 36899ef7378bSmrg mv "conftest.tmp" "conftest.in" 36909ef7378bSmrg cp "conftest.in" "conftest.nl" 36919ef7378bSmrg $as_echo 'GREP' >> "conftest.nl" 36929ef7378bSmrg "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 36939ef7378bSmrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 36949ef7378bSmrg as_fn_arith $ac_count + 1 && ac_count=$as_val 36959ef7378bSmrg if test $ac_count -gt ${ac_path_GREP_max-0}; then 36969ef7378bSmrg # Best one so far, save it but keep looking for a better one 36979ef7378bSmrg ac_cv_path_GREP="$ac_path_GREP" 36989ef7378bSmrg ac_path_GREP_max=$ac_count 36999ef7378bSmrg fi 37009ef7378bSmrg # 10*(2^10) chars as input seems more than enough 37019ef7378bSmrg test $ac_count -gt 10 && break 37029ef7378bSmrg done 37039ef7378bSmrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3704c19de146Smrgesac 3705c19de146Smrg 37069ef7378bSmrg $ac_path_GREP_found && break 3 37079ef7378bSmrg done 37089ef7378bSmrg done 37099ef7378bSmrg done 37109ef7378bSmrgIFS=$as_save_IFS 37119ef7378bSmrg if test -z "$ac_cv_path_GREP"; then 37129ef7378bSmrg as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 37139ef7378bSmrg fi 37149ef7378bSmrgelse 37159ef7378bSmrg ac_cv_path_GREP=$GREP 37169ef7378bSmrgfi 3717c19de146Smrg 3718c19de146Smrgfi 37199ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 37209ef7378bSmrg$as_echo "$ac_cv_path_GREP" >&6; } 37219ef7378bSmrg GREP="$ac_cv_path_GREP" 37229ef7378bSmrg 37239ef7378bSmrg 37249ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 37259ef7378bSmrg$as_echo_n "checking for egrep... " >&6; } 37269ef7378bSmrgif test "${ac_cv_path_EGREP+set}" = set; then : 37279ef7378bSmrg $as_echo_n "(cached) " >&6 37289ef7378bSmrgelse 37299ef7378bSmrg if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 37309ef7378bSmrg then ac_cv_path_EGREP="$GREP -E" 37319ef7378bSmrg else 37329ef7378bSmrg if test -z "$EGREP"; then 37339ef7378bSmrg ac_path_EGREP_found=false 37349ef7378bSmrg # Loop through the user's path and test for each of PROGNAME-LIST 37359ef7378bSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 37369ef7378bSmrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 37379ef7378bSmrgdo 37389ef7378bSmrg IFS=$as_save_IFS 37399ef7378bSmrg test -z "$as_dir" && as_dir=. 37409ef7378bSmrg for ac_prog in egrep; do 37419ef7378bSmrg for ac_exec_ext in '' $ac_executable_extensions; do 37429ef7378bSmrg ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 37439ef7378bSmrg { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 37449ef7378bSmrg# Check for GNU ac_path_EGREP and select it if it is found. 37459ef7378bSmrg # Check for GNU $ac_path_EGREP 37469ef7378bSmrgcase `"$ac_path_EGREP" --version 2>&1` in 37479ef7378bSmrg*GNU*) 37489ef7378bSmrg ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 37499ef7378bSmrg*) 37509ef7378bSmrg ac_count=0 37519ef7378bSmrg $as_echo_n 0123456789 >"conftest.in" 37529ef7378bSmrg while : 37539ef7378bSmrg do 37549ef7378bSmrg cat "conftest.in" "conftest.in" >"conftest.tmp" 37559ef7378bSmrg mv "conftest.tmp" "conftest.in" 37569ef7378bSmrg cp "conftest.in" "conftest.nl" 37579ef7378bSmrg $as_echo 'EGREP' >> "conftest.nl" 37589ef7378bSmrg "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 37599ef7378bSmrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 37609ef7378bSmrg as_fn_arith $ac_count + 1 && ac_count=$as_val 37619ef7378bSmrg if test $ac_count -gt ${ac_path_EGREP_max-0}; then 37629ef7378bSmrg # Best one so far, save it but keep looking for a better one 37639ef7378bSmrg ac_cv_path_EGREP="$ac_path_EGREP" 37649ef7378bSmrg ac_path_EGREP_max=$ac_count 37659ef7378bSmrg fi 37669ef7378bSmrg # 10*(2^10) chars as input seems more than enough 37679ef7378bSmrg test $ac_count -gt 10 && break 37689ef7378bSmrg done 37699ef7378bSmrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 37709ef7378bSmrgesac 37719ef7378bSmrg 37729ef7378bSmrg $ac_path_EGREP_found && break 3 37739ef7378bSmrg done 37749ef7378bSmrg done 37759ef7378bSmrg done 37769ef7378bSmrgIFS=$as_save_IFS 37779ef7378bSmrg if test -z "$ac_cv_path_EGREP"; then 37789ef7378bSmrg as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3779c19de146Smrg fi 37809ef7378bSmrgelse 37819ef7378bSmrg ac_cv_path_EGREP=$EGREP 3782c19de146Smrgfi 3783c19de146Smrg 37849ef7378bSmrg fi 37859ef7378bSmrgfi 37869ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 37879ef7378bSmrg$as_echo "$ac_cv_path_EGREP" >&6; } 37889ef7378bSmrg EGREP="$ac_cv_path_EGREP" 3789c19de146Smrg 3790c19de146Smrg 37919ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 37929ef7378bSmrg$as_echo_n "checking for ANSI C header files... " >&6; } 37939ef7378bSmrgif test "${ac_cv_header_stdc+set}" = set; then : 37949ef7378bSmrg $as_echo_n "(cached) " >&6 37959ef7378bSmrgelse 37969ef7378bSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37979ef7378bSmrg/* end confdefs.h. */ 37989ef7378bSmrg#include <stdlib.h> 37999ef7378bSmrg#include <stdarg.h> 38009ef7378bSmrg#include <string.h> 38019ef7378bSmrg#include <float.h> 38029ef7378bSmrg 38039ef7378bSmrgint 38049ef7378bSmrgmain () 38059ef7378bSmrg{ 38069ef7378bSmrg 38079ef7378bSmrg ; 38089ef7378bSmrg return 0; 38099ef7378bSmrg} 38109ef7378bSmrg_ACEOF 38119ef7378bSmrgif ac_fn_c_try_compile "$LINENO"; then : 38129ef7378bSmrg ac_cv_header_stdc=yes 38139ef7378bSmrgelse 38149ef7378bSmrg ac_cv_header_stdc=no 38159ef7378bSmrgfi 38169ef7378bSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 38179ef7378bSmrg 38189ef7378bSmrgif test $ac_cv_header_stdc = yes; then 38199ef7378bSmrg # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 38209ef7378bSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38219ef7378bSmrg/* end confdefs.h. */ 38229ef7378bSmrg#include <string.h> 38239ef7378bSmrg 38249ef7378bSmrg_ACEOF 38259ef7378bSmrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 38269ef7378bSmrg $EGREP "memchr" >/dev/null 2>&1; then : 38279ef7378bSmrg 38289ef7378bSmrgelse 38299ef7378bSmrg ac_cv_header_stdc=no 38309ef7378bSmrgfi 38319ef7378bSmrgrm -f conftest* 38329ef7378bSmrg 38339ef7378bSmrgfi 38349ef7378bSmrg 38359ef7378bSmrgif test $ac_cv_header_stdc = yes; then 38369ef7378bSmrg # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 38379ef7378bSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38389ef7378bSmrg/* end confdefs.h. */ 38399ef7378bSmrg#include <stdlib.h> 38409ef7378bSmrg 38419ef7378bSmrg_ACEOF 38429ef7378bSmrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 38439ef7378bSmrg $EGREP "free" >/dev/null 2>&1; then : 38449ef7378bSmrg 38459ef7378bSmrgelse 38469ef7378bSmrg ac_cv_header_stdc=no 38479ef7378bSmrgfi 38489ef7378bSmrgrm -f conftest* 38499ef7378bSmrg 38509ef7378bSmrgfi 38519ef7378bSmrg 38529ef7378bSmrgif test $ac_cv_header_stdc = yes; then 38539ef7378bSmrg # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 38549ef7378bSmrg if test "$cross_compiling" = yes; then : 38559ef7378bSmrg : 38569ef7378bSmrgelse 38579ef7378bSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38589ef7378bSmrg/* end confdefs.h. */ 38599ef7378bSmrg#include <ctype.h> 38609ef7378bSmrg#include <stdlib.h> 38619ef7378bSmrg#if ((' ' & 0x0FF) == 0x020) 38629ef7378bSmrg# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 38639ef7378bSmrg# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 38649ef7378bSmrg#else 38659ef7378bSmrg# define ISLOWER(c) \ 38669ef7378bSmrg (('a' <= (c) && (c) <= 'i') \ 38679ef7378bSmrg || ('j' <= (c) && (c) <= 'r') \ 38689ef7378bSmrg || ('s' <= (c) && (c) <= 'z')) 38699ef7378bSmrg# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 38709ef7378bSmrg#endif 38719ef7378bSmrg 38729ef7378bSmrg#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 38739ef7378bSmrgint 38749ef7378bSmrgmain () 38759ef7378bSmrg{ 38769ef7378bSmrg int i; 38779ef7378bSmrg for (i = 0; i < 256; i++) 38789ef7378bSmrg if (XOR (islower (i), ISLOWER (i)) 38799ef7378bSmrg || toupper (i) != TOUPPER (i)) 38809ef7378bSmrg return 2; 38819ef7378bSmrg return 0; 38829ef7378bSmrg} 38839ef7378bSmrg_ACEOF 38849ef7378bSmrgif ac_fn_c_try_run "$LINENO"; then : 38859ef7378bSmrg 38869ef7378bSmrgelse 38879ef7378bSmrg ac_cv_header_stdc=no 38889ef7378bSmrgfi 38899ef7378bSmrgrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 38909ef7378bSmrg conftest.$ac_objext conftest.beam conftest.$ac_ext 38919ef7378bSmrgfi 38929ef7378bSmrg 38939ef7378bSmrgfi 38949ef7378bSmrgfi 38959ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 38969ef7378bSmrg$as_echo "$ac_cv_header_stdc" >&6; } 38979ef7378bSmrgif test $ac_cv_header_stdc = yes; then 38989ef7378bSmrg 38999ef7378bSmrg$as_echo "#define STDC_HEADERS 1" >>confdefs.h 39009ef7378bSmrg 39019ef7378bSmrgfi 39029ef7378bSmrg 39039ef7378bSmrg# On IRIX 5.3, sys/types and inttypes.h are conflicting. 39049ef7378bSmrgfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 39059ef7378bSmrg inttypes.h stdint.h unistd.h 39069ef7378bSmrgdo : 39079ef7378bSmrg as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 39089ef7378bSmrgac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 39099ef7378bSmrg" 39109ef7378bSmrgeval as_val=\$$as_ac_Header 39119ef7378bSmrg if test "x$as_val" = x""yes; then : 39129ef7378bSmrg cat >>confdefs.h <<_ACEOF 39139ef7378bSmrg#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 39149ef7378bSmrg_ACEOF 39159ef7378bSmrg 39169ef7378bSmrgfi 39179ef7378bSmrg 39189ef7378bSmrgdone 39199ef7378bSmrg 39209ef7378bSmrg 39219ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 39229ef7378bSmrg$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 39239ef7378bSmrgif test "${ac_cv_prog_cc_c99+set}" = set; then : 39249ef7378bSmrg $as_echo_n "(cached) " >&6 39259ef7378bSmrgelse 39269ef7378bSmrg ac_cv_prog_cc_c99=no 39279ef7378bSmrgac_save_CC=$CC 39289ef7378bSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 39299ef7378bSmrg/* end confdefs.h. */ 39309ef7378bSmrg#include <stdarg.h> 39319ef7378bSmrg#include <stdbool.h> 39329ef7378bSmrg#include <stdlib.h> 39339ef7378bSmrg#include <wchar.h> 39349ef7378bSmrg#include <stdio.h> 39359ef7378bSmrg 39369ef7378bSmrg// Check varargs macros. These examples are taken from C99 6.10.3.5. 39379ef7378bSmrg#define debug(...) fprintf (stderr, __VA_ARGS__) 39389ef7378bSmrg#define showlist(...) puts (#__VA_ARGS__) 39399ef7378bSmrg#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 39409ef7378bSmrgstatic void 39419ef7378bSmrgtest_varargs_macros (void) 39429ef7378bSmrg{ 39439ef7378bSmrg int x = 1234; 39449ef7378bSmrg int y = 5678; 39459ef7378bSmrg debug ("Flag"); 39469ef7378bSmrg debug ("X = %d\n", x); 39479ef7378bSmrg showlist (The first, second, and third items.); 39489ef7378bSmrg report (x>y, "x is %d but y is %d", x, y); 39499ef7378bSmrg} 39509ef7378bSmrg 39519ef7378bSmrg// Check long long types. 39529ef7378bSmrg#define BIG64 18446744073709551615ull 39539ef7378bSmrg#define BIG32 4294967295ul 39549ef7378bSmrg#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 39559ef7378bSmrg#if !BIG_OK 39569ef7378bSmrg your preprocessor is broken; 39579ef7378bSmrg#endif 39589ef7378bSmrg#if BIG_OK 39599ef7378bSmrg#else 39609ef7378bSmrg your preprocessor is broken; 39619ef7378bSmrg#endif 39629ef7378bSmrgstatic long long int bignum = -9223372036854775807LL; 39639ef7378bSmrgstatic unsigned long long int ubignum = BIG64; 39649ef7378bSmrg 39659ef7378bSmrgstruct incomplete_array 39669ef7378bSmrg{ 39679ef7378bSmrg int datasize; 39689ef7378bSmrg double data[]; 39699ef7378bSmrg}; 39709ef7378bSmrg 39719ef7378bSmrgstruct named_init { 39729ef7378bSmrg int number; 39739ef7378bSmrg const wchar_t *name; 39749ef7378bSmrg double average; 39759ef7378bSmrg}; 39769ef7378bSmrg 39779ef7378bSmrgtypedef const char *ccp; 39789ef7378bSmrg 39799ef7378bSmrgstatic inline int 39809ef7378bSmrgtest_restrict (ccp restrict text) 39819ef7378bSmrg{ 39829ef7378bSmrg // See if C++-style comments work. 39839ef7378bSmrg // Iterate through items via the restricted pointer. 39849ef7378bSmrg // Also check for declarations in for loops. 39859ef7378bSmrg for (unsigned int i = 0; *(text+i) != '\0'; ++i) 39869ef7378bSmrg continue; 39879ef7378bSmrg return 0; 39889ef7378bSmrg} 39899ef7378bSmrg 39909ef7378bSmrg// Check varargs and va_copy. 39919ef7378bSmrgstatic void 39929ef7378bSmrgtest_varargs (const char *format, ...) 39939ef7378bSmrg{ 39949ef7378bSmrg va_list args; 39959ef7378bSmrg va_start (args, format); 39969ef7378bSmrg va_list args_copy; 39979ef7378bSmrg va_copy (args_copy, args); 39989ef7378bSmrg 39999ef7378bSmrg const char *str; 40009ef7378bSmrg int number; 40019ef7378bSmrg float fnumber; 40029ef7378bSmrg 40039ef7378bSmrg while (*format) 40049ef7378bSmrg { 40059ef7378bSmrg switch (*format++) 40069ef7378bSmrg { 40079ef7378bSmrg case 's': // string 40089ef7378bSmrg str = va_arg (args_copy, const char *); 40099ef7378bSmrg break; 40109ef7378bSmrg case 'd': // int 40119ef7378bSmrg number = va_arg (args_copy, int); 40129ef7378bSmrg break; 40139ef7378bSmrg case 'f': // float 40149ef7378bSmrg fnumber = va_arg (args_copy, double); 40159ef7378bSmrg break; 40169ef7378bSmrg default: 40179ef7378bSmrg break; 40189ef7378bSmrg } 40199ef7378bSmrg } 40209ef7378bSmrg va_end (args_copy); 40219ef7378bSmrg va_end (args); 40229ef7378bSmrg} 40239ef7378bSmrg 40249ef7378bSmrgint 40259ef7378bSmrgmain () 40269ef7378bSmrg{ 40279ef7378bSmrg 40289ef7378bSmrg // Check bool. 40299ef7378bSmrg _Bool success = false; 40309ef7378bSmrg 40319ef7378bSmrg // Check restrict. 40329ef7378bSmrg if (test_restrict ("String literal") == 0) 40339ef7378bSmrg success = true; 40349ef7378bSmrg char *restrict newvar = "Another string"; 40359ef7378bSmrg 40369ef7378bSmrg // Check varargs. 40379ef7378bSmrg test_varargs ("s, d' f .", "string", 65, 34.234); 40389ef7378bSmrg test_varargs_macros (); 40399ef7378bSmrg 40409ef7378bSmrg // Check flexible array members. 40419ef7378bSmrg struct incomplete_array *ia = 40429ef7378bSmrg malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 40439ef7378bSmrg ia->datasize = 10; 40449ef7378bSmrg for (int i = 0; i < ia->datasize; ++i) 40459ef7378bSmrg ia->data[i] = i * 1.234; 40469ef7378bSmrg 40479ef7378bSmrg // Check named initializers. 40489ef7378bSmrg struct named_init ni = { 40499ef7378bSmrg .number = 34, 40509ef7378bSmrg .name = L"Test wide string", 40519ef7378bSmrg .average = 543.34343, 40529ef7378bSmrg }; 40539ef7378bSmrg 40549ef7378bSmrg ni.number = 58; 40559ef7378bSmrg 40569ef7378bSmrg int dynamic_array[ni.number]; 40579ef7378bSmrg dynamic_array[ni.number - 1] = 543; 40589ef7378bSmrg 40599ef7378bSmrg // work around unused variable warnings 40609ef7378bSmrg return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 40619ef7378bSmrg || dynamic_array[ni.number - 1] != 543); 40629ef7378bSmrg 40639ef7378bSmrg ; 40649ef7378bSmrg return 0; 40659ef7378bSmrg} 40669ef7378bSmrg_ACEOF 40679ef7378bSmrgfor ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 40689ef7378bSmrgdo 40699ef7378bSmrg CC="$ac_save_CC $ac_arg" 40709ef7378bSmrg if ac_fn_c_try_compile "$LINENO"; then : 40719ef7378bSmrg ac_cv_prog_cc_c99=$ac_arg 40729ef7378bSmrgfi 40739ef7378bSmrgrm -f core conftest.err conftest.$ac_objext 40749ef7378bSmrg test "x$ac_cv_prog_cc_c99" != "xno" && break 40759ef7378bSmrgdone 40769ef7378bSmrgrm -f conftest.$ac_ext 40779ef7378bSmrgCC=$ac_save_CC 40789ef7378bSmrg 40799ef7378bSmrgfi 40809ef7378bSmrg# AC_CACHE_VAL 40819ef7378bSmrgcase "x$ac_cv_prog_cc_c99" in 40829ef7378bSmrg x) 40839ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 40849ef7378bSmrg$as_echo "none needed" >&6; } ;; 40859ef7378bSmrg xno) 40869ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 40879ef7378bSmrg$as_echo "unsupported" >&6; } ;; 40889ef7378bSmrg *) 40899ef7378bSmrg CC="$CC $ac_cv_prog_cc_c99" 40909ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 40919ef7378bSmrg$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 40929ef7378bSmrgesac 40939ef7378bSmrgif test "x$ac_cv_prog_cc_c99" != xno; then : 40949ef7378bSmrg 40959ef7378bSmrgfi 4096c19de146Smrg 4097c19de146Smrg 4098c19de146Smrg 4099c19de146Smrg 4100c19de146Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 4101c19de146Smrg if test -n "$ac_tool_prefix"; then 4102c19de146Smrg # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 4103c19de146Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2 41049ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 41059ef7378bSmrg$as_echo_n "checking for $ac_word... " >&6; } 41069ef7378bSmrgif test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 41079ef7378bSmrg $as_echo_n "(cached) " >&6 4108c19de146Smrgelse 4109c19de146Smrg case $PKG_CONFIG in 4110c19de146Smrg [\\/]* | ?:[\\/]*) 4111c19de146Smrg ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 4112c19de146Smrg ;; 4113c19de146Smrg *) 4114c19de146Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4115c19de146Smrgfor as_dir in $PATH 4116c19de146Smrgdo 4117c19de146Smrg IFS=$as_save_IFS 4118c19de146Smrg test -z "$as_dir" && as_dir=. 41199ef7378bSmrg for ac_exec_ext in '' $ac_executable_extensions; do 41209ef7378bSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4121c19de146Smrg ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 41229ef7378bSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4123c19de146Smrg break 2 4124c19de146Smrg fi 4125c19de146Smrgdone 41269ef7378bSmrg done 41279ef7378bSmrgIFS=$as_save_IFS 4128c19de146Smrg 4129c19de146Smrg ;; 4130c19de146Smrgesac 4131c19de146Smrgfi 4132c19de146SmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG 4133c19de146Smrgif test -n "$PKG_CONFIG"; then 41349ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 41359ef7378bSmrg$as_echo "$PKG_CONFIG" >&6; } 4136c19de146Smrgelse 41379ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 41389ef7378bSmrg$as_echo "no" >&6; } 4139c19de146Smrgfi 4140c19de146Smrg 41419ef7378bSmrg 4142c19de146Smrgfi 4143c19de146Smrgif test -z "$ac_cv_path_PKG_CONFIG"; then 4144c19de146Smrg ac_pt_PKG_CONFIG=$PKG_CONFIG 4145c19de146Smrg # Extract the first word of "pkg-config", so it can be a program name with args. 4146c19de146Smrgset dummy pkg-config; ac_word=$2 41479ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 41489ef7378bSmrg$as_echo_n "checking for $ac_word... " >&6; } 41499ef7378bSmrgif test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then : 41509ef7378bSmrg $as_echo_n "(cached) " >&6 4151c19de146Smrgelse 4152c19de146Smrg case $ac_pt_PKG_CONFIG in 4153c19de146Smrg [\\/]* | ?:[\\/]*) 4154c19de146Smrg ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 4155c19de146Smrg ;; 4156c19de146Smrg *) 4157c19de146Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4158c19de146Smrgfor as_dir in $PATH 4159c19de146Smrgdo 4160c19de146Smrg IFS=$as_save_IFS 4161c19de146Smrg test -z "$as_dir" && as_dir=. 41629ef7378bSmrg for ac_exec_ext in '' $ac_executable_extensions; do 41639ef7378bSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4164c19de146Smrg ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 41659ef7378bSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4166c19de146Smrg break 2 4167c19de146Smrg fi 4168c19de146Smrgdone 41699ef7378bSmrg done 41709ef7378bSmrgIFS=$as_save_IFS 4171c19de146Smrg 4172c19de146Smrg ;; 4173c19de146Smrgesac 4174c19de146Smrgfi 4175c19de146Smrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 4176c19de146Smrgif test -n "$ac_pt_PKG_CONFIG"; then 41779ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 41789ef7378bSmrg$as_echo "$ac_pt_PKG_CONFIG" >&6; } 4179c19de146Smrgelse 41809ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 41819ef7378bSmrg$as_echo "no" >&6; } 4182c19de146Smrgfi 4183c19de146Smrg 41849ef7378bSmrg if test "x$ac_pt_PKG_CONFIG" = x; then 41859ef7378bSmrg PKG_CONFIG="" 41869ef7378bSmrg else 41879ef7378bSmrg case $cross_compiling:$ac_tool_warned in 41889ef7378bSmrgyes:) 41899ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 41909ef7378bSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 41919ef7378bSmrgac_tool_warned=yes ;; 41929ef7378bSmrgesac 41939ef7378bSmrg PKG_CONFIG=$ac_pt_PKG_CONFIG 41949ef7378bSmrg fi 4195c19de146Smrgelse 4196c19de146Smrg PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 4197c19de146Smrgfi 4198c19de146Smrg 4199c19de146Smrgfi 4200c19de146Smrgif test -n "$PKG_CONFIG"; then 4201c19de146Smrg _pkg_min_version=0.9.0 42029ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 42039ef7378bSmrg$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 4204c19de146Smrg if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 42059ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 42069ef7378bSmrg$as_echo "yes" >&6; } 4207c19de146Smrg else 42089ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 42099ef7378bSmrg$as_echo "no" >&6; } 4210c19de146Smrg PKG_CONFIG="" 4211c19de146Smrg fi 4212c19de146Smrg 4213c19de146Smrgfi 42149ef7378bSmrg# Make sure we can run config.sub. 42159ef7378bSmrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 42169ef7378bSmrg as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4217c19de146Smrg 42189ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 42199ef7378bSmrg$as_echo_n "checking build system type... " >&6; } 42209ef7378bSmrgif test "${ac_cv_build+set}" = set; then : 42219ef7378bSmrg $as_echo_n "(cached) " >&6 4222c19de146Smrgelse 42239ef7378bSmrg ac_build_alias=$build_alias 42249ef7378bSmrgtest "x$ac_build_alias" = x && 42259ef7378bSmrg ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 42269ef7378bSmrgtest "x$ac_build_alias" = x && 42279ef7378bSmrg as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 42289ef7378bSmrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 42299ef7378bSmrg as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 42309ef7378bSmrg 42319ef7378bSmrgfi 42329ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 42339ef7378bSmrg$as_echo "$ac_cv_build" >&6; } 42349ef7378bSmrgcase $ac_cv_build in 42359ef7378bSmrg*-*-*) ;; 42369ef7378bSmrg*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 42379ef7378bSmrgesac 42389ef7378bSmrgbuild=$ac_cv_build 42399ef7378bSmrgac_save_IFS=$IFS; IFS='-' 42409ef7378bSmrgset x $ac_cv_build 42419ef7378bSmrgshift 42429ef7378bSmrgbuild_cpu=$1 42439ef7378bSmrgbuild_vendor=$2 42449ef7378bSmrgshift; shift 42459ef7378bSmrg# Remember, the first character of IFS is used to create $*, 42469ef7378bSmrg# except with old shells: 42479ef7378bSmrgbuild_os=$* 42489ef7378bSmrgIFS=$ac_save_IFS 42499ef7378bSmrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 42509ef7378bSmrg 42519ef7378bSmrg 42529ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 42539ef7378bSmrg$as_echo_n "checking host system type... " >&6; } 42549ef7378bSmrgif test "${ac_cv_host+set}" = set; then : 42559ef7378bSmrg $as_echo_n "(cached) " >&6 4256c19de146Smrgelse 42579ef7378bSmrg if test "x$host_alias" = x; then 42589ef7378bSmrg ac_cv_host=$ac_cv_build 4259c19de146Smrgelse 42609ef7378bSmrg ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 42619ef7378bSmrg as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4262c19de146Smrgfi 42639ef7378bSmrg 4264c19de146Smrgfi 42659ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 42669ef7378bSmrg$as_echo "$ac_cv_host" >&6; } 42679ef7378bSmrgcase $ac_cv_host in 42689ef7378bSmrg*-*-*) ;; 42699ef7378bSmrg*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 42709ef7378bSmrgesac 42719ef7378bSmrghost=$ac_cv_host 42729ef7378bSmrgac_save_IFS=$IFS; IFS='-' 42739ef7378bSmrgset x $ac_cv_host 42749ef7378bSmrgshift 42759ef7378bSmrghost_cpu=$1 42769ef7378bSmrghost_vendor=$2 42779ef7378bSmrgshift; shift 42789ef7378bSmrg# Remember, the first character of IFS is used to create $*, 42799ef7378bSmrg# except with old shells: 42809ef7378bSmrghost_os=$* 42819ef7378bSmrgIFS=$ac_save_IFS 42829ef7378bSmrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4283c19de146Smrg 4284c19de146Smrg 4285c19de146Smrg 4286c19de146Smrg 4287c19de146Smrg 42889ef7378bSmrgif test "x$GCC" = xyes ; then 42899ef7378bSmrg CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \ 42909ef7378bSmrg-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \ 42919ef7378bSmrg-Wbad-function-cast" 42929ef7378bSmrg case `$CC -dumpversion` in 42939ef7378bSmrg 3.4.* | 4.*) 42949ef7378bSmrg CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement" 42959ef7378bSmrg ;; 42969ef7378bSmrg esac 4297c19de146Smrgelse 42989ef7378bSmrg ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 42999ef7378bSmrgif test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then : 43009ef7378bSmrg SUNCC="yes" 4301c19de146Smrgelse 43029ef7378bSmrg SUNCC="no" 4303c19de146Smrgfi 4304c19de146Smrg 43059ef7378bSmrg if test "x$SUNCC" = "xyes"; then 43069ef7378bSmrg CWARNFLAGS="-v" 43079ef7378bSmrg fi 4308c19de146Smrgfi 4309c19de146Smrg 43109ef7378bSmrg# Check whether --enable-silent-rules was given. 43119ef7378bSmrgif test "${enable_silent_rules+set}" = set; then : 43129ef7378bSmrg enableval=$enable_silent_rules; 4313c19de146Smrgfi 4314c19de146Smrg 43159ef7378bSmrgcase $enable_silent_rules in 43169ef7378bSmrgyes) AM_DEFAULT_VERBOSITY=0;; 43179ef7378bSmrgno) AM_DEFAULT_VERBOSITY=1;; 43189ef7378bSmrg*) AM_DEFAULT_VERBOSITY=0;; 43199ef7378bSmrgesac 43209ef7378bSmrgAM_BACKSLASH='\' 4321c19de146Smrg 4322c19de146Smrg 4323c19de146Smrg 4324c19de146Smrg 4325c19de146Smrg 4326c19de146Smrg 4327c19de146Smrg 43289ef7378bSmrg# Check whether --enable-strict-compilation was given. 43299ef7378bSmrgif test "${enable_strict_compilation+set}" = set; then : 43309ef7378bSmrg enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval 4331c19de146Smrgelse 43329ef7378bSmrg STRICT_COMPILE=no 4333c19de146Smrgfi 43349ef7378bSmrg 43359ef7378bSmrgif test "x$STRICT_COMPILE" = "xyes"; then 43369ef7378bSmrg ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 43379ef7378bSmrgif test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then : 43389ef7378bSmrg SUNCC="yes" 4339c19de146Smrgelse 43409ef7378bSmrg SUNCC="no" 4341c19de146Smrgfi 4342c19de146Smrg 43439ef7378bSmrg ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" 43449ef7378bSmrgif test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then : 43459ef7378bSmrg INTELCC="yes" 4346c19de146Smrgelse 43479ef7378bSmrg INTELCC="no" 4348c19de146Smrgfi 4349c19de146Smrg 43509ef7378bSmrg if test "x$GCC" = xyes ; then 43519ef7378bSmrg STRICT_CFLAGS="-pedantic -Werror" 43529ef7378bSmrg elif test "x$SUNCC" = "xyes"; then 43539ef7378bSmrg STRICT_CFLAGS="-errwarn" 43549ef7378bSmrg elif test "x$INTELCC" = "xyes"; then 43559ef7378bSmrg STRICT_CFLAGS="-Werror" 43569ef7378bSmrg fi 43579ef7378bSmrgfi 43589ef7378bSmrgCWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS" 4359c19de146Smrg 4360c19de146Smrg 4361c19de146Smrg 4362c19de146Smrg 43639ef7378bSmrg# Check whether --with-release-version was given. 43649ef7378bSmrgif test "${with_release_version+set}" = set; then : 43659ef7378bSmrg withval=$with_release_version; RELEASE_VERSION="$withval" 43669ef7378bSmrgelse 43679ef7378bSmrg RELEASE_VERSION="" 43689ef7378bSmrgfi 4369c19de146Smrg 43709ef7378bSmrg if test "x$RELEASE_VERSION" != "x"; then 43719ef7378bSmrg PACKAGE="$PACKAGE-$RELEASE_VERSION" 43729ef7378bSmrg PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION" 43739ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: Building with package name set to $PACKAGE" >&5 43749ef7378bSmrg$as_echo "$as_me: Building with package name set to $PACKAGE" >&6;} 43759ef7378bSmrg fi 4376c19de146Smrg 43779ef7378bSmrgcat >>confdefs.h <<_ACEOF 43789ef7378bSmrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 43799ef7378bSmrg_ACEOF 4380c19de146Smrg 43819ef7378bSmrg PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 43829ef7378bSmrg if test "x$PVM" = "x"; then 43839ef7378bSmrg PVM="0" 43849ef7378bSmrg fi 4385c19de146Smrg 43869ef7378bSmrgcat >>confdefs.h <<_ACEOF 43879ef7378bSmrg#define PACKAGE_VERSION_MINOR $PVM 43889ef7378bSmrg_ACEOF 4389c19de146Smrg 43909ef7378bSmrg PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 43919ef7378bSmrg if test "x$PVP" = "x"; then 43929ef7378bSmrg PVP="0" 43939ef7378bSmrg fi 4394c19de146Smrg 43959ef7378bSmrgcat >>confdefs.h <<_ACEOF 43969ef7378bSmrg#define PACKAGE_VERSION_PATCHLEVEL $PVP 43979ef7378bSmrg_ACEOF 4398c19de146Smrg 4399c19de146Smrg 4400c19de146Smrg 44019ef7378bSmrgCHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \ 44029ef7378bSmrgmv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \ 44039ef7378bSmrg|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \ 44049ef7378bSmrgecho 'git directory not found: installing possibly empty changelog.' >&2)" 4405c19de146Smrg 4406c19de146Smrg 4407c19de146Smrg 4408c19de146Smrg 44099ef7378bSmrgmacros_docdir=$($PKG_CONFIG --print-errors --variable=docdir xorg-macros) 44109ef7378bSmrgINSTALL_CMD="(cp -f "$macros_docdir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \ 44119ef7378bSmrgmv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \ 44129ef7378bSmrg|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \ 44139ef7378bSmrgecho 'util-macros \"docdir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)" 4414c19de146Smrg 4415c19de146Smrg 4416c19de146Smrg 4417c19de146Smrg 4418c19de146Smrg 4419c19de146Smrgif test x$APP_MAN_SUFFIX = x ; then 44209ef7378bSmrg APP_MAN_SUFFIX=1 4421c19de146Smrgfi 4422c19de146Smrgif test x$APP_MAN_DIR = x ; then 44239ef7378bSmrg APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 4424c19de146Smrgfi 4425c19de146Smrg 4426c19de146Smrgif test x$LIB_MAN_SUFFIX = x ; then 44279ef7378bSmrg LIB_MAN_SUFFIX=3 4428c19de146Smrgfi 4429c19de146Smrgif test x$LIB_MAN_DIR = x ; then 44309ef7378bSmrg LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 4431c19de146Smrgfi 4432c19de146Smrg 4433c19de146Smrgif test x$FILE_MAN_SUFFIX = x ; then 4434c19de146Smrg case $host_os in 4435c19de146Smrg solaris*) FILE_MAN_SUFFIX=4 ;; 4436c19de146Smrg *) FILE_MAN_SUFFIX=5 ;; 4437c19de146Smrg esac 4438c19de146Smrgfi 4439c19de146Smrgif test x$FILE_MAN_DIR = x ; then 44409ef7378bSmrg FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 4441c19de146Smrgfi 4442c19de146Smrg 4443c19de146Smrgif test x$MISC_MAN_SUFFIX = x ; then 4444c19de146Smrg case $host_os in 4445c19de146Smrg solaris*) MISC_MAN_SUFFIX=5 ;; 4446c19de146Smrg *) MISC_MAN_SUFFIX=7 ;; 4447c19de146Smrg esac 4448c19de146Smrgfi 4449c19de146Smrgif test x$MISC_MAN_DIR = x ; then 44509ef7378bSmrg MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 4451c19de146Smrgfi 4452c19de146Smrg 4453c19de146Smrgif test x$DRIVER_MAN_SUFFIX = x ; then 4454c19de146Smrg case $host_os in 4455c19de146Smrg solaris*) DRIVER_MAN_SUFFIX=7 ;; 4456c19de146Smrg *) DRIVER_MAN_SUFFIX=4 ;; 4457c19de146Smrg esac 4458c19de146Smrgfi 4459c19de146Smrgif test x$DRIVER_MAN_DIR = x ; then 44609ef7378bSmrg DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 4461c19de146Smrgfi 4462c19de146Smrg 4463c19de146Smrgif test x$ADMIN_MAN_SUFFIX = x ; then 4464c19de146Smrg case $host_os in 4465c19de146Smrg solaris*) ADMIN_MAN_SUFFIX=1m ;; 4466c19de146Smrg *) ADMIN_MAN_SUFFIX=8 ;; 4467c19de146Smrg esac 4468c19de146Smrgfi 4469c19de146Smrgif test x$ADMIN_MAN_DIR = x ; then 4470c19de146Smrg ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 4471c19de146Smrgfi 4472c19de146Smrg 4473c19de146Smrg 4474c19de146Smrg 4475c19de146Smrg 4476c19de146Smrg 4477c19de146Smrg 4478c19de146Smrg 4479c19de146Smrg 4480c19de146Smrg 4481c19de146Smrg 4482c19de146Smrg 4483c19de146Smrg 4484c19de146Smrg 4485c19de146Smrg 4486c19de146Smrg 4487c19de146Smrg 4488c19de146Smrg 44899ef7378bSmrg 44909ef7378bSmrgpkg_failed=no 44919ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XBIFF" >&5 44929ef7378bSmrg$as_echo_n "checking for XBIFF... " >&6; } 44939ef7378bSmrg 44949ef7378bSmrgif test -n "$XBIFF_CFLAGS"; then 44959ef7378bSmrg pkg_cv_XBIFF_CFLAGS="$XBIFF_CFLAGS" 44969ef7378bSmrg elif test -n "$PKG_CONFIG"; then 44979ef7378bSmrg if test -n "$PKG_CONFIG" && \ 44989ef7378bSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xbitmaps xext\""; } >&5 44999ef7378bSmrg ($PKG_CONFIG --exists --print-errors "xaw7 xbitmaps xext") 2>&5 45009ef7378bSmrg ac_status=$? 45019ef7378bSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 45029ef7378bSmrg test $ac_status = 0; }; then 45039ef7378bSmrg pkg_cv_XBIFF_CFLAGS=`$PKG_CONFIG --cflags "xaw7 xbitmaps xext" 2>/dev/null` 45049ef7378bSmrgelse 45059ef7378bSmrg pkg_failed=yes 45069ef7378bSmrgfi 45079ef7378bSmrg else 45089ef7378bSmrg pkg_failed=untried 45099ef7378bSmrgfi 45109ef7378bSmrgif test -n "$XBIFF_LIBS"; then 45119ef7378bSmrg pkg_cv_XBIFF_LIBS="$XBIFF_LIBS" 45129ef7378bSmrg elif test -n "$PKG_CONFIG"; then 45139ef7378bSmrg if test -n "$PKG_CONFIG" && \ 45149ef7378bSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xbitmaps xext\""; } >&5 45159ef7378bSmrg ($PKG_CONFIG --exists --print-errors "xaw7 xbitmaps xext") 2>&5 45169ef7378bSmrg ac_status=$? 45179ef7378bSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 45189ef7378bSmrg test $ac_status = 0; }; then 45199ef7378bSmrg pkg_cv_XBIFF_LIBS=`$PKG_CONFIG --libs "xaw7 xbitmaps xext" 2>/dev/null` 45209ef7378bSmrgelse 45219ef7378bSmrg pkg_failed=yes 45229ef7378bSmrgfi 45239ef7378bSmrg else 45249ef7378bSmrg pkg_failed=untried 45259ef7378bSmrgfi 45269ef7378bSmrg 45279ef7378bSmrg 45289ef7378bSmrg 45299ef7378bSmrgif test $pkg_failed = yes; then 45309ef7378bSmrg 45319ef7378bSmrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 45329ef7378bSmrg _pkg_short_errors_supported=yes 4533c19de146Smrgelse 45349ef7378bSmrg _pkg_short_errors_supported=no 45359ef7378bSmrgfi 45369ef7378bSmrg if test $_pkg_short_errors_supported = yes; then 45379ef7378bSmrg XBIFF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xaw7 xbitmaps xext" 2>&1` 45389ef7378bSmrg else 45399ef7378bSmrg XBIFF_PKG_ERRORS=`$PKG_CONFIG --print-errors "xaw7 xbitmaps xext" 2>&1` 45409ef7378bSmrg fi 45419ef7378bSmrg # Put the nasty error message in config.log where it belongs 45429ef7378bSmrg echo "$XBIFF_PKG_ERRORS" >&5 45439ef7378bSmrg 45449ef7378bSmrg as_fn_error "Package requirements (xaw7 xbitmaps xext) were not met: 45459ef7378bSmrg 45469ef7378bSmrg$XBIFF_PKG_ERRORS 45479ef7378bSmrg 45489ef7378bSmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 45499ef7378bSmrginstalled software in a non-standard prefix. 45509ef7378bSmrg 45519ef7378bSmrgAlternatively, you may set the environment variables XBIFF_CFLAGS 45529ef7378bSmrgand XBIFF_LIBS to avoid the need to call pkg-config. 45539ef7378bSmrgSee the pkg-config man page for more details. 45549ef7378bSmrg" "$LINENO" 5 45559ef7378bSmrgelif test $pkg_failed = untried; then 45569ef7378bSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 45579ef7378bSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 45589ef7378bSmrgas_fn_error "The pkg-config script could not be found or is too old. Make sure it 45599ef7378bSmrgis in your PATH or set the PKG_CONFIG environment variable to the full 45609ef7378bSmrgpath to pkg-config. 45619ef7378bSmrg 45629ef7378bSmrgAlternatively, you may set the environment variables XBIFF_CFLAGS 45639ef7378bSmrgand XBIFF_LIBS to avoid the need to call pkg-config. 45649ef7378bSmrgSee the pkg-config man page for more details. 45659ef7378bSmrg 45669ef7378bSmrgTo get pkg-config, see <http://pkg-config.freedesktop.org/>. 45679ef7378bSmrgSee \`config.log' for more details." "$LINENO" 5; } 45689ef7378bSmrgelse 45699ef7378bSmrg XBIFF_CFLAGS=$pkg_cv_XBIFF_CFLAGS 45709ef7378bSmrg XBIFF_LIBS=$pkg_cv_XBIFF_LIBS 45719ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 45729ef7378bSmrg$as_echo "yes" >&6; } 45739ef7378bSmrg : 45749ef7378bSmrgfi 4575c19de146Smrg 4576c19de146Smrg 45779ef7378bSmrg 45789ef7378bSmrg 45799ef7378bSmrgac_config_files="$ac_config_files Makefile" 45809ef7378bSmrg 4581c19de146Smrgcat >confcache <<\_ACEOF 4582c19de146Smrg# This file is a shell script that caches the results of configure 4583c19de146Smrg# tests run on this system so they can be shared between configure 4584c19de146Smrg# scripts and configure runs, see configure's option --config-cache. 4585c19de146Smrg# It is not useful on other systems. If it contains results you don't 4586c19de146Smrg# want to keep, you may remove or edit it. 4587c19de146Smrg# 4588c19de146Smrg# config.status only pays attention to the cache file if you give it 4589c19de146Smrg# the --recheck option to rerun configure. 4590c19de146Smrg# 4591c19de146Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when 4592c19de146Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the 4593c19de146Smrg# following values. 4594c19de146Smrg 4595c19de146Smrg_ACEOF 4596c19de146Smrg 4597c19de146Smrg# The following way of writing the cache mishandles newlines in values, 4598c19de146Smrg# but we know of no workaround that is simple, portable, and efficient. 45999ef7378bSmrg# So, we kill variables containing newlines. 4600c19de146Smrg# Ultrix sh set writes to stderr and can't be redirected directly, 4601c19de146Smrg# and sets the high bit in the cache file unless we assign to the vars. 46029ef7378bSmrg( 46039ef7378bSmrg for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 46049ef7378bSmrg eval ac_val=\$$ac_var 46059ef7378bSmrg case $ac_val in #( 46069ef7378bSmrg *${as_nl}*) 46079ef7378bSmrg case $ac_var in #( 46089ef7378bSmrg *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 46099ef7378bSmrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 46109ef7378bSmrg esac 46119ef7378bSmrg case $ac_var in #( 46129ef7378bSmrg _ | IFS | as_nl) ;; #( 46139ef7378bSmrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 46149ef7378bSmrg *) { eval $ac_var=; unset $ac_var;} ;; 46159ef7378bSmrg esac ;; 46169ef7378bSmrg esac 46179ef7378bSmrg done 46189ef7378bSmrg 4619c19de146Smrg (set) 2>&1 | 46209ef7378bSmrg case $as_nl`(ac_space=' '; set) 2>&1` in #( 46219ef7378bSmrg *${as_nl}ac_space=\ *) 46229ef7378bSmrg # `set' does not quote correctly, so add quotes: double-quote 46239ef7378bSmrg # substitution turns \\\\ into \\, and sed turns \\ into \. 4624c19de146Smrg sed -n \ 4625c19de146Smrg "s/'/'\\\\''/g; 4626c19de146Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 46279ef7378bSmrg ;; #( 4628c19de146Smrg *) 4629c19de146Smrg # `set' quotes correctly as required by POSIX, so do not add quotes. 46309ef7378bSmrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 4631c19de146Smrg ;; 46329ef7378bSmrg esac | 46339ef7378bSmrg sort 46349ef7378bSmrg) | 4635c19de146Smrg sed ' 46369ef7378bSmrg /^ac_cv_env_/b end 4637c19de146Smrg t clear 46389ef7378bSmrg :clear 4639c19de146Smrg s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 4640c19de146Smrg t end 46419ef7378bSmrg s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 46429ef7378bSmrg :end' >>confcache 46439ef7378bSmrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 46449ef7378bSmrg if test -w "$cache_file"; then 46459ef7378bSmrg test "x$cache_file" != "x/dev/null" && 46469ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 46479ef7378bSmrg$as_echo "$as_me: updating cache $cache_file" >&6;} 4648c19de146Smrg cat confcache >$cache_file 4649c19de146Smrg else 46509ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 46519ef7378bSmrg$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 4652c19de146Smrg fi 4653c19de146Smrgfi 4654c19de146Smrgrm -f confcache 4655c19de146Smrg 4656c19de146Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix 4657c19de146Smrg# Let make expand exec_prefix. 4658c19de146Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 4659c19de146Smrg 4660c19de146SmrgDEFS=-DHAVE_CONFIG_H 4661c19de146Smrg 4662c19de146Smrgac_libobjs= 4663c19de146Smrgac_ltlibobjs= 4664c19de146Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 4665c19de146Smrg # 1. Remove the extension, and $U if already installed. 46669ef7378bSmrg ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 46679ef7378bSmrg ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 46689ef7378bSmrg # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 46699ef7378bSmrg # will be set to the directory where LIBOBJS objects are built. 46709ef7378bSmrg as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 46719ef7378bSmrg as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 4672c19de146Smrgdone 4673c19de146SmrgLIBOBJS=$ac_libobjs 4674c19de146Smrg 4675c19de146SmrgLTLIBOBJS=$ac_ltlibobjs 4676c19de146Smrg 4677c19de146Smrg 46789ef7378bSmrg if test -n "$EXEEXT"; then 46799ef7378bSmrg am__EXEEXT_TRUE= 46809ef7378bSmrg am__EXEEXT_FALSE='#' 46819ef7378bSmrgelse 46829ef7378bSmrg am__EXEEXT_TRUE='#' 46839ef7378bSmrg am__EXEEXT_FALSE= 46849ef7378bSmrgfi 46859ef7378bSmrg 4686c19de146Smrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 46879ef7378bSmrg as_fn_error "conditional \"MAINTAINER_MODE\" was never defined. 46889ef7378bSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 4689c19de146Smrgfi 4690c19de146Smrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 46919ef7378bSmrg as_fn_error "conditional \"AMDEP\" was never defined. 46929ef7378bSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 4693c19de146Smrgfi 4694c19de146Smrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 46959ef7378bSmrg as_fn_error "conditional \"am__fastdepCC\" was never defined. 46969ef7378bSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 4697c19de146Smrgfi 4698c19de146Smrg 4699c19de146Smrg: ${CONFIG_STATUS=./config.status} 47009ef7378bSmrgac_write_fail=0 4701c19de146Smrgac_clean_files_save=$ac_clean_files 4702c19de146Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS" 47039ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 47049ef7378bSmrg$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 47059ef7378bSmrgas_write_fail=0 47069ef7378bSmrgcat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 4707c19de146Smrg#! $SHELL 4708c19de146Smrg# Generated by $as_me. 4709c19de146Smrg# Run this file to recreate the current configuration. 4710c19de146Smrg# Compiler output produced by configure, useful for debugging 4711c19de146Smrg# configure, is in config.log if it exists. 4712c19de146Smrg 4713c19de146Smrgdebug=false 4714c19de146Smrgac_cs_recheck=false 4715c19de146Smrgac_cs_silent=false 4716c19de146Smrg 47179ef7378bSmrgSHELL=\${CONFIG_SHELL-$SHELL} 47189ef7378bSmrgexport SHELL 47199ef7378bSmrg_ASEOF 47209ef7378bSmrgcat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 47219ef7378bSmrg## -------------------- ## 47229ef7378bSmrg## M4sh Initialization. ## 47239ef7378bSmrg## -------------------- ## 47249ef7378bSmrg 47259ef7378bSmrg# Be more Bourne compatible 47269ef7378bSmrgDUALCASE=1; export DUALCASE # for MKS sh 47279ef7378bSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 4728c19de146Smrg emulate sh 4729c19de146Smrg NULLCMD=: 47309ef7378bSmrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 4731c19de146Smrg # is contrary to our usage. Disable this feature. 4732c19de146Smrg alias -g '${1+"$@"}'='"$@"' 47339ef7378bSmrg setopt NO_GLOB_SUBST 47349ef7378bSmrgelse 47359ef7378bSmrg case `(set -o) 2>/dev/null` in #( 47369ef7378bSmrg *posix*) : 47379ef7378bSmrg set -o posix ;; #( 47389ef7378bSmrg *) : 47399ef7378bSmrg ;; 47409ef7378bSmrgesac 4741c19de146Smrgfi 4742c19de146Smrg 47439ef7378bSmrg 47449ef7378bSmrgas_nl=' 47459ef7378bSmrg' 47469ef7378bSmrgexport as_nl 47479ef7378bSmrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 47489ef7378bSmrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 47499ef7378bSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 47509ef7378bSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 47519ef7378bSmrg# Prefer a ksh shell builtin over an external printf program on Solaris, 47529ef7378bSmrg# but without wasting forks for bash or zsh. 47539ef7378bSmrgif test -z "$BASH_VERSION$ZSH_VERSION" \ 47549ef7378bSmrg && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47559ef7378bSmrg as_echo='print -r --' 47569ef7378bSmrg as_echo_n='print -rn --' 47579ef7378bSmrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 47589ef7378bSmrg as_echo='printf %s\n' 47599ef7378bSmrg as_echo_n='printf %s' 4760c19de146Smrgelse 47619ef7378bSmrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 47629ef7378bSmrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 47639ef7378bSmrg as_echo_n='/usr/ucb/echo -n' 47649ef7378bSmrg else 47659ef7378bSmrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 47669ef7378bSmrg as_echo_n_body='eval 47679ef7378bSmrg arg=$1; 47689ef7378bSmrg case $arg in #( 47699ef7378bSmrg *"$as_nl"*) 47709ef7378bSmrg expr "X$arg" : "X\\(.*\\)$as_nl"; 47719ef7378bSmrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 47729ef7378bSmrg esac; 47739ef7378bSmrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 47749ef7378bSmrg ' 47759ef7378bSmrg export as_echo_n_body 47769ef7378bSmrg as_echo_n='sh -c $as_echo_n_body as_echo' 47779ef7378bSmrg fi 47789ef7378bSmrg export as_echo_body 47799ef7378bSmrg as_echo='sh -c $as_echo_body as_echo' 47809ef7378bSmrgfi 47819ef7378bSmrg 47829ef7378bSmrg# The user is always right. 47839ef7378bSmrgif test "${PATH_SEPARATOR+set}" != set; then 47849ef7378bSmrg PATH_SEPARATOR=: 47859ef7378bSmrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 47869ef7378bSmrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 47879ef7378bSmrg PATH_SEPARATOR=';' 47889ef7378bSmrg } 4789c19de146Smrgfi 4790c19de146Smrg 4791c19de146Smrg 47929ef7378bSmrg# IFS 47939ef7378bSmrg# We need space, tab and new line, in precisely that order. Quoting is 47949ef7378bSmrg# there to prevent editors from complaining about space-tab. 47959ef7378bSmrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 47969ef7378bSmrg# splitting by setting IFS to empty value.) 47979ef7378bSmrgIFS=" "" $as_nl" 47989ef7378bSmrg 47999ef7378bSmrg# Find who we are. Look in the path if we contain no directory separator. 48009ef7378bSmrgcase $0 in #(( 48019ef7378bSmrg *[\\/]* ) as_myself=$0 ;; 48029ef7378bSmrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 48039ef7378bSmrgfor as_dir in $PATH 48049ef7378bSmrgdo 48059ef7378bSmrg IFS=$as_save_IFS 48069ef7378bSmrg test -z "$as_dir" && as_dir=. 48079ef7378bSmrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 48089ef7378bSmrg done 48099ef7378bSmrgIFS=$as_save_IFS 48109ef7378bSmrg 48119ef7378bSmrg ;; 48129ef7378bSmrgesac 48139ef7378bSmrg# We did not find ourselves, most probably we were run as `sh COMMAND' 48149ef7378bSmrg# in which case we are not to be found in the path. 48159ef7378bSmrgif test "x$as_myself" = x; then 48169ef7378bSmrg as_myself=$0 48179ef7378bSmrgfi 48189ef7378bSmrgif test ! -f "$as_myself"; then 48199ef7378bSmrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 48209ef7378bSmrg exit 1 48219ef7378bSmrgfi 48229ef7378bSmrg 48239ef7378bSmrg# Unset variables that we do not need and which cause bugs (e.g. in 48249ef7378bSmrg# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 48259ef7378bSmrg# suppresses any "Segmentation fault" message there. '((' could 48269ef7378bSmrg# trigger a bug in pdksh 5.2.14. 48279ef7378bSmrgfor as_var in BASH_ENV ENV MAIL MAILPATH 48289ef7378bSmrgdo eval test x\${$as_var+set} = xset \ 48299ef7378bSmrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 48309ef7378bSmrgdone 4831c19de146SmrgPS1='$ ' 4832c19de146SmrgPS2='> ' 4833c19de146SmrgPS4='+ ' 4834c19de146Smrg 4835c19de146Smrg# NLS nuisances. 48369ef7378bSmrgLC_ALL=C 48379ef7378bSmrgexport LC_ALL 48389ef7378bSmrgLANGUAGE=C 48399ef7378bSmrgexport LANGUAGE 48409ef7378bSmrg 48419ef7378bSmrg# CDPATH. 48429ef7378bSmrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 48439ef7378bSmrg 48449ef7378bSmrg 48459ef7378bSmrg# as_fn_error ERROR [LINENO LOG_FD] 48469ef7378bSmrg# --------------------------------- 48479ef7378bSmrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 48489ef7378bSmrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 48499ef7378bSmrg# script with status $?, using 1 if that was 0. 48509ef7378bSmrgas_fn_error () 48519ef7378bSmrg{ 48529ef7378bSmrg as_status=$?; test $as_status -eq 0 && as_status=1 48539ef7378bSmrg if test "$3"; then 48549ef7378bSmrg as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 48559ef7378bSmrg $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 4856c19de146Smrg fi 48579ef7378bSmrg $as_echo "$as_me: error: $1" >&2 48589ef7378bSmrg as_fn_exit $as_status 48599ef7378bSmrg} # as_fn_error 48609ef7378bSmrg 4861c19de146Smrg 48629ef7378bSmrg# as_fn_set_status STATUS 48639ef7378bSmrg# ----------------------- 48649ef7378bSmrg# Set $? to STATUS, without forking. 48659ef7378bSmrgas_fn_set_status () 48669ef7378bSmrg{ 48679ef7378bSmrg return $1 48689ef7378bSmrg} # as_fn_set_status 48699ef7378bSmrg 48709ef7378bSmrg# as_fn_exit STATUS 48719ef7378bSmrg# ----------------- 48729ef7378bSmrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 48739ef7378bSmrgas_fn_exit () 48749ef7378bSmrg{ 48759ef7378bSmrg set +e 48769ef7378bSmrg as_fn_set_status $1 48779ef7378bSmrg exit $1 48789ef7378bSmrg} # as_fn_exit 48799ef7378bSmrg 48809ef7378bSmrg# as_fn_unset VAR 48819ef7378bSmrg# --------------- 48829ef7378bSmrg# Portably unset VAR. 48839ef7378bSmrgas_fn_unset () 48849ef7378bSmrg{ 48859ef7378bSmrg { eval $1=; unset $1;} 48869ef7378bSmrg} 48879ef7378bSmrgas_unset=as_fn_unset 48889ef7378bSmrg# as_fn_append VAR VALUE 48899ef7378bSmrg# ---------------------- 48909ef7378bSmrg# Append the text in VALUE to the end of the definition contained in VAR. Take 48919ef7378bSmrg# advantage of any shell optimizations that allow amortized linear growth over 48929ef7378bSmrg# repeated appends, instead of the typical quadratic growth present in naive 48939ef7378bSmrg# implementations. 48949ef7378bSmrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 48959ef7378bSmrg eval 'as_fn_append () 48969ef7378bSmrg { 48979ef7378bSmrg eval $1+=\$2 48989ef7378bSmrg }' 48999ef7378bSmrgelse 49009ef7378bSmrg as_fn_append () 49019ef7378bSmrg { 49029ef7378bSmrg eval $1=\$$1\$2 49039ef7378bSmrg } 49049ef7378bSmrgfi # as_fn_append 49059ef7378bSmrg 49069ef7378bSmrg# as_fn_arith ARG... 49079ef7378bSmrg# ------------------ 49089ef7378bSmrg# Perform arithmetic evaluation on the ARGs, and store the result in the 49099ef7378bSmrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 49109ef7378bSmrg# must be portable across $(()) and expr. 49119ef7378bSmrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 49129ef7378bSmrg eval 'as_fn_arith () 49139ef7378bSmrg { 49149ef7378bSmrg as_val=$(( $* )) 49159ef7378bSmrg }' 49169ef7378bSmrgelse 49179ef7378bSmrg as_fn_arith () 49189ef7378bSmrg { 49199ef7378bSmrg as_val=`expr "$@" || test $? -eq 1` 49209ef7378bSmrg } 49219ef7378bSmrgfi # as_fn_arith 49229ef7378bSmrg 49239ef7378bSmrg 49249ef7378bSmrgif expr a : '\(a\)' >/dev/null 2>&1 && 49259ef7378bSmrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 4926c19de146Smrg as_expr=expr 4927c19de146Smrgelse 4928c19de146Smrg as_expr=false 4929c19de146Smrgfi 4930c19de146Smrg 49319ef7378bSmrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 4932c19de146Smrg as_basename=basename 4933c19de146Smrgelse 4934c19de146Smrg as_basename=false 4935c19de146Smrgfi 4936c19de146Smrg 49379ef7378bSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 49389ef7378bSmrg as_dirname=dirname 49399ef7378bSmrgelse 49409ef7378bSmrg as_dirname=false 49419ef7378bSmrgfi 4942c19de146Smrg 49439ef7378bSmrgas_me=`$as_basename -- "$0" || 4944c19de146Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 4945c19de146Smrg X"$0" : 'X\(//\)$' \| \ 49469ef7378bSmrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 49479ef7378bSmrg$as_echo X/"$0" | 49489ef7378bSmrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 49499ef7378bSmrg s//\1/ 49509ef7378bSmrg q 49519ef7378bSmrg } 49529ef7378bSmrg /^X\/\(\/\/\)$/{ 49539ef7378bSmrg s//\1/ 49549ef7378bSmrg q 49559ef7378bSmrg } 49569ef7378bSmrg /^X\/\(\/\).*/{ 49579ef7378bSmrg s//\1/ 49589ef7378bSmrg q 49599ef7378bSmrg } 49609ef7378bSmrg s/.*/./; q'` 4961c19de146Smrg 4962c19de146Smrg# Avoid depending upon Character Ranges. 4963c19de146Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 4964c19de146Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 4965c19de146Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 4966c19de146Smrgas_cr_digits='0123456789' 4967c19de146Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 4968c19de146Smrg 49699ef7378bSmrgECHO_C= ECHO_N= ECHO_T= 49709ef7378bSmrgcase `echo -n x` in #((((( 49719ef7378bSmrg-n*) 49729ef7378bSmrg case `echo 'xy\c'` in 49739ef7378bSmrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 49749ef7378bSmrg xy) ECHO_C='\c';; 49759ef7378bSmrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 49769ef7378bSmrg ECHO_T=' ';; 49779ef7378bSmrg esac;; 49789ef7378bSmrg*) 49799ef7378bSmrg ECHO_N='-n';; 4980c19de146Smrgesac 4981c19de146Smrg 49829ef7378bSmrgrm -f conf$$ conf$$.exe conf$$.file 49839ef7378bSmrgif test -d conf$$.dir; then 49849ef7378bSmrg rm -f conf$$.dir/conf$$.file 4985c19de146Smrgelse 49869ef7378bSmrg rm -f conf$$.dir 49879ef7378bSmrg mkdir conf$$.dir 2>/dev/null 4988c19de146Smrgfi 49899ef7378bSmrgif (echo >conf$$.file) 2>/dev/null; then 49909ef7378bSmrg if ln -s conf$$.file conf$$ 2>/dev/null; then 4991c19de146Smrg as_ln_s='ln -s' 49929ef7378bSmrg # ... but there are two gotchas: 49939ef7378bSmrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 49949ef7378bSmrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 49959ef7378bSmrg # In both cases, we have to default to `cp -p'. 49969ef7378bSmrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 49979ef7378bSmrg as_ln_s='cp -p' 49989ef7378bSmrg elif ln conf$$.file conf$$ 2>/dev/null; then 49999ef7378bSmrg as_ln_s=ln 50009ef7378bSmrg else 50019ef7378bSmrg as_ln_s='cp -p' 5002c19de146Smrg fi 5003c19de146Smrgelse 5004c19de146Smrg as_ln_s='cp -p' 5005c19de146Smrgfi 50069ef7378bSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 50079ef7378bSmrgrmdir conf$$.dir 2>/dev/null 50089ef7378bSmrg 50099ef7378bSmrg 50109ef7378bSmrg# as_fn_mkdir_p 50119ef7378bSmrg# ------------- 50129ef7378bSmrg# Create "$as_dir" as a directory, including parents if necessary. 50139ef7378bSmrgas_fn_mkdir_p () 50149ef7378bSmrg{ 50159ef7378bSmrg 50169ef7378bSmrg case $as_dir in #( 50179ef7378bSmrg -*) as_dir=./$as_dir;; 50189ef7378bSmrg esac 50199ef7378bSmrg test -d "$as_dir" || eval $as_mkdir_p || { 50209ef7378bSmrg as_dirs= 50219ef7378bSmrg while :; do 50229ef7378bSmrg case $as_dir in #( 50239ef7378bSmrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 50249ef7378bSmrg *) as_qdir=$as_dir;; 50259ef7378bSmrg esac 50269ef7378bSmrg as_dirs="'$as_qdir' $as_dirs" 50279ef7378bSmrg as_dir=`$as_dirname -- "$as_dir" || 50289ef7378bSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 50299ef7378bSmrg X"$as_dir" : 'X\(//\)[^/]' \| \ 50309ef7378bSmrg X"$as_dir" : 'X\(//\)$' \| \ 50319ef7378bSmrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 50329ef7378bSmrg$as_echo X"$as_dir" | 50339ef7378bSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 50349ef7378bSmrg s//\1/ 50359ef7378bSmrg q 50369ef7378bSmrg } 50379ef7378bSmrg /^X\(\/\/\)[^/].*/{ 50389ef7378bSmrg s//\1/ 50399ef7378bSmrg q 50409ef7378bSmrg } 50419ef7378bSmrg /^X\(\/\/\)$/{ 50429ef7378bSmrg s//\1/ 50439ef7378bSmrg q 50449ef7378bSmrg } 50459ef7378bSmrg /^X\(\/\).*/{ 50469ef7378bSmrg s//\1/ 50479ef7378bSmrg q 50489ef7378bSmrg } 50499ef7378bSmrg s/.*/./; q'` 50509ef7378bSmrg test -d "$as_dir" && break 50519ef7378bSmrg done 50529ef7378bSmrg test -z "$as_dirs" || eval "mkdir $as_dirs" 50539ef7378bSmrg } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 5054c19de146Smrg 50559ef7378bSmrg 50569ef7378bSmrg} # as_fn_mkdir_p 5057c19de146Smrgif mkdir -p . 2>/dev/null; then 50589ef7378bSmrg as_mkdir_p='mkdir -p "$as_dir"' 5059c19de146Smrgelse 5060c19de146Smrg test -d ./-p && rmdir ./-p 5061c19de146Smrg as_mkdir_p=false 5062c19de146Smrgfi 50639ef7378bSmrg 50649ef7378bSmrgif test -x / >/dev/null 2>&1; then 50659ef7378bSmrg as_test_x='test -x' 50669ef7378bSmrgelse 50679ef7378bSmrg if ls -dL / >/dev/null 2>&1; then 50689ef7378bSmrg as_ls_L_option=L 50699ef7378bSmrg else 50709ef7378bSmrg as_ls_L_option= 50719ef7378bSmrg fi 50729ef7378bSmrg as_test_x=' 50739ef7378bSmrg eval sh -c '\'' 50749ef7378bSmrg if test -d "$1"; then 50759ef7378bSmrg test -d "$1/."; 50769ef7378bSmrg else 50779ef7378bSmrg case $1 in #( 50789ef7378bSmrg -*)set "./$1";; 50799ef7378bSmrg esac; 50809ef7378bSmrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 50819ef7378bSmrg ???[sx]*):;;*)false;;esac;fi 50829ef7378bSmrg '\'' sh 50839ef7378bSmrg ' 50849ef7378bSmrgfi 50859ef7378bSmrgas_executable_p=$as_test_x 5086c19de146Smrg 5087c19de146Smrg# Sed expression to map a string onto a valid CPP name. 5088c19de146Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5089c19de146Smrg 5090c19de146Smrg# Sed expression to map a string onto a valid variable name. 5091c19de146Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5092c19de146Smrg 5093c19de146Smrg 5094c19de146Smrgexec 6>&1 50959ef7378bSmrg## ----------------------------------- ## 50969ef7378bSmrg## Main body of $CONFIG_STATUS script. ## 50979ef7378bSmrg## ----------------------------------- ## 50989ef7378bSmrg_ASEOF 50999ef7378bSmrgtest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 51009ef7378bSmrg 51019ef7378bSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 51029ef7378bSmrg# Save the log message, to keep $0 and so on meaningful, and to 5103c19de146Smrg# report actual input values of CONFIG_FILES etc. instead of their 51049ef7378bSmrg# values after options handling. 51059ef7378bSmrgac_log=" 51069ef7378bSmrgThis file was extended by xbiff $as_me 1.0.2, which was 51079ef7378bSmrggenerated by GNU Autoconf 2.65. Invocation command line was 5108c19de146Smrg 5109c19de146Smrg CONFIG_FILES = $CONFIG_FILES 5110c19de146Smrg CONFIG_HEADERS = $CONFIG_HEADERS 5111c19de146Smrg CONFIG_LINKS = $CONFIG_LINKS 5112c19de146Smrg CONFIG_COMMANDS = $CONFIG_COMMANDS 5113c19de146Smrg $ $0 $@ 5114c19de146Smrg 51159ef7378bSmrgon `(hostname || uname -n) 2>/dev/null | sed 1q` 51169ef7378bSmrg" 51179ef7378bSmrg 5118c19de146Smrg_ACEOF 5119c19de146Smrg 51209ef7378bSmrgcase $ac_config_files in *" 51219ef7378bSmrg"*) set x $ac_config_files; shift; ac_config_files=$*;; 51229ef7378bSmrgesac 5123c19de146Smrg 51249ef7378bSmrgcase $ac_config_headers in *" 51259ef7378bSmrg"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 51269ef7378bSmrgesac 5127c19de146Smrg 5128c19de146Smrg 51299ef7378bSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 51309ef7378bSmrg# Files that config.status was made for. 51319ef7378bSmrgconfig_files="$ac_config_files" 51329ef7378bSmrgconfig_headers="$ac_config_headers" 51339ef7378bSmrgconfig_commands="$ac_config_commands" 5134c19de146Smrg 51359ef7378bSmrg_ACEOF 5136c19de146Smrg 51379ef7378bSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5138c19de146Smrgac_cs_usage="\ 51399ef7378bSmrg\`$as_me' instantiates files and other configuration actions 51409ef7378bSmrgfrom templates according to the current configuration. Unless the files 51419ef7378bSmrgand actions are specified as TAGs, all are instantiated by default. 5142c19de146Smrg 51439ef7378bSmrgUsage: $0 [OPTION]... [TAG]... 5144c19de146Smrg 5145c19de146Smrg -h, --help print this help, then exit 51469ef7378bSmrg -V, --version print version number and configuration settings, then exit 51479ef7378bSmrg --config print configuration, then exit 51489ef7378bSmrg -q, --quiet, --silent 51499ef7378bSmrg do not print progress messages 5150c19de146Smrg -d, --debug don't remove temporary files 5151c19de146Smrg --recheck update $as_me by reconfiguring in the same conditions 51529ef7378bSmrg --file=FILE[:TEMPLATE] 51539ef7378bSmrg instantiate the configuration file FILE 51549ef7378bSmrg --header=FILE[:TEMPLATE] 51559ef7378bSmrg instantiate the configuration header FILE 5156c19de146Smrg 5157c19de146SmrgConfiguration files: 5158c19de146Smrg$config_files 5159c19de146Smrg 5160c19de146SmrgConfiguration headers: 5161c19de146Smrg$config_headers 5162c19de146Smrg 5163c19de146SmrgConfiguration commands: 5164c19de146Smrg$config_commands 5165c19de146Smrg 51669ef7378bSmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>." 5167c19de146Smrg 51689ef7378bSmrg_ACEOF 51699ef7378bSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 51709ef7378bSmrgac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 5171c19de146Smrgac_cs_version="\\ 51729ef7378bSmrgxbiff config.status 1.0.2 51739ef7378bSmrgconfigured by $0, generated by GNU Autoconf 2.65, 51749ef7378bSmrg with options \\"\$ac_cs_config\\" 5175c19de146Smrg 51769ef7378bSmrgCopyright (C) 2009 Free Software Foundation, Inc. 5177c19de146SmrgThis config.status script is free software; the Free Software Foundation 5178c19de146Smrggives unlimited permission to copy, distribute and modify it." 51799ef7378bSmrg 51809ef7378bSmrgac_pwd='$ac_pwd' 51819ef7378bSmrgsrcdir='$srcdir' 51829ef7378bSmrgINSTALL='$INSTALL' 51839ef7378bSmrgMKDIR_P='$MKDIR_P' 51849ef7378bSmrgAWK='$AWK' 51859ef7378bSmrgtest -n "\$AWK" || AWK=awk 5186c19de146Smrg_ACEOF 5187c19de146Smrg 51889ef7378bSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 51899ef7378bSmrg# The default lists apply if the user does not specify any file. 5190c19de146Smrgac_need_defaults=: 5191c19de146Smrgwhile test $# != 0 5192c19de146Smrgdo 5193c19de146Smrg case $1 in 5194c19de146Smrg --*=*) 51959ef7378bSmrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 51969ef7378bSmrg ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 5197c19de146Smrg ac_shift=: 5198c19de146Smrg ;; 51999ef7378bSmrg *) 5200c19de146Smrg ac_option=$1 5201c19de146Smrg ac_optarg=$2 5202c19de146Smrg ac_shift=shift 5203c19de146Smrg ;; 5204c19de146Smrg esac 5205c19de146Smrg 5206c19de146Smrg case $ac_option in 5207c19de146Smrg # Handling of the options. 5208c19de146Smrg -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 5209c19de146Smrg ac_cs_recheck=: ;; 52109ef7378bSmrg --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 52119ef7378bSmrg $as_echo "$ac_cs_version"; exit ;; 52129ef7378bSmrg --config | --confi | --conf | --con | --co | --c ) 52139ef7378bSmrg $as_echo "$ac_cs_config"; exit ;; 52149ef7378bSmrg --debug | --debu | --deb | --de | --d | -d ) 5215c19de146Smrg debug=: ;; 5216c19de146Smrg --file | --fil | --fi | --f ) 5217c19de146Smrg $ac_shift 52189ef7378bSmrg case $ac_optarg in 52199ef7378bSmrg *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 52209ef7378bSmrg esac 52219ef7378bSmrg as_fn_append CONFIG_FILES " '$ac_optarg'" 5222c19de146Smrg ac_need_defaults=false;; 5223c19de146Smrg --header | --heade | --head | --hea ) 5224c19de146Smrg $ac_shift 52259ef7378bSmrg case $ac_optarg in 52269ef7378bSmrg *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 52279ef7378bSmrg esac 52289ef7378bSmrg as_fn_append CONFIG_HEADERS " '$ac_optarg'" 5229c19de146Smrg ac_need_defaults=false;; 52309ef7378bSmrg --he | --h) 52319ef7378bSmrg # Conflict between --help and --header 52329ef7378bSmrg as_fn_error "ambiguous option: \`$1' 52339ef7378bSmrgTry \`$0 --help' for more information.";; 52349ef7378bSmrg --help | --hel | -h ) 52359ef7378bSmrg $as_echo "$ac_cs_usage"; exit ;; 5236c19de146Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 5237c19de146Smrg | -silent | --silent | --silen | --sile | --sil | --si | --s) 5238c19de146Smrg ac_cs_silent=: ;; 5239c19de146Smrg 5240c19de146Smrg # This is an error. 52419ef7378bSmrg -*) as_fn_error "unrecognized option: \`$1' 52429ef7378bSmrgTry \`$0 --help' for more information." ;; 5243c19de146Smrg 52449ef7378bSmrg *) as_fn_append ac_config_targets " $1" 52459ef7378bSmrg ac_need_defaults=false ;; 5246c19de146Smrg 5247c19de146Smrg esac 5248c19de146Smrg shift 5249c19de146Smrgdone 5250c19de146Smrg 5251c19de146Smrgac_configure_extra_args= 5252c19de146Smrg 5253c19de146Smrgif $ac_cs_silent; then 5254c19de146Smrg exec 6>/dev/null 5255c19de146Smrg ac_configure_extra_args="$ac_configure_extra_args --silent" 5256c19de146Smrgfi 5257c19de146Smrg 5258c19de146Smrg_ACEOF 52599ef7378bSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5260c19de146Smrgif \$ac_cs_recheck; then 52619ef7378bSmrg set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 52629ef7378bSmrg shift 52639ef7378bSmrg \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 52649ef7378bSmrg CONFIG_SHELL='$SHELL' 52659ef7378bSmrg export CONFIG_SHELL 52669ef7378bSmrg exec "\$@" 5267c19de146Smrgfi 5268c19de146Smrg 5269c19de146Smrg_ACEOF 52709ef7378bSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 52719ef7378bSmrgexec 5>>config.log 52729ef7378bSmrg{ 52739ef7378bSmrg echo 52749ef7378bSmrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 52759ef7378bSmrg## Running $as_me. ## 52769ef7378bSmrg_ASBOX 52779ef7378bSmrg $as_echo "$ac_log" 52789ef7378bSmrg} >&5 5279c19de146Smrg 52809ef7378bSmrg_ACEOF 52819ef7378bSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5282c19de146Smrg# 52839ef7378bSmrg# INIT-COMMANDS 5284c19de146Smrg# 5285c19de146SmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 5286c19de146Smrg 5287c19de146Smrg_ACEOF 5288c19de146Smrg 52899ef7378bSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5290c19de146Smrg 52919ef7378bSmrg# Handling of arguments. 5292c19de146Smrgfor ac_config_target in $ac_config_targets 5293c19de146Smrgdo 52949ef7378bSmrg case $ac_config_target in 52959ef7378bSmrg "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 52969ef7378bSmrg "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 52979ef7378bSmrg "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 52989ef7378bSmrg 52999ef7378bSmrg *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 5300c19de146Smrg esac 5301c19de146Smrgdone 5302c19de146Smrg 53039ef7378bSmrg 5304c19de146Smrg# If the user did not use the arguments to specify the items to instantiate, 5305c19de146Smrg# then the envvar interface is used. Set only those that are not. 5306c19de146Smrg# We use the long form for the default assignment because of an extremely 5307c19de146Smrg# bizarre bug on SunOS 4.1.3. 5308c19de146Smrgif $ac_need_defaults; then 5309c19de146Smrg test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 5310c19de146Smrg test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 5311c19de146Smrg test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 5312c19de146Smrgfi 5313c19de146Smrg 5314c19de146Smrg# Have a temporary directory for convenience. Make it in the build tree 53159ef7378bSmrg# simply because there is no reason against having it here, and in addition, 5316c19de146Smrg# creating and moving files from /tmp can sometimes cause problems. 53179ef7378bSmrg# Hook for its removal unless debugging. 53189ef7378bSmrg# Note that there is a small window in which the directory will not be cleaned: 53199ef7378bSmrg# after its creation but before its name has been assigned to `$tmp'. 5320c19de146Smrg$debug || 5321c19de146Smrg{ 53229ef7378bSmrg tmp= 53239ef7378bSmrg trap 'exit_status=$? 53249ef7378bSmrg { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 53259ef7378bSmrg' 0 53269ef7378bSmrg trap 'as_fn_exit 1' 1 2 13 15 5327c19de146Smrg} 5328c19de146Smrg# Create a (secure) tmp directory for tmp files. 5329c19de146Smrg 5330c19de146Smrg{ 53319ef7378bSmrg tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 5332c19de146Smrg test -n "$tmp" && test -d "$tmp" 5333c19de146Smrg} || 5334c19de146Smrg{ 53359ef7378bSmrg tmp=./conf$$-$RANDOM 53369ef7378bSmrg (umask 077 && mkdir "$tmp") 53379ef7378bSmrg} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 53389ef7378bSmrg 53399ef7378bSmrg# Set up the scripts for CONFIG_FILES section. 53409ef7378bSmrg# No need to generate them if there are no CONFIG_FILES. 53419ef7378bSmrg# This happens for instance with `./config.status config.h'. 53429ef7378bSmrgif test -n "$CONFIG_FILES"; then 53439ef7378bSmrg 53449ef7378bSmrg 53459ef7378bSmrgac_cr=`echo X | tr X '\015'` 53469ef7378bSmrg# On cygwin, bash can eat \r inside `` if the user requested igncr. 53479ef7378bSmrg# But we know of no other shell where ac_cr would be empty at this 53489ef7378bSmrg# point, so we can use a bashism as a fallback. 53499ef7378bSmrgif test "x$ac_cr" = x; then 53509ef7378bSmrg eval ac_cr=\$\'\\r\' 53519ef7378bSmrgfi 53529ef7378bSmrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 53539ef7378bSmrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 53549ef7378bSmrg ac_cs_awk_cr='\r' 53559ef7378bSmrgelse 53569ef7378bSmrg ac_cs_awk_cr=$ac_cr 53579ef7378bSmrgfi 53589ef7378bSmrg 53599ef7378bSmrgecho 'BEGIN {' >"$tmp/subs1.awk" && 53609ef7378bSmrg_ACEOF 53619ef7378bSmrg 53629ef7378bSmrg 5363c19de146Smrg{ 53649ef7378bSmrg echo "cat >conf$$subs.awk <<_ACEOF" && 53659ef7378bSmrg echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 53669ef7378bSmrg echo "_ACEOF" 53679ef7378bSmrg} >conf$$subs.sh || 53689ef7378bSmrg as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 53699ef7378bSmrgac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 53709ef7378bSmrgac_delim='%!_!# ' 53719ef7378bSmrgfor ac_last_try in false false false false false :; do 53729ef7378bSmrg . ./conf$$subs.sh || 53739ef7378bSmrg as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 53749ef7378bSmrg 53759ef7378bSmrg ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 53769ef7378bSmrg if test $ac_delim_n = $ac_delim_num; then 53779ef7378bSmrg break 53789ef7378bSmrg elif $ac_last_try; then 53799ef7378bSmrg as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 53809ef7378bSmrg else 53819ef7378bSmrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 53829ef7378bSmrg fi 53839ef7378bSmrgdone 53849ef7378bSmrgrm -f conf$$subs.sh 5385c19de146Smrg 53869ef7378bSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 53879ef7378bSmrgcat >>"\$tmp/subs1.awk" <<\\_ACAWK && 5388c19de146Smrg_ACEOF 53899ef7378bSmrgsed -n ' 53909ef7378bSmrgh 53919ef7378bSmrgs/^/S["/; s/!.*/"]=/ 53929ef7378bSmrgp 53939ef7378bSmrgg 53949ef7378bSmrgs/^[^!]*!// 53959ef7378bSmrg:repl 53969ef7378bSmrgt repl 53979ef7378bSmrgs/'"$ac_delim"'$// 53989ef7378bSmrgt delim 53999ef7378bSmrg:nl 54009ef7378bSmrgh 54019ef7378bSmrgs/\(.\{148\}\)..*/\1/ 54029ef7378bSmrgt more1 54039ef7378bSmrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 54049ef7378bSmrgp 54059ef7378bSmrgn 54069ef7378bSmrgb repl 54079ef7378bSmrg:more1 54089ef7378bSmrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 54099ef7378bSmrgp 54109ef7378bSmrgg 54119ef7378bSmrgs/.\{148\}// 54129ef7378bSmrgt nl 54139ef7378bSmrg:delim 54149ef7378bSmrgh 54159ef7378bSmrgs/\(.\{148\}\)..*/\1/ 54169ef7378bSmrgt more2 54179ef7378bSmrgs/["\\]/\\&/g; s/^/"/; s/$/"/ 54189ef7378bSmrgp 54199ef7378bSmrgb 54209ef7378bSmrg:more2 54219ef7378bSmrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 54229ef7378bSmrgp 54239ef7378bSmrgg 54249ef7378bSmrgs/.\{148\}// 54259ef7378bSmrgt delim 54269ef7378bSmrg' <conf$$subs.awk | sed ' 54279ef7378bSmrg/^[^""]/{ 54289ef7378bSmrg N 54299ef7378bSmrg s/\n// 54309ef7378bSmrg} 54319ef7378bSmrg' >>$CONFIG_STATUS || ac_write_fail=1 54329ef7378bSmrgrm -f conf$$subs.awk 54339ef7378bSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 54349ef7378bSmrg_ACAWK 54359ef7378bSmrgcat >>"\$tmp/subs1.awk" <<_ACAWK && 54369ef7378bSmrg for (key in S) S_is_set[key] = 1 54379ef7378bSmrg FS = "" 5438c19de146Smrg 54399ef7378bSmrg} 54409ef7378bSmrg{ 54419ef7378bSmrg line = $ 0 54429ef7378bSmrg nfields = split(line, field, "@") 54439ef7378bSmrg substed = 0 54449ef7378bSmrg len = length(field[1]) 54459ef7378bSmrg for (i = 2; i < nfields; i++) { 54469ef7378bSmrg key = field[i] 54479ef7378bSmrg keylen = length(key) 54489ef7378bSmrg if (S_is_set[key]) { 54499ef7378bSmrg value = S[key] 54509ef7378bSmrg line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 54519ef7378bSmrg len += length(value) + length(field[++i]) 54529ef7378bSmrg substed = 1 54539ef7378bSmrg } else 54549ef7378bSmrg len += 1 + keylen 54559ef7378bSmrg } 54569ef7378bSmrg 54579ef7378bSmrg print line 54589ef7378bSmrg} 5459c19de146Smrg 54609ef7378bSmrg_ACAWK 54619ef7378bSmrg_ACEOF 54629ef7378bSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 54639ef7378bSmrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 54649ef7378bSmrg sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 54659ef7378bSmrgelse 54669ef7378bSmrg cat 54679ef7378bSmrgfi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 54689ef7378bSmrg || as_fn_error "could not setup config files machinery" "$LINENO" 5 54699ef7378bSmrg_ACEOF 54709ef7378bSmrg 54719ef7378bSmrg# VPATH may cause trouble with some makes, so we remove $(srcdir), 54729ef7378bSmrg# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 54739ef7378bSmrg# trailing colons and then remove the whole line if VPATH becomes empty 54749ef7378bSmrg# (actually we leave an empty line to preserve line numbers). 54759ef7378bSmrgif test "x$srcdir" = x.; then 54769ef7378bSmrg ac_vpsub='/^[ ]*VPATH[ ]*=/{ 54779ef7378bSmrgs/:*\$(srcdir):*/:/ 54789ef7378bSmrgs/:*\${srcdir}:*/:/ 54799ef7378bSmrgs/:*@srcdir@:*/:/ 54809ef7378bSmrgs/^\([^=]*=[ ]*\):*/\1/ 54819ef7378bSmrgs/:*$// 54829ef7378bSmrgs/^[^=]*=[ ]*$// 54839ef7378bSmrg}' 54849ef7378bSmrgfi 5485c19de146Smrg 54869ef7378bSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 54879ef7378bSmrgfi # test -n "$CONFIG_FILES" 5488c19de146Smrg 54899ef7378bSmrg# Set up the scripts for CONFIG_HEADERS section. 54909ef7378bSmrg# No need to generate them if there are no CONFIG_HEADERS. 54919ef7378bSmrg# This happens for instance with `./config.status Makefile'. 54929ef7378bSmrgif test -n "$CONFIG_HEADERS"; then 54939ef7378bSmrgcat >"$tmp/defines.awk" <<\_ACAWK || 54949ef7378bSmrgBEGIN { 5495c19de146Smrg_ACEOF 5496c19de146Smrg 54979ef7378bSmrg# Transform confdefs.h into an awk script `defines.awk', embedded as 54989ef7378bSmrg# here-document in config.status, that substitutes the proper values into 54999ef7378bSmrg# config.h.in to produce config.h. 55009ef7378bSmrg 55019ef7378bSmrg# Create a delimiter string that does not exist in confdefs.h, to ease 55029ef7378bSmrg# handling of long lines. 55039ef7378bSmrgac_delim='%!_!# ' 55049ef7378bSmrgfor ac_last_try in false false :; do 55059ef7378bSmrg ac_t=`sed -n "/$ac_delim/p" confdefs.h` 55069ef7378bSmrg if test -z "$ac_t"; then 55079ef7378bSmrg break 55089ef7378bSmrg elif $ac_last_try; then 55099ef7378bSmrg as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 55109ef7378bSmrg else 55119ef7378bSmrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 5512c19de146Smrg fi 55139ef7378bSmrgdone 5514c19de146Smrg 55159ef7378bSmrg# For the awk script, D is an array of macro values keyed by name, 55169ef7378bSmrg# likewise P contains macro parameters if any. Preserve backslash 55179ef7378bSmrg# newline sequences. 55189ef7378bSmrg 55199ef7378bSmrgac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 55209ef7378bSmrgsed -n ' 55219ef7378bSmrgs/.\{148\}/&'"$ac_delim"'/g 55229ef7378bSmrgt rset 55239ef7378bSmrg:rset 55249ef7378bSmrgs/^[ ]*#[ ]*define[ ][ ]*/ / 55259ef7378bSmrgt def 55269ef7378bSmrgd 55279ef7378bSmrg:def 55289ef7378bSmrgs/\\$// 55299ef7378bSmrgt bsnl 55309ef7378bSmrgs/["\\]/\\&/g 55319ef7378bSmrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 55329ef7378bSmrgD["\1"]=" \3"/p 55339ef7378bSmrgs/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 55349ef7378bSmrgd 55359ef7378bSmrg:bsnl 55369ef7378bSmrgs/["\\]/\\&/g 55379ef7378bSmrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 55389ef7378bSmrgD["\1"]=" \3\\\\\\n"\\/p 55399ef7378bSmrgt cont 55409ef7378bSmrgs/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 55419ef7378bSmrgt cont 55429ef7378bSmrgd 55439ef7378bSmrg:cont 55449ef7378bSmrgn 55459ef7378bSmrgs/.\{148\}/&'"$ac_delim"'/g 55469ef7378bSmrgt clear 55479ef7378bSmrg:clear 55489ef7378bSmrgs/\\$// 55499ef7378bSmrgt bsnlc 55509ef7378bSmrgs/["\\]/\\&/g; s/^/"/; s/$/"/p 55519ef7378bSmrgd 55529ef7378bSmrg:bsnlc 55539ef7378bSmrgs/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 55549ef7378bSmrgb cont 55559ef7378bSmrg' <confdefs.h | sed ' 55569ef7378bSmrgs/'"$ac_delim"'/"\\\ 55579ef7378bSmrg"/g' >>$CONFIG_STATUS || ac_write_fail=1 55589ef7378bSmrg 55599ef7378bSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 55609ef7378bSmrg for (key in D) D_is_set[key] = 1 55619ef7378bSmrg FS = "" 55629ef7378bSmrg} 55639ef7378bSmrg/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 55649ef7378bSmrg line = \$ 0 55659ef7378bSmrg split(line, arg, " ") 55669ef7378bSmrg if (arg[1] == "#") { 55679ef7378bSmrg defundef = arg[2] 55689ef7378bSmrg mac1 = arg[3] 55699ef7378bSmrg } else { 55709ef7378bSmrg defundef = substr(arg[1], 2) 55719ef7378bSmrg mac1 = arg[2] 55729ef7378bSmrg } 55739ef7378bSmrg split(mac1, mac2, "(") #) 55749ef7378bSmrg macro = mac2[1] 55759ef7378bSmrg prefix = substr(line, 1, index(line, defundef) - 1) 55769ef7378bSmrg if (D_is_set[macro]) { 55779ef7378bSmrg # Preserve the white space surrounding the "#". 55789ef7378bSmrg print prefix "define", macro P[macro] D[macro] 55799ef7378bSmrg next 55809ef7378bSmrg } else { 55819ef7378bSmrg # Replace #undef with comments. This is necessary, for example, 55829ef7378bSmrg # in the case of _POSIX_SOURCE, which is predefined and required 55839ef7378bSmrg # on some systems where configure will not decide to define it. 55849ef7378bSmrg if (defundef == "undef") { 55859ef7378bSmrg print "/*", prefix defundef, macro, "*/" 55869ef7378bSmrg next 55879ef7378bSmrg } 55889ef7378bSmrg } 55899ef7378bSmrg} 55909ef7378bSmrg{ print } 55919ef7378bSmrg_ACAWK 5592c19de146Smrg_ACEOF 55939ef7378bSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 55949ef7378bSmrg as_fn_error "could not setup config headers machinery" "$LINENO" 5 55959ef7378bSmrgfi # test -n "$CONFIG_HEADERS" 55969ef7378bSmrg 55979ef7378bSmrg 55989ef7378bSmrgeval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 55999ef7378bSmrgshift 56009ef7378bSmrgfor ac_tag 56019ef7378bSmrgdo 56029ef7378bSmrg case $ac_tag in 56039ef7378bSmrg :[FHLC]) ac_mode=$ac_tag; continue;; 56049ef7378bSmrg esac 56059ef7378bSmrg case $ac_mode$ac_tag in 56069ef7378bSmrg :[FHL]*:*);; 56079ef7378bSmrg :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 56089ef7378bSmrg :[FH]-) ac_tag=-:-;; 56099ef7378bSmrg :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 56109ef7378bSmrg esac 56119ef7378bSmrg ac_save_IFS=$IFS 56129ef7378bSmrg IFS=: 56139ef7378bSmrg set x $ac_tag 56149ef7378bSmrg IFS=$ac_save_IFS 56159ef7378bSmrg shift 56169ef7378bSmrg ac_file=$1 56179ef7378bSmrg shift 56189ef7378bSmrg 56199ef7378bSmrg case $ac_mode in 56209ef7378bSmrg :L) ac_source=$1;; 56219ef7378bSmrg :[FH]) 56229ef7378bSmrg ac_file_inputs= 56239ef7378bSmrg for ac_f 56249ef7378bSmrg do 56259ef7378bSmrg case $ac_f in 56269ef7378bSmrg -) ac_f="$tmp/stdin";; 56279ef7378bSmrg *) # Look for the file first in the build tree, then in the source tree 56289ef7378bSmrg # (if the path is not absolute). The absolute path cannot be DOS-style, 56299ef7378bSmrg # because $ac_f cannot contain `:'. 56309ef7378bSmrg test -f "$ac_f" || 56319ef7378bSmrg case $ac_f in 56329ef7378bSmrg [\\/$]*) false;; 56339ef7378bSmrg *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 56349ef7378bSmrg esac || 56359ef7378bSmrg as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 56369ef7378bSmrg esac 56379ef7378bSmrg case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 56389ef7378bSmrg as_fn_append ac_file_inputs " '$ac_f'" 56399ef7378bSmrg done 56409ef7378bSmrg 56419ef7378bSmrg # Let's still pretend it is `configure' which instantiates (i.e., don't 56429ef7378bSmrg # use $as_me), people would be surprised to read: 56439ef7378bSmrg # /* config.h. Generated by config.status. */ 56449ef7378bSmrg configure_input='Generated from '` 56459ef7378bSmrg $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 56469ef7378bSmrg `' by configure.' 56479ef7378bSmrg if test x"$ac_file" != x-; then 56489ef7378bSmrg configure_input="$ac_file. $configure_input" 56499ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 56509ef7378bSmrg$as_echo "$as_me: creating $ac_file" >&6;} 56519ef7378bSmrg fi 56529ef7378bSmrg # Neutralize special characters interpreted by sed in replacement strings. 56539ef7378bSmrg case $configure_input in #( 56549ef7378bSmrg *\&* | *\|* | *\\* ) 56559ef7378bSmrg ac_sed_conf_input=`$as_echo "$configure_input" | 56569ef7378bSmrg sed 's/[\\\\&|]/\\\\&/g'`;; #( 56579ef7378bSmrg *) ac_sed_conf_input=$configure_input;; 56589ef7378bSmrg esac 56599ef7378bSmrg 56609ef7378bSmrg case $ac_tag in 56619ef7378bSmrg *:-:* | *:-) cat >"$tmp/stdin" \ 56629ef7378bSmrg || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 56639ef7378bSmrg esac 56649ef7378bSmrg ;; 5665c19de146Smrg esac 5666c19de146Smrg 56679ef7378bSmrg ac_dir=`$as_dirname -- "$ac_file" || 5668c19de146Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5669c19de146Smrg X"$ac_file" : 'X\(//\)[^/]' \| \ 5670c19de146Smrg X"$ac_file" : 'X\(//\)$' \| \ 56719ef7378bSmrg X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 56729ef7378bSmrg$as_echo X"$ac_file" | 56739ef7378bSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 56749ef7378bSmrg s//\1/ 56759ef7378bSmrg q 56769ef7378bSmrg } 56779ef7378bSmrg /^X\(\/\/\)[^/].*/{ 56789ef7378bSmrg s//\1/ 56799ef7378bSmrg q 56809ef7378bSmrg } 56819ef7378bSmrg /^X\(\/\/\)$/{ 56829ef7378bSmrg s//\1/ 56839ef7378bSmrg q 56849ef7378bSmrg } 56859ef7378bSmrg /^X\(\/\).*/{ 56869ef7378bSmrg s//\1/ 56879ef7378bSmrg q 56889ef7378bSmrg } 56899ef7378bSmrg s/.*/./; q'` 56909ef7378bSmrg as_dir="$ac_dir"; as_fn_mkdir_p 5691c19de146Smrg ac_builddir=. 5692c19de146Smrg 56939ef7378bSmrgcase "$ac_dir" in 56949ef7378bSmrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 56959ef7378bSmrg*) 56969ef7378bSmrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 56979ef7378bSmrg # A ".." for each directory in $ac_dir_suffix. 56989ef7378bSmrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 56999ef7378bSmrg case $ac_top_builddir_sub in 57009ef7378bSmrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 57019ef7378bSmrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 57029ef7378bSmrg esac ;; 57039ef7378bSmrgesac 57049ef7378bSmrgac_abs_top_builddir=$ac_pwd 57059ef7378bSmrgac_abs_builddir=$ac_pwd$ac_dir_suffix 57069ef7378bSmrg# for backward compatibility: 57079ef7378bSmrgac_top_builddir=$ac_top_build_prefix 5708c19de146Smrg 5709c19de146Smrgcase $srcdir in 57109ef7378bSmrg .) # We are building in place. 5711c19de146Smrg ac_srcdir=. 57129ef7378bSmrg ac_top_srcdir=$ac_top_builddir_sub 57139ef7378bSmrg ac_abs_top_srcdir=$ac_pwd ;; 57149ef7378bSmrg [\\/]* | ?:[\\/]* ) # Absolute name. 5715c19de146Smrg ac_srcdir=$srcdir$ac_dir_suffix; 57169ef7378bSmrg ac_top_srcdir=$srcdir 57179ef7378bSmrg ac_abs_top_srcdir=$srcdir ;; 57189ef7378bSmrg *) # Relative name. 57199ef7378bSmrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 57209ef7378bSmrg ac_top_srcdir=$ac_top_build_prefix$srcdir 57219ef7378bSmrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 5722c19de146Smrgesac 57239ef7378bSmrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 5724c19de146Smrg 5725c19de146Smrg 57269ef7378bSmrg case $ac_mode in 57279ef7378bSmrg :F) 57289ef7378bSmrg # 57299ef7378bSmrg # CONFIG_FILE 57309ef7378bSmrg # 5731c19de146Smrg 5732c19de146Smrg case $INSTALL in 5733c19de146Smrg [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 57349ef7378bSmrg *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 57359ef7378bSmrg esac 57369ef7378bSmrg ac_MKDIR_P=$MKDIR_P 57379ef7378bSmrg case $MKDIR_P in 57389ef7378bSmrg [\\/$]* | ?:[\\/]* ) ;; 57399ef7378bSmrg */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 5740c19de146Smrg esac 57419ef7378bSmrg_ACEOF 5742c19de146Smrg 57439ef7378bSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 57449ef7378bSmrg# If the template does not know about datarootdir, expand it. 57459ef7378bSmrg# FIXME: This hack should be removed a few years after 2.60. 57469ef7378bSmrgac_datarootdir_hack=; ac_datarootdir_seen= 57479ef7378bSmrgac_sed_dataroot=' 57489ef7378bSmrg/datarootdir/ { 57499ef7378bSmrg p 57509ef7378bSmrg q 57519ef7378bSmrg} 57529ef7378bSmrg/@datadir@/p 57539ef7378bSmrg/@docdir@/p 57549ef7378bSmrg/@infodir@/p 57559ef7378bSmrg/@localedir@/p 57569ef7378bSmrg/@mandir@/p' 57579ef7378bSmrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 57589ef7378bSmrg*datarootdir*) ac_datarootdir_seen=yes;; 57599ef7378bSmrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 57609ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 57619ef7378bSmrg$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 57629ef7378bSmrg_ACEOF 57639ef7378bSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 57649ef7378bSmrg ac_datarootdir_hack=' 57659ef7378bSmrg s&@datadir@&$datadir&g 57669ef7378bSmrg s&@docdir@&$docdir&g 57679ef7378bSmrg s&@infodir@&$infodir&g 57689ef7378bSmrg s&@localedir@&$localedir&g 57699ef7378bSmrg s&@mandir@&$mandir&g 57709ef7378bSmrg s&\\\${datarootdir}&$datarootdir&g' ;; 57719ef7378bSmrgesac 5772c19de146Smrg_ACEOF 57739ef7378bSmrg 57749ef7378bSmrg# Neutralize VPATH when `$srcdir' = `.'. 57759ef7378bSmrg# Shell code in configure.ac might set extrasub. 57769ef7378bSmrg# FIXME: do we really want to maintain this feature? 57779ef7378bSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 57789ef7378bSmrgac_sed_extra="$ac_vpsub 5779c19de146Smrg$extrasub 5780c19de146Smrg_ACEOF 57819ef7378bSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5782c19de146Smrg:t 5783c19de146Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 57849ef7378bSmrgs|@configure_input@|$ac_sed_conf_input|;t t 57859ef7378bSmrgs&@top_builddir@&$ac_top_builddir_sub&;t t 57869ef7378bSmrgs&@top_build_prefix@&$ac_top_build_prefix&;t t 57879ef7378bSmrgs&@srcdir@&$ac_srcdir&;t t 57889ef7378bSmrgs&@abs_srcdir@&$ac_abs_srcdir&;t t 57899ef7378bSmrgs&@top_srcdir@&$ac_top_srcdir&;t t 57909ef7378bSmrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 57919ef7378bSmrgs&@builddir@&$ac_builddir&;t t 57929ef7378bSmrgs&@abs_builddir@&$ac_abs_builddir&;t t 57939ef7378bSmrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t 57949ef7378bSmrgs&@INSTALL@&$ac_INSTALL&;t t 57959ef7378bSmrgs&@MKDIR_P@&$ac_MKDIR_P&;t t 57969ef7378bSmrg$ac_datarootdir_hack 57979ef7378bSmrg" 57989ef7378bSmrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 57999ef7378bSmrg || as_fn_error "could not create $ac_file" "$LINENO" 5 58009ef7378bSmrg 58019ef7378bSmrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 58029ef7378bSmrg { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 58039ef7378bSmrg { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 58049ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 58059ef7378bSmrgwhich seems to be undefined. Please make sure it is defined." >&5 58069ef7378bSmrg$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 58079ef7378bSmrgwhich seems to be undefined. Please make sure it is defined." >&2;} 58089ef7378bSmrg 58099ef7378bSmrg rm -f "$tmp/stdin" 5810c19de146Smrg case $ac_file in 58119ef7378bSmrg -) cat "$tmp/out" && rm -f "$tmp/out";; 58129ef7378bSmrg *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 58139ef7378bSmrg esac \ 58149ef7378bSmrg || as_fn_error "could not create $ac_file" "$LINENO" 5 58159ef7378bSmrg ;; 58169ef7378bSmrg :H) 58179ef7378bSmrg # 58189ef7378bSmrg # CONFIG_HEADER 58199ef7378bSmrg # 5820c19de146Smrg if test x"$ac_file" != x-; then 58219ef7378bSmrg { 58229ef7378bSmrg $as_echo "/* $configure_input */" \ 58239ef7378bSmrg && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 58249ef7378bSmrg } >"$tmp/config.h" \ 58259ef7378bSmrg || as_fn_error "could not create $ac_file" "$LINENO" 5 58269ef7378bSmrg if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 58279ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 58289ef7378bSmrg$as_echo "$as_me: $ac_file is unchanged" >&6;} 5829c19de146Smrg else 58309ef7378bSmrg rm -f "$ac_file" 58319ef7378bSmrg mv "$tmp/config.h" "$ac_file" \ 58329ef7378bSmrg || as_fn_error "could not create $ac_file" "$LINENO" 5 5833c19de146Smrg fi 5834c19de146Smrg else 58359ef7378bSmrg $as_echo "/* $configure_input */" \ 58369ef7378bSmrg && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 58379ef7378bSmrg || as_fn_error "could not create -" "$LINENO" 5 5838c19de146Smrg fi 58399ef7378bSmrg# Compute "$ac_file"'s index in $config_headers. 58409ef7378bSmrg_am_arg="$ac_file" 5841c19de146Smrg_am_stamp_count=1 5842c19de146Smrgfor _am_header in $config_headers :; do 5843c19de146Smrg case $_am_header in 58449ef7378bSmrg $_am_arg | $_am_arg:* ) 5845c19de146Smrg break ;; 5846c19de146Smrg * ) 5847c19de146Smrg _am_stamp_count=`expr $_am_stamp_count + 1` ;; 5848c19de146Smrg esac 5849c19de146Smrgdone 58509ef7378bSmrgecho "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 58519ef7378bSmrg$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 58529ef7378bSmrg X"$_am_arg" : 'X\(//\)[^/]' \| \ 58539ef7378bSmrg X"$_am_arg" : 'X\(//\)$' \| \ 58549ef7378bSmrg X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 58559ef7378bSmrg$as_echo X"$_am_arg" | 58569ef7378bSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 58579ef7378bSmrg s//\1/ 58589ef7378bSmrg q 58599ef7378bSmrg } 58609ef7378bSmrg /^X\(\/\/\)[^/].*/{ 58619ef7378bSmrg s//\1/ 58629ef7378bSmrg q 58639ef7378bSmrg } 58649ef7378bSmrg /^X\(\/\/\)$/{ 58659ef7378bSmrg s//\1/ 58669ef7378bSmrg q 58679ef7378bSmrg } 58689ef7378bSmrg /^X\(\/\).*/{ 58699ef7378bSmrg s//\1/ 58709ef7378bSmrg q 58719ef7378bSmrg } 58729ef7378bSmrg s/.*/./; q'`/stamp-h$_am_stamp_count 58739ef7378bSmrg ;; 5874c19de146Smrg 58759ef7378bSmrg :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 58769ef7378bSmrg$as_echo "$as_me: executing $ac_file commands" >&6;} 58779ef7378bSmrg ;; 58789ef7378bSmrg esac 5879c19de146Smrg 5880c19de146Smrg 58819ef7378bSmrg case $ac_file$ac_mode in 58829ef7378bSmrg "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 58839ef7378bSmrg # Autoconf 2.62 quotes --file arguments for eval, but not when files 58849ef7378bSmrg # are listed without --file. Let's play safe and only enable the eval 58859ef7378bSmrg # if we detect the quoting. 58869ef7378bSmrg case $CONFIG_FILES in 58879ef7378bSmrg *\'*) eval set x "$CONFIG_FILES" ;; 58889ef7378bSmrg *) set x $CONFIG_FILES ;; 58899ef7378bSmrg esac 58909ef7378bSmrg shift 58919ef7378bSmrg for mf 58929ef7378bSmrg do 58939ef7378bSmrg # Strip MF so we end up with the name of the file. 58949ef7378bSmrg mf=`echo "$mf" | sed -e 's/:.*$//'` 58959ef7378bSmrg # Check whether this is an Automake generated Makefile or not. 58969ef7378bSmrg # We used to match only the files named `Makefile.in', but 58979ef7378bSmrg # some people rename them; so instead we look at the file content. 58989ef7378bSmrg # Grep'ing the first line is not enough: some people post-process 58999ef7378bSmrg # each Makefile.in and add a new line on top of each file to say so. 59009ef7378bSmrg # Grep'ing the whole file is not good either: AIX grep has a line 59019ef7378bSmrg # limit of 2048, but all sed's we know have understand at least 4000. 59029ef7378bSmrg if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 59039ef7378bSmrg dirpart=`$as_dirname -- "$mf" || 5904c19de146Smrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5905c19de146Smrg X"$mf" : 'X\(//\)[^/]' \| \ 5906c19de146Smrg X"$mf" : 'X\(//\)$' \| \ 59079ef7378bSmrg X"$mf" : 'X\(/\)' \| . 2>/dev/null || 59089ef7378bSmrg$as_echo X"$mf" | 59099ef7378bSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 59109ef7378bSmrg s//\1/ 59119ef7378bSmrg q 59129ef7378bSmrg } 59139ef7378bSmrg /^X\(\/\/\)[^/].*/{ 59149ef7378bSmrg s//\1/ 59159ef7378bSmrg q 59169ef7378bSmrg } 59179ef7378bSmrg /^X\(\/\/\)$/{ 59189ef7378bSmrg s//\1/ 59199ef7378bSmrg q 59209ef7378bSmrg } 59219ef7378bSmrg /^X\(\/\).*/{ 59229ef7378bSmrg s//\1/ 59239ef7378bSmrg q 59249ef7378bSmrg } 59259ef7378bSmrg s/.*/./; q'` 59269ef7378bSmrg else 59279ef7378bSmrg continue 59289ef7378bSmrg fi 59299ef7378bSmrg # Extract the definition of DEPDIR, am__include, and am__quote 59309ef7378bSmrg # from the Makefile without running `make'. 59319ef7378bSmrg DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 59329ef7378bSmrg test -z "$DEPDIR" && continue 59339ef7378bSmrg am__include=`sed -n 's/^am__include = //p' < "$mf"` 59349ef7378bSmrg test -z "am__include" && continue 59359ef7378bSmrg am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 59369ef7378bSmrg # When using ansi2knr, U may be empty or an underscore; expand it 59379ef7378bSmrg U=`sed -n 's/^U = //p' < "$mf"` 59389ef7378bSmrg # Find all dependency output files, they are included files with 59399ef7378bSmrg # $(DEPDIR) in their names. We invoke sed twice because it is the 59409ef7378bSmrg # simplest approach to changing $(DEPDIR) to its actual value in the 59419ef7378bSmrg # expansion. 59429ef7378bSmrg for file in `sed -n " 59439ef7378bSmrg s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 59449ef7378bSmrg sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 59459ef7378bSmrg # Make sure the directory exists. 59469ef7378bSmrg test -f "$dirpart/$file" && continue 59479ef7378bSmrg fdir=`$as_dirname -- "$file" || 5948c19de146Smrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5949c19de146Smrg X"$file" : 'X\(//\)[^/]' \| \ 5950c19de146Smrg X"$file" : 'X\(//\)$' \| \ 59519ef7378bSmrg X"$file" : 'X\(/\)' \| . 2>/dev/null || 59529ef7378bSmrg$as_echo X"$file" | 59539ef7378bSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 59549ef7378bSmrg s//\1/ 59559ef7378bSmrg q 59569ef7378bSmrg } 59579ef7378bSmrg /^X\(\/\/\)[^/].*/{ 59589ef7378bSmrg s//\1/ 59599ef7378bSmrg q 59609ef7378bSmrg } 59619ef7378bSmrg /^X\(\/\/\)$/{ 59629ef7378bSmrg s//\1/ 59639ef7378bSmrg q 59649ef7378bSmrg } 59659ef7378bSmrg /^X\(\/\).*/{ 59669ef7378bSmrg s//\1/ 59679ef7378bSmrg q 59689ef7378bSmrg } 59699ef7378bSmrg s/.*/./; q'` 59709ef7378bSmrg as_dir=$dirpart/$fdir; as_fn_mkdir_p 59719ef7378bSmrg # echo "creating $dirpart/$file" 59729ef7378bSmrg echo '# dummy' > "$dirpart/$file" 5973c19de146Smrg done 5974c19de146Smrg done 59759ef7378bSmrg} 5976c19de146Smrg ;; 59779ef7378bSmrg 5978c19de146Smrg esac 59799ef7378bSmrgdone # for ac_tag 5980c19de146Smrg 5981c19de146Smrg 59829ef7378bSmrgas_fn_exit 0 5983c19de146Smrg_ACEOF 5984c19de146Smrgac_clean_files=$ac_clean_files_save 5985c19de146Smrg 59869ef7378bSmrgtest $ac_write_fail = 0 || 59879ef7378bSmrg as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 59889ef7378bSmrg 5989c19de146Smrg 5990c19de146Smrg# configure is writing to config.log, and then calls config.status. 5991c19de146Smrg# config.status does its own redirection, appending to config.log. 5992c19de146Smrg# Unfortunately, on DOS this fails, as config.log is still kept open 5993c19de146Smrg# by configure, so config.status won't be able to write to it; its 5994c19de146Smrg# output is simply discarded. So we exec the FD to /dev/null, 5995c19de146Smrg# effectively closing config.log, so it can be properly (re)opened and 5996c19de146Smrg# appended to by config.status. When coming back to configure, we 5997c19de146Smrg# need to make the FD available again. 5998c19de146Smrgif test "$no_create" != yes; then 5999c19de146Smrg ac_cs_success=: 6000c19de146Smrg ac_config_status_args= 6001c19de146Smrg test "$silent" = yes && 6002c19de146Smrg ac_config_status_args="$ac_config_status_args --quiet" 6003c19de146Smrg exec 5>/dev/null 6004c19de146Smrg $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 6005c19de146Smrg exec 5>>config.log 6006c19de146Smrg # Use ||, not &&, to avoid exiting from the if with $? = 1, which 6007c19de146Smrg # would make configure fail if this is the last instruction. 60089ef7378bSmrg $ac_cs_success || as_fn_exit $? 60099ef7378bSmrgfi 60109ef7378bSmrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 60119ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 60129ef7378bSmrg$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 6013c19de146Smrgfi 6014c19de146Smrg 6015