configure revision 69a1fe56
1a850946eSmrg#! /bin/sh 2a850946eSmrg# Guess values for system-dependent variables and create Makefiles. 369a1fe56Smrg# Generated by GNU Autoconf 2.68 for xlsclients 1.1.1. 4a850946eSmrg# 5a850946eSmrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 6a850946eSmrg# 77dff02feSmrg# 870f7c90cSmrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 969a1fe56Smrg# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 1069a1fe56Smrg# Foundation, Inc. 117dff02feSmrg# 127dff02feSmrg# 13a850946eSmrg# This configure script is free software; the Free Software Foundation 14a850946eSmrg# gives unlimited permission to copy, distribute and modify it. 157dff02feSmrg## -------------------- ## 167dff02feSmrg## M4sh Initialization. ## 177dff02feSmrg## -------------------- ## 18a850946eSmrg 1970f7c90cSmrg# Be more Bourne compatible 2070f7c90cSmrgDUALCASE=1; export DUALCASE # for MKS sh 217dff02feSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 22a850946eSmrg emulate sh 23a850946eSmrg NULLCMD=: 2470f7c90cSmrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 25a850946eSmrg # is contrary to our usage. Disable this feature. 26a850946eSmrg alias -g '${1+"$@"}'='"$@"' 2770f7c90cSmrg setopt NO_GLOB_SUBST 2870f7c90cSmrgelse 297dff02feSmrg case `(set -o) 2>/dev/null` in #( 307dff02feSmrg *posix*) : 317dff02feSmrg set -o posix ;; #( 327dff02feSmrg *) : 337dff02feSmrg ;; 3470f7c90cSmrgesac 3570f7c90cSmrgfi 3670f7c90cSmrg 3770f7c90cSmrg 3870f7c90cSmrgas_nl=' 3970f7c90cSmrg' 4070f7c90cSmrgexport as_nl 4170f7c90cSmrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 4270f7c90cSmrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4370f7c90cSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 4470f7c90cSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 457dff02feSmrg# Prefer a ksh shell builtin over an external printf program on Solaris, 467dff02feSmrg# but without wasting forks for bash or zsh. 477dff02feSmrgif test -z "$BASH_VERSION$ZSH_VERSION" \ 487dff02feSmrg && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 497dff02feSmrg as_echo='print -r --' 507dff02feSmrg as_echo_n='print -rn --' 517dff02feSmrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 5270f7c90cSmrg as_echo='printf %s\n' 5370f7c90cSmrg as_echo_n='printf %s' 5470f7c90cSmrgelse 5570f7c90cSmrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 5670f7c90cSmrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 5770f7c90cSmrg as_echo_n='/usr/ucb/echo -n' 5870f7c90cSmrg else 5970f7c90cSmrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 6070f7c90cSmrg as_echo_n_body='eval 6170f7c90cSmrg arg=$1; 627dff02feSmrg case $arg in #( 6370f7c90cSmrg *"$as_nl"*) 6470f7c90cSmrg expr "X$arg" : "X\\(.*\\)$as_nl"; 6570f7c90cSmrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 6670f7c90cSmrg esac; 6770f7c90cSmrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 6870f7c90cSmrg ' 6970f7c90cSmrg export as_echo_n_body 7070f7c90cSmrg as_echo_n='sh -c $as_echo_n_body as_echo' 7170f7c90cSmrg fi 7270f7c90cSmrg export as_echo_body 7370f7c90cSmrg as_echo='sh -c $as_echo_body as_echo' 7470f7c90cSmrgfi 7570f7c90cSmrg 7670f7c90cSmrg# The user is always right. 7770f7c90cSmrgif test "${PATH_SEPARATOR+set}" != set; then 7870f7c90cSmrg PATH_SEPARATOR=: 7970f7c90cSmrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 8070f7c90cSmrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 8170f7c90cSmrg PATH_SEPARATOR=';' 8270f7c90cSmrg } 83a850946eSmrgfi 84a850946eSmrg 85a850946eSmrg 8670f7c90cSmrg# IFS 8770f7c90cSmrg# We need space, tab and new line, in precisely that order. Quoting is 8870f7c90cSmrg# there to prevent editors from complaining about space-tab. 8970f7c90cSmrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 9070f7c90cSmrg# splitting by setting IFS to empty value.) 9170f7c90cSmrgIFS=" "" $as_nl" 9270f7c90cSmrg 9370f7c90cSmrg# Find who we are. Look in the path if we contain no directory separator. 9469a1fe56Smrgas_myself= 957dff02feSmrgcase $0 in #(( 9670f7c90cSmrg *[\\/]* ) as_myself=$0 ;; 9770f7c90cSmrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9870f7c90cSmrgfor as_dir in $PATH 9970f7c90cSmrgdo 10070f7c90cSmrg IFS=$as_save_IFS 10170f7c90cSmrg test -z "$as_dir" && as_dir=. 1027dff02feSmrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 1037dff02feSmrg done 10470f7c90cSmrgIFS=$as_save_IFS 10570f7c90cSmrg 10670f7c90cSmrg ;; 10770f7c90cSmrgesac 10870f7c90cSmrg# We did not find ourselves, most probably we were run as `sh COMMAND' 10970f7c90cSmrg# in which case we are not to be found in the path. 11070f7c90cSmrgif test "x$as_myself" = x; then 11170f7c90cSmrg as_myself=$0 11270f7c90cSmrgfi 11370f7c90cSmrgif test ! -f "$as_myself"; then 11470f7c90cSmrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 1157dff02feSmrg exit 1 11670f7c90cSmrgfi 11770f7c90cSmrg 1187dff02feSmrg# Unset variables that we do not need and which cause bugs (e.g. in 1197dff02feSmrg# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 1207dff02feSmrg# suppresses any "Segmentation fault" message there. '((' could 1217dff02feSmrg# trigger a bug in pdksh 5.2.14. 1227dff02feSmrgfor as_var in BASH_ENV ENV MAIL MAILPATH 1237dff02feSmrgdo eval test x\${$as_var+set} = xset \ 1247dff02feSmrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 12570f7c90cSmrgdone 126a850946eSmrgPS1='$ ' 127a850946eSmrgPS2='> ' 128a850946eSmrgPS4='+ ' 129a850946eSmrg 130a850946eSmrg# NLS nuisances. 13170f7c90cSmrgLC_ALL=C 13270f7c90cSmrgexport LC_ALL 13370f7c90cSmrgLANGUAGE=C 13470f7c90cSmrgexport LANGUAGE 135a850946eSmrg 13670f7c90cSmrg# CDPATH. 1377dff02feSmrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 138a850946eSmrg 13970f7c90cSmrgif test "x$CONFIG_SHELL" = x; then 1407dff02feSmrg as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 1417dff02feSmrg emulate sh 1427dff02feSmrg NULLCMD=: 1437dff02feSmrg # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 1447dff02feSmrg # is contrary to our usage. Disable this feature. 1457dff02feSmrg alias -g '\${1+\"\$@\"}'='\"\$@\"' 1467dff02feSmrg setopt NO_GLOB_SUBST 14770f7c90cSmrgelse 1487dff02feSmrg case \`(set -o) 2>/dev/null\` in #( 1497dff02feSmrg *posix*) : 1507dff02feSmrg set -o posix ;; #( 1517dff02feSmrg *) : 1527dff02feSmrg ;; 1537dff02feSmrgesac 154a850946eSmrgfi 1557dff02feSmrg" 1567dff02feSmrg as_required="as_fn_return () { (exit \$1); } 1577dff02feSmrgas_fn_success () { as_fn_return 0; } 1587dff02feSmrgas_fn_failure () { as_fn_return 1; } 1597dff02feSmrgas_fn_ret_success () { return 0; } 1607dff02feSmrgas_fn_ret_failure () { return 1; } 161a850946eSmrg 16270f7c90cSmrgexitcode=0 1637dff02feSmrgas_fn_success || { exitcode=1; echo as_fn_success failed.; } 1647dff02feSmrgas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 1657dff02feSmrgas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 1667dff02feSmrgas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 1677dff02feSmrgif ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 1687dff02feSmrg 1697dff02feSmrgelse 1707dff02feSmrg exitcode=1; echo positional parameters were not saved. 1717dff02feSmrgfi 1727dff02feSmrgtest x\$exitcode = x0 || exit 1" 1737dff02feSmrg as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 1747dff02feSmrg as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 1757dff02feSmrg eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 1767dff02feSmrg test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 1777dff02feSmrgtest \$(( 1 + 1 )) = 2 || exit 1" 1787dff02feSmrg if (eval "$as_required") 2>/dev/null; then : 1797dff02feSmrg as_have_required=yes 18070f7c90cSmrgelse 1817dff02feSmrg as_have_required=no 18270f7c90cSmrgfi 1837dff02feSmrg if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 18470f7c90cSmrg 18570f7c90cSmrgelse 1867dff02feSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1877dff02feSmrgas_found=false 188a850946eSmrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 189a850946eSmrgdo 190a850946eSmrg IFS=$as_save_IFS 191a850946eSmrg test -z "$as_dir" && as_dir=. 1927dff02feSmrg as_found=: 1937dff02feSmrg case $as_dir in #( 194a850946eSmrg /*) 19570f7c90cSmrg for as_base in sh bash ksh sh5; do 1967dff02feSmrg # Try only shells that exist, to save several forks. 1977dff02feSmrg as_shell=$as_dir/$as_base 1987dff02feSmrg if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 1997dff02feSmrg { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 2007dff02feSmrg CONFIG_SHELL=$as_shell as_have_required=yes 2017dff02feSmrg if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 2027dff02feSmrg break 2 2037dff02feSmrgfi 2047dff02feSmrgfi 20570f7c90cSmrg done;; 20670f7c90cSmrg esac 2077dff02feSmrg as_found=false 20870f7c90cSmrgdone 2097dff02feSmrg$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 2107dff02feSmrg { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 2117dff02feSmrg CONFIG_SHELL=$SHELL as_have_required=yes 2127dff02feSmrgfi; } 21370f7c90cSmrgIFS=$as_save_IFS 21470f7c90cSmrg 21570f7c90cSmrg 2167dff02feSmrg if test "x$CONFIG_SHELL" != x; then : 2177dff02feSmrg # We cannot yet assume a decent shell, so we have to provide a 2187dff02feSmrg # neutralization value for shells without unset; and this also 2197dff02feSmrg # works around shells that cannot unset nonexistent variables. 22069a1fe56Smrg # Preserve -v and -x to the replacement shell. 2217dff02feSmrg BASH_ENV=/dev/null 2227dff02feSmrg ENV=/dev/null 2237dff02feSmrg (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 22470f7c90cSmrg export CONFIG_SHELL 22569a1fe56Smrg case $- in # (((( 22669a1fe56Smrg *v*x* | *x*v* ) as_opts=-vx ;; 22769a1fe56Smrg *v* ) as_opts=-v ;; 22869a1fe56Smrg *x* ) as_opts=-x ;; 22969a1fe56Smrg * ) as_opts= ;; 23069a1fe56Smrg esac 23169a1fe56Smrg exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 23270f7c90cSmrgfi 23370f7c90cSmrg 2347dff02feSmrg if test x$as_have_required = xno; then : 2357dff02feSmrg $as_echo "$0: This script requires a shell more modern than all" 2367dff02feSmrg $as_echo "$0: the shells that I found on your system." 2377dff02feSmrg if test x${ZSH_VERSION+set} = xset ; then 2387dff02feSmrg $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 2397dff02feSmrg $as_echo "$0: be upgraded to zsh 4.3.4 or later." 2407dff02feSmrg else 2417dff02feSmrg $as_echo "$0: Please tell bug-autoconf@gnu.org and 2427dff02feSmrg$0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg 2437dff02feSmrg$0: about your system, including any error possibly output 2447dff02feSmrg$0: before this message. Then install a modern shell, or 2457dff02feSmrg$0: manually run the script under such a shell if you do 2467dff02feSmrg$0: have one." 2477dff02feSmrg fi 2487dff02feSmrg exit 1 24970f7c90cSmrgfi 25070f7c90cSmrgfi 25170f7c90cSmrgfi 2527dff02feSmrgSHELL=${CONFIG_SHELL-/bin/sh} 2537dff02feSmrgexport SHELL 2547dff02feSmrg# Unset more variables known to interfere with behavior of common tools. 2557dff02feSmrgCLICOLOR_FORCE= GREP_OPTIONS= 2567dff02feSmrgunset CLICOLOR_FORCE GREP_OPTIONS 25770f7c90cSmrg 2587dff02feSmrg## --------------------- ## 2597dff02feSmrg## M4sh Shell Functions. ## 2607dff02feSmrg## --------------------- ## 2617dff02feSmrg# as_fn_unset VAR 2627dff02feSmrg# --------------- 2637dff02feSmrg# Portably unset VAR. 2647dff02feSmrgas_fn_unset () 2657dff02feSmrg{ 2667dff02feSmrg { eval $1=; unset $1;} 2677dff02feSmrg} 2687dff02feSmrgas_unset=as_fn_unset 26970f7c90cSmrg 2707dff02feSmrg# as_fn_set_status STATUS 2717dff02feSmrg# ----------------------- 2727dff02feSmrg# Set $? to STATUS, without forking. 2737dff02feSmrgas_fn_set_status () 2747dff02feSmrg{ 2757dff02feSmrg return $1 2767dff02feSmrg} # as_fn_set_status 27770f7c90cSmrg 2787dff02feSmrg# as_fn_exit STATUS 2797dff02feSmrg# ----------------- 2807dff02feSmrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 2817dff02feSmrgas_fn_exit () 2827dff02feSmrg{ 2837dff02feSmrg set +e 2847dff02feSmrg as_fn_set_status $1 2857dff02feSmrg exit $1 2867dff02feSmrg} # as_fn_exit 2877dff02feSmrg 2887dff02feSmrg# as_fn_mkdir_p 2897dff02feSmrg# ------------- 2907dff02feSmrg# Create "$as_dir" as a directory, including parents if necessary. 2917dff02feSmrgas_fn_mkdir_p () 2927dff02feSmrg{ 29370f7c90cSmrg 2947dff02feSmrg case $as_dir in #( 2957dff02feSmrg -*) as_dir=./$as_dir;; 2967dff02feSmrg esac 2977dff02feSmrg test -d "$as_dir" || eval $as_mkdir_p || { 2987dff02feSmrg as_dirs= 2997dff02feSmrg while :; do 3007dff02feSmrg case $as_dir in #( 3017dff02feSmrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 3027dff02feSmrg *) as_qdir=$as_dir;; 3037dff02feSmrg esac 3047dff02feSmrg as_dirs="'$as_qdir' $as_dirs" 3057dff02feSmrg as_dir=`$as_dirname -- "$as_dir" || 3067dff02feSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3077dff02feSmrg X"$as_dir" : 'X\(//\)[^/]' \| \ 3087dff02feSmrg X"$as_dir" : 'X\(//\)$' \| \ 3097dff02feSmrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 3107dff02feSmrg$as_echo X"$as_dir" | 3117dff02feSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3127dff02feSmrg s//\1/ 3137dff02feSmrg q 3147dff02feSmrg } 3157dff02feSmrg /^X\(\/\/\)[^/].*/{ 3167dff02feSmrg s//\1/ 3177dff02feSmrg q 3187dff02feSmrg } 3197dff02feSmrg /^X\(\/\/\)$/{ 3207dff02feSmrg s//\1/ 3217dff02feSmrg q 3227dff02feSmrg } 3237dff02feSmrg /^X\(\/\).*/{ 3247dff02feSmrg s//\1/ 3257dff02feSmrg q 3267dff02feSmrg } 3277dff02feSmrg s/.*/./; q'` 3287dff02feSmrg test -d "$as_dir" && break 3297dff02feSmrg done 3307dff02feSmrg test -z "$as_dirs" || eval "mkdir $as_dirs" 33169a1fe56Smrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 3327dff02feSmrg 3337dff02feSmrg 3347dff02feSmrg} # as_fn_mkdir_p 3357dff02feSmrg# as_fn_append VAR VALUE 3367dff02feSmrg# ---------------------- 3377dff02feSmrg# Append the text in VALUE to the end of the definition contained in VAR. Take 3387dff02feSmrg# advantage of any shell optimizations that allow amortized linear growth over 3397dff02feSmrg# repeated appends, instead of the typical quadratic growth present in naive 3407dff02feSmrg# implementations. 3417dff02feSmrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 3427dff02feSmrg eval 'as_fn_append () 3437dff02feSmrg { 3447dff02feSmrg eval $1+=\$2 3457dff02feSmrg }' 34670f7c90cSmrgelse 3477dff02feSmrg as_fn_append () 3487dff02feSmrg { 3497dff02feSmrg eval $1=\$$1\$2 3507dff02feSmrg } 3517dff02feSmrgfi # as_fn_append 3527dff02feSmrg 3537dff02feSmrg# as_fn_arith ARG... 3547dff02feSmrg# ------------------ 3557dff02feSmrg# Perform arithmetic evaluation on the ARGs, and store the result in the 3567dff02feSmrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 3577dff02feSmrg# must be portable across $(()) and expr. 3587dff02feSmrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 3597dff02feSmrg eval 'as_fn_arith () 3607dff02feSmrg { 3617dff02feSmrg as_val=$(( $* )) 3627dff02feSmrg }' 3637dff02feSmrgelse 3647dff02feSmrg as_fn_arith () 3657dff02feSmrg { 3667dff02feSmrg as_val=`expr "$@" || test $? -eq 1` 3677dff02feSmrg } 3687dff02feSmrgfi # as_fn_arith 36970f7c90cSmrg 37070f7c90cSmrg 37169a1fe56Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 37269a1fe56Smrg# ---------------------------------------- 3737dff02feSmrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 3747dff02feSmrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 37569a1fe56Smrg# script with STATUS, using 1 if that was 0. 3767dff02feSmrgas_fn_error () 3777dff02feSmrg{ 37869a1fe56Smrg as_status=$1; test $as_status -eq 0 && as_status=1 37969a1fe56Smrg if test "$4"; then 38069a1fe56Smrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 38169a1fe56Smrg $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 3827dff02feSmrg fi 38369a1fe56Smrg $as_echo "$as_me: error: $2" >&2 3847dff02feSmrg as_fn_exit $as_status 3857dff02feSmrg} # as_fn_error 3867dff02feSmrg 3877dff02feSmrgif expr a : '\(a\)' >/dev/null 2>&1 && 3887dff02feSmrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 3897dff02feSmrg as_expr=expr 39070f7c90cSmrgelse 3917dff02feSmrg as_expr=false 39270f7c90cSmrgfi 39370f7c90cSmrg 3947dff02feSmrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 3957dff02feSmrg as_basename=basename 3967dff02feSmrgelse 3977dff02feSmrg as_basename=false 39870f7c90cSmrgfi 39970f7c90cSmrg 4007dff02feSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 4017dff02feSmrg as_dirname=dirname 40270f7c90cSmrgelse 4037dff02feSmrg as_dirname=false 40470f7c90cSmrgfi 40570f7c90cSmrg 4067dff02feSmrgas_me=`$as_basename -- "$0" || 4077dff02feSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 4087dff02feSmrg X"$0" : 'X\(//\)$' \| \ 4097dff02feSmrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 4107dff02feSmrg$as_echo X/"$0" | 4117dff02feSmrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 4127dff02feSmrg s//\1/ 4137dff02feSmrg q 4147dff02feSmrg } 4157dff02feSmrg /^X\/\(\/\/\)$/{ 4167dff02feSmrg s//\1/ 4177dff02feSmrg q 4187dff02feSmrg } 4197dff02feSmrg /^X\/\(\/\).*/{ 4207dff02feSmrg s//\1/ 4217dff02feSmrg q 4227dff02feSmrg } 4237dff02feSmrg s/.*/./; q'` 42470f7c90cSmrg 4257dff02feSmrg# Avoid depending upon Character Ranges. 4267dff02feSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 4277dff02feSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 4287dff02feSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 4297dff02feSmrgas_cr_digits='0123456789' 4307dff02feSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits 43170f7c90cSmrg 432a850946eSmrg 4337dff02feSmrg as_lineno_1=$LINENO as_lineno_1a=$LINENO 4347dff02feSmrg as_lineno_2=$LINENO as_lineno_2a=$LINENO 4357dff02feSmrg eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 4367dff02feSmrg test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 4377dff02feSmrg # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 43870f7c90cSmrg sed -n ' 43970f7c90cSmrg p 44070f7c90cSmrg /[$]LINENO/= 44170f7c90cSmrg ' <$as_myself | 442a850946eSmrg sed ' 44370f7c90cSmrg s/[$]LINENO.*/&-/ 44470f7c90cSmrg t lineno 44570f7c90cSmrg b 44670f7c90cSmrg :lineno 447a850946eSmrg N 44870f7c90cSmrg :loop 44970f7c90cSmrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 450a850946eSmrg t loop 45170f7c90cSmrg s/-\n.*// 452a850946eSmrg ' >$as_me.lineno && 45370f7c90cSmrg chmod +x "$as_me.lineno" || 4547dff02feSmrg { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 455a850946eSmrg 456a850946eSmrg # Don't try to exec as it changes $[0], causing all sort of problems 457a850946eSmrg # (the dirname of $[0] is not the place where we might find the 45870f7c90cSmrg # original and so on. Autoconf is especially sensitive to this). 45970f7c90cSmrg . "./$as_me.lineno" 460a850946eSmrg # Exit status is that of the last command. 461a850946eSmrg exit 462a850946eSmrg} 463a850946eSmrg 46470f7c90cSmrgECHO_C= ECHO_N= ECHO_T= 4657dff02feSmrgcase `echo -n x` in #((((( 46670f7c90cSmrg-n*) 4677dff02feSmrg case `echo 'xy\c'` in 46870f7c90cSmrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 4697dff02feSmrg xy) ECHO_C='\c';; 4707dff02feSmrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 4717dff02feSmrg ECHO_T=' ';; 47270f7c90cSmrg esac;; 47370f7c90cSmrg*) 47470f7c90cSmrg ECHO_N='-n';; 47570f7c90cSmrgesac 476a850946eSmrg 477a850946eSmrgrm -f conf$$ conf$$.exe conf$$.file 47870f7c90cSmrgif test -d conf$$.dir; then 47970f7c90cSmrg rm -f conf$$.dir/conf$$.file 48070f7c90cSmrgelse 48170f7c90cSmrg rm -f conf$$.dir 48270f7c90cSmrg mkdir conf$$.dir 2>/dev/null 48370f7c90cSmrgfi 48470f7c90cSmrgif (echo >conf$$.file) 2>/dev/null; then 48570f7c90cSmrg if ln -s conf$$.file conf$$ 2>/dev/null; then 486a850946eSmrg as_ln_s='ln -s' 48770f7c90cSmrg # ... but there are two gotchas: 48870f7c90cSmrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 48970f7c90cSmrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 49070f7c90cSmrg # In both cases, we have to default to `cp -p'. 49170f7c90cSmrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 49270f7c90cSmrg as_ln_s='cp -p' 49370f7c90cSmrg elif ln conf$$.file conf$$ 2>/dev/null; then 49470f7c90cSmrg as_ln_s=ln 49570f7c90cSmrg else 49670f7c90cSmrg as_ln_s='cp -p' 497a850946eSmrg fi 498a850946eSmrgelse 499a850946eSmrg as_ln_s='cp -p' 500a850946eSmrgfi 50170f7c90cSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 50270f7c90cSmrgrmdir conf$$.dir 2>/dev/null 503a850946eSmrg 504a850946eSmrgif mkdir -p . 2>/dev/null; then 5057dff02feSmrg as_mkdir_p='mkdir -p "$as_dir"' 506a850946eSmrgelse 507a850946eSmrg test -d ./-p && rmdir ./-p 508a850946eSmrg as_mkdir_p=false 509a850946eSmrgfi 510a850946eSmrg 51170f7c90cSmrgif test -x / >/dev/null 2>&1; then 51270f7c90cSmrg as_test_x='test -x' 51370f7c90cSmrgelse 51470f7c90cSmrg if ls -dL / >/dev/null 2>&1; then 51570f7c90cSmrg as_ls_L_option=L 51670f7c90cSmrg else 51770f7c90cSmrg as_ls_L_option= 51870f7c90cSmrg fi 51970f7c90cSmrg as_test_x=' 52070f7c90cSmrg eval sh -c '\'' 52170f7c90cSmrg if test -d "$1"; then 52270f7c90cSmrg test -d "$1/."; 52370f7c90cSmrg else 5247dff02feSmrg case $1 in #( 52570f7c90cSmrg -*)set "./$1";; 52670f7c90cSmrg esac; 5277dff02feSmrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 52870f7c90cSmrg ???[sx]*):;;*)false;;esac;fi 52970f7c90cSmrg '\'' sh 53070f7c90cSmrg ' 53170f7c90cSmrgfi 53270f7c90cSmrgas_executable_p=$as_test_x 533a850946eSmrg 534a850946eSmrg# Sed expression to map a string onto a valid CPP name. 535a850946eSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 536a850946eSmrg 537a850946eSmrg# Sed expression to map a string onto a valid variable name. 538a850946eSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 539a850946eSmrg 540a850946eSmrg 5417dff02feSmrgtest -n "$DJDIR" || exec 7<&0 </dev/null 5427dff02feSmrgexec 6>&1 543a850946eSmrg 544a850946eSmrg# Name of the host. 54569a1fe56Smrg# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 546a850946eSmrg# so uname gets run too. 547a850946eSmrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 548a850946eSmrg 549a850946eSmrg# 550a850946eSmrg# Initializations. 551a850946eSmrg# 552a850946eSmrgac_default_prefix=/usr/local 55370f7c90cSmrgac_clean_files= 554a850946eSmrgac_config_libobj_dir=. 55570f7c90cSmrgLIBOBJS= 556a850946eSmrgcross_compiling=no 557a850946eSmrgsubdirs= 558a850946eSmrgMFLAGS= 559a850946eSmrgMAKEFLAGS= 560a850946eSmrg 561a850946eSmrg# Identity of this package. 562a850946eSmrgPACKAGE_NAME='xlsclients' 563a850946eSmrgPACKAGE_TARNAME='xlsclients' 56469a1fe56SmrgPACKAGE_VERSION='1.1.1' 56569a1fe56SmrgPACKAGE_STRING='xlsclients 1.1.1' 566a850946eSmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 5677dff02feSmrgPACKAGE_URL='' 568a850946eSmrg 56970f7c90cSmrg# Factoring default headers for most tests. 57070f7c90cSmrgac_includes_default="\ 57170f7c90cSmrg#include <stdio.h> 57270f7c90cSmrg#ifdef HAVE_SYS_TYPES_H 57370f7c90cSmrg# include <sys/types.h> 57470f7c90cSmrg#endif 57570f7c90cSmrg#ifdef HAVE_SYS_STAT_H 57670f7c90cSmrg# include <sys/stat.h> 57770f7c90cSmrg#endif 57870f7c90cSmrg#ifdef STDC_HEADERS 57970f7c90cSmrg# include <stdlib.h> 58070f7c90cSmrg# include <stddef.h> 58170f7c90cSmrg#else 58270f7c90cSmrg# ifdef HAVE_STDLIB_H 58370f7c90cSmrg# include <stdlib.h> 58470f7c90cSmrg# endif 58570f7c90cSmrg#endif 58670f7c90cSmrg#ifdef HAVE_STRING_H 58770f7c90cSmrg# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 58870f7c90cSmrg# include <memory.h> 58970f7c90cSmrg# endif 59070f7c90cSmrg# include <string.h> 59170f7c90cSmrg#endif 59270f7c90cSmrg#ifdef HAVE_STRINGS_H 59370f7c90cSmrg# include <strings.h> 59470f7c90cSmrg#endif 59570f7c90cSmrg#ifdef HAVE_INTTYPES_H 59670f7c90cSmrg# include <inttypes.h> 59770f7c90cSmrg#endif 59870f7c90cSmrg#ifdef HAVE_STDINT_H 59970f7c90cSmrg# include <stdint.h> 60070f7c90cSmrg#endif 60170f7c90cSmrg#ifdef HAVE_UNISTD_H 60270f7c90cSmrg# include <unistd.h> 60370f7c90cSmrg#endif" 60470f7c90cSmrg 60570f7c90cSmrgac_subst_vars='am__EXEEXT_FALSE 60670f7c90cSmrgam__EXEEXT_TRUE 60770f7c90cSmrgLTLIBOBJS 60870f7c90cSmrgXLSCLIENTS_LIBS 60970f7c90cSmrgXLSCLIENTS_CFLAGS 6107dff02feSmrgAM_BACKSLASH 6117dff02feSmrgAM_DEFAULT_VERBOSITY 6127dff02feSmrgMAN_SUBSTS 6137dff02feSmrgXORG_MAN_PAGE 61470f7c90cSmrgADMIN_MAN_DIR 61570f7c90cSmrgDRIVER_MAN_DIR 61670f7c90cSmrgMISC_MAN_DIR 61770f7c90cSmrgFILE_MAN_DIR 61870f7c90cSmrgLIB_MAN_DIR 61970f7c90cSmrgAPP_MAN_DIR 62070f7c90cSmrgADMIN_MAN_SUFFIX 62170f7c90cSmrgDRIVER_MAN_SUFFIX 62270f7c90cSmrgMISC_MAN_SUFFIX 62370f7c90cSmrgFILE_MAN_SUFFIX 62470f7c90cSmrgLIB_MAN_SUFFIX 62570f7c90cSmrgAPP_MAN_SUFFIX 62669a1fe56SmrgSED 62769a1fe56SmrgINSTALL_CMD 62869a1fe56SmrgPKG_CONFIG 62969a1fe56SmrgCHANGELOG_CMD 63069a1fe56SmrgCWARNFLAGS 63169a1fe56SmrgLIBOBJS 63270f7c90cSmrghost_os 63370f7c90cSmrghost_vendor 63470f7c90cSmrghost_cpu 63570f7c90cSmrghost 63670f7c90cSmrgbuild_os 63770f7c90cSmrgbuild_vendor 63870f7c90cSmrgbuild_cpu 63970f7c90cSmrgbuild 64070f7c90cSmrgEGREP 64170f7c90cSmrgGREP 64270f7c90cSmrgCPP 64370f7c90cSmrgam__fastdepCC_FALSE 64470f7c90cSmrgam__fastdepCC_TRUE 64570f7c90cSmrgCCDEPMODE 64670f7c90cSmrgAMDEPBACKSLASH 64770f7c90cSmrgAMDEP_FALSE 64870f7c90cSmrgAMDEP_TRUE 64970f7c90cSmrgam__quote 65070f7c90cSmrgam__include 65170f7c90cSmrgDEPDIR 65270f7c90cSmrgOBJEXT 65370f7c90cSmrgEXEEXT 65470f7c90cSmrgac_ct_CC 65570f7c90cSmrgCPPFLAGS 65670f7c90cSmrgLDFLAGS 65770f7c90cSmrgCFLAGS 65870f7c90cSmrgCC 65970f7c90cSmrgMAINT 66070f7c90cSmrgMAINTAINER_MODE_FALSE 66170f7c90cSmrgMAINTAINER_MODE_TRUE 66270f7c90cSmrgam__untar 66370f7c90cSmrgam__tar 66470f7c90cSmrgAMTAR 66570f7c90cSmrgam__leading_dot 66670f7c90cSmrgSET_MAKE 66770f7c90cSmrgAWK 66870f7c90cSmrgmkdir_p 66970f7c90cSmrgMKDIR_P 67070f7c90cSmrgINSTALL_STRIP_PROGRAM 67170f7c90cSmrgSTRIP 67270f7c90cSmrginstall_sh 67370f7c90cSmrgMAKEINFO 67470f7c90cSmrgAUTOHEADER 67570f7c90cSmrgAUTOMAKE 67670f7c90cSmrgAUTOCONF 67770f7c90cSmrgACLOCAL 67870f7c90cSmrgVERSION 67970f7c90cSmrgPACKAGE 68070f7c90cSmrgCYGPATH_W 68170f7c90cSmrgam__isrc 68270f7c90cSmrgINSTALL_DATA 68370f7c90cSmrgINSTALL_SCRIPT 68470f7c90cSmrgINSTALL_PROGRAM 68570f7c90cSmrgtarget_alias 68670f7c90cSmrghost_alias 68770f7c90cSmrgbuild_alias 68870f7c90cSmrgLIBS 68970f7c90cSmrgECHO_T 69070f7c90cSmrgECHO_N 69170f7c90cSmrgECHO_C 69270f7c90cSmrgDEFS 69370f7c90cSmrgmandir 69470f7c90cSmrglocaledir 69570f7c90cSmrglibdir 69670f7c90cSmrgpsdir 69770f7c90cSmrgpdfdir 69870f7c90cSmrgdvidir 69970f7c90cSmrghtmldir 70070f7c90cSmrginfodir 70170f7c90cSmrgdocdir 70270f7c90cSmrgoldincludedir 70370f7c90cSmrgincludedir 70470f7c90cSmrglocalstatedir 70570f7c90cSmrgsharedstatedir 70670f7c90cSmrgsysconfdir 70770f7c90cSmrgdatadir 70870f7c90cSmrgdatarootdir 70970f7c90cSmrglibexecdir 71070f7c90cSmrgsbindir 71170f7c90cSmrgbindir 71270f7c90cSmrgprogram_transform_name 71370f7c90cSmrgprefix 71470f7c90cSmrgexec_prefix 7157dff02feSmrgPACKAGE_URL 71670f7c90cSmrgPACKAGE_BUGREPORT 71770f7c90cSmrgPACKAGE_STRING 71870f7c90cSmrgPACKAGE_VERSION 71970f7c90cSmrgPACKAGE_TARNAME 72070f7c90cSmrgPACKAGE_NAME 72170f7c90cSmrgPATH_SEPARATOR 72270f7c90cSmrgSHELL' 723a850946eSmrgac_subst_files='' 72470f7c90cSmrgac_user_opts=' 72570f7c90cSmrgenable_option_checking 72670f7c90cSmrgenable_maintainer_mode 72770f7c90cSmrgenable_dependency_tracking 72870f7c90cSmrgenable_strict_compilation 7297dff02feSmrgenable_silent_rules 73070f7c90cSmrg' 73170f7c90cSmrg ac_precious_vars='build_alias 73270f7c90cSmrghost_alias 73370f7c90cSmrgtarget_alias 73470f7c90cSmrgCC 73570f7c90cSmrgCFLAGS 73670f7c90cSmrgLDFLAGS 73770f7c90cSmrgLIBS 73870f7c90cSmrgCPPFLAGS 73970f7c90cSmrgCPP 74070f7c90cSmrgPKG_CONFIG 74170f7c90cSmrgXLSCLIENTS_CFLAGS 74270f7c90cSmrgXLSCLIENTS_LIBS' 74370f7c90cSmrg 744a850946eSmrg 745a850946eSmrg# Initialize some variables set by options. 746a850946eSmrgac_init_help= 747a850946eSmrgac_init_version=false 74870f7c90cSmrgac_unrecognized_opts= 74970f7c90cSmrgac_unrecognized_sep= 750a850946eSmrg# The variables have the same names as the options, with 751a850946eSmrg# dashes changed to underlines. 752a850946eSmrgcache_file=/dev/null 753a850946eSmrgexec_prefix=NONE 754a850946eSmrgno_create= 755a850946eSmrgno_recursion= 756a850946eSmrgprefix=NONE 757a850946eSmrgprogram_prefix=NONE 758a850946eSmrgprogram_suffix=NONE 759a850946eSmrgprogram_transform_name=s,x,x, 760a850946eSmrgsilent= 761a850946eSmrgsite= 762a850946eSmrgsrcdir= 763a850946eSmrgverbose= 764a850946eSmrgx_includes=NONE 765a850946eSmrgx_libraries=NONE 766a850946eSmrg 767a850946eSmrg# Installation directory options. 768a850946eSmrg# These are left unexpanded so users can "make install exec_prefix=/foo" 769a850946eSmrg# and all the variables that are supposed to be based on exec_prefix 770a850946eSmrg# by default will actually change. 771a850946eSmrg# Use braces instead of parens because sh, perl, etc. also accept them. 77270f7c90cSmrg# (The list follows the same order as the GNU Coding Standards.) 773a850946eSmrgbindir='${exec_prefix}/bin' 774a850946eSmrgsbindir='${exec_prefix}/sbin' 775a850946eSmrglibexecdir='${exec_prefix}/libexec' 77670f7c90cSmrgdatarootdir='${prefix}/share' 77770f7c90cSmrgdatadir='${datarootdir}' 778a850946eSmrgsysconfdir='${prefix}/etc' 779a850946eSmrgsharedstatedir='${prefix}/com' 780a850946eSmrglocalstatedir='${prefix}/var' 781a850946eSmrgincludedir='${prefix}/include' 782a850946eSmrgoldincludedir='/usr/include' 78370f7c90cSmrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 78470f7c90cSmrginfodir='${datarootdir}/info' 78570f7c90cSmrghtmldir='${docdir}' 78670f7c90cSmrgdvidir='${docdir}' 78770f7c90cSmrgpdfdir='${docdir}' 78870f7c90cSmrgpsdir='${docdir}' 78970f7c90cSmrglibdir='${exec_prefix}/lib' 79070f7c90cSmrglocaledir='${datarootdir}/locale' 79170f7c90cSmrgmandir='${datarootdir}/man' 792a850946eSmrg 793a850946eSmrgac_prev= 79470f7c90cSmrgac_dashdash= 795a850946eSmrgfor ac_option 796a850946eSmrgdo 797a850946eSmrg # If the previous option needs an argument, assign it. 798a850946eSmrg if test -n "$ac_prev"; then 79970f7c90cSmrg eval $ac_prev=\$ac_option 800a850946eSmrg ac_prev= 801a850946eSmrg continue 802a850946eSmrg fi 803a850946eSmrg 80470f7c90cSmrg case $ac_option in 80569a1fe56Smrg *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 80669a1fe56Smrg *=) ac_optarg= ;; 80769a1fe56Smrg *) ac_optarg=yes ;; 80870f7c90cSmrg esac 809a850946eSmrg 810a850946eSmrg # Accept the important Cygnus configure options, so we can diagnose typos. 811a850946eSmrg 81270f7c90cSmrg case $ac_dashdash$ac_option in 81370f7c90cSmrg --) 81470f7c90cSmrg ac_dashdash=yes ;; 815a850946eSmrg 816a850946eSmrg -bindir | --bindir | --bindi | --bind | --bin | --bi) 817a850946eSmrg ac_prev=bindir ;; 818a850946eSmrg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 819a850946eSmrg bindir=$ac_optarg ;; 820a850946eSmrg 821a850946eSmrg -build | --build | --buil | --bui | --bu) 822a850946eSmrg ac_prev=build_alias ;; 823a850946eSmrg -build=* | --build=* | --buil=* | --bui=* | --bu=*) 824a850946eSmrg build_alias=$ac_optarg ;; 825a850946eSmrg 826a850946eSmrg -cache-file | --cache-file | --cache-fil | --cache-fi \ 827a850946eSmrg | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 828a850946eSmrg ac_prev=cache_file ;; 829a850946eSmrg -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 830a850946eSmrg | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 831a850946eSmrg cache_file=$ac_optarg ;; 832a850946eSmrg 833a850946eSmrg --config-cache | -C) 834a850946eSmrg cache_file=config.cache ;; 835a850946eSmrg 83670f7c90cSmrg -datadir | --datadir | --datadi | --datad) 837a850946eSmrg ac_prev=datadir ;; 83870f7c90cSmrg -datadir=* | --datadir=* | --datadi=* | --datad=*) 839a850946eSmrg datadir=$ac_optarg ;; 840a850946eSmrg 84170f7c90cSmrg -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 84270f7c90cSmrg | --dataroo | --dataro | --datar) 84370f7c90cSmrg ac_prev=datarootdir ;; 84470f7c90cSmrg -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 84570f7c90cSmrg | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 84670f7c90cSmrg datarootdir=$ac_optarg ;; 84770f7c90cSmrg 848a850946eSmrg -disable-* | --disable-*) 84970f7c90cSmrg ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 850a850946eSmrg # Reject names that are not valid shell variable names. 85170f7c90cSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 85269a1fe56Smrg as_fn_error $? "invalid feature name: $ac_useropt" 85370f7c90cSmrg ac_useropt_orig=$ac_useropt 85470f7c90cSmrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 85570f7c90cSmrg case $ac_user_opts in 85670f7c90cSmrg *" 85770f7c90cSmrg"enable_$ac_useropt" 85870f7c90cSmrg"*) ;; 85970f7c90cSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 86070f7c90cSmrg ac_unrecognized_sep=', ';; 86170f7c90cSmrg esac 86270f7c90cSmrg eval enable_$ac_useropt=no ;; 86370f7c90cSmrg 86470f7c90cSmrg -docdir | --docdir | --docdi | --doc | --do) 86570f7c90cSmrg ac_prev=docdir ;; 86670f7c90cSmrg -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 86770f7c90cSmrg docdir=$ac_optarg ;; 86870f7c90cSmrg 86970f7c90cSmrg -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 87070f7c90cSmrg ac_prev=dvidir ;; 87170f7c90cSmrg -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 87270f7c90cSmrg dvidir=$ac_optarg ;; 873a850946eSmrg 874a850946eSmrg -enable-* | --enable-*) 87570f7c90cSmrg ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 876a850946eSmrg # Reject names that are not valid shell variable names. 87770f7c90cSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 87869a1fe56Smrg as_fn_error $? "invalid feature name: $ac_useropt" 87970f7c90cSmrg ac_useropt_orig=$ac_useropt 88070f7c90cSmrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 88170f7c90cSmrg case $ac_user_opts in 88270f7c90cSmrg *" 88370f7c90cSmrg"enable_$ac_useropt" 88470f7c90cSmrg"*) ;; 88570f7c90cSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 88670f7c90cSmrg ac_unrecognized_sep=', ';; 887a850946eSmrg esac 88870f7c90cSmrg eval enable_$ac_useropt=\$ac_optarg ;; 889a850946eSmrg 890a850946eSmrg -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 891a850946eSmrg | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 892a850946eSmrg | --exec | --exe | --ex) 893a850946eSmrg ac_prev=exec_prefix ;; 894a850946eSmrg -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 895a850946eSmrg | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 896a850946eSmrg | --exec=* | --exe=* | --ex=*) 897a850946eSmrg exec_prefix=$ac_optarg ;; 898a850946eSmrg 899a850946eSmrg -gas | --gas | --ga | --g) 900a850946eSmrg # Obsolete; use --with-gas. 901a850946eSmrg with_gas=yes ;; 902a850946eSmrg 903a850946eSmrg -help | --help | --hel | --he | -h) 904a850946eSmrg ac_init_help=long ;; 905a850946eSmrg -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 906a850946eSmrg ac_init_help=recursive ;; 907a850946eSmrg -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 908a850946eSmrg ac_init_help=short ;; 909a850946eSmrg 910a850946eSmrg -host | --host | --hos | --ho) 911a850946eSmrg ac_prev=host_alias ;; 912a850946eSmrg -host=* | --host=* | --hos=* | --ho=*) 913a850946eSmrg host_alias=$ac_optarg ;; 914a850946eSmrg 91570f7c90cSmrg -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 91670f7c90cSmrg ac_prev=htmldir ;; 91770f7c90cSmrg -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 91870f7c90cSmrg | --ht=*) 91970f7c90cSmrg htmldir=$ac_optarg ;; 92070f7c90cSmrg 921a850946eSmrg -includedir | --includedir | --includedi | --included | --include \ 922a850946eSmrg | --includ | --inclu | --incl | --inc) 923a850946eSmrg ac_prev=includedir ;; 924a850946eSmrg -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 925a850946eSmrg | --includ=* | --inclu=* | --incl=* | --inc=*) 926a850946eSmrg includedir=$ac_optarg ;; 927a850946eSmrg 928a850946eSmrg -infodir | --infodir | --infodi | --infod | --info | --inf) 929a850946eSmrg ac_prev=infodir ;; 930a850946eSmrg -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 931a850946eSmrg infodir=$ac_optarg ;; 932a850946eSmrg 933a850946eSmrg -libdir | --libdir | --libdi | --libd) 934a850946eSmrg ac_prev=libdir ;; 935a850946eSmrg -libdir=* | --libdir=* | --libdi=* | --libd=*) 936a850946eSmrg libdir=$ac_optarg ;; 937a850946eSmrg 938a850946eSmrg -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 939a850946eSmrg | --libexe | --libex | --libe) 940a850946eSmrg ac_prev=libexecdir ;; 941a850946eSmrg -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 942a850946eSmrg | --libexe=* | --libex=* | --libe=*) 943a850946eSmrg libexecdir=$ac_optarg ;; 944a850946eSmrg 94570f7c90cSmrg -localedir | --localedir | --localedi | --localed | --locale) 94670f7c90cSmrg ac_prev=localedir ;; 94770f7c90cSmrg -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 94870f7c90cSmrg localedir=$ac_optarg ;; 94970f7c90cSmrg 950a850946eSmrg -localstatedir | --localstatedir | --localstatedi | --localstated \ 95170f7c90cSmrg | --localstate | --localstat | --localsta | --localst | --locals) 952a850946eSmrg ac_prev=localstatedir ;; 953a850946eSmrg -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 95470f7c90cSmrg | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 955a850946eSmrg localstatedir=$ac_optarg ;; 956a850946eSmrg 957a850946eSmrg -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 958a850946eSmrg ac_prev=mandir ;; 959a850946eSmrg -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 960a850946eSmrg mandir=$ac_optarg ;; 961a850946eSmrg 962a850946eSmrg -nfp | --nfp | --nf) 963a850946eSmrg # Obsolete; use --without-fp. 964a850946eSmrg with_fp=no ;; 965a850946eSmrg 966a850946eSmrg -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 967a850946eSmrg | --no-cr | --no-c | -n) 968a850946eSmrg no_create=yes ;; 969a850946eSmrg 970a850946eSmrg -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 971a850946eSmrg | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 972a850946eSmrg no_recursion=yes ;; 973a850946eSmrg 974a850946eSmrg -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 975a850946eSmrg | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 976a850946eSmrg | --oldin | --oldi | --old | --ol | --o) 977a850946eSmrg ac_prev=oldincludedir ;; 978a850946eSmrg -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 979a850946eSmrg | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 980a850946eSmrg | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 981a850946eSmrg oldincludedir=$ac_optarg ;; 982a850946eSmrg 983a850946eSmrg -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 984a850946eSmrg ac_prev=prefix ;; 985a850946eSmrg -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 986a850946eSmrg prefix=$ac_optarg ;; 987a850946eSmrg 988a850946eSmrg -program-prefix | --program-prefix | --program-prefi | --program-pref \ 989a850946eSmrg | --program-pre | --program-pr | --program-p) 990a850946eSmrg ac_prev=program_prefix ;; 991a850946eSmrg -program-prefix=* | --program-prefix=* | --program-prefi=* \ 992a850946eSmrg | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 993a850946eSmrg program_prefix=$ac_optarg ;; 994a850946eSmrg 995a850946eSmrg -program-suffix | --program-suffix | --program-suffi | --program-suff \ 996a850946eSmrg | --program-suf | --program-su | --program-s) 997a850946eSmrg ac_prev=program_suffix ;; 998a850946eSmrg -program-suffix=* | --program-suffix=* | --program-suffi=* \ 999a850946eSmrg | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1000a850946eSmrg program_suffix=$ac_optarg ;; 1001a850946eSmrg 1002a850946eSmrg -program-transform-name | --program-transform-name \ 1003a850946eSmrg | --program-transform-nam | --program-transform-na \ 1004a850946eSmrg | --program-transform-n | --program-transform- \ 1005a850946eSmrg | --program-transform | --program-transfor \ 1006a850946eSmrg | --program-transfo | --program-transf \ 1007a850946eSmrg | --program-trans | --program-tran \ 1008a850946eSmrg | --progr-tra | --program-tr | --program-t) 1009a850946eSmrg ac_prev=program_transform_name ;; 1010a850946eSmrg -program-transform-name=* | --program-transform-name=* \ 1011a850946eSmrg | --program-transform-nam=* | --program-transform-na=* \ 1012a850946eSmrg | --program-transform-n=* | --program-transform-=* \ 1013a850946eSmrg | --program-transform=* | --program-transfor=* \ 1014a850946eSmrg | --program-transfo=* | --program-transf=* \ 1015a850946eSmrg | --program-trans=* | --program-tran=* \ 1016a850946eSmrg | --progr-tra=* | --program-tr=* | --program-t=*) 1017a850946eSmrg program_transform_name=$ac_optarg ;; 1018a850946eSmrg 101970f7c90cSmrg -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 102070f7c90cSmrg ac_prev=pdfdir ;; 102170f7c90cSmrg -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 102270f7c90cSmrg pdfdir=$ac_optarg ;; 102370f7c90cSmrg 102470f7c90cSmrg -psdir | --psdir | --psdi | --psd | --ps) 102570f7c90cSmrg ac_prev=psdir ;; 102670f7c90cSmrg -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 102770f7c90cSmrg psdir=$ac_optarg ;; 102870f7c90cSmrg 1029a850946eSmrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1030a850946eSmrg | -silent | --silent | --silen | --sile | --sil) 1031a850946eSmrg silent=yes ;; 1032a850946eSmrg 1033a850946eSmrg -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1034a850946eSmrg ac_prev=sbindir ;; 1035a850946eSmrg -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1036a850946eSmrg | --sbi=* | --sb=*) 1037a850946eSmrg sbindir=$ac_optarg ;; 1038a850946eSmrg 1039a850946eSmrg -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1040a850946eSmrg | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1041a850946eSmrg | --sharedst | --shareds | --shared | --share | --shar \ 1042a850946eSmrg | --sha | --sh) 1043a850946eSmrg ac_prev=sharedstatedir ;; 1044a850946eSmrg -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1045a850946eSmrg | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1046a850946eSmrg | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1047a850946eSmrg | --sha=* | --sh=*) 1048a850946eSmrg sharedstatedir=$ac_optarg ;; 1049a850946eSmrg 1050a850946eSmrg -site | --site | --sit) 1051a850946eSmrg ac_prev=site ;; 1052a850946eSmrg -site=* | --site=* | --sit=*) 1053a850946eSmrg site=$ac_optarg ;; 1054a850946eSmrg 1055a850946eSmrg -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1056a850946eSmrg ac_prev=srcdir ;; 1057a850946eSmrg -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1058a850946eSmrg srcdir=$ac_optarg ;; 1059a850946eSmrg 1060a850946eSmrg -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1061a850946eSmrg | --syscon | --sysco | --sysc | --sys | --sy) 1062a850946eSmrg ac_prev=sysconfdir ;; 1063a850946eSmrg -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1064a850946eSmrg | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1065a850946eSmrg sysconfdir=$ac_optarg ;; 1066a850946eSmrg 1067a850946eSmrg -target | --target | --targe | --targ | --tar | --ta | --t) 1068a850946eSmrg ac_prev=target_alias ;; 1069a850946eSmrg -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1070a850946eSmrg target_alias=$ac_optarg ;; 1071a850946eSmrg 1072a850946eSmrg -v | -verbose | --verbose | --verbos | --verbo | --verb) 1073a850946eSmrg verbose=yes ;; 1074a850946eSmrg 1075a850946eSmrg -version | --version | --versio | --versi | --vers | -V) 1076a850946eSmrg ac_init_version=: ;; 1077a850946eSmrg 1078a850946eSmrg -with-* | --with-*) 107970f7c90cSmrg ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1080a850946eSmrg # Reject names that are not valid shell variable names. 108170f7c90cSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 108269a1fe56Smrg as_fn_error $? "invalid package name: $ac_useropt" 108370f7c90cSmrg ac_useropt_orig=$ac_useropt 108470f7c90cSmrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 108570f7c90cSmrg case $ac_user_opts in 108670f7c90cSmrg *" 108770f7c90cSmrg"with_$ac_useropt" 108870f7c90cSmrg"*) ;; 108970f7c90cSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 109070f7c90cSmrg ac_unrecognized_sep=', ';; 1091a850946eSmrg esac 109270f7c90cSmrg eval with_$ac_useropt=\$ac_optarg ;; 1093a850946eSmrg 1094a850946eSmrg -without-* | --without-*) 109570f7c90cSmrg ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1096a850946eSmrg # Reject names that are not valid shell variable names. 109770f7c90cSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 109869a1fe56Smrg as_fn_error $? "invalid package name: $ac_useropt" 109970f7c90cSmrg ac_useropt_orig=$ac_useropt 110070f7c90cSmrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 110170f7c90cSmrg case $ac_user_opts in 110270f7c90cSmrg *" 110370f7c90cSmrg"with_$ac_useropt" 110470f7c90cSmrg"*) ;; 110570f7c90cSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 110670f7c90cSmrg ac_unrecognized_sep=', ';; 110770f7c90cSmrg esac 110870f7c90cSmrg eval with_$ac_useropt=no ;; 1109a850946eSmrg 1110a850946eSmrg --x) 1111a850946eSmrg # Obsolete; use --with-x. 1112a850946eSmrg with_x=yes ;; 1113a850946eSmrg 1114a850946eSmrg -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1115a850946eSmrg | --x-incl | --x-inc | --x-in | --x-i) 1116a850946eSmrg ac_prev=x_includes ;; 1117a850946eSmrg -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1118a850946eSmrg | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1119a850946eSmrg x_includes=$ac_optarg ;; 1120a850946eSmrg 1121a850946eSmrg -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1122a850946eSmrg | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1123a850946eSmrg ac_prev=x_libraries ;; 1124a850946eSmrg -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1125a850946eSmrg | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1126a850946eSmrg x_libraries=$ac_optarg ;; 1127a850946eSmrg 112869a1fe56Smrg -*) as_fn_error $? "unrecognized option: \`$ac_option' 112969a1fe56SmrgTry \`$0 --help' for more information" 1130a850946eSmrg ;; 1131a850946eSmrg 1132a850946eSmrg *=*) 1133a850946eSmrg ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1134a850946eSmrg # Reject names that are not valid shell variable names. 11357dff02feSmrg case $ac_envvar in #( 11367dff02feSmrg '' | [0-9]* | *[!_$as_cr_alnum]* ) 113769a1fe56Smrg as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 11387dff02feSmrg esac 113970f7c90cSmrg eval $ac_envvar=\$ac_optarg 1140a850946eSmrg export $ac_envvar ;; 1141a850946eSmrg 1142a850946eSmrg *) 1143a850946eSmrg # FIXME: should be removed in autoconf 3.0. 114470f7c90cSmrg $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1145a850946eSmrg expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 114670f7c90cSmrg $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 114769a1fe56Smrg : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1148a850946eSmrg ;; 1149a850946eSmrg 1150a850946eSmrg esac 1151a850946eSmrgdone 1152a850946eSmrg 1153a850946eSmrgif test -n "$ac_prev"; then 1154a850946eSmrg ac_option=--`echo $ac_prev | sed 's/_/-/g'` 115569a1fe56Smrg as_fn_error $? "missing argument to $ac_option" 1156a850946eSmrgfi 1157a850946eSmrg 115870f7c90cSmrgif test -n "$ac_unrecognized_opts"; then 115970f7c90cSmrg case $enable_option_checking in 116070f7c90cSmrg no) ;; 116169a1fe56Smrg fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 116270f7c90cSmrg *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1163a850946eSmrg esac 116470f7c90cSmrgfi 1165a850946eSmrg 116670f7c90cSmrg# Check all directory arguments for consistency. 116770f7c90cSmrgfor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 116870f7c90cSmrg datadir sysconfdir sharedstatedir localstatedir includedir \ 116970f7c90cSmrg oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 117070f7c90cSmrg libdir localedir mandir 1171a850946eSmrgdo 117270f7c90cSmrg eval ac_val=\$$ac_var 117370f7c90cSmrg # Remove trailing slashes. 1174a850946eSmrg case $ac_val in 117570f7c90cSmrg */ ) 117670f7c90cSmrg ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 117770f7c90cSmrg eval $ac_var=\$ac_val;; 117870f7c90cSmrg esac 117970f7c90cSmrg # Be sure to have absolute directory names. 118070f7c90cSmrg case $ac_val in 118170f7c90cSmrg [\\/$]* | ?:[\\/]* ) continue;; 118270f7c90cSmrg NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1183a850946eSmrg esac 118469a1fe56Smrg as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1185a850946eSmrgdone 1186a850946eSmrg 1187a850946eSmrg# There might be people who depend on the old broken behavior: `$host' 1188a850946eSmrg# used to hold the argument of --host etc. 1189a850946eSmrg# FIXME: To remove some day. 1190a850946eSmrgbuild=$build_alias 1191a850946eSmrghost=$host_alias 1192a850946eSmrgtarget=$target_alias 1193a850946eSmrg 1194a850946eSmrg# FIXME: To remove some day. 1195a850946eSmrgif test "x$host_alias" != x; then 1196a850946eSmrg if test "x$build_alias" = x; then 1197a850946eSmrg cross_compiling=maybe 119869a1fe56Smrg $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 119969a1fe56Smrg If a cross compiler is detected then cross compile mode will be used" >&2 1200a850946eSmrg elif test "x$build_alias" != "x$host_alias"; then 1201a850946eSmrg cross_compiling=yes 1202a850946eSmrg fi 1203a850946eSmrgfi 1204a850946eSmrg 1205a850946eSmrgac_tool_prefix= 1206a850946eSmrgtest -n "$host_alias" && ac_tool_prefix=$host_alias- 1207a850946eSmrg 1208a850946eSmrgtest "$silent" = yes && exec 6>/dev/null 1209a850946eSmrg 1210a850946eSmrg 121170f7c90cSmrgac_pwd=`pwd` && test -n "$ac_pwd" && 121270f7c90cSmrgac_ls_di=`ls -di .` && 121370f7c90cSmrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 121469a1fe56Smrg as_fn_error $? "working directory cannot be determined" 121570f7c90cSmrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" || 121669a1fe56Smrg as_fn_error $? "pwd does not report name of working directory" 121770f7c90cSmrg 121870f7c90cSmrg 121970f7c90cSmrg# Find the source files, if location was not specified. 122070f7c90cSmrgif test -z "$srcdir"; then 1221a850946eSmrg ac_srcdir_defaulted=yes 122270f7c90cSmrg # Try the directory containing this script, then the parent directory. 122370f7c90cSmrg ac_confdir=`$as_dirname -- "$as_myself" || 122470f7c90cSmrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 122570f7c90cSmrg X"$as_myself" : 'X\(//\)[^/]' \| \ 122670f7c90cSmrg X"$as_myself" : 'X\(//\)$' \| \ 122770f7c90cSmrg X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 122870f7c90cSmrg$as_echo X"$as_myself" | 122970f7c90cSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 123070f7c90cSmrg s//\1/ 123170f7c90cSmrg q 123270f7c90cSmrg } 123370f7c90cSmrg /^X\(\/\/\)[^/].*/{ 123470f7c90cSmrg s//\1/ 123570f7c90cSmrg q 123670f7c90cSmrg } 123770f7c90cSmrg /^X\(\/\/\)$/{ 123870f7c90cSmrg s//\1/ 123970f7c90cSmrg q 124070f7c90cSmrg } 124170f7c90cSmrg /^X\(\/\).*/{ 124270f7c90cSmrg s//\1/ 124370f7c90cSmrg q 124470f7c90cSmrg } 124570f7c90cSmrg s/.*/./; q'` 1246a850946eSmrg srcdir=$ac_confdir 124770f7c90cSmrg if test ! -r "$srcdir/$ac_unique_file"; then 1248a850946eSmrg srcdir=.. 1249a850946eSmrg fi 1250a850946eSmrgelse 1251a850946eSmrg ac_srcdir_defaulted=no 1252a850946eSmrgfi 125370f7c90cSmrgif test ! -r "$srcdir/$ac_unique_file"; then 125470f7c90cSmrg test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 125569a1fe56Smrg as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1256a850946eSmrgfi 125770f7c90cSmrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 125870f7c90cSmrgac_abs_confdir=`( 125969a1fe56Smrg cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 126070f7c90cSmrg pwd)` 126170f7c90cSmrg# When building in place, set srcdir=. 126270f7c90cSmrgif test "$ac_abs_confdir" = "$ac_pwd"; then 126370f7c90cSmrg srcdir=. 126470f7c90cSmrgfi 126570f7c90cSmrg# Remove unnecessary trailing slashes from srcdir. 126670f7c90cSmrg# Double slashes in file names in object file debugging info 126770f7c90cSmrg# mess up M-x gdb in Emacs. 126870f7c90cSmrgcase $srcdir in 126970f7c90cSmrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 127070f7c90cSmrgesac 127170f7c90cSmrgfor ac_var in $ac_precious_vars; do 127270f7c90cSmrg eval ac_env_${ac_var}_set=\${${ac_var}+set} 127370f7c90cSmrg eval ac_env_${ac_var}_value=\$${ac_var} 127470f7c90cSmrg eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 127570f7c90cSmrg eval ac_cv_env_${ac_var}_value=\$${ac_var} 127670f7c90cSmrgdone 1277a850946eSmrg 1278a850946eSmrg# 1279a850946eSmrg# Report the --help message. 1280a850946eSmrg# 1281a850946eSmrgif test "$ac_init_help" = "long"; then 1282a850946eSmrg # Omit some internal or obsolete options to make the list less imposing. 1283a850946eSmrg # This message is too long to be a string in the A/UX 3.1 sh. 1284a850946eSmrg cat <<_ACEOF 128569a1fe56Smrg\`configure' configures xlsclients 1.1.1 to adapt to many kinds of systems. 1286a850946eSmrg 1287a850946eSmrgUsage: $0 [OPTION]... [VAR=VALUE]... 1288a850946eSmrg 1289a850946eSmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as 1290a850946eSmrgVAR=VALUE. See below for descriptions of some of the useful variables. 1291a850946eSmrg 1292a850946eSmrgDefaults for the options are specified in brackets. 1293a850946eSmrg 1294a850946eSmrgConfiguration: 1295a850946eSmrg -h, --help display this help and exit 1296a850946eSmrg --help=short display options specific to this package 1297a850946eSmrg --help=recursive display the short help of all the included packages 1298a850946eSmrg -V, --version display version information and exit 129969a1fe56Smrg -q, --quiet, --silent do not print \`checking ...' messages 1300a850946eSmrg --cache-file=FILE cache test results in FILE [disabled] 1301a850946eSmrg -C, --config-cache alias for \`--cache-file=config.cache' 1302a850946eSmrg -n, --no-create do not create output files 1303a850946eSmrg --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1304a850946eSmrg 1305a850946eSmrgInstallation directories: 1306a850946eSmrg --prefix=PREFIX install architecture-independent files in PREFIX 130770f7c90cSmrg [$ac_default_prefix] 1308a850946eSmrg --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 130970f7c90cSmrg [PREFIX] 1310a850946eSmrg 1311a850946eSmrgBy default, \`make install' will install all the files in 1312a850946eSmrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1313a850946eSmrgan installation prefix other than \`$ac_default_prefix' using \`--prefix', 1314a850946eSmrgfor instance \`--prefix=\$HOME'. 1315a850946eSmrg 1316a850946eSmrgFor better control, use the options below. 1317a850946eSmrg 1318a850946eSmrgFine tuning of the installation directories: 131970f7c90cSmrg --bindir=DIR user executables [EPREFIX/bin] 132070f7c90cSmrg --sbindir=DIR system admin executables [EPREFIX/sbin] 132170f7c90cSmrg --libexecdir=DIR program executables [EPREFIX/libexec] 132270f7c90cSmrg --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 132370f7c90cSmrg --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 132470f7c90cSmrg --localstatedir=DIR modifiable single-machine data [PREFIX/var] 132570f7c90cSmrg --libdir=DIR object code libraries [EPREFIX/lib] 132670f7c90cSmrg --includedir=DIR C header files [PREFIX/include] 132770f7c90cSmrg --oldincludedir=DIR C header files for non-gcc [/usr/include] 132870f7c90cSmrg --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 132970f7c90cSmrg --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 133070f7c90cSmrg --infodir=DIR info documentation [DATAROOTDIR/info] 133170f7c90cSmrg --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 133270f7c90cSmrg --mandir=DIR man documentation [DATAROOTDIR/man] 133370f7c90cSmrg --docdir=DIR documentation root [DATAROOTDIR/doc/xlsclients] 133470f7c90cSmrg --htmldir=DIR html documentation [DOCDIR] 133570f7c90cSmrg --dvidir=DIR dvi documentation [DOCDIR] 133670f7c90cSmrg --pdfdir=DIR pdf documentation [DOCDIR] 133770f7c90cSmrg --psdir=DIR ps documentation [DOCDIR] 1338a850946eSmrg_ACEOF 1339a850946eSmrg 1340a850946eSmrg cat <<\_ACEOF 1341a850946eSmrg 1342a850946eSmrgProgram names: 1343a850946eSmrg --program-prefix=PREFIX prepend PREFIX to installed program names 1344a850946eSmrg --program-suffix=SUFFIX append SUFFIX to installed program names 1345a850946eSmrg --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1346a850946eSmrg 1347a850946eSmrgSystem types: 1348a850946eSmrg --build=BUILD configure for building on BUILD [guessed] 1349a850946eSmrg --host=HOST cross-compile to build programs to run on HOST [BUILD] 1350a850946eSmrg_ACEOF 1351a850946eSmrgfi 1352a850946eSmrg 1353a850946eSmrgif test -n "$ac_init_help"; then 1354a850946eSmrg case $ac_init_help in 135569a1fe56Smrg short | recursive ) echo "Configuration of xlsclients 1.1.1:";; 1356a850946eSmrg esac 1357a850946eSmrg cat <<\_ACEOF 1358a850946eSmrg 1359a850946eSmrgOptional Features: 136070f7c90cSmrg --disable-option-checking ignore unrecognized --enable/--with options 1361a850946eSmrg --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1362a850946eSmrg --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 136370f7c90cSmrg --enable-maintainer-mode enable make rules and dependencies not useful 136470f7c90cSmrg (and sometimes confusing) to the casual installer 136570f7c90cSmrg --disable-dependency-tracking speeds up one-time build 136670f7c90cSmrg --enable-dependency-tracking do not reject slow dependency extractors 136770f7c90cSmrg --enable-strict-compilation 136870f7c90cSmrg Enable all warnings from compiler and make them 136970f7c90cSmrg errors (default: disabled) 13707dff02feSmrg --enable-silent-rules less verbose build output (undo: `make V=1') 13717dff02feSmrg --disable-silent-rules verbose build output (undo: `make V=0') 1372a850946eSmrg 1373a850946eSmrgSome influential environment variables: 1374a850946eSmrg CC C compiler command 1375a850946eSmrg CFLAGS C compiler flags 1376a850946eSmrg LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1377a850946eSmrg nonstandard directory <lib dir> 137870f7c90cSmrg LIBS libraries to pass to the linker, e.g. -l<library> 13797dff02feSmrg CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 138070f7c90cSmrg you have headers in a nonstandard directory <include dir> 138170f7c90cSmrg CPP C preprocessor 1382a850946eSmrg PKG_CONFIG path to pkg-config utility 1383a850946eSmrg XLSCLIENTS_CFLAGS 1384a850946eSmrg C compiler flags for XLSCLIENTS, overriding pkg-config 1385a850946eSmrg XLSCLIENTS_LIBS 1386a850946eSmrg linker flags for XLSCLIENTS, overriding pkg-config 1387a850946eSmrg 1388a850946eSmrgUse these variables to override the choices made by `configure' or to help 1389a850946eSmrgit to find libraries and programs with nonstandard names/locations. 1390a850946eSmrg 1391a850946eSmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 1392a850946eSmrg_ACEOF 139370f7c90cSmrgac_status=$? 1394a850946eSmrgfi 1395a850946eSmrg 1396a850946eSmrgif test "$ac_init_help" = "recursive"; then 1397a850946eSmrg # If there are subdirs, report their specific --help. 1398a850946eSmrg for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 139970f7c90cSmrg test -d "$ac_dir" || 140070f7c90cSmrg { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 140170f7c90cSmrg continue 1402a850946eSmrg ac_builddir=. 1403a850946eSmrg 140470f7c90cSmrgcase "$ac_dir" in 140570f7c90cSmrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 140670f7c90cSmrg*) 140770f7c90cSmrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 140870f7c90cSmrg # A ".." for each directory in $ac_dir_suffix. 140970f7c90cSmrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 141070f7c90cSmrg case $ac_top_builddir_sub in 141170f7c90cSmrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 141270f7c90cSmrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 141370f7c90cSmrg esac ;; 141470f7c90cSmrgesac 141570f7c90cSmrgac_abs_top_builddir=$ac_pwd 141670f7c90cSmrgac_abs_builddir=$ac_pwd$ac_dir_suffix 141770f7c90cSmrg# for backward compatibility: 141870f7c90cSmrgac_top_builddir=$ac_top_build_prefix 1419a850946eSmrg 1420a850946eSmrgcase $srcdir in 142170f7c90cSmrg .) # We are building in place. 1422a850946eSmrg ac_srcdir=. 142370f7c90cSmrg ac_top_srcdir=$ac_top_builddir_sub 142470f7c90cSmrg ac_abs_top_srcdir=$ac_pwd ;; 142570f7c90cSmrg [\\/]* | ?:[\\/]* ) # Absolute name. 1426a850946eSmrg ac_srcdir=$srcdir$ac_dir_suffix; 142770f7c90cSmrg ac_top_srcdir=$srcdir 142870f7c90cSmrg ac_abs_top_srcdir=$srcdir ;; 142970f7c90cSmrg *) # Relative name. 143070f7c90cSmrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 143170f7c90cSmrg ac_top_srcdir=$ac_top_build_prefix$srcdir 143270f7c90cSmrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1433a850946eSmrgesac 143470f7c90cSmrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 143570f7c90cSmrg 143670f7c90cSmrg cd "$ac_dir" || { ac_status=$?; continue; } 143770f7c90cSmrg # Check for guested configure. 143870f7c90cSmrg if test -f "$ac_srcdir/configure.gnu"; then 143970f7c90cSmrg echo && 144070f7c90cSmrg $SHELL "$ac_srcdir/configure.gnu" --help=recursive 144170f7c90cSmrg elif test -f "$ac_srcdir/configure"; then 144270f7c90cSmrg echo && 144370f7c90cSmrg $SHELL "$ac_srcdir/configure" --help=recursive 1444a850946eSmrg else 144570f7c90cSmrg $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 144670f7c90cSmrg fi || ac_status=$? 144770f7c90cSmrg cd "$ac_pwd" || { ac_status=$?; break; } 1448a850946eSmrg done 1449a850946eSmrgfi 1450a850946eSmrg 145170f7c90cSmrgtest -n "$ac_init_help" && exit $ac_status 1452a850946eSmrgif $ac_init_version; then 1453a850946eSmrg cat <<\_ACEOF 145469a1fe56Smrgxlsclients configure 1.1.1 145569a1fe56Smrggenerated by GNU Autoconf 2.68 1456a850946eSmrg 145769a1fe56SmrgCopyright (C) 2010 Free Software Foundation, Inc. 1458a850946eSmrgThis configure script is free software; the Free Software Foundation 1459a850946eSmrggives unlimited permission to copy, distribute and modify it. 1460a850946eSmrg_ACEOF 146170f7c90cSmrg exit 1462a850946eSmrgfi 14637dff02feSmrg 14647dff02feSmrg## ------------------------ ## 14657dff02feSmrg## Autoconf initialization. ## 14667dff02feSmrg## ------------------------ ## 14677dff02feSmrg 14687dff02feSmrg# ac_fn_c_try_compile LINENO 14697dff02feSmrg# -------------------------- 14707dff02feSmrg# Try to compile conftest.$ac_ext, and return whether this succeeded. 14717dff02feSmrgac_fn_c_try_compile () 14727dff02feSmrg{ 14737dff02feSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 14747dff02feSmrg rm -f conftest.$ac_objext 14757dff02feSmrg if { { ac_try="$ac_compile" 14767dff02feSmrgcase "(($ac_try" in 14777dff02feSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14787dff02feSmrg *) ac_try_echo=$ac_try;; 14797dff02feSmrgesac 14807dff02feSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 14817dff02feSmrg$as_echo "$ac_try_echo"; } >&5 14827dff02feSmrg (eval "$ac_compile") 2>conftest.err 14837dff02feSmrg ac_status=$? 14847dff02feSmrg if test -s conftest.err; then 14857dff02feSmrg grep -v '^ *+' conftest.err >conftest.er1 14867dff02feSmrg cat conftest.er1 >&5 14877dff02feSmrg mv -f conftest.er1 conftest.err 14887dff02feSmrg fi 14897dff02feSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14907dff02feSmrg test $ac_status = 0; } && { 14917dff02feSmrg test -z "$ac_c_werror_flag" || 14927dff02feSmrg test ! -s conftest.err 14937dff02feSmrg } && test -s conftest.$ac_objext; then : 14947dff02feSmrg ac_retval=0 14957dff02feSmrgelse 14967dff02feSmrg $as_echo "$as_me: failed program was:" >&5 14977dff02feSmrgsed 's/^/| /' conftest.$ac_ext >&5 14987dff02feSmrg 14997dff02feSmrg ac_retval=1 15007dff02feSmrgfi 150169a1fe56Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 15027dff02feSmrg as_fn_set_status $ac_retval 15037dff02feSmrg 15047dff02feSmrg} # ac_fn_c_try_compile 15057dff02feSmrg 15067dff02feSmrg# ac_fn_c_try_cpp LINENO 15077dff02feSmrg# ---------------------- 15087dff02feSmrg# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 15097dff02feSmrgac_fn_c_try_cpp () 15107dff02feSmrg{ 15117dff02feSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 15127dff02feSmrg if { { ac_try="$ac_cpp conftest.$ac_ext" 15137dff02feSmrgcase "(($ac_try" in 15147dff02feSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15157dff02feSmrg *) ac_try_echo=$ac_try;; 15167dff02feSmrgesac 15177dff02feSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 15187dff02feSmrg$as_echo "$ac_try_echo"; } >&5 15197dff02feSmrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 15207dff02feSmrg ac_status=$? 15217dff02feSmrg if test -s conftest.err; then 15227dff02feSmrg grep -v '^ *+' conftest.err >conftest.er1 15237dff02feSmrg cat conftest.er1 >&5 15247dff02feSmrg mv -f conftest.er1 conftest.err 15257dff02feSmrg fi 15267dff02feSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 152769a1fe56Smrg test $ac_status = 0; } > conftest.i && { 15287dff02feSmrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 15297dff02feSmrg test ! -s conftest.err 15307dff02feSmrg }; then : 15317dff02feSmrg ac_retval=0 15327dff02feSmrgelse 15337dff02feSmrg $as_echo "$as_me: failed program was:" >&5 15347dff02feSmrgsed 's/^/| /' conftest.$ac_ext >&5 15357dff02feSmrg 15367dff02feSmrg ac_retval=1 15377dff02feSmrgfi 153869a1fe56Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 15397dff02feSmrg as_fn_set_status $ac_retval 15407dff02feSmrg 15417dff02feSmrg} # ac_fn_c_try_cpp 15427dff02feSmrg 15437dff02feSmrg# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 15447dff02feSmrg# ------------------------------------------------------- 15457dff02feSmrg# Tests whether HEADER exists, giving a warning if it cannot be compiled using 15467dff02feSmrg# the include files in INCLUDES and setting the cache variable VAR 15477dff02feSmrg# accordingly. 15487dff02feSmrgac_fn_c_check_header_mongrel () 15497dff02feSmrg{ 15507dff02feSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 155169a1fe56Smrg if eval \${$3+:} false; then : 15527dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 15537dff02feSmrg$as_echo_n "checking for $2... " >&6; } 155469a1fe56Smrgif eval \${$3+:} false; then : 15557dff02feSmrg $as_echo_n "(cached) " >&6 15567dff02feSmrgfi 15577dff02feSmrgeval ac_res=\$$3 15587dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 15597dff02feSmrg$as_echo "$ac_res" >&6; } 15607dff02feSmrgelse 15617dff02feSmrg # Is the header compilable? 15627dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 15637dff02feSmrg$as_echo_n "checking $2 usability... " >&6; } 15647dff02feSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 15657dff02feSmrg/* end confdefs.h. */ 15667dff02feSmrg$4 15677dff02feSmrg#include <$2> 15687dff02feSmrg_ACEOF 15697dff02feSmrgif ac_fn_c_try_compile "$LINENO"; then : 15707dff02feSmrg ac_header_compiler=yes 15717dff02feSmrgelse 15727dff02feSmrg ac_header_compiler=no 15737dff02feSmrgfi 15747dff02feSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15757dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 15767dff02feSmrg$as_echo "$ac_header_compiler" >&6; } 15777dff02feSmrg 15787dff02feSmrg# Is the header present? 15797dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 15807dff02feSmrg$as_echo_n "checking $2 presence... " >&6; } 15817dff02feSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 15827dff02feSmrg/* end confdefs.h. */ 15837dff02feSmrg#include <$2> 15847dff02feSmrg_ACEOF 15857dff02feSmrgif ac_fn_c_try_cpp "$LINENO"; then : 15867dff02feSmrg ac_header_preproc=yes 15877dff02feSmrgelse 15887dff02feSmrg ac_header_preproc=no 15897dff02feSmrgfi 159069a1fe56Smrgrm -f conftest.err conftest.i conftest.$ac_ext 15917dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 15927dff02feSmrg$as_echo "$ac_header_preproc" >&6; } 15937dff02feSmrg 15947dff02feSmrg# So? What about this header? 15957dff02feSmrgcase $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 15967dff02feSmrg yes:no: ) 15977dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 15987dff02feSmrg$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 15997dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 16007dff02feSmrg$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 16017dff02feSmrg ;; 16027dff02feSmrg no:yes:* ) 16037dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 16047dff02feSmrg$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 16057dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 16067dff02feSmrg$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 16077dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 16087dff02feSmrg$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 16097dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 16107dff02feSmrg$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 16117dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 16127dff02feSmrg$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 161369a1fe56Smrg( $as_echo "## ---------------------------------------------------------------------- ## 16147dff02feSmrg## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ## 161569a1fe56Smrg## ---------------------------------------------------------------------- ##" 16167dff02feSmrg ) | sed "s/^/$as_me: WARNING: /" >&2 16177dff02feSmrg ;; 16187dff02feSmrgesac 16197dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 16207dff02feSmrg$as_echo_n "checking for $2... " >&6; } 162169a1fe56Smrgif eval \${$3+:} false; then : 16227dff02feSmrg $as_echo_n "(cached) " >&6 16237dff02feSmrgelse 16247dff02feSmrg eval "$3=\$ac_header_compiler" 16257dff02feSmrgfi 16267dff02feSmrgeval ac_res=\$$3 16277dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 16287dff02feSmrg$as_echo "$ac_res" >&6; } 16297dff02feSmrgfi 163069a1fe56Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 16317dff02feSmrg 16327dff02feSmrg} # ac_fn_c_check_header_mongrel 16337dff02feSmrg 16347dff02feSmrg# ac_fn_c_try_run LINENO 16357dff02feSmrg# ---------------------- 16367dff02feSmrg# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 16377dff02feSmrg# that executables *can* be run. 16387dff02feSmrgac_fn_c_try_run () 16397dff02feSmrg{ 16407dff02feSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 16417dff02feSmrg if { { ac_try="$ac_link" 16427dff02feSmrgcase "(($ac_try" in 16437dff02feSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16447dff02feSmrg *) ac_try_echo=$ac_try;; 16457dff02feSmrgesac 16467dff02feSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 16477dff02feSmrg$as_echo "$ac_try_echo"; } >&5 16487dff02feSmrg (eval "$ac_link") 2>&5 16497dff02feSmrg ac_status=$? 16507dff02feSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16517dff02feSmrg test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 16527dff02feSmrg { { case "(($ac_try" in 16537dff02feSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16547dff02feSmrg *) ac_try_echo=$ac_try;; 16557dff02feSmrgesac 16567dff02feSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 16577dff02feSmrg$as_echo "$ac_try_echo"; } >&5 16587dff02feSmrg (eval "$ac_try") 2>&5 16597dff02feSmrg ac_status=$? 16607dff02feSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16617dff02feSmrg test $ac_status = 0; }; }; then : 16627dff02feSmrg ac_retval=0 16637dff02feSmrgelse 16647dff02feSmrg $as_echo "$as_me: program exited with status $ac_status" >&5 16657dff02feSmrg $as_echo "$as_me: failed program was:" >&5 16667dff02feSmrgsed 's/^/| /' conftest.$ac_ext >&5 16677dff02feSmrg 16687dff02feSmrg ac_retval=$ac_status 16697dff02feSmrgfi 16707dff02feSmrg rm -rf conftest.dSYM conftest_ipa8_conftest.oo 167169a1fe56Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 16727dff02feSmrg as_fn_set_status $ac_retval 16737dff02feSmrg 16747dff02feSmrg} # ac_fn_c_try_run 16757dff02feSmrg 16767dff02feSmrg# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 16777dff02feSmrg# ------------------------------------------------------- 16787dff02feSmrg# Tests whether HEADER exists and can be compiled using the include files in 16797dff02feSmrg# INCLUDES, setting the cache variable VAR accordingly. 16807dff02feSmrgac_fn_c_check_header_compile () 16817dff02feSmrg{ 16827dff02feSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 16837dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 16847dff02feSmrg$as_echo_n "checking for $2... " >&6; } 168569a1fe56Smrgif eval \${$3+:} false; then : 16867dff02feSmrg $as_echo_n "(cached) " >&6 16877dff02feSmrgelse 16887dff02feSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16897dff02feSmrg/* end confdefs.h. */ 16907dff02feSmrg$4 16917dff02feSmrg#include <$2> 16927dff02feSmrg_ACEOF 16937dff02feSmrgif ac_fn_c_try_compile "$LINENO"; then : 16947dff02feSmrg eval "$3=yes" 16957dff02feSmrgelse 16967dff02feSmrg eval "$3=no" 16977dff02feSmrgfi 16987dff02feSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16997dff02feSmrgfi 17007dff02feSmrgeval ac_res=\$$3 17017dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 17027dff02feSmrg$as_echo "$ac_res" >&6; } 170369a1fe56Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 17047dff02feSmrg 17057dff02feSmrg} # ac_fn_c_check_header_compile 17067dff02feSmrg 170769a1fe56Smrg# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 170869a1fe56Smrg# --------------------------------------------- 170969a1fe56Smrg# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 171069a1fe56Smrg# accordingly. 17117dff02feSmrgac_fn_c_check_decl () 17127dff02feSmrg{ 17137dff02feSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 171469a1fe56Smrg as_decl_name=`echo $2|sed 's/ *(.*//'` 171569a1fe56Smrg as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 171669a1fe56Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 171769a1fe56Smrg$as_echo_n "checking whether $as_decl_name is declared... " >&6; } 171869a1fe56Smrgif eval \${$3+:} false; then : 17197dff02feSmrg $as_echo_n "(cached) " >&6 17207dff02feSmrgelse 17217dff02feSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17227dff02feSmrg/* end confdefs.h. */ 17237dff02feSmrg$4 17247dff02feSmrgint 17257dff02feSmrgmain () 17267dff02feSmrg{ 172769a1fe56Smrg#ifndef $as_decl_name 172869a1fe56Smrg#ifdef __cplusplus 172969a1fe56Smrg (void) $as_decl_use; 173069a1fe56Smrg#else 173169a1fe56Smrg (void) $as_decl_name; 173269a1fe56Smrg#endif 17337dff02feSmrg#endif 17347dff02feSmrg 17357dff02feSmrg ; 17367dff02feSmrg return 0; 17377dff02feSmrg} 17387dff02feSmrg_ACEOF 17397dff02feSmrgif ac_fn_c_try_compile "$LINENO"; then : 17407dff02feSmrg eval "$3=yes" 17417dff02feSmrgelse 17427dff02feSmrg eval "$3=no" 17437dff02feSmrgfi 17447dff02feSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17457dff02feSmrgfi 17467dff02feSmrgeval ac_res=\$$3 17477dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 17487dff02feSmrg$as_echo "$ac_res" >&6; } 174969a1fe56Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 17507dff02feSmrg 17517dff02feSmrg} # ac_fn_c_check_decl 175270f7c90cSmrgcat >config.log <<_ACEOF 1753a850946eSmrgThis file contains any messages produced by compilers while 1754a850946eSmrgrunning configure, to aid debugging if configure makes a mistake. 1755a850946eSmrg 175669a1fe56SmrgIt was created by xlsclients $as_me 1.1.1, which was 175769a1fe56Smrggenerated by GNU Autoconf 2.68. Invocation command line was 1758a850946eSmrg 1759a850946eSmrg $ $0 $@ 1760a850946eSmrg 1761a850946eSmrg_ACEOF 176270f7c90cSmrgexec 5>>config.log 1763a850946eSmrg{ 1764a850946eSmrgcat <<_ASUNAME 1765a850946eSmrg## --------- ## 1766a850946eSmrg## Platform. ## 1767a850946eSmrg## --------- ## 1768a850946eSmrg 1769a850946eSmrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1770a850946eSmrguname -m = `(uname -m) 2>/dev/null || echo unknown` 1771a850946eSmrguname -r = `(uname -r) 2>/dev/null || echo unknown` 1772a850946eSmrguname -s = `(uname -s) 2>/dev/null || echo unknown` 1773a850946eSmrguname -v = `(uname -v) 2>/dev/null || echo unknown` 1774a850946eSmrg 1775a850946eSmrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1776a850946eSmrg/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1777a850946eSmrg 1778a850946eSmrg/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1779a850946eSmrg/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1780a850946eSmrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 178170f7c90cSmrg/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1782a850946eSmrg/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1783a850946eSmrg/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1784a850946eSmrg/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1785a850946eSmrg 1786a850946eSmrg_ASUNAME 1787a850946eSmrg 1788a850946eSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1789a850946eSmrgfor as_dir in $PATH 1790a850946eSmrgdo 1791a850946eSmrg IFS=$as_save_IFS 1792a850946eSmrg test -z "$as_dir" && as_dir=. 17937dff02feSmrg $as_echo "PATH: $as_dir" 17947dff02feSmrg done 179570f7c90cSmrgIFS=$as_save_IFS 1796a850946eSmrg 1797a850946eSmrg} >&5 1798a850946eSmrg 1799a850946eSmrgcat >&5 <<_ACEOF 1800a850946eSmrg 1801a850946eSmrg 1802a850946eSmrg## ----------- ## 1803a850946eSmrg## Core tests. ## 1804a850946eSmrg## ----------- ## 1805a850946eSmrg 1806a850946eSmrg_ACEOF 1807a850946eSmrg 1808a850946eSmrg 1809a850946eSmrg# Keep a trace of the command line. 1810a850946eSmrg# Strip out --no-create and --no-recursion so they do not pile up. 1811a850946eSmrg# Strip out --silent because we don't want to record it for future runs. 1812a850946eSmrg# Also quote any args containing shell meta-characters. 1813a850946eSmrg# Make two passes to allow for proper duplicate-argument suppression. 1814a850946eSmrgac_configure_args= 1815a850946eSmrgac_configure_args0= 1816a850946eSmrgac_configure_args1= 1817a850946eSmrgac_must_keep_next=false 1818a850946eSmrgfor ac_pass in 1 2 1819a850946eSmrgdo 1820a850946eSmrg for ac_arg 1821a850946eSmrg do 1822a850946eSmrg case $ac_arg in 1823a850946eSmrg -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1824a850946eSmrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1825a850946eSmrg | -silent | --silent | --silen | --sile | --sil) 1826a850946eSmrg continue ;; 182770f7c90cSmrg *\'*) 182870f7c90cSmrg ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1829a850946eSmrg esac 1830a850946eSmrg case $ac_pass in 18317dff02feSmrg 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1832a850946eSmrg 2) 18337dff02feSmrg as_fn_append ac_configure_args1 " '$ac_arg'" 1834a850946eSmrg if test $ac_must_keep_next = true; then 1835a850946eSmrg ac_must_keep_next=false # Got value, back to normal. 1836a850946eSmrg else 1837a850946eSmrg case $ac_arg in 1838a850946eSmrg *=* | --config-cache | -C | -disable-* | --disable-* \ 1839a850946eSmrg | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1840a850946eSmrg | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1841a850946eSmrg | -with-* | --with-* | -without-* | --without-* | --x) 1842a850946eSmrg case "$ac_configure_args0 " in 1843a850946eSmrg "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1844a850946eSmrg esac 1845a850946eSmrg ;; 1846a850946eSmrg -* ) ac_must_keep_next=true ;; 1847a850946eSmrg esac 1848a850946eSmrg fi 18497dff02feSmrg as_fn_append ac_configure_args " '$ac_arg'" 1850a850946eSmrg ;; 1851a850946eSmrg esac 1852a850946eSmrg done 1853a850946eSmrgdone 18547dff02feSmrg{ ac_configure_args0=; unset ac_configure_args0;} 18557dff02feSmrg{ ac_configure_args1=; unset ac_configure_args1;} 1856a850946eSmrg 1857a850946eSmrg# When interrupted or exit'd, cleanup temporary files, and complete 1858a850946eSmrg# config.log. We remove comments because anyway the quotes in there 1859a850946eSmrg# would cause problems or look ugly. 186070f7c90cSmrg# WARNING: Use '\'' to represent an apostrophe within the trap. 186170f7c90cSmrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1862a850946eSmrgtrap 'exit_status=$? 1863a850946eSmrg # Save into config.log some information that might help in debugging. 1864a850946eSmrg { 1865a850946eSmrg echo 1866a850946eSmrg 186769a1fe56Smrg $as_echo "## ---------------- ## 1868a850946eSmrg## Cache variables. ## 186969a1fe56Smrg## ---------------- ##" 1870a850946eSmrg echo 1871a850946eSmrg # The following way of writing the cache mishandles newlines in values, 187270f7c90cSmrg( 187370f7c90cSmrg for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 187470f7c90cSmrg eval ac_val=\$$ac_var 187570f7c90cSmrg case $ac_val in #( 187670f7c90cSmrg *${as_nl}*) 187770f7c90cSmrg case $ac_var in #( 18787dff02feSmrg *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 187970f7c90cSmrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 188070f7c90cSmrg esac 188170f7c90cSmrg case $ac_var in #( 188270f7c90cSmrg _ | IFS | as_nl) ;; #( 188370f7c90cSmrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 18847dff02feSmrg *) { eval $ac_var=; unset $ac_var;} ;; 188570f7c90cSmrg esac ;; 188670f7c90cSmrg esac 188770f7c90cSmrg done 1888a850946eSmrg (set) 2>&1 | 188970f7c90cSmrg case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 189070f7c90cSmrg *${as_nl}ac_space=\ *) 1891a850946eSmrg sed -n \ 189270f7c90cSmrg "s/'\''/'\''\\\\'\'''\''/g; 189370f7c90cSmrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 189470f7c90cSmrg ;; #( 1895a850946eSmrg *) 189670f7c90cSmrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1897a850946eSmrg ;; 189870f7c90cSmrg esac | 189970f7c90cSmrg sort 190070f7c90cSmrg) 1901a850946eSmrg echo 1902a850946eSmrg 190369a1fe56Smrg $as_echo "## ----------------- ## 1904a850946eSmrg## Output variables. ## 190569a1fe56Smrg## ----------------- ##" 1906a850946eSmrg echo 1907a850946eSmrg for ac_var in $ac_subst_vars 1908a850946eSmrg do 190970f7c90cSmrg eval ac_val=\$$ac_var 191070f7c90cSmrg case $ac_val in 191170f7c90cSmrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 191270f7c90cSmrg esac 191370f7c90cSmrg $as_echo "$ac_var='\''$ac_val'\''" 1914a850946eSmrg done | sort 1915a850946eSmrg echo 1916a850946eSmrg 1917a850946eSmrg if test -n "$ac_subst_files"; then 191869a1fe56Smrg $as_echo "## ------------------- ## 191970f7c90cSmrg## File substitutions. ## 192069a1fe56Smrg## ------------------- ##" 1921a850946eSmrg echo 1922a850946eSmrg for ac_var in $ac_subst_files 1923a850946eSmrg do 192470f7c90cSmrg eval ac_val=\$$ac_var 192570f7c90cSmrg case $ac_val in 192670f7c90cSmrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 192770f7c90cSmrg esac 192870f7c90cSmrg $as_echo "$ac_var='\''$ac_val'\''" 1929a850946eSmrg done | sort 1930a850946eSmrg echo 1931a850946eSmrg fi 1932a850946eSmrg 1933a850946eSmrg if test -s confdefs.h; then 193469a1fe56Smrg $as_echo "## ----------- ## 1935a850946eSmrg## confdefs.h. ## 193669a1fe56Smrg## ----------- ##" 1937a850946eSmrg echo 193870f7c90cSmrg cat confdefs.h 1939a850946eSmrg echo 1940a850946eSmrg fi 1941a850946eSmrg test "$ac_signal" != 0 && 194270f7c90cSmrg $as_echo "$as_me: caught signal $ac_signal" 194370f7c90cSmrg $as_echo "$as_me: exit $exit_status" 1944a850946eSmrg } >&5 194570f7c90cSmrg rm -f core *.core core.conftest.* && 194670f7c90cSmrg rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1947a850946eSmrg exit $exit_status 194870f7c90cSmrg' 0 1949a850946eSmrgfor ac_signal in 1 2 13 15; do 19507dff02feSmrg trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1951a850946eSmrgdone 1952a850946eSmrgac_signal=0 1953a850946eSmrg 1954a850946eSmrg# confdefs.h avoids OS command line length limits that DEFS can exceed. 195570f7c90cSmrgrm -f -r conftest* confdefs.h 1956a850946eSmrg 19577dff02feSmrg$as_echo "/* confdefs.h */" > confdefs.h 19587dff02feSmrg 1959a850946eSmrg# Predefined preprocessor variables. 1960a850946eSmrg 1961a850946eSmrgcat >>confdefs.h <<_ACEOF 1962a850946eSmrg#define PACKAGE_NAME "$PACKAGE_NAME" 1963a850946eSmrg_ACEOF 1964a850946eSmrg 1965a850946eSmrgcat >>confdefs.h <<_ACEOF 1966a850946eSmrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1967a850946eSmrg_ACEOF 1968a850946eSmrg 1969a850946eSmrgcat >>confdefs.h <<_ACEOF 1970a850946eSmrg#define PACKAGE_VERSION "$PACKAGE_VERSION" 1971a850946eSmrg_ACEOF 1972a850946eSmrg 1973a850946eSmrgcat >>confdefs.h <<_ACEOF 1974a850946eSmrg#define PACKAGE_STRING "$PACKAGE_STRING" 1975a850946eSmrg_ACEOF 1976a850946eSmrg 1977a850946eSmrgcat >>confdefs.h <<_ACEOF 1978a850946eSmrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1979a850946eSmrg_ACEOF 1980a850946eSmrg 19817dff02feSmrgcat >>confdefs.h <<_ACEOF 19827dff02feSmrg#define PACKAGE_URL "$PACKAGE_URL" 19837dff02feSmrg_ACEOF 19847dff02feSmrg 1985a850946eSmrg 1986a850946eSmrg# Let the site file select an alternate cache file if it wants to. 198770f7c90cSmrg# Prefer an explicitly selected file to automatically selected ones. 198870f7c90cSmrgac_site_file1=NONE 198970f7c90cSmrgac_site_file2=NONE 199070f7c90cSmrgif test -n "$CONFIG_SITE"; then 199169a1fe56Smrg # We do not want a PATH search for config.site. 199269a1fe56Smrg case $CONFIG_SITE in #(( 199369a1fe56Smrg -*) ac_site_file1=./$CONFIG_SITE;; 199469a1fe56Smrg */*) ac_site_file1=$CONFIG_SITE;; 199569a1fe56Smrg *) ac_site_file1=./$CONFIG_SITE;; 199669a1fe56Smrg esac 199770f7c90cSmrgelif test "x$prefix" != xNONE; then 199870f7c90cSmrg ac_site_file1=$prefix/share/config.site 199970f7c90cSmrg ac_site_file2=$prefix/etc/config.site 200070f7c90cSmrgelse 200170f7c90cSmrg ac_site_file1=$ac_default_prefix/share/config.site 200270f7c90cSmrg ac_site_file2=$ac_default_prefix/etc/config.site 2003a850946eSmrgfi 200470f7c90cSmrgfor ac_site_file in "$ac_site_file1" "$ac_site_file2" 200570f7c90cSmrgdo 200670f7c90cSmrg test "x$ac_site_file" = xNONE && continue 20077dff02feSmrg if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 20087dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 200970f7c90cSmrg$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2010a850946eSmrg sed 's/^/| /' "$ac_site_file" >&5 201169a1fe56Smrg . "$ac_site_file" \ 201269a1fe56Smrg || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 201369a1fe56Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 201469a1fe56Smrgas_fn_error $? "failed to load site script $ac_site_file 201569a1fe56SmrgSee \`config.log' for more details" "$LINENO" 5; } 2016a850946eSmrg fi 2017a850946eSmrgdone 2018a850946eSmrg 2019a850946eSmrgif test -r "$cache_file"; then 20207dff02feSmrg # Some versions of bash will fail to source /dev/null (special files 20217dff02feSmrg # actually), so we avoid doing that. DJGPP emulates it as a regular file. 20227dff02feSmrg if test /dev/null != "$cache_file" && test -f "$cache_file"; then 20237dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 202470f7c90cSmrg$as_echo "$as_me: loading cache $cache_file" >&6;} 2025a850946eSmrg case $cache_file in 202670f7c90cSmrg [\\/]* | ?:[\\/]* ) . "$cache_file";; 202770f7c90cSmrg *) . "./$cache_file";; 2028a850946eSmrg esac 2029a850946eSmrg fi 2030a850946eSmrgelse 20317dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 203270f7c90cSmrg$as_echo "$as_me: creating cache $cache_file" >&6;} 2033a850946eSmrg >$cache_file 2034a850946eSmrgfi 2035a850946eSmrg 2036a850946eSmrg# Check that the precious variables saved in the cache have kept the same 2037a850946eSmrg# value. 2038a850946eSmrgac_cache_corrupted=false 203970f7c90cSmrgfor ac_var in $ac_precious_vars; do 2040a850946eSmrg eval ac_old_set=\$ac_cv_env_${ac_var}_set 2041a850946eSmrg eval ac_new_set=\$ac_env_${ac_var}_set 204270f7c90cSmrg eval ac_old_val=\$ac_cv_env_${ac_var}_value 204370f7c90cSmrg eval ac_new_val=\$ac_env_${ac_var}_value 2044a850946eSmrg case $ac_old_set,$ac_new_set in 2045a850946eSmrg set,) 20467dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 204770f7c90cSmrg$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2048a850946eSmrg ac_cache_corrupted=: ;; 2049a850946eSmrg ,set) 20507dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 205170f7c90cSmrg$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2052a850946eSmrg ac_cache_corrupted=: ;; 2053a850946eSmrg ,);; 2054a850946eSmrg *) 2055a850946eSmrg if test "x$ac_old_val" != "x$ac_new_val"; then 205670f7c90cSmrg # differences in whitespace do not lead to failure. 205770f7c90cSmrg ac_old_val_w=`echo x $ac_old_val` 205870f7c90cSmrg ac_new_val_w=`echo x $ac_new_val` 205970f7c90cSmrg if test "$ac_old_val_w" != "$ac_new_val_w"; then 20607dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 206170f7c90cSmrg$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 206270f7c90cSmrg ac_cache_corrupted=: 206370f7c90cSmrg else 20647dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 206570f7c90cSmrg$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 206670f7c90cSmrg eval $ac_var=\$ac_old_val 206770f7c90cSmrg fi 20687dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 206970f7c90cSmrg$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 20707dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 207170f7c90cSmrg$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2072a850946eSmrg fi;; 2073a850946eSmrg esac 2074a850946eSmrg # Pass precious variables to config.status. 2075a850946eSmrg if test "$ac_new_set" = set; then 2076a850946eSmrg case $ac_new_val in 207770f7c90cSmrg *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2078a850946eSmrg *) ac_arg=$ac_var=$ac_new_val ;; 2079a850946eSmrg esac 2080a850946eSmrg case " $ac_configure_args " in 2081a850946eSmrg *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 20827dff02feSmrg *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2083a850946eSmrg esac 2084a850946eSmrg fi 2085a850946eSmrgdone 2086a850946eSmrgif $ac_cache_corrupted; then 20877dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 208870f7c90cSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20897dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 209070f7c90cSmrg$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 209169a1fe56Smrg as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2092a850946eSmrgfi 20937dff02feSmrg## -------------------- ## 20947dff02feSmrg## Main body of script. ## 20957dff02feSmrg## -------------------- ## 2096a850946eSmrg 209770f7c90cSmrgac_ext=c 209870f7c90cSmrgac_cpp='$CPP $CPPFLAGS' 209970f7c90cSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 210070f7c90cSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 210170f7c90cSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 2102a850946eSmrg 2103a850946eSmrg 210470f7c90cSmrgam__api_version='1.11' 2105a850946eSmrg 2106a850946eSmrgac_aux_dir= 210770f7c90cSmrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 210869a1fe56Smrg if test -f "$ac_dir/install-sh"; then 210969a1fe56Smrg ac_aux_dir=$ac_dir 211069a1fe56Smrg ac_install_sh="$ac_aux_dir/install-sh -c" 211169a1fe56Smrg break 211269a1fe56Smrg elif test -f "$ac_dir/install.sh"; then 211369a1fe56Smrg ac_aux_dir=$ac_dir 211469a1fe56Smrg ac_install_sh="$ac_aux_dir/install.sh -c" 211569a1fe56Smrg break 211669a1fe56Smrg elif test -f "$ac_dir/shtool"; then 211769a1fe56Smrg ac_aux_dir=$ac_dir 211869a1fe56Smrg ac_install_sh="$ac_aux_dir/shtool install -c" 211969a1fe56Smrg break 212069a1fe56Smrg fi 2121a850946eSmrgdone 2122a850946eSmrgif test -z "$ac_aux_dir"; then 212369a1fe56Smrg as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2124a850946eSmrgfi 212570f7c90cSmrg 212670f7c90cSmrg# These three variables are undocumented and unsupported, 212770f7c90cSmrg# and are intended to be withdrawn in a future Autoconf release. 212870f7c90cSmrg# They can cause serious problems if a builder's source tree is in a directory 212970f7c90cSmrg# whose full name contains unusual characters. 213070f7c90cSmrgac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 213170f7c90cSmrgac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 213270f7c90cSmrgac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 213370f7c90cSmrg 2134a850946eSmrg 2135a850946eSmrg# Find a good install program. We prefer a C program (faster), 2136a850946eSmrg# so one script is as good as another. But avoid the broken or 2137a850946eSmrg# incompatible versions: 2138a850946eSmrg# SysV /etc/install, /usr/sbin/install 2139a850946eSmrg# SunOS /usr/etc/install 2140a850946eSmrg# IRIX /sbin/install 2141a850946eSmrg# AIX /bin/install 2142a850946eSmrg# AmigaOS /C/install, which installs bootblocks on floppy discs 2143a850946eSmrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2144a850946eSmrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2145a850946eSmrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2146a850946eSmrg# OS/2's system install, which has a completely different semantic 2147a850946eSmrg# ./install, which can be erroneously created by make from ./install.sh. 214870f7c90cSmrg# Reject install programs that cannot install multiple files. 21497dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 215070f7c90cSmrg$as_echo_n "checking for a BSD-compatible install... " >&6; } 2151a850946eSmrgif test -z "$INSTALL"; then 215269a1fe56Smrgif ${ac_cv_path_install+:} false; then : 215370f7c90cSmrg $as_echo_n "(cached) " >&6 2154a850946eSmrgelse 2155a850946eSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2156a850946eSmrgfor as_dir in $PATH 2157a850946eSmrgdo 2158a850946eSmrg IFS=$as_save_IFS 2159a850946eSmrg test -z "$as_dir" && as_dir=. 21607dff02feSmrg # Account for people who put trailing slashes in PATH elements. 21617dff02feSmrgcase $as_dir/ in #(( 21627dff02feSmrg ./ | .// | /[cC]/* | \ 2163a850946eSmrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 21647dff02feSmrg ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2165a850946eSmrg /usr/ucb/* ) ;; 2166a850946eSmrg *) 2167a850946eSmrg # OSF1 and SCO ODT 3.0 have their own names for install. 2168a850946eSmrg # Don't use installbsd from OSF since it installs stuff as root 2169a850946eSmrg # by default. 2170a850946eSmrg for ac_prog in ginstall scoinst install; do 2171a850946eSmrg for ac_exec_ext in '' $ac_executable_extensions; do 217270f7c90cSmrg if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2173a850946eSmrg if test $ac_prog = install && 2174a850946eSmrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2175a850946eSmrg # AIX install. It has an incompatible calling convention. 2176a850946eSmrg : 2177a850946eSmrg elif test $ac_prog = install && 2178a850946eSmrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2179a850946eSmrg # program-specific install script used by HP pwplus--don't use. 2180a850946eSmrg : 2181a850946eSmrg else 218270f7c90cSmrg rm -rf conftest.one conftest.two conftest.dir 218370f7c90cSmrg echo one > conftest.one 218470f7c90cSmrg echo two > conftest.two 218570f7c90cSmrg mkdir conftest.dir 218670f7c90cSmrg if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 218770f7c90cSmrg test -s conftest.one && test -s conftest.two && 218870f7c90cSmrg test -s conftest.dir/conftest.one && 218970f7c90cSmrg test -s conftest.dir/conftest.two 219070f7c90cSmrg then 219170f7c90cSmrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 219270f7c90cSmrg break 3 219370f7c90cSmrg fi 2194a850946eSmrg fi 2195a850946eSmrg fi 2196a850946eSmrg done 2197a850946eSmrg done 2198a850946eSmrg ;; 2199a850946eSmrgesac 220070f7c90cSmrg 22017dff02feSmrg done 220270f7c90cSmrgIFS=$as_save_IFS 2203a850946eSmrg 220470f7c90cSmrgrm -rf conftest.one conftest.two conftest.dir 2205a850946eSmrg 2206a850946eSmrgfi 2207a850946eSmrg if test "${ac_cv_path_install+set}" = set; then 2208a850946eSmrg INSTALL=$ac_cv_path_install 2209a850946eSmrg else 221070f7c90cSmrg # As a last resort, use the slow shell script. Don't cache a 221170f7c90cSmrg # value for INSTALL within a source directory, because that will 2212a850946eSmrg # break other packages using the cache if that directory is 221370f7c90cSmrg # removed, or if the value is a relative name. 2214a850946eSmrg INSTALL=$ac_install_sh 2215a850946eSmrg fi 2216a850946eSmrgfi 22177dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 221870f7c90cSmrg$as_echo "$INSTALL" >&6; } 2219a850946eSmrg 2220a850946eSmrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2221a850946eSmrg# It thinks the first close brace ends the variable substitution. 2222a850946eSmrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2223a850946eSmrg 2224a850946eSmrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2225a850946eSmrg 2226a850946eSmrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2227a850946eSmrg 22287dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 222970f7c90cSmrg$as_echo_n "checking whether build environment is sane... " >&6; } 2230a850946eSmrg# Just in case 2231a850946eSmrgsleep 1 2232a850946eSmrgecho timestamp > conftest.file 223370f7c90cSmrg# Reject unsafe characters in $srcdir or the absolute working directory 223470f7c90cSmrg# name. Accept space and tab only in the latter. 223570f7c90cSmrgam_lf=' 223670f7c90cSmrg' 223770f7c90cSmrgcase `pwd` in 223870f7c90cSmrg *[\\\"\#\$\&\'\`$am_lf]*) 223969a1fe56Smrg as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 224070f7c90cSmrgesac 224170f7c90cSmrgcase $srcdir in 224270f7c90cSmrg *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 224369a1fe56Smrg as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 224470f7c90cSmrgesac 224570f7c90cSmrg 2246a850946eSmrg# Do `set' in a subshell so we don't clobber the current shell's 2247a850946eSmrg# arguments. Must try -L first in case configure is actually a 2248a850946eSmrg# symlink; some systems play weird games with the mod time of symlinks 2249a850946eSmrg# (eg FreeBSD returns the mod time of the symlink's containing 2250a850946eSmrg# directory). 2251a850946eSmrgif ( 225270f7c90cSmrg set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2253a850946eSmrg if test "$*" = "X"; then 2254a850946eSmrg # -L didn't work. 225570f7c90cSmrg set X `ls -t "$srcdir/configure" conftest.file` 2256a850946eSmrg fi 2257a850946eSmrg rm -f conftest.file 2258a850946eSmrg if test "$*" != "X $srcdir/configure conftest.file" \ 2259a850946eSmrg && test "$*" != "X conftest.file $srcdir/configure"; then 2260a850946eSmrg 2261a850946eSmrg # If neither matched, then we have a broken ls. This can happen 2262a850946eSmrg # if, for instance, CONFIG_SHELL is bash and it inherits a 2263a850946eSmrg # broken ls alias from the environment. This has actually 2264a850946eSmrg # happened. Such a system could not be considered "sane". 226569a1fe56Smrg as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 22667dff02feSmrgalias in your environment" "$LINENO" 5 2267a850946eSmrg fi 2268a850946eSmrg 2269a850946eSmrg test "$2" = conftest.file 2270a850946eSmrg ) 2271a850946eSmrgthen 2272a850946eSmrg # Ok. 2273a850946eSmrg : 2274a850946eSmrgelse 227569a1fe56Smrg as_fn_error $? "newly created file is older than distributed files! 22767dff02feSmrgCheck your system clock" "$LINENO" 5 2277a850946eSmrgfi 22787dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 227970f7c90cSmrg$as_echo "yes" >&6; } 2280a850946eSmrgtest "$program_prefix" != NONE && 228170f7c90cSmrg program_transform_name="s&^&$program_prefix&;$program_transform_name" 2282a850946eSmrg# Use a double $ so make ignores it. 2283a850946eSmrgtest "$program_suffix" != NONE && 228470f7c90cSmrg program_transform_name="s&\$&$program_suffix&;$program_transform_name" 228570f7c90cSmrg# Double any \ or $. 2286a850946eSmrg# By default was `s,x,x', remove it if useless. 228770f7c90cSmrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 228870f7c90cSmrgprogram_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2289a850946eSmrg 2290a850946eSmrg# expand $ac_aux_dir to an absolute path 2291a850946eSmrgam_aux_dir=`cd $ac_aux_dir && pwd` 2292a850946eSmrg 229370f7c90cSmrgif test x"${MISSING+set}" != xset; then 229470f7c90cSmrg case $am_aux_dir in 229570f7c90cSmrg *\ * | *\ *) 229670f7c90cSmrg MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 229770f7c90cSmrg *) 229870f7c90cSmrg MISSING="\${SHELL} $am_aux_dir/missing" ;; 229970f7c90cSmrg esac 230070f7c90cSmrgfi 2301a850946eSmrg# Use eval to expand $SHELL 2302a850946eSmrgif eval "$MISSING --run true"; then 2303a850946eSmrg am_missing_run="$MISSING --run " 2304a850946eSmrgelse 2305a850946eSmrg am_missing_run= 23067dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 230770f7c90cSmrg$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 230870f7c90cSmrgfi 230970f7c90cSmrg 231070f7c90cSmrgif test x"${install_sh}" != xset; then 231170f7c90cSmrg case $am_aux_dir in 231270f7c90cSmrg *\ * | *\ *) 231370f7c90cSmrg install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 231470f7c90cSmrg *) 231570f7c90cSmrg install_sh="\${SHELL} $am_aux_dir/install-sh" 231670f7c90cSmrg esac 231770f7c90cSmrgfi 231870f7c90cSmrg 231970f7c90cSmrg# Installed binaries are usually stripped using `strip' when the user 232070f7c90cSmrg# run `make install-strip'. However `strip' might not be the right 232170f7c90cSmrg# tool to use in cross-compilation environments, therefore Automake 232270f7c90cSmrg# will honor the `STRIP' environment variable to overrule this program. 232370f7c90cSmrgif test "$cross_compiling" != no; then 232470f7c90cSmrg if test -n "$ac_tool_prefix"; then 232570f7c90cSmrg # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 232670f7c90cSmrgset dummy ${ac_tool_prefix}strip; ac_word=$2 23277dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 232870f7c90cSmrg$as_echo_n "checking for $ac_word... " >&6; } 232969a1fe56Smrgif ${ac_cv_prog_STRIP+:} false; then : 233070f7c90cSmrg $as_echo_n "(cached) " >&6 233170f7c90cSmrgelse 233270f7c90cSmrg if test -n "$STRIP"; then 233370f7c90cSmrg ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 233470f7c90cSmrgelse 233570f7c90cSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 233670f7c90cSmrgfor as_dir in $PATH 233770f7c90cSmrgdo 233870f7c90cSmrg IFS=$as_save_IFS 233970f7c90cSmrg test -z "$as_dir" && as_dir=. 23407dff02feSmrg for ac_exec_ext in '' $ac_executable_extensions; do 234170f7c90cSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 234270f7c90cSmrg ac_cv_prog_STRIP="${ac_tool_prefix}strip" 23437dff02feSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 234470f7c90cSmrg break 2 234570f7c90cSmrg fi 234670f7c90cSmrgdone 23477dff02feSmrg done 234870f7c90cSmrgIFS=$as_save_IFS 234970f7c90cSmrg 235070f7c90cSmrgfi 235170f7c90cSmrgfi 235270f7c90cSmrgSTRIP=$ac_cv_prog_STRIP 235370f7c90cSmrgif test -n "$STRIP"; then 23547dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 235570f7c90cSmrg$as_echo "$STRIP" >&6; } 235670f7c90cSmrgelse 23577dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 235870f7c90cSmrg$as_echo "no" >&6; } 235970f7c90cSmrgfi 236070f7c90cSmrg 236170f7c90cSmrg 236270f7c90cSmrgfi 236370f7c90cSmrgif test -z "$ac_cv_prog_STRIP"; then 236470f7c90cSmrg ac_ct_STRIP=$STRIP 236570f7c90cSmrg # Extract the first word of "strip", so it can be a program name with args. 236670f7c90cSmrgset dummy strip; ac_word=$2 23677dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 236870f7c90cSmrg$as_echo_n "checking for $ac_word... " >&6; } 236969a1fe56Smrgif ${ac_cv_prog_ac_ct_STRIP+:} false; then : 237070f7c90cSmrg $as_echo_n "(cached) " >&6 237170f7c90cSmrgelse 237270f7c90cSmrg if test -n "$ac_ct_STRIP"; then 237370f7c90cSmrg ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 237470f7c90cSmrgelse 237570f7c90cSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 237670f7c90cSmrgfor as_dir in $PATH 237770f7c90cSmrgdo 237870f7c90cSmrg IFS=$as_save_IFS 237970f7c90cSmrg test -z "$as_dir" && as_dir=. 23807dff02feSmrg for ac_exec_ext in '' $ac_executable_extensions; do 238170f7c90cSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 238270f7c90cSmrg ac_cv_prog_ac_ct_STRIP="strip" 23837dff02feSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 238470f7c90cSmrg break 2 238570f7c90cSmrg fi 238670f7c90cSmrgdone 23877dff02feSmrg done 238870f7c90cSmrgIFS=$as_save_IFS 238970f7c90cSmrg 239070f7c90cSmrgfi 239170f7c90cSmrgfi 239270f7c90cSmrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 239370f7c90cSmrgif test -n "$ac_ct_STRIP"; then 23947dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 239570f7c90cSmrg$as_echo "$ac_ct_STRIP" >&6; } 239670f7c90cSmrgelse 23977dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 239870f7c90cSmrg$as_echo "no" >&6; } 239970f7c90cSmrgfi 240070f7c90cSmrg 240170f7c90cSmrg if test "x$ac_ct_STRIP" = x; then 240270f7c90cSmrg STRIP=":" 240370f7c90cSmrg else 240470f7c90cSmrg case $cross_compiling:$ac_tool_warned in 240570f7c90cSmrgyes:) 24067dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 240770f7c90cSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 240870f7c90cSmrgac_tool_warned=yes ;; 240970f7c90cSmrgesac 241070f7c90cSmrg STRIP=$ac_ct_STRIP 241170f7c90cSmrg fi 241270f7c90cSmrgelse 241370f7c90cSmrg STRIP="$ac_cv_prog_STRIP" 241470f7c90cSmrgfi 241570f7c90cSmrg 241670f7c90cSmrgfi 241770f7c90cSmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 241870f7c90cSmrg 24197dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 242070f7c90cSmrg$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 242170f7c90cSmrgif test -z "$MKDIR_P"; then 242269a1fe56Smrg if ${ac_cv_path_mkdir+:} false; then : 242370f7c90cSmrg $as_echo_n "(cached) " >&6 242470f7c90cSmrgelse 242570f7c90cSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 242670f7c90cSmrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 242770f7c90cSmrgdo 242870f7c90cSmrg IFS=$as_save_IFS 242970f7c90cSmrg test -z "$as_dir" && as_dir=. 24307dff02feSmrg for ac_prog in mkdir gmkdir; do 243170f7c90cSmrg for ac_exec_ext in '' $ac_executable_extensions; do 243270f7c90cSmrg { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 243370f7c90cSmrg case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 243470f7c90cSmrg 'mkdir (GNU coreutils) '* | \ 243570f7c90cSmrg 'mkdir (coreutils) '* | \ 243670f7c90cSmrg 'mkdir (fileutils) '4.1*) 243770f7c90cSmrg ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 243870f7c90cSmrg break 3;; 243970f7c90cSmrg esac 244070f7c90cSmrg done 244170f7c90cSmrg done 24427dff02feSmrg done 244370f7c90cSmrgIFS=$as_save_IFS 244470f7c90cSmrg 244570f7c90cSmrgfi 244670f7c90cSmrg 24477dff02feSmrg test -d ./--version && rmdir ./--version 244870f7c90cSmrg if test "${ac_cv_path_mkdir+set}" = set; then 244970f7c90cSmrg MKDIR_P="$ac_cv_path_mkdir -p" 245070f7c90cSmrg else 245170f7c90cSmrg # As a last resort, use the slow shell script. Don't cache a 245270f7c90cSmrg # value for MKDIR_P within a source directory, because that will 245370f7c90cSmrg # break other packages using the cache if that directory is 245470f7c90cSmrg # removed, or if the value is a relative name. 245570f7c90cSmrg MKDIR_P="$ac_install_sh -d" 245670f7c90cSmrg fi 2457a850946eSmrgfi 24587dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 245970f7c90cSmrg$as_echo "$MKDIR_P" >&6; } 246070f7c90cSmrg 246170f7c90cSmrgmkdir_p="$MKDIR_P" 246270f7c90cSmrgcase $mkdir_p in 246370f7c90cSmrg [\\/$]* | ?:[\\/]*) ;; 246470f7c90cSmrg */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 246570f7c90cSmrgesac 2466a850946eSmrg 2467a850946eSmrgfor ac_prog in gawk mawk nawk awk 2468a850946eSmrgdo 2469a850946eSmrg # Extract the first word of "$ac_prog", so it can be a program name with args. 2470a850946eSmrgset dummy $ac_prog; ac_word=$2 24717dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 247270f7c90cSmrg$as_echo_n "checking for $ac_word... " >&6; } 247369a1fe56Smrgif ${ac_cv_prog_AWK+:} false; then : 247470f7c90cSmrg $as_echo_n "(cached) " >&6 2475a850946eSmrgelse 2476a850946eSmrg if test -n "$AWK"; then 2477a850946eSmrg ac_cv_prog_AWK="$AWK" # Let the user override the test. 2478a850946eSmrgelse 2479a850946eSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2480a850946eSmrgfor as_dir in $PATH 2481a850946eSmrgdo 2482a850946eSmrg IFS=$as_save_IFS 2483a850946eSmrg test -z "$as_dir" && as_dir=. 24847dff02feSmrg for ac_exec_ext in '' $ac_executable_extensions; do 248570f7c90cSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2486a850946eSmrg ac_cv_prog_AWK="$ac_prog" 24877dff02feSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2488a850946eSmrg break 2 2489a850946eSmrg fi 2490a850946eSmrgdone 24917dff02feSmrg done 249270f7c90cSmrgIFS=$as_save_IFS 2493a850946eSmrg 2494a850946eSmrgfi 2495a850946eSmrgfi 2496a850946eSmrgAWK=$ac_cv_prog_AWK 2497a850946eSmrgif test -n "$AWK"; then 24987dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 249970f7c90cSmrg$as_echo "$AWK" >&6; } 2500a850946eSmrgelse 25017dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 250270f7c90cSmrg$as_echo "no" >&6; } 2503a850946eSmrgfi 2504a850946eSmrg 250570f7c90cSmrg 2506a850946eSmrg test -n "$AWK" && break 2507a850946eSmrgdone 2508a850946eSmrg 25097dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 251070f7c90cSmrg$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 251170f7c90cSmrgset x ${MAKE-make} 251270f7c90cSmrgac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 251369a1fe56Smrgif eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 251470f7c90cSmrg $as_echo_n "(cached) " >&6 2515a850946eSmrgelse 2516a850946eSmrg cat >conftest.make <<\_ACEOF 251770f7c90cSmrgSHELL = /bin/sh 2518a850946eSmrgall: 251970f7c90cSmrg @echo '@@@%%%=$(MAKE)=@@@%%%' 2520a850946eSmrg_ACEOF 252169a1fe56Smrg# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 252270f7c90cSmrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in 252370f7c90cSmrg *@@@%%%=?*=@@@%%%*) 252470f7c90cSmrg eval ac_cv_prog_make_${ac_make}_set=yes;; 252570f7c90cSmrg *) 252670f7c90cSmrg eval ac_cv_prog_make_${ac_make}_set=no;; 252770f7c90cSmrgesac 2528a850946eSmrgrm -f conftest.make 2529a850946eSmrgfi 253070f7c90cSmrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 25317dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 253270f7c90cSmrg$as_echo "yes" >&6; } 2533a850946eSmrg SET_MAKE= 2534a850946eSmrgelse 25357dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 253670f7c90cSmrg$as_echo "no" >&6; } 2537a850946eSmrg SET_MAKE="MAKE=${MAKE-make}" 2538a850946eSmrgfi 2539a850946eSmrg 2540a850946eSmrgrm -rf .tst 2>/dev/null 2541a850946eSmrgmkdir .tst 2>/dev/null 2542a850946eSmrgif test -d .tst; then 2543a850946eSmrg am__leading_dot=. 2544a850946eSmrgelse 2545a850946eSmrg am__leading_dot=_ 2546a850946eSmrgfi 2547a850946eSmrgrmdir .tst 2>/dev/null 2548a850946eSmrg 254970f7c90cSmrgif test "`cd $srcdir && pwd`" != "`pwd`"; then 255070f7c90cSmrg # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 255170f7c90cSmrg # is not polluted with repeated "-I." 255270f7c90cSmrg am__isrc=' -I$(srcdir)' 255370f7c90cSmrg # test to see if srcdir already configured 255470f7c90cSmrg if test -f $srcdir/config.status; then 255569a1fe56Smrg as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 255670f7c90cSmrg fi 2557a850946eSmrgfi 2558a850946eSmrg 2559a850946eSmrg# test whether we have cygpath 2560a850946eSmrgif test -z "$CYGPATH_W"; then 2561a850946eSmrg if (cygpath --version) >/dev/null 2>/dev/null; then 2562a850946eSmrg CYGPATH_W='cygpath -w' 2563a850946eSmrg else 2564a850946eSmrg CYGPATH_W=echo 2565a850946eSmrg fi 2566a850946eSmrgfi 2567a850946eSmrg 2568a850946eSmrg 2569a850946eSmrg# Define the identity of the package. 2570a850946eSmrg PACKAGE='xlsclients' 257169a1fe56Smrg VERSION='1.1.1' 2572a850946eSmrg 2573a850946eSmrg 2574a850946eSmrgcat >>confdefs.h <<_ACEOF 2575a850946eSmrg#define PACKAGE "$PACKAGE" 2576a850946eSmrg_ACEOF 2577a850946eSmrg 2578a850946eSmrg 2579a850946eSmrgcat >>confdefs.h <<_ACEOF 2580a850946eSmrg#define VERSION "$VERSION" 2581a850946eSmrg_ACEOF 2582a850946eSmrg 2583a850946eSmrg# Some tools Automake needs. 2584a850946eSmrg 2585a850946eSmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2586a850946eSmrg 2587a850946eSmrg 2588a850946eSmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2589a850946eSmrg 2590a850946eSmrg 2591a850946eSmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2592a850946eSmrg 2593a850946eSmrg 2594a850946eSmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2595a850946eSmrg 2596a850946eSmrg 2597a850946eSmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2598a850946eSmrg 259970f7c90cSmrg# We need awk for the "check" target. The system "awk" is bad on 260070f7c90cSmrg# some platforms. 260170f7c90cSmrg# Always define AMTAR for backward compatibility. 2602a850946eSmrg 2603a850946eSmrgAMTAR=${AMTAR-"${am_missing_run}tar"} 2604a850946eSmrg 260570f7c90cSmrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2606a850946eSmrg 2607a850946eSmrg 2608a850946eSmrg 2609a850946eSmrg 2610a850946eSmrg 2611a850946eSmrg 26127dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 261370f7c90cSmrg$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 261470f7c90cSmrg # Check whether --enable-maintainer-mode was given. 26157dff02feSmrgif test "${enable_maintainer_mode+set}" = set; then : 261670f7c90cSmrg enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2617a850946eSmrgelse 2618a850946eSmrg USE_MAINTAINER_MODE=no 261970f7c90cSmrgfi 2620a850946eSmrg 26217dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 262270f7c90cSmrg$as_echo "$USE_MAINTAINER_MODE" >&6; } 262370f7c90cSmrg if test $USE_MAINTAINER_MODE = yes; then 2624a850946eSmrg MAINTAINER_MODE_TRUE= 2625a850946eSmrg MAINTAINER_MODE_FALSE='#' 2626a850946eSmrgelse 2627a850946eSmrg MAINTAINER_MODE_TRUE='#' 2628a850946eSmrg MAINTAINER_MODE_FALSE= 2629a850946eSmrgfi 2630a850946eSmrg 2631a850946eSmrg MAINT=$MAINTAINER_MODE_TRUE 2632a850946eSmrg 2633a850946eSmrg 2634a850946eSmrg 263569a1fe56Smrg# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS 2636a850946eSmrg 2637a850946eSmrg 263870f7c90cSmrg 263970f7c90cSmrg 264070f7c90cSmrg 264170f7c90cSmrg 264270f7c90cSmrg 264370f7c90cSmrg 264470f7c90cSmrg 264570f7c90cSmrg 264670f7c90cSmrg 264770f7c90cSmrg 264870f7c90cSmrgac_config_headers="$ac_config_headers config.h" 264970f7c90cSmrg 265070f7c90cSmrg 265169a1fe56Smrg# Check for functional strnlen 265269a1fe56SmrgDEPDIR="${am__leading_dot}deps" 265369a1fe56Smrg 265469a1fe56Smrgac_config_commands="$ac_config_commands depfiles" 265569a1fe56Smrg 265669a1fe56Smrg 265769a1fe56Smrgam_make=${MAKE-make} 265869a1fe56Smrgcat > confinc << 'END' 265969a1fe56Smrgam__doit: 266069a1fe56Smrg @echo this is the am__doit target 266169a1fe56Smrg.PHONY: am__doit 266269a1fe56SmrgEND 266369a1fe56Smrg# If we don't find an include directive, just comment out the code. 266469a1fe56Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 266569a1fe56Smrg$as_echo_n "checking for style of include used by $am_make... " >&6; } 266669a1fe56Smrgam__include="#" 266769a1fe56Smrgam__quote= 266869a1fe56Smrg_am_result=none 266969a1fe56Smrg# First try GNU make style include. 267069a1fe56Smrgecho "include confinc" > confmf 267169a1fe56Smrg# Ignore all kinds of additional output from `make'. 267269a1fe56Smrgcase `$am_make -s -f confmf 2> /dev/null` in #( 267369a1fe56Smrg*the\ am__doit\ target*) 267469a1fe56Smrg am__include=include 267569a1fe56Smrg am__quote= 267669a1fe56Smrg _am_result=GNU 267769a1fe56Smrg ;; 267869a1fe56Smrgesac 267969a1fe56Smrg# Now try BSD make style include. 268069a1fe56Smrgif test "$am__include" = "#"; then 268169a1fe56Smrg echo '.include "confinc"' > confmf 268269a1fe56Smrg case `$am_make -s -f confmf 2> /dev/null` in #( 268369a1fe56Smrg *the\ am__doit\ target*) 268469a1fe56Smrg am__include=.include 268569a1fe56Smrg am__quote="\"" 268669a1fe56Smrg _am_result=BSD 268769a1fe56Smrg ;; 268869a1fe56Smrg esac 268969a1fe56Smrgfi 269069a1fe56Smrg 269169a1fe56Smrg 269269a1fe56Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 269369a1fe56Smrg$as_echo "$_am_result" >&6; } 269469a1fe56Smrgrm -f confinc confmf 269569a1fe56Smrg 269669a1fe56Smrg# Check whether --enable-dependency-tracking was given. 269769a1fe56Smrgif test "${enable_dependency_tracking+set}" = set; then : 269869a1fe56Smrg enableval=$enable_dependency_tracking; 269969a1fe56Smrgfi 270069a1fe56Smrg 270169a1fe56Smrgif test "x$enable_dependency_tracking" != xno; then 270269a1fe56Smrg am_depcomp="$ac_aux_dir/depcomp" 270369a1fe56Smrg AMDEPBACKSLASH='\' 270469a1fe56Smrgfi 270569a1fe56Smrg if test "x$enable_dependency_tracking" != xno; then 270669a1fe56Smrg AMDEP_TRUE= 270769a1fe56Smrg AMDEP_FALSE='#' 270869a1fe56Smrgelse 270969a1fe56Smrg AMDEP_TRUE='#' 271069a1fe56Smrg AMDEP_FALSE= 271169a1fe56Smrgfi 271269a1fe56Smrg 271369a1fe56Smrg 271470f7c90cSmrgac_ext=c 271570f7c90cSmrgac_cpp='$CPP $CPPFLAGS' 271670f7c90cSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2717a850946eSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2718a850946eSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 2719a850946eSmrgif test -n "$ac_tool_prefix"; then 2720a850946eSmrg # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2721a850946eSmrgset dummy ${ac_tool_prefix}gcc; ac_word=$2 27227dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 272370f7c90cSmrg$as_echo_n "checking for $ac_word... " >&6; } 272469a1fe56Smrgif ${ac_cv_prog_CC+:} false; then : 272570f7c90cSmrg $as_echo_n "(cached) " >&6 2726a850946eSmrgelse 2727a850946eSmrg if test -n "$CC"; then 2728a850946eSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 2729a850946eSmrgelse 2730a850946eSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2731a850946eSmrgfor as_dir in $PATH 2732a850946eSmrgdo 2733a850946eSmrg IFS=$as_save_IFS 2734a850946eSmrg test -z "$as_dir" && as_dir=. 27357dff02feSmrg for ac_exec_ext in '' $ac_executable_extensions; do 273670f7c90cSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2737a850946eSmrg ac_cv_prog_CC="${ac_tool_prefix}gcc" 27387dff02feSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2739a850946eSmrg break 2 2740a850946eSmrg fi 2741a850946eSmrgdone 27427dff02feSmrg done 274370f7c90cSmrgIFS=$as_save_IFS 2744a850946eSmrg 2745a850946eSmrgfi 2746a850946eSmrgfi 2747a850946eSmrgCC=$ac_cv_prog_CC 2748a850946eSmrgif test -n "$CC"; then 27497dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 275070f7c90cSmrg$as_echo "$CC" >&6; } 2751a850946eSmrgelse 27527dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 275370f7c90cSmrg$as_echo "no" >&6; } 2754a850946eSmrgfi 2755a850946eSmrg 275670f7c90cSmrg 2757a850946eSmrgfi 2758a850946eSmrgif test -z "$ac_cv_prog_CC"; then 2759a850946eSmrg ac_ct_CC=$CC 2760a850946eSmrg # Extract the first word of "gcc", so it can be a program name with args. 2761a850946eSmrgset dummy gcc; ac_word=$2 27627dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 276370f7c90cSmrg$as_echo_n "checking for $ac_word... " >&6; } 276469a1fe56Smrgif ${ac_cv_prog_ac_ct_CC+:} false; then : 276570f7c90cSmrg $as_echo_n "(cached) " >&6 2766a850946eSmrgelse 2767a850946eSmrg if test -n "$ac_ct_CC"; then 2768a850946eSmrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2769a850946eSmrgelse 2770a850946eSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2771a850946eSmrgfor as_dir in $PATH 2772a850946eSmrgdo 2773a850946eSmrg IFS=$as_save_IFS 2774a850946eSmrg test -z "$as_dir" && as_dir=. 27757dff02feSmrg for ac_exec_ext in '' $ac_executable_extensions; do 277670f7c90cSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2777a850946eSmrg ac_cv_prog_ac_ct_CC="gcc" 27787dff02feSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2779a850946eSmrg break 2 2780a850946eSmrg fi 2781a850946eSmrgdone 27827dff02feSmrg done 278370f7c90cSmrgIFS=$as_save_IFS 2784a850946eSmrg 2785a850946eSmrgfi 2786a850946eSmrgfi 2787a850946eSmrgac_ct_CC=$ac_cv_prog_ac_ct_CC 2788a850946eSmrgif test -n "$ac_ct_CC"; then 27897dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 279070f7c90cSmrg$as_echo "$ac_ct_CC" >&6; } 2791a850946eSmrgelse 27927dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 279370f7c90cSmrg$as_echo "no" >&6; } 2794a850946eSmrgfi 2795a850946eSmrg 279670f7c90cSmrg if test "x$ac_ct_CC" = x; then 279770f7c90cSmrg CC="" 279870f7c90cSmrg else 279970f7c90cSmrg case $cross_compiling:$ac_tool_warned in 280070f7c90cSmrgyes:) 28017dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 280270f7c90cSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 280370f7c90cSmrgac_tool_warned=yes ;; 280470f7c90cSmrgesac 280570f7c90cSmrg CC=$ac_ct_CC 280670f7c90cSmrg fi 2807a850946eSmrgelse 2808a850946eSmrg CC="$ac_cv_prog_CC" 2809a850946eSmrgfi 2810a850946eSmrg 2811a850946eSmrgif test -z "$CC"; then 281270f7c90cSmrg if test -n "$ac_tool_prefix"; then 281370f7c90cSmrg # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2814a850946eSmrgset dummy ${ac_tool_prefix}cc; ac_word=$2 28157dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 281670f7c90cSmrg$as_echo_n "checking for $ac_word... " >&6; } 281769a1fe56Smrgif ${ac_cv_prog_CC+:} false; then : 281870f7c90cSmrg $as_echo_n "(cached) " >&6 2819a850946eSmrgelse 2820a850946eSmrg if test -n "$CC"; then 2821a850946eSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 2822a850946eSmrgelse 2823a850946eSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2824a850946eSmrgfor as_dir in $PATH 2825a850946eSmrgdo 2826a850946eSmrg IFS=$as_save_IFS 2827a850946eSmrg test -z "$as_dir" && as_dir=. 28287dff02feSmrg for ac_exec_ext in '' $ac_executable_extensions; do 282970f7c90cSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2830a850946eSmrg ac_cv_prog_CC="${ac_tool_prefix}cc" 28317dff02feSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2832a850946eSmrg break 2 2833a850946eSmrg fi 2834a850946eSmrgdone 28357dff02feSmrg done 283670f7c90cSmrgIFS=$as_save_IFS 2837a850946eSmrg 2838a850946eSmrgfi 2839a850946eSmrgfi 2840a850946eSmrgCC=$ac_cv_prog_CC 2841a850946eSmrgif test -n "$CC"; then 28427dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 284370f7c90cSmrg$as_echo "$CC" >&6; } 2844a850946eSmrgelse 28457dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 284670f7c90cSmrg$as_echo "no" >&6; } 2847a850946eSmrgfi 2848a850946eSmrg 2849a850946eSmrg 285070f7c90cSmrg fi 2851a850946eSmrgfi 2852a850946eSmrgif test -z "$CC"; then 2853a850946eSmrg # Extract the first word of "cc", so it can be a program name with args. 2854a850946eSmrgset dummy cc; ac_word=$2 28557dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 285670f7c90cSmrg$as_echo_n "checking for $ac_word... " >&6; } 285769a1fe56Smrgif ${ac_cv_prog_CC+:} false; then : 285870f7c90cSmrg $as_echo_n "(cached) " >&6 2859a850946eSmrgelse 2860a850946eSmrg if test -n "$CC"; then 2861a850946eSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 2862a850946eSmrgelse 2863a850946eSmrg ac_prog_rejected=no 2864a850946eSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2865a850946eSmrgfor as_dir in $PATH 2866a850946eSmrgdo 2867a850946eSmrg IFS=$as_save_IFS 2868a850946eSmrg test -z "$as_dir" && as_dir=. 28697dff02feSmrg for ac_exec_ext in '' $ac_executable_extensions; do 287070f7c90cSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2871a850946eSmrg if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2872a850946eSmrg ac_prog_rejected=yes 2873a850946eSmrg continue 2874a850946eSmrg fi 2875a850946eSmrg ac_cv_prog_CC="cc" 28767dff02feSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2877a850946eSmrg break 2 2878a850946eSmrg fi 2879a850946eSmrgdone 28807dff02feSmrg done 288170f7c90cSmrgIFS=$as_save_IFS 2882a850946eSmrg 2883a850946eSmrgif test $ac_prog_rejected = yes; then 2884a850946eSmrg # We found a bogon in the path, so make sure we never use it. 2885a850946eSmrg set dummy $ac_cv_prog_CC 2886a850946eSmrg shift 2887a850946eSmrg if test $# != 0; then 2888a850946eSmrg # We chose a different compiler from the bogus one. 2889a850946eSmrg # However, it has the same basename, so the bogon will be chosen 2890a850946eSmrg # first if we set CC to just the basename; use the full file name. 2891a850946eSmrg shift 2892a850946eSmrg ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2893a850946eSmrg fi 2894a850946eSmrgfi 2895a850946eSmrgfi 2896a850946eSmrgfi 2897a850946eSmrgCC=$ac_cv_prog_CC 2898a850946eSmrgif test -n "$CC"; then 28997dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 290070f7c90cSmrg$as_echo "$CC" >&6; } 2901a850946eSmrgelse 29027dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 290370f7c90cSmrg$as_echo "no" >&6; } 2904a850946eSmrgfi 2905a850946eSmrg 290670f7c90cSmrg 2907a850946eSmrgfi 2908a850946eSmrgif test -z "$CC"; then 2909a850946eSmrg if test -n "$ac_tool_prefix"; then 291070f7c90cSmrg for ac_prog in cl.exe 2911a850946eSmrg do 2912a850946eSmrg # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2913a850946eSmrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2 29147dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 291570f7c90cSmrg$as_echo_n "checking for $ac_word... " >&6; } 291669a1fe56Smrgif ${ac_cv_prog_CC+:} false; then : 291770f7c90cSmrg $as_echo_n "(cached) " >&6 2918a850946eSmrgelse 2919a850946eSmrg if test -n "$CC"; then 2920a850946eSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 2921a850946eSmrgelse 2922a850946eSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2923a850946eSmrgfor as_dir in $PATH 2924a850946eSmrgdo 2925a850946eSmrg IFS=$as_save_IFS 2926a850946eSmrg test -z "$as_dir" && as_dir=. 29277dff02feSmrg for ac_exec_ext in '' $ac_executable_extensions; do 292870f7c90cSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2929a850946eSmrg ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 29307dff02feSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2931a850946eSmrg break 2 2932a850946eSmrg fi 2933a850946eSmrgdone 29347dff02feSmrg done 293570f7c90cSmrgIFS=$as_save_IFS 2936a850946eSmrg 2937a850946eSmrgfi 2938a850946eSmrgfi 2939a850946eSmrgCC=$ac_cv_prog_CC 2940a850946eSmrgif test -n "$CC"; then 29417dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 294270f7c90cSmrg$as_echo "$CC" >&6; } 2943a850946eSmrgelse 29447dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 294570f7c90cSmrg$as_echo "no" >&6; } 2946a850946eSmrgfi 2947a850946eSmrg 294870f7c90cSmrg 2949a850946eSmrg test -n "$CC" && break 2950a850946eSmrg done 2951a850946eSmrgfi 2952a850946eSmrgif test -z "$CC"; then 2953a850946eSmrg ac_ct_CC=$CC 295470f7c90cSmrg for ac_prog in cl.exe 2955a850946eSmrgdo 2956a850946eSmrg # Extract the first word of "$ac_prog", so it can be a program name with args. 2957a850946eSmrgset dummy $ac_prog; ac_word=$2 29587dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 295970f7c90cSmrg$as_echo_n "checking for $ac_word... " >&6; } 296069a1fe56Smrgif ${ac_cv_prog_ac_ct_CC+:} false; then : 296170f7c90cSmrg $as_echo_n "(cached) " >&6 2962a850946eSmrgelse 2963a850946eSmrg if test -n "$ac_ct_CC"; then 2964a850946eSmrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2965a850946eSmrgelse 2966a850946eSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2967a850946eSmrgfor as_dir in $PATH 2968a850946eSmrgdo 2969a850946eSmrg IFS=$as_save_IFS 2970a850946eSmrg test -z "$as_dir" && as_dir=. 29717dff02feSmrg for ac_exec_ext in '' $ac_executable_extensions; do 297270f7c90cSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2973a850946eSmrg ac_cv_prog_ac_ct_CC="$ac_prog" 29747dff02feSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2975a850946eSmrg break 2 2976a850946eSmrg fi 2977a850946eSmrgdone 29787dff02feSmrg done 297970f7c90cSmrgIFS=$as_save_IFS 2980a850946eSmrg 2981a850946eSmrgfi 2982a850946eSmrgfi 2983a850946eSmrgac_ct_CC=$ac_cv_prog_ac_ct_CC 2984a850946eSmrgif test -n "$ac_ct_CC"; then 29857dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 298670f7c90cSmrg$as_echo "$ac_ct_CC" >&6; } 2987a850946eSmrgelse 29887dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 298970f7c90cSmrg$as_echo "no" >&6; } 2990a850946eSmrgfi 2991a850946eSmrg 299270f7c90cSmrg 2993a850946eSmrg test -n "$ac_ct_CC" && break 2994a850946eSmrgdone 2995a850946eSmrg 299670f7c90cSmrg if test "x$ac_ct_CC" = x; then 299770f7c90cSmrg CC="" 299870f7c90cSmrg else 299970f7c90cSmrg case $cross_compiling:$ac_tool_warned in 300070f7c90cSmrgyes:) 30017dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 300270f7c90cSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 300370f7c90cSmrgac_tool_warned=yes ;; 300470f7c90cSmrgesac 300570f7c90cSmrg CC=$ac_ct_CC 300670f7c90cSmrg fi 3007a850946eSmrgfi 3008a850946eSmrg 30097dff02feSmrgfi 30107dff02feSmrg 30117dff02feSmrg 30127dff02feSmrgtest -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 30137dff02feSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 301469a1fe56Smrgas_fn_error $? "no acceptable C compiler found in \$PATH 301569a1fe56SmrgSee \`config.log' for more details" "$LINENO" 5; } 30167dff02feSmrg 30177dff02feSmrg# Provide some information about the compiler. 30187dff02feSmrg$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 30197dff02feSmrgset X $ac_compile 30207dff02feSmrgac_compiler=$2 30217dff02feSmrgfor ac_option in --version -v -V -qversion; do 30227dff02feSmrg { { ac_try="$ac_compiler $ac_option >&5" 302370f7c90cSmrgcase "(($ac_try" in 302470f7c90cSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 302570f7c90cSmrg *) ac_try_echo=$ac_try;; 302670f7c90cSmrgesac 30277dff02feSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 30287dff02feSmrg$as_echo "$ac_try_echo"; } >&5 30297dff02feSmrg (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3030a850946eSmrg ac_status=$? 30317dff02feSmrg if test -s conftest.err; then 30327dff02feSmrg sed '10a\ 30337dff02feSmrg... rest of stderr output deleted ... 30347dff02feSmrg 10q' conftest.err >conftest.er1 30357dff02feSmrg cat conftest.er1 >&5 30367dff02feSmrg fi 30377dff02feSmrg rm -f conftest.er1 conftest.err 30387dff02feSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 30397dff02feSmrg test $ac_status = 0; } 30407dff02feSmrgdone 3041a850946eSmrg 30427dff02feSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 3043a850946eSmrg/* end confdefs.h. */ 3044a850946eSmrg 3045a850946eSmrgint 3046a850946eSmrgmain () 3047a850946eSmrg{ 3048a850946eSmrg 3049a850946eSmrg ; 3050a850946eSmrg return 0; 3051a850946eSmrg} 3052a850946eSmrg_ACEOF 3053a850946eSmrgac_clean_files_save=$ac_clean_files 305470f7c90cSmrgac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3055a850946eSmrg# Try to create an executable without -o first, disregard a.out. 3056a850946eSmrg# It will help us diagnose broken compilers, and finding out an intuition 3057a850946eSmrg# of exeext. 30587dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 30597dff02feSmrg$as_echo_n "checking whether the C compiler works... " >&6; } 306070f7c90cSmrgac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 306170f7c90cSmrg 306270f7c90cSmrg# The possible output files: 306370f7c90cSmrgac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 306470f7c90cSmrg 306570f7c90cSmrgac_rmfiles= 306670f7c90cSmrgfor ac_file in $ac_files 306770f7c90cSmrgdo 306870f7c90cSmrg case $ac_file in 306970f7c90cSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 307070f7c90cSmrg * ) ac_rmfiles="$ac_rmfiles $ac_file";; 307170f7c90cSmrg esac 307270f7c90cSmrgdone 307370f7c90cSmrgrm -f $ac_rmfiles 307470f7c90cSmrg 30757dff02feSmrgif { { ac_try="$ac_link_default" 307670f7c90cSmrgcase "(($ac_try" in 307770f7c90cSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 307870f7c90cSmrg *) ac_try_echo=$ac_try;; 307970f7c90cSmrgesac 30807dff02feSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 30817dff02feSmrg$as_echo "$ac_try_echo"; } >&5 308270f7c90cSmrg (eval "$ac_link_default") 2>&5 3083a850946eSmrg ac_status=$? 30847dff02feSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 30857dff02feSmrg test $ac_status = 0; }; then : 308670f7c90cSmrg # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 308770f7c90cSmrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 308870f7c90cSmrg# in a Makefile. We should not override ac_cv_exeext if it was cached, 308970f7c90cSmrg# so that the user can short-circuit this test for compilers unknown to 309070f7c90cSmrg# Autoconf. 309170f7c90cSmrgfor ac_file in $ac_files '' 3092a850946eSmrgdo 3093a850946eSmrg test -f "$ac_file" || continue 3094a850946eSmrg case $ac_file in 309570f7c90cSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3096a850946eSmrg ;; 3097a850946eSmrg [ab].out ) 3098a850946eSmrg # We found the default executable, but exeext='' is most 3099a850946eSmrg # certainly right. 3100a850946eSmrg break;; 3101a850946eSmrg *.* ) 31027dff02feSmrg if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 310370f7c90cSmrg then :; else 310470f7c90cSmrg ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 310570f7c90cSmrg fi 310670f7c90cSmrg # We set ac_cv_exeext here because the later test for it is not 310770f7c90cSmrg # safe: cross compilers may not add the suffix if given an `-o' 310870f7c90cSmrg # argument, so we may need to know it at that point already. 310970f7c90cSmrg # Even if this section looks crufty: it has the advantage of 311070f7c90cSmrg # actually working. 3111a850946eSmrg break;; 3112a850946eSmrg * ) 3113a850946eSmrg break;; 3114a850946eSmrg esac 3115a850946eSmrgdone 311670f7c90cSmrgtest "$ac_cv_exeext" = no && ac_cv_exeext= 311770f7c90cSmrg 3118a850946eSmrgelse 311970f7c90cSmrg ac_file='' 312070f7c90cSmrgfi 31217dff02feSmrgif test -z "$ac_file"; then : 31227dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 31237dff02feSmrg$as_echo "no" >&6; } 31247dff02feSmrg$as_echo "$as_me: failed program was:" >&5 3125a850946eSmrgsed 's/^/| /' conftest.$ac_ext >&5 3126a850946eSmrg 31277dff02feSmrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 312870f7c90cSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 312969a1fe56Smrgas_fn_error 77 "C compiler cannot create executables 313069a1fe56SmrgSee \`config.log' for more details" "$LINENO" 5; } 31317dff02feSmrgelse 31327dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 31337dff02feSmrg$as_echo "yes" >&6; } 3134a850946eSmrgfi 31357dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 31367dff02feSmrg$as_echo_n "checking for C compiler default output file name... " >&6; } 31377dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 31387dff02feSmrg$as_echo "$ac_file" >&6; } 3139a850946eSmrgac_exeext=$ac_cv_exeext 3140a850946eSmrg 314170f7c90cSmrgrm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3142a850946eSmrgac_clean_files=$ac_clean_files_save 31437dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 314470f7c90cSmrg$as_echo_n "checking for suffix of executables... " >&6; } 31457dff02feSmrgif { { ac_try="$ac_link" 314670f7c90cSmrgcase "(($ac_try" in 314770f7c90cSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 314870f7c90cSmrg *) ac_try_echo=$ac_try;; 314970f7c90cSmrgesac 31507dff02feSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 31517dff02feSmrg$as_echo "$ac_try_echo"; } >&5 315270f7c90cSmrg (eval "$ac_link") 2>&5 3153a850946eSmrg ac_status=$? 31547dff02feSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 31557dff02feSmrg test $ac_status = 0; }; then : 3156a850946eSmrg # If both `conftest.exe' and `conftest' are `present' (well, observable) 3157a850946eSmrg# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3158a850946eSmrg# work properly (i.e., refer to `conftest.exe'), while it won't with 3159a850946eSmrg# `rm'. 3160a850946eSmrgfor ac_file in conftest.exe conftest conftest.*; do 3161a850946eSmrg test -f "$ac_file" || continue 3162a850946eSmrg case $ac_file in 316370f7c90cSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3164a850946eSmrg *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3165a850946eSmrg break;; 3166a850946eSmrg * ) break;; 3167a850946eSmrg esac 3168a850946eSmrgdone 3169a850946eSmrgelse 31707dff02feSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 317170f7c90cSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 317269a1fe56Smrgas_fn_error $? "cannot compute suffix of executables: cannot compile and link 317369a1fe56SmrgSee \`config.log' for more details" "$LINENO" 5; } 3174a850946eSmrgfi 31757dff02feSmrgrm -f conftest conftest$ac_cv_exeext 31767dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 317770f7c90cSmrg$as_echo "$ac_cv_exeext" >&6; } 3178a850946eSmrg 3179a850946eSmrgrm -f conftest.$ac_ext 3180a850946eSmrgEXEEXT=$ac_cv_exeext 3181a850946eSmrgac_exeext=$EXEEXT 31827dff02feSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 31837dff02feSmrg/* end confdefs.h. */ 31847dff02feSmrg#include <stdio.h> 31857dff02feSmrgint 31867dff02feSmrgmain () 31877dff02feSmrg{ 31887dff02feSmrgFILE *f = fopen ("conftest.out", "w"); 31897dff02feSmrg return ferror (f) || fclose (f) != 0; 31907dff02feSmrg 31917dff02feSmrg ; 31927dff02feSmrg return 0; 31937dff02feSmrg} 31947dff02feSmrg_ACEOF 31957dff02feSmrgac_clean_files="$ac_clean_files conftest.out" 31967dff02feSmrg# Check that the compiler produces executables we can run. If not, either 31977dff02feSmrg# the compiler is broken, or we cross compile. 31987dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 31997dff02feSmrg$as_echo_n "checking whether we are cross compiling... " >&6; } 32007dff02feSmrgif test "$cross_compiling" != yes; then 32017dff02feSmrg { { ac_try="$ac_link" 32027dff02feSmrgcase "(($ac_try" in 32037dff02feSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 32047dff02feSmrg *) ac_try_echo=$ac_try;; 32057dff02feSmrgesac 32067dff02feSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 32077dff02feSmrg$as_echo "$ac_try_echo"; } >&5 32087dff02feSmrg (eval "$ac_link") 2>&5 32097dff02feSmrg ac_status=$? 32107dff02feSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 32117dff02feSmrg test $ac_status = 0; } 32127dff02feSmrg if { ac_try='./conftest$ac_cv_exeext' 32137dff02feSmrg { { case "(($ac_try" in 32147dff02feSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 32157dff02feSmrg *) ac_try_echo=$ac_try;; 32167dff02feSmrgesac 32177dff02feSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 32187dff02feSmrg$as_echo "$ac_try_echo"; } >&5 32197dff02feSmrg (eval "$ac_try") 2>&5 32207dff02feSmrg ac_status=$? 32217dff02feSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 32227dff02feSmrg test $ac_status = 0; }; }; then 32237dff02feSmrg cross_compiling=no 32247dff02feSmrg else 32257dff02feSmrg if test "$cross_compiling" = maybe; then 32267dff02feSmrg cross_compiling=yes 32277dff02feSmrg else 32287dff02feSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 32297dff02feSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 323069a1fe56Smrgas_fn_error $? "cannot run C compiled programs. 32317dff02feSmrgIf you meant to cross compile, use \`--host'. 323269a1fe56SmrgSee \`config.log' for more details" "$LINENO" 5; } 32337dff02feSmrg fi 32347dff02feSmrg fi 32357dff02feSmrgfi 32367dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 32377dff02feSmrg$as_echo "$cross_compiling" >&6; } 32387dff02feSmrg 32397dff02feSmrgrm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 32407dff02feSmrgac_clean_files=$ac_clean_files_save 32417dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 324270f7c90cSmrg$as_echo_n "checking for suffix of object files... " >&6; } 324369a1fe56Smrgif ${ac_cv_objext+:} false; then : 324470f7c90cSmrg $as_echo_n "(cached) " >&6 3245a850946eSmrgelse 32467dff02feSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3247a850946eSmrg/* end confdefs.h. */ 3248a850946eSmrg 3249a850946eSmrgint 3250a850946eSmrgmain () 3251a850946eSmrg{ 3252a850946eSmrg 3253a850946eSmrg ; 3254a850946eSmrg return 0; 3255a850946eSmrg} 3256a850946eSmrg_ACEOF 3257a850946eSmrgrm -f conftest.o conftest.obj 32587dff02feSmrgif { { ac_try="$ac_compile" 325970f7c90cSmrgcase "(($ac_try" in 326070f7c90cSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 326170f7c90cSmrg *) ac_try_echo=$ac_try;; 326270f7c90cSmrgesac 32637dff02feSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 32647dff02feSmrg$as_echo "$ac_try_echo"; } >&5 326570f7c90cSmrg (eval "$ac_compile") 2>&5 3266a850946eSmrg ac_status=$? 32677dff02feSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 32687dff02feSmrg test $ac_status = 0; }; then : 326970f7c90cSmrg for ac_file in conftest.o conftest.obj conftest.*; do 327070f7c90cSmrg test -f "$ac_file" || continue; 3271a850946eSmrg case $ac_file in 327270f7c90cSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3273a850946eSmrg *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3274a850946eSmrg break;; 3275a850946eSmrg esac 3276a850946eSmrgdone 3277a850946eSmrgelse 327870f7c90cSmrg $as_echo "$as_me: failed program was:" >&5 3279a850946eSmrgsed 's/^/| /' conftest.$ac_ext >&5 3280a850946eSmrg 32817dff02feSmrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 328270f7c90cSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 328369a1fe56Smrgas_fn_error $? "cannot compute suffix of object files: cannot compile 328469a1fe56SmrgSee \`config.log' for more details" "$LINENO" 5; } 3285a850946eSmrgfi 3286a850946eSmrgrm -f conftest.$ac_cv_objext conftest.$ac_ext 3287a850946eSmrgfi 32887dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 328970f7c90cSmrg$as_echo "$ac_cv_objext" >&6; } 3290a850946eSmrgOBJEXT=$ac_cv_objext 3291a850946eSmrgac_objext=$OBJEXT 32927dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 329370f7c90cSmrg$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 329469a1fe56Smrgif ${ac_cv_c_compiler_gnu+:} false; then : 329570f7c90cSmrg $as_echo_n "(cached) " >&6 3296a850946eSmrgelse 32977dff02feSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3298a850946eSmrg/* end confdefs.h. */ 3299a850946eSmrg 3300a850946eSmrgint 3301a850946eSmrgmain () 3302a850946eSmrg{ 3303a850946eSmrg#ifndef __GNUC__ 3304a850946eSmrg choke me 3305a850946eSmrg#endif 3306a850946eSmrg 3307a850946eSmrg ; 3308a850946eSmrg return 0; 3309a850946eSmrg} 3310a850946eSmrg_ACEOF 33117dff02feSmrgif ac_fn_c_try_compile "$LINENO"; then : 3312a850946eSmrg ac_compiler_gnu=yes 3313a850946eSmrgelse 33147dff02feSmrg ac_compiler_gnu=no 3315a850946eSmrgfi 331670f7c90cSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3317a850946eSmrgac_cv_c_compiler_gnu=$ac_compiler_gnu 3318a850946eSmrg 3319a850946eSmrgfi 33207dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 332170f7c90cSmrg$as_echo "$ac_cv_c_compiler_gnu" >&6; } 332270f7c90cSmrgif test $ac_compiler_gnu = yes; then 332370f7c90cSmrg GCC=yes 332470f7c90cSmrgelse 332570f7c90cSmrg GCC= 332670f7c90cSmrgfi 3327a850946eSmrgac_test_CFLAGS=${CFLAGS+set} 3328a850946eSmrgac_save_CFLAGS=$CFLAGS 33297dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 333070f7c90cSmrg$as_echo_n "checking whether $CC accepts -g... " >&6; } 333169a1fe56Smrgif ${ac_cv_prog_cc_g+:} false; then : 333270f7c90cSmrg $as_echo_n "(cached) " >&6 3333a850946eSmrgelse 333470f7c90cSmrg ac_save_c_werror_flag=$ac_c_werror_flag 333570f7c90cSmrg ac_c_werror_flag=yes 333670f7c90cSmrg ac_cv_prog_cc_g=no 333770f7c90cSmrg CFLAGS="-g" 33387dff02feSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3339a850946eSmrg/* end confdefs.h. */ 3340a850946eSmrg 3341a850946eSmrgint 3342a850946eSmrgmain () 3343a850946eSmrg{ 3344a850946eSmrg 3345a850946eSmrg ; 3346a850946eSmrg return 0; 3347a850946eSmrg} 3348a850946eSmrg_ACEOF 33497dff02feSmrgif ac_fn_c_try_compile "$LINENO"; then : 335070f7c90cSmrg ac_cv_prog_cc_g=yes 335170f7c90cSmrgelse 33527dff02feSmrg CFLAGS="" 33537dff02feSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 335470f7c90cSmrg/* end confdefs.h. */ 335570f7c90cSmrg 335670f7c90cSmrgint 335770f7c90cSmrgmain () 335870f7c90cSmrg{ 335970f7c90cSmrg 336070f7c90cSmrg ; 336170f7c90cSmrg return 0; 336270f7c90cSmrg} 336370f7c90cSmrg_ACEOF 33647dff02feSmrgif ac_fn_c_try_compile "$LINENO"; then : 336570f7c90cSmrg 33667dff02feSmrgelse 33677dff02feSmrg ac_c_werror_flag=$ac_save_c_werror_flag 336870f7c90cSmrg CFLAGS="-g" 33697dff02feSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 337070f7c90cSmrg/* end confdefs.h. */ 337170f7c90cSmrg 337270f7c90cSmrgint 337370f7c90cSmrgmain () 337470f7c90cSmrg{ 337570f7c90cSmrg 337670f7c90cSmrg ; 337770f7c90cSmrg return 0; 337870f7c90cSmrg} 337970f7c90cSmrg_ACEOF 33807dff02feSmrgif ac_fn_c_try_compile "$LINENO"; then : 3381a850946eSmrg ac_cv_prog_cc_g=yes 338270f7c90cSmrgfi 338370f7c90cSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3384a850946eSmrgfi 338570f7c90cSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 338670f7c90cSmrgfi 338770f7c90cSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 338870f7c90cSmrg ac_c_werror_flag=$ac_save_c_werror_flag 3389a850946eSmrgfi 33907dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 339170f7c90cSmrg$as_echo "$ac_cv_prog_cc_g" >&6; } 3392a850946eSmrgif test "$ac_test_CFLAGS" = set; then 3393a850946eSmrg CFLAGS=$ac_save_CFLAGS 3394a850946eSmrgelif test $ac_cv_prog_cc_g = yes; then 3395a850946eSmrg if test "$GCC" = yes; then 3396a850946eSmrg CFLAGS="-g -O2" 3397a850946eSmrg else 3398a850946eSmrg CFLAGS="-g" 3399a850946eSmrg fi 3400a850946eSmrgelse 3401a850946eSmrg if test "$GCC" = yes; then 3402a850946eSmrg CFLAGS="-O2" 3403a850946eSmrg else 3404a850946eSmrg CFLAGS= 3405a850946eSmrg fi 3406a850946eSmrgfi 34077dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 340870f7c90cSmrg$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 340969a1fe56Smrgif ${ac_cv_prog_cc_c89+:} false; then : 341070f7c90cSmrg $as_echo_n "(cached) " >&6 3411a850946eSmrgelse 341270f7c90cSmrg ac_cv_prog_cc_c89=no 3413a850946eSmrgac_save_CC=$CC 34147dff02feSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 3415a850946eSmrg/* end confdefs.h. */ 3416a850946eSmrg#include <stdarg.h> 3417a850946eSmrg#include <stdio.h> 3418a850946eSmrg#include <sys/types.h> 3419a850946eSmrg#include <sys/stat.h> 3420a850946eSmrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3421a850946eSmrgstruct buf { int x; }; 3422a850946eSmrgFILE * (*rcsopen) (struct buf *, struct stat *, int); 3423a850946eSmrgstatic char *e (p, i) 3424a850946eSmrg char **p; 3425a850946eSmrg int i; 3426a850946eSmrg{ 3427a850946eSmrg return p[i]; 3428a850946eSmrg} 3429a850946eSmrgstatic char *f (char * (*g) (char **, int), char **p, ...) 3430a850946eSmrg{ 3431a850946eSmrg char *s; 3432a850946eSmrg va_list v; 3433a850946eSmrg va_start (v,p); 3434a850946eSmrg s = g (p, va_arg (v,int)); 3435a850946eSmrg va_end (v); 3436a850946eSmrg return s; 3437a850946eSmrg} 3438a850946eSmrg 3439a850946eSmrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3440a850946eSmrg function prototypes and stuff, but not '\xHH' hex character constants. 3441a850946eSmrg These don't provoke an error unfortunately, instead are silently treated 344270f7c90cSmrg as 'x'. The following induces an error, until -std is added to get 3443a850946eSmrg proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3444a850946eSmrg array size at least. It's necessary to write '\x00'==0 to get something 344570f7c90cSmrg that's true only with -std. */ 3446a850946eSmrgint osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3447a850946eSmrg 344870f7c90cSmrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 344970f7c90cSmrg inside strings and character constants. */ 345070f7c90cSmrg#define FOO(x) 'x' 345170f7c90cSmrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 345270f7c90cSmrg 3453a850946eSmrgint test (int i, double x); 3454a850946eSmrgstruct s1 {int (*f) (int a);}; 3455a850946eSmrgstruct s2 {int (*f) (double a);}; 3456a850946eSmrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3457a850946eSmrgint argc; 3458a850946eSmrgchar **argv; 3459a850946eSmrgint 3460a850946eSmrgmain () 3461a850946eSmrg{ 3462a850946eSmrgreturn f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3463a850946eSmrg ; 3464a850946eSmrg return 0; 3465a850946eSmrg} 3466a850946eSmrg_ACEOF 346770f7c90cSmrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 346870f7c90cSmrg -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3469a850946eSmrgdo 3470a850946eSmrg CC="$ac_save_CC $ac_arg" 34717dff02feSmrg if ac_fn_c_try_compile "$LINENO"; then : 347270f7c90cSmrg ac_cv_prog_cc_c89=$ac_arg 3473a850946eSmrgfi 347470f7c90cSmrgrm -f core conftest.err conftest.$ac_objext 347570f7c90cSmrg test "x$ac_cv_prog_cc_c89" != "xno" && break 3476a850946eSmrgdone 347770f7c90cSmrgrm -f conftest.$ac_ext 3478a850946eSmrgCC=$ac_save_CC 3479a850946eSmrg 3480a850946eSmrgfi 348170f7c90cSmrg# AC_CACHE_VAL 348270f7c90cSmrgcase "x$ac_cv_prog_cc_c89" in 348370f7c90cSmrg x) 34847dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 348570f7c90cSmrg$as_echo "none needed" >&6; } ;; 348670f7c90cSmrg xno) 34877dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 348870f7c90cSmrg$as_echo "unsupported" >&6; } ;; 3489a850946eSmrg *) 349070f7c90cSmrg CC="$CC $ac_cv_prog_cc_c89" 34917dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 349270f7c90cSmrg$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3493a850946eSmrgesac 34947dff02feSmrgif test "x$ac_cv_prog_cc_c89" != xno; then : 3495a850946eSmrg 34967dff02feSmrgfi 3497a850946eSmrg 3498a850946eSmrgac_ext=c 3499a850946eSmrgac_cpp='$CPP $CPPFLAGS' 3500a850946eSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3501a850946eSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3502a850946eSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 3503a850946eSmrg 3504a850946eSmrgdepcc="$CC" am_compiler_list= 3505a850946eSmrg 35067dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 350770f7c90cSmrg$as_echo_n "checking dependency style of $depcc... " >&6; } 350869a1fe56Smrgif ${am_cv_CC_dependencies_compiler_type+:} false; then : 350970f7c90cSmrg $as_echo_n "(cached) " >&6 3510a850946eSmrgelse 3511a850946eSmrg if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3512a850946eSmrg # We make a subdir and do the tests there. Otherwise we can end up 3513a850946eSmrg # making bogus files that we don't know about and never remove. For 3514a850946eSmrg # instance it was reported that on HP-UX the gcc test will end up 3515a850946eSmrg # making a dummy file named `D' -- because `-MD' means `put the output 3516a850946eSmrg # in D'. 3517a850946eSmrg mkdir conftest.dir 3518a850946eSmrg # Copy depcomp to subdir because otherwise we won't find it if we're 3519a850946eSmrg # using a relative directory. 3520a850946eSmrg cp "$am_depcomp" conftest.dir 3521a850946eSmrg cd conftest.dir 3522a850946eSmrg # We will build objects and dependencies in a subdirectory because 3523a850946eSmrg # it helps to detect inapplicable dependency modes. For instance 3524a850946eSmrg # both Tru64's cc and ICC support -MD to output dependencies as a 3525a850946eSmrg # side effect of compilation, but ICC will put the dependencies in 3526a850946eSmrg # the current directory while Tru64 will put them in the object 3527a850946eSmrg # directory. 3528a850946eSmrg mkdir sub 3529a850946eSmrg 3530a850946eSmrg am_cv_CC_dependencies_compiler_type=none 3531a850946eSmrg if test "$am_compiler_list" = ""; then 3532a850946eSmrg am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3533a850946eSmrg fi 353470f7c90cSmrg am__universal=false 353570f7c90cSmrg case " $depcc " in #( 353670f7c90cSmrg *\ -arch\ *\ -arch\ *) am__universal=true ;; 353770f7c90cSmrg esac 353870f7c90cSmrg 3539a850946eSmrg for depmode in $am_compiler_list; do 3540a850946eSmrg # Setup a source with many dependencies, because some compilers 3541a850946eSmrg # like to wrap large dependency lists on column 80 (with \), and 3542a850946eSmrg # we should not choose a depcomp mode which is confused by this. 3543a850946eSmrg # 3544a850946eSmrg # We need to recreate these files for each test, as the compiler may 3545a850946eSmrg # overwrite some of them when testing with obscure command lines. 3546a850946eSmrg # This happens at least with the AIX C compiler. 3547a850946eSmrg : > sub/conftest.c 3548a850946eSmrg for i in 1 2 3 4 5 6; do 3549a850946eSmrg echo '#include "conftst'$i'.h"' >> sub/conftest.c 355070f7c90cSmrg # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 355170f7c90cSmrg # Solaris 8's {/usr,}/bin/sh. 355270f7c90cSmrg touch sub/conftst$i.h 3553a850946eSmrg done 3554a850946eSmrg echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3555a850946eSmrg 355670f7c90cSmrg # We check with `-c' and `-o' for the sake of the "dashmstdout" 355770f7c90cSmrg # mode. It turns out that the SunPro C++ compiler does not properly 355870f7c90cSmrg # handle `-M -o', and we need to detect this. Also, some Intel 355970f7c90cSmrg # versions had trouble with output in subdirs 356070f7c90cSmrg am__obj=sub/conftest.${OBJEXT-o} 356170f7c90cSmrg am__minus_obj="-o $am__obj" 3562a850946eSmrg case $depmode in 356370f7c90cSmrg gcc) 356470f7c90cSmrg # This depmode causes a compiler race in universal mode. 356570f7c90cSmrg test "$am__universal" = false || continue 356670f7c90cSmrg ;; 3567a850946eSmrg nosideeffect) 3568a850946eSmrg # after this tag, mechanisms are not by side-effect, so they'll 3569a850946eSmrg # only be used when explicitly requested 3570a850946eSmrg if test "x$enable_dependency_tracking" = xyes; then 3571a850946eSmrg continue 3572a850946eSmrg else 3573a850946eSmrg break 3574a850946eSmrg fi 3575a850946eSmrg ;; 357670f7c90cSmrg msvisualcpp | msvcmsys) 357770f7c90cSmrg # This compiler won't grok `-c -o', but also, the minuso test has 357870f7c90cSmrg # not run yet. These depmodes are late enough in the game, and 357970f7c90cSmrg # so weak that their functioning should not be impacted. 358070f7c90cSmrg am__obj=conftest.${OBJEXT-o} 358170f7c90cSmrg am__minus_obj= 358270f7c90cSmrg ;; 3583a850946eSmrg none) break ;; 3584a850946eSmrg esac 3585a850946eSmrg if depmode=$depmode \ 358670f7c90cSmrg source=sub/conftest.c object=$am__obj \ 3587a850946eSmrg depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 358870f7c90cSmrg $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3589a850946eSmrg >/dev/null 2>conftest.err && 359070f7c90cSmrg grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3591a850946eSmrg grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 359270f7c90cSmrg grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3593a850946eSmrg ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3594a850946eSmrg # icc doesn't choke on unknown options, it will just issue warnings 359570f7c90cSmrg # or remarks (even with -Werror). So we grep stderr for any message 359670f7c90cSmrg # that says an option was ignored or not supported. 359770f7c90cSmrg # When given -MP, icc 7.0 and 7.1 complain thusly: 359870f7c90cSmrg # icc: Command line warning: ignoring option '-M'; no argument required 359970f7c90cSmrg # The diagnosis changed in icc 8.0: 360070f7c90cSmrg # icc: Command line remark: option '-MP' not supported 360170f7c90cSmrg if (grep 'ignoring option' conftest.err || 360270f7c90cSmrg grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3603a850946eSmrg am_cv_CC_dependencies_compiler_type=$depmode 3604a850946eSmrg break 3605a850946eSmrg fi 3606a850946eSmrg fi 3607a850946eSmrg done 3608a850946eSmrg 3609a850946eSmrg cd .. 3610a850946eSmrg rm -rf conftest.dir 3611a850946eSmrgelse 3612a850946eSmrg am_cv_CC_dependencies_compiler_type=none 3613a850946eSmrgfi 3614a850946eSmrg 3615a850946eSmrgfi 36167dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 361770f7c90cSmrg$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3618a850946eSmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3619a850946eSmrg 362070f7c90cSmrg if 3621a850946eSmrg test "x$enable_dependency_tracking" != xno \ 3622a850946eSmrg && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3623a850946eSmrg am__fastdepCC_TRUE= 3624a850946eSmrg am__fastdepCC_FALSE='#' 3625a850946eSmrgelse 3626a850946eSmrg am__fastdepCC_TRUE='#' 3627a850946eSmrg am__fastdepCC_FALSE= 3628a850946eSmrgfi 3629a850946eSmrg 3630a850946eSmrg 3631a850946eSmrg 363270f7c90cSmrgac_ext=c 363370f7c90cSmrgac_cpp='$CPP $CPPFLAGS' 363470f7c90cSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 363570f7c90cSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 363670f7c90cSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 36377dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 363870f7c90cSmrg$as_echo_n "checking how to run the C preprocessor... " >&6; } 363970f7c90cSmrg# On Suns, sometimes $CPP names a directory. 364070f7c90cSmrgif test -n "$CPP" && test -d "$CPP"; then 364170f7c90cSmrg CPP= 364270f7c90cSmrgfi 364370f7c90cSmrgif test -z "$CPP"; then 364469a1fe56Smrg if ${ac_cv_prog_CPP+:} false; then : 364570f7c90cSmrg $as_echo_n "(cached) " >&6 364670f7c90cSmrgelse 364770f7c90cSmrg # Double quotes because CPP needs to be expanded 364870f7c90cSmrg for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 364970f7c90cSmrg do 365070f7c90cSmrg ac_preproc_ok=false 365170f7c90cSmrgfor ac_c_preproc_warn_flag in '' yes 365270f7c90cSmrgdo 365370f7c90cSmrg # Use a header file that comes with gcc, so configuring glibc 365470f7c90cSmrg # with a fresh cross-compiler works. 365570f7c90cSmrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 365670f7c90cSmrg # <limits.h> exists even on freestanding compilers. 365770f7c90cSmrg # On the NeXT, cc -E runs the code through the compiler's parser, 365870f7c90cSmrg # not just through cpp. "Syntax error" is here to catch this case. 36597dff02feSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 366070f7c90cSmrg/* end confdefs.h. */ 366170f7c90cSmrg#ifdef __STDC__ 366270f7c90cSmrg# include <limits.h> 366370f7c90cSmrg#else 366470f7c90cSmrg# include <assert.h> 366570f7c90cSmrg#endif 366670f7c90cSmrg Syntax error 366770f7c90cSmrg_ACEOF 36687dff02feSmrgif ac_fn_c_try_cpp "$LINENO"; then : 366970f7c90cSmrg 36707dff02feSmrgelse 367170f7c90cSmrg # Broken: fails on valid input. 367270f7c90cSmrgcontinue 367370f7c90cSmrgfi 367469a1fe56Smrgrm -f conftest.err conftest.i conftest.$ac_ext 367570f7c90cSmrg 367670f7c90cSmrg # OK, works on sane cases. Now check whether nonexistent headers 367770f7c90cSmrg # can be detected and how. 36787dff02feSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 367970f7c90cSmrg/* end confdefs.h. */ 368070f7c90cSmrg#include <ac_nonexistent.h> 368170f7c90cSmrg_ACEOF 36827dff02feSmrgif ac_fn_c_try_cpp "$LINENO"; then : 368370f7c90cSmrg # Broken: success on invalid input. 368470f7c90cSmrgcontinue 368570f7c90cSmrgelse 368670f7c90cSmrg # Passes both tests. 368770f7c90cSmrgac_preproc_ok=: 368870f7c90cSmrgbreak 368970f7c90cSmrgfi 369069a1fe56Smrgrm -f conftest.err conftest.i conftest.$ac_ext 369170f7c90cSmrg 369270f7c90cSmrgdone 369370f7c90cSmrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 369469a1fe56Smrgrm -f conftest.i conftest.err conftest.$ac_ext 36957dff02feSmrgif $ac_preproc_ok; then : 369670f7c90cSmrg break 369770f7c90cSmrgfi 369870f7c90cSmrg 369970f7c90cSmrg done 370070f7c90cSmrg ac_cv_prog_CPP=$CPP 370170f7c90cSmrg 370270f7c90cSmrgfi 370370f7c90cSmrg CPP=$ac_cv_prog_CPP 370470f7c90cSmrgelse 370570f7c90cSmrg ac_cv_prog_CPP=$CPP 370670f7c90cSmrgfi 37077dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 370870f7c90cSmrg$as_echo "$CPP" >&6; } 370970f7c90cSmrgac_preproc_ok=false 371070f7c90cSmrgfor ac_c_preproc_warn_flag in '' yes 371170f7c90cSmrgdo 371270f7c90cSmrg # Use a header file that comes with gcc, so configuring glibc 371370f7c90cSmrg # with a fresh cross-compiler works. 371470f7c90cSmrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 371570f7c90cSmrg # <limits.h> exists even on freestanding compilers. 371670f7c90cSmrg # On the NeXT, cc -E runs the code through the compiler's parser, 371770f7c90cSmrg # not just through cpp. "Syntax error" is here to catch this case. 37187dff02feSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 371970f7c90cSmrg/* end confdefs.h. */ 372070f7c90cSmrg#ifdef __STDC__ 372170f7c90cSmrg# include <limits.h> 372270f7c90cSmrg#else 372370f7c90cSmrg# include <assert.h> 372470f7c90cSmrg#endif 372570f7c90cSmrg Syntax error 372670f7c90cSmrg_ACEOF 37277dff02feSmrgif ac_fn_c_try_cpp "$LINENO"; then : 372870f7c90cSmrg 37297dff02feSmrgelse 373070f7c90cSmrg # Broken: fails on valid input. 373170f7c90cSmrgcontinue 373270f7c90cSmrgfi 373369a1fe56Smrgrm -f conftest.err conftest.i conftest.$ac_ext 373470f7c90cSmrg 373570f7c90cSmrg # OK, works on sane cases. Now check whether nonexistent headers 373670f7c90cSmrg # can be detected and how. 37377dff02feSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 373870f7c90cSmrg/* end confdefs.h. */ 373970f7c90cSmrg#include <ac_nonexistent.h> 374070f7c90cSmrg_ACEOF 37417dff02feSmrgif ac_fn_c_try_cpp "$LINENO"; then : 374270f7c90cSmrg # Broken: success on invalid input. 374370f7c90cSmrgcontinue 374470f7c90cSmrgelse 374570f7c90cSmrg # Passes both tests. 374670f7c90cSmrgac_preproc_ok=: 374770f7c90cSmrgbreak 374870f7c90cSmrgfi 374969a1fe56Smrgrm -f conftest.err conftest.i conftest.$ac_ext 375070f7c90cSmrg 375170f7c90cSmrgdone 375270f7c90cSmrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 375369a1fe56Smrgrm -f conftest.i conftest.err conftest.$ac_ext 37547dff02feSmrgif $ac_preproc_ok; then : 37557dff02feSmrg 375670f7c90cSmrgelse 37577dff02feSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 375870f7c90cSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 375969a1fe56Smrgas_fn_error $? "C preprocessor \"$CPP\" fails sanity check 376069a1fe56SmrgSee \`config.log' for more details" "$LINENO" 5; } 376170f7c90cSmrgfi 376270f7c90cSmrg 376370f7c90cSmrgac_ext=c 376470f7c90cSmrgac_cpp='$CPP $CPPFLAGS' 376570f7c90cSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 376670f7c90cSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 376770f7c90cSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 376870f7c90cSmrg 376970f7c90cSmrg 37707dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 377170f7c90cSmrg$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 377269a1fe56Smrgif ${ac_cv_path_GREP+:} false; then : 377370f7c90cSmrg $as_echo_n "(cached) " >&6 377470f7c90cSmrgelse 377570f7c90cSmrg if test -z "$GREP"; then 377670f7c90cSmrg ac_path_GREP_found=false 377770f7c90cSmrg # Loop through the user's path and test for each of PROGNAME-LIST 377870f7c90cSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 377970f7c90cSmrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 378070f7c90cSmrgdo 378170f7c90cSmrg IFS=$as_save_IFS 378270f7c90cSmrg test -z "$as_dir" && as_dir=. 37837dff02feSmrg for ac_prog in grep ggrep; do 378470f7c90cSmrg for ac_exec_ext in '' $ac_executable_extensions; do 378570f7c90cSmrg ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 378670f7c90cSmrg { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 378770f7c90cSmrg# Check for GNU ac_path_GREP and select it if it is found. 378870f7c90cSmrg # Check for GNU $ac_path_GREP 378970f7c90cSmrgcase `"$ac_path_GREP" --version 2>&1` in 379070f7c90cSmrg*GNU*) 379170f7c90cSmrg ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 379270f7c90cSmrg*) 379370f7c90cSmrg ac_count=0 379470f7c90cSmrg $as_echo_n 0123456789 >"conftest.in" 379570f7c90cSmrg while : 379670f7c90cSmrg do 379770f7c90cSmrg cat "conftest.in" "conftest.in" >"conftest.tmp" 379870f7c90cSmrg mv "conftest.tmp" "conftest.in" 379970f7c90cSmrg cp "conftest.in" "conftest.nl" 380070f7c90cSmrg $as_echo 'GREP' >> "conftest.nl" 380170f7c90cSmrg "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 380270f7c90cSmrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 38037dff02feSmrg as_fn_arith $ac_count + 1 && ac_count=$as_val 380470f7c90cSmrg if test $ac_count -gt ${ac_path_GREP_max-0}; then 380570f7c90cSmrg # Best one so far, save it but keep looking for a better one 380670f7c90cSmrg ac_cv_path_GREP="$ac_path_GREP" 380770f7c90cSmrg ac_path_GREP_max=$ac_count 380870f7c90cSmrg fi 380970f7c90cSmrg # 10*(2^10) chars as input seems more than enough 381070f7c90cSmrg test $ac_count -gt 10 && break 381170f7c90cSmrg done 381270f7c90cSmrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 381370f7c90cSmrgesac 381470f7c90cSmrg 381570f7c90cSmrg $ac_path_GREP_found && break 3 381670f7c90cSmrg done 381770f7c90cSmrg done 38187dff02feSmrg done 381970f7c90cSmrgIFS=$as_save_IFS 382070f7c90cSmrg if test -z "$ac_cv_path_GREP"; then 382169a1fe56Smrg as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 382270f7c90cSmrg fi 382370f7c90cSmrgelse 382470f7c90cSmrg ac_cv_path_GREP=$GREP 382570f7c90cSmrgfi 382670f7c90cSmrg 382770f7c90cSmrgfi 38287dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 382970f7c90cSmrg$as_echo "$ac_cv_path_GREP" >&6; } 383070f7c90cSmrg GREP="$ac_cv_path_GREP" 383170f7c90cSmrg 383270f7c90cSmrg 38337dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 383470f7c90cSmrg$as_echo_n "checking for egrep... " >&6; } 383569a1fe56Smrgif ${ac_cv_path_EGREP+:} false; then : 383670f7c90cSmrg $as_echo_n "(cached) " >&6 383770f7c90cSmrgelse 383870f7c90cSmrg if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 383970f7c90cSmrg then ac_cv_path_EGREP="$GREP -E" 384070f7c90cSmrg else 384170f7c90cSmrg if test -z "$EGREP"; then 384270f7c90cSmrg ac_path_EGREP_found=false 384370f7c90cSmrg # Loop through the user's path and test for each of PROGNAME-LIST 384470f7c90cSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 384570f7c90cSmrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 384670f7c90cSmrgdo 384770f7c90cSmrg IFS=$as_save_IFS 384870f7c90cSmrg test -z "$as_dir" && as_dir=. 38497dff02feSmrg for ac_prog in egrep; do 385070f7c90cSmrg for ac_exec_ext in '' $ac_executable_extensions; do 385170f7c90cSmrg ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 385270f7c90cSmrg { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 385370f7c90cSmrg# Check for GNU ac_path_EGREP and select it if it is found. 385470f7c90cSmrg # Check for GNU $ac_path_EGREP 385570f7c90cSmrgcase `"$ac_path_EGREP" --version 2>&1` in 385670f7c90cSmrg*GNU*) 385770f7c90cSmrg ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 385870f7c90cSmrg*) 385970f7c90cSmrg ac_count=0 386070f7c90cSmrg $as_echo_n 0123456789 >"conftest.in" 386170f7c90cSmrg while : 386270f7c90cSmrg do 386370f7c90cSmrg cat "conftest.in" "conftest.in" >"conftest.tmp" 386470f7c90cSmrg mv "conftest.tmp" "conftest.in" 386570f7c90cSmrg cp "conftest.in" "conftest.nl" 386670f7c90cSmrg $as_echo 'EGREP' >> "conftest.nl" 386770f7c90cSmrg "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 386870f7c90cSmrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 38697dff02feSmrg as_fn_arith $ac_count + 1 && ac_count=$as_val 387070f7c90cSmrg if test $ac_count -gt ${ac_path_EGREP_max-0}; then 387170f7c90cSmrg # Best one so far, save it but keep looking for a better one 387270f7c90cSmrg ac_cv_path_EGREP="$ac_path_EGREP" 387370f7c90cSmrg ac_path_EGREP_max=$ac_count 387470f7c90cSmrg fi 387570f7c90cSmrg # 10*(2^10) chars as input seems more than enough 387670f7c90cSmrg test $ac_count -gt 10 && break 387770f7c90cSmrg done 387870f7c90cSmrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 387970f7c90cSmrgesac 388070f7c90cSmrg 388170f7c90cSmrg $ac_path_EGREP_found && break 3 388270f7c90cSmrg done 388370f7c90cSmrg done 38847dff02feSmrg done 388570f7c90cSmrgIFS=$as_save_IFS 388670f7c90cSmrg if test -z "$ac_cv_path_EGREP"; then 388769a1fe56Smrg as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 388870f7c90cSmrg fi 388970f7c90cSmrgelse 389070f7c90cSmrg ac_cv_path_EGREP=$EGREP 389170f7c90cSmrgfi 389270f7c90cSmrg 389370f7c90cSmrg fi 389470f7c90cSmrgfi 38957dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 389670f7c90cSmrg$as_echo "$ac_cv_path_EGREP" >&6; } 389770f7c90cSmrg EGREP="$ac_cv_path_EGREP" 389870f7c90cSmrg 389970f7c90cSmrg 39007dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 390170f7c90cSmrg$as_echo_n "checking for ANSI C header files... " >&6; } 390269a1fe56Smrgif ${ac_cv_header_stdc+:} false; then : 390370f7c90cSmrg $as_echo_n "(cached) " >&6 390470f7c90cSmrgelse 39057dff02feSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 390670f7c90cSmrg/* end confdefs.h. */ 390770f7c90cSmrg#include <stdlib.h> 390870f7c90cSmrg#include <stdarg.h> 390970f7c90cSmrg#include <string.h> 391070f7c90cSmrg#include <float.h> 391170f7c90cSmrg 391270f7c90cSmrgint 391370f7c90cSmrgmain () 391470f7c90cSmrg{ 391570f7c90cSmrg 391670f7c90cSmrg ; 391770f7c90cSmrg return 0; 391870f7c90cSmrg} 391970f7c90cSmrg_ACEOF 39207dff02feSmrgif ac_fn_c_try_compile "$LINENO"; then : 392170f7c90cSmrg ac_cv_header_stdc=yes 392270f7c90cSmrgelse 39237dff02feSmrg ac_cv_header_stdc=no 392470f7c90cSmrgfi 392570f7c90cSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 392670f7c90cSmrg 392770f7c90cSmrgif test $ac_cv_header_stdc = yes; then 392870f7c90cSmrg # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 39297dff02feSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 393070f7c90cSmrg/* end confdefs.h. */ 393170f7c90cSmrg#include <string.h> 393270f7c90cSmrg 393370f7c90cSmrg_ACEOF 393470f7c90cSmrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 39357dff02feSmrg $EGREP "memchr" >/dev/null 2>&1; then : 39367dff02feSmrg 393770f7c90cSmrgelse 393870f7c90cSmrg ac_cv_header_stdc=no 393970f7c90cSmrgfi 394070f7c90cSmrgrm -f conftest* 394170f7c90cSmrg 394270f7c90cSmrgfi 394370f7c90cSmrg 394470f7c90cSmrgif test $ac_cv_header_stdc = yes; then 394570f7c90cSmrg # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 39467dff02feSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 394770f7c90cSmrg/* end confdefs.h. */ 394870f7c90cSmrg#include <stdlib.h> 394970f7c90cSmrg 395070f7c90cSmrg_ACEOF 395170f7c90cSmrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 39527dff02feSmrg $EGREP "free" >/dev/null 2>&1; then : 39537dff02feSmrg 395470f7c90cSmrgelse 395570f7c90cSmrg ac_cv_header_stdc=no 395670f7c90cSmrgfi 395770f7c90cSmrgrm -f conftest* 395870f7c90cSmrg 395970f7c90cSmrgfi 396070f7c90cSmrg 396170f7c90cSmrgif test $ac_cv_header_stdc = yes; then 396270f7c90cSmrg # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 39637dff02feSmrg if test "$cross_compiling" = yes; then : 396470f7c90cSmrg : 396570f7c90cSmrgelse 39667dff02feSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 396770f7c90cSmrg/* end confdefs.h. */ 396870f7c90cSmrg#include <ctype.h> 396970f7c90cSmrg#include <stdlib.h> 397070f7c90cSmrg#if ((' ' & 0x0FF) == 0x020) 397170f7c90cSmrg# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 397270f7c90cSmrg# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 397370f7c90cSmrg#else 397470f7c90cSmrg# define ISLOWER(c) \ 397570f7c90cSmrg (('a' <= (c) && (c) <= 'i') \ 397670f7c90cSmrg || ('j' <= (c) && (c) <= 'r') \ 397770f7c90cSmrg || ('s' <= (c) && (c) <= 'z')) 397870f7c90cSmrg# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 397970f7c90cSmrg#endif 398070f7c90cSmrg 398170f7c90cSmrg#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 398270f7c90cSmrgint 398370f7c90cSmrgmain () 398470f7c90cSmrg{ 398570f7c90cSmrg int i; 398670f7c90cSmrg for (i = 0; i < 256; i++) 398770f7c90cSmrg if (XOR (islower (i), ISLOWER (i)) 398870f7c90cSmrg || toupper (i) != TOUPPER (i)) 398970f7c90cSmrg return 2; 399070f7c90cSmrg return 0; 399170f7c90cSmrg} 399270f7c90cSmrg_ACEOF 39937dff02feSmrgif ac_fn_c_try_run "$LINENO"; then : 399470f7c90cSmrg 39957dff02feSmrgelse 39967dff02feSmrg ac_cv_header_stdc=no 399770f7c90cSmrgfi 39987dff02feSmrgrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 39997dff02feSmrg conftest.$ac_objext conftest.beam conftest.$ac_ext 400070f7c90cSmrgfi 400170f7c90cSmrg 400270f7c90cSmrgfi 400370f7c90cSmrgfi 40047dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 400570f7c90cSmrg$as_echo "$ac_cv_header_stdc" >&6; } 400670f7c90cSmrgif test $ac_cv_header_stdc = yes; then 400770f7c90cSmrg 40087dff02feSmrg$as_echo "#define STDC_HEADERS 1" >>confdefs.h 400970f7c90cSmrg 401070f7c90cSmrgfi 401170f7c90cSmrg 401270f7c90cSmrg# On IRIX 5.3, sys/types and inttypes.h are conflicting. 40137dff02feSmrgfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 40147dff02feSmrg inttypes.h stdint.h unistd.h 40157dff02feSmrgdo : 40167dff02feSmrg as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 40177dff02feSmrgac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 40187dff02feSmrg" 401969a1fe56Smrgif eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 40207dff02feSmrg cat >>confdefs.h <<_ACEOF 40217dff02feSmrg#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 40227dff02feSmrg_ACEOF 40237dff02feSmrg 40247dff02feSmrgfi 40257dff02feSmrg 40267dff02feSmrgdone 402770f7c90cSmrg 402870f7c90cSmrg 402970f7c90cSmrg 40307dff02feSmrg ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 403169a1fe56Smrgif test "x$ac_cv_header_minix_config_h" = xyes; then : 40327dff02feSmrg MINIX=yes 40337dff02feSmrgelse 40347dff02feSmrg MINIX= 40357dff02feSmrgfi 403670f7c90cSmrg 403770f7c90cSmrg 40387dff02feSmrg if test "$MINIX" = yes; then 403970f7c90cSmrg 40407dff02feSmrg$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h 404170f7c90cSmrg 404270f7c90cSmrg 40437dff02feSmrg$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h 404470f7c90cSmrg 40457dff02feSmrg 40467dff02feSmrg$as_echo "#define _MINIX 1" >>confdefs.h 40477dff02feSmrg 40487dff02feSmrg fi 40497dff02feSmrg 40507dff02feSmrg 40517dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 40527dff02feSmrg$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 405369a1fe56Smrgif ${ac_cv_safe_to_define___extensions__+:} false; then : 405470f7c90cSmrg $as_echo_n "(cached) " >&6 405570f7c90cSmrgelse 40567dff02feSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 405770f7c90cSmrg/* end confdefs.h. */ 405870f7c90cSmrg 40597dff02feSmrg# define __EXTENSIONS__ 1 40607dff02feSmrg $ac_includes_default 40617dff02feSmrgint 40627dff02feSmrgmain () 40637dff02feSmrg{ 40647dff02feSmrg 40657dff02feSmrg ; 40667dff02feSmrg return 0; 40677dff02feSmrg} 406870f7c90cSmrg_ACEOF 40697dff02feSmrgif ac_fn_c_try_compile "$LINENO"; then : 40707dff02feSmrg ac_cv_safe_to_define___extensions__=yes 407170f7c90cSmrgelse 40727dff02feSmrg ac_cv_safe_to_define___extensions__=no 407370f7c90cSmrgfi 407470f7c90cSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 407570f7c90cSmrgfi 40767dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 40777dff02feSmrg$as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 40787dff02feSmrg test $ac_cv_safe_to_define___extensions__ = yes && 40797dff02feSmrg $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h 40807dff02feSmrg 40817dff02feSmrg $as_echo "#define _ALL_SOURCE 1" >>confdefs.h 40827dff02feSmrg 40837dff02feSmrg $as_echo "#define _GNU_SOURCE 1" >>confdefs.h 40847dff02feSmrg 40857dff02feSmrg $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 40867dff02feSmrg 40877dff02feSmrg $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h 40887dff02feSmrg 40897dff02feSmrg 409069a1fe56Smrg# Make sure we can run config.sub. 409169a1fe56Smrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 409269a1fe56Smrg as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 409369a1fe56Smrg 409469a1fe56Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 409569a1fe56Smrg$as_echo_n "checking build system type... " >&6; } 409669a1fe56Smrgif ${ac_cv_build+:} false; then : 409769a1fe56Smrg $as_echo_n "(cached) " >&6 409869a1fe56Smrgelse 409969a1fe56Smrg ac_build_alias=$build_alias 410069a1fe56Smrgtest "x$ac_build_alias" = x && 410169a1fe56Smrg ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 410269a1fe56Smrgtest "x$ac_build_alias" = x && 410369a1fe56Smrg as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 410469a1fe56Smrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 410569a1fe56Smrg as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 410669a1fe56Smrg 410769a1fe56Smrgfi 410869a1fe56Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 410969a1fe56Smrg$as_echo "$ac_cv_build" >&6; } 411069a1fe56Smrgcase $ac_cv_build in 411169a1fe56Smrg*-*-*) ;; 411269a1fe56Smrg*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 411369a1fe56Smrgesac 411469a1fe56Smrgbuild=$ac_cv_build 411569a1fe56Smrgac_save_IFS=$IFS; IFS='-' 411669a1fe56Smrgset x $ac_cv_build 411769a1fe56Smrgshift 411869a1fe56Smrgbuild_cpu=$1 411969a1fe56Smrgbuild_vendor=$2 412069a1fe56Smrgshift; shift 412169a1fe56Smrg# Remember, the first character of IFS is used to create $*, 412269a1fe56Smrg# except with old shells: 412369a1fe56Smrgbuild_os=$* 412469a1fe56SmrgIFS=$ac_save_IFS 412569a1fe56Smrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 412669a1fe56Smrg 412769a1fe56Smrg 412869a1fe56Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 412969a1fe56Smrg$as_echo_n "checking host system type... " >&6; } 413069a1fe56Smrgif ${ac_cv_host+:} false; then : 413169a1fe56Smrg $as_echo_n "(cached) " >&6 413269a1fe56Smrgelse 413369a1fe56Smrg if test "x$host_alias" = x; then 413469a1fe56Smrg ac_cv_host=$ac_cv_build 413569a1fe56Smrgelse 413669a1fe56Smrg ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 413769a1fe56Smrg as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 413869a1fe56Smrgfi 413969a1fe56Smrg 414069a1fe56Smrgfi 414169a1fe56Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 414269a1fe56Smrg$as_echo "$ac_cv_host" >&6; } 414369a1fe56Smrgcase $ac_cv_host in 414469a1fe56Smrg*-*-*) ;; 414569a1fe56Smrg*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 414669a1fe56Smrgesac 414769a1fe56Smrghost=$ac_cv_host 414869a1fe56Smrgac_save_IFS=$IFS; IFS='-' 414969a1fe56Smrgset x $ac_cv_host 415069a1fe56Smrgshift 415169a1fe56Smrghost_cpu=$1 415269a1fe56Smrghost_vendor=$2 415369a1fe56Smrgshift; shift 415469a1fe56Smrg# Remember, the first character of IFS is used to create $*, 415569a1fe56Smrg# except with old shells: 415669a1fe56Smrghost_os=$* 415769a1fe56SmrgIFS=$ac_save_IFS 415869a1fe56Smrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 415969a1fe56Smrg 416069a1fe56Smrg 416169a1fe56Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strnlen" >&5 41627dff02feSmrg$as_echo_n "checking for working strnlen... " >&6; } 416369a1fe56Smrgif ${ac_cv_func_strnlen_working+:} false; then : 41647dff02feSmrg $as_echo_n "(cached) " >&6 41657dff02feSmrgelse 41667dff02feSmrg if test "$cross_compiling" = yes; then : 416769a1fe56Smrg # Guess no on AIX systems, yes otherwise. 416869a1fe56Smrg case "$host_os" in 416969a1fe56Smrg aix*) ac_cv_func_strnlen_working=no;; 417069a1fe56Smrg *) ac_cv_func_strnlen_working=yes;; 417169a1fe56Smrg esac 41727dff02feSmrgelse 41737dff02feSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41747dff02feSmrg/* end confdefs.h. */ 41757dff02feSmrg$ac_includes_default 41767dff02feSmrgint 41777dff02feSmrgmain () 41787dff02feSmrg{ 41797dff02feSmrg 41807dff02feSmrg#define S "foobar" 41817dff02feSmrg#define S_LEN (sizeof S - 1) 41827dff02feSmrg 41837dff02feSmrg /* At least one implementation is buggy: that of AIX 4.3 would 41847dff02feSmrg give strnlen (S, 1) == 3. */ 41857dff02feSmrg 41867dff02feSmrg int i; 41877dff02feSmrg for (i = 0; i < S_LEN + 1; ++i) 41887dff02feSmrg { 41897dff02feSmrg int expected = i <= S_LEN ? i : S_LEN; 41907dff02feSmrg if (strnlen (S, i) != expected) 41917dff02feSmrg return 1; 41927dff02feSmrg } 41937dff02feSmrg return 0; 41947dff02feSmrg 41957dff02feSmrg ; 41967dff02feSmrg return 0; 41977dff02feSmrg} 419870f7c90cSmrg_ACEOF 41997dff02feSmrgif ac_fn_c_try_run "$LINENO"; then : 42007dff02feSmrg ac_cv_func_strnlen_working=yes 42017dff02feSmrgelse 42027dff02feSmrg ac_cv_func_strnlen_working=no 42037dff02feSmrgfi 42047dff02feSmrgrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 42057dff02feSmrg conftest.$ac_objext conftest.beam conftest.$ac_ext 42067dff02feSmrgfi 420770f7c90cSmrg 420870f7c90cSmrgfi 42097dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strnlen_working" >&5 42107dff02feSmrg$as_echo "$ac_cv_func_strnlen_working" >&6; } 42117dff02feSmrgtest $ac_cv_func_strnlen_working = no && case " $LIBOBJS " in 42127dff02feSmrg *" strnlen.$ac_objext "* ) ;; 42137dff02feSmrg *) LIBOBJS="$LIBOBJS strnlen.$ac_objext" 42147dff02feSmrg ;; 42157dff02feSmrgesac 421670f7c90cSmrg 421770f7c90cSmrg 42187dff02feSmrgif test "x$ac_cv_func_strnlen_working" = xyes; then 421970f7c90cSmrg 42207dff02feSmrg$as_echo "#define HAVE_STRNLEN 1" >>confdefs.h 42217dff02feSmrg 42227dff02feSmrgfi 42237dff02feSmrg 42247dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 422570f7c90cSmrg$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 422669a1fe56Smrgif ${ac_cv_prog_cc_c99+:} false; then : 422770f7c90cSmrg $as_echo_n "(cached) " >&6 422870f7c90cSmrgelse 422970f7c90cSmrg ac_cv_prog_cc_c99=no 423070f7c90cSmrgac_save_CC=$CC 42317dff02feSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 423270f7c90cSmrg/* end confdefs.h. */ 423370f7c90cSmrg#include <stdarg.h> 423470f7c90cSmrg#include <stdbool.h> 423570f7c90cSmrg#include <stdlib.h> 423670f7c90cSmrg#include <wchar.h> 423770f7c90cSmrg#include <stdio.h> 423870f7c90cSmrg 423970f7c90cSmrg// Check varargs macros. These examples are taken from C99 6.10.3.5. 424070f7c90cSmrg#define debug(...) fprintf (stderr, __VA_ARGS__) 424170f7c90cSmrg#define showlist(...) puts (#__VA_ARGS__) 424270f7c90cSmrg#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 424370f7c90cSmrgstatic void 424470f7c90cSmrgtest_varargs_macros (void) 424570f7c90cSmrg{ 424670f7c90cSmrg int x = 1234; 424770f7c90cSmrg int y = 5678; 424870f7c90cSmrg debug ("Flag"); 424970f7c90cSmrg debug ("X = %d\n", x); 425070f7c90cSmrg showlist (The first, second, and third items.); 425170f7c90cSmrg report (x>y, "x is %d but y is %d", x, y); 425270f7c90cSmrg} 425370f7c90cSmrg 425470f7c90cSmrg// Check long long types. 425570f7c90cSmrg#define BIG64 18446744073709551615ull 425670f7c90cSmrg#define BIG32 4294967295ul 425770f7c90cSmrg#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 425870f7c90cSmrg#if !BIG_OK 425970f7c90cSmrg your preprocessor is broken; 426070f7c90cSmrg#endif 426170f7c90cSmrg#if BIG_OK 426270f7c90cSmrg#else 426370f7c90cSmrg your preprocessor is broken; 426470f7c90cSmrg#endif 426570f7c90cSmrgstatic long long int bignum = -9223372036854775807LL; 426670f7c90cSmrgstatic unsigned long long int ubignum = BIG64; 426770f7c90cSmrg 426870f7c90cSmrgstruct incomplete_array 426970f7c90cSmrg{ 427070f7c90cSmrg int datasize; 427170f7c90cSmrg double data[]; 427270f7c90cSmrg}; 427370f7c90cSmrg 427470f7c90cSmrgstruct named_init { 427570f7c90cSmrg int number; 427670f7c90cSmrg const wchar_t *name; 427770f7c90cSmrg double average; 427870f7c90cSmrg}; 427970f7c90cSmrg 428070f7c90cSmrgtypedef const char *ccp; 428170f7c90cSmrg 428270f7c90cSmrgstatic inline int 428370f7c90cSmrgtest_restrict (ccp restrict text) 428470f7c90cSmrg{ 428570f7c90cSmrg // See if C++-style comments work. 428670f7c90cSmrg // Iterate through items via the restricted pointer. 428770f7c90cSmrg // Also check for declarations in for loops. 428870f7c90cSmrg for (unsigned int i = 0; *(text+i) != '\0'; ++i) 428970f7c90cSmrg continue; 429070f7c90cSmrg return 0; 429170f7c90cSmrg} 429270f7c90cSmrg 429370f7c90cSmrg// Check varargs and va_copy. 429470f7c90cSmrgstatic void 429570f7c90cSmrgtest_varargs (const char *format, ...) 429670f7c90cSmrg{ 429770f7c90cSmrg va_list args; 429870f7c90cSmrg va_start (args, format); 429970f7c90cSmrg va_list args_copy; 430070f7c90cSmrg va_copy (args_copy, args); 430170f7c90cSmrg 430270f7c90cSmrg const char *str; 430370f7c90cSmrg int number; 430470f7c90cSmrg float fnumber; 430570f7c90cSmrg 430670f7c90cSmrg while (*format) 430770f7c90cSmrg { 430870f7c90cSmrg switch (*format++) 430970f7c90cSmrg { 431070f7c90cSmrg case 's': // string 431170f7c90cSmrg str = va_arg (args_copy, const char *); 431270f7c90cSmrg break; 431370f7c90cSmrg case 'd': // int 431470f7c90cSmrg number = va_arg (args_copy, int); 431570f7c90cSmrg break; 431670f7c90cSmrg case 'f': // float 431770f7c90cSmrg fnumber = va_arg (args_copy, double); 431870f7c90cSmrg break; 431970f7c90cSmrg default: 432070f7c90cSmrg break; 432170f7c90cSmrg } 432270f7c90cSmrg } 432370f7c90cSmrg va_end (args_copy); 432470f7c90cSmrg va_end (args); 432570f7c90cSmrg} 432670f7c90cSmrg 432770f7c90cSmrgint 432870f7c90cSmrgmain () 432970f7c90cSmrg{ 433070f7c90cSmrg 433170f7c90cSmrg // Check bool. 433270f7c90cSmrg _Bool success = false; 433370f7c90cSmrg 433470f7c90cSmrg // Check restrict. 433570f7c90cSmrg if (test_restrict ("String literal") == 0) 433670f7c90cSmrg success = true; 433770f7c90cSmrg char *restrict newvar = "Another string"; 433870f7c90cSmrg 433970f7c90cSmrg // Check varargs. 434070f7c90cSmrg test_varargs ("s, d' f .", "string", 65, 34.234); 434170f7c90cSmrg test_varargs_macros (); 434270f7c90cSmrg 434370f7c90cSmrg // Check flexible array members. 434470f7c90cSmrg struct incomplete_array *ia = 434570f7c90cSmrg malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 434670f7c90cSmrg ia->datasize = 10; 434770f7c90cSmrg for (int i = 0; i < ia->datasize; ++i) 434870f7c90cSmrg ia->data[i] = i * 1.234; 434970f7c90cSmrg 435070f7c90cSmrg // Check named initializers. 435170f7c90cSmrg struct named_init ni = { 435270f7c90cSmrg .number = 34, 435370f7c90cSmrg .name = L"Test wide string", 435470f7c90cSmrg .average = 543.34343, 435570f7c90cSmrg }; 435670f7c90cSmrg 435770f7c90cSmrg ni.number = 58; 435870f7c90cSmrg 435970f7c90cSmrg int dynamic_array[ni.number]; 436070f7c90cSmrg dynamic_array[ni.number - 1] = 543; 436170f7c90cSmrg 436270f7c90cSmrg // work around unused variable warnings 436370f7c90cSmrg return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 436470f7c90cSmrg || dynamic_array[ni.number - 1] != 543); 436570f7c90cSmrg 43667dff02feSmrg ; 43677dff02feSmrg return 0; 43687dff02feSmrg} 43697dff02feSmrg_ACEOF 43707dff02feSmrgfor ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 43717dff02feSmrgdo 43727dff02feSmrg CC="$ac_save_CC $ac_arg" 43737dff02feSmrg if ac_fn_c_try_compile "$LINENO"; then : 43747dff02feSmrg ac_cv_prog_cc_c99=$ac_arg 43757dff02feSmrgfi 43767dff02feSmrgrm -f core conftest.err conftest.$ac_objext 43777dff02feSmrg test "x$ac_cv_prog_cc_c99" != "xno" && break 43787dff02feSmrgdone 43797dff02feSmrgrm -f conftest.$ac_ext 43807dff02feSmrgCC=$ac_save_CC 43817dff02feSmrg 43827dff02feSmrgfi 43837dff02feSmrg# AC_CACHE_VAL 43847dff02feSmrgcase "x$ac_cv_prog_cc_c99" in 43857dff02feSmrg x) 43867dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 43877dff02feSmrg$as_echo "none needed" >&6; } ;; 43887dff02feSmrg xno) 43897dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 43907dff02feSmrg$as_echo "unsupported" >&6; } ;; 43917dff02feSmrg *) 43927dff02feSmrg CC="$CC $ac_cv_prog_cc_c99" 43937dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 43947dff02feSmrg$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 43957dff02feSmrgesac 43967dff02feSmrgif test "x$ac_cv_prog_cc_c99" != xno; then : 43977dff02feSmrg 43987dff02feSmrgfi 43997dff02feSmrg 44007dff02feSmrg 44017dff02feSmrg 44027dff02feSmrg 44037dff02feSmrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 44047dff02feSmrg if test -n "$ac_tool_prefix"; then 44057dff02feSmrg # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 44067dff02feSmrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2 44077dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 44087dff02feSmrg$as_echo_n "checking for $ac_word... " >&6; } 440969a1fe56Smrgif ${ac_cv_path_PKG_CONFIG+:} false; then : 44107dff02feSmrg $as_echo_n "(cached) " >&6 44117dff02feSmrgelse 44127dff02feSmrg case $PKG_CONFIG in 44137dff02feSmrg [\\/]* | ?:[\\/]*) 44147dff02feSmrg ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 44157dff02feSmrg ;; 44167dff02feSmrg *) 44177dff02feSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 44187dff02feSmrgfor as_dir in $PATH 44197dff02feSmrgdo 44207dff02feSmrg IFS=$as_save_IFS 44217dff02feSmrg test -z "$as_dir" && as_dir=. 44227dff02feSmrg for ac_exec_ext in '' $ac_executable_extensions; do 44237dff02feSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 44247dff02feSmrg ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 44257dff02feSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 44267dff02feSmrg break 2 44277dff02feSmrg fi 44287dff02feSmrgdone 44297dff02feSmrg done 44307dff02feSmrgIFS=$as_save_IFS 44317dff02feSmrg 44327dff02feSmrg ;; 44337dff02feSmrgesac 44347dff02feSmrgfi 44357dff02feSmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG 44367dff02feSmrgif test -n "$PKG_CONFIG"; then 44377dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 44387dff02feSmrg$as_echo "$PKG_CONFIG" >&6; } 44397dff02feSmrgelse 44407dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 44417dff02feSmrg$as_echo "no" >&6; } 44427dff02feSmrgfi 44437dff02feSmrg 44447dff02feSmrg 44457dff02feSmrgfi 44467dff02feSmrgif test -z "$ac_cv_path_PKG_CONFIG"; then 44477dff02feSmrg ac_pt_PKG_CONFIG=$PKG_CONFIG 44487dff02feSmrg # Extract the first word of "pkg-config", so it can be a program name with args. 44497dff02feSmrgset dummy pkg-config; ac_word=$2 44507dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 44517dff02feSmrg$as_echo_n "checking for $ac_word... " >&6; } 445269a1fe56Smrgif ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 44537dff02feSmrg $as_echo_n "(cached) " >&6 44547dff02feSmrgelse 44557dff02feSmrg case $ac_pt_PKG_CONFIG in 44567dff02feSmrg [\\/]* | ?:[\\/]*) 44577dff02feSmrg ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 44587dff02feSmrg ;; 44597dff02feSmrg *) 44607dff02feSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 44617dff02feSmrgfor as_dir in $PATH 44627dff02feSmrgdo 44637dff02feSmrg IFS=$as_save_IFS 44647dff02feSmrg test -z "$as_dir" && as_dir=. 44657dff02feSmrg for ac_exec_ext in '' $ac_executable_extensions; do 44667dff02feSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 44677dff02feSmrg ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 44687dff02feSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 44697dff02feSmrg break 2 44707dff02feSmrg fi 44717dff02feSmrgdone 44727dff02feSmrg done 44737dff02feSmrgIFS=$as_save_IFS 44747dff02feSmrg 44757dff02feSmrg ;; 447670f7c90cSmrgesac 44777dff02feSmrgfi 44787dff02feSmrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 44797dff02feSmrgif test -n "$ac_pt_PKG_CONFIG"; then 44807dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 44817dff02feSmrg$as_echo "$ac_pt_PKG_CONFIG" >&6; } 448270f7c90cSmrgelse 44837dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 44847dff02feSmrg$as_echo "no" >&6; } 448570f7c90cSmrgfi 448670f7c90cSmrg 44877dff02feSmrg if test "x$ac_pt_PKG_CONFIG" = x; then 44887dff02feSmrg PKG_CONFIG="" 44897dff02feSmrg else 44907dff02feSmrg case $cross_compiling:$ac_tool_warned in 44917dff02feSmrgyes:) 44927dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 44937dff02feSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 44947dff02feSmrgac_tool_warned=yes ;; 449570f7c90cSmrgesac 44967dff02feSmrg PKG_CONFIG=$ac_pt_PKG_CONFIG 44977dff02feSmrg fi 44987dff02feSmrgelse 44997dff02feSmrg PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 45007dff02feSmrgfi 450170f7c90cSmrg 45027dff02feSmrgfi 45037dff02feSmrgif test -n "$PKG_CONFIG"; then 45047dff02feSmrg _pkg_min_version=0.9.0 45057dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 45067dff02feSmrg$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 45077dff02feSmrg if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 45087dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 45097dff02feSmrg$as_echo "yes" >&6; } 45107dff02feSmrg else 45117dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 45127dff02feSmrg$as_echo "no" >&6; } 45137dff02feSmrg PKG_CONFIG="" 45147dff02feSmrg fi 451570f7c90cSmrg 45167dff02feSmrgfi 451769a1fe56Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 451869a1fe56Smrg$as_echo_n "checking for a sed that does not truncate output... " >&6; } 451969a1fe56Smrgif ${ac_cv_path_SED+:} false; then : 452070f7c90cSmrg $as_echo_n "(cached) " >&6 452170f7c90cSmrgelse 452269a1fe56Smrg ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 452369a1fe56Smrg for ac_i in 1 2 3 4 5 6 7; do 452469a1fe56Smrg ac_script="$ac_script$as_nl$ac_script" 452569a1fe56Smrg done 452669a1fe56Smrg echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 452769a1fe56Smrg { ac_script=; unset ac_script;} 452869a1fe56Smrg if test -z "$SED"; then 452969a1fe56Smrg ac_path_SED_found=false 453069a1fe56Smrg # Loop through the user's path and test for each of PROGNAME-LIST 453169a1fe56Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 453269a1fe56Smrgfor as_dir in $PATH 453369a1fe56Smrgdo 453469a1fe56Smrg IFS=$as_save_IFS 453569a1fe56Smrg test -z "$as_dir" && as_dir=. 453669a1fe56Smrg for ac_prog in sed gsed; do 453769a1fe56Smrg for ac_exec_ext in '' $ac_executable_extensions; do 453869a1fe56Smrg ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 453969a1fe56Smrg { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 454069a1fe56Smrg# Check for GNU ac_path_SED and select it if it is found. 454169a1fe56Smrg # Check for GNU $ac_path_SED 454269a1fe56Smrgcase `"$ac_path_SED" --version 2>&1` in 454369a1fe56Smrg*GNU*) 454469a1fe56Smrg ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 454569a1fe56Smrg*) 454669a1fe56Smrg ac_count=0 454769a1fe56Smrg $as_echo_n 0123456789 >"conftest.in" 454869a1fe56Smrg while : 454969a1fe56Smrg do 455069a1fe56Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 455169a1fe56Smrg mv "conftest.tmp" "conftest.in" 455269a1fe56Smrg cp "conftest.in" "conftest.nl" 455369a1fe56Smrg $as_echo '' >> "conftest.nl" 455469a1fe56Smrg "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 455569a1fe56Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 455669a1fe56Smrg as_fn_arith $ac_count + 1 && ac_count=$as_val 455769a1fe56Smrg if test $ac_count -gt ${ac_path_SED_max-0}; then 455869a1fe56Smrg # Best one so far, save it but keep looking for a better one 455969a1fe56Smrg ac_cv_path_SED="$ac_path_SED" 456069a1fe56Smrg ac_path_SED_max=$ac_count 456169a1fe56Smrg fi 456269a1fe56Smrg # 10*(2^10) chars as input seems more than enough 456369a1fe56Smrg test $ac_count -gt 10 && break 456469a1fe56Smrg done 456569a1fe56Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 456670f7c90cSmrgesac 456770f7c90cSmrg 456869a1fe56Smrg $ac_path_SED_found && break 3 456969a1fe56Smrg done 457069a1fe56Smrg done 457169a1fe56Smrg done 457269a1fe56SmrgIFS=$as_save_IFS 457369a1fe56Smrg if test -z "$ac_cv_path_SED"; then 457469a1fe56Smrg as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 457569a1fe56Smrg fi 457670f7c90cSmrgelse 457769a1fe56Smrg ac_cv_path_SED=$SED 457870f7c90cSmrgfi 457970f7c90cSmrg 458070f7c90cSmrgfi 458169a1fe56Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 458269a1fe56Smrg$as_echo "$ac_cv_path_SED" >&6; } 458369a1fe56Smrg SED="$ac_cv_path_SED" 458469a1fe56Smrg rm -f conftest.sed 458570f7c90cSmrg 458670f7c90cSmrg 458770f7c90cSmrg 458870f7c90cSmrg 458970f7c90cSmrg 459070f7c90cSmrgif test "x$GCC" = xyes ; then 459170f7c90cSmrg CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \ 459270f7c90cSmrg-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \ 45937dff02feSmrg-Wbad-function-cast -Wformat=2" 459470f7c90cSmrg case `$CC -dumpversion` in 459570f7c90cSmrg 3.4.* | 4.*) 459670f7c90cSmrg CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement" 459770f7c90cSmrg ;; 459870f7c90cSmrg esac 459970f7c90cSmrgelse 46007dff02feSmrg ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 460169a1fe56Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then : 460270f7c90cSmrg SUNCC="yes" 460370f7c90cSmrgelse 460470f7c90cSmrg SUNCC="no" 460570f7c90cSmrgfi 460670f7c90cSmrg 460770f7c90cSmrg if test "x$SUNCC" = "xyes"; then 460870f7c90cSmrg CWARNFLAGS="-v" 460970f7c90cSmrg fi 461070f7c90cSmrgfi 461170f7c90cSmrg 461270f7c90cSmrg 461370f7c90cSmrg 461469a1fe56Smrg# If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89 461570f7c90cSmrg 461670f7c90cSmrg 461770f7c90cSmrg 461870f7c90cSmrg# Check whether --enable-strict-compilation was given. 46197dff02feSmrgif test "${enable_strict_compilation+set}" = set; then : 462070f7c90cSmrg enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval 462170f7c90cSmrgelse 462270f7c90cSmrg STRICT_COMPILE=no 462370f7c90cSmrgfi 462470f7c90cSmrg 462570f7c90cSmrgif test "x$STRICT_COMPILE" = "xyes"; then 46267dff02feSmrg ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 462769a1fe56Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then : 462870f7c90cSmrg SUNCC="yes" 462970f7c90cSmrgelse 463070f7c90cSmrg SUNCC="no" 463170f7c90cSmrgfi 463270f7c90cSmrg 46337dff02feSmrg ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" 463469a1fe56Smrgif test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then : 463570f7c90cSmrg INTELCC="yes" 463670f7c90cSmrgelse 463770f7c90cSmrg INTELCC="no" 463870f7c90cSmrgfi 463970f7c90cSmrg 464070f7c90cSmrg if test "x$GCC" = xyes ; then 464170f7c90cSmrg STRICT_CFLAGS="-pedantic -Werror" 464270f7c90cSmrg elif test "x$SUNCC" = "xyes"; then 464370f7c90cSmrg STRICT_CFLAGS="-errwarn" 464470f7c90cSmrg elif test "x$INTELCC" = "xyes"; then 464570f7c90cSmrg STRICT_CFLAGS="-Werror" 464670f7c90cSmrg fi 464770f7c90cSmrgfi 464870f7c90cSmrgCWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS" 464970f7c90cSmrg 465070f7c90cSmrg 465170f7c90cSmrg 465270f7c90cSmrg 465370f7c90cSmrgcat >>confdefs.h <<_ACEOF 465470f7c90cSmrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 465570f7c90cSmrg_ACEOF 465670f7c90cSmrg 465770f7c90cSmrg PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 465870f7c90cSmrg if test "x$PVM" = "x"; then 465970f7c90cSmrg PVM="0" 466070f7c90cSmrg fi 466170f7c90cSmrg 466270f7c90cSmrgcat >>confdefs.h <<_ACEOF 466370f7c90cSmrg#define PACKAGE_VERSION_MINOR $PVM 466470f7c90cSmrg_ACEOF 466570f7c90cSmrg 466670f7c90cSmrg PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 466770f7c90cSmrg if test "x$PVP" = "x"; then 466870f7c90cSmrg PVP="0" 466970f7c90cSmrg fi 467070f7c90cSmrg 467170f7c90cSmrgcat >>confdefs.h <<_ACEOF 467270f7c90cSmrg#define PACKAGE_VERSION_PATCHLEVEL $PVP 467370f7c90cSmrg_ACEOF 467470f7c90cSmrg 467570f7c90cSmrg 467670f7c90cSmrg 46777dff02feSmrgCHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \ 46787dff02feSmrgmv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \ 46797dff02feSmrg|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \ 468070f7c90cSmrgecho 'git directory not found: installing possibly empty changelog.' >&2)" 468170f7c90cSmrg 46827dff02feSmrg 46837dff02feSmrg 46847dff02feSmrg 46857dff02feSmrgmacros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros` 46867dff02feSmrgINSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \ 46877dff02feSmrgmv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \ 46887dff02feSmrg|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \ 46897dff02feSmrgecho 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)" 469070f7c90cSmrg 469170f7c90cSmrg 469270f7c90cSmrg 469370f7c90cSmrg 469470f7c90cSmrg 469569a1fe56Smrg 469670f7c90cSmrgif test x$APP_MAN_SUFFIX = x ; then 469770f7c90cSmrg APP_MAN_SUFFIX=1 469870f7c90cSmrgfi 469970f7c90cSmrgif test x$APP_MAN_DIR = x ; then 470070f7c90cSmrg APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 470170f7c90cSmrgfi 470270f7c90cSmrg 470370f7c90cSmrgif test x$LIB_MAN_SUFFIX = x ; then 470470f7c90cSmrg LIB_MAN_SUFFIX=3 470570f7c90cSmrgfi 470670f7c90cSmrgif test x$LIB_MAN_DIR = x ; then 470770f7c90cSmrg LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 470870f7c90cSmrgfi 470970f7c90cSmrg 471070f7c90cSmrgif test x$FILE_MAN_SUFFIX = x ; then 471170f7c90cSmrg case $host_os in 471270f7c90cSmrg solaris*) FILE_MAN_SUFFIX=4 ;; 471370f7c90cSmrg *) FILE_MAN_SUFFIX=5 ;; 471470f7c90cSmrg esac 471570f7c90cSmrgfi 471670f7c90cSmrgif test x$FILE_MAN_DIR = x ; then 471770f7c90cSmrg FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 471870f7c90cSmrgfi 471970f7c90cSmrg 472070f7c90cSmrgif test x$MISC_MAN_SUFFIX = x ; then 472170f7c90cSmrg case $host_os in 472270f7c90cSmrg solaris*) MISC_MAN_SUFFIX=5 ;; 472370f7c90cSmrg *) MISC_MAN_SUFFIX=7 ;; 472470f7c90cSmrg esac 472570f7c90cSmrgfi 472670f7c90cSmrgif test x$MISC_MAN_DIR = x ; then 472770f7c90cSmrg MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 472870f7c90cSmrgfi 472970f7c90cSmrg 473070f7c90cSmrgif test x$DRIVER_MAN_SUFFIX = x ; then 473170f7c90cSmrg case $host_os in 473270f7c90cSmrg solaris*) DRIVER_MAN_SUFFIX=7 ;; 473370f7c90cSmrg *) DRIVER_MAN_SUFFIX=4 ;; 473470f7c90cSmrg esac 473570f7c90cSmrgfi 473670f7c90cSmrgif test x$DRIVER_MAN_DIR = x ; then 473770f7c90cSmrg DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 473870f7c90cSmrgfi 473970f7c90cSmrg 474070f7c90cSmrgif test x$ADMIN_MAN_SUFFIX = x ; then 474170f7c90cSmrg case $host_os in 474270f7c90cSmrg solaris*) ADMIN_MAN_SUFFIX=1m ;; 474370f7c90cSmrg *) ADMIN_MAN_SUFFIX=8 ;; 474470f7c90cSmrg esac 474570f7c90cSmrgfi 474670f7c90cSmrgif test x$ADMIN_MAN_DIR = x ; then 474770f7c90cSmrg ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 474870f7c90cSmrgfi 474970f7c90cSmrg 475070f7c90cSmrg 475170f7c90cSmrg 475270f7c90cSmrg 475370f7c90cSmrg 475470f7c90cSmrg 475570f7c90cSmrg 475670f7c90cSmrg 475770f7c90cSmrg 475870f7c90cSmrg 475970f7c90cSmrg 476070f7c90cSmrg 476170f7c90cSmrg 476270f7c90cSmrg 476370f7c90cSmrg 47647dff02feSmrgXORG_MAN_PAGE="X Version 11" 476570f7c90cSmrg 47667dff02feSmrgMAN_SUBSTS="\ 47677dff02feSmrg -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 47687dff02feSmrg -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 47697dff02feSmrg -e 's|__xservername__|Xorg|g' \ 47707dff02feSmrg -e 's|__xconfigfile__|xorg.conf|g' \ 47717dff02feSmrg -e 's|__projectroot__|\$(prefix)|g' \ 477269a1fe56Smrg -e 's|__apploaddir__|\$(appdefaultdir)|g' \ 47737dff02feSmrg -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \ 47747dff02feSmrg -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \ 47757dff02feSmrg -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \ 47767dff02feSmrg -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \ 47777dff02feSmrg -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \ 47787dff02feSmrg -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'" 477970f7c90cSmrg 4780a850946eSmrg 4781a850946eSmrg 47827dff02feSmrg# Check whether --enable-silent-rules was given. 47837dff02feSmrgif test "${enable_silent_rules+set}" = set; then : 47847dff02feSmrg enableval=$enable_silent_rules; 4785a850946eSmrgfi 4786a850946eSmrg 47877dff02feSmrgcase $enable_silent_rules in 47887dff02feSmrgyes) AM_DEFAULT_VERBOSITY=0;; 47897dff02feSmrgno) AM_DEFAULT_VERBOSITY=1;; 47907dff02feSmrg*) AM_DEFAULT_VERBOSITY=0;; 47917dff02feSmrgesac 47927dff02feSmrgAM_BACKSLASH='\' 4793a850946eSmrg 47947dff02feSmrg 47957dff02feSmrg 47967dff02feSmrg# Checks for pkg-config packages 4797a850946eSmrg 4798a850946eSmrgpkg_failed=no 47997dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XLSCLIENTS" >&5 480070f7c90cSmrg$as_echo_n "checking for XLSCLIENTS... " >&6; } 480170f7c90cSmrg 480270f7c90cSmrgif test -n "$XLSCLIENTS_CFLAGS"; then 480370f7c90cSmrg pkg_cv_XLSCLIENTS_CFLAGS="$XLSCLIENTS_CFLAGS" 480470f7c90cSmrg elif test -n "$PKG_CONFIG"; then 480570f7c90cSmrg if test -n "$PKG_CONFIG" && \ 48067dff02feSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb xcb-atom\""; } >&5 48077dff02feSmrg ($PKG_CONFIG --exists --print-errors "xcb xcb-atom") 2>&5 4808a850946eSmrg ac_status=$? 48097dff02feSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 48107dff02feSmrg test $ac_status = 0; }; then 48117dff02feSmrg pkg_cv_XLSCLIENTS_CFLAGS=`$PKG_CONFIG --cflags "xcb xcb-atom" 2>/dev/null` 4812a850946eSmrgelse 4813a850946eSmrg pkg_failed=yes 4814a850946eSmrgfi 481570f7c90cSmrg else 481670f7c90cSmrg pkg_failed=untried 4817a850946eSmrgfi 481870f7c90cSmrgif test -n "$XLSCLIENTS_LIBS"; then 481970f7c90cSmrg pkg_cv_XLSCLIENTS_LIBS="$XLSCLIENTS_LIBS" 482070f7c90cSmrg elif test -n "$PKG_CONFIG"; then 482170f7c90cSmrg if test -n "$PKG_CONFIG" && \ 48227dff02feSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb xcb-atom\""; } >&5 48237dff02feSmrg ($PKG_CONFIG --exists --print-errors "xcb xcb-atom") 2>&5 4824a850946eSmrg ac_status=$? 48257dff02feSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 48267dff02feSmrg test $ac_status = 0; }; then 48277dff02feSmrg pkg_cv_XLSCLIENTS_LIBS=`$PKG_CONFIG --libs "xcb xcb-atom" 2>/dev/null` 4828a850946eSmrgelse 4829a850946eSmrg pkg_failed=yes 4830a850946eSmrgfi 483170f7c90cSmrg else 483270f7c90cSmrg pkg_failed=untried 4833a850946eSmrgfi 4834a850946eSmrg 4835a850946eSmrg 4836a850946eSmrg 4837a850946eSmrgif test $pkg_failed = yes; then 4838a850946eSmrg 4839a850946eSmrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 4840a850946eSmrg _pkg_short_errors_supported=yes 4841a850946eSmrgelse 4842a850946eSmrg _pkg_short_errors_supported=no 4843a850946eSmrgfi 4844a850946eSmrg if test $_pkg_short_errors_supported = yes; then 48457dff02feSmrg XLSCLIENTS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb xcb-atom" 2>&1` 4846a850946eSmrg else 48477dff02feSmrg XLSCLIENTS_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb xcb-atom" 2>&1` 4848a850946eSmrg fi 4849a850946eSmrg # Put the nasty error message in config.log where it belongs 4850a850946eSmrg echo "$XLSCLIENTS_PKG_ERRORS" >&5 4851a850946eSmrg 485269a1fe56Smrg as_fn_error $? "Package requirements (xcb xcb-atom) were not met: 4853a850946eSmrg 4854a850946eSmrg$XLSCLIENTS_PKG_ERRORS 4855a850946eSmrg 4856a850946eSmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 4857a850946eSmrginstalled software in a non-standard prefix. 4858a850946eSmrg 4859a850946eSmrgAlternatively, you may set the environment variables XLSCLIENTS_CFLAGS 4860a850946eSmrgand XLSCLIENTS_LIBS to avoid the need to call pkg-config. 4861a850946eSmrgSee the pkg-config man page for more details. 48627dff02feSmrg" "$LINENO" 5 4863a850946eSmrgelif test $pkg_failed = untried; then 48647dff02feSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 486570f7c90cSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 486669a1fe56Smrgas_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 4867a850946eSmrgis in your PATH or set the PKG_CONFIG environment variable to the full 4868a850946eSmrgpath to pkg-config. 4869a850946eSmrg 4870a850946eSmrgAlternatively, you may set the environment variables XLSCLIENTS_CFLAGS 4871a850946eSmrgand XLSCLIENTS_LIBS to avoid the need to call pkg-config. 4872a850946eSmrgSee the pkg-config man page for more details. 4873a850946eSmrg 487470f7c90cSmrgTo get pkg-config, see <http://pkg-config.freedesktop.org/>. 487569a1fe56SmrgSee \`config.log' for more details" "$LINENO" 5; } 4876a850946eSmrgelse 4877a850946eSmrg XLSCLIENTS_CFLAGS=$pkg_cv_XLSCLIENTS_CFLAGS 4878a850946eSmrg XLSCLIENTS_LIBS=$pkg_cv_XLSCLIENTS_LIBS 48797dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 488070f7c90cSmrg$as_echo "yes" >&6; } 4881a850946eSmrg : 4882a850946eSmrgfi 4883a850946eSmrg 488470f7c90cSmrgac_config_files="$ac_config_files Makefile" 4885a850946eSmrg 4886a850946eSmrgcat >confcache <<\_ACEOF 4887a850946eSmrg# This file is a shell script that caches the results of configure 4888a850946eSmrg# tests run on this system so they can be shared between configure 4889a850946eSmrg# scripts and configure runs, see configure's option --config-cache. 4890a850946eSmrg# It is not useful on other systems. If it contains results you don't 4891a850946eSmrg# want to keep, you may remove or edit it. 4892a850946eSmrg# 4893a850946eSmrg# config.status only pays attention to the cache file if you give it 4894a850946eSmrg# the --recheck option to rerun configure. 4895a850946eSmrg# 4896a850946eSmrg# `ac_cv_env_foo' variables (set or unset) will be overridden when 4897a850946eSmrg# loading this file, other *unset* `ac_cv_foo' will be assigned the 4898a850946eSmrg# following values. 4899a850946eSmrg 4900a850946eSmrg_ACEOF 4901a850946eSmrg 4902a850946eSmrg# The following way of writing the cache mishandles newlines in values, 4903a850946eSmrg# but we know of no workaround that is simple, portable, and efficient. 490470f7c90cSmrg# So, we kill variables containing newlines. 4905a850946eSmrg# Ultrix sh set writes to stderr and can't be redirected directly, 4906a850946eSmrg# and sets the high bit in the cache file unless we assign to the vars. 490770f7c90cSmrg( 490870f7c90cSmrg for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 490970f7c90cSmrg eval ac_val=\$$ac_var 491070f7c90cSmrg case $ac_val in #( 491170f7c90cSmrg *${as_nl}*) 491270f7c90cSmrg case $ac_var in #( 49137dff02feSmrg *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 491470f7c90cSmrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 491570f7c90cSmrg esac 491670f7c90cSmrg case $ac_var in #( 491770f7c90cSmrg _ | IFS | as_nl) ;; #( 491870f7c90cSmrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 49197dff02feSmrg *) { eval $ac_var=; unset $ac_var;} ;; 492070f7c90cSmrg esac ;; 492170f7c90cSmrg esac 492270f7c90cSmrg done 492370f7c90cSmrg 4924a850946eSmrg (set) 2>&1 | 492570f7c90cSmrg case $as_nl`(ac_space=' '; set) 2>&1` in #( 492670f7c90cSmrg *${as_nl}ac_space=\ *) 49277dff02feSmrg # `set' does not quote correctly, so add quotes: double-quote 49287dff02feSmrg # substitution turns \\\\ into \\, and sed turns \\ into \. 4929a850946eSmrg sed -n \ 4930a850946eSmrg "s/'/'\\\\''/g; 4931a850946eSmrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 493270f7c90cSmrg ;; #( 4933a850946eSmrg *) 4934a850946eSmrg # `set' quotes correctly as required by POSIX, so do not add quotes. 493570f7c90cSmrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 4936a850946eSmrg ;; 493770f7c90cSmrg esac | 493870f7c90cSmrg sort 493970f7c90cSmrg) | 4940a850946eSmrg sed ' 494170f7c90cSmrg /^ac_cv_env_/b end 4942a850946eSmrg t clear 494370f7c90cSmrg :clear 4944a850946eSmrg s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 4945a850946eSmrg t end 494670f7c90cSmrg s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 494770f7c90cSmrg :end' >>confcache 494870f7c90cSmrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 494970f7c90cSmrg if test -w "$cache_file"; then 495069a1fe56Smrg if test "x$cache_file" != "x/dev/null"; then 49517dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 495270f7c90cSmrg$as_echo "$as_me: updating cache $cache_file" >&6;} 495369a1fe56Smrg if test ! -f "$cache_file" || test -h "$cache_file"; then 495469a1fe56Smrg cat confcache >"$cache_file" 495569a1fe56Smrg else 495669a1fe56Smrg case $cache_file in #( 495769a1fe56Smrg */* | ?:*) 495869a1fe56Smrg mv -f confcache "$cache_file"$$ && 495969a1fe56Smrg mv -f "$cache_file"$$ "$cache_file" ;; #( 496069a1fe56Smrg *) 496169a1fe56Smrg mv -f confcache "$cache_file" ;; 496269a1fe56Smrg esac 496369a1fe56Smrg fi 496469a1fe56Smrg fi 4965a850946eSmrg else 49667dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 496770f7c90cSmrg$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 4968a850946eSmrg fi 4969a850946eSmrgfi 4970a850946eSmrgrm -f confcache 4971a850946eSmrg 4972a850946eSmrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix 4973a850946eSmrg# Let make expand exec_prefix. 4974a850946eSmrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 4975a850946eSmrg 4976a850946eSmrgDEFS=-DHAVE_CONFIG_H 4977a850946eSmrg 4978a850946eSmrgac_libobjs= 4979a850946eSmrgac_ltlibobjs= 498069a1fe56SmrgU= 4981a850946eSmrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 4982a850946eSmrg # 1. Remove the extension, and $U if already installed. 498370f7c90cSmrg ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 498470f7c90cSmrg ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 498570f7c90cSmrg # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 498670f7c90cSmrg # will be set to the directory where LIBOBJS objects are built. 49877dff02feSmrg as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 49887dff02feSmrg as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 4989a850946eSmrgdone 4990a850946eSmrgLIBOBJS=$ac_libobjs 4991a850946eSmrg 4992a850946eSmrgLTLIBOBJS=$ac_ltlibobjs 4993a850946eSmrg 4994a850946eSmrg 499570f7c90cSmrg if test -n "$EXEEXT"; then 499670f7c90cSmrg am__EXEEXT_TRUE= 499770f7c90cSmrg am__EXEEXT_FALSE='#' 499870f7c90cSmrgelse 499970f7c90cSmrg am__EXEEXT_TRUE='#' 500070f7c90cSmrg am__EXEEXT_FALSE= 500170f7c90cSmrgfi 500270f7c90cSmrg 5003a850946eSmrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 500469a1fe56Smrg as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 50057dff02feSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 5006a850946eSmrgfi 5007a850946eSmrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 500869a1fe56Smrg as_fn_error $? "conditional \"AMDEP\" was never defined. 50097dff02feSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 5010a850946eSmrgfi 5011a850946eSmrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 501269a1fe56Smrg as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 50137dff02feSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 5014a850946eSmrgfi 5015a850946eSmrg 501669a1fe56Smrg: "${CONFIG_STATUS=./config.status}" 501770f7c90cSmrgac_write_fail=0 5018a850946eSmrgac_clean_files_save=$ac_clean_files 5019a850946eSmrgac_clean_files="$ac_clean_files $CONFIG_STATUS" 50207dff02feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 502170f7c90cSmrg$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 50227dff02feSmrgas_write_fail=0 50237dff02feSmrgcat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 5024a850946eSmrg#! $SHELL 5025a850946eSmrg# Generated by $as_me. 5026a850946eSmrg# Run this file to recreate the current configuration. 5027a850946eSmrg# Compiler output produced by configure, useful for debugging 5028a850946eSmrg# configure, is in config.log if it exists. 5029a850946eSmrg 5030a850946eSmrgdebug=false 5031a850946eSmrgac_cs_recheck=false 5032a850946eSmrgac_cs_silent=false 5033a850946eSmrg 50347dff02feSmrgSHELL=\${CONFIG_SHELL-$SHELL} 50357dff02feSmrgexport SHELL 50367dff02feSmrg_ASEOF 50377dff02feSmrgcat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 50387dff02feSmrg## -------------------- ## 50397dff02feSmrg## M4sh Initialization. ## 50407dff02feSmrg## -------------------- ## 5041a850946eSmrg 504270f7c90cSmrg# Be more Bourne compatible 504370f7c90cSmrgDUALCASE=1; export DUALCASE # for MKS sh 50447dff02feSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 5045a850946eSmrg emulate sh 5046a850946eSmrg NULLCMD=: 504770f7c90cSmrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 5048a850946eSmrg # is contrary to our usage. Disable this feature. 5049a850946eSmrg alias -g '${1+"$@"}'='"$@"' 505070f7c90cSmrg setopt NO_GLOB_SUBST 505170f7c90cSmrgelse 50527dff02feSmrg case `(set -o) 2>/dev/null` in #( 50537dff02feSmrg *posix*) : 50547dff02feSmrg set -o posix ;; #( 50557dff02feSmrg *) : 50567dff02feSmrg ;; 505770f7c90cSmrgesac 505870f7c90cSmrgfi 505970f7c90cSmrg 506070f7c90cSmrg 506170f7c90cSmrgas_nl=' 506270f7c90cSmrg' 506370f7c90cSmrgexport as_nl 506470f7c90cSmrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 506570f7c90cSmrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 506670f7c90cSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 506770f7c90cSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 50687dff02feSmrg# Prefer a ksh shell builtin over an external printf program on Solaris, 50697dff02feSmrg# but without wasting forks for bash or zsh. 50707dff02feSmrgif test -z "$BASH_VERSION$ZSH_VERSION" \ 50717dff02feSmrg && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 50727dff02feSmrg as_echo='print -r --' 50737dff02feSmrg as_echo_n='print -rn --' 50747dff02feSmrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 507570f7c90cSmrg as_echo='printf %s\n' 507670f7c90cSmrg as_echo_n='printf %s' 507770f7c90cSmrgelse 507870f7c90cSmrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 507970f7c90cSmrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 508070f7c90cSmrg as_echo_n='/usr/ucb/echo -n' 508170f7c90cSmrg else 508270f7c90cSmrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 508370f7c90cSmrg as_echo_n_body='eval 508470f7c90cSmrg arg=$1; 50857dff02feSmrg case $arg in #( 508670f7c90cSmrg *"$as_nl"*) 508770f7c90cSmrg expr "X$arg" : "X\\(.*\\)$as_nl"; 508870f7c90cSmrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 508970f7c90cSmrg esac; 509070f7c90cSmrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 509170f7c90cSmrg ' 509270f7c90cSmrg export as_echo_n_body 509370f7c90cSmrg as_echo_n='sh -c $as_echo_n_body as_echo' 509470f7c90cSmrg fi 509570f7c90cSmrg export as_echo_body 509670f7c90cSmrg as_echo='sh -c $as_echo_body as_echo' 509770f7c90cSmrgfi 509870f7c90cSmrg 509970f7c90cSmrg# The user is always right. 510070f7c90cSmrgif test "${PATH_SEPARATOR+set}" != set; then 510170f7c90cSmrg PATH_SEPARATOR=: 510270f7c90cSmrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 510370f7c90cSmrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 510470f7c90cSmrg PATH_SEPARATOR=';' 510570f7c90cSmrg } 5106a850946eSmrgfi 5107a850946eSmrg 5108a850946eSmrg 510970f7c90cSmrg# IFS 511070f7c90cSmrg# We need space, tab and new line, in precisely that order. Quoting is 511170f7c90cSmrg# there to prevent editors from complaining about space-tab. 511270f7c90cSmrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 511370f7c90cSmrg# splitting by setting IFS to empty value.) 511470f7c90cSmrgIFS=" "" $as_nl" 511570f7c90cSmrg 511670f7c90cSmrg# Find who we are. Look in the path if we contain no directory separator. 511769a1fe56Smrgas_myself= 51187dff02feSmrgcase $0 in #(( 511970f7c90cSmrg *[\\/]* ) as_myself=$0 ;; 512070f7c90cSmrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 512170f7c90cSmrgfor as_dir in $PATH 512270f7c90cSmrgdo 512370f7c90cSmrg IFS=$as_save_IFS 512470f7c90cSmrg test -z "$as_dir" && as_dir=. 51257dff02feSmrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 51267dff02feSmrg done 512770f7c90cSmrgIFS=$as_save_IFS 512870f7c90cSmrg 512970f7c90cSmrg ;; 513070f7c90cSmrgesac 513170f7c90cSmrg# We did not find ourselves, most probably we were run as `sh COMMAND' 513270f7c90cSmrg# in which case we are not to be found in the path. 513370f7c90cSmrgif test "x$as_myself" = x; then 513470f7c90cSmrg as_myself=$0 513570f7c90cSmrgfi 513670f7c90cSmrgif test ! -f "$as_myself"; then 513770f7c90cSmrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 51387dff02feSmrg exit 1 513970f7c90cSmrgfi 514070f7c90cSmrg 51417dff02feSmrg# Unset variables that we do not need and which cause bugs (e.g. in 51427dff02feSmrg# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 51437dff02feSmrg# suppresses any "Segmentation fault" message there. '((' could 51447dff02feSmrg# trigger a bug in pdksh 5.2.14. 51457dff02feSmrgfor as_var in BASH_ENV ENV MAIL MAILPATH 51467dff02feSmrgdo eval test x\${$as_var+set} = xset \ 51477dff02feSmrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 514870f7c90cSmrgdone 5149a850946eSmrgPS1='$ ' 5150a850946eSmrgPS2='> ' 5151a850946eSmrgPS4='+ ' 5152a850946eSmrg 5153a850946eSmrg# NLS nuisances. 515470f7c90cSmrgLC_ALL=C 515570f7c90cSmrgexport LC_ALL 515670f7c90cSmrgLANGUAGE=C 515770f7c90cSmrgexport LANGUAGE 5158a850946eSmrg 51597dff02feSmrg# CDPATH. 51607dff02feSmrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 51617dff02feSmrg 51627dff02feSmrg 516369a1fe56Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 516469a1fe56Smrg# ---------------------------------------- 51657dff02feSmrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 51667dff02feSmrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 516769a1fe56Smrg# script with STATUS, using 1 if that was 0. 51687dff02feSmrgas_fn_error () 51697dff02feSmrg{ 517069a1fe56Smrg as_status=$1; test $as_status -eq 0 && as_status=1 517169a1fe56Smrg if test "$4"; then 517269a1fe56Smrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 517369a1fe56Smrg $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 51747dff02feSmrg fi 517569a1fe56Smrg $as_echo "$as_me: error: $2" >&2 51767dff02feSmrg as_fn_exit $as_status 51777dff02feSmrg} # as_fn_error 51787dff02feSmrg 51797dff02feSmrg 51807dff02feSmrg# as_fn_set_status STATUS 51817dff02feSmrg# ----------------------- 51827dff02feSmrg# Set $? to STATUS, without forking. 51837dff02feSmrgas_fn_set_status () 51847dff02feSmrg{ 51857dff02feSmrg return $1 51867dff02feSmrg} # as_fn_set_status 51877dff02feSmrg 51887dff02feSmrg# as_fn_exit STATUS 51897dff02feSmrg# ----------------- 51907dff02feSmrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 51917dff02feSmrgas_fn_exit () 51927dff02feSmrg{ 51937dff02feSmrg set +e 51947dff02feSmrg as_fn_set_status $1 51957dff02feSmrg exit $1 51967dff02feSmrg} # as_fn_exit 51977dff02feSmrg 51987dff02feSmrg# as_fn_unset VAR 51997dff02feSmrg# --------------- 52007dff02feSmrg# Portably unset VAR. 52017dff02feSmrgas_fn_unset () 52027dff02feSmrg{ 52037dff02feSmrg { eval $1=; unset $1;} 52047dff02feSmrg} 52057dff02feSmrgas_unset=as_fn_unset 52067dff02feSmrg# as_fn_append VAR VALUE 52077dff02feSmrg# ---------------------- 52087dff02feSmrg# Append the text in VALUE to the end of the definition contained in VAR. Take 52097dff02feSmrg# advantage of any shell optimizations that allow amortized linear growth over 52107dff02feSmrg# repeated appends, instead of the typical quadratic growth present in naive 52117dff02feSmrg# implementations. 52127dff02feSmrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 52137dff02feSmrg eval 'as_fn_append () 52147dff02feSmrg { 52157dff02feSmrg eval $1+=\$2 52167dff02feSmrg }' 52177dff02feSmrgelse 52187dff02feSmrg as_fn_append () 52197dff02feSmrg { 52207dff02feSmrg eval $1=\$$1\$2 52217dff02feSmrg } 52227dff02feSmrgfi # as_fn_append 52237dff02feSmrg 52247dff02feSmrg# as_fn_arith ARG... 52257dff02feSmrg# ------------------ 52267dff02feSmrg# Perform arithmetic evaluation on the ARGs, and store the result in the 52277dff02feSmrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 52287dff02feSmrg# must be portable across $(()) and expr. 52297dff02feSmrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 52307dff02feSmrg eval 'as_fn_arith () 52317dff02feSmrg { 52327dff02feSmrg as_val=$(( $* )) 52337dff02feSmrg }' 52347dff02feSmrgelse 52357dff02feSmrg as_fn_arith () 52367dff02feSmrg { 52377dff02feSmrg as_val=`expr "$@" || test $? -eq 1` 52387dff02feSmrg } 52397dff02feSmrgfi # as_fn_arith 52407dff02feSmrg 52417dff02feSmrg 524270f7c90cSmrgif expr a : '\(a\)' >/dev/null 2>&1 && 524370f7c90cSmrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 5244a850946eSmrg as_expr=expr 5245a850946eSmrgelse 5246a850946eSmrg as_expr=false 5247a850946eSmrgfi 5248a850946eSmrg 524970f7c90cSmrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 5250a850946eSmrg as_basename=basename 5251a850946eSmrgelse 5252a850946eSmrg as_basename=false 5253a850946eSmrgfi 5254a850946eSmrg 52557dff02feSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 52567dff02feSmrg as_dirname=dirname 52577dff02feSmrgelse 52587dff02feSmrg as_dirname=false 52597dff02feSmrgfi 5260a850946eSmrg 526170f7c90cSmrgas_me=`$as_basename -- "$0" || 5262a850946eSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 5263a850946eSmrg X"$0" : 'X\(//\)$' \| \ 526470f7c90cSmrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 526570f7c90cSmrg$as_echo X/"$0" | 526670f7c90cSmrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 526770f7c90cSmrg s//\1/ 526870f7c90cSmrg q 526970f7c90cSmrg } 527070f7c90cSmrg /^X\/\(\/\/\)$/{ 527170f7c90cSmrg s//\1/ 527270f7c90cSmrg q 527370f7c90cSmrg } 527470f7c90cSmrg /^X\/\(\/\).*/{ 527570f7c90cSmrg s//\1/ 527670f7c90cSmrg q 527770f7c90cSmrg } 527870f7c90cSmrg s/.*/./; q'` 5279a850946eSmrg 52807dff02feSmrg# Avoid depending upon Character Ranges. 52817dff02feSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 52827dff02feSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 52837dff02feSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 52847dff02feSmrgas_cr_digits='0123456789' 52857dff02feSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits 5286a850946eSmrg 528770f7c90cSmrgECHO_C= ECHO_N= ECHO_T= 52887dff02feSmrgcase `echo -n x` in #((((( 528970f7c90cSmrg-n*) 52907dff02feSmrg case `echo 'xy\c'` in 529170f7c90cSmrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 52927dff02feSmrg xy) ECHO_C='\c';; 52937dff02feSmrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 52947dff02feSmrg ECHO_T=' ';; 529570f7c90cSmrg esac;; 529670f7c90cSmrg*) 529770f7c90cSmrg ECHO_N='-n';; 529870f7c90cSmrgesac 5299a850946eSmrg 5300a850946eSmrgrm -f conf$$ conf$$.exe conf$$.file 530170f7c90cSmrgif test -d conf$$.dir; then 530270f7c90cSmrg rm -f conf$$.dir/conf$$.file 530370f7c90cSmrgelse 530470f7c90cSmrg rm -f conf$$.dir 530570f7c90cSmrg mkdir conf$$.dir 2>/dev/null 530670f7c90cSmrgfi 530770f7c90cSmrgif (echo >conf$$.file) 2>/dev/null; then 530870f7c90cSmrg if ln -s conf$$.file conf$$ 2>/dev/null; then 5309a850946eSmrg as_ln_s='ln -s' 531070f7c90cSmrg # ... but there are two gotchas: 531170f7c90cSmrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 531270f7c90cSmrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 531370f7c90cSmrg # In both cases, we have to default to `cp -p'. 531470f7c90cSmrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 531570f7c90cSmrg as_ln_s='cp -p' 531670f7c90cSmrg elif ln conf$$.file conf$$ 2>/dev/null; then 531770f7c90cSmrg as_ln_s=ln 531870f7c90cSmrg else 531970f7c90cSmrg as_ln_s='cp -p' 5320a850946eSmrg fi 5321a850946eSmrgelse 5322a850946eSmrg as_ln_s='cp -p' 5323a850946eSmrgfi 532470f7c90cSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 532570f7c90cSmrgrmdir conf$$.dir 2>/dev/null 5326a850946eSmrg 53277dff02feSmrg 53287dff02feSmrg# as_fn_mkdir_p 53297dff02feSmrg# ------------- 53307dff02feSmrg# Create "$as_dir" as a directory, including parents if necessary. 53317dff02feSmrgas_fn_mkdir_p () 53327dff02feSmrg{ 53337dff02feSmrg 53347dff02feSmrg case $as_dir in #( 53357dff02feSmrg -*) as_dir=./$as_dir;; 53367dff02feSmrg esac 53377dff02feSmrg test -d "$as_dir" || eval $as_mkdir_p || { 53387dff02feSmrg as_dirs= 53397dff02feSmrg while :; do 53407dff02feSmrg case $as_dir in #( 53417dff02feSmrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 53427dff02feSmrg *) as_qdir=$as_dir;; 53437dff02feSmrg esac 53447dff02feSmrg as_dirs="'$as_qdir' $as_dirs" 53457dff02feSmrg as_dir=`$as_dirname -- "$as_dir" || 53467dff02feSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 53477dff02feSmrg X"$as_dir" : 'X\(//\)[^/]' \| \ 53487dff02feSmrg X"$as_dir" : 'X\(//\)$' \| \ 53497dff02feSmrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 53507dff02feSmrg$as_echo X"$as_dir" | 53517dff02feSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 53527dff02feSmrg s//\1/ 53537dff02feSmrg q 53547dff02feSmrg } 53557dff02feSmrg /^X\(\/\/\)[^/].*/{ 53567dff02feSmrg s//\1/ 53577dff02feSmrg q 53587dff02feSmrg } 53597dff02feSmrg /^X\(\/\/\)$/{ 53607dff02feSmrg s//\1/ 53617dff02feSmrg q 53627dff02feSmrg } 53637dff02feSmrg /^X\(\/\).*/{ 53647dff02feSmrg s//\1/ 53657dff02feSmrg q 53667dff02feSmrg } 53677dff02feSmrg s/.*/./; q'` 53687dff02feSmrg test -d "$as_dir" && break 53697dff02feSmrg done 53707dff02feSmrg test -z "$as_dirs" || eval "mkdir $as_dirs" 537169a1fe56Smrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 53727dff02feSmrg 53737dff02feSmrg 53747dff02feSmrg} # as_fn_mkdir_p 5375a850946eSmrgif mkdir -p . 2>/dev/null; then 53767dff02feSmrg as_mkdir_p='mkdir -p "$as_dir"' 5377a850946eSmrgelse 5378a850946eSmrg test -d ./-p && rmdir ./-p 5379a850946eSmrg as_mkdir_p=false 5380a850946eSmrgfi 5381a850946eSmrg 538270f7c90cSmrgif test -x / >/dev/null 2>&1; then 538370f7c90cSmrg as_test_x='test -x' 538470f7c90cSmrgelse 538570f7c90cSmrg if ls -dL / >/dev/null 2>&1; then 538670f7c90cSmrg as_ls_L_option=L 538770f7c90cSmrg else 538870f7c90cSmrg as_ls_L_option= 538970f7c90cSmrg fi 539070f7c90cSmrg as_test_x=' 539170f7c90cSmrg eval sh -c '\'' 539270f7c90cSmrg if test -d "$1"; then 539370f7c90cSmrg test -d "$1/."; 539470f7c90cSmrg else 53957dff02feSmrg case $1 in #( 539670f7c90cSmrg -*)set "./$1";; 539770f7c90cSmrg esac; 53987dff02feSmrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 539970f7c90cSmrg ???[sx]*):;;*)false;;esac;fi 540070f7c90cSmrg '\'' sh 540170f7c90cSmrg ' 540270f7c90cSmrgfi 540370f7c90cSmrgas_executable_p=$as_test_x 5404a850946eSmrg 5405a850946eSmrg# Sed expression to map a string onto a valid CPP name. 5406a850946eSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5407a850946eSmrg 5408a850946eSmrg# Sed expression to map a string onto a valid variable name. 5409a850946eSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5410a850946eSmrg 5411a850946eSmrg 5412a850946eSmrgexec 6>&1 54137dff02feSmrg## ----------------------------------- ## 54147dff02feSmrg## Main body of $CONFIG_STATUS script. ## 54157dff02feSmrg## ----------------------------------- ## 54167dff02feSmrg_ASEOF 54177dff02feSmrgtest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 5418a850946eSmrg 54197dff02feSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 54207dff02feSmrg# Save the log message, to keep $0 and so on meaningful, and to 5421a850946eSmrg# report actual input values of CONFIG_FILES etc. instead of their 542270f7c90cSmrg# values after options handling. 542370f7c90cSmrgac_log=" 542469a1fe56SmrgThis file was extended by xlsclients $as_me 1.1.1, which was 542569a1fe56Smrggenerated by GNU Autoconf 2.68. Invocation command line was 5426a850946eSmrg 5427a850946eSmrg CONFIG_FILES = $CONFIG_FILES 5428a850946eSmrg CONFIG_HEADERS = $CONFIG_HEADERS 5429a850946eSmrg CONFIG_LINKS = $CONFIG_LINKS 5430a850946eSmrg CONFIG_COMMANDS = $CONFIG_COMMANDS 5431a850946eSmrg $ $0 $@ 5432a850946eSmrg 543370f7c90cSmrgon `(hostname || uname -n) 2>/dev/null | sed 1q` 543470f7c90cSmrg" 543570f7c90cSmrg 5436a850946eSmrg_ACEOF 5437a850946eSmrg 543870f7c90cSmrgcase $ac_config_files in *" 543970f7c90cSmrg"*) set x $ac_config_files; shift; ac_config_files=$*;; 544070f7c90cSmrgesac 5441a850946eSmrg 544270f7c90cSmrgcase $ac_config_headers in *" 544370f7c90cSmrg"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 544470f7c90cSmrgesac 5445a850946eSmrg 5446a850946eSmrg 544770f7c90cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 544870f7c90cSmrg# Files that config.status was made for. 544970f7c90cSmrgconfig_files="$ac_config_files" 545070f7c90cSmrgconfig_headers="$ac_config_headers" 545170f7c90cSmrgconfig_commands="$ac_config_commands" 5452a850946eSmrg 545370f7c90cSmrg_ACEOF 5454a850946eSmrg 545570f7c90cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5456a850946eSmrgac_cs_usage="\ 54577dff02feSmrg\`$as_me' instantiates files and other configuration actions 54587dff02feSmrgfrom templates according to the current configuration. Unless the files 54597dff02feSmrgand actions are specified as TAGs, all are instantiated by default. 5460a850946eSmrg 54617dff02feSmrgUsage: $0 [OPTION]... [TAG]... 5462a850946eSmrg 5463a850946eSmrg -h, --help print this help, then exit 546470f7c90cSmrg -V, --version print version number and configuration settings, then exit 54657dff02feSmrg --config print configuration, then exit 546670f7c90cSmrg -q, --quiet, --silent 546770f7c90cSmrg do not print progress messages 5468a850946eSmrg -d, --debug don't remove temporary files 5469a850946eSmrg --recheck update $as_me by reconfiguring in the same conditions 547070f7c90cSmrg --file=FILE[:TEMPLATE] 547170f7c90cSmrg instantiate the configuration file FILE 547270f7c90cSmrg --header=FILE[:TEMPLATE] 547370f7c90cSmrg instantiate the configuration header FILE 5474a850946eSmrg 5475a850946eSmrgConfiguration files: 5476a850946eSmrg$config_files 5477a850946eSmrg 5478a850946eSmrgConfiguration headers: 5479a850946eSmrg$config_headers 5480a850946eSmrg 5481a850946eSmrgConfiguration commands: 5482a850946eSmrg$config_commands 5483a850946eSmrg 54847dff02feSmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>." 5485a850946eSmrg 548670f7c90cSmrg_ACEOF 548770f7c90cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 54887dff02feSmrgac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 5489a850946eSmrgac_cs_version="\\ 549069a1fe56Smrgxlsclients config.status 1.1.1 549169a1fe56Smrgconfigured by $0, generated by GNU Autoconf 2.68, 54927dff02feSmrg with options \\"\$ac_cs_config\\" 5493a850946eSmrg 549469a1fe56SmrgCopyright (C) 2010 Free Software Foundation, Inc. 5495a850946eSmrgThis config.status script is free software; the Free Software Foundation 5496a850946eSmrggives unlimited permission to copy, distribute and modify it." 549770f7c90cSmrg 549870f7c90cSmrgac_pwd='$ac_pwd' 549970f7c90cSmrgsrcdir='$srcdir' 550070f7c90cSmrgINSTALL='$INSTALL' 550170f7c90cSmrgMKDIR_P='$MKDIR_P' 550270f7c90cSmrgAWK='$AWK' 550370f7c90cSmrgtest -n "\$AWK" || AWK=awk 5504a850946eSmrg_ACEOF 5505a850946eSmrg 550670f7c90cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 550770f7c90cSmrg# The default lists apply if the user does not specify any file. 5508a850946eSmrgac_need_defaults=: 5509a850946eSmrgwhile test $# != 0 5510a850946eSmrgdo 5511a850946eSmrg case $1 in 551269a1fe56Smrg --*=?*) 551370f7c90cSmrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 551470f7c90cSmrg ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 5515a850946eSmrg ac_shift=: 5516a850946eSmrg ;; 551769a1fe56Smrg --*=) 551869a1fe56Smrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 551969a1fe56Smrg ac_optarg= 552069a1fe56Smrg ac_shift=: 552169a1fe56Smrg ;; 552270f7c90cSmrg *) 5523a850946eSmrg ac_option=$1 5524a850946eSmrg ac_optarg=$2 5525a850946eSmrg ac_shift=shift 5526a850946eSmrg ;; 5527a850946eSmrg esac 5528a850946eSmrg 5529a850946eSmrg case $ac_option in 5530a850946eSmrg # Handling of the options. 5531a850946eSmrg -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 5532a850946eSmrg ac_cs_recheck=: ;; 553370f7c90cSmrg --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 553470f7c90cSmrg $as_echo "$ac_cs_version"; exit ;; 55357dff02feSmrg --config | --confi | --conf | --con | --co | --c ) 55367dff02feSmrg $as_echo "$ac_cs_config"; exit ;; 553770f7c90cSmrg --debug | --debu | --deb | --de | --d | -d ) 5538a850946eSmrg debug=: ;; 5539a850946eSmrg --file | --fil | --fi | --f ) 5540a850946eSmrg $ac_shift 554170f7c90cSmrg case $ac_optarg in 554270f7c90cSmrg *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 554369a1fe56Smrg '') as_fn_error $? "missing file argument" ;; 554470f7c90cSmrg esac 55457dff02feSmrg as_fn_append CONFIG_FILES " '$ac_optarg'" 5546a850946eSmrg ac_need_defaults=false;; 5547a850946eSmrg --header | --heade | --head | --hea ) 5548a850946eSmrg $ac_shift 554970f7c90cSmrg case $ac_optarg in 555070f7c90cSmrg *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 555170f7c90cSmrg esac 55527dff02feSmrg as_fn_append CONFIG_HEADERS " '$ac_optarg'" 5553a850946eSmrg ac_need_defaults=false;; 555470f7c90cSmrg --he | --h) 555570f7c90cSmrg # Conflict between --help and --header 555669a1fe56Smrg as_fn_error $? "ambiguous option: \`$1' 55577dff02feSmrgTry \`$0 --help' for more information.";; 555870f7c90cSmrg --help | --hel | -h ) 555970f7c90cSmrg $as_echo "$ac_cs_usage"; exit ;; 5560a850946eSmrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 5561a850946eSmrg | -silent | --silent | --silen | --sile | --sil | --si | --s) 5562a850946eSmrg ac_cs_silent=: ;; 5563a850946eSmrg 5564a850946eSmrg # This is an error. 556569a1fe56Smrg -*) as_fn_error $? "unrecognized option: \`$1' 55667dff02feSmrgTry \`$0 --help' for more information." ;; 5567a850946eSmrg 55687dff02feSmrg *) as_fn_append ac_config_targets " $1" 556970f7c90cSmrg ac_need_defaults=false ;; 5570a850946eSmrg 5571a850946eSmrg esac 5572a850946eSmrg shift 5573a850946eSmrgdone 5574a850946eSmrg 5575a850946eSmrgac_configure_extra_args= 5576a850946eSmrg 5577a850946eSmrgif $ac_cs_silent; then 5578a850946eSmrg exec 6>/dev/null 5579a850946eSmrg ac_configure_extra_args="$ac_configure_extra_args --silent" 5580a850946eSmrgfi 5581a850946eSmrg 5582a850946eSmrg_ACEOF 558370f7c90cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5584a850946eSmrgif \$ac_cs_recheck; then 558570f7c90cSmrg set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 558670f7c90cSmrg shift 558770f7c90cSmrg \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 558870f7c90cSmrg CONFIG_SHELL='$SHELL' 558970f7c90cSmrg export CONFIG_SHELL 559070f7c90cSmrg exec "\$@" 5591a850946eSmrgfi 5592a850946eSmrg 5593a850946eSmrg_ACEOF 559470f7c90cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 559570f7c90cSmrgexec 5>>config.log 559670f7c90cSmrg{ 559770f7c90cSmrg echo 559870f7c90cSmrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 559970f7c90cSmrg## Running $as_me. ## 560070f7c90cSmrg_ASBOX 560170f7c90cSmrg $as_echo "$ac_log" 560270f7c90cSmrg} >&5 5603a850946eSmrg 560470f7c90cSmrg_ACEOF 560570f7c90cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5606a850946eSmrg# 560770f7c90cSmrg# INIT-COMMANDS 5608a850946eSmrg# 5609a850946eSmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 5610a850946eSmrg 5611a850946eSmrg_ACEOF 5612a850946eSmrg 561370f7c90cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5614a850946eSmrg 561570f7c90cSmrg# Handling of arguments. 5616a850946eSmrgfor ac_config_target in $ac_config_targets 5617a850946eSmrgdo 561870f7c90cSmrg case $ac_config_target in 561970f7c90cSmrg "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 562070f7c90cSmrg "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 562170f7c90cSmrg "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 562270f7c90cSmrg 562369a1fe56Smrg *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 5624a850946eSmrg esac 5625a850946eSmrgdone 5626a850946eSmrg 562770f7c90cSmrg 5628a850946eSmrg# If the user did not use the arguments to specify the items to instantiate, 5629a850946eSmrg# then the envvar interface is used. Set only those that are not. 5630a850946eSmrg# We use the long form for the default assignment because of an extremely 5631a850946eSmrg# bizarre bug on SunOS 4.1.3. 5632a850946eSmrgif $ac_need_defaults; then 5633a850946eSmrg test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 5634a850946eSmrg test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 5635a850946eSmrg test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 5636a850946eSmrgfi 5637a850946eSmrg 5638a850946eSmrg# Have a temporary directory for convenience. Make it in the build tree 563970f7c90cSmrg# simply because there is no reason against having it here, and in addition, 5640a850946eSmrg# creating and moving files from /tmp can sometimes cause problems. 564170f7c90cSmrg# Hook for its removal unless debugging. 564270f7c90cSmrg# Note that there is a small window in which the directory will not be cleaned: 564370f7c90cSmrg# after its creation but before its name has been assigned to `$tmp'. 5644a850946eSmrg$debug || 5645a850946eSmrg{ 564669a1fe56Smrg tmp= ac_tmp= 564770f7c90cSmrg trap 'exit_status=$? 564869a1fe56Smrg : "${ac_tmp:=$tmp}" 564969a1fe56Smrg { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 565070f7c90cSmrg' 0 56517dff02feSmrg trap 'as_fn_exit 1' 1 2 13 15 5652a850946eSmrg} 5653a850946eSmrg# Create a (secure) tmp directory for tmp files. 5654a850946eSmrg 5655a850946eSmrg{ 565670f7c90cSmrg tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 565769a1fe56Smrg test -d "$tmp" 5658a850946eSmrg} || 5659a850946eSmrg{ 566070f7c90cSmrg tmp=./conf$$-$RANDOM 566170f7c90cSmrg (umask 077 && mkdir "$tmp") 566269a1fe56Smrg} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 566369a1fe56Smrgac_tmp=$tmp 5664a850946eSmrg 566570f7c90cSmrg# Set up the scripts for CONFIG_FILES section. 566670f7c90cSmrg# No need to generate them if there are no CONFIG_FILES. 566770f7c90cSmrg# This happens for instance with `./config.status config.h'. 566870f7c90cSmrgif test -n "$CONFIG_FILES"; then 566970f7c90cSmrg 567070f7c90cSmrg 56717dff02feSmrgac_cr=`echo X | tr X '\015'` 56727dff02feSmrg# On cygwin, bash can eat \r inside `` if the user requested igncr. 56737dff02feSmrg# But we know of no other shell where ac_cr would be empty at this 56747dff02feSmrg# point, so we can use a bashism as a fallback. 56757dff02feSmrgif test "x$ac_cr" = x; then 56767dff02feSmrg eval ac_cr=\$\'\\r\' 56777dff02feSmrgfi 567870f7c90cSmrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 567970f7c90cSmrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 568069a1fe56Smrg ac_cs_awk_cr='\\r' 568170f7c90cSmrgelse 568270f7c90cSmrg ac_cs_awk_cr=$ac_cr 568370f7c90cSmrgfi 568470f7c90cSmrg 568569a1fe56Smrgecho 'BEGIN {' >"$ac_tmp/subs1.awk" && 5686a850946eSmrg_ACEOF 5687a850946eSmrg 5688a850946eSmrg 568970f7c90cSmrg{ 569070f7c90cSmrg echo "cat >conf$$subs.awk <<_ACEOF" && 569170f7c90cSmrg echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 569270f7c90cSmrg echo "_ACEOF" 569370f7c90cSmrg} >conf$$subs.sh || 569469a1fe56Smrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 569569a1fe56Smrgac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 569670f7c90cSmrgac_delim='%!_!# ' 569770f7c90cSmrgfor ac_last_try in false false false false false :; do 569870f7c90cSmrg . ./conf$$subs.sh || 569969a1fe56Smrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5700a850946eSmrg 570170f7c90cSmrg ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 570270f7c90cSmrg if test $ac_delim_n = $ac_delim_num; then 570370f7c90cSmrg break 570470f7c90cSmrg elif $ac_last_try; then 570569a1fe56Smrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 570670f7c90cSmrg else 570770f7c90cSmrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 570870f7c90cSmrg fi 570970f7c90cSmrgdone 571070f7c90cSmrgrm -f conf$$subs.sh 5711a850946eSmrg 571270f7c90cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 571369a1fe56Smrgcat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 5714a850946eSmrg_ACEOF 571570f7c90cSmrgsed -n ' 571670f7c90cSmrgh 571770f7c90cSmrgs/^/S["/; s/!.*/"]=/ 571870f7c90cSmrgp 571970f7c90cSmrgg 572070f7c90cSmrgs/^[^!]*!// 572170f7c90cSmrg:repl 572270f7c90cSmrgt repl 572370f7c90cSmrgs/'"$ac_delim"'$// 572470f7c90cSmrgt delim 572570f7c90cSmrg:nl 572670f7c90cSmrgh 57277dff02feSmrgs/\(.\{148\}\)..*/\1/ 572870f7c90cSmrgt more1 572970f7c90cSmrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 573070f7c90cSmrgp 573170f7c90cSmrgn 573270f7c90cSmrgb repl 573370f7c90cSmrg:more1 573470f7c90cSmrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 573570f7c90cSmrgp 573670f7c90cSmrgg 573770f7c90cSmrgs/.\{148\}// 573870f7c90cSmrgt nl 573970f7c90cSmrg:delim 574070f7c90cSmrgh 57417dff02feSmrgs/\(.\{148\}\)..*/\1/ 574270f7c90cSmrgt more2 574370f7c90cSmrgs/["\\]/\\&/g; s/^/"/; s/$/"/ 574470f7c90cSmrgp 574570f7c90cSmrgb 574670f7c90cSmrg:more2 574770f7c90cSmrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 574870f7c90cSmrgp 574970f7c90cSmrgg 575070f7c90cSmrgs/.\{148\}// 575170f7c90cSmrgt delim 575270f7c90cSmrg' <conf$$subs.awk | sed ' 575370f7c90cSmrg/^[^""]/{ 575470f7c90cSmrg N 575570f7c90cSmrg s/\n// 575670f7c90cSmrg} 575770f7c90cSmrg' >>$CONFIG_STATUS || ac_write_fail=1 575870f7c90cSmrgrm -f conf$$subs.awk 575970f7c90cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 576070f7c90cSmrg_ACAWK 576169a1fe56Smrgcat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 576270f7c90cSmrg for (key in S) S_is_set[key] = 1 576370f7c90cSmrg FS = "" 5764a850946eSmrg 576570f7c90cSmrg} 576670f7c90cSmrg{ 576770f7c90cSmrg line = $ 0 576870f7c90cSmrg nfields = split(line, field, "@") 576970f7c90cSmrg substed = 0 577070f7c90cSmrg len = length(field[1]) 577170f7c90cSmrg for (i = 2; i < nfields; i++) { 577270f7c90cSmrg key = field[i] 577370f7c90cSmrg keylen = length(key) 577470f7c90cSmrg if (S_is_set[key]) { 577570f7c90cSmrg value = S[key] 577670f7c90cSmrg line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 577770f7c90cSmrg len += length(value) + length(field[++i]) 577870f7c90cSmrg substed = 1 577970f7c90cSmrg } else 578070f7c90cSmrg len += 1 + keylen 578170f7c90cSmrg } 578270f7c90cSmrg 578370f7c90cSmrg print line 578470f7c90cSmrg} 578570f7c90cSmrg 578670f7c90cSmrg_ACAWK 578770f7c90cSmrg_ACEOF 578870f7c90cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 578970f7c90cSmrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 579070f7c90cSmrg sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 579170f7c90cSmrgelse 579270f7c90cSmrg cat 579369a1fe56Smrgfi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 579469a1fe56Smrg || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 579570f7c90cSmrg_ACEOF 579670f7c90cSmrg 579769a1fe56Smrg# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 579869a1fe56Smrg# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 579970f7c90cSmrg# trailing colons and then remove the whole line if VPATH becomes empty 580070f7c90cSmrg# (actually we leave an empty line to preserve line numbers). 580170f7c90cSmrgif test "x$srcdir" = x.; then 580269a1fe56Smrg ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 580369a1fe56Smrgh 580469a1fe56Smrgs/// 580569a1fe56Smrgs/^/:/ 580669a1fe56Smrgs/[ ]*$/:/ 580769a1fe56Smrgs/:\$(srcdir):/:/g 580869a1fe56Smrgs/:\${srcdir}:/:/g 580969a1fe56Smrgs/:@srcdir@:/:/g 581069a1fe56Smrgs/^:*// 581170f7c90cSmrgs/:*$// 581269a1fe56Smrgx 581369a1fe56Smrgs/\(=[ ]*\).*/\1/ 581469a1fe56SmrgG 581569a1fe56Smrgs/\n// 581670f7c90cSmrgs/^[^=]*=[ ]*$// 581770f7c90cSmrg}' 581870f7c90cSmrgfi 581970f7c90cSmrg 582070f7c90cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5821a850946eSmrgfi # test -n "$CONFIG_FILES" 5822a850946eSmrg 582370f7c90cSmrg# Set up the scripts for CONFIG_HEADERS section. 582470f7c90cSmrg# No need to generate them if there are no CONFIG_HEADERS. 582570f7c90cSmrg# This happens for instance with `./config.status Makefile'. 582670f7c90cSmrgif test -n "$CONFIG_HEADERS"; then 582769a1fe56Smrgcat >"$ac_tmp/defines.awk" <<\_ACAWK || 582870f7c90cSmrgBEGIN { 5829a850946eSmrg_ACEOF 583070f7c90cSmrg 583170f7c90cSmrg# Transform confdefs.h into an awk script `defines.awk', embedded as 583270f7c90cSmrg# here-document in config.status, that substitutes the proper values into 583370f7c90cSmrg# config.h.in to produce config.h. 583470f7c90cSmrg 583570f7c90cSmrg# Create a delimiter string that does not exist in confdefs.h, to ease 583670f7c90cSmrg# handling of long lines. 583770f7c90cSmrgac_delim='%!_!# ' 583870f7c90cSmrgfor ac_last_try in false false :; do 583969a1fe56Smrg ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 584069a1fe56Smrg if test -z "$ac_tt"; then 584170f7c90cSmrg break 584270f7c90cSmrg elif $ac_last_try; then 584369a1fe56Smrg as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 584470f7c90cSmrg else 584570f7c90cSmrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 584670f7c90cSmrg fi 584770f7c90cSmrgdone 584870f7c90cSmrg 584970f7c90cSmrg# For the awk script, D is an array of macro values keyed by name, 585070f7c90cSmrg# likewise P contains macro parameters if any. Preserve backslash 585170f7c90cSmrg# newline sequences. 585270f7c90cSmrg 585370f7c90cSmrgac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 585470f7c90cSmrgsed -n ' 585570f7c90cSmrgs/.\{148\}/&'"$ac_delim"'/g 585670f7c90cSmrgt rset 585770f7c90cSmrg:rset 585870f7c90cSmrgs/^[ ]*#[ ]*define[ ][ ]*/ / 585970f7c90cSmrgt def 586070f7c90cSmrgd 586170f7c90cSmrg:def 586270f7c90cSmrgs/\\$// 586370f7c90cSmrgt bsnl 586470f7c90cSmrgs/["\\]/\\&/g 586570f7c90cSmrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 586670f7c90cSmrgD["\1"]=" \3"/p 586770f7c90cSmrgs/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 586870f7c90cSmrgd 586970f7c90cSmrg:bsnl 587070f7c90cSmrgs/["\\]/\\&/g 587170f7c90cSmrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 587270f7c90cSmrgD["\1"]=" \3\\\\\\n"\\/p 587370f7c90cSmrgt cont 587470f7c90cSmrgs/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 587570f7c90cSmrgt cont 587670f7c90cSmrgd 587770f7c90cSmrg:cont 587870f7c90cSmrgn 587970f7c90cSmrgs/.\{148\}/&'"$ac_delim"'/g 588070f7c90cSmrgt clear 588170f7c90cSmrg:clear 588270f7c90cSmrgs/\\$// 588370f7c90cSmrgt bsnlc 588470f7c90cSmrgs/["\\]/\\&/g; s/^/"/; s/$/"/p 588570f7c90cSmrgd 588670f7c90cSmrg:bsnlc 588770f7c90cSmrgs/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 588870f7c90cSmrgb cont 588970f7c90cSmrg' <confdefs.h | sed ' 589070f7c90cSmrgs/'"$ac_delim"'/"\\\ 589170f7c90cSmrg"/g' >>$CONFIG_STATUS || ac_write_fail=1 589270f7c90cSmrg 589370f7c90cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 589470f7c90cSmrg for (key in D) D_is_set[key] = 1 589570f7c90cSmrg FS = "" 589670f7c90cSmrg} 589770f7c90cSmrg/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 589870f7c90cSmrg line = \$ 0 589970f7c90cSmrg split(line, arg, " ") 590070f7c90cSmrg if (arg[1] == "#") { 590170f7c90cSmrg defundef = arg[2] 590270f7c90cSmrg mac1 = arg[3] 590370f7c90cSmrg } else { 590470f7c90cSmrg defundef = substr(arg[1], 2) 590570f7c90cSmrg mac1 = arg[2] 590670f7c90cSmrg } 590770f7c90cSmrg split(mac1, mac2, "(") #) 590870f7c90cSmrg macro = mac2[1] 590970f7c90cSmrg prefix = substr(line, 1, index(line, defundef) - 1) 591070f7c90cSmrg if (D_is_set[macro]) { 591170f7c90cSmrg # Preserve the white space surrounding the "#". 591270f7c90cSmrg print prefix "define", macro P[macro] D[macro] 591370f7c90cSmrg next 591470f7c90cSmrg } else { 591570f7c90cSmrg # Replace #undef with comments. This is necessary, for example, 591670f7c90cSmrg # in the case of _POSIX_SOURCE, which is predefined and required 591770f7c90cSmrg # on some systems where configure will not decide to define it. 591870f7c90cSmrg if (defundef == "undef") { 591970f7c90cSmrg print "/*", prefix defundef, macro, "*/" 592070f7c90cSmrg next 592170f7c90cSmrg } 592270f7c90cSmrg } 592370f7c90cSmrg} 592470f7c90cSmrg{ print } 592570f7c90cSmrg_ACAWK 592670f7c90cSmrg_ACEOF 592770f7c90cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 592869a1fe56Smrg as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 592970f7c90cSmrgfi # test -n "$CONFIG_HEADERS" 593070f7c90cSmrg 593170f7c90cSmrg 593270f7c90cSmrgeval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 593370f7c90cSmrgshift 593470f7c90cSmrgfor ac_tag 593570f7c90cSmrgdo 593670f7c90cSmrg case $ac_tag in 593770f7c90cSmrg :[FHLC]) ac_mode=$ac_tag; continue;; 593870f7c90cSmrg esac 593970f7c90cSmrg case $ac_mode$ac_tag in 594070f7c90cSmrg :[FHL]*:*);; 594169a1fe56Smrg :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 594270f7c90cSmrg :[FH]-) ac_tag=-:-;; 594370f7c90cSmrg :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 594470f7c90cSmrg esac 594570f7c90cSmrg ac_save_IFS=$IFS 594670f7c90cSmrg IFS=: 594770f7c90cSmrg set x $ac_tag 594870f7c90cSmrg IFS=$ac_save_IFS 594970f7c90cSmrg shift 595070f7c90cSmrg ac_file=$1 595170f7c90cSmrg shift 595270f7c90cSmrg 595370f7c90cSmrg case $ac_mode in 595470f7c90cSmrg :L) ac_source=$1;; 595570f7c90cSmrg :[FH]) 595670f7c90cSmrg ac_file_inputs= 595770f7c90cSmrg for ac_f 595870f7c90cSmrg do 595970f7c90cSmrg case $ac_f in 596069a1fe56Smrg -) ac_f="$ac_tmp/stdin";; 596170f7c90cSmrg *) # Look for the file first in the build tree, then in the source tree 596270f7c90cSmrg # (if the path is not absolute). The absolute path cannot be DOS-style, 596370f7c90cSmrg # because $ac_f cannot contain `:'. 596470f7c90cSmrg test -f "$ac_f" || 596570f7c90cSmrg case $ac_f in 596670f7c90cSmrg [\\/$]*) false;; 596770f7c90cSmrg *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 596870f7c90cSmrg esac || 596969a1fe56Smrg as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 597070f7c90cSmrg esac 597170f7c90cSmrg case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 59727dff02feSmrg as_fn_append ac_file_inputs " '$ac_f'" 597370f7c90cSmrg done 597470f7c90cSmrg 597570f7c90cSmrg # Let's still pretend it is `configure' which instantiates (i.e., don't 597670f7c90cSmrg # use $as_me), people would be surprised to read: 597770f7c90cSmrg # /* config.h. Generated by config.status. */ 597870f7c90cSmrg configure_input='Generated from '` 597970f7c90cSmrg $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 598070f7c90cSmrg `' by configure.' 598170f7c90cSmrg if test x"$ac_file" != x-; then 598270f7c90cSmrg configure_input="$ac_file. $configure_input" 59837dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 598470f7c90cSmrg$as_echo "$as_me: creating $ac_file" >&6;} 598570f7c90cSmrg fi 598670f7c90cSmrg # Neutralize special characters interpreted by sed in replacement strings. 598770f7c90cSmrg case $configure_input in #( 598870f7c90cSmrg *\&* | *\|* | *\\* ) 598970f7c90cSmrg ac_sed_conf_input=`$as_echo "$configure_input" | 599070f7c90cSmrg sed 's/[\\\\&|]/\\\\&/g'`;; #( 599170f7c90cSmrg *) ac_sed_conf_input=$configure_input;; 599270f7c90cSmrg esac 599370f7c90cSmrg 599470f7c90cSmrg case $ac_tag in 599569a1fe56Smrg *:-:* | *:-) cat >"$ac_tmp/stdin" \ 599669a1fe56Smrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 599770f7c90cSmrg esac 599870f7c90cSmrg ;; 5999a850946eSmrg esac 6000a850946eSmrg 600170f7c90cSmrg ac_dir=`$as_dirname -- "$ac_file" || 6002a850946eSmrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6003a850946eSmrg X"$ac_file" : 'X\(//\)[^/]' \| \ 6004a850946eSmrg X"$ac_file" : 'X\(//\)$' \| \ 600570f7c90cSmrg X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 600670f7c90cSmrg$as_echo X"$ac_file" | 600770f7c90cSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 600870f7c90cSmrg s//\1/ 600970f7c90cSmrg q 601070f7c90cSmrg } 601170f7c90cSmrg /^X\(\/\/\)[^/].*/{ 601270f7c90cSmrg s//\1/ 601370f7c90cSmrg q 601470f7c90cSmrg } 601570f7c90cSmrg /^X\(\/\/\)$/{ 601670f7c90cSmrg s//\1/ 601770f7c90cSmrg q 601870f7c90cSmrg } 601970f7c90cSmrg /^X\(\/\).*/{ 602070f7c90cSmrg s//\1/ 602170f7c90cSmrg q 602270f7c90cSmrg } 602370f7c90cSmrg s/.*/./; q'` 60247dff02feSmrg as_dir="$ac_dir"; as_fn_mkdir_p 6025a850946eSmrg ac_builddir=. 6026a850946eSmrg 602770f7c90cSmrgcase "$ac_dir" in 602870f7c90cSmrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 602970f7c90cSmrg*) 603070f7c90cSmrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 603170f7c90cSmrg # A ".." for each directory in $ac_dir_suffix. 603270f7c90cSmrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 603370f7c90cSmrg case $ac_top_builddir_sub in 603470f7c90cSmrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 603570f7c90cSmrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 603670f7c90cSmrg esac ;; 603770f7c90cSmrgesac 603870f7c90cSmrgac_abs_top_builddir=$ac_pwd 603970f7c90cSmrgac_abs_builddir=$ac_pwd$ac_dir_suffix 604070f7c90cSmrg# for backward compatibility: 604170f7c90cSmrgac_top_builddir=$ac_top_build_prefix 6042a850946eSmrg 6043a850946eSmrgcase $srcdir in 604470f7c90cSmrg .) # We are building in place. 6045a850946eSmrg ac_srcdir=. 604670f7c90cSmrg ac_top_srcdir=$ac_top_builddir_sub 604770f7c90cSmrg ac_abs_top_srcdir=$ac_pwd ;; 604870f7c90cSmrg [\\/]* | ?:[\\/]* ) # Absolute name. 6049a850946eSmrg ac_srcdir=$srcdir$ac_dir_suffix; 605070f7c90cSmrg ac_top_srcdir=$srcdir 605170f7c90cSmrg ac_abs_top_srcdir=$srcdir ;; 605270f7c90cSmrg *) # Relative name. 605370f7c90cSmrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 605470f7c90cSmrg ac_top_srcdir=$ac_top_build_prefix$srcdir 605570f7c90cSmrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 6056a850946eSmrgesac 605770f7c90cSmrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 6058a850946eSmrg 6059a850946eSmrg 606070f7c90cSmrg case $ac_mode in 606170f7c90cSmrg :F) 606270f7c90cSmrg # 606370f7c90cSmrg # CONFIG_FILE 606470f7c90cSmrg # 6065a850946eSmrg 6066a850946eSmrg case $INSTALL in 6067a850946eSmrg [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 606870f7c90cSmrg *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 6069a850946eSmrg esac 607070f7c90cSmrg ac_MKDIR_P=$MKDIR_P 607170f7c90cSmrg case $MKDIR_P in 607270f7c90cSmrg [\\/$]* | ?:[\\/]* ) ;; 607370f7c90cSmrg */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 607470f7c90cSmrg esac 607570f7c90cSmrg_ACEOF 6076a850946eSmrg 607770f7c90cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 607870f7c90cSmrg# If the template does not know about datarootdir, expand it. 607970f7c90cSmrg# FIXME: This hack should be removed a few years after 2.60. 608070f7c90cSmrgac_datarootdir_hack=; ac_datarootdir_seen= 608170f7c90cSmrgac_sed_dataroot=' 608270f7c90cSmrg/datarootdir/ { 608370f7c90cSmrg p 608470f7c90cSmrg q 608570f7c90cSmrg} 608670f7c90cSmrg/@datadir@/p 608770f7c90cSmrg/@docdir@/p 608870f7c90cSmrg/@infodir@/p 608970f7c90cSmrg/@localedir@/p 60907dff02feSmrg/@mandir@/p' 609170f7c90cSmrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 609270f7c90cSmrg*datarootdir*) ac_datarootdir_seen=yes;; 609370f7c90cSmrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 60947dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 609570f7c90cSmrg$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 6096a850946eSmrg_ACEOF 609770f7c90cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 609870f7c90cSmrg ac_datarootdir_hack=' 609970f7c90cSmrg s&@datadir@&$datadir&g 610070f7c90cSmrg s&@docdir@&$docdir&g 610170f7c90cSmrg s&@infodir@&$infodir&g 610270f7c90cSmrg s&@localedir@&$localedir&g 610370f7c90cSmrg s&@mandir@&$mandir&g 61047dff02feSmrg s&\\\${datarootdir}&$datarootdir&g' ;; 610570f7c90cSmrgesac 610670f7c90cSmrg_ACEOF 610770f7c90cSmrg 610870f7c90cSmrg# Neutralize VPATH when `$srcdir' = `.'. 610970f7c90cSmrg# Shell code in configure.ac might set extrasub. 611070f7c90cSmrg# FIXME: do we really want to maintain this feature? 611170f7c90cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 611270f7c90cSmrgac_sed_extra="$ac_vpsub 6113a850946eSmrg$extrasub 6114a850946eSmrg_ACEOF 611570f7c90cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6116a850946eSmrg:t 6117a850946eSmrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 611870f7c90cSmrgs|@configure_input@|$ac_sed_conf_input|;t t 611970f7c90cSmrgs&@top_builddir@&$ac_top_builddir_sub&;t t 612070f7c90cSmrgs&@top_build_prefix@&$ac_top_build_prefix&;t t 612170f7c90cSmrgs&@srcdir@&$ac_srcdir&;t t 612270f7c90cSmrgs&@abs_srcdir@&$ac_abs_srcdir&;t t 612370f7c90cSmrgs&@top_srcdir@&$ac_top_srcdir&;t t 612470f7c90cSmrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 612570f7c90cSmrgs&@builddir@&$ac_builddir&;t t 612670f7c90cSmrgs&@abs_builddir@&$ac_abs_builddir&;t t 612770f7c90cSmrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t 612870f7c90cSmrgs&@INSTALL@&$ac_INSTALL&;t t 612970f7c90cSmrgs&@MKDIR_P@&$ac_MKDIR_P&;t t 613070f7c90cSmrg$ac_datarootdir_hack 613170f7c90cSmrg" 613269a1fe56Smrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 613369a1fe56Smrg >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 6134a850946eSmrg 613570f7c90cSmrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 613669a1fe56Smrg { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 613769a1fe56Smrg { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 613869a1fe56Smrg "$ac_tmp/out"`; test -z "$ac_out"; } && 61397dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 614069a1fe56Smrgwhich seems to be undefined. Please make sure it is defined" >&5 614170f7c90cSmrg$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 614269a1fe56Smrgwhich seems to be undefined. Please make sure it is defined" >&2;} 6143a850946eSmrg 614469a1fe56Smrg rm -f "$ac_tmp/stdin" 6145a850946eSmrg case $ac_file in 614669a1fe56Smrg -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 614769a1fe56Smrg *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 614870f7c90cSmrg esac \ 614969a1fe56Smrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 615070f7c90cSmrg ;; 615170f7c90cSmrg :H) 615270f7c90cSmrg # 615370f7c90cSmrg # CONFIG_HEADER 615470f7c90cSmrg # 6155a850946eSmrg if test x"$ac_file" != x-; then 615670f7c90cSmrg { 615770f7c90cSmrg $as_echo "/* $configure_input */" \ 615869a1fe56Smrg && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 615969a1fe56Smrg } >"$ac_tmp/config.h" \ 616069a1fe56Smrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 616169a1fe56Smrg if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 61627dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 616370f7c90cSmrg$as_echo "$as_me: $ac_file is unchanged" >&6;} 6164a850946eSmrg else 616570f7c90cSmrg rm -f "$ac_file" 616669a1fe56Smrg mv "$ac_tmp/config.h" "$ac_file" \ 616769a1fe56Smrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 6168a850946eSmrg fi 6169a850946eSmrg else 617070f7c90cSmrg $as_echo "/* $configure_input */" \ 617169a1fe56Smrg && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 617269a1fe56Smrg || as_fn_error $? "could not create -" "$LINENO" 5 6173a850946eSmrg fi 617470f7c90cSmrg# Compute "$ac_file"'s index in $config_headers. 617570f7c90cSmrg_am_arg="$ac_file" 6176a850946eSmrg_am_stamp_count=1 6177a850946eSmrgfor _am_header in $config_headers :; do 6178a850946eSmrg case $_am_header in 617970f7c90cSmrg $_am_arg | $_am_arg:* ) 6180a850946eSmrg break ;; 6181a850946eSmrg * ) 6182a850946eSmrg _am_stamp_count=`expr $_am_stamp_count + 1` ;; 6183a850946eSmrg esac 6184a850946eSmrgdone 618570f7c90cSmrgecho "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 618670f7c90cSmrg$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 618770f7c90cSmrg X"$_am_arg" : 'X\(//\)[^/]' \| \ 618870f7c90cSmrg X"$_am_arg" : 'X\(//\)$' \| \ 618970f7c90cSmrg X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 619070f7c90cSmrg$as_echo X"$_am_arg" | 619170f7c90cSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 619270f7c90cSmrg s//\1/ 619370f7c90cSmrg q 619470f7c90cSmrg } 619570f7c90cSmrg /^X\(\/\/\)[^/].*/{ 619670f7c90cSmrg s//\1/ 619770f7c90cSmrg q 619870f7c90cSmrg } 619970f7c90cSmrg /^X\(\/\/\)$/{ 620070f7c90cSmrg s//\1/ 620170f7c90cSmrg q 620270f7c90cSmrg } 620370f7c90cSmrg /^X\(\/\).*/{ 620470f7c90cSmrg s//\1/ 620570f7c90cSmrg q 620670f7c90cSmrg } 620770f7c90cSmrg s/.*/./; q'`/stamp-h$_am_stamp_count 620870f7c90cSmrg ;; 6209a850946eSmrg 62107dff02feSmrg :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 621170f7c90cSmrg$as_echo "$as_me: executing $ac_file commands" >&6;} 621270f7c90cSmrg ;; 621370f7c90cSmrg esac 6214a850946eSmrg 6215a850946eSmrg 621670f7c90cSmrg case $ac_file$ac_mode in 621770f7c90cSmrg "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 621870f7c90cSmrg # Autoconf 2.62 quotes --file arguments for eval, but not when files 621970f7c90cSmrg # are listed without --file. Let's play safe and only enable the eval 622070f7c90cSmrg # if we detect the quoting. 622170f7c90cSmrg case $CONFIG_FILES in 622270f7c90cSmrg *\'*) eval set x "$CONFIG_FILES" ;; 622370f7c90cSmrg *) set x $CONFIG_FILES ;; 622470f7c90cSmrg esac 622570f7c90cSmrg shift 622670f7c90cSmrg for mf 622770f7c90cSmrg do 622870f7c90cSmrg # Strip MF so we end up with the name of the file. 622970f7c90cSmrg mf=`echo "$mf" | sed -e 's/:.*$//'` 623070f7c90cSmrg # Check whether this is an Automake generated Makefile or not. 623170f7c90cSmrg # We used to match only the files named `Makefile.in', but 623270f7c90cSmrg # some people rename them; so instead we look at the file content. 623370f7c90cSmrg # Grep'ing the first line is not enough: some people post-process 623470f7c90cSmrg # each Makefile.in and add a new line on top of each file to say so. 623570f7c90cSmrg # Grep'ing the whole file is not good either: AIX grep has a line 623670f7c90cSmrg # limit of 2048, but all sed's we know have understand at least 4000. 623770f7c90cSmrg if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 623870f7c90cSmrg dirpart=`$as_dirname -- "$mf" || 6239a850946eSmrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6240a850946eSmrg X"$mf" : 'X\(//\)[^/]' \| \ 6241a850946eSmrg X"$mf" : 'X\(//\)$' \| \ 624270f7c90cSmrg X"$mf" : 'X\(/\)' \| . 2>/dev/null || 624370f7c90cSmrg$as_echo X"$mf" | 624470f7c90cSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 624570f7c90cSmrg s//\1/ 624670f7c90cSmrg q 624770f7c90cSmrg } 624870f7c90cSmrg /^X\(\/\/\)[^/].*/{ 624970f7c90cSmrg s//\1/ 625070f7c90cSmrg q 625170f7c90cSmrg } 625270f7c90cSmrg /^X\(\/\/\)$/{ 625370f7c90cSmrg s//\1/ 625470f7c90cSmrg q 625570f7c90cSmrg } 625670f7c90cSmrg /^X\(\/\).*/{ 625770f7c90cSmrg s//\1/ 625870f7c90cSmrg q 625970f7c90cSmrg } 626070f7c90cSmrg s/.*/./; q'` 626170f7c90cSmrg else 626270f7c90cSmrg continue 626370f7c90cSmrg fi 626470f7c90cSmrg # Extract the definition of DEPDIR, am__include, and am__quote 626570f7c90cSmrg # from the Makefile without running `make'. 626670f7c90cSmrg DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 626770f7c90cSmrg test -z "$DEPDIR" && continue 626870f7c90cSmrg am__include=`sed -n 's/^am__include = //p' < "$mf"` 626970f7c90cSmrg test -z "am__include" && continue 627070f7c90cSmrg am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 627170f7c90cSmrg # When using ansi2knr, U may be empty or an underscore; expand it 627270f7c90cSmrg U=`sed -n 's/^U = //p' < "$mf"` 627370f7c90cSmrg # Find all dependency output files, they are included files with 627470f7c90cSmrg # $(DEPDIR) in their names. We invoke sed twice because it is the 627570f7c90cSmrg # simplest approach to changing $(DEPDIR) to its actual value in the 627670f7c90cSmrg # expansion. 627770f7c90cSmrg for file in `sed -n " 627870f7c90cSmrg s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 627970f7c90cSmrg sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 628070f7c90cSmrg # Make sure the directory exists. 628170f7c90cSmrg test -f "$dirpart/$file" && continue 628270f7c90cSmrg fdir=`$as_dirname -- "$file" || 6283a850946eSmrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6284a850946eSmrg X"$file" : 'X\(//\)[^/]' \| \ 6285a850946eSmrg X"$file" : 'X\(//\)$' \| \ 628670f7c90cSmrg X"$file" : 'X\(/\)' \| . 2>/dev/null || 628770f7c90cSmrg$as_echo X"$file" | 628870f7c90cSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 628970f7c90cSmrg s//\1/ 629070f7c90cSmrg q 629170f7c90cSmrg } 629270f7c90cSmrg /^X\(\/\/\)[^/].*/{ 629370f7c90cSmrg s//\1/ 629470f7c90cSmrg q 629570f7c90cSmrg } 629670f7c90cSmrg /^X\(\/\/\)$/{ 629770f7c90cSmrg s//\1/ 629870f7c90cSmrg q 629970f7c90cSmrg } 630070f7c90cSmrg /^X\(\/\).*/{ 630170f7c90cSmrg s//\1/ 630270f7c90cSmrg q 630370f7c90cSmrg } 630470f7c90cSmrg s/.*/./; q'` 63057dff02feSmrg as_dir=$dirpart/$fdir; as_fn_mkdir_p 630670f7c90cSmrg # echo "creating $dirpart/$file" 630770f7c90cSmrg echo '# dummy' > "$dirpart/$file" 630870f7c90cSmrg done 6309a850946eSmrg done 631070f7c90cSmrg} 6311a850946eSmrg ;; 631270f7c90cSmrg 6313a850946eSmrg esac 631470f7c90cSmrgdone # for ac_tag 6315a850946eSmrg 6316a850946eSmrg 63177dff02feSmrgas_fn_exit 0 6318a850946eSmrg_ACEOF 6319a850946eSmrgac_clean_files=$ac_clean_files_save 6320a850946eSmrg 632170f7c90cSmrgtest $ac_write_fail = 0 || 632269a1fe56Smrg as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 632370f7c90cSmrg 6324a850946eSmrg 6325a850946eSmrg# configure is writing to config.log, and then calls config.status. 6326a850946eSmrg# config.status does its own redirection, appending to config.log. 6327a850946eSmrg# Unfortunately, on DOS this fails, as config.log is still kept open 6328a850946eSmrg# by configure, so config.status won't be able to write to it; its 6329a850946eSmrg# output is simply discarded. So we exec the FD to /dev/null, 6330a850946eSmrg# effectively closing config.log, so it can be properly (re)opened and 6331a850946eSmrg# appended to by config.status. When coming back to configure, we 6332a850946eSmrg# need to make the FD available again. 6333a850946eSmrgif test "$no_create" != yes; then 6334a850946eSmrg ac_cs_success=: 6335a850946eSmrg ac_config_status_args= 6336a850946eSmrg test "$silent" = yes && 6337a850946eSmrg ac_config_status_args="$ac_config_status_args --quiet" 6338a850946eSmrg exec 5>/dev/null 6339a850946eSmrg $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 6340a850946eSmrg exec 5>>config.log 6341a850946eSmrg # Use ||, not &&, to avoid exiting from the if with $? = 1, which 6342a850946eSmrg # would make configure fail if this is the last instruction. 634369a1fe56Smrg $ac_cs_success || as_fn_exit 1 6344a850946eSmrgfi 634570f7c90cSmrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 63467dff02feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 634770f7c90cSmrg$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 634870f7c90cSmrgfi 6349a850946eSmrg 6350