configure revision 86bbecbe
153354cdbSmrg#! /bin/sh 253354cdbSmrg# Guess values for system-dependent variables and create Makefiles. 386bbecbeSmrg# Generated by GNU Autoconf 2.68 for rgb 1.0.4. 453354cdbSmrg# 553354cdbSmrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 653354cdbSmrg# 786bbecbeSmrg# 853354cdbSmrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 986bbecbeSmrg# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 1086bbecbeSmrg# Foundation, Inc. 1186bbecbeSmrg# 1286bbecbeSmrg# 1353354cdbSmrg# This configure script is free software; the Free Software Foundation 1453354cdbSmrg# gives unlimited permission to copy, distribute and modify it. 1586bbecbeSmrg## -------------------- ## 1686bbecbeSmrg## M4sh Initialization. ## 1786bbecbeSmrg## -------------------- ## 1853354cdbSmrg 1953354cdbSmrg# Be more Bourne compatible 2053354cdbSmrgDUALCASE=1; export DUALCASE # for MKS sh 2186bbecbeSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 2253354cdbSmrg emulate sh 2353354cdbSmrg NULLCMD=: 2486bbecbeSmrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 2553354cdbSmrg # is contrary to our usage. Disable this feature. 2653354cdbSmrg alias -g '${1+"$@"}'='"$@"' 2753354cdbSmrg setopt NO_GLOB_SUBST 2853354cdbSmrgelse 2986bbecbeSmrg case `(set -o) 2>/dev/null` in #( 3086bbecbeSmrg *posix*) : 3186bbecbeSmrg set -o posix ;; #( 3286bbecbeSmrg *) : 3386bbecbeSmrg ;; 3453354cdbSmrgesac 3553354cdbSmrgfi 3653354cdbSmrg 3753354cdbSmrg 3886bbecbeSmrgas_nl=' 3986bbecbeSmrg' 4086bbecbeSmrgexport as_nl 4186bbecbeSmrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 4286bbecbeSmrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4386bbecbeSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 4486bbecbeSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 4586bbecbeSmrg# Prefer a ksh shell builtin over an external printf program on Solaris, 4686bbecbeSmrg# but without wasting forks for bash or zsh. 4786bbecbeSmrgif test -z "$BASH_VERSION$ZSH_VERSION" \ 4886bbecbeSmrg && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 4986bbecbeSmrg as_echo='print -r --' 5086bbecbeSmrg as_echo_n='print -rn --' 5186bbecbeSmrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 5286bbecbeSmrg as_echo='printf %s\n' 5386bbecbeSmrg as_echo_n='printf %s' 5486bbecbeSmrgelse 5586bbecbeSmrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 5686bbecbeSmrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 5786bbecbeSmrg as_echo_n='/usr/ucb/echo -n' 5853354cdbSmrg else 5986bbecbeSmrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 6086bbecbeSmrg as_echo_n_body='eval 6186bbecbeSmrg arg=$1; 6286bbecbeSmrg case $arg in #( 6386bbecbeSmrg *"$as_nl"*) 6486bbecbeSmrg expr "X$arg" : "X\\(.*\\)$as_nl"; 6586bbecbeSmrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 6686bbecbeSmrg esac; 6786bbecbeSmrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 6886bbecbeSmrg ' 6986bbecbeSmrg export as_echo_n_body 7086bbecbeSmrg as_echo_n='sh -c $as_echo_n_body as_echo' 7153354cdbSmrg fi 7286bbecbeSmrg export as_echo_body 7386bbecbeSmrg as_echo='sh -c $as_echo_body as_echo' 7453354cdbSmrgfi 7553354cdbSmrg 7686bbecbeSmrg# The user is always right. 7786bbecbeSmrgif test "${PATH_SEPARATOR+set}" != set; then 7886bbecbeSmrg PATH_SEPARATOR=: 7986bbecbeSmrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 8086bbecbeSmrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 8186bbecbeSmrg PATH_SEPARATOR=';' 8286bbecbeSmrg } 8353354cdbSmrgfi 8453354cdbSmrg 8553354cdbSmrg 8653354cdbSmrg# IFS 8753354cdbSmrg# We need space, tab and new line, in precisely that order. Quoting is 8853354cdbSmrg# there to prevent editors from complaining about space-tab. 8953354cdbSmrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 9053354cdbSmrg# splitting by setting IFS to empty value.) 9153354cdbSmrgIFS=" "" $as_nl" 9253354cdbSmrg 9353354cdbSmrg# Find who we are. Look in the path if we contain no directory separator. 9486bbecbeSmrgas_myself= 9586bbecbeSmrgcase $0 in #(( 9653354cdbSmrg *[\\/]* ) as_myself=$0 ;; 9753354cdbSmrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9853354cdbSmrgfor as_dir in $PATH 9953354cdbSmrgdo 10053354cdbSmrg IFS=$as_save_IFS 10153354cdbSmrg test -z "$as_dir" && as_dir=. 10286bbecbeSmrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 10386bbecbeSmrg done 10453354cdbSmrgIFS=$as_save_IFS 10553354cdbSmrg 10653354cdbSmrg ;; 10753354cdbSmrgesac 10853354cdbSmrg# We did not find ourselves, most probably we were run as `sh COMMAND' 10953354cdbSmrg# in which case we are not to be found in the path. 11053354cdbSmrgif test "x$as_myself" = x; then 11153354cdbSmrg as_myself=$0 11253354cdbSmrgfi 11353354cdbSmrgif test ! -f "$as_myself"; then 11486bbecbeSmrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 11586bbecbeSmrg exit 1 11653354cdbSmrgfi 11753354cdbSmrg 11886bbecbeSmrg# Unset variables that we do not need and which cause bugs (e.g. in 11986bbecbeSmrg# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 12086bbecbeSmrg# suppresses any "Segmentation fault" message there. '((' could 12186bbecbeSmrg# trigger a bug in pdksh 5.2.14. 12286bbecbeSmrgfor as_var in BASH_ENV ENV MAIL MAILPATH 12386bbecbeSmrgdo eval test x\${$as_var+set} = xset \ 12486bbecbeSmrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 12553354cdbSmrgdone 12653354cdbSmrgPS1='$ ' 12753354cdbSmrgPS2='> ' 12853354cdbSmrgPS4='+ ' 12953354cdbSmrg 13053354cdbSmrg# NLS nuisances. 13186bbecbeSmrgLC_ALL=C 13286bbecbeSmrgexport LC_ALL 13386bbecbeSmrgLANGUAGE=C 13486bbecbeSmrgexport LANGUAGE 13586bbecbeSmrg 13686bbecbeSmrg# CDPATH. 13786bbecbeSmrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 13886bbecbeSmrg 13986bbecbeSmrgif test "x$CONFIG_SHELL" = x; then 14086bbecbeSmrg as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 14186bbecbeSmrg emulate sh 14286bbecbeSmrg NULLCMD=: 14386bbecbeSmrg # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 14486bbecbeSmrg # is contrary to our usage. Disable this feature. 14586bbecbeSmrg alias -g '\${1+\"\$@\"}'='\"\$@\"' 14686bbecbeSmrg setopt NO_GLOB_SUBST 14786bbecbeSmrgelse 14886bbecbeSmrg case \`(set -o) 2>/dev/null\` in #( 14986bbecbeSmrg *posix*) : 15086bbecbeSmrg set -o posix ;; #( 15186bbecbeSmrg *) : 15286bbecbeSmrg ;; 15386bbecbeSmrgesac 15486bbecbeSmrgfi 15586bbecbeSmrg" 15686bbecbeSmrg as_required="as_fn_return () { (exit \$1); } 15786bbecbeSmrgas_fn_success () { as_fn_return 0; } 15886bbecbeSmrgas_fn_failure () { as_fn_return 1; } 15986bbecbeSmrgas_fn_ret_success () { return 0; } 16086bbecbeSmrgas_fn_ret_failure () { return 1; } 16186bbecbeSmrg 16286bbecbeSmrgexitcode=0 16386bbecbeSmrgas_fn_success || { exitcode=1; echo as_fn_success failed.; } 16486bbecbeSmrgas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 16586bbecbeSmrgas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 16686bbecbeSmrgas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 16786bbecbeSmrgif ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 16886bbecbeSmrg 16986bbecbeSmrgelse 17086bbecbeSmrg exitcode=1; echo positional parameters were not saved. 17186bbecbeSmrgfi 17286bbecbeSmrgtest x\$exitcode = x0 || exit 1" 17386bbecbeSmrg as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 17486bbecbeSmrg as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 17586bbecbeSmrg eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 17686bbecbeSmrg test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 17786bbecbeSmrgtest \$(( 1 + 1 )) = 2 || exit 1" 17886bbecbeSmrg if (eval "$as_required") 2>/dev/null; then : 17986bbecbeSmrg as_have_required=yes 18086bbecbeSmrgelse 18186bbecbeSmrg as_have_required=no 18286bbecbeSmrgfi 18386bbecbeSmrg if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 18486bbecbeSmrg 18586bbecbeSmrgelse 18686bbecbeSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18786bbecbeSmrgas_found=false 18886bbecbeSmrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 18953354cdbSmrgdo 19086bbecbeSmrg IFS=$as_save_IFS 19186bbecbeSmrg test -z "$as_dir" && as_dir=. 19286bbecbeSmrg as_found=: 19386bbecbeSmrg case $as_dir in #( 19486bbecbeSmrg /*) 19586bbecbeSmrg for as_base in sh bash ksh sh5; do 19686bbecbeSmrg # Try only shells that exist, to save several forks. 19786bbecbeSmrg as_shell=$as_dir/$as_base 19886bbecbeSmrg if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 19986bbecbeSmrg { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 20086bbecbeSmrg CONFIG_SHELL=$as_shell as_have_required=yes 20186bbecbeSmrg if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 20286bbecbeSmrg break 2 20386bbecbeSmrgfi 20486bbecbeSmrgfi 20586bbecbeSmrg done;; 20686bbecbeSmrg esac 20786bbecbeSmrg as_found=false 20886bbecbeSmrgdone 20986bbecbeSmrg$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 21086bbecbeSmrg { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 21186bbecbeSmrg CONFIG_SHELL=$SHELL as_have_required=yes 21286bbecbeSmrgfi; } 21386bbecbeSmrgIFS=$as_save_IFS 21486bbecbeSmrg 21586bbecbeSmrg 21686bbecbeSmrg if test "x$CONFIG_SHELL" != x; then : 21786bbecbeSmrg # We cannot yet assume a decent shell, so we have to provide a 21886bbecbeSmrg # neutralization value for shells without unset; and this also 21986bbecbeSmrg # works around shells that cannot unset nonexistent variables. 22086bbecbeSmrg # Preserve -v and -x to the replacement shell. 22186bbecbeSmrg BASH_ENV=/dev/null 22286bbecbeSmrg ENV=/dev/null 22386bbecbeSmrg (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 22486bbecbeSmrg export CONFIG_SHELL 22586bbecbeSmrg case $- in # (((( 22686bbecbeSmrg *v*x* | *x*v* ) as_opts=-vx ;; 22786bbecbeSmrg *v* ) as_opts=-v ;; 22886bbecbeSmrg *x* ) as_opts=-x ;; 22986bbecbeSmrg * ) as_opts= ;; 23086bbecbeSmrg esac 23186bbecbeSmrg exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 23286bbecbeSmrgfi 23386bbecbeSmrg 23486bbecbeSmrg if test x$as_have_required = xno; then : 23586bbecbeSmrg $as_echo "$0: This script requires a shell more modern than all" 23686bbecbeSmrg $as_echo "$0: the shells that I found on your system." 23786bbecbeSmrg if test x${ZSH_VERSION+set} = xset ; then 23886bbecbeSmrg $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 23986bbecbeSmrg $as_echo "$0: be upgraded to zsh 4.3.4 or later." 24053354cdbSmrg else 24186bbecbeSmrg $as_echo "$0: Please tell bug-autoconf@gnu.org and 24286bbecbeSmrg$0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg 24386bbecbeSmrg$0: about your system, including any error possibly output 24486bbecbeSmrg$0: before this message. Then install a modern shell, or 24586bbecbeSmrg$0: manually run the script under such a shell if you do 24686bbecbeSmrg$0: have one." 24753354cdbSmrg fi 24886bbecbeSmrg exit 1 24986bbecbeSmrgfi 25086bbecbeSmrgfi 25186bbecbeSmrgfi 25286bbecbeSmrgSHELL=${CONFIG_SHELL-/bin/sh} 25386bbecbeSmrgexport SHELL 25486bbecbeSmrg# Unset more variables known to interfere with behavior of common tools. 25586bbecbeSmrgCLICOLOR_FORCE= GREP_OPTIONS= 25686bbecbeSmrgunset CLICOLOR_FORCE GREP_OPTIONS 25786bbecbeSmrg 25886bbecbeSmrg## --------------------- ## 25986bbecbeSmrg## M4sh Shell Functions. ## 26086bbecbeSmrg## --------------------- ## 26186bbecbeSmrg# as_fn_unset VAR 26286bbecbeSmrg# --------------- 26386bbecbeSmrg# Portably unset VAR. 26486bbecbeSmrgas_fn_unset () 26586bbecbeSmrg{ 26686bbecbeSmrg { eval $1=; unset $1;} 26786bbecbeSmrg} 26886bbecbeSmrgas_unset=as_fn_unset 26986bbecbeSmrg 27086bbecbeSmrg# as_fn_set_status STATUS 27186bbecbeSmrg# ----------------------- 27286bbecbeSmrg# Set $? to STATUS, without forking. 27386bbecbeSmrgas_fn_set_status () 27486bbecbeSmrg{ 27586bbecbeSmrg return $1 27686bbecbeSmrg} # as_fn_set_status 27786bbecbeSmrg 27886bbecbeSmrg# as_fn_exit STATUS 27986bbecbeSmrg# ----------------- 28086bbecbeSmrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 28186bbecbeSmrgas_fn_exit () 28286bbecbeSmrg{ 28386bbecbeSmrg set +e 28486bbecbeSmrg as_fn_set_status $1 28586bbecbeSmrg exit $1 28686bbecbeSmrg} # as_fn_exit 28786bbecbeSmrg 28886bbecbeSmrg# as_fn_mkdir_p 28986bbecbeSmrg# ------------- 29086bbecbeSmrg# Create "$as_dir" as a directory, including parents if necessary. 29186bbecbeSmrgas_fn_mkdir_p () 29286bbecbeSmrg{ 29386bbecbeSmrg 29486bbecbeSmrg case $as_dir in #( 29586bbecbeSmrg -*) as_dir=./$as_dir;; 29686bbecbeSmrg esac 29786bbecbeSmrg test -d "$as_dir" || eval $as_mkdir_p || { 29886bbecbeSmrg as_dirs= 29986bbecbeSmrg while :; do 30086bbecbeSmrg case $as_dir in #( 30186bbecbeSmrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 30286bbecbeSmrg *) as_qdir=$as_dir;; 30386bbecbeSmrg esac 30486bbecbeSmrg as_dirs="'$as_qdir' $as_dirs" 30586bbecbeSmrg as_dir=`$as_dirname -- "$as_dir" || 30686bbecbeSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 30786bbecbeSmrg X"$as_dir" : 'X\(//\)[^/]' \| \ 30886bbecbeSmrg X"$as_dir" : 'X\(//\)$' \| \ 30986bbecbeSmrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 31086bbecbeSmrg$as_echo X"$as_dir" | 31186bbecbeSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 31286bbecbeSmrg s//\1/ 31386bbecbeSmrg q 31486bbecbeSmrg } 31586bbecbeSmrg /^X\(\/\/\)[^/].*/{ 31686bbecbeSmrg s//\1/ 31786bbecbeSmrg q 31886bbecbeSmrg } 31986bbecbeSmrg /^X\(\/\/\)$/{ 32086bbecbeSmrg s//\1/ 32186bbecbeSmrg q 32286bbecbeSmrg } 32386bbecbeSmrg /^X\(\/\).*/{ 32486bbecbeSmrg s//\1/ 32586bbecbeSmrg q 32686bbecbeSmrg } 32786bbecbeSmrg s/.*/./; q'` 32886bbecbeSmrg test -d "$as_dir" && break 32986bbecbeSmrg done 33086bbecbeSmrg test -z "$as_dirs" || eval "mkdir $as_dirs" 33186bbecbeSmrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 33286bbecbeSmrg 33386bbecbeSmrg 33486bbecbeSmrg} # as_fn_mkdir_p 33586bbecbeSmrg# as_fn_append VAR VALUE 33686bbecbeSmrg# ---------------------- 33786bbecbeSmrg# Append the text in VALUE to the end of the definition contained in VAR. Take 33886bbecbeSmrg# advantage of any shell optimizations that allow amortized linear growth over 33986bbecbeSmrg# repeated appends, instead of the typical quadratic growth present in naive 34086bbecbeSmrg# implementations. 34186bbecbeSmrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 34286bbecbeSmrg eval 'as_fn_append () 34386bbecbeSmrg { 34486bbecbeSmrg eval $1+=\$2 34586bbecbeSmrg }' 34686bbecbeSmrgelse 34786bbecbeSmrg as_fn_append () 34886bbecbeSmrg { 34986bbecbeSmrg eval $1=\$$1\$2 35086bbecbeSmrg } 35186bbecbeSmrgfi # as_fn_append 35286bbecbeSmrg 35386bbecbeSmrg# as_fn_arith ARG... 35486bbecbeSmrg# ------------------ 35586bbecbeSmrg# Perform arithmetic evaluation on the ARGs, and store the result in the 35686bbecbeSmrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 35786bbecbeSmrg# must be portable across $(()) and expr. 35886bbecbeSmrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 35986bbecbeSmrg eval 'as_fn_arith () 36086bbecbeSmrg { 36186bbecbeSmrg as_val=$(( $* )) 36286bbecbeSmrg }' 36386bbecbeSmrgelse 36486bbecbeSmrg as_fn_arith () 36586bbecbeSmrg { 36686bbecbeSmrg as_val=`expr "$@" || test $? -eq 1` 36786bbecbeSmrg } 36886bbecbeSmrgfi # as_fn_arith 36986bbecbeSmrg 37086bbecbeSmrg 37186bbecbeSmrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 37286bbecbeSmrg# ---------------------------------------- 37386bbecbeSmrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 37486bbecbeSmrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 37586bbecbeSmrg# script with STATUS, using 1 if that was 0. 37686bbecbeSmrgas_fn_error () 37786bbecbeSmrg{ 37886bbecbeSmrg as_status=$1; test $as_status -eq 0 && as_status=1 37986bbecbeSmrg if test "$4"; then 38086bbecbeSmrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 38186bbecbeSmrg $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 38286bbecbeSmrg fi 38386bbecbeSmrg $as_echo "$as_me: error: $2" >&2 38486bbecbeSmrg as_fn_exit $as_status 38586bbecbeSmrg} # as_fn_error 38653354cdbSmrg 38753354cdbSmrgif expr a : '\(a\)' >/dev/null 2>&1 && 38853354cdbSmrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 38953354cdbSmrg as_expr=expr 39053354cdbSmrgelse 39153354cdbSmrg as_expr=false 39253354cdbSmrgfi 39353354cdbSmrg 39453354cdbSmrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 39553354cdbSmrg as_basename=basename 39653354cdbSmrgelse 39753354cdbSmrg as_basename=false 39853354cdbSmrgfi 39953354cdbSmrg 40086bbecbeSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 40186bbecbeSmrg as_dirname=dirname 40286bbecbeSmrgelse 40386bbecbeSmrg as_dirname=false 40486bbecbeSmrgfi 40553354cdbSmrg 40653354cdbSmrgas_me=`$as_basename -- "$0" || 40753354cdbSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 40853354cdbSmrg X"$0" : 'X\(//\)$' \| \ 40953354cdbSmrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 41086bbecbeSmrg$as_echo X/"$0" | 41153354cdbSmrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 41253354cdbSmrg s//\1/ 41353354cdbSmrg q 41453354cdbSmrg } 41553354cdbSmrg /^X\/\(\/\/\)$/{ 41653354cdbSmrg s//\1/ 41753354cdbSmrg q 41853354cdbSmrg } 41953354cdbSmrg /^X\/\(\/\).*/{ 42053354cdbSmrg s//\1/ 42153354cdbSmrg q 42253354cdbSmrg } 42353354cdbSmrg s/.*/./; q'` 42453354cdbSmrg 42586bbecbeSmrg# Avoid depending upon Character Ranges. 42686bbecbeSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 42786bbecbeSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 42886bbecbeSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 42986bbecbeSmrgas_cr_digits='0123456789' 43086bbecbeSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits 43153354cdbSmrg 43253354cdbSmrg 43386bbecbeSmrg as_lineno_1=$LINENO as_lineno_1a=$LINENO 43486bbecbeSmrg as_lineno_2=$LINENO as_lineno_2a=$LINENO 43586bbecbeSmrg eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 43686bbecbeSmrg test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 43786bbecbeSmrg # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 43886bbecbeSmrg sed -n ' 43986bbecbeSmrg p 44086bbecbeSmrg /[$]LINENO/= 44186bbecbeSmrg ' <$as_myself | 44286bbecbeSmrg sed ' 44386bbecbeSmrg s/[$]LINENO.*/&-/ 44486bbecbeSmrg t lineno 44586bbecbeSmrg b 44686bbecbeSmrg :lineno 44786bbecbeSmrg N 44886bbecbeSmrg :loop 44986bbecbeSmrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 45086bbecbeSmrg t loop 45186bbecbeSmrg s/-\n.*// 45286bbecbeSmrg ' >$as_me.lineno && 45386bbecbeSmrg chmod +x "$as_me.lineno" || 45486bbecbeSmrg { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 45553354cdbSmrg 45686bbecbeSmrg # Don't try to exec as it changes $[0], causing all sort of problems 45786bbecbeSmrg # (the dirname of $[0] is not the place where we might find the 45886bbecbeSmrg # original and so on. Autoconf is especially sensitive to this). 45986bbecbeSmrg . "./$as_me.lineno" 46086bbecbeSmrg # Exit status is that of the last command. 46186bbecbeSmrg exit 46253354cdbSmrg} 46353354cdbSmrg 46486bbecbeSmrgECHO_C= ECHO_N= ECHO_T= 46586bbecbeSmrgcase `echo -n x` in #((((( 46686bbecbeSmrg-n*) 46786bbecbeSmrg case `echo 'xy\c'` in 46886bbecbeSmrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 46986bbecbeSmrg xy) ECHO_C='\c';; 47086bbecbeSmrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 47186bbecbeSmrg ECHO_T=' ';; 47286bbecbeSmrg esac;; 47386bbecbeSmrg*) 47486bbecbeSmrg ECHO_N='-n';; 47586bbecbeSmrgesac 47653354cdbSmrg 47786bbecbeSmrgrm -f conf$$ conf$$.exe conf$$.file 47886bbecbeSmrgif test -d conf$$.dir; then 47986bbecbeSmrg rm -f conf$$.dir/conf$$.file 48086bbecbeSmrgelse 48186bbecbeSmrg rm -f conf$$.dir 48286bbecbeSmrg mkdir conf$$.dir 2>/dev/null 48386bbecbeSmrgfi 48486bbecbeSmrgif (echo >conf$$.file) 2>/dev/null; then 48586bbecbeSmrg if ln -s conf$$.file conf$$ 2>/dev/null; then 48686bbecbeSmrg as_ln_s='ln -s' 48786bbecbeSmrg # ... but there are two gotchas: 48886bbecbeSmrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 48986bbecbeSmrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 49086bbecbeSmrg # In both cases, we have to default to `cp -p'. 49186bbecbeSmrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 49286bbecbeSmrg as_ln_s='cp -p' 49386bbecbeSmrg elif ln conf$$.file conf$$ 2>/dev/null; then 49486bbecbeSmrg as_ln_s=ln 49586bbecbeSmrg else 49686bbecbeSmrg as_ln_s='cp -p' 49786bbecbeSmrg fi 49853354cdbSmrgelse 49986bbecbeSmrg as_ln_s='cp -p' 50053354cdbSmrgfi 50186bbecbeSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 50286bbecbeSmrgrmdir conf$$.dir 2>/dev/null 50353354cdbSmrg 50486bbecbeSmrgif mkdir -p . 2>/dev/null; then 50586bbecbeSmrg as_mkdir_p='mkdir -p "$as_dir"' 50686bbecbeSmrgelse 50786bbecbeSmrg test -d ./-p && rmdir ./-p 50886bbecbeSmrg as_mkdir_p=false 50953354cdbSmrgfi 51053354cdbSmrg 51186bbecbeSmrgif test -x / >/dev/null 2>&1; then 51286bbecbeSmrg as_test_x='test -x' 51353354cdbSmrgelse 51486bbecbeSmrg if ls -dL / >/dev/null 2>&1; then 51586bbecbeSmrg as_ls_L_option=L 51686bbecbeSmrg else 51786bbecbeSmrg as_ls_L_option= 51886bbecbeSmrg fi 51986bbecbeSmrg as_test_x=' 52086bbecbeSmrg eval sh -c '\'' 52186bbecbeSmrg if test -d "$1"; then 52286bbecbeSmrg test -d "$1/."; 52386bbecbeSmrg else 52486bbecbeSmrg case $1 in #( 52586bbecbeSmrg -*)set "./$1";; 52686bbecbeSmrg esac; 52786bbecbeSmrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 52886bbecbeSmrg ???[sx]*):;;*)false;;esac;fi 52986bbecbeSmrg '\'' sh 53086bbecbeSmrg ' 53153354cdbSmrgfi 53286bbecbeSmrgas_executable_p=$as_test_x 53353354cdbSmrg 53486bbecbeSmrg# Sed expression to map a string onto a valid CPP name. 53586bbecbeSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 53653354cdbSmrg 53786bbecbeSmrg# Sed expression to map a string onto a valid variable name. 53886bbecbeSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 53953354cdbSmrg 54053354cdbSmrg 54186bbecbeSmrgtest -n "$DJDIR" || exec 7<&0 </dev/null 54286bbecbeSmrgexec 6>&1 54353354cdbSmrg 54486bbecbeSmrg# Name of the host. 54586bbecbeSmrg# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 54686bbecbeSmrg# so uname gets run too. 54786bbecbeSmrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 54853354cdbSmrg 54986bbecbeSmrg# 55086bbecbeSmrg# Initializations. 55186bbecbeSmrg# 55286bbecbeSmrgac_default_prefix=/usr/local 55386bbecbeSmrgac_clean_files= 55486bbecbeSmrgac_config_libobj_dir=. 55586bbecbeSmrgLIBOBJS= 55686bbecbeSmrgcross_compiling=no 55786bbecbeSmrgsubdirs= 55886bbecbeSmrgMFLAGS= 55986bbecbeSmrgMAKEFLAGS= 56053354cdbSmrg 56153354cdbSmrg# Identity of this package. 56253354cdbSmrgPACKAGE_NAME='rgb' 56353354cdbSmrgPACKAGE_TARNAME='rgb' 56486bbecbeSmrgPACKAGE_VERSION='1.0.4' 56586bbecbeSmrgPACKAGE_STRING='rgb 1.0.4' 56653354cdbSmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 56786bbecbeSmrgPACKAGE_URL='' 56853354cdbSmrg 56953354cdbSmrg# Factoring default headers for most tests. 57053354cdbSmrgac_includes_default="\ 57153354cdbSmrg#include <stdio.h> 57253354cdbSmrg#ifdef HAVE_SYS_TYPES_H 57353354cdbSmrg# include <sys/types.h> 57453354cdbSmrg#endif 57553354cdbSmrg#ifdef HAVE_SYS_STAT_H 57653354cdbSmrg# include <sys/stat.h> 57753354cdbSmrg#endif 57853354cdbSmrg#ifdef STDC_HEADERS 57953354cdbSmrg# include <stdlib.h> 58053354cdbSmrg# include <stddef.h> 58153354cdbSmrg#else 58253354cdbSmrg# ifdef HAVE_STDLIB_H 58353354cdbSmrg# include <stdlib.h> 58453354cdbSmrg# endif 58553354cdbSmrg#endif 58653354cdbSmrg#ifdef HAVE_STRING_H 58753354cdbSmrg# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 58853354cdbSmrg# include <memory.h> 58953354cdbSmrg# endif 59053354cdbSmrg# include <string.h> 59153354cdbSmrg#endif 59253354cdbSmrg#ifdef HAVE_STRINGS_H 59353354cdbSmrg# include <strings.h> 59453354cdbSmrg#endif 59553354cdbSmrg#ifdef HAVE_INTTYPES_H 59653354cdbSmrg# include <inttypes.h> 59753354cdbSmrg#endif 59853354cdbSmrg#ifdef HAVE_STDINT_H 59953354cdbSmrg# include <stdint.h> 60053354cdbSmrg#endif 60153354cdbSmrg#ifdef HAVE_UNISTD_H 60253354cdbSmrg# include <unistd.h> 60353354cdbSmrg#endif" 60453354cdbSmrg 60586bbecbeSmrgac_subst_vars='am__EXEEXT_FALSE 60686bbecbeSmrgam__EXEEXT_TRUE 60786bbecbeSmrgLTLIBOBJS 60886bbecbeSmrgLIBOBJS 60953354cdbSmrgRGB_DB_FALSE 61086bbecbeSmrgRGB_DB_TRUE 61186bbecbeSmrgRGB_DB_FILES 61286bbecbeSmrgRGB_DB_TYPE 61386bbecbeSmrgXORG_LIBS 61486bbecbeSmrgXORG_CFLAGS 61586bbecbeSmrgdb_dir 61686bbecbeSmrgdb_file 61786bbecbeSmrgRGB_LIBS 61886bbecbeSmrgRGB_CFLAGS 61986bbecbeSmrgAM_BACKSLASH 62086bbecbeSmrgAM_DEFAULT_VERBOSITY 62186bbecbeSmrgMAN_SUBSTS 62286bbecbeSmrgXORG_MAN_PAGE 62353354cdbSmrgADMIN_MAN_DIR 62486bbecbeSmrgDRIVER_MAN_DIR 62586bbecbeSmrgMISC_MAN_DIR 62686bbecbeSmrgFILE_MAN_DIR 62786bbecbeSmrgLIB_MAN_DIR 62886bbecbeSmrgAPP_MAN_DIR 62986bbecbeSmrgADMIN_MAN_SUFFIX 63086bbecbeSmrgDRIVER_MAN_SUFFIX 63186bbecbeSmrgMISC_MAN_SUFFIX 63286bbecbeSmrgFILE_MAN_SUFFIX 63386bbecbeSmrgLIB_MAN_SUFFIX 63486bbecbeSmrgAPP_MAN_SUFFIX 63586bbecbeSmrgSED 63686bbecbeSmrghost_os 63786bbecbeSmrghost_vendor 63886bbecbeSmrghost_cpu 63986bbecbeSmrghost 64086bbecbeSmrgbuild_os 64186bbecbeSmrgbuild_vendor 64286bbecbeSmrgbuild_cpu 64386bbecbeSmrgbuild 64486bbecbeSmrgINSTALL_CMD 64586bbecbeSmrgPKG_CONFIG 64686bbecbeSmrgCHANGELOG_CMD 64786bbecbeSmrgCWARNFLAGS 64886bbecbeSmrgEGREP 64986bbecbeSmrgGREP 65086bbecbeSmrgCPP 65186bbecbeSmrgam__fastdepCC_FALSE 65286bbecbeSmrgam__fastdepCC_TRUE 65386bbecbeSmrgCCDEPMODE 65486bbecbeSmrgAMDEPBACKSLASH 65586bbecbeSmrgAMDEP_FALSE 65686bbecbeSmrgAMDEP_TRUE 65786bbecbeSmrgam__quote 65886bbecbeSmrgam__include 65986bbecbeSmrgDEPDIR 66086bbecbeSmrgOBJEXT 66186bbecbeSmrgEXEEXT 66286bbecbeSmrgac_ct_CC 66386bbecbeSmrgCPPFLAGS 66486bbecbeSmrgLDFLAGS 66586bbecbeSmrgCFLAGS 66686bbecbeSmrgCC 66786bbecbeSmrgMAINT 66886bbecbeSmrgMAINTAINER_MODE_FALSE 66986bbecbeSmrgMAINTAINER_MODE_TRUE 67086bbecbeSmrgam__untar 67186bbecbeSmrgam__tar 67286bbecbeSmrgAMTAR 67386bbecbeSmrgam__leading_dot 67486bbecbeSmrgSET_MAKE 67586bbecbeSmrgAWK 67686bbecbeSmrgmkdir_p 67786bbecbeSmrgMKDIR_P 67886bbecbeSmrgINSTALL_STRIP_PROGRAM 67986bbecbeSmrgSTRIP 68086bbecbeSmrginstall_sh 68186bbecbeSmrgMAKEINFO 68286bbecbeSmrgAUTOHEADER 68386bbecbeSmrgAUTOMAKE 68486bbecbeSmrgAUTOCONF 68586bbecbeSmrgACLOCAL 68686bbecbeSmrgVERSION 68786bbecbeSmrgPACKAGE 68886bbecbeSmrgCYGPATH_W 68986bbecbeSmrgam__isrc 69086bbecbeSmrgINSTALL_DATA 69186bbecbeSmrgINSTALL_SCRIPT 69286bbecbeSmrgINSTALL_PROGRAM 69386bbecbeSmrgtarget_alias 69486bbecbeSmrghost_alias 69586bbecbeSmrgbuild_alias 69686bbecbeSmrgLIBS 69786bbecbeSmrgECHO_T 69886bbecbeSmrgECHO_N 69986bbecbeSmrgECHO_C 70086bbecbeSmrgDEFS 70186bbecbeSmrgmandir 70286bbecbeSmrglocaledir 70386bbecbeSmrglibdir 70486bbecbeSmrgpsdir 70586bbecbeSmrgpdfdir 70686bbecbeSmrgdvidir 70786bbecbeSmrghtmldir 70886bbecbeSmrginfodir 70986bbecbeSmrgdocdir 71086bbecbeSmrgoldincludedir 71186bbecbeSmrgincludedir 71286bbecbeSmrglocalstatedir 71386bbecbeSmrgsharedstatedir 71486bbecbeSmrgsysconfdir 71586bbecbeSmrgdatadir 71686bbecbeSmrgdatarootdir 71786bbecbeSmrglibexecdir 71886bbecbeSmrgsbindir 71986bbecbeSmrgbindir 72086bbecbeSmrgprogram_transform_name 72186bbecbeSmrgprefix 72286bbecbeSmrgexec_prefix 72386bbecbeSmrgPACKAGE_URL 72486bbecbeSmrgPACKAGE_BUGREPORT 72586bbecbeSmrgPACKAGE_STRING 72686bbecbeSmrgPACKAGE_VERSION 72786bbecbeSmrgPACKAGE_TARNAME 72886bbecbeSmrgPACKAGE_NAME 72986bbecbeSmrgPATH_SEPARATOR 73086bbecbeSmrgSHELL' 73153354cdbSmrgac_subst_files='' 73286bbecbeSmrgac_user_opts=' 73386bbecbeSmrgenable_option_checking 73486bbecbeSmrgenable_maintainer_mode 73586bbecbeSmrgenable_dependency_tracking 73686bbecbeSmrgenable_strict_compilation 73786bbecbeSmrgenable_silent_rules 73886bbecbeSmrgwith_rgb_db_dir 73986bbecbeSmrgwith_rgb_db_type 74086bbecbeSmrg' 74153354cdbSmrg ac_precious_vars='build_alias 74253354cdbSmrghost_alias 74353354cdbSmrgtarget_alias 74453354cdbSmrgCC 74553354cdbSmrgCFLAGS 74653354cdbSmrgLDFLAGS 74753354cdbSmrgLIBS 74853354cdbSmrgCPPFLAGS 74986bbecbeSmrgCPP 75053354cdbSmrgPKG_CONFIG 75153354cdbSmrgRGB_CFLAGS 75253354cdbSmrgRGB_LIBS 75353354cdbSmrgXORG_CFLAGS 75453354cdbSmrgXORG_LIBS' 75553354cdbSmrg 75653354cdbSmrg 75753354cdbSmrg# Initialize some variables set by options. 75853354cdbSmrgac_init_help= 75953354cdbSmrgac_init_version=false 76086bbecbeSmrgac_unrecognized_opts= 76186bbecbeSmrgac_unrecognized_sep= 76253354cdbSmrg# The variables have the same names as the options, with 76353354cdbSmrg# dashes changed to underlines. 76453354cdbSmrgcache_file=/dev/null 76553354cdbSmrgexec_prefix=NONE 76653354cdbSmrgno_create= 76753354cdbSmrgno_recursion= 76853354cdbSmrgprefix=NONE 76953354cdbSmrgprogram_prefix=NONE 77053354cdbSmrgprogram_suffix=NONE 77153354cdbSmrgprogram_transform_name=s,x,x, 77253354cdbSmrgsilent= 77353354cdbSmrgsite= 77453354cdbSmrgsrcdir= 77553354cdbSmrgverbose= 77653354cdbSmrgx_includes=NONE 77753354cdbSmrgx_libraries=NONE 77853354cdbSmrg 77953354cdbSmrg# Installation directory options. 78053354cdbSmrg# These are left unexpanded so users can "make install exec_prefix=/foo" 78153354cdbSmrg# and all the variables that are supposed to be based on exec_prefix 78253354cdbSmrg# by default will actually change. 78353354cdbSmrg# Use braces instead of parens because sh, perl, etc. also accept them. 78453354cdbSmrg# (The list follows the same order as the GNU Coding Standards.) 78553354cdbSmrgbindir='${exec_prefix}/bin' 78653354cdbSmrgsbindir='${exec_prefix}/sbin' 78753354cdbSmrglibexecdir='${exec_prefix}/libexec' 78853354cdbSmrgdatarootdir='${prefix}/share' 78953354cdbSmrgdatadir='${datarootdir}' 79053354cdbSmrgsysconfdir='${prefix}/etc' 79153354cdbSmrgsharedstatedir='${prefix}/com' 79253354cdbSmrglocalstatedir='${prefix}/var' 79353354cdbSmrgincludedir='${prefix}/include' 79453354cdbSmrgoldincludedir='/usr/include' 79553354cdbSmrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 79653354cdbSmrginfodir='${datarootdir}/info' 79753354cdbSmrghtmldir='${docdir}' 79853354cdbSmrgdvidir='${docdir}' 79953354cdbSmrgpdfdir='${docdir}' 80053354cdbSmrgpsdir='${docdir}' 80153354cdbSmrglibdir='${exec_prefix}/lib' 80253354cdbSmrglocaledir='${datarootdir}/locale' 80353354cdbSmrgmandir='${datarootdir}/man' 80453354cdbSmrg 80553354cdbSmrgac_prev= 80653354cdbSmrgac_dashdash= 80753354cdbSmrgfor ac_option 80853354cdbSmrgdo 80953354cdbSmrg # If the previous option needs an argument, assign it. 81053354cdbSmrg if test -n "$ac_prev"; then 81153354cdbSmrg eval $ac_prev=\$ac_option 81253354cdbSmrg ac_prev= 81353354cdbSmrg continue 81453354cdbSmrg fi 81553354cdbSmrg 81653354cdbSmrg case $ac_option in 81786bbecbeSmrg *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 81886bbecbeSmrg *=) ac_optarg= ;; 81986bbecbeSmrg *) ac_optarg=yes ;; 82053354cdbSmrg esac 82153354cdbSmrg 82253354cdbSmrg # Accept the important Cygnus configure options, so we can diagnose typos. 82353354cdbSmrg 82453354cdbSmrg case $ac_dashdash$ac_option in 82553354cdbSmrg --) 82653354cdbSmrg ac_dashdash=yes ;; 82753354cdbSmrg 82853354cdbSmrg -bindir | --bindir | --bindi | --bind | --bin | --bi) 82953354cdbSmrg ac_prev=bindir ;; 83053354cdbSmrg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 83153354cdbSmrg bindir=$ac_optarg ;; 83253354cdbSmrg 83353354cdbSmrg -build | --build | --buil | --bui | --bu) 83453354cdbSmrg ac_prev=build_alias ;; 83553354cdbSmrg -build=* | --build=* | --buil=* | --bui=* | --bu=*) 83653354cdbSmrg build_alias=$ac_optarg ;; 83753354cdbSmrg 83853354cdbSmrg -cache-file | --cache-file | --cache-fil | --cache-fi \ 83953354cdbSmrg | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 84053354cdbSmrg ac_prev=cache_file ;; 84153354cdbSmrg -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 84253354cdbSmrg | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 84353354cdbSmrg cache_file=$ac_optarg ;; 84453354cdbSmrg 84553354cdbSmrg --config-cache | -C) 84653354cdbSmrg cache_file=config.cache ;; 84753354cdbSmrg 84853354cdbSmrg -datadir | --datadir | --datadi | --datad) 84953354cdbSmrg ac_prev=datadir ;; 85053354cdbSmrg -datadir=* | --datadir=* | --datadi=* | --datad=*) 85153354cdbSmrg datadir=$ac_optarg ;; 85253354cdbSmrg 85353354cdbSmrg -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 85453354cdbSmrg | --dataroo | --dataro | --datar) 85553354cdbSmrg ac_prev=datarootdir ;; 85653354cdbSmrg -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 85753354cdbSmrg | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 85853354cdbSmrg datarootdir=$ac_optarg ;; 85953354cdbSmrg 86053354cdbSmrg -disable-* | --disable-*) 86186bbecbeSmrg ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 86253354cdbSmrg # Reject names that are not valid shell variable names. 86386bbecbeSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 86486bbecbeSmrg as_fn_error $? "invalid feature name: $ac_useropt" 86586bbecbeSmrg ac_useropt_orig=$ac_useropt 86686bbecbeSmrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 86786bbecbeSmrg case $ac_user_opts in 86886bbecbeSmrg *" 86986bbecbeSmrg"enable_$ac_useropt" 87086bbecbeSmrg"*) ;; 87186bbecbeSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 87286bbecbeSmrg ac_unrecognized_sep=', ';; 87386bbecbeSmrg esac 87486bbecbeSmrg eval enable_$ac_useropt=no ;; 87553354cdbSmrg 87653354cdbSmrg -docdir | --docdir | --docdi | --doc | --do) 87753354cdbSmrg ac_prev=docdir ;; 87853354cdbSmrg -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 87953354cdbSmrg docdir=$ac_optarg ;; 88053354cdbSmrg 88153354cdbSmrg -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 88253354cdbSmrg ac_prev=dvidir ;; 88353354cdbSmrg -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 88453354cdbSmrg dvidir=$ac_optarg ;; 88553354cdbSmrg 88653354cdbSmrg -enable-* | --enable-*) 88786bbecbeSmrg ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 88853354cdbSmrg # Reject names that are not valid shell variable names. 88986bbecbeSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 89086bbecbeSmrg as_fn_error $? "invalid feature name: $ac_useropt" 89186bbecbeSmrg ac_useropt_orig=$ac_useropt 89286bbecbeSmrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 89386bbecbeSmrg case $ac_user_opts in 89486bbecbeSmrg *" 89586bbecbeSmrg"enable_$ac_useropt" 89686bbecbeSmrg"*) ;; 89786bbecbeSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 89886bbecbeSmrg ac_unrecognized_sep=', ';; 89986bbecbeSmrg esac 90086bbecbeSmrg eval enable_$ac_useropt=\$ac_optarg ;; 90153354cdbSmrg 90253354cdbSmrg -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 90353354cdbSmrg | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 90453354cdbSmrg | --exec | --exe | --ex) 90553354cdbSmrg ac_prev=exec_prefix ;; 90653354cdbSmrg -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 90753354cdbSmrg | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 90853354cdbSmrg | --exec=* | --exe=* | --ex=*) 90953354cdbSmrg exec_prefix=$ac_optarg ;; 91053354cdbSmrg 91153354cdbSmrg -gas | --gas | --ga | --g) 91253354cdbSmrg # Obsolete; use --with-gas. 91353354cdbSmrg with_gas=yes ;; 91453354cdbSmrg 91553354cdbSmrg -help | --help | --hel | --he | -h) 91653354cdbSmrg ac_init_help=long ;; 91753354cdbSmrg -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 91853354cdbSmrg ac_init_help=recursive ;; 91953354cdbSmrg -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 92053354cdbSmrg ac_init_help=short ;; 92153354cdbSmrg 92253354cdbSmrg -host | --host | --hos | --ho) 92353354cdbSmrg ac_prev=host_alias ;; 92453354cdbSmrg -host=* | --host=* | --hos=* | --ho=*) 92553354cdbSmrg host_alias=$ac_optarg ;; 92653354cdbSmrg 92753354cdbSmrg -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 92853354cdbSmrg ac_prev=htmldir ;; 92953354cdbSmrg -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 93053354cdbSmrg | --ht=*) 93153354cdbSmrg htmldir=$ac_optarg ;; 93253354cdbSmrg 93353354cdbSmrg -includedir | --includedir | --includedi | --included | --include \ 93453354cdbSmrg | --includ | --inclu | --incl | --inc) 93553354cdbSmrg ac_prev=includedir ;; 93653354cdbSmrg -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 93753354cdbSmrg | --includ=* | --inclu=* | --incl=* | --inc=*) 93853354cdbSmrg includedir=$ac_optarg ;; 93953354cdbSmrg 94053354cdbSmrg -infodir | --infodir | --infodi | --infod | --info | --inf) 94153354cdbSmrg ac_prev=infodir ;; 94253354cdbSmrg -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 94353354cdbSmrg infodir=$ac_optarg ;; 94453354cdbSmrg 94553354cdbSmrg -libdir | --libdir | --libdi | --libd) 94653354cdbSmrg ac_prev=libdir ;; 94753354cdbSmrg -libdir=* | --libdir=* | --libdi=* | --libd=*) 94853354cdbSmrg libdir=$ac_optarg ;; 94953354cdbSmrg 95053354cdbSmrg -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 95153354cdbSmrg | --libexe | --libex | --libe) 95253354cdbSmrg ac_prev=libexecdir ;; 95353354cdbSmrg -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 95453354cdbSmrg | --libexe=* | --libex=* | --libe=*) 95553354cdbSmrg libexecdir=$ac_optarg ;; 95653354cdbSmrg 95753354cdbSmrg -localedir | --localedir | --localedi | --localed | --locale) 95853354cdbSmrg ac_prev=localedir ;; 95953354cdbSmrg -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 96053354cdbSmrg localedir=$ac_optarg ;; 96153354cdbSmrg 96253354cdbSmrg -localstatedir | --localstatedir | --localstatedi | --localstated \ 96353354cdbSmrg | --localstate | --localstat | --localsta | --localst | --locals) 96453354cdbSmrg ac_prev=localstatedir ;; 96553354cdbSmrg -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 96653354cdbSmrg | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 96753354cdbSmrg localstatedir=$ac_optarg ;; 96853354cdbSmrg 96953354cdbSmrg -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 97053354cdbSmrg ac_prev=mandir ;; 97153354cdbSmrg -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 97253354cdbSmrg mandir=$ac_optarg ;; 97353354cdbSmrg 97453354cdbSmrg -nfp | --nfp | --nf) 97553354cdbSmrg # Obsolete; use --without-fp. 97653354cdbSmrg with_fp=no ;; 97753354cdbSmrg 97853354cdbSmrg -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 97953354cdbSmrg | --no-cr | --no-c | -n) 98053354cdbSmrg no_create=yes ;; 98153354cdbSmrg 98253354cdbSmrg -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 98353354cdbSmrg | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 98453354cdbSmrg no_recursion=yes ;; 98553354cdbSmrg 98653354cdbSmrg -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 98753354cdbSmrg | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 98853354cdbSmrg | --oldin | --oldi | --old | --ol | --o) 98953354cdbSmrg ac_prev=oldincludedir ;; 99053354cdbSmrg -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 99153354cdbSmrg | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 99253354cdbSmrg | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 99353354cdbSmrg oldincludedir=$ac_optarg ;; 99453354cdbSmrg 99553354cdbSmrg -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 99653354cdbSmrg ac_prev=prefix ;; 99753354cdbSmrg -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 99853354cdbSmrg prefix=$ac_optarg ;; 99953354cdbSmrg 100053354cdbSmrg -program-prefix | --program-prefix | --program-prefi | --program-pref \ 100153354cdbSmrg | --program-pre | --program-pr | --program-p) 100253354cdbSmrg ac_prev=program_prefix ;; 100353354cdbSmrg -program-prefix=* | --program-prefix=* | --program-prefi=* \ 100453354cdbSmrg | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 100553354cdbSmrg program_prefix=$ac_optarg ;; 100653354cdbSmrg 100753354cdbSmrg -program-suffix | --program-suffix | --program-suffi | --program-suff \ 100853354cdbSmrg | --program-suf | --program-su | --program-s) 100953354cdbSmrg ac_prev=program_suffix ;; 101053354cdbSmrg -program-suffix=* | --program-suffix=* | --program-suffi=* \ 101153354cdbSmrg | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 101253354cdbSmrg program_suffix=$ac_optarg ;; 101353354cdbSmrg 101453354cdbSmrg -program-transform-name | --program-transform-name \ 101553354cdbSmrg | --program-transform-nam | --program-transform-na \ 101653354cdbSmrg | --program-transform-n | --program-transform- \ 101753354cdbSmrg | --program-transform | --program-transfor \ 101853354cdbSmrg | --program-transfo | --program-transf \ 101953354cdbSmrg | --program-trans | --program-tran \ 102053354cdbSmrg | --progr-tra | --program-tr | --program-t) 102153354cdbSmrg ac_prev=program_transform_name ;; 102253354cdbSmrg -program-transform-name=* | --program-transform-name=* \ 102353354cdbSmrg | --program-transform-nam=* | --program-transform-na=* \ 102453354cdbSmrg | --program-transform-n=* | --program-transform-=* \ 102553354cdbSmrg | --program-transform=* | --program-transfor=* \ 102653354cdbSmrg | --program-transfo=* | --program-transf=* \ 102753354cdbSmrg | --program-trans=* | --program-tran=* \ 102853354cdbSmrg | --progr-tra=* | --program-tr=* | --program-t=*) 102953354cdbSmrg program_transform_name=$ac_optarg ;; 103053354cdbSmrg 103153354cdbSmrg -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 103253354cdbSmrg ac_prev=pdfdir ;; 103353354cdbSmrg -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 103453354cdbSmrg pdfdir=$ac_optarg ;; 103553354cdbSmrg 103653354cdbSmrg -psdir | --psdir | --psdi | --psd | --ps) 103753354cdbSmrg ac_prev=psdir ;; 103853354cdbSmrg -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 103953354cdbSmrg psdir=$ac_optarg ;; 104053354cdbSmrg 104153354cdbSmrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 104253354cdbSmrg | -silent | --silent | --silen | --sile | --sil) 104353354cdbSmrg silent=yes ;; 104453354cdbSmrg 104553354cdbSmrg -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 104653354cdbSmrg ac_prev=sbindir ;; 104753354cdbSmrg -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 104853354cdbSmrg | --sbi=* | --sb=*) 104953354cdbSmrg sbindir=$ac_optarg ;; 105053354cdbSmrg 105153354cdbSmrg -sharedstatedir | --sharedstatedir | --sharedstatedi \ 105253354cdbSmrg | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 105353354cdbSmrg | --sharedst | --shareds | --shared | --share | --shar \ 105453354cdbSmrg | --sha | --sh) 105553354cdbSmrg ac_prev=sharedstatedir ;; 105653354cdbSmrg -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 105753354cdbSmrg | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 105853354cdbSmrg | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 105953354cdbSmrg | --sha=* | --sh=*) 106053354cdbSmrg sharedstatedir=$ac_optarg ;; 106153354cdbSmrg 106253354cdbSmrg -site | --site | --sit) 106353354cdbSmrg ac_prev=site ;; 106453354cdbSmrg -site=* | --site=* | --sit=*) 106553354cdbSmrg site=$ac_optarg ;; 106653354cdbSmrg 106753354cdbSmrg -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 106853354cdbSmrg ac_prev=srcdir ;; 106953354cdbSmrg -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 107053354cdbSmrg srcdir=$ac_optarg ;; 107153354cdbSmrg 107253354cdbSmrg -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 107353354cdbSmrg | --syscon | --sysco | --sysc | --sys | --sy) 107453354cdbSmrg ac_prev=sysconfdir ;; 107553354cdbSmrg -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 107653354cdbSmrg | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 107753354cdbSmrg sysconfdir=$ac_optarg ;; 107853354cdbSmrg 107953354cdbSmrg -target | --target | --targe | --targ | --tar | --ta | --t) 108053354cdbSmrg ac_prev=target_alias ;; 108153354cdbSmrg -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 108253354cdbSmrg target_alias=$ac_optarg ;; 108353354cdbSmrg 108453354cdbSmrg -v | -verbose | --verbose | --verbos | --verbo | --verb) 108553354cdbSmrg verbose=yes ;; 108653354cdbSmrg 108753354cdbSmrg -version | --version | --versio | --versi | --vers | -V) 108853354cdbSmrg ac_init_version=: ;; 108953354cdbSmrg 109053354cdbSmrg -with-* | --with-*) 109186bbecbeSmrg ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 109253354cdbSmrg # Reject names that are not valid shell variable names. 109386bbecbeSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 109486bbecbeSmrg as_fn_error $? "invalid package name: $ac_useropt" 109586bbecbeSmrg ac_useropt_orig=$ac_useropt 109686bbecbeSmrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 109786bbecbeSmrg case $ac_user_opts in 109886bbecbeSmrg *" 109986bbecbeSmrg"with_$ac_useropt" 110086bbecbeSmrg"*) ;; 110186bbecbeSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 110286bbecbeSmrg ac_unrecognized_sep=', ';; 110386bbecbeSmrg esac 110486bbecbeSmrg eval with_$ac_useropt=\$ac_optarg ;; 110553354cdbSmrg 110653354cdbSmrg -without-* | --without-*) 110786bbecbeSmrg ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 110853354cdbSmrg # Reject names that are not valid shell variable names. 110986bbecbeSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 111086bbecbeSmrg as_fn_error $? "invalid package name: $ac_useropt" 111186bbecbeSmrg ac_useropt_orig=$ac_useropt 111286bbecbeSmrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 111386bbecbeSmrg case $ac_user_opts in 111486bbecbeSmrg *" 111586bbecbeSmrg"with_$ac_useropt" 111686bbecbeSmrg"*) ;; 111786bbecbeSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 111886bbecbeSmrg ac_unrecognized_sep=', ';; 111986bbecbeSmrg esac 112086bbecbeSmrg eval with_$ac_useropt=no ;; 112153354cdbSmrg 112253354cdbSmrg --x) 112353354cdbSmrg # Obsolete; use --with-x. 112453354cdbSmrg with_x=yes ;; 112553354cdbSmrg 112653354cdbSmrg -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 112753354cdbSmrg | --x-incl | --x-inc | --x-in | --x-i) 112853354cdbSmrg ac_prev=x_includes ;; 112953354cdbSmrg -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 113053354cdbSmrg | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 113153354cdbSmrg x_includes=$ac_optarg ;; 113253354cdbSmrg 113353354cdbSmrg -x-libraries | --x-libraries | --x-librarie | --x-librari \ 113453354cdbSmrg | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 113553354cdbSmrg ac_prev=x_libraries ;; 113653354cdbSmrg -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 113753354cdbSmrg | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 113853354cdbSmrg x_libraries=$ac_optarg ;; 113953354cdbSmrg 114086bbecbeSmrg -*) as_fn_error $? "unrecognized option: \`$ac_option' 114186bbecbeSmrgTry \`$0 --help' for more information" 114253354cdbSmrg ;; 114353354cdbSmrg 114453354cdbSmrg *=*) 114553354cdbSmrg ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 114653354cdbSmrg # Reject names that are not valid shell variable names. 114786bbecbeSmrg case $ac_envvar in #( 114886bbecbeSmrg '' | [0-9]* | *[!_$as_cr_alnum]* ) 114986bbecbeSmrg as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 115086bbecbeSmrg esac 115153354cdbSmrg eval $ac_envvar=\$ac_optarg 115253354cdbSmrg export $ac_envvar ;; 115353354cdbSmrg 115453354cdbSmrg *) 115553354cdbSmrg # FIXME: should be removed in autoconf 3.0. 115686bbecbeSmrg $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 115753354cdbSmrg expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 115886bbecbeSmrg $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 115986bbecbeSmrg : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 116053354cdbSmrg ;; 116153354cdbSmrg 116253354cdbSmrg esac 116353354cdbSmrgdone 116453354cdbSmrg 116553354cdbSmrgif test -n "$ac_prev"; then 116653354cdbSmrg ac_option=--`echo $ac_prev | sed 's/_/-/g'` 116786bbecbeSmrg as_fn_error $? "missing argument to $ac_option" 116886bbecbeSmrgfi 116986bbecbeSmrg 117086bbecbeSmrgif test -n "$ac_unrecognized_opts"; then 117186bbecbeSmrg case $enable_option_checking in 117286bbecbeSmrg no) ;; 117386bbecbeSmrg fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 117486bbecbeSmrg *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 117586bbecbeSmrg esac 117653354cdbSmrgfi 117753354cdbSmrg 117886bbecbeSmrg# Check all directory arguments for consistency. 117953354cdbSmrgfor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 118053354cdbSmrg datadir sysconfdir sharedstatedir localstatedir includedir \ 118153354cdbSmrg oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 118253354cdbSmrg libdir localedir mandir 118353354cdbSmrgdo 118453354cdbSmrg eval ac_val=\$$ac_var 118586bbecbeSmrg # Remove trailing slashes. 118686bbecbeSmrg case $ac_val in 118786bbecbeSmrg */ ) 118886bbecbeSmrg ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 118986bbecbeSmrg eval $ac_var=\$ac_val;; 119086bbecbeSmrg esac 119186bbecbeSmrg # Be sure to have absolute directory names. 119253354cdbSmrg case $ac_val in 119353354cdbSmrg [\\/$]* | ?:[\\/]* ) continue;; 119453354cdbSmrg NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 119553354cdbSmrg esac 119686bbecbeSmrg as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 119753354cdbSmrgdone 119853354cdbSmrg 119953354cdbSmrg# There might be people who depend on the old broken behavior: `$host' 120053354cdbSmrg# used to hold the argument of --host etc. 120153354cdbSmrg# FIXME: To remove some day. 120253354cdbSmrgbuild=$build_alias 120353354cdbSmrghost=$host_alias 120453354cdbSmrgtarget=$target_alias 120553354cdbSmrg 120653354cdbSmrg# FIXME: To remove some day. 120753354cdbSmrgif test "x$host_alias" != x; then 120853354cdbSmrg if test "x$build_alias" = x; then 120953354cdbSmrg cross_compiling=maybe 121086bbecbeSmrg $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 121186bbecbeSmrg If a cross compiler is detected then cross compile mode will be used" >&2 121253354cdbSmrg elif test "x$build_alias" != "x$host_alias"; then 121353354cdbSmrg cross_compiling=yes 121453354cdbSmrg fi 121553354cdbSmrgfi 121653354cdbSmrg 121753354cdbSmrgac_tool_prefix= 121853354cdbSmrgtest -n "$host_alias" && ac_tool_prefix=$host_alias- 121953354cdbSmrg 122053354cdbSmrgtest "$silent" = yes && exec 6>/dev/null 122153354cdbSmrg 122253354cdbSmrg 122353354cdbSmrgac_pwd=`pwd` && test -n "$ac_pwd" && 122453354cdbSmrgac_ls_di=`ls -di .` && 122553354cdbSmrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 122686bbecbeSmrg as_fn_error $? "working directory cannot be determined" 122753354cdbSmrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" || 122886bbecbeSmrg as_fn_error $? "pwd does not report name of working directory" 122953354cdbSmrg 123053354cdbSmrg 123153354cdbSmrg# Find the source files, if location was not specified. 123253354cdbSmrgif test -z "$srcdir"; then 123353354cdbSmrg ac_srcdir_defaulted=yes 123453354cdbSmrg # Try the directory containing this script, then the parent directory. 123586bbecbeSmrg ac_confdir=`$as_dirname -- "$as_myself" || 123686bbecbeSmrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 123786bbecbeSmrg X"$as_myself" : 'X\(//\)[^/]' \| \ 123886bbecbeSmrg X"$as_myself" : 'X\(//\)$' \| \ 123986bbecbeSmrg X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 124086bbecbeSmrg$as_echo X"$as_myself" | 124153354cdbSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 124253354cdbSmrg s//\1/ 124353354cdbSmrg q 124453354cdbSmrg } 124553354cdbSmrg /^X\(\/\/\)[^/].*/{ 124653354cdbSmrg s//\1/ 124753354cdbSmrg q 124853354cdbSmrg } 124953354cdbSmrg /^X\(\/\/\)$/{ 125053354cdbSmrg s//\1/ 125153354cdbSmrg q 125253354cdbSmrg } 125353354cdbSmrg /^X\(\/\).*/{ 125453354cdbSmrg s//\1/ 125553354cdbSmrg q 125653354cdbSmrg } 125753354cdbSmrg s/.*/./; q'` 125853354cdbSmrg srcdir=$ac_confdir 125953354cdbSmrg if test ! -r "$srcdir/$ac_unique_file"; then 126053354cdbSmrg srcdir=.. 126153354cdbSmrg fi 126253354cdbSmrgelse 126353354cdbSmrg ac_srcdir_defaulted=no 126453354cdbSmrgfi 126553354cdbSmrgif test ! -r "$srcdir/$ac_unique_file"; then 126653354cdbSmrg test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 126786bbecbeSmrg as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 126853354cdbSmrgfi 126953354cdbSmrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 127053354cdbSmrgac_abs_confdir=`( 127186bbecbeSmrg cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 127253354cdbSmrg pwd)` 127353354cdbSmrg# When building in place, set srcdir=. 127453354cdbSmrgif test "$ac_abs_confdir" = "$ac_pwd"; then 127553354cdbSmrg srcdir=. 127653354cdbSmrgfi 127753354cdbSmrg# Remove unnecessary trailing slashes from srcdir. 127853354cdbSmrg# Double slashes in file names in object file debugging info 127953354cdbSmrg# mess up M-x gdb in Emacs. 128053354cdbSmrgcase $srcdir in 128153354cdbSmrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 128253354cdbSmrgesac 128353354cdbSmrgfor ac_var in $ac_precious_vars; do 128453354cdbSmrg eval ac_env_${ac_var}_set=\${${ac_var}+set} 128553354cdbSmrg eval ac_env_${ac_var}_value=\$${ac_var} 128653354cdbSmrg eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 128753354cdbSmrg eval ac_cv_env_${ac_var}_value=\$${ac_var} 128853354cdbSmrgdone 128953354cdbSmrg 129053354cdbSmrg# 129153354cdbSmrg# Report the --help message. 129253354cdbSmrg# 129353354cdbSmrgif test "$ac_init_help" = "long"; then 129453354cdbSmrg # Omit some internal or obsolete options to make the list less imposing. 129553354cdbSmrg # This message is too long to be a string in the A/UX 3.1 sh. 129653354cdbSmrg cat <<_ACEOF 129786bbecbeSmrg\`configure' configures rgb 1.0.4 to adapt to many kinds of systems. 129853354cdbSmrg 129953354cdbSmrgUsage: $0 [OPTION]... [VAR=VALUE]... 130053354cdbSmrg 130153354cdbSmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as 130253354cdbSmrgVAR=VALUE. See below for descriptions of some of the useful variables. 130353354cdbSmrg 130453354cdbSmrgDefaults for the options are specified in brackets. 130553354cdbSmrg 130653354cdbSmrgConfiguration: 130753354cdbSmrg -h, --help display this help and exit 130853354cdbSmrg --help=short display options specific to this package 130953354cdbSmrg --help=recursive display the short help of all the included packages 131053354cdbSmrg -V, --version display version information and exit 131186bbecbeSmrg -q, --quiet, --silent do not print \`checking ...' messages 131253354cdbSmrg --cache-file=FILE cache test results in FILE [disabled] 131353354cdbSmrg -C, --config-cache alias for \`--cache-file=config.cache' 131453354cdbSmrg -n, --no-create do not create output files 131553354cdbSmrg --srcdir=DIR find the sources in DIR [configure dir or \`..'] 131653354cdbSmrg 131753354cdbSmrgInstallation directories: 131853354cdbSmrg --prefix=PREFIX install architecture-independent files in PREFIX 131986bbecbeSmrg [$ac_default_prefix] 132053354cdbSmrg --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 132186bbecbeSmrg [PREFIX] 132253354cdbSmrg 132353354cdbSmrgBy default, \`make install' will install all the files in 132453354cdbSmrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 132553354cdbSmrgan installation prefix other than \`$ac_default_prefix' using \`--prefix', 132653354cdbSmrgfor instance \`--prefix=\$HOME'. 132753354cdbSmrg 132853354cdbSmrgFor better control, use the options below. 132953354cdbSmrg 133053354cdbSmrgFine tuning of the installation directories: 133186bbecbeSmrg --bindir=DIR user executables [EPREFIX/bin] 133286bbecbeSmrg --sbindir=DIR system admin executables [EPREFIX/sbin] 133386bbecbeSmrg --libexecdir=DIR program executables [EPREFIX/libexec] 133486bbecbeSmrg --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 133586bbecbeSmrg --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 133686bbecbeSmrg --localstatedir=DIR modifiable single-machine data [PREFIX/var] 133786bbecbeSmrg --libdir=DIR object code libraries [EPREFIX/lib] 133886bbecbeSmrg --includedir=DIR C header files [PREFIX/include] 133986bbecbeSmrg --oldincludedir=DIR C header files for non-gcc [/usr/include] 134086bbecbeSmrg --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 134186bbecbeSmrg --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 134286bbecbeSmrg --infodir=DIR info documentation [DATAROOTDIR/info] 134386bbecbeSmrg --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 134486bbecbeSmrg --mandir=DIR man documentation [DATAROOTDIR/man] 134586bbecbeSmrg --docdir=DIR documentation root [DATAROOTDIR/doc/rgb] 134686bbecbeSmrg --htmldir=DIR html documentation [DOCDIR] 134786bbecbeSmrg --dvidir=DIR dvi documentation [DOCDIR] 134886bbecbeSmrg --pdfdir=DIR pdf documentation [DOCDIR] 134986bbecbeSmrg --psdir=DIR ps documentation [DOCDIR] 135053354cdbSmrg_ACEOF 135153354cdbSmrg 135253354cdbSmrg cat <<\_ACEOF 135353354cdbSmrg 135453354cdbSmrgProgram names: 135553354cdbSmrg --program-prefix=PREFIX prepend PREFIX to installed program names 135653354cdbSmrg --program-suffix=SUFFIX append SUFFIX to installed program names 135753354cdbSmrg --program-transform-name=PROGRAM run sed PROGRAM on installed program names 135853354cdbSmrg 135953354cdbSmrgSystem types: 136053354cdbSmrg --build=BUILD configure for building on BUILD [guessed] 136153354cdbSmrg --host=HOST cross-compile to build programs to run on HOST [BUILD] 136253354cdbSmrg_ACEOF 136353354cdbSmrgfi 136453354cdbSmrg 136553354cdbSmrgif test -n "$ac_init_help"; then 136653354cdbSmrg case $ac_init_help in 136786bbecbeSmrg short | recursive ) echo "Configuration of rgb 1.0.4:";; 136853354cdbSmrg esac 136953354cdbSmrg cat <<\_ACEOF 137053354cdbSmrg 137153354cdbSmrgOptional Features: 137286bbecbeSmrg --disable-option-checking ignore unrecognized --enable/--with options 137353354cdbSmrg --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 137453354cdbSmrg --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 137553354cdbSmrg --enable-maintainer-mode enable make rules and dependencies not useful 137653354cdbSmrg (and sometimes confusing) to the casual installer 137753354cdbSmrg --disable-dependency-tracking speeds up one-time build 137853354cdbSmrg --enable-dependency-tracking do not reject slow dependency extractors 137986bbecbeSmrg --enable-strict-compilation 138086bbecbeSmrg Enable all warnings from compiler and make them 138186bbecbeSmrg errors (default: disabled) 138286bbecbeSmrg --enable-silent-rules less verbose build output (undo: `make V=1') 138386bbecbeSmrg --disable-silent-rules verbose build output (undo: `make V=0') 138453354cdbSmrg 138553354cdbSmrgOptional Packages: 138653354cdbSmrg --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 138753354cdbSmrg --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 138853354cdbSmrg --with-rgb-db-dir=<path> 138953354cdbSmrg rgb database location (default is 139053354cdbSmrg ${datadir}/X11/rgb) 139153354cdbSmrg --with-rgb-db-type=(text|dbm|ndbm) 139253354cdbSmrg rgb database type (default is text) 139353354cdbSmrg 139453354cdbSmrgSome influential environment variables: 139553354cdbSmrg CC C compiler command 139653354cdbSmrg CFLAGS C compiler flags 139753354cdbSmrg LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 139853354cdbSmrg nonstandard directory <lib dir> 139953354cdbSmrg LIBS libraries to pass to the linker, e.g. -l<library> 140086bbecbeSmrg CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 140153354cdbSmrg you have headers in a nonstandard directory <include dir> 140286bbecbeSmrg CPP C preprocessor 140353354cdbSmrg PKG_CONFIG path to pkg-config utility 140453354cdbSmrg RGB_CFLAGS C compiler flags for RGB, overriding pkg-config 140553354cdbSmrg RGB_LIBS linker flags for RGB, overriding pkg-config 140653354cdbSmrg XORG_CFLAGS C compiler flags for XORG, overriding pkg-config 140753354cdbSmrg XORG_LIBS linker flags for XORG, overriding pkg-config 140853354cdbSmrg 140953354cdbSmrgUse these variables to override the choices made by `configure' or to help 141053354cdbSmrgit to find libraries and programs with nonstandard names/locations. 141153354cdbSmrg 141253354cdbSmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 141353354cdbSmrg_ACEOF 141453354cdbSmrgac_status=$? 141553354cdbSmrgfi 141653354cdbSmrg 141753354cdbSmrgif test "$ac_init_help" = "recursive"; then 141853354cdbSmrg # If there are subdirs, report their specific --help. 141953354cdbSmrg for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 142086bbecbeSmrg test -d "$ac_dir" || 142186bbecbeSmrg { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 142286bbecbeSmrg continue 142353354cdbSmrg ac_builddir=. 142453354cdbSmrg 142553354cdbSmrgcase "$ac_dir" in 142653354cdbSmrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 142753354cdbSmrg*) 142886bbecbeSmrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 142953354cdbSmrg # A ".." for each directory in $ac_dir_suffix. 143086bbecbeSmrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 143153354cdbSmrg case $ac_top_builddir_sub in 143253354cdbSmrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 143353354cdbSmrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 143453354cdbSmrg esac ;; 143553354cdbSmrgesac 143653354cdbSmrgac_abs_top_builddir=$ac_pwd 143753354cdbSmrgac_abs_builddir=$ac_pwd$ac_dir_suffix 143853354cdbSmrg# for backward compatibility: 143953354cdbSmrgac_top_builddir=$ac_top_build_prefix 144053354cdbSmrg 144153354cdbSmrgcase $srcdir in 144253354cdbSmrg .) # We are building in place. 144353354cdbSmrg ac_srcdir=. 144453354cdbSmrg ac_top_srcdir=$ac_top_builddir_sub 144553354cdbSmrg ac_abs_top_srcdir=$ac_pwd ;; 144653354cdbSmrg [\\/]* | ?:[\\/]* ) # Absolute name. 144753354cdbSmrg ac_srcdir=$srcdir$ac_dir_suffix; 144853354cdbSmrg ac_top_srcdir=$srcdir 144953354cdbSmrg ac_abs_top_srcdir=$srcdir ;; 145053354cdbSmrg *) # Relative name. 145153354cdbSmrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 145253354cdbSmrg ac_top_srcdir=$ac_top_build_prefix$srcdir 145353354cdbSmrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 145453354cdbSmrgesac 145553354cdbSmrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 145653354cdbSmrg 145753354cdbSmrg cd "$ac_dir" || { ac_status=$?; continue; } 145853354cdbSmrg # Check for guested configure. 145953354cdbSmrg if test -f "$ac_srcdir/configure.gnu"; then 146053354cdbSmrg echo && 146153354cdbSmrg $SHELL "$ac_srcdir/configure.gnu" --help=recursive 146253354cdbSmrg elif test -f "$ac_srcdir/configure"; then 146353354cdbSmrg echo && 146453354cdbSmrg $SHELL "$ac_srcdir/configure" --help=recursive 146553354cdbSmrg else 146686bbecbeSmrg $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 146753354cdbSmrg fi || ac_status=$? 146853354cdbSmrg cd "$ac_pwd" || { ac_status=$?; break; } 146953354cdbSmrg done 147053354cdbSmrgfi 147153354cdbSmrg 147253354cdbSmrgtest -n "$ac_init_help" && exit $ac_status 147353354cdbSmrgif $ac_init_version; then 147453354cdbSmrg cat <<\_ACEOF 147586bbecbeSmrgrgb configure 1.0.4 147686bbecbeSmrggenerated by GNU Autoconf 2.68 147753354cdbSmrg 147886bbecbeSmrgCopyright (C) 2010 Free Software Foundation, Inc. 147953354cdbSmrgThis configure script is free software; the Free Software Foundation 148053354cdbSmrggives unlimited permission to copy, distribute and modify it. 148153354cdbSmrg_ACEOF 148253354cdbSmrg exit 148353354cdbSmrgfi 148453354cdbSmrg 148586bbecbeSmrg## ------------------------ ## 148686bbecbeSmrg## Autoconf initialization. ## 148786bbecbeSmrg## ------------------------ ## 148853354cdbSmrg 148986bbecbeSmrg# ac_fn_c_try_compile LINENO 149086bbecbeSmrg# -------------------------- 149186bbecbeSmrg# Try to compile conftest.$ac_ext, and return whether this succeeded. 149286bbecbeSmrgac_fn_c_try_compile () 149353354cdbSmrg{ 149486bbecbeSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 149586bbecbeSmrg rm -f conftest.$ac_objext 149686bbecbeSmrg if { { ac_try="$ac_compile" 149786bbecbeSmrgcase "(($ac_try" in 149886bbecbeSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 149986bbecbeSmrg *) ac_try_echo=$ac_try;; 150086bbecbeSmrgesac 150186bbecbeSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 150286bbecbeSmrg$as_echo "$ac_try_echo"; } >&5 150386bbecbeSmrg (eval "$ac_compile") 2>conftest.err 150486bbecbeSmrg ac_status=$? 150586bbecbeSmrg if test -s conftest.err; then 150686bbecbeSmrg grep -v '^ *+' conftest.err >conftest.er1 150786bbecbeSmrg cat conftest.er1 >&5 150886bbecbeSmrg mv -f conftest.er1 conftest.err 150986bbecbeSmrg fi 151086bbecbeSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 151186bbecbeSmrg test $ac_status = 0; } && { 151286bbecbeSmrg test -z "$ac_c_werror_flag" || 151386bbecbeSmrg test ! -s conftest.err 151486bbecbeSmrg } && test -s conftest.$ac_objext; then : 151586bbecbeSmrg ac_retval=0 151686bbecbeSmrgelse 151786bbecbeSmrg $as_echo "$as_me: failed program was:" >&5 151886bbecbeSmrgsed 's/^/| /' conftest.$ac_ext >&5 151953354cdbSmrg 152086bbecbeSmrg ac_retval=1 152186bbecbeSmrgfi 152286bbecbeSmrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 152386bbecbeSmrg as_fn_set_status $ac_retval 152453354cdbSmrg 152586bbecbeSmrg} # ac_fn_c_try_compile 152653354cdbSmrg 152786bbecbeSmrg# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 152886bbecbeSmrg# --------------------------------------------- 152986bbecbeSmrg# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 153086bbecbeSmrg# accordingly. 153186bbecbeSmrgac_fn_c_check_decl () 153286bbecbeSmrg{ 153386bbecbeSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 153486bbecbeSmrg as_decl_name=`echo $2|sed 's/ *(.*//'` 153586bbecbeSmrg as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 153686bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 153786bbecbeSmrg$as_echo_n "checking whether $as_decl_name is declared... " >&6; } 153886bbecbeSmrgif eval \${$3+:} false; then : 153986bbecbeSmrg $as_echo_n "(cached) " >&6 154086bbecbeSmrgelse 154186bbecbeSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 154286bbecbeSmrg/* end confdefs.h. */ 154386bbecbeSmrg$4 154486bbecbeSmrgint 154586bbecbeSmrgmain () 154686bbecbeSmrg{ 154786bbecbeSmrg#ifndef $as_decl_name 154886bbecbeSmrg#ifdef __cplusplus 154986bbecbeSmrg (void) $as_decl_use; 155086bbecbeSmrg#else 155186bbecbeSmrg (void) $as_decl_name; 155286bbecbeSmrg#endif 155386bbecbeSmrg#endif 155453354cdbSmrg 155586bbecbeSmrg ; 155686bbecbeSmrg return 0; 155786bbecbeSmrg} 155886bbecbeSmrg_ACEOF 155986bbecbeSmrgif ac_fn_c_try_compile "$LINENO"; then : 156086bbecbeSmrg eval "$3=yes" 156186bbecbeSmrgelse 156286bbecbeSmrg eval "$3=no" 156386bbecbeSmrgfi 156486bbecbeSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 156586bbecbeSmrgfi 156686bbecbeSmrgeval ac_res=\$$3 156786bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 156886bbecbeSmrg$as_echo "$ac_res" >&6; } 156986bbecbeSmrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 157053354cdbSmrg 157186bbecbeSmrg} # ac_fn_c_check_decl 157253354cdbSmrg 157386bbecbeSmrg# ac_fn_c_try_cpp LINENO 157486bbecbeSmrg# ---------------------- 157586bbecbeSmrg# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 157686bbecbeSmrgac_fn_c_try_cpp () 157786bbecbeSmrg{ 157886bbecbeSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 157986bbecbeSmrg if { { ac_try="$ac_cpp conftest.$ac_ext" 158086bbecbeSmrgcase "(($ac_try" in 158186bbecbeSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 158286bbecbeSmrg *) ac_try_echo=$ac_try;; 158386bbecbeSmrgesac 158486bbecbeSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 158586bbecbeSmrg$as_echo "$ac_try_echo"; } >&5 158686bbecbeSmrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 158786bbecbeSmrg ac_status=$? 158886bbecbeSmrg if test -s conftest.err; then 158986bbecbeSmrg grep -v '^ *+' conftest.err >conftest.er1 159086bbecbeSmrg cat conftest.er1 >&5 159186bbecbeSmrg mv -f conftest.er1 conftest.err 159286bbecbeSmrg fi 159386bbecbeSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 159486bbecbeSmrg test $ac_status = 0; } > conftest.i && { 159586bbecbeSmrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 159686bbecbeSmrg test ! -s conftest.err 159786bbecbeSmrg }; then : 159886bbecbeSmrg ac_retval=0 159986bbecbeSmrgelse 160086bbecbeSmrg $as_echo "$as_me: failed program was:" >&5 160186bbecbeSmrgsed 's/^/| /' conftest.$ac_ext >&5 160253354cdbSmrg 160386bbecbeSmrg ac_retval=1 160486bbecbeSmrgfi 160586bbecbeSmrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 160686bbecbeSmrg as_fn_set_status $ac_retval 160753354cdbSmrg 160886bbecbeSmrg} # ac_fn_c_try_cpp 160986bbecbeSmrg 161086bbecbeSmrg# ac_fn_c_try_run LINENO 161186bbecbeSmrg# ---------------------- 161286bbecbeSmrg# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 161386bbecbeSmrg# that executables *can* be run. 161486bbecbeSmrgac_fn_c_try_run () 161586bbecbeSmrg{ 161686bbecbeSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 161786bbecbeSmrg if { { ac_try="$ac_link" 161886bbecbeSmrgcase "(($ac_try" in 161986bbecbeSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 162086bbecbeSmrg *) ac_try_echo=$ac_try;; 162186bbecbeSmrgesac 162286bbecbeSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 162386bbecbeSmrg$as_echo "$ac_try_echo"; } >&5 162486bbecbeSmrg (eval "$ac_link") 2>&5 162586bbecbeSmrg ac_status=$? 162686bbecbeSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 162786bbecbeSmrg test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 162886bbecbeSmrg { { case "(($ac_try" in 162986bbecbeSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 163086bbecbeSmrg *) ac_try_echo=$ac_try;; 163186bbecbeSmrgesac 163286bbecbeSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 163386bbecbeSmrg$as_echo "$ac_try_echo"; } >&5 163486bbecbeSmrg (eval "$ac_try") 2>&5 163586bbecbeSmrg ac_status=$? 163686bbecbeSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 163786bbecbeSmrg test $ac_status = 0; }; }; then : 163886bbecbeSmrg ac_retval=0 163986bbecbeSmrgelse 164086bbecbeSmrg $as_echo "$as_me: program exited with status $ac_status" >&5 164186bbecbeSmrg $as_echo "$as_me: failed program was:" >&5 164286bbecbeSmrgsed 's/^/| /' conftest.$ac_ext >&5 164386bbecbeSmrg 164486bbecbeSmrg ac_retval=$ac_status 164586bbecbeSmrgfi 164686bbecbeSmrg rm -rf conftest.dSYM conftest_ipa8_conftest.oo 164786bbecbeSmrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 164886bbecbeSmrg as_fn_set_status $ac_retval 164986bbecbeSmrg 165086bbecbeSmrg} # ac_fn_c_try_run 165186bbecbeSmrg 165286bbecbeSmrg# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 165386bbecbeSmrg# ------------------------------------------------------- 165486bbecbeSmrg# Tests whether HEADER exists and can be compiled using the include files in 165586bbecbeSmrg# INCLUDES, setting the cache variable VAR accordingly. 165686bbecbeSmrgac_fn_c_check_header_compile () 165786bbecbeSmrg{ 165886bbecbeSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 165986bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 166086bbecbeSmrg$as_echo_n "checking for $2... " >&6; } 166186bbecbeSmrgif eval \${$3+:} false; then : 166286bbecbeSmrg $as_echo_n "(cached) " >&6 166386bbecbeSmrgelse 166486bbecbeSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 166586bbecbeSmrg/* end confdefs.h. */ 166686bbecbeSmrg$4 166786bbecbeSmrg#include <$2> 166886bbecbeSmrg_ACEOF 166986bbecbeSmrgif ac_fn_c_try_compile "$LINENO"; then : 167086bbecbeSmrg eval "$3=yes" 167186bbecbeSmrgelse 167286bbecbeSmrg eval "$3=no" 167386bbecbeSmrgfi 167486bbecbeSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 167586bbecbeSmrgfi 167686bbecbeSmrgeval ac_res=\$$3 167786bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 167886bbecbeSmrg$as_echo "$ac_res" >&6; } 167986bbecbeSmrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 168086bbecbeSmrg 168186bbecbeSmrg} # ac_fn_c_check_header_compile 168286bbecbeSmrg 168386bbecbeSmrg# ac_fn_c_try_link LINENO 168486bbecbeSmrg# ----------------------- 168586bbecbeSmrg# Try to link conftest.$ac_ext, and return whether this succeeded. 168686bbecbeSmrgac_fn_c_try_link () 168786bbecbeSmrg{ 168886bbecbeSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 168986bbecbeSmrg rm -f conftest.$ac_objext conftest$ac_exeext 169086bbecbeSmrg if { { ac_try="$ac_link" 169186bbecbeSmrgcase "(($ac_try" in 169286bbecbeSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 169386bbecbeSmrg *) ac_try_echo=$ac_try;; 169486bbecbeSmrgesac 169586bbecbeSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 169686bbecbeSmrg$as_echo "$ac_try_echo"; } >&5 169786bbecbeSmrg (eval "$ac_link") 2>conftest.err 169886bbecbeSmrg ac_status=$? 169986bbecbeSmrg if test -s conftest.err; then 170086bbecbeSmrg grep -v '^ *+' conftest.err >conftest.er1 170186bbecbeSmrg cat conftest.er1 >&5 170286bbecbeSmrg mv -f conftest.er1 conftest.err 170386bbecbeSmrg fi 170486bbecbeSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 170586bbecbeSmrg test $ac_status = 0; } && { 170686bbecbeSmrg test -z "$ac_c_werror_flag" || 170786bbecbeSmrg test ! -s conftest.err 170886bbecbeSmrg } && test -s conftest$ac_exeext && { 170986bbecbeSmrg test "$cross_compiling" = yes || 171086bbecbeSmrg $as_test_x conftest$ac_exeext 171186bbecbeSmrg }; then : 171286bbecbeSmrg ac_retval=0 171386bbecbeSmrgelse 171486bbecbeSmrg $as_echo "$as_me: failed program was:" >&5 171586bbecbeSmrgsed 's/^/| /' conftest.$ac_ext >&5 171686bbecbeSmrg 171786bbecbeSmrg ac_retval=1 171886bbecbeSmrgfi 171986bbecbeSmrg # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 172086bbecbeSmrg # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 172186bbecbeSmrg # interfere with the next link command; also delete a directory that is 172286bbecbeSmrg # left behind by Apple's compiler. We do this before executing the actions. 172386bbecbeSmrg rm -rf conftest.dSYM conftest_ipa8_conftest.oo 172486bbecbeSmrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 172586bbecbeSmrg as_fn_set_status $ac_retval 172686bbecbeSmrg 172786bbecbeSmrg} # ac_fn_c_try_link 172886bbecbeSmrg 172986bbecbeSmrg# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 173086bbecbeSmrg# ------------------------------------------------------- 173186bbecbeSmrg# Tests whether HEADER exists, giving a warning if it cannot be compiled using 173286bbecbeSmrg# the include files in INCLUDES and setting the cache variable VAR 173386bbecbeSmrg# accordingly. 173486bbecbeSmrgac_fn_c_check_header_mongrel () 173586bbecbeSmrg{ 173686bbecbeSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 173786bbecbeSmrg if eval \${$3+:} false; then : 173886bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 173986bbecbeSmrg$as_echo_n "checking for $2... " >&6; } 174086bbecbeSmrgif eval \${$3+:} false; then : 174186bbecbeSmrg $as_echo_n "(cached) " >&6 174286bbecbeSmrgfi 174386bbecbeSmrgeval ac_res=\$$3 174486bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 174586bbecbeSmrg$as_echo "$ac_res" >&6; } 174686bbecbeSmrgelse 174786bbecbeSmrg # Is the header compilable? 174886bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 174986bbecbeSmrg$as_echo_n "checking $2 usability... " >&6; } 175086bbecbeSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 175186bbecbeSmrg/* end confdefs.h. */ 175286bbecbeSmrg$4 175386bbecbeSmrg#include <$2> 175486bbecbeSmrg_ACEOF 175586bbecbeSmrgif ac_fn_c_try_compile "$LINENO"; then : 175686bbecbeSmrg ac_header_compiler=yes 175786bbecbeSmrgelse 175886bbecbeSmrg ac_header_compiler=no 175986bbecbeSmrgfi 176086bbecbeSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 176186bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 176286bbecbeSmrg$as_echo "$ac_header_compiler" >&6; } 176386bbecbeSmrg 176486bbecbeSmrg# Is the header present? 176586bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 176686bbecbeSmrg$as_echo_n "checking $2 presence... " >&6; } 176786bbecbeSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 176886bbecbeSmrg/* end confdefs.h. */ 176986bbecbeSmrg#include <$2> 177086bbecbeSmrg_ACEOF 177186bbecbeSmrgif ac_fn_c_try_cpp "$LINENO"; then : 177286bbecbeSmrg ac_header_preproc=yes 177386bbecbeSmrgelse 177486bbecbeSmrg ac_header_preproc=no 177586bbecbeSmrgfi 177686bbecbeSmrgrm -f conftest.err conftest.i conftest.$ac_ext 177786bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 177886bbecbeSmrg$as_echo "$ac_header_preproc" >&6; } 177986bbecbeSmrg 178086bbecbeSmrg# So? What about this header? 178186bbecbeSmrgcase $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 178286bbecbeSmrg yes:no: ) 178386bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 178486bbecbeSmrg$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 178586bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 178686bbecbeSmrg$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 178786bbecbeSmrg ;; 178886bbecbeSmrg no:yes:* ) 178986bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 179086bbecbeSmrg$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 179186bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 179286bbecbeSmrg$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 179386bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 179486bbecbeSmrg$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 179586bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 179686bbecbeSmrg$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 179786bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 179886bbecbeSmrg$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 179986bbecbeSmrg( $as_echo "## ---------------------------------------------------------------------- ## 180086bbecbeSmrg## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ## 180186bbecbeSmrg## ---------------------------------------------------------------------- ##" 180286bbecbeSmrg ) | sed "s/^/$as_me: WARNING: /" >&2 180386bbecbeSmrg ;; 180486bbecbeSmrgesac 180586bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 180686bbecbeSmrg$as_echo_n "checking for $2... " >&6; } 180786bbecbeSmrgif eval \${$3+:} false; then : 180886bbecbeSmrg $as_echo_n "(cached) " >&6 180986bbecbeSmrgelse 181086bbecbeSmrg eval "$3=\$ac_header_compiler" 181186bbecbeSmrgfi 181286bbecbeSmrgeval ac_res=\$$3 181386bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 181486bbecbeSmrg$as_echo "$ac_res" >&6; } 181586bbecbeSmrgfi 181686bbecbeSmrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 181786bbecbeSmrg 181886bbecbeSmrg} # ac_fn_c_check_header_mongrel 181986bbecbeSmrgcat >config.log <<_ACEOF 182086bbecbeSmrgThis file contains any messages produced by compilers while 182186bbecbeSmrgrunning configure, to aid debugging if configure makes a mistake. 182286bbecbeSmrg 182386bbecbeSmrgIt was created by rgb $as_me 1.0.4, which was 182486bbecbeSmrggenerated by GNU Autoconf 2.68. Invocation command line was 182586bbecbeSmrg 182686bbecbeSmrg $ $0 $@ 182786bbecbeSmrg 182886bbecbeSmrg_ACEOF 182986bbecbeSmrgexec 5>>config.log 183086bbecbeSmrg{ 183186bbecbeSmrgcat <<_ASUNAME 183286bbecbeSmrg## --------- ## 183386bbecbeSmrg## Platform. ## 183486bbecbeSmrg## --------- ## 183586bbecbeSmrg 183686bbecbeSmrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 183786bbecbeSmrguname -m = `(uname -m) 2>/dev/null || echo unknown` 183886bbecbeSmrguname -r = `(uname -r) 2>/dev/null || echo unknown` 183986bbecbeSmrguname -s = `(uname -s) 2>/dev/null || echo unknown` 184086bbecbeSmrguname -v = `(uname -v) 2>/dev/null || echo unknown` 184186bbecbeSmrg 184286bbecbeSmrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 184386bbecbeSmrg/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 184486bbecbeSmrg 184586bbecbeSmrg/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 184686bbecbeSmrg/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 184786bbecbeSmrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 184886bbecbeSmrg/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 184986bbecbeSmrg/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 185086bbecbeSmrg/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 185186bbecbeSmrg/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 185286bbecbeSmrg 185386bbecbeSmrg_ASUNAME 185486bbecbeSmrg 185586bbecbeSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 185686bbecbeSmrgfor as_dir in $PATH 185786bbecbeSmrgdo 185886bbecbeSmrg IFS=$as_save_IFS 185986bbecbeSmrg test -z "$as_dir" && as_dir=. 186086bbecbeSmrg $as_echo "PATH: $as_dir" 186186bbecbeSmrg done 186286bbecbeSmrgIFS=$as_save_IFS 186386bbecbeSmrg 186486bbecbeSmrg} >&5 186586bbecbeSmrg 186686bbecbeSmrgcat >&5 <<_ACEOF 186786bbecbeSmrg 186886bbecbeSmrg 186986bbecbeSmrg## ----------- ## 187086bbecbeSmrg## Core tests. ## 187186bbecbeSmrg## ----------- ## 187253354cdbSmrg 187353354cdbSmrg_ACEOF 187453354cdbSmrg 187553354cdbSmrg 187653354cdbSmrg# Keep a trace of the command line. 187753354cdbSmrg# Strip out --no-create and --no-recursion so they do not pile up. 187853354cdbSmrg# Strip out --silent because we don't want to record it for future runs. 187953354cdbSmrg# Also quote any args containing shell meta-characters. 188053354cdbSmrg# Make two passes to allow for proper duplicate-argument suppression. 188153354cdbSmrgac_configure_args= 188253354cdbSmrgac_configure_args0= 188353354cdbSmrgac_configure_args1= 188453354cdbSmrgac_must_keep_next=false 188553354cdbSmrgfor ac_pass in 1 2 188653354cdbSmrgdo 188753354cdbSmrg for ac_arg 188853354cdbSmrg do 188953354cdbSmrg case $ac_arg in 189053354cdbSmrg -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 189153354cdbSmrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 189253354cdbSmrg | -silent | --silent | --silen | --sile | --sil) 189353354cdbSmrg continue ;; 189453354cdbSmrg *\'*) 189586bbecbeSmrg ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 189653354cdbSmrg esac 189753354cdbSmrg case $ac_pass in 189886bbecbeSmrg 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 189953354cdbSmrg 2) 190086bbecbeSmrg as_fn_append ac_configure_args1 " '$ac_arg'" 190153354cdbSmrg if test $ac_must_keep_next = true; then 190253354cdbSmrg ac_must_keep_next=false # Got value, back to normal. 190353354cdbSmrg else 190453354cdbSmrg case $ac_arg in 190553354cdbSmrg *=* | --config-cache | -C | -disable-* | --disable-* \ 190653354cdbSmrg | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 190753354cdbSmrg | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 190853354cdbSmrg | -with-* | --with-* | -without-* | --without-* | --x) 190953354cdbSmrg case "$ac_configure_args0 " in 191053354cdbSmrg "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 191153354cdbSmrg esac 191253354cdbSmrg ;; 191353354cdbSmrg -* ) ac_must_keep_next=true ;; 191453354cdbSmrg esac 191553354cdbSmrg fi 191686bbecbeSmrg as_fn_append ac_configure_args " '$ac_arg'" 191753354cdbSmrg ;; 191853354cdbSmrg esac 191953354cdbSmrg done 192053354cdbSmrgdone 192186bbecbeSmrg{ ac_configure_args0=; unset ac_configure_args0;} 192286bbecbeSmrg{ ac_configure_args1=; unset ac_configure_args1;} 192353354cdbSmrg 192453354cdbSmrg# When interrupted or exit'd, cleanup temporary files, and complete 192553354cdbSmrg# config.log. We remove comments because anyway the quotes in there 192653354cdbSmrg# would cause problems or look ugly. 192753354cdbSmrg# WARNING: Use '\'' to represent an apostrophe within the trap. 192853354cdbSmrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 192953354cdbSmrgtrap 'exit_status=$? 193053354cdbSmrg # Save into config.log some information that might help in debugging. 193153354cdbSmrg { 193253354cdbSmrg echo 193353354cdbSmrg 193486bbecbeSmrg $as_echo "## ---------------- ## 193553354cdbSmrg## Cache variables. ## 193686bbecbeSmrg## ---------------- ##" 193753354cdbSmrg echo 193853354cdbSmrg # The following way of writing the cache mishandles newlines in values, 193953354cdbSmrg( 194053354cdbSmrg for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 194153354cdbSmrg eval ac_val=\$$ac_var 194253354cdbSmrg case $ac_val in #( 194353354cdbSmrg *${as_nl}*) 194453354cdbSmrg case $ac_var in #( 194586bbecbeSmrg *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 194686bbecbeSmrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 194753354cdbSmrg esac 194853354cdbSmrg case $ac_var in #( 194953354cdbSmrg _ | IFS | as_nl) ;; #( 195086bbecbeSmrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 195186bbecbeSmrg *) { eval $ac_var=; unset $ac_var;} ;; 195253354cdbSmrg esac ;; 195353354cdbSmrg esac 195453354cdbSmrg done 195553354cdbSmrg (set) 2>&1 | 195653354cdbSmrg case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 195753354cdbSmrg *${as_nl}ac_space=\ *) 195853354cdbSmrg sed -n \ 195953354cdbSmrg "s/'\''/'\''\\\\'\'''\''/g; 196053354cdbSmrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 196153354cdbSmrg ;; #( 196253354cdbSmrg *) 196353354cdbSmrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 196453354cdbSmrg ;; 196553354cdbSmrg esac | 196653354cdbSmrg sort 196753354cdbSmrg) 196853354cdbSmrg echo 196953354cdbSmrg 197086bbecbeSmrg $as_echo "## ----------------- ## 197153354cdbSmrg## Output variables. ## 197286bbecbeSmrg## ----------------- ##" 197353354cdbSmrg echo 197453354cdbSmrg for ac_var in $ac_subst_vars 197553354cdbSmrg do 197653354cdbSmrg eval ac_val=\$$ac_var 197753354cdbSmrg case $ac_val in 197886bbecbeSmrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 197953354cdbSmrg esac 198086bbecbeSmrg $as_echo "$ac_var='\''$ac_val'\''" 198153354cdbSmrg done | sort 198253354cdbSmrg echo 198353354cdbSmrg 198453354cdbSmrg if test -n "$ac_subst_files"; then 198586bbecbeSmrg $as_echo "## ------------------- ## 198653354cdbSmrg## File substitutions. ## 198786bbecbeSmrg## ------------------- ##" 198853354cdbSmrg echo 198953354cdbSmrg for ac_var in $ac_subst_files 199053354cdbSmrg do 199153354cdbSmrg eval ac_val=\$$ac_var 199253354cdbSmrg case $ac_val in 199386bbecbeSmrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 199453354cdbSmrg esac 199586bbecbeSmrg $as_echo "$ac_var='\''$ac_val'\''" 199653354cdbSmrg done | sort 199753354cdbSmrg echo 199853354cdbSmrg fi 199953354cdbSmrg 200053354cdbSmrg if test -s confdefs.h; then 200186bbecbeSmrg $as_echo "## ----------- ## 200253354cdbSmrg## confdefs.h. ## 200386bbecbeSmrg## ----------- ##" 200453354cdbSmrg echo 200553354cdbSmrg cat confdefs.h 200653354cdbSmrg echo 200753354cdbSmrg fi 200853354cdbSmrg test "$ac_signal" != 0 && 200986bbecbeSmrg $as_echo "$as_me: caught signal $ac_signal" 201086bbecbeSmrg $as_echo "$as_me: exit $exit_status" 201153354cdbSmrg } >&5 201253354cdbSmrg rm -f core *.core core.conftest.* && 201353354cdbSmrg rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 201453354cdbSmrg exit $exit_status 201553354cdbSmrg' 0 201653354cdbSmrgfor ac_signal in 1 2 13 15; do 201786bbecbeSmrg trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 201853354cdbSmrgdone 201953354cdbSmrgac_signal=0 202053354cdbSmrg 202153354cdbSmrg# confdefs.h avoids OS command line length limits that DEFS can exceed. 202253354cdbSmrgrm -f -r conftest* confdefs.h 202353354cdbSmrg 202486bbecbeSmrg$as_echo "/* confdefs.h */" > confdefs.h 202586bbecbeSmrg 202653354cdbSmrg# Predefined preprocessor variables. 202753354cdbSmrg 202853354cdbSmrgcat >>confdefs.h <<_ACEOF 202953354cdbSmrg#define PACKAGE_NAME "$PACKAGE_NAME" 203053354cdbSmrg_ACEOF 203153354cdbSmrg 203253354cdbSmrgcat >>confdefs.h <<_ACEOF 203353354cdbSmrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 203453354cdbSmrg_ACEOF 203553354cdbSmrg 203653354cdbSmrgcat >>confdefs.h <<_ACEOF 203753354cdbSmrg#define PACKAGE_VERSION "$PACKAGE_VERSION" 203853354cdbSmrg_ACEOF 203953354cdbSmrg 204053354cdbSmrgcat >>confdefs.h <<_ACEOF 204153354cdbSmrg#define PACKAGE_STRING "$PACKAGE_STRING" 204253354cdbSmrg_ACEOF 204353354cdbSmrg 204453354cdbSmrgcat >>confdefs.h <<_ACEOF 204553354cdbSmrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 204653354cdbSmrg_ACEOF 204753354cdbSmrg 204886bbecbeSmrgcat >>confdefs.h <<_ACEOF 204986bbecbeSmrg#define PACKAGE_URL "$PACKAGE_URL" 205086bbecbeSmrg_ACEOF 205186bbecbeSmrg 205253354cdbSmrg 205353354cdbSmrg# Let the site file select an alternate cache file if it wants to. 205486bbecbeSmrg# Prefer an explicitly selected file to automatically selected ones. 205586bbecbeSmrgac_site_file1=NONE 205686bbecbeSmrgac_site_file2=NONE 205753354cdbSmrgif test -n "$CONFIG_SITE"; then 205886bbecbeSmrg # We do not want a PATH search for config.site. 205986bbecbeSmrg case $CONFIG_SITE in #(( 206086bbecbeSmrg -*) ac_site_file1=./$CONFIG_SITE;; 206186bbecbeSmrg */*) ac_site_file1=$CONFIG_SITE;; 206286bbecbeSmrg *) ac_site_file1=./$CONFIG_SITE;; 206386bbecbeSmrg esac 206453354cdbSmrgelif test "x$prefix" != xNONE; then 206586bbecbeSmrg ac_site_file1=$prefix/share/config.site 206686bbecbeSmrg ac_site_file2=$prefix/etc/config.site 206753354cdbSmrgelse 206886bbecbeSmrg ac_site_file1=$ac_default_prefix/share/config.site 206986bbecbeSmrg ac_site_file2=$ac_default_prefix/etc/config.site 207053354cdbSmrgfi 207186bbecbeSmrgfor ac_site_file in "$ac_site_file1" "$ac_site_file2" 207253354cdbSmrgdo 207386bbecbeSmrg test "x$ac_site_file" = xNONE && continue 207486bbecbeSmrg if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 207586bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 207686bbecbeSmrg$as_echo "$as_me: loading site script $ac_site_file" >&6;} 207753354cdbSmrg sed 's/^/| /' "$ac_site_file" >&5 207886bbecbeSmrg . "$ac_site_file" \ 207986bbecbeSmrg || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 208086bbecbeSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 208186bbecbeSmrgas_fn_error $? "failed to load site script $ac_site_file 208286bbecbeSmrgSee \`config.log' for more details" "$LINENO" 5; } 208353354cdbSmrg fi 208453354cdbSmrgdone 208553354cdbSmrg 208653354cdbSmrgif test -r "$cache_file"; then 208786bbecbeSmrg # Some versions of bash will fail to source /dev/null (special files 208886bbecbeSmrg # actually), so we avoid doing that. DJGPP emulates it as a regular file. 208986bbecbeSmrg if test /dev/null != "$cache_file" && test -f "$cache_file"; then 209086bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 209186bbecbeSmrg$as_echo "$as_me: loading cache $cache_file" >&6;} 209253354cdbSmrg case $cache_file in 209353354cdbSmrg [\\/]* | ?:[\\/]* ) . "$cache_file";; 209453354cdbSmrg *) . "./$cache_file";; 209553354cdbSmrg esac 209653354cdbSmrg fi 209753354cdbSmrgelse 209886bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 209986bbecbeSmrg$as_echo "$as_me: creating cache $cache_file" >&6;} 210053354cdbSmrg >$cache_file 210153354cdbSmrgfi 210253354cdbSmrg 210353354cdbSmrg# Check that the precious variables saved in the cache have kept the same 210453354cdbSmrg# value. 210553354cdbSmrgac_cache_corrupted=false 210653354cdbSmrgfor ac_var in $ac_precious_vars; do 210753354cdbSmrg eval ac_old_set=\$ac_cv_env_${ac_var}_set 210853354cdbSmrg eval ac_new_set=\$ac_env_${ac_var}_set 210953354cdbSmrg eval ac_old_val=\$ac_cv_env_${ac_var}_value 211053354cdbSmrg eval ac_new_val=\$ac_env_${ac_var}_value 211153354cdbSmrg case $ac_old_set,$ac_new_set in 211253354cdbSmrg set,) 211386bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 211486bbecbeSmrg$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 211553354cdbSmrg ac_cache_corrupted=: ;; 211653354cdbSmrg ,set) 211786bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 211886bbecbeSmrg$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 211953354cdbSmrg ac_cache_corrupted=: ;; 212053354cdbSmrg ,);; 212153354cdbSmrg *) 212253354cdbSmrg if test "x$ac_old_val" != "x$ac_new_val"; then 212386bbecbeSmrg # differences in whitespace do not lead to failure. 212486bbecbeSmrg ac_old_val_w=`echo x $ac_old_val` 212586bbecbeSmrg ac_new_val_w=`echo x $ac_new_val` 212686bbecbeSmrg if test "$ac_old_val_w" != "$ac_new_val_w"; then 212786bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 212886bbecbeSmrg$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 212986bbecbeSmrg ac_cache_corrupted=: 213086bbecbeSmrg else 213186bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 213286bbecbeSmrg$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 213386bbecbeSmrg eval $ac_var=\$ac_old_val 213486bbecbeSmrg fi 213586bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 213686bbecbeSmrg$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 213786bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 213886bbecbeSmrg$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 213953354cdbSmrg fi;; 214053354cdbSmrg esac 214153354cdbSmrg # Pass precious variables to config.status. 214253354cdbSmrg if test "$ac_new_set" = set; then 214353354cdbSmrg case $ac_new_val in 214486bbecbeSmrg *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 214553354cdbSmrg *) ac_arg=$ac_var=$ac_new_val ;; 214653354cdbSmrg esac 214753354cdbSmrg case " $ac_configure_args " in 214853354cdbSmrg *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 214986bbecbeSmrg *) as_fn_append ac_configure_args " '$ac_arg'" ;; 215053354cdbSmrg esac 215153354cdbSmrg fi 215253354cdbSmrgdone 215353354cdbSmrgif $ac_cache_corrupted; then 215486bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 215586bbecbeSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 215686bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 215786bbecbeSmrg$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 215886bbecbeSmrg as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 215953354cdbSmrgfi 216086bbecbeSmrg## -------------------- ## 216186bbecbeSmrg## Main body of script. ## 216286bbecbeSmrg## -------------------- ## 216353354cdbSmrg 216453354cdbSmrgac_ext=c 216553354cdbSmrgac_cpp='$CPP $CPPFLAGS' 216653354cdbSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 216753354cdbSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 216853354cdbSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 216953354cdbSmrg 217053354cdbSmrg 217186bbecbeSmrgam__api_version='1.11' 217253354cdbSmrg 217353354cdbSmrgac_aux_dir= 217453354cdbSmrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 217553354cdbSmrg if test -f "$ac_dir/install-sh"; then 217653354cdbSmrg ac_aux_dir=$ac_dir 217753354cdbSmrg ac_install_sh="$ac_aux_dir/install-sh -c" 217853354cdbSmrg break 217953354cdbSmrg elif test -f "$ac_dir/install.sh"; then 218053354cdbSmrg ac_aux_dir=$ac_dir 218153354cdbSmrg ac_install_sh="$ac_aux_dir/install.sh -c" 218253354cdbSmrg break 218353354cdbSmrg elif test -f "$ac_dir/shtool"; then 218453354cdbSmrg ac_aux_dir=$ac_dir 218553354cdbSmrg ac_install_sh="$ac_aux_dir/shtool install -c" 218653354cdbSmrg break 218753354cdbSmrg fi 218853354cdbSmrgdone 218953354cdbSmrgif test -z "$ac_aux_dir"; then 219086bbecbeSmrg as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 219153354cdbSmrgfi 219253354cdbSmrg 219353354cdbSmrg# These three variables are undocumented and unsupported, 219453354cdbSmrg# and are intended to be withdrawn in a future Autoconf release. 219553354cdbSmrg# They can cause serious problems if a builder's source tree is in a directory 219653354cdbSmrg# whose full name contains unusual characters. 219753354cdbSmrgac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 219853354cdbSmrgac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 219953354cdbSmrgac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 220053354cdbSmrg 220153354cdbSmrg 220253354cdbSmrg# Find a good install program. We prefer a C program (faster), 220353354cdbSmrg# so one script is as good as another. But avoid the broken or 220453354cdbSmrg# incompatible versions: 220553354cdbSmrg# SysV /etc/install, /usr/sbin/install 220653354cdbSmrg# SunOS /usr/etc/install 220753354cdbSmrg# IRIX /sbin/install 220853354cdbSmrg# AIX /bin/install 220953354cdbSmrg# AmigaOS /C/install, which installs bootblocks on floppy discs 221053354cdbSmrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 221153354cdbSmrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 221253354cdbSmrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 221353354cdbSmrg# OS/2's system install, which has a completely different semantic 221453354cdbSmrg# ./install, which can be erroneously created by make from ./install.sh. 221586bbecbeSmrg# Reject install programs that cannot install multiple files. 221686bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 221786bbecbeSmrg$as_echo_n "checking for a BSD-compatible install... " >&6; } 221853354cdbSmrgif test -z "$INSTALL"; then 221986bbecbeSmrgif ${ac_cv_path_install+:} false; then : 222086bbecbeSmrg $as_echo_n "(cached) " >&6 222153354cdbSmrgelse 222253354cdbSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 222353354cdbSmrgfor as_dir in $PATH 222453354cdbSmrgdo 222553354cdbSmrg IFS=$as_save_IFS 222653354cdbSmrg test -z "$as_dir" && as_dir=. 222786bbecbeSmrg # Account for people who put trailing slashes in PATH elements. 222886bbecbeSmrgcase $as_dir/ in #(( 222986bbecbeSmrg ./ | .// | /[cC]/* | \ 223053354cdbSmrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 223186bbecbeSmrg ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 223253354cdbSmrg /usr/ucb/* ) ;; 223353354cdbSmrg *) 223453354cdbSmrg # OSF1 and SCO ODT 3.0 have their own names for install. 223553354cdbSmrg # Don't use installbsd from OSF since it installs stuff as root 223653354cdbSmrg # by default. 223753354cdbSmrg for ac_prog in ginstall scoinst install; do 223853354cdbSmrg for ac_exec_ext in '' $ac_executable_extensions; do 223953354cdbSmrg if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 224053354cdbSmrg if test $ac_prog = install && 224153354cdbSmrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 224253354cdbSmrg # AIX install. It has an incompatible calling convention. 224353354cdbSmrg : 224453354cdbSmrg elif test $ac_prog = install && 224553354cdbSmrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 224653354cdbSmrg # program-specific install script used by HP pwplus--don't use. 224753354cdbSmrg : 224853354cdbSmrg else 224986bbecbeSmrg rm -rf conftest.one conftest.two conftest.dir 225086bbecbeSmrg echo one > conftest.one 225186bbecbeSmrg echo two > conftest.two 225286bbecbeSmrg mkdir conftest.dir 225386bbecbeSmrg if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 225486bbecbeSmrg test -s conftest.one && test -s conftest.two && 225586bbecbeSmrg test -s conftest.dir/conftest.one && 225686bbecbeSmrg test -s conftest.dir/conftest.two 225786bbecbeSmrg then 225886bbecbeSmrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 225986bbecbeSmrg break 3 226086bbecbeSmrg fi 226153354cdbSmrg fi 226253354cdbSmrg fi 226353354cdbSmrg done 226453354cdbSmrg done 226553354cdbSmrg ;; 226653354cdbSmrgesac 226786bbecbeSmrg 226886bbecbeSmrg done 226953354cdbSmrgIFS=$as_save_IFS 227053354cdbSmrg 227186bbecbeSmrgrm -rf conftest.one conftest.two conftest.dir 227253354cdbSmrg 227353354cdbSmrgfi 227453354cdbSmrg if test "${ac_cv_path_install+set}" = set; then 227553354cdbSmrg INSTALL=$ac_cv_path_install 227653354cdbSmrg else 227753354cdbSmrg # As a last resort, use the slow shell script. Don't cache a 227853354cdbSmrg # value for INSTALL within a source directory, because that will 227953354cdbSmrg # break other packages using the cache if that directory is 228053354cdbSmrg # removed, or if the value is a relative name. 228153354cdbSmrg INSTALL=$ac_install_sh 228253354cdbSmrg fi 228353354cdbSmrgfi 228486bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 228586bbecbeSmrg$as_echo "$INSTALL" >&6; } 228653354cdbSmrg 228753354cdbSmrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 228853354cdbSmrg# It thinks the first close brace ends the variable substitution. 228953354cdbSmrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 229053354cdbSmrg 229153354cdbSmrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 229253354cdbSmrg 229353354cdbSmrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 229453354cdbSmrg 229586bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 229686bbecbeSmrg$as_echo_n "checking whether build environment is sane... " >&6; } 229753354cdbSmrg# Just in case 229853354cdbSmrgsleep 1 229953354cdbSmrgecho timestamp > conftest.file 230086bbecbeSmrg# Reject unsafe characters in $srcdir or the absolute working directory 230186bbecbeSmrg# name. Accept space and tab only in the latter. 230286bbecbeSmrgam_lf=' 230386bbecbeSmrg' 230486bbecbeSmrgcase `pwd` in 230586bbecbeSmrg *[\\\"\#\$\&\'\`$am_lf]*) 230686bbecbeSmrg as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 230786bbecbeSmrgesac 230886bbecbeSmrgcase $srcdir in 230986bbecbeSmrg *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 231086bbecbeSmrg as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 231186bbecbeSmrgesac 231286bbecbeSmrg 231353354cdbSmrg# Do `set' in a subshell so we don't clobber the current shell's 231453354cdbSmrg# arguments. Must try -L first in case configure is actually a 231553354cdbSmrg# symlink; some systems play weird games with the mod time of symlinks 231653354cdbSmrg# (eg FreeBSD returns the mod time of the symlink's containing 231753354cdbSmrg# directory). 231853354cdbSmrgif ( 231986bbecbeSmrg set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 232053354cdbSmrg if test "$*" = "X"; then 232153354cdbSmrg # -L didn't work. 232286bbecbeSmrg set X `ls -t "$srcdir/configure" conftest.file` 232353354cdbSmrg fi 232453354cdbSmrg rm -f conftest.file 232553354cdbSmrg if test "$*" != "X $srcdir/configure conftest.file" \ 232653354cdbSmrg && test "$*" != "X conftest.file $srcdir/configure"; then 232753354cdbSmrg 232853354cdbSmrg # If neither matched, then we have a broken ls. This can happen 232953354cdbSmrg # if, for instance, CONFIG_SHELL is bash and it inherits a 233053354cdbSmrg # broken ls alias from the environment. This has actually 233153354cdbSmrg # happened. Such a system could not be considered "sane". 233286bbecbeSmrg as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 233386bbecbeSmrgalias in your environment" "$LINENO" 5 233453354cdbSmrg fi 233553354cdbSmrg 233653354cdbSmrg test "$2" = conftest.file 233753354cdbSmrg ) 233853354cdbSmrgthen 233953354cdbSmrg # Ok. 234053354cdbSmrg : 234153354cdbSmrgelse 234286bbecbeSmrg as_fn_error $? "newly created file is older than distributed files! 234386bbecbeSmrgCheck your system clock" "$LINENO" 5 234453354cdbSmrgfi 234586bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 234686bbecbeSmrg$as_echo "yes" >&6; } 234753354cdbSmrgtest "$program_prefix" != NONE && 234853354cdbSmrg program_transform_name="s&^&$program_prefix&;$program_transform_name" 234953354cdbSmrg# Use a double $ so make ignores it. 235053354cdbSmrgtest "$program_suffix" != NONE && 235153354cdbSmrg program_transform_name="s&\$&$program_suffix&;$program_transform_name" 235286bbecbeSmrg# Double any \ or $. 235353354cdbSmrg# By default was `s,x,x', remove it if useless. 235486bbecbeSmrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 235586bbecbeSmrgprogram_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 235653354cdbSmrg 235753354cdbSmrg# expand $ac_aux_dir to an absolute path 235853354cdbSmrgam_aux_dir=`cd $ac_aux_dir && pwd` 235953354cdbSmrg 236086bbecbeSmrgif test x"${MISSING+set}" != xset; then 236186bbecbeSmrg case $am_aux_dir in 236286bbecbeSmrg *\ * | *\ *) 236386bbecbeSmrg MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 236486bbecbeSmrg *) 236586bbecbeSmrg MISSING="\${SHELL} $am_aux_dir/missing" ;; 236686bbecbeSmrg esac 236786bbecbeSmrgfi 236853354cdbSmrg# Use eval to expand $SHELL 236953354cdbSmrgif eval "$MISSING --run true"; then 237053354cdbSmrg am_missing_run="$MISSING --run " 237153354cdbSmrgelse 237253354cdbSmrg am_missing_run= 237386bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 237486bbecbeSmrg$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 237553354cdbSmrgfi 237653354cdbSmrg 237786bbecbeSmrgif test x"${install_sh}" != xset; then 237886bbecbeSmrg case $am_aux_dir in 237986bbecbeSmrg *\ * | *\ *) 238086bbecbeSmrg install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 238186bbecbeSmrg *) 238286bbecbeSmrg install_sh="\${SHELL} $am_aux_dir/install-sh" 238386bbecbeSmrg esac 238486bbecbeSmrgfi 238586bbecbeSmrg 238686bbecbeSmrg# Installed binaries are usually stripped using `strip' when the user 238786bbecbeSmrg# run `make install-strip'. However `strip' might not be the right 238886bbecbeSmrg# tool to use in cross-compilation environments, therefore Automake 238986bbecbeSmrg# will honor the `STRIP' environment variable to overrule this program. 239086bbecbeSmrgif test "$cross_compiling" != no; then 239186bbecbeSmrg if test -n "$ac_tool_prefix"; then 239286bbecbeSmrg # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 239386bbecbeSmrgset dummy ${ac_tool_prefix}strip; ac_word=$2 239486bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 239586bbecbeSmrg$as_echo_n "checking for $ac_word... " >&6; } 239686bbecbeSmrgif ${ac_cv_prog_STRIP+:} false; then : 239786bbecbeSmrg $as_echo_n "(cached) " >&6 239853354cdbSmrgelse 239986bbecbeSmrg if test -n "$STRIP"; then 240086bbecbeSmrg ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 240186bbecbeSmrgelse 240286bbecbeSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 240386bbecbeSmrgfor as_dir in $PATH 240453354cdbSmrgdo 240553354cdbSmrg IFS=$as_save_IFS 240653354cdbSmrg test -z "$as_dir" && as_dir=. 240786bbecbeSmrg for ac_exec_ext in '' $ac_executable_extensions; do 240886bbecbeSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 240986bbecbeSmrg ac_cv_prog_STRIP="${ac_tool_prefix}strip" 241086bbecbeSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 241186bbecbeSmrg break 2 241286bbecbeSmrg fi 241353354cdbSmrgdone 241486bbecbeSmrg done 241553354cdbSmrgIFS=$as_save_IFS 241653354cdbSmrg 241753354cdbSmrgfi 241853354cdbSmrgfi 241986bbecbeSmrgSTRIP=$ac_cv_prog_STRIP 242086bbecbeSmrgif test -n "$STRIP"; then 242186bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 242286bbecbeSmrg$as_echo "$STRIP" >&6; } 242386bbecbeSmrgelse 242486bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 242586bbecbeSmrg$as_echo "no" >&6; } 242686bbecbeSmrgfi 242753354cdbSmrg 242853354cdbSmrg 242986bbecbeSmrgfi 243086bbecbeSmrgif test -z "$ac_cv_prog_STRIP"; then 243186bbecbeSmrg ac_ct_STRIP=$STRIP 243286bbecbeSmrg # Extract the first word of "strip", so it can be a program name with args. 243386bbecbeSmrgset dummy strip; ac_word=$2 243486bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 243586bbecbeSmrg$as_echo_n "checking for $ac_word... " >&6; } 243686bbecbeSmrgif ${ac_cv_prog_ac_ct_STRIP+:} false; then : 243786bbecbeSmrg $as_echo_n "(cached) " >&6 243853354cdbSmrgelse 243986bbecbeSmrg if test -n "$ac_ct_STRIP"; then 244086bbecbeSmrg ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 244153354cdbSmrgelse 244253354cdbSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 244353354cdbSmrgfor as_dir in $PATH 244453354cdbSmrgdo 244553354cdbSmrg IFS=$as_save_IFS 244653354cdbSmrg test -z "$as_dir" && as_dir=. 244786bbecbeSmrg for ac_exec_ext in '' $ac_executable_extensions; do 244853354cdbSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 244986bbecbeSmrg ac_cv_prog_ac_ct_STRIP="strip" 245086bbecbeSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 245153354cdbSmrg break 2 245253354cdbSmrg fi 245353354cdbSmrgdone 245486bbecbeSmrg done 245553354cdbSmrgIFS=$as_save_IFS 245653354cdbSmrg 245753354cdbSmrgfi 245853354cdbSmrgfi 245986bbecbeSmrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 246086bbecbeSmrgif test -n "$ac_ct_STRIP"; then 246186bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 246286bbecbeSmrg$as_echo "$ac_ct_STRIP" >&6; } 246386bbecbeSmrgelse 246486bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 246586bbecbeSmrg$as_echo "no" >&6; } 246686bbecbeSmrgfi 246786bbecbeSmrg 246886bbecbeSmrg if test "x$ac_ct_STRIP" = x; then 246986bbecbeSmrg STRIP=":" 247086bbecbeSmrg else 247186bbecbeSmrg case $cross_compiling:$ac_tool_warned in 247286bbecbeSmrgyes:) 247386bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 247486bbecbeSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 247586bbecbeSmrgac_tool_warned=yes ;; 247686bbecbeSmrgesac 247786bbecbeSmrg STRIP=$ac_ct_STRIP 247886bbecbeSmrg fi 247986bbecbeSmrgelse 248086bbecbeSmrg STRIP="$ac_cv_prog_STRIP" 248186bbecbeSmrgfi 248286bbecbeSmrg 248386bbecbeSmrgfi 248486bbecbeSmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 248586bbecbeSmrg 248686bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 248786bbecbeSmrg$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 248886bbecbeSmrgif test -z "$MKDIR_P"; then 248986bbecbeSmrg if ${ac_cv_path_mkdir+:} false; then : 249086bbecbeSmrg $as_echo_n "(cached) " >&6 249186bbecbeSmrgelse 249286bbecbeSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 249386bbecbeSmrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 249486bbecbeSmrgdo 249586bbecbeSmrg IFS=$as_save_IFS 249686bbecbeSmrg test -z "$as_dir" && as_dir=. 249786bbecbeSmrg for ac_prog in mkdir gmkdir; do 249886bbecbeSmrg for ac_exec_ext in '' $ac_executable_extensions; do 249986bbecbeSmrg { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 250086bbecbeSmrg case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 250186bbecbeSmrg 'mkdir (GNU coreutils) '* | \ 250286bbecbeSmrg 'mkdir (coreutils) '* | \ 250386bbecbeSmrg 'mkdir (fileutils) '4.1*) 250486bbecbeSmrg ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 250586bbecbeSmrg break 3;; 250686bbecbeSmrg esac 250786bbecbeSmrg done 250886bbecbeSmrg done 250986bbecbeSmrg done 251086bbecbeSmrgIFS=$as_save_IFS 251186bbecbeSmrg 251286bbecbeSmrgfi 251386bbecbeSmrg 251486bbecbeSmrg test -d ./--version && rmdir ./--version 251586bbecbeSmrg if test "${ac_cv_path_mkdir+set}" = set; then 251686bbecbeSmrg MKDIR_P="$ac_cv_path_mkdir -p" 251786bbecbeSmrg else 251886bbecbeSmrg # As a last resort, use the slow shell script. Don't cache a 251986bbecbeSmrg # value for MKDIR_P within a source directory, because that will 252086bbecbeSmrg # break other packages using the cache if that directory is 252186bbecbeSmrg # removed, or if the value is a relative name. 252286bbecbeSmrg MKDIR_P="$ac_install_sh -d" 252386bbecbeSmrg fi 252486bbecbeSmrgfi 252586bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 252686bbecbeSmrg$as_echo "$MKDIR_P" >&6; } 252786bbecbeSmrg 252886bbecbeSmrgmkdir_p="$MKDIR_P" 252986bbecbeSmrgcase $mkdir_p in 253086bbecbeSmrg [\\/$]* | ?:[\\/]*) ;; 253186bbecbeSmrg */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 253286bbecbeSmrgesac 253386bbecbeSmrg 253486bbecbeSmrgfor ac_prog in gawk mawk nawk awk 253586bbecbeSmrgdo 253686bbecbeSmrg # Extract the first word of "$ac_prog", so it can be a program name with args. 253786bbecbeSmrgset dummy $ac_prog; ac_word=$2 253886bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 253986bbecbeSmrg$as_echo_n "checking for $ac_word... " >&6; } 254086bbecbeSmrgif ${ac_cv_prog_AWK+:} false; then : 254186bbecbeSmrg $as_echo_n "(cached) " >&6 254286bbecbeSmrgelse 254386bbecbeSmrg if test -n "$AWK"; then 254486bbecbeSmrg ac_cv_prog_AWK="$AWK" # Let the user override the test. 254586bbecbeSmrgelse 254686bbecbeSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 254786bbecbeSmrgfor as_dir in $PATH 254886bbecbeSmrgdo 254986bbecbeSmrg IFS=$as_save_IFS 255086bbecbeSmrg test -z "$as_dir" && as_dir=. 255186bbecbeSmrg for ac_exec_ext in '' $ac_executable_extensions; do 255286bbecbeSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 255386bbecbeSmrg ac_cv_prog_AWK="$ac_prog" 255486bbecbeSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 255586bbecbeSmrg break 2 255686bbecbeSmrg fi 255786bbecbeSmrgdone 255886bbecbeSmrg done 255986bbecbeSmrgIFS=$as_save_IFS 256086bbecbeSmrg 256186bbecbeSmrgfi 256286bbecbeSmrgfi 256386bbecbeSmrgAWK=$ac_cv_prog_AWK 256486bbecbeSmrgif test -n "$AWK"; then 256586bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 256686bbecbeSmrg$as_echo "$AWK" >&6; } 256786bbecbeSmrgelse 256886bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 256986bbecbeSmrg$as_echo "no" >&6; } 257053354cdbSmrgfi 257153354cdbSmrg 257253354cdbSmrg 257353354cdbSmrg test -n "$AWK" && break 257453354cdbSmrgdone 257553354cdbSmrg 257686bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 257786bbecbeSmrg$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 257886bbecbeSmrgset x ${MAKE-make} 257986bbecbeSmrgac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 258086bbecbeSmrgif eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 258186bbecbeSmrg $as_echo_n "(cached) " >&6 258253354cdbSmrgelse 258353354cdbSmrg cat >conftest.make <<\_ACEOF 258453354cdbSmrgSHELL = /bin/sh 258553354cdbSmrgall: 258653354cdbSmrg @echo '@@@%%%=$(MAKE)=@@@%%%' 258753354cdbSmrg_ACEOF 258886bbecbeSmrg# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 258953354cdbSmrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in 259053354cdbSmrg *@@@%%%=?*=@@@%%%*) 259153354cdbSmrg eval ac_cv_prog_make_${ac_make}_set=yes;; 259253354cdbSmrg *) 259353354cdbSmrg eval ac_cv_prog_make_${ac_make}_set=no;; 259453354cdbSmrgesac 259553354cdbSmrgrm -f conftest.make 259653354cdbSmrgfi 259753354cdbSmrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 259886bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 259986bbecbeSmrg$as_echo "yes" >&6; } 260053354cdbSmrg SET_MAKE= 260153354cdbSmrgelse 260286bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 260386bbecbeSmrg$as_echo "no" >&6; } 260453354cdbSmrg SET_MAKE="MAKE=${MAKE-make}" 260553354cdbSmrgfi 260653354cdbSmrg 260753354cdbSmrgrm -rf .tst 2>/dev/null 260853354cdbSmrgmkdir .tst 2>/dev/null 260953354cdbSmrgif test -d .tst; then 261053354cdbSmrg am__leading_dot=. 261153354cdbSmrgelse 261253354cdbSmrg am__leading_dot=_ 261353354cdbSmrgfi 261453354cdbSmrgrmdir .tst 2>/dev/null 261553354cdbSmrg 261653354cdbSmrgif test "`cd $srcdir && pwd`" != "`pwd`"; then 261753354cdbSmrg # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 261853354cdbSmrg # is not polluted with repeated "-I." 261953354cdbSmrg am__isrc=' -I$(srcdir)' 262053354cdbSmrg # test to see if srcdir already configured 262153354cdbSmrg if test -f $srcdir/config.status; then 262286bbecbeSmrg as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 262353354cdbSmrg fi 262453354cdbSmrgfi 262553354cdbSmrg 262653354cdbSmrg# test whether we have cygpath 262753354cdbSmrgif test -z "$CYGPATH_W"; then 262853354cdbSmrg if (cygpath --version) >/dev/null 2>/dev/null; then 262953354cdbSmrg CYGPATH_W='cygpath -w' 263053354cdbSmrg else 263153354cdbSmrg CYGPATH_W=echo 263253354cdbSmrg fi 263353354cdbSmrgfi 263453354cdbSmrg 263553354cdbSmrg 263653354cdbSmrg# Define the identity of the package. 263753354cdbSmrg PACKAGE='rgb' 263886bbecbeSmrg VERSION='1.0.4' 263953354cdbSmrg 264053354cdbSmrg 264153354cdbSmrgcat >>confdefs.h <<_ACEOF 264253354cdbSmrg#define PACKAGE "$PACKAGE" 264353354cdbSmrg_ACEOF 264453354cdbSmrg 264553354cdbSmrg 264653354cdbSmrgcat >>confdefs.h <<_ACEOF 264753354cdbSmrg#define VERSION "$VERSION" 264853354cdbSmrg_ACEOF 264953354cdbSmrg 265053354cdbSmrg# Some tools Automake needs. 265153354cdbSmrg 265253354cdbSmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 265353354cdbSmrg 265453354cdbSmrg 265553354cdbSmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 265653354cdbSmrg 265753354cdbSmrg 265853354cdbSmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 265953354cdbSmrg 266053354cdbSmrg 266153354cdbSmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 266253354cdbSmrg 266353354cdbSmrg 266453354cdbSmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 266553354cdbSmrg 266653354cdbSmrg# We need awk for the "check" target. The system "awk" is bad on 266753354cdbSmrg# some platforms. 266853354cdbSmrg# Always define AMTAR for backward compatibility. 266953354cdbSmrg 267053354cdbSmrgAMTAR=${AMTAR-"${am_missing_run}tar"} 267153354cdbSmrg 267253354cdbSmrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 267353354cdbSmrg 267453354cdbSmrg 267553354cdbSmrg 267653354cdbSmrg 267753354cdbSmrg 267886bbecbeSmrg 267986bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 268086bbecbeSmrg$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 268153354cdbSmrg # Check whether --enable-maintainer-mode was given. 268286bbecbeSmrgif test "${enable_maintainer_mode+set}" = set; then : 268353354cdbSmrg enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 268453354cdbSmrgelse 268553354cdbSmrg USE_MAINTAINER_MODE=no 268653354cdbSmrgfi 268753354cdbSmrg 268886bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 268986bbecbeSmrg$as_echo "$USE_MAINTAINER_MODE" >&6; } 269053354cdbSmrg if test $USE_MAINTAINER_MODE = yes; then 269153354cdbSmrg MAINTAINER_MODE_TRUE= 269253354cdbSmrg MAINTAINER_MODE_FALSE='#' 269353354cdbSmrgelse 269453354cdbSmrg MAINTAINER_MODE_TRUE='#' 269553354cdbSmrg MAINTAINER_MODE_FALSE= 269653354cdbSmrgfi 269753354cdbSmrg 269853354cdbSmrg MAINT=$MAINTAINER_MODE_TRUE 269953354cdbSmrg 270053354cdbSmrg 270153354cdbSmrgac_config_headers="$ac_config_headers config.h" 270253354cdbSmrg 270353354cdbSmrg 270486bbecbeSmrg# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS 270586bbecbeSmrg 270686bbecbeSmrg 270786bbecbeSmrg 270886bbecbeSmrg 270986bbecbeSmrg 271086bbecbeSmrg 271186bbecbeSmrg 271286bbecbeSmrg 271386bbecbeSmrg 271486bbecbeSmrg 271586bbecbeSmrg 271686bbecbeSmrgDEPDIR="${am__leading_dot}deps" 271786bbecbeSmrg 271886bbecbeSmrgac_config_commands="$ac_config_commands depfiles" 271986bbecbeSmrg 272086bbecbeSmrg 272186bbecbeSmrgam_make=${MAKE-make} 272286bbecbeSmrgcat > confinc << 'END' 272386bbecbeSmrgam__doit: 272486bbecbeSmrg @echo this is the am__doit target 272586bbecbeSmrg.PHONY: am__doit 272686bbecbeSmrgEND 272786bbecbeSmrg# If we don't find an include directive, just comment out the code. 272886bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 272986bbecbeSmrg$as_echo_n "checking for style of include used by $am_make... " >&6; } 273086bbecbeSmrgam__include="#" 273186bbecbeSmrgam__quote= 273286bbecbeSmrg_am_result=none 273386bbecbeSmrg# First try GNU make style include. 273486bbecbeSmrgecho "include confinc" > confmf 273586bbecbeSmrg# Ignore all kinds of additional output from `make'. 273686bbecbeSmrgcase `$am_make -s -f confmf 2> /dev/null` in #( 273786bbecbeSmrg*the\ am__doit\ target*) 273886bbecbeSmrg am__include=include 273986bbecbeSmrg am__quote= 274086bbecbeSmrg _am_result=GNU 274186bbecbeSmrg ;; 274286bbecbeSmrgesac 274386bbecbeSmrg# Now try BSD make style include. 274486bbecbeSmrgif test "$am__include" = "#"; then 274586bbecbeSmrg echo '.include "confinc"' > confmf 274686bbecbeSmrg case `$am_make -s -f confmf 2> /dev/null` in #( 274786bbecbeSmrg *the\ am__doit\ target*) 274886bbecbeSmrg am__include=.include 274986bbecbeSmrg am__quote="\"" 275086bbecbeSmrg _am_result=BSD 275186bbecbeSmrg ;; 275286bbecbeSmrg esac 275386bbecbeSmrgfi 275486bbecbeSmrg 275586bbecbeSmrg 275686bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 275786bbecbeSmrg$as_echo "$_am_result" >&6; } 275886bbecbeSmrgrm -f confinc confmf 275986bbecbeSmrg 276086bbecbeSmrg# Check whether --enable-dependency-tracking was given. 276186bbecbeSmrgif test "${enable_dependency_tracking+set}" = set; then : 276286bbecbeSmrg enableval=$enable_dependency_tracking; 276386bbecbeSmrgfi 276486bbecbeSmrg 276586bbecbeSmrgif test "x$enable_dependency_tracking" != xno; then 276686bbecbeSmrg am_depcomp="$ac_aux_dir/depcomp" 276786bbecbeSmrg AMDEPBACKSLASH='\' 276886bbecbeSmrgfi 276986bbecbeSmrg if test "x$enable_dependency_tracking" != xno; then 277086bbecbeSmrg AMDEP_TRUE= 277186bbecbeSmrg AMDEP_FALSE='#' 277286bbecbeSmrgelse 277386bbecbeSmrg AMDEP_TRUE='#' 277486bbecbeSmrg AMDEP_FALSE= 277586bbecbeSmrgfi 277686bbecbeSmrg 277786bbecbeSmrg 277853354cdbSmrgac_ext=c 277953354cdbSmrgac_cpp='$CPP $CPPFLAGS' 278053354cdbSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 278153354cdbSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 278253354cdbSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 278353354cdbSmrgif test -n "$ac_tool_prefix"; then 278453354cdbSmrg # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 278553354cdbSmrgset dummy ${ac_tool_prefix}gcc; ac_word=$2 278686bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 278786bbecbeSmrg$as_echo_n "checking for $ac_word... " >&6; } 278886bbecbeSmrgif ${ac_cv_prog_CC+:} false; then : 278986bbecbeSmrg $as_echo_n "(cached) " >&6 279053354cdbSmrgelse 279153354cdbSmrg if test -n "$CC"; then 279253354cdbSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 279353354cdbSmrgelse 279453354cdbSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 279553354cdbSmrgfor as_dir in $PATH 279653354cdbSmrgdo 279753354cdbSmrg IFS=$as_save_IFS 279853354cdbSmrg test -z "$as_dir" && as_dir=. 279986bbecbeSmrg for ac_exec_ext in '' $ac_executable_extensions; do 280053354cdbSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 280153354cdbSmrg ac_cv_prog_CC="${ac_tool_prefix}gcc" 280286bbecbeSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 280353354cdbSmrg break 2 280453354cdbSmrg fi 280553354cdbSmrgdone 280686bbecbeSmrg done 280753354cdbSmrgIFS=$as_save_IFS 280853354cdbSmrg 280953354cdbSmrgfi 281053354cdbSmrgfi 281153354cdbSmrgCC=$ac_cv_prog_CC 281253354cdbSmrgif test -n "$CC"; then 281386bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 281486bbecbeSmrg$as_echo "$CC" >&6; } 281553354cdbSmrgelse 281686bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 281786bbecbeSmrg$as_echo "no" >&6; } 281853354cdbSmrgfi 281953354cdbSmrg 282053354cdbSmrg 282153354cdbSmrgfi 282253354cdbSmrgif test -z "$ac_cv_prog_CC"; then 282353354cdbSmrg ac_ct_CC=$CC 282453354cdbSmrg # Extract the first word of "gcc", so it can be a program name with args. 282553354cdbSmrgset dummy gcc; ac_word=$2 282686bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 282786bbecbeSmrg$as_echo_n "checking for $ac_word... " >&6; } 282886bbecbeSmrgif ${ac_cv_prog_ac_ct_CC+:} false; then : 282986bbecbeSmrg $as_echo_n "(cached) " >&6 283053354cdbSmrgelse 283153354cdbSmrg if test -n "$ac_ct_CC"; then 283253354cdbSmrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 283353354cdbSmrgelse 283453354cdbSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 283553354cdbSmrgfor as_dir in $PATH 283653354cdbSmrgdo 283753354cdbSmrg IFS=$as_save_IFS 283853354cdbSmrg test -z "$as_dir" && as_dir=. 283986bbecbeSmrg for ac_exec_ext in '' $ac_executable_extensions; do 284053354cdbSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 284153354cdbSmrg ac_cv_prog_ac_ct_CC="gcc" 284286bbecbeSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 284353354cdbSmrg break 2 284453354cdbSmrg fi 284553354cdbSmrgdone 284686bbecbeSmrg done 284753354cdbSmrgIFS=$as_save_IFS 284853354cdbSmrg 284953354cdbSmrgfi 285053354cdbSmrgfi 285153354cdbSmrgac_ct_CC=$ac_cv_prog_ac_ct_CC 285253354cdbSmrgif test -n "$ac_ct_CC"; then 285386bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 285486bbecbeSmrg$as_echo "$ac_ct_CC" >&6; } 285553354cdbSmrgelse 285686bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 285786bbecbeSmrg$as_echo "no" >&6; } 285853354cdbSmrgfi 285953354cdbSmrg 286053354cdbSmrg if test "x$ac_ct_CC" = x; then 286153354cdbSmrg CC="" 286253354cdbSmrg else 286353354cdbSmrg case $cross_compiling:$ac_tool_warned in 286453354cdbSmrgyes:) 286586bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 286686bbecbeSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 286753354cdbSmrgac_tool_warned=yes ;; 286853354cdbSmrgesac 286953354cdbSmrg CC=$ac_ct_CC 287053354cdbSmrg fi 287153354cdbSmrgelse 287253354cdbSmrg CC="$ac_cv_prog_CC" 287353354cdbSmrgfi 287453354cdbSmrg 287553354cdbSmrgif test -z "$CC"; then 287653354cdbSmrg if test -n "$ac_tool_prefix"; then 287753354cdbSmrg # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 287853354cdbSmrgset dummy ${ac_tool_prefix}cc; ac_word=$2 287986bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 288086bbecbeSmrg$as_echo_n "checking for $ac_word... " >&6; } 288186bbecbeSmrgif ${ac_cv_prog_CC+:} false; then : 288286bbecbeSmrg $as_echo_n "(cached) " >&6 288353354cdbSmrgelse 288453354cdbSmrg if test -n "$CC"; then 288553354cdbSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 288653354cdbSmrgelse 288753354cdbSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 288853354cdbSmrgfor as_dir in $PATH 288953354cdbSmrgdo 289053354cdbSmrg IFS=$as_save_IFS 289153354cdbSmrg test -z "$as_dir" && as_dir=. 289286bbecbeSmrg for ac_exec_ext in '' $ac_executable_extensions; do 289353354cdbSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 289453354cdbSmrg ac_cv_prog_CC="${ac_tool_prefix}cc" 289586bbecbeSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 289653354cdbSmrg break 2 289753354cdbSmrg fi 289853354cdbSmrgdone 289986bbecbeSmrg done 290053354cdbSmrgIFS=$as_save_IFS 290153354cdbSmrg 290253354cdbSmrgfi 290353354cdbSmrgfi 290453354cdbSmrgCC=$ac_cv_prog_CC 290553354cdbSmrgif test -n "$CC"; then 290686bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 290786bbecbeSmrg$as_echo "$CC" >&6; } 290853354cdbSmrgelse 290986bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 291086bbecbeSmrg$as_echo "no" >&6; } 291153354cdbSmrgfi 291253354cdbSmrg 291353354cdbSmrg 291453354cdbSmrg fi 291553354cdbSmrgfi 291653354cdbSmrgif test -z "$CC"; then 291753354cdbSmrg # Extract the first word of "cc", so it can be a program name with args. 291853354cdbSmrgset dummy cc; ac_word=$2 291986bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 292086bbecbeSmrg$as_echo_n "checking for $ac_word... " >&6; } 292186bbecbeSmrgif ${ac_cv_prog_CC+:} false; then : 292286bbecbeSmrg $as_echo_n "(cached) " >&6 292353354cdbSmrgelse 292453354cdbSmrg if test -n "$CC"; then 292553354cdbSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 292653354cdbSmrgelse 292753354cdbSmrg ac_prog_rejected=no 292853354cdbSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 292953354cdbSmrgfor as_dir in $PATH 293053354cdbSmrgdo 293153354cdbSmrg IFS=$as_save_IFS 293253354cdbSmrg test -z "$as_dir" && as_dir=. 293386bbecbeSmrg for ac_exec_ext in '' $ac_executable_extensions; do 293453354cdbSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 293553354cdbSmrg if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 293653354cdbSmrg ac_prog_rejected=yes 293753354cdbSmrg continue 293853354cdbSmrg fi 293953354cdbSmrg ac_cv_prog_CC="cc" 294086bbecbeSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 294153354cdbSmrg break 2 294253354cdbSmrg fi 294353354cdbSmrgdone 294486bbecbeSmrg done 294553354cdbSmrgIFS=$as_save_IFS 294653354cdbSmrg 294753354cdbSmrgif test $ac_prog_rejected = yes; then 294853354cdbSmrg # We found a bogon in the path, so make sure we never use it. 294953354cdbSmrg set dummy $ac_cv_prog_CC 295053354cdbSmrg shift 295153354cdbSmrg if test $# != 0; then 295253354cdbSmrg # We chose a different compiler from the bogus one. 295353354cdbSmrg # However, it has the same basename, so the bogon will be chosen 295453354cdbSmrg # first if we set CC to just the basename; use the full file name. 295553354cdbSmrg shift 295653354cdbSmrg ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 295753354cdbSmrg fi 295853354cdbSmrgfi 295953354cdbSmrgfi 296053354cdbSmrgfi 296153354cdbSmrgCC=$ac_cv_prog_CC 296253354cdbSmrgif test -n "$CC"; then 296386bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 296486bbecbeSmrg$as_echo "$CC" >&6; } 296553354cdbSmrgelse 296686bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 296786bbecbeSmrg$as_echo "no" >&6; } 296853354cdbSmrgfi 296953354cdbSmrg 297053354cdbSmrg 297153354cdbSmrgfi 297253354cdbSmrgif test -z "$CC"; then 297353354cdbSmrg if test -n "$ac_tool_prefix"; then 297453354cdbSmrg for ac_prog in cl.exe 297553354cdbSmrg do 297653354cdbSmrg # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 297753354cdbSmrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2 297886bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 297986bbecbeSmrg$as_echo_n "checking for $ac_word... " >&6; } 298086bbecbeSmrgif ${ac_cv_prog_CC+:} false; then : 298186bbecbeSmrg $as_echo_n "(cached) " >&6 298253354cdbSmrgelse 298353354cdbSmrg if test -n "$CC"; then 298453354cdbSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 298553354cdbSmrgelse 298653354cdbSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 298753354cdbSmrgfor as_dir in $PATH 298853354cdbSmrgdo 298953354cdbSmrg IFS=$as_save_IFS 299053354cdbSmrg test -z "$as_dir" && as_dir=. 299186bbecbeSmrg for ac_exec_ext in '' $ac_executable_extensions; do 299253354cdbSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 299353354cdbSmrg ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 299486bbecbeSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 299553354cdbSmrg break 2 299653354cdbSmrg fi 299753354cdbSmrgdone 299886bbecbeSmrg done 299953354cdbSmrgIFS=$as_save_IFS 300053354cdbSmrg 300153354cdbSmrgfi 300253354cdbSmrgfi 300353354cdbSmrgCC=$ac_cv_prog_CC 300453354cdbSmrgif test -n "$CC"; then 300586bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 300686bbecbeSmrg$as_echo "$CC" >&6; } 300753354cdbSmrgelse 300886bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 300986bbecbeSmrg$as_echo "no" >&6; } 301053354cdbSmrgfi 301153354cdbSmrg 301253354cdbSmrg 301353354cdbSmrg test -n "$CC" && break 301453354cdbSmrg done 301553354cdbSmrgfi 301653354cdbSmrgif test -z "$CC"; then 301753354cdbSmrg ac_ct_CC=$CC 301853354cdbSmrg for ac_prog in cl.exe 301953354cdbSmrgdo 302053354cdbSmrg # Extract the first word of "$ac_prog", so it can be a program name with args. 302153354cdbSmrgset dummy $ac_prog; ac_word=$2 302286bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 302386bbecbeSmrg$as_echo_n "checking for $ac_word... " >&6; } 302486bbecbeSmrgif ${ac_cv_prog_ac_ct_CC+:} false; then : 302586bbecbeSmrg $as_echo_n "(cached) " >&6 302653354cdbSmrgelse 302753354cdbSmrg if test -n "$ac_ct_CC"; then 302853354cdbSmrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 302953354cdbSmrgelse 303053354cdbSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 303153354cdbSmrgfor as_dir in $PATH 303253354cdbSmrgdo 303353354cdbSmrg IFS=$as_save_IFS 303453354cdbSmrg test -z "$as_dir" && as_dir=. 303586bbecbeSmrg for ac_exec_ext in '' $ac_executable_extensions; do 303653354cdbSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 303753354cdbSmrg ac_cv_prog_ac_ct_CC="$ac_prog" 303886bbecbeSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 303953354cdbSmrg break 2 304053354cdbSmrg fi 304153354cdbSmrgdone 304286bbecbeSmrg done 304353354cdbSmrgIFS=$as_save_IFS 304453354cdbSmrg 304553354cdbSmrgfi 304653354cdbSmrgfi 304753354cdbSmrgac_ct_CC=$ac_cv_prog_ac_ct_CC 304853354cdbSmrgif test -n "$ac_ct_CC"; then 304986bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 305086bbecbeSmrg$as_echo "$ac_ct_CC" >&6; } 305153354cdbSmrgelse 305286bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 305386bbecbeSmrg$as_echo "no" >&6; } 305453354cdbSmrgfi 305553354cdbSmrg 305653354cdbSmrg 305753354cdbSmrg test -n "$ac_ct_CC" && break 305853354cdbSmrgdone 305953354cdbSmrg 306053354cdbSmrg if test "x$ac_ct_CC" = x; then 306153354cdbSmrg CC="" 306253354cdbSmrg else 306353354cdbSmrg case $cross_compiling:$ac_tool_warned in 306453354cdbSmrgyes:) 306586bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 306686bbecbeSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 306753354cdbSmrgac_tool_warned=yes ;; 306853354cdbSmrgesac 306953354cdbSmrg CC=$ac_ct_CC 307053354cdbSmrg fi 307153354cdbSmrgfi 307253354cdbSmrg 307353354cdbSmrgfi 307453354cdbSmrg 307553354cdbSmrg 307686bbecbeSmrgtest -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 307786bbecbeSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 307886bbecbeSmrgas_fn_error $? "no acceptable C compiler found in \$PATH 307986bbecbeSmrgSee \`config.log' for more details" "$LINENO" 5; } 308053354cdbSmrg 308153354cdbSmrg# Provide some information about the compiler. 308286bbecbeSmrg$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 308386bbecbeSmrgset X $ac_compile 308486bbecbeSmrgac_compiler=$2 308586bbecbeSmrgfor ac_option in --version -v -V -qversion; do 308686bbecbeSmrg { { ac_try="$ac_compiler $ac_option >&5" 308753354cdbSmrgcase "(($ac_try" in 308853354cdbSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 308953354cdbSmrg *) ac_try_echo=$ac_try;; 309053354cdbSmrgesac 309186bbecbeSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 309286bbecbeSmrg$as_echo "$ac_try_echo"; } >&5 309386bbecbeSmrg (eval "$ac_compiler $ac_option >&5") 2>conftest.err 309453354cdbSmrg ac_status=$? 309586bbecbeSmrg if test -s conftest.err; then 309686bbecbeSmrg sed '10a\ 309786bbecbeSmrg... rest of stderr output deleted ... 309886bbecbeSmrg 10q' conftest.err >conftest.er1 309986bbecbeSmrg cat conftest.er1 >&5 310086bbecbeSmrg fi 310186bbecbeSmrg rm -f conftest.er1 conftest.err 310286bbecbeSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 310386bbecbeSmrg test $ac_status = 0; } 310486bbecbeSmrgdone 310553354cdbSmrg 310686bbecbeSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 310753354cdbSmrg/* end confdefs.h. */ 310853354cdbSmrg 310953354cdbSmrgint 311053354cdbSmrgmain () 311153354cdbSmrg{ 311253354cdbSmrg 311353354cdbSmrg ; 311453354cdbSmrg return 0; 311553354cdbSmrg} 311653354cdbSmrg_ACEOF 311753354cdbSmrgac_clean_files_save=$ac_clean_files 311886bbecbeSmrgac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 311953354cdbSmrg# Try to create an executable without -o first, disregard a.out. 312053354cdbSmrg# It will help us diagnose broken compilers, and finding out an intuition 312153354cdbSmrg# of exeext. 312286bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 312386bbecbeSmrg$as_echo_n "checking whether the C compiler works... " >&6; } 312486bbecbeSmrgac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 312586bbecbeSmrg 312686bbecbeSmrg# The possible output files: 312786bbecbeSmrgac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 312886bbecbeSmrg 312953354cdbSmrgac_rmfiles= 313053354cdbSmrgfor ac_file in $ac_files 313153354cdbSmrgdo 313253354cdbSmrg case $ac_file in 313386bbecbeSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 313453354cdbSmrg * ) ac_rmfiles="$ac_rmfiles $ac_file";; 313553354cdbSmrg esac 313653354cdbSmrgdone 313753354cdbSmrgrm -f $ac_rmfiles 313853354cdbSmrg 313986bbecbeSmrgif { { ac_try="$ac_link_default" 314053354cdbSmrgcase "(($ac_try" in 314153354cdbSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 314253354cdbSmrg *) ac_try_echo=$ac_try;; 314353354cdbSmrgesac 314486bbecbeSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 314586bbecbeSmrg$as_echo "$ac_try_echo"; } >&5 314653354cdbSmrg (eval "$ac_link_default") 2>&5 314753354cdbSmrg ac_status=$? 314886bbecbeSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 314986bbecbeSmrg test $ac_status = 0; }; then : 315053354cdbSmrg # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 315153354cdbSmrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 315253354cdbSmrg# in a Makefile. We should not override ac_cv_exeext if it was cached, 315353354cdbSmrg# so that the user can short-circuit this test for compilers unknown to 315453354cdbSmrg# Autoconf. 315553354cdbSmrgfor ac_file in $ac_files '' 315653354cdbSmrgdo 315753354cdbSmrg test -f "$ac_file" || continue 315853354cdbSmrg case $ac_file in 315986bbecbeSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 316053354cdbSmrg ;; 316153354cdbSmrg [ab].out ) 316253354cdbSmrg # We found the default executable, but exeext='' is most 316353354cdbSmrg # certainly right. 316453354cdbSmrg break;; 316553354cdbSmrg *.* ) 316686bbecbeSmrg if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 316753354cdbSmrg then :; else 316853354cdbSmrg ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 316953354cdbSmrg fi 317053354cdbSmrg # We set ac_cv_exeext here because the later test for it is not 317153354cdbSmrg # safe: cross compilers may not add the suffix if given an `-o' 317253354cdbSmrg # argument, so we may need to know it at that point already. 317353354cdbSmrg # Even if this section looks crufty: it has the advantage of 317453354cdbSmrg # actually working. 317553354cdbSmrg break;; 317653354cdbSmrg * ) 317753354cdbSmrg break;; 317853354cdbSmrg esac 317953354cdbSmrgdone 318053354cdbSmrgtest "$ac_cv_exeext" = no && ac_cv_exeext= 318153354cdbSmrg 318253354cdbSmrgelse 318353354cdbSmrg ac_file='' 318453354cdbSmrgfi 318586bbecbeSmrgif test -z "$ac_file"; then : 318686bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 318786bbecbeSmrg$as_echo "no" >&6; } 318886bbecbeSmrg$as_echo "$as_me: failed program was:" >&5 318953354cdbSmrgsed 's/^/| /' conftest.$ac_ext >&5 319053354cdbSmrg 319186bbecbeSmrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 319286bbecbeSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 319386bbecbeSmrgas_fn_error 77 "C compiler cannot create executables 319486bbecbeSmrgSee \`config.log' for more details" "$LINENO" 5; } 319586bbecbeSmrgelse 319686bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 319786bbecbeSmrg$as_echo "yes" >&6; } 319853354cdbSmrgfi 319986bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 320086bbecbeSmrg$as_echo_n "checking for C compiler default output file name... " >&6; } 320186bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 320286bbecbeSmrg$as_echo "$ac_file" >&6; } 320353354cdbSmrgac_exeext=$ac_cv_exeext 320453354cdbSmrg 320586bbecbeSmrgrm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 320653354cdbSmrgac_clean_files=$ac_clean_files_save 320786bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 320886bbecbeSmrg$as_echo_n "checking for suffix of executables... " >&6; } 320986bbecbeSmrgif { { ac_try="$ac_link" 321053354cdbSmrgcase "(($ac_try" in 321153354cdbSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 321253354cdbSmrg *) ac_try_echo=$ac_try;; 321353354cdbSmrgesac 321486bbecbeSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 321586bbecbeSmrg$as_echo "$ac_try_echo"; } >&5 321653354cdbSmrg (eval "$ac_link") 2>&5 321753354cdbSmrg ac_status=$? 321886bbecbeSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 321986bbecbeSmrg test $ac_status = 0; }; then : 322053354cdbSmrg # If both `conftest.exe' and `conftest' are `present' (well, observable) 322153354cdbSmrg# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 322253354cdbSmrg# work properly (i.e., refer to `conftest.exe'), while it won't with 322353354cdbSmrg# `rm'. 322453354cdbSmrgfor ac_file in conftest.exe conftest conftest.*; do 322553354cdbSmrg test -f "$ac_file" || continue 322653354cdbSmrg case $ac_file in 322786bbecbeSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 322853354cdbSmrg *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 322953354cdbSmrg break;; 323053354cdbSmrg * ) break;; 323153354cdbSmrg esac 323253354cdbSmrgdone 323353354cdbSmrgelse 323486bbecbeSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 323586bbecbeSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 323686bbecbeSmrgas_fn_error $? "cannot compute suffix of executables: cannot compile and link 323786bbecbeSmrgSee \`config.log' for more details" "$LINENO" 5; } 323853354cdbSmrgfi 323986bbecbeSmrgrm -f conftest conftest$ac_cv_exeext 324086bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 324186bbecbeSmrg$as_echo "$ac_cv_exeext" >&6; } 324253354cdbSmrg 324353354cdbSmrgrm -f conftest.$ac_ext 324453354cdbSmrgEXEEXT=$ac_cv_exeext 324553354cdbSmrgac_exeext=$EXEEXT 324686bbecbeSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 324786bbecbeSmrg/* end confdefs.h. */ 324886bbecbeSmrg#include <stdio.h> 324986bbecbeSmrgint 325086bbecbeSmrgmain () 325186bbecbeSmrg{ 325286bbecbeSmrgFILE *f = fopen ("conftest.out", "w"); 325386bbecbeSmrg return ferror (f) || fclose (f) != 0; 325486bbecbeSmrg 325586bbecbeSmrg ; 325686bbecbeSmrg return 0; 325786bbecbeSmrg} 325853354cdbSmrg_ACEOF 325986bbecbeSmrgac_clean_files="$ac_clean_files conftest.out" 326086bbecbeSmrg# Check that the compiler produces executables we can run. If not, either 326186bbecbeSmrg# the compiler is broken, or we cross compile. 326286bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 326386bbecbeSmrg$as_echo_n "checking whether we are cross compiling... " >&6; } 326486bbecbeSmrgif test "$cross_compiling" != yes; then 326586bbecbeSmrg { { ac_try="$ac_link" 326686bbecbeSmrgcase "(($ac_try" in 326786bbecbeSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 326886bbecbeSmrg *) ac_try_echo=$ac_try;; 326986bbecbeSmrgesac 327086bbecbeSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 327186bbecbeSmrg$as_echo "$ac_try_echo"; } >&5 327286bbecbeSmrg (eval "$ac_link") 2>&5 327386bbecbeSmrg ac_status=$? 327486bbecbeSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 327586bbecbeSmrg test $ac_status = 0; } 327686bbecbeSmrg if { ac_try='./conftest$ac_cv_exeext' 327786bbecbeSmrg { { case "(($ac_try" in 327886bbecbeSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 327986bbecbeSmrg *) ac_try_echo=$ac_try;; 328086bbecbeSmrgesac 328186bbecbeSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 328286bbecbeSmrg$as_echo "$ac_try_echo"; } >&5 328386bbecbeSmrg (eval "$ac_try") 2>&5 328486bbecbeSmrg ac_status=$? 328586bbecbeSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 328686bbecbeSmrg test $ac_status = 0; }; }; then 328786bbecbeSmrg cross_compiling=no 328886bbecbeSmrg else 328986bbecbeSmrg if test "$cross_compiling" = maybe; then 329086bbecbeSmrg cross_compiling=yes 329186bbecbeSmrg else 329286bbecbeSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 329386bbecbeSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 329486bbecbeSmrgas_fn_error $? "cannot run C compiled programs. 329586bbecbeSmrgIf you meant to cross compile, use \`--host'. 329686bbecbeSmrgSee \`config.log' for more details" "$LINENO" 5; } 329786bbecbeSmrg fi 329886bbecbeSmrg fi 329986bbecbeSmrgfi 330086bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 330186bbecbeSmrg$as_echo "$cross_compiling" >&6; } 330286bbecbeSmrg 330386bbecbeSmrgrm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 330486bbecbeSmrgac_clean_files=$ac_clean_files_save 330586bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 330686bbecbeSmrg$as_echo_n "checking for suffix of object files... " >&6; } 330786bbecbeSmrgif ${ac_cv_objext+:} false; then : 330886bbecbeSmrg $as_echo_n "(cached) " >&6 330986bbecbeSmrgelse 331086bbecbeSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 331153354cdbSmrg/* end confdefs.h. */ 331253354cdbSmrg 331353354cdbSmrgint 331453354cdbSmrgmain () 331553354cdbSmrg{ 331653354cdbSmrg 331753354cdbSmrg ; 331853354cdbSmrg return 0; 331953354cdbSmrg} 332053354cdbSmrg_ACEOF 332153354cdbSmrgrm -f conftest.o conftest.obj 332286bbecbeSmrgif { { ac_try="$ac_compile" 332353354cdbSmrgcase "(($ac_try" in 332453354cdbSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 332553354cdbSmrg *) ac_try_echo=$ac_try;; 332653354cdbSmrgesac 332786bbecbeSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 332886bbecbeSmrg$as_echo "$ac_try_echo"; } >&5 332953354cdbSmrg (eval "$ac_compile") 2>&5 333053354cdbSmrg ac_status=$? 333186bbecbeSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 333286bbecbeSmrg test $ac_status = 0; }; then : 333353354cdbSmrg for ac_file in conftest.o conftest.obj conftest.*; do 333453354cdbSmrg test -f "$ac_file" || continue; 333553354cdbSmrg case $ac_file in 333686bbecbeSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 333753354cdbSmrg *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 333853354cdbSmrg break;; 333953354cdbSmrg esac 334053354cdbSmrgdone 334153354cdbSmrgelse 334286bbecbeSmrg $as_echo "$as_me: failed program was:" >&5 334353354cdbSmrgsed 's/^/| /' conftest.$ac_ext >&5 334453354cdbSmrg 334586bbecbeSmrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 334686bbecbeSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 334786bbecbeSmrgas_fn_error $? "cannot compute suffix of object files: cannot compile 334886bbecbeSmrgSee \`config.log' for more details" "$LINENO" 5; } 334953354cdbSmrgfi 335053354cdbSmrgrm -f conftest.$ac_cv_objext conftest.$ac_ext 335153354cdbSmrgfi 335286bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 335386bbecbeSmrg$as_echo "$ac_cv_objext" >&6; } 335453354cdbSmrgOBJEXT=$ac_cv_objext 335553354cdbSmrgac_objext=$OBJEXT 335686bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 335786bbecbeSmrg$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 335886bbecbeSmrgif ${ac_cv_c_compiler_gnu+:} false; then : 335986bbecbeSmrg $as_echo_n "(cached) " >&6 336053354cdbSmrgelse 336186bbecbeSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 336253354cdbSmrg/* end confdefs.h. */ 336353354cdbSmrg 336453354cdbSmrgint 336553354cdbSmrgmain () 336653354cdbSmrg{ 336753354cdbSmrg#ifndef __GNUC__ 336853354cdbSmrg choke me 336953354cdbSmrg#endif 337053354cdbSmrg 337153354cdbSmrg ; 337253354cdbSmrg return 0; 337353354cdbSmrg} 337453354cdbSmrg_ACEOF 337586bbecbeSmrgif ac_fn_c_try_compile "$LINENO"; then : 337653354cdbSmrg ac_compiler_gnu=yes 337753354cdbSmrgelse 337886bbecbeSmrg ac_compiler_gnu=no 337953354cdbSmrgfi 338053354cdbSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 338153354cdbSmrgac_cv_c_compiler_gnu=$ac_compiler_gnu 338253354cdbSmrg 338353354cdbSmrgfi 338486bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 338586bbecbeSmrg$as_echo "$ac_cv_c_compiler_gnu" >&6; } 338686bbecbeSmrgif test $ac_compiler_gnu = yes; then 338786bbecbeSmrg GCC=yes 338886bbecbeSmrgelse 338986bbecbeSmrg GCC= 339086bbecbeSmrgfi 339153354cdbSmrgac_test_CFLAGS=${CFLAGS+set} 339253354cdbSmrgac_save_CFLAGS=$CFLAGS 339386bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 339486bbecbeSmrg$as_echo_n "checking whether $CC accepts -g... " >&6; } 339586bbecbeSmrgif ${ac_cv_prog_cc_g+:} false; then : 339686bbecbeSmrg $as_echo_n "(cached) " >&6 339753354cdbSmrgelse 339853354cdbSmrg ac_save_c_werror_flag=$ac_c_werror_flag 339953354cdbSmrg ac_c_werror_flag=yes 340053354cdbSmrg ac_cv_prog_cc_g=no 340153354cdbSmrg CFLAGS="-g" 340286bbecbeSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 340353354cdbSmrg/* end confdefs.h. */ 340453354cdbSmrg 340553354cdbSmrgint 340653354cdbSmrgmain () 340753354cdbSmrg{ 340853354cdbSmrg 340953354cdbSmrg ; 341053354cdbSmrg return 0; 341153354cdbSmrg} 341253354cdbSmrg_ACEOF 341386bbecbeSmrgif ac_fn_c_try_compile "$LINENO"; then : 341453354cdbSmrg ac_cv_prog_cc_g=yes 341553354cdbSmrgelse 341686bbecbeSmrg CFLAGS="" 341786bbecbeSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 341853354cdbSmrg/* end confdefs.h. */ 341953354cdbSmrg 342053354cdbSmrgint 342153354cdbSmrgmain () 342253354cdbSmrg{ 342353354cdbSmrg 342453354cdbSmrg ; 342553354cdbSmrg return 0; 342653354cdbSmrg} 342753354cdbSmrg_ACEOF 342886bbecbeSmrgif ac_fn_c_try_compile "$LINENO"; then : 342953354cdbSmrg 343086bbecbeSmrgelse 343186bbecbeSmrg ac_c_werror_flag=$ac_save_c_werror_flag 343253354cdbSmrg CFLAGS="-g" 343386bbecbeSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 343453354cdbSmrg/* end confdefs.h. */ 343553354cdbSmrg 343653354cdbSmrgint 343753354cdbSmrgmain () 343853354cdbSmrg{ 343953354cdbSmrg 344053354cdbSmrg ; 344153354cdbSmrg return 0; 344253354cdbSmrg} 344353354cdbSmrg_ACEOF 344486bbecbeSmrgif ac_fn_c_try_compile "$LINENO"; then : 344553354cdbSmrg ac_cv_prog_cc_g=yes 344653354cdbSmrgfi 344753354cdbSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 344853354cdbSmrgfi 344953354cdbSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 345053354cdbSmrgfi 345153354cdbSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 345253354cdbSmrg ac_c_werror_flag=$ac_save_c_werror_flag 345353354cdbSmrgfi 345486bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 345586bbecbeSmrg$as_echo "$ac_cv_prog_cc_g" >&6; } 345653354cdbSmrgif test "$ac_test_CFLAGS" = set; then 345753354cdbSmrg CFLAGS=$ac_save_CFLAGS 345853354cdbSmrgelif test $ac_cv_prog_cc_g = yes; then 345953354cdbSmrg if test "$GCC" = yes; then 346053354cdbSmrg CFLAGS="-g -O2" 346153354cdbSmrg else 346253354cdbSmrg CFLAGS="-g" 346353354cdbSmrg fi 346453354cdbSmrgelse 346553354cdbSmrg if test "$GCC" = yes; then 346653354cdbSmrg CFLAGS="-O2" 346753354cdbSmrg else 346853354cdbSmrg CFLAGS= 346953354cdbSmrg fi 347053354cdbSmrgfi 347186bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 347286bbecbeSmrg$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 347386bbecbeSmrgif ${ac_cv_prog_cc_c89+:} false; then : 347486bbecbeSmrg $as_echo_n "(cached) " >&6 347553354cdbSmrgelse 347653354cdbSmrg ac_cv_prog_cc_c89=no 347753354cdbSmrgac_save_CC=$CC 347886bbecbeSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 347953354cdbSmrg/* end confdefs.h. */ 348053354cdbSmrg#include <stdarg.h> 348153354cdbSmrg#include <stdio.h> 348253354cdbSmrg#include <sys/types.h> 348353354cdbSmrg#include <sys/stat.h> 348453354cdbSmrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 348553354cdbSmrgstruct buf { int x; }; 348653354cdbSmrgFILE * (*rcsopen) (struct buf *, struct stat *, int); 348753354cdbSmrgstatic char *e (p, i) 348853354cdbSmrg char **p; 348953354cdbSmrg int i; 349053354cdbSmrg{ 349153354cdbSmrg return p[i]; 349253354cdbSmrg} 349353354cdbSmrgstatic char *f (char * (*g) (char **, int), char **p, ...) 349453354cdbSmrg{ 349553354cdbSmrg char *s; 349653354cdbSmrg va_list v; 349753354cdbSmrg va_start (v,p); 349853354cdbSmrg s = g (p, va_arg (v,int)); 349953354cdbSmrg va_end (v); 350053354cdbSmrg return s; 350153354cdbSmrg} 350253354cdbSmrg 350353354cdbSmrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 350453354cdbSmrg function prototypes and stuff, but not '\xHH' hex character constants. 350553354cdbSmrg These don't provoke an error unfortunately, instead are silently treated 350653354cdbSmrg as 'x'. The following induces an error, until -std is added to get 350753354cdbSmrg proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 350853354cdbSmrg array size at least. It's necessary to write '\x00'==0 to get something 350953354cdbSmrg that's true only with -std. */ 351053354cdbSmrgint osf4_cc_array ['\x00' == 0 ? 1 : -1]; 351153354cdbSmrg 351253354cdbSmrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 351353354cdbSmrg inside strings and character constants. */ 351453354cdbSmrg#define FOO(x) 'x' 351553354cdbSmrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 351653354cdbSmrg 351753354cdbSmrgint test (int i, double x); 351853354cdbSmrgstruct s1 {int (*f) (int a);}; 351953354cdbSmrgstruct s2 {int (*f) (double a);}; 352053354cdbSmrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 352153354cdbSmrgint argc; 352253354cdbSmrgchar **argv; 352353354cdbSmrgint 352453354cdbSmrgmain () 352553354cdbSmrg{ 352653354cdbSmrgreturn f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 352753354cdbSmrg ; 352853354cdbSmrg return 0; 352953354cdbSmrg} 353053354cdbSmrg_ACEOF 353153354cdbSmrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 353253354cdbSmrg -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 353353354cdbSmrgdo 353453354cdbSmrg CC="$ac_save_CC $ac_arg" 353586bbecbeSmrg if ac_fn_c_try_compile "$LINENO"; then : 353653354cdbSmrg ac_cv_prog_cc_c89=$ac_arg 353786bbecbeSmrgfi 353886bbecbeSmrgrm -f core conftest.err conftest.$ac_objext 353986bbecbeSmrg test "x$ac_cv_prog_cc_c89" != "xno" && break 354086bbecbeSmrgdone 354186bbecbeSmrgrm -f conftest.$ac_ext 354286bbecbeSmrgCC=$ac_save_CC 354386bbecbeSmrg 354486bbecbeSmrgfi 354586bbecbeSmrg# AC_CACHE_VAL 354686bbecbeSmrgcase "x$ac_cv_prog_cc_c89" in 354786bbecbeSmrg x) 354886bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 354986bbecbeSmrg$as_echo "none needed" >&6; } ;; 355086bbecbeSmrg xno) 355186bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 355286bbecbeSmrg$as_echo "unsupported" >&6; } ;; 355386bbecbeSmrg *) 355486bbecbeSmrg CC="$CC $ac_cv_prog_cc_c89" 355586bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 355686bbecbeSmrg$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 355786bbecbeSmrgesac 355886bbecbeSmrgif test "x$ac_cv_prog_cc_c89" != xno; then : 355986bbecbeSmrg 356086bbecbeSmrgfi 356186bbecbeSmrg 356286bbecbeSmrgac_ext=c 356386bbecbeSmrgac_cpp='$CPP $CPPFLAGS' 356486bbecbeSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 356586bbecbeSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 356686bbecbeSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 356786bbecbeSmrg 356886bbecbeSmrgdepcc="$CC" am_compiler_list= 356986bbecbeSmrg 357086bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 357186bbecbeSmrg$as_echo_n "checking dependency style of $depcc... " >&6; } 357286bbecbeSmrgif ${am_cv_CC_dependencies_compiler_type+:} false; then : 357386bbecbeSmrg $as_echo_n "(cached) " >&6 357453354cdbSmrgelse 357586bbecbeSmrg if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 357686bbecbeSmrg # We make a subdir and do the tests there. Otherwise we can end up 357786bbecbeSmrg # making bogus files that we don't know about and never remove. For 357886bbecbeSmrg # instance it was reported that on HP-UX the gcc test will end up 357986bbecbeSmrg # making a dummy file named `D' -- because `-MD' means `put the output 358086bbecbeSmrg # in D'. 358186bbecbeSmrg mkdir conftest.dir 358286bbecbeSmrg # Copy depcomp to subdir because otherwise we won't find it if we're 358386bbecbeSmrg # using a relative directory. 358486bbecbeSmrg cp "$am_depcomp" conftest.dir 358586bbecbeSmrg cd conftest.dir 358686bbecbeSmrg # We will build objects and dependencies in a subdirectory because 358786bbecbeSmrg # it helps to detect inapplicable dependency modes. For instance 358886bbecbeSmrg # both Tru64's cc and ICC support -MD to output dependencies as a 358986bbecbeSmrg # side effect of compilation, but ICC will put the dependencies in 359086bbecbeSmrg # the current directory while Tru64 will put them in the object 359186bbecbeSmrg # directory. 359286bbecbeSmrg mkdir sub 359353354cdbSmrg 359486bbecbeSmrg am_cv_CC_dependencies_compiler_type=none 359586bbecbeSmrg if test "$am_compiler_list" = ""; then 359686bbecbeSmrg am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 359786bbecbeSmrg fi 359886bbecbeSmrg am__universal=false 359986bbecbeSmrg case " $depcc " in #( 360086bbecbeSmrg *\ -arch\ *\ -arch\ *) am__universal=true ;; 360186bbecbeSmrg esac 360253354cdbSmrg 360386bbecbeSmrg for depmode in $am_compiler_list; do 360486bbecbeSmrg # Setup a source with many dependencies, because some compilers 360586bbecbeSmrg # like to wrap large dependency lists on column 80 (with \), and 360686bbecbeSmrg # we should not choose a depcomp mode which is confused by this. 360786bbecbeSmrg # 360886bbecbeSmrg # We need to recreate these files for each test, as the compiler may 360986bbecbeSmrg # overwrite some of them when testing with obscure command lines. 361086bbecbeSmrg # This happens at least with the AIX C compiler. 361186bbecbeSmrg : > sub/conftest.c 361286bbecbeSmrg for i in 1 2 3 4 5 6; do 361386bbecbeSmrg echo '#include "conftst'$i'.h"' >> sub/conftest.c 361486bbecbeSmrg # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 361586bbecbeSmrg # Solaris 8's {/usr,}/bin/sh. 361686bbecbeSmrg touch sub/conftst$i.h 361786bbecbeSmrg done 361886bbecbeSmrg echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 361986bbecbeSmrg 362086bbecbeSmrg # We check with `-c' and `-o' for the sake of the "dashmstdout" 362186bbecbeSmrg # mode. It turns out that the SunPro C++ compiler does not properly 362286bbecbeSmrg # handle `-M -o', and we need to detect this. Also, some Intel 362386bbecbeSmrg # versions had trouble with output in subdirs 362486bbecbeSmrg am__obj=sub/conftest.${OBJEXT-o} 362586bbecbeSmrg am__minus_obj="-o $am__obj" 362686bbecbeSmrg case $depmode in 362786bbecbeSmrg gcc) 362886bbecbeSmrg # This depmode causes a compiler race in universal mode. 362986bbecbeSmrg test "$am__universal" = false || continue 363086bbecbeSmrg ;; 363186bbecbeSmrg nosideeffect) 363286bbecbeSmrg # after this tag, mechanisms are not by side-effect, so they'll 363386bbecbeSmrg # only be used when explicitly requested 363486bbecbeSmrg if test "x$enable_dependency_tracking" = xyes; then 363586bbecbeSmrg continue 363686bbecbeSmrg else 363786bbecbeSmrg break 363886bbecbeSmrg fi 363986bbecbeSmrg ;; 364086bbecbeSmrg msvisualcpp | msvcmsys) 364186bbecbeSmrg # This compiler won't grok `-c -o', but also, the minuso test has 364286bbecbeSmrg # not run yet. These depmodes are late enough in the game, and 364386bbecbeSmrg # so weak that their functioning should not be impacted. 364486bbecbeSmrg am__obj=conftest.${OBJEXT-o} 364586bbecbeSmrg am__minus_obj= 364686bbecbeSmrg ;; 364786bbecbeSmrg none) break ;; 364886bbecbeSmrg esac 364986bbecbeSmrg if depmode=$depmode \ 365086bbecbeSmrg source=sub/conftest.c object=$am__obj \ 365186bbecbeSmrg depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 365286bbecbeSmrg $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 365386bbecbeSmrg >/dev/null 2>conftest.err && 365486bbecbeSmrg grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 365586bbecbeSmrg grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 365686bbecbeSmrg grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 365786bbecbeSmrg ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 365886bbecbeSmrg # icc doesn't choke on unknown options, it will just issue warnings 365986bbecbeSmrg # or remarks (even with -Werror). So we grep stderr for any message 366086bbecbeSmrg # that says an option was ignored or not supported. 366186bbecbeSmrg # When given -MP, icc 7.0 and 7.1 complain thusly: 366286bbecbeSmrg # icc: Command line warning: ignoring option '-M'; no argument required 366386bbecbeSmrg # The diagnosis changed in icc 8.0: 366486bbecbeSmrg # icc: Command line remark: option '-MP' not supported 366586bbecbeSmrg if (grep 'ignoring option' conftest.err || 366686bbecbeSmrg grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 366786bbecbeSmrg am_cv_CC_dependencies_compiler_type=$depmode 366886bbecbeSmrg break 366986bbecbeSmrg fi 367086bbecbeSmrg fi 367186bbecbeSmrg done 367286bbecbeSmrg 367386bbecbeSmrg cd .. 367486bbecbeSmrg rm -rf conftest.dir 367586bbecbeSmrgelse 367686bbecbeSmrg am_cv_CC_dependencies_compiler_type=none 367753354cdbSmrgfi 367853354cdbSmrg 367986bbecbeSmrgfi 368086bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 368186bbecbeSmrg$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 368286bbecbeSmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 368386bbecbeSmrg 368486bbecbeSmrg if 368586bbecbeSmrg test "x$enable_dependency_tracking" != xno \ 368686bbecbeSmrg && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 368786bbecbeSmrg am__fastdepCC_TRUE= 368886bbecbeSmrg am__fastdepCC_FALSE='#' 368986bbecbeSmrgelse 369086bbecbeSmrg am__fastdepCC_TRUE='#' 369186bbecbeSmrg am__fastdepCC_FALSE= 369286bbecbeSmrgfi 369386bbecbeSmrg 369486bbecbeSmrg 369586bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 369686bbecbeSmrg$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 369786bbecbeSmrgif ${ac_cv_prog_cc_c99+:} false; then : 369886bbecbeSmrg $as_echo_n "(cached) " >&6 369986bbecbeSmrgelse 370086bbecbeSmrg ac_cv_prog_cc_c99=no 370186bbecbeSmrgac_save_CC=$CC 370286bbecbeSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 370386bbecbeSmrg/* end confdefs.h. */ 370486bbecbeSmrg#include <stdarg.h> 370586bbecbeSmrg#include <stdbool.h> 370686bbecbeSmrg#include <stdlib.h> 370786bbecbeSmrg#include <wchar.h> 370886bbecbeSmrg#include <stdio.h> 370986bbecbeSmrg 371086bbecbeSmrg// Check varargs macros. These examples are taken from C99 6.10.3.5. 371186bbecbeSmrg#define debug(...) fprintf (stderr, __VA_ARGS__) 371286bbecbeSmrg#define showlist(...) puts (#__VA_ARGS__) 371386bbecbeSmrg#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 371486bbecbeSmrgstatic void 371586bbecbeSmrgtest_varargs_macros (void) 371686bbecbeSmrg{ 371786bbecbeSmrg int x = 1234; 371886bbecbeSmrg int y = 5678; 371986bbecbeSmrg debug ("Flag"); 372086bbecbeSmrg debug ("X = %d\n", x); 372186bbecbeSmrg showlist (The first, second, and third items.); 372286bbecbeSmrg report (x>y, "x is %d but y is %d", x, y); 372386bbecbeSmrg} 372486bbecbeSmrg 372586bbecbeSmrg// Check long long types. 372686bbecbeSmrg#define BIG64 18446744073709551615ull 372786bbecbeSmrg#define BIG32 4294967295ul 372886bbecbeSmrg#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 372986bbecbeSmrg#if !BIG_OK 373086bbecbeSmrg your preprocessor is broken; 373186bbecbeSmrg#endif 373286bbecbeSmrg#if BIG_OK 373386bbecbeSmrg#else 373486bbecbeSmrg your preprocessor is broken; 373586bbecbeSmrg#endif 373686bbecbeSmrgstatic long long int bignum = -9223372036854775807LL; 373786bbecbeSmrgstatic unsigned long long int ubignum = BIG64; 373886bbecbeSmrg 373986bbecbeSmrgstruct incomplete_array 374086bbecbeSmrg{ 374186bbecbeSmrg int datasize; 374286bbecbeSmrg double data[]; 374386bbecbeSmrg}; 374486bbecbeSmrg 374586bbecbeSmrgstruct named_init { 374686bbecbeSmrg int number; 374786bbecbeSmrg const wchar_t *name; 374886bbecbeSmrg double average; 374986bbecbeSmrg}; 375086bbecbeSmrg 375186bbecbeSmrgtypedef const char *ccp; 375286bbecbeSmrg 375386bbecbeSmrgstatic inline int 375486bbecbeSmrgtest_restrict (ccp restrict text) 375586bbecbeSmrg{ 375686bbecbeSmrg // See if C++-style comments work. 375786bbecbeSmrg // Iterate through items via the restricted pointer. 375886bbecbeSmrg // Also check for declarations in for loops. 375986bbecbeSmrg for (unsigned int i = 0; *(text+i) != '\0'; ++i) 376086bbecbeSmrg continue; 376186bbecbeSmrg return 0; 376286bbecbeSmrg} 376386bbecbeSmrg 376486bbecbeSmrg// Check varargs and va_copy. 376586bbecbeSmrgstatic void 376686bbecbeSmrgtest_varargs (const char *format, ...) 376786bbecbeSmrg{ 376886bbecbeSmrg va_list args; 376986bbecbeSmrg va_start (args, format); 377086bbecbeSmrg va_list args_copy; 377186bbecbeSmrg va_copy (args_copy, args); 377286bbecbeSmrg 377386bbecbeSmrg const char *str; 377486bbecbeSmrg int number; 377586bbecbeSmrg float fnumber; 377686bbecbeSmrg 377786bbecbeSmrg while (*format) 377886bbecbeSmrg { 377986bbecbeSmrg switch (*format++) 378086bbecbeSmrg { 378186bbecbeSmrg case 's': // string 378286bbecbeSmrg str = va_arg (args_copy, const char *); 378386bbecbeSmrg break; 378486bbecbeSmrg case 'd': // int 378586bbecbeSmrg number = va_arg (args_copy, int); 378686bbecbeSmrg break; 378786bbecbeSmrg case 'f': // float 378886bbecbeSmrg fnumber = va_arg (args_copy, double); 378986bbecbeSmrg break; 379086bbecbeSmrg default: 379186bbecbeSmrg break; 379286bbecbeSmrg } 379386bbecbeSmrg } 379486bbecbeSmrg va_end (args_copy); 379586bbecbeSmrg va_end (args); 379686bbecbeSmrg} 379786bbecbeSmrg 379886bbecbeSmrgint 379986bbecbeSmrgmain () 380086bbecbeSmrg{ 380186bbecbeSmrg 380286bbecbeSmrg // Check bool. 380386bbecbeSmrg _Bool success = false; 380486bbecbeSmrg 380586bbecbeSmrg // Check restrict. 380686bbecbeSmrg if (test_restrict ("String literal") == 0) 380786bbecbeSmrg success = true; 380886bbecbeSmrg char *restrict newvar = "Another string"; 380986bbecbeSmrg 381086bbecbeSmrg // Check varargs. 381186bbecbeSmrg test_varargs ("s, d' f .", "string", 65, 34.234); 381286bbecbeSmrg test_varargs_macros (); 381386bbecbeSmrg 381486bbecbeSmrg // Check flexible array members. 381586bbecbeSmrg struct incomplete_array *ia = 381686bbecbeSmrg malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 381786bbecbeSmrg ia->datasize = 10; 381886bbecbeSmrg for (int i = 0; i < ia->datasize; ++i) 381986bbecbeSmrg ia->data[i] = i * 1.234; 382086bbecbeSmrg 382186bbecbeSmrg // Check named initializers. 382286bbecbeSmrg struct named_init ni = { 382386bbecbeSmrg .number = 34, 382486bbecbeSmrg .name = L"Test wide string", 382586bbecbeSmrg .average = 543.34343, 382686bbecbeSmrg }; 382786bbecbeSmrg 382886bbecbeSmrg ni.number = 58; 382986bbecbeSmrg 383086bbecbeSmrg int dynamic_array[ni.number]; 383186bbecbeSmrg dynamic_array[ni.number - 1] = 543; 383286bbecbeSmrg 383386bbecbeSmrg // work around unused variable warnings 383486bbecbeSmrg return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 383586bbecbeSmrg || dynamic_array[ni.number - 1] != 543); 383686bbecbeSmrg 383786bbecbeSmrg ; 383886bbecbeSmrg return 0; 383986bbecbeSmrg} 384086bbecbeSmrg_ACEOF 384186bbecbeSmrgfor ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 384286bbecbeSmrgdo 384386bbecbeSmrg CC="$ac_save_CC $ac_arg" 384486bbecbeSmrg if ac_fn_c_try_compile "$LINENO"; then : 384586bbecbeSmrg ac_cv_prog_cc_c99=$ac_arg 384686bbecbeSmrgfi 384753354cdbSmrgrm -f core conftest.err conftest.$ac_objext 384886bbecbeSmrg test "x$ac_cv_prog_cc_c99" != "xno" && break 384953354cdbSmrgdone 385053354cdbSmrgrm -f conftest.$ac_ext 385153354cdbSmrgCC=$ac_save_CC 385253354cdbSmrg 385353354cdbSmrgfi 385453354cdbSmrg# AC_CACHE_VAL 385586bbecbeSmrgcase "x$ac_cv_prog_cc_c99" in 385653354cdbSmrg x) 385786bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 385886bbecbeSmrg$as_echo "none needed" >&6; } ;; 385953354cdbSmrg xno) 386086bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 386186bbecbeSmrg$as_echo "unsupported" >&6; } ;; 386253354cdbSmrg *) 386386bbecbeSmrg CC="$CC $ac_cv_prog_cc_c99" 386486bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 386586bbecbeSmrg$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 386653354cdbSmrgesac 386786bbecbeSmrgif test "x$ac_cv_prog_cc_c99" != xno; then : 386886bbecbeSmrg 386986bbecbeSmrgfi 387086bbecbeSmrg 387153354cdbSmrg 387253354cdbSmrg 387353354cdbSmrgac_ext=c 387453354cdbSmrgac_cpp='$CPP $CPPFLAGS' 387553354cdbSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 387653354cdbSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 387753354cdbSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 387886bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 387986bbecbeSmrg$as_echo_n "checking how to run the C preprocessor... " >&6; } 388086bbecbeSmrg# On Suns, sometimes $CPP names a directory. 388186bbecbeSmrgif test -n "$CPP" && test -d "$CPP"; then 388286bbecbeSmrg CPP= 388386bbecbeSmrgfi 388486bbecbeSmrgif test -z "$CPP"; then 388586bbecbeSmrg if ${ac_cv_prog_CPP+:} false; then : 388686bbecbeSmrg $as_echo_n "(cached) " >&6 388786bbecbeSmrgelse 388886bbecbeSmrg # Double quotes because CPP needs to be expanded 388986bbecbeSmrg for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 389086bbecbeSmrg do 389186bbecbeSmrg ac_preproc_ok=false 389286bbecbeSmrgfor ac_c_preproc_warn_flag in '' yes 389386bbecbeSmrgdo 389486bbecbeSmrg # Use a header file that comes with gcc, so configuring glibc 389586bbecbeSmrg # with a fresh cross-compiler works. 389686bbecbeSmrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 389786bbecbeSmrg # <limits.h> exists even on freestanding compilers. 389886bbecbeSmrg # On the NeXT, cc -E runs the code through the compiler's parser, 389986bbecbeSmrg # not just through cpp. "Syntax error" is here to catch this case. 390086bbecbeSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 390186bbecbeSmrg/* end confdefs.h. */ 390286bbecbeSmrg#ifdef __STDC__ 390386bbecbeSmrg# include <limits.h> 390486bbecbeSmrg#else 390586bbecbeSmrg# include <assert.h> 390686bbecbeSmrg#endif 390786bbecbeSmrg Syntax error 390886bbecbeSmrg_ACEOF 390986bbecbeSmrgif ac_fn_c_try_cpp "$LINENO"; then : 391053354cdbSmrg 391186bbecbeSmrgelse 391286bbecbeSmrg # Broken: fails on valid input. 391386bbecbeSmrgcontinue 391486bbecbeSmrgfi 391586bbecbeSmrgrm -f conftest.err conftest.i conftest.$ac_ext 391686bbecbeSmrg 391786bbecbeSmrg # OK, works on sane cases. Now check whether nonexistent headers 391886bbecbeSmrg # can be detected and how. 391986bbecbeSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 392086bbecbeSmrg/* end confdefs.h. */ 392186bbecbeSmrg#include <ac_nonexistent.h> 392286bbecbeSmrg_ACEOF 392386bbecbeSmrgif ac_fn_c_try_cpp "$LINENO"; then : 392486bbecbeSmrg # Broken: success on invalid input. 392586bbecbeSmrgcontinue 392686bbecbeSmrgelse 392786bbecbeSmrg # Passes both tests. 392886bbecbeSmrgac_preproc_ok=: 392986bbecbeSmrgbreak 393086bbecbeSmrgfi 393186bbecbeSmrgrm -f conftest.err conftest.i conftest.$ac_ext 393253354cdbSmrg 393386bbecbeSmrgdone 393486bbecbeSmrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 393586bbecbeSmrgrm -f conftest.i conftest.err conftest.$ac_ext 393686bbecbeSmrgif $ac_preproc_ok; then : 393786bbecbeSmrg break 393886bbecbeSmrgfi 393953354cdbSmrg 394086bbecbeSmrg done 394186bbecbeSmrg ac_cv_prog_CPP=$CPP 394286bbecbeSmrg 394386bbecbeSmrgfi 394486bbecbeSmrg CPP=$ac_cv_prog_CPP 394586bbecbeSmrgelse 394686bbecbeSmrg ac_cv_prog_CPP=$CPP 394786bbecbeSmrgfi 394886bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 394986bbecbeSmrg$as_echo "$CPP" >&6; } 395086bbecbeSmrgac_preproc_ok=false 395186bbecbeSmrgfor ac_c_preproc_warn_flag in '' yes 395286bbecbeSmrgdo 395386bbecbeSmrg # Use a header file that comes with gcc, so configuring glibc 395486bbecbeSmrg # with a fresh cross-compiler works. 395586bbecbeSmrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 395686bbecbeSmrg # <limits.h> exists even on freestanding compilers. 395786bbecbeSmrg # On the NeXT, cc -E runs the code through the compiler's parser, 395886bbecbeSmrg # not just through cpp. "Syntax error" is here to catch this case. 395986bbecbeSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 396086bbecbeSmrg/* end confdefs.h. */ 396186bbecbeSmrg#ifdef __STDC__ 396286bbecbeSmrg# include <limits.h> 396386bbecbeSmrg#else 396486bbecbeSmrg# include <assert.h> 396586bbecbeSmrg#endif 396686bbecbeSmrg Syntax error 396786bbecbeSmrg_ACEOF 396886bbecbeSmrgif ac_fn_c_try_cpp "$LINENO"; then : 396986bbecbeSmrg 397086bbecbeSmrgelse 397186bbecbeSmrg # Broken: fails on valid input. 397286bbecbeSmrgcontinue 397386bbecbeSmrgfi 397486bbecbeSmrgrm -f conftest.err conftest.i conftest.$ac_ext 397586bbecbeSmrg 397686bbecbeSmrg # OK, works on sane cases. Now check whether nonexistent headers 397786bbecbeSmrg # can be detected and how. 397886bbecbeSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 397986bbecbeSmrg/* end confdefs.h. */ 398086bbecbeSmrg#include <ac_nonexistent.h> 398186bbecbeSmrg_ACEOF 398286bbecbeSmrgif ac_fn_c_try_cpp "$LINENO"; then : 398386bbecbeSmrg # Broken: success on invalid input. 398486bbecbeSmrgcontinue 398586bbecbeSmrgelse 398686bbecbeSmrg # Passes both tests. 398786bbecbeSmrgac_preproc_ok=: 398886bbecbeSmrgbreak 398986bbecbeSmrgfi 399086bbecbeSmrgrm -f conftest.err conftest.i conftest.$ac_ext 399186bbecbeSmrg 399286bbecbeSmrgdone 399386bbecbeSmrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 399486bbecbeSmrgrm -f conftest.i conftest.err conftest.$ac_ext 399586bbecbeSmrgif $ac_preproc_ok; then : 399686bbecbeSmrg 399786bbecbeSmrgelse 399886bbecbeSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 399986bbecbeSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 400086bbecbeSmrgas_fn_error $? "C preprocessor \"$CPP\" fails sanity check 400186bbecbeSmrgSee \`config.log' for more details" "$LINENO" 5; } 400286bbecbeSmrgfi 400386bbecbeSmrg 400486bbecbeSmrgac_ext=c 400586bbecbeSmrgac_cpp='$CPP $CPPFLAGS' 400686bbecbeSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 400786bbecbeSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 400886bbecbeSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 400986bbecbeSmrg 401086bbecbeSmrg 401186bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 401286bbecbeSmrg$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 401386bbecbeSmrgif ${ac_cv_path_GREP+:} false; then : 401486bbecbeSmrg $as_echo_n "(cached) " >&6 401586bbecbeSmrgelse 401686bbecbeSmrg if test -z "$GREP"; then 401786bbecbeSmrg ac_path_GREP_found=false 401886bbecbeSmrg # Loop through the user's path and test for each of PROGNAME-LIST 401986bbecbeSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 402086bbecbeSmrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 402186bbecbeSmrgdo 402286bbecbeSmrg IFS=$as_save_IFS 402386bbecbeSmrg test -z "$as_dir" && as_dir=. 402486bbecbeSmrg for ac_prog in grep ggrep; do 402586bbecbeSmrg for ac_exec_ext in '' $ac_executable_extensions; do 402686bbecbeSmrg ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 402786bbecbeSmrg { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 402886bbecbeSmrg# Check for GNU ac_path_GREP and select it if it is found. 402986bbecbeSmrg # Check for GNU $ac_path_GREP 403086bbecbeSmrgcase `"$ac_path_GREP" --version 2>&1` in 403186bbecbeSmrg*GNU*) 403286bbecbeSmrg ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 403386bbecbeSmrg*) 403486bbecbeSmrg ac_count=0 403586bbecbeSmrg $as_echo_n 0123456789 >"conftest.in" 403686bbecbeSmrg while : 403786bbecbeSmrg do 403886bbecbeSmrg cat "conftest.in" "conftest.in" >"conftest.tmp" 403986bbecbeSmrg mv "conftest.tmp" "conftest.in" 404086bbecbeSmrg cp "conftest.in" "conftest.nl" 404186bbecbeSmrg $as_echo 'GREP' >> "conftest.nl" 404286bbecbeSmrg "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 404386bbecbeSmrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 404486bbecbeSmrg as_fn_arith $ac_count + 1 && ac_count=$as_val 404586bbecbeSmrg if test $ac_count -gt ${ac_path_GREP_max-0}; then 404686bbecbeSmrg # Best one so far, save it but keep looking for a better one 404786bbecbeSmrg ac_cv_path_GREP="$ac_path_GREP" 404886bbecbeSmrg ac_path_GREP_max=$ac_count 404986bbecbeSmrg fi 405086bbecbeSmrg # 10*(2^10) chars as input seems more than enough 405186bbecbeSmrg test $ac_count -gt 10 && break 405286bbecbeSmrg done 405386bbecbeSmrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 405486bbecbeSmrgesac 405586bbecbeSmrg 405686bbecbeSmrg $ac_path_GREP_found && break 3 405786bbecbeSmrg done 405886bbecbeSmrg done 405986bbecbeSmrg done 406086bbecbeSmrgIFS=$as_save_IFS 406186bbecbeSmrg if test -z "$ac_cv_path_GREP"; then 406286bbecbeSmrg as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 406386bbecbeSmrg fi 406486bbecbeSmrgelse 406586bbecbeSmrg ac_cv_path_GREP=$GREP 406686bbecbeSmrgfi 406786bbecbeSmrg 406886bbecbeSmrgfi 406986bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 407086bbecbeSmrg$as_echo "$ac_cv_path_GREP" >&6; } 407186bbecbeSmrg GREP="$ac_cv_path_GREP" 407286bbecbeSmrg 407386bbecbeSmrg 407486bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 407586bbecbeSmrg$as_echo_n "checking for egrep... " >&6; } 407686bbecbeSmrgif ${ac_cv_path_EGREP+:} false; then : 407786bbecbeSmrg $as_echo_n "(cached) " >&6 407886bbecbeSmrgelse 407986bbecbeSmrg if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 408086bbecbeSmrg then ac_cv_path_EGREP="$GREP -E" 408186bbecbeSmrg else 408286bbecbeSmrg if test -z "$EGREP"; then 408386bbecbeSmrg ac_path_EGREP_found=false 408486bbecbeSmrg # Loop through the user's path and test for each of PROGNAME-LIST 408586bbecbeSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 408686bbecbeSmrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 408786bbecbeSmrgdo 408886bbecbeSmrg IFS=$as_save_IFS 408986bbecbeSmrg test -z "$as_dir" && as_dir=. 409086bbecbeSmrg for ac_prog in egrep; do 409186bbecbeSmrg for ac_exec_ext in '' $ac_executable_extensions; do 409286bbecbeSmrg ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 409386bbecbeSmrg { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 409486bbecbeSmrg# Check for GNU ac_path_EGREP and select it if it is found. 409586bbecbeSmrg # Check for GNU $ac_path_EGREP 409686bbecbeSmrgcase `"$ac_path_EGREP" --version 2>&1` in 409786bbecbeSmrg*GNU*) 409886bbecbeSmrg ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 409986bbecbeSmrg*) 410086bbecbeSmrg ac_count=0 410186bbecbeSmrg $as_echo_n 0123456789 >"conftest.in" 410286bbecbeSmrg while : 410386bbecbeSmrg do 410486bbecbeSmrg cat "conftest.in" "conftest.in" >"conftest.tmp" 410586bbecbeSmrg mv "conftest.tmp" "conftest.in" 410686bbecbeSmrg cp "conftest.in" "conftest.nl" 410786bbecbeSmrg $as_echo 'EGREP' >> "conftest.nl" 410886bbecbeSmrg "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 410986bbecbeSmrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 411086bbecbeSmrg as_fn_arith $ac_count + 1 && ac_count=$as_val 411186bbecbeSmrg if test $ac_count -gt ${ac_path_EGREP_max-0}; then 411286bbecbeSmrg # Best one so far, save it but keep looking for a better one 411386bbecbeSmrg ac_cv_path_EGREP="$ac_path_EGREP" 411486bbecbeSmrg ac_path_EGREP_max=$ac_count 411586bbecbeSmrg fi 411686bbecbeSmrg # 10*(2^10) chars as input seems more than enough 411786bbecbeSmrg test $ac_count -gt 10 && break 411886bbecbeSmrg done 411986bbecbeSmrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 412086bbecbeSmrgesac 412186bbecbeSmrg 412286bbecbeSmrg $ac_path_EGREP_found && break 3 412386bbecbeSmrg done 412486bbecbeSmrg done 412586bbecbeSmrg done 412686bbecbeSmrgIFS=$as_save_IFS 412786bbecbeSmrg if test -z "$ac_cv_path_EGREP"; then 412886bbecbeSmrg as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 412986bbecbeSmrg fi 413086bbecbeSmrgelse 413186bbecbeSmrg ac_cv_path_EGREP=$EGREP 413253354cdbSmrgfi 413386bbecbeSmrg 413453354cdbSmrg fi 413553354cdbSmrgfi 413686bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 413786bbecbeSmrg$as_echo "$ac_cv_path_EGREP" >&6; } 413886bbecbeSmrg EGREP="$ac_cv_path_EGREP" 413953354cdbSmrg 414053354cdbSmrg 414186bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 414286bbecbeSmrg$as_echo_n "checking for ANSI C header files... " >&6; } 414386bbecbeSmrgif ${ac_cv_header_stdc+:} false; then : 414486bbecbeSmrg $as_echo_n "(cached) " >&6 414586bbecbeSmrgelse 414686bbecbeSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 414786bbecbeSmrg/* end confdefs.h. */ 414886bbecbeSmrg#include <stdlib.h> 414986bbecbeSmrg#include <stdarg.h> 415086bbecbeSmrg#include <string.h> 415186bbecbeSmrg#include <float.h> 415253354cdbSmrg 415386bbecbeSmrgint 415486bbecbeSmrgmain () 415586bbecbeSmrg{ 415653354cdbSmrg 415786bbecbeSmrg ; 415886bbecbeSmrg return 0; 415986bbecbeSmrg} 416086bbecbeSmrg_ACEOF 416186bbecbeSmrgif ac_fn_c_try_compile "$LINENO"; then : 416286bbecbeSmrg ac_cv_header_stdc=yes 416353354cdbSmrgelse 416486bbecbeSmrg ac_cv_header_stdc=no 416553354cdbSmrgfi 416686bbecbeSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 416753354cdbSmrg 416886bbecbeSmrgif test $ac_cv_header_stdc = yes; then 416986bbecbeSmrg # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 417086bbecbeSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 417186bbecbeSmrg/* end confdefs.h. */ 417286bbecbeSmrg#include <string.h> 417353354cdbSmrg 417486bbecbeSmrg_ACEOF 417586bbecbeSmrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 417686bbecbeSmrg $EGREP "memchr" >/dev/null 2>&1; then : 417753354cdbSmrg 417853354cdbSmrgelse 417986bbecbeSmrg ac_cv_header_stdc=no 418086bbecbeSmrgfi 418186bbecbeSmrgrm -f conftest* 418253354cdbSmrg 418386bbecbeSmrgfi 418453354cdbSmrg 418586bbecbeSmrgif test $ac_cv_header_stdc = yes; then 418686bbecbeSmrg # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 418786bbecbeSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 418886bbecbeSmrg/* end confdefs.h. */ 418986bbecbeSmrg#include <stdlib.h> 419086bbecbeSmrg 419186bbecbeSmrg_ACEOF 419286bbecbeSmrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 419386bbecbeSmrg $EGREP "free" >/dev/null 2>&1; then : 419453354cdbSmrg 419553354cdbSmrgelse 419686bbecbeSmrg ac_cv_header_stdc=no 419753354cdbSmrgfi 419886bbecbeSmrgrm -f conftest* 419953354cdbSmrg 420053354cdbSmrgfi 420153354cdbSmrg 420286bbecbeSmrgif test $ac_cv_header_stdc = yes; then 420386bbecbeSmrg # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 420486bbecbeSmrg if test "$cross_compiling" = yes; then : 420586bbecbeSmrg : 420653354cdbSmrgelse 420786bbecbeSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 420886bbecbeSmrg/* end confdefs.h. */ 420986bbecbeSmrg#include <ctype.h> 421086bbecbeSmrg#include <stdlib.h> 421186bbecbeSmrg#if ((' ' & 0x0FF) == 0x020) 421286bbecbeSmrg# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 421386bbecbeSmrg# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 421486bbecbeSmrg#else 421586bbecbeSmrg# define ISLOWER(c) \ 421686bbecbeSmrg (('a' <= (c) && (c) <= 'i') \ 421786bbecbeSmrg || ('j' <= (c) && (c) <= 'r') \ 421886bbecbeSmrg || ('s' <= (c) && (c) <= 'z')) 421986bbecbeSmrg# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 422086bbecbeSmrg#endif 422153354cdbSmrg 422286bbecbeSmrg#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 422386bbecbeSmrgint 422486bbecbeSmrgmain () 422586bbecbeSmrg{ 422686bbecbeSmrg int i; 422786bbecbeSmrg for (i = 0; i < 256; i++) 422886bbecbeSmrg if (XOR (islower (i), ISLOWER (i)) 422986bbecbeSmrg || toupper (i) != TOUPPER (i)) 423086bbecbeSmrg return 2; 423186bbecbeSmrg return 0; 423286bbecbeSmrg} 423386bbecbeSmrg_ACEOF 423486bbecbeSmrgif ac_fn_c_try_run "$LINENO"; then : 423553354cdbSmrg 423653354cdbSmrgelse 423786bbecbeSmrg ac_cv_header_stdc=no 423886bbecbeSmrgfi 423986bbecbeSmrgrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 424086bbecbeSmrg conftest.$ac_objext conftest.beam conftest.$ac_ext 424186bbecbeSmrgfi 424253354cdbSmrg 424353354cdbSmrgfi 424453354cdbSmrgfi 424586bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 424686bbecbeSmrg$as_echo "$ac_cv_header_stdc" >&6; } 424786bbecbeSmrgif test $ac_cv_header_stdc = yes; then 424853354cdbSmrg 424986bbecbeSmrg$as_echo "#define STDC_HEADERS 1" >>confdefs.h 425053354cdbSmrg 425186bbecbeSmrgfi 425253354cdbSmrg 425386bbecbeSmrg# On IRIX 5.3, sys/types and inttypes.h are conflicting. 425486bbecbeSmrgfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 425586bbecbeSmrg inttypes.h stdint.h unistd.h 425686bbecbeSmrgdo : 425786bbecbeSmrg as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 425886bbecbeSmrgac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 425986bbecbeSmrg" 426086bbecbeSmrgif eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 426186bbecbeSmrg cat >>confdefs.h <<_ACEOF 426286bbecbeSmrg#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 426386bbecbeSmrg_ACEOF 426486bbecbeSmrg 426586bbecbeSmrgfi 426686bbecbeSmrg 426786bbecbeSmrgdone 426853354cdbSmrg 426953354cdbSmrg 427053354cdbSmrg 427153354cdbSmrg 427253354cdbSmrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 427353354cdbSmrg if test -n "$ac_tool_prefix"; then 427453354cdbSmrg # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 427553354cdbSmrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2 427686bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 427786bbecbeSmrg$as_echo_n "checking for $ac_word... " >&6; } 427886bbecbeSmrgif ${ac_cv_path_PKG_CONFIG+:} false; then : 427986bbecbeSmrg $as_echo_n "(cached) " >&6 428053354cdbSmrgelse 428153354cdbSmrg case $PKG_CONFIG in 428253354cdbSmrg [\\/]* | ?:[\\/]*) 428353354cdbSmrg ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 428453354cdbSmrg ;; 428553354cdbSmrg *) 428653354cdbSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 428753354cdbSmrgfor as_dir in $PATH 428853354cdbSmrgdo 428953354cdbSmrg IFS=$as_save_IFS 429053354cdbSmrg test -z "$as_dir" && as_dir=. 429186bbecbeSmrg for ac_exec_ext in '' $ac_executable_extensions; do 429253354cdbSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 429353354cdbSmrg ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 429486bbecbeSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 429553354cdbSmrg break 2 429653354cdbSmrg fi 429753354cdbSmrgdone 429886bbecbeSmrg done 429953354cdbSmrgIFS=$as_save_IFS 430053354cdbSmrg 430153354cdbSmrg ;; 430253354cdbSmrgesac 430353354cdbSmrgfi 430453354cdbSmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG 430553354cdbSmrgif test -n "$PKG_CONFIG"; then 430686bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 430786bbecbeSmrg$as_echo "$PKG_CONFIG" >&6; } 430853354cdbSmrgelse 430986bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 431086bbecbeSmrg$as_echo "no" >&6; } 431153354cdbSmrgfi 431253354cdbSmrg 431353354cdbSmrg 431453354cdbSmrgfi 431553354cdbSmrgif test -z "$ac_cv_path_PKG_CONFIG"; then 431653354cdbSmrg ac_pt_PKG_CONFIG=$PKG_CONFIG 431753354cdbSmrg # Extract the first word of "pkg-config", so it can be a program name with args. 431853354cdbSmrgset dummy pkg-config; ac_word=$2 431986bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 432086bbecbeSmrg$as_echo_n "checking for $ac_word... " >&6; } 432186bbecbeSmrgif ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 432286bbecbeSmrg $as_echo_n "(cached) " >&6 432353354cdbSmrgelse 432453354cdbSmrg case $ac_pt_PKG_CONFIG in 432553354cdbSmrg [\\/]* | ?:[\\/]*) 432653354cdbSmrg ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 432753354cdbSmrg ;; 432853354cdbSmrg *) 432953354cdbSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 433053354cdbSmrgfor as_dir in $PATH 433153354cdbSmrgdo 433253354cdbSmrg IFS=$as_save_IFS 433353354cdbSmrg test -z "$as_dir" && as_dir=. 433486bbecbeSmrg for ac_exec_ext in '' $ac_executable_extensions; do 433553354cdbSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 433653354cdbSmrg ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 433786bbecbeSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 433853354cdbSmrg break 2 433953354cdbSmrg fi 434053354cdbSmrgdone 434186bbecbeSmrg done 434253354cdbSmrgIFS=$as_save_IFS 434353354cdbSmrg 434453354cdbSmrg ;; 434553354cdbSmrgesac 434653354cdbSmrgfi 434753354cdbSmrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 434853354cdbSmrgif test -n "$ac_pt_PKG_CONFIG"; then 434986bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 435086bbecbeSmrg$as_echo "$ac_pt_PKG_CONFIG" >&6; } 435153354cdbSmrgelse 435286bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 435386bbecbeSmrg$as_echo "no" >&6; } 435453354cdbSmrgfi 435553354cdbSmrg 435653354cdbSmrg if test "x$ac_pt_PKG_CONFIG" = x; then 435753354cdbSmrg PKG_CONFIG="" 435853354cdbSmrg else 435953354cdbSmrg case $cross_compiling:$ac_tool_warned in 436053354cdbSmrgyes:) 436186bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 436286bbecbeSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 436353354cdbSmrgac_tool_warned=yes ;; 436453354cdbSmrgesac 436553354cdbSmrg PKG_CONFIG=$ac_pt_PKG_CONFIG 436653354cdbSmrg fi 436753354cdbSmrgelse 436853354cdbSmrg PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 436953354cdbSmrgfi 437053354cdbSmrg 437153354cdbSmrgfi 437253354cdbSmrgif test -n "$PKG_CONFIG"; then 437353354cdbSmrg _pkg_min_version=0.9.0 437486bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 437586bbecbeSmrg$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 437653354cdbSmrg if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 437786bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 437886bbecbeSmrg$as_echo "yes" >&6; } 437953354cdbSmrg else 438086bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 438186bbecbeSmrg$as_echo "no" >&6; } 438253354cdbSmrg PKG_CONFIG="" 438353354cdbSmrg fi 438453354cdbSmrg 438586bbecbeSmrgfi 438686bbecbeSmrg# Make sure we can run config.sub. 438786bbecbeSmrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 438886bbecbeSmrg as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 438953354cdbSmrg 439086bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 439186bbecbeSmrg$as_echo_n "checking build system type... " >&6; } 439286bbecbeSmrgif ${ac_cv_build+:} false; then : 439386bbecbeSmrg $as_echo_n "(cached) " >&6 439453354cdbSmrgelse 439586bbecbeSmrg ac_build_alias=$build_alias 439686bbecbeSmrgtest "x$ac_build_alias" = x && 439786bbecbeSmrg ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 439886bbecbeSmrgtest "x$ac_build_alias" = x && 439986bbecbeSmrg as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 440086bbecbeSmrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 440186bbecbeSmrg as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 440253354cdbSmrg 440353354cdbSmrgfi 440486bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 440586bbecbeSmrg$as_echo "$ac_cv_build" >&6; } 440686bbecbeSmrgcase $ac_cv_build in 440786bbecbeSmrg*-*-*) ;; 440886bbecbeSmrg*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 440986bbecbeSmrgesac 441086bbecbeSmrgbuild=$ac_cv_build 441186bbecbeSmrgac_save_IFS=$IFS; IFS='-' 441286bbecbeSmrgset x $ac_cv_build 441386bbecbeSmrgshift 441486bbecbeSmrgbuild_cpu=$1 441586bbecbeSmrgbuild_vendor=$2 441686bbecbeSmrgshift; shift 441786bbecbeSmrg# Remember, the first character of IFS is used to create $*, 441886bbecbeSmrg# except with old shells: 441986bbecbeSmrgbuild_os=$* 442086bbecbeSmrgIFS=$ac_save_IFS 442186bbecbeSmrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 442253354cdbSmrg 442353354cdbSmrg 442486bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 442586bbecbeSmrg$as_echo_n "checking host system type... " >&6; } 442686bbecbeSmrgif ${ac_cv_host+:} false; then : 442786bbecbeSmrg $as_echo_n "(cached) " >&6 442886bbecbeSmrgelse 442986bbecbeSmrg if test "x$host_alias" = x; then 443086bbecbeSmrg ac_cv_host=$ac_cv_build 443153354cdbSmrgelse 443286bbecbeSmrg ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 443386bbecbeSmrg as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 443453354cdbSmrgfi 443553354cdbSmrg 443686bbecbeSmrgfi 443786bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 443886bbecbeSmrg$as_echo "$ac_cv_host" >&6; } 443986bbecbeSmrgcase $ac_cv_host in 444086bbecbeSmrg*-*-*) ;; 444186bbecbeSmrg*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 444286bbecbeSmrgesac 444386bbecbeSmrghost=$ac_cv_host 444486bbecbeSmrgac_save_IFS=$IFS; IFS='-' 444586bbecbeSmrgset x $ac_cv_host 444686bbecbeSmrgshift 444786bbecbeSmrghost_cpu=$1 444886bbecbeSmrghost_vendor=$2 444986bbecbeSmrgshift; shift 445086bbecbeSmrg# Remember, the first character of IFS is used to create $*, 445186bbecbeSmrg# except with old shells: 445286bbecbeSmrghost_os=$* 445386bbecbeSmrgIFS=$ac_save_IFS 445486bbecbeSmrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 445553354cdbSmrg 445653354cdbSmrg 445786bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 445886bbecbeSmrg$as_echo_n "checking for a sed that does not truncate output... " >&6; } 445986bbecbeSmrgif ${ac_cv_path_SED+:} false; then : 446086bbecbeSmrg $as_echo_n "(cached) " >&6 446186bbecbeSmrgelse 446286bbecbeSmrg ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 446386bbecbeSmrg for ac_i in 1 2 3 4 5 6 7; do 446486bbecbeSmrg ac_script="$ac_script$as_nl$ac_script" 446586bbecbeSmrg done 446686bbecbeSmrg echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 446786bbecbeSmrg { ac_script=; unset ac_script;} 446886bbecbeSmrg if test -z "$SED"; then 446986bbecbeSmrg ac_path_SED_found=false 447086bbecbeSmrg # Loop through the user's path and test for each of PROGNAME-LIST 447186bbecbeSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 447286bbecbeSmrgfor as_dir in $PATH 447353354cdbSmrgdo 447453354cdbSmrg IFS=$as_save_IFS 447553354cdbSmrg test -z "$as_dir" && as_dir=. 447686bbecbeSmrg for ac_prog in sed gsed; do 447786bbecbeSmrg for ac_exec_ext in '' $ac_executable_extensions; do 447886bbecbeSmrg ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 447986bbecbeSmrg { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 448086bbecbeSmrg# Check for GNU ac_path_SED and select it if it is found. 448186bbecbeSmrg # Check for GNU $ac_path_SED 448286bbecbeSmrgcase `"$ac_path_SED" --version 2>&1` in 448353354cdbSmrg*GNU*) 448486bbecbeSmrg ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 448553354cdbSmrg*) 448653354cdbSmrg ac_count=0 448786bbecbeSmrg $as_echo_n 0123456789 >"conftest.in" 448853354cdbSmrg while : 448953354cdbSmrg do 449053354cdbSmrg cat "conftest.in" "conftest.in" >"conftest.tmp" 449153354cdbSmrg mv "conftest.tmp" "conftest.in" 449253354cdbSmrg cp "conftest.in" "conftest.nl" 449386bbecbeSmrg $as_echo '' >> "conftest.nl" 449486bbecbeSmrg "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 449553354cdbSmrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 449686bbecbeSmrg as_fn_arith $ac_count + 1 && ac_count=$as_val 449786bbecbeSmrg if test $ac_count -gt ${ac_path_SED_max-0}; then 449853354cdbSmrg # Best one so far, save it but keep looking for a better one 449986bbecbeSmrg ac_cv_path_SED="$ac_path_SED" 450086bbecbeSmrg ac_path_SED_max=$ac_count 450153354cdbSmrg fi 450253354cdbSmrg # 10*(2^10) chars as input seems more than enough 450353354cdbSmrg test $ac_count -gt 10 && break 450453354cdbSmrg done 450553354cdbSmrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 450653354cdbSmrgesac 450753354cdbSmrg 450886bbecbeSmrg $ac_path_SED_found && break 3 450986bbecbeSmrg done 451086bbecbeSmrg done 451153354cdbSmrg done 451253354cdbSmrgIFS=$as_save_IFS 451386bbecbeSmrg if test -z "$ac_cv_path_SED"; then 451486bbecbeSmrg as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 451586bbecbeSmrg fi 451686bbecbeSmrgelse 451786bbecbeSmrg ac_cv_path_SED=$SED 451853354cdbSmrgfi 451953354cdbSmrg 452053354cdbSmrgfi 452186bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 452286bbecbeSmrg$as_echo "$ac_cv_path_SED" >&6; } 452386bbecbeSmrg SED="$ac_cv_path_SED" 452486bbecbeSmrg rm -f conftest.sed 452553354cdbSmrg 452653354cdbSmrg 452753354cdbSmrg 452853354cdbSmrg 452953354cdbSmrg 453086bbecbeSmrgif test "x$GCC" = xyes ; then 453186bbecbeSmrg CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \ 453286bbecbeSmrg-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \ 453386bbecbeSmrg-Wbad-function-cast -Wformat=2" 453486bbecbeSmrg case `$CC -dumpversion` in 453586bbecbeSmrg 3.4.* | 4.*) 453686bbecbeSmrg CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement" 453786bbecbeSmrg ;; 453886bbecbeSmrg esac 453953354cdbSmrgelse 454086bbecbeSmrg ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 454186bbecbeSmrgif test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then : 454286bbecbeSmrg SUNCC="yes" 454353354cdbSmrgelse 454486bbecbeSmrg SUNCC="no" 454586bbecbeSmrgfi 454686bbecbeSmrg 454786bbecbeSmrg if test "x$SUNCC" = "xyes"; then 454886bbecbeSmrg CWARNFLAGS="-v" 454953354cdbSmrg fi 455086bbecbeSmrgfi 455153354cdbSmrg 455253354cdbSmrg 455353354cdbSmrg 455486bbecbeSmrg# If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89 455553354cdbSmrg 455653354cdbSmrg 455753354cdbSmrg 455886bbecbeSmrg# Check whether --enable-strict-compilation was given. 455986bbecbeSmrgif test "${enable_strict_compilation+set}" = set; then : 456086bbecbeSmrg enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval 456186bbecbeSmrgelse 456286bbecbeSmrg STRICT_COMPILE=no 456353354cdbSmrgfi 456453354cdbSmrg 456586bbecbeSmrgif test "x$STRICT_COMPILE" = "xyes"; then 456686bbecbeSmrg ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 456786bbecbeSmrgif test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then : 456886bbecbeSmrg SUNCC="yes" 456953354cdbSmrgelse 457086bbecbeSmrg SUNCC="no" 457153354cdbSmrgfi 457253354cdbSmrg 457386bbecbeSmrg ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" 457486bbecbeSmrgif test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then : 457586bbecbeSmrg INTELCC="yes" 457686bbecbeSmrgelse 457786bbecbeSmrg INTELCC="no" 457886bbecbeSmrgfi 457953354cdbSmrg 458086bbecbeSmrg if test "x$GCC" = xyes ; then 458186bbecbeSmrg STRICT_CFLAGS="-pedantic -Werror" 458286bbecbeSmrg elif test "x$SUNCC" = "xyes"; then 458386bbecbeSmrg STRICT_CFLAGS="-errwarn" 458486bbecbeSmrg elif test "x$INTELCC" = "xyes"; then 458586bbecbeSmrg STRICT_CFLAGS="-Werror" 458686bbecbeSmrg fi 458753354cdbSmrgfi 458886bbecbeSmrgCWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS" 458953354cdbSmrg 459053354cdbSmrg 459153354cdbSmrg 459253354cdbSmrg 459386bbecbeSmrgcat >>confdefs.h <<_ACEOF 459486bbecbeSmrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 459553354cdbSmrg_ACEOF 459653354cdbSmrg 459786bbecbeSmrg PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 459886bbecbeSmrg if test "x$PVM" = "x"; then 459986bbecbeSmrg PVM="0" 460086bbecbeSmrg fi 460153354cdbSmrg 460286bbecbeSmrgcat >>confdefs.h <<_ACEOF 460386bbecbeSmrg#define PACKAGE_VERSION_MINOR $PVM 460453354cdbSmrg_ACEOF 460553354cdbSmrg 460686bbecbeSmrg PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 460786bbecbeSmrg if test "x$PVP" = "x"; then 460886bbecbeSmrg PVP="0" 460986bbecbeSmrg fi 461086bbecbeSmrg 461186bbecbeSmrgcat >>confdefs.h <<_ACEOF 461286bbecbeSmrg#define PACKAGE_VERSION_PATCHLEVEL $PVP 461353354cdbSmrg_ACEOF 461453354cdbSmrg 461553354cdbSmrg 461653354cdbSmrg 461786bbecbeSmrgCHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \ 461886bbecbeSmrgmv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \ 461986bbecbeSmrg|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \ 462086bbecbeSmrgecho 'git directory not found: installing possibly empty changelog.' >&2)" 462153354cdbSmrg 462253354cdbSmrg 462353354cdbSmrg 462453354cdbSmrg 462586bbecbeSmrgmacros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros` 462686bbecbeSmrgINSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \ 462786bbecbeSmrgmv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \ 462886bbecbeSmrg|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \ 462986bbecbeSmrgecho 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)" 463086bbecbeSmrg 463186bbecbeSmrg 463286bbecbeSmrg 463386bbecbeSmrg 463486bbecbeSmrg 463586bbecbeSmrg 463686bbecbeSmrgif test x$APP_MAN_SUFFIX = x ; then 463786bbecbeSmrg APP_MAN_SUFFIX=1 463853354cdbSmrgfi 463986bbecbeSmrgif test x$APP_MAN_DIR = x ; then 464086bbecbeSmrg APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 464153354cdbSmrgfi 464253354cdbSmrg 464386bbecbeSmrgif test x$LIB_MAN_SUFFIX = x ; then 464486bbecbeSmrg LIB_MAN_SUFFIX=3 464586bbecbeSmrgfi 464686bbecbeSmrgif test x$LIB_MAN_DIR = x ; then 464786bbecbeSmrg LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 464886bbecbeSmrgfi 464953354cdbSmrg 465086bbecbeSmrgif test x$FILE_MAN_SUFFIX = x ; then 465186bbecbeSmrg case $host_os in 465286bbecbeSmrg solaris*) FILE_MAN_SUFFIX=4 ;; 465386bbecbeSmrg *) FILE_MAN_SUFFIX=5 ;; 465486bbecbeSmrg esac 465553354cdbSmrgfi 465686bbecbeSmrgif test x$FILE_MAN_DIR = x ; then 465786bbecbeSmrg FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 465853354cdbSmrgfi 465953354cdbSmrg 466086bbecbeSmrgif test x$MISC_MAN_SUFFIX = x ; then 466186bbecbeSmrg case $host_os in 466286bbecbeSmrg solaris*) MISC_MAN_SUFFIX=5 ;; 466386bbecbeSmrg *) MISC_MAN_SUFFIX=7 ;; 466486bbecbeSmrg esac 466586bbecbeSmrgfi 466686bbecbeSmrgif test x$MISC_MAN_DIR = x ; then 466786bbecbeSmrg MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 466886bbecbeSmrgfi 466953354cdbSmrg 467086bbecbeSmrgif test x$DRIVER_MAN_SUFFIX = x ; then 467186bbecbeSmrg case $host_os in 467286bbecbeSmrg solaris*) DRIVER_MAN_SUFFIX=7 ;; 467386bbecbeSmrg *) DRIVER_MAN_SUFFIX=4 ;; 467486bbecbeSmrg esac 467586bbecbeSmrgfi 467686bbecbeSmrgif test x$DRIVER_MAN_DIR = x ; then 467786bbecbeSmrg DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 467853354cdbSmrgfi 467953354cdbSmrg 468086bbecbeSmrgif test x$ADMIN_MAN_SUFFIX = x ; then 468186bbecbeSmrg case $host_os in 468286bbecbeSmrg solaris*) ADMIN_MAN_SUFFIX=1m ;; 468386bbecbeSmrg *) ADMIN_MAN_SUFFIX=8 ;; 468486bbecbeSmrg esac 468586bbecbeSmrgfi 468686bbecbeSmrgif test x$ADMIN_MAN_DIR = x ; then 468786bbecbeSmrg ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 468886bbecbeSmrgfi 468953354cdbSmrg 469053354cdbSmrg 469153354cdbSmrg 469253354cdbSmrg 469353354cdbSmrg 469453354cdbSmrg 469553354cdbSmrg 469653354cdbSmrg 469753354cdbSmrg 469853354cdbSmrg 469953354cdbSmrg 470053354cdbSmrg 470153354cdbSmrg 470253354cdbSmrg 470386bbecbeSmrg 470486bbecbeSmrgXORG_MAN_PAGE="X Version 11" 470586bbecbeSmrg 470686bbecbeSmrgMAN_SUBSTS="\ 470786bbecbeSmrg -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 470886bbecbeSmrg -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 470986bbecbeSmrg -e 's|__xservername__|Xorg|g' \ 471086bbecbeSmrg -e 's|__xconfigfile__|xorg.conf|g' \ 471186bbecbeSmrg -e 's|__projectroot__|\$(prefix)|g' \ 471286bbecbeSmrg -e 's|__apploaddir__|\$(appdefaultdir)|g' \ 471386bbecbeSmrg -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \ 471486bbecbeSmrg -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \ 471586bbecbeSmrg -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \ 471686bbecbeSmrg -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \ 471786bbecbeSmrg -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \ 471886bbecbeSmrg -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'" 471953354cdbSmrg 472053354cdbSmrg 472186bbecbeSmrg 472286bbecbeSmrg# Check whether --enable-silent-rules was given. 472386bbecbeSmrgif test "${enable_silent_rules+set}" = set; then : 472486bbecbeSmrg enableval=$enable_silent_rules; 472553354cdbSmrgfi 472686bbecbeSmrg 472786bbecbeSmrgcase $enable_silent_rules in 472886bbecbeSmrgyes) AM_DEFAULT_VERBOSITY=0;; 472986bbecbeSmrgno) AM_DEFAULT_VERBOSITY=1;; 473086bbecbeSmrg*) AM_DEFAULT_VERBOSITY=0;; 473153354cdbSmrgesac 473286bbecbeSmrgAM_BACKSLASH='\' 473353354cdbSmrg 473453354cdbSmrg 473553354cdbSmrg 473686bbecbeSmrg 473786bbecbeSmrgpkg_failed=no 473886bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RGB" >&5 473986bbecbeSmrg$as_echo_n "checking for RGB... " >&6; } 474086bbecbeSmrg 474186bbecbeSmrgif test -n "$RGB_CFLAGS"; then 474286bbecbeSmrg pkg_cv_RGB_CFLAGS="$RGB_CFLAGS" 474386bbecbeSmrg elif test -n "$PKG_CONFIG"; then 474486bbecbeSmrg if test -n "$PKG_CONFIG" && \ 474586bbecbeSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto\""; } >&5 474686bbecbeSmrg ($PKG_CONFIG --exists --print-errors "xproto") 2>&5 474753354cdbSmrg ac_status=$? 474886bbecbeSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 474986bbecbeSmrg test $ac_status = 0; }; then 475086bbecbeSmrg pkg_cv_RGB_CFLAGS=`$PKG_CONFIG --cflags "xproto" 2>/dev/null` 475153354cdbSmrgelse 475286bbecbeSmrg pkg_failed=yes 475386bbecbeSmrgfi 475486bbecbeSmrg else 475586bbecbeSmrg pkg_failed=untried 475686bbecbeSmrgfi 475786bbecbeSmrgif test -n "$RGB_LIBS"; then 475886bbecbeSmrg pkg_cv_RGB_LIBS="$RGB_LIBS" 475986bbecbeSmrg elif test -n "$PKG_CONFIG"; then 476086bbecbeSmrg if test -n "$PKG_CONFIG" && \ 476186bbecbeSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto\""; } >&5 476286bbecbeSmrg ($PKG_CONFIG --exists --print-errors "xproto") 2>&5 476386bbecbeSmrg ac_status=$? 476486bbecbeSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 476586bbecbeSmrg test $ac_status = 0; }; then 476686bbecbeSmrg pkg_cv_RGB_LIBS=`$PKG_CONFIG --libs "xproto" 2>/dev/null` 476786bbecbeSmrgelse 476886bbecbeSmrg pkg_failed=yes 476986bbecbeSmrgfi 477086bbecbeSmrg else 477186bbecbeSmrg pkg_failed=untried 477253354cdbSmrgfi 477353354cdbSmrg 477453354cdbSmrg 477586bbecbeSmrg 477686bbecbeSmrgif test $pkg_failed = yes; then 477786bbecbeSmrg 477886bbecbeSmrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 477986bbecbeSmrg _pkg_short_errors_supported=yes 478053354cdbSmrgelse 478186bbecbeSmrg _pkg_short_errors_supported=no 478253354cdbSmrgfi 478386bbecbeSmrg if test $_pkg_short_errors_supported = yes; then 478486bbecbeSmrg RGB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto" 2>&1` 478586bbecbeSmrg else 478686bbecbeSmrg RGB_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto" 2>&1` 478786bbecbeSmrg fi 478886bbecbeSmrg # Put the nasty error message in config.log where it belongs 478986bbecbeSmrg echo "$RGB_PKG_ERRORS" >&5 479053354cdbSmrg 479186bbecbeSmrg as_fn_error $? "Package requirements (xproto) were not met: 479286bbecbeSmrg 479386bbecbeSmrg$RGB_PKG_ERRORS 479486bbecbeSmrg 479586bbecbeSmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 479686bbecbeSmrginstalled software in a non-standard prefix. 479786bbecbeSmrg 479886bbecbeSmrgAlternatively, you may set the environment variables RGB_CFLAGS 479986bbecbeSmrgand RGB_LIBS to avoid the need to call pkg-config. 480086bbecbeSmrgSee the pkg-config man page for more details. 480186bbecbeSmrg" "$LINENO" 5 480286bbecbeSmrgelif test $pkg_failed = untried; then 480386bbecbeSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 480486bbecbeSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 480586bbecbeSmrgas_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 480686bbecbeSmrgis in your PATH or set the PKG_CONFIG environment variable to the full 480786bbecbeSmrgpath to pkg-config. 480886bbecbeSmrg 480986bbecbeSmrgAlternatively, you may set the environment variables RGB_CFLAGS 481086bbecbeSmrgand RGB_LIBS to avoid the need to call pkg-config. 481186bbecbeSmrgSee the pkg-config man page for more details. 481286bbecbeSmrg 481386bbecbeSmrgTo get pkg-config, see <http://pkg-config.freedesktop.org/>. 481486bbecbeSmrgSee \`config.log' for more details" "$LINENO" 5; } 481553354cdbSmrgelse 481686bbecbeSmrg RGB_CFLAGS=$pkg_cv_RGB_CFLAGS 481786bbecbeSmrg RGB_LIBS=$pkg_cv_RGB_LIBS 481886bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 481986bbecbeSmrg$as_echo "yes" >&6; } 482086bbecbeSmrg : 482153354cdbSmrgfi 482286bbecbeSmrg 482386bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for rgb database location" >&5 482486bbecbeSmrg$as_echo_n "checking for rgb database location... " >&6; } 482586bbecbeSmrg 482686bbecbeSmrg# Check whether --with-rgb-db-dir was given. 482786bbecbeSmrgif test "${with_rgb_db_dir+set}" = set; then : 482886bbecbeSmrg withval=$with_rgb_db_dir; db_path=$withval 482953354cdbSmrgelse 483086bbecbeSmrg db_path=${datadir}/X11/rgb 483186bbecbeSmrgfi 483286bbecbeSmrg 483386bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $db_path" >&5 483486bbecbeSmrg$as_echo "$db_path" >&6; } 483586bbecbeSmrgdb_file=`basename $db_path` 483686bbecbeSmrgdb_dir=`dirname $db_path` 483753354cdbSmrg 483886bbecbeSmrg 483986bbecbeSmrg 484086bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for rgb database format" >&5 484186bbecbeSmrg$as_echo_n "checking for rgb database format... " >&6; } 484286bbecbeSmrg 484386bbecbeSmrg# Check whether --with-rgb-db-type was given. 484486bbecbeSmrgif test "${with_rgb_db_type+set}" = set; then : 484586bbecbeSmrg withval=$with_rgb_db_type; db_type=$withval 484686bbecbeSmrgelse 484786bbecbeSmrg db_type="text" 484853354cdbSmrgfi 484953354cdbSmrg 485086bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $db_type" >&5 485186bbecbeSmrg$as_echo "$db_type" >&6; } 485253354cdbSmrg 485386bbecbeSmrgRGB_DB_TYPE=$db_type 485486bbecbeSmrg 485586bbecbeSmrgcase $db_type in 485686bbecbeSmrg text) 485786bbecbeSmrg RGB_DB_FILES="" 485886bbecbeSmrg 485986bbecbeSmrg$as_echo "#define USE_RGB_TXT 1" >>confdefs.h 486086bbecbeSmrg 486186bbecbeSmrg ;; 486286bbecbeSmrg dbm) 486386bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dbminit" >&5 486486bbecbeSmrg$as_echo_n "checking for library containing dbminit... " >&6; } 486586bbecbeSmrgif ${ac_cv_search_dbminit+:} false; then : 486686bbecbeSmrg $as_echo_n "(cached) " >&6 486753354cdbSmrgelse 486886bbecbeSmrg ac_func_search_save_LIBS=$LIBS 486986bbecbeSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 487086bbecbeSmrg/* end confdefs.h. */ 487153354cdbSmrg 487286bbecbeSmrg/* Override any GCC internal prototype to avoid an error. 487386bbecbeSmrg Use char because int might match the return type of a GCC 487486bbecbeSmrg builtin and then its argument prototype would still apply. */ 487586bbecbeSmrg#ifdef __cplusplus 487686bbecbeSmrgextern "C" 487786bbecbeSmrg#endif 487886bbecbeSmrgchar dbminit (); 487986bbecbeSmrgint 488086bbecbeSmrgmain () 488186bbecbeSmrg{ 488286bbecbeSmrgreturn dbminit (); 488386bbecbeSmrg ; 488486bbecbeSmrg return 0; 488586bbecbeSmrg} 488686bbecbeSmrg_ACEOF 488786bbecbeSmrgfor ac_lib in '' db dbm nsl; do 488886bbecbeSmrg if test -z "$ac_lib"; then 488986bbecbeSmrg ac_res="none required" 489086bbecbeSmrg else 489186bbecbeSmrg ac_res=-l$ac_lib 489286bbecbeSmrg LIBS="-l$ac_lib $ac_func_search_save_LIBS" 489386bbecbeSmrg fi 489486bbecbeSmrg if ac_fn_c_try_link "$LINENO"; then : 489586bbecbeSmrg ac_cv_search_dbminit=$ac_res 489653354cdbSmrgfi 489786bbecbeSmrgrm -f core conftest.err conftest.$ac_objext \ 489886bbecbeSmrg conftest$ac_exeext 489986bbecbeSmrg if ${ac_cv_search_dbminit+:} false; then : 490086bbecbeSmrg break 490186bbecbeSmrgfi 490286bbecbeSmrgdone 490386bbecbeSmrgif ${ac_cv_search_dbminit+:} false; then : 490453354cdbSmrg 490553354cdbSmrgelse 490686bbecbeSmrg ac_cv_search_dbminit=no 490786bbecbeSmrgfi 490886bbecbeSmrgrm conftest.$ac_ext 490986bbecbeSmrgLIBS=$ac_func_search_save_LIBS 491053354cdbSmrgfi 491186bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dbminit" >&5 491286bbecbeSmrg$as_echo "$ac_cv_search_dbminit" >&6; } 491386bbecbeSmrgac_res=$ac_cv_search_dbminit 491486bbecbeSmrgif test "$ac_res" != no; then : 491586bbecbeSmrg test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 491653354cdbSmrg 491786bbecbeSmrgelse 491886bbecbeSmrg as_fn_error $? "dbm requested but dbminit() not found in any libraries" "$LINENO" 5 491953354cdbSmrgfi 492086bbecbeSmrg 492186bbecbeSmrg ac_fn_c_check_header_mongrel "$LINENO" "dbm.h" "ac_cv_header_dbm_h" "$ac_includes_default" 492286bbecbeSmrgif test "x$ac_cv_header_dbm_h" = xyes; then : 492386bbecbeSmrg DBM_HEADER='<dbm.h>' 492486bbecbeSmrgelse 492586bbecbeSmrg ac_fn_c_check_header_mongrel "$LINENO" "rpcsvc/dbm.h" "ac_cv_header_rpcsvc_dbm_h" "$ac_includes_default" 492686bbecbeSmrgif test "x$ac_cv_header_rpcsvc_dbm_h" = xyes; then : 492753354cdbSmrg DBM_HEADER='<rpcsvc/dbm.h>' 492853354cdbSmrgelse 492986bbecbeSmrg as_fn_error $? "dbm requested but dbm.h not found" "$LINENO" 5 493053354cdbSmrgfi 493153354cdbSmrg 493253354cdbSmrg 493353354cdbSmrgfi 493453354cdbSmrg 493553354cdbSmrg 493653354cdbSmrg 493753354cdbSmrgpkg_failed=no 493886bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5 493986bbecbeSmrg$as_echo_n "checking for XORG... " >&6; } 494086bbecbeSmrg 494186bbecbeSmrgif test -n "$XORG_CFLAGS"; then 494286bbecbeSmrg pkg_cv_XORG_CFLAGS="$XORG_CFLAGS" 494386bbecbeSmrg elif test -n "$PKG_CONFIG"; then 494486bbecbeSmrg if test -n "$PKG_CONFIG" && \ 494586bbecbeSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server\""; } >&5 494653354cdbSmrg ($PKG_CONFIG --exists --print-errors "xorg-server") 2>&5 494753354cdbSmrg ac_status=$? 494886bbecbeSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 494986bbecbeSmrg test $ac_status = 0; }; then 495053354cdbSmrg pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server" 2>/dev/null` 495153354cdbSmrgelse 495253354cdbSmrg pkg_failed=yes 495353354cdbSmrgfi 495486bbecbeSmrg else 495586bbecbeSmrg pkg_failed=untried 495653354cdbSmrgfi 495786bbecbeSmrgif test -n "$XORG_LIBS"; then 495886bbecbeSmrg pkg_cv_XORG_LIBS="$XORG_LIBS" 495986bbecbeSmrg elif test -n "$PKG_CONFIG"; then 496086bbecbeSmrg if test -n "$PKG_CONFIG" && \ 496186bbecbeSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server\""; } >&5 496253354cdbSmrg ($PKG_CONFIG --exists --print-errors "xorg-server") 2>&5 496353354cdbSmrg ac_status=$? 496486bbecbeSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 496586bbecbeSmrg test $ac_status = 0; }; then 496653354cdbSmrg pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server" 2>/dev/null` 496753354cdbSmrgelse 496853354cdbSmrg pkg_failed=yes 496953354cdbSmrgfi 497086bbecbeSmrg else 497186bbecbeSmrg pkg_failed=untried 497253354cdbSmrgfi 497353354cdbSmrg 497486bbecbeSmrg 497586bbecbeSmrg 497653354cdbSmrgif test $pkg_failed = yes; then 497786bbecbeSmrg 497886bbecbeSmrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 497986bbecbeSmrg _pkg_short_errors_supported=yes 498086bbecbeSmrgelse 498186bbecbeSmrg _pkg_short_errors_supported=no 498286bbecbeSmrgfi 498386bbecbeSmrg if test $_pkg_short_errors_supported = yes; then 498486bbecbeSmrg XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xorg-server" 2>&1` 498586bbecbeSmrg else 498686bbecbeSmrg XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors "xorg-server" 2>&1` 498786bbecbeSmrg fi 498853354cdbSmrg # Put the nasty error message in config.log where it belongs 498986bbecbeSmrg echo "$XORG_PKG_ERRORS" >&5 499053354cdbSmrg 499186bbecbeSmrg as_fn_error $? "Package requirements (xorg-server) were not met: 499286bbecbeSmrg 499386bbecbeSmrg$XORG_PKG_ERRORS 499453354cdbSmrg 499553354cdbSmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 499653354cdbSmrginstalled software in a non-standard prefix. 499753354cdbSmrg 499886bbecbeSmrgAlternatively, you may set the environment variables XORG_CFLAGS 499986bbecbeSmrgand XORG_LIBS to avoid the need to call pkg-config. 500086bbecbeSmrgSee the pkg-config man page for more details. 500186bbecbeSmrg" "$LINENO" 5 500253354cdbSmrgelif test $pkg_failed = untried; then 500386bbecbeSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 500486bbecbeSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 500586bbecbeSmrgas_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 500653354cdbSmrgis in your PATH or set the PKG_CONFIG environment variable to the full 500753354cdbSmrgpath to pkg-config. 500853354cdbSmrg 500986bbecbeSmrgAlternatively, you may set the environment variables XORG_CFLAGS 501086bbecbeSmrgand XORG_LIBS to avoid the need to call pkg-config. 501186bbecbeSmrgSee the pkg-config man page for more details. 501253354cdbSmrg 501386bbecbeSmrgTo get pkg-config, see <http://pkg-config.freedesktop.org/>. 501486bbecbeSmrgSee \`config.log' for more details" "$LINENO" 5; } 501553354cdbSmrgelse 501653354cdbSmrg XORG_CFLAGS=$pkg_cv_XORG_CFLAGS 501753354cdbSmrg XORG_LIBS=$pkg_cv_XORG_LIBS 501886bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 501986bbecbeSmrg$as_echo "yes" >&6; } 502053354cdbSmrg : 502153354cdbSmrgfi 502253354cdbSmrg RGB_CFLAGS="$RGB_CFLAGS $XORG_CFLAGS" 502353354cdbSmrg RGB_DB_FILES='$(db_file).dir $(db_file).pag' 502453354cdbSmrg ;; 502553354cdbSmrg ndbm) 502653354cdbSmrg # Find a dbm or ndbm implementation 502786bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dbm_open" >&5 502886bbecbeSmrg$as_echo_n "checking for library containing dbm_open... " >&6; } 502986bbecbeSmrgif ${ac_cv_search_dbm_open+:} false; then : 503086bbecbeSmrg $as_echo_n "(cached) " >&6 503153354cdbSmrgelse 503253354cdbSmrg ac_func_search_save_LIBS=$LIBS 503386bbecbeSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 503453354cdbSmrg/* end confdefs.h. */ 503553354cdbSmrg 503653354cdbSmrg/* Override any GCC internal prototype to avoid an error. 503753354cdbSmrg Use char because int might match the return type of a GCC 503853354cdbSmrg builtin and then its argument prototype would still apply. */ 503953354cdbSmrg#ifdef __cplusplus 504053354cdbSmrgextern "C" 504153354cdbSmrg#endif 504253354cdbSmrgchar dbm_open (); 504353354cdbSmrgint 504453354cdbSmrgmain () 504553354cdbSmrg{ 504653354cdbSmrgreturn dbm_open (); 504753354cdbSmrg ; 504853354cdbSmrg return 0; 504953354cdbSmrg} 505053354cdbSmrg_ACEOF 505153354cdbSmrgfor ac_lib in '' db ndbm dbm; do 505253354cdbSmrg if test -z "$ac_lib"; then 505353354cdbSmrg ac_res="none required" 505453354cdbSmrg else 505553354cdbSmrg ac_res=-l$ac_lib 505653354cdbSmrg LIBS="-l$ac_lib $ac_func_search_save_LIBS" 505753354cdbSmrg fi 505886bbecbeSmrg if ac_fn_c_try_link "$LINENO"; then : 505953354cdbSmrg ac_cv_search_dbm_open=$ac_res 506053354cdbSmrgfi 506186bbecbeSmrgrm -f core conftest.err conftest.$ac_objext \ 506286bbecbeSmrg conftest$ac_exeext 506386bbecbeSmrg if ${ac_cv_search_dbm_open+:} false; then : 506453354cdbSmrg break 506553354cdbSmrgfi 506653354cdbSmrgdone 506786bbecbeSmrgif ${ac_cv_search_dbm_open+:} false; then : 506886bbecbeSmrg 506953354cdbSmrgelse 507053354cdbSmrg ac_cv_search_dbm_open=no 507153354cdbSmrgfi 507253354cdbSmrgrm conftest.$ac_ext 507353354cdbSmrgLIBS=$ac_func_search_save_LIBS 507453354cdbSmrgfi 507586bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dbm_open" >&5 507686bbecbeSmrg$as_echo "$ac_cv_search_dbm_open" >&6; } 507753354cdbSmrgac_res=$ac_cv_search_dbm_open 507886bbecbeSmrgif test "$ac_res" != no; then : 507953354cdbSmrg test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 508053354cdbSmrg 508186bbecbeSmrg$as_echo "#define NDBM 1" >>confdefs.h 508253354cdbSmrg 508353354cdbSmrgelse 508486bbecbeSmrg as_fn_error $? "ndbm requested but dbm_open() not found in any libraries" "$LINENO" 5 508553354cdbSmrgfi 508653354cdbSmrg 508753354cdbSmrg DBM_HEADER='<ndbm.h>' 508853354cdbSmrg 508953354cdbSmrgpkg_failed=no 509086bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5 509186bbecbeSmrg$as_echo_n "checking for XORG... " >&6; } 509286bbecbeSmrg 509386bbecbeSmrgif test -n "$XORG_CFLAGS"; then 509486bbecbeSmrg pkg_cv_XORG_CFLAGS="$XORG_CFLAGS" 509586bbecbeSmrg elif test -n "$PKG_CONFIG"; then 509686bbecbeSmrg if test -n "$PKG_CONFIG" && \ 509786bbecbeSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server\""; } >&5 509853354cdbSmrg ($PKG_CONFIG --exists --print-errors "xorg-server") 2>&5 509953354cdbSmrg ac_status=$? 510086bbecbeSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 510186bbecbeSmrg test $ac_status = 0; }; then 510253354cdbSmrg pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server" 2>/dev/null` 510353354cdbSmrgelse 510453354cdbSmrg pkg_failed=yes 510553354cdbSmrgfi 510686bbecbeSmrg else 510786bbecbeSmrg pkg_failed=untried 510853354cdbSmrgfi 510986bbecbeSmrgif test -n "$XORG_LIBS"; then 511086bbecbeSmrg pkg_cv_XORG_LIBS="$XORG_LIBS" 511186bbecbeSmrg elif test -n "$PKG_CONFIG"; then 511286bbecbeSmrg if test -n "$PKG_CONFIG" && \ 511386bbecbeSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server\""; } >&5 511453354cdbSmrg ($PKG_CONFIG --exists --print-errors "xorg-server") 2>&5 511553354cdbSmrg ac_status=$? 511686bbecbeSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 511786bbecbeSmrg test $ac_status = 0; }; then 511853354cdbSmrg pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server" 2>/dev/null` 511953354cdbSmrgelse 512053354cdbSmrg pkg_failed=yes 512153354cdbSmrgfi 512286bbecbeSmrg else 512386bbecbeSmrg pkg_failed=untried 512453354cdbSmrgfi 512553354cdbSmrg 512686bbecbeSmrg 512786bbecbeSmrg 512853354cdbSmrgif test $pkg_failed = yes; then 512986bbecbeSmrg 513086bbecbeSmrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 513186bbecbeSmrg _pkg_short_errors_supported=yes 513286bbecbeSmrgelse 513386bbecbeSmrg _pkg_short_errors_supported=no 513486bbecbeSmrgfi 513586bbecbeSmrg if test $_pkg_short_errors_supported = yes; then 513686bbecbeSmrg XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xorg-server" 2>&1` 513786bbecbeSmrg else 513886bbecbeSmrg XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors "xorg-server" 2>&1` 513986bbecbeSmrg fi 514053354cdbSmrg # Put the nasty error message in config.log where it belongs 514186bbecbeSmrg echo "$XORG_PKG_ERRORS" >&5 514253354cdbSmrg 514386bbecbeSmrg as_fn_error $? "Package requirements (xorg-server) were not met: 514486bbecbeSmrg 514586bbecbeSmrg$XORG_PKG_ERRORS 514653354cdbSmrg 514753354cdbSmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 514853354cdbSmrginstalled software in a non-standard prefix. 514953354cdbSmrg 515086bbecbeSmrgAlternatively, you may set the environment variables XORG_CFLAGS 515186bbecbeSmrgand XORG_LIBS to avoid the need to call pkg-config. 515286bbecbeSmrgSee the pkg-config man page for more details. 515386bbecbeSmrg" "$LINENO" 5 515453354cdbSmrgelif test $pkg_failed = untried; then 515586bbecbeSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 515686bbecbeSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 515786bbecbeSmrgas_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 515853354cdbSmrgis in your PATH or set the PKG_CONFIG environment variable to the full 515953354cdbSmrgpath to pkg-config. 516053354cdbSmrg 516186bbecbeSmrgAlternatively, you may set the environment variables XORG_CFLAGS 516286bbecbeSmrgand XORG_LIBS to avoid the need to call pkg-config. 516386bbecbeSmrgSee the pkg-config man page for more details. 516453354cdbSmrg 516586bbecbeSmrgTo get pkg-config, see <http://pkg-config.freedesktop.org/>. 516686bbecbeSmrgSee \`config.log' for more details" "$LINENO" 5; } 516753354cdbSmrgelse 516853354cdbSmrg XORG_CFLAGS=$pkg_cv_XORG_CFLAGS 516953354cdbSmrg XORG_LIBS=$pkg_cv_XORG_LIBS 517086bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 517186bbecbeSmrg$as_echo "yes" >&6; } 517253354cdbSmrg : 517353354cdbSmrgfi 517453354cdbSmrg RGB_CFLAGS="$RGB_CFLAGS $XORG_CFLAGS" 517553354cdbSmrg RGB_DB_FILES='$(db_file).dir $(db_file).pag' 517653354cdbSmrg ;; 517753354cdbSmrgesac 517853354cdbSmrgif test x$DBM_HEADER != x ; then 517953354cdbSmrg 518053354cdbSmrgcat >>confdefs.h <<_ACEOF 518153354cdbSmrg#define DBM_HEADER $DBM_HEADER 518253354cdbSmrg_ACEOF 518353354cdbSmrg 518453354cdbSmrgfi 518553354cdbSmrg 518653354cdbSmrg 518753354cdbSmrg if test x$db_type != xtext; then 518853354cdbSmrg RGB_DB_TRUE= 518953354cdbSmrg RGB_DB_FALSE='#' 519053354cdbSmrgelse 519153354cdbSmrg RGB_DB_TRUE='#' 519253354cdbSmrg RGB_DB_FALSE= 519353354cdbSmrgfi 519453354cdbSmrg 519553354cdbSmrg 519653354cdbSmrg 519786bbecbeSmrgac_config_files="$ac_config_files Makefile man/Makefile" 519853354cdbSmrg 519953354cdbSmrg 520053354cdbSmrgcat >confcache <<\_ACEOF 520153354cdbSmrg# This file is a shell script that caches the results of configure 520253354cdbSmrg# tests run on this system so they can be shared between configure 520353354cdbSmrg# scripts and configure runs, see configure's option --config-cache. 520453354cdbSmrg# It is not useful on other systems. If it contains results you don't 520553354cdbSmrg# want to keep, you may remove or edit it. 520653354cdbSmrg# 520753354cdbSmrg# config.status only pays attention to the cache file if you give it 520853354cdbSmrg# the --recheck option to rerun configure. 520953354cdbSmrg# 521053354cdbSmrg# `ac_cv_env_foo' variables (set or unset) will be overridden when 521153354cdbSmrg# loading this file, other *unset* `ac_cv_foo' will be assigned the 521253354cdbSmrg# following values. 521353354cdbSmrg 521453354cdbSmrg_ACEOF 521553354cdbSmrg 521653354cdbSmrg# The following way of writing the cache mishandles newlines in values, 521753354cdbSmrg# but we know of no workaround that is simple, portable, and efficient. 521853354cdbSmrg# So, we kill variables containing newlines. 521953354cdbSmrg# Ultrix sh set writes to stderr and can't be redirected directly, 522053354cdbSmrg# and sets the high bit in the cache file unless we assign to the vars. 522153354cdbSmrg( 522253354cdbSmrg for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 522353354cdbSmrg eval ac_val=\$$ac_var 522453354cdbSmrg case $ac_val in #( 522553354cdbSmrg *${as_nl}*) 522653354cdbSmrg case $ac_var in #( 522786bbecbeSmrg *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 522886bbecbeSmrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 522953354cdbSmrg esac 523053354cdbSmrg case $ac_var in #( 523153354cdbSmrg _ | IFS | as_nl) ;; #( 523286bbecbeSmrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 523386bbecbeSmrg *) { eval $ac_var=; unset $ac_var;} ;; 523453354cdbSmrg esac ;; 523553354cdbSmrg esac 523653354cdbSmrg done 523753354cdbSmrg 523853354cdbSmrg (set) 2>&1 | 523953354cdbSmrg case $as_nl`(ac_space=' '; set) 2>&1` in #( 524053354cdbSmrg *${as_nl}ac_space=\ *) 524186bbecbeSmrg # `set' does not quote correctly, so add quotes: double-quote 524286bbecbeSmrg # substitution turns \\\\ into \\, and sed turns \\ into \. 524353354cdbSmrg sed -n \ 524453354cdbSmrg "s/'/'\\\\''/g; 524553354cdbSmrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 524653354cdbSmrg ;; #( 524753354cdbSmrg *) 524853354cdbSmrg # `set' quotes correctly as required by POSIX, so do not add quotes. 524953354cdbSmrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 525053354cdbSmrg ;; 525153354cdbSmrg esac | 525253354cdbSmrg sort 525353354cdbSmrg) | 525453354cdbSmrg sed ' 525553354cdbSmrg /^ac_cv_env_/b end 525653354cdbSmrg t clear 525753354cdbSmrg :clear 525853354cdbSmrg s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 525953354cdbSmrg t end 526053354cdbSmrg s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 526153354cdbSmrg :end' >>confcache 526253354cdbSmrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 526353354cdbSmrg if test -w "$cache_file"; then 526486bbecbeSmrg if test "x$cache_file" != "x/dev/null"; then 526586bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 526686bbecbeSmrg$as_echo "$as_me: updating cache $cache_file" >&6;} 526786bbecbeSmrg if test ! -f "$cache_file" || test -h "$cache_file"; then 526886bbecbeSmrg cat confcache >"$cache_file" 526986bbecbeSmrg else 527086bbecbeSmrg case $cache_file in #( 527186bbecbeSmrg */* | ?:*) 527286bbecbeSmrg mv -f confcache "$cache_file"$$ && 527386bbecbeSmrg mv -f "$cache_file"$$ "$cache_file" ;; #( 527486bbecbeSmrg *) 527586bbecbeSmrg mv -f confcache "$cache_file" ;; 527686bbecbeSmrg esac 527786bbecbeSmrg fi 527886bbecbeSmrg fi 527953354cdbSmrg else 528086bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 528186bbecbeSmrg$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 528253354cdbSmrg fi 528353354cdbSmrgfi 528453354cdbSmrgrm -f confcache 528553354cdbSmrg 528653354cdbSmrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix 528753354cdbSmrg# Let make expand exec_prefix. 528853354cdbSmrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 528953354cdbSmrg 529053354cdbSmrgDEFS=-DHAVE_CONFIG_H 529153354cdbSmrg 529253354cdbSmrgac_libobjs= 529353354cdbSmrgac_ltlibobjs= 529486bbecbeSmrgU= 529553354cdbSmrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 529653354cdbSmrg # 1. Remove the extension, and $U if already installed. 529753354cdbSmrg ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 529886bbecbeSmrg ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 529953354cdbSmrg # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 530053354cdbSmrg # will be set to the directory where LIBOBJS objects are built. 530186bbecbeSmrg as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 530286bbecbeSmrg as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 530353354cdbSmrgdone 530453354cdbSmrgLIBOBJS=$ac_libobjs 530553354cdbSmrg 530653354cdbSmrgLTLIBOBJS=$ac_ltlibobjs 530753354cdbSmrg 530853354cdbSmrg 530986bbecbeSmrg if test -n "$EXEEXT"; then 531086bbecbeSmrg am__EXEEXT_TRUE= 531186bbecbeSmrg am__EXEEXT_FALSE='#' 531286bbecbeSmrgelse 531386bbecbeSmrg am__EXEEXT_TRUE='#' 531486bbecbeSmrg am__EXEEXT_FALSE= 531586bbecbeSmrgfi 531686bbecbeSmrg 531753354cdbSmrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 531886bbecbeSmrg as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 531986bbecbeSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 532053354cdbSmrgfi 532153354cdbSmrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 532286bbecbeSmrg as_fn_error $? "conditional \"AMDEP\" was never defined. 532386bbecbeSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 532453354cdbSmrgfi 532553354cdbSmrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 532686bbecbeSmrg as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 532786bbecbeSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 532853354cdbSmrgfi 532953354cdbSmrgif test -z "${RGB_DB_TRUE}" && test -z "${RGB_DB_FALSE}"; then 533086bbecbeSmrg as_fn_error $? "conditional \"RGB_DB\" was never defined. 533186bbecbeSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 533253354cdbSmrgfi 533353354cdbSmrg 533486bbecbeSmrg: "${CONFIG_STATUS=./config.status}" 533586bbecbeSmrgac_write_fail=0 533653354cdbSmrgac_clean_files_save=$ac_clean_files 533753354cdbSmrgac_clean_files="$ac_clean_files $CONFIG_STATUS" 533886bbecbeSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 533986bbecbeSmrg$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 534086bbecbeSmrgas_write_fail=0 534186bbecbeSmrgcat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 534253354cdbSmrg#! $SHELL 534353354cdbSmrg# Generated by $as_me. 534453354cdbSmrg# Run this file to recreate the current configuration. 534553354cdbSmrg# Compiler output produced by configure, useful for debugging 534653354cdbSmrg# configure, is in config.log if it exists. 534753354cdbSmrg 534853354cdbSmrgdebug=false 534953354cdbSmrgac_cs_recheck=false 535053354cdbSmrgac_cs_silent=false 535153354cdbSmrg 535286bbecbeSmrgSHELL=\${CONFIG_SHELL-$SHELL} 535386bbecbeSmrgexport SHELL 535486bbecbeSmrg_ASEOF 535586bbecbeSmrgcat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 535686bbecbeSmrg## -------------------- ## 535786bbecbeSmrg## M4sh Initialization. ## 535886bbecbeSmrg## -------------------- ## 535953354cdbSmrg 536053354cdbSmrg# Be more Bourne compatible 536153354cdbSmrgDUALCASE=1; export DUALCASE # for MKS sh 536286bbecbeSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 536353354cdbSmrg emulate sh 536453354cdbSmrg NULLCMD=: 536586bbecbeSmrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 536653354cdbSmrg # is contrary to our usage. Disable this feature. 536753354cdbSmrg alias -g '${1+"$@"}'='"$@"' 536853354cdbSmrg setopt NO_GLOB_SUBST 536953354cdbSmrgelse 537086bbecbeSmrg case `(set -o) 2>/dev/null` in #( 537186bbecbeSmrg *posix*) : 537286bbecbeSmrg set -o posix ;; #( 537386bbecbeSmrg *) : 537486bbecbeSmrg ;; 537553354cdbSmrgesac 537653354cdbSmrgfi 537753354cdbSmrg 537853354cdbSmrg 537986bbecbeSmrgas_nl=' 538086bbecbeSmrg' 538186bbecbeSmrgexport as_nl 538286bbecbeSmrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 538386bbecbeSmrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 538486bbecbeSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 538586bbecbeSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 538686bbecbeSmrg# Prefer a ksh shell builtin over an external printf program on Solaris, 538786bbecbeSmrg# but without wasting forks for bash or zsh. 538886bbecbeSmrgif test -z "$BASH_VERSION$ZSH_VERSION" \ 538986bbecbeSmrg && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 539086bbecbeSmrg as_echo='print -r --' 539186bbecbeSmrg as_echo_n='print -rn --' 539286bbecbeSmrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 539386bbecbeSmrg as_echo='printf %s\n' 539486bbecbeSmrg as_echo_n='printf %s' 539586bbecbeSmrgelse 539686bbecbeSmrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 539786bbecbeSmrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 539886bbecbeSmrg as_echo_n='/usr/ucb/echo -n' 539953354cdbSmrg else 540086bbecbeSmrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 540186bbecbeSmrg as_echo_n_body='eval 540286bbecbeSmrg arg=$1; 540386bbecbeSmrg case $arg in #( 540486bbecbeSmrg *"$as_nl"*) 540586bbecbeSmrg expr "X$arg" : "X\\(.*\\)$as_nl"; 540686bbecbeSmrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 540786bbecbeSmrg esac; 540886bbecbeSmrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 540986bbecbeSmrg ' 541086bbecbeSmrg export as_echo_n_body 541186bbecbeSmrg as_echo_n='sh -c $as_echo_n_body as_echo' 541253354cdbSmrg fi 541386bbecbeSmrg export as_echo_body 541486bbecbeSmrg as_echo='sh -c $as_echo_body as_echo' 541553354cdbSmrgfi 541653354cdbSmrg 541786bbecbeSmrg# The user is always right. 541886bbecbeSmrgif test "${PATH_SEPARATOR+set}" != set; then 541986bbecbeSmrg PATH_SEPARATOR=: 542086bbecbeSmrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 542186bbecbeSmrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 542286bbecbeSmrg PATH_SEPARATOR=';' 542386bbecbeSmrg } 542453354cdbSmrgfi 542553354cdbSmrg 542653354cdbSmrg 542753354cdbSmrg# IFS 542853354cdbSmrg# We need space, tab and new line, in precisely that order. Quoting is 542953354cdbSmrg# there to prevent editors from complaining about space-tab. 543053354cdbSmrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 543153354cdbSmrg# splitting by setting IFS to empty value.) 543253354cdbSmrgIFS=" "" $as_nl" 543353354cdbSmrg 543453354cdbSmrg# Find who we are. Look in the path if we contain no directory separator. 543586bbecbeSmrgas_myself= 543686bbecbeSmrgcase $0 in #(( 543753354cdbSmrg *[\\/]* ) as_myself=$0 ;; 543853354cdbSmrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 543953354cdbSmrgfor as_dir in $PATH 544053354cdbSmrgdo 544153354cdbSmrg IFS=$as_save_IFS 544253354cdbSmrg test -z "$as_dir" && as_dir=. 544386bbecbeSmrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 544486bbecbeSmrg done 544553354cdbSmrgIFS=$as_save_IFS 544653354cdbSmrg 544753354cdbSmrg ;; 544853354cdbSmrgesac 544953354cdbSmrg# We did not find ourselves, most probably we were run as `sh COMMAND' 545053354cdbSmrg# in which case we are not to be found in the path. 545153354cdbSmrgif test "x$as_myself" = x; then 545253354cdbSmrg as_myself=$0 545353354cdbSmrgfi 545453354cdbSmrgif test ! -f "$as_myself"; then 545586bbecbeSmrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 545686bbecbeSmrg exit 1 545753354cdbSmrgfi 545853354cdbSmrg 545986bbecbeSmrg# Unset variables that we do not need and which cause bugs (e.g. in 546086bbecbeSmrg# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 546186bbecbeSmrg# suppresses any "Segmentation fault" message there. '((' could 546286bbecbeSmrg# trigger a bug in pdksh 5.2.14. 546386bbecbeSmrgfor as_var in BASH_ENV ENV MAIL MAILPATH 546486bbecbeSmrgdo eval test x\${$as_var+set} = xset \ 546586bbecbeSmrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 546653354cdbSmrgdone 546753354cdbSmrgPS1='$ ' 546853354cdbSmrgPS2='> ' 546953354cdbSmrgPS4='+ ' 547053354cdbSmrg 547153354cdbSmrg# NLS nuisances. 547286bbecbeSmrgLC_ALL=C 547386bbecbeSmrgexport LC_ALL 547486bbecbeSmrgLANGUAGE=C 547586bbecbeSmrgexport LANGUAGE 547686bbecbeSmrg 547786bbecbeSmrg# CDPATH. 547886bbecbeSmrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 547986bbecbeSmrg 548086bbecbeSmrg 548186bbecbeSmrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 548286bbecbeSmrg# ---------------------------------------- 548386bbecbeSmrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 548486bbecbeSmrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 548586bbecbeSmrg# script with STATUS, using 1 if that was 0. 548686bbecbeSmrgas_fn_error () 548786bbecbeSmrg{ 548886bbecbeSmrg as_status=$1; test $as_status -eq 0 && as_status=1 548986bbecbeSmrg if test "$4"; then 549086bbecbeSmrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 549186bbecbeSmrg $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 549253354cdbSmrg fi 549386bbecbeSmrg $as_echo "$as_me: error: $2" >&2 549486bbecbeSmrg as_fn_exit $as_status 549586bbecbeSmrg} # as_fn_error 549686bbecbeSmrg 549786bbecbeSmrg 549886bbecbeSmrg# as_fn_set_status STATUS 549986bbecbeSmrg# ----------------------- 550086bbecbeSmrg# Set $? to STATUS, without forking. 550186bbecbeSmrgas_fn_set_status () 550286bbecbeSmrg{ 550386bbecbeSmrg return $1 550486bbecbeSmrg} # as_fn_set_status 550586bbecbeSmrg 550686bbecbeSmrg# as_fn_exit STATUS 550786bbecbeSmrg# ----------------- 550886bbecbeSmrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 550986bbecbeSmrgas_fn_exit () 551086bbecbeSmrg{ 551186bbecbeSmrg set +e 551286bbecbeSmrg as_fn_set_status $1 551386bbecbeSmrg exit $1 551486bbecbeSmrg} # as_fn_exit 551586bbecbeSmrg 551686bbecbeSmrg# as_fn_unset VAR 551786bbecbeSmrg# --------------- 551886bbecbeSmrg# Portably unset VAR. 551986bbecbeSmrgas_fn_unset () 552086bbecbeSmrg{ 552186bbecbeSmrg { eval $1=; unset $1;} 552286bbecbeSmrg} 552386bbecbeSmrgas_unset=as_fn_unset 552486bbecbeSmrg# as_fn_append VAR VALUE 552586bbecbeSmrg# ---------------------- 552686bbecbeSmrg# Append the text in VALUE to the end of the definition contained in VAR. Take 552786bbecbeSmrg# advantage of any shell optimizations that allow amortized linear growth over 552886bbecbeSmrg# repeated appends, instead of the typical quadratic growth present in naive 552986bbecbeSmrg# implementations. 553086bbecbeSmrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 553186bbecbeSmrg eval 'as_fn_append () 553286bbecbeSmrg { 553386bbecbeSmrg eval $1+=\$2 553486bbecbeSmrg }' 553586bbecbeSmrgelse 553686bbecbeSmrg as_fn_append () 553786bbecbeSmrg { 553886bbecbeSmrg eval $1=\$$1\$2 553986bbecbeSmrg } 554086bbecbeSmrgfi # as_fn_append 554186bbecbeSmrg 554286bbecbeSmrg# as_fn_arith ARG... 554386bbecbeSmrg# ------------------ 554486bbecbeSmrg# Perform arithmetic evaluation on the ARGs, and store the result in the 554586bbecbeSmrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 554686bbecbeSmrg# must be portable across $(()) and expr. 554786bbecbeSmrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 554886bbecbeSmrg eval 'as_fn_arith () 554986bbecbeSmrg { 555086bbecbeSmrg as_val=$(( $* )) 555186bbecbeSmrg }' 555286bbecbeSmrgelse 555386bbecbeSmrg as_fn_arith () 555486bbecbeSmrg { 555586bbecbeSmrg as_val=`expr "$@" || test $? -eq 1` 555686bbecbeSmrg } 555786bbecbeSmrgfi # as_fn_arith 555886bbecbeSmrg 555953354cdbSmrg 556053354cdbSmrgif expr a : '\(a\)' >/dev/null 2>&1 && 556153354cdbSmrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 556253354cdbSmrg as_expr=expr 556353354cdbSmrgelse 556453354cdbSmrg as_expr=false 556553354cdbSmrgfi 556653354cdbSmrg 556753354cdbSmrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 556853354cdbSmrg as_basename=basename 556953354cdbSmrgelse 557053354cdbSmrg as_basename=false 557153354cdbSmrgfi 557253354cdbSmrg 557386bbecbeSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 557486bbecbeSmrg as_dirname=dirname 557586bbecbeSmrgelse 557686bbecbeSmrg as_dirname=false 557786bbecbeSmrgfi 557853354cdbSmrg 557953354cdbSmrgas_me=`$as_basename -- "$0" || 558053354cdbSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 558153354cdbSmrg X"$0" : 'X\(//\)$' \| \ 558253354cdbSmrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 558386bbecbeSmrg$as_echo X/"$0" | 558453354cdbSmrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 558553354cdbSmrg s//\1/ 558653354cdbSmrg q 558753354cdbSmrg } 558853354cdbSmrg /^X\/\(\/\/\)$/{ 558953354cdbSmrg s//\1/ 559053354cdbSmrg q 559153354cdbSmrg } 559253354cdbSmrg /^X\/\(\/\).*/{ 559353354cdbSmrg s//\1/ 559453354cdbSmrg q 559553354cdbSmrg } 559653354cdbSmrg s/.*/./; q'` 559753354cdbSmrg 559886bbecbeSmrg# Avoid depending upon Character Ranges. 559986bbecbeSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 560086bbecbeSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 560186bbecbeSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 560286bbecbeSmrgas_cr_digits='0123456789' 560386bbecbeSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits 560453354cdbSmrg 560553354cdbSmrgECHO_C= ECHO_N= ECHO_T= 560686bbecbeSmrgcase `echo -n x` in #((((( 560753354cdbSmrg-n*) 560886bbecbeSmrg case `echo 'xy\c'` in 560953354cdbSmrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 561086bbecbeSmrg xy) ECHO_C='\c';; 561186bbecbeSmrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 561286bbecbeSmrg ECHO_T=' ';; 561353354cdbSmrg esac;; 561453354cdbSmrg*) 561553354cdbSmrg ECHO_N='-n';; 561653354cdbSmrgesac 561753354cdbSmrg 561853354cdbSmrgrm -f conf$$ conf$$.exe conf$$.file 561953354cdbSmrgif test -d conf$$.dir; then 562053354cdbSmrg rm -f conf$$.dir/conf$$.file 562153354cdbSmrgelse 562253354cdbSmrg rm -f conf$$.dir 562386bbecbeSmrg mkdir conf$$.dir 2>/dev/null 562486bbecbeSmrgfi 562586bbecbeSmrgif (echo >conf$$.file) 2>/dev/null; then 562686bbecbeSmrg if ln -s conf$$.file conf$$ 2>/dev/null; then 562786bbecbeSmrg as_ln_s='ln -s' 562886bbecbeSmrg # ... but there are two gotchas: 562986bbecbeSmrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 563086bbecbeSmrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 563186bbecbeSmrg # In both cases, we have to default to `cp -p'. 563286bbecbeSmrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 563386bbecbeSmrg as_ln_s='cp -p' 563486bbecbeSmrg elif ln conf$$.file conf$$ 2>/dev/null; then 563586bbecbeSmrg as_ln_s=ln 563686bbecbeSmrg else 563753354cdbSmrg as_ln_s='cp -p' 563886bbecbeSmrg fi 563953354cdbSmrgelse 564053354cdbSmrg as_ln_s='cp -p' 564153354cdbSmrgfi 564253354cdbSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 564353354cdbSmrgrmdir conf$$.dir 2>/dev/null 564453354cdbSmrg 564586bbecbeSmrg 564686bbecbeSmrg# as_fn_mkdir_p 564786bbecbeSmrg# ------------- 564886bbecbeSmrg# Create "$as_dir" as a directory, including parents if necessary. 564986bbecbeSmrgas_fn_mkdir_p () 565086bbecbeSmrg{ 565186bbecbeSmrg 565286bbecbeSmrg case $as_dir in #( 565386bbecbeSmrg -*) as_dir=./$as_dir;; 565486bbecbeSmrg esac 565586bbecbeSmrg test -d "$as_dir" || eval $as_mkdir_p || { 565686bbecbeSmrg as_dirs= 565786bbecbeSmrg while :; do 565886bbecbeSmrg case $as_dir in #( 565986bbecbeSmrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 566086bbecbeSmrg *) as_qdir=$as_dir;; 566186bbecbeSmrg esac 566286bbecbeSmrg as_dirs="'$as_qdir' $as_dirs" 566386bbecbeSmrg as_dir=`$as_dirname -- "$as_dir" || 566486bbecbeSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 566586bbecbeSmrg X"$as_dir" : 'X\(//\)[^/]' \| \ 566686bbecbeSmrg X"$as_dir" : 'X\(//\)$' \| \ 566786bbecbeSmrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 566886bbecbeSmrg$as_echo X"$as_dir" | 566986bbecbeSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 567086bbecbeSmrg s//\1/ 567186bbecbeSmrg q 567286bbecbeSmrg } 567386bbecbeSmrg /^X\(\/\/\)[^/].*/{ 567486bbecbeSmrg s//\1/ 567586bbecbeSmrg q 567686bbecbeSmrg } 567786bbecbeSmrg /^X\(\/\/\)$/{ 567886bbecbeSmrg s//\1/ 567986bbecbeSmrg q 568086bbecbeSmrg } 568186bbecbeSmrg /^X\(\/\).*/{ 568286bbecbeSmrg s//\1/ 568386bbecbeSmrg q 568486bbecbeSmrg } 568586bbecbeSmrg s/.*/./; q'` 568686bbecbeSmrg test -d "$as_dir" && break 568786bbecbeSmrg done 568886bbecbeSmrg test -z "$as_dirs" || eval "mkdir $as_dirs" 568986bbecbeSmrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 569086bbecbeSmrg 569186bbecbeSmrg 569286bbecbeSmrg} # as_fn_mkdir_p 569353354cdbSmrgif mkdir -p . 2>/dev/null; then 569486bbecbeSmrg as_mkdir_p='mkdir -p "$as_dir"' 569553354cdbSmrgelse 569653354cdbSmrg test -d ./-p && rmdir ./-p 569753354cdbSmrg as_mkdir_p=false 569853354cdbSmrgfi 569953354cdbSmrg 570053354cdbSmrgif test -x / >/dev/null 2>&1; then 570153354cdbSmrg as_test_x='test -x' 570253354cdbSmrgelse 570353354cdbSmrg if ls -dL / >/dev/null 2>&1; then 570453354cdbSmrg as_ls_L_option=L 570553354cdbSmrg else 570653354cdbSmrg as_ls_L_option= 570753354cdbSmrg fi 570853354cdbSmrg as_test_x=' 570953354cdbSmrg eval sh -c '\'' 571053354cdbSmrg if test -d "$1"; then 571186bbecbeSmrg test -d "$1/."; 571253354cdbSmrg else 571386bbecbeSmrg case $1 in #( 571486bbecbeSmrg -*)set "./$1";; 571553354cdbSmrg esac; 571686bbecbeSmrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 571753354cdbSmrg ???[sx]*):;;*)false;;esac;fi 571853354cdbSmrg '\'' sh 571953354cdbSmrg ' 572053354cdbSmrgfi 572153354cdbSmrgas_executable_p=$as_test_x 572253354cdbSmrg 572353354cdbSmrg# Sed expression to map a string onto a valid CPP name. 572453354cdbSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 572553354cdbSmrg 572653354cdbSmrg# Sed expression to map a string onto a valid variable name. 572753354cdbSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 572853354cdbSmrg 572953354cdbSmrg 573053354cdbSmrgexec 6>&1 573186bbecbeSmrg## ----------------------------------- ## 573286bbecbeSmrg## Main body of $CONFIG_STATUS script. ## 573386bbecbeSmrg## ----------------------------------- ## 573486bbecbeSmrg_ASEOF 573586bbecbeSmrgtest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 573653354cdbSmrg 573786bbecbeSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 573886bbecbeSmrg# Save the log message, to keep $0 and so on meaningful, and to 573953354cdbSmrg# report actual input values of CONFIG_FILES etc. instead of their 574053354cdbSmrg# values after options handling. 574153354cdbSmrgac_log=" 574286bbecbeSmrgThis file was extended by rgb $as_me 1.0.4, which was 574386bbecbeSmrggenerated by GNU Autoconf 2.68. Invocation command line was 574453354cdbSmrg 574553354cdbSmrg CONFIG_FILES = $CONFIG_FILES 574653354cdbSmrg CONFIG_HEADERS = $CONFIG_HEADERS 574753354cdbSmrg CONFIG_LINKS = $CONFIG_LINKS 574853354cdbSmrg CONFIG_COMMANDS = $CONFIG_COMMANDS 574953354cdbSmrg $ $0 $@ 575053354cdbSmrg 575153354cdbSmrgon `(hostname || uname -n) 2>/dev/null | sed 1q` 575253354cdbSmrg" 575353354cdbSmrg 575453354cdbSmrg_ACEOF 575553354cdbSmrg 575686bbecbeSmrgcase $ac_config_files in *" 575786bbecbeSmrg"*) set x $ac_config_files; shift; ac_config_files=$*;; 575886bbecbeSmrgesac 575986bbecbeSmrg 576086bbecbeSmrgcase $ac_config_headers in *" 576186bbecbeSmrg"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 576286bbecbeSmrgesac 576386bbecbeSmrg 576486bbecbeSmrg 576586bbecbeSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 576653354cdbSmrg# Files that config.status was made for. 576753354cdbSmrgconfig_files="$ac_config_files" 576853354cdbSmrgconfig_headers="$ac_config_headers" 576953354cdbSmrgconfig_commands="$ac_config_commands" 577053354cdbSmrg 577153354cdbSmrg_ACEOF 577253354cdbSmrg 577386bbecbeSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 577453354cdbSmrgac_cs_usage="\ 577586bbecbeSmrg\`$as_me' instantiates files and other configuration actions 577686bbecbeSmrgfrom templates according to the current configuration. Unless the files 577786bbecbeSmrgand actions are specified as TAGs, all are instantiated by default. 577853354cdbSmrg 577986bbecbeSmrgUsage: $0 [OPTION]... [TAG]... 578053354cdbSmrg 578153354cdbSmrg -h, --help print this help, then exit 578253354cdbSmrg -V, --version print version number and configuration settings, then exit 578386bbecbeSmrg --config print configuration, then exit 578486bbecbeSmrg -q, --quiet, --silent 578586bbecbeSmrg do not print progress messages 578653354cdbSmrg -d, --debug don't remove temporary files 578753354cdbSmrg --recheck update $as_me by reconfiguring in the same conditions 578886bbecbeSmrg --file=FILE[:TEMPLATE] 578986bbecbeSmrg instantiate the configuration file FILE 579086bbecbeSmrg --header=FILE[:TEMPLATE] 579186bbecbeSmrg instantiate the configuration header FILE 579253354cdbSmrg 579353354cdbSmrgConfiguration files: 579453354cdbSmrg$config_files 579553354cdbSmrg 579653354cdbSmrgConfiguration headers: 579753354cdbSmrg$config_headers 579853354cdbSmrg 579953354cdbSmrgConfiguration commands: 580053354cdbSmrg$config_commands 580153354cdbSmrg 580286bbecbeSmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>." 580353354cdbSmrg 580453354cdbSmrg_ACEOF 580586bbecbeSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 580686bbecbeSmrgac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 580753354cdbSmrgac_cs_version="\\ 580886bbecbeSmrgrgb config.status 1.0.4 580986bbecbeSmrgconfigured by $0, generated by GNU Autoconf 2.68, 581086bbecbeSmrg with options \\"\$ac_cs_config\\" 581153354cdbSmrg 581286bbecbeSmrgCopyright (C) 2010 Free Software Foundation, Inc. 581353354cdbSmrgThis config.status script is free software; the Free Software Foundation 581453354cdbSmrggives unlimited permission to copy, distribute and modify it." 581553354cdbSmrg 581653354cdbSmrgac_pwd='$ac_pwd' 581753354cdbSmrgsrcdir='$srcdir' 581853354cdbSmrgINSTALL='$INSTALL' 581953354cdbSmrgMKDIR_P='$MKDIR_P' 582086bbecbeSmrgAWK='$AWK' 582186bbecbeSmrgtest -n "\$AWK" || AWK=awk 582253354cdbSmrg_ACEOF 582353354cdbSmrg 582486bbecbeSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 582586bbecbeSmrg# The default lists apply if the user does not specify any file. 582653354cdbSmrgac_need_defaults=: 582753354cdbSmrgwhile test $# != 0 582853354cdbSmrgdo 582953354cdbSmrg case $1 in 583086bbecbeSmrg --*=?*) 583153354cdbSmrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 583253354cdbSmrg ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 583353354cdbSmrg ac_shift=: 583453354cdbSmrg ;; 583586bbecbeSmrg --*=) 583686bbecbeSmrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 583786bbecbeSmrg ac_optarg= 583886bbecbeSmrg ac_shift=: 583986bbecbeSmrg ;; 584053354cdbSmrg *) 584153354cdbSmrg ac_option=$1 584253354cdbSmrg ac_optarg=$2 584353354cdbSmrg ac_shift=shift 584453354cdbSmrg ;; 584553354cdbSmrg esac 584653354cdbSmrg 584753354cdbSmrg case $ac_option in 584853354cdbSmrg # Handling of the options. 584953354cdbSmrg -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 585053354cdbSmrg ac_cs_recheck=: ;; 585153354cdbSmrg --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 585286bbecbeSmrg $as_echo "$ac_cs_version"; exit ;; 585386bbecbeSmrg --config | --confi | --conf | --con | --co | --c ) 585486bbecbeSmrg $as_echo "$ac_cs_config"; exit ;; 585553354cdbSmrg --debug | --debu | --deb | --de | --d | -d ) 585653354cdbSmrg debug=: ;; 585753354cdbSmrg --file | --fil | --fi | --f ) 585853354cdbSmrg $ac_shift 585986bbecbeSmrg case $ac_optarg in 586086bbecbeSmrg *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 586186bbecbeSmrg '') as_fn_error $? "missing file argument" ;; 586286bbecbeSmrg esac 586386bbecbeSmrg as_fn_append CONFIG_FILES " '$ac_optarg'" 586453354cdbSmrg ac_need_defaults=false;; 586553354cdbSmrg --header | --heade | --head | --hea ) 586653354cdbSmrg $ac_shift 586786bbecbeSmrg case $ac_optarg in 586886bbecbeSmrg *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 586986bbecbeSmrg esac 587086bbecbeSmrg as_fn_append CONFIG_HEADERS " '$ac_optarg'" 587153354cdbSmrg ac_need_defaults=false;; 587253354cdbSmrg --he | --h) 587353354cdbSmrg # Conflict between --help and --header 587486bbecbeSmrg as_fn_error $? "ambiguous option: \`$1' 587586bbecbeSmrgTry \`$0 --help' for more information.";; 587653354cdbSmrg --help | --hel | -h ) 587786bbecbeSmrg $as_echo "$ac_cs_usage"; exit ;; 587853354cdbSmrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 587953354cdbSmrg | -silent | --silent | --silen | --sile | --sil | --si | --s) 588053354cdbSmrg ac_cs_silent=: ;; 588153354cdbSmrg 588253354cdbSmrg # This is an error. 588386bbecbeSmrg -*) as_fn_error $? "unrecognized option: \`$1' 588486bbecbeSmrgTry \`$0 --help' for more information." ;; 588553354cdbSmrg 588686bbecbeSmrg *) as_fn_append ac_config_targets " $1" 588753354cdbSmrg ac_need_defaults=false ;; 588853354cdbSmrg 588953354cdbSmrg esac 589053354cdbSmrg shift 589153354cdbSmrgdone 589253354cdbSmrg 589353354cdbSmrgac_configure_extra_args= 589453354cdbSmrg 589553354cdbSmrgif $ac_cs_silent; then 589653354cdbSmrg exec 6>/dev/null 589753354cdbSmrg ac_configure_extra_args="$ac_configure_extra_args --silent" 589853354cdbSmrgfi 589953354cdbSmrg 590053354cdbSmrg_ACEOF 590186bbecbeSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 590253354cdbSmrgif \$ac_cs_recheck; then 590386bbecbeSmrg set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 590486bbecbeSmrg shift 590586bbecbeSmrg \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 590686bbecbeSmrg CONFIG_SHELL='$SHELL' 590753354cdbSmrg export CONFIG_SHELL 590886bbecbeSmrg exec "\$@" 590953354cdbSmrgfi 591053354cdbSmrg 591153354cdbSmrg_ACEOF 591286bbecbeSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 591353354cdbSmrgexec 5>>config.log 591453354cdbSmrg{ 591553354cdbSmrg echo 591653354cdbSmrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 591753354cdbSmrg## Running $as_me. ## 591853354cdbSmrg_ASBOX 591986bbecbeSmrg $as_echo "$ac_log" 592053354cdbSmrg} >&5 592153354cdbSmrg 592253354cdbSmrg_ACEOF 592386bbecbeSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 592453354cdbSmrg# 592553354cdbSmrg# INIT-COMMANDS 592653354cdbSmrg# 592753354cdbSmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 592853354cdbSmrg 592953354cdbSmrg_ACEOF 593053354cdbSmrg 593186bbecbeSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 593253354cdbSmrg 593353354cdbSmrg# Handling of arguments. 593453354cdbSmrgfor ac_config_target in $ac_config_targets 593553354cdbSmrgdo 593653354cdbSmrg case $ac_config_target in 593753354cdbSmrg "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 593853354cdbSmrg "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 593953354cdbSmrg "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 594086bbecbeSmrg "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; 594153354cdbSmrg 594286bbecbeSmrg *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 594353354cdbSmrg esac 594453354cdbSmrgdone 594553354cdbSmrg 594653354cdbSmrg 594753354cdbSmrg# If the user did not use the arguments to specify the items to instantiate, 594853354cdbSmrg# then the envvar interface is used. Set only those that are not. 594953354cdbSmrg# We use the long form for the default assignment because of an extremely 595053354cdbSmrg# bizarre bug on SunOS 4.1.3. 595153354cdbSmrgif $ac_need_defaults; then 595253354cdbSmrg test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 595353354cdbSmrg test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 595453354cdbSmrg test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 595553354cdbSmrgfi 595653354cdbSmrg 595753354cdbSmrg# Have a temporary directory for convenience. Make it in the build tree 595853354cdbSmrg# simply because there is no reason against having it here, and in addition, 595953354cdbSmrg# creating and moving files from /tmp can sometimes cause problems. 596053354cdbSmrg# Hook for its removal unless debugging. 596153354cdbSmrg# Note that there is a small window in which the directory will not be cleaned: 596253354cdbSmrg# after its creation but before its name has been assigned to `$tmp'. 596353354cdbSmrg$debug || 596453354cdbSmrg{ 596586bbecbeSmrg tmp= ac_tmp= 596653354cdbSmrg trap 'exit_status=$? 596786bbecbeSmrg : "${ac_tmp:=$tmp}" 596886bbecbeSmrg { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 596953354cdbSmrg' 0 597086bbecbeSmrg trap 'as_fn_exit 1' 1 2 13 15 597153354cdbSmrg} 597253354cdbSmrg# Create a (secure) tmp directory for tmp files. 597353354cdbSmrg 597453354cdbSmrg{ 597553354cdbSmrg tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 597686bbecbeSmrg test -d "$tmp" 597753354cdbSmrg} || 597853354cdbSmrg{ 597953354cdbSmrg tmp=./conf$$-$RANDOM 598053354cdbSmrg (umask 077 && mkdir "$tmp") 598186bbecbeSmrg} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 598286bbecbeSmrgac_tmp=$tmp 598353354cdbSmrg 598486bbecbeSmrg# Set up the scripts for CONFIG_FILES section. 598586bbecbeSmrg# No need to generate them if there are no CONFIG_FILES. 598686bbecbeSmrg# This happens for instance with `./config.status config.h'. 598753354cdbSmrgif test -n "$CONFIG_FILES"; then 598853354cdbSmrg 598953354cdbSmrg 599086bbecbeSmrgac_cr=`echo X | tr X '\015'` 599186bbecbeSmrg# On cygwin, bash can eat \r inside `` if the user requested igncr. 599286bbecbeSmrg# But we know of no other shell where ac_cr would be empty at this 599386bbecbeSmrg# point, so we can use a bashism as a fallback. 599486bbecbeSmrgif test "x$ac_cr" = x; then 599586bbecbeSmrg eval ac_cr=\$\'\\r\' 599686bbecbeSmrgfi 599786bbecbeSmrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 599886bbecbeSmrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 599986bbecbeSmrg ac_cs_awk_cr='\\r' 600086bbecbeSmrgelse 600186bbecbeSmrg ac_cs_awk_cr=$ac_cr 600253354cdbSmrgfi 600353354cdbSmrg 600486bbecbeSmrgecho 'BEGIN {' >"$ac_tmp/subs1.awk" && 600553354cdbSmrg_ACEOF 600653354cdbSmrg 600753354cdbSmrg 600886bbecbeSmrg{ 600986bbecbeSmrg echo "cat >conf$$subs.awk <<_ACEOF" && 601086bbecbeSmrg echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 601186bbecbeSmrg echo "_ACEOF" 601286bbecbeSmrg} >conf$$subs.sh || 601386bbecbeSmrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 601486bbecbeSmrgac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 601553354cdbSmrgac_delim='%!_!# ' 601653354cdbSmrgfor ac_last_try in false false false false false :; do 601786bbecbeSmrg . ./conf$$subs.sh || 601886bbecbeSmrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 601953354cdbSmrg 602086bbecbeSmrg ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 602186bbecbeSmrg if test $ac_delim_n = $ac_delim_num; then 602253354cdbSmrg break 602353354cdbSmrg elif $ac_last_try; then 602486bbecbeSmrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 602553354cdbSmrg else 602653354cdbSmrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 602753354cdbSmrg fi 602853354cdbSmrgdone 602986bbecbeSmrgrm -f conf$$subs.sh 603053354cdbSmrg 603186bbecbeSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 603286bbecbeSmrgcat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 603386bbecbeSmrg_ACEOF 603486bbecbeSmrgsed -n ' 603586bbecbeSmrgh 603686bbecbeSmrgs/^/S["/; s/!.*/"]=/ 603786bbecbeSmrgp 603886bbecbeSmrgg 603986bbecbeSmrgs/^[^!]*!// 604086bbecbeSmrg:repl 604186bbecbeSmrgt repl 604286bbecbeSmrgs/'"$ac_delim"'$// 604386bbecbeSmrgt delim 604486bbecbeSmrg:nl 604586bbecbeSmrgh 604686bbecbeSmrgs/\(.\{148\}\)..*/\1/ 604786bbecbeSmrgt more1 604886bbecbeSmrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 604986bbecbeSmrgp 605086bbecbeSmrgn 605186bbecbeSmrgb repl 605286bbecbeSmrg:more1 605386bbecbeSmrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 605486bbecbeSmrgp 605586bbecbeSmrgg 605686bbecbeSmrgs/.\{148\}// 605786bbecbeSmrgt nl 605886bbecbeSmrg:delim 605986bbecbeSmrgh 606086bbecbeSmrgs/\(.\{148\}\)..*/\1/ 606186bbecbeSmrgt more2 606286bbecbeSmrgs/["\\]/\\&/g; s/^/"/; s/$/"/ 606386bbecbeSmrgp 606486bbecbeSmrgb 606586bbecbeSmrg:more2 606686bbecbeSmrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 606786bbecbeSmrgp 606886bbecbeSmrgg 606986bbecbeSmrgs/.\{148\}// 607086bbecbeSmrgt delim 607186bbecbeSmrg' <conf$$subs.awk | sed ' 607286bbecbeSmrg/^[^""]/{ 607386bbecbeSmrg N 607486bbecbeSmrg s/\n// 607586bbecbeSmrg} 607686bbecbeSmrg' >>$CONFIG_STATUS || ac_write_fail=1 607786bbecbeSmrgrm -f conf$$subs.awk 607886bbecbeSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 607986bbecbeSmrg_ACAWK 608086bbecbeSmrgcat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 608186bbecbeSmrg for (key in S) S_is_set[key] = 1 608286bbecbeSmrg FS = "" 608386bbecbeSmrg 608486bbecbeSmrg} 608586bbecbeSmrg{ 608686bbecbeSmrg line = $ 0 608786bbecbeSmrg nfields = split(line, field, "@") 608886bbecbeSmrg substed = 0 608986bbecbeSmrg len = length(field[1]) 609086bbecbeSmrg for (i = 2; i < nfields; i++) { 609186bbecbeSmrg key = field[i] 609286bbecbeSmrg keylen = length(key) 609386bbecbeSmrg if (S_is_set[key]) { 609486bbecbeSmrg value = S[key] 609586bbecbeSmrg line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 609686bbecbeSmrg len += length(value) + length(field[++i]) 609786bbecbeSmrg substed = 1 609886bbecbeSmrg } else 609986bbecbeSmrg len += 1 + keylen 610086bbecbeSmrg } 610186bbecbeSmrg 610286bbecbeSmrg print line 610386bbecbeSmrg} 610453354cdbSmrg 610586bbecbeSmrg_ACAWK 610653354cdbSmrg_ACEOF 610786bbecbeSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 610886bbecbeSmrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 610986bbecbeSmrg sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 611086bbecbeSmrgelse 611186bbecbeSmrg cat 611286bbecbeSmrgfi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 611386bbecbeSmrg || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 611453354cdbSmrg_ACEOF 611553354cdbSmrg 611686bbecbeSmrg# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 611786bbecbeSmrg# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 611853354cdbSmrg# trailing colons and then remove the whole line if VPATH becomes empty 611953354cdbSmrg# (actually we leave an empty line to preserve line numbers). 612053354cdbSmrgif test "x$srcdir" = x.; then 612186bbecbeSmrg ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 612286bbecbeSmrgh 612386bbecbeSmrgs/// 612486bbecbeSmrgs/^/:/ 612586bbecbeSmrgs/[ ]*$/:/ 612686bbecbeSmrgs/:\$(srcdir):/:/g 612786bbecbeSmrgs/:\${srcdir}:/:/g 612886bbecbeSmrgs/:@srcdir@:/:/g 612986bbecbeSmrgs/^:*// 613053354cdbSmrgs/:*$// 613186bbecbeSmrgx 613286bbecbeSmrgs/\(=[ ]*\).*/\1/ 613386bbecbeSmrgG 613486bbecbeSmrgs/\n// 613553354cdbSmrgs/^[^=]*=[ ]*$// 613653354cdbSmrg}' 613753354cdbSmrgfi 613853354cdbSmrg 613986bbecbeSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 614053354cdbSmrgfi # test -n "$CONFIG_FILES" 614153354cdbSmrg 614286bbecbeSmrg# Set up the scripts for CONFIG_HEADERS section. 614386bbecbeSmrg# No need to generate them if there are no CONFIG_HEADERS. 614486bbecbeSmrg# This happens for instance with `./config.status Makefile'. 614586bbecbeSmrgif test -n "$CONFIG_HEADERS"; then 614686bbecbeSmrgcat >"$ac_tmp/defines.awk" <<\_ACAWK || 614786bbecbeSmrgBEGIN { 614886bbecbeSmrg_ACEOF 614986bbecbeSmrg 615086bbecbeSmrg# Transform confdefs.h into an awk script `defines.awk', embedded as 615186bbecbeSmrg# here-document in config.status, that substitutes the proper values into 615286bbecbeSmrg# config.h.in to produce config.h. 615386bbecbeSmrg 615486bbecbeSmrg# Create a delimiter string that does not exist in confdefs.h, to ease 615586bbecbeSmrg# handling of long lines. 615686bbecbeSmrgac_delim='%!_!# ' 615786bbecbeSmrgfor ac_last_try in false false :; do 615886bbecbeSmrg ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 615986bbecbeSmrg if test -z "$ac_tt"; then 616086bbecbeSmrg break 616186bbecbeSmrg elif $ac_last_try; then 616286bbecbeSmrg as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 616386bbecbeSmrg else 616486bbecbeSmrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 616586bbecbeSmrg fi 616686bbecbeSmrgdone 616786bbecbeSmrg 616886bbecbeSmrg# For the awk script, D is an array of macro values keyed by name, 616986bbecbeSmrg# likewise P contains macro parameters if any. Preserve backslash 617086bbecbeSmrg# newline sequences. 617186bbecbeSmrg 617286bbecbeSmrgac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 617386bbecbeSmrgsed -n ' 617486bbecbeSmrgs/.\{148\}/&'"$ac_delim"'/g 617586bbecbeSmrgt rset 617686bbecbeSmrg:rset 617786bbecbeSmrgs/^[ ]*#[ ]*define[ ][ ]*/ / 617886bbecbeSmrgt def 617986bbecbeSmrgd 618086bbecbeSmrg:def 618186bbecbeSmrgs/\\$// 618286bbecbeSmrgt bsnl 618386bbecbeSmrgs/["\\]/\\&/g 618486bbecbeSmrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 618586bbecbeSmrgD["\1"]=" \3"/p 618686bbecbeSmrgs/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 618786bbecbeSmrgd 618886bbecbeSmrg:bsnl 618986bbecbeSmrgs/["\\]/\\&/g 619086bbecbeSmrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 619186bbecbeSmrgD["\1"]=" \3\\\\\\n"\\/p 619286bbecbeSmrgt cont 619386bbecbeSmrgs/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 619486bbecbeSmrgt cont 619586bbecbeSmrgd 619686bbecbeSmrg:cont 619786bbecbeSmrgn 619886bbecbeSmrgs/.\{148\}/&'"$ac_delim"'/g 619986bbecbeSmrgt clear 620086bbecbeSmrg:clear 620186bbecbeSmrgs/\\$// 620286bbecbeSmrgt bsnlc 620386bbecbeSmrgs/["\\]/\\&/g; s/^/"/; s/$/"/p 620486bbecbeSmrgd 620586bbecbeSmrg:bsnlc 620686bbecbeSmrgs/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 620786bbecbeSmrgb cont 620886bbecbeSmrg' <confdefs.h | sed ' 620986bbecbeSmrgs/'"$ac_delim"'/"\\\ 621086bbecbeSmrg"/g' >>$CONFIG_STATUS || ac_write_fail=1 621186bbecbeSmrg 621286bbecbeSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 621386bbecbeSmrg for (key in D) D_is_set[key] = 1 621486bbecbeSmrg FS = "" 621586bbecbeSmrg} 621686bbecbeSmrg/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 621786bbecbeSmrg line = \$ 0 621886bbecbeSmrg split(line, arg, " ") 621986bbecbeSmrg if (arg[1] == "#") { 622086bbecbeSmrg defundef = arg[2] 622186bbecbeSmrg mac1 = arg[3] 622286bbecbeSmrg } else { 622386bbecbeSmrg defundef = substr(arg[1], 2) 622486bbecbeSmrg mac1 = arg[2] 622586bbecbeSmrg } 622686bbecbeSmrg split(mac1, mac2, "(") #) 622786bbecbeSmrg macro = mac2[1] 622886bbecbeSmrg prefix = substr(line, 1, index(line, defundef) - 1) 622986bbecbeSmrg if (D_is_set[macro]) { 623086bbecbeSmrg # Preserve the white space surrounding the "#". 623186bbecbeSmrg print prefix "define", macro P[macro] D[macro] 623286bbecbeSmrg next 623386bbecbeSmrg } else { 623486bbecbeSmrg # Replace #undef with comments. This is necessary, for example, 623586bbecbeSmrg # in the case of _POSIX_SOURCE, which is predefined and required 623686bbecbeSmrg # on some systems where configure will not decide to define it. 623786bbecbeSmrg if (defundef == "undef") { 623886bbecbeSmrg print "/*", prefix defundef, macro, "*/" 623986bbecbeSmrg next 624086bbecbeSmrg } 624186bbecbeSmrg } 624286bbecbeSmrg} 624386bbecbeSmrg{ print } 624486bbecbeSmrg_ACAWK 624586bbecbeSmrg_ACEOF 624686bbecbeSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 624786bbecbeSmrg as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 624886bbecbeSmrgfi # test -n "$CONFIG_HEADERS" 624986bbecbeSmrg 625053354cdbSmrg 625186bbecbeSmrgeval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 625286bbecbeSmrgshift 625386bbecbeSmrgfor ac_tag 625453354cdbSmrgdo 625553354cdbSmrg case $ac_tag in 625653354cdbSmrg :[FHLC]) ac_mode=$ac_tag; continue;; 625753354cdbSmrg esac 625853354cdbSmrg case $ac_mode$ac_tag in 625953354cdbSmrg :[FHL]*:*);; 626086bbecbeSmrg :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 626153354cdbSmrg :[FH]-) ac_tag=-:-;; 626253354cdbSmrg :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 626353354cdbSmrg esac 626453354cdbSmrg ac_save_IFS=$IFS 626553354cdbSmrg IFS=: 626653354cdbSmrg set x $ac_tag 626753354cdbSmrg IFS=$ac_save_IFS 626853354cdbSmrg shift 626953354cdbSmrg ac_file=$1 627053354cdbSmrg shift 627153354cdbSmrg 627253354cdbSmrg case $ac_mode in 627353354cdbSmrg :L) ac_source=$1;; 627453354cdbSmrg :[FH]) 627553354cdbSmrg ac_file_inputs= 627653354cdbSmrg for ac_f 627753354cdbSmrg do 627853354cdbSmrg case $ac_f in 627986bbecbeSmrg -) ac_f="$ac_tmp/stdin";; 628053354cdbSmrg *) # Look for the file first in the build tree, then in the source tree 628153354cdbSmrg # (if the path is not absolute). The absolute path cannot be DOS-style, 628253354cdbSmrg # because $ac_f cannot contain `:'. 628353354cdbSmrg test -f "$ac_f" || 628453354cdbSmrg case $ac_f in 628553354cdbSmrg [\\/$]*) false;; 628653354cdbSmrg *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 628753354cdbSmrg esac || 628886bbecbeSmrg as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 628953354cdbSmrg esac 629086bbecbeSmrg case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 629186bbecbeSmrg as_fn_append ac_file_inputs " '$ac_f'" 629253354cdbSmrg done 629353354cdbSmrg 629453354cdbSmrg # Let's still pretend it is `configure' which instantiates (i.e., don't 629553354cdbSmrg # use $as_me), people would be surprised to read: 629653354cdbSmrg # /* config.h. Generated by config.status. */ 629786bbecbeSmrg configure_input='Generated from '` 629886bbecbeSmrg $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 629986bbecbeSmrg `' by configure.' 630053354cdbSmrg if test x"$ac_file" != x-; then 630153354cdbSmrg configure_input="$ac_file. $configure_input" 630286bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 630386bbecbeSmrg$as_echo "$as_me: creating $ac_file" >&6;} 630453354cdbSmrg fi 630586bbecbeSmrg # Neutralize special characters interpreted by sed in replacement strings. 630686bbecbeSmrg case $configure_input in #( 630786bbecbeSmrg *\&* | *\|* | *\\* ) 630886bbecbeSmrg ac_sed_conf_input=`$as_echo "$configure_input" | 630986bbecbeSmrg sed 's/[\\\\&|]/\\\\&/g'`;; #( 631086bbecbeSmrg *) ac_sed_conf_input=$configure_input;; 631186bbecbeSmrg esac 631253354cdbSmrg 631353354cdbSmrg case $ac_tag in 631486bbecbeSmrg *:-:* | *:-) cat >"$ac_tmp/stdin" \ 631586bbecbeSmrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 631653354cdbSmrg esac 631753354cdbSmrg ;; 631853354cdbSmrg esac 631953354cdbSmrg 632053354cdbSmrg ac_dir=`$as_dirname -- "$ac_file" || 632153354cdbSmrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 632253354cdbSmrg X"$ac_file" : 'X\(//\)[^/]' \| \ 632353354cdbSmrg X"$ac_file" : 'X\(//\)$' \| \ 632453354cdbSmrg X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 632586bbecbeSmrg$as_echo X"$ac_file" | 632653354cdbSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 632753354cdbSmrg s//\1/ 632853354cdbSmrg q 632953354cdbSmrg } 633053354cdbSmrg /^X\(\/\/\)[^/].*/{ 633153354cdbSmrg s//\1/ 633253354cdbSmrg q 633353354cdbSmrg } 633453354cdbSmrg /^X\(\/\/\)$/{ 633553354cdbSmrg s//\1/ 633653354cdbSmrg q 633753354cdbSmrg } 633853354cdbSmrg /^X\(\/\).*/{ 633953354cdbSmrg s//\1/ 634053354cdbSmrg q 634153354cdbSmrg } 634253354cdbSmrg s/.*/./; q'` 634386bbecbeSmrg as_dir="$ac_dir"; as_fn_mkdir_p 634453354cdbSmrg ac_builddir=. 634553354cdbSmrg 634653354cdbSmrgcase "$ac_dir" in 634753354cdbSmrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 634853354cdbSmrg*) 634986bbecbeSmrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 635053354cdbSmrg # A ".." for each directory in $ac_dir_suffix. 635186bbecbeSmrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 635253354cdbSmrg case $ac_top_builddir_sub in 635353354cdbSmrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 635453354cdbSmrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 635553354cdbSmrg esac ;; 635653354cdbSmrgesac 635753354cdbSmrgac_abs_top_builddir=$ac_pwd 635853354cdbSmrgac_abs_builddir=$ac_pwd$ac_dir_suffix 635953354cdbSmrg# for backward compatibility: 636053354cdbSmrgac_top_builddir=$ac_top_build_prefix 636153354cdbSmrg 636253354cdbSmrgcase $srcdir in 636353354cdbSmrg .) # We are building in place. 636453354cdbSmrg ac_srcdir=. 636553354cdbSmrg ac_top_srcdir=$ac_top_builddir_sub 636653354cdbSmrg ac_abs_top_srcdir=$ac_pwd ;; 636753354cdbSmrg [\\/]* | ?:[\\/]* ) # Absolute name. 636853354cdbSmrg ac_srcdir=$srcdir$ac_dir_suffix; 636953354cdbSmrg ac_top_srcdir=$srcdir 637053354cdbSmrg ac_abs_top_srcdir=$srcdir ;; 637153354cdbSmrg *) # Relative name. 637253354cdbSmrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 637353354cdbSmrg ac_top_srcdir=$ac_top_build_prefix$srcdir 637453354cdbSmrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 637553354cdbSmrgesac 637653354cdbSmrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 637753354cdbSmrg 637853354cdbSmrg 637953354cdbSmrg case $ac_mode in 638053354cdbSmrg :F) 638153354cdbSmrg # 638253354cdbSmrg # CONFIG_FILE 638353354cdbSmrg # 638453354cdbSmrg 638553354cdbSmrg case $INSTALL in 638653354cdbSmrg [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 638753354cdbSmrg *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 638853354cdbSmrg esac 638953354cdbSmrg ac_MKDIR_P=$MKDIR_P 639053354cdbSmrg case $MKDIR_P in 639153354cdbSmrg [\\/$]* | ?:[\\/]* ) ;; 639253354cdbSmrg */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 639353354cdbSmrg esac 639453354cdbSmrg_ACEOF 639553354cdbSmrg 639686bbecbeSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 639753354cdbSmrg# If the template does not know about datarootdir, expand it. 639853354cdbSmrg# FIXME: This hack should be removed a few years after 2.60. 639953354cdbSmrgac_datarootdir_hack=; ac_datarootdir_seen= 640086bbecbeSmrgac_sed_dataroot=' 640186bbecbeSmrg/datarootdir/ { 640253354cdbSmrg p 640353354cdbSmrg q 640453354cdbSmrg} 640553354cdbSmrg/@datadir@/p 640653354cdbSmrg/@docdir@/p 640753354cdbSmrg/@infodir@/p 640853354cdbSmrg/@localedir@/p 640986bbecbeSmrg/@mandir@/p' 641086bbecbeSmrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 641153354cdbSmrg*datarootdir*) ac_datarootdir_seen=yes;; 641253354cdbSmrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 641386bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 641486bbecbeSmrg$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 641553354cdbSmrg_ACEOF 641686bbecbeSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 641753354cdbSmrg ac_datarootdir_hack=' 641853354cdbSmrg s&@datadir@&$datadir&g 641953354cdbSmrg s&@docdir@&$docdir&g 642053354cdbSmrg s&@infodir@&$infodir&g 642153354cdbSmrg s&@localedir@&$localedir&g 642253354cdbSmrg s&@mandir@&$mandir&g 642386bbecbeSmrg s&\\\${datarootdir}&$datarootdir&g' ;; 642453354cdbSmrgesac 642553354cdbSmrg_ACEOF 642653354cdbSmrg 642753354cdbSmrg# Neutralize VPATH when `$srcdir' = `.'. 642853354cdbSmrg# Shell code in configure.ac might set extrasub. 642953354cdbSmrg# FIXME: do we really want to maintain this feature? 643086bbecbeSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 643186bbecbeSmrgac_sed_extra="$ac_vpsub 643253354cdbSmrg$extrasub 643353354cdbSmrg_ACEOF 643486bbecbeSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 643553354cdbSmrg:t 643653354cdbSmrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 643786bbecbeSmrgs|@configure_input@|$ac_sed_conf_input|;t t 643853354cdbSmrgs&@top_builddir@&$ac_top_builddir_sub&;t t 643986bbecbeSmrgs&@top_build_prefix@&$ac_top_build_prefix&;t t 644053354cdbSmrgs&@srcdir@&$ac_srcdir&;t t 644153354cdbSmrgs&@abs_srcdir@&$ac_abs_srcdir&;t t 644253354cdbSmrgs&@top_srcdir@&$ac_top_srcdir&;t t 644353354cdbSmrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 644453354cdbSmrgs&@builddir@&$ac_builddir&;t t 644553354cdbSmrgs&@abs_builddir@&$ac_abs_builddir&;t t 644653354cdbSmrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t 644753354cdbSmrgs&@INSTALL@&$ac_INSTALL&;t t 644853354cdbSmrgs&@MKDIR_P@&$ac_MKDIR_P&;t t 644953354cdbSmrg$ac_datarootdir_hack 645086bbecbeSmrg" 645186bbecbeSmrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 645286bbecbeSmrg >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 645353354cdbSmrg 645453354cdbSmrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 645586bbecbeSmrg { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 645686bbecbeSmrg { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 645786bbecbeSmrg "$ac_tmp/out"`; test -z "$ac_out"; } && 645886bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 645986bbecbeSmrgwhich seems to be undefined. Please make sure it is defined" >&5 646086bbecbeSmrg$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 646186bbecbeSmrgwhich seems to be undefined. Please make sure it is defined" >&2;} 646286bbecbeSmrg 646386bbecbeSmrg rm -f "$ac_tmp/stdin" 646453354cdbSmrg case $ac_file in 646586bbecbeSmrg -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 646686bbecbeSmrg *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 646786bbecbeSmrg esac \ 646886bbecbeSmrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 646953354cdbSmrg ;; 647053354cdbSmrg :H) 647153354cdbSmrg # 647253354cdbSmrg # CONFIG_HEADER 647353354cdbSmrg # 647453354cdbSmrg if test x"$ac_file" != x-; then 647586bbecbeSmrg { 647686bbecbeSmrg $as_echo "/* $configure_input */" \ 647786bbecbeSmrg && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 647886bbecbeSmrg } >"$ac_tmp/config.h" \ 647986bbecbeSmrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 648086bbecbeSmrg if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 648186bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 648286bbecbeSmrg$as_echo "$as_me: $ac_file is unchanged" >&6;} 648353354cdbSmrg else 648486bbecbeSmrg rm -f "$ac_file" 648586bbecbeSmrg mv "$ac_tmp/config.h" "$ac_file" \ 648686bbecbeSmrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 648753354cdbSmrg fi 648853354cdbSmrg else 648986bbecbeSmrg $as_echo "/* $configure_input */" \ 649086bbecbeSmrg && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 649186bbecbeSmrg || as_fn_error $? "could not create -" "$LINENO" 5 649253354cdbSmrg fi 649386bbecbeSmrg# Compute "$ac_file"'s index in $config_headers. 649486bbecbeSmrg_am_arg="$ac_file" 649553354cdbSmrg_am_stamp_count=1 649653354cdbSmrgfor _am_header in $config_headers :; do 649753354cdbSmrg case $_am_header in 649886bbecbeSmrg $_am_arg | $_am_arg:* ) 649953354cdbSmrg break ;; 650053354cdbSmrg * ) 650153354cdbSmrg _am_stamp_count=`expr $_am_stamp_count + 1` ;; 650253354cdbSmrg esac 650353354cdbSmrgdone 650486bbecbeSmrgecho "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 650586bbecbeSmrg$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 650686bbecbeSmrg X"$_am_arg" : 'X\(//\)[^/]' \| \ 650786bbecbeSmrg X"$_am_arg" : 'X\(//\)$' \| \ 650886bbecbeSmrg X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 650986bbecbeSmrg$as_echo X"$_am_arg" | 651053354cdbSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 651153354cdbSmrg s//\1/ 651253354cdbSmrg q 651353354cdbSmrg } 651453354cdbSmrg /^X\(\/\/\)[^/].*/{ 651553354cdbSmrg s//\1/ 651653354cdbSmrg q 651753354cdbSmrg } 651853354cdbSmrg /^X\(\/\/\)$/{ 651953354cdbSmrg s//\1/ 652053354cdbSmrg q 652153354cdbSmrg } 652253354cdbSmrg /^X\(\/\).*/{ 652353354cdbSmrg s//\1/ 652453354cdbSmrg q 652553354cdbSmrg } 652653354cdbSmrg s/.*/./; q'`/stamp-h$_am_stamp_count 652753354cdbSmrg ;; 652853354cdbSmrg 652986bbecbeSmrg :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 653086bbecbeSmrg$as_echo "$as_me: executing $ac_file commands" >&6;} 653153354cdbSmrg ;; 653253354cdbSmrg esac 653353354cdbSmrg 653453354cdbSmrg 653553354cdbSmrg case $ac_file$ac_mode in 653686bbecbeSmrg "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 653786bbecbeSmrg # Autoconf 2.62 quotes --file arguments for eval, but not when files 653886bbecbeSmrg # are listed without --file. Let's play safe and only enable the eval 653986bbecbeSmrg # if we detect the quoting. 654086bbecbeSmrg case $CONFIG_FILES in 654186bbecbeSmrg *\'*) eval set x "$CONFIG_FILES" ;; 654286bbecbeSmrg *) set x $CONFIG_FILES ;; 654386bbecbeSmrg esac 654486bbecbeSmrg shift 654586bbecbeSmrg for mf 654686bbecbeSmrg do 654786bbecbeSmrg # Strip MF so we end up with the name of the file. 654886bbecbeSmrg mf=`echo "$mf" | sed -e 's/:.*$//'` 654986bbecbeSmrg # Check whether this is an Automake generated Makefile or not. 655086bbecbeSmrg # We used to match only the files named `Makefile.in', but 655186bbecbeSmrg # some people rename them; so instead we look at the file content. 655286bbecbeSmrg # Grep'ing the first line is not enough: some people post-process 655386bbecbeSmrg # each Makefile.in and add a new line on top of each file to say so. 655486bbecbeSmrg # Grep'ing the whole file is not good either: AIX grep has a line 655586bbecbeSmrg # limit of 2048, but all sed's we know have understand at least 4000. 655686bbecbeSmrg if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 655786bbecbeSmrg dirpart=`$as_dirname -- "$mf" || 655853354cdbSmrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 655953354cdbSmrg X"$mf" : 'X\(//\)[^/]' \| \ 656053354cdbSmrg X"$mf" : 'X\(//\)$' \| \ 656153354cdbSmrg X"$mf" : 'X\(/\)' \| . 2>/dev/null || 656286bbecbeSmrg$as_echo X"$mf" | 656353354cdbSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 656453354cdbSmrg s//\1/ 656553354cdbSmrg q 656653354cdbSmrg } 656753354cdbSmrg /^X\(\/\/\)[^/].*/{ 656853354cdbSmrg s//\1/ 656953354cdbSmrg q 657053354cdbSmrg } 657153354cdbSmrg /^X\(\/\/\)$/{ 657253354cdbSmrg s//\1/ 657353354cdbSmrg q 657453354cdbSmrg } 657553354cdbSmrg /^X\(\/\).*/{ 657653354cdbSmrg s//\1/ 657753354cdbSmrg q 657853354cdbSmrg } 657953354cdbSmrg s/.*/./; q'` 658086bbecbeSmrg else 658186bbecbeSmrg continue 658286bbecbeSmrg fi 658386bbecbeSmrg # Extract the definition of DEPDIR, am__include, and am__quote 658486bbecbeSmrg # from the Makefile without running `make'. 658586bbecbeSmrg DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 658686bbecbeSmrg test -z "$DEPDIR" && continue 658786bbecbeSmrg am__include=`sed -n 's/^am__include = //p' < "$mf"` 658886bbecbeSmrg test -z "am__include" && continue 658986bbecbeSmrg am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 659086bbecbeSmrg # When using ansi2knr, U may be empty or an underscore; expand it 659186bbecbeSmrg U=`sed -n 's/^U = //p' < "$mf"` 659286bbecbeSmrg # Find all dependency output files, they are included files with 659386bbecbeSmrg # $(DEPDIR) in their names. We invoke sed twice because it is the 659486bbecbeSmrg # simplest approach to changing $(DEPDIR) to its actual value in the 659586bbecbeSmrg # expansion. 659686bbecbeSmrg for file in `sed -n " 659786bbecbeSmrg s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 659886bbecbeSmrg sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 659986bbecbeSmrg # Make sure the directory exists. 660086bbecbeSmrg test -f "$dirpart/$file" && continue 660186bbecbeSmrg fdir=`$as_dirname -- "$file" || 660253354cdbSmrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 660353354cdbSmrg X"$file" : 'X\(//\)[^/]' \| \ 660453354cdbSmrg X"$file" : 'X\(//\)$' \| \ 660553354cdbSmrg X"$file" : 'X\(/\)' \| . 2>/dev/null || 660686bbecbeSmrg$as_echo X"$file" | 660753354cdbSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 660853354cdbSmrg s//\1/ 660953354cdbSmrg q 661053354cdbSmrg } 661153354cdbSmrg /^X\(\/\/\)[^/].*/{ 661253354cdbSmrg s//\1/ 661353354cdbSmrg q 661453354cdbSmrg } 661553354cdbSmrg /^X\(\/\/\)$/{ 661653354cdbSmrg s//\1/ 661753354cdbSmrg q 661853354cdbSmrg } 661953354cdbSmrg /^X\(\/\).*/{ 662053354cdbSmrg s//\1/ 662153354cdbSmrg q 662253354cdbSmrg } 662353354cdbSmrg s/.*/./; q'` 662486bbecbeSmrg as_dir=$dirpart/$fdir; as_fn_mkdir_p 662586bbecbeSmrg # echo "creating $dirpart/$file" 662686bbecbeSmrg echo '# dummy' > "$dirpart/$file" 662753354cdbSmrg done 662853354cdbSmrg done 662986bbecbeSmrg} 663053354cdbSmrg ;; 663153354cdbSmrg 663253354cdbSmrg esac 663353354cdbSmrgdone # for ac_tag 663453354cdbSmrg 663553354cdbSmrg 663686bbecbeSmrgas_fn_exit 0 663753354cdbSmrg_ACEOF 663853354cdbSmrgac_clean_files=$ac_clean_files_save 663953354cdbSmrg 664086bbecbeSmrgtest $ac_write_fail = 0 || 664186bbecbeSmrg as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 664286bbecbeSmrg 664353354cdbSmrg 664453354cdbSmrg# configure is writing to config.log, and then calls config.status. 664553354cdbSmrg# config.status does its own redirection, appending to config.log. 664653354cdbSmrg# Unfortunately, on DOS this fails, as config.log is still kept open 664753354cdbSmrg# by configure, so config.status won't be able to write to it; its 664853354cdbSmrg# output is simply discarded. So we exec the FD to /dev/null, 664953354cdbSmrg# effectively closing config.log, so it can be properly (re)opened and 665053354cdbSmrg# appended to by config.status. When coming back to configure, we 665153354cdbSmrg# need to make the FD available again. 665253354cdbSmrgif test "$no_create" != yes; then 665353354cdbSmrg ac_cs_success=: 665453354cdbSmrg ac_config_status_args= 665553354cdbSmrg test "$silent" = yes && 665653354cdbSmrg ac_config_status_args="$ac_config_status_args --quiet" 665753354cdbSmrg exec 5>/dev/null 665853354cdbSmrg $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 665953354cdbSmrg exec 5>>config.log 666053354cdbSmrg # Use ||, not &&, to avoid exiting from the if with $? = 1, which 666153354cdbSmrg # would make configure fail if this is the last instruction. 666286bbecbeSmrg $ac_cs_success || as_fn_exit 1 666386bbecbeSmrgfi 666486bbecbeSmrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 666586bbecbeSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 666686bbecbeSmrg$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 666753354cdbSmrgfi 666853354cdbSmrg 6669