configure revision 7e6533d5
1067610f1Smrg#! /bin/sh 2067610f1Smrg# Guess values for system-dependent variables and create Makefiles. 37e6533d5Smrg# Generated by GNU Autoconf 2.68 for xfsinfo 1.0.3. 4067610f1Smrg# 5067610f1Smrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 6067610f1Smrg# 77e6533d5Smrg# 8067610f1Smrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 97e6533d5Smrg# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 107e6533d5Smrg# Foundation, Inc. 117e6533d5Smrg# 127e6533d5Smrg# 13067610f1Smrg# This configure script is free software; the Free Software Foundation 14067610f1Smrg# gives unlimited permission to copy, distribute and modify it. 157e6533d5Smrg## -------------------- ## 167e6533d5Smrg## M4sh Initialization. ## 177e6533d5Smrg## -------------------- ## 18067610f1Smrg 19067610f1Smrg# Be more Bourne compatible 20067610f1SmrgDUALCASE=1; export DUALCASE # for MKS sh 217e6533d5Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 22067610f1Smrg emulate sh 23067610f1Smrg NULLCMD=: 247e6533d5Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 25067610f1Smrg # is contrary to our usage. Disable this feature. 26067610f1Smrg alias -g '${1+"$@"}'='"$@"' 27067610f1Smrg setopt NO_GLOB_SUBST 28067610f1Smrgelse 297e6533d5Smrg case `(set -o) 2>/dev/null` in #( 307e6533d5Smrg *posix*) : 317e6533d5Smrg set -o posix ;; #( 327e6533d5Smrg *) : 337e6533d5Smrg ;; 34067610f1Smrgesac 35067610f1Smrgfi 36067610f1Smrg 37067610f1Smrg 387e6533d5Smrgas_nl=' 397e6533d5Smrg' 407e6533d5Smrgexport as_nl 417e6533d5Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 427e6533d5Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 437e6533d5Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 447e6533d5Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 457e6533d5Smrg# Prefer a ksh shell builtin over an external printf program on Solaris, 467e6533d5Smrg# but without wasting forks for bash or zsh. 477e6533d5Smrgif test -z "$BASH_VERSION$ZSH_VERSION" \ 487e6533d5Smrg && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 497e6533d5Smrg as_echo='print -r --' 507e6533d5Smrg as_echo_n='print -rn --' 517e6533d5Smrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 527e6533d5Smrg as_echo='printf %s\n' 537e6533d5Smrg as_echo_n='printf %s' 547e6533d5Smrgelse 557e6533d5Smrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 567e6533d5Smrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 577e6533d5Smrg as_echo_n='/usr/ucb/echo -n' 58067610f1Smrg else 597e6533d5Smrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 607e6533d5Smrg as_echo_n_body='eval 617e6533d5Smrg arg=$1; 627e6533d5Smrg case $arg in #( 637e6533d5Smrg *"$as_nl"*) 647e6533d5Smrg expr "X$arg" : "X\\(.*\\)$as_nl"; 657e6533d5Smrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 667e6533d5Smrg esac; 677e6533d5Smrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 687e6533d5Smrg ' 697e6533d5Smrg export as_echo_n_body 707e6533d5Smrg as_echo_n='sh -c $as_echo_n_body as_echo' 71067610f1Smrg fi 727e6533d5Smrg export as_echo_body 737e6533d5Smrg as_echo='sh -c $as_echo_body as_echo' 74067610f1Smrgfi 75067610f1Smrg 767e6533d5Smrg# The user is always right. 777e6533d5Smrgif test "${PATH_SEPARATOR+set}" != set; then 787e6533d5Smrg PATH_SEPARATOR=: 797e6533d5Smrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 807e6533d5Smrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 817e6533d5Smrg PATH_SEPARATOR=';' 827e6533d5Smrg } 83067610f1Smrgfi 84067610f1Smrg 85067610f1Smrg 86067610f1Smrg# IFS 87067610f1Smrg# We need space, tab and new line, in precisely that order. Quoting is 88067610f1Smrg# there to prevent editors from complaining about space-tab. 89067610f1Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 90067610f1Smrg# splitting by setting IFS to empty value.) 91067610f1SmrgIFS=" "" $as_nl" 92067610f1Smrg 93067610f1Smrg# Find who we are. Look in the path if we contain no directory separator. 947e6533d5Smrgas_myself= 957e6533d5Smrgcase $0 in #(( 96067610f1Smrg *[\\/]* ) as_myself=$0 ;; 97067610f1Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 98067610f1Smrgfor as_dir in $PATH 99067610f1Smrgdo 100067610f1Smrg IFS=$as_save_IFS 101067610f1Smrg test -z "$as_dir" && as_dir=. 1027e6533d5Smrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 1037e6533d5Smrg done 104067610f1SmrgIFS=$as_save_IFS 105067610f1Smrg 106067610f1Smrg ;; 107067610f1Smrgesac 108067610f1Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 109067610f1Smrg# in which case we are not to be found in the path. 110067610f1Smrgif test "x$as_myself" = x; then 111067610f1Smrg as_myself=$0 112067610f1Smrgfi 113067610f1Smrgif test ! -f "$as_myself"; then 1147e6533d5Smrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 1157e6533d5Smrg exit 1 116067610f1Smrgfi 117067610f1Smrg 1187e6533d5Smrg# Unset variables that we do not need and which cause bugs (e.g. in 1197e6533d5Smrg# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 1207e6533d5Smrg# suppresses any "Segmentation fault" message there. '((' could 1217e6533d5Smrg# trigger a bug in pdksh 5.2.14. 1227e6533d5Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH 1237e6533d5Smrgdo eval test x\${$as_var+set} = xset \ 1247e6533d5Smrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 125067610f1Smrgdone 126067610f1SmrgPS1='$ ' 127067610f1SmrgPS2='> ' 128067610f1SmrgPS4='+ ' 129067610f1Smrg 130067610f1Smrg# NLS nuisances. 1317e6533d5SmrgLC_ALL=C 1327e6533d5Smrgexport LC_ALL 1337e6533d5SmrgLANGUAGE=C 1347e6533d5Smrgexport LANGUAGE 1357e6533d5Smrg 1367e6533d5Smrg# CDPATH. 1377e6533d5Smrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 1387e6533d5Smrg 1397e6533d5Smrgif test "x$CONFIG_SHELL" = x; then 1407e6533d5Smrg as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 1417e6533d5Smrg emulate sh 1427e6533d5Smrg NULLCMD=: 1437e6533d5Smrg # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 1447e6533d5Smrg # is contrary to our usage. Disable this feature. 1457e6533d5Smrg alias -g '\${1+\"\$@\"}'='\"\$@\"' 1467e6533d5Smrg setopt NO_GLOB_SUBST 1477e6533d5Smrgelse 1487e6533d5Smrg case \`(set -o) 2>/dev/null\` in #( 1497e6533d5Smrg *posix*) : 1507e6533d5Smrg set -o posix ;; #( 1517e6533d5Smrg *) : 1527e6533d5Smrg ;; 1537e6533d5Smrgesac 1547e6533d5Smrgfi 1557e6533d5Smrg" 1567e6533d5Smrg as_required="as_fn_return () { (exit \$1); } 1577e6533d5Smrgas_fn_success () { as_fn_return 0; } 1587e6533d5Smrgas_fn_failure () { as_fn_return 1; } 1597e6533d5Smrgas_fn_ret_success () { return 0; } 1607e6533d5Smrgas_fn_ret_failure () { return 1; } 1617e6533d5Smrg 1627e6533d5Smrgexitcode=0 1637e6533d5Smrgas_fn_success || { exitcode=1; echo as_fn_success failed.; } 1647e6533d5Smrgas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 1657e6533d5Smrgas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 1667e6533d5Smrgas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 1677e6533d5Smrgif ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 1687e6533d5Smrg 1697e6533d5Smrgelse 1707e6533d5Smrg exitcode=1; echo positional parameters were not saved. 1717e6533d5Smrgfi 1727e6533d5Smrgtest x\$exitcode = x0 || exit 1" 1737e6533d5Smrg as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 1747e6533d5Smrg as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 1757e6533d5Smrg eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 1767e6533d5Smrg test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 1777e6533d5Smrgtest \$(( 1 + 1 )) = 2 || exit 1" 1787e6533d5Smrg if (eval "$as_required") 2>/dev/null; then : 1797e6533d5Smrg as_have_required=yes 1807e6533d5Smrgelse 1817e6533d5Smrg as_have_required=no 1827e6533d5Smrgfi 1837e6533d5Smrg if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 1847e6533d5Smrg 1857e6533d5Smrgelse 1867e6533d5Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1877e6533d5Smrgas_found=false 1887e6533d5Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 189067610f1Smrgdo 1907e6533d5Smrg IFS=$as_save_IFS 1917e6533d5Smrg test -z "$as_dir" && as_dir=. 1927e6533d5Smrg as_found=: 1937e6533d5Smrg case $as_dir in #( 1947e6533d5Smrg /*) 1957e6533d5Smrg for as_base in sh bash ksh sh5; do 1967e6533d5Smrg # Try only shells that exist, to save several forks. 1977e6533d5Smrg as_shell=$as_dir/$as_base 1987e6533d5Smrg if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 1997e6533d5Smrg { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 2007e6533d5Smrg CONFIG_SHELL=$as_shell as_have_required=yes 2017e6533d5Smrg if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 2027e6533d5Smrg break 2 2037e6533d5Smrgfi 2047e6533d5Smrgfi 2057e6533d5Smrg done;; 2067e6533d5Smrg esac 2077e6533d5Smrg as_found=false 2087e6533d5Smrgdone 2097e6533d5Smrg$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 2107e6533d5Smrg { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 2117e6533d5Smrg CONFIG_SHELL=$SHELL as_have_required=yes 2127e6533d5Smrgfi; } 2137e6533d5SmrgIFS=$as_save_IFS 2147e6533d5Smrg 2157e6533d5Smrg 2167e6533d5Smrg if test "x$CONFIG_SHELL" != x; then : 2177e6533d5Smrg # We cannot yet assume a decent shell, so we have to provide a 2187e6533d5Smrg # neutralization value for shells without unset; and this also 2197e6533d5Smrg # works around shells that cannot unset nonexistent variables. 2207e6533d5Smrg # Preserve -v and -x to the replacement shell. 2217e6533d5Smrg BASH_ENV=/dev/null 2227e6533d5Smrg ENV=/dev/null 2237e6533d5Smrg (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 2247e6533d5Smrg export CONFIG_SHELL 2257e6533d5Smrg case $- in # (((( 2267e6533d5Smrg *v*x* | *x*v* ) as_opts=-vx ;; 2277e6533d5Smrg *v* ) as_opts=-v ;; 2287e6533d5Smrg *x* ) as_opts=-x ;; 2297e6533d5Smrg * ) as_opts= ;; 2307e6533d5Smrg esac 2317e6533d5Smrg exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 2327e6533d5Smrgfi 2337e6533d5Smrg 2347e6533d5Smrg if test x$as_have_required = xno; then : 2357e6533d5Smrg $as_echo "$0: This script requires a shell more modern than all" 2367e6533d5Smrg $as_echo "$0: the shells that I found on your system." 2377e6533d5Smrg if test x${ZSH_VERSION+set} = xset ; then 2387e6533d5Smrg $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 2397e6533d5Smrg $as_echo "$0: be upgraded to zsh 4.3.4 or later." 240067610f1Smrg else 2417e6533d5Smrg $as_echo "$0: Please tell bug-autoconf@gnu.org and 2427e6533d5Smrg$0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg 2437e6533d5Smrg$0: about your system, including any error possibly output 2447e6533d5Smrg$0: before this message. Then install a modern shell, or 2457e6533d5Smrg$0: manually run the script under such a shell if you do 2467e6533d5Smrg$0: have one." 247067610f1Smrg fi 2487e6533d5Smrg exit 1 2497e6533d5Smrgfi 2507e6533d5Smrgfi 2517e6533d5Smrgfi 2527e6533d5SmrgSHELL=${CONFIG_SHELL-/bin/sh} 2537e6533d5Smrgexport SHELL 2547e6533d5Smrg# Unset more variables known to interfere with behavior of common tools. 2557e6533d5SmrgCLICOLOR_FORCE= GREP_OPTIONS= 2567e6533d5Smrgunset CLICOLOR_FORCE GREP_OPTIONS 2577e6533d5Smrg 2587e6533d5Smrg## --------------------- ## 2597e6533d5Smrg## M4sh Shell Functions. ## 2607e6533d5Smrg## --------------------- ## 2617e6533d5Smrg# as_fn_unset VAR 2627e6533d5Smrg# --------------- 2637e6533d5Smrg# Portably unset VAR. 2647e6533d5Smrgas_fn_unset () 2657e6533d5Smrg{ 2667e6533d5Smrg { eval $1=; unset $1;} 2677e6533d5Smrg} 2687e6533d5Smrgas_unset=as_fn_unset 2697e6533d5Smrg 2707e6533d5Smrg# as_fn_set_status STATUS 2717e6533d5Smrg# ----------------------- 2727e6533d5Smrg# Set $? to STATUS, without forking. 2737e6533d5Smrgas_fn_set_status () 2747e6533d5Smrg{ 2757e6533d5Smrg return $1 2767e6533d5Smrg} # as_fn_set_status 2777e6533d5Smrg 2787e6533d5Smrg# as_fn_exit STATUS 2797e6533d5Smrg# ----------------- 2807e6533d5Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 2817e6533d5Smrgas_fn_exit () 2827e6533d5Smrg{ 2837e6533d5Smrg set +e 2847e6533d5Smrg as_fn_set_status $1 2857e6533d5Smrg exit $1 2867e6533d5Smrg} # as_fn_exit 2877e6533d5Smrg 2887e6533d5Smrg# as_fn_mkdir_p 2897e6533d5Smrg# ------------- 2907e6533d5Smrg# Create "$as_dir" as a directory, including parents if necessary. 2917e6533d5Smrgas_fn_mkdir_p () 2927e6533d5Smrg{ 2937e6533d5Smrg 2947e6533d5Smrg case $as_dir in #( 2957e6533d5Smrg -*) as_dir=./$as_dir;; 2967e6533d5Smrg esac 2977e6533d5Smrg test -d "$as_dir" || eval $as_mkdir_p || { 2987e6533d5Smrg as_dirs= 2997e6533d5Smrg while :; do 3007e6533d5Smrg case $as_dir in #( 3017e6533d5Smrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 3027e6533d5Smrg *) as_qdir=$as_dir;; 3037e6533d5Smrg esac 3047e6533d5Smrg as_dirs="'$as_qdir' $as_dirs" 3057e6533d5Smrg as_dir=`$as_dirname -- "$as_dir" || 3067e6533d5Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3077e6533d5Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 3087e6533d5Smrg X"$as_dir" : 'X\(//\)$' \| \ 3097e6533d5Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 3107e6533d5Smrg$as_echo X"$as_dir" | 3117e6533d5Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3127e6533d5Smrg s//\1/ 3137e6533d5Smrg q 3147e6533d5Smrg } 3157e6533d5Smrg /^X\(\/\/\)[^/].*/{ 3167e6533d5Smrg s//\1/ 3177e6533d5Smrg q 3187e6533d5Smrg } 3197e6533d5Smrg /^X\(\/\/\)$/{ 3207e6533d5Smrg s//\1/ 3217e6533d5Smrg q 3227e6533d5Smrg } 3237e6533d5Smrg /^X\(\/\).*/{ 3247e6533d5Smrg s//\1/ 3257e6533d5Smrg q 3267e6533d5Smrg } 3277e6533d5Smrg s/.*/./; q'` 3287e6533d5Smrg test -d "$as_dir" && break 3297e6533d5Smrg done 3307e6533d5Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 3317e6533d5Smrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 3327e6533d5Smrg 3337e6533d5Smrg 3347e6533d5Smrg} # as_fn_mkdir_p 3357e6533d5Smrg# as_fn_append VAR VALUE 3367e6533d5Smrg# ---------------------- 3377e6533d5Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take 3387e6533d5Smrg# advantage of any shell optimizations that allow amortized linear growth over 3397e6533d5Smrg# repeated appends, instead of the typical quadratic growth present in naive 3407e6533d5Smrg# implementations. 3417e6533d5Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 3427e6533d5Smrg eval 'as_fn_append () 3437e6533d5Smrg { 3447e6533d5Smrg eval $1+=\$2 3457e6533d5Smrg }' 3467e6533d5Smrgelse 3477e6533d5Smrg as_fn_append () 3487e6533d5Smrg { 3497e6533d5Smrg eval $1=\$$1\$2 3507e6533d5Smrg } 3517e6533d5Smrgfi # as_fn_append 3527e6533d5Smrg 3537e6533d5Smrg# as_fn_arith ARG... 3547e6533d5Smrg# ------------------ 3557e6533d5Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the 3567e6533d5Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 3577e6533d5Smrg# must be portable across $(()) and expr. 3587e6533d5Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 3597e6533d5Smrg eval 'as_fn_arith () 3607e6533d5Smrg { 3617e6533d5Smrg as_val=$(( $* )) 3627e6533d5Smrg }' 3637e6533d5Smrgelse 3647e6533d5Smrg as_fn_arith () 3657e6533d5Smrg { 3667e6533d5Smrg as_val=`expr "$@" || test $? -eq 1` 3677e6533d5Smrg } 3687e6533d5Smrgfi # as_fn_arith 3697e6533d5Smrg 3707e6533d5Smrg 3717e6533d5Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 3727e6533d5Smrg# ---------------------------------------- 3737e6533d5Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 3747e6533d5Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 3757e6533d5Smrg# script with STATUS, using 1 if that was 0. 3767e6533d5Smrgas_fn_error () 3777e6533d5Smrg{ 3787e6533d5Smrg as_status=$1; test $as_status -eq 0 && as_status=1 3797e6533d5Smrg if test "$4"; then 3807e6533d5Smrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 3817e6533d5Smrg $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 3827e6533d5Smrg fi 3837e6533d5Smrg $as_echo "$as_me: error: $2" >&2 3847e6533d5Smrg as_fn_exit $as_status 3857e6533d5Smrg} # as_fn_error 386067610f1Smrg 387067610f1Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 388067610f1Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 389067610f1Smrg as_expr=expr 390067610f1Smrgelse 391067610f1Smrg as_expr=false 392067610f1Smrgfi 393067610f1Smrg 394067610f1Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 395067610f1Smrg as_basename=basename 396067610f1Smrgelse 397067610f1Smrg as_basename=false 398067610f1Smrgfi 399067610f1Smrg 4007e6533d5Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 4017e6533d5Smrg as_dirname=dirname 4027e6533d5Smrgelse 4037e6533d5Smrg as_dirname=false 4047e6533d5Smrgfi 405067610f1Smrg 406067610f1Smrgas_me=`$as_basename -- "$0" || 407067610f1Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 408067610f1Smrg X"$0" : 'X\(//\)$' \| \ 409067610f1Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 4107e6533d5Smrg$as_echo X/"$0" | 411067610f1Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 412067610f1Smrg s//\1/ 413067610f1Smrg q 414067610f1Smrg } 415067610f1Smrg /^X\/\(\/\/\)$/{ 416067610f1Smrg s//\1/ 417067610f1Smrg q 418067610f1Smrg } 419067610f1Smrg /^X\/\(\/\).*/{ 420067610f1Smrg s//\1/ 421067610f1Smrg q 422067610f1Smrg } 423067610f1Smrg s/.*/./; q'` 424067610f1Smrg 4257e6533d5Smrg# Avoid depending upon Character Ranges. 4267e6533d5Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 4277e6533d5Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 4287e6533d5Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 4297e6533d5Smrgas_cr_digits='0123456789' 4307e6533d5Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 431067610f1Smrg 432067610f1Smrg 4337e6533d5Smrg as_lineno_1=$LINENO as_lineno_1a=$LINENO 4347e6533d5Smrg as_lineno_2=$LINENO as_lineno_2a=$LINENO 4357e6533d5Smrg eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 4367e6533d5Smrg test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 4377e6533d5Smrg # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 4387e6533d5Smrg sed -n ' 4397e6533d5Smrg p 4407e6533d5Smrg /[$]LINENO/= 4417e6533d5Smrg ' <$as_myself | 4427e6533d5Smrg sed ' 4437e6533d5Smrg s/[$]LINENO.*/&-/ 4447e6533d5Smrg t lineno 4457e6533d5Smrg b 4467e6533d5Smrg :lineno 4477e6533d5Smrg N 4487e6533d5Smrg :loop 4497e6533d5Smrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 4507e6533d5Smrg t loop 4517e6533d5Smrg s/-\n.*// 4527e6533d5Smrg ' >$as_me.lineno && 4537e6533d5Smrg chmod +x "$as_me.lineno" || 4547e6533d5Smrg { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 455067610f1Smrg 4567e6533d5Smrg # Don't try to exec as it changes $[0], causing all sort of problems 4577e6533d5Smrg # (the dirname of $[0] is not the place where we might find the 4587e6533d5Smrg # original and so on. Autoconf is especially sensitive to this). 4597e6533d5Smrg . "./$as_me.lineno" 4607e6533d5Smrg # Exit status is that of the last command. 4617e6533d5Smrg exit 462067610f1Smrg} 463067610f1Smrg 4647e6533d5SmrgECHO_C= ECHO_N= ECHO_T= 4657e6533d5Smrgcase `echo -n x` in #((((( 4667e6533d5Smrg-n*) 4677e6533d5Smrg case `echo 'xy\c'` in 4687e6533d5Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 4697e6533d5Smrg xy) ECHO_C='\c';; 4707e6533d5Smrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 4717e6533d5Smrg ECHO_T=' ';; 4727e6533d5Smrg esac;; 4737e6533d5Smrg*) 4747e6533d5Smrg ECHO_N='-n';; 4757e6533d5Smrgesac 476067610f1Smrg 4777e6533d5Smrgrm -f conf$$ conf$$.exe conf$$.file 4787e6533d5Smrgif test -d conf$$.dir; then 4797e6533d5Smrg rm -f conf$$.dir/conf$$.file 480067610f1Smrgelse 4817e6533d5Smrg rm -f conf$$.dir 4827e6533d5Smrg mkdir conf$$.dir 2>/dev/null 4837e6533d5Smrgfi 4847e6533d5Smrgif (echo >conf$$.file) 2>/dev/null; then 4857e6533d5Smrg if ln -s conf$$.file conf$$ 2>/dev/null; then 4867e6533d5Smrg as_ln_s='ln -s' 4877e6533d5Smrg # ... but there are two gotchas: 4887e6533d5Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 4897e6533d5Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 4907e6533d5Smrg # In both cases, we have to default to `cp -p'. 4917e6533d5Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 4927e6533d5Smrg as_ln_s='cp -p' 4937e6533d5Smrg elif ln conf$$.file conf$$ 2>/dev/null; then 4947e6533d5Smrg as_ln_s=ln 4957e6533d5Smrg else 4967e6533d5Smrg as_ln_s='cp -p' 4977e6533d5Smrg fi 498067610f1Smrgelse 4997e6533d5Smrg as_ln_s='cp -p' 500067610f1Smrgfi 5017e6533d5Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5027e6533d5Smrgrmdir conf$$.dir 2>/dev/null 503067610f1Smrg 5047e6533d5Smrgif mkdir -p . 2>/dev/null; then 5057e6533d5Smrg as_mkdir_p='mkdir -p "$as_dir"' 506067610f1Smrgelse 5077e6533d5Smrg test -d ./-p && rmdir ./-p 5087e6533d5Smrg as_mkdir_p=false 5097e6533d5Smrgfi 510067610f1Smrg 5117e6533d5Smrgif test -x / >/dev/null 2>&1; then 5127e6533d5Smrg as_test_x='test -x' 513067610f1Smrgelse 5147e6533d5Smrg if ls -dL / >/dev/null 2>&1; then 5157e6533d5Smrg as_ls_L_option=L 5167e6533d5Smrg else 5177e6533d5Smrg as_ls_L_option= 5187e6533d5Smrg fi 5197e6533d5Smrg as_test_x=' 5207e6533d5Smrg eval sh -c '\'' 5217e6533d5Smrg if test -d "$1"; then 5227e6533d5Smrg test -d "$1/."; 5237e6533d5Smrg else 5247e6533d5Smrg case $1 in #( 5257e6533d5Smrg -*)set "./$1";; 5267e6533d5Smrg esac; 5277e6533d5Smrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 5287e6533d5Smrg ???[sx]*):;;*)false;;esac;fi 5297e6533d5Smrg '\'' sh 5307e6533d5Smrg ' 531067610f1Smrgfi 5327e6533d5Smrgas_executable_p=$as_test_x 533067610f1Smrg 5347e6533d5Smrg# Sed expression to map a string onto a valid CPP name. 5357e6533d5Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 536067610f1Smrg 5377e6533d5Smrg# Sed expression to map a string onto a valid variable name. 5387e6533d5Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 539067610f1Smrg 540067610f1Smrg 5417e6533d5Smrgtest -n "$DJDIR" || exec 7<&0 </dev/null 5427e6533d5Smrgexec 6>&1 543067610f1Smrg 544067610f1Smrg# Name of the host. 5457e6533d5Smrg# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 546067610f1Smrg# so uname gets run too. 547067610f1Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 548067610f1Smrg 549067610f1Smrg# 550067610f1Smrg# Initializations. 551067610f1Smrg# 552067610f1Smrgac_default_prefix=/usr/local 553067610f1Smrgac_clean_files= 554067610f1Smrgac_config_libobj_dir=. 555067610f1SmrgLIBOBJS= 556067610f1Smrgcross_compiling=no 557067610f1Smrgsubdirs= 558067610f1SmrgMFLAGS= 559067610f1SmrgMAKEFLAGS= 560067610f1Smrg 561067610f1Smrg# Identity of this package. 562067610f1SmrgPACKAGE_NAME='xfsinfo' 563067610f1SmrgPACKAGE_TARNAME='xfsinfo' 5647e6533d5SmrgPACKAGE_VERSION='1.0.3' 5657e6533d5SmrgPACKAGE_STRING='xfsinfo 1.0.3' 566067610f1SmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 5677e6533d5SmrgPACKAGE_URL='' 568067610f1Smrg 5697e6533d5Smrg# Factoring default headers for most tests. 5707e6533d5Smrgac_includes_default="\ 5717e6533d5Smrg#include <stdio.h> 5727e6533d5Smrg#ifdef HAVE_SYS_TYPES_H 5737e6533d5Smrg# include <sys/types.h> 5747e6533d5Smrg#endif 5757e6533d5Smrg#ifdef HAVE_SYS_STAT_H 5767e6533d5Smrg# include <sys/stat.h> 5777e6533d5Smrg#endif 5787e6533d5Smrg#ifdef STDC_HEADERS 5797e6533d5Smrg# include <stdlib.h> 5807e6533d5Smrg# include <stddef.h> 5817e6533d5Smrg#else 5827e6533d5Smrg# ifdef HAVE_STDLIB_H 5837e6533d5Smrg# include <stdlib.h> 5847e6533d5Smrg# endif 5857e6533d5Smrg#endif 5867e6533d5Smrg#ifdef HAVE_STRING_H 5877e6533d5Smrg# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 5887e6533d5Smrg# include <memory.h> 5897e6533d5Smrg# endif 5907e6533d5Smrg# include <string.h> 5917e6533d5Smrg#endif 5927e6533d5Smrg#ifdef HAVE_STRINGS_H 5937e6533d5Smrg# include <strings.h> 5947e6533d5Smrg#endif 5957e6533d5Smrg#ifdef HAVE_INTTYPES_H 5967e6533d5Smrg# include <inttypes.h> 5977e6533d5Smrg#endif 5987e6533d5Smrg#ifdef HAVE_STDINT_H 5997e6533d5Smrg# include <stdint.h> 6007e6533d5Smrg#endif 6017e6533d5Smrg#ifdef HAVE_UNISTD_H 6027e6533d5Smrg# include <unistd.h> 6037e6533d5Smrg#endif" 6047e6533d5Smrg 6057e6533d5Smrgac_subst_vars='am__EXEEXT_FALSE 6067e6533d5Smrgam__EXEEXT_TRUE 6077e6533d5SmrgLTLIBOBJS 6087e6533d5SmrgLIBOBJS 609067610f1SmrgXFSINFO_LIBS 6107e6533d5SmrgXFSINFO_CFLAGS 6117e6533d5SmrgAM_BACKSLASH 6127e6533d5SmrgAM_DEFAULT_VERBOSITY 6137e6533d5SmrgMAN_SUBSTS 6147e6533d5SmrgXORG_MAN_PAGE 615067610f1SmrgADMIN_MAN_DIR 6167e6533d5SmrgDRIVER_MAN_DIR 6177e6533d5SmrgMISC_MAN_DIR 6187e6533d5SmrgFILE_MAN_DIR 6197e6533d5SmrgLIB_MAN_DIR 6207e6533d5SmrgAPP_MAN_DIR 6217e6533d5SmrgADMIN_MAN_SUFFIX 6227e6533d5SmrgDRIVER_MAN_SUFFIX 6237e6533d5SmrgMISC_MAN_SUFFIX 6247e6533d5SmrgFILE_MAN_SUFFIX 6257e6533d5SmrgLIB_MAN_SUFFIX 6267e6533d5SmrgAPP_MAN_SUFFIX 6277e6533d5SmrgSED 6287e6533d5Smrghost_os 6297e6533d5Smrghost_vendor 6307e6533d5Smrghost_cpu 6317e6533d5Smrghost 6327e6533d5Smrgbuild_os 6337e6533d5Smrgbuild_vendor 6347e6533d5Smrgbuild_cpu 6357e6533d5Smrgbuild 6367e6533d5SmrgINSTALL_CMD 6377e6533d5SmrgPKG_CONFIG 6387e6533d5SmrgCHANGELOG_CMD 6397e6533d5SmrgCWARNFLAGS 6407e6533d5SmrgEGREP 6417e6533d5SmrgGREP 6427e6533d5SmrgCPP 6437e6533d5Smrgam__fastdepCC_FALSE 6447e6533d5Smrgam__fastdepCC_TRUE 6457e6533d5SmrgCCDEPMODE 6467e6533d5SmrgAMDEPBACKSLASH 6477e6533d5SmrgAMDEP_FALSE 6487e6533d5SmrgAMDEP_TRUE 6497e6533d5Smrgam__quote 6507e6533d5Smrgam__include 6517e6533d5SmrgDEPDIR 6527e6533d5SmrgOBJEXT 6537e6533d5SmrgEXEEXT 6547e6533d5Smrgac_ct_CC 6557e6533d5SmrgCPPFLAGS 6567e6533d5SmrgLDFLAGS 6577e6533d5SmrgCFLAGS 6587e6533d5SmrgCC 6597e6533d5SmrgMAINT 6607e6533d5SmrgMAINTAINER_MODE_FALSE 6617e6533d5SmrgMAINTAINER_MODE_TRUE 6627e6533d5Smrgam__untar 6637e6533d5Smrgam__tar 6647e6533d5SmrgAMTAR 6657e6533d5Smrgam__leading_dot 6667e6533d5SmrgSET_MAKE 6677e6533d5SmrgAWK 6687e6533d5Smrgmkdir_p 6697e6533d5SmrgMKDIR_P 6707e6533d5SmrgINSTALL_STRIP_PROGRAM 6717e6533d5SmrgSTRIP 6727e6533d5Smrginstall_sh 6737e6533d5SmrgMAKEINFO 6747e6533d5SmrgAUTOHEADER 6757e6533d5SmrgAUTOMAKE 6767e6533d5SmrgAUTOCONF 6777e6533d5SmrgACLOCAL 6787e6533d5SmrgVERSION 6797e6533d5SmrgPACKAGE 6807e6533d5SmrgCYGPATH_W 6817e6533d5Smrgam__isrc 6827e6533d5SmrgINSTALL_DATA 6837e6533d5SmrgINSTALL_SCRIPT 6847e6533d5SmrgINSTALL_PROGRAM 6857e6533d5Smrgtarget_alias 6867e6533d5Smrghost_alias 6877e6533d5Smrgbuild_alias 6887e6533d5SmrgLIBS 6897e6533d5SmrgECHO_T 6907e6533d5SmrgECHO_N 6917e6533d5SmrgECHO_C 6927e6533d5SmrgDEFS 6937e6533d5Smrgmandir 6947e6533d5Smrglocaledir 6957e6533d5Smrglibdir 6967e6533d5Smrgpsdir 6977e6533d5Smrgpdfdir 6987e6533d5Smrgdvidir 6997e6533d5Smrghtmldir 7007e6533d5Smrginfodir 7017e6533d5Smrgdocdir 7027e6533d5Smrgoldincludedir 7037e6533d5Smrgincludedir 7047e6533d5Smrglocalstatedir 7057e6533d5Smrgsharedstatedir 7067e6533d5Smrgsysconfdir 7077e6533d5Smrgdatadir 7087e6533d5Smrgdatarootdir 7097e6533d5Smrglibexecdir 7107e6533d5Smrgsbindir 7117e6533d5Smrgbindir 7127e6533d5Smrgprogram_transform_name 7137e6533d5Smrgprefix 7147e6533d5Smrgexec_prefix 7157e6533d5SmrgPACKAGE_URL 7167e6533d5SmrgPACKAGE_BUGREPORT 7177e6533d5SmrgPACKAGE_STRING 7187e6533d5SmrgPACKAGE_VERSION 7197e6533d5SmrgPACKAGE_TARNAME 7207e6533d5SmrgPACKAGE_NAME 7217e6533d5SmrgPATH_SEPARATOR 7227e6533d5SmrgSHELL' 723067610f1Smrgac_subst_files='' 7247e6533d5Smrgac_user_opts=' 7257e6533d5Smrgenable_option_checking 7267e6533d5Smrgenable_maintainer_mode 7277e6533d5Smrgenable_dependency_tracking 7287e6533d5Smrgenable_strict_compilation 7297e6533d5Smrgenable_silent_rules 7307e6533d5Smrg' 731067610f1Smrg ac_precious_vars='build_alias 732067610f1Smrghost_alias 733067610f1Smrgtarget_alias 734067610f1SmrgCC 735067610f1SmrgCFLAGS 736067610f1SmrgLDFLAGS 737067610f1SmrgLIBS 738067610f1SmrgCPPFLAGS 7397e6533d5SmrgCPP 740067610f1SmrgPKG_CONFIG 741067610f1SmrgXFSINFO_CFLAGS 742067610f1SmrgXFSINFO_LIBS' 743067610f1Smrg 744067610f1Smrg 745067610f1Smrg# Initialize some variables set by options. 746067610f1Smrgac_init_help= 747067610f1Smrgac_init_version=false 7487e6533d5Smrgac_unrecognized_opts= 7497e6533d5Smrgac_unrecognized_sep= 750067610f1Smrg# The variables have the same names as the options, with 751067610f1Smrg# dashes changed to underlines. 752067610f1Smrgcache_file=/dev/null 753067610f1Smrgexec_prefix=NONE 754067610f1Smrgno_create= 755067610f1Smrgno_recursion= 756067610f1Smrgprefix=NONE 757067610f1Smrgprogram_prefix=NONE 758067610f1Smrgprogram_suffix=NONE 759067610f1Smrgprogram_transform_name=s,x,x, 760067610f1Smrgsilent= 761067610f1Smrgsite= 762067610f1Smrgsrcdir= 763067610f1Smrgverbose= 764067610f1Smrgx_includes=NONE 765067610f1Smrgx_libraries=NONE 766067610f1Smrg 767067610f1Smrg# Installation directory options. 768067610f1Smrg# These are left unexpanded so users can "make install exec_prefix=/foo" 769067610f1Smrg# and all the variables that are supposed to be based on exec_prefix 770067610f1Smrg# by default will actually change. 771067610f1Smrg# Use braces instead of parens because sh, perl, etc. also accept them. 772067610f1Smrg# (The list follows the same order as the GNU Coding Standards.) 773067610f1Smrgbindir='${exec_prefix}/bin' 774067610f1Smrgsbindir='${exec_prefix}/sbin' 775067610f1Smrglibexecdir='${exec_prefix}/libexec' 776067610f1Smrgdatarootdir='${prefix}/share' 777067610f1Smrgdatadir='${datarootdir}' 778067610f1Smrgsysconfdir='${prefix}/etc' 779067610f1Smrgsharedstatedir='${prefix}/com' 780067610f1Smrglocalstatedir='${prefix}/var' 781067610f1Smrgincludedir='${prefix}/include' 782067610f1Smrgoldincludedir='/usr/include' 783067610f1Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 784067610f1Smrginfodir='${datarootdir}/info' 785067610f1Smrghtmldir='${docdir}' 786067610f1Smrgdvidir='${docdir}' 787067610f1Smrgpdfdir='${docdir}' 788067610f1Smrgpsdir='${docdir}' 789067610f1Smrglibdir='${exec_prefix}/lib' 790067610f1Smrglocaledir='${datarootdir}/locale' 791067610f1Smrgmandir='${datarootdir}/man' 792067610f1Smrg 793067610f1Smrgac_prev= 794067610f1Smrgac_dashdash= 795067610f1Smrgfor ac_option 796067610f1Smrgdo 797067610f1Smrg # If the previous option needs an argument, assign it. 798067610f1Smrg if test -n "$ac_prev"; then 799067610f1Smrg eval $ac_prev=\$ac_option 800067610f1Smrg ac_prev= 801067610f1Smrg continue 802067610f1Smrg fi 803067610f1Smrg 804067610f1Smrg case $ac_option in 8057e6533d5Smrg *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 8067e6533d5Smrg *=) ac_optarg= ;; 8077e6533d5Smrg *) ac_optarg=yes ;; 808067610f1Smrg esac 809067610f1Smrg 810067610f1Smrg # Accept the important Cygnus configure options, so we can diagnose typos. 811067610f1Smrg 812067610f1Smrg case $ac_dashdash$ac_option in 813067610f1Smrg --) 814067610f1Smrg ac_dashdash=yes ;; 815067610f1Smrg 816067610f1Smrg -bindir | --bindir | --bindi | --bind | --bin | --bi) 817067610f1Smrg ac_prev=bindir ;; 818067610f1Smrg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 819067610f1Smrg bindir=$ac_optarg ;; 820067610f1Smrg 821067610f1Smrg -build | --build | --buil | --bui | --bu) 822067610f1Smrg ac_prev=build_alias ;; 823067610f1Smrg -build=* | --build=* | --buil=* | --bui=* | --bu=*) 824067610f1Smrg build_alias=$ac_optarg ;; 825067610f1Smrg 826067610f1Smrg -cache-file | --cache-file | --cache-fil | --cache-fi \ 827067610f1Smrg | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 828067610f1Smrg ac_prev=cache_file ;; 829067610f1Smrg -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 830067610f1Smrg | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 831067610f1Smrg cache_file=$ac_optarg ;; 832067610f1Smrg 833067610f1Smrg --config-cache | -C) 834067610f1Smrg cache_file=config.cache ;; 835067610f1Smrg 836067610f1Smrg -datadir | --datadir | --datadi | --datad) 837067610f1Smrg ac_prev=datadir ;; 838067610f1Smrg -datadir=* | --datadir=* | --datadi=* | --datad=*) 839067610f1Smrg datadir=$ac_optarg ;; 840067610f1Smrg 841067610f1Smrg -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 842067610f1Smrg | --dataroo | --dataro | --datar) 843067610f1Smrg ac_prev=datarootdir ;; 844067610f1Smrg -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 845067610f1Smrg | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 846067610f1Smrg datarootdir=$ac_optarg ;; 847067610f1Smrg 848067610f1Smrg -disable-* | --disable-*) 8497e6533d5Smrg ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 850067610f1Smrg # Reject names that are not valid shell variable names. 8517e6533d5Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 8527e6533d5Smrg as_fn_error $? "invalid feature name: $ac_useropt" 8537e6533d5Smrg ac_useropt_orig=$ac_useropt 8547e6533d5Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 8557e6533d5Smrg case $ac_user_opts in 8567e6533d5Smrg *" 8577e6533d5Smrg"enable_$ac_useropt" 8587e6533d5Smrg"*) ;; 8597e6533d5Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 8607e6533d5Smrg ac_unrecognized_sep=', ';; 8617e6533d5Smrg esac 8627e6533d5Smrg eval enable_$ac_useropt=no ;; 863067610f1Smrg 864067610f1Smrg -docdir | --docdir | --docdi | --doc | --do) 865067610f1Smrg ac_prev=docdir ;; 866067610f1Smrg -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 867067610f1Smrg docdir=$ac_optarg ;; 868067610f1Smrg 869067610f1Smrg -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 870067610f1Smrg ac_prev=dvidir ;; 871067610f1Smrg -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 872067610f1Smrg dvidir=$ac_optarg ;; 873067610f1Smrg 874067610f1Smrg -enable-* | --enable-*) 8757e6533d5Smrg ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 876067610f1Smrg # Reject names that are not valid shell variable names. 8777e6533d5Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 8787e6533d5Smrg as_fn_error $? "invalid feature name: $ac_useropt" 8797e6533d5Smrg ac_useropt_orig=$ac_useropt 8807e6533d5Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 8817e6533d5Smrg case $ac_user_opts in 8827e6533d5Smrg *" 8837e6533d5Smrg"enable_$ac_useropt" 8847e6533d5Smrg"*) ;; 8857e6533d5Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 8867e6533d5Smrg ac_unrecognized_sep=', ';; 8877e6533d5Smrg esac 8887e6533d5Smrg eval enable_$ac_useropt=\$ac_optarg ;; 889067610f1Smrg 890067610f1Smrg -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 891067610f1Smrg | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 892067610f1Smrg | --exec | --exe | --ex) 893067610f1Smrg ac_prev=exec_prefix ;; 894067610f1Smrg -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 895067610f1Smrg | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 896067610f1Smrg | --exec=* | --exe=* | --ex=*) 897067610f1Smrg exec_prefix=$ac_optarg ;; 898067610f1Smrg 899067610f1Smrg -gas | --gas | --ga | --g) 900067610f1Smrg # Obsolete; use --with-gas. 901067610f1Smrg with_gas=yes ;; 902067610f1Smrg 903067610f1Smrg -help | --help | --hel | --he | -h) 904067610f1Smrg ac_init_help=long ;; 905067610f1Smrg -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 906067610f1Smrg ac_init_help=recursive ;; 907067610f1Smrg -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 908067610f1Smrg ac_init_help=short ;; 909067610f1Smrg 910067610f1Smrg -host | --host | --hos | --ho) 911067610f1Smrg ac_prev=host_alias ;; 912067610f1Smrg -host=* | --host=* | --hos=* | --ho=*) 913067610f1Smrg host_alias=$ac_optarg ;; 914067610f1Smrg 915067610f1Smrg -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 916067610f1Smrg ac_prev=htmldir ;; 917067610f1Smrg -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 918067610f1Smrg | --ht=*) 919067610f1Smrg htmldir=$ac_optarg ;; 920067610f1Smrg 921067610f1Smrg -includedir | --includedir | --includedi | --included | --include \ 922067610f1Smrg | --includ | --inclu | --incl | --inc) 923067610f1Smrg ac_prev=includedir ;; 924067610f1Smrg -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 925067610f1Smrg | --includ=* | --inclu=* | --incl=* | --inc=*) 926067610f1Smrg includedir=$ac_optarg ;; 927067610f1Smrg 928067610f1Smrg -infodir | --infodir | --infodi | --infod | --info | --inf) 929067610f1Smrg ac_prev=infodir ;; 930067610f1Smrg -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 931067610f1Smrg infodir=$ac_optarg ;; 932067610f1Smrg 933067610f1Smrg -libdir | --libdir | --libdi | --libd) 934067610f1Smrg ac_prev=libdir ;; 935067610f1Smrg -libdir=* | --libdir=* | --libdi=* | --libd=*) 936067610f1Smrg libdir=$ac_optarg ;; 937067610f1Smrg 938067610f1Smrg -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 939067610f1Smrg | --libexe | --libex | --libe) 940067610f1Smrg ac_prev=libexecdir ;; 941067610f1Smrg -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 942067610f1Smrg | --libexe=* | --libex=* | --libe=*) 943067610f1Smrg libexecdir=$ac_optarg ;; 944067610f1Smrg 945067610f1Smrg -localedir | --localedir | --localedi | --localed | --locale) 946067610f1Smrg ac_prev=localedir ;; 947067610f1Smrg -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 948067610f1Smrg localedir=$ac_optarg ;; 949067610f1Smrg 950067610f1Smrg -localstatedir | --localstatedir | --localstatedi | --localstated \ 951067610f1Smrg | --localstate | --localstat | --localsta | --localst | --locals) 952067610f1Smrg ac_prev=localstatedir ;; 953067610f1Smrg -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 954067610f1Smrg | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 955067610f1Smrg localstatedir=$ac_optarg ;; 956067610f1Smrg 957067610f1Smrg -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 958067610f1Smrg ac_prev=mandir ;; 959067610f1Smrg -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 960067610f1Smrg mandir=$ac_optarg ;; 961067610f1Smrg 962067610f1Smrg -nfp | --nfp | --nf) 963067610f1Smrg # Obsolete; use --without-fp. 964067610f1Smrg with_fp=no ;; 965067610f1Smrg 966067610f1Smrg -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 967067610f1Smrg | --no-cr | --no-c | -n) 968067610f1Smrg no_create=yes ;; 969067610f1Smrg 970067610f1Smrg -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 971067610f1Smrg | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 972067610f1Smrg no_recursion=yes ;; 973067610f1Smrg 974067610f1Smrg -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 975067610f1Smrg | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 976067610f1Smrg | --oldin | --oldi | --old | --ol | --o) 977067610f1Smrg ac_prev=oldincludedir ;; 978067610f1Smrg -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 979067610f1Smrg | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 980067610f1Smrg | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 981067610f1Smrg oldincludedir=$ac_optarg ;; 982067610f1Smrg 983067610f1Smrg -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 984067610f1Smrg ac_prev=prefix ;; 985067610f1Smrg -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 986067610f1Smrg prefix=$ac_optarg ;; 987067610f1Smrg 988067610f1Smrg -program-prefix | --program-prefix | --program-prefi | --program-pref \ 989067610f1Smrg | --program-pre | --program-pr | --program-p) 990067610f1Smrg ac_prev=program_prefix ;; 991067610f1Smrg -program-prefix=* | --program-prefix=* | --program-prefi=* \ 992067610f1Smrg | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 993067610f1Smrg program_prefix=$ac_optarg ;; 994067610f1Smrg 995067610f1Smrg -program-suffix | --program-suffix | --program-suffi | --program-suff \ 996067610f1Smrg | --program-suf | --program-su | --program-s) 997067610f1Smrg ac_prev=program_suffix ;; 998067610f1Smrg -program-suffix=* | --program-suffix=* | --program-suffi=* \ 999067610f1Smrg | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1000067610f1Smrg program_suffix=$ac_optarg ;; 1001067610f1Smrg 1002067610f1Smrg -program-transform-name | --program-transform-name \ 1003067610f1Smrg | --program-transform-nam | --program-transform-na \ 1004067610f1Smrg | --program-transform-n | --program-transform- \ 1005067610f1Smrg | --program-transform | --program-transfor \ 1006067610f1Smrg | --program-transfo | --program-transf \ 1007067610f1Smrg | --program-trans | --program-tran \ 1008067610f1Smrg | --progr-tra | --program-tr | --program-t) 1009067610f1Smrg ac_prev=program_transform_name ;; 1010067610f1Smrg -program-transform-name=* | --program-transform-name=* \ 1011067610f1Smrg | --program-transform-nam=* | --program-transform-na=* \ 1012067610f1Smrg | --program-transform-n=* | --program-transform-=* \ 1013067610f1Smrg | --program-transform=* | --program-transfor=* \ 1014067610f1Smrg | --program-transfo=* | --program-transf=* \ 1015067610f1Smrg | --program-trans=* | --program-tran=* \ 1016067610f1Smrg | --progr-tra=* | --program-tr=* | --program-t=*) 1017067610f1Smrg program_transform_name=$ac_optarg ;; 1018067610f1Smrg 1019067610f1Smrg -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1020067610f1Smrg ac_prev=pdfdir ;; 1021067610f1Smrg -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1022067610f1Smrg pdfdir=$ac_optarg ;; 1023067610f1Smrg 1024067610f1Smrg -psdir | --psdir | --psdi | --psd | --ps) 1025067610f1Smrg ac_prev=psdir ;; 1026067610f1Smrg -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1027067610f1Smrg psdir=$ac_optarg ;; 1028067610f1Smrg 1029067610f1Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1030067610f1Smrg | -silent | --silent | --silen | --sile | --sil) 1031067610f1Smrg silent=yes ;; 1032067610f1Smrg 1033067610f1Smrg -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1034067610f1Smrg ac_prev=sbindir ;; 1035067610f1Smrg -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1036067610f1Smrg | --sbi=* | --sb=*) 1037067610f1Smrg sbindir=$ac_optarg ;; 1038067610f1Smrg 1039067610f1Smrg -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1040067610f1Smrg | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1041067610f1Smrg | --sharedst | --shareds | --shared | --share | --shar \ 1042067610f1Smrg | --sha | --sh) 1043067610f1Smrg ac_prev=sharedstatedir ;; 1044067610f1Smrg -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1045067610f1Smrg | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1046067610f1Smrg | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1047067610f1Smrg | --sha=* | --sh=*) 1048067610f1Smrg sharedstatedir=$ac_optarg ;; 1049067610f1Smrg 1050067610f1Smrg -site | --site | --sit) 1051067610f1Smrg ac_prev=site ;; 1052067610f1Smrg -site=* | --site=* | --sit=*) 1053067610f1Smrg site=$ac_optarg ;; 1054067610f1Smrg 1055067610f1Smrg -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1056067610f1Smrg ac_prev=srcdir ;; 1057067610f1Smrg -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1058067610f1Smrg srcdir=$ac_optarg ;; 1059067610f1Smrg 1060067610f1Smrg -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1061067610f1Smrg | --syscon | --sysco | --sysc | --sys | --sy) 1062067610f1Smrg ac_prev=sysconfdir ;; 1063067610f1Smrg -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1064067610f1Smrg | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1065067610f1Smrg sysconfdir=$ac_optarg ;; 1066067610f1Smrg 1067067610f1Smrg -target | --target | --targe | --targ | --tar | --ta | --t) 1068067610f1Smrg ac_prev=target_alias ;; 1069067610f1Smrg -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1070067610f1Smrg target_alias=$ac_optarg ;; 1071067610f1Smrg 1072067610f1Smrg -v | -verbose | --verbose | --verbos | --verbo | --verb) 1073067610f1Smrg verbose=yes ;; 1074067610f1Smrg 1075067610f1Smrg -version | --version | --versio | --versi | --vers | -V) 1076067610f1Smrg ac_init_version=: ;; 1077067610f1Smrg 1078067610f1Smrg -with-* | --with-*) 10797e6533d5Smrg ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1080067610f1Smrg # Reject names that are not valid shell variable names. 10817e6533d5Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 10827e6533d5Smrg as_fn_error $? "invalid package name: $ac_useropt" 10837e6533d5Smrg ac_useropt_orig=$ac_useropt 10847e6533d5Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 10857e6533d5Smrg case $ac_user_opts in 10867e6533d5Smrg *" 10877e6533d5Smrg"with_$ac_useropt" 10887e6533d5Smrg"*) ;; 10897e6533d5Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 10907e6533d5Smrg ac_unrecognized_sep=', ';; 10917e6533d5Smrg esac 10927e6533d5Smrg eval with_$ac_useropt=\$ac_optarg ;; 1093067610f1Smrg 1094067610f1Smrg -without-* | --without-*) 10957e6533d5Smrg ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1096067610f1Smrg # Reject names that are not valid shell variable names. 10977e6533d5Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 10987e6533d5Smrg as_fn_error $? "invalid package name: $ac_useropt" 10997e6533d5Smrg ac_useropt_orig=$ac_useropt 11007e6533d5Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 11017e6533d5Smrg case $ac_user_opts in 11027e6533d5Smrg *" 11037e6533d5Smrg"with_$ac_useropt" 11047e6533d5Smrg"*) ;; 11057e6533d5Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 11067e6533d5Smrg ac_unrecognized_sep=', ';; 11077e6533d5Smrg esac 11087e6533d5Smrg eval with_$ac_useropt=no ;; 1109067610f1Smrg 1110067610f1Smrg --x) 1111067610f1Smrg # Obsolete; use --with-x. 1112067610f1Smrg with_x=yes ;; 1113067610f1Smrg 1114067610f1Smrg -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1115067610f1Smrg | --x-incl | --x-inc | --x-in | --x-i) 1116067610f1Smrg ac_prev=x_includes ;; 1117067610f1Smrg -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1118067610f1Smrg | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1119067610f1Smrg x_includes=$ac_optarg ;; 1120067610f1Smrg 1121067610f1Smrg -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1122067610f1Smrg | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1123067610f1Smrg ac_prev=x_libraries ;; 1124067610f1Smrg -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1125067610f1Smrg | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1126067610f1Smrg x_libraries=$ac_optarg ;; 1127067610f1Smrg 11287e6533d5Smrg -*) as_fn_error $? "unrecognized option: \`$ac_option' 11297e6533d5SmrgTry \`$0 --help' for more information" 1130067610f1Smrg ;; 1131067610f1Smrg 1132067610f1Smrg *=*) 1133067610f1Smrg ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1134067610f1Smrg # Reject names that are not valid shell variable names. 11357e6533d5Smrg case $ac_envvar in #( 11367e6533d5Smrg '' | [0-9]* | *[!_$as_cr_alnum]* ) 11377e6533d5Smrg as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 11387e6533d5Smrg esac 1139067610f1Smrg eval $ac_envvar=\$ac_optarg 1140067610f1Smrg export $ac_envvar ;; 1141067610f1Smrg 1142067610f1Smrg *) 1143067610f1Smrg # FIXME: should be removed in autoconf 3.0. 11447e6533d5Smrg $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1145067610f1Smrg expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 11467e6533d5Smrg $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 11477e6533d5Smrg : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1148067610f1Smrg ;; 1149067610f1Smrg 1150067610f1Smrg esac 1151067610f1Smrgdone 1152067610f1Smrg 1153067610f1Smrgif test -n "$ac_prev"; then 1154067610f1Smrg ac_option=--`echo $ac_prev | sed 's/_/-/g'` 11557e6533d5Smrg as_fn_error $? "missing argument to $ac_option" 11567e6533d5Smrgfi 11577e6533d5Smrg 11587e6533d5Smrgif test -n "$ac_unrecognized_opts"; then 11597e6533d5Smrg case $enable_option_checking in 11607e6533d5Smrg no) ;; 11617e6533d5Smrg fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 11627e6533d5Smrg *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 11637e6533d5Smrg esac 1164067610f1Smrgfi 1165067610f1Smrg 11667e6533d5Smrg# Check all directory arguments for consistency. 1167067610f1Smrgfor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1168067610f1Smrg datadir sysconfdir sharedstatedir localstatedir includedir \ 1169067610f1Smrg oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1170067610f1Smrg libdir localedir mandir 1171067610f1Smrgdo 1172067610f1Smrg eval ac_val=\$$ac_var 11737e6533d5Smrg # Remove trailing slashes. 11747e6533d5Smrg case $ac_val in 11757e6533d5Smrg */ ) 11767e6533d5Smrg ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 11777e6533d5Smrg eval $ac_var=\$ac_val;; 11787e6533d5Smrg esac 11797e6533d5Smrg # Be sure to have absolute directory names. 1180067610f1Smrg case $ac_val in 1181067610f1Smrg [\\/$]* | ?:[\\/]* ) continue;; 1182067610f1Smrg NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1183067610f1Smrg esac 11847e6533d5Smrg as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1185067610f1Smrgdone 1186067610f1Smrg 1187067610f1Smrg# There might be people who depend on the old broken behavior: `$host' 1188067610f1Smrg# used to hold the argument of --host etc. 1189067610f1Smrg# FIXME: To remove some day. 1190067610f1Smrgbuild=$build_alias 1191067610f1Smrghost=$host_alias 1192067610f1Smrgtarget=$target_alias 1193067610f1Smrg 1194067610f1Smrg# FIXME: To remove some day. 1195067610f1Smrgif test "x$host_alias" != x; then 1196067610f1Smrg if test "x$build_alias" = x; then 1197067610f1Smrg cross_compiling=maybe 11987e6533d5Smrg $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 11997e6533d5Smrg If a cross compiler is detected then cross compile mode will be used" >&2 1200067610f1Smrg elif test "x$build_alias" != "x$host_alias"; then 1201067610f1Smrg cross_compiling=yes 1202067610f1Smrg fi 1203067610f1Smrgfi 1204067610f1Smrg 1205067610f1Smrgac_tool_prefix= 1206067610f1Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias- 1207067610f1Smrg 1208067610f1Smrgtest "$silent" = yes && exec 6>/dev/null 1209067610f1Smrg 1210067610f1Smrg 1211067610f1Smrgac_pwd=`pwd` && test -n "$ac_pwd" && 1212067610f1Smrgac_ls_di=`ls -di .` && 1213067610f1Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 12147e6533d5Smrg as_fn_error $? "working directory cannot be determined" 1215067610f1Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" || 12167e6533d5Smrg as_fn_error $? "pwd does not report name of working directory" 1217067610f1Smrg 1218067610f1Smrg 1219067610f1Smrg# Find the source files, if location was not specified. 1220067610f1Smrgif test -z "$srcdir"; then 1221067610f1Smrg ac_srcdir_defaulted=yes 1222067610f1Smrg # Try the directory containing this script, then the parent directory. 12237e6533d5Smrg ac_confdir=`$as_dirname -- "$as_myself" || 12247e6533d5Smrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12257e6533d5Smrg X"$as_myself" : 'X\(//\)[^/]' \| \ 12267e6533d5Smrg X"$as_myself" : 'X\(//\)$' \| \ 12277e6533d5Smrg X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 12287e6533d5Smrg$as_echo X"$as_myself" | 1229067610f1Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1230067610f1Smrg s//\1/ 1231067610f1Smrg q 1232067610f1Smrg } 1233067610f1Smrg /^X\(\/\/\)[^/].*/{ 1234067610f1Smrg s//\1/ 1235067610f1Smrg q 1236067610f1Smrg } 1237067610f1Smrg /^X\(\/\/\)$/{ 1238067610f1Smrg s//\1/ 1239067610f1Smrg q 1240067610f1Smrg } 1241067610f1Smrg /^X\(\/\).*/{ 1242067610f1Smrg s//\1/ 1243067610f1Smrg q 1244067610f1Smrg } 1245067610f1Smrg s/.*/./; q'` 1246067610f1Smrg srcdir=$ac_confdir 1247067610f1Smrg if test ! -r "$srcdir/$ac_unique_file"; then 1248067610f1Smrg srcdir=.. 1249067610f1Smrg fi 1250067610f1Smrgelse 1251067610f1Smrg ac_srcdir_defaulted=no 1252067610f1Smrgfi 1253067610f1Smrgif test ! -r "$srcdir/$ac_unique_file"; then 1254067610f1Smrg test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 12557e6533d5Smrg as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1256067610f1Smrgfi 1257067610f1Smrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1258067610f1Smrgac_abs_confdir=`( 12597e6533d5Smrg cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1260067610f1Smrg pwd)` 1261067610f1Smrg# When building in place, set srcdir=. 1262067610f1Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then 1263067610f1Smrg srcdir=. 1264067610f1Smrgfi 1265067610f1Smrg# Remove unnecessary trailing slashes from srcdir. 1266067610f1Smrg# Double slashes in file names in object file debugging info 1267067610f1Smrg# mess up M-x gdb in Emacs. 1268067610f1Smrgcase $srcdir in 1269067610f1Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1270067610f1Smrgesac 1271067610f1Smrgfor ac_var in $ac_precious_vars; do 1272067610f1Smrg eval ac_env_${ac_var}_set=\${${ac_var}+set} 1273067610f1Smrg eval ac_env_${ac_var}_value=\$${ac_var} 1274067610f1Smrg eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1275067610f1Smrg eval ac_cv_env_${ac_var}_value=\$${ac_var} 1276067610f1Smrgdone 1277067610f1Smrg 1278067610f1Smrg# 1279067610f1Smrg# Report the --help message. 1280067610f1Smrg# 1281067610f1Smrgif test "$ac_init_help" = "long"; then 1282067610f1Smrg # Omit some internal or obsolete options to make the list less imposing. 1283067610f1Smrg # This message is too long to be a string in the A/UX 3.1 sh. 1284067610f1Smrg cat <<_ACEOF 12857e6533d5Smrg\`configure' configures xfsinfo 1.0.3 to adapt to many kinds of systems. 1286067610f1Smrg 1287067610f1SmrgUsage: $0 [OPTION]... [VAR=VALUE]... 1288067610f1Smrg 1289067610f1SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as 1290067610f1SmrgVAR=VALUE. See below for descriptions of some of the useful variables. 1291067610f1Smrg 1292067610f1SmrgDefaults for the options are specified in brackets. 1293067610f1Smrg 1294067610f1SmrgConfiguration: 1295067610f1Smrg -h, --help display this help and exit 1296067610f1Smrg --help=short display options specific to this package 1297067610f1Smrg --help=recursive display the short help of all the included packages 1298067610f1Smrg -V, --version display version information and exit 12997e6533d5Smrg -q, --quiet, --silent do not print \`checking ...' messages 1300067610f1Smrg --cache-file=FILE cache test results in FILE [disabled] 1301067610f1Smrg -C, --config-cache alias for \`--cache-file=config.cache' 1302067610f1Smrg -n, --no-create do not create output files 1303067610f1Smrg --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1304067610f1Smrg 1305067610f1SmrgInstallation directories: 1306067610f1Smrg --prefix=PREFIX install architecture-independent files in PREFIX 13077e6533d5Smrg [$ac_default_prefix] 1308067610f1Smrg --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 13097e6533d5Smrg [PREFIX] 1310067610f1Smrg 1311067610f1SmrgBy default, \`make install' will install all the files in 1312067610f1Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1313067610f1Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix', 1314067610f1Smrgfor instance \`--prefix=\$HOME'. 1315067610f1Smrg 1316067610f1SmrgFor better control, use the options below. 1317067610f1Smrg 1318067610f1SmrgFine tuning of the installation directories: 13197e6533d5Smrg --bindir=DIR user executables [EPREFIX/bin] 13207e6533d5Smrg --sbindir=DIR system admin executables [EPREFIX/sbin] 13217e6533d5Smrg --libexecdir=DIR program executables [EPREFIX/libexec] 13227e6533d5Smrg --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 13237e6533d5Smrg --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 13247e6533d5Smrg --localstatedir=DIR modifiable single-machine data [PREFIX/var] 13257e6533d5Smrg --libdir=DIR object code libraries [EPREFIX/lib] 13267e6533d5Smrg --includedir=DIR C header files [PREFIX/include] 13277e6533d5Smrg --oldincludedir=DIR C header files for non-gcc [/usr/include] 13287e6533d5Smrg --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 13297e6533d5Smrg --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 13307e6533d5Smrg --infodir=DIR info documentation [DATAROOTDIR/info] 13317e6533d5Smrg --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 13327e6533d5Smrg --mandir=DIR man documentation [DATAROOTDIR/man] 13337e6533d5Smrg --docdir=DIR documentation root [DATAROOTDIR/doc/xfsinfo] 13347e6533d5Smrg --htmldir=DIR html documentation [DOCDIR] 13357e6533d5Smrg --dvidir=DIR dvi documentation [DOCDIR] 13367e6533d5Smrg --pdfdir=DIR pdf documentation [DOCDIR] 13377e6533d5Smrg --psdir=DIR ps documentation [DOCDIR] 1338067610f1Smrg_ACEOF 1339067610f1Smrg 1340067610f1Smrg cat <<\_ACEOF 1341067610f1Smrg 1342067610f1SmrgProgram names: 1343067610f1Smrg --program-prefix=PREFIX prepend PREFIX to installed program names 1344067610f1Smrg --program-suffix=SUFFIX append SUFFIX to installed program names 1345067610f1Smrg --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1346067610f1Smrg 1347067610f1SmrgSystem types: 1348067610f1Smrg --build=BUILD configure for building on BUILD [guessed] 1349067610f1Smrg --host=HOST cross-compile to build programs to run on HOST [BUILD] 1350067610f1Smrg_ACEOF 1351067610f1Smrgfi 1352067610f1Smrg 1353067610f1Smrgif test -n "$ac_init_help"; then 1354067610f1Smrg case $ac_init_help in 13557e6533d5Smrg short | recursive ) echo "Configuration of xfsinfo 1.0.3:";; 1356067610f1Smrg esac 1357067610f1Smrg cat <<\_ACEOF 1358067610f1Smrg 1359067610f1SmrgOptional Features: 13607e6533d5Smrg --disable-option-checking ignore unrecognized --enable/--with options 1361067610f1Smrg --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1362067610f1Smrg --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1363067610f1Smrg --enable-maintainer-mode enable make rules and dependencies not useful 1364067610f1Smrg (and sometimes confusing) to the casual installer 1365067610f1Smrg --disable-dependency-tracking speeds up one-time build 1366067610f1Smrg --enable-dependency-tracking do not reject slow dependency extractors 13677e6533d5Smrg --enable-strict-compilation 13687e6533d5Smrg Enable all warnings from compiler and make them 13697e6533d5Smrg errors (default: disabled) 13707e6533d5Smrg --enable-silent-rules less verbose build output (undo: `make V=1') 13717e6533d5Smrg --disable-silent-rules verbose build output (undo: `make V=0') 1372067610f1Smrg 1373067610f1SmrgSome influential environment variables: 1374067610f1Smrg CC C compiler command 1375067610f1Smrg CFLAGS C compiler flags 1376067610f1Smrg LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1377067610f1Smrg nonstandard directory <lib dir> 1378067610f1Smrg LIBS libraries to pass to the linker, e.g. -l<library> 13797e6533d5Smrg CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1380067610f1Smrg you have headers in a nonstandard directory <include dir> 13817e6533d5Smrg CPP C preprocessor 1382067610f1Smrg PKG_CONFIG path to pkg-config utility 1383067610f1Smrg XFSINFO_CFLAGS 1384067610f1Smrg C compiler flags for XFSINFO, overriding pkg-config 1385067610f1Smrg XFSINFO_LIBS 1386067610f1Smrg linker flags for XFSINFO, overriding pkg-config 1387067610f1Smrg 1388067610f1SmrgUse these variables to override the choices made by `configure' or to help 1389067610f1Smrgit to find libraries and programs with nonstandard names/locations. 1390067610f1Smrg 1391067610f1SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 1392067610f1Smrg_ACEOF 1393067610f1Smrgac_status=$? 1394067610f1Smrgfi 1395067610f1Smrg 1396067610f1Smrgif test "$ac_init_help" = "recursive"; then 1397067610f1Smrg # If there are subdirs, report their specific --help. 1398067610f1Smrg for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 13997e6533d5Smrg test -d "$ac_dir" || 14007e6533d5Smrg { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 14017e6533d5Smrg continue 1402067610f1Smrg ac_builddir=. 1403067610f1Smrg 1404067610f1Smrgcase "$ac_dir" in 1405067610f1Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1406067610f1Smrg*) 14077e6533d5Smrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1408067610f1Smrg # A ".." for each directory in $ac_dir_suffix. 14097e6533d5Smrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1410067610f1Smrg case $ac_top_builddir_sub in 1411067610f1Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1412067610f1Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1413067610f1Smrg esac ;; 1414067610f1Smrgesac 1415067610f1Smrgac_abs_top_builddir=$ac_pwd 1416067610f1Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 1417067610f1Smrg# for backward compatibility: 1418067610f1Smrgac_top_builddir=$ac_top_build_prefix 1419067610f1Smrg 1420067610f1Smrgcase $srcdir in 1421067610f1Smrg .) # We are building in place. 1422067610f1Smrg ac_srcdir=. 1423067610f1Smrg ac_top_srcdir=$ac_top_builddir_sub 1424067610f1Smrg ac_abs_top_srcdir=$ac_pwd ;; 1425067610f1Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 1426067610f1Smrg ac_srcdir=$srcdir$ac_dir_suffix; 1427067610f1Smrg ac_top_srcdir=$srcdir 1428067610f1Smrg ac_abs_top_srcdir=$srcdir ;; 1429067610f1Smrg *) # Relative name. 1430067610f1Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1431067610f1Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 1432067610f1Smrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1433067610f1Smrgesac 1434067610f1Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1435067610f1Smrg 1436067610f1Smrg cd "$ac_dir" || { ac_status=$?; continue; } 1437067610f1Smrg # Check for guested configure. 1438067610f1Smrg if test -f "$ac_srcdir/configure.gnu"; then 1439067610f1Smrg echo && 1440067610f1Smrg $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1441067610f1Smrg elif test -f "$ac_srcdir/configure"; then 1442067610f1Smrg echo && 1443067610f1Smrg $SHELL "$ac_srcdir/configure" --help=recursive 1444067610f1Smrg else 14457e6533d5Smrg $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1446067610f1Smrg fi || ac_status=$? 1447067610f1Smrg cd "$ac_pwd" || { ac_status=$?; break; } 1448067610f1Smrg done 1449067610f1Smrgfi 1450067610f1Smrg 1451067610f1Smrgtest -n "$ac_init_help" && exit $ac_status 1452067610f1Smrgif $ac_init_version; then 1453067610f1Smrg cat <<\_ACEOF 14547e6533d5Smrgxfsinfo configure 1.0.3 14557e6533d5Smrggenerated by GNU Autoconf 2.68 1456067610f1Smrg 14577e6533d5SmrgCopyright (C) 2010 Free Software Foundation, Inc. 1458067610f1SmrgThis configure script is free software; the Free Software Foundation 1459067610f1Smrggives unlimited permission to copy, distribute and modify it. 1460067610f1Smrg_ACEOF 1461067610f1Smrg exit 1462067610f1Smrgfi 14637e6533d5Smrg 14647e6533d5Smrg## ------------------------ ## 14657e6533d5Smrg## Autoconf initialization. ## 14667e6533d5Smrg## ------------------------ ## 14677e6533d5Smrg 14687e6533d5Smrg# ac_fn_c_try_compile LINENO 14697e6533d5Smrg# -------------------------- 14707e6533d5Smrg# Try to compile conftest.$ac_ext, and return whether this succeeded. 14717e6533d5Smrgac_fn_c_try_compile () 14727e6533d5Smrg{ 14737e6533d5Smrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 14747e6533d5Smrg rm -f conftest.$ac_objext 14757e6533d5Smrg if { { ac_try="$ac_compile" 14767e6533d5Smrgcase "(($ac_try" in 14777e6533d5Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14787e6533d5Smrg *) ac_try_echo=$ac_try;; 14797e6533d5Smrgesac 14807e6533d5Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 14817e6533d5Smrg$as_echo "$ac_try_echo"; } >&5 14827e6533d5Smrg (eval "$ac_compile") 2>conftest.err 14837e6533d5Smrg ac_status=$? 14847e6533d5Smrg if test -s conftest.err; then 14857e6533d5Smrg grep -v '^ *+' conftest.err >conftest.er1 14867e6533d5Smrg cat conftest.er1 >&5 14877e6533d5Smrg mv -f conftest.er1 conftest.err 14887e6533d5Smrg fi 14897e6533d5Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14907e6533d5Smrg test $ac_status = 0; } && { 14917e6533d5Smrg test -z "$ac_c_werror_flag" || 14927e6533d5Smrg test ! -s conftest.err 14937e6533d5Smrg } && test -s conftest.$ac_objext; then : 14947e6533d5Smrg ac_retval=0 14957e6533d5Smrgelse 14967e6533d5Smrg $as_echo "$as_me: failed program was:" >&5 14977e6533d5Smrgsed 's/^/| /' conftest.$ac_ext >&5 14987e6533d5Smrg 14997e6533d5Smrg ac_retval=1 15007e6533d5Smrgfi 15017e6533d5Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 15027e6533d5Smrg as_fn_set_status $ac_retval 15037e6533d5Smrg 15047e6533d5Smrg} # ac_fn_c_try_compile 15057e6533d5Smrg 15067e6533d5Smrg# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 15077e6533d5Smrg# --------------------------------------------- 15087e6533d5Smrg# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 15097e6533d5Smrg# accordingly. 15107e6533d5Smrgac_fn_c_check_decl () 15117e6533d5Smrg{ 15127e6533d5Smrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 15137e6533d5Smrg as_decl_name=`echo $2|sed 's/ *(.*//'` 15147e6533d5Smrg as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 15157e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 15167e6533d5Smrg$as_echo_n "checking whether $as_decl_name is declared... " >&6; } 15177e6533d5Smrgif eval \${$3+:} false; then : 15187e6533d5Smrg $as_echo_n "(cached) " >&6 15197e6533d5Smrgelse 15207e6533d5Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15217e6533d5Smrg/* end confdefs.h. */ 15227e6533d5Smrg$4 15237e6533d5Smrgint 15247e6533d5Smrgmain () 15257e6533d5Smrg{ 15267e6533d5Smrg#ifndef $as_decl_name 15277e6533d5Smrg#ifdef __cplusplus 15287e6533d5Smrg (void) $as_decl_use; 15297e6533d5Smrg#else 15307e6533d5Smrg (void) $as_decl_name; 15317e6533d5Smrg#endif 15327e6533d5Smrg#endif 15337e6533d5Smrg 15347e6533d5Smrg ; 15357e6533d5Smrg return 0; 15367e6533d5Smrg} 15377e6533d5Smrg_ACEOF 15387e6533d5Smrgif ac_fn_c_try_compile "$LINENO"; then : 15397e6533d5Smrg eval "$3=yes" 15407e6533d5Smrgelse 15417e6533d5Smrg eval "$3=no" 15427e6533d5Smrgfi 15437e6533d5Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15447e6533d5Smrgfi 15457e6533d5Smrgeval ac_res=\$$3 15467e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 15477e6533d5Smrg$as_echo "$ac_res" >&6; } 15487e6533d5Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 15497e6533d5Smrg 15507e6533d5Smrg} # ac_fn_c_check_decl 15517e6533d5Smrg 15527e6533d5Smrg# ac_fn_c_try_cpp LINENO 15537e6533d5Smrg# ---------------------- 15547e6533d5Smrg# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 15557e6533d5Smrgac_fn_c_try_cpp () 15567e6533d5Smrg{ 15577e6533d5Smrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 15587e6533d5Smrg if { { ac_try="$ac_cpp conftest.$ac_ext" 15597e6533d5Smrgcase "(($ac_try" in 15607e6533d5Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15617e6533d5Smrg *) ac_try_echo=$ac_try;; 15627e6533d5Smrgesac 15637e6533d5Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 15647e6533d5Smrg$as_echo "$ac_try_echo"; } >&5 15657e6533d5Smrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 15667e6533d5Smrg ac_status=$? 15677e6533d5Smrg if test -s conftest.err; then 15687e6533d5Smrg grep -v '^ *+' conftest.err >conftest.er1 15697e6533d5Smrg cat conftest.er1 >&5 15707e6533d5Smrg mv -f conftest.er1 conftest.err 15717e6533d5Smrg fi 15727e6533d5Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15737e6533d5Smrg test $ac_status = 0; } > conftest.i && { 15747e6533d5Smrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 15757e6533d5Smrg test ! -s conftest.err 15767e6533d5Smrg }; then : 15777e6533d5Smrg ac_retval=0 15787e6533d5Smrgelse 15797e6533d5Smrg $as_echo "$as_me: failed program was:" >&5 15807e6533d5Smrgsed 's/^/| /' conftest.$ac_ext >&5 15817e6533d5Smrg 15827e6533d5Smrg ac_retval=1 15837e6533d5Smrgfi 15847e6533d5Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 15857e6533d5Smrg as_fn_set_status $ac_retval 15867e6533d5Smrg 15877e6533d5Smrg} # ac_fn_c_try_cpp 15887e6533d5Smrg 15897e6533d5Smrg# ac_fn_c_try_run LINENO 15907e6533d5Smrg# ---------------------- 15917e6533d5Smrg# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 15927e6533d5Smrg# that executables *can* be run. 15937e6533d5Smrgac_fn_c_try_run () 15947e6533d5Smrg{ 15957e6533d5Smrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 15967e6533d5Smrg if { { ac_try="$ac_link" 15977e6533d5Smrgcase "(($ac_try" in 15987e6533d5Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15997e6533d5Smrg *) ac_try_echo=$ac_try;; 16007e6533d5Smrgesac 16017e6533d5Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 16027e6533d5Smrg$as_echo "$ac_try_echo"; } >&5 16037e6533d5Smrg (eval "$ac_link") 2>&5 16047e6533d5Smrg ac_status=$? 16057e6533d5Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16067e6533d5Smrg test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 16077e6533d5Smrg { { case "(($ac_try" in 16087e6533d5Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16097e6533d5Smrg *) ac_try_echo=$ac_try;; 16107e6533d5Smrgesac 16117e6533d5Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 16127e6533d5Smrg$as_echo "$ac_try_echo"; } >&5 16137e6533d5Smrg (eval "$ac_try") 2>&5 16147e6533d5Smrg ac_status=$? 16157e6533d5Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16167e6533d5Smrg test $ac_status = 0; }; }; then : 16177e6533d5Smrg ac_retval=0 16187e6533d5Smrgelse 16197e6533d5Smrg $as_echo "$as_me: program exited with status $ac_status" >&5 16207e6533d5Smrg $as_echo "$as_me: failed program was:" >&5 16217e6533d5Smrgsed 's/^/| /' conftest.$ac_ext >&5 16227e6533d5Smrg 16237e6533d5Smrg ac_retval=$ac_status 16247e6533d5Smrgfi 16257e6533d5Smrg rm -rf conftest.dSYM conftest_ipa8_conftest.oo 16267e6533d5Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 16277e6533d5Smrg as_fn_set_status $ac_retval 16287e6533d5Smrg 16297e6533d5Smrg} # ac_fn_c_try_run 16307e6533d5Smrg 16317e6533d5Smrg# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 16327e6533d5Smrg# ------------------------------------------------------- 16337e6533d5Smrg# Tests whether HEADER exists and can be compiled using the include files in 16347e6533d5Smrg# INCLUDES, setting the cache variable VAR accordingly. 16357e6533d5Smrgac_fn_c_check_header_compile () 16367e6533d5Smrg{ 16377e6533d5Smrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 16387e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 16397e6533d5Smrg$as_echo_n "checking for $2... " >&6; } 16407e6533d5Smrgif eval \${$3+:} false; then : 16417e6533d5Smrg $as_echo_n "(cached) " >&6 16427e6533d5Smrgelse 16437e6533d5Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16447e6533d5Smrg/* end confdefs.h. */ 16457e6533d5Smrg$4 16467e6533d5Smrg#include <$2> 16477e6533d5Smrg_ACEOF 16487e6533d5Smrgif ac_fn_c_try_compile "$LINENO"; then : 16497e6533d5Smrg eval "$3=yes" 16507e6533d5Smrgelse 16517e6533d5Smrg eval "$3=no" 16527e6533d5Smrgfi 16537e6533d5Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16547e6533d5Smrgfi 16557e6533d5Smrgeval ac_res=\$$3 16567e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 16577e6533d5Smrg$as_echo "$ac_res" >&6; } 16587e6533d5Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 16597e6533d5Smrg 16607e6533d5Smrg} # ac_fn_c_check_header_compile 1661067610f1Smrgcat >config.log <<_ACEOF 1662067610f1SmrgThis file contains any messages produced by compilers while 1663067610f1Smrgrunning configure, to aid debugging if configure makes a mistake. 1664067610f1Smrg 16657e6533d5SmrgIt was created by xfsinfo $as_me 1.0.3, which was 16667e6533d5Smrggenerated by GNU Autoconf 2.68. Invocation command line was 1667067610f1Smrg 1668067610f1Smrg $ $0 $@ 1669067610f1Smrg 1670067610f1Smrg_ACEOF 1671067610f1Smrgexec 5>>config.log 1672067610f1Smrg{ 1673067610f1Smrgcat <<_ASUNAME 1674067610f1Smrg## --------- ## 1675067610f1Smrg## Platform. ## 1676067610f1Smrg## --------- ## 1677067610f1Smrg 1678067610f1Smrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1679067610f1Smrguname -m = `(uname -m) 2>/dev/null || echo unknown` 1680067610f1Smrguname -r = `(uname -r) 2>/dev/null || echo unknown` 1681067610f1Smrguname -s = `(uname -s) 2>/dev/null || echo unknown` 1682067610f1Smrguname -v = `(uname -v) 2>/dev/null || echo unknown` 1683067610f1Smrg 1684067610f1Smrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1685067610f1Smrg/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1686067610f1Smrg 1687067610f1Smrg/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1688067610f1Smrg/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1689067610f1Smrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1690067610f1Smrg/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1691067610f1Smrg/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1692067610f1Smrg/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1693067610f1Smrg/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1694067610f1Smrg 1695067610f1Smrg_ASUNAME 1696067610f1Smrg 1697067610f1Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1698067610f1Smrgfor as_dir in $PATH 1699067610f1Smrgdo 1700067610f1Smrg IFS=$as_save_IFS 1701067610f1Smrg test -z "$as_dir" && as_dir=. 17027e6533d5Smrg $as_echo "PATH: $as_dir" 17037e6533d5Smrg done 1704067610f1SmrgIFS=$as_save_IFS 1705067610f1Smrg 1706067610f1Smrg} >&5 1707067610f1Smrg 1708067610f1Smrgcat >&5 <<_ACEOF 1709067610f1Smrg 1710067610f1Smrg 1711067610f1Smrg## ----------- ## 1712067610f1Smrg## Core tests. ## 1713067610f1Smrg## ----------- ## 1714067610f1Smrg 1715067610f1Smrg_ACEOF 1716067610f1Smrg 1717067610f1Smrg 1718067610f1Smrg# Keep a trace of the command line. 1719067610f1Smrg# Strip out --no-create and --no-recursion so they do not pile up. 1720067610f1Smrg# Strip out --silent because we don't want to record it for future runs. 1721067610f1Smrg# Also quote any args containing shell meta-characters. 1722067610f1Smrg# Make two passes to allow for proper duplicate-argument suppression. 1723067610f1Smrgac_configure_args= 1724067610f1Smrgac_configure_args0= 1725067610f1Smrgac_configure_args1= 1726067610f1Smrgac_must_keep_next=false 1727067610f1Smrgfor ac_pass in 1 2 1728067610f1Smrgdo 1729067610f1Smrg for ac_arg 1730067610f1Smrg do 1731067610f1Smrg case $ac_arg in 1732067610f1Smrg -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1733067610f1Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1734067610f1Smrg | -silent | --silent | --silen | --sile | --sil) 1735067610f1Smrg continue ;; 1736067610f1Smrg *\'*) 17377e6533d5Smrg ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1738067610f1Smrg esac 1739067610f1Smrg case $ac_pass in 17407e6533d5Smrg 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1741067610f1Smrg 2) 17427e6533d5Smrg as_fn_append ac_configure_args1 " '$ac_arg'" 1743067610f1Smrg if test $ac_must_keep_next = true; then 1744067610f1Smrg ac_must_keep_next=false # Got value, back to normal. 1745067610f1Smrg else 1746067610f1Smrg case $ac_arg in 1747067610f1Smrg *=* | --config-cache | -C | -disable-* | --disable-* \ 1748067610f1Smrg | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1749067610f1Smrg | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1750067610f1Smrg | -with-* | --with-* | -without-* | --without-* | --x) 1751067610f1Smrg case "$ac_configure_args0 " in 1752067610f1Smrg "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1753067610f1Smrg esac 1754067610f1Smrg ;; 1755067610f1Smrg -* ) ac_must_keep_next=true ;; 1756067610f1Smrg esac 1757067610f1Smrg fi 17587e6533d5Smrg as_fn_append ac_configure_args " '$ac_arg'" 1759067610f1Smrg ;; 1760067610f1Smrg esac 1761067610f1Smrg done 1762067610f1Smrgdone 17637e6533d5Smrg{ ac_configure_args0=; unset ac_configure_args0;} 17647e6533d5Smrg{ ac_configure_args1=; unset ac_configure_args1;} 1765067610f1Smrg 1766067610f1Smrg# When interrupted or exit'd, cleanup temporary files, and complete 1767067610f1Smrg# config.log. We remove comments because anyway the quotes in there 1768067610f1Smrg# would cause problems or look ugly. 1769067610f1Smrg# WARNING: Use '\'' to represent an apostrophe within the trap. 1770067610f1Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1771067610f1Smrgtrap 'exit_status=$? 1772067610f1Smrg # Save into config.log some information that might help in debugging. 1773067610f1Smrg { 1774067610f1Smrg echo 1775067610f1Smrg 17767e6533d5Smrg $as_echo "## ---------------- ## 1777067610f1Smrg## Cache variables. ## 17787e6533d5Smrg## ---------------- ##" 1779067610f1Smrg echo 1780067610f1Smrg # The following way of writing the cache mishandles newlines in values, 1781067610f1Smrg( 1782067610f1Smrg for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1783067610f1Smrg eval ac_val=\$$ac_var 1784067610f1Smrg case $ac_val in #( 1785067610f1Smrg *${as_nl}*) 1786067610f1Smrg case $ac_var in #( 17877e6533d5Smrg *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 17887e6533d5Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1789067610f1Smrg esac 1790067610f1Smrg case $ac_var in #( 1791067610f1Smrg _ | IFS | as_nl) ;; #( 17927e6533d5Smrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 17937e6533d5Smrg *) { eval $ac_var=; unset $ac_var;} ;; 1794067610f1Smrg esac ;; 1795067610f1Smrg esac 1796067610f1Smrg done 1797067610f1Smrg (set) 2>&1 | 1798067610f1Smrg case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1799067610f1Smrg *${as_nl}ac_space=\ *) 1800067610f1Smrg sed -n \ 1801067610f1Smrg "s/'\''/'\''\\\\'\'''\''/g; 1802067610f1Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1803067610f1Smrg ;; #( 1804067610f1Smrg *) 1805067610f1Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1806067610f1Smrg ;; 1807067610f1Smrg esac | 1808067610f1Smrg sort 1809067610f1Smrg) 1810067610f1Smrg echo 1811067610f1Smrg 18127e6533d5Smrg $as_echo "## ----------------- ## 1813067610f1Smrg## Output variables. ## 18147e6533d5Smrg## ----------------- ##" 1815067610f1Smrg echo 1816067610f1Smrg for ac_var in $ac_subst_vars 1817067610f1Smrg do 1818067610f1Smrg eval ac_val=\$$ac_var 1819067610f1Smrg case $ac_val in 18207e6533d5Smrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1821067610f1Smrg esac 18227e6533d5Smrg $as_echo "$ac_var='\''$ac_val'\''" 1823067610f1Smrg done | sort 1824067610f1Smrg echo 1825067610f1Smrg 1826067610f1Smrg if test -n "$ac_subst_files"; then 18277e6533d5Smrg $as_echo "## ------------------- ## 1828067610f1Smrg## File substitutions. ## 18297e6533d5Smrg## ------------------- ##" 1830067610f1Smrg echo 1831067610f1Smrg for ac_var in $ac_subst_files 1832067610f1Smrg do 1833067610f1Smrg eval ac_val=\$$ac_var 1834067610f1Smrg case $ac_val in 18357e6533d5Smrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1836067610f1Smrg esac 18377e6533d5Smrg $as_echo "$ac_var='\''$ac_val'\''" 1838067610f1Smrg done | sort 1839067610f1Smrg echo 1840067610f1Smrg fi 1841067610f1Smrg 1842067610f1Smrg if test -s confdefs.h; then 18437e6533d5Smrg $as_echo "## ----------- ## 1844067610f1Smrg## confdefs.h. ## 18457e6533d5Smrg## ----------- ##" 1846067610f1Smrg echo 1847067610f1Smrg cat confdefs.h 1848067610f1Smrg echo 1849067610f1Smrg fi 1850067610f1Smrg test "$ac_signal" != 0 && 18517e6533d5Smrg $as_echo "$as_me: caught signal $ac_signal" 18527e6533d5Smrg $as_echo "$as_me: exit $exit_status" 1853067610f1Smrg } >&5 1854067610f1Smrg rm -f core *.core core.conftest.* && 1855067610f1Smrg rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1856067610f1Smrg exit $exit_status 1857067610f1Smrg' 0 1858067610f1Smrgfor ac_signal in 1 2 13 15; do 18597e6533d5Smrg trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1860067610f1Smrgdone 1861067610f1Smrgac_signal=0 1862067610f1Smrg 1863067610f1Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed. 1864067610f1Smrgrm -f -r conftest* confdefs.h 1865067610f1Smrg 18667e6533d5Smrg$as_echo "/* confdefs.h */" > confdefs.h 18677e6533d5Smrg 1868067610f1Smrg# Predefined preprocessor variables. 1869067610f1Smrg 1870067610f1Smrgcat >>confdefs.h <<_ACEOF 1871067610f1Smrg#define PACKAGE_NAME "$PACKAGE_NAME" 1872067610f1Smrg_ACEOF 1873067610f1Smrg 1874067610f1Smrgcat >>confdefs.h <<_ACEOF 1875067610f1Smrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1876067610f1Smrg_ACEOF 1877067610f1Smrg 1878067610f1Smrgcat >>confdefs.h <<_ACEOF 1879067610f1Smrg#define PACKAGE_VERSION "$PACKAGE_VERSION" 1880067610f1Smrg_ACEOF 1881067610f1Smrg 1882067610f1Smrgcat >>confdefs.h <<_ACEOF 1883067610f1Smrg#define PACKAGE_STRING "$PACKAGE_STRING" 1884067610f1Smrg_ACEOF 1885067610f1Smrg 1886067610f1Smrgcat >>confdefs.h <<_ACEOF 1887067610f1Smrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1888067610f1Smrg_ACEOF 1889067610f1Smrg 18907e6533d5Smrgcat >>confdefs.h <<_ACEOF 18917e6533d5Smrg#define PACKAGE_URL "$PACKAGE_URL" 18927e6533d5Smrg_ACEOF 18937e6533d5Smrg 1894067610f1Smrg 1895067610f1Smrg# Let the site file select an alternate cache file if it wants to. 18967e6533d5Smrg# Prefer an explicitly selected file to automatically selected ones. 18977e6533d5Smrgac_site_file1=NONE 18987e6533d5Smrgac_site_file2=NONE 1899067610f1Smrgif test -n "$CONFIG_SITE"; then 19007e6533d5Smrg # We do not want a PATH search for config.site. 19017e6533d5Smrg case $CONFIG_SITE in #(( 19027e6533d5Smrg -*) ac_site_file1=./$CONFIG_SITE;; 19037e6533d5Smrg */*) ac_site_file1=$CONFIG_SITE;; 19047e6533d5Smrg *) ac_site_file1=./$CONFIG_SITE;; 19057e6533d5Smrg esac 1906067610f1Smrgelif test "x$prefix" != xNONE; then 19077e6533d5Smrg ac_site_file1=$prefix/share/config.site 19087e6533d5Smrg ac_site_file2=$prefix/etc/config.site 1909067610f1Smrgelse 19107e6533d5Smrg ac_site_file1=$ac_default_prefix/share/config.site 19117e6533d5Smrg ac_site_file2=$ac_default_prefix/etc/config.site 1912067610f1Smrgfi 19137e6533d5Smrgfor ac_site_file in "$ac_site_file1" "$ac_site_file2" 1914067610f1Smrgdo 19157e6533d5Smrg test "x$ac_site_file" = xNONE && continue 19167e6533d5Smrg if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 19177e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 19187e6533d5Smrg$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1919067610f1Smrg sed 's/^/| /' "$ac_site_file" >&5 19207e6533d5Smrg . "$ac_site_file" \ 19217e6533d5Smrg || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19227e6533d5Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19237e6533d5Smrgas_fn_error $? "failed to load site script $ac_site_file 19247e6533d5SmrgSee \`config.log' for more details" "$LINENO" 5; } 1925067610f1Smrg fi 1926067610f1Smrgdone 1927067610f1Smrg 1928067610f1Smrgif test -r "$cache_file"; then 19297e6533d5Smrg # Some versions of bash will fail to source /dev/null (special files 19307e6533d5Smrg # actually), so we avoid doing that. DJGPP emulates it as a regular file. 19317e6533d5Smrg if test /dev/null != "$cache_file" && test -f "$cache_file"; then 19327e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 19337e6533d5Smrg$as_echo "$as_me: loading cache $cache_file" >&6;} 1934067610f1Smrg case $cache_file in 1935067610f1Smrg [\\/]* | ?:[\\/]* ) . "$cache_file";; 1936067610f1Smrg *) . "./$cache_file";; 1937067610f1Smrg esac 1938067610f1Smrg fi 1939067610f1Smrgelse 19407e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 19417e6533d5Smrg$as_echo "$as_me: creating cache $cache_file" >&6;} 1942067610f1Smrg >$cache_file 1943067610f1Smrgfi 1944067610f1Smrg 1945067610f1Smrg# Check that the precious variables saved in the cache have kept the same 1946067610f1Smrg# value. 1947067610f1Smrgac_cache_corrupted=false 1948067610f1Smrgfor ac_var in $ac_precious_vars; do 1949067610f1Smrg eval ac_old_set=\$ac_cv_env_${ac_var}_set 1950067610f1Smrg eval ac_new_set=\$ac_env_${ac_var}_set 1951067610f1Smrg eval ac_old_val=\$ac_cv_env_${ac_var}_value 1952067610f1Smrg eval ac_new_val=\$ac_env_${ac_var}_value 1953067610f1Smrg case $ac_old_set,$ac_new_set in 1954067610f1Smrg set,) 19557e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 19567e6533d5Smrg$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1957067610f1Smrg ac_cache_corrupted=: ;; 1958067610f1Smrg ,set) 19597e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 19607e6533d5Smrg$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1961067610f1Smrg ac_cache_corrupted=: ;; 1962067610f1Smrg ,);; 1963067610f1Smrg *) 1964067610f1Smrg if test "x$ac_old_val" != "x$ac_new_val"; then 19657e6533d5Smrg # differences in whitespace do not lead to failure. 19667e6533d5Smrg ac_old_val_w=`echo x $ac_old_val` 19677e6533d5Smrg ac_new_val_w=`echo x $ac_new_val` 19687e6533d5Smrg if test "$ac_old_val_w" != "$ac_new_val_w"; then 19697e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 19707e6533d5Smrg$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 19717e6533d5Smrg ac_cache_corrupted=: 19727e6533d5Smrg else 19737e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 19747e6533d5Smrg$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 19757e6533d5Smrg eval $ac_var=\$ac_old_val 19767e6533d5Smrg fi 19777e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 19787e6533d5Smrg$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 19797e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 19807e6533d5Smrg$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1981067610f1Smrg fi;; 1982067610f1Smrg esac 1983067610f1Smrg # Pass precious variables to config.status. 1984067610f1Smrg if test "$ac_new_set" = set; then 1985067610f1Smrg case $ac_new_val in 19867e6533d5Smrg *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1987067610f1Smrg *) ac_arg=$ac_var=$ac_new_val ;; 1988067610f1Smrg esac 1989067610f1Smrg case " $ac_configure_args " in 1990067610f1Smrg *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 19917e6533d5Smrg *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1992067610f1Smrg esac 1993067610f1Smrg fi 1994067610f1Smrgdone 1995067610f1Smrgif $ac_cache_corrupted; then 19967e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19977e6533d5Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19987e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 19997e6533d5Smrg$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 20007e6533d5Smrg as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2001067610f1Smrgfi 20027e6533d5Smrg## -------------------- ## 20037e6533d5Smrg## Main body of script. ## 20047e6533d5Smrg## -------------------- ## 2005067610f1Smrg 2006067610f1Smrgac_ext=c 2007067610f1Smrgac_cpp='$CPP $CPPFLAGS' 2008067610f1Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2009067610f1Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2010067610f1Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 2011067610f1Smrg 2012067610f1Smrg 20137e6533d5Smrgam__api_version='1.11' 2014067610f1Smrg 2015067610f1Smrgac_aux_dir= 2016067610f1Smrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2017067610f1Smrg if test -f "$ac_dir/install-sh"; then 2018067610f1Smrg ac_aux_dir=$ac_dir 2019067610f1Smrg ac_install_sh="$ac_aux_dir/install-sh -c" 2020067610f1Smrg break 2021067610f1Smrg elif test -f "$ac_dir/install.sh"; then 2022067610f1Smrg ac_aux_dir=$ac_dir 2023067610f1Smrg ac_install_sh="$ac_aux_dir/install.sh -c" 2024067610f1Smrg break 2025067610f1Smrg elif test -f "$ac_dir/shtool"; then 2026067610f1Smrg ac_aux_dir=$ac_dir 2027067610f1Smrg ac_install_sh="$ac_aux_dir/shtool install -c" 2028067610f1Smrg break 2029067610f1Smrg fi 2030067610f1Smrgdone 2031067610f1Smrgif test -z "$ac_aux_dir"; then 20327e6533d5Smrg as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2033067610f1Smrgfi 2034067610f1Smrg 2035067610f1Smrg# These three variables are undocumented and unsupported, 2036067610f1Smrg# and are intended to be withdrawn in a future Autoconf release. 2037067610f1Smrg# They can cause serious problems if a builder's source tree is in a directory 2038067610f1Smrg# whose full name contains unusual characters. 2039067610f1Smrgac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2040067610f1Smrgac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2041067610f1Smrgac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2042067610f1Smrg 2043067610f1Smrg 2044067610f1Smrg# Find a good install program. We prefer a C program (faster), 2045067610f1Smrg# so one script is as good as another. But avoid the broken or 2046067610f1Smrg# incompatible versions: 2047067610f1Smrg# SysV /etc/install, /usr/sbin/install 2048067610f1Smrg# SunOS /usr/etc/install 2049067610f1Smrg# IRIX /sbin/install 2050067610f1Smrg# AIX /bin/install 2051067610f1Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs 2052067610f1Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2053067610f1Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2054067610f1Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2055067610f1Smrg# OS/2's system install, which has a completely different semantic 2056067610f1Smrg# ./install, which can be erroneously created by make from ./install.sh. 20577e6533d5Smrg# Reject install programs that cannot install multiple files. 20587e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 20597e6533d5Smrg$as_echo_n "checking for a BSD-compatible install... " >&6; } 2060067610f1Smrgif test -z "$INSTALL"; then 20617e6533d5Smrgif ${ac_cv_path_install+:} false; then : 20627e6533d5Smrg $as_echo_n "(cached) " >&6 2063067610f1Smrgelse 2064067610f1Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2065067610f1Smrgfor as_dir in $PATH 2066067610f1Smrgdo 2067067610f1Smrg IFS=$as_save_IFS 2068067610f1Smrg test -z "$as_dir" && as_dir=. 20697e6533d5Smrg # Account for people who put trailing slashes in PATH elements. 20707e6533d5Smrgcase $as_dir/ in #(( 20717e6533d5Smrg ./ | .// | /[cC]/* | \ 2072067610f1Smrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 20737e6533d5Smrg ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2074067610f1Smrg /usr/ucb/* ) ;; 2075067610f1Smrg *) 2076067610f1Smrg # OSF1 and SCO ODT 3.0 have their own names for install. 2077067610f1Smrg # Don't use installbsd from OSF since it installs stuff as root 2078067610f1Smrg # by default. 2079067610f1Smrg for ac_prog in ginstall scoinst install; do 2080067610f1Smrg for ac_exec_ext in '' $ac_executable_extensions; do 2081067610f1Smrg if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2082067610f1Smrg if test $ac_prog = install && 2083067610f1Smrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2084067610f1Smrg # AIX install. It has an incompatible calling convention. 2085067610f1Smrg : 2086067610f1Smrg elif test $ac_prog = install && 2087067610f1Smrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2088067610f1Smrg # program-specific install script used by HP pwplus--don't use. 2089067610f1Smrg : 2090067610f1Smrg else 20917e6533d5Smrg rm -rf conftest.one conftest.two conftest.dir 20927e6533d5Smrg echo one > conftest.one 20937e6533d5Smrg echo two > conftest.two 20947e6533d5Smrg mkdir conftest.dir 20957e6533d5Smrg if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 20967e6533d5Smrg test -s conftest.one && test -s conftest.two && 20977e6533d5Smrg test -s conftest.dir/conftest.one && 20987e6533d5Smrg test -s conftest.dir/conftest.two 20997e6533d5Smrg then 21007e6533d5Smrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 21017e6533d5Smrg break 3 21027e6533d5Smrg fi 2103067610f1Smrg fi 2104067610f1Smrg fi 2105067610f1Smrg done 2106067610f1Smrg done 2107067610f1Smrg ;; 2108067610f1Smrgesac 21097e6533d5Smrg 21107e6533d5Smrg done 2111067610f1SmrgIFS=$as_save_IFS 2112067610f1Smrg 21137e6533d5Smrgrm -rf conftest.one conftest.two conftest.dir 2114067610f1Smrg 2115067610f1Smrgfi 2116067610f1Smrg if test "${ac_cv_path_install+set}" = set; then 2117067610f1Smrg INSTALL=$ac_cv_path_install 2118067610f1Smrg else 2119067610f1Smrg # As a last resort, use the slow shell script. Don't cache a 2120067610f1Smrg # value for INSTALL within a source directory, because that will 2121067610f1Smrg # break other packages using the cache if that directory is 2122067610f1Smrg # removed, or if the value is a relative name. 2123067610f1Smrg INSTALL=$ac_install_sh 2124067610f1Smrg fi 2125067610f1Smrgfi 21267e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 21277e6533d5Smrg$as_echo "$INSTALL" >&6; } 2128067610f1Smrg 2129067610f1Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2130067610f1Smrg# It thinks the first close brace ends the variable substitution. 2131067610f1Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2132067610f1Smrg 2133067610f1Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2134067610f1Smrg 2135067610f1Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2136067610f1Smrg 21377e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 21387e6533d5Smrg$as_echo_n "checking whether build environment is sane... " >&6; } 2139067610f1Smrg# Just in case 2140067610f1Smrgsleep 1 2141067610f1Smrgecho timestamp > conftest.file 21427e6533d5Smrg# Reject unsafe characters in $srcdir or the absolute working directory 21437e6533d5Smrg# name. Accept space and tab only in the latter. 21447e6533d5Smrgam_lf=' 21457e6533d5Smrg' 21467e6533d5Smrgcase `pwd` in 21477e6533d5Smrg *[\\\"\#\$\&\'\`$am_lf]*) 21487e6533d5Smrg as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 21497e6533d5Smrgesac 21507e6533d5Smrgcase $srcdir in 21517e6533d5Smrg *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 21527e6533d5Smrg as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 21537e6533d5Smrgesac 21547e6533d5Smrg 2155067610f1Smrg# Do `set' in a subshell so we don't clobber the current shell's 2156067610f1Smrg# arguments. Must try -L first in case configure is actually a 2157067610f1Smrg# symlink; some systems play weird games with the mod time of symlinks 2158067610f1Smrg# (eg FreeBSD returns the mod time of the symlink's containing 2159067610f1Smrg# directory). 2160067610f1Smrgif ( 21617e6533d5Smrg set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2162067610f1Smrg if test "$*" = "X"; then 2163067610f1Smrg # -L didn't work. 21647e6533d5Smrg set X `ls -t "$srcdir/configure" conftest.file` 2165067610f1Smrg fi 2166067610f1Smrg rm -f conftest.file 2167067610f1Smrg if test "$*" != "X $srcdir/configure conftest.file" \ 2168067610f1Smrg && test "$*" != "X conftest.file $srcdir/configure"; then 2169067610f1Smrg 2170067610f1Smrg # If neither matched, then we have a broken ls. This can happen 2171067610f1Smrg # if, for instance, CONFIG_SHELL is bash and it inherits a 2172067610f1Smrg # broken ls alias from the environment. This has actually 2173067610f1Smrg # happened. Such a system could not be considered "sane". 21747e6533d5Smrg as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 21757e6533d5Smrgalias in your environment" "$LINENO" 5 2176067610f1Smrg fi 2177067610f1Smrg 2178067610f1Smrg test "$2" = conftest.file 2179067610f1Smrg ) 2180067610f1Smrgthen 2181067610f1Smrg # Ok. 2182067610f1Smrg : 2183067610f1Smrgelse 21847e6533d5Smrg as_fn_error $? "newly created file is older than distributed files! 21857e6533d5SmrgCheck your system clock" "$LINENO" 5 2186067610f1Smrgfi 21877e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 21887e6533d5Smrg$as_echo "yes" >&6; } 2189067610f1Smrgtest "$program_prefix" != NONE && 2190067610f1Smrg program_transform_name="s&^&$program_prefix&;$program_transform_name" 2191067610f1Smrg# Use a double $ so make ignores it. 2192067610f1Smrgtest "$program_suffix" != NONE && 2193067610f1Smrg program_transform_name="s&\$&$program_suffix&;$program_transform_name" 21947e6533d5Smrg# Double any \ or $. 2195067610f1Smrg# By default was `s,x,x', remove it if useless. 21967e6533d5Smrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 21977e6533d5Smrgprogram_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2198067610f1Smrg 2199067610f1Smrg# expand $ac_aux_dir to an absolute path 2200067610f1Smrgam_aux_dir=`cd $ac_aux_dir && pwd` 2201067610f1Smrg 22027e6533d5Smrgif test x"${MISSING+set}" != xset; then 22037e6533d5Smrg case $am_aux_dir in 22047e6533d5Smrg *\ * | *\ *) 22057e6533d5Smrg MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 22067e6533d5Smrg *) 22077e6533d5Smrg MISSING="\${SHELL} $am_aux_dir/missing" ;; 22087e6533d5Smrg esac 22097e6533d5Smrgfi 2210067610f1Smrg# Use eval to expand $SHELL 2211067610f1Smrgif eval "$MISSING --run true"; then 2212067610f1Smrg am_missing_run="$MISSING --run " 2213067610f1Smrgelse 22147e6533d5Smrg am_missing_run= 22157e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 22167e6533d5Smrg$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 22177e6533d5Smrgfi 22187e6533d5Smrg 22197e6533d5Smrgif test x"${install_sh}" != xset; then 22207e6533d5Smrg case $am_aux_dir in 22217e6533d5Smrg *\ * | *\ *) 22227e6533d5Smrg install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 22237e6533d5Smrg *) 22247e6533d5Smrg install_sh="\${SHELL} $am_aux_dir/install-sh" 22257e6533d5Smrg esac 22267e6533d5Smrgfi 22277e6533d5Smrg 22287e6533d5Smrg# Installed binaries are usually stripped using `strip' when the user 22297e6533d5Smrg# run `make install-strip'. However `strip' might not be the right 22307e6533d5Smrg# tool to use in cross-compilation environments, therefore Automake 22317e6533d5Smrg# will honor the `STRIP' environment variable to overrule this program. 22327e6533d5Smrgif test "$cross_compiling" != no; then 22337e6533d5Smrg if test -n "$ac_tool_prefix"; then 22347e6533d5Smrg # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 22357e6533d5Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2 22367e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22377e6533d5Smrg$as_echo_n "checking for $ac_word... " >&6; } 22387e6533d5Smrgif ${ac_cv_prog_STRIP+:} false; then : 22397e6533d5Smrg $as_echo_n "(cached) " >&6 22407e6533d5Smrgelse 22417e6533d5Smrg if test -n "$STRIP"; then 22427e6533d5Smrg ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 22437e6533d5Smrgelse 22447e6533d5Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22457e6533d5Smrgfor as_dir in $PATH 22467e6533d5Smrgdo 22477e6533d5Smrg IFS=$as_save_IFS 22487e6533d5Smrg test -z "$as_dir" && as_dir=. 22497e6533d5Smrg for ac_exec_ext in '' $ac_executable_extensions; do 22507e6533d5Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 22517e6533d5Smrg ac_cv_prog_STRIP="${ac_tool_prefix}strip" 22527e6533d5Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 22537e6533d5Smrg break 2 22547e6533d5Smrg fi 22557e6533d5Smrgdone 22567e6533d5Smrg done 22577e6533d5SmrgIFS=$as_save_IFS 22587e6533d5Smrg 22597e6533d5Smrgfi 22607e6533d5Smrgfi 22617e6533d5SmrgSTRIP=$ac_cv_prog_STRIP 22627e6533d5Smrgif test -n "$STRIP"; then 22637e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 22647e6533d5Smrg$as_echo "$STRIP" >&6; } 22657e6533d5Smrgelse 22667e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22677e6533d5Smrg$as_echo "no" >&6; } 22687e6533d5Smrgfi 22697e6533d5Smrg 22707e6533d5Smrg 22717e6533d5Smrgfi 22727e6533d5Smrgif test -z "$ac_cv_prog_STRIP"; then 22737e6533d5Smrg ac_ct_STRIP=$STRIP 22747e6533d5Smrg # Extract the first word of "strip", so it can be a program name with args. 22757e6533d5Smrgset dummy strip; ac_word=$2 22767e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22777e6533d5Smrg$as_echo_n "checking for $ac_word... " >&6; } 22787e6533d5Smrgif ${ac_cv_prog_ac_ct_STRIP+:} false; then : 22797e6533d5Smrg $as_echo_n "(cached) " >&6 22807e6533d5Smrgelse 22817e6533d5Smrg if test -n "$ac_ct_STRIP"; then 22827e6533d5Smrg ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 22837e6533d5Smrgelse 22847e6533d5Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22857e6533d5Smrgfor as_dir in $PATH 22867e6533d5Smrgdo 22877e6533d5Smrg IFS=$as_save_IFS 22887e6533d5Smrg test -z "$as_dir" && as_dir=. 22897e6533d5Smrg for ac_exec_ext in '' $ac_executable_extensions; do 22907e6533d5Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 22917e6533d5Smrg ac_cv_prog_ac_ct_STRIP="strip" 22927e6533d5Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 22937e6533d5Smrg break 2 22947e6533d5Smrg fi 22957e6533d5Smrgdone 22967e6533d5Smrg done 22977e6533d5SmrgIFS=$as_save_IFS 22987e6533d5Smrg 22997e6533d5Smrgfi 23007e6533d5Smrgfi 23017e6533d5Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 23027e6533d5Smrgif test -n "$ac_ct_STRIP"; then 23037e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 23047e6533d5Smrg$as_echo "$ac_ct_STRIP" >&6; } 23057e6533d5Smrgelse 23067e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23077e6533d5Smrg$as_echo "no" >&6; } 23087e6533d5Smrgfi 23097e6533d5Smrg 23107e6533d5Smrg if test "x$ac_ct_STRIP" = x; then 23117e6533d5Smrg STRIP=":" 23127e6533d5Smrg else 23137e6533d5Smrg case $cross_compiling:$ac_tool_warned in 23147e6533d5Smrgyes:) 23157e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 23167e6533d5Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 23177e6533d5Smrgac_tool_warned=yes ;; 23187e6533d5Smrgesac 23197e6533d5Smrg STRIP=$ac_ct_STRIP 23207e6533d5Smrg fi 23217e6533d5Smrgelse 23227e6533d5Smrg STRIP="$ac_cv_prog_STRIP" 2323067610f1Smrgfi 2324067610f1Smrg 23257e6533d5Smrgfi 23267e6533d5SmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 23277e6533d5Smrg 23287e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 23297e6533d5Smrg$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2330067610f1Smrgif test -z "$MKDIR_P"; then 23317e6533d5Smrg if ${ac_cv_path_mkdir+:} false; then : 23327e6533d5Smrg $as_echo_n "(cached) " >&6 2333067610f1Smrgelse 2334067610f1Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2335067610f1Smrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2336067610f1Smrgdo 2337067610f1Smrg IFS=$as_save_IFS 2338067610f1Smrg test -z "$as_dir" && as_dir=. 23397e6533d5Smrg for ac_prog in mkdir gmkdir; do 2340067610f1Smrg for ac_exec_ext in '' $ac_executable_extensions; do 2341067610f1Smrg { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2342067610f1Smrg case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2343067610f1Smrg 'mkdir (GNU coreutils) '* | \ 2344067610f1Smrg 'mkdir (coreutils) '* | \ 2345067610f1Smrg 'mkdir (fileutils) '4.1*) 2346067610f1Smrg ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2347067610f1Smrg break 3;; 2348067610f1Smrg esac 2349067610f1Smrg done 2350067610f1Smrg done 23517e6533d5Smrg done 2352067610f1SmrgIFS=$as_save_IFS 2353067610f1Smrg 2354067610f1Smrgfi 2355067610f1Smrg 23567e6533d5Smrg test -d ./--version && rmdir ./--version 2357067610f1Smrg if test "${ac_cv_path_mkdir+set}" = set; then 2358067610f1Smrg MKDIR_P="$ac_cv_path_mkdir -p" 2359067610f1Smrg else 2360067610f1Smrg # As a last resort, use the slow shell script. Don't cache a 2361067610f1Smrg # value for MKDIR_P within a source directory, because that will 2362067610f1Smrg # break other packages using the cache if that directory is 2363067610f1Smrg # removed, or if the value is a relative name. 2364067610f1Smrg MKDIR_P="$ac_install_sh -d" 2365067610f1Smrg fi 2366067610f1Smrgfi 23677e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 23687e6533d5Smrg$as_echo "$MKDIR_P" >&6; } 2369067610f1Smrg 2370067610f1Smrgmkdir_p="$MKDIR_P" 2371067610f1Smrgcase $mkdir_p in 2372067610f1Smrg [\\/$]* | ?:[\\/]*) ;; 2373067610f1Smrg */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2374067610f1Smrgesac 2375067610f1Smrg 2376067610f1Smrgfor ac_prog in gawk mawk nawk awk 2377067610f1Smrgdo 2378067610f1Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 2379067610f1Smrgset dummy $ac_prog; ac_word=$2 23807e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23817e6533d5Smrg$as_echo_n "checking for $ac_word... " >&6; } 23827e6533d5Smrgif ${ac_cv_prog_AWK+:} false; then : 23837e6533d5Smrg $as_echo_n "(cached) " >&6 2384067610f1Smrgelse 2385067610f1Smrg if test -n "$AWK"; then 2386067610f1Smrg ac_cv_prog_AWK="$AWK" # Let the user override the test. 2387067610f1Smrgelse 2388067610f1Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2389067610f1Smrgfor as_dir in $PATH 2390067610f1Smrgdo 2391067610f1Smrg IFS=$as_save_IFS 2392067610f1Smrg test -z "$as_dir" && as_dir=. 23937e6533d5Smrg for ac_exec_ext in '' $ac_executable_extensions; do 2394067610f1Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2395067610f1Smrg ac_cv_prog_AWK="$ac_prog" 23967e6533d5Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2397067610f1Smrg break 2 2398067610f1Smrg fi 2399067610f1Smrgdone 24007e6533d5Smrg done 2401067610f1SmrgIFS=$as_save_IFS 2402067610f1Smrg 2403067610f1Smrgfi 2404067610f1Smrgfi 2405067610f1SmrgAWK=$ac_cv_prog_AWK 2406067610f1Smrgif test -n "$AWK"; then 24077e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 24087e6533d5Smrg$as_echo "$AWK" >&6; } 2409067610f1Smrgelse 24107e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24117e6533d5Smrg$as_echo "no" >&6; } 2412067610f1Smrgfi 2413067610f1Smrg 2414067610f1Smrg 2415067610f1Smrg test -n "$AWK" && break 2416067610f1Smrgdone 2417067610f1Smrg 24187e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 24197e6533d5Smrg$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 24207e6533d5Smrgset x ${MAKE-make} 24217e6533d5Smrgac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 24227e6533d5Smrgif eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 24237e6533d5Smrg $as_echo_n "(cached) " >&6 2424067610f1Smrgelse 2425067610f1Smrg cat >conftest.make <<\_ACEOF 2426067610f1SmrgSHELL = /bin/sh 2427067610f1Smrgall: 2428067610f1Smrg @echo '@@@%%%=$(MAKE)=@@@%%%' 2429067610f1Smrg_ACEOF 24307e6533d5Smrg# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2431067610f1Smrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in 2432067610f1Smrg *@@@%%%=?*=@@@%%%*) 2433067610f1Smrg eval ac_cv_prog_make_${ac_make}_set=yes;; 2434067610f1Smrg *) 2435067610f1Smrg eval ac_cv_prog_make_${ac_make}_set=no;; 2436067610f1Smrgesac 2437067610f1Smrgrm -f conftest.make 2438067610f1Smrgfi 2439067610f1Smrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 24407e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24417e6533d5Smrg$as_echo "yes" >&6; } 2442067610f1Smrg SET_MAKE= 2443067610f1Smrgelse 24447e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24457e6533d5Smrg$as_echo "no" >&6; } 2446067610f1Smrg SET_MAKE="MAKE=${MAKE-make}" 2447067610f1Smrgfi 2448067610f1Smrg 2449067610f1Smrgrm -rf .tst 2>/dev/null 2450067610f1Smrgmkdir .tst 2>/dev/null 2451067610f1Smrgif test -d .tst; then 2452067610f1Smrg am__leading_dot=. 2453067610f1Smrgelse 2454067610f1Smrg am__leading_dot=_ 2455067610f1Smrgfi 2456067610f1Smrgrmdir .tst 2>/dev/null 2457067610f1Smrg 2458067610f1Smrgif test "`cd $srcdir && pwd`" != "`pwd`"; then 2459067610f1Smrg # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2460067610f1Smrg # is not polluted with repeated "-I." 2461067610f1Smrg am__isrc=' -I$(srcdir)' 2462067610f1Smrg # test to see if srcdir already configured 2463067610f1Smrg if test -f $srcdir/config.status; then 24647e6533d5Smrg as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2465067610f1Smrg fi 2466067610f1Smrgfi 2467067610f1Smrg 2468067610f1Smrg# test whether we have cygpath 2469067610f1Smrgif test -z "$CYGPATH_W"; then 2470067610f1Smrg if (cygpath --version) >/dev/null 2>/dev/null; then 2471067610f1Smrg CYGPATH_W='cygpath -w' 2472067610f1Smrg else 2473067610f1Smrg CYGPATH_W=echo 2474067610f1Smrg fi 2475067610f1Smrgfi 2476067610f1Smrg 2477067610f1Smrg 2478067610f1Smrg# Define the identity of the package. 2479067610f1Smrg PACKAGE='xfsinfo' 24807e6533d5Smrg VERSION='1.0.3' 2481067610f1Smrg 2482067610f1Smrg 2483067610f1Smrgcat >>confdefs.h <<_ACEOF 2484067610f1Smrg#define PACKAGE "$PACKAGE" 2485067610f1Smrg_ACEOF 2486067610f1Smrg 2487067610f1Smrg 2488067610f1Smrgcat >>confdefs.h <<_ACEOF 2489067610f1Smrg#define VERSION "$VERSION" 2490067610f1Smrg_ACEOF 2491067610f1Smrg 2492067610f1Smrg# Some tools Automake needs. 2493067610f1Smrg 2494067610f1SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2495067610f1Smrg 2496067610f1Smrg 2497067610f1SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2498067610f1Smrg 2499067610f1Smrg 2500067610f1SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2501067610f1Smrg 2502067610f1Smrg 2503067610f1SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2504067610f1Smrg 2505067610f1Smrg 2506067610f1SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2507067610f1Smrg 2508067610f1Smrg# We need awk for the "check" target. The system "awk" is bad on 2509067610f1Smrg# some platforms. 2510067610f1Smrg# Always define AMTAR for backward compatibility. 2511067610f1Smrg 2512067610f1SmrgAMTAR=${AMTAR-"${am_missing_run}tar"} 2513067610f1Smrg 2514067610f1Smrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2515067610f1Smrg 2516067610f1Smrg 2517067610f1Smrg 2518067610f1Smrg 2519067610f1Smrg 25207e6533d5Smrg 25217e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 25227e6533d5Smrg$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 2523067610f1Smrg # Check whether --enable-maintainer-mode was given. 25247e6533d5Smrgif test "${enable_maintainer_mode+set}" = set; then : 2525067610f1Smrg enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2526067610f1Smrgelse 2527067610f1Smrg USE_MAINTAINER_MODE=no 2528067610f1Smrgfi 2529067610f1Smrg 25307e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 25317e6533d5Smrg$as_echo "$USE_MAINTAINER_MODE" >&6; } 2532067610f1Smrg if test $USE_MAINTAINER_MODE = yes; then 2533067610f1Smrg MAINTAINER_MODE_TRUE= 2534067610f1Smrg MAINTAINER_MODE_FALSE='#' 2535067610f1Smrgelse 2536067610f1Smrg MAINTAINER_MODE_TRUE='#' 2537067610f1Smrg MAINTAINER_MODE_FALSE= 2538067610f1Smrgfi 2539067610f1Smrg 2540067610f1Smrg MAINT=$MAINTAINER_MODE_TRUE 2541067610f1Smrg 2542067610f1Smrg 2543067610f1Smrg 25447e6533d5Smrg# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS 25457e6533d5Smrg 25467e6533d5Smrg 25477e6533d5Smrg 25487e6533d5Smrg 25497e6533d5Smrg 25507e6533d5Smrg 25517e6533d5Smrg 25527e6533d5Smrg 25537e6533d5Smrg 25547e6533d5Smrg 25557e6533d5Smrg 25567e6533d5SmrgDEPDIR="${am__leading_dot}deps" 25577e6533d5Smrg 25587e6533d5Smrgac_config_commands="$ac_config_commands depfiles" 25597e6533d5Smrg 25607e6533d5Smrg 25617e6533d5Smrgam_make=${MAKE-make} 25627e6533d5Smrgcat > confinc << 'END' 25637e6533d5Smrgam__doit: 25647e6533d5Smrg @echo this is the am__doit target 25657e6533d5Smrg.PHONY: am__doit 25667e6533d5SmrgEND 25677e6533d5Smrg# If we don't find an include directive, just comment out the code. 25687e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 25697e6533d5Smrg$as_echo_n "checking for style of include used by $am_make... " >&6; } 25707e6533d5Smrgam__include="#" 25717e6533d5Smrgam__quote= 25727e6533d5Smrg_am_result=none 25737e6533d5Smrg# First try GNU make style include. 25747e6533d5Smrgecho "include confinc" > confmf 25757e6533d5Smrg# Ignore all kinds of additional output from `make'. 25767e6533d5Smrgcase `$am_make -s -f confmf 2> /dev/null` in #( 25777e6533d5Smrg*the\ am__doit\ target*) 25787e6533d5Smrg am__include=include 25797e6533d5Smrg am__quote= 25807e6533d5Smrg _am_result=GNU 25817e6533d5Smrg ;; 25827e6533d5Smrgesac 25837e6533d5Smrg# Now try BSD make style include. 25847e6533d5Smrgif test "$am__include" = "#"; then 25857e6533d5Smrg echo '.include "confinc"' > confmf 25867e6533d5Smrg case `$am_make -s -f confmf 2> /dev/null` in #( 25877e6533d5Smrg *the\ am__doit\ target*) 25887e6533d5Smrg am__include=.include 25897e6533d5Smrg am__quote="\"" 25907e6533d5Smrg _am_result=BSD 25917e6533d5Smrg ;; 25927e6533d5Smrg esac 25937e6533d5Smrgfi 25947e6533d5Smrg 25957e6533d5Smrg 25967e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 25977e6533d5Smrg$as_echo "$_am_result" >&6; } 25987e6533d5Smrgrm -f confinc confmf 25997e6533d5Smrg 26007e6533d5Smrg# Check whether --enable-dependency-tracking was given. 26017e6533d5Smrgif test "${enable_dependency_tracking+set}" = set; then : 26027e6533d5Smrg enableval=$enable_dependency_tracking; 26037e6533d5Smrgfi 26047e6533d5Smrg 26057e6533d5Smrgif test "x$enable_dependency_tracking" != xno; then 26067e6533d5Smrg am_depcomp="$ac_aux_dir/depcomp" 26077e6533d5Smrg AMDEPBACKSLASH='\' 26087e6533d5Smrgfi 26097e6533d5Smrg if test "x$enable_dependency_tracking" != xno; then 26107e6533d5Smrg AMDEP_TRUE= 26117e6533d5Smrg AMDEP_FALSE='#' 26127e6533d5Smrgelse 26137e6533d5Smrg AMDEP_TRUE='#' 26147e6533d5Smrg AMDEP_FALSE= 26157e6533d5Smrgfi 2616067610f1Smrg 2617067610f1Smrg 2618067610f1Smrgac_ext=c 2619067610f1Smrgac_cpp='$CPP $CPPFLAGS' 2620067610f1Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2621067610f1Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2622067610f1Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 2623067610f1Smrgif test -n "$ac_tool_prefix"; then 2624067610f1Smrg # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2625067610f1Smrgset dummy ${ac_tool_prefix}gcc; ac_word=$2 26267e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 26277e6533d5Smrg$as_echo_n "checking for $ac_word... " >&6; } 26287e6533d5Smrgif ${ac_cv_prog_CC+:} false; then : 26297e6533d5Smrg $as_echo_n "(cached) " >&6 2630067610f1Smrgelse 2631067610f1Smrg if test -n "$CC"; then 2632067610f1Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 2633067610f1Smrgelse 2634067610f1Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2635067610f1Smrgfor as_dir in $PATH 2636067610f1Smrgdo 2637067610f1Smrg IFS=$as_save_IFS 2638067610f1Smrg test -z "$as_dir" && as_dir=. 26397e6533d5Smrg for ac_exec_ext in '' $ac_executable_extensions; do 2640067610f1Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2641067610f1Smrg ac_cv_prog_CC="${ac_tool_prefix}gcc" 26427e6533d5Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2643067610f1Smrg break 2 2644067610f1Smrg fi 2645067610f1Smrgdone 26467e6533d5Smrg done 2647067610f1SmrgIFS=$as_save_IFS 2648067610f1Smrg 2649067610f1Smrgfi 2650067610f1Smrgfi 2651067610f1SmrgCC=$ac_cv_prog_CC 2652067610f1Smrgif test -n "$CC"; then 26537e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 26547e6533d5Smrg$as_echo "$CC" >&6; } 2655067610f1Smrgelse 26567e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26577e6533d5Smrg$as_echo "no" >&6; } 2658067610f1Smrgfi 2659067610f1Smrg 2660067610f1Smrg 2661067610f1Smrgfi 2662067610f1Smrgif test -z "$ac_cv_prog_CC"; then 2663067610f1Smrg ac_ct_CC=$CC 2664067610f1Smrg # Extract the first word of "gcc", so it can be a program name with args. 2665067610f1Smrgset dummy gcc; ac_word=$2 26667e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 26677e6533d5Smrg$as_echo_n "checking for $ac_word... " >&6; } 26687e6533d5Smrgif ${ac_cv_prog_ac_ct_CC+:} false; then : 26697e6533d5Smrg $as_echo_n "(cached) " >&6 2670067610f1Smrgelse 2671067610f1Smrg if test -n "$ac_ct_CC"; then 2672067610f1Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2673067610f1Smrgelse 2674067610f1Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2675067610f1Smrgfor as_dir in $PATH 2676067610f1Smrgdo 2677067610f1Smrg IFS=$as_save_IFS 2678067610f1Smrg test -z "$as_dir" && as_dir=. 26797e6533d5Smrg for ac_exec_ext in '' $ac_executable_extensions; do 2680067610f1Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2681067610f1Smrg ac_cv_prog_ac_ct_CC="gcc" 26827e6533d5Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2683067610f1Smrg break 2 2684067610f1Smrg fi 2685067610f1Smrgdone 26867e6533d5Smrg done 2687067610f1SmrgIFS=$as_save_IFS 2688067610f1Smrg 2689067610f1Smrgfi 2690067610f1Smrgfi 2691067610f1Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 2692067610f1Smrgif test -n "$ac_ct_CC"; then 26937e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 26947e6533d5Smrg$as_echo "$ac_ct_CC" >&6; } 2695067610f1Smrgelse 26967e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26977e6533d5Smrg$as_echo "no" >&6; } 2698067610f1Smrgfi 2699067610f1Smrg 2700067610f1Smrg if test "x$ac_ct_CC" = x; then 2701067610f1Smrg CC="" 2702067610f1Smrg else 2703067610f1Smrg case $cross_compiling:$ac_tool_warned in 2704067610f1Smrgyes:) 27057e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 27067e6533d5Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2707067610f1Smrgac_tool_warned=yes ;; 2708067610f1Smrgesac 2709067610f1Smrg CC=$ac_ct_CC 2710067610f1Smrg fi 2711067610f1Smrgelse 2712067610f1Smrg CC="$ac_cv_prog_CC" 2713067610f1Smrgfi 2714067610f1Smrg 2715067610f1Smrgif test -z "$CC"; then 2716067610f1Smrg if test -n "$ac_tool_prefix"; then 2717067610f1Smrg # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2718067610f1Smrgset dummy ${ac_tool_prefix}cc; ac_word=$2 27197e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 27207e6533d5Smrg$as_echo_n "checking for $ac_word... " >&6; } 27217e6533d5Smrgif ${ac_cv_prog_CC+:} false; then : 27227e6533d5Smrg $as_echo_n "(cached) " >&6 2723067610f1Smrgelse 2724067610f1Smrg if test -n "$CC"; then 2725067610f1Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 2726067610f1Smrgelse 2727067610f1Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2728067610f1Smrgfor as_dir in $PATH 2729067610f1Smrgdo 2730067610f1Smrg IFS=$as_save_IFS 2731067610f1Smrg test -z "$as_dir" && as_dir=. 27327e6533d5Smrg for ac_exec_ext in '' $ac_executable_extensions; do 2733067610f1Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2734067610f1Smrg ac_cv_prog_CC="${ac_tool_prefix}cc" 27357e6533d5Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2736067610f1Smrg break 2 2737067610f1Smrg fi 2738067610f1Smrgdone 27397e6533d5Smrg done 2740067610f1SmrgIFS=$as_save_IFS 2741067610f1Smrg 2742067610f1Smrgfi 2743067610f1Smrgfi 2744067610f1SmrgCC=$ac_cv_prog_CC 2745067610f1Smrgif test -n "$CC"; then 27467e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 27477e6533d5Smrg$as_echo "$CC" >&6; } 2748067610f1Smrgelse 27497e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27507e6533d5Smrg$as_echo "no" >&6; } 2751067610f1Smrgfi 2752067610f1Smrg 2753067610f1Smrg 2754067610f1Smrg fi 2755067610f1Smrgfi 2756067610f1Smrgif test -z "$CC"; then 2757067610f1Smrg # Extract the first word of "cc", so it can be a program name with args. 2758067610f1Smrgset dummy cc; ac_word=$2 27597e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 27607e6533d5Smrg$as_echo_n "checking for $ac_word... " >&6; } 27617e6533d5Smrgif ${ac_cv_prog_CC+:} false; then : 27627e6533d5Smrg $as_echo_n "(cached) " >&6 2763067610f1Smrgelse 2764067610f1Smrg if test -n "$CC"; then 2765067610f1Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 2766067610f1Smrgelse 2767067610f1Smrg ac_prog_rejected=no 2768067610f1Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2769067610f1Smrgfor as_dir in $PATH 2770067610f1Smrgdo 2771067610f1Smrg IFS=$as_save_IFS 2772067610f1Smrg test -z "$as_dir" && as_dir=. 27737e6533d5Smrg for ac_exec_ext in '' $ac_executable_extensions; do 2774067610f1Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2775067610f1Smrg if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2776067610f1Smrg ac_prog_rejected=yes 2777067610f1Smrg continue 2778067610f1Smrg fi 2779067610f1Smrg ac_cv_prog_CC="cc" 27807e6533d5Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2781067610f1Smrg break 2 2782067610f1Smrg fi 2783067610f1Smrgdone 27847e6533d5Smrg done 2785067610f1SmrgIFS=$as_save_IFS 2786067610f1Smrg 2787067610f1Smrgif test $ac_prog_rejected = yes; then 2788067610f1Smrg # We found a bogon in the path, so make sure we never use it. 2789067610f1Smrg set dummy $ac_cv_prog_CC 2790067610f1Smrg shift 2791067610f1Smrg if test $# != 0; then 2792067610f1Smrg # We chose a different compiler from the bogus one. 2793067610f1Smrg # However, it has the same basename, so the bogon will be chosen 2794067610f1Smrg # first if we set CC to just the basename; use the full file name. 2795067610f1Smrg shift 2796067610f1Smrg ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2797067610f1Smrg fi 2798067610f1Smrgfi 2799067610f1Smrgfi 2800067610f1Smrgfi 2801067610f1SmrgCC=$ac_cv_prog_CC 2802067610f1Smrgif test -n "$CC"; then 28037e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 28047e6533d5Smrg$as_echo "$CC" >&6; } 2805067610f1Smrgelse 28067e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28077e6533d5Smrg$as_echo "no" >&6; } 2808067610f1Smrgfi 2809067610f1Smrg 2810067610f1Smrg 2811067610f1Smrgfi 2812067610f1Smrgif test -z "$CC"; then 2813067610f1Smrg if test -n "$ac_tool_prefix"; then 2814067610f1Smrg for ac_prog in cl.exe 2815067610f1Smrg do 2816067610f1Smrg # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2817067610f1Smrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2 28187e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 28197e6533d5Smrg$as_echo_n "checking for $ac_word... " >&6; } 28207e6533d5Smrgif ${ac_cv_prog_CC+:} false; then : 28217e6533d5Smrg $as_echo_n "(cached) " >&6 2822067610f1Smrgelse 2823067610f1Smrg if test -n "$CC"; then 2824067610f1Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 2825067610f1Smrgelse 2826067610f1Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2827067610f1Smrgfor as_dir in $PATH 2828067610f1Smrgdo 2829067610f1Smrg IFS=$as_save_IFS 2830067610f1Smrg test -z "$as_dir" && as_dir=. 28317e6533d5Smrg for ac_exec_ext in '' $ac_executable_extensions; do 2832067610f1Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2833067610f1Smrg ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 28347e6533d5Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2835067610f1Smrg break 2 2836067610f1Smrg fi 2837067610f1Smrgdone 28387e6533d5Smrg done 2839067610f1SmrgIFS=$as_save_IFS 2840067610f1Smrg 2841067610f1Smrgfi 2842067610f1Smrgfi 2843067610f1SmrgCC=$ac_cv_prog_CC 2844067610f1Smrgif test -n "$CC"; then 28457e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 28467e6533d5Smrg$as_echo "$CC" >&6; } 2847067610f1Smrgelse 28487e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28497e6533d5Smrg$as_echo "no" >&6; } 2850067610f1Smrgfi 2851067610f1Smrg 2852067610f1Smrg 2853067610f1Smrg test -n "$CC" && break 2854067610f1Smrg done 2855067610f1Smrgfi 2856067610f1Smrgif test -z "$CC"; then 2857067610f1Smrg ac_ct_CC=$CC 2858067610f1Smrg for ac_prog in cl.exe 2859067610f1Smrgdo 2860067610f1Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 2861067610f1Smrgset dummy $ac_prog; ac_word=$2 28627e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 28637e6533d5Smrg$as_echo_n "checking for $ac_word... " >&6; } 28647e6533d5Smrgif ${ac_cv_prog_ac_ct_CC+:} false; then : 28657e6533d5Smrg $as_echo_n "(cached) " >&6 2866067610f1Smrgelse 2867067610f1Smrg if test -n "$ac_ct_CC"; then 2868067610f1Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2869067610f1Smrgelse 2870067610f1Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2871067610f1Smrgfor as_dir in $PATH 2872067610f1Smrgdo 2873067610f1Smrg IFS=$as_save_IFS 2874067610f1Smrg test -z "$as_dir" && as_dir=. 28757e6533d5Smrg for ac_exec_ext in '' $ac_executable_extensions; do 2876067610f1Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2877067610f1Smrg ac_cv_prog_ac_ct_CC="$ac_prog" 28787e6533d5Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2879067610f1Smrg break 2 2880067610f1Smrg fi 2881067610f1Smrgdone 28827e6533d5Smrg done 2883067610f1SmrgIFS=$as_save_IFS 2884067610f1Smrg 2885067610f1Smrgfi 2886067610f1Smrgfi 2887067610f1Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 2888067610f1Smrgif test -n "$ac_ct_CC"; then 28897e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 28907e6533d5Smrg$as_echo "$ac_ct_CC" >&6; } 2891067610f1Smrgelse 28927e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28937e6533d5Smrg$as_echo "no" >&6; } 2894067610f1Smrgfi 2895067610f1Smrg 2896067610f1Smrg 2897067610f1Smrg test -n "$ac_ct_CC" && break 2898067610f1Smrgdone 2899067610f1Smrg 2900067610f1Smrg if test "x$ac_ct_CC" = x; then 2901067610f1Smrg CC="" 2902067610f1Smrg else 2903067610f1Smrg case $cross_compiling:$ac_tool_warned in 2904067610f1Smrgyes:) 29057e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 29067e6533d5Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2907067610f1Smrgac_tool_warned=yes ;; 2908067610f1Smrgesac 2909067610f1Smrg CC=$ac_ct_CC 2910067610f1Smrg fi 2911067610f1Smrgfi 2912067610f1Smrg 2913067610f1Smrgfi 2914067610f1Smrg 2915067610f1Smrg 29167e6533d5Smrgtest -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 29177e6533d5Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 29187e6533d5Smrgas_fn_error $? "no acceptable C compiler found in \$PATH 29197e6533d5SmrgSee \`config.log' for more details" "$LINENO" 5; } 2920067610f1Smrg 2921067610f1Smrg# Provide some information about the compiler. 29227e6533d5Smrg$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 29237e6533d5Smrgset X $ac_compile 29247e6533d5Smrgac_compiler=$2 29257e6533d5Smrgfor ac_option in --version -v -V -qversion; do 29267e6533d5Smrg { { ac_try="$ac_compiler $ac_option >&5" 2927067610f1Smrgcase "(($ac_try" in 2928067610f1Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2929067610f1Smrg *) ac_try_echo=$ac_try;; 2930067610f1Smrgesac 29317e6533d5Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 29327e6533d5Smrg$as_echo "$ac_try_echo"; } >&5 29337e6533d5Smrg (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2934067610f1Smrg ac_status=$? 29357e6533d5Smrg if test -s conftest.err; then 29367e6533d5Smrg sed '10a\ 29377e6533d5Smrg... rest of stderr output deleted ... 29387e6533d5Smrg 10q' conftest.err >conftest.er1 29397e6533d5Smrg cat conftest.er1 >&5 29407e6533d5Smrg fi 29417e6533d5Smrg rm -f conftest.er1 conftest.err 29427e6533d5Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 29437e6533d5Smrg test $ac_status = 0; } 29447e6533d5Smrgdone 2945067610f1Smrg 29467e6533d5Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 2947067610f1Smrg/* end confdefs.h. */ 2948067610f1Smrg 2949067610f1Smrgint 2950067610f1Smrgmain () 2951067610f1Smrg{ 2952067610f1Smrg 2953067610f1Smrg ; 2954067610f1Smrg return 0; 2955067610f1Smrg} 2956067610f1Smrg_ACEOF 2957067610f1Smrgac_clean_files_save=$ac_clean_files 29587e6533d5Smrgac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2959067610f1Smrg# Try to create an executable without -o first, disregard a.out. 2960067610f1Smrg# It will help us diagnose broken compilers, and finding out an intuition 2961067610f1Smrg# of exeext. 29627e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 29637e6533d5Smrg$as_echo_n "checking whether the C compiler works... " >&6; } 29647e6533d5Smrgac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 29657e6533d5Smrg 29667e6533d5Smrg# The possible output files: 29677e6533d5Smrgac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 29687e6533d5Smrg 2969067610f1Smrgac_rmfiles= 2970067610f1Smrgfor ac_file in $ac_files 2971067610f1Smrgdo 2972067610f1Smrg case $ac_file in 29737e6533d5Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2974067610f1Smrg * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2975067610f1Smrg esac 2976067610f1Smrgdone 2977067610f1Smrgrm -f $ac_rmfiles 2978067610f1Smrg 29797e6533d5Smrgif { { ac_try="$ac_link_default" 2980067610f1Smrgcase "(($ac_try" in 2981067610f1Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2982067610f1Smrg *) ac_try_echo=$ac_try;; 2983067610f1Smrgesac 29847e6533d5Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 29857e6533d5Smrg$as_echo "$ac_try_echo"; } >&5 2986067610f1Smrg (eval "$ac_link_default") 2>&5 2987067610f1Smrg ac_status=$? 29887e6533d5Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 29897e6533d5Smrg test $ac_status = 0; }; then : 2990067610f1Smrg # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2991067610f1Smrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2992067610f1Smrg# in a Makefile. We should not override ac_cv_exeext if it was cached, 2993067610f1Smrg# so that the user can short-circuit this test for compilers unknown to 2994067610f1Smrg# Autoconf. 2995067610f1Smrgfor ac_file in $ac_files '' 2996067610f1Smrgdo 2997067610f1Smrg test -f "$ac_file" || continue 2998067610f1Smrg case $ac_file in 29997e6533d5Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3000067610f1Smrg ;; 3001067610f1Smrg [ab].out ) 3002067610f1Smrg # We found the default executable, but exeext='' is most 3003067610f1Smrg # certainly right. 3004067610f1Smrg break;; 3005067610f1Smrg *.* ) 30067e6533d5Smrg if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3007067610f1Smrg then :; else 3008067610f1Smrg ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3009067610f1Smrg fi 3010067610f1Smrg # We set ac_cv_exeext here because the later test for it is not 3011067610f1Smrg # safe: cross compilers may not add the suffix if given an `-o' 3012067610f1Smrg # argument, so we may need to know it at that point already. 3013067610f1Smrg # Even if this section looks crufty: it has the advantage of 3014067610f1Smrg # actually working. 3015067610f1Smrg break;; 3016067610f1Smrg * ) 3017067610f1Smrg break;; 3018067610f1Smrg esac 3019067610f1Smrgdone 3020067610f1Smrgtest "$ac_cv_exeext" = no && ac_cv_exeext= 3021067610f1Smrg 3022067610f1Smrgelse 3023067610f1Smrg ac_file='' 3024067610f1Smrgfi 30257e6533d5Smrgif test -z "$ac_file"; then : 30267e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 30277e6533d5Smrg$as_echo "no" >&6; } 30287e6533d5Smrg$as_echo "$as_me: failed program was:" >&5 3029067610f1Smrgsed 's/^/| /' conftest.$ac_ext >&5 3030067610f1Smrg 30317e6533d5Smrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 30327e6533d5Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 30337e6533d5Smrgas_fn_error 77 "C compiler cannot create executables 30347e6533d5SmrgSee \`config.log' for more details" "$LINENO" 5; } 30357e6533d5Smrgelse 30367e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 30377e6533d5Smrg$as_echo "yes" >&6; } 3038067610f1Smrgfi 30397e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 30407e6533d5Smrg$as_echo_n "checking for C compiler default output file name... " >&6; } 30417e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 30427e6533d5Smrg$as_echo "$ac_file" >&6; } 3043067610f1Smrgac_exeext=$ac_cv_exeext 3044067610f1Smrg 30457e6533d5Smrgrm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3046067610f1Smrgac_clean_files=$ac_clean_files_save 30477e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 30487e6533d5Smrg$as_echo_n "checking for suffix of executables... " >&6; } 30497e6533d5Smrgif { { ac_try="$ac_link" 3050067610f1Smrgcase "(($ac_try" in 3051067610f1Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3052067610f1Smrg *) ac_try_echo=$ac_try;; 3053067610f1Smrgesac 30547e6533d5Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 30557e6533d5Smrg$as_echo "$ac_try_echo"; } >&5 3056067610f1Smrg (eval "$ac_link") 2>&5 3057067610f1Smrg ac_status=$? 30587e6533d5Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 30597e6533d5Smrg test $ac_status = 0; }; then : 3060067610f1Smrg # If both `conftest.exe' and `conftest' are `present' (well, observable) 3061067610f1Smrg# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3062067610f1Smrg# work properly (i.e., refer to `conftest.exe'), while it won't with 3063067610f1Smrg# `rm'. 3064067610f1Smrgfor ac_file in conftest.exe conftest conftest.*; do 3065067610f1Smrg test -f "$ac_file" || continue 3066067610f1Smrg case $ac_file in 30677e6533d5Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3068067610f1Smrg *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3069067610f1Smrg break;; 3070067610f1Smrg * ) break;; 3071067610f1Smrg esac 3072067610f1Smrgdone 3073067610f1Smrgelse 30747e6533d5Smrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 30757e6533d5Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 30767e6533d5Smrgas_fn_error $? "cannot compute suffix of executables: cannot compile and link 30777e6533d5SmrgSee \`config.log' for more details" "$LINENO" 5; } 3078067610f1Smrgfi 30797e6533d5Smrgrm -f conftest conftest$ac_cv_exeext 30807e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 30817e6533d5Smrg$as_echo "$ac_cv_exeext" >&6; } 3082067610f1Smrg 3083067610f1Smrgrm -f conftest.$ac_ext 3084067610f1SmrgEXEEXT=$ac_cv_exeext 3085067610f1Smrgac_exeext=$EXEEXT 30867e6533d5Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 30877e6533d5Smrg/* end confdefs.h. */ 30887e6533d5Smrg#include <stdio.h> 30897e6533d5Smrgint 30907e6533d5Smrgmain () 30917e6533d5Smrg{ 30927e6533d5SmrgFILE *f = fopen ("conftest.out", "w"); 30937e6533d5Smrg return ferror (f) || fclose (f) != 0; 30947e6533d5Smrg 30957e6533d5Smrg ; 30967e6533d5Smrg return 0; 30977e6533d5Smrg} 3098067610f1Smrg_ACEOF 30997e6533d5Smrgac_clean_files="$ac_clean_files conftest.out" 31007e6533d5Smrg# Check that the compiler produces executables we can run. If not, either 31017e6533d5Smrg# the compiler is broken, or we cross compile. 31027e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 31037e6533d5Smrg$as_echo_n "checking whether we are cross compiling... " >&6; } 31047e6533d5Smrgif test "$cross_compiling" != yes; then 31057e6533d5Smrg { { ac_try="$ac_link" 31067e6533d5Smrgcase "(($ac_try" in 31077e6533d5Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 31087e6533d5Smrg *) ac_try_echo=$ac_try;; 31097e6533d5Smrgesac 31107e6533d5Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 31117e6533d5Smrg$as_echo "$ac_try_echo"; } >&5 31127e6533d5Smrg (eval "$ac_link") 2>&5 31137e6533d5Smrg ac_status=$? 31147e6533d5Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 31157e6533d5Smrg test $ac_status = 0; } 31167e6533d5Smrg if { ac_try='./conftest$ac_cv_exeext' 31177e6533d5Smrg { { case "(($ac_try" in 31187e6533d5Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 31197e6533d5Smrg *) ac_try_echo=$ac_try;; 31207e6533d5Smrgesac 31217e6533d5Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 31227e6533d5Smrg$as_echo "$ac_try_echo"; } >&5 31237e6533d5Smrg (eval "$ac_try") 2>&5 31247e6533d5Smrg ac_status=$? 31257e6533d5Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 31267e6533d5Smrg test $ac_status = 0; }; }; then 31277e6533d5Smrg cross_compiling=no 31287e6533d5Smrg else 31297e6533d5Smrg if test "$cross_compiling" = maybe; then 31307e6533d5Smrg cross_compiling=yes 31317e6533d5Smrg else 31327e6533d5Smrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 31337e6533d5Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 31347e6533d5Smrgas_fn_error $? "cannot run C compiled programs. 31357e6533d5SmrgIf you meant to cross compile, use \`--host'. 31367e6533d5SmrgSee \`config.log' for more details" "$LINENO" 5; } 31377e6533d5Smrg fi 31387e6533d5Smrg fi 31397e6533d5Smrgfi 31407e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 31417e6533d5Smrg$as_echo "$cross_compiling" >&6; } 31427e6533d5Smrg 31437e6533d5Smrgrm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 31447e6533d5Smrgac_clean_files=$ac_clean_files_save 31457e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 31467e6533d5Smrg$as_echo_n "checking for suffix of object files... " >&6; } 31477e6533d5Smrgif ${ac_cv_objext+:} false; then : 31487e6533d5Smrg $as_echo_n "(cached) " >&6 31497e6533d5Smrgelse 31507e6533d5Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3151067610f1Smrg/* end confdefs.h. */ 3152067610f1Smrg 3153067610f1Smrgint 3154067610f1Smrgmain () 3155067610f1Smrg{ 3156067610f1Smrg 3157067610f1Smrg ; 3158067610f1Smrg return 0; 3159067610f1Smrg} 3160067610f1Smrg_ACEOF 3161067610f1Smrgrm -f conftest.o conftest.obj 31627e6533d5Smrgif { { ac_try="$ac_compile" 3163067610f1Smrgcase "(($ac_try" in 3164067610f1Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3165067610f1Smrg *) ac_try_echo=$ac_try;; 3166067610f1Smrgesac 31677e6533d5Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 31687e6533d5Smrg$as_echo "$ac_try_echo"; } >&5 3169067610f1Smrg (eval "$ac_compile") 2>&5 3170067610f1Smrg ac_status=$? 31717e6533d5Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 31727e6533d5Smrg test $ac_status = 0; }; then : 3173067610f1Smrg for ac_file in conftest.o conftest.obj conftest.*; do 3174067610f1Smrg test -f "$ac_file" || continue; 3175067610f1Smrg case $ac_file in 31767e6533d5Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3177067610f1Smrg *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3178067610f1Smrg break;; 3179067610f1Smrg esac 3180067610f1Smrgdone 3181067610f1Smrgelse 31827e6533d5Smrg $as_echo "$as_me: failed program was:" >&5 3183067610f1Smrgsed 's/^/| /' conftest.$ac_ext >&5 3184067610f1Smrg 31857e6533d5Smrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 31867e6533d5Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 31877e6533d5Smrgas_fn_error $? "cannot compute suffix of object files: cannot compile 31887e6533d5SmrgSee \`config.log' for more details" "$LINENO" 5; } 3189067610f1Smrgfi 3190067610f1Smrgrm -f conftest.$ac_cv_objext conftest.$ac_ext 3191067610f1Smrgfi 31927e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 31937e6533d5Smrg$as_echo "$ac_cv_objext" >&6; } 3194067610f1SmrgOBJEXT=$ac_cv_objext 3195067610f1Smrgac_objext=$OBJEXT 31967e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 31977e6533d5Smrg$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 31987e6533d5Smrgif ${ac_cv_c_compiler_gnu+:} false; then : 31997e6533d5Smrg $as_echo_n "(cached) " >&6 3200067610f1Smrgelse 32017e6533d5Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3202067610f1Smrg/* end confdefs.h. */ 3203067610f1Smrg 3204067610f1Smrgint 3205067610f1Smrgmain () 3206067610f1Smrg{ 3207067610f1Smrg#ifndef __GNUC__ 3208067610f1Smrg choke me 3209067610f1Smrg#endif 3210067610f1Smrg 3211067610f1Smrg ; 3212067610f1Smrg return 0; 3213067610f1Smrg} 3214067610f1Smrg_ACEOF 32157e6533d5Smrgif ac_fn_c_try_compile "$LINENO"; then : 3216067610f1Smrg ac_compiler_gnu=yes 3217067610f1Smrgelse 32187e6533d5Smrg ac_compiler_gnu=no 3219067610f1Smrgfi 3220067610f1Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3221067610f1Smrgac_cv_c_compiler_gnu=$ac_compiler_gnu 3222067610f1Smrg 3223067610f1Smrgfi 32247e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 32257e6533d5Smrg$as_echo "$ac_cv_c_compiler_gnu" >&6; } 32267e6533d5Smrgif test $ac_compiler_gnu = yes; then 32277e6533d5Smrg GCC=yes 32287e6533d5Smrgelse 32297e6533d5Smrg GCC= 32307e6533d5Smrgfi 3231067610f1Smrgac_test_CFLAGS=${CFLAGS+set} 3232067610f1Smrgac_save_CFLAGS=$CFLAGS 32337e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 32347e6533d5Smrg$as_echo_n "checking whether $CC accepts -g... " >&6; } 32357e6533d5Smrgif ${ac_cv_prog_cc_g+:} false; then : 32367e6533d5Smrg $as_echo_n "(cached) " >&6 3237067610f1Smrgelse 3238067610f1Smrg ac_save_c_werror_flag=$ac_c_werror_flag 3239067610f1Smrg ac_c_werror_flag=yes 3240067610f1Smrg ac_cv_prog_cc_g=no 3241067610f1Smrg CFLAGS="-g" 32427e6533d5Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3243067610f1Smrg/* end confdefs.h. */ 3244067610f1Smrg 3245067610f1Smrgint 3246067610f1Smrgmain () 3247067610f1Smrg{ 3248067610f1Smrg 3249067610f1Smrg ; 3250067610f1Smrg return 0; 3251067610f1Smrg} 3252067610f1Smrg_ACEOF 32537e6533d5Smrgif ac_fn_c_try_compile "$LINENO"; then : 3254067610f1Smrg ac_cv_prog_cc_g=yes 3255067610f1Smrgelse 32567e6533d5Smrg CFLAGS="" 32577e6533d5Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3258067610f1Smrg/* end confdefs.h. */ 3259067610f1Smrg 3260067610f1Smrgint 3261067610f1Smrgmain () 3262067610f1Smrg{ 3263067610f1Smrg 3264067610f1Smrg ; 3265067610f1Smrg return 0; 3266067610f1Smrg} 3267067610f1Smrg_ACEOF 32687e6533d5Smrgif ac_fn_c_try_compile "$LINENO"; then : 3269067610f1Smrg 32707e6533d5Smrgelse 32717e6533d5Smrg ac_c_werror_flag=$ac_save_c_werror_flag 3272067610f1Smrg CFLAGS="-g" 32737e6533d5Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3274067610f1Smrg/* end confdefs.h. */ 3275067610f1Smrg 3276067610f1Smrgint 3277067610f1Smrgmain () 3278067610f1Smrg{ 3279067610f1Smrg 3280067610f1Smrg ; 3281067610f1Smrg return 0; 3282067610f1Smrg} 3283067610f1Smrg_ACEOF 32847e6533d5Smrgif ac_fn_c_try_compile "$LINENO"; then : 3285067610f1Smrg ac_cv_prog_cc_g=yes 3286067610f1Smrgfi 3287067610f1Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3288067610f1Smrgfi 3289067610f1Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3290067610f1Smrgfi 3291067610f1Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3292067610f1Smrg ac_c_werror_flag=$ac_save_c_werror_flag 3293067610f1Smrgfi 32947e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 32957e6533d5Smrg$as_echo "$ac_cv_prog_cc_g" >&6; } 3296067610f1Smrgif test "$ac_test_CFLAGS" = set; then 3297067610f1Smrg CFLAGS=$ac_save_CFLAGS 3298067610f1Smrgelif test $ac_cv_prog_cc_g = yes; then 3299067610f1Smrg if test "$GCC" = yes; then 3300067610f1Smrg CFLAGS="-g -O2" 3301067610f1Smrg else 3302067610f1Smrg CFLAGS="-g" 3303067610f1Smrg fi 3304067610f1Smrgelse 3305067610f1Smrg if test "$GCC" = yes; then 3306067610f1Smrg CFLAGS="-O2" 3307067610f1Smrg else 3308067610f1Smrg CFLAGS= 3309067610f1Smrg fi 3310067610f1Smrgfi 33117e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 33127e6533d5Smrg$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 33137e6533d5Smrgif ${ac_cv_prog_cc_c89+:} false; then : 33147e6533d5Smrg $as_echo_n "(cached) " >&6 3315067610f1Smrgelse 3316067610f1Smrg ac_cv_prog_cc_c89=no 3317067610f1Smrgac_save_CC=$CC 33187e6533d5Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 3319067610f1Smrg/* end confdefs.h. */ 3320067610f1Smrg#include <stdarg.h> 3321067610f1Smrg#include <stdio.h> 3322067610f1Smrg#include <sys/types.h> 3323067610f1Smrg#include <sys/stat.h> 3324067610f1Smrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3325067610f1Smrgstruct buf { int x; }; 3326067610f1SmrgFILE * (*rcsopen) (struct buf *, struct stat *, int); 3327067610f1Smrgstatic char *e (p, i) 3328067610f1Smrg char **p; 3329067610f1Smrg int i; 3330067610f1Smrg{ 3331067610f1Smrg return p[i]; 3332067610f1Smrg} 3333067610f1Smrgstatic char *f (char * (*g) (char **, int), char **p, ...) 3334067610f1Smrg{ 3335067610f1Smrg char *s; 3336067610f1Smrg va_list v; 3337067610f1Smrg va_start (v,p); 3338067610f1Smrg s = g (p, va_arg (v,int)); 3339067610f1Smrg va_end (v); 3340067610f1Smrg return s; 3341067610f1Smrg} 3342067610f1Smrg 3343067610f1Smrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3344067610f1Smrg function prototypes and stuff, but not '\xHH' hex character constants. 3345067610f1Smrg These don't provoke an error unfortunately, instead are silently treated 3346067610f1Smrg as 'x'. The following induces an error, until -std is added to get 3347067610f1Smrg proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3348067610f1Smrg array size at least. It's necessary to write '\x00'==0 to get something 3349067610f1Smrg that's true only with -std. */ 3350067610f1Smrgint osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3351067610f1Smrg 3352067610f1Smrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3353067610f1Smrg inside strings and character constants. */ 3354067610f1Smrg#define FOO(x) 'x' 3355067610f1Smrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3356067610f1Smrg 3357067610f1Smrgint test (int i, double x); 3358067610f1Smrgstruct s1 {int (*f) (int a);}; 3359067610f1Smrgstruct s2 {int (*f) (double a);}; 3360067610f1Smrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3361067610f1Smrgint argc; 3362067610f1Smrgchar **argv; 3363067610f1Smrgint 3364067610f1Smrgmain () 3365067610f1Smrg{ 3366067610f1Smrgreturn f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3367067610f1Smrg ; 3368067610f1Smrg return 0; 3369067610f1Smrg} 3370067610f1Smrg_ACEOF 3371067610f1Smrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3372067610f1Smrg -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3373067610f1Smrgdo 3374067610f1Smrg CC="$ac_save_CC $ac_arg" 33757e6533d5Smrg if ac_fn_c_try_compile "$LINENO"; then : 3376067610f1Smrg ac_cv_prog_cc_c89=$ac_arg 3377067610f1Smrgfi 3378067610f1Smrgrm -f core conftest.err conftest.$ac_objext 3379067610f1Smrg test "x$ac_cv_prog_cc_c89" != "xno" && break 3380067610f1Smrgdone 3381067610f1Smrgrm -f conftest.$ac_ext 3382067610f1SmrgCC=$ac_save_CC 3383067610f1Smrg 3384067610f1Smrgfi 3385067610f1Smrg# AC_CACHE_VAL 3386067610f1Smrgcase "x$ac_cv_prog_cc_c89" in 3387067610f1Smrg x) 33887e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 33897e6533d5Smrg$as_echo "none needed" >&6; } ;; 3390067610f1Smrg xno) 33917e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 33927e6533d5Smrg$as_echo "unsupported" >&6; } ;; 3393067610f1Smrg *) 3394067610f1Smrg CC="$CC $ac_cv_prog_cc_c89" 33957e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 33967e6533d5Smrg$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3397067610f1Smrgesac 33987e6533d5Smrgif test "x$ac_cv_prog_cc_c89" != xno; then : 3399067610f1Smrg 34007e6533d5Smrgfi 3401067610f1Smrg 3402067610f1Smrgac_ext=c 3403067610f1Smrgac_cpp='$CPP $CPPFLAGS' 3404067610f1Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3405067610f1Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3406067610f1Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 3407067610f1Smrg 34087e6533d5Smrgdepcc="$CC" am_compiler_list= 34097e6533d5Smrg 34107e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 34117e6533d5Smrg$as_echo_n "checking dependency style of $depcc... " >&6; } 34127e6533d5Smrgif ${am_cv_CC_dependencies_compiler_type+:} false; then : 34137e6533d5Smrg $as_echo_n "(cached) " >&6 34147e6533d5Smrgelse 34157e6533d5Smrg if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 34167e6533d5Smrg # We make a subdir and do the tests there. Otherwise we can end up 34177e6533d5Smrg # making bogus files that we don't know about and never remove. For 34187e6533d5Smrg # instance it was reported that on HP-UX the gcc test will end up 34197e6533d5Smrg # making a dummy file named `D' -- because `-MD' means `put the output 34207e6533d5Smrg # in D'. 34217e6533d5Smrg mkdir conftest.dir 34227e6533d5Smrg # Copy depcomp to subdir because otherwise we won't find it if we're 34237e6533d5Smrg # using a relative directory. 34247e6533d5Smrg cp "$am_depcomp" conftest.dir 34257e6533d5Smrg cd conftest.dir 34267e6533d5Smrg # We will build objects and dependencies in a subdirectory because 34277e6533d5Smrg # it helps to detect inapplicable dependency modes. For instance 34287e6533d5Smrg # both Tru64's cc and ICC support -MD to output dependencies as a 34297e6533d5Smrg # side effect of compilation, but ICC will put the dependencies in 34307e6533d5Smrg # the current directory while Tru64 will put them in the object 34317e6533d5Smrg # directory. 34327e6533d5Smrg mkdir sub 3433067610f1Smrg 34347e6533d5Smrg am_cv_CC_dependencies_compiler_type=none 34357e6533d5Smrg if test "$am_compiler_list" = ""; then 34367e6533d5Smrg am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 34377e6533d5Smrg fi 34387e6533d5Smrg am__universal=false 34397e6533d5Smrg case " $depcc " in #( 34407e6533d5Smrg *\ -arch\ *\ -arch\ *) am__universal=true ;; 34417e6533d5Smrg esac 3442067610f1Smrg 34437e6533d5Smrg for depmode in $am_compiler_list; do 34447e6533d5Smrg # Setup a source with many dependencies, because some compilers 34457e6533d5Smrg # like to wrap large dependency lists on column 80 (with \), and 34467e6533d5Smrg # we should not choose a depcomp mode which is confused by this. 34477e6533d5Smrg # 34487e6533d5Smrg # We need to recreate these files for each test, as the compiler may 34497e6533d5Smrg # overwrite some of them when testing with obscure command lines. 34507e6533d5Smrg # This happens at least with the AIX C compiler. 34517e6533d5Smrg : > sub/conftest.c 34527e6533d5Smrg for i in 1 2 3 4 5 6; do 34537e6533d5Smrg echo '#include "conftst'$i'.h"' >> sub/conftest.c 34547e6533d5Smrg # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 34557e6533d5Smrg # Solaris 8's {/usr,}/bin/sh. 34567e6533d5Smrg touch sub/conftst$i.h 34577e6533d5Smrg done 34587e6533d5Smrg echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 34597e6533d5Smrg 34607e6533d5Smrg # We check with `-c' and `-o' for the sake of the "dashmstdout" 34617e6533d5Smrg # mode. It turns out that the SunPro C++ compiler does not properly 34627e6533d5Smrg # handle `-M -o', and we need to detect this. Also, some Intel 34637e6533d5Smrg # versions had trouble with output in subdirs 34647e6533d5Smrg am__obj=sub/conftest.${OBJEXT-o} 34657e6533d5Smrg am__minus_obj="-o $am__obj" 34667e6533d5Smrg case $depmode in 34677e6533d5Smrg gcc) 34687e6533d5Smrg # This depmode causes a compiler race in universal mode. 34697e6533d5Smrg test "$am__universal" = false || continue 34707e6533d5Smrg ;; 34717e6533d5Smrg nosideeffect) 34727e6533d5Smrg # after this tag, mechanisms are not by side-effect, so they'll 34737e6533d5Smrg # only be used when explicitly requested 34747e6533d5Smrg if test "x$enable_dependency_tracking" = xyes; then 34757e6533d5Smrg continue 34767e6533d5Smrg else 34777e6533d5Smrg break 34787e6533d5Smrg fi 34797e6533d5Smrg ;; 34807e6533d5Smrg msvisualcpp | msvcmsys) 34817e6533d5Smrg # This compiler won't grok `-c -o', but also, the minuso test has 34827e6533d5Smrg # not run yet. These depmodes are late enough in the game, and 34837e6533d5Smrg # so weak that their functioning should not be impacted. 34847e6533d5Smrg am__obj=conftest.${OBJEXT-o} 34857e6533d5Smrg am__minus_obj= 34867e6533d5Smrg ;; 34877e6533d5Smrg none) break ;; 34887e6533d5Smrg esac 34897e6533d5Smrg if depmode=$depmode \ 34907e6533d5Smrg source=sub/conftest.c object=$am__obj \ 34917e6533d5Smrg depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 34927e6533d5Smrg $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 34937e6533d5Smrg >/dev/null 2>conftest.err && 34947e6533d5Smrg grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 34957e6533d5Smrg grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 34967e6533d5Smrg grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 34977e6533d5Smrg ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 34987e6533d5Smrg # icc doesn't choke on unknown options, it will just issue warnings 34997e6533d5Smrg # or remarks (even with -Werror). So we grep stderr for any message 35007e6533d5Smrg # that says an option was ignored or not supported. 35017e6533d5Smrg # When given -MP, icc 7.0 and 7.1 complain thusly: 35027e6533d5Smrg # icc: Command line warning: ignoring option '-M'; no argument required 35037e6533d5Smrg # The diagnosis changed in icc 8.0: 35047e6533d5Smrg # icc: Command line remark: option '-MP' not supported 35057e6533d5Smrg if (grep 'ignoring option' conftest.err || 35067e6533d5Smrg grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 35077e6533d5Smrg am_cv_CC_dependencies_compiler_type=$depmode 35087e6533d5Smrg break 35097e6533d5Smrg fi 35107e6533d5Smrg fi 35117e6533d5Smrg done 35127e6533d5Smrg 35137e6533d5Smrg cd .. 35147e6533d5Smrg rm -rf conftest.dir 35157e6533d5Smrgelse 35167e6533d5Smrg am_cv_CC_dependencies_compiler_type=none 3517067610f1Smrgfi 35187e6533d5Smrg 35197e6533d5Smrgfi 35207e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 35217e6533d5Smrg$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 35227e6533d5SmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 35237e6533d5Smrg 35247e6533d5Smrg if 35257e6533d5Smrg test "x$enable_dependency_tracking" != xno \ 35267e6533d5Smrg && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 35277e6533d5Smrg am__fastdepCC_TRUE= 35287e6533d5Smrg am__fastdepCC_FALSE='#' 35297e6533d5Smrgelse 35307e6533d5Smrg am__fastdepCC_TRUE='#' 35317e6533d5Smrg am__fastdepCC_FALSE= 3532067610f1Smrgfi 3533067610f1Smrg 3534067610f1Smrg 35357e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 35367e6533d5Smrg$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 35377e6533d5Smrgif ${ac_cv_prog_cc_c99+:} false; then : 35387e6533d5Smrg $as_echo_n "(cached) " >&6 35397e6533d5Smrgelse 35407e6533d5Smrg ac_cv_prog_cc_c99=no 35417e6533d5Smrgac_save_CC=$CC 35427e6533d5Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 35437e6533d5Smrg/* end confdefs.h. */ 35447e6533d5Smrg#include <stdarg.h> 35457e6533d5Smrg#include <stdbool.h> 35467e6533d5Smrg#include <stdlib.h> 35477e6533d5Smrg#include <wchar.h> 35487e6533d5Smrg#include <stdio.h> 3549067610f1Smrg 35507e6533d5Smrg// Check varargs macros. These examples are taken from C99 6.10.3.5. 35517e6533d5Smrg#define debug(...) fprintf (stderr, __VA_ARGS__) 35527e6533d5Smrg#define showlist(...) puts (#__VA_ARGS__) 35537e6533d5Smrg#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 35547e6533d5Smrgstatic void 35557e6533d5Smrgtest_varargs_macros (void) 35567e6533d5Smrg{ 35577e6533d5Smrg int x = 1234; 35587e6533d5Smrg int y = 5678; 35597e6533d5Smrg debug ("Flag"); 35607e6533d5Smrg debug ("X = %d\n", x); 35617e6533d5Smrg showlist (The first, second, and third items.); 35627e6533d5Smrg report (x>y, "x is %d but y is %d", x, y); 35637e6533d5Smrg} 35647e6533d5Smrg 35657e6533d5Smrg// Check long long types. 35667e6533d5Smrg#define BIG64 18446744073709551615ull 35677e6533d5Smrg#define BIG32 4294967295ul 35687e6533d5Smrg#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 35697e6533d5Smrg#if !BIG_OK 35707e6533d5Smrg your preprocessor is broken; 35717e6533d5Smrg#endif 35727e6533d5Smrg#if BIG_OK 35737e6533d5Smrg#else 35747e6533d5Smrg your preprocessor is broken; 35757e6533d5Smrg#endif 35767e6533d5Smrgstatic long long int bignum = -9223372036854775807LL; 35777e6533d5Smrgstatic unsigned long long int ubignum = BIG64; 35787e6533d5Smrg 35797e6533d5Smrgstruct incomplete_array 35807e6533d5Smrg{ 35817e6533d5Smrg int datasize; 35827e6533d5Smrg double data[]; 35837e6533d5Smrg}; 35847e6533d5Smrg 35857e6533d5Smrgstruct named_init { 35867e6533d5Smrg int number; 35877e6533d5Smrg const wchar_t *name; 35887e6533d5Smrg double average; 35897e6533d5Smrg}; 35907e6533d5Smrg 35917e6533d5Smrgtypedef const char *ccp; 35927e6533d5Smrg 35937e6533d5Smrgstatic inline int 35947e6533d5Smrgtest_restrict (ccp restrict text) 35957e6533d5Smrg{ 35967e6533d5Smrg // See if C++-style comments work. 35977e6533d5Smrg // Iterate through items via the restricted pointer. 35987e6533d5Smrg // Also check for declarations in for loops. 35997e6533d5Smrg for (unsigned int i = 0; *(text+i) != '\0'; ++i) 36007e6533d5Smrg continue; 36017e6533d5Smrg return 0; 36027e6533d5Smrg} 36037e6533d5Smrg 36047e6533d5Smrg// Check varargs and va_copy. 36057e6533d5Smrgstatic void 36067e6533d5Smrgtest_varargs (const char *format, ...) 36077e6533d5Smrg{ 36087e6533d5Smrg va_list args; 36097e6533d5Smrg va_start (args, format); 36107e6533d5Smrg va_list args_copy; 36117e6533d5Smrg va_copy (args_copy, args); 36127e6533d5Smrg 36137e6533d5Smrg const char *str; 36147e6533d5Smrg int number; 36157e6533d5Smrg float fnumber; 36167e6533d5Smrg 36177e6533d5Smrg while (*format) 36187e6533d5Smrg { 36197e6533d5Smrg switch (*format++) 36207e6533d5Smrg { 36217e6533d5Smrg case 's': // string 36227e6533d5Smrg str = va_arg (args_copy, const char *); 36237e6533d5Smrg break; 36247e6533d5Smrg case 'd': // int 36257e6533d5Smrg number = va_arg (args_copy, int); 36267e6533d5Smrg break; 36277e6533d5Smrg case 'f': // float 36287e6533d5Smrg fnumber = va_arg (args_copy, double); 36297e6533d5Smrg break; 36307e6533d5Smrg default: 36317e6533d5Smrg break; 36327e6533d5Smrg } 36337e6533d5Smrg } 36347e6533d5Smrg va_end (args_copy); 36357e6533d5Smrg va_end (args); 36367e6533d5Smrg} 36377e6533d5Smrg 36387e6533d5Smrgint 36397e6533d5Smrgmain () 36407e6533d5Smrg{ 36417e6533d5Smrg 36427e6533d5Smrg // Check bool. 36437e6533d5Smrg _Bool success = false; 36447e6533d5Smrg 36457e6533d5Smrg // Check restrict. 36467e6533d5Smrg if (test_restrict ("String literal") == 0) 36477e6533d5Smrg success = true; 36487e6533d5Smrg char *restrict newvar = "Another string"; 36497e6533d5Smrg 36507e6533d5Smrg // Check varargs. 36517e6533d5Smrg test_varargs ("s, d' f .", "string", 65, 34.234); 36527e6533d5Smrg test_varargs_macros (); 36537e6533d5Smrg 36547e6533d5Smrg // Check flexible array members. 36557e6533d5Smrg struct incomplete_array *ia = 36567e6533d5Smrg malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 36577e6533d5Smrg ia->datasize = 10; 36587e6533d5Smrg for (int i = 0; i < ia->datasize; ++i) 36597e6533d5Smrg ia->data[i] = i * 1.234; 36607e6533d5Smrg 36617e6533d5Smrg // Check named initializers. 36627e6533d5Smrg struct named_init ni = { 36637e6533d5Smrg .number = 34, 36647e6533d5Smrg .name = L"Test wide string", 36657e6533d5Smrg .average = 543.34343, 36667e6533d5Smrg }; 36677e6533d5Smrg 36687e6533d5Smrg ni.number = 58; 36697e6533d5Smrg 36707e6533d5Smrg int dynamic_array[ni.number]; 36717e6533d5Smrg dynamic_array[ni.number - 1] = 543; 36727e6533d5Smrg 36737e6533d5Smrg // work around unused variable warnings 36747e6533d5Smrg return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 36757e6533d5Smrg || dynamic_array[ni.number - 1] != 543); 36767e6533d5Smrg 36777e6533d5Smrg ; 36787e6533d5Smrg return 0; 36797e6533d5Smrg} 36807e6533d5Smrg_ACEOF 36817e6533d5Smrgfor ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 36827e6533d5Smrgdo 36837e6533d5Smrg CC="$ac_save_CC $ac_arg" 36847e6533d5Smrg if ac_fn_c_try_compile "$LINENO"; then : 36857e6533d5Smrg ac_cv_prog_cc_c99=$ac_arg 3686067610f1Smrgfi 36877e6533d5Smrgrm -f core conftest.err conftest.$ac_objext 36887e6533d5Smrg test "x$ac_cv_prog_cc_c99" != "xno" && break 36897e6533d5Smrgdone 36907e6533d5Smrgrm -f conftest.$ac_ext 36917e6533d5SmrgCC=$ac_save_CC 3692067610f1Smrg 3693067610f1Smrgfi 36947e6533d5Smrg# AC_CACHE_VAL 36957e6533d5Smrgcase "x$ac_cv_prog_cc_c99" in 36967e6533d5Smrg x) 36977e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 36987e6533d5Smrg$as_echo "none needed" >&6; } ;; 36997e6533d5Smrg xno) 37007e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 37017e6533d5Smrg$as_echo "unsupported" >&6; } ;; 37027e6533d5Smrg *) 37037e6533d5Smrg CC="$CC $ac_cv_prog_cc_c99" 37047e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 37057e6533d5Smrg$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 37067e6533d5Smrgesac 37077e6533d5Smrgif test "x$ac_cv_prog_cc_c99" != xno; then : 37087e6533d5Smrg 37097e6533d5Smrgfi 37107e6533d5Smrg 37117e6533d5Smrg 37127e6533d5Smrg 37137e6533d5Smrgac_ext=c 37147e6533d5Smrgac_cpp='$CPP $CPPFLAGS' 37157e6533d5Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 37167e6533d5Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 37177e6533d5Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 37187e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 37197e6533d5Smrg$as_echo_n "checking how to run the C preprocessor... " >&6; } 37207e6533d5Smrg# On Suns, sometimes $CPP names a directory. 37217e6533d5Smrgif test -n "$CPP" && test -d "$CPP"; then 37227e6533d5Smrg CPP= 37237e6533d5Smrgfi 37247e6533d5Smrgif test -z "$CPP"; then 37257e6533d5Smrg if ${ac_cv_prog_CPP+:} false; then : 37267e6533d5Smrg $as_echo_n "(cached) " >&6 37277e6533d5Smrgelse 37287e6533d5Smrg # Double quotes because CPP needs to be expanded 37297e6533d5Smrg for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 37307e6533d5Smrg do 37317e6533d5Smrg ac_preproc_ok=false 37327e6533d5Smrgfor ac_c_preproc_warn_flag in '' yes 37337e6533d5Smrgdo 37347e6533d5Smrg # Use a header file that comes with gcc, so configuring glibc 37357e6533d5Smrg # with a fresh cross-compiler works. 37367e6533d5Smrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 37377e6533d5Smrg # <limits.h> exists even on freestanding compilers. 37387e6533d5Smrg # On the NeXT, cc -E runs the code through the compiler's parser, 37397e6533d5Smrg # not just through cpp. "Syntax error" is here to catch this case. 37407e6533d5Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37417e6533d5Smrg/* end confdefs.h. */ 37427e6533d5Smrg#ifdef __STDC__ 37437e6533d5Smrg# include <limits.h> 37447e6533d5Smrg#else 37457e6533d5Smrg# include <assert.h> 37467e6533d5Smrg#endif 37477e6533d5Smrg Syntax error 37487e6533d5Smrg_ACEOF 37497e6533d5Smrgif ac_fn_c_try_cpp "$LINENO"; then : 37507e6533d5Smrg 37517e6533d5Smrgelse 37527e6533d5Smrg # Broken: fails on valid input. 37537e6533d5Smrgcontinue 37547e6533d5Smrgfi 37557e6533d5Smrgrm -f conftest.err conftest.i conftest.$ac_ext 37567e6533d5Smrg 37577e6533d5Smrg # OK, works on sane cases. Now check whether nonexistent headers 37587e6533d5Smrg # can be detected and how. 37597e6533d5Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37607e6533d5Smrg/* end confdefs.h. */ 37617e6533d5Smrg#include <ac_nonexistent.h> 37627e6533d5Smrg_ACEOF 37637e6533d5Smrgif ac_fn_c_try_cpp "$LINENO"; then : 37647e6533d5Smrg # Broken: success on invalid input. 37657e6533d5Smrgcontinue 37667e6533d5Smrgelse 37677e6533d5Smrg # Passes both tests. 37687e6533d5Smrgac_preproc_ok=: 37697e6533d5Smrgbreak 37707e6533d5Smrgfi 37717e6533d5Smrgrm -f conftest.err conftest.i conftest.$ac_ext 37727e6533d5Smrg 37737e6533d5Smrgdone 37747e6533d5Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 37757e6533d5Smrgrm -f conftest.i conftest.err conftest.$ac_ext 37767e6533d5Smrgif $ac_preproc_ok; then : 37777e6533d5Smrg break 37787e6533d5Smrgfi 37797e6533d5Smrg 37807e6533d5Smrg done 37817e6533d5Smrg ac_cv_prog_CPP=$CPP 37827e6533d5Smrg 37837e6533d5Smrgfi 37847e6533d5Smrg CPP=$ac_cv_prog_CPP 3785067610f1Smrgelse 37867e6533d5Smrg ac_cv_prog_CPP=$CPP 3787067610f1Smrgfi 37887e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 37897e6533d5Smrg$as_echo "$CPP" >&6; } 37907e6533d5Smrgac_preproc_ok=false 37917e6533d5Smrgfor ac_c_preproc_warn_flag in '' yes 37927e6533d5Smrgdo 37937e6533d5Smrg # Use a header file that comes with gcc, so configuring glibc 37947e6533d5Smrg # with a fresh cross-compiler works. 37957e6533d5Smrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 37967e6533d5Smrg # <limits.h> exists even on freestanding compilers. 37977e6533d5Smrg # On the NeXT, cc -E runs the code through the compiler's parser, 37987e6533d5Smrg # not just through cpp. "Syntax error" is here to catch this case. 37997e6533d5Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38007e6533d5Smrg/* end confdefs.h. */ 38017e6533d5Smrg#ifdef __STDC__ 38027e6533d5Smrg# include <limits.h> 38037e6533d5Smrg#else 38047e6533d5Smrg# include <assert.h> 38057e6533d5Smrg#endif 38067e6533d5Smrg Syntax error 38077e6533d5Smrg_ACEOF 38087e6533d5Smrgif ac_fn_c_try_cpp "$LINENO"; then : 3809067610f1Smrg 38107e6533d5Smrgelse 38117e6533d5Smrg # Broken: fails on valid input. 38127e6533d5Smrgcontinue 38137e6533d5Smrgfi 38147e6533d5Smrgrm -f conftest.err conftest.i conftest.$ac_ext 3815067610f1Smrg 38167e6533d5Smrg # OK, works on sane cases. Now check whether nonexistent headers 38177e6533d5Smrg # can be detected and how. 38187e6533d5Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38197e6533d5Smrg/* end confdefs.h. */ 38207e6533d5Smrg#include <ac_nonexistent.h> 38217e6533d5Smrg_ACEOF 38227e6533d5Smrgif ac_fn_c_try_cpp "$LINENO"; then : 38237e6533d5Smrg # Broken: success on invalid input. 38247e6533d5Smrgcontinue 38257e6533d5Smrgelse 38267e6533d5Smrg # Passes both tests. 38277e6533d5Smrgac_preproc_ok=: 38287e6533d5Smrgbreak 38297e6533d5Smrgfi 38307e6533d5Smrgrm -f conftest.err conftest.i conftest.$ac_ext 3831067610f1Smrg 38327e6533d5Smrgdone 38337e6533d5Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 38347e6533d5Smrgrm -f conftest.i conftest.err conftest.$ac_ext 38357e6533d5Smrgif $ac_preproc_ok; then : 3836067610f1Smrg 3837067610f1Smrgelse 38387e6533d5Smrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 38397e6533d5Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 38407e6533d5Smrgas_fn_error $? "C preprocessor \"$CPP\" fails sanity check 38417e6533d5SmrgSee \`config.log' for more details" "$LINENO" 5; } 38427e6533d5Smrgfi 3843067610f1Smrg 38447e6533d5Smrgac_ext=c 38457e6533d5Smrgac_cpp='$CPP $CPPFLAGS' 38467e6533d5Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 38477e6533d5Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 38487e6533d5Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 3849067610f1Smrg 38507e6533d5Smrg 38517e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 38527e6533d5Smrg$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 38537e6533d5Smrgif ${ac_cv_path_GREP+:} false; then : 38547e6533d5Smrg $as_echo_n "(cached) " >&6 38557e6533d5Smrgelse 38567e6533d5Smrg if test -z "$GREP"; then 38577e6533d5Smrg ac_path_GREP_found=false 38587e6533d5Smrg # Loop through the user's path and test for each of PROGNAME-LIST 38597e6533d5Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 38607e6533d5Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 38617e6533d5Smrgdo 38627e6533d5Smrg IFS=$as_save_IFS 38637e6533d5Smrg test -z "$as_dir" && as_dir=. 38647e6533d5Smrg for ac_prog in grep ggrep; do 38657e6533d5Smrg for ac_exec_ext in '' $ac_executable_extensions; do 38667e6533d5Smrg ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 38677e6533d5Smrg { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 38687e6533d5Smrg# Check for GNU ac_path_GREP and select it if it is found. 38697e6533d5Smrg # Check for GNU $ac_path_GREP 38707e6533d5Smrgcase `"$ac_path_GREP" --version 2>&1` in 38717e6533d5Smrg*GNU*) 38727e6533d5Smrg ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 38737e6533d5Smrg*) 38747e6533d5Smrg ac_count=0 38757e6533d5Smrg $as_echo_n 0123456789 >"conftest.in" 38767e6533d5Smrg while : 38777e6533d5Smrg do 38787e6533d5Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 38797e6533d5Smrg mv "conftest.tmp" "conftest.in" 38807e6533d5Smrg cp "conftest.in" "conftest.nl" 38817e6533d5Smrg $as_echo 'GREP' >> "conftest.nl" 38827e6533d5Smrg "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 38837e6533d5Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 38847e6533d5Smrg as_fn_arith $ac_count + 1 && ac_count=$as_val 38857e6533d5Smrg if test $ac_count -gt ${ac_path_GREP_max-0}; then 38867e6533d5Smrg # Best one so far, save it but keep looking for a better one 38877e6533d5Smrg ac_cv_path_GREP="$ac_path_GREP" 38887e6533d5Smrg ac_path_GREP_max=$ac_count 3889067610f1Smrg fi 38907e6533d5Smrg # 10*(2^10) chars as input seems more than enough 38917e6533d5Smrg test $ac_count -gt 10 && break 3892067610f1Smrg done 38937e6533d5Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 38947e6533d5Smrgesac 3895067610f1Smrg 38967e6533d5Smrg $ac_path_GREP_found && break 3 38977e6533d5Smrg done 38987e6533d5Smrg done 38997e6533d5Smrg done 39007e6533d5SmrgIFS=$as_save_IFS 39017e6533d5Smrg if test -z "$ac_cv_path_GREP"; then 39027e6533d5Smrg as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 39037e6533d5Smrg fi 3904067610f1Smrgelse 39057e6533d5Smrg ac_cv_path_GREP=$GREP 3906067610f1Smrgfi 3907067610f1Smrg 3908067610f1Smrgfi 39097e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 39107e6533d5Smrg$as_echo "$ac_cv_path_GREP" >&6; } 39117e6533d5Smrg GREP="$ac_cv_path_GREP" 3912067610f1Smrg 3913067610f1Smrg 39147e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 39157e6533d5Smrg$as_echo_n "checking for egrep... " >&6; } 39167e6533d5Smrgif ${ac_cv_path_EGREP+:} false; then : 39177e6533d5Smrg $as_echo_n "(cached) " >&6 39187e6533d5Smrgelse 39197e6533d5Smrg if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 39207e6533d5Smrg then ac_cv_path_EGREP="$GREP -E" 39217e6533d5Smrg else 39227e6533d5Smrg if test -z "$EGREP"; then 39237e6533d5Smrg ac_path_EGREP_found=false 39247e6533d5Smrg # Loop through the user's path and test for each of PROGNAME-LIST 39257e6533d5Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 39267e6533d5Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 39277e6533d5Smrgdo 39287e6533d5Smrg IFS=$as_save_IFS 39297e6533d5Smrg test -z "$as_dir" && as_dir=. 39307e6533d5Smrg for ac_prog in egrep; do 39317e6533d5Smrg for ac_exec_ext in '' $ac_executable_extensions; do 39327e6533d5Smrg ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 39337e6533d5Smrg { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 39347e6533d5Smrg# Check for GNU ac_path_EGREP and select it if it is found. 39357e6533d5Smrg # Check for GNU $ac_path_EGREP 39367e6533d5Smrgcase `"$ac_path_EGREP" --version 2>&1` in 39377e6533d5Smrg*GNU*) 39387e6533d5Smrg ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 39397e6533d5Smrg*) 39407e6533d5Smrg ac_count=0 39417e6533d5Smrg $as_echo_n 0123456789 >"conftest.in" 39427e6533d5Smrg while : 39437e6533d5Smrg do 39447e6533d5Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 39457e6533d5Smrg mv "conftest.tmp" "conftest.in" 39467e6533d5Smrg cp "conftest.in" "conftest.nl" 39477e6533d5Smrg $as_echo 'EGREP' >> "conftest.nl" 39487e6533d5Smrg "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 39497e6533d5Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 39507e6533d5Smrg as_fn_arith $ac_count + 1 && ac_count=$as_val 39517e6533d5Smrg if test $ac_count -gt ${ac_path_EGREP_max-0}; then 39527e6533d5Smrg # Best one so far, save it but keep looking for a better one 39537e6533d5Smrg ac_cv_path_EGREP="$ac_path_EGREP" 39547e6533d5Smrg ac_path_EGREP_max=$ac_count 39557e6533d5Smrg fi 39567e6533d5Smrg # 10*(2^10) chars as input seems more than enough 39577e6533d5Smrg test $ac_count -gt 10 && break 39587e6533d5Smrg done 39597e6533d5Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 39607e6533d5Smrgesac 3961067610f1Smrg 39627e6533d5Smrg $ac_path_EGREP_found && break 3 39637e6533d5Smrg done 39647e6533d5Smrg done 39657e6533d5Smrg done 39667e6533d5SmrgIFS=$as_save_IFS 39677e6533d5Smrg if test -z "$ac_cv_path_EGREP"; then 39687e6533d5Smrg as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 39697e6533d5Smrg fi 3970067610f1Smrgelse 39717e6533d5Smrg ac_cv_path_EGREP=$EGREP 39727e6533d5Smrgfi 39737e6533d5Smrg 39747e6533d5Smrg fi 3975067610f1Smrgfi 39767e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 39777e6533d5Smrg$as_echo "$ac_cv_path_EGREP" >&6; } 39787e6533d5Smrg EGREP="$ac_cv_path_EGREP" 39797e6533d5Smrg 39807e6533d5Smrg 39817e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 39827e6533d5Smrg$as_echo_n "checking for ANSI C header files... " >&6; } 39837e6533d5Smrgif ${ac_cv_header_stdc+:} false; then : 39847e6533d5Smrg $as_echo_n "(cached) " >&6 3985067610f1Smrgelse 39867e6533d5Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3987067610f1Smrg/* end confdefs.h. */ 39887e6533d5Smrg#include <stdlib.h> 39897e6533d5Smrg#include <stdarg.h> 39907e6533d5Smrg#include <string.h> 39917e6533d5Smrg#include <float.h> 3992067610f1Smrg 3993067610f1Smrgint 3994067610f1Smrgmain () 3995067610f1Smrg{ 3996067610f1Smrg 3997067610f1Smrg ; 3998067610f1Smrg return 0; 3999067610f1Smrg} 4000067610f1Smrg_ACEOF 40017e6533d5Smrgif ac_fn_c_try_compile "$LINENO"; then : 40027e6533d5Smrg ac_cv_header_stdc=yes 4003067610f1Smrgelse 40047e6533d5Smrg ac_cv_header_stdc=no 4005067610f1Smrgfi 40067e6533d5Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4007067610f1Smrg 40087e6533d5Smrgif test $ac_cv_header_stdc = yes; then 40097e6533d5Smrg # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 40107e6533d5Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40117e6533d5Smrg/* end confdefs.h. */ 40127e6533d5Smrg#include <string.h> 4013067610f1Smrg 4014067610f1Smrg_ACEOF 40157e6533d5Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 40167e6533d5Smrg $EGREP "memchr" >/dev/null 2>&1; then : 4017067610f1Smrg 40187e6533d5Smrgelse 40197e6533d5Smrg ac_cv_header_stdc=no 4020067610f1Smrgfi 40217e6533d5Smrgrm -f conftest* 4022067610f1Smrg 4023067610f1Smrgfi 4024067610f1Smrg 40257e6533d5Smrgif test $ac_cv_header_stdc = yes; then 40267e6533d5Smrg # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 40277e6533d5Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40287e6533d5Smrg/* end confdefs.h. */ 40297e6533d5Smrg#include <stdlib.h> 40307e6533d5Smrg 40317e6533d5Smrg_ACEOF 40327e6533d5Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 40337e6533d5Smrg $EGREP "free" >/dev/null 2>&1; then : 4034067610f1Smrg 4035067610f1Smrgelse 40367e6533d5Smrg ac_cv_header_stdc=no 40377e6533d5Smrgfi 40387e6533d5Smrgrm -f conftest* 40397e6533d5Smrg 40407e6533d5Smrgfi 40417e6533d5Smrg 40427e6533d5Smrgif test $ac_cv_header_stdc = yes; then 40437e6533d5Smrg # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 40447e6533d5Smrg if test "$cross_compiling" = yes; then : 40457e6533d5Smrg : 40467e6533d5Smrgelse 40477e6533d5Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40487e6533d5Smrg/* end confdefs.h. */ 40497e6533d5Smrg#include <ctype.h> 40507e6533d5Smrg#include <stdlib.h> 40517e6533d5Smrg#if ((' ' & 0x0FF) == 0x020) 40527e6533d5Smrg# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 40537e6533d5Smrg# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 40547e6533d5Smrg#else 40557e6533d5Smrg# define ISLOWER(c) \ 40567e6533d5Smrg (('a' <= (c) && (c) <= 'i') \ 40577e6533d5Smrg || ('j' <= (c) && (c) <= 'r') \ 40587e6533d5Smrg || ('s' <= (c) && (c) <= 'z')) 40597e6533d5Smrg# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 40607e6533d5Smrg#endif 4061067610f1Smrg 40627e6533d5Smrg#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 40637e6533d5Smrgint 40647e6533d5Smrgmain () 40657e6533d5Smrg{ 40667e6533d5Smrg int i; 40677e6533d5Smrg for (i = 0; i < 256; i++) 40687e6533d5Smrg if (XOR (islower (i), ISLOWER (i)) 40697e6533d5Smrg || toupper (i) != TOUPPER (i)) 40707e6533d5Smrg return 2; 40717e6533d5Smrg return 0; 40727e6533d5Smrg} 40737e6533d5Smrg_ACEOF 40747e6533d5Smrgif ac_fn_c_try_run "$LINENO"; then : 4075067610f1Smrg 40767e6533d5Smrgelse 40777e6533d5Smrg ac_cv_header_stdc=no 4078067610f1Smrgfi 40797e6533d5Smrgrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 40807e6533d5Smrg conftest.$ac_objext conftest.beam conftest.$ac_ext 4081067610f1Smrgfi 4082067610f1Smrg 40837e6533d5Smrgfi 40847e6533d5Smrgfi 40857e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 40867e6533d5Smrg$as_echo "$ac_cv_header_stdc" >&6; } 40877e6533d5Smrgif test $ac_cv_header_stdc = yes; then 40887e6533d5Smrg 40897e6533d5Smrg$as_echo "#define STDC_HEADERS 1" >>confdefs.h 40907e6533d5Smrg 40917e6533d5Smrgfi 4092067610f1Smrg 40937e6533d5Smrg# On IRIX 5.3, sys/types and inttypes.h are conflicting. 40947e6533d5Smrgfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 40957e6533d5Smrg inttypes.h stdint.h unistd.h 40967e6533d5Smrgdo : 40977e6533d5Smrg as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 40987e6533d5Smrgac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 40997e6533d5Smrg" 41007e6533d5Smrgif eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 41017e6533d5Smrg cat >>confdefs.h <<_ACEOF 41027e6533d5Smrg#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 41037e6533d5Smrg_ACEOF 4104067610f1Smrg 41057e6533d5Smrgfi 41067e6533d5Smrg 41077e6533d5Smrgdone 4108067610f1Smrg 4109067610f1Smrg 4110067610f1Smrg 4111067610f1Smrg 4112067610f1Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 4113067610f1Smrg if test -n "$ac_tool_prefix"; then 4114067610f1Smrg # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 4115067610f1Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2 41167e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 41177e6533d5Smrg$as_echo_n "checking for $ac_word... " >&6; } 41187e6533d5Smrgif ${ac_cv_path_PKG_CONFIG+:} false; then : 41197e6533d5Smrg $as_echo_n "(cached) " >&6 4120067610f1Smrgelse 4121067610f1Smrg case $PKG_CONFIG in 4122067610f1Smrg [\\/]* | ?:[\\/]*) 4123067610f1Smrg ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 4124067610f1Smrg ;; 4125067610f1Smrg *) 4126067610f1Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4127067610f1Smrgfor as_dir in $PATH 4128067610f1Smrgdo 4129067610f1Smrg IFS=$as_save_IFS 4130067610f1Smrg test -z "$as_dir" && as_dir=. 41317e6533d5Smrg for ac_exec_ext in '' $ac_executable_extensions; do 4132067610f1Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4133067610f1Smrg ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 41347e6533d5Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4135067610f1Smrg break 2 4136067610f1Smrg fi 4137067610f1Smrgdone 41387e6533d5Smrg done 4139067610f1SmrgIFS=$as_save_IFS 4140067610f1Smrg 4141067610f1Smrg ;; 4142067610f1Smrgesac 4143067610f1Smrgfi 4144067610f1SmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG 4145067610f1Smrgif test -n "$PKG_CONFIG"; then 41467e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 41477e6533d5Smrg$as_echo "$PKG_CONFIG" >&6; } 4148067610f1Smrgelse 41497e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 41507e6533d5Smrg$as_echo "no" >&6; } 4151067610f1Smrgfi 4152067610f1Smrg 4153067610f1Smrg 4154067610f1Smrgfi 4155067610f1Smrgif test -z "$ac_cv_path_PKG_CONFIG"; then 4156067610f1Smrg ac_pt_PKG_CONFIG=$PKG_CONFIG 4157067610f1Smrg # Extract the first word of "pkg-config", so it can be a program name with args. 4158067610f1Smrgset dummy pkg-config; ac_word=$2 41597e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 41607e6533d5Smrg$as_echo_n "checking for $ac_word... " >&6; } 41617e6533d5Smrgif ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 41627e6533d5Smrg $as_echo_n "(cached) " >&6 4163067610f1Smrgelse 4164067610f1Smrg case $ac_pt_PKG_CONFIG in 4165067610f1Smrg [\\/]* | ?:[\\/]*) 4166067610f1Smrg ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 4167067610f1Smrg ;; 4168067610f1Smrg *) 4169067610f1Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4170067610f1Smrgfor as_dir in $PATH 4171067610f1Smrgdo 4172067610f1Smrg IFS=$as_save_IFS 4173067610f1Smrg test -z "$as_dir" && as_dir=. 41747e6533d5Smrg for ac_exec_ext in '' $ac_executable_extensions; do 4175067610f1Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4176067610f1Smrg ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 41777e6533d5Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4178067610f1Smrg break 2 4179067610f1Smrg fi 4180067610f1Smrgdone 41817e6533d5Smrg done 4182067610f1SmrgIFS=$as_save_IFS 4183067610f1Smrg 4184067610f1Smrg ;; 4185067610f1Smrgesac 4186067610f1Smrgfi 4187067610f1Smrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 4188067610f1Smrgif test -n "$ac_pt_PKG_CONFIG"; then 41897e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 41907e6533d5Smrg$as_echo "$ac_pt_PKG_CONFIG" >&6; } 4191067610f1Smrgelse 41927e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 41937e6533d5Smrg$as_echo "no" >&6; } 4194067610f1Smrgfi 4195067610f1Smrg 4196067610f1Smrg if test "x$ac_pt_PKG_CONFIG" = x; then 4197067610f1Smrg PKG_CONFIG="" 4198067610f1Smrg else 4199067610f1Smrg case $cross_compiling:$ac_tool_warned in 4200067610f1Smrgyes:) 42017e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 42027e6533d5Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4203067610f1Smrgac_tool_warned=yes ;; 4204067610f1Smrgesac 4205067610f1Smrg PKG_CONFIG=$ac_pt_PKG_CONFIG 4206067610f1Smrg fi 4207067610f1Smrgelse 4208067610f1Smrg PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 4209067610f1Smrgfi 4210067610f1Smrg 4211067610f1Smrgfi 4212067610f1Smrgif test -n "$PKG_CONFIG"; then 4213067610f1Smrg _pkg_min_version=0.9.0 42147e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 42157e6533d5Smrg$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 4216067610f1Smrg if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 42177e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 42187e6533d5Smrg$as_echo "yes" >&6; } 4219067610f1Smrg else 42207e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 42217e6533d5Smrg$as_echo "no" >&6; } 4222067610f1Smrg PKG_CONFIG="" 4223067610f1Smrg fi 4224067610f1Smrg 4225067610f1Smrgfi 4226067610f1Smrg# Make sure we can run config.sub. 4227067610f1Smrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 42287e6533d5Smrg as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4229067610f1Smrg 42307e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 42317e6533d5Smrg$as_echo_n "checking build system type... " >&6; } 42327e6533d5Smrgif ${ac_cv_build+:} false; then : 42337e6533d5Smrg $as_echo_n "(cached) " >&6 4234067610f1Smrgelse 4235067610f1Smrg ac_build_alias=$build_alias 4236067610f1Smrgtest "x$ac_build_alias" = x && 4237067610f1Smrg ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4238067610f1Smrgtest "x$ac_build_alias" = x && 42397e6533d5Smrg as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4240067610f1Smrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 42417e6533d5Smrg as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4242067610f1Smrg 4243067610f1Smrgfi 42447e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 42457e6533d5Smrg$as_echo "$ac_cv_build" >&6; } 4246067610f1Smrgcase $ac_cv_build in 4247067610f1Smrg*-*-*) ;; 42487e6533d5Smrg*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 4249067610f1Smrgesac 4250067610f1Smrgbuild=$ac_cv_build 4251067610f1Smrgac_save_IFS=$IFS; IFS='-' 4252067610f1Smrgset x $ac_cv_build 4253067610f1Smrgshift 4254067610f1Smrgbuild_cpu=$1 4255067610f1Smrgbuild_vendor=$2 4256067610f1Smrgshift; shift 4257067610f1Smrg# Remember, the first character of IFS is used to create $*, 4258067610f1Smrg# except with old shells: 4259067610f1Smrgbuild_os=$* 4260067610f1SmrgIFS=$ac_save_IFS 4261067610f1Smrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4262067610f1Smrg 4263067610f1Smrg 42647e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 42657e6533d5Smrg$as_echo_n "checking host system type... " >&6; } 42667e6533d5Smrgif ${ac_cv_host+:} false; then : 42677e6533d5Smrg $as_echo_n "(cached) " >&6 4268067610f1Smrgelse 4269067610f1Smrg if test "x$host_alias" = x; then 4270067610f1Smrg ac_cv_host=$ac_cv_build 4271067610f1Smrgelse 4272067610f1Smrg ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 42737e6533d5Smrg as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4274067610f1Smrgfi 4275067610f1Smrg 4276067610f1Smrgfi 42777e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 42787e6533d5Smrg$as_echo "$ac_cv_host" >&6; } 4279067610f1Smrgcase $ac_cv_host in 4280067610f1Smrg*-*-*) ;; 42817e6533d5Smrg*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 4282067610f1Smrgesac 4283067610f1Smrghost=$ac_cv_host 4284067610f1Smrgac_save_IFS=$IFS; IFS='-' 4285067610f1Smrgset x $ac_cv_host 4286067610f1Smrgshift 4287067610f1Smrghost_cpu=$1 4288067610f1Smrghost_vendor=$2 4289067610f1Smrgshift; shift 4290067610f1Smrg# Remember, the first character of IFS is used to create $*, 4291067610f1Smrg# except with old shells: 4292067610f1Smrghost_os=$* 4293067610f1SmrgIFS=$ac_save_IFS 4294067610f1Smrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4295067610f1Smrg 4296067610f1Smrg 42977e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 42987e6533d5Smrg$as_echo_n "checking for a sed that does not truncate output... " >&6; } 42997e6533d5Smrgif ${ac_cv_path_SED+:} false; then : 43007e6533d5Smrg $as_echo_n "(cached) " >&6 43017e6533d5Smrgelse 43027e6533d5Smrg ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 43037e6533d5Smrg for ac_i in 1 2 3 4 5 6 7; do 43047e6533d5Smrg ac_script="$ac_script$as_nl$ac_script" 43057e6533d5Smrg done 43067e6533d5Smrg echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 43077e6533d5Smrg { ac_script=; unset ac_script;} 43087e6533d5Smrg if test -z "$SED"; then 43097e6533d5Smrg ac_path_SED_found=false 43107e6533d5Smrg # Loop through the user's path and test for each of PROGNAME-LIST 43117e6533d5Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 43127e6533d5Smrgfor as_dir in $PATH 43137e6533d5Smrgdo 43147e6533d5Smrg IFS=$as_save_IFS 43157e6533d5Smrg test -z "$as_dir" && as_dir=. 43167e6533d5Smrg for ac_prog in sed gsed; do 43177e6533d5Smrg for ac_exec_ext in '' $ac_executable_extensions; do 43187e6533d5Smrg ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 43197e6533d5Smrg { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 43207e6533d5Smrg# Check for GNU ac_path_SED and select it if it is found. 43217e6533d5Smrg # Check for GNU $ac_path_SED 43227e6533d5Smrgcase `"$ac_path_SED" --version 2>&1` in 43237e6533d5Smrg*GNU*) 43247e6533d5Smrg ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 43257e6533d5Smrg*) 43267e6533d5Smrg ac_count=0 43277e6533d5Smrg $as_echo_n 0123456789 >"conftest.in" 43287e6533d5Smrg while : 43297e6533d5Smrg do 43307e6533d5Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 43317e6533d5Smrg mv "conftest.tmp" "conftest.in" 43327e6533d5Smrg cp "conftest.in" "conftest.nl" 43337e6533d5Smrg $as_echo '' >> "conftest.nl" 43347e6533d5Smrg "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 43357e6533d5Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 43367e6533d5Smrg as_fn_arith $ac_count + 1 && ac_count=$as_val 43377e6533d5Smrg if test $ac_count -gt ${ac_path_SED_max-0}; then 43387e6533d5Smrg # Best one so far, save it but keep looking for a better one 43397e6533d5Smrg ac_cv_path_SED="$ac_path_SED" 43407e6533d5Smrg ac_path_SED_max=$ac_count 43417e6533d5Smrg fi 43427e6533d5Smrg # 10*(2^10) chars as input seems more than enough 43437e6533d5Smrg test $ac_count -gt 10 && break 43447e6533d5Smrg done 43457e6533d5Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 43467e6533d5Smrgesac 43477e6533d5Smrg 43487e6533d5Smrg $ac_path_SED_found && break 3 43497e6533d5Smrg done 43507e6533d5Smrg done 43517e6533d5Smrg done 43527e6533d5SmrgIFS=$as_save_IFS 43537e6533d5Smrg if test -z "$ac_cv_path_SED"; then 43547e6533d5Smrg as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 43557e6533d5Smrg fi 43567e6533d5Smrgelse 43577e6533d5Smrg ac_cv_path_SED=$SED 43587e6533d5Smrgfi 43597e6533d5Smrg 43607e6533d5Smrgfi 43617e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 43627e6533d5Smrg$as_echo "$ac_cv_path_SED" >&6; } 43637e6533d5Smrg SED="$ac_cv_path_SED" 43647e6533d5Smrg rm -f conftest.sed 43657e6533d5Smrg 43667e6533d5Smrg 43677e6533d5Smrg 43687e6533d5Smrg 43697e6533d5Smrg 43707e6533d5Smrgif test "x$GCC" = xyes ; then 43717e6533d5Smrg CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \ 43727e6533d5Smrg-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \ 43737e6533d5Smrg-Wbad-function-cast -Wformat=2" 43747e6533d5Smrg case `$CC -dumpversion` in 43757e6533d5Smrg 3.4.* | 4.*) 43767e6533d5Smrg CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement" 43777e6533d5Smrg ;; 43787e6533d5Smrg esac 43797e6533d5Smrgelse 43807e6533d5Smrg ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 43817e6533d5Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then : 43827e6533d5Smrg SUNCC="yes" 43837e6533d5Smrgelse 43847e6533d5Smrg SUNCC="no" 43857e6533d5Smrgfi 43867e6533d5Smrg 43877e6533d5Smrg if test "x$SUNCC" = "xyes"; then 43887e6533d5Smrg CWARNFLAGS="-v" 43897e6533d5Smrg fi 43907e6533d5Smrgfi 43917e6533d5Smrg 43927e6533d5Smrg 43937e6533d5Smrg 43947e6533d5Smrg# If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89 43957e6533d5Smrg 43967e6533d5Smrg 43977e6533d5Smrg 43987e6533d5Smrg# Check whether --enable-strict-compilation was given. 43997e6533d5Smrgif test "${enable_strict_compilation+set}" = set; then : 44007e6533d5Smrg enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval 44017e6533d5Smrgelse 44027e6533d5Smrg STRICT_COMPILE=no 44037e6533d5Smrgfi 44047e6533d5Smrg 44057e6533d5Smrgif test "x$STRICT_COMPILE" = "xyes"; then 44067e6533d5Smrg ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 44077e6533d5Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then : 44087e6533d5Smrg SUNCC="yes" 44097e6533d5Smrgelse 44107e6533d5Smrg SUNCC="no" 44117e6533d5Smrgfi 44127e6533d5Smrg 44137e6533d5Smrg ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" 44147e6533d5Smrgif test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then : 44157e6533d5Smrg INTELCC="yes" 44167e6533d5Smrgelse 44177e6533d5Smrg INTELCC="no" 44187e6533d5Smrgfi 44197e6533d5Smrg 44207e6533d5Smrg if test "x$GCC" = xyes ; then 44217e6533d5Smrg STRICT_CFLAGS="-pedantic -Werror" 44227e6533d5Smrg elif test "x$SUNCC" = "xyes"; then 44237e6533d5Smrg STRICT_CFLAGS="-errwarn" 44247e6533d5Smrg elif test "x$INTELCC" = "xyes"; then 44257e6533d5Smrg STRICT_CFLAGS="-Werror" 44267e6533d5Smrg fi 44277e6533d5Smrgfi 44287e6533d5SmrgCWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS" 44297e6533d5Smrg 44307e6533d5Smrg 44317e6533d5Smrg 44327e6533d5Smrg 44337e6533d5Smrgcat >>confdefs.h <<_ACEOF 44347e6533d5Smrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 44357e6533d5Smrg_ACEOF 44367e6533d5Smrg 44377e6533d5Smrg PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 44387e6533d5Smrg if test "x$PVM" = "x"; then 44397e6533d5Smrg PVM="0" 44407e6533d5Smrg fi 44417e6533d5Smrg 44427e6533d5Smrgcat >>confdefs.h <<_ACEOF 44437e6533d5Smrg#define PACKAGE_VERSION_MINOR $PVM 44447e6533d5Smrg_ACEOF 44457e6533d5Smrg 44467e6533d5Smrg PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 44477e6533d5Smrg if test "x$PVP" = "x"; then 44487e6533d5Smrg PVP="0" 44497e6533d5Smrg fi 44507e6533d5Smrg 44517e6533d5Smrgcat >>confdefs.h <<_ACEOF 44527e6533d5Smrg#define PACKAGE_VERSION_PATCHLEVEL $PVP 44537e6533d5Smrg_ACEOF 44547e6533d5Smrg 44557e6533d5Smrg 44567e6533d5Smrg 44577e6533d5SmrgCHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \ 44587e6533d5Smrgmv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \ 44597e6533d5Smrg|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \ 44607e6533d5Smrgecho 'git directory not found: installing possibly empty changelog.' >&2)" 44617e6533d5Smrg 44627e6533d5Smrg 44637e6533d5Smrg 44647e6533d5Smrg 44657e6533d5Smrgmacros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros` 44667e6533d5SmrgINSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \ 44677e6533d5Smrgmv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \ 44687e6533d5Smrg|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \ 44697e6533d5Smrgecho 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)" 44707e6533d5Smrg 44717e6533d5Smrg 44727e6533d5Smrg 4473067610f1Smrg 4474067610f1Smrg 4475067610f1Smrg 4476067610f1Smrgif test x$APP_MAN_SUFFIX = x ; then 4477067610f1Smrg APP_MAN_SUFFIX=1 4478067610f1Smrgfi 4479067610f1Smrgif test x$APP_MAN_DIR = x ; then 4480067610f1Smrg APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 4481067610f1Smrgfi 4482067610f1Smrg 4483067610f1Smrgif test x$LIB_MAN_SUFFIX = x ; then 4484067610f1Smrg LIB_MAN_SUFFIX=3 4485067610f1Smrgfi 4486067610f1Smrgif test x$LIB_MAN_DIR = x ; then 4487067610f1Smrg LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 4488067610f1Smrgfi 4489067610f1Smrg 4490067610f1Smrgif test x$FILE_MAN_SUFFIX = x ; then 4491067610f1Smrg case $host_os in 4492067610f1Smrg solaris*) FILE_MAN_SUFFIX=4 ;; 4493067610f1Smrg *) FILE_MAN_SUFFIX=5 ;; 4494067610f1Smrg esac 4495067610f1Smrgfi 4496067610f1Smrgif test x$FILE_MAN_DIR = x ; then 4497067610f1Smrg FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 4498067610f1Smrgfi 4499067610f1Smrg 4500067610f1Smrgif test x$MISC_MAN_SUFFIX = x ; then 4501067610f1Smrg case $host_os in 4502067610f1Smrg solaris*) MISC_MAN_SUFFIX=5 ;; 4503067610f1Smrg *) MISC_MAN_SUFFIX=7 ;; 4504067610f1Smrg esac 4505067610f1Smrgfi 4506067610f1Smrgif test x$MISC_MAN_DIR = x ; then 4507067610f1Smrg MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 4508067610f1Smrgfi 4509067610f1Smrg 4510067610f1Smrgif test x$DRIVER_MAN_SUFFIX = x ; then 4511067610f1Smrg case $host_os in 4512067610f1Smrg solaris*) DRIVER_MAN_SUFFIX=7 ;; 4513067610f1Smrg *) DRIVER_MAN_SUFFIX=4 ;; 4514067610f1Smrg esac 4515067610f1Smrgfi 4516067610f1Smrgif test x$DRIVER_MAN_DIR = x ; then 4517067610f1Smrg DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 4518067610f1Smrgfi 4519067610f1Smrg 4520067610f1Smrgif test x$ADMIN_MAN_SUFFIX = x ; then 4521067610f1Smrg case $host_os in 4522067610f1Smrg solaris*) ADMIN_MAN_SUFFIX=1m ;; 4523067610f1Smrg *) ADMIN_MAN_SUFFIX=8 ;; 4524067610f1Smrg esac 4525067610f1Smrgfi 4526067610f1Smrgif test x$ADMIN_MAN_DIR = x ; then 4527067610f1Smrg ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 4528067610f1Smrgfi 4529067610f1Smrg 4530067610f1Smrg 4531067610f1Smrg 4532067610f1Smrg 4533067610f1Smrg 4534067610f1Smrg 4535067610f1Smrg 4536067610f1Smrg 4537067610f1Smrg 4538067610f1Smrg 4539067610f1Smrg 4540067610f1Smrg 4541067610f1Smrg 4542067610f1Smrg 4543067610f1Smrg 45447e6533d5SmrgXORG_MAN_PAGE="X Version 11" 45457e6533d5Smrg 45467e6533d5SmrgMAN_SUBSTS="\ 45477e6533d5Smrg -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 45487e6533d5Smrg -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 45497e6533d5Smrg -e 's|__xservername__|Xorg|g' \ 45507e6533d5Smrg -e 's|__xconfigfile__|xorg.conf|g' \ 45517e6533d5Smrg -e 's|__projectroot__|\$(prefix)|g' \ 45527e6533d5Smrg -e 's|__apploaddir__|\$(appdefaultdir)|g' \ 45537e6533d5Smrg -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \ 45547e6533d5Smrg -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \ 45557e6533d5Smrg -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \ 45567e6533d5Smrg -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \ 45577e6533d5Smrg -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \ 45587e6533d5Smrg -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'" 45597e6533d5Smrg 4560067610f1Smrg 4561067610f1Smrg 45627e6533d5Smrg# Check whether --enable-silent-rules was given. 45637e6533d5Smrgif test "${enable_silent_rules+set}" = set; then : 45647e6533d5Smrg enableval=$enable_silent_rules; 45657e6533d5Smrgfi 45667e6533d5Smrg 45677e6533d5Smrgcase $enable_silent_rules in 45687e6533d5Smrgyes) AM_DEFAULT_VERBOSITY=0;; 45697e6533d5Smrgno) AM_DEFAULT_VERBOSITY=1;; 45707e6533d5Smrg*) AM_DEFAULT_VERBOSITY=0;; 45717e6533d5Smrgesac 45727e6533d5SmrgAM_BACKSLASH='\' 45737e6533d5Smrg 45747e6533d5Smrg 45757e6533d5Smrg 45767e6533d5Smrgac_config_headers="$ac_config_headers config.h" 45777e6533d5Smrg 45787e6533d5Smrg 45797e6533d5Smrg# Checks for pkg-config packages 45807e6533d5Smrg 45817e6533d5Smrgpkg_failed=no 45827e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XFSINFO" >&5 45837e6533d5Smrg$as_echo_n "checking for XFSINFO... " >&6; } 45847e6533d5Smrg 45857e6533d5Smrgif test -n "$XFSINFO_CFLAGS"; then 45867e6533d5Smrg pkg_cv_XFSINFO_CFLAGS="$XFSINFO_CFLAGS" 45877e6533d5Smrg elif test -n "$PKG_CONFIG"; then 45887e6533d5Smrg if test -n "$PKG_CONFIG" && \ 45897e6533d5Smrg { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto libfs\""; } >&5 45907e6533d5Smrg ($PKG_CONFIG --exists --print-errors "xproto libfs") 2>&5 45917e6533d5Smrg ac_status=$? 45927e6533d5Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 45937e6533d5Smrg test $ac_status = 0; }; then 45947e6533d5Smrg pkg_cv_XFSINFO_CFLAGS=`$PKG_CONFIG --cflags "xproto libfs" 2>/dev/null` 45957e6533d5Smrgelse 45967e6533d5Smrg pkg_failed=yes 45977e6533d5Smrgfi 45987e6533d5Smrg else 45997e6533d5Smrg pkg_failed=untried 46007e6533d5Smrgfi 46017e6533d5Smrgif test -n "$XFSINFO_LIBS"; then 46027e6533d5Smrg pkg_cv_XFSINFO_LIBS="$XFSINFO_LIBS" 46037e6533d5Smrg elif test -n "$PKG_CONFIG"; then 46047e6533d5Smrg if test -n "$PKG_CONFIG" && \ 46057e6533d5Smrg { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto libfs\""; } >&5 46067e6533d5Smrg ($PKG_CONFIG --exists --print-errors "xproto libfs") 2>&5 46077e6533d5Smrg ac_status=$? 46087e6533d5Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 46097e6533d5Smrg test $ac_status = 0; }; then 46107e6533d5Smrg pkg_cv_XFSINFO_LIBS=`$PKG_CONFIG --libs "xproto libfs" 2>/dev/null` 4611067610f1Smrgelse 46127e6533d5Smrg pkg_failed=yes 46137e6533d5Smrgfi 46147e6533d5Smrg else 46157e6533d5Smrg pkg_failed=untried 4616067610f1Smrgfi 4617067610f1Smrg 4618067610f1Smrg 4619067610f1Smrg 46207e6533d5Smrgif test $pkg_failed = yes; then 4621067610f1Smrg 46227e6533d5Smrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 46237e6533d5Smrg _pkg_short_errors_supported=yes 46247e6533d5Smrgelse 46257e6533d5Smrg _pkg_short_errors_supported=no 46267e6533d5Smrgfi 46277e6533d5Smrg if test $_pkg_short_errors_supported = yes; then 46287e6533d5Smrg XFSINFO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto libfs" 2>&1` 46297e6533d5Smrg else 46307e6533d5Smrg XFSINFO_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto libfs" 2>&1` 46317e6533d5Smrg fi 46327e6533d5Smrg # Put the nasty error message in config.log where it belongs 46337e6533d5Smrg echo "$XFSINFO_PKG_ERRORS" >&5 4634067610f1Smrg 46357e6533d5Smrg as_fn_error $? "Package requirements (xproto libfs) were not met: 4636067610f1Smrg 46377e6533d5Smrg$XFSINFO_PKG_ERRORS 46387e6533d5Smrg 46397e6533d5SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 46407e6533d5Smrginstalled software in a non-standard prefix. 46417e6533d5Smrg 46427e6533d5SmrgAlternatively, you may set the environment variables XFSINFO_CFLAGS 46437e6533d5Smrgand XFSINFO_LIBS to avoid the need to call pkg-config. 46447e6533d5SmrgSee the pkg-config man page for more details. 46457e6533d5Smrg" "$LINENO" 5 46467e6533d5Smrgelif test $pkg_failed = untried; then 46477e6533d5Smrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 46487e6533d5Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 46497e6533d5Smrgas_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 46507e6533d5Smrgis in your PATH or set the PKG_CONFIG environment variable to the full 46517e6533d5Smrgpath to pkg-config. 4652067610f1Smrg 46537e6533d5SmrgAlternatively, you may set the environment variables XFSINFO_CFLAGS 46547e6533d5Smrgand XFSINFO_LIBS to avoid the need to call pkg-config. 46557e6533d5SmrgSee the pkg-config man page for more details. 4656067610f1Smrg 46577e6533d5SmrgTo get pkg-config, see <http://pkg-config.freedesktop.org/>. 46587e6533d5SmrgSee \`config.log' for more details" "$LINENO" 5; } 46597e6533d5Smrgelse 46607e6533d5Smrg XFSINFO_CFLAGS=$pkg_cv_XFSINFO_CFLAGS 46617e6533d5Smrg XFSINFO_LIBS=$pkg_cv_XFSINFO_LIBS 46627e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 46637e6533d5Smrg$as_echo "yes" >&6; } 46647e6533d5Smrg : 46657e6533d5Smrgfi 4666067610f1Smrg 4667067610f1Smrgac_config_files="$ac_config_files Makefile" 4668067610f1Smrg 4669067610f1Smrgcat >confcache <<\_ACEOF 4670067610f1Smrg# This file is a shell script that caches the results of configure 4671067610f1Smrg# tests run on this system so they can be shared between configure 4672067610f1Smrg# scripts and configure runs, see configure's option --config-cache. 4673067610f1Smrg# It is not useful on other systems. If it contains results you don't 4674067610f1Smrg# want to keep, you may remove or edit it. 4675067610f1Smrg# 4676067610f1Smrg# config.status only pays attention to the cache file if you give it 4677067610f1Smrg# the --recheck option to rerun configure. 4678067610f1Smrg# 4679067610f1Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when 4680067610f1Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the 4681067610f1Smrg# following values. 4682067610f1Smrg 4683067610f1Smrg_ACEOF 4684067610f1Smrg 4685067610f1Smrg# The following way of writing the cache mishandles newlines in values, 4686067610f1Smrg# but we know of no workaround that is simple, portable, and efficient. 4687067610f1Smrg# So, we kill variables containing newlines. 4688067610f1Smrg# Ultrix sh set writes to stderr and can't be redirected directly, 4689067610f1Smrg# and sets the high bit in the cache file unless we assign to the vars. 4690067610f1Smrg( 4691067610f1Smrg for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 4692067610f1Smrg eval ac_val=\$$ac_var 4693067610f1Smrg case $ac_val in #( 4694067610f1Smrg *${as_nl}*) 4695067610f1Smrg case $ac_var in #( 46967e6533d5Smrg *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 46977e6533d5Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 4698067610f1Smrg esac 4699067610f1Smrg case $ac_var in #( 4700067610f1Smrg _ | IFS | as_nl) ;; #( 47017e6533d5Smrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 47027e6533d5Smrg *) { eval $ac_var=; unset $ac_var;} ;; 4703067610f1Smrg esac ;; 4704067610f1Smrg esac 4705067610f1Smrg done 4706067610f1Smrg 4707067610f1Smrg (set) 2>&1 | 4708067610f1Smrg case $as_nl`(ac_space=' '; set) 2>&1` in #( 4709067610f1Smrg *${as_nl}ac_space=\ *) 47107e6533d5Smrg # `set' does not quote correctly, so add quotes: double-quote 47117e6533d5Smrg # substitution turns \\\\ into \\, and sed turns \\ into \. 4712067610f1Smrg sed -n \ 4713067610f1Smrg "s/'/'\\\\''/g; 4714067610f1Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 4715067610f1Smrg ;; #( 4716067610f1Smrg *) 4717067610f1Smrg # `set' quotes correctly as required by POSIX, so do not add quotes. 4718067610f1Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 4719067610f1Smrg ;; 4720067610f1Smrg esac | 4721067610f1Smrg sort 4722067610f1Smrg) | 4723067610f1Smrg sed ' 4724067610f1Smrg /^ac_cv_env_/b end 4725067610f1Smrg t clear 4726067610f1Smrg :clear 4727067610f1Smrg s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 4728067610f1Smrg t end 4729067610f1Smrg s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 4730067610f1Smrg :end' >>confcache 4731067610f1Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 4732067610f1Smrg if test -w "$cache_file"; then 47337e6533d5Smrg if test "x$cache_file" != "x/dev/null"; then 47347e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 47357e6533d5Smrg$as_echo "$as_me: updating cache $cache_file" >&6;} 47367e6533d5Smrg if test ! -f "$cache_file" || test -h "$cache_file"; then 47377e6533d5Smrg cat confcache >"$cache_file" 47387e6533d5Smrg else 47397e6533d5Smrg case $cache_file in #( 47407e6533d5Smrg */* | ?:*) 47417e6533d5Smrg mv -f confcache "$cache_file"$$ && 47427e6533d5Smrg mv -f "$cache_file"$$ "$cache_file" ;; #( 47437e6533d5Smrg *) 47447e6533d5Smrg mv -f confcache "$cache_file" ;; 47457e6533d5Smrg esac 47467e6533d5Smrg fi 47477e6533d5Smrg fi 4748067610f1Smrg else 47497e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 47507e6533d5Smrg$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 4751067610f1Smrg fi 4752067610f1Smrgfi 4753067610f1Smrgrm -f confcache 4754067610f1Smrg 4755067610f1Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix 4756067610f1Smrg# Let make expand exec_prefix. 4757067610f1Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 4758067610f1Smrg 4759067610f1SmrgDEFS=-DHAVE_CONFIG_H 4760067610f1Smrg 4761067610f1Smrgac_libobjs= 4762067610f1Smrgac_ltlibobjs= 47637e6533d5SmrgU= 4764067610f1Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 4765067610f1Smrg # 1. Remove the extension, and $U if already installed. 4766067610f1Smrg ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 47677e6533d5Smrg ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 4768067610f1Smrg # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 4769067610f1Smrg # will be set to the directory where LIBOBJS objects are built. 47707e6533d5Smrg as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 47717e6533d5Smrg as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 4772067610f1Smrgdone 4773067610f1SmrgLIBOBJS=$ac_libobjs 4774067610f1Smrg 4775067610f1SmrgLTLIBOBJS=$ac_ltlibobjs 4776067610f1Smrg 4777067610f1Smrg 47787e6533d5Smrg if test -n "$EXEEXT"; then 47797e6533d5Smrg am__EXEEXT_TRUE= 47807e6533d5Smrg am__EXEEXT_FALSE='#' 47817e6533d5Smrgelse 47827e6533d5Smrg am__EXEEXT_TRUE='#' 47837e6533d5Smrg am__EXEEXT_FALSE= 47847e6533d5Smrgfi 47857e6533d5Smrg 4786067610f1Smrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 47877e6533d5Smrg as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 47887e6533d5SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 4789067610f1Smrgfi 4790067610f1Smrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 47917e6533d5Smrg as_fn_error $? "conditional \"AMDEP\" was never defined. 47927e6533d5SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 4793067610f1Smrgfi 4794067610f1Smrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 47957e6533d5Smrg as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 47967e6533d5SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 4797067610f1Smrgfi 4798067610f1Smrg 47997e6533d5Smrg: "${CONFIG_STATUS=./config.status}" 48007e6533d5Smrgac_write_fail=0 4801067610f1Smrgac_clean_files_save=$ac_clean_files 4802067610f1Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS" 48037e6533d5Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 48047e6533d5Smrg$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 48057e6533d5Smrgas_write_fail=0 48067e6533d5Smrgcat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 4807067610f1Smrg#! $SHELL 4808067610f1Smrg# Generated by $as_me. 4809067610f1Smrg# Run this file to recreate the current configuration. 4810067610f1Smrg# Compiler output produced by configure, useful for debugging 4811067610f1Smrg# configure, is in config.log if it exists. 4812067610f1Smrg 4813067610f1Smrgdebug=false 4814067610f1Smrgac_cs_recheck=false 4815067610f1Smrgac_cs_silent=false 4816067610f1Smrg 48177e6533d5SmrgSHELL=\${CONFIG_SHELL-$SHELL} 48187e6533d5Smrgexport SHELL 48197e6533d5Smrg_ASEOF 48207e6533d5Smrgcat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 48217e6533d5Smrg## -------------------- ## 48227e6533d5Smrg## M4sh Initialization. ## 48237e6533d5Smrg## -------------------- ## 4824067610f1Smrg 4825067610f1Smrg# Be more Bourne compatible 4826067610f1SmrgDUALCASE=1; export DUALCASE # for MKS sh 48277e6533d5Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 4828067610f1Smrg emulate sh 4829067610f1Smrg NULLCMD=: 48307e6533d5Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 4831067610f1Smrg # is contrary to our usage. Disable this feature. 4832067610f1Smrg alias -g '${1+"$@"}'='"$@"' 4833067610f1Smrg setopt NO_GLOB_SUBST 4834067610f1Smrgelse 48357e6533d5Smrg case `(set -o) 2>/dev/null` in #( 48367e6533d5Smrg *posix*) : 48377e6533d5Smrg set -o posix ;; #( 48387e6533d5Smrg *) : 48397e6533d5Smrg ;; 4840067610f1Smrgesac 4841067610f1Smrgfi 4842067610f1Smrg 4843067610f1Smrg 48447e6533d5Smrgas_nl=' 48457e6533d5Smrg' 48467e6533d5Smrgexport as_nl 48477e6533d5Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 48487e6533d5Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 48497e6533d5Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 48507e6533d5Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 48517e6533d5Smrg# Prefer a ksh shell builtin over an external printf program on Solaris, 48527e6533d5Smrg# but without wasting forks for bash or zsh. 48537e6533d5Smrgif test -z "$BASH_VERSION$ZSH_VERSION" \ 48547e6533d5Smrg && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 48557e6533d5Smrg as_echo='print -r --' 48567e6533d5Smrg as_echo_n='print -rn --' 48577e6533d5Smrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48587e6533d5Smrg as_echo='printf %s\n' 48597e6533d5Smrg as_echo_n='printf %s' 48607e6533d5Smrgelse 48617e6533d5Smrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 48627e6533d5Smrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 48637e6533d5Smrg as_echo_n='/usr/ucb/echo -n' 4864067610f1Smrg else 48657e6533d5Smrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 48667e6533d5Smrg as_echo_n_body='eval 48677e6533d5Smrg arg=$1; 48687e6533d5Smrg case $arg in #( 48697e6533d5Smrg *"$as_nl"*) 48707e6533d5Smrg expr "X$arg" : "X\\(.*\\)$as_nl"; 48717e6533d5Smrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 48727e6533d5Smrg esac; 48737e6533d5Smrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 48747e6533d5Smrg ' 48757e6533d5Smrg export as_echo_n_body 48767e6533d5Smrg as_echo_n='sh -c $as_echo_n_body as_echo' 4877067610f1Smrg fi 48787e6533d5Smrg export as_echo_body 48797e6533d5Smrg as_echo='sh -c $as_echo_body as_echo' 4880067610f1Smrgfi 4881067610f1Smrg 48827e6533d5Smrg# The user is always right. 48837e6533d5Smrgif test "${PATH_SEPARATOR+set}" != set; then 48847e6533d5Smrg PATH_SEPARATOR=: 48857e6533d5Smrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 48867e6533d5Smrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 48877e6533d5Smrg PATH_SEPARATOR=';' 48887e6533d5Smrg } 4889067610f1Smrgfi 4890067610f1Smrg 4891067610f1Smrg 4892067610f1Smrg# IFS 4893067610f1Smrg# We need space, tab and new line, in precisely that order. Quoting is 4894067610f1Smrg# there to prevent editors from complaining about space-tab. 4895067610f1Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 4896067610f1Smrg# splitting by setting IFS to empty value.) 4897067610f1SmrgIFS=" "" $as_nl" 4898067610f1Smrg 4899067610f1Smrg# Find who we are. Look in the path if we contain no directory separator. 49007e6533d5Smrgas_myself= 49017e6533d5Smrgcase $0 in #(( 4902067610f1Smrg *[\\/]* ) as_myself=$0 ;; 4903067610f1Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4904067610f1Smrgfor as_dir in $PATH 4905067610f1Smrgdo 4906067610f1Smrg IFS=$as_save_IFS 4907067610f1Smrg test -z "$as_dir" && as_dir=. 49087e6533d5Smrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 49097e6533d5Smrg done 4910067610f1SmrgIFS=$as_save_IFS 4911067610f1Smrg 4912067610f1Smrg ;; 4913067610f1Smrgesac 4914067610f1Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 4915067610f1Smrg# in which case we are not to be found in the path. 4916067610f1Smrgif test "x$as_myself" = x; then 4917067610f1Smrg as_myself=$0 4918067610f1Smrgfi 4919067610f1Smrgif test ! -f "$as_myself"; then 49207e6533d5Smrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 49217e6533d5Smrg exit 1 4922067610f1Smrgfi 4923067610f1Smrg 49247e6533d5Smrg# Unset variables that we do not need and which cause bugs (e.g. in 49257e6533d5Smrg# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 49267e6533d5Smrg# suppresses any "Segmentation fault" message there. '((' could 49277e6533d5Smrg# trigger a bug in pdksh 5.2.14. 49287e6533d5Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH 49297e6533d5Smrgdo eval test x\${$as_var+set} = xset \ 49307e6533d5Smrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 4931067610f1Smrgdone 4932067610f1SmrgPS1='$ ' 4933067610f1SmrgPS2='> ' 4934067610f1SmrgPS4='+ ' 4935067610f1Smrg 4936067610f1Smrg# NLS nuisances. 49377e6533d5SmrgLC_ALL=C 49387e6533d5Smrgexport LC_ALL 49397e6533d5SmrgLANGUAGE=C 49407e6533d5Smrgexport LANGUAGE 49417e6533d5Smrg 49427e6533d5Smrg# CDPATH. 49437e6533d5Smrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 49447e6533d5Smrg 49457e6533d5Smrg 49467e6533d5Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 49477e6533d5Smrg# ---------------------------------------- 49487e6533d5Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 49497e6533d5Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 49507e6533d5Smrg# script with STATUS, using 1 if that was 0. 49517e6533d5Smrgas_fn_error () 49527e6533d5Smrg{ 49537e6533d5Smrg as_status=$1; test $as_status -eq 0 && as_status=1 49547e6533d5Smrg if test "$4"; then 49557e6533d5Smrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 49567e6533d5Smrg $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 4957067610f1Smrg fi 49587e6533d5Smrg $as_echo "$as_me: error: $2" >&2 49597e6533d5Smrg as_fn_exit $as_status 49607e6533d5Smrg} # as_fn_error 49617e6533d5Smrg 49627e6533d5Smrg 49637e6533d5Smrg# as_fn_set_status STATUS 49647e6533d5Smrg# ----------------------- 49657e6533d5Smrg# Set $? to STATUS, without forking. 49667e6533d5Smrgas_fn_set_status () 49677e6533d5Smrg{ 49687e6533d5Smrg return $1 49697e6533d5Smrg} # as_fn_set_status 49707e6533d5Smrg 49717e6533d5Smrg# as_fn_exit STATUS 49727e6533d5Smrg# ----------------- 49737e6533d5Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 49747e6533d5Smrgas_fn_exit () 49757e6533d5Smrg{ 49767e6533d5Smrg set +e 49777e6533d5Smrg as_fn_set_status $1 49787e6533d5Smrg exit $1 49797e6533d5Smrg} # as_fn_exit 49807e6533d5Smrg 49817e6533d5Smrg# as_fn_unset VAR 49827e6533d5Smrg# --------------- 49837e6533d5Smrg# Portably unset VAR. 49847e6533d5Smrgas_fn_unset () 49857e6533d5Smrg{ 49867e6533d5Smrg { eval $1=; unset $1;} 49877e6533d5Smrg} 49887e6533d5Smrgas_unset=as_fn_unset 49897e6533d5Smrg# as_fn_append VAR VALUE 49907e6533d5Smrg# ---------------------- 49917e6533d5Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take 49927e6533d5Smrg# advantage of any shell optimizations that allow amortized linear growth over 49937e6533d5Smrg# repeated appends, instead of the typical quadratic growth present in naive 49947e6533d5Smrg# implementations. 49957e6533d5Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 49967e6533d5Smrg eval 'as_fn_append () 49977e6533d5Smrg { 49987e6533d5Smrg eval $1+=\$2 49997e6533d5Smrg }' 50007e6533d5Smrgelse 50017e6533d5Smrg as_fn_append () 50027e6533d5Smrg { 50037e6533d5Smrg eval $1=\$$1\$2 50047e6533d5Smrg } 50057e6533d5Smrgfi # as_fn_append 50067e6533d5Smrg 50077e6533d5Smrg# as_fn_arith ARG... 50087e6533d5Smrg# ------------------ 50097e6533d5Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the 50107e6533d5Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 50117e6533d5Smrg# must be portable across $(()) and expr. 50127e6533d5Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 50137e6533d5Smrg eval 'as_fn_arith () 50147e6533d5Smrg { 50157e6533d5Smrg as_val=$(( $* )) 50167e6533d5Smrg }' 50177e6533d5Smrgelse 50187e6533d5Smrg as_fn_arith () 50197e6533d5Smrg { 50207e6533d5Smrg as_val=`expr "$@" || test $? -eq 1` 50217e6533d5Smrg } 50227e6533d5Smrgfi # as_fn_arith 50237e6533d5Smrg 5024067610f1Smrg 5025067610f1Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 5026067610f1Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 5027067610f1Smrg as_expr=expr 5028067610f1Smrgelse 5029067610f1Smrg as_expr=false 5030067610f1Smrgfi 5031067610f1Smrg 5032067610f1Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 5033067610f1Smrg as_basename=basename 5034067610f1Smrgelse 5035067610f1Smrg as_basename=false 5036067610f1Smrgfi 5037067610f1Smrg 50387e6533d5Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 50397e6533d5Smrg as_dirname=dirname 50407e6533d5Smrgelse 50417e6533d5Smrg as_dirname=false 50427e6533d5Smrgfi 5043067610f1Smrg 5044067610f1Smrgas_me=`$as_basename -- "$0" || 5045067610f1Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 5046067610f1Smrg X"$0" : 'X\(//\)$' \| \ 5047067610f1Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 50487e6533d5Smrg$as_echo X/"$0" | 5049067610f1Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 5050067610f1Smrg s//\1/ 5051067610f1Smrg q 5052067610f1Smrg } 5053067610f1Smrg /^X\/\(\/\/\)$/{ 5054067610f1Smrg s//\1/ 5055067610f1Smrg q 5056067610f1Smrg } 5057067610f1Smrg /^X\/\(\/\).*/{ 5058067610f1Smrg s//\1/ 5059067610f1Smrg q 5060067610f1Smrg } 5061067610f1Smrg s/.*/./; q'` 5062067610f1Smrg 50637e6533d5Smrg# Avoid depending upon Character Ranges. 50647e6533d5Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 50657e6533d5Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 50667e6533d5Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 50677e6533d5Smrgas_cr_digits='0123456789' 50687e6533d5Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 5069067610f1Smrg 5070067610f1SmrgECHO_C= ECHO_N= ECHO_T= 50717e6533d5Smrgcase `echo -n x` in #((((( 5072067610f1Smrg-n*) 50737e6533d5Smrg case `echo 'xy\c'` in 5074067610f1Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 50757e6533d5Smrg xy) ECHO_C='\c';; 50767e6533d5Smrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 50777e6533d5Smrg ECHO_T=' ';; 5078067610f1Smrg esac;; 5079067610f1Smrg*) 5080067610f1Smrg ECHO_N='-n';; 5081067610f1Smrgesac 5082067610f1Smrg 5083067610f1Smrgrm -f conf$$ conf$$.exe conf$$.file 5084067610f1Smrgif test -d conf$$.dir; then 5085067610f1Smrg rm -f conf$$.dir/conf$$.file 5086067610f1Smrgelse 5087067610f1Smrg rm -f conf$$.dir 50887e6533d5Smrg mkdir conf$$.dir 2>/dev/null 50897e6533d5Smrgfi 50907e6533d5Smrgif (echo >conf$$.file) 2>/dev/null; then 50917e6533d5Smrg if ln -s conf$$.file conf$$ 2>/dev/null; then 50927e6533d5Smrg as_ln_s='ln -s' 50937e6533d5Smrg # ... but there are two gotchas: 50947e6533d5Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 50957e6533d5Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 50967e6533d5Smrg # In both cases, we have to default to `cp -p'. 50977e6533d5Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 50987e6533d5Smrg as_ln_s='cp -p' 50997e6533d5Smrg elif ln conf$$.file conf$$ 2>/dev/null; then 51007e6533d5Smrg as_ln_s=ln 51017e6533d5Smrg else 5102067610f1Smrg as_ln_s='cp -p' 51037e6533d5Smrg fi 5104067610f1Smrgelse 5105067610f1Smrg as_ln_s='cp -p' 5106067610f1Smrgfi 5107067610f1Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5108067610f1Smrgrmdir conf$$.dir 2>/dev/null 5109067610f1Smrg 51107e6533d5Smrg 51117e6533d5Smrg# as_fn_mkdir_p 51127e6533d5Smrg# ------------- 51137e6533d5Smrg# Create "$as_dir" as a directory, including parents if necessary. 51147e6533d5Smrgas_fn_mkdir_p () 51157e6533d5Smrg{ 51167e6533d5Smrg 51177e6533d5Smrg case $as_dir in #( 51187e6533d5Smrg -*) as_dir=./$as_dir;; 51197e6533d5Smrg esac 51207e6533d5Smrg test -d "$as_dir" || eval $as_mkdir_p || { 51217e6533d5Smrg as_dirs= 51227e6533d5Smrg while :; do 51237e6533d5Smrg case $as_dir in #( 51247e6533d5Smrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 51257e6533d5Smrg *) as_qdir=$as_dir;; 51267e6533d5Smrg esac 51277e6533d5Smrg as_dirs="'$as_qdir' $as_dirs" 51287e6533d5Smrg as_dir=`$as_dirname -- "$as_dir" || 51297e6533d5Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 51307e6533d5Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 51317e6533d5Smrg X"$as_dir" : 'X\(//\)$' \| \ 51327e6533d5Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 51337e6533d5Smrg$as_echo X"$as_dir" | 51347e6533d5Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 51357e6533d5Smrg s//\1/ 51367e6533d5Smrg q 51377e6533d5Smrg } 51387e6533d5Smrg /^X\(\/\/\)[^/].*/{ 51397e6533d5Smrg s//\1/ 51407e6533d5Smrg q 51417e6533d5Smrg } 51427e6533d5Smrg /^X\(\/\/\)$/{ 51437e6533d5Smrg s//\1/ 51447e6533d5Smrg q 51457e6533d5Smrg } 51467e6533d5Smrg /^X\(\/\).*/{ 51477e6533d5Smrg s//\1/ 51487e6533d5Smrg q 51497e6533d5Smrg } 51507e6533d5Smrg s/.*/./; q'` 51517e6533d5Smrg test -d "$as_dir" && break 51527e6533d5Smrg done 51537e6533d5Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 51547e6533d5Smrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 51557e6533d5Smrg 51567e6533d5Smrg 51577e6533d5Smrg} # as_fn_mkdir_p 5158067610f1Smrgif mkdir -p . 2>/dev/null; then 51597e6533d5Smrg as_mkdir_p='mkdir -p "$as_dir"' 5160067610f1Smrgelse 5161067610f1Smrg test -d ./-p && rmdir ./-p 5162067610f1Smrg as_mkdir_p=false 5163067610f1Smrgfi 5164067610f1Smrg 5165067610f1Smrgif test -x / >/dev/null 2>&1; then 5166067610f1Smrg as_test_x='test -x' 5167067610f1Smrgelse 5168067610f1Smrg if ls -dL / >/dev/null 2>&1; then 5169067610f1Smrg as_ls_L_option=L 5170067610f1Smrg else 5171067610f1Smrg as_ls_L_option= 5172067610f1Smrg fi 5173067610f1Smrg as_test_x=' 5174067610f1Smrg eval sh -c '\'' 5175067610f1Smrg if test -d "$1"; then 51767e6533d5Smrg test -d "$1/."; 5177067610f1Smrg else 51787e6533d5Smrg case $1 in #( 51797e6533d5Smrg -*)set "./$1";; 5180067610f1Smrg esac; 51817e6533d5Smrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 5182067610f1Smrg ???[sx]*):;;*)false;;esac;fi 5183067610f1Smrg '\'' sh 5184067610f1Smrg ' 5185067610f1Smrgfi 5186067610f1Smrgas_executable_p=$as_test_x 5187067610f1Smrg 5188067610f1Smrg# Sed expression to map a string onto a valid CPP name. 5189067610f1Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5190067610f1Smrg 5191067610f1Smrg# Sed expression to map a string onto a valid variable name. 5192067610f1Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5193067610f1Smrg 5194067610f1Smrg 5195067610f1Smrgexec 6>&1 51967e6533d5Smrg## ----------------------------------- ## 51977e6533d5Smrg## Main body of $CONFIG_STATUS script. ## 51987e6533d5Smrg## ----------------------------------- ## 51997e6533d5Smrg_ASEOF 52007e6533d5Smrgtest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 5201067610f1Smrg 52027e6533d5Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 52037e6533d5Smrg# Save the log message, to keep $0 and so on meaningful, and to 5204067610f1Smrg# report actual input values of CONFIG_FILES etc. instead of their 5205067610f1Smrg# values after options handling. 5206067610f1Smrgac_log=" 52077e6533d5SmrgThis file was extended by xfsinfo $as_me 1.0.3, which was 52087e6533d5Smrggenerated by GNU Autoconf 2.68. Invocation command line was 5209067610f1Smrg 5210067610f1Smrg CONFIG_FILES = $CONFIG_FILES 5211067610f1Smrg CONFIG_HEADERS = $CONFIG_HEADERS 5212067610f1Smrg CONFIG_LINKS = $CONFIG_LINKS 5213067610f1Smrg CONFIG_COMMANDS = $CONFIG_COMMANDS 5214067610f1Smrg $ $0 $@ 5215067610f1Smrg 5216067610f1Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q` 5217067610f1Smrg" 5218067610f1Smrg 5219067610f1Smrg_ACEOF 5220067610f1Smrg 52217e6533d5Smrgcase $ac_config_files in *" 52227e6533d5Smrg"*) set x $ac_config_files; shift; ac_config_files=$*;; 52237e6533d5Smrgesac 52247e6533d5Smrg 52257e6533d5Smrgcase $ac_config_headers in *" 52267e6533d5Smrg"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 52277e6533d5Smrgesac 52287e6533d5Smrg 52297e6533d5Smrg 52307e6533d5Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5231067610f1Smrg# Files that config.status was made for. 5232067610f1Smrgconfig_files="$ac_config_files" 5233067610f1Smrgconfig_headers="$ac_config_headers" 5234067610f1Smrgconfig_commands="$ac_config_commands" 5235067610f1Smrg 5236067610f1Smrg_ACEOF 5237067610f1Smrg 52387e6533d5Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5239067610f1Smrgac_cs_usage="\ 52407e6533d5Smrg\`$as_me' instantiates files and other configuration actions 52417e6533d5Smrgfrom templates according to the current configuration. Unless the files 52427e6533d5Smrgand actions are specified as TAGs, all are instantiated by default. 5243067610f1Smrg 52447e6533d5SmrgUsage: $0 [OPTION]... [TAG]... 5245067610f1Smrg 5246067610f1Smrg -h, --help print this help, then exit 5247067610f1Smrg -V, --version print version number and configuration settings, then exit 52487e6533d5Smrg --config print configuration, then exit 52497e6533d5Smrg -q, --quiet, --silent 52507e6533d5Smrg do not print progress messages 5251067610f1Smrg -d, --debug don't remove temporary files 5252067610f1Smrg --recheck update $as_me by reconfiguring in the same conditions 52537e6533d5Smrg --file=FILE[:TEMPLATE] 52547e6533d5Smrg instantiate the configuration file FILE 52557e6533d5Smrg --header=FILE[:TEMPLATE] 52567e6533d5Smrg instantiate the configuration header FILE 5257067610f1Smrg 5258067610f1SmrgConfiguration files: 5259067610f1Smrg$config_files 5260067610f1Smrg 5261067610f1SmrgConfiguration headers: 5262067610f1Smrg$config_headers 5263067610f1Smrg 5264067610f1SmrgConfiguration commands: 5265067610f1Smrg$config_commands 5266067610f1Smrg 52677e6533d5SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>." 5268067610f1Smrg 5269067610f1Smrg_ACEOF 52707e6533d5Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 52717e6533d5Smrgac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 5272067610f1Smrgac_cs_version="\\ 52737e6533d5Smrgxfsinfo config.status 1.0.3 52747e6533d5Smrgconfigured by $0, generated by GNU Autoconf 2.68, 52757e6533d5Smrg with options \\"\$ac_cs_config\\" 5276067610f1Smrg 52777e6533d5SmrgCopyright (C) 2010 Free Software Foundation, Inc. 5278067610f1SmrgThis config.status script is free software; the Free Software Foundation 5279067610f1Smrggives unlimited permission to copy, distribute and modify it." 5280067610f1Smrg 5281067610f1Smrgac_pwd='$ac_pwd' 5282067610f1Smrgsrcdir='$srcdir' 5283067610f1SmrgINSTALL='$INSTALL' 5284067610f1SmrgMKDIR_P='$MKDIR_P' 52857e6533d5SmrgAWK='$AWK' 52867e6533d5Smrgtest -n "\$AWK" || AWK=awk 5287067610f1Smrg_ACEOF 5288067610f1Smrg 52897e6533d5Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 52907e6533d5Smrg# The default lists apply if the user does not specify any file. 5291067610f1Smrgac_need_defaults=: 5292067610f1Smrgwhile test $# != 0 5293067610f1Smrgdo 5294067610f1Smrg case $1 in 52957e6533d5Smrg --*=?*) 5296067610f1Smrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 5297067610f1Smrg ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 5298067610f1Smrg ac_shift=: 5299067610f1Smrg ;; 53007e6533d5Smrg --*=) 53017e6533d5Smrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 53027e6533d5Smrg ac_optarg= 53037e6533d5Smrg ac_shift=: 53047e6533d5Smrg ;; 5305067610f1Smrg *) 5306067610f1Smrg ac_option=$1 5307067610f1Smrg ac_optarg=$2 5308067610f1Smrg ac_shift=shift 5309067610f1Smrg ;; 5310067610f1Smrg esac 5311067610f1Smrg 5312067610f1Smrg case $ac_option in 5313067610f1Smrg # Handling of the options. 5314067610f1Smrg -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 5315067610f1Smrg ac_cs_recheck=: ;; 5316067610f1Smrg --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 53177e6533d5Smrg $as_echo "$ac_cs_version"; exit ;; 53187e6533d5Smrg --config | --confi | --conf | --con | --co | --c ) 53197e6533d5Smrg $as_echo "$ac_cs_config"; exit ;; 5320067610f1Smrg --debug | --debu | --deb | --de | --d | -d ) 5321067610f1Smrg debug=: ;; 5322067610f1Smrg --file | --fil | --fi | --f ) 5323067610f1Smrg $ac_shift 53247e6533d5Smrg case $ac_optarg in 53257e6533d5Smrg *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 53267e6533d5Smrg '') as_fn_error $? "missing file argument" ;; 53277e6533d5Smrg esac 53287e6533d5Smrg as_fn_append CONFIG_FILES " '$ac_optarg'" 5329067610f1Smrg ac_need_defaults=false;; 5330067610f1Smrg --header | --heade | --head | --hea ) 5331067610f1Smrg $ac_shift 53327e6533d5Smrg case $ac_optarg in 53337e6533d5Smrg *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 53347e6533d5Smrg esac 53357e6533d5Smrg as_fn_append CONFIG_HEADERS " '$ac_optarg'" 5336067610f1Smrg ac_need_defaults=false;; 5337067610f1Smrg --he | --h) 5338067610f1Smrg # Conflict between --help and --header 53397e6533d5Smrg as_fn_error $? "ambiguous option: \`$1' 53407e6533d5SmrgTry \`$0 --help' for more information.";; 5341067610f1Smrg --help | --hel | -h ) 53427e6533d5Smrg $as_echo "$ac_cs_usage"; exit ;; 5343067610f1Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 5344067610f1Smrg | -silent | --silent | --silen | --sile | --sil | --si | --s) 5345067610f1Smrg ac_cs_silent=: ;; 5346067610f1Smrg 5347067610f1Smrg # This is an error. 53487e6533d5Smrg -*) as_fn_error $? "unrecognized option: \`$1' 53497e6533d5SmrgTry \`$0 --help' for more information." ;; 5350067610f1Smrg 53517e6533d5Smrg *) as_fn_append ac_config_targets " $1" 5352067610f1Smrg ac_need_defaults=false ;; 5353067610f1Smrg 5354067610f1Smrg esac 5355067610f1Smrg shift 5356067610f1Smrgdone 5357067610f1Smrg 5358067610f1Smrgac_configure_extra_args= 5359067610f1Smrg 5360067610f1Smrgif $ac_cs_silent; then 5361067610f1Smrg exec 6>/dev/null 5362067610f1Smrg ac_configure_extra_args="$ac_configure_extra_args --silent" 5363067610f1Smrgfi 5364067610f1Smrg 5365067610f1Smrg_ACEOF 53667e6533d5Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5367067610f1Smrgif \$ac_cs_recheck; then 53687e6533d5Smrg set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 53697e6533d5Smrg shift 53707e6533d5Smrg \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 53717e6533d5Smrg CONFIG_SHELL='$SHELL' 5372067610f1Smrg export CONFIG_SHELL 53737e6533d5Smrg exec "\$@" 5374067610f1Smrgfi 5375067610f1Smrg 5376067610f1Smrg_ACEOF 53777e6533d5Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5378067610f1Smrgexec 5>>config.log 5379067610f1Smrg{ 5380067610f1Smrg echo 5381067610f1Smrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 5382067610f1Smrg## Running $as_me. ## 5383067610f1Smrg_ASBOX 53847e6533d5Smrg $as_echo "$ac_log" 5385067610f1Smrg} >&5 5386067610f1Smrg 5387067610f1Smrg_ACEOF 53887e6533d5Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5389067610f1Smrg# 5390067610f1Smrg# INIT-COMMANDS 5391067610f1Smrg# 5392067610f1SmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 5393067610f1Smrg 5394067610f1Smrg_ACEOF 5395067610f1Smrg 53967e6533d5Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5397067610f1Smrg 5398067610f1Smrg# Handling of arguments. 5399067610f1Smrgfor ac_config_target in $ac_config_targets 5400067610f1Smrgdo 5401067610f1Smrg case $ac_config_target in 5402067610f1Smrg "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 54037e6533d5Smrg "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 5404067610f1Smrg "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 5405067610f1Smrg 54067e6533d5Smrg *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 5407067610f1Smrg esac 5408067610f1Smrgdone 5409067610f1Smrg 5410067610f1Smrg 5411067610f1Smrg# If the user did not use the arguments to specify the items to instantiate, 5412067610f1Smrg# then the envvar interface is used. Set only those that are not. 5413067610f1Smrg# We use the long form for the default assignment because of an extremely 5414067610f1Smrg# bizarre bug on SunOS 4.1.3. 5415067610f1Smrgif $ac_need_defaults; then 5416067610f1Smrg test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 5417067610f1Smrg test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 5418067610f1Smrg test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 5419067610f1Smrgfi 5420067610f1Smrg 5421067610f1Smrg# Have a temporary directory for convenience. Make it in the build tree 5422067610f1Smrg# simply because there is no reason against having it here, and in addition, 5423067610f1Smrg# creating and moving files from /tmp can sometimes cause problems. 5424067610f1Smrg# Hook for its removal unless debugging. 5425067610f1Smrg# Note that there is a small window in which the directory will not be cleaned: 5426067610f1Smrg# after its creation but before its name has been assigned to `$tmp'. 5427067610f1Smrg$debug || 5428067610f1Smrg{ 54297e6533d5Smrg tmp= ac_tmp= 5430067610f1Smrg trap 'exit_status=$? 54317e6533d5Smrg : "${ac_tmp:=$tmp}" 54327e6533d5Smrg { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 5433067610f1Smrg' 0 54347e6533d5Smrg trap 'as_fn_exit 1' 1 2 13 15 5435067610f1Smrg} 5436067610f1Smrg# Create a (secure) tmp directory for tmp files. 5437067610f1Smrg 5438067610f1Smrg{ 5439067610f1Smrg tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 54407e6533d5Smrg test -d "$tmp" 5441067610f1Smrg} || 5442067610f1Smrg{ 5443067610f1Smrg tmp=./conf$$-$RANDOM 5444067610f1Smrg (umask 077 && mkdir "$tmp") 54457e6533d5Smrg} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 54467e6533d5Smrgac_tmp=$tmp 5447067610f1Smrg 54487e6533d5Smrg# Set up the scripts for CONFIG_FILES section. 54497e6533d5Smrg# No need to generate them if there are no CONFIG_FILES. 54507e6533d5Smrg# This happens for instance with `./config.status config.h'. 5451067610f1Smrgif test -n "$CONFIG_FILES"; then 5452067610f1Smrg 5453067610f1Smrg 54547e6533d5Smrgac_cr=`echo X | tr X '\015'` 54557e6533d5Smrg# On cygwin, bash can eat \r inside `` if the user requested igncr. 54567e6533d5Smrg# But we know of no other shell where ac_cr would be empty at this 54577e6533d5Smrg# point, so we can use a bashism as a fallback. 54587e6533d5Smrgif test "x$ac_cr" = x; then 54597e6533d5Smrg eval ac_cr=\$\'\\r\' 54607e6533d5Smrgfi 54617e6533d5Smrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 54627e6533d5Smrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 54637e6533d5Smrg ac_cs_awk_cr='\\r' 54647e6533d5Smrgelse 54657e6533d5Smrg ac_cs_awk_cr=$ac_cr 5466067610f1Smrgfi 5467067610f1Smrg 54687e6533d5Smrgecho 'BEGIN {' >"$ac_tmp/subs1.awk" && 5469067610f1Smrg_ACEOF 5470067610f1Smrg 5471067610f1Smrg 54727e6533d5Smrg{ 54737e6533d5Smrg echo "cat >conf$$subs.awk <<_ACEOF" && 54747e6533d5Smrg echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 54757e6533d5Smrg echo "_ACEOF" 54767e6533d5Smrg} >conf$$subs.sh || 54777e6533d5Smrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 54787e6533d5Smrgac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 5479067610f1Smrgac_delim='%!_!# ' 5480067610f1Smrgfor ac_last_try in false false false false false :; do 54817e6533d5Smrg . ./conf$$subs.sh || 54827e6533d5Smrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5483067610f1Smrg 54847e6533d5Smrg ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 54857e6533d5Smrg if test $ac_delim_n = $ac_delim_num; then 5486067610f1Smrg break 5487067610f1Smrg elif $ac_last_try; then 54887e6533d5Smrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5489067610f1Smrg else 5490067610f1Smrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 5491067610f1Smrg fi 5492067610f1Smrgdone 54937e6533d5Smrgrm -f conf$$subs.sh 5494067610f1Smrg 54957e6533d5Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 54967e6533d5Smrgcat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 54977e6533d5Smrg_ACEOF 54987e6533d5Smrgsed -n ' 54997e6533d5Smrgh 55007e6533d5Smrgs/^/S["/; s/!.*/"]=/ 55017e6533d5Smrgp 55027e6533d5Smrgg 55037e6533d5Smrgs/^[^!]*!// 55047e6533d5Smrg:repl 55057e6533d5Smrgt repl 55067e6533d5Smrgs/'"$ac_delim"'$// 55077e6533d5Smrgt delim 55087e6533d5Smrg:nl 55097e6533d5Smrgh 55107e6533d5Smrgs/\(.\{148\}\)..*/\1/ 55117e6533d5Smrgt more1 55127e6533d5Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 55137e6533d5Smrgp 55147e6533d5Smrgn 55157e6533d5Smrgb repl 55167e6533d5Smrg:more1 55177e6533d5Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 55187e6533d5Smrgp 55197e6533d5Smrgg 55207e6533d5Smrgs/.\{148\}// 55217e6533d5Smrgt nl 55227e6533d5Smrg:delim 55237e6533d5Smrgh 55247e6533d5Smrgs/\(.\{148\}\)..*/\1/ 55257e6533d5Smrgt more2 55267e6533d5Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/ 55277e6533d5Smrgp 55287e6533d5Smrgb 55297e6533d5Smrg:more2 55307e6533d5Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 55317e6533d5Smrgp 55327e6533d5Smrgg 55337e6533d5Smrgs/.\{148\}// 55347e6533d5Smrgt delim 55357e6533d5Smrg' <conf$$subs.awk | sed ' 55367e6533d5Smrg/^[^""]/{ 55377e6533d5Smrg N 55387e6533d5Smrg s/\n// 55397e6533d5Smrg} 55407e6533d5Smrg' >>$CONFIG_STATUS || ac_write_fail=1 55417e6533d5Smrgrm -f conf$$subs.awk 55427e6533d5Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 55437e6533d5Smrg_ACAWK 55447e6533d5Smrgcat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 55457e6533d5Smrg for (key in S) S_is_set[key] = 1 55467e6533d5Smrg FS = "" 55477e6533d5Smrg 55487e6533d5Smrg} 55497e6533d5Smrg{ 55507e6533d5Smrg line = $ 0 55517e6533d5Smrg nfields = split(line, field, "@") 55527e6533d5Smrg substed = 0 55537e6533d5Smrg len = length(field[1]) 55547e6533d5Smrg for (i = 2; i < nfields; i++) { 55557e6533d5Smrg key = field[i] 55567e6533d5Smrg keylen = length(key) 55577e6533d5Smrg if (S_is_set[key]) { 55587e6533d5Smrg value = S[key] 55597e6533d5Smrg line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 55607e6533d5Smrg len += length(value) + length(field[++i]) 55617e6533d5Smrg substed = 1 55627e6533d5Smrg } else 55637e6533d5Smrg len += 1 + keylen 55647e6533d5Smrg } 55657e6533d5Smrg 55667e6533d5Smrg print line 55677e6533d5Smrg} 5568067610f1Smrg 55697e6533d5Smrg_ACAWK 5570067610f1Smrg_ACEOF 55717e6533d5Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 55727e6533d5Smrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 55737e6533d5Smrg sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 55747e6533d5Smrgelse 55757e6533d5Smrg cat 55767e6533d5Smrgfi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 55777e6533d5Smrg || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 5578067610f1Smrg_ACEOF 5579067610f1Smrg 55807e6533d5Smrg# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 55817e6533d5Smrg# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 5582067610f1Smrg# trailing colons and then remove the whole line if VPATH becomes empty 5583067610f1Smrg# (actually we leave an empty line to preserve line numbers). 5584067610f1Smrgif test "x$srcdir" = x.; then 55857e6533d5Smrg ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 55867e6533d5Smrgh 55877e6533d5Smrgs/// 55887e6533d5Smrgs/^/:/ 55897e6533d5Smrgs/[ ]*$/:/ 55907e6533d5Smrgs/:\$(srcdir):/:/g 55917e6533d5Smrgs/:\${srcdir}:/:/g 55927e6533d5Smrgs/:@srcdir@:/:/g 55937e6533d5Smrgs/^:*// 5594067610f1Smrgs/:*$// 55957e6533d5Smrgx 55967e6533d5Smrgs/\(=[ ]*\).*/\1/ 55977e6533d5SmrgG 55987e6533d5Smrgs/\n// 5599067610f1Smrgs/^[^=]*=[ ]*$// 5600067610f1Smrg}' 5601067610f1Smrgfi 5602067610f1Smrg 56037e6533d5Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5604067610f1Smrgfi # test -n "$CONFIG_FILES" 5605067610f1Smrg 56067e6533d5Smrg# Set up the scripts for CONFIG_HEADERS section. 56077e6533d5Smrg# No need to generate them if there are no CONFIG_HEADERS. 56087e6533d5Smrg# This happens for instance with `./config.status Makefile'. 56097e6533d5Smrgif test -n "$CONFIG_HEADERS"; then 56107e6533d5Smrgcat >"$ac_tmp/defines.awk" <<\_ACAWK || 56117e6533d5SmrgBEGIN { 56127e6533d5Smrg_ACEOF 56137e6533d5Smrg 56147e6533d5Smrg# Transform confdefs.h into an awk script `defines.awk', embedded as 56157e6533d5Smrg# here-document in config.status, that substitutes the proper values into 56167e6533d5Smrg# config.h.in to produce config.h. 56177e6533d5Smrg 56187e6533d5Smrg# Create a delimiter string that does not exist in confdefs.h, to ease 56197e6533d5Smrg# handling of long lines. 56207e6533d5Smrgac_delim='%!_!# ' 56217e6533d5Smrgfor ac_last_try in false false :; do 56227e6533d5Smrg ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 56237e6533d5Smrg if test -z "$ac_tt"; then 56247e6533d5Smrg break 56257e6533d5Smrg elif $ac_last_try; then 56267e6533d5Smrg as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 56277e6533d5Smrg else 56287e6533d5Smrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 56297e6533d5Smrg fi 56307e6533d5Smrgdone 56317e6533d5Smrg 56327e6533d5Smrg# For the awk script, D is an array of macro values keyed by name, 56337e6533d5Smrg# likewise P contains macro parameters if any. Preserve backslash 56347e6533d5Smrg# newline sequences. 56357e6533d5Smrg 56367e6533d5Smrgac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 56377e6533d5Smrgsed -n ' 56387e6533d5Smrgs/.\{148\}/&'"$ac_delim"'/g 56397e6533d5Smrgt rset 56407e6533d5Smrg:rset 56417e6533d5Smrgs/^[ ]*#[ ]*define[ ][ ]*/ / 56427e6533d5Smrgt def 56437e6533d5Smrgd 56447e6533d5Smrg:def 56457e6533d5Smrgs/\\$// 56467e6533d5Smrgt bsnl 56477e6533d5Smrgs/["\\]/\\&/g 56487e6533d5Smrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 56497e6533d5SmrgD["\1"]=" \3"/p 56507e6533d5Smrgs/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 56517e6533d5Smrgd 56527e6533d5Smrg:bsnl 56537e6533d5Smrgs/["\\]/\\&/g 56547e6533d5Smrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 56557e6533d5SmrgD["\1"]=" \3\\\\\\n"\\/p 56567e6533d5Smrgt cont 56577e6533d5Smrgs/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 56587e6533d5Smrgt cont 56597e6533d5Smrgd 56607e6533d5Smrg:cont 56617e6533d5Smrgn 56627e6533d5Smrgs/.\{148\}/&'"$ac_delim"'/g 56637e6533d5Smrgt clear 56647e6533d5Smrg:clear 56657e6533d5Smrgs/\\$// 56667e6533d5Smrgt bsnlc 56677e6533d5Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/p 56687e6533d5Smrgd 56697e6533d5Smrg:bsnlc 56707e6533d5Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 56717e6533d5Smrgb cont 56727e6533d5Smrg' <confdefs.h | sed ' 56737e6533d5Smrgs/'"$ac_delim"'/"\\\ 56747e6533d5Smrg"/g' >>$CONFIG_STATUS || ac_write_fail=1 56757e6533d5Smrg 56767e6533d5Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 56777e6533d5Smrg for (key in D) D_is_set[key] = 1 56787e6533d5Smrg FS = "" 56797e6533d5Smrg} 56807e6533d5Smrg/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 56817e6533d5Smrg line = \$ 0 56827e6533d5Smrg split(line, arg, " ") 56837e6533d5Smrg if (arg[1] == "#") { 56847e6533d5Smrg defundef = arg[2] 56857e6533d5Smrg mac1 = arg[3] 56867e6533d5Smrg } else { 56877e6533d5Smrg defundef = substr(arg[1], 2) 56887e6533d5Smrg mac1 = arg[2] 56897e6533d5Smrg } 56907e6533d5Smrg split(mac1, mac2, "(") #) 56917e6533d5Smrg macro = mac2[1] 56927e6533d5Smrg prefix = substr(line, 1, index(line, defundef) - 1) 56937e6533d5Smrg if (D_is_set[macro]) { 56947e6533d5Smrg # Preserve the white space surrounding the "#". 56957e6533d5Smrg print prefix "define", macro P[macro] D[macro] 56967e6533d5Smrg next 56977e6533d5Smrg } else { 56987e6533d5Smrg # Replace #undef with comments. This is necessary, for example, 56997e6533d5Smrg # in the case of _POSIX_SOURCE, which is predefined and required 57007e6533d5Smrg # on some systems where configure will not decide to define it. 57017e6533d5Smrg if (defundef == "undef") { 57027e6533d5Smrg print "/*", prefix defundef, macro, "*/" 57037e6533d5Smrg next 57047e6533d5Smrg } 57057e6533d5Smrg } 57067e6533d5Smrg} 57077e6533d5Smrg{ print } 57087e6533d5Smrg_ACAWK 57097e6533d5Smrg_ACEOF 57107e6533d5Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 57117e6533d5Smrg as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 57127e6533d5Smrgfi # test -n "$CONFIG_HEADERS" 57137e6533d5Smrg 5714067610f1Smrg 57157e6533d5Smrgeval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 57167e6533d5Smrgshift 57177e6533d5Smrgfor ac_tag 5718067610f1Smrgdo 5719067610f1Smrg case $ac_tag in 5720067610f1Smrg :[FHLC]) ac_mode=$ac_tag; continue;; 5721067610f1Smrg esac 5722067610f1Smrg case $ac_mode$ac_tag in 5723067610f1Smrg :[FHL]*:*);; 57247e6533d5Smrg :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 5725067610f1Smrg :[FH]-) ac_tag=-:-;; 5726067610f1Smrg :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 5727067610f1Smrg esac 5728067610f1Smrg ac_save_IFS=$IFS 5729067610f1Smrg IFS=: 5730067610f1Smrg set x $ac_tag 5731067610f1Smrg IFS=$ac_save_IFS 5732067610f1Smrg shift 5733067610f1Smrg ac_file=$1 5734067610f1Smrg shift 5735067610f1Smrg 5736067610f1Smrg case $ac_mode in 5737067610f1Smrg :L) ac_source=$1;; 5738067610f1Smrg :[FH]) 5739067610f1Smrg ac_file_inputs= 5740067610f1Smrg for ac_f 5741067610f1Smrg do 5742067610f1Smrg case $ac_f in 57437e6533d5Smrg -) ac_f="$ac_tmp/stdin";; 5744067610f1Smrg *) # Look for the file first in the build tree, then in the source tree 5745067610f1Smrg # (if the path is not absolute). The absolute path cannot be DOS-style, 5746067610f1Smrg # because $ac_f cannot contain `:'. 5747067610f1Smrg test -f "$ac_f" || 5748067610f1Smrg case $ac_f in 5749067610f1Smrg [\\/$]*) false;; 5750067610f1Smrg *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 5751067610f1Smrg esac || 57527e6533d5Smrg as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 5753067610f1Smrg esac 57547e6533d5Smrg case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 57557e6533d5Smrg as_fn_append ac_file_inputs " '$ac_f'" 5756067610f1Smrg done 5757067610f1Smrg 5758067610f1Smrg # Let's still pretend it is `configure' which instantiates (i.e., don't 5759067610f1Smrg # use $as_me), people would be surprised to read: 5760067610f1Smrg # /* config.h. Generated by config.status. */ 57617e6533d5Smrg configure_input='Generated from '` 57627e6533d5Smrg $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 57637e6533d5Smrg `' by configure.' 5764067610f1Smrg if test x"$ac_file" != x-; then 5765067610f1Smrg configure_input="$ac_file. $configure_input" 57667e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 57677e6533d5Smrg$as_echo "$as_me: creating $ac_file" >&6;} 5768067610f1Smrg fi 57697e6533d5Smrg # Neutralize special characters interpreted by sed in replacement strings. 57707e6533d5Smrg case $configure_input in #( 57717e6533d5Smrg *\&* | *\|* | *\\* ) 57727e6533d5Smrg ac_sed_conf_input=`$as_echo "$configure_input" | 57737e6533d5Smrg sed 's/[\\\\&|]/\\\\&/g'`;; #( 57747e6533d5Smrg *) ac_sed_conf_input=$configure_input;; 57757e6533d5Smrg esac 5776067610f1Smrg 5777067610f1Smrg case $ac_tag in 57787e6533d5Smrg *:-:* | *:-) cat >"$ac_tmp/stdin" \ 57797e6533d5Smrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 5780067610f1Smrg esac 5781067610f1Smrg ;; 5782067610f1Smrg esac 5783067610f1Smrg 5784067610f1Smrg ac_dir=`$as_dirname -- "$ac_file" || 5785067610f1Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5786067610f1Smrg X"$ac_file" : 'X\(//\)[^/]' \| \ 5787067610f1Smrg X"$ac_file" : 'X\(//\)$' \| \ 5788067610f1Smrg X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 57897e6533d5Smrg$as_echo X"$ac_file" | 5790067610f1Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5791067610f1Smrg s//\1/ 5792067610f1Smrg q 5793067610f1Smrg } 5794067610f1Smrg /^X\(\/\/\)[^/].*/{ 5795067610f1Smrg s//\1/ 5796067610f1Smrg q 5797067610f1Smrg } 5798067610f1Smrg /^X\(\/\/\)$/{ 5799067610f1Smrg s//\1/ 5800067610f1Smrg q 5801067610f1Smrg } 5802067610f1Smrg /^X\(\/\).*/{ 5803067610f1Smrg s//\1/ 5804067610f1Smrg q 5805067610f1Smrg } 5806067610f1Smrg s/.*/./; q'` 58077e6533d5Smrg as_dir="$ac_dir"; as_fn_mkdir_p 5808067610f1Smrg ac_builddir=. 5809067610f1Smrg 5810067610f1Smrgcase "$ac_dir" in 5811067610f1Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 5812067610f1Smrg*) 58137e6533d5Smrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 5814067610f1Smrg # A ".." for each directory in $ac_dir_suffix. 58157e6533d5Smrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 5816067610f1Smrg case $ac_top_builddir_sub in 5817067610f1Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 5818067610f1Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 5819067610f1Smrg esac ;; 5820067610f1Smrgesac 5821067610f1Smrgac_abs_top_builddir=$ac_pwd 5822067610f1Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 5823067610f1Smrg# for backward compatibility: 5824067610f1Smrgac_top_builddir=$ac_top_build_prefix 5825067610f1Smrg 5826067610f1Smrgcase $srcdir in 5827067610f1Smrg .) # We are building in place. 5828067610f1Smrg ac_srcdir=. 5829067610f1Smrg ac_top_srcdir=$ac_top_builddir_sub 5830067610f1Smrg ac_abs_top_srcdir=$ac_pwd ;; 5831067610f1Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 5832067610f1Smrg ac_srcdir=$srcdir$ac_dir_suffix; 5833067610f1Smrg ac_top_srcdir=$srcdir 5834067610f1Smrg ac_abs_top_srcdir=$srcdir ;; 5835067610f1Smrg *) # Relative name. 5836067610f1Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 5837067610f1Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 5838067610f1Smrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 5839067610f1Smrgesac 5840067610f1Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 5841067610f1Smrg 5842067610f1Smrg 5843067610f1Smrg case $ac_mode in 5844067610f1Smrg :F) 5845067610f1Smrg # 5846067610f1Smrg # CONFIG_FILE 5847067610f1Smrg # 5848067610f1Smrg 5849067610f1Smrg case $INSTALL in 5850067610f1Smrg [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 5851067610f1Smrg *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 5852067610f1Smrg esac 5853067610f1Smrg ac_MKDIR_P=$MKDIR_P 5854067610f1Smrg case $MKDIR_P in 5855067610f1Smrg [\\/$]* | ?:[\\/]* ) ;; 5856067610f1Smrg */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 5857067610f1Smrg esac 5858067610f1Smrg_ACEOF 5859067610f1Smrg 58607e6533d5Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5861067610f1Smrg# If the template does not know about datarootdir, expand it. 5862067610f1Smrg# FIXME: This hack should be removed a few years after 2.60. 5863067610f1Smrgac_datarootdir_hack=; ac_datarootdir_seen= 58647e6533d5Smrgac_sed_dataroot=' 58657e6533d5Smrg/datarootdir/ { 5866067610f1Smrg p 5867067610f1Smrg q 5868067610f1Smrg} 5869067610f1Smrg/@datadir@/p 5870067610f1Smrg/@docdir@/p 5871067610f1Smrg/@infodir@/p 5872067610f1Smrg/@localedir@/p 58737e6533d5Smrg/@mandir@/p' 58747e6533d5Smrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 5875067610f1Smrg*datarootdir*) ac_datarootdir_seen=yes;; 5876067610f1Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 58777e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 58787e6533d5Smrg$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 5879067610f1Smrg_ACEOF 58807e6533d5Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5881067610f1Smrg ac_datarootdir_hack=' 5882067610f1Smrg s&@datadir@&$datadir&g 5883067610f1Smrg s&@docdir@&$docdir&g 5884067610f1Smrg s&@infodir@&$infodir&g 5885067610f1Smrg s&@localedir@&$localedir&g 5886067610f1Smrg s&@mandir@&$mandir&g 58877e6533d5Smrg s&\\\${datarootdir}&$datarootdir&g' ;; 5888067610f1Smrgesac 5889067610f1Smrg_ACEOF 5890067610f1Smrg 5891067610f1Smrg# Neutralize VPATH when `$srcdir' = `.'. 5892067610f1Smrg# Shell code in configure.ac might set extrasub. 5893067610f1Smrg# FIXME: do we really want to maintain this feature? 58947e6533d5Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 58957e6533d5Smrgac_sed_extra="$ac_vpsub 5896067610f1Smrg$extrasub 5897067610f1Smrg_ACEOF 58987e6533d5Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5899067610f1Smrg:t 5900067610f1Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 59017e6533d5Smrgs|@configure_input@|$ac_sed_conf_input|;t t 5902067610f1Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t 59037e6533d5Smrgs&@top_build_prefix@&$ac_top_build_prefix&;t t 5904067610f1Smrgs&@srcdir@&$ac_srcdir&;t t 5905067610f1Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t 5906067610f1Smrgs&@top_srcdir@&$ac_top_srcdir&;t t 5907067610f1Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 5908067610f1Smrgs&@builddir@&$ac_builddir&;t t 5909067610f1Smrgs&@abs_builddir@&$ac_abs_builddir&;t t 5910067610f1Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t 5911067610f1Smrgs&@INSTALL@&$ac_INSTALL&;t t 5912067610f1Smrgs&@MKDIR_P@&$ac_MKDIR_P&;t t 5913067610f1Smrg$ac_datarootdir_hack 59147e6533d5Smrg" 59157e6533d5Smrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 59167e6533d5Smrg >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 5917067610f1Smrg 5918067610f1Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 59197e6533d5Smrg { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 59207e6533d5Smrg { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 59217e6533d5Smrg "$ac_tmp/out"`; test -z "$ac_out"; } && 59227e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 59237e6533d5Smrgwhich seems to be undefined. Please make sure it is defined" >&5 59247e6533d5Smrg$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 59257e6533d5Smrgwhich seems to be undefined. Please make sure it is defined" >&2;} 59267e6533d5Smrg 59277e6533d5Smrg rm -f "$ac_tmp/stdin" 5928067610f1Smrg case $ac_file in 59297e6533d5Smrg -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 59307e6533d5Smrg *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 59317e6533d5Smrg esac \ 59327e6533d5Smrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 5933067610f1Smrg ;; 5934067610f1Smrg :H) 5935067610f1Smrg # 5936067610f1Smrg # CONFIG_HEADER 5937067610f1Smrg # 5938067610f1Smrg if test x"$ac_file" != x-; then 59397e6533d5Smrg { 59407e6533d5Smrg $as_echo "/* $configure_input */" \ 59417e6533d5Smrg && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 59427e6533d5Smrg } >"$ac_tmp/config.h" \ 59437e6533d5Smrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 59447e6533d5Smrg if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 59457e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 59467e6533d5Smrg$as_echo "$as_me: $ac_file is unchanged" >&6;} 5947067610f1Smrg else 59487e6533d5Smrg rm -f "$ac_file" 59497e6533d5Smrg mv "$ac_tmp/config.h" "$ac_file" \ 59507e6533d5Smrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 5951067610f1Smrg fi 5952067610f1Smrg else 59537e6533d5Smrg $as_echo "/* $configure_input */" \ 59547e6533d5Smrg && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 59557e6533d5Smrg || as_fn_error $? "could not create -" "$LINENO" 5 5956067610f1Smrg fi 59577e6533d5Smrg# Compute "$ac_file"'s index in $config_headers. 59587e6533d5Smrg_am_arg="$ac_file" 5959067610f1Smrg_am_stamp_count=1 5960067610f1Smrgfor _am_header in $config_headers :; do 5961067610f1Smrg case $_am_header in 59627e6533d5Smrg $_am_arg | $_am_arg:* ) 5963067610f1Smrg break ;; 5964067610f1Smrg * ) 5965067610f1Smrg _am_stamp_count=`expr $_am_stamp_count + 1` ;; 5966067610f1Smrg esac 5967067610f1Smrgdone 59687e6533d5Smrgecho "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 59697e6533d5Smrg$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 59707e6533d5Smrg X"$_am_arg" : 'X\(//\)[^/]' \| \ 59717e6533d5Smrg X"$_am_arg" : 'X\(//\)$' \| \ 59727e6533d5Smrg X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 59737e6533d5Smrg$as_echo X"$_am_arg" | 5974067610f1Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5975067610f1Smrg s//\1/ 5976067610f1Smrg q 5977067610f1Smrg } 5978067610f1Smrg /^X\(\/\/\)[^/].*/{ 5979067610f1Smrg s//\1/ 5980067610f1Smrg q 5981067610f1Smrg } 5982067610f1Smrg /^X\(\/\/\)$/{ 5983067610f1Smrg s//\1/ 5984067610f1Smrg q 5985067610f1Smrg } 5986067610f1Smrg /^X\(\/\).*/{ 5987067610f1Smrg s//\1/ 5988067610f1Smrg q 5989067610f1Smrg } 5990067610f1Smrg s/.*/./; q'`/stamp-h$_am_stamp_count 5991067610f1Smrg ;; 5992067610f1Smrg 59937e6533d5Smrg :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 59947e6533d5Smrg$as_echo "$as_me: executing $ac_file commands" >&6;} 5995067610f1Smrg ;; 5996067610f1Smrg esac 5997067610f1Smrg 5998067610f1Smrg 5999067610f1Smrg case $ac_file$ac_mode in 60007e6533d5Smrg "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 60017e6533d5Smrg # Autoconf 2.62 quotes --file arguments for eval, but not when files 60027e6533d5Smrg # are listed without --file. Let's play safe and only enable the eval 60037e6533d5Smrg # if we detect the quoting. 60047e6533d5Smrg case $CONFIG_FILES in 60057e6533d5Smrg *\'*) eval set x "$CONFIG_FILES" ;; 60067e6533d5Smrg *) set x $CONFIG_FILES ;; 60077e6533d5Smrg esac 60087e6533d5Smrg shift 60097e6533d5Smrg for mf 60107e6533d5Smrg do 60117e6533d5Smrg # Strip MF so we end up with the name of the file. 60127e6533d5Smrg mf=`echo "$mf" | sed -e 's/:.*$//'` 60137e6533d5Smrg # Check whether this is an Automake generated Makefile or not. 60147e6533d5Smrg # We used to match only the files named `Makefile.in', but 60157e6533d5Smrg # some people rename them; so instead we look at the file content. 60167e6533d5Smrg # Grep'ing the first line is not enough: some people post-process 60177e6533d5Smrg # each Makefile.in and add a new line on top of each file to say so. 60187e6533d5Smrg # Grep'ing the whole file is not good either: AIX grep has a line 60197e6533d5Smrg # limit of 2048, but all sed's we know have understand at least 4000. 60207e6533d5Smrg if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 60217e6533d5Smrg dirpart=`$as_dirname -- "$mf" || 6022067610f1Smrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6023067610f1Smrg X"$mf" : 'X\(//\)[^/]' \| \ 6024067610f1Smrg X"$mf" : 'X\(//\)$' \| \ 6025067610f1Smrg X"$mf" : 'X\(/\)' \| . 2>/dev/null || 60267e6533d5Smrg$as_echo X"$mf" | 6027067610f1Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6028067610f1Smrg s//\1/ 6029067610f1Smrg q 6030067610f1Smrg } 6031067610f1Smrg /^X\(\/\/\)[^/].*/{ 6032067610f1Smrg s//\1/ 6033067610f1Smrg q 6034067610f1Smrg } 6035067610f1Smrg /^X\(\/\/\)$/{ 6036067610f1Smrg s//\1/ 6037067610f1Smrg q 6038067610f1Smrg } 6039067610f1Smrg /^X\(\/\).*/{ 6040067610f1Smrg s//\1/ 6041067610f1Smrg q 6042067610f1Smrg } 6043067610f1Smrg s/.*/./; q'` 60447e6533d5Smrg else 60457e6533d5Smrg continue 60467e6533d5Smrg fi 60477e6533d5Smrg # Extract the definition of DEPDIR, am__include, and am__quote 60487e6533d5Smrg # from the Makefile without running `make'. 60497e6533d5Smrg DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 60507e6533d5Smrg test -z "$DEPDIR" && continue 60517e6533d5Smrg am__include=`sed -n 's/^am__include = //p' < "$mf"` 60527e6533d5Smrg test -z "am__include" && continue 60537e6533d5Smrg am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 60547e6533d5Smrg # When using ansi2knr, U may be empty or an underscore; expand it 60557e6533d5Smrg U=`sed -n 's/^U = //p' < "$mf"` 60567e6533d5Smrg # Find all dependency output files, they are included files with 60577e6533d5Smrg # $(DEPDIR) in their names. We invoke sed twice because it is the 60587e6533d5Smrg # simplest approach to changing $(DEPDIR) to its actual value in the 60597e6533d5Smrg # expansion. 60607e6533d5Smrg for file in `sed -n " 60617e6533d5Smrg s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 60627e6533d5Smrg sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 60637e6533d5Smrg # Make sure the directory exists. 60647e6533d5Smrg test -f "$dirpart/$file" && continue 60657e6533d5Smrg fdir=`$as_dirname -- "$file" || 6066067610f1Smrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6067067610f1Smrg X"$file" : 'X\(//\)[^/]' \| \ 6068067610f1Smrg X"$file" : 'X\(//\)$' \| \ 6069067610f1Smrg X"$file" : 'X\(/\)' \| . 2>/dev/null || 60707e6533d5Smrg$as_echo X"$file" | 6071067610f1Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6072067610f1Smrg s//\1/ 6073067610f1Smrg q 6074067610f1Smrg } 6075067610f1Smrg /^X\(\/\/\)[^/].*/{ 6076067610f1Smrg s//\1/ 6077067610f1Smrg q 6078067610f1Smrg } 6079067610f1Smrg /^X\(\/\/\)$/{ 6080067610f1Smrg s//\1/ 6081067610f1Smrg q 6082067610f1Smrg } 6083067610f1Smrg /^X\(\/\).*/{ 6084067610f1Smrg s//\1/ 6085067610f1Smrg q 6086067610f1Smrg } 6087067610f1Smrg s/.*/./; q'` 60887e6533d5Smrg as_dir=$dirpart/$fdir; as_fn_mkdir_p 60897e6533d5Smrg # echo "creating $dirpart/$file" 60907e6533d5Smrg echo '# dummy' > "$dirpart/$file" 6091067610f1Smrg done 6092067610f1Smrg done 60937e6533d5Smrg} 6094067610f1Smrg ;; 6095067610f1Smrg 6096067610f1Smrg esac 6097067610f1Smrgdone # for ac_tag 6098067610f1Smrg 6099067610f1Smrg 61007e6533d5Smrgas_fn_exit 0 6101067610f1Smrg_ACEOF 6102067610f1Smrgac_clean_files=$ac_clean_files_save 6103067610f1Smrg 61047e6533d5Smrgtest $ac_write_fail = 0 || 61057e6533d5Smrg as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 61067e6533d5Smrg 6107067610f1Smrg 6108067610f1Smrg# configure is writing to config.log, and then calls config.status. 6109067610f1Smrg# config.status does its own redirection, appending to config.log. 6110067610f1Smrg# Unfortunately, on DOS this fails, as config.log is still kept open 6111067610f1Smrg# by configure, so config.status won't be able to write to it; its 6112067610f1Smrg# output is simply discarded. So we exec the FD to /dev/null, 6113067610f1Smrg# effectively closing config.log, so it can be properly (re)opened and 6114067610f1Smrg# appended to by config.status. When coming back to configure, we 6115067610f1Smrg# need to make the FD available again. 6116067610f1Smrgif test "$no_create" != yes; then 6117067610f1Smrg ac_cs_success=: 6118067610f1Smrg ac_config_status_args= 6119067610f1Smrg test "$silent" = yes && 6120067610f1Smrg ac_config_status_args="$ac_config_status_args --quiet" 6121067610f1Smrg exec 5>/dev/null 6122067610f1Smrg $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 6123067610f1Smrg exec 5>>config.log 6124067610f1Smrg # Use ||, not &&, to avoid exiting from the if with $? = 1, which 6125067610f1Smrg # would make configure fail if this is the last instruction. 61267e6533d5Smrg $ac_cs_success || as_fn_exit 1 61277e6533d5Smrgfi 61287e6533d5Smrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 61297e6533d5Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 61307e6533d5Smrg$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 6131067610f1Smrgfi 6132067610f1Smrg 6133