configure revision 55074dd0
1a1d141d5Smrg#! /bin/sh 2a1d141d5Smrg# Guess values for system-dependent variables and create Makefiles. 355074dd0Smrg# Generated by GNU Autoconf 2.68 for xeyes 1.1.1. 4a1d141d5Smrg# 5a1d141d5Smrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 6a1d141d5Smrg# 755074dd0Smrg# 82ddb6cf1Smrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 955074dd0Smrg# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 1055074dd0Smrg# Foundation, Inc. 1155074dd0Smrg# 1255074dd0Smrg# 13a1d141d5Smrg# This configure script is free software; the Free Software Foundation 14a1d141d5Smrg# gives unlimited permission to copy, distribute and modify it. 1555074dd0Smrg## -------------------- ## 1655074dd0Smrg## M4sh Initialization. ## 1755074dd0Smrg## -------------------- ## 18a1d141d5Smrg 192ddb6cf1Smrg# Be more Bourne compatible 202ddb6cf1SmrgDUALCASE=1; export DUALCASE # for MKS sh 2155074dd0Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 22a1d141d5Smrg emulate sh 23a1d141d5Smrg NULLCMD=: 242ddb6cf1Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 25a1d141d5Smrg # is contrary to our usage. Disable this feature. 26a1d141d5Smrg alias -g '${1+"$@"}'='"$@"' 272ddb6cf1Smrg setopt NO_GLOB_SUBST 282ddb6cf1Smrgelse 2955074dd0Smrg case `(set -o) 2>/dev/null` in #( 3055074dd0Smrg *posix*) : 3155074dd0Smrg set -o posix ;; #( 3255074dd0Smrg *) : 3355074dd0Smrg ;; 342ddb6cf1Smrgesac 352ddb6cf1Smrgfi 362ddb6cf1Smrg 372ddb6cf1Smrg 382ddb6cf1Smrgas_nl=' 392ddb6cf1Smrg' 402ddb6cf1Smrgexport as_nl 412ddb6cf1Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 422ddb6cf1Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 432ddb6cf1Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 442ddb6cf1Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 4555074dd0Smrg# Prefer a ksh shell builtin over an external printf program on Solaris, 4655074dd0Smrg# but without wasting forks for bash or zsh. 4755074dd0Smrgif test -z "$BASH_VERSION$ZSH_VERSION" \ 4855074dd0Smrg && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 4955074dd0Smrg as_echo='print -r --' 5055074dd0Smrg as_echo_n='print -rn --' 5155074dd0Smrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 522ddb6cf1Smrg as_echo='printf %s\n' 532ddb6cf1Smrg as_echo_n='printf %s' 542ddb6cf1Smrgelse 552ddb6cf1Smrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 562ddb6cf1Smrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 572ddb6cf1Smrg as_echo_n='/usr/ucb/echo -n' 582ddb6cf1Smrg else 592ddb6cf1Smrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 602ddb6cf1Smrg as_echo_n_body='eval 612ddb6cf1Smrg arg=$1; 6255074dd0Smrg case $arg in #( 632ddb6cf1Smrg *"$as_nl"*) 642ddb6cf1Smrg expr "X$arg" : "X\\(.*\\)$as_nl"; 652ddb6cf1Smrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 662ddb6cf1Smrg esac; 672ddb6cf1Smrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 682ddb6cf1Smrg ' 692ddb6cf1Smrg export as_echo_n_body 702ddb6cf1Smrg as_echo_n='sh -c $as_echo_n_body as_echo' 712ddb6cf1Smrg fi 722ddb6cf1Smrg export as_echo_body 732ddb6cf1Smrg as_echo='sh -c $as_echo_body as_echo' 742ddb6cf1Smrgfi 752ddb6cf1Smrg 762ddb6cf1Smrg# The user is always right. 772ddb6cf1Smrgif test "${PATH_SEPARATOR+set}" != set; then 782ddb6cf1Smrg PATH_SEPARATOR=: 792ddb6cf1Smrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 802ddb6cf1Smrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 812ddb6cf1Smrg PATH_SEPARATOR=';' 822ddb6cf1Smrg } 83a1d141d5Smrgfi 84a1d141d5Smrg 85a1d141d5Smrg 862ddb6cf1Smrg# IFS 872ddb6cf1Smrg# We need space, tab and new line, in precisely that order. Quoting is 882ddb6cf1Smrg# there to prevent editors from complaining about space-tab. 892ddb6cf1Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 902ddb6cf1Smrg# splitting by setting IFS to empty value.) 912ddb6cf1SmrgIFS=" "" $as_nl" 922ddb6cf1Smrg 932ddb6cf1Smrg# Find who we are. Look in the path if we contain no directory separator. 9455074dd0Smrgas_myself= 9555074dd0Smrgcase $0 in #(( 962ddb6cf1Smrg *[\\/]* ) as_myself=$0 ;; 972ddb6cf1Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 982ddb6cf1Smrgfor as_dir in $PATH 992ddb6cf1Smrgdo 1002ddb6cf1Smrg IFS=$as_save_IFS 1012ddb6cf1Smrg test -z "$as_dir" && as_dir=. 10255074dd0Smrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 10355074dd0Smrg done 1042ddb6cf1SmrgIFS=$as_save_IFS 1052ddb6cf1Smrg 1062ddb6cf1Smrg ;; 1072ddb6cf1Smrgesac 1082ddb6cf1Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 1092ddb6cf1Smrg# in which case we are not to be found in the path. 1102ddb6cf1Smrgif test "x$as_myself" = x; then 1112ddb6cf1Smrg as_myself=$0 1122ddb6cf1Smrgfi 1132ddb6cf1Smrgif test ! -f "$as_myself"; then 1142ddb6cf1Smrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 11555074dd0Smrg exit 1 1162ddb6cf1Smrgfi 1172ddb6cf1Smrg 11855074dd0Smrg# Unset variables that we do not need and which cause bugs (e.g. in 11955074dd0Smrg# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 12055074dd0Smrg# suppresses any "Segmentation fault" message there. '((' could 12155074dd0Smrg# trigger a bug in pdksh 5.2.14. 12255074dd0Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH 12355074dd0Smrgdo eval test x\${$as_var+set} = xset \ 12455074dd0Smrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 1252ddb6cf1Smrgdone 126a1d141d5SmrgPS1='$ ' 127a1d141d5SmrgPS2='> ' 128a1d141d5SmrgPS4='+ ' 129a1d141d5Smrg 130a1d141d5Smrg# NLS nuisances. 1312ddb6cf1SmrgLC_ALL=C 1322ddb6cf1Smrgexport LC_ALL 1332ddb6cf1SmrgLANGUAGE=C 1342ddb6cf1Smrgexport LANGUAGE 135a1d141d5Smrg 13655074dd0Smrg# CDPATH. 13755074dd0Smrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 13855074dd0Smrg 13955074dd0Smrgif test "x$CONFIG_SHELL" = x; then 14055074dd0Smrg as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 14155074dd0Smrg emulate sh 14255074dd0Smrg NULLCMD=: 14355074dd0Smrg # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 14455074dd0Smrg # is contrary to our usage. Disable this feature. 14555074dd0Smrg alias -g '\${1+\"\$@\"}'='\"\$@\"' 14655074dd0Smrg setopt NO_GLOB_SUBST 14755074dd0Smrgelse 14855074dd0Smrg case \`(set -o) 2>/dev/null\` in #( 14955074dd0Smrg *posix*) : 15055074dd0Smrg set -o posix ;; #( 15155074dd0Smrg *) : 15255074dd0Smrg ;; 15355074dd0Smrgesac 15455074dd0Smrgfi 15555074dd0Smrg" 15655074dd0Smrg as_required="as_fn_return () { (exit \$1); } 15755074dd0Smrgas_fn_success () { as_fn_return 0; } 15855074dd0Smrgas_fn_failure () { as_fn_return 1; } 15955074dd0Smrgas_fn_ret_success () { return 0; } 16055074dd0Smrgas_fn_ret_failure () { return 1; } 16155074dd0Smrg 16255074dd0Smrgexitcode=0 16355074dd0Smrgas_fn_success || { exitcode=1; echo as_fn_success failed.; } 16455074dd0Smrgas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 16555074dd0Smrgas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 16655074dd0Smrgas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 16755074dd0Smrgif ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 16855074dd0Smrg 16955074dd0Smrgelse 17055074dd0Smrg exitcode=1; echo positional parameters were not saved. 17155074dd0Smrgfi 17255074dd0Smrgtest x\$exitcode = x0 || exit 1" 17355074dd0Smrg as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 17455074dd0Smrg as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 17555074dd0Smrg eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 17655074dd0Smrg test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 17755074dd0Smrgtest \$(( 1 + 1 )) = 2 || exit 1" 17855074dd0Smrg if (eval "$as_required") 2>/dev/null; then : 17955074dd0Smrg as_have_required=yes 18055074dd0Smrgelse 18155074dd0Smrg as_have_required=no 18255074dd0Smrgfi 18355074dd0Smrg if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 18455074dd0Smrg 18555074dd0Smrgelse 18655074dd0Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18755074dd0Smrgas_found=false 18855074dd0Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 18955074dd0Smrgdo 19055074dd0Smrg IFS=$as_save_IFS 19155074dd0Smrg test -z "$as_dir" && as_dir=. 19255074dd0Smrg as_found=: 19355074dd0Smrg case $as_dir in #( 19455074dd0Smrg /*) 19555074dd0Smrg for as_base in sh bash ksh sh5; do 19655074dd0Smrg # Try only shells that exist, to save several forks. 19755074dd0Smrg as_shell=$as_dir/$as_base 19855074dd0Smrg if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 19955074dd0Smrg { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 20055074dd0Smrg CONFIG_SHELL=$as_shell as_have_required=yes 20155074dd0Smrg if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 20255074dd0Smrg break 2 20355074dd0Smrgfi 20455074dd0Smrgfi 20555074dd0Smrg done;; 20655074dd0Smrg esac 20755074dd0Smrg as_found=false 20855074dd0Smrgdone 20955074dd0Smrg$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 21055074dd0Smrg { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 21155074dd0Smrg CONFIG_SHELL=$SHELL as_have_required=yes 21255074dd0Smrgfi; } 21355074dd0SmrgIFS=$as_save_IFS 21455074dd0Smrg 21555074dd0Smrg 21655074dd0Smrg if test "x$CONFIG_SHELL" != x; then : 21755074dd0Smrg # We cannot yet assume a decent shell, so we have to provide a 21855074dd0Smrg # neutralization value for shells without unset; and this also 21955074dd0Smrg # works around shells that cannot unset nonexistent variables. 22055074dd0Smrg # Preserve -v and -x to the replacement shell. 22155074dd0Smrg BASH_ENV=/dev/null 22255074dd0Smrg ENV=/dev/null 22355074dd0Smrg (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 22455074dd0Smrg export CONFIG_SHELL 22555074dd0Smrg case $- in # (((( 22655074dd0Smrg *v*x* | *x*v* ) as_opts=-vx ;; 22755074dd0Smrg *v* ) as_opts=-v ;; 22855074dd0Smrg *x* ) as_opts=-x ;; 22955074dd0Smrg * ) as_opts= ;; 23055074dd0Smrg esac 23155074dd0Smrg exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 23255074dd0Smrgfi 23355074dd0Smrg 23455074dd0Smrg if test x$as_have_required = xno; then : 23555074dd0Smrg $as_echo "$0: This script requires a shell more modern than all" 23655074dd0Smrg $as_echo "$0: the shells that I found on your system." 23755074dd0Smrg if test x${ZSH_VERSION+set} = xset ; then 23855074dd0Smrg $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 23955074dd0Smrg $as_echo "$0: be upgraded to zsh 4.3.4 or later." 24055074dd0Smrg else 24155074dd0Smrg $as_echo "$0: Please tell bug-autoconf@gnu.org and 24255074dd0Smrg$0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg 24355074dd0Smrg$0: about your system, including any error possibly output 24455074dd0Smrg$0: before this message. Then install a modern shell, or 24555074dd0Smrg$0: manually run the script under such a shell if you do 24655074dd0Smrg$0: have one." 24755074dd0Smrg fi 24855074dd0Smrg exit 1 24955074dd0Smrgfi 25055074dd0Smrgfi 25155074dd0Smrgfi 25255074dd0SmrgSHELL=${CONFIG_SHELL-/bin/sh} 25355074dd0Smrgexport SHELL 25455074dd0Smrg# Unset more variables known to interfere with behavior of common tools. 25555074dd0SmrgCLICOLOR_FORCE= GREP_OPTIONS= 25655074dd0Smrgunset CLICOLOR_FORCE GREP_OPTIONS 25755074dd0Smrg 25855074dd0Smrg## --------------------- ## 25955074dd0Smrg## M4sh Shell Functions. ## 26055074dd0Smrg## --------------------- ## 26155074dd0Smrg# as_fn_unset VAR 26255074dd0Smrg# --------------- 26355074dd0Smrg# Portably unset VAR. 26455074dd0Smrgas_fn_unset () 26555074dd0Smrg{ 26655074dd0Smrg { eval $1=; unset $1;} 26755074dd0Smrg} 26855074dd0Smrgas_unset=as_fn_unset 26955074dd0Smrg 27055074dd0Smrg# as_fn_set_status STATUS 27155074dd0Smrg# ----------------------- 27255074dd0Smrg# Set $? to STATUS, without forking. 27355074dd0Smrgas_fn_set_status () 27455074dd0Smrg{ 27555074dd0Smrg return $1 27655074dd0Smrg} # as_fn_set_status 27755074dd0Smrg 27855074dd0Smrg# as_fn_exit STATUS 27955074dd0Smrg# ----------------- 28055074dd0Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 28155074dd0Smrgas_fn_exit () 28255074dd0Smrg{ 28355074dd0Smrg set +e 28455074dd0Smrg as_fn_set_status $1 28555074dd0Smrg exit $1 28655074dd0Smrg} # as_fn_exit 28755074dd0Smrg 28855074dd0Smrg# as_fn_mkdir_p 28955074dd0Smrg# ------------- 29055074dd0Smrg# Create "$as_dir" as a directory, including parents if necessary. 29155074dd0Smrgas_fn_mkdir_p () 29255074dd0Smrg{ 29355074dd0Smrg 29455074dd0Smrg case $as_dir in #( 29555074dd0Smrg -*) as_dir=./$as_dir;; 29655074dd0Smrg esac 29755074dd0Smrg test -d "$as_dir" || eval $as_mkdir_p || { 29855074dd0Smrg as_dirs= 29955074dd0Smrg while :; do 30055074dd0Smrg case $as_dir in #( 30155074dd0Smrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 30255074dd0Smrg *) as_qdir=$as_dir;; 30355074dd0Smrg esac 30455074dd0Smrg as_dirs="'$as_qdir' $as_dirs" 30555074dd0Smrg as_dir=`$as_dirname -- "$as_dir" || 30655074dd0Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 30755074dd0Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 30855074dd0Smrg X"$as_dir" : 'X\(//\)$' \| \ 30955074dd0Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 31055074dd0Smrg$as_echo X"$as_dir" | 31155074dd0Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 31255074dd0Smrg s//\1/ 31355074dd0Smrg q 31455074dd0Smrg } 31555074dd0Smrg /^X\(\/\/\)[^/].*/{ 31655074dd0Smrg s//\1/ 31755074dd0Smrg q 31855074dd0Smrg } 31955074dd0Smrg /^X\(\/\/\)$/{ 32055074dd0Smrg s//\1/ 32155074dd0Smrg q 32255074dd0Smrg } 32355074dd0Smrg /^X\(\/\).*/{ 32455074dd0Smrg s//\1/ 32555074dd0Smrg q 32655074dd0Smrg } 32755074dd0Smrg s/.*/./; q'` 32855074dd0Smrg test -d "$as_dir" && break 32955074dd0Smrg done 33055074dd0Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 33155074dd0Smrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 33255074dd0Smrg 33355074dd0Smrg 33455074dd0Smrg} # as_fn_mkdir_p 33555074dd0Smrg# as_fn_append VAR VALUE 33655074dd0Smrg# ---------------------- 33755074dd0Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take 33855074dd0Smrg# advantage of any shell optimizations that allow amortized linear growth over 33955074dd0Smrg# repeated appends, instead of the typical quadratic growth present in naive 34055074dd0Smrg# implementations. 34155074dd0Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 34255074dd0Smrg eval 'as_fn_append () 34355074dd0Smrg { 34455074dd0Smrg eval $1+=\$2 34555074dd0Smrg }' 34655074dd0Smrgelse 34755074dd0Smrg as_fn_append () 34855074dd0Smrg { 34955074dd0Smrg eval $1=\$$1\$2 35055074dd0Smrg } 35155074dd0Smrgfi # as_fn_append 35255074dd0Smrg 35355074dd0Smrg# as_fn_arith ARG... 35455074dd0Smrg# ------------------ 35555074dd0Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the 35655074dd0Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 35755074dd0Smrg# must be portable across $(()) and expr. 35855074dd0Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 35955074dd0Smrg eval 'as_fn_arith () 36055074dd0Smrg { 36155074dd0Smrg as_val=$(( $* )) 36255074dd0Smrg }' 36355074dd0Smrgelse 36455074dd0Smrg as_fn_arith () 36555074dd0Smrg { 36655074dd0Smrg as_val=`expr "$@" || test $? -eq 1` 36755074dd0Smrg } 36855074dd0Smrgfi # as_fn_arith 36955074dd0Smrg 37055074dd0Smrg 37155074dd0Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 37255074dd0Smrg# ---------------------------------------- 37355074dd0Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 37455074dd0Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 37555074dd0Smrg# script with STATUS, using 1 if that was 0. 37655074dd0Smrgas_fn_error () 37755074dd0Smrg{ 37855074dd0Smrg as_status=$1; test $as_status -eq 0 && as_status=1 37955074dd0Smrg if test "$4"; then 38055074dd0Smrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 38155074dd0Smrg $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 38255074dd0Smrg fi 38355074dd0Smrg $as_echo "$as_me: error: $2" >&2 38455074dd0Smrg as_fn_exit $as_status 38555074dd0Smrg} # as_fn_error 38655074dd0Smrg 3872ddb6cf1Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 3882ddb6cf1Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 389a1d141d5Smrg as_expr=expr 390a1d141d5Smrgelse 391a1d141d5Smrg as_expr=false 392a1d141d5Smrgfi 393a1d141d5Smrg 3942ddb6cf1Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 395a1d141d5Smrg as_basename=basename 396a1d141d5Smrgelse 397a1d141d5Smrg as_basename=false 398a1d141d5Smrgfi 399a1d141d5Smrg 40055074dd0Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 40155074dd0Smrg as_dirname=dirname 40255074dd0Smrgelse 40355074dd0Smrg as_dirname=false 40455074dd0Smrgfi 405a1d141d5Smrg 4062ddb6cf1Smrgas_me=`$as_basename -- "$0" || 407a1d141d5Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 408a1d141d5Smrg X"$0" : 'X\(//\)$' \| \ 4092ddb6cf1Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 4102ddb6cf1Smrg$as_echo X/"$0" | 4112ddb6cf1Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 4122ddb6cf1Smrg s//\1/ 4132ddb6cf1Smrg q 4142ddb6cf1Smrg } 4152ddb6cf1Smrg /^X\/\(\/\/\)$/{ 4162ddb6cf1Smrg s//\1/ 4172ddb6cf1Smrg q 4182ddb6cf1Smrg } 4192ddb6cf1Smrg /^X\/\(\/\).*/{ 4202ddb6cf1Smrg s//\1/ 4212ddb6cf1Smrg q 4222ddb6cf1Smrg } 4232ddb6cf1Smrg s/.*/./; q'` 424a1d141d5Smrg 42555074dd0Smrg# Avoid depending upon Character Ranges. 42655074dd0Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 42755074dd0Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 42855074dd0Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 42955074dd0Smrgas_cr_digits='0123456789' 43055074dd0Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 431a1d141d5Smrg 432a1d141d5Smrg 43355074dd0Smrg as_lineno_1=$LINENO as_lineno_1a=$LINENO 43455074dd0Smrg as_lineno_2=$LINENO as_lineno_2a=$LINENO 43555074dd0Smrg eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 43655074dd0Smrg test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 43755074dd0Smrg # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 43855074dd0Smrg sed -n ' 43955074dd0Smrg p 44055074dd0Smrg /[$]LINENO/= 44155074dd0Smrg ' <$as_myself | 44255074dd0Smrg sed ' 44355074dd0Smrg s/[$]LINENO.*/&-/ 44455074dd0Smrg t lineno 44555074dd0Smrg b 44655074dd0Smrg :lineno 44755074dd0Smrg N 44855074dd0Smrg :loop 44955074dd0Smrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 45055074dd0Smrg t loop 45155074dd0Smrg s/-\n.*// 45255074dd0Smrg ' >$as_me.lineno && 45355074dd0Smrg chmod +x "$as_me.lineno" || 45455074dd0Smrg { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 455a1d141d5Smrg 45655074dd0Smrg # Don't try to exec as it changes $[0], causing all sort of problems 45755074dd0Smrg # (the dirname of $[0] is not the place where we might find the 45855074dd0Smrg # original and so on. Autoconf is especially sensitive to this). 45955074dd0Smrg . "./$as_me.lineno" 46055074dd0Smrg # Exit status is that of the last command. 46155074dd0Smrg exit 4622ddb6cf1Smrg} 463a1d141d5Smrg 46455074dd0SmrgECHO_C= ECHO_N= ECHO_T= 46555074dd0Smrgcase `echo -n x` in #((((( 46655074dd0Smrg-n*) 46755074dd0Smrg case `echo 'xy\c'` in 46855074dd0Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 46955074dd0Smrg xy) ECHO_C='\c';; 47055074dd0Smrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 47155074dd0Smrg ECHO_T=' ';; 47255074dd0Smrg esac;; 47355074dd0Smrg*) 47455074dd0Smrg ECHO_N='-n';; 47555074dd0Smrgesac 476a1d141d5Smrg 47755074dd0Smrgrm -f conf$$ conf$$.exe conf$$.file 47855074dd0Smrgif test -d conf$$.dir; then 47955074dd0Smrg rm -f conf$$.dir/conf$$.file 48055074dd0Smrgelse 48155074dd0Smrg rm -f conf$$.dir 48255074dd0Smrg mkdir conf$$.dir 2>/dev/null 4832ddb6cf1Smrgfi 48455074dd0Smrgif (echo >conf$$.file) 2>/dev/null; then 48555074dd0Smrg if ln -s conf$$.file conf$$ 2>/dev/null; then 48655074dd0Smrg as_ln_s='ln -s' 48755074dd0Smrg # ... but there are two gotchas: 48855074dd0Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 48955074dd0Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 49055074dd0Smrg # In both cases, we have to default to `cp -p'. 49155074dd0Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 49255074dd0Smrg as_ln_s='cp -p' 49355074dd0Smrg elif ln conf$$.file conf$$ 2>/dev/null; then 49455074dd0Smrg as_ln_s=ln 49555074dd0Smrg else 49655074dd0Smrg as_ln_s='cp -p' 49755074dd0Smrg fi 4982ddb6cf1Smrgelse 49955074dd0Smrg as_ln_s='cp -p' 5002ddb6cf1Smrgfi 50155074dd0Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 50255074dd0Smrgrmdir conf$$.dir 2>/dev/null 5032ddb6cf1Smrg 50455074dd0Smrgif mkdir -p . 2>/dev/null; then 50555074dd0Smrg as_mkdir_p='mkdir -p "$as_dir"' 50655074dd0Smrgelse 50755074dd0Smrg test -d ./-p && rmdir ./-p 50855074dd0Smrg as_mkdir_p=false 5092ddb6cf1Smrgfi 5102ddb6cf1Smrg 51155074dd0Smrgif test -x / >/dev/null 2>&1; then 51255074dd0Smrg as_test_x='test -x' 5132ddb6cf1Smrgelse 51455074dd0Smrg if ls -dL / >/dev/null 2>&1; then 51555074dd0Smrg as_ls_L_option=L 51655074dd0Smrg else 51755074dd0Smrg as_ls_L_option= 51855074dd0Smrg fi 51955074dd0Smrg as_test_x=' 52055074dd0Smrg eval sh -c '\'' 52155074dd0Smrg if test -d "$1"; then 52255074dd0Smrg test -d "$1/."; 52355074dd0Smrg else 52455074dd0Smrg case $1 in #( 52555074dd0Smrg -*)set "./$1";; 52655074dd0Smrg esac; 52755074dd0Smrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 52855074dd0Smrg ???[sx]*):;;*)false;;esac;fi 52955074dd0Smrg '\'' sh 53055074dd0Smrg ' 5312ddb6cf1Smrgfi 53255074dd0Smrgas_executable_p=$as_test_x 5332ddb6cf1Smrg 53455074dd0Smrg# Sed expression to map a string onto a valid CPP name. 53555074dd0Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5362ddb6cf1Smrg 53755074dd0Smrg# Sed expression to map a string onto a valid variable name. 53855074dd0Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5392ddb6cf1Smrg 5402ddb6cf1Smrg 54155074dd0Smrgtest -n "$DJDIR" || exec 7<&0 </dev/null 54255074dd0Smrgexec 6>&1 543a1d141d5Smrg 544a1d141d5Smrg# Name of the host. 54555074dd0Smrg# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 546a1d141d5Smrg# so uname gets run too. 547a1d141d5Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 548a1d141d5Smrg 549a1d141d5Smrg# 550a1d141d5Smrg# Initializations. 551a1d141d5Smrg# 552a1d141d5Smrgac_default_prefix=/usr/local 5532ddb6cf1Smrgac_clean_files= 554a1d141d5Smrgac_config_libobj_dir=. 5552ddb6cf1SmrgLIBOBJS= 556a1d141d5Smrgcross_compiling=no 557a1d141d5Smrgsubdirs= 558a1d141d5SmrgMFLAGS= 559a1d141d5SmrgMAKEFLAGS= 560a1d141d5Smrg 561a1d141d5Smrg# Identity of this package. 562a1d141d5SmrgPACKAGE_NAME='xeyes' 563a1d141d5SmrgPACKAGE_TARNAME='xeyes' 56455074dd0SmrgPACKAGE_VERSION='1.1.1' 56555074dd0SmrgPACKAGE_STRING='xeyes 1.1.1' 566a1d141d5SmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 56755074dd0SmrgPACKAGE_URL='' 568a1d141d5Smrg 56955074dd0Smrgac_unique_file="Makefile.am" 5702ddb6cf1Smrg# Factoring default headers for most tests. 5712ddb6cf1Smrgac_includes_default="\ 5722ddb6cf1Smrg#include <stdio.h> 5732ddb6cf1Smrg#ifdef HAVE_SYS_TYPES_H 5742ddb6cf1Smrg# include <sys/types.h> 5752ddb6cf1Smrg#endif 5762ddb6cf1Smrg#ifdef HAVE_SYS_STAT_H 5772ddb6cf1Smrg# include <sys/stat.h> 5782ddb6cf1Smrg#endif 5792ddb6cf1Smrg#ifdef STDC_HEADERS 5802ddb6cf1Smrg# include <stdlib.h> 5812ddb6cf1Smrg# include <stddef.h> 5822ddb6cf1Smrg#else 5832ddb6cf1Smrg# ifdef HAVE_STDLIB_H 5842ddb6cf1Smrg# include <stdlib.h> 5852ddb6cf1Smrg# endif 5862ddb6cf1Smrg#endif 5872ddb6cf1Smrg#ifdef HAVE_STRING_H 5882ddb6cf1Smrg# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 5892ddb6cf1Smrg# include <memory.h> 5902ddb6cf1Smrg# endif 5912ddb6cf1Smrg# include <string.h> 5922ddb6cf1Smrg#endif 5932ddb6cf1Smrg#ifdef HAVE_STRINGS_H 5942ddb6cf1Smrg# include <strings.h> 5952ddb6cf1Smrg#endif 5962ddb6cf1Smrg#ifdef HAVE_INTTYPES_H 5972ddb6cf1Smrg# include <inttypes.h> 5982ddb6cf1Smrg#endif 5992ddb6cf1Smrg#ifdef HAVE_STDINT_H 6002ddb6cf1Smrg# include <stdint.h> 6012ddb6cf1Smrg#endif 6022ddb6cf1Smrg#ifdef HAVE_UNISTD_H 6032ddb6cf1Smrg# include <unistd.h> 6042ddb6cf1Smrg#endif" 6052ddb6cf1Smrg 6062ddb6cf1Smrgac_subst_vars='am__EXEEXT_FALSE 6072ddb6cf1Smrgam__EXEEXT_TRUE 6082ddb6cf1SmrgLTLIBOBJS 6092ddb6cf1SmrgLIBOBJS 6102ddb6cf1SmrgXRENDER_LIBS 6112ddb6cf1SmrgXRENDER_CFLAGS 6122ddb6cf1SmrgXEYES_LIBS 6132ddb6cf1SmrgXEYES_CFLAGS 61455074dd0SmrgAM_BACKSLASH 61555074dd0SmrgAM_DEFAULT_VERBOSITY 61655074dd0SmrgMAN_SUBSTS 61755074dd0SmrgXORG_MAN_PAGE 6182ddb6cf1SmrgADMIN_MAN_DIR 6192ddb6cf1SmrgDRIVER_MAN_DIR 6202ddb6cf1SmrgMISC_MAN_DIR 6212ddb6cf1SmrgFILE_MAN_DIR 6222ddb6cf1SmrgLIB_MAN_DIR 6232ddb6cf1SmrgAPP_MAN_DIR 6242ddb6cf1SmrgADMIN_MAN_SUFFIX 6252ddb6cf1SmrgDRIVER_MAN_SUFFIX 6262ddb6cf1SmrgMISC_MAN_SUFFIX 6272ddb6cf1SmrgFILE_MAN_SUFFIX 6282ddb6cf1SmrgLIB_MAN_SUFFIX 6292ddb6cf1SmrgAPP_MAN_SUFFIX 63055074dd0SmrgSED 6312ddb6cf1Smrghost_os 6322ddb6cf1Smrghost_vendor 6332ddb6cf1Smrghost_cpu 6342ddb6cf1Smrghost 6352ddb6cf1Smrgbuild_os 6362ddb6cf1Smrgbuild_vendor 6372ddb6cf1Smrgbuild_cpu 6382ddb6cf1Smrgbuild 6392ddb6cf1SmrgINSTALL_CMD 6402ddb6cf1SmrgPKG_CONFIG 6412ddb6cf1SmrgCHANGELOG_CMD 6422ddb6cf1SmrgCWARNFLAGS 6432ddb6cf1SmrgEGREP 6442ddb6cf1SmrgGREP 6452ddb6cf1SmrgCPP 6462ddb6cf1Smrgam__fastdepCC_FALSE 6472ddb6cf1Smrgam__fastdepCC_TRUE 6482ddb6cf1SmrgCCDEPMODE 6492ddb6cf1SmrgAMDEPBACKSLASH 6502ddb6cf1SmrgAMDEP_FALSE 6512ddb6cf1SmrgAMDEP_TRUE 6522ddb6cf1Smrgam__quote 6532ddb6cf1Smrgam__include 6542ddb6cf1SmrgDEPDIR 6552ddb6cf1SmrgOBJEXT 6562ddb6cf1SmrgEXEEXT 6572ddb6cf1Smrgac_ct_CC 6582ddb6cf1SmrgCPPFLAGS 6592ddb6cf1SmrgLDFLAGS 6602ddb6cf1SmrgCFLAGS 6612ddb6cf1SmrgCC 6622ddb6cf1SmrgMAINT 6632ddb6cf1SmrgMAINTAINER_MODE_FALSE 6642ddb6cf1SmrgMAINTAINER_MODE_TRUE 6652ddb6cf1Smrgam__untar 6662ddb6cf1Smrgam__tar 6672ddb6cf1SmrgAMTAR 6682ddb6cf1Smrgam__leading_dot 6692ddb6cf1SmrgSET_MAKE 6702ddb6cf1SmrgAWK 6712ddb6cf1Smrgmkdir_p 6722ddb6cf1SmrgMKDIR_P 6732ddb6cf1SmrgINSTALL_STRIP_PROGRAM 6742ddb6cf1SmrgSTRIP 6752ddb6cf1Smrginstall_sh 6762ddb6cf1SmrgMAKEINFO 6772ddb6cf1SmrgAUTOHEADER 6782ddb6cf1SmrgAUTOMAKE 6792ddb6cf1SmrgAUTOCONF 6802ddb6cf1SmrgACLOCAL 6812ddb6cf1SmrgVERSION 6822ddb6cf1SmrgPACKAGE 6832ddb6cf1SmrgCYGPATH_W 6842ddb6cf1Smrgam__isrc 6852ddb6cf1SmrgINSTALL_DATA 6862ddb6cf1SmrgINSTALL_SCRIPT 6872ddb6cf1SmrgINSTALL_PROGRAM 6882ddb6cf1Smrgtarget_alias 6892ddb6cf1Smrghost_alias 6902ddb6cf1Smrgbuild_alias 6912ddb6cf1SmrgLIBS 6922ddb6cf1SmrgECHO_T 6932ddb6cf1SmrgECHO_N 6942ddb6cf1SmrgECHO_C 6952ddb6cf1SmrgDEFS 6962ddb6cf1Smrgmandir 6972ddb6cf1Smrglocaledir 6982ddb6cf1Smrglibdir 6992ddb6cf1Smrgpsdir 7002ddb6cf1Smrgpdfdir 7012ddb6cf1Smrgdvidir 7022ddb6cf1Smrghtmldir 7032ddb6cf1Smrginfodir 7042ddb6cf1Smrgdocdir 7052ddb6cf1Smrgoldincludedir 7062ddb6cf1Smrgincludedir 7072ddb6cf1Smrglocalstatedir 7082ddb6cf1Smrgsharedstatedir 7092ddb6cf1Smrgsysconfdir 7102ddb6cf1Smrgdatadir 7112ddb6cf1Smrgdatarootdir 7122ddb6cf1Smrglibexecdir 7132ddb6cf1Smrgsbindir 7142ddb6cf1Smrgbindir 7152ddb6cf1Smrgprogram_transform_name 7162ddb6cf1Smrgprefix 7172ddb6cf1Smrgexec_prefix 71855074dd0SmrgPACKAGE_URL 7192ddb6cf1SmrgPACKAGE_BUGREPORT 7202ddb6cf1SmrgPACKAGE_STRING 7212ddb6cf1SmrgPACKAGE_VERSION 7222ddb6cf1SmrgPACKAGE_TARNAME 7232ddb6cf1SmrgPACKAGE_NAME 7242ddb6cf1SmrgPATH_SEPARATOR 7252ddb6cf1SmrgSHELL' 726a1d141d5Smrgac_subst_files='' 7272ddb6cf1Smrgac_user_opts=' 7282ddb6cf1Smrgenable_option_checking 7292ddb6cf1Smrgenable_maintainer_mode 7302ddb6cf1Smrgenable_dependency_tracking 7312ddb6cf1Smrgenable_strict_compilation 73255074dd0Smrgenable_silent_rules 7332ddb6cf1Smrgwith_xrender 7342ddb6cf1Smrg' 7352ddb6cf1Smrg ac_precious_vars='build_alias 7362ddb6cf1Smrghost_alias 7372ddb6cf1Smrgtarget_alias 7382ddb6cf1SmrgCC 7392ddb6cf1SmrgCFLAGS 7402ddb6cf1SmrgLDFLAGS 7412ddb6cf1SmrgLIBS 7422ddb6cf1SmrgCPPFLAGS 7432ddb6cf1SmrgCPP 7442ddb6cf1SmrgPKG_CONFIG 7452ddb6cf1SmrgXEYES_CFLAGS 7462ddb6cf1SmrgXEYES_LIBS 7472ddb6cf1SmrgXRENDER_CFLAGS 7482ddb6cf1SmrgXRENDER_LIBS' 7492ddb6cf1Smrg 750a1d141d5Smrg 751a1d141d5Smrg# Initialize some variables set by options. 752a1d141d5Smrgac_init_help= 753a1d141d5Smrgac_init_version=false 7542ddb6cf1Smrgac_unrecognized_opts= 7552ddb6cf1Smrgac_unrecognized_sep= 756a1d141d5Smrg# The variables have the same names as the options, with 757a1d141d5Smrg# dashes changed to underlines. 758a1d141d5Smrgcache_file=/dev/null 759a1d141d5Smrgexec_prefix=NONE 760a1d141d5Smrgno_create= 761a1d141d5Smrgno_recursion= 762a1d141d5Smrgprefix=NONE 763a1d141d5Smrgprogram_prefix=NONE 764a1d141d5Smrgprogram_suffix=NONE 765a1d141d5Smrgprogram_transform_name=s,x,x, 766a1d141d5Smrgsilent= 767a1d141d5Smrgsite= 768a1d141d5Smrgsrcdir= 769a1d141d5Smrgverbose= 770a1d141d5Smrgx_includes=NONE 771a1d141d5Smrgx_libraries=NONE 772a1d141d5Smrg 773a1d141d5Smrg# Installation directory options. 774a1d141d5Smrg# These are left unexpanded so users can "make install exec_prefix=/foo" 775a1d141d5Smrg# and all the variables that are supposed to be based on exec_prefix 776a1d141d5Smrg# by default will actually change. 777a1d141d5Smrg# Use braces instead of parens because sh, perl, etc. also accept them. 7782ddb6cf1Smrg# (The list follows the same order as the GNU Coding Standards.) 779a1d141d5Smrgbindir='${exec_prefix}/bin' 780a1d141d5Smrgsbindir='${exec_prefix}/sbin' 781a1d141d5Smrglibexecdir='${exec_prefix}/libexec' 7822ddb6cf1Smrgdatarootdir='${prefix}/share' 7832ddb6cf1Smrgdatadir='${datarootdir}' 784a1d141d5Smrgsysconfdir='${prefix}/etc' 785a1d141d5Smrgsharedstatedir='${prefix}/com' 786a1d141d5Smrglocalstatedir='${prefix}/var' 787a1d141d5Smrgincludedir='${prefix}/include' 788a1d141d5Smrgoldincludedir='/usr/include' 7892ddb6cf1Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 7902ddb6cf1Smrginfodir='${datarootdir}/info' 7912ddb6cf1Smrghtmldir='${docdir}' 7922ddb6cf1Smrgdvidir='${docdir}' 7932ddb6cf1Smrgpdfdir='${docdir}' 7942ddb6cf1Smrgpsdir='${docdir}' 7952ddb6cf1Smrglibdir='${exec_prefix}/lib' 7962ddb6cf1Smrglocaledir='${datarootdir}/locale' 7972ddb6cf1Smrgmandir='${datarootdir}/man' 798a1d141d5Smrg 799a1d141d5Smrgac_prev= 8002ddb6cf1Smrgac_dashdash= 801a1d141d5Smrgfor ac_option 802a1d141d5Smrgdo 803a1d141d5Smrg # If the previous option needs an argument, assign it. 804a1d141d5Smrg if test -n "$ac_prev"; then 8052ddb6cf1Smrg eval $ac_prev=\$ac_option 806a1d141d5Smrg ac_prev= 807a1d141d5Smrg continue 808a1d141d5Smrg fi 809a1d141d5Smrg 8102ddb6cf1Smrg case $ac_option in 81155074dd0Smrg *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 81255074dd0Smrg *=) ac_optarg= ;; 81355074dd0Smrg *) ac_optarg=yes ;; 8142ddb6cf1Smrg esac 815a1d141d5Smrg 816a1d141d5Smrg # Accept the important Cygnus configure options, so we can diagnose typos. 817a1d141d5Smrg 8182ddb6cf1Smrg case $ac_dashdash$ac_option in 8192ddb6cf1Smrg --) 8202ddb6cf1Smrg ac_dashdash=yes ;; 821a1d141d5Smrg 822a1d141d5Smrg -bindir | --bindir | --bindi | --bind | --bin | --bi) 823a1d141d5Smrg ac_prev=bindir ;; 824a1d141d5Smrg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 825a1d141d5Smrg bindir=$ac_optarg ;; 826a1d141d5Smrg 827a1d141d5Smrg -build | --build | --buil | --bui | --bu) 828a1d141d5Smrg ac_prev=build_alias ;; 829a1d141d5Smrg -build=* | --build=* | --buil=* | --bui=* | --bu=*) 830a1d141d5Smrg build_alias=$ac_optarg ;; 831a1d141d5Smrg 832a1d141d5Smrg -cache-file | --cache-file | --cache-fil | --cache-fi \ 833a1d141d5Smrg | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 834a1d141d5Smrg ac_prev=cache_file ;; 835a1d141d5Smrg -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 836a1d141d5Smrg | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 837a1d141d5Smrg cache_file=$ac_optarg ;; 838a1d141d5Smrg 839a1d141d5Smrg --config-cache | -C) 840a1d141d5Smrg cache_file=config.cache ;; 841a1d141d5Smrg 8422ddb6cf1Smrg -datadir | --datadir | --datadi | --datad) 843a1d141d5Smrg ac_prev=datadir ;; 8442ddb6cf1Smrg -datadir=* | --datadir=* | --datadi=* | --datad=*) 845a1d141d5Smrg datadir=$ac_optarg ;; 846a1d141d5Smrg 8472ddb6cf1Smrg -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 8482ddb6cf1Smrg | --dataroo | --dataro | --datar) 8492ddb6cf1Smrg ac_prev=datarootdir ;; 8502ddb6cf1Smrg -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 8512ddb6cf1Smrg | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 8522ddb6cf1Smrg datarootdir=$ac_optarg ;; 8532ddb6cf1Smrg 854a1d141d5Smrg -disable-* | --disable-*) 8552ddb6cf1Smrg ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 856a1d141d5Smrg # Reject names that are not valid shell variable names. 8572ddb6cf1Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 85855074dd0Smrg as_fn_error $? "invalid feature name: $ac_useropt" 8592ddb6cf1Smrg ac_useropt_orig=$ac_useropt 8602ddb6cf1Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 8612ddb6cf1Smrg case $ac_user_opts in 8622ddb6cf1Smrg *" 8632ddb6cf1Smrg"enable_$ac_useropt" 8642ddb6cf1Smrg"*) ;; 8652ddb6cf1Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 8662ddb6cf1Smrg ac_unrecognized_sep=', ';; 8672ddb6cf1Smrg esac 8682ddb6cf1Smrg eval enable_$ac_useropt=no ;; 8692ddb6cf1Smrg 8702ddb6cf1Smrg -docdir | --docdir | --docdi | --doc | --do) 8712ddb6cf1Smrg ac_prev=docdir ;; 8722ddb6cf1Smrg -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 8732ddb6cf1Smrg docdir=$ac_optarg ;; 8742ddb6cf1Smrg 8752ddb6cf1Smrg -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 8762ddb6cf1Smrg ac_prev=dvidir ;; 8772ddb6cf1Smrg -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 8782ddb6cf1Smrg dvidir=$ac_optarg ;; 879a1d141d5Smrg 880a1d141d5Smrg -enable-* | --enable-*) 8812ddb6cf1Smrg ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 882a1d141d5Smrg # Reject names that are not valid shell variable names. 8832ddb6cf1Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 88455074dd0Smrg as_fn_error $? "invalid feature name: $ac_useropt" 8852ddb6cf1Smrg ac_useropt_orig=$ac_useropt 8862ddb6cf1Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 8872ddb6cf1Smrg case $ac_user_opts in 8882ddb6cf1Smrg *" 8892ddb6cf1Smrg"enable_$ac_useropt" 8902ddb6cf1Smrg"*) ;; 8912ddb6cf1Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 8922ddb6cf1Smrg ac_unrecognized_sep=', ';; 893a1d141d5Smrg esac 8942ddb6cf1Smrg eval enable_$ac_useropt=\$ac_optarg ;; 895a1d141d5Smrg 896a1d141d5Smrg -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 897a1d141d5Smrg | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 898a1d141d5Smrg | --exec | --exe | --ex) 899a1d141d5Smrg ac_prev=exec_prefix ;; 900a1d141d5Smrg -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 901a1d141d5Smrg | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 902a1d141d5Smrg | --exec=* | --exe=* | --ex=*) 903a1d141d5Smrg exec_prefix=$ac_optarg ;; 904a1d141d5Smrg 905a1d141d5Smrg -gas | --gas | --ga | --g) 906a1d141d5Smrg # Obsolete; use --with-gas. 907a1d141d5Smrg with_gas=yes ;; 908a1d141d5Smrg 909a1d141d5Smrg -help | --help | --hel | --he | -h) 910a1d141d5Smrg ac_init_help=long ;; 911a1d141d5Smrg -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 912a1d141d5Smrg ac_init_help=recursive ;; 913a1d141d5Smrg -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 914a1d141d5Smrg ac_init_help=short ;; 915a1d141d5Smrg 916a1d141d5Smrg -host | --host | --hos | --ho) 917a1d141d5Smrg ac_prev=host_alias ;; 918a1d141d5Smrg -host=* | --host=* | --hos=* | --ho=*) 919a1d141d5Smrg host_alias=$ac_optarg ;; 920a1d141d5Smrg 9212ddb6cf1Smrg -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 9222ddb6cf1Smrg ac_prev=htmldir ;; 9232ddb6cf1Smrg -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 9242ddb6cf1Smrg | --ht=*) 9252ddb6cf1Smrg htmldir=$ac_optarg ;; 9262ddb6cf1Smrg 927a1d141d5Smrg -includedir | --includedir | --includedi | --included | --include \ 928a1d141d5Smrg | --includ | --inclu | --incl | --inc) 929a1d141d5Smrg ac_prev=includedir ;; 930a1d141d5Smrg -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 931a1d141d5Smrg | --includ=* | --inclu=* | --incl=* | --inc=*) 932a1d141d5Smrg includedir=$ac_optarg ;; 933a1d141d5Smrg 934a1d141d5Smrg -infodir | --infodir | --infodi | --infod | --info | --inf) 935a1d141d5Smrg ac_prev=infodir ;; 936a1d141d5Smrg -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 937a1d141d5Smrg infodir=$ac_optarg ;; 938a1d141d5Smrg 939a1d141d5Smrg -libdir | --libdir | --libdi | --libd) 940a1d141d5Smrg ac_prev=libdir ;; 941a1d141d5Smrg -libdir=* | --libdir=* | --libdi=* | --libd=*) 942a1d141d5Smrg libdir=$ac_optarg ;; 943a1d141d5Smrg 944a1d141d5Smrg -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 945a1d141d5Smrg | --libexe | --libex | --libe) 946a1d141d5Smrg ac_prev=libexecdir ;; 947a1d141d5Smrg -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 948a1d141d5Smrg | --libexe=* | --libex=* | --libe=*) 949a1d141d5Smrg libexecdir=$ac_optarg ;; 950a1d141d5Smrg 9512ddb6cf1Smrg -localedir | --localedir | --localedi | --localed | --locale) 9522ddb6cf1Smrg ac_prev=localedir ;; 9532ddb6cf1Smrg -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 9542ddb6cf1Smrg localedir=$ac_optarg ;; 9552ddb6cf1Smrg 956a1d141d5Smrg -localstatedir | --localstatedir | --localstatedi | --localstated \ 9572ddb6cf1Smrg | --localstate | --localstat | --localsta | --localst | --locals) 958a1d141d5Smrg ac_prev=localstatedir ;; 959a1d141d5Smrg -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 9602ddb6cf1Smrg | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 961a1d141d5Smrg localstatedir=$ac_optarg ;; 962a1d141d5Smrg 963a1d141d5Smrg -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 964a1d141d5Smrg ac_prev=mandir ;; 965a1d141d5Smrg -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 966a1d141d5Smrg mandir=$ac_optarg ;; 967a1d141d5Smrg 968a1d141d5Smrg -nfp | --nfp | --nf) 969a1d141d5Smrg # Obsolete; use --without-fp. 970a1d141d5Smrg with_fp=no ;; 971a1d141d5Smrg 972a1d141d5Smrg -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 973a1d141d5Smrg | --no-cr | --no-c | -n) 974a1d141d5Smrg no_create=yes ;; 975a1d141d5Smrg 976a1d141d5Smrg -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 977a1d141d5Smrg | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 978a1d141d5Smrg no_recursion=yes ;; 979a1d141d5Smrg 980a1d141d5Smrg -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 981a1d141d5Smrg | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 982a1d141d5Smrg | --oldin | --oldi | --old | --ol | --o) 983a1d141d5Smrg ac_prev=oldincludedir ;; 984a1d141d5Smrg -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 985a1d141d5Smrg | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 986a1d141d5Smrg | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 987a1d141d5Smrg oldincludedir=$ac_optarg ;; 988a1d141d5Smrg 989a1d141d5Smrg -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 990a1d141d5Smrg ac_prev=prefix ;; 991a1d141d5Smrg -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 992a1d141d5Smrg prefix=$ac_optarg ;; 993a1d141d5Smrg 994a1d141d5Smrg -program-prefix | --program-prefix | --program-prefi | --program-pref \ 995a1d141d5Smrg | --program-pre | --program-pr | --program-p) 996a1d141d5Smrg ac_prev=program_prefix ;; 997a1d141d5Smrg -program-prefix=* | --program-prefix=* | --program-prefi=* \ 998a1d141d5Smrg | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 999a1d141d5Smrg program_prefix=$ac_optarg ;; 1000a1d141d5Smrg 1001a1d141d5Smrg -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1002a1d141d5Smrg | --program-suf | --program-su | --program-s) 1003a1d141d5Smrg ac_prev=program_suffix ;; 1004a1d141d5Smrg -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1005a1d141d5Smrg | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1006a1d141d5Smrg program_suffix=$ac_optarg ;; 1007a1d141d5Smrg 1008a1d141d5Smrg -program-transform-name | --program-transform-name \ 1009a1d141d5Smrg | --program-transform-nam | --program-transform-na \ 1010a1d141d5Smrg | --program-transform-n | --program-transform- \ 1011a1d141d5Smrg | --program-transform | --program-transfor \ 1012a1d141d5Smrg | --program-transfo | --program-transf \ 1013a1d141d5Smrg | --program-trans | --program-tran \ 1014a1d141d5Smrg | --progr-tra | --program-tr | --program-t) 1015a1d141d5Smrg ac_prev=program_transform_name ;; 1016a1d141d5Smrg -program-transform-name=* | --program-transform-name=* \ 1017a1d141d5Smrg | --program-transform-nam=* | --program-transform-na=* \ 1018a1d141d5Smrg | --program-transform-n=* | --program-transform-=* \ 1019a1d141d5Smrg | --program-transform=* | --program-transfor=* \ 1020a1d141d5Smrg | --program-transfo=* | --program-transf=* \ 1021a1d141d5Smrg | --program-trans=* | --program-tran=* \ 1022a1d141d5Smrg | --progr-tra=* | --program-tr=* | --program-t=*) 1023a1d141d5Smrg program_transform_name=$ac_optarg ;; 1024a1d141d5Smrg 10252ddb6cf1Smrg -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 10262ddb6cf1Smrg ac_prev=pdfdir ;; 10272ddb6cf1Smrg -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 10282ddb6cf1Smrg pdfdir=$ac_optarg ;; 10292ddb6cf1Smrg 10302ddb6cf1Smrg -psdir | --psdir | --psdi | --psd | --ps) 10312ddb6cf1Smrg ac_prev=psdir ;; 10322ddb6cf1Smrg -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 10332ddb6cf1Smrg psdir=$ac_optarg ;; 10342ddb6cf1Smrg 1035a1d141d5Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1036a1d141d5Smrg | -silent | --silent | --silen | --sile | --sil) 1037a1d141d5Smrg silent=yes ;; 1038a1d141d5Smrg 1039a1d141d5Smrg -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1040a1d141d5Smrg ac_prev=sbindir ;; 1041a1d141d5Smrg -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1042a1d141d5Smrg | --sbi=* | --sb=*) 1043a1d141d5Smrg sbindir=$ac_optarg ;; 1044a1d141d5Smrg 1045a1d141d5Smrg -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1046a1d141d5Smrg | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1047a1d141d5Smrg | --sharedst | --shareds | --shared | --share | --shar \ 1048a1d141d5Smrg | --sha | --sh) 1049a1d141d5Smrg ac_prev=sharedstatedir ;; 1050a1d141d5Smrg -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1051a1d141d5Smrg | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1052a1d141d5Smrg | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1053a1d141d5Smrg | --sha=* | --sh=*) 1054a1d141d5Smrg sharedstatedir=$ac_optarg ;; 1055a1d141d5Smrg 1056a1d141d5Smrg -site | --site | --sit) 1057a1d141d5Smrg ac_prev=site ;; 1058a1d141d5Smrg -site=* | --site=* | --sit=*) 1059a1d141d5Smrg site=$ac_optarg ;; 1060a1d141d5Smrg 1061a1d141d5Smrg -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1062a1d141d5Smrg ac_prev=srcdir ;; 1063a1d141d5Smrg -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1064a1d141d5Smrg srcdir=$ac_optarg ;; 1065a1d141d5Smrg 1066a1d141d5Smrg -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1067a1d141d5Smrg | --syscon | --sysco | --sysc | --sys | --sy) 1068a1d141d5Smrg ac_prev=sysconfdir ;; 1069a1d141d5Smrg -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1070a1d141d5Smrg | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1071a1d141d5Smrg sysconfdir=$ac_optarg ;; 1072a1d141d5Smrg 1073a1d141d5Smrg -target | --target | --targe | --targ | --tar | --ta | --t) 1074a1d141d5Smrg ac_prev=target_alias ;; 1075a1d141d5Smrg -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1076a1d141d5Smrg target_alias=$ac_optarg ;; 1077a1d141d5Smrg 1078a1d141d5Smrg -v | -verbose | --verbose | --verbos | --verbo | --verb) 1079a1d141d5Smrg verbose=yes ;; 1080a1d141d5Smrg 1081a1d141d5Smrg -version | --version | --versio | --versi | --vers | -V) 1082a1d141d5Smrg ac_init_version=: ;; 1083a1d141d5Smrg 1084a1d141d5Smrg -with-* | --with-*) 10852ddb6cf1Smrg ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1086a1d141d5Smrg # Reject names that are not valid shell variable names. 10872ddb6cf1Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 108855074dd0Smrg as_fn_error $? "invalid package name: $ac_useropt" 10892ddb6cf1Smrg ac_useropt_orig=$ac_useropt 10902ddb6cf1Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 10912ddb6cf1Smrg case $ac_user_opts in 10922ddb6cf1Smrg *" 10932ddb6cf1Smrg"with_$ac_useropt" 10942ddb6cf1Smrg"*) ;; 10952ddb6cf1Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 10962ddb6cf1Smrg ac_unrecognized_sep=', ';; 1097a1d141d5Smrg esac 10982ddb6cf1Smrg eval with_$ac_useropt=\$ac_optarg ;; 1099a1d141d5Smrg 1100a1d141d5Smrg -without-* | --without-*) 11012ddb6cf1Smrg ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1102a1d141d5Smrg # Reject names that are not valid shell variable names. 11032ddb6cf1Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 110455074dd0Smrg as_fn_error $? "invalid package name: $ac_useropt" 11052ddb6cf1Smrg ac_useropt_orig=$ac_useropt 11062ddb6cf1Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 11072ddb6cf1Smrg case $ac_user_opts in 11082ddb6cf1Smrg *" 11092ddb6cf1Smrg"with_$ac_useropt" 11102ddb6cf1Smrg"*) ;; 11112ddb6cf1Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 11122ddb6cf1Smrg ac_unrecognized_sep=', ';; 11132ddb6cf1Smrg esac 11142ddb6cf1Smrg eval with_$ac_useropt=no ;; 1115a1d141d5Smrg 1116a1d141d5Smrg --x) 1117a1d141d5Smrg # Obsolete; use --with-x. 1118a1d141d5Smrg with_x=yes ;; 1119a1d141d5Smrg 1120a1d141d5Smrg -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1121a1d141d5Smrg | --x-incl | --x-inc | --x-in | --x-i) 1122a1d141d5Smrg ac_prev=x_includes ;; 1123a1d141d5Smrg -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1124a1d141d5Smrg | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1125a1d141d5Smrg x_includes=$ac_optarg ;; 1126a1d141d5Smrg 1127a1d141d5Smrg -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1128a1d141d5Smrg | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1129a1d141d5Smrg ac_prev=x_libraries ;; 1130a1d141d5Smrg -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1131a1d141d5Smrg | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1132a1d141d5Smrg x_libraries=$ac_optarg ;; 1133a1d141d5Smrg 113455074dd0Smrg -*) as_fn_error $? "unrecognized option: \`$ac_option' 113555074dd0SmrgTry \`$0 --help' for more information" 1136a1d141d5Smrg ;; 1137a1d141d5Smrg 1138a1d141d5Smrg *=*) 1139a1d141d5Smrg ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1140a1d141d5Smrg # Reject names that are not valid shell variable names. 114155074dd0Smrg case $ac_envvar in #( 114255074dd0Smrg '' | [0-9]* | *[!_$as_cr_alnum]* ) 114355074dd0Smrg as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 114455074dd0Smrg esac 11452ddb6cf1Smrg eval $ac_envvar=\$ac_optarg 1146a1d141d5Smrg export $ac_envvar ;; 1147a1d141d5Smrg 1148a1d141d5Smrg *) 1149a1d141d5Smrg # FIXME: should be removed in autoconf 3.0. 11502ddb6cf1Smrg $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1151a1d141d5Smrg expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 11522ddb6cf1Smrg $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 115355074dd0Smrg : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1154a1d141d5Smrg ;; 1155a1d141d5Smrg 1156a1d141d5Smrg esac 1157a1d141d5Smrgdone 1158a1d141d5Smrg 1159a1d141d5Smrgif test -n "$ac_prev"; then 1160a1d141d5Smrg ac_option=--`echo $ac_prev | sed 's/_/-/g'` 116155074dd0Smrg as_fn_error $? "missing argument to $ac_option" 1162a1d141d5Smrgfi 1163a1d141d5Smrg 11642ddb6cf1Smrgif test -n "$ac_unrecognized_opts"; then 11652ddb6cf1Smrg case $enable_option_checking in 11662ddb6cf1Smrg no) ;; 116755074dd0Smrg fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 11682ddb6cf1Smrg *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1169a1d141d5Smrg esac 11702ddb6cf1Smrgfi 1171a1d141d5Smrg 11722ddb6cf1Smrg# Check all directory arguments for consistency. 11732ddb6cf1Smrgfor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 11742ddb6cf1Smrg datadir sysconfdir sharedstatedir localstatedir includedir \ 11752ddb6cf1Smrg oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 11762ddb6cf1Smrg libdir localedir mandir 1177a1d141d5Smrgdo 11782ddb6cf1Smrg eval ac_val=\$$ac_var 11792ddb6cf1Smrg # Remove trailing slashes. 1180a1d141d5Smrg case $ac_val in 11812ddb6cf1Smrg */ ) 11822ddb6cf1Smrg ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 11832ddb6cf1Smrg eval $ac_var=\$ac_val;; 11842ddb6cf1Smrg esac 11852ddb6cf1Smrg # Be sure to have absolute directory names. 11862ddb6cf1Smrg case $ac_val in 11872ddb6cf1Smrg [\\/$]* | ?:[\\/]* ) continue;; 11882ddb6cf1Smrg NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1189a1d141d5Smrg esac 119055074dd0Smrg as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1191a1d141d5Smrgdone 1192a1d141d5Smrg 1193a1d141d5Smrg# There might be people who depend on the old broken behavior: `$host' 1194a1d141d5Smrg# used to hold the argument of --host etc. 1195a1d141d5Smrg# FIXME: To remove some day. 1196a1d141d5Smrgbuild=$build_alias 1197a1d141d5Smrghost=$host_alias 1198a1d141d5Smrgtarget=$target_alias 1199a1d141d5Smrg 1200a1d141d5Smrg# FIXME: To remove some day. 1201a1d141d5Smrgif test "x$host_alias" != x; then 1202a1d141d5Smrg if test "x$build_alias" = x; then 1203a1d141d5Smrg cross_compiling=maybe 120455074dd0Smrg $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 120555074dd0Smrg If a cross compiler is detected then cross compile mode will be used" >&2 1206a1d141d5Smrg elif test "x$build_alias" != "x$host_alias"; then 1207a1d141d5Smrg cross_compiling=yes 1208a1d141d5Smrg fi 1209a1d141d5Smrgfi 1210a1d141d5Smrg 1211a1d141d5Smrgac_tool_prefix= 1212a1d141d5Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias- 1213a1d141d5Smrg 1214a1d141d5Smrgtest "$silent" = yes && exec 6>/dev/null 1215a1d141d5Smrg 1216a1d141d5Smrg 12172ddb6cf1Smrgac_pwd=`pwd` && test -n "$ac_pwd" && 12182ddb6cf1Smrgac_ls_di=`ls -di .` && 12192ddb6cf1Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 122055074dd0Smrg as_fn_error $? "working directory cannot be determined" 12212ddb6cf1Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" || 122255074dd0Smrg as_fn_error $? "pwd does not report name of working directory" 12232ddb6cf1Smrg 12242ddb6cf1Smrg 12252ddb6cf1Smrg# Find the source files, if location was not specified. 12262ddb6cf1Smrgif test -z "$srcdir"; then 1227a1d141d5Smrg ac_srcdir_defaulted=yes 12282ddb6cf1Smrg # Try the directory containing this script, then the parent directory. 12292ddb6cf1Smrg ac_confdir=`$as_dirname -- "$as_myself" || 12302ddb6cf1Smrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12312ddb6cf1Smrg X"$as_myself" : 'X\(//\)[^/]' \| \ 12322ddb6cf1Smrg X"$as_myself" : 'X\(//\)$' \| \ 12332ddb6cf1Smrg X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 12342ddb6cf1Smrg$as_echo X"$as_myself" | 12352ddb6cf1Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12362ddb6cf1Smrg s//\1/ 12372ddb6cf1Smrg q 12382ddb6cf1Smrg } 12392ddb6cf1Smrg /^X\(\/\/\)[^/].*/{ 12402ddb6cf1Smrg s//\1/ 12412ddb6cf1Smrg q 12422ddb6cf1Smrg } 12432ddb6cf1Smrg /^X\(\/\/\)$/{ 12442ddb6cf1Smrg s//\1/ 12452ddb6cf1Smrg q 12462ddb6cf1Smrg } 12472ddb6cf1Smrg /^X\(\/\).*/{ 12482ddb6cf1Smrg s//\1/ 12492ddb6cf1Smrg q 12502ddb6cf1Smrg } 12512ddb6cf1Smrg s/.*/./; q'` 1252a1d141d5Smrg srcdir=$ac_confdir 12532ddb6cf1Smrg if test ! -r "$srcdir/$ac_unique_file"; then 1254a1d141d5Smrg srcdir=.. 1255a1d141d5Smrg fi 1256a1d141d5Smrgelse 1257a1d141d5Smrg ac_srcdir_defaulted=no 1258a1d141d5Smrgfi 12592ddb6cf1Smrgif test ! -r "$srcdir/$ac_unique_file"; then 12602ddb6cf1Smrg test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 126155074dd0Smrg as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1262a1d141d5Smrgfi 12632ddb6cf1Smrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 12642ddb6cf1Smrgac_abs_confdir=`( 126555074dd0Smrg cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 12662ddb6cf1Smrg pwd)` 12672ddb6cf1Smrg# When building in place, set srcdir=. 12682ddb6cf1Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then 12692ddb6cf1Smrg srcdir=. 12702ddb6cf1Smrgfi 12712ddb6cf1Smrg# Remove unnecessary trailing slashes from srcdir. 12722ddb6cf1Smrg# Double slashes in file names in object file debugging info 12732ddb6cf1Smrg# mess up M-x gdb in Emacs. 12742ddb6cf1Smrgcase $srcdir in 12752ddb6cf1Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 12762ddb6cf1Smrgesac 12772ddb6cf1Smrgfor ac_var in $ac_precious_vars; do 12782ddb6cf1Smrg eval ac_env_${ac_var}_set=\${${ac_var}+set} 12792ddb6cf1Smrg eval ac_env_${ac_var}_value=\$${ac_var} 12802ddb6cf1Smrg eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 12812ddb6cf1Smrg eval ac_cv_env_${ac_var}_value=\$${ac_var} 12822ddb6cf1Smrgdone 1283a1d141d5Smrg 1284a1d141d5Smrg# 1285a1d141d5Smrg# Report the --help message. 1286a1d141d5Smrg# 1287a1d141d5Smrgif test "$ac_init_help" = "long"; then 1288a1d141d5Smrg # Omit some internal or obsolete options to make the list less imposing. 1289a1d141d5Smrg # This message is too long to be a string in the A/UX 3.1 sh. 1290a1d141d5Smrg cat <<_ACEOF 129155074dd0Smrg\`configure' configures xeyes 1.1.1 to adapt to many kinds of systems. 1292a1d141d5Smrg 1293a1d141d5SmrgUsage: $0 [OPTION]... [VAR=VALUE]... 1294a1d141d5Smrg 1295a1d141d5SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as 1296a1d141d5SmrgVAR=VALUE. See below for descriptions of some of the useful variables. 1297a1d141d5Smrg 1298a1d141d5SmrgDefaults for the options are specified in brackets. 1299a1d141d5Smrg 1300a1d141d5SmrgConfiguration: 1301a1d141d5Smrg -h, --help display this help and exit 1302a1d141d5Smrg --help=short display options specific to this package 1303a1d141d5Smrg --help=recursive display the short help of all the included packages 1304a1d141d5Smrg -V, --version display version information and exit 130555074dd0Smrg -q, --quiet, --silent do not print \`checking ...' messages 1306a1d141d5Smrg --cache-file=FILE cache test results in FILE [disabled] 1307a1d141d5Smrg -C, --config-cache alias for \`--cache-file=config.cache' 1308a1d141d5Smrg -n, --no-create do not create output files 1309a1d141d5Smrg --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1310a1d141d5Smrg 1311a1d141d5SmrgInstallation directories: 1312a1d141d5Smrg --prefix=PREFIX install architecture-independent files in PREFIX 13132ddb6cf1Smrg [$ac_default_prefix] 1314a1d141d5Smrg --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 13152ddb6cf1Smrg [PREFIX] 1316a1d141d5Smrg 1317a1d141d5SmrgBy default, \`make install' will install all the files in 1318a1d141d5Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1319a1d141d5Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix', 1320a1d141d5Smrgfor instance \`--prefix=\$HOME'. 1321a1d141d5Smrg 1322a1d141d5SmrgFor better control, use the options below. 1323a1d141d5Smrg 1324a1d141d5SmrgFine tuning of the installation directories: 13252ddb6cf1Smrg --bindir=DIR user executables [EPREFIX/bin] 13262ddb6cf1Smrg --sbindir=DIR system admin executables [EPREFIX/sbin] 13272ddb6cf1Smrg --libexecdir=DIR program executables [EPREFIX/libexec] 13282ddb6cf1Smrg --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 13292ddb6cf1Smrg --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 13302ddb6cf1Smrg --localstatedir=DIR modifiable single-machine data [PREFIX/var] 13312ddb6cf1Smrg --libdir=DIR object code libraries [EPREFIX/lib] 13322ddb6cf1Smrg --includedir=DIR C header files [PREFIX/include] 13332ddb6cf1Smrg --oldincludedir=DIR C header files for non-gcc [/usr/include] 13342ddb6cf1Smrg --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 13352ddb6cf1Smrg --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 13362ddb6cf1Smrg --infodir=DIR info documentation [DATAROOTDIR/info] 13372ddb6cf1Smrg --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 13382ddb6cf1Smrg --mandir=DIR man documentation [DATAROOTDIR/man] 13392ddb6cf1Smrg --docdir=DIR documentation root [DATAROOTDIR/doc/xeyes] 13402ddb6cf1Smrg --htmldir=DIR html documentation [DOCDIR] 13412ddb6cf1Smrg --dvidir=DIR dvi documentation [DOCDIR] 13422ddb6cf1Smrg --pdfdir=DIR pdf documentation [DOCDIR] 13432ddb6cf1Smrg --psdir=DIR ps documentation [DOCDIR] 1344a1d141d5Smrg_ACEOF 1345a1d141d5Smrg 1346a1d141d5Smrg cat <<\_ACEOF 1347a1d141d5Smrg 1348a1d141d5SmrgProgram names: 1349a1d141d5Smrg --program-prefix=PREFIX prepend PREFIX to installed program names 1350a1d141d5Smrg --program-suffix=SUFFIX append SUFFIX to installed program names 1351a1d141d5Smrg --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1352a1d141d5Smrg 1353a1d141d5SmrgSystem types: 1354a1d141d5Smrg --build=BUILD configure for building on BUILD [guessed] 1355a1d141d5Smrg --host=HOST cross-compile to build programs to run on HOST [BUILD] 1356a1d141d5Smrg_ACEOF 1357a1d141d5Smrgfi 1358a1d141d5Smrg 1359a1d141d5Smrgif test -n "$ac_init_help"; then 1360a1d141d5Smrg case $ac_init_help in 136155074dd0Smrg short | recursive ) echo "Configuration of xeyes 1.1.1:";; 1362a1d141d5Smrg esac 1363a1d141d5Smrg cat <<\_ACEOF 1364a1d141d5Smrg 1365a1d141d5SmrgOptional Features: 13662ddb6cf1Smrg --disable-option-checking ignore unrecognized --enable/--with options 1367a1d141d5Smrg --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1368a1d141d5Smrg --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 13692ddb6cf1Smrg --enable-maintainer-mode enable make rules and dependencies not useful 13702ddb6cf1Smrg (and sometimes confusing) to the casual installer 13712ddb6cf1Smrg --disable-dependency-tracking speeds up one-time build 13722ddb6cf1Smrg --enable-dependency-tracking do not reject slow dependency extractors 13732ddb6cf1Smrg --enable-strict-compilation 13742ddb6cf1Smrg Enable all warnings from compiler and make them 13752ddb6cf1Smrg errors (default: disabled) 137655074dd0Smrg --enable-silent-rules less verbose build output (undo: `make V=1') 137755074dd0Smrg --disable-silent-rules verbose build output (undo: `make V=0') 1378a1d141d5Smrg 1379a1d141d5SmrgOptional Packages: 1380a1d141d5Smrg --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1381a1d141d5Smrg --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 13822ddb6cf1Smrg --with-xrender Use Xrender for rendering (Default is YES) 1383a1d141d5Smrg 1384a1d141d5SmrgSome influential environment variables: 1385a1d141d5Smrg CC C compiler command 1386a1d141d5Smrg CFLAGS C compiler flags 1387a1d141d5Smrg LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1388a1d141d5Smrg nonstandard directory <lib dir> 13892ddb6cf1Smrg LIBS libraries to pass to the linker, e.g. -l<library> 139055074dd0Smrg CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 13912ddb6cf1Smrg you have headers in a nonstandard directory <include dir> 13922ddb6cf1Smrg CPP C preprocessor 1393a1d141d5Smrg PKG_CONFIG path to pkg-config utility 1394a1d141d5Smrg XEYES_CFLAGS 1395a1d141d5Smrg C compiler flags for XEYES, overriding pkg-config 1396a1d141d5Smrg XEYES_LIBS linker flags for XEYES, overriding pkg-config 13972ddb6cf1Smrg XRENDER_CFLAGS 13982ddb6cf1Smrg C compiler flags for XRENDER, overriding pkg-config 13992ddb6cf1Smrg XRENDER_LIBS 14002ddb6cf1Smrg linker flags for XRENDER, overriding pkg-config 1401a1d141d5Smrg 1402a1d141d5SmrgUse these variables to override the choices made by `configure' or to help 1403a1d141d5Smrgit to find libraries and programs with nonstandard names/locations. 1404a1d141d5Smrg 1405a1d141d5SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 1406a1d141d5Smrg_ACEOF 14072ddb6cf1Smrgac_status=$? 1408a1d141d5Smrgfi 1409a1d141d5Smrg 1410a1d141d5Smrgif test "$ac_init_help" = "recursive"; then 1411a1d141d5Smrg # If there are subdirs, report their specific --help. 1412a1d141d5Smrg for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 14132ddb6cf1Smrg test -d "$ac_dir" || 14142ddb6cf1Smrg { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 14152ddb6cf1Smrg continue 1416a1d141d5Smrg ac_builddir=. 1417a1d141d5Smrg 14182ddb6cf1Smrgcase "$ac_dir" in 14192ddb6cf1Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 14202ddb6cf1Smrg*) 14212ddb6cf1Smrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 14222ddb6cf1Smrg # A ".." for each directory in $ac_dir_suffix. 14232ddb6cf1Smrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 14242ddb6cf1Smrg case $ac_top_builddir_sub in 14252ddb6cf1Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 14262ddb6cf1Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 14272ddb6cf1Smrg esac ;; 14282ddb6cf1Smrgesac 14292ddb6cf1Smrgac_abs_top_builddir=$ac_pwd 14302ddb6cf1Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 14312ddb6cf1Smrg# for backward compatibility: 14322ddb6cf1Smrgac_top_builddir=$ac_top_build_prefix 1433a1d141d5Smrg 1434a1d141d5Smrgcase $srcdir in 14352ddb6cf1Smrg .) # We are building in place. 1436a1d141d5Smrg ac_srcdir=. 14372ddb6cf1Smrg ac_top_srcdir=$ac_top_builddir_sub 14382ddb6cf1Smrg ac_abs_top_srcdir=$ac_pwd ;; 14392ddb6cf1Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 1440a1d141d5Smrg ac_srcdir=$srcdir$ac_dir_suffix; 14412ddb6cf1Smrg ac_top_srcdir=$srcdir 14422ddb6cf1Smrg ac_abs_top_srcdir=$srcdir ;; 14432ddb6cf1Smrg *) # Relative name. 14442ddb6cf1Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 14452ddb6cf1Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 14462ddb6cf1Smrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1447a1d141d5Smrgesac 14482ddb6cf1Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 14492ddb6cf1Smrg 14502ddb6cf1Smrg cd "$ac_dir" || { ac_status=$?; continue; } 14512ddb6cf1Smrg # Check for guested configure. 14522ddb6cf1Smrg if test -f "$ac_srcdir/configure.gnu"; then 14532ddb6cf1Smrg echo && 14542ddb6cf1Smrg $SHELL "$ac_srcdir/configure.gnu" --help=recursive 14552ddb6cf1Smrg elif test -f "$ac_srcdir/configure"; then 14562ddb6cf1Smrg echo && 14572ddb6cf1Smrg $SHELL "$ac_srcdir/configure" --help=recursive 1458a1d141d5Smrg else 14592ddb6cf1Smrg $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 14602ddb6cf1Smrg fi || ac_status=$? 14612ddb6cf1Smrg cd "$ac_pwd" || { ac_status=$?; break; } 1462a1d141d5Smrg done 1463a1d141d5Smrgfi 1464a1d141d5Smrg 14652ddb6cf1Smrgtest -n "$ac_init_help" && exit $ac_status 1466a1d141d5Smrgif $ac_init_version; then 1467a1d141d5Smrg cat <<\_ACEOF 146855074dd0Smrgxeyes configure 1.1.1 146955074dd0Smrggenerated by GNU Autoconf 2.68 1470a1d141d5Smrg 147155074dd0SmrgCopyright (C) 2010 Free Software Foundation, Inc. 1472a1d141d5SmrgThis configure script is free software; the Free Software Foundation 1473a1d141d5Smrggives unlimited permission to copy, distribute and modify it. 1474a1d141d5Smrg_ACEOF 14752ddb6cf1Smrg exit 1476a1d141d5Smrgfi 1477a1d141d5Smrg 147855074dd0Smrg## ------------------------ ## 147955074dd0Smrg## Autoconf initialization. ## 148055074dd0Smrg## ------------------------ ## 1481a1d141d5Smrg 148255074dd0Smrg# ac_fn_c_try_compile LINENO 148355074dd0Smrg# -------------------------- 148455074dd0Smrg# Try to compile conftest.$ac_ext, and return whether this succeeded. 148555074dd0Smrgac_fn_c_try_compile () 1486a1d141d5Smrg{ 148755074dd0Smrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 148855074dd0Smrg rm -f conftest.$ac_objext 148955074dd0Smrg if { { ac_try="$ac_compile" 149055074dd0Smrgcase "(($ac_try" in 149155074dd0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 149255074dd0Smrg *) ac_try_echo=$ac_try;; 149355074dd0Smrgesac 149455074dd0Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 149555074dd0Smrg$as_echo "$ac_try_echo"; } >&5 149655074dd0Smrg (eval "$ac_compile") 2>conftest.err 149755074dd0Smrg ac_status=$? 149855074dd0Smrg if test -s conftest.err; then 149955074dd0Smrg grep -v '^ *+' conftest.err >conftest.er1 150055074dd0Smrg cat conftest.er1 >&5 150155074dd0Smrg mv -f conftest.er1 conftest.err 150255074dd0Smrg fi 150355074dd0Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 150455074dd0Smrg test $ac_status = 0; } && { 150555074dd0Smrg test -z "$ac_c_werror_flag" || 150655074dd0Smrg test ! -s conftest.err 150755074dd0Smrg } && test -s conftest.$ac_objext; then : 150855074dd0Smrg ac_retval=0 150955074dd0Smrgelse 151055074dd0Smrg $as_echo "$as_me: failed program was:" >&5 151155074dd0Smrgsed 's/^/| /' conftest.$ac_ext >&5 1512a1d141d5Smrg 151355074dd0Smrg ac_retval=1 151455074dd0Smrgfi 151555074dd0Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 151655074dd0Smrg as_fn_set_status $ac_retval 1517a1d141d5Smrg 151855074dd0Smrg} # ac_fn_c_try_compile 1519a1d141d5Smrg 152055074dd0Smrg# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 152155074dd0Smrg# --------------------------------------------- 152255074dd0Smrg# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 152355074dd0Smrg# accordingly. 152455074dd0Smrgac_fn_c_check_decl () 152555074dd0Smrg{ 152655074dd0Smrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 152755074dd0Smrg as_decl_name=`echo $2|sed 's/ *(.*//'` 152855074dd0Smrg as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 152955074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 153055074dd0Smrg$as_echo_n "checking whether $as_decl_name is declared... " >&6; } 153155074dd0Smrgif eval \${$3+:} false; then : 153255074dd0Smrg $as_echo_n "(cached) " >&6 153355074dd0Smrgelse 153455074dd0Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 153555074dd0Smrg/* end confdefs.h. */ 153655074dd0Smrg$4 153755074dd0Smrgint 153855074dd0Smrgmain () 153955074dd0Smrg{ 154055074dd0Smrg#ifndef $as_decl_name 154155074dd0Smrg#ifdef __cplusplus 154255074dd0Smrg (void) $as_decl_use; 154355074dd0Smrg#else 154455074dd0Smrg (void) $as_decl_name; 154555074dd0Smrg#endif 154655074dd0Smrg#endif 154755074dd0Smrg 154855074dd0Smrg ; 154955074dd0Smrg return 0; 155055074dd0Smrg} 155155074dd0Smrg_ACEOF 155255074dd0Smrgif ac_fn_c_try_compile "$LINENO"; then : 155355074dd0Smrg eval "$3=yes" 155455074dd0Smrgelse 155555074dd0Smrg eval "$3=no" 155655074dd0Smrgfi 155755074dd0Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 155855074dd0Smrgfi 155955074dd0Smrgeval ac_res=\$$3 156055074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 156155074dd0Smrg$as_echo "$ac_res" >&6; } 156255074dd0Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 156355074dd0Smrg 156455074dd0Smrg} # ac_fn_c_check_decl 156555074dd0Smrg 156655074dd0Smrg# ac_fn_c_try_cpp LINENO 156755074dd0Smrg# ---------------------- 156855074dd0Smrg# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 156955074dd0Smrgac_fn_c_try_cpp () 157055074dd0Smrg{ 157155074dd0Smrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 157255074dd0Smrg if { { ac_try="$ac_cpp conftest.$ac_ext" 157355074dd0Smrgcase "(($ac_try" in 157455074dd0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 157555074dd0Smrg *) ac_try_echo=$ac_try;; 157655074dd0Smrgesac 157755074dd0Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 157855074dd0Smrg$as_echo "$ac_try_echo"; } >&5 157955074dd0Smrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 158055074dd0Smrg ac_status=$? 158155074dd0Smrg if test -s conftest.err; then 158255074dd0Smrg grep -v '^ *+' conftest.err >conftest.er1 158355074dd0Smrg cat conftest.er1 >&5 158455074dd0Smrg mv -f conftest.er1 conftest.err 158555074dd0Smrg fi 158655074dd0Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 158755074dd0Smrg test $ac_status = 0; } > conftest.i && { 158855074dd0Smrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 158955074dd0Smrg test ! -s conftest.err 159055074dd0Smrg }; then : 159155074dd0Smrg ac_retval=0 159255074dd0Smrgelse 159355074dd0Smrg $as_echo "$as_me: failed program was:" >&5 159455074dd0Smrgsed 's/^/| /' conftest.$ac_ext >&5 159555074dd0Smrg 159655074dd0Smrg ac_retval=1 159755074dd0Smrgfi 159855074dd0Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 159955074dd0Smrg as_fn_set_status $ac_retval 160055074dd0Smrg 160155074dd0Smrg} # ac_fn_c_try_cpp 160255074dd0Smrg 160355074dd0Smrg# ac_fn_c_try_run LINENO 160455074dd0Smrg# ---------------------- 160555074dd0Smrg# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 160655074dd0Smrg# that executables *can* be run. 160755074dd0Smrgac_fn_c_try_run () 160855074dd0Smrg{ 160955074dd0Smrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 161055074dd0Smrg if { { ac_try="$ac_link" 161155074dd0Smrgcase "(($ac_try" in 161255074dd0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 161355074dd0Smrg *) ac_try_echo=$ac_try;; 161455074dd0Smrgesac 161555074dd0Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 161655074dd0Smrg$as_echo "$ac_try_echo"; } >&5 161755074dd0Smrg (eval "$ac_link") 2>&5 161855074dd0Smrg ac_status=$? 161955074dd0Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 162055074dd0Smrg test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 162155074dd0Smrg { { case "(($ac_try" in 162255074dd0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 162355074dd0Smrg *) ac_try_echo=$ac_try;; 162455074dd0Smrgesac 162555074dd0Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 162655074dd0Smrg$as_echo "$ac_try_echo"; } >&5 162755074dd0Smrg (eval "$ac_try") 2>&5 162855074dd0Smrg ac_status=$? 162955074dd0Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 163055074dd0Smrg test $ac_status = 0; }; }; then : 163155074dd0Smrg ac_retval=0 163255074dd0Smrgelse 163355074dd0Smrg $as_echo "$as_me: program exited with status $ac_status" >&5 163455074dd0Smrg $as_echo "$as_me: failed program was:" >&5 163555074dd0Smrgsed 's/^/| /' conftest.$ac_ext >&5 163655074dd0Smrg 163755074dd0Smrg ac_retval=$ac_status 163855074dd0Smrgfi 163955074dd0Smrg rm -rf conftest.dSYM conftest_ipa8_conftest.oo 164055074dd0Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 164155074dd0Smrg as_fn_set_status $ac_retval 164255074dd0Smrg 164355074dd0Smrg} # ac_fn_c_try_run 164455074dd0Smrg 164555074dd0Smrg# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 164655074dd0Smrg# ------------------------------------------------------- 164755074dd0Smrg# Tests whether HEADER exists and can be compiled using the include files in 164855074dd0Smrg# INCLUDES, setting the cache variable VAR accordingly. 164955074dd0Smrgac_fn_c_check_header_compile () 165055074dd0Smrg{ 165155074dd0Smrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 165255074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 165355074dd0Smrg$as_echo_n "checking for $2... " >&6; } 165455074dd0Smrgif eval \${$3+:} false; then : 165555074dd0Smrg $as_echo_n "(cached) " >&6 165655074dd0Smrgelse 165755074dd0Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 165855074dd0Smrg/* end confdefs.h. */ 165955074dd0Smrg$4 166055074dd0Smrg#include <$2> 166155074dd0Smrg_ACEOF 166255074dd0Smrgif ac_fn_c_try_compile "$LINENO"; then : 166355074dd0Smrg eval "$3=yes" 166455074dd0Smrgelse 166555074dd0Smrg eval "$3=no" 166655074dd0Smrgfi 166755074dd0Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 166855074dd0Smrgfi 166955074dd0Smrgeval ac_res=\$$3 167055074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 167155074dd0Smrg$as_echo "$ac_res" >&6; } 167255074dd0Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 167355074dd0Smrg 167455074dd0Smrg} # ac_fn_c_check_header_compile 167555074dd0Smrgcat >config.log <<_ACEOF 167655074dd0SmrgThis file contains any messages produced by compilers while 167755074dd0Smrgrunning configure, to aid debugging if configure makes a mistake. 167855074dd0Smrg 167955074dd0SmrgIt was created by xeyes $as_me 1.1.1, which was 168055074dd0Smrggenerated by GNU Autoconf 2.68. Invocation command line was 168155074dd0Smrg 168255074dd0Smrg $ $0 $@ 168355074dd0Smrg 168455074dd0Smrg_ACEOF 168555074dd0Smrgexec 5>>config.log 168655074dd0Smrg{ 168755074dd0Smrgcat <<_ASUNAME 168855074dd0Smrg## --------- ## 168955074dd0Smrg## Platform. ## 169055074dd0Smrg## --------- ## 169155074dd0Smrg 169255074dd0Smrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 169355074dd0Smrguname -m = `(uname -m) 2>/dev/null || echo unknown` 169455074dd0Smrguname -r = `(uname -r) 2>/dev/null || echo unknown` 169555074dd0Smrguname -s = `(uname -s) 2>/dev/null || echo unknown` 169655074dd0Smrguname -v = `(uname -v) 2>/dev/null || echo unknown` 169755074dd0Smrg 169855074dd0Smrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 169955074dd0Smrg/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 170055074dd0Smrg 170155074dd0Smrg/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 170255074dd0Smrg/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 170355074dd0Smrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 170455074dd0Smrg/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 170555074dd0Smrg/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 170655074dd0Smrg/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 170755074dd0Smrg/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 170855074dd0Smrg 170955074dd0Smrg_ASUNAME 171055074dd0Smrg 171155074dd0Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 171255074dd0Smrgfor as_dir in $PATH 171355074dd0Smrgdo 171455074dd0Smrg IFS=$as_save_IFS 1715a1d141d5Smrg test -z "$as_dir" && as_dir=. 171655074dd0Smrg $as_echo "PATH: $as_dir" 171755074dd0Smrg done 17182ddb6cf1SmrgIFS=$as_save_IFS 1719a1d141d5Smrg 1720a1d141d5Smrg} >&5 1721a1d141d5Smrg 1722a1d141d5Smrgcat >&5 <<_ACEOF 1723a1d141d5Smrg 1724a1d141d5Smrg 1725a1d141d5Smrg## ----------- ## 1726a1d141d5Smrg## Core tests. ## 1727a1d141d5Smrg## ----------- ## 1728a1d141d5Smrg 1729a1d141d5Smrg_ACEOF 1730a1d141d5Smrg 1731a1d141d5Smrg 1732a1d141d5Smrg# Keep a trace of the command line. 1733a1d141d5Smrg# Strip out --no-create and --no-recursion so they do not pile up. 1734a1d141d5Smrg# Strip out --silent because we don't want to record it for future runs. 1735a1d141d5Smrg# Also quote any args containing shell meta-characters. 1736a1d141d5Smrg# Make two passes to allow for proper duplicate-argument suppression. 1737a1d141d5Smrgac_configure_args= 1738a1d141d5Smrgac_configure_args0= 1739a1d141d5Smrgac_configure_args1= 1740a1d141d5Smrgac_must_keep_next=false 1741a1d141d5Smrgfor ac_pass in 1 2 1742a1d141d5Smrgdo 1743a1d141d5Smrg for ac_arg 1744a1d141d5Smrg do 1745a1d141d5Smrg case $ac_arg in 1746a1d141d5Smrg -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1747a1d141d5Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1748a1d141d5Smrg | -silent | --silent | --silen | --sile | --sil) 1749a1d141d5Smrg continue ;; 17502ddb6cf1Smrg *\'*) 17512ddb6cf1Smrg ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1752a1d141d5Smrg esac 1753a1d141d5Smrg case $ac_pass in 175455074dd0Smrg 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1755a1d141d5Smrg 2) 175655074dd0Smrg as_fn_append ac_configure_args1 " '$ac_arg'" 1757a1d141d5Smrg if test $ac_must_keep_next = true; then 1758a1d141d5Smrg ac_must_keep_next=false # Got value, back to normal. 1759a1d141d5Smrg else 1760a1d141d5Smrg case $ac_arg in 1761a1d141d5Smrg *=* | --config-cache | -C | -disable-* | --disable-* \ 1762a1d141d5Smrg | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1763a1d141d5Smrg | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1764a1d141d5Smrg | -with-* | --with-* | -without-* | --without-* | --x) 1765a1d141d5Smrg case "$ac_configure_args0 " in 1766a1d141d5Smrg "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1767a1d141d5Smrg esac 1768a1d141d5Smrg ;; 1769a1d141d5Smrg -* ) ac_must_keep_next=true ;; 1770a1d141d5Smrg esac 1771a1d141d5Smrg fi 177255074dd0Smrg as_fn_append ac_configure_args " '$ac_arg'" 1773a1d141d5Smrg ;; 1774a1d141d5Smrg esac 1775a1d141d5Smrg done 1776a1d141d5Smrgdone 177755074dd0Smrg{ ac_configure_args0=; unset ac_configure_args0;} 177855074dd0Smrg{ ac_configure_args1=; unset ac_configure_args1;} 1779a1d141d5Smrg 1780a1d141d5Smrg# When interrupted or exit'd, cleanup temporary files, and complete 1781a1d141d5Smrg# config.log. We remove comments because anyway the quotes in there 1782a1d141d5Smrg# would cause problems or look ugly. 17832ddb6cf1Smrg# WARNING: Use '\'' to represent an apostrophe within the trap. 17842ddb6cf1Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1785a1d141d5Smrgtrap 'exit_status=$? 1786a1d141d5Smrg # Save into config.log some information that might help in debugging. 1787a1d141d5Smrg { 1788a1d141d5Smrg echo 1789a1d141d5Smrg 179055074dd0Smrg $as_echo "## ---------------- ## 1791a1d141d5Smrg## Cache variables. ## 179255074dd0Smrg## ---------------- ##" 1793a1d141d5Smrg echo 1794a1d141d5Smrg # The following way of writing the cache mishandles newlines in values, 17952ddb6cf1Smrg( 17962ddb6cf1Smrg for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 17972ddb6cf1Smrg eval ac_val=\$$ac_var 17982ddb6cf1Smrg case $ac_val in #( 17992ddb6cf1Smrg *${as_nl}*) 18002ddb6cf1Smrg case $ac_var in #( 180155074dd0Smrg *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 18022ddb6cf1Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 18032ddb6cf1Smrg esac 18042ddb6cf1Smrg case $ac_var in #( 18052ddb6cf1Smrg _ | IFS | as_nl) ;; #( 18062ddb6cf1Smrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 180755074dd0Smrg *) { eval $ac_var=; unset $ac_var;} ;; 18082ddb6cf1Smrg esac ;; 18092ddb6cf1Smrg esac 18102ddb6cf1Smrg done 1811a1d141d5Smrg (set) 2>&1 | 18122ddb6cf1Smrg case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 18132ddb6cf1Smrg *${as_nl}ac_space=\ *) 1814a1d141d5Smrg sed -n \ 18152ddb6cf1Smrg "s/'\''/'\''\\\\'\'''\''/g; 18162ddb6cf1Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 18172ddb6cf1Smrg ;; #( 1818a1d141d5Smrg *) 18192ddb6cf1Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1820a1d141d5Smrg ;; 18212ddb6cf1Smrg esac | 18222ddb6cf1Smrg sort 18232ddb6cf1Smrg) 1824a1d141d5Smrg echo 1825a1d141d5Smrg 182655074dd0Smrg $as_echo "## ----------------- ## 1827a1d141d5Smrg## Output variables. ## 182855074dd0Smrg## ----------------- ##" 1829a1d141d5Smrg echo 1830a1d141d5Smrg for ac_var in $ac_subst_vars 1831a1d141d5Smrg do 18322ddb6cf1Smrg eval ac_val=\$$ac_var 18332ddb6cf1Smrg case $ac_val in 18342ddb6cf1Smrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 18352ddb6cf1Smrg esac 18362ddb6cf1Smrg $as_echo "$ac_var='\''$ac_val'\''" 1837a1d141d5Smrg done | sort 1838a1d141d5Smrg echo 1839a1d141d5Smrg 1840a1d141d5Smrg if test -n "$ac_subst_files"; then 184155074dd0Smrg $as_echo "## ------------------- ## 18422ddb6cf1Smrg## File substitutions. ## 184355074dd0Smrg## ------------------- ##" 1844a1d141d5Smrg echo 1845a1d141d5Smrg for ac_var in $ac_subst_files 1846a1d141d5Smrg do 18472ddb6cf1Smrg eval ac_val=\$$ac_var 18482ddb6cf1Smrg case $ac_val in 18492ddb6cf1Smrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 18502ddb6cf1Smrg esac 18512ddb6cf1Smrg $as_echo "$ac_var='\''$ac_val'\''" 1852a1d141d5Smrg done | sort 1853a1d141d5Smrg echo 1854a1d141d5Smrg fi 1855a1d141d5Smrg 1856a1d141d5Smrg if test -s confdefs.h; then 185755074dd0Smrg $as_echo "## ----------- ## 1858a1d141d5Smrg## confdefs.h. ## 185955074dd0Smrg## ----------- ##" 1860a1d141d5Smrg echo 18612ddb6cf1Smrg cat confdefs.h 1862a1d141d5Smrg echo 1863a1d141d5Smrg fi 1864a1d141d5Smrg test "$ac_signal" != 0 && 18652ddb6cf1Smrg $as_echo "$as_me: caught signal $ac_signal" 18662ddb6cf1Smrg $as_echo "$as_me: exit $exit_status" 1867a1d141d5Smrg } >&5 18682ddb6cf1Smrg rm -f core *.core core.conftest.* && 18692ddb6cf1Smrg rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1870a1d141d5Smrg exit $exit_status 18712ddb6cf1Smrg' 0 1872a1d141d5Smrgfor ac_signal in 1 2 13 15; do 187355074dd0Smrg trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1874a1d141d5Smrgdone 1875a1d141d5Smrgac_signal=0 1876a1d141d5Smrg 1877a1d141d5Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed. 18782ddb6cf1Smrgrm -f -r conftest* confdefs.h 1879a1d141d5Smrg 188055074dd0Smrg$as_echo "/* confdefs.h */" > confdefs.h 188155074dd0Smrg 1882a1d141d5Smrg# Predefined preprocessor variables. 1883a1d141d5Smrg 1884a1d141d5Smrgcat >>confdefs.h <<_ACEOF 1885a1d141d5Smrg#define PACKAGE_NAME "$PACKAGE_NAME" 1886a1d141d5Smrg_ACEOF 1887a1d141d5Smrg 1888a1d141d5Smrgcat >>confdefs.h <<_ACEOF 1889a1d141d5Smrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1890a1d141d5Smrg_ACEOF 1891a1d141d5Smrg 1892a1d141d5Smrgcat >>confdefs.h <<_ACEOF 1893a1d141d5Smrg#define PACKAGE_VERSION "$PACKAGE_VERSION" 1894a1d141d5Smrg_ACEOF 1895a1d141d5Smrg 1896a1d141d5Smrgcat >>confdefs.h <<_ACEOF 1897a1d141d5Smrg#define PACKAGE_STRING "$PACKAGE_STRING" 1898a1d141d5Smrg_ACEOF 1899a1d141d5Smrg 1900a1d141d5Smrgcat >>confdefs.h <<_ACEOF 1901a1d141d5Smrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1902a1d141d5Smrg_ACEOF 1903a1d141d5Smrg 190455074dd0Smrgcat >>confdefs.h <<_ACEOF 190555074dd0Smrg#define PACKAGE_URL "$PACKAGE_URL" 190655074dd0Smrg_ACEOF 190755074dd0Smrg 1908a1d141d5Smrg 1909a1d141d5Smrg# Let the site file select an alternate cache file if it wants to. 19102ddb6cf1Smrg# Prefer an explicitly selected file to automatically selected ones. 19112ddb6cf1Smrgac_site_file1=NONE 19122ddb6cf1Smrgac_site_file2=NONE 19132ddb6cf1Smrgif test -n "$CONFIG_SITE"; then 191455074dd0Smrg # We do not want a PATH search for config.site. 191555074dd0Smrg case $CONFIG_SITE in #(( 191655074dd0Smrg -*) ac_site_file1=./$CONFIG_SITE;; 191755074dd0Smrg */*) ac_site_file1=$CONFIG_SITE;; 191855074dd0Smrg *) ac_site_file1=./$CONFIG_SITE;; 191955074dd0Smrg esac 19202ddb6cf1Smrgelif test "x$prefix" != xNONE; then 19212ddb6cf1Smrg ac_site_file1=$prefix/share/config.site 19222ddb6cf1Smrg ac_site_file2=$prefix/etc/config.site 19232ddb6cf1Smrgelse 19242ddb6cf1Smrg ac_site_file1=$ac_default_prefix/share/config.site 19252ddb6cf1Smrg ac_site_file2=$ac_default_prefix/etc/config.site 1926a1d141d5Smrgfi 19272ddb6cf1Smrgfor ac_site_file in "$ac_site_file1" "$ac_site_file2" 19282ddb6cf1Smrgdo 19292ddb6cf1Smrg test "x$ac_site_file" = xNONE && continue 193055074dd0Smrg if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 193155074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 19322ddb6cf1Smrg$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1933a1d141d5Smrg sed 's/^/| /' "$ac_site_file" >&5 193455074dd0Smrg . "$ac_site_file" \ 193555074dd0Smrg || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 193655074dd0Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 193755074dd0Smrgas_fn_error $? "failed to load site script $ac_site_file 193855074dd0SmrgSee \`config.log' for more details" "$LINENO" 5; } 1939a1d141d5Smrg fi 1940a1d141d5Smrgdone 1941a1d141d5Smrg 1942a1d141d5Smrgif test -r "$cache_file"; then 194355074dd0Smrg # Some versions of bash will fail to source /dev/null (special files 194455074dd0Smrg # actually), so we avoid doing that. DJGPP emulates it as a regular file. 194555074dd0Smrg if test /dev/null != "$cache_file" && test -f "$cache_file"; then 194655074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 19472ddb6cf1Smrg$as_echo "$as_me: loading cache $cache_file" >&6;} 1948a1d141d5Smrg case $cache_file in 19492ddb6cf1Smrg [\\/]* | ?:[\\/]* ) . "$cache_file";; 19502ddb6cf1Smrg *) . "./$cache_file";; 1951a1d141d5Smrg esac 1952a1d141d5Smrg fi 1953a1d141d5Smrgelse 195455074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 19552ddb6cf1Smrg$as_echo "$as_me: creating cache $cache_file" >&6;} 1956a1d141d5Smrg >$cache_file 1957a1d141d5Smrgfi 1958a1d141d5Smrg 1959a1d141d5Smrg# Check that the precious variables saved in the cache have kept the same 1960a1d141d5Smrg# value. 1961a1d141d5Smrgac_cache_corrupted=false 19622ddb6cf1Smrgfor ac_var in $ac_precious_vars; do 1963a1d141d5Smrg eval ac_old_set=\$ac_cv_env_${ac_var}_set 1964a1d141d5Smrg eval ac_new_set=\$ac_env_${ac_var}_set 19652ddb6cf1Smrg eval ac_old_val=\$ac_cv_env_${ac_var}_value 19662ddb6cf1Smrg eval ac_new_val=\$ac_env_${ac_var}_value 1967a1d141d5Smrg case $ac_old_set,$ac_new_set in 1968a1d141d5Smrg set,) 196955074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 19702ddb6cf1Smrg$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1971a1d141d5Smrg ac_cache_corrupted=: ;; 1972a1d141d5Smrg ,set) 197355074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 19742ddb6cf1Smrg$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1975a1d141d5Smrg ac_cache_corrupted=: ;; 1976a1d141d5Smrg ,);; 1977a1d141d5Smrg *) 1978a1d141d5Smrg if test "x$ac_old_val" != "x$ac_new_val"; then 19792ddb6cf1Smrg # differences in whitespace do not lead to failure. 19802ddb6cf1Smrg ac_old_val_w=`echo x $ac_old_val` 19812ddb6cf1Smrg ac_new_val_w=`echo x $ac_new_val` 19822ddb6cf1Smrg if test "$ac_old_val_w" != "$ac_new_val_w"; then 198355074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 19842ddb6cf1Smrg$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 19852ddb6cf1Smrg ac_cache_corrupted=: 19862ddb6cf1Smrg else 198755074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 19882ddb6cf1Smrg$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 19892ddb6cf1Smrg eval $ac_var=\$ac_old_val 19902ddb6cf1Smrg fi 199155074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 19922ddb6cf1Smrg$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 199355074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 19942ddb6cf1Smrg$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1995a1d141d5Smrg fi;; 1996a1d141d5Smrg esac 1997a1d141d5Smrg # Pass precious variables to config.status. 1998a1d141d5Smrg if test "$ac_new_set" = set; then 1999a1d141d5Smrg case $ac_new_val in 20002ddb6cf1Smrg *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2001a1d141d5Smrg *) ac_arg=$ac_var=$ac_new_val ;; 2002a1d141d5Smrg esac 2003a1d141d5Smrg case " $ac_configure_args " in 2004a1d141d5Smrg *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 200555074dd0Smrg *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2006a1d141d5Smrg esac 2007a1d141d5Smrg fi 2008a1d141d5Smrgdone 2009a1d141d5Smrgif $ac_cache_corrupted; then 201055074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20112ddb6cf1Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 201255074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 20132ddb6cf1Smrg$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 201455074dd0Smrg as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2015a1d141d5Smrgfi 201655074dd0Smrg## -------------------- ## 201755074dd0Smrg## Main body of script. ## 201855074dd0Smrg## -------------------- ## 2019a1d141d5Smrg 20202ddb6cf1Smrgac_ext=c 20212ddb6cf1Smrgac_cpp='$CPP $CPPFLAGS' 20222ddb6cf1Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 20232ddb6cf1Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 20242ddb6cf1Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 2025a1d141d5Smrg 2026a1d141d5Smrg 202755074dd0Smrg 202855074dd0Smrgac_config_headers="$ac_config_headers config.h" 202955074dd0Smrg 203055074dd0Smrg 203155074dd0Smrg# Initialize Automake 20322ddb6cf1Smrgam__api_version='1.11' 2033a1d141d5Smrg 2034a1d141d5Smrgac_aux_dir= 20352ddb6cf1Smrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 20362ddb6cf1Smrg if test -f "$ac_dir/install-sh"; then 2037a1d141d5Smrg ac_aux_dir=$ac_dir 2038a1d141d5Smrg ac_install_sh="$ac_aux_dir/install-sh -c" 2039a1d141d5Smrg break 20402ddb6cf1Smrg elif test -f "$ac_dir/install.sh"; then 2041a1d141d5Smrg ac_aux_dir=$ac_dir 2042a1d141d5Smrg ac_install_sh="$ac_aux_dir/install.sh -c" 2043a1d141d5Smrg break 20442ddb6cf1Smrg elif test -f "$ac_dir/shtool"; then 2045a1d141d5Smrg ac_aux_dir=$ac_dir 2046a1d141d5Smrg ac_install_sh="$ac_aux_dir/shtool install -c" 2047a1d141d5Smrg break 2048a1d141d5Smrg fi 2049a1d141d5Smrgdone 2050a1d141d5Smrgif test -z "$ac_aux_dir"; then 205155074dd0Smrg as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2052a1d141d5Smrgfi 20532ddb6cf1Smrg 20542ddb6cf1Smrg# These three variables are undocumented and unsupported, 20552ddb6cf1Smrg# and are intended to be withdrawn in a future Autoconf release. 20562ddb6cf1Smrg# They can cause serious problems if a builder's source tree is in a directory 20572ddb6cf1Smrg# whose full name contains unusual characters. 20582ddb6cf1Smrgac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 20592ddb6cf1Smrgac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 20602ddb6cf1Smrgac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 20612ddb6cf1Smrg 2062a1d141d5Smrg 2063a1d141d5Smrg# Find a good install program. We prefer a C program (faster), 2064a1d141d5Smrg# so one script is as good as another. But avoid the broken or 2065a1d141d5Smrg# incompatible versions: 2066a1d141d5Smrg# SysV /etc/install, /usr/sbin/install 2067a1d141d5Smrg# SunOS /usr/etc/install 2068a1d141d5Smrg# IRIX /sbin/install 2069a1d141d5Smrg# AIX /bin/install 2070a1d141d5Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs 2071a1d141d5Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2072a1d141d5Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2073a1d141d5Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2074a1d141d5Smrg# OS/2's system install, which has a completely different semantic 2075a1d141d5Smrg# ./install, which can be erroneously created by make from ./install.sh. 20762ddb6cf1Smrg# Reject install programs that cannot install multiple files. 207755074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 20782ddb6cf1Smrg$as_echo_n "checking for a BSD-compatible install... " >&6; } 2079a1d141d5Smrgif test -z "$INSTALL"; then 208055074dd0Smrgif ${ac_cv_path_install+:} false; then : 20812ddb6cf1Smrg $as_echo_n "(cached) " >&6 2082a1d141d5Smrgelse 2083a1d141d5Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2084a1d141d5Smrgfor as_dir in $PATH 2085a1d141d5Smrgdo 2086a1d141d5Smrg IFS=$as_save_IFS 2087a1d141d5Smrg test -z "$as_dir" && as_dir=. 208855074dd0Smrg # Account for people who put trailing slashes in PATH elements. 208955074dd0Smrgcase $as_dir/ in #(( 209055074dd0Smrg ./ | .// | /[cC]/* | \ 2091a1d141d5Smrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 209255074dd0Smrg ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2093a1d141d5Smrg /usr/ucb/* ) ;; 2094a1d141d5Smrg *) 2095a1d141d5Smrg # OSF1 and SCO ODT 3.0 have their own names for install. 2096a1d141d5Smrg # Don't use installbsd from OSF since it installs stuff as root 2097a1d141d5Smrg # by default. 2098a1d141d5Smrg for ac_prog in ginstall scoinst install; do 2099a1d141d5Smrg for ac_exec_ext in '' $ac_executable_extensions; do 21002ddb6cf1Smrg if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2101a1d141d5Smrg if test $ac_prog = install && 2102a1d141d5Smrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2103a1d141d5Smrg # AIX install. It has an incompatible calling convention. 2104a1d141d5Smrg : 2105a1d141d5Smrg elif test $ac_prog = install && 2106a1d141d5Smrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2107a1d141d5Smrg # program-specific install script used by HP pwplus--don't use. 2108a1d141d5Smrg : 2109a1d141d5Smrg else 21102ddb6cf1Smrg rm -rf conftest.one conftest.two conftest.dir 21112ddb6cf1Smrg echo one > conftest.one 21122ddb6cf1Smrg echo two > conftest.two 21132ddb6cf1Smrg mkdir conftest.dir 21142ddb6cf1Smrg if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 21152ddb6cf1Smrg test -s conftest.one && test -s conftest.two && 21162ddb6cf1Smrg test -s conftest.dir/conftest.one && 21172ddb6cf1Smrg test -s conftest.dir/conftest.two 21182ddb6cf1Smrg then 21192ddb6cf1Smrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 21202ddb6cf1Smrg break 3 21212ddb6cf1Smrg fi 2122a1d141d5Smrg fi 2123a1d141d5Smrg fi 2124a1d141d5Smrg done 2125a1d141d5Smrg done 2126a1d141d5Smrg ;; 2127a1d141d5Smrgesac 21282ddb6cf1Smrg 212955074dd0Smrg done 21302ddb6cf1SmrgIFS=$as_save_IFS 2131a1d141d5Smrg 21322ddb6cf1Smrgrm -rf conftest.one conftest.two conftest.dir 2133a1d141d5Smrg 2134a1d141d5Smrgfi 2135a1d141d5Smrg if test "${ac_cv_path_install+set}" = set; then 2136a1d141d5Smrg INSTALL=$ac_cv_path_install 2137a1d141d5Smrg else 21382ddb6cf1Smrg # As a last resort, use the slow shell script. Don't cache a 21392ddb6cf1Smrg # value for INSTALL within a source directory, because that will 2140a1d141d5Smrg # break other packages using the cache if that directory is 21412ddb6cf1Smrg # removed, or if the value is a relative name. 2142a1d141d5Smrg INSTALL=$ac_install_sh 2143a1d141d5Smrg fi 2144a1d141d5Smrgfi 214555074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 21462ddb6cf1Smrg$as_echo "$INSTALL" >&6; } 2147a1d141d5Smrg 2148a1d141d5Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2149a1d141d5Smrg# It thinks the first close brace ends the variable substitution. 2150a1d141d5Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2151a1d141d5Smrg 2152a1d141d5Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2153a1d141d5Smrg 2154a1d141d5Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2155a1d141d5Smrg 215655074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 21572ddb6cf1Smrg$as_echo_n "checking whether build environment is sane... " >&6; } 2158a1d141d5Smrg# Just in case 2159a1d141d5Smrgsleep 1 2160a1d141d5Smrgecho timestamp > conftest.file 21612ddb6cf1Smrg# Reject unsafe characters in $srcdir or the absolute working directory 21622ddb6cf1Smrg# name. Accept space and tab only in the latter. 21632ddb6cf1Smrgam_lf=' 21642ddb6cf1Smrg' 21652ddb6cf1Smrgcase `pwd` in 21662ddb6cf1Smrg *[\\\"\#\$\&\'\`$am_lf]*) 216755074dd0Smrg as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 21682ddb6cf1Smrgesac 21692ddb6cf1Smrgcase $srcdir in 21702ddb6cf1Smrg *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 217155074dd0Smrg as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 21722ddb6cf1Smrgesac 21732ddb6cf1Smrg 2174a1d141d5Smrg# Do `set' in a subshell so we don't clobber the current shell's 2175a1d141d5Smrg# arguments. Must try -L first in case configure is actually a 2176a1d141d5Smrg# symlink; some systems play weird games with the mod time of symlinks 2177a1d141d5Smrg# (eg FreeBSD returns the mod time of the symlink's containing 2178a1d141d5Smrg# directory). 2179a1d141d5Smrgif ( 21802ddb6cf1Smrg set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2181a1d141d5Smrg if test "$*" = "X"; then 2182a1d141d5Smrg # -L didn't work. 21832ddb6cf1Smrg set X `ls -t "$srcdir/configure" conftest.file` 2184a1d141d5Smrg fi 2185a1d141d5Smrg rm -f conftest.file 2186a1d141d5Smrg if test "$*" != "X $srcdir/configure conftest.file" \ 2187a1d141d5Smrg && test "$*" != "X conftest.file $srcdir/configure"; then 2188a1d141d5Smrg 2189a1d141d5Smrg # If neither matched, then we have a broken ls. This can happen 2190a1d141d5Smrg # if, for instance, CONFIG_SHELL is bash and it inherits a 2191a1d141d5Smrg # broken ls alias from the environment. This has actually 2192a1d141d5Smrg # happened. Such a system could not be considered "sane". 219355074dd0Smrg as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 219455074dd0Smrgalias in your environment" "$LINENO" 5 2195a1d141d5Smrg fi 2196a1d141d5Smrg 2197a1d141d5Smrg test "$2" = conftest.file 2198a1d141d5Smrg ) 2199a1d141d5Smrgthen 2200a1d141d5Smrg # Ok. 2201a1d141d5Smrg : 2202a1d141d5Smrgelse 220355074dd0Smrg as_fn_error $? "newly created file is older than distributed files! 220455074dd0SmrgCheck your system clock" "$LINENO" 5 2205a1d141d5Smrgfi 220655074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 22072ddb6cf1Smrg$as_echo "yes" >&6; } 2208a1d141d5Smrgtest "$program_prefix" != NONE && 22092ddb6cf1Smrg program_transform_name="s&^&$program_prefix&;$program_transform_name" 2210a1d141d5Smrg# Use a double $ so make ignores it. 2211a1d141d5Smrgtest "$program_suffix" != NONE && 22122ddb6cf1Smrg program_transform_name="s&\$&$program_suffix&;$program_transform_name" 22132ddb6cf1Smrg# Double any \ or $. 2214a1d141d5Smrg# By default was `s,x,x', remove it if useless. 22152ddb6cf1Smrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 22162ddb6cf1Smrgprogram_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2217a1d141d5Smrg 2218a1d141d5Smrg# expand $ac_aux_dir to an absolute path 2219a1d141d5Smrgam_aux_dir=`cd $ac_aux_dir && pwd` 2220a1d141d5Smrg 22212ddb6cf1Smrgif test x"${MISSING+set}" != xset; then 22222ddb6cf1Smrg case $am_aux_dir in 22232ddb6cf1Smrg *\ * | *\ *) 22242ddb6cf1Smrg MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 22252ddb6cf1Smrg *) 22262ddb6cf1Smrg MISSING="\${SHELL} $am_aux_dir/missing" ;; 22272ddb6cf1Smrg esac 22282ddb6cf1Smrgfi 2229a1d141d5Smrg# Use eval to expand $SHELL 2230a1d141d5Smrgif eval "$MISSING --run true"; then 2231a1d141d5Smrg am_missing_run="$MISSING --run " 2232a1d141d5Smrgelse 2233a1d141d5Smrg am_missing_run= 223455074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 22352ddb6cf1Smrg$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 22362ddb6cf1Smrgfi 22372ddb6cf1Smrg 22382ddb6cf1Smrgif test x"${install_sh}" != xset; then 22392ddb6cf1Smrg case $am_aux_dir in 22402ddb6cf1Smrg *\ * | *\ *) 22412ddb6cf1Smrg install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 22422ddb6cf1Smrg *) 22432ddb6cf1Smrg install_sh="\${SHELL} $am_aux_dir/install-sh" 22442ddb6cf1Smrg esac 22452ddb6cf1Smrgfi 22462ddb6cf1Smrg 22472ddb6cf1Smrg# Installed binaries are usually stripped using `strip' when the user 22482ddb6cf1Smrg# run `make install-strip'. However `strip' might not be the right 22492ddb6cf1Smrg# tool to use in cross-compilation environments, therefore Automake 22502ddb6cf1Smrg# will honor the `STRIP' environment variable to overrule this program. 22512ddb6cf1Smrgif test "$cross_compiling" != no; then 22522ddb6cf1Smrg if test -n "$ac_tool_prefix"; then 22532ddb6cf1Smrg # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 22542ddb6cf1Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2 225555074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22562ddb6cf1Smrg$as_echo_n "checking for $ac_word... " >&6; } 225755074dd0Smrgif ${ac_cv_prog_STRIP+:} false; then : 22582ddb6cf1Smrg $as_echo_n "(cached) " >&6 22592ddb6cf1Smrgelse 22602ddb6cf1Smrg if test -n "$STRIP"; then 22612ddb6cf1Smrg ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 22622ddb6cf1Smrgelse 22632ddb6cf1Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22642ddb6cf1Smrgfor as_dir in $PATH 22652ddb6cf1Smrgdo 22662ddb6cf1Smrg IFS=$as_save_IFS 22672ddb6cf1Smrg test -z "$as_dir" && as_dir=. 226855074dd0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 22692ddb6cf1Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 22702ddb6cf1Smrg ac_cv_prog_STRIP="${ac_tool_prefix}strip" 227155074dd0Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 22722ddb6cf1Smrg break 2 22732ddb6cf1Smrg fi 22742ddb6cf1Smrgdone 227555074dd0Smrg done 22762ddb6cf1SmrgIFS=$as_save_IFS 22772ddb6cf1Smrg 22782ddb6cf1Smrgfi 22792ddb6cf1Smrgfi 22802ddb6cf1SmrgSTRIP=$ac_cv_prog_STRIP 22812ddb6cf1Smrgif test -n "$STRIP"; then 228255074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 22832ddb6cf1Smrg$as_echo "$STRIP" >&6; } 22842ddb6cf1Smrgelse 228555074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22862ddb6cf1Smrg$as_echo "no" >&6; } 22872ddb6cf1Smrgfi 22882ddb6cf1Smrg 22892ddb6cf1Smrg 22902ddb6cf1Smrgfi 22912ddb6cf1Smrgif test -z "$ac_cv_prog_STRIP"; then 22922ddb6cf1Smrg ac_ct_STRIP=$STRIP 22932ddb6cf1Smrg # Extract the first word of "strip", so it can be a program name with args. 22942ddb6cf1Smrgset dummy strip; ac_word=$2 229555074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22962ddb6cf1Smrg$as_echo_n "checking for $ac_word... " >&6; } 229755074dd0Smrgif ${ac_cv_prog_ac_ct_STRIP+:} false; then : 22982ddb6cf1Smrg $as_echo_n "(cached) " >&6 22992ddb6cf1Smrgelse 23002ddb6cf1Smrg if test -n "$ac_ct_STRIP"; then 23012ddb6cf1Smrg ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 23022ddb6cf1Smrgelse 23032ddb6cf1Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23042ddb6cf1Smrgfor as_dir in $PATH 23052ddb6cf1Smrgdo 23062ddb6cf1Smrg IFS=$as_save_IFS 23072ddb6cf1Smrg test -z "$as_dir" && as_dir=. 230855074dd0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 23092ddb6cf1Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 23102ddb6cf1Smrg ac_cv_prog_ac_ct_STRIP="strip" 231155074dd0Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23122ddb6cf1Smrg break 2 23132ddb6cf1Smrg fi 23142ddb6cf1Smrgdone 231555074dd0Smrg done 23162ddb6cf1SmrgIFS=$as_save_IFS 23172ddb6cf1Smrg 23182ddb6cf1Smrgfi 23192ddb6cf1Smrgfi 23202ddb6cf1Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 23212ddb6cf1Smrgif test -n "$ac_ct_STRIP"; then 232255074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 23232ddb6cf1Smrg$as_echo "$ac_ct_STRIP" >&6; } 23242ddb6cf1Smrgelse 232555074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23262ddb6cf1Smrg$as_echo "no" >&6; } 23272ddb6cf1Smrgfi 23282ddb6cf1Smrg 23292ddb6cf1Smrg if test "x$ac_ct_STRIP" = x; then 23302ddb6cf1Smrg STRIP=":" 23312ddb6cf1Smrg else 23322ddb6cf1Smrg case $cross_compiling:$ac_tool_warned in 23332ddb6cf1Smrgyes:) 233455074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 23352ddb6cf1Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 23362ddb6cf1Smrgac_tool_warned=yes ;; 23372ddb6cf1Smrgesac 23382ddb6cf1Smrg STRIP=$ac_ct_STRIP 23392ddb6cf1Smrg fi 23402ddb6cf1Smrgelse 23412ddb6cf1Smrg STRIP="$ac_cv_prog_STRIP" 23422ddb6cf1Smrgfi 23432ddb6cf1Smrg 23442ddb6cf1Smrgfi 23452ddb6cf1SmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 23462ddb6cf1Smrg 234755074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 23482ddb6cf1Smrg$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 23492ddb6cf1Smrgif test -z "$MKDIR_P"; then 235055074dd0Smrg if ${ac_cv_path_mkdir+:} false; then : 23512ddb6cf1Smrg $as_echo_n "(cached) " >&6 23522ddb6cf1Smrgelse 23532ddb6cf1Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23542ddb6cf1Smrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 23552ddb6cf1Smrgdo 23562ddb6cf1Smrg IFS=$as_save_IFS 23572ddb6cf1Smrg test -z "$as_dir" && as_dir=. 235855074dd0Smrg for ac_prog in mkdir gmkdir; do 23592ddb6cf1Smrg for ac_exec_ext in '' $ac_executable_extensions; do 23602ddb6cf1Smrg { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 23612ddb6cf1Smrg case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 23622ddb6cf1Smrg 'mkdir (GNU coreutils) '* | \ 23632ddb6cf1Smrg 'mkdir (coreutils) '* | \ 23642ddb6cf1Smrg 'mkdir (fileutils) '4.1*) 23652ddb6cf1Smrg ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 23662ddb6cf1Smrg break 3;; 23672ddb6cf1Smrg esac 23682ddb6cf1Smrg done 23692ddb6cf1Smrg done 237055074dd0Smrg done 23712ddb6cf1SmrgIFS=$as_save_IFS 23722ddb6cf1Smrg 23732ddb6cf1Smrgfi 23742ddb6cf1Smrg 237555074dd0Smrg test -d ./--version && rmdir ./--version 23762ddb6cf1Smrg if test "${ac_cv_path_mkdir+set}" = set; then 23772ddb6cf1Smrg MKDIR_P="$ac_cv_path_mkdir -p" 23782ddb6cf1Smrg else 23792ddb6cf1Smrg # As a last resort, use the slow shell script. Don't cache a 23802ddb6cf1Smrg # value for MKDIR_P within a source directory, because that will 23812ddb6cf1Smrg # break other packages using the cache if that directory is 23822ddb6cf1Smrg # removed, or if the value is a relative name. 23832ddb6cf1Smrg MKDIR_P="$ac_install_sh -d" 23842ddb6cf1Smrg fi 2385a1d141d5Smrgfi 238655074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 23872ddb6cf1Smrg$as_echo "$MKDIR_P" >&6; } 23882ddb6cf1Smrg 23892ddb6cf1Smrgmkdir_p="$MKDIR_P" 23902ddb6cf1Smrgcase $mkdir_p in 23912ddb6cf1Smrg [\\/$]* | ?:[\\/]*) ;; 23922ddb6cf1Smrg */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 23932ddb6cf1Smrgesac 2394a1d141d5Smrg 2395a1d141d5Smrgfor ac_prog in gawk mawk nawk awk 2396a1d141d5Smrgdo 2397a1d141d5Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 2398a1d141d5Smrgset dummy $ac_prog; ac_word=$2 239955074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 24002ddb6cf1Smrg$as_echo_n "checking for $ac_word... " >&6; } 240155074dd0Smrgif ${ac_cv_prog_AWK+:} false; then : 24022ddb6cf1Smrg $as_echo_n "(cached) " >&6 2403a1d141d5Smrgelse 2404a1d141d5Smrg if test -n "$AWK"; then 2405a1d141d5Smrg ac_cv_prog_AWK="$AWK" # Let the user override the test. 2406a1d141d5Smrgelse 2407a1d141d5Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2408a1d141d5Smrgfor as_dir in $PATH 2409a1d141d5Smrgdo 2410a1d141d5Smrg IFS=$as_save_IFS 2411a1d141d5Smrg test -z "$as_dir" && as_dir=. 241255074dd0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 24132ddb6cf1Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2414a1d141d5Smrg ac_cv_prog_AWK="$ac_prog" 241555074dd0Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2416a1d141d5Smrg break 2 2417a1d141d5Smrg fi 2418a1d141d5Smrgdone 241955074dd0Smrg done 24202ddb6cf1SmrgIFS=$as_save_IFS 2421a1d141d5Smrg 2422a1d141d5Smrgfi 2423a1d141d5Smrgfi 2424a1d141d5SmrgAWK=$ac_cv_prog_AWK 2425a1d141d5Smrgif test -n "$AWK"; then 242655074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 24272ddb6cf1Smrg$as_echo "$AWK" >&6; } 2428a1d141d5Smrgelse 242955074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24302ddb6cf1Smrg$as_echo "no" >&6; } 2431a1d141d5Smrgfi 2432a1d141d5Smrg 24332ddb6cf1Smrg 2434a1d141d5Smrg test -n "$AWK" && break 2435a1d141d5Smrgdone 2436a1d141d5Smrg 243755074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 24382ddb6cf1Smrg$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 24392ddb6cf1Smrgset x ${MAKE-make} 24402ddb6cf1Smrgac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 244155074dd0Smrgif eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 24422ddb6cf1Smrg $as_echo_n "(cached) " >&6 2443a1d141d5Smrgelse 2444a1d141d5Smrg cat >conftest.make <<\_ACEOF 24452ddb6cf1SmrgSHELL = /bin/sh 2446a1d141d5Smrgall: 24472ddb6cf1Smrg @echo '@@@%%%=$(MAKE)=@@@%%%' 2448a1d141d5Smrg_ACEOF 244955074dd0Smrg# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 24502ddb6cf1Smrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in 24512ddb6cf1Smrg *@@@%%%=?*=@@@%%%*) 24522ddb6cf1Smrg eval ac_cv_prog_make_${ac_make}_set=yes;; 24532ddb6cf1Smrg *) 24542ddb6cf1Smrg eval ac_cv_prog_make_${ac_make}_set=no;; 24552ddb6cf1Smrgesac 2456a1d141d5Smrgrm -f conftest.make 2457a1d141d5Smrgfi 24582ddb6cf1Smrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 245955074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24602ddb6cf1Smrg$as_echo "yes" >&6; } 2461a1d141d5Smrg SET_MAKE= 2462a1d141d5Smrgelse 246355074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24642ddb6cf1Smrg$as_echo "no" >&6; } 2465a1d141d5Smrg SET_MAKE="MAKE=${MAKE-make}" 2466a1d141d5Smrgfi 2467a1d141d5Smrg 2468a1d141d5Smrgrm -rf .tst 2>/dev/null 2469a1d141d5Smrgmkdir .tst 2>/dev/null 2470a1d141d5Smrgif test -d .tst; then 2471a1d141d5Smrg am__leading_dot=. 2472a1d141d5Smrgelse 2473a1d141d5Smrg am__leading_dot=_ 2474a1d141d5Smrgfi 2475a1d141d5Smrgrmdir .tst 2>/dev/null 2476a1d141d5Smrg 24772ddb6cf1Smrgif test "`cd $srcdir && pwd`" != "`pwd`"; then 24782ddb6cf1Smrg # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 24792ddb6cf1Smrg # is not polluted with repeated "-I." 24802ddb6cf1Smrg am__isrc=' -I$(srcdir)' 24812ddb6cf1Smrg # test to see if srcdir already configured 24822ddb6cf1Smrg if test -f $srcdir/config.status; then 248355074dd0Smrg as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 24842ddb6cf1Smrg fi 2485a1d141d5Smrgfi 2486a1d141d5Smrg 2487a1d141d5Smrg# test whether we have cygpath 2488a1d141d5Smrgif test -z "$CYGPATH_W"; then 2489a1d141d5Smrg if (cygpath --version) >/dev/null 2>/dev/null; then 2490a1d141d5Smrg CYGPATH_W='cygpath -w' 2491a1d141d5Smrg else 2492a1d141d5Smrg CYGPATH_W=echo 2493a1d141d5Smrg fi 2494a1d141d5Smrgfi 2495a1d141d5Smrg 2496a1d141d5Smrg 2497a1d141d5Smrg# Define the identity of the package. 2498a1d141d5Smrg PACKAGE='xeyes' 249955074dd0Smrg VERSION='1.1.1' 2500a1d141d5Smrg 2501a1d141d5Smrg 2502a1d141d5Smrgcat >>confdefs.h <<_ACEOF 2503a1d141d5Smrg#define PACKAGE "$PACKAGE" 2504a1d141d5Smrg_ACEOF 2505a1d141d5Smrg 2506a1d141d5Smrg 2507a1d141d5Smrgcat >>confdefs.h <<_ACEOF 2508a1d141d5Smrg#define VERSION "$VERSION" 2509a1d141d5Smrg_ACEOF 2510a1d141d5Smrg 2511a1d141d5Smrg# Some tools Automake needs. 2512a1d141d5Smrg 2513a1d141d5SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2514a1d141d5Smrg 2515a1d141d5Smrg 2516a1d141d5SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2517a1d141d5Smrg 2518a1d141d5Smrg 2519a1d141d5SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2520a1d141d5Smrg 2521a1d141d5Smrg 2522a1d141d5SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2523a1d141d5Smrg 2524a1d141d5Smrg 2525a1d141d5SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2526a1d141d5Smrg 25272ddb6cf1Smrg# We need awk for the "check" target. The system "awk" is bad on 25282ddb6cf1Smrg# some platforms. 25292ddb6cf1Smrg# Always define AMTAR for backward compatibility. 2530a1d141d5Smrg 2531a1d141d5SmrgAMTAR=${AMTAR-"${am_missing_run}tar"} 2532a1d141d5Smrg 25332ddb6cf1Smrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2534a1d141d5Smrg 2535a1d141d5Smrg 2536a1d141d5Smrg 2537a1d141d5Smrg 2538a1d141d5Smrg 2539a1d141d5Smrg 254055074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 25412ddb6cf1Smrg$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 25422ddb6cf1Smrg # Check whether --enable-maintainer-mode was given. 254355074dd0Smrgif test "${enable_maintainer_mode+set}" = set; then : 25442ddb6cf1Smrg enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2545a1d141d5Smrgelse 2546a1d141d5Smrg USE_MAINTAINER_MODE=no 25472ddb6cf1Smrgfi 2548a1d141d5Smrg 254955074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 25502ddb6cf1Smrg$as_echo "$USE_MAINTAINER_MODE" >&6; } 25512ddb6cf1Smrg if test $USE_MAINTAINER_MODE = yes; then 2552a1d141d5Smrg MAINTAINER_MODE_TRUE= 2553a1d141d5Smrg MAINTAINER_MODE_FALSE='#' 2554a1d141d5Smrgelse 2555a1d141d5Smrg MAINTAINER_MODE_TRUE='#' 2556a1d141d5Smrg MAINTAINER_MODE_FALSE= 2557a1d141d5Smrgfi 2558a1d141d5Smrg 2559a1d141d5Smrg MAINT=$MAINTAINER_MODE_TRUE 2560a1d141d5Smrg 2561a1d141d5Smrg 2562a1d141d5Smrg 256355074dd0Smrg# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS 25642ddb6cf1Smrg 25652ddb6cf1Smrg 25662ddb6cf1Smrg 25672ddb6cf1Smrg 25682ddb6cf1Smrg 25692ddb6cf1Smrg 25702ddb6cf1Smrg 25712ddb6cf1Smrg 25722ddb6cf1Smrg 25732ddb6cf1Smrg 25742ddb6cf1Smrg 25752ddb6cf1SmrgDEPDIR="${am__leading_dot}deps" 25762ddb6cf1Smrg 25772ddb6cf1Smrgac_config_commands="$ac_config_commands depfiles" 25782ddb6cf1Smrg 25792ddb6cf1Smrg 25802ddb6cf1Smrgam_make=${MAKE-make} 25812ddb6cf1Smrgcat > confinc << 'END' 25822ddb6cf1Smrgam__doit: 25832ddb6cf1Smrg @echo this is the am__doit target 25842ddb6cf1Smrg.PHONY: am__doit 25852ddb6cf1SmrgEND 25862ddb6cf1Smrg# If we don't find an include directive, just comment out the code. 258755074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 25882ddb6cf1Smrg$as_echo_n "checking for style of include used by $am_make... " >&6; } 25892ddb6cf1Smrgam__include="#" 25902ddb6cf1Smrgam__quote= 25912ddb6cf1Smrg_am_result=none 25922ddb6cf1Smrg# First try GNU make style include. 25932ddb6cf1Smrgecho "include confinc" > confmf 25942ddb6cf1Smrg# Ignore all kinds of additional output from `make'. 25952ddb6cf1Smrgcase `$am_make -s -f confmf 2> /dev/null` in #( 25962ddb6cf1Smrg*the\ am__doit\ target*) 25972ddb6cf1Smrg am__include=include 25982ddb6cf1Smrg am__quote= 25992ddb6cf1Smrg _am_result=GNU 26002ddb6cf1Smrg ;; 26012ddb6cf1Smrgesac 26022ddb6cf1Smrg# Now try BSD make style include. 26032ddb6cf1Smrgif test "$am__include" = "#"; then 26042ddb6cf1Smrg echo '.include "confinc"' > confmf 26052ddb6cf1Smrg case `$am_make -s -f confmf 2> /dev/null` in #( 26062ddb6cf1Smrg *the\ am__doit\ target*) 26072ddb6cf1Smrg am__include=.include 26082ddb6cf1Smrg am__quote="\"" 26092ddb6cf1Smrg _am_result=BSD 26102ddb6cf1Smrg ;; 26112ddb6cf1Smrg esac 26122ddb6cf1Smrgfi 26132ddb6cf1Smrg 26142ddb6cf1Smrg 261555074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 26162ddb6cf1Smrg$as_echo "$_am_result" >&6; } 26172ddb6cf1Smrgrm -f confinc confmf 26182ddb6cf1Smrg 26192ddb6cf1Smrg# Check whether --enable-dependency-tracking was given. 262055074dd0Smrgif test "${enable_dependency_tracking+set}" = set; then : 26212ddb6cf1Smrg enableval=$enable_dependency_tracking; 26222ddb6cf1Smrgfi 26232ddb6cf1Smrg 26242ddb6cf1Smrgif test "x$enable_dependency_tracking" != xno; then 26252ddb6cf1Smrg am_depcomp="$ac_aux_dir/depcomp" 26262ddb6cf1Smrg AMDEPBACKSLASH='\' 26272ddb6cf1Smrgfi 26282ddb6cf1Smrg if test "x$enable_dependency_tracking" != xno; then 26292ddb6cf1Smrg AMDEP_TRUE= 26302ddb6cf1Smrg AMDEP_FALSE='#' 26312ddb6cf1Smrgelse 26322ddb6cf1Smrg AMDEP_TRUE='#' 26332ddb6cf1Smrg AMDEP_FALSE= 26342ddb6cf1Smrgfi 26352ddb6cf1Smrg 26362ddb6cf1Smrg 26372ddb6cf1Smrgac_ext=c 26382ddb6cf1Smrgac_cpp='$CPP $CPPFLAGS' 26392ddb6cf1Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2640a1d141d5Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2641a1d141d5Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 2642a1d141d5Smrgif test -n "$ac_tool_prefix"; then 2643a1d141d5Smrg # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2644a1d141d5Smrgset dummy ${ac_tool_prefix}gcc; ac_word=$2 264555074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 26462ddb6cf1Smrg$as_echo_n "checking for $ac_word... " >&6; } 264755074dd0Smrgif ${ac_cv_prog_CC+:} false; then : 26482ddb6cf1Smrg $as_echo_n "(cached) " >&6 2649a1d141d5Smrgelse 2650a1d141d5Smrg if test -n "$CC"; then 2651a1d141d5Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 2652a1d141d5Smrgelse 2653a1d141d5Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2654a1d141d5Smrgfor as_dir in $PATH 2655a1d141d5Smrgdo 2656a1d141d5Smrg IFS=$as_save_IFS 2657a1d141d5Smrg test -z "$as_dir" && as_dir=. 265855074dd0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 26592ddb6cf1Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2660a1d141d5Smrg ac_cv_prog_CC="${ac_tool_prefix}gcc" 266155074dd0Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2662a1d141d5Smrg break 2 2663a1d141d5Smrg fi 2664a1d141d5Smrgdone 266555074dd0Smrg done 26662ddb6cf1SmrgIFS=$as_save_IFS 2667a1d141d5Smrg 2668a1d141d5Smrgfi 2669a1d141d5Smrgfi 2670a1d141d5SmrgCC=$ac_cv_prog_CC 2671a1d141d5Smrgif test -n "$CC"; then 267255074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 26732ddb6cf1Smrg$as_echo "$CC" >&6; } 2674a1d141d5Smrgelse 267555074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26762ddb6cf1Smrg$as_echo "no" >&6; } 2677a1d141d5Smrgfi 2678a1d141d5Smrg 26792ddb6cf1Smrg 2680a1d141d5Smrgfi 2681a1d141d5Smrgif test -z "$ac_cv_prog_CC"; then 2682a1d141d5Smrg ac_ct_CC=$CC 2683a1d141d5Smrg # Extract the first word of "gcc", so it can be a program name with args. 2684a1d141d5Smrgset dummy gcc; ac_word=$2 268555074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 26862ddb6cf1Smrg$as_echo_n "checking for $ac_word... " >&6; } 268755074dd0Smrgif ${ac_cv_prog_ac_ct_CC+:} false; then : 26882ddb6cf1Smrg $as_echo_n "(cached) " >&6 2689a1d141d5Smrgelse 2690a1d141d5Smrg if test -n "$ac_ct_CC"; then 2691a1d141d5Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2692a1d141d5Smrgelse 2693a1d141d5Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2694a1d141d5Smrgfor as_dir in $PATH 2695a1d141d5Smrgdo 2696a1d141d5Smrg IFS=$as_save_IFS 2697a1d141d5Smrg test -z "$as_dir" && as_dir=. 269855074dd0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 26992ddb6cf1Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2700a1d141d5Smrg ac_cv_prog_ac_ct_CC="gcc" 270155074dd0Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2702a1d141d5Smrg break 2 2703a1d141d5Smrg fi 2704a1d141d5Smrgdone 270555074dd0Smrg done 27062ddb6cf1SmrgIFS=$as_save_IFS 2707a1d141d5Smrg 2708a1d141d5Smrgfi 2709a1d141d5Smrgfi 2710a1d141d5Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 2711a1d141d5Smrgif test -n "$ac_ct_CC"; then 271255074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 27132ddb6cf1Smrg$as_echo "$ac_ct_CC" >&6; } 2714a1d141d5Smrgelse 271555074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27162ddb6cf1Smrg$as_echo "no" >&6; } 2717a1d141d5Smrgfi 2718a1d141d5Smrg 27192ddb6cf1Smrg if test "x$ac_ct_CC" = x; then 27202ddb6cf1Smrg CC="" 27212ddb6cf1Smrg else 27222ddb6cf1Smrg case $cross_compiling:$ac_tool_warned in 27232ddb6cf1Smrgyes:) 272455074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 27252ddb6cf1Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 27262ddb6cf1Smrgac_tool_warned=yes ;; 27272ddb6cf1Smrgesac 27282ddb6cf1Smrg CC=$ac_ct_CC 27292ddb6cf1Smrg fi 2730a1d141d5Smrgelse 2731a1d141d5Smrg CC="$ac_cv_prog_CC" 2732a1d141d5Smrgfi 2733a1d141d5Smrg 2734a1d141d5Smrgif test -z "$CC"; then 27352ddb6cf1Smrg if test -n "$ac_tool_prefix"; then 27362ddb6cf1Smrg # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2737a1d141d5Smrgset dummy ${ac_tool_prefix}cc; ac_word=$2 273855074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 27392ddb6cf1Smrg$as_echo_n "checking for $ac_word... " >&6; } 274055074dd0Smrgif ${ac_cv_prog_CC+:} false; then : 27412ddb6cf1Smrg $as_echo_n "(cached) " >&6 2742a1d141d5Smrgelse 2743a1d141d5Smrg if test -n "$CC"; then 2744a1d141d5Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 2745a1d141d5Smrgelse 2746a1d141d5Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2747a1d141d5Smrgfor as_dir in $PATH 2748a1d141d5Smrgdo 2749a1d141d5Smrg IFS=$as_save_IFS 2750a1d141d5Smrg test -z "$as_dir" && as_dir=. 275155074dd0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 27522ddb6cf1Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2753a1d141d5Smrg ac_cv_prog_CC="${ac_tool_prefix}cc" 275455074dd0Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2755a1d141d5Smrg break 2 2756a1d141d5Smrg fi 2757a1d141d5Smrgdone 275855074dd0Smrg done 27592ddb6cf1SmrgIFS=$as_save_IFS 2760a1d141d5Smrg 2761a1d141d5Smrgfi 2762a1d141d5Smrgfi 2763a1d141d5SmrgCC=$ac_cv_prog_CC 2764a1d141d5Smrgif test -n "$CC"; then 276555074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 27662ddb6cf1Smrg$as_echo "$CC" >&6; } 2767a1d141d5Smrgelse 276855074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27692ddb6cf1Smrg$as_echo "no" >&6; } 2770a1d141d5Smrgfi 2771a1d141d5Smrg 2772a1d141d5Smrg 27732ddb6cf1Smrg fi 2774a1d141d5Smrgfi 2775a1d141d5Smrgif test -z "$CC"; then 2776a1d141d5Smrg # Extract the first word of "cc", so it can be a program name with args. 2777a1d141d5Smrgset dummy cc; ac_word=$2 277855074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 27792ddb6cf1Smrg$as_echo_n "checking for $ac_word... " >&6; } 278055074dd0Smrgif ${ac_cv_prog_CC+:} false; then : 27812ddb6cf1Smrg $as_echo_n "(cached) " >&6 2782a1d141d5Smrgelse 2783a1d141d5Smrg if test -n "$CC"; then 2784a1d141d5Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 2785a1d141d5Smrgelse 2786a1d141d5Smrg ac_prog_rejected=no 2787a1d141d5Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2788a1d141d5Smrgfor as_dir in $PATH 2789a1d141d5Smrgdo 2790a1d141d5Smrg IFS=$as_save_IFS 2791a1d141d5Smrg test -z "$as_dir" && as_dir=. 279255074dd0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 27932ddb6cf1Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2794a1d141d5Smrg if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2795a1d141d5Smrg ac_prog_rejected=yes 2796a1d141d5Smrg continue 2797a1d141d5Smrg fi 2798a1d141d5Smrg ac_cv_prog_CC="cc" 279955074dd0Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2800a1d141d5Smrg break 2 2801a1d141d5Smrg fi 2802a1d141d5Smrgdone 280355074dd0Smrg done 28042ddb6cf1SmrgIFS=$as_save_IFS 2805a1d141d5Smrg 2806a1d141d5Smrgif test $ac_prog_rejected = yes; then 2807a1d141d5Smrg # We found a bogon in the path, so make sure we never use it. 2808a1d141d5Smrg set dummy $ac_cv_prog_CC 2809a1d141d5Smrg shift 2810a1d141d5Smrg if test $# != 0; then 2811a1d141d5Smrg # We chose a different compiler from the bogus one. 2812a1d141d5Smrg # However, it has the same basename, so the bogon will be chosen 2813a1d141d5Smrg # first if we set CC to just the basename; use the full file name. 2814a1d141d5Smrg shift 2815a1d141d5Smrg ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2816a1d141d5Smrg fi 2817a1d141d5Smrgfi 2818a1d141d5Smrgfi 2819a1d141d5Smrgfi 2820a1d141d5SmrgCC=$ac_cv_prog_CC 2821a1d141d5Smrgif test -n "$CC"; then 282255074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 28232ddb6cf1Smrg$as_echo "$CC" >&6; } 2824a1d141d5Smrgelse 282555074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28262ddb6cf1Smrg$as_echo "no" >&6; } 2827a1d141d5Smrgfi 2828a1d141d5Smrg 28292ddb6cf1Smrg 2830a1d141d5Smrgfi 2831a1d141d5Smrgif test -z "$CC"; then 2832a1d141d5Smrg if test -n "$ac_tool_prefix"; then 28332ddb6cf1Smrg for ac_prog in cl.exe 2834a1d141d5Smrg do 2835a1d141d5Smrg # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2836a1d141d5Smrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2 283755074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 28382ddb6cf1Smrg$as_echo_n "checking for $ac_word... " >&6; } 283955074dd0Smrgif ${ac_cv_prog_CC+:} false; then : 28402ddb6cf1Smrg $as_echo_n "(cached) " >&6 2841a1d141d5Smrgelse 2842a1d141d5Smrg if test -n "$CC"; then 2843a1d141d5Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 2844a1d141d5Smrgelse 2845a1d141d5Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2846a1d141d5Smrgfor as_dir in $PATH 2847a1d141d5Smrgdo 2848a1d141d5Smrg IFS=$as_save_IFS 2849a1d141d5Smrg test -z "$as_dir" && as_dir=. 285055074dd0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 28512ddb6cf1Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2852a1d141d5Smrg ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 285355074dd0Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2854a1d141d5Smrg break 2 2855a1d141d5Smrg fi 2856a1d141d5Smrgdone 285755074dd0Smrg done 28582ddb6cf1SmrgIFS=$as_save_IFS 2859a1d141d5Smrg 2860a1d141d5Smrgfi 2861a1d141d5Smrgfi 2862a1d141d5SmrgCC=$ac_cv_prog_CC 2863a1d141d5Smrgif test -n "$CC"; then 286455074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 28652ddb6cf1Smrg$as_echo "$CC" >&6; } 2866a1d141d5Smrgelse 286755074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28682ddb6cf1Smrg$as_echo "no" >&6; } 2869a1d141d5Smrgfi 2870a1d141d5Smrg 28712ddb6cf1Smrg 2872a1d141d5Smrg test -n "$CC" && break 2873a1d141d5Smrg done 2874a1d141d5Smrgfi 2875a1d141d5Smrgif test -z "$CC"; then 2876a1d141d5Smrg ac_ct_CC=$CC 28772ddb6cf1Smrg for ac_prog in cl.exe 2878a1d141d5Smrgdo 2879a1d141d5Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 2880a1d141d5Smrgset dummy $ac_prog; ac_word=$2 288155074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 28822ddb6cf1Smrg$as_echo_n "checking for $ac_word... " >&6; } 288355074dd0Smrgif ${ac_cv_prog_ac_ct_CC+:} false; then : 28842ddb6cf1Smrg $as_echo_n "(cached) " >&6 2885a1d141d5Smrgelse 2886a1d141d5Smrg if test -n "$ac_ct_CC"; then 2887a1d141d5Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2888a1d141d5Smrgelse 2889a1d141d5Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2890a1d141d5Smrgfor as_dir in $PATH 2891a1d141d5Smrgdo 2892a1d141d5Smrg IFS=$as_save_IFS 2893a1d141d5Smrg test -z "$as_dir" && as_dir=. 289455074dd0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 28952ddb6cf1Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2896a1d141d5Smrg ac_cv_prog_ac_ct_CC="$ac_prog" 289755074dd0Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2898a1d141d5Smrg break 2 2899a1d141d5Smrg fi 2900a1d141d5Smrgdone 290155074dd0Smrg done 29022ddb6cf1SmrgIFS=$as_save_IFS 2903a1d141d5Smrg 2904a1d141d5Smrgfi 2905a1d141d5Smrgfi 2906a1d141d5Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 2907a1d141d5Smrgif test -n "$ac_ct_CC"; then 290855074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 29092ddb6cf1Smrg$as_echo "$ac_ct_CC" >&6; } 2910a1d141d5Smrgelse 291155074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 29122ddb6cf1Smrg$as_echo "no" >&6; } 2913a1d141d5Smrgfi 2914a1d141d5Smrg 29152ddb6cf1Smrg 2916a1d141d5Smrg test -n "$ac_ct_CC" && break 2917a1d141d5Smrgdone 2918a1d141d5Smrg 29192ddb6cf1Smrg if test "x$ac_ct_CC" = x; then 29202ddb6cf1Smrg CC="" 29212ddb6cf1Smrg else 29222ddb6cf1Smrg case $cross_compiling:$ac_tool_warned in 29232ddb6cf1Smrgyes:) 292455074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 29252ddb6cf1Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 29262ddb6cf1Smrgac_tool_warned=yes ;; 29272ddb6cf1Smrgesac 29282ddb6cf1Smrg CC=$ac_ct_CC 29292ddb6cf1Smrg fi 2930a1d141d5Smrgfi 2931a1d141d5Smrg 2932a1d141d5Smrgfi 2933a1d141d5Smrg 2934a1d141d5Smrg 293555074dd0Smrgtest -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 29362ddb6cf1Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 293755074dd0Smrgas_fn_error $? "no acceptable C compiler found in \$PATH 293855074dd0SmrgSee \`config.log' for more details" "$LINENO" 5; } 2939a1d141d5Smrg 2940a1d141d5Smrg# Provide some information about the compiler. 294155074dd0Smrg$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 29422ddb6cf1Smrgset X $ac_compile 29432ddb6cf1Smrgac_compiler=$2 294455074dd0Smrgfor ac_option in --version -v -V -qversion; do 294555074dd0Smrg { { ac_try="$ac_compiler $ac_option >&5" 29462ddb6cf1Smrgcase "(($ac_try" in 29472ddb6cf1Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 29482ddb6cf1Smrg *) ac_try_echo=$ac_try;; 29492ddb6cf1Smrgesac 295055074dd0Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 295155074dd0Smrg$as_echo "$ac_try_echo"; } >&5 295255074dd0Smrg (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2953a1d141d5Smrg ac_status=$? 295455074dd0Smrg if test -s conftest.err; then 295555074dd0Smrg sed '10a\ 295655074dd0Smrg... rest of stderr output deleted ... 295755074dd0Smrg 10q' conftest.err >conftest.er1 295855074dd0Smrg cat conftest.er1 >&5 295955074dd0Smrg fi 296055074dd0Smrg rm -f conftest.er1 conftest.err 296155074dd0Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 296255074dd0Smrg test $ac_status = 0; } 296355074dd0Smrgdone 2964a1d141d5Smrg 296555074dd0Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 2966a1d141d5Smrg/* end confdefs.h. */ 2967a1d141d5Smrg 2968a1d141d5Smrgint 2969a1d141d5Smrgmain () 2970a1d141d5Smrg{ 2971a1d141d5Smrg 2972a1d141d5Smrg ; 2973a1d141d5Smrg return 0; 2974a1d141d5Smrg} 2975a1d141d5Smrg_ACEOF 2976a1d141d5Smrgac_clean_files_save=$ac_clean_files 29772ddb6cf1Smrgac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2978a1d141d5Smrg# Try to create an executable without -o first, disregard a.out. 2979a1d141d5Smrg# It will help us diagnose broken compilers, and finding out an intuition 2980a1d141d5Smrg# of exeext. 298155074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 298255074dd0Smrg$as_echo_n "checking whether the C compiler works... " >&6; } 29832ddb6cf1Smrgac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 29842ddb6cf1Smrg 29852ddb6cf1Smrg# The possible output files: 29862ddb6cf1Smrgac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 29872ddb6cf1Smrg 29882ddb6cf1Smrgac_rmfiles= 29892ddb6cf1Smrgfor ac_file in $ac_files 29902ddb6cf1Smrgdo 29912ddb6cf1Smrg case $ac_file in 29922ddb6cf1Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 29932ddb6cf1Smrg * ) ac_rmfiles="$ac_rmfiles $ac_file";; 29942ddb6cf1Smrg esac 29952ddb6cf1Smrgdone 29962ddb6cf1Smrgrm -f $ac_rmfiles 29972ddb6cf1Smrg 299855074dd0Smrgif { { ac_try="$ac_link_default" 29992ddb6cf1Smrgcase "(($ac_try" in 30002ddb6cf1Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 30012ddb6cf1Smrg *) ac_try_echo=$ac_try;; 30022ddb6cf1Smrgesac 300355074dd0Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 300455074dd0Smrg$as_echo "$ac_try_echo"; } >&5 30052ddb6cf1Smrg (eval "$ac_link_default") 2>&5 3006a1d141d5Smrg ac_status=$? 300755074dd0Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 300855074dd0Smrg test $ac_status = 0; }; then : 30092ddb6cf1Smrg # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 30102ddb6cf1Smrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 30112ddb6cf1Smrg# in a Makefile. We should not override ac_cv_exeext if it was cached, 30122ddb6cf1Smrg# so that the user can short-circuit this test for compilers unknown to 30132ddb6cf1Smrg# Autoconf. 30142ddb6cf1Smrgfor ac_file in $ac_files '' 3015a1d141d5Smrgdo 3016a1d141d5Smrg test -f "$ac_file" || continue 3017a1d141d5Smrg case $ac_file in 30182ddb6cf1Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3019a1d141d5Smrg ;; 3020a1d141d5Smrg [ab].out ) 3021a1d141d5Smrg # We found the default executable, but exeext='' is most 3022a1d141d5Smrg # certainly right. 3023a1d141d5Smrg break;; 3024a1d141d5Smrg *.* ) 302555074dd0Smrg if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 30262ddb6cf1Smrg then :; else 30272ddb6cf1Smrg ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 30282ddb6cf1Smrg fi 30292ddb6cf1Smrg # We set ac_cv_exeext here because the later test for it is not 30302ddb6cf1Smrg # safe: cross compilers may not add the suffix if given an `-o' 30312ddb6cf1Smrg # argument, so we may need to know it at that point already. 30322ddb6cf1Smrg # Even if this section looks crufty: it has the advantage of 30332ddb6cf1Smrg # actually working. 3034a1d141d5Smrg break;; 3035a1d141d5Smrg * ) 3036a1d141d5Smrg break;; 3037a1d141d5Smrg esac 3038a1d141d5Smrgdone 30392ddb6cf1Smrgtest "$ac_cv_exeext" = no && ac_cv_exeext= 30402ddb6cf1Smrg 3041a1d141d5Smrgelse 30422ddb6cf1Smrg ac_file='' 30432ddb6cf1Smrgfi 304455074dd0Smrgif test -z "$ac_file"; then : 304555074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 304655074dd0Smrg$as_echo "no" >&6; } 304755074dd0Smrg$as_echo "$as_me: failed program was:" >&5 3048a1d141d5Smrgsed 's/^/| /' conftest.$ac_ext >&5 3049a1d141d5Smrg 305055074dd0Smrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 30512ddb6cf1Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 305255074dd0Smrgas_fn_error 77 "C compiler cannot create executables 305355074dd0SmrgSee \`config.log' for more details" "$LINENO" 5; } 305455074dd0Smrgelse 305555074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 305655074dd0Smrg$as_echo "yes" >&6; } 3057a1d141d5Smrgfi 305855074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 305955074dd0Smrg$as_echo_n "checking for C compiler default output file name... " >&6; } 306055074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 306155074dd0Smrg$as_echo "$ac_file" >&6; } 3062a1d141d5Smrgac_exeext=$ac_cv_exeext 3063a1d141d5Smrg 30642ddb6cf1Smrgrm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3065a1d141d5Smrgac_clean_files=$ac_clean_files_save 306655074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 30672ddb6cf1Smrg$as_echo_n "checking for suffix of executables... " >&6; } 306855074dd0Smrgif { { ac_try="$ac_link" 30692ddb6cf1Smrgcase "(($ac_try" in 30702ddb6cf1Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 30712ddb6cf1Smrg *) ac_try_echo=$ac_try;; 30722ddb6cf1Smrgesac 307355074dd0Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 307455074dd0Smrg$as_echo "$ac_try_echo"; } >&5 30752ddb6cf1Smrg (eval "$ac_link") 2>&5 3076a1d141d5Smrg ac_status=$? 307755074dd0Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 307855074dd0Smrg test $ac_status = 0; }; then : 3079a1d141d5Smrg # If both `conftest.exe' and `conftest' are `present' (well, observable) 3080a1d141d5Smrg# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3081a1d141d5Smrg# work properly (i.e., refer to `conftest.exe'), while it won't with 3082a1d141d5Smrg# `rm'. 3083a1d141d5Smrgfor ac_file in conftest.exe conftest conftest.*; do 3084a1d141d5Smrg test -f "$ac_file" || continue 3085a1d141d5Smrg case $ac_file in 30862ddb6cf1Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3087a1d141d5Smrg *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3088a1d141d5Smrg break;; 3089a1d141d5Smrg * ) break;; 3090a1d141d5Smrg esac 3091a1d141d5Smrgdone 3092a1d141d5Smrgelse 309355074dd0Smrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 30942ddb6cf1Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 309555074dd0Smrgas_fn_error $? "cannot compute suffix of executables: cannot compile and link 309655074dd0SmrgSee \`config.log' for more details" "$LINENO" 5; } 3097a1d141d5Smrgfi 309855074dd0Smrgrm -f conftest conftest$ac_cv_exeext 309955074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 31002ddb6cf1Smrg$as_echo "$ac_cv_exeext" >&6; } 3101a1d141d5Smrg 3102a1d141d5Smrgrm -f conftest.$ac_ext 3103a1d141d5SmrgEXEEXT=$ac_cv_exeext 3104a1d141d5Smrgac_exeext=$EXEEXT 310555074dd0Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 3106a1d141d5Smrg/* end confdefs.h. */ 310755074dd0Smrg#include <stdio.h> 3108a1d141d5Smrgint 3109a1d141d5Smrgmain () 3110a1d141d5Smrg{ 311155074dd0SmrgFILE *f = fopen ("conftest.out", "w"); 311255074dd0Smrg return ferror (f) || fclose (f) != 0; 3113a1d141d5Smrg 3114a1d141d5Smrg ; 3115a1d141d5Smrg return 0; 3116a1d141d5Smrg} 3117a1d141d5Smrg_ACEOF 311855074dd0Smrgac_clean_files="$ac_clean_files conftest.out" 311955074dd0Smrg# Check that the compiler produces executables we can run. If not, either 312055074dd0Smrg# the compiler is broken, or we cross compile. 312155074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 312255074dd0Smrg$as_echo_n "checking whether we are cross compiling... " >&6; } 312355074dd0Smrgif test "$cross_compiling" != yes; then 312455074dd0Smrg { { ac_try="$ac_link" 31252ddb6cf1Smrgcase "(($ac_try" in 31262ddb6cf1Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 31272ddb6cf1Smrg *) ac_try_echo=$ac_try;; 31282ddb6cf1Smrgesac 312955074dd0Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 313055074dd0Smrg$as_echo "$ac_try_echo"; } >&5 313155074dd0Smrg (eval "$ac_link") 2>&5 3132a1d141d5Smrg ac_status=$? 313355074dd0Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 313455074dd0Smrg test $ac_status = 0; } 313555074dd0Smrg if { ac_try='./conftest$ac_cv_exeext' 313655074dd0Smrg { { case "(($ac_try" in 313755074dd0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 313855074dd0Smrg *) ac_try_echo=$ac_try;; 313955074dd0Smrgesac 314055074dd0Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 314155074dd0Smrg$as_echo "$ac_try_echo"; } >&5 314255074dd0Smrg (eval "$ac_try") 2>&5 314355074dd0Smrg ac_status=$? 314455074dd0Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 314555074dd0Smrg test $ac_status = 0; }; }; then 314655074dd0Smrg cross_compiling=no 314755074dd0Smrg else 314855074dd0Smrg if test "$cross_compiling" = maybe; then 314955074dd0Smrg cross_compiling=yes 315055074dd0Smrg else 315155074dd0Smrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 315255074dd0Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 315355074dd0Smrgas_fn_error $? "cannot run C compiled programs. 315455074dd0SmrgIf you meant to cross compile, use \`--host'. 315555074dd0SmrgSee \`config.log' for more details" "$LINENO" 5; } 315655074dd0Smrg fi 315755074dd0Smrg fi 315855074dd0Smrgfi 315955074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 316055074dd0Smrg$as_echo "$cross_compiling" >&6; } 316155074dd0Smrg 316255074dd0Smrgrm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 316355074dd0Smrgac_clean_files=$ac_clean_files_save 316455074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 316555074dd0Smrg$as_echo_n "checking for suffix of object files... " >&6; } 316655074dd0Smrgif ${ac_cv_objext+:} false; then : 316755074dd0Smrg $as_echo_n "(cached) " >&6 316855074dd0Smrgelse 316955074dd0Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 317055074dd0Smrg/* end confdefs.h. */ 317155074dd0Smrg 317255074dd0Smrgint 317355074dd0Smrgmain () 317455074dd0Smrg{ 317555074dd0Smrg 317655074dd0Smrg ; 317755074dd0Smrg return 0; 317855074dd0Smrg} 317955074dd0Smrg_ACEOF 318055074dd0Smrgrm -f conftest.o conftest.obj 318155074dd0Smrgif { { ac_try="$ac_compile" 318255074dd0Smrgcase "(($ac_try" in 318355074dd0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 318455074dd0Smrg *) ac_try_echo=$ac_try;; 318555074dd0Smrgesac 318655074dd0Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 318755074dd0Smrg$as_echo "$ac_try_echo"; } >&5 318855074dd0Smrg (eval "$ac_compile") 2>&5 318955074dd0Smrg ac_status=$? 319055074dd0Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 319155074dd0Smrg test $ac_status = 0; }; then : 319255074dd0Smrg for ac_file in conftest.o conftest.obj conftest.*; do 319355074dd0Smrg test -f "$ac_file" || continue; 319455074dd0Smrg case $ac_file in 31952ddb6cf1Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3196a1d141d5Smrg *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3197a1d141d5Smrg break;; 3198a1d141d5Smrg esac 3199a1d141d5Smrgdone 3200a1d141d5Smrgelse 32012ddb6cf1Smrg $as_echo "$as_me: failed program was:" >&5 3202a1d141d5Smrgsed 's/^/| /' conftest.$ac_ext >&5 3203a1d141d5Smrg 320455074dd0Smrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 32052ddb6cf1Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 320655074dd0Smrgas_fn_error $? "cannot compute suffix of object files: cannot compile 320755074dd0SmrgSee \`config.log' for more details" "$LINENO" 5; } 3208a1d141d5Smrgfi 3209a1d141d5Smrgrm -f conftest.$ac_cv_objext conftest.$ac_ext 3210a1d141d5Smrgfi 321155074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 32122ddb6cf1Smrg$as_echo "$ac_cv_objext" >&6; } 3213a1d141d5SmrgOBJEXT=$ac_cv_objext 3214a1d141d5Smrgac_objext=$OBJEXT 321555074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 32162ddb6cf1Smrg$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 321755074dd0Smrgif ${ac_cv_c_compiler_gnu+:} false; then : 32182ddb6cf1Smrg $as_echo_n "(cached) " >&6 3219a1d141d5Smrgelse 322055074dd0Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3221a1d141d5Smrg/* end confdefs.h. */ 3222a1d141d5Smrg 3223a1d141d5Smrgint 3224a1d141d5Smrgmain () 3225a1d141d5Smrg{ 3226a1d141d5Smrg#ifndef __GNUC__ 3227a1d141d5Smrg choke me 3228a1d141d5Smrg#endif 3229a1d141d5Smrg 3230a1d141d5Smrg ; 3231a1d141d5Smrg return 0; 3232a1d141d5Smrg} 3233a1d141d5Smrg_ACEOF 323455074dd0Smrgif ac_fn_c_try_compile "$LINENO"; then : 3235a1d141d5Smrg ac_compiler_gnu=yes 3236a1d141d5Smrgelse 323755074dd0Smrg ac_compiler_gnu=no 3238a1d141d5Smrgfi 32392ddb6cf1Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3240a1d141d5Smrgac_cv_c_compiler_gnu=$ac_compiler_gnu 3241a1d141d5Smrg 3242a1d141d5Smrgfi 324355074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 32442ddb6cf1Smrg$as_echo "$ac_cv_c_compiler_gnu" >&6; } 32452ddb6cf1Smrgif test $ac_compiler_gnu = yes; then 32462ddb6cf1Smrg GCC=yes 32472ddb6cf1Smrgelse 32482ddb6cf1Smrg GCC= 32492ddb6cf1Smrgfi 3250a1d141d5Smrgac_test_CFLAGS=${CFLAGS+set} 3251a1d141d5Smrgac_save_CFLAGS=$CFLAGS 325255074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 32532ddb6cf1Smrg$as_echo_n "checking whether $CC accepts -g... " >&6; } 325455074dd0Smrgif ${ac_cv_prog_cc_g+:} false; then : 32552ddb6cf1Smrg $as_echo_n "(cached) " >&6 3256a1d141d5Smrgelse 32572ddb6cf1Smrg ac_save_c_werror_flag=$ac_c_werror_flag 32582ddb6cf1Smrg ac_c_werror_flag=yes 32592ddb6cf1Smrg ac_cv_prog_cc_g=no 32602ddb6cf1Smrg CFLAGS="-g" 326155074dd0Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3262a1d141d5Smrg/* end confdefs.h. */ 3263a1d141d5Smrg 3264a1d141d5Smrgint 3265a1d141d5Smrgmain () 3266a1d141d5Smrg{ 3267a1d141d5Smrg 3268a1d141d5Smrg ; 3269a1d141d5Smrg return 0; 3270a1d141d5Smrg} 3271a1d141d5Smrg_ACEOF 327255074dd0Smrgif ac_fn_c_try_compile "$LINENO"; then : 32732ddb6cf1Smrg ac_cv_prog_cc_g=yes 32742ddb6cf1Smrgelse 327555074dd0Smrg CFLAGS="" 327655074dd0Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32772ddb6cf1Smrg/* end confdefs.h. */ 32782ddb6cf1Smrg 32792ddb6cf1Smrgint 32802ddb6cf1Smrgmain () 32812ddb6cf1Smrg{ 32822ddb6cf1Smrg 32832ddb6cf1Smrg ; 32842ddb6cf1Smrg return 0; 32852ddb6cf1Smrg} 32862ddb6cf1Smrg_ACEOF 328755074dd0Smrgif ac_fn_c_try_compile "$LINENO"; then : 32882ddb6cf1Smrg 328955074dd0Smrgelse 329055074dd0Smrg ac_c_werror_flag=$ac_save_c_werror_flag 32912ddb6cf1Smrg CFLAGS="-g" 329255074dd0Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32932ddb6cf1Smrg/* end confdefs.h. */ 32942ddb6cf1Smrg 32952ddb6cf1Smrgint 32962ddb6cf1Smrgmain () 32972ddb6cf1Smrg{ 32982ddb6cf1Smrg 32992ddb6cf1Smrg ; 33002ddb6cf1Smrg return 0; 33012ddb6cf1Smrg} 33022ddb6cf1Smrg_ACEOF 330355074dd0Smrgif ac_fn_c_try_compile "$LINENO"; then : 3304a1d141d5Smrg ac_cv_prog_cc_g=yes 33052ddb6cf1Smrgfi 33062ddb6cf1Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3307a1d141d5Smrgfi 33082ddb6cf1Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 33092ddb6cf1Smrgfi 33102ddb6cf1Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 33112ddb6cf1Smrg ac_c_werror_flag=$ac_save_c_werror_flag 3312a1d141d5Smrgfi 331355074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 33142ddb6cf1Smrg$as_echo "$ac_cv_prog_cc_g" >&6; } 3315a1d141d5Smrgif test "$ac_test_CFLAGS" = set; then 3316a1d141d5Smrg CFLAGS=$ac_save_CFLAGS 3317a1d141d5Smrgelif test $ac_cv_prog_cc_g = yes; then 3318a1d141d5Smrg if test "$GCC" = yes; then 3319a1d141d5Smrg CFLAGS="-g -O2" 3320a1d141d5Smrg else 3321a1d141d5Smrg CFLAGS="-g" 3322a1d141d5Smrg fi 3323a1d141d5Smrgelse 3324a1d141d5Smrg if test "$GCC" = yes; then 3325a1d141d5Smrg CFLAGS="-O2" 3326a1d141d5Smrg else 3327a1d141d5Smrg CFLAGS= 3328a1d141d5Smrg fi 3329a1d141d5Smrgfi 333055074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 33312ddb6cf1Smrg$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 333255074dd0Smrgif ${ac_cv_prog_cc_c89+:} false; then : 33332ddb6cf1Smrg $as_echo_n "(cached) " >&6 3334a1d141d5Smrgelse 33352ddb6cf1Smrg ac_cv_prog_cc_c89=no 3336a1d141d5Smrgac_save_CC=$CC 333755074dd0Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 3338a1d141d5Smrg/* end confdefs.h. */ 3339a1d141d5Smrg#include <stdarg.h> 3340a1d141d5Smrg#include <stdio.h> 3341a1d141d5Smrg#include <sys/types.h> 3342a1d141d5Smrg#include <sys/stat.h> 3343a1d141d5Smrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3344a1d141d5Smrgstruct buf { int x; }; 3345a1d141d5SmrgFILE * (*rcsopen) (struct buf *, struct stat *, int); 3346a1d141d5Smrgstatic char *e (p, i) 3347a1d141d5Smrg char **p; 3348a1d141d5Smrg int i; 3349a1d141d5Smrg{ 3350a1d141d5Smrg return p[i]; 3351a1d141d5Smrg} 3352a1d141d5Smrgstatic char *f (char * (*g) (char **, int), char **p, ...) 3353a1d141d5Smrg{ 3354a1d141d5Smrg char *s; 3355a1d141d5Smrg va_list v; 3356a1d141d5Smrg va_start (v,p); 3357a1d141d5Smrg s = g (p, va_arg (v,int)); 3358a1d141d5Smrg va_end (v); 3359a1d141d5Smrg return s; 3360a1d141d5Smrg} 3361a1d141d5Smrg 3362a1d141d5Smrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3363a1d141d5Smrg function prototypes and stuff, but not '\xHH' hex character constants. 3364a1d141d5Smrg These don't provoke an error unfortunately, instead are silently treated 33652ddb6cf1Smrg as 'x'. The following induces an error, until -std is added to get 3366a1d141d5Smrg proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3367a1d141d5Smrg array size at least. It's necessary to write '\x00'==0 to get something 33682ddb6cf1Smrg that's true only with -std. */ 3369a1d141d5Smrgint osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3370a1d141d5Smrg 33712ddb6cf1Smrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 33722ddb6cf1Smrg inside strings and character constants. */ 33732ddb6cf1Smrg#define FOO(x) 'x' 33742ddb6cf1Smrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 33752ddb6cf1Smrg 3376a1d141d5Smrgint test (int i, double x); 3377a1d141d5Smrgstruct s1 {int (*f) (int a);}; 3378a1d141d5Smrgstruct s2 {int (*f) (double a);}; 3379a1d141d5Smrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3380a1d141d5Smrgint argc; 3381a1d141d5Smrgchar **argv; 3382a1d141d5Smrgint 3383a1d141d5Smrgmain () 3384a1d141d5Smrg{ 3385a1d141d5Smrgreturn f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3386a1d141d5Smrg ; 3387a1d141d5Smrg return 0; 3388a1d141d5Smrg} 3389a1d141d5Smrg_ACEOF 33902ddb6cf1Smrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 33912ddb6cf1Smrg -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3392a1d141d5Smrgdo 3393a1d141d5Smrg CC="$ac_save_CC $ac_arg" 339455074dd0Smrg if ac_fn_c_try_compile "$LINENO"; then : 33952ddb6cf1Smrg ac_cv_prog_cc_c89=$ac_arg 3396a1d141d5Smrgfi 33972ddb6cf1Smrgrm -f core conftest.err conftest.$ac_objext 33982ddb6cf1Smrg test "x$ac_cv_prog_cc_c89" != "xno" && break 3399a1d141d5Smrgdone 34002ddb6cf1Smrgrm -f conftest.$ac_ext 3401a1d141d5SmrgCC=$ac_save_CC 3402a1d141d5Smrg 3403a1d141d5Smrgfi 34042ddb6cf1Smrg# AC_CACHE_VAL 34052ddb6cf1Smrgcase "x$ac_cv_prog_cc_c89" in 34062ddb6cf1Smrg x) 340755074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 34082ddb6cf1Smrg$as_echo "none needed" >&6; } ;; 34092ddb6cf1Smrg xno) 341055074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 34112ddb6cf1Smrg$as_echo "unsupported" >&6; } ;; 3412a1d141d5Smrg *) 34132ddb6cf1Smrg CC="$CC $ac_cv_prog_cc_c89" 341455074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 34152ddb6cf1Smrg$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3416a1d141d5Smrgesac 341755074dd0Smrgif test "x$ac_cv_prog_cc_c89" != xno; then : 3418a1d141d5Smrg 341955074dd0Smrgfi 3420a1d141d5Smrg 34212ddb6cf1Smrgac_ext=c 34222ddb6cf1Smrgac_cpp='$CPP $CPPFLAGS' 34232ddb6cf1Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 34242ddb6cf1Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 34252ddb6cf1Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 34262ddb6cf1Smrg 34272ddb6cf1Smrgdepcc="$CC" am_compiler_list= 34282ddb6cf1Smrg 342955074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 34302ddb6cf1Smrg$as_echo_n "checking dependency style of $depcc... " >&6; } 343155074dd0Smrgif ${am_cv_CC_dependencies_compiler_type+:} false; then : 34322ddb6cf1Smrg $as_echo_n "(cached) " >&6 34332ddb6cf1Smrgelse 34342ddb6cf1Smrg if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 34352ddb6cf1Smrg # We make a subdir and do the tests there. Otherwise we can end up 34362ddb6cf1Smrg # making bogus files that we don't know about and never remove. For 34372ddb6cf1Smrg # instance it was reported that on HP-UX the gcc test will end up 34382ddb6cf1Smrg # making a dummy file named `D' -- because `-MD' means `put the output 34392ddb6cf1Smrg # in D'. 34402ddb6cf1Smrg mkdir conftest.dir 34412ddb6cf1Smrg # Copy depcomp to subdir because otherwise we won't find it if we're 34422ddb6cf1Smrg # using a relative directory. 34432ddb6cf1Smrg cp "$am_depcomp" conftest.dir 34442ddb6cf1Smrg cd conftest.dir 34452ddb6cf1Smrg # We will build objects and dependencies in a subdirectory because 34462ddb6cf1Smrg # it helps to detect inapplicable dependency modes. For instance 34472ddb6cf1Smrg # both Tru64's cc and ICC support -MD to output dependencies as a 34482ddb6cf1Smrg # side effect of compilation, but ICC will put the dependencies in 34492ddb6cf1Smrg # the current directory while Tru64 will put them in the object 34502ddb6cf1Smrg # directory. 34512ddb6cf1Smrg mkdir sub 34522ddb6cf1Smrg 34532ddb6cf1Smrg am_cv_CC_dependencies_compiler_type=none 34542ddb6cf1Smrg if test "$am_compiler_list" = ""; then 34552ddb6cf1Smrg am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 34562ddb6cf1Smrg fi 34572ddb6cf1Smrg am__universal=false 34582ddb6cf1Smrg case " $depcc " in #( 34592ddb6cf1Smrg *\ -arch\ *\ -arch\ *) am__universal=true ;; 34602ddb6cf1Smrg esac 34612ddb6cf1Smrg 34622ddb6cf1Smrg for depmode in $am_compiler_list; do 34632ddb6cf1Smrg # Setup a source with many dependencies, because some compilers 34642ddb6cf1Smrg # like to wrap large dependency lists on column 80 (with \), and 34652ddb6cf1Smrg # we should not choose a depcomp mode which is confused by this. 34662ddb6cf1Smrg # 34672ddb6cf1Smrg # We need to recreate these files for each test, as the compiler may 34682ddb6cf1Smrg # overwrite some of them when testing with obscure command lines. 34692ddb6cf1Smrg # This happens at least with the AIX C compiler. 34702ddb6cf1Smrg : > sub/conftest.c 34712ddb6cf1Smrg for i in 1 2 3 4 5 6; do 34722ddb6cf1Smrg echo '#include "conftst'$i'.h"' >> sub/conftest.c 34732ddb6cf1Smrg # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 34742ddb6cf1Smrg # Solaris 8's {/usr,}/bin/sh. 34752ddb6cf1Smrg touch sub/conftst$i.h 34762ddb6cf1Smrg done 34772ddb6cf1Smrg echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 34782ddb6cf1Smrg 34792ddb6cf1Smrg # We check with `-c' and `-o' for the sake of the "dashmstdout" 34802ddb6cf1Smrg # mode. It turns out that the SunPro C++ compiler does not properly 34812ddb6cf1Smrg # handle `-M -o', and we need to detect this. Also, some Intel 34822ddb6cf1Smrg # versions had trouble with output in subdirs 34832ddb6cf1Smrg am__obj=sub/conftest.${OBJEXT-o} 34842ddb6cf1Smrg am__minus_obj="-o $am__obj" 34852ddb6cf1Smrg case $depmode in 34862ddb6cf1Smrg gcc) 34872ddb6cf1Smrg # This depmode causes a compiler race in universal mode. 34882ddb6cf1Smrg test "$am__universal" = false || continue 34892ddb6cf1Smrg ;; 34902ddb6cf1Smrg nosideeffect) 34912ddb6cf1Smrg # after this tag, mechanisms are not by side-effect, so they'll 34922ddb6cf1Smrg # only be used when explicitly requested 34932ddb6cf1Smrg if test "x$enable_dependency_tracking" = xyes; then 34942ddb6cf1Smrg continue 34952ddb6cf1Smrg else 34962ddb6cf1Smrg break 34972ddb6cf1Smrg fi 34982ddb6cf1Smrg ;; 34992ddb6cf1Smrg msvisualcpp | msvcmsys) 35002ddb6cf1Smrg # This compiler won't grok `-c -o', but also, the minuso test has 35012ddb6cf1Smrg # not run yet. These depmodes are late enough in the game, and 35022ddb6cf1Smrg # so weak that their functioning should not be impacted. 35032ddb6cf1Smrg am__obj=conftest.${OBJEXT-o} 35042ddb6cf1Smrg am__minus_obj= 35052ddb6cf1Smrg ;; 35062ddb6cf1Smrg none) break ;; 35072ddb6cf1Smrg esac 35082ddb6cf1Smrg if depmode=$depmode \ 35092ddb6cf1Smrg source=sub/conftest.c object=$am__obj \ 35102ddb6cf1Smrg depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 35112ddb6cf1Smrg $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 35122ddb6cf1Smrg >/dev/null 2>conftest.err && 35132ddb6cf1Smrg grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 35142ddb6cf1Smrg grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 35152ddb6cf1Smrg grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 35162ddb6cf1Smrg ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 35172ddb6cf1Smrg # icc doesn't choke on unknown options, it will just issue warnings 35182ddb6cf1Smrg # or remarks (even with -Werror). So we grep stderr for any message 35192ddb6cf1Smrg # that says an option was ignored or not supported. 35202ddb6cf1Smrg # When given -MP, icc 7.0 and 7.1 complain thusly: 35212ddb6cf1Smrg # icc: Command line warning: ignoring option '-M'; no argument required 35222ddb6cf1Smrg # The diagnosis changed in icc 8.0: 35232ddb6cf1Smrg # icc: Command line remark: option '-MP' not supported 35242ddb6cf1Smrg if (grep 'ignoring option' conftest.err || 35252ddb6cf1Smrg grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 35262ddb6cf1Smrg am_cv_CC_dependencies_compiler_type=$depmode 35272ddb6cf1Smrg break 35282ddb6cf1Smrg fi 35292ddb6cf1Smrg fi 35302ddb6cf1Smrg done 35312ddb6cf1Smrg 35322ddb6cf1Smrg cd .. 35332ddb6cf1Smrg rm -rf conftest.dir 35342ddb6cf1Smrgelse 35352ddb6cf1Smrg am_cv_CC_dependencies_compiler_type=none 35362ddb6cf1Smrgfi 35372ddb6cf1Smrg 35382ddb6cf1Smrgfi 353955074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 35402ddb6cf1Smrg$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 35412ddb6cf1SmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 35422ddb6cf1Smrg 35432ddb6cf1Smrg if 35442ddb6cf1Smrg test "x$enable_dependency_tracking" != xno \ 35452ddb6cf1Smrg && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 35462ddb6cf1Smrg am__fastdepCC_TRUE= 35472ddb6cf1Smrg am__fastdepCC_FALSE='#' 35482ddb6cf1Smrgelse 35492ddb6cf1Smrg am__fastdepCC_TRUE='#' 35502ddb6cf1Smrg am__fastdepCC_FALSE= 35512ddb6cf1Smrgfi 35522ddb6cf1Smrg 35532ddb6cf1Smrg 355455074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 355555074dd0Smrg$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 355655074dd0Smrgif ${ac_cv_prog_cc_c99+:} false; then : 35572ddb6cf1Smrg $as_echo_n "(cached) " >&6 35582ddb6cf1Smrgelse 355955074dd0Smrg ac_cv_prog_cc_c99=no 356055074dd0Smrgac_save_CC=$CC 356155074dd0Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 35622ddb6cf1Smrg/* end confdefs.h. */ 356355074dd0Smrg#include <stdarg.h> 356455074dd0Smrg#include <stdbool.h> 356555074dd0Smrg#include <stdlib.h> 356655074dd0Smrg#include <wchar.h> 356755074dd0Smrg#include <stdio.h> 356855074dd0Smrg 356955074dd0Smrg// Check varargs macros. These examples are taken from C99 6.10.3.5. 357055074dd0Smrg#define debug(...) fprintf (stderr, __VA_ARGS__) 357155074dd0Smrg#define showlist(...) puts (#__VA_ARGS__) 357255074dd0Smrg#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 357355074dd0Smrgstatic void 357455074dd0Smrgtest_varargs_macros (void) 357555074dd0Smrg{ 357655074dd0Smrg int x = 1234; 357755074dd0Smrg int y = 5678; 357855074dd0Smrg debug ("Flag"); 357955074dd0Smrg debug ("X = %d\n", x); 358055074dd0Smrg showlist (The first, second, and third items.); 358155074dd0Smrg report (x>y, "x is %d but y is %d", x, y); 358255074dd0Smrg} 358355074dd0Smrg 358455074dd0Smrg// Check long long types. 358555074dd0Smrg#define BIG64 18446744073709551615ull 358655074dd0Smrg#define BIG32 4294967295ul 358755074dd0Smrg#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 358855074dd0Smrg#if !BIG_OK 358955074dd0Smrg your preprocessor is broken; 359055074dd0Smrg#endif 359155074dd0Smrg#if BIG_OK 35922ddb6cf1Smrg#else 359355074dd0Smrg your preprocessor is broken; 35942ddb6cf1Smrg#endif 359555074dd0Smrgstatic long long int bignum = -9223372036854775807LL; 359655074dd0Smrgstatic unsigned long long int ubignum = BIG64; 35972ddb6cf1Smrg 359855074dd0Smrgstruct incomplete_array 359955074dd0Smrg{ 360055074dd0Smrg int datasize; 360155074dd0Smrg double data[]; 360255074dd0Smrg}; 36032ddb6cf1Smrg 360455074dd0Smrgstruct named_init { 360555074dd0Smrg int number; 360655074dd0Smrg const wchar_t *name; 360755074dd0Smrg double average; 360855074dd0Smrg}; 36092ddb6cf1Smrg 361055074dd0Smrgtypedef const char *ccp; 36112ddb6cf1Smrg 361255074dd0Smrgstatic inline int 361355074dd0Smrgtest_restrict (ccp restrict text) 361455074dd0Smrg{ 361555074dd0Smrg // See if C++-style comments work. 361655074dd0Smrg // Iterate through items via the restricted pointer. 361755074dd0Smrg // Also check for declarations in for loops. 361855074dd0Smrg for (unsigned int i = 0; *(text+i) != '\0'; ++i) 361955074dd0Smrg continue; 362055074dd0Smrg return 0; 362155074dd0Smrg} 36222ddb6cf1Smrg 362355074dd0Smrg// Check varargs and va_copy. 362455074dd0Smrgstatic void 362555074dd0Smrgtest_varargs (const char *format, ...) 362655074dd0Smrg{ 362755074dd0Smrg va_list args; 362855074dd0Smrg va_start (args, format); 362955074dd0Smrg va_list args_copy; 363055074dd0Smrg va_copy (args_copy, args); 36312ddb6cf1Smrg 363255074dd0Smrg const char *str; 363355074dd0Smrg int number; 363455074dd0Smrg float fnumber; 36352ddb6cf1Smrg 363655074dd0Smrg while (*format) 363755074dd0Smrg { 363855074dd0Smrg switch (*format++) 363955074dd0Smrg { 364055074dd0Smrg case 's': // string 364155074dd0Smrg str = va_arg (args_copy, const char *); 364255074dd0Smrg break; 364355074dd0Smrg case 'd': // int 364455074dd0Smrg number = va_arg (args_copy, int); 364555074dd0Smrg break; 364655074dd0Smrg case 'f': // float 364755074dd0Smrg fnumber = va_arg (args_copy, double); 364855074dd0Smrg break; 364955074dd0Smrg default: 365055074dd0Smrg break; 365155074dd0Smrg } 365255074dd0Smrg } 365355074dd0Smrg va_end (args_copy); 365455074dd0Smrg va_end (args); 365555074dd0Smrg} 365655074dd0Smrg 365755074dd0Smrgint 365855074dd0Smrgmain () 365955074dd0Smrg{ 366055074dd0Smrg 366155074dd0Smrg // Check bool. 366255074dd0Smrg _Bool success = false; 366355074dd0Smrg 366455074dd0Smrg // Check restrict. 366555074dd0Smrg if (test_restrict ("String literal") == 0) 366655074dd0Smrg success = true; 366755074dd0Smrg char *restrict newvar = "Another string"; 366855074dd0Smrg 366955074dd0Smrg // Check varargs. 367055074dd0Smrg test_varargs ("s, d' f .", "string", 65, 34.234); 367155074dd0Smrg test_varargs_macros (); 367255074dd0Smrg 367355074dd0Smrg // Check flexible array members. 367455074dd0Smrg struct incomplete_array *ia = 367555074dd0Smrg malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 367655074dd0Smrg ia->datasize = 10; 367755074dd0Smrg for (int i = 0; i < ia->datasize; ++i) 367855074dd0Smrg ia->data[i] = i * 1.234; 367955074dd0Smrg 368055074dd0Smrg // Check named initializers. 368155074dd0Smrg struct named_init ni = { 368255074dd0Smrg .number = 34, 368355074dd0Smrg .name = L"Test wide string", 368455074dd0Smrg .average = 543.34343, 368555074dd0Smrg }; 368655074dd0Smrg 368755074dd0Smrg ni.number = 58; 368855074dd0Smrg 368955074dd0Smrg int dynamic_array[ni.number]; 369055074dd0Smrg dynamic_array[ni.number - 1] = 543; 369155074dd0Smrg 369255074dd0Smrg // work around unused variable warnings 369355074dd0Smrg return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 369455074dd0Smrg || dynamic_array[ni.number - 1] != 543); 369555074dd0Smrg 369655074dd0Smrg ; 369755074dd0Smrg return 0; 369855074dd0Smrg} 369955074dd0Smrg_ACEOF 370055074dd0Smrgfor ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 370155074dd0Smrgdo 370255074dd0Smrg CC="$ac_save_CC $ac_arg" 370355074dd0Smrg if ac_fn_c_try_compile "$LINENO"; then : 370455074dd0Smrg ac_cv_prog_cc_c99=$ac_arg 370555074dd0Smrgfi 370655074dd0Smrgrm -f core conftest.err conftest.$ac_objext 370755074dd0Smrg test "x$ac_cv_prog_cc_c99" != "xno" && break 370855074dd0Smrgdone 370955074dd0Smrgrm -f conftest.$ac_ext 371055074dd0SmrgCC=$ac_save_CC 371155074dd0Smrg 371255074dd0Smrgfi 371355074dd0Smrg# AC_CACHE_VAL 371455074dd0Smrgcase "x$ac_cv_prog_cc_c99" in 371555074dd0Smrg x) 371655074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 371755074dd0Smrg$as_echo "none needed" >&6; } ;; 371855074dd0Smrg xno) 371955074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 372055074dd0Smrg$as_echo "unsupported" >&6; } ;; 372155074dd0Smrg *) 372255074dd0Smrg CC="$CC $ac_cv_prog_cc_c99" 372355074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 372455074dd0Smrg$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 372555074dd0Smrgesac 372655074dd0Smrgif test "x$ac_cv_prog_cc_c99" != xno; then : 372755074dd0Smrg 372855074dd0Smrgfi 372955074dd0Smrg 373055074dd0Smrg 373155074dd0Smrg 373255074dd0Smrgac_ext=c 373355074dd0Smrgac_cpp='$CPP $CPPFLAGS' 373455074dd0Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 373555074dd0Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 373655074dd0Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 373755074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 373855074dd0Smrg$as_echo_n "checking how to run the C preprocessor... " >&6; } 373955074dd0Smrg# On Suns, sometimes $CPP names a directory. 374055074dd0Smrgif test -n "$CPP" && test -d "$CPP"; then 374155074dd0Smrg CPP= 374255074dd0Smrgfi 374355074dd0Smrgif test -z "$CPP"; then 374455074dd0Smrg if ${ac_cv_prog_CPP+:} false; then : 374555074dd0Smrg $as_echo_n "(cached) " >&6 374655074dd0Smrgelse 374755074dd0Smrg # Double quotes because CPP needs to be expanded 374855074dd0Smrg for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 374955074dd0Smrg do 375055074dd0Smrg ac_preproc_ok=false 37512ddb6cf1Smrgfor ac_c_preproc_warn_flag in '' yes 37522ddb6cf1Smrgdo 37532ddb6cf1Smrg # Use a header file that comes with gcc, so configuring glibc 37542ddb6cf1Smrg # with a fresh cross-compiler works. 37552ddb6cf1Smrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 37562ddb6cf1Smrg # <limits.h> exists even on freestanding compilers. 37572ddb6cf1Smrg # On the NeXT, cc -E runs the code through the compiler's parser, 37582ddb6cf1Smrg # not just through cpp. "Syntax error" is here to catch this case. 375955074dd0Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37602ddb6cf1Smrg/* end confdefs.h. */ 37612ddb6cf1Smrg#ifdef __STDC__ 37622ddb6cf1Smrg# include <limits.h> 37632ddb6cf1Smrg#else 37642ddb6cf1Smrg# include <assert.h> 37652ddb6cf1Smrg#endif 37662ddb6cf1Smrg Syntax error 37672ddb6cf1Smrg_ACEOF 376855074dd0Smrgif ac_fn_c_try_cpp "$LINENO"; then : 37692ddb6cf1Smrg 377055074dd0Smrgelse 37712ddb6cf1Smrg # Broken: fails on valid input. 37722ddb6cf1Smrgcontinue 37732ddb6cf1Smrgfi 377455074dd0Smrgrm -f conftest.err conftest.i conftest.$ac_ext 37752ddb6cf1Smrg 37762ddb6cf1Smrg # OK, works on sane cases. Now check whether nonexistent headers 37772ddb6cf1Smrg # can be detected and how. 377855074dd0Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37792ddb6cf1Smrg/* end confdefs.h. */ 37802ddb6cf1Smrg#include <ac_nonexistent.h> 37812ddb6cf1Smrg_ACEOF 378255074dd0Smrgif ac_fn_c_try_cpp "$LINENO"; then : 37832ddb6cf1Smrg # Broken: success on invalid input. 37842ddb6cf1Smrgcontinue 3785a1d141d5Smrgelse 37862ddb6cf1Smrg # Passes both tests. 37872ddb6cf1Smrgac_preproc_ok=: 37882ddb6cf1Smrgbreak 37892ddb6cf1Smrgfi 379055074dd0Smrgrm -f conftest.err conftest.i conftest.$ac_ext 379155074dd0Smrg 379255074dd0Smrgdone 379355074dd0Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 379455074dd0Smrgrm -f conftest.i conftest.err conftest.$ac_ext 379555074dd0Smrgif $ac_preproc_ok; then : 379655074dd0Smrg break 379755074dd0Smrgfi 379855074dd0Smrg 379955074dd0Smrg done 380055074dd0Smrg ac_cv_prog_CPP=$CPP 380155074dd0Smrg 380255074dd0Smrgfi 380355074dd0Smrg CPP=$ac_cv_prog_CPP 380455074dd0Smrgelse 380555074dd0Smrg ac_cv_prog_CPP=$CPP 380655074dd0Smrgfi 380755074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 380855074dd0Smrg$as_echo "$CPP" >&6; } 380955074dd0Smrgac_preproc_ok=false 381055074dd0Smrgfor ac_c_preproc_warn_flag in '' yes 381155074dd0Smrgdo 381255074dd0Smrg # Use a header file that comes with gcc, so configuring glibc 381355074dd0Smrg # with a fresh cross-compiler works. 381455074dd0Smrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 381555074dd0Smrg # <limits.h> exists even on freestanding compilers. 381655074dd0Smrg # On the NeXT, cc -E runs the code through the compiler's parser, 381755074dd0Smrg # not just through cpp. "Syntax error" is here to catch this case. 381855074dd0Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 381955074dd0Smrg/* end confdefs.h. */ 382055074dd0Smrg#ifdef __STDC__ 382155074dd0Smrg# include <limits.h> 382255074dd0Smrg#else 382355074dd0Smrg# include <assert.h> 382455074dd0Smrg#endif 382555074dd0Smrg Syntax error 382655074dd0Smrg_ACEOF 382755074dd0Smrgif ac_fn_c_try_cpp "$LINENO"; then : 382855074dd0Smrg 382955074dd0Smrgelse 383055074dd0Smrg # Broken: fails on valid input. 383155074dd0Smrgcontinue 383255074dd0Smrgfi 383355074dd0Smrgrm -f conftest.err conftest.i conftest.$ac_ext 38342ddb6cf1Smrg 383555074dd0Smrg # OK, works on sane cases. Now check whether nonexistent headers 383655074dd0Smrg # can be detected and how. 383755074dd0Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 383855074dd0Smrg/* end confdefs.h. */ 383955074dd0Smrg#include <ac_nonexistent.h> 384055074dd0Smrg_ACEOF 384155074dd0Smrgif ac_fn_c_try_cpp "$LINENO"; then : 384255074dd0Smrg # Broken: success on invalid input. 384355074dd0Smrgcontinue 384455074dd0Smrgelse 384555074dd0Smrg # Passes both tests. 384655074dd0Smrgac_preproc_ok=: 384755074dd0Smrgbreak 384855074dd0Smrgfi 384955074dd0Smrgrm -f conftest.err conftest.i conftest.$ac_ext 38502ddb6cf1Smrg 38512ddb6cf1Smrgdone 38522ddb6cf1Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 385355074dd0Smrgrm -f conftest.i conftest.err conftest.$ac_ext 385455074dd0Smrgif $ac_preproc_ok; then : 385555074dd0Smrg 38562ddb6cf1Smrgelse 385755074dd0Smrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 38582ddb6cf1Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 385955074dd0Smrgas_fn_error $? "C preprocessor \"$CPP\" fails sanity check 386055074dd0SmrgSee \`config.log' for more details" "$LINENO" 5; } 3861a1d141d5Smrgfi 38622ddb6cf1Smrg 38632ddb6cf1Smrgac_ext=c 38642ddb6cf1Smrgac_cpp='$CPP $CPPFLAGS' 38652ddb6cf1Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 38662ddb6cf1Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 38672ddb6cf1Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 38682ddb6cf1Smrg 38692ddb6cf1Smrg 387055074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 38712ddb6cf1Smrg$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 387255074dd0Smrgif ${ac_cv_path_GREP+:} false; then : 38732ddb6cf1Smrg $as_echo_n "(cached) " >&6 38742ddb6cf1Smrgelse 38752ddb6cf1Smrg if test -z "$GREP"; then 38762ddb6cf1Smrg ac_path_GREP_found=false 38772ddb6cf1Smrg # Loop through the user's path and test for each of PROGNAME-LIST 38782ddb6cf1Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 38792ddb6cf1Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 38802ddb6cf1Smrgdo 38812ddb6cf1Smrg IFS=$as_save_IFS 38822ddb6cf1Smrg test -z "$as_dir" && as_dir=. 388355074dd0Smrg for ac_prog in grep ggrep; do 38842ddb6cf1Smrg for ac_exec_ext in '' $ac_executable_extensions; do 38852ddb6cf1Smrg ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 38862ddb6cf1Smrg { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 38872ddb6cf1Smrg# Check for GNU ac_path_GREP and select it if it is found. 38882ddb6cf1Smrg # Check for GNU $ac_path_GREP 38892ddb6cf1Smrgcase `"$ac_path_GREP" --version 2>&1` in 38902ddb6cf1Smrg*GNU*) 38912ddb6cf1Smrg ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 38922ddb6cf1Smrg*) 38932ddb6cf1Smrg ac_count=0 38942ddb6cf1Smrg $as_echo_n 0123456789 >"conftest.in" 38952ddb6cf1Smrg while : 38962ddb6cf1Smrg do 38972ddb6cf1Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 38982ddb6cf1Smrg mv "conftest.tmp" "conftest.in" 38992ddb6cf1Smrg cp "conftest.in" "conftest.nl" 39002ddb6cf1Smrg $as_echo 'GREP' >> "conftest.nl" 39012ddb6cf1Smrg "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 39022ddb6cf1Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 390355074dd0Smrg as_fn_arith $ac_count + 1 && ac_count=$as_val 39042ddb6cf1Smrg if test $ac_count -gt ${ac_path_GREP_max-0}; then 39052ddb6cf1Smrg # Best one so far, save it but keep looking for a better one 39062ddb6cf1Smrg ac_cv_path_GREP="$ac_path_GREP" 39072ddb6cf1Smrg ac_path_GREP_max=$ac_count 39082ddb6cf1Smrg fi 39092ddb6cf1Smrg # 10*(2^10) chars as input seems more than enough 39102ddb6cf1Smrg test $ac_count -gt 10 && break 39112ddb6cf1Smrg done 39122ddb6cf1Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 39132ddb6cf1Smrgesac 39142ddb6cf1Smrg 39152ddb6cf1Smrg $ac_path_GREP_found && break 3 39162ddb6cf1Smrg done 39172ddb6cf1Smrg done 391855074dd0Smrg done 39192ddb6cf1SmrgIFS=$as_save_IFS 39202ddb6cf1Smrg if test -z "$ac_cv_path_GREP"; then 392155074dd0Smrg as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 39222ddb6cf1Smrg fi 39232ddb6cf1Smrgelse 39242ddb6cf1Smrg ac_cv_path_GREP=$GREP 3925a1d141d5Smrgfi 3926a1d141d5Smrg 39272ddb6cf1Smrgfi 392855074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 39292ddb6cf1Smrg$as_echo "$ac_cv_path_GREP" >&6; } 39302ddb6cf1Smrg GREP="$ac_cv_path_GREP" 39312ddb6cf1Smrg 39322ddb6cf1Smrg 393355074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 39342ddb6cf1Smrg$as_echo_n "checking for egrep... " >&6; } 393555074dd0Smrgif ${ac_cv_path_EGREP+:} false; then : 39362ddb6cf1Smrg $as_echo_n "(cached) " >&6 39372ddb6cf1Smrgelse 39382ddb6cf1Smrg if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 39392ddb6cf1Smrg then ac_cv_path_EGREP="$GREP -E" 39402ddb6cf1Smrg else 39412ddb6cf1Smrg if test -z "$EGREP"; then 39422ddb6cf1Smrg ac_path_EGREP_found=false 39432ddb6cf1Smrg # Loop through the user's path and test for each of PROGNAME-LIST 39442ddb6cf1Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 39452ddb6cf1Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 39462ddb6cf1Smrgdo 39472ddb6cf1Smrg IFS=$as_save_IFS 39482ddb6cf1Smrg test -z "$as_dir" && as_dir=. 394955074dd0Smrg for ac_prog in egrep; do 39502ddb6cf1Smrg for ac_exec_ext in '' $ac_executable_extensions; do 39512ddb6cf1Smrg ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 39522ddb6cf1Smrg { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 39532ddb6cf1Smrg# Check for GNU ac_path_EGREP and select it if it is found. 39542ddb6cf1Smrg # Check for GNU $ac_path_EGREP 39552ddb6cf1Smrgcase `"$ac_path_EGREP" --version 2>&1` in 39562ddb6cf1Smrg*GNU*) 39572ddb6cf1Smrg ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 39582ddb6cf1Smrg*) 39592ddb6cf1Smrg ac_count=0 39602ddb6cf1Smrg $as_echo_n 0123456789 >"conftest.in" 39612ddb6cf1Smrg while : 39622ddb6cf1Smrg do 39632ddb6cf1Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 39642ddb6cf1Smrg mv "conftest.tmp" "conftest.in" 39652ddb6cf1Smrg cp "conftest.in" "conftest.nl" 39662ddb6cf1Smrg $as_echo 'EGREP' >> "conftest.nl" 39672ddb6cf1Smrg "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 39682ddb6cf1Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 396955074dd0Smrg as_fn_arith $ac_count + 1 && ac_count=$as_val 39702ddb6cf1Smrg if test $ac_count -gt ${ac_path_EGREP_max-0}; then 39712ddb6cf1Smrg # Best one so far, save it but keep looking for a better one 39722ddb6cf1Smrg ac_cv_path_EGREP="$ac_path_EGREP" 39732ddb6cf1Smrg ac_path_EGREP_max=$ac_count 39742ddb6cf1Smrg fi 39752ddb6cf1Smrg # 10*(2^10) chars as input seems more than enough 39762ddb6cf1Smrg test $ac_count -gt 10 && break 39772ddb6cf1Smrg done 39782ddb6cf1Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 39792ddb6cf1Smrgesac 39802ddb6cf1Smrg 39812ddb6cf1Smrg $ac_path_EGREP_found && break 3 39822ddb6cf1Smrg done 39832ddb6cf1Smrg done 398455074dd0Smrg done 39852ddb6cf1SmrgIFS=$as_save_IFS 39862ddb6cf1Smrg if test -z "$ac_cv_path_EGREP"; then 398755074dd0Smrg as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 39882ddb6cf1Smrg fi 39892ddb6cf1Smrgelse 39902ddb6cf1Smrg ac_cv_path_EGREP=$EGREP 39912ddb6cf1Smrgfi 39922ddb6cf1Smrg 39932ddb6cf1Smrg fi 39942ddb6cf1Smrgfi 399555074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 39962ddb6cf1Smrg$as_echo "$ac_cv_path_EGREP" >&6; } 39972ddb6cf1Smrg EGREP="$ac_cv_path_EGREP" 39982ddb6cf1Smrg 39992ddb6cf1Smrg 400055074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 40012ddb6cf1Smrg$as_echo_n "checking for ANSI C header files... " >&6; } 400255074dd0Smrgif ${ac_cv_header_stdc+:} false; then : 40032ddb6cf1Smrg $as_echo_n "(cached) " >&6 40042ddb6cf1Smrgelse 400555074dd0Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40062ddb6cf1Smrg/* end confdefs.h. */ 40072ddb6cf1Smrg#include <stdlib.h> 40082ddb6cf1Smrg#include <stdarg.h> 40092ddb6cf1Smrg#include <string.h> 40102ddb6cf1Smrg#include <float.h> 40112ddb6cf1Smrg 40122ddb6cf1Smrgint 40132ddb6cf1Smrgmain () 40142ddb6cf1Smrg{ 40152ddb6cf1Smrg 40162ddb6cf1Smrg ; 40172ddb6cf1Smrg return 0; 40182ddb6cf1Smrg} 40192ddb6cf1Smrg_ACEOF 402055074dd0Smrgif ac_fn_c_try_compile "$LINENO"; then : 40212ddb6cf1Smrg ac_cv_header_stdc=yes 40222ddb6cf1Smrgelse 402355074dd0Smrg ac_cv_header_stdc=no 40242ddb6cf1Smrgfi 40252ddb6cf1Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 40262ddb6cf1Smrg 40272ddb6cf1Smrgif test $ac_cv_header_stdc = yes; then 40282ddb6cf1Smrg # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 402955074dd0Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40302ddb6cf1Smrg/* end confdefs.h. */ 40312ddb6cf1Smrg#include <string.h> 40322ddb6cf1Smrg 40332ddb6cf1Smrg_ACEOF 40342ddb6cf1Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 403555074dd0Smrg $EGREP "memchr" >/dev/null 2>&1; then : 403655074dd0Smrg 40372ddb6cf1Smrgelse 40382ddb6cf1Smrg ac_cv_header_stdc=no 40392ddb6cf1Smrgfi 40402ddb6cf1Smrgrm -f conftest* 40412ddb6cf1Smrg 40422ddb6cf1Smrgfi 40432ddb6cf1Smrg 40442ddb6cf1Smrgif test $ac_cv_header_stdc = yes; then 40452ddb6cf1Smrg # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 404655074dd0Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40472ddb6cf1Smrg/* end confdefs.h. */ 40482ddb6cf1Smrg#include <stdlib.h> 40492ddb6cf1Smrg 40502ddb6cf1Smrg_ACEOF 40512ddb6cf1Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 405255074dd0Smrg $EGREP "free" >/dev/null 2>&1; then : 405355074dd0Smrg 40542ddb6cf1Smrgelse 40552ddb6cf1Smrg ac_cv_header_stdc=no 40562ddb6cf1Smrgfi 40572ddb6cf1Smrgrm -f conftest* 40582ddb6cf1Smrg 40592ddb6cf1Smrgfi 40602ddb6cf1Smrg 40612ddb6cf1Smrgif test $ac_cv_header_stdc = yes; then 40622ddb6cf1Smrg # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 406355074dd0Smrg if test "$cross_compiling" = yes; then : 40642ddb6cf1Smrg : 40652ddb6cf1Smrgelse 406655074dd0Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40672ddb6cf1Smrg/* end confdefs.h. */ 40682ddb6cf1Smrg#include <ctype.h> 40692ddb6cf1Smrg#include <stdlib.h> 40702ddb6cf1Smrg#if ((' ' & 0x0FF) == 0x020) 40712ddb6cf1Smrg# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 40722ddb6cf1Smrg# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 40732ddb6cf1Smrg#else 40742ddb6cf1Smrg# define ISLOWER(c) \ 40752ddb6cf1Smrg (('a' <= (c) && (c) <= 'i') \ 40762ddb6cf1Smrg || ('j' <= (c) && (c) <= 'r') \ 40772ddb6cf1Smrg || ('s' <= (c) && (c) <= 'z')) 40782ddb6cf1Smrg# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 40792ddb6cf1Smrg#endif 40802ddb6cf1Smrg 40812ddb6cf1Smrg#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 40822ddb6cf1Smrgint 40832ddb6cf1Smrgmain () 40842ddb6cf1Smrg{ 40852ddb6cf1Smrg int i; 40862ddb6cf1Smrg for (i = 0; i < 256; i++) 40872ddb6cf1Smrg if (XOR (islower (i), ISLOWER (i)) 40882ddb6cf1Smrg || toupper (i) != TOUPPER (i)) 40892ddb6cf1Smrg return 2; 40902ddb6cf1Smrg return 0; 40912ddb6cf1Smrg} 40922ddb6cf1Smrg_ACEOF 409355074dd0Smrgif ac_fn_c_try_run "$LINENO"; then : 40942ddb6cf1Smrg 409555074dd0Smrgelse 409655074dd0Smrg ac_cv_header_stdc=no 40972ddb6cf1Smrgfi 409855074dd0Smrgrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 409955074dd0Smrg conftest.$ac_objext conftest.beam conftest.$ac_ext 41002ddb6cf1Smrgfi 41012ddb6cf1Smrg 41022ddb6cf1Smrgfi 41032ddb6cf1Smrgfi 410455074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 41052ddb6cf1Smrg$as_echo "$ac_cv_header_stdc" >&6; } 41062ddb6cf1Smrgif test $ac_cv_header_stdc = yes; then 41072ddb6cf1Smrg 410855074dd0Smrg$as_echo "#define STDC_HEADERS 1" >>confdefs.h 41092ddb6cf1Smrg 41102ddb6cf1Smrgfi 41112ddb6cf1Smrg 41122ddb6cf1Smrg# On IRIX 5.3, sys/types and inttypes.h are conflicting. 411355074dd0Smrgfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 411455074dd0Smrg inttypes.h stdint.h unistd.h 411555074dd0Smrgdo : 411655074dd0Smrg as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 411755074dd0Smrgac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 411855074dd0Smrg" 411955074dd0Smrgif eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 412055074dd0Smrg cat >>confdefs.h <<_ACEOF 412155074dd0Smrg#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 412255074dd0Smrg_ACEOF 41232ddb6cf1Smrg 412455074dd0Smrgfi 41252ddb6cf1Smrg 412655074dd0Smrgdone 41272ddb6cf1Smrg 41282ddb6cf1Smrg 41292ddb6cf1Smrg 41302ddb6cf1Smrg 413155074dd0Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 413255074dd0Smrg if test -n "$ac_tool_prefix"; then 413355074dd0Smrg # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 413455074dd0Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2 413555074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 413655074dd0Smrg$as_echo_n "checking for $ac_word... " >&6; } 413755074dd0Smrgif ${ac_cv_path_PKG_CONFIG+:} false; then : 41382ddb6cf1Smrg $as_echo_n "(cached) " >&6 41392ddb6cf1Smrgelse 41402ddb6cf1Smrg case $PKG_CONFIG in 41412ddb6cf1Smrg [\\/]* | ?:[\\/]*) 41422ddb6cf1Smrg ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 41432ddb6cf1Smrg ;; 41442ddb6cf1Smrg *) 41452ddb6cf1Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 41462ddb6cf1Smrgfor as_dir in $PATH 41472ddb6cf1Smrgdo 41482ddb6cf1Smrg IFS=$as_save_IFS 41492ddb6cf1Smrg test -z "$as_dir" && as_dir=. 415055074dd0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 41512ddb6cf1Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 41522ddb6cf1Smrg ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 415355074dd0Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 41542ddb6cf1Smrg break 2 41552ddb6cf1Smrg fi 41562ddb6cf1Smrgdone 415755074dd0Smrg done 41582ddb6cf1SmrgIFS=$as_save_IFS 41592ddb6cf1Smrg 41602ddb6cf1Smrg ;; 41612ddb6cf1Smrgesac 41622ddb6cf1Smrgfi 41632ddb6cf1SmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG 41642ddb6cf1Smrgif test -n "$PKG_CONFIG"; then 416555074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 41662ddb6cf1Smrg$as_echo "$PKG_CONFIG" >&6; } 41672ddb6cf1Smrgelse 416855074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 41692ddb6cf1Smrg$as_echo "no" >&6; } 41702ddb6cf1Smrgfi 41712ddb6cf1Smrg 41722ddb6cf1Smrg 41732ddb6cf1Smrgfi 41742ddb6cf1Smrgif test -z "$ac_cv_path_PKG_CONFIG"; then 41752ddb6cf1Smrg ac_pt_PKG_CONFIG=$PKG_CONFIG 41762ddb6cf1Smrg # Extract the first word of "pkg-config", so it can be a program name with args. 41772ddb6cf1Smrgset dummy pkg-config; ac_word=$2 417855074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 41792ddb6cf1Smrg$as_echo_n "checking for $ac_word... " >&6; } 418055074dd0Smrgif ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 41812ddb6cf1Smrg $as_echo_n "(cached) " >&6 41822ddb6cf1Smrgelse 41832ddb6cf1Smrg case $ac_pt_PKG_CONFIG in 41842ddb6cf1Smrg [\\/]* | ?:[\\/]*) 41852ddb6cf1Smrg ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 41862ddb6cf1Smrg ;; 41872ddb6cf1Smrg *) 41882ddb6cf1Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 41892ddb6cf1Smrgfor as_dir in $PATH 41902ddb6cf1Smrgdo 41912ddb6cf1Smrg IFS=$as_save_IFS 41922ddb6cf1Smrg test -z "$as_dir" && as_dir=. 419355074dd0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 41942ddb6cf1Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 41952ddb6cf1Smrg ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 419655074dd0Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 41972ddb6cf1Smrg break 2 41982ddb6cf1Smrg fi 41992ddb6cf1Smrgdone 420055074dd0Smrg done 42012ddb6cf1SmrgIFS=$as_save_IFS 42022ddb6cf1Smrg 42032ddb6cf1Smrg ;; 42042ddb6cf1Smrgesac 42052ddb6cf1Smrgfi 42062ddb6cf1Smrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 42072ddb6cf1Smrgif test -n "$ac_pt_PKG_CONFIG"; then 420855074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 42092ddb6cf1Smrg$as_echo "$ac_pt_PKG_CONFIG" >&6; } 42102ddb6cf1Smrgelse 421155074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 42122ddb6cf1Smrg$as_echo "no" >&6; } 42132ddb6cf1Smrgfi 42142ddb6cf1Smrg 42152ddb6cf1Smrg if test "x$ac_pt_PKG_CONFIG" = x; then 42162ddb6cf1Smrg PKG_CONFIG="" 42172ddb6cf1Smrg else 42182ddb6cf1Smrg case $cross_compiling:$ac_tool_warned in 42192ddb6cf1Smrgyes:) 422055074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 42212ddb6cf1Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 42222ddb6cf1Smrgac_tool_warned=yes ;; 42232ddb6cf1Smrgesac 42242ddb6cf1Smrg PKG_CONFIG=$ac_pt_PKG_CONFIG 42252ddb6cf1Smrg fi 42262ddb6cf1Smrgelse 42272ddb6cf1Smrg PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 42282ddb6cf1Smrgfi 42292ddb6cf1Smrg 42302ddb6cf1Smrgfi 42312ddb6cf1Smrgif test -n "$PKG_CONFIG"; then 42322ddb6cf1Smrg _pkg_min_version=0.9.0 423355074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 42342ddb6cf1Smrg$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 42352ddb6cf1Smrg if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 423655074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 42372ddb6cf1Smrg$as_echo "yes" >&6; } 42382ddb6cf1Smrg else 423955074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 42402ddb6cf1Smrg$as_echo "no" >&6; } 42412ddb6cf1Smrg PKG_CONFIG="" 42422ddb6cf1Smrg fi 42432ddb6cf1Smrg 42442ddb6cf1Smrgfi 42452ddb6cf1Smrg# Make sure we can run config.sub. 42462ddb6cf1Smrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 424755074dd0Smrg as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 42482ddb6cf1Smrg 424955074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 42502ddb6cf1Smrg$as_echo_n "checking build system type... " >&6; } 425155074dd0Smrgif ${ac_cv_build+:} false; then : 42522ddb6cf1Smrg $as_echo_n "(cached) " >&6 42532ddb6cf1Smrgelse 42542ddb6cf1Smrg ac_build_alias=$build_alias 42552ddb6cf1Smrgtest "x$ac_build_alias" = x && 42562ddb6cf1Smrg ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 42572ddb6cf1Smrgtest "x$ac_build_alias" = x && 425855074dd0Smrg as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 42592ddb6cf1Smrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 426055074dd0Smrg as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 42612ddb6cf1Smrg 42622ddb6cf1Smrgfi 426355074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 42642ddb6cf1Smrg$as_echo "$ac_cv_build" >&6; } 42652ddb6cf1Smrgcase $ac_cv_build in 42662ddb6cf1Smrg*-*-*) ;; 426755074dd0Smrg*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 42682ddb6cf1Smrgesac 42692ddb6cf1Smrgbuild=$ac_cv_build 42702ddb6cf1Smrgac_save_IFS=$IFS; IFS='-' 42712ddb6cf1Smrgset x $ac_cv_build 42722ddb6cf1Smrgshift 42732ddb6cf1Smrgbuild_cpu=$1 42742ddb6cf1Smrgbuild_vendor=$2 42752ddb6cf1Smrgshift; shift 42762ddb6cf1Smrg# Remember, the first character of IFS is used to create $*, 42772ddb6cf1Smrg# except with old shells: 42782ddb6cf1Smrgbuild_os=$* 42792ddb6cf1SmrgIFS=$ac_save_IFS 42802ddb6cf1Smrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 42812ddb6cf1Smrg 42822ddb6cf1Smrg 428355074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 42842ddb6cf1Smrg$as_echo_n "checking host system type... " >&6; } 428555074dd0Smrgif ${ac_cv_host+:} false; then : 42862ddb6cf1Smrg $as_echo_n "(cached) " >&6 42872ddb6cf1Smrgelse 42882ddb6cf1Smrg if test "x$host_alias" = x; then 42892ddb6cf1Smrg ac_cv_host=$ac_cv_build 42902ddb6cf1Smrgelse 42912ddb6cf1Smrg ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 429255074dd0Smrg as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 42932ddb6cf1Smrgfi 42942ddb6cf1Smrg 42952ddb6cf1Smrgfi 429655074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 42972ddb6cf1Smrg$as_echo "$ac_cv_host" >&6; } 42982ddb6cf1Smrgcase $ac_cv_host in 42992ddb6cf1Smrg*-*-*) ;; 430055074dd0Smrg*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 43012ddb6cf1Smrgesac 43022ddb6cf1Smrghost=$ac_cv_host 43032ddb6cf1Smrgac_save_IFS=$IFS; IFS='-' 43042ddb6cf1Smrgset x $ac_cv_host 43052ddb6cf1Smrgshift 43062ddb6cf1Smrghost_cpu=$1 43072ddb6cf1Smrghost_vendor=$2 43082ddb6cf1Smrgshift; shift 43092ddb6cf1Smrg# Remember, the first character of IFS is used to create $*, 43102ddb6cf1Smrg# except with old shells: 43112ddb6cf1Smrghost_os=$* 43122ddb6cf1SmrgIFS=$ac_save_IFS 43132ddb6cf1Smrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 43142ddb6cf1Smrg 43152ddb6cf1Smrg 431655074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 431755074dd0Smrg$as_echo_n "checking for a sed that does not truncate output... " >&6; } 431855074dd0Smrgif ${ac_cv_path_SED+:} false; then : 431955074dd0Smrg $as_echo_n "(cached) " >&6 432055074dd0Smrgelse 432155074dd0Smrg ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 432255074dd0Smrg for ac_i in 1 2 3 4 5 6 7; do 432355074dd0Smrg ac_script="$ac_script$as_nl$ac_script" 432455074dd0Smrg done 432555074dd0Smrg echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 432655074dd0Smrg { ac_script=; unset ac_script;} 432755074dd0Smrg if test -z "$SED"; then 432855074dd0Smrg ac_path_SED_found=false 432955074dd0Smrg # Loop through the user's path and test for each of PROGNAME-LIST 433055074dd0Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 433155074dd0Smrgfor as_dir in $PATH 433255074dd0Smrgdo 433355074dd0Smrg IFS=$as_save_IFS 433455074dd0Smrg test -z "$as_dir" && as_dir=. 433555074dd0Smrg for ac_prog in sed gsed; do 433655074dd0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 433755074dd0Smrg ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 433855074dd0Smrg { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 433955074dd0Smrg# Check for GNU ac_path_SED and select it if it is found. 434055074dd0Smrg # Check for GNU $ac_path_SED 434155074dd0Smrgcase `"$ac_path_SED" --version 2>&1` in 434255074dd0Smrg*GNU*) 434355074dd0Smrg ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 434455074dd0Smrg*) 434555074dd0Smrg ac_count=0 434655074dd0Smrg $as_echo_n 0123456789 >"conftest.in" 434755074dd0Smrg while : 434855074dd0Smrg do 434955074dd0Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 435055074dd0Smrg mv "conftest.tmp" "conftest.in" 435155074dd0Smrg cp "conftest.in" "conftest.nl" 435255074dd0Smrg $as_echo '' >> "conftest.nl" 435355074dd0Smrg "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 435455074dd0Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 435555074dd0Smrg as_fn_arith $ac_count + 1 && ac_count=$as_val 435655074dd0Smrg if test $ac_count -gt ${ac_path_SED_max-0}; then 435755074dd0Smrg # Best one so far, save it but keep looking for a better one 435855074dd0Smrg ac_cv_path_SED="$ac_path_SED" 435955074dd0Smrg ac_path_SED_max=$ac_count 436055074dd0Smrg fi 436155074dd0Smrg # 10*(2^10) chars as input seems more than enough 436255074dd0Smrg test $ac_count -gt 10 && break 436355074dd0Smrg done 436455074dd0Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 436555074dd0Smrgesac 43662ddb6cf1Smrg 436755074dd0Smrg $ac_path_SED_found && break 3 436855074dd0Smrg done 436955074dd0Smrg done 437055074dd0Smrg done 437155074dd0SmrgIFS=$as_save_IFS 437255074dd0Smrg if test -z "$ac_cv_path_SED"; then 437355074dd0Smrg as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 437455074dd0Smrg fi 437555074dd0Smrgelse 437655074dd0Smrg ac_cv_path_SED=$SED 437755074dd0Smrgfi 43782ddb6cf1Smrg 437955074dd0Smrgfi 438055074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 438155074dd0Smrg$as_echo "$ac_cv_path_SED" >&6; } 438255074dd0Smrg SED="$ac_cv_path_SED" 438355074dd0Smrg rm -f conftest.sed 43842ddb6cf1Smrg 438555074dd0Smrg 438655074dd0Smrg 438755074dd0Smrg 438855074dd0Smrg 438955074dd0Smrgif test "x$GCC" = xyes ; then 439055074dd0Smrg CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \ 439155074dd0Smrg-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \ 439255074dd0Smrg-Wbad-function-cast -Wformat=2" 43932ddb6cf1Smrg case `$CC -dumpversion` in 43942ddb6cf1Smrg 3.4.* | 4.*) 43952ddb6cf1Smrg CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement" 43962ddb6cf1Smrg ;; 43972ddb6cf1Smrg esac 43982ddb6cf1Smrgelse 439955074dd0Smrg ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 440055074dd0Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then : 44012ddb6cf1Smrg SUNCC="yes" 44022ddb6cf1Smrgelse 44032ddb6cf1Smrg SUNCC="no" 44042ddb6cf1Smrgfi 44052ddb6cf1Smrg 44062ddb6cf1Smrg if test "x$SUNCC" = "xyes"; then 44072ddb6cf1Smrg CWARNFLAGS="-v" 44082ddb6cf1Smrg fi 44092ddb6cf1Smrgfi 44102ddb6cf1Smrg 44112ddb6cf1Smrg 44122ddb6cf1Smrg 441355074dd0Smrg# If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89 44142ddb6cf1Smrg 44152ddb6cf1Smrg 44162ddb6cf1Smrg 44172ddb6cf1Smrg# Check whether --enable-strict-compilation was given. 441855074dd0Smrgif test "${enable_strict_compilation+set}" = set; then : 44192ddb6cf1Smrg enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval 44202ddb6cf1Smrgelse 44212ddb6cf1Smrg STRICT_COMPILE=no 44222ddb6cf1Smrgfi 44232ddb6cf1Smrg 44242ddb6cf1Smrgif test "x$STRICT_COMPILE" = "xyes"; then 442555074dd0Smrg ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 442655074dd0Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then : 44272ddb6cf1Smrg SUNCC="yes" 44282ddb6cf1Smrgelse 44292ddb6cf1Smrg SUNCC="no" 44302ddb6cf1Smrgfi 44312ddb6cf1Smrg 443255074dd0Smrg ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" 443355074dd0Smrgif test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then : 44342ddb6cf1Smrg INTELCC="yes" 44352ddb6cf1Smrgelse 44362ddb6cf1Smrg INTELCC="no" 44372ddb6cf1Smrgfi 44382ddb6cf1Smrg 44392ddb6cf1Smrg if test "x$GCC" = xyes ; then 44402ddb6cf1Smrg STRICT_CFLAGS="-pedantic -Werror" 44412ddb6cf1Smrg elif test "x$SUNCC" = "xyes"; then 44422ddb6cf1Smrg STRICT_CFLAGS="-errwarn" 44432ddb6cf1Smrg elif test "x$INTELCC" = "xyes"; then 44442ddb6cf1Smrg STRICT_CFLAGS="-Werror" 44452ddb6cf1Smrg fi 44462ddb6cf1Smrgfi 44472ddb6cf1SmrgCWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS" 44482ddb6cf1Smrg 44492ddb6cf1Smrg 44502ddb6cf1Smrg 44512ddb6cf1Smrg 44522ddb6cf1Smrgcat >>confdefs.h <<_ACEOF 44532ddb6cf1Smrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 44542ddb6cf1Smrg_ACEOF 44552ddb6cf1Smrg 44562ddb6cf1Smrg PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 44572ddb6cf1Smrg if test "x$PVM" = "x"; then 44582ddb6cf1Smrg PVM="0" 44592ddb6cf1Smrg fi 44602ddb6cf1Smrg 44612ddb6cf1Smrgcat >>confdefs.h <<_ACEOF 44622ddb6cf1Smrg#define PACKAGE_VERSION_MINOR $PVM 44632ddb6cf1Smrg_ACEOF 44642ddb6cf1Smrg 44652ddb6cf1Smrg PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 44662ddb6cf1Smrg if test "x$PVP" = "x"; then 44672ddb6cf1Smrg PVP="0" 44682ddb6cf1Smrg fi 44692ddb6cf1Smrg 44702ddb6cf1Smrgcat >>confdefs.h <<_ACEOF 44712ddb6cf1Smrg#define PACKAGE_VERSION_PATCHLEVEL $PVP 44722ddb6cf1Smrg_ACEOF 44732ddb6cf1Smrg 44742ddb6cf1Smrg 44752ddb6cf1Smrg 44762ddb6cf1SmrgCHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \ 44772ddb6cf1Smrgmv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \ 44782ddb6cf1Smrg|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \ 44792ddb6cf1Smrgecho 'git directory not found: installing possibly empty changelog.' >&2)" 44802ddb6cf1Smrg 44812ddb6cf1Smrg 44822ddb6cf1Smrg 44832ddb6cf1Smrg 448455074dd0Smrgmacros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros` 448555074dd0SmrgINSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \ 44862ddb6cf1Smrgmv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \ 44872ddb6cf1Smrg|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \ 448855074dd0Smrgecho 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)" 448955074dd0Smrg 44902ddb6cf1Smrg 44912ddb6cf1Smrg 44922ddb6cf1Smrg 44932ddb6cf1Smrg 44942ddb6cf1Smrg 44952ddb6cf1Smrgif test x$APP_MAN_SUFFIX = x ; then 44962ddb6cf1Smrg APP_MAN_SUFFIX=1 44972ddb6cf1Smrgfi 44982ddb6cf1Smrgif test x$APP_MAN_DIR = x ; then 44992ddb6cf1Smrg APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 45002ddb6cf1Smrgfi 45012ddb6cf1Smrg 45022ddb6cf1Smrgif test x$LIB_MAN_SUFFIX = x ; then 45032ddb6cf1Smrg LIB_MAN_SUFFIX=3 45042ddb6cf1Smrgfi 45052ddb6cf1Smrgif test x$LIB_MAN_DIR = x ; then 45062ddb6cf1Smrg LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 45072ddb6cf1Smrgfi 45082ddb6cf1Smrg 45092ddb6cf1Smrgif test x$FILE_MAN_SUFFIX = x ; then 45102ddb6cf1Smrg case $host_os in 45112ddb6cf1Smrg solaris*) FILE_MAN_SUFFIX=4 ;; 45122ddb6cf1Smrg *) FILE_MAN_SUFFIX=5 ;; 45132ddb6cf1Smrg esac 45142ddb6cf1Smrgfi 45152ddb6cf1Smrgif test x$FILE_MAN_DIR = x ; then 45162ddb6cf1Smrg FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 45172ddb6cf1Smrgfi 45182ddb6cf1Smrg 45192ddb6cf1Smrgif test x$MISC_MAN_SUFFIX = x ; then 45202ddb6cf1Smrg case $host_os in 45212ddb6cf1Smrg solaris*) MISC_MAN_SUFFIX=5 ;; 45222ddb6cf1Smrg *) MISC_MAN_SUFFIX=7 ;; 45232ddb6cf1Smrg esac 45242ddb6cf1Smrgfi 45252ddb6cf1Smrgif test x$MISC_MAN_DIR = x ; then 45262ddb6cf1Smrg MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 45272ddb6cf1Smrgfi 45282ddb6cf1Smrg 45292ddb6cf1Smrgif test x$DRIVER_MAN_SUFFIX = x ; then 45302ddb6cf1Smrg case $host_os in 45312ddb6cf1Smrg solaris*) DRIVER_MAN_SUFFIX=7 ;; 45322ddb6cf1Smrg *) DRIVER_MAN_SUFFIX=4 ;; 45332ddb6cf1Smrg esac 45342ddb6cf1Smrgfi 45352ddb6cf1Smrgif test x$DRIVER_MAN_DIR = x ; then 45362ddb6cf1Smrg DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 45372ddb6cf1Smrgfi 45382ddb6cf1Smrg 45392ddb6cf1Smrgif test x$ADMIN_MAN_SUFFIX = x ; then 45402ddb6cf1Smrg case $host_os in 45412ddb6cf1Smrg solaris*) ADMIN_MAN_SUFFIX=1m ;; 45422ddb6cf1Smrg *) ADMIN_MAN_SUFFIX=8 ;; 45432ddb6cf1Smrg esac 45442ddb6cf1Smrgfi 45452ddb6cf1Smrgif test x$ADMIN_MAN_DIR = x ; then 45462ddb6cf1Smrg ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 45472ddb6cf1Smrgfi 45482ddb6cf1Smrg 45492ddb6cf1Smrg 45502ddb6cf1Smrg 45512ddb6cf1Smrg 45522ddb6cf1Smrg 45532ddb6cf1Smrg 45542ddb6cf1Smrg 45552ddb6cf1Smrg 45562ddb6cf1Smrg 45572ddb6cf1Smrg 45582ddb6cf1Smrg 45592ddb6cf1Smrg 45602ddb6cf1Smrg 45612ddb6cf1Smrg 45622ddb6cf1Smrg 456355074dd0SmrgXORG_MAN_PAGE="X Version 11" 45642ddb6cf1Smrg 456555074dd0SmrgMAN_SUBSTS="\ 456655074dd0Smrg -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 456755074dd0Smrg -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 456855074dd0Smrg -e 's|__xservername__|Xorg|g' \ 456955074dd0Smrg -e 's|__xconfigfile__|xorg.conf|g' \ 457055074dd0Smrg -e 's|__projectroot__|\$(prefix)|g' \ 457155074dd0Smrg -e 's|__apploaddir__|\$(appdefaultdir)|g' \ 457255074dd0Smrg -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \ 457355074dd0Smrg -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \ 457455074dd0Smrg -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \ 457555074dd0Smrg -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \ 457655074dd0Smrg -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \ 457755074dd0Smrg -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'" 45782ddb6cf1Smrg 45792ddb6cf1Smrg 458055074dd0Smrg 458155074dd0Smrg# Check whether --enable-silent-rules was given. 458255074dd0Smrgif test "${enable_silent_rules+set}" = set; then : 458355074dd0Smrg enableval=$enable_silent_rules; 45842ddb6cf1Smrgfi 45852ddb6cf1Smrg 458655074dd0Smrgcase $enable_silent_rules in 458755074dd0Smrgyes) AM_DEFAULT_VERBOSITY=0;; 458855074dd0Smrgno) AM_DEFAULT_VERBOSITY=1;; 458955074dd0Smrg*) AM_DEFAULT_VERBOSITY=0;; 459055074dd0Smrgesac 459155074dd0SmrgAM_BACKSLASH='\' 45922ddb6cf1Smrg 45932ddb6cf1Smrg 45942ddb6cf1Smrg 459555074dd0Smrg# Checks for pkg-config packages 45962ddb6cf1Smrg 459755074dd0Smrgpkg_failed=no 459855074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEYES" >&5 459955074dd0Smrg$as_echo_n "checking for XEYES... " >&6; } 46002ddb6cf1Smrg 460155074dd0Smrgif test -n "$XEYES_CFLAGS"; then 460255074dd0Smrg pkg_cv_XEYES_CFLAGS="$XEYES_CFLAGS" 460355074dd0Smrg elif test -n "$PKG_CONFIG"; then 460455074dd0Smrg if test -n "$PKG_CONFIG" && \ 460555074dd0Smrg { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xt xext xmu\""; } >&5 460655074dd0Smrg ($PKG_CONFIG --exists --print-errors "x11 xt xext xmu") 2>&5 460755074dd0Smrg ac_status=$? 460855074dd0Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 460955074dd0Smrg test $ac_status = 0; }; then 461055074dd0Smrg pkg_cv_XEYES_CFLAGS=`$PKG_CONFIG --cflags "x11 xt xext xmu" 2>/dev/null` 461155074dd0Smrgelse 461255074dd0Smrg pkg_failed=yes 46132ddb6cf1Smrgfi 461455074dd0Smrg else 461555074dd0Smrg pkg_failed=untried 46162ddb6cf1Smrgfi 461755074dd0Smrgif test -n "$XEYES_LIBS"; then 461855074dd0Smrg pkg_cv_XEYES_LIBS="$XEYES_LIBS" 461955074dd0Smrg elif test -n "$PKG_CONFIG"; then 462055074dd0Smrg if test -n "$PKG_CONFIG" && \ 462155074dd0Smrg { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xt xext xmu\""; } >&5 462255074dd0Smrg ($PKG_CONFIG --exists --print-errors "x11 xt xext xmu") 2>&5 462355074dd0Smrg ac_status=$? 462455074dd0Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 462555074dd0Smrg test $ac_status = 0; }; then 462655074dd0Smrg pkg_cv_XEYES_LIBS=`$PKG_CONFIG --libs "x11 xt xext xmu" 2>/dev/null` 46272ddb6cf1Smrgelse 462855074dd0Smrg pkg_failed=yes 462955074dd0Smrgfi 463055074dd0Smrg else 463155074dd0Smrg pkg_failed=untried 46322ddb6cf1Smrgfi 46332ddb6cf1Smrg 46342ddb6cf1Smrg 463555074dd0Smrg 463655074dd0Smrgif test $pkg_failed = yes; then 463755074dd0Smrg 463855074dd0Smrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 463955074dd0Smrg _pkg_short_errors_supported=yes 464055074dd0Smrgelse 464155074dd0Smrg _pkg_short_errors_supported=no 4642a1d141d5Smrgfi 4643a1d141d5Smrg if test $_pkg_short_errors_supported = yes; then 46442ddb6cf1Smrg XEYES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 xt xext xmu" 2>&1` 4645a1d141d5Smrg else 46462ddb6cf1Smrg XEYES_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 xt xext xmu" 2>&1` 4647a1d141d5Smrg fi 4648a1d141d5Smrg # Put the nasty error message in config.log where it belongs 4649a1d141d5Smrg echo "$XEYES_PKG_ERRORS" >&5 4650a1d141d5Smrg 465155074dd0Smrg as_fn_error $? "Package requirements (x11 xt xext xmu) were not met: 4652a1d141d5Smrg 4653a1d141d5Smrg$XEYES_PKG_ERRORS 4654a1d141d5Smrg 4655a1d141d5SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 4656a1d141d5Smrginstalled software in a non-standard prefix. 4657a1d141d5Smrg 4658a1d141d5SmrgAlternatively, you may set the environment variables XEYES_CFLAGS 4659a1d141d5Smrgand XEYES_LIBS to avoid the need to call pkg-config. 4660a1d141d5SmrgSee the pkg-config man page for more details. 466155074dd0Smrg" "$LINENO" 5 4662a1d141d5Smrgelif test $pkg_failed = untried; then 466355074dd0Smrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 46642ddb6cf1Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 466555074dd0Smrgas_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 4666a1d141d5Smrgis in your PATH or set the PKG_CONFIG environment variable to the full 4667a1d141d5Smrgpath to pkg-config. 4668a1d141d5Smrg 4669a1d141d5SmrgAlternatively, you may set the environment variables XEYES_CFLAGS 4670a1d141d5Smrgand XEYES_LIBS to avoid the need to call pkg-config. 4671a1d141d5SmrgSee the pkg-config man page for more details. 4672a1d141d5Smrg 46732ddb6cf1SmrgTo get pkg-config, see <http://pkg-config.freedesktop.org/>. 467455074dd0SmrgSee \`config.log' for more details" "$LINENO" 5; } 46752ddb6cf1Smrgelse 46762ddb6cf1Smrg XEYES_CFLAGS=$pkg_cv_XEYES_CFLAGS 46772ddb6cf1Smrg XEYES_LIBS=$pkg_cv_XEYES_LIBS 467855074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 46792ddb6cf1Smrg$as_echo "yes" >&6; } 46802ddb6cf1Smrg : 46812ddb6cf1Smrgfi 4682a1d141d5Smrg 4683a1d141d5Smrg 46842ddb6cf1Smrg# Check whether --with-xrender was given. 468555074dd0Smrgif test "${with_xrender+set}" = set; then : 46862ddb6cf1Smrg withval=$with_xrender; use_xrender="$withval" 46872ddb6cf1Smrgelse 46882ddb6cf1Smrg use_xrender="try" 4689a1d141d5Smrgfi 4690a1d141d5Smrg 46912ddb6cf1Smrgif test x$use_xrender != xno ; then 4692a1d141d5Smrg 46932ddb6cf1Smrgpkg_failed=no 469455074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRENDER" >&5 46952ddb6cf1Smrg$as_echo_n "checking for XRENDER... " >&6; } 46962ddb6cf1Smrg 46972ddb6cf1Smrgif test -n "$XRENDER_CFLAGS"; then 46982ddb6cf1Smrg pkg_cv_XRENDER_CFLAGS="$XRENDER_CFLAGS" 46992ddb6cf1Smrg elif test -n "$PKG_CONFIG"; then 47002ddb6cf1Smrg if test -n "$PKG_CONFIG" && \ 470155074dd0Smrg { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrender >= 0.4\""; } >&5 47022ddb6cf1Smrg ($PKG_CONFIG --exists --print-errors "xrender >= 0.4") 2>&5 47032ddb6cf1Smrg ac_status=$? 470455074dd0Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 470555074dd0Smrg test $ac_status = 0; }; then 47062ddb6cf1Smrg pkg_cv_XRENDER_CFLAGS=`$PKG_CONFIG --cflags "xrender >= 0.4" 2>/dev/null` 47072ddb6cf1Smrgelse 47082ddb6cf1Smrg pkg_failed=yes 4709a1d141d5Smrgfi 47102ddb6cf1Smrg else 47112ddb6cf1Smrg pkg_failed=untried 4712a1d141d5Smrgfi 47132ddb6cf1Smrgif test -n "$XRENDER_LIBS"; then 47142ddb6cf1Smrg pkg_cv_XRENDER_LIBS="$XRENDER_LIBS" 47152ddb6cf1Smrg elif test -n "$PKG_CONFIG"; then 47162ddb6cf1Smrg if test -n "$PKG_CONFIG" && \ 471755074dd0Smrg { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrender >= 0.4\""; } >&5 47182ddb6cf1Smrg ($PKG_CONFIG --exists --print-errors "xrender >= 0.4") 2>&5 47192ddb6cf1Smrg ac_status=$? 472055074dd0Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 472155074dd0Smrg test $ac_status = 0; }; then 47222ddb6cf1Smrg pkg_cv_XRENDER_LIBS=`$PKG_CONFIG --libs "xrender >= 0.4" 2>/dev/null` 47232ddb6cf1Smrgelse 47242ddb6cf1Smrg pkg_failed=yes 4725a1d141d5Smrgfi 47262ddb6cf1Smrg else 47272ddb6cf1Smrg pkg_failed=untried 4728a1d141d5Smrgfi 4729a1d141d5Smrg 4730a1d141d5Smrg 4731a1d141d5Smrg 47322ddb6cf1Smrgif test $pkg_failed = yes; then 4733a1d141d5Smrg 47342ddb6cf1Smrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 47352ddb6cf1Smrg _pkg_short_errors_supported=yes 47362ddb6cf1Smrgelse 47372ddb6cf1Smrg _pkg_short_errors_supported=no 47382ddb6cf1Smrgfi 47392ddb6cf1Smrg if test $_pkg_short_errors_supported = yes; then 47402ddb6cf1Smrg XRENDER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xrender >= 0.4" 2>&1` 47412ddb6cf1Smrg else 47422ddb6cf1Smrg XRENDER_PKG_ERRORS=`$PKG_CONFIG --print-errors "xrender >= 0.4" 2>&1` 47432ddb6cf1Smrg fi 47442ddb6cf1Smrg # Put the nasty error message in config.log where it belongs 47452ddb6cf1Smrg echo "$XRENDER_PKG_ERRORS" >&5 4746a1d141d5Smrg 474755074dd0Smrg as_fn_error $? "Package requirements (xrender >= 0.4) were not met: 4748a1d141d5Smrg 47492ddb6cf1Smrg$XRENDER_PKG_ERRORS 4750a1d141d5Smrg 47512ddb6cf1SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 47522ddb6cf1Smrginstalled software in a non-standard prefix. 4753a1d141d5Smrg 47542ddb6cf1SmrgAlternatively, you may set the environment variables XRENDER_CFLAGS 47552ddb6cf1Smrgand XRENDER_LIBS to avoid the need to call pkg-config. 47562ddb6cf1SmrgSee the pkg-config man page for more details. 475755074dd0Smrg" "$LINENO" 5 47582ddb6cf1Smrgelif test $pkg_failed = untried; then 475955074dd0Smrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 47602ddb6cf1Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 476155074dd0Smrgas_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 47622ddb6cf1Smrgis in your PATH or set the PKG_CONFIG environment variable to the full 47632ddb6cf1Smrgpath to pkg-config. 4764a1d141d5Smrg 47652ddb6cf1SmrgAlternatively, you may set the environment variables XRENDER_CFLAGS 47662ddb6cf1Smrgand XRENDER_LIBS to avoid the need to call pkg-config. 47672ddb6cf1SmrgSee the pkg-config man page for more details. 4768a1d141d5Smrg 47692ddb6cf1SmrgTo get pkg-config, see <http://pkg-config.freedesktop.org/>. 477055074dd0SmrgSee \`config.log' for more details" "$LINENO" 5; } 47712ddb6cf1Smrgelse 47722ddb6cf1Smrg XRENDER_CFLAGS=$pkg_cv_XRENDER_CFLAGS 47732ddb6cf1Smrg XRENDER_LIBS=$pkg_cv_XRENDER_LIBS 477455074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 47752ddb6cf1Smrg$as_echo "yes" >&6; } 47762ddb6cf1Smrg : 47772ddb6cf1Smrgfi 4778a1d141d5Smrg 477955074dd0Smrg$as_echo "#define XRENDER 1" >>confdefs.h 4780a1d141d5Smrg 47812ddb6cf1Smrgfi 4782a1d141d5Smrg 47832ddb6cf1Smrgac_config_files="$ac_config_files Makefile" 4784a1d141d5Smrg 4785a1d141d5Smrgcat >confcache <<\_ACEOF 4786a1d141d5Smrg# This file is a shell script that caches the results of configure 4787a1d141d5Smrg# tests run on this system so they can be shared between configure 4788a1d141d5Smrg# scripts and configure runs, see configure's option --config-cache. 4789a1d141d5Smrg# It is not useful on other systems. If it contains results you don't 4790a1d141d5Smrg# want to keep, you may remove or edit it. 4791a1d141d5Smrg# 4792a1d141d5Smrg# config.status only pays attention to the cache file if you give it 4793a1d141d5Smrg# the --recheck option to rerun configure. 4794a1d141d5Smrg# 4795a1d141d5Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when 4796a1d141d5Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the 4797a1d141d5Smrg# following values. 4798a1d141d5Smrg 4799a1d141d5Smrg_ACEOF 4800a1d141d5Smrg 4801a1d141d5Smrg# The following way of writing the cache mishandles newlines in values, 4802a1d141d5Smrg# but we know of no workaround that is simple, portable, and efficient. 48032ddb6cf1Smrg# So, we kill variables containing newlines. 4804a1d141d5Smrg# Ultrix sh set writes to stderr and can't be redirected directly, 4805a1d141d5Smrg# and sets the high bit in the cache file unless we assign to the vars. 48062ddb6cf1Smrg( 48072ddb6cf1Smrg for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 48082ddb6cf1Smrg eval ac_val=\$$ac_var 48092ddb6cf1Smrg case $ac_val in #( 48102ddb6cf1Smrg *${as_nl}*) 48112ddb6cf1Smrg case $ac_var in #( 481255074dd0Smrg *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 48132ddb6cf1Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 48142ddb6cf1Smrg esac 48152ddb6cf1Smrg case $ac_var in #( 48162ddb6cf1Smrg _ | IFS | as_nl) ;; #( 48172ddb6cf1Smrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 481855074dd0Smrg *) { eval $ac_var=; unset $ac_var;} ;; 48192ddb6cf1Smrg esac ;; 48202ddb6cf1Smrg esac 48212ddb6cf1Smrg done 48222ddb6cf1Smrg 4823a1d141d5Smrg (set) 2>&1 | 48242ddb6cf1Smrg case $as_nl`(ac_space=' '; set) 2>&1` in #( 48252ddb6cf1Smrg *${as_nl}ac_space=\ *) 482655074dd0Smrg # `set' does not quote correctly, so add quotes: double-quote 482755074dd0Smrg # substitution turns \\\\ into \\, and sed turns \\ into \. 4828a1d141d5Smrg sed -n \ 4829a1d141d5Smrg "s/'/'\\\\''/g; 4830a1d141d5Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 48312ddb6cf1Smrg ;; #( 4832a1d141d5Smrg *) 4833a1d141d5Smrg # `set' quotes correctly as required by POSIX, so do not add quotes. 48342ddb6cf1Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 4835a1d141d5Smrg ;; 48362ddb6cf1Smrg esac | 48372ddb6cf1Smrg sort 48382ddb6cf1Smrg) | 4839a1d141d5Smrg sed ' 48402ddb6cf1Smrg /^ac_cv_env_/b end 4841a1d141d5Smrg t clear 48422ddb6cf1Smrg :clear 4843a1d141d5Smrg s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 4844a1d141d5Smrg t end 48452ddb6cf1Smrg s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 48462ddb6cf1Smrg :end' >>confcache 48472ddb6cf1Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 48482ddb6cf1Smrg if test -w "$cache_file"; then 484955074dd0Smrg if test "x$cache_file" != "x/dev/null"; then 485055074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 48512ddb6cf1Smrg$as_echo "$as_me: updating cache $cache_file" >&6;} 485255074dd0Smrg if test ! -f "$cache_file" || test -h "$cache_file"; then 485355074dd0Smrg cat confcache >"$cache_file" 485455074dd0Smrg else 485555074dd0Smrg case $cache_file in #( 485655074dd0Smrg */* | ?:*) 485755074dd0Smrg mv -f confcache "$cache_file"$$ && 485855074dd0Smrg mv -f "$cache_file"$$ "$cache_file" ;; #( 485955074dd0Smrg *) 486055074dd0Smrg mv -f confcache "$cache_file" ;; 486155074dd0Smrg esac 486255074dd0Smrg fi 486355074dd0Smrg fi 4864a1d141d5Smrg else 486555074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 48662ddb6cf1Smrg$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 4867a1d141d5Smrg fi 4868a1d141d5Smrgfi 4869a1d141d5Smrgrm -f confcache 4870a1d141d5Smrg 4871a1d141d5Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix 4872a1d141d5Smrg# Let make expand exec_prefix. 4873a1d141d5Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 4874a1d141d5Smrg 4875a1d141d5SmrgDEFS=-DHAVE_CONFIG_H 4876a1d141d5Smrg 4877a1d141d5Smrgac_libobjs= 4878a1d141d5Smrgac_ltlibobjs= 487955074dd0SmrgU= 4880a1d141d5Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 4881a1d141d5Smrg # 1. Remove the extension, and $U if already installed. 48822ddb6cf1Smrg ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 48832ddb6cf1Smrg ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 48842ddb6cf1Smrg # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 48852ddb6cf1Smrg # will be set to the directory where LIBOBJS objects are built. 488655074dd0Smrg as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 488755074dd0Smrg as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 4888a1d141d5Smrgdone 4889a1d141d5SmrgLIBOBJS=$ac_libobjs 4890a1d141d5Smrg 4891a1d141d5SmrgLTLIBOBJS=$ac_ltlibobjs 4892a1d141d5Smrg 4893a1d141d5Smrg 48942ddb6cf1Smrg if test -n "$EXEEXT"; then 48952ddb6cf1Smrg am__EXEEXT_TRUE= 48962ddb6cf1Smrg am__EXEEXT_FALSE='#' 48972ddb6cf1Smrgelse 48982ddb6cf1Smrg am__EXEEXT_TRUE='#' 48992ddb6cf1Smrg am__EXEEXT_FALSE= 49002ddb6cf1Smrgfi 49012ddb6cf1Smrg 4902a1d141d5Smrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 490355074dd0Smrg as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 490455074dd0SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 4905a1d141d5Smrgfi 4906a1d141d5Smrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 490755074dd0Smrg as_fn_error $? "conditional \"AMDEP\" was never defined. 490855074dd0SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 49092ddb6cf1Smrgfi 49102ddb6cf1Smrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 491155074dd0Smrg as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 491255074dd0SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 4913a1d141d5Smrgfi 4914a1d141d5Smrg 491555074dd0Smrg: "${CONFIG_STATUS=./config.status}" 49162ddb6cf1Smrgac_write_fail=0 4917a1d141d5Smrgac_clean_files_save=$ac_clean_files 4918a1d141d5Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS" 491955074dd0Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 49202ddb6cf1Smrg$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 492155074dd0Smrgas_write_fail=0 492255074dd0Smrgcat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 4923a1d141d5Smrg#! $SHELL 4924a1d141d5Smrg# Generated by $as_me. 4925a1d141d5Smrg# Run this file to recreate the current configuration. 4926a1d141d5Smrg# Compiler output produced by configure, useful for debugging 4927a1d141d5Smrg# configure, is in config.log if it exists. 4928a1d141d5Smrg 4929a1d141d5Smrgdebug=false 4930a1d141d5Smrgac_cs_recheck=false 4931a1d141d5Smrgac_cs_silent=false 4932a1d141d5Smrg 493355074dd0SmrgSHELL=\${CONFIG_SHELL-$SHELL} 493455074dd0Smrgexport SHELL 493555074dd0Smrg_ASEOF 493655074dd0Smrgcat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 493755074dd0Smrg## -------------------- ## 493855074dd0Smrg## M4sh Initialization. ## 493955074dd0Smrg## -------------------- ## 4940a1d141d5Smrg 49412ddb6cf1Smrg# Be more Bourne compatible 49422ddb6cf1SmrgDUALCASE=1; export DUALCASE # for MKS sh 494355074dd0Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 4944a1d141d5Smrg emulate sh 4945a1d141d5Smrg NULLCMD=: 49462ddb6cf1Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 4947a1d141d5Smrg # is contrary to our usage. Disable this feature. 4948a1d141d5Smrg alias -g '${1+"$@"}'='"$@"' 49492ddb6cf1Smrg setopt NO_GLOB_SUBST 49502ddb6cf1Smrgelse 495155074dd0Smrg case `(set -o) 2>/dev/null` in #( 495255074dd0Smrg *posix*) : 495355074dd0Smrg set -o posix ;; #( 495455074dd0Smrg *) : 495555074dd0Smrg ;; 49562ddb6cf1Smrgesac 49572ddb6cf1Smrgfi 49582ddb6cf1Smrg 49592ddb6cf1Smrg 49602ddb6cf1Smrgas_nl=' 49612ddb6cf1Smrg' 49622ddb6cf1Smrgexport as_nl 49632ddb6cf1Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 49642ddb6cf1Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 49652ddb6cf1Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 49662ddb6cf1Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 496755074dd0Smrg# Prefer a ksh shell builtin over an external printf program on Solaris, 496855074dd0Smrg# but without wasting forks for bash or zsh. 496955074dd0Smrgif test -z "$BASH_VERSION$ZSH_VERSION" \ 497055074dd0Smrg && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 497155074dd0Smrg as_echo='print -r --' 497255074dd0Smrg as_echo_n='print -rn --' 497355074dd0Smrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 49742ddb6cf1Smrg as_echo='printf %s\n' 49752ddb6cf1Smrg as_echo_n='printf %s' 49762ddb6cf1Smrgelse 49772ddb6cf1Smrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 49782ddb6cf1Smrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 49792ddb6cf1Smrg as_echo_n='/usr/ucb/echo -n' 49802ddb6cf1Smrg else 49812ddb6cf1Smrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 49822ddb6cf1Smrg as_echo_n_body='eval 49832ddb6cf1Smrg arg=$1; 498455074dd0Smrg case $arg in #( 49852ddb6cf1Smrg *"$as_nl"*) 49862ddb6cf1Smrg expr "X$arg" : "X\\(.*\\)$as_nl"; 49872ddb6cf1Smrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 49882ddb6cf1Smrg esac; 49892ddb6cf1Smrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 49902ddb6cf1Smrg ' 49912ddb6cf1Smrg export as_echo_n_body 49922ddb6cf1Smrg as_echo_n='sh -c $as_echo_n_body as_echo' 49932ddb6cf1Smrg fi 49942ddb6cf1Smrg export as_echo_body 49952ddb6cf1Smrg as_echo='sh -c $as_echo_body as_echo' 49962ddb6cf1Smrgfi 49972ddb6cf1Smrg 49982ddb6cf1Smrg# The user is always right. 49992ddb6cf1Smrgif test "${PATH_SEPARATOR+set}" != set; then 50002ddb6cf1Smrg PATH_SEPARATOR=: 50012ddb6cf1Smrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 50022ddb6cf1Smrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 50032ddb6cf1Smrg PATH_SEPARATOR=';' 50042ddb6cf1Smrg } 5005a1d141d5Smrgfi 5006a1d141d5Smrg 5007a1d141d5Smrg 50082ddb6cf1Smrg# IFS 50092ddb6cf1Smrg# We need space, tab and new line, in precisely that order. Quoting is 50102ddb6cf1Smrg# there to prevent editors from complaining about space-tab. 50112ddb6cf1Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 50122ddb6cf1Smrg# splitting by setting IFS to empty value.) 50132ddb6cf1SmrgIFS=" "" $as_nl" 50142ddb6cf1Smrg 50152ddb6cf1Smrg# Find who we are. Look in the path if we contain no directory separator. 501655074dd0Smrgas_myself= 501755074dd0Smrgcase $0 in #(( 50182ddb6cf1Smrg *[\\/]* ) as_myself=$0 ;; 50192ddb6cf1Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 50202ddb6cf1Smrgfor as_dir in $PATH 50212ddb6cf1Smrgdo 50222ddb6cf1Smrg IFS=$as_save_IFS 50232ddb6cf1Smrg test -z "$as_dir" && as_dir=. 502455074dd0Smrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 502555074dd0Smrg done 50262ddb6cf1SmrgIFS=$as_save_IFS 50272ddb6cf1Smrg 50282ddb6cf1Smrg ;; 50292ddb6cf1Smrgesac 50302ddb6cf1Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 50312ddb6cf1Smrg# in which case we are not to be found in the path. 50322ddb6cf1Smrgif test "x$as_myself" = x; then 50332ddb6cf1Smrg as_myself=$0 50342ddb6cf1Smrgfi 50352ddb6cf1Smrgif test ! -f "$as_myself"; then 50362ddb6cf1Smrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 503755074dd0Smrg exit 1 50382ddb6cf1Smrgfi 50392ddb6cf1Smrg 504055074dd0Smrg# Unset variables that we do not need and which cause bugs (e.g. in 504155074dd0Smrg# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 504255074dd0Smrg# suppresses any "Segmentation fault" message there. '((' could 504355074dd0Smrg# trigger a bug in pdksh 5.2.14. 504455074dd0Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH 504555074dd0Smrgdo eval test x\${$as_var+set} = xset \ 504655074dd0Smrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 50472ddb6cf1Smrgdone 5048a1d141d5SmrgPS1='$ ' 5049a1d141d5SmrgPS2='> ' 5050a1d141d5SmrgPS4='+ ' 5051a1d141d5Smrg 5052a1d141d5Smrg# NLS nuisances. 50532ddb6cf1SmrgLC_ALL=C 50542ddb6cf1Smrgexport LC_ALL 50552ddb6cf1SmrgLANGUAGE=C 50562ddb6cf1Smrgexport LANGUAGE 5057a1d141d5Smrg 505855074dd0Smrg# CDPATH. 505955074dd0Smrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 506055074dd0Smrg 506155074dd0Smrg 506255074dd0Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 506355074dd0Smrg# ---------------------------------------- 506455074dd0Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 506555074dd0Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 506655074dd0Smrg# script with STATUS, using 1 if that was 0. 506755074dd0Smrgas_fn_error () 506855074dd0Smrg{ 506955074dd0Smrg as_status=$1; test $as_status -eq 0 && as_status=1 507055074dd0Smrg if test "$4"; then 507155074dd0Smrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 507255074dd0Smrg $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 507355074dd0Smrg fi 507455074dd0Smrg $as_echo "$as_me: error: $2" >&2 507555074dd0Smrg as_fn_exit $as_status 507655074dd0Smrg} # as_fn_error 507755074dd0Smrg 507855074dd0Smrg 507955074dd0Smrg# as_fn_set_status STATUS 508055074dd0Smrg# ----------------------- 508155074dd0Smrg# Set $? to STATUS, without forking. 508255074dd0Smrgas_fn_set_status () 508355074dd0Smrg{ 508455074dd0Smrg return $1 508555074dd0Smrg} # as_fn_set_status 508655074dd0Smrg 508755074dd0Smrg# as_fn_exit STATUS 508855074dd0Smrg# ----------------- 508955074dd0Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 509055074dd0Smrgas_fn_exit () 509155074dd0Smrg{ 509255074dd0Smrg set +e 509355074dd0Smrg as_fn_set_status $1 509455074dd0Smrg exit $1 509555074dd0Smrg} # as_fn_exit 509655074dd0Smrg 509755074dd0Smrg# as_fn_unset VAR 509855074dd0Smrg# --------------- 509955074dd0Smrg# Portably unset VAR. 510055074dd0Smrgas_fn_unset () 510155074dd0Smrg{ 510255074dd0Smrg { eval $1=; unset $1;} 510355074dd0Smrg} 510455074dd0Smrgas_unset=as_fn_unset 510555074dd0Smrg# as_fn_append VAR VALUE 510655074dd0Smrg# ---------------------- 510755074dd0Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take 510855074dd0Smrg# advantage of any shell optimizations that allow amortized linear growth over 510955074dd0Smrg# repeated appends, instead of the typical quadratic growth present in naive 511055074dd0Smrg# implementations. 511155074dd0Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 511255074dd0Smrg eval 'as_fn_append () 511355074dd0Smrg { 511455074dd0Smrg eval $1+=\$2 511555074dd0Smrg }' 511655074dd0Smrgelse 511755074dd0Smrg as_fn_append () 511855074dd0Smrg { 511955074dd0Smrg eval $1=\$$1\$2 512055074dd0Smrg } 512155074dd0Smrgfi # as_fn_append 512255074dd0Smrg 512355074dd0Smrg# as_fn_arith ARG... 512455074dd0Smrg# ------------------ 512555074dd0Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the 512655074dd0Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 512755074dd0Smrg# must be portable across $(()) and expr. 512855074dd0Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 512955074dd0Smrg eval 'as_fn_arith () 513055074dd0Smrg { 513155074dd0Smrg as_val=$(( $* )) 513255074dd0Smrg }' 513355074dd0Smrgelse 513455074dd0Smrg as_fn_arith () 513555074dd0Smrg { 513655074dd0Smrg as_val=`expr "$@" || test $? -eq 1` 513755074dd0Smrg } 513855074dd0Smrgfi # as_fn_arith 513955074dd0Smrg 514055074dd0Smrg 51412ddb6cf1Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 51422ddb6cf1Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 5143a1d141d5Smrg as_expr=expr 5144a1d141d5Smrgelse 5145a1d141d5Smrg as_expr=false 5146a1d141d5Smrgfi 5147a1d141d5Smrg 51482ddb6cf1Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 5149a1d141d5Smrg as_basename=basename 5150a1d141d5Smrgelse 5151a1d141d5Smrg as_basename=false 5152a1d141d5Smrgfi 5153a1d141d5Smrg 515455074dd0Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 515555074dd0Smrg as_dirname=dirname 515655074dd0Smrgelse 515755074dd0Smrg as_dirname=false 515855074dd0Smrgfi 5159a1d141d5Smrg 51602ddb6cf1Smrgas_me=`$as_basename -- "$0" || 5161a1d141d5Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 5162a1d141d5Smrg X"$0" : 'X\(//\)$' \| \ 51632ddb6cf1Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 51642ddb6cf1Smrg$as_echo X/"$0" | 51652ddb6cf1Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 51662ddb6cf1Smrg s//\1/ 51672ddb6cf1Smrg q 51682ddb6cf1Smrg } 51692ddb6cf1Smrg /^X\/\(\/\/\)$/{ 51702ddb6cf1Smrg s//\1/ 51712ddb6cf1Smrg q 51722ddb6cf1Smrg } 51732ddb6cf1Smrg /^X\/\(\/\).*/{ 51742ddb6cf1Smrg s//\1/ 51752ddb6cf1Smrg q 51762ddb6cf1Smrg } 51772ddb6cf1Smrg s/.*/./; q'` 5178a1d141d5Smrg 517955074dd0Smrg# Avoid depending upon Character Ranges. 518055074dd0Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 518155074dd0Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 518255074dd0Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 518355074dd0Smrgas_cr_digits='0123456789' 518455074dd0Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 5185a1d141d5Smrg 51862ddb6cf1SmrgECHO_C= ECHO_N= ECHO_T= 518755074dd0Smrgcase `echo -n x` in #((((( 51882ddb6cf1Smrg-n*) 518955074dd0Smrg case `echo 'xy\c'` in 51902ddb6cf1Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 519155074dd0Smrg xy) ECHO_C='\c';; 519255074dd0Smrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 519355074dd0Smrg ECHO_T=' ';; 51942ddb6cf1Smrg esac;; 51952ddb6cf1Smrg*) 51962ddb6cf1Smrg ECHO_N='-n';; 51972ddb6cf1Smrgesac 5198a1d141d5Smrg 5199a1d141d5Smrgrm -f conf$$ conf$$.exe conf$$.file 52002ddb6cf1Smrgif test -d conf$$.dir; then 52012ddb6cf1Smrg rm -f conf$$.dir/conf$$.file 52022ddb6cf1Smrgelse 52032ddb6cf1Smrg rm -f conf$$.dir 52042ddb6cf1Smrg mkdir conf$$.dir 2>/dev/null 52052ddb6cf1Smrgfi 52062ddb6cf1Smrgif (echo >conf$$.file) 2>/dev/null; then 52072ddb6cf1Smrg if ln -s conf$$.file conf$$ 2>/dev/null; then 5208a1d141d5Smrg as_ln_s='ln -s' 52092ddb6cf1Smrg # ... but there are two gotchas: 52102ddb6cf1Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 52112ddb6cf1Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 52122ddb6cf1Smrg # In both cases, we have to default to `cp -p'. 52132ddb6cf1Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 52142ddb6cf1Smrg as_ln_s='cp -p' 52152ddb6cf1Smrg elif ln conf$$.file conf$$ 2>/dev/null; then 52162ddb6cf1Smrg as_ln_s=ln 52172ddb6cf1Smrg else 52182ddb6cf1Smrg as_ln_s='cp -p' 5219a1d141d5Smrg fi 5220a1d141d5Smrgelse 5221a1d141d5Smrg as_ln_s='cp -p' 5222a1d141d5Smrgfi 52232ddb6cf1Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 52242ddb6cf1Smrgrmdir conf$$.dir 2>/dev/null 5225a1d141d5Smrg 522655074dd0Smrg 522755074dd0Smrg# as_fn_mkdir_p 522855074dd0Smrg# ------------- 522955074dd0Smrg# Create "$as_dir" as a directory, including parents if necessary. 523055074dd0Smrgas_fn_mkdir_p () 523155074dd0Smrg{ 523255074dd0Smrg 523355074dd0Smrg case $as_dir in #( 523455074dd0Smrg -*) as_dir=./$as_dir;; 523555074dd0Smrg esac 523655074dd0Smrg test -d "$as_dir" || eval $as_mkdir_p || { 523755074dd0Smrg as_dirs= 523855074dd0Smrg while :; do 523955074dd0Smrg case $as_dir in #( 524055074dd0Smrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 524155074dd0Smrg *) as_qdir=$as_dir;; 524255074dd0Smrg esac 524355074dd0Smrg as_dirs="'$as_qdir' $as_dirs" 524455074dd0Smrg as_dir=`$as_dirname -- "$as_dir" || 524555074dd0Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 524655074dd0Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 524755074dd0Smrg X"$as_dir" : 'X\(//\)$' \| \ 524855074dd0Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 524955074dd0Smrg$as_echo X"$as_dir" | 525055074dd0Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 525155074dd0Smrg s//\1/ 525255074dd0Smrg q 525355074dd0Smrg } 525455074dd0Smrg /^X\(\/\/\)[^/].*/{ 525555074dd0Smrg s//\1/ 525655074dd0Smrg q 525755074dd0Smrg } 525855074dd0Smrg /^X\(\/\/\)$/{ 525955074dd0Smrg s//\1/ 526055074dd0Smrg q 526155074dd0Smrg } 526255074dd0Smrg /^X\(\/\).*/{ 526355074dd0Smrg s//\1/ 526455074dd0Smrg q 526555074dd0Smrg } 526655074dd0Smrg s/.*/./; q'` 526755074dd0Smrg test -d "$as_dir" && break 526855074dd0Smrg done 526955074dd0Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 527055074dd0Smrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 527155074dd0Smrg 527255074dd0Smrg 527355074dd0Smrg} # as_fn_mkdir_p 5274a1d141d5Smrgif mkdir -p . 2>/dev/null; then 527555074dd0Smrg as_mkdir_p='mkdir -p "$as_dir"' 5276a1d141d5Smrgelse 5277a1d141d5Smrg test -d ./-p && rmdir ./-p 5278a1d141d5Smrg as_mkdir_p=false 5279a1d141d5Smrgfi 5280a1d141d5Smrg 52812ddb6cf1Smrgif test -x / >/dev/null 2>&1; then 52822ddb6cf1Smrg as_test_x='test -x' 52832ddb6cf1Smrgelse 52842ddb6cf1Smrg if ls -dL / >/dev/null 2>&1; then 52852ddb6cf1Smrg as_ls_L_option=L 52862ddb6cf1Smrg else 52872ddb6cf1Smrg as_ls_L_option= 52882ddb6cf1Smrg fi 52892ddb6cf1Smrg as_test_x=' 52902ddb6cf1Smrg eval sh -c '\'' 52912ddb6cf1Smrg if test -d "$1"; then 52922ddb6cf1Smrg test -d "$1/."; 52932ddb6cf1Smrg else 529455074dd0Smrg case $1 in #( 52952ddb6cf1Smrg -*)set "./$1";; 52962ddb6cf1Smrg esac; 529755074dd0Smrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 52982ddb6cf1Smrg ???[sx]*):;;*)false;;esac;fi 52992ddb6cf1Smrg '\'' sh 53002ddb6cf1Smrg ' 53012ddb6cf1Smrgfi 53022ddb6cf1Smrgas_executable_p=$as_test_x 5303a1d141d5Smrg 5304a1d141d5Smrg# Sed expression to map a string onto a valid CPP name. 5305a1d141d5Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5306a1d141d5Smrg 5307a1d141d5Smrg# Sed expression to map a string onto a valid variable name. 5308a1d141d5Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5309a1d141d5Smrg 5310a1d141d5Smrg 5311a1d141d5Smrgexec 6>&1 531255074dd0Smrg## ----------------------------------- ## 531355074dd0Smrg## Main body of $CONFIG_STATUS script. ## 531455074dd0Smrg## ----------------------------------- ## 531555074dd0Smrg_ASEOF 531655074dd0Smrgtest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 5317a1d141d5Smrg 531855074dd0Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 531955074dd0Smrg# Save the log message, to keep $0 and so on meaningful, and to 5320a1d141d5Smrg# report actual input values of CONFIG_FILES etc. instead of their 53212ddb6cf1Smrg# values after options handling. 53222ddb6cf1Smrgac_log=" 532355074dd0SmrgThis file was extended by xeyes $as_me 1.1.1, which was 532455074dd0Smrggenerated by GNU Autoconf 2.68. Invocation command line was 5325a1d141d5Smrg 5326a1d141d5Smrg CONFIG_FILES = $CONFIG_FILES 5327a1d141d5Smrg CONFIG_HEADERS = $CONFIG_HEADERS 5328a1d141d5Smrg CONFIG_LINKS = $CONFIG_LINKS 5329a1d141d5Smrg CONFIG_COMMANDS = $CONFIG_COMMANDS 5330a1d141d5Smrg $ $0 $@ 5331a1d141d5Smrg 53322ddb6cf1Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q` 53332ddb6cf1Smrg" 53342ddb6cf1Smrg 5335a1d141d5Smrg_ACEOF 5336a1d141d5Smrg 53372ddb6cf1Smrgcase $ac_config_files in *" 53382ddb6cf1Smrg"*) set x $ac_config_files; shift; ac_config_files=$*;; 53392ddb6cf1Smrgesac 5340a1d141d5Smrg 53412ddb6cf1Smrgcase $ac_config_headers in *" 53422ddb6cf1Smrg"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 53432ddb6cf1Smrgesac 5344a1d141d5Smrg 5345a1d141d5Smrg 53462ddb6cf1Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 53472ddb6cf1Smrg# Files that config.status was made for. 53482ddb6cf1Smrgconfig_files="$ac_config_files" 53492ddb6cf1Smrgconfig_headers="$ac_config_headers" 53502ddb6cf1Smrgconfig_commands="$ac_config_commands" 5351a1d141d5Smrg 53522ddb6cf1Smrg_ACEOF 5353a1d141d5Smrg 53542ddb6cf1Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5355a1d141d5Smrgac_cs_usage="\ 535655074dd0Smrg\`$as_me' instantiates files and other configuration actions 535755074dd0Smrgfrom templates according to the current configuration. Unless the files 535855074dd0Smrgand actions are specified as TAGs, all are instantiated by default. 5359a1d141d5Smrg 536055074dd0SmrgUsage: $0 [OPTION]... [TAG]... 5361a1d141d5Smrg 5362a1d141d5Smrg -h, --help print this help, then exit 53632ddb6cf1Smrg -V, --version print version number and configuration settings, then exit 536455074dd0Smrg --config print configuration, then exit 53652ddb6cf1Smrg -q, --quiet, --silent 53662ddb6cf1Smrg do not print progress messages 5367a1d141d5Smrg -d, --debug don't remove temporary files 5368a1d141d5Smrg --recheck update $as_me by reconfiguring in the same conditions 53692ddb6cf1Smrg --file=FILE[:TEMPLATE] 53702ddb6cf1Smrg instantiate the configuration file FILE 53712ddb6cf1Smrg --header=FILE[:TEMPLATE] 53722ddb6cf1Smrg instantiate the configuration header FILE 5373a1d141d5Smrg 5374a1d141d5SmrgConfiguration files: 5375a1d141d5Smrg$config_files 5376a1d141d5Smrg 5377a1d141d5SmrgConfiguration headers: 5378a1d141d5Smrg$config_headers 5379a1d141d5Smrg 5380a1d141d5SmrgConfiguration commands: 5381a1d141d5Smrg$config_commands 5382a1d141d5Smrg 538355074dd0SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>." 5384a1d141d5Smrg 53852ddb6cf1Smrg_ACEOF 53862ddb6cf1Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 538755074dd0Smrgac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 5388a1d141d5Smrgac_cs_version="\\ 538955074dd0Smrgxeyes config.status 1.1.1 539055074dd0Smrgconfigured by $0, generated by GNU Autoconf 2.68, 539155074dd0Smrg with options \\"\$ac_cs_config\\" 5392a1d141d5Smrg 539355074dd0SmrgCopyright (C) 2010 Free Software Foundation, Inc. 5394a1d141d5SmrgThis config.status script is free software; the Free Software Foundation 5395a1d141d5Smrggives unlimited permission to copy, distribute and modify it." 53962ddb6cf1Smrg 53972ddb6cf1Smrgac_pwd='$ac_pwd' 53982ddb6cf1Smrgsrcdir='$srcdir' 53992ddb6cf1SmrgINSTALL='$INSTALL' 54002ddb6cf1SmrgMKDIR_P='$MKDIR_P' 54012ddb6cf1SmrgAWK='$AWK' 54022ddb6cf1Smrgtest -n "\$AWK" || AWK=awk 5403a1d141d5Smrg_ACEOF 5404a1d141d5Smrg 54052ddb6cf1Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 54062ddb6cf1Smrg# The default lists apply if the user does not specify any file. 5407a1d141d5Smrgac_need_defaults=: 5408a1d141d5Smrgwhile test $# != 0 5409a1d141d5Smrgdo 5410a1d141d5Smrg case $1 in 541155074dd0Smrg --*=?*) 54122ddb6cf1Smrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 54132ddb6cf1Smrg ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 5414a1d141d5Smrg ac_shift=: 5415a1d141d5Smrg ;; 541655074dd0Smrg --*=) 541755074dd0Smrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 541855074dd0Smrg ac_optarg= 541955074dd0Smrg ac_shift=: 542055074dd0Smrg ;; 54212ddb6cf1Smrg *) 5422a1d141d5Smrg ac_option=$1 5423a1d141d5Smrg ac_optarg=$2 5424a1d141d5Smrg ac_shift=shift 5425a1d141d5Smrg ;; 5426a1d141d5Smrg esac 5427a1d141d5Smrg 5428a1d141d5Smrg case $ac_option in 5429a1d141d5Smrg # Handling of the options. 5430a1d141d5Smrg -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 5431a1d141d5Smrg ac_cs_recheck=: ;; 54322ddb6cf1Smrg --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 54332ddb6cf1Smrg $as_echo "$ac_cs_version"; exit ;; 543455074dd0Smrg --config | --confi | --conf | --con | --co | --c ) 543555074dd0Smrg $as_echo "$ac_cs_config"; exit ;; 54362ddb6cf1Smrg --debug | --debu | --deb | --de | --d | -d ) 5437a1d141d5Smrg debug=: ;; 5438a1d141d5Smrg --file | --fil | --fi | --f ) 5439a1d141d5Smrg $ac_shift 54402ddb6cf1Smrg case $ac_optarg in 54412ddb6cf1Smrg *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 544255074dd0Smrg '') as_fn_error $? "missing file argument" ;; 54432ddb6cf1Smrg esac 544455074dd0Smrg as_fn_append CONFIG_FILES " '$ac_optarg'" 5445a1d141d5Smrg ac_need_defaults=false;; 5446a1d141d5Smrg --header | --heade | --head | --hea ) 5447a1d141d5Smrg $ac_shift 54482ddb6cf1Smrg case $ac_optarg in 54492ddb6cf1Smrg *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 54502ddb6cf1Smrg esac 545155074dd0Smrg as_fn_append CONFIG_HEADERS " '$ac_optarg'" 5452a1d141d5Smrg ac_need_defaults=false;; 54532ddb6cf1Smrg --he | --h) 54542ddb6cf1Smrg # Conflict between --help and --header 545555074dd0Smrg as_fn_error $? "ambiguous option: \`$1' 545655074dd0SmrgTry \`$0 --help' for more information.";; 54572ddb6cf1Smrg --help | --hel | -h ) 54582ddb6cf1Smrg $as_echo "$ac_cs_usage"; exit ;; 5459a1d141d5Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 5460a1d141d5Smrg | -silent | --silent | --silen | --sile | --sil | --si | --s) 5461a1d141d5Smrg ac_cs_silent=: ;; 5462a1d141d5Smrg 5463a1d141d5Smrg # This is an error. 546455074dd0Smrg -*) as_fn_error $? "unrecognized option: \`$1' 546555074dd0SmrgTry \`$0 --help' for more information." ;; 5466a1d141d5Smrg 546755074dd0Smrg *) as_fn_append ac_config_targets " $1" 54682ddb6cf1Smrg ac_need_defaults=false ;; 5469a1d141d5Smrg 5470a1d141d5Smrg esac 5471a1d141d5Smrg shift 5472a1d141d5Smrgdone 5473a1d141d5Smrg 5474a1d141d5Smrgac_configure_extra_args= 5475a1d141d5Smrg 5476a1d141d5Smrgif $ac_cs_silent; then 5477a1d141d5Smrg exec 6>/dev/null 5478a1d141d5Smrg ac_configure_extra_args="$ac_configure_extra_args --silent" 5479a1d141d5Smrgfi 5480a1d141d5Smrg 5481a1d141d5Smrg_ACEOF 54822ddb6cf1Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5483a1d141d5Smrgif \$ac_cs_recheck; then 54842ddb6cf1Smrg set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 54852ddb6cf1Smrg shift 54862ddb6cf1Smrg \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 54872ddb6cf1Smrg CONFIG_SHELL='$SHELL' 54882ddb6cf1Smrg export CONFIG_SHELL 54892ddb6cf1Smrg exec "\$@" 5490a1d141d5Smrgfi 5491a1d141d5Smrg 5492a1d141d5Smrg_ACEOF 54932ddb6cf1Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 54942ddb6cf1Smrgexec 5>>config.log 54952ddb6cf1Smrg{ 54962ddb6cf1Smrg echo 54972ddb6cf1Smrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 54982ddb6cf1Smrg## Running $as_me. ## 54992ddb6cf1Smrg_ASBOX 55002ddb6cf1Smrg $as_echo "$ac_log" 55012ddb6cf1Smrg} >&5 5502a1d141d5Smrg 55032ddb6cf1Smrg_ACEOF 55042ddb6cf1Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5505a1d141d5Smrg# 55062ddb6cf1Smrg# INIT-COMMANDS 5507a1d141d5Smrg# 5508a1d141d5SmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 5509a1d141d5Smrg 5510a1d141d5Smrg_ACEOF 5511a1d141d5Smrg 55122ddb6cf1Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5513a1d141d5Smrg 55142ddb6cf1Smrg# Handling of arguments. 5515a1d141d5Smrgfor ac_config_target in $ac_config_targets 5516a1d141d5Smrgdo 55172ddb6cf1Smrg case $ac_config_target in 55182ddb6cf1Smrg "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 55192ddb6cf1Smrg "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 55202ddb6cf1Smrg "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 55212ddb6cf1Smrg 552255074dd0Smrg *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 5523a1d141d5Smrg esac 5524a1d141d5Smrgdone 5525a1d141d5Smrg 55262ddb6cf1Smrg 5527a1d141d5Smrg# If the user did not use the arguments to specify the items to instantiate, 5528a1d141d5Smrg# then the envvar interface is used. Set only those that are not. 5529a1d141d5Smrg# We use the long form for the default assignment because of an extremely 5530a1d141d5Smrg# bizarre bug on SunOS 4.1.3. 5531a1d141d5Smrgif $ac_need_defaults; then 5532a1d141d5Smrg test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 5533a1d141d5Smrg test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 5534a1d141d5Smrg test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 5535a1d141d5Smrgfi 5536a1d141d5Smrg 5537a1d141d5Smrg# Have a temporary directory for convenience. Make it in the build tree 55382ddb6cf1Smrg# simply because there is no reason against having it here, and in addition, 5539a1d141d5Smrg# creating and moving files from /tmp can sometimes cause problems. 55402ddb6cf1Smrg# Hook for its removal unless debugging. 55412ddb6cf1Smrg# Note that there is a small window in which the directory will not be cleaned: 55422ddb6cf1Smrg# after its creation but before its name has been assigned to `$tmp'. 5543a1d141d5Smrg$debug || 5544a1d141d5Smrg{ 554555074dd0Smrg tmp= ac_tmp= 55462ddb6cf1Smrg trap 'exit_status=$? 554755074dd0Smrg : "${ac_tmp:=$tmp}" 554855074dd0Smrg { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 55492ddb6cf1Smrg' 0 555055074dd0Smrg trap 'as_fn_exit 1' 1 2 13 15 5551a1d141d5Smrg} 5552a1d141d5Smrg# Create a (secure) tmp directory for tmp files. 5553a1d141d5Smrg 5554a1d141d5Smrg{ 55552ddb6cf1Smrg tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 555655074dd0Smrg test -d "$tmp" 5557a1d141d5Smrg} || 5558a1d141d5Smrg{ 55592ddb6cf1Smrg tmp=./conf$$-$RANDOM 55602ddb6cf1Smrg (umask 077 && mkdir "$tmp") 556155074dd0Smrg} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 556255074dd0Smrgac_tmp=$tmp 5563a1d141d5Smrg 55642ddb6cf1Smrg# Set up the scripts for CONFIG_FILES section. 55652ddb6cf1Smrg# No need to generate them if there are no CONFIG_FILES. 55662ddb6cf1Smrg# This happens for instance with `./config.status config.h'. 55672ddb6cf1Smrgif test -n "$CONFIG_FILES"; then 55682ddb6cf1Smrg 55692ddb6cf1Smrg 557055074dd0Smrgac_cr=`echo X | tr X '\015'` 557155074dd0Smrg# On cygwin, bash can eat \r inside `` if the user requested igncr. 557255074dd0Smrg# But we know of no other shell where ac_cr would be empty at this 557355074dd0Smrg# point, so we can use a bashism as a fallback. 557455074dd0Smrgif test "x$ac_cr" = x; then 557555074dd0Smrg eval ac_cr=\$\'\\r\' 557655074dd0Smrgfi 55772ddb6cf1Smrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 55782ddb6cf1Smrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 55792ddb6cf1Smrg ac_cs_awk_cr='\\r' 55802ddb6cf1Smrgelse 55812ddb6cf1Smrg ac_cs_awk_cr=$ac_cr 55822ddb6cf1Smrgfi 55832ddb6cf1Smrg 558455074dd0Smrgecho 'BEGIN {' >"$ac_tmp/subs1.awk" && 5585a1d141d5Smrg_ACEOF 5586a1d141d5Smrg 5587a1d141d5Smrg 55882ddb6cf1Smrg{ 55892ddb6cf1Smrg echo "cat >conf$$subs.awk <<_ACEOF" && 55902ddb6cf1Smrg echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 55912ddb6cf1Smrg echo "_ACEOF" 55922ddb6cf1Smrg} >conf$$subs.sh || 559355074dd0Smrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 559455074dd0Smrgac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 55952ddb6cf1Smrgac_delim='%!_!# ' 55962ddb6cf1Smrgfor ac_last_try in false false false false false :; do 55972ddb6cf1Smrg . ./conf$$subs.sh || 559855074dd0Smrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5599a1d141d5Smrg 56002ddb6cf1Smrg ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 56012ddb6cf1Smrg if test $ac_delim_n = $ac_delim_num; then 56022ddb6cf1Smrg break 56032ddb6cf1Smrg elif $ac_last_try; then 560455074dd0Smrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 56052ddb6cf1Smrg else 56062ddb6cf1Smrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 56072ddb6cf1Smrg fi 56082ddb6cf1Smrgdone 56092ddb6cf1Smrgrm -f conf$$subs.sh 5610a1d141d5Smrg 56112ddb6cf1Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 561255074dd0Smrgcat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 5613a1d141d5Smrg_ACEOF 56142ddb6cf1Smrgsed -n ' 56152ddb6cf1Smrgh 56162ddb6cf1Smrgs/^/S["/; s/!.*/"]=/ 56172ddb6cf1Smrgp 56182ddb6cf1Smrgg 56192ddb6cf1Smrgs/^[^!]*!// 56202ddb6cf1Smrg:repl 56212ddb6cf1Smrgt repl 56222ddb6cf1Smrgs/'"$ac_delim"'$// 56232ddb6cf1Smrgt delim 56242ddb6cf1Smrg:nl 56252ddb6cf1Smrgh 562655074dd0Smrgs/\(.\{148\}\)..*/\1/ 56272ddb6cf1Smrgt more1 56282ddb6cf1Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 56292ddb6cf1Smrgp 56302ddb6cf1Smrgn 56312ddb6cf1Smrgb repl 56322ddb6cf1Smrg:more1 56332ddb6cf1Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 56342ddb6cf1Smrgp 56352ddb6cf1Smrgg 56362ddb6cf1Smrgs/.\{148\}// 56372ddb6cf1Smrgt nl 56382ddb6cf1Smrg:delim 56392ddb6cf1Smrgh 564055074dd0Smrgs/\(.\{148\}\)..*/\1/ 56412ddb6cf1Smrgt more2 56422ddb6cf1Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/ 56432ddb6cf1Smrgp 56442ddb6cf1Smrgb 56452ddb6cf1Smrg:more2 56462ddb6cf1Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 56472ddb6cf1Smrgp 56482ddb6cf1Smrgg 56492ddb6cf1Smrgs/.\{148\}// 56502ddb6cf1Smrgt delim 56512ddb6cf1Smrg' <conf$$subs.awk | sed ' 56522ddb6cf1Smrg/^[^""]/{ 56532ddb6cf1Smrg N 56542ddb6cf1Smrg s/\n// 56552ddb6cf1Smrg} 56562ddb6cf1Smrg' >>$CONFIG_STATUS || ac_write_fail=1 56572ddb6cf1Smrgrm -f conf$$subs.awk 56582ddb6cf1Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 56592ddb6cf1Smrg_ACAWK 566055074dd0Smrgcat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 56612ddb6cf1Smrg for (key in S) S_is_set[key] = 1 56622ddb6cf1Smrg FS = "" 5663a1d141d5Smrg 56642ddb6cf1Smrg} 56652ddb6cf1Smrg{ 56662ddb6cf1Smrg line = $ 0 56672ddb6cf1Smrg nfields = split(line, field, "@") 56682ddb6cf1Smrg substed = 0 56692ddb6cf1Smrg len = length(field[1]) 56702ddb6cf1Smrg for (i = 2; i < nfields; i++) { 56712ddb6cf1Smrg key = field[i] 56722ddb6cf1Smrg keylen = length(key) 56732ddb6cf1Smrg if (S_is_set[key]) { 56742ddb6cf1Smrg value = S[key] 56752ddb6cf1Smrg line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 56762ddb6cf1Smrg len += length(value) + length(field[++i]) 56772ddb6cf1Smrg substed = 1 56782ddb6cf1Smrg } else 56792ddb6cf1Smrg len += 1 + keylen 56802ddb6cf1Smrg } 56812ddb6cf1Smrg 56822ddb6cf1Smrg print line 56832ddb6cf1Smrg} 56842ddb6cf1Smrg 56852ddb6cf1Smrg_ACAWK 56862ddb6cf1Smrg_ACEOF 56872ddb6cf1Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 56882ddb6cf1Smrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 56892ddb6cf1Smrg sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 56902ddb6cf1Smrgelse 56912ddb6cf1Smrg cat 569255074dd0Smrgfi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 569355074dd0Smrg || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 56942ddb6cf1Smrg_ACEOF 56952ddb6cf1Smrg 569655074dd0Smrg# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 569755074dd0Smrg# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 56982ddb6cf1Smrg# trailing colons and then remove the whole line if VPATH becomes empty 56992ddb6cf1Smrg# (actually we leave an empty line to preserve line numbers). 57002ddb6cf1Smrgif test "x$srcdir" = x.; then 570155074dd0Smrg ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 570255074dd0Smrgh 570355074dd0Smrgs/// 570455074dd0Smrgs/^/:/ 570555074dd0Smrgs/[ ]*$/:/ 570655074dd0Smrgs/:\$(srcdir):/:/g 570755074dd0Smrgs/:\${srcdir}:/:/g 570855074dd0Smrgs/:@srcdir@:/:/g 570955074dd0Smrgs/^:*// 57102ddb6cf1Smrgs/:*$// 571155074dd0Smrgx 571255074dd0Smrgs/\(=[ ]*\).*/\1/ 571355074dd0SmrgG 571455074dd0Smrgs/\n// 57152ddb6cf1Smrgs/^[^=]*=[ ]*$// 57162ddb6cf1Smrg}' 57172ddb6cf1Smrgfi 57182ddb6cf1Smrg 57192ddb6cf1Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5720a1d141d5Smrgfi # test -n "$CONFIG_FILES" 5721a1d141d5Smrg 57222ddb6cf1Smrg# Set up the scripts for CONFIG_HEADERS section. 57232ddb6cf1Smrg# No need to generate them if there are no CONFIG_HEADERS. 57242ddb6cf1Smrg# This happens for instance with `./config.status Makefile'. 57252ddb6cf1Smrgif test -n "$CONFIG_HEADERS"; then 572655074dd0Smrgcat >"$ac_tmp/defines.awk" <<\_ACAWK || 57272ddb6cf1SmrgBEGIN { 5728a1d141d5Smrg_ACEOF 57292ddb6cf1Smrg 57302ddb6cf1Smrg# Transform confdefs.h into an awk script `defines.awk', embedded as 57312ddb6cf1Smrg# here-document in config.status, that substitutes the proper values into 57322ddb6cf1Smrg# config.h.in to produce config.h. 57332ddb6cf1Smrg 57342ddb6cf1Smrg# Create a delimiter string that does not exist in confdefs.h, to ease 57352ddb6cf1Smrg# handling of long lines. 57362ddb6cf1Smrgac_delim='%!_!# ' 57372ddb6cf1Smrgfor ac_last_try in false false :; do 573855074dd0Smrg ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 573955074dd0Smrg if test -z "$ac_tt"; then 57402ddb6cf1Smrg break 57412ddb6cf1Smrg elif $ac_last_try; then 574255074dd0Smrg as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 57432ddb6cf1Smrg else 57442ddb6cf1Smrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 57452ddb6cf1Smrg fi 57462ddb6cf1Smrgdone 57472ddb6cf1Smrg 57482ddb6cf1Smrg# For the awk script, D is an array of macro values keyed by name, 57492ddb6cf1Smrg# likewise P contains macro parameters if any. Preserve backslash 57502ddb6cf1Smrg# newline sequences. 57512ddb6cf1Smrg 57522ddb6cf1Smrgac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 57532ddb6cf1Smrgsed -n ' 57542ddb6cf1Smrgs/.\{148\}/&'"$ac_delim"'/g 57552ddb6cf1Smrgt rset 57562ddb6cf1Smrg:rset 57572ddb6cf1Smrgs/^[ ]*#[ ]*define[ ][ ]*/ / 57582ddb6cf1Smrgt def 57592ddb6cf1Smrgd 57602ddb6cf1Smrg:def 57612ddb6cf1Smrgs/\\$// 57622ddb6cf1Smrgt bsnl 57632ddb6cf1Smrgs/["\\]/\\&/g 57642ddb6cf1Smrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 57652ddb6cf1SmrgD["\1"]=" \3"/p 57662ddb6cf1Smrgs/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 57672ddb6cf1Smrgd 57682ddb6cf1Smrg:bsnl 57692ddb6cf1Smrgs/["\\]/\\&/g 57702ddb6cf1Smrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 57712ddb6cf1SmrgD["\1"]=" \3\\\\\\n"\\/p 57722ddb6cf1Smrgt cont 57732ddb6cf1Smrgs/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 57742ddb6cf1Smrgt cont 57752ddb6cf1Smrgd 57762ddb6cf1Smrg:cont 57772ddb6cf1Smrgn 57782ddb6cf1Smrgs/.\{148\}/&'"$ac_delim"'/g 57792ddb6cf1Smrgt clear 57802ddb6cf1Smrg:clear 57812ddb6cf1Smrgs/\\$// 57822ddb6cf1Smrgt bsnlc 57832ddb6cf1Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/p 57842ddb6cf1Smrgd 57852ddb6cf1Smrg:bsnlc 57862ddb6cf1Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 57872ddb6cf1Smrgb cont 57882ddb6cf1Smrg' <confdefs.h | sed ' 57892ddb6cf1Smrgs/'"$ac_delim"'/"\\\ 57902ddb6cf1Smrg"/g' >>$CONFIG_STATUS || ac_write_fail=1 57912ddb6cf1Smrg 57922ddb6cf1Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 57932ddb6cf1Smrg for (key in D) D_is_set[key] = 1 57942ddb6cf1Smrg FS = "" 57952ddb6cf1Smrg} 57962ddb6cf1Smrg/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 57972ddb6cf1Smrg line = \$ 0 57982ddb6cf1Smrg split(line, arg, " ") 57992ddb6cf1Smrg if (arg[1] == "#") { 58002ddb6cf1Smrg defundef = arg[2] 58012ddb6cf1Smrg mac1 = arg[3] 58022ddb6cf1Smrg } else { 58032ddb6cf1Smrg defundef = substr(arg[1], 2) 58042ddb6cf1Smrg mac1 = arg[2] 58052ddb6cf1Smrg } 58062ddb6cf1Smrg split(mac1, mac2, "(") #) 58072ddb6cf1Smrg macro = mac2[1] 58082ddb6cf1Smrg prefix = substr(line, 1, index(line, defundef) - 1) 58092ddb6cf1Smrg if (D_is_set[macro]) { 58102ddb6cf1Smrg # Preserve the white space surrounding the "#". 58112ddb6cf1Smrg print prefix "define", macro P[macro] D[macro] 58122ddb6cf1Smrg next 58132ddb6cf1Smrg } else { 58142ddb6cf1Smrg # Replace #undef with comments. This is necessary, for example, 58152ddb6cf1Smrg # in the case of _POSIX_SOURCE, which is predefined and required 58162ddb6cf1Smrg # on some systems where configure will not decide to define it. 58172ddb6cf1Smrg if (defundef == "undef") { 58182ddb6cf1Smrg print "/*", prefix defundef, macro, "*/" 58192ddb6cf1Smrg next 58202ddb6cf1Smrg } 58212ddb6cf1Smrg } 58222ddb6cf1Smrg} 58232ddb6cf1Smrg{ print } 58242ddb6cf1Smrg_ACAWK 58252ddb6cf1Smrg_ACEOF 58262ddb6cf1Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 582755074dd0Smrg as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 58282ddb6cf1Smrgfi # test -n "$CONFIG_HEADERS" 58292ddb6cf1Smrg 58302ddb6cf1Smrg 58312ddb6cf1Smrgeval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 58322ddb6cf1Smrgshift 58332ddb6cf1Smrgfor ac_tag 58342ddb6cf1Smrgdo 58352ddb6cf1Smrg case $ac_tag in 58362ddb6cf1Smrg :[FHLC]) ac_mode=$ac_tag; continue;; 58372ddb6cf1Smrg esac 58382ddb6cf1Smrg case $ac_mode$ac_tag in 58392ddb6cf1Smrg :[FHL]*:*);; 584055074dd0Smrg :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 58412ddb6cf1Smrg :[FH]-) ac_tag=-:-;; 58422ddb6cf1Smrg :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 58432ddb6cf1Smrg esac 58442ddb6cf1Smrg ac_save_IFS=$IFS 58452ddb6cf1Smrg IFS=: 58462ddb6cf1Smrg set x $ac_tag 58472ddb6cf1Smrg IFS=$ac_save_IFS 58482ddb6cf1Smrg shift 58492ddb6cf1Smrg ac_file=$1 58502ddb6cf1Smrg shift 58512ddb6cf1Smrg 58522ddb6cf1Smrg case $ac_mode in 58532ddb6cf1Smrg :L) ac_source=$1;; 58542ddb6cf1Smrg :[FH]) 58552ddb6cf1Smrg ac_file_inputs= 58562ddb6cf1Smrg for ac_f 58572ddb6cf1Smrg do 58582ddb6cf1Smrg case $ac_f in 585955074dd0Smrg -) ac_f="$ac_tmp/stdin";; 58602ddb6cf1Smrg *) # Look for the file first in the build tree, then in the source tree 58612ddb6cf1Smrg # (if the path is not absolute). The absolute path cannot be DOS-style, 58622ddb6cf1Smrg # because $ac_f cannot contain `:'. 58632ddb6cf1Smrg test -f "$ac_f" || 58642ddb6cf1Smrg case $ac_f in 58652ddb6cf1Smrg [\\/$]*) false;; 58662ddb6cf1Smrg *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 58672ddb6cf1Smrg esac || 586855074dd0Smrg as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 58692ddb6cf1Smrg esac 58702ddb6cf1Smrg case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 587155074dd0Smrg as_fn_append ac_file_inputs " '$ac_f'" 58722ddb6cf1Smrg done 58732ddb6cf1Smrg 58742ddb6cf1Smrg # Let's still pretend it is `configure' which instantiates (i.e., don't 58752ddb6cf1Smrg # use $as_me), people would be surprised to read: 58762ddb6cf1Smrg # /* config.h. Generated by config.status. */ 58772ddb6cf1Smrg configure_input='Generated from '` 58782ddb6cf1Smrg $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 58792ddb6cf1Smrg `' by configure.' 58802ddb6cf1Smrg if test x"$ac_file" != x-; then 58812ddb6cf1Smrg configure_input="$ac_file. $configure_input" 588255074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 58832ddb6cf1Smrg$as_echo "$as_me: creating $ac_file" >&6;} 58842ddb6cf1Smrg fi 58852ddb6cf1Smrg # Neutralize special characters interpreted by sed in replacement strings. 58862ddb6cf1Smrg case $configure_input in #( 58872ddb6cf1Smrg *\&* | *\|* | *\\* ) 58882ddb6cf1Smrg ac_sed_conf_input=`$as_echo "$configure_input" | 58892ddb6cf1Smrg sed 's/[\\\\&|]/\\\\&/g'`;; #( 58902ddb6cf1Smrg *) ac_sed_conf_input=$configure_input;; 58912ddb6cf1Smrg esac 58922ddb6cf1Smrg 58932ddb6cf1Smrg case $ac_tag in 589455074dd0Smrg *:-:* | *:-) cat >"$ac_tmp/stdin" \ 589555074dd0Smrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 58962ddb6cf1Smrg esac 58972ddb6cf1Smrg ;; 5898a1d141d5Smrg esac 5899a1d141d5Smrg 59002ddb6cf1Smrg ac_dir=`$as_dirname -- "$ac_file" || 5901a1d141d5Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5902a1d141d5Smrg X"$ac_file" : 'X\(//\)[^/]' \| \ 5903a1d141d5Smrg X"$ac_file" : 'X\(//\)$' \| \ 59042ddb6cf1Smrg X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 59052ddb6cf1Smrg$as_echo X"$ac_file" | 59062ddb6cf1Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 59072ddb6cf1Smrg s//\1/ 59082ddb6cf1Smrg q 59092ddb6cf1Smrg } 59102ddb6cf1Smrg /^X\(\/\/\)[^/].*/{ 59112ddb6cf1Smrg s//\1/ 59122ddb6cf1Smrg q 59132ddb6cf1Smrg } 59142ddb6cf1Smrg /^X\(\/\/\)$/{ 59152ddb6cf1Smrg s//\1/ 59162ddb6cf1Smrg q 59172ddb6cf1Smrg } 59182ddb6cf1Smrg /^X\(\/\).*/{ 59192ddb6cf1Smrg s//\1/ 59202ddb6cf1Smrg q 59212ddb6cf1Smrg } 59222ddb6cf1Smrg s/.*/./; q'` 592355074dd0Smrg as_dir="$ac_dir"; as_fn_mkdir_p 5924a1d141d5Smrg ac_builddir=. 5925a1d141d5Smrg 59262ddb6cf1Smrgcase "$ac_dir" in 59272ddb6cf1Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 59282ddb6cf1Smrg*) 59292ddb6cf1Smrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 59302ddb6cf1Smrg # A ".." for each directory in $ac_dir_suffix. 59312ddb6cf1Smrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 59322ddb6cf1Smrg case $ac_top_builddir_sub in 59332ddb6cf1Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 59342ddb6cf1Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 59352ddb6cf1Smrg esac ;; 59362ddb6cf1Smrgesac 59372ddb6cf1Smrgac_abs_top_builddir=$ac_pwd 59382ddb6cf1Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 59392ddb6cf1Smrg# for backward compatibility: 59402ddb6cf1Smrgac_top_builddir=$ac_top_build_prefix 5941a1d141d5Smrg 5942a1d141d5Smrgcase $srcdir in 59432ddb6cf1Smrg .) # We are building in place. 5944a1d141d5Smrg ac_srcdir=. 59452ddb6cf1Smrg ac_top_srcdir=$ac_top_builddir_sub 59462ddb6cf1Smrg ac_abs_top_srcdir=$ac_pwd ;; 59472ddb6cf1Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 5948a1d141d5Smrg ac_srcdir=$srcdir$ac_dir_suffix; 59492ddb6cf1Smrg ac_top_srcdir=$srcdir 59502ddb6cf1Smrg ac_abs_top_srcdir=$srcdir ;; 59512ddb6cf1Smrg *) # Relative name. 59522ddb6cf1Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 59532ddb6cf1Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 59542ddb6cf1Smrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 5955a1d141d5Smrgesac 59562ddb6cf1Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 5957a1d141d5Smrg 5958a1d141d5Smrg 59592ddb6cf1Smrg case $ac_mode in 59602ddb6cf1Smrg :F) 59612ddb6cf1Smrg # 59622ddb6cf1Smrg # CONFIG_FILE 59632ddb6cf1Smrg # 5964a1d141d5Smrg 5965a1d141d5Smrg case $INSTALL in 5966a1d141d5Smrg [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 59672ddb6cf1Smrg *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 5968a1d141d5Smrg esac 59692ddb6cf1Smrg ac_MKDIR_P=$MKDIR_P 59702ddb6cf1Smrg case $MKDIR_P in 59712ddb6cf1Smrg [\\/$]* | ?:[\\/]* ) ;; 59722ddb6cf1Smrg */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 59732ddb6cf1Smrg esac 59742ddb6cf1Smrg_ACEOF 5975a1d141d5Smrg 59762ddb6cf1Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 59772ddb6cf1Smrg# If the template does not know about datarootdir, expand it. 59782ddb6cf1Smrg# FIXME: This hack should be removed a few years after 2.60. 59792ddb6cf1Smrgac_datarootdir_hack=; ac_datarootdir_seen= 59802ddb6cf1Smrgac_sed_dataroot=' 59812ddb6cf1Smrg/datarootdir/ { 59822ddb6cf1Smrg p 59832ddb6cf1Smrg q 59842ddb6cf1Smrg} 59852ddb6cf1Smrg/@datadir@/p 59862ddb6cf1Smrg/@docdir@/p 59872ddb6cf1Smrg/@infodir@/p 59882ddb6cf1Smrg/@localedir@/p 598955074dd0Smrg/@mandir@/p' 59902ddb6cf1Smrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 59912ddb6cf1Smrg*datarootdir*) ac_datarootdir_seen=yes;; 59922ddb6cf1Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 599355074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 59942ddb6cf1Smrg$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 5995a1d141d5Smrg_ACEOF 59962ddb6cf1Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 59972ddb6cf1Smrg ac_datarootdir_hack=' 59982ddb6cf1Smrg s&@datadir@&$datadir&g 59992ddb6cf1Smrg s&@docdir@&$docdir&g 60002ddb6cf1Smrg s&@infodir@&$infodir&g 60012ddb6cf1Smrg s&@localedir@&$localedir&g 60022ddb6cf1Smrg s&@mandir@&$mandir&g 600355074dd0Smrg s&\\\${datarootdir}&$datarootdir&g' ;; 60042ddb6cf1Smrgesac 60052ddb6cf1Smrg_ACEOF 60062ddb6cf1Smrg 60072ddb6cf1Smrg# Neutralize VPATH when `$srcdir' = `.'. 60082ddb6cf1Smrg# Shell code in configure.ac might set extrasub. 60092ddb6cf1Smrg# FIXME: do we really want to maintain this feature? 60102ddb6cf1Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 60112ddb6cf1Smrgac_sed_extra="$ac_vpsub 6012a1d141d5Smrg$extrasub 6013a1d141d5Smrg_ACEOF 60142ddb6cf1Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6015a1d141d5Smrg:t 6016a1d141d5Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 60172ddb6cf1Smrgs|@configure_input@|$ac_sed_conf_input|;t t 60182ddb6cf1Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t 60192ddb6cf1Smrgs&@top_build_prefix@&$ac_top_build_prefix&;t t 60202ddb6cf1Smrgs&@srcdir@&$ac_srcdir&;t t 60212ddb6cf1Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t 60222ddb6cf1Smrgs&@top_srcdir@&$ac_top_srcdir&;t t 60232ddb6cf1Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 60242ddb6cf1Smrgs&@builddir@&$ac_builddir&;t t 60252ddb6cf1Smrgs&@abs_builddir@&$ac_abs_builddir&;t t 60262ddb6cf1Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t 60272ddb6cf1Smrgs&@INSTALL@&$ac_INSTALL&;t t 60282ddb6cf1Smrgs&@MKDIR_P@&$ac_MKDIR_P&;t t 60292ddb6cf1Smrg$ac_datarootdir_hack 60302ddb6cf1Smrg" 603155074dd0Smrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 603255074dd0Smrg >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 6033a1d141d5Smrg 60342ddb6cf1Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 603555074dd0Smrg { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 603655074dd0Smrg { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 603755074dd0Smrg "$ac_tmp/out"`; test -z "$ac_out"; } && 603855074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 603955074dd0Smrgwhich seems to be undefined. Please make sure it is defined" >&5 60402ddb6cf1Smrg$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 604155074dd0Smrgwhich seems to be undefined. Please make sure it is defined" >&2;} 6042a1d141d5Smrg 604355074dd0Smrg rm -f "$ac_tmp/stdin" 6044a1d141d5Smrg case $ac_file in 604555074dd0Smrg -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 604655074dd0Smrg *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 60472ddb6cf1Smrg esac \ 604855074dd0Smrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 60492ddb6cf1Smrg ;; 60502ddb6cf1Smrg :H) 60512ddb6cf1Smrg # 60522ddb6cf1Smrg # CONFIG_HEADER 60532ddb6cf1Smrg # 6054a1d141d5Smrg if test x"$ac_file" != x-; then 60552ddb6cf1Smrg { 60562ddb6cf1Smrg $as_echo "/* $configure_input */" \ 605755074dd0Smrg && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 605855074dd0Smrg } >"$ac_tmp/config.h" \ 605955074dd0Smrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 606055074dd0Smrg if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 606155074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 60622ddb6cf1Smrg$as_echo "$as_me: $ac_file is unchanged" >&6;} 6063a1d141d5Smrg else 60642ddb6cf1Smrg rm -f "$ac_file" 606555074dd0Smrg mv "$ac_tmp/config.h" "$ac_file" \ 606655074dd0Smrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 6067a1d141d5Smrg fi 6068a1d141d5Smrg else 60692ddb6cf1Smrg $as_echo "/* $configure_input */" \ 607055074dd0Smrg && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 607155074dd0Smrg || as_fn_error $? "could not create -" "$LINENO" 5 6072a1d141d5Smrg fi 60732ddb6cf1Smrg# Compute "$ac_file"'s index in $config_headers. 60742ddb6cf1Smrg_am_arg="$ac_file" 6075a1d141d5Smrg_am_stamp_count=1 6076a1d141d5Smrgfor _am_header in $config_headers :; do 6077a1d141d5Smrg case $_am_header in 60782ddb6cf1Smrg $_am_arg | $_am_arg:* ) 6079a1d141d5Smrg break ;; 6080a1d141d5Smrg * ) 6081a1d141d5Smrg _am_stamp_count=`expr $_am_stamp_count + 1` ;; 6082a1d141d5Smrg esac 6083a1d141d5Smrgdone 60842ddb6cf1Smrgecho "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 60852ddb6cf1Smrg$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 60862ddb6cf1Smrg X"$_am_arg" : 'X\(//\)[^/]' \| \ 60872ddb6cf1Smrg X"$_am_arg" : 'X\(//\)$' \| \ 60882ddb6cf1Smrg X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 60892ddb6cf1Smrg$as_echo X"$_am_arg" | 60902ddb6cf1Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 60912ddb6cf1Smrg s//\1/ 60922ddb6cf1Smrg q 60932ddb6cf1Smrg } 60942ddb6cf1Smrg /^X\(\/\/\)[^/].*/{ 60952ddb6cf1Smrg s//\1/ 60962ddb6cf1Smrg q 60972ddb6cf1Smrg } 60982ddb6cf1Smrg /^X\(\/\/\)$/{ 60992ddb6cf1Smrg s//\1/ 61002ddb6cf1Smrg q 61012ddb6cf1Smrg } 61022ddb6cf1Smrg /^X\(\/\).*/{ 61032ddb6cf1Smrg s//\1/ 61042ddb6cf1Smrg q 61052ddb6cf1Smrg } 61062ddb6cf1Smrg s/.*/./; q'`/stamp-h$_am_stamp_count 61072ddb6cf1Smrg ;; 6108a1d141d5Smrg 610955074dd0Smrg :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 61102ddb6cf1Smrg$as_echo "$as_me: executing $ac_file commands" >&6;} 61112ddb6cf1Smrg ;; 61122ddb6cf1Smrg esac 6113a1d141d5Smrg 6114a1d141d5Smrg 61152ddb6cf1Smrg case $ac_file$ac_mode in 61162ddb6cf1Smrg "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 61172ddb6cf1Smrg # Autoconf 2.62 quotes --file arguments for eval, but not when files 61182ddb6cf1Smrg # are listed without --file. Let's play safe and only enable the eval 61192ddb6cf1Smrg # if we detect the quoting. 61202ddb6cf1Smrg case $CONFIG_FILES in 61212ddb6cf1Smrg *\'*) eval set x "$CONFIG_FILES" ;; 61222ddb6cf1Smrg *) set x $CONFIG_FILES ;; 61232ddb6cf1Smrg esac 61242ddb6cf1Smrg shift 61252ddb6cf1Smrg for mf 61262ddb6cf1Smrg do 61272ddb6cf1Smrg # Strip MF so we end up with the name of the file. 61282ddb6cf1Smrg mf=`echo "$mf" | sed -e 's/:.*$//'` 61292ddb6cf1Smrg # Check whether this is an Automake generated Makefile or not. 61302ddb6cf1Smrg # We used to match only the files named `Makefile.in', but 61312ddb6cf1Smrg # some people rename them; so instead we look at the file content. 61322ddb6cf1Smrg # Grep'ing the first line is not enough: some people post-process 61332ddb6cf1Smrg # each Makefile.in and add a new line on top of each file to say so. 61342ddb6cf1Smrg # Grep'ing the whole file is not good either: AIX grep has a line 61352ddb6cf1Smrg # limit of 2048, but all sed's we know have understand at least 4000. 61362ddb6cf1Smrg if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 61372ddb6cf1Smrg dirpart=`$as_dirname -- "$mf" || 6138a1d141d5Smrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6139a1d141d5Smrg X"$mf" : 'X\(//\)[^/]' \| \ 6140a1d141d5Smrg X"$mf" : 'X\(//\)$' \| \ 61412ddb6cf1Smrg X"$mf" : 'X\(/\)' \| . 2>/dev/null || 61422ddb6cf1Smrg$as_echo X"$mf" | 61432ddb6cf1Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 61442ddb6cf1Smrg s//\1/ 61452ddb6cf1Smrg q 61462ddb6cf1Smrg } 61472ddb6cf1Smrg /^X\(\/\/\)[^/].*/{ 61482ddb6cf1Smrg s//\1/ 61492ddb6cf1Smrg q 61502ddb6cf1Smrg } 61512ddb6cf1Smrg /^X\(\/\/\)$/{ 61522ddb6cf1Smrg s//\1/ 61532ddb6cf1Smrg q 61542ddb6cf1Smrg } 61552ddb6cf1Smrg /^X\(\/\).*/{ 61562ddb6cf1Smrg s//\1/ 61572ddb6cf1Smrg q 61582ddb6cf1Smrg } 61592ddb6cf1Smrg s/.*/./; q'` 61602ddb6cf1Smrg else 61612ddb6cf1Smrg continue 61622ddb6cf1Smrg fi 61632ddb6cf1Smrg # Extract the definition of DEPDIR, am__include, and am__quote 61642ddb6cf1Smrg # from the Makefile without running `make'. 61652ddb6cf1Smrg DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 61662ddb6cf1Smrg test -z "$DEPDIR" && continue 61672ddb6cf1Smrg am__include=`sed -n 's/^am__include = //p' < "$mf"` 61682ddb6cf1Smrg test -z "am__include" && continue 61692ddb6cf1Smrg am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 61702ddb6cf1Smrg # When using ansi2knr, U may be empty or an underscore; expand it 61712ddb6cf1Smrg U=`sed -n 's/^U = //p' < "$mf"` 61722ddb6cf1Smrg # Find all dependency output files, they are included files with 61732ddb6cf1Smrg # $(DEPDIR) in their names. We invoke sed twice because it is the 61742ddb6cf1Smrg # simplest approach to changing $(DEPDIR) to its actual value in the 61752ddb6cf1Smrg # expansion. 61762ddb6cf1Smrg for file in `sed -n " 61772ddb6cf1Smrg s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 61782ddb6cf1Smrg sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 61792ddb6cf1Smrg # Make sure the directory exists. 61802ddb6cf1Smrg test -f "$dirpart/$file" && continue 61812ddb6cf1Smrg fdir=`$as_dirname -- "$file" || 6182a1d141d5Smrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6183a1d141d5Smrg X"$file" : 'X\(//\)[^/]' \| \ 6184a1d141d5Smrg X"$file" : 'X\(//\)$' \| \ 61852ddb6cf1Smrg X"$file" : 'X\(/\)' \| . 2>/dev/null || 61862ddb6cf1Smrg$as_echo X"$file" | 61872ddb6cf1Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 61882ddb6cf1Smrg s//\1/ 61892ddb6cf1Smrg q 61902ddb6cf1Smrg } 61912ddb6cf1Smrg /^X\(\/\/\)[^/].*/{ 61922ddb6cf1Smrg s//\1/ 61932ddb6cf1Smrg q 61942ddb6cf1Smrg } 61952ddb6cf1Smrg /^X\(\/\/\)$/{ 61962ddb6cf1Smrg s//\1/ 61972ddb6cf1Smrg q 61982ddb6cf1Smrg } 61992ddb6cf1Smrg /^X\(\/\).*/{ 62002ddb6cf1Smrg s//\1/ 62012ddb6cf1Smrg q 62022ddb6cf1Smrg } 62032ddb6cf1Smrg s/.*/./; q'` 620455074dd0Smrg as_dir=$dirpart/$fdir; as_fn_mkdir_p 62052ddb6cf1Smrg # echo "creating $dirpart/$file" 62062ddb6cf1Smrg echo '# dummy' > "$dirpart/$file" 62072ddb6cf1Smrg done 6208a1d141d5Smrg done 62092ddb6cf1Smrg} 6210a1d141d5Smrg ;; 62112ddb6cf1Smrg 6212a1d141d5Smrg esac 62132ddb6cf1Smrgdone # for ac_tag 6214a1d141d5Smrg 6215a1d141d5Smrg 621655074dd0Smrgas_fn_exit 0 6217a1d141d5Smrg_ACEOF 6218a1d141d5Smrgac_clean_files=$ac_clean_files_save 6219a1d141d5Smrg 62202ddb6cf1Smrgtest $ac_write_fail = 0 || 622155074dd0Smrg as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 62222ddb6cf1Smrg 6223a1d141d5Smrg 6224a1d141d5Smrg# configure is writing to config.log, and then calls config.status. 6225a1d141d5Smrg# config.status does its own redirection, appending to config.log. 6226a1d141d5Smrg# Unfortunately, on DOS this fails, as config.log is still kept open 6227a1d141d5Smrg# by configure, so config.status won't be able to write to it; its 6228a1d141d5Smrg# output is simply discarded. So we exec the FD to /dev/null, 6229a1d141d5Smrg# effectively closing config.log, so it can be properly (re)opened and 6230a1d141d5Smrg# appended to by config.status. When coming back to configure, we 6231a1d141d5Smrg# need to make the FD available again. 6232a1d141d5Smrgif test "$no_create" != yes; then 6233a1d141d5Smrg ac_cs_success=: 6234a1d141d5Smrg ac_config_status_args= 6235a1d141d5Smrg test "$silent" = yes && 6236a1d141d5Smrg ac_config_status_args="$ac_config_status_args --quiet" 6237a1d141d5Smrg exec 5>/dev/null 6238a1d141d5Smrg $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 6239a1d141d5Smrg exec 5>>config.log 6240a1d141d5Smrg # Use ||, not &&, to avoid exiting from the if with $? = 1, which 6241a1d141d5Smrg # would make configure fail if this is the last instruction. 624255074dd0Smrg $ac_cs_success || as_fn_exit 1 6243a1d141d5Smrgfi 62442ddb6cf1Smrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 624555074dd0Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 62462ddb6cf1Smrg$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 62472ddb6cf1Smrgfi 6248a1d141d5Smrg 6249