configure revision c918a7e2
1c19de146Smrg#! /bin/sh 2c19de146Smrg# Guess values for system-dependent variables and create Makefiles. 3c918a7e2Smrg# Generated by GNU Autoconf 2.68 for xbiff 1.0.3. 4c19de146Smrg# 5c19de146Smrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 6c19de146Smrg# 79ef7378bSmrg# 89ef7378bSmrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 9c918a7e2Smrg# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 10c918a7e2Smrg# Foundation, Inc. 119ef7378bSmrg# 129ef7378bSmrg# 13c19de146Smrg# This configure script is free software; the Free Software Foundation 14c19de146Smrg# gives unlimited permission to copy, distribute and modify it. 159ef7378bSmrg## -------------------- ## 169ef7378bSmrg## M4sh Initialization. ## 179ef7378bSmrg## -------------------- ## 18c19de146Smrg 199ef7378bSmrg# Be more Bourne compatible 209ef7378bSmrgDUALCASE=1; export DUALCASE # for MKS sh 219ef7378bSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 22c19de146Smrg emulate sh 23c19de146Smrg NULLCMD=: 249ef7378bSmrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 25c19de146Smrg # is contrary to our usage. Disable this feature. 26c19de146Smrg alias -g '${1+"$@"}'='"$@"' 279ef7378bSmrg setopt NO_GLOB_SUBST 289ef7378bSmrgelse 299ef7378bSmrg case `(set -o) 2>/dev/null` in #( 309ef7378bSmrg *posix*) : 319ef7378bSmrg set -o posix ;; #( 329ef7378bSmrg *) : 339ef7378bSmrg ;; 349ef7378bSmrgesac 35c19de146Smrgfi 36c19de146Smrg 379ef7378bSmrg 389ef7378bSmrgas_nl=' 399ef7378bSmrg' 409ef7378bSmrgexport as_nl 419ef7378bSmrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 429ef7378bSmrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 439ef7378bSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 449ef7378bSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 459ef7378bSmrg# Prefer a ksh shell builtin over an external printf program on Solaris, 469ef7378bSmrg# but without wasting forks for bash or zsh. 479ef7378bSmrgif test -z "$BASH_VERSION$ZSH_VERSION" \ 489ef7378bSmrg && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 499ef7378bSmrg as_echo='print -r --' 509ef7378bSmrg as_echo_n='print -rn --' 519ef7378bSmrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 529ef7378bSmrg as_echo='printf %s\n' 539ef7378bSmrg as_echo_n='printf %s' 54c19de146Smrgelse 559ef7378bSmrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 569ef7378bSmrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 579ef7378bSmrg as_echo_n='/usr/ucb/echo -n' 589ef7378bSmrg else 599ef7378bSmrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 609ef7378bSmrg as_echo_n_body='eval 619ef7378bSmrg arg=$1; 629ef7378bSmrg case $arg in #( 639ef7378bSmrg *"$as_nl"*) 649ef7378bSmrg expr "X$arg" : "X\\(.*\\)$as_nl"; 659ef7378bSmrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 669ef7378bSmrg esac; 679ef7378bSmrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 689ef7378bSmrg ' 699ef7378bSmrg export as_echo_n_body 709ef7378bSmrg as_echo_n='sh -c $as_echo_n_body as_echo' 719ef7378bSmrg fi 729ef7378bSmrg export as_echo_body 739ef7378bSmrg as_echo='sh -c $as_echo_body as_echo' 749ef7378bSmrgfi 759ef7378bSmrg 769ef7378bSmrg# The user is always right. 779ef7378bSmrgif test "${PATH_SEPARATOR+set}" != set; then 789ef7378bSmrg PATH_SEPARATOR=: 799ef7378bSmrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 809ef7378bSmrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 819ef7378bSmrg PATH_SEPARATOR=';' 829ef7378bSmrg } 83c19de146Smrgfi 84c19de146Smrg 85c19de146Smrg 869ef7378bSmrg# IFS 879ef7378bSmrg# We need space, tab and new line, in precisely that order. Quoting is 889ef7378bSmrg# there to prevent editors from complaining about space-tab. 899ef7378bSmrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 909ef7378bSmrg# splitting by setting IFS to empty value.) 919ef7378bSmrgIFS=" "" $as_nl" 929ef7378bSmrg 939ef7378bSmrg# Find who we are. Look in the path if we contain no directory separator. 94c918a7e2Smrgas_myself= 959ef7378bSmrgcase $0 in #(( 969ef7378bSmrg *[\\/]* ) as_myself=$0 ;; 979ef7378bSmrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 989ef7378bSmrgfor as_dir in $PATH 999ef7378bSmrgdo 1009ef7378bSmrg IFS=$as_save_IFS 1019ef7378bSmrg test -z "$as_dir" && as_dir=. 1029ef7378bSmrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 1039ef7378bSmrg done 1049ef7378bSmrgIFS=$as_save_IFS 1059ef7378bSmrg 1069ef7378bSmrg ;; 1079ef7378bSmrgesac 1089ef7378bSmrg# We did not find ourselves, most probably we were run as `sh COMMAND' 1099ef7378bSmrg# in which case we are not to be found in the path. 1109ef7378bSmrgif test "x$as_myself" = x; then 1119ef7378bSmrg as_myself=$0 1129ef7378bSmrgfi 1139ef7378bSmrgif test ! -f "$as_myself"; then 1149ef7378bSmrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 1159ef7378bSmrg exit 1 1169ef7378bSmrgfi 1179ef7378bSmrg 1189ef7378bSmrg# Unset variables that we do not need and which cause bugs (e.g. in 1199ef7378bSmrg# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 1209ef7378bSmrg# suppresses any "Segmentation fault" message there. '((' could 1219ef7378bSmrg# trigger a bug in pdksh 5.2.14. 1229ef7378bSmrgfor as_var in BASH_ENV ENV MAIL MAILPATH 1239ef7378bSmrgdo eval test x\${$as_var+set} = xset \ 1249ef7378bSmrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 1259ef7378bSmrgdone 126c19de146SmrgPS1='$ ' 127c19de146SmrgPS2='> ' 128c19de146SmrgPS4='+ ' 129c19de146Smrg 130c19de146Smrg# NLS nuisances. 1319ef7378bSmrgLC_ALL=C 1329ef7378bSmrgexport LC_ALL 1339ef7378bSmrgLANGUAGE=C 1349ef7378bSmrgexport LANGUAGE 1359ef7378bSmrg 1369ef7378bSmrg# CDPATH. 1379ef7378bSmrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 1389ef7378bSmrg 1399ef7378bSmrgif test "x$CONFIG_SHELL" = x; then 1409ef7378bSmrg as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 1419ef7378bSmrg emulate sh 1429ef7378bSmrg NULLCMD=: 1439ef7378bSmrg # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 1449ef7378bSmrg # is contrary to our usage. Disable this feature. 1459ef7378bSmrg alias -g '\${1+\"\$@\"}'='\"\$@\"' 1469ef7378bSmrg setopt NO_GLOB_SUBST 1479ef7378bSmrgelse 1489ef7378bSmrg case \`(set -o) 2>/dev/null\` in #( 1499ef7378bSmrg *posix*) : 1509ef7378bSmrg set -o posix ;; #( 1519ef7378bSmrg *) : 1529ef7378bSmrg ;; 1539ef7378bSmrgesac 1549ef7378bSmrgfi 1559ef7378bSmrg" 1569ef7378bSmrg as_required="as_fn_return () { (exit \$1); } 1579ef7378bSmrgas_fn_success () { as_fn_return 0; } 1589ef7378bSmrgas_fn_failure () { as_fn_return 1; } 1599ef7378bSmrgas_fn_ret_success () { return 0; } 1609ef7378bSmrgas_fn_ret_failure () { return 1; } 1619ef7378bSmrg 1629ef7378bSmrgexitcode=0 1639ef7378bSmrgas_fn_success || { exitcode=1; echo as_fn_success failed.; } 1649ef7378bSmrgas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 1659ef7378bSmrgas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 1669ef7378bSmrgas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 1679ef7378bSmrgif ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 1689ef7378bSmrg 1699ef7378bSmrgelse 1709ef7378bSmrg exitcode=1; echo positional parameters were not saved. 1719ef7378bSmrgfi 1729ef7378bSmrgtest x\$exitcode = x0 || exit 1" 1739ef7378bSmrg as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 1749ef7378bSmrg as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 1759ef7378bSmrg eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 1769ef7378bSmrg test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 1779ef7378bSmrgtest \$(( 1 + 1 )) = 2 || exit 1" 1789ef7378bSmrg if (eval "$as_required") 2>/dev/null; then : 1799ef7378bSmrg as_have_required=yes 1809ef7378bSmrgelse 1819ef7378bSmrg as_have_required=no 1829ef7378bSmrgfi 1839ef7378bSmrg if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 1849ef7378bSmrg 1859ef7378bSmrgelse 1869ef7378bSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1879ef7378bSmrgas_found=false 1889ef7378bSmrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 189c19de146Smrgdo 1909ef7378bSmrg IFS=$as_save_IFS 1919ef7378bSmrg test -z "$as_dir" && as_dir=. 1929ef7378bSmrg as_found=: 1939ef7378bSmrg case $as_dir in #( 1949ef7378bSmrg /*) 1959ef7378bSmrg for as_base in sh bash ksh sh5; do 1969ef7378bSmrg # Try only shells that exist, to save several forks. 1979ef7378bSmrg as_shell=$as_dir/$as_base 1989ef7378bSmrg if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 1999ef7378bSmrg { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 2009ef7378bSmrg CONFIG_SHELL=$as_shell as_have_required=yes 2019ef7378bSmrg if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 2029ef7378bSmrg break 2 2039ef7378bSmrgfi 2049ef7378bSmrgfi 2059ef7378bSmrg done;; 2069ef7378bSmrg esac 2079ef7378bSmrg as_found=false 2089ef7378bSmrgdone 2099ef7378bSmrg$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 2109ef7378bSmrg { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 2119ef7378bSmrg CONFIG_SHELL=$SHELL as_have_required=yes 2129ef7378bSmrgfi; } 2139ef7378bSmrgIFS=$as_save_IFS 2149ef7378bSmrg 2159ef7378bSmrg 2169ef7378bSmrg if test "x$CONFIG_SHELL" != x; then : 2179ef7378bSmrg # We cannot yet assume a decent shell, so we have to provide a 2189ef7378bSmrg # neutralization value for shells without unset; and this also 2199ef7378bSmrg # works around shells that cannot unset nonexistent variables. 220c918a7e2Smrg # Preserve -v and -x to the replacement shell. 2219ef7378bSmrg BASH_ENV=/dev/null 2229ef7378bSmrg ENV=/dev/null 2239ef7378bSmrg (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 2249ef7378bSmrg export CONFIG_SHELL 225c918a7e2Smrg case $- in # (((( 226c918a7e2Smrg *v*x* | *x*v* ) as_opts=-vx ;; 227c918a7e2Smrg *v* ) as_opts=-v ;; 228c918a7e2Smrg *x* ) as_opts=-x ;; 229c918a7e2Smrg * ) as_opts= ;; 230c918a7e2Smrg esac 231c918a7e2Smrg exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 2329ef7378bSmrgfi 2339ef7378bSmrg 2349ef7378bSmrg if test x$as_have_required = xno; then : 2359ef7378bSmrg $as_echo "$0: This script requires a shell more modern than all" 2369ef7378bSmrg $as_echo "$0: the shells that I found on your system." 2379ef7378bSmrg if test x${ZSH_VERSION+set} = xset ; then 2389ef7378bSmrg $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 2399ef7378bSmrg $as_echo "$0: be upgraded to zsh 4.3.4 or later." 240c19de146Smrg else 2419ef7378bSmrg $as_echo "$0: Please tell bug-autoconf@gnu.org and 2429ef7378bSmrg$0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg 2439ef7378bSmrg$0: about your system, including any error possibly output 2449ef7378bSmrg$0: before this message. Then install a modern shell, or 2459ef7378bSmrg$0: manually run the script under such a shell if you do 2469ef7378bSmrg$0: have one." 247c19de146Smrg fi 2489ef7378bSmrg exit 1 2499ef7378bSmrgfi 2509ef7378bSmrgfi 2519ef7378bSmrgfi 2529ef7378bSmrgSHELL=${CONFIG_SHELL-/bin/sh} 2539ef7378bSmrgexport SHELL 2549ef7378bSmrg# Unset more variables known to interfere with behavior of common tools. 2559ef7378bSmrgCLICOLOR_FORCE= GREP_OPTIONS= 2569ef7378bSmrgunset CLICOLOR_FORCE GREP_OPTIONS 2579ef7378bSmrg 2589ef7378bSmrg## --------------------- ## 2599ef7378bSmrg## M4sh Shell Functions. ## 2609ef7378bSmrg## --------------------- ## 2619ef7378bSmrg# as_fn_unset VAR 2629ef7378bSmrg# --------------- 2639ef7378bSmrg# Portably unset VAR. 2649ef7378bSmrgas_fn_unset () 2659ef7378bSmrg{ 2669ef7378bSmrg { eval $1=; unset $1;} 2679ef7378bSmrg} 2689ef7378bSmrgas_unset=as_fn_unset 2699ef7378bSmrg 2709ef7378bSmrg# as_fn_set_status STATUS 2719ef7378bSmrg# ----------------------- 2729ef7378bSmrg# Set $? to STATUS, without forking. 2739ef7378bSmrgas_fn_set_status () 2749ef7378bSmrg{ 2759ef7378bSmrg return $1 2769ef7378bSmrg} # as_fn_set_status 2779ef7378bSmrg 2789ef7378bSmrg# as_fn_exit STATUS 2799ef7378bSmrg# ----------------- 2809ef7378bSmrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 2819ef7378bSmrgas_fn_exit () 2829ef7378bSmrg{ 2839ef7378bSmrg set +e 2849ef7378bSmrg as_fn_set_status $1 2859ef7378bSmrg exit $1 2869ef7378bSmrg} # as_fn_exit 2879ef7378bSmrg 2889ef7378bSmrg# as_fn_mkdir_p 2899ef7378bSmrg# ------------- 2909ef7378bSmrg# Create "$as_dir" as a directory, including parents if necessary. 2919ef7378bSmrgas_fn_mkdir_p () 2929ef7378bSmrg{ 293c19de146Smrg 2949ef7378bSmrg case $as_dir in #( 2959ef7378bSmrg -*) as_dir=./$as_dir;; 2969ef7378bSmrg esac 2979ef7378bSmrg test -d "$as_dir" || eval $as_mkdir_p || { 2989ef7378bSmrg as_dirs= 2999ef7378bSmrg while :; do 3009ef7378bSmrg case $as_dir in #( 3019ef7378bSmrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 3029ef7378bSmrg *) as_qdir=$as_dir;; 3039ef7378bSmrg esac 3049ef7378bSmrg as_dirs="'$as_qdir' $as_dirs" 3059ef7378bSmrg as_dir=`$as_dirname -- "$as_dir" || 3069ef7378bSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3079ef7378bSmrg X"$as_dir" : 'X\(//\)[^/]' \| \ 3089ef7378bSmrg X"$as_dir" : 'X\(//\)$' \| \ 3099ef7378bSmrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 3109ef7378bSmrg$as_echo X"$as_dir" | 3119ef7378bSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3129ef7378bSmrg s//\1/ 3139ef7378bSmrg q 3149ef7378bSmrg } 3159ef7378bSmrg /^X\(\/\/\)[^/].*/{ 3169ef7378bSmrg s//\1/ 3179ef7378bSmrg q 3189ef7378bSmrg } 3199ef7378bSmrg /^X\(\/\/\)$/{ 3209ef7378bSmrg s//\1/ 3219ef7378bSmrg q 3229ef7378bSmrg } 3239ef7378bSmrg /^X\(\/\).*/{ 3249ef7378bSmrg s//\1/ 3259ef7378bSmrg q 3269ef7378bSmrg } 3279ef7378bSmrg s/.*/./; q'` 3289ef7378bSmrg test -d "$as_dir" && break 3299ef7378bSmrg done 3309ef7378bSmrg test -z "$as_dirs" || eval "mkdir $as_dirs" 331c918a7e2Smrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 3329ef7378bSmrg 3339ef7378bSmrg 3349ef7378bSmrg} # as_fn_mkdir_p 3359ef7378bSmrg# as_fn_append VAR VALUE 3369ef7378bSmrg# ---------------------- 3379ef7378bSmrg# Append the text in VALUE to the end of the definition contained in VAR. Take 3389ef7378bSmrg# advantage of any shell optimizations that allow amortized linear growth over 3399ef7378bSmrg# repeated appends, instead of the typical quadratic growth present in naive 3409ef7378bSmrg# implementations. 3419ef7378bSmrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 3429ef7378bSmrg eval 'as_fn_append () 3439ef7378bSmrg { 3449ef7378bSmrg eval $1+=\$2 3459ef7378bSmrg }' 3469ef7378bSmrgelse 3479ef7378bSmrg as_fn_append () 3489ef7378bSmrg { 3499ef7378bSmrg eval $1=\$$1\$2 3509ef7378bSmrg } 3519ef7378bSmrgfi # as_fn_append 3529ef7378bSmrg 3539ef7378bSmrg# as_fn_arith ARG... 3549ef7378bSmrg# ------------------ 3559ef7378bSmrg# Perform arithmetic evaluation on the ARGs, and store the result in the 3569ef7378bSmrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 3579ef7378bSmrg# must be portable across $(()) and expr. 3589ef7378bSmrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 3599ef7378bSmrg eval 'as_fn_arith () 3609ef7378bSmrg { 3619ef7378bSmrg as_val=$(( $* )) 3629ef7378bSmrg }' 3639ef7378bSmrgelse 3649ef7378bSmrg as_fn_arith () 3659ef7378bSmrg { 3669ef7378bSmrg as_val=`expr "$@" || test $? -eq 1` 3679ef7378bSmrg } 3689ef7378bSmrgfi # as_fn_arith 3699ef7378bSmrg 3709ef7378bSmrg 371c918a7e2Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 372c918a7e2Smrg# ---------------------------------------- 3739ef7378bSmrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 3749ef7378bSmrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 375c918a7e2Smrg# script with STATUS, using 1 if that was 0. 3769ef7378bSmrgas_fn_error () 3779ef7378bSmrg{ 378c918a7e2Smrg as_status=$1; test $as_status -eq 0 && as_status=1 379c918a7e2Smrg if test "$4"; then 380c918a7e2Smrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 381c918a7e2Smrg $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 3829ef7378bSmrg fi 383c918a7e2Smrg $as_echo "$as_me: error: $2" >&2 3849ef7378bSmrg as_fn_exit $as_status 3859ef7378bSmrg} # as_fn_error 3869ef7378bSmrg 3879ef7378bSmrgif expr a : '\(a\)' >/dev/null 2>&1 && 3889ef7378bSmrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 389c19de146Smrg as_expr=expr 390c19de146Smrgelse 391c19de146Smrg as_expr=false 392c19de146Smrgfi 393c19de146Smrg 3949ef7378bSmrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 395c19de146Smrg as_basename=basename 396c19de146Smrgelse 397c19de146Smrg as_basename=false 398c19de146Smrgfi 399c19de146Smrg 4009ef7378bSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 4019ef7378bSmrg as_dirname=dirname 4029ef7378bSmrgelse 4039ef7378bSmrg as_dirname=false 4049ef7378bSmrgfi 405c19de146Smrg 4069ef7378bSmrgas_me=`$as_basename -- "$0" || 407c19de146Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 408c19de146Smrg X"$0" : 'X\(//\)$' \| \ 4099ef7378bSmrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 4109ef7378bSmrg$as_echo X/"$0" | 4119ef7378bSmrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 4129ef7378bSmrg s//\1/ 4139ef7378bSmrg q 4149ef7378bSmrg } 4159ef7378bSmrg /^X\/\(\/\/\)$/{ 4169ef7378bSmrg s//\1/ 4179ef7378bSmrg q 4189ef7378bSmrg } 4199ef7378bSmrg /^X\/\(\/\).*/{ 4209ef7378bSmrg s//\1/ 4219ef7378bSmrg q 4229ef7378bSmrg } 4239ef7378bSmrg s/.*/./; q'` 424c19de146Smrg 425c19de146Smrg# Avoid depending upon Character Ranges. 426c19de146Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 427c19de146Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 428c19de146Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 429c19de146Smrgas_cr_digits='0123456789' 430c19de146Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 431c19de146Smrg 432c19de146Smrg 4339ef7378bSmrg as_lineno_1=$LINENO as_lineno_1a=$LINENO 4349ef7378bSmrg as_lineno_2=$LINENO as_lineno_2a=$LINENO 4359ef7378bSmrg eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 4369ef7378bSmrg test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 4379ef7378bSmrg # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 4389ef7378bSmrg sed -n ' 4399ef7378bSmrg p 4409ef7378bSmrg /[$]LINENO/= 4419ef7378bSmrg ' <$as_myself | 442c19de146Smrg sed ' 4439ef7378bSmrg s/[$]LINENO.*/&-/ 4449ef7378bSmrg t lineno 4459ef7378bSmrg b 4469ef7378bSmrg :lineno 447c19de146Smrg N 4489ef7378bSmrg :loop 4499ef7378bSmrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 450c19de146Smrg t loop 4519ef7378bSmrg s/-\n.*// 452c19de146Smrg ' >$as_me.lineno && 4539ef7378bSmrg chmod +x "$as_me.lineno" || 4549ef7378bSmrg { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 455c19de146Smrg 456c19de146Smrg # Don't try to exec as it changes $[0], causing all sort of problems 457c19de146Smrg # (the dirname of $[0] is not the place where we might find the 4589ef7378bSmrg # original and so on. Autoconf is especially sensitive to this). 4599ef7378bSmrg . "./$as_me.lineno" 460c19de146Smrg # Exit status is that of the last command. 461c19de146Smrg exit 462c19de146Smrg} 463c19de146Smrg 4649ef7378bSmrgECHO_C= ECHO_N= ECHO_T= 4659ef7378bSmrgcase `echo -n x` in #((((( 4669ef7378bSmrg-n*) 4679ef7378bSmrg case `echo 'xy\c'` in 4689ef7378bSmrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 4699ef7378bSmrg xy) ECHO_C='\c';; 4709ef7378bSmrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 4719ef7378bSmrg ECHO_T=' ';; 4729ef7378bSmrg esac;; 4739ef7378bSmrg*) 4749ef7378bSmrg ECHO_N='-n';; 475c19de146Smrgesac 476c19de146Smrg 4779ef7378bSmrgrm -f conf$$ conf$$.exe conf$$.file 4789ef7378bSmrgif test -d conf$$.dir; then 4799ef7378bSmrg rm -f conf$$.dir/conf$$.file 480c19de146Smrgelse 4819ef7378bSmrg rm -f conf$$.dir 4829ef7378bSmrg mkdir conf$$.dir 2>/dev/null 483c19de146Smrgfi 4849ef7378bSmrgif (echo >conf$$.file) 2>/dev/null; then 4859ef7378bSmrg if ln -s conf$$.file conf$$ 2>/dev/null; then 486c19de146Smrg as_ln_s='ln -s' 4879ef7378bSmrg # ... but there are two gotchas: 4889ef7378bSmrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 4899ef7378bSmrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 4909ef7378bSmrg # In both cases, we have to default to `cp -p'. 4919ef7378bSmrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 4929ef7378bSmrg as_ln_s='cp -p' 4939ef7378bSmrg elif ln conf$$.file conf$$ 2>/dev/null; then 4949ef7378bSmrg as_ln_s=ln 4959ef7378bSmrg else 4969ef7378bSmrg as_ln_s='cp -p' 497c19de146Smrg fi 498c19de146Smrgelse 499c19de146Smrg as_ln_s='cp -p' 500c19de146Smrgfi 5019ef7378bSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5029ef7378bSmrgrmdir conf$$.dir 2>/dev/null 503c19de146Smrg 504c19de146Smrgif mkdir -p . 2>/dev/null; then 5059ef7378bSmrg as_mkdir_p='mkdir -p "$as_dir"' 506c19de146Smrgelse 507c19de146Smrg test -d ./-p && rmdir ./-p 508c19de146Smrg as_mkdir_p=false 509c19de146Smrgfi 510c19de146Smrg 5119ef7378bSmrgif test -x / >/dev/null 2>&1; then 5129ef7378bSmrg as_test_x='test -x' 5139ef7378bSmrgelse 5149ef7378bSmrg if ls -dL / >/dev/null 2>&1; then 5159ef7378bSmrg as_ls_L_option=L 5169ef7378bSmrg else 5179ef7378bSmrg as_ls_L_option= 5189ef7378bSmrg fi 5199ef7378bSmrg as_test_x=' 5209ef7378bSmrg eval sh -c '\'' 5219ef7378bSmrg if test -d "$1"; then 5229ef7378bSmrg test -d "$1/."; 5239ef7378bSmrg else 5249ef7378bSmrg case $1 in #( 5259ef7378bSmrg -*)set "./$1";; 5269ef7378bSmrg esac; 5279ef7378bSmrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 5289ef7378bSmrg ???[sx]*):;;*)false;;esac;fi 5299ef7378bSmrg '\'' sh 5309ef7378bSmrg ' 5319ef7378bSmrgfi 5329ef7378bSmrgas_executable_p=$as_test_x 533c19de146Smrg 534c19de146Smrg# Sed expression to map a string onto a valid CPP name. 535c19de146Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 536c19de146Smrg 537c19de146Smrg# Sed expression to map a string onto a valid variable name. 538c19de146Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 539c19de146Smrg 540c19de146Smrg 5419ef7378bSmrgtest -n "$DJDIR" || exec 7<&0 </dev/null 5429ef7378bSmrgexec 6>&1 543c19de146Smrg 544c19de146Smrg# Name of the host. 545c918a7e2Smrg# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 546c19de146Smrg# so uname gets run too. 547c19de146Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 548c19de146Smrg 549c19de146Smrg# 550c19de146Smrg# Initializations. 551c19de146Smrg# 552c19de146Smrgac_default_prefix=/usr/local 5539ef7378bSmrgac_clean_files= 554c19de146Smrgac_config_libobj_dir=. 5559ef7378bSmrgLIBOBJS= 556c19de146Smrgcross_compiling=no 557c19de146Smrgsubdirs= 558c19de146SmrgMFLAGS= 559c19de146SmrgMAKEFLAGS= 560c19de146Smrg 561c19de146Smrg# Identity of this package. 562c19de146SmrgPACKAGE_NAME='xbiff' 563c19de146SmrgPACKAGE_TARNAME='xbiff' 564c918a7e2SmrgPACKAGE_VERSION='1.0.3' 565c918a7e2SmrgPACKAGE_STRING='xbiff 1.0.3' 566c19de146SmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 5679ef7378bSmrgPACKAGE_URL='' 568c19de146Smrg 569c918a7e2Smrgac_unique_file="Makefile.am" 5709ef7378bSmrg# Factoring default headers for most tests. 5719ef7378bSmrgac_includes_default="\ 5729ef7378bSmrg#include <stdio.h> 5739ef7378bSmrg#ifdef HAVE_SYS_TYPES_H 5749ef7378bSmrg# include <sys/types.h> 5759ef7378bSmrg#endif 5769ef7378bSmrg#ifdef HAVE_SYS_STAT_H 5779ef7378bSmrg# include <sys/stat.h> 5789ef7378bSmrg#endif 5799ef7378bSmrg#ifdef STDC_HEADERS 5809ef7378bSmrg# include <stdlib.h> 5819ef7378bSmrg# include <stddef.h> 5829ef7378bSmrg#else 5839ef7378bSmrg# ifdef HAVE_STDLIB_H 5849ef7378bSmrg# include <stdlib.h> 5859ef7378bSmrg# endif 5869ef7378bSmrg#endif 5879ef7378bSmrg#ifdef HAVE_STRING_H 5889ef7378bSmrg# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 5899ef7378bSmrg# include <memory.h> 5909ef7378bSmrg# endif 5919ef7378bSmrg# include <string.h> 5929ef7378bSmrg#endif 5939ef7378bSmrg#ifdef HAVE_STRINGS_H 5949ef7378bSmrg# include <strings.h> 5959ef7378bSmrg#endif 5969ef7378bSmrg#ifdef HAVE_INTTYPES_H 5979ef7378bSmrg# include <inttypes.h> 5989ef7378bSmrg#endif 5999ef7378bSmrg#ifdef HAVE_STDINT_H 6009ef7378bSmrg# include <stdint.h> 6019ef7378bSmrg#endif 6029ef7378bSmrg#ifdef HAVE_UNISTD_H 6039ef7378bSmrg# include <unistd.h> 6049ef7378bSmrg#endif" 6059ef7378bSmrg 6069ef7378bSmrgac_subst_vars='am__EXEEXT_FALSE 6079ef7378bSmrgam__EXEEXT_TRUE 6089ef7378bSmrgLTLIBOBJS 6099ef7378bSmrgLIBOBJS 6109ef7378bSmrgXBIFF_LIBS 6119ef7378bSmrgXBIFF_CFLAGS 612c918a7e2SmrgAM_BACKSLASH 613c918a7e2SmrgAM_DEFAULT_VERBOSITY 614c918a7e2SmrgMAN_SUBSTS 615c918a7e2SmrgXORG_MAN_PAGE 6169ef7378bSmrgADMIN_MAN_DIR 6179ef7378bSmrgDRIVER_MAN_DIR 6189ef7378bSmrgMISC_MAN_DIR 6199ef7378bSmrgFILE_MAN_DIR 6209ef7378bSmrgLIB_MAN_DIR 6219ef7378bSmrgAPP_MAN_DIR 6229ef7378bSmrgADMIN_MAN_SUFFIX 6239ef7378bSmrgDRIVER_MAN_SUFFIX 6249ef7378bSmrgMISC_MAN_SUFFIX 6259ef7378bSmrgFILE_MAN_SUFFIX 6269ef7378bSmrgLIB_MAN_SUFFIX 6279ef7378bSmrgAPP_MAN_SUFFIX 628c918a7e2SmrgSED 6299ef7378bSmrghost_os 6309ef7378bSmrghost_vendor 6319ef7378bSmrghost_cpu 6329ef7378bSmrghost 6339ef7378bSmrgbuild_os 6349ef7378bSmrgbuild_vendor 6359ef7378bSmrgbuild_cpu 6369ef7378bSmrgbuild 6379ef7378bSmrgINSTALL_CMD 6389ef7378bSmrgPKG_CONFIG 6399ef7378bSmrgCHANGELOG_CMD 6409ef7378bSmrgCWARNFLAGS 6419ef7378bSmrgEGREP 6429ef7378bSmrgGREP 6439ef7378bSmrgCPP 6449ef7378bSmrgam__fastdepCC_FALSE 6459ef7378bSmrgam__fastdepCC_TRUE 6469ef7378bSmrgCCDEPMODE 6479ef7378bSmrgAMDEPBACKSLASH 6489ef7378bSmrgAMDEP_FALSE 6499ef7378bSmrgAMDEP_TRUE 6509ef7378bSmrgam__quote 6519ef7378bSmrgam__include 6529ef7378bSmrgDEPDIR 6539ef7378bSmrgOBJEXT 6549ef7378bSmrgEXEEXT 6559ef7378bSmrgac_ct_CC 6569ef7378bSmrgCPPFLAGS 6579ef7378bSmrgLDFLAGS 6589ef7378bSmrgCFLAGS 6599ef7378bSmrgCC 6609ef7378bSmrgMAINT 6619ef7378bSmrgMAINTAINER_MODE_FALSE 6629ef7378bSmrgMAINTAINER_MODE_TRUE 6639ef7378bSmrgam__untar 6649ef7378bSmrgam__tar 6659ef7378bSmrgAMTAR 6669ef7378bSmrgam__leading_dot 6679ef7378bSmrgSET_MAKE 6689ef7378bSmrgAWK 6699ef7378bSmrgmkdir_p 6709ef7378bSmrgMKDIR_P 6719ef7378bSmrgINSTALL_STRIP_PROGRAM 6729ef7378bSmrgSTRIP 6739ef7378bSmrginstall_sh 6749ef7378bSmrgMAKEINFO 6759ef7378bSmrgAUTOHEADER 6769ef7378bSmrgAUTOMAKE 6779ef7378bSmrgAUTOCONF 6789ef7378bSmrgACLOCAL 6799ef7378bSmrgVERSION 6809ef7378bSmrgPACKAGE 6819ef7378bSmrgCYGPATH_W 6829ef7378bSmrgam__isrc 6839ef7378bSmrgINSTALL_DATA 6849ef7378bSmrgINSTALL_SCRIPT 6859ef7378bSmrgINSTALL_PROGRAM 6869ef7378bSmrgtarget_alias 6879ef7378bSmrghost_alias 6889ef7378bSmrgbuild_alias 6899ef7378bSmrgLIBS 6909ef7378bSmrgECHO_T 6919ef7378bSmrgECHO_N 6929ef7378bSmrgECHO_C 6939ef7378bSmrgDEFS 6949ef7378bSmrgmandir 6959ef7378bSmrglocaledir 6969ef7378bSmrglibdir 6979ef7378bSmrgpsdir 6989ef7378bSmrgpdfdir 6999ef7378bSmrgdvidir 7009ef7378bSmrghtmldir 7019ef7378bSmrginfodir 7029ef7378bSmrgdocdir 7039ef7378bSmrgoldincludedir 7049ef7378bSmrgincludedir 7059ef7378bSmrglocalstatedir 7069ef7378bSmrgsharedstatedir 7079ef7378bSmrgsysconfdir 7089ef7378bSmrgdatadir 7099ef7378bSmrgdatarootdir 7109ef7378bSmrglibexecdir 7119ef7378bSmrgsbindir 7129ef7378bSmrgbindir 7139ef7378bSmrgprogram_transform_name 7149ef7378bSmrgprefix 7159ef7378bSmrgexec_prefix 7169ef7378bSmrgPACKAGE_URL 7179ef7378bSmrgPACKAGE_BUGREPORT 7189ef7378bSmrgPACKAGE_STRING 7199ef7378bSmrgPACKAGE_VERSION 7209ef7378bSmrgPACKAGE_TARNAME 7219ef7378bSmrgPACKAGE_NAME 7229ef7378bSmrgPATH_SEPARATOR 7239ef7378bSmrgSHELL' 724c19de146Smrgac_subst_files='' 7259ef7378bSmrgac_user_opts=' 7269ef7378bSmrgenable_option_checking 7279ef7378bSmrgenable_maintainer_mode 7289ef7378bSmrgenable_dependency_tracking 7299ef7378bSmrgenable_strict_compilation 730c918a7e2Smrgenable_silent_rules 731c918a7e2Smrgwith_mailbox_directory 7329ef7378bSmrg' 7339ef7378bSmrg ac_precious_vars='build_alias 7349ef7378bSmrghost_alias 7359ef7378bSmrgtarget_alias 7369ef7378bSmrgCC 7379ef7378bSmrgCFLAGS 7389ef7378bSmrgLDFLAGS 7399ef7378bSmrgLIBS 7409ef7378bSmrgCPPFLAGS 7419ef7378bSmrgCPP 7429ef7378bSmrgPKG_CONFIG 7439ef7378bSmrgXBIFF_CFLAGS 7449ef7378bSmrgXBIFF_LIBS' 7459ef7378bSmrg 746c19de146Smrg 747c19de146Smrg# Initialize some variables set by options. 748c19de146Smrgac_init_help= 749c19de146Smrgac_init_version=false 7509ef7378bSmrgac_unrecognized_opts= 7519ef7378bSmrgac_unrecognized_sep= 752c19de146Smrg# The variables have the same names as the options, with 753c19de146Smrg# dashes changed to underlines. 754c19de146Smrgcache_file=/dev/null 755c19de146Smrgexec_prefix=NONE 756c19de146Smrgno_create= 757c19de146Smrgno_recursion= 758c19de146Smrgprefix=NONE 759c19de146Smrgprogram_prefix=NONE 760c19de146Smrgprogram_suffix=NONE 761c19de146Smrgprogram_transform_name=s,x,x, 762c19de146Smrgsilent= 763c19de146Smrgsite= 764c19de146Smrgsrcdir= 765c19de146Smrgverbose= 766c19de146Smrgx_includes=NONE 767c19de146Smrgx_libraries=NONE 768c19de146Smrg 769c19de146Smrg# Installation directory options. 770c19de146Smrg# These are left unexpanded so users can "make install exec_prefix=/foo" 771c19de146Smrg# and all the variables that are supposed to be based on exec_prefix 772c19de146Smrg# by default will actually change. 773c19de146Smrg# Use braces instead of parens because sh, perl, etc. also accept them. 7749ef7378bSmrg# (The list follows the same order as the GNU Coding Standards.) 775c19de146Smrgbindir='${exec_prefix}/bin' 776c19de146Smrgsbindir='${exec_prefix}/sbin' 777c19de146Smrglibexecdir='${exec_prefix}/libexec' 7789ef7378bSmrgdatarootdir='${prefix}/share' 7799ef7378bSmrgdatadir='${datarootdir}' 780c19de146Smrgsysconfdir='${prefix}/etc' 781c19de146Smrgsharedstatedir='${prefix}/com' 782c19de146Smrglocalstatedir='${prefix}/var' 783c19de146Smrgincludedir='${prefix}/include' 784c19de146Smrgoldincludedir='/usr/include' 7859ef7378bSmrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 7869ef7378bSmrginfodir='${datarootdir}/info' 7879ef7378bSmrghtmldir='${docdir}' 7889ef7378bSmrgdvidir='${docdir}' 7899ef7378bSmrgpdfdir='${docdir}' 7909ef7378bSmrgpsdir='${docdir}' 7919ef7378bSmrglibdir='${exec_prefix}/lib' 7929ef7378bSmrglocaledir='${datarootdir}/locale' 7939ef7378bSmrgmandir='${datarootdir}/man' 794c19de146Smrg 795c19de146Smrgac_prev= 7969ef7378bSmrgac_dashdash= 797c19de146Smrgfor ac_option 798c19de146Smrgdo 799c19de146Smrg # If the previous option needs an argument, assign it. 800c19de146Smrg if test -n "$ac_prev"; then 8019ef7378bSmrg eval $ac_prev=\$ac_option 802c19de146Smrg ac_prev= 803c19de146Smrg continue 804c19de146Smrg fi 805c19de146Smrg 8069ef7378bSmrg case $ac_option in 807c918a7e2Smrg *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 808c918a7e2Smrg *=) ac_optarg= ;; 809c918a7e2Smrg *) ac_optarg=yes ;; 8109ef7378bSmrg esac 811c19de146Smrg 812c19de146Smrg # Accept the important Cygnus configure options, so we can diagnose typos. 813c19de146Smrg 8149ef7378bSmrg case $ac_dashdash$ac_option in 8159ef7378bSmrg --) 8169ef7378bSmrg ac_dashdash=yes ;; 817c19de146Smrg 818c19de146Smrg -bindir | --bindir | --bindi | --bind | --bin | --bi) 819c19de146Smrg ac_prev=bindir ;; 820c19de146Smrg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 821c19de146Smrg bindir=$ac_optarg ;; 822c19de146Smrg 823c19de146Smrg -build | --build | --buil | --bui | --bu) 824c19de146Smrg ac_prev=build_alias ;; 825c19de146Smrg -build=* | --build=* | --buil=* | --bui=* | --bu=*) 826c19de146Smrg build_alias=$ac_optarg ;; 827c19de146Smrg 828c19de146Smrg -cache-file | --cache-file | --cache-fil | --cache-fi \ 829c19de146Smrg | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 830c19de146Smrg ac_prev=cache_file ;; 831c19de146Smrg -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 832c19de146Smrg | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 833c19de146Smrg cache_file=$ac_optarg ;; 834c19de146Smrg 835c19de146Smrg --config-cache | -C) 836c19de146Smrg cache_file=config.cache ;; 837c19de146Smrg 8389ef7378bSmrg -datadir | --datadir | --datadi | --datad) 839c19de146Smrg ac_prev=datadir ;; 8409ef7378bSmrg -datadir=* | --datadir=* | --datadi=* | --datad=*) 841c19de146Smrg datadir=$ac_optarg ;; 842c19de146Smrg 8439ef7378bSmrg -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 8449ef7378bSmrg | --dataroo | --dataro | --datar) 8459ef7378bSmrg ac_prev=datarootdir ;; 8469ef7378bSmrg -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 8479ef7378bSmrg | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 8489ef7378bSmrg datarootdir=$ac_optarg ;; 8499ef7378bSmrg 850c19de146Smrg -disable-* | --disable-*) 8519ef7378bSmrg ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 852c19de146Smrg # Reject names that are not valid shell variable names. 8539ef7378bSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 854c918a7e2Smrg as_fn_error $? "invalid feature name: $ac_useropt" 8559ef7378bSmrg ac_useropt_orig=$ac_useropt 8569ef7378bSmrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 8579ef7378bSmrg case $ac_user_opts in 8589ef7378bSmrg *" 8599ef7378bSmrg"enable_$ac_useropt" 8609ef7378bSmrg"*) ;; 8619ef7378bSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 8629ef7378bSmrg ac_unrecognized_sep=', ';; 8639ef7378bSmrg esac 8649ef7378bSmrg eval enable_$ac_useropt=no ;; 8659ef7378bSmrg 8669ef7378bSmrg -docdir | --docdir | --docdi | --doc | --do) 8679ef7378bSmrg ac_prev=docdir ;; 8689ef7378bSmrg -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 8699ef7378bSmrg docdir=$ac_optarg ;; 8709ef7378bSmrg 8719ef7378bSmrg -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 8729ef7378bSmrg ac_prev=dvidir ;; 8739ef7378bSmrg -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 8749ef7378bSmrg dvidir=$ac_optarg ;; 875c19de146Smrg 876c19de146Smrg -enable-* | --enable-*) 8779ef7378bSmrg ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 878c19de146Smrg # Reject names that are not valid shell variable names. 8799ef7378bSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 880c918a7e2Smrg as_fn_error $? "invalid feature name: $ac_useropt" 8819ef7378bSmrg ac_useropt_orig=$ac_useropt 8829ef7378bSmrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 8839ef7378bSmrg case $ac_user_opts in 8849ef7378bSmrg *" 8859ef7378bSmrg"enable_$ac_useropt" 8869ef7378bSmrg"*) ;; 8879ef7378bSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 8889ef7378bSmrg ac_unrecognized_sep=', ';; 889c19de146Smrg esac 8909ef7378bSmrg eval enable_$ac_useropt=\$ac_optarg ;; 891c19de146Smrg 892c19de146Smrg -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 893c19de146Smrg | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 894c19de146Smrg | --exec | --exe | --ex) 895c19de146Smrg ac_prev=exec_prefix ;; 896c19de146Smrg -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 897c19de146Smrg | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 898c19de146Smrg | --exec=* | --exe=* | --ex=*) 899c19de146Smrg exec_prefix=$ac_optarg ;; 900c19de146Smrg 901c19de146Smrg -gas | --gas | --ga | --g) 902c19de146Smrg # Obsolete; use --with-gas. 903c19de146Smrg with_gas=yes ;; 904c19de146Smrg 905c19de146Smrg -help | --help | --hel | --he | -h) 906c19de146Smrg ac_init_help=long ;; 907c19de146Smrg -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 908c19de146Smrg ac_init_help=recursive ;; 909c19de146Smrg -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 910c19de146Smrg ac_init_help=short ;; 911c19de146Smrg 912c19de146Smrg -host | --host | --hos | --ho) 913c19de146Smrg ac_prev=host_alias ;; 914c19de146Smrg -host=* | --host=* | --hos=* | --ho=*) 915c19de146Smrg host_alias=$ac_optarg ;; 916c19de146Smrg 9179ef7378bSmrg -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 9189ef7378bSmrg ac_prev=htmldir ;; 9199ef7378bSmrg -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 9209ef7378bSmrg | --ht=*) 9219ef7378bSmrg htmldir=$ac_optarg ;; 9229ef7378bSmrg 923c19de146Smrg -includedir | --includedir | --includedi | --included | --include \ 924c19de146Smrg | --includ | --inclu | --incl | --inc) 925c19de146Smrg ac_prev=includedir ;; 926c19de146Smrg -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 927c19de146Smrg | --includ=* | --inclu=* | --incl=* | --inc=*) 928c19de146Smrg includedir=$ac_optarg ;; 929c19de146Smrg 930c19de146Smrg -infodir | --infodir | --infodi | --infod | --info | --inf) 931c19de146Smrg ac_prev=infodir ;; 932c19de146Smrg -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 933c19de146Smrg infodir=$ac_optarg ;; 934c19de146Smrg 935c19de146Smrg -libdir | --libdir | --libdi | --libd) 936c19de146Smrg ac_prev=libdir ;; 937c19de146Smrg -libdir=* | --libdir=* | --libdi=* | --libd=*) 938c19de146Smrg libdir=$ac_optarg ;; 939c19de146Smrg 940c19de146Smrg -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 941c19de146Smrg | --libexe | --libex | --libe) 942c19de146Smrg ac_prev=libexecdir ;; 943c19de146Smrg -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 944c19de146Smrg | --libexe=* | --libex=* | --libe=*) 945c19de146Smrg libexecdir=$ac_optarg ;; 946c19de146Smrg 9479ef7378bSmrg -localedir | --localedir | --localedi | --localed | --locale) 9489ef7378bSmrg ac_prev=localedir ;; 9499ef7378bSmrg -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 9509ef7378bSmrg localedir=$ac_optarg ;; 9519ef7378bSmrg 952c19de146Smrg -localstatedir | --localstatedir | --localstatedi | --localstated \ 9539ef7378bSmrg | --localstate | --localstat | --localsta | --localst | --locals) 954c19de146Smrg ac_prev=localstatedir ;; 955c19de146Smrg -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 9569ef7378bSmrg | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 957c19de146Smrg localstatedir=$ac_optarg ;; 958c19de146Smrg 959c19de146Smrg -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 960c19de146Smrg ac_prev=mandir ;; 961c19de146Smrg -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 962c19de146Smrg mandir=$ac_optarg ;; 963c19de146Smrg 964c19de146Smrg -nfp | --nfp | --nf) 965c19de146Smrg # Obsolete; use --without-fp. 966c19de146Smrg with_fp=no ;; 967c19de146Smrg 968c19de146Smrg -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 969c19de146Smrg | --no-cr | --no-c | -n) 970c19de146Smrg no_create=yes ;; 971c19de146Smrg 972c19de146Smrg -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 973c19de146Smrg | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 974c19de146Smrg no_recursion=yes ;; 975c19de146Smrg 976c19de146Smrg -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 977c19de146Smrg | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 978c19de146Smrg | --oldin | --oldi | --old | --ol | --o) 979c19de146Smrg ac_prev=oldincludedir ;; 980c19de146Smrg -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 981c19de146Smrg | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 982c19de146Smrg | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 983c19de146Smrg oldincludedir=$ac_optarg ;; 984c19de146Smrg 985c19de146Smrg -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 986c19de146Smrg ac_prev=prefix ;; 987c19de146Smrg -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 988c19de146Smrg prefix=$ac_optarg ;; 989c19de146Smrg 990c19de146Smrg -program-prefix | --program-prefix | --program-prefi | --program-pref \ 991c19de146Smrg | --program-pre | --program-pr | --program-p) 992c19de146Smrg ac_prev=program_prefix ;; 993c19de146Smrg -program-prefix=* | --program-prefix=* | --program-prefi=* \ 994c19de146Smrg | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 995c19de146Smrg program_prefix=$ac_optarg ;; 996c19de146Smrg 997c19de146Smrg -program-suffix | --program-suffix | --program-suffi | --program-suff \ 998c19de146Smrg | --program-suf | --program-su | --program-s) 999c19de146Smrg ac_prev=program_suffix ;; 1000c19de146Smrg -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1001c19de146Smrg | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1002c19de146Smrg program_suffix=$ac_optarg ;; 1003c19de146Smrg 1004c19de146Smrg -program-transform-name | --program-transform-name \ 1005c19de146Smrg | --program-transform-nam | --program-transform-na \ 1006c19de146Smrg | --program-transform-n | --program-transform- \ 1007c19de146Smrg | --program-transform | --program-transfor \ 1008c19de146Smrg | --program-transfo | --program-transf \ 1009c19de146Smrg | --program-trans | --program-tran \ 1010c19de146Smrg | --progr-tra | --program-tr | --program-t) 1011c19de146Smrg ac_prev=program_transform_name ;; 1012c19de146Smrg -program-transform-name=* | --program-transform-name=* \ 1013c19de146Smrg | --program-transform-nam=* | --program-transform-na=* \ 1014c19de146Smrg | --program-transform-n=* | --program-transform-=* \ 1015c19de146Smrg | --program-transform=* | --program-transfor=* \ 1016c19de146Smrg | --program-transfo=* | --program-transf=* \ 1017c19de146Smrg | --program-trans=* | --program-tran=* \ 1018c19de146Smrg | --progr-tra=* | --program-tr=* | --program-t=*) 1019c19de146Smrg program_transform_name=$ac_optarg ;; 1020c19de146Smrg 10219ef7378bSmrg -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 10229ef7378bSmrg ac_prev=pdfdir ;; 10239ef7378bSmrg -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 10249ef7378bSmrg pdfdir=$ac_optarg ;; 10259ef7378bSmrg 10269ef7378bSmrg -psdir | --psdir | --psdi | --psd | --ps) 10279ef7378bSmrg ac_prev=psdir ;; 10289ef7378bSmrg -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 10299ef7378bSmrg psdir=$ac_optarg ;; 10309ef7378bSmrg 1031c19de146Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1032c19de146Smrg | -silent | --silent | --silen | --sile | --sil) 1033c19de146Smrg silent=yes ;; 1034c19de146Smrg 1035c19de146Smrg -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1036c19de146Smrg ac_prev=sbindir ;; 1037c19de146Smrg -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1038c19de146Smrg | --sbi=* | --sb=*) 1039c19de146Smrg sbindir=$ac_optarg ;; 1040c19de146Smrg 1041c19de146Smrg -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1042c19de146Smrg | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1043c19de146Smrg | --sharedst | --shareds | --shared | --share | --shar \ 1044c19de146Smrg | --sha | --sh) 1045c19de146Smrg ac_prev=sharedstatedir ;; 1046c19de146Smrg -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1047c19de146Smrg | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1048c19de146Smrg | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1049c19de146Smrg | --sha=* | --sh=*) 1050c19de146Smrg sharedstatedir=$ac_optarg ;; 1051c19de146Smrg 1052c19de146Smrg -site | --site | --sit) 1053c19de146Smrg ac_prev=site ;; 1054c19de146Smrg -site=* | --site=* | --sit=*) 1055c19de146Smrg site=$ac_optarg ;; 1056c19de146Smrg 1057c19de146Smrg -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1058c19de146Smrg ac_prev=srcdir ;; 1059c19de146Smrg -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1060c19de146Smrg srcdir=$ac_optarg ;; 1061c19de146Smrg 1062c19de146Smrg -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1063c19de146Smrg | --syscon | --sysco | --sysc | --sys | --sy) 1064c19de146Smrg ac_prev=sysconfdir ;; 1065c19de146Smrg -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1066c19de146Smrg | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1067c19de146Smrg sysconfdir=$ac_optarg ;; 1068c19de146Smrg 1069c19de146Smrg -target | --target | --targe | --targ | --tar | --ta | --t) 1070c19de146Smrg ac_prev=target_alias ;; 1071c19de146Smrg -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1072c19de146Smrg target_alias=$ac_optarg ;; 1073c19de146Smrg 1074c19de146Smrg -v | -verbose | --verbose | --verbos | --verbo | --verb) 1075c19de146Smrg verbose=yes ;; 1076c19de146Smrg 1077c19de146Smrg -version | --version | --versio | --versi | --vers | -V) 1078c19de146Smrg ac_init_version=: ;; 1079c19de146Smrg 1080c19de146Smrg -with-* | --with-*) 10819ef7378bSmrg ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1082c19de146Smrg # Reject names that are not valid shell variable names. 10839ef7378bSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1084c918a7e2Smrg as_fn_error $? "invalid package name: $ac_useropt" 10859ef7378bSmrg ac_useropt_orig=$ac_useropt 10869ef7378bSmrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 10879ef7378bSmrg case $ac_user_opts in 10889ef7378bSmrg *" 10899ef7378bSmrg"with_$ac_useropt" 10909ef7378bSmrg"*) ;; 10919ef7378bSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 10929ef7378bSmrg ac_unrecognized_sep=', ';; 1093c19de146Smrg esac 10949ef7378bSmrg eval with_$ac_useropt=\$ac_optarg ;; 1095c19de146Smrg 1096c19de146Smrg -without-* | --without-*) 10979ef7378bSmrg ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1098c19de146Smrg # Reject names that are not valid shell variable names. 10999ef7378bSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1100c918a7e2Smrg as_fn_error $? "invalid package name: $ac_useropt" 11019ef7378bSmrg ac_useropt_orig=$ac_useropt 11029ef7378bSmrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 11039ef7378bSmrg case $ac_user_opts in 11049ef7378bSmrg *" 11059ef7378bSmrg"with_$ac_useropt" 11069ef7378bSmrg"*) ;; 11079ef7378bSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 11089ef7378bSmrg ac_unrecognized_sep=', ';; 11099ef7378bSmrg esac 11109ef7378bSmrg eval with_$ac_useropt=no ;; 1111c19de146Smrg 1112c19de146Smrg --x) 1113c19de146Smrg # Obsolete; use --with-x. 1114c19de146Smrg with_x=yes ;; 1115c19de146Smrg 1116c19de146Smrg -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1117c19de146Smrg | --x-incl | --x-inc | --x-in | --x-i) 1118c19de146Smrg ac_prev=x_includes ;; 1119c19de146Smrg -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1120c19de146Smrg | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1121c19de146Smrg x_includes=$ac_optarg ;; 1122c19de146Smrg 1123c19de146Smrg -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1124c19de146Smrg | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1125c19de146Smrg ac_prev=x_libraries ;; 1126c19de146Smrg -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1127c19de146Smrg | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1128c19de146Smrg x_libraries=$ac_optarg ;; 1129c19de146Smrg 1130c918a7e2Smrg -*) as_fn_error $? "unrecognized option: \`$ac_option' 1131c918a7e2SmrgTry \`$0 --help' for more information" 1132c19de146Smrg ;; 1133c19de146Smrg 1134c19de146Smrg *=*) 1135c19de146Smrg ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1136c19de146Smrg # Reject names that are not valid shell variable names. 11379ef7378bSmrg case $ac_envvar in #( 11389ef7378bSmrg '' | [0-9]* | *[!_$as_cr_alnum]* ) 1139c918a7e2Smrg as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 11409ef7378bSmrg esac 11419ef7378bSmrg eval $ac_envvar=\$ac_optarg 1142c19de146Smrg export $ac_envvar ;; 1143c19de146Smrg 1144c19de146Smrg *) 1145c19de146Smrg # FIXME: should be removed in autoconf 3.0. 11469ef7378bSmrg $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1147c19de146Smrg expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 11489ef7378bSmrg $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1149c918a7e2Smrg : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1150c19de146Smrg ;; 1151c19de146Smrg 1152c19de146Smrg esac 1153c19de146Smrgdone 1154c19de146Smrg 1155c19de146Smrgif test -n "$ac_prev"; then 1156c19de146Smrg ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1157c918a7e2Smrg as_fn_error $? "missing argument to $ac_option" 1158c19de146Smrgfi 1159c19de146Smrg 11609ef7378bSmrgif test -n "$ac_unrecognized_opts"; then 11619ef7378bSmrg case $enable_option_checking in 11629ef7378bSmrg no) ;; 1163c918a7e2Smrg fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 11649ef7378bSmrg *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1165c19de146Smrg esac 11669ef7378bSmrgfi 1167c19de146Smrg 11689ef7378bSmrg# Check all directory arguments for consistency. 11699ef7378bSmrgfor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 11709ef7378bSmrg datadir sysconfdir sharedstatedir localstatedir includedir \ 11719ef7378bSmrg oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 11729ef7378bSmrg libdir localedir mandir 1173c19de146Smrgdo 11749ef7378bSmrg eval ac_val=\$$ac_var 11759ef7378bSmrg # Remove trailing slashes. 1176c19de146Smrg case $ac_val in 11779ef7378bSmrg */ ) 11789ef7378bSmrg ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 11799ef7378bSmrg eval $ac_var=\$ac_val;; 1180c19de146Smrg esac 11819ef7378bSmrg # Be sure to have absolute directory names. 11829ef7378bSmrg case $ac_val in 11839ef7378bSmrg [\\/$]* | ?:[\\/]* ) continue;; 11849ef7378bSmrg NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 11859ef7378bSmrg esac 1186c918a7e2Smrg as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1187c19de146Smrgdone 1188c19de146Smrg 1189c19de146Smrg# There might be people who depend on the old broken behavior: `$host' 1190c19de146Smrg# used to hold the argument of --host etc. 1191c19de146Smrg# FIXME: To remove some day. 1192c19de146Smrgbuild=$build_alias 1193c19de146Smrghost=$host_alias 1194c19de146Smrgtarget=$target_alias 1195c19de146Smrg 1196c19de146Smrg# FIXME: To remove some day. 1197c19de146Smrgif test "x$host_alias" != x; then 1198c19de146Smrg if test "x$build_alias" = x; then 1199c19de146Smrg cross_compiling=maybe 1200c918a7e2Smrg $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1201c918a7e2Smrg If a cross compiler is detected then cross compile mode will be used" >&2 1202c19de146Smrg elif test "x$build_alias" != "x$host_alias"; then 1203c19de146Smrg cross_compiling=yes 1204c19de146Smrg fi 1205c19de146Smrgfi 1206c19de146Smrg 1207c19de146Smrgac_tool_prefix= 1208c19de146Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias- 1209c19de146Smrg 1210c19de146Smrgtest "$silent" = yes && exec 6>/dev/null 1211c19de146Smrg 1212c19de146Smrg 12139ef7378bSmrgac_pwd=`pwd` && test -n "$ac_pwd" && 12149ef7378bSmrgac_ls_di=`ls -di .` && 12159ef7378bSmrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1216c918a7e2Smrg as_fn_error $? "working directory cannot be determined" 12179ef7378bSmrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1218c918a7e2Smrg as_fn_error $? "pwd does not report name of working directory" 12199ef7378bSmrg 12209ef7378bSmrg 1221c19de146Smrg# Find the source files, if location was not specified. 1222c19de146Smrgif test -z "$srcdir"; then 1223c19de146Smrg ac_srcdir_defaulted=yes 12249ef7378bSmrg # Try the directory containing this script, then the parent directory. 12259ef7378bSmrg ac_confdir=`$as_dirname -- "$as_myself" || 12269ef7378bSmrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12279ef7378bSmrg X"$as_myself" : 'X\(//\)[^/]' \| \ 12289ef7378bSmrg X"$as_myself" : 'X\(//\)$' \| \ 12299ef7378bSmrg X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 12309ef7378bSmrg$as_echo X"$as_myself" | 12319ef7378bSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12329ef7378bSmrg s//\1/ 12339ef7378bSmrg q 12349ef7378bSmrg } 12359ef7378bSmrg /^X\(\/\/\)[^/].*/{ 12369ef7378bSmrg s//\1/ 12379ef7378bSmrg q 12389ef7378bSmrg } 12399ef7378bSmrg /^X\(\/\/\)$/{ 12409ef7378bSmrg s//\1/ 12419ef7378bSmrg q 12429ef7378bSmrg } 12439ef7378bSmrg /^X\(\/\).*/{ 12449ef7378bSmrg s//\1/ 12459ef7378bSmrg q 12469ef7378bSmrg } 12479ef7378bSmrg s/.*/./; q'` 1248c19de146Smrg srcdir=$ac_confdir 12499ef7378bSmrg if test ! -r "$srcdir/$ac_unique_file"; then 1250c19de146Smrg srcdir=.. 1251c19de146Smrg fi 1252c19de146Smrgelse 1253c19de146Smrg ac_srcdir_defaulted=no 1254c19de146Smrgfi 12559ef7378bSmrgif test ! -r "$srcdir/$ac_unique_file"; then 12569ef7378bSmrg test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1257c918a7e2Smrg as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 12589ef7378bSmrgfi 12599ef7378bSmrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 12609ef7378bSmrgac_abs_confdir=`( 1261c918a7e2Smrg cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 12629ef7378bSmrg pwd)` 12639ef7378bSmrg# When building in place, set srcdir=. 12649ef7378bSmrgif test "$ac_abs_confdir" = "$ac_pwd"; then 12659ef7378bSmrg srcdir=. 12669ef7378bSmrgfi 12679ef7378bSmrg# Remove unnecessary trailing slashes from srcdir. 12689ef7378bSmrg# Double slashes in file names in object file debugging info 12699ef7378bSmrg# mess up M-x gdb in Emacs. 12709ef7378bSmrgcase $srcdir in 12719ef7378bSmrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 12729ef7378bSmrgesac 12739ef7378bSmrgfor ac_var in $ac_precious_vars; do 12749ef7378bSmrg eval ac_env_${ac_var}_set=\${${ac_var}+set} 12759ef7378bSmrg eval ac_env_${ac_var}_value=\$${ac_var} 12769ef7378bSmrg eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 12779ef7378bSmrg eval ac_cv_env_${ac_var}_value=\$${ac_var} 12789ef7378bSmrgdone 1279c19de146Smrg 1280c19de146Smrg# 1281c19de146Smrg# Report the --help message. 1282c19de146Smrg# 1283c19de146Smrgif test "$ac_init_help" = "long"; then 1284c19de146Smrg # Omit some internal or obsolete options to make the list less imposing. 1285c19de146Smrg # This message is too long to be a string in the A/UX 3.1 sh. 1286c19de146Smrg cat <<_ACEOF 1287c918a7e2Smrg\`configure' configures xbiff 1.0.3 to adapt to many kinds of systems. 1288c19de146Smrg 1289c19de146SmrgUsage: $0 [OPTION]... [VAR=VALUE]... 1290c19de146Smrg 1291c19de146SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as 1292c19de146SmrgVAR=VALUE. See below for descriptions of some of the useful variables. 1293c19de146Smrg 1294c19de146SmrgDefaults for the options are specified in brackets. 1295c19de146Smrg 1296c19de146SmrgConfiguration: 1297c19de146Smrg -h, --help display this help and exit 1298c19de146Smrg --help=short display options specific to this package 1299c19de146Smrg --help=recursive display the short help of all the included packages 1300c19de146Smrg -V, --version display version information and exit 1301c918a7e2Smrg -q, --quiet, --silent do not print \`checking ...' messages 1302c19de146Smrg --cache-file=FILE cache test results in FILE [disabled] 1303c19de146Smrg -C, --config-cache alias for \`--cache-file=config.cache' 1304c19de146Smrg -n, --no-create do not create output files 1305c19de146Smrg --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1306c19de146Smrg 1307c19de146SmrgInstallation directories: 1308c19de146Smrg --prefix=PREFIX install architecture-independent files in PREFIX 13099ef7378bSmrg [$ac_default_prefix] 1310c19de146Smrg --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 13119ef7378bSmrg [PREFIX] 1312c19de146Smrg 1313c19de146SmrgBy default, \`make install' will install all the files in 1314c19de146Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1315c19de146Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix', 1316c19de146Smrgfor instance \`--prefix=\$HOME'. 1317c19de146Smrg 1318c19de146SmrgFor better control, use the options below. 1319c19de146Smrg 1320c19de146SmrgFine tuning of the installation directories: 13219ef7378bSmrg --bindir=DIR user executables [EPREFIX/bin] 13229ef7378bSmrg --sbindir=DIR system admin executables [EPREFIX/sbin] 13239ef7378bSmrg --libexecdir=DIR program executables [EPREFIX/libexec] 13249ef7378bSmrg --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 13259ef7378bSmrg --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 13269ef7378bSmrg --localstatedir=DIR modifiable single-machine data [PREFIX/var] 13279ef7378bSmrg --libdir=DIR object code libraries [EPREFIX/lib] 13289ef7378bSmrg --includedir=DIR C header files [PREFIX/include] 13299ef7378bSmrg --oldincludedir=DIR C header files for non-gcc [/usr/include] 13309ef7378bSmrg --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 13319ef7378bSmrg --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 13329ef7378bSmrg --infodir=DIR info documentation [DATAROOTDIR/info] 13339ef7378bSmrg --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 13349ef7378bSmrg --mandir=DIR man documentation [DATAROOTDIR/man] 13359ef7378bSmrg --docdir=DIR documentation root [DATAROOTDIR/doc/xbiff] 13369ef7378bSmrg --htmldir=DIR html documentation [DOCDIR] 13379ef7378bSmrg --dvidir=DIR dvi documentation [DOCDIR] 13389ef7378bSmrg --pdfdir=DIR pdf documentation [DOCDIR] 13399ef7378bSmrg --psdir=DIR ps documentation [DOCDIR] 1340c19de146Smrg_ACEOF 1341c19de146Smrg 1342c19de146Smrg cat <<\_ACEOF 1343c19de146Smrg 1344c19de146SmrgProgram names: 1345c19de146Smrg --program-prefix=PREFIX prepend PREFIX to installed program names 1346c19de146Smrg --program-suffix=SUFFIX append SUFFIX to installed program names 1347c19de146Smrg --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1348c19de146Smrg 1349c19de146SmrgSystem types: 1350c19de146Smrg --build=BUILD configure for building on BUILD [guessed] 1351c19de146Smrg --host=HOST cross-compile to build programs to run on HOST [BUILD] 1352c19de146Smrg_ACEOF 1353c19de146Smrgfi 1354c19de146Smrg 1355c19de146Smrgif test -n "$ac_init_help"; then 1356c19de146Smrg case $ac_init_help in 1357c918a7e2Smrg short | recursive ) echo "Configuration of xbiff 1.0.3:";; 1358c19de146Smrg esac 1359c19de146Smrg cat <<\_ACEOF 1360c19de146Smrg 1361c19de146SmrgOptional Features: 13629ef7378bSmrg --disable-option-checking ignore unrecognized --enable/--with options 1363c19de146Smrg --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1364c19de146Smrg --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 13659ef7378bSmrg --enable-maintainer-mode enable make rules and dependencies not useful 13669ef7378bSmrg (and sometimes confusing) to the casual installer 13679ef7378bSmrg --disable-dependency-tracking speeds up one-time build 13689ef7378bSmrg --enable-dependency-tracking do not reject slow dependency extractors 13699ef7378bSmrg --enable-strict-compilation 13709ef7378bSmrg Enable all warnings from compiler and make them 13719ef7378bSmrg errors (default: disabled) 1372c918a7e2Smrg --enable-silent-rules less verbose build output (undo: `make V=1') 1373c918a7e2Smrg --disable-silent-rules verbose build output (undo: `make V=0') 1374c19de146Smrg 1375c19de146SmrgOptional Packages: 1376c19de146Smrg --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1377c19de146Smrg --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1378c918a7e2Smrg --with-mailbox-directory=PATH 1379c918a7e2Smrg specify directory to check for system mailboxes 1380c19de146Smrg 1381c19de146SmrgSome influential environment variables: 1382c19de146Smrg CC C compiler command 1383c19de146Smrg CFLAGS C compiler flags 1384c19de146Smrg LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1385c19de146Smrg nonstandard directory <lib dir> 13869ef7378bSmrg LIBS libraries to pass to the linker, e.g. -l<library> 13879ef7378bSmrg CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 13889ef7378bSmrg you have headers in a nonstandard directory <include dir> 13899ef7378bSmrg CPP C preprocessor 1390c19de146Smrg PKG_CONFIG path to pkg-config utility 1391c19de146Smrg XBIFF_CFLAGS 1392c19de146Smrg C compiler flags for XBIFF, overriding pkg-config 1393c19de146Smrg XBIFF_LIBS linker flags for XBIFF, overriding pkg-config 1394c19de146Smrg 1395c19de146SmrgUse these variables to override the choices made by `configure' or to help 1396c19de146Smrgit to find libraries and programs with nonstandard names/locations. 1397c19de146Smrg 1398c19de146SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 1399c19de146Smrg_ACEOF 14009ef7378bSmrgac_status=$? 1401c19de146Smrgfi 1402c19de146Smrg 1403c19de146Smrgif test "$ac_init_help" = "recursive"; then 1404c19de146Smrg # If there are subdirs, report their specific --help. 1405c19de146Smrg for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 14069ef7378bSmrg test -d "$ac_dir" || 14079ef7378bSmrg { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 14089ef7378bSmrg continue 1409c19de146Smrg ac_builddir=. 1410c19de146Smrg 14119ef7378bSmrgcase "$ac_dir" in 14129ef7378bSmrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 14139ef7378bSmrg*) 14149ef7378bSmrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 14159ef7378bSmrg # A ".." for each directory in $ac_dir_suffix. 14169ef7378bSmrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 14179ef7378bSmrg case $ac_top_builddir_sub in 14189ef7378bSmrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 14199ef7378bSmrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 14209ef7378bSmrg esac ;; 14219ef7378bSmrgesac 14229ef7378bSmrgac_abs_top_builddir=$ac_pwd 14239ef7378bSmrgac_abs_builddir=$ac_pwd$ac_dir_suffix 14249ef7378bSmrg# for backward compatibility: 14259ef7378bSmrgac_top_builddir=$ac_top_build_prefix 1426c19de146Smrg 1427c19de146Smrgcase $srcdir in 14289ef7378bSmrg .) # We are building in place. 1429c19de146Smrg ac_srcdir=. 14309ef7378bSmrg ac_top_srcdir=$ac_top_builddir_sub 14319ef7378bSmrg ac_abs_top_srcdir=$ac_pwd ;; 14329ef7378bSmrg [\\/]* | ?:[\\/]* ) # Absolute name. 1433c19de146Smrg ac_srcdir=$srcdir$ac_dir_suffix; 14349ef7378bSmrg ac_top_srcdir=$srcdir 14359ef7378bSmrg ac_abs_top_srcdir=$srcdir ;; 14369ef7378bSmrg *) # Relative name. 14379ef7378bSmrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 14389ef7378bSmrg ac_top_srcdir=$ac_top_build_prefix$srcdir 14399ef7378bSmrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1440c19de146Smrgesac 14419ef7378bSmrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 14429ef7378bSmrg 14439ef7378bSmrg cd "$ac_dir" || { ac_status=$?; continue; } 14449ef7378bSmrg # Check for guested configure. 14459ef7378bSmrg if test -f "$ac_srcdir/configure.gnu"; then 14469ef7378bSmrg echo && 14479ef7378bSmrg $SHELL "$ac_srcdir/configure.gnu" --help=recursive 14489ef7378bSmrg elif test -f "$ac_srcdir/configure"; then 14499ef7378bSmrg echo && 14509ef7378bSmrg $SHELL "$ac_srcdir/configure" --help=recursive 1451c19de146Smrg else 14529ef7378bSmrg $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 14539ef7378bSmrg fi || ac_status=$? 14549ef7378bSmrg cd "$ac_pwd" || { ac_status=$?; break; } 1455c19de146Smrg done 1456c19de146Smrgfi 1457c19de146Smrg 14589ef7378bSmrgtest -n "$ac_init_help" && exit $ac_status 1459c19de146Smrgif $ac_init_version; then 1460c19de146Smrg cat <<\_ACEOF 1461c918a7e2Smrgxbiff configure 1.0.3 1462c918a7e2Smrggenerated by GNU Autoconf 2.68 1463c19de146Smrg 1464c918a7e2SmrgCopyright (C) 2010 Free Software Foundation, Inc. 1465c19de146SmrgThis configure script is free software; the Free Software Foundation 1466c19de146Smrggives unlimited permission to copy, distribute and modify it. 1467c19de146Smrg_ACEOF 14689ef7378bSmrg exit 1469c19de146Smrgfi 1470c19de146Smrg 14719ef7378bSmrg## ------------------------ ## 14729ef7378bSmrg## Autoconf initialization. ## 14739ef7378bSmrg## ------------------------ ## 1474c19de146Smrg 14759ef7378bSmrg# ac_fn_c_try_compile LINENO 14769ef7378bSmrg# -------------------------- 14779ef7378bSmrg# Try to compile conftest.$ac_ext, and return whether this succeeded. 14789ef7378bSmrgac_fn_c_try_compile () 1479c19de146Smrg{ 14809ef7378bSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 14819ef7378bSmrg rm -f conftest.$ac_objext 14829ef7378bSmrg if { { ac_try="$ac_compile" 14839ef7378bSmrgcase "(($ac_try" in 14849ef7378bSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14859ef7378bSmrg *) ac_try_echo=$ac_try;; 14869ef7378bSmrgesac 14879ef7378bSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 14889ef7378bSmrg$as_echo "$ac_try_echo"; } >&5 14899ef7378bSmrg (eval "$ac_compile") 2>conftest.err 14909ef7378bSmrg ac_status=$? 14919ef7378bSmrg if test -s conftest.err; then 14929ef7378bSmrg grep -v '^ *+' conftest.err >conftest.er1 14939ef7378bSmrg cat conftest.er1 >&5 14949ef7378bSmrg mv -f conftest.er1 conftest.err 14959ef7378bSmrg fi 14969ef7378bSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14979ef7378bSmrg test $ac_status = 0; } && { 14989ef7378bSmrg test -z "$ac_c_werror_flag" || 14999ef7378bSmrg test ! -s conftest.err 15009ef7378bSmrg } && test -s conftest.$ac_objext; then : 15019ef7378bSmrg ac_retval=0 15029ef7378bSmrgelse 15039ef7378bSmrg $as_echo "$as_me: failed program was:" >&5 15049ef7378bSmrgsed 's/^/| /' conftest.$ac_ext >&5 1505c19de146Smrg 15069ef7378bSmrg ac_retval=1 15079ef7378bSmrgfi 1508c918a7e2Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 15099ef7378bSmrg as_fn_set_status $ac_retval 1510c19de146Smrg 15119ef7378bSmrg} # ac_fn_c_try_compile 1512c19de146Smrg 1513c918a7e2Smrg# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 1514c918a7e2Smrg# --------------------------------------------- 1515c918a7e2Smrg# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 1516c918a7e2Smrg# accordingly. 15179ef7378bSmrgac_fn_c_check_decl () 15189ef7378bSmrg{ 15199ef7378bSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1520c918a7e2Smrg as_decl_name=`echo $2|sed 's/ *(.*//'` 1521c918a7e2Smrg as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 1522c918a7e2Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 1523c918a7e2Smrg$as_echo_n "checking whether $as_decl_name is declared... " >&6; } 1524c918a7e2Smrgif eval \${$3+:} false; then : 15259ef7378bSmrg $as_echo_n "(cached) " >&6 15269ef7378bSmrgelse 15279ef7378bSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15289ef7378bSmrg/* end confdefs.h. */ 15299ef7378bSmrg$4 15309ef7378bSmrgint 15319ef7378bSmrgmain () 15329ef7378bSmrg{ 1533c918a7e2Smrg#ifndef $as_decl_name 1534c918a7e2Smrg#ifdef __cplusplus 1535c918a7e2Smrg (void) $as_decl_use; 1536c918a7e2Smrg#else 1537c918a7e2Smrg (void) $as_decl_name; 1538c918a7e2Smrg#endif 15399ef7378bSmrg#endif 1540c19de146Smrg 15419ef7378bSmrg ; 15429ef7378bSmrg return 0; 15439ef7378bSmrg} 15449ef7378bSmrg_ACEOF 15459ef7378bSmrgif ac_fn_c_try_compile "$LINENO"; then : 15469ef7378bSmrg eval "$3=yes" 15479ef7378bSmrgelse 15489ef7378bSmrg eval "$3=no" 15499ef7378bSmrgfi 15509ef7378bSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15519ef7378bSmrgfi 15529ef7378bSmrgeval ac_res=\$$3 15539ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 15549ef7378bSmrg$as_echo "$ac_res" >&6; } 1555c918a7e2Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1556c19de146Smrg 15579ef7378bSmrg} # ac_fn_c_check_decl 15589ef7378bSmrg 15599ef7378bSmrg# ac_fn_c_try_cpp LINENO 15609ef7378bSmrg# ---------------------- 15619ef7378bSmrg# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 15629ef7378bSmrgac_fn_c_try_cpp () 15639ef7378bSmrg{ 15649ef7378bSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 15659ef7378bSmrg if { { ac_try="$ac_cpp conftest.$ac_ext" 15669ef7378bSmrgcase "(($ac_try" in 15679ef7378bSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15689ef7378bSmrg *) ac_try_echo=$ac_try;; 15699ef7378bSmrgesac 15709ef7378bSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 15719ef7378bSmrg$as_echo "$ac_try_echo"; } >&5 15729ef7378bSmrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 15739ef7378bSmrg ac_status=$? 15749ef7378bSmrg if test -s conftest.err; then 15759ef7378bSmrg grep -v '^ *+' conftest.err >conftest.er1 15769ef7378bSmrg cat conftest.er1 >&5 15779ef7378bSmrg mv -f conftest.er1 conftest.err 15789ef7378bSmrg fi 15799ef7378bSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1580c918a7e2Smrg test $ac_status = 0; } > conftest.i && { 15819ef7378bSmrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 15829ef7378bSmrg test ! -s conftest.err 15839ef7378bSmrg }; then : 15849ef7378bSmrg ac_retval=0 15859ef7378bSmrgelse 15869ef7378bSmrg $as_echo "$as_me: failed program was:" >&5 15879ef7378bSmrgsed 's/^/| /' conftest.$ac_ext >&5 15889ef7378bSmrg 15899ef7378bSmrg ac_retval=1 15909ef7378bSmrgfi 1591c918a7e2Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 15929ef7378bSmrg as_fn_set_status $ac_retval 15939ef7378bSmrg 15949ef7378bSmrg} # ac_fn_c_try_cpp 15959ef7378bSmrg 15969ef7378bSmrg# ac_fn_c_try_run LINENO 15979ef7378bSmrg# ---------------------- 15989ef7378bSmrg# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 15999ef7378bSmrg# that executables *can* be run. 16009ef7378bSmrgac_fn_c_try_run () 16019ef7378bSmrg{ 16029ef7378bSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 16039ef7378bSmrg if { { ac_try="$ac_link" 16049ef7378bSmrgcase "(($ac_try" in 16059ef7378bSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16069ef7378bSmrg *) ac_try_echo=$ac_try;; 16079ef7378bSmrgesac 16089ef7378bSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 16099ef7378bSmrg$as_echo "$ac_try_echo"; } >&5 16109ef7378bSmrg (eval "$ac_link") 2>&5 16119ef7378bSmrg ac_status=$? 16129ef7378bSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16139ef7378bSmrg test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 16149ef7378bSmrg { { case "(($ac_try" in 16159ef7378bSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16169ef7378bSmrg *) ac_try_echo=$ac_try;; 16179ef7378bSmrgesac 16189ef7378bSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 16199ef7378bSmrg$as_echo "$ac_try_echo"; } >&5 16209ef7378bSmrg (eval "$ac_try") 2>&5 16219ef7378bSmrg ac_status=$? 16229ef7378bSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16239ef7378bSmrg test $ac_status = 0; }; }; then : 16249ef7378bSmrg ac_retval=0 16259ef7378bSmrgelse 16269ef7378bSmrg $as_echo "$as_me: program exited with status $ac_status" >&5 16279ef7378bSmrg $as_echo "$as_me: failed program was:" >&5 16289ef7378bSmrgsed 's/^/| /' conftest.$ac_ext >&5 16299ef7378bSmrg 16309ef7378bSmrg ac_retval=$ac_status 16319ef7378bSmrgfi 16329ef7378bSmrg rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1633c918a7e2Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 16349ef7378bSmrg as_fn_set_status $ac_retval 16359ef7378bSmrg 16369ef7378bSmrg} # ac_fn_c_try_run 16379ef7378bSmrg 16389ef7378bSmrg# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 16399ef7378bSmrg# ------------------------------------------------------- 16409ef7378bSmrg# Tests whether HEADER exists and can be compiled using the include files in 16419ef7378bSmrg# INCLUDES, setting the cache variable VAR accordingly. 16429ef7378bSmrgac_fn_c_check_header_compile () 16439ef7378bSmrg{ 16449ef7378bSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 16459ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 16469ef7378bSmrg$as_echo_n "checking for $2... " >&6; } 1647c918a7e2Smrgif eval \${$3+:} false; then : 16489ef7378bSmrg $as_echo_n "(cached) " >&6 16499ef7378bSmrgelse 16509ef7378bSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16519ef7378bSmrg/* end confdefs.h. */ 16529ef7378bSmrg$4 16539ef7378bSmrg#include <$2> 16549ef7378bSmrg_ACEOF 16559ef7378bSmrgif ac_fn_c_try_compile "$LINENO"; then : 16569ef7378bSmrg eval "$3=yes" 16579ef7378bSmrgelse 16589ef7378bSmrg eval "$3=no" 16599ef7378bSmrgfi 16609ef7378bSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16619ef7378bSmrgfi 16629ef7378bSmrgeval ac_res=\$$3 16639ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 16649ef7378bSmrg$as_echo "$ac_res" >&6; } 1665c918a7e2Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 16669ef7378bSmrg 16679ef7378bSmrg} # ac_fn_c_check_header_compile 1668c918a7e2Smrg 1669c918a7e2Smrg# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1670c918a7e2Smrg# ------------------------------------------------------- 1671c918a7e2Smrg# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1672c918a7e2Smrg# the include files in INCLUDES and setting the cache variable VAR 1673c918a7e2Smrg# accordingly. 1674c918a7e2Smrgac_fn_c_check_header_mongrel () 1675c918a7e2Smrg{ 1676c918a7e2Smrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1677c918a7e2Smrg if eval \${$3+:} false; then : 1678c918a7e2Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1679c918a7e2Smrg$as_echo_n "checking for $2... " >&6; } 1680c918a7e2Smrgif eval \${$3+:} false; then : 1681c918a7e2Smrg $as_echo_n "(cached) " >&6 1682c918a7e2Smrgfi 1683c918a7e2Smrgeval ac_res=\$$3 1684c918a7e2Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1685c918a7e2Smrg$as_echo "$ac_res" >&6; } 1686c918a7e2Smrgelse 1687c918a7e2Smrg # Is the header compilable? 1688c918a7e2Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1689c918a7e2Smrg$as_echo_n "checking $2 usability... " >&6; } 1690c918a7e2Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 1691c918a7e2Smrg/* end confdefs.h. */ 1692c918a7e2Smrg$4 1693c918a7e2Smrg#include <$2> 1694c918a7e2Smrg_ACEOF 1695c918a7e2Smrgif ac_fn_c_try_compile "$LINENO"; then : 1696c918a7e2Smrg ac_header_compiler=yes 1697c918a7e2Smrgelse 1698c918a7e2Smrg ac_header_compiler=no 1699c918a7e2Smrgfi 1700c918a7e2Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1701c918a7e2Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1702c918a7e2Smrg$as_echo "$ac_header_compiler" >&6; } 1703c918a7e2Smrg 1704c918a7e2Smrg# Is the header present? 1705c918a7e2Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1706c918a7e2Smrg$as_echo_n "checking $2 presence... " >&6; } 1707c918a7e2Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 1708c918a7e2Smrg/* end confdefs.h. */ 1709c918a7e2Smrg#include <$2> 1710c918a7e2Smrg_ACEOF 1711c918a7e2Smrgif ac_fn_c_try_cpp "$LINENO"; then : 1712c918a7e2Smrg ac_header_preproc=yes 1713c918a7e2Smrgelse 1714c918a7e2Smrg ac_header_preproc=no 1715c918a7e2Smrgfi 1716c918a7e2Smrgrm -f conftest.err conftest.i conftest.$ac_ext 1717c918a7e2Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1718c918a7e2Smrg$as_echo "$ac_header_preproc" >&6; } 1719c918a7e2Smrg 1720c918a7e2Smrg# So? What about this header? 1721c918a7e2Smrgcase $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1722c918a7e2Smrg yes:no: ) 1723c918a7e2Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1724c918a7e2Smrg$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1725c918a7e2Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1726c918a7e2Smrg$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1727c918a7e2Smrg ;; 1728c918a7e2Smrg no:yes:* ) 1729c918a7e2Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1730c918a7e2Smrg$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1731c918a7e2Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1732c918a7e2Smrg$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1733c918a7e2Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1734c918a7e2Smrg$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1735c918a7e2Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1736c918a7e2Smrg$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1737c918a7e2Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1738c918a7e2Smrg$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1739c918a7e2Smrg( $as_echo "## ---------------------------------------------------------------------- ## 1740c918a7e2Smrg## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ## 1741c918a7e2Smrg## ---------------------------------------------------------------------- ##" 1742c918a7e2Smrg ) | sed "s/^/$as_me: WARNING: /" >&2 1743c918a7e2Smrg ;; 1744c918a7e2Smrgesac 1745c918a7e2Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1746c918a7e2Smrg$as_echo_n "checking for $2... " >&6; } 1747c918a7e2Smrgif eval \${$3+:} false; then : 1748c918a7e2Smrg $as_echo_n "(cached) " >&6 1749c918a7e2Smrgelse 1750c918a7e2Smrg eval "$3=\$ac_header_compiler" 1751c918a7e2Smrgfi 1752c918a7e2Smrgeval ac_res=\$$3 1753c918a7e2Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1754c918a7e2Smrg$as_echo "$ac_res" >&6; } 1755c918a7e2Smrgfi 1756c918a7e2Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1757c918a7e2Smrg 1758c918a7e2Smrg} # ac_fn_c_check_header_mongrel 17599ef7378bSmrgcat >config.log <<_ACEOF 17609ef7378bSmrgThis file contains any messages produced by compilers while 17619ef7378bSmrgrunning configure, to aid debugging if configure makes a mistake. 17629ef7378bSmrg 1763c918a7e2SmrgIt was created by xbiff $as_me 1.0.3, which was 1764c918a7e2Smrggenerated by GNU Autoconf 2.68. Invocation command line was 17659ef7378bSmrg 17669ef7378bSmrg $ $0 $@ 17679ef7378bSmrg 17689ef7378bSmrg_ACEOF 17699ef7378bSmrgexec 5>>config.log 17709ef7378bSmrg{ 17719ef7378bSmrgcat <<_ASUNAME 17729ef7378bSmrg## --------- ## 17739ef7378bSmrg## Platform. ## 17749ef7378bSmrg## --------- ## 17759ef7378bSmrg 17769ef7378bSmrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 17779ef7378bSmrguname -m = `(uname -m) 2>/dev/null || echo unknown` 17789ef7378bSmrguname -r = `(uname -r) 2>/dev/null || echo unknown` 17799ef7378bSmrguname -s = `(uname -s) 2>/dev/null || echo unknown` 17809ef7378bSmrguname -v = `(uname -v) 2>/dev/null || echo unknown` 17819ef7378bSmrg 17829ef7378bSmrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 17839ef7378bSmrg/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 17849ef7378bSmrg 17859ef7378bSmrg/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 17869ef7378bSmrg/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 17879ef7378bSmrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 17889ef7378bSmrg/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 17899ef7378bSmrg/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 17909ef7378bSmrg/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 17919ef7378bSmrg/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 17929ef7378bSmrg 17939ef7378bSmrg_ASUNAME 17949ef7378bSmrg 17959ef7378bSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17969ef7378bSmrgfor as_dir in $PATH 17979ef7378bSmrgdo 17989ef7378bSmrg IFS=$as_save_IFS 1799c19de146Smrg test -z "$as_dir" && as_dir=. 18009ef7378bSmrg $as_echo "PATH: $as_dir" 18019ef7378bSmrg done 18029ef7378bSmrgIFS=$as_save_IFS 1803c19de146Smrg 1804c19de146Smrg} >&5 1805c19de146Smrg 1806c19de146Smrgcat >&5 <<_ACEOF 1807c19de146Smrg 1808c19de146Smrg 1809c19de146Smrg## ----------- ## 1810c19de146Smrg## Core tests. ## 1811c19de146Smrg## ----------- ## 1812c19de146Smrg 1813c19de146Smrg_ACEOF 1814c19de146Smrg 1815c19de146Smrg 1816c19de146Smrg# Keep a trace of the command line. 1817c19de146Smrg# Strip out --no-create and --no-recursion so they do not pile up. 1818c19de146Smrg# Strip out --silent because we don't want to record it for future runs. 1819c19de146Smrg# Also quote any args containing shell meta-characters. 1820c19de146Smrg# Make two passes to allow for proper duplicate-argument suppression. 1821c19de146Smrgac_configure_args= 1822c19de146Smrgac_configure_args0= 1823c19de146Smrgac_configure_args1= 1824c19de146Smrgac_must_keep_next=false 1825c19de146Smrgfor ac_pass in 1 2 1826c19de146Smrgdo 1827c19de146Smrg for ac_arg 1828c19de146Smrg do 1829c19de146Smrg case $ac_arg in 1830c19de146Smrg -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1831c19de146Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1832c19de146Smrg | -silent | --silent | --silen | --sile | --sil) 1833c19de146Smrg continue ;; 18349ef7378bSmrg *\'*) 18359ef7378bSmrg ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1836c19de146Smrg esac 1837c19de146Smrg case $ac_pass in 18389ef7378bSmrg 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1839c19de146Smrg 2) 18409ef7378bSmrg as_fn_append ac_configure_args1 " '$ac_arg'" 1841c19de146Smrg if test $ac_must_keep_next = true; then 1842c19de146Smrg ac_must_keep_next=false # Got value, back to normal. 1843c19de146Smrg else 1844c19de146Smrg case $ac_arg in 1845c19de146Smrg *=* | --config-cache | -C | -disable-* | --disable-* \ 1846c19de146Smrg | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1847c19de146Smrg | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1848c19de146Smrg | -with-* | --with-* | -without-* | --without-* | --x) 1849c19de146Smrg case "$ac_configure_args0 " in 1850c19de146Smrg "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1851c19de146Smrg esac 1852c19de146Smrg ;; 1853c19de146Smrg -* ) ac_must_keep_next=true ;; 1854c19de146Smrg esac 1855c19de146Smrg fi 18569ef7378bSmrg as_fn_append ac_configure_args " '$ac_arg'" 1857c19de146Smrg ;; 1858c19de146Smrg esac 1859c19de146Smrg done 1860c19de146Smrgdone 18619ef7378bSmrg{ ac_configure_args0=; unset ac_configure_args0;} 18629ef7378bSmrg{ ac_configure_args1=; unset ac_configure_args1;} 1863c19de146Smrg 1864c19de146Smrg# When interrupted or exit'd, cleanup temporary files, and complete 1865c19de146Smrg# config.log. We remove comments because anyway the quotes in there 1866c19de146Smrg# would cause problems or look ugly. 18679ef7378bSmrg# WARNING: Use '\'' to represent an apostrophe within the trap. 18689ef7378bSmrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1869c19de146Smrgtrap 'exit_status=$? 1870c19de146Smrg # Save into config.log some information that might help in debugging. 1871c19de146Smrg { 1872c19de146Smrg echo 1873c19de146Smrg 1874c918a7e2Smrg $as_echo "## ---------------- ## 1875c19de146Smrg## Cache variables. ## 1876c918a7e2Smrg## ---------------- ##" 1877c19de146Smrg echo 1878c19de146Smrg # The following way of writing the cache mishandles newlines in values, 18799ef7378bSmrg( 18809ef7378bSmrg for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 18819ef7378bSmrg eval ac_val=\$$ac_var 18829ef7378bSmrg case $ac_val in #( 18839ef7378bSmrg *${as_nl}*) 18849ef7378bSmrg case $ac_var in #( 18859ef7378bSmrg *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 18869ef7378bSmrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 18879ef7378bSmrg esac 18889ef7378bSmrg case $ac_var in #( 18899ef7378bSmrg _ | IFS | as_nl) ;; #( 18909ef7378bSmrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 18919ef7378bSmrg *) { eval $ac_var=; unset $ac_var;} ;; 18929ef7378bSmrg esac ;; 18939ef7378bSmrg esac 18949ef7378bSmrg done 1895c19de146Smrg (set) 2>&1 | 18969ef7378bSmrg case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 18979ef7378bSmrg *${as_nl}ac_space=\ *) 1898c19de146Smrg sed -n \ 18999ef7378bSmrg "s/'\''/'\''\\\\'\'''\''/g; 19009ef7378bSmrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 19019ef7378bSmrg ;; #( 1902c19de146Smrg *) 19039ef7378bSmrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1904c19de146Smrg ;; 19059ef7378bSmrg esac | 19069ef7378bSmrg sort 19079ef7378bSmrg) 1908c19de146Smrg echo 1909c19de146Smrg 1910c918a7e2Smrg $as_echo "## ----------------- ## 1911c19de146Smrg## Output variables. ## 1912c918a7e2Smrg## ----------------- ##" 1913c19de146Smrg echo 1914c19de146Smrg for ac_var in $ac_subst_vars 1915c19de146Smrg do 19169ef7378bSmrg eval ac_val=\$$ac_var 19179ef7378bSmrg case $ac_val in 19189ef7378bSmrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 19199ef7378bSmrg esac 19209ef7378bSmrg $as_echo "$ac_var='\''$ac_val'\''" 1921c19de146Smrg done | sort 1922c19de146Smrg echo 1923c19de146Smrg 1924c19de146Smrg if test -n "$ac_subst_files"; then 1925c918a7e2Smrg $as_echo "## ------------------- ## 19269ef7378bSmrg## File substitutions. ## 1927c918a7e2Smrg## ------------------- ##" 1928c19de146Smrg echo 1929c19de146Smrg for ac_var in $ac_subst_files 1930c19de146Smrg do 19319ef7378bSmrg eval ac_val=\$$ac_var 19329ef7378bSmrg case $ac_val in 19339ef7378bSmrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 19349ef7378bSmrg esac 19359ef7378bSmrg $as_echo "$ac_var='\''$ac_val'\''" 1936c19de146Smrg done | sort 1937c19de146Smrg echo 1938c19de146Smrg fi 1939c19de146Smrg 1940c19de146Smrg if test -s confdefs.h; then 1941c918a7e2Smrg $as_echo "## ----------- ## 1942c19de146Smrg## confdefs.h. ## 1943c918a7e2Smrg## ----------- ##" 1944c19de146Smrg echo 19459ef7378bSmrg cat confdefs.h 1946c19de146Smrg echo 1947c19de146Smrg fi 1948c19de146Smrg test "$ac_signal" != 0 && 19499ef7378bSmrg $as_echo "$as_me: caught signal $ac_signal" 19509ef7378bSmrg $as_echo "$as_me: exit $exit_status" 1951c19de146Smrg } >&5 19529ef7378bSmrg rm -f core *.core core.conftest.* && 19539ef7378bSmrg rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1954c19de146Smrg exit $exit_status 19559ef7378bSmrg' 0 1956c19de146Smrgfor ac_signal in 1 2 13 15; do 19579ef7378bSmrg trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1958c19de146Smrgdone 1959c19de146Smrgac_signal=0 1960c19de146Smrg 1961c19de146Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed. 19629ef7378bSmrgrm -f -r conftest* confdefs.h 19639ef7378bSmrg 19649ef7378bSmrg$as_echo "/* confdefs.h */" > confdefs.h 1965c19de146Smrg 1966c19de146Smrg# Predefined preprocessor variables. 1967c19de146Smrg 1968c19de146Smrgcat >>confdefs.h <<_ACEOF 1969c19de146Smrg#define PACKAGE_NAME "$PACKAGE_NAME" 1970c19de146Smrg_ACEOF 1971c19de146Smrg 1972c19de146Smrgcat >>confdefs.h <<_ACEOF 1973c19de146Smrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1974c19de146Smrg_ACEOF 1975c19de146Smrg 1976c19de146Smrgcat >>confdefs.h <<_ACEOF 1977c19de146Smrg#define PACKAGE_VERSION "$PACKAGE_VERSION" 1978c19de146Smrg_ACEOF 1979c19de146Smrg 1980c19de146Smrgcat >>confdefs.h <<_ACEOF 1981c19de146Smrg#define PACKAGE_STRING "$PACKAGE_STRING" 1982c19de146Smrg_ACEOF 1983c19de146Smrg 1984c19de146Smrgcat >>confdefs.h <<_ACEOF 1985c19de146Smrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1986c19de146Smrg_ACEOF 1987c19de146Smrg 19889ef7378bSmrgcat >>confdefs.h <<_ACEOF 19899ef7378bSmrg#define PACKAGE_URL "$PACKAGE_URL" 19909ef7378bSmrg_ACEOF 19919ef7378bSmrg 1992c19de146Smrg 1993c19de146Smrg# Let the site file select an alternate cache file if it wants to. 19949ef7378bSmrg# Prefer an explicitly selected file to automatically selected ones. 19959ef7378bSmrgac_site_file1=NONE 19969ef7378bSmrgac_site_file2=NONE 19979ef7378bSmrgif test -n "$CONFIG_SITE"; then 1998c918a7e2Smrg # We do not want a PATH search for config.site. 1999c918a7e2Smrg case $CONFIG_SITE in #(( 2000c918a7e2Smrg -*) ac_site_file1=./$CONFIG_SITE;; 2001c918a7e2Smrg */*) ac_site_file1=$CONFIG_SITE;; 2002c918a7e2Smrg *) ac_site_file1=./$CONFIG_SITE;; 2003c918a7e2Smrg esac 20049ef7378bSmrgelif test "x$prefix" != xNONE; then 20059ef7378bSmrg ac_site_file1=$prefix/share/config.site 20069ef7378bSmrg ac_site_file2=$prefix/etc/config.site 20079ef7378bSmrgelse 20089ef7378bSmrg ac_site_file1=$ac_default_prefix/share/config.site 20099ef7378bSmrg ac_site_file2=$ac_default_prefix/etc/config.site 2010c19de146Smrgfi 20119ef7378bSmrgfor ac_site_file in "$ac_site_file1" "$ac_site_file2" 20129ef7378bSmrgdo 20139ef7378bSmrg test "x$ac_site_file" = xNONE && continue 20149ef7378bSmrg if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 20159ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 20169ef7378bSmrg$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2017c19de146Smrg sed 's/^/| /' "$ac_site_file" >&5 2018c918a7e2Smrg . "$ac_site_file" \ 2019c918a7e2Smrg || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2020c918a7e2Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2021c918a7e2Smrgas_fn_error $? "failed to load site script $ac_site_file 2022c918a7e2SmrgSee \`config.log' for more details" "$LINENO" 5; } 2023c19de146Smrg fi 2024c19de146Smrgdone 2025c19de146Smrg 2026c19de146Smrgif test -r "$cache_file"; then 20279ef7378bSmrg # Some versions of bash will fail to source /dev/null (special files 20289ef7378bSmrg # actually), so we avoid doing that. DJGPP emulates it as a regular file. 20299ef7378bSmrg if test /dev/null != "$cache_file" && test -f "$cache_file"; then 20309ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 20319ef7378bSmrg$as_echo "$as_me: loading cache $cache_file" >&6;} 2032c19de146Smrg case $cache_file in 20339ef7378bSmrg [\\/]* | ?:[\\/]* ) . "$cache_file";; 20349ef7378bSmrg *) . "./$cache_file";; 2035c19de146Smrg esac 2036c19de146Smrg fi 2037c19de146Smrgelse 20389ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 20399ef7378bSmrg$as_echo "$as_me: creating cache $cache_file" >&6;} 2040c19de146Smrg >$cache_file 2041c19de146Smrgfi 2042c19de146Smrg 2043c19de146Smrg# Check that the precious variables saved in the cache have kept the same 2044c19de146Smrg# value. 2045c19de146Smrgac_cache_corrupted=false 20469ef7378bSmrgfor ac_var in $ac_precious_vars; do 2047c19de146Smrg eval ac_old_set=\$ac_cv_env_${ac_var}_set 2048c19de146Smrg eval ac_new_set=\$ac_env_${ac_var}_set 20499ef7378bSmrg eval ac_old_val=\$ac_cv_env_${ac_var}_value 20509ef7378bSmrg eval ac_new_val=\$ac_env_${ac_var}_value 2051c19de146Smrg case $ac_old_set,$ac_new_set in 2052c19de146Smrg set,) 20539ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 20549ef7378bSmrg$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2055c19de146Smrg ac_cache_corrupted=: ;; 2056c19de146Smrg ,set) 20579ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 20589ef7378bSmrg$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2059c19de146Smrg ac_cache_corrupted=: ;; 2060c19de146Smrg ,);; 2061c19de146Smrg *) 2062c19de146Smrg if test "x$ac_old_val" != "x$ac_new_val"; then 20639ef7378bSmrg # differences in whitespace do not lead to failure. 20649ef7378bSmrg ac_old_val_w=`echo x $ac_old_val` 20659ef7378bSmrg ac_new_val_w=`echo x $ac_new_val` 20669ef7378bSmrg if test "$ac_old_val_w" != "$ac_new_val_w"; then 20679ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 20689ef7378bSmrg$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 20699ef7378bSmrg ac_cache_corrupted=: 20709ef7378bSmrg else 20719ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 20729ef7378bSmrg$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 20739ef7378bSmrg eval $ac_var=\$ac_old_val 20749ef7378bSmrg fi 20759ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 20769ef7378bSmrg$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 20779ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 20789ef7378bSmrg$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2079c19de146Smrg fi;; 2080c19de146Smrg esac 2081c19de146Smrg # Pass precious variables to config.status. 2082c19de146Smrg if test "$ac_new_set" = set; then 2083c19de146Smrg case $ac_new_val in 20849ef7378bSmrg *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2085c19de146Smrg *) ac_arg=$ac_var=$ac_new_val ;; 2086c19de146Smrg esac 2087c19de146Smrg case " $ac_configure_args " in 2088c19de146Smrg *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 20899ef7378bSmrg *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2090c19de146Smrg esac 2091c19de146Smrg fi 2092c19de146Smrgdone 2093c19de146Smrgif $ac_cache_corrupted; then 20949ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20959ef7378bSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20969ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 20979ef7378bSmrg$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2098c918a7e2Smrg as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2099c19de146Smrgfi 21009ef7378bSmrg## -------------------- ## 21019ef7378bSmrg## Main body of script. ## 21029ef7378bSmrg## -------------------- ## 2103c19de146Smrg 2104c19de146Smrgac_ext=c 2105c19de146Smrgac_cpp='$CPP $CPPFLAGS' 2106c19de146Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2107c19de146Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2108c19de146Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 2109c19de146Smrg 2110c19de146Smrg 2111c918a7e2Smrg 2112c918a7e2Smrgac_config_headers="$ac_config_headers config.h" 2113c918a7e2Smrg 2114c918a7e2Smrg 2115c918a7e2Smrg# Initialize Automake 21169ef7378bSmrgam__api_version='1.11' 2117c19de146Smrg 2118c19de146Smrgac_aux_dir= 21199ef7378bSmrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2120c918a7e2Smrg if test -f "$ac_dir/install-sh"; then 2121c918a7e2Smrg ac_aux_dir=$ac_dir 2122c918a7e2Smrg ac_install_sh="$ac_aux_dir/install-sh -c" 2123c918a7e2Smrg break 2124c918a7e2Smrg elif test -f "$ac_dir/install.sh"; then 2125c918a7e2Smrg ac_aux_dir=$ac_dir 2126c918a7e2Smrg ac_install_sh="$ac_aux_dir/install.sh -c" 2127c918a7e2Smrg break 2128c918a7e2Smrg elif test -f "$ac_dir/shtool"; then 2129c918a7e2Smrg ac_aux_dir=$ac_dir 2130c918a7e2Smrg ac_install_sh="$ac_aux_dir/shtool install -c" 2131c918a7e2Smrg break 2132c918a7e2Smrg fi 2133c19de146Smrgdone 2134c19de146Smrgif test -z "$ac_aux_dir"; then 2135c918a7e2Smrg as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2136c19de146Smrgfi 21379ef7378bSmrg 21389ef7378bSmrg# These three variables are undocumented and unsupported, 21399ef7378bSmrg# and are intended to be withdrawn in a future Autoconf release. 21409ef7378bSmrg# They can cause serious problems if a builder's source tree is in a directory 21419ef7378bSmrg# whose full name contains unusual characters. 21429ef7378bSmrgac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 21439ef7378bSmrgac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 21449ef7378bSmrgac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 21459ef7378bSmrg 2146c19de146Smrg 2147c19de146Smrg# Find a good install program. We prefer a C program (faster), 2148c19de146Smrg# so one script is as good as another. But avoid the broken or 2149c19de146Smrg# incompatible versions: 2150c19de146Smrg# SysV /etc/install, /usr/sbin/install 2151c19de146Smrg# SunOS /usr/etc/install 2152c19de146Smrg# IRIX /sbin/install 2153c19de146Smrg# AIX /bin/install 2154c19de146Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs 2155c19de146Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2156c19de146Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2157c19de146Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2158c19de146Smrg# OS/2's system install, which has a completely different semantic 2159c19de146Smrg# ./install, which can be erroneously created by make from ./install.sh. 21609ef7378bSmrg# Reject install programs that cannot install multiple files. 21619ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 21629ef7378bSmrg$as_echo_n "checking for a BSD-compatible install... " >&6; } 2163c19de146Smrgif test -z "$INSTALL"; then 2164c918a7e2Smrgif ${ac_cv_path_install+:} false; then : 21659ef7378bSmrg $as_echo_n "(cached) " >&6 2166c19de146Smrgelse 2167c19de146Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2168c19de146Smrgfor as_dir in $PATH 2169c19de146Smrgdo 2170c19de146Smrg IFS=$as_save_IFS 2171c19de146Smrg test -z "$as_dir" && as_dir=. 21729ef7378bSmrg # Account for people who put trailing slashes in PATH elements. 21739ef7378bSmrgcase $as_dir/ in #(( 21749ef7378bSmrg ./ | .// | /[cC]/* | \ 2175c19de146Smrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 21769ef7378bSmrg ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2177c19de146Smrg /usr/ucb/* ) ;; 2178c19de146Smrg *) 2179c19de146Smrg # OSF1 and SCO ODT 3.0 have their own names for install. 2180c19de146Smrg # Don't use installbsd from OSF since it installs stuff as root 2181c19de146Smrg # by default. 2182c19de146Smrg for ac_prog in ginstall scoinst install; do 2183c19de146Smrg for ac_exec_ext in '' $ac_executable_extensions; do 21849ef7378bSmrg if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2185c19de146Smrg if test $ac_prog = install && 2186c19de146Smrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2187c19de146Smrg # AIX install. It has an incompatible calling convention. 2188c19de146Smrg : 2189c19de146Smrg elif test $ac_prog = install && 2190c19de146Smrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2191c19de146Smrg # program-specific install script used by HP pwplus--don't use. 2192c19de146Smrg : 2193c19de146Smrg else 21949ef7378bSmrg rm -rf conftest.one conftest.two conftest.dir 21959ef7378bSmrg echo one > conftest.one 21969ef7378bSmrg echo two > conftest.two 21979ef7378bSmrg mkdir conftest.dir 21989ef7378bSmrg if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 21999ef7378bSmrg test -s conftest.one && test -s conftest.two && 22009ef7378bSmrg test -s conftest.dir/conftest.one && 22019ef7378bSmrg test -s conftest.dir/conftest.two 22029ef7378bSmrg then 22039ef7378bSmrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 22049ef7378bSmrg break 3 22059ef7378bSmrg fi 2206c19de146Smrg fi 2207c19de146Smrg fi 2208c19de146Smrg done 2209c19de146Smrg done 2210c19de146Smrg ;; 2211c19de146Smrgesac 2212c19de146Smrg 22139ef7378bSmrg done 22149ef7378bSmrgIFS=$as_save_IFS 22159ef7378bSmrg 22169ef7378bSmrgrm -rf conftest.one conftest.two conftest.dir 2217c19de146Smrg 2218c19de146Smrgfi 2219c19de146Smrg if test "${ac_cv_path_install+set}" = set; then 2220c19de146Smrg INSTALL=$ac_cv_path_install 2221c19de146Smrg else 22229ef7378bSmrg # As a last resort, use the slow shell script. Don't cache a 22239ef7378bSmrg # value for INSTALL within a source directory, because that will 2224c19de146Smrg # break other packages using the cache if that directory is 22259ef7378bSmrg # removed, or if the value is a relative name. 2226c19de146Smrg INSTALL=$ac_install_sh 2227c19de146Smrg fi 2228c19de146Smrgfi 22299ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 22309ef7378bSmrg$as_echo "$INSTALL" >&6; } 2231c19de146Smrg 2232c19de146Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2233c19de146Smrg# It thinks the first close brace ends the variable substitution. 2234c19de146Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2235c19de146Smrg 2236c19de146Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2237c19de146Smrg 2238c19de146Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2239c19de146Smrg 22409ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 22419ef7378bSmrg$as_echo_n "checking whether build environment is sane... " >&6; } 2242c19de146Smrg# Just in case 2243c19de146Smrgsleep 1 2244c19de146Smrgecho timestamp > conftest.file 22459ef7378bSmrg# Reject unsafe characters in $srcdir or the absolute working directory 22469ef7378bSmrg# name. Accept space and tab only in the latter. 22479ef7378bSmrgam_lf=' 22489ef7378bSmrg' 22499ef7378bSmrgcase `pwd` in 22509ef7378bSmrg *[\\\"\#\$\&\'\`$am_lf]*) 2251c918a7e2Smrg as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 22529ef7378bSmrgesac 22539ef7378bSmrgcase $srcdir in 22549ef7378bSmrg *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2255c918a7e2Smrg as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 22569ef7378bSmrgesac 22579ef7378bSmrg 2258c19de146Smrg# Do `set' in a subshell so we don't clobber the current shell's 2259c19de146Smrg# arguments. Must try -L first in case configure is actually a 2260c19de146Smrg# symlink; some systems play weird games with the mod time of symlinks 2261c19de146Smrg# (eg FreeBSD returns the mod time of the symlink's containing 2262c19de146Smrg# directory). 2263c19de146Smrgif ( 22649ef7378bSmrg set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2265c19de146Smrg if test "$*" = "X"; then 2266c19de146Smrg # -L didn't work. 22679ef7378bSmrg set X `ls -t "$srcdir/configure" conftest.file` 2268c19de146Smrg fi 2269c19de146Smrg rm -f conftest.file 2270c19de146Smrg if test "$*" != "X $srcdir/configure conftest.file" \ 2271c19de146Smrg && test "$*" != "X conftest.file $srcdir/configure"; then 2272c19de146Smrg 2273c19de146Smrg # If neither matched, then we have a broken ls. This can happen 2274c19de146Smrg # if, for instance, CONFIG_SHELL is bash and it inherits a 2275c19de146Smrg # broken ls alias from the environment. This has actually 2276c19de146Smrg # happened. Such a system could not be considered "sane". 2277c918a7e2Smrg as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 22789ef7378bSmrgalias in your environment" "$LINENO" 5 2279c19de146Smrg fi 2280c19de146Smrg 2281c19de146Smrg test "$2" = conftest.file 2282c19de146Smrg ) 2283c19de146Smrgthen 2284c19de146Smrg # Ok. 2285c19de146Smrg : 2286c19de146Smrgelse 2287c918a7e2Smrg as_fn_error $? "newly created file is older than distributed files! 22889ef7378bSmrgCheck your system clock" "$LINENO" 5 2289c19de146Smrgfi 22909ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 22919ef7378bSmrg$as_echo "yes" >&6; } 2292c19de146Smrgtest "$program_prefix" != NONE && 22939ef7378bSmrg program_transform_name="s&^&$program_prefix&;$program_transform_name" 2294c19de146Smrg# Use a double $ so make ignores it. 2295c19de146Smrgtest "$program_suffix" != NONE && 22969ef7378bSmrg program_transform_name="s&\$&$program_suffix&;$program_transform_name" 22979ef7378bSmrg# Double any \ or $. 2298c19de146Smrg# By default was `s,x,x', remove it if useless. 22999ef7378bSmrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 23009ef7378bSmrgprogram_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2301c19de146Smrg 2302c19de146Smrg# expand $ac_aux_dir to an absolute path 2303c19de146Smrgam_aux_dir=`cd $ac_aux_dir && pwd` 2304c19de146Smrg 23059ef7378bSmrgif test x"${MISSING+set}" != xset; then 23069ef7378bSmrg case $am_aux_dir in 23079ef7378bSmrg *\ * | *\ *) 23089ef7378bSmrg MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 23099ef7378bSmrg *) 23109ef7378bSmrg MISSING="\${SHELL} $am_aux_dir/missing" ;; 23119ef7378bSmrg esac 23129ef7378bSmrgfi 2313c19de146Smrg# Use eval to expand $SHELL 2314c19de146Smrgif eval "$MISSING --run true"; then 2315c19de146Smrg am_missing_run="$MISSING --run " 2316c19de146Smrgelse 2317c19de146Smrg am_missing_run= 23189ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 23199ef7378bSmrg$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 23209ef7378bSmrgfi 23219ef7378bSmrg 23229ef7378bSmrgif test x"${install_sh}" != xset; then 23239ef7378bSmrg case $am_aux_dir in 23249ef7378bSmrg *\ * | *\ *) 23259ef7378bSmrg install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 23269ef7378bSmrg *) 23279ef7378bSmrg install_sh="\${SHELL} $am_aux_dir/install-sh" 23289ef7378bSmrg esac 23299ef7378bSmrgfi 23309ef7378bSmrg 23319ef7378bSmrg# Installed binaries are usually stripped using `strip' when the user 23329ef7378bSmrg# run `make install-strip'. However `strip' might not be the right 23339ef7378bSmrg# tool to use in cross-compilation environments, therefore Automake 23349ef7378bSmrg# will honor the `STRIP' environment variable to overrule this program. 23359ef7378bSmrgif test "$cross_compiling" != no; then 23369ef7378bSmrg if test -n "$ac_tool_prefix"; then 23379ef7378bSmrg # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 23389ef7378bSmrgset dummy ${ac_tool_prefix}strip; ac_word=$2 23399ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23409ef7378bSmrg$as_echo_n "checking for $ac_word... " >&6; } 2341c918a7e2Smrgif ${ac_cv_prog_STRIP+:} false; then : 23429ef7378bSmrg $as_echo_n "(cached) " >&6 23439ef7378bSmrgelse 23449ef7378bSmrg if test -n "$STRIP"; then 23459ef7378bSmrg ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 23469ef7378bSmrgelse 23479ef7378bSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23489ef7378bSmrgfor as_dir in $PATH 23499ef7378bSmrgdo 23509ef7378bSmrg IFS=$as_save_IFS 23519ef7378bSmrg test -z "$as_dir" && as_dir=. 23529ef7378bSmrg for ac_exec_ext in '' $ac_executable_extensions; do 23539ef7378bSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 23549ef7378bSmrg ac_cv_prog_STRIP="${ac_tool_prefix}strip" 23559ef7378bSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23569ef7378bSmrg break 2 23579ef7378bSmrg fi 23589ef7378bSmrgdone 23599ef7378bSmrg done 23609ef7378bSmrgIFS=$as_save_IFS 23619ef7378bSmrg 23629ef7378bSmrgfi 23639ef7378bSmrgfi 23649ef7378bSmrgSTRIP=$ac_cv_prog_STRIP 23659ef7378bSmrgif test -n "$STRIP"; then 23669ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 23679ef7378bSmrg$as_echo "$STRIP" >&6; } 23689ef7378bSmrgelse 23699ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23709ef7378bSmrg$as_echo "no" >&6; } 23719ef7378bSmrgfi 23729ef7378bSmrg 23739ef7378bSmrg 23749ef7378bSmrgfi 23759ef7378bSmrgif test -z "$ac_cv_prog_STRIP"; then 23769ef7378bSmrg ac_ct_STRIP=$STRIP 23779ef7378bSmrg # Extract the first word of "strip", so it can be a program name with args. 23789ef7378bSmrgset dummy strip; ac_word=$2 23799ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23809ef7378bSmrg$as_echo_n "checking for $ac_word... " >&6; } 2381c918a7e2Smrgif ${ac_cv_prog_ac_ct_STRIP+:} false; then : 23829ef7378bSmrg $as_echo_n "(cached) " >&6 23839ef7378bSmrgelse 23849ef7378bSmrg if test -n "$ac_ct_STRIP"; then 23859ef7378bSmrg ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 23869ef7378bSmrgelse 23879ef7378bSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23889ef7378bSmrgfor as_dir in $PATH 23899ef7378bSmrgdo 23909ef7378bSmrg IFS=$as_save_IFS 23919ef7378bSmrg test -z "$as_dir" && as_dir=. 23929ef7378bSmrg for ac_exec_ext in '' $ac_executable_extensions; do 23939ef7378bSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 23949ef7378bSmrg ac_cv_prog_ac_ct_STRIP="strip" 23959ef7378bSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23969ef7378bSmrg break 2 23979ef7378bSmrg fi 23989ef7378bSmrgdone 23999ef7378bSmrg done 24009ef7378bSmrgIFS=$as_save_IFS 24019ef7378bSmrg 24029ef7378bSmrgfi 24039ef7378bSmrgfi 24049ef7378bSmrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 24059ef7378bSmrgif test -n "$ac_ct_STRIP"; then 24069ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 24079ef7378bSmrg$as_echo "$ac_ct_STRIP" >&6; } 24089ef7378bSmrgelse 24099ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24109ef7378bSmrg$as_echo "no" >&6; } 24119ef7378bSmrgfi 24129ef7378bSmrg 24139ef7378bSmrg if test "x$ac_ct_STRIP" = x; then 24149ef7378bSmrg STRIP=":" 24159ef7378bSmrg else 24169ef7378bSmrg case $cross_compiling:$ac_tool_warned in 24179ef7378bSmrgyes:) 24189ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 24199ef7378bSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 24209ef7378bSmrgac_tool_warned=yes ;; 24219ef7378bSmrgesac 24229ef7378bSmrg STRIP=$ac_ct_STRIP 24239ef7378bSmrg fi 24249ef7378bSmrgelse 24259ef7378bSmrg STRIP="$ac_cv_prog_STRIP" 24269ef7378bSmrgfi 24279ef7378bSmrg 2428c19de146Smrgfi 24299ef7378bSmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 24309ef7378bSmrg 24319ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 24329ef7378bSmrg$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 24339ef7378bSmrgif test -z "$MKDIR_P"; then 2434c918a7e2Smrg if ${ac_cv_path_mkdir+:} false; then : 24359ef7378bSmrg $as_echo_n "(cached) " >&6 24369ef7378bSmrgelse 24379ef7378bSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24389ef7378bSmrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 24399ef7378bSmrgdo 24409ef7378bSmrg IFS=$as_save_IFS 24419ef7378bSmrg test -z "$as_dir" && as_dir=. 24429ef7378bSmrg for ac_prog in mkdir gmkdir; do 24439ef7378bSmrg for ac_exec_ext in '' $ac_executable_extensions; do 24449ef7378bSmrg { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 24459ef7378bSmrg case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 24469ef7378bSmrg 'mkdir (GNU coreutils) '* | \ 24479ef7378bSmrg 'mkdir (coreutils) '* | \ 24489ef7378bSmrg 'mkdir (fileutils) '4.1*) 24499ef7378bSmrg ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 24509ef7378bSmrg break 3;; 24519ef7378bSmrg esac 24529ef7378bSmrg done 24539ef7378bSmrg done 24549ef7378bSmrg done 24559ef7378bSmrgIFS=$as_save_IFS 24569ef7378bSmrg 24579ef7378bSmrgfi 24589ef7378bSmrg 24599ef7378bSmrg test -d ./--version && rmdir ./--version 24609ef7378bSmrg if test "${ac_cv_path_mkdir+set}" = set; then 24619ef7378bSmrg MKDIR_P="$ac_cv_path_mkdir -p" 24629ef7378bSmrg else 24639ef7378bSmrg # As a last resort, use the slow shell script. Don't cache a 24649ef7378bSmrg # value for MKDIR_P within a source directory, because that will 24659ef7378bSmrg # break other packages using the cache if that directory is 24669ef7378bSmrg # removed, or if the value is a relative name. 24679ef7378bSmrg MKDIR_P="$ac_install_sh -d" 24689ef7378bSmrg fi 24699ef7378bSmrgfi 24709ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 24719ef7378bSmrg$as_echo "$MKDIR_P" >&6; } 24729ef7378bSmrg 24739ef7378bSmrgmkdir_p="$MKDIR_P" 24749ef7378bSmrgcase $mkdir_p in 24759ef7378bSmrg [\\/$]* | ?:[\\/]*) ;; 24769ef7378bSmrg */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 24779ef7378bSmrgesac 2478c19de146Smrg 2479c19de146Smrgfor ac_prog in gawk mawk nawk awk 2480c19de146Smrgdo 2481c19de146Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 2482c19de146Smrgset dummy $ac_prog; ac_word=$2 24839ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 24849ef7378bSmrg$as_echo_n "checking for $ac_word... " >&6; } 2485c918a7e2Smrgif ${ac_cv_prog_AWK+:} false; then : 24869ef7378bSmrg $as_echo_n "(cached) " >&6 2487c19de146Smrgelse 2488c19de146Smrg if test -n "$AWK"; then 2489c19de146Smrg ac_cv_prog_AWK="$AWK" # Let the user override the test. 2490c19de146Smrgelse 2491c19de146Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2492c19de146Smrgfor as_dir in $PATH 2493c19de146Smrgdo 2494c19de146Smrg IFS=$as_save_IFS 2495c19de146Smrg test -z "$as_dir" && as_dir=. 24969ef7378bSmrg for ac_exec_ext in '' $ac_executable_extensions; do 24979ef7378bSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2498c19de146Smrg ac_cv_prog_AWK="$ac_prog" 24999ef7378bSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2500c19de146Smrg break 2 2501c19de146Smrg fi 2502c19de146Smrgdone 25039ef7378bSmrg done 25049ef7378bSmrgIFS=$as_save_IFS 2505c19de146Smrg 2506c19de146Smrgfi 2507c19de146Smrgfi 2508c19de146SmrgAWK=$ac_cv_prog_AWK 2509c19de146Smrgif test -n "$AWK"; then 25109ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 25119ef7378bSmrg$as_echo "$AWK" >&6; } 2512c19de146Smrgelse 25139ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25149ef7378bSmrg$as_echo "no" >&6; } 2515c19de146Smrgfi 2516c19de146Smrg 25179ef7378bSmrg 2518c19de146Smrg test -n "$AWK" && break 2519c19de146Smrgdone 2520c19de146Smrg 25219ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 25229ef7378bSmrg$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 25239ef7378bSmrgset x ${MAKE-make} 25249ef7378bSmrgac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2525c918a7e2Smrgif eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 25269ef7378bSmrg $as_echo_n "(cached) " >&6 2527c19de146Smrgelse 2528c19de146Smrg cat >conftest.make <<\_ACEOF 25299ef7378bSmrgSHELL = /bin/sh 2530c19de146Smrgall: 25319ef7378bSmrg @echo '@@@%%%=$(MAKE)=@@@%%%' 2532c19de146Smrg_ACEOF 2533c918a7e2Smrg# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 25349ef7378bSmrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in 25359ef7378bSmrg *@@@%%%=?*=@@@%%%*) 25369ef7378bSmrg eval ac_cv_prog_make_${ac_make}_set=yes;; 25379ef7378bSmrg *) 25389ef7378bSmrg eval ac_cv_prog_make_${ac_make}_set=no;; 25399ef7378bSmrgesac 2540c19de146Smrgrm -f conftest.make 2541c19de146Smrgfi 25429ef7378bSmrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 25439ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 25449ef7378bSmrg$as_echo "yes" >&6; } 2545c19de146Smrg SET_MAKE= 2546c19de146Smrgelse 25479ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25489ef7378bSmrg$as_echo "no" >&6; } 2549c19de146Smrg SET_MAKE="MAKE=${MAKE-make}" 2550c19de146Smrgfi 2551c19de146Smrg 2552c19de146Smrgrm -rf .tst 2>/dev/null 2553c19de146Smrgmkdir .tst 2>/dev/null 2554c19de146Smrgif test -d .tst; then 2555c19de146Smrg am__leading_dot=. 2556c19de146Smrgelse 2557c19de146Smrg am__leading_dot=_ 2558c19de146Smrgfi 2559c19de146Smrgrmdir .tst 2>/dev/null 2560c19de146Smrg 25619ef7378bSmrgif test "`cd $srcdir && pwd`" != "`pwd`"; then 25629ef7378bSmrg # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 25639ef7378bSmrg # is not polluted with repeated "-I." 25649ef7378bSmrg am__isrc=' -I$(srcdir)' 25659ef7378bSmrg # test to see if srcdir already configured 25669ef7378bSmrg if test -f $srcdir/config.status; then 2567c918a7e2Smrg as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 25689ef7378bSmrg fi 2569c19de146Smrgfi 2570c19de146Smrg 2571c19de146Smrg# test whether we have cygpath 2572c19de146Smrgif test -z "$CYGPATH_W"; then 2573c19de146Smrg if (cygpath --version) >/dev/null 2>/dev/null; then 2574c19de146Smrg CYGPATH_W='cygpath -w' 2575c19de146Smrg else 2576c19de146Smrg CYGPATH_W=echo 2577c19de146Smrg fi 2578c19de146Smrgfi 2579c19de146Smrg 2580c19de146Smrg 2581c19de146Smrg# Define the identity of the package. 2582c19de146Smrg PACKAGE='xbiff' 2583c918a7e2Smrg VERSION='1.0.3' 2584c19de146Smrg 2585c19de146Smrg 2586c19de146Smrgcat >>confdefs.h <<_ACEOF 2587c19de146Smrg#define PACKAGE "$PACKAGE" 2588c19de146Smrg_ACEOF 2589c19de146Smrg 2590c19de146Smrg 2591c19de146Smrgcat >>confdefs.h <<_ACEOF 2592c19de146Smrg#define VERSION "$VERSION" 2593c19de146Smrg_ACEOF 2594c19de146Smrg 2595c19de146Smrg# Some tools Automake needs. 2596c19de146Smrg 2597c19de146SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2598c19de146Smrg 2599c19de146Smrg 2600c19de146SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2601c19de146Smrg 2602c19de146Smrg 2603c19de146SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2604c19de146Smrg 2605c19de146Smrg 2606c19de146SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2607c19de146Smrg 2608c19de146Smrg 2609c19de146SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2610c19de146Smrg 26119ef7378bSmrg# We need awk for the "check" target. The system "awk" is bad on 26129ef7378bSmrg# some platforms. 26139ef7378bSmrg# Always define AMTAR for backward compatibility. 2614c19de146Smrg 2615c19de146SmrgAMTAR=${AMTAR-"${am_missing_run}tar"} 2616c19de146Smrg 26179ef7378bSmrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2618c19de146Smrg 26199ef7378bSmrg 26209ef7378bSmrg 26219ef7378bSmrg 26229ef7378bSmrg 26239ef7378bSmrg 26249ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 26259ef7378bSmrg$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 26269ef7378bSmrg # Check whether --enable-maintainer-mode was given. 26279ef7378bSmrgif test "${enable_maintainer_mode+set}" = set; then : 26289ef7378bSmrg enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2629c19de146Smrgelse 26309ef7378bSmrg USE_MAINTAINER_MODE=no 26319ef7378bSmrgfi 26329ef7378bSmrg 26339ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 26349ef7378bSmrg$as_echo "$USE_MAINTAINER_MODE" >&6; } 26359ef7378bSmrg if test $USE_MAINTAINER_MODE = yes; then 26369ef7378bSmrg MAINTAINER_MODE_TRUE= 26379ef7378bSmrg MAINTAINER_MODE_FALSE='#' 2638c19de146Smrgelse 26399ef7378bSmrg MAINTAINER_MODE_TRUE='#' 26409ef7378bSmrg MAINTAINER_MODE_FALSE= 2641c19de146Smrgfi 2642c19de146Smrg 26439ef7378bSmrg MAINT=$MAINTAINER_MODE_TRUE 2644c19de146Smrg 2645c19de146Smrg 2646c19de146Smrg 2647c918a7e2Smrg# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS 26489ef7378bSmrg 26499ef7378bSmrg 2650c19de146Smrg 2651c19de146Smrg 2652c19de146Smrg 2653c19de146Smrg 2654c19de146Smrg 2655c19de146Smrg 2656c19de146Smrg 2657c19de146Smrg 2658c19de146Smrg 2659c918a7e2SmrgDEPDIR="${am__leading_dot}deps" 2660c19de146Smrg 2661c918a7e2Smrgac_config_commands="$ac_config_commands depfiles" 2662c918a7e2Smrg 2663c918a7e2Smrg 2664c918a7e2Smrgam_make=${MAKE-make} 2665c918a7e2Smrgcat > confinc << 'END' 2666c918a7e2Smrgam__doit: 2667c918a7e2Smrg @echo this is the am__doit target 2668c918a7e2Smrg.PHONY: am__doit 2669c918a7e2SmrgEND 2670c918a7e2Smrg# If we don't find an include directive, just comment out the code. 2671c918a7e2Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 2672c918a7e2Smrg$as_echo_n "checking for style of include used by $am_make... " >&6; } 2673c918a7e2Smrgam__include="#" 2674c918a7e2Smrgam__quote= 2675c918a7e2Smrg_am_result=none 2676c918a7e2Smrg# First try GNU make style include. 2677c918a7e2Smrgecho "include confinc" > confmf 2678c918a7e2Smrg# Ignore all kinds of additional output from `make'. 2679c918a7e2Smrgcase `$am_make -s -f confmf 2> /dev/null` in #( 2680c918a7e2Smrg*the\ am__doit\ target*) 2681c918a7e2Smrg am__include=include 2682c918a7e2Smrg am__quote= 2683c918a7e2Smrg _am_result=GNU 2684c918a7e2Smrg ;; 2685c918a7e2Smrgesac 2686c918a7e2Smrg# Now try BSD make style include. 2687c918a7e2Smrgif test "$am__include" = "#"; then 2688c918a7e2Smrg echo '.include "confinc"' > confmf 2689c918a7e2Smrg case `$am_make -s -f confmf 2> /dev/null` in #( 2690c918a7e2Smrg *the\ am__doit\ target*) 2691c918a7e2Smrg am__include=.include 2692c918a7e2Smrg am__quote="\"" 2693c918a7e2Smrg _am_result=BSD 2694c918a7e2Smrg ;; 2695c918a7e2Smrg esac 2696c918a7e2Smrgfi 2697c918a7e2Smrg 2698c918a7e2Smrg 2699c918a7e2Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 2700c918a7e2Smrg$as_echo "$_am_result" >&6; } 2701c918a7e2Smrgrm -f confinc confmf 2702c918a7e2Smrg 2703c918a7e2Smrg# Check whether --enable-dependency-tracking was given. 2704c918a7e2Smrgif test "${enable_dependency_tracking+set}" = set; then : 2705c918a7e2Smrg enableval=$enable_dependency_tracking; 2706c918a7e2Smrgfi 2707c918a7e2Smrg 2708c918a7e2Smrgif test "x$enable_dependency_tracking" != xno; then 2709c918a7e2Smrg am_depcomp="$ac_aux_dir/depcomp" 2710c918a7e2Smrg AMDEPBACKSLASH='\' 2711c918a7e2Smrgfi 2712c918a7e2Smrg if test "x$enable_dependency_tracking" != xno; then 2713c918a7e2Smrg AMDEP_TRUE= 2714c918a7e2Smrg AMDEP_FALSE='#' 2715c918a7e2Smrgelse 2716c918a7e2Smrg AMDEP_TRUE='#' 2717c918a7e2Smrg AMDEP_FALSE= 2718c918a7e2Smrgfi 2719c19de146Smrg 2720c19de146Smrg 2721c19de146Smrgac_ext=c 2722c19de146Smrgac_cpp='$CPP $CPPFLAGS' 2723c19de146Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2724c19de146Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2725c19de146Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 2726c19de146Smrgif test -n "$ac_tool_prefix"; then 2727c19de146Smrg # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2728c19de146Smrgset dummy ${ac_tool_prefix}gcc; ac_word=$2 27299ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 27309ef7378bSmrg$as_echo_n "checking for $ac_word... " >&6; } 2731c918a7e2Smrgif ${ac_cv_prog_CC+:} false; then : 27329ef7378bSmrg $as_echo_n "(cached) " >&6 2733c19de146Smrgelse 2734c19de146Smrg if test -n "$CC"; then 2735c19de146Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 2736c19de146Smrgelse 2737c19de146Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2738c19de146Smrgfor as_dir in $PATH 2739c19de146Smrgdo 2740c19de146Smrg IFS=$as_save_IFS 2741c19de146Smrg test -z "$as_dir" && as_dir=. 27429ef7378bSmrg for ac_exec_ext in '' $ac_executable_extensions; do 27439ef7378bSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2744c19de146Smrg ac_cv_prog_CC="${ac_tool_prefix}gcc" 27459ef7378bSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2746c19de146Smrg break 2 2747c19de146Smrg fi 2748c19de146Smrgdone 27499ef7378bSmrg done 27509ef7378bSmrgIFS=$as_save_IFS 2751c19de146Smrg 2752c19de146Smrgfi 2753c19de146Smrgfi 2754c19de146SmrgCC=$ac_cv_prog_CC 2755c19de146Smrgif test -n "$CC"; then 27569ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 27579ef7378bSmrg$as_echo "$CC" >&6; } 2758c19de146Smrgelse 27599ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27609ef7378bSmrg$as_echo "no" >&6; } 2761c19de146Smrgfi 2762c19de146Smrg 27639ef7378bSmrg 2764c19de146Smrgfi 2765c19de146Smrgif test -z "$ac_cv_prog_CC"; then 2766c19de146Smrg ac_ct_CC=$CC 2767c19de146Smrg # Extract the first word of "gcc", so it can be a program name with args. 2768c19de146Smrgset dummy gcc; ac_word=$2 27699ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 27709ef7378bSmrg$as_echo_n "checking for $ac_word... " >&6; } 2771c918a7e2Smrgif ${ac_cv_prog_ac_ct_CC+:} false; then : 27729ef7378bSmrg $as_echo_n "(cached) " >&6 2773c19de146Smrgelse 2774c19de146Smrg if test -n "$ac_ct_CC"; then 2775c19de146Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2776c19de146Smrgelse 2777c19de146Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2778c19de146Smrgfor as_dir in $PATH 2779c19de146Smrgdo 2780c19de146Smrg IFS=$as_save_IFS 2781c19de146Smrg test -z "$as_dir" && as_dir=. 27829ef7378bSmrg for ac_exec_ext in '' $ac_executable_extensions; do 27839ef7378bSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2784c19de146Smrg ac_cv_prog_ac_ct_CC="gcc" 27859ef7378bSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2786c19de146Smrg break 2 2787c19de146Smrg fi 2788c19de146Smrgdone 27899ef7378bSmrg done 27909ef7378bSmrgIFS=$as_save_IFS 2791c19de146Smrg 2792c19de146Smrgfi 2793c19de146Smrgfi 2794c19de146Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 2795c19de146Smrgif test -n "$ac_ct_CC"; then 27969ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 27979ef7378bSmrg$as_echo "$ac_ct_CC" >&6; } 2798c19de146Smrgelse 27999ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28009ef7378bSmrg$as_echo "no" >&6; } 2801c19de146Smrgfi 2802c19de146Smrg 28039ef7378bSmrg if test "x$ac_ct_CC" = x; then 28049ef7378bSmrg CC="" 28059ef7378bSmrg else 28069ef7378bSmrg case $cross_compiling:$ac_tool_warned in 28079ef7378bSmrgyes:) 28089ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 28099ef7378bSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 28109ef7378bSmrgac_tool_warned=yes ;; 28119ef7378bSmrgesac 28129ef7378bSmrg CC=$ac_ct_CC 28139ef7378bSmrg fi 2814c19de146Smrgelse 2815c19de146Smrg CC="$ac_cv_prog_CC" 2816c19de146Smrgfi 2817c19de146Smrg 2818c19de146Smrgif test -z "$CC"; then 28199ef7378bSmrg if test -n "$ac_tool_prefix"; then 28209ef7378bSmrg # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2821c19de146Smrgset dummy ${ac_tool_prefix}cc; ac_word=$2 28229ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 28239ef7378bSmrg$as_echo_n "checking for $ac_word... " >&6; } 2824c918a7e2Smrgif ${ac_cv_prog_CC+:} false; then : 28259ef7378bSmrg $as_echo_n "(cached) " >&6 2826c19de146Smrgelse 2827c19de146Smrg if test -n "$CC"; then 2828c19de146Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 2829c19de146Smrgelse 2830c19de146Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2831c19de146Smrgfor as_dir in $PATH 2832c19de146Smrgdo 2833c19de146Smrg IFS=$as_save_IFS 2834c19de146Smrg test -z "$as_dir" && as_dir=. 28359ef7378bSmrg for ac_exec_ext in '' $ac_executable_extensions; do 28369ef7378bSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2837c19de146Smrg ac_cv_prog_CC="${ac_tool_prefix}cc" 28389ef7378bSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2839c19de146Smrg break 2 2840c19de146Smrg fi 2841c19de146Smrgdone 28429ef7378bSmrg done 28439ef7378bSmrgIFS=$as_save_IFS 2844c19de146Smrg 2845c19de146Smrgfi 2846c19de146Smrgfi 2847c19de146SmrgCC=$ac_cv_prog_CC 2848c19de146Smrgif test -n "$CC"; then 28499ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 28509ef7378bSmrg$as_echo "$CC" >&6; } 2851c19de146Smrgelse 28529ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28539ef7378bSmrg$as_echo "no" >&6; } 2854c19de146Smrgfi 2855c19de146Smrg 2856c19de146Smrg 28579ef7378bSmrg fi 2858c19de146Smrgfi 2859c19de146Smrgif test -z "$CC"; then 2860c19de146Smrg # Extract the first word of "cc", so it can be a program name with args. 2861c19de146Smrgset dummy cc; ac_word=$2 28629ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 28639ef7378bSmrg$as_echo_n "checking for $ac_word... " >&6; } 2864c918a7e2Smrgif ${ac_cv_prog_CC+:} false; then : 28659ef7378bSmrg $as_echo_n "(cached) " >&6 2866c19de146Smrgelse 2867c19de146Smrg if test -n "$CC"; then 2868c19de146Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 2869c19de146Smrgelse 2870c19de146Smrg ac_prog_rejected=no 2871c19de146Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2872c19de146Smrgfor as_dir in $PATH 2873c19de146Smrgdo 2874c19de146Smrg IFS=$as_save_IFS 2875c19de146Smrg test -z "$as_dir" && as_dir=. 28769ef7378bSmrg for ac_exec_ext in '' $ac_executable_extensions; do 28779ef7378bSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2878c19de146Smrg if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2879c19de146Smrg ac_prog_rejected=yes 2880c19de146Smrg continue 2881c19de146Smrg fi 2882c19de146Smrg ac_cv_prog_CC="cc" 28839ef7378bSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2884c19de146Smrg break 2 2885c19de146Smrg fi 2886c19de146Smrgdone 28879ef7378bSmrg done 28889ef7378bSmrgIFS=$as_save_IFS 2889c19de146Smrg 2890c19de146Smrgif test $ac_prog_rejected = yes; then 2891c19de146Smrg # We found a bogon in the path, so make sure we never use it. 2892c19de146Smrg set dummy $ac_cv_prog_CC 2893c19de146Smrg shift 2894c19de146Smrg if test $# != 0; then 2895c19de146Smrg # We chose a different compiler from the bogus one. 2896c19de146Smrg # However, it has the same basename, so the bogon will be chosen 2897c19de146Smrg # first if we set CC to just the basename; use the full file name. 2898c19de146Smrg shift 2899c19de146Smrg ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2900c19de146Smrg fi 2901c19de146Smrgfi 2902c19de146Smrgfi 2903c19de146Smrgfi 2904c19de146SmrgCC=$ac_cv_prog_CC 2905c19de146Smrgif test -n "$CC"; then 29069ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 29079ef7378bSmrg$as_echo "$CC" >&6; } 2908c19de146Smrgelse 29099ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 29109ef7378bSmrg$as_echo "no" >&6; } 2911c19de146Smrgfi 2912c19de146Smrg 29139ef7378bSmrg 2914c19de146Smrgfi 2915c19de146Smrgif test -z "$CC"; then 2916c19de146Smrg if test -n "$ac_tool_prefix"; then 29179ef7378bSmrg for ac_prog in cl.exe 2918c19de146Smrg do 2919c19de146Smrg # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2920c19de146Smrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2 29219ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 29229ef7378bSmrg$as_echo_n "checking for $ac_word... " >&6; } 2923c918a7e2Smrgif ${ac_cv_prog_CC+:} false; then : 29249ef7378bSmrg $as_echo_n "(cached) " >&6 2925c19de146Smrgelse 2926c19de146Smrg if test -n "$CC"; then 2927c19de146Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 2928c19de146Smrgelse 2929c19de146Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2930c19de146Smrgfor as_dir in $PATH 2931c19de146Smrgdo 2932c19de146Smrg IFS=$as_save_IFS 2933c19de146Smrg test -z "$as_dir" && as_dir=. 29349ef7378bSmrg for ac_exec_ext in '' $ac_executable_extensions; do 29359ef7378bSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2936c19de146Smrg ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 29379ef7378bSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2938c19de146Smrg break 2 2939c19de146Smrg fi 2940c19de146Smrgdone 29419ef7378bSmrg done 29429ef7378bSmrgIFS=$as_save_IFS 2943c19de146Smrg 2944c19de146Smrgfi 2945c19de146Smrgfi 2946c19de146SmrgCC=$ac_cv_prog_CC 2947c19de146Smrgif test -n "$CC"; then 29489ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 29499ef7378bSmrg$as_echo "$CC" >&6; } 2950c19de146Smrgelse 29519ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 29529ef7378bSmrg$as_echo "no" >&6; } 2953c19de146Smrgfi 2954c19de146Smrg 29559ef7378bSmrg 2956c19de146Smrg test -n "$CC" && break 2957c19de146Smrg done 2958c19de146Smrgfi 2959c19de146Smrgif test -z "$CC"; then 2960c19de146Smrg ac_ct_CC=$CC 29619ef7378bSmrg for ac_prog in cl.exe 2962c19de146Smrgdo 2963c19de146Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 2964c19de146Smrgset dummy $ac_prog; ac_word=$2 29659ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 29669ef7378bSmrg$as_echo_n "checking for $ac_word... " >&6; } 2967c918a7e2Smrgif ${ac_cv_prog_ac_ct_CC+:} false; then : 29689ef7378bSmrg $as_echo_n "(cached) " >&6 2969c19de146Smrgelse 2970c19de146Smrg if test -n "$ac_ct_CC"; then 2971c19de146Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2972c19de146Smrgelse 2973c19de146Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2974c19de146Smrgfor as_dir in $PATH 2975c19de146Smrgdo 2976c19de146Smrg IFS=$as_save_IFS 2977c19de146Smrg test -z "$as_dir" && as_dir=. 29789ef7378bSmrg for ac_exec_ext in '' $ac_executable_extensions; do 29799ef7378bSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2980c19de146Smrg ac_cv_prog_ac_ct_CC="$ac_prog" 29819ef7378bSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2982c19de146Smrg break 2 2983c19de146Smrg fi 2984c19de146Smrgdone 29859ef7378bSmrg done 29869ef7378bSmrgIFS=$as_save_IFS 2987c19de146Smrg 2988c19de146Smrgfi 2989c19de146Smrgfi 2990c19de146Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 2991c19de146Smrgif test -n "$ac_ct_CC"; then 29929ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 29939ef7378bSmrg$as_echo "$ac_ct_CC" >&6; } 2994c19de146Smrgelse 29959ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 29969ef7378bSmrg$as_echo "no" >&6; } 2997c19de146Smrgfi 2998c19de146Smrg 29999ef7378bSmrg 3000c19de146Smrg test -n "$ac_ct_CC" && break 3001c19de146Smrgdone 3002c19de146Smrg 30039ef7378bSmrg if test "x$ac_ct_CC" = x; then 30049ef7378bSmrg CC="" 30059ef7378bSmrg else 30069ef7378bSmrg case $cross_compiling:$ac_tool_warned in 30079ef7378bSmrgyes:) 30089ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 30099ef7378bSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 30109ef7378bSmrgac_tool_warned=yes ;; 30119ef7378bSmrgesac 30129ef7378bSmrg CC=$ac_ct_CC 30139ef7378bSmrg fi 3014c19de146Smrgfi 3015c19de146Smrg 3016c19de146Smrgfi 3017c19de146Smrg 3018c19de146Smrg 30199ef7378bSmrgtest -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 30209ef7378bSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3021c918a7e2Smrgas_fn_error $? "no acceptable C compiler found in \$PATH 3022c918a7e2SmrgSee \`config.log' for more details" "$LINENO" 5; } 3023c19de146Smrg 3024c19de146Smrg# Provide some information about the compiler. 30259ef7378bSmrg$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 30269ef7378bSmrgset X $ac_compile 30279ef7378bSmrgac_compiler=$2 30289ef7378bSmrgfor ac_option in --version -v -V -qversion; do 30299ef7378bSmrg { { ac_try="$ac_compiler $ac_option >&5" 30309ef7378bSmrgcase "(($ac_try" in 30319ef7378bSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 30329ef7378bSmrg *) ac_try_echo=$ac_try;; 30339ef7378bSmrgesac 30349ef7378bSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 30359ef7378bSmrg$as_echo "$ac_try_echo"; } >&5 30369ef7378bSmrg (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3037c19de146Smrg ac_status=$? 30389ef7378bSmrg if test -s conftest.err; then 30399ef7378bSmrg sed '10a\ 30409ef7378bSmrg... rest of stderr output deleted ... 30419ef7378bSmrg 10q' conftest.err >conftest.er1 30429ef7378bSmrg cat conftest.er1 >&5 30439ef7378bSmrg fi 30449ef7378bSmrg rm -f conftest.er1 conftest.err 30459ef7378bSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 30469ef7378bSmrg test $ac_status = 0; } 30479ef7378bSmrgdone 3048c19de146Smrg 30499ef7378bSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 3050c19de146Smrg/* end confdefs.h. */ 3051c19de146Smrg 3052c19de146Smrgint 3053c19de146Smrgmain () 3054c19de146Smrg{ 3055c19de146Smrg 3056c19de146Smrg ; 3057c19de146Smrg return 0; 3058c19de146Smrg} 3059c19de146Smrg_ACEOF 3060c19de146Smrgac_clean_files_save=$ac_clean_files 30619ef7378bSmrgac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3062c19de146Smrg# Try to create an executable without -o first, disregard a.out. 3063c19de146Smrg# It will help us diagnose broken compilers, and finding out an intuition 3064c19de146Smrg# of exeext. 30659ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 30669ef7378bSmrg$as_echo_n "checking whether the C compiler works... " >&6; } 30679ef7378bSmrgac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 30689ef7378bSmrg 30699ef7378bSmrg# The possible output files: 30709ef7378bSmrgac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 30719ef7378bSmrg 30729ef7378bSmrgac_rmfiles= 30739ef7378bSmrgfor ac_file in $ac_files 30749ef7378bSmrgdo 30759ef7378bSmrg case $ac_file in 30769ef7378bSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 30779ef7378bSmrg * ) ac_rmfiles="$ac_rmfiles $ac_file";; 30789ef7378bSmrg esac 30799ef7378bSmrgdone 30809ef7378bSmrgrm -f $ac_rmfiles 30819ef7378bSmrg 30829ef7378bSmrgif { { ac_try="$ac_link_default" 30839ef7378bSmrgcase "(($ac_try" in 30849ef7378bSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 30859ef7378bSmrg *) ac_try_echo=$ac_try;; 30869ef7378bSmrgesac 30879ef7378bSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 30889ef7378bSmrg$as_echo "$ac_try_echo"; } >&5 30899ef7378bSmrg (eval "$ac_link_default") 2>&5 3090c19de146Smrg ac_status=$? 30919ef7378bSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 30929ef7378bSmrg test $ac_status = 0; }; then : 30939ef7378bSmrg # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 30949ef7378bSmrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 30959ef7378bSmrg# in a Makefile. We should not override ac_cv_exeext if it was cached, 30969ef7378bSmrg# so that the user can short-circuit this test for compilers unknown to 30979ef7378bSmrg# Autoconf. 30989ef7378bSmrgfor ac_file in $ac_files '' 3099c19de146Smrgdo 3100c19de146Smrg test -f "$ac_file" || continue 3101c19de146Smrg case $ac_file in 31029ef7378bSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3103c19de146Smrg ;; 3104c19de146Smrg [ab].out ) 3105c19de146Smrg # We found the default executable, but exeext='' is most 3106c19de146Smrg # certainly right. 3107c19de146Smrg break;; 3108c19de146Smrg *.* ) 31099ef7378bSmrg if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 31109ef7378bSmrg then :; else 31119ef7378bSmrg ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 31129ef7378bSmrg fi 31139ef7378bSmrg # We set ac_cv_exeext here because the later test for it is not 31149ef7378bSmrg # safe: cross compilers may not add the suffix if given an `-o' 31159ef7378bSmrg # argument, so we may need to know it at that point already. 31169ef7378bSmrg # Even if this section looks crufty: it has the advantage of 31179ef7378bSmrg # actually working. 3118c19de146Smrg break;; 3119c19de146Smrg * ) 3120c19de146Smrg break;; 3121c19de146Smrg esac 3122c19de146Smrgdone 31239ef7378bSmrgtest "$ac_cv_exeext" = no && ac_cv_exeext= 31249ef7378bSmrg 3125c19de146Smrgelse 31269ef7378bSmrg ac_file='' 31279ef7378bSmrgfi 31289ef7378bSmrgif test -z "$ac_file"; then : 31299ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 31309ef7378bSmrg$as_echo "no" >&6; } 31319ef7378bSmrg$as_echo "$as_me: failed program was:" >&5 3132c19de146Smrgsed 's/^/| /' conftest.$ac_ext >&5 3133c19de146Smrg 31349ef7378bSmrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 31359ef7378bSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3136c918a7e2Smrgas_fn_error 77 "C compiler cannot create executables 3137c918a7e2SmrgSee \`config.log' for more details" "$LINENO" 5; } 31389ef7378bSmrgelse 31399ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 31409ef7378bSmrg$as_echo "yes" >&6; } 3141c19de146Smrgfi 31429ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 31439ef7378bSmrg$as_echo_n "checking for C compiler default output file name... " >&6; } 31449ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 31459ef7378bSmrg$as_echo "$ac_file" >&6; } 3146c19de146Smrgac_exeext=$ac_cv_exeext 3147c19de146Smrg 31489ef7378bSmrgrm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3149c19de146Smrgac_clean_files=$ac_clean_files_save 31509ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 31519ef7378bSmrg$as_echo_n "checking for suffix of executables... " >&6; } 31529ef7378bSmrgif { { ac_try="$ac_link" 31539ef7378bSmrgcase "(($ac_try" in 31549ef7378bSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 31559ef7378bSmrg *) ac_try_echo=$ac_try;; 31569ef7378bSmrgesac 31579ef7378bSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 31589ef7378bSmrg$as_echo "$ac_try_echo"; } >&5 31599ef7378bSmrg (eval "$ac_link") 2>&5 3160c19de146Smrg ac_status=$? 31619ef7378bSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 31629ef7378bSmrg test $ac_status = 0; }; then : 3163c19de146Smrg # If both `conftest.exe' and `conftest' are `present' (well, observable) 3164c19de146Smrg# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3165c19de146Smrg# work properly (i.e., refer to `conftest.exe'), while it won't with 3166c19de146Smrg# `rm'. 3167c19de146Smrgfor ac_file in conftest.exe conftest conftest.*; do 3168c19de146Smrg test -f "$ac_file" || continue 3169c19de146Smrg case $ac_file in 31709ef7378bSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3171c19de146Smrg *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3172c19de146Smrg break;; 3173c19de146Smrg * ) break;; 3174c19de146Smrg esac 3175c19de146Smrgdone 3176c19de146Smrgelse 31779ef7378bSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 31789ef7378bSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3179c918a7e2Smrgas_fn_error $? "cannot compute suffix of executables: cannot compile and link 3180c918a7e2SmrgSee \`config.log' for more details" "$LINENO" 5; } 3181c19de146Smrgfi 31829ef7378bSmrgrm -f conftest conftest$ac_cv_exeext 31839ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 31849ef7378bSmrg$as_echo "$ac_cv_exeext" >&6; } 3185c19de146Smrg 3186c19de146Smrgrm -f conftest.$ac_ext 3187c19de146SmrgEXEEXT=$ac_cv_exeext 3188c19de146Smrgac_exeext=$EXEEXT 31899ef7378bSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 31909ef7378bSmrg/* end confdefs.h. */ 31919ef7378bSmrg#include <stdio.h> 31929ef7378bSmrgint 31939ef7378bSmrgmain () 31949ef7378bSmrg{ 31959ef7378bSmrgFILE *f = fopen ("conftest.out", "w"); 31969ef7378bSmrg return ferror (f) || fclose (f) != 0; 31979ef7378bSmrg 31989ef7378bSmrg ; 31999ef7378bSmrg return 0; 32009ef7378bSmrg} 3201c19de146Smrg_ACEOF 32029ef7378bSmrgac_clean_files="$ac_clean_files conftest.out" 32039ef7378bSmrg# Check that the compiler produces executables we can run. If not, either 32049ef7378bSmrg# the compiler is broken, or we cross compile. 32059ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 32069ef7378bSmrg$as_echo_n "checking whether we are cross compiling... " >&6; } 32079ef7378bSmrgif test "$cross_compiling" != yes; then 32089ef7378bSmrg { { ac_try="$ac_link" 32099ef7378bSmrgcase "(($ac_try" in 32109ef7378bSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 32119ef7378bSmrg *) ac_try_echo=$ac_try;; 32129ef7378bSmrgesac 32139ef7378bSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 32149ef7378bSmrg$as_echo "$ac_try_echo"; } >&5 32159ef7378bSmrg (eval "$ac_link") 2>&5 32169ef7378bSmrg ac_status=$? 32179ef7378bSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 32189ef7378bSmrg test $ac_status = 0; } 32199ef7378bSmrg if { ac_try='./conftest$ac_cv_exeext' 32209ef7378bSmrg { { case "(($ac_try" in 32219ef7378bSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 32229ef7378bSmrg *) ac_try_echo=$ac_try;; 32239ef7378bSmrgesac 32249ef7378bSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 32259ef7378bSmrg$as_echo "$ac_try_echo"; } >&5 32269ef7378bSmrg (eval "$ac_try") 2>&5 32279ef7378bSmrg ac_status=$? 32289ef7378bSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 32299ef7378bSmrg test $ac_status = 0; }; }; then 32309ef7378bSmrg cross_compiling=no 32319ef7378bSmrg else 32329ef7378bSmrg if test "$cross_compiling" = maybe; then 32339ef7378bSmrg cross_compiling=yes 32349ef7378bSmrg else 32359ef7378bSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 32369ef7378bSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3237c918a7e2Smrgas_fn_error $? "cannot run C compiled programs. 32389ef7378bSmrgIf you meant to cross compile, use \`--host'. 3239c918a7e2SmrgSee \`config.log' for more details" "$LINENO" 5; } 32409ef7378bSmrg fi 32419ef7378bSmrg fi 32429ef7378bSmrgfi 32439ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 32449ef7378bSmrg$as_echo "$cross_compiling" >&6; } 32459ef7378bSmrg 32469ef7378bSmrgrm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 32479ef7378bSmrgac_clean_files=$ac_clean_files_save 32489ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 32499ef7378bSmrg$as_echo_n "checking for suffix of object files... " >&6; } 3250c918a7e2Smrgif ${ac_cv_objext+:} false; then : 32519ef7378bSmrg $as_echo_n "(cached) " >&6 32529ef7378bSmrgelse 32539ef7378bSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3254c19de146Smrg/* end confdefs.h. */ 3255c19de146Smrg 3256c19de146Smrgint 3257c19de146Smrgmain () 3258c19de146Smrg{ 3259c19de146Smrg 3260c19de146Smrg ; 3261c19de146Smrg return 0; 3262c19de146Smrg} 3263c19de146Smrg_ACEOF 3264c19de146Smrgrm -f conftest.o conftest.obj 32659ef7378bSmrgif { { ac_try="$ac_compile" 32669ef7378bSmrgcase "(($ac_try" in 32679ef7378bSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 32689ef7378bSmrg *) ac_try_echo=$ac_try;; 32699ef7378bSmrgesac 32709ef7378bSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 32719ef7378bSmrg$as_echo "$ac_try_echo"; } >&5 32729ef7378bSmrg (eval "$ac_compile") 2>&5 3273c19de146Smrg ac_status=$? 32749ef7378bSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 32759ef7378bSmrg test $ac_status = 0; }; then : 32769ef7378bSmrg for ac_file in conftest.o conftest.obj conftest.*; do 32779ef7378bSmrg test -f "$ac_file" || continue; 3278c19de146Smrg case $ac_file in 32799ef7378bSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3280c19de146Smrg *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3281c19de146Smrg break;; 3282c19de146Smrg esac 3283c19de146Smrgdone 3284c19de146Smrgelse 32859ef7378bSmrg $as_echo "$as_me: failed program was:" >&5 3286c19de146Smrgsed 's/^/| /' conftest.$ac_ext >&5 3287c19de146Smrg 32889ef7378bSmrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 32899ef7378bSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3290c918a7e2Smrgas_fn_error $? "cannot compute suffix of object files: cannot compile 3291c918a7e2SmrgSee \`config.log' for more details" "$LINENO" 5; } 3292c19de146Smrgfi 3293c19de146Smrgrm -f conftest.$ac_cv_objext conftest.$ac_ext 3294c19de146Smrgfi 32959ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 32969ef7378bSmrg$as_echo "$ac_cv_objext" >&6; } 3297c19de146SmrgOBJEXT=$ac_cv_objext 3298c19de146Smrgac_objext=$OBJEXT 32999ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 33009ef7378bSmrg$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3301c918a7e2Smrgif ${ac_cv_c_compiler_gnu+:} false; then : 33029ef7378bSmrg $as_echo_n "(cached) " >&6 3303c19de146Smrgelse 33049ef7378bSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3305c19de146Smrg/* end confdefs.h. */ 3306c19de146Smrg 3307c19de146Smrgint 3308c19de146Smrgmain () 3309c19de146Smrg{ 3310c19de146Smrg#ifndef __GNUC__ 3311c19de146Smrg choke me 3312c19de146Smrg#endif 3313c19de146Smrg 3314c19de146Smrg ; 3315c19de146Smrg return 0; 3316c19de146Smrg} 3317c19de146Smrg_ACEOF 33189ef7378bSmrgif ac_fn_c_try_compile "$LINENO"; then : 3319c19de146Smrg ac_compiler_gnu=yes 3320c19de146Smrgelse 33219ef7378bSmrg ac_compiler_gnu=no 3322c19de146Smrgfi 33239ef7378bSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3324c19de146Smrgac_cv_c_compiler_gnu=$ac_compiler_gnu 3325c19de146Smrg 3326c19de146Smrgfi 33279ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 33289ef7378bSmrg$as_echo "$ac_cv_c_compiler_gnu" >&6; } 33299ef7378bSmrgif test $ac_compiler_gnu = yes; then 33309ef7378bSmrg GCC=yes 33319ef7378bSmrgelse 33329ef7378bSmrg GCC= 33339ef7378bSmrgfi 3334c19de146Smrgac_test_CFLAGS=${CFLAGS+set} 3335c19de146Smrgac_save_CFLAGS=$CFLAGS 33369ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 33379ef7378bSmrg$as_echo_n "checking whether $CC accepts -g... " >&6; } 3338c918a7e2Smrgif ${ac_cv_prog_cc_g+:} false; then : 33399ef7378bSmrg $as_echo_n "(cached) " >&6 33409ef7378bSmrgelse 33419ef7378bSmrg ac_save_c_werror_flag=$ac_c_werror_flag 33429ef7378bSmrg ac_c_werror_flag=yes 33439ef7378bSmrg ac_cv_prog_cc_g=no 33449ef7378bSmrg CFLAGS="-g" 33459ef7378bSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3346c19de146Smrg/* end confdefs.h. */ 3347c19de146Smrg 3348c19de146Smrgint 3349c19de146Smrgmain () 3350c19de146Smrg{ 3351c19de146Smrg 3352c19de146Smrg ; 3353c19de146Smrg return 0; 3354c19de146Smrg} 3355c19de146Smrg_ACEOF 33569ef7378bSmrgif ac_fn_c_try_compile "$LINENO"; then : 3357c19de146Smrg ac_cv_prog_cc_g=yes 3358c19de146Smrgelse 33599ef7378bSmrg CFLAGS="" 33609ef7378bSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33619ef7378bSmrg/* end confdefs.h. */ 33629ef7378bSmrg 33639ef7378bSmrgint 33649ef7378bSmrgmain () 33659ef7378bSmrg{ 33669ef7378bSmrg 33679ef7378bSmrg ; 33689ef7378bSmrg return 0; 33699ef7378bSmrg} 33709ef7378bSmrg_ACEOF 33719ef7378bSmrgif ac_fn_c_try_compile "$LINENO"; then : 33729ef7378bSmrg 33739ef7378bSmrgelse 33749ef7378bSmrg ac_c_werror_flag=$ac_save_c_werror_flag 33759ef7378bSmrg CFLAGS="-g" 33769ef7378bSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33779ef7378bSmrg/* end confdefs.h. */ 33789ef7378bSmrg 33799ef7378bSmrgint 33809ef7378bSmrgmain () 33819ef7378bSmrg{ 3382c19de146Smrg 33839ef7378bSmrg ; 33849ef7378bSmrg return 0; 33859ef7378bSmrg} 33869ef7378bSmrg_ACEOF 33879ef7378bSmrgif ac_fn_c_try_compile "$LINENO"; then : 33889ef7378bSmrg ac_cv_prog_cc_g=yes 3389c19de146Smrgfi 33909ef7378bSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3391c19de146Smrgfi 33929ef7378bSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 33939ef7378bSmrgfi 33949ef7378bSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 33959ef7378bSmrg ac_c_werror_flag=$ac_save_c_werror_flag 33969ef7378bSmrgfi 33979ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 33989ef7378bSmrg$as_echo "$ac_cv_prog_cc_g" >&6; } 3399c19de146Smrgif test "$ac_test_CFLAGS" = set; then 3400c19de146Smrg CFLAGS=$ac_save_CFLAGS 3401c19de146Smrgelif test $ac_cv_prog_cc_g = yes; then 3402c19de146Smrg if test "$GCC" = yes; then 3403c19de146Smrg CFLAGS="-g -O2" 3404c19de146Smrg else 3405c19de146Smrg CFLAGS="-g" 3406c19de146Smrg fi 3407c19de146Smrgelse 3408c19de146Smrg if test "$GCC" = yes; then 3409c19de146Smrg CFLAGS="-O2" 3410c19de146Smrg else 3411c19de146Smrg CFLAGS= 3412c19de146Smrg fi 3413c19de146Smrgfi 34149ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 34159ef7378bSmrg$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3416c918a7e2Smrgif ${ac_cv_prog_cc_c89+:} false; then : 34179ef7378bSmrg $as_echo_n "(cached) " >&6 3418c19de146Smrgelse 34199ef7378bSmrg ac_cv_prog_cc_c89=no 3420c19de146Smrgac_save_CC=$CC 34219ef7378bSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 3422c19de146Smrg/* end confdefs.h. */ 3423c19de146Smrg#include <stdarg.h> 3424c19de146Smrg#include <stdio.h> 3425c19de146Smrg#include <sys/types.h> 3426c19de146Smrg#include <sys/stat.h> 3427c19de146Smrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3428c19de146Smrgstruct buf { int x; }; 3429c19de146SmrgFILE * (*rcsopen) (struct buf *, struct stat *, int); 3430c19de146Smrgstatic char *e (p, i) 3431c19de146Smrg char **p; 3432c19de146Smrg int i; 3433c19de146Smrg{ 3434c19de146Smrg return p[i]; 3435c19de146Smrg} 3436c19de146Smrgstatic char *f (char * (*g) (char **, int), char **p, ...) 3437c19de146Smrg{ 3438c19de146Smrg char *s; 3439c19de146Smrg va_list v; 3440c19de146Smrg va_start (v,p); 3441c19de146Smrg s = g (p, va_arg (v,int)); 3442c19de146Smrg va_end (v); 3443c19de146Smrg return s; 3444c19de146Smrg} 3445c19de146Smrg 3446c19de146Smrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3447c19de146Smrg function prototypes and stuff, but not '\xHH' hex character constants. 3448c19de146Smrg These don't provoke an error unfortunately, instead are silently treated 34499ef7378bSmrg as 'x'. The following induces an error, until -std is added to get 3450c19de146Smrg proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3451c19de146Smrg array size at least. It's necessary to write '\x00'==0 to get something 34529ef7378bSmrg that's true only with -std. */ 3453c19de146Smrgint osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3454c19de146Smrg 34559ef7378bSmrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 34569ef7378bSmrg inside strings and character constants. */ 34579ef7378bSmrg#define FOO(x) 'x' 34589ef7378bSmrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 34599ef7378bSmrg 3460c19de146Smrgint test (int i, double x); 3461c19de146Smrgstruct s1 {int (*f) (int a);}; 3462c19de146Smrgstruct s2 {int (*f) (double a);}; 3463c19de146Smrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3464c19de146Smrgint argc; 3465c19de146Smrgchar **argv; 3466c19de146Smrgint 3467c19de146Smrgmain () 3468c19de146Smrg{ 3469c19de146Smrgreturn f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3470c19de146Smrg ; 3471c19de146Smrg return 0; 3472c19de146Smrg} 3473c19de146Smrg_ACEOF 34749ef7378bSmrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 34759ef7378bSmrg -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3476c19de146Smrgdo 3477c19de146Smrg CC="$ac_save_CC $ac_arg" 34789ef7378bSmrg if ac_fn_c_try_compile "$LINENO"; then : 34799ef7378bSmrg ac_cv_prog_cc_c89=$ac_arg 3480c19de146Smrgfi 34819ef7378bSmrgrm -f core conftest.err conftest.$ac_objext 34829ef7378bSmrg test "x$ac_cv_prog_cc_c89" != "xno" && break 3483c19de146Smrgdone 34849ef7378bSmrgrm -f conftest.$ac_ext 3485c19de146SmrgCC=$ac_save_CC 3486c19de146Smrg 3487c19de146Smrgfi 34889ef7378bSmrg# AC_CACHE_VAL 34899ef7378bSmrgcase "x$ac_cv_prog_cc_c89" in 34909ef7378bSmrg x) 34919ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 34929ef7378bSmrg$as_echo "none needed" >&6; } ;; 34939ef7378bSmrg xno) 34949ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 34959ef7378bSmrg$as_echo "unsupported" >&6; } ;; 3496c19de146Smrg *) 34979ef7378bSmrg CC="$CC $ac_cv_prog_cc_c89" 34989ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 34999ef7378bSmrg$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3500c19de146Smrgesac 35019ef7378bSmrgif test "x$ac_cv_prog_cc_c89" != xno; then : 3502c19de146Smrg 3503c19de146Smrgfi 3504c19de146Smrg 3505c19de146Smrgac_ext=c 3506c19de146Smrgac_cpp='$CPP $CPPFLAGS' 3507c19de146Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3508c19de146Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3509c19de146Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 3510c19de146Smrg 3511c19de146Smrgdepcc="$CC" am_compiler_list= 3512c19de146Smrg 35139ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 35149ef7378bSmrg$as_echo_n "checking dependency style of $depcc... " >&6; } 3515c918a7e2Smrgif ${am_cv_CC_dependencies_compiler_type+:} false; then : 35169ef7378bSmrg $as_echo_n "(cached) " >&6 3517c19de146Smrgelse 3518c19de146Smrg if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3519c19de146Smrg # We make a subdir and do the tests there. Otherwise we can end up 3520c19de146Smrg # making bogus files that we don't know about and never remove. For 3521c19de146Smrg # instance it was reported that on HP-UX the gcc test will end up 3522c19de146Smrg # making a dummy file named `D' -- because `-MD' means `put the output 3523c19de146Smrg # in D'. 3524c19de146Smrg mkdir conftest.dir 3525c19de146Smrg # Copy depcomp to subdir because otherwise we won't find it if we're 3526c19de146Smrg # using a relative directory. 3527c19de146Smrg cp "$am_depcomp" conftest.dir 3528c19de146Smrg cd conftest.dir 3529c19de146Smrg # We will build objects and dependencies in a subdirectory because 3530c19de146Smrg # it helps to detect inapplicable dependency modes. For instance 3531c19de146Smrg # both Tru64's cc and ICC support -MD to output dependencies as a 3532c19de146Smrg # side effect of compilation, but ICC will put the dependencies in 3533c19de146Smrg # the current directory while Tru64 will put them in the object 3534c19de146Smrg # directory. 3535c19de146Smrg mkdir sub 3536c19de146Smrg 3537c19de146Smrg am_cv_CC_dependencies_compiler_type=none 3538c19de146Smrg if test "$am_compiler_list" = ""; then 3539c19de146Smrg am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3540c19de146Smrg fi 35419ef7378bSmrg am__universal=false 35429ef7378bSmrg case " $depcc " in #( 35439ef7378bSmrg *\ -arch\ *\ -arch\ *) am__universal=true ;; 35449ef7378bSmrg esac 35459ef7378bSmrg 3546c19de146Smrg for depmode in $am_compiler_list; do 3547c19de146Smrg # Setup a source with many dependencies, because some compilers 3548c19de146Smrg # like to wrap large dependency lists on column 80 (with \), and 3549c19de146Smrg # we should not choose a depcomp mode which is confused by this. 3550c19de146Smrg # 3551c19de146Smrg # We need to recreate these files for each test, as the compiler may 3552c19de146Smrg # overwrite some of them when testing with obscure command lines. 3553c19de146Smrg # This happens at least with the AIX C compiler. 3554c19de146Smrg : > sub/conftest.c 3555c19de146Smrg for i in 1 2 3 4 5 6; do 3556c19de146Smrg echo '#include "conftst'$i'.h"' >> sub/conftest.c 35579ef7378bSmrg # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 35589ef7378bSmrg # Solaris 8's {/usr,}/bin/sh. 35599ef7378bSmrg touch sub/conftst$i.h 3560c19de146Smrg done 3561c19de146Smrg echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3562c19de146Smrg 35639ef7378bSmrg # We check with `-c' and `-o' for the sake of the "dashmstdout" 35649ef7378bSmrg # mode. It turns out that the SunPro C++ compiler does not properly 35659ef7378bSmrg # handle `-M -o', and we need to detect this. Also, some Intel 35669ef7378bSmrg # versions had trouble with output in subdirs 35679ef7378bSmrg am__obj=sub/conftest.${OBJEXT-o} 35689ef7378bSmrg am__minus_obj="-o $am__obj" 3569c19de146Smrg case $depmode in 35709ef7378bSmrg gcc) 35719ef7378bSmrg # This depmode causes a compiler race in universal mode. 35729ef7378bSmrg test "$am__universal" = false || continue 35739ef7378bSmrg ;; 3574c19de146Smrg nosideeffect) 3575c19de146Smrg # after this tag, mechanisms are not by side-effect, so they'll 3576c19de146Smrg # only be used when explicitly requested 3577c19de146Smrg if test "x$enable_dependency_tracking" = xyes; then 3578c19de146Smrg continue 3579c19de146Smrg else 3580c19de146Smrg break 3581c19de146Smrg fi 3582c19de146Smrg ;; 35839ef7378bSmrg msvisualcpp | msvcmsys) 35849ef7378bSmrg # This compiler won't grok `-c -o', but also, the minuso test has 35859ef7378bSmrg # not run yet. These depmodes are late enough in the game, and 35869ef7378bSmrg # so weak that their functioning should not be impacted. 35879ef7378bSmrg am__obj=conftest.${OBJEXT-o} 35889ef7378bSmrg am__minus_obj= 35899ef7378bSmrg ;; 3590c19de146Smrg none) break ;; 3591c19de146Smrg esac 3592c19de146Smrg if depmode=$depmode \ 35939ef7378bSmrg source=sub/conftest.c object=$am__obj \ 3594c19de146Smrg depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 35959ef7378bSmrg $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3596c19de146Smrg >/dev/null 2>conftest.err && 35979ef7378bSmrg grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3598c19de146Smrg grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 35999ef7378bSmrg grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3600c19de146Smrg ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3601c19de146Smrg # icc doesn't choke on unknown options, it will just issue warnings 36029ef7378bSmrg # or remarks (even with -Werror). So we grep stderr for any message 36039ef7378bSmrg # that says an option was ignored or not supported. 36049ef7378bSmrg # When given -MP, icc 7.0 and 7.1 complain thusly: 36059ef7378bSmrg # icc: Command line warning: ignoring option '-M'; no argument required 36069ef7378bSmrg # The diagnosis changed in icc 8.0: 36079ef7378bSmrg # icc: Command line remark: option '-MP' not supported 36089ef7378bSmrg if (grep 'ignoring option' conftest.err || 36099ef7378bSmrg grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3610c19de146Smrg am_cv_CC_dependencies_compiler_type=$depmode 3611c19de146Smrg break 3612c19de146Smrg fi 3613c19de146Smrg fi 3614c19de146Smrg done 3615c19de146Smrg 3616c19de146Smrg cd .. 3617c19de146Smrg rm -rf conftest.dir 3618c19de146Smrgelse 3619c19de146Smrg am_cv_CC_dependencies_compiler_type=none 3620c19de146Smrgfi 3621c19de146Smrg 3622c19de146Smrgfi 36239ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 36249ef7378bSmrg$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3625c19de146SmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3626c19de146Smrg 36279ef7378bSmrg if 3628c19de146Smrg test "x$enable_dependency_tracking" != xno \ 3629c19de146Smrg && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3630c19de146Smrg am__fastdepCC_TRUE= 3631c19de146Smrg am__fastdepCC_FALSE='#' 3632c19de146Smrgelse 3633c19de146Smrg am__fastdepCC_TRUE='#' 3634c19de146Smrg am__fastdepCC_FALSE= 3635c19de146Smrgfi 3636c19de146Smrg 3637c19de146Smrg 3638c918a7e2Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 3639c918a7e2Smrg$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 3640c918a7e2Smrgif ${ac_cv_prog_cc_c99+:} false; then : 36419ef7378bSmrg $as_echo_n "(cached) " >&6 3642c19de146Smrgelse 3643c918a7e2Smrg ac_cv_prog_cc_c99=no 3644c918a7e2Smrgac_save_CC=$CC 3645c918a7e2Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 36469ef7378bSmrg/* end confdefs.h. */ 3647c918a7e2Smrg#include <stdarg.h> 3648c918a7e2Smrg#include <stdbool.h> 3649c918a7e2Smrg#include <stdlib.h> 3650c918a7e2Smrg#include <wchar.h> 3651c918a7e2Smrg#include <stdio.h> 3652c918a7e2Smrg 3653c918a7e2Smrg// Check varargs macros. These examples are taken from C99 6.10.3.5. 3654c918a7e2Smrg#define debug(...) fprintf (stderr, __VA_ARGS__) 3655c918a7e2Smrg#define showlist(...) puts (#__VA_ARGS__) 3656c918a7e2Smrg#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 3657c918a7e2Smrgstatic void 3658c918a7e2Smrgtest_varargs_macros (void) 3659c918a7e2Smrg{ 3660c918a7e2Smrg int x = 1234; 3661c918a7e2Smrg int y = 5678; 3662c918a7e2Smrg debug ("Flag"); 3663c918a7e2Smrg debug ("X = %d\n", x); 3664c918a7e2Smrg showlist (The first, second, and third items.); 3665c918a7e2Smrg report (x>y, "x is %d but y is %d", x, y); 3666c918a7e2Smrg} 3667c918a7e2Smrg 3668c918a7e2Smrg// Check long long types. 3669c918a7e2Smrg#define BIG64 18446744073709551615ull 3670c918a7e2Smrg#define BIG32 4294967295ul 3671c918a7e2Smrg#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 3672c918a7e2Smrg#if !BIG_OK 3673c918a7e2Smrg your preprocessor is broken; 3674c918a7e2Smrg#endif 3675c918a7e2Smrg#if BIG_OK 3676c918a7e2Smrg#else 3677c918a7e2Smrg your preprocessor is broken; 3678c918a7e2Smrg#endif 3679c918a7e2Smrgstatic long long int bignum = -9223372036854775807LL; 3680c918a7e2Smrgstatic unsigned long long int ubignum = BIG64; 3681c918a7e2Smrg 3682c918a7e2Smrgstruct incomplete_array 3683c918a7e2Smrg{ 3684c918a7e2Smrg int datasize; 3685c918a7e2Smrg double data[]; 3686c918a7e2Smrg}; 3687c918a7e2Smrg 3688c918a7e2Smrgstruct named_init { 3689c918a7e2Smrg int number; 3690c918a7e2Smrg const wchar_t *name; 3691c918a7e2Smrg double average; 3692c918a7e2Smrg}; 3693c918a7e2Smrg 3694c918a7e2Smrgtypedef const char *ccp; 3695c918a7e2Smrg 3696c918a7e2Smrgstatic inline int 3697c918a7e2Smrgtest_restrict (ccp restrict text) 3698c918a7e2Smrg{ 3699c918a7e2Smrg // See if C++-style comments work. 3700c918a7e2Smrg // Iterate through items via the restricted pointer. 3701c918a7e2Smrg // Also check for declarations in for loops. 3702c918a7e2Smrg for (unsigned int i = 0; *(text+i) != '\0'; ++i) 3703c918a7e2Smrg continue; 3704c918a7e2Smrg return 0; 3705c918a7e2Smrg} 3706c918a7e2Smrg 3707c918a7e2Smrg// Check varargs and va_copy. 3708c918a7e2Smrgstatic void 3709c918a7e2Smrgtest_varargs (const char *format, ...) 3710c918a7e2Smrg{ 3711c918a7e2Smrg va_list args; 3712c918a7e2Smrg va_start (args, format); 3713c918a7e2Smrg va_list args_copy; 3714c918a7e2Smrg va_copy (args_copy, args); 3715c918a7e2Smrg 3716c918a7e2Smrg const char *str; 3717c918a7e2Smrg int number; 3718c918a7e2Smrg float fnumber; 3719c918a7e2Smrg 3720c918a7e2Smrg while (*format) 3721c918a7e2Smrg { 3722c918a7e2Smrg switch (*format++) 3723c918a7e2Smrg { 3724c918a7e2Smrg case 's': // string 3725c918a7e2Smrg str = va_arg (args_copy, const char *); 3726c918a7e2Smrg break; 3727c918a7e2Smrg case 'd': // int 3728c918a7e2Smrg number = va_arg (args_copy, int); 3729c918a7e2Smrg break; 3730c918a7e2Smrg case 'f': // float 3731c918a7e2Smrg fnumber = va_arg (args_copy, double); 3732c918a7e2Smrg break; 3733c918a7e2Smrg default: 3734c918a7e2Smrg break; 3735c918a7e2Smrg } 3736c918a7e2Smrg } 3737c918a7e2Smrg va_end (args_copy); 3738c918a7e2Smrg va_end (args); 3739c918a7e2Smrg} 3740c918a7e2Smrg 3741c918a7e2Smrgint 3742c918a7e2Smrgmain () 3743c918a7e2Smrg{ 3744c918a7e2Smrg 3745c918a7e2Smrg // Check bool. 3746c918a7e2Smrg _Bool success = false; 3747c918a7e2Smrg 3748c918a7e2Smrg // Check restrict. 3749c918a7e2Smrg if (test_restrict ("String literal") == 0) 3750c918a7e2Smrg success = true; 3751c918a7e2Smrg char *restrict newvar = "Another string"; 3752c918a7e2Smrg 3753c918a7e2Smrg // Check varargs. 3754c918a7e2Smrg test_varargs ("s, d' f .", "string", 65, 34.234); 3755c918a7e2Smrg test_varargs_macros (); 3756c918a7e2Smrg 3757c918a7e2Smrg // Check flexible array members. 3758c918a7e2Smrg struct incomplete_array *ia = 3759c918a7e2Smrg malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 3760c918a7e2Smrg ia->datasize = 10; 3761c918a7e2Smrg for (int i = 0; i < ia->datasize; ++i) 3762c918a7e2Smrg ia->data[i] = i * 1.234; 3763c918a7e2Smrg 3764c918a7e2Smrg // Check named initializers. 3765c918a7e2Smrg struct named_init ni = { 3766c918a7e2Smrg .number = 34, 3767c918a7e2Smrg .name = L"Test wide string", 3768c918a7e2Smrg .average = 543.34343, 3769c918a7e2Smrg }; 3770c918a7e2Smrg 3771c918a7e2Smrg ni.number = 58; 3772c918a7e2Smrg 3773c918a7e2Smrg int dynamic_array[ni.number]; 3774c918a7e2Smrg dynamic_array[ni.number - 1] = 543; 3775c918a7e2Smrg 3776c918a7e2Smrg // work around unused variable warnings 3777c918a7e2Smrg return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 3778c918a7e2Smrg || dynamic_array[ni.number - 1] != 543); 3779c918a7e2Smrg 3780c918a7e2Smrg ; 3781c918a7e2Smrg return 0; 3782c918a7e2Smrg} 3783c918a7e2Smrg_ACEOF 3784c918a7e2Smrgfor ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 3785c918a7e2Smrgdo 3786c918a7e2Smrg CC="$ac_save_CC $ac_arg" 3787c918a7e2Smrg if ac_fn_c_try_compile "$LINENO"; then : 3788c918a7e2Smrg ac_cv_prog_cc_c99=$ac_arg 3789c918a7e2Smrgfi 3790c918a7e2Smrgrm -f core conftest.err conftest.$ac_objext 3791c918a7e2Smrg test "x$ac_cv_prog_cc_c99" != "xno" && break 3792c918a7e2Smrgdone 3793c918a7e2Smrgrm -f conftest.$ac_ext 3794c918a7e2SmrgCC=$ac_save_CC 3795c918a7e2Smrg 3796c918a7e2Smrgfi 3797c918a7e2Smrg# AC_CACHE_VAL 3798c918a7e2Smrgcase "x$ac_cv_prog_cc_c99" in 3799c918a7e2Smrg x) 3800c918a7e2Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3801c918a7e2Smrg$as_echo "none needed" >&6; } ;; 3802c918a7e2Smrg xno) 3803c918a7e2Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3804c918a7e2Smrg$as_echo "unsupported" >&6; } ;; 3805c918a7e2Smrg *) 3806c918a7e2Smrg CC="$CC $ac_cv_prog_cc_c99" 3807c918a7e2Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 3808c918a7e2Smrg$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 3809c918a7e2Smrgesac 3810c918a7e2Smrgif test "x$ac_cv_prog_cc_c99" != xno; then : 3811c918a7e2Smrg 3812c918a7e2Smrgfi 3813c918a7e2Smrg 3814c918a7e2Smrg 3815c918a7e2Smrg 3816c918a7e2Smrgac_ext=c 3817c918a7e2Smrgac_cpp='$CPP $CPPFLAGS' 3818c918a7e2Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3819c918a7e2Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3820c918a7e2Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 3821c918a7e2Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3822c918a7e2Smrg$as_echo_n "checking how to run the C preprocessor... " >&6; } 3823c918a7e2Smrg# On Suns, sometimes $CPP names a directory. 3824c918a7e2Smrgif test -n "$CPP" && test -d "$CPP"; then 3825c918a7e2Smrg CPP= 3826c918a7e2Smrgfi 3827c918a7e2Smrgif test -z "$CPP"; then 3828c918a7e2Smrg if ${ac_cv_prog_CPP+:} false; then : 3829c918a7e2Smrg $as_echo_n "(cached) " >&6 3830c918a7e2Smrgelse 3831c918a7e2Smrg # Double quotes because CPP needs to be expanded 3832c918a7e2Smrg for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3833c918a7e2Smrg do 3834c918a7e2Smrg ac_preproc_ok=false 3835c918a7e2Smrgfor ac_c_preproc_warn_flag in '' yes 3836c918a7e2Smrgdo 3837c918a7e2Smrg # Use a header file that comes with gcc, so configuring glibc 3838c918a7e2Smrg # with a fresh cross-compiler works. 3839c918a7e2Smrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3840c918a7e2Smrg # <limits.h> exists even on freestanding compilers. 3841c918a7e2Smrg # On the NeXT, cc -E runs the code through the compiler's parser, 3842c918a7e2Smrg # not just through cpp. "Syntax error" is here to catch this case. 3843c918a7e2Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3844c918a7e2Smrg/* end confdefs.h. */ 3845c918a7e2Smrg#ifdef __STDC__ 3846c918a7e2Smrg# include <limits.h> 3847c918a7e2Smrg#else 3848c918a7e2Smrg# include <assert.h> 3849c918a7e2Smrg#endif 3850c918a7e2Smrg Syntax error 3851c918a7e2Smrg_ACEOF 3852c918a7e2Smrgif ac_fn_c_try_cpp "$LINENO"; then : 38539ef7378bSmrg 3854c918a7e2Smrgelse 3855c918a7e2Smrg # Broken: fails on valid input. 3856c918a7e2Smrgcontinue 3857c918a7e2Smrgfi 3858c918a7e2Smrgrm -f conftest.err conftest.i conftest.$ac_ext 3859c918a7e2Smrg 3860c918a7e2Smrg # OK, works on sane cases. Now check whether nonexistent headers 3861c918a7e2Smrg # can be detected and how. 3862c918a7e2Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3863c918a7e2Smrg/* end confdefs.h. */ 3864c918a7e2Smrg#include <ac_nonexistent.h> 3865c918a7e2Smrg_ACEOF 3866c918a7e2Smrgif ac_fn_c_try_cpp "$LINENO"; then : 3867c918a7e2Smrg # Broken: success on invalid input. 3868c918a7e2Smrgcontinue 38699ef7378bSmrgelse 38709ef7378bSmrg # Passes both tests. 38719ef7378bSmrgac_preproc_ok=: 38729ef7378bSmrgbreak 38739ef7378bSmrgfi 3874c918a7e2Smrgrm -f conftest.err conftest.i conftest.$ac_ext 38759ef7378bSmrg 38769ef7378bSmrgdone 38779ef7378bSmrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3878c918a7e2Smrgrm -f conftest.i conftest.err conftest.$ac_ext 38799ef7378bSmrgif $ac_preproc_ok; then : 38809ef7378bSmrg break 38819ef7378bSmrgfi 38829ef7378bSmrg 38839ef7378bSmrg done 38849ef7378bSmrg ac_cv_prog_CPP=$CPP 38859ef7378bSmrg 38869ef7378bSmrgfi 38879ef7378bSmrg CPP=$ac_cv_prog_CPP 38889ef7378bSmrgelse 38899ef7378bSmrg ac_cv_prog_CPP=$CPP 38909ef7378bSmrgfi 38919ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 38929ef7378bSmrg$as_echo "$CPP" >&6; } 38939ef7378bSmrgac_preproc_ok=false 38949ef7378bSmrgfor ac_c_preproc_warn_flag in '' yes 38959ef7378bSmrgdo 38969ef7378bSmrg # Use a header file that comes with gcc, so configuring glibc 38979ef7378bSmrg # with a fresh cross-compiler works. 38989ef7378bSmrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 38999ef7378bSmrg # <limits.h> exists even on freestanding compilers. 39009ef7378bSmrg # On the NeXT, cc -E runs the code through the compiler's parser, 39019ef7378bSmrg # not just through cpp. "Syntax error" is here to catch this case. 39029ef7378bSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39039ef7378bSmrg/* end confdefs.h. */ 39049ef7378bSmrg#ifdef __STDC__ 39059ef7378bSmrg# include <limits.h> 39069ef7378bSmrg#else 39079ef7378bSmrg# include <assert.h> 39089ef7378bSmrg#endif 39099ef7378bSmrg Syntax error 39109ef7378bSmrg_ACEOF 39119ef7378bSmrgif ac_fn_c_try_cpp "$LINENO"; then : 39129ef7378bSmrg 39139ef7378bSmrgelse 39149ef7378bSmrg # Broken: fails on valid input. 39159ef7378bSmrgcontinue 39169ef7378bSmrgfi 3917c918a7e2Smrgrm -f conftest.err conftest.i conftest.$ac_ext 39189ef7378bSmrg 39199ef7378bSmrg # OK, works on sane cases. Now check whether nonexistent headers 39209ef7378bSmrg # can be detected and how. 39219ef7378bSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39229ef7378bSmrg/* end confdefs.h. */ 39239ef7378bSmrg#include <ac_nonexistent.h> 39249ef7378bSmrg_ACEOF 39259ef7378bSmrgif ac_fn_c_try_cpp "$LINENO"; then : 39269ef7378bSmrg # Broken: success on invalid input. 39279ef7378bSmrgcontinue 39289ef7378bSmrgelse 39299ef7378bSmrg # Passes both tests. 39309ef7378bSmrgac_preproc_ok=: 39319ef7378bSmrgbreak 39329ef7378bSmrgfi 3933c918a7e2Smrgrm -f conftest.err conftest.i conftest.$ac_ext 39349ef7378bSmrg 39359ef7378bSmrgdone 39369ef7378bSmrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3937c918a7e2Smrgrm -f conftest.i conftest.err conftest.$ac_ext 39389ef7378bSmrgif $ac_preproc_ok; then : 39399ef7378bSmrg 39409ef7378bSmrgelse 39419ef7378bSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 39429ef7378bSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3943c918a7e2Smrgas_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3944c918a7e2SmrgSee \`config.log' for more details" "$LINENO" 5; } 39459ef7378bSmrgfi 39469ef7378bSmrg 39479ef7378bSmrgac_ext=c 39489ef7378bSmrgac_cpp='$CPP $CPPFLAGS' 39499ef7378bSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 39509ef7378bSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 39519ef7378bSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 39529ef7378bSmrg 39539ef7378bSmrg 39549ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 39559ef7378bSmrg$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3956c918a7e2Smrgif ${ac_cv_path_GREP+:} false; then : 39579ef7378bSmrg $as_echo_n "(cached) " >&6 39589ef7378bSmrgelse 39599ef7378bSmrg if test -z "$GREP"; then 39609ef7378bSmrg ac_path_GREP_found=false 39619ef7378bSmrg # Loop through the user's path and test for each of PROGNAME-LIST 3962c19de146Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 39639ef7378bSmrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3964c19de146Smrgdo 3965c19de146Smrg IFS=$as_save_IFS 3966c19de146Smrg test -z "$as_dir" && as_dir=. 39679ef7378bSmrg for ac_prog in grep ggrep; do 39689ef7378bSmrg for ac_exec_ext in '' $ac_executable_extensions; do 39699ef7378bSmrg ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 39709ef7378bSmrg { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 39719ef7378bSmrg# Check for GNU ac_path_GREP and select it if it is found. 39729ef7378bSmrg # Check for GNU $ac_path_GREP 39739ef7378bSmrgcase `"$ac_path_GREP" --version 2>&1` in 39749ef7378bSmrg*GNU*) 39759ef7378bSmrg ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 39769ef7378bSmrg*) 39779ef7378bSmrg ac_count=0 39789ef7378bSmrg $as_echo_n 0123456789 >"conftest.in" 39799ef7378bSmrg while : 39809ef7378bSmrg do 39819ef7378bSmrg cat "conftest.in" "conftest.in" >"conftest.tmp" 39829ef7378bSmrg mv "conftest.tmp" "conftest.in" 39839ef7378bSmrg cp "conftest.in" "conftest.nl" 39849ef7378bSmrg $as_echo 'GREP' >> "conftest.nl" 39859ef7378bSmrg "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 39869ef7378bSmrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 39879ef7378bSmrg as_fn_arith $ac_count + 1 && ac_count=$as_val 39889ef7378bSmrg if test $ac_count -gt ${ac_path_GREP_max-0}; then 39899ef7378bSmrg # Best one so far, save it but keep looking for a better one 39909ef7378bSmrg ac_cv_path_GREP="$ac_path_GREP" 39919ef7378bSmrg ac_path_GREP_max=$ac_count 39929ef7378bSmrg fi 39939ef7378bSmrg # 10*(2^10) chars as input seems more than enough 39949ef7378bSmrg test $ac_count -gt 10 && break 39959ef7378bSmrg done 39969ef7378bSmrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3997c19de146Smrgesac 3998c19de146Smrg 39999ef7378bSmrg $ac_path_GREP_found && break 3 40009ef7378bSmrg done 40019ef7378bSmrg done 40029ef7378bSmrg done 40039ef7378bSmrgIFS=$as_save_IFS 40049ef7378bSmrg if test -z "$ac_cv_path_GREP"; then 4005c918a7e2Smrg as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 40069ef7378bSmrg fi 40079ef7378bSmrgelse 40089ef7378bSmrg ac_cv_path_GREP=$GREP 40099ef7378bSmrgfi 4010c19de146Smrg 4011c19de146Smrgfi 40129ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 40139ef7378bSmrg$as_echo "$ac_cv_path_GREP" >&6; } 40149ef7378bSmrg GREP="$ac_cv_path_GREP" 40159ef7378bSmrg 40169ef7378bSmrg 40179ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 40189ef7378bSmrg$as_echo_n "checking for egrep... " >&6; } 4019c918a7e2Smrgif ${ac_cv_path_EGREP+:} false; then : 40209ef7378bSmrg $as_echo_n "(cached) " >&6 40219ef7378bSmrgelse 40229ef7378bSmrg if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 40239ef7378bSmrg then ac_cv_path_EGREP="$GREP -E" 40249ef7378bSmrg else 40259ef7378bSmrg if test -z "$EGREP"; then 40269ef7378bSmrg ac_path_EGREP_found=false 40279ef7378bSmrg # Loop through the user's path and test for each of PROGNAME-LIST 40289ef7378bSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 40299ef7378bSmrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 40309ef7378bSmrgdo 40319ef7378bSmrg IFS=$as_save_IFS 40329ef7378bSmrg test -z "$as_dir" && as_dir=. 40339ef7378bSmrg for ac_prog in egrep; do 40349ef7378bSmrg for ac_exec_ext in '' $ac_executable_extensions; do 40359ef7378bSmrg ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 40369ef7378bSmrg { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 40379ef7378bSmrg# Check for GNU ac_path_EGREP and select it if it is found. 40389ef7378bSmrg # Check for GNU $ac_path_EGREP 40399ef7378bSmrgcase `"$ac_path_EGREP" --version 2>&1` in 40409ef7378bSmrg*GNU*) 40419ef7378bSmrg ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 40429ef7378bSmrg*) 40439ef7378bSmrg ac_count=0 40449ef7378bSmrg $as_echo_n 0123456789 >"conftest.in" 40459ef7378bSmrg while : 40469ef7378bSmrg do 40479ef7378bSmrg cat "conftest.in" "conftest.in" >"conftest.tmp" 40489ef7378bSmrg mv "conftest.tmp" "conftest.in" 40499ef7378bSmrg cp "conftest.in" "conftest.nl" 40509ef7378bSmrg $as_echo 'EGREP' >> "conftest.nl" 40519ef7378bSmrg "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 40529ef7378bSmrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 40539ef7378bSmrg as_fn_arith $ac_count + 1 && ac_count=$as_val 40549ef7378bSmrg if test $ac_count -gt ${ac_path_EGREP_max-0}; then 40559ef7378bSmrg # Best one so far, save it but keep looking for a better one 40569ef7378bSmrg ac_cv_path_EGREP="$ac_path_EGREP" 40579ef7378bSmrg ac_path_EGREP_max=$ac_count 40589ef7378bSmrg fi 40599ef7378bSmrg # 10*(2^10) chars as input seems more than enough 40609ef7378bSmrg test $ac_count -gt 10 && break 40619ef7378bSmrg done 40629ef7378bSmrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 40639ef7378bSmrgesac 40649ef7378bSmrg 40659ef7378bSmrg $ac_path_EGREP_found && break 3 40669ef7378bSmrg done 40679ef7378bSmrg done 40689ef7378bSmrg done 40699ef7378bSmrgIFS=$as_save_IFS 40709ef7378bSmrg if test -z "$ac_cv_path_EGREP"; then 4071c918a7e2Smrg as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4072c19de146Smrg fi 40739ef7378bSmrgelse 40749ef7378bSmrg ac_cv_path_EGREP=$EGREP 4075c19de146Smrgfi 4076c19de146Smrg 40779ef7378bSmrg fi 40789ef7378bSmrgfi 40799ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 40809ef7378bSmrg$as_echo "$ac_cv_path_EGREP" >&6; } 40819ef7378bSmrg EGREP="$ac_cv_path_EGREP" 4082c19de146Smrg 4083c19de146Smrg 40849ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 40859ef7378bSmrg$as_echo_n "checking for ANSI C header files... " >&6; } 4086c918a7e2Smrgif ${ac_cv_header_stdc+:} false; then : 40879ef7378bSmrg $as_echo_n "(cached) " >&6 40889ef7378bSmrgelse 40899ef7378bSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40909ef7378bSmrg/* end confdefs.h. */ 40919ef7378bSmrg#include <stdlib.h> 40929ef7378bSmrg#include <stdarg.h> 40939ef7378bSmrg#include <string.h> 40949ef7378bSmrg#include <float.h> 40959ef7378bSmrg 40969ef7378bSmrgint 40979ef7378bSmrgmain () 40989ef7378bSmrg{ 40999ef7378bSmrg 41009ef7378bSmrg ; 41019ef7378bSmrg return 0; 41029ef7378bSmrg} 41039ef7378bSmrg_ACEOF 41049ef7378bSmrgif ac_fn_c_try_compile "$LINENO"; then : 41059ef7378bSmrg ac_cv_header_stdc=yes 41069ef7378bSmrgelse 41079ef7378bSmrg ac_cv_header_stdc=no 41089ef7378bSmrgfi 41099ef7378bSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 41109ef7378bSmrg 41119ef7378bSmrgif test $ac_cv_header_stdc = yes; then 41129ef7378bSmrg # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 41139ef7378bSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41149ef7378bSmrg/* end confdefs.h. */ 41159ef7378bSmrg#include <string.h> 41169ef7378bSmrg 41179ef7378bSmrg_ACEOF 41189ef7378bSmrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 41199ef7378bSmrg $EGREP "memchr" >/dev/null 2>&1; then : 41209ef7378bSmrg 41219ef7378bSmrgelse 41229ef7378bSmrg ac_cv_header_stdc=no 41239ef7378bSmrgfi 41249ef7378bSmrgrm -f conftest* 41259ef7378bSmrg 41269ef7378bSmrgfi 41279ef7378bSmrg 41289ef7378bSmrgif test $ac_cv_header_stdc = yes; then 41299ef7378bSmrg # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 41309ef7378bSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41319ef7378bSmrg/* end confdefs.h. */ 41329ef7378bSmrg#include <stdlib.h> 41339ef7378bSmrg 41349ef7378bSmrg_ACEOF 41359ef7378bSmrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 41369ef7378bSmrg $EGREP "free" >/dev/null 2>&1; then : 41379ef7378bSmrg 41389ef7378bSmrgelse 41399ef7378bSmrg ac_cv_header_stdc=no 41409ef7378bSmrgfi 41419ef7378bSmrgrm -f conftest* 41429ef7378bSmrg 41439ef7378bSmrgfi 41449ef7378bSmrg 41459ef7378bSmrgif test $ac_cv_header_stdc = yes; then 41469ef7378bSmrg # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 41479ef7378bSmrg if test "$cross_compiling" = yes; then : 41489ef7378bSmrg : 41499ef7378bSmrgelse 41509ef7378bSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41519ef7378bSmrg/* end confdefs.h. */ 41529ef7378bSmrg#include <ctype.h> 41539ef7378bSmrg#include <stdlib.h> 41549ef7378bSmrg#if ((' ' & 0x0FF) == 0x020) 41559ef7378bSmrg# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 41569ef7378bSmrg# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 41579ef7378bSmrg#else 41589ef7378bSmrg# define ISLOWER(c) \ 41599ef7378bSmrg (('a' <= (c) && (c) <= 'i') \ 41609ef7378bSmrg || ('j' <= (c) && (c) <= 'r') \ 41619ef7378bSmrg || ('s' <= (c) && (c) <= 'z')) 41629ef7378bSmrg# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 41639ef7378bSmrg#endif 41649ef7378bSmrg 41659ef7378bSmrg#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 41669ef7378bSmrgint 41679ef7378bSmrgmain () 41689ef7378bSmrg{ 41699ef7378bSmrg int i; 41709ef7378bSmrg for (i = 0; i < 256; i++) 41719ef7378bSmrg if (XOR (islower (i), ISLOWER (i)) 41729ef7378bSmrg || toupper (i) != TOUPPER (i)) 41739ef7378bSmrg return 2; 41749ef7378bSmrg return 0; 41759ef7378bSmrg} 41769ef7378bSmrg_ACEOF 41779ef7378bSmrgif ac_fn_c_try_run "$LINENO"; then : 41789ef7378bSmrg 41799ef7378bSmrgelse 41809ef7378bSmrg ac_cv_header_stdc=no 41819ef7378bSmrgfi 41829ef7378bSmrgrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 41839ef7378bSmrg conftest.$ac_objext conftest.beam conftest.$ac_ext 41849ef7378bSmrgfi 41859ef7378bSmrg 41869ef7378bSmrgfi 41879ef7378bSmrgfi 41889ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 41899ef7378bSmrg$as_echo "$ac_cv_header_stdc" >&6; } 41909ef7378bSmrgif test $ac_cv_header_stdc = yes; then 41919ef7378bSmrg 41929ef7378bSmrg$as_echo "#define STDC_HEADERS 1" >>confdefs.h 41939ef7378bSmrg 41949ef7378bSmrgfi 41959ef7378bSmrg 41969ef7378bSmrg# On IRIX 5.3, sys/types and inttypes.h are conflicting. 41979ef7378bSmrgfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 41989ef7378bSmrg inttypes.h stdint.h unistd.h 41999ef7378bSmrgdo : 42009ef7378bSmrg as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 42019ef7378bSmrgac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 42029ef7378bSmrg" 4203c918a7e2Smrgif eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 42049ef7378bSmrg cat >>confdefs.h <<_ACEOF 42059ef7378bSmrg#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 42069ef7378bSmrg_ACEOF 42079ef7378bSmrg 42089ef7378bSmrgfi 42099ef7378bSmrg 42109ef7378bSmrgdone 42119ef7378bSmrg 42129ef7378bSmrg 4213c19de146Smrg 4214c19de146Smrg 4215c19de146Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 4216c19de146Smrg if test -n "$ac_tool_prefix"; then 4217c19de146Smrg # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 4218c19de146Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2 42199ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 42209ef7378bSmrg$as_echo_n "checking for $ac_word... " >&6; } 4221c918a7e2Smrgif ${ac_cv_path_PKG_CONFIG+:} false; then : 42229ef7378bSmrg $as_echo_n "(cached) " >&6 4223c19de146Smrgelse 4224c19de146Smrg case $PKG_CONFIG in 4225c19de146Smrg [\\/]* | ?:[\\/]*) 4226c19de146Smrg ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 4227c19de146Smrg ;; 4228c19de146Smrg *) 4229c19de146Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4230c19de146Smrgfor as_dir in $PATH 4231c19de146Smrgdo 4232c19de146Smrg IFS=$as_save_IFS 4233c19de146Smrg test -z "$as_dir" && as_dir=. 42349ef7378bSmrg for ac_exec_ext in '' $ac_executable_extensions; do 42359ef7378bSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4236c19de146Smrg ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 42379ef7378bSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4238c19de146Smrg break 2 4239c19de146Smrg fi 4240c19de146Smrgdone 42419ef7378bSmrg done 42429ef7378bSmrgIFS=$as_save_IFS 4243c19de146Smrg 4244c19de146Smrg ;; 4245c19de146Smrgesac 4246c19de146Smrgfi 4247c19de146SmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG 4248c19de146Smrgif test -n "$PKG_CONFIG"; then 42499ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 42509ef7378bSmrg$as_echo "$PKG_CONFIG" >&6; } 4251c19de146Smrgelse 42529ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 42539ef7378bSmrg$as_echo "no" >&6; } 4254c19de146Smrgfi 4255c19de146Smrg 42569ef7378bSmrg 4257c19de146Smrgfi 4258c19de146Smrgif test -z "$ac_cv_path_PKG_CONFIG"; then 4259c19de146Smrg ac_pt_PKG_CONFIG=$PKG_CONFIG 4260c19de146Smrg # Extract the first word of "pkg-config", so it can be a program name with args. 4261c19de146Smrgset dummy pkg-config; ac_word=$2 42629ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 42639ef7378bSmrg$as_echo_n "checking for $ac_word... " >&6; } 4264c918a7e2Smrgif ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 42659ef7378bSmrg $as_echo_n "(cached) " >&6 4266c19de146Smrgelse 4267c19de146Smrg case $ac_pt_PKG_CONFIG in 4268c19de146Smrg [\\/]* | ?:[\\/]*) 4269c19de146Smrg ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 4270c19de146Smrg ;; 4271c19de146Smrg *) 4272c19de146Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4273c19de146Smrgfor as_dir in $PATH 4274c19de146Smrgdo 4275c19de146Smrg IFS=$as_save_IFS 4276c19de146Smrg test -z "$as_dir" && as_dir=. 42779ef7378bSmrg for ac_exec_ext in '' $ac_executable_extensions; do 42789ef7378bSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4279c19de146Smrg ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 42809ef7378bSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4281c19de146Smrg break 2 4282c19de146Smrg fi 4283c19de146Smrgdone 42849ef7378bSmrg done 42859ef7378bSmrgIFS=$as_save_IFS 4286c19de146Smrg 4287c19de146Smrg ;; 4288c19de146Smrgesac 4289c19de146Smrgfi 4290c19de146Smrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 4291c19de146Smrgif test -n "$ac_pt_PKG_CONFIG"; then 42929ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 42939ef7378bSmrg$as_echo "$ac_pt_PKG_CONFIG" >&6; } 4294c19de146Smrgelse 42959ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 42969ef7378bSmrg$as_echo "no" >&6; } 4297c19de146Smrgfi 4298c19de146Smrg 42999ef7378bSmrg if test "x$ac_pt_PKG_CONFIG" = x; then 43009ef7378bSmrg PKG_CONFIG="" 43019ef7378bSmrg else 43029ef7378bSmrg case $cross_compiling:$ac_tool_warned in 43039ef7378bSmrgyes:) 43049ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 43059ef7378bSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 43069ef7378bSmrgac_tool_warned=yes ;; 43079ef7378bSmrgesac 43089ef7378bSmrg PKG_CONFIG=$ac_pt_PKG_CONFIG 43099ef7378bSmrg fi 4310c19de146Smrgelse 4311c19de146Smrg PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 4312c19de146Smrgfi 4313c19de146Smrg 4314c19de146Smrgfi 4315c19de146Smrgif test -n "$PKG_CONFIG"; then 4316c19de146Smrg _pkg_min_version=0.9.0 43179ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 43189ef7378bSmrg$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 4319c19de146Smrg if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 43209ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 43219ef7378bSmrg$as_echo "yes" >&6; } 4322c19de146Smrg else 43239ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 43249ef7378bSmrg$as_echo "no" >&6; } 4325c19de146Smrg PKG_CONFIG="" 4326c19de146Smrg fi 4327c19de146Smrg 4328c19de146Smrgfi 43299ef7378bSmrg# Make sure we can run config.sub. 43309ef7378bSmrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4331c918a7e2Smrg as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4332c19de146Smrg 43339ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 43349ef7378bSmrg$as_echo_n "checking build system type... " >&6; } 4335c918a7e2Smrgif ${ac_cv_build+:} false; then : 43369ef7378bSmrg $as_echo_n "(cached) " >&6 4337c19de146Smrgelse 43389ef7378bSmrg ac_build_alias=$build_alias 43399ef7378bSmrgtest "x$ac_build_alias" = x && 43409ef7378bSmrg ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 43419ef7378bSmrgtest "x$ac_build_alias" = x && 4342c918a7e2Smrg as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 43439ef7378bSmrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4344c918a7e2Smrg as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 43459ef7378bSmrg 43469ef7378bSmrgfi 43479ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 43489ef7378bSmrg$as_echo "$ac_cv_build" >&6; } 43499ef7378bSmrgcase $ac_cv_build in 43509ef7378bSmrg*-*-*) ;; 4351c918a7e2Smrg*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 43529ef7378bSmrgesac 43539ef7378bSmrgbuild=$ac_cv_build 43549ef7378bSmrgac_save_IFS=$IFS; IFS='-' 43559ef7378bSmrgset x $ac_cv_build 43569ef7378bSmrgshift 43579ef7378bSmrgbuild_cpu=$1 43589ef7378bSmrgbuild_vendor=$2 43599ef7378bSmrgshift; shift 43609ef7378bSmrg# Remember, the first character of IFS is used to create $*, 43619ef7378bSmrg# except with old shells: 43629ef7378bSmrgbuild_os=$* 43639ef7378bSmrgIFS=$ac_save_IFS 43649ef7378bSmrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 43659ef7378bSmrg 43669ef7378bSmrg 43679ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 43689ef7378bSmrg$as_echo_n "checking host system type... " >&6; } 4369c918a7e2Smrgif ${ac_cv_host+:} false; then : 43709ef7378bSmrg $as_echo_n "(cached) " >&6 4371c19de146Smrgelse 43729ef7378bSmrg if test "x$host_alias" = x; then 43739ef7378bSmrg ac_cv_host=$ac_cv_build 4374c19de146Smrgelse 43759ef7378bSmrg ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4376c918a7e2Smrg as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4377c19de146Smrgfi 43789ef7378bSmrg 4379c19de146Smrgfi 43809ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 43819ef7378bSmrg$as_echo "$ac_cv_host" >&6; } 43829ef7378bSmrgcase $ac_cv_host in 43839ef7378bSmrg*-*-*) ;; 4384c918a7e2Smrg*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 43859ef7378bSmrgesac 43869ef7378bSmrghost=$ac_cv_host 43879ef7378bSmrgac_save_IFS=$IFS; IFS='-' 43889ef7378bSmrgset x $ac_cv_host 43899ef7378bSmrgshift 43909ef7378bSmrghost_cpu=$1 43919ef7378bSmrghost_vendor=$2 43929ef7378bSmrgshift; shift 43939ef7378bSmrg# Remember, the first character of IFS is used to create $*, 43949ef7378bSmrg# except with old shells: 43959ef7378bSmrghost_os=$* 43969ef7378bSmrgIFS=$ac_save_IFS 43979ef7378bSmrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4398c19de146Smrg 4399c19de146Smrg 4400c918a7e2Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4401c918a7e2Smrg$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4402c918a7e2Smrgif ${ac_cv_path_SED+:} false; then : 4403c918a7e2Smrg $as_echo_n "(cached) " >&6 4404c918a7e2Smrgelse 4405c918a7e2Smrg ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4406c918a7e2Smrg for ac_i in 1 2 3 4 5 6 7; do 4407c918a7e2Smrg ac_script="$ac_script$as_nl$ac_script" 4408c918a7e2Smrg done 4409c918a7e2Smrg echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4410c918a7e2Smrg { ac_script=; unset ac_script;} 4411c918a7e2Smrg if test -z "$SED"; then 4412c918a7e2Smrg ac_path_SED_found=false 4413c918a7e2Smrg # Loop through the user's path and test for each of PROGNAME-LIST 4414c918a7e2Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4415c918a7e2Smrgfor as_dir in $PATH 4416c918a7e2Smrgdo 4417c918a7e2Smrg IFS=$as_save_IFS 4418c918a7e2Smrg test -z "$as_dir" && as_dir=. 4419c918a7e2Smrg for ac_prog in sed gsed; do 4420c918a7e2Smrg for ac_exec_ext in '' $ac_executable_extensions; do 4421c918a7e2Smrg ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4422c918a7e2Smrg { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 4423c918a7e2Smrg# Check for GNU ac_path_SED and select it if it is found. 4424c918a7e2Smrg # Check for GNU $ac_path_SED 4425c918a7e2Smrgcase `"$ac_path_SED" --version 2>&1` in 4426c918a7e2Smrg*GNU*) 4427c918a7e2Smrg ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4428c918a7e2Smrg*) 4429c918a7e2Smrg ac_count=0 4430c918a7e2Smrg $as_echo_n 0123456789 >"conftest.in" 4431c918a7e2Smrg while : 4432c918a7e2Smrg do 4433c918a7e2Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 4434c918a7e2Smrg mv "conftest.tmp" "conftest.in" 4435c918a7e2Smrg cp "conftest.in" "conftest.nl" 4436c918a7e2Smrg $as_echo '' >> "conftest.nl" 4437c918a7e2Smrg "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4438c918a7e2Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4439c918a7e2Smrg as_fn_arith $ac_count + 1 && ac_count=$as_val 4440c918a7e2Smrg if test $ac_count -gt ${ac_path_SED_max-0}; then 4441c918a7e2Smrg # Best one so far, save it but keep looking for a better one 4442c918a7e2Smrg ac_cv_path_SED="$ac_path_SED" 4443c918a7e2Smrg ac_path_SED_max=$ac_count 4444c918a7e2Smrg fi 4445c918a7e2Smrg # 10*(2^10) chars as input seems more than enough 4446c918a7e2Smrg test $ac_count -gt 10 && break 4447c918a7e2Smrg done 4448c918a7e2Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4449c918a7e2Smrgesac 4450c918a7e2Smrg 4451c918a7e2Smrg $ac_path_SED_found && break 3 4452c918a7e2Smrg done 4453c918a7e2Smrg done 4454c918a7e2Smrg done 4455c918a7e2SmrgIFS=$as_save_IFS 4456c918a7e2Smrg if test -z "$ac_cv_path_SED"; then 4457c918a7e2Smrg as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4458c918a7e2Smrg fi 4459c918a7e2Smrgelse 4460c918a7e2Smrg ac_cv_path_SED=$SED 4461c918a7e2Smrgfi 4462c918a7e2Smrg 4463c918a7e2Smrgfi 4464c918a7e2Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4465c918a7e2Smrg$as_echo "$ac_cv_path_SED" >&6; } 4466c918a7e2Smrg SED="$ac_cv_path_SED" 4467c918a7e2Smrg rm -f conftest.sed 4468c918a7e2Smrg 4469c918a7e2Smrg 4470c19de146Smrg 4471c19de146Smrg 4472c19de146Smrg 44739ef7378bSmrgif test "x$GCC" = xyes ; then 44749ef7378bSmrg CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \ 44759ef7378bSmrg-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \ 4476c918a7e2Smrg-Wbad-function-cast -Wformat=2" 44779ef7378bSmrg case `$CC -dumpversion` in 44789ef7378bSmrg 3.4.* | 4.*) 44799ef7378bSmrg CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement" 44809ef7378bSmrg ;; 44819ef7378bSmrg esac 4482c19de146Smrgelse 44839ef7378bSmrg ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 4484c918a7e2Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then : 44859ef7378bSmrg SUNCC="yes" 4486c19de146Smrgelse 44879ef7378bSmrg SUNCC="no" 4488c19de146Smrgfi 4489c19de146Smrg 44909ef7378bSmrg if test "x$SUNCC" = "xyes"; then 44919ef7378bSmrg CWARNFLAGS="-v" 44929ef7378bSmrg fi 4493c19de146Smrgfi 4494c19de146Smrg 4495c19de146Smrg 4496c19de146Smrg 4497c918a7e2Smrg# If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89 4498c19de146Smrg 4499c19de146Smrg 4500c19de146Smrg 45019ef7378bSmrg# Check whether --enable-strict-compilation was given. 45029ef7378bSmrgif test "${enable_strict_compilation+set}" = set; then : 45039ef7378bSmrg enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval 4504c19de146Smrgelse 45059ef7378bSmrg STRICT_COMPILE=no 4506c19de146Smrgfi 45079ef7378bSmrg 45089ef7378bSmrgif test "x$STRICT_COMPILE" = "xyes"; then 45099ef7378bSmrg ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 4510c918a7e2Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then : 45119ef7378bSmrg SUNCC="yes" 4512c19de146Smrgelse 45139ef7378bSmrg SUNCC="no" 4514c19de146Smrgfi 4515c19de146Smrg 45169ef7378bSmrg ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" 4517c918a7e2Smrgif test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then : 45189ef7378bSmrg INTELCC="yes" 4519c19de146Smrgelse 45209ef7378bSmrg INTELCC="no" 4521c19de146Smrgfi 4522c19de146Smrg 45239ef7378bSmrg if test "x$GCC" = xyes ; then 45249ef7378bSmrg STRICT_CFLAGS="-pedantic -Werror" 45259ef7378bSmrg elif test "x$SUNCC" = "xyes"; then 45269ef7378bSmrg STRICT_CFLAGS="-errwarn" 45279ef7378bSmrg elif test "x$INTELCC" = "xyes"; then 45289ef7378bSmrg STRICT_CFLAGS="-Werror" 45299ef7378bSmrg fi 45309ef7378bSmrgfi 45319ef7378bSmrgCWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS" 4532c19de146Smrg 4533c19de146Smrg 4534c19de146Smrg 4535c19de146Smrg 45369ef7378bSmrgcat >>confdefs.h <<_ACEOF 45379ef7378bSmrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 45389ef7378bSmrg_ACEOF 4539c19de146Smrg 45409ef7378bSmrg PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 45419ef7378bSmrg if test "x$PVM" = "x"; then 45429ef7378bSmrg PVM="0" 45439ef7378bSmrg fi 4544c19de146Smrg 45459ef7378bSmrgcat >>confdefs.h <<_ACEOF 45469ef7378bSmrg#define PACKAGE_VERSION_MINOR $PVM 45479ef7378bSmrg_ACEOF 4548c19de146Smrg 45499ef7378bSmrg PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 45509ef7378bSmrg if test "x$PVP" = "x"; then 45519ef7378bSmrg PVP="0" 45529ef7378bSmrg fi 4553c19de146Smrg 45549ef7378bSmrgcat >>confdefs.h <<_ACEOF 45559ef7378bSmrg#define PACKAGE_VERSION_PATCHLEVEL $PVP 45569ef7378bSmrg_ACEOF 4557c19de146Smrg 4558c19de146Smrg 4559c19de146Smrg 45609ef7378bSmrgCHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \ 45619ef7378bSmrgmv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \ 45629ef7378bSmrg|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \ 45639ef7378bSmrgecho 'git directory not found: installing possibly empty changelog.' >&2)" 4564c19de146Smrg 4565c19de146Smrg 4566c19de146Smrg 4567c19de146Smrg 4568c918a7e2Smrgmacros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros` 4569c918a7e2SmrgINSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \ 45709ef7378bSmrgmv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \ 45719ef7378bSmrg|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \ 4572c918a7e2Smrgecho 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)" 4573c918a7e2Smrg 4574c19de146Smrg 4575c19de146Smrg 4576c19de146Smrg 4577c19de146Smrg 4578c19de146Smrg 4579c19de146Smrgif test x$APP_MAN_SUFFIX = x ; then 45809ef7378bSmrg APP_MAN_SUFFIX=1 4581c19de146Smrgfi 4582c19de146Smrgif test x$APP_MAN_DIR = x ; then 45839ef7378bSmrg APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 4584c19de146Smrgfi 4585c19de146Smrg 4586c19de146Smrgif test x$LIB_MAN_SUFFIX = x ; then 45879ef7378bSmrg LIB_MAN_SUFFIX=3 4588c19de146Smrgfi 4589c19de146Smrgif test x$LIB_MAN_DIR = x ; then 45909ef7378bSmrg LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 4591c19de146Smrgfi 4592c19de146Smrg 4593c19de146Smrgif test x$FILE_MAN_SUFFIX = x ; then 4594c19de146Smrg case $host_os in 4595c19de146Smrg solaris*) FILE_MAN_SUFFIX=4 ;; 4596c19de146Smrg *) FILE_MAN_SUFFIX=5 ;; 4597c19de146Smrg esac 4598c19de146Smrgfi 4599c19de146Smrgif test x$FILE_MAN_DIR = x ; then 46009ef7378bSmrg FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 4601c19de146Smrgfi 4602c19de146Smrg 4603c19de146Smrgif test x$MISC_MAN_SUFFIX = x ; then 4604c19de146Smrg case $host_os in 4605c19de146Smrg solaris*) MISC_MAN_SUFFIX=5 ;; 4606c19de146Smrg *) MISC_MAN_SUFFIX=7 ;; 4607c19de146Smrg esac 4608c19de146Smrgfi 4609c19de146Smrgif test x$MISC_MAN_DIR = x ; then 46109ef7378bSmrg MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 4611c19de146Smrgfi 4612c19de146Smrg 4613c19de146Smrgif test x$DRIVER_MAN_SUFFIX = x ; then 4614c19de146Smrg case $host_os in 4615c19de146Smrg solaris*) DRIVER_MAN_SUFFIX=7 ;; 4616c19de146Smrg *) DRIVER_MAN_SUFFIX=4 ;; 4617c19de146Smrg esac 4618c19de146Smrgfi 4619c19de146Smrgif test x$DRIVER_MAN_DIR = x ; then 46209ef7378bSmrg DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 4621c19de146Smrgfi 4622c19de146Smrg 4623c19de146Smrgif test x$ADMIN_MAN_SUFFIX = x ; then 4624c19de146Smrg case $host_os in 4625c19de146Smrg solaris*) ADMIN_MAN_SUFFIX=1m ;; 4626c19de146Smrg *) ADMIN_MAN_SUFFIX=8 ;; 4627c19de146Smrg esac 4628c19de146Smrgfi 4629c19de146Smrgif test x$ADMIN_MAN_DIR = x ; then 4630c19de146Smrg ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 4631c19de146Smrgfi 4632c19de146Smrg 4633c19de146Smrg 4634c19de146Smrg 4635c19de146Smrg 4636c19de146Smrg 4637c19de146Smrg 4638c19de146Smrg 4639c19de146Smrg 4640c19de146Smrg 4641c19de146Smrg 4642c19de146Smrg 4643c19de146Smrg 4644c19de146Smrg 4645c19de146Smrg 4646c19de146Smrg 4647c918a7e2SmrgXORG_MAN_PAGE="X Version 11" 4648c19de146Smrg 4649c918a7e2SmrgMAN_SUBSTS="\ 4650c918a7e2Smrg -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 4651c918a7e2Smrg -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 4652c918a7e2Smrg -e 's|__xservername__|Xorg|g' \ 4653c918a7e2Smrg -e 's|__xconfigfile__|xorg.conf|g' \ 4654c918a7e2Smrg -e 's|__projectroot__|\$(prefix)|g' \ 4655c918a7e2Smrg -e 's|__apploaddir__|\$(appdefaultdir)|g' \ 4656c918a7e2Smrg -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \ 4657c918a7e2Smrg -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \ 4658c918a7e2Smrg -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \ 4659c918a7e2Smrg -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \ 4660c918a7e2Smrg -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \ 4661c918a7e2Smrg -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'" 4662c19de146Smrg 46639ef7378bSmrg 4664c918a7e2Smrg 4665c918a7e2Smrg# Check whether --enable-silent-rules was given. 4666c918a7e2Smrgif test "${enable_silent_rules+set}" = set; then : 4667c918a7e2Smrg enableval=$enable_silent_rules; 4668c918a7e2Smrgfi 4669c918a7e2Smrg 4670c918a7e2Smrgcase $enable_silent_rules in 4671c918a7e2Smrgyes) AM_DEFAULT_VERBOSITY=0;; 4672c918a7e2Smrgno) AM_DEFAULT_VERBOSITY=1;; 4673c918a7e2Smrg*) AM_DEFAULT_VERBOSITY=0;; 4674c918a7e2Smrgesac 4675c918a7e2SmrgAM_BACKSLASH='\' 4676c918a7e2Smrg 4677c918a7e2Smrg 4678c918a7e2Smrg 4679c918a7e2Smrg# Checks for pkg-config packages 4680c918a7e2Smrg 46819ef7378bSmrgpkg_failed=no 46829ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XBIFF" >&5 46839ef7378bSmrg$as_echo_n "checking for XBIFF... " >&6; } 46849ef7378bSmrg 46859ef7378bSmrgif test -n "$XBIFF_CFLAGS"; then 46869ef7378bSmrg pkg_cv_XBIFF_CFLAGS="$XBIFF_CFLAGS" 46879ef7378bSmrg elif test -n "$PKG_CONFIG"; then 46889ef7378bSmrg if test -n "$PKG_CONFIG" && \ 4689c918a7e2Smrg { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xmu xbitmaps xext x11\""; } >&5 4690c918a7e2Smrg ($PKG_CONFIG --exists --print-errors "xaw7 xmu xbitmaps xext x11") 2>&5 46919ef7378bSmrg ac_status=$? 46929ef7378bSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 46939ef7378bSmrg test $ac_status = 0; }; then 4694c918a7e2Smrg pkg_cv_XBIFF_CFLAGS=`$PKG_CONFIG --cflags "xaw7 xmu xbitmaps xext x11" 2>/dev/null` 46959ef7378bSmrgelse 46969ef7378bSmrg pkg_failed=yes 46979ef7378bSmrgfi 46989ef7378bSmrg else 46999ef7378bSmrg pkg_failed=untried 47009ef7378bSmrgfi 47019ef7378bSmrgif test -n "$XBIFF_LIBS"; then 47029ef7378bSmrg pkg_cv_XBIFF_LIBS="$XBIFF_LIBS" 47039ef7378bSmrg elif test -n "$PKG_CONFIG"; then 47049ef7378bSmrg if test -n "$PKG_CONFIG" && \ 4705c918a7e2Smrg { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xmu xbitmaps xext x11\""; } >&5 4706c918a7e2Smrg ($PKG_CONFIG --exists --print-errors "xaw7 xmu xbitmaps xext x11") 2>&5 47079ef7378bSmrg ac_status=$? 47089ef7378bSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 47099ef7378bSmrg test $ac_status = 0; }; then 4710c918a7e2Smrg pkg_cv_XBIFF_LIBS=`$PKG_CONFIG --libs "xaw7 xmu xbitmaps xext x11" 2>/dev/null` 47119ef7378bSmrgelse 47129ef7378bSmrg pkg_failed=yes 47139ef7378bSmrgfi 47149ef7378bSmrg else 47159ef7378bSmrg pkg_failed=untried 47169ef7378bSmrgfi 47179ef7378bSmrg 47189ef7378bSmrg 47199ef7378bSmrg 47209ef7378bSmrgif test $pkg_failed = yes; then 47219ef7378bSmrg 47229ef7378bSmrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 47239ef7378bSmrg _pkg_short_errors_supported=yes 4724c19de146Smrgelse 47259ef7378bSmrg _pkg_short_errors_supported=no 47269ef7378bSmrgfi 47279ef7378bSmrg if test $_pkg_short_errors_supported = yes; then 4728c918a7e2Smrg XBIFF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xaw7 xmu xbitmaps xext x11" 2>&1` 47299ef7378bSmrg else 4730c918a7e2Smrg XBIFF_PKG_ERRORS=`$PKG_CONFIG --print-errors "xaw7 xmu xbitmaps xext x11" 2>&1` 47319ef7378bSmrg fi 47329ef7378bSmrg # Put the nasty error message in config.log where it belongs 47339ef7378bSmrg echo "$XBIFF_PKG_ERRORS" >&5 47349ef7378bSmrg 4735c918a7e2Smrg as_fn_error $? "Package requirements (xaw7 xmu xbitmaps xext x11) were not met: 47369ef7378bSmrg 47379ef7378bSmrg$XBIFF_PKG_ERRORS 47389ef7378bSmrg 47399ef7378bSmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 47409ef7378bSmrginstalled software in a non-standard prefix. 47419ef7378bSmrg 47429ef7378bSmrgAlternatively, you may set the environment variables XBIFF_CFLAGS 47439ef7378bSmrgand XBIFF_LIBS to avoid the need to call pkg-config. 47449ef7378bSmrgSee the pkg-config man page for more details. 47459ef7378bSmrg" "$LINENO" 5 47469ef7378bSmrgelif test $pkg_failed = untried; then 47479ef7378bSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 47489ef7378bSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4749c918a7e2Smrgas_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 47509ef7378bSmrgis in your PATH or set the PKG_CONFIG environment variable to the full 47519ef7378bSmrgpath to pkg-config. 47529ef7378bSmrg 47539ef7378bSmrgAlternatively, you may set the environment variables XBIFF_CFLAGS 47549ef7378bSmrgand XBIFF_LIBS to avoid the need to call pkg-config. 47559ef7378bSmrgSee the pkg-config man page for more details. 47569ef7378bSmrg 47579ef7378bSmrgTo get pkg-config, see <http://pkg-config.freedesktop.org/>. 4758c918a7e2SmrgSee \`config.log' for more details" "$LINENO" 5; } 47599ef7378bSmrgelse 47609ef7378bSmrg XBIFF_CFLAGS=$pkg_cv_XBIFF_CFLAGS 47619ef7378bSmrg XBIFF_LIBS=$pkg_cv_XBIFF_LIBS 47629ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 47639ef7378bSmrg$as_echo "yes" >&6; } 47649ef7378bSmrg : 47659ef7378bSmrgfi 4766c19de146Smrg 4767c918a7e2Smrg# Checks for headers 4768c918a7e2Smrgfor ac_header in paths.h 4769c918a7e2Smrgdo : 4770c918a7e2Smrg ac_fn_c_check_header_mongrel "$LINENO" "paths.h" "ac_cv_header_paths_h" "$ac_includes_default" 4771c918a7e2Smrgif test "x$ac_cv_header_paths_h" = xyes; then : 4772c918a7e2Smrg cat >>confdefs.h <<_ACEOF 4773c918a7e2Smrg#define HAVE_PATHS_H 1 4774c918a7e2Smrg_ACEOF 4775c918a7e2Smrg 4776c918a7e2Smrgfi 4777c918a7e2Smrg 4778c918a7e2Smrgdone 4779c918a7e2Smrg 4780c918a7e2Smrg 4781c918a7e2Smrg# Allow builder to set path to look for mailboxes 4782c918a7e2Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mailbox directory" >&5 4783c918a7e2Smrg$as_echo_n "checking for mailbox directory... " >&6; } 4784c918a7e2Smrg 4785c918a7e2Smrg# Check whether --with-mailbox-directory was given. 4786c918a7e2Smrgif test "${with_mailbox_directory+set}" = set; then : 4787c918a7e2Smrg withval=$with_mailbox_directory; mailbox_directory=$with_mailbox_directory 4788c918a7e2Smrgfi 4789c918a7e2Smrg 4790c19de146Smrg 4791c918a7e2Smrgif test "x$mailbox_directory" != "x"; then 4792c918a7e2Smrg 4793c918a7e2Smrgcat >>confdefs.h <<_ACEOF 4794c918a7e2Smrg#define MAILBOX_DIRECTORY "$mailbox_directory" 4795c918a7e2Smrg_ACEOF 47969ef7378bSmrg 4797c918a7e2Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mailbox_directory" >&5 4798c918a7e2Smrg$as_echo "$mailbox_directory" >&6; } 4799c918a7e2Smrgelse 4800c918a7e2Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: not set" >&5 4801c918a7e2Smrg$as_echo "not set" >&6; } 4802c918a7e2Smrgfi 48039ef7378bSmrg 4804c918a7e2Smrgac_config_files="$ac_config_files Makefile man/Makefile" 48059ef7378bSmrg 4806c19de146Smrgcat >confcache <<\_ACEOF 4807c19de146Smrg# This file is a shell script that caches the results of configure 4808c19de146Smrg# tests run on this system so they can be shared between configure 4809c19de146Smrg# scripts and configure runs, see configure's option --config-cache. 4810c19de146Smrg# It is not useful on other systems. If it contains results you don't 4811c19de146Smrg# want to keep, you may remove or edit it. 4812c19de146Smrg# 4813c19de146Smrg# config.status only pays attention to the cache file if you give it 4814c19de146Smrg# the --recheck option to rerun configure. 4815c19de146Smrg# 4816c19de146Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when 4817c19de146Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the 4818c19de146Smrg# following values. 4819c19de146Smrg 4820c19de146Smrg_ACEOF 4821c19de146Smrg 4822c19de146Smrg# The following way of writing the cache mishandles newlines in values, 4823c19de146Smrg# but we know of no workaround that is simple, portable, and efficient. 48249ef7378bSmrg# So, we kill variables containing newlines. 4825c19de146Smrg# Ultrix sh set writes to stderr and can't be redirected directly, 4826c19de146Smrg# and sets the high bit in the cache file unless we assign to the vars. 48279ef7378bSmrg( 48289ef7378bSmrg for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 48299ef7378bSmrg eval ac_val=\$$ac_var 48309ef7378bSmrg case $ac_val in #( 48319ef7378bSmrg *${as_nl}*) 48329ef7378bSmrg case $ac_var in #( 48339ef7378bSmrg *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 48349ef7378bSmrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 48359ef7378bSmrg esac 48369ef7378bSmrg case $ac_var in #( 48379ef7378bSmrg _ | IFS | as_nl) ;; #( 48389ef7378bSmrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 48399ef7378bSmrg *) { eval $ac_var=; unset $ac_var;} ;; 48409ef7378bSmrg esac ;; 48419ef7378bSmrg esac 48429ef7378bSmrg done 48439ef7378bSmrg 4844c19de146Smrg (set) 2>&1 | 48459ef7378bSmrg case $as_nl`(ac_space=' '; set) 2>&1` in #( 48469ef7378bSmrg *${as_nl}ac_space=\ *) 48479ef7378bSmrg # `set' does not quote correctly, so add quotes: double-quote 48489ef7378bSmrg # substitution turns \\\\ into \\, and sed turns \\ into \. 4849c19de146Smrg sed -n \ 4850c19de146Smrg "s/'/'\\\\''/g; 4851c19de146Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 48529ef7378bSmrg ;; #( 4853c19de146Smrg *) 4854c19de146Smrg # `set' quotes correctly as required by POSIX, so do not add quotes. 48559ef7378bSmrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 4856c19de146Smrg ;; 48579ef7378bSmrg esac | 48589ef7378bSmrg sort 48599ef7378bSmrg) | 4860c19de146Smrg sed ' 48619ef7378bSmrg /^ac_cv_env_/b end 4862c19de146Smrg t clear 48639ef7378bSmrg :clear 4864c19de146Smrg s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 4865c19de146Smrg t end 48669ef7378bSmrg s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 48679ef7378bSmrg :end' >>confcache 48689ef7378bSmrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 48699ef7378bSmrg if test -w "$cache_file"; then 4870c918a7e2Smrg if test "x$cache_file" != "x/dev/null"; then 48719ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 48729ef7378bSmrg$as_echo "$as_me: updating cache $cache_file" >&6;} 4873c918a7e2Smrg if test ! -f "$cache_file" || test -h "$cache_file"; then 4874c918a7e2Smrg cat confcache >"$cache_file" 4875c918a7e2Smrg else 4876c918a7e2Smrg case $cache_file in #( 4877c918a7e2Smrg */* | ?:*) 4878c918a7e2Smrg mv -f confcache "$cache_file"$$ && 4879c918a7e2Smrg mv -f "$cache_file"$$ "$cache_file" ;; #( 4880c918a7e2Smrg *) 4881c918a7e2Smrg mv -f confcache "$cache_file" ;; 4882c918a7e2Smrg esac 4883c918a7e2Smrg fi 4884c918a7e2Smrg fi 4885c19de146Smrg else 48869ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 48879ef7378bSmrg$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 4888c19de146Smrg fi 4889c19de146Smrgfi 4890c19de146Smrgrm -f confcache 4891c19de146Smrg 4892c19de146Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix 4893c19de146Smrg# Let make expand exec_prefix. 4894c19de146Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 4895c19de146Smrg 4896c19de146SmrgDEFS=-DHAVE_CONFIG_H 4897c19de146Smrg 4898c19de146Smrgac_libobjs= 4899c19de146Smrgac_ltlibobjs= 4900c918a7e2SmrgU= 4901c19de146Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 4902c19de146Smrg # 1. Remove the extension, and $U if already installed. 49039ef7378bSmrg ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 49049ef7378bSmrg ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 49059ef7378bSmrg # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 49069ef7378bSmrg # will be set to the directory where LIBOBJS objects are built. 49079ef7378bSmrg as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 49089ef7378bSmrg as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 4909c19de146Smrgdone 4910c19de146SmrgLIBOBJS=$ac_libobjs 4911c19de146Smrg 4912c19de146SmrgLTLIBOBJS=$ac_ltlibobjs 4913c19de146Smrg 4914c19de146Smrg 49159ef7378bSmrg if test -n "$EXEEXT"; then 49169ef7378bSmrg am__EXEEXT_TRUE= 49179ef7378bSmrg am__EXEEXT_FALSE='#' 49189ef7378bSmrgelse 49199ef7378bSmrg am__EXEEXT_TRUE='#' 49209ef7378bSmrg am__EXEEXT_FALSE= 49219ef7378bSmrgfi 49229ef7378bSmrg 4923c19de146Smrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 4924c918a7e2Smrg as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 49259ef7378bSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 4926c19de146Smrgfi 4927c19de146Smrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 4928c918a7e2Smrg as_fn_error $? "conditional \"AMDEP\" was never defined. 49299ef7378bSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 4930c19de146Smrgfi 4931c19de146Smrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 4932c918a7e2Smrg as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 49339ef7378bSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 4934c19de146Smrgfi 4935c19de146Smrg 4936c918a7e2Smrg: "${CONFIG_STATUS=./config.status}" 49379ef7378bSmrgac_write_fail=0 4938c19de146Smrgac_clean_files_save=$ac_clean_files 4939c19de146Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS" 49409ef7378bSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 49419ef7378bSmrg$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 49429ef7378bSmrgas_write_fail=0 49439ef7378bSmrgcat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 4944c19de146Smrg#! $SHELL 4945c19de146Smrg# Generated by $as_me. 4946c19de146Smrg# Run this file to recreate the current configuration. 4947c19de146Smrg# Compiler output produced by configure, useful for debugging 4948c19de146Smrg# configure, is in config.log if it exists. 4949c19de146Smrg 4950c19de146Smrgdebug=false 4951c19de146Smrgac_cs_recheck=false 4952c19de146Smrgac_cs_silent=false 4953c19de146Smrg 49549ef7378bSmrgSHELL=\${CONFIG_SHELL-$SHELL} 49559ef7378bSmrgexport SHELL 49569ef7378bSmrg_ASEOF 49579ef7378bSmrgcat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 49589ef7378bSmrg## -------------------- ## 49599ef7378bSmrg## M4sh Initialization. ## 49609ef7378bSmrg## -------------------- ## 49619ef7378bSmrg 49629ef7378bSmrg# Be more Bourne compatible 49639ef7378bSmrgDUALCASE=1; export DUALCASE # for MKS sh 49649ef7378bSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 4965c19de146Smrg emulate sh 4966c19de146Smrg NULLCMD=: 49679ef7378bSmrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 4968c19de146Smrg # is contrary to our usage. Disable this feature. 4969c19de146Smrg alias -g '${1+"$@"}'='"$@"' 49709ef7378bSmrg setopt NO_GLOB_SUBST 49719ef7378bSmrgelse 49729ef7378bSmrg case `(set -o) 2>/dev/null` in #( 49739ef7378bSmrg *posix*) : 49749ef7378bSmrg set -o posix ;; #( 49759ef7378bSmrg *) : 49769ef7378bSmrg ;; 49779ef7378bSmrgesac 4978c19de146Smrgfi 4979c19de146Smrg 49809ef7378bSmrg 49819ef7378bSmrgas_nl=' 49829ef7378bSmrg' 49839ef7378bSmrgexport as_nl 49849ef7378bSmrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 49859ef7378bSmrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 49869ef7378bSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 49879ef7378bSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 49889ef7378bSmrg# Prefer a ksh shell builtin over an external printf program on Solaris, 49899ef7378bSmrg# but without wasting forks for bash or zsh. 49909ef7378bSmrgif test -z "$BASH_VERSION$ZSH_VERSION" \ 49919ef7378bSmrg && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 49929ef7378bSmrg as_echo='print -r --' 49939ef7378bSmrg as_echo_n='print -rn --' 49949ef7378bSmrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 49959ef7378bSmrg as_echo='printf %s\n' 49969ef7378bSmrg as_echo_n='printf %s' 4997c19de146Smrgelse 49989ef7378bSmrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 49999ef7378bSmrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 50009ef7378bSmrg as_echo_n='/usr/ucb/echo -n' 50019ef7378bSmrg else 50029ef7378bSmrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 50039ef7378bSmrg as_echo_n_body='eval 50049ef7378bSmrg arg=$1; 50059ef7378bSmrg case $arg in #( 50069ef7378bSmrg *"$as_nl"*) 50079ef7378bSmrg expr "X$arg" : "X\\(.*\\)$as_nl"; 50089ef7378bSmrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 50099ef7378bSmrg esac; 50109ef7378bSmrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 50119ef7378bSmrg ' 50129ef7378bSmrg export as_echo_n_body 50139ef7378bSmrg as_echo_n='sh -c $as_echo_n_body as_echo' 50149ef7378bSmrg fi 50159ef7378bSmrg export as_echo_body 50169ef7378bSmrg as_echo='sh -c $as_echo_body as_echo' 50179ef7378bSmrgfi 50189ef7378bSmrg 50199ef7378bSmrg# The user is always right. 50209ef7378bSmrgif test "${PATH_SEPARATOR+set}" != set; then 50219ef7378bSmrg PATH_SEPARATOR=: 50229ef7378bSmrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 50239ef7378bSmrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 50249ef7378bSmrg PATH_SEPARATOR=';' 50259ef7378bSmrg } 5026c19de146Smrgfi 5027c19de146Smrg 5028c19de146Smrg 50299ef7378bSmrg# IFS 50309ef7378bSmrg# We need space, tab and new line, in precisely that order. Quoting is 50319ef7378bSmrg# there to prevent editors from complaining about space-tab. 50329ef7378bSmrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 50339ef7378bSmrg# splitting by setting IFS to empty value.) 50349ef7378bSmrgIFS=" "" $as_nl" 50359ef7378bSmrg 50369ef7378bSmrg# Find who we are. Look in the path if we contain no directory separator. 5037c918a7e2Smrgas_myself= 50389ef7378bSmrgcase $0 in #(( 50399ef7378bSmrg *[\\/]* ) as_myself=$0 ;; 50409ef7378bSmrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 50419ef7378bSmrgfor as_dir in $PATH 50429ef7378bSmrgdo 50439ef7378bSmrg IFS=$as_save_IFS 50449ef7378bSmrg test -z "$as_dir" && as_dir=. 50459ef7378bSmrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 50469ef7378bSmrg done 50479ef7378bSmrgIFS=$as_save_IFS 50489ef7378bSmrg 50499ef7378bSmrg ;; 50509ef7378bSmrgesac 50519ef7378bSmrg# We did not find ourselves, most probably we were run as `sh COMMAND' 50529ef7378bSmrg# in which case we are not to be found in the path. 50539ef7378bSmrgif test "x$as_myself" = x; then 50549ef7378bSmrg as_myself=$0 50559ef7378bSmrgfi 50569ef7378bSmrgif test ! -f "$as_myself"; then 50579ef7378bSmrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 50589ef7378bSmrg exit 1 50599ef7378bSmrgfi 50609ef7378bSmrg 50619ef7378bSmrg# Unset variables that we do not need and which cause bugs (e.g. in 50629ef7378bSmrg# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 50639ef7378bSmrg# suppresses any "Segmentation fault" message there. '((' could 50649ef7378bSmrg# trigger a bug in pdksh 5.2.14. 50659ef7378bSmrgfor as_var in BASH_ENV ENV MAIL MAILPATH 50669ef7378bSmrgdo eval test x\${$as_var+set} = xset \ 50679ef7378bSmrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 50689ef7378bSmrgdone 5069c19de146SmrgPS1='$ ' 5070c19de146SmrgPS2='> ' 5071c19de146SmrgPS4='+ ' 5072c19de146Smrg 5073c19de146Smrg# NLS nuisances. 50749ef7378bSmrgLC_ALL=C 50759ef7378bSmrgexport LC_ALL 50769ef7378bSmrgLANGUAGE=C 50779ef7378bSmrgexport LANGUAGE 50789ef7378bSmrg 50799ef7378bSmrg# CDPATH. 50809ef7378bSmrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 50819ef7378bSmrg 50829ef7378bSmrg 5083c918a7e2Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 5084c918a7e2Smrg# ---------------------------------------- 50859ef7378bSmrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 50869ef7378bSmrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 5087c918a7e2Smrg# script with STATUS, using 1 if that was 0. 50889ef7378bSmrgas_fn_error () 50899ef7378bSmrg{ 5090c918a7e2Smrg as_status=$1; test $as_status -eq 0 && as_status=1 5091c918a7e2Smrg if test "$4"; then 5092c918a7e2Smrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 5093c918a7e2Smrg $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 5094c19de146Smrg fi 5095c918a7e2Smrg $as_echo "$as_me: error: $2" >&2 50969ef7378bSmrg as_fn_exit $as_status 50979ef7378bSmrg} # as_fn_error 50989ef7378bSmrg 5099c19de146Smrg 51009ef7378bSmrg# as_fn_set_status STATUS 51019ef7378bSmrg# ----------------------- 51029ef7378bSmrg# Set $? to STATUS, without forking. 51039ef7378bSmrgas_fn_set_status () 51049ef7378bSmrg{ 51059ef7378bSmrg return $1 51069ef7378bSmrg} # as_fn_set_status 51079ef7378bSmrg 51089ef7378bSmrg# as_fn_exit STATUS 51099ef7378bSmrg# ----------------- 51109ef7378bSmrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 51119ef7378bSmrgas_fn_exit () 51129ef7378bSmrg{ 51139ef7378bSmrg set +e 51149ef7378bSmrg as_fn_set_status $1 51159ef7378bSmrg exit $1 51169ef7378bSmrg} # as_fn_exit 51179ef7378bSmrg 51189ef7378bSmrg# as_fn_unset VAR 51199ef7378bSmrg# --------------- 51209ef7378bSmrg# Portably unset VAR. 51219ef7378bSmrgas_fn_unset () 51229ef7378bSmrg{ 51239ef7378bSmrg { eval $1=; unset $1;} 51249ef7378bSmrg} 51259ef7378bSmrgas_unset=as_fn_unset 51269ef7378bSmrg# as_fn_append VAR VALUE 51279ef7378bSmrg# ---------------------- 51289ef7378bSmrg# Append the text in VALUE to the end of the definition contained in VAR. Take 51299ef7378bSmrg# advantage of any shell optimizations that allow amortized linear growth over 51309ef7378bSmrg# repeated appends, instead of the typical quadratic growth present in naive 51319ef7378bSmrg# implementations. 51329ef7378bSmrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 51339ef7378bSmrg eval 'as_fn_append () 51349ef7378bSmrg { 51359ef7378bSmrg eval $1+=\$2 51369ef7378bSmrg }' 51379ef7378bSmrgelse 51389ef7378bSmrg as_fn_append () 51399ef7378bSmrg { 51409ef7378bSmrg eval $1=\$$1\$2 51419ef7378bSmrg } 51429ef7378bSmrgfi # as_fn_append 51439ef7378bSmrg 51449ef7378bSmrg# as_fn_arith ARG... 51459ef7378bSmrg# ------------------ 51469ef7378bSmrg# Perform arithmetic evaluation on the ARGs, and store the result in the 51479ef7378bSmrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 51489ef7378bSmrg# must be portable across $(()) and expr. 51499ef7378bSmrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 51509ef7378bSmrg eval 'as_fn_arith () 51519ef7378bSmrg { 51529ef7378bSmrg as_val=$(( $* )) 51539ef7378bSmrg }' 51549ef7378bSmrgelse 51559ef7378bSmrg as_fn_arith () 51569ef7378bSmrg { 51579ef7378bSmrg as_val=`expr "$@" || test $? -eq 1` 51589ef7378bSmrg } 51599ef7378bSmrgfi # as_fn_arith 51609ef7378bSmrg 51619ef7378bSmrg 51629ef7378bSmrgif expr a : '\(a\)' >/dev/null 2>&1 && 51639ef7378bSmrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 5164c19de146Smrg as_expr=expr 5165c19de146Smrgelse 5166c19de146Smrg as_expr=false 5167c19de146Smrgfi 5168c19de146Smrg 51699ef7378bSmrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 5170c19de146Smrg as_basename=basename 5171c19de146Smrgelse 5172c19de146Smrg as_basename=false 5173c19de146Smrgfi 5174c19de146Smrg 51759ef7378bSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 51769ef7378bSmrg as_dirname=dirname 51779ef7378bSmrgelse 51789ef7378bSmrg as_dirname=false 51799ef7378bSmrgfi 5180c19de146Smrg 51819ef7378bSmrgas_me=`$as_basename -- "$0" || 5182c19de146Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 5183c19de146Smrg X"$0" : 'X\(//\)$' \| \ 51849ef7378bSmrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 51859ef7378bSmrg$as_echo X/"$0" | 51869ef7378bSmrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 51879ef7378bSmrg s//\1/ 51889ef7378bSmrg q 51899ef7378bSmrg } 51909ef7378bSmrg /^X\/\(\/\/\)$/{ 51919ef7378bSmrg s//\1/ 51929ef7378bSmrg q 51939ef7378bSmrg } 51949ef7378bSmrg /^X\/\(\/\).*/{ 51959ef7378bSmrg s//\1/ 51969ef7378bSmrg q 51979ef7378bSmrg } 51989ef7378bSmrg s/.*/./; q'` 5199c19de146Smrg 5200c19de146Smrg# Avoid depending upon Character Ranges. 5201c19de146Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 5202c19de146Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 5203c19de146Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 5204c19de146Smrgas_cr_digits='0123456789' 5205c19de146Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 5206c19de146Smrg 52079ef7378bSmrgECHO_C= ECHO_N= ECHO_T= 52089ef7378bSmrgcase `echo -n x` in #((((( 52099ef7378bSmrg-n*) 52109ef7378bSmrg case `echo 'xy\c'` in 52119ef7378bSmrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 52129ef7378bSmrg xy) ECHO_C='\c';; 52139ef7378bSmrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 52149ef7378bSmrg ECHO_T=' ';; 52159ef7378bSmrg esac;; 52169ef7378bSmrg*) 52179ef7378bSmrg ECHO_N='-n';; 5218c19de146Smrgesac 5219c19de146Smrg 52209ef7378bSmrgrm -f conf$$ conf$$.exe conf$$.file 52219ef7378bSmrgif test -d conf$$.dir; then 52229ef7378bSmrg rm -f conf$$.dir/conf$$.file 5223c19de146Smrgelse 52249ef7378bSmrg rm -f conf$$.dir 52259ef7378bSmrg mkdir conf$$.dir 2>/dev/null 5226c19de146Smrgfi 52279ef7378bSmrgif (echo >conf$$.file) 2>/dev/null; then 52289ef7378bSmrg if ln -s conf$$.file conf$$ 2>/dev/null; then 5229c19de146Smrg as_ln_s='ln -s' 52309ef7378bSmrg # ... but there are two gotchas: 52319ef7378bSmrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 52329ef7378bSmrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 52339ef7378bSmrg # In both cases, we have to default to `cp -p'. 52349ef7378bSmrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 52359ef7378bSmrg as_ln_s='cp -p' 52369ef7378bSmrg elif ln conf$$.file conf$$ 2>/dev/null; then 52379ef7378bSmrg as_ln_s=ln 52389ef7378bSmrg else 52399ef7378bSmrg as_ln_s='cp -p' 5240c19de146Smrg fi 5241c19de146Smrgelse 5242c19de146Smrg as_ln_s='cp -p' 5243c19de146Smrgfi 52449ef7378bSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 52459ef7378bSmrgrmdir conf$$.dir 2>/dev/null 52469ef7378bSmrg 52479ef7378bSmrg 52489ef7378bSmrg# as_fn_mkdir_p 52499ef7378bSmrg# ------------- 52509ef7378bSmrg# Create "$as_dir" as a directory, including parents if necessary. 52519ef7378bSmrgas_fn_mkdir_p () 52529ef7378bSmrg{ 52539ef7378bSmrg 52549ef7378bSmrg case $as_dir in #( 52559ef7378bSmrg -*) as_dir=./$as_dir;; 52569ef7378bSmrg esac 52579ef7378bSmrg test -d "$as_dir" || eval $as_mkdir_p || { 52589ef7378bSmrg as_dirs= 52599ef7378bSmrg while :; do 52609ef7378bSmrg case $as_dir in #( 52619ef7378bSmrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 52629ef7378bSmrg *) as_qdir=$as_dir;; 52639ef7378bSmrg esac 52649ef7378bSmrg as_dirs="'$as_qdir' $as_dirs" 52659ef7378bSmrg as_dir=`$as_dirname -- "$as_dir" || 52669ef7378bSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 52679ef7378bSmrg X"$as_dir" : 'X\(//\)[^/]' \| \ 52689ef7378bSmrg X"$as_dir" : 'X\(//\)$' \| \ 52699ef7378bSmrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 52709ef7378bSmrg$as_echo X"$as_dir" | 52719ef7378bSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 52729ef7378bSmrg s//\1/ 52739ef7378bSmrg q 52749ef7378bSmrg } 52759ef7378bSmrg /^X\(\/\/\)[^/].*/{ 52769ef7378bSmrg s//\1/ 52779ef7378bSmrg q 52789ef7378bSmrg } 52799ef7378bSmrg /^X\(\/\/\)$/{ 52809ef7378bSmrg s//\1/ 52819ef7378bSmrg q 52829ef7378bSmrg } 52839ef7378bSmrg /^X\(\/\).*/{ 52849ef7378bSmrg s//\1/ 52859ef7378bSmrg q 52869ef7378bSmrg } 52879ef7378bSmrg s/.*/./; q'` 52889ef7378bSmrg test -d "$as_dir" && break 52899ef7378bSmrg done 52909ef7378bSmrg test -z "$as_dirs" || eval "mkdir $as_dirs" 5291c918a7e2Smrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 5292c19de146Smrg 52939ef7378bSmrg 52949ef7378bSmrg} # as_fn_mkdir_p 5295c19de146Smrgif mkdir -p . 2>/dev/null; then 52969ef7378bSmrg as_mkdir_p='mkdir -p "$as_dir"' 5297c19de146Smrgelse 5298c19de146Smrg test -d ./-p && rmdir ./-p 5299c19de146Smrg as_mkdir_p=false 5300c19de146Smrgfi 53019ef7378bSmrg 53029ef7378bSmrgif test -x / >/dev/null 2>&1; then 53039ef7378bSmrg as_test_x='test -x' 53049ef7378bSmrgelse 53059ef7378bSmrg if ls -dL / >/dev/null 2>&1; then 53069ef7378bSmrg as_ls_L_option=L 53079ef7378bSmrg else 53089ef7378bSmrg as_ls_L_option= 53099ef7378bSmrg fi 53109ef7378bSmrg as_test_x=' 53119ef7378bSmrg eval sh -c '\'' 53129ef7378bSmrg if test -d "$1"; then 53139ef7378bSmrg test -d "$1/."; 53149ef7378bSmrg else 53159ef7378bSmrg case $1 in #( 53169ef7378bSmrg -*)set "./$1";; 53179ef7378bSmrg esac; 53189ef7378bSmrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 53199ef7378bSmrg ???[sx]*):;;*)false;;esac;fi 53209ef7378bSmrg '\'' sh 53219ef7378bSmrg ' 53229ef7378bSmrgfi 53239ef7378bSmrgas_executable_p=$as_test_x 5324c19de146Smrg 5325c19de146Smrg# Sed expression to map a string onto a valid CPP name. 5326c19de146Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5327c19de146Smrg 5328c19de146Smrg# Sed expression to map a string onto a valid variable name. 5329c19de146Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5330c19de146Smrg 5331c19de146Smrg 5332c19de146Smrgexec 6>&1 53339ef7378bSmrg## ----------------------------------- ## 53349ef7378bSmrg## Main body of $CONFIG_STATUS script. ## 53359ef7378bSmrg## ----------------------------------- ## 53369ef7378bSmrg_ASEOF 53379ef7378bSmrgtest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 53389ef7378bSmrg 53399ef7378bSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 53409ef7378bSmrg# Save the log message, to keep $0 and so on meaningful, and to 5341c19de146Smrg# report actual input values of CONFIG_FILES etc. instead of their 53429ef7378bSmrg# values after options handling. 53439ef7378bSmrgac_log=" 5344c918a7e2SmrgThis file was extended by xbiff $as_me 1.0.3, which was 5345c918a7e2Smrggenerated by GNU Autoconf 2.68. Invocation command line was 5346c19de146Smrg 5347c19de146Smrg CONFIG_FILES = $CONFIG_FILES 5348c19de146Smrg CONFIG_HEADERS = $CONFIG_HEADERS 5349c19de146Smrg CONFIG_LINKS = $CONFIG_LINKS 5350c19de146Smrg CONFIG_COMMANDS = $CONFIG_COMMANDS 5351c19de146Smrg $ $0 $@ 5352c19de146Smrg 53539ef7378bSmrgon `(hostname || uname -n) 2>/dev/null | sed 1q` 53549ef7378bSmrg" 53559ef7378bSmrg 5356c19de146Smrg_ACEOF 5357c19de146Smrg 53589ef7378bSmrgcase $ac_config_files in *" 53599ef7378bSmrg"*) set x $ac_config_files; shift; ac_config_files=$*;; 53609ef7378bSmrgesac 5361c19de146Smrg 53629ef7378bSmrgcase $ac_config_headers in *" 53639ef7378bSmrg"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 53649ef7378bSmrgesac 5365c19de146Smrg 5366c19de146Smrg 53679ef7378bSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 53689ef7378bSmrg# Files that config.status was made for. 53699ef7378bSmrgconfig_files="$ac_config_files" 53709ef7378bSmrgconfig_headers="$ac_config_headers" 53719ef7378bSmrgconfig_commands="$ac_config_commands" 5372c19de146Smrg 53739ef7378bSmrg_ACEOF 5374c19de146Smrg 53759ef7378bSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5376c19de146Smrgac_cs_usage="\ 53779ef7378bSmrg\`$as_me' instantiates files and other configuration actions 53789ef7378bSmrgfrom templates according to the current configuration. Unless the files 53799ef7378bSmrgand actions are specified as TAGs, all are instantiated by default. 5380c19de146Smrg 53819ef7378bSmrgUsage: $0 [OPTION]... [TAG]... 5382c19de146Smrg 5383c19de146Smrg -h, --help print this help, then exit 53849ef7378bSmrg -V, --version print version number and configuration settings, then exit 53859ef7378bSmrg --config print configuration, then exit 53869ef7378bSmrg -q, --quiet, --silent 53879ef7378bSmrg do not print progress messages 5388c19de146Smrg -d, --debug don't remove temporary files 5389c19de146Smrg --recheck update $as_me by reconfiguring in the same conditions 53909ef7378bSmrg --file=FILE[:TEMPLATE] 53919ef7378bSmrg instantiate the configuration file FILE 53929ef7378bSmrg --header=FILE[:TEMPLATE] 53939ef7378bSmrg instantiate the configuration header FILE 5394c19de146Smrg 5395c19de146SmrgConfiguration files: 5396c19de146Smrg$config_files 5397c19de146Smrg 5398c19de146SmrgConfiguration headers: 5399c19de146Smrg$config_headers 5400c19de146Smrg 5401c19de146SmrgConfiguration commands: 5402c19de146Smrg$config_commands 5403c19de146Smrg 54049ef7378bSmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>." 5405c19de146Smrg 54069ef7378bSmrg_ACEOF 54079ef7378bSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 54089ef7378bSmrgac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 5409c19de146Smrgac_cs_version="\\ 5410c918a7e2Smrgxbiff config.status 1.0.3 5411c918a7e2Smrgconfigured by $0, generated by GNU Autoconf 2.68, 54129ef7378bSmrg with options \\"\$ac_cs_config\\" 5413c19de146Smrg 5414c918a7e2SmrgCopyright (C) 2010 Free Software Foundation, Inc. 5415c19de146SmrgThis config.status script is free software; the Free Software Foundation 5416c19de146Smrggives unlimited permission to copy, distribute and modify it." 54179ef7378bSmrg 54189ef7378bSmrgac_pwd='$ac_pwd' 54199ef7378bSmrgsrcdir='$srcdir' 54209ef7378bSmrgINSTALL='$INSTALL' 54219ef7378bSmrgMKDIR_P='$MKDIR_P' 54229ef7378bSmrgAWK='$AWK' 54239ef7378bSmrgtest -n "\$AWK" || AWK=awk 5424c19de146Smrg_ACEOF 5425c19de146Smrg 54269ef7378bSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 54279ef7378bSmrg# The default lists apply if the user does not specify any file. 5428c19de146Smrgac_need_defaults=: 5429c19de146Smrgwhile test $# != 0 5430c19de146Smrgdo 5431c19de146Smrg case $1 in 5432c918a7e2Smrg --*=?*) 54339ef7378bSmrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 54349ef7378bSmrg ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 5435c19de146Smrg ac_shift=: 5436c19de146Smrg ;; 5437c918a7e2Smrg --*=) 5438c918a7e2Smrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 5439c918a7e2Smrg ac_optarg= 5440c918a7e2Smrg ac_shift=: 5441c918a7e2Smrg ;; 54429ef7378bSmrg *) 5443c19de146Smrg ac_option=$1 5444c19de146Smrg ac_optarg=$2 5445c19de146Smrg ac_shift=shift 5446c19de146Smrg ;; 5447c19de146Smrg esac 5448c19de146Smrg 5449c19de146Smrg case $ac_option in 5450c19de146Smrg # Handling of the options. 5451c19de146Smrg -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 5452c19de146Smrg ac_cs_recheck=: ;; 54539ef7378bSmrg --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 54549ef7378bSmrg $as_echo "$ac_cs_version"; exit ;; 54559ef7378bSmrg --config | --confi | --conf | --con | --co | --c ) 54569ef7378bSmrg $as_echo "$ac_cs_config"; exit ;; 54579ef7378bSmrg --debug | --debu | --deb | --de | --d | -d ) 5458c19de146Smrg debug=: ;; 5459c19de146Smrg --file | --fil | --fi | --f ) 5460c19de146Smrg $ac_shift 54619ef7378bSmrg case $ac_optarg in 54629ef7378bSmrg *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 5463c918a7e2Smrg '') as_fn_error $? "missing file argument" ;; 54649ef7378bSmrg esac 54659ef7378bSmrg as_fn_append CONFIG_FILES " '$ac_optarg'" 5466c19de146Smrg ac_need_defaults=false;; 5467c19de146Smrg --header | --heade | --head | --hea ) 5468c19de146Smrg $ac_shift 54699ef7378bSmrg case $ac_optarg in 54709ef7378bSmrg *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 54719ef7378bSmrg esac 54729ef7378bSmrg as_fn_append CONFIG_HEADERS " '$ac_optarg'" 5473c19de146Smrg ac_need_defaults=false;; 54749ef7378bSmrg --he | --h) 54759ef7378bSmrg # Conflict between --help and --header 5476c918a7e2Smrg as_fn_error $? "ambiguous option: \`$1' 54779ef7378bSmrgTry \`$0 --help' for more information.";; 54789ef7378bSmrg --help | --hel | -h ) 54799ef7378bSmrg $as_echo "$ac_cs_usage"; exit ;; 5480c19de146Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 5481c19de146Smrg | -silent | --silent | --silen | --sile | --sil | --si | --s) 5482c19de146Smrg ac_cs_silent=: ;; 5483c19de146Smrg 5484c19de146Smrg # This is an error. 5485c918a7e2Smrg -*) as_fn_error $? "unrecognized option: \`$1' 54869ef7378bSmrgTry \`$0 --help' for more information." ;; 5487c19de146Smrg 54889ef7378bSmrg *) as_fn_append ac_config_targets " $1" 54899ef7378bSmrg ac_need_defaults=false ;; 5490c19de146Smrg 5491c19de146Smrg esac 5492c19de146Smrg shift 5493c19de146Smrgdone 5494c19de146Smrg 5495c19de146Smrgac_configure_extra_args= 5496c19de146Smrg 5497c19de146Smrgif $ac_cs_silent; then 5498c19de146Smrg exec 6>/dev/null 5499c19de146Smrg ac_configure_extra_args="$ac_configure_extra_args --silent" 5500c19de146Smrgfi 5501c19de146Smrg 5502c19de146Smrg_ACEOF 55039ef7378bSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5504c19de146Smrgif \$ac_cs_recheck; then 55059ef7378bSmrg set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 55069ef7378bSmrg shift 55079ef7378bSmrg \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 55089ef7378bSmrg CONFIG_SHELL='$SHELL' 55099ef7378bSmrg export CONFIG_SHELL 55109ef7378bSmrg exec "\$@" 5511c19de146Smrgfi 5512c19de146Smrg 5513c19de146Smrg_ACEOF 55149ef7378bSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 55159ef7378bSmrgexec 5>>config.log 55169ef7378bSmrg{ 55179ef7378bSmrg echo 55189ef7378bSmrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 55199ef7378bSmrg## Running $as_me. ## 55209ef7378bSmrg_ASBOX 55219ef7378bSmrg $as_echo "$ac_log" 55229ef7378bSmrg} >&5 5523c19de146Smrg 55249ef7378bSmrg_ACEOF 55259ef7378bSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5526c19de146Smrg# 55279ef7378bSmrg# INIT-COMMANDS 5528c19de146Smrg# 5529c19de146SmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 5530c19de146Smrg 5531c19de146Smrg_ACEOF 5532c19de146Smrg 55339ef7378bSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5534c19de146Smrg 55359ef7378bSmrg# Handling of arguments. 5536c19de146Smrgfor ac_config_target in $ac_config_targets 5537c19de146Smrgdo 55389ef7378bSmrg case $ac_config_target in 55399ef7378bSmrg "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 55409ef7378bSmrg "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 55419ef7378bSmrg "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 5542c918a7e2Smrg "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; 55439ef7378bSmrg 5544c918a7e2Smrg *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 5545c19de146Smrg esac 5546c19de146Smrgdone 5547c19de146Smrg 55489ef7378bSmrg 5549c19de146Smrg# If the user did not use the arguments to specify the items to instantiate, 5550c19de146Smrg# then the envvar interface is used. Set only those that are not. 5551c19de146Smrg# We use the long form for the default assignment because of an extremely 5552c19de146Smrg# bizarre bug on SunOS 4.1.3. 5553c19de146Smrgif $ac_need_defaults; then 5554c19de146Smrg test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 5555c19de146Smrg test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 5556c19de146Smrg test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 5557c19de146Smrgfi 5558c19de146Smrg 5559c19de146Smrg# Have a temporary directory for convenience. Make it in the build tree 55609ef7378bSmrg# simply because there is no reason against having it here, and in addition, 5561c19de146Smrg# creating and moving files from /tmp can sometimes cause problems. 55629ef7378bSmrg# Hook for its removal unless debugging. 55639ef7378bSmrg# Note that there is a small window in which the directory will not be cleaned: 55649ef7378bSmrg# after its creation but before its name has been assigned to `$tmp'. 5565c19de146Smrg$debug || 5566c19de146Smrg{ 5567c918a7e2Smrg tmp= ac_tmp= 55689ef7378bSmrg trap 'exit_status=$? 5569c918a7e2Smrg : "${ac_tmp:=$tmp}" 5570c918a7e2Smrg { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 55719ef7378bSmrg' 0 55729ef7378bSmrg trap 'as_fn_exit 1' 1 2 13 15 5573c19de146Smrg} 5574c19de146Smrg# Create a (secure) tmp directory for tmp files. 5575c19de146Smrg 5576c19de146Smrg{ 55779ef7378bSmrg tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 5578c918a7e2Smrg test -d "$tmp" 5579c19de146Smrg} || 5580c19de146Smrg{ 55819ef7378bSmrg tmp=./conf$$-$RANDOM 55829ef7378bSmrg (umask 077 && mkdir "$tmp") 5583c918a7e2Smrg} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 5584c918a7e2Smrgac_tmp=$tmp 55859ef7378bSmrg 55869ef7378bSmrg# Set up the scripts for CONFIG_FILES section. 55879ef7378bSmrg# No need to generate them if there are no CONFIG_FILES. 55889ef7378bSmrg# This happens for instance with `./config.status config.h'. 55899ef7378bSmrgif test -n "$CONFIG_FILES"; then 55909ef7378bSmrg 55919ef7378bSmrg 55929ef7378bSmrgac_cr=`echo X | tr X '\015'` 55939ef7378bSmrg# On cygwin, bash can eat \r inside `` if the user requested igncr. 55949ef7378bSmrg# But we know of no other shell where ac_cr would be empty at this 55959ef7378bSmrg# point, so we can use a bashism as a fallback. 55969ef7378bSmrgif test "x$ac_cr" = x; then 55979ef7378bSmrg eval ac_cr=\$\'\\r\' 55989ef7378bSmrgfi 55999ef7378bSmrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 56009ef7378bSmrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 5601c918a7e2Smrg ac_cs_awk_cr='\\r' 56029ef7378bSmrgelse 56039ef7378bSmrg ac_cs_awk_cr=$ac_cr 56049ef7378bSmrgfi 56059ef7378bSmrg 5606c918a7e2Smrgecho 'BEGIN {' >"$ac_tmp/subs1.awk" && 56079ef7378bSmrg_ACEOF 56089ef7378bSmrg 56099ef7378bSmrg 5610c19de146Smrg{ 56119ef7378bSmrg echo "cat >conf$$subs.awk <<_ACEOF" && 56129ef7378bSmrg echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 56139ef7378bSmrg echo "_ACEOF" 56149ef7378bSmrg} >conf$$subs.sh || 5615c918a7e2Smrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5616c918a7e2Smrgac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 56179ef7378bSmrgac_delim='%!_!# ' 56189ef7378bSmrgfor ac_last_try in false false false false false :; do 56199ef7378bSmrg . ./conf$$subs.sh || 5620c918a7e2Smrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 56219ef7378bSmrg 56229ef7378bSmrg ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 56239ef7378bSmrg if test $ac_delim_n = $ac_delim_num; then 56249ef7378bSmrg break 56259ef7378bSmrg elif $ac_last_try; then 5626c918a7e2Smrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 56279ef7378bSmrg else 56289ef7378bSmrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 56299ef7378bSmrg fi 56309ef7378bSmrgdone 56319ef7378bSmrgrm -f conf$$subs.sh 5632c19de146Smrg 56339ef7378bSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5634c918a7e2Smrgcat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 5635c19de146Smrg_ACEOF 56369ef7378bSmrgsed -n ' 56379ef7378bSmrgh 56389ef7378bSmrgs/^/S["/; s/!.*/"]=/ 56399ef7378bSmrgp 56409ef7378bSmrgg 56419ef7378bSmrgs/^[^!]*!// 56429ef7378bSmrg:repl 56439ef7378bSmrgt repl 56449ef7378bSmrgs/'"$ac_delim"'$// 56459ef7378bSmrgt delim 56469ef7378bSmrg:nl 56479ef7378bSmrgh 56489ef7378bSmrgs/\(.\{148\}\)..*/\1/ 56499ef7378bSmrgt more1 56509ef7378bSmrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 56519ef7378bSmrgp 56529ef7378bSmrgn 56539ef7378bSmrgb repl 56549ef7378bSmrg:more1 56559ef7378bSmrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 56569ef7378bSmrgp 56579ef7378bSmrgg 56589ef7378bSmrgs/.\{148\}// 56599ef7378bSmrgt nl 56609ef7378bSmrg:delim 56619ef7378bSmrgh 56629ef7378bSmrgs/\(.\{148\}\)..*/\1/ 56639ef7378bSmrgt more2 56649ef7378bSmrgs/["\\]/\\&/g; s/^/"/; s/$/"/ 56659ef7378bSmrgp 56669ef7378bSmrgb 56679ef7378bSmrg:more2 56689ef7378bSmrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 56699ef7378bSmrgp 56709ef7378bSmrgg 56719ef7378bSmrgs/.\{148\}// 56729ef7378bSmrgt delim 56739ef7378bSmrg' <conf$$subs.awk | sed ' 56749ef7378bSmrg/^[^""]/{ 56759ef7378bSmrg N 56769ef7378bSmrg s/\n// 56779ef7378bSmrg} 56789ef7378bSmrg' >>$CONFIG_STATUS || ac_write_fail=1 56799ef7378bSmrgrm -f conf$$subs.awk 56809ef7378bSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 56819ef7378bSmrg_ACAWK 5682c918a7e2Smrgcat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 56839ef7378bSmrg for (key in S) S_is_set[key] = 1 56849ef7378bSmrg FS = "" 5685c19de146Smrg 56869ef7378bSmrg} 56879ef7378bSmrg{ 56889ef7378bSmrg line = $ 0 56899ef7378bSmrg nfields = split(line, field, "@") 56909ef7378bSmrg substed = 0 56919ef7378bSmrg len = length(field[1]) 56929ef7378bSmrg for (i = 2; i < nfields; i++) { 56939ef7378bSmrg key = field[i] 56949ef7378bSmrg keylen = length(key) 56959ef7378bSmrg if (S_is_set[key]) { 56969ef7378bSmrg value = S[key] 56979ef7378bSmrg line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 56989ef7378bSmrg len += length(value) + length(field[++i]) 56999ef7378bSmrg substed = 1 57009ef7378bSmrg } else 57019ef7378bSmrg len += 1 + keylen 57029ef7378bSmrg } 57039ef7378bSmrg 57049ef7378bSmrg print line 57059ef7378bSmrg} 5706c19de146Smrg 57079ef7378bSmrg_ACAWK 57089ef7378bSmrg_ACEOF 57099ef7378bSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 57109ef7378bSmrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 57119ef7378bSmrg sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 57129ef7378bSmrgelse 57139ef7378bSmrg cat 5714c918a7e2Smrgfi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 5715c918a7e2Smrg || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 57169ef7378bSmrg_ACEOF 57179ef7378bSmrg 5718c918a7e2Smrg# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 5719c918a7e2Smrg# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 57209ef7378bSmrg# trailing colons and then remove the whole line if VPATH becomes empty 57219ef7378bSmrg# (actually we leave an empty line to preserve line numbers). 57229ef7378bSmrgif test "x$srcdir" = x.; then 5723c918a7e2Smrg ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 5724c918a7e2Smrgh 5725c918a7e2Smrgs/// 5726c918a7e2Smrgs/^/:/ 5727c918a7e2Smrgs/[ ]*$/:/ 5728c918a7e2Smrgs/:\$(srcdir):/:/g 5729c918a7e2Smrgs/:\${srcdir}:/:/g 5730c918a7e2Smrgs/:@srcdir@:/:/g 5731c918a7e2Smrgs/^:*// 57329ef7378bSmrgs/:*$// 5733c918a7e2Smrgx 5734c918a7e2Smrgs/\(=[ ]*\).*/\1/ 5735c918a7e2SmrgG 5736c918a7e2Smrgs/\n// 57379ef7378bSmrgs/^[^=]*=[ ]*$// 57389ef7378bSmrg}' 57399ef7378bSmrgfi 5740c19de146Smrg 57419ef7378bSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 57429ef7378bSmrgfi # test -n "$CONFIG_FILES" 5743c19de146Smrg 57449ef7378bSmrg# Set up the scripts for CONFIG_HEADERS section. 57459ef7378bSmrg# No need to generate them if there are no CONFIG_HEADERS. 57469ef7378bSmrg# This happens for instance with `./config.status Makefile'. 57479ef7378bSmrgif test -n "$CONFIG_HEADERS"; then 5748c918a7e2Smrgcat >"$ac_tmp/defines.awk" <<\_ACAWK || 57499ef7378bSmrgBEGIN { 5750c19de146Smrg_ACEOF 5751c19de146Smrg 57529ef7378bSmrg# Transform confdefs.h into an awk script `defines.awk', embedded as 57539ef7378bSmrg# here-document in config.status, that substitutes the proper values into 57549ef7378bSmrg# config.h.in to produce config.h. 57559ef7378bSmrg 57569ef7378bSmrg# Create a delimiter string that does not exist in confdefs.h, to ease 57579ef7378bSmrg# handling of long lines. 57589ef7378bSmrgac_delim='%!_!# ' 57599ef7378bSmrgfor ac_last_try in false false :; do 5760c918a7e2Smrg ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 5761c918a7e2Smrg if test -z "$ac_tt"; then 57629ef7378bSmrg break 57639ef7378bSmrg elif $ac_last_try; then 5764c918a7e2Smrg as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 57659ef7378bSmrg else 57669ef7378bSmrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 5767c19de146Smrg fi 57689ef7378bSmrgdone 5769c19de146Smrg 57709ef7378bSmrg# For the awk script, D is an array of macro values keyed by name, 57719ef7378bSmrg# likewise P contains macro parameters if any. Preserve backslash 57729ef7378bSmrg# newline sequences. 57739ef7378bSmrg 57749ef7378bSmrgac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 57759ef7378bSmrgsed -n ' 57769ef7378bSmrgs/.\{148\}/&'"$ac_delim"'/g 57779ef7378bSmrgt rset 57789ef7378bSmrg:rset 57799ef7378bSmrgs/^[ ]*#[ ]*define[ ][ ]*/ / 57809ef7378bSmrgt def 57819ef7378bSmrgd 57829ef7378bSmrg:def 57839ef7378bSmrgs/\\$// 57849ef7378bSmrgt bsnl 57859ef7378bSmrgs/["\\]/\\&/g 57869ef7378bSmrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 57879ef7378bSmrgD["\1"]=" \3"/p 57889ef7378bSmrgs/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 57899ef7378bSmrgd 57909ef7378bSmrg:bsnl 57919ef7378bSmrgs/["\\]/\\&/g 57929ef7378bSmrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 57939ef7378bSmrgD["\1"]=" \3\\\\\\n"\\/p 57949ef7378bSmrgt cont 57959ef7378bSmrgs/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 57969ef7378bSmrgt cont 57979ef7378bSmrgd 57989ef7378bSmrg:cont 57999ef7378bSmrgn 58009ef7378bSmrgs/.\{148\}/&'"$ac_delim"'/g 58019ef7378bSmrgt clear 58029ef7378bSmrg:clear 58039ef7378bSmrgs/\\$// 58049ef7378bSmrgt bsnlc 58059ef7378bSmrgs/["\\]/\\&/g; s/^/"/; s/$/"/p 58069ef7378bSmrgd 58079ef7378bSmrg:bsnlc 58089ef7378bSmrgs/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 58099ef7378bSmrgb cont 58109ef7378bSmrg' <confdefs.h | sed ' 58119ef7378bSmrgs/'"$ac_delim"'/"\\\ 58129ef7378bSmrg"/g' >>$CONFIG_STATUS || ac_write_fail=1 58139ef7378bSmrg 58149ef7378bSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 58159ef7378bSmrg for (key in D) D_is_set[key] = 1 58169ef7378bSmrg FS = "" 58179ef7378bSmrg} 58189ef7378bSmrg/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 58199ef7378bSmrg line = \$ 0 58209ef7378bSmrg split(line, arg, " ") 58219ef7378bSmrg if (arg[1] == "#") { 58229ef7378bSmrg defundef = arg[2] 58239ef7378bSmrg mac1 = arg[3] 58249ef7378bSmrg } else { 58259ef7378bSmrg defundef = substr(arg[1], 2) 58269ef7378bSmrg mac1 = arg[2] 58279ef7378bSmrg } 58289ef7378bSmrg split(mac1, mac2, "(") #) 58299ef7378bSmrg macro = mac2[1] 58309ef7378bSmrg prefix = substr(line, 1, index(line, defundef) - 1) 58319ef7378bSmrg if (D_is_set[macro]) { 58329ef7378bSmrg # Preserve the white space surrounding the "#". 58339ef7378bSmrg print prefix "define", macro P[macro] D[macro] 58349ef7378bSmrg next 58359ef7378bSmrg } else { 58369ef7378bSmrg # Replace #undef with comments. This is necessary, for example, 58379ef7378bSmrg # in the case of _POSIX_SOURCE, which is predefined and required 58389ef7378bSmrg # on some systems where configure will not decide to define it. 58399ef7378bSmrg if (defundef == "undef") { 58409ef7378bSmrg print "/*", prefix defundef, macro, "*/" 58419ef7378bSmrg next 58429ef7378bSmrg } 58439ef7378bSmrg } 58449ef7378bSmrg} 58459ef7378bSmrg{ print } 58469ef7378bSmrg_ACAWK 5847c19de146Smrg_ACEOF 58489ef7378bSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5849c918a7e2Smrg as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 58509ef7378bSmrgfi # test -n "$CONFIG_HEADERS" 58519ef7378bSmrg 58529ef7378bSmrg 58539ef7378bSmrgeval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 58549ef7378bSmrgshift 58559ef7378bSmrgfor ac_tag 58569ef7378bSmrgdo 58579ef7378bSmrg case $ac_tag in 58589ef7378bSmrg :[FHLC]) ac_mode=$ac_tag; continue;; 58599ef7378bSmrg esac 58609ef7378bSmrg case $ac_mode$ac_tag in 58619ef7378bSmrg :[FHL]*:*);; 5862c918a7e2Smrg :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 58639ef7378bSmrg :[FH]-) ac_tag=-:-;; 58649ef7378bSmrg :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 58659ef7378bSmrg esac 58669ef7378bSmrg ac_save_IFS=$IFS 58679ef7378bSmrg IFS=: 58689ef7378bSmrg set x $ac_tag 58699ef7378bSmrg IFS=$ac_save_IFS 58709ef7378bSmrg shift 58719ef7378bSmrg ac_file=$1 58729ef7378bSmrg shift 58739ef7378bSmrg 58749ef7378bSmrg case $ac_mode in 58759ef7378bSmrg :L) ac_source=$1;; 58769ef7378bSmrg :[FH]) 58779ef7378bSmrg ac_file_inputs= 58789ef7378bSmrg for ac_f 58799ef7378bSmrg do 58809ef7378bSmrg case $ac_f in 5881c918a7e2Smrg -) ac_f="$ac_tmp/stdin";; 58829ef7378bSmrg *) # Look for the file first in the build tree, then in the source tree 58839ef7378bSmrg # (if the path is not absolute). The absolute path cannot be DOS-style, 58849ef7378bSmrg # because $ac_f cannot contain `:'. 58859ef7378bSmrg test -f "$ac_f" || 58869ef7378bSmrg case $ac_f in 58879ef7378bSmrg [\\/$]*) false;; 58889ef7378bSmrg *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 58899ef7378bSmrg esac || 5890c918a7e2Smrg as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 58919ef7378bSmrg esac 58929ef7378bSmrg case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 58939ef7378bSmrg as_fn_append ac_file_inputs " '$ac_f'" 58949ef7378bSmrg done 58959ef7378bSmrg 58969ef7378bSmrg # Let's still pretend it is `configure' which instantiates (i.e., don't 58979ef7378bSmrg # use $as_me), people would be surprised to read: 58989ef7378bSmrg # /* config.h. Generated by config.status. */ 58999ef7378bSmrg configure_input='Generated from '` 59009ef7378bSmrg $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 59019ef7378bSmrg `' by configure.' 59029ef7378bSmrg if test x"$ac_file" != x-; then 59039ef7378bSmrg configure_input="$ac_file. $configure_input" 59049ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 59059ef7378bSmrg$as_echo "$as_me: creating $ac_file" >&6;} 59069ef7378bSmrg fi 59079ef7378bSmrg # Neutralize special characters interpreted by sed in replacement strings. 59089ef7378bSmrg case $configure_input in #( 59099ef7378bSmrg *\&* | *\|* | *\\* ) 59109ef7378bSmrg ac_sed_conf_input=`$as_echo "$configure_input" | 59119ef7378bSmrg sed 's/[\\\\&|]/\\\\&/g'`;; #( 59129ef7378bSmrg *) ac_sed_conf_input=$configure_input;; 59139ef7378bSmrg esac 59149ef7378bSmrg 59159ef7378bSmrg case $ac_tag in 5916c918a7e2Smrg *:-:* | *:-) cat >"$ac_tmp/stdin" \ 5917c918a7e2Smrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 59189ef7378bSmrg esac 59199ef7378bSmrg ;; 5920c19de146Smrg esac 5921c19de146Smrg 59229ef7378bSmrg ac_dir=`$as_dirname -- "$ac_file" || 5923c19de146Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5924c19de146Smrg X"$ac_file" : 'X\(//\)[^/]' \| \ 5925c19de146Smrg X"$ac_file" : 'X\(//\)$' \| \ 59269ef7378bSmrg X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 59279ef7378bSmrg$as_echo X"$ac_file" | 59289ef7378bSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 59299ef7378bSmrg s//\1/ 59309ef7378bSmrg q 59319ef7378bSmrg } 59329ef7378bSmrg /^X\(\/\/\)[^/].*/{ 59339ef7378bSmrg s//\1/ 59349ef7378bSmrg q 59359ef7378bSmrg } 59369ef7378bSmrg /^X\(\/\/\)$/{ 59379ef7378bSmrg s//\1/ 59389ef7378bSmrg q 59399ef7378bSmrg } 59409ef7378bSmrg /^X\(\/\).*/{ 59419ef7378bSmrg s//\1/ 59429ef7378bSmrg q 59439ef7378bSmrg } 59449ef7378bSmrg s/.*/./; q'` 59459ef7378bSmrg as_dir="$ac_dir"; as_fn_mkdir_p 5946c19de146Smrg ac_builddir=. 5947c19de146Smrg 59489ef7378bSmrgcase "$ac_dir" in 59499ef7378bSmrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 59509ef7378bSmrg*) 59519ef7378bSmrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 59529ef7378bSmrg # A ".." for each directory in $ac_dir_suffix. 59539ef7378bSmrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 59549ef7378bSmrg case $ac_top_builddir_sub in 59559ef7378bSmrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 59569ef7378bSmrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 59579ef7378bSmrg esac ;; 59589ef7378bSmrgesac 59599ef7378bSmrgac_abs_top_builddir=$ac_pwd 59609ef7378bSmrgac_abs_builddir=$ac_pwd$ac_dir_suffix 59619ef7378bSmrg# for backward compatibility: 59629ef7378bSmrgac_top_builddir=$ac_top_build_prefix 5963c19de146Smrg 5964c19de146Smrgcase $srcdir in 59659ef7378bSmrg .) # We are building in place. 5966c19de146Smrg ac_srcdir=. 59679ef7378bSmrg ac_top_srcdir=$ac_top_builddir_sub 59689ef7378bSmrg ac_abs_top_srcdir=$ac_pwd ;; 59699ef7378bSmrg [\\/]* | ?:[\\/]* ) # Absolute name. 5970c19de146Smrg ac_srcdir=$srcdir$ac_dir_suffix; 59719ef7378bSmrg ac_top_srcdir=$srcdir 59729ef7378bSmrg ac_abs_top_srcdir=$srcdir ;; 59739ef7378bSmrg *) # Relative name. 59749ef7378bSmrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 59759ef7378bSmrg ac_top_srcdir=$ac_top_build_prefix$srcdir 59769ef7378bSmrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 5977c19de146Smrgesac 59789ef7378bSmrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 5979c19de146Smrg 5980c19de146Smrg 59819ef7378bSmrg case $ac_mode in 59829ef7378bSmrg :F) 59839ef7378bSmrg # 59849ef7378bSmrg # CONFIG_FILE 59859ef7378bSmrg # 5986c19de146Smrg 5987c19de146Smrg case $INSTALL in 5988c19de146Smrg [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 59899ef7378bSmrg *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 59909ef7378bSmrg esac 59919ef7378bSmrg ac_MKDIR_P=$MKDIR_P 59929ef7378bSmrg case $MKDIR_P in 59939ef7378bSmrg [\\/$]* | ?:[\\/]* ) ;; 59949ef7378bSmrg */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 5995c19de146Smrg esac 59969ef7378bSmrg_ACEOF 5997c19de146Smrg 59989ef7378bSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 59999ef7378bSmrg# If the template does not know about datarootdir, expand it. 60009ef7378bSmrg# FIXME: This hack should be removed a few years after 2.60. 60019ef7378bSmrgac_datarootdir_hack=; ac_datarootdir_seen= 60029ef7378bSmrgac_sed_dataroot=' 60039ef7378bSmrg/datarootdir/ { 60049ef7378bSmrg p 60059ef7378bSmrg q 60069ef7378bSmrg} 60079ef7378bSmrg/@datadir@/p 60089ef7378bSmrg/@docdir@/p 60099ef7378bSmrg/@infodir@/p 60109ef7378bSmrg/@localedir@/p 60119ef7378bSmrg/@mandir@/p' 60129ef7378bSmrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 60139ef7378bSmrg*datarootdir*) ac_datarootdir_seen=yes;; 60149ef7378bSmrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 60159ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 60169ef7378bSmrg$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 60179ef7378bSmrg_ACEOF 60189ef7378bSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 60199ef7378bSmrg ac_datarootdir_hack=' 60209ef7378bSmrg s&@datadir@&$datadir&g 60219ef7378bSmrg s&@docdir@&$docdir&g 60229ef7378bSmrg s&@infodir@&$infodir&g 60239ef7378bSmrg s&@localedir@&$localedir&g 60249ef7378bSmrg s&@mandir@&$mandir&g 60259ef7378bSmrg s&\\\${datarootdir}&$datarootdir&g' ;; 60269ef7378bSmrgesac 6027c19de146Smrg_ACEOF 60289ef7378bSmrg 60299ef7378bSmrg# Neutralize VPATH when `$srcdir' = `.'. 60309ef7378bSmrg# Shell code in configure.ac might set extrasub. 60319ef7378bSmrg# FIXME: do we really want to maintain this feature? 60329ef7378bSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 60339ef7378bSmrgac_sed_extra="$ac_vpsub 6034c19de146Smrg$extrasub 6035c19de146Smrg_ACEOF 60369ef7378bSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6037c19de146Smrg:t 6038c19de146Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 60399ef7378bSmrgs|@configure_input@|$ac_sed_conf_input|;t t 60409ef7378bSmrgs&@top_builddir@&$ac_top_builddir_sub&;t t 60419ef7378bSmrgs&@top_build_prefix@&$ac_top_build_prefix&;t t 60429ef7378bSmrgs&@srcdir@&$ac_srcdir&;t t 60439ef7378bSmrgs&@abs_srcdir@&$ac_abs_srcdir&;t t 60449ef7378bSmrgs&@top_srcdir@&$ac_top_srcdir&;t t 60459ef7378bSmrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 60469ef7378bSmrgs&@builddir@&$ac_builddir&;t t 60479ef7378bSmrgs&@abs_builddir@&$ac_abs_builddir&;t t 60489ef7378bSmrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t 60499ef7378bSmrgs&@INSTALL@&$ac_INSTALL&;t t 60509ef7378bSmrgs&@MKDIR_P@&$ac_MKDIR_P&;t t 60519ef7378bSmrg$ac_datarootdir_hack 60529ef7378bSmrg" 6053c918a7e2Smrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 6054c918a7e2Smrg >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 60559ef7378bSmrg 60569ef7378bSmrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 6057c918a7e2Smrg { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 6058c918a7e2Smrg { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 6059c918a7e2Smrg "$ac_tmp/out"`; test -z "$ac_out"; } && 60609ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6061c918a7e2Smrgwhich seems to be undefined. Please make sure it is defined" >&5 60629ef7378bSmrg$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6063c918a7e2Smrgwhich seems to be undefined. Please make sure it is defined" >&2;} 60649ef7378bSmrg 6065c918a7e2Smrg rm -f "$ac_tmp/stdin" 6066c19de146Smrg case $ac_file in 6067c918a7e2Smrg -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 6068c918a7e2Smrg *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 60699ef7378bSmrg esac \ 6070c918a7e2Smrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 60719ef7378bSmrg ;; 60729ef7378bSmrg :H) 60739ef7378bSmrg # 60749ef7378bSmrg # CONFIG_HEADER 60759ef7378bSmrg # 6076c19de146Smrg if test x"$ac_file" != x-; then 60779ef7378bSmrg { 60789ef7378bSmrg $as_echo "/* $configure_input */" \ 6079c918a7e2Smrg && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 6080c918a7e2Smrg } >"$ac_tmp/config.h" \ 6081c918a7e2Smrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 6082c918a7e2Smrg if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 60839ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 60849ef7378bSmrg$as_echo "$as_me: $ac_file is unchanged" >&6;} 6085c19de146Smrg else 60869ef7378bSmrg rm -f "$ac_file" 6087c918a7e2Smrg mv "$ac_tmp/config.h" "$ac_file" \ 6088c918a7e2Smrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 6089c19de146Smrg fi 6090c19de146Smrg else 60919ef7378bSmrg $as_echo "/* $configure_input */" \ 6092c918a7e2Smrg && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 6093c918a7e2Smrg || as_fn_error $? "could not create -" "$LINENO" 5 6094c19de146Smrg fi 60959ef7378bSmrg# Compute "$ac_file"'s index in $config_headers. 60969ef7378bSmrg_am_arg="$ac_file" 6097c19de146Smrg_am_stamp_count=1 6098c19de146Smrgfor _am_header in $config_headers :; do 6099c19de146Smrg case $_am_header in 61009ef7378bSmrg $_am_arg | $_am_arg:* ) 6101c19de146Smrg break ;; 6102c19de146Smrg * ) 6103c19de146Smrg _am_stamp_count=`expr $_am_stamp_count + 1` ;; 6104c19de146Smrg esac 6105c19de146Smrgdone 61069ef7378bSmrgecho "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 61079ef7378bSmrg$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 61089ef7378bSmrg X"$_am_arg" : 'X\(//\)[^/]' \| \ 61099ef7378bSmrg X"$_am_arg" : 'X\(//\)$' \| \ 61109ef7378bSmrg X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 61119ef7378bSmrg$as_echo X"$_am_arg" | 61129ef7378bSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 61139ef7378bSmrg s//\1/ 61149ef7378bSmrg q 61159ef7378bSmrg } 61169ef7378bSmrg /^X\(\/\/\)[^/].*/{ 61179ef7378bSmrg s//\1/ 61189ef7378bSmrg q 61199ef7378bSmrg } 61209ef7378bSmrg /^X\(\/\/\)$/{ 61219ef7378bSmrg s//\1/ 61229ef7378bSmrg q 61239ef7378bSmrg } 61249ef7378bSmrg /^X\(\/\).*/{ 61259ef7378bSmrg s//\1/ 61269ef7378bSmrg q 61279ef7378bSmrg } 61289ef7378bSmrg s/.*/./; q'`/stamp-h$_am_stamp_count 61299ef7378bSmrg ;; 6130c19de146Smrg 61319ef7378bSmrg :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 61329ef7378bSmrg$as_echo "$as_me: executing $ac_file commands" >&6;} 61339ef7378bSmrg ;; 61349ef7378bSmrg esac 6135c19de146Smrg 6136c19de146Smrg 61379ef7378bSmrg case $ac_file$ac_mode in 61389ef7378bSmrg "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 61399ef7378bSmrg # Autoconf 2.62 quotes --file arguments for eval, but not when files 61409ef7378bSmrg # are listed without --file. Let's play safe and only enable the eval 61419ef7378bSmrg # if we detect the quoting. 61429ef7378bSmrg case $CONFIG_FILES in 61439ef7378bSmrg *\'*) eval set x "$CONFIG_FILES" ;; 61449ef7378bSmrg *) set x $CONFIG_FILES ;; 61459ef7378bSmrg esac 61469ef7378bSmrg shift 61479ef7378bSmrg for mf 61489ef7378bSmrg do 61499ef7378bSmrg # Strip MF so we end up with the name of the file. 61509ef7378bSmrg mf=`echo "$mf" | sed -e 's/:.*$//'` 61519ef7378bSmrg # Check whether this is an Automake generated Makefile or not. 61529ef7378bSmrg # We used to match only the files named `Makefile.in', but 61539ef7378bSmrg # some people rename them; so instead we look at the file content. 61549ef7378bSmrg # Grep'ing the first line is not enough: some people post-process 61559ef7378bSmrg # each Makefile.in and add a new line on top of each file to say so. 61569ef7378bSmrg # Grep'ing the whole file is not good either: AIX grep has a line 61579ef7378bSmrg # limit of 2048, but all sed's we know have understand at least 4000. 61589ef7378bSmrg if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 61599ef7378bSmrg dirpart=`$as_dirname -- "$mf" || 6160c19de146Smrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6161c19de146Smrg X"$mf" : 'X\(//\)[^/]' \| \ 6162c19de146Smrg X"$mf" : 'X\(//\)$' \| \ 61639ef7378bSmrg X"$mf" : 'X\(/\)' \| . 2>/dev/null || 61649ef7378bSmrg$as_echo X"$mf" | 61659ef7378bSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 61669ef7378bSmrg s//\1/ 61679ef7378bSmrg q 61689ef7378bSmrg } 61699ef7378bSmrg /^X\(\/\/\)[^/].*/{ 61709ef7378bSmrg s//\1/ 61719ef7378bSmrg q 61729ef7378bSmrg } 61739ef7378bSmrg /^X\(\/\/\)$/{ 61749ef7378bSmrg s//\1/ 61759ef7378bSmrg q 61769ef7378bSmrg } 61779ef7378bSmrg /^X\(\/\).*/{ 61789ef7378bSmrg s//\1/ 61799ef7378bSmrg q 61809ef7378bSmrg } 61819ef7378bSmrg s/.*/./; q'` 61829ef7378bSmrg else 61839ef7378bSmrg continue 61849ef7378bSmrg fi 61859ef7378bSmrg # Extract the definition of DEPDIR, am__include, and am__quote 61869ef7378bSmrg # from the Makefile without running `make'. 61879ef7378bSmrg DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 61889ef7378bSmrg test -z "$DEPDIR" && continue 61899ef7378bSmrg am__include=`sed -n 's/^am__include = //p' < "$mf"` 61909ef7378bSmrg test -z "am__include" && continue 61919ef7378bSmrg am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 61929ef7378bSmrg # When using ansi2knr, U may be empty or an underscore; expand it 61939ef7378bSmrg U=`sed -n 's/^U = //p' < "$mf"` 61949ef7378bSmrg # Find all dependency output files, they are included files with 61959ef7378bSmrg # $(DEPDIR) in their names. We invoke sed twice because it is the 61969ef7378bSmrg # simplest approach to changing $(DEPDIR) to its actual value in the 61979ef7378bSmrg # expansion. 61989ef7378bSmrg for file in `sed -n " 61999ef7378bSmrg s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 62009ef7378bSmrg sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 62019ef7378bSmrg # Make sure the directory exists. 62029ef7378bSmrg test -f "$dirpart/$file" && continue 62039ef7378bSmrg fdir=`$as_dirname -- "$file" || 6204c19de146Smrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6205c19de146Smrg X"$file" : 'X\(//\)[^/]' \| \ 6206c19de146Smrg X"$file" : 'X\(//\)$' \| \ 62079ef7378bSmrg X"$file" : 'X\(/\)' \| . 2>/dev/null || 62089ef7378bSmrg$as_echo X"$file" | 62099ef7378bSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 62109ef7378bSmrg s//\1/ 62119ef7378bSmrg q 62129ef7378bSmrg } 62139ef7378bSmrg /^X\(\/\/\)[^/].*/{ 62149ef7378bSmrg s//\1/ 62159ef7378bSmrg q 62169ef7378bSmrg } 62179ef7378bSmrg /^X\(\/\/\)$/{ 62189ef7378bSmrg s//\1/ 62199ef7378bSmrg q 62209ef7378bSmrg } 62219ef7378bSmrg /^X\(\/\).*/{ 62229ef7378bSmrg s//\1/ 62239ef7378bSmrg q 62249ef7378bSmrg } 62259ef7378bSmrg s/.*/./; q'` 62269ef7378bSmrg as_dir=$dirpart/$fdir; as_fn_mkdir_p 62279ef7378bSmrg # echo "creating $dirpart/$file" 62289ef7378bSmrg echo '# dummy' > "$dirpart/$file" 6229c19de146Smrg done 6230c19de146Smrg done 62319ef7378bSmrg} 6232c19de146Smrg ;; 62339ef7378bSmrg 6234c19de146Smrg esac 62359ef7378bSmrgdone # for ac_tag 6236c19de146Smrg 6237c19de146Smrg 62389ef7378bSmrgas_fn_exit 0 6239c19de146Smrg_ACEOF 6240c19de146Smrgac_clean_files=$ac_clean_files_save 6241c19de146Smrg 62429ef7378bSmrgtest $ac_write_fail = 0 || 6243c918a7e2Smrg as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 62449ef7378bSmrg 6245c19de146Smrg 6246c19de146Smrg# configure is writing to config.log, and then calls config.status. 6247c19de146Smrg# config.status does its own redirection, appending to config.log. 6248c19de146Smrg# Unfortunately, on DOS this fails, as config.log is still kept open 6249c19de146Smrg# by configure, so config.status won't be able to write to it; its 6250c19de146Smrg# output is simply discarded. So we exec the FD to /dev/null, 6251c19de146Smrg# effectively closing config.log, so it can be properly (re)opened and 6252c19de146Smrg# appended to by config.status. When coming back to configure, we 6253c19de146Smrg# need to make the FD available again. 6254c19de146Smrgif test "$no_create" != yes; then 6255c19de146Smrg ac_cs_success=: 6256c19de146Smrg ac_config_status_args= 6257c19de146Smrg test "$silent" = yes && 6258c19de146Smrg ac_config_status_args="$ac_config_status_args --quiet" 6259c19de146Smrg exec 5>/dev/null 6260c19de146Smrg $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 6261c19de146Smrg exec 5>>config.log 6262c19de146Smrg # Use ||, not &&, to avoid exiting from the if with $? = 1, which 6263c19de146Smrg # would make configure fail if this is the last instruction. 6264c918a7e2Smrg $ac_cs_success || as_fn_exit 1 62659ef7378bSmrgfi 62669ef7378bSmrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 62679ef7378bSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 62689ef7378bSmrg$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 6269c19de146Smrgfi 6270c19de146Smrg 6271