configure revision 2d1d20fc
18ae04fa6Smrg#! /bin/sh 28ae04fa6Smrg# Guess values for system-dependent variables and create Makefiles. 32d1d20fcSmrg# Generated by GNU Autoconf 2.68 for xvinfo 1.1.1. 48ae04fa6Smrg# 58ae04fa6Smrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 68ae04fa6Smrg# 72d1d20fcSmrg# 88ae04fa6Smrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 92d1d20fcSmrg# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 102d1d20fcSmrg# Foundation, Inc. 112d1d20fcSmrg# 122d1d20fcSmrg# 138ae04fa6Smrg# This configure script is free software; the Free Software Foundation 148ae04fa6Smrg# gives unlimited permission to copy, distribute and modify it. 152d1d20fcSmrg## -------------------- ## 162d1d20fcSmrg## M4sh Initialization. ## 172d1d20fcSmrg## -------------------- ## 188ae04fa6Smrg 198ae04fa6Smrg# Be more Bourne compatible 208ae04fa6SmrgDUALCASE=1; export DUALCASE # for MKS sh 212d1d20fcSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 228ae04fa6Smrg emulate sh 238ae04fa6Smrg NULLCMD=: 2444af7230Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 258ae04fa6Smrg # is contrary to our usage. Disable this feature. 268ae04fa6Smrg alias -g '${1+"$@"}'='"$@"' 278ae04fa6Smrg setopt NO_GLOB_SUBST 288ae04fa6Smrgelse 292d1d20fcSmrg case `(set -o) 2>/dev/null` in #( 302d1d20fcSmrg *posix*) : 312d1d20fcSmrg set -o posix ;; #( 322d1d20fcSmrg *) : 332d1d20fcSmrg ;; 348ae04fa6Smrgesac 358ae04fa6Smrgfi 368ae04fa6Smrg 378ae04fa6Smrg 3844af7230Smrgas_nl=' 3944af7230Smrg' 4044af7230Smrgexport as_nl 4144af7230Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 4244af7230Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4344af7230Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 4444af7230Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 452d1d20fcSmrg# Prefer a ksh shell builtin over an external printf program on Solaris, 462d1d20fcSmrg# but without wasting forks for bash or zsh. 472d1d20fcSmrgif test -z "$BASH_VERSION$ZSH_VERSION" \ 482d1d20fcSmrg && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 492d1d20fcSmrg as_echo='print -r --' 502d1d20fcSmrg as_echo_n='print -rn --' 512d1d20fcSmrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 5244af7230Smrg as_echo='printf %s\n' 5344af7230Smrg as_echo_n='printf %s' 5444af7230Smrgelse 5544af7230Smrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 5644af7230Smrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 5744af7230Smrg as_echo_n='/usr/ucb/echo -n' 588ae04fa6Smrg else 5944af7230Smrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 6044af7230Smrg as_echo_n_body='eval 6144af7230Smrg arg=$1; 622d1d20fcSmrg case $arg in #( 6344af7230Smrg *"$as_nl"*) 6444af7230Smrg expr "X$arg" : "X\\(.*\\)$as_nl"; 6544af7230Smrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 6644af7230Smrg esac; 6744af7230Smrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 6844af7230Smrg ' 6944af7230Smrg export as_echo_n_body 7044af7230Smrg as_echo_n='sh -c $as_echo_n_body as_echo' 718ae04fa6Smrg fi 7244af7230Smrg export as_echo_body 7344af7230Smrg as_echo='sh -c $as_echo_body as_echo' 7444af7230Smrgfi 7544af7230Smrg 7644af7230Smrg# The user is always right. 7744af7230Smrgif test "${PATH_SEPARATOR+set}" != set; then 7844af7230Smrg PATH_SEPARATOR=: 7944af7230Smrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 8044af7230Smrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 8144af7230Smrg PATH_SEPARATOR=';' 8244af7230Smrg } 838ae04fa6Smrgfi 848ae04fa6Smrg 858ae04fa6Smrg 868ae04fa6Smrg# IFS 878ae04fa6Smrg# We need space, tab and new line, in precisely that order. Quoting is 888ae04fa6Smrg# there to prevent editors from complaining about space-tab. 898ae04fa6Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 908ae04fa6Smrg# splitting by setting IFS to empty value.) 918ae04fa6SmrgIFS=" "" $as_nl" 928ae04fa6Smrg 938ae04fa6Smrg# Find who we are. Look in the path if we contain no directory separator. 942d1d20fcSmrgas_myself= 952d1d20fcSmrgcase $0 in #(( 968ae04fa6Smrg *[\\/]* ) as_myself=$0 ;; 978ae04fa6Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 988ae04fa6Smrgfor as_dir in $PATH 998ae04fa6Smrgdo 1008ae04fa6Smrg IFS=$as_save_IFS 1018ae04fa6Smrg test -z "$as_dir" && as_dir=. 1022d1d20fcSmrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 1032d1d20fcSmrg done 1048ae04fa6SmrgIFS=$as_save_IFS 1058ae04fa6Smrg 1068ae04fa6Smrg ;; 1078ae04fa6Smrgesac 1088ae04fa6Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 1098ae04fa6Smrg# in which case we are not to be found in the path. 1108ae04fa6Smrgif test "x$as_myself" = x; then 1118ae04fa6Smrg as_myself=$0 1128ae04fa6Smrgfi 1138ae04fa6Smrgif test ! -f "$as_myself"; then 11444af7230Smrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 1152d1d20fcSmrg exit 1 1168ae04fa6Smrgfi 1178ae04fa6Smrg 1182d1d20fcSmrg# Unset variables that we do not need and which cause bugs (e.g. in 1192d1d20fcSmrg# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 1202d1d20fcSmrg# suppresses any "Segmentation fault" message there. '((' could 1212d1d20fcSmrg# trigger a bug in pdksh 5.2.14. 1222d1d20fcSmrgfor as_var in BASH_ENV ENV MAIL MAILPATH 1232d1d20fcSmrgdo eval test x\${$as_var+set} = xset \ 1242d1d20fcSmrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 1258ae04fa6Smrgdone 1268ae04fa6SmrgPS1='$ ' 1278ae04fa6SmrgPS2='> ' 1288ae04fa6SmrgPS4='+ ' 1298ae04fa6Smrg 1308ae04fa6Smrg# NLS nuisances. 13144af7230SmrgLC_ALL=C 13244af7230Smrgexport LC_ALL 13344af7230SmrgLANGUAGE=C 13444af7230Smrgexport LANGUAGE 1358ae04fa6Smrg 1362d1d20fcSmrg# CDPATH. 1372d1d20fcSmrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 1382d1d20fcSmrg 1392d1d20fcSmrgif test "x$CONFIG_SHELL" = x; then 1402d1d20fcSmrg as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 1412d1d20fcSmrg emulate sh 1422d1d20fcSmrg NULLCMD=: 1432d1d20fcSmrg # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 1442d1d20fcSmrg # is contrary to our usage. Disable this feature. 1452d1d20fcSmrg alias -g '\${1+\"\$@\"}'='\"\$@\"' 1462d1d20fcSmrg setopt NO_GLOB_SUBST 1472d1d20fcSmrgelse 1482d1d20fcSmrg case \`(set -o) 2>/dev/null\` in #( 1492d1d20fcSmrg *posix*) : 1502d1d20fcSmrg set -o posix ;; #( 1512d1d20fcSmrg *) : 1522d1d20fcSmrg ;; 1532d1d20fcSmrgesac 1542d1d20fcSmrgfi 1552d1d20fcSmrg" 1562d1d20fcSmrg as_required="as_fn_return () { (exit \$1); } 1572d1d20fcSmrgas_fn_success () { as_fn_return 0; } 1582d1d20fcSmrgas_fn_failure () { as_fn_return 1; } 1592d1d20fcSmrgas_fn_ret_success () { return 0; } 1602d1d20fcSmrgas_fn_ret_failure () { return 1; } 1612d1d20fcSmrg 1622d1d20fcSmrgexitcode=0 1632d1d20fcSmrgas_fn_success || { exitcode=1; echo as_fn_success failed.; } 1642d1d20fcSmrgas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 1652d1d20fcSmrgas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 1662d1d20fcSmrgas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 1672d1d20fcSmrgif ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 1682d1d20fcSmrg 1692d1d20fcSmrgelse 1702d1d20fcSmrg exitcode=1; echo positional parameters were not saved. 1712d1d20fcSmrgfi 1722d1d20fcSmrgtest x\$exitcode = x0 || exit 1" 1732d1d20fcSmrg as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 1742d1d20fcSmrg as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 1752d1d20fcSmrg eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 1762d1d20fcSmrg test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 1772d1d20fcSmrgtest \$(( 1 + 1 )) = 2 || exit 1" 1782d1d20fcSmrg if (eval "$as_required") 2>/dev/null; then : 1792d1d20fcSmrg as_have_required=yes 1802d1d20fcSmrgelse 1812d1d20fcSmrg as_have_required=no 1822d1d20fcSmrgfi 1832d1d20fcSmrg if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 1842d1d20fcSmrg 1852d1d20fcSmrgelse 1862d1d20fcSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1872d1d20fcSmrgas_found=false 1882d1d20fcSmrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 1892d1d20fcSmrgdo 1902d1d20fcSmrg IFS=$as_save_IFS 1912d1d20fcSmrg test -z "$as_dir" && as_dir=. 1922d1d20fcSmrg as_found=: 1932d1d20fcSmrg case $as_dir in #( 1942d1d20fcSmrg /*) 1952d1d20fcSmrg for as_base in sh bash ksh sh5; do 1962d1d20fcSmrg # Try only shells that exist, to save several forks. 1972d1d20fcSmrg as_shell=$as_dir/$as_base 1982d1d20fcSmrg if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 1992d1d20fcSmrg { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 2002d1d20fcSmrg CONFIG_SHELL=$as_shell as_have_required=yes 2012d1d20fcSmrg if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 2022d1d20fcSmrg break 2 2032d1d20fcSmrgfi 2042d1d20fcSmrgfi 2052d1d20fcSmrg done;; 2062d1d20fcSmrg esac 2072d1d20fcSmrg as_found=false 2082d1d20fcSmrgdone 2092d1d20fcSmrg$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 2102d1d20fcSmrg { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 2112d1d20fcSmrg CONFIG_SHELL=$SHELL as_have_required=yes 2122d1d20fcSmrgfi; } 2132d1d20fcSmrgIFS=$as_save_IFS 2142d1d20fcSmrg 2152d1d20fcSmrg 2162d1d20fcSmrg if test "x$CONFIG_SHELL" != x; then : 2172d1d20fcSmrg # We cannot yet assume a decent shell, so we have to provide a 2182d1d20fcSmrg # neutralization value for shells without unset; and this also 2192d1d20fcSmrg # works around shells that cannot unset nonexistent variables. 2202d1d20fcSmrg # Preserve -v and -x to the replacement shell. 2212d1d20fcSmrg BASH_ENV=/dev/null 2222d1d20fcSmrg ENV=/dev/null 2232d1d20fcSmrg (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 2242d1d20fcSmrg export CONFIG_SHELL 2252d1d20fcSmrg case $- in # (((( 2262d1d20fcSmrg *v*x* | *x*v* ) as_opts=-vx ;; 2272d1d20fcSmrg *v* ) as_opts=-v ;; 2282d1d20fcSmrg *x* ) as_opts=-x ;; 2292d1d20fcSmrg * ) as_opts= ;; 2302d1d20fcSmrg esac 2312d1d20fcSmrg exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 2322d1d20fcSmrgfi 2332d1d20fcSmrg 2342d1d20fcSmrg if test x$as_have_required = xno; then : 2352d1d20fcSmrg $as_echo "$0: This script requires a shell more modern than all" 2362d1d20fcSmrg $as_echo "$0: the shells that I found on your system." 2372d1d20fcSmrg if test x${ZSH_VERSION+set} = xset ; then 2382d1d20fcSmrg $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 2392d1d20fcSmrg $as_echo "$0: be upgraded to zsh 4.3.4 or later." 2402d1d20fcSmrg else 2412d1d20fcSmrg $as_echo "$0: Please tell bug-autoconf@gnu.org and 2422d1d20fcSmrg$0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg 2432d1d20fcSmrg$0: about your system, including any error possibly output 2442d1d20fcSmrg$0: before this message. Then install a modern shell, or 2452d1d20fcSmrg$0: manually run the script under such a shell if you do 2462d1d20fcSmrg$0: have one." 2472d1d20fcSmrg fi 2482d1d20fcSmrg exit 1 2492d1d20fcSmrgfi 2502d1d20fcSmrgfi 2512d1d20fcSmrgfi 2522d1d20fcSmrgSHELL=${CONFIG_SHELL-/bin/sh} 2532d1d20fcSmrgexport SHELL 2542d1d20fcSmrg# Unset more variables known to interfere with behavior of common tools. 2552d1d20fcSmrgCLICOLOR_FORCE= GREP_OPTIONS= 2562d1d20fcSmrgunset CLICOLOR_FORCE GREP_OPTIONS 2572d1d20fcSmrg 2582d1d20fcSmrg## --------------------- ## 2592d1d20fcSmrg## M4sh Shell Functions. ## 2602d1d20fcSmrg## --------------------- ## 2612d1d20fcSmrg# as_fn_unset VAR 2622d1d20fcSmrg# --------------- 2632d1d20fcSmrg# Portably unset VAR. 2642d1d20fcSmrgas_fn_unset () 2652d1d20fcSmrg{ 2662d1d20fcSmrg { eval $1=; unset $1;} 2672d1d20fcSmrg} 2682d1d20fcSmrgas_unset=as_fn_unset 2692d1d20fcSmrg 2702d1d20fcSmrg# as_fn_set_status STATUS 2712d1d20fcSmrg# ----------------------- 2722d1d20fcSmrg# Set $? to STATUS, without forking. 2732d1d20fcSmrgas_fn_set_status () 2742d1d20fcSmrg{ 2752d1d20fcSmrg return $1 2762d1d20fcSmrg} # as_fn_set_status 2772d1d20fcSmrg 2782d1d20fcSmrg# as_fn_exit STATUS 2792d1d20fcSmrg# ----------------- 2802d1d20fcSmrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 2812d1d20fcSmrgas_fn_exit () 2822d1d20fcSmrg{ 2832d1d20fcSmrg set +e 2842d1d20fcSmrg as_fn_set_status $1 2852d1d20fcSmrg exit $1 2862d1d20fcSmrg} # as_fn_exit 2872d1d20fcSmrg 2882d1d20fcSmrg# as_fn_mkdir_p 2892d1d20fcSmrg# ------------- 2902d1d20fcSmrg# Create "$as_dir" as a directory, including parents if necessary. 2912d1d20fcSmrgas_fn_mkdir_p () 2922d1d20fcSmrg{ 2932d1d20fcSmrg 2942d1d20fcSmrg case $as_dir in #( 2952d1d20fcSmrg -*) as_dir=./$as_dir;; 2962d1d20fcSmrg esac 2972d1d20fcSmrg test -d "$as_dir" || eval $as_mkdir_p || { 2982d1d20fcSmrg as_dirs= 2992d1d20fcSmrg while :; do 3002d1d20fcSmrg case $as_dir in #( 3012d1d20fcSmrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 3022d1d20fcSmrg *) as_qdir=$as_dir;; 3032d1d20fcSmrg esac 3042d1d20fcSmrg as_dirs="'$as_qdir' $as_dirs" 3052d1d20fcSmrg as_dir=`$as_dirname -- "$as_dir" || 3062d1d20fcSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3072d1d20fcSmrg X"$as_dir" : 'X\(//\)[^/]' \| \ 3082d1d20fcSmrg X"$as_dir" : 'X\(//\)$' \| \ 3092d1d20fcSmrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 3102d1d20fcSmrg$as_echo X"$as_dir" | 3112d1d20fcSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3122d1d20fcSmrg s//\1/ 3132d1d20fcSmrg q 3142d1d20fcSmrg } 3152d1d20fcSmrg /^X\(\/\/\)[^/].*/{ 3162d1d20fcSmrg s//\1/ 3172d1d20fcSmrg q 3182d1d20fcSmrg } 3192d1d20fcSmrg /^X\(\/\/\)$/{ 3202d1d20fcSmrg s//\1/ 3212d1d20fcSmrg q 3222d1d20fcSmrg } 3232d1d20fcSmrg /^X\(\/\).*/{ 3242d1d20fcSmrg s//\1/ 3252d1d20fcSmrg q 3262d1d20fcSmrg } 3272d1d20fcSmrg s/.*/./; q'` 3282d1d20fcSmrg test -d "$as_dir" && break 3292d1d20fcSmrg done 3302d1d20fcSmrg test -z "$as_dirs" || eval "mkdir $as_dirs" 3312d1d20fcSmrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 3322d1d20fcSmrg 3332d1d20fcSmrg 3342d1d20fcSmrg} # as_fn_mkdir_p 3352d1d20fcSmrg# as_fn_append VAR VALUE 3362d1d20fcSmrg# ---------------------- 3372d1d20fcSmrg# Append the text in VALUE to the end of the definition contained in VAR. Take 3382d1d20fcSmrg# advantage of any shell optimizations that allow amortized linear growth over 3392d1d20fcSmrg# repeated appends, instead of the typical quadratic growth present in naive 3402d1d20fcSmrg# implementations. 3412d1d20fcSmrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 3422d1d20fcSmrg eval 'as_fn_append () 3432d1d20fcSmrg { 3442d1d20fcSmrg eval $1+=\$2 3452d1d20fcSmrg }' 3462d1d20fcSmrgelse 3472d1d20fcSmrg as_fn_append () 3482d1d20fcSmrg { 3492d1d20fcSmrg eval $1=\$$1\$2 3502d1d20fcSmrg } 3512d1d20fcSmrgfi # as_fn_append 3522d1d20fcSmrg 3532d1d20fcSmrg# as_fn_arith ARG... 3542d1d20fcSmrg# ------------------ 3552d1d20fcSmrg# Perform arithmetic evaluation on the ARGs, and store the result in the 3562d1d20fcSmrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 3572d1d20fcSmrg# must be portable across $(()) and expr. 3582d1d20fcSmrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 3592d1d20fcSmrg eval 'as_fn_arith () 3602d1d20fcSmrg { 3612d1d20fcSmrg as_val=$(( $* )) 3622d1d20fcSmrg }' 3632d1d20fcSmrgelse 3642d1d20fcSmrg as_fn_arith () 3652d1d20fcSmrg { 3662d1d20fcSmrg as_val=`expr "$@" || test $? -eq 1` 3672d1d20fcSmrg } 3682d1d20fcSmrgfi # as_fn_arith 3692d1d20fcSmrg 3702d1d20fcSmrg 3712d1d20fcSmrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 3722d1d20fcSmrg# ---------------------------------------- 3732d1d20fcSmrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 3742d1d20fcSmrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 3752d1d20fcSmrg# script with STATUS, using 1 if that was 0. 3762d1d20fcSmrgas_fn_error () 3772d1d20fcSmrg{ 3782d1d20fcSmrg as_status=$1; test $as_status -eq 0 && as_status=1 3792d1d20fcSmrg if test "$4"; then 3802d1d20fcSmrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 3812d1d20fcSmrg $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 3822d1d20fcSmrg fi 3832d1d20fcSmrg $as_echo "$as_me: error: $2" >&2 3842d1d20fcSmrg as_fn_exit $as_status 3852d1d20fcSmrg} # as_fn_error 3862d1d20fcSmrg 3878ae04fa6Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 3888ae04fa6Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 3898ae04fa6Smrg as_expr=expr 3908ae04fa6Smrgelse 3918ae04fa6Smrg as_expr=false 3928ae04fa6Smrgfi 3938ae04fa6Smrg 3948ae04fa6Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 3958ae04fa6Smrg as_basename=basename 3968ae04fa6Smrgelse 3978ae04fa6Smrg as_basename=false 3988ae04fa6Smrgfi 3998ae04fa6Smrg 4002d1d20fcSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 4012d1d20fcSmrg as_dirname=dirname 4022d1d20fcSmrgelse 4032d1d20fcSmrg as_dirname=false 4042d1d20fcSmrgfi 4058ae04fa6Smrg 4068ae04fa6Smrgas_me=`$as_basename -- "$0" || 4078ae04fa6Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 4088ae04fa6Smrg X"$0" : 'X\(//\)$' \| \ 4098ae04fa6Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 41044af7230Smrg$as_echo X/"$0" | 4118ae04fa6Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 4128ae04fa6Smrg s//\1/ 4138ae04fa6Smrg q 4148ae04fa6Smrg } 4158ae04fa6Smrg /^X\/\(\/\/\)$/{ 4168ae04fa6Smrg s//\1/ 4178ae04fa6Smrg q 4188ae04fa6Smrg } 4198ae04fa6Smrg /^X\/\(\/\).*/{ 4208ae04fa6Smrg s//\1/ 4218ae04fa6Smrg q 4228ae04fa6Smrg } 4238ae04fa6Smrg s/.*/./; q'` 4248ae04fa6Smrg 4252d1d20fcSmrg# Avoid depending upon Character Ranges. 4262d1d20fcSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 4272d1d20fcSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 4282d1d20fcSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 4292d1d20fcSmrgas_cr_digits='0123456789' 4302d1d20fcSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits 4318ae04fa6Smrg 4328ae04fa6Smrg 4332d1d20fcSmrg as_lineno_1=$LINENO as_lineno_1a=$LINENO 4342d1d20fcSmrg as_lineno_2=$LINENO as_lineno_2a=$LINENO 4352d1d20fcSmrg eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 4362d1d20fcSmrg test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 4372d1d20fcSmrg # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 4382d1d20fcSmrg sed -n ' 4392d1d20fcSmrg p 4402d1d20fcSmrg /[$]LINENO/= 4412d1d20fcSmrg ' <$as_myself | 4422d1d20fcSmrg sed ' 4432d1d20fcSmrg s/[$]LINENO.*/&-/ 4442d1d20fcSmrg t lineno 4452d1d20fcSmrg b 4462d1d20fcSmrg :lineno 4472d1d20fcSmrg N 4482d1d20fcSmrg :loop 4492d1d20fcSmrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 4502d1d20fcSmrg t loop 4512d1d20fcSmrg s/-\n.*// 4522d1d20fcSmrg ' >$as_me.lineno && 4532d1d20fcSmrg chmod +x "$as_me.lineno" || 4542d1d20fcSmrg { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 4558ae04fa6Smrg 4562d1d20fcSmrg # Don't try to exec as it changes $[0], causing all sort of problems 4572d1d20fcSmrg # (the dirname of $[0] is not the place where we might find the 4582d1d20fcSmrg # original and so on. Autoconf is especially sensitive to this). 4592d1d20fcSmrg . "./$as_me.lineno" 4602d1d20fcSmrg # Exit status is that of the last command. 4612d1d20fcSmrg exit 4628ae04fa6Smrg} 4638ae04fa6Smrg 4642d1d20fcSmrgECHO_C= ECHO_N= ECHO_T= 4652d1d20fcSmrgcase `echo -n x` in #((((( 4662d1d20fcSmrg-n*) 4672d1d20fcSmrg case `echo 'xy\c'` in 4682d1d20fcSmrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 4692d1d20fcSmrg xy) ECHO_C='\c';; 4702d1d20fcSmrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 4712d1d20fcSmrg ECHO_T=' ';; 4722d1d20fcSmrg esac;; 4732d1d20fcSmrg*) 4742d1d20fcSmrg ECHO_N='-n';; 4752d1d20fcSmrgesac 4768ae04fa6Smrg 4772d1d20fcSmrgrm -f conf$$ conf$$.exe conf$$.file 4782d1d20fcSmrgif test -d conf$$.dir; then 4792d1d20fcSmrg rm -f conf$$.dir/conf$$.file 4802d1d20fcSmrgelse 4812d1d20fcSmrg rm -f conf$$.dir 4822d1d20fcSmrg mkdir conf$$.dir 2>/dev/null 4838ae04fa6Smrgfi 4842d1d20fcSmrgif (echo >conf$$.file) 2>/dev/null; then 4852d1d20fcSmrg if ln -s conf$$.file conf$$ 2>/dev/null; then 4862d1d20fcSmrg as_ln_s='ln -s' 4872d1d20fcSmrg # ... but there are two gotchas: 4882d1d20fcSmrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 4892d1d20fcSmrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 4902d1d20fcSmrg # In both cases, we have to default to `cp -p'. 4912d1d20fcSmrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 4922d1d20fcSmrg as_ln_s='cp -p' 4932d1d20fcSmrg elif ln conf$$.file conf$$ 2>/dev/null; then 4942d1d20fcSmrg as_ln_s=ln 4952d1d20fcSmrg else 4962d1d20fcSmrg as_ln_s='cp -p' 4972d1d20fcSmrg fi 4988ae04fa6Smrgelse 4992d1d20fcSmrg as_ln_s='cp -p' 5008ae04fa6Smrgfi 5012d1d20fcSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5022d1d20fcSmrgrmdir conf$$.dir 2>/dev/null 5038ae04fa6Smrg 5042d1d20fcSmrgif mkdir -p . 2>/dev/null; then 5052d1d20fcSmrg as_mkdir_p='mkdir -p "$as_dir"' 5062d1d20fcSmrgelse 5072d1d20fcSmrg test -d ./-p && rmdir ./-p 5082d1d20fcSmrg as_mkdir_p=false 5098ae04fa6Smrgfi 5108ae04fa6Smrg 5112d1d20fcSmrgif test -x / >/dev/null 2>&1; then 5122d1d20fcSmrg as_test_x='test -x' 5138ae04fa6Smrgelse 5142d1d20fcSmrg if ls -dL / >/dev/null 2>&1; then 5152d1d20fcSmrg as_ls_L_option=L 5162d1d20fcSmrg else 5172d1d20fcSmrg as_ls_L_option= 5182d1d20fcSmrg fi 5192d1d20fcSmrg as_test_x=' 5202d1d20fcSmrg eval sh -c '\'' 5212d1d20fcSmrg if test -d "$1"; then 5222d1d20fcSmrg test -d "$1/."; 5232d1d20fcSmrg else 5242d1d20fcSmrg case $1 in #( 5252d1d20fcSmrg -*)set "./$1";; 5262d1d20fcSmrg esac; 5272d1d20fcSmrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 5282d1d20fcSmrg ???[sx]*):;;*)false;;esac;fi 5292d1d20fcSmrg '\'' sh 5302d1d20fcSmrg ' 5318ae04fa6Smrgfi 5322d1d20fcSmrgas_executable_p=$as_test_x 5338ae04fa6Smrg 5342d1d20fcSmrg# Sed expression to map a string onto a valid CPP name. 5352d1d20fcSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5368ae04fa6Smrg 5372d1d20fcSmrg# Sed expression to map a string onto a valid variable name. 5382d1d20fcSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5398ae04fa6Smrg 5408ae04fa6Smrg 5412d1d20fcSmrgtest -n "$DJDIR" || exec 7<&0 </dev/null 5422d1d20fcSmrgexec 6>&1 5438ae04fa6Smrg 5448ae04fa6Smrg# Name of the host. 5452d1d20fcSmrg# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 5468ae04fa6Smrg# so uname gets run too. 5478ae04fa6Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 5488ae04fa6Smrg 5498ae04fa6Smrg# 5508ae04fa6Smrg# Initializations. 5518ae04fa6Smrg# 5528ae04fa6Smrgac_default_prefix=/usr/local 5538ae04fa6Smrgac_clean_files= 5548ae04fa6Smrgac_config_libobj_dir=. 5558ae04fa6SmrgLIBOBJS= 5568ae04fa6Smrgcross_compiling=no 5578ae04fa6Smrgsubdirs= 5588ae04fa6SmrgMFLAGS= 5598ae04fa6SmrgMAKEFLAGS= 5608ae04fa6Smrg 5618ae04fa6Smrg# Identity of this package. 5628ae04fa6SmrgPACKAGE_NAME='xvinfo' 5638ae04fa6SmrgPACKAGE_TARNAME='xvinfo' 5642d1d20fcSmrgPACKAGE_VERSION='1.1.1' 5652d1d20fcSmrgPACKAGE_STRING='xvinfo 1.1.1' 5668ae04fa6SmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 5672d1d20fcSmrgPACKAGE_URL='' 5688ae04fa6Smrg 56944af7230Smrg# Factoring default headers for most tests. 57044af7230Smrgac_includes_default="\ 57144af7230Smrg#include <stdio.h> 57244af7230Smrg#ifdef HAVE_SYS_TYPES_H 57344af7230Smrg# include <sys/types.h> 57444af7230Smrg#endif 57544af7230Smrg#ifdef HAVE_SYS_STAT_H 57644af7230Smrg# include <sys/stat.h> 57744af7230Smrg#endif 57844af7230Smrg#ifdef STDC_HEADERS 57944af7230Smrg# include <stdlib.h> 58044af7230Smrg# include <stddef.h> 58144af7230Smrg#else 58244af7230Smrg# ifdef HAVE_STDLIB_H 58344af7230Smrg# include <stdlib.h> 58444af7230Smrg# endif 58544af7230Smrg#endif 58644af7230Smrg#ifdef HAVE_STRING_H 58744af7230Smrg# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 58844af7230Smrg# include <memory.h> 58944af7230Smrg# endif 59044af7230Smrg# include <string.h> 59144af7230Smrg#endif 59244af7230Smrg#ifdef HAVE_STRINGS_H 59344af7230Smrg# include <strings.h> 59444af7230Smrg#endif 59544af7230Smrg#ifdef HAVE_INTTYPES_H 59644af7230Smrg# include <inttypes.h> 59744af7230Smrg#endif 59844af7230Smrg#ifdef HAVE_STDINT_H 59944af7230Smrg# include <stdint.h> 60044af7230Smrg#endif 60144af7230Smrg#ifdef HAVE_UNISTD_H 60244af7230Smrg# include <unistd.h> 60344af7230Smrg#endif" 60444af7230Smrg 60544af7230Smrgac_subst_vars='am__EXEEXT_FALSE 60644af7230Smrgam__EXEEXT_TRUE 60744af7230SmrgLTLIBOBJS 60844af7230SmrgLIBOBJS 6098ae04fa6SmrgXVINFO_LIBS 61044af7230SmrgXVINFO_CFLAGS 6112d1d20fcSmrgAM_BACKSLASH 6122d1d20fcSmrgAM_DEFAULT_VERBOSITY 6132d1d20fcSmrgMAN_SUBSTS 6142d1d20fcSmrgXORG_MAN_PAGE 6158ae04fa6SmrgADMIN_MAN_DIR 61644af7230SmrgDRIVER_MAN_DIR 61744af7230SmrgMISC_MAN_DIR 61844af7230SmrgFILE_MAN_DIR 61944af7230SmrgLIB_MAN_DIR 62044af7230SmrgAPP_MAN_DIR 62144af7230SmrgADMIN_MAN_SUFFIX 62244af7230SmrgDRIVER_MAN_SUFFIX 62344af7230SmrgMISC_MAN_SUFFIX 62444af7230SmrgFILE_MAN_SUFFIX 62544af7230SmrgLIB_MAN_SUFFIX 62644af7230SmrgAPP_MAN_SUFFIX 6272d1d20fcSmrgSED 62844af7230Smrghost_os 62944af7230Smrghost_vendor 63044af7230Smrghost_cpu 63144af7230Smrghost 63244af7230Smrgbuild_os 63344af7230Smrgbuild_vendor 63444af7230Smrgbuild_cpu 63544af7230Smrgbuild 6362d1d20fcSmrgINSTALL_CMD 6372d1d20fcSmrgPKG_CONFIG 63844af7230SmrgCHANGELOG_CMD 63944af7230SmrgCWARNFLAGS 64044af7230SmrgEGREP 64144af7230SmrgGREP 64244af7230SmrgCPP 64344af7230Smrgam__fastdepCC_FALSE 64444af7230Smrgam__fastdepCC_TRUE 64544af7230SmrgCCDEPMODE 64644af7230SmrgAMDEPBACKSLASH 64744af7230SmrgAMDEP_FALSE 64844af7230SmrgAMDEP_TRUE 64944af7230Smrgam__quote 65044af7230Smrgam__include 65144af7230SmrgDEPDIR 65244af7230SmrgOBJEXT 65344af7230SmrgEXEEXT 65444af7230Smrgac_ct_CC 65544af7230SmrgCPPFLAGS 65644af7230SmrgLDFLAGS 65744af7230SmrgCFLAGS 65844af7230SmrgCC 65944af7230SmrgMAINT 66044af7230SmrgMAINTAINER_MODE_FALSE 66144af7230SmrgMAINTAINER_MODE_TRUE 66244af7230Smrgam__untar 66344af7230Smrgam__tar 66444af7230SmrgAMTAR 66544af7230Smrgam__leading_dot 66644af7230SmrgSET_MAKE 66744af7230SmrgAWK 66844af7230Smrgmkdir_p 66944af7230SmrgMKDIR_P 67044af7230SmrgINSTALL_STRIP_PROGRAM 67144af7230SmrgSTRIP 67244af7230Smrginstall_sh 67344af7230SmrgMAKEINFO 67444af7230SmrgAUTOHEADER 67544af7230SmrgAUTOMAKE 67644af7230SmrgAUTOCONF 67744af7230SmrgACLOCAL 67844af7230SmrgVERSION 67944af7230SmrgPACKAGE 68044af7230SmrgCYGPATH_W 68144af7230Smrgam__isrc 68244af7230SmrgINSTALL_DATA 68344af7230SmrgINSTALL_SCRIPT 68444af7230SmrgINSTALL_PROGRAM 68544af7230Smrgtarget_alias 68644af7230Smrghost_alias 68744af7230Smrgbuild_alias 68844af7230SmrgLIBS 68944af7230SmrgECHO_T 69044af7230SmrgECHO_N 69144af7230SmrgECHO_C 69244af7230SmrgDEFS 69344af7230Smrgmandir 69444af7230Smrglocaledir 69544af7230Smrglibdir 69644af7230Smrgpsdir 69744af7230Smrgpdfdir 69844af7230Smrgdvidir 69944af7230Smrghtmldir 70044af7230Smrginfodir 70144af7230Smrgdocdir 70244af7230Smrgoldincludedir 70344af7230Smrgincludedir 70444af7230Smrglocalstatedir 70544af7230Smrgsharedstatedir 70644af7230Smrgsysconfdir 70744af7230Smrgdatadir 70844af7230Smrgdatarootdir 70944af7230Smrglibexecdir 71044af7230Smrgsbindir 71144af7230Smrgbindir 71244af7230Smrgprogram_transform_name 71344af7230Smrgprefix 71444af7230Smrgexec_prefix 7152d1d20fcSmrgPACKAGE_URL 71644af7230SmrgPACKAGE_BUGREPORT 71744af7230SmrgPACKAGE_STRING 71844af7230SmrgPACKAGE_VERSION 71944af7230SmrgPACKAGE_TARNAME 72044af7230SmrgPACKAGE_NAME 72144af7230SmrgPATH_SEPARATOR 72244af7230SmrgSHELL' 7238ae04fa6Smrgac_subst_files='' 72444af7230Smrgac_user_opts=' 72544af7230Smrgenable_option_checking 72644af7230Smrgenable_maintainer_mode 72744af7230Smrgenable_dependency_tracking 72844af7230Smrgenable_strict_compilation 7292d1d20fcSmrgenable_silent_rules 73044af7230Smrg' 7318ae04fa6Smrg ac_precious_vars='build_alias 7328ae04fa6Smrghost_alias 7338ae04fa6Smrgtarget_alias 7348ae04fa6SmrgCC 7358ae04fa6SmrgCFLAGS 7368ae04fa6SmrgLDFLAGS 7378ae04fa6SmrgLIBS 7388ae04fa6SmrgCPPFLAGS 73944af7230SmrgCPP 7408ae04fa6SmrgPKG_CONFIG 7418ae04fa6SmrgXVINFO_CFLAGS 7428ae04fa6SmrgXVINFO_LIBS' 7438ae04fa6Smrg 7448ae04fa6Smrg 7458ae04fa6Smrg# Initialize some variables set by options. 7468ae04fa6Smrgac_init_help= 7478ae04fa6Smrgac_init_version=false 74844af7230Smrgac_unrecognized_opts= 74944af7230Smrgac_unrecognized_sep= 7508ae04fa6Smrg# The variables have the same names as the options, with 7518ae04fa6Smrg# dashes changed to underlines. 7528ae04fa6Smrgcache_file=/dev/null 7538ae04fa6Smrgexec_prefix=NONE 7548ae04fa6Smrgno_create= 7558ae04fa6Smrgno_recursion= 7568ae04fa6Smrgprefix=NONE 7578ae04fa6Smrgprogram_prefix=NONE 7588ae04fa6Smrgprogram_suffix=NONE 7598ae04fa6Smrgprogram_transform_name=s,x,x, 7608ae04fa6Smrgsilent= 7618ae04fa6Smrgsite= 7628ae04fa6Smrgsrcdir= 7638ae04fa6Smrgverbose= 7648ae04fa6Smrgx_includes=NONE 7658ae04fa6Smrgx_libraries=NONE 7668ae04fa6Smrg 7678ae04fa6Smrg# Installation directory options. 7688ae04fa6Smrg# These are left unexpanded so users can "make install exec_prefix=/foo" 7698ae04fa6Smrg# and all the variables that are supposed to be based on exec_prefix 7708ae04fa6Smrg# by default will actually change. 7718ae04fa6Smrg# Use braces instead of parens because sh, perl, etc. also accept them. 7728ae04fa6Smrg# (The list follows the same order as the GNU Coding Standards.) 7738ae04fa6Smrgbindir='${exec_prefix}/bin' 7748ae04fa6Smrgsbindir='${exec_prefix}/sbin' 7758ae04fa6Smrglibexecdir='${exec_prefix}/libexec' 7768ae04fa6Smrgdatarootdir='${prefix}/share' 7778ae04fa6Smrgdatadir='${datarootdir}' 7788ae04fa6Smrgsysconfdir='${prefix}/etc' 7798ae04fa6Smrgsharedstatedir='${prefix}/com' 7808ae04fa6Smrglocalstatedir='${prefix}/var' 7818ae04fa6Smrgincludedir='${prefix}/include' 7828ae04fa6Smrgoldincludedir='/usr/include' 7838ae04fa6Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 7848ae04fa6Smrginfodir='${datarootdir}/info' 7858ae04fa6Smrghtmldir='${docdir}' 7868ae04fa6Smrgdvidir='${docdir}' 7878ae04fa6Smrgpdfdir='${docdir}' 7888ae04fa6Smrgpsdir='${docdir}' 7898ae04fa6Smrglibdir='${exec_prefix}/lib' 7908ae04fa6Smrglocaledir='${datarootdir}/locale' 7918ae04fa6Smrgmandir='${datarootdir}/man' 7928ae04fa6Smrg 7938ae04fa6Smrgac_prev= 7948ae04fa6Smrgac_dashdash= 7958ae04fa6Smrgfor ac_option 7968ae04fa6Smrgdo 7978ae04fa6Smrg # If the previous option needs an argument, assign it. 7988ae04fa6Smrg if test -n "$ac_prev"; then 7998ae04fa6Smrg eval $ac_prev=\$ac_option 8008ae04fa6Smrg ac_prev= 8018ae04fa6Smrg continue 8028ae04fa6Smrg fi 8038ae04fa6Smrg 8048ae04fa6Smrg case $ac_option in 8052d1d20fcSmrg *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 8062d1d20fcSmrg *=) ac_optarg= ;; 8072d1d20fcSmrg *) ac_optarg=yes ;; 8088ae04fa6Smrg esac 8098ae04fa6Smrg 8108ae04fa6Smrg # Accept the important Cygnus configure options, so we can diagnose typos. 8118ae04fa6Smrg 8128ae04fa6Smrg case $ac_dashdash$ac_option in 8138ae04fa6Smrg --) 8148ae04fa6Smrg ac_dashdash=yes ;; 8158ae04fa6Smrg 8168ae04fa6Smrg -bindir | --bindir | --bindi | --bind | --bin | --bi) 8178ae04fa6Smrg ac_prev=bindir ;; 8188ae04fa6Smrg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 8198ae04fa6Smrg bindir=$ac_optarg ;; 8208ae04fa6Smrg 8218ae04fa6Smrg -build | --build | --buil | --bui | --bu) 8228ae04fa6Smrg ac_prev=build_alias ;; 8238ae04fa6Smrg -build=* | --build=* | --buil=* | --bui=* | --bu=*) 8248ae04fa6Smrg build_alias=$ac_optarg ;; 8258ae04fa6Smrg 8268ae04fa6Smrg -cache-file | --cache-file | --cache-fil | --cache-fi \ 8278ae04fa6Smrg | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 8288ae04fa6Smrg ac_prev=cache_file ;; 8298ae04fa6Smrg -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 8308ae04fa6Smrg | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 8318ae04fa6Smrg cache_file=$ac_optarg ;; 8328ae04fa6Smrg 8338ae04fa6Smrg --config-cache | -C) 8348ae04fa6Smrg cache_file=config.cache ;; 8358ae04fa6Smrg 8368ae04fa6Smrg -datadir | --datadir | --datadi | --datad) 8378ae04fa6Smrg ac_prev=datadir ;; 8388ae04fa6Smrg -datadir=* | --datadir=* | --datadi=* | --datad=*) 8398ae04fa6Smrg datadir=$ac_optarg ;; 8408ae04fa6Smrg 8418ae04fa6Smrg -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 8428ae04fa6Smrg | --dataroo | --dataro | --datar) 8438ae04fa6Smrg ac_prev=datarootdir ;; 8448ae04fa6Smrg -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 8458ae04fa6Smrg | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 8468ae04fa6Smrg datarootdir=$ac_optarg ;; 8478ae04fa6Smrg 8488ae04fa6Smrg -disable-* | --disable-*) 84944af7230Smrg ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 8508ae04fa6Smrg # Reject names that are not valid shell variable names. 85144af7230Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 8522d1d20fcSmrg as_fn_error $? "invalid feature name: $ac_useropt" 85344af7230Smrg ac_useropt_orig=$ac_useropt 85444af7230Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 85544af7230Smrg case $ac_user_opts in 85644af7230Smrg *" 85744af7230Smrg"enable_$ac_useropt" 85844af7230Smrg"*) ;; 85944af7230Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 86044af7230Smrg ac_unrecognized_sep=', ';; 86144af7230Smrg esac 86244af7230Smrg eval enable_$ac_useropt=no ;; 8638ae04fa6Smrg 8648ae04fa6Smrg -docdir | --docdir | --docdi | --doc | --do) 8658ae04fa6Smrg ac_prev=docdir ;; 8668ae04fa6Smrg -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 8678ae04fa6Smrg docdir=$ac_optarg ;; 8688ae04fa6Smrg 8698ae04fa6Smrg -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 8708ae04fa6Smrg ac_prev=dvidir ;; 8718ae04fa6Smrg -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 8728ae04fa6Smrg dvidir=$ac_optarg ;; 8738ae04fa6Smrg 8748ae04fa6Smrg -enable-* | --enable-*) 87544af7230Smrg ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 8768ae04fa6Smrg # Reject names that are not valid shell variable names. 87744af7230Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 8782d1d20fcSmrg as_fn_error $? "invalid feature name: $ac_useropt" 87944af7230Smrg ac_useropt_orig=$ac_useropt 88044af7230Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 88144af7230Smrg case $ac_user_opts in 88244af7230Smrg *" 88344af7230Smrg"enable_$ac_useropt" 88444af7230Smrg"*) ;; 88544af7230Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 88644af7230Smrg ac_unrecognized_sep=', ';; 88744af7230Smrg esac 88844af7230Smrg eval enable_$ac_useropt=\$ac_optarg ;; 8898ae04fa6Smrg 8908ae04fa6Smrg -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 8918ae04fa6Smrg | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 8928ae04fa6Smrg | --exec | --exe | --ex) 8938ae04fa6Smrg ac_prev=exec_prefix ;; 8948ae04fa6Smrg -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 8958ae04fa6Smrg | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 8968ae04fa6Smrg | --exec=* | --exe=* | --ex=*) 8978ae04fa6Smrg exec_prefix=$ac_optarg ;; 8988ae04fa6Smrg 8998ae04fa6Smrg -gas | --gas | --ga | --g) 9008ae04fa6Smrg # Obsolete; use --with-gas. 9018ae04fa6Smrg with_gas=yes ;; 9028ae04fa6Smrg 9038ae04fa6Smrg -help | --help | --hel | --he | -h) 9048ae04fa6Smrg ac_init_help=long ;; 9058ae04fa6Smrg -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 9068ae04fa6Smrg ac_init_help=recursive ;; 9078ae04fa6Smrg -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 9088ae04fa6Smrg ac_init_help=short ;; 9098ae04fa6Smrg 9108ae04fa6Smrg -host | --host | --hos | --ho) 9118ae04fa6Smrg ac_prev=host_alias ;; 9128ae04fa6Smrg -host=* | --host=* | --hos=* | --ho=*) 9138ae04fa6Smrg host_alias=$ac_optarg ;; 9148ae04fa6Smrg 9158ae04fa6Smrg -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 9168ae04fa6Smrg ac_prev=htmldir ;; 9178ae04fa6Smrg -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 9188ae04fa6Smrg | --ht=*) 9198ae04fa6Smrg htmldir=$ac_optarg ;; 9208ae04fa6Smrg 9218ae04fa6Smrg -includedir | --includedir | --includedi | --included | --include \ 9228ae04fa6Smrg | --includ | --inclu | --incl | --inc) 9238ae04fa6Smrg ac_prev=includedir ;; 9248ae04fa6Smrg -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 9258ae04fa6Smrg | --includ=* | --inclu=* | --incl=* | --inc=*) 9268ae04fa6Smrg includedir=$ac_optarg ;; 9278ae04fa6Smrg 9288ae04fa6Smrg -infodir | --infodir | --infodi | --infod | --info | --inf) 9298ae04fa6Smrg ac_prev=infodir ;; 9308ae04fa6Smrg -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 9318ae04fa6Smrg infodir=$ac_optarg ;; 9328ae04fa6Smrg 9338ae04fa6Smrg -libdir | --libdir | --libdi | --libd) 9348ae04fa6Smrg ac_prev=libdir ;; 9358ae04fa6Smrg -libdir=* | --libdir=* | --libdi=* | --libd=*) 9368ae04fa6Smrg libdir=$ac_optarg ;; 9378ae04fa6Smrg 9388ae04fa6Smrg -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 9398ae04fa6Smrg | --libexe | --libex | --libe) 9408ae04fa6Smrg ac_prev=libexecdir ;; 9418ae04fa6Smrg -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 9428ae04fa6Smrg | --libexe=* | --libex=* | --libe=*) 9438ae04fa6Smrg libexecdir=$ac_optarg ;; 9448ae04fa6Smrg 9458ae04fa6Smrg -localedir | --localedir | --localedi | --localed | --locale) 9468ae04fa6Smrg ac_prev=localedir ;; 9478ae04fa6Smrg -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 9488ae04fa6Smrg localedir=$ac_optarg ;; 9498ae04fa6Smrg 9508ae04fa6Smrg -localstatedir | --localstatedir | --localstatedi | --localstated \ 9518ae04fa6Smrg | --localstate | --localstat | --localsta | --localst | --locals) 9528ae04fa6Smrg ac_prev=localstatedir ;; 9538ae04fa6Smrg -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 9548ae04fa6Smrg | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 9558ae04fa6Smrg localstatedir=$ac_optarg ;; 9568ae04fa6Smrg 9578ae04fa6Smrg -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 9588ae04fa6Smrg ac_prev=mandir ;; 9598ae04fa6Smrg -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 9608ae04fa6Smrg mandir=$ac_optarg ;; 9618ae04fa6Smrg 9628ae04fa6Smrg -nfp | --nfp | --nf) 9638ae04fa6Smrg # Obsolete; use --without-fp. 9648ae04fa6Smrg with_fp=no ;; 9658ae04fa6Smrg 9668ae04fa6Smrg -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 9678ae04fa6Smrg | --no-cr | --no-c | -n) 9688ae04fa6Smrg no_create=yes ;; 9698ae04fa6Smrg 9708ae04fa6Smrg -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 9718ae04fa6Smrg | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 9728ae04fa6Smrg no_recursion=yes ;; 9738ae04fa6Smrg 9748ae04fa6Smrg -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 9758ae04fa6Smrg | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 9768ae04fa6Smrg | --oldin | --oldi | --old | --ol | --o) 9778ae04fa6Smrg ac_prev=oldincludedir ;; 9788ae04fa6Smrg -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 9798ae04fa6Smrg | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 9808ae04fa6Smrg | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 9818ae04fa6Smrg oldincludedir=$ac_optarg ;; 9828ae04fa6Smrg 9838ae04fa6Smrg -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 9848ae04fa6Smrg ac_prev=prefix ;; 9858ae04fa6Smrg -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 9868ae04fa6Smrg prefix=$ac_optarg ;; 9878ae04fa6Smrg 9888ae04fa6Smrg -program-prefix | --program-prefix | --program-prefi | --program-pref \ 9898ae04fa6Smrg | --program-pre | --program-pr | --program-p) 9908ae04fa6Smrg ac_prev=program_prefix ;; 9918ae04fa6Smrg -program-prefix=* | --program-prefix=* | --program-prefi=* \ 9928ae04fa6Smrg | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 9938ae04fa6Smrg program_prefix=$ac_optarg ;; 9948ae04fa6Smrg 9958ae04fa6Smrg -program-suffix | --program-suffix | --program-suffi | --program-suff \ 9968ae04fa6Smrg | --program-suf | --program-su | --program-s) 9978ae04fa6Smrg ac_prev=program_suffix ;; 9988ae04fa6Smrg -program-suffix=* | --program-suffix=* | --program-suffi=* \ 9998ae04fa6Smrg | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 10008ae04fa6Smrg program_suffix=$ac_optarg ;; 10018ae04fa6Smrg 10028ae04fa6Smrg -program-transform-name | --program-transform-name \ 10038ae04fa6Smrg | --program-transform-nam | --program-transform-na \ 10048ae04fa6Smrg | --program-transform-n | --program-transform- \ 10058ae04fa6Smrg | --program-transform | --program-transfor \ 10068ae04fa6Smrg | --program-transfo | --program-transf \ 10078ae04fa6Smrg | --program-trans | --program-tran \ 10088ae04fa6Smrg | --progr-tra | --program-tr | --program-t) 10098ae04fa6Smrg ac_prev=program_transform_name ;; 10108ae04fa6Smrg -program-transform-name=* | --program-transform-name=* \ 10118ae04fa6Smrg | --program-transform-nam=* | --program-transform-na=* \ 10128ae04fa6Smrg | --program-transform-n=* | --program-transform-=* \ 10138ae04fa6Smrg | --program-transform=* | --program-transfor=* \ 10148ae04fa6Smrg | --program-transfo=* | --program-transf=* \ 10158ae04fa6Smrg | --program-trans=* | --program-tran=* \ 10168ae04fa6Smrg | --progr-tra=* | --program-tr=* | --program-t=*) 10178ae04fa6Smrg program_transform_name=$ac_optarg ;; 10188ae04fa6Smrg 10198ae04fa6Smrg -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 10208ae04fa6Smrg ac_prev=pdfdir ;; 10218ae04fa6Smrg -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 10228ae04fa6Smrg pdfdir=$ac_optarg ;; 10238ae04fa6Smrg 10248ae04fa6Smrg -psdir | --psdir | --psdi | --psd | --ps) 10258ae04fa6Smrg ac_prev=psdir ;; 10268ae04fa6Smrg -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 10278ae04fa6Smrg psdir=$ac_optarg ;; 10288ae04fa6Smrg 10298ae04fa6Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 10308ae04fa6Smrg | -silent | --silent | --silen | --sile | --sil) 10318ae04fa6Smrg silent=yes ;; 10328ae04fa6Smrg 10338ae04fa6Smrg -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 10348ae04fa6Smrg ac_prev=sbindir ;; 10358ae04fa6Smrg -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 10368ae04fa6Smrg | --sbi=* | --sb=*) 10378ae04fa6Smrg sbindir=$ac_optarg ;; 10388ae04fa6Smrg 10398ae04fa6Smrg -sharedstatedir | --sharedstatedir | --sharedstatedi \ 10408ae04fa6Smrg | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 10418ae04fa6Smrg | --sharedst | --shareds | --shared | --share | --shar \ 10428ae04fa6Smrg | --sha | --sh) 10438ae04fa6Smrg ac_prev=sharedstatedir ;; 10448ae04fa6Smrg -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 10458ae04fa6Smrg | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 10468ae04fa6Smrg | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 10478ae04fa6Smrg | --sha=* | --sh=*) 10488ae04fa6Smrg sharedstatedir=$ac_optarg ;; 10498ae04fa6Smrg 10508ae04fa6Smrg -site | --site | --sit) 10518ae04fa6Smrg ac_prev=site ;; 10528ae04fa6Smrg -site=* | --site=* | --sit=*) 10538ae04fa6Smrg site=$ac_optarg ;; 10548ae04fa6Smrg 10558ae04fa6Smrg -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 10568ae04fa6Smrg ac_prev=srcdir ;; 10578ae04fa6Smrg -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 10588ae04fa6Smrg srcdir=$ac_optarg ;; 10598ae04fa6Smrg 10608ae04fa6Smrg -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 10618ae04fa6Smrg | --syscon | --sysco | --sysc | --sys | --sy) 10628ae04fa6Smrg ac_prev=sysconfdir ;; 10638ae04fa6Smrg -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 10648ae04fa6Smrg | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 10658ae04fa6Smrg sysconfdir=$ac_optarg ;; 10668ae04fa6Smrg 10678ae04fa6Smrg -target | --target | --targe | --targ | --tar | --ta | --t) 10688ae04fa6Smrg ac_prev=target_alias ;; 10698ae04fa6Smrg -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 10708ae04fa6Smrg target_alias=$ac_optarg ;; 10718ae04fa6Smrg 10728ae04fa6Smrg -v | -verbose | --verbose | --verbos | --verbo | --verb) 10738ae04fa6Smrg verbose=yes ;; 10748ae04fa6Smrg 10758ae04fa6Smrg -version | --version | --versio | --versi | --vers | -V) 10768ae04fa6Smrg ac_init_version=: ;; 10778ae04fa6Smrg 10788ae04fa6Smrg -with-* | --with-*) 107944af7230Smrg ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 10808ae04fa6Smrg # Reject names that are not valid shell variable names. 108144af7230Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 10822d1d20fcSmrg as_fn_error $? "invalid package name: $ac_useropt" 108344af7230Smrg ac_useropt_orig=$ac_useropt 108444af7230Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 108544af7230Smrg case $ac_user_opts in 108644af7230Smrg *" 108744af7230Smrg"with_$ac_useropt" 108844af7230Smrg"*) ;; 108944af7230Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 109044af7230Smrg ac_unrecognized_sep=', ';; 109144af7230Smrg esac 109244af7230Smrg eval with_$ac_useropt=\$ac_optarg ;; 10938ae04fa6Smrg 10948ae04fa6Smrg -without-* | --without-*) 109544af7230Smrg ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 10968ae04fa6Smrg # Reject names that are not valid shell variable names. 109744af7230Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 10982d1d20fcSmrg as_fn_error $? "invalid package name: $ac_useropt" 109944af7230Smrg ac_useropt_orig=$ac_useropt 110044af7230Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 110144af7230Smrg case $ac_user_opts in 110244af7230Smrg *" 110344af7230Smrg"with_$ac_useropt" 110444af7230Smrg"*) ;; 110544af7230Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 110644af7230Smrg ac_unrecognized_sep=', ';; 110744af7230Smrg esac 110844af7230Smrg eval with_$ac_useropt=no ;; 11098ae04fa6Smrg 11108ae04fa6Smrg --x) 11118ae04fa6Smrg # Obsolete; use --with-x. 11128ae04fa6Smrg with_x=yes ;; 11138ae04fa6Smrg 11148ae04fa6Smrg -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 11158ae04fa6Smrg | --x-incl | --x-inc | --x-in | --x-i) 11168ae04fa6Smrg ac_prev=x_includes ;; 11178ae04fa6Smrg -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 11188ae04fa6Smrg | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 11198ae04fa6Smrg x_includes=$ac_optarg ;; 11208ae04fa6Smrg 11218ae04fa6Smrg -x-libraries | --x-libraries | --x-librarie | --x-librari \ 11228ae04fa6Smrg | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 11238ae04fa6Smrg ac_prev=x_libraries ;; 11248ae04fa6Smrg -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 11258ae04fa6Smrg | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 11268ae04fa6Smrg x_libraries=$ac_optarg ;; 11278ae04fa6Smrg 11282d1d20fcSmrg -*) as_fn_error $? "unrecognized option: \`$ac_option' 11292d1d20fcSmrgTry \`$0 --help' for more information" 11308ae04fa6Smrg ;; 11318ae04fa6Smrg 11328ae04fa6Smrg *=*) 11338ae04fa6Smrg ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 11348ae04fa6Smrg # Reject names that are not valid shell variable names. 11352d1d20fcSmrg case $ac_envvar in #( 11362d1d20fcSmrg '' | [0-9]* | *[!_$as_cr_alnum]* ) 11372d1d20fcSmrg as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 11382d1d20fcSmrg esac 11398ae04fa6Smrg eval $ac_envvar=\$ac_optarg 11408ae04fa6Smrg export $ac_envvar ;; 11418ae04fa6Smrg 11428ae04fa6Smrg *) 11438ae04fa6Smrg # FIXME: should be removed in autoconf 3.0. 114444af7230Smrg $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 11458ae04fa6Smrg expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 114644af7230Smrg $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 11472d1d20fcSmrg : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 11488ae04fa6Smrg ;; 11498ae04fa6Smrg 11508ae04fa6Smrg esac 11518ae04fa6Smrgdone 11528ae04fa6Smrg 11538ae04fa6Smrgif test -n "$ac_prev"; then 11548ae04fa6Smrg ac_option=--`echo $ac_prev | sed 's/_/-/g'` 11552d1d20fcSmrg as_fn_error $? "missing argument to $ac_option" 11568ae04fa6Smrgfi 11578ae04fa6Smrg 115844af7230Smrgif test -n "$ac_unrecognized_opts"; then 115944af7230Smrg case $enable_option_checking in 116044af7230Smrg no) ;; 11612d1d20fcSmrg fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 116244af7230Smrg *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 116344af7230Smrg esac 116444af7230Smrgfi 116544af7230Smrg 116644af7230Smrg# Check all directory arguments for consistency. 11678ae04fa6Smrgfor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 11688ae04fa6Smrg datadir sysconfdir sharedstatedir localstatedir includedir \ 11698ae04fa6Smrg oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 11708ae04fa6Smrg libdir localedir mandir 11718ae04fa6Smrgdo 11728ae04fa6Smrg eval ac_val=\$$ac_var 117344af7230Smrg # Remove trailing slashes. 117444af7230Smrg case $ac_val in 117544af7230Smrg */ ) 117644af7230Smrg ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 117744af7230Smrg eval $ac_var=\$ac_val;; 117844af7230Smrg esac 117944af7230Smrg # Be sure to have absolute directory names. 11808ae04fa6Smrg case $ac_val in 11818ae04fa6Smrg [\\/$]* | ?:[\\/]* ) continue;; 11828ae04fa6Smrg NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 11838ae04fa6Smrg esac 11842d1d20fcSmrg as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 11858ae04fa6Smrgdone 11868ae04fa6Smrg 11878ae04fa6Smrg# There might be people who depend on the old broken behavior: `$host' 11888ae04fa6Smrg# used to hold the argument of --host etc. 11898ae04fa6Smrg# FIXME: To remove some day. 11908ae04fa6Smrgbuild=$build_alias 11918ae04fa6Smrghost=$host_alias 11928ae04fa6Smrgtarget=$target_alias 11938ae04fa6Smrg 11948ae04fa6Smrg# FIXME: To remove some day. 11958ae04fa6Smrgif test "x$host_alias" != x; then 11968ae04fa6Smrg if test "x$build_alias" = x; then 11978ae04fa6Smrg cross_compiling=maybe 11982d1d20fcSmrg $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 11992d1d20fcSmrg If a cross compiler is detected then cross compile mode will be used" >&2 12008ae04fa6Smrg elif test "x$build_alias" != "x$host_alias"; then 12018ae04fa6Smrg cross_compiling=yes 12028ae04fa6Smrg fi 12038ae04fa6Smrgfi 12048ae04fa6Smrg 12058ae04fa6Smrgac_tool_prefix= 12068ae04fa6Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias- 12078ae04fa6Smrg 12088ae04fa6Smrgtest "$silent" = yes && exec 6>/dev/null 12098ae04fa6Smrg 12108ae04fa6Smrg 12118ae04fa6Smrgac_pwd=`pwd` && test -n "$ac_pwd" && 12128ae04fa6Smrgac_ls_di=`ls -di .` && 12138ae04fa6Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 12142d1d20fcSmrg as_fn_error $? "working directory cannot be determined" 12158ae04fa6Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" || 12162d1d20fcSmrg as_fn_error $? "pwd does not report name of working directory" 12178ae04fa6Smrg 12188ae04fa6Smrg 12198ae04fa6Smrg# Find the source files, if location was not specified. 12208ae04fa6Smrgif test -z "$srcdir"; then 12218ae04fa6Smrg ac_srcdir_defaulted=yes 12228ae04fa6Smrg # Try the directory containing this script, then the parent directory. 122344af7230Smrg ac_confdir=`$as_dirname -- "$as_myself" || 122444af7230Smrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 122544af7230Smrg X"$as_myself" : 'X\(//\)[^/]' \| \ 122644af7230Smrg X"$as_myself" : 'X\(//\)$' \| \ 122744af7230Smrg X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 122844af7230Smrg$as_echo X"$as_myself" | 12298ae04fa6Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12308ae04fa6Smrg s//\1/ 12318ae04fa6Smrg q 12328ae04fa6Smrg } 12338ae04fa6Smrg /^X\(\/\/\)[^/].*/{ 12348ae04fa6Smrg s//\1/ 12358ae04fa6Smrg q 12368ae04fa6Smrg } 12378ae04fa6Smrg /^X\(\/\/\)$/{ 12388ae04fa6Smrg s//\1/ 12398ae04fa6Smrg q 12408ae04fa6Smrg } 12418ae04fa6Smrg /^X\(\/\).*/{ 12428ae04fa6Smrg s//\1/ 12438ae04fa6Smrg q 12448ae04fa6Smrg } 12458ae04fa6Smrg s/.*/./; q'` 12468ae04fa6Smrg srcdir=$ac_confdir 12478ae04fa6Smrg if test ! -r "$srcdir/$ac_unique_file"; then 12488ae04fa6Smrg srcdir=.. 12498ae04fa6Smrg fi 12508ae04fa6Smrgelse 12518ae04fa6Smrg ac_srcdir_defaulted=no 12528ae04fa6Smrgfi 12538ae04fa6Smrgif test ! -r "$srcdir/$ac_unique_file"; then 12548ae04fa6Smrg test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 12552d1d20fcSmrg as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 12568ae04fa6Smrgfi 12578ae04fa6Smrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 12588ae04fa6Smrgac_abs_confdir=`( 12592d1d20fcSmrg cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 12608ae04fa6Smrg pwd)` 12618ae04fa6Smrg# When building in place, set srcdir=. 12628ae04fa6Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then 12638ae04fa6Smrg srcdir=. 12648ae04fa6Smrgfi 12658ae04fa6Smrg# Remove unnecessary trailing slashes from srcdir. 12668ae04fa6Smrg# Double slashes in file names in object file debugging info 12678ae04fa6Smrg# mess up M-x gdb in Emacs. 12688ae04fa6Smrgcase $srcdir in 12698ae04fa6Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 12708ae04fa6Smrgesac 12718ae04fa6Smrgfor ac_var in $ac_precious_vars; do 12728ae04fa6Smrg eval ac_env_${ac_var}_set=\${${ac_var}+set} 12738ae04fa6Smrg eval ac_env_${ac_var}_value=\$${ac_var} 12748ae04fa6Smrg eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 12758ae04fa6Smrg eval ac_cv_env_${ac_var}_value=\$${ac_var} 12768ae04fa6Smrgdone 12778ae04fa6Smrg 12788ae04fa6Smrg# 12798ae04fa6Smrg# Report the --help message. 12808ae04fa6Smrg# 12818ae04fa6Smrgif test "$ac_init_help" = "long"; then 12828ae04fa6Smrg # Omit some internal or obsolete options to make the list less imposing. 12838ae04fa6Smrg # This message is too long to be a string in the A/UX 3.1 sh. 12848ae04fa6Smrg cat <<_ACEOF 12852d1d20fcSmrg\`configure' configures xvinfo 1.1.1 to adapt to many kinds of systems. 12868ae04fa6Smrg 12878ae04fa6SmrgUsage: $0 [OPTION]... [VAR=VALUE]... 12888ae04fa6Smrg 12898ae04fa6SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as 12908ae04fa6SmrgVAR=VALUE. See below for descriptions of some of the useful variables. 12918ae04fa6Smrg 12928ae04fa6SmrgDefaults for the options are specified in brackets. 12938ae04fa6Smrg 12948ae04fa6SmrgConfiguration: 12958ae04fa6Smrg -h, --help display this help and exit 12968ae04fa6Smrg --help=short display options specific to this package 12978ae04fa6Smrg --help=recursive display the short help of all the included packages 12988ae04fa6Smrg -V, --version display version information and exit 12992d1d20fcSmrg -q, --quiet, --silent do not print \`checking ...' messages 13008ae04fa6Smrg --cache-file=FILE cache test results in FILE [disabled] 13018ae04fa6Smrg -C, --config-cache alias for \`--cache-file=config.cache' 13028ae04fa6Smrg -n, --no-create do not create output files 13038ae04fa6Smrg --srcdir=DIR find the sources in DIR [configure dir or \`..'] 13048ae04fa6Smrg 13058ae04fa6SmrgInstallation directories: 13068ae04fa6Smrg --prefix=PREFIX install architecture-independent files in PREFIX 130744af7230Smrg [$ac_default_prefix] 13088ae04fa6Smrg --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 130944af7230Smrg [PREFIX] 13108ae04fa6Smrg 13118ae04fa6SmrgBy default, \`make install' will install all the files in 13128ae04fa6Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 13138ae04fa6Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix', 13148ae04fa6Smrgfor instance \`--prefix=\$HOME'. 13158ae04fa6Smrg 13168ae04fa6SmrgFor better control, use the options below. 13178ae04fa6Smrg 13188ae04fa6SmrgFine tuning of the installation directories: 131944af7230Smrg --bindir=DIR user executables [EPREFIX/bin] 132044af7230Smrg --sbindir=DIR system admin executables [EPREFIX/sbin] 132144af7230Smrg --libexecdir=DIR program executables [EPREFIX/libexec] 132244af7230Smrg --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 132344af7230Smrg --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 132444af7230Smrg --localstatedir=DIR modifiable single-machine data [PREFIX/var] 132544af7230Smrg --libdir=DIR object code libraries [EPREFIX/lib] 132644af7230Smrg --includedir=DIR C header files [PREFIX/include] 132744af7230Smrg --oldincludedir=DIR C header files for non-gcc [/usr/include] 132844af7230Smrg --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 132944af7230Smrg --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 133044af7230Smrg --infodir=DIR info documentation [DATAROOTDIR/info] 133144af7230Smrg --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 133244af7230Smrg --mandir=DIR man documentation [DATAROOTDIR/man] 133344af7230Smrg --docdir=DIR documentation root [DATAROOTDIR/doc/xvinfo] 133444af7230Smrg --htmldir=DIR html documentation [DOCDIR] 133544af7230Smrg --dvidir=DIR dvi documentation [DOCDIR] 133644af7230Smrg --pdfdir=DIR pdf documentation [DOCDIR] 133744af7230Smrg --psdir=DIR ps documentation [DOCDIR] 13388ae04fa6Smrg_ACEOF 13398ae04fa6Smrg 13408ae04fa6Smrg cat <<\_ACEOF 13418ae04fa6Smrg 13428ae04fa6SmrgProgram names: 13438ae04fa6Smrg --program-prefix=PREFIX prepend PREFIX to installed program names 13448ae04fa6Smrg --program-suffix=SUFFIX append SUFFIX to installed program names 13458ae04fa6Smrg --program-transform-name=PROGRAM run sed PROGRAM on installed program names 13468ae04fa6Smrg 13478ae04fa6SmrgSystem types: 13488ae04fa6Smrg --build=BUILD configure for building on BUILD [guessed] 13498ae04fa6Smrg --host=HOST cross-compile to build programs to run on HOST [BUILD] 13508ae04fa6Smrg_ACEOF 13518ae04fa6Smrgfi 13528ae04fa6Smrg 13538ae04fa6Smrgif test -n "$ac_init_help"; then 13548ae04fa6Smrg case $ac_init_help in 13552d1d20fcSmrg short | recursive ) echo "Configuration of xvinfo 1.1.1:";; 13568ae04fa6Smrg esac 13578ae04fa6Smrg cat <<\_ACEOF 13588ae04fa6Smrg 13598ae04fa6SmrgOptional Features: 136044af7230Smrg --disable-option-checking ignore unrecognized --enable/--with options 13618ae04fa6Smrg --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 13628ae04fa6Smrg --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 13638ae04fa6Smrg --enable-maintainer-mode enable make rules and dependencies not useful 13648ae04fa6Smrg (and sometimes confusing) to the casual installer 13658ae04fa6Smrg --disable-dependency-tracking speeds up one-time build 13668ae04fa6Smrg --enable-dependency-tracking do not reject slow dependency extractors 136744af7230Smrg --enable-strict-compilation 136844af7230Smrg Enable all warnings from compiler and make them 136944af7230Smrg errors (default: disabled) 13702d1d20fcSmrg --enable-silent-rules less verbose build output (undo: `make V=1') 13712d1d20fcSmrg --disable-silent-rules verbose build output (undo: `make V=0') 13728ae04fa6Smrg 13738ae04fa6SmrgSome influential environment variables: 13748ae04fa6Smrg CC C compiler command 13758ae04fa6Smrg CFLAGS C compiler flags 13768ae04fa6Smrg LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 13778ae04fa6Smrg nonstandard directory <lib dir> 13788ae04fa6Smrg LIBS libraries to pass to the linker, e.g. -l<library> 13792d1d20fcSmrg CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 13808ae04fa6Smrg you have headers in a nonstandard directory <include dir> 138144af7230Smrg CPP C preprocessor 13828ae04fa6Smrg PKG_CONFIG path to pkg-config utility 13838ae04fa6Smrg XVINFO_CFLAGS 13848ae04fa6Smrg C compiler flags for XVINFO, overriding pkg-config 13858ae04fa6Smrg XVINFO_LIBS linker flags for XVINFO, overriding pkg-config 13868ae04fa6Smrg 13878ae04fa6SmrgUse these variables to override the choices made by `configure' or to help 13888ae04fa6Smrgit to find libraries and programs with nonstandard names/locations. 13898ae04fa6Smrg 13908ae04fa6SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 13918ae04fa6Smrg_ACEOF 13928ae04fa6Smrgac_status=$? 13938ae04fa6Smrgfi 13948ae04fa6Smrg 13958ae04fa6Smrgif test "$ac_init_help" = "recursive"; then 13968ae04fa6Smrg # If there are subdirs, report their specific --help. 13978ae04fa6Smrg for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 139844af7230Smrg test -d "$ac_dir" || 139944af7230Smrg { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 140044af7230Smrg continue 14018ae04fa6Smrg ac_builddir=. 14028ae04fa6Smrg 14038ae04fa6Smrgcase "$ac_dir" in 14048ae04fa6Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 14058ae04fa6Smrg*) 140644af7230Smrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 14078ae04fa6Smrg # A ".." for each directory in $ac_dir_suffix. 140844af7230Smrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 14098ae04fa6Smrg case $ac_top_builddir_sub in 14108ae04fa6Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 14118ae04fa6Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 14128ae04fa6Smrg esac ;; 14138ae04fa6Smrgesac 14148ae04fa6Smrgac_abs_top_builddir=$ac_pwd 14158ae04fa6Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 14168ae04fa6Smrg# for backward compatibility: 14178ae04fa6Smrgac_top_builddir=$ac_top_build_prefix 14188ae04fa6Smrg 14198ae04fa6Smrgcase $srcdir in 14208ae04fa6Smrg .) # We are building in place. 14218ae04fa6Smrg ac_srcdir=. 14228ae04fa6Smrg ac_top_srcdir=$ac_top_builddir_sub 14238ae04fa6Smrg ac_abs_top_srcdir=$ac_pwd ;; 14248ae04fa6Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 14258ae04fa6Smrg ac_srcdir=$srcdir$ac_dir_suffix; 14268ae04fa6Smrg ac_top_srcdir=$srcdir 14278ae04fa6Smrg ac_abs_top_srcdir=$srcdir ;; 14288ae04fa6Smrg *) # Relative name. 14298ae04fa6Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 14308ae04fa6Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 14318ae04fa6Smrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 14328ae04fa6Smrgesac 14338ae04fa6Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 14348ae04fa6Smrg 14358ae04fa6Smrg cd "$ac_dir" || { ac_status=$?; continue; } 14368ae04fa6Smrg # Check for guested configure. 14378ae04fa6Smrg if test -f "$ac_srcdir/configure.gnu"; then 14388ae04fa6Smrg echo && 14398ae04fa6Smrg $SHELL "$ac_srcdir/configure.gnu" --help=recursive 14408ae04fa6Smrg elif test -f "$ac_srcdir/configure"; then 14418ae04fa6Smrg echo && 14428ae04fa6Smrg $SHELL "$ac_srcdir/configure" --help=recursive 14438ae04fa6Smrg else 144444af7230Smrg $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 14458ae04fa6Smrg fi || ac_status=$? 14468ae04fa6Smrg cd "$ac_pwd" || { ac_status=$?; break; } 14478ae04fa6Smrg done 14488ae04fa6Smrgfi 14498ae04fa6Smrg 14508ae04fa6Smrgtest -n "$ac_init_help" && exit $ac_status 14518ae04fa6Smrgif $ac_init_version; then 14528ae04fa6Smrg cat <<\_ACEOF 14532d1d20fcSmrgxvinfo configure 1.1.1 14542d1d20fcSmrggenerated by GNU Autoconf 2.68 14558ae04fa6Smrg 14562d1d20fcSmrgCopyright (C) 2010 Free Software Foundation, Inc. 14578ae04fa6SmrgThis configure script is free software; the Free Software Foundation 14588ae04fa6Smrggives unlimited permission to copy, distribute and modify it. 14598ae04fa6Smrg_ACEOF 14608ae04fa6Smrg exit 14618ae04fa6Smrgfi 14628ae04fa6Smrg 14632d1d20fcSmrg## ------------------------ ## 14642d1d20fcSmrg## Autoconf initialization. ## 14652d1d20fcSmrg## ------------------------ ## 14668ae04fa6Smrg 14672d1d20fcSmrg# ac_fn_c_try_compile LINENO 14682d1d20fcSmrg# -------------------------- 14692d1d20fcSmrg# Try to compile conftest.$ac_ext, and return whether this succeeded. 14702d1d20fcSmrgac_fn_c_try_compile () 14718ae04fa6Smrg{ 14722d1d20fcSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 14732d1d20fcSmrg rm -f conftest.$ac_objext 14742d1d20fcSmrg if { { ac_try="$ac_compile" 14752d1d20fcSmrgcase "(($ac_try" in 14762d1d20fcSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14772d1d20fcSmrg *) ac_try_echo=$ac_try;; 14782d1d20fcSmrgesac 14792d1d20fcSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 14802d1d20fcSmrg$as_echo "$ac_try_echo"; } >&5 14812d1d20fcSmrg (eval "$ac_compile") 2>conftest.err 14822d1d20fcSmrg ac_status=$? 14832d1d20fcSmrg if test -s conftest.err; then 14842d1d20fcSmrg grep -v '^ *+' conftest.err >conftest.er1 14852d1d20fcSmrg cat conftest.er1 >&5 14862d1d20fcSmrg mv -f conftest.er1 conftest.err 14872d1d20fcSmrg fi 14882d1d20fcSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14892d1d20fcSmrg test $ac_status = 0; } && { 14902d1d20fcSmrg test -z "$ac_c_werror_flag" || 14912d1d20fcSmrg test ! -s conftest.err 14922d1d20fcSmrg } && test -s conftest.$ac_objext; then : 14932d1d20fcSmrg ac_retval=0 14942d1d20fcSmrgelse 14952d1d20fcSmrg $as_echo "$as_me: failed program was:" >&5 14962d1d20fcSmrgsed 's/^/| /' conftest.$ac_ext >&5 14978ae04fa6Smrg 14982d1d20fcSmrg ac_retval=1 14992d1d20fcSmrgfi 15002d1d20fcSmrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 15012d1d20fcSmrg as_fn_set_status $ac_retval 15028ae04fa6Smrg 15032d1d20fcSmrg} # ac_fn_c_try_compile 15048ae04fa6Smrg 15052d1d20fcSmrg# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 15062d1d20fcSmrg# --------------------------------------------- 15072d1d20fcSmrg# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 15082d1d20fcSmrg# accordingly. 15092d1d20fcSmrgac_fn_c_check_decl () 15102d1d20fcSmrg{ 15112d1d20fcSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 15122d1d20fcSmrg as_decl_name=`echo $2|sed 's/ *(.*//'` 15132d1d20fcSmrg as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 15142d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 15152d1d20fcSmrg$as_echo_n "checking whether $as_decl_name is declared... " >&6; } 15162d1d20fcSmrgif eval \${$3+:} false; then : 15172d1d20fcSmrg $as_echo_n "(cached) " >&6 15182d1d20fcSmrgelse 15192d1d20fcSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15202d1d20fcSmrg/* end confdefs.h. */ 15212d1d20fcSmrg$4 15222d1d20fcSmrgint 15232d1d20fcSmrgmain () 15242d1d20fcSmrg{ 15252d1d20fcSmrg#ifndef $as_decl_name 15262d1d20fcSmrg#ifdef __cplusplus 15272d1d20fcSmrg (void) $as_decl_use; 15282d1d20fcSmrg#else 15292d1d20fcSmrg (void) $as_decl_name; 15302d1d20fcSmrg#endif 15312d1d20fcSmrg#endif 15322d1d20fcSmrg 15332d1d20fcSmrg ; 15342d1d20fcSmrg return 0; 15352d1d20fcSmrg} 15362d1d20fcSmrg_ACEOF 15372d1d20fcSmrgif ac_fn_c_try_compile "$LINENO"; then : 15382d1d20fcSmrg eval "$3=yes" 15392d1d20fcSmrgelse 15402d1d20fcSmrg eval "$3=no" 15412d1d20fcSmrgfi 15422d1d20fcSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15432d1d20fcSmrgfi 15442d1d20fcSmrgeval ac_res=\$$3 15452d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 15462d1d20fcSmrg$as_echo "$ac_res" >&6; } 15472d1d20fcSmrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 15482d1d20fcSmrg 15492d1d20fcSmrg} # ac_fn_c_check_decl 15502d1d20fcSmrg 15512d1d20fcSmrg# ac_fn_c_try_cpp LINENO 15522d1d20fcSmrg# ---------------------- 15532d1d20fcSmrg# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 15542d1d20fcSmrgac_fn_c_try_cpp () 15552d1d20fcSmrg{ 15562d1d20fcSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 15572d1d20fcSmrg if { { ac_try="$ac_cpp conftest.$ac_ext" 15582d1d20fcSmrgcase "(($ac_try" in 15592d1d20fcSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15602d1d20fcSmrg *) ac_try_echo=$ac_try;; 15612d1d20fcSmrgesac 15622d1d20fcSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 15632d1d20fcSmrg$as_echo "$ac_try_echo"; } >&5 15642d1d20fcSmrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 15652d1d20fcSmrg ac_status=$? 15662d1d20fcSmrg if test -s conftest.err; then 15672d1d20fcSmrg grep -v '^ *+' conftest.err >conftest.er1 15682d1d20fcSmrg cat conftest.er1 >&5 15692d1d20fcSmrg mv -f conftest.er1 conftest.err 15702d1d20fcSmrg fi 15712d1d20fcSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15722d1d20fcSmrg test $ac_status = 0; } > conftest.i && { 15732d1d20fcSmrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 15742d1d20fcSmrg test ! -s conftest.err 15752d1d20fcSmrg }; then : 15762d1d20fcSmrg ac_retval=0 15772d1d20fcSmrgelse 15782d1d20fcSmrg $as_echo "$as_me: failed program was:" >&5 15792d1d20fcSmrgsed 's/^/| /' conftest.$ac_ext >&5 15802d1d20fcSmrg 15812d1d20fcSmrg ac_retval=1 15822d1d20fcSmrgfi 15832d1d20fcSmrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 15842d1d20fcSmrg as_fn_set_status $ac_retval 15852d1d20fcSmrg 15862d1d20fcSmrg} # ac_fn_c_try_cpp 15872d1d20fcSmrg 15882d1d20fcSmrg# ac_fn_c_try_run LINENO 15892d1d20fcSmrg# ---------------------- 15902d1d20fcSmrg# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 15912d1d20fcSmrg# that executables *can* be run. 15922d1d20fcSmrgac_fn_c_try_run () 15932d1d20fcSmrg{ 15942d1d20fcSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 15952d1d20fcSmrg if { { ac_try="$ac_link" 15962d1d20fcSmrgcase "(($ac_try" in 15972d1d20fcSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15982d1d20fcSmrg *) ac_try_echo=$ac_try;; 15992d1d20fcSmrgesac 16002d1d20fcSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 16012d1d20fcSmrg$as_echo "$ac_try_echo"; } >&5 16022d1d20fcSmrg (eval "$ac_link") 2>&5 16032d1d20fcSmrg ac_status=$? 16042d1d20fcSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16052d1d20fcSmrg test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 16062d1d20fcSmrg { { case "(($ac_try" in 16072d1d20fcSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16082d1d20fcSmrg *) ac_try_echo=$ac_try;; 16092d1d20fcSmrgesac 16102d1d20fcSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 16112d1d20fcSmrg$as_echo "$ac_try_echo"; } >&5 16122d1d20fcSmrg (eval "$ac_try") 2>&5 16132d1d20fcSmrg ac_status=$? 16142d1d20fcSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16152d1d20fcSmrg test $ac_status = 0; }; }; then : 16162d1d20fcSmrg ac_retval=0 16172d1d20fcSmrgelse 16182d1d20fcSmrg $as_echo "$as_me: program exited with status $ac_status" >&5 16192d1d20fcSmrg $as_echo "$as_me: failed program was:" >&5 16202d1d20fcSmrgsed 's/^/| /' conftest.$ac_ext >&5 16212d1d20fcSmrg 16222d1d20fcSmrg ac_retval=$ac_status 16232d1d20fcSmrgfi 16242d1d20fcSmrg rm -rf conftest.dSYM conftest_ipa8_conftest.oo 16252d1d20fcSmrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 16262d1d20fcSmrg as_fn_set_status $ac_retval 16272d1d20fcSmrg 16282d1d20fcSmrg} # ac_fn_c_try_run 16292d1d20fcSmrg 16302d1d20fcSmrg# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 16312d1d20fcSmrg# ------------------------------------------------------- 16322d1d20fcSmrg# Tests whether HEADER exists and can be compiled using the include files in 16332d1d20fcSmrg# INCLUDES, setting the cache variable VAR accordingly. 16342d1d20fcSmrgac_fn_c_check_header_compile () 16352d1d20fcSmrg{ 16362d1d20fcSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 16372d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 16382d1d20fcSmrg$as_echo_n "checking for $2... " >&6; } 16392d1d20fcSmrgif eval \${$3+:} false; then : 16402d1d20fcSmrg $as_echo_n "(cached) " >&6 16412d1d20fcSmrgelse 16422d1d20fcSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16432d1d20fcSmrg/* end confdefs.h. */ 16442d1d20fcSmrg$4 16452d1d20fcSmrg#include <$2> 16462d1d20fcSmrg_ACEOF 16472d1d20fcSmrgif ac_fn_c_try_compile "$LINENO"; then : 16482d1d20fcSmrg eval "$3=yes" 16492d1d20fcSmrgelse 16502d1d20fcSmrg eval "$3=no" 16512d1d20fcSmrgfi 16522d1d20fcSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16532d1d20fcSmrgfi 16542d1d20fcSmrgeval ac_res=\$$3 16552d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 16562d1d20fcSmrg$as_echo "$ac_res" >&6; } 16572d1d20fcSmrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 16582d1d20fcSmrg 16592d1d20fcSmrg} # ac_fn_c_check_header_compile 16602d1d20fcSmrgcat >config.log <<_ACEOF 16612d1d20fcSmrgThis file contains any messages produced by compilers while 16622d1d20fcSmrgrunning configure, to aid debugging if configure makes a mistake. 16632d1d20fcSmrg 16642d1d20fcSmrgIt was created by xvinfo $as_me 1.1.1, which was 16652d1d20fcSmrggenerated by GNU Autoconf 2.68. Invocation command line was 16662d1d20fcSmrg 16672d1d20fcSmrg $ $0 $@ 16682d1d20fcSmrg 16692d1d20fcSmrg_ACEOF 16702d1d20fcSmrgexec 5>>config.log 16712d1d20fcSmrg{ 16722d1d20fcSmrgcat <<_ASUNAME 16732d1d20fcSmrg## --------- ## 16742d1d20fcSmrg## Platform. ## 16752d1d20fcSmrg## --------- ## 16762d1d20fcSmrg 16772d1d20fcSmrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 16782d1d20fcSmrguname -m = `(uname -m) 2>/dev/null || echo unknown` 16792d1d20fcSmrguname -r = `(uname -r) 2>/dev/null || echo unknown` 16802d1d20fcSmrguname -s = `(uname -s) 2>/dev/null || echo unknown` 16812d1d20fcSmrguname -v = `(uname -v) 2>/dev/null || echo unknown` 16822d1d20fcSmrg 16832d1d20fcSmrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 16842d1d20fcSmrg/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 16852d1d20fcSmrg 16862d1d20fcSmrg/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 16872d1d20fcSmrg/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 16882d1d20fcSmrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 16892d1d20fcSmrg/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 16902d1d20fcSmrg/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 16912d1d20fcSmrg/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 16922d1d20fcSmrg/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 16932d1d20fcSmrg 16942d1d20fcSmrg_ASUNAME 16952d1d20fcSmrg 16962d1d20fcSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16978ae04fa6Smrgfor as_dir in $PATH 16988ae04fa6Smrgdo 16998ae04fa6Smrg IFS=$as_save_IFS 17008ae04fa6Smrg test -z "$as_dir" && as_dir=. 17012d1d20fcSmrg $as_echo "PATH: $as_dir" 17022d1d20fcSmrg done 17038ae04fa6SmrgIFS=$as_save_IFS 17048ae04fa6Smrg 17058ae04fa6Smrg} >&5 17068ae04fa6Smrg 17078ae04fa6Smrgcat >&5 <<_ACEOF 17088ae04fa6Smrg 17098ae04fa6Smrg 17108ae04fa6Smrg## ----------- ## 17118ae04fa6Smrg## Core tests. ## 17128ae04fa6Smrg## ----------- ## 17138ae04fa6Smrg 17148ae04fa6Smrg_ACEOF 17158ae04fa6Smrg 17168ae04fa6Smrg 17178ae04fa6Smrg# Keep a trace of the command line. 17188ae04fa6Smrg# Strip out --no-create and --no-recursion so they do not pile up. 17198ae04fa6Smrg# Strip out --silent because we don't want to record it for future runs. 17208ae04fa6Smrg# Also quote any args containing shell meta-characters. 17218ae04fa6Smrg# Make two passes to allow for proper duplicate-argument suppression. 17228ae04fa6Smrgac_configure_args= 17238ae04fa6Smrgac_configure_args0= 17248ae04fa6Smrgac_configure_args1= 17258ae04fa6Smrgac_must_keep_next=false 17268ae04fa6Smrgfor ac_pass in 1 2 17278ae04fa6Smrgdo 17288ae04fa6Smrg for ac_arg 17298ae04fa6Smrg do 17308ae04fa6Smrg case $ac_arg in 17318ae04fa6Smrg -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 17328ae04fa6Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 17338ae04fa6Smrg | -silent | --silent | --silen | --sile | --sil) 17348ae04fa6Smrg continue ;; 17358ae04fa6Smrg *\'*) 173644af7230Smrg ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 17378ae04fa6Smrg esac 17388ae04fa6Smrg case $ac_pass in 17392d1d20fcSmrg 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 17408ae04fa6Smrg 2) 17412d1d20fcSmrg as_fn_append ac_configure_args1 " '$ac_arg'" 17428ae04fa6Smrg if test $ac_must_keep_next = true; then 17438ae04fa6Smrg ac_must_keep_next=false # Got value, back to normal. 17448ae04fa6Smrg else 17458ae04fa6Smrg case $ac_arg in 17468ae04fa6Smrg *=* | --config-cache | -C | -disable-* | --disable-* \ 17478ae04fa6Smrg | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 17488ae04fa6Smrg | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 17498ae04fa6Smrg | -with-* | --with-* | -without-* | --without-* | --x) 17508ae04fa6Smrg case "$ac_configure_args0 " in 17518ae04fa6Smrg "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 17528ae04fa6Smrg esac 17538ae04fa6Smrg ;; 17548ae04fa6Smrg -* ) ac_must_keep_next=true ;; 17558ae04fa6Smrg esac 17568ae04fa6Smrg fi 17572d1d20fcSmrg as_fn_append ac_configure_args " '$ac_arg'" 17588ae04fa6Smrg ;; 17598ae04fa6Smrg esac 17608ae04fa6Smrg done 17618ae04fa6Smrgdone 17622d1d20fcSmrg{ ac_configure_args0=; unset ac_configure_args0;} 17632d1d20fcSmrg{ ac_configure_args1=; unset ac_configure_args1;} 17648ae04fa6Smrg 17658ae04fa6Smrg# When interrupted or exit'd, cleanup temporary files, and complete 17668ae04fa6Smrg# config.log. We remove comments because anyway the quotes in there 17678ae04fa6Smrg# would cause problems or look ugly. 17688ae04fa6Smrg# WARNING: Use '\'' to represent an apostrophe within the trap. 17698ae04fa6Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 17708ae04fa6Smrgtrap 'exit_status=$? 17718ae04fa6Smrg # Save into config.log some information that might help in debugging. 17728ae04fa6Smrg { 17738ae04fa6Smrg echo 17748ae04fa6Smrg 17752d1d20fcSmrg $as_echo "## ---------------- ## 17768ae04fa6Smrg## Cache variables. ## 17772d1d20fcSmrg## ---------------- ##" 17788ae04fa6Smrg echo 17798ae04fa6Smrg # The following way of writing the cache mishandles newlines in values, 17808ae04fa6Smrg( 17818ae04fa6Smrg for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 17828ae04fa6Smrg eval ac_val=\$$ac_var 17838ae04fa6Smrg case $ac_val in #( 17848ae04fa6Smrg *${as_nl}*) 17858ae04fa6Smrg case $ac_var in #( 17862d1d20fcSmrg *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 178744af7230Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 17888ae04fa6Smrg esac 17898ae04fa6Smrg case $ac_var in #( 17908ae04fa6Smrg _ | IFS | as_nl) ;; #( 179144af7230Smrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 17922d1d20fcSmrg *) { eval $ac_var=; unset $ac_var;} ;; 17938ae04fa6Smrg esac ;; 17948ae04fa6Smrg esac 17958ae04fa6Smrg done 17968ae04fa6Smrg (set) 2>&1 | 17978ae04fa6Smrg case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 17988ae04fa6Smrg *${as_nl}ac_space=\ *) 17998ae04fa6Smrg sed -n \ 18008ae04fa6Smrg "s/'\''/'\''\\\\'\'''\''/g; 18018ae04fa6Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 18028ae04fa6Smrg ;; #( 18038ae04fa6Smrg *) 18048ae04fa6Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 18058ae04fa6Smrg ;; 18068ae04fa6Smrg esac | 18078ae04fa6Smrg sort 18088ae04fa6Smrg) 18098ae04fa6Smrg echo 18108ae04fa6Smrg 18112d1d20fcSmrg $as_echo "## ----------------- ## 18128ae04fa6Smrg## Output variables. ## 18132d1d20fcSmrg## ----------------- ##" 18148ae04fa6Smrg echo 18158ae04fa6Smrg for ac_var in $ac_subst_vars 18168ae04fa6Smrg do 18178ae04fa6Smrg eval ac_val=\$$ac_var 18188ae04fa6Smrg case $ac_val in 181944af7230Smrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 18208ae04fa6Smrg esac 182144af7230Smrg $as_echo "$ac_var='\''$ac_val'\''" 18228ae04fa6Smrg done | sort 18238ae04fa6Smrg echo 18248ae04fa6Smrg 18258ae04fa6Smrg if test -n "$ac_subst_files"; then 18262d1d20fcSmrg $as_echo "## ------------------- ## 18278ae04fa6Smrg## File substitutions. ## 18282d1d20fcSmrg## ------------------- ##" 18298ae04fa6Smrg echo 18308ae04fa6Smrg for ac_var in $ac_subst_files 18318ae04fa6Smrg do 18328ae04fa6Smrg eval ac_val=\$$ac_var 18338ae04fa6Smrg case $ac_val in 183444af7230Smrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 18358ae04fa6Smrg esac 183644af7230Smrg $as_echo "$ac_var='\''$ac_val'\''" 18378ae04fa6Smrg done | sort 18388ae04fa6Smrg echo 18398ae04fa6Smrg fi 18408ae04fa6Smrg 18418ae04fa6Smrg if test -s confdefs.h; then 18422d1d20fcSmrg $as_echo "## ----------- ## 18438ae04fa6Smrg## confdefs.h. ## 18442d1d20fcSmrg## ----------- ##" 18458ae04fa6Smrg echo 18468ae04fa6Smrg cat confdefs.h 18478ae04fa6Smrg echo 18488ae04fa6Smrg fi 18498ae04fa6Smrg test "$ac_signal" != 0 && 185044af7230Smrg $as_echo "$as_me: caught signal $ac_signal" 185144af7230Smrg $as_echo "$as_me: exit $exit_status" 18528ae04fa6Smrg } >&5 18538ae04fa6Smrg rm -f core *.core core.conftest.* && 18548ae04fa6Smrg rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 18558ae04fa6Smrg exit $exit_status 18568ae04fa6Smrg' 0 18578ae04fa6Smrgfor ac_signal in 1 2 13 15; do 18582d1d20fcSmrg trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 18598ae04fa6Smrgdone 18608ae04fa6Smrgac_signal=0 18618ae04fa6Smrg 18628ae04fa6Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed. 18638ae04fa6Smrgrm -f -r conftest* confdefs.h 18648ae04fa6Smrg 18652d1d20fcSmrg$as_echo "/* confdefs.h */" > confdefs.h 18662d1d20fcSmrg 18678ae04fa6Smrg# Predefined preprocessor variables. 18688ae04fa6Smrg 18698ae04fa6Smrgcat >>confdefs.h <<_ACEOF 18708ae04fa6Smrg#define PACKAGE_NAME "$PACKAGE_NAME" 18718ae04fa6Smrg_ACEOF 18728ae04fa6Smrg 18738ae04fa6Smrgcat >>confdefs.h <<_ACEOF 18748ae04fa6Smrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 18758ae04fa6Smrg_ACEOF 18768ae04fa6Smrg 18778ae04fa6Smrgcat >>confdefs.h <<_ACEOF 18788ae04fa6Smrg#define PACKAGE_VERSION "$PACKAGE_VERSION" 18798ae04fa6Smrg_ACEOF 18808ae04fa6Smrg 18818ae04fa6Smrgcat >>confdefs.h <<_ACEOF 18828ae04fa6Smrg#define PACKAGE_STRING "$PACKAGE_STRING" 18838ae04fa6Smrg_ACEOF 18848ae04fa6Smrg 18858ae04fa6Smrgcat >>confdefs.h <<_ACEOF 18868ae04fa6Smrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 18878ae04fa6Smrg_ACEOF 18888ae04fa6Smrg 18892d1d20fcSmrgcat >>confdefs.h <<_ACEOF 18902d1d20fcSmrg#define PACKAGE_URL "$PACKAGE_URL" 18912d1d20fcSmrg_ACEOF 18922d1d20fcSmrg 18938ae04fa6Smrg 18948ae04fa6Smrg# Let the site file select an alternate cache file if it wants to. 189544af7230Smrg# Prefer an explicitly selected file to automatically selected ones. 189644af7230Smrgac_site_file1=NONE 189744af7230Smrgac_site_file2=NONE 18988ae04fa6Smrgif test -n "$CONFIG_SITE"; then 18992d1d20fcSmrg # We do not want a PATH search for config.site. 19002d1d20fcSmrg case $CONFIG_SITE in #(( 19012d1d20fcSmrg -*) ac_site_file1=./$CONFIG_SITE;; 19022d1d20fcSmrg */*) ac_site_file1=$CONFIG_SITE;; 19032d1d20fcSmrg *) ac_site_file1=./$CONFIG_SITE;; 19042d1d20fcSmrg esac 19058ae04fa6Smrgelif test "x$prefix" != xNONE; then 190644af7230Smrg ac_site_file1=$prefix/share/config.site 190744af7230Smrg ac_site_file2=$prefix/etc/config.site 19088ae04fa6Smrgelse 190944af7230Smrg ac_site_file1=$ac_default_prefix/share/config.site 191044af7230Smrg ac_site_file2=$ac_default_prefix/etc/config.site 19118ae04fa6Smrgfi 191244af7230Smrgfor ac_site_file in "$ac_site_file1" "$ac_site_file2" 19138ae04fa6Smrgdo 191444af7230Smrg test "x$ac_site_file" = xNONE && continue 19152d1d20fcSmrg if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 19162d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 191744af7230Smrg$as_echo "$as_me: loading site script $ac_site_file" >&6;} 19188ae04fa6Smrg sed 's/^/| /' "$ac_site_file" >&5 19192d1d20fcSmrg . "$ac_site_file" \ 19202d1d20fcSmrg || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19212d1d20fcSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19222d1d20fcSmrgas_fn_error $? "failed to load site script $ac_site_file 19232d1d20fcSmrgSee \`config.log' for more details" "$LINENO" 5; } 19248ae04fa6Smrg fi 19258ae04fa6Smrgdone 19268ae04fa6Smrg 19278ae04fa6Smrgif test -r "$cache_file"; then 19282d1d20fcSmrg # Some versions of bash will fail to source /dev/null (special files 19292d1d20fcSmrg # actually), so we avoid doing that. DJGPP emulates it as a regular file. 19302d1d20fcSmrg if test /dev/null != "$cache_file" && test -f "$cache_file"; then 19312d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 193244af7230Smrg$as_echo "$as_me: loading cache $cache_file" >&6;} 19338ae04fa6Smrg case $cache_file in 19348ae04fa6Smrg [\\/]* | ?:[\\/]* ) . "$cache_file";; 19358ae04fa6Smrg *) . "./$cache_file";; 19368ae04fa6Smrg esac 19378ae04fa6Smrg fi 19388ae04fa6Smrgelse 19392d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 194044af7230Smrg$as_echo "$as_me: creating cache $cache_file" >&6;} 19418ae04fa6Smrg >$cache_file 19428ae04fa6Smrgfi 19438ae04fa6Smrg 19448ae04fa6Smrg# Check that the precious variables saved in the cache have kept the same 19458ae04fa6Smrg# value. 19468ae04fa6Smrgac_cache_corrupted=false 19478ae04fa6Smrgfor ac_var in $ac_precious_vars; do 19488ae04fa6Smrg eval ac_old_set=\$ac_cv_env_${ac_var}_set 19498ae04fa6Smrg eval ac_new_set=\$ac_env_${ac_var}_set 19508ae04fa6Smrg eval ac_old_val=\$ac_cv_env_${ac_var}_value 19518ae04fa6Smrg eval ac_new_val=\$ac_env_${ac_var}_value 19528ae04fa6Smrg case $ac_old_set,$ac_new_set in 19538ae04fa6Smrg set,) 19542d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 195544af7230Smrg$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 19568ae04fa6Smrg ac_cache_corrupted=: ;; 19578ae04fa6Smrg ,set) 19582d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 195944af7230Smrg$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 19608ae04fa6Smrg ac_cache_corrupted=: ;; 19618ae04fa6Smrg ,);; 19628ae04fa6Smrg *) 19638ae04fa6Smrg if test "x$ac_old_val" != "x$ac_new_val"; then 196444af7230Smrg # differences in whitespace do not lead to failure. 196544af7230Smrg ac_old_val_w=`echo x $ac_old_val` 196644af7230Smrg ac_new_val_w=`echo x $ac_new_val` 196744af7230Smrg if test "$ac_old_val_w" != "$ac_new_val_w"; then 19682d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 196944af7230Smrg$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 197044af7230Smrg ac_cache_corrupted=: 197144af7230Smrg else 19722d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 197344af7230Smrg$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 197444af7230Smrg eval $ac_var=\$ac_old_val 197544af7230Smrg fi 19762d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 197744af7230Smrg$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 19782d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 197944af7230Smrg$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 19808ae04fa6Smrg fi;; 19818ae04fa6Smrg esac 19828ae04fa6Smrg # Pass precious variables to config.status. 19838ae04fa6Smrg if test "$ac_new_set" = set; then 19848ae04fa6Smrg case $ac_new_val in 198544af7230Smrg *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 19868ae04fa6Smrg *) ac_arg=$ac_var=$ac_new_val ;; 19878ae04fa6Smrg esac 19888ae04fa6Smrg case " $ac_configure_args " in 19898ae04fa6Smrg *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 19902d1d20fcSmrg *) as_fn_append ac_configure_args " '$ac_arg'" ;; 19918ae04fa6Smrg esac 19928ae04fa6Smrg fi 19938ae04fa6Smrgdone 19948ae04fa6Smrgif $ac_cache_corrupted; then 19952d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 199644af7230Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19972d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 199844af7230Smrg$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 19992d1d20fcSmrg as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 20008ae04fa6Smrgfi 20012d1d20fcSmrg## -------------------- ## 20022d1d20fcSmrg## Main body of script. ## 20032d1d20fcSmrg## -------------------- ## 20048ae04fa6Smrg 20058ae04fa6Smrgac_ext=c 20068ae04fa6Smrgac_cpp='$CPP $CPPFLAGS' 20078ae04fa6Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 20088ae04fa6Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 20098ae04fa6Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 20108ae04fa6Smrg 20118ae04fa6Smrg 201244af7230Smrgam__api_version='1.11' 20138ae04fa6Smrg 20148ae04fa6Smrgac_aux_dir= 20158ae04fa6Smrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 20168ae04fa6Smrg if test -f "$ac_dir/install-sh"; then 20178ae04fa6Smrg ac_aux_dir=$ac_dir 20188ae04fa6Smrg ac_install_sh="$ac_aux_dir/install-sh -c" 20198ae04fa6Smrg break 20208ae04fa6Smrg elif test -f "$ac_dir/install.sh"; then 20218ae04fa6Smrg ac_aux_dir=$ac_dir 20228ae04fa6Smrg ac_install_sh="$ac_aux_dir/install.sh -c" 20238ae04fa6Smrg break 20248ae04fa6Smrg elif test -f "$ac_dir/shtool"; then 20258ae04fa6Smrg ac_aux_dir=$ac_dir 20268ae04fa6Smrg ac_install_sh="$ac_aux_dir/shtool install -c" 20278ae04fa6Smrg break 20288ae04fa6Smrg fi 20298ae04fa6Smrgdone 20308ae04fa6Smrgif test -z "$ac_aux_dir"; then 20312d1d20fcSmrg as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 20328ae04fa6Smrgfi 20338ae04fa6Smrg 20348ae04fa6Smrg# These three variables are undocumented and unsupported, 20358ae04fa6Smrg# and are intended to be withdrawn in a future Autoconf release. 20368ae04fa6Smrg# They can cause serious problems if a builder's source tree is in a directory 20378ae04fa6Smrg# whose full name contains unusual characters. 20388ae04fa6Smrgac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 20398ae04fa6Smrgac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 20408ae04fa6Smrgac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 20418ae04fa6Smrg 20428ae04fa6Smrg 20438ae04fa6Smrg# Find a good install program. We prefer a C program (faster), 20448ae04fa6Smrg# so one script is as good as another. But avoid the broken or 20458ae04fa6Smrg# incompatible versions: 20468ae04fa6Smrg# SysV /etc/install, /usr/sbin/install 20478ae04fa6Smrg# SunOS /usr/etc/install 20488ae04fa6Smrg# IRIX /sbin/install 20498ae04fa6Smrg# AIX /bin/install 20508ae04fa6Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs 20518ae04fa6Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 20528ae04fa6Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 20538ae04fa6Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 20548ae04fa6Smrg# OS/2's system install, which has a completely different semantic 20558ae04fa6Smrg# ./install, which can be erroneously created by make from ./install.sh. 205644af7230Smrg# Reject install programs that cannot install multiple files. 20572d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 205844af7230Smrg$as_echo_n "checking for a BSD-compatible install... " >&6; } 20598ae04fa6Smrgif test -z "$INSTALL"; then 20602d1d20fcSmrgif ${ac_cv_path_install+:} false; then : 206144af7230Smrg $as_echo_n "(cached) " >&6 20628ae04fa6Smrgelse 20638ae04fa6Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 20648ae04fa6Smrgfor as_dir in $PATH 20658ae04fa6Smrgdo 20668ae04fa6Smrg IFS=$as_save_IFS 20678ae04fa6Smrg test -z "$as_dir" && as_dir=. 20682d1d20fcSmrg # Account for people who put trailing slashes in PATH elements. 20692d1d20fcSmrgcase $as_dir/ in #(( 20702d1d20fcSmrg ./ | .// | /[cC]/* | \ 20718ae04fa6Smrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 20722d1d20fcSmrg ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 20738ae04fa6Smrg /usr/ucb/* ) ;; 20748ae04fa6Smrg *) 20758ae04fa6Smrg # OSF1 and SCO ODT 3.0 have their own names for install. 20768ae04fa6Smrg # Don't use installbsd from OSF since it installs stuff as root 20778ae04fa6Smrg # by default. 20788ae04fa6Smrg for ac_prog in ginstall scoinst install; do 20798ae04fa6Smrg for ac_exec_ext in '' $ac_executable_extensions; do 20808ae04fa6Smrg if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 20818ae04fa6Smrg if test $ac_prog = install && 20828ae04fa6Smrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 20838ae04fa6Smrg # AIX install. It has an incompatible calling convention. 20848ae04fa6Smrg : 20858ae04fa6Smrg elif test $ac_prog = install && 20868ae04fa6Smrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 20878ae04fa6Smrg # program-specific install script used by HP pwplus--don't use. 20888ae04fa6Smrg : 20898ae04fa6Smrg else 209044af7230Smrg rm -rf conftest.one conftest.two conftest.dir 209144af7230Smrg echo one > conftest.one 209244af7230Smrg echo two > conftest.two 209344af7230Smrg mkdir conftest.dir 209444af7230Smrg if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 209544af7230Smrg test -s conftest.one && test -s conftest.two && 209644af7230Smrg test -s conftest.dir/conftest.one && 209744af7230Smrg test -s conftest.dir/conftest.two 209844af7230Smrg then 209944af7230Smrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 210044af7230Smrg break 3 210144af7230Smrg fi 21028ae04fa6Smrg fi 21038ae04fa6Smrg fi 21048ae04fa6Smrg done 21058ae04fa6Smrg done 21068ae04fa6Smrg ;; 21078ae04fa6Smrgesac 210844af7230Smrg 21092d1d20fcSmrg done 21108ae04fa6SmrgIFS=$as_save_IFS 21118ae04fa6Smrg 211244af7230Smrgrm -rf conftest.one conftest.two conftest.dir 21138ae04fa6Smrg 21148ae04fa6Smrgfi 21158ae04fa6Smrg if test "${ac_cv_path_install+set}" = set; then 21168ae04fa6Smrg INSTALL=$ac_cv_path_install 21178ae04fa6Smrg else 21188ae04fa6Smrg # As a last resort, use the slow shell script. Don't cache a 21198ae04fa6Smrg # value for INSTALL within a source directory, because that will 21208ae04fa6Smrg # break other packages using the cache if that directory is 21218ae04fa6Smrg # removed, or if the value is a relative name. 21228ae04fa6Smrg INSTALL=$ac_install_sh 21238ae04fa6Smrg fi 21248ae04fa6Smrgfi 21252d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 212644af7230Smrg$as_echo "$INSTALL" >&6; } 21278ae04fa6Smrg 21288ae04fa6Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 21298ae04fa6Smrg# It thinks the first close brace ends the variable substitution. 21308ae04fa6Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 21318ae04fa6Smrg 21328ae04fa6Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 21338ae04fa6Smrg 21348ae04fa6Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 21358ae04fa6Smrg 21362d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 213744af7230Smrg$as_echo_n "checking whether build environment is sane... " >&6; } 21388ae04fa6Smrg# Just in case 21398ae04fa6Smrgsleep 1 21408ae04fa6Smrgecho timestamp > conftest.file 214144af7230Smrg# Reject unsafe characters in $srcdir or the absolute working directory 214244af7230Smrg# name. Accept space and tab only in the latter. 214344af7230Smrgam_lf=' 214444af7230Smrg' 214544af7230Smrgcase `pwd` in 214644af7230Smrg *[\\\"\#\$\&\'\`$am_lf]*) 21472d1d20fcSmrg as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 214844af7230Smrgesac 214944af7230Smrgcase $srcdir in 215044af7230Smrg *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 21512d1d20fcSmrg as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 215244af7230Smrgesac 215344af7230Smrg 21548ae04fa6Smrg# Do `set' in a subshell so we don't clobber the current shell's 21558ae04fa6Smrg# arguments. Must try -L first in case configure is actually a 21568ae04fa6Smrg# symlink; some systems play weird games with the mod time of symlinks 21578ae04fa6Smrg# (eg FreeBSD returns the mod time of the symlink's containing 21588ae04fa6Smrg# directory). 21598ae04fa6Smrgif ( 216044af7230Smrg set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 21618ae04fa6Smrg if test "$*" = "X"; then 21628ae04fa6Smrg # -L didn't work. 216344af7230Smrg set X `ls -t "$srcdir/configure" conftest.file` 21648ae04fa6Smrg fi 21658ae04fa6Smrg rm -f conftest.file 21668ae04fa6Smrg if test "$*" != "X $srcdir/configure conftest.file" \ 21678ae04fa6Smrg && test "$*" != "X conftest.file $srcdir/configure"; then 21688ae04fa6Smrg 21698ae04fa6Smrg # If neither matched, then we have a broken ls. This can happen 21708ae04fa6Smrg # if, for instance, CONFIG_SHELL is bash and it inherits a 21718ae04fa6Smrg # broken ls alias from the environment. This has actually 21728ae04fa6Smrg # happened. Such a system could not be considered "sane". 21732d1d20fcSmrg as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 21742d1d20fcSmrgalias in your environment" "$LINENO" 5 21758ae04fa6Smrg fi 21768ae04fa6Smrg 21778ae04fa6Smrg test "$2" = conftest.file 21788ae04fa6Smrg ) 21798ae04fa6Smrgthen 21808ae04fa6Smrg # Ok. 21818ae04fa6Smrg : 21828ae04fa6Smrgelse 21832d1d20fcSmrg as_fn_error $? "newly created file is older than distributed files! 21842d1d20fcSmrgCheck your system clock" "$LINENO" 5 21858ae04fa6Smrgfi 21862d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 218744af7230Smrg$as_echo "yes" >&6; } 21888ae04fa6Smrgtest "$program_prefix" != NONE && 21898ae04fa6Smrg program_transform_name="s&^&$program_prefix&;$program_transform_name" 21908ae04fa6Smrg# Use a double $ so make ignores it. 21918ae04fa6Smrgtest "$program_suffix" != NONE && 21928ae04fa6Smrg program_transform_name="s&\$&$program_suffix&;$program_transform_name" 219344af7230Smrg# Double any \ or $. 21948ae04fa6Smrg# By default was `s,x,x', remove it if useless. 219544af7230Smrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 219644af7230Smrgprogram_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 21978ae04fa6Smrg 21988ae04fa6Smrg# expand $ac_aux_dir to an absolute path 21998ae04fa6Smrgam_aux_dir=`cd $ac_aux_dir && pwd` 22008ae04fa6Smrg 220144af7230Smrgif test x"${MISSING+set}" != xset; then 220244af7230Smrg case $am_aux_dir in 220344af7230Smrg *\ * | *\ *) 220444af7230Smrg MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 220544af7230Smrg *) 220644af7230Smrg MISSING="\${SHELL} $am_aux_dir/missing" ;; 220744af7230Smrg esac 220844af7230Smrgfi 22098ae04fa6Smrg# Use eval to expand $SHELL 22108ae04fa6Smrgif eval "$MISSING --run true"; then 22118ae04fa6Smrg am_missing_run="$MISSING --run " 22128ae04fa6Smrgelse 22138ae04fa6Smrg am_missing_run= 22142d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 221544af7230Smrg$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 22168ae04fa6Smrgfi 22178ae04fa6Smrg 221844af7230Smrgif test x"${install_sh}" != xset; then 221944af7230Smrg case $am_aux_dir in 222044af7230Smrg *\ * | *\ *) 222144af7230Smrg install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 222244af7230Smrg *) 222344af7230Smrg install_sh="\${SHELL} $am_aux_dir/install-sh" 222444af7230Smrg esac 222544af7230Smrgfi 222644af7230Smrg 222744af7230Smrg# Installed binaries are usually stripped using `strip' when the user 222844af7230Smrg# run `make install-strip'. However `strip' might not be the right 222944af7230Smrg# tool to use in cross-compilation environments, therefore Automake 223044af7230Smrg# will honor the `STRIP' environment variable to overrule this program. 223144af7230Smrgif test "$cross_compiling" != no; then 223244af7230Smrg if test -n "$ac_tool_prefix"; then 223344af7230Smrg # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 223444af7230Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2 22352d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 223644af7230Smrg$as_echo_n "checking for $ac_word... " >&6; } 22372d1d20fcSmrgif ${ac_cv_prog_STRIP+:} false; then : 223844af7230Smrg $as_echo_n "(cached) " >&6 223944af7230Smrgelse 224044af7230Smrg if test -n "$STRIP"; then 224144af7230Smrg ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 224244af7230Smrgelse 224344af7230Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 224444af7230Smrgfor as_dir in $PATH 224544af7230Smrgdo 224644af7230Smrg IFS=$as_save_IFS 224744af7230Smrg test -z "$as_dir" && as_dir=. 22482d1d20fcSmrg for ac_exec_ext in '' $ac_executable_extensions; do 224944af7230Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 225044af7230Smrg ac_cv_prog_STRIP="${ac_tool_prefix}strip" 22512d1d20fcSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 225244af7230Smrg break 2 225344af7230Smrg fi 225444af7230Smrgdone 22552d1d20fcSmrg done 225644af7230SmrgIFS=$as_save_IFS 225744af7230Smrg 225844af7230Smrgfi 225944af7230Smrgfi 226044af7230SmrgSTRIP=$ac_cv_prog_STRIP 226144af7230Smrgif test -n "$STRIP"; then 22622d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 226344af7230Smrg$as_echo "$STRIP" >&6; } 226444af7230Smrgelse 22652d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 226644af7230Smrg$as_echo "no" >&6; } 226744af7230Smrgfi 226844af7230Smrg 226944af7230Smrg 227044af7230Smrgfi 227144af7230Smrgif test -z "$ac_cv_prog_STRIP"; then 227244af7230Smrg ac_ct_STRIP=$STRIP 227344af7230Smrg # Extract the first word of "strip", so it can be a program name with args. 227444af7230Smrgset dummy strip; ac_word=$2 22752d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 227644af7230Smrg$as_echo_n "checking for $ac_word... " >&6; } 22772d1d20fcSmrgif ${ac_cv_prog_ac_ct_STRIP+:} false; then : 227844af7230Smrg $as_echo_n "(cached) " >&6 227944af7230Smrgelse 228044af7230Smrg if test -n "$ac_ct_STRIP"; then 228144af7230Smrg ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 228244af7230Smrgelse 228344af7230Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 228444af7230Smrgfor as_dir in $PATH 228544af7230Smrgdo 228644af7230Smrg IFS=$as_save_IFS 228744af7230Smrg test -z "$as_dir" && as_dir=. 22882d1d20fcSmrg for ac_exec_ext in '' $ac_executable_extensions; do 228944af7230Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 229044af7230Smrg ac_cv_prog_ac_ct_STRIP="strip" 22912d1d20fcSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 229244af7230Smrg break 2 229344af7230Smrg fi 229444af7230Smrgdone 22952d1d20fcSmrg done 229644af7230SmrgIFS=$as_save_IFS 229744af7230Smrg 229844af7230Smrgfi 229944af7230Smrgfi 230044af7230Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 230144af7230Smrgif test -n "$ac_ct_STRIP"; then 23022d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 230344af7230Smrg$as_echo "$ac_ct_STRIP" >&6; } 230444af7230Smrgelse 23052d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 230644af7230Smrg$as_echo "no" >&6; } 230744af7230Smrgfi 230844af7230Smrg 230944af7230Smrg if test "x$ac_ct_STRIP" = x; then 231044af7230Smrg STRIP=":" 231144af7230Smrg else 231244af7230Smrg case $cross_compiling:$ac_tool_warned in 231344af7230Smrgyes:) 23142d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 231544af7230Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 231644af7230Smrgac_tool_warned=yes ;; 231744af7230Smrgesac 231844af7230Smrg STRIP=$ac_ct_STRIP 231944af7230Smrg fi 232044af7230Smrgelse 232144af7230Smrg STRIP="$ac_cv_prog_STRIP" 232244af7230Smrgfi 232344af7230Smrg 232444af7230Smrgfi 232544af7230SmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 232644af7230Smrg 23272d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 232844af7230Smrg$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 232944af7230Smrgif test -z "$MKDIR_P"; then 23302d1d20fcSmrg if ${ac_cv_path_mkdir+:} false; then : 233144af7230Smrg $as_echo_n "(cached) " >&6 233244af7230Smrgelse 23338ae04fa6Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23348ae04fa6Smrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 23358ae04fa6Smrgdo 23368ae04fa6Smrg IFS=$as_save_IFS 23378ae04fa6Smrg test -z "$as_dir" && as_dir=. 23382d1d20fcSmrg for ac_prog in mkdir gmkdir; do 23398ae04fa6Smrg for ac_exec_ext in '' $ac_executable_extensions; do 23408ae04fa6Smrg { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 23418ae04fa6Smrg case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 23428ae04fa6Smrg 'mkdir (GNU coreutils) '* | \ 23438ae04fa6Smrg 'mkdir (coreutils) '* | \ 23448ae04fa6Smrg 'mkdir (fileutils) '4.1*) 23458ae04fa6Smrg ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 23468ae04fa6Smrg break 3;; 23478ae04fa6Smrg esac 23488ae04fa6Smrg done 23498ae04fa6Smrg done 23502d1d20fcSmrg done 23518ae04fa6SmrgIFS=$as_save_IFS 23528ae04fa6Smrg 23538ae04fa6Smrgfi 23548ae04fa6Smrg 23552d1d20fcSmrg test -d ./--version && rmdir ./--version 23568ae04fa6Smrg if test "${ac_cv_path_mkdir+set}" = set; then 23578ae04fa6Smrg MKDIR_P="$ac_cv_path_mkdir -p" 23588ae04fa6Smrg else 23598ae04fa6Smrg # As a last resort, use the slow shell script. Don't cache a 23608ae04fa6Smrg # value for MKDIR_P within a source directory, because that will 23618ae04fa6Smrg # break other packages using the cache if that directory is 23628ae04fa6Smrg # removed, or if the value is a relative name. 23638ae04fa6Smrg MKDIR_P="$ac_install_sh -d" 23648ae04fa6Smrg fi 23658ae04fa6Smrgfi 23662d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 236744af7230Smrg$as_echo "$MKDIR_P" >&6; } 23688ae04fa6Smrg 23698ae04fa6Smrgmkdir_p="$MKDIR_P" 23708ae04fa6Smrgcase $mkdir_p in 23718ae04fa6Smrg [\\/$]* | ?:[\\/]*) ;; 23728ae04fa6Smrg */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 23738ae04fa6Smrgesac 23748ae04fa6Smrg 23758ae04fa6Smrgfor ac_prog in gawk mawk nawk awk 23768ae04fa6Smrgdo 23778ae04fa6Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 23788ae04fa6Smrgset dummy $ac_prog; ac_word=$2 23792d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 238044af7230Smrg$as_echo_n "checking for $ac_word... " >&6; } 23812d1d20fcSmrgif ${ac_cv_prog_AWK+:} false; then : 238244af7230Smrg $as_echo_n "(cached) " >&6 23838ae04fa6Smrgelse 23848ae04fa6Smrg if test -n "$AWK"; then 23858ae04fa6Smrg ac_cv_prog_AWK="$AWK" # Let the user override the test. 23868ae04fa6Smrgelse 23878ae04fa6Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23888ae04fa6Smrgfor as_dir in $PATH 23898ae04fa6Smrgdo 23908ae04fa6Smrg IFS=$as_save_IFS 23918ae04fa6Smrg test -z "$as_dir" && as_dir=. 23922d1d20fcSmrg for ac_exec_ext in '' $ac_executable_extensions; do 23938ae04fa6Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 23948ae04fa6Smrg ac_cv_prog_AWK="$ac_prog" 23952d1d20fcSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23968ae04fa6Smrg break 2 23978ae04fa6Smrg fi 23988ae04fa6Smrgdone 23992d1d20fcSmrg done 24008ae04fa6SmrgIFS=$as_save_IFS 24018ae04fa6Smrg 24028ae04fa6Smrgfi 24038ae04fa6Smrgfi 24048ae04fa6SmrgAWK=$ac_cv_prog_AWK 24058ae04fa6Smrgif test -n "$AWK"; then 24062d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 240744af7230Smrg$as_echo "$AWK" >&6; } 24088ae04fa6Smrgelse 24092d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 241044af7230Smrg$as_echo "no" >&6; } 24118ae04fa6Smrgfi 24128ae04fa6Smrg 24138ae04fa6Smrg 24148ae04fa6Smrg test -n "$AWK" && break 24158ae04fa6Smrgdone 24168ae04fa6Smrg 24172d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 241844af7230Smrg$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 241944af7230Smrgset x ${MAKE-make} 242044af7230Smrgac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 24212d1d20fcSmrgif eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 242244af7230Smrg $as_echo_n "(cached) " >&6 24238ae04fa6Smrgelse 24248ae04fa6Smrg cat >conftest.make <<\_ACEOF 24258ae04fa6SmrgSHELL = /bin/sh 24268ae04fa6Smrgall: 24278ae04fa6Smrg @echo '@@@%%%=$(MAKE)=@@@%%%' 24288ae04fa6Smrg_ACEOF 24292d1d20fcSmrg# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 24308ae04fa6Smrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in 24318ae04fa6Smrg *@@@%%%=?*=@@@%%%*) 24328ae04fa6Smrg eval ac_cv_prog_make_${ac_make}_set=yes;; 24338ae04fa6Smrg *) 24348ae04fa6Smrg eval ac_cv_prog_make_${ac_make}_set=no;; 24358ae04fa6Smrgesac 24368ae04fa6Smrgrm -f conftest.make 24378ae04fa6Smrgfi 24388ae04fa6Smrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 24392d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 244044af7230Smrg$as_echo "yes" >&6; } 24418ae04fa6Smrg SET_MAKE= 24428ae04fa6Smrgelse 24432d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 244444af7230Smrg$as_echo "no" >&6; } 24458ae04fa6Smrg SET_MAKE="MAKE=${MAKE-make}" 24468ae04fa6Smrgfi 24478ae04fa6Smrg 24488ae04fa6Smrgrm -rf .tst 2>/dev/null 24498ae04fa6Smrgmkdir .tst 2>/dev/null 24508ae04fa6Smrgif test -d .tst; then 24518ae04fa6Smrg am__leading_dot=. 24528ae04fa6Smrgelse 24538ae04fa6Smrg am__leading_dot=_ 24548ae04fa6Smrgfi 24558ae04fa6Smrgrmdir .tst 2>/dev/null 24568ae04fa6Smrg 24578ae04fa6Smrgif test "`cd $srcdir && pwd`" != "`pwd`"; then 24588ae04fa6Smrg # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 24598ae04fa6Smrg # is not polluted with repeated "-I." 24608ae04fa6Smrg am__isrc=' -I$(srcdir)' 24618ae04fa6Smrg # test to see if srcdir already configured 24628ae04fa6Smrg if test -f $srcdir/config.status; then 24632d1d20fcSmrg as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 24648ae04fa6Smrg fi 24658ae04fa6Smrgfi 24668ae04fa6Smrg 24678ae04fa6Smrg# test whether we have cygpath 24688ae04fa6Smrgif test -z "$CYGPATH_W"; then 24698ae04fa6Smrg if (cygpath --version) >/dev/null 2>/dev/null; then 24708ae04fa6Smrg CYGPATH_W='cygpath -w' 24718ae04fa6Smrg else 24728ae04fa6Smrg CYGPATH_W=echo 24738ae04fa6Smrg fi 24748ae04fa6Smrgfi 24758ae04fa6Smrg 24768ae04fa6Smrg 24778ae04fa6Smrg# Define the identity of the package. 24788ae04fa6Smrg PACKAGE='xvinfo' 24792d1d20fcSmrg VERSION='1.1.1' 24808ae04fa6Smrg 24818ae04fa6Smrg 24828ae04fa6Smrgcat >>confdefs.h <<_ACEOF 24838ae04fa6Smrg#define PACKAGE "$PACKAGE" 24848ae04fa6Smrg_ACEOF 24858ae04fa6Smrg 24868ae04fa6Smrg 24878ae04fa6Smrgcat >>confdefs.h <<_ACEOF 24888ae04fa6Smrg#define VERSION "$VERSION" 24898ae04fa6Smrg_ACEOF 24908ae04fa6Smrg 24918ae04fa6Smrg# Some tools Automake needs. 24928ae04fa6Smrg 24938ae04fa6SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 24948ae04fa6Smrg 24958ae04fa6Smrg 24968ae04fa6SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 24978ae04fa6Smrg 24988ae04fa6Smrg 24998ae04fa6SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 25008ae04fa6Smrg 25018ae04fa6Smrg 25028ae04fa6SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 25038ae04fa6Smrg 25048ae04fa6Smrg 25058ae04fa6SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 25068ae04fa6Smrg 25078ae04fa6Smrg# We need awk for the "check" target. The system "awk" is bad on 25088ae04fa6Smrg# some platforms. 25098ae04fa6Smrg# Always define AMTAR for backward compatibility. 25108ae04fa6Smrg 25118ae04fa6SmrgAMTAR=${AMTAR-"${am_missing_run}tar"} 25128ae04fa6Smrg 25138ae04fa6Smrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 25148ae04fa6Smrg 25158ae04fa6Smrg 25168ae04fa6Smrg 25178ae04fa6Smrg 25188ae04fa6Smrg 251944af7230Smrg 25202d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 252144af7230Smrg$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 25228ae04fa6Smrg # Check whether --enable-maintainer-mode was given. 25232d1d20fcSmrgif test "${enable_maintainer_mode+set}" = set; then : 25248ae04fa6Smrg enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 25258ae04fa6Smrgelse 25268ae04fa6Smrg USE_MAINTAINER_MODE=no 25278ae04fa6Smrgfi 25288ae04fa6Smrg 25292d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 253044af7230Smrg$as_echo "$USE_MAINTAINER_MODE" >&6; } 25318ae04fa6Smrg if test $USE_MAINTAINER_MODE = yes; then 25328ae04fa6Smrg MAINTAINER_MODE_TRUE= 25338ae04fa6Smrg MAINTAINER_MODE_FALSE='#' 25348ae04fa6Smrgelse 25358ae04fa6Smrg MAINTAINER_MODE_TRUE='#' 25368ae04fa6Smrg MAINTAINER_MODE_FALSE= 25378ae04fa6Smrgfi 25388ae04fa6Smrg 25398ae04fa6Smrg MAINT=$MAINTAINER_MODE_TRUE 25408ae04fa6Smrg 25418ae04fa6Smrg 25428ae04fa6Smrg 25432d1d20fcSmrg# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS 254444af7230Smrg 254544af7230Smrg 254644af7230Smrg 254744af7230Smrg 254844af7230Smrg 254944af7230Smrg 255044af7230Smrg 255144af7230Smrg 255244af7230Smrg 255344af7230Smrg 255444af7230Smrg 255544af7230Smrg 25568ae04fa6Smrgac_config_headers="$ac_config_headers config.h" 25578ae04fa6Smrg 25588ae04fa6Smrg 25592d1d20fcSmrgDEPDIR="${am__leading_dot}deps" 25602d1d20fcSmrg 25612d1d20fcSmrgac_config_commands="$ac_config_commands depfiles" 25622d1d20fcSmrg 25632d1d20fcSmrg 25642d1d20fcSmrgam_make=${MAKE-make} 25652d1d20fcSmrgcat > confinc << 'END' 25662d1d20fcSmrgam__doit: 25672d1d20fcSmrg @echo this is the am__doit target 25682d1d20fcSmrg.PHONY: am__doit 25692d1d20fcSmrgEND 25702d1d20fcSmrg# If we don't find an include directive, just comment out the code. 25712d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 25722d1d20fcSmrg$as_echo_n "checking for style of include used by $am_make... " >&6; } 25732d1d20fcSmrgam__include="#" 25742d1d20fcSmrgam__quote= 25752d1d20fcSmrg_am_result=none 25762d1d20fcSmrg# First try GNU make style include. 25772d1d20fcSmrgecho "include confinc" > confmf 25782d1d20fcSmrg# Ignore all kinds of additional output from `make'. 25792d1d20fcSmrgcase `$am_make -s -f confmf 2> /dev/null` in #( 25802d1d20fcSmrg*the\ am__doit\ target*) 25812d1d20fcSmrg am__include=include 25822d1d20fcSmrg am__quote= 25832d1d20fcSmrg _am_result=GNU 25842d1d20fcSmrg ;; 25852d1d20fcSmrgesac 25862d1d20fcSmrg# Now try BSD make style include. 25872d1d20fcSmrgif test "$am__include" = "#"; then 25882d1d20fcSmrg echo '.include "confinc"' > confmf 25892d1d20fcSmrg case `$am_make -s -f confmf 2> /dev/null` in #( 25902d1d20fcSmrg *the\ am__doit\ target*) 25912d1d20fcSmrg am__include=.include 25922d1d20fcSmrg am__quote="\"" 25932d1d20fcSmrg _am_result=BSD 25942d1d20fcSmrg ;; 25952d1d20fcSmrg esac 25962d1d20fcSmrgfi 25972d1d20fcSmrg 25982d1d20fcSmrg 25992d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 26002d1d20fcSmrg$as_echo "$_am_result" >&6; } 26012d1d20fcSmrgrm -f confinc confmf 26022d1d20fcSmrg 26032d1d20fcSmrg# Check whether --enable-dependency-tracking was given. 26042d1d20fcSmrgif test "${enable_dependency_tracking+set}" = set; then : 26052d1d20fcSmrg enableval=$enable_dependency_tracking; 26062d1d20fcSmrgfi 26072d1d20fcSmrg 26082d1d20fcSmrgif test "x$enable_dependency_tracking" != xno; then 26092d1d20fcSmrg am_depcomp="$ac_aux_dir/depcomp" 26102d1d20fcSmrg AMDEPBACKSLASH='\' 26112d1d20fcSmrgfi 26122d1d20fcSmrg if test "x$enable_dependency_tracking" != xno; then 26132d1d20fcSmrg AMDEP_TRUE= 26142d1d20fcSmrg AMDEP_FALSE='#' 26152d1d20fcSmrgelse 26162d1d20fcSmrg AMDEP_TRUE='#' 26172d1d20fcSmrg AMDEP_FALSE= 26182d1d20fcSmrgfi 26192d1d20fcSmrg 26202d1d20fcSmrg 26218ae04fa6Smrgac_ext=c 26228ae04fa6Smrgac_cpp='$CPP $CPPFLAGS' 26238ae04fa6Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 26248ae04fa6Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 26258ae04fa6Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 26268ae04fa6Smrgif test -n "$ac_tool_prefix"; then 26278ae04fa6Smrg # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 26288ae04fa6Smrgset dummy ${ac_tool_prefix}gcc; ac_word=$2 26292d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 263044af7230Smrg$as_echo_n "checking for $ac_word... " >&6; } 26312d1d20fcSmrgif ${ac_cv_prog_CC+:} false; then : 263244af7230Smrg $as_echo_n "(cached) " >&6 26338ae04fa6Smrgelse 26348ae04fa6Smrg if test -n "$CC"; then 26358ae04fa6Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 26368ae04fa6Smrgelse 26378ae04fa6Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 26388ae04fa6Smrgfor as_dir in $PATH 26398ae04fa6Smrgdo 26408ae04fa6Smrg IFS=$as_save_IFS 26418ae04fa6Smrg test -z "$as_dir" && as_dir=. 26422d1d20fcSmrg for ac_exec_ext in '' $ac_executable_extensions; do 26438ae04fa6Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 26448ae04fa6Smrg ac_cv_prog_CC="${ac_tool_prefix}gcc" 26452d1d20fcSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 26468ae04fa6Smrg break 2 26478ae04fa6Smrg fi 26488ae04fa6Smrgdone 26492d1d20fcSmrg done 26508ae04fa6SmrgIFS=$as_save_IFS 26518ae04fa6Smrg 26528ae04fa6Smrgfi 26538ae04fa6Smrgfi 26548ae04fa6SmrgCC=$ac_cv_prog_CC 26558ae04fa6Smrgif test -n "$CC"; then 26562d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 265744af7230Smrg$as_echo "$CC" >&6; } 26588ae04fa6Smrgelse 26592d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 266044af7230Smrg$as_echo "no" >&6; } 26618ae04fa6Smrgfi 26628ae04fa6Smrg 26638ae04fa6Smrg 26648ae04fa6Smrgfi 26658ae04fa6Smrgif test -z "$ac_cv_prog_CC"; then 26668ae04fa6Smrg ac_ct_CC=$CC 26678ae04fa6Smrg # Extract the first word of "gcc", so it can be a program name with args. 26688ae04fa6Smrgset dummy gcc; ac_word=$2 26692d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 267044af7230Smrg$as_echo_n "checking for $ac_word... " >&6; } 26712d1d20fcSmrgif ${ac_cv_prog_ac_ct_CC+:} false; then : 267244af7230Smrg $as_echo_n "(cached) " >&6 26738ae04fa6Smrgelse 26748ae04fa6Smrg if test -n "$ac_ct_CC"; then 26758ae04fa6Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 26768ae04fa6Smrgelse 26778ae04fa6Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 26788ae04fa6Smrgfor as_dir in $PATH 26798ae04fa6Smrgdo 26808ae04fa6Smrg IFS=$as_save_IFS 26818ae04fa6Smrg test -z "$as_dir" && as_dir=. 26822d1d20fcSmrg for ac_exec_ext in '' $ac_executable_extensions; do 26838ae04fa6Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 26848ae04fa6Smrg ac_cv_prog_ac_ct_CC="gcc" 26852d1d20fcSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 26868ae04fa6Smrg break 2 26878ae04fa6Smrg fi 26888ae04fa6Smrgdone 26892d1d20fcSmrg done 26908ae04fa6SmrgIFS=$as_save_IFS 26918ae04fa6Smrg 26928ae04fa6Smrgfi 26938ae04fa6Smrgfi 26948ae04fa6Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 26958ae04fa6Smrgif test -n "$ac_ct_CC"; then 26962d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 269744af7230Smrg$as_echo "$ac_ct_CC" >&6; } 26988ae04fa6Smrgelse 26992d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 270044af7230Smrg$as_echo "no" >&6; } 27018ae04fa6Smrgfi 27028ae04fa6Smrg 27038ae04fa6Smrg if test "x$ac_ct_CC" = x; then 27048ae04fa6Smrg CC="" 27058ae04fa6Smrg else 27068ae04fa6Smrg case $cross_compiling:$ac_tool_warned in 27078ae04fa6Smrgyes:) 27082d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 270944af7230Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 27108ae04fa6Smrgac_tool_warned=yes ;; 27118ae04fa6Smrgesac 27128ae04fa6Smrg CC=$ac_ct_CC 27138ae04fa6Smrg fi 27148ae04fa6Smrgelse 27158ae04fa6Smrg CC="$ac_cv_prog_CC" 27168ae04fa6Smrgfi 27178ae04fa6Smrg 27188ae04fa6Smrgif test -z "$CC"; then 27198ae04fa6Smrg if test -n "$ac_tool_prefix"; then 27208ae04fa6Smrg # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 27218ae04fa6Smrgset dummy ${ac_tool_prefix}cc; ac_word=$2 27222d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 272344af7230Smrg$as_echo_n "checking for $ac_word... " >&6; } 27242d1d20fcSmrgif ${ac_cv_prog_CC+:} false; then : 272544af7230Smrg $as_echo_n "(cached) " >&6 27268ae04fa6Smrgelse 27278ae04fa6Smrg if test -n "$CC"; then 27288ae04fa6Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 27298ae04fa6Smrgelse 27308ae04fa6Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 27318ae04fa6Smrgfor as_dir in $PATH 27328ae04fa6Smrgdo 27338ae04fa6Smrg IFS=$as_save_IFS 27348ae04fa6Smrg test -z "$as_dir" && as_dir=. 27352d1d20fcSmrg for ac_exec_ext in '' $ac_executable_extensions; do 27368ae04fa6Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 27378ae04fa6Smrg ac_cv_prog_CC="${ac_tool_prefix}cc" 27382d1d20fcSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 27398ae04fa6Smrg break 2 27408ae04fa6Smrg fi 27418ae04fa6Smrgdone 27422d1d20fcSmrg done 27438ae04fa6SmrgIFS=$as_save_IFS 27448ae04fa6Smrg 27458ae04fa6Smrgfi 27468ae04fa6Smrgfi 27478ae04fa6SmrgCC=$ac_cv_prog_CC 27488ae04fa6Smrgif test -n "$CC"; then 27492d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 275044af7230Smrg$as_echo "$CC" >&6; } 27518ae04fa6Smrgelse 27522d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 275344af7230Smrg$as_echo "no" >&6; } 27548ae04fa6Smrgfi 27558ae04fa6Smrg 27568ae04fa6Smrg 27578ae04fa6Smrg fi 27588ae04fa6Smrgfi 27598ae04fa6Smrgif test -z "$CC"; then 27608ae04fa6Smrg # Extract the first word of "cc", so it can be a program name with args. 27618ae04fa6Smrgset dummy cc; ac_word=$2 27622d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 276344af7230Smrg$as_echo_n "checking for $ac_word... " >&6; } 27642d1d20fcSmrgif ${ac_cv_prog_CC+:} false; then : 276544af7230Smrg $as_echo_n "(cached) " >&6 27668ae04fa6Smrgelse 27678ae04fa6Smrg if test -n "$CC"; then 27688ae04fa6Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 27698ae04fa6Smrgelse 27708ae04fa6Smrg ac_prog_rejected=no 27718ae04fa6Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 27728ae04fa6Smrgfor as_dir in $PATH 27738ae04fa6Smrgdo 27748ae04fa6Smrg IFS=$as_save_IFS 27758ae04fa6Smrg test -z "$as_dir" && as_dir=. 27762d1d20fcSmrg for ac_exec_ext in '' $ac_executable_extensions; do 27778ae04fa6Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 27788ae04fa6Smrg if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 27798ae04fa6Smrg ac_prog_rejected=yes 27808ae04fa6Smrg continue 27818ae04fa6Smrg fi 27828ae04fa6Smrg ac_cv_prog_CC="cc" 27832d1d20fcSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 27848ae04fa6Smrg break 2 27858ae04fa6Smrg fi 27868ae04fa6Smrgdone 27872d1d20fcSmrg done 27888ae04fa6SmrgIFS=$as_save_IFS 27898ae04fa6Smrg 27908ae04fa6Smrgif test $ac_prog_rejected = yes; then 27918ae04fa6Smrg # We found a bogon in the path, so make sure we never use it. 27928ae04fa6Smrg set dummy $ac_cv_prog_CC 27938ae04fa6Smrg shift 27948ae04fa6Smrg if test $# != 0; then 27958ae04fa6Smrg # We chose a different compiler from the bogus one. 27968ae04fa6Smrg # However, it has the same basename, so the bogon will be chosen 27978ae04fa6Smrg # first if we set CC to just the basename; use the full file name. 27988ae04fa6Smrg shift 27998ae04fa6Smrg ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 28008ae04fa6Smrg fi 28018ae04fa6Smrgfi 28028ae04fa6Smrgfi 28038ae04fa6Smrgfi 28048ae04fa6SmrgCC=$ac_cv_prog_CC 28058ae04fa6Smrgif test -n "$CC"; then 28062d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 280744af7230Smrg$as_echo "$CC" >&6; } 28088ae04fa6Smrgelse 28092d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 281044af7230Smrg$as_echo "no" >&6; } 28118ae04fa6Smrgfi 28128ae04fa6Smrg 28138ae04fa6Smrg 28148ae04fa6Smrgfi 28158ae04fa6Smrgif test -z "$CC"; then 28168ae04fa6Smrg if test -n "$ac_tool_prefix"; then 28178ae04fa6Smrg for ac_prog in cl.exe 28188ae04fa6Smrg do 28198ae04fa6Smrg # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 28208ae04fa6Smrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2 28212d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 282244af7230Smrg$as_echo_n "checking for $ac_word... " >&6; } 28232d1d20fcSmrgif ${ac_cv_prog_CC+:} false; then : 282444af7230Smrg $as_echo_n "(cached) " >&6 28258ae04fa6Smrgelse 28268ae04fa6Smrg if test -n "$CC"; then 28278ae04fa6Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 28288ae04fa6Smrgelse 28298ae04fa6Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 28308ae04fa6Smrgfor as_dir in $PATH 28318ae04fa6Smrgdo 28328ae04fa6Smrg IFS=$as_save_IFS 28338ae04fa6Smrg test -z "$as_dir" && as_dir=. 28342d1d20fcSmrg for ac_exec_ext in '' $ac_executable_extensions; do 28358ae04fa6Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 28368ae04fa6Smrg ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 28372d1d20fcSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 28388ae04fa6Smrg break 2 28398ae04fa6Smrg fi 28408ae04fa6Smrgdone 28412d1d20fcSmrg done 28428ae04fa6SmrgIFS=$as_save_IFS 28438ae04fa6Smrg 28448ae04fa6Smrgfi 28458ae04fa6Smrgfi 28468ae04fa6SmrgCC=$ac_cv_prog_CC 28478ae04fa6Smrgif test -n "$CC"; then 28482d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 284944af7230Smrg$as_echo "$CC" >&6; } 28508ae04fa6Smrgelse 28512d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 285244af7230Smrg$as_echo "no" >&6; } 28538ae04fa6Smrgfi 28548ae04fa6Smrg 28558ae04fa6Smrg 28568ae04fa6Smrg test -n "$CC" && break 28578ae04fa6Smrg done 28588ae04fa6Smrgfi 28598ae04fa6Smrgif test -z "$CC"; then 28608ae04fa6Smrg ac_ct_CC=$CC 28618ae04fa6Smrg for ac_prog in cl.exe 28628ae04fa6Smrgdo 28638ae04fa6Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 28648ae04fa6Smrgset dummy $ac_prog; ac_word=$2 28652d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 286644af7230Smrg$as_echo_n "checking for $ac_word... " >&6; } 28672d1d20fcSmrgif ${ac_cv_prog_ac_ct_CC+:} false; then : 286844af7230Smrg $as_echo_n "(cached) " >&6 28698ae04fa6Smrgelse 28708ae04fa6Smrg if test -n "$ac_ct_CC"; then 28718ae04fa6Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 28728ae04fa6Smrgelse 28738ae04fa6Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 28748ae04fa6Smrgfor as_dir in $PATH 28758ae04fa6Smrgdo 28768ae04fa6Smrg IFS=$as_save_IFS 28778ae04fa6Smrg test -z "$as_dir" && as_dir=. 28782d1d20fcSmrg for ac_exec_ext in '' $ac_executable_extensions; do 28798ae04fa6Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 28808ae04fa6Smrg ac_cv_prog_ac_ct_CC="$ac_prog" 28812d1d20fcSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 28828ae04fa6Smrg break 2 28838ae04fa6Smrg fi 28848ae04fa6Smrgdone 28852d1d20fcSmrg done 28868ae04fa6SmrgIFS=$as_save_IFS 28878ae04fa6Smrg 28888ae04fa6Smrgfi 28898ae04fa6Smrgfi 28908ae04fa6Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 28918ae04fa6Smrgif test -n "$ac_ct_CC"; then 28922d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 289344af7230Smrg$as_echo "$ac_ct_CC" >&6; } 28948ae04fa6Smrgelse 28952d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 289644af7230Smrg$as_echo "no" >&6; } 28978ae04fa6Smrgfi 28988ae04fa6Smrg 28998ae04fa6Smrg 29008ae04fa6Smrg test -n "$ac_ct_CC" && break 29018ae04fa6Smrgdone 29028ae04fa6Smrg 29038ae04fa6Smrg if test "x$ac_ct_CC" = x; then 29048ae04fa6Smrg CC="" 29058ae04fa6Smrg else 29068ae04fa6Smrg case $cross_compiling:$ac_tool_warned in 29078ae04fa6Smrgyes:) 29082d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 290944af7230Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 29108ae04fa6Smrgac_tool_warned=yes ;; 29118ae04fa6Smrgesac 29128ae04fa6Smrg CC=$ac_ct_CC 29138ae04fa6Smrg fi 29148ae04fa6Smrgfi 29158ae04fa6Smrg 29168ae04fa6Smrgfi 29178ae04fa6Smrg 29188ae04fa6Smrg 29192d1d20fcSmrgtest -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 292044af7230Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 29212d1d20fcSmrgas_fn_error $? "no acceptable C compiler found in \$PATH 29222d1d20fcSmrgSee \`config.log' for more details" "$LINENO" 5; } 29238ae04fa6Smrg 29248ae04fa6Smrg# Provide some information about the compiler. 29252d1d20fcSmrg$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 292644af7230Smrgset X $ac_compile 292744af7230Smrgac_compiler=$2 29282d1d20fcSmrgfor ac_option in --version -v -V -qversion; do 29292d1d20fcSmrg { { ac_try="$ac_compiler $ac_option >&5" 29308ae04fa6Smrgcase "(($ac_try" in 29318ae04fa6Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 29328ae04fa6Smrg *) ac_try_echo=$ac_try;; 29338ae04fa6Smrgesac 29342d1d20fcSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 29352d1d20fcSmrg$as_echo "$ac_try_echo"; } >&5 29362d1d20fcSmrg (eval "$ac_compiler $ac_option >&5") 2>conftest.err 29378ae04fa6Smrg ac_status=$? 29382d1d20fcSmrg if test -s conftest.err; then 29392d1d20fcSmrg sed '10a\ 29402d1d20fcSmrg... rest of stderr output deleted ... 29412d1d20fcSmrg 10q' conftest.err >conftest.er1 29422d1d20fcSmrg cat conftest.er1 >&5 29432d1d20fcSmrg fi 29442d1d20fcSmrg rm -f conftest.er1 conftest.err 29452d1d20fcSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 29462d1d20fcSmrg test $ac_status = 0; } 29472d1d20fcSmrgdone 29488ae04fa6Smrg 29492d1d20fcSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 29508ae04fa6Smrg/* end confdefs.h. */ 29518ae04fa6Smrg 29528ae04fa6Smrgint 29538ae04fa6Smrgmain () 29548ae04fa6Smrg{ 29558ae04fa6Smrg 29568ae04fa6Smrg ; 29578ae04fa6Smrg return 0; 29588ae04fa6Smrg} 29598ae04fa6Smrg_ACEOF 29608ae04fa6Smrgac_clean_files_save=$ac_clean_files 296144af7230Smrgac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 29628ae04fa6Smrg# Try to create an executable without -o first, disregard a.out. 29638ae04fa6Smrg# It will help us diagnose broken compilers, and finding out an intuition 29648ae04fa6Smrg# of exeext. 29652d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 29662d1d20fcSmrg$as_echo_n "checking whether the C compiler works... " >&6; } 296744af7230Smrgac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 296844af7230Smrg 296944af7230Smrg# The possible output files: 297044af7230Smrgac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 297144af7230Smrg 29728ae04fa6Smrgac_rmfiles= 29738ae04fa6Smrgfor ac_file in $ac_files 29748ae04fa6Smrgdo 29758ae04fa6Smrg case $ac_file in 297644af7230Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 29778ae04fa6Smrg * ) ac_rmfiles="$ac_rmfiles $ac_file";; 29788ae04fa6Smrg esac 29798ae04fa6Smrgdone 29808ae04fa6Smrgrm -f $ac_rmfiles 29818ae04fa6Smrg 29822d1d20fcSmrgif { { ac_try="$ac_link_default" 29838ae04fa6Smrgcase "(($ac_try" in 29848ae04fa6Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 29858ae04fa6Smrg *) ac_try_echo=$ac_try;; 29868ae04fa6Smrgesac 29872d1d20fcSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 29882d1d20fcSmrg$as_echo "$ac_try_echo"; } >&5 29898ae04fa6Smrg (eval "$ac_link_default") 2>&5 29908ae04fa6Smrg ac_status=$? 29912d1d20fcSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 29922d1d20fcSmrg test $ac_status = 0; }; then : 29938ae04fa6Smrg # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 29948ae04fa6Smrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 29958ae04fa6Smrg# in a Makefile. We should not override ac_cv_exeext if it was cached, 29968ae04fa6Smrg# so that the user can short-circuit this test for compilers unknown to 29978ae04fa6Smrg# Autoconf. 29988ae04fa6Smrgfor ac_file in $ac_files '' 29998ae04fa6Smrgdo 30008ae04fa6Smrg test -f "$ac_file" || continue 30018ae04fa6Smrg case $ac_file in 300244af7230Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 30038ae04fa6Smrg ;; 30048ae04fa6Smrg [ab].out ) 30058ae04fa6Smrg # We found the default executable, but exeext='' is most 30068ae04fa6Smrg # certainly right. 30078ae04fa6Smrg break;; 30088ae04fa6Smrg *.* ) 30092d1d20fcSmrg if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 30108ae04fa6Smrg then :; else 30118ae04fa6Smrg ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 30128ae04fa6Smrg fi 30138ae04fa6Smrg # We set ac_cv_exeext here because the later test for it is not 30148ae04fa6Smrg # safe: cross compilers may not add the suffix if given an `-o' 30158ae04fa6Smrg # argument, so we may need to know it at that point already. 30168ae04fa6Smrg # Even if this section looks crufty: it has the advantage of 30178ae04fa6Smrg # actually working. 30188ae04fa6Smrg break;; 30198ae04fa6Smrg * ) 30208ae04fa6Smrg break;; 30218ae04fa6Smrg esac 30228ae04fa6Smrgdone 30238ae04fa6Smrgtest "$ac_cv_exeext" = no && ac_cv_exeext= 30248ae04fa6Smrg 30258ae04fa6Smrgelse 30268ae04fa6Smrg ac_file='' 30278ae04fa6Smrgfi 30282d1d20fcSmrgif test -z "$ac_file"; then : 30292d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 30302d1d20fcSmrg$as_echo "no" >&6; } 30312d1d20fcSmrg$as_echo "$as_me: failed program was:" >&5 30328ae04fa6Smrgsed 's/^/| /' conftest.$ac_ext >&5 30338ae04fa6Smrg 30342d1d20fcSmrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 303544af7230Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 30362d1d20fcSmrgas_fn_error 77 "C compiler cannot create executables 30372d1d20fcSmrgSee \`config.log' for more details" "$LINENO" 5; } 30382d1d20fcSmrgelse 30392d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 30402d1d20fcSmrg$as_echo "yes" >&6; } 30418ae04fa6Smrgfi 30422d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 30432d1d20fcSmrg$as_echo_n "checking for C compiler default output file name... " >&6; } 30442d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 30452d1d20fcSmrg$as_echo "$ac_file" >&6; } 30468ae04fa6Smrgac_exeext=$ac_cv_exeext 30478ae04fa6Smrg 304844af7230Smrgrm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 30498ae04fa6Smrgac_clean_files=$ac_clean_files_save 30502d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 305144af7230Smrg$as_echo_n "checking for suffix of executables... " >&6; } 30522d1d20fcSmrgif { { ac_try="$ac_link" 30538ae04fa6Smrgcase "(($ac_try" in 30548ae04fa6Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 30558ae04fa6Smrg *) ac_try_echo=$ac_try;; 30568ae04fa6Smrgesac 30572d1d20fcSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 30582d1d20fcSmrg$as_echo "$ac_try_echo"; } >&5 30598ae04fa6Smrg (eval "$ac_link") 2>&5 30608ae04fa6Smrg ac_status=$? 30612d1d20fcSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 30622d1d20fcSmrg test $ac_status = 0; }; then : 30638ae04fa6Smrg # If both `conftest.exe' and `conftest' are `present' (well, observable) 30648ae04fa6Smrg# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 30658ae04fa6Smrg# work properly (i.e., refer to `conftest.exe'), while it won't with 30668ae04fa6Smrg# `rm'. 30678ae04fa6Smrgfor ac_file in conftest.exe conftest conftest.*; do 30688ae04fa6Smrg test -f "$ac_file" || continue 30698ae04fa6Smrg case $ac_file in 307044af7230Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 30718ae04fa6Smrg *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 30728ae04fa6Smrg break;; 30738ae04fa6Smrg * ) break;; 30748ae04fa6Smrg esac 30758ae04fa6Smrgdone 30768ae04fa6Smrgelse 30772d1d20fcSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 307844af7230Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 30792d1d20fcSmrgas_fn_error $? "cannot compute suffix of executables: cannot compile and link 30802d1d20fcSmrgSee \`config.log' for more details" "$LINENO" 5; } 30818ae04fa6Smrgfi 30822d1d20fcSmrgrm -f conftest conftest$ac_cv_exeext 30832d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 308444af7230Smrg$as_echo "$ac_cv_exeext" >&6; } 30858ae04fa6Smrg 30868ae04fa6Smrgrm -f conftest.$ac_ext 30878ae04fa6SmrgEXEEXT=$ac_cv_exeext 30888ae04fa6Smrgac_exeext=$EXEEXT 30892d1d20fcSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 30902d1d20fcSmrg/* end confdefs.h. */ 30912d1d20fcSmrg#include <stdio.h> 30922d1d20fcSmrgint 30932d1d20fcSmrgmain () 30942d1d20fcSmrg{ 30952d1d20fcSmrgFILE *f = fopen ("conftest.out", "w"); 30962d1d20fcSmrg return ferror (f) || fclose (f) != 0; 30972d1d20fcSmrg 30982d1d20fcSmrg ; 30992d1d20fcSmrg return 0; 31002d1d20fcSmrg} 31012d1d20fcSmrg_ACEOF 31022d1d20fcSmrgac_clean_files="$ac_clean_files conftest.out" 31032d1d20fcSmrg# Check that the compiler produces executables we can run. If not, either 31042d1d20fcSmrg# the compiler is broken, or we cross compile. 31052d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 31062d1d20fcSmrg$as_echo_n "checking whether we are cross compiling... " >&6; } 31072d1d20fcSmrgif test "$cross_compiling" != yes; then 31082d1d20fcSmrg { { ac_try="$ac_link" 31092d1d20fcSmrgcase "(($ac_try" in 31102d1d20fcSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 31112d1d20fcSmrg *) ac_try_echo=$ac_try;; 31122d1d20fcSmrgesac 31132d1d20fcSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 31142d1d20fcSmrg$as_echo "$ac_try_echo"; } >&5 31152d1d20fcSmrg (eval "$ac_link") 2>&5 31162d1d20fcSmrg ac_status=$? 31172d1d20fcSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 31182d1d20fcSmrg test $ac_status = 0; } 31192d1d20fcSmrg if { ac_try='./conftest$ac_cv_exeext' 31202d1d20fcSmrg { { case "(($ac_try" in 31212d1d20fcSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 31222d1d20fcSmrg *) ac_try_echo=$ac_try;; 31232d1d20fcSmrgesac 31242d1d20fcSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 31252d1d20fcSmrg$as_echo "$ac_try_echo"; } >&5 31262d1d20fcSmrg (eval "$ac_try") 2>&5 31272d1d20fcSmrg ac_status=$? 31282d1d20fcSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 31292d1d20fcSmrg test $ac_status = 0; }; }; then 31302d1d20fcSmrg cross_compiling=no 31312d1d20fcSmrg else 31322d1d20fcSmrg if test "$cross_compiling" = maybe; then 31332d1d20fcSmrg cross_compiling=yes 31342d1d20fcSmrg else 31352d1d20fcSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 31362d1d20fcSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 31372d1d20fcSmrgas_fn_error $? "cannot run C compiled programs. 31382d1d20fcSmrgIf you meant to cross compile, use \`--host'. 31392d1d20fcSmrgSee \`config.log' for more details" "$LINENO" 5; } 31402d1d20fcSmrg fi 31412d1d20fcSmrg fi 31422d1d20fcSmrgfi 31432d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 31442d1d20fcSmrg$as_echo "$cross_compiling" >&6; } 31452d1d20fcSmrg 31462d1d20fcSmrgrm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 31472d1d20fcSmrgac_clean_files=$ac_clean_files_save 31482d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 314944af7230Smrg$as_echo_n "checking for suffix of object files... " >&6; } 31502d1d20fcSmrgif ${ac_cv_objext+:} false; then : 315144af7230Smrg $as_echo_n "(cached) " >&6 31528ae04fa6Smrgelse 31532d1d20fcSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31548ae04fa6Smrg/* end confdefs.h. */ 31558ae04fa6Smrg 31568ae04fa6Smrgint 31578ae04fa6Smrgmain () 31588ae04fa6Smrg{ 31598ae04fa6Smrg 31608ae04fa6Smrg ; 31618ae04fa6Smrg return 0; 31628ae04fa6Smrg} 31638ae04fa6Smrg_ACEOF 31648ae04fa6Smrgrm -f conftest.o conftest.obj 31652d1d20fcSmrgif { { ac_try="$ac_compile" 31668ae04fa6Smrgcase "(($ac_try" in 31678ae04fa6Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 31688ae04fa6Smrg *) ac_try_echo=$ac_try;; 31698ae04fa6Smrgesac 31702d1d20fcSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 31712d1d20fcSmrg$as_echo "$ac_try_echo"; } >&5 31728ae04fa6Smrg (eval "$ac_compile") 2>&5 31738ae04fa6Smrg ac_status=$? 31742d1d20fcSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 31752d1d20fcSmrg test $ac_status = 0; }; then : 31768ae04fa6Smrg for ac_file in conftest.o conftest.obj conftest.*; do 31778ae04fa6Smrg test -f "$ac_file" || continue; 31788ae04fa6Smrg case $ac_file in 317944af7230Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 31808ae04fa6Smrg *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 31818ae04fa6Smrg break;; 31828ae04fa6Smrg esac 31838ae04fa6Smrgdone 31848ae04fa6Smrgelse 318544af7230Smrg $as_echo "$as_me: failed program was:" >&5 31868ae04fa6Smrgsed 's/^/| /' conftest.$ac_ext >&5 31878ae04fa6Smrg 31882d1d20fcSmrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 318944af7230Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 31902d1d20fcSmrgas_fn_error $? "cannot compute suffix of object files: cannot compile 31912d1d20fcSmrgSee \`config.log' for more details" "$LINENO" 5; } 31928ae04fa6Smrgfi 31938ae04fa6Smrgrm -f conftest.$ac_cv_objext conftest.$ac_ext 31948ae04fa6Smrgfi 31952d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 319644af7230Smrg$as_echo "$ac_cv_objext" >&6; } 31978ae04fa6SmrgOBJEXT=$ac_cv_objext 31988ae04fa6Smrgac_objext=$OBJEXT 31992d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 320044af7230Smrg$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 32012d1d20fcSmrgif ${ac_cv_c_compiler_gnu+:} false; then : 320244af7230Smrg $as_echo_n "(cached) " >&6 32038ae04fa6Smrgelse 32042d1d20fcSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32058ae04fa6Smrg/* end confdefs.h. */ 32068ae04fa6Smrg 32078ae04fa6Smrgint 32088ae04fa6Smrgmain () 32098ae04fa6Smrg{ 32108ae04fa6Smrg#ifndef __GNUC__ 32118ae04fa6Smrg choke me 32128ae04fa6Smrg#endif 32138ae04fa6Smrg 32148ae04fa6Smrg ; 32158ae04fa6Smrg return 0; 32168ae04fa6Smrg} 32178ae04fa6Smrg_ACEOF 32182d1d20fcSmrgif ac_fn_c_try_compile "$LINENO"; then : 32198ae04fa6Smrg ac_compiler_gnu=yes 32208ae04fa6Smrgelse 32212d1d20fcSmrg ac_compiler_gnu=no 32228ae04fa6Smrgfi 32238ae04fa6Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 32248ae04fa6Smrgac_cv_c_compiler_gnu=$ac_compiler_gnu 32258ae04fa6Smrg 32268ae04fa6Smrgfi 32272d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 322844af7230Smrg$as_echo "$ac_cv_c_compiler_gnu" >&6; } 322944af7230Smrgif test $ac_compiler_gnu = yes; then 323044af7230Smrg GCC=yes 323144af7230Smrgelse 323244af7230Smrg GCC= 323344af7230Smrgfi 32348ae04fa6Smrgac_test_CFLAGS=${CFLAGS+set} 32358ae04fa6Smrgac_save_CFLAGS=$CFLAGS 32362d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 323744af7230Smrg$as_echo_n "checking whether $CC accepts -g... " >&6; } 32382d1d20fcSmrgif ${ac_cv_prog_cc_g+:} false; then : 323944af7230Smrg $as_echo_n "(cached) " >&6 32408ae04fa6Smrgelse 32418ae04fa6Smrg ac_save_c_werror_flag=$ac_c_werror_flag 32428ae04fa6Smrg ac_c_werror_flag=yes 32438ae04fa6Smrg ac_cv_prog_cc_g=no 32448ae04fa6Smrg CFLAGS="-g" 32452d1d20fcSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32468ae04fa6Smrg/* end confdefs.h. */ 32478ae04fa6Smrg 32488ae04fa6Smrgint 32498ae04fa6Smrgmain () 32508ae04fa6Smrg{ 32518ae04fa6Smrg 32528ae04fa6Smrg ; 32538ae04fa6Smrg return 0; 32548ae04fa6Smrg} 32558ae04fa6Smrg_ACEOF 32562d1d20fcSmrgif ac_fn_c_try_compile "$LINENO"; then : 32578ae04fa6Smrg ac_cv_prog_cc_g=yes 32588ae04fa6Smrgelse 32592d1d20fcSmrg CFLAGS="" 32602d1d20fcSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32618ae04fa6Smrg/* end confdefs.h. */ 32628ae04fa6Smrg 32638ae04fa6Smrgint 32648ae04fa6Smrgmain () 32658ae04fa6Smrg{ 32668ae04fa6Smrg 32678ae04fa6Smrg ; 32688ae04fa6Smrg return 0; 32698ae04fa6Smrg} 32708ae04fa6Smrg_ACEOF 32712d1d20fcSmrgif ac_fn_c_try_compile "$LINENO"; then : 32728ae04fa6Smrg 32732d1d20fcSmrgelse 32742d1d20fcSmrg ac_c_werror_flag=$ac_save_c_werror_flag 32758ae04fa6Smrg CFLAGS="-g" 32762d1d20fcSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32778ae04fa6Smrg/* end confdefs.h. */ 32788ae04fa6Smrg 32798ae04fa6Smrgint 32808ae04fa6Smrgmain () 32818ae04fa6Smrg{ 32828ae04fa6Smrg 32838ae04fa6Smrg ; 32848ae04fa6Smrg return 0; 32858ae04fa6Smrg} 32868ae04fa6Smrg_ACEOF 32872d1d20fcSmrgif ac_fn_c_try_compile "$LINENO"; then : 32888ae04fa6Smrg ac_cv_prog_cc_g=yes 32898ae04fa6Smrgfi 32908ae04fa6Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 32918ae04fa6Smrgfi 32928ae04fa6Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 32938ae04fa6Smrgfi 32948ae04fa6Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 32958ae04fa6Smrg ac_c_werror_flag=$ac_save_c_werror_flag 32968ae04fa6Smrgfi 32972d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 329844af7230Smrg$as_echo "$ac_cv_prog_cc_g" >&6; } 32998ae04fa6Smrgif test "$ac_test_CFLAGS" = set; then 33008ae04fa6Smrg CFLAGS=$ac_save_CFLAGS 33018ae04fa6Smrgelif test $ac_cv_prog_cc_g = yes; then 33028ae04fa6Smrg if test "$GCC" = yes; then 33038ae04fa6Smrg CFLAGS="-g -O2" 33048ae04fa6Smrg else 33058ae04fa6Smrg CFLAGS="-g" 33068ae04fa6Smrg fi 33078ae04fa6Smrgelse 33088ae04fa6Smrg if test "$GCC" = yes; then 33098ae04fa6Smrg CFLAGS="-O2" 33108ae04fa6Smrg else 33118ae04fa6Smrg CFLAGS= 33128ae04fa6Smrg fi 33138ae04fa6Smrgfi 33142d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 331544af7230Smrg$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 33162d1d20fcSmrgif ${ac_cv_prog_cc_c89+:} false; then : 331744af7230Smrg $as_echo_n "(cached) " >&6 33188ae04fa6Smrgelse 33198ae04fa6Smrg ac_cv_prog_cc_c89=no 33208ae04fa6Smrgac_save_CC=$CC 33212d1d20fcSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 33228ae04fa6Smrg/* end confdefs.h. */ 33238ae04fa6Smrg#include <stdarg.h> 33248ae04fa6Smrg#include <stdio.h> 33258ae04fa6Smrg#include <sys/types.h> 33268ae04fa6Smrg#include <sys/stat.h> 33278ae04fa6Smrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 33288ae04fa6Smrgstruct buf { int x; }; 33298ae04fa6SmrgFILE * (*rcsopen) (struct buf *, struct stat *, int); 33308ae04fa6Smrgstatic char *e (p, i) 33318ae04fa6Smrg char **p; 33328ae04fa6Smrg int i; 33338ae04fa6Smrg{ 33348ae04fa6Smrg return p[i]; 33358ae04fa6Smrg} 33368ae04fa6Smrgstatic char *f (char * (*g) (char **, int), char **p, ...) 33378ae04fa6Smrg{ 33388ae04fa6Smrg char *s; 33398ae04fa6Smrg va_list v; 33408ae04fa6Smrg va_start (v,p); 33418ae04fa6Smrg s = g (p, va_arg (v,int)); 33428ae04fa6Smrg va_end (v); 33438ae04fa6Smrg return s; 33448ae04fa6Smrg} 33458ae04fa6Smrg 33468ae04fa6Smrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 33478ae04fa6Smrg function prototypes and stuff, but not '\xHH' hex character constants. 33488ae04fa6Smrg These don't provoke an error unfortunately, instead are silently treated 33498ae04fa6Smrg as 'x'. The following induces an error, until -std is added to get 33508ae04fa6Smrg proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 33518ae04fa6Smrg array size at least. It's necessary to write '\x00'==0 to get something 33528ae04fa6Smrg that's true only with -std. */ 33538ae04fa6Smrgint osf4_cc_array ['\x00' == 0 ? 1 : -1]; 33548ae04fa6Smrg 33558ae04fa6Smrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 33568ae04fa6Smrg inside strings and character constants. */ 33578ae04fa6Smrg#define FOO(x) 'x' 33588ae04fa6Smrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 33598ae04fa6Smrg 33608ae04fa6Smrgint test (int i, double x); 33618ae04fa6Smrgstruct s1 {int (*f) (int a);}; 33628ae04fa6Smrgstruct s2 {int (*f) (double a);}; 33638ae04fa6Smrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 33648ae04fa6Smrgint argc; 33658ae04fa6Smrgchar **argv; 33668ae04fa6Smrgint 33678ae04fa6Smrgmain () 33688ae04fa6Smrg{ 33698ae04fa6Smrgreturn f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 33708ae04fa6Smrg ; 33718ae04fa6Smrg return 0; 33728ae04fa6Smrg} 33738ae04fa6Smrg_ACEOF 33748ae04fa6Smrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 33758ae04fa6Smrg -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 33768ae04fa6Smrgdo 33778ae04fa6Smrg CC="$ac_save_CC $ac_arg" 33782d1d20fcSmrg if ac_fn_c_try_compile "$LINENO"; then : 33798ae04fa6Smrg ac_cv_prog_cc_c89=$ac_arg 33808ae04fa6Smrgfi 33818ae04fa6Smrgrm -f core conftest.err conftest.$ac_objext 33828ae04fa6Smrg test "x$ac_cv_prog_cc_c89" != "xno" && break 33838ae04fa6Smrgdone 33848ae04fa6Smrgrm -f conftest.$ac_ext 33858ae04fa6SmrgCC=$ac_save_CC 33868ae04fa6Smrg 33878ae04fa6Smrgfi 33888ae04fa6Smrg# AC_CACHE_VAL 33898ae04fa6Smrgcase "x$ac_cv_prog_cc_c89" in 33908ae04fa6Smrg x) 33912d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 339244af7230Smrg$as_echo "none needed" >&6; } ;; 33938ae04fa6Smrg xno) 33942d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 339544af7230Smrg$as_echo "unsupported" >&6; } ;; 33968ae04fa6Smrg *) 33978ae04fa6Smrg CC="$CC $ac_cv_prog_cc_c89" 33982d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 339944af7230Smrg$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 34008ae04fa6Smrgesac 34012d1d20fcSmrgif test "x$ac_cv_prog_cc_c89" != xno; then : 34028ae04fa6Smrg 34032d1d20fcSmrgfi 34048ae04fa6Smrg 34058ae04fa6Smrgac_ext=c 34068ae04fa6Smrgac_cpp='$CPP $CPPFLAGS' 34078ae04fa6Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 34088ae04fa6Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 34098ae04fa6Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 34108ae04fa6Smrg 34118ae04fa6Smrgdepcc="$CC" am_compiler_list= 34128ae04fa6Smrg 34132d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 341444af7230Smrg$as_echo_n "checking dependency style of $depcc... " >&6; } 34152d1d20fcSmrgif ${am_cv_CC_dependencies_compiler_type+:} false; then : 341644af7230Smrg $as_echo_n "(cached) " >&6 34178ae04fa6Smrgelse 34188ae04fa6Smrg if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 34198ae04fa6Smrg # We make a subdir and do the tests there. Otherwise we can end up 34208ae04fa6Smrg # making bogus files that we don't know about and never remove. For 34218ae04fa6Smrg # instance it was reported that on HP-UX the gcc test will end up 34228ae04fa6Smrg # making a dummy file named `D' -- because `-MD' means `put the output 34238ae04fa6Smrg # in D'. 34248ae04fa6Smrg mkdir conftest.dir 34258ae04fa6Smrg # Copy depcomp to subdir because otherwise we won't find it if we're 34268ae04fa6Smrg # using a relative directory. 34278ae04fa6Smrg cp "$am_depcomp" conftest.dir 34288ae04fa6Smrg cd conftest.dir 34298ae04fa6Smrg # We will build objects and dependencies in a subdirectory because 34308ae04fa6Smrg # it helps to detect inapplicable dependency modes. For instance 34318ae04fa6Smrg # both Tru64's cc and ICC support -MD to output dependencies as a 34328ae04fa6Smrg # side effect of compilation, but ICC will put the dependencies in 34338ae04fa6Smrg # the current directory while Tru64 will put them in the object 34348ae04fa6Smrg # directory. 34358ae04fa6Smrg mkdir sub 34368ae04fa6Smrg 34378ae04fa6Smrg am_cv_CC_dependencies_compiler_type=none 34388ae04fa6Smrg if test "$am_compiler_list" = ""; then 34398ae04fa6Smrg am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 34408ae04fa6Smrg fi 344144af7230Smrg am__universal=false 344244af7230Smrg case " $depcc " in #( 344344af7230Smrg *\ -arch\ *\ -arch\ *) am__universal=true ;; 344444af7230Smrg esac 344544af7230Smrg 34468ae04fa6Smrg for depmode in $am_compiler_list; do 34478ae04fa6Smrg # Setup a source with many dependencies, because some compilers 34488ae04fa6Smrg # like to wrap large dependency lists on column 80 (with \), and 34498ae04fa6Smrg # we should not choose a depcomp mode which is confused by this. 34508ae04fa6Smrg # 34518ae04fa6Smrg # We need to recreate these files for each test, as the compiler may 34528ae04fa6Smrg # overwrite some of them when testing with obscure command lines. 34538ae04fa6Smrg # This happens at least with the AIX C compiler. 34548ae04fa6Smrg : > sub/conftest.c 34558ae04fa6Smrg for i in 1 2 3 4 5 6; do 34568ae04fa6Smrg echo '#include "conftst'$i'.h"' >> sub/conftest.c 34578ae04fa6Smrg # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 34588ae04fa6Smrg # Solaris 8's {/usr,}/bin/sh. 34598ae04fa6Smrg touch sub/conftst$i.h 34608ae04fa6Smrg done 34618ae04fa6Smrg echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 34628ae04fa6Smrg 346344af7230Smrg # We check with `-c' and `-o' for the sake of the "dashmstdout" 346444af7230Smrg # mode. It turns out that the SunPro C++ compiler does not properly 346544af7230Smrg # handle `-M -o', and we need to detect this. Also, some Intel 346644af7230Smrg # versions had trouble with output in subdirs 346744af7230Smrg am__obj=sub/conftest.${OBJEXT-o} 346844af7230Smrg am__minus_obj="-o $am__obj" 34698ae04fa6Smrg case $depmode in 347044af7230Smrg gcc) 347144af7230Smrg # This depmode causes a compiler race in universal mode. 347244af7230Smrg test "$am__universal" = false || continue 347344af7230Smrg ;; 34748ae04fa6Smrg nosideeffect) 34758ae04fa6Smrg # after this tag, mechanisms are not by side-effect, so they'll 34768ae04fa6Smrg # only be used when explicitly requested 34778ae04fa6Smrg if test "x$enable_dependency_tracking" = xyes; then 34788ae04fa6Smrg continue 34798ae04fa6Smrg else 34808ae04fa6Smrg break 34818ae04fa6Smrg fi 34828ae04fa6Smrg ;; 348344af7230Smrg msvisualcpp | msvcmsys) 348444af7230Smrg # This compiler won't grok `-c -o', but also, the minuso test has 348544af7230Smrg # not run yet. These depmodes are late enough in the game, and 348644af7230Smrg # so weak that their functioning should not be impacted. 348744af7230Smrg am__obj=conftest.${OBJEXT-o} 348844af7230Smrg am__minus_obj= 348944af7230Smrg ;; 34908ae04fa6Smrg none) break ;; 34918ae04fa6Smrg esac 34928ae04fa6Smrg if depmode=$depmode \ 349344af7230Smrg source=sub/conftest.c object=$am__obj \ 34948ae04fa6Smrg depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 349544af7230Smrg $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 34968ae04fa6Smrg >/dev/null 2>conftest.err && 34978ae04fa6Smrg grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 34988ae04fa6Smrg grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 349944af7230Smrg grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 35008ae04fa6Smrg ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 35018ae04fa6Smrg # icc doesn't choke on unknown options, it will just issue warnings 35028ae04fa6Smrg # or remarks (even with -Werror). So we grep stderr for any message 35038ae04fa6Smrg # that says an option was ignored or not supported. 35048ae04fa6Smrg # When given -MP, icc 7.0 and 7.1 complain thusly: 35058ae04fa6Smrg # icc: Command line warning: ignoring option '-M'; no argument required 35068ae04fa6Smrg # The diagnosis changed in icc 8.0: 35078ae04fa6Smrg # icc: Command line remark: option '-MP' not supported 35088ae04fa6Smrg if (grep 'ignoring option' conftest.err || 35098ae04fa6Smrg grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 35108ae04fa6Smrg am_cv_CC_dependencies_compiler_type=$depmode 35118ae04fa6Smrg break 35128ae04fa6Smrg fi 35138ae04fa6Smrg fi 35148ae04fa6Smrg done 35158ae04fa6Smrg 35168ae04fa6Smrg cd .. 35178ae04fa6Smrg rm -rf conftest.dir 35188ae04fa6Smrgelse 35198ae04fa6Smrg am_cv_CC_dependencies_compiler_type=none 35208ae04fa6Smrgfi 35218ae04fa6Smrg 35228ae04fa6Smrgfi 35232d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 352444af7230Smrg$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 35258ae04fa6SmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 35268ae04fa6Smrg 35278ae04fa6Smrg if 35288ae04fa6Smrg test "x$enable_dependency_tracking" != xno \ 35298ae04fa6Smrg && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 35308ae04fa6Smrg am__fastdepCC_TRUE= 35318ae04fa6Smrg am__fastdepCC_FALSE='#' 35328ae04fa6Smrgelse 35338ae04fa6Smrg am__fastdepCC_TRUE='#' 35348ae04fa6Smrg am__fastdepCC_FALSE= 35358ae04fa6Smrgfi 35368ae04fa6Smrg 35378ae04fa6Smrg 35382d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 35392d1d20fcSmrg$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 35402d1d20fcSmrgif ${ac_cv_prog_cc_c99+:} false; then : 354144af7230Smrg $as_echo_n "(cached) " >&6 35428ae04fa6Smrgelse 35432d1d20fcSmrg ac_cv_prog_cc_c99=no 35442d1d20fcSmrgac_save_CC=$CC 35452d1d20fcSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 35462d1d20fcSmrg/* end confdefs.h. */ 35472d1d20fcSmrg#include <stdarg.h> 35482d1d20fcSmrg#include <stdbool.h> 35492d1d20fcSmrg#include <stdlib.h> 35502d1d20fcSmrg#include <wchar.h> 35512d1d20fcSmrg#include <stdio.h> 355244af7230Smrg 35532d1d20fcSmrg// Check varargs macros. These examples are taken from C99 6.10.3.5. 35542d1d20fcSmrg#define debug(...) fprintf (stderr, __VA_ARGS__) 35552d1d20fcSmrg#define showlist(...) puts (#__VA_ARGS__) 35562d1d20fcSmrg#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 35572d1d20fcSmrgstatic void 35582d1d20fcSmrgtest_varargs_macros (void) 35592d1d20fcSmrg{ 35602d1d20fcSmrg int x = 1234; 35612d1d20fcSmrg int y = 5678; 35622d1d20fcSmrg debug ("Flag"); 35632d1d20fcSmrg debug ("X = %d\n", x); 35642d1d20fcSmrg showlist (The first, second, and third items.); 35652d1d20fcSmrg report (x>y, "x is %d but y is %d", x, y); 35662d1d20fcSmrg} 35678ae04fa6Smrg 35682d1d20fcSmrg// Check long long types. 35692d1d20fcSmrg#define BIG64 18446744073709551615ull 35702d1d20fcSmrg#define BIG32 4294967295ul 35712d1d20fcSmrg#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 35722d1d20fcSmrg#if !BIG_OK 35732d1d20fcSmrg your preprocessor is broken; 35742d1d20fcSmrg#endif 35752d1d20fcSmrg#if BIG_OK 35762d1d20fcSmrg#else 35772d1d20fcSmrg your preprocessor is broken; 35782d1d20fcSmrg#endif 35792d1d20fcSmrgstatic long long int bignum = -9223372036854775807LL; 35802d1d20fcSmrgstatic unsigned long long int ubignum = BIG64; 35818ae04fa6Smrg 35822d1d20fcSmrgstruct incomplete_array 35832d1d20fcSmrg{ 35842d1d20fcSmrg int datasize; 35852d1d20fcSmrg double data[]; 35862d1d20fcSmrg}; 35878ae04fa6Smrg 35882d1d20fcSmrgstruct named_init { 35892d1d20fcSmrg int number; 35902d1d20fcSmrg const wchar_t *name; 35912d1d20fcSmrg double average; 35922d1d20fcSmrg}; 35938ae04fa6Smrg 35942d1d20fcSmrgtypedef const char *ccp; 35958ae04fa6Smrg 35962d1d20fcSmrgstatic inline int 35972d1d20fcSmrgtest_restrict (ccp restrict text) 35982d1d20fcSmrg{ 35992d1d20fcSmrg // See if C++-style comments work. 36002d1d20fcSmrg // Iterate through items via the restricted pointer. 36012d1d20fcSmrg // Also check for declarations in for loops. 36022d1d20fcSmrg for (unsigned int i = 0; *(text+i) != '\0'; ++i) 36032d1d20fcSmrg continue; 36042d1d20fcSmrg return 0; 36052d1d20fcSmrg} 36062d1d20fcSmrg 36072d1d20fcSmrg// Check varargs and va_copy. 36082d1d20fcSmrgstatic void 36092d1d20fcSmrgtest_varargs (const char *format, ...) 36102d1d20fcSmrg{ 36112d1d20fcSmrg va_list args; 36122d1d20fcSmrg va_start (args, format); 36132d1d20fcSmrg va_list args_copy; 36142d1d20fcSmrg va_copy (args_copy, args); 36152d1d20fcSmrg 36162d1d20fcSmrg const char *str; 36172d1d20fcSmrg int number; 36182d1d20fcSmrg float fnumber; 36192d1d20fcSmrg 36202d1d20fcSmrg while (*format) 36212d1d20fcSmrg { 36222d1d20fcSmrg switch (*format++) 36232d1d20fcSmrg { 36242d1d20fcSmrg case 's': // string 36252d1d20fcSmrg str = va_arg (args_copy, const char *); 36262d1d20fcSmrg break; 36272d1d20fcSmrg case 'd': // int 36282d1d20fcSmrg number = va_arg (args_copy, int); 36292d1d20fcSmrg break; 36302d1d20fcSmrg case 'f': // float 36312d1d20fcSmrg fnumber = va_arg (args_copy, double); 36322d1d20fcSmrg break; 36332d1d20fcSmrg default: 36342d1d20fcSmrg break; 36352d1d20fcSmrg } 36362d1d20fcSmrg } 36372d1d20fcSmrg va_end (args_copy); 36382d1d20fcSmrg va_end (args); 36392d1d20fcSmrg} 36402d1d20fcSmrg 36412d1d20fcSmrgint 36422d1d20fcSmrgmain () 36432d1d20fcSmrg{ 36442d1d20fcSmrg 36452d1d20fcSmrg // Check bool. 36462d1d20fcSmrg _Bool success = false; 36472d1d20fcSmrg 36482d1d20fcSmrg // Check restrict. 36492d1d20fcSmrg if (test_restrict ("String literal") == 0) 36502d1d20fcSmrg success = true; 36512d1d20fcSmrg char *restrict newvar = "Another string"; 36522d1d20fcSmrg 36532d1d20fcSmrg // Check varargs. 36542d1d20fcSmrg test_varargs ("s, d' f .", "string", 65, 34.234); 36552d1d20fcSmrg test_varargs_macros (); 36562d1d20fcSmrg 36572d1d20fcSmrg // Check flexible array members. 36582d1d20fcSmrg struct incomplete_array *ia = 36592d1d20fcSmrg malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 36602d1d20fcSmrg ia->datasize = 10; 36612d1d20fcSmrg for (int i = 0; i < ia->datasize; ++i) 36622d1d20fcSmrg ia->data[i] = i * 1.234; 36632d1d20fcSmrg 36642d1d20fcSmrg // Check named initializers. 36652d1d20fcSmrg struct named_init ni = { 36662d1d20fcSmrg .number = 34, 36672d1d20fcSmrg .name = L"Test wide string", 36682d1d20fcSmrg .average = 543.34343, 36692d1d20fcSmrg }; 36702d1d20fcSmrg 36712d1d20fcSmrg ni.number = 58; 36722d1d20fcSmrg 36732d1d20fcSmrg int dynamic_array[ni.number]; 36742d1d20fcSmrg dynamic_array[ni.number - 1] = 543; 36752d1d20fcSmrg 36762d1d20fcSmrg // work around unused variable warnings 36772d1d20fcSmrg return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 36782d1d20fcSmrg || dynamic_array[ni.number - 1] != 543); 36792d1d20fcSmrg 36802d1d20fcSmrg ; 36812d1d20fcSmrg return 0; 36822d1d20fcSmrg} 36832d1d20fcSmrg_ACEOF 36842d1d20fcSmrgfor ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 36852d1d20fcSmrgdo 36862d1d20fcSmrg CC="$ac_save_CC $ac_arg" 36872d1d20fcSmrg if ac_fn_c_try_compile "$LINENO"; then : 36882d1d20fcSmrg ac_cv_prog_cc_c99=$ac_arg 36892d1d20fcSmrgfi 36902d1d20fcSmrgrm -f core conftest.err conftest.$ac_objext 36912d1d20fcSmrg test "x$ac_cv_prog_cc_c99" != "xno" && break 36922d1d20fcSmrgdone 36932d1d20fcSmrgrm -f conftest.$ac_ext 36942d1d20fcSmrgCC=$ac_save_CC 36952d1d20fcSmrg 36962d1d20fcSmrgfi 36972d1d20fcSmrg# AC_CACHE_VAL 36982d1d20fcSmrgcase "x$ac_cv_prog_cc_c99" in 36992d1d20fcSmrg x) 37002d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 37012d1d20fcSmrg$as_echo "none needed" >&6; } ;; 37022d1d20fcSmrg xno) 37032d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 37042d1d20fcSmrg$as_echo "unsupported" >&6; } ;; 37052d1d20fcSmrg *) 37062d1d20fcSmrg CC="$CC $ac_cv_prog_cc_c99" 37072d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 37082d1d20fcSmrg$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 37092d1d20fcSmrgesac 37102d1d20fcSmrgif test "x$ac_cv_prog_cc_c99" != xno; then : 37112d1d20fcSmrg 37122d1d20fcSmrgfi 37138ae04fa6Smrg 37148ae04fa6Smrg 37158ae04fa6Smrg 371644af7230Smrgac_ext=c 371744af7230Smrgac_cpp='$CPP $CPPFLAGS' 371844af7230Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 371944af7230Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 372044af7230Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 37212d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 372244af7230Smrg$as_echo_n "checking how to run the C preprocessor... " >&6; } 372344af7230Smrg# On Suns, sometimes $CPP names a directory. 372444af7230Smrgif test -n "$CPP" && test -d "$CPP"; then 372544af7230Smrg CPP= 372644af7230Smrgfi 372744af7230Smrgif test -z "$CPP"; then 37282d1d20fcSmrg if ${ac_cv_prog_CPP+:} false; then : 372944af7230Smrg $as_echo_n "(cached) " >&6 37308ae04fa6Smrgelse 373144af7230Smrg # Double quotes because CPP needs to be expanded 373244af7230Smrg for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 373344af7230Smrg do 373444af7230Smrg ac_preproc_ok=false 373544af7230Smrgfor ac_c_preproc_warn_flag in '' yes 37368ae04fa6Smrgdo 373744af7230Smrg # Use a header file that comes with gcc, so configuring glibc 373844af7230Smrg # with a fresh cross-compiler works. 373944af7230Smrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 374044af7230Smrg # <limits.h> exists even on freestanding compilers. 374144af7230Smrg # On the NeXT, cc -E runs the code through the compiler's parser, 374244af7230Smrg # not just through cpp. "Syntax error" is here to catch this case. 37432d1d20fcSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 374444af7230Smrg/* end confdefs.h. */ 374544af7230Smrg#ifdef __STDC__ 374644af7230Smrg# include <limits.h> 374744af7230Smrg#else 374844af7230Smrg# include <assert.h> 374944af7230Smrg#endif 375044af7230Smrg Syntax error 375144af7230Smrg_ACEOF 37522d1d20fcSmrgif ac_fn_c_try_cpp "$LINENO"; then : 37538ae04fa6Smrg 37542d1d20fcSmrgelse 375544af7230Smrg # Broken: fails on valid input. 375644af7230Smrgcontinue 37578ae04fa6Smrgfi 37582d1d20fcSmrgrm -f conftest.err conftest.i conftest.$ac_ext 37598ae04fa6Smrg 376044af7230Smrg # OK, works on sane cases. Now check whether nonexistent headers 376144af7230Smrg # can be detected and how. 37622d1d20fcSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 376344af7230Smrg/* end confdefs.h. */ 376444af7230Smrg#include <ac_nonexistent.h> 376544af7230Smrg_ACEOF 37662d1d20fcSmrgif ac_fn_c_try_cpp "$LINENO"; then : 376744af7230Smrg # Broken: success on invalid input. 376844af7230Smrgcontinue 37698ae04fa6Smrgelse 377044af7230Smrg # Passes both tests. 377144af7230Smrgac_preproc_ok=: 377244af7230Smrgbreak 37738ae04fa6Smrgfi 37742d1d20fcSmrgrm -f conftest.err conftest.i conftest.$ac_ext 377544af7230Smrg 377644af7230Smrgdone 377744af7230Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 37782d1d20fcSmrgrm -f conftest.i conftest.err conftest.$ac_ext 37792d1d20fcSmrgif $ac_preproc_ok; then : 378044af7230Smrg break 37818ae04fa6Smrgfi 37828ae04fa6Smrg 378344af7230Smrg done 378444af7230Smrg ac_cv_prog_CPP=$CPP 37858ae04fa6Smrg 37868ae04fa6Smrgfi 378744af7230Smrg CPP=$ac_cv_prog_CPP 37888ae04fa6Smrgelse 378944af7230Smrg ac_cv_prog_CPP=$CPP 37908ae04fa6Smrgfi 37912d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 379244af7230Smrg$as_echo "$CPP" >&6; } 379344af7230Smrgac_preproc_ok=false 379444af7230Smrgfor ac_c_preproc_warn_flag in '' yes 379544af7230Smrgdo 379644af7230Smrg # Use a header file that comes with gcc, so configuring glibc 379744af7230Smrg # with a fresh cross-compiler works. 379844af7230Smrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 379944af7230Smrg # <limits.h> exists even on freestanding compilers. 380044af7230Smrg # On the NeXT, cc -E runs the code through the compiler's parser, 380144af7230Smrg # not just through cpp. "Syntax error" is here to catch this case. 38022d1d20fcSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 380344af7230Smrg/* end confdefs.h. */ 380444af7230Smrg#ifdef __STDC__ 380544af7230Smrg# include <limits.h> 380644af7230Smrg#else 380744af7230Smrg# include <assert.h> 380844af7230Smrg#endif 380944af7230Smrg Syntax error 381044af7230Smrg_ACEOF 38112d1d20fcSmrgif ac_fn_c_try_cpp "$LINENO"; then : 38128ae04fa6Smrg 38132d1d20fcSmrgelse 381444af7230Smrg # Broken: fails on valid input. 381544af7230Smrgcontinue 381644af7230Smrgfi 38172d1d20fcSmrgrm -f conftest.err conftest.i conftest.$ac_ext 38188ae04fa6Smrg 381944af7230Smrg # OK, works on sane cases. Now check whether nonexistent headers 382044af7230Smrg # can be detected and how. 38212d1d20fcSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 382244af7230Smrg/* end confdefs.h. */ 382344af7230Smrg#include <ac_nonexistent.h> 382444af7230Smrg_ACEOF 38252d1d20fcSmrgif ac_fn_c_try_cpp "$LINENO"; then : 382644af7230Smrg # Broken: success on invalid input. 382744af7230Smrgcontinue 382844af7230Smrgelse 382944af7230Smrg # Passes both tests. 383044af7230Smrgac_preproc_ok=: 383144af7230Smrgbreak 383244af7230Smrgfi 38332d1d20fcSmrgrm -f conftest.err conftest.i conftest.$ac_ext 38348ae04fa6Smrg 383544af7230Smrgdone 383644af7230Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 38372d1d20fcSmrgrm -f conftest.i conftest.err conftest.$ac_ext 38382d1d20fcSmrgif $ac_preproc_ok; then : 38392d1d20fcSmrg 384044af7230Smrgelse 38412d1d20fcSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 384244af7230Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 38432d1d20fcSmrgas_fn_error $? "C preprocessor \"$CPP\" fails sanity check 38442d1d20fcSmrgSee \`config.log' for more details" "$LINENO" 5; } 38458ae04fa6Smrgfi 38468ae04fa6Smrg 384744af7230Smrgac_ext=c 384844af7230Smrgac_cpp='$CPP $CPPFLAGS' 384944af7230Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 385044af7230Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 385144af7230Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 38528ae04fa6Smrg 38538ae04fa6Smrg 38542d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 385544af7230Smrg$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 38562d1d20fcSmrgif ${ac_cv_path_GREP+:} false; then : 385744af7230Smrg $as_echo_n "(cached) " >&6 38588ae04fa6Smrgelse 385944af7230Smrg if test -z "$GREP"; then 386044af7230Smrg ac_path_GREP_found=false 386144af7230Smrg # Loop through the user's path and test for each of PROGNAME-LIST 386244af7230Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 386344af7230Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 386444af7230Smrgdo 386544af7230Smrg IFS=$as_save_IFS 386644af7230Smrg test -z "$as_dir" && as_dir=. 38672d1d20fcSmrg for ac_prog in grep ggrep; do 386844af7230Smrg for ac_exec_ext in '' $ac_executable_extensions; do 386944af7230Smrg ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 387044af7230Smrg { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 387144af7230Smrg# Check for GNU ac_path_GREP and select it if it is found. 387244af7230Smrg # Check for GNU $ac_path_GREP 387344af7230Smrgcase `"$ac_path_GREP" --version 2>&1` in 387444af7230Smrg*GNU*) 387544af7230Smrg ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 387644af7230Smrg*) 387744af7230Smrg ac_count=0 387844af7230Smrg $as_echo_n 0123456789 >"conftest.in" 387944af7230Smrg while : 388044af7230Smrg do 388144af7230Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 388244af7230Smrg mv "conftest.tmp" "conftest.in" 388344af7230Smrg cp "conftest.in" "conftest.nl" 388444af7230Smrg $as_echo 'GREP' >> "conftest.nl" 388544af7230Smrg "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 388644af7230Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 38872d1d20fcSmrg as_fn_arith $ac_count + 1 && ac_count=$as_val 388844af7230Smrg if test $ac_count -gt ${ac_path_GREP_max-0}; then 388944af7230Smrg # Best one so far, save it but keep looking for a better one 389044af7230Smrg ac_cv_path_GREP="$ac_path_GREP" 389144af7230Smrg ac_path_GREP_max=$ac_count 389244af7230Smrg fi 389344af7230Smrg # 10*(2^10) chars as input seems more than enough 389444af7230Smrg test $ac_count -gt 10 && break 389544af7230Smrg done 389644af7230Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 389744af7230Smrgesac 389844af7230Smrg 389944af7230Smrg $ac_path_GREP_found && break 3 390044af7230Smrg done 390144af7230Smrg done 39022d1d20fcSmrg done 390344af7230SmrgIFS=$as_save_IFS 390444af7230Smrg if test -z "$ac_cv_path_GREP"; then 39052d1d20fcSmrg as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 390644af7230Smrg fi 390744af7230Smrgelse 390844af7230Smrg ac_cv_path_GREP=$GREP 390944af7230Smrgfi 39108ae04fa6Smrg 39118ae04fa6Smrgfi 39122d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 391344af7230Smrg$as_echo "$ac_cv_path_GREP" >&6; } 391444af7230Smrg GREP="$ac_cv_path_GREP" 39158ae04fa6Smrg 39168ae04fa6Smrg 39172d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 391844af7230Smrg$as_echo_n "checking for egrep... " >&6; } 39192d1d20fcSmrgif ${ac_cv_path_EGREP+:} false; then : 392044af7230Smrg $as_echo_n "(cached) " >&6 39218ae04fa6Smrgelse 392244af7230Smrg if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 392344af7230Smrg then ac_cv_path_EGREP="$GREP -E" 392444af7230Smrg else 392544af7230Smrg if test -z "$EGREP"; then 392644af7230Smrg ac_path_EGREP_found=false 392744af7230Smrg # Loop through the user's path and test for each of PROGNAME-LIST 392844af7230Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 392944af7230Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 393044af7230Smrgdo 393144af7230Smrg IFS=$as_save_IFS 393244af7230Smrg test -z "$as_dir" && as_dir=. 39332d1d20fcSmrg for ac_prog in egrep; do 393444af7230Smrg for ac_exec_ext in '' $ac_executable_extensions; do 393544af7230Smrg ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 393644af7230Smrg { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 393744af7230Smrg# Check for GNU ac_path_EGREP and select it if it is found. 393844af7230Smrg # Check for GNU $ac_path_EGREP 393944af7230Smrgcase `"$ac_path_EGREP" --version 2>&1` in 394044af7230Smrg*GNU*) 394144af7230Smrg ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 394244af7230Smrg*) 394344af7230Smrg ac_count=0 394444af7230Smrg $as_echo_n 0123456789 >"conftest.in" 394544af7230Smrg while : 394644af7230Smrg do 394744af7230Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 394844af7230Smrg mv "conftest.tmp" "conftest.in" 394944af7230Smrg cp "conftest.in" "conftest.nl" 395044af7230Smrg $as_echo 'EGREP' >> "conftest.nl" 395144af7230Smrg "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 395244af7230Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 39532d1d20fcSmrg as_fn_arith $ac_count + 1 && ac_count=$as_val 395444af7230Smrg if test $ac_count -gt ${ac_path_EGREP_max-0}; then 395544af7230Smrg # Best one so far, save it but keep looking for a better one 395644af7230Smrg ac_cv_path_EGREP="$ac_path_EGREP" 395744af7230Smrg ac_path_EGREP_max=$ac_count 395844af7230Smrg fi 395944af7230Smrg # 10*(2^10) chars as input seems more than enough 396044af7230Smrg test $ac_count -gt 10 && break 396144af7230Smrg done 396244af7230Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 396344af7230Smrgesac 396444af7230Smrg 396544af7230Smrg $ac_path_EGREP_found && break 3 396644af7230Smrg done 396744af7230Smrg done 39682d1d20fcSmrg done 396944af7230SmrgIFS=$as_save_IFS 397044af7230Smrg if test -z "$ac_cv_path_EGREP"; then 39712d1d20fcSmrg as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 397244af7230Smrg fi 397344af7230Smrgelse 397444af7230Smrg ac_cv_path_EGREP=$EGREP 39758ae04fa6Smrgfi 39768ae04fa6Smrg 397744af7230Smrg fi 39788ae04fa6Smrgfi 39792d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 398044af7230Smrg$as_echo "$ac_cv_path_EGREP" >&6; } 398144af7230Smrg EGREP="$ac_cv_path_EGREP" 39828ae04fa6Smrg 39838ae04fa6Smrg 39842d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 398544af7230Smrg$as_echo_n "checking for ANSI C header files... " >&6; } 39862d1d20fcSmrgif ${ac_cv_header_stdc+:} false; then : 398744af7230Smrg $as_echo_n "(cached) " >&6 398844af7230Smrgelse 39892d1d20fcSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 399044af7230Smrg/* end confdefs.h. */ 399144af7230Smrg#include <stdlib.h> 399244af7230Smrg#include <stdarg.h> 399344af7230Smrg#include <string.h> 399444af7230Smrg#include <float.h> 39958ae04fa6Smrg 399644af7230Smrgint 399744af7230Smrgmain () 399844af7230Smrg{ 39998ae04fa6Smrg 400044af7230Smrg ; 400144af7230Smrg return 0; 400244af7230Smrg} 400344af7230Smrg_ACEOF 40042d1d20fcSmrgif ac_fn_c_try_compile "$LINENO"; then : 400544af7230Smrg ac_cv_header_stdc=yes 400644af7230Smrgelse 40072d1d20fcSmrg ac_cv_header_stdc=no 400844af7230Smrgfi 400944af7230Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 401044af7230Smrg 401144af7230Smrgif test $ac_cv_header_stdc = yes; then 401244af7230Smrg # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 40132d1d20fcSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 401444af7230Smrg/* end confdefs.h. */ 401544af7230Smrg#include <string.h> 401644af7230Smrg 401744af7230Smrg_ACEOF 401844af7230Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 40192d1d20fcSmrg $EGREP "memchr" >/dev/null 2>&1; then : 40202d1d20fcSmrg 402144af7230Smrgelse 402244af7230Smrg ac_cv_header_stdc=no 402344af7230Smrgfi 402444af7230Smrgrm -f conftest* 402544af7230Smrg 402644af7230Smrgfi 402744af7230Smrg 402844af7230Smrgif test $ac_cv_header_stdc = yes; then 402944af7230Smrg # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 40302d1d20fcSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 403144af7230Smrg/* end confdefs.h. */ 403244af7230Smrg#include <stdlib.h> 403344af7230Smrg 403444af7230Smrg_ACEOF 403544af7230Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 40362d1d20fcSmrg $EGREP "free" >/dev/null 2>&1; then : 40372d1d20fcSmrg 403844af7230Smrgelse 403944af7230Smrg ac_cv_header_stdc=no 404044af7230Smrgfi 404144af7230Smrgrm -f conftest* 404244af7230Smrg 404344af7230Smrgfi 404444af7230Smrg 404544af7230Smrgif test $ac_cv_header_stdc = yes; then 404644af7230Smrg # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 40472d1d20fcSmrg if test "$cross_compiling" = yes; then : 404844af7230Smrg : 404944af7230Smrgelse 40502d1d20fcSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 405144af7230Smrg/* end confdefs.h. */ 405244af7230Smrg#include <ctype.h> 405344af7230Smrg#include <stdlib.h> 405444af7230Smrg#if ((' ' & 0x0FF) == 0x020) 405544af7230Smrg# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 405644af7230Smrg# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 405744af7230Smrg#else 405844af7230Smrg# define ISLOWER(c) \ 405944af7230Smrg (('a' <= (c) && (c) <= 'i') \ 406044af7230Smrg || ('j' <= (c) && (c) <= 'r') \ 406144af7230Smrg || ('s' <= (c) && (c) <= 'z')) 406244af7230Smrg# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 406344af7230Smrg#endif 406444af7230Smrg 406544af7230Smrg#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 406644af7230Smrgint 406744af7230Smrgmain () 406844af7230Smrg{ 406944af7230Smrg int i; 407044af7230Smrg for (i = 0; i < 256; i++) 407144af7230Smrg if (XOR (islower (i), ISLOWER (i)) 407244af7230Smrg || toupper (i) != TOUPPER (i)) 407344af7230Smrg return 2; 407444af7230Smrg return 0; 407544af7230Smrg} 407644af7230Smrg_ACEOF 40772d1d20fcSmrgif ac_fn_c_try_run "$LINENO"; then : 407844af7230Smrg 40792d1d20fcSmrgelse 40802d1d20fcSmrg ac_cv_header_stdc=no 408144af7230Smrgfi 40822d1d20fcSmrgrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 40832d1d20fcSmrg conftest.$ac_objext conftest.beam conftest.$ac_ext 408444af7230Smrgfi 408544af7230Smrg 408644af7230Smrgfi 408744af7230Smrgfi 40882d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 408944af7230Smrg$as_echo "$ac_cv_header_stdc" >&6; } 409044af7230Smrgif test $ac_cv_header_stdc = yes; then 409144af7230Smrg 40922d1d20fcSmrg$as_echo "#define STDC_HEADERS 1" >>confdefs.h 409344af7230Smrg 409444af7230Smrgfi 409544af7230Smrg 409644af7230Smrg# On IRIX 5.3, sys/types and inttypes.h are conflicting. 409744af7230Smrgfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 409844af7230Smrg inttypes.h stdint.h unistd.h 40992d1d20fcSmrgdo : 41002d1d20fcSmrg as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 41012d1d20fcSmrgac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 41022d1d20fcSmrg" 41032d1d20fcSmrgif eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 410444af7230Smrg cat >>confdefs.h <<_ACEOF 410544af7230Smrg#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 410644af7230Smrg_ACEOF 410744af7230Smrg 410844af7230Smrgfi 410944af7230Smrg 411044af7230Smrgdone 411144af7230Smrg 411244af7230Smrg 411344af7230Smrg 411444af7230Smrg 41152d1d20fcSmrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 41162d1d20fcSmrg if test -n "$ac_tool_prefix"; then 41172d1d20fcSmrg # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 41182d1d20fcSmrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2 41192d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 41202d1d20fcSmrg$as_echo_n "checking for $ac_word... " >&6; } 41212d1d20fcSmrgif ${ac_cv_path_PKG_CONFIG+:} false; then : 41222d1d20fcSmrg $as_echo_n "(cached) " >&6 41232d1d20fcSmrgelse 41242d1d20fcSmrg case $PKG_CONFIG in 41252d1d20fcSmrg [\\/]* | ?:[\\/]*) 41262d1d20fcSmrg ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 41272d1d20fcSmrg ;; 41282d1d20fcSmrg *) 41292d1d20fcSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 41302d1d20fcSmrgfor as_dir in $PATH 413144af7230Smrgdo 41322d1d20fcSmrg IFS=$as_save_IFS 41332d1d20fcSmrg test -z "$as_dir" && as_dir=. 41342d1d20fcSmrg for ac_exec_ext in '' $ac_executable_extensions; do 41352d1d20fcSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 41362d1d20fcSmrg ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 41372d1d20fcSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 41382d1d20fcSmrg break 2 41392d1d20fcSmrg fi 41402d1d20fcSmrgdone 41412d1d20fcSmrg done 41422d1d20fcSmrgIFS=$as_save_IFS 41432d1d20fcSmrg 41442d1d20fcSmrg ;; 414544af7230Smrgesac 41462d1d20fcSmrgfi 41472d1d20fcSmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG 41482d1d20fcSmrgif test -n "$PKG_CONFIG"; then 41492d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 41502d1d20fcSmrg$as_echo "$PKG_CONFIG" >&6; } 415144af7230Smrgelse 41522d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 41532d1d20fcSmrg$as_echo "no" >&6; } 415444af7230Smrgfi 415544af7230Smrg 415644af7230Smrg 415744af7230Smrgfi 41582d1d20fcSmrgif test -z "$ac_cv_path_PKG_CONFIG"; then 41592d1d20fcSmrg ac_pt_PKG_CONFIG=$PKG_CONFIG 41602d1d20fcSmrg # Extract the first word of "pkg-config", so it can be a program name with args. 41612d1d20fcSmrgset dummy pkg-config; ac_word=$2 41622d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 41632d1d20fcSmrg$as_echo_n "checking for $ac_word... " >&6; } 41642d1d20fcSmrgif ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 41652d1d20fcSmrg $as_echo_n "(cached) " >&6 41662d1d20fcSmrgelse 41672d1d20fcSmrg case $ac_pt_PKG_CONFIG in 41682d1d20fcSmrg [\\/]* | ?:[\\/]*) 41692d1d20fcSmrg ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 41702d1d20fcSmrg ;; 417144af7230Smrg *) 41722d1d20fcSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 41732d1d20fcSmrgfor as_dir in $PATH 41742d1d20fcSmrgdo 41752d1d20fcSmrg IFS=$as_save_IFS 41762d1d20fcSmrg test -z "$as_dir" && as_dir=. 41772d1d20fcSmrg for ac_exec_ext in '' $ac_executable_extensions; do 41782d1d20fcSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 41792d1d20fcSmrg ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 41802d1d20fcSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 41812d1d20fcSmrg break 2 41822d1d20fcSmrg fi 41832d1d20fcSmrgdone 41842d1d20fcSmrg done 41852d1d20fcSmrgIFS=$as_save_IFS 41862d1d20fcSmrg 41872d1d20fcSmrg ;; 418844af7230Smrgesac 41892d1d20fcSmrgfi 41902d1d20fcSmrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 41912d1d20fcSmrgif test -n "$ac_pt_PKG_CONFIG"; then 41922d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 41932d1d20fcSmrg$as_echo "$ac_pt_PKG_CONFIG" >&6; } 41942d1d20fcSmrgelse 41952d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 41962d1d20fcSmrg$as_echo "no" >&6; } 41972d1d20fcSmrgfi 419844af7230Smrg 41992d1d20fcSmrg if test "x$ac_pt_PKG_CONFIG" = x; then 42002d1d20fcSmrg PKG_CONFIG="" 42012d1d20fcSmrg else 42022d1d20fcSmrg case $cross_compiling:$ac_tool_warned in 42032d1d20fcSmrgyes:) 42042d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 42052d1d20fcSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 42062d1d20fcSmrgac_tool_warned=yes ;; 42072d1d20fcSmrgesac 42082d1d20fcSmrg PKG_CONFIG=$ac_pt_PKG_CONFIG 42092d1d20fcSmrg fi 42102d1d20fcSmrgelse 42112d1d20fcSmrg PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 42122d1d20fcSmrgfi 421344af7230Smrg 42142d1d20fcSmrgfi 42152d1d20fcSmrgif test -n "$PKG_CONFIG"; then 42162d1d20fcSmrg _pkg_min_version=0.9.0 42172d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 42182d1d20fcSmrg$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 42192d1d20fcSmrg if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 42202d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 42212d1d20fcSmrg$as_echo "yes" >&6; } 42222d1d20fcSmrg else 42232d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 42242d1d20fcSmrg$as_echo "no" >&6; } 42252d1d20fcSmrg PKG_CONFIG="" 42262d1d20fcSmrg fi 422744af7230Smrg 42282d1d20fcSmrgfi 422944af7230Smrg# Make sure we can run config.sub. 423044af7230Smrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 42312d1d20fcSmrg as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 423244af7230Smrg 42332d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 423444af7230Smrg$as_echo_n "checking build system type... " >&6; } 42352d1d20fcSmrgif ${ac_cv_build+:} false; then : 423644af7230Smrg $as_echo_n "(cached) " >&6 423744af7230Smrgelse 423844af7230Smrg ac_build_alias=$build_alias 423944af7230Smrgtest "x$ac_build_alias" = x && 424044af7230Smrg ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 424144af7230Smrgtest "x$ac_build_alias" = x && 42422d1d20fcSmrg as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 424344af7230Smrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 42442d1d20fcSmrg as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 424544af7230Smrg 424644af7230Smrgfi 42472d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 424844af7230Smrg$as_echo "$ac_cv_build" >&6; } 424944af7230Smrgcase $ac_cv_build in 425044af7230Smrg*-*-*) ;; 42512d1d20fcSmrg*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 425244af7230Smrgesac 425344af7230Smrgbuild=$ac_cv_build 425444af7230Smrgac_save_IFS=$IFS; IFS='-' 425544af7230Smrgset x $ac_cv_build 425644af7230Smrgshift 425744af7230Smrgbuild_cpu=$1 425844af7230Smrgbuild_vendor=$2 425944af7230Smrgshift; shift 426044af7230Smrg# Remember, the first character of IFS is used to create $*, 426144af7230Smrg# except with old shells: 426244af7230Smrgbuild_os=$* 426344af7230SmrgIFS=$ac_save_IFS 426444af7230Smrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 426544af7230Smrg 426644af7230Smrg 42672d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 426844af7230Smrg$as_echo_n "checking host system type... " >&6; } 42692d1d20fcSmrgif ${ac_cv_host+:} false; then : 427044af7230Smrg $as_echo_n "(cached) " >&6 427144af7230Smrgelse 427244af7230Smrg if test "x$host_alias" = x; then 427344af7230Smrg ac_cv_host=$ac_cv_build 427444af7230Smrgelse 427544af7230Smrg ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 42762d1d20fcSmrg as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 427744af7230Smrgfi 427844af7230Smrg 427944af7230Smrgfi 42802d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 428144af7230Smrg$as_echo "$ac_cv_host" >&6; } 428244af7230Smrgcase $ac_cv_host in 428344af7230Smrg*-*-*) ;; 42842d1d20fcSmrg*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 428544af7230Smrgesac 428644af7230Smrghost=$ac_cv_host 428744af7230Smrgac_save_IFS=$IFS; IFS='-' 428844af7230Smrgset x $ac_cv_host 428944af7230Smrgshift 429044af7230Smrghost_cpu=$1 429144af7230Smrghost_vendor=$2 429244af7230Smrgshift; shift 429344af7230Smrg# Remember, the first character of IFS is used to create $*, 429444af7230Smrg# except with old shells: 429544af7230Smrghost_os=$* 429644af7230SmrgIFS=$ac_save_IFS 429744af7230Smrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 429844af7230Smrg 429944af7230Smrg 43002d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 43012d1d20fcSmrg$as_echo_n "checking for a sed that does not truncate output... " >&6; } 43022d1d20fcSmrgif ${ac_cv_path_SED+:} false; then : 43032d1d20fcSmrg $as_echo_n "(cached) " >&6 43042d1d20fcSmrgelse 43052d1d20fcSmrg ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 43062d1d20fcSmrg for ac_i in 1 2 3 4 5 6 7; do 43072d1d20fcSmrg ac_script="$ac_script$as_nl$ac_script" 43082d1d20fcSmrg done 43092d1d20fcSmrg echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 43102d1d20fcSmrg { ac_script=; unset ac_script;} 43112d1d20fcSmrg if test -z "$SED"; then 43122d1d20fcSmrg ac_path_SED_found=false 43132d1d20fcSmrg # Loop through the user's path and test for each of PROGNAME-LIST 43142d1d20fcSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 43152d1d20fcSmrgfor as_dir in $PATH 43162d1d20fcSmrgdo 43172d1d20fcSmrg IFS=$as_save_IFS 43182d1d20fcSmrg test -z "$as_dir" && as_dir=. 43192d1d20fcSmrg for ac_prog in sed gsed; do 43202d1d20fcSmrg for ac_exec_ext in '' $ac_executable_extensions; do 43212d1d20fcSmrg ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 43222d1d20fcSmrg { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 43232d1d20fcSmrg# Check for GNU ac_path_SED and select it if it is found. 43242d1d20fcSmrg # Check for GNU $ac_path_SED 43252d1d20fcSmrgcase `"$ac_path_SED" --version 2>&1` in 43262d1d20fcSmrg*GNU*) 43272d1d20fcSmrg ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 43282d1d20fcSmrg*) 43292d1d20fcSmrg ac_count=0 43302d1d20fcSmrg $as_echo_n 0123456789 >"conftest.in" 43312d1d20fcSmrg while : 43322d1d20fcSmrg do 43332d1d20fcSmrg cat "conftest.in" "conftest.in" >"conftest.tmp" 43342d1d20fcSmrg mv "conftest.tmp" "conftest.in" 43352d1d20fcSmrg cp "conftest.in" "conftest.nl" 43362d1d20fcSmrg $as_echo '' >> "conftest.nl" 43372d1d20fcSmrg "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 43382d1d20fcSmrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 43392d1d20fcSmrg as_fn_arith $ac_count + 1 && ac_count=$as_val 43402d1d20fcSmrg if test $ac_count -gt ${ac_path_SED_max-0}; then 43412d1d20fcSmrg # Best one so far, save it but keep looking for a better one 43422d1d20fcSmrg ac_cv_path_SED="$ac_path_SED" 43432d1d20fcSmrg ac_path_SED_max=$ac_count 43442d1d20fcSmrg fi 43452d1d20fcSmrg # 10*(2^10) chars as input seems more than enough 43462d1d20fcSmrg test $ac_count -gt 10 && break 43472d1d20fcSmrg done 43482d1d20fcSmrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 43492d1d20fcSmrgesac 43502d1d20fcSmrg 43512d1d20fcSmrg $ac_path_SED_found && break 3 43522d1d20fcSmrg done 43532d1d20fcSmrg done 43542d1d20fcSmrg done 43552d1d20fcSmrgIFS=$as_save_IFS 43562d1d20fcSmrg if test -z "$ac_cv_path_SED"; then 43572d1d20fcSmrg as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 43582d1d20fcSmrg fi 43592d1d20fcSmrgelse 43602d1d20fcSmrg ac_cv_path_SED=$SED 43612d1d20fcSmrgfi 43622d1d20fcSmrg 43632d1d20fcSmrgfi 43642d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 43652d1d20fcSmrg$as_echo "$ac_cv_path_SED" >&6; } 43662d1d20fcSmrg SED="$ac_cv_path_SED" 43672d1d20fcSmrg rm -f conftest.sed 43682d1d20fcSmrg 43692d1d20fcSmrg 437044af7230Smrg 437144af7230Smrg 437244af7230Smrg 437344af7230Smrgif test "x$GCC" = xyes ; then 437444af7230Smrg CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \ 437544af7230Smrg-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \ 43762d1d20fcSmrg-Wbad-function-cast -Wformat=2" 437744af7230Smrg case `$CC -dumpversion` in 437844af7230Smrg 3.4.* | 4.*) 437944af7230Smrg CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement" 438044af7230Smrg ;; 438144af7230Smrg esac 438244af7230Smrgelse 43832d1d20fcSmrg ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 43842d1d20fcSmrgif test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then : 438544af7230Smrg SUNCC="yes" 438644af7230Smrgelse 438744af7230Smrg SUNCC="no" 438844af7230Smrgfi 438944af7230Smrg 439044af7230Smrg if test "x$SUNCC" = "xyes"; then 439144af7230Smrg CWARNFLAGS="-v" 439244af7230Smrg fi 439344af7230Smrgfi 439444af7230Smrg 439544af7230Smrg 439644af7230Smrg 43972d1d20fcSmrg# If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89 439844af7230Smrg 439944af7230Smrg 440044af7230Smrg 440144af7230Smrg# Check whether --enable-strict-compilation was given. 44022d1d20fcSmrgif test "${enable_strict_compilation+set}" = set; then : 440344af7230Smrg enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval 440444af7230Smrgelse 440544af7230Smrg STRICT_COMPILE=no 440644af7230Smrgfi 440744af7230Smrg 440844af7230Smrgif test "x$STRICT_COMPILE" = "xyes"; then 44092d1d20fcSmrg ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 44102d1d20fcSmrgif test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then : 441144af7230Smrg SUNCC="yes" 441244af7230Smrgelse 441344af7230Smrg SUNCC="no" 441444af7230Smrgfi 441544af7230Smrg 44162d1d20fcSmrg ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" 44172d1d20fcSmrgif test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then : 441844af7230Smrg INTELCC="yes" 441944af7230Smrgelse 442044af7230Smrg INTELCC="no" 442144af7230Smrgfi 442244af7230Smrg 442344af7230Smrg if test "x$GCC" = xyes ; then 442444af7230Smrg STRICT_CFLAGS="-pedantic -Werror" 442544af7230Smrg elif test "x$SUNCC" = "xyes"; then 442644af7230Smrg STRICT_CFLAGS="-errwarn" 442744af7230Smrg elif test "x$INTELCC" = "xyes"; then 442844af7230Smrg STRICT_CFLAGS="-Werror" 442944af7230Smrg fi 443044af7230Smrgfi 443144af7230SmrgCWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS" 443244af7230Smrg 443344af7230Smrg 443444af7230Smrg 443544af7230Smrg 443644af7230Smrgcat >>confdefs.h <<_ACEOF 443744af7230Smrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 443844af7230Smrg_ACEOF 443944af7230Smrg 444044af7230Smrg PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 444144af7230Smrg if test "x$PVM" = "x"; then 444244af7230Smrg PVM="0" 444344af7230Smrg fi 444444af7230Smrg 444544af7230Smrgcat >>confdefs.h <<_ACEOF 444644af7230Smrg#define PACKAGE_VERSION_MINOR $PVM 444744af7230Smrg_ACEOF 444844af7230Smrg 444944af7230Smrg PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 445044af7230Smrg if test "x$PVP" = "x"; then 445144af7230Smrg PVP="0" 445244af7230Smrg fi 445344af7230Smrg 445444af7230Smrgcat >>confdefs.h <<_ACEOF 445544af7230Smrg#define PACKAGE_VERSION_PATCHLEVEL $PVP 445644af7230Smrg_ACEOF 445744af7230Smrg 445844af7230Smrg 445944af7230Smrg 44602d1d20fcSmrgCHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \ 44612d1d20fcSmrgmv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \ 44622d1d20fcSmrg|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \ 446344af7230Smrgecho 'git directory not found: installing possibly empty changelog.' >&2)" 446444af7230Smrg 44652d1d20fcSmrg 44662d1d20fcSmrg 44672d1d20fcSmrg 44682d1d20fcSmrgmacros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros` 44692d1d20fcSmrgINSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \ 44702d1d20fcSmrgmv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \ 44712d1d20fcSmrg|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \ 44722d1d20fcSmrgecho 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)" 44732d1d20fcSmrg 447444af7230Smrg 447544af7230Smrg 447644af7230Smrg 447744af7230Smrg 447844af7230Smrg 447944af7230Smrgif test x$APP_MAN_SUFFIX = x ; then 448044af7230Smrg APP_MAN_SUFFIX=1 448144af7230Smrgfi 448244af7230Smrgif test x$APP_MAN_DIR = x ; then 448344af7230Smrg APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 448444af7230Smrgfi 448544af7230Smrg 448644af7230Smrgif test x$LIB_MAN_SUFFIX = x ; then 448744af7230Smrg LIB_MAN_SUFFIX=3 448844af7230Smrgfi 448944af7230Smrgif test x$LIB_MAN_DIR = x ; then 449044af7230Smrg LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 449144af7230Smrgfi 449244af7230Smrg 449344af7230Smrgif test x$FILE_MAN_SUFFIX = x ; then 449444af7230Smrg case $host_os in 449544af7230Smrg solaris*) FILE_MAN_SUFFIX=4 ;; 449644af7230Smrg *) FILE_MAN_SUFFIX=5 ;; 449744af7230Smrg esac 449844af7230Smrgfi 449944af7230Smrgif test x$FILE_MAN_DIR = x ; then 450044af7230Smrg FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 450144af7230Smrgfi 450244af7230Smrg 450344af7230Smrgif test x$MISC_MAN_SUFFIX = x ; then 450444af7230Smrg case $host_os in 450544af7230Smrg solaris*) MISC_MAN_SUFFIX=5 ;; 450644af7230Smrg *) MISC_MAN_SUFFIX=7 ;; 450744af7230Smrg esac 450844af7230Smrgfi 450944af7230Smrgif test x$MISC_MAN_DIR = x ; then 451044af7230Smrg MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 451144af7230Smrgfi 451244af7230Smrg 451344af7230Smrgif test x$DRIVER_MAN_SUFFIX = x ; then 451444af7230Smrg case $host_os in 451544af7230Smrg solaris*) DRIVER_MAN_SUFFIX=7 ;; 451644af7230Smrg *) DRIVER_MAN_SUFFIX=4 ;; 451744af7230Smrg esac 451844af7230Smrgfi 451944af7230Smrgif test x$DRIVER_MAN_DIR = x ; then 452044af7230Smrg DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 452144af7230Smrgfi 452244af7230Smrg 452344af7230Smrgif test x$ADMIN_MAN_SUFFIX = x ; then 452444af7230Smrg case $host_os in 452544af7230Smrg solaris*) ADMIN_MAN_SUFFIX=1m ;; 452644af7230Smrg *) ADMIN_MAN_SUFFIX=8 ;; 452744af7230Smrg esac 452844af7230Smrgfi 452944af7230Smrgif test x$ADMIN_MAN_DIR = x ; then 453044af7230Smrg ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 453144af7230Smrgfi 453244af7230Smrg 453344af7230Smrg 453444af7230Smrg 453544af7230Smrg 453644af7230Smrg 453744af7230Smrg 453844af7230Smrg 453944af7230Smrg 454044af7230Smrg 454144af7230Smrg 454244af7230Smrg 454344af7230Smrg 454444af7230Smrg 454544af7230Smrg 454644af7230Smrg 45472d1d20fcSmrgXORG_MAN_PAGE="X Version 11" 454844af7230Smrg 45492d1d20fcSmrgMAN_SUBSTS="\ 45502d1d20fcSmrg -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 45512d1d20fcSmrg -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 45522d1d20fcSmrg -e 's|__xservername__|Xorg|g' \ 45532d1d20fcSmrg -e 's|__xconfigfile__|xorg.conf|g' \ 45542d1d20fcSmrg -e 's|__projectroot__|\$(prefix)|g' \ 45552d1d20fcSmrg -e 's|__apploaddir__|\$(appdefaultdir)|g' \ 45562d1d20fcSmrg -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \ 45572d1d20fcSmrg -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \ 45582d1d20fcSmrg -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \ 45592d1d20fcSmrg -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \ 45602d1d20fcSmrg -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \ 45612d1d20fcSmrg -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'" 456244af7230Smrg 45638ae04fa6Smrg 45648ae04fa6Smrg 45652d1d20fcSmrg# Check whether --enable-silent-rules was given. 45662d1d20fcSmrgif test "${enable_silent_rules+set}" = set; then : 45672d1d20fcSmrg enableval=$enable_silent_rules; 45688ae04fa6Smrgfi 45698ae04fa6Smrg 45702d1d20fcSmrgcase $enable_silent_rules in 45712d1d20fcSmrgyes) AM_DEFAULT_VERBOSITY=0;; 45722d1d20fcSmrgno) AM_DEFAULT_VERBOSITY=1;; 45732d1d20fcSmrg*) AM_DEFAULT_VERBOSITY=0;; 45742d1d20fcSmrgesac 45752d1d20fcSmrgAM_BACKSLASH='\' 45762d1d20fcSmrg 45772d1d20fcSmrg 45782d1d20fcSmrg 45792d1d20fcSmrg# Checks for pkg-config packages 45802d1d20fcSmrg 458144af7230Smrgpkg_failed=no 45822d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XVINFO" >&5 458344af7230Smrg$as_echo_n "checking for XVINFO... " >&6; } 458444af7230Smrg 458544af7230Smrgif test -n "$XVINFO_CFLAGS"; then 458644af7230Smrg pkg_cv_XVINFO_CFLAGS="$XVINFO_CFLAGS" 458744af7230Smrg elif test -n "$PKG_CONFIG"; then 458844af7230Smrg if test -n "$PKG_CONFIG" && \ 45892d1d20fcSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xv x11\""; } >&5 459044af7230Smrg ($PKG_CONFIG --exists --print-errors "xv x11") 2>&5 459144af7230Smrg ac_status=$? 45922d1d20fcSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 45932d1d20fcSmrg test $ac_status = 0; }; then 459444af7230Smrg pkg_cv_XVINFO_CFLAGS=`$PKG_CONFIG --cflags "xv x11" 2>/dev/null` 459544af7230Smrgelse 459644af7230Smrg pkg_failed=yes 45978ae04fa6Smrgfi 459844af7230Smrg else 459944af7230Smrg pkg_failed=untried 46008ae04fa6Smrgfi 460144af7230Smrgif test -n "$XVINFO_LIBS"; then 460244af7230Smrg pkg_cv_XVINFO_LIBS="$XVINFO_LIBS" 460344af7230Smrg elif test -n "$PKG_CONFIG"; then 460444af7230Smrg if test -n "$PKG_CONFIG" && \ 46052d1d20fcSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xv x11\""; } >&5 460644af7230Smrg ($PKG_CONFIG --exists --print-errors "xv x11") 2>&5 460744af7230Smrg ac_status=$? 46082d1d20fcSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 46092d1d20fcSmrg test $ac_status = 0; }; then 461044af7230Smrg pkg_cv_XVINFO_LIBS=`$PKG_CONFIG --libs "xv x11" 2>/dev/null` 461144af7230Smrgelse 461244af7230Smrg pkg_failed=yes 46138ae04fa6Smrgfi 461444af7230Smrg else 461544af7230Smrg pkg_failed=untried 46168ae04fa6Smrgfi 46178ae04fa6Smrg 46188ae04fa6Smrg 46198ae04fa6Smrg 462044af7230Smrgif test $pkg_failed = yes; then 46218ae04fa6Smrg 462244af7230Smrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 462344af7230Smrg _pkg_short_errors_supported=yes 462444af7230Smrgelse 462544af7230Smrg _pkg_short_errors_supported=no 462644af7230Smrgfi 462744af7230Smrg if test $_pkg_short_errors_supported = yes; then 462844af7230Smrg XVINFO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xv x11" 2>&1` 462944af7230Smrg else 463044af7230Smrg XVINFO_PKG_ERRORS=`$PKG_CONFIG --print-errors "xv x11" 2>&1` 463144af7230Smrg fi 463244af7230Smrg # Put the nasty error message in config.log where it belongs 463344af7230Smrg echo "$XVINFO_PKG_ERRORS" >&5 46348ae04fa6Smrg 46352d1d20fcSmrg as_fn_error $? "Package requirements (xv x11) were not met: 46368ae04fa6Smrg 463744af7230Smrg$XVINFO_PKG_ERRORS 46388ae04fa6Smrg 463944af7230SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 464044af7230Smrginstalled software in a non-standard prefix. 46418ae04fa6Smrg 464244af7230SmrgAlternatively, you may set the environment variables XVINFO_CFLAGS 464344af7230Smrgand XVINFO_LIBS to avoid the need to call pkg-config. 464444af7230SmrgSee the pkg-config man page for more details. 46452d1d20fcSmrg" "$LINENO" 5 464644af7230Smrgelif test $pkg_failed = untried; then 46472d1d20fcSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 464844af7230Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 46492d1d20fcSmrgas_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 465044af7230Smrgis in your PATH or set the PKG_CONFIG environment variable to the full 465144af7230Smrgpath to pkg-config. 46528ae04fa6Smrg 465344af7230SmrgAlternatively, you may set the environment variables XVINFO_CFLAGS 465444af7230Smrgand XVINFO_LIBS to avoid the need to call pkg-config. 465544af7230SmrgSee the pkg-config man page for more details. 46568ae04fa6Smrg 465744af7230SmrgTo get pkg-config, see <http://pkg-config.freedesktop.org/>. 46582d1d20fcSmrgSee \`config.log' for more details" "$LINENO" 5; } 46598ae04fa6Smrgelse 466044af7230Smrg XVINFO_CFLAGS=$pkg_cv_XVINFO_CFLAGS 466144af7230Smrg XVINFO_LIBS=$pkg_cv_XVINFO_LIBS 46622d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 466344af7230Smrg$as_echo "yes" >&6; } 466444af7230Smrg : 46658ae04fa6Smrgfi 46668ae04fa6Smrg 46678ae04fa6Smrgac_config_files="$ac_config_files Makefile" 46688ae04fa6Smrg 46698ae04fa6Smrgcat >confcache <<\_ACEOF 46708ae04fa6Smrg# This file is a shell script that caches the results of configure 46718ae04fa6Smrg# tests run on this system so they can be shared between configure 46728ae04fa6Smrg# scripts and configure runs, see configure's option --config-cache. 46738ae04fa6Smrg# It is not useful on other systems. If it contains results you don't 46748ae04fa6Smrg# want to keep, you may remove or edit it. 46758ae04fa6Smrg# 46768ae04fa6Smrg# config.status only pays attention to the cache file if you give it 46778ae04fa6Smrg# the --recheck option to rerun configure. 46788ae04fa6Smrg# 46798ae04fa6Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when 46808ae04fa6Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the 46818ae04fa6Smrg# following values. 46828ae04fa6Smrg 46838ae04fa6Smrg_ACEOF 46848ae04fa6Smrg 46858ae04fa6Smrg# The following way of writing the cache mishandles newlines in values, 46868ae04fa6Smrg# but we know of no workaround that is simple, portable, and efficient. 46878ae04fa6Smrg# So, we kill variables containing newlines. 46888ae04fa6Smrg# Ultrix sh set writes to stderr and can't be redirected directly, 46898ae04fa6Smrg# and sets the high bit in the cache file unless we assign to the vars. 46908ae04fa6Smrg( 46918ae04fa6Smrg for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 46928ae04fa6Smrg eval ac_val=\$$ac_var 46938ae04fa6Smrg case $ac_val in #( 46948ae04fa6Smrg *${as_nl}*) 46958ae04fa6Smrg case $ac_var in #( 46962d1d20fcSmrg *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 469744af7230Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 46988ae04fa6Smrg esac 46998ae04fa6Smrg case $ac_var in #( 47008ae04fa6Smrg _ | IFS | as_nl) ;; #( 470144af7230Smrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 47022d1d20fcSmrg *) { eval $ac_var=; unset $ac_var;} ;; 47038ae04fa6Smrg esac ;; 47048ae04fa6Smrg esac 47058ae04fa6Smrg done 47068ae04fa6Smrg 47078ae04fa6Smrg (set) 2>&1 | 47088ae04fa6Smrg case $as_nl`(ac_space=' '; set) 2>&1` in #( 47098ae04fa6Smrg *${as_nl}ac_space=\ *) 47102d1d20fcSmrg # `set' does not quote correctly, so add quotes: double-quote 47112d1d20fcSmrg # substitution turns \\\\ into \\, and sed turns \\ into \. 47128ae04fa6Smrg sed -n \ 47138ae04fa6Smrg "s/'/'\\\\''/g; 47148ae04fa6Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 47158ae04fa6Smrg ;; #( 47168ae04fa6Smrg *) 47178ae04fa6Smrg # `set' quotes correctly as required by POSIX, so do not add quotes. 47188ae04fa6Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 47198ae04fa6Smrg ;; 47208ae04fa6Smrg esac | 47218ae04fa6Smrg sort 47228ae04fa6Smrg) | 47238ae04fa6Smrg sed ' 47248ae04fa6Smrg /^ac_cv_env_/b end 47258ae04fa6Smrg t clear 47268ae04fa6Smrg :clear 47278ae04fa6Smrg s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 47288ae04fa6Smrg t end 47298ae04fa6Smrg s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 47308ae04fa6Smrg :end' >>confcache 47318ae04fa6Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 47328ae04fa6Smrg if test -w "$cache_file"; then 47332d1d20fcSmrg if test "x$cache_file" != "x/dev/null"; then 47342d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 473544af7230Smrg$as_echo "$as_me: updating cache $cache_file" >&6;} 47362d1d20fcSmrg if test ! -f "$cache_file" || test -h "$cache_file"; then 47372d1d20fcSmrg cat confcache >"$cache_file" 47382d1d20fcSmrg else 47392d1d20fcSmrg case $cache_file in #( 47402d1d20fcSmrg */* | ?:*) 47412d1d20fcSmrg mv -f confcache "$cache_file"$$ && 47422d1d20fcSmrg mv -f "$cache_file"$$ "$cache_file" ;; #( 47432d1d20fcSmrg *) 47442d1d20fcSmrg mv -f confcache "$cache_file" ;; 47452d1d20fcSmrg esac 47462d1d20fcSmrg fi 47472d1d20fcSmrg fi 47488ae04fa6Smrg else 47492d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 475044af7230Smrg$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 47518ae04fa6Smrg fi 47528ae04fa6Smrgfi 47538ae04fa6Smrgrm -f confcache 47548ae04fa6Smrg 47558ae04fa6Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix 47568ae04fa6Smrg# Let make expand exec_prefix. 47578ae04fa6Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 47588ae04fa6Smrg 47598ae04fa6SmrgDEFS=-DHAVE_CONFIG_H 47608ae04fa6Smrg 47618ae04fa6Smrgac_libobjs= 47628ae04fa6Smrgac_ltlibobjs= 47632d1d20fcSmrgU= 47648ae04fa6Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 47658ae04fa6Smrg # 1. Remove the extension, and $U if already installed. 47668ae04fa6Smrg ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 476744af7230Smrg ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 47688ae04fa6Smrg # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 47698ae04fa6Smrg # will be set to the directory where LIBOBJS objects are built. 47702d1d20fcSmrg as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 47712d1d20fcSmrg as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 47728ae04fa6Smrgdone 47738ae04fa6SmrgLIBOBJS=$ac_libobjs 47748ae04fa6Smrg 47758ae04fa6SmrgLTLIBOBJS=$ac_ltlibobjs 47768ae04fa6Smrg 47778ae04fa6Smrg 477844af7230Smrg if test -n "$EXEEXT"; then 477944af7230Smrg am__EXEEXT_TRUE= 478044af7230Smrg am__EXEEXT_FALSE='#' 478144af7230Smrgelse 478244af7230Smrg am__EXEEXT_TRUE='#' 478344af7230Smrg am__EXEEXT_FALSE= 478444af7230Smrgfi 478544af7230Smrg 47868ae04fa6Smrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 47872d1d20fcSmrg as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 47882d1d20fcSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 47898ae04fa6Smrgfi 47908ae04fa6Smrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 47912d1d20fcSmrg as_fn_error $? "conditional \"AMDEP\" was never defined. 47922d1d20fcSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 47938ae04fa6Smrgfi 47948ae04fa6Smrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 47952d1d20fcSmrg as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 47962d1d20fcSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 47978ae04fa6Smrgfi 47988ae04fa6Smrg 47992d1d20fcSmrg: "${CONFIG_STATUS=./config.status}" 480044af7230Smrgac_write_fail=0 48018ae04fa6Smrgac_clean_files_save=$ac_clean_files 48028ae04fa6Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS" 48032d1d20fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 480444af7230Smrg$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 48052d1d20fcSmrgas_write_fail=0 48062d1d20fcSmrgcat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 48078ae04fa6Smrg#! $SHELL 48088ae04fa6Smrg# Generated by $as_me. 48098ae04fa6Smrg# Run this file to recreate the current configuration. 48108ae04fa6Smrg# Compiler output produced by configure, useful for debugging 48118ae04fa6Smrg# configure, is in config.log if it exists. 48128ae04fa6Smrg 48138ae04fa6Smrgdebug=false 48148ae04fa6Smrgac_cs_recheck=false 48158ae04fa6Smrgac_cs_silent=false 48168ae04fa6Smrg 48172d1d20fcSmrgSHELL=\${CONFIG_SHELL-$SHELL} 48182d1d20fcSmrgexport SHELL 48192d1d20fcSmrg_ASEOF 48202d1d20fcSmrgcat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 48212d1d20fcSmrg## -------------------- ## 48222d1d20fcSmrg## M4sh Initialization. ## 48232d1d20fcSmrg## -------------------- ## 48248ae04fa6Smrg 48258ae04fa6Smrg# Be more Bourne compatible 48268ae04fa6SmrgDUALCASE=1; export DUALCASE # for MKS sh 48272d1d20fcSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 48288ae04fa6Smrg emulate sh 48298ae04fa6Smrg NULLCMD=: 483044af7230Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 48318ae04fa6Smrg # is contrary to our usage. Disable this feature. 48328ae04fa6Smrg alias -g '${1+"$@"}'='"$@"' 48338ae04fa6Smrg setopt NO_GLOB_SUBST 48348ae04fa6Smrgelse 48352d1d20fcSmrg case `(set -o) 2>/dev/null` in #( 48362d1d20fcSmrg *posix*) : 48372d1d20fcSmrg set -o posix ;; #( 48382d1d20fcSmrg *) : 48392d1d20fcSmrg ;; 48408ae04fa6Smrgesac 48418ae04fa6Smrgfi 48428ae04fa6Smrg 48438ae04fa6Smrg 484444af7230Smrgas_nl=' 484544af7230Smrg' 484644af7230Smrgexport as_nl 484744af7230Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 484844af7230Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 484944af7230Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 485044af7230Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 48512d1d20fcSmrg# Prefer a ksh shell builtin over an external printf program on Solaris, 48522d1d20fcSmrg# but without wasting forks for bash or zsh. 48532d1d20fcSmrgif test -z "$BASH_VERSION$ZSH_VERSION" \ 48542d1d20fcSmrg && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 48552d1d20fcSmrg as_echo='print -r --' 48562d1d20fcSmrg as_echo_n='print -rn --' 48572d1d20fcSmrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 485844af7230Smrg as_echo='printf %s\n' 485944af7230Smrg as_echo_n='printf %s' 486044af7230Smrgelse 486144af7230Smrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 486244af7230Smrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 486344af7230Smrg as_echo_n='/usr/ucb/echo -n' 48648ae04fa6Smrg else 486544af7230Smrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 486644af7230Smrg as_echo_n_body='eval 486744af7230Smrg arg=$1; 48682d1d20fcSmrg case $arg in #( 486944af7230Smrg *"$as_nl"*) 487044af7230Smrg expr "X$arg" : "X\\(.*\\)$as_nl"; 487144af7230Smrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 487244af7230Smrg esac; 487344af7230Smrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 487444af7230Smrg ' 487544af7230Smrg export as_echo_n_body 487644af7230Smrg as_echo_n='sh -c $as_echo_n_body as_echo' 48778ae04fa6Smrg fi 487844af7230Smrg export as_echo_body 487944af7230Smrg as_echo='sh -c $as_echo_body as_echo' 488044af7230Smrgfi 488144af7230Smrg 488244af7230Smrg# The user is always right. 488344af7230Smrgif test "${PATH_SEPARATOR+set}" != set; then 488444af7230Smrg PATH_SEPARATOR=: 488544af7230Smrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 488644af7230Smrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 488744af7230Smrg PATH_SEPARATOR=';' 488844af7230Smrg } 48898ae04fa6Smrgfi 48908ae04fa6Smrg 48918ae04fa6Smrg 48928ae04fa6Smrg# IFS 48938ae04fa6Smrg# We need space, tab and new line, in precisely that order. Quoting is 48948ae04fa6Smrg# there to prevent editors from complaining about space-tab. 48958ae04fa6Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 48968ae04fa6Smrg# splitting by setting IFS to empty value.) 48978ae04fa6SmrgIFS=" "" $as_nl" 48988ae04fa6Smrg 48998ae04fa6Smrg# Find who we are. Look in the path if we contain no directory separator. 49002d1d20fcSmrgas_myself= 49012d1d20fcSmrgcase $0 in #(( 49028ae04fa6Smrg *[\\/]* ) as_myself=$0 ;; 49038ae04fa6Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 49048ae04fa6Smrgfor as_dir in $PATH 49058ae04fa6Smrgdo 49068ae04fa6Smrg IFS=$as_save_IFS 49078ae04fa6Smrg test -z "$as_dir" && as_dir=. 49082d1d20fcSmrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 49092d1d20fcSmrg done 49108ae04fa6SmrgIFS=$as_save_IFS 49118ae04fa6Smrg 49128ae04fa6Smrg ;; 49138ae04fa6Smrgesac 49148ae04fa6Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 49158ae04fa6Smrg# in which case we are not to be found in the path. 49168ae04fa6Smrgif test "x$as_myself" = x; then 49178ae04fa6Smrg as_myself=$0 49188ae04fa6Smrgfi 49198ae04fa6Smrgif test ! -f "$as_myself"; then 492044af7230Smrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 49212d1d20fcSmrg exit 1 49228ae04fa6Smrgfi 49238ae04fa6Smrg 49242d1d20fcSmrg# Unset variables that we do not need and which cause bugs (e.g. in 49252d1d20fcSmrg# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 49262d1d20fcSmrg# suppresses any "Segmentation fault" message there. '((' could 49272d1d20fcSmrg# trigger a bug in pdksh 5.2.14. 49282d1d20fcSmrgfor as_var in BASH_ENV ENV MAIL MAILPATH 49292d1d20fcSmrgdo eval test x\${$as_var+set} = xset \ 49302d1d20fcSmrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 49318ae04fa6Smrgdone 49328ae04fa6SmrgPS1='$ ' 49338ae04fa6SmrgPS2='> ' 49348ae04fa6SmrgPS4='+ ' 49358ae04fa6Smrg 49368ae04fa6Smrg# NLS nuisances. 493744af7230SmrgLC_ALL=C 493844af7230Smrgexport LC_ALL 493944af7230SmrgLANGUAGE=C 494044af7230Smrgexport LANGUAGE 49418ae04fa6Smrg 49422d1d20fcSmrg# CDPATH. 49432d1d20fcSmrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 49442d1d20fcSmrg 49452d1d20fcSmrg 49462d1d20fcSmrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 49472d1d20fcSmrg# ---------------------------------------- 49482d1d20fcSmrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 49492d1d20fcSmrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 49502d1d20fcSmrg# script with STATUS, using 1 if that was 0. 49512d1d20fcSmrgas_fn_error () 49522d1d20fcSmrg{ 49532d1d20fcSmrg as_status=$1; test $as_status -eq 0 && as_status=1 49542d1d20fcSmrg if test "$4"; then 49552d1d20fcSmrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 49562d1d20fcSmrg $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 49572d1d20fcSmrg fi 49582d1d20fcSmrg $as_echo "$as_me: error: $2" >&2 49592d1d20fcSmrg as_fn_exit $as_status 49602d1d20fcSmrg} # as_fn_error 49612d1d20fcSmrg 49622d1d20fcSmrg 49632d1d20fcSmrg# as_fn_set_status STATUS 49642d1d20fcSmrg# ----------------------- 49652d1d20fcSmrg# Set $? to STATUS, without forking. 49662d1d20fcSmrgas_fn_set_status () 49672d1d20fcSmrg{ 49682d1d20fcSmrg return $1 49692d1d20fcSmrg} # as_fn_set_status 49702d1d20fcSmrg 49712d1d20fcSmrg# as_fn_exit STATUS 49722d1d20fcSmrg# ----------------- 49732d1d20fcSmrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 49742d1d20fcSmrgas_fn_exit () 49752d1d20fcSmrg{ 49762d1d20fcSmrg set +e 49772d1d20fcSmrg as_fn_set_status $1 49782d1d20fcSmrg exit $1 49792d1d20fcSmrg} # as_fn_exit 49802d1d20fcSmrg 49812d1d20fcSmrg# as_fn_unset VAR 49822d1d20fcSmrg# --------------- 49832d1d20fcSmrg# Portably unset VAR. 49842d1d20fcSmrgas_fn_unset () 49852d1d20fcSmrg{ 49862d1d20fcSmrg { eval $1=; unset $1;} 49872d1d20fcSmrg} 49882d1d20fcSmrgas_unset=as_fn_unset 49892d1d20fcSmrg# as_fn_append VAR VALUE 49902d1d20fcSmrg# ---------------------- 49912d1d20fcSmrg# Append the text in VALUE to the end of the definition contained in VAR. Take 49922d1d20fcSmrg# advantage of any shell optimizations that allow amortized linear growth over 49932d1d20fcSmrg# repeated appends, instead of the typical quadratic growth present in naive 49942d1d20fcSmrg# implementations. 49952d1d20fcSmrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 49962d1d20fcSmrg eval 'as_fn_append () 49972d1d20fcSmrg { 49982d1d20fcSmrg eval $1+=\$2 49992d1d20fcSmrg }' 50002d1d20fcSmrgelse 50012d1d20fcSmrg as_fn_append () 50022d1d20fcSmrg { 50032d1d20fcSmrg eval $1=\$$1\$2 50042d1d20fcSmrg } 50052d1d20fcSmrgfi # as_fn_append 50062d1d20fcSmrg 50072d1d20fcSmrg# as_fn_arith ARG... 50082d1d20fcSmrg# ------------------ 50092d1d20fcSmrg# Perform arithmetic evaluation on the ARGs, and store the result in the 50102d1d20fcSmrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 50112d1d20fcSmrg# must be portable across $(()) and expr. 50122d1d20fcSmrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 50132d1d20fcSmrg eval 'as_fn_arith () 50142d1d20fcSmrg { 50152d1d20fcSmrg as_val=$(( $* )) 50162d1d20fcSmrg }' 50172d1d20fcSmrgelse 50182d1d20fcSmrg as_fn_arith () 50192d1d20fcSmrg { 50202d1d20fcSmrg as_val=`expr "$@" || test $? -eq 1` 50212d1d20fcSmrg } 50222d1d20fcSmrgfi # as_fn_arith 50232d1d20fcSmrg 50242d1d20fcSmrg 50258ae04fa6Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 50268ae04fa6Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 50278ae04fa6Smrg as_expr=expr 50288ae04fa6Smrgelse 50298ae04fa6Smrg as_expr=false 50308ae04fa6Smrgfi 50318ae04fa6Smrg 50328ae04fa6Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 50338ae04fa6Smrg as_basename=basename 50348ae04fa6Smrgelse 50358ae04fa6Smrg as_basename=false 50368ae04fa6Smrgfi 50378ae04fa6Smrg 50382d1d20fcSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 50392d1d20fcSmrg as_dirname=dirname 50402d1d20fcSmrgelse 50412d1d20fcSmrg as_dirname=false 50422d1d20fcSmrgfi 50438ae04fa6Smrg 50448ae04fa6Smrgas_me=`$as_basename -- "$0" || 50458ae04fa6Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 50468ae04fa6Smrg X"$0" : 'X\(//\)$' \| \ 50478ae04fa6Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 504844af7230Smrg$as_echo X/"$0" | 50498ae04fa6Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 50508ae04fa6Smrg s//\1/ 50518ae04fa6Smrg q 50528ae04fa6Smrg } 50538ae04fa6Smrg /^X\/\(\/\/\)$/{ 50548ae04fa6Smrg s//\1/ 50558ae04fa6Smrg q 50568ae04fa6Smrg } 50578ae04fa6Smrg /^X\/\(\/\).*/{ 50588ae04fa6Smrg s//\1/ 50598ae04fa6Smrg q 50608ae04fa6Smrg } 50618ae04fa6Smrg s/.*/./; q'` 50628ae04fa6Smrg 50632d1d20fcSmrg# Avoid depending upon Character Ranges. 50642d1d20fcSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 50652d1d20fcSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 50662d1d20fcSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 50672d1d20fcSmrgas_cr_digits='0123456789' 50682d1d20fcSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits 50698ae04fa6Smrg 50708ae04fa6SmrgECHO_C= ECHO_N= ECHO_T= 50712d1d20fcSmrgcase `echo -n x` in #((((( 50728ae04fa6Smrg-n*) 50732d1d20fcSmrg case `echo 'xy\c'` in 50748ae04fa6Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 50752d1d20fcSmrg xy) ECHO_C='\c';; 50762d1d20fcSmrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 50772d1d20fcSmrg ECHO_T=' ';; 50788ae04fa6Smrg esac;; 50798ae04fa6Smrg*) 50808ae04fa6Smrg ECHO_N='-n';; 50818ae04fa6Smrgesac 50828ae04fa6Smrg 50838ae04fa6Smrgrm -f conf$$ conf$$.exe conf$$.file 50848ae04fa6Smrgif test -d conf$$.dir; then 50858ae04fa6Smrg rm -f conf$$.dir/conf$$.file 50868ae04fa6Smrgelse 50878ae04fa6Smrg rm -f conf$$.dir 508844af7230Smrg mkdir conf$$.dir 2>/dev/null 508944af7230Smrgfi 509044af7230Smrgif (echo >conf$$.file) 2>/dev/null; then 509144af7230Smrg if ln -s conf$$.file conf$$ 2>/dev/null; then 509244af7230Smrg as_ln_s='ln -s' 509344af7230Smrg # ... but there are two gotchas: 509444af7230Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 509544af7230Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 509644af7230Smrg # In both cases, we have to default to `cp -p'. 509744af7230Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 509844af7230Smrg as_ln_s='cp -p' 509944af7230Smrg elif ln conf$$.file conf$$ 2>/dev/null; then 510044af7230Smrg as_ln_s=ln 510144af7230Smrg else 51028ae04fa6Smrg as_ln_s='cp -p' 510344af7230Smrg fi 51048ae04fa6Smrgelse 51058ae04fa6Smrg as_ln_s='cp -p' 51068ae04fa6Smrgfi 51078ae04fa6Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 51088ae04fa6Smrgrmdir conf$$.dir 2>/dev/null 51098ae04fa6Smrg 51102d1d20fcSmrg 51112d1d20fcSmrg# as_fn_mkdir_p 51122d1d20fcSmrg# ------------- 51132d1d20fcSmrg# Create "$as_dir" as a directory, including parents if necessary. 51142d1d20fcSmrgas_fn_mkdir_p () 51152d1d20fcSmrg{ 51162d1d20fcSmrg 51172d1d20fcSmrg case $as_dir in #( 51182d1d20fcSmrg -*) as_dir=./$as_dir;; 51192d1d20fcSmrg esac 51202d1d20fcSmrg test -d "$as_dir" || eval $as_mkdir_p || { 51212d1d20fcSmrg as_dirs= 51222d1d20fcSmrg while :; do 51232d1d20fcSmrg case $as_dir in #( 51242d1d20fcSmrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 51252d1d20fcSmrg *) as_qdir=$as_dir;; 51262d1d20fcSmrg esac 51272d1d20fcSmrg as_dirs="'$as_qdir' $as_dirs" 51282d1d20fcSmrg as_dir=`$as_dirname -- "$as_dir" || 51292d1d20fcSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 51302d1d20fcSmrg X"$as_dir" : 'X\(//\)[^/]' \| \ 51312d1d20fcSmrg X"$as_dir" : 'X\(//\)$' \| \ 51322d1d20fcSmrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 51332d1d20fcSmrg$as_echo X"$as_dir" | 51342d1d20fcSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 51352d1d20fcSmrg s//\1/ 51362d1d20fcSmrg q 51372d1d20fcSmrg } 51382d1d20fcSmrg /^X\(\/\/\)[^/].*/{ 51392d1d20fcSmrg s//\1/ 51402d1d20fcSmrg q 51412d1d20fcSmrg } 51422d1d20fcSmrg /^X\(\/\/\)$/{ 51432d1d20fcSmrg s//\1/ 51442d1d20fcSmrg q 51452d1d20fcSmrg } 51462d1d20fcSmrg /^X\(\/\).*/{ 51472d1d20fcSmrg s//\1/ 51482d1d20fcSmrg q 51492d1d20fcSmrg } 51502d1d20fcSmrg s/.*/./; q'` 51512d1d20fcSmrg test -d "$as_dir" && break 51522d1d20fcSmrg done 51532d1d20fcSmrg test -z "$as_dirs" || eval "mkdir $as_dirs" 51542d1d20fcSmrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 51552d1d20fcSmrg 51562d1d20fcSmrg 51572d1d20fcSmrg} # as_fn_mkdir_p 51588ae04fa6Smrgif mkdir -p . 2>/dev/null; then 51592d1d20fcSmrg as_mkdir_p='mkdir -p "$as_dir"' 51608ae04fa6Smrgelse 51618ae04fa6Smrg test -d ./-p && rmdir ./-p 51628ae04fa6Smrg as_mkdir_p=false 51638ae04fa6Smrgfi 51648ae04fa6Smrg 51658ae04fa6Smrgif test -x / >/dev/null 2>&1; then 51668ae04fa6Smrg as_test_x='test -x' 51678ae04fa6Smrgelse 51688ae04fa6Smrg if ls -dL / >/dev/null 2>&1; then 51698ae04fa6Smrg as_ls_L_option=L 51708ae04fa6Smrg else 51718ae04fa6Smrg as_ls_L_option= 51728ae04fa6Smrg fi 51738ae04fa6Smrg as_test_x=' 51748ae04fa6Smrg eval sh -c '\'' 51758ae04fa6Smrg if test -d "$1"; then 517644af7230Smrg test -d "$1/."; 51778ae04fa6Smrg else 51782d1d20fcSmrg case $1 in #( 517944af7230Smrg -*)set "./$1";; 51808ae04fa6Smrg esac; 51812d1d20fcSmrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 51828ae04fa6Smrg ???[sx]*):;;*)false;;esac;fi 51838ae04fa6Smrg '\'' sh 51848ae04fa6Smrg ' 51858ae04fa6Smrgfi 51868ae04fa6Smrgas_executable_p=$as_test_x 51878ae04fa6Smrg 51888ae04fa6Smrg# Sed expression to map a string onto a valid CPP name. 51898ae04fa6Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 51908ae04fa6Smrg 51918ae04fa6Smrg# Sed expression to map a string onto a valid variable name. 51928ae04fa6Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 51938ae04fa6Smrg 51948ae04fa6Smrg 51958ae04fa6Smrgexec 6>&1 51962d1d20fcSmrg## ----------------------------------- ## 51972d1d20fcSmrg## Main body of $CONFIG_STATUS script. ## 51982d1d20fcSmrg## ----------------------------------- ## 51992d1d20fcSmrg_ASEOF 52002d1d20fcSmrgtest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 52018ae04fa6Smrg 52022d1d20fcSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 52032d1d20fcSmrg# Save the log message, to keep $0 and so on meaningful, and to 52048ae04fa6Smrg# report actual input values of CONFIG_FILES etc. instead of their 52058ae04fa6Smrg# values after options handling. 52068ae04fa6Smrgac_log=" 52072d1d20fcSmrgThis file was extended by xvinfo $as_me 1.1.1, which was 52082d1d20fcSmrggenerated by GNU Autoconf 2.68. Invocation command line was 52098ae04fa6Smrg 52108ae04fa6Smrg CONFIG_FILES = $CONFIG_FILES 52118ae04fa6Smrg CONFIG_HEADERS = $CONFIG_HEADERS 52128ae04fa6Smrg CONFIG_LINKS = $CONFIG_LINKS 52138ae04fa6Smrg CONFIG_COMMANDS = $CONFIG_COMMANDS 52148ae04fa6Smrg $ $0 $@ 52158ae04fa6Smrg 52168ae04fa6Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q` 52178ae04fa6Smrg" 52188ae04fa6Smrg 52198ae04fa6Smrg_ACEOF 52208ae04fa6Smrg 522144af7230Smrgcase $ac_config_files in *" 522244af7230Smrg"*) set x $ac_config_files; shift; ac_config_files=$*;; 522344af7230Smrgesac 522444af7230Smrg 522544af7230Smrgcase $ac_config_headers in *" 522644af7230Smrg"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 522744af7230Smrgesac 522844af7230Smrg 522944af7230Smrg 523044af7230Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 52318ae04fa6Smrg# Files that config.status was made for. 52328ae04fa6Smrgconfig_files="$ac_config_files" 52338ae04fa6Smrgconfig_headers="$ac_config_headers" 52348ae04fa6Smrgconfig_commands="$ac_config_commands" 52358ae04fa6Smrg 52368ae04fa6Smrg_ACEOF 52378ae04fa6Smrg 523844af7230Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 52398ae04fa6Smrgac_cs_usage="\ 52402d1d20fcSmrg\`$as_me' instantiates files and other configuration actions 52412d1d20fcSmrgfrom templates according to the current configuration. Unless the files 52422d1d20fcSmrgand actions are specified as TAGs, all are instantiated by default. 52438ae04fa6Smrg 52442d1d20fcSmrgUsage: $0 [OPTION]... [TAG]... 52458ae04fa6Smrg 52468ae04fa6Smrg -h, --help print this help, then exit 52478ae04fa6Smrg -V, --version print version number and configuration settings, then exit 52482d1d20fcSmrg --config print configuration, then exit 524944af7230Smrg -q, --quiet, --silent 525044af7230Smrg do not print progress messages 52518ae04fa6Smrg -d, --debug don't remove temporary files 52528ae04fa6Smrg --recheck update $as_me by reconfiguring in the same conditions 525344af7230Smrg --file=FILE[:TEMPLATE] 525444af7230Smrg instantiate the configuration file FILE 525544af7230Smrg --header=FILE[:TEMPLATE] 525644af7230Smrg instantiate the configuration header FILE 52578ae04fa6Smrg 52588ae04fa6SmrgConfiguration files: 52598ae04fa6Smrg$config_files 52608ae04fa6Smrg 52618ae04fa6SmrgConfiguration headers: 52628ae04fa6Smrg$config_headers 52638ae04fa6Smrg 52648ae04fa6SmrgConfiguration commands: 52658ae04fa6Smrg$config_commands 52668ae04fa6Smrg 52672d1d20fcSmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>." 52688ae04fa6Smrg 52698ae04fa6Smrg_ACEOF 527044af7230Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 52712d1d20fcSmrgac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 52728ae04fa6Smrgac_cs_version="\\ 52732d1d20fcSmrgxvinfo config.status 1.1.1 52742d1d20fcSmrgconfigured by $0, generated by GNU Autoconf 2.68, 52752d1d20fcSmrg with options \\"\$ac_cs_config\\" 52768ae04fa6Smrg 52772d1d20fcSmrgCopyright (C) 2010 Free Software Foundation, Inc. 52788ae04fa6SmrgThis config.status script is free software; the Free Software Foundation 52798ae04fa6Smrggives unlimited permission to copy, distribute and modify it." 52808ae04fa6Smrg 52818ae04fa6Smrgac_pwd='$ac_pwd' 52828ae04fa6Smrgsrcdir='$srcdir' 52838ae04fa6SmrgINSTALL='$INSTALL' 52848ae04fa6SmrgMKDIR_P='$MKDIR_P' 528544af7230SmrgAWK='$AWK' 528644af7230Smrgtest -n "\$AWK" || AWK=awk 52878ae04fa6Smrg_ACEOF 52888ae04fa6Smrg 528944af7230Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 529044af7230Smrg# The default lists apply if the user does not specify any file. 52918ae04fa6Smrgac_need_defaults=: 52928ae04fa6Smrgwhile test $# != 0 52938ae04fa6Smrgdo 52948ae04fa6Smrg case $1 in 52952d1d20fcSmrg --*=?*) 52968ae04fa6Smrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 52978ae04fa6Smrg ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 52988ae04fa6Smrg ac_shift=: 52998ae04fa6Smrg ;; 53002d1d20fcSmrg --*=) 53012d1d20fcSmrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 53022d1d20fcSmrg ac_optarg= 53032d1d20fcSmrg ac_shift=: 53042d1d20fcSmrg ;; 53058ae04fa6Smrg *) 53068ae04fa6Smrg ac_option=$1 53078ae04fa6Smrg ac_optarg=$2 53088ae04fa6Smrg ac_shift=shift 53098ae04fa6Smrg ;; 53108ae04fa6Smrg esac 53118ae04fa6Smrg 53128ae04fa6Smrg case $ac_option in 53138ae04fa6Smrg # Handling of the options. 53148ae04fa6Smrg -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 53158ae04fa6Smrg ac_cs_recheck=: ;; 53168ae04fa6Smrg --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 531744af7230Smrg $as_echo "$ac_cs_version"; exit ;; 53182d1d20fcSmrg --config | --confi | --conf | --con | --co | --c ) 53192d1d20fcSmrg $as_echo "$ac_cs_config"; exit ;; 53208ae04fa6Smrg --debug | --debu | --deb | --de | --d | -d ) 53218ae04fa6Smrg debug=: ;; 53228ae04fa6Smrg --file | --fil | --fi | --f ) 53238ae04fa6Smrg $ac_shift 532444af7230Smrg case $ac_optarg in 532544af7230Smrg *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 53262d1d20fcSmrg '') as_fn_error $? "missing file argument" ;; 532744af7230Smrg esac 53282d1d20fcSmrg as_fn_append CONFIG_FILES " '$ac_optarg'" 53298ae04fa6Smrg ac_need_defaults=false;; 53308ae04fa6Smrg --header | --heade | --head | --hea ) 53318ae04fa6Smrg $ac_shift 533244af7230Smrg case $ac_optarg in 533344af7230Smrg *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 533444af7230Smrg esac 53352d1d20fcSmrg as_fn_append CONFIG_HEADERS " '$ac_optarg'" 53368ae04fa6Smrg ac_need_defaults=false;; 53378ae04fa6Smrg --he | --h) 53388ae04fa6Smrg # Conflict between --help and --header 53392d1d20fcSmrg as_fn_error $? "ambiguous option: \`$1' 53402d1d20fcSmrgTry \`$0 --help' for more information.";; 53418ae04fa6Smrg --help | --hel | -h ) 534244af7230Smrg $as_echo "$ac_cs_usage"; exit ;; 53438ae04fa6Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 53448ae04fa6Smrg | -silent | --silent | --silen | --sile | --sil | --si | --s) 53458ae04fa6Smrg ac_cs_silent=: ;; 53468ae04fa6Smrg 53478ae04fa6Smrg # This is an error. 53482d1d20fcSmrg -*) as_fn_error $? "unrecognized option: \`$1' 53492d1d20fcSmrgTry \`$0 --help' for more information." ;; 53508ae04fa6Smrg 53512d1d20fcSmrg *) as_fn_append ac_config_targets " $1" 53528ae04fa6Smrg ac_need_defaults=false ;; 53538ae04fa6Smrg 53548ae04fa6Smrg esac 53558ae04fa6Smrg shift 53568ae04fa6Smrgdone 53578ae04fa6Smrg 53588ae04fa6Smrgac_configure_extra_args= 53598ae04fa6Smrg 53608ae04fa6Smrgif $ac_cs_silent; then 53618ae04fa6Smrg exec 6>/dev/null 53628ae04fa6Smrg ac_configure_extra_args="$ac_configure_extra_args --silent" 53638ae04fa6Smrgfi 53648ae04fa6Smrg 53658ae04fa6Smrg_ACEOF 536644af7230Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 53678ae04fa6Smrgif \$ac_cs_recheck; then 536844af7230Smrg set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 536944af7230Smrg shift 537044af7230Smrg \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 537144af7230Smrg CONFIG_SHELL='$SHELL' 53728ae04fa6Smrg export CONFIG_SHELL 537344af7230Smrg exec "\$@" 53748ae04fa6Smrgfi 53758ae04fa6Smrg 53768ae04fa6Smrg_ACEOF 537744af7230Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 53788ae04fa6Smrgexec 5>>config.log 53798ae04fa6Smrg{ 53808ae04fa6Smrg echo 53818ae04fa6Smrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 53828ae04fa6Smrg## Running $as_me. ## 53838ae04fa6Smrg_ASBOX 538444af7230Smrg $as_echo "$ac_log" 53858ae04fa6Smrg} >&5 53868ae04fa6Smrg 53878ae04fa6Smrg_ACEOF 538844af7230Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 53898ae04fa6Smrg# 53908ae04fa6Smrg# INIT-COMMANDS 53918ae04fa6Smrg# 53928ae04fa6SmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 53938ae04fa6Smrg 53948ae04fa6Smrg_ACEOF 53958ae04fa6Smrg 539644af7230Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 53978ae04fa6Smrg 53988ae04fa6Smrg# Handling of arguments. 53998ae04fa6Smrgfor ac_config_target in $ac_config_targets 54008ae04fa6Smrgdo 54018ae04fa6Smrg case $ac_config_target in 54028ae04fa6Smrg "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 54038ae04fa6Smrg "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 54048ae04fa6Smrg "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 54058ae04fa6Smrg 54062d1d20fcSmrg *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 54078ae04fa6Smrg esac 54088ae04fa6Smrgdone 54098ae04fa6Smrg 54108ae04fa6Smrg 54118ae04fa6Smrg# If the user did not use the arguments to specify the items to instantiate, 54128ae04fa6Smrg# then the envvar interface is used. Set only those that are not. 54138ae04fa6Smrg# We use the long form for the default assignment because of an extremely 54148ae04fa6Smrg# bizarre bug on SunOS 4.1.3. 54158ae04fa6Smrgif $ac_need_defaults; then 54168ae04fa6Smrg test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 54178ae04fa6Smrg test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 54188ae04fa6Smrg test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 54198ae04fa6Smrgfi 54208ae04fa6Smrg 54218ae04fa6Smrg# Have a temporary directory for convenience. Make it in the build tree 54228ae04fa6Smrg# simply because there is no reason against having it here, and in addition, 54238ae04fa6Smrg# creating and moving files from /tmp can sometimes cause problems. 54248ae04fa6Smrg# Hook for its removal unless debugging. 54258ae04fa6Smrg# Note that there is a small window in which the directory will not be cleaned: 54268ae04fa6Smrg# after its creation but before its name has been assigned to `$tmp'. 54278ae04fa6Smrg$debug || 54288ae04fa6Smrg{ 54292d1d20fcSmrg tmp= ac_tmp= 54308ae04fa6Smrg trap 'exit_status=$? 54312d1d20fcSmrg : "${ac_tmp:=$tmp}" 54322d1d20fcSmrg { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 54338ae04fa6Smrg' 0 54342d1d20fcSmrg trap 'as_fn_exit 1' 1 2 13 15 54358ae04fa6Smrg} 54368ae04fa6Smrg# Create a (secure) tmp directory for tmp files. 54378ae04fa6Smrg 54388ae04fa6Smrg{ 54398ae04fa6Smrg tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 54402d1d20fcSmrg test -d "$tmp" 54418ae04fa6Smrg} || 54428ae04fa6Smrg{ 54438ae04fa6Smrg tmp=./conf$$-$RANDOM 54448ae04fa6Smrg (umask 077 && mkdir "$tmp") 54452d1d20fcSmrg} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 54462d1d20fcSmrgac_tmp=$tmp 54478ae04fa6Smrg 544844af7230Smrg# Set up the scripts for CONFIG_FILES section. 544944af7230Smrg# No need to generate them if there are no CONFIG_FILES. 545044af7230Smrg# This happens for instance with `./config.status config.h'. 54518ae04fa6Smrgif test -n "$CONFIG_FILES"; then 54528ae04fa6Smrg 54538ae04fa6Smrg 54542d1d20fcSmrgac_cr=`echo X | tr X '\015'` 54552d1d20fcSmrg# On cygwin, bash can eat \r inside `` if the user requested igncr. 54562d1d20fcSmrg# But we know of no other shell where ac_cr would be empty at this 54572d1d20fcSmrg# point, so we can use a bashism as a fallback. 54582d1d20fcSmrgif test "x$ac_cr" = x; then 54592d1d20fcSmrg eval ac_cr=\$\'\\r\' 54602d1d20fcSmrgfi 546144af7230Smrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 546244af7230Smrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 546344af7230Smrg ac_cs_awk_cr='\\r' 546444af7230Smrgelse 546544af7230Smrg ac_cs_awk_cr=$ac_cr 54668ae04fa6Smrgfi 54678ae04fa6Smrg 54682d1d20fcSmrgecho 'BEGIN {' >"$ac_tmp/subs1.awk" && 54698ae04fa6Smrg_ACEOF 54708ae04fa6Smrg 54718ae04fa6Smrg 547244af7230Smrg{ 547344af7230Smrg echo "cat >conf$$subs.awk <<_ACEOF" && 547444af7230Smrg echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 547544af7230Smrg echo "_ACEOF" 547644af7230Smrg} >conf$$subs.sh || 54772d1d20fcSmrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 54782d1d20fcSmrgac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 54798ae04fa6Smrgac_delim='%!_!# ' 54808ae04fa6Smrgfor ac_last_try in false false false false false :; do 548144af7230Smrg . ./conf$$subs.sh || 54822d1d20fcSmrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 54838ae04fa6Smrg 548444af7230Smrg ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 548544af7230Smrg if test $ac_delim_n = $ac_delim_num; then 54868ae04fa6Smrg break 54878ae04fa6Smrg elif $ac_last_try; then 54882d1d20fcSmrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 54898ae04fa6Smrg else 54908ae04fa6Smrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 54918ae04fa6Smrg fi 54928ae04fa6Smrgdone 549344af7230Smrgrm -f conf$$subs.sh 54948ae04fa6Smrg 549544af7230Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 54962d1d20fcSmrgcat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 549744af7230Smrg_ACEOF 549844af7230Smrgsed -n ' 549944af7230Smrgh 550044af7230Smrgs/^/S["/; s/!.*/"]=/ 550144af7230Smrgp 550244af7230Smrgg 550344af7230Smrgs/^[^!]*!// 550444af7230Smrg:repl 550544af7230Smrgt repl 550644af7230Smrgs/'"$ac_delim"'$// 550744af7230Smrgt delim 550844af7230Smrg:nl 550944af7230Smrgh 55102d1d20fcSmrgs/\(.\{148\}\)..*/\1/ 551144af7230Smrgt more1 551244af7230Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 551344af7230Smrgp 551444af7230Smrgn 551544af7230Smrgb repl 551644af7230Smrg:more1 551744af7230Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 551844af7230Smrgp 551944af7230Smrgg 552044af7230Smrgs/.\{148\}// 552144af7230Smrgt nl 552244af7230Smrg:delim 552344af7230Smrgh 55242d1d20fcSmrgs/\(.\{148\}\)..*/\1/ 552544af7230Smrgt more2 552644af7230Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/ 552744af7230Smrgp 552844af7230Smrgb 552944af7230Smrg:more2 553044af7230Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 553144af7230Smrgp 553244af7230Smrgg 553344af7230Smrgs/.\{148\}// 553444af7230Smrgt delim 553544af7230Smrg' <conf$$subs.awk | sed ' 553644af7230Smrg/^[^""]/{ 553744af7230Smrg N 553844af7230Smrg s/\n// 553944af7230Smrg} 554044af7230Smrg' >>$CONFIG_STATUS || ac_write_fail=1 554144af7230Smrgrm -f conf$$subs.awk 554244af7230Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 554344af7230Smrg_ACAWK 55442d1d20fcSmrgcat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 554544af7230Smrg for (key in S) S_is_set[key] = 1 554644af7230Smrg FS = "" 554744af7230Smrg 554844af7230Smrg} 554944af7230Smrg{ 555044af7230Smrg line = $ 0 555144af7230Smrg nfields = split(line, field, "@") 555244af7230Smrg substed = 0 555344af7230Smrg len = length(field[1]) 555444af7230Smrg for (i = 2; i < nfields; i++) { 555544af7230Smrg key = field[i] 555644af7230Smrg keylen = length(key) 555744af7230Smrg if (S_is_set[key]) { 555844af7230Smrg value = S[key] 555944af7230Smrg line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 556044af7230Smrg len += length(value) + length(field[++i]) 556144af7230Smrg substed = 1 556244af7230Smrg } else 556344af7230Smrg len += 1 + keylen 556444af7230Smrg } 556544af7230Smrg 556644af7230Smrg print line 556744af7230Smrg} 55688ae04fa6Smrg 556944af7230Smrg_ACAWK 55708ae04fa6Smrg_ACEOF 557144af7230Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 557244af7230Smrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 557344af7230Smrg sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 557444af7230Smrgelse 557544af7230Smrg cat 55762d1d20fcSmrgfi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 55772d1d20fcSmrg || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 55788ae04fa6Smrg_ACEOF 55798ae04fa6Smrg 55802d1d20fcSmrg# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 55812d1d20fcSmrg# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 55828ae04fa6Smrg# trailing colons and then remove the whole line if VPATH becomes empty 55838ae04fa6Smrg# (actually we leave an empty line to preserve line numbers). 55848ae04fa6Smrgif test "x$srcdir" = x.; then 55852d1d20fcSmrg ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 55862d1d20fcSmrgh 55872d1d20fcSmrgs/// 55882d1d20fcSmrgs/^/:/ 55892d1d20fcSmrgs/[ ]*$/:/ 55902d1d20fcSmrgs/:\$(srcdir):/:/g 55912d1d20fcSmrgs/:\${srcdir}:/:/g 55922d1d20fcSmrgs/:@srcdir@:/:/g 55932d1d20fcSmrgs/^:*// 55948ae04fa6Smrgs/:*$// 55952d1d20fcSmrgx 55962d1d20fcSmrgs/\(=[ ]*\).*/\1/ 55972d1d20fcSmrgG 55982d1d20fcSmrgs/\n// 55998ae04fa6Smrgs/^[^=]*=[ ]*$// 56008ae04fa6Smrg}' 56018ae04fa6Smrgfi 56028ae04fa6Smrg 560344af7230Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 56048ae04fa6Smrgfi # test -n "$CONFIG_FILES" 56058ae04fa6Smrg 560644af7230Smrg# Set up the scripts for CONFIG_HEADERS section. 560744af7230Smrg# No need to generate them if there are no CONFIG_HEADERS. 560844af7230Smrg# This happens for instance with `./config.status Makefile'. 560944af7230Smrgif test -n "$CONFIG_HEADERS"; then 56102d1d20fcSmrgcat >"$ac_tmp/defines.awk" <<\_ACAWK || 561144af7230SmrgBEGIN { 561244af7230Smrg_ACEOF 561344af7230Smrg 561444af7230Smrg# Transform confdefs.h into an awk script `defines.awk', embedded as 561544af7230Smrg# here-document in config.status, that substitutes the proper values into 561644af7230Smrg# config.h.in to produce config.h. 561744af7230Smrg 561844af7230Smrg# Create a delimiter string that does not exist in confdefs.h, to ease 561944af7230Smrg# handling of long lines. 562044af7230Smrgac_delim='%!_!# ' 562144af7230Smrgfor ac_last_try in false false :; do 56222d1d20fcSmrg ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 56232d1d20fcSmrg if test -z "$ac_tt"; then 562444af7230Smrg break 562544af7230Smrg elif $ac_last_try; then 56262d1d20fcSmrg as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 562744af7230Smrg else 562844af7230Smrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 562944af7230Smrg fi 563044af7230Smrgdone 563144af7230Smrg 563244af7230Smrg# For the awk script, D is an array of macro values keyed by name, 563344af7230Smrg# likewise P contains macro parameters if any. Preserve backslash 563444af7230Smrg# newline sequences. 563544af7230Smrg 563644af7230Smrgac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 563744af7230Smrgsed -n ' 563844af7230Smrgs/.\{148\}/&'"$ac_delim"'/g 563944af7230Smrgt rset 564044af7230Smrg:rset 564144af7230Smrgs/^[ ]*#[ ]*define[ ][ ]*/ / 564244af7230Smrgt def 564344af7230Smrgd 564444af7230Smrg:def 564544af7230Smrgs/\\$// 564644af7230Smrgt bsnl 564744af7230Smrgs/["\\]/\\&/g 564844af7230Smrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 564944af7230SmrgD["\1"]=" \3"/p 565044af7230Smrgs/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 565144af7230Smrgd 565244af7230Smrg:bsnl 565344af7230Smrgs/["\\]/\\&/g 565444af7230Smrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 565544af7230SmrgD["\1"]=" \3\\\\\\n"\\/p 565644af7230Smrgt cont 565744af7230Smrgs/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 565844af7230Smrgt cont 565944af7230Smrgd 566044af7230Smrg:cont 566144af7230Smrgn 566244af7230Smrgs/.\{148\}/&'"$ac_delim"'/g 566344af7230Smrgt clear 566444af7230Smrg:clear 566544af7230Smrgs/\\$// 566644af7230Smrgt bsnlc 566744af7230Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/p 566844af7230Smrgd 566944af7230Smrg:bsnlc 567044af7230Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 567144af7230Smrgb cont 567244af7230Smrg' <confdefs.h | sed ' 567344af7230Smrgs/'"$ac_delim"'/"\\\ 567444af7230Smrg"/g' >>$CONFIG_STATUS || ac_write_fail=1 567544af7230Smrg 567644af7230Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 567744af7230Smrg for (key in D) D_is_set[key] = 1 567844af7230Smrg FS = "" 567944af7230Smrg} 568044af7230Smrg/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 568144af7230Smrg line = \$ 0 568244af7230Smrg split(line, arg, " ") 568344af7230Smrg if (arg[1] == "#") { 568444af7230Smrg defundef = arg[2] 568544af7230Smrg mac1 = arg[3] 568644af7230Smrg } else { 568744af7230Smrg defundef = substr(arg[1], 2) 568844af7230Smrg mac1 = arg[2] 568944af7230Smrg } 569044af7230Smrg split(mac1, mac2, "(") #) 569144af7230Smrg macro = mac2[1] 569244af7230Smrg prefix = substr(line, 1, index(line, defundef) - 1) 569344af7230Smrg if (D_is_set[macro]) { 569444af7230Smrg # Preserve the white space surrounding the "#". 569544af7230Smrg print prefix "define", macro P[macro] D[macro] 569644af7230Smrg next 569744af7230Smrg } else { 569844af7230Smrg # Replace #undef with comments. This is necessary, for example, 569944af7230Smrg # in the case of _POSIX_SOURCE, which is predefined and required 570044af7230Smrg # on some systems where configure will not decide to define it. 570144af7230Smrg if (defundef == "undef") { 570244af7230Smrg print "/*", prefix defundef, macro, "*/" 570344af7230Smrg next 570444af7230Smrg } 570544af7230Smrg } 570644af7230Smrg} 570744af7230Smrg{ print } 570844af7230Smrg_ACAWK 570944af7230Smrg_ACEOF 571044af7230Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 57112d1d20fcSmrg as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 571244af7230Smrgfi # test -n "$CONFIG_HEADERS" 571344af7230Smrg 57148ae04fa6Smrg 571544af7230Smrgeval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 571644af7230Smrgshift 571744af7230Smrgfor ac_tag 57188ae04fa6Smrgdo 57198ae04fa6Smrg case $ac_tag in 57208ae04fa6Smrg :[FHLC]) ac_mode=$ac_tag; continue;; 57218ae04fa6Smrg esac 57228ae04fa6Smrg case $ac_mode$ac_tag in 57238ae04fa6Smrg :[FHL]*:*);; 57242d1d20fcSmrg :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 57258ae04fa6Smrg :[FH]-) ac_tag=-:-;; 57268ae04fa6Smrg :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 57278ae04fa6Smrg esac 57288ae04fa6Smrg ac_save_IFS=$IFS 57298ae04fa6Smrg IFS=: 57308ae04fa6Smrg set x $ac_tag 57318ae04fa6Smrg IFS=$ac_save_IFS 57328ae04fa6Smrg shift 57338ae04fa6Smrg ac_file=$1 57348ae04fa6Smrg shift 57358ae04fa6Smrg 57368ae04fa6Smrg case $ac_mode in 57378ae04fa6Smrg :L) ac_source=$1;; 57388ae04fa6Smrg :[FH]) 57398ae04fa6Smrg ac_file_inputs= 57408ae04fa6Smrg for ac_f 57418ae04fa6Smrg do 57428ae04fa6Smrg case $ac_f in 57432d1d20fcSmrg -) ac_f="$ac_tmp/stdin";; 57448ae04fa6Smrg *) # Look for the file first in the build tree, then in the source tree 57458ae04fa6Smrg # (if the path is not absolute). The absolute path cannot be DOS-style, 57468ae04fa6Smrg # because $ac_f cannot contain `:'. 57478ae04fa6Smrg test -f "$ac_f" || 57488ae04fa6Smrg case $ac_f in 57498ae04fa6Smrg [\\/$]*) false;; 57508ae04fa6Smrg *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 57518ae04fa6Smrg esac || 57522d1d20fcSmrg as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 57538ae04fa6Smrg esac 575444af7230Smrg case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 57552d1d20fcSmrg as_fn_append ac_file_inputs " '$ac_f'" 57568ae04fa6Smrg done 57578ae04fa6Smrg 57588ae04fa6Smrg # Let's still pretend it is `configure' which instantiates (i.e., don't 57598ae04fa6Smrg # use $as_me), people would be surprised to read: 57608ae04fa6Smrg # /* config.h. Generated by config.status. */ 576144af7230Smrg configure_input='Generated from '` 576244af7230Smrg $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 576344af7230Smrg `' by configure.' 57648ae04fa6Smrg if test x"$ac_file" != x-; then 57658ae04fa6Smrg configure_input="$ac_file. $configure_input" 57662d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 576744af7230Smrg$as_echo "$as_me: creating $ac_file" >&6;} 57688ae04fa6Smrg fi 576944af7230Smrg # Neutralize special characters interpreted by sed in replacement strings. 577044af7230Smrg case $configure_input in #( 577144af7230Smrg *\&* | *\|* | *\\* ) 577244af7230Smrg ac_sed_conf_input=`$as_echo "$configure_input" | 577344af7230Smrg sed 's/[\\\\&|]/\\\\&/g'`;; #( 577444af7230Smrg *) ac_sed_conf_input=$configure_input;; 577544af7230Smrg esac 57768ae04fa6Smrg 57778ae04fa6Smrg case $ac_tag in 57782d1d20fcSmrg *:-:* | *:-) cat >"$ac_tmp/stdin" \ 57792d1d20fcSmrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 57808ae04fa6Smrg esac 57818ae04fa6Smrg ;; 57828ae04fa6Smrg esac 57838ae04fa6Smrg 57848ae04fa6Smrg ac_dir=`$as_dirname -- "$ac_file" || 57858ae04fa6Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 57868ae04fa6Smrg X"$ac_file" : 'X\(//\)[^/]' \| \ 57878ae04fa6Smrg X"$ac_file" : 'X\(//\)$' \| \ 57888ae04fa6Smrg X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 578944af7230Smrg$as_echo X"$ac_file" | 57908ae04fa6Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 57918ae04fa6Smrg s//\1/ 57928ae04fa6Smrg q 57938ae04fa6Smrg } 57948ae04fa6Smrg /^X\(\/\/\)[^/].*/{ 57958ae04fa6Smrg s//\1/ 57968ae04fa6Smrg q 57978ae04fa6Smrg } 57988ae04fa6Smrg /^X\(\/\/\)$/{ 57998ae04fa6Smrg s//\1/ 58008ae04fa6Smrg q 58018ae04fa6Smrg } 58028ae04fa6Smrg /^X\(\/\).*/{ 58038ae04fa6Smrg s//\1/ 58048ae04fa6Smrg q 58058ae04fa6Smrg } 58068ae04fa6Smrg s/.*/./; q'` 58072d1d20fcSmrg as_dir="$ac_dir"; as_fn_mkdir_p 58088ae04fa6Smrg ac_builddir=. 58098ae04fa6Smrg 58108ae04fa6Smrgcase "$ac_dir" in 58118ae04fa6Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 58128ae04fa6Smrg*) 581344af7230Smrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 58148ae04fa6Smrg # A ".." for each directory in $ac_dir_suffix. 581544af7230Smrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 58168ae04fa6Smrg case $ac_top_builddir_sub in 58178ae04fa6Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 58188ae04fa6Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 58198ae04fa6Smrg esac ;; 58208ae04fa6Smrgesac 58218ae04fa6Smrgac_abs_top_builddir=$ac_pwd 58228ae04fa6Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 58238ae04fa6Smrg# for backward compatibility: 58248ae04fa6Smrgac_top_builddir=$ac_top_build_prefix 58258ae04fa6Smrg 58268ae04fa6Smrgcase $srcdir in 58278ae04fa6Smrg .) # We are building in place. 58288ae04fa6Smrg ac_srcdir=. 58298ae04fa6Smrg ac_top_srcdir=$ac_top_builddir_sub 58308ae04fa6Smrg ac_abs_top_srcdir=$ac_pwd ;; 58318ae04fa6Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 58328ae04fa6Smrg ac_srcdir=$srcdir$ac_dir_suffix; 58338ae04fa6Smrg ac_top_srcdir=$srcdir 58348ae04fa6Smrg ac_abs_top_srcdir=$srcdir ;; 58358ae04fa6Smrg *) # Relative name. 58368ae04fa6Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 58378ae04fa6Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 58388ae04fa6Smrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 58398ae04fa6Smrgesac 58408ae04fa6Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 58418ae04fa6Smrg 58428ae04fa6Smrg 58438ae04fa6Smrg case $ac_mode in 58448ae04fa6Smrg :F) 58458ae04fa6Smrg # 58468ae04fa6Smrg # CONFIG_FILE 58478ae04fa6Smrg # 58488ae04fa6Smrg 58498ae04fa6Smrg case $INSTALL in 58508ae04fa6Smrg [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 58518ae04fa6Smrg *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 58528ae04fa6Smrg esac 58538ae04fa6Smrg ac_MKDIR_P=$MKDIR_P 58548ae04fa6Smrg case $MKDIR_P in 58558ae04fa6Smrg [\\/$]* | ?:[\\/]* ) ;; 58568ae04fa6Smrg */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 58578ae04fa6Smrg esac 58588ae04fa6Smrg_ACEOF 58598ae04fa6Smrg 586044af7230Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 58618ae04fa6Smrg# If the template does not know about datarootdir, expand it. 58628ae04fa6Smrg# FIXME: This hack should be removed a few years after 2.60. 58638ae04fa6Smrgac_datarootdir_hack=; ac_datarootdir_seen= 586444af7230Smrgac_sed_dataroot=' 586544af7230Smrg/datarootdir/ { 58668ae04fa6Smrg p 58678ae04fa6Smrg q 58688ae04fa6Smrg} 58698ae04fa6Smrg/@datadir@/p 58708ae04fa6Smrg/@docdir@/p 58718ae04fa6Smrg/@infodir@/p 58728ae04fa6Smrg/@localedir@/p 58732d1d20fcSmrg/@mandir@/p' 587444af7230Smrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 58758ae04fa6Smrg*datarootdir*) ac_datarootdir_seen=yes;; 58768ae04fa6Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 58772d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 587844af7230Smrg$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 58798ae04fa6Smrg_ACEOF 588044af7230Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 58818ae04fa6Smrg ac_datarootdir_hack=' 58828ae04fa6Smrg s&@datadir@&$datadir&g 58838ae04fa6Smrg s&@docdir@&$docdir&g 58848ae04fa6Smrg s&@infodir@&$infodir&g 58858ae04fa6Smrg s&@localedir@&$localedir&g 58868ae04fa6Smrg s&@mandir@&$mandir&g 58872d1d20fcSmrg s&\\\${datarootdir}&$datarootdir&g' ;; 58888ae04fa6Smrgesac 58898ae04fa6Smrg_ACEOF 58908ae04fa6Smrg 58918ae04fa6Smrg# Neutralize VPATH when `$srcdir' = `.'. 58928ae04fa6Smrg# Shell code in configure.ac might set extrasub. 58938ae04fa6Smrg# FIXME: do we really want to maintain this feature? 589444af7230Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 589544af7230Smrgac_sed_extra="$ac_vpsub 58968ae04fa6Smrg$extrasub 58978ae04fa6Smrg_ACEOF 589844af7230Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 58998ae04fa6Smrg:t 59008ae04fa6Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 590144af7230Smrgs|@configure_input@|$ac_sed_conf_input|;t t 59028ae04fa6Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t 590344af7230Smrgs&@top_build_prefix@&$ac_top_build_prefix&;t t 59048ae04fa6Smrgs&@srcdir@&$ac_srcdir&;t t 59058ae04fa6Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t 59068ae04fa6Smrgs&@top_srcdir@&$ac_top_srcdir&;t t 59078ae04fa6Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 59088ae04fa6Smrgs&@builddir@&$ac_builddir&;t t 59098ae04fa6Smrgs&@abs_builddir@&$ac_abs_builddir&;t t 59108ae04fa6Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t 59118ae04fa6Smrgs&@INSTALL@&$ac_INSTALL&;t t 59128ae04fa6Smrgs&@MKDIR_P@&$ac_MKDIR_P&;t t 59138ae04fa6Smrg$ac_datarootdir_hack 591444af7230Smrg" 59152d1d20fcSmrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 59162d1d20fcSmrg >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 59178ae04fa6Smrg 59188ae04fa6Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 59192d1d20fcSmrg { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 59202d1d20fcSmrg { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 59212d1d20fcSmrg "$ac_tmp/out"`; test -z "$ac_out"; } && 59222d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 59232d1d20fcSmrgwhich seems to be undefined. Please make sure it is defined" >&5 592444af7230Smrg$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 59252d1d20fcSmrgwhich seems to be undefined. Please make sure it is defined" >&2;} 59268ae04fa6Smrg 59272d1d20fcSmrg rm -f "$ac_tmp/stdin" 59288ae04fa6Smrg case $ac_file in 59292d1d20fcSmrg -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 59302d1d20fcSmrg *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 593144af7230Smrg esac \ 59322d1d20fcSmrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 59338ae04fa6Smrg ;; 59348ae04fa6Smrg :H) 59358ae04fa6Smrg # 59368ae04fa6Smrg # CONFIG_HEADER 59378ae04fa6Smrg # 59388ae04fa6Smrg if test x"$ac_file" != x-; then 593944af7230Smrg { 594044af7230Smrg $as_echo "/* $configure_input */" \ 59412d1d20fcSmrg && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 59422d1d20fcSmrg } >"$ac_tmp/config.h" \ 59432d1d20fcSmrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 59442d1d20fcSmrg if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 59452d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 594644af7230Smrg$as_echo "$as_me: $ac_file is unchanged" >&6;} 59478ae04fa6Smrg else 594844af7230Smrg rm -f "$ac_file" 59492d1d20fcSmrg mv "$ac_tmp/config.h" "$ac_file" \ 59502d1d20fcSmrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 59518ae04fa6Smrg fi 59528ae04fa6Smrg else 595344af7230Smrg $as_echo "/* $configure_input */" \ 59542d1d20fcSmrg && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 59552d1d20fcSmrg || as_fn_error $? "could not create -" "$LINENO" 5 59568ae04fa6Smrg fi 595744af7230Smrg# Compute "$ac_file"'s index in $config_headers. 595844af7230Smrg_am_arg="$ac_file" 59598ae04fa6Smrg_am_stamp_count=1 59608ae04fa6Smrgfor _am_header in $config_headers :; do 59618ae04fa6Smrg case $_am_header in 596244af7230Smrg $_am_arg | $_am_arg:* ) 59638ae04fa6Smrg break ;; 59648ae04fa6Smrg * ) 59658ae04fa6Smrg _am_stamp_count=`expr $_am_stamp_count + 1` ;; 59668ae04fa6Smrg esac 59678ae04fa6Smrgdone 596844af7230Smrgecho "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 596944af7230Smrg$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 597044af7230Smrg X"$_am_arg" : 'X\(//\)[^/]' \| \ 597144af7230Smrg X"$_am_arg" : 'X\(//\)$' \| \ 597244af7230Smrg X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 597344af7230Smrg$as_echo X"$_am_arg" | 59748ae04fa6Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 59758ae04fa6Smrg s//\1/ 59768ae04fa6Smrg q 59778ae04fa6Smrg } 59788ae04fa6Smrg /^X\(\/\/\)[^/].*/{ 59798ae04fa6Smrg s//\1/ 59808ae04fa6Smrg q 59818ae04fa6Smrg } 59828ae04fa6Smrg /^X\(\/\/\)$/{ 59838ae04fa6Smrg s//\1/ 59848ae04fa6Smrg q 59858ae04fa6Smrg } 59868ae04fa6Smrg /^X\(\/\).*/{ 59878ae04fa6Smrg s//\1/ 59888ae04fa6Smrg q 59898ae04fa6Smrg } 59908ae04fa6Smrg s/.*/./; q'`/stamp-h$_am_stamp_count 59918ae04fa6Smrg ;; 59928ae04fa6Smrg 59932d1d20fcSmrg :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 599444af7230Smrg$as_echo "$as_me: executing $ac_file commands" >&6;} 59958ae04fa6Smrg ;; 59968ae04fa6Smrg esac 59978ae04fa6Smrg 59988ae04fa6Smrg 59998ae04fa6Smrg case $ac_file$ac_mode in 600044af7230Smrg "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 600144af7230Smrg # Autoconf 2.62 quotes --file arguments for eval, but not when files 600244af7230Smrg # are listed without --file. Let's play safe and only enable the eval 600344af7230Smrg # if we detect the quoting. 600444af7230Smrg case $CONFIG_FILES in 600544af7230Smrg *\'*) eval set x "$CONFIG_FILES" ;; 600644af7230Smrg *) set x $CONFIG_FILES ;; 600744af7230Smrg esac 600844af7230Smrg shift 600944af7230Smrg for mf 601044af7230Smrg do 601144af7230Smrg # Strip MF so we end up with the name of the file. 601244af7230Smrg mf=`echo "$mf" | sed -e 's/:.*$//'` 601344af7230Smrg # Check whether this is an Automake generated Makefile or not. 601444af7230Smrg # We used to match only the files named `Makefile.in', but 601544af7230Smrg # some people rename them; so instead we look at the file content. 601644af7230Smrg # Grep'ing the first line is not enough: some people post-process 601744af7230Smrg # each Makefile.in and add a new line on top of each file to say so. 601844af7230Smrg # Grep'ing the whole file is not good either: AIX grep has a line 601944af7230Smrg # limit of 2048, but all sed's we know have understand at least 4000. 602044af7230Smrg if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 602144af7230Smrg dirpart=`$as_dirname -- "$mf" || 60228ae04fa6Smrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 60238ae04fa6Smrg X"$mf" : 'X\(//\)[^/]' \| \ 60248ae04fa6Smrg X"$mf" : 'X\(//\)$' \| \ 60258ae04fa6Smrg X"$mf" : 'X\(/\)' \| . 2>/dev/null || 602644af7230Smrg$as_echo X"$mf" | 60278ae04fa6Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 60288ae04fa6Smrg s//\1/ 60298ae04fa6Smrg q 60308ae04fa6Smrg } 60318ae04fa6Smrg /^X\(\/\/\)[^/].*/{ 60328ae04fa6Smrg s//\1/ 60338ae04fa6Smrg q 60348ae04fa6Smrg } 60358ae04fa6Smrg /^X\(\/\/\)$/{ 60368ae04fa6Smrg s//\1/ 60378ae04fa6Smrg q 60388ae04fa6Smrg } 60398ae04fa6Smrg /^X\(\/\).*/{ 60408ae04fa6Smrg s//\1/ 60418ae04fa6Smrg q 60428ae04fa6Smrg } 60438ae04fa6Smrg s/.*/./; q'` 604444af7230Smrg else 604544af7230Smrg continue 604644af7230Smrg fi 604744af7230Smrg # Extract the definition of DEPDIR, am__include, and am__quote 604844af7230Smrg # from the Makefile without running `make'. 604944af7230Smrg DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 605044af7230Smrg test -z "$DEPDIR" && continue 605144af7230Smrg am__include=`sed -n 's/^am__include = //p' < "$mf"` 605244af7230Smrg test -z "am__include" && continue 605344af7230Smrg am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 605444af7230Smrg # When using ansi2knr, U may be empty or an underscore; expand it 605544af7230Smrg U=`sed -n 's/^U = //p' < "$mf"` 605644af7230Smrg # Find all dependency output files, they are included files with 605744af7230Smrg # $(DEPDIR) in their names. We invoke sed twice because it is the 605844af7230Smrg # simplest approach to changing $(DEPDIR) to its actual value in the 605944af7230Smrg # expansion. 606044af7230Smrg for file in `sed -n " 606144af7230Smrg s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 606244af7230Smrg sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 606344af7230Smrg # Make sure the directory exists. 606444af7230Smrg test -f "$dirpart/$file" && continue 606544af7230Smrg fdir=`$as_dirname -- "$file" || 60668ae04fa6Smrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 60678ae04fa6Smrg X"$file" : 'X\(//\)[^/]' \| \ 60688ae04fa6Smrg X"$file" : 'X\(//\)$' \| \ 60698ae04fa6Smrg X"$file" : 'X\(/\)' \| . 2>/dev/null || 607044af7230Smrg$as_echo X"$file" | 60718ae04fa6Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 60728ae04fa6Smrg s//\1/ 60738ae04fa6Smrg q 60748ae04fa6Smrg } 60758ae04fa6Smrg /^X\(\/\/\)[^/].*/{ 60768ae04fa6Smrg s//\1/ 60778ae04fa6Smrg q 60788ae04fa6Smrg } 60798ae04fa6Smrg /^X\(\/\/\)$/{ 60808ae04fa6Smrg s//\1/ 60818ae04fa6Smrg q 60828ae04fa6Smrg } 60838ae04fa6Smrg /^X\(\/\).*/{ 60848ae04fa6Smrg s//\1/ 60858ae04fa6Smrg q 60868ae04fa6Smrg } 60878ae04fa6Smrg s/.*/./; q'` 60882d1d20fcSmrg as_dir=$dirpart/$fdir; as_fn_mkdir_p 608944af7230Smrg # echo "creating $dirpart/$file" 609044af7230Smrg echo '# dummy' > "$dirpart/$file" 609144af7230Smrg done 60928ae04fa6Smrg done 609344af7230Smrg} 60948ae04fa6Smrg ;; 60958ae04fa6Smrg 60968ae04fa6Smrg esac 60978ae04fa6Smrgdone # for ac_tag 60988ae04fa6Smrg 60998ae04fa6Smrg 61002d1d20fcSmrgas_fn_exit 0 61018ae04fa6Smrg_ACEOF 61028ae04fa6Smrgac_clean_files=$ac_clean_files_save 61038ae04fa6Smrg 610444af7230Smrgtest $ac_write_fail = 0 || 61052d1d20fcSmrg as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 610644af7230Smrg 61078ae04fa6Smrg 61088ae04fa6Smrg# configure is writing to config.log, and then calls config.status. 61098ae04fa6Smrg# config.status does its own redirection, appending to config.log. 61108ae04fa6Smrg# Unfortunately, on DOS this fails, as config.log is still kept open 61118ae04fa6Smrg# by configure, so config.status won't be able to write to it; its 61128ae04fa6Smrg# output is simply discarded. So we exec the FD to /dev/null, 61138ae04fa6Smrg# effectively closing config.log, so it can be properly (re)opened and 61148ae04fa6Smrg# appended to by config.status. When coming back to configure, we 61158ae04fa6Smrg# need to make the FD available again. 61168ae04fa6Smrgif test "$no_create" != yes; then 61178ae04fa6Smrg ac_cs_success=: 61188ae04fa6Smrg ac_config_status_args= 61198ae04fa6Smrg test "$silent" = yes && 61208ae04fa6Smrg ac_config_status_args="$ac_config_status_args --quiet" 61218ae04fa6Smrg exec 5>/dev/null 61228ae04fa6Smrg $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 61238ae04fa6Smrg exec 5>>config.log 61248ae04fa6Smrg # Use ||, not &&, to avoid exiting from the if with $? = 1, which 61258ae04fa6Smrg # would make configure fail if this is the last instruction. 61262d1d20fcSmrg $ac_cs_success || as_fn_exit 1 61278ae04fa6Smrgfi 612844af7230Smrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 61292d1d20fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 613044af7230Smrg$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 613144af7230Smrgfi 61328ae04fa6Smrg 6133