configure revision 9c125d91
116910e25Smrg#! /bin/sh 216910e25Smrg# Guess values for system-dependent variables and create Makefiles. 39c125d91Smrg# Generated by GNU Autoconf 2.65 for xmore 1.0.2. 416910e25Smrg# 516910e25Smrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 616910e25Smrg# 79c125d91Smrg# 89c125d91Smrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 99c125d91Smrg# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, 109c125d91Smrg# Inc. 119c125d91Smrg# 129c125d91Smrg# 1316910e25Smrg# This configure script is free software; the Free Software Foundation 1416910e25Smrg# gives unlimited permission to copy, distribute and modify it. 159c125d91Smrg## -------------------- ## 169c125d91Smrg## M4sh Initialization. ## 179c125d91Smrg## -------------------- ## 1816910e25Smrg 199c125d91Smrg# Be more Bourne compatible 209c125d91SmrgDUALCASE=1; export DUALCASE # for MKS sh 219c125d91Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 2216910e25Smrg emulate sh 2316910e25Smrg NULLCMD=: 249c125d91Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 2516910e25Smrg # is contrary to our usage. Disable this feature. 2616910e25Smrg alias -g '${1+"$@"}'='"$@"' 279c125d91Smrg setopt NO_GLOB_SUBST 289c125d91Smrgelse 299c125d91Smrg case `(set -o) 2>/dev/null` in #( 309c125d91Smrg *posix*) : 319c125d91Smrg set -o posix ;; #( 329c125d91Smrg *) : 339c125d91Smrg ;; 349c125d91Smrgesac 3516910e25Smrgfi 3616910e25Smrg 379c125d91Smrg 389c125d91Smrgas_nl=' 399c125d91Smrg' 409c125d91Smrgexport as_nl 419c125d91Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 429c125d91Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 439c125d91Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 449c125d91Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 459c125d91Smrg# Prefer a ksh shell builtin over an external printf program on Solaris, 469c125d91Smrg# but without wasting forks for bash or zsh. 479c125d91Smrgif test -z "$BASH_VERSION$ZSH_VERSION" \ 489c125d91Smrg && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 499c125d91Smrg as_echo='print -r --' 509c125d91Smrg as_echo_n='print -rn --' 519c125d91Smrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 529c125d91Smrg as_echo='printf %s\n' 539c125d91Smrg as_echo_n='printf %s' 5416910e25Smrgelse 559c125d91Smrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 569c125d91Smrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 579c125d91Smrg as_echo_n='/usr/ucb/echo -n' 589c125d91Smrg else 599c125d91Smrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 609c125d91Smrg as_echo_n_body='eval 619c125d91Smrg arg=$1; 629c125d91Smrg case $arg in #( 639c125d91Smrg *"$as_nl"*) 649c125d91Smrg expr "X$arg" : "X\\(.*\\)$as_nl"; 659c125d91Smrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 669c125d91Smrg esac; 679c125d91Smrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 689c125d91Smrg ' 699c125d91Smrg export as_echo_n_body 709c125d91Smrg as_echo_n='sh -c $as_echo_n_body as_echo' 719c125d91Smrg fi 729c125d91Smrg export as_echo_body 739c125d91Smrg as_echo='sh -c $as_echo_body as_echo' 749c125d91Smrgfi 759c125d91Smrg 769c125d91Smrg# The user is always right. 779c125d91Smrgif test "${PATH_SEPARATOR+set}" != set; then 789c125d91Smrg PATH_SEPARATOR=: 799c125d91Smrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 809c125d91Smrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 819c125d91Smrg PATH_SEPARATOR=';' 829c125d91Smrg } 8316910e25Smrgfi 8416910e25Smrg 8516910e25Smrg 869c125d91Smrg# IFS 879c125d91Smrg# We need space, tab and new line, in precisely that order. Quoting is 889c125d91Smrg# there to prevent editors from complaining about space-tab. 899c125d91Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 909c125d91Smrg# splitting by setting IFS to empty value.) 919c125d91SmrgIFS=" "" $as_nl" 929c125d91Smrg 939c125d91Smrg# Find who we are. Look in the path if we contain no directory separator. 949c125d91Smrgcase $0 in #(( 959c125d91Smrg *[\\/]* ) as_myself=$0 ;; 969c125d91Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 979c125d91Smrgfor as_dir in $PATH 989c125d91Smrgdo 999c125d91Smrg IFS=$as_save_IFS 1009c125d91Smrg test -z "$as_dir" && as_dir=. 1019c125d91Smrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 1029c125d91Smrg done 1039c125d91SmrgIFS=$as_save_IFS 1049c125d91Smrg 1059c125d91Smrg ;; 1069c125d91Smrgesac 1079c125d91Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 1089c125d91Smrg# in which case we are not to be found in the path. 1099c125d91Smrgif test "x$as_myself" = x; then 1109c125d91Smrg as_myself=$0 1119c125d91Smrgfi 1129c125d91Smrgif test ! -f "$as_myself"; then 1139c125d91Smrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 1149c125d91Smrg exit 1 1159c125d91Smrgfi 1169c125d91Smrg 1179c125d91Smrg# Unset variables that we do not need and which cause bugs (e.g. in 1189c125d91Smrg# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 1199c125d91Smrg# suppresses any "Segmentation fault" message there. '((' could 1209c125d91Smrg# trigger a bug in pdksh 5.2.14. 1219c125d91Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH 1229c125d91Smrgdo eval test x\${$as_var+set} = xset \ 1239c125d91Smrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 1249c125d91Smrgdone 12516910e25SmrgPS1='$ ' 12616910e25SmrgPS2='> ' 12716910e25SmrgPS4='+ ' 12816910e25Smrg 12916910e25Smrg# NLS nuisances. 1309c125d91SmrgLC_ALL=C 1319c125d91Smrgexport LC_ALL 1329c125d91SmrgLANGUAGE=C 1339c125d91Smrgexport LANGUAGE 1349c125d91Smrg 1359c125d91Smrg# CDPATH. 1369c125d91Smrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 1379c125d91Smrg 1389c125d91Smrgif test "x$CONFIG_SHELL" = x; then 1399c125d91Smrg as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 1409c125d91Smrg emulate sh 1419c125d91Smrg NULLCMD=: 1429c125d91Smrg # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 1439c125d91Smrg # is contrary to our usage. Disable this feature. 1449c125d91Smrg alias -g '\${1+\"\$@\"}'='\"\$@\"' 1459c125d91Smrg setopt NO_GLOB_SUBST 1469c125d91Smrgelse 1479c125d91Smrg case \`(set -o) 2>/dev/null\` in #( 1489c125d91Smrg *posix*) : 1499c125d91Smrg set -o posix ;; #( 1509c125d91Smrg *) : 1519c125d91Smrg ;; 1529c125d91Smrgesac 1539c125d91Smrgfi 1549c125d91Smrg" 1559c125d91Smrg as_required="as_fn_return () { (exit \$1); } 1569c125d91Smrgas_fn_success () { as_fn_return 0; } 1579c125d91Smrgas_fn_failure () { as_fn_return 1; } 1589c125d91Smrgas_fn_ret_success () { return 0; } 1599c125d91Smrgas_fn_ret_failure () { return 1; } 1609c125d91Smrg 1619c125d91Smrgexitcode=0 1629c125d91Smrgas_fn_success || { exitcode=1; echo as_fn_success failed.; } 1639c125d91Smrgas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 1649c125d91Smrgas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 1659c125d91Smrgas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 1669c125d91Smrgif ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 1679c125d91Smrg 1689c125d91Smrgelse 1699c125d91Smrg exitcode=1; echo positional parameters were not saved. 1709c125d91Smrgfi 1719c125d91Smrgtest x\$exitcode = x0 || exit 1" 1729c125d91Smrg as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 1739c125d91Smrg as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 1749c125d91Smrg eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 1759c125d91Smrg test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 1769c125d91Smrgtest \$(( 1 + 1 )) = 2 || exit 1" 1779c125d91Smrg if (eval "$as_required") 2>/dev/null; then : 1789c125d91Smrg as_have_required=yes 1799c125d91Smrgelse 1809c125d91Smrg as_have_required=no 1819c125d91Smrgfi 1829c125d91Smrg if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 1839c125d91Smrg 1849c125d91Smrgelse 1859c125d91Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1869c125d91Smrgas_found=false 1879c125d91Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 18816910e25Smrgdo 1899c125d91Smrg IFS=$as_save_IFS 1909c125d91Smrg test -z "$as_dir" && as_dir=. 1919c125d91Smrg as_found=: 1929c125d91Smrg case $as_dir in #( 1939c125d91Smrg /*) 1949c125d91Smrg for as_base in sh bash ksh sh5; do 1959c125d91Smrg # Try only shells that exist, to save several forks. 1969c125d91Smrg as_shell=$as_dir/$as_base 1979c125d91Smrg if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 1989c125d91Smrg { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 1999c125d91Smrg CONFIG_SHELL=$as_shell as_have_required=yes 2009c125d91Smrg if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 2019c125d91Smrg break 2 2029c125d91Smrgfi 2039c125d91Smrgfi 2049c125d91Smrg done;; 2059c125d91Smrg esac 2069c125d91Smrg as_found=false 2079c125d91Smrgdone 2089c125d91Smrg$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 2099c125d91Smrg { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 2109c125d91Smrg CONFIG_SHELL=$SHELL as_have_required=yes 2119c125d91Smrgfi; } 2129c125d91SmrgIFS=$as_save_IFS 2139c125d91Smrg 2149c125d91Smrg 2159c125d91Smrg if test "x$CONFIG_SHELL" != x; then : 2169c125d91Smrg # We cannot yet assume a decent shell, so we have to provide a 2179c125d91Smrg # neutralization value for shells without unset; and this also 2189c125d91Smrg # works around shells that cannot unset nonexistent variables. 2199c125d91Smrg BASH_ENV=/dev/null 2209c125d91Smrg ENV=/dev/null 2219c125d91Smrg (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 2229c125d91Smrg export CONFIG_SHELL 2239c125d91Smrg exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 2249c125d91Smrgfi 2259c125d91Smrg 2269c125d91Smrg if test x$as_have_required = xno; then : 2279c125d91Smrg $as_echo "$0: This script requires a shell more modern than all" 2289c125d91Smrg $as_echo "$0: the shells that I found on your system." 2299c125d91Smrg if test x${ZSH_VERSION+set} = xset ; then 2309c125d91Smrg $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 2319c125d91Smrg $as_echo "$0: be upgraded to zsh 4.3.4 or later." 23216910e25Smrg else 2339c125d91Smrg $as_echo "$0: Please tell bug-autoconf@gnu.org and 2349c125d91Smrg$0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg 2359c125d91Smrg$0: about your system, including any error possibly output 2369c125d91Smrg$0: before this message. Then install a modern shell, or 2379c125d91Smrg$0: manually run the script under such a shell if you do 2389c125d91Smrg$0: have one." 23916910e25Smrg fi 2409c125d91Smrg exit 1 2419c125d91Smrgfi 2429c125d91Smrgfi 2439c125d91Smrgfi 2449c125d91SmrgSHELL=${CONFIG_SHELL-/bin/sh} 2459c125d91Smrgexport SHELL 2469c125d91Smrg# Unset more variables known to interfere with behavior of common tools. 2479c125d91SmrgCLICOLOR_FORCE= GREP_OPTIONS= 2489c125d91Smrgunset CLICOLOR_FORCE GREP_OPTIONS 2499c125d91Smrg 2509c125d91Smrg## --------------------- ## 2519c125d91Smrg## M4sh Shell Functions. ## 2529c125d91Smrg## --------------------- ## 2539c125d91Smrg# as_fn_unset VAR 2549c125d91Smrg# --------------- 2559c125d91Smrg# Portably unset VAR. 2569c125d91Smrgas_fn_unset () 2579c125d91Smrg{ 2589c125d91Smrg { eval $1=; unset $1;} 2599c125d91Smrg} 2609c125d91Smrgas_unset=as_fn_unset 2619c125d91Smrg 2629c125d91Smrg# as_fn_set_status STATUS 2639c125d91Smrg# ----------------------- 2649c125d91Smrg# Set $? to STATUS, without forking. 2659c125d91Smrgas_fn_set_status () 2669c125d91Smrg{ 2679c125d91Smrg return $1 2689c125d91Smrg} # as_fn_set_status 2699c125d91Smrg 2709c125d91Smrg# as_fn_exit STATUS 2719c125d91Smrg# ----------------- 2729c125d91Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 2739c125d91Smrgas_fn_exit () 2749c125d91Smrg{ 2759c125d91Smrg set +e 2769c125d91Smrg as_fn_set_status $1 2779c125d91Smrg exit $1 2789c125d91Smrg} # as_fn_exit 2799c125d91Smrg 2809c125d91Smrg# as_fn_mkdir_p 2819c125d91Smrg# ------------- 2829c125d91Smrg# Create "$as_dir" as a directory, including parents if necessary. 2839c125d91Smrgas_fn_mkdir_p () 2849c125d91Smrg{ 28516910e25Smrg 2869c125d91Smrg case $as_dir in #( 2879c125d91Smrg -*) as_dir=./$as_dir;; 2889c125d91Smrg esac 2899c125d91Smrg test -d "$as_dir" || eval $as_mkdir_p || { 2909c125d91Smrg as_dirs= 2919c125d91Smrg while :; do 2929c125d91Smrg case $as_dir in #( 2939c125d91Smrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 2949c125d91Smrg *) as_qdir=$as_dir;; 2959c125d91Smrg esac 2969c125d91Smrg as_dirs="'$as_qdir' $as_dirs" 2979c125d91Smrg as_dir=`$as_dirname -- "$as_dir" || 2989c125d91Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 2999c125d91Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 3009c125d91Smrg X"$as_dir" : 'X\(//\)$' \| \ 3019c125d91Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 3029c125d91Smrg$as_echo X"$as_dir" | 3039c125d91Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3049c125d91Smrg s//\1/ 3059c125d91Smrg q 3069c125d91Smrg } 3079c125d91Smrg /^X\(\/\/\)[^/].*/{ 3089c125d91Smrg s//\1/ 3099c125d91Smrg q 3109c125d91Smrg } 3119c125d91Smrg /^X\(\/\/\)$/{ 3129c125d91Smrg s//\1/ 3139c125d91Smrg q 3149c125d91Smrg } 3159c125d91Smrg /^X\(\/\).*/{ 3169c125d91Smrg s//\1/ 3179c125d91Smrg q 3189c125d91Smrg } 3199c125d91Smrg s/.*/./; q'` 3209c125d91Smrg test -d "$as_dir" && break 3219c125d91Smrg done 3229c125d91Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 3239c125d91Smrg } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 3249c125d91Smrg 3259c125d91Smrg 3269c125d91Smrg} # as_fn_mkdir_p 3279c125d91Smrg# as_fn_append VAR VALUE 3289c125d91Smrg# ---------------------- 3299c125d91Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take 3309c125d91Smrg# advantage of any shell optimizations that allow amortized linear growth over 3319c125d91Smrg# repeated appends, instead of the typical quadratic growth present in naive 3329c125d91Smrg# implementations. 3339c125d91Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 3349c125d91Smrg eval 'as_fn_append () 3359c125d91Smrg { 3369c125d91Smrg eval $1+=\$2 3379c125d91Smrg }' 3389c125d91Smrgelse 3399c125d91Smrg as_fn_append () 3409c125d91Smrg { 3419c125d91Smrg eval $1=\$$1\$2 3429c125d91Smrg } 3439c125d91Smrgfi # as_fn_append 3449c125d91Smrg 3459c125d91Smrg# as_fn_arith ARG... 3469c125d91Smrg# ------------------ 3479c125d91Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the 3489c125d91Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 3499c125d91Smrg# must be portable across $(()) and expr. 3509c125d91Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 3519c125d91Smrg eval 'as_fn_arith () 3529c125d91Smrg { 3539c125d91Smrg as_val=$(( $* )) 3549c125d91Smrg }' 3559c125d91Smrgelse 3569c125d91Smrg as_fn_arith () 3579c125d91Smrg { 3589c125d91Smrg as_val=`expr "$@" || test $? -eq 1` 3599c125d91Smrg } 3609c125d91Smrgfi # as_fn_arith 3619c125d91Smrg 3629c125d91Smrg 3639c125d91Smrg# as_fn_error ERROR [LINENO LOG_FD] 3649c125d91Smrg# --------------------------------- 3659c125d91Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 3669c125d91Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 3679c125d91Smrg# script with status $?, using 1 if that was 0. 3689c125d91Smrgas_fn_error () 3699c125d91Smrg{ 3709c125d91Smrg as_status=$?; test $as_status -eq 0 && as_status=1 3719c125d91Smrg if test "$3"; then 3729c125d91Smrg as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 3739c125d91Smrg $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 3749c125d91Smrg fi 3759c125d91Smrg $as_echo "$as_me: error: $1" >&2 3769c125d91Smrg as_fn_exit $as_status 3779c125d91Smrg} # as_fn_error 3789c125d91Smrg 3799c125d91Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 3809c125d91Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 38116910e25Smrg as_expr=expr 38216910e25Smrgelse 38316910e25Smrg as_expr=false 38416910e25Smrgfi 38516910e25Smrg 3869c125d91Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 38716910e25Smrg as_basename=basename 38816910e25Smrgelse 38916910e25Smrg as_basename=false 39016910e25Smrgfi 39116910e25Smrg 3929c125d91Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 3939c125d91Smrg as_dirname=dirname 3949c125d91Smrgelse 3959c125d91Smrg as_dirname=false 3969c125d91Smrgfi 39716910e25Smrg 3989c125d91Smrgas_me=`$as_basename -- "$0" || 39916910e25Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 40016910e25Smrg X"$0" : 'X\(//\)$' \| \ 4019c125d91Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 4029c125d91Smrg$as_echo X/"$0" | 4039c125d91Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 4049c125d91Smrg s//\1/ 4059c125d91Smrg q 4069c125d91Smrg } 4079c125d91Smrg /^X\/\(\/\/\)$/{ 4089c125d91Smrg s//\1/ 4099c125d91Smrg q 4109c125d91Smrg } 4119c125d91Smrg /^X\/\(\/\).*/{ 4129c125d91Smrg s//\1/ 4139c125d91Smrg q 4149c125d91Smrg } 4159c125d91Smrg s/.*/./; q'` 41616910e25Smrg 41716910e25Smrg# Avoid depending upon Character Ranges. 41816910e25Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 41916910e25Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 42016910e25Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 42116910e25Smrgas_cr_digits='0123456789' 42216910e25Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 42316910e25Smrg 42416910e25Smrg 4259c125d91Smrg as_lineno_1=$LINENO as_lineno_1a=$LINENO 4269c125d91Smrg as_lineno_2=$LINENO as_lineno_2a=$LINENO 4279c125d91Smrg eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 4289c125d91Smrg test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 4299c125d91Smrg # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 4309c125d91Smrg sed -n ' 4319c125d91Smrg p 4329c125d91Smrg /[$]LINENO/= 4339c125d91Smrg ' <$as_myself | 43416910e25Smrg sed ' 4359c125d91Smrg s/[$]LINENO.*/&-/ 4369c125d91Smrg t lineno 4379c125d91Smrg b 4389c125d91Smrg :lineno 43916910e25Smrg N 4409c125d91Smrg :loop 4419c125d91Smrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 44216910e25Smrg t loop 4439c125d91Smrg s/-\n.*// 44416910e25Smrg ' >$as_me.lineno && 4459c125d91Smrg chmod +x "$as_me.lineno" || 4469c125d91Smrg { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 44716910e25Smrg 44816910e25Smrg # Don't try to exec as it changes $[0], causing all sort of problems 44916910e25Smrg # (the dirname of $[0] is not the place where we might find the 4509c125d91Smrg # original and so on. Autoconf is especially sensitive to this). 4519c125d91Smrg . "./$as_me.lineno" 45216910e25Smrg # Exit status is that of the last command. 45316910e25Smrg exit 45416910e25Smrg} 45516910e25Smrg 4569c125d91SmrgECHO_C= ECHO_N= ECHO_T= 4579c125d91Smrgcase `echo -n x` in #((((( 4589c125d91Smrg-n*) 4599c125d91Smrg case `echo 'xy\c'` in 4609c125d91Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 4619c125d91Smrg xy) ECHO_C='\c';; 4629c125d91Smrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 4639c125d91Smrg ECHO_T=' ';; 4649c125d91Smrg esac;; 4659c125d91Smrg*) 4669c125d91Smrg ECHO_N='-n';; 46716910e25Smrgesac 46816910e25Smrg 4699c125d91Smrgrm -f conf$$ conf$$.exe conf$$.file 4709c125d91Smrgif test -d conf$$.dir; then 4719c125d91Smrg rm -f conf$$.dir/conf$$.file 47216910e25Smrgelse 4739c125d91Smrg rm -f conf$$.dir 4749c125d91Smrg mkdir conf$$.dir 2>/dev/null 47516910e25Smrgfi 4769c125d91Smrgif (echo >conf$$.file) 2>/dev/null; then 4779c125d91Smrg if ln -s conf$$.file conf$$ 2>/dev/null; then 47816910e25Smrg as_ln_s='ln -s' 4799c125d91Smrg # ... but there are two gotchas: 4809c125d91Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 4819c125d91Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 4829c125d91Smrg # In both cases, we have to default to `cp -p'. 4839c125d91Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 4849c125d91Smrg as_ln_s='cp -p' 4859c125d91Smrg elif ln conf$$.file conf$$ 2>/dev/null; then 4869c125d91Smrg as_ln_s=ln 4879c125d91Smrg else 4889c125d91Smrg as_ln_s='cp -p' 48916910e25Smrg fi 49016910e25Smrgelse 49116910e25Smrg as_ln_s='cp -p' 49216910e25Smrgfi 4939c125d91Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 4949c125d91Smrgrmdir conf$$.dir 2>/dev/null 49516910e25Smrg 49616910e25Smrgif mkdir -p . 2>/dev/null; then 4979c125d91Smrg as_mkdir_p='mkdir -p "$as_dir"' 49816910e25Smrgelse 49916910e25Smrg test -d ./-p && rmdir ./-p 50016910e25Smrg as_mkdir_p=false 50116910e25Smrgfi 50216910e25Smrg 5039c125d91Smrgif test -x / >/dev/null 2>&1; then 5049c125d91Smrg as_test_x='test -x' 5059c125d91Smrgelse 5069c125d91Smrg if ls -dL / >/dev/null 2>&1; then 5079c125d91Smrg as_ls_L_option=L 5089c125d91Smrg else 5099c125d91Smrg as_ls_L_option= 5109c125d91Smrg fi 5119c125d91Smrg as_test_x=' 5129c125d91Smrg eval sh -c '\'' 5139c125d91Smrg if test -d "$1"; then 5149c125d91Smrg test -d "$1/."; 5159c125d91Smrg else 5169c125d91Smrg case $1 in #( 5179c125d91Smrg -*)set "./$1";; 5189c125d91Smrg esac; 5199c125d91Smrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 5209c125d91Smrg ???[sx]*):;;*)false;;esac;fi 5219c125d91Smrg '\'' sh 5229c125d91Smrg ' 5239c125d91Smrgfi 5249c125d91Smrgas_executable_p=$as_test_x 52516910e25Smrg 52616910e25Smrg# Sed expression to map a string onto a valid CPP name. 52716910e25Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 52816910e25Smrg 52916910e25Smrg# Sed expression to map a string onto a valid variable name. 53016910e25Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 53116910e25Smrg 53216910e25Smrg 5339c125d91Smrgtest -n "$DJDIR" || exec 7<&0 </dev/null 5349c125d91Smrgexec 6>&1 53516910e25Smrg 53616910e25Smrg# Name of the host. 53716910e25Smrg# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 53816910e25Smrg# so uname gets run too. 53916910e25Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 54016910e25Smrg 54116910e25Smrg# 54216910e25Smrg# Initializations. 54316910e25Smrg# 54416910e25Smrgac_default_prefix=/usr/local 5459c125d91Smrgac_clean_files= 54616910e25Smrgac_config_libobj_dir=. 5479c125d91SmrgLIBOBJS= 54816910e25Smrgcross_compiling=no 54916910e25Smrgsubdirs= 55016910e25SmrgMFLAGS= 55116910e25SmrgMAKEFLAGS= 55216910e25Smrg 55316910e25Smrg# Identity of this package. 55416910e25SmrgPACKAGE_NAME='xmore' 55516910e25SmrgPACKAGE_TARNAME='xmore' 5569c125d91SmrgPACKAGE_VERSION='1.0.2' 5579c125d91SmrgPACKAGE_STRING='xmore 1.0.2' 55816910e25SmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 5599c125d91SmrgPACKAGE_URL='' 56016910e25Smrg 5619c125d91Smrg# Factoring default headers for most tests. 5629c125d91Smrgac_includes_default="\ 5639c125d91Smrg#include <stdio.h> 5649c125d91Smrg#ifdef HAVE_SYS_TYPES_H 5659c125d91Smrg# include <sys/types.h> 5669c125d91Smrg#endif 5679c125d91Smrg#ifdef HAVE_SYS_STAT_H 5689c125d91Smrg# include <sys/stat.h> 5699c125d91Smrg#endif 5709c125d91Smrg#ifdef STDC_HEADERS 5719c125d91Smrg# include <stdlib.h> 5729c125d91Smrg# include <stddef.h> 5739c125d91Smrg#else 5749c125d91Smrg# ifdef HAVE_STDLIB_H 5759c125d91Smrg# include <stdlib.h> 5769c125d91Smrg# endif 5779c125d91Smrg#endif 5789c125d91Smrg#ifdef HAVE_STRING_H 5799c125d91Smrg# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 5809c125d91Smrg# include <memory.h> 5819c125d91Smrg# endif 5829c125d91Smrg# include <string.h> 5839c125d91Smrg#endif 5849c125d91Smrg#ifdef HAVE_STRINGS_H 5859c125d91Smrg# include <strings.h> 5869c125d91Smrg#endif 5879c125d91Smrg#ifdef HAVE_INTTYPES_H 5889c125d91Smrg# include <inttypes.h> 5899c125d91Smrg#endif 5909c125d91Smrg#ifdef HAVE_STDINT_H 5919c125d91Smrg# include <stdint.h> 5929c125d91Smrg#endif 5939c125d91Smrg#ifdef HAVE_UNISTD_H 5949c125d91Smrg# include <unistd.h> 5959c125d91Smrg#endif" 5969c125d91Smrg 5979c125d91Smrgac_subst_vars='am__EXEEXT_FALSE 5989c125d91Smrgam__EXEEXT_TRUE 5999c125d91SmrgLTLIBOBJS 6009c125d91SmrgLIBOBJS 6019c125d91Smrgappdefaultdir 6029c125d91SmrgAPPDEFS_LIBS 6039c125d91SmrgAPPDEFS_CFLAGS 6049c125d91SmrgXMORE_LIBS 6059c125d91SmrgXMORE_CFLAGS 6069c125d91SmrgAM_BACKSLASH 6079c125d91SmrgAM_DEFAULT_VERBOSITY 6089c125d91SmrgMAN_SUBSTS 6099c125d91SmrgXORG_MAN_PAGE 6109c125d91SmrgADMIN_MAN_DIR 6119c125d91SmrgDRIVER_MAN_DIR 6129c125d91SmrgMISC_MAN_DIR 6139c125d91SmrgFILE_MAN_DIR 6149c125d91SmrgLIB_MAN_DIR 6159c125d91SmrgAPP_MAN_DIR 6169c125d91SmrgADMIN_MAN_SUFFIX 6179c125d91SmrgDRIVER_MAN_SUFFIX 6189c125d91SmrgMISC_MAN_SUFFIX 6199c125d91SmrgFILE_MAN_SUFFIX 6209c125d91SmrgLIB_MAN_SUFFIX 6219c125d91SmrgAPP_MAN_SUFFIX 6229c125d91SmrgSED 6239c125d91Smrghost_os 6249c125d91Smrghost_vendor 6259c125d91Smrghost_cpu 6269c125d91Smrghost 6279c125d91Smrgbuild_os 6289c125d91Smrgbuild_vendor 6299c125d91Smrgbuild_cpu 6309c125d91Smrgbuild 6319c125d91SmrgINSTALL_CMD 6329c125d91SmrgPKG_CONFIG 6339c125d91SmrgCHANGELOG_CMD 6349c125d91SmrgCWARNFLAGS 6359c125d91SmrgEGREP 6369c125d91SmrgGREP 6379c125d91SmrgCPP 6389c125d91Smrgam__fastdepCC_FALSE 6399c125d91Smrgam__fastdepCC_TRUE 6409c125d91SmrgCCDEPMODE 6419c125d91SmrgAMDEPBACKSLASH 6429c125d91SmrgAMDEP_FALSE 6439c125d91SmrgAMDEP_TRUE 6449c125d91Smrgam__quote 6459c125d91Smrgam__include 6469c125d91SmrgDEPDIR 6479c125d91SmrgOBJEXT 6489c125d91SmrgEXEEXT 6499c125d91Smrgac_ct_CC 6509c125d91SmrgCPPFLAGS 6519c125d91SmrgLDFLAGS 6529c125d91SmrgCFLAGS 6539c125d91SmrgCC 6549c125d91SmrgMAINT 6559c125d91SmrgMAINTAINER_MODE_FALSE 6569c125d91SmrgMAINTAINER_MODE_TRUE 6579c125d91Smrgam__untar 6589c125d91Smrgam__tar 6599c125d91SmrgAMTAR 6609c125d91Smrgam__leading_dot 6619c125d91SmrgSET_MAKE 6629c125d91SmrgAWK 6639c125d91Smrgmkdir_p 6649c125d91SmrgMKDIR_P 6659c125d91SmrgINSTALL_STRIP_PROGRAM 6669c125d91SmrgSTRIP 6679c125d91Smrginstall_sh 6689c125d91SmrgMAKEINFO 6699c125d91SmrgAUTOHEADER 6709c125d91SmrgAUTOMAKE 6719c125d91SmrgAUTOCONF 6729c125d91SmrgACLOCAL 6739c125d91SmrgVERSION 6749c125d91SmrgPACKAGE 6759c125d91SmrgCYGPATH_W 6769c125d91Smrgam__isrc 6779c125d91SmrgINSTALL_DATA 6789c125d91SmrgINSTALL_SCRIPT 6799c125d91SmrgINSTALL_PROGRAM 6809c125d91Smrgtarget_alias 6819c125d91Smrghost_alias 6829c125d91Smrgbuild_alias 6839c125d91SmrgLIBS 6849c125d91SmrgECHO_T 6859c125d91SmrgECHO_N 6869c125d91SmrgECHO_C 6879c125d91SmrgDEFS 6889c125d91Smrgmandir 6899c125d91Smrglocaledir 6909c125d91Smrglibdir 6919c125d91Smrgpsdir 6929c125d91Smrgpdfdir 6939c125d91Smrgdvidir 6949c125d91Smrghtmldir 6959c125d91Smrginfodir 6969c125d91Smrgdocdir 6979c125d91Smrgoldincludedir 6989c125d91Smrgincludedir 6999c125d91Smrglocalstatedir 7009c125d91Smrgsharedstatedir 7019c125d91Smrgsysconfdir 7029c125d91Smrgdatadir 7039c125d91Smrgdatarootdir 7049c125d91Smrglibexecdir 7059c125d91Smrgsbindir 7069c125d91Smrgbindir 7079c125d91Smrgprogram_transform_name 7089c125d91Smrgprefix 7099c125d91Smrgexec_prefix 7109c125d91SmrgPACKAGE_URL 7119c125d91SmrgPACKAGE_BUGREPORT 7129c125d91SmrgPACKAGE_STRING 7139c125d91SmrgPACKAGE_VERSION 7149c125d91SmrgPACKAGE_TARNAME 7159c125d91SmrgPACKAGE_NAME 7169c125d91SmrgPATH_SEPARATOR 7179c125d91SmrgSHELL' 71816910e25Smrgac_subst_files='' 7199c125d91Smrgac_user_opts=' 7209c125d91Smrgenable_option_checking 7219c125d91Smrgenable_maintainer_mode 7229c125d91Smrgenable_dependency_tracking 7239c125d91Smrgenable_strict_compilation 7249c125d91Smrgenable_silent_rules 7259c125d91Smrgwith_appdefaultdir 7269c125d91Smrg' 7279c125d91Smrg ac_precious_vars='build_alias 7289c125d91Smrghost_alias 7299c125d91Smrgtarget_alias 7309c125d91SmrgCC 7319c125d91SmrgCFLAGS 7329c125d91SmrgLDFLAGS 7339c125d91SmrgLIBS 7349c125d91SmrgCPPFLAGS 7359c125d91SmrgCPP 7369c125d91SmrgPKG_CONFIG 7379c125d91SmrgXMORE_CFLAGS 7389c125d91SmrgXMORE_LIBS 7399c125d91SmrgAPPDEFS_CFLAGS 7409c125d91SmrgAPPDEFS_LIBS' 7419c125d91Smrg 74216910e25Smrg 74316910e25Smrg# Initialize some variables set by options. 74416910e25Smrgac_init_help= 74516910e25Smrgac_init_version=false 7469c125d91Smrgac_unrecognized_opts= 7479c125d91Smrgac_unrecognized_sep= 74816910e25Smrg# The variables have the same names as the options, with 74916910e25Smrg# dashes changed to underlines. 75016910e25Smrgcache_file=/dev/null 75116910e25Smrgexec_prefix=NONE 75216910e25Smrgno_create= 75316910e25Smrgno_recursion= 75416910e25Smrgprefix=NONE 75516910e25Smrgprogram_prefix=NONE 75616910e25Smrgprogram_suffix=NONE 75716910e25Smrgprogram_transform_name=s,x,x, 75816910e25Smrgsilent= 75916910e25Smrgsite= 76016910e25Smrgsrcdir= 76116910e25Smrgverbose= 76216910e25Smrgx_includes=NONE 76316910e25Smrgx_libraries=NONE 76416910e25Smrg 76516910e25Smrg# Installation directory options. 76616910e25Smrg# These are left unexpanded so users can "make install exec_prefix=/foo" 76716910e25Smrg# and all the variables that are supposed to be based on exec_prefix 76816910e25Smrg# by default will actually change. 76916910e25Smrg# Use braces instead of parens because sh, perl, etc. also accept them. 7709c125d91Smrg# (The list follows the same order as the GNU Coding Standards.) 77116910e25Smrgbindir='${exec_prefix}/bin' 77216910e25Smrgsbindir='${exec_prefix}/sbin' 77316910e25Smrglibexecdir='${exec_prefix}/libexec' 7749c125d91Smrgdatarootdir='${prefix}/share' 7759c125d91Smrgdatadir='${datarootdir}' 77616910e25Smrgsysconfdir='${prefix}/etc' 77716910e25Smrgsharedstatedir='${prefix}/com' 77816910e25Smrglocalstatedir='${prefix}/var' 77916910e25Smrgincludedir='${prefix}/include' 78016910e25Smrgoldincludedir='/usr/include' 7819c125d91Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 7829c125d91Smrginfodir='${datarootdir}/info' 7839c125d91Smrghtmldir='${docdir}' 7849c125d91Smrgdvidir='${docdir}' 7859c125d91Smrgpdfdir='${docdir}' 7869c125d91Smrgpsdir='${docdir}' 7879c125d91Smrglibdir='${exec_prefix}/lib' 7889c125d91Smrglocaledir='${datarootdir}/locale' 7899c125d91Smrgmandir='${datarootdir}/man' 79016910e25Smrg 79116910e25Smrgac_prev= 7929c125d91Smrgac_dashdash= 79316910e25Smrgfor ac_option 79416910e25Smrgdo 79516910e25Smrg # If the previous option needs an argument, assign it. 79616910e25Smrg if test -n "$ac_prev"; then 7979c125d91Smrg eval $ac_prev=\$ac_option 79816910e25Smrg ac_prev= 79916910e25Smrg continue 80016910e25Smrg fi 80116910e25Smrg 8029c125d91Smrg case $ac_option in 8039c125d91Smrg *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 8049c125d91Smrg *) ac_optarg=yes ;; 8059c125d91Smrg esac 80616910e25Smrg 80716910e25Smrg # Accept the important Cygnus configure options, so we can diagnose typos. 80816910e25Smrg 8099c125d91Smrg case $ac_dashdash$ac_option in 8109c125d91Smrg --) 8119c125d91Smrg ac_dashdash=yes ;; 81216910e25Smrg 81316910e25Smrg -bindir | --bindir | --bindi | --bind | --bin | --bi) 81416910e25Smrg ac_prev=bindir ;; 81516910e25Smrg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 81616910e25Smrg bindir=$ac_optarg ;; 81716910e25Smrg 81816910e25Smrg -build | --build | --buil | --bui | --bu) 81916910e25Smrg ac_prev=build_alias ;; 82016910e25Smrg -build=* | --build=* | --buil=* | --bui=* | --bu=*) 82116910e25Smrg build_alias=$ac_optarg ;; 82216910e25Smrg 82316910e25Smrg -cache-file | --cache-file | --cache-fil | --cache-fi \ 82416910e25Smrg | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 82516910e25Smrg ac_prev=cache_file ;; 82616910e25Smrg -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 82716910e25Smrg | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 82816910e25Smrg cache_file=$ac_optarg ;; 82916910e25Smrg 83016910e25Smrg --config-cache | -C) 83116910e25Smrg cache_file=config.cache ;; 83216910e25Smrg 8339c125d91Smrg -datadir | --datadir | --datadi | --datad) 83416910e25Smrg ac_prev=datadir ;; 8359c125d91Smrg -datadir=* | --datadir=* | --datadi=* | --datad=*) 83616910e25Smrg datadir=$ac_optarg ;; 83716910e25Smrg 8389c125d91Smrg -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 8399c125d91Smrg | --dataroo | --dataro | --datar) 8409c125d91Smrg ac_prev=datarootdir ;; 8419c125d91Smrg -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 8429c125d91Smrg | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 8439c125d91Smrg datarootdir=$ac_optarg ;; 8449c125d91Smrg 84516910e25Smrg -disable-* | --disable-*) 8469c125d91Smrg ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 84716910e25Smrg # Reject names that are not valid shell variable names. 8489c125d91Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 8499c125d91Smrg as_fn_error "invalid feature name: $ac_useropt" 8509c125d91Smrg ac_useropt_orig=$ac_useropt 8519c125d91Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 8529c125d91Smrg case $ac_user_opts in 8539c125d91Smrg *" 8549c125d91Smrg"enable_$ac_useropt" 8559c125d91Smrg"*) ;; 8569c125d91Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 8579c125d91Smrg ac_unrecognized_sep=', ';; 8589c125d91Smrg esac 8599c125d91Smrg eval enable_$ac_useropt=no ;; 8609c125d91Smrg 8619c125d91Smrg -docdir | --docdir | --docdi | --doc | --do) 8629c125d91Smrg ac_prev=docdir ;; 8639c125d91Smrg -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 8649c125d91Smrg docdir=$ac_optarg ;; 8659c125d91Smrg 8669c125d91Smrg -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 8679c125d91Smrg ac_prev=dvidir ;; 8689c125d91Smrg -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 8699c125d91Smrg dvidir=$ac_optarg ;; 87016910e25Smrg 87116910e25Smrg -enable-* | --enable-*) 8729c125d91Smrg ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 87316910e25Smrg # Reject names that are not valid shell variable names. 8749c125d91Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 8759c125d91Smrg as_fn_error "invalid feature name: $ac_useropt" 8769c125d91Smrg ac_useropt_orig=$ac_useropt 8779c125d91Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 8789c125d91Smrg case $ac_user_opts in 8799c125d91Smrg *" 8809c125d91Smrg"enable_$ac_useropt" 8819c125d91Smrg"*) ;; 8829c125d91Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 8839c125d91Smrg ac_unrecognized_sep=', ';; 88416910e25Smrg esac 8859c125d91Smrg eval enable_$ac_useropt=\$ac_optarg ;; 88616910e25Smrg 88716910e25Smrg -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 88816910e25Smrg | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 88916910e25Smrg | --exec | --exe | --ex) 89016910e25Smrg ac_prev=exec_prefix ;; 89116910e25Smrg -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 89216910e25Smrg | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 89316910e25Smrg | --exec=* | --exe=* | --ex=*) 89416910e25Smrg exec_prefix=$ac_optarg ;; 89516910e25Smrg 89616910e25Smrg -gas | --gas | --ga | --g) 89716910e25Smrg # Obsolete; use --with-gas. 89816910e25Smrg with_gas=yes ;; 89916910e25Smrg 90016910e25Smrg -help | --help | --hel | --he | -h) 90116910e25Smrg ac_init_help=long ;; 90216910e25Smrg -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 90316910e25Smrg ac_init_help=recursive ;; 90416910e25Smrg -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 90516910e25Smrg ac_init_help=short ;; 90616910e25Smrg 90716910e25Smrg -host | --host | --hos | --ho) 90816910e25Smrg ac_prev=host_alias ;; 90916910e25Smrg -host=* | --host=* | --hos=* | --ho=*) 91016910e25Smrg host_alias=$ac_optarg ;; 91116910e25Smrg 9129c125d91Smrg -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 9139c125d91Smrg ac_prev=htmldir ;; 9149c125d91Smrg -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 9159c125d91Smrg | --ht=*) 9169c125d91Smrg htmldir=$ac_optarg ;; 9179c125d91Smrg 91816910e25Smrg -includedir | --includedir | --includedi | --included | --include \ 91916910e25Smrg | --includ | --inclu | --incl | --inc) 92016910e25Smrg ac_prev=includedir ;; 92116910e25Smrg -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 92216910e25Smrg | --includ=* | --inclu=* | --incl=* | --inc=*) 92316910e25Smrg includedir=$ac_optarg ;; 92416910e25Smrg 92516910e25Smrg -infodir | --infodir | --infodi | --infod | --info | --inf) 92616910e25Smrg ac_prev=infodir ;; 92716910e25Smrg -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 92816910e25Smrg infodir=$ac_optarg ;; 92916910e25Smrg 93016910e25Smrg -libdir | --libdir | --libdi | --libd) 93116910e25Smrg ac_prev=libdir ;; 93216910e25Smrg -libdir=* | --libdir=* | --libdi=* | --libd=*) 93316910e25Smrg libdir=$ac_optarg ;; 93416910e25Smrg 93516910e25Smrg -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 93616910e25Smrg | --libexe | --libex | --libe) 93716910e25Smrg ac_prev=libexecdir ;; 93816910e25Smrg -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 93916910e25Smrg | --libexe=* | --libex=* | --libe=*) 94016910e25Smrg libexecdir=$ac_optarg ;; 94116910e25Smrg 9429c125d91Smrg -localedir | --localedir | --localedi | --localed | --locale) 9439c125d91Smrg ac_prev=localedir ;; 9449c125d91Smrg -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 9459c125d91Smrg localedir=$ac_optarg ;; 9469c125d91Smrg 94716910e25Smrg -localstatedir | --localstatedir | --localstatedi | --localstated \ 9489c125d91Smrg | --localstate | --localstat | --localsta | --localst | --locals) 94916910e25Smrg ac_prev=localstatedir ;; 95016910e25Smrg -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 9519c125d91Smrg | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 95216910e25Smrg localstatedir=$ac_optarg ;; 95316910e25Smrg 95416910e25Smrg -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 95516910e25Smrg ac_prev=mandir ;; 95616910e25Smrg -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 95716910e25Smrg mandir=$ac_optarg ;; 95816910e25Smrg 95916910e25Smrg -nfp | --nfp | --nf) 96016910e25Smrg # Obsolete; use --without-fp. 96116910e25Smrg with_fp=no ;; 96216910e25Smrg 96316910e25Smrg -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 96416910e25Smrg | --no-cr | --no-c | -n) 96516910e25Smrg no_create=yes ;; 96616910e25Smrg 96716910e25Smrg -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 96816910e25Smrg | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 96916910e25Smrg no_recursion=yes ;; 97016910e25Smrg 97116910e25Smrg -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 97216910e25Smrg | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 97316910e25Smrg | --oldin | --oldi | --old | --ol | --o) 97416910e25Smrg ac_prev=oldincludedir ;; 97516910e25Smrg -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 97616910e25Smrg | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 97716910e25Smrg | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 97816910e25Smrg oldincludedir=$ac_optarg ;; 97916910e25Smrg 98016910e25Smrg -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 98116910e25Smrg ac_prev=prefix ;; 98216910e25Smrg -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 98316910e25Smrg prefix=$ac_optarg ;; 98416910e25Smrg 98516910e25Smrg -program-prefix | --program-prefix | --program-prefi | --program-pref \ 98616910e25Smrg | --program-pre | --program-pr | --program-p) 98716910e25Smrg ac_prev=program_prefix ;; 98816910e25Smrg -program-prefix=* | --program-prefix=* | --program-prefi=* \ 98916910e25Smrg | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 99016910e25Smrg program_prefix=$ac_optarg ;; 99116910e25Smrg 99216910e25Smrg -program-suffix | --program-suffix | --program-suffi | --program-suff \ 99316910e25Smrg | --program-suf | --program-su | --program-s) 99416910e25Smrg ac_prev=program_suffix ;; 99516910e25Smrg -program-suffix=* | --program-suffix=* | --program-suffi=* \ 99616910e25Smrg | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 99716910e25Smrg program_suffix=$ac_optarg ;; 99816910e25Smrg 99916910e25Smrg -program-transform-name | --program-transform-name \ 100016910e25Smrg | --program-transform-nam | --program-transform-na \ 100116910e25Smrg | --program-transform-n | --program-transform- \ 100216910e25Smrg | --program-transform | --program-transfor \ 100316910e25Smrg | --program-transfo | --program-transf \ 100416910e25Smrg | --program-trans | --program-tran \ 100516910e25Smrg | --progr-tra | --program-tr | --program-t) 100616910e25Smrg ac_prev=program_transform_name ;; 100716910e25Smrg -program-transform-name=* | --program-transform-name=* \ 100816910e25Smrg | --program-transform-nam=* | --program-transform-na=* \ 100916910e25Smrg | --program-transform-n=* | --program-transform-=* \ 101016910e25Smrg | --program-transform=* | --program-transfor=* \ 101116910e25Smrg | --program-transfo=* | --program-transf=* \ 101216910e25Smrg | --program-trans=* | --program-tran=* \ 101316910e25Smrg | --progr-tra=* | --program-tr=* | --program-t=*) 101416910e25Smrg program_transform_name=$ac_optarg ;; 101516910e25Smrg 10169c125d91Smrg -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 10179c125d91Smrg ac_prev=pdfdir ;; 10189c125d91Smrg -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 10199c125d91Smrg pdfdir=$ac_optarg ;; 10209c125d91Smrg 10219c125d91Smrg -psdir | --psdir | --psdi | --psd | --ps) 10229c125d91Smrg ac_prev=psdir ;; 10239c125d91Smrg -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 10249c125d91Smrg psdir=$ac_optarg ;; 10259c125d91Smrg 102616910e25Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 102716910e25Smrg | -silent | --silent | --silen | --sile | --sil) 102816910e25Smrg silent=yes ;; 102916910e25Smrg 103016910e25Smrg -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 103116910e25Smrg ac_prev=sbindir ;; 103216910e25Smrg -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 103316910e25Smrg | --sbi=* | --sb=*) 103416910e25Smrg sbindir=$ac_optarg ;; 103516910e25Smrg 103616910e25Smrg -sharedstatedir | --sharedstatedir | --sharedstatedi \ 103716910e25Smrg | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 103816910e25Smrg | --sharedst | --shareds | --shared | --share | --shar \ 103916910e25Smrg | --sha | --sh) 104016910e25Smrg ac_prev=sharedstatedir ;; 104116910e25Smrg -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 104216910e25Smrg | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 104316910e25Smrg | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 104416910e25Smrg | --sha=* | --sh=*) 104516910e25Smrg sharedstatedir=$ac_optarg ;; 104616910e25Smrg 104716910e25Smrg -site | --site | --sit) 104816910e25Smrg ac_prev=site ;; 104916910e25Smrg -site=* | --site=* | --sit=*) 105016910e25Smrg site=$ac_optarg ;; 105116910e25Smrg 105216910e25Smrg -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 105316910e25Smrg ac_prev=srcdir ;; 105416910e25Smrg -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 105516910e25Smrg srcdir=$ac_optarg ;; 105616910e25Smrg 105716910e25Smrg -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 105816910e25Smrg | --syscon | --sysco | --sysc | --sys | --sy) 105916910e25Smrg ac_prev=sysconfdir ;; 106016910e25Smrg -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 106116910e25Smrg | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 106216910e25Smrg sysconfdir=$ac_optarg ;; 106316910e25Smrg 106416910e25Smrg -target | --target | --targe | --targ | --tar | --ta | --t) 106516910e25Smrg ac_prev=target_alias ;; 106616910e25Smrg -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 106716910e25Smrg target_alias=$ac_optarg ;; 106816910e25Smrg 106916910e25Smrg -v | -verbose | --verbose | --verbos | --verbo | --verb) 107016910e25Smrg verbose=yes ;; 107116910e25Smrg 107216910e25Smrg -version | --version | --versio | --versi | --vers | -V) 107316910e25Smrg ac_init_version=: ;; 107416910e25Smrg 107516910e25Smrg -with-* | --with-*) 10769c125d91Smrg ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 107716910e25Smrg # Reject names that are not valid shell variable names. 10789c125d91Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 10799c125d91Smrg as_fn_error "invalid package name: $ac_useropt" 10809c125d91Smrg ac_useropt_orig=$ac_useropt 10819c125d91Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 10829c125d91Smrg case $ac_user_opts in 10839c125d91Smrg *" 10849c125d91Smrg"with_$ac_useropt" 10859c125d91Smrg"*) ;; 10869c125d91Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 10879c125d91Smrg ac_unrecognized_sep=', ';; 108816910e25Smrg esac 10899c125d91Smrg eval with_$ac_useropt=\$ac_optarg ;; 109016910e25Smrg 109116910e25Smrg -without-* | --without-*) 10929c125d91Smrg ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 109316910e25Smrg # Reject names that are not valid shell variable names. 10949c125d91Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 10959c125d91Smrg as_fn_error "invalid package name: $ac_useropt" 10969c125d91Smrg ac_useropt_orig=$ac_useropt 10979c125d91Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 10989c125d91Smrg case $ac_user_opts in 10999c125d91Smrg *" 11009c125d91Smrg"with_$ac_useropt" 11019c125d91Smrg"*) ;; 11029c125d91Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 11039c125d91Smrg ac_unrecognized_sep=', ';; 11049c125d91Smrg esac 11059c125d91Smrg eval with_$ac_useropt=no ;; 110616910e25Smrg 110716910e25Smrg --x) 110816910e25Smrg # Obsolete; use --with-x. 110916910e25Smrg with_x=yes ;; 111016910e25Smrg 111116910e25Smrg -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 111216910e25Smrg | --x-incl | --x-inc | --x-in | --x-i) 111316910e25Smrg ac_prev=x_includes ;; 111416910e25Smrg -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 111516910e25Smrg | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 111616910e25Smrg x_includes=$ac_optarg ;; 111716910e25Smrg 111816910e25Smrg -x-libraries | --x-libraries | --x-librarie | --x-librari \ 111916910e25Smrg | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 112016910e25Smrg ac_prev=x_libraries ;; 112116910e25Smrg -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 112216910e25Smrg | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 112316910e25Smrg x_libraries=$ac_optarg ;; 112416910e25Smrg 11259c125d91Smrg -*) as_fn_error "unrecognized option: \`$ac_option' 11269c125d91SmrgTry \`$0 --help' for more information." 112716910e25Smrg ;; 112816910e25Smrg 112916910e25Smrg *=*) 113016910e25Smrg ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 113116910e25Smrg # Reject names that are not valid shell variable names. 11329c125d91Smrg case $ac_envvar in #( 11339c125d91Smrg '' | [0-9]* | *[!_$as_cr_alnum]* ) 11349c125d91Smrg as_fn_error "invalid variable name: \`$ac_envvar'" ;; 11359c125d91Smrg esac 11369c125d91Smrg eval $ac_envvar=\$ac_optarg 113716910e25Smrg export $ac_envvar ;; 113816910e25Smrg 113916910e25Smrg *) 114016910e25Smrg # FIXME: should be removed in autoconf 3.0. 11419c125d91Smrg $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 114216910e25Smrg expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 11439c125d91Smrg $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 114416910e25Smrg : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 114516910e25Smrg ;; 114616910e25Smrg 114716910e25Smrg esac 114816910e25Smrgdone 114916910e25Smrg 115016910e25Smrgif test -n "$ac_prev"; then 115116910e25Smrg ac_option=--`echo $ac_prev | sed 's/_/-/g'` 11529c125d91Smrg as_fn_error "missing argument to $ac_option" 115316910e25Smrgfi 115416910e25Smrg 11559c125d91Smrgif test -n "$ac_unrecognized_opts"; then 11569c125d91Smrg case $enable_option_checking in 11579c125d91Smrg no) ;; 11589c125d91Smrg fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 11599c125d91Smrg *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 116016910e25Smrg esac 11619c125d91Smrgfi 116216910e25Smrg 11639c125d91Smrg# Check all directory arguments for consistency. 11649c125d91Smrgfor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 11659c125d91Smrg datadir sysconfdir sharedstatedir localstatedir includedir \ 11669c125d91Smrg oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 11679c125d91Smrg libdir localedir mandir 116816910e25Smrgdo 11699c125d91Smrg eval ac_val=\$$ac_var 11709c125d91Smrg # Remove trailing slashes. 117116910e25Smrg case $ac_val in 11729c125d91Smrg */ ) 11739c125d91Smrg ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 11749c125d91Smrg eval $ac_var=\$ac_val;; 117516910e25Smrg esac 11769c125d91Smrg # Be sure to have absolute directory names. 11779c125d91Smrg case $ac_val in 11789c125d91Smrg [\\/$]* | ?:[\\/]* ) continue;; 11799c125d91Smrg NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 11809c125d91Smrg esac 11819c125d91Smrg as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 118216910e25Smrgdone 118316910e25Smrg 118416910e25Smrg# There might be people who depend on the old broken behavior: `$host' 118516910e25Smrg# used to hold the argument of --host etc. 118616910e25Smrg# FIXME: To remove some day. 118716910e25Smrgbuild=$build_alias 118816910e25Smrghost=$host_alias 118916910e25Smrgtarget=$target_alias 119016910e25Smrg 119116910e25Smrg# FIXME: To remove some day. 119216910e25Smrgif test "x$host_alias" != x; then 119316910e25Smrg if test "x$build_alias" = x; then 119416910e25Smrg cross_compiling=maybe 11959c125d91Smrg $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 119616910e25Smrg If a cross compiler is detected then cross compile mode will be used." >&2 119716910e25Smrg elif test "x$build_alias" != "x$host_alias"; then 119816910e25Smrg cross_compiling=yes 119916910e25Smrg fi 120016910e25Smrgfi 120116910e25Smrg 120216910e25Smrgac_tool_prefix= 120316910e25Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias- 120416910e25Smrg 120516910e25Smrgtest "$silent" = yes && exec 6>/dev/null 120616910e25Smrg 120716910e25Smrg 12089c125d91Smrgac_pwd=`pwd` && test -n "$ac_pwd" && 12099c125d91Smrgac_ls_di=`ls -di .` && 12109c125d91Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 12119c125d91Smrg as_fn_error "working directory cannot be determined" 12129c125d91Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" || 12139c125d91Smrg as_fn_error "pwd does not report name of working directory" 12149c125d91Smrg 12159c125d91Smrg 121616910e25Smrg# Find the source files, if location was not specified. 121716910e25Smrgif test -z "$srcdir"; then 121816910e25Smrg ac_srcdir_defaulted=yes 12199c125d91Smrg # Try the directory containing this script, then the parent directory. 12209c125d91Smrg ac_confdir=`$as_dirname -- "$as_myself" || 12219c125d91Smrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12229c125d91Smrg X"$as_myself" : 'X\(//\)[^/]' \| \ 12239c125d91Smrg X"$as_myself" : 'X\(//\)$' \| \ 12249c125d91Smrg X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 12259c125d91Smrg$as_echo X"$as_myself" | 12269c125d91Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12279c125d91Smrg s//\1/ 12289c125d91Smrg q 12299c125d91Smrg } 12309c125d91Smrg /^X\(\/\/\)[^/].*/{ 12319c125d91Smrg s//\1/ 12329c125d91Smrg q 12339c125d91Smrg } 12349c125d91Smrg /^X\(\/\/\)$/{ 12359c125d91Smrg s//\1/ 12369c125d91Smrg q 12379c125d91Smrg } 12389c125d91Smrg /^X\(\/\).*/{ 12399c125d91Smrg s//\1/ 12409c125d91Smrg q 12419c125d91Smrg } 12429c125d91Smrg s/.*/./; q'` 124316910e25Smrg srcdir=$ac_confdir 12449c125d91Smrg if test ! -r "$srcdir/$ac_unique_file"; then 124516910e25Smrg srcdir=.. 124616910e25Smrg fi 124716910e25Smrgelse 124816910e25Smrg ac_srcdir_defaulted=no 124916910e25Smrgfi 12509c125d91Smrgif test ! -r "$srcdir/$ac_unique_file"; then 12519c125d91Smrg test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 12529c125d91Smrg as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 12539c125d91Smrgfi 12549c125d91Smrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 12559c125d91Smrgac_abs_confdir=`( 12569c125d91Smrg cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 12579c125d91Smrg pwd)` 12589c125d91Smrg# When building in place, set srcdir=. 12599c125d91Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then 12609c125d91Smrg srcdir=. 12619c125d91Smrgfi 12629c125d91Smrg# Remove unnecessary trailing slashes from srcdir. 12639c125d91Smrg# Double slashes in file names in object file debugging info 12649c125d91Smrg# mess up M-x gdb in Emacs. 12659c125d91Smrgcase $srcdir in 12669c125d91Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 12679c125d91Smrgesac 12689c125d91Smrgfor ac_var in $ac_precious_vars; do 12699c125d91Smrg eval ac_env_${ac_var}_set=\${${ac_var}+set} 12709c125d91Smrg eval ac_env_${ac_var}_value=\$${ac_var} 12719c125d91Smrg eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 12729c125d91Smrg eval ac_cv_env_${ac_var}_value=\$${ac_var} 12739c125d91Smrgdone 127416910e25Smrg 127516910e25Smrg# 127616910e25Smrg# Report the --help message. 127716910e25Smrg# 127816910e25Smrgif test "$ac_init_help" = "long"; then 127916910e25Smrg # Omit some internal or obsolete options to make the list less imposing. 128016910e25Smrg # This message is too long to be a string in the A/UX 3.1 sh. 128116910e25Smrg cat <<_ACEOF 12829c125d91Smrg\`configure' configures xmore 1.0.2 to adapt to many kinds of systems. 128316910e25Smrg 128416910e25SmrgUsage: $0 [OPTION]... [VAR=VALUE]... 128516910e25Smrg 128616910e25SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as 128716910e25SmrgVAR=VALUE. See below for descriptions of some of the useful variables. 128816910e25Smrg 128916910e25SmrgDefaults for the options are specified in brackets. 129016910e25Smrg 129116910e25SmrgConfiguration: 129216910e25Smrg -h, --help display this help and exit 129316910e25Smrg --help=short display options specific to this package 129416910e25Smrg --help=recursive display the short help of all the included packages 129516910e25Smrg -V, --version display version information and exit 129616910e25Smrg -q, --quiet, --silent do not print \`checking...' messages 129716910e25Smrg --cache-file=FILE cache test results in FILE [disabled] 129816910e25Smrg -C, --config-cache alias for \`--cache-file=config.cache' 129916910e25Smrg -n, --no-create do not create output files 130016910e25Smrg --srcdir=DIR find the sources in DIR [configure dir or \`..'] 130116910e25Smrg 130216910e25SmrgInstallation directories: 130316910e25Smrg --prefix=PREFIX install architecture-independent files in PREFIX 13049c125d91Smrg [$ac_default_prefix] 130516910e25Smrg --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 13069c125d91Smrg [PREFIX] 130716910e25Smrg 130816910e25SmrgBy default, \`make install' will install all the files in 130916910e25Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 131016910e25Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix', 131116910e25Smrgfor instance \`--prefix=\$HOME'. 131216910e25Smrg 131316910e25SmrgFor better control, use the options below. 131416910e25Smrg 131516910e25SmrgFine tuning of the installation directories: 13169c125d91Smrg --bindir=DIR user executables [EPREFIX/bin] 13179c125d91Smrg --sbindir=DIR system admin executables [EPREFIX/sbin] 13189c125d91Smrg --libexecdir=DIR program executables [EPREFIX/libexec] 13199c125d91Smrg --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 13209c125d91Smrg --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 13219c125d91Smrg --localstatedir=DIR modifiable single-machine data [PREFIX/var] 13229c125d91Smrg --libdir=DIR object code libraries [EPREFIX/lib] 13239c125d91Smrg --includedir=DIR C header files [PREFIX/include] 13249c125d91Smrg --oldincludedir=DIR C header files for non-gcc [/usr/include] 13259c125d91Smrg --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 13269c125d91Smrg --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 13279c125d91Smrg --infodir=DIR info documentation [DATAROOTDIR/info] 13289c125d91Smrg --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 13299c125d91Smrg --mandir=DIR man documentation [DATAROOTDIR/man] 13309c125d91Smrg --docdir=DIR documentation root [DATAROOTDIR/doc/xmore] 13319c125d91Smrg --htmldir=DIR html documentation [DOCDIR] 13329c125d91Smrg --dvidir=DIR dvi documentation [DOCDIR] 13339c125d91Smrg --pdfdir=DIR pdf documentation [DOCDIR] 13349c125d91Smrg --psdir=DIR ps documentation [DOCDIR] 133516910e25Smrg_ACEOF 133616910e25Smrg 133716910e25Smrg cat <<\_ACEOF 133816910e25Smrg 133916910e25SmrgProgram names: 134016910e25Smrg --program-prefix=PREFIX prepend PREFIX to installed program names 134116910e25Smrg --program-suffix=SUFFIX append SUFFIX to installed program names 134216910e25Smrg --program-transform-name=PROGRAM run sed PROGRAM on installed program names 134316910e25Smrg 134416910e25SmrgSystem types: 134516910e25Smrg --build=BUILD configure for building on BUILD [guessed] 134616910e25Smrg --host=HOST cross-compile to build programs to run on HOST [BUILD] 134716910e25Smrg_ACEOF 134816910e25Smrgfi 134916910e25Smrg 135016910e25Smrgif test -n "$ac_init_help"; then 135116910e25Smrg case $ac_init_help in 13529c125d91Smrg short | recursive ) echo "Configuration of xmore 1.0.2:";; 135316910e25Smrg esac 135416910e25Smrg cat <<\_ACEOF 135516910e25Smrg 135616910e25SmrgOptional Features: 13579c125d91Smrg --disable-option-checking ignore unrecognized --enable/--with options 135816910e25Smrg --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 135916910e25Smrg --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 13609c125d91Smrg --enable-maintainer-mode enable make rules and dependencies not useful 13619c125d91Smrg (and sometimes confusing) to the casual installer 13629c125d91Smrg --disable-dependency-tracking speeds up one-time build 13639c125d91Smrg --enable-dependency-tracking do not reject slow dependency extractors 13649c125d91Smrg --enable-strict-compilation 13659c125d91Smrg Enable all warnings from compiler and make them 13669c125d91Smrg errors (default: disabled) 13679c125d91Smrg --enable-silent-rules less verbose build output (undo: `make V=1') 13689c125d91Smrg --disable-silent-rules verbose build output (undo: `make V=0') 136916910e25Smrg 137016910e25SmrgOptional Packages: 137116910e25Smrg --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 137216910e25Smrg --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 13739c125d91Smrg --with-appdefaultdir=<pathname> 13749c125d91Smrg specify directory for app-defaults files (default is 13759c125d91Smrg autodetected) 137616910e25Smrg 137716910e25SmrgSome influential environment variables: 137816910e25Smrg CC C compiler command 137916910e25Smrg CFLAGS C compiler flags 138016910e25Smrg LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 138116910e25Smrg nonstandard directory <lib dir> 13829c125d91Smrg LIBS libraries to pass to the linker, e.g. -l<library> 13839c125d91Smrg CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 13849c125d91Smrg you have headers in a nonstandard directory <include dir> 13859c125d91Smrg CPP C preprocessor 138616910e25Smrg PKG_CONFIG path to pkg-config utility 13879c125d91Smrg XMORE_CFLAGS 13889c125d91Smrg C compiler flags for XMORE, overriding pkg-config 13899c125d91Smrg XMORE_LIBS linker flags for XMORE, overriding pkg-config 139016910e25Smrg APPDEFS_CFLAGS 139116910e25Smrg C compiler flags for APPDEFS, overriding pkg-config 139216910e25Smrg APPDEFS_LIBS 139316910e25Smrg linker flags for APPDEFS, overriding pkg-config 139416910e25Smrg 139516910e25SmrgUse these variables to override the choices made by `configure' or to help 139616910e25Smrgit to find libraries and programs with nonstandard names/locations. 139716910e25Smrg 139816910e25SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 139916910e25Smrg_ACEOF 14009c125d91Smrgac_status=$? 140116910e25Smrgfi 140216910e25Smrg 140316910e25Smrgif test "$ac_init_help" = "recursive"; then 140416910e25Smrg # If there are subdirs, report their specific --help. 140516910e25Smrg for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 14069c125d91Smrg test -d "$ac_dir" || 14079c125d91Smrg { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 14089c125d91Smrg continue 140916910e25Smrg ac_builddir=. 141016910e25Smrg 14119c125d91Smrgcase "$ac_dir" in 14129c125d91Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 14139c125d91Smrg*) 14149c125d91Smrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 14159c125d91Smrg # A ".." for each directory in $ac_dir_suffix. 14169c125d91Smrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 14179c125d91Smrg case $ac_top_builddir_sub in 14189c125d91Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 14199c125d91Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 14209c125d91Smrg esac ;; 14219c125d91Smrgesac 14229c125d91Smrgac_abs_top_builddir=$ac_pwd 14239c125d91Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 14249c125d91Smrg# for backward compatibility: 14259c125d91Smrgac_top_builddir=$ac_top_build_prefix 142616910e25Smrg 142716910e25Smrgcase $srcdir in 14289c125d91Smrg .) # We are building in place. 142916910e25Smrg ac_srcdir=. 14309c125d91Smrg ac_top_srcdir=$ac_top_builddir_sub 14319c125d91Smrg ac_abs_top_srcdir=$ac_pwd ;; 14329c125d91Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 143316910e25Smrg ac_srcdir=$srcdir$ac_dir_suffix; 14349c125d91Smrg ac_top_srcdir=$srcdir 14359c125d91Smrg ac_abs_top_srcdir=$srcdir ;; 14369c125d91Smrg *) # Relative name. 14379c125d91Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 14389c125d91Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 14399c125d91Smrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 144016910e25Smrgesac 14419c125d91Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 14429c125d91Smrg 14439c125d91Smrg cd "$ac_dir" || { ac_status=$?; continue; } 14449c125d91Smrg # Check for guested configure. 14459c125d91Smrg if test -f "$ac_srcdir/configure.gnu"; then 14469c125d91Smrg echo && 14479c125d91Smrg $SHELL "$ac_srcdir/configure.gnu" --help=recursive 14489c125d91Smrg elif test -f "$ac_srcdir/configure"; then 14499c125d91Smrg echo && 14509c125d91Smrg $SHELL "$ac_srcdir/configure" --help=recursive 145116910e25Smrg else 14529c125d91Smrg $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 14539c125d91Smrg fi || ac_status=$? 14549c125d91Smrg cd "$ac_pwd" || { ac_status=$?; break; } 145516910e25Smrg done 145616910e25Smrgfi 145716910e25Smrg 14589c125d91Smrgtest -n "$ac_init_help" && exit $ac_status 145916910e25Smrgif $ac_init_version; then 146016910e25Smrg cat <<\_ACEOF 14619c125d91Smrgxmore configure 1.0.2 14629c125d91Smrggenerated by GNU Autoconf 2.65 146316910e25Smrg 14649c125d91SmrgCopyright (C) 2009 Free Software Foundation, Inc. 146516910e25SmrgThis configure script is free software; the Free Software Foundation 146616910e25Smrggives unlimited permission to copy, distribute and modify it. 146716910e25Smrg_ACEOF 14689c125d91Smrg exit 146916910e25Smrgfi 147016910e25Smrg 14719c125d91Smrg## ------------------------ ## 14729c125d91Smrg## Autoconf initialization. ## 14739c125d91Smrg## ------------------------ ## 147416910e25Smrg 14759c125d91Smrg# ac_fn_c_try_compile LINENO 14769c125d91Smrg# -------------------------- 14779c125d91Smrg# Try to compile conftest.$ac_ext, and return whether this succeeded. 14789c125d91Smrgac_fn_c_try_compile () 147916910e25Smrg{ 14809c125d91Smrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 14819c125d91Smrg rm -f conftest.$ac_objext 14829c125d91Smrg if { { ac_try="$ac_compile" 14839c125d91Smrgcase "(($ac_try" in 14849c125d91Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14859c125d91Smrg *) ac_try_echo=$ac_try;; 14869c125d91Smrgesac 14879c125d91Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 14889c125d91Smrg$as_echo "$ac_try_echo"; } >&5 14899c125d91Smrg (eval "$ac_compile") 2>conftest.err 14909c125d91Smrg ac_status=$? 14919c125d91Smrg if test -s conftest.err; then 14929c125d91Smrg grep -v '^ *+' conftest.err >conftest.er1 14939c125d91Smrg cat conftest.er1 >&5 14949c125d91Smrg mv -f conftest.er1 conftest.err 14959c125d91Smrg fi 14969c125d91Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14979c125d91Smrg test $ac_status = 0; } && { 14989c125d91Smrg test -z "$ac_c_werror_flag" || 14999c125d91Smrg test ! -s conftest.err 15009c125d91Smrg } && test -s conftest.$ac_objext; then : 15019c125d91Smrg ac_retval=0 15029c125d91Smrgelse 15039c125d91Smrg $as_echo "$as_me: failed program was:" >&5 15049c125d91Smrgsed 's/^/| /' conftest.$ac_ext >&5 150516910e25Smrg 15069c125d91Smrg ac_retval=1 15079c125d91Smrgfi 15089c125d91Smrg eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 15099c125d91Smrg as_fn_set_status $ac_retval 151016910e25Smrg 15119c125d91Smrg} # ac_fn_c_try_compile 151216910e25Smrg 15139c125d91Smrg# ac_fn_c_check_decl LINENO SYMBOL VAR 15149c125d91Smrg# ------------------------------------ 15159c125d91Smrg# Tests whether SYMBOL is declared, setting cache variable VAR accordingly. 15169c125d91Smrgac_fn_c_check_decl () 15179c125d91Smrg{ 15189c125d91Smrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 15199c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 15209c125d91Smrg$as_echo_n "checking whether $2 is declared... " >&6; } 15219c125d91Smrgif { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 15229c125d91Smrg $as_echo_n "(cached) " >&6 15239c125d91Smrgelse 15249c125d91Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15259c125d91Smrg/* end confdefs.h. */ 15269c125d91Smrg$4 15279c125d91Smrgint 15289c125d91Smrgmain () 15299c125d91Smrg{ 15309c125d91Smrg#ifndef $2 15319c125d91Smrg (void) $2; 15329c125d91Smrg#endif 153316910e25Smrg 15349c125d91Smrg ; 15359c125d91Smrg return 0; 15369c125d91Smrg} 15379c125d91Smrg_ACEOF 15389c125d91Smrgif ac_fn_c_try_compile "$LINENO"; then : 15399c125d91Smrg eval "$3=yes" 15409c125d91Smrgelse 15419c125d91Smrg eval "$3=no" 15429c125d91Smrgfi 15439c125d91Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15449c125d91Smrgfi 15459c125d91Smrgeval ac_res=\$$3 15469c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 15479c125d91Smrg$as_echo "$ac_res" >&6; } 15489c125d91Smrg eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 154916910e25Smrg 15509c125d91Smrg} # ac_fn_c_check_decl 15519c125d91Smrg 15529c125d91Smrg# ac_fn_c_try_cpp LINENO 15539c125d91Smrg# ---------------------- 15549c125d91Smrg# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 15559c125d91Smrgac_fn_c_try_cpp () 15569c125d91Smrg{ 15579c125d91Smrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 15589c125d91Smrg if { { ac_try="$ac_cpp conftest.$ac_ext" 15599c125d91Smrgcase "(($ac_try" in 15609c125d91Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15619c125d91Smrg *) ac_try_echo=$ac_try;; 15629c125d91Smrgesac 15639c125d91Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 15649c125d91Smrg$as_echo "$ac_try_echo"; } >&5 15659c125d91Smrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 15669c125d91Smrg ac_status=$? 15679c125d91Smrg if test -s conftest.err; then 15689c125d91Smrg grep -v '^ *+' conftest.err >conftest.er1 15699c125d91Smrg cat conftest.er1 >&5 15709c125d91Smrg mv -f conftest.er1 conftest.err 15719c125d91Smrg fi 15729c125d91Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15739c125d91Smrg test $ac_status = 0; } >/dev/null && { 15749c125d91Smrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 15759c125d91Smrg test ! -s conftest.err 15769c125d91Smrg }; then : 15779c125d91Smrg ac_retval=0 15789c125d91Smrgelse 15799c125d91Smrg $as_echo "$as_me: failed program was:" >&5 15809c125d91Smrgsed 's/^/| /' conftest.$ac_ext >&5 15819c125d91Smrg 15829c125d91Smrg ac_retval=1 15839c125d91Smrgfi 15849c125d91Smrg eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 15859c125d91Smrg as_fn_set_status $ac_retval 15869c125d91Smrg 15879c125d91Smrg} # ac_fn_c_try_cpp 15889c125d91Smrg 15899c125d91Smrg# ac_fn_c_try_run LINENO 15909c125d91Smrg# ---------------------- 15919c125d91Smrg# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 15929c125d91Smrg# that executables *can* be run. 15939c125d91Smrgac_fn_c_try_run () 15949c125d91Smrg{ 15959c125d91Smrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 15969c125d91Smrg if { { ac_try="$ac_link" 15979c125d91Smrgcase "(($ac_try" in 15989c125d91Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15999c125d91Smrg *) ac_try_echo=$ac_try;; 16009c125d91Smrgesac 16019c125d91Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 16029c125d91Smrg$as_echo "$ac_try_echo"; } >&5 16039c125d91Smrg (eval "$ac_link") 2>&5 16049c125d91Smrg ac_status=$? 16059c125d91Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16069c125d91Smrg test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 16079c125d91Smrg { { case "(($ac_try" in 16089c125d91Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16099c125d91Smrg *) ac_try_echo=$ac_try;; 16109c125d91Smrgesac 16119c125d91Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 16129c125d91Smrg$as_echo "$ac_try_echo"; } >&5 16139c125d91Smrg (eval "$ac_try") 2>&5 16149c125d91Smrg ac_status=$? 16159c125d91Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16169c125d91Smrg test $ac_status = 0; }; }; then : 16179c125d91Smrg ac_retval=0 16189c125d91Smrgelse 16199c125d91Smrg $as_echo "$as_me: program exited with status $ac_status" >&5 16209c125d91Smrg $as_echo "$as_me: failed program was:" >&5 16219c125d91Smrgsed 's/^/| /' conftest.$ac_ext >&5 16229c125d91Smrg 16239c125d91Smrg ac_retval=$ac_status 16249c125d91Smrgfi 16259c125d91Smrg rm -rf conftest.dSYM conftest_ipa8_conftest.oo 16269c125d91Smrg eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 16279c125d91Smrg as_fn_set_status $ac_retval 16289c125d91Smrg 16299c125d91Smrg} # ac_fn_c_try_run 16309c125d91Smrg 16319c125d91Smrg# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 16329c125d91Smrg# ------------------------------------------------------- 16339c125d91Smrg# Tests whether HEADER exists and can be compiled using the include files in 16349c125d91Smrg# INCLUDES, setting the cache variable VAR accordingly. 16359c125d91Smrgac_fn_c_check_header_compile () 16369c125d91Smrg{ 16379c125d91Smrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 16389c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 16399c125d91Smrg$as_echo_n "checking for $2... " >&6; } 16409c125d91Smrgif { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 16419c125d91Smrg $as_echo_n "(cached) " >&6 16429c125d91Smrgelse 16439c125d91Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16449c125d91Smrg/* end confdefs.h. */ 16459c125d91Smrg$4 16469c125d91Smrg#include <$2> 16479c125d91Smrg_ACEOF 16489c125d91Smrgif ac_fn_c_try_compile "$LINENO"; then : 16499c125d91Smrg eval "$3=yes" 16509c125d91Smrgelse 16519c125d91Smrg eval "$3=no" 16529c125d91Smrgfi 16539c125d91Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16549c125d91Smrgfi 16559c125d91Smrgeval ac_res=\$$3 16569c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 16579c125d91Smrg$as_echo "$ac_res" >&6; } 16589c125d91Smrg eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 16599c125d91Smrg 16609c125d91Smrg} # ac_fn_c_check_header_compile 16619c125d91Smrgcat >config.log <<_ACEOF 16629c125d91SmrgThis file contains any messages produced by compilers while 16639c125d91Smrgrunning configure, to aid debugging if configure makes a mistake. 16649c125d91Smrg 16659c125d91SmrgIt was created by xmore $as_me 1.0.2, which was 16669c125d91Smrggenerated by GNU Autoconf 2.65. Invocation command line was 16679c125d91Smrg 16689c125d91Smrg $ $0 $@ 16699c125d91Smrg 16709c125d91Smrg_ACEOF 16719c125d91Smrgexec 5>>config.log 16729c125d91Smrg{ 16739c125d91Smrgcat <<_ASUNAME 16749c125d91Smrg## --------- ## 16759c125d91Smrg## Platform. ## 16769c125d91Smrg## --------- ## 16779c125d91Smrg 16789c125d91Smrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 16799c125d91Smrguname -m = `(uname -m) 2>/dev/null || echo unknown` 16809c125d91Smrguname -r = `(uname -r) 2>/dev/null || echo unknown` 16819c125d91Smrguname -s = `(uname -s) 2>/dev/null || echo unknown` 16829c125d91Smrguname -v = `(uname -v) 2>/dev/null || echo unknown` 16839c125d91Smrg 16849c125d91Smrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 16859c125d91Smrg/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 16869c125d91Smrg 16879c125d91Smrg/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 16889c125d91Smrg/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 16899c125d91Smrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 16909c125d91Smrg/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 16919c125d91Smrg/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 16929c125d91Smrg/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 16939c125d91Smrg/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 16949c125d91Smrg 16959c125d91Smrg_ASUNAME 16969c125d91Smrg 16979c125d91Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16989c125d91Smrgfor as_dir in $PATH 16999c125d91Smrgdo 17009c125d91Smrg IFS=$as_save_IFS 170116910e25Smrg test -z "$as_dir" && as_dir=. 17029c125d91Smrg $as_echo "PATH: $as_dir" 17039c125d91Smrg done 17049c125d91SmrgIFS=$as_save_IFS 170516910e25Smrg 170616910e25Smrg} >&5 170716910e25Smrg 170816910e25Smrgcat >&5 <<_ACEOF 170916910e25Smrg 171016910e25Smrg 171116910e25Smrg## ----------- ## 171216910e25Smrg## Core tests. ## 171316910e25Smrg## ----------- ## 171416910e25Smrg 171516910e25Smrg_ACEOF 171616910e25Smrg 171716910e25Smrg 171816910e25Smrg# Keep a trace of the command line. 171916910e25Smrg# Strip out --no-create and --no-recursion so they do not pile up. 172016910e25Smrg# Strip out --silent because we don't want to record it for future runs. 172116910e25Smrg# Also quote any args containing shell meta-characters. 172216910e25Smrg# Make two passes to allow for proper duplicate-argument suppression. 172316910e25Smrgac_configure_args= 172416910e25Smrgac_configure_args0= 172516910e25Smrgac_configure_args1= 172616910e25Smrgac_must_keep_next=false 172716910e25Smrgfor ac_pass in 1 2 172816910e25Smrgdo 172916910e25Smrg for ac_arg 173016910e25Smrg do 173116910e25Smrg case $ac_arg in 173216910e25Smrg -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 173316910e25Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 173416910e25Smrg | -silent | --silent | --silen | --sile | --sil) 173516910e25Smrg continue ;; 17369c125d91Smrg *\'*) 17379c125d91Smrg ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 173816910e25Smrg esac 173916910e25Smrg case $ac_pass in 17409c125d91Smrg 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 174116910e25Smrg 2) 17429c125d91Smrg as_fn_append ac_configure_args1 " '$ac_arg'" 174316910e25Smrg if test $ac_must_keep_next = true; then 174416910e25Smrg ac_must_keep_next=false # Got value, back to normal. 174516910e25Smrg else 174616910e25Smrg case $ac_arg in 174716910e25Smrg *=* | --config-cache | -C | -disable-* | --disable-* \ 174816910e25Smrg | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 174916910e25Smrg | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 175016910e25Smrg | -with-* | --with-* | -without-* | --without-* | --x) 175116910e25Smrg case "$ac_configure_args0 " in 175216910e25Smrg "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 175316910e25Smrg esac 175416910e25Smrg ;; 175516910e25Smrg -* ) ac_must_keep_next=true ;; 175616910e25Smrg esac 175716910e25Smrg fi 17589c125d91Smrg as_fn_append ac_configure_args " '$ac_arg'" 175916910e25Smrg ;; 176016910e25Smrg esac 176116910e25Smrg done 176216910e25Smrgdone 17639c125d91Smrg{ ac_configure_args0=; unset ac_configure_args0;} 17649c125d91Smrg{ ac_configure_args1=; unset ac_configure_args1;} 176516910e25Smrg 176616910e25Smrg# When interrupted or exit'd, cleanup temporary files, and complete 176716910e25Smrg# config.log. We remove comments because anyway the quotes in there 176816910e25Smrg# would cause problems or look ugly. 17699c125d91Smrg# WARNING: Use '\'' to represent an apostrophe within the trap. 17709c125d91Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 177116910e25Smrgtrap 'exit_status=$? 177216910e25Smrg # Save into config.log some information that might help in debugging. 177316910e25Smrg { 177416910e25Smrg echo 177516910e25Smrg 177616910e25Smrg cat <<\_ASBOX 177716910e25Smrg## ---------------- ## 177816910e25Smrg## Cache variables. ## 177916910e25Smrg## ---------------- ## 178016910e25Smrg_ASBOX 178116910e25Smrg echo 178216910e25Smrg # The following way of writing the cache mishandles newlines in values, 17839c125d91Smrg( 17849c125d91Smrg for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 17859c125d91Smrg eval ac_val=\$$ac_var 17869c125d91Smrg case $ac_val in #( 17879c125d91Smrg *${as_nl}*) 17889c125d91Smrg case $ac_var in #( 17899c125d91Smrg *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 17909c125d91Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 17919c125d91Smrg esac 17929c125d91Smrg case $ac_var in #( 17939c125d91Smrg _ | IFS | as_nl) ;; #( 17949c125d91Smrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 17959c125d91Smrg *) { eval $ac_var=; unset $ac_var;} ;; 17969c125d91Smrg esac ;; 17979c125d91Smrg esac 17989c125d91Smrg done 179916910e25Smrg (set) 2>&1 | 18009c125d91Smrg case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 18019c125d91Smrg *${as_nl}ac_space=\ *) 180216910e25Smrg sed -n \ 18039c125d91Smrg "s/'\''/'\''\\\\'\'''\''/g; 18049c125d91Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 18059c125d91Smrg ;; #( 180616910e25Smrg *) 18079c125d91Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 180816910e25Smrg ;; 18099c125d91Smrg esac | 18109c125d91Smrg sort 18119c125d91Smrg) 181216910e25Smrg echo 181316910e25Smrg 181416910e25Smrg cat <<\_ASBOX 181516910e25Smrg## ----------------- ## 181616910e25Smrg## Output variables. ## 181716910e25Smrg## ----------------- ## 181816910e25Smrg_ASBOX 181916910e25Smrg echo 182016910e25Smrg for ac_var in $ac_subst_vars 182116910e25Smrg do 18229c125d91Smrg eval ac_val=\$$ac_var 18239c125d91Smrg case $ac_val in 18249c125d91Smrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 18259c125d91Smrg esac 18269c125d91Smrg $as_echo "$ac_var='\''$ac_val'\''" 182716910e25Smrg done | sort 182816910e25Smrg echo 182916910e25Smrg 183016910e25Smrg if test -n "$ac_subst_files"; then 183116910e25Smrg cat <<\_ASBOX 18329c125d91Smrg## ------------------- ## 18339c125d91Smrg## File substitutions. ## 18349c125d91Smrg## ------------------- ## 183516910e25Smrg_ASBOX 183616910e25Smrg echo 183716910e25Smrg for ac_var in $ac_subst_files 183816910e25Smrg do 18399c125d91Smrg eval ac_val=\$$ac_var 18409c125d91Smrg case $ac_val in 18419c125d91Smrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 18429c125d91Smrg esac 18439c125d91Smrg $as_echo "$ac_var='\''$ac_val'\''" 184416910e25Smrg done | sort 184516910e25Smrg echo 184616910e25Smrg fi 184716910e25Smrg 184816910e25Smrg if test -s confdefs.h; then 184916910e25Smrg cat <<\_ASBOX 185016910e25Smrg## ----------- ## 185116910e25Smrg## confdefs.h. ## 185216910e25Smrg## ----------- ## 185316910e25Smrg_ASBOX 185416910e25Smrg echo 18559c125d91Smrg cat confdefs.h 185616910e25Smrg echo 185716910e25Smrg fi 185816910e25Smrg test "$ac_signal" != 0 && 18599c125d91Smrg $as_echo "$as_me: caught signal $ac_signal" 18609c125d91Smrg $as_echo "$as_me: exit $exit_status" 186116910e25Smrg } >&5 18629c125d91Smrg rm -f core *.core core.conftest.* && 18639c125d91Smrg rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 186416910e25Smrg exit $exit_status 18659c125d91Smrg' 0 186616910e25Smrgfor ac_signal in 1 2 13 15; do 18679c125d91Smrg trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 186816910e25Smrgdone 186916910e25Smrgac_signal=0 187016910e25Smrg 187116910e25Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed. 18729c125d91Smrgrm -f -r conftest* confdefs.h 18739c125d91Smrg 18749c125d91Smrg$as_echo "/* confdefs.h */" > confdefs.h 187516910e25Smrg 187616910e25Smrg# Predefined preprocessor variables. 187716910e25Smrg 187816910e25Smrgcat >>confdefs.h <<_ACEOF 187916910e25Smrg#define PACKAGE_NAME "$PACKAGE_NAME" 188016910e25Smrg_ACEOF 188116910e25Smrg 188216910e25Smrgcat >>confdefs.h <<_ACEOF 188316910e25Smrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 188416910e25Smrg_ACEOF 188516910e25Smrg 188616910e25Smrgcat >>confdefs.h <<_ACEOF 188716910e25Smrg#define PACKAGE_VERSION "$PACKAGE_VERSION" 188816910e25Smrg_ACEOF 188916910e25Smrg 189016910e25Smrgcat >>confdefs.h <<_ACEOF 189116910e25Smrg#define PACKAGE_STRING "$PACKAGE_STRING" 189216910e25Smrg_ACEOF 189316910e25Smrg 189416910e25Smrgcat >>confdefs.h <<_ACEOF 189516910e25Smrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 189616910e25Smrg_ACEOF 189716910e25Smrg 18989c125d91Smrgcat >>confdefs.h <<_ACEOF 18999c125d91Smrg#define PACKAGE_URL "$PACKAGE_URL" 19009c125d91Smrg_ACEOF 19019c125d91Smrg 190216910e25Smrg 190316910e25Smrg# Let the site file select an alternate cache file if it wants to. 19049c125d91Smrg# Prefer an explicitly selected file to automatically selected ones. 19059c125d91Smrgac_site_file1=NONE 19069c125d91Smrgac_site_file2=NONE 19079c125d91Smrgif test -n "$CONFIG_SITE"; then 19089c125d91Smrg ac_site_file1=$CONFIG_SITE 19099c125d91Smrgelif test "x$prefix" != xNONE; then 19109c125d91Smrg ac_site_file1=$prefix/share/config.site 19119c125d91Smrg ac_site_file2=$prefix/etc/config.site 19129c125d91Smrgelse 19139c125d91Smrg ac_site_file1=$ac_default_prefix/share/config.site 19149c125d91Smrg ac_site_file2=$ac_default_prefix/etc/config.site 191516910e25Smrgfi 19169c125d91Smrgfor ac_site_file in "$ac_site_file1" "$ac_site_file2" 19179c125d91Smrgdo 19189c125d91Smrg test "x$ac_site_file" = xNONE && continue 19199c125d91Smrg if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 19209c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 19219c125d91Smrg$as_echo "$as_me: loading site script $ac_site_file" >&6;} 192216910e25Smrg sed 's/^/| /' "$ac_site_file" >&5 192316910e25Smrg . "$ac_site_file" 192416910e25Smrg fi 192516910e25Smrgdone 192616910e25Smrg 192716910e25Smrgif test -r "$cache_file"; then 19289c125d91Smrg # Some versions of bash will fail to source /dev/null (special files 19299c125d91Smrg # actually), so we avoid doing that. DJGPP emulates it as a regular file. 19309c125d91Smrg if test /dev/null != "$cache_file" && test -f "$cache_file"; then 19319c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 19329c125d91Smrg$as_echo "$as_me: loading cache $cache_file" >&6;} 193316910e25Smrg case $cache_file in 19349c125d91Smrg [\\/]* | ?:[\\/]* ) . "$cache_file";; 19359c125d91Smrg *) . "./$cache_file";; 193616910e25Smrg esac 193716910e25Smrg fi 193816910e25Smrgelse 19399c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 19409c125d91Smrg$as_echo "$as_me: creating cache $cache_file" >&6;} 194116910e25Smrg >$cache_file 194216910e25Smrgfi 194316910e25Smrg 194416910e25Smrg# Check that the precious variables saved in the cache have kept the same 194516910e25Smrg# value. 194616910e25Smrgac_cache_corrupted=false 19479c125d91Smrgfor ac_var in $ac_precious_vars; do 194816910e25Smrg eval ac_old_set=\$ac_cv_env_${ac_var}_set 194916910e25Smrg eval ac_new_set=\$ac_env_${ac_var}_set 19509c125d91Smrg eval ac_old_val=\$ac_cv_env_${ac_var}_value 19519c125d91Smrg eval ac_new_val=\$ac_env_${ac_var}_value 195216910e25Smrg case $ac_old_set,$ac_new_set in 195316910e25Smrg set,) 19549c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 19559c125d91Smrg$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 195616910e25Smrg ac_cache_corrupted=: ;; 195716910e25Smrg ,set) 19589c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 19599c125d91Smrg$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 196016910e25Smrg ac_cache_corrupted=: ;; 196116910e25Smrg ,);; 196216910e25Smrg *) 196316910e25Smrg if test "x$ac_old_val" != "x$ac_new_val"; then 19649c125d91Smrg # differences in whitespace do not lead to failure. 19659c125d91Smrg ac_old_val_w=`echo x $ac_old_val` 19669c125d91Smrg ac_new_val_w=`echo x $ac_new_val` 19679c125d91Smrg if test "$ac_old_val_w" != "$ac_new_val_w"; then 19689c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 19699c125d91Smrg$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 19709c125d91Smrg ac_cache_corrupted=: 19719c125d91Smrg else 19729c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 19739c125d91Smrg$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 19749c125d91Smrg eval $ac_var=\$ac_old_val 19759c125d91Smrg fi 19769c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 19779c125d91Smrg$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 19789c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 19799c125d91Smrg$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 198016910e25Smrg fi;; 198116910e25Smrg esac 198216910e25Smrg # Pass precious variables to config.status. 198316910e25Smrg if test "$ac_new_set" = set; then 198416910e25Smrg case $ac_new_val in 19859c125d91Smrg *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 198616910e25Smrg *) ac_arg=$ac_var=$ac_new_val ;; 198716910e25Smrg esac 198816910e25Smrg case " $ac_configure_args " in 198916910e25Smrg *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 19909c125d91Smrg *) as_fn_append ac_configure_args " '$ac_arg'" ;; 199116910e25Smrg esac 199216910e25Smrg fi 199316910e25Smrgdone 199416910e25Smrgif $ac_cache_corrupted; then 19959c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19969c125d91Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19979c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 19989c125d91Smrg$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 19999c125d91Smrg as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 200016910e25Smrgfi 20019c125d91Smrg## -------------------- ## 20029c125d91Smrg## Main body of script. ## 20039c125d91Smrg## -------------------- ## 200416910e25Smrg 200516910e25Smrgac_ext=c 200616910e25Smrgac_cpp='$CPP $CPPFLAGS' 200716910e25Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 200816910e25Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 200916910e25Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 201016910e25Smrg 201116910e25Smrg 20129c125d91Smrgam__api_version='1.11' 201316910e25Smrg 201416910e25Smrgac_aux_dir= 20159c125d91Smrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 20169c125d91Smrg for ac_t in install-sh install.sh shtool; do 20179c125d91Smrg if test -f "$ac_dir/$ac_t"; then 20189c125d91Smrg ac_aux_dir=$ac_dir 20199c125d91Smrg ac_install_sh="$ac_aux_dir/$ac_t -c" 20209c125d91Smrg break 2 20219c125d91Smrg fi 20229c125d91Smrg done 202316910e25Smrgdone 202416910e25Smrgif test -z "$ac_aux_dir"; then 20259c125d91Smrg as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 202616910e25Smrgfi 20279c125d91Smrg 20289c125d91Smrg# These three variables are undocumented and unsupported, 20299c125d91Smrg# and are intended to be withdrawn in a future Autoconf release. 20309c125d91Smrg# They can cause serious problems if a builder's source tree is in a directory 20319c125d91Smrg# whose full name contains unusual characters. 20329c125d91Smrgac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 20339c125d91Smrgac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 20349c125d91Smrgac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 20359c125d91Smrg 203616910e25Smrg 203716910e25Smrg# Find a good install program. We prefer a C program (faster), 203816910e25Smrg# so one script is as good as another. But avoid the broken or 203916910e25Smrg# incompatible versions: 204016910e25Smrg# SysV /etc/install, /usr/sbin/install 204116910e25Smrg# SunOS /usr/etc/install 204216910e25Smrg# IRIX /sbin/install 204316910e25Smrg# AIX /bin/install 204416910e25Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs 204516910e25Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 204616910e25Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 204716910e25Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 204816910e25Smrg# OS/2's system install, which has a completely different semantic 204916910e25Smrg# ./install, which can be erroneously created by make from ./install.sh. 20509c125d91Smrg# Reject install programs that cannot install multiple files. 20519c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 20529c125d91Smrg$as_echo_n "checking for a BSD-compatible install... " >&6; } 205316910e25Smrgif test -z "$INSTALL"; then 20549c125d91Smrgif test "${ac_cv_path_install+set}" = set; then : 20559c125d91Smrg $as_echo_n "(cached) " >&6 205616910e25Smrgelse 205716910e25Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 205816910e25Smrgfor as_dir in $PATH 205916910e25Smrgdo 206016910e25Smrg IFS=$as_save_IFS 206116910e25Smrg test -z "$as_dir" && as_dir=. 20629c125d91Smrg # Account for people who put trailing slashes in PATH elements. 20639c125d91Smrgcase $as_dir/ in #(( 20649c125d91Smrg ./ | .// | /[cC]/* | \ 206516910e25Smrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 20669c125d91Smrg ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 206716910e25Smrg /usr/ucb/* ) ;; 206816910e25Smrg *) 206916910e25Smrg # OSF1 and SCO ODT 3.0 have their own names for install. 207016910e25Smrg # Don't use installbsd from OSF since it installs stuff as root 207116910e25Smrg # by default. 207216910e25Smrg for ac_prog in ginstall scoinst install; do 207316910e25Smrg for ac_exec_ext in '' $ac_executable_extensions; do 20749c125d91Smrg if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 207516910e25Smrg if test $ac_prog = install && 207616910e25Smrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 207716910e25Smrg # AIX install. It has an incompatible calling convention. 207816910e25Smrg : 207916910e25Smrg elif test $ac_prog = install && 208016910e25Smrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 208116910e25Smrg # program-specific install script used by HP pwplus--don't use. 208216910e25Smrg : 208316910e25Smrg else 20849c125d91Smrg rm -rf conftest.one conftest.two conftest.dir 20859c125d91Smrg echo one > conftest.one 20869c125d91Smrg echo two > conftest.two 20879c125d91Smrg mkdir conftest.dir 20889c125d91Smrg if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 20899c125d91Smrg test -s conftest.one && test -s conftest.two && 20909c125d91Smrg test -s conftest.dir/conftest.one && 20919c125d91Smrg test -s conftest.dir/conftest.two 20929c125d91Smrg then 20939c125d91Smrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 20949c125d91Smrg break 3 20959c125d91Smrg fi 209616910e25Smrg fi 209716910e25Smrg fi 209816910e25Smrg done 209916910e25Smrg done 210016910e25Smrg ;; 210116910e25Smrgesac 210216910e25Smrg 21039c125d91Smrg done 21049c125d91SmrgIFS=$as_save_IFS 21059c125d91Smrg 21069c125d91Smrgrm -rf conftest.one conftest.two conftest.dir 210716910e25Smrg 210816910e25Smrgfi 210916910e25Smrg if test "${ac_cv_path_install+set}" = set; then 211016910e25Smrg INSTALL=$ac_cv_path_install 211116910e25Smrg else 21129c125d91Smrg # As a last resort, use the slow shell script. Don't cache a 21139c125d91Smrg # value for INSTALL within a source directory, because that will 211416910e25Smrg # break other packages using the cache if that directory is 21159c125d91Smrg # removed, or if the value is a relative name. 211616910e25Smrg INSTALL=$ac_install_sh 211716910e25Smrg fi 211816910e25Smrgfi 21199c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 21209c125d91Smrg$as_echo "$INSTALL" >&6; } 212116910e25Smrg 212216910e25Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 212316910e25Smrg# It thinks the first close brace ends the variable substitution. 212416910e25Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 212516910e25Smrg 212616910e25Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 212716910e25Smrg 212816910e25Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 212916910e25Smrg 21309c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 21319c125d91Smrg$as_echo_n "checking whether build environment is sane... " >&6; } 213216910e25Smrg# Just in case 213316910e25Smrgsleep 1 213416910e25Smrgecho timestamp > conftest.file 21359c125d91Smrg# Reject unsafe characters in $srcdir or the absolute working directory 21369c125d91Smrg# name. Accept space and tab only in the latter. 21379c125d91Smrgam_lf=' 21389c125d91Smrg' 21399c125d91Smrgcase `pwd` in 21409c125d91Smrg *[\\\"\#\$\&\'\`$am_lf]*) 21419c125d91Smrg as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; 21429c125d91Smrgesac 21439c125d91Smrgcase $srcdir in 21449c125d91Smrg *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 21459c125d91Smrg as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 21469c125d91Smrgesac 21479c125d91Smrg 214816910e25Smrg# Do `set' in a subshell so we don't clobber the current shell's 214916910e25Smrg# arguments. Must try -L first in case configure is actually a 215016910e25Smrg# symlink; some systems play weird games with the mod time of symlinks 215116910e25Smrg# (eg FreeBSD returns the mod time of the symlink's containing 215216910e25Smrg# directory). 215316910e25Smrgif ( 21549c125d91Smrg set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 215516910e25Smrg if test "$*" = "X"; then 215616910e25Smrg # -L didn't work. 21579c125d91Smrg set X `ls -t "$srcdir/configure" conftest.file` 215816910e25Smrg fi 215916910e25Smrg rm -f conftest.file 216016910e25Smrg if test "$*" != "X $srcdir/configure conftest.file" \ 216116910e25Smrg && test "$*" != "X conftest.file $srcdir/configure"; then 216216910e25Smrg 216316910e25Smrg # If neither matched, then we have a broken ls. This can happen 216416910e25Smrg # if, for instance, CONFIG_SHELL is bash and it inherits a 216516910e25Smrg # broken ls alias from the environment. This has actually 216616910e25Smrg # happened. Such a system could not be considered "sane". 21679c125d91Smrg as_fn_error "ls -t appears to fail. Make sure there is not a broken 21689c125d91Smrgalias in your environment" "$LINENO" 5 216916910e25Smrg fi 217016910e25Smrg 217116910e25Smrg test "$2" = conftest.file 217216910e25Smrg ) 217316910e25Smrgthen 217416910e25Smrg # Ok. 217516910e25Smrg : 217616910e25Smrgelse 21779c125d91Smrg as_fn_error "newly created file is older than distributed files! 21789c125d91SmrgCheck your system clock" "$LINENO" 5 217916910e25Smrgfi 21809c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 21819c125d91Smrg$as_echo "yes" >&6; } 218216910e25Smrgtest "$program_prefix" != NONE && 21839c125d91Smrg program_transform_name="s&^&$program_prefix&;$program_transform_name" 218416910e25Smrg# Use a double $ so make ignores it. 218516910e25Smrgtest "$program_suffix" != NONE && 21869c125d91Smrg program_transform_name="s&\$&$program_suffix&;$program_transform_name" 21879c125d91Smrg# Double any \ or $. 218816910e25Smrg# By default was `s,x,x', remove it if useless. 21899c125d91Smrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 21909c125d91Smrgprogram_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 219116910e25Smrg 219216910e25Smrg# expand $ac_aux_dir to an absolute path 219316910e25Smrgam_aux_dir=`cd $ac_aux_dir && pwd` 219416910e25Smrg 21959c125d91Smrgif test x"${MISSING+set}" != xset; then 21969c125d91Smrg case $am_aux_dir in 21979c125d91Smrg *\ * | *\ *) 21989c125d91Smrg MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 21999c125d91Smrg *) 22009c125d91Smrg MISSING="\${SHELL} $am_aux_dir/missing" ;; 22019c125d91Smrg esac 22029c125d91Smrgfi 220316910e25Smrg# Use eval to expand $SHELL 220416910e25Smrgif eval "$MISSING --run true"; then 220516910e25Smrg am_missing_run="$MISSING --run " 220616910e25Smrgelse 220716910e25Smrg am_missing_run= 22089c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 22099c125d91Smrg$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 22109c125d91Smrgfi 22119c125d91Smrg 22129c125d91Smrgif test x"${install_sh}" != xset; then 22139c125d91Smrg case $am_aux_dir in 22149c125d91Smrg *\ * | *\ *) 22159c125d91Smrg install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 22169c125d91Smrg *) 22179c125d91Smrg install_sh="\${SHELL} $am_aux_dir/install-sh" 22189c125d91Smrg esac 22199c125d91Smrgfi 22209c125d91Smrg 22219c125d91Smrg# Installed binaries are usually stripped using `strip' when the user 22229c125d91Smrg# run `make install-strip'. However `strip' might not be the right 22239c125d91Smrg# tool to use in cross-compilation environments, therefore Automake 22249c125d91Smrg# will honor the `STRIP' environment variable to overrule this program. 22259c125d91Smrgif test "$cross_compiling" != no; then 22269c125d91Smrg if test -n "$ac_tool_prefix"; then 22279c125d91Smrg # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 22289c125d91Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2 22299c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22309c125d91Smrg$as_echo_n "checking for $ac_word... " >&6; } 22319c125d91Smrgif test "${ac_cv_prog_STRIP+set}" = set; then : 22329c125d91Smrg $as_echo_n "(cached) " >&6 22339c125d91Smrgelse 22349c125d91Smrg if test -n "$STRIP"; then 22359c125d91Smrg ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 22369c125d91Smrgelse 22379c125d91Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22389c125d91Smrgfor as_dir in $PATH 22399c125d91Smrgdo 22409c125d91Smrg IFS=$as_save_IFS 22419c125d91Smrg test -z "$as_dir" && as_dir=. 22429c125d91Smrg for ac_exec_ext in '' $ac_executable_extensions; do 22439c125d91Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 22449c125d91Smrg ac_cv_prog_STRIP="${ac_tool_prefix}strip" 22459c125d91Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 22469c125d91Smrg break 2 22479c125d91Smrg fi 22489c125d91Smrgdone 22499c125d91Smrg done 22509c125d91SmrgIFS=$as_save_IFS 22519c125d91Smrg 22529c125d91Smrgfi 22539c125d91Smrgfi 22549c125d91SmrgSTRIP=$ac_cv_prog_STRIP 22559c125d91Smrgif test -n "$STRIP"; then 22569c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 22579c125d91Smrg$as_echo "$STRIP" >&6; } 22589c125d91Smrgelse 22599c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22609c125d91Smrg$as_echo "no" >&6; } 22619c125d91Smrgfi 22629c125d91Smrg 22639c125d91Smrg 22649c125d91Smrgfi 22659c125d91Smrgif test -z "$ac_cv_prog_STRIP"; then 22669c125d91Smrg ac_ct_STRIP=$STRIP 22679c125d91Smrg # Extract the first word of "strip", so it can be a program name with args. 22689c125d91Smrgset dummy strip; ac_word=$2 22699c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22709c125d91Smrg$as_echo_n "checking for $ac_word... " >&6; } 22719c125d91Smrgif test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 22729c125d91Smrg $as_echo_n "(cached) " >&6 22739c125d91Smrgelse 22749c125d91Smrg if test -n "$ac_ct_STRIP"; then 22759c125d91Smrg ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 22769c125d91Smrgelse 22779c125d91Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22789c125d91Smrgfor as_dir in $PATH 22799c125d91Smrgdo 22809c125d91Smrg IFS=$as_save_IFS 22819c125d91Smrg test -z "$as_dir" && as_dir=. 22829c125d91Smrg for ac_exec_ext in '' $ac_executable_extensions; do 22839c125d91Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 22849c125d91Smrg ac_cv_prog_ac_ct_STRIP="strip" 22859c125d91Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 22869c125d91Smrg break 2 22879c125d91Smrg fi 22889c125d91Smrgdone 22899c125d91Smrg done 22909c125d91SmrgIFS=$as_save_IFS 22919c125d91Smrg 22929c125d91Smrgfi 22939c125d91Smrgfi 22949c125d91Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 22959c125d91Smrgif test -n "$ac_ct_STRIP"; then 22969c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 22979c125d91Smrg$as_echo "$ac_ct_STRIP" >&6; } 22989c125d91Smrgelse 22999c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23009c125d91Smrg$as_echo "no" >&6; } 23019c125d91Smrgfi 23029c125d91Smrg 23039c125d91Smrg if test "x$ac_ct_STRIP" = x; then 23049c125d91Smrg STRIP=":" 23059c125d91Smrg else 23069c125d91Smrg case $cross_compiling:$ac_tool_warned in 23079c125d91Smrgyes:) 23089c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 23099c125d91Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 23109c125d91Smrgac_tool_warned=yes ;; 23119c125d91Smrgesac 23129c125d91Smrg STRIP=$ac_ct_STRIP 23139c125d91Smrg fi 23149c125d91Smrgelse 23159c125d91Smrg STRIP="$ac_cv_prog_STRIP" 23169c125d91Smrgfi 23179c125d91Smrg 231816910e25Smrgfi 23199c125d91SmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 23209c125d91Smrg 23219c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 23229c125d91Smrg$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 23239c125d91Smrgif test -z "$MKDIR_P"; then 23249c125d91Smrg if test "${ac_cv_path_mkdir+set}" = set; then : 23259c125d91Smrg $as_echo_n "(cached) " >&6 23269c125d91Smrgelse 23279c125d91Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23289c125d91Smrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 23299c125d91Smrgdo 23309c125d91Smrg IFS=$as_save_IFS 23319c125d91Smrg test -z "$as_dir" && as_dir=. 23329c125d91Smrg for ac_prog in mkdir gmkdir; do 23339c125d91Smrg for ac_exec_ext in '' $ac_executable_extensions; do 23349c125d91Smrg { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 23359c125d91Smrg case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 23369c125d91Smrg 'mkdir (GNU coreutils) '* | \ 23379c125d91Smrg 'mkdir (coreutils) '* | \ 23389c125d91Smrg 'mkdir (fileutils) '4.1*) 23399c125d91Smrg ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 23409c125d91Smrg break 3;; 23419c125d91Smrg esac 23429c125d91Smrg done 23439c125d91Smrg done 23449c125d91Smrg done 23459c125d91SmrgIFS=$as_save_IFS 23469c125d91Smrg 23479c125d91Smrgfi 23489c125d91Smrg 23499c125d91Smrg test -d ./--version && rmdir ./--version 23509c125d91Smrg if test "${ac_cv_path_mkdir+set}" = set; then 23519c125d91Smrg MKDIR_P="$ac_cv_path_mkdir -p" 23529c125d91Smrg else 23539c125d91Smrg # As a last resort, use the slow shell script. Don't cache a 23549c125d91Smrg # value for MKDIR_P within a source directory, because that will 23559c125d91Smrg # break other packages using the cache if that directory is 23569c125d91Smrg # removed, or if the value is a relative name. 23579c125d91Smrg MKDIR_P="$ac_install_sh -d" 23589c125d91Smrg fi 23599c125d91Smrgfi 23609c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 23619c125d91Smrg$as_echo "$MKDIR_P" >&6; } 23629c125d91Smrg 23639c125d91Smrgmkdir_p="$MKDIR_P" 23649c125d91Smrgcase $mkdir_p in 23659c125d91Smrg [\\/$]* | ?:[\\/]*) ;; 23669c125d91Smrg */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 23679c125d91Smrgesac 236816910e25Smrg 236916910e25Smrgfor ac_prog in gawk mawk nawk awk 237016910e25Smrgdo 237116910e25Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 237216910e25Smrgset dummy $ac_prog; ac_word=$2 23739c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23749c125d91Smrg$as_echo_n "checking for $ac_word... " >&6; } 23759c125d91Smrgif test "${ac_cv_prog_AWK+set}" = set; then : 23769c125d91Smrg $as_echo_n "(cached) " >&6 237716910e25Smrgelse 237816910e25Smrg if test -n "$AWK"; then 237916910e25Smrg ac_cv_prog_AWK="$AWK" # Let the user override the test. 238016910e25Smrgelse 238116910e25Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 238216910e25Smrgfor as_dir in $PATH 238316910e25Smrgdo 238416910e25Smrg IFS=$as_save_IFS 238516910e25Smrg test -z "$as_dir" && as_dir=. 23869c125d91Smrg for ac_exec_ext in '' $ac_executable_extensions; do 23879c125d91Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 238816910e25Smrg ac_cv_prog_AWK="$ac_prog" 23899c125d91Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 239016910e25Smrg break 2 239116910e25Smrg fi 239216910e25Smrgdone 23939c125d91Smrg done 23949c125d91SmrgIFS=$as_save_IFS 239516910e25Smrg 239616910e25Smrgfi 239716910e25Smrgfi 239816910e25SmrgAWK=$ac_cv_prog_AWK 239916910e25Smrgif test -n "$AWK"; then 24009c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 24019c125d91Smrg$as_echo "$AWK" >&6; } 240216910e25Smrgelse 24039c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24049c125d91Smrg$as_echo "no" >&6; } 240516910e25Smrgfi 240616910e25Smrg 24079c125d91Smrg 240816910e25Smrg test -n "$AWK" && break 240916910e25Smrgdone 241016910e25Smrg 24119c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 24129c125d91Smrg$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 24139c125d91Smrgset x ${MAKE-make} 24149c125d91Smrgac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 24159c125d91Smrgif { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : 24169c125d91Smrg $as_echo_n "(cached) " >&6 241716910e25Smrgelse 241816910e25Smrg cat >conftest.make <<\_ACEOF 24199c125d91SmrgSHELL = /bin/sh 242016910e25Smrgall: 24219c125d91Smrg @echo '@@@%%%=$(MAKE)=@@@%%%' 242216910e25Smrg_ACEOF 242316910e25Smrg# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 24249c125d91Smrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in 24259c125d91Smrg *@@@%%%=?*=@@@%%%*) 24269c125d91Smrg eval ac_cv_prog_make_${ac_make}_set=yes;; 24279c125d91Smrg *) 24289c125d91Smrg eval ac_cv_prog_make_${ac_make}_set=no;; 24299c125d91Smrgesac 243016910e25Smrgrm -f conftest.make 243116910e25Smrgfi 24329c125d91Smrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 24339c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24349c125d91Smrg$as_echo "yes" >&6; } 243516910e25Smrg SET_MAKE= 243616910e25Smrgelse 24379c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24389c125d91Smrg$as_echo "no" >&6; } 243916910e25Smrg SET_MAKE="MAKE=${MAKE-make}" 244016910e25Smrgfi 244116910e25Smrg 244216910e25Smrgrm -rf .tst 2>/dev/null 244316910e25Smrgmkdir .tst 2>/dev/null 244416910e25Smrgif test -d .tst; then 244516910e25Smrg am__leading_dot=. 244616910e25Smrgelse 244716910e25Smrg am__leading_dot=_ 244816910e25Smrgfi 244916910e25Smrgrmdir .tst 2>/dev/null 245016910e25Smrg 24519c125d91Smrgif test "`cd $srcdir && pwd`" != "`pwd`"; then 24529c125d91Smrg # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 24539c125d91Smrg # is not polluted with repeated "-I." 24549c125d91Smrg am__isrc=' -I$(srcdir)' 24559c125d91Smrg # test to see if srcdir already configured 24569c125d91Smrg if test -f $srcdir/config.status; then 24579c125d91Smrg as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 24589c125d91Smrg fi 245916910e25Smrgfi 246016910e25Smrg 246116910e25Smrg# test whether we have cygpath 246216910e25Smrgif test -z "$CYGPATH_W"; then 246316910e25Smrg if (cygpath --version) >/dev/null 2>/dev/null; then 246416910e25Smrg CYGPATH_W='cygpath -w' 246516910e25Smrg else 246616910e25Smrg CYGPATH_W=echo 246716910e25Smrg fi 246816910e25Smrgfi 246916910e25Smrg 247016910e25Smrg 247116910e25Smrg# Define the identity of the package. 247216910e25Smrg PACKAGE='xmore' 24739c125d91Smrg VERSION='1.0.2' 247416910e25Smrg 247516910e25Smrg 247616910e25Smrgcat >>confdefs.h <<_ACEOF 247716910e25Smrg#define PACKAGE "$PACKAGE" 247816910e25Smrg_ACEOF 247916910e25Smrg 248016910e25Smrg 248116910e25Smrgcat >>confdefs.h <<_ACEOF 248216910e25Smrg#define VERSION "$VERSION" 248316910e25Smrg_ACEOF 248416910e25Smrg 248516910e25Smrg# Some tools Automake needs. 248616910e25Smrg 248716910e25SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 248816910e25Smrg 248916910e25Smrg 249016910e25SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 249116910e25Smrg 249216910e25Smrg 249316910e25SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 249416910e25Smrg 249516910e25Smrg 249616910e25SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 249716910e25Smrg 249816910e25Smrg 249916910e25SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 250016910e25Smrg 25019c125d91Smrg# We need awk for the "check" target. The system "awk" is bad on 25029c125d91Smrg# some platforms. 25039c125d91Smrg# Always define AMTAR for backward compatibility. 250416910e25Smrg 250516910e25SmrgAMTAR=${AMTAR-"${am_missing_run}tar"} 250616910e25Smrg 25079c125d91Smrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 250816910e25Smrg 25099c125d91Smrg 25109c125d91Smrg 25119c125d91Smrg 25129c125d91Smrg 25139c125d91Smrg 25149c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 25159c125d91Smrg$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 25169c125d91Smrg # Check whether --enable-maintainer-mode was given. 25179c125d91Smrgif test "${enable_maintainer_mode+set}" = set; then : 25189c125d91Smrg enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 251916910e25Smrgelse 25209c125d91Smrg USE_MAINTAINER_MODE=no 25219c125d91Smrgfi 25229c125d91Smrg 25239c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 25249c125d91Smrg$as_echo "$USE_MAINTAINER_MODE" >&6; } 25259c125d91Smrg if test $USE_MAINTAINER_MODE = yes; then 25269c125d91Smrg MAINTAINER_MODE_TRUE= 25279c125d91Smrg MAINTAINER_MODE_FALSE='#' 252816910e25Smrgelse 25299c125d91Smrg MAINTAINER_MODE_TRUE='#' 25309c125d91Smrg MAINTAINER_MODE_FALSE= 253116910e25Smrgfi 253216910e25Smrg 25339c125d91Smrg MAINT=$MAINTAINER_MODE_TRUE 253416910e25Smrg 253516910e25Smrg 253616910e25Smrg 25379c125d91Smrg# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS 253816910e25Smrg 253916910e25Smrg 254016910e25Smrg 254116910e25Smrg 254216910e25Smrg 254316910e25Smrg 25449c125d91Smrg 25459c125d91Smrg 25469c125d91Smrg 25479c125d91Smrg 25489c125d91Smrg 25499c125d91SmrgDEPDIR="${am__leading_dot}deps" 25509c125d91Smrg 25519c125d91Smrgac_config_commands="$ac_config_commands depfiles" 25529c125d91Smrg 25539c125d91Smrg 25549c125d91Smrgam_make=${MAKE-make} 25559c125d91Smrgcat > confinc << 'END' 25569c125d91Smrgam__doit: 25579c125d91Smrg @echo this is the am__doit target 25589c125d91Smrg.PHONY: am__doit 25599c125d91SmrgEND 25609c125d91Smrg# If we don't find an include directive, just comment out the code. 25619c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 25629c125d91Smrg$as_echo_n "checking for style of include used by $am_make... " >&6; } 25639c125d91Smrgam__include="#" 25649c125d91Smrgam__quote= 25659c125d91Smrg_am_result=none 25669c125d91Smrg# First try GNU make style include. 25679c125d91Smrgecho "include confinc" > confmf 25689c125d91Smrg# Ignore all kinds of additional output from `make'. 25699c125d91Smrgcase `$am_make -s -f confmf 2> /dev/null` in #( 25709c125d91Smrg*the\ am__doit\ target*) 25719c125d91Smrg am__include=include 25729c125d91Smrg am__quote= 25739c125d91Smrg _am_result=GNU 25749c125d91Smrg ;; 25759c125d91Smrgesac 25769c125d91Smrg# Now try BSD make style include. 25779c125d91Smrgif test "$am__include" = "#"; then 25789c125d91Smrg echo '.include "confinc"' > confmf 25799c125d91Smrg case `$am_make -s -f confmf 2> /dev/null` in #( 25809c125d91Smrg *the\ am__doit\ target*) 25819c125d91Smrg am__include=.include 25829c125d91Smrg am__quote="\"" 25839c125d91Smrg _am_result=BSD 25849c125d91Smrg ;; 25859c125d91Smrg esac 258616910e25Smrgfi 258716910e25Smrg 258816910e25Smrg 25899c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 25909c125d91Smrg$as_echo "$_am_result" >&6; } 25919c125d91Smrgrm -f confinc confmf 259216910e25Smrg 25939c125d91Smrg# Check whether --enable-dependency-tracking was given. 25949c125d91Smrgif test "${enable_dependency_tracking+set}" = set; then : 25959c125d91Smrg enableval=$enable_dependency_tracking; 25969c125d91Smrgfi 259716910e25Smrg 25989c125d91Smrgif test "x$enable_dependency_tracking" != xno; then 25999c125d91Smrg am_depcomp="$ac_aux_dir/depcomp" 26009c125d91Smrg AMDEPBACKSLASH='\' 26019c125d91Smrgfi 26029c125d91Smrg if test "x$enable_dependency_tracking" != xno; then 26039c125d91Smrg AMDEP_TRUE= 26049c125d91Smrg AMDEP_FALSE='#' 26059c125d91Smrgelse 26069c125d91Smrg AMDEP_TRUE='#' 26079c125d91Smrg AMDEP_FALSE= 26089c125d91Smrgfi 260916910e25Smrg 261016910e25Smrg 261116910e25Smrgac_ext=c 261216910e25Smrgac_cpp='$CPP $CPPFLAGS' 261316910e25Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 261416910e25Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 261516910e25Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 261616910e25Smrgif test -n "$ac_tool_prefix"; then 261716910e25Smrg # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 261816910e25Smrgset dummy ${ac_tool_prefix}gcc; ac_word=$2 26199c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 26209c125d91Smrg$as_echo_n "checking for $ac_word... " >&6; } 26219c125d91Smrgif test "${ac_cv_prog_CC+set}" = set; then : 26229c125d91Smrg $as_echo_n "(cached) " >&6 262316910e25Smrgelse 262416910e25Smrg if test -n "$CC"; then 262516910e25Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 262616910e25Smrgelse 262716910e25Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 262816910e25Smrgfor as_dir in $PATH 262916910e25Smrgdo 263016910e25Smrg IFS=$as_save_IFS 263116910e25Smrg test -z "$as_dir" && as_dir=. 26329c125d91Smrg for ac_exec_ext in '' $ac_executable_extensions; do 26339c125d91Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 263416910e25Smrg ac_cv_prog_CC="${ac_tool_prefix}gcc" 26359c125d91Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 263616910e25Smrg break 2 263716910e25Smrg fi 263816910e25Smrgdone 26399c125d91Smrg done 26409c125d91SmrgIFS=$as_save_IFS 264116910e25Smrg 264216910e25Smrgfi 264316910e25Smrgfi 264416910e25SmrgCC=$ac_cv_prog_CC 264516910e25Smrgif test -n "$CC"; then 26469c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 26479c125d91Smrg$as_echo "$CC" >&6; } 264816910e25Smrgelse 26499c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26509c125d91Smrg$as_echo "no" >&6; } 265116910e25Smrgfi 265216910e25Smrg 26539c125d91Smrg 265416910e25Smrgfi 265516910e25Smrgif test -z "$ac_cv_prog_CC"; then 265616910e25Smrg ac_ct_CC=$CC 265716910e25Smrg # Extract the first word of "gcc", so it can be a program name with args. 265816910e25Smrgset dummy gcc; ac_word=$2 26599c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 26609c125d91Smrg$as_echo_n "checking for $ac_word... " >&6; } 26619c125d91Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 26629c125d91Smrg $as_echo_n "(cached) " >&6 266316910e25Smrgelse 266416910e25Smrg if test -n "$ac_ct_CC"; then 266516910e25Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 266616910e25Smrgelse 266716910e25Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 266816910e25Smrgfor as_dir in $PATH 266916910e25Smrgdo 267016910e25Smrg IFS=$as_save_IFS 267116910e25Smrg test -z "$as_dir" && as_dir=. 26729c125d91Smrg for ac_exec_ext in '' $ac_executable_extensions; do 26739c125d91Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 267416910e25Smrg ac_cv_prog_ac_ct_CC="gcc" 26759c125d91Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 267616910e25Smrg break 2 267716910e25Smrg fi 267816910e25Smrgdone 26799c125d91Smrg done 26809c125d91SmrgIFS=$as_save_IFS 268116910e25Smrg 268216910e25Smrgfi 268316910e25Smrgfi 268416910e25Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 268516910e25Smrgif test -n "$ac_ct_CC"; then 26869c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 26879c125d91Smrg$as_echo "$ac_ct_CC" >&6; } 268816910e25Smrgelse 26899c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26909c125d91Smrg$as_echo "no" >&6; } 269116910e25Smrgfi 269216910e25Smrg 26939c125d91Smrg if test "x$ac_ct_CC" = x; then 26949c125d91Smrg CC="" 26959c125d91Smrg else 26969c125d91Smrg case $cross_compiling:$ac_tool_warned in 26979c125d91Smrgyes:) 26989c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 26999c125d91Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 27009c125d91Smrgac_tool_warned=yes ;; 27019c125d91Smrgesac 27029c125d91Smrg CC=$ac_ct_CC 27039c125d91Smrg fi 270416910e25Smrgelse 270516910e25Smrg CC="$ac_cv_prog_CC" 270616910e25Smrgfi 270716910e25Smrg 270816910e25Smrgif test -z "$CC"; then 27099c125d91Smrg if test -n "$ac_tool_prefix"; then 27109c125d91Smrg # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 271116910e25Smrgset dummy ${ac_tool_prefix}cc; ac_word=$2 27129c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 27139c125d91Smrg$as_echo_n "checking for $ac_word... " >&6; } 27149c125d91Smrgif test "${ac_cv_prog_CC+set}" = set; then : 27159c125d91Smrg $as_echo_n "(cached) " >&6 271616910e25Smrgelse 271716910e25Smrg if test -n "$CC"; then 271816910e25Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 271916910e25Smrgelse 272016910e25Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 272116910e25Smrgfor as_dir in $PATH 272216910e25Smrgdo 272316910e25Smrg IFS=$as_save_IFS 272416910e25Smrg test -z "$as_dir" && as_dir=. 27259c125d91Smrg for ac_exec_ext in '' $ac_executable_extensions; do 27269c125d91Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 272716910e25Smrg ac_cv_prog_CC="${ac_tool_prefix}cc" 27289c125d91Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 272916910e25Smrg break 2 273016910e25Smrg fi 273116910e25Smrgdone 27329c125d91Smrg done 27339c125d91SmrgIFS=$as_save_IFS 273416910e25Smrg 273516910e25Smrgfi 273616910e25Smrgfi 273716910e25SmrgCC=$ac_cv_prog_CC 273816910e25Smrgif test -n "$CC"; then 27399c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 27409c125d91Smrg$as_echo "$CC" >&6; } 274116910e25Smrgelse 27429c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27439c125d91Smrg$as_echo "no" >&6; } 274416910e25Smrgfi 274516910e25Smrg 274616910e25Smrg 27479c125d91Smrg fi 274816910e25Smrgfi 274916910e25Smrgif test -z "$CC"; then 275016910e25Smrg # Extract the first word of "cc", so it can be a program name with args. 275116910e25Smrgset dummy cc; ac_word=$2 27529c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 27539c125d91Smrg$as_echo_n "checking for $ac_word... " >&6; } 27549c125d91Smrgif test "${ac_cv_prog_CC+set}" = set; then : 27559c125d91Smrg $as_echo_n "(cached) " >&6 275616910e25Smrgelse 275716910e25Smrg if test -n "$CC"; then 275816910e25Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 275916910e25Smrgelse 276016910e25Smrg ac_prog_rejected=no 276116910e25Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 276216910e25Smrgfor as_dir in $PATH 276316910e25Smrgdo 276416910e25Smrg IFS=$as_save_IFS 276516910e25Smrg test -z "$as_dir" && as_dir=. 27669c125d91Smrg for ac_exec_ext in '' $ac_executable_extensions; do 27679c125d91Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 276816910e25Smrg if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 276916910e25Smrg ac_prog_rejected=yes 277016910e25Smrg continue 277116910e25Smrg fi 277216910e25Smrg ac_cv_prog_CC="cc" 27739c125d91Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 277416910e25Smrg break 2 277516910e25Smrg fi 277616910e25Smrgdone 27779c125d91Smrg done 27789c125d91SmrgIFS=$as_save_IFS 277916910e25Smrg 278016910e25Smrgif test $ac_prog_rejected = yes; then 278116910e25Smrg # We found a bogon in the path, so make sure we never use it. 278216910e25Smrg set dummy $ac_cv_prog_CC 278316910e25Smrg shift 278416910e25Smrg if test $# != 0; then 278516910e25Smrg # We chose a different compiler from the bogus one. 278616910e25Smrg # However, it has the same basename, so the bogon will be chosen 278716910e25Smrg # first if we set CC to just the basename; use the full file name. 278816910e25Smrg shift 278916910e25Smrg ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 279016910e25Smrg fi 279116910e25Smrgfi 279216910e25Smrgfi 279316910e25Smrgfi 279416910e25SmrgCC=$ac_cv_prog_CC 279516910e25Smrgif test -n "$CC"; then 27969c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 27979c125d91Smrg$as_echo "$CC" >&6; } 279816910e25Smrgelse 27999c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28009c125d91Smrg$as_echo "no" >&6; } 280116910e25Smrgfi 280216910e25Smrg 28039c125d91Smrg 280416910e25Smrgfi 280516910e25Smrgif test -z "$CC"; then 280616910e25Smrg if test -n "$ac_tool_prefix"; then 28079c125d91Smrg for ac_prog in cl.exe 280816910e25Smrg do 280916910e25Smrg # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 281016910e25Smrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2 28119c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 28129c125d91Smrg$as_echo_n "checking for $ac_word... " >&6; } 28139c125d91Smrgif test "${ac_cv_prog_CC+set}" = set; then : 28149c125d91Smrg $as_echo_n "(cached) " >&6 281516910e25Smrgelse 281616910e25Smrg if test -n "$CC"; then 281716910e25Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 281816910e25Smrgelse 281916910e25Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 282016910e25Smrgfor as_dir in $PATH 282116910e25Smrgdo 282216910e25Smrg IFS=$as_save_IFS 282316910e25Smrg test -z "$as_dir" && as_dir=. 28249c125d91Smrg for ac_exec_ext in '' $ac_executable_extensions; do 28259c125d91Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 282616910e25Smrg ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 28279c125d91Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 282816910e25Smrg break 2 282916910e25Smrg fi 283016910e25Smrgdone 28319c125d91Smrg done 28329c125d91SmrgIFS=$as_save_IFS 283316910e25Smrg 283416910e25Smrgfi 283516910e25Smrgfi 283616910e25SmrgCC=$ac_cv_prog_CC 283716910e25Smrgif test -n "$CC"; then 28389c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 28399c125d91Smrg$as_echo "$CC" >&6; } 284016910e25Smrgelse 28419c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28429c125d91Smrg$as_echo "no" >&6; } 284316910e25Smrgfi 284416910e25Smrg 28459c125d91Smrg 284616910e25Smrg test -n "$CC" && break 284716910e25Smrg done 284816910e25Smrgfi 284916910e25Smrgif test -z "$CC"; then 285016910e25Smrg ac_ct_CC=$CC 28519c125d91Smrg for ac_prog in cl.exe 285216910e25Smrgdo 285316910e25Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 285416910e25Smrgset dummy $ac_prog; ac_word=$2 28559c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 28569c125d91Smrg$as_echo_n "checking for $ac_word... " >&6; } 28579c125d91Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 28589c125d91Smrg $as_echo_n "(cached) " >&6 285916910e25Smrgelse 286016910e25Smrg if test -n "$ac_ct_CC"; then 286116910e25Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 286216910e25Smrgelse 286316910e25Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 286416910e25Smrgfor as_dir in $PATH 286516910e25Smrgdo 286616910e25Smrg IFS=$as_save_IFS 286716910e25Smrg test -z "$as_dir" && as_dir=. 28689c125d91Smrg for ac_exec_ext in '' $ac_executable_extensions; do 28699c125d91Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 287016910e25Smrg ac_cv_prog_ac_ct_CC="$ac_prog" 28719c125d91Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 287216910e25Smrg break 2 287316910e25Smrg fi 287416910e25Smrgdone 28759c125d91Smrg done 28769c125d91SmrgIFS=$as_save_IFS 287716910e25Smrg 287816910e25Smrgfi 287916910e25Smrgfi 288016910e25Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 288116910e25Smrgif test -n "$ac_ct_CC"; then 28829c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 28839c125d91Smrg$as_echo "$ac_ct_CC" >&6; } 288416910e25Smrgelse 28859c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28869c125d91Smrg$as_echo "no" >&6; } 288716910e25Smrgfi 288816910e25Smrg 28899c125d91Smrg 289016910e25Smrg test -n "$ac_ct_CC" && break 289116910e25Smrgdone 289216910e25Smrg 28939c125d91Smrg if test "x$ac_ct_CC" = x; then 28949c125d91Smrg CC="" 28959c125d91Smrg else 28969c125d91Smrg case $cross_compiling:$ac_tool_warned in 28979c125d91Smrgyes:) 28989c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 28999c125d91Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 29009c125d91Smrgac_tool_warned=yes ;; 29019c125d91Smrgesac 29029c125d91Smrg CC=$ac_ct_CC 29039c125d91Smrg fi 290416910e25Smrgfi 290516910e25Smrg 290616910e25Smrgfi 290716910e25Smrg 290816910e25Smrg 29099c125d91Smrgtest -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 29109c125d91Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 29119c125d91Smrgas_fn_error "no acceptable C compiler found in \$PATH 29129c125d91SmrgSee \`config.log' for more details." "$LINENO" 5; } 291316910e25Smrg 291416910e25Smrg# Provide some information about the compiler. 29159c125d91Smrg$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 29169c125d91Smrgset X $ac_compile 29179c125d91Smrgac_compiler=$2 29189c125d91Smrgfor ac_option in --version -v -V -qversion; do 29199c125d91Smrg { { ac_try="$ac_compiler $ac_option >&5" 29209c125d91Smrgcase "(($ac_try" in 29219c125d91Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 29229c125d91Smrg *) ac_try_echo=$ac_try;; 29239c125d91Smrgesac 29249c125d91Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 29259c125d91Smrg$as_echo "$ac_try_echo"; } >&5 29269c125d91Smrg (eval "$ac_compiler $ac_option >&5") 2>conftest.err 292716910e25Smrg ac_status=$? 29289c125d91Smrg if test -s conftest.err; then 29299c125d91Smrg sed '10a\ 29309c125d91Smrg... rest of stderr output deleted ... 29319c125d91Smrg 10q' conftest.err >conftest.er1 29329c125d91Smrg cat conftest.er1 >&5 29339c125d91Smrg fi 29349c125d91Smrg rm -f conftest.er1 conftest.err 29359c125d91Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 29369c125d91Smrg test $ac_status = 0; } 29379c125d91Smrgdone 293816910e25Smrg 29399c125d91Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 294016910e25Smrg/* end confdefs.h. */ 294116910e25Smrg 294216910e25Smrgint 294316910e25Smrgmain () 294416910e25Smrg{ 294516910e25Smrg 294616910e25Smrg ; 294716910e25Smrg return 0; 294816910e25Smrg} 294916910e25Smrg_ACEOF 295016910e25Smrgac_clean_files_save=$ac_clean_files 29519c125d91Smrgac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 295216910e25Smrg# Try to create an executable without -o first, disregard a.out. 295316910e25Smrg# It will help us diagnose broken compilers, and finding out an intuition 295416910e25Smrg# of exeext. 29559c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 29569c125d91Smrg$as_echo_n "checking whether the C compiler works... " >&6; } 29579c125d91Smrgac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 29589c125d91Smrg 29599c125d91Smrg# The possible output files: 29609c125d91Smrgac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 29619c125d91Smrg 29629c125d91Smrgac_rmfiles= 29639c125d91Smrgfor ac_file in $ac_files 29649c125d91Smrgdo 29659c125d91Smrg case $ac_file in 29669c125d91Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 29679c125d91Smrg * ) ac_rmfiles="$ac_rmfiles $ac_file";; 29689c125d91Smrg esac 29699c125d91Smrgdone 29709c125d91Smrgrm -f $ac_rmfiles 29719c125d91Smrg 29729c125d91Smrgif { { ac_try="$ac_link_default" 29739c125d91Smrgcase "(($ac_try" in 29749c125d91Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 29759c125d91Smrg *) ac_try_echo=$ac_try;; 29769c125d91Smrgesac 29779c125d91Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 29789c125d91Smrg$as_echo "$ac_try_echo"; } >&5 29799c125d91Smrg (eval "$ac_link_default") 2>&5 298016910e25Smrg ac_status=$? 29819c125d91Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 29829c125d91Smrg test $ac_status = 0; }; then : 29839c125d91Smrg # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 29849c125d91Smrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 29859c125d91Smrg# in a Makefile. We should not override ac_cv_exeext if it was cached, 29869c125d91Smrg# so that the user can short-circuit this test for compilers unknown to 29879c125d91Smrg# Autoconf. 29889c125d91Smrgfor ac_file in $ac_files '' 298916910e25Smrgdo 299016910e25Smrg test -f "$ac_file" || continue 299116910e25Smrg case $ac_file in 29929c125d91Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 299316910e25Smrg ;; 299416910e25Smrg [ab].out ) 299516910e25Smrg # We found the default executable, but exeext='' is most 299616910e25Smrg # certainly right. 299716910e25Smrg break;; 299816910e25Smrg *.* ) 29999c125d91Smrg if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 30009c125d91Smrg then :; else 30019c125d91Smrg ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 30029c125d91Smrg fi 30039c125d91Smrg # We set ac_cv_exeext here because the later test for it is not 30049c125d91Smrg # safe: cross compilers may not add the suffix if given an `-o' 30059c125d91Smrg # argument, so we may need to know it at that point already. 30069c125d91Smrg # Even if this section looks crufty: it has the advantage of 30079c125d91Smrg # actually working. 300816910e25Smrg break;; 300916910e25Smrg * ) 301016910e25Smrg break;; 301116910e25Smrg esac 301216910e25Smrgdone 30139c125d91Smrgtest "$ac_cv_exeext" = no && ac_cv_exeext= 30149c125d91Smrg 301516910e25Smrgelse 30169c125d91Smrg ac_file='' 30179c125d91Smrgfi 30189c125d91Smrgif test -z "$ac_file"; then : 30199c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 30209c125d91Smrg$as_echo "no" >&6; } 30219c125d91Smrg$as_echo "$as_me: failed program was:" >&5 302216910e25Smrgsed 's/^/| /' conftest.$ac_ext >&5 302316910e25Smrg 30249c125d91Smrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 30259c125d91Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 30269c125d91Smrg{ as_fn_set_status 77 30279c125d91Smrgas_fn_error "C compiler cannot create executables 30289c125d91SmrgSee \`config.log' for more details." "$LINENO" 5; }; } 30299c125d91Smrgelse 30309c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 30319c125d91Smrg$as_echo "yes" >&6; } 303216910e25Smrgfi 30339c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 30349c125d91Smrg$as_echo_n "checking for C compiler default output file name... " >&6; } 30359c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 30369c125d91Smrg$as_echo "$ac_file" >&6; } 303716910e25Smrgac_exeext=$ac_cv_exeext 303816910e25Smrg 30399c125d91Smrgrm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 304016910e25Smrgac_clean_files=$ac_clean_files_save 30419c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 30429c125d91Smrg$as_echo_n "checking for suffix of executables... " >&6; } 30439c125d91Smrgif { { ac_try="$ac_link" 30449c125d91Smrgcase "(($ac_try" in 30459c125d91Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 30469c125d91Smrg *) ac_try_echo=$ac_try;; 30479c125d91Smrgesac 30489c125d91Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 30499c125d91Smrg$as_echo "$ac_try_echo"; } >&5 30509c125d91Smrg (eval "$ac_link") 2>&5 305116910e25Smrg ac_status=$? 30529c125d91Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 30539c125d91Smrg test $ac_status = 0; }; then : 305416910e25Smrg # If both `conftest.exe' and `conftest' are `present' (well, observable) 305516910e25Smrg# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 305616910e25Smrg# work properly (i.e., refer to `conftest.exe'), while it won't with 305716910e25Smrg# `rm'. 305816910e25Smrgfor ac_file in conftest.exe conftest conftest.*; do 305916910e25Smrg test -f "$ac_file" || continue 306016910e25Smrg case $ac_file in 30619c125d91Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 306216910e25Smrg *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 306316910e25Smrg break;; 306416910e25Smrg * ) break;; 306516910e25Smrg esac 306616910e25Smrgdone 306716910e25Smrgelse 30689c125d91Smrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 30699c125d91Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 30709c125d91Smrgas_fn_error "cannot compute suffix of executables: cannot compile and link 30719c125d91SmrgSee \`config.log' for more details." "$LINENO" 5; } 307216910e25Smrgfi 30739c125d91Smrgrm -f conftest conftest$ac_cv_exeext 30749c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 30759c125d91Smrg$as_echo "$ac_cv_exeext" >&6; } 307616910e25Smrg 307716910e25Smrgrm -f conftest.$ac_ext 307816910e25SmrgEXEEXT=$ac_cv_exeext 307916910e25Smrgac_exeext=$EXEEXT 30809c125d91Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 30819c125d91Smrg/* end confdefs.h. */ 30829c125d91Smrg#include <stdio.h> 30839c125d91Smrgint 30849c125d91Smrgmain () 30859c125d91Smrg{ 30869c125d91SmrgFILE *f = fopen ("conftest.out", "w"); 30879c125d91Smrg return ferror (f) || fclose (f) != 0; 30889c125d91Smrg 30899c125d91Smrg ; 30909c125d91Smrg return 0; 30919c125d91Smrg} 309216910e25Smrg_ACEOF 30939c125d91Smrgac_clean_files="$ac_clean_files conftest.out" 30949c125d91Smrg# Check that the compiler produces executables we can run. If not, either 30959c125d91Smrg# the compiler is broken, or we cross compile. 30969c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 30979c125d91Smrg$as_echo_n "checking whether we are cross compiling... " >&6; } 30989c125d91Smrgif test "$cross_compiling" != yes; then 30999c125d91Smrg { { ac_try="$ac_link" 31009c125d91Smrgcase "(($ac_try" in 31019c125d91Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 31029c125d91Smrg *) ac_try_echo=$ac_try;; 31039c125d91Smrgesac 31049c125d91Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 31059c125d91Smrg$as_echo "$ac_try_echo"; } >&5 31069c125d91Smrg (eval "$ac_link") 2>&5 31079c125d91Smrg ac_status=$? 31089c125d91Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 31099c125d91Smrg test $ac_status = 0; } 31109c125d91Smrg if { ac_try='./conftest$ac_cv_exeext' 31119c125d91Smrg { { case "(($ac_try" in 31129c125d91Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 31139c125d91Smrg *) ac_try_echo=$ac_try;; 31149c125d91Smrgesac 31159c125d91Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 31169c125d91Smrg$as_echo "$ac_try_echo"; } >&5 31179c125d91Smrg (eval "$ac_try") 2>&5 31189c125d91Smrg ac_status=$? 31199c125d91Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 31209c125d91Smrg test $ac_status = 0; }; }; then 31219c125d91Smrg cross_compiling=no 31229c125d91Smrg else 31239c125d91Smrg if test "$cross_compiling" = maybe; then 31249c125d91Smrg cross_compiling=yes 31259c125d91Smrg else 31269c125d91Smrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 31279c125d91Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 31289c125d91Smrgas_fn_error "cannot run C compiled programs. 31299c125d91SmrgIf you meant to cross compile, use \`--host'. 31309c125d91SmrgSee \`config.log' for more details." "$LINENO" 5; } 31319c125d91Smrg fi 31329c125d91Smrg fi 31339c125d91Smrgfi 31349c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 31359c125d91Smrg$as_echo "$cross_compiling" >&6; } 31369c125d91Smrg 31379c125d91Smrgrm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 31389c125d91Smrgac_clean_files=$ac_clean_files_save 31399c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 31409c125d91Smrg$as_echo_n "checking for suffix of object files... " >&6; } 31419c125d91Smrgif test "${ac_cv_objext+set}" = set; then : 31429c125d91Smrg $as_echo_n "(cached) " >&6 31439c125d91Smrgelse 31449c125d91Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 314516910e25Smrg/* end confdefs.h. */ 314616910e25Smrg 314716910e25Smrgint 314816910e25Smrgmain () 314916910e25Smrg{ 315016910e25Smrg 315116910e25Smrg ; 315216910e25Smrg return 0; 315316910e25Smrg} 315416910e25Smrg_ACEOF 315516910e25Smrgrm -f conftest.o conftest.obj 31569c125d91Smrgif { { ac_try="$ac_compile" 31579c125d91Smrgcase "(($ac_try" in 31589c125d91Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 31599c125d91Smrg *) ac_try_echo=$ac_try;; 31609c125d91Smrgesac 31619c125d91Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 31629c125d91Smrg$as_echo "$ac_try_echo"; } >&5 31639c125d91Smrg (eval "$ac_compile") 2>&5 316416910e25Smrg ac_status=$? 31659c125d91Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 31669c125d91Smrg test $ac_status = 0; }; then : 31679c125d91Smrg for ac_file in conftest.o conftest.obj conftest.*; do 31689c125d91Smrg test -f "$ac_file" || continue; 316916910e25Smrg case $ac_file in 31709c125d91Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 317116910e25Smrg *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 317216910e25Smrg break;; 317316910e25Smrg esac 317416910e25Smrgdone 317516910e25Smrgelse 31769c125d91Smrg $as_echo "$as_me: failed program was:" >&5 317716910e25Smrgsed 's/^/| /' conftest.$ac_ext >&5 317816910e25Smrg 31799c125d91Smrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 31809c125d91Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 31819c125d91Smrgas_fn_error "cannot compute suffix of object files: cannot compile 31829c125d91SmrgSee \`config.log' for more details." "$LINENO" 5; } 318316910e25Smrgfi 318416910e25Smrgrm -f conftest.$ac_cv_objext conftest.$ac_ext 318516910e25Smrgfi 31869c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 31879c125d91Smrg$as_echo "$ac_cv_objext" >&6; } 318816910e25SmrgOBJEXT=$ac_cv_objext 318916910e25Smrgac_objext=$OBJEXT 31909c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 31919c125d91Smrg$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 31929c125d91Smrgif test "${ac_cv_c_compiler_gnu+set}" = set; then : 31939c125d91Smrg $as_echo_n "(cached) " >&6 319416910e25Smrgelse 31959c125d91Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 319616910e25Smrg/* end confdefs.h. */ 319716910e25Smrg 319816910e25Smrgint 319916910e25Smrgmain () 320016910e25Smrg{ 320116910e25Smrg#ifndef __GNUC__ 320216910e25Smrg choke me 320316910e25Smrg#endif 320416910e25Smrg 320516910e25Smrg ; 320616910e25Smrg return 0; 320716910e25Smrg} 320816910e25Smrg_ACEOF 32099c125d91Smrgif ac_fn_c_try_compile "$LINENO"; then : 321016910e25Smrg ac_compiler_gnu=yes 321116910e25Smrgelse 32129c125d91Smrg ac_compiler_gnu=no 321316910e25Smrgfi 32149c125d91Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 321516910e25Smrgac_cv_c_compiler_gnu=$ac_compiler_gnu 321616910e25Smrg 321716910e25Smrgfi 32189c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 32199c125d91Smrg$as_echo "$ac_cv_c_compiler_gnu" >&6; } 32209c125d91Smrgif test $ac_compiler_gnu = yes; then 32219c125d91Smrg GCC=yes 32229c125d91Smrgelse 32239c125d91Smrg GCC= 32249c125d91Smrgfi 322516910e25Smrgac_test_CFLAGS=${CFLAGS+set} 322616910e25Smrgac_save_CFLAGS=$CFLAGS 32279c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 32289c125d91Smrg$as_echo_n "checking whether $CC accepts -g... " >&6; } 32299c125d91Smrgif test "${ac_cv_prog_cc_g+set}" = set; then : 32309c125d91Smrg $as_echo_n "(cached) " >&6 32319c125d91Smrgelse 32329c125d91Smrg ac_save_c_werror_flag=$ac_c_werror_flag 32339c125d91Smrg ac_c_werror_flag=yes 32349c125d91Smrg ac_cv_prog_cc_g=no 32359c125d91Smrg CFLAGS="-g" 32369c125d91Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 323716910e25Smrg/* end confdefs.h. */ 323816910e25Smrg 323916910e25Smrgint 324016910e25Smrgmain () 324116910e25Smrg{ 324216910e25Smrg 324316910e25Smrg ; 324416910e25Smrg return 0; 324516910e25Smrg} 324616910e25Smrg_ACEOF 32479c125d91Smrgif ac_fn_c_try_compile "$LINENO"; then : 324816910e25Smrg ac_cv_prog_cc_g=yes 324916910e25Smrgelse 32509c125d91Smrg CFLAGS="" 32519c125d91Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32529c125d91Smrg/* end confdefs.h. */ 32539c125d91Smrg 32549c125d91Smrgint 32559c125d91Smrgmain () 32569c125d91Smrg{ 32579c125d91Smrg 32589c125d91Smrg ; 32599c125d91Smrg return 0; 32609c125d91Smrg} 32619c125d91Smrg_ACEOF 32629c125d91Smrgif ac_fn_c_try_compile "$LINENO"; then : 32639c125d91Smrg 32649c125d91Smrgelse 32659c125d91Smrg ac_c_werror_flag=$ac_save_c_werror_flag 32669c125d91Smrg CFLAGS="-g" 32679c125d91Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32689c125d91Smrg/* end confdefs.h. */ 32699c125d91Smrg 32709c125d91Smrgint 32719c125d91Smrgmain () 32729c125d91Smrg{ 327316910e25Smrg 32749c125d91Smrg ; 32759c125d91Smrg return 0; 32769c125d91Smrg} 32779c125d91Smrg_ACEOF 32789c125d91Smrgif ac_fn_c_try_compile "$LINENO"; then : 32799c125d91Smrg ac_cv_prog_cc_g=yes 32809c125d91Smrgfi 32819c125d91Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 328216910e25Smrgfi 32839c125d91Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 328416910e25Smrgfi 32859c125d91Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 32869c125d91Smrg ac_c_werror_flag=$ac_save_c_werror_flag 32879c125d91Smrgfi 32889c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 32899c125d91Smrg$as_echo "$ac_cv_prog_cc_g" >&6; } 329016910e25Smrgif test "$ac_test_CFLAGS" = set; then 329116910e25Smrg CFLAGS=$ac_save_CFLAGS 329216910e25Smrgelif test $ac_cv_prog_cc_g = yes; then 329316910e25Smrg if test "$GCC" = yes; then 329416910e25Smrg CFLAGS="-g -O2" 329516910e25Smrg else 329616910e25Smrg CFLAGS="-g" 329716910e25Smrg fi 329816910e25Smrgelse 329916910e25Smrg if test "$GCC" = yes; then 330016910e25Smrg CFLAGS="-O2" 330116910e25Smrg else 330216910e25Smrg CFLAGS= 330316910e25Smrg fi 330416910e25Smrgfi 33059c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 33069c125d91Smrg$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 33079c125d91Smrgif test "${ac_cv_prog_cc_c89+set}" = set; then : 33089c125d91Smrg $as_echo_n "(cached) " >&6 330916910e25Smrgelse 33109c125d91Smrg ac_cv_prog_cc_c89=no 331116910e25Smrgac_save_CC=$CC 33129c125d91Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 331316910e25Smrg/* end confdefs.h. */ 331416910e25Smrg#include <stdarg.h> 331516910e25Smrg#include <stdio.h> 331616910e25Smrg#include <sys/types.h> 331716910e25Smrg#include <sys/stat.h> 331816910e25Smrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 331916910e25Smrgstruct buf { int x; }; 332016910e25SmrgFILE * (*rcsopen) (struct buf *, struct stat *, int); 332116910e25Smrgstatic char *e (p, i) 332216910e25Smrg char **p; 332316910e25Smrg int i; 332416910e25Smrg{ 332516910e25Smrg return p[i]; 332616910e25Smrg} 332716910e25Smrgstatic char *f (char * (*g) (char **, int), char **p, ...) 332816910e25Smrg{ 332916910e25Smrg char *s; 333016910e25Smrg va_list v; 333116910e25Smrg va_start (v,p); 333216910e25Smrg s = g (p, va_arg (v,int)); 333316910e25Smrg va_end (v); 333416910e25Smrg return s; 333516910e25Smrg} 333616910e25Smrg 333716910e25Smrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 333816910e25Smrg function prototypes and stuff, but not '\xHH' hex character constants. 333916910e25Smrg These don't provoke an error unfortunately, instead are silently treated 33409c125d91Smrg as 'x'. The following induces an error, until -std is added to get 334116910e25Smrg proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 334216910e25Smrg array size at least. It's necessary to write '\x00'==0 to get something 33439c125d91Smrg that's true only with -std. */ 334416910e25Smrgint osf4_cc_array ['\x00' == 0 ? 1 : -1]; 334516910e25Smrg 33469c125d91Smrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 33479c125d91Smrg inside strings and character constants. */ 33489c125d91Smrg#define FOO(x) 'x' 33499c125d91Smrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 33509c125d91Smrg 335116910e25Smrgint test (int i, double x); 335216910e25Smrgstruct s1 {int (*f) (int a);}; 335316910e25Smrgstruct s2 {int (*f) (double a);}; 335416910e25Smrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 335516910e25Smrgint argc; 335616910e25Smrgchar **argv; 335716910e25Smrgint 335816910e25Smrgmain () 335916910e25Smrg{ 336016910e25Smrgreturn f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 336116910e25Smrg ; 336216910e25Smrg return 0; 336316910e25Smrg} 336416910e25Smrg_ACEOF 33659c125d91Smrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 33669c125d91Smrg -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 336716910e25Smrgdo 336816910e25Smrg CC="$ac_save_CC $ac_arg" 33699c125d91Smrg if ac_fn_c_try_compile "$LINENO"; then : 33709c125d91Smrg ac_cv_prog_cc_c89=$ac_arg 337116910e25Smrgfi 33729c125d91Smrgrm -f core conftest.err conftest.$ac_objext 33739c125d91Smrg test "x$ac_cv_prog_cc_c89" != "xno" && break 337416910e25Smrgdone 33759c125d91Smrgrm -f conftest.$ac_ext 337616910e25SmrgCC=$ac_save_CC 337716910e25Smrg 337816910e25Smrgfi 33799c125d91Smrg# AC_CACHE_VAL 33809c125d91Smrgcase "x$ac_cv_prog_cc_c89" in 33819c125d91Smrg x) 33829c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 33839c125d91Smrg$as_echo "none needed" >&6; } ;; 33849c125d91Smrg xno) 33859c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 33869c125d91Smrg$as_echo "unsupported" >&6; } ;; 338716910e25Smrg *) 33889c125d91Smrg CC="$CC $ac_cv_prog_cc_c89" 33899c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 33909c125d91Smrg$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 339116910e25Smrgesac 33929c125d91Smrgif test "x$ac_cv_prog_cc_c89" != xno; then : 339316910e25Smrg 339416910e25Smrgfi 339516910e25Smrg 339616910e25Smrgac_ext=c 339716910e25Smrgac_cpp='$CPP $CPPFLAGS' 339816910e25Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 339916910e25Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 340016910e25Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 340116910e25Smrg 340216910e25Smrgdepcc="$CC" am_compiler_list= 340316910e25Smrg 34049c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 34059c125d91Smrg$as_echo_n "checking dependency style of $depcc... " >&6; } 34069c125d91Smrgif test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : 34079c125d91Smrg $as_echo_n "(cached) " >&6 340816910e25Smrgelse 340916910e25Smrg if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 341016910e25Smrg # We make a subdir and do the tests there. Otherwise we can end up 341116910e25Smrg # making bogus files that we don't know about and never remove. For 341216910e25Smrg # instance it was reported that on HP-UX the gcc test will end up 341316910e25Smrg # making a dummy file named `D' -- because `-MD' means `put the output 341416910e25Smrg # in D'. 341516910e25Smrg mkdir conftest.dir 341616910e25Smrg # Copy depcomp to subdir because otherwise we won't find it if we're 341716910e25Smrg # using a relative directory. 341816910e25Smrg cp "$am_depcomp" conftest.dir 341916910e25Smrg cd conftest.dir 342016910e25Smrg # We will build objects and dependencies in a subdirectory because 342116910e25Smrg # it helps to detect inapplicable dependency modes. For instance 342216910e25Smrg # both Tru64's cc and ICC support -MD to output dependencies as a 342316910e25Smrg # side effect of compilation, but ICC will put the dependencies in 342416910e25Smrg # the current directory while Tru64 will put them in the object 342516910e25Smrg # directory. 342616910e25Smrg mkdir sub 342716910e25Smrg 342816910e25Smrg am_cv_CC_dependencies_compiler_type=none 342916910e25Smrg if test "$am_compiler_list" = ""; then 343016910e25Smrg am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 343116910e25Smrg fi 34329c125d91Smrg am__universal=false 34339c125d91Smrg case " $depcc " in #( 34349c125d91Smrg *\ -arch\ *\ -arch\ *) am__universal=true ;; 34359c125d91Smrg esac 34369c125d91Smrg 343716910e25Smrg for depmode in $am_compiler_list; do 343816910e25Smrg # Setup a source with many dependencies, because some compilers 343916910e25Smrg # like to wrap large dependency lists on column 80 (with \), and 344016910e25Smrg # we should not choose a depcomp mode which is confused by this. 344116910e25Smrg # 344216910e25Smrg # We need to recreate these files for each test, as the compiler may 344316910e25Smrg # overwrite some of them when testing with obscure command lines. 344416910e25Smrg # This happens at least with the AIX C compiler. 344516910e25Smrg : > sub/conftest.c 344616910e25Smrg for i in 1 2 3 4 5 6; do 344716910e25Smrg echo '#include "conftst'$i'.h"' >> sub/conftest.c 34489c125d91Smrg # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 34499c125d91Smrg # Solaris 8's {/usr,}/bin/sh. 34509c125d91Smrg touch sub/conftst$i.h 345116910e25Smrg done 345216910e25Smrg echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 345316910e25Smrg 34549c125d91Smrg # We check with `-c' and `-o' for the sake of the "dashmstdout" 34559c125d91Smrg # mode. It turns out that the SunPro C++ compiler does not properly 34569c125d91Smrg # handle `-M -o', and we need to detect this. Also, some Intel 34579c125d91Smrg # versions had trouble with output in subdirs 34589c125d91Smrg am__obj=sub/conftest.${OBJEXT-o} 34599c125d91Smrg am__minus_obj="-o $am__obj" 346016910e25Smrg case $depmode in 34619c125d91Smrg gcc) 34629c125d91Smrg # This depmode causes a compiler race in universal mode. 34639c125d91Smrg test "$am__universal" = false || continue 34649c125d91Smrg ;; 346516910e25Smrg nosideeffect) 346616910e25Smrg # after this tag, mechanisms are not by side-effect, so they'll 346716910e25Smrg # only be used when explicitly requested 346816910e25Smrg if test "x$enable_dependency_tracking" = xyes; then 346916910e25Smrg continue 347016910e25Smrg else 347116910e25Smrg break 347216910e25Smrg fi 347316910e25Smrg ;; 34749c125d91Smrg msvisualcpp | msvcmsys) 34759c125d91Smrg # This compiler won't grok `-c -o', but also, the minuso test has 34769c125d91Smrg # not run yet. These depmodes are late enough in the game, and 34779c125d91Smrg # so weak that their functioning should not be impacted. 34789c125d91Smrg am__obj=conftest.${OBJEXT-o} 34799c125d91Smrg am__minus_obj= 34809c125d91Smrg ;; 348116910e25Smrg none) break ;; 348216910e25Smrg esac 348316910e25Smrg if depmode=$depmode \ 34849c125d91Smrg source=sub/conftest.c object=$am__obj \ 348516910e25Smrg depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 34869c125d91Smrg $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 348716910e25Smrg >/dev/null 2>conftest.err && 34889c125d91Smrg grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 348916910e25Smrg grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 34909c125d91Smrg grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 349116910e25Smrg ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 349216910e25Smrg # icc doesn't choke on unknown options, it will just issue warnings 34939c125d91Smrg # or remarks (even with -Werror). So we grep stderr for any message 34949c125d91Smrg # that says an option was ignored or not supported. 34959c125d91Smrg # When given -MP, icc 7.0 and 7.1 complain thusly: 34969c125d91Smrg # icc: Command line warning: ignoring option '-M'; no argument required 34979c125d91Smrg # The diagnosis changed in icc 8.0: 34989c125d91Smrg # icc: Command line remark: option '-MP' not supported 34999c125d91Smrg if (grep 'ignoring option' conftest.err || 35009c125d91Smrg grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 350116910e25Smrg am_cv_CC_dependencies_compiler_type=$depmode 350216910e25Smrg break 350316910e25Smrg fi 350416910e25Smrg fi 350516910e25Smrg done 350616910e25Smrg 350716910e25Smrg cd .. 350816910e25Smrg rm -rf conftest.dir 350916910e25Smrgelse 351016910e25Smrg am_cv_CC_dependencies_compiler_type=none 351116910e25Smrgfi 351216910e25Smrg 351316910e25Smrgfi 35149c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 35159c125d91Smrg$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 351616910e25SmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 351716910e25Smrg 35189c125d91Smrg if 351916910e25Smrg test "x$enable_dependency_tracking" != xno \ 352016910e25Smrg && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 352116910e25Smrg am__fastdepCC_TRUE= 352216910e25Smrg am__fastdepCC_FALSE='#' 352316910e25Smrgelse 352416910e25Smrg am__fastdepCC_TRUE='#' 352516910e25Smrg am__fastdepCC_FALSE= 352616910e25Smrgfi 352716910e25Smrg 352816910e25Smrg 35299c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 35309c125d91Smrg$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 35319c125d91Smrgif test "${ac_cv_prog_cc_c99+set}" = set; then : 35329c125d91Smrg $as_echo_n "(cached) " >&6 353316910e25Smrgelse 35349c125d91Smrg ac_cv_prog_cc_c99=no 35359c125d91Smrgac_save_CC=$CC 35369c125d91Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 35379c125d91Smrg/* end confdefs.h. */ 35389c125d91Smrg#include <stdarg.h> 35399c125d91Smrg#include <stdbool.h> 35409c125d91Smrg#include <stdlib.h> 35419c125d91Smrg#include <wchar.h> 35429c125d91Smrg#include <stdio.h> 35439c125d91Smrg 35449c125d91Smrg// Check varargs macros. These examples are taken from C99 6.10.3.5. 35459c125d91Smrg#define debug(...) fprintf (stderr, __VA_ARGS__) 35469c125d91Smrg#define showlist(...) puts (#__VA_ARGS__) 35479c125d91Smrg#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 35489c125d91Smrgstatic void 35499c125d91Smrgtest_varargs_macros (void) 35509c125d91Smrg{ 35519c125d91Smrg int x = 1234; 35529c125d91Smrg int y = 5678; 35539c125d91Smrg debug ("Flag"); 35549c125d91Smrg debug ("X = %d\n", x); 35559c125d91Smrg showlist (The first, second, and third items.); 35569c125d91Smrg report (x>y, "x is %d but y is %d", x, y); 35579c125d91Smrg} 35589c125d91Smrg 35599c125d91Smrg// Check long long types. 35609c125d91Smrg#define BIG64 18446744073709551615ull 35619c125d91Smrg#define BIG32 4294967295ul 35629c125d91Smrg#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 35639c125d91Smrg#if !BIG_OK 35649c125d91Smrg your preprocessor is broken; 35659c125d91Smrg#endif 35669c125d91Smrg#if BIG_OK 35679c125d91Smrg#else 35689c125d91Smrg your preprocessor is broken; 35699c125d91Smrg#endif 35709c125d91Smrgstatic long long int bignum = -9223372036854775807LL; 35719c125d91Smrgstatic unsigned long long int ubignum = BIG64; 35729c125d91Smrg 35739c125d91Smrgstruct incomplete_array 35749c125d91Smrg{ 35759c125d91Smrg int datasize; 35769c125d91Smrg double data[]; 35779c125d91Smrg}; 35789c125d91Smrg 35799c125d91Smrgstruct named_init { 35809c125d91Smrg int number; 35819c125d91Smrg const wchar_t *name; 35829c125d91Smrg double average; 35839c125d91Smrg}; 35849c125d91Smrg 35859c125d91Smrgtypedef const char *ccp; 35869c125d91Smrg 35879c125d91Smrgstatic inline int 35889c125d91Smrgtest_restrict (ccp restrict text) 35899c125d91Smrg{ 35909c125d91Smrg // See if C++-style comments work. 35919c125d91Smrg // Iterate through items via the restricted pointer. 35929c125d91Smrg // Also check for declarations in for loops. 35939c125d91Smrg for (unsigned int i = 0; *(text+i) != '\0'; ++i) 35949c125d91Smrg continue; 35959c125d91Smrg return 0; 35969c125d91Smrg} 35979c125d91Smrg 35989c125d91Smrg// Check varargs and va_copy. 35999c125d91Smrgstatic void 36009c125d91Smrgtest_varargs (const char *format, ...) 36019c125d91Smrg{ 36029c125d91Smrg va_list args; 36039c125d91Smrg va_start (args, format); 36049c125d91Smrg va_list args_copy; 36059c125d91Smrg va_copy (args_copy, args); 36069c125d91Smrg 36079c125d91Smrg const char *str; 36089c125d91Smrg int number; 36099c125d91Smrg float fnumber; 36109c125d91Smrg 36119c125d91Smrg while (*format) 36129c125d91Smrg { 36139c125d91Smrg switch (*format++) 36149c125d91Smrg { 36159c125d91Smrg case 's': // string 36169c125d91Smrg str = va_arg (args_copy, const char *); 36179c125d91Smrg break; 36189c125d91Smrg case 'd': // int 36199c125d91Smrg number = va_arg (args_copy, int); 36209c125d91Smrg break; 36219c125d91Smrg case 'f': // float 36229c125d91Smrg fnumber = va_arg (args_copy, double); 36239c125d91Smrg break; 36249c125d91Smrg default: 36259c125d91Smrg break; 36269c125d91Smrg } 36279c125d91Smrg } 36289c125d91Smrg va_end (args_copy); 36299c125d91Smrg va_end (args); 36309c125d91Smrg} 36319c125d91Smrg 36329c125d91Smrgint 36339c125d91Smrgmain () 36349c125d91Smrg{ 36359c125d91Smrg 36369c125d91Smrg // Check bool. 36379c125d91Smrg _Bool success = false; 36389c125d91Smrg 36399c125d91Smrg // Check restrict. 36409c125d91Smrg if (test_restrict ("String literal") == 0) 36419c125d91Smrg success = true; 36429c125d91Smrg char *restrict newvar = "Another string"; 36439c125d91Smrg 36449c125d91Smrg // Check varargs. 36459c125d91Smrg test_varargs ("s, d' f .", "string", 65, 34.234); 36469c125d91Smrg test_varargs_macros (); 36479c125d91Smrg 36489c125d91Smrg // Check flexible array members. 36499c125d91Smrg struct incomplete_array *ia = 36509c125d91Smrg malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 36519c125d91Smrg ia->datasize = 10; 36529c125d91Smrg for (int i = 0; i < ia->datasize; ++i) 36539c125d91Smrg ia->data[i] = i * 1.234; 36549c125d91Smrg 36559c125d91Smrg // Check named initializers. 36569c125d91Smrg struct named_init ni = { 36579c125d91Smrg .number = 34, 36589c125d91Smrg .name = L"Test wide string", 36599c125d91Smrg .average = 543.34343, 36609c125d91Smrg }; 36619c125d91Smrg 36629c125d91Smrg ni.number = 58; 36639c125d91Smrg 36649c125d91Smrg int dynamic_array[ni.number]; 36659c125d91Smrg dynamic_array[ni.number - 1] = 543; 36669c125d91Smrg 36679c125d91Smrg // work around unused variable warnings 36689c125d91Smrg return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 36699c125d91Smrg || dynamic_array[ni.number - 1] != 543); 36709c125d91Smrg 36719c125d91Smrg ; 36729c125d91Smrg return 0; 36739c125d91Smrg} 36749c125d91Smrg_ACEOF 36759c125d91Smrgfor ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 36769c125d91Smrgdo 36779c125d91Smrg CC="$ac_save_CC $ac_arg" 36789c125d91Smrg if ac_fn_c_try_compile "$LINENO"; then : 36799c125d91Smrg ac_cv_prog_cc_c99=$ac_arg 36809c125d91Smrgfi 36819c125d91Smrgrm -f core conftest.err conftest.$ac_objext 36829c125d91Smrg test "x$ac_cv_prog_cc_c99" != "xno" && break 36839c125d91Smrgdone 36849c125d91Smrgrm -f conftest.$ac_ext 36859c125d91SmrgCC=$ac_save_CC 36869c125d91Smrg 36879c125d91Smrgfi 36889c125d91Smrg# AC_CACHE_VAL 36899c125d91Smrgcase "x$ac_cv_prog_cc_c99" in 36909c125d91Smrg x) 36919c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 36929c125d91Smrg$as_echo "none needed" >&6; } ;; 36939c125d91Smrg xno) 36949c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 36959c125d91Smrg$as_echo "unsupported" >&6; } ;; 36969c125d91Smrg *) 36979c125d91Smrg CC="$CC $ac_cv_prog_cc_c99" 36989c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 36999c125d91Smrg$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 37009c125d91Smrgesac 37019c125d91Smrgif test "x$ac_cv_prog_cc_c99" != xno; then : 37029c125d91Smrg 37039c125d91Smrgfi 37049c125d91Smrg 37059c125d91Smrg 37069c125d91Smrg 37079c125d91Smrgac_ext=c 37089c125d91Smrgac_cpp='$CPP $CPPFLAGS' 37099c125d91Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 37109c125d91Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 37119c125d91Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 37129c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 37139c125d91Smrg$as_echo_n "checking how to run the C preprocessor... " >&6; } 37149c125d91Smrg# On Suns, sometimes $CPP names a directory. 37159c125d91Smrgif test -n "$CPP" && test -d "$CPP"; then 37169c125d91Smrg CPP= 37179c125d91Smrgfi 37189c125d91Smrgif test -z "$CPP"; then 37199c125d91Smrg if test "${ac_cv_prog_CPP+set}" = set; then : 37209c125d91Smrg $as_echo_n "(cached) " >&6 37219c125d91Smrgelse 37229c125d91Smrg # Double quotes because CPP needs to be expanded 37239c125d91Smrg for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 37249c125d91Smrg do 37259c125d91Smrg ac_preproc_ok=false 37269c125d91Smrgfor ac_c_preproc_warn_flag in '' yes 37279c125d91Smrgdo 37289c125d91Smrg # Use a header file that comes with gcc, so configuring glibc 37299c125d91Smrg # with a fresh cross-compiler works. 37309c125d91Smrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 37319c125d91Smrg # <limits.h> exists even on freestanding compilers. 37329c125d91Smrg # On the NeXT, cc -E runs the code through the compiler's parser, 37339c125d91Smrg # not just through cpp. "Syntax error" is here to catch this case. 37349c125d91Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37359c125d91Smrg/* end confdefs.h. */ 37369c125d91Smrg#ifdef __STDC__ 37379c125d91Smrg# include <limits.h> 37389c125d91Smrg#else 37399c125d91Smrg# include <assert.h> 37409c125d91Smrg#endif 37419c125d91Smrg Syntax error 37429c125d91Smrg_ACEOF 37439c125d91Smrgif ac_fn_c_try_cpp "$LINENO"; then : 37449c125d91Smrg 37459c125d91Smrgelse 37469c125d91Smrg # Broken: fails on valid input. 37479c125d91Smrgcontinue 37489c125d91Smrgfi 37499c125d91Smrgrm -f conftest.err conftest.$ac_ext 37509c125d91Smrg 37519c125d91Smrg # OK, works on sane cases. Now check whether nonexistent headers 37529c125d91Smrg # can be detected and how. 37539c125d91Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37549c125d91Smrg/* end confdefs.h. */ 37559c125d91Smrg#include <ac_nonexistent.h> 37569c125d91Smrg_ACEOF 37579c125d91Smrgif ac_fn_c_try_cpp "$LINENO"; then : 37589c125d91Smrg # Broken: success on invalid input. 37599c125d91Smrgcontinue 37609c125d91Smrgelse 37619c125d91Smrg # Passes both tests. 37629c125d91Smrgac_preproc_ok=: 37639c125d91Smrgbreak 37649c125d91Smrgfi 37659c125d91Smrgrm -f conftest.err conftest.$ac_ext 37669c125d91Smrg 37679c125d91Smrgdone 37689c125d91Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 37699c125d91Smrgrm -f conftest.err conftest.$ac_ext 37709c125d91Smrgif $ac_preproc_ok; then : 37719c125d91Smrg break 37729c125d91Smrgfi 37739c125d91Smrg 37749c125d91Smrg done 37759c125d91Smrg ac_cv_prog_CPP=$CPP 37769c125d91Smrg 37779c125d91Smrgfi 37789c125d91Smrg CPP=$ac_cv_prog_CPP 37799c125d91Smrgelse 37809c125d91Smrg ac_cv_prog_CPP=$CPP 37819c125d91Smrgfi 37829c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 37839c125d91Smrg$as_echo "$CPP" >&6; } 37849c125d91Smrgac_preproc_ok=false 37859c125d91Smrgfor ac_c_preproc_warn_flag in '' yes 37869c125d91Smrgdo 37879c125d91Smrg # Use a header file that comes with gcc, so configuring glibc 37889c125d91Smrg # with a fresh cross-compiler works. 37899c125d91Smrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 37909c125d91Smrg # <limits.h> exists even on freestanding compilers. 37919c125d91Smrg # On the NeXT, cc -E runs the code through the compiler's parser, 37929c125d91Smrg # not just through cpp. "Syntax error" is here to catch this case. 37939c125d91Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37949c125d91Smrg/* end confdefs.h. */ 37959c125d91Smrg#ifdef __STDC__ 37969c125d91Smrg# include <limits.h> 37979c125d91Smrg#else 37989c125d91Smrg# include <assert.h> 37999c125d91Smrg#endif 38009c125d91Smrg Syntax error 38019c125d91Smrg_ACEOF 38029c125d91Smrgif ac_fn_c_try_cpp "$LINENO"; then : 38039c125d91Smrg 38049c125d91Smrgelse 38059c125d91Smrg # Broken: fails on valid input. 38069c125d91Smrgcontinue 38079c125d91Smrgfi 38089c125d91Smrgrm -f conftest.err conftest.$ac_ext 38099c125d91Smrg 38109c125d91Smrg # OK, works on sane cases. Now check whether nonexistent headers 38119c125d91Smrg # can be detected and how. 38129c125d91Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38139c125d91Smrg/* end confdefs.h. */ 38149c125d91Smrg#include <ac_nonexistent.h> 38159c125d91Smrg_ACEOF 38169c125d91Smrgif ac_fn_c_try_cpp "$LINENO"; then : 38179c125d91Smrg # Broken: success on invalid input. 38189c125d91Smrgcontinue 38199c125d91Smrgelse 38209c125d91Smrg # Passes both tests. 38219c125d91Smrgac_preproc_ok=: 38229c125d91Smrgbreak 38239c125d91Smrgfi 38249c125d91Smrgrm -f conftest.err conftest.$ac_ext 38259c125d91Smrg 38269c125d91Smrgdone 38279c125d91Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 38289c125d91Smrgrm -f conftest.err conftest.$ac_ext 38299c125d91Smrgif $ac_preproc_ok; then : 38309c125d91Smrg 38319c125d91Smrgelse 38329c125d91Smrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 38339c125d91Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 38349c125d91Smrgas_fn_error "C preprocessor \"$CPP\" fails sanity check 38359c125d91SmrgSee \`config.log' for more details." "$LINENO" 5; } 38369c125d91Smrgfi 38379c125d91Smrg 38389c125d91Smrgac_ext=c 38399c125d91Smrgac_cpp='$CPP $CPPFLAGS' 38409c125d91Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 38419c125d91Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 38429c125d91Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 38439c125d91Smrg 38449c125d91Smrg 38459c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 38469c125d91Smrg$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 38479c125d91Smrgif test "${ac_cv_path_GREP+set}" = set; then : 38489c125d91Smrg $as_echo_n "(cached) " >&6 38499c125d91Smrgelse 38509c125d91Smrg if test -z "$GREP"; then 38519c125d91Smrg ac_path_GREP_found=false 38529c125d91Smrg # Loop through the user's path and test for each of PROGNAME-LIST 385316910e25Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 38549c125d91Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 385516910e25Smrgdo 385616910e25Smrg IFS=$as_save_IFS 385716910e25Smrg test -z "$as_dir" && as_dir=. 38589c125d91Smrg for ac_prog in grep ggrep; do 38599c125d91Smrg for ac_exec_ext in '' $ac_executable_extensions; do 38609c125d91Smrg ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 38619c125d91Smrg { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 38629c125d91Smrg# Check for GNU ac_path_GREP and select it if it is found. 38639c125d91Smrg # Check for GNU $ac_path_GREP 38649c125d91Smrgcase `"$ac_path_GREP" --version 2>&1` in 38659c125d91Smrg*GNU*) 38669c125d91Smrg ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 38679c125d91Smrg*) 38689c125d91Smrg ac_count=0 38699c125d91Smrg $as_echo_n 0123456789 >"conftest.in" 38709c125d91Smrg while : 38719c125d91Smrg do 38729c125d91Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 38739c125d91Smrg mv "conftest.tmp" "conftest.in" 38749c125d91Smrg cp "conftest.in" "conftest.nl" 38759c125d91Smrg $as_echo 'GREP' >> "conftest.nl" 38769c125d91Smrg "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 38779c125d91Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 38789c125d91Smrg as_fn_arith $ac_count + 1 && ac_count=$as_val 38799c125d91Smrg if test $ac_count -gt ${ac_path_GREP_max-0}; then 38809c125d91Smrg # Best one so far, save it but keep looking for a better one 38819c125d91Smrg ac_cv_path_GREP="$ac_path_GREP" 38829c125d91Smrg ac_path_GREP_max=$ac_count 38839c125d91Smrg fi 38849c125d91Smrg # 10*(2^10) chars as input seems more than enough 38859c125d91Smrg test $ac_count -gt 10 && break 38869c125d91Smrg done 38879c125d91Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 38889c125d91Smrgesac 38899c125d91Smrg 38909c125d91Smrg $ac_path_GREP_found && break 3 389116910e25Smrg done 38929c125d91Smrg done 38939c125d91Smrg done 38949c125d91SmrgIFS=$as_save_IFS 38959c125d91Smrg if test -z "$ac_cv_path_GREP"; then 38969c125d91Smrg as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 38979c125d91Smrg fi 38989c125d91Smrgelse 38999c125d91Smrg ac_cv_path_GREP=$GREP 39009c125d91Smrgfi 39019c125d91Smrg 39029c125d91Smrgfi 39039c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 39049c125d91Smrg$as_echo "$ac_cv_path_GREP" >&6; } 39059c125d91Smrg GREP="$ac_cv_path_GREP" 39069c125d91Smrg 39079c125d91Smrg 39089c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 39099c125d91Smrg$as_echo_n "checking for egrep... " >&6; } 39109c125d91Smrgif test "${ac_cv_path_EGREP+set}" = set; then : 39119c125d91Smrg $as_echo_n "(cached) " >&6 39129c125d91Smrgelse 39139c125d91Smrg if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 39149c125d91Smrg then ac_cv_path_EGREP="$GREP -E" 39159c125d91Smrg else 39169c125d91Smrg if test -z "$EGREP"; then 39179c125d91Smrg ac_path_EGREP_found=false 39189c125d91Smrg # Loop through the user's path and test for each of PROGNAME-LIST 39199c125d91Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 39209c125d91Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 39219c125d91Smrgdo 39229c125d91Smrg IFS=$as_save_IFS 39239c125d91Smrg test -z "$as_dir" && as_dir=. 39249c125d91Smrg for ac_prog in egrep; do 39259c125d91Smrg for ac_exec_ext in '' $ac_executable_extensions; do 39269c125d91Smrg ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 39279c125d91Smrg { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 39289c125d91Smrg# Check for GNU ac_path_EGREP and select it if it is found. 39299c125d91Smrg # Check for GNU $ac_path_EGREP 39309c125d91Smrgcase `"$ac_path_EGREP" --version 2>&1` in 39319c125d91Smrg*GNU*) 39329c125d91Smrg ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 39339c125d91Smrg*) 39349c125d91Smrg ac_count=0 39359c125d91Smrg $as_echo_n 0123456789 >"conftest.in" 39369c125d91Smrg while : 39379c125d91Smrg do 39389c125d91Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 39399c125d91Smrg mv "conftest.tmp" "conftest.in" 39409c125d91Smrg cp "conftest.in" "conftest.nl" 39419c125d91Smrg $as_echo 'EGREP' >> "conftest.nl" 39429c125d91Smrg "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 39439c125d91Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 39449c125d91Smrg as_fn_arith $ac_count + 1 && ac_count=$as_val 39459c125d91Smrg if test $ac_count -gt ${ac_path_EGREP_max-0}; then 39469c125d91Smrg # Best one so far, save it but keep looking for a better one 39479c125d91Smrg ac_cv_path_EGREP="$ac_path_EGREP" 39489c125d91Smrg ac_path_EGREP_max=$ac_count 39499c125d91Smrg fi 39509c125d91Smrg # 10*(2^10) chars as input seems more than enough 39519c125d91Smrg test $ac_count -gt 10 && break 39529c125d91Smrg done 39539c125d91Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 395416910e25Smrgesac 395516910e25Smrg 39569c125d91Smrg $ac_path_EGREP_found && break 3 39579c125d91Smrg done 39589c125d91Smrg done 39599c125d91Smrg done 39609c125d91SmrgIFS=$as_save_IFS 39619c125d91Smrg if test -z "$ac_cv_path_EGREP"; then 39629c125d91Smrg as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 39639c125d91Smrg fi 39649c125d91Smrgelse 39659c125d91Smrg ac_cv_path_EGREP=$EGREP 39669c125d91Smrgfi 39679c125d91Smrg 39689c125d91Smrg fi 39699c125d91Smrgfi 39709c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 39719c125d91Smrg$as_echo "$ac_cv_path_EGREP" >&6; } 39729c125d91Smrg EGREP="$ac_cv_path_EGREP" 39739c125d91Smrg 39749c125d91Smrg 39759c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 39769c125d91Smrg$as_echo_n "checking for ANSI C header files... " >&6; } 39779c125d91Smrgif test "${ac_cv_header_stdc+set}" = set; then : 39789c125d91Smrg $as_echo_n "(cached) " >&6 39799c125d91Smrgelse 39809c125d91Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39819c125d91Smrg/* end confdefs.h. */ 39829c125d91Smrg#include <stdlib.h> 39839c125d91Smrg#include <stdarg.h> 39849c125d91Smrg#include <string.h> 39859c125d91Smrg#include <float.h> 39869c125d91Smrg 39879c125d91Smrgint 39889c125d91Smrgmain () 39899c125d91Smrg{ 39909c125d91Smrg 39919c125d91Smrg ; 39929c125d91Smrg return 0; 39939c125d91Smrg} 39949c125d91Smrg_ACEOF 39959c125d91Smrgif ac_fn_c_try_compile "$LINENO"; then : 39969c125d91Smrg ac_cv_header_stdc=yes 39979c125d91Smrgelse 39989c125d91Smrg ac_cv_header_stdc=no 39999c125d91Smrgfi 40009c125d91Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 40019c125d91Smrg 40029c125d91Smrgif test $ac_cv_header_stdc = yes; then 40039c125d91Smrg # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 40049c125d91Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40059c125d91Smrg/* end confdefs.h. */ 40069c125d91Smrg#include <string.h> 40079c125d91Smrg 40089c125d91Smrg_ACEOF 40099c125d91Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 40109c125d91Smrg $EGREP "memchr" >/dev/null 2>&1; then : 40119c125d91Smrg 40129c125d91Smrgelse 40139c125d91Smrg ac_cv_header_stdc=no 40149c125d91Smrgfi 40159c125d91Smrgrm -f conftest* 40169c125d91Smrg 40179c125d91Smrgfi 40189c125d91Smrg 40199c125d91Smrgif test $ac_cv_header_stdc = yes; then 40209c125d91Smrg # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 40219c125d91Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40229c125d91Smrg/* end confdefs.h. */ 40239c125d91Smrg#include <stdlib.h> 40249c125d91Smrg 40259c125d91Smrg_ACEOF 40269c125d91Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 40279c125d91Smrg $EGREP "free" >/dev/null 2>&1; then : 402816910e25Smrg 40299c125d91Smrgelse 40309c125d91Smrg ac_cv_header_stdc=no 403116910e25Smrgfi 40329c125d91Smrgrm -f conftest* 40339c125d91Smrg 403416910e25Smrgfi 403516910e25Smrg 40369c125d91Smrgif test $ac_cv_header_stdc = yes; then 40379c125d91Smrg # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 40389c125d91Smrg if test "$cross_compiling" = yes; then : 40399c125d91Smrg : 40409c125d91Smrgelse 40419c125d91Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40429c125d91Smrg/* end confdefs.h. */ 40439c125d91Smrg#include <ctype.h> 40449c125d91Smrg#include <stdlib.h> 40459c125d91Smrg#if ((' ' & 0x0FF) == 0x020) 40469c125d91Smrg# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 40479c125d91Smrg# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 40489c125d91Smrg#else 40499c125d91Smrg# define ISLOWER(c) \ 40509c125d91Smrg (('a' <= (c) && (c) <= 'i') \ 40519c125d91Smrg || ('j' <= (c) && (c) <= 'r') \ 40529c125d91Smrg || ('s' <= (c) && (c) <= 'z')) 40539c125d91Smrg# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 40549c125d91Smrg#endif 405516910e25Smrg 40569c125d91Smrg#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 40579c125d91Smrgint 40589c125d91Smrgmain () 40599c125d91Smrg{ 40609c125d91Smrg int i; 40619c125d91Smrg for (i = 0; i < 256; i++) 40629c125d91Smrg if (XOR (islower (i), ISLOWER (i)) 40639c125d91Smrg || toupper (i) != TOUPPER (i)) 40649c125d91Smrg return 2; 40659c125d91Smrg return 0; 40669c125d91Smrg} 40679c125d91Smrg_ACEOF 40689c125d91Smrgif ac_fn_c_try_run "$LINENO"; then : 406916910e25Smrg 40709c125d91Smrgelse 40719c125d91Smrg ac_cv_header_stdc=no 40729c125d91Smrgfi 40739c125d91Smrgrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 40749c125d91Smrg conftest.$ac_objext conftest.beam conftest.$ac_ext 40759c125d91Smrgfi 40769c125d91Smrg 40779c125d91Smrgfi 40789c125d91Smrgfi 40799c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 40809c125d91Smrg$as_echo "$ac_cv_header_stdc" >&6; } 40819c125d91Smrgif test $ac_cv_header_stdc = yes; then 40829c125d91Smrg 40839c125d91Smrg$as_echo "#define STDC_HEADERS 1" >>confdefs.h 40849c125d91Smrg 40859c125d91Smrgfi 40869c125d91Smrg 40879c125d91Smrg# On IRIX 5.3, sys/types and inttypes.h are conflicting. 40889c125d91Smrgfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 40899c125d91Smrg inttypes.h stdint.h unistd.h 40909c125d91Smrgdo : 40919c125d91Smrg as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 40929c125d91Smrgac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 40939c125d91Smrg" 40949c125d91Smrgeval as_val=\$$as_ac_Header 40959c125d91Smrg if test "x$as_val" = x""yes; then : 40969c125d91Smrg cat >>confdefs.h <<_ACEOF 40979c125d91Smrg#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 40989c125d91Smrg_ACEOF 40999c125d91Smrg 41009c125d91Smrgfi 41019c125d91Smrg 41029c125d91Smrgdone 410316910e25Smrg 410416910e25Smrg 410516910e25Smrg 410616910e25Smrg 410716910e25Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 410816910e25Smrg if test -n "$ac_tool_prefix"; then 410916910e25Smrg # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 411016910e25Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2 41119c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 41129c125d91Smrg$as_echo_n "checking for $ac_word... " >&6; } 41139c125d91Smrgif test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 41149c125d91Smrg $as_echo_n "(cached) " >&6 411516910e25Smrgelse 411616910e25Smrg case $PKG_CONFIG in 411716910e25Smrg [\\/]* | ?:[\\/]*) 411816910e25Smrg ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 411916910e25Smrg ;; 412016910e25Smrg *) 412116910e25Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 412216910e25Smrgfor as_dir in $PATH 412316910e25Smrgdo 412416910e25Smrg IFS=$as_save_IFS 412516910e25Smrg test -z "$as_dir" && as_dir=. 41269c125d91Smrg for ac_exec_ext in '' $ac_executable_extensions; do 41279c125d91Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 412816910e25Smrg ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 41299c125d91Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 413016910e25Smrg break 2 413116910e25Smrg fi 413216910e25Smrgdone 41339c125d91Smrg done 41349c125d91SmrgIFS=$as_save_IFS 413516910e25Smrg 413616910e25Smrg ;; 413716910e25Smrgesac 413816910e25Smrgfi 413916910e25SmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG 414016910e25Smrgif test -n "$PKG_CONFIG"; then 41419c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 41429c125d91Smrg$as_echo "$PKG_CONFIG" >&6; } 414316910e25Smrgelse 41449c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 41459c125d91Smrg$as_echo "no" >&6; } 414616910e25Smrgfi 414716910e25Smrg 41489c125d91Smrg 414916910e25Smrgfi 415016910e25Smrgif test -z "$ac_cv_path_PKG_CONFIG"; then 415116910e25Smrg ac_pt_PKG_CONFIG=$PKG_CONFIG 415216910e25Smrg # Extract the first word of "pkg-config", so it can be a program name with args. 415316910e25Smrgset dummy pkg-config; ac_word=$2 41549c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 41559c125d91Smrg$as_echo_n "checking for $ac_word... " >&6; } 41569c125d91Smrgif test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then : 41579c125d91Smrg $as_echo_n "(cached) " >&6 415816910e25Smrgelse 415916910e25Smrg case $ac_pt_PKG_CONFIG in 416016910e25Smrg [\\/]* | ?:[\\/]*) 416116910e25Smrg ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 416216910e25Smrg ;; 416316910e25Smrg *) 416416910e25Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 416516910e25Smrgfor as_dir in $PATH 416616910e25Smrgdo 416716910e25Smrg IFS=$as_save_IFS 416816910e25Smrg test -z "$as_dir" && as_dir=. 41699c125d91Smrg for ac_exec_ext in '' $ac_executable_extensions; do 41709c125d91Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 417116910e25Smrg ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 41729c125d91Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 417316910e25Smrg break 2 417416910e25Smrg fi 417516910e25Smrgdone 41769c125d91Smrg done 41779c125d91SmrgIFS=$as_save_IFS 417816910e25Smrg 417916910e25Smrg ;; 418016910e25Smrgesac 418116910e25Smrgfi 418216910e25Smrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 418316910e25Smrgif test -n "$ac_pt_PKG_CONFIG"; then 41849c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 41859c125d91Smrg$as_echo "$ac_pt_PKG_CONFIG" >&6; } 418616910e25Smrgelse 41879c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 41889c125d91Smrg$as_echo "no" >&6; } 418916910e25Smrgfi 419016910e25Smrg 41919c125d91Smrg if test "x$ac_pt_PKG_CONFIG" = x; then 41929c125d91Smrg PKG_CONFIG="" 41939c125d91Smrg else 41949c125d91Smrg case $cross_compiling:$ac_tool_warned in 41959c125d91Smrgyes:) 41969c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 41979c125d91Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 41989c125d91Smrgac_tool_warned=yes ;; 41999c125d91Smrgesac 42009c125d91Smrg PKG_CONFIG=$ac_pt_PKG_CONFIG 42019c125d91Smrg fi 420216910e25Smrgelse 420316910e25Smrg PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 420416910e25Smrgfi 420516910e25Smrg 420616910e25Smrgfi 420716910e25Smrgif test -n "$PKG_CONFIG"; then 420816910e25Smrg _pkg_min_version=0.9.0 42099c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 42109c125d91Smrg$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 421116910e25Smrg if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 42129c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 42139c125d91Smrg$as_echo "yes" >&6; } 421416910e25Smrg else 42159c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 42169c125d91Smrg$as_echo "no" >&6; } 421716910e25Smrg PKG_CONFIG="" 421816910e25Smrg fi 421916910e25Smrg 422016910e25Smrgfi 42219c125d91Smrg# Make sure we can run config.sub. 42229c125d91Smrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 42239c125d91Smrg as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 422416910e25Smrg 42259c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 42269c125d91Smrg$as_echo_n "checking build system type... " >&6; } 42279c125d91Smrgif test "${ac_cv_build+set}" = set; then : 42289c125d91Smrg $as_echo_n "(cached) " >&6 422916910e25Smrgelse 42309c125d91Smrg ac_build_alias=$build_alias 42319c125d91Smrgtest "x$ac_build_alias" = x && 42329c125d91Smrg ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 42339c125d91Smrgtest "x$ac_build_alias" = x && 42349c125d91Smrg as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 42359c125d91Smrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 42369c125d91Smrg as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 42379c125d91Smrg 42389c125d91Smrgfi 42399c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 42409c125d91Smrg$as_echo "$ac_cv_build" >&6; } 42419c125d91Smrgcase $ac_cv_build in 42429c125d91Smrg*-*-*) ;; 42439c125d91Smrg*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 42449c125d91Smrgesac 42459c125d91Smrgbuild=$ac_cv_build 42469c125d91Smrgac_save_IFS=$IFS; IFS='-' 42479c125d91Smrgset x $ac_cv_build 42489c125d91Smrgshift 42499c125d91Smrgbuild_cpu=$1 42509c125d91Smrgbuild_vendor=$2 42519c125d91Smrgshift; shift 42529c125d91Smrg# Remember, the first character of IFS is used to create $*, 42539c125d91Smrg# except with old shells: 42549c125d91Smrgbuild_os=$* 42559c125d91SmrgIFS=$ac_save_IFS 42569c125d91Smrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 42579c125d91Smrg 42589c125d91Smrg 42599c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 42609c125d91Smrg$as_echo_n "checking host system type... " >&6; } 42619c125d91Smrgif test "${ac_cv_host+set}" = set; then : 42629c125d91Smrg $as_echo_n "(cached) " >&6 426316910e25Smrgelse 42649c125d91Smrg if test "x$host_alias" = x; then 42659c125d91Smrg ac_cv_host=$ac_cv_build 426616910e25Smrgelse 42679c125d91Smrg ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 42689c125d91Smrg as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 426916910e25Smrgfi 42709c125d91Smrg 427116910e25Smrgfi 42729c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 42739c125d91Smrg$as_echo "$ac_cv_host" >&6; } 42749c125d91Smrgcase $ac_cv_host in 42759c125d91Smrg*-*-*) ;; 42769c125d91Smrg*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 42779c125d91Smrgesac 42789c125d91Smrghost=$ac_cv_host 42799c125d91Smrgac_save_IFS=$IFS; IFS='-' 42809c125d91Smrgset x $ac_cv_host 42819c125d91Smrgshift 42829c125d91Smrghost_cpu=$1 42839c125d91Smrghost_vendor=$2 42849c125d91Smrgshift; shift 42859c125d91Smrg# Remember, the first character of IFS is used to create $*, 42869c125d91Smrg# except with old shells: 42879c125d91Smrghost_os=$* 42889c125d91SmrgIFS=$ac_save_IFS 42899c125d91Smrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 42909c125d91Smrg 42919c125d91Smrg 42929c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 42939c125d91Smrg$as_echo_n "checking for a sed that does not truncate output... " >&6; } 42949c125d91Smrgif test "${ac_cv_path_SED+set}" = set; then : 42959c125d91Smrg $as_echo_n "(cached) " >&6 42969c125d91Smrgelse 42979c125d91Smrg ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 42989c125d91Smrg for ac_i in 1 2 3 4 5 6 7; do 42999c125d91Smrg ac_script="$ac_script$as_nl$ac_script" 43009c125d91Smrg done 43019c125d91Smrg echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 43029c125d91Smrg { ac_script=; unset ac_script;} 43039c125d91Smrg if test -z "$SED"; then 43049c125d91Smrg ac_path_SED_found=false 43059c125d91Smrg # Loop through the user's path and test for each of PROGNAME-LIST 43069c125d91Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 43079c125d91Smrgfor as_dir in $PATH 43089c125d91Smrgdo 43099c125d91Smrg IFS=$as_save_IFS 43109c125d91Smrg test -z "$as_dir" && as_dir=. 43119c125d91Smrg for ac_prog in sed gsed; do 43129c125d91Smrg for ac_exec_ext in '' $ac_executable_extensions; do 43139c125d91Smrg ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 43149c125d91Smrg { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 43159c125d91Smrg# Check for GNU ac_path_SED and select it if it is found. 43169c125d91Smrg # Check for GNU $ac_path_SED 43179c125d91Smrgcase `"$ac_path_SED" --version 2>&1` in 43189c125d91Smrg*GNU*) 43199c125d91Smrg ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 43209c125d91Smrg*) 43219c125d91Smrg ac_count=0 43229c125d91Smrg $as_echo_n 0123456789 >"conftest.in" 43239c125d91Smrg while : 43249c125d91Smrg do 43259c125d91Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 43269c125d91Smrg mv "conftest.tmp" "conftest.in" 43279c125d91Smrg cp "conftest.in" "conftest.nl" 43289c125d91Smrg $as_echo '' >> "conftest.nl" 43299c125d91Smrg "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 43309c125d91Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 43319c125d91Smrg as_fn_arith $ac_count + 1 && ac_count=$as_val 43329c125d91Smrg if test $ac_count -gt ${ac_path_SED_max-0}; then 43339c125d91Smrg # Best one so far, save it but keep looking for a better one 43349c125d91Smrg ac_cv_path_SED="$ac_path_SED" 43359c125d91Smrg ac_path_SED_max=$ac_count 433616910e25Smrg fi 43379c125d91Smrg # 10*(2^10) chars as input seems more than enough 43389c125d91Smrg test $ac_count -gt 10 && break 43399c125d91Smrg done 43409c125d91Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 43419c125d91Smrgesac 43429c125d91Smrg 43439c125d91Smrg $ac_path_SED_found && break 3 43449c125d91Smrg done 43459c125d91Smrg done 43469c125d91Smrg done 43479c125d91SmrgIFS=$as_save_IFS 43489c125d91Smrg if test -z "$ac_cv_path_SED"; then 43499c125d91Smrg as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5 43509c125d91Smrg fi 435116910e25Smrgelse 43529c125d91Smrg ac_cv_path_SED=$SED 435316910e25Smrgfi 435416910e25Smrg 43559c125d91Smrgfi 43569c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 43579c125d91Smrg$as_echo "$ac_cv_path_SED" >&6; } 43589c125d91Smrg SED="$ac_cv_path_SED" 43599c125d91Smrg rm -f conftest.sed 436016910e25Smrg 436116910e25Smrg 436216910e25Smrg 43639c125d91Smrg 43649c125d91Smrg 43659c125d91Smrgif test "x$GCC" = xyes ; then 43669c125d91Smrg CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \ 43679c125d91Smrg-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \ 43689c125d91Smrg-Wbad-function-cast -Wformat=2" 43699c125d91Smrg case `$CC -dumpversion` in 43709c125d91Smrg 3.4.* | 4.*) 43719c125d91Smrg CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement" 43729c125d91Smrg ;; 43739c125d91Smrg esac 437416910e25Smrgelse 43759c125d91Smrg ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 43769c125d91Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then : 43779c125d91Smrg SUNCC="yes" 43789c125d91Smrgelse 43799c125d91Smrg SUNCC="no" 438016910e25Smrgfi 438116910e25Smrg 43829c125d91Smrg if test "x$SUNCC" = "xyes"; then 43839c125d91Smrg CWARNFLAGS="-v" 43849c125d91Smrg fi 438516910e25Smrgfi 438616910e25Smrg 438716910e25Smrg 43889c125d91Smrg 43899c125d91Smrg# If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89 43909c125d91Smrg 43919c125d91Smrg 43929c125d91Smrg 43939c125d91Smrg# Check whether --enable-strict-compilation was given. 43949c125d91Smrgif test "${enable_strict_compilation+set}" = set; then : 43959c125d91Smrg enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval 439616910e25Smrgelse 43979c125d91Smrg STRICT_COMPILE=no 439816910e25Smrgfi 43999c125d91Smrg 44009c125d91Smrgif test "x$STRICT_COMPILE" = "xyes"; then 44019c125d91Smrg ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 44029c125d91Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then : 44039c125d91Smrg SUNCC="yes" 440416910e25Smrgelse 44059c125d91Smrg SUNCC="no" 440616910e25Smrgfi 44079c125d91Smrg 44089c125d91Smrg ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" 44099c125d91Smrgif test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then : 44109c125d91Smrg INTELCC="yes" 441116910e25Smrgelse 44129c125d91Smrg INTELCC="no" 441316910e25Smrgfi 44149c125d91Smrg 44159c125d91Smrg if test "x$GCC" = xyes ; then 44169c125d91Smrg STRICT_CFLAGS="-pedantic -Werror" 44179c125d91Smrg elif test "x$SUNCC" = "xyes"; then 44189c125d91Smrg STRICT_CFLAGS="-errwarn" 44199c125d91Smrg elif test "x$INTELCC" = "xyes"; then 44209c125d91Smrg STRICT_CFLAGS="-Werror" 44219c125d91Smrg fi 442216910e25Smrgfi 44239c125d91SmrgCWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS" 442416910e25Smrg 442516910e25Smrg 442616910e25Smrg 442716910e25Smrg 44289c125d91Smrgcat >>confdefs.h <<_ACEOF 44299c125d91Smrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 44309c125d91Smrg_ACEOF 44319c125d91Smrg 44329c125d91Smrg PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 44339c125d91Smrg if test "x$PVM" = "x"; then 44349c125d91Smrg PVM="0" 44359c125d91Smrg fi 44369c125d91Smrg 44379c125d91Smrgcat >>confdefs.h <<_ACEOF 44389c125d91Smrg#define PACKAGE_VERSION_MINOR $PVM 44399c125d91Smrg_ACEOF 44409c125d91Smrg 44419c125d91Smrg PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 44429c125d91Smrg if test "x$PVP" = "x"; then 44439c125d91Smrg PVP="0" 44449c125d91Smrg fi 44459c125d91Smrg 44469c125d91Smrgcat >>confdefs.h <<_ACEOF 44479c125d91Smrg#define PACKAGE_VERSION_PATCHLEVEL $PVP 44489c125d91Smrg_ACEOF 44499c125d91Smrg 44509c125d91Smrg 44519c125d91Smrg 44529c125d91SmrgCHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \ 44539c125d91Smrgmv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \ 44549c125d91Smrg|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \ 44559c125d91Smrgecho 'git directory not found: installing possibly empty changelog.' >&2)" 44569c125d91Smrg 44579c125d91Smrg 44589c125d91Smrg 44599c125d91Smrg 44609c125d91Smrgmacros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros` 44619c125d91SmrgINSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \ 44629c125d91Smrgmv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \ 44639c125d91Smrg|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \ 44649c125d91Smrgecho 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)" 44659c125d91Smrg 44669c125d91Smrg 44679c125d91Smrg 44689c125d91Smrg 44699c125d91Smrg 44709c125d91Smrg 44719c125d91Smrgif test x$APP_MAN_SUFFIX = x ; then 44729c125d91Smrg APP_MAN_SUFFIX=1 44739c125d91Smrgfi 44749c125d91Smrgif test x$APP_MAN_DIR = x ; then 44759c125d91Smrg APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 447616910e25Smrgfi 447716910e25Smrg 44789c125d91Smrgif test x$LIB_MAN_SUFFIX = x ; then 44799c125d91Smrg LIB_MAN_SUFFIX=3 44809c125d91Smrgfi 44819c125d91Smrgif test x$LIB_MAN_DIR = x ; then 44829c125d91Smrg LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 44839c125d91Smrgfi 44849c125d91Smrg 44859c125d91Smrgif test x$FILE_MAN_SUFFIX = x ; then 44869c125d91Smrg case $host_os in 44879c125d91Smrg solaris*) FILE_MAN_SUFFIX=4 ;; 44889c125d91Smrg *) FILE_MAN_SUFFIX=5 ;; 44899c125d91Smrg esac 44909c125d91Smrgfi 44919c125d91Smrgif test x$FILE_MAN_DIR = x ; then 44929c125d91Smrg FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 44939c125d91Smrgfi 44949c125d91Smrg 44959c125d91Smrgif test x$MISC_MAN_SUFFIX = x ; then 44969c125d91Smrg case $host_os in 44979c125d91Smrg solaris*) MISC_MAN_SUFFIX=5 ;; 44989c125d91Smrg *) MISC_MAN_SUFFIX=7 ;; 44999c125d91Smrg esac 45009c125d91Smrgfi 45019c125d91Smrgif test x$MISC_MAN_DIR = x ; then 45029c125d91Smrg MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 45039c125d91Smrgfi 45049c125d91Smrg 45059c125d91Smrgif test x$DRIVER_MAN_SUFFIX = x ; then 45069c125d91Smrg case $host_os in 45079c125d91Smrg solaris*) DRIVER_MAN_SUFFIX=7 ;; 45089c125d91Smrg *) DRIVER_MAN_SUFFIX=4 ;; 45099c125d91Smrg esac 45109c125d91Smrgfi 45119c125d91Smrgif test x$DRIVER_MAN_DIR = x ; then 45129c125d91Smrg DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 45139c125d91Smrgfi 45149c125d91Smrg 45159c125d91Smrgif test x$ADMIN_MAN_SUFFIX = x ; then 45169c125d91Smrg case $host_os in 45179c125d91Smrg solaris*) ADMIN_MAN_SUFFIX=1m ;; 45189c125d91Smrg *) ADMIN_MAN_SUFFIX=8 ;; 45199c125d91Smrg esac 45209c125d91Smrgfi 45219c125d91Smrgif test x$ADMIN_MAN_DIR = x ; then 45229c125d91Smrg ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 452316910e25Smrgfi 452416910e25Smrg 452516910e25Smrg 452616910e25Smrg 452716910e25Smrg 45289c125d91Smrg 45299c125d91Smrg 45309c125d91Smrg 45319c125d91Smrg 45329c125d91Smrg 45339c125d91Smrg 45349c125d91Smrg 45359c125d91Smrg 45369c125d91Smrg 45379c125d91Smrg 45389c125d91Smrg 45399c125d91SmrgXORG_MAN_PAGE="X Version 11" 45409c125d91Smrg 45419c125d91SmrgMAN_SUBSTS="\ 45429c125d91Smrg -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 45439c125d91Smrg -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 45449c125d91Smrg -e 's|__xservername__|Xorg|g' \ 45459c125d91Smrg -e 's|__xconfigfile__|xorg.conf|g' \ 45469c125d91Smrg -e 's|__projectroot__|\$(prefix)|g' \ 45479c125d91Smrg -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \ 45489c125d91Smrg -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \ 45499c125d91Smrg -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \ 45509c125d91Smrg -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \ 45519c125d91Smrg -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \ 45529c125d91Smrg -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'" 45539c125d91Smrg 45549c125d91Smrg 45559c125d91Smrg 45569c125d91Smrg# Check whether --enable-silent-rules was given. 45579c125d91Smrgif test "${enable_silent_rules+set}" = set; then : 45589c125d91Smrg enableval=$enable_silent_rules; 455916910e25Smrgfi 456016910e25Smrg 45619c125d91Smrgcase $enable_silent_rules in 45629c125d91Smrgyes) AM_DEFAULT_VERBOSITY=0;; 45639c125d91Smrgno) AM_DEFAULT_VERBOSITY=1;; 45649c125d91Smrg*) AM_DEFAULT_VERBOSITY=0;; 45659c125d91Smrgesac 45669c125d91SmrgAM_BACKSLASH='\' 456716910e25Smrg 456816910e25Smrg 456916910e25Smrg 45709c125d91Smrgac_config_headers="$ac_config_headers config.h" 45719c125d91Smrg 45729c125d91Smrg 45739c125d91Smrg 45749c125d91Smrg 45759c125d91Smrg# Checks for pkg-config packages 45769c125d91Smrg 45779c125d91Smrgpkg_failed=no 45789c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XMORE" >&5 45799c125d91Smrg$as_echo_n "checking for XMORE... " >&6; } 45809c125d91Smrg 45819c125d91Smrgif test -n "$XMORE_CFLAGS"; then 45829c125d91Smrg pkg_cv_XMORE_CFLAGS="$XMORE_CFLAGS" 45839c125d91Smrg elif test -n "$PKG_CONFIG"; then 45849c125d91Smrg if test -n "$PKG_CONFIG" && \ 45859c125d91Smrg { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7\""; } >&5 45869c125d91Smrg ($PKG_CONFIG --exists --print-errors "xaw7") 2>&5 458716910e25Smrg ac_status=$? 45889c125d91Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 45899c125d91Smrg test $ac_status = 0; }; then 45909c125d91Smrg pkg_cv_XMORE_CFLAGS=`$PKG_CONFIG --cflags "xaw7" 2>/dev/null` 459116910e25Smrgelse 459216910e25Smrg pkg_failed=yes 459316910e25Smrgfi 45949c125d91Smrg else 45959c125d91Smrg pkg_failed=untried 459616910e25Smrgfi 45979c125d91Smrgif test -n "$XMORE_LIBS"; then 45989c125d91Smrg pkg_cv_XMORE_LIBS="$XMORE_LIBS" 45999c125d91Smrg elif test -n "$PKG_CONFIG"; then 46009c125d91Smrg if test -n "$PKG_CONFIG" && \ 46019c125d91Smrg { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7\""; } >&5 46029c125d91Smrg ($PKG_CONFIG --exists --print-errors "xaw7") 2>&5 460316910e25Smrg ac_status=$? 46049c125d91Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 46059c125d91Smrg test $ac_status = 0; }; then 46069c125d91Smrg pkg_cv_XMORE_LIBS=`$PKG_CONFIG --libs "xaw7" 2>/dev/null` 460716910e25Smrgelse 460816910e25Smrg pkg_failed=yes 460916910e25Smrgfi 46109c125d91Smrg else 46119c125d91Smrg pkg_failed=untried 461216910e25Smrgfi 461316910e25Smrg 461416910e25Smrg 461516910e25Smrg 461616910e25Smrgif test $pkg_failed = yes; then 461716910e25Smrg 461816910e25Smrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 461916910e25Smrg _pkg_short_errors_supported=yes 462016910e25Smrgelse 462116910e25Smrg _pkg_short_errors_supported=no 462216910e25Smrgfi 462316910e25Smrg if test $_pkg_short_errors_supported = yes; then 46249c125d91Smrg XMORE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xaw7" 2>&1` 462516910e25Smrg else 46269c125d91Smrg XMORE_PKG_ERRORS=`$PKG_CONFIG --print-errors "xaw7" 2>&1` 462716910e25Smrg fi 462816910e25Smrg # Put the nasty error message in config.log where it belongs 46299c125d91Smrg echo "$XMORE_PKG_ERRORS" >&5 463016910e25Smrg 46319c125d91Smrg as_fn_error "Package requirements (xaw7) were not met: 463216910e25Smrg 46339c125d91Smrg$XMORE_PKG_ERRORS 463416910e25Smrg 463516910e25SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 463616910e25Smrginstalled software in a non-standard prefix. 463716910e25Smrg 46389c125d91SmrgAlternatively, you may set the environment variables XMORE_CFLAGS 46399c125d91Smrgand XMORE_LIBS to avoid the need to call pkg-config. 464016910e25SmrgSee the pkg-config man page for more details. 46419c125d91Smrg" "$LINENO" 5 46429c125d91Smrgelif test $pkg_failed = untried; then 46439c125d91Smrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 46449c125d91Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 46459c125d91Smrgas_fn_error "The pkg-config script could not be found or is too old. Make sure it 464616910e25Smrgis in your PATH or set the PKG_CONFIG environment variable to the full 464716910e25Smrgpath to pkg-config. 464816910e25Smrg 46499c125d91SmrgAlternatively, you may set the environment variables XMORE_CFLAGS 46509c125d91Smrgand XMORE_LIBS to avoid the need to call pkg-config. 465116910e25SmrgSee the pkg-config man page for more details. 465216910e25Smrg 46539c125d91SmrgTo get pkg-config, see <http://pkg-config.freedesktop.org/>. 46549c125d91SmrgSee \`config.log' for more details." "$LINENO" 5; } 465516910e25Smrgelse 46569c125d91Smrg XMORE_CFLAGS=$pkg_cv_XMORE_CFLAGS 46579c125d91Smrg XMORE_LIBS=$pkg_cv_XMORE_LIBS 46589c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 46599c125d91Smrg$as_echo "yes" >&6; } 466016910e25Smrg : 466116910e25Smrgfi 466216910e25Smrg 466316910e25Smrg 466416910e25Smrgpkg_failed=no 46659c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPDEFS" >&5 46669c125d91Smrg$as_echo_n "checking for APPDEFS... " >&6; } 46679c125d91Smrg 46689c125d91Smrgif test -n "$APPDEFS_CFLAGS"; then 46699c125d91Smrg pkg_cv_APPDEFS_CFLAGS="$APPDEFS_CFLAGS" 46709c125d91Smrg elif test -n "$PKG_CONFIG"; then 46719c125d91Smrg if test -n "$PKG_CONFIG" && \ 46729c125d91Smrg { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5 467316910e25Smrg ($PKG_CONFIG --exists --print-errors "xt") 2>&5 467416910e25Smrg ac_status=$? 46759c125d91Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 46769c125d91Smrg test $ac_status = 0; }; then 467716910e25Smrg pkg_cv_APPDEFS_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null` 467816910e25Smrgelse 467916910e25Smrg pkg_failed=yes 468016910e25Smrgfi 46819c125d91Smrg else 46829c125d91Smrg pkg_failed=untried 468316910e25Smrgfi 46849c125d91Smrgif test -n "$APPDEFS_LIBS"; then 46859c125d91Smrg pkg_cv_APPDEFS_LIBS="$APPDEFS_LIBS" 46869c125d91Smrg elif test -n "$PKG_CONFIG"; then 46879c125d91Smrg if test -n "$PKG_CONFIG" && \ 46889c125d91Smrg { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5 468916910e25Smrg ($PKG_CONFIG --exists --print-errors "xt") 2>&5 469016910e25Smrg ac_status=$? 46919c125d91Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 46929c125d91Smrg test $ac_status = 0; }; then 469316910e25Smrg pkg_cv_APPDEFS_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null` 469416910e25Smrgelse 469516910e25Smrg pkg_failed=yes 469616910e25Smrgfi 46979c125d91Smrg else 46989c125d91Smrg pkg_failed=untried 469916910e25Smrgfi 470016910e25Smrg 470116910e25Smrg 470216910e25Smrg 470316910e25Smrgif test $pkg_failed = yes; then 470416910e25Smrg 470516910e25Smrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 470616910e25Smrg _pkg_short_errors_supported=yes 470716910e25Smrgelse 470816910e25Smrg _pkg_short_errors_supported=no 470916910e25Smrgfi 471016910e25Smrg if test $_pkg_short_errors_supported = yes; then 47119c125d91Smrg APPDEFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xt" 2>&1` 471216910e25Smrg else 47139c125d91Smrg APPDEFS_PKG_ERRORS=`$PKG_CONFIG --print-errors "xt" 2>&1` 471416910e25Smrg fi 471516910e25Smrg # Put the nasty error message in config.log where it belongs 471616910e25Smrg echo "$APPDEFS_PKG_ERRORS" >&5 471716910e25Smrg 47189c125d91Smrg as_fn_error "Package requirements (xt) were not met: 471916910e25Smrg 472016910e25Smrg$APPDEFS_PKG_ERRORS 472116910e25Smrg 472216910e25SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 472316910e25Smrginstalled software in a non-standard prefix. 472416910e25Smrg 472516910e25SmrgAlternatively, you may set the environment variables APPDEFS_CFLAGS 472616910e25Smrgand APPDEFS_LIBS to avoid the need to call pkg-config. 472716910e25SmrgSee the pkg-config man page for more details. 47289c125d91Smrg" "$LINENO" 5 472916910e25Smrgelif test $pkg_failed = untried; then 47309c125d91Smrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 47319c125d91Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 47329c125d91Smrgas_fn_error "The pkg-config script could not be found or is too old. Make sure it 473316910e25Smrgis in your PATH or set the PKG_CONFIG environment variable to the full 473416910e25Smrgpath to pkg-config. 473516910e25Smrg 473616910e25SmrgAlternatively, you may set the environment variables APPDEFS_CFLAGS 473716910e25Smrgand APPDEFS_LIBS to avoid the need to call pkg-config. 473816910e25SmrgSee the pkg-config man page for more details. 473916910e25Smrg 47409c125d91SmrgTo get pkg-config, see <http://pkg-config.freedesktop.org/>. 47419c125d91SmrgSee \`config.log' for more details." "$LINENO" 5; } 474216910e25Smrgelse 474316910e25Smrg APPDEFS_CFLAGS=$pkg_cv_APPDEFS_CFLAGS 474416910e25Smrg APPDEFS_LIBS=$pkg_cv_APPDEFS_LIBS 47459c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 47469c125d91Smrg$as_echo "yes" >&6; } 474716910e25Smrg : 474816910e25Smrgfi 47499c125d91Smrgxt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt` 475016910e25Smrg 47519c125d91Smrg# Check whether --with-appdefaultdir was given. 47529c125d91Smrgif test "${with_appdefaultdir+set}" = set; then : 47539c125d91Smrg withval=$with_appdefaultdir; appdefaultdir="$withval" 475416910e25Smrgelse 47559c125d91Smrg appdefaultdir="${xt_appdefaultdir}" 475616910e25Smrgfi 475716910e25Smrg 475816910e25Smrg 475916910e25Smrg 476016910e25Smrg 47619c125d91Smrgac_config_files="$ac_config_files Makefile" 476216910e25Smrg 476316910e25Smrgcat >confcache <<\_ACEOF 476416910e25Smrg# This file is a shell script that caches the results of configure 476516910e25Smrg# tests run on this system so they can be shared between configure 476616910e25Smrg# scripts and configure runs, see configure's option --config-cache. 476716910e25Smrg# It is not useful on other systems. If it contains results you don't 476816910e25Smrg# want to keep, you may remove or edit it. 476916910e25Smrg# 477016910e25Smrg# config.status only pays attention to the cache file if you give it 477116910e25Smrg# the --recheck option to rerun configure. 477216910e25Smrg# 477316910e25Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when 477416910e25Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the 477516910e25Smrg# following values. 477616910e25Smrg 477716910e25Smrg_ACEOF 477816910e25Smrg 477916910e25Smrg# The following way of writing the cache mishandles newlines in values, 478016910e25Smrg# but we know of no workaround that is simple, portable, and efficient. 47819c125d91Smrg# So, we kill variables containing newlines. 478216910e25Smrg# Ultrix sh set writes to stderr and can't be redirected directly, 478316910e25Smrg# and sets the high bit in the cache file unless we assign to the vars. 47849c125d91Smrg( 47859c125d91Smrg for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 47869c125d91Smrg eval ac_val=\$$ac_var 47879c125d91Smrg case $ac_val in #( 47889c125d91Smrg *${as_nl}*) 47899c125d91Smrg case $ac_var in #( 47909c125d91Smrg *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 47919c125d91Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 47929c125d91Smrg esac 47939c125d91Smrg case $ac_var in #( 47949c125d91Smrg _ | IFS | as_nl) ;; #( 47959c125d91Smrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 47969c125d91Smrg *) { eval $ac_var=; unset $ac_var;} ;; 47979c125d91Smrg esac ;; 47989c125d91Smrg esac 47999c125d91Smrg done 48009c125d91Smrg 480116910e25Smrg (set) 2>&1 | 48029c125d91Smrg case $as_nl`(ac_space=' '; set) 2>&1` in #( 48039c125d91Smrg *${as_nl}ac_space=\ *) 48049c125d91Smrg # `set' does not quote correctly, so add quotes: double-quote 48059c125d91Smrg # substitution turns \\\\ into \\, and sed turns \\ into \. 480616910e25Smrg sed -n \ 480716910e25Smrg "s/'/'\\\\''/g; 480816910e25Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 48099c125d91Smrg ;; #( 481016910e25Smrg *) 481116910e25Smrg # `set' quotes correctly as required by POSIX, so do not add quotes. 48129c125d91Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 481316910e25Smrg ;; 48149c125d91Smrg esac | 48159c125d91Smrg sort 48169c125d91Smrg) | 481716910e25Smrg sed ' 48189c125d91Smrg /^ac_cv_env_/b end 481916910e25Smrg t clear 48209c125d91Smrg :clear 482116910e25Smrg s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 482216910e25Smrg t end 48239c125d91Smrg s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 48249c125d91Smrg :end' >>confcache 48259c125d91Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 48269c125d91Smrg if test -w "$cache_file"; then 48279c125d91Smrg test "x$cache_file" != "x/dev/null" && 48289c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 48299c125d91Smrg$as_echo "$as_me: updating cache $cache_file" >&6;} 483016910e25Smrg cat confcache >$cache_file 483116910e25Smrg else 48329c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 48339c125d91Smrg$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 483416910e25Smrg fi 483516910e25Smrgfi 483616910e25Smrgrm -f confcache 483716910e25Smrg 483816910e25Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix 483916910e25Smrg# Let make expand exec_prefix. 484016910e25Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 484116910e25Smrg 484216910e25SmrgDEFS=-DHAVE_CONFIG_H 484316910e25Smrg 484416910e25Smrgac_libobjs= 484516910e25Smrgac_ltlibobjs= 484616910e25Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 484716910e25Smrg # 1. Remove the extension, and $U if already installed. 48489c125d91Smrg ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 48499c125d91Smrg ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 48509c125d91Smrg # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 48519c125d91Smrg # will be set to the directory where LIBOBJS objects are built. 48529c125d91Smrg as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 48539c125d91Smrg as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 485416910e25Smrgdone 485516910e25SmrgLIBOBJS=$ac_libobjs 485616910e25Smrg 485716910e25SmrgLTLIBOBJS=$ac_ltlibobjs 485816910e25Smrg 485916910e25Smrg 48609c125d91Smrg if test -n "$EXEEXT"; then 48619c125d91Smrg am__EXEEXT_TRUE= 48629c125d91Smrg am__EXEEXT_FALSE='#' 48639c125d91Smrgelse 48649c125d91Smrg am__EXEEXT_TRUE='#' 48659c125d91Smrg am__EXEEXT_FALSE= 48669c125d91Smrgfi 48679c125d91Smrg 486816910e25Smrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 48699c125d91Smrg as_fn_error "conditional \"MAINTAINER_MODE\" was never defined. 48709c125d91SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 487116910e25Smrgfi 487216910e25Smrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 48739c125d91Smrg as_fn_error "conditional \"AMDEP\" was never defined. 48749c125d91SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 487516910e25Smrgfi 487616910e25Smrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 48779c125d91Smrg as_fn_error "conditional \"am__fastdepCC\" was never defined. 48789c125d91SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 487916910e25Smrgfi 488016910e25Smrg 488116910e25Smrg: ${CONFIG_STATUS=./config.status} 48829c125d91Smrgac_write_fail=0 488316910e25Smrgac_clean_files_save=$ac_clean_files 488416910e25Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS" 48859c125d91Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 48869c125d91Smrg$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 48879c125d91Smrgas_write_fail=0 48889c125d91Smrgcat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 488916910e25Smrg#! $SHELL 489016910e25Smrg# Generated by $as_me. 489116910e25Smrg# Run this file to recreate the current configuration. 489216910e25Smrg# Compiler output produced by configure, useful for debugging 489316910e25Smrg# configure, is in config.log if it exists. 489416910e25Smrg 489516910e25Smrgdebug=false 489616910e25Smrgac_cs_recheck=false 489716910e25Smrgac_cs_silent=false 489816910e25Smrg 48999c125d91SmrgSHELL=\${CONFIG_SHELL-$SHELL} 49009c125d91Smrgexport SHELL 49019c125d91Smrg_ASEOF 49029c125d91Smrgcat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 49039c125d91Smrg## -------------------- ## 49049c125d91Smrg## M4sh Initialization. ## 49059c125d91Smrg## -------------------- ## 49069c125d91Smrg 49079c125d91Smrg# Be more Bourne compatible 49089c125d91SmrgDUALCASE=1; export DUALCASE # for MKS sh 49099c125d91Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 491016910e25Smrg emulate sh 491116910e25Smrg NULLCMD=: 49129c125d91Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 491316910e25Smrg # is contrary to our usage. Disable this feature. 491416910e25Smrg alias -g '${1+"$@"}'='"$@"' 49159c125d91Smrg setopt NO_GLOB_SUBST 49169c125d91Smrgelse 49179c125d91Smrg case `(set -o) 2>/dev/null` in #( 49189c125d91Smrg *posix*) : 49199c125d91Smrg set -o posix ;; #( 49209c125d91Smrg *) : 49219c125d91Smrg ;; 49229c125d91Smrgesac 492316910e25Smrgfi 492416910e25Smrg 49259c125d91Smrg 49269c125d91Smrgas_nl=' 49279c125d91Smrg' 49289c125d91Smrgexport as_nl 49299c125d91Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 49309c125d91Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 49319c125d91Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 49329c125d91Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 49339c125d91Smrg# Prefer a ksh shell builtin over an external printf program on Solaris, 49349c125d91Smrg# but without wasting forks for bash or zsh. 49359c125d91Smrgif test -z "$BASH_VERSION$ZSH_VERSION" \ 49369c125d91Smrg && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 49379c125d91Smrg as_echo='print -r --' 49389c125d91Smrg as_echo_n='print -rn --' 49399c125d91Smrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 49409c125d91Smrg as_echo='printf %s\n' 49419c125d91Smrg as_echo_n='printf %s' 494216910e25Smrgelse 49439c125d91Smrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 49449c125d91Smrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 49459c125d91Smrg as_echo_n='/usr/ucb/echo -n' 49469c125d91Smrg else 49479c125d91Smrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 49489c125d91Smrg as_echo_n_body='eval 49499c125d91Smrg arg=$1; 49509c125d91Smrg case $arg in #( 49519c125d91Smrg *"$as_nl"*) 49529c125d91Smrg expr "X$arg" : "X\\(.*\\)$as_nl"; 49539c125d91Smrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 49549c125d91Smrg esac; 49559c125d91Smrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 49569c125d91Smrg ' 49579c125d91Smrg export as_echo_n_body 49589c125d91Smrg as_echo_n='sh -c $as_echo_n_body as_echo' 49599c125d91Smrg fi 49609c125d91Smrg export as_echo_body 49619c125d91Smrg as_echo='sh -c $as_echo_body as_echo' 49629c125d91Smrgfi 49639c125d91Smrg 49649c125d91Smrg# The user is always right. 49659c125d91Smrgif test "${PATH_SEPARATOR+set}" != set; then 49669c125d91Smrg PATH_SEPARATOR=: 49679c125d91Smrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 49689c125d91Smrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 49699c125d91Smrg PATH_SEPARATOR=';' 49709c125d91Smrg } 497116910e25Smrgfi 497216910e25Smrg 497316910e25Smrg 49749c125d91Smrg# IFS 49759c125d91Smrg# We need space, tab and new line, in precisely that order. Quoting is 49769c125d91Smrg# there to prevent editors from complaining about space-tab. 49779c125d91Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 49789c125d91Smrg# splitting by setting IFS to empty value.) 49799c125d91SmrgIFS=" "" $as_nl" 49809c125d91Smrg 49819c125d91Smrg# Find who we are. Look in the path if we contain no directory separator. 49829c125d91Smrgcase $0 in #(( 49839c125d91Smrg *[\\/]* ) as_myself=$0 ;; 49849c125d91Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 49859c125d91Smrgfor as_dir in $PATH 49869c125d91Smrgdo 49879c125d91Smrg IFS=$as_save_IFS 49889c125d91Smrg test -z "$as_dir" && as_dir=. 49899c125d91Smrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 49909c125d91Smrg done 49919c125d91SmrgIFS=$as_save_IFS 49929c125d91Smrg 49939c125d91Smrg ;; 49949c125d91Smrgesac 49959c125d91Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 49969c125d91Smrg# in which case we are not to be found in the path. 49979c125d91Smrgif test "x$as_myself" = x; then 49989c125d91Smrg as_myself=$0 49999c125d91Smrgfi 50009c125d91Smrgif test ! -f "$as_myself"; then 50019c125d91Smrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 50029c125d91Smrg exit 1 50039c125d91Smrgfi 50049c125d91Smrg 50059c125d91Smrg# Unset variables that we do not need and which cause bugs (e.g. in 50069c125d91Smrg# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 50079c125d91Smrg# suppresses any "Segmentation fault" message there. '((' could 50089c125d91Smrg# trigger a bug in pdksh 5.2.14. 50099c125d91Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH 50109c125d91Smrgdo eval test x\${$as_var+set} = xset \ 50119c125d91Smrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 50129c125d91Smrgdone 501316910e25SmrgPS1='$ ' 501416910e25SmrgPS2='> ' 501516910e25SmrgPS4='+ ' 501616910e25Smrg 501716910e25Smrg# NLS nuisances. 50189c125d91SmrgLC_ALL=C 50199c125d91Smrgexport LC_ALL 50209c125d91SmrgLANGUAGE=C 50219c125d91Smrgexport LANGUAGE 50229c125d91Smrg 50239c125d91Smrg# CDPATH. 50249c125d91Smrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 50259c125d91Smrg 50269c125d91Smrg 50279c125d91Smrg# as_fn_error ERROR [LINENO LOG_FD] 50289c125d91Smrg# --------------------------------- 50299c125d91Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 50309c125d91Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 50319c125d91Smrg# script with status $?, using 1 if that was 0. 50329c125d91Smrgas_fn_error () 50339c125d91Smrg{ 50349c125d91Smrg as_status=$?; test $as_status -eq 0 && as_status=1 50359c125d91Smrg if test "$3"; then 50369c125d91Smrg as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 50379c125d91Smrg $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 503816910e25Smrg fi 50399c125d91Smrg $as_echo "$as_me: error: $1" >&2 50409c125d91Smrg as_fn_exit $as_status 50419c125d91Smrg} # as_fn_error 50429c125d91Smrg 504316910e25Smrg 50449c125d91Smrg# as_fn_set_status STATUS 50459c125d91Smrg# ----------------------- 50469c125d91Smrg# Set $? to STATUS, without forking. 50479c125d91Smrgas_fn_set_status () 50489c125d91Smrg{ 50499c125d91Smrg return $1 50509c125d91Smrg} # as_fn_set_status 50519c125d91Smrg 50529c125d91Smrg# as_fn_exit STATUS 50539c125d91Smrg# ----------------- 50549c125d91Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 50559c125d91Smrgas_fn_exit () 50569c125d91Smrg{ 50579c125d91Smrg set +e 50589c125d91Smrg as_fn_set_status $1 50599c125d91Smrg exit $1 50609c125d91Smrg} # as_fn_exit 50619c125d91Smrg 50629c125d91Smrg# as_fn_unset VAR 50639c125d91Smrg# --------------- 50649c125d91Smrg# Portably unset VAR. 50659c125d91Smrgas_fn_unset () 50669c125d91Smrg{ 50679c125d91Smrg { eval $1=; unset $1;} 50689c125d91Smrg} 50699c125d91Smrgas_unset=as_fn_unset 50709c125d91Smrg# as_fn_append VAR VALUE 50719c125d91Smrg# ---------------------- 50729c125d91Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take 50739c125d91Smrg# advantage of any shell optimizations that allow amortized linear growth over 50749c125d91Smrg# repeated appends, instead of the typical quadratic growth present in naive 50759c125d91Smrg# implementations. 50769c125d91Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 50779c125d91Smrg eval 'as_fn_append () 50789c125d91Smrg { 50799c125d91Smrg eval $1+=\$2 50809c125d91Smrg }' 50819c125d91Smrgelse 50829c125d91Smrg as_fn_append () 50839c125d91Smrg { 50849c125d91Smrg eval $1=\$$1\$2 50859c125d91Smrg } 50869c125d91Smrgfi # as_fn_append 50879c125d91Smrg 50889c125d91Smrg# as_fn_arith ARG... 50899c125d91Smrg# ------------------ 50909c125d91Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the 50919c125d91Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 50929c125d91Smrg# must be portable across $(()) and expr. 50939c125d91Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 50949c125d91Smrg eval 'as_fn_arith () 50959c125d91Smrg { 50969c125d91Smrg as_val=$(( $* )) 50979c125d91Smrg }' 50989c125d91Smrgelse 50999c125d91Smrg as_fn_arith () 51009c125d91Smrg { 51019c125d91Smrg as_val=`expr "$@" || test $? -eq 1` 51029c125d91Smrg } 51039c125d91Smrgfi # as_fn_arith 51049c125d91Smrg 51059c125d91Smrg 51069c125d91Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 51079c125d91Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 510816910e25Smrg as_expr=expr 510916910e25Smrgelse 511016910e25Smrg as_expr=false 511116910e25Smrgfi 511216910e25Smrg 51139c125d91Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 511416910e25Smrg as_basename=basename 511516910e25Smrgelse 511616910e25Smrg as_basename=false 511716910e25Smrgfi 511816910e25Smrg 51199c125d91Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 51209c125d91Smrg as_dirname=dirname 51219c125d91Smrgelse 51229c125d91Smrg as_dirname=false 51239c125d91Smrgfi 512416910e25Smrg 51259c125d91Smrgas_me=`$as_basename -- "$0" || 512616910e25Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 512716910e25Smrg X"$0" : 'X\(//\)$' \| \ 51289c125d91Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 51299c125d91Smrg$as_echo X/"$0" | 51309c125d91Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 51319c125d91Smrg s//\1/ 51329c125d91Smrg q 51339c125d91Smrg } 51349c125d91Smrg /^X\/\(\/\/\)$/{ 51359c125d91Smrg s//\1/ 51369c125d91Smrg q 51379c125d91Smrg } 51389c125d91Smrg /^X\/\(\/\).*/{ 51399c125d91Smrg s//\1/ 51409c125d91Smrg q 51419c125d91Smrg } 51429c125d91Smrg s/.*/./; q'` 514316910e25Smrg 514416910e25Smrg# Avoid depending upon Character Ranges. 514516910e25Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 514616910e25Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 514716910e25Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 514816910e25Smrgas_cr_digits='0123456789' 514916910e25Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 515016910e25Smrg 51519c125d91SmrgECHO_C= ECHO_N= ECHO_T= 51529c125d91Smrgcase `echo -n x` in #((((( 51539c125d91Smrg-n*) 51549c125d91Smrg case `echo 'xy\c'` in 51559c125d91Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 51569c125d91Smrg xy) ECHO_C='\c';; 51579c125d91Smrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 51589c125d91Smrg ECHO_T=' ';; 51599c125d91Smrg esac;; 51609c125d91Smrg*) 51619c125d91Smrg ECHO_N='-n';; 516216910e25Smrgesac 516316910e25Smrg 51649c125d91Smrgrm -f conf$$ conf$$.exe conf$$.file 51659c125d91Smrgif test -d conf$$.dir; then 51669c125d91Smrg rm -f conf$$.dir/conf$$.file 516716910e25Smrgelse 51689c125d91Smrg rm -f conf$$.dir 51699c125d91Smrg mkdir conf$$.dir 2>/dev/null 517016910e25Smrgfi 51719c125d91Smrgif (echo >conf$$.file) 2>/dev/null; then 51729c125d91Smrg if ln -s conf$$.file conf$$ 2>/dev/null; then 517316910e25Smrg as_ln_s='ln -s' 51749c125d91Smrg # ... but there are two gotchas: 51759c125d91Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 51769c125d91Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 51779c125d91Smrg # In both cases, we have to default to `cp -p'. 51789c125d91Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 51799c125d91Smrg as_ln_s='cp -p' 51809c125d91Smrg elif ln conf$$.file conf$$ 2>/dev/null; then 51819c125d91Smrg as_ln_s=ln 51829c125d91Smrg else 51839c125d91Smrg as_ln_s='cp -p' 518416910e25Smrg fi 518516910e25Smrgelse 518616910e25Smrg as_ln_s='cp -p' 518716910e25Smrgfi 51889c125d91Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 51899c125d91Smrgrmdir conf$$.dir 2>/dev/null 51909c125d91Smrg 51919c125d91Smrg 51929c125d91Smrg# as_fn_mkdir_p 51939c125d91Smrg# ------------- 51949c125d91Smrg# Create "$as_dir" as a directory, including parents if necessary. 51959c125d91Smrgas_fn_mkdir_p () 51969c125d91Smrg{ 51979c125d91Smrg 51989c125d91Smrg case $as_dir in #( 51999c125d91Smrg -*) as_dir=./$as_dir;; 52009c125d91Smrg esac 52019c125d91Smrg test -d "$as_dir" || eval $as_mkdir_p || { 52029c125d91Smrg as_dirs= 52039c125d91Smrg while :; do 52049c125d91Smrg case $as_dir in #( 52059c125d91Smrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 52069c125d91Smrg *) as_qdir=$as_dir;; 52079c125d91Smrg esac 52089c125d91Smrg as_dirs="'$as_qdir' $as_dirs" 52099c125d91Smrg as_dir=`$as_dirname -- "$as_dir" || 52109c125d91Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 52119c125d91Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 52129c125d91Smrg X"$as_dir" : 'X\(//\)$' \| \ 52139c125d91Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 52149c125d91Smrg$as_echo X"$as_dir" | 52159c125d91Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 52169c125d91Smrg s//\1/ 52179c125d91Smrg q 52189c125d91Smrg } 52199c125d91Smrg /^X\(\/\/\)[^/].*/{ 52209c125d91Smrg s//\1/ 52219c125d91Smrg q 52229c125d91Smrg } 52239c125d91Smrg /^X\(\/\/\)$/{ 52249c125d91Smrg s//\1/ 52259c125d91Smrg q 52269c125d91Smrg } 52279c125d91Smrg /^X\(\/\).*/{ 52289c125d91Smrg s//\1/ 52299c125d91Smrg q 52309c125d91Smrg } 52319c125d91Smrg s/.*/./; q'` 52329c125d91Smrg test -d "$as_dir" && break 52339c125d91Smrg done 52349c125d91Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 52359c125d91Smrg } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 523616910e25Smrg 52379c125d91Smrg 52389c125d91Smrg} # as_fn_mkdir_p 523916910e25Smrgif mkdir -p . 2>/dev/null; then 52409c125d91Smrg as_mkdir_p='mkdir -p "$as_dir"' 524116910e25Smrgelse 524216910e25Smrg test -d ./-p && rmdir ./-p 524316910e25Smrg as_mkdir_p=false 524416910e25Smrgfi 52459c125d91Smrg 52469c125d91Smrgif test -x / >/dev/null 2>&1; then 52479c125d91Smrg as_test_x='test -x' 52489c125d91Smrgelse 52499c125d91Smrg if ls -dL / >/dev/null 2>&1; then 52509c125d91Smrg as_ls_L_option=L 52519c125d91Smrg else 52529c125d91Smrg as_ls_L_option= 52539c125d91Smrg fi 52549c125d91Smrg as_test_x=' 52559c125d91Smrg eval sh -c '\'' 52569c125d91Smrg if test -d "$1"; then 52579c125d91Smrg test -d "$1/."; 52589c125d91Smrg else 52599c125d91Smrg case $1 in #( 52609c125d91Smrg -*)set "./$1";; 52619c125d91Smrg esac; 52629c125d91Smrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 52639c125d91Smrg ???[sx]*):;;*)false;;esac;fi 52649c125d91Smrg '\'' sh 52659c125d91Smrg ' 52669c125d91Smrgfi 52679c125d91Smrgas_executable_p=$as_test_x 526816910e25Smrg 526916910e25Smrg# Sed expression to map a string onto a valid CPP name. 527016910e25Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 527116910e25Smrg 527216910e25Smrg# Sed expression to map a string onto a valid variable name. 527316910e25Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 527416910e25Smrg 527516910e25Smrg 527616910e25Smrgexec 6>&1 52779c125d91Smrg## ----------------------------------- ## 52789c125d91Smrg## Main body of $CONFIG_STATUS script. ## 52799c125d91Smrg## ----------------------------------- ## 52809c125d91Smrg_ASEOF 52819c125d91Smrgtest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 52829c125d91Smrg 52839c125d91Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 52849c125d91Smrg# Save the log message, to keep $0 and so on meaningful, and to 528516910e25Smrg# report actual input values of CONFIG_FILES etc. instead of their 52869c125d91Smrg# values after options handling. 52879c125d91Smrgac_log=" 52889c125d91SmrgThis file was extended by xmore $as_me 1.0.2, which was 52899c125d91Smrggenerated by GNU Autoconf 2.65. Invocation command line was 529016910e25Smrg 529116910e25Smrg CONFIG_FILES = $CONFIG_FILES 529216910e25Smrg CONFIG_HEADERS = $CONFIG_HEADERS 529316910e25Smrg CONFIG_LINKS = $CONFIG_LINKS 529416910e25Smrg CONFIG_COMMANDS = $CONFIG_COMMANDS 529516910e25Smrg $ $0 $@ 529616910e25Smrg 52979c125d91Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q` 52989c125d91Smrg" 52999c125d91Smrg 530016910e25Smrg_ACEOF 530116910e25Smrg 53029c125d91Smrgcase $ac_config_files in *" 53039c125d91Smrg"*) set x $ac_config_files; shift; ac_config_files=$*;; 53049c125d91Smrgesac 530516910e25Smrg 53069c125d91Smrgcase $ac_config_headers in *" 53079c125d91Smrg"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 53089c125d91Smrgesac 530916910e25Smrg 531016910e25Smrg 53119c125d91Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 53129c125d91Smrg# Files that config.status was made for. 53139c125d91Smrgconfig_files="$ac_config_files" 53149c125d91Smrgconfig_headers="$ac_config_headers" 53159c125d91Smrgconfig_commands="$ac_config_commands" 531616910e25Smrg 53179c125d91Smrg_ACEOF 531816910e25Smrg 53199c125d91Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 532016910e25Smrgac_cs_usage="\ 53219c125d91Smrg\`$as_me' instantiates files and other configuration actions 53229c125d91Smrgfrom templates according to the current configuration. Unless the files 53239c125d91Smrgand actions are specified as TAGs, all are instantiated by default. 532416910e25Smrg 53259c125d91SmrgUsage: $0 [OPTION]... [TAG]... 532616910e25Smrg 532716910e25Smrg -h, --help print this help, then exit 53289c125d91Smrg -V, --version print version number and configuration settings, then exit 53299c125d91Smrg --config print configuration, then exit 53309c125d91Smrg -q, --quiet, --silent 53319c125d91Smrg do not print progress messages 533216910e25Smrg -d, --debug don't remove temporary files 533316910e25Smrg --recheck update $as_me by reconfiguring in the same conditions 53349c125d91Smrg --file=FILE[:TEMPLATE] 53359c125d91Smrg instantiate the configuration file FILE 53369c125d91Smrg --header=FILE[:TEMPLATE] 53379c125d91Smrg instantiate the configuration header FILE 533816910e25Smrg 533916910e25SmrgConfiguration files: 534016910e25Smrg$config_files 534116910e25Smrg 534216910e25SmrgConfiguration headers: 534316910e25Smrg$config_headers 534416910e25Smrg 534516910e25SmrgConfiguration commands: 534616910e25Smrg$config_commands 534716910e25Smrg 53489c125d91SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>." 534916910e25Smrg 53509c125d91Smrg_ACEOF 53519c125d91Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 53529c125d91Smrgac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 535316910e25Smrgac_cs_version="\\ 53549c125d91Smrgxmore config.status 1.0.2 53559c125d91Smrgconfigured by $0, generated by GNU Autoconf 2.65, 53569c125d91Smrg with options \\"\$ac_cs_config\\" 535716910e25Smrg 53589c125d91SmrgCopyright (C) 2009 Free Software Foundation, Inc. 535916910e25SmrgThis config.status script is free software; the Free Software Foundation 536016910e25Smrggives unlimited permission to copy, distribute and modify it." 53619c125d91Smrg 53629c125d91Smrgac_pwd='$ac_pwd' 53639c125d91Smrgsrcdir='$srcdir' 53649c125d91SmrgINSTALL='$INSTALL' 53659c125d91SmrgMKDIR_P='$MKDIR_P' 53669c125d91SmrgAWK='$AWK' 53679c125d91Smrgtest -n "\$AWK" || AWK=awk 536816910e25Smrg_ACEOF 536916910e25Smrg 53709c125d91Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 53719c125d91Smrg# The default lists apply if the user does not specify any file. 537216910e25Smrgac_need_defaults=: 537316910e25Smrgwhile test $# != 0 537416910e25Smrgdo 537516910e25Smrg case $1 in 537616910e25Smrg --*=*) 53779c125d91Smrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 53789c125d91Smrg ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 537916910e25Smrg ac_shift=: 538016910e25Smrg ;; 53819c125d91Smrg *) 538216910e25Smrg ac_option=$1 538316910e25Smrg ac_optarg=$2 538416910e25Smrg ac_shift=shift 538516910e25Smrg ;; 538616910e25Smrg esac 538716910e25Smrg 538816910e25Smrg case $ac_option in 538916910e25Smrg # Handling of the options. 539016910e25Smrg -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 539116910e25Smrg ac_cs_recheck=: ;; 53929c125d91Smrg --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 53939c125d91Smrg $as_echo "$ac_cs_version"; exit ;; 53949c125d91Smrg --config | --confi | --conf | --con | --co | --c ) 53959c125d91Smrg $as_echo "$ac_cs_config"; exit ;; 53969c125d91Smrg --debug | --debu | --deb | --de | --d | -d ) 539716910e25Smrg debug=: ;; 539816910e25Smrg --file | --fil | --fi | --f ) 539916910e25Smrg $ac_shift 54009c125d91Smrg case $ac_optarg in 54019c125d91Smrg *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 54029c125d91Smrg esac 54039c125d91Smrg as_fn_append CONFIG_FILES " '$ac_optarg'" 540416910e25Smrg ac_need_defaults=false;; 540516910e25Smrg --header | --heade | --head | --hea ) 540616910e25Smrg $ac_shift 54079c125d91Smrg case $ac_optarg in 54089c125d91Smrg *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 54099c125d91Smrg esac 54109c125d91Smrg as_fn_append CONFIG_HEADERS " '$ac_optarg'" 541116910e25Smrg ac_need_defaults=false;; 54129c125d91Smrg --he | --h) 54139c125d91Smrg # Conflict between --help and --header 54149c125d91Smrg as_fn_error "ambiguous option: \`$1' 54159c125d91SmrgTry \`$0 --help' for more information.";; 54169c125d91Smrg --help | --hel | -h ) 54179c125d91Smrg $as_echo "$ac_cs_usage"; exit ;; 541816910e25Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 541916910e25Smrg | -silent | --silent | --silen | --sile | --sil | --si | --s) 542016910e25Smrg ac_cs_silent=: ;; 542116910e25Smrg 542216910e25Smrg # This is an error. 54239c125d91Smrg -*) as_fn_error "unrecognized option: \`$1' 54249c125d91SmrgTry \`$0 --help' for more information." ;; 542516910e25Smrg 54269c125d91Smrg *) as_fn_append ac_config_targets " $1" 54279c125d91Smrg ac_need_defaults=false ;; 542816910e25Smrg 542916910e25Smrg esac 543016910e25Smrg shift 543116910e25Smrgdone 543216910e25Smrg 543316910e25Smrgac_configure_extra_args= 543416910e25Smrg 543516910e25Smrgif $ac_cs_silent; then 543616910e25Smrg exec 6>/dev/null 543716910e25Smrg ac_configure_extra_args="$ac_configure_extra_args --silent" 543816910e25Smrgfi 543916910e25Smrg 544016910e25Smrg_ACEOF 54419c125d91Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 544216910e25Smrgif \$ac_cs_recheck; then 54439c125d91Smrg set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 54449c125d91Smrg shift 54459c125d91Smrg \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 54469c125d91Smrg CONFIG_SHELL='$SHELL' 54479c125d91Smrg export CONFIG_SHELL 54489c125d91Smrg exec "\$@" 544916910e25Smrgfi 545016910e25Smrg 545116910e25Smrg_ACEOF 54529c125d91Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 54539c125d91Smrgexec 5>>config.log 54549c125d91Smrg{ 54559c125d91Smrg echo 54569c125d91Smrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 54579c125d91Smrg## Running $as_me. ## 54589c125d91Smrg_ASBOX 54599c125d91Smrg $as_echo "$ac_log" 54609c125d91Smrg} >&5 546116910e25Smrg 54629c125d91Smrg_ACEOF 54639c125d91Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 546416910e25Smrg# 54659c125d91Smrg# INIT-COMMANDS 546616910e25Smrg# 546716910e25SmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 546816910e25Smrg 546916910e25Smrg_ACEOF 547016910e25Smrg 54719c125d91Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 547216910e25Smrg 54739c125d91Smrg# Handling of arguments. 547416910e25Smrgfor ac_config_target in $ac_config_targets 547516910e25Smrgdo 54769c125d91Smrg case $ac_config_target in 54779c125d91Smrg "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 54789c125d91Smrg "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 54799c125d91Smrg "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 54809c125d91Smrg 54819c125d91Smrg *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 548216910e25Smrg esac 548316910e25Smrgdone 548416910e25Smrg 54859c125d91Smrg 548616910e25Smrg# If the user did not use the arguments to specify the items to instantiate, 548716910e25Smrg# then the envvar interface is used. Set only those that are not. 548816910e25Smrg# We use the long form for the default assignment because of an extremely 548916910e25Smrg# bizarre bug on SunOS 4.1.3. 549016910e25Smrgif $ac_need_defaults; then 549116910e25Smrg test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 549216910e25Smrg test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 549316910e25Smrg test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 549416910e25Smrgfi 549516910e25Smrg 549616910e25Smrg# Have a temporary directory for convenience. Make it in the build tree 54979c125d91Smrg# simply because there is no reason against having it here, and in addition, 549816910e25Smrg# creating and moving files from /tmp can sometimes cause problems. 54999c125d91Smrg# Hook for its removal unless debugging. 55009c125d91Smrg# Note that there is a small window in which the directory will not be cleaned: 55019c125d91Smrg# after its creation but before its name has been assigned to `$tmp'. 550216910e25Smrg$debug || 550316910e25Smrg{ 55049c125d91Smrg tmp= 55059c125d91Smrg trap 'exit_status=$? 55069c125d91Smrg { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 55079c125d91Smrg' 0 55089c125d91Smrg trap 'as_fn_exit 1' 1 2 13 15 550916910e25Smrg} 551016910e25Smrg# Create a (secure) tmp directory for tmp files. 551116910e25Smrg 551216910e25Smrg{ 55139c125d91Smrg tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 551416910e25Smrg test -n "$tmp" && test -d "$tmp" 551516910e25Smrg} || 551616910e25Smrg{ 55179c125d91Smrg tmp=./conf$$-$RANDOM 55189c125d91Smrg (umask 077 && mkdir "$tmp") 55199c125d91Smrg} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 55209c125d91Smrg 55219c125d91Smrg# Set up the scripts for CONFIG_FILES section. 55229c125d91Smrg# No need to generate them if there are no CONFIG_FILES. 55239c125d91Smrg# This happens for instance with `./config.status config.h'. 55249c125d91Smrgif test -n "$CONFIG_FILES"; then 55259c125d91Smrg 55269c125d91Smrg 55279c125d91Smrgac_cr=`echo X | tr X '\015'` 55289c125d91Smrg# On cygwin, bash can eat \r inside `` if the user requested igncr. 55299c125d91Smrg# But we know of no other shell where ac_cr would be empty at this 55309c125d91Smrg# point, so we can use a bashism as a fallback. 55319c125d91Smrgif test "x$ac_cr" = x; then 55329c125d91Smrg eval ac_cr=\$\'\\r\' 55339c125d91Smrgfi 55349c125d91Smrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 55359c125d91Smrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 55369c125d91Smrg ac_cs_awk_cr='\r' 55379c125d91Smrgelse 55389c125d91Smrg ac_cs_awk_cr=$ac_cr 55399c125d91Smrgfi 55409c125d91Smrg 55419c125d91Smrgecho 'BEGIN {' >"$tmp/subs1.awk" && 55429c125d91Smrg_ACEOF 55439c125d91Smrg 55449c125d91Smrg 554516910e25Smrg{ 55469c125d91Smrg echo "cat >conf$$subs.awk <<_ACEOF" && 55479c125d91Smrg echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 55489c125d91Smrg echo "_ACEOF" 55499c125d91Smrg} >conf$$subs.sh || 55509c125d91Smrg as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 55519c125d91Smrgac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 55529c125d91Smrgac_delim='%!_!# ' 55539c125d91Smrgfor ac_last_try in false false false false false :; do 55549c125d91Smrg . ./conf$$subs.sh || 55559c125d91Smrg as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 55569c125d91Smrg 55579c125d91Smrg ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 55589c125d91Smrg if test $ac_delim_n = $ac_delim_num; then 55599c125d91Smrg break 55609c125d91Smrg elif $ac_last_try; then 55619c125d91Smrg as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 55629c125d91Smrg else 55639c125d91Smrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 55649c125d91Smrg fi 55659c125d91Smrgdone 55669c125d91Smrgrm -f conf$$subs.sh 556716910e25Smrg 55689c125d91Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 55699c125d91Smrgcat >>"\$tmp/subs1.awk" <<\\_ACAWK && 557016910e25Smrg_ACEOF 55719c125d91Smrgsed -n ' 55729c125d91Smrgh 55739c125d91Smrgs/^/S["/; s/!.*/"]=/ 55749c125d91Smrgp 55759c125d91Smrgg 55769c125d91Smrgs/^[^!]*!// 55779c125d91Smrg:repl 55789c125d91Smrgt repl 55799c125d91Smrgs/'"$ac_delim"'$// 55809c125d91Smrgt delim 55819c125d91Smrg:nl 55829c125d91Smrgh 55839c125d91Smrgs/\(.\{148\}\)..*/\1/ 55849c125d91Smrgt more1 55859c125d91Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 55869c125d91Smrgp 55879c125d91Smrgn 55889c125d91Smrgb repl 55899c125d91Smrg:more1 55909c125d91Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 55919c125d91Smrgp 55929c125d91Smrgg 55939c125d91Smrgs/.\{148\}// 55949c125d91Smrgt nl 55959c125d91Smrg:delim 55969c125d91Smrgh 55979c125d91Smrgs/\(.\{148\}\)..*/\1/ 55989c125d91Smrgt more2 55999c125d91Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/ 56009c125d91Smrgp 56019c125d91Smrgb 56029c125d91Smrg:more2 56039c125d91Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 56049c125d91Smrgp 56059c125d91Smrgg 56069c125d91Smrgs/.\{148\}// 56079c125d91Smrgt delim 56089c125d91Smrg' <conf$$subs.awk | sed ' 56099c125d91Smrg/^[^""]/{ 56109c125d91Smrg N 56119c125d91Smrg s/\n// 56129c125d91Smrg} 56139c125d91Smrg' >>$CONFIG_STATUS || ac_write_fail=1 56149c125d91Smrgrm -f conf$$subs.awk 56159c125d91Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 56169c125d91Smrg_ACAWK 56179c125d91Smrgcat >>"\$tmp/subs1.awk" <<_ACAWK && 56189c125d91Smrg for (key in S) S_is_set[key] = 1 56199c125d91Smrg FS = "" 562016910e25Smrg 56219c125d91Smrg} 56229c125d91Smrg{ 56239c125d91Smrg line = $ 0 56249c125d91Smrg nfields = split(line, field, "@") 56259c125d91Smrg substed = 0 56269c125d91Smrg len = length(field[1]) 56279c125d91Smrg for (i = 2; i < nfields; i++) { 56289c125d91Smrg key = field[i] 56299c125d91Smrg keylen = length(key) 56309c125d91Smrg if (S_is_set[key]) { 56319c125d91Smrg value = S[key] 56329c125d91Smrg line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 56339c125d91Smrg len += length(value) + length(field[++i]) 56349c125d91Smrg substed = 1 56359c125d91Smrg } else 56369c125d91Smrg len += 1 + keylen 56379c125d91Smrg } 56389c125d91Smrg 56399c125d91Smrg print line 56409c125d91Smrg} 564116910e25Smrg 56429c125d91Smrg_ACAWK 56439c125d91Smrg_ACEOF 56449c125d91Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 56459c125d91Smrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 56469c125d91Smrg sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 56479c125d91Smrgelse 56489c125d91Smrg cat 56499c125d91Smrgfi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 56509c125d91Smrg || as_fn_error "could not setup config files machinery" "$LINENO" 5 56519c125d91Smrg_ACEOF 56529c125d91Smrg 56539c125d91Smrg# VPATH may cause trouble with some makes, so we remove $(srcdir), 56549c125d91Smrg# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 56559c125d91Smrg# trailing colons and then remove the whole line if VPATH becomes empty 56569c125d91Smrg# (actually we leave an empty line to preserve line numbers). 56579c125d91Smrgif test "x$srcdir" = x.; then 56589c125d91Smrg ac_vpsub='/^[ ]*VPATH[ ]*=/{ 56599c125d91Smrgs/:*\$(srcdir):*/:/ 56609c125d91Smrgs/:*\${srcdir}:*/:/ 56619c125d91Smrgs/:*@srcdir@:*/:/ 56629c125d91Smrgs/^\([^=]*=[ ]*\):*/\1/ 56639c125d91Smrgs/:*$// 56649c125d91Smrgs/^[^=]*=[ ]*$// 56659c125d91Smrg}' 56669c125d91Smrgfi 566716910e25Smrg 56689c125d91Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 56699c125d91Smrgfi # test -n "$CONFIG_FILES" 567016910e25Smrg 56719c125d91Smrg# Set up the scripts for CONFIG_HEADERS section. 56729c125d91Smrg# No need to generate them if there are no CONFIG_HEADERS. 56739c125d91Smrg# This happens for instance with `./config.status Makefile'. 56749c125d91Smrgif test -n "$CONFIG_HEADERS"; then 56759c125d91Smrgcat >"$tmp/defines.awk" <<\_ACAWK || 56769c125d91SmrgBEGIN { 567716910e25Smrg_ACEOF 567816910e25Smrg 56799c125d91Smrg# Transform confdefs.h into an awk script `defines.awk', embedded as 56809c125d91Smrg# here-document in config.status, that substitutes the proper values into 56819c125d91Smrg# config.h.in to produce config.h. 56829c125d91Smrg 56839c125d91Smrg# Create a delimiter string that does not exist in confdefs.h, to ease 56849c125d91Smrg# handling of long lines. 56859c125d91Smrgac_delim='%!_!# ' 56869c125d91Smrgfor ac_last_try in false false :; do 56879c125d91Smrg ac_t=`sed -n "/$ac_delim/p" confdefs.h` 56889c125d91Smrg if test -z "$ac_t"; then 56899c125d91Smrg break 56909c125d91Smrg elif $ac_last_try; then 56919c125d91Smrg as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 56929c125d91Smrg else 56939c125d91Smrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 569416910e25Smrg fi 56959c125d91Smrgdone 569616910e25Smrg 56979c125d91Smrg# For the awk script, D is an array of macro values keyed by name, 56989c125d91Smrg# likewise P contains macro parameters if any. Preserve backslash 56999c125d91Smrg# newline sequences. 57009c125d91Smrg 57019c125d91Smrgac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 57029c125d91Smrgsed -n ' 57039c125d91Smrgs/.\{148\}/&'"$ac_delim"'/g 57049c125d91Smrgt rset 57059c125d91Smrg:rset 57069c125d91Smrgs/^[ ]*#[ ]*define[ ][ ]*/ / 57079c125d91Smrgt def 57089c125d91Smrgd 57099c125d91Smrg:def 57109c125d91Smrgs/\\$// 57119c125d91Smrgt bsnl 57129c125d91Smrgs/["\\]/\\&/g 57139c125d91Smrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 57149c125d91SmrgD["\1"]=" \3"/p 57159c125d91Smrgs/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 57169c125d91Smrgd 57179c125d91Smrg:bsnl 57189c125d91Smrgs/["\\]/\\&/g 57199c125d91Smrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 57209c125d91SmrgD["\1"]=" \3\\\\\\n"\\/p 57219c125d91Smrgt cont 57229c125d91Smrgs/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 57239c125d91Smrgt cont 57249c125d91Smrgd 57259c125d91Smrg:cont 57269c125d91Smrgn 57279c125d91Smrgs/.\{148\}/&'"$ac_delim"'/g 57289c125d91Smrgt clear 57299c125d91Smrg:clear 57309c125d91Smrgs/\\$// 57319c125d91Smrgt bsnlc 57329c125d91Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/p 57339c125d91Smrgd 57349c125d91Smrg:bsnlc 57359c125d91Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 57369c125d91Smrgb cont 57379c125d91Smrg' <confdefs.h | sed ' 57389c125d91Smrgs/'"$ac_delim"'/"\\\ 57399c125d91Smrg"/g' >>$CONFIG_STATUS || ac_write_fail=1 57409c125d91Smrg 57419c125d91Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 57429c125d91Smrg for (key in D) D_is_set[key] = 1 57439c125d91Smrg FS = "" 57449c125d91Smrg} 57459c125d91Smrg/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 57469c125d91Smrg line = \$ 0 57479c125d91Smrg split(line, arg, " ") 57489c125d91Smrg if (arg[1] == "#") { 57499c125d91Smrg defundef = arg[2] 57509c125d91Smrg mac1 = arg[3] 57519c125d91Smrg } else { 57529c125d91Smrg defundef = substr(arg[1], 2) 57539c125d91Smrg mac1 = arg[2] 57549c125d91Smrg } 57559c125d91Smrg split(mac1, mac2, "(") #) 57569c125d91Smrg macro = mac2[1] 57579c125d91Smrg prefix = substr(line, 1, index(line, defundef) - 1) 57589c125d91Smrg if (D_is_set[macro]) { 57599c125d91Smrg # Preserve the white space surrounding the "#". 57609c125d91Smrg print prefix "define", macro P[macro] D[macro] 57619c125d91Smrg next 57629c125d91Smrg } else { 57639c125d91Smrg # Replace #undef with comments. This is necessary, for example, 57649c125d91Smrg # in the case of _POSIX_SOURCE, which is predefined and required 57659c125d91Smrg # on some systems where configure will not decide to define it. 57669c125d91Smrg if (defundef == "undef") { 57679c125d91Smrg print "/*", prefix defundef, macro, "*/" 57689c125d91Smrg next 57699c125d91Smrg } 57709c125d91Smrg } 57719c125d91Smrg} 57729c125d91Smrg{ print } 57739c125d91Smrg_ACAWK 577416910e25Smrg_ACEOF 57759c125d91Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 57769c125d91Smrg as_fn_error "could not setup config headers machinery" "$LINENO" 5 57779c125d91Smrgfi # test -n "$CONFIG_HEADERS" 57789c125d91Smrg 57799c125d91Smrg 57809c125d91Smrgeval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 57819c125d91Smrgshift 57829c125d91Smrgfor ac_tag 57839c125d91Smrgdo 57849c125d91Smrg case $ac_tag in 57859c125d91Smrg :[FHLC]) ac_mode=$ac_tag; continue;; 57869c125d91Smrg esac 57879c125d91Smrg case $ac_mode$ac_tag in 57889c125d91Smrg :[FHL]*:*);; 57899c125d91Smrg :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 57909c125d91Smrg :[FH]-) ac_tag=-:-;; 57919c125d91Smrg :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 57929c125d91Smrg esac 57939c125d91Smrg ac_save_IFS=$IFS 57949c125d91Smrg IFS=: 57959c125d91Smrg set x $ac_tag 57969c125d91Smrg IFS=$ac_save_IFS 57979c125d91Smrg shift 57989c125d91Smrg ac_file=$1 57999c125d91Smrg shift 58009c125d91Smrg 58019c125d91Smrg case $ac_mode in 58029c125d91Smrg :L) ac_source=$1;; 58039c125d91Smrg :[FH]) 58049c125d91Smrg ac_file_inputs= 58059c125d91Smrg for ac_f 58069c125d91Smrg do 58079c125d91Smrg case $ac_f in 58089c125d91Smrg -) ac_f="$tmp/stdin";; 58099c125d91Smrg *) # Look for the file first in the build tree, then in the source tree 58109c125d91Smrg # (if the path is not absolute). The absolute path cannot be DOS-style, 58119c125d91Smrg # because $ac_f cannot contain `:'. 58129c125d91Smrg test -f "$ac_f" || 58139c125d91Smrg case $ac_f in 58149c125d91Smrg [\\/$]*) false;; 58159c125d91Smrg *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 58169c125d91Smrg esac || 58179c125d91Smrg as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 58189c125d91Smrg esac 58199c125d91Smrg case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 58209c125d91Smrg as_fn_append ac_file_inputs " '$ac_f'" 58219c125d91Smrg done 58229c125d91Smrg 58239c125d91Smrg # Let's still pretend it is `configure' which instantiates (i.e., don't 58249c125d91Smrg # use $as_me), people would be surprised to read: 58259c125d91Smrg # /* config.h. Generated by config.status. */ 58269c125d91Smrg configure_input='Generated from '` 58279c125d91Smrg $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 58289c125d91Smrg `' by configure.' 58299c125d91Smrg if test x"$ac_file" != x-; then 58309c125d91Smrg configure_input="$ac_file. $configure_input" 58319c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 58329c125d91Smrg$as_echo "$as_me: creating $ac_file" >&6;} 58339c125d91Smrg fi 58349c125d91Smrg # Neutralize special characters interpreted by sed in replacement strings. 58359c125d91Smrg case $configure_input in #( 58369c125d91Smrg *\&* | *\|* | *\\* ) 58379c125d91Smrg ac_sed_conf_input=`$as_echo "$configure_input" | 58389c125d91Smrg sed 's/[\\\\&|]/\\\\&/g'`;; #( 58399c125d91Smrg *) ac_sed_conf_input=$configure_input;; 58409c125d91Smrg esac 58419c125d91Smrg 58429c125d91Smrg case $ac_tag in 58439c125d91Smrg *:-:* | *:-) cat >"$tmp/stdin" \ 58449c125d91Smrg || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 58459c125d91Smrg esac 58469c125d91Smrg ;; 584716910e25Smrg esac 584816910e25Smrg 58499c125d91Smrg ac_dir=`$as_dirname -- "$ac_file" || 585016910e25Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 585116910e25Smrg X"$ac_file" : 'X\(//\)[^/]' \| \ 585216910e25Smrg X"$ac_file" : 'X\(//\)$' \| \ 58539c125d91Smrg X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 58549c125d91Smrg$as_echo X"$ac_file" | 58559c125d91Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 58569c125d91Smrg s//\1/ 58579c125d91Smrg q 58589c125d91Smrg } 58599c125d91Smrg /^X\(\/\/\)[^/].*/{ 58609c125d91Smrg s//\1/ 58619c125d91Smrg q 58629c125d91Smrg } 58639c125d91Smrg /^X\(\/\/\)$/{ 58649c125d91Smrg s//\1/ 58659c125d91Smrg q 58669c125d91Smrg } 58679c125d91Smrg /^X\(\/\).*/{ 58689c125d91Smrg s//\1/ 58699c125d91Smrg q 58709c125d91Smrg } 58719c125d91Smrg s/.*/./; q'` 58729c125d91Smrg as_dir="$ac_dir"; as_fn_mkdir_p 587316910e25Smrg ac_builddir=. 587416910e25Smrg 58759c125d91Smrgcase "$ac_dir" in 58769c125d91Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 58779c125d91Smrg*) 58789c125d91Smrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 58799c125d91Smrg # A ".." for each directory in $ac_dir_suffix. 58809c125d91Smrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 58819c125d91Smrg case $ac_top_builddir_sub in 58829c125d91Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 58839c125d91Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 58849c125d91Smrg esac ;; 58859c125d91Smrgesac 58869c125d91Smrgac_abs_top_builddir=$ac_pwd 58879c125d91Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 58889c125d91Smrg# for backward compatibility: 58899c125d91Smrgac_top_builddir=$ac_top_build_prefix 589016910e25Smrg 589116910e25Smrgcase $srcdir in 58929c125d91Smrg .) # We are building in place. 589316910e25Smrg ac_srcdir=. 58949c125d91Smrg ac_top_srcdir=$ac_top_builddir_sub 58959c125d91Smrg ac_abs_top_srcdir=$ac_pwd ;; 58969c125d91Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 589716910e25Smrg ac_srcdir=$srcdir$ac_dir_suffix; 58989c125d91Smrg ac_top_srcdir=$srcdir 58999c125d91Smrg ac_abs_top_srcdir=$srcdir ;; 59009c125d91Smrg *) # Relative name. 59019c125d91Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 59029c125d91Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 59039c125d91Smrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 590416910e25Smrgesac 59059c125d91Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 590616910e25Smrg 590716910e25Smrg 59089c125d91Smrg case $ac_mode in 59099c125d91Smrg :F) 59109c125d91Smrg # 59119c125d91Smrg # CONFIG_FILE 59129c125d91Smrg # 591316910e25Smrg 591416910e25Smrg case $INSTALL in 591516910e25Smrg [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 59169c125d91Smrg *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 59179c125d91Smrg esac 59189c125d91Smrg ac_MKDIR_P=$MKDIR_P 59199c125d91Smrg case $MKDIR_P in 59209c125d91Smrg [\\/$]* | ?:[\\/]* ) ;; 59219c125d91Smrg */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 592216910e25Smrg esac 59239c125d91Smrg_ACEOF 592416910e25Smrg 59259c125d91Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 59269c125d91Smrg# If the template does not know about datarootdir, expand it. 59279c125d91Smrg# FIXME: This hack should be removed a few years after 2.60. 59289c125d91Smrgac_datarootdir_hack=; ac_datarootdir_seen= 59299c125d91Smrgac_sed_dataroot=' 59309c125d91Smrg/datarootdir/ { 59319c125d91Smrg p 59329c125d91Smrg q 59339c125d91Smrg} 59349c125d91Smrg/@datadir@/p 59359c125d91Smrg/@docdir@/p 59369c125d91Smrg/@infodir@/p 59379c125d91Smrg/@localedir@/p 59389c125d91Smrg/@mandir@/p' 59399c125d91Smrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 59409c125d91Smrg*datarootdir*) ac_datarootdir_seen=yes;; 59419c125d91Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 59429c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 59439c125d91Smrg$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 59449c125d91Smrg_ACEOF 59459c125d91Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 59469c125d91Smrg ac_datarootdir_hack=' 59479c125d91Smrg s&@datadir@&$datadir&g 59489c125d91Smrg s&@docdir@&$docdir&g 59499c125d91Smrg s&@infodir@&$infodir&g 59509c125d91Smrg s&@localedir@&$localedir&g 59519c125d91Smrg s&@mandir@&$mandir&g 59529c125d91Smrg s&\\\${datarootdir}&$datarootdir&g' ;; 59539c125d91Smrgesac 595416910e25Smrg_ACEOF 59559c125d91Smrg 59569c125d91Smrg# Neutralize VPATH when `$srcdir' = `.'. 59579c125d91Smrg# Shell code in configure.ac might set extrasub. 59589c125d91Smrg# FIXME: do we really want to maintain this feature? 59599c125d91Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 59609c125d91Smrgac_sed_extra="$ac_vpsub 596116910e25Smrg$extrasub 596216910e25Smrg_ACEOF 59639c125d91Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 596416910e25Smrg:t 596516910e25Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 59669c125d91Smrgs|@configure_input@|$ac_sed_conf_input|;t t 59679c125d91Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t 59689c125d91Smrgs&@top_build_prefix@&$ac_top_build_prefix&;t t 59699c125d91Smrgs&@srcdir@&$ac_srcdir&;t t 59709c125d91Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t 59719c125d91Smrgs&@top_srcdir@&$ac_top_srcdir&;t t 59729c125d91Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 59739c125d91Smrgs&@builddir@&$ac_builddir&;t t 59749c125d91Smrgs&@abs_builddir@&$ac_abs_builddir&;t t 59759c125d91Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t 59769c125d91Smrgs&@INSTALL@&$ac_INSTALL&;t t 59779c125d91Smrgs&@MKDIR_P@&$ac_MKDIR_P&;t t 59789c125d91Smrg$ac_datarootdir_hack 59799c125d91Smrg" 59809c125d91Smrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 59819c125d91Smrg || as_fn_error "could not create $ac_file" "$LINENO" 5 59829c125d91Smrg 59839c125d91Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 59849c125d91Smrg { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 59859c125d91Smrg { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 59869c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 59879c125d91Smrgwhich seems to be undefined. Please make sure it is defined." >&5 59889c125d91Smrg$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 59899c125d91Smrgwhich seems to be undefined. Please make sure it is defined." >&2;} 59909c125d91Smrg 59919c125d91Smrg rm -f "$tmp/stdin" 599216910e25Smrg case $ac_file in 59939c125d91Smrg -) cat "$tmp/out" && rm -f "$tmp/out";; 59949c125d91Smrg *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 59959c125d91Smrg esac \ 59969c125d91Smrg || as_fn_error "could not create $ac_file" "$LINENO" 5 59979c125d91Smrg ;; 59989c125d91Smrg :H) 59999c125d91Smrg # 60009c125d91Smrg # CONFIG_HEADER 60019c125d91Smrg # 600216910e25Smrg if test x"$ac_file" != x-; then 60039c125d91Smrg { 60049c125d91Smrg $as_echo "/* $configure_input */" \ 60059c125d91Smrg && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 60069c125d91Smrg } >"$tmp/config.h" \ 60079c125d91Smrg || as_fn_error "could not create $ac_file" "$LINENO" 5 60089c125d91Smrg if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 60099c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 60109c125d91Smrg$as_echo "$as_me: $ac_file is unchanged" >&6;} 601116910e25Smrg else 60129c125d91Smrg rm -f "$ac_file" 60139c125d91Smrg mv "$tmp/config.h" "$ac_file" \ 60149c125d91Smrg || as_fn_error "could not create $ac_file" "$LINENO" 5 601516910e25Smrg fi 601616910e25Smrg else 60179c125d91Smrg $as_echo "/* $configure_input */" \ 60189c125d91Smrg && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 60199c125d91Smrg || as_fn_error "could not create -" "$LINENO" 5 602016910e25Smrg fi 60219c125d91Smrg# Compute "$ac_file"'s index in $config_headers. 60229c125d91Smrg_am_arg="$ac_file" 602316910e25Smrg_am_stamp_count=1 602416910e25Smrgfor _am_header in $config_headers :; do 602516910e25Smrg case $_am_header in 60269c125d91Smrg $_am_arg | $_am_arg:* ) 602716910e25Smrg break ;; 602816910e25Smrg * ) 602916910e25Smrg _am_stamp_count=`expr $_am_stamp_count + 1` ;; 603016910e25Smrg esac 603116910e25Smrgdone 60329c125d91Smrgecho "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 60339c125d91Smrg$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 60349c125d91Smrg X"$_am_arg" : 'X\(//\)[^/]' \| \ 60359c125d91Smrg X"$_am_arg" : 'X\(//\)$' \| \ 60369c125d91Smrg X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 60379c125d91Smrg$as_echo X"$_am_arg" | 60389c125d91Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 60399c125d91Smrg s//\1/ 60409c125d91Smrg q 60419c125d91Smrg } 60429c125d91Smrg /^X\(\/\/\)[^/].*/{ 60439c125d91Smrg s//\1/ 60449c125d91Smrg q 60459c125d91Smrg } 60469c125d91Smrg /^X\(\/\/\)$/{ 60479c125d91Smrg s//\1/ 60489c125d91Smrg q 60499c125d91Smrg } 60509c125d91Smrg /^X\(\/\).*/{ 60519c125d91Smrg s//\1/ 60529c125d91Smrg q 60539c125d91Smrg } 60549c125d91Smrg s/.*/./; q'`/stamp-h$_am_stamp_count 60559c125d91Smrg ;; 605616910e25Smrg 60579c125d91Smrg :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 60589c125d91Smrg$as_echo "$as_me: executing $ac_file commands" >&6;} 60599c125d91Smrg ;; 60609c125d91Smrg esac 606116910e25Smrg 606216910e25Smrg 60639c125d91Smrg case $ac_file$ac_mode in 60649c125d91Smrg "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 60659c125d91Smrg # Autoconf 2.62 quotes --file arguments for eval, but not when files 60669c125d91Smrg # are listed without --file. Let's play safe and only enable the eval 60679c125d91Smrg # if we detect the quoting. 60689c125d91Smrg case $CONFIG_FILES in 60699c125d91Smrg *\'*) eval set x "$CONFIG_FILES" ;; 60709c125d91Smrg *) set x $CONFIG_FILES ;; 60719c125d91Smrg esac 60729c125d91Smrg shift 60739c125d91Smrg for mf 60749c125d91Smrg do 60759c125d91Smrg # Strip MF so we end up with the name of the file. 60769c125d91Smrg mf=`echo "$mf" | sed -e 's/:.*$//'` 60779c125d91Smrg # Check whether this is an Automake generated Makefile or not. 60789c125d91Smrg # We used to match only the files named `Makefile.in', but 60799c125d91Smrg # some people rename them; so instead we look at the file content. 60809c125d91Smrg # Grep'ing the first line is not enough: some people post-process 60819c125d91Smrg # each Makefile.in and add a new line on top of each file to say so. 60829c125d91Smrg # Grep'ing the whole file is not good either: AIX grep has a line 60839c125d91Smrg # limit of 2048, but all sed's we know have understand at least 4000. 60849c125d91Smrg if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 60859c125d91Smrg dirpart=`$as_dirname -- "$mf" || 608616910e25Smrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 608716910e25Smrg X"$mf" : 'X\(//\)[^/]' \| \ 608816910e25Smrg X"$mf" : 'X\(//\)$' \| \ 60899c125d91Smrg X"$mf" : 'X\(/\)' \| . 2>/dev/null || 60909c125d91Smrg$as_echo X"$mf" | 60919c125d91Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 60929c125d91Smrg s//\1/ 60939c125d91Smrg q 60949c125d91Smrg } 60959c125d91Smrg /^X\(\/\/\)[^/].*/{ 60969c125d91Smrg s//\1/ 60979c125d91Smrg q 60989c125d91Smrg } 60999c125d91Smrg /^X\(\/\/\)$/{ 61009c125d91Smrg s//\1/ 61019c125d91Smrg q 61029c125d91Smrg } 61039c125d91Smrg /^X\(\/\).*/{ 61049c125d91Smrg s//\1/ 61059c125d91Smrg q 61069c125d91Smrg } 61079c125d91Smrg s/.*/./; q'` 61089c125d91Smrg else 61099c125d91Smrg continue 61109c125d91Smrg fi 61119c125d91Smrg # Extract the definition of DEPDIR, am__include, and am__quote 61129c125d91Smrg # from the Makefile without running `make'. 61139c125d91Smrg DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 61149c125d91Smrg test -z "$DEPDIR" && continue 61159c125d91Smrg am__include=`sed -n 's/^am__include = //p' < "$mf"` 61169c125d91Smrg test -z "am__include" && continue 61179c125d91Smrg am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 61189c125d91Smrg # When using ansi2knr, U may be empty or an underscore; expand it 61199c125d91Smrg U=`sed -n 's/^U = //p' < "$mf"` 61209c125d91Smrg # Find all dependency output files, they are included files with 61219c125d91Smrg # $(DEPDIR) in their names. We invoke sed twice because it is the 61229c125d91Smrg # simplest approach to changing $(DEPDIR) to its actual value in the 61239c125d91Smrg # expansion. 61249c125d91Smrg for file in `sed -n " 61259c125d91Smrg s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 61269c125d91Smrg sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 61279c125d91Smrg # Make sure the directory exists. 61289c125d91Smrg test -f "$dirpart/$file" && continue 61299c125d91Smrg fdir=`$as_dirname -- "$file" || 613016910e25Smrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 613116910e25Smrg X"$file" : 'X\(//\)[^/]' \| \ 613216910e25Smrg X"$file" : 'X\(//\)$' \| \ 61339c125d91Smrg X"$file" : 'X\(/\)' \| . 2>/dev/null || 61349c125d91Smrg$as_echo X"$file" | 61359c125d91Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 61369c125d91Smrg s//\1/ 61379c125d91Smrg q 61389c125d91Smrg } 61399c125d91Smrg /^X\(\/\/\)[^/].*/{ 61409c125d91Smrg s//\1/ 61419c125d91Smrg q 61429c125d91Smrg } 61439c125d91Smrg /^X\(\/\/\)$/{ 61449c125d91Smrg s//\1/ 61459c125d91Smrg q 61469c125d91Smrg } 61479c125d91Smrg /^X\(\/\).*/{ 61489c125d91Smrg s//\1/ 61499c125d91Smrg q 61509c125d91Smrg } 61519c125d91Smrg s/.*/./; q'` 61529c125d91Smrg as_dir=$dirpart/$fdir; as_fn_mkdir_p 61539c125d91Smrg # echo "creating $dirpart/$file" 61549c125d91Smrg echo '# dummy' > "$dirpart/$file" 615516910e25Smrg done 615616910e25Smrg done 61579c125d91Smrg} 615816910e25Smrg ;; 61599c125d91Smrg 616016910e25Smrg esac 61619c125d91Smrgdone # for ac_tag 616216910e25Smrg 616316910e25Smrg 61649c125d91Smrgas_fn_exit 0 616516910e25Smrg_ACEOF 616616910e25Smrgac_clean_files=$ac_clean_files_save 616716910e25Smrg 61689c125d91Smrgtest $ac_write_fail = 0 || 61699c125d91Smrg as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 61709c125d91Smrg 617116910e25Smrg 617216910e25Smrg# configure is writing to config.log, and then calls config.status. 617316910e25Smrg# config.status does its own redirection, appending to config.log. 617416910e25Smrg# Unfortunately, on DOS this fails, as config.log is still kept open 617516910e25Smrg# by configure, so config.status won't be able to write to it; its 617616910e25Smrg# output is simply discarded. So we exec the FD to /dev/null, 617716910e25Smrg# effectively closing config.log, so it can be properly (re)opened and 617816910e25Smrg# appended to by config.status. When coming back to configure, we 617916910e25Smrg# need to make the FD available again. 618016910e25Smrgif test "$no_create" != yes; then 618116910e25Smrg ac_cs_success=: 618216910e25Smrg ac_config_status_args= 618316910e25Smrg test "$silent" = yes && 618416910e25Smrg ac_config_status_args="$ac_config_status_args --quiet" 618516910e25Smrg exec 5>/dev/null 618616910e25Smrg $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 618716910e25Smrg exec 5>>config.log 618816910e25Smrg # Use ||, not &&, to avoid exiting from the if with $? = 1, which 618916910e25Smrg # would make configure fail if this is the last instruction. 61909c125d91Smrg $ac_cs_success || as_fn_exit $? 61919c125d91Smrgfi 61929c125d91Smrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 61939c125d91Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 61949c125d91Smrg$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 619516910e25Smrgfi 619616910e25Smrg 6197