configure revision ffd25bca
13e747e6dSmrg#! /bin/sh 23e747e6dSmrg# Guess values for system-dependent variables and create Makefiles. 3ffd25bcaSmrg# Generated by GNU Autoconf 2.68 for twm 1.0.7. 43e747e6dSmrg# 53e747e6dSmrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 63e747e6dSmrg# 77a2631fcSmrg# 83e747e6dSmrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 97a2631fcSmrg# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 107a2631fcSmrg# Foundation, Inc. 117a2631fcSmrg# 127a2631fcSmrg# 133e747e6dSmrg# This configure script is free software; the Free Software Foundation 143e747e6dSmrg# gives unlimited permission to copy, distribute and modify it. 157a2631fcSmrg## -------------------- ## 167a2631fcSmrg## M4sh Initialization. ## 177a2631fcSmrg## -------------------- ## 183e747e6dSmrg 193e747e6dSmrg# Be more Bourne compatible 203e747e6dSmrgDUALCASE=1; export DUALCASE # for MKS sh 217a2631fcSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 223e747e6dSmrg emulate sh 233e747e6dSmrg NULLCMD=: 247a2631fcSmrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 253e747e6dSmrg # is contrary to our usage. Disable this feature. 263e747e6dSmrg alias -g '${1+"$@"}'='"$@"' 273e747e6dSmrg setopt NO_GLOB_SUBST 283e747e6dSmrgelse 297a2631fcSmrg case `(set -o) 2>/dev/null` in #( 307a2631fcSmrg *posix*) : 317a2631fcSmrg set -o posix ;; #( 327a2631fcSmrg *) : 337a2631fcSmrg ;; 343e747e6dSmrgesac 353e747e6dSmrgfi 363e747e6dSmrg 373e747e6dSmrg 387a2631fcSmrgas_nl=' 397a2631fcSmrg' 407a2631fcSmrgexport as_nl 417a2631fcSmrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 427a2631fcSmrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 437a2631fcSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 447a2631fcSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 457a2631fcSmrg# Prefer a ksh shell builtin over an external printf program on Solaris, 467a2631fcSmrg# but without wasting forks for bash or zsh. 477a2631fcSmrgif test -z "$BASH_VERSION$ZSH_VERSION" \ 487a2631fcSmrg && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 497a2631fcSmrg as_echo='print -r --' 507a2631fcSmrg as_echo_n='print -rn --' 517a2631fcSmrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 527a2631fcSmrg as_echo='printf %s\n' 537a2631fcSmrg as_echo_n='printf %s' 547a2631fcSmrgelse 557a2631fcSmrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 567a2631fcSmrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 577a2631fcSmrg as_echo_n='/usr/ucb/echo -n' 583e747e6dSmrg else 597a2631fcSmrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 607a2631fcSmrg as_echo_n_body='eval 617a2631fcSmrg arg=$1; 627a2631fcSmrg case $arg in #( 637a2631fcSmrg *"$as_nl"*) 647a2631fcSmrg expr "X$arg" : "X\\(.*\\)$as_nl"; 657a2631fcSmrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 667a2631fcSmrg esac; 677a2631fcSmrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 687a2631fcSmrg ' 697a2631fcSmrg export as_echo_n_body 707a2631fcSmrg as_echo_n='sh -c $as_echo_n_body as_echo' 713e747e6dSmrg fi 727a2631fcSmrg export as_echo_body 737a2631fcSmrg as_echo='sh -c $as_echo_body as_echo' 743e747e6dSmrgfi 753e747e6dSmrg 767a2631fcSmrg# The user is always right. 777a2631fcSmrgif test "${PATH_SEPARATOR+set}" != set; then 787a2631fcSmrg PATH_SEPARATOR=: 797a2631fcSmrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 807a2631fcSmrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 817a2631fcSmrg PATH_SEPARATOR=';' 827a2631fcSmrg } 833e747e6dSmrgfi 843e747e6dSmrg 853e747e6dSmrg 863e747e6dSmrg# IFS 873e747e6dSmrg# We need space, tab and new line, in precisely that order. Quoting is 883e747e6dSmrg# there to prevent editors from complaining about space-tab. 893e747e6dSmrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 903e747e6dSmrg# splitting by setting IFS to empty value.) 913e747e6dSmrgIFS=" "" $as_nl" 923e747e6dSmrg 933e747e6dSmrg# Find who we are. Look in the path if we contain no directory separator. 947a2631fcSmrgas_myself= 957a2631fcSmrgcase $0 in #(( 963e747e6dSmrg *[\\/]* ) as_myself=$0 ;; 973e747e6dSmrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 983e747e6dSmrgfor as_dir in $PATH 993e747e6dSmrgdo 1003e747e6dSmrg IFS=$as_save_IFS 1013e747e6dSmrg test -z "$as_dir" && as_dir=. 1027a2631fcSmrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 1037a2631fcSmrg done 1043e747e6dSmrgIFS=$as_save_IFS 1053e747e6dSmrg 1063e747e6dSmrg ;; 1073e747e6dSmrgesac 1083e747e6dSmrg# We did not find ourselves, most probably we were run as `sh COMMAND' 1093e747e6dSmrg# in which case we are not to be found in the path. 1103e747e6dSmrgif test "x$as_myself" = x; then 1113e747e6dSmrg as_myself=$0 1123e747e6dSmrgfi 1133e747e6dSmrgif test ! -f "$as_myself"; then 1147a2631fcSmrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 1157a2631fcSmrg exit 1 1163e747e6dSmrgfi 1173e747e6dSmrg 1187a2631fcSmrg# Unset variables that we do not need and which cause bugs (e.g. in 1197a2631fcSmrg# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 1207a2631fcSmrg# suppresses any "Segmentation fault" message there. '((' could 1217a2631fcSmrg# trigger a bug in pdksh 5.2.14. 1227a2631fcSmrgfor as_var in BASH_ENV ENV MAIL MAILPATH 1237a2631fcSmrgdo eval test x\${$as_var+set} = xset \ 1247a2631fcSmrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 1253e747e6dSmrgdone 1263e747e6dSmrgPS1='$ ' 1273e747e6dSmrgPS2='> ' 1283e747e6dSmrgPS4='+ ' 1293e747e6dSmrg 1303e747e6dSmrg# NLS nuisances. 1317a2631fcSmrgLC_ALL=C 1327a2631fcSmrgexport LC_ALL 1337a2631fcSmrgLANGUAGE=C 1347a2631fcSmrgexport LANGUAGE 1357a2631fcSmrg 1367a2631fcSmrg# CDPATH. 1377a2631fcSmrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 1387a2631fcSmrg 1397a2631fcSmrgif test "x$CONFIG_SHELL" = x; then 1407a2631fcSmrg as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 1417a2631fcSmrg emulate sh 1427a2631fcSmrg NULLCMD=: 1437a2631fcSmrg # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 1447a2631fcSmrg # is contrary to our usage. Disable this feature. 1457a2631fcSmrg alias -g '\${1+\"\$@\"}'='\"\$@\"' 1467a2631fcSmrg setopt NO_GLOB_SUBST 1477a2631fcSmrgelse 1487a2631fcSmrg case \`(set -o) 2>/dev/null\` in #( 1497a2631fcSmrg *posix*) : 1507a2631fcSmrg set -o posix ;; #( 1517a2631fcSmrg *) : 1527a2631fcSmrg ;; 1537a2631fcSmrgesac 1547a2631fcSmrgfi 1557a2631fcSmrg" 1567a2631fcSmrg as_required="as_fn_return () { (exit \$1); } 1577a2631fcSmrgas_fn_success () { as_fn_return 0; } 1587a2631fcSmrgas_fn_failure () { as_fn_return 1; } 1597a2631fcSmrgas_fn_ret_success () { return 0; } 1607a2631fcSmrgas_fn_ret_failure () { return 1; } 1617a2631fcSmrg 1627a2631fcSmrgexitcode=0 1637a2631fcSmrgas_fn_success || { exitcode=1; echo as_fn_success failed.; } 1647a2631fcSmrgas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 1657a2631fcSmrgas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 1667a2631fcSmrgas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 1677a2631fcSmrgif ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 1687a2631fcSmrg 1697a2631fcSmrgelse 1707a2631fcSmrg exitcode=1; echo positional parameters were not saved. 1717a2631fcSmrgfi 1727a2631fcSmrgtest x\$exitcode = x0 || exit 1" 1737a2631fcSmrg as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 1747a2631fcSmrg as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 1757a2631fcSmrg eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 1767a2631fcSmrg test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 1777a2631fcSmrgtest \$(( 1 + 1 )) = 2 || exit 1" 1787a2631fcSmrg if (eval "$as_required") 2>/dev/null; then : 1797a2631fcSmrg as_have_required=yes 1807a2631fcSmrgelse 1817a2631fcSmrg as_have_required=no 1827a2631fcSmrgfi 1837a2631fcSmrg if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 1847a2631fcSmrg 1857a2631fcSmrgelse 1867a2631fcSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1877a2631fcSmrgas_found=false 1887a2631fcSmrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 1893e747e6dSmrgdo 1907a2631fcSmrg IFS=$as_save_IFS 1917a2631fcSmrg test -z "$as_dir" && as_dir=. 1927a2631fcSmrg as_found=: 1937a2631fcSmrg case $as_dir in #( 1947a2631fcSmrg /*) 1957a2631fcSmrg for as_base in sh bash ksh sh5; do 1967a2631fcSmrg # Try only shells that exist, to save several forks. 1977a2631fcSmrg as_shell=$as_dir/$as_base 1987a2631fcSmrg if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 1997a2631fcSmrg { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 2007a2631fcSmrg CONFIG_SHELL=$as_shell as_have_required=yes 2017a2631fcSmrg if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 2027a2631fcSmrg break 2 2037a2631fcSmrgfi 2047a2631fcSmrgfi 2057a2631fcSmrg done;; 2067a2631fcSmrg esac 2077a2631fcSmrg as_found=false 2087a2631fcSmrgdone 2097a2631fcSmrg$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 2107a2631fcSmrg { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 2117a2631fcSmrg CONFIG_SHELL=$SHELL as_have_required=yes 2127a2631fcSmrgfi; } 2137a2631fcSmrgIFS=$as_save_IFS 2147a2631fcSmrg 2157a2631fcSmrg 2167a2631fcSmrg if test "x$CONFIG_SHELL" != x; then : 2177a2631fcSmrg # We cannot yet assume a decent shell, so we have to provide a 2187a2631fcSmrg # neutralization value for shells without unset; and this also 2197a2631fcSmrg # works around shells that cannot unset nonexistent variables. 2207a2631fcSmrg # Preserve -v and -x to the replacement shell. 2217a2631fcSmrg BASH_ENV=/dev/null 2227a2631fcSmrg ENV=/dev/null 2237a2631fcSmrg (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 2247a2631fcSmrg export CONFIG_SHELL 2257a2631fcSmrg case $- in # (((( 2267a2631fcSmrg *v*x* | *x*v* ) as_opts=-vx ;; 2277a2631fcSmrg *v* ) as_opts=-v ;; 2287a2631fcSmrg *x* ) as_opts=-x ;; 2297a2631fcSmrg * ) as_opts= ;; 2307a2631fcSmrg esac 2317a2631fcSmrg exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 2327a2631fcSmrgfi 2337a2631fcSmrg 2347a2631fcSmrg if test x$as_have_required = xno; then : 2357a2631fcSmrg $as_echo "$0: This script requires a shell more modern than all" 2367a2631fcSmrg $as_echo "$0: the shells that I found on your system." 2377a2631fcSmrg if test x${ZSH_VERSION+set} = xset ; then 2387a2631fcSmrg $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 2397a2631fcSmrg $as_echo "$0: be upgraded to zsh 4.3.4 or later." 2403e747e6dSmrg else 2417a2631fcSmrg $as_echo "$0: Please tell bug-autoconf@gnu.org and 2427a2631fcSmrg$0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg 2437a2631fcSmrg$0: about your system, including any error possibly output 2447a2631fcSmrg$0: before this message. Then install a modern shell, or 2457a2631fcSmrg$0: manually run the script under such a shell if you do 2467a2631fcSmrg$0: have one." 2473e747e6dSmrg fi 2487a2631fcSmrg exit 1 2497a2631fcSmrgfi 2507a2631fcSmrgfi 2517a2631fcSmrgfi 2527a2631fcSmrgSHELL=${CONFIG_SHELL-/bin/sh} 2537a2631fcSmrgexport SHELL 2547a2631fcSmrg# Unset more variables known to interfere with behavior of common tools. 2557a2631fcSmrgCLICOLOR_FORCE= GREP_OPTIONS= 2567a2631fcSmrgunset CLICOLOR_FORCE GREP_OPTIONS 2577a2631fcSmrg 2587a2631fcSmrg## --------------------- ## 2597a2631fcSmrg## M4sh Shell Functions. ## 2607a2631fcSmrg## --------------------- ## 2617a2631fcSmrg# as_fn_unset VAR 2627a2631fcSmrg# --------------- 2637a2631fcSmrg# Portably unset VAR. 2647a2631fcSmrgas_fn_unset () 2657a2631fcSmrg{ 2667a2631fcSmrg { eval $1=; unset $1;} 2677a2631fcSmrg} 2687a2631fcSmrgas_unset=as_fn_unset 2697a2631fcSmrg 2707a2631fcSmrg# as_fn_set_status STATUS 2717a2631fcSmrg# ----------------------- 2727a2631fcSmrg# Set $? to STATUS, without forking. 2737a2631fcSmrgas_fn_set_status () 2747a2631fcSmrg{ 2757a2631fcSmrg return $1 2767a2631fcSmrg} # as_fn_set_status 2777a2631fcSmrg 2787a2631fcSmrg# as_fn_exit STATUS 2797a2631fcSmrg# ----------------- 2807a2631fcSmrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 2817a2631fcSmrgas_fn_exit () 2827a2631fcSmrg{ 2837a2631fcSmrg set +e 2847a2631fcSmrg as_fn_set_status $1 2857a2631fcSmrg exit $1 2867a2631fcSmrg} # as_fn_exit 2877a2631fcSmrg 2887a2631fcSmrg# as_fn_mkdir_p 2897a2631fcSmrg# ------------- 2907a2631fcSmrg# Create "$as_dir" as a directory, including parents if necessary. 2917a2631fcSmrgas_fn_mkdir_p () 2927a2631fcSmrg{ 2937a2631fcSmrg 2947a2631fcSmrg case $as_dir in #( 2957a2631fcSmrg -*) as_dir=./$as_dir;; 2967a2631fcSmrg esac 2977a2631fcSmrg test -d "$as_dir" || eval $as_mkdir_p || { 2987a2631fcSmrg as_dirs= 2997a2631fcSmrg while :; do 3007a2631fcSmrg case $as_dir in #( 3017a2631fcSmrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 3027a2631fcSmrg *) as_qdir=$as_dir;; 3037a2631fcSmrg esac 3047a2631fcSmrg as_dirs="'$as_qdir' $as_dirs" 3057a2631fcSmrg as_dir=`$as_dirname -- "$as_dir" || 3067a2631fcSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3077a2631fcSmrg X"$as_dir" : 'X\(//\)[^/]' \| \ 3087a2631fcSmrg X"$as_dir" : 'X\(//\)$' \| \ 3097a2631fcSmrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 3107a2631fcSmrg$as_echo X"$as_dir" | 3117a2631fcSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3127a2631fcSmrg s//\1/ 3137a2631fcSmrg q 3147a2631fcSmrg } 3157a2631fcSmrg /^X\(\/\/\)[^/].*/{ 3167a2631fcSmrg s//\1/ 3177a2631fcSmrg q 3187a2631fcSmrg } 3197a2631fcSmrg /^X\(\/\/\)$/{ 3207a2631fcSmrg s//\1/ 3217a2631fcSmrg q 3227a2631fcSmrg } 3237a2631fcSmrg /^X\(\/\).*/{ 3247a2631fcSmrg s//\1/ 3257a2631fcSmrg q 3267a2631fcSmrg } 3277a2631fcSmrg s/.*/./; q'` 3287a2631fcSmrg test -d "$as_dir" && break 3297a2631fcSmrg done 3307a2631fcSmrg test -z "$as_dirs" || eval "mkdir $as_dirs" 3317a2631fcSmrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 3327a2631fcSmrg 3337a2631fcSmrg 3347a2631fcSmrg} # as_fn_mkdir_p 3357a2631fcSmrg# as_fn_append VAR VALUE 3367a2631fcSmrg# ---------------------- 3377a2631fcSmrg# Append the text in VALUE to the end of the definition contained in VAR. Take 3387a2631fcSmrg# advantage of any shell optimizations that allow amortized linear growth over 3397a2631fcSmrg# repeated appends, instead of the typical quadratic growth present in naive 3407a2631fcSmrg# implementations. 3417a2631fcSmrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 3427a2631fcSmrg eval 'as_fn_append () 3437a2631fcSmrg { 3447a2631fcSmrg eval $1+=\$2 3457a2631fcSmrg }' 3467a2631fcSmrgelse 3477a2631fcSmrg as_fn_append () 3487a2631fcSmrg { 3497a2631fcSmrg eval $1=\$$1\$2 3507a2631fcSmrg } 3517a2631fcSmrgfi # as_fn_append 3527a2631fcSmrg 3537a2631fcSmrg# as_fn_arith ARG... 3547a2631fcSmrg# ------------------ 3557a2631fcSmrg# Perform arithmetic evaluation on the ARGs, and store the result in the 3567a2631fcSmrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 3577a2631fcSmrg# must be portable across $(()) and expr. 3587a2631fcSmrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 3597a2631fcSmrg eval 'as_fn_arith () 3607a2631fcSmrg { 3617a2631fcSmrg as_val=$(( $* )) 3627a2631fcSmrg }' 3637a2631fcSmrgelse 3647a2631fcSmrg as_fn_arith () 3657a2631fcSmrg { 3667a2631fcSmrg as_val=`expr "$@" || test $? -eq 1` 3677a2631fcSmrg } 3687a2631fcSmrgfi # as_fn_arith 3697a2631fcSmrg 3707a2631fcSmrg 3717a2631fcSmrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 3727a2631fcSmrg# ---------------------------------------- 3737a2631fcSmrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 3747a2631fcSmrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 3757a2631fcSmrg# script with STATUS, using 1 if that was 0. 3767a2631fcSmrgas_fn_error () 3777a2631fcSmrg{ 3787a2631fcSmrg as_status=$1; test $as_status -eq 0 && as_status=1 3797a2631fcSmrg if test "$4"; then 3807a2631fcSmrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 3817a2631fcSmrg $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 3827a2631fcSmrg fi 3837a2631fcSmrg $as_echo "$as_me: error: $2" >&2 3847a2631fcSmrg as_fn_exit $as_status 3857a2631fcSmrg} # as_fn_error 3863e747e6dSmrg 3873e747e6dSmrgif expr a : '\(a\)' >/dev/null 2>&1 && 3883e747e6dSmrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 3893e747e6dSmrg as_expr=expr 3903e747e6dSmrgelse 3913e747e6dSmrg as_expr=false 3923e747e6dSmrgfi 3933e747e6dSmrg 3943e747e6dSmrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 3953e747e6dSmrg as_basename=basename 3963e747e6dSmrgelse 3973e747e6dSmrg as_basename=false 3983e747e6dSmrgfi 3993e747e6dSmrg 4007a2631fcSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 4017a2631fcSmrg as_dirname=dirname 4027a2631fcSmrgelse 4037a2631fcSmrg as_dirname=false 4047a2631fcSmrgfi 4053e747e6dSmrg 4063e747e6dSmrgas_me=`$as_basename -- "$0" || 4073e747e6dSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 4083e747e6dSmrg X"$0" : 'X\(//\)$' \| \ 4093e747e6dSmrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 4107a2631fcSmrg$as_echo X/"$0" | 4113e747e6dSmrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 4123e747e6dSmrg s//\1/ 4133e747e6dSmrg q 4143e747e6dSmrg } 4153e747e6dSmrg /^X\/\(\/\/\)$/{ 4163e747e6dSmrg s//\1/ 4173e747e6dSmrg q 4183e747e6dSmrg } 4193e747e6dSmrg /^X\/\(\/\).*/{ 4203e747e6dSmrg s//\1/ 4213e747e6dSmrg q 4223e747e6dSmrg } 4233e747e6dSmrg s/.*/./; q'` 4243e747e6dSmrg 4257a2631fcSmrg# Avoid depending upon Character Ranges. 4267a2631fcSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 4277a2631fcSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 4287a2631fcSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 4297a2631fcSmrgas_cr_digits='0123456789' 4307a2631fcSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits 4313e747e6dSmrg 4323e747e6dSmrg 4337a2631fcSmrg as_lineno_1=$LINENO as_lineno_1a=$LINENO 4347a2631fcSmrg as_lineno_2=$LINENO as_lineno_2a=$LINENO 4357a2631fcSmrg eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 4367a2631fcSmrg test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 4377a2631fcSmrg # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 4387a2631fcSmrg sed -n ' 4397a2631fcSmrg p 4407a2631fcSmrg /[$]LINENO/= 4417a2631fcSmrg ' <$as_myself | 4427a2631fcSmrg sed ' 4437a2631fcSmrg s/[$]LINENO.*/&-/ 4447a2631fcSmrg t lineno 4457a2631fcSmrg b 4467a2631fcSmrg :lineno 4477a2631fcSmrg N 4487a2631fcSmrg :loop 4497a2631fcSmrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 4507a2631fcSmrg t loop 4517a2631fcSmrg s/-\n.*// 4527a2631fcSmrg ' >$as_me.lineno && 4537a2631fcSmrg chmod +x "$as_me.lineno" || 4547a2631fcSmrg { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 4553e747e6dSmrg 4567a2631fcSmrg # Don't try to exec as it changes $[0], causing all sort of problems 4577a2631fcSmrg # (the dirname of $[0] is not the place where we might find the 4587a2631fcSmrg # original and so on. Autoconf is especially sensitive to this). 4597a2631fcSmrg . "./$as_me.lineno" 4607a2631fcSmrg # Exit status is that of the last command. 4617a2631fcSmrg exit 4623e747e6dSmrg} 4633e747e6dSmrg 4647a2631fcSmrgECHO_C= ECHO_N= ECHO_T= 4657a2631fcSmrgcase `echo -n x` in #((((( 4667a2631fcSmrg-n*) 4677a2631fcSmrg case `echo 'xy\c'` in 4687a2631fcSmrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 4697a2631fcSmrg xy) ECHO_C='\c';; 4707a2631fcSmrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 4717a2631fcSmrg ECHO_T=' ';; 4727a2631fcSmrg esac;; 4737a2631fcSmrg*) 4747a2631fcSmrg ECHO_N='-n';; 4757a2631fcSmrgesac 4763e747e6dSmrg 4777a2631fcSmrgrm -f conf$$ conf$$.exe conf$$.file 4787a2631fcSmrgif test -d conf$$.dir; then 4797a2631fcSmrg rm -f conf$$.dir/conf$$.file 4803e747e6dSmrgelse 4817a2631fcSmrg rm -f conf$$.dir 4827a2631fcSmrg mkdir conf$$.dir 2>/dev/null 4837a2631fcSmrgfi 4847a2631fcSmrgif (echo >conf$$.file) 2>/dev/null; then 4857a2631fcSmrg if ln -s conf$$.file conf$$ 2>/dev/null; then 4867a2631fcSmrg as_ln_s='ln -s' 4877a2631fcSmrg # ... but there are two gotchas: 4887a2631fcSmrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 4897a2631fcSmrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 4907a2631fcSmrg # In both cases, we have to default to `cp -p'. 4917a2631fcSmrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 4927a2631fcSmrg as_ln_s='cp -p' 4937a2631fcSmrg elif ln conf$$.file conf$$ 2>/dev/null; then 4947a2631fcSmrg as_ln_s=ln 4957a2631fcSmrg else 4967a2631fcSmrg as_ln_s='cp -p' 4977a2631fcSmrg fi 4983e747e6dSmrgelse 4997a2631fcSmrg as_ln_s='cp -p' 5003e747e6dSmrgfi 5017a2631fcSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5027a2631fcSmrgrmdir conf$$.dir 2>/dev/null 5033e747e6dSmrg 5047a2631fcSmrgif mkdir -p . 2>/dev/null; then 5057a2631fcSmrg as_mkdir_p='mkdir -p "$as_dir"' 5063e747e6dSmrgelse 5077a2631fcSmrg test -d ./-p && rmdir ./-p 5087a2631fcSmrg as_mkdir_p=false 5097a2631fcSmrgfi 5103e747e6dSmrg 5117a2631fcSmrgif test -x / >/dev/null 2>&1; then 5127a2631fcSmrg as_test_x='test -x' 5133e747e6dSmrgelse 5147a2631fcSmrg if ls -dL / >/dev/null 2>&1; then 5157a2631fcSmrg as_ls_L_option=L 5167a2631fcSmrg else 5177a2631fcSmrg as_ls_L_option= 5187a2631fcSmrg fi 5197a2631fcSmrg as_test_x=' 5207a2631fcSmrg eval sh -c '\'' 5217a2631fcSmrg if test -d "$1"; then 5227a2631fcSmrg test -d "$1/."; 5237a2631fcSmrg else 5247a2631fcSmrg case $1 in #( 5257a2631fcSmrg -*)set "./$1";; 5267a2631fcSmrg esac; 5277a2631fcSmrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 5287a2631fcSmrg ???[sx]*):;;*)false;;esac;fi 5297a2631fcSmrg '\'' sh 5307a2631fcSmrg ' 5313e747e6dSmrgfi 5327a2631fcSmrgas_executable_p=$as_test_x 5333e747e6dSmrg 5347a2631fcSmrg# Sed expression to map a string onto a valid CPP name. 5357a2631fcSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5363e747e6dSmrg 5377a2631fcSmrg# Sed expression to map a string onto a valid variable name. 5387a2631fcSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5393e747e6dSmrg 5403e747e6dSmrg 5417a2631fcSmrgtest -n "$DJDIR" || exec 7<&0 </dev/null 5427a2631fcSmrgexec 6>&1 5433e747e6dSmrg 5443e747e6dSmrg# Name of the host. 5457a2631fcSmrg# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 5463e747e6dSmrg# so uname gets run too. 5473e747e6dSmrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 5483e747e6dSmrg 5493e747e6dSmrg# 5503e747e6dSmrg# Initializations. 5513e747e6dSmrg# 5523e747e6dSmrgac_default_prefix=/usr/local 5533e747e6dSmrgac_clean_files= 5543e747e6dSmrgac_config_libobj_dir=. 5553e747e6dSmrgLIBOBJS= 5563e747e6dSmrgcross_compiling=no 5573e747e6dSmrgsubdirs= 5583e747e6dSmrgMFLAGS= 5593e747e6dSmrgMAKEFLAGS= 5603e747e6dSmrg 5613e747e6dSmrg# Identity of this package. 5623e747e6dSmrgPACKAGE_NAME='twm' 5633e747e6dSmrgPACKAGE_TARNAME='twm' 564ffd25bcaSmrgPACKAGE_VERSION='1.0.7' 565ffd25bcaSmrgPACKAGE_STRING='twm 1.0.7' 5663e747e6dSmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 5677a2631fcSmrgPACKAGE_URL='' 5683e747e6dSmrg 5692d96a817Smrgac_unique_file="Makefile.am" 5707a2631fcSmrg# Factoring default headers for most tests. 5717a2631fcSmrgac_includes_default="\ 5727a2631fcSmrg#include <stdio.h> 5737a2631fcSmrg#ifdef HAVE_SYS_TYPES_H 5747a2631fcSmrg# include <sys/types.h> 5757a2631fcSmrg#endif 5767a2631fcSmrg#ifdef HAVE_SYS_STAT_H 5777a2631fcSmrg# include <sys/stat.h> 5787a2631fcSmrg#endif 5797a2631fcSmrg#ifdef STDC_HEADERS 5807a2631fcSmrg# include <stdlib.h> 5817a2631fcSmrg# include <stddef.h> 5827a2631fcSmrg#else 5837a2631fcSmrg# ifdef HAVE_STDLIB_H 5847a2631fcSmrg# include <stdlib.h> 5857a2631fcSmrg# endif 5867a2631fcSmrg#endif 5877a2631fcSmrg#ifdef HAVE_STRING_H 5887a2631fcSmrg# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 5897a2631fcSmrg# include <memory.h> 5907a2631fcSmrg# endif 5917a2631fcSmrg# include <string.h> 5927a2631fcSmrg#endif 5937a2631fcSmrg#ifdef HAVE_STRINGS_H 5947a2631fcSmrg# include <strings.h> 5957a2631fcSmrg#endif 5967a2631fcSmrg#ifdef HAVE_INTTYPES_H 5977a2631fcSmrg# include <inttypes.h> 5987a2631fcSmrg#endif 5997a2631fcSmrg#ifdef HAVE_STDINT_H 6007a2631fcSmrg# include <stdint.h> 6017a2631fcSmrg#endif 6027a2631fcSmrg#ifdef HAVE_UNISTD_H 6037a2631fcSmrg# include <unistd.h> 6047a2631fcSmrg#endif" 6057a2631fcSmrg 6067a2631fcSmrgac_subst_vars='am__EXEEXT_FALSE 6077a2631fcSmrgam__EXEEXT_TRUE 6087a2631fcSmrgLTLIBOBJS 6093e747e6dSmrgLIBOBJS 6107a2631fcSmrgTWM_LIBS 6117a2631fcSmrgTWM_CFLAGS 6127a2631fcSmrgLEXLIB 6137a2631fcSmrgLEX_OUTPUT_ROOT 6147a2631fcSmrgLEX 6157a2631fcSmrgYACC_INST 6167a2631fcSmrgYFLAGS 6177a2631fcSmrgYACC 6187a2631fcSmrgAM_BACKSLASH 6197a2631fcSmrgAM_DEFAULT_VERBOSITY 6207a2631fcSmrgMAN_SUBSTS 6217a2631fcSmrgXORG_MAN_PAGE 6227a2631fcSmrgADMIN_MAN_DIR 6237a2631fcSmrgDRIVER_MAN_DIR 6247a2631fcSmrgMISC_MAN_DIR 6257a2631fcSmrgFILE_MAN_DIR 6267a2631fcSmrgLIB_MAN_DIR 6277a2631fcSmrgAPP_MAN_DIR 6287a2631fcSmrgADMIN_MAN_SUFFIX 6297a2631fcSmrgDRIVER_MAN_SUFFIX 6307a2631fcSmrgMISC_MAN_SUFFIX 6317a2631fcSmrgFILE_MAN_SUFFIX 6327a2631fcSmrgLIB_MAN_SUFFIX 6337a2631fcSmrgAPP_MAN_SUFFIX 6347a2631fcSmrgSED 6357a2631fcSmrghost_os 6367a2631fcSmrghost_vendor 6377a2631fcSmrghost_cpu 6387a2631fcSmrghost 6397a2631fcSmrgbuild_os 6407a2631fcSmrgbuild_vendor 6417a2631fcSmrgbuild_cpu 6427a2631fcSmrgbuild 6437a2631fcSmrgINSTALL_CMD 6447a2631fcSmrgPKG_CONFIG 6457a2631fcSmrgCHANGELOG_CMD 646ffd25bcaSmrgSTRICT_CFLAGS 6477a2631fcSmrgCWARNFLAGS 648ffd25bcaSmrgMAINT 649ffd25bcaSmrgMAINTAINER_MODE_FALSE 650ffd25bcaSmrgMAINTAINER_MODE_TRUE 6517a2631fcSmrgam__fastdepCC_FALSE 6527a2631fcSmrgam__fastdepCC_TRUE 6537a2631fcSmrgCCDEPMODE 6547a2631fcSmrgAMDEPBACKSLASH 6557a2631fcSmrgAMDEP_FALSE 6567a2631fcSmrgAMDEP_TRUE 6577a2631fcSmrgam__quote 6587a2631fcSmrgam__include 6597a2631fcSmrgDEPDIR 6607a2631fcSmrgam__untar 6617a2631fcSmrgam__tar 6627a2631fcSmrgAMTAR 6637a2631fcSmrgam__leading_dot 6647a2631fcSmrgSET_MAKE 6657a2631fcSmrgAWK 6667a2631fcSmrgmkdir_p 6677a2631fcSmrgMKDIR_P 6687a2631fcSmrgINSTALL_STRIP_PROGRAM 6697a2631fcSmrgSTRIP 6707a2631fcSmrginstall_sh 6717a2631fcSmrgMAKEINFO 6727a2631fcSmrgAUTOHEADER 6737a2631fcSmrgAUTOMAKE 6747a2631fcSmrgAUTOCONF 6757a2631fcSmrgACLOCAL 6767a2631fcSmrgVERSION 6777a2631fcSmrgPACKAGE 6787a2631fcSmrgCYGPATH_W 6797a2631fcSmrgam__isrc 6807a2631fcSmrgINSTALL_DATA 6817a2631fcSmrgINSTALL_SCRIPT 6827a2631fcSmrgINSTALL_PROGRAM 683ffd25bcaSmrgEGREP 684ffd25bcaSmrgGREP 685ffd25bcaSmrgCPP 686ffd25bcaSmrgOBJEXT 687ffd25bcaSmrgEXEEXT 688ffd25bcaSmrgac_ct_CC 689ffd25bcaSmrgCPPFLAGS 690ffd25bcaSmrgLDFLAGS 691ffd25bcaSmrgCFLAGS 692ffd25bcaSmrgCC 6937a2631fcSmrgtarget_alias 6947a2631fcSmrghost_alias 6957a2631fcSmrgbuild_alias 6967a2631fcSmrgLIBS 6977a2631fcSmrgECHO_T 6987a2631fcSmrgECHO_N 6997a2631fcSmrgECHO_C 7007a2631fcSmrgDEFS 7017a2631fcSmrgmandir 7027a2631fcSmrglocaledir 7037a2631fcSmrglibdir 7047a2631fcSmrgpsdir 7057a2631fcSmrgpdfdir 7067a2631fcSmrgdvidir 7077a2631fcSmrghtmldir 7087a2631fcSmrginfodir 7097a2631fcSmrgdocdir 7107a2631fcSmrgoldincludedir 7117a2631fcSmrgincludedir 7127a2631fcSmrglocalstatedir 7137a2631fcSmrgsharedstatedir 7147a2631fcSmrgsysconfdir 7157a2631fcSmrgdatadir 7167a2631fcSmrgdatarootdir 7177a2631fcSmrglibexecdir 7187a2631fcSmrgsbindir 7197a2631fcSmrgbindir 7207a2631fcSmrgprogram_transform_name 7217a2631fcSmrgprefix 7227a2631fcSmrgexec_prefix 7237a2631fcSmrgPACKAGE_URL 7247a2631fcSmrgPACKAGE_BUGREPORT 7257a2631fcSmrgPACKAGE_STRING 7267a2631fcSmrgPACKAGE_VERSION 7277a2631fcSmrgPACKAGE_TARNAME 7287a2631fcSmrgPACKAGE_NAME 7297a2631fcSmrgPATH_SEPARATOR 7307a2631fcSmrgSHELL' 7313e747e6dSmrgac_subst_files='' 7327a2631fcSmrgac_user_opts=' 7337a2631fcSmrgenable_option_checking 7347a2631fcSmrgenable_dependency_tracking 735ffd25bcaSmrgenable_maintainer_mode 7367a2631fcSmrgenable_strict_compilation 7377a2631fcSmrgenable_silent_rules 7387a2631fcSmrg' 7393e747e6dSmrg ac_precious_vars='build_alias 7403e747e6dSmrghost_alias 7413e747e6dSmrgtarget_alias 7423e747e6dSmrgCC 7433e747e6dSmrgCFLAGS 7443e747e6dSmrgLDFLAGS 7453e747e6dSmrgLIBS 7463e747e6dSmrgCPPFLAGS 7477a2631fcSmrgCPP 7487a2631fcSmrgPKG_CONFIG 7493e747e6dSmrgYACC 7503e747e6dSmrgYFLAGS 7513e747e6dSmrgTWM_CFLAGS 7523e747e6dSmrgTWM_LIBS' 7533e747e6dSmrg 7543e747e6dSmrg 7553e747e6dSmrg# Initialize some variables set by options. 7563e747e6dSmrgac_init_help= 7573e747e6dSmrgac_init_version=false 7587a2631fcSmrgac_unrecognized_opts= 7597a2631fcSmrgac_unrecognized_sep= 7603e747e6dSmrg# The variables have the same names as the options, with 7613e747e6dSmrg# dashes changed to underlines. 7623e747e6dSmrgcache_file=/dev/null 7633e747e6dSmrgexec_prefix=NONE 7643e747e6dSmrgno_create= 7653e747e6dSmrgno_recursion= 7663e747e6dSmrgprefix=NONE 7673e747e6dSmrgprogram_prefix=NONE 7683e747e6dSmrgprogram_suffix=NONE 7693e747e6dSmrgprogram_transform_name=s,x,x, 7703e747e6dSmrgsilent= 7713e747e6dSmrgsite= 7723e747e6dSmrgsrcdir= 7733e747e6dSmrgverbose= 7743e747e6dSmrgx_includes=NONE 7753e747e6dSmrgx_libraries=NONE 7763e747e6dSmrg 7773e747e6dSmrg# Installation directory options. 7783e747e6dSmrg# These are left unexpanded so users can "make install exec_prefix=/foo" 7793e747e6dSmrg# and all the variables that are supposed to be based on exec_prefix 7803e747e6dSmrg# by default will actually change. 7813e747e6dSmrg# Use braces instead of parens because sh, perl, etc. also accept them. 7823e747e6dSmrg# (The list follows the same order as the GNU Coding Standards.) 7833e747e6dSmrgbindir='${exec_prefix}/bin' 7843e747e6dSmrgsbindir='${exec_prefix}/sbin' 7853e747e6dSmrglibexecdir='${exec_prefix}/libexec' 7863e747e6dSmrgdatarootdir='${prefix}/share' 7873e747e6dSmrgdatadir='${datarootdir}' 7883e747e6dSmrgsysconfdir='${prefix}/etc' 7893e747e6dSmrgsharedstatedir='${prefix}/com' 7903e747e6dSmrglocalstatedir='${prefix}/var' 7913e747e6dSmrgincludedir='${prefix}/include' 7923e747e6dSmrgoldincludedir='/usr/include' 7933e747e6dSmrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 7943e747e6dSmrginfodir='${datarootdir}/info' 7953e747e6dSmrghtmldir='${docdir}' 7963e747e6dSmrgdvidir='${docdir}' 7973e747e6dSmrgpdfdir='${docdir}' 7983e747e6dSmrgpsdir='${docdir}' 7993e747e6dSmrglibdir='${exec_prefix}/lib' 8003e747e6dSmrglocaledir='${datarootdir}/locale' 8013e747e6dSmrgmandir='${datarootdir}/man' 8023e747e6dSmrg 8033e747e6dSmrgac_prev= 8043e747e6dSmrgac_dashdash= 8053e747e6dSmrgfor ac_option 8063e747e6dSmrgdo 8073e747e6dSmrg # If the previous option needs an argument, assign it. 8083e747e6dSmrg if test -n "$ac_prev"; then 8093e747e6dSmrg eval $ac_prev=\$ac_option 8103e747e6dSmrg ac_prev= 8113e747e6dSmrg continue 8123e747e6dSmrg fi 8133e747e6dSmrg 8143e747e6dSmrg case $ac_option in 8157a2631fcSmrg *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 8167a2631fcSmrg *=) ac_optarg= ;; 8177a2631fcSmrg *) ac_optarg=yes ;; 8183e747e6dSmrg esac 8193e747e6dSmrg 8203e747e6dSmrg # Accept the important Cygnus configure options, so we can diagnose typos. 8213e747e6dSmrg 8223e747e6dSmrg case $ac_dashdash$ac_option in 8233e747e6dSmrg --) 8243e747e6dSmrg ac_dashdash=yes ;; 8253e747e6dSmrg 8263e747e6dSmrg -bindir | --bindir | --bindi | --bind | --bin | --bi) 8273e747e6dSmrg ac_prev=bindir ;; 8283e747e6dSmrg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 8293e747e6dSmrg bindir=$ac_optarg ;; 8303e747e6dSmrg 8313e747e6dSmrg -build | --build | --buil | --bui | --bu) 8323e747e6dSmrg ac_prev=build_alias ;; 8333e747e6dSmrg -build=* | --build=* | --buil=* | --bui=* | --bu=*) 8343e747e6dSmrg build_alias=$ac_optarg ;; 8353e747e6dSmrg 8363e747e6dSmrg -cache-file | --cache-file | --cache-fil | --cache-fi \ 8373e747e6dSmrg | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 8383e747e6dSmrg ac_prev=cache_file ;; 8393e747e6dSmrg -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 8403e747e6dSmrg | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 8413e747e6dSmrg cache_file=$ac_optarg ;; 8423e747e6dSmrg 8433e747e6dSmrg --config-cache | -C) 8443e747e6dSmrg cache_file=config.cache ;; 8453e747e6dSmrg 8463e747e6dSmrg -datadir | --datadir | --datadi | --datad) 8473e747e6dSmrg ac_prev=datadir ;; 8483e747e6dSmrg -datadir=* | --datadir=* | --datadi=* | --datad=*) 8493e747e6dSmrg datadir=$ac_optarg ;; 8503e747e6dSmrg 8513e747e6dSmrg -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 8523e747e6dSmrg | --dataroo | --dataro | --datar) 8533e747e6dSmrg ac_prev=datarootdir ;; 8543e747e6dSmrg -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 8553e747e6dSmrg | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 8563e747e6dSmrg datarootdir=$ac_optarg ;; 8573e747e6dSmrg 8583e747e6dSmrg -disable-* | --disable-*) 8597a2631fcSmrg ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 8603e747e6dSmrg # Reject names that are not valid shell variable names. 8617a2631fcSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 8627a2631fcSmrg as_fn_error $? "invalid feature name: $ac_useropt" 8637a2631fcSmrg ac_useropt_orig=$ac_useropt 8647a2631fcSmrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 8657a2631fcSmrg case $ac_user_opts in 8667a2631fcSmrg *" 8677a2631fcSmrg"enable_$ac_useropt" 8687a2631fcSmrg"*) ;; 8697a2631fcSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 8707a2631fcSmrg ac_unrecognized_sep=', ';; 8717a2631fcSmrg esac 8727a2631fcSmrg eval enable_$ac_useropt=no ;; 8733e747e6dSmrg 8743e747e6dSmrg -docdir | --docdir | --docdi | --doc | --do) 8753e747e6dSmrg ac_prev=docdir ;; 8763e747e6dSmrg -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 8773e747e6dSmrg docdir=$ac_optarg ;; 8783e747e6dSmrg 8793e747e6dSmrg -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 8803e747e6dSmrg ac_prev=dvidir ;; 8813e747e6dSmrg -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 8823e747e6dSmrg dvidir=$ac_optarg ;; 8833e747e6dSmrg 8843e747e6dSmrg -enable-* | --enable-*) 8857a2631fcSmrg ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 8863e747e6dSmrg # Reject names that are not valid shell variable names. 8877a2631fcSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 8887a2631fcSmrg as_fn_error $? "invalid feature name: $ac_useropt" 8897a2631fcSmrg ac_useropt_orig=$ac_useropt 8907a2631fcSmrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 8917a2631fcSmrg case $ac_user_opts in 8927a2631fcSmrg *" 8937a2631fcSmrg"enable_$ac_useropt" 8947a2631fcSmrg"*) ;; 8957a2631fcSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 8967a2631fcSmrg ac_unrecognized_sep=', ';; 8977a2631fcSmrg esac 8987a2631fcSmrg eval enable_$ac_useropt=\$ac_optarg ;; 8993e747e6dSmrg 9003e747e6dSmrg -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 9013e747e6dSmrg | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 9023e747e6dSmrg | --exec | --exe | --ex) 9033e747e6dSmrg ac_prev=exec_prefix ;; 9043e747e6dSmrg -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 9053e747e6dSmrg | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 9063e747e6dSmrg | --exec=* | --exe=* | --ex=*) 9073e747e6dSmrg exec_prefix=$ac_optarg ;; 9083e747e6dSmrg 9093e747e6dSmrg -gas | --gas | --ga | --g) 9103e747e6dSmrg # Obsolete; use --with-gas. 9113e747e6dSmrg with_gas=yes ;; 9123e747e6dSmrg 9133e747e6dSmrg -help | --help | --hel | --he | -h) 9143e747e6dSmrg ac_init_help=long ;; 9153e747e6dSmrg -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 9163e747e6dSmrg ac_init_help=recursive ;; 9173e747e6dSmrg -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 9183e747e6dSmrg ac_init_help=short ;; 9193e747e6dSmrg 9203e747e6dSmrg -host | --host | --hos | --ho) 9213e747e6dSmrg ac_prev=host_alias ;; 9223e747e6dSmrg -host=* | --host=* | --hos=* | --ho=*) 9233e747e6dSmrg host_alias=$ac_optarg ;; 9243e747e6dSmrg 9253e747e6dSmrg -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 9263e747e6dSmrg ac_prev=htmldir ;; 9273e747e6dSmrg -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 9283e747e6dSmrg | --ht=*) 9293e747e6dSmrg htmldir=$ac_optarg ;; 9303e747e6dSmrg 9313e747e6dSmrg -includedir | --includedir | --includedi | --included | --include \ 9323e747e6dSmrg | --includ | --inclu | --incl | --inc) 9333e747e6dSmrg ac_prev=includedir ;; 9343e747e6dSmrg -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 9353e747e6dSmrg | --includ=* | --inclu=* | --incl=* | --inc=*) 9363e747e6dSmrg includedir=$ac_optarg ;; 9373e747e6dSmrg 9383e747e6dSmrg -infodir | --infodir | --infodi | --infod | --info | --inf) 9393e747e6dSmrg ac_prev=infodir ;; 9403e747e6dSmrg -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 9413e747e6dSmrg infodir=$ac_optarg ;; 9423e747e6dSmrg 9433e747e6dSmrg -libdir | --libdir | --libdi | --libd) 9443e747e6dSmrg ac_prev=libdir ;; 9453e747e6dSmrg -libdir=* | --libdir=* | --libdi=* | --libd=*) 9463e747e6dSmrg libdir=$ac_optarg ;; 9473e747e6dSmrg 9483e747e6dSmrg -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 9493e747e6dSmrg | --libexe | --libex | --libe) 9503e747e6dSmrg ac_prev=libexecdir ;; 9513e747e6dSmrg -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 9523e747e6dSmrg | --libexe=* | --libex=* | --libe=*) 9533e747e6dSmrg libexecdir=$ac_optarg ;; 9543e747e6dSmrg 9553e747e6dSmrg -localedir | --localedir | --localedi | --localed | --locale) 9563e747e6dSmrg ac_prev=localedir ;; 9573e747e6dSmrg -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 9583e747e6dSmrg localedir=$ac_optarg ;; 9593e747e6dSmrg 9603e747e6dSmrg -localstatedir | --localstatedir | --localstatedi | --localstated \ 9613e747e6dSmrg | --localstate | --localstat | --localsta | --localst | --locals) 9623e747e6dSmrg ac_prev=localstatedir ;; 9633e747e6dSmrg -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 9643e747e6dSmrg | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 9653e747e6dSmrg localstatedir=$ac_optarg ;; 9663e747e6dSmrg 9673e747e6dSmrg -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 9683e747e6dSmrg ac_prev=mandir ;; 9693e747e6dSmrg -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 9703e747e6dSmrg mandir=$ac_optarg ;; 9713e747e6dSmrg 9723e747e6dSmrg -nfp | --nfp | --nf) 9733e747e6dSmrg # Obsolete; use --without-fp. 9743e747e6dSmrg with_fp=no ;; 9753e747e6dSmrg 9763e747e6dSmrg -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 9773e747e6dSmrg | --no-cr | --no-c | -n) 9783e747e6dSmrg no_create=yes ;; 9793e747e6dSmrg 9803e747e6dSmrg -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 9813e747e6dSmrg | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 9823e747e6dSmrg no_recursion=yes ;; 9833e747e6dSmrg 9843e747e6dSmrg -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 9853e747e6dSmrg | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 9863e747e6dSmrg | --oldin | --oldi | --old | --ol | --o) 9873e747e6dSmrg ac_prev=oldincludedir ;; 9883e747e6dSmrg -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 9893e747e6dSmrg | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 9903e747e6dSmrg | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 9913e747e6dSmrg oldincludedir=$ac_optarg ;; 9923e747e6dSmrg 9933e747e6dSmrg -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 9943e747e6dSmrg ac_prev=prefix ;; 9953e747e6dSmrg -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 9963e747e6dSmrg prefix=$ac_optarg ;; 9973e747e6dSmrg 9983e747e6dSmrg -program-prefix | --program-prefix | --program-prefi | --program-pref \ 9993e747e6dSmrg | --program-pre | --program-pr | --program-p) 10003e747e6dSmrg ac_prev=program_prefix ;; 10013e747e6dSmrg -program-prefix=* | --program-prefix=* | --program-prefi=* \ 10023e747e6dSmrg | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 10033e747e6dSmrg program_prefix=$ac_optarg ;; 10043e747e6dSmrg 10053e747e6dSmrg -program-suffix | --program-suffix | --program-suffi | --program-suff \ 10063e747e6dSmrg | --program-suf | --program-su | --program-s) 10073e747e6dSmrg ac_prev=program_suffix ;; 10083e747e6dSmrg -program-suffix=* | --program-suffix=* | --program-suffi=* \ 10093e747e6dSmrg | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 10103e747e6dSmrg program_suffix=$ac_optarg ;; 10113e747e6dSmrg 10123e747e6dSmrg -program-transform-name | --program-transform-name \ 10133e747e6dSmrg | --program-transform-nam | --program-transform-na \ 10143e747e6dSmrg | --program-transform-n | --program-transform- \ 10153e747e6dSmrg | --program-transform | --program-transfor \ 10163e747e6dSmrg | --program-transfo | --program-transf \ 10173e747e6dSmrg | --program-trans | --program-tran \ 10183e747e6dSmrg | --progr-tra | --program-tr | --program-t) 10193e747e6dSmrg ac_prev=program_transform_name ;; 10203e747e6dSmrg -program-transform-name=* | --program-transform-name=* \ 10213e747e6dSmrg | --program-transform-nam=* | --program-transform-na=* \ 10223e747e6dSmrg | --program-transform-n=* | --program-transform-=* \ 10233e747e6dSmrg | --program-transform=* | --program-transfor=* \ 10243e747e6dSmrg | --program-transfo=* | --program-transf=* \ 10253e747e6dSmrg | --program-trans=* | --program-tran=* \ 10263e747e6dSmrg | --progr-tra=* | --program-tr=* | --program-t=*) 10273e747e6dSmrg program_transform_name=$ac_optarg ;; 10283e747e6dSmrg 10293e747e6dSmrg -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 10303e747e6dSmrg ac_prev=pdfdir ;; 10313e747e6dSmrg -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 10323e747e6dSmrg pdfdir=$ac_optarg ;; 10333e747e6dSmrg 10343e747e6dSmrg -psdir | --psdir | --psdi | --psd | --ps) 10353e747e6dSmrg ac_prev=psdir ;; 10363e747e6dSmrg -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 10373e747e6dSmrg psdir=$ac_optarg ;; 10383e747e6dSmrg 10393e747e6dSmrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 10403e747e6dSmrg | -silent | --silent | --silen | --sile | --sil) 10413e747e6dSmrg silent=yes ;; 10423e747e6dSmrg 10433e747e6dSmrg -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 10443e747e6dSmrg ac_prev=sbindir ;; 10453e747e6dSmrg -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 10463e747e6dSmrg | --sbi=* | --sb=*) 10473e747e6dSmrg sbindir=$ac_optarg ;; 10483e747e6dSmrg 10493e747e6dSmrg -sharedstatedir | --sharedstatedir | --sharedstatedi \ 10503e747e6dSmrg | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 10513e747e6dSmrg | --sharedst | --shareds | --shared | --share | --shar \ 10523e747e6dSmrg | --sha | --sh) 10533e747e6dSmrg ac_prev=sharedstatedir ;; 10543e747e6dSmrg -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 10553e747e6dSmrg | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 10563e747e6dSmrg | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 10573e747e6dSmrg | --sha=* | --sh=*) 10583e747e6dSmrg sharedstatedir=$ac_optarg ;; 10593e747e6dSmrg 10603e747e6dSmrg -site | --site | --sit) 10613e747e6dSmrg ac_prev=site ;; 10623e747e6dSmrg -site=* | --site=* | --sit=*) 10633e747e6dSmrg site=$ac_optarg ;; 10643e747e6dSmrg 10653e747e6dSmrg -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 10663e747e6dSmrg ac_prev=srcdir ;; 10673e747e6dSmrg -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 10683e747e6dSmrg srcdir=$ac_optarg ;; 10693e747e6dSmrg 10703e747e6dSmrg -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 10713e747e6dSmrg | --syscon | --sysco | --sysc | --sys | --sy) 10723e747e6dSmrg ac_prev=sysconfdir ;; 10733e747e6dSmrg -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 10743e747e6dSmrg | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 10753e747e6dSmrg sysconfdir=$ac_optarg ;; 10763e747e6dSmrg 10773e747e6dSmrg -target | --target | --targe | --targ | --tar | --ta | --t) 10783e747e6dSmrg ac_prev=target_alias ;; 10793e747e6dSmrg -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 10803e747e6dSmrg target_alias=$ac_optarg ;; 10813e747e6dSmrg 10823e747e6dSmrg -v | -verbose | --verbose | --verbos | --verbo | --verb) 10833e747e6dSmrg verbose=yes ;; 10843e747e6dSmrg 10853e747e6dSmrg -version | --version | --versio | --versi | --vers | -V) 10863e747e6dSmrg ac_init_version=: ;; 10873e747e6dSmrg 10883e747e6dSmrg -with-* | --with-*) 10897a2631fcSmrg ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 10903e747e6dSmrg # Reject names that are not valid shell variable names. 10917a2631fcSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 10927a2631fcSmrg as_fn_error $? "invalid package name: $ac_useropt" 10937a2631fcSmrg ac_useropt_orig=$ac_useropt 10947a2631fcSmrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 10957a2631fcSmrg case $ac_user_opts in 10967a2631fcSmrg *" 10977a2631fcSmrg"with_$ac_useropt" 10987a2631fcSmrg"*) ;; 10997a2631fcSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 11007a2631fcSmrg ac_unrecognized_sep=', ';; 11017a2631fcSmrg esac 11027a2631fcSmrg eval with_$ac_useropt=\$ac_optarg ;; 11033e747e6dSmrg 11043e747e6dSmrg -without-* | --without-*) 11057a2631fcSmrg ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 11063e747e6dSmrg # Reject names that are not valid shell variable names. 11077a2631fcSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 11087a2631fcSmrg as_fn_error $? "invalid package name: $ac_useropt" 11097a2631fcSmrg ac_useropt_orig=$ac_useropt 11107a2631fcSmrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 11117a2631fcSmrg case $ac_user_opts in 11127a2631fcSmrg *" 11137a2631fcSmrg"with_$ac_useropt" 11147a2631fcSmrg"*) ;; 11157a2631fcSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 11167a2631fcSmrg ac_unrecognized_sep=', ';; 11177a2631fcSmrg esac 11187a2631fcSmrg eval with_$ac_useropt=no ;; 11193e747e6dSmrg 11203e747e6dSmrg --x) 11213e747e6dSmrg # Obsolete; use --with-x. 11223e747e6dSmrg with_x=yes ;; 11233e747e6dSmrg 11243e747e6dSmrg -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 11253e747e6dSmrg | --x-incl | --x-inc | --x-in | --x-i) 11263e747e6dSmrg ac_prev=x_includes ;; 11273e747e6dSmrg -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 11283e747e6dSmrg | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 11293e747e6dSmrg x_includes=$ac_optarg ;; 11303e747e6dSmrg 11313e747e6dSmrg -x-libraries | --x-libraries | --x-librarie | --x-librari \ 11323e747e6dSmrg | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 11333e747e6dSmrg ac_prev=x_libraries ;; 11343e747e6dSmrg -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 11353e747e6dSmrg | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 11363e747e6dSmrg x_libraries=$ac_optarg ;; 11373e747e6dSmrg 11387a2631fcSmrg -*) as_fn_error $? "unrecognized option: \`$ac_option' 11397a2631fcSmrgTry \`$0 --help' for more information" 11403e747e6dSmrg ;; 11413e747e6dSmrg 11423e747e6dSmrg *=*) 11433e747e6dSmrg ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 11443e747e6dSmrg # Reject names that are not valid shell variable names. 11457a2631fcSmrg case $ac_envvar in #( 11467a2631fcSmrg '' | [0-9]* | *[!_$as_cr_alnum]* ) 11477a2631fcSmrg as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 11487a2631fcSmrg esac 11493e747e6dSmrg eval $ac_envvar=\$ac_optarg 11503e747e6dSmrg export $ac_envvar ;; 11513e747e6dSmrg 11523e747e6dSmrg *) 11533e747e6dSmrg # FIXME: should be removed in autoconf 3.0. 11547a2631fcSmrg $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 11553e747e6dSmrg expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 11567a2631fcSmrg $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 11577a2631fcSmrg : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 11583e747e6dSmrg ;; 11593e747e6dSmrg 11603e747e6dSmrg esac 11613e747e6dSmrgdone 11623e747e6dSmrg 11633e747e6dSmrgif test -n "$ac_prev"; then 11643e747e6dSmrg ac_option=--`echo $ac_prev | sed 's/_/-/g'` 11657a2631fcSmrg as_fn_error $? "missing argument to $ac_option" 11667a2631fcSmrgfi 11677a2631fcSmrg 11687a2631fcSmrgif test -n "$ac_unrecognized_opts"; then 11697a2631fcSmrg case $enable_option_checking in 11707a2631fcSmrg no) ;; 11717a2631fcSmrg fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 11727a2631fcSmrg *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 11737a2631fcSmrg esac 11743e747e6dSmrgfi 11753e747e6dSmrg 11767a2631fcSmrg# Check all directory arguments for consistency. 11773e747e6dSmrgfor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 11783e747e6dSmrg datadir sysconfdir sharedstatedir localstatedir includedir \ 11793e747e6dSmrg oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 11803e747e6dSmrg libdir localedir mandir 11813e747e6dSmrgdo 11823e747e6dSmrg eval ac_val=\$$ac_var 11837a2631fcSmrg # Remove trailing slashes. 11847a2631fcSmrg case $ac_val in 11857a2631fcSmrg */ ) 11867a2631fcSmrg ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 11877a2631fcSmrg eval $ac_var=\$ac_val;; 11887a2631fcSmrg esac 11897a2631fcSmrg # Be sure to have absolute directory names. 11903e747e6dSmrg case $ac_val in 11913e747e6dSmrg [\\/$]* | ?:[\\/]* ) continue;; 11923e747e6dSmrg NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 11933e747e6dSmrg esac 11947a2631fcSmrg as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 11953e747e6dSmrgdone 11963e747e6dSmrg 11973e747e6dSmrg# There might be people who depend on the old broken behavior: `$host' 11983e747e6dSmrg# used to hold the argument of --host etc. 11993e747e6dSmrg# FIXME: To remove some day. 12003e747e6dSmrgbuild=$build_alias 12013e747e6dSmrghost=$host_alias 12023e747e6dSmrgtarget=$target_alias 12033e747e6dSmrg 12043e747e6dSmrg# FIXME: To remove some day. 12053e747e6dSmrgif test "x$host_alias" != x; then 12063e747e6dSmrg if test "x$build_alias" = x; then 12073e747e6dSmrg cross_compiling=maybe 12087a2631fcSmrg $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 12097a2631fcSmrg If a cross compiler is detected then cross compile mode will be used" >&2 12103e747e6dSmrg elif test "x$build_alias" != "x$host_alias"; then 12113e747e6dSmrg cross_compiling=yes 12123e747e6dSmrg fi 12133e747e6dSmrgfi 12143e747e6dSmrg 12153e747e6dSmrgac_tool_prefix= 12163e747e6dSmrgtest -n "$host_alias" && ac_tool_prefix=$host_alias- 12173e747e6dSmrg 12183e747e6dSmrgtest "$silent" = yes && exec 6>/dev/null 12193e747e6dSmrg 12203e747e6dSmrg 12213e747e6dSmrgac_pwd=`pwd` && test -n "$ac_pwd" && 12223e747e6dSmrgac_ls_di=`ls -di .` && 12233e747e6dSmrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 12247a2631fcSmrg as_fn_error $? "working directory cannot be determined" 12253e747e6dSmrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" || 12267a2631fcSmrg as_fn_error $? "pwd does not report name of working directory" 12273e747e6dSmrg 12283e747e6dSmrg 12293e747e6dSmrg# Find the source files, if location was not specified. 12303e747e6dSmrgif test -z "$srcdir"; then 12313e747e6dSmrg ac_srcdir_defaulted=yes 12323e747e6dSmrg # Try the directory containing this script, then the parent directory. 12337a2631fcSmrg ac_confdir=`$as_dirname -- "$as_myself" || 12347a2631fcSmrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12357a2631fcSmrg X"$as_myself" : 'X\(//\)[^/]' \| \ 12367a2631fcSmrg X"$as_myself" : 'X\(//\)$' \| \ 12377a2631fcSmrg X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 12387a2631fcSmrg$as_echo X"$as_myself" | 12393e747e6dSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12403e747e6dSmrg s//\1/ 12413e747e6dSmrg q 12423e747e6dSmrg } 12433e747e6dSmrg /^X\(\/\/\)[^/].*/{ 12443e747e6dSmrg s//\1/ 12453e747e6dSmrg q 12463e747e6dSmrg } 12473e747e6dSmrg /^X\(\/\/\)$/{ 12483e747e6dSmrg s//\1/ 12493e747e6dSmrg q 12503e747e6dSmrg } 12513e747e6dSmrg /^X\(\/\).*/{ 12523e747e6dSmrg s//\1/ 12533e747e6dSmrg q 12543e747e6dSmrg } 12553e747e6dSmrg s/.*/./; q'` 12563e747e6dSmrg srcdir=$ac_confdir 12573e747e6dSmrg if test ! -r "$srcdir/$ac_unique_file"; then 12583e747e6dSmrg srcdir=.. 12593e747e6dSmrg fi 12603e747e6dSmrgelse 12613e747e6dSmrg ac_srcdir_defaulted=no 12623e747e6dSmrgfi 12633e747e6dSmrgif test ! -r "$srcdir/$ac_unique_file"; then 12643e747e6dSmrg test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 12657a2631fcSmrg as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 12663e747e6dSmrgfi 12673e747e6dSmrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 12683e747e6dSmrgac_abs_confdir=`( 12697a2631fcSmrg cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 12703e747e6dSmrg pwd)` 12713e747e6dSmrg# When building in place, set srcdir=. 12723e747e6dSmrgif test "$ac_abs_confdir" = "$ac_pwd"; then 12733e747e6dSmrg srcdir=. 12743e747e6dSmrgfi 12753e747e6dSmrg# Remove unnecessary trailing slashes from srcdir. 12763e747e6dSmrg# Double slashes in file names in object file debugging info 12773e747e6dSmrg# mess up M-x gdb in Emacs. 12783e747e6dSmrgcase $srcdir in 12793e747e6dSmrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 12803e747e6dSmrgesac 12813e747e6dSmrgfor ac_var in $ac_precious_vars; do 12823e747e6dSmrg eval ac_env_${ac_var}_set=\${${ac_var}+set} 12833e747e6dSmrg eval ac_env_${ac_var}_value=\$${ac_var} 12843e747e6dSmrg eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 12853e747e6dSmrg eval ac_cv_env_${ac_var}_value=\$${ac_var} 12863e747e6dSmrgdone 12873e747e6dSmrg 12883e747e6dSmrg# 12893e747e6dSmrg# Report the --help message. 12903e747e6dSmrg# 12913e747e6dSmrgif test "$ac_init_help" = "long"; then 12923e747e6dSmrg # Omit some internal or obsolete options to make the list less imposing. 12933e747e6dSmrg # This message is too long to be a string in the A/UX 3.1 sh. 12943e747e6dSmrg cat <<_ACEOF 1295ffd25bcaSmrg\`configure' configures twm 1.0.7 to adapt to many kinds of systems. 12963e747e6dSmrg 12973e747e6dSmrgUsage: $0 [OPTION]... [VAR=VALUE]... 12983e747e6dSmrg 12993e747e6dSmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as 13003e747e6dSmrgVAR=VALUE. See below for descriptions of some of the useful variables. 13013e747e6dSmrg 13023e747e6dSmrgDefaults for the options are specified in brackets. 13033e747e6dSmrg 13043e747e6dSmrgConfiguration: 13053e747e6dSmrg -h, --help display this help and exit 13063e747e6dSmrg --help=short display options specific to this package 13073e747e6dSmrg --help=recursive display the short help of all the included packages 13083e747e6dSmrg -V, --version display version information and exit 13097a2631fcSmrg -q, --quiet, --silent do not print \`checking ...' messages 13103e747e6dSmrg --cache-file=FILE cache test results in FILE [disabled] 13113e747e6dSmrg -C, --config-cache alias for \`--cache-file=config.cache' 13123e747e6dSmrg -n, --no-create do not create output files 13133e747e6dSmrg --srcdir=DIR find the sources in DIR [configure dir or \`..'] 13143e747e6dSmrg 13153e747e6dSmrgInstallation directories: 13163e747e6dSmrg --prefix=PREFIX install architecture-independent files in PREFIX 13177a2631fcSmrg [$ac_default_prefix] 13183e747e6dSmrg --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 13197a2631fcSmrg [PREFIX] 13203e747e6dSmrg 13213e747e6dSmrgBy default, \`make install' will install all the files in 13223e747e6dSmrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 13233e747e6dSmrgan installation prefix other than \`$ac_default_prefix' using \`--prefix', 13243e747e6dSmrgfor instance \`--prefix=\$HOME'. 13253e747e6dSmrg 13263e747e6dSmrgFor better control, use the options below. 13273e747e6dSmrg 13283e747e6dSmrgFine tuning of the installation directories: 13297a2631fcSmrg --bindir=DIR user executables [EPREFIX/bin] 13307a2631fcSmrg --sbindir=DIR system admin executables [EPREFIX/sbin] 13317a2631fcSmrg --libexecdir=DIR program executables [EPREFIX/libexec] 13327a2631fcSmrg --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 13337a2631fcSmrg --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 13347a2631fcSmrg --localstatedir=DIR modifiable single-machine data [PREFIX/var] 13357a2631fcSmrg --libdir=DIR object code libraries [EPREFIX/lib] 13367a2631fcSmrg --includedir=DIR C header files [PREFIX/include] 13377a2631fcSmrg --oldincludedir=DIR C header files for non-gcc [/usr/include] 13387a2631fcSmrg --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 13397a2631fcSmrg --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 13407a2631fcSmrg --infodir=DIR info documentation [DATAROOTDIR/info] 13417a2631fcSmrg --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 13427a2631fcSmrg --mandir=DIR man documentation [DATAROOTDIR/man] 13437a2631fcSmrg --docdir=DIR documentation root [DATAROOTDIR/doc/twm] 13447a2631fcSmrg --htmldir=DIR html documentation [DOCDIR] 13457a2631fcSmrg --dvidir=DIR dvi documentation [DOCDIR] 13467a2631fcSmrg --pdfdir=DIR pdf documentation [DOCDIR] 13477a2631fcSmrg --psdir=DIR ps documentation [DOCDIR] 13483e747e6dSmrg_ACEOF 13493e747e6dSmrg 13503e747e6dSmrg cat <<\_ACEOF 13513e747e6dSmrg 13523e747e6dSmrgProgram names: 13533e747e6dSmrg --program-prefix=PREFIX prepend PREFIX to installed program names 13543e747e6dSmrg --program-suffix=SUFFIX append SUFFIX to installed program names 13553e747e6dSmrg --program-transform-name=PROGRAM run sed PROGRAM on installed program names 13563e747e6dSmrg 13573e747e6dSmrgSystem types: 13583e747e6dSmrg --build=BUILD configure for building on BUILD [guessed] 13593e747e6dSmrg --host=HOST cross-compile to build programs to run on HOST [BUILD] 13603e747e6dSmrg_ACEOF 13613e747e6dSmrgfi 13623e747e6dSmrg 13633e747e6dSmrgif test -n "$ac_init_help"; then 13643e747e6dSmrg case $ac_init_help in 1365ffd25bcaSmrg short | recursive ) echo "Configuration of twm 1.0.7:";; 13663e747e6dSmrg esac 13673e747e6dSmrg cat <<\_ACEOF 13683e747e6dSmrg 13693e747e6dSmrgOptional Features: 13707a2631fcSmrg --disable-option-checking ignore unrecognized --enable/--with options 13713e747e6dSmrg --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 13723e747e6dSmrg --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 13733e747e6dSmrg --disable-dependency-tracking speeds up one-time build 13743e747e6dSmrg --enable-dependency-tracking do not reject slow dependency extractors 1375ffd25bcaSmrg --enable-maintainer-mode enable make rules and dependencies not useful 1376ffd25bcaSmrg (and sometimes confusing) to the casual installer 13777a2631fcSmrg --enable-strict-compilation 13787a2631fcSmrg Enable all warnings from compiler and make them 13797a2631fcSmrg errors (default: disabled) 13807a2631fcSmrg --enable-silent-rules less verbose build output (undo: `make V=1') 13817a2631fcSmrg --disable-silent-rules verbose build output (undo: `make V=0') 13823e747e6dSmrg 13833e747e6dSmrgSome influential environment variables: 13843e747e6dSmrg CC C compiler command 13853e747e6dSmrg CFLAGS C compiler flags 13863e747e6dSmrg LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 13873e747e6dSmrg nonstandard directory <lib dir> 13883e747e6dSmrg LIBS libraries to pass to the linker, e.g. -l<library> 13897a2631fcSmrg CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 13903e747e6dSmrg you have headers in a nonstandard directory <include dir> 13917a2631fcSmrg CPP C preprocessor 13927a2631fcSmrg PKG_CONFIG path to pkg-config utility 13937a2631fcSmrg YACC The `Yet Another Compiler Compiler' implementation to use. 13947a2631fcSmrg Defaults to the first program found out of: `bison -y', `byacc', 13957a2631fcSmrg `yacc'. 13963e747e6dSmrg YFLAGS The list of arguments that will be passed by default to $YACC. 13973e747e6dSmrg This script will default YFLAGS to the empty string to avoid a 13983e747e6dSmrg default value of `-d' given by some make applications. 13993e747e6dSmrg TWM_CFLAGS C compiler flags for TWM, overriding pkg-config 14003e747e6dSmrg TWM_LIBS linker flags for TWM, overriding pkg-config 14013e747e6dSmrg 14023e747e6dSmrgUse these variables to override the choices made by `configure' or to help 14033e747e6dSmrgit to find libraries and programs with nonstandard names/locations. 14043e747e6dSmrg 14053e747e6dSmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 14063e747e6dSmrg_ACEOF 14073e747e6dSmrgac_status=$? 14083e747e6dSmrgfi 14093e747e6dSmrg 14103e747e6dSmrgif test "$ac_init_help" = "recursive"; then 14113e747e6dSmrg # If there are subdirs, report their specific --help. 14123e747e6dSmrg for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 14137a2631fcSmrg test -d "$ac_dir" || 14147a2631fcSmrg { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 14157a2631fcSmrg continue 14163e747e6dSmrg ac_builddir=. 14173e747e6dSmrg 14183e747e6dSmrgcase "$ac_dir" in 14193e747e6dSmrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 14203e747e6dSmrg*) 14217a2631fcSmrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 14223e747e6dSmrg # A ".." for each directory in $ac_dir_suffix. 14237a2631fcSmrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 14243e747e6dSmrg case $ac_top_builddir_sub in 14253e747e6dSmrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 14263e747e6dSmrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 14273e747e6dSmrg esac ;; 14283e747e6dSmrgesac 14293e747e6dSmrgac_abs_top_builddir=$ac_pwd 14303e747e6dSmrgac_abs_builddir=$ac_pwd$ac_dir_suffix 14313e747e6dSmrg# for backward compatibility: 14323e747e6dSmrgac_top_builddir=$ac_top_build_prefix 14333e747e6dSmrg 14343e747e6dSmrgcase $srcdir in 14353e747e6dSmrg .) # We are building in place. 14363e747e6dSmrg ac_srcdir=. 14373e747e6dSmrg ac_top_srcdir=$ac_top_builddir_sub 14383e747e6dSmrg ac_abs_top_srcdir=$ac_pwd ;; 14393e747e6dSmrg [\\/]* | ?:[\\/]* ) # Absolute name. 14403e747e6dSmrg ac_srcdir=$srcdir$ac_dir_suffix; 14413e747e6dSmrg ac_top_srcdir=$srcdir 14423e747e6dSmrg ac_abs_top_srcdir=$srcdir ;; 14433e747e6dSmrg *) # Relative name. 14443e747e6dSmrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 14453e747e6dSmrg ac_top_srcdir=$ac_top_build_prefix$srcdir 14463e747e6dSmrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 14473e747e6dSmrgesac 14483e747e6dSmrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 14493e747e6dSmrg 14503e747e6dSmrg cd "$ac_dir" || { ac_status=$?; continue; } 14513e747e6dSmrg # Check for guested configure. 14523e747e6dSmrg if test -f "$ac_srcdir/configure.gnu"; then 14533e747e6dSmrg echo && 14543e747e6dSmrg $SHELL "$ac_srcdir/configure.gnu" --help=recursive 14553e747e6dSmrg elif test -f "$ac_srcdir/configure"; then 14563e747e6dSmrg echo && 14573e747e6dSmrg $SHELL "$ac_srcdir/configure" --help=recursive 14583e747e6dSmrg else 14597a2631fcSmrg $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 14603e747e6dSmrg fi || ac_status=$? 14613e747e6dSmrg cd "$ac_pwd" || { ac_status=$?; break; } 14623e747e6dSmrg done 14633e747e6dSmrgfi 14643e747e6dSmrg 14653e747e6dSmrgtest -n "$ac_init_help" && exit $ac_status 14663e747e6dSmrgif $ac_init_version; then 14673e747e6dSmrg cat <<\_ACEOF 1468ffd25bcaSmrgtwm configure 1.0.7 14697a2631fcSmrggenerated by GNU Autoconf 2.68 14703e747e6dSmrg 14717a2631fcSmrgCopyright (C) 2010 Free Software Foundation, Inc. 14723e747e6dSmrgThis configure script is free software; the Free Software Foundation 14733e747e6dSmrggives unlimited permission to copy, distribute and modify it. 14743e747e6dSmrg_ACEOF 14757a2631fcSmrg exit 14767a2631fcSmrgfi 14777a2631fcSmrg 14787a2631fcSmrg## ------------------------ ## 14797a2631fcSmrg## Autoconf initialization. ## 14807a2631fcSmrg## ------------------------ ## 14817a2631fcSmrg 14827a2631fcSmrg# ac_fn_c_try_compile LINENO 14837a2631fcSmrg# -------------------------- 14847a2631fcSmrg# Try to compile conftest.$ac_ext, and return whether this succeeded. 14857a2631fcSmrgac_fn_c_try_compile () 14867a2631fcSmrg{ 14877a2631fcSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 14887a2631fcSmrg rm -f conftest.$ac_objext 14897a2631fcSmrg if { { ac_try="$ac_compile" 14907a2631fcSmrgcase "(($ac_try" in 14917a2631fcSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14927a2631fcSmrg *) ac_try_echo=$ac_try;; 14937a2631fcSmrgesac 14947a2631fcSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 14957a2631fcSmrg$as_echo "$ac_try_echo"; } >&5 14967a2631fcSmrg (eval "$ac_compile") 2>conftest.err 14977a2631fcSmrg ac_status=$? 14987a2631fcSmrg if test -s conftest.err; then 14997a2631fcSmrg grep -v '^ *+' conftest.err >conftest.er1 15007a2631fcSmrg cat conftest.er1 >&5 15017a2631fcSmrg mv -f conftest.er1 conftest.err 15027a2631fcSmrg fi 15037a2631fcSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15047a2631fcSmrg test $ac_status = 0; } && { 15057a2631fcSmrg test -z "$ac_c_werror_flag" || 15067a2631fcSmrg test ! -s conftest.err 15077a2631fcSmrg } && test -s conftest.$ac_objext; then : 15087a2631fcSmrg ac_retval=0 15097a2631fcSmrgelse 15107a2631fcSmrg $as_echo "$as_me: failed program was:" >&5 15117a2631fcSmrgsed 's/^/| /' conftest.$ac_ext >&5 15127a2631fcSmrg 15137a2631fcSmrg ac_retval=1 15147a2631fcSmrgfi 15157a2631fcSmrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 15167a2631fcSmrg as_fn_set_status $ac_retval 15177a2631fcSmrg 15187a2631fcSmrg} # ac_fn_c_try_compile 15197a2631fcSmrg 15207a2631fcSmrg# ac_fn_c_try_cpp LINENO 15217a2631fcSmrg# ---------------------- 15227a2631fcSmrg# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 15237a2631fcSmrgac_fn_c_try_cpp () 15247a2631fcSmrg{ 15257a2631fcSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 15267a2631fcSmrg if { { ac_try="$ac_cpp conftest.$ac_ext" 15277a2631fcSmrgcase "(($ac_try" in 15287a2631fcSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15297a2631fcSmrg *) ac_try_echo=$ac_try;; 15307a2631fcSmrgesac 15317a2631fcSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 15327a2631fcSmrg$as_echo "$ac_try_echo"; } >&5 15337a2631fcSmrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 15347a2631fcSmrg ac_status=$? 15357a2631fcSmrg if test -s conftest.err; then 15367a2631fcSmrg grep -v '^ *+' conftest.err >conftest.er1 15377a2631fcSmrg cat conftest.er1 >&5 15387a2631fcSmrg mv -f conftest.er1 conftest.err 15397a2631fcSmrg fi 15407a2631fcSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15417a2631fcSmrg test $ac_status = 0; } > conftest.i && { 15427a2631fcSmrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 15437a2631fcSmrg test ! -s conftest.err 15447a2631fcSmrg }; then : 15457a2631fcSmrg ac_retval=0 15467a2631fcSmrgelse 15477a2631fcSmrg $as_echo "$as_me: failed program was:" >&5 15487a2631fcSmrgsed 's/^/| /' conftest.$ac_ext >&5 15497a2631fcSmrg 15507a2631fcSmrg ac_retval=1 15517a2631fcSmrgfi 15527a2631fcSmrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 15537a2631fcSmrg as_fn_set_status $ac_retval 15547a2631fcSmrg 15557a2631fcSmrg} # ac_fn_c_try_cpp 15567a2631fcSmrg 1557ffd25bcaSmrg# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1558ffd25bcaSmrg# ------------------------------------------------------- 1559ffd25bcaSmrg# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1560ffd25bcaSmrg# the include files in INCLUDES and setting the cache variable VAR 1561ffd25bcaSmrg# accordingly. 1562ffd25bcaSmrgac_fn_c_check_header_mongrel () 1563ffd25bcaSmrg{ 1564ffd25bcaSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1565ffd25bcaSmrg if eval \${$3+:} false; then : 1566ffd25bcaSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1567ffd25bcaSmrg$as_echo_n "checking for $2... " >&6; } 1568ffd25bcaSmrgif eval \${$3+:} false; then : 1569ffd25bcaSmrg $as_echo_n "(cached) " >&6 1570ffd25bcaSmrgfi 1571ffd25bcaSmrgeval ac_res=\$$3 1572ffd25bcaSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1573ffd25bcaSmrg$as_echo "$ac_res" >&6; } 1574ffd25bcaSmrgelse 1575ffd25bcaSmrg # Is the header compilable? 1576ffd25bcaSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1577ffd25bcaSmrg$as_echo_n "checking $2 usability... " >&6; } 1578ffd25bcaSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 1579ffd25bcaSmrg/* end confdefs.h. */ 1580ffd25bcaSmrg$4 1581ffd25bcaSmrg#include <$2> 1582ffd25bcaSmrg_ACEOF 1583ffd25bcaSmrgif ac_fn_c_try_compile "$LINENO"; then : 1584ffd25bcaSmrg ac_header_compiler=yes 1585ffd25bcaSmrgelse 1586ffd25bcaSmrg ac_header_compiler=no 1587ffd25bcaSmrgfi 1588ffd25bcaSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1589ffd25bcaSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1590ffd25bcaSmrg$as_echo "$ac_header_compiler" >&6; } 1591ffd25bcaSmrg 1592ffd25bcaSmrg# Is the header present? 1593ffd25bcaSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1594ffd25bcaSmrg$as_echo_n "checking $2 presence... " >&6; } 1595ffd25bcaSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 1596ffd25bcaSmrg/* end confdefs.h. */ 1597ffd25bcaSmrg#include <$2> 1598ffd25bcaSmrg_ACEOF 1599ffd25bcaSmrgif ac_fn_c_try_cpp "$LINENO"; then : 1600ffd25bcaSmrg ac_header_preproc=yes 1601ffd25bcaSmrgelse 1602ffd25bcaSmrg ac_header_preproc=no 1603ffd25bcaSmrgfi 1604ffd25bcaSmrgrm -f conftest.err conftest.i conftest.$ac_ext 1605ffd25bcaSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1606ffd25bcaSmrg$as_echo "$ac_header_preproc" >&6; } 1607ffd25bcaSmrg 1608ffd25bcaSmrg# So? What about this header? 1609ffd25bcaSmrgcase $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1610ffd25bcaSmrg yes:no: ) 1611ffd25bcaSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1612ffd25bcaSmrg$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1613ffd25bcaSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1614ffd25bcaSmrg$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1615ffd25bcaSmrg ;; 1616ffd25bcaSmrg no:yes:* ) 1617ffd25bcaSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1618ffd25bcaSmrg$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1619ffd25bcaSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1620ffd25bcaSmrg$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1621ffd25bcaSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1622ffd25bcaSmrg$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1623ffd25bcaSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1624ffd25bcaSmrg$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1625ffd25bcaSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1626ffd25bcaSmrg$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1627ffd25bcaSmrg( $as_echo "## ---------------------------------------------------------------------- ## 1628ffd25bcaSmrg## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ## 1629ffd25bcaSmrg## ---------------------------------------------------------------------- ##" 1630ffd25bcaSmrg ) | sed "s/^/$as_me: WARNING: /" >&2 1631ffd25bcaSmrg ;; 1632ffd25bcaSmrgesac 1633ffd25bcaSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1634ffd25bcaSmrg$as_echo_n "checking for $2... " >&6; } 1635ffd25bcaSmrgif eval \${$3+:} false; then : 1636ffd25bcaSmrg $as_echo_n "(cached) " >&6 1637ffd25bcaSmrgelse 1638ffd25bcaSmrg eval "$3=\$ac_header_compiler" 1639ffd25bcaSmrgfi 1640ffd25bcaSmrgeval ac_res=\$$3 1641ffd25bcaSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1642ffd25bcaSmrg$as_echo "$ac_res" >&6; } 1643ffd25bcaSmrgfi 1644ffd25bcaSmrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1645ffd25bcaSmrg 1646ffd25bcaSmrg} # ac_fn_c_check_header_mongrel 1647ffd25bcaSmrg 16487a2631fcSmrg# ac_fn_c_try_run LINENO 16497a2631fcSmrg# ---------------------- 16507a2631fcSmrg# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 16517a2631fcSmrg# that executables *can* be run. 16527a2631fcSmrgac_fn_c_try_run () 16537a2631fcSmrg{ 16547a2631fcSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 16557a2631fcSmrg if { { ac_try="$ac_link" 16567a2631fcSmrgcase "(($ac_try" in 16577a2631fcSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16587a2631fcSmrg *) ac_try_echo=$ac_try;; 16597a2631fcSmrgesac 16607a2631fcSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 16617a2631fcSmrg$as_echo "$ac_try_echo"; } >&5 16627a2631fcSmrg (eval "$ac_link") 2>&5 16637a2631fcSmrg ac_status=$? 16647a2631fcSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16657a2631fcSmrg test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 16667a2631fcSmrg { { case "(($ac_try" in 16677a2631fcSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16687a2631fcSmrg *) ac_try_echo=$ac_try;; 16697a2631fcSmrgesac 16707a2631fcSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 16717a2631fcSmrg$as_echo "$ac_try_echo"; } >&5 16727a2631fcSmrg (eval "$ac_try") 2>&5 16737a2631fcSmrg ac_status=$? 16747a2631fcSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16757a2631fcSmrg test $ac_status = 0; }; }; then : 16767a2631fcSmrg ac_retval=0 16777a2631fcSmrgelse 16787a2631fcSmrg $as_echo "$as_me: program exited with status $ac_status" >&5 16797a2631fcSmrg $as_echo "$as_me: failed program was:" >&5 16807a2631fcSmrgsed 's/^/| /' conftest.$ac_ext >&5 16817a2631fcSmrg 16827a2631fcSmrg ac_retval=$ac_status 16837a2631fcSmrgfi 16847a2631fcSmrg rm -rf conftest.dSYM conftest_ipa8_conftest.oo 16857a2631fcSmrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 16867a2631fcSmrg as_fn_set_status $ac_retval 16877a2631fcSmrg 16887a2631fcSmrg} # ac_fn_c_try_run 16897a2631fcSmrg 16907a2631fcSmrg# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 16917a2631fcSmrg# ------------------------------------------------------- 16927a2631fcSmrg# Tests whether HEADER exists and can be compiled using the include files in 16937a2631fcSmrg# INCLUDES, setting the cache variable VAR accordingly. 16947a2631fcSmrgac_fn_c_check_header_compile () 16957a2631fcSmrg{ 16967a2631fcSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 16977a2631fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 16987a2631fcSmrg$as_echo_n "checking for $2... " >&6; } 16997a2631fcSmrgif eval \${$3+:} false; then : 17007a2631fcSmrg $as_echo_n "(cached) " >&6 17017a2631fcSmrgelse 17027a2631fcSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17037a2631fcSmrg/* end confdefs.h. */ 17047a2631fcSmrg$4 17057a2631fcSmrg#include <$2> 17067a2631fcSmrg_ACEOF 17077a2631fcSmrgif ac_fn_c_try_compile "$LINENO"; then : 17087a2631fcSmrg eval "$3=yes" 17097a2631fcSmrgelse 17107a2631fcSmrg eval "$3=no" 17117a2631fcSmrgfi 17127a2631fcSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17137a2631fcSmrgfi 17147a2631fcSmrgeval ac_res=\$$3 17157a2631fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 17167a2631fcSmrg$as_echo "$ac_res" >&6; } 17177a2631fcSmrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 17187a2631fcSmrg 17197a2631fcSmrg} # ac_fn_c_check_header_compile 17207a2631fcSmrg 1721ffd25bcaSmrg# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 1722ffd25bcaSmrg# --------------------------------------------- 1723ffd25bcaSmrg# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 1724ffd25bcaSmrg# accordingly. 1725ffd25bcaSmrgac_fn_c_check_decl () 1726ffd25bcaSmrg{ 1727ffd25bcaSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1728ffd25bcaSmrg as_decl_name=`echo $2|sed 's/ *(.*//'` 1729ffd25bcaSmrg as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 1730ffd25bcaSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 1731ffd25bcaSmrg$as_echo_n "checking whether $as_decl_name is declared... " >&6; } 1732ffd25bcaSmrgif eval \${$3+:} false; then : 1733ffd25bcaSmrg $as_echo_n "(cached) " >&6 1734ffd25bcaSmrgelse 1735ffd25bcaSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1736ffd25bcaSmrg/* end confdefs.h. */ 1737ffd25bcaSmrg$4 1738ffd25bcaSmrgint 1739ffd25bcaSmrgmain () 1740ffd25bcaSmrg{ 1741ffd25bcaSmrg#ifndef $as_decl_name 1742ffd25bcaSmrg#ifdef __cplusplus 1743ffd25bcaSmrg (void) $as_decl_use; 1744ffd25bcaSmrg#else 1745ffd25bcaSmrg (void) $as_decl_name; 1746ffd25bcaSmrg#endif 1747ffd25bcaSmrg#endif 1748ffd25bcaSmrg 1749ffd25bcaSmrg ; 1750ffd25bcaSmrg return 0; 1751ffd25bcaSmrg} 1752ffd25bcaSmrg_ACEOF 1753ffd25bcaSmrgif ac_fn_c_try_compile "$LINENO"; then : 1754ffd25bcaSmrg eval "$3=yes" 1755ffd25bcaSmrgelse 1756ffd25bcaSmrg eval "$3=no" 1757ffd25bcaSmrgfi 1758ffd25bcaSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1759ffd25bcaSmrgfi 1760ffd25bcaSmrgeval ac_res=\$$3 1761ffd25bcaSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1762ffd25bcaSmrg$as_echo "$ac_res" >&6; } 1763ffd25bcaSmrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1764ffd25bcaSmrg 1765ffd25bcaSmrg} # ac_fn_c_check_decl 1766ffd25bcaSmrg 17677a2631fcSmrg# ac_fn_c_try_link LINENO 17687a2631fcSmrg# ----------------------- 17697a2631fcSmrg# Try to link conftest.$ac_ext, and return whether this succeeded. 17707a2631fcSmrgac_fn_c_try_link () 17717a2631fcSmrg{ 17727a2631fcSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 17737a2631fcSmrg rm -f conftest.$ac_objext conftest$ac_exeext 17747a2631fcSmrg if { { ac_try="$ac_link" 17757a2631fcSmrgcase "(($ac_try" in 17767a2631fcSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17777a2631fcSmrg *) ac_try_echo=$ac_try;; 17787a2631fcSmrgesac 17797a2631fcSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 17807a2631fcSmrg$as_echo "$ac_try_echo"; } >&5 17817a2631fcSmrg (eval "$ac_link") 2>conftest.err 17827a2631fcSmrg ac_status=$? 17837a2631fcSmrg if test -s conftest.err; then 17847a2631fcSmrg grep -v '^ *+' conftest.err >conftest.er1 17857a2631fcSmrg cat conftest.er1 >&5 17867a2631fcSmrg mv -f conftest.er1 conftest.err 17877a2631fcSmrg fi 17887a2631fcSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17897a2631fcSmrg test $ac_status = 0; } && { 17907a2631fcSmrg test -z "$ac_c_werror_flag" || 17917a2631fcSmrg test ! -s conftest.err 17927a2631fcSmrg } && test -s conftest$ac_exeext && { 17937a2631fcSmrg test "$cross_compiling" = yes || 17947a2631fcSmrg $as_test_x conftest$ac_exeext 17957a2631fcSmrg }; then : 17967a2631fcSmrg ac_retval=0 17977a2631fcSmrgelse 17987a2631fcSmrg $as_echo "$as_me: failed program was:" >&5 17997a2631fcSmrgsed 's/^/| /' conftest.$ac_ext >&5 18007a2631fcSmrg 18017a2631fcSmrg ac_retval=1 18027a2631fcSmrgfi 18037a2631fcSmrg # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 18047a2631fcSmrg # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 18057a2631fcSmrg # interfere with the next link command; also delete a directory that is 18067a2631fcSmrg # left behind by Apple's compiler. We do this before executing the actions. 18077a2631fcSmrg rm -rf conftest.dSYM conftest_ipa8_conftest.oo 18087a2631fcSmrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 18097a2631fcSmrg as_fn_set_status $ac_retval 18107a2631fcSmrg 18117a2631fcSmrg} # ac_fn_c_try_link 18127a2631fcSmrg 18137a2631fcSmrg# ac_fn_c_check_func LINENO FUNC VAR 18147a2631fcSmrg# ---------------------------------- 18157a2631fcSmrg# Tests whether FUNC exists, setting the cache variable VAR accordingly 18167a2631fcSmrgac_fn_c_check_func () 18177a2631fcSmrg{ 18187a2631fcSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 18197a2631fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 18207a2631fcSmrg$as_echo_n "checking for $2... " >&6; } 18217a2631fcSmrgif eval \${$3+:} false; then : 18227a2631fcSmrg $as_echo_n "(cached) " >&6 18237a2631fcSmrgelse 18247a2631fcSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18257a2631fcSmrg/* end confdefs.h. */ 18267a2631fcSmrg/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 18277a2631fcSmrg For example, HP-UX 11i <limits.h> declares gettimeofday. */ 18287a2631fcSmrg#define $2 innocuous_$2 18297a2631fcSmrg 18307a2631fcSmrg/* System header to define __stub macros and hopefully few prototypes, 18317a2631fcSmrg which can conflict with char $2 (); below. 18327a2631fcSmrg Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 18337a2631fcSmrg <limits.h> exists even on freestanding compilers. */ 18347a2631fcSmrg 18357a2631fcSmrg#ifdef __STDC__ 18367a2631fcSmrg# include <limits.h> 18377a2631fcSmrg#else 18387a2631fcSmrg# include <assert.h> 18397a2631fcSmrg#endif 18407a2631fcSmrg 18417a2631fcSmrg#undef $2 18427a2631fcSmrg 18437a2631fcSmrg/* Override any GCC internal prototype to avoid an error. 18447a2631fcSmrg Use char because int might match the return type of a GCC 18457a2631fcSmrg builtin and then its argument prototype would still apply. */ 18467a2631fcSmrg#ifdef __cplusplus 18477a2631fcSmrgextern "C" 18487a2631fcSmrg#endif 18497a2631fcSmrgchar $2 (); 18507a2631fcSmrg/* The GNU C library defines this for functions which it implements 18517a2631fcSmrg to always fail with ENOSYS. Some functions are actually named 18527a2631fcSmrg something starting with __ and the normal name is an alias. */ 18537a2631fcSmrg#if defined __stub_$2 || defined __stub___$2 18547a2631fcSmrgchoke me 18557a2631fcSmrg#endif 18567a2631fcSmrg 18577a2631fcSmrgint 18587a2631fcSmrgmain () 18597a2631fcSmrg{ 18607a2631fcSmrgreturn $2 (); 18617a2631fcSmrg ; 18627a2631fcSmrg return 0; 18637a2631fcSmrg} 18647a2631fcSmrg_ACEOF 18657a2631fcSmrgif ac_fn_c_try_link "$LINENO"; then : 18667a2631fcSmrg eval "$3=yes" 18677a2631fcSmrgelse 18687a2631fcSmrg eval "$3=no" 18693e747e6dSmrgfi 18707a2631fcSmrgrm -f core conftest.err conftest.$ac_objext \ 18717a2631fcSmrg conftest$ac_exeext conftest.$ac_ext 18727a2631fcSmrgfi 18737a2631fcSmrgeval ac_res=\$$3 18747a2631fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 18757a2631fcSmrg$as_echo "$ac_res" >&6; } 18767a2631fcSmrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 18777a2631fcSmrg 18787a2631fcSmrg} # ac_fn_c_check_func 18793e747e6dSmrgcat >config.log <<_ACEOF 18803e747e6dSmrgThis file contains any messages produced by compilers while 18813e747e6dSmrgrunning configure, to aid debugging if configure makes a mistake. 18823e747e6dSmrg 1883ffd25bcaSmrgIt was created by twm $as_me 1.0.7, which was 18847a2631fcSmrggenerated by GNU Autoconf 2.68. Invocation command line was 18853e747e6dSmrg 18863e747e6dSmrg $ $0 $@ 18873e747e6dSmrg 18883e747e6dSmrg_ACEOF 18893e747e6dSmrgexec 5>>config.log 18903e747e6dSmrg{ 18913e747e6dSmrgcat <<_ASUNAME 18923e747e6dSmrg## --------- ## 18933e747e6dSmrg## Platform. ## 18943e747e6dSmrg## --------- ## 18953e747e6dSmrg 18963e747e6dSmrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 18973e747e6dSmrguname -m = `(uname -m) 2>/dev/null || echo unknown` 18983e747e6dSmrguname -r = `(uname -r) 2>/dev/null || echo unknown` 18993e747e6dSmrguname -s = `(uname -s) 2>/dev/null || echo unknown` 19003e747e6dSmrguname -v = `(uname -v) 2>/dev/null || echo unknown` 19013e747e6dSmrg 19023e747e6dSmrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 19033e747e6dSmrg/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 19043e747e6dSmrg 19053e747e6dSmrg/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 19063e747e6dSmrg/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 19073e747e6dSmrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 19083e747e6dSmrg/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 19093e747e6dSmrg/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 19103e747e6dSmrg/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 19113e747e6dSmrg/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 19123e747e6dSmrg 19133e747e6dSmrg_ASUNAME 19143e747e6dSmrg 19153e747e6dSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19163e747e6dSmrgfor as_dir in $PATH 19173e747e6dSmrgdo 19183e747e6dSmrg IFS=$as_save_IFS 19193e747e6dSmrg test -z "$as_dir" && as_dir=. 19207a2631fcSmrg $as_echo "PATH: $as_dir" 19217a2631fcSmrg done 19223e747e6dSmrgIFS=$as_save_IFS 19233e747e6dSmrg 19243e747e6dSmrg} >&5 19253e747e6dSmrg 19263e747e6dSmrgcat >&5 <<_ACEOF 19273e747e6dSmrg 19283e747e6dSmrg 19293e747e6dSmrg## ----------- ## 19303e747e6dSmrg## Core tests. ## 19313e747e6dSmrg## ----------- ## 19323e747e6dSmrg 19333e747e6dSmrg_ACEOF 19343e747e6dSmrg 19353e747e6dSmrg 19363e747e6dSmrg# Keep a trace of the command line. 19373e747e6dSmrg# Strip out --no-create and --no-recursion so they do not pile up. 19383e747e6dSmrg# Strip out --silent because we don't want to record it for future runs. 19393e747e6dSmrg# Also quote any args containing shell meta-characters. 19403e747e6dSmrg# Make two passes to allow for proper duplicate-argument suppression. 19413e747e6dSmrgac_configure_args= 19423e747e6dSmrgac_configure_args0= 19433e747e6dSmrgac_configure_args1= 19443e747e6dSmrgac_must_keep_next=false 19453e747e6dSmrgfor ac_pass in 1 2 19463e747e6dSmrgdo 19473e747e6dSmrg for ac_arg 19483e747e6dSmrg do 19493e747e6dSmrg case $ac_arg in 19503e747e6dSmrg -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 19513e747e6dSmrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 19523e747e6dSmrg | -silent | --silent | --silen | --sile | --sil) 19533e747e6dSmrg continue ;; 19543e747e6dSmrg *\'*) 19557a2631fcSmrg ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 19563e747e6dSmrg esac 19573e747e6dSmrg case $ac_pass in 19587a2631fcSmrg 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 19593e747e6dSmrg 2) 19607a2631fcSmrg as_fn_append ac_configure_args1 " '$ac_arg'" 19613e747e6dSmrg if test $ac_must_keep_next = true; then 19623e747e6dSmrg ac_must_keep_next=false # Got value, back to normal. 19633e747e6dSmrg else 19643e747e6dSmrg case $ac_arg in 19653e747e6dSmrg *=* | --config-cache | -C | -disable-* | --disable-* \ 19663e747e6dSmrg | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 19673e747e6dSmrg | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 19683e747e6dSmrg | -with-* | --with-* | -without-* | --without-* | --x) 19693e747e6dSmrg case "$ac_configure_args0 " in 19703e747e6dSmrg "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 19713e747e6dSmrg esac 19723e747e6dSmrg ;; 19733e747e6dSmrg -* ) ac_must_keep_next=true ;; 19743e747e6dSmrg esac 19753e747e6dSmrg fi 19767a2631fcSmrg as_fn_append ac_configure_args " '$ac_arg'" 19773e747e6dSmrg ;; 19783e747e6dSmrg esac 19793e747e6dSmrg done 19803e747e6dSmrgdone 19817a2631fcSmrg{ ac_configure_args0=; unset ac_configure_args0;} 19827a2631fcSmrg{ ac_configure_args1=; unset ac_configure_args1;} 19833e747e6dSmrg 19843e747e6dSmrg# When interrupted or exit'd, cleanup temporary files, and complete 19853e747e6dSmrg# config.log. We remove comments because anyway the quotes in there 19863e747e6dSmrg# would cause problems or look ugly. 19873e747e6dSmrg# WARNING: Use '\'' to represent an apostrophe within the trap. 19883e747e6dSmrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 19893e747e6dSmrgtrap 'exit_status=$? 19903e747e6dSmrg # Save into config.log some information that might help in debugging. 19913e747e6dSmrg { 19923e747e6dSmrg echo 19933e747e6dSmrg 19947a2631fcSmrg $as_echo "## ---------------- ## 19953e747e6dSmrg## Cache variables. ## 19967a2631fcSmrg## ---------------- ##" 19973e747e6dSmrg echo 19983e747e6dSmrg # The following way of writing the cache mishandles newlines in values, 19993e747e6dSmrg( 20003e747e6dSmrg for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 20013e747e6dSmrg eval ac_val=\$$ac_var 20023e747e6dSmrg case $ac_val in #( 20033e747e6dSmrg *${as_nl}*) 20043e747e6dSmrg case $ac_var in #( 20057a2631fcSmrg *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 20067a2631fcSmrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 20073e747e6dSmrg esac 20083e747e6dSmrg case $ac_var in #( 20093e747e6dSmrg _ | IFS | as_nl) ;; #( 20107a2631fcSmrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 20117a2631fcSmrg *) { eval $ac_var=; unset $ac_var;} ;; 20123e747e6dSmrg esac ;; 20133e747e6dSmrg esac 20143e747e6dSmrg done 20153e747e6dSmrg (set) 2>&1 | 20163e747e6dSmrg case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 20173e747e6dSmrg *${as_nl}ac_space=\ *) 20183e747e6dSmrg sed -n \ 20193e747e6dSmrg "s/'\''/'\''\\\\'\'''\''/g; 20203e747e6dSmrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 20213e747e6dSmrg ;; #( 20223e747e6dSmrg *) 20233e747e6dSmrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 20243e747e6dSmrg ;; 20253e747e6dSmrg esac | 20263e747e6dSmrg sort 20273e747e6dSmrg) 20283e747e6dSmrg echo 20293e747e6dSmrg 20307a2631fcSmrg $as_echo "## ----------------- ## 20313e747e6dSmrg## Output variables. ## 20327a2631fcSmrg## ----------------- ##" 20333e747e6dSmrg echo 20343e747e6dSmrg for ac_var in $ac_subst_vars 20353e747e6dSmrg do 20363e747e6dSmrg eval ac_val=\$$ac_var 20373e747e6dSmrg case $ac_val in 20387a2631fcSmrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 20393e747e6dSmrg esac 20407a2631fcSmrg $as_echo "$ac_var='\''$ac_val'\''" 20413e747e6dSmrg done | sort 20423e747e6dSmrg echo 20433e747e6dSmrg 20443e747e6dSmrg if test -n "$ac_subst_files"; then 20457a2631fcSmrg $as_echo "## ------------------- ## 20463e747e6dSmrg## File substitutions. ## 20477a2631fcSmrg## ------------------- ##" 20483e747e6dSmrg echo 20493e747e6dSmrg for ac_var in $ac_subst_files 20503e747e6dSmrg do 20513e747e6dSmrg eval ac_val=\$$ac_var 20523e747e6dSmrg case $ac_val in 20537a2631fcSmrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 20543e747e6dSmrg esac 20557a2631fcSmrg $as_echo "$ac_var='\''$ac_val'\''" 20563e747e6dSmrg done | sort 20573e747e6dSmrg echo 20583e747e6dSmrg fi 20593e747e6dSmrg 20603e747e6dSmrg if test -s confdefs.h; then 20617a2631fcSmrg $as_echo "## ----------- ## 20623e747e6dSmrg## confdefs.h. ## 20637a2631fcSmrg## ----------- ##" 20643e747e6dSmrg echo 20653e747e6dSmrg cat confdefs.h 20663e747e6dSmrg echo 20673e747e6dSmrg fi 20683e747e6dSmrg test "$ac_signal" != 0 && 20697a2631fcSmrg $as_echo "$as_me: caught signal $ac_signal" 20707a2631fcSmrg $as_echo "$as_me: exit $exit_status" 20713e747e6dSmrg } >&5 20723e747e6dSmrg rm -f core *.core core.conftest.* && 20733e747e6dSmrg rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 20743e747e6dSmrg exit $exit_status 20753e747e6dSmrg' 0 20763e747e6dSmrgfor ac_signal in 1 2 13 15; do 20777a2631fcSmrg trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 20783e747e6dSmrgdone 20793e747e6dSmrgac_signal=0 20803e747e6dSmrg 20813e747e6dSmrg# confdefs.h avoids OS command line length limits that DEFS can exceed. 20823e747e6dSmrgrm -f -r conftest* confdefs.h 20833e747e6dSmrg 20847a2631fcSmrg$as_echo "/* confdefs.h */" > confdefs.h 20857a2631fcSmrg 20863e747e6dSmrg# Predefined preprocessor variables. 20873e747e6dSmrg 20883e747e6dSmrgcat >>confdefs.h <<_ACEOF 20893e747e6dSmrg#define PACKAGE_NAME "$PACKAGE_NAME" 20903e747e6dSmrg_ACEOF 20913e747e6dSmrg 20923e747e6dSmrgcat >>confdefs.h <<_ACEOF 20933e747e6dSmrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 20943e747e6dSmrg_ACEOF 20953e747e6dSmrg 20963e747e6dSmrgcat >>confdefs.h <<_ACEOF 20973e747e6dSmrg#define PACKAGE_VERSION "$PACKAGE_VERSION" 20983e747e6dSmrg_ACEOF 20993e747e6dSmrg 21003e747e6dSmrgcat >>confdefs.h <<_ACEOF 21013e747e6dSmrg#define PACKAGE_STRING "$PACKAGE_STRING" 21023e747e6dSmrg_ACEOF 21033e747e6dSmrg 21043e747e6dSmrgcat >>confdefs.h <<_ACEOF 21053e747e6dSmrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 21063e747e6dSmrg_ACEOF 21073e747e6dSmrg 21087a2631fcSmrgcat >>confdefs.h <<_ACEOF 21097a2631fcSmrg#define PACKAGE_URL "$PACKAGE_URL" 21107a2631fcSmrg_ACEOF 21117a2631fcSmrg 21123e747e6dSmrg 21133e747e6dSmrg# Let the site file select an alternate cache file if it wants to. 21147a2631fcSmrg# Prefer an explicitly selected file to automatically selected ones. 21157a2631fcSmrgac_site_file1=NONE 21167a2631fcSmrgac_site_file2=NONE 21173e747e6dSmrgif test -n "$CONFIG_SITE"; then 21187a2631fcSmrg # We do not want a PATH search for config.site. 21197a2631fcSmrg case $CONFIG_SITE in #(( 21207a2631fcSmrg -*) ac_site_file1=./$CONFIG_SITE;; 21217a2631fcSmrg */*) ac_site_file1=$CONFIG_SITE;; 21227a2631fcSmrg *) ac_site_file1=./$CONFIG_SITE;; 21237a2631fcSmrg esac 21243e747e6dSmrgelif test "x$prefix" != xNONE; then 21257a2631fcSmrg ac_site_file1=$prefix/share/config.site 21267a2631fcSmrg ac_site_file2=$prefix/etc/config.site 21273e747e6dSmrgelse 21287a2631fcSmrg ac_site_file1=$ac_default_prefix/share/config.site 21297a2631fcSmrg ac_site_file2=$ac_default_prefix/etc/config.site 21303e747e6dSmrgfi 21317a2631fcSmrgfor ac_site_file in "$ac_site_file1" "$ac_site_file2" 21323e747e6dSmrgdo 21337a2631fcSmrg test "x$ac_site_file" = xNONE && continue 21347a2631fcSmrg if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 21357a2631fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 21367a2631fcSmrg$as_echo "$as_me: loading site script $ac_site_file" >&6;} 21373e747e6dSmrg sed 's/^/| /' "$ac_site_file" >&5 21387a2631fcSmrg . "$ac_site_file" \ 21397a2631fcSmrg || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21407a2631fcSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21417a2631fcSmrgas_fn_error $? "failed to load site script $ac_site_file 21427a2631fcSmrgSee \`config.log' for more details" "$LINENO" 5; } 21433e747e6dSmrg fi 21443e747e6dSmrgdone 21453e747e6dSmrg 21463e747e6dSmrgif test -r "$cache_file"; then 21477a2631fcSmrg # Some versions of bash will fail to source /dev/null (special files 21487a2631fcSmrg # actually), so we avoid doing that. DJGPP emulates it as a regular file. 21497a2631fcSmrg if test /dev/null != "$cache_file" && test -f "$cache_file"; then 21507a2631fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 21517a2631fcSmrg$as_echo "$as_me: loading cache $cache_file" >&6;} 21523e747e6dSmrg case $cache_file in 21533e747e6dSmrg [\\/]* | ?:[\\/]* ) . "$cache_file";; 21543e747e6dSmrg *) . "./$cache_file";; 21553e747e6dSmrg esac 21563e747e6dSmrg fi 21573e747e6dSmrgelse 21587a2631fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 21597a2631fcSmrg$as_echo "$as_me: creating cache $cache_file" >&6;} 21603e747e6dSmrg >$cache_file 21613e747e6dSmrgfi 21623e747e6dSmrg 21633e747e6dSmrg# Check that the precious variables saved in the cache have kept the same 21643e747e6dSmrg# value. 21653e747e6dSmrgac_cache_corrupted=false 21663e747e6dSmrgfor ac_var in $ac_precious_vars; do 21673e747e6dSmrg eval ac_old_set=\$ac_cv_env_${ac_var}_set 21683e747e6dSmrg eval ac_new_set=\$ac_env_${ac_var}_set 21693e747e6dSmrg eval ac_old_val=\$ac_cv_env_${ac_var}_value 21703e747e6dSmrg eval ac_new_val=\$ac_env_${ac_var}_value 21713e747e6dSmrg case $ac_old_set,$ac_new_set in 21723e747e6dSmrg set,) 21737a2631fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 21747a2631fcSmrg$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 21753e747e6dSmrg ac_cache_corrupted=: ;; 21763e747e6dSmrg ,set) 21777a2631fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 21787a2631fcSmrg$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 21793e747e6dSmrg ac_cache_corrupted=: ;; 21803e747e6dSmrg ,);; 21813e747e6dSmrg *) 21823e747e6dSmrg if test "x$ac_old_val" != "x$ac_new_val"; then 21837a2631fcSmrg # differences in whitespace do not lead to failure. 21847a2631fcSmrg ac_old_val_w=`echo x $ac_old_val` 21857a2631fcSmrg ac_new_val_w=`echo x $ac_new_val` 21867a2631fcSmrg if test "$ac_old_val_w" != "$ac_new_val_w"; then 21877a2631fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 21887a2631fcSmrg$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 21897a2631fcSmrg ac_cache_corrupted=: 21907a2631fcSmrg else 21917a2631fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 21927a2631fcSmrg$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 21937a2631fcSmrg eval $ac_var=\$ac_old_val 21947a2631fcSmrg fi 21957a2631fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 21967a2631fcSmrg$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 21977a2631fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 21987a2631fcSmrg$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 21993e747e6dSmrg fi;; 22003e747e6dSmrg esac 22013e747e6dSmrg # Pass precious variables to config.status. 22023e747e6dSmrg if test "$ac_new_set" = set; then 22033e747e6dSmrg case $ac_new_val in 22047a2631fcSmrg *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 22053e747e6dSmrg *) ac_arg=$ac_var=$ac_new_val ;; 22063e747e6dSmrg esac 22073e747e6dSmrg case " $ac_configure_args " in 22083e747e6dSmrg *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 22097a2631fcSmrg *) as_fn_append ac_configure_args " '$ac_arg'" ;; 22103e747e6dSmrg esac 22113e747e6dSmrg fi 22123e747e6dSmrgdone 22133e747e6dSmrgif $ac_cache_corrupted; then 22147a2631fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 22157a2631fcSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 22167a2631fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 22177a2631fcSmrg$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 22187a2631fcSmrg as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 22193e747e6dSmrgfi 22207a2631fcSmrg## -------------------- ## 22217a2631fcSmrg## Main body of script. ## 22227a2631fcSmrg## -------------------- ## 22233e747e6dSmrg 22243e747e6dSmrgac_ext=c 22253e747e6dSmrgac_cpp='$CPP $CPPFLAGS' 22263e747e6dSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 22273e747e6dSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 22283e747e6dSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 22293e747e6dSmrg 22303e747e6dSmrg 22312d96a817Smrg 22322d96a817Smrgac_config_headers="$ac_config_headers config.h" 22332d96a817Smrg 2234ffd25bcaSmrgac_ext=c 2235ffd25bcaSmrgac_cpp='$CPP $CPPFLAGS' 2236ffd25bcaSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2237ffd25bcaSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2238ffd25bcaSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 2239ffd25bcaSmrgif test -n "$ac_tool_prefix"; then 2240ffd25bcaSmrg # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2241ffd25bcaSmrgset dummy ${ac_tool_prefix}gcc; ac_word=$2 2242ffd25bcaSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2243ffd25bcaSmrg$as_echo_n "checking for $ac_word... " >&6; } 2244ffd25bcaSmrgif ${ac_cv_prog_CC+:} false; then : 22457a2631fcSmrg $as_echo_n "(cached) " >&6 22463e747e6dSmrgelse 2247ffd25bcaSmrg if test -n "$CC"; then 2248ffd25bcaSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 2249ffd25bcaSmrgelse 2250ffd25bcaSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22513e747e6dSmrgfor as_dir in $PATH 22523e747e6dSmrgdo 22533e747e6dSmrg IFS=$as_save_IFS 22543e747e6dSmrg test -z "$as_dir" && as_dir=. 2255ffd25bcaSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2256ffd25bcaSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2257ffd25bcaSmrg ac_cv_prog_CC="${ac_tool_prefix}gcc" 2258ffd25bcaSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2259ffd25bcaSmrg break 2 2260ffd25bcaSmrg fi 2261ffd25bcaSmrgdone 22627a2631fcSmrg done 22633e747e6dSmrgIFS=$as_save_IFS 22643e747e6dSmrg 22653e747e6dSmrgfi 22663e747e6dSmrgfi 2267ffd25bcaSmrgCC=$ac_cv_prog_CC 2268ffd25bcaSmrgif test -n "$CC"; then 2269ffd25bcaSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2270ffd25bcaSmrg$as_echo "$CC" >&6; } 22713e747e6dSmrgelse 2272ffd25bcaSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2273ffd25bcaSmrg$as_echo "no" >&6; } 22743e747e6dSmrgfi 22753e747e6dSmrg 22767a2631fcSmrg 22777a2631fcSmrgfi 2278ffd25bcaSmrgif test -z "$ac_cv_prog_CC"; then 2279ffd25bcaSmrg ac_ct_CC=$CC 2280ffd25bcaSmrg # Extract the first word of "gcc", so it can be a program name with args. 2281ffd25bcaSmrgset dummy gcc; ac_word=$2 22827a2631fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22837a2631fcSmrg$as_echo_n "checking for $ac_word... " >&6; } 2284ffd25bcaSmrgif ${ac_cv_prog_ac_ct_CC+:} false; then : 22857a2631fcSmrg $as_echo_n "(cached) " >&6 22867a2631fcSmrgelse 2287ffd25bcaSmrg if test -n "$ac_ct_CC"; then 2288ffd25bcaSmrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 22897a2631fcSmrgelse 22907a2631fcSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22917a2631fcSmrgfor as_dir in $PATH 22927a2631fcSmrgdo 22937a2631fcSmrg IFS=$as_save_IFS 22947a2631fcSmrg test -z "$as_dir" && as_dir=. 22957a2631fcSmrg for ac_exec_ext in '' $ac_executable_extensions; do 22967a2631fcSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2297ffd25bcaSmrg ac_cv_prog_ac_ct_CC="gcc" 22987a2631fcSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 22997a2631fcSmrg break 2 23007a2631fcSmrg fi 23017a2631fcSmrgdone 23027a2631fcSmrg done 23037a2631fcSmrgIFS=$as_save_IFS 23047a2631fcSmrg 23057a2631fcSmrgfi 23067a2631fcSmrgfi 2307ffd25bcaSmrgac_ct_CC=$ac_cv_prog_ac_ct_CC 2308ffd25bcaSmrgif test -n "$ac_ct_CC"; then 2309ffd25bcaSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2310ffd25bcaSmrg$as_echo "$ac_ct_CC" >&6; } 23117a2631fcSmrgelse 23127a2631fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23137a2631fcSmrg$as_echo "no" >&6; } 23147a2631fcSmrgfi 23157a2631fcSmrg 2316ffd25bcaSmrg if test "x$ac_ct_CC" = x; then 2317ffd25bcaSmrg CC="" 2318ffd25bcaSmrg else 2319ffd25bcaSmrg case $cross_compiling:$ac_tool_warned in 2320ffd25bcaSmrgyes:) 2321ffd25bcaSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2322ffd25bcaSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2323ffd25bcaSmrgac_tool_warned=yes ;; 2324ffd25bcaSmrgesac 2325ffd25bcaSmrg CC=$ac_ct_CC 2326ffd25bcaSmrg fi 2327ffd25bcaSmrgelse 2328ffd25bcaSmrg CC="$ac_cv_prog_CC" 23297a2631fcSmrgfi 2330ffd25bcaSmrg 2331ffd25bcaSmrgif test -z "$CC"; then 2332ffd25bcaSmrg if test -n "$ac_tool_prefix"; then 2333ffd25bcaSmrg # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2334ffd25bcaSmrgset dummy ${ac_tool_prefix}cc; ac_word=$2 23357a2631fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23367a2631fcSmrg$as_echo_n "checking for $ac_word... " >&6; } 2337ffd25bcaSmrgif ${ac_cv_prog_CC+:} false; then : 23387a2631fcSmrg $as_echo_n "(cached) " >&6 23397a2631fcSmrgelse 2340ffd25bcaSmrg if test -n "$CC"; then 2341ffd25bcaSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 23427a2631fcSmrgelse 23437a2631fcSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23447a2631fcSmrgfor as_dir in $PATH 23457a2631fcSmrgdo 23467a2631fcSmrg IFS=$as_save_IFS 23477a2631fcSmrg test -z "$as_dir" && as_dir=. 23487a2631fcSmrg for ac_exec_ext in '' $ac_executable_extensions; do 23497a2631fcSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2350ffd25bcaSmrg ac_cv_prog_CC="${ac_tool_prefix}cc" 23517a2631fcSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23527a2631fcSmrg break 2 23537a2631fcSmrg fi 23547a2631fcSmrgdone 23557a2631fcSmrg done 23567a2631fcSmrgIFS=$as_save_IFS 23577a2631fcSmrg 23587a2631fcSmrgfi 23597a2631fcSmrgfi 2360ffd25bcaSmrgCC=$ac_cv_prog_CC 2361ffd25bcaSmrgif test -n "$CC"; then 2362ffd25bcaSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2363ffd25bcaSmrg$as_echo "$CC" >&6; } 23647a2631fcSmrgelse 23657a2631fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23667a2631fcSmrg$as_echo "no" >&6; } 23677a2631fcSmrgfi 23687a2631fcSmrg 23697a2631fcSmrg 2370ffd25bcaSmrg fi 23713e747e6dSmrgfi 2372ffd25bcaSmrgif test -z "$CC"; then 2373ffd25bcaSmrg # Extract the first word of "cc", so it can be a program name with args. 2374ffd25bcaSmrgset dummy cc; ac_word=$2 2375ffd25bcaSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2376ffd25bcaSmrg$as_echo_n "checking for $ac_word... " >&6; } 2377ffd25bcaSmrgif ${ac_cv_prog_CC+:} false; then : 23787a2631fcSmrg $as_echo_n "(cached) " >&6 23793e747e6dSmrgelse 2380ffd25bcaSmrg if test -n "$CC"; then 2381ffd25bcaSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 2382ffd25bcaSmrgelse 2383ffd25bcaSmrg ac_prog_rejected=no 2384ffd25bcaSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2385ffd25bcaSmrgfor as_dir in $PATH 23863e747e6dSmrgdo 23873e747e6dSmrg IFS=$as_save_IFS 23883e747e6dSmrg test -z "$as_dir" && as_dir=. 2389ffd25bcaSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2390ffd25bcaSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2391ffd25bcaSmrg if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2392ffd25bcaSmrg ac_prog_rejected=yes 2393ffd25bcaSmrg continue 2394ffd25bcaSmrg fi 2395ffd25bcaSmrg ac_cv_prog_CC="cc" 2396ffd25bcaSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2397ffd25bcaSmrg break 2 2398ffd25bcaSmrg fi 2399ffd25bcaSmrgdone 24007a2631fcSmrg done 24013e747e6dSmrgIFS=$as_save_IFS 24023e747e6dSmrg 2403ffd25bcaSmrgif test $ac_prog_rejected = yes; then 2404ffd25bcaSmrg # We found a bogon in the path, so make sure we never use it. 2405ffd25bcaSmrg set dummy $ac_cv_prog_CC 2406ffd25bcaSmrg shift 2407ffd25bcaSmrg if test $# != 0; then 2408ffd25bcaSmrg # We chose a different compiler from the bogus one. 2409ffd25bcaSmrg # However, it has the same basename, so the bogon will be chosen 2410ffd25bcaSmrg # first if we set CC to just the basename; use the full file name. 2411ffd25bcaSmrg shift 2412ffd25bcaSmrg ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 24133e747e6dSmrg fi 24143e747e6dSmrgfi 2415ffd25bcaSmrgfi 2416ffd25bcaSmrgfi 2417ffd25bcaSmrgCC=$ac_cv_prog_CC 2418ffd25bcaSmrgif test -n "$CC"; then 2419ffd25bcaSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2420ffd25bcaSmrg$as_echo "$CC" >&6; } 2421ffd25bcaSmrgelse 2422ffd25bcaSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2423ffd25bcaSmrg$as_echo "no" >&6; } 2424ffd25bcaSmrgfi 24253e747e6dSmrg 24263e747e6dSmrg 2427ffd25bcaSmrgfi 2428ffd25bcaSmrgif test -z "$CC"; then 2429ffd25bcaSmrg if test -n "$ac_tool_prefix"; then 2430ffd25bcaSmrg for ac_prog in cl.exe 2431ffd25bcaSmrg do 2432ffd25bcaSmrg # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2433ffd25bcaSmrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2 24347a2631fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 24357a2631fcSmrg$as_echo_n "checking for $ac_word... " >&6; } 2436ffd25bcaSmrgif ${ac_cv_prog_CC+:} false; then : 24377a2631fcSmrg $as_echo_n "(cached) " >&6 24383e747e6dSmrgelse 2439ffd25bcaSmrg if test -n "$CC"; then 2440ffd25bcaSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 24413e747e6dSmrgelse 24423e747e6dSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24433e747e6dSmrgfor as_dir in $PATH 24443e747e6dSmrgdo 24453e747e6dSmrg IFS=$as_save_IFS 24463e747e6dSmrg test -z "$as_dir" && as_dir=. 24477a2631fcSmrg for ac_exec_ext in '' $ac_executable_extensions; do 24483e747e6dSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2449ffd25bcaSmrg ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 24507a2631fcSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 24513e747e6dSmrg break 2 24523e747e6dSmrg fi 24533e747e6dSmrgdone 24547a2631fcSmrg done 24553e747e6dSmrgIFS=$as_save_IFS 24563e747e6dSmrg 24573e747e6dSmrgfi 24583e747e6dSmrgfi 2459ffd25bcaSmrgCC=$ac_cv_prog_CC 2460ffd25bcaSmrgif test -n "$CC"; then 2461ffd25bcaSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2462ffd25bcaSmrg$as_echo "$CC" >&6; } 24633e747e6dSmrgelse 24647a2631fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24657a2631fcSmrg$as_echo "no" >&6; } 24663e747e6dSmrgfi 24673e747e6dSmrg 24683e747e6dSmrg 2469ffd25bcaSmrg test -n "$CC" && break 2470ffd25bcaSmrg done 2471ffd25bcaSmrgfi 2472ffd25bcaSmrgif test -z "$CC"; then 2473ffd25bcaSmrg ac_ct_CC=$CC 2474ffd25bcaSmrg for ac_prog in cl.exe 2475ffd25bcaSmrgdo 2476ffd25bcaSmrg # Extract the first word of "$ac_prog", so it can be a program name with args. 2477ffd25bcaSmrgset dummy $ac_prog; ac_word=$2 2478ffd25bcaSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2479ffd25bcaSmrg$as_echo_n "checking for $ac_word... " >&6; } 2480ffd25bcaSmrgif ${ac_cv_prog_ac_ct_CC+:} false; then : 24817a2631fcSmrg $as_echo_n "(cached) " >&6 24823e747e6dSmrgelse 2483ffd25bcaSmrg if test -n "$ac_ct_CC"; then 2484ffd25bcaSmrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2485ffd25bcaSmrgelse 2486ffd25bcaSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2487ffd25bcaSmrgfor as_dir in $PATH 2488ffd25bcaSmrgdo 2489ffd25bcaSmrg IFS=$as_save_IFS 2490ffd25bcaSmrg test -z "$as_dir" && as_dir=. 2491ffd25bcaSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2492ffd25bcaSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2493ffd25bcaSmrg ac_cv_prog_ac_ct_CC="$ac_prog" 2494ffd25bcaSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2495ffd25bcaSmrg break 2 2496ffd25bcaSmrg fi 2497ffd25bcaSmrgdone 2498ffd25bcaSmrg done 2499ffd25bcaSmrgIFS=$as_save_IFS 2500ffd25bcaSmrg 25013e747e6dSmrgfi 2502ffd25bcaSmrgfi 2503ffd25bcaSmrgac_ct_CC=$ac_cv_prog_ac_ct_CC 2504ffd25bcaSmrgif test -n "$ac_ct_CC"; then 2505ffd25bcaSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2506ffd25bcaSmrg$as_echo "$ac_ct_CC" >&6; } 25073e747e6dSmrgelse 25087a2631fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25097a2631fcSmrg$as_echo "no" >&6; } 25103e747e6dSmrgfi 25113e747e6dSmrg 25123e747e6dSmrg 2513ffd25bcaSmrg test -n "$ac_ct_CC" && break 2514ffd25bcaSmrgdone 25153e747e6dSmrg 2516ffd25bcaSmrg if test "x$ac_ct_CC" = x; then 2517ffd25bcaSmrg CC="" 25183e747e6dSmrg else 2519ffd25bcaSmrg case $cross_compiling:$ac_tool_warned in 2520ffd25bcaSmrgyes:) 2521ffd25bcaSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2522ffd25bcaSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2523ffd25bcaSmrgac_tool_warned=yes ;; 2524ffd25bcaSmrgesac 2525ffd25bcaSmrg CC=$ac_ct_CC 25263e747e6dSmrg fi 25273e747e6dSmrgfi 25283e747e6dSmrg 2529ffd25bcaSmrgfi 25303e747e6dSmrg 25313e747e6dSmrg 2532ffd25bcaSmrgtest -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2533ffd25bcaSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2534ffd25bcaSmrgas_fn_error $? "no acceptable C compiler found in \$PATH 2535ffd25bcaSmrgSee \`config.log' for more details" "$LINENO" 5; } 25363e747e6dSmrg 2537ffd25bcaSmrg# Provide some information about the compiler. 2538ffd25bcaSmrg$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2539ffd25bcaSmrgset X $ac_compile 2540ffd25bcaSmrgac_compiler=$2 2541ffd25bcaSmrgfor ac_option in --version -v -V -qversion; do 2542ffd25bcaSmrg { { ac_try="$ac_compiler $ac_option >&5" 2543ffd25bcaSmrgcase "(($ac_try" in 2544ffd25bcaSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2545ffd25bcaSmrg *) ac_try_echo=$ac_try;; 2546ffd25bcaSmrgesac 2547ffd25bcaSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2548ffd25bcaSmrg$as_echo "$ac_try_echo"; } >&5 2549ffd25bcaSmrg (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2550ffd25bcaSmrg ac_status=$? 2551ffd25bcaSmrg if test -s conftest.err; then 2552ffd25bcaSmrg sed '10a\ 2553ffd25bcaSmrg... rest of stderr output deleted ... 2554ffd25bcaSmrg 10q' conftest.err >conftest.er1 2555ffd25bcaSmrg cat conftest.er1 >&5 2556ffd25bcaSmrg fi 2557ffd25bcaSmrg rm -f conftest.er1 conftest.err 2558ffd25bcaSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2559ffd25bcaSmrg test $ac_status = 0; } 2560ffd25bcaSmrgdone 25613e747e6dSmrg 2562ffd25bcaSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 2563ffd25bcaSmrg/* end confdefs.h. */ 25643e747e6dSmrg 2565ffd25bcaSmrgint 2566ffd25bcaSmrgmain () 2567ffd25bcaSmrg{ 25683e747e6dSmrg 2569ffd25bcaSmrg ; 2570ffd25bcaSmrg return 0; 2571ffd25bcaSmrg} 2572ffd25bcaSmrg_ACEOF 2573ffd25bcaSmrgac_clean_files_save=$ac_clean_files 2574ffd25bcaSmrgac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2575ffd25bcaSmrg# Try to create an executable without -o first, disregard a.out. 2576ffd25bcaSmrg# It will help us diagnose broken compilers, and finding out an intuition 2577ffd25bcaSmrg# of exeext. 2578ffd25bcaSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2579ffd25bcaSmrg$as_echo_n "checking whether the C compiler works... " >&6; } 2580ffd25bcaSmrgac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 25813e747e6dSmrg 2582ffd25bcaSmrg# The possible output files: 2583ffd25bcaSmrgac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 25843e747e6dSmrg 2585ffd25bcaSmrgac_rmfiles= 2586ffd25bcaSmrgfor ac_file in $ac_files 2587ffd25bcaSmrgdo 2588ffd25bcaSmrg case $ac_file in 2589ffd25bcaSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2590ffd25bcaSmrg * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2591ffd25bcaSmrg esac 2592ffd25bcaSmrgdone 2593ffd25bcaSmrgrm -f $ac_rmfiles 25947a2631fcSmrg 2595ffd25bcaSmrgif { { ac_try="$ac_link_default" 2596ffd25bcaSmrgcase "(($ac_try" in 2597ffd25bcaSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2598ffd25bcaSmrg *) ac_try_echo=$ac_try;; 2599ffd25bcaSmrgesac 2600ffd25bcaSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2601ffd25bcaSmrg$as_echo "$ac_try_echo"; } >&5 2602ffd25bcaSmrg (eval "$ac_link_default") 2>&5 2603ffd25bcaSmrg ac_status=$? 2604ffd25bcaSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2605ffd25bcaSmrg test $ac_status = 0; }; then : 2606ffd25bcaSmrg # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2607ffd25bcaSmrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2608ffd25bcaSmrg# in a Makefile. We should not override ac_cv_exeext if it was cached, 2609ffd25bcaSmrg# so that the user can short-circuit this test for compilers unknown to 2610ffd25bcaSmrg# Autoconf. 2611ffd25bcaSmrgfor ac_file in $ac_files '' 2612ffd25bcaSmrgdo 2613ffd25bcaSmrg test -f "$ac_file" || continue 2614ffd25bcaSmrg case $ac_file in 2615ffd25bcaSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2616ffd25bcaSmrg ;; 2617ffd25bcaSmrg [ab].out ) 2618ffd25bcaSmrg # We found the default executable, but exeext='' is most 2619ffd25bcaSmrg # certainly right. 2620ffd25bcaSmrg break;; 2621ffd25bcaSmrg *.* ) 2622ffd25bcaSmrg if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2623ffd25bcaSmrg then :; else 2624ffd25bcaSmrg ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2625ffd25bcaSmrg fi 2626ffd25bcaSmrg # We set ac_cv_exeext here because the later test for it is not 2627ffd25bcaSmrg # safe: cross compilers may not add the suffix if given an `-o' 2628ffd25bcaSmrg # argument, so we may need to know it at that point already. 2629ffd25bcaSmrg # Even if this section looks crufty: it has the advantage of 2630ffd25bcaSmrg # actually working. 2631ffd25bcaSmrg break;; 2632ffd25bcaSmrg * ) 2633ffd25bcaSmrg break;; 2634ffd25bcaSmrg esac 2635ffd25bcaSmrgdone 2636ffd25bcaSmrgtest "$ac_cv_exeext" = no && ac_cv_exeext= 2637ffd25bcaSmrg 2638ffd25bcaSmrgelse 2639ffd25bcaSmrg ac_file='' 2640ffd25bcaSmrgfi 2641ffd25bcaSmrgif test -z "$ac_file"; then : 2642ffd25bcaSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2643ffd25bcaSmrg$as_echo "no" >&6; } 2644ffd25bcaSmrg$as_echo "$as_me: failed program was:" >&5 2645ffd25bcaSmrgsed 's/^/| /' conftest.$ac_ext >&5 2646ffd25bcaSmrg 2647ffd25bcaSmrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2648ffd25bcaSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2649ffd25bcaSmrgas_fn_error 77 "C compiler cannot create executables 2650ffd25bcaSmrgSee \`config.log' for more details" "$LINENO" 5; } 2651ffd25bcaSmrgelse 2652ffd25bcaSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2653ffd25bcaSmrg$as_echo "yes" >&6; } 2654ffd25bcaSmrgfi 2655ffd25bcaSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2656ffd25bcaSmrg$as_echo_n "checking for C compiler default output file name... " >&6; } 2657ffd25bcaSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2658ffd25bcaSmrg$as_echo "$ac_file" >&6; } 2659ffd25bcaSmrgac_exeext=$ac_cv_exeext 2660ffd25bcaSmrg 2661ffd25bcaSmrgrm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2662ffd25bcaSmrgac_clean_files=$ac_clean_files_save 2663ffd25bcaSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2664ffd25bcaSmrg$as_echo_n "checking for suffix of executables... " >&6; } 2665ffd25bcaSmrgif { { ac_try="$ac_link" 2666ffd25bcaSmrgcase "(($ac_try" in 2667ffd25bcaSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2668ffd25bcaSmrg *) ac_try_echo=$ac_try;; 2669ffd25bcaSmrgesac 2670ffd25bcaSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2671ffd25bcaSmrg$as_echo "$ac_try_echo"; } >&5 2672ffd25bcaSmrg (eval "$ac_link") 2>&5 2673ffd25bcaSmrg ac_status=$? 2674ffd25bcaSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2675ffd25bcaSmrg test $ac_status = 0; }; then : 2676ffd25bcaSmrg # If both `conftest.exe' and `conftest' are `present' (well, observable) 2677ffd25bcaSmrg# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2678ffd25bcaSmrg# work properly (i.e., refer to `conftest.exe'), while it won't with 2679ffd25bcaSmrg# `rm'. 2680ffd25bcaSmrgfor ac_file in conftest.exe conftest conftest.*; do 2681ffd25bcaSmrg test -f "$ac_file" || continue 2682ffd25bcaSmrg case $ac_file in 2683ffd25bcaSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2684ffd25bcaSmrg *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2685ffd25bcaSmrg break;; 2686ffd25bcaSmrg * ) break;; 2687ffd25bcaSmrg esac 2688ffd25bcaSmrgdone 2689ffd25bcaSmrgelse 2690ffd25bcaSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2691ffd25bcaSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2692ffd25bcaSmrgas_fn_error $? "cannot compute suffix of executables: cannot compile and link 2693ffd25bcaSmrgSee \`config.log' for more details" "$LINENO" 5; } 2694ffd25bcaSmrgfi 2695ffd25bcaSmrgrm -f conftest conftest$ac_cv_exeext 2696ffd25bcaSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2697ffd25bcaSmrg$as_echo "$ac_cv_exeext" >&6; } 2698ffd25bcaSmrg 2699ffd25bcaSmrgrm -f conftest.$ac_ext 2700ffd25bcaSmrgEXEEXT=$ac_cv_exeext 2701ffd25bcaSmrgac_exeext=$EXEEXT 2702ffd25bcaSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 2703ffd25bcaSmrg/* end confdefs.h. */ 2704ffd25bcaSmrg#include <stdio.h> 2705ffd25bcaSmrgint 2706ffd25bcaSmrgmain () 2707ffd25bcaSmrg{ 2708ffd25bcaSmrgFILE *f = fopen ("conftest.out", "w"); 2709ffd25bcaSmrg return ferror (f) || fclose (f) != 0; 2710ffd25bcaSmrg 2711ffd25bcaSmrg ; 2712ffd25bcaSmrg return 0; 2713ffd25bcaSmrg} 2714ffd25bcaSmrg_ACEOF 2715ffd25bcaSmrgac_clean_files="$ac_clean_files conftest.out" 2716ffd25bcaSmrg# Check that the compiler produces executables we can run. If not, either 2717ffd25bcaSmrg# the compiler is broken, or we cross compile. 2718ffd25bcaSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2719ffd25bcaSmrg$as_echo_n "checking whether we are cross compiling... " >&6; } 2720ffd25bcaSmrgif test "$cross_compiling" != yes; then 2721ffd25bcaSmrg { { ac_try="$ac_link" 2722ffd25bcaSmrgcase "(($ac_try" in 2723ffd25bcaSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2724ffd25bcaSmrg *) ac_try_echo=$ac_try;; 2725ffd25bcaSmrgesac 2726ffd25bcaSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2727ffd25bcaSmrg$as_echo "$ac_try_echo"; } >&5 2728ffd25bcaSmrg (eval "$ac_link") 2>&5 2729ffd25bcaSmrg ac_status=$? 2730ffd25bcaSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2731ffd25bcaSmrg test $ac_status = 0; } 2732ffd25bcaSmrg if { ac_try='./conftest$ac_cv_exeext' 2733ffd25bcaSmrg { { case "(($ac_try" in 2734ffd25bcaSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2735ffd25bcaSmrg *) ac_try_echo=$ac_try;; 2736ffd25bcaSmrgesac 2737ffd25bcaSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2738ffd25bcaSmrg$as_echo "$ac_try_echo"; } >&5 2739ffd25bcaSmrg (eval "$ac_try") 2>&5 2740ffd25bcaSmrg ac_status=$? 2741ffd25bcaSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2742ffd25bcaSmrg test $ac_status = 0; }; }; then 2743ffd25bcaSmrg cross_compiling=no 2744ffd25bcaSmrg else 2745ffd25bcaSmrg if test "$cross_compiling" = maybe; then 2746ffd25bcaSmrg cross_compiling=yes 2747ffd25bcaSmrg else 2748ffd25bcaSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2749ffd25bcaSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2750ffd25bcaSmrgas_fn_error $? "cannot run C compiled programs. 2751ffd25bcaSmrgIf you meant to cross compile, use \`--host'. 2752ffd25bcaSmrgSee \`config.log' for more details" "$LINENO" 5; } 2753ffd25bcaSmrg fi 2754ffd25bcaSmrg fi 2755ffd25bcaSmrgfi 2756ffd25bcaSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2757ffd25bcaSmrg$as_echo "$cross_compiling" >&6; } 2758ffd25bcaSmrg 2759ffd25bcaSmrgrm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 2760ffd25bcaSmrgac_clean_files=$ac_clean_files_save 2761ffd25bcaSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2762ffd25bcaSmrg$as_echo_n "checking for suffix of object files... " >&6; } 2763ffd25bcaSmrgif ${ac_cv_objext+:} false; then : 2764ffd25bcaSmrg $as_echo_n "(cached) " >&6 2765ffd25bcaSmrgelse 2766ffd25bcaSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2767ffd25bcaSmrg/* end confdefs.h. */ 2768ffd25bcaSmrg 2769ffd25bcaSmrgint 2770ffd25bcaSmrgmain () 2771ffd25bcaSmrg{ 2772ffd25bcaSmrg 2773ffd25bcaSmrg ; 2774ffd25bcaSmrg return 0; 2775ffd25bcaSmrg} 2776ffd25bcaSmrg_ACEOF 2777ffd25bcaSmrgrm -f conftest.o conftest.obj 2778ffd25bcaSmrgif { { ac_try="$ac_compile" 2779ffd25bcaSmrgcase "(($ac_try" in 2780ffd25bcaSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2781ffd25bcaSmrg *) ac_try_echo=$ac_try;; 2782ffd25bcaSmrgesac 2783ffd25bcaSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2784ffd25bcaSmrg$as_echo "$ac_try_echo"; } >&5 2785ffd25bcaSmrg (eval "$ac_compile") 2>&5 2786ffd25bcaSmrg ac_status=$? 2787ffd25bcaSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2788ffd25bcaSmrg test $ac_status = 0; }; then : 2789ffd25bcaSmrg for ac_file in conftest.o conftest.obj conftest.*; do 2790ffd25bcaSmrg test -f "$ac_file" || continue; 2791ffd25bcaSmrg case $ac_file in 2792ffd25bcaSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2793ffd25bcaSmrg *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2794ffd25bcaSmrg break;; 2795ffd25bcaSmrg esac 2796ffd25bcaSmrgdone 2797ffd25bcaSmrgelse 2798ffd25bcaSmrg $as_echo "$as_me: failed program was:" >&5 2799ffd25bcaSmrgsed 's/^/| /' conftest.$ac_ext >&5 2800ffd25bcaSmrg 2801ffd25bcaSmrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2802ffd25bcaSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2803ffd25bcaSmrgas_fn_error $? "cannot compute suffix of object files: cannot compile 2804ffd25bcaSmrgSee \`config.log' for more details" "$LINENO" 5; } 2805ffd25bcaSmrgfi 2806ffd25bcaSmrgrm -f conftest.$ac_cv_objext conftest.$ac_ext 2807ffd25bcaSmrgfi 2808ffd25bcaSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2809ffd25bcaSmrg$as_echo "$ac_cv_objext" >&6; } 2810ffd25bcaSmrgOBJEXT=$ac_cv_objext 2811ffd25bcaSmrgac_objext=$OBJEXT 2812ffd25bcaSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2813ffd25bcaSmrg$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2814ffd25bcaSmrgif ${ac_cv_c_compiler_gnu+:} false; then : 2815ffd25bcaSmrg $as_echo_n "(cached) " >&6 2816ffd25bcaSmrgelse 2817ffd25bcaSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2818ffd25bcaSmrg/* end confdefs.h. */ 2819ffd25bcaSmrg 2820ffd25bcaSmrgint 2821ffd25bcaSmrgmain () 2822ffd25bcaSmrg{ 2823ffd25bcaSmrg#ifndef __GNUC__ 2824ffd25bcaSmrg choke me 2825ffd25bcaSmrg#endif 2826ffd25bcaSmrg 2827ffd25bcaSmrg ; 2828ffd25bcaSmrg return 0; 2829ffd25bcaSmrg} 2830ffd25bcaSmrg_ACEOF 2831ffd25bcaSmrgif ac_fn_c_try_compile "$LINENO"; then : 2832ffd25bcaSmrg ac_compiler_gnu=yes 2833ffd25bcaSmrgelse 2834ffd25bcaSmrg ac_compiler_gnu=no 2835ffd25bcaSmrgfi 2836ffd25bcaSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2837ffd25bcaSmrgac_cv_c_compiler_gnu=$ac_compiler_gnu 2838ffd25bcaSmrg 2839ffd25bcaSmrgfi 2840ffd25bcaSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 2841ffd25bcaSmrg$as_echo "$ac_cv_c_compiler_gnu" >&6; } 2842ffd25bcaSmrgif test $ac_compiler_gnu = yes; then 2843ffd25bcaSmrg GCC=yes 2844ffd25bcaSmrgelse 2845ffd25bcaSmrg GCC= 2846ffd25bcaSmrgfi 2847ffd25bcaSmrgac_test_CFLAGS=${CFLAGS+set} 2848ffd25bcaSmrgac_save_CFLAGS=$CFLAGS 2849ffd25bcaSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 2850ffd25bcaSmrg$as_echo_n "checking whether $CC accepts -g... " >&6; } 2851ffd25bcaSmrgif ${ac_cv_prog_cc_g+:} false; then : 2852ffd25bcaSmrg $as_echo_n "(cached) " >&6 2853ffd25bcaSmrgelse 2854ffd25bcaSmrg ac_save_c_werror_flag=$ac_c_werror_flag 2855ffd25bcaSmrg ac_c_werror_flag=yes 2856ffd25bcaSmrg ac_cv_prog_cc_g=no 2857ffd25bcaSmrg CFLAGS="-g" 2858ffd25bcaSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2859ffd25bcaSmrg/* end confdefs.h. */ 2860ffd25bcaSmrg 2861ffd25bcaSmrgint 2862ffd25bcaSmrgmain () 2863ffd25bcaSmrg{ 2864ffd25bcaSmrg 2865ffd25bcaSmrg ; 2866ffd25bcaSmrg return 0; 2867ffd25bcaSmrg} 2868ffd25bcaSmrg_ACEOF 2869ffd25bcaSmrgif ac_fn_c_try_compile "$LINENO"; then : 2870ffd25bcaSmrg ac_cv_prog_cc_g=yes 2871ffd25bcaSmrgelse 2872ffd25bcaSmrg CFLAGS="" 2873ffd25bcaSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2874ffd25bcaSmrg/* end confdefs.h. */ 2875ffd25bcaSmrg 2876ffd25bcaSmrgint 2877ffd25bcaSmrgmain () 2878ffd25bcaSmrg{ 2879ffd25bcaSmrg 2880ffd25bcaSmrg ; 2881ffd25bcaSmrg return 0; 2882ffd25bcaSmrg} 2883ffd25bcaSmrg_ACEOF 2884ffd25bcaSmrgif ac_fn_c_try_compile "$LINENO"; then : 2885ffd25bcaSmrg 2886ffd25bcaSmrgelse 2887ffd25bcaSmrg ac_c_werror_flag=$ac_save_c_werror_flag 2888ffd25bcaSmrg CFLAGS="-g" 2889ffd25bcaSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2890ffd25bcaSmrg/* end confdefs.h. */ 2891ffd25bcaSmrg 2892ffd25bcaSmrgint 2893ffd25bcaSmrgmain () 2894ffd25bcaSmrg{ 2895ffd25bcaSmrg 2896ffd25bcaSmrg ; 2897ffd25bcaSmrg return 0; 2898ffd25bcaSmrg} 2899ffd25bcaSmrg_ACEOF 2900ffd25bcaSmrgif ac_fn_c_try_compile "$LINENO"; then : 2901ffd25bcaSmrg ac_cv_prog_cc_g=yes 2902ffd25bcaSmrgfi 2903ffd25bcaSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2904ffd25bcaSmrgfi 2905ffd25bcaSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2906ffd25bcaSmrgfi 2907ffd25bcaSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2908ffd25bcaSmrg ac_c_werror_flag=$ac_save_c_werror_flag 2909ffd25bcaSmrgfi 2910ffd25bcaSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 2911ffd25bcaSmrg$as_echo "$ac_cv_prog_cc_g" >&6; } 2912ffd25bcaSmrgif test "$ac_test_CFLAGS" = set; then 2913ffd25bcaSmrg CFLAGS=$ac_save_CFLAGS 2914ffd25bcaSmrgelif test $ac_cv_prog_cc_g = yes; then 2915ffd25bcaSmrg if test "$GCC" = yes; then 2916ffd25bcaSmrg CFLAGS="-g -O2" 2917ffd25bcaSmrg else 2918ffd25bcaSmrg CFLAGS="-g" 2919ffd25bcaSmrg fi 2920ffd25bcaSmrgelse 2921ffd25bcaSmrg if test "$GCC" = yes; then 2922ffd25bcaSmrg CFLAGS="-O2" 2923ffd25bcaSmrg else 2924ffd25bcaSmrg CFLAGS= 2925ffd25bcaSmrg fi 2926ffd25bcaSmrgfi 2927ffd25bcaSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 2928ffd25bcaSmrg$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 2929ffd25bcaSmrgif ${ac_cv_prog_cc_c89+:} false; then : 2930ffd25bcaSmrg $as_echo_n "(cached) " >&6 2931ffd25bcaSmrgelse 2932ffd25bcaSmrg ac_cv_prog_cc_c89=no 2933ffd25bcaSmrgac_save_CC=$CC 2934ffd25bcaSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 2935ffd25bcaSmrg/* end confdefs.h. */ 2936ffd25bcaSmrg#include <stdarg.h> 2937ffd25bcaSmrg#include <stdio.h> 2938ffd25bcaSmrg#include <sys/types.h> 2939ffd25bcaSmrg#include <sys/stat.h> 2940ffd25bcaSmrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 2941ffd25bcaSmrgstruct buf { int x; }; 2942ffd25bcaSmrgFILE * (*rcsopen) (struct buf *, struct stat *, int); 2943ffd25bcaSmrgstatic char *e (p, i) 2944ffd25bcaSmrg char **p; 2945ffd25bcaSmrg int i; 2946ffd25bcaSmrg{ 2947ffd25bcaSmrg return p[i]; 2948ffd25bcaSmrg} 2949ffd25bcaSmrgstatic char *f (char * (*g) (char **, int), char **p, ...) 2950ffd25bcaSmrg{ 2951ffd25bcaSmrg char *s; 2952ffd25bcaSmrg va_list v; 2953ffd25bcaSmrg va_start (v,p); 2954ffd25bcaSmrg s = g (p, va_arg (v,int)); 2955ffd25bcaSmrg va_end (v); 2956ffd25bcaSmrg return s; 2957ffd25bcaSmrg} 2958ffd25bcaSmrg 2959ffd25bcaSmrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2960ffd25bcaSmrg function prototypes and stuff, but not '\xHH' hex character constants. 2961ffd25bcaSmrg These don't provoke an error unfortunately, instead are silently treated 2962ffd25bcaSmrg as 'x'. The following induces an error, until -std is added to get 2963ffd25bcaSmrg proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2964ffd25bcaSmrg array size at least. It's necessary to write '\x00'==0 to get something 2965ffd25bcaSmrg that's true only with -std. */ 2966ffd25bcaSmrgint osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2967ffd25bcaSmrg 2968ffd25bcaSmrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 2969ffd25bcaSmrg inside strings and character constants. */ 2970ffd25bcaSmrg#define FOO(x) 'x' 2971ffd25bcaSmrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2972ffd25bcaSmrg 2973ffd25bcaSmrgint test (int i, double x); 2974ffd25bcaSmrgstruct s1 {int (*f) (int a);}; 2975ffd25bcaSmrgstruct s2 {int (*f) (double a);}; 2976ffd25bcaSmrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2977ffd25bcaSmrgint argc; 2978ffd25bcaSmrgchar **argv; 2979ffd25bcaSmrgint 2980ffd25bcaSmrgmain () 2981ffd25bcaSmrg{ 2982ffd25bcaSmrgreturn f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 2983ffd25bcaSmrg ; 2984ffd25bcaSmrg return 0; 2985ffd25bcaSmrg} 2986ffd25bcaSmrg_ACEOF 2987ffd25bcaSmrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 2988ffd25bcaSmrg -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2989ffd25bcaSmrgdo 2990ffd25bcaSmrg CC="$ac_save_CC $ac_arg" 2991ffd25bcaSmrg if ac_fn_c_try_compile "$LINENO"; then : 2992ffd25bcaSmrg ac_cv_prog_cc_c89=$ac_arg 2993ffd25bcaSmrgfi 2994ffd25bcaSmrgrm -f core conftest.err conftest.$ac_objext 2995ffd25bcaSmrg test "x$ac_cv_prog_cc_c89" != "xno" && break 2996ffd25bcaSmrgdone 2997ffd25bcaSmrgrm -f conftest.$ac_ext 2998ffd25bcaSmrgCC=$ac_save_CC 2999ffd25bcaSmrg 3000ffd25bcaSmrgfi 3001ffd25bcaSmrg# AC_CACHE_VAL 3002ffd25bcaSmrgcase "x$ac_cv_prog_cc_c89" in 3003ffd25bcaSmrg x) 3004ffd25bcaSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3005ffd25bcaSmrg$as_echo "none needed" >&6; } ;; 3006ffd25bcaSmrg xno) 3007ffd25bcaSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3008ffd25bcaSmrg$as_echo "unsupported" >&6; } ;; 3009ffd25bcaSmrg *) 3010ffd25bcaSmrg CC="$CC $ac_cv_prog_cc_c89" 3011ffd25bcaSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3012ffd25bcaSmrg$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3013ffd25bcaSmrgesac 3014ffd25bcaSmrgif test "x$ac_cv_prog_cc_c89" != xno; then : 3015ffd25bcaSmrg 3016ffd25bcaSmrgfi 3017ffd25bcaSmrg 3018ffd25bcaSmrgac_ext=c 3019ffd25bcaSmrgac_cpp='$CPP $CPPFLAGS' 3020ffd25bcaSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3021ffd25bcaSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3022ffd25bcaSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 3023ffd25bcaSmrg 3024ffd25bcaSmrg 3025ffd25bcaSmrgac_ext=c 3026ffd25bcaSmrgac_cpp='$CPP $CPPFLAGS' 3027ffd25bcaSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3028ffd25bcaSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3029ffd25bcaSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 3030ffd25bcaSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3031ffd25bcaSmrg$as_echo_n "checking how to run the C preprocessor... " >&6; } 3032ffd25bcaSmrg# On Suns, sometimes $CPP names a directory. 3033ffd25bcaSmrgif test -n "$CPP" && test -d "$CPP"; then 3034ffd25bcaSmrg CPP= 3035ffd25bcaSmrgfi 3036ffd25bcaSmrgif test -z "$CPP"; then 3037ffd25bcaSmrg if ${ac_cv_prog_CPP+:} false; then : 3038ffd25bcaSmrg $as_echo_n "(cached) " >&6 3039ffd25bcaSmrgelse 3040ffd25bcaSmrg # Double quotes because CPP needs to be expanded 3041ffd25bcaSmrg for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3042ffd25bcaSmrg do 3043ffd25bcaSmrg ac_preproc_ok=false 3044ffd25bcaSmrgfor ac_c_preproc_warn_flag in '' yes 3045ffd25bcaSmrgdo 3046ffd25bcaSmrg # Use a header file that comes with gcc, so configuring glibc 3047ffd25bcaSmrg # with a fresh cross-compiler works. 3048ffd25bcaSmrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3049ffd25bcaSmrg # <limits.h> exists even on freestanding compilers. 3050ffd25bcaSmrg # On the NeXT, cc -E runs the code through the compiler's parser, 3051ffd25bcaSmrg # not just through cpp. "Syntax error" is here to catch this case. 3052ffd25bcaSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3053ffd25bcaSmrg/* end confdefs.h. */ 3054ffd25bcaSmrg#ifdef __STDC__ 3055ffd25bcaSmrg# include <limits.h> 3056ffd25bcaSmrg#else 3057ffd25bcaSmrg# include <assert.h> 3058ffd25bcaSmrg#endif 3059ffd25bcaSmrg Syntax error 3060ffd25bcaSmrg_ACEOF 3061ffd25bcaSmrgif ac_fn_c_try_cpp "$LINENO"; then : 30627a2631fcSmrg 3063ffd25bcaSmrgelse 3064ffd25bcaSmrg # Broken: fails on valid input. 3065ffd25bcaSmrgcontinue 3066ffd25bcaSmrgfi 3067ffd25bcaSmrgrm -f conftest.err conftest.i conftest.$ac_ext 30687a2631fcSmrg 3069ffd25bcaSmrg # OK, works on sane cases. Now check whether nonexistent headers 3070ffd25bcaSmrg # can be detected and how. 3071ffd25bcaSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3072ffd25bcaSmrg/* end confdefs.h. */ 3073ffd25bcaSmrg#include <ac_nonexistent.h> 3074ffd25bcaSmrg_ACEOF 3075ffd25bcaSmrgif ac_fn_c_try_cpp "$LINENO"; then : 3076ffd25bcaSmrg # Broken: success on invalid input. 3077ffd25bcaSmrgcontinue 3078ffd25bcaSmrgelse 3079ffd25bcaSmrg # Passes both tests. 3080ffd25bcaSmrgac_preproc_ok=: 3081ffd25bcaSmrgbreak 3082ffd25bcaSmrgfi 3083ffd25bcaSmrgrm -f conftest.err conftest.i conftest.$ac_ext 30847a2631fcSmrg 3085ffd25bcaSmrgdone 3086ffd25bcaSmrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3087ffd25bcaSmrgrm -f conftest.i conftest.err conftest.$ac_ext 3088ffd25bcaSmrgif $ac_preproc_ok; then : 3089ffd25bcaSmrg break 3090ffd25bcaSmrgfi 30917a2631fcSmrg 3092ffd25bcaSmrg done 3093ffd25bcaSmrg ac_cv_prog_CPP=$CPP 30947a2631fcSmrg 3095ffd25bcaSmrgfi 3096ffd25bcaSmrg CPP=$ac_cv_prog_CPP 3097ffd25bcaSmrgelse 3098ffd25bcaSmrg ac_cv_prog_CPP=$CPP 3099ffd25bcaSmrgfi 3100ffd25bcaSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3101ffd25bcaSmrg$as_echo "$CPP" >&6; } 3102ffd25bcaSmrgac_preproc_ok=false 3103ffd25bcaSmrgfor ac_c_preproc_warn_flag in '' yes 3104ffd25bcaSmrgdo 3105ffd25bcaSmrg # Use a header file that comes with gcc, so configuring glibc 3106ffd25bcaSmrg # with a fresh cross-compiler works. 3107ffd25bcaSmrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3108ffd25bcaSmrg # <limits.h> exists even on freestanding compilers. 3109ffd25bcaSmrg # On the NeXT, cc -E runs the code through the compiler's parser, 3110ffd25bcaSmrg # not just through cpp. "Syntax error" is here to catch this case. 3111ffd25bcaSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3112ffd25bcaSmrg/* end confdefs.h. */ 3113ffd25bcaSmrg#ifdef __STDC__ 3114ffd25bcaSmrg# include <limits.h> 3115ffd25bcaSmrg#else 3116ffd25bcaSmrg# include <assert.h> 3117ffd25bcaSmrg#endif 3118ffd25bcaSmrg Syntax error 3119ffd25bcaSmrg_ACEOF 3120ffd25bcaSmrgif ac_fn_c_try_cpp "$LINENO"; then : 31217a2631fcSmrg 31223e747e6dSmrgelse 3123ffd25bcaSmrg # Broken: fails on valid input. 3124ffd25bcaSmrgcontinue 3125ffd25bcaSmrgfi 3126ffd25bcaSmrgrm -f conftest.err conftest.i conftest.$ac_ext 3127ffd25bcaSmrg 3128ffd25bcaSmrg # OK, works on sane cases. Now check whether nonexistent headers 3129ffd25bcaSmrg # can be detected and how. 3130ffd25bcaSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3131ffd25bcaSmrg/* end confdefs.h. */ 3132ffd25bcaSmrg#include <ac_nonexistent.h> 3133ffd25bcaSmrg_ACEOF 3134ffd25bcaSmrgif ac_fn_c_try_cpp "$LINENO"; then : 3135ffd25bcaSmrg # Broken: success on invalid input. 3136ffd25bcaSmrgcontinue 3137ffd25bcaSmrgelse 3138ffd25bcaSmrg # Passes both tests. 3139ffd25bcaSmrgac_preproc_ok=: 3140ffd25bcaSmrgbreak 31417a2631fcSmrgfi 3142ffd25bcaSmrgrm -f conftest.err conftest.i conftest.$ac_ext 31437a2631fcSmrg 3144ffd25bcaSmrgdone 3145ffd25bcaSmrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3146ffd25bcaSmrgrm -f conftest.i conftest.err conftest.$ac_ext 3147ffd25bcaSmrgif $ac_preproc_ok; then : 3148ffd25bcaSmrg 3149ffd25bcaSmrgelse 3150ffd25bcaSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3151ffd25bcaSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3152ffd25bcaSmrgas_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3153ffd25bcaSmrgSee \`config.log' for more details" "$LINENO" 5; } 3154ffd25bcaSmrgfi 3155ffd25bcaSmrg 3156ffd25bcaSmrgac_ext=c 3157ffd25bcaSmrgac_cpp='$CPP $CPPFLAGS' 3158ffd25bcaSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3159ffd25bcaSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3160ffd25bcaSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 3161ffd25bcaSmrg 3162ffd25bcaSmrg 3163ffd25bcaSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3164ffd25bcaSmrg$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3165ffd25bcaSmrgif ${ac_cv_path_GREP+:} false; then : 3166ffd25bcaSmrg $as_echo_n "(cached) " >&6 3167ffd25bcaSmrgelse 3168ffd25bcaSmrg if test -z "$GREP"; then 3169ffd25bcaSmrg ac_path_GREP_found=false 3170ffd25bcaSmrg # Loop through the user's path and test for each of PROGNAME-LIST 3171ffd25bcaSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3172ffd25bcaSmrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3173ffd25bcaSmrgdo 3174ffd25bcaSmrg IFS=$as_save_IFS 3175ffd25bcaSmrg test -z "$as_dir" && as_dir=. 3176ffd25bcaSmrg for ac_prog in grep ggrep; do 3177ffd25bcaSmrg for ac_exec_ext in '' $ac_executable_extensions; do 3178ffd25bcaSmrg ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3179ffd25bcaSmrg { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3180ffd25bcaSmrg# Check for GNU ac_path_GREP and select it if it is found. 3181ffd25bcaSmrg # Check for GNU $ac_path_GREP 3182ffd25bcaSmrgcase `"$ac_path_GREP" --version 2>&1` in 3183ffd25bcaSmrg*GNU*) 3184ffd25bcaSmrg ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3185ffd25bcaSmrg*) 3186ffd25bcaSmrg ac_count=0 3187ffd25bcaSmrg $as_echo_n 0123456789 >"conftest.in" 3188ffd25bcaSmrg while : 3189ffd25bcaSmrg do 3190ffd25bcaSmrg cat "conftest.in" "conftest.in" >"conftest.tmp" 3191ffd25bcaSmrg mv "conftest.tmp" "conftest.in" 3192ffd25bcaSmrg cp "conftest.in" "conftest.nl" 3193ffd25bcaSmrg $as_echo 'GREP' >> "conftest.nl" 3194ffd25bcaSmrg "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3195ffd25bcaSmrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3196ffd25bcaSmrg as_fn_arith $ac_count + 1 && ac_count=$as_val 3197ffd25bcaSmrg if test $ac_count -gt ${ac_path_GREP_max-0}; then 3198ffd25bcaSmrg # Best one so far, save it but keep looking for a better one 3199ffd25bcaSmrg ac_cv_path_GREP="$ac_path_GREP" 3200ffd25bcaSmrg ac_path_GREP_max=$ac_count 3201ffd25bcaSmrg fi 3202ffd25bcaSmrg # 10*(2^10) chars as input seems more than enough 3203ffd25bcaSmrg test $ac_count -gt 10 && break 3204ffd25bcaSmrg done 3205ffd25bcaSmrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3206ffd25bcaSmrgesac 3207ffd25bcaSmrg 3208ffd25bcaSmrg $ac_path_GREP_found && break 3 3209ffd25bcaSmrg done 3210ffd25bcaSmrg done 3211ffd25bcaSmrg done 3212ffd25bcaSmrgIFS=$as_save_IFS 3213ffd25bcaSmrg if test -z "$ac_cv_path_GREP"; then 3214ffd25bcaSmrg as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3215ffd25bcaSmrg fi 3216ffd25bcaSmrgelse 3217ffd25bcaSmrg ac_cv_path_GREP=$GREP 3218ffd25bcaSmrgfi 3219ffd25bcaSmrg 3220ffd25bcaSmrgfi 3221ffd25bcaSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 3222ffd25bcaSmrg$as_echo "$ac_cv_path_GREP" >&6; } 3223ffd25bcaSmrg GREP="$ac_cv_path_GREP" 3224ffd25bcaSmrg 3225ffd25bcaSmrg 3226ffd25bcaSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 3227ffd25bcaSmrg$as_echo_n "checking for egrep... " >&6; } 3228ffd25bcaSmrgif ${ac_cv_path_EGREP+:} false; then : 3229ffd25bcaSmrg $as_echo_n "(cached) " >&6 3230ffd25bcaSmrgelse 3231ffd25bcaSmrg if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3232ffd25bcaSmrg then ac_cv_path_EGREP="$GREP -E" 3233ffd25bcaSmrg else 3234ffd25bcaSmrg if test -z "$EGREP"; then 3235ffd25bcaSmrg ac_path_EGREP_found=false 3236ffd25bcaSmrg # Loop through the user's path and test for each of PROGNAME-LIST 3237ffd25bcaSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3238ffd25bcaSmrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3239ffd25bcaSmrgdo 3240ffd25bcaSmrg IFS=$as_save_IFS 3241ffd25bcaSmrg test -z "$as_dir" && as_dir=. 3242ffd25bcaSmrg for ac_prog in egrep; do 3243ffd25bcaSmrg for ac_exec_ext in '' $ac_executable_extensions; do 3244ffd25bcaSmrg ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3245ffd25bcaSmrg { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 3246ffd25bcaSmrg# Check for GNU ac_path_EGREP and select it if it is found. 3247ffd25bcaSmrg # Check for GNU $ac_path_EGREP 3248ffd25bcaSmrgcase `"$ac_path_EGREP" --version 2>&1` in 3249ffd25bcaSmrg*GNU*) 3250ffd25bcaSmrg ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 3251ffd25bcaSmrg*) 3252ffd25bcaSmrg ac_count=0 3253ffd25bcaSmrg $as_echo_n 0123456789 >"conftest.in" 3254ffd25bcaSmrg while : 3255ffd25bcaSmrg do 3256ffd25bcaSmrg cat "conftest.in" "conftest.in" >"conftest.tmp" 3257ffd25bcaSmrg mv "conftest.tmp" "conftest.in" 3258ffd25bcaSmrg cp "conftest.in" "conftest.nl" 3259ffd25bcaSmrg $as_echo 'EGREP' >> "conftest.nl" 3260ffd25bcaSmrg "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3261ffd25bcaSmrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3262ffd25bcaSmrg as_fn_arith $ac_count + 1 && ac_count=$as_val 3263ffd25bcaSmrg if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3264ffd25bcaSmrg # Best one so far, save it but keep looking for a better one 3265ffd25bcaSmrg ac_cv_path_EGREP="$ac_path_EGREP" 3266ffd25bcaSmrg ac_path_EGREP_max=$ac_count 3267ffd25bcaSmrg fi 3268ffd25bcaSmrg # 10*(2^10) chars as input seems more than enough 3269ffd25bcaSmrg test $ac_count -gt 10 && break 3270ffd25bcaSmrg done 3271ffd25bcaSmrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3272ffd25bcaSmrgesac 3273ffd25bcaSmrg 3274ffd25bcaSmrg $ac_path_EGREP_found && break 3 3275ffd25bcaSmrg done 3276ffd25bcaSmrg done 3277ffd25bcaSmrg done 3278ffd25bcaSmrgIFS=$as_save_IFS 3279ffd25bcaSmrg if test -z "$ac_cv_path_EGREP"; then 3280ffd25bcaSmrg as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3281ffd25bcaSmrg fi 3282ffd25bcaSmrgelse 3283ffd25bcaSmrg ac_cv_path_EGREP=$EGREP 3284ffd25bcaSmrgfi 3285ffd25bcaSmrg 3286ffd25bcaSmrg fi 3287ffd25bcaSmrgfi 3288ffd25bcaSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 3289ffd25bcaSmrg$as_echo "$ac_cv_path_EGREP" >&6; } 3290ffd25bcaSmrg EGREP="$ac_cv_path_EGREP" 3291ffd25bcaSmrg 3292ffd25bcaSmrg 3293ffd25bcaSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 3294ffd25bcaSmrg$as_echo_n "checking for ANSI C header files... " >&6; } 3295ffd25bcaSmrgif ${ac_cv_header_stdc+:} false; then : 3296ffd25bcaSmrg $as_echo_n "(cached) " >&6 3297ffd25bcaSmrgelse 3298ffd25bcaSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3299ffd25bcaSmrg/* end confdefs.h. */ 3300ffd25bcaSmrg#include <stdlib.h> 3301ffd25bcaSmrg#include <stdarg.h> 3302ffd25bcaSmrg#include <string.h> 3303ffd25bcaSmrg#include <float.h> 3304ffd25bcaSmrg 3305ffd25bcaSmrgint 3306ffd25bcaSmrgmain () 3307ffd25bcaSmrg{ 3308ffd25bcaSmrg 3309ffd25bcaSmrg ; 3310ffd25bcaSmrg return 0; 3311ffd25bcaSmrg} 3312ffd25bcaSmrg_ACEOF 3313ffd25bcaSmrgif ac_fn_c_try_compile "$LINENO"; then : 3314ffd25bcaSmrg ac_cv_header_stdc=yes 33157a2631fcSmrgelse 3316ffd25bcaSmrg ac_cv_header_stdc=no 33177a2631fcSmrgfi 3318ffd25bcaSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 33197a2631fcSmrg 3320ffd25bcaSmrgif test $ac_cv_header_stdc = yes; then 3321ffd25bcaSmrg # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3322ffd25bcaSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3323ffd25bcaSmrg/* end confdefs.h. */ 3324ffd25bcaSmrg#include <string.h> 33257a2631fcSmrg 3326ffd25bcaSmrg_ACEOF 3327ffd25bcaSmrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3328ffd25bcaSmrg $EGREP "memchr" >/dev/null 2>&1; then : 33297a2631fcSmrg 3330ffd25bcaSmrgelse 3331ffd25bcaSmrg ac_cv_header_stdc=no 3332ffd25bcaSmrgfi 3333ffd25bcaSmrgrm -f conftest* 33347a2631fcSmrg 3335ffd25bcaSmrgfi 33367a2631fcSmrg 3337ffd25bcaSmrgif test $ac_cv_header_stdc = yes; then 3338ffd25bcaSmrg # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3339ffd25bcaSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3340ffd25bcaSmrg/* end confdefs.h. */ 3341ffd25bcaSmrg#include <stdlib.h> 33427a2631fcSmrg 3343ffd25bcaSmrg_ACEOF 3344ffd25bcaSmrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3345ffd25bcaSmrg $EGREP "free" >/dev/null 2>&1; then : 33467a2631fcSmrg 3347ffd25bcaSmrgelse 3348ffd25bcaSmrg ac_cv_header_stdc=no 3349ffd25bcaSmrgfi 3350ffd25bcaSmrgrm -f conftest* 33517a2631fcSmrg 3352ffd25bcaSmrgfi 33537a2631fcSmrg 3354ffd25bcaSmrgif test $ac_cv_header_stdc = yes; then 3355ffd25bcaSmrg # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3356ffd25bcaSmrg if test "$cross_compiling" = yes; then : 3357ffd25bcaSmrg : 3358ffd25bcaSmrgelse 3359ffd25bcaSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3360ffd25bcaSmrg/* end confdefs.h. */ 3361ffd25bcaSmrg#include <ctype.h> 3362ffd25bcaSmrg#include <stdlib.h> 3363ffd25bcaSmrg#if ((' ' & 0x0FF) == 0x020) 3364ffd25bcaSmrg# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3365ffd25bcaSmrg# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3366ffd25bcaSmrg#else 3367ffd25bcaSmrg# define ISLOWER(c) \ 3368ffd25bcaSmrg (('a' <= (c) && (c) <= 'i') \ 3369ffd25bcaSmrg || ('j' <= (c) && (c) <= 'r') \ 3370ffd25bcaSmrg || ('s' <= (c) && (c) <= 'z')) 3371ffd25bcaSmrg# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 3372ffd25bcaSmrg#endif 33737a2631fcSmrg 3374ffd25bcaSmrg#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3375ffd25bcaSmrgint 3376ffd25bcaSmrgmain () 3377ffd25bcaSmrg{ 3378ffd25bcaSmrg int i; 3379ffd25bcaSmrg for (i = 0; i < 256; i++) 3380ffd25bcaSmrg if (XOR (islower (i), ISLOWER (i)) 3381ffd25bcaSmrg || toupper (i) != TOUPPER (i)) 3382ffd25bcaSmrg return 2; 3383ffd25bcaSmrg return 0; 3384ffd25bcaSmrg} 3385ffd25bcaSmrg_ACEOF 3386ffd25bcaSmrgif ac_fn_c_try_run "$LINENO"; then : 33877a2631fcSmrg 3388ffd25bcaSmrgelse 3389ffd25bcaSmrg ac_cv_header_stdc=no 3390ffd25bcaSmrgfi 3391ffd25bcaSmrgrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 3392ffd25bcaSmrg conftest.$ac_objext conftest.beam conftest.$ac_ext 3393ffd25bcaSmrgfi 33947a2631fcSmrg 3395ffd25bcaSmrgfi 3396ffd25bcaSmrgfi 3397ffd25bcaSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 3398ffd25bcaSmrg$as_echo "$ac_cv_header_stdc" >&6; } 3399ffd25bcaSmrgif test $ac_cv_header_stdc = yes; then 34007a2631fcSmrg 3401ffd25bcaSmrg$as_echo "#define STDC_HEADERS 1" >>confdefs.h 34027a2631fcSmrg 34037a2631fcSmrgfi 34047a2631fcSmrg 3405ffd25bcaSmrg# On IRIX 5.3, sys/types and inttypes.h are conflicting. 3406ffd25bcaSmrgfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3407ffd25bcaSmrg inttypes.h stdint.h unistd.h 3408ffd25bcaSmrgdo : 3409ffd25bcaSmrg as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3410ffd25bcaSmrgac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 3411ffd25bcaSmrg" 3412ffd25bcaSmrgif eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 3413ffd25bcaSmrg cat >>confdefs.h <<_ACEOF 3414ffd25bcaSmrg#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 3415ffd25bcaSmrg_ACEOF 34167a2631fcSmrg 34177a2631fcSmrgfi 34187a2631fcSmrg 3419ffd25bcaSmrgdone 34207a2631fcSmrg 34217a2631fcSmrg 34223e747e6dSmrg 3423ffd25bcaSmrg ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 3424ffd25bcaSmrgif test "x$ac_cv_header_minix_config_h" = xyes; then : 3425ffd25bcaSmrg MINIX=yes 34263e747e6dSmrgelse 3427ffd25bcaSmrg MINIX= 34283e747e6dSmrgfi 34293e747e6dSmrg 34303e747e6dSmrg 3431ffd25bcaSmrg if test "$MINIX" = yes; then 34323e747e6dSmrg 3433ffd25bcaSmrg$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h 34343e747e6dSmrg 34353e747e6dSmrg 3436ffd25bcaSmrg$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h 3437ffd25bcaSmrg 3438ffd25bcaSmrg 3439ffd25bcaSmrg$as_echo "#define _MINIX 1" >>confdefs.h 3440ffd25bcaSmrg 34417a2631fcSmrg fi 34423e747e6dSmrg 3443ffd25bcaSmrg 3444ffd25bcaSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 3445ffd25bcaSmrg$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 3446ffd25bcaSmrgif ${ac_cv_safe_to_define___extensions__+:} false; then : 3447ffd25bcaSmrg $as_echo_n "(cached) " >&6 34483e747e6dSmrgelse 3449ffd25bcaSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3450ffd25bcaSmrg/* end confdefs.h. */ 3451ffd25bcaSmrg 3452ffd25bcaSmrg# define __EXTENSIONS__ 1 3453ffd25bcaSmrg $ac_includes_default 3454ffd25bcaSmrgint 3455ffd25bcaSmrgmain () 3456ffd25bcaSmrg{ 3457ffd25bcaSmrg 3458ffd25bcaSmrg ; 3459ffd25bcaSmrg return 0; 3460ffd25bcaSmrg} 3461ffd25bcaSmrg_ACEOF 3462ffd25bcaSmrgif ac_fn_c_try_compile "$LINENO"; then : 3463ffd25bcaSmrg ac_cv_safe_to_define___extensions__=yes 3464ffd25bcaSmrgelse 3465ffd25bcaSmrg ac_cv_safe_to_define___extensions__=no 34663e747e6dSmrgfi 3467ffd25bcaSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3468ffd25bcaSmrgfi 3469ffd25bcaSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 3470ffd25bcaSmrg$as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 3471ffd25bcaSmrg test $ac_cv_safe_to_define___extensions__ = yes && 3472ffd25bcaSmrg $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h 3473ffd25bcaSmrg 3474ffd25bcaSmrg $as_echo "#define _ALL_SOURCE 1" >>confdefs.h 3475ffd25bcaSmrg 3476ffd25bcaSmrg $as_echo "#define _GNU_SOURCE 1" >>confdefs.h 34773e747e6dSmrg 3478ffd25bcaSmrg $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 34793e747e6dSmrg 3480ffd25bcaSmrg $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h 3481ffd25bcaSmrg 3482ffd25bcaSmrg 3483ffd25bcaSmrg 3484ffd25bcaSmrg# Initialize Automake 3485ffd25bcaSmrgam__api_version='1.11' 3486ffd25bcaSmrg 3487ffd25bcaSmrgac_aux_dir= 3488ffd25bcaSmrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 3489ffd25bcaSmrg if test -f "$ac_dir/install-sh"; then 3490ffd25bcaSmrg ac_aux_dir=$ac_dir 3491ffd25bcaSmrg ac_install_sh="$ac_aux_dir/install-sh -c" 3492ffd25bcaSmrg break 3493ffd25bcaSmrg elif test -f "$ac_dir/install.sh"; then 3494ffd25bcaSmrg ac_aux_dir=$ac_dir 3495ffd25bcaSmrg ac_install_sh="$ac_aux_dir/install.sh -c" 3496ffd25bcaSmrg break 3497ffd25bcaSmrg elif test -f "$ac_dir/shtool"; then 3498ffd25bcaSmrg ac_aux_dir=$ac_dir 3499ffd25bcaSmrg ac_install_sh="$ac_aux_dir/shtool install -c" 3500ffd25bcaSmrg break 35017a2631fcSmrg fi 3502ffd25bcaSmrgdone 3503ffd25bcaSmrgif test -z "$ac_aux_dir"; then 3504ffd25bcaSmrg as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 35057a2631fcSmrgfi 3506ffd25bcaSmrg 3507ffd25bcaSmrg# These three variables are undocumented and unsupported, 3508ffd25bcaSmrg# and are intended to be withdrawn in a future Autoconf release. 3509ffd25bcaSmrg# They can cause serious problems if a builder's source tree is in a directory 3510ffd25bcaSmrg# whose full name contains unusual characters. 3511ffd25bcaSmrgac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 3512ffd25bcaSmrgac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 3513ffd25bcaSmrgac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 3514ffd25bcaSmrg 3515ffd25bcaSmrg 3516ffd25bcaSmrg# Find a good install program. We prefer a C program (faster), 3517ffd25bcaSmrg# so one script is as good as another. But avoid the broken or 3518ffd25bcaSmrg# incompatible versions: 3519ffd25bcaSmrg# SysV /etc/install, /usr/sbin/install 3520ffd25bcaSmrg# SunOS /usr/etc/install 3521ffd25bcaSmrg# IRIX /sbin/install 3522ffd25bcaSmrg# AIX /bin/install 3523ffd25bcaSmrg# AmigaOS /C/install, which installs bootblocks on floppy discs 3524ffd25bcaSmrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3525ffd25bcaSmrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 3526ffd25bcaSmrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3527ffd25bcaSmrg# OS/2's system install, which has a completely different semantic 3528ffd25bcaSmrg# ./install, which can be erroneously created by make from ./install.sh. 3529ffd25bcaSmrg# Reject install programs that cannot install multiple files. 3530ffd25bcaSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 3531ffd25bcaSmrg$as_echo_n "checking for a BSD-compatible install... " >&6; } 3532ffd25bcaSmrgif test -z "$INSTALL"; then 3533ffd25bcaSmrgif ${ac_cv_path_install+:} false; then : 35347a2631fcSmrg $as_echo_n "(cached) " >&6 35357a2631fcSmrgelse 3536ffd25bcaSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 35377a2631fcSmrgfor as_dir in $PATH 35387a2631fcSmrgdo 35397a2631fcSmrg IFS=$as_save_IFS 35407a2631fcSmrg test -z "$as_dir" && as_dir=. 3541ffd25bcaSmrg # Account for people who put trailing slashes in PATH elements. 3542ffd25bcaSmrgcase $as_dir/ in #(( 3543ffd25bcaSmrg ./ | .// | /[cC]/* | \ 3544ffd25bcaSmrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3545ffd25bcaSmrg ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 3546ffd25bcaSmrg /usr/ucb/* ) ;; 3547ffd25bcaSmrg *) 3548ffd25bcaSmrg # OSF1 and SCO ODT 3.0 have their own names for install. 3549ffd25bcaSmrg # Don't use installbsd from OSF since it installs stuff as root 3550ffd25bcaSmrg # by default. 3551ffd25bcaSmrg for ac_prog in ginstall scoinst install; do 3552ffd25bcaSmrg for ac_exec_ext in '' $ac_executable_extensions; do 3553ffd25bcaSmrg if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 3554ffd25bcaSmrg if test $ac_prog = install && 3555ffd25bcaSmrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3556ffd25bcaSmrg # AIX install. It has an incompatible calling convention. 3557ffd25bcaSmrg : 3558ffd25bcaSmrg elif test $ac_prog = install && 3559ffd25bcaSmrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3560ffd25bcaSmrg # program-specific install script used by HP pwplus--don't use. 3561ffd25bcaSmrg : 3562ffd25bcaSmrg else 3563ffd25bcaSmrg rm -rf conftest.one conftest.two conftest.dir 3564ffd25bcaSmrg echo one > conftest.one 3565ffd25bcaSmrg echo two > conftest.two 3566ffd25bcaSmrg mkdir conftest.dir 3567ffd25bcaSmrg if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 3568ffd25bcaSmrg test -s conftest.one && test -s conftest.two && 3569ffd25bcaSmrg test -s conftest.dir/conftest.one && 3570ffd25bcaSmrg test -s conftest.dir/conftest.two 3571ffd25bcaSmrg then 3572ffd25bcaSmrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3573ffd25bcaSmrg break 3 3574ffd25bcaSmrg fi 3575ffd25bcaSmrg fi 3576ffd25bcaSmrg fi 3577ffd25bcaSmrg done 3578ffd25bcaSmrg done 3579ffd25bcaSmrg ;; 3580ffd25bcaSmrgesac 3581ffd25bcaSmrg 35827a2631fcSmrg done 35837a2631fcSmrgIFS=$as_save_IFS 35843e747e6dSmrg 3585ffd25bcaSmrgrm -rf conftest.one conftest.two conftest.dir 3586ffd25bcaSmrg 3587ffd25bcaSmrgfi 3588ffd25bcaSmrg if test "${ac_cv_path_install+set}" = set; then 3589ffd25bcaSmrg INSTALL=$ac_cv_path_install 3590ffd25bcaSmrg else 3591ffd25bcaSmrg # As a last resort, use the slow shell script. Don't cache a 3592ffd25bcaSmrg # value for INSTALL within a source directory, because that will 3593ffd25bcaSmrg # break other packages using the cache if that directory is 3594ffd25bcaSmrg # removed, or if the value is a relative name. 3595ffd25bcaSmrg INSTALL=$ac_install_sh 35967a2631fcSmrg fi 35977a2631fcSmrgfi 3598ffd25bcaSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 3599ffd25bcaSmrg$as_echo "$INSTALL" >&6; } 3600ffd25bcaSmrg 3601ffd25bcaSmrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3602ffd25bcaSmrg# It thinks the first close brace ends the variable substitution. 3603ffd25bcaSmrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3604ffd25bcaSmrg 3605ffd25bcaSmrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 3606ffd25bcaSmrg 3607ffd25bcaSmrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3608ffd25bcaSmrg 3609ffd25bcaSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 3610ffd25bcaSmrg$as_echo_n "checking whether build environment is sane... " >&6; } 3611ffd25bcaSmrg# Just in case 3612ffd25bcaSmrgsleep 1 3613ffd25bcaSmrgecho timestamp > conftest.file 3614ffd25bcaSmrg# Reject unsafe characters in $srcdir or the absolute working directory 3615ffd25bcaSmrg# name. Accept space and tab only in the latter. 3616ffd25bcaSmrgam_lf=' 3617ffd25bcaSmrg' 3618ffd25bcaSmrgcase `pwd` in 3619ffd25bcaSmrg *[\\\"\#\$\&\'\`$am_lf]*) 3620ffd25bcaSmrg as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 3621ffd25bcaSmrgesac 3622ffd25bcaSmrgcase $srcdir in 3623ffd25bcaSmrg *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 3624ffd25bcaSmrg as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 3625ffd25bcaSmrgesac 3626ffd25bcaSmrg 3627ffd25bcaSmrg# Do `set' in a subshell so we don't clobber the current shell's 3628ffd25bcaSmrg# arguments. Must try -L first in case configure is actually a 3629ffd25bcaSmrg# symlink; some systems play weird games with the mod time of symlinks 3630ffd25bcaSmrg# (eg FreeBSD returns the mod time of the symlink's containing 3631ffd25bcaSmrg# directory). 3632ffd25bcaSmrgif ( 3633ffd25bcaSmrg set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 3634ffd25bcaSmrg if test "$*" = "X"; then 3635ffd25bcaSmrg # -L didn't work. 3636ffd25bcaSmrg set X `ls -t "$srcdir/configure" conftest.file` 3637ffd25bcaSmrg fi 3638ffd25bcaSmrg rm -f conftest.file 3639ffd25bcaSmrg if test "$*" != "X $srcdir/configure conftest.file" \ 3640ffd25bcaSmrg && test "$*" != "X conftest.file $srcdir/configure"; then 3641ffd25bcaSmrg 3642ffd25bcaSmrg # If neither matched, then we have a broken ls. This can happen 3643ffd25bcaSmrg # if, for instance, CONFIG_SHELL is bash and it inherits a 3644ffd25bcaSmrg # broken ls alias from the environment. This has actually 3645ffd25bcaSmrg # happened. Such a system could not be considered "sane". 3646ffd25bcaSmrg as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 3647ffd25bcaSmrgalias in your environment" "$LINENO" 5 3648ffd25bcaSmrg fi 3649ffd25bcaSmrg 3650ffd25bcaSmrg test "$2" = conftest.file 3651ffd25bcaSmrg ) 3652ffd25bcaSmrgthen 3653ffd25bcaSmrg # Ok. 3654ffd25bcaSmrg : 3655ffd25bcaSmrgelse 3656ffd25bcaSmrg as_fn_error $? "newly created file is older than distributed files! 3657ffd25bcaSmrgCheck your system clock" "$LINENO" 5 36587a2631fcSmrgfi 3659ffd25bcaSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3660ffd25bcaSmrg$as_echo "yes" >&6; } 3661ffd25bcaSmrgtest "$program_prefix" != NONE && 3662ffd25bcaSmrg program_transform_name="s&^&$program_prefix&;$program_transform_name" 3663ffd25bcaSmrg# Use a double $ so make ignores it. 3664ffd25bcaSmrgtest "$program_suffix" != NONE && 3665ffd25bcaSmrg program_transform_name="s&\$&$program_suffix&;$program_transform_name" 3666ffd25bcaSmrg# Double any \ or $. 3667ffd25bcaSmrg# By default was `s,x,x', remove it if useless. 3668ffd25bcaSmrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 3669ffd25bcaSmrgprogram_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 3670ffd25bcaSmrg 3671ffd25bcaSmrg# expand $ac_aux_dir to an absolute path 3672ffd25bcaSmrgam_aux_dir=`cd $ac_aux_dir && pwd` 3673ffd25bcaSmrg 3674ffd25bcaSmrgif test x"${MISSING+set}" != xset; then 3675ffd25bcaSmrg case $am_aux_dir in 3676ffd25bcaSmrg *\ * | *\ *) 3677ffd25bcaSmrg MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 3678ffd25bcaSmrg *) 3679ffd25bcaSmrg MISSING="\${SHELL} $am_aux_dir/missing" ;; 3680ffd25bcaSmrg esac 36817a2631fcSmrgfi 3682ffd25bcaSmrg# Use eval to expand $SHELL 3683ffd25bcaSmrgif eval "$MISSING --run true"; then 3684ffd25bcaSmrg am_missing_run="$MISSING --run " 36857a2631fcSmrgelse 3686ffd25bcaSmrg am_missing_run= 3687ffd25bcaSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 3688ffd25bcaSmrg$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 36897a2631fcSmrgfi 36903e747e6dSmrg 3691ffd25bcaSmrgif test x"${install_sh}" != xset; then 3692ffd25bcaSmrg case $am_aux_dir in 3693ffd25bcaSmrg *\ * | *\ *) 3694ffd25bcaSmrg install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 3695ffd25bcaSmrg *) 3696ffd25bcaSmrg install_sh="\${SHELL} $am_aux_dir/install-sh" 3697ffd25bcaSmrg esac 36987a2631fcSmrgfi 3699ffd25bcaSmrg 3700ffd25bcaSmrg# Installed binaries are usually stripped using `strip' when the user 3701ffd25bcaSmrg# run `make install-strip'. However `strip' might not be the right 3702ffd25bcaSmrg# tool to use in cross-compilation environments, therefore Automake 3703ffd25bcaSmrg# will honor the `STRIP' environment variable to overrule this program. 3704ffd25bcaSmrgif test "$cross_compiling" != no; then 37057a2631fcSmrg if test -n "$ac_tool_prefix"; then 3706ffd25bcaSmrg # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 3707ffd25bcaSmrgset dummy ${ac_tool_prefix}strip; ac_word=$2 37087a2631fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 37097a2631fcSmrg$as_echo_n "checking for $ac_word... " >&6; } 3710ffd25bcaSmrgif ${ac_cv_prog_STRIP+:} false; then : 37117a2631fcSmrg $as_echo_n "(cached) " >&6 37123e747e6dSmrgelse 3713ffd25bcaSmrg if test -n "$STRIP"; then 3714ffd25bcaSmrg ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 37153e747e6dSmrgelse 37163e747e6dSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 37173e747e6dSmrgfor as_dir in $PATH 37183e747e6dSmrgdo 37193e747e6dSmrg IFS=$as_save_IFS 37203e747e6dSmrg test -z "$as_dir" && as_dir=. 37217a2631fcSmrg for ac_exec_ext in '' $ac_executable_extensions; do 37223e747e6dSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3723ffd25bcaSmrg ac_cv_prog_STRIP="${ac_tool_prefix}strip" 37247a2631fcSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 37253e747e6dSmrg break 2 37263e747e6dSmrg fi 37273e747e6dSmrgdone 37287a2631fcSmrg done 37293e747e6dSmrgIFS=$as_save_IFS 37303e747e6dSmrg 37313e747e6dSmrgfi 37323e747e6dSmrgfi 3733ffd25bcaSmrgSTRIP=$ac_cv_prog_STRIP 3734ffd25bcaSmrgif test -n "$STRIP"; then 3735ffd25bcaSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 3736ffd25bcaSmrg$as_echo "$STRIP" >&6; } 37373e747e6dSmrgelse 37387a2631fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 37397a2631fcSmrg$as_echo "no" >&6; } 37403e747e6dSmrgfi 37413e747e6dSmrg 37423e747e6dSmrg 37433e747e6dSmrgfi 3744ffd25bcaSmrgif test -z "$ac_cv_prog_STRIP"; then 3745ffd25bcaSmrg ac_ct_STRIP=$STRIP 3746ffd25bcaSmrg # Extract the first word of "strip", so it can be a program name with args. 3747ffd25bcaSmrgset dummy strip; ac_word=$2 37487a2631fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 37497a2631fcSmrg$as_echo_n "checking for $ac_word... " >&6; } 3750ffd25bcaSmrgif ${ac_cv_prog_ac_ct_STRIP+:} false; then : 37517a2631fcSmrg $as_echo_n "(cached) " >&6 37523e747e6dSmrgelse 3753ffd25bcaSmrg if test -n "$ac_ct_STRIP"; then 3754ffd25bcaSmrg ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 37553e747e6dSmrgelse 37563e747e6dSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 37573e747e6dSmrgfor as_dir in $PATH 37583e747e6dSmrgdo 37593e747e6dSmrg IFS=$as_save_IFS 37603e747e6dSmrg test -z "$as_dir" && as_dir=. 37617a2631fcSmrg for ac_exec_ext in '' $ac_executable_extensions; do 37623e747e6dSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3763ffd25bcaSmrg ac_cv_prog_ac_ct_STRIP="strip" 3764ffd25bcaSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3765ffd25bcaSmrg break 2 3766ffd25bcaSmrg fi 37673e747e6dSmrgdone 3768ffd25bcaSmrg done 3769ffd25bcaSmrgIFS=$as_save_IFS 3770ffd25bcaSmrg 3771ffd25bcaSmrgfi 3772ffd25bcaSmrgfi 3773ffd25bcaSmrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 3774ffd25bcaSmrgif test -n "$ac_ct_STRIP"; then 3775ffd25bcaSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 3776ffd25bcaSmrg$as_echo "$ac_ct_STRIP" >&6; } 37773e747e6dSmrgelse 3778ffd25bcaSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3779ffd25bcaSmrg$as_echo "no" >&6; } 37803e747e6dSmrgfi 37813e747e6dSmrg 3782ffd25bcaSmrg if test "x$ac_ct_STRIP" = x; then 3783ffd25bcaSmrg STRIP=":" 37847a2631fcSmrg else 3785ffd25bcaSmrg case $cross_compiling:$ac_tool_warned in 3786ffd25bcaSmrgyes:) 3787ffd25bcaSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3788ffd25bcaSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3789ffd25bcaSmrgac_tool_warned=yes ;; 3790ffd25bcaSmrgesac 3791ffd25bcaSmrg STRIP=$ac_ct_STRIP 37923e747e6dSmrg fi 3793ffd25bcaSmrgelse 3794ffd25bcaSmrg STRIP="$ac_cv_prog_STRIP" 37953e747e6dSmrgfi 37967a2631fcSmrg 3797ffd25bcaSmrgfi 3798ffd25bcaSmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 3799ffd25bcaSmrg 3800ffd25bcaSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 3801ffd25bcaSmrg$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 3802ffd25bcaSmrgif test -z "$MKDIR_P"; then 3803ffd25bcaSmrg if ${ac_cv_path_mkdir+:} false; then : 38047a2631fcSmrg $as_echo_n "(cached) " >&6 38053e747e6dSmrgelse 3806ffd25bcaSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3807ffd25bcaSmrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 3808ffd25bcaSmrgdo 3809ffd25bcaSmrg IFS=$as_save_IFS 3810ffd25bcaSmrg test -z "$as_dir" && as_dir=. 3811ffd25bcaSmrg for ac_prog in mkdir gmkdir; do 3812ffd25bcaSmrg for ac_exec_ext in '' $ac_executable_extensions; do 3813ffd25bcaSmrg { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 3814ffd25bcaSmrg case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 3815ffd25bcaSmrg 'mkdir (GNU coreutils) '* | \ 3816ffd25bcaSmrg 'mkdir (coreutils) '* | \ 3817ffd25bcaSmrg 'mkdir (fileutils) '4.1*) 3818ffd25bcaSmrg ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 3819ffd25bcaSmrg break 3;; 3820ffd25bcaSmrg esac 3821ffd25bcaSmrg done 3822ffd25bcaSmrg done 3823ffd25bcaSmrg done 3824ffd25bcaSmrgIFS=$as_save_IFS 38257a2631fcSmrg 3826ffd25bcaSmrgfi 38277a2631fcSmrg 3828ffd25bcaSmrg test -d ./--version && rmdir ./--version 3829ffd25bcaSmrg if test "${ac_cv_path_mkdir+set}" = set; then 3830ffd25bcaSmrg MKDIR_P="$ac_cv_path_mkdir -p" 3831ffd25bcaSmrg else 3832ffd25bcaSmrg # As a last resort, use the slow shell script. Don't cache a 3833ffd25bcaSmrg # value for MKDIR_P within a source directory, because that will 3834ffd25bcaSmrg # break other packages using the cache if that directory is 3835ffd25bcaSmrg # removed, or if the value is a relative name. 3836ffd25bcaSmrg MKDIR_P="$ac_install_sh -d" 3837ffd25bcaSmrg fi 3838ffd25bcaSmrgfi 3839ffd25bcaSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 3840ffd25bcaSmrg$as_echo "$MKDIR_P" >&6; } 3841ffd25bcaSmrg 3842ffd25bcaSmrgmkdir_p="$MKDIR_P" 3843ffd25bcaSmrgcase $mkdir_p in 3844ffd25bcaSmrg [\\/$]* | ?:[\\/]*) ;; 3845ffd25bcaSmrg */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 38467a2631fcSmrgesac 3847ffd25bcaSmrg 3848ffd25bcaSmrgfor ac_prog in gawk mawk nawk awk 3849ffd25bcaSmrgdo 3850ffd25bcaSmrg # Extract the first word of "$ac_prog", so it can be a program name with args. 3851ffd25bcaSmrgset dummy $ac_prog; ac_word=$2 3852ffd25bcaSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3853ffd25bcaSmrg$as_echo_n "checking for $ac_word... " >&6; } 3854ffd25bcaSmrgif ${ac_cv_prog_AWK+:} false; then : 3855ffd25bcaSmrg $as_echo_n "(cached) " >&6 38567a2631fcSmrgelse 3857ffd25bcaSmrg if test -n "$AWK"; then 3858ffd25bcaSmrg ac_cv_prog_AWK="$AWK" # Let the user override the test. 3859ffd25bcaSmrgelse 3860ffd25bcaSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3861ffd25bcaSmrgfor as_dir in $PATH 3862ffd25bcaSmrgdo 3863ffd25bcaSmrg IFS=$as_save_IFS 3864ffd25bcaSmrg test -z "$as_dir" && as_dir=. 3865ffd25bcaSmrg for ac_exec_ext in '' $ac_executable_extensions; do 3866ffd25bcaSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3867ffd25bcaSmrg ac_cv_prog_AWK="$ac_prog" 3868ffd25bcaSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3869ffd25bcaSmrg break 2 3870ffd25bcaSmrg fi 3871ffd25bcaSmrgdone 3872ffd25bcaSmrg done 3873ffd25bcaSmrgIFS=$as_save_IFS 38743e747e6dSmrg 38753e747e6dSmrgfi 38763e747e6dSmrgfi 3877ffd25bcaSmrgAWK=$ac_cv_prog_AWK 3878ffd25bcaSmrgif test -n "$AWK"; then 3879ffd25bcaSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3880ffd25bcaSmrg$as_echo "$AWK" >&6; } 38813e747e6dSmrgelse 3882ffd25bcaSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3883ffd25bcaSmrg$as_echo "no" >&6; } 3884ffd25bcaSmrgfi 38853e747e6dSmrg 38863e747e6dSmrg 3887ffd25bcaSmrg test -n "$AWK" && break 3888ffd25bcaSmrgdone 3889ffd25bcaSmrg 3890ffd25bcaSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3891ffd25bcaSmrg$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3892ffd25bcaSmrgset x ${MAKE-make} 3893ffd25bcaSmrgac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3894ffd25bcaSmrgif eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 3895ffd25bcaSmrg $as_echo_n "(cached) " >&6 3896ffd25bcaSmrgelse 3897ffd25bcaSmrg cat >conftest.make <<\_ACEOF 3898ffd25bcaSmrgSHELL = /bin/sh 3899ffd25bcaSmrgall: 3900ffd25bcaSmrg @echo '@@@%%%=$(MAKE)=@@@%%%' 39017a2631fcSmrg_ACEOF 3902ffd25bcaSmrg# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 3903ffd25bcaSmrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in 3904ffd25bcaSmrg *@@@%%%=?*=@@@%%%*) 3905ffd25bcaSmrg eval ac_cv_prog_make_${ac_make}_set=yes;; 3906ffd25bcaSmrg *) 3907ffd25bcaSmrg eval ac_cv_prog_make_${ac_make}_set=no;; 3908ffd25bcaSmrgesac 3909ffd25bcaSmrgrm -f conftest.make 3910ffd25bcaSmrgfi 3911ffd25bcaSmrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3912ffd25bcaSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3913ffd25bcaSmrg$as_echo "yes" >&6; } 3914ffd25bcaSmrg SET_MAKE= 39153e747e6dSmrgelse 3916ffd25bcaSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3917ffd25bcaSmrg$as_echo "no" >&6; } 3918ffd25bcaSmrg SET_MAKE="MAKE=${MAKE-make}" 39193e747e6dSmrgfi 39207a2631fcSmrg 3921ffd25bcaSmrgrm -rf .tst 2>/dev/null 3922ffd25bcaSmrgmkdir .tst 2>/dev/null 3923ffd25bcaSmrgif test -d .tst; then 3924ffd25bcaSmrg am__leading_dot=. 39253e747e6dSmrgelse 3926ffd25bcaSmrg am__leading_dot=_ 39273e747e6dSmrgfi 3928ffd25bcaSmrgrmdir .tst 2>/dev/null 39293e747e6dSmrg 3930ffd25bcaSmrgDEPDIR="${am__leading_dot}deps" 39313e747e6dSmrg 3932ffd25bcaSmrgac_config_commands="$ac_config_commands depfiles" 39337a2631fcSmrg 39347a2631fcSmrg 3935ffd25bcaSmrgam_make=${MAKE-make} 3936ffd25bcaSmrgcat > confinc << 'END' 3937ffd25bcaSmrgam__doit: 3938ffd25bcaSmrg @echo this is the am__doit target 3939ffd25bcaSmrg.PHONY: am__doit 3940ffd25bcaSmrgEND 3941ffd25bcaSmrg# If we don't find an include directive, just comment out the code. 3942ffd25bcaSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3943ffd25bcaSmrg$as_echo_n "checking for style of include used by $am_make... " >&6; } 3944ffd25bcaSmrgam__include="#" 3945ffd25bcaSmrgam__quote= 3946ffd25bcaSmrg_am_result=none 3947ffd25bcaSmrg# First try GNU make style include. 3948ffd25bcaSmrgecho "include confinc" > confmf 3949ffd25bcaSmrg# Ignore all kinds of additional output from `make'. 3950ffd25bcaSmrgcase `$am_make -s -f confmf 2> /dev/null` in #( 3951ffd25bcaSmrg*the\ am__doit\ target*) 3952ffd25bcaSmrg am__include=include 3953ffd25bcaSmrg am__quote= 3954ffd25bcaSmrg _am_result=GNU 3955ffd25bcaSmrg ;; 3956ffd25bcaSmrgesac 3957ffd25bcaSmrg# Now try BSD make style include. 3958ffd25bcaSmrgif test "$am__include" = "#"; then 3959ffd25bcaSmrg echo '.include "confinc"' > confmf 3960ffd25bcaSmrg case `$am_make -s -f confmf 2> /dev/null` in #( 3961ffd25bcaSmrg *the\ am__doit\ target*) 3962ffd25bcaSmrg am__include=.include 3963ffd25bcaSmrg am__quote="\"" 3964ffd25bcaSmrg _am_result=BSD 3965ffd25bcaSmrg ;; 3966ffd25bcaSmrg esac 3967ffd25bcaSmrgfi 39687a2631fcSmrg 39697a2631fcSmrg 3970ffd25bcaSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3971ffd25bcaSmrg$as_echo "$_am_result" >&6; } 3972ffd25bcaSmrgrm -f confinc confmf 39733e747e6dSmrg 3974ffd25bcaSmrg# Check whether --enable-dependency-tracking was given. 3975ffd25bcaSmrgif test "${enable_dependency_tracking+set}" = set; then : 3976ffd25bcaSmrg enableval=$enable_dependency_tracking; 39773e747e6dSmrgfi 3978ffd25bcaSmrg 3979ffd25bcaSmrgif test "x$enable_dependency_tracking" != xno; then 3980ffd25bcaSmrg am_depcomp="$ac_aux_dir/depcomp" 3981ffd25bcaSmrg AMDEPBACKSLASH='\' 39823e747e6dSmrgfi 3983ffd25bcaSmrg if test "x$enable_dependency_tracking" != xno; then 3984ffd25bcaSmrg AMDEP_TRUE= 3985ffd25bcaSmrg AMDEP_FALSE='#' 3986ffd25bcaSmrgelse 3987ffd25bcaSmrg AMDEP_TRUE='#' 3988ffd25bcaSmrg AMDEP_FALSE= 39897a2631fcSmrgfi 3990ffd25bcaSmrg 3991ffd25bcaSmrg 3992ffd25bcaSmrgif test "`cd $srcdir && pwd`" != "`pwd`"; then 3993ffd25bcaSmrg # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 3994ffd25bcaSmrg # is not polluted with repeated "-I." 3995ffd25bcaSmrg am__isrc=' -I$(srcdir)' 3996ffd25bcaSmrg # test to see if srcdir already configured 3997ffd25bcaSmrg if test -f $srcdir/config.status; then 3998ffd25bcaSmrg as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 39997a2631fcSmrg fi 4000ffd25bcaSmrgfi 4001ffd25bcaSmrg 4002ffd25bcaSmrg# test whether we have cygpath 4003ffd25bcaSmrgif test -z "$CYGPATH_W"; then 4004ffd25bcaSmrg if (cygpath --version) >/dev/null 2>/dev/null; then 4005ffd25bcaSmrg CYGPATH_W='cygpath -w' 40067a2631fcSmrg else 4007ffd25bcaSmrg CYGPATH_W=echo 40083e747e6dSmrg fi 40093e747e6dSmrgfi 40103e747e6dSmrg 40113e747e6dSmrg 4012ffd25bcaSmrg# Define the identity of the package. 4013ffd25bcaSmrg PACKAGE='twm' 4014ffd25bcaSmrg VERSION='1.0.7' 40153e747e6dSmrg 4016ffd25bcaSmrg 4017ffd25bcaSmrgcat >>confdefs.h <<_ACEOF 4018ffd25bcaSmrg#define PACKAGE "$PACKAGE" 40193e747e6dSmrg_ACEOF 40203e747e6dSmrg 40213e747e6dSmrg 4022ffd25bcaSmrgcat >>confdefs.h <<_ACEOF 4023ffd25bcaSmrg#define VERSION "$VERSION" 4024ffd25bcaSmrg_ACEOF 4025ffd25bcaSmrg 4026ffd25bcaSmrg# Some tools Automake needs. 4027ffd25bcaSmrg 4028ffd25bcaSmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 4029ffd25bcaSmrg 4030ffd25bcaSmrg 4031ffd25bcaSmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 4032ffd25bcaSmrg 4033ffd25bcaSmrg 4034ffd25bcaSmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 4035ffd25bcaSmrg 4036ffd25bcaSmrg 4037ffd25bcaSmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 4038ffd25bcaSmrg 4039ffd25bcaSmrg 4040ffd25bcaSmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 4041ffd25bcaSmrg 4042ffd25bcaSmrg# We need awk for the "check" target. The system "awk" is bad on 4043ffd25bcaSmrg# some platforms. 4044ffd25bcaSmrg# Always define AMTAR for backward compatibility. 4045ffd25bcaSmrg 4046ffd25bcaSmrgAMTAR=${AMTAR-"${am_missing_run}tar"} 4047ffd25bcaSmrg 4048ffd25bcaSmrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 4049ffd25bcaSmrg 4050ffd25bcaSmrg 40513e747e6dSmrg 40527a2631fcSmrg 40537a2631fcSmrgdepcc="$CC" am_compiler_list= 40547a2631fcSmrg 40557a2631fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 40567a2631fcSmrg$as_echo_n "checking dependency style of $depcc... " >&6; } 40577a2631fcSmrgif ${am_cv_CC_dependencies_compiler_type+:} false; then : 40587a2631fcSmrg $as_echo_n "(cached) " >&6 40597a2631fcSmrgelse 40607a2631fcSmrg if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 40617a2631fcSmrg # We make a subdir and do the tests there. Otherwise we can end up 40627a2631fcSmrg # making bogus files that we don't know about and never remove. For 40637a2631fcSmrg # instance it was reported that on HP-UX the gcc test will end up 40647a2631fcSmrg # making a dummy file named `D' -- because `-MD' means `put the output 40657a2631fcSmrg # in D'. 40667a2631fcSmrg mkdir conftest.dir 40677a2631fcSmrg # Copy depcomp to subdir because otherwise we won't find it if we're 40687a2631fcSmrg # using a relative directory. 40697a2631fcSmrg cp "$am_depcomp" conftest.dir 40707a2631fcSmrg cd conftest.dir 40717a2631fcSmrg # We will build objects and dependencies in a subdirectory because 40727a2631fcSmrg # it helps to detect inapplicable dependency modes. For instance 40737a2631fcSmrg # both Tru64's cc and ICC support -MD to output dependencies as a 40747a2631fcSmrg # side effect of compilation, but ICC will put the dependencies in 40757a2631fcSmrg # the current directory while Tru64 will put them in the object 40767a2631fcSmrg # directory. 40777a2631fcSmrg mkdir sub 40787a2631fcSmrg 40797a2631fcSmrg am_cv_CC_dependencies_compiler_type=none 40807a2631fcSmrg if test "$am_compiler_list" = ""; then 40817a2631fcSmrg am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 40827a2631fcSmrg fi 40837a2631fcSmrg am__universal=false 40847a2631fcSmrg case " $depcc " in #( 40857a2631fcSmrg *\ -arch\ *\ -arch\ *) am__universal=true ;; 40867a2631fcSmrg esac 40877a2631fcSmrg 40887a2631fcSmrg for depmode in $am_compiler_list; do 40897a2631fcSmrg # Setup a source with many dependencies, because some compilers 40907a2631fcSmrg # like to wrap large dependency lists on column 80 (with \), and 40917a2631fcSmrg # we should not choose a depcomp mode which is confused by this. 40927a2631fcSmrg # 40937a2631fcSmrg # We need to recreate these files for each test, as the compiler may 40947a2631fcSmrg # overwrite some of them when testing with obscure command lines. 40957a2631fcSmrg # This happens at least with the AIX C compiler. 40967a2631fcSmrg : > sub/conftest.c 40977a2631fcSmrg for i in 1 2 3 4 5 6; do 40987a2631fcSmrg echo '#include "conftst'$i'.h"' >> sub/conftest.c 40997a2631fcSmrg # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 41007a2631fcSmrg # Solaris 8's {/usr,}/bin/sh. 41017a2631fcSmrg touch sub/conftst$i.h 41027a2631fcSmrg done 41037a2631fcSmrg echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 41047a2631fcSmrg 41057a2631fcSmrg # We check with `-c' and `-o' for the sake of the "dashmstdout" 41067a2631fcSmrg # mode. It turns out that the SunPro C++ compiler does not properly 41077a2631fcSmrg # handle `-M -o', and we need to detect this. Also, some Intel 41087a2631fcSmrg # versions had trouble with output in subdirs 41097a2631fcSmrg am__obj=sub/conftest.${OBJEXT-o} 41107a2631fcSmrg am__minus_obj="-o $am__obj" 41117a2631fcSmrg case $depmode in 41127a2631fcSmrg gcc) 41137a2631fcSmrg # This depmode causes a compiler race in universal mode. 41147a2631fcSmrg test "$am__universal" = false || continue 41157a2631fcSmrg ;; 41167a2631fcSmrg nosideeffect) 41177a2631fcSmrg # after this tag, mechanisms are not by side-effect, so they'll 41187a2631fcSmrg # only be used when explicitly requested 41197a2631fcSmrg if test "x$enable_dependency_tracking" = xyes; then 41207a2631fcSmrg continue 41217a2631fcSmrg else 41227a2631fcSmrg break 41237a2631fcSmrg fi 41247a2631fcSmrg ;; 41257a2631fcSmrg msvisualcpp | msvcmsys) 41267a2631fcSmrg # This compiler won't grok `-c -o', but also, the minuso test has 41277a2631fcSmrg # not run yet. These depmodes are late enough in the game, and 41287a2631fcSmrg # so weak that their functioning should not be impacted. 41297a2631fcSmrg am__obj=conftest.${OBJEXT-o} 41307a2631fcSmrg am__minus_obj= 41317a2631fcSmrg ;; 41327a2631fcSmrg none) break ;; 41337a2631fcSmrg esac 41347a2631fcSmrg if depmode=$depmode \ 41357a2631fcSmrg source=sub/conftest.c object=$am__obj \ 41367a2631fcSmrg depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 41377a2631fcSmrg $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 41387a2631fcSmrg >/dev/null 2>conftest.err && 41397a2631fcSmrg grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 41407a2631fcSmrg grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 41417a2631fcSmrg grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 41427a2631fcSmrg ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 41437a2631fcSmrg # icc doesn't choke on unknown options, it will just issue warnings 41447a2631fcSmrg # or remarks (even with -Werror). So we grep stderr for any message 41457a2631fcSmrg # that says an option was ignored or not supported. 41467a2631fcSmrg # When given -MP, icc 7.0 and 7.1 complain thusly: 41477a2631fcSmrg # icc: Command line warning: ignoring option '-M'; no argument required 41487a2631fcSmrg # The diagnosis changed in icc 8.0: 41497a2631fcSmrg # icc: Command line remark: option '-MP' not supported 41507a2631fcSmrg if (grep 'ignoring option' conftest.err || 41517a2631fcSmrg grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 41527a2631fcSmrg am_cv_CC_dependencies_compiler_type=$depmode 41537a2631fcSmrg break 41547a2631fcSmrg fi 41557a2631fcSmrg fi 41567a2631fcSmrg done 41573e747e6dSmrg 41587a2631fcSmrg cd .. 41597a2631fcSmrg rm -rf conftest.dir 41607a2631fcSmrgelse 41617a2631fcSmrg am_cv_CC_dependencies_compiler_type=none 41623e747e6dSmrgfi 41633e747e6dSmrg 41643e747e6dSmrgfi 41657a2631fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 41667a2631fcSmrg$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 41677a2631fcSmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 41683e747e6dSmrg 41697a2631fcSmrg if 41707a2631fcSmrg test "x$enable_dependency_tracking" != xno \ 41717a2631fcSmrg && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 41727a2631fcSmrg am__fastdepCC_TRUE= 41737a2631fcSmrg am__fastdepCC_FALSE='#' 41743e747e6dSmrgelse 41757a2631fcSmrg am__fastdepCC_TRUE='#' 4176ffd25bcaSmrg am__fastdepCC_FALSE= 41777a2631fcSmrgfi 41783e747e6dSmrg 41797a2631fcSmrg 41807a2631fcSmrg 41813e747e6dSmrg 4182ffd25bcaSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 4183ffd25bcaSmrg$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 4184ffd25bcaSmrg # Check whether --enable-maintainer-mode was given. 4185ffd25bcaSmrgif test "${enable_maintainer_mode+set}" = set; then : 4186ffd25bcaSmrg enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 41877a2631fcSmrgelse 4188ffd25bcaSmrg USE_MAINTAINER_MODE=no 41897a2631fcSmrgfi 41907a2631fcSmrg 4191ffd25bcaSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 4192ffd25bcaSmrg$as_echo "$USE_MAINTAINER_MODE" >&6; } 4193ffd25bcaSmrg if test $USE_MAINTAINER_MODE = yes; then 4194ffd25bcaSmrg MAINTAINER_MODE_TRUE= 4195ffd25bcaSmrg MAINTAINER_MODE_FALSE='#' 41967a2631fcSmrgelse 4197ffd25bcaSmrg MAINTAINER_MODE_TRUE='#' 4198ffd25bcaSmrg MAINTAINER_MODE_FALSE= 41997a2631fcSmrgfi 42007a2631fcSmrg 4201ffd25bcaSmrg MAINT=$MAINTAINER_MODE_TRUE 42027a2631fcSmrg 42037a2631fcSmrg 42047a2631fcSmrg 4205ffd25bcaSmrg# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS 42067a2631fcSmrg 42077a2631fcSmrg 42083e747e6dSmrg 42093e747e6dSmrg 42103e747e6dSmrg 4211ffd25bcaSmrg 4212ffd25bcaSmrg 4213ffd25bcaSmrg 4214ffd25bcaSmrg 4215ffd25bcaSmrg 4216ffd25bcaSmrg 4217ffd25bcaSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 4218ffd25bcaSmrg$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 4219ffd25bcaSmrgif ${ac_cv_prog_cc_c99+:} false; then : 42207a2631fcSmrg $as_echo_n "(cached) " >&6 42217a2631fcSmrgelse 4222ffd25bcaSmrg ac_cv_prog_cc_c99=no 4223ffd25bcaSmrgac_save_CC=$CC 4224ffd25bcaSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 4225ffd25bcaSmrg/* end confdefs.h. */ 4226ffd25bcaSmrg#include <stdarg.h> 4227ffd25bcaSmrg#include <stdbool.h> 4228ffd25bcaSmrg#include <stdlib.h> 4229ffd25bcaSmrg#include <wchar.h> 4230ffd25bcaSmrg#include <stdio.h> 42317a2631fcSmrg 4232ffd25bcaSmrg// Check varargs macros. These examples are taken from C99 6.10.3.5. 4233ffd25bcaSmrg#define debug(...) fprintf (stderr, __VA_ARGS__) 4234ffd25bcaSmrg#define showlist(...) puts (#__VA_ARGS__) 4235ffd25bcaSmrg#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 4236ffd25bcaSmrgstatic void 4237ffd25bcaSmrgtest_varargs_macros (void) 4238ffd25bcaSmrg{ 4239ffd25bcaSmrg int x = 1234; 4240ffd25bcaSmrg int y = 5678; 4241ffd25bcaSmrg debug ("Flag"); 4242ffd25bcaSmrg debug ("X = %d\n", x); 4243ffd25bcaSmrg showlist (The first, second, and third items.); 4244ffd25bcaSmrg report (x>y, "x is %d but y is %d", x, y); 4245ffd25bcaSmrg} 42467a2631fcSmrg 4247ffd25bcaSmrg// Check long long types. 4248ffd25bcaSmrg#define BIG64 18446744073709551615ull 4249ffd25bcaSmrg#define BIG32 4294967295ul 4250ffd25bcaSmrg#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 4251ffd25bcaSmrg#if !BIG_OK 4252ffd25bcaSmrg your preprocessor is broken; 4253ffd25bcaSmrg#endif 4254ffd25bcaSmrg#if BIG_OK 4255ffd25bcaSmrg#else 4256ffd25bcaSmrg your preprocessor is broken; 4257ffd25bcaSmrg#endif 4258ffd25bcaSmrgstatic long long int bignum = -9223372036854775807LL; 4259ffd25bcaSmrgstatic unsigned long long int ubignum = BIG64; 4260ffd25bcaSmrg 4261ffd25bcaSmrgstruct incomplete_array 4262ffd25bcaSmrg{ 4263ffd25bcaSmrg int datasize; 4264ffd25bcaSmrg double data[]; 4265ffd25bcaSmrg}; 4266ffd25bcaSmrg 4267ffd25bcaSmrgstruct named_init { 4268ffd25bcaSmrg int number; 4269ffd25bcaSmrg const wchar_t *name; 4270ffd25bcaSmrg double average; 4271ffd25bcaSmrg}; 42727a2631fcSmrg 4273ffd25bcaSmrgtypedef const char *ccp; 42747a2631fcSmrg 4275ffd25bcaSmrgstatic inline int 4276ffd25bcaSmrgtest_restrict (ccp restrict text) 4277ffd25bcaSmrg{ 4278ffd25bcaSmrg // See if C++-style comments work. 4279ffd25bcaSmrg // Iterate through items via the restricted pointer. 4280ffd25bcaSmrg // Also check for declarations in for loops. 4281ffd25bcaSmrg for (unsigned int i = 0; *(text+i) != '\0'; ++i) 4282ffd25bcaSmrg continue; 4283ffd25bcaSmrg return 0; 4284ffd25bcaSmrg} 42853e747e6dSmrg 4286ffd25bcaSmrg// Check varargs and va_copy. 4287ffd25bcaSmrgstatic void 4288ffd25bcaSmrgtest_varargs (const char *format, ...) 42893e747e6dSmrg{ 4290ffd25bcaSmrg va_list args; 4291ffd25bcaSmrg va_start (args, format); 4292ffd25bcaSmrg va_list args_copy; 4293ffd25bcaSmrg va_copy (args_copy, args); 42943e747e6dSmrg 4295ffd25bcaSmrg const char *str; 4296ffd25bcaSmrg int number; 4297ffd25bcaSmrg float fnumber; 4298ffd25bcaSmrg 4299ffd25bcaSmrg while (*format) 4300ffd25bcaSmrg { 4301ffd25bcaSmrg switch (*format++) 4302ffd25bcaSmrg { 4303ffd25bcaSmrg case 's': // string 4304ffd25bcaSmrg str = va_arg (args_copy, const char *); 4305ffd25bcaSmrg break; 4306ffd25bcaSmrg case 'd': // int 4307ffd25bcaSmrg number = va_arg (args_copy, int); 4308ffd25bcaSmrg break; 4309ffd25bcaSmrg case 'f': // float 4310ffd25bcaSmrg fnumber = va_arg (args_copy, double); 4311ffd25bcaSmrg break; 4312ffd25bcaSmrg default: 4313ffd25bcaSmrg break; 4314ffd25bcaSmrg } 4315ffd25bcaSmrg } 4316ffd25bcaSmrg va_end (args_copy); 4317ffd25bcaSmrg va_end (args); 43183e747e6dSmrg} 43197a2631fcSmrg 4320ffd25bcaSmrgint 4321ffd25bcaSmrgmain () 4322ffd25bcaSmrg{ 43237a2631fcSmrg 4324ffd25bcaSmrg // Check bool. 4325ffd25bcaSmrg _Bool success = false; 43267a2631fcSmrg 4327ffd25bcaSmrg // Check restrict. 4328ffd25bcaSmrg if (test_restrict ("String literal") == 0) 4329ffd25bcaSmrg success = true; 4330ffd25bcaSmrg char *restrict newvar = "Another string"; 43313e747e6dSmrg 4332ffd25bcaSmrg // Check varargs. 4333ffd25bcaSmrg test_varargs ("s, d' f .", "string", 65, 34.234); 4334ffd25bcaSmrg test_varargs_macros (); 43353e747e6dSmrg 4336ffd25bcaSmrg // Check flexible array members. 4337ffd25bcaSmrg struct incomplete_array *ia = 4338ffd25bcaSmrg malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 4339ffd25bcaSmrg ia->datasize = 10; 4340ffd25bcaSmrg for (int i = 0; i < ia->datasize; ++i) 4341ffd25bcaSmrg ia->data[i] = i * 1.234; 43423e747e6dSmrg 4343ffd25bcaSmrg // Check named initializers. 4344ffd25bcaSmrg struct named_init ni = { 4345ffd25bcaSmrg .number = 34, 4346ffd25bcaSmrg .name = L"Test wide string", 4347ffd25bcaSmrg .average = 543.34343, 4348ffd25bcaSmrg }; 43497a2631fcSmrg 4350ffd25bcaSmrg ni.number = 58; 43513e747e6dSmrg 4352ffd25bcaSmrg int dynamic_array[ni.number]; 4353ffd25bcaSmrg dynamic_array[ni.number - 1] = 543; 43547a2631fcSmrg 4355ffd25bcaSmrg // work around unused variable warnings 4356ffd25bcaSmrg return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 4357ffd25bcaSmrg || dynamic_array[ni.number - 1] != 543); 43583e747e6dSmrg 4359ffd25bcaSmrg ; 43603e747e6dSmrg return 0; 43613e747e6dSmrg} 43623e747e6dSmrg_ACEOF 4363ffd25bcaSmrgfor ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 4364ffd25bcaSmrgdo 4365ffd25bcaSmrg CC="$ac_save_CC $ac_arg" 4366ffd25bcaSmrg if ac_fn_c_try_compile "$LINENO"; then : 4367ffd25bcaSmrg ac_cv_prog_cc_c99=$ac_arg 43687a2631fcSmrgfi 4369ffd25bcaSmrgrm -f core conftest.err conftest.$ac_objext 4370ffd25bcaSmrg test "x$ac_cv_prog_cc_c99" != "xno" && break 4371ffd25bcaSmrgdone 4372ffd25bcaSmrgrm -f conftest.$ac_ext 4373ffd25bcaSmrgCC=$ac_save_CC 43747a2631fcSmrg 43757a2631fcSmrgfi 4376ffd25bcaSmrg# AC_CACHE_VAL 4377ffd25bcaSmrgcase "x$ac_cv_prog_cc_c99" in 4378ffd25bcaSmrg x) 4379ffd25bcaSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4380ffd25bcaSmrg$as_echo "none needed" >&6; } ;; 4381ffd25bcaSmrg xno) 4382ffd25bcaSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4383ffd25bcaSmrg$as_echo "unsupported" >&6; } ;; 4384ffd25bcaSmrg *) 4385ffd25bcaSmrg CC="$CC $ac_cv_prog_cc_c99" 4386ffd25bcaSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 4387ffd25bcaSmrg$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 4388ffd25bcaSmrgesac 4389ffd25bcaSmrgif test "x$ac_cv_prog_cc_c99" != xno; then : 4390ffd25bcaSmrg 43917a2631fcSmrgfi 43923e747e6dSmrg 43933e747e6dSmrg 43943e747e6dSmrg 43957a2631fcSmrg 4396ffd25bcaSmrgac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" 4397ffd25bcaSmrgif test "x$ac_cv_have_decl___clang__" = xyes; then : 4398ffd25bcaSmrg CLANGCC="yes" 4399ffd25bcaSmrgelse 4400ffd25bcaSmrg CLANGCC="no" 4401ffd25bcaSmrgfi 4402ffd25bcaSmrg 4403ffd25bcaSmrgac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" 4404ffd25bcaSmrgif test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then : 4405ffd25bcaSmrg INTELCC="yes" 4406ffd25bcaSmrgelse 4407ffd25bcaSmrg INTELCC="no" 44083e747e6dSmrgfi 44093e747e6dSmrg 4410ffd25bcaSmrgac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 4411ffd25bcaSmrgif test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then : 4412ffd25bcaSmrg SUNCC="yes" 4413ffd25bcaSmrgelse 4414ffd25bcaSmrg SUNCC="no" 4415ffd25bcaSmrgfi 44167a2631fcSmrg 44177a2631fcSmrg 44187a2631fcSmrg 44197a2631fcSmrg 44207a2631fcSmrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 44217a2631fcSmrg if test -n "$ac_tool_prefix"; then 44227a2631fcSmrg # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 44237a2631fcSmrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2 44247a2631fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 44257a2631fcSmrg$as_echo_n "checking for $ac_word... " >&6; } 44267a2631fcSmrgif ${ac_cv_path_PKG_CONFIG+:} false; then : 44277a2631fcSmrg $as_echo_n "(cached) " >&6 44287a2631fcSmrgelse 44297a2631fcSmrg case $PKG_CONFIG in 44307a2631fcSmrg [\\/]* | ?:[\\/]*) 44317a2631fcSmrg ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 44327a2631fcSmrg ;; 44337a2631fcSmrg *) 44347a2631fcSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 44357a2631fcSmrgfor as_dir in $PATH 44367a2631fcSmrgdo 44377a2631fcSmrg IFS=$as_save_IFS 44387a2631fcSmrg test -z "$as_dir" && as_dir=. 44397a2631fcSmrg for ac_exec_ext in '' $ac_executable_extensions; do 44407a2631fcSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 44417a2631fcSmrg ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 44427a2631fcSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 44437a2631fcSmrg break 2 44447a2631fcSmrg fi 44457a2631fcSmrgdone 44467a2631fcSmrg done 44477a2631fcSmrgIFS=$as_save_IFS 44487a2631fcSmrg 44497a2631fcSmrg ;; 44507a2631fcSmrgesac 44517a2631fcSmrgfi 44527a2631fcSmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG 44537a2631fcSmrgif test -n "$PKG_CONFIG"; then 44547a2631fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 44557a2631fcSmrg$as_echo "$PKG_CONFIG" >&6; } 44567a2631fcSmrgelse 44577a2631fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 44587a2631fcSmrg$as_echo "no" >&6; } 44593e747e6dSmrgfi 44603e747e6dSmrg 44617a2631fcSmrg 44623e747e6dSmrgfi 44637a2631fcSmrgif test -z "$ac_cv_path_PKG_CONFIG"; then 44647a2631fcSmrg ac_pt_PKG_CONFIG=$PKG_CONFIG 44657a2631fcSmrg # Extract the first word of "pkg-config", so it can be a program name with args. 44667a2631fcSmrgset dummy pkg-config; ac_word=$2 44677a2631fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 44687a2631fcSmrg$as_echo_n "checking for $ac_word... " >&6; } 44697a2631fcSmrgif ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 44707a2631fcSmrg $as_echo_n "(cached) " >&6 44717a2631fcSmrgelse 44727a2631fcSmrg case $ac_pt_PKG_CONFIG in 44737a2631fcSmrg [\\/]* | ?:[\\/]*) 44747a2631fcSmrg ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 44757a2631fcSmrg ;; 44767a2631fcSmrg *) 44777a2631fcSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 44787a2631fcSmrgfor as_dir in $PATH 44797a2631fcSmrgdo 44807a2631fcSmrg IFS=$as_save_IFS 44817a2631fcSmrg test -z "$as_dir" && as_dir=. 44827a2631fcSmrg for ac_exec_ext in '' $ac_executable_extensions; do 44837a2631fcSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 44847a2631fcSmrg ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 44857a2631fcSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 44867a2631fcSmrg break 2 44873e747e6dSmrg fi 44887a2631fcSmrgdone 44897a2631fcSmrg done 44907a2631fcSmrgIFS=$as_save_IFS 44917a2631fcSmrg 44927a2631fcSmrg ;; 44937a2631fcSmrgesac 44947a2631fcSmrgfi 44957a2631fcSmrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 44967a2631fcSmrgif test -n "$ac_pt_PKG_CONFIG"; then 44977a2631fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 44987a2631fcSmrg$as_echo "$ac_pt_PKG_CONFIG" >&6; } 44993e747e6dSmrgelse 45007a2631fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 45017a2631fcSmrg$as_echo "no" >&6; } 45027a2631fcSmrgfi 45037a2631fcSmrg 45047a2631fcSmrg if test "x$ac_pt_PKG_CONFIG" = x; then 45057a2631fcSmrg PKG_CONFIG="" 45063e747e6dSmrg else 45077a2631fcSmrg case $cross_compiling:$ac_tool_warned in 45087a2631fcSmrgyes:) 45097a2631fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 45107a2631fcSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 45117a2631fcSmrgac_tool_warned=yes ;; 45127a2631fcSmrgesac 45137a2631fcSmrg PKG_CONFIG=$ac_pt_PKG_CONFIG 45143e747e6dSmrg fi 45153e747e6dSmrgelse 45167a2631fcSmrg PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 45177a2631fcSmrgfi 45183e747e6dSmrg 45197a2631fcSmrgfi 45207a2631fcSmrgif test -n "$PKG_CONFIG"; then 45217a2631fcSmrg _pkg_min_version=0.9.0 45227a2631fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 45237a2631fcSmrg$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 45247a2631fcSmrg if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 45257a2631fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 45267a2631fcSmrg$as_echo "yes" >&6; } 45277a2631fcSmrg else 45287a2631fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 45297a2631fcSmrg$as_echo "no" >&6; } 45307a2631fcSmrg PKG_CONFIG="" 45317a2631fcSmrg fi 45323e747e6dSmrg 45337a2631fcSmrgfi 45347a2631fcSmrg# Make sure we can run config.sub. 45357a2631fcSmrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 45367a2631fcSmrg as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 45373e747e6dSmrg 45387a2631fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 45397a2631fcSmrg$as_echo_n "checking build system type... " >&6; } 45407a2631fcSmrgif ${ac_cv_build+:} false; then : 45417a2631fcSmrg $as_echo_n "(cached) " >&6 45427a2631fcSmrgelse 45437a2631fcSmrg ac_build_alias=$build_alias 45447a2631fcSmrgtest "x$ac_build_alias" = x && 45457a2631fcSmrg ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 45467a2631fcSmrgtest "x$ac_build_alias" = x && 45477a2631fcSmrg as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 45487a2631fcSmrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 45497a2631fcSmrg as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 45507a2631fcSmrg 45517a2631fcSmrgfi 45527a2631fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 45537a2631fcSmrg$as_echo "$ac_cv_build" >&6; } 45547a2631fcSmrgcase $ac_cv_build in 45557a2631fcSmrg*-*-*) ;; 45567a2631fcSmrg*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 45573e747e6dSmrgesac 45587a2631fcSmrgbuild=$ac_cv_build 45597a2631fcSmrgac_save_IFS=$IFS; IFS='-' 45607a2631fcSmrgset x $ac_cv_build 45617a2631fcSmrgshift 45627a2631fcSmrgbuild_cpu=$1 45637a2631fcSmrgbuild_vendor=$2 45647a2631fcSmrgshift; shift 45657a2631fcSmrg# Remember, the first character of IFS is used to create $*, 45667a2631fcSmrg# except with old shells: 45677a2631fcSmrgbuild_os=$* 45687a2631fcSmrgIFS=$ac_save_IFS 45697a2631fcSmrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 45707a2631fcSmrg 45717a2631fcSmrg 45727a2631fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 45737a2631fcSmrg$as_echo_n "checking host system type... " >&6; } 45747a2631fcSmrgif ${ac_cv_host+:} false; then : 45757a2631fcSmrg $as_echo_n "(cached) " >&6 45763e747e6dSmrgelse 45777a2631fcSmrg if test "x$host_alias" = x; then 45787a2631fcSmrg ac_cv_host=$ac_cv_build 45797a2631fcSmrgelse 45807a2631fcSmrg ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 45817a2631fcSmrg as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 45827a2631fcSmrgfi 45837a2631fcSmrg 45847a2631fcSmrgfi 45857a2631fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 45867a2631fcSmrg$as_echo "$ac_cv_host" >&6; } 45877a2631fcSmrgcase $ac_cv_host in 45887a2631fcSmrg*-*-*) ;; 45897a2631fcSmrg*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 45907a2631fcSmrgesac 45917a2631fcSmrghost=$ac_cv_host 45927a2631fcSmrgac_save_IFS=$IFS; IFS='-' 45937a2631fcSmrgset x $ac_cv_host 45947a2631fcSmrgshift 45957a2631fcSmrghost_cpu=$1 45967a2631fcSmrghost_vendor=$2 45977a2631fcSmrgshift; shift 45987a2631fcSmrg# Remember, the first character of IFS is used to create $*, 45997a2631fcSmrg# except with old shells: 46007a2631fcSmrghost_os=$* 46017a2631fcSmrgIFS=$ac_save_IFS 46027a2631fcSmrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 46033e747e6dSmrg 46043e747e6dSmrg 46057a2631fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 46067a2631fcSmrg$as_echo_n "checking for a sed that does not truncate output... " >&6; } 46077a2631fcSmrgif ${ac_cv_path_SED+:} false; then : 46087a2631fcSmrg $as_echo_n "(cached) " >&6 46097a2631fcSmrgelse 46107a2631fcSmrg ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 46117a2631fcSmrg for ac_i in 1 2 3 4 5 6 7; do 46127a2631fcSmrg ac_script="$ac_script$as_nl$ac_script" 46137a2631fcSmrg done 46147a2631fcSmrg echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 46157a2631fcSmrg { ac_script=; unset ac_script;} 46167a2631fcSmrg if test -z "$SED"; then 46177a2631fcSmrg ac_path_SED_found=false 46187a2631fcSmrg # Loop through the user's path and test for each of PROGNAME-LIST 46197a2631fcSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 46207a2631fcSmrgfor as_dir in $PATH 46217a2631fcSmrgdo 46227a2631fcSmrg IFS=$as_save_IFS 46237a2631fcSmrg test -z "$as_dir" && as_dir=. 46247a2631fcSmrg for ac_prog in sed gsed; do 46257a2631fcSmrg for ac_exec_ext in '' $ac_executable_extensions; do 46267a2631fcSmrg ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 46277a2631fcSmrg { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 46287a2631fcSmrg# Check for GNU ac_path_SED and select it if it is found. 46297a2631fcSmrg # Check for GNU $ac_path_SED 46307a2631fcSmrgcase `"$ac_path_SED" --version 2>&1` in 46317a2631fcSmrg*GNU*) 46327a2631fcSmrg ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 46337a2631fcSmrg*) 46347a2631fcSmrg ac_count=0 46357a2631fcSmrg $as_echo_n 0123456789 >"conftest.in" 46367a2631fcSmrg while : 46377a2631fcSmrg do 46387a2631fcSmrg cat "conftest.in" "conftest.in" >"conftest.tmp" 46397a2631fcSmrg mv "conftest.tmp" "conftest.in" 46407a2631fcSmrg cp "conftest.in" "conftest.nl" 46417a2631fcSmrg $as_echo '' >> "conftest.nl" 46427a2631fcSmrg "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 46437a2631fcSmrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 46447a2631fcSmrg as_fn_arith $ac_count + 1 && ac_count=$as_val 46457a2631fcSmrg if test $ac_count -gt ${ac_path_SED_max-0}; then 46467a2631fcSmrg # Best one so far, save it but keep looking for a better one 46477a2631fcSmrg ac_cv_path_SED="$ac_path_SED" 46487a2631fcSmrg ac_path_SED_max=$ac_count 46497a2631fcSmrg fi 46507a2631fcSmrg # 10*(2^10) chars as input seems more than enough 46517a2631fcSmrg test $ac_count -gt 10 && break 46527a2631fcSmrg done 46537a2631fcSmrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 46547a2631fcSmrgesac 46553e747e6dSmrg 46567a2631fcSmrg $ac_path_SED_found && break 3 46577a2631fcSmrg done 46587a2631fcSmrg done 46597a2631fcSmrg done 46607a2631fcSmrgIFS=$as_save_IFS 46617a2631fcSmrg if test -z "$ac_cv_path_SED"; then 46627a2631fcSmrg as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 46637a2631fcSmrg fi 46647a2631fcSmrgelse 46657a2631fcSmrg ac_cv_path_SED=$SED 46667a2631fcSmrgfi 46673e747e6dSmrg 46683e747e6dSmrgfi 46697a2631fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 46707a2631fcSmrg$as_echo "$ac_cv_path_SED" >&6; } 46717a2631fcSmrg SED="$ac_cv_path_SED" 46727a2631fcSmrg rm -f conftest.sed 46733e747e6dSmrg 46743e747e6dSmrg 46753e747e6dSmrg 46763e747e6dSmrg 46773e747e6dSmrg 4678ffd25bcaSmrg 46797a2631fcSmrgif test "x$GCC" = xyes ; then 46807a2631fcSmrg CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \ 46817a2631fcSmrg-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \ 46827a2631fcSmrg-Wbad-function-cast -Wformat=2" 46837a2631fcSmrg case `$CC -dumpversion` in 46847a2631fcSmrg 3.4.* | 4.*) 46857a2631fcSmrg CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement" 46867a2631fcSmrg ;; 46877a2631fcSmrg esac 46887a2631fcSmrgelse 46897a2631fcSmrg if test "x$SUNCC" = "xyes"; then 46907a2631fcSmrg CWARNFLAGS="-v" 46917a2631fcSmrg fi 46923e747e6dSmrgfi 46933e747e6dSmrg 46943e747e6dSmrg 46953e747e6dSmrg 46967a2631fcSmrg# If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89 46977a2631fcSmrg 46987a2631fcSmrg 46997a2631fcSmrg 4700ffd25bcaSmrg 47017a2631fcSmrg# Check whether --enable-strict-compilation was given. 47027a2631fcSmrgif test "${enable_strict_compilation+set}" = set; then : 47037a2631fcSmrg enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval 47047a2631fcSmrgelse 47057a2631fcSmrg STRICT_COMPILE=no 47063e747e6dSmrgfi 47073e747e6dSmrg 4708ffd25bcaSmrgif test "x$GCC" = xyes ; then 4709ffd25bcaSmrg STRICT_CFLAGS="-pedantic -Werror" 4710ffd25bcaSmrg # Add -Werror=attributes if supported (gcc 4.2 & later) 4711ffd25bcaSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5 4712ffd25bcaSmrg$as_echo_n "checking if $CC supports -Werror=attributes... " >&6; } 4713ffd25bcaSmrg save_CFLAGS="$CFLAGS" 4714ffd25bcaSmrg CFLAGS="$CFLAGS $STRICT_CFLAGS -Werror=attributes" 4715ffd25bcaSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4716ffd25bcaSmrg/* end confdefs.h. */ 4717ffd25bcaSmrgreturn 0; 4718ffd25bcaSmrg_ACEOF 4719ffd25bcaSmrgif ac_fn_c_try_compile "$LINENO"; then : 4720ffd25bcaSmrg STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes" 4721ffd25bcaSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4722ffd25bcaSmrg$as_echo "yes" >&6; } 47237a2631fcSmrgelse 4724ffd25bcaSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4725ffd25bcaSmrg$as_echo "no" >&6; } 47263e747e6dSmrgfi 4727ffd25bcaSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4728ffd25bcaSmrg CFLAGS="$save_CFLAGS" 4729ffd25bcaSmrgelif test "x$SUNCC" = "xyes"; then 4730ffd25bcaSmrg STRICT_CFLAGS="-errwarn" 4731ffd25bcaSmrgelif test "x$INTELCC" = "xyes"; then 4732ffd25bcaSmrg STRICT_CFLAGS="-Werror" 47333e747e6dSmrgfi 4734ffd25bcaSmrgif test "x$STRICT_COMPILE" = "xyes"; then 4735ffd25bcaSmrg CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS" 47367a2631fcSmrgfi 4737ffd25bcaSmrg 47383e747e6dSmrg 47393e747e6dSmrg 47403e747e6dSmrg 47413e747e6dSmrg 47427a2631fcSmrgcat >>confdefs.h <<_ACEOF 47437a2631fcSmrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 47447a2631fcSmrg_ACEOF 47453e747e6dSmrg 47467a2631fcSmrg PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 47477a2631fcSmrg if test "x$PVM" = "x"; then 47487a2631fcSmrg PVM="0" 47497a2631fcSmrg fi 47507a2631fcSmrg 47517a2631fcSmrgcat >>confdefs.h <<_ACEOF 47527a2631fcSmrg#define PACKAGE_VERSION_MINOR $PVM 47537a2631fcSmrg_ACEOF 47547a2631fcSmrg 47557a2631fcSmrg PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 47567a2631fcSmrg if test "x$PVP" = "x"; then 47577a2631fcSmrg PVP="0" 47587a2631fcSmrg fi 47597a2631fcSmrg 47607a2631fcSmrgcat >>confdefs.h <<_ACEOF 47617a2631fcSmrg#define PACKAGE_VERSION_PATCHLEVEL $PVP 47627a2631fcSmrg_ACEOF 47637a2631fcSmrg 47647a2631fcSmrg 47657a2631fcSmrg 47667a2631fcSmrgCHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \ 47677a2631fcSmrgmv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \ 47687a2631fcSmrg|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \ 47697a2631fcSmrgecho 'git directory not found: installing possibly empty changelog.' >&2)" 47707a2631fcSmrg 47717a2631fcSmrg 47727a2631fcSmrg 47737a2631fcSmrg 47747a2631fcSmrgmacros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros` 47757a2631fcSmrgINSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \ 47767a2631fcSmrgmv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \ 47777a2631fcSmrg|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \ 47787a2631fcSmrgecho 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)" 47797a2631fcSmrg 47807a2631fcSmrg 47817a2631fcSmrg 47827a2631fcSmrg 47837a2631fcSmrg 47847a2631fcSmrg 47857a2631fcSmrgif test x$APP_MAN_SUFFIX = x ; then 47867a2631fcSmrg APP_MAN_SUFFIX=1 47877a2631fcSmrgfi 47887a2631fcSmrgif test x$APP_MAN_DIR = x ; then 47897a2631fcSmrg APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 47907a2631fcSmrgfi 47917a2631fcSmrg 47927a2631fcSmrgif test x$LIB_MAN_SUFFIX = x ; then 47937a2631fcSmrg LIB_MAN_SUFFIX=3 47947a2631fcSmrgfi 47957a2631fcSmrgif test x$LIB_MAN_DIR = x ; then 47967a2631fcSmrg LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 47977a2631fcSmrgfi 47987a2631fcSmrg 47997a2631fcSmrgif test x$FILE_MAN_SUFFIX = x ; then 48007a2631fcSmrg case $host_os in 48017a2631fcSmrg solaris*) FILE_MAN_SUFFIX=4 ;; 48027a2631fcSmrg *) FILE_MAN_SUFFIX=5 ;; 48033e747e6dSmrg esac 48047a2631fcSmrgfi 48057a2631fcSmrgif test x$FILE_MAN_DIR = x ; then 48067a2631fcSmrg FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 48077a2631fcSmrgfi 48083e747e6dSmrg 48097a2631fcSmrgif test x$MISC_MAN_SUFFIX = x ; then 48107a2631fcSmrg case $host_os in 48117a2631fcSmrg solaris*) MISC_MAN_SUFFIX=5 ;; 48127a2631fcSmrg *) MISC_MAN_SUFFIX=7 ;; 48137a2631fcSmrg esac 48147a2631fcSmrgfi 48157a2631fcSmrgif test x$MISC_MAN_DIR = x ; then 48167a2631fcSmrg MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 48173e747e6dSmrgfi 48183e747e6dSmrg 48197a2631fcSmrgif test x$DRIVER_MAN_SUFFIX = x ; then 48207a2631fcSmrg case $host_os in 48217a2631fcSmrg solaris*) DRIVER_MAN_SUFFIX=7 ;; 48227a2631fcSmrg *) DRIVER_MAN_SUFFIX=4 ;; 48237a2631fcSmrg esac 48247a2631fcSmrgfi 48257a2631fcSmrgif test x$DRIVER_MAN_DIR = x ; then 48267a2631fcSmrg DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 48273e747e6dSmrgfi 48283e747e6dSmrg 48297a2631fcSmrgif test x$ADMIN_MAN_SUFFIX = x ; then 48307a2631fcSmrg case $host_os in 48317a2631fcSmrg solaris*) ADMIN_MAN_SUFFIX=1m ;; 48327a2631fcSmrg *) ADMIN_MAN_SUFFIX=8 ;; 48337a2631fcSmrg esac 48347a2631fcSmrgfi 48357a2631fcSmrgif test x$ADMIN_MAN_DIR = x ; then 48367a2631fcSmrg ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 48373e747e6dSmrgfi 48383e747e6dSmrg 48393e747e6dSmrg 48403e747e6dSmrg 48413e747e6dSmrg 48427a2631fcSmrg 48437a2631fcSmrg 48447a2631fcSmrg 48457a2631fcSmrg 48467a2631fcSmrg 48477a2631fcSmrg 48487a2631fcSmrg 48497a2631fcSmrg 48507a2631fcSmrg 48517a2631fcSmrg 48527a2631fcSmrg 48537a2631fcSmrgXORG_MAN_PAGE="X Version 11" 48547a2631fcSmrg 48557a2631fcSmrgMAN_SUBSTS="\ 48567a2631fcSmrg -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 48577a2631fcSmrg -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 48587a2631fcSmrg -e 's|__xservername__|Xorg|g' \ 48597a2631fcSmrg -e 's|__xconfigfile__|xorg.conf|g' \ 48607a2631fcSmrg -e 's|__projectroot__|\$(prefix)|g' \ 48617a2631fcSmrg -e 's|__apploaddir__|\$(appdefaultdir)|g' \ 48627a2631fcSmrg -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \ 48637a2631fcSmrg -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \ 48647a2631fcSmrg -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \ 48657a2631fcSmrg -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \ 48667a2631fcSmrg -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \ 48677a2631fcSmrg -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'" 48687a2631fcSmrg 48697a2631fcSmrg 48707a2631fcSmrg 48717a2631fcSmrg# Check whether --enable-silent-rules was given. 48727a2631fcSmrgif test "${enable_silent_rules+set}" = set; then : 48737a2631fcSmrg enableval=$enable_silent_rules; 48743e747e6dSmrgfi 48753e747e6dSmrg 48767a2631fcSmrgcase $enable_silent_rules in 48777a2631fcSmrgyes) AM_DEFAULT_VERBOSITY=0;; 48787a2631fcSmrgno) AM_DEFAULT_VERBOSITY=1;; 48797a2631fcSmrg*) AM_DEFAULT_VERBOSITY=0;; 48807a2631fcSmrgesac 48817a2631fcSmrgAM_BACKSLASH='\' 48823e747e6dSmrg 48833e747e6dSmrg 48843e747e6dSmrg 48853e747e6dSmrgfor ac_prog in 'bison -y' byacc 48863e747e6dSmrgdo 48873e747e6dSmrg # Extract the first word of "$ac_prog", so it can be a program name with args. 48883e747e6dSmrgset dummy $ac_prog; ac_word=$2 48897a2631fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 48907a2631fcSmrg$as_echo_n "checking for $ac_word... " >&6; } 48917a2631fcSmrgif ${ac_cv_prog_YACC+:} false; then : 48927a2631fcSmrg $as_echo_n "(cached) " >&6 48933e747e6dSmrgelse 48943e747e6dSmrg if test -n "$YACC"; then 48953e747e6dSmrg ac_cv_prog_YACC="$YACC" # Let the user override the test. 48963e747e6dSmrgelse 48973e747e6dSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 48983e747e6dSmrgfor as_dir in $PATH 48993e747e6dSmrgdo 49003e747e6dSmrg IFS=$as_save_IFS 49013e747e6dSmrg test -z "$as_dir" && as_dir=. 49027a2631fcSmrg for ac_exec_ext in '' $ac_executable_extensions; do 49033e747e6dSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 49043e747e6dSmrg ac_cv_prog_YACC="$ac_prog" 49057a2631fcSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 49063e747e6dSmrg break 2 49073e747e6dSmrg fi 49083e747e6dSmrgdone 49097a2631fcSmrg done 49103e747e6dSmrgIFS=$as_save_IFS 49113e747e6dSmrg 49123e747e6dSmrgfi 49133e747e6dSmrgfi 49143e747e6dSmrgYACC=$ac_cv_prog_YACC 49153e747e6dSmrgif test -n "$YACC"; then 49167a2631fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 49177a2631fcSmrg$as_echo "$YACC" >&6; } 49183e747e6dSmrgelse 49197a2631fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 49207a2631fcSmrg$as_echo "no" >&6; } 49213e747e6dSmrgfi 49223e747e6dSmrg 49233e747e6dSmrg 49243e747e6dSmrg test -n "$YACC" && break 49253e747e6dSmrgdone 49263e747e6dSmrgtest -n "$YACC" || YACC="yacc" 49273e747e6dSmrg 49287a2631fcSmrg# Extract the first word of "$YACC", so it can be a program name with args. 49297a2631fcSmrgset dummy $YACC; ac_word=$2 49307a2631fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 49317a2631fcSmrg$as_echo_n "checking for $ac_word... " >&6; } 49327a2631fcSmrgif ${ac_cv_path_YACC_INST+:} false; then : 49337a2631fcSmrg $as_echo_n "(cached) " >&6 49347a2631fcSmrgelse 49357a2631fcSmrg case $YACC_INST in 49367a2631fcSmrg [\\/]* | ?:[\\/]*) 49377a2631fcSmrg ac_cv_path_YACC_INST="$YACC_INST" # Let the user override the test with a path. 49387a2631fcSmrg ;; 49397a2631fcSmrg *) 49407a2631fcSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 49417a2631fcSmrgfor as_dir in $PATH 49427a2631fcSmrgdo 49437a2631fcSmrg IFS=$as_save_IFS 49447a2631fcSmrg test -z "$as_dir" && as_dir=. 49457a2631fcSmrg for ac_exec_ext in '' $ac_executable_extensions; do 49467a2631fcSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 49477a2631fcSmrg ac_cv_path_YACC_INST="$as_dir/$ac_word$ac_exec_ext" 49487a2631fcSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 49497a2631fcSmrg break 2 49507a2631fcSmrg fi 49517a2631fcSmrgdone 49527a2631fcSmrg done 49537a2631fcSmrgIFS=$as_save_IFS 49547a2631fcSmrg 49557a2631fcSmrg ;; 49567a2631fcSmrgesac 49577a2631fcSmrgfi 49587a2631fcSmrgYACC_INST=$ac_cv_path_YACC_INST 49597a2631fcSmrgif test -n "$YACC_INST"; then 49607a2631fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC_INST" >&5 49617a2631fcSmrg$as_echo "$YACC_INST" >&6; } 49627a2631fcSmrgelse 49637a2631fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 49647a2631fcSmrg$as_echo "no" >&6; } 49657a2631fcSmrgfi 49667a2631fcSmrg 49677a2631fcSmrg 49682d96a817Smrgif test ! -f "$srcdir/gram.c"; then 49692d96a817Smrg if test -z "$YACC_INST"; then 49702d96a817Smrg as_fn_error $? "yacc not found - unable to compile gram.y" "$LINENO" 5 49712d96a817Smrg fi 49727a2631fcSmrgfi 49733e747e6dSmrgfor ac_prog in flex lex 49743e747e6dSmrgdo 49753e747e6dSmrg # Extract the first word of "$ac_prog", so it can be a program name with args. 49763e747e6dSmrgset dummy $ac_prog; ac_word=$2 49777a2631fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 49787a2631fcSmrg$as_echo_n "checking for $ac_word... " >&6; } 49797a2631fcSmrgif ${ac_cv_prog_LEX+:} false; then : 49807a2631fcSmrg $as_echo_n "(cached) " >&6 49813e747e6dSmrgelse 49823e747e6dSmrg if test -n "$LEX"; then 49833e747e6dSmrg ac_cv_prog_LEX="$LEX" # Let the user override the test. 49843e747e6dSmrgelse 49853e747e6dSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 49863e747e6dSmrgfor as_dir in $PATH 49873e747e6dSmrgdo 49883e747e6dSmrg IFS=$as_save_IFS 49893e747e6dSmrg test -z "$as_dir" && as_dir=. 49907a2631fcSmrg for ac_exec_ext in '' $ac_executable_extensions; do 49913e747e6dSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 49923e747e6dSmrg ac_cv_prog_LEX="$ac_prog" 49937a2631fcSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 49943e747e6dSmrg break 2 49953e747e6dSmrg fi 49963e747e6dSmrgdone 49977a2631fcSmrg done 49983e747e6dSmrgIFS=$as_save_IFS 49993e747e6dSmrg 50003e747e6dSmrgfi 50013e747e6dSmrgfi 50023e747e6dSmrgLEX=$ac_cv_prog_LEX 50033e747e6dSmrgif test -n "$LEX"; then 50047a2631fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5 50057a2631fcSmrg$as_echo "$LEX" >&6; } 50063e747e6dSmrgelse 50077a2631fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 50087a2631fcSmrg$as_echo "no" >&6; } 50093e747e6dSmrgfi 50103e747e6dSmrg 50113e747e6dSmrg 50123e747e6dSmrg test -n "$LEX" && break 50133e747e6dSmrgdone 50143e747e6dSmrgtest -n "$LEX" || LEX=":" 50153e747e6dSmrg 50163e747e6dSmrgif test "x$LEX" != "x:"; then 50173e747e6dSmrg cat >conftest.l <<_ACEOF 50183e747e6dSmrg%% 50193e747e6dSmrga { ECHO; } 50203e747e6dSmrgb { REJECT; } 50213e747e6dSmrgc { yymore (); } 50223e747e6dSmrgd { yyless (1); } 50233e747e6dSmrge { yyless (input () != 0); } 50243e747e6dSmrgf { unput (yytext[0]); } 50253e747e6dSmrg. { BEGIN INITIAL; } 50263e747e6dSmrg%% 50273e747e6dSmrg#ifdef YYTEXT_POINTER 50283e747e6dSmrgextern char *yytext; 50293e747e6dSmrg#endif 50303e747e6dSmrgint 50313e747e6dSmrgmain (void) 50323e747e6dSmrg{ 50333e747e6dSmrg return ! yylex () + ! yywrap (); 50343e747e6dSmrg} 50353e747e6dSmrg_ACEOF 50367a2631fcSmrg{ { ac_try="$LEX conftest.l" 50373e747e6dSmrgcase "(($ac_try" in 50383e747e6dSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 50393e747e6dSmrg *) ac_try_echo=$ac_try;; 50403e747e6dSmrgesac 50417a2631fcSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 50427a2631fcSmrg$as_echo "$ac_try_echo"; } >&5 50433e747e6dSmrg (eval "$LEX conftest.l") 2>&5 50443e747e6dSmrg ac_status=$? 50457a2631fcSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 50467a2631fcSmrg test $ac_status = 0; } 50477a2631fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5 50487a2631fcSmrg$as_echo_n "checking lex output file root... " >&6; } 50497a2631fcSmrgif ${ac_cv_prog_lex_root+:} false; then : 50507a2631fcSmrg $as_echo_n "(cached) " >&6 50513e747e6dSmrgelse 50523e747e6dSmrg 50533e747e6dSmrgif test -f lex.yy.c; then 50543e747e6dSmrg ac_cv_prog_lex_root=lex.yy 50553e747e6dSmrgelif test -f lexyy.c; then 50563e747e6dSmrg ac_cv_prog_lex_root=lexyy 50573e747e6dSmrgelse 50587a2631fcSmrg as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5 50593e747e6dSmrgfi 50603e747e6dSmrgfi 50617a2631fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 50627a2631fcSmrg$as_echo "$ac_cv_prog_lex_root" >&6; } 50633e747e6dSmrgLEX_OUTPUT_ROOT=$ac_cv_prog_lex_root 50643e747e6dSmrg 50653e747e6dSmrgif test -z "${LEXLIB+set}"; then 50667a2631fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5 50677a2631fcSmrg$as_echo_n "checking lex library... " >&6; } 50687a2631fcSmrgif ${ac_cv_lib_lex+:} false; then : 50697a2631fcSmrg $as_echo_n "(cached) " >&6 50703e747e6dSmrgelse 50713e747e6dSmrg 50723e747e6dSmrg ac_save_LIBS=$LIBS 50733e747e6dSmrg ac_cv_lib_lex='none needed' 50743e747e6dSmrg for ac_lib in '' -lfl -ll; do 50753e747e6dSmrg LIBS="$ac_lib $ac_save_LIBS" 50767a2631fcSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 50777a2631fcSmrg/* end confdefs.h. */ 50783e747e6dSmrg`cat $LEX_OUTPUT_ROOT.c` 50793e747e6dSmrg_ACEOF 50807a2631fcSmrgif ac_fn_c_try_link "$LINENO"; then : 50813e747e6dSmrg ac_cv_lib_lex=$ac_lib 50823e747e6dSmrgfi 50837a2631fcSmrgrm -f core conftest.err conftest.$ac_objext \ 50847a2631fcSmrg conftest$ac_exeext conftest.$ac_ext 50853e747e6dSmrg test "$ac_cv_lib_lex" != 'none needed' && break 50863e747e6dSmrg done 50873e747e6dSmrg LIBS=$ac_save_LIBS 50883e747e6dSmrg 50893e747e6dSmrgfi 50907a2631fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5 50917a2631fcSmrg$as_echo "$ac_cv_lib_lex" >&6; } 50923e747e6dSmrg test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex 50933e747e6dSmrgfi 50943e747e6dSmrg 50953e747e6dSmrg 50967a2631fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5 50977a2631fcSmrg$as_echo_n "checking whether yytext is a pointer... " >&6; } 50987a2631fcSmrgif ${ac_cv_prog_lex_yytext_pointer+:} false; then : 50997a2631fcSmrg $as_echo_n "(cached) " >&6 51003e747e6dSmrgelse 51013e747e6dSmrg # POSIX says lex can declare yytext either as a pointer or an array; the 51023e747e6dSmrg# default is implementation-dependent. Figure out which it is, since 51033e747e6dSmrg# not all implementations provide the %pointer and %array declarations. 51043e747e6dSmrgac_cv_prog_lex_yytext_pointer=no 51053e747e6dSmrgac_save_LIBS=$LIBS 51063e747e6dSmrgLIBS="$LEXLIB $ac_save_LIBS" 51077a2631fcSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 51087a2631fcSmrg/* end confdefs.h. */ 51097a2631fcSmrg 51107a2631fcSmrg #define YYTEXT_POINTER 1 51113e747e6dSmrg`cat $LEX_OUTPUT_ROOT.c` 51123e747e6dSmrg_ACEOF 51137a2631fcSmrgif ac_fn_c_try_link "$LINENO"; then : 51143e747e6dSmrg ac_cv_prog_lex_yytext_pointer=yes 51153e747e6dSmrgfi 51167a2631fcSmrgrm -f core conftest.err conftest.$ac_objext \ 51177a2631fcSmrg conftest$ac_exeext conftest.$ac_ext 51183e747e6dSmrgLIBS=$ac_save_LIBS 51193e747e6dSmrg 51203e747e6dSmrgfi 51217a2631fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5 51227a2631fcSmrg$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; } 51237a2631fcSmrgif test $ac_cv_prog_lex_yytext_pointer = yes; then 51247a2631fcSmrg 51257a2631fcSmrg$as_echo "#define YYTEXT_POINTER 1" >>confdefs.h 51263e747e6dSmrg 51273e747e6dSmrgfi 51287a2631fcSmrgrm -f conftest.l $LEX_OUTPUT_ROOT.c 51293e747e6dSmrg 51303e747e6dSmrgfi 51317a2631fcSmrg 51327a2631fcSmrgfor ac_func in mkstemp 51337a2631fcSmrgdo : 51347a2631fcSmrg ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp" 51357a2631fcSmrgif test "x$ac_cv_func_mkstemp" = xyes; then : 51367a2631fcSmrg cat >>confdefs.h <<_ACEOF 51377a2631fcSmrg#define HAVE_MKSTEMP 1 51387a2631fcSmrg_ACEOF 51393e747e6dSmrg 51403e747e6dSmrgfi 51417a2631fcSmrgdone 51427a2631fcSmrg 51437a2631fcSmrg 51447a2631fcSmrg# Checks for pkg-config packages 51453e747e6dSmrg 51463e747e6dSmrgpkg_failed=no 51477a2631fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TWM" >&5 51487a2631fcSmrg$as_echo_n "checking for TWM... " >&6; } 51493e747e6dSmrg 51503e747e6dSmrgif test -n "$TWM_CFLAGS"; then 51513e747e6dSmrg pkg_cv_TWM_CFLAGS="$TWM_CFLAGS" 51523e747e6dSmrg elif test -n "$PKG_CONFIG"; then 51533e747e6dSmrg if test -n "$PKG_CONFIG" && \ 5154ffd25bcaSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xext xt xmu ice sm xproto >= 7.0.17\""; } >&5 5155ffd25bcaSmrg ($PKG_CONFIG --exists --print-errors "x11 xext xt xmu ice sm xproto >= 7.0.17") 2>&5 51563e747e6dSmrg ac_status=$? 51577a2631fcSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 51587a2631fcSmrg test $ac_status = 0; }; then 5159ffd25bcaSmrg pkg_cv_TWM_CFLAGS=`$PKG_CONFIG --cflags "x11 xext xt xmu ice sm xproto >= 7.0.17" 2>/dev/null` 51603e747e6dSmrgelse 51613e747e6dSmrg pkg_failed=yes 51623e747e6dSmrgfi 51633e747e6dSmrg else 51643e747e6dSmrg pkg_failed=untried 51653e747e6dSmrgfi 51663e747e6dSmrgif test -n "$TWM_LIBS"; then 51673e747e6dSmrg pkg_cv_TWM_LIBS="$TWM_LIBS" 51683e747e6dSmrg elif test -n "$PKG_CONFIG"; then 51693e747e6dSmrg if test -n "$PKG_CONFIG" && \ 5170ffd25bcaSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xext xt xmu ice sm xproto >= 7.0.17\""; } >&5 5171ffd25bcaSmrg ($PKG_CONFIG --exists --print-errors "x11 xext xt xmu ice sm xproto >= 7.0.17") 2>&5 51723e747e6dSmrg ac_status=$? 51737a2631fcSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 51747a2631fcSmrg test $ac_status = 0; }; then 5175ffd25bcaSmrg pkg_cv_TWM_LIBS=`$PKG_CONFIG --libs "x11 xext xt xmu ice sm xproto >= 7.0.17" 2>/dev/null` 51763e747e6dSmrgelse 51773e747e6dSmrg pkg_failed=yes 51783e747e6dSmrgfi 51793e747e6dSmrg else 51803e747e6dSmrg pkg_failed=untried 51813e747e6dSmrgfi 51823e747e6dSmrg 51833e747e6dSmrg 51843e747e6dSmrg 51853e747e6dSmrgif test $pkg_failed = yes; then 51863e747e6dSmrg 51873e747e6dSmrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 51883e747e6dSmrg _pkg_short_errors_supported=yes 51893e747e6dSmrgelse 51903e747e6dSmrg _pkg_short_errors_supported=no 51913e747e6dSmrgfi 51923e747e6dSmrg if test $_pkg_short_errors_supported = yes; then 5193ffd25bcaSmrg TWM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 xext xt xmu ice sm xproto >= 7.0.17" 2>&1` 51943e747e6dSmrg else 5195ffd25bcaSmrg TWM_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 xext xt xmu ice sm xproto >= 7.0.17" 2>&1` 51963e747e6dSmrg fi 51973e747e6dSmrg # Put the nasty error message in config.log where it belongs 51983e747e6dSmrg echo "$TWM_PKG_ERRORS" >&5 51993e747e6dSmrg 5200ffd25bcaSmrg as_fn_error $? "Package requirements (x11 xext xt xmu ice sm xproto >= 7.0.17) were not met: 52013e747e6dSmrg 52023e747e6dSmrg$TWM_PKG_ERRORS 52033e747e6dSmrg 52043e747e6dSmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 52053e747e6dSmrginstalled software in a non-standard prefix. 52063e747e6dSmrg 52073e747e6dSmrgAlternatively, you may set the environment variables TWM_CFLAGS 52083e747e6dSmrgand TWM_LIBS to avoid the need to call pkg-config. 52093e747e6dSmrgSee the pkg-config man page for more details. 52107a2631fcSmrg" "$LINENO" 5 52113e747e6dSmrgelif test $pkg_failed = untried; then 52127a2631fcSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 52137a2631fcSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 52147a2631fcSmrgas_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 52153e747e6dSmrgis in your PATH or set the PKG_CONFIG environment variable to the full 52163e747e6dSmrgpath to pkg-config. 52173e747e6dSmrg 52183e747e6dSmrgAlternatively, you may set the environment variables TWM_CFLAGS 52193e747e6dSmrgand TWM_LIBS to avoid the need to call pkg-config. 52203e747e6dSmrgSee the pkg-config man page for more details. 52213e747e6dSmrg 52223e747e6dSmrgTo get pkg-config, see <http://pkg-config.freedesktop.org/>. 52237a2631fcSmrgSee \`config.log' for more details" "$LINENO" 5; } 52243e747e6dSmrgelse 52253e747e6dSmrg TWM_CFLAGS=$pkg_cv_TWM_CFLAGS 52263e747e6dSmrg TWM_LIBS=$pkg_cv_TWM_LIBS 52277a2631fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 52287a2631fcSmrg$as_echo "yes" >&6; } 52293e747e6dSmrg : 52303e747e6dSmrgfi 52313e747e6dSmrg 52323e747e6dSmrgac_config_files="$ac_config_files Makefile src/Makefile man/Makefile" 52333e747e6dSmrg 52343e747e6dSmrgcat >confcache <<\_ACEOF 52353e747e6dSmrg# This file is a shell script that caches the results of configure 52363e747e6dSmrg# tests run on this system so they can be shared between configure 52373e747e6dSmrg# scripts and configure runs, see configure's option --config-cache. 52383e747e6dSmrg# It is not useful on other systems. If it contains results you don't 52393e747e6dSmrg# want to keep, you may remove or edit it. 52403e747e6dSmrg# 52413e747e6dSmrg# config.status only pays attention to the cache file if you give it 52423e747e6dSmrg# the --recheck option to rerun configure. 52433e747e6dSmrg# 52443e747e6dSmrg# `ac_cv_env_foo' variables (set or unset) will be overridden when 52453e747e6dSmrg# loading this file, other *unset* `ac_cv_foo' will be assigned the 52463e747e6dSmrg# following values. 52473e747e6dSmrg 52483e747e6dSmrg_ACEOF 52493e747e6dSmrg 52503e747e6dSmrg# The following way of writing the cache mishandles newlines in values, 52513e747e6dSmrg# but we know of no workaround that is simple, portable, and efficient. 52523e747e6dSmrg# So, we kill variables containing newlines. 52533e747e6dSmrg# Ultrix sh set writes to stderr and can't be redirected directly, 52543e747e6dSmrg# and sets the high bit in the cache file unless we assign to the vars. 52553e747e6dSmrg( 52563e747e6dSmrg for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 52573e747e6dSmrg eval ac_val=\$$ac_var 52583e747e6dSmrg case $ac_val in #( 52593e747e6dSmrg *${as_nl}*) 52603e747e6dSmrg case $ac_var in #( 52617a2631fcSmrg *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 52627a2631fcSmrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 52633e747e6dSmrg esac 52643e747e6dSmrg case $ac_var in #( 52653e747e6dSmrg _ | IFS | as_nl) ;; #( 52667a2631fcSmrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 52677a2631fcSmrg *) { eval $ac_var=; unset $ac_var;} ;; 52683e747e6dSmrg esac ;; 52693e747e6dSmrg esac 52703e747e6dSmrg done 52713e747e6dSmrg 52723e747e6dSmrg (set) 2>&1 | 52733e747e6dSmrg case $as_nl`(ac_space=' '; set) 2>&1` in #( 52743e747e6dSmrg *${as_nl}ac_space=\ *) 52757a2631fcSmrg # `set' does not quote correctly, so add quotes: double-quote 52767a2631fcSmrg # substitution turns \\\\ into \\, and sed turns \\ into \. 52773e747e6dSmrg sed -n \ 52783e747e6dSmrg "s/'/'\\\\''/g; 52793e747e6dSmrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 52803e747e6dSmrg ;; #( 52813e747e6dSmrg *) 52823e747e6dSmrg # `set' quotes correctly as required by POSIX, so do not add quotes. 52833e747e6dSmrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 52843e747e6dSmrg ;; 52853e747e6dSmrg esac | 52863e747e6dSmrg sort 52873e747e6dSmrg) | 52883e747e6dSmrg sed ' 52893e747e6dSmrg /^ac_cv_env_/b end 52903e747e6dSmrg t clear 52913e747e6dSmrg :clear 52923e747e6dSmrg s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 52933e747e6dSmrg t end 52943e747e6dSmrg s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 52953e747e6dSmrg :end' >>confcache 52963e747e6dSmrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 52973e747e6dSmrg if test -w "$cache_file"; then 52987a2631fcSmrg if test "x$cache_file" != "x/dev/null"; then 52997a2631fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 53007a2631fcSmrg$as_echo "$as_me: updating cache $cache_file" >&6;} 53017a2631fcSmrg if test ! -f "$cache_file" || test -h "$cache_file"; then 53027a2631fcSmrg cat confcache >"$cache_file" 53037a2631fcSmrg else 53047a2631fcSmrg case $cache_file in #( 53057a2631fcSmrg */* | ?:*) 53067a2631fcSmrg mv -f confcache "$cache_file"$$ && 53077a2631fcSmrg mv -f "$cache_file"$$ "$cache_file" ;; #( 53087a2631fcSmrg *) 53097a2631fcSmrg mv -f confcache "$cache_file" ;; 53107a2631fcSmrg esac 53117a2631fcSmrg fi 53127a2631fcSmrg fi 53133e747e6dSmrg else 53147a2631fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 53157a2631fcSmrg$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 53163e747e6dSmrg fi 53173e747e6dSmrgfi 53183e747e6dSmrgrm -f confcache 53193e747e6dSmrg 53203e747e6dSmrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix 53213e747e6dSmrg# Let make expand exec_prefix. 53223e747e6dSmrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 53233e747e6dSmrg 53243e747e6dSmrgDEFS=-DHAVE_CONFIG_H 53253e747e6dSmrg 53263e747e6dSmrgac_libobjs= 53273e747e6dSmrgac_ltlibobjs= 53287a2631fcSmrgU= 53293e747e6dSmrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 53303e747e6dSmrg # 1. Remove the extension, and $U if already installed. 53313e747e6dSmrg ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 53327a2631fcSmrg ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 53333e747e6dSmrg # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 53343e747e6dSmrg # will be set to the directory where LIBOBJS objects are built. 53357a2631fcSmrg as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 53367a2631fcSmrg as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 53373e747e6dSmrgdone 53383e747e6dSmrgLIBOBJS=$ac_libobjs 53393e747e6dSmrg 53403e747e6dSmrgLTLIBOBJS=$ac_ltlibobjs 53413e747e6dSmrg 53423e747e6dSmrg 5343ffd25bcaSmrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 5344ffd25bcaSmrg as_fn_error $? "conditional \"AMDEP\" was never defined. 5345ffd25bcaSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 5346ffd25bcaSmrgfi 5347ffd25bcaSmrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 5348ffd25bcaSmrg as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 5349ffd25bcaSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 5350ffd25bcaSmrgfi 53517a2631fcSmrg if test -n "$EXEEXT"; then 53527a2631fcSmrg am__EXEEXT_TRUE= 53537a2631fcSmrg am__EXEEXT_FALSE='#' 53547a2631fcSmrgelse 53557a2631fcSmrg am__EXEEXT_TRUE='#' 53567a2631fcSmrg am__EXEEXT_FALSE= 53577a2631fcSmrgfi 53587a2631fcSmrg 53593e747e6dSmrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 53607a2631fcSmrg as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 53617a2631fcSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 53623e747e6dSmrgfi 53633e747e6dSmrg 53647a2631fcSmrg: "${CONFIG_STATUS=./config.status}" 53657a2631fcSmrgac_write_fail=0 53663e747e6dSmrgac_clean_files_save=$ac_clean_files 53673e747e6dSmrgac_clean_files="$ac_clean_files $CONFIG_STATUS" 53687a2631fcSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 53697a2631fcSmrg$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 53707a2631fcSmrgas_write_fail=0 53717a2631fcSmrgcat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 53723e747e6dSmrg#! $SHELL 53733e747e6dSmrg# Generated by $as_me. 53743e747e6dSmrg# Run this file to recreate the current configuration. 53753e747e6dSmrg# Compiler output produced by configure, useful for debugging 53763e747e6dSmrg# configure, is in config.log if it exists. 53773e747e6dSmrg 53783e747e6dSmrgdebug=false 53793e747e6dSmrgac_cs_recheck=false 53803e747e6dSmrgac_cs_silent=false 53813e747e6dSmrg 53827a2631fcSmrgSHELL=\${CONFIG_SHELL-$SHELL} 53837a2631fcSmrgexport SHELL 53847a2631fcSmrg_ASEOF 53857a2631fcSmrgcat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 53867a2631fcSmrg## -------------------- ## 53877a2631fcSmrg## M4sh Initialization. ## 53887a2631fcSmrg## -------------------- ## 53893e747e6dSmrg 53903e747e6dSmrg# Be more Bourne compatible 53913e747e6dSmrgDUALCASE=1; export DUALCASE # for MKS sh 53927a2631fcSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 53933e747e6dSmrg emulate sh 53943e747e6dSmrg NULLCMD=: 53957a2631fcSmrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 53963e747e6dSmrg # is contrary to our usage. Disable this feature. 53973e747e6dSmrg alias -g '${1+"$@"}'='"$@"' 53983e747e6dSmrg setopt NO_GLOB_SUBST 53993e747e6dSmrgelse 54007a2631fcSmrg case `(set -o) 2>/dev/null` in #( 54017a2631fcSmrg *posix*) : 54027a2631fcSmrg set -o posix ;; #( 54037a2631fcSmrg *) : 54047a2631fcSmrg ;; 54053e747e6dSmrgesac 54063e747e6dSmrgfi 54073e747e6dSmrg 54083e747e6dSmrg 54097a2631fcSmrgas_nl=' 54107a2631fcSmrg' 54117a2631fcSmrgexport as_nl 54127a2631fcSmrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 54137a2631fcSmrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 54147a2631fcSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 54157a2631fcSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 54167a2631fcSmrg# Prefer a ksh shell builtin over an external printf program on Solaris, 54177a2631fcSmrg# but without wasting forks for bash or zsh. 54187a2631fcSmrgif test -z "$BASH_VERSION$ZSH_VERSION" \ 54197a2631fcSmrg && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 54207a2631fcSmrg as_echo='print -r --' 54217a2631fcSmrg as_echo_n='print -rn --' 54227a2631fcSmrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 54237a2631fcSmrg as_echo='printf %s\n' 54247a2631fcSmrg as_echo_n='printf %s' 54257a2631fcSmrgelse 54267a2631fcSmrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54277a2631fcSmrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 54287a2631fcSmrg as_echo_n='/usr/ucb/echo -n' 54293e747e6dSmrg else 54307a2631fcSmrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 54317a2631fcSmrg as_echo_n_body='eval 54327a2631fcSmrg arg=$1; 54337a2631fcSmrg case $arg in #( 54347a2631fcSmrg *"$as_nl"*) 54357a2631fcSmrg expr "X$arg" : "X\\(.*\\)$as_nl"; 54367a2631fcSmrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 54377a2631fcSmrg esac; 54387a2631fcSmrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 54397a2631fcSmrg ' 54407a2631fcSmrg export as_echo_n_body 54417a2631fcSmrg as_echo_n='sh -c $as_echo_n_body as_echo' 54423e747e6dSmrg fi 54437a2631fcSmrg export as_echo_body 54447a2631fcSmrg as_echo='sh -c $as_echo_body as_echo' 54453e747e6dSmrgfi 54463e747e6dSmrg 54477a2631fcSmrg# The user is always right. 54487a2631fcSmrgif test "${PATH_SEPARATOR+set}" != set; then 54497a2631fcSmrg PATH_SEPARATOR=: 54507a2631fcSmrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 54517a2631fcSmrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 54527a2631fcSmrg PATH_SEPARATOR=';' 54537a2631fcSmrg } 54543e747e6dSmrgfi 54553e747e6dSmrg 54563e747e6dSmrg 54573e747e6dSmrg# IFS 54583e747e6dSmrg# We need space, tab and new line, in precisely that order. Quoting is 54593e747e6dSmrg# there to prevent editors from complaining about space-tab. 54603e747e6dSmrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 54613e747e6dSmrg# splitting by setting IFS to empty value.) 54623e747e6dSmrgIFS=" "" $as_nl" 54633e747e6dSmrg 54643e747e6dSmrg# Find who we are. Look in the path if we contain no directory separator. 54657a2631fcSmrgas_myself= 54667a2631fcSmrgcase $0 in #(( 54673e747e6dSmrg *[\\/]* ) as_myself=$0 ;; 54683e747e6dSmrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 54693e747e6dSmrgfor as_dir in $PATH 54703e747e6dSmrgdo 54713e747e6dSmrg IFS=$as_save_IFS 54723e747e6dSmrg test -z "$as_dir" && as_dir=. 54737a2631fcSmrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 54747a2631fcSmrg done 54753e747e6dSmrgIFS=$as_save_IFS 54763e747e6dSmrg 54773e747e6dSmrg ;; 54783e747e6dSmrgesac 54793e747e6dSmrg# We did not find ourselves, most probably we were run as `sh COMMAND' 54803e747e6dSmrg# in which case we are not to be found in the path. 54813e747e6dSmrgif test "x$as_myself" = x; then 54823e747e6dSmrg as_myself=$0 54833e747e6dSmrgfi 54843e747e6dSmrgif test ! -f "$as_myself"; then 54857a2631fcSmrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 54867a2631fcSmrg exit 1 54873e747e6dSmrgfi 54883e747e6dSmrg 54897a2631fcSmrg# Unset variables that we do not need and which cause bugs (e.g. in 54907a2631fcSmrg# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 54917a2631fcSmrg# suppresses any "Segmentation fault" message there. '((' could 54927a2631fcSmrg# trigger a bug in pdksh 5.2.14. 54937a2631fcSmrgfor as_var in BASH_ENV ENV MAIL MAILPATH 54947a2631fcSmrgdo eval test x\${$as_var+set} = xset \ 54957a2631fcSmrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 54963e747e6dSmrgdone 54973e747e6dSmrgPS1='$ ' 54983e747e6dSmrgPS2='> ' 54993e747e6dSmrgPS4='+ ' 55003e747e6dSmrg 55013e747e6dSmrg# NLS nuisances. 55027a2631fcSmrgLC_ALL=C 55037a2631fcSmrgexport LC_ALL 55047a2631fcSmrgLANGUAGE=C 55057a2631fcSmrgexport LANGUAGE 55067a2631fcSmrg 55077a2631fcSmrg# CDPATH. 55087a2631fcSmrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 55097a2631fcSmrg 55107a2631fcSmrg 55117a2631fcSmrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 55127a2631fcSmrg# ---------------------------------------- 55137a2631fcSmrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 55147a2631fcSmrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 55157a2631fcSmrg# script with STATUS, using 1 if that was 0. 55167a2631fcSmrgas_fn_error () 55177a2631fcSmrg{ 55187a2631fcSmrg as_status=$1; test $as_status -eq 0 && as_status=1 55197a2631fcSmrg if test "$4"; then 55207a2631fcSmrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 55217a2631fcSmrg $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 55223e747e6dSmrg fi 55237a2631fcSmrg $as_echo "$as_me: error: $2" >&2 55247a2631fcSmrg as_fn_exit $as_status 55257a2631fcSmrg} # as_fn_error 55267a2631fcSmrg 55277a2631fcSmrg 55287a2631fcSmrg# as_fn_set_status STATUS 55297a2631fcSmrg# ----------------------- 55307a2631fcSmrg# Set $? to STATUS, without forking. 55317a2631fcSmrgas_fn_set_status () 55327a2631fcSmrg{ 55337a2631fcSmrg return $1 55347a2631fcSmrg} # as_fn_set_status 55357a2631fcSmrg 55367a2631fcSmrg# as_fn_exit STATUS 55377a2631fcSmrg# ----------------- 55387a2631fcSmrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 55397a2631fcSmrgas_fn_exit () 55407a2631fcSmrg{ 55417a2631fcSmrg set +e 55427a2631fcSmrg as_fn_set_status $1 55437a2631fcSmrg exit $1 55447a2631fcSmrg} # as_fn_exit 55457a2631fcSmrg 55467a2631fcSmrg# as_fn_unset VAR 55477a2631fcSmrg# --------------- 55487a2631fcSmrg# Portably unset VAR. 55497a2631fcSmrgas_fn_unset () 55507a2631fcSmrg{ 55517a2631fcSmrg { eval $1=; unset $1;} 55527a2631fcSmrg} 55537a2631fcSmrgas_unset=as_fn_unset 55547a2631fcSmrg# as_fn_append VAR VALUE 55557a2631fcSmrg# ---------------------- 55567a2631fcSmrg# Append the text in VALUE to the end of the definition contained in VAR. Take 55577a2631fcSmrg# advantage of any shell optimizations that allow amortized linear growth over 55587a2631fcSmrg# repeated appends, instead of the typical quadratic growth present in naive 55597a2631fcSmrg# implementations. 55607a2631fcSmrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 55617a2631fcSmrg eval 'as_fn_append () 55627a2631fcSmrg { 55637a2631fcSmrg eval $1+=\$2 55647a2631fcSmrg }' 55657a2631fcSmrgelse 55667a2631fcSmrg as_fn_append () 55677a2631fcSmrg { 55687a2631fcSmrg eval $1=\$$1\$2 55697a2631fcSmrg } 55707a2631fcSmrgfi # as_fn_append 55717a2631fcSmrg 55727a2631fcSmrg# as_fn_arith ARG... 55737a2631fcSmrg# ------------------ 55747a2631fcSmrg# Perform arithmetic evaluation on the ARGs, and store the result in the 55757a2631fcSmrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 55767a2631fcSmrg# must be portable across $(()) and expr. 55777a2631fcSmrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 55787a2631fcSmrg eval 'as_fn_arith () 55797a2631fcSmrg { 55807a2631fcSmrg as_val=$(( $* )) 55817a2631fcSmrg }' 55827a2631fcSmrgelse 55837a2631fcSmrg as_fn_arith () 55847a2631fcSmrg { 55857a2631fcSmrg as_val=`expr "$@" || test $? -eq 1` 55867a2631fcSmrg } 55877a2631fcSmrgfi # as_fn_arith 55887a2631fcSmrg 55893e747e6dSmrg 55903e747e6dSmrgif expr a : '\(a\)' >/dev/null 2>&1 && 55913e747e6dSmrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 55923e747e6dSmrg as_expr=expr 55933e747e6dSmrgelse 55943e747e6dSmrg as_expr=false 55953e747e6dSmrgfi 55963e747e6dSmrg 55973e747e6dSmrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 55983e747e6dSmrg as_basename=basename 55993e747e6dSmrgelse 56003e747e6dSmrg as_basename=false 56013e747e6dSmrgfi 56023e747e6dSmrg 56037a2631fcSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 56047a2631fcSmrg as_dirname=dirname 56057a2631fcSmrgelse 56067a2631fcSmrg as_dirname=false 56077a2631fcSmrgfi 56083e747e6dSmrg 56093e747e6dSmrgas_me=`$as_basename -- "$0" || 56103e747e6dSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 56113e747e6dSmrg X"$0" : 'X\(//\)$' \| \ 56123e747e6dSmrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 56137a2631fcSmrg$as_echo X/"$0" | 56143e747e6dSmrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 56153e747e6dSmrg s//\1/ 56163e747e6dSmrg q 56173e747e6dSmrg } 56183e747e6dSmrg /^X\/\(\/\/\)$/{ 56193e747e6dSmrg s//\1/ 56203e747e6dSmrg q 56213e747e6dSmrg } 56223e747e6dSmrg /^X\/\(\/\).*/{ 56233e747e6dSmrg s//\1/ 56243e747e6dSmrg q 56253e747e6dSmrg } 56263e747e6dSmrg s/.*/./; q'` 56273e747e6dSmrg 56287a2631fcSmrg# Avoid depending upon Character Ranges. 56297a2631fcSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 56307a2631fcSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 56317a2631fcSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 56327a2631fcSmrgas_cr_digits='0123456789' 56337a2631fcSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits 56343e747e6dSmrg 56353e747e6dSmrgECHO_C= ECHO_N= ECHO_T= 56367a2631fcSmrgcase `echo -n x` in #((((( 56373e747e6dSmrg-n*) 56387a2631fcSmrg case `echo 'xy\c'` in 56393e747e6dSmrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 56407a2631fcSmrg xy) ECHO_C='\c';; 56417a2631fcSmrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 56427a2631fcSmrg ECHO_T=' ';; 56433e747e6dSmrg esac;; 56443e747e6dSmrg*) 56453e747e6dSmrg ECHO_N='-n';; 56463e747e6dSmrgesac 56473e747e6dSmrg 56483e747e6dSmrgrm -f conf$$ conf$$.exe conf$$.file 56493e747e6dSmrgif test -d conf$$.dir; then 56503e747e6dSmrg rm -f conf$$.dir/conf$$.file 56513e747e6dSmrgelse 56523e747e6dSmrg rm -f conf$$.dir 56537a2631fcSmrg mkdir conf$$.dir 2>/dev/null 56547a2631fcSmrgfi 56557a2631fcSmrgif (echo >conf$$.file) 2>/dev/null; then 56567a2631fcSmrg if ln -s conf$$.file conf$$ 2>/dev/null; then 56577a2631fcSmrg as_ln_s='ln -s' 56587a2631fcSmrg # ... but there are two gotchas: 56597a2631fcSmrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 56607a2631fcSmrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 56617a2631fcSmrg # In both cases, we have to default to `cp -p'. 56627a2631fcSmrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 56637a2631fcSmrg as_ln_s='cp -p' 56647a2631fcSmrg elif ln conf$$.file conf$$ 2>/dev/null; then 56657a2631fcSmrg as_ln_s=ln 56667a2631fcSmrg else 56673e747e6dSmrg as_ln_s='cp -p' 56687a2631fcSmrg fi 56693e747e6dSmrgelse 56703e747e6dSmrg as_ln_s='cp -p' 56713e747e6dSmrgfi 56723e747e6dSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 56733e747e6dSmrgrmdir conf$$.dir 2>/dev/null 56743e747e6dSmrg 56757a2631fcSmrg 56767a2631fcSmrg# as_fn_mkdir_p 56777a2631fcSmrg# ------------- 56787a2631fcSmrg# Create "$as_dir" as a directory, including parents if necessary. 56797a2631fcSmrgas_fn_mkdir_p () 56807a2631fcSmrg{ 56817a2631fcSmrg 56827a2631fcSmrg case $as_dir in #( 56837a2631fcSmrg -*) as_dir=./$as_dir;; 56847a2631fcSmrg esac 56857a2631fcSmrg test -d "$as_dir" || eval $as_mkdir_p || { 56867a2631fcSmrg as_dirs= 56877a2631fcSmrg while :; do 56887a2631fcSmrg case $as_dir in #( 56897a2631fcSmrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 56907a2631fcSmrg *) as_qdir=$as_dir;; 56917a2631fcSmrg esac 56927a2631fcSmrg as_dirs="'$as_qdir' $as_dirs" 56937a2631fcSmrg as_dir=`$as_dirname -- "$as_dir" || 56947a2631fcSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 56957a2631fcSmrg X"$as_dir" : 'X\(//\)[^/]' \| \ 56967a2631fcSmrg X"$as_dir" : 'X\(//\)$' \| \ 56977a2631fcSmrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 56987a2631fcSmrg$as_echo X"$as_dir" | 56997a2631fcSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 57007a2631fcSmrg s//\1/ 57017a2631fcSmrg q 57027a2631fcSmrg } 57037a2631fcSmrg /^X\(\/\/\)[^/].*/{ 57047a2631fcSmrg s//\1/ 57057a2631fcSmrg q 57067a2631fcSmrg } 57077a2631fcSmrg /^X\(\/\/\)$/{ 57087a2631fcSmrg s//\1/ 57097a2631fcSmrg q 57107a2631fcSmrg } 57117a2631fcSmrg /^X\(\/\).*/{ 57127a2631fcSmrg s//\1/ 57137a2631fcSmrg q 57147a2631fcSmrg } 57157a2631fcSmrg s/.*/./; q'` 57167a2631fcSmrg test -d "$as_dir" && break 57177a2631fcSmrg done 57187a2631fcSmrg test -z "$as_dirs" || eval "mkdir $as_dirs" 57197a2631fcSmrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 57207a2631fcSmrg 57217a2631fcSmrg 57227a2631fcSmrg} # as_fn_mkdir_p 57233e747e6dSmrgif mkdir -p . 2>/dev/null; then 57247a2631fcSmrg as_mkdir_p='mkdir -p "$as_dir"' 57253e747e6dSmrgelse 57263e747e6dSmrg test -d ./-p && rmdir ./-p 57273e747e6dSmrg as_mkdir_p=false 57283e747e6dSmrgfi 57293e747e6dSmrg 57303e747e6dSmrgif test -x / >/dev/null 2>&1; then 57313e747e6dSmrg as_test_x='test -x' 57323e747e6dSmrgelse 57333e747e6dSmrg if ls -dL / >/dev/null 2>&1; then 57343e747e6dSmrg as_ls_L_option=L 57353e747e6dSmrg else 57363e747e6dSmrg as_ls_L_option= 57373e747e6dSmrg fi 57383e747e6dSmrg as_test_x=' 57393e747e6dSmrg eval sh -c '\'' 57403e747e6dSmrg if test -d "$1"; then 57417a2631fcSmrg test -d "$1/."; 57423e747e6dSmrg else 57437a2631fcSmrg case $1 in #( 57447a2631fcSmrg -*)set "./$1";; 57453e747e6dSmrg esac; 57467a2631fcSmrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 57473e747e6dSmrg ???[sx]*):;;*)false;;esac;fi 57483e747e6dSmrg '\'' sh 57493e747e6dSmrg ' 57503e747e6dSmrgfi 57513e747e6dSmrgas_executable_p=$as_test_x 57523e747e6dSmrg 57533e747e6dSmrg# Sed expression to map a string onto a valid CPP name. 57543e747e6dSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 57553e747e6dSmrg 57563e747e6dSmrg# Sed expression to map a string onto a valid variable name. 57573e747e6dSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 57583e747e6dSmrg 57593e747e6dSmrg 57603e747e6dSmrgexec 6>&1 57617a2631fcSmrg## ----------------------------------- ## 57627a2631fcSmrg## Main body of $CONFIG_STATUS script. ## 57637a2631fcSmrg## ----------------------------------- ## 57647a2631fcSmrg_ASEOF 57657a2631fcSmrgtest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 57663e747e6dSmrg 57677a2631fcSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 57687a2631fcSmrg# Save the log message, to keep $0 and so on meaningful, and to 57693e747e6dSmrg# report actual input values of CONFIG_FILES etc. instead of their 57703e747e6dSmrg# values after options handling. 57713e747e6dSmrgac_log=" 5772ffd25bcaSmrgThis file was extended by twm $as_me 1.0.7, which was 57737a2631fcSmrggenerated by GNU Autoconf 2.68. Invocation command line was 57743e747e6dSmrg 57753e747e6dSmrg CONFIG_FILES = $CONFIG_FILES 57763e747e6dSmrg CONFIG_HEADERS = $CONFIG_HEADERS 57773e747e6dSmrg CONFIG_LINKS = $CONFIG_LINKS 57783e747e6dSmrg CONFIG_COMMANDS = $CONFIG_COMMANDS 57793e747e6dSmrg $ $0 $@ 57803e747e6dSmrg 57813e747e6dSmrgon `(hostname || uname -n) 2>/dev/null | sed 1q` 57823e747e6dSmrg" 57833e747e6dSmrg 57843e747e6dSmrg_ACEOF 57853e747e6dSmrg 57867a2631fcSmrgcase $ac_config_files in *" 57877a2631fcSmrg"*) set x $ac_config_files; shift; ac_config_files=$*;; 57887a2631fcSmrgesac 57897a2631fcSmrg 57907a2631fcSmrgcase $ac_config_headers in *" 57917a2631fcSmrg"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 57927a2631fcSmrgesac 57937a2631fcSmrg 57947a2631fcSmrg 57957a2631fcSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 57963e747e6dSmrg# Files that config.status was made for. 57973e747e6dSmrgconfig_files="$ac_config_files" 57983e747e6dSmrgconfig_headers="$ac_config_headers" 57993e747e6dSmrgconfig_commands="$ac_config_commands" 58003e747e6dSmrg 58013e747e6dSmrg_ACEOF 58023e747e6dSmrg 58037a2631fcSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 58043e747e6dSmrgac_cs_usage="\ 58057a2631fcSmrg\`$as_me' instantiates files and other configuration actions 58067a2631fcSmrgfrom templates according to the current configuration. Unless the files 58077a2631fcSmrgand actions are specified as TAGs, all are instantiated by default. 58083e747e6dSmrg 58097a2631fcSmrgUsage: $0 [OPTION]... [TAG]... 58103e747e6dSmrg 58113e747e6dSmrg -h, --help print this help, then exit 58123e747e6dSmrg -V, --version print version number and configuration settings, then exit 58137a2631fcSmrg --config print configuration, then exit 58147a2631fcSmrg -q, --quiet, --silent 58157a2631fcSmrg do not print progress messages 58163e747e6dSmrg -d, --debug don't remove temporary files 58173e747e6dSmrg --recheck update $as_me by reconfiguring in the same conditions 58187a2631fcSmrg --file=FILE[:TEMPLATE] 58197a2631fcSmrg instantiate the configuration file FILE 58207a2631fcSmrg --header=FILE[:TEMPLATE] 58217a2631fcSmrg instantiate the configuration header FILE 58223e747e6dSmrg 58233e747e6dSmrgConfiguration files: 58243e747e6dSmrg$config_files 58253e747e6dSmrg 58263e747e6dSmrgConfiguration headers: 58273e747e6dSmrg$config_headers 58283e747e6dSmrg 58293e747e6dSmrgConfiguration commands: 58303e747e6dSmrg$config_commands 58313e747e6dSmrg 58327a2631fcSmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>." 58333e747e6dSmrg 58343e747e6dSmrg_ACEOF 58357a2631fcSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 58367a2631fcSmrgac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 58373e747e6dSmrgac_cs_version="\\ 5838ffd25bcaSmrgtwm config.status 1.0.7 58397a2631fcSmrgconfigured by $0, generated by GNU Autoconf 2.68, 58407a2631fcSmrg with options \\"\$ac_cs_config\\" 58413e747e6dSmrg 58427a2631fcSmrgCopyright (C) 2010 Free Software Foundation, Inc. 58433e747e6dSmrgThis config.status script is free software; the Free Software Foundation 58443e747e6dSmrggives unlimited permission to copy, distribute and modify it." 58453e747e6dSmrg 58463e747e6dSmrgac_pwd='$ac_pwd' 58473e747e6dSmrgsrcdir='$srcdir' 58483e747e6dSmrgINSTALL='$INSTALL' 58493e747e6dSmrgMKDIR_P='$MKDIR_P' 58507a2631fcSmrgAWK='$AWK' 58517a2631fcSmrgtest -n "\$AWK" || AWK=awk 58523e747e6dSmrg_ACEOF 58533e747e6dSmrg 58547a2631fcSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 58557a2631fcSmrg# The default lists apply if the user does not specify any file. 58563e747e6dSmrgac_need_defaults=: 58573e747e6dSmrgwhile test $# != 0 58583e747e6dSmrgdo 58593e747e6dSmrg case $1 in 58607a2631fcSmrg --*=?*) 58613e747e6dSmrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 58623e747e6dSmrg ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 58633e747e6dSmrg ac_shift=: 58643e747e6dSmrg ;; 58657a2631fcSmrg --*=) 58667a2631fcSmrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 58677a2631fcSmrg ac_optarg= 58687a2631fcSmrg ac_shift=: 58697a2631fcSmrg ;; 58703e747e6dSmrg *) 58713e747e6dSmrg ac_option=$1 58723e747e6dSmrg ac_optarg=$2 58733e747e6dSmrg ac_shift=shift 58743e747e6dSmrg ;; 58753e747e6dSmrg esac 58763e747e6dSmrg 58773e747e6dSmrg case $ac_option in 58783e747e6dSmrg # Handling of the options. 58793e747e6dSmrg -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 58803e747e6dSmrg ac_cs_recheck=: ;; 58813e747e6dSmrg --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 58827a2631fcSmrg $as_echo "$ac_cs_version"; exit ;; 58837a2631fcSmrg --config | --confi | --conf | --con | --co | --c ) 58847a2631fcSmrg $as_echo "$ac_cs_config"; exit ;; 58853e747e6dSmrg --debug | --debu | --deb | --de | --d | -d ) 58863e747e6dSmrg debug=: ;; 58873e747e6dSmrg --file | --fil | --fi | --f ) 58883e747e6dSmrg $ac_shift 58897a2631fcSmrg case $ac_optarg in 58907a2631fcSmrg *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 58917a2631fcSmrg '') as_fn_error $? "missing file argument" ;; 58927a2631fcSmrg esac 58937a2631fcSmrg as_fn_append CONFIG_FILES " '$ac_optarg'" 58943e747e6dSmrg ac_need_defaults=false;; 58953e747e6dSmrg --header | --heade | --head | --hea ) 58963e747e6dSmrg $ac_shift 58977a2631fcSmrg case $ac_optarg in 58987a2631fcSmrg *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 58997a2631fcSmrg esac 59007a2631fcSmrg as_fn_append CONFIG_HEADERS " '$ac_optarg'" 59013e747e6dSmrg ac_need_defaults=false;; 59023e747e6dSmrg --he | --h) 59033e747e6dSmrg # Conflict between --help and --header 59047a2631fcSmrg as_fn_error $? "ambiguous option: \`$1' 59057a2631fcSmrgTry \`$0 --help' for more information.";; 59063e747e6dSmrg --help | --hel | -h ) 59077a2631fcSmrg $as_echo "$ac_cs_usage"; exit ;; 59083e747e6dSmrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 59093e747e6dSmrg | -silent | --silent | --silen | --sile | --sil | --si | --s) 59103e747e6dSmrg ac_cs_silent=: ;; 59113e747e6dSmrg 59123e747e6dSmrg # This is an error. 59137a2631fcSmrg -*) as_fn_error $? "unrecognized option: \`$1' 59147a2631fcSmrgTry \`$0 --help' for more information." ;; 59153e747e6dSmrg 59167a2631fcSmrg *) as_fn_append ac_config_targets " $1" 59173e747e6dSmrg ac_need_defaults=false ;; 59183e747e6dSmrg 59193e747e6dSmrg esac 59203e747e6dSmrg shift 59213e747e6dSmrgdone 59223e747e6dSmrg 59233e747e6dSmrgac_configure_extra_args= 59243e747e6dSmrg 59253e747e6dSmrgif $ac_cs_silent; then 59263e747e6dSmrg exec 6>/dev/null 59273e747e6dSmrg ac_configure_extra_args="$ac_configure_extra_args --silent" 59283e747e6dSmrgfi 59293e747e6dSmrg 59303e747e6dSmrg_ACEOF 59317a2631fcSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 59323e747e6dSmrgif \$ac_cs_recheck; then 59337a2631fcSmrg set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 59347a2631fcSmrg shift 59357a2631fcSmrg \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 59367a2631fcSmrg CONFIG_SHELL='$SHELL' 59373e747e6dSmrg export CONFIG_SHELL 59387a2631fcSmrg exec "\$@" 59393e747e6dSmrgfi 59403e747e6dSmrg 59413e747e6dSmrg_ACEOF 59427a2631fcSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 59433e747e6dSmrgexec 5>>config.log 59443e747e6dSmrg{ 59453e747e6dSmrg echo 59463e747e6dSmrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 59473e747e6dSmrg## Running $as_me. ## 59483e747e6dSmrg_ASBOX 59497a2631fcSmrg $as_echo "$ac_log" 59503e747e6dSmrg} >&5 59513e747e6dSmrg 59523e747e6dSmrg_ACEOF 59537a2631fcSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 59543e747e6dSmrg# 59553e747e6dSmrg# INIT-COMMANDS 59563e747e6dSmrg# 59573e747e6dSmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 59583e747e6dSmrg 59593e747e6dSmrg_ACEOF 59603e747e6dSmrg 59617a2631fcSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 59623e747e6dSmrg 59633e747e6dSmrg# Handling of arguments. 59643e747e6dSmrgfor ac_config_target in $ac_config_targets 59653e747e6dSmrgdo 59663e747e6dSmrg case $ac_config_target in 59673e747e6dSmrg "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 59683e747e6dSmrg "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 59693e747e6dSmrg "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 59703e747e6dSmrg "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 59713e747e6dSmrg "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; 59723e747e6dSmrg 59737a2631fcSmrg *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 59743e747e6dSmrg esac 59753e747e6dSmrgdone 59763e747e6dSmrg 59773e747e6dSmrg 59783e747e6dSmrg# If the user did not use the arguments to specify the items to instantiate, 59793e747e6dSmrg# then the envvar interface is used. Set only those that are not. 59803e747e6dSmrg# We use the long form for the default assignment because of an extremely 59813e747e6dSmrg# bizarre bug on SunOS 4.1.3. 59823e747e6dSmrgif $ac_need_defaults; then 59833e747e6dSmrg test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 59843e747e6dSmrg test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 59853e747e6dSmrg test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 59863e747e6dSmrgfi 59873e747e6dSmrg 59883e747e6dSmrg# Have a temporary directory for convenience. Make it in the build tree 59893e747e6dSmrg# simply because there is no reason against having it here, and in addition, 59903e747e6dSmrg# creating and moving files from /tmp can sometimes cause problems. 59913e747e6dSmrg# Hook for its removal unless debugging. 59923e747e6dSmrg# Note that there is a small window in which the directory will not be cleaned: 59933e747e6dSmrg# after its creation but before its name has been assigned to `$tmp'. 59943e747e6dSmrg$debug || 59953e747e6dSmrg{ 59967a2631fcSmrg tmp= ac_tmp= 59973e747e6dSmrg trap 'exit_status=$? 59987a2631fcSmrg : "${ac_tmp:=$tmp}" 59997a2631fcSmrg { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 60003e747e6dSmrg' 0 60017a2631fcSmrg trap 'as_fn_exit 1' 1 2 13 15 60023e747e6dSmrg} 60033e747e6dSmrg# Create a (secure) tmp directory for tmp files. 60043e747e6dSmrg 60053e747e6dSmrg{ 60063e747e6dSmrg tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 60077a2631fcSmrg test -d "$tmp" 60083e747e6dSmrg} || 60093e747e6dSmrg{ 60103e747e6dSmrg tmp=./conf$$-$RANDOM 60113e747e6dSmrg (umask 077 && mkdir "$tmp") 60127a2631fcSmrg} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 60137a2631fcSmrgac_tmp=$tmp 60143e747e6dSmrg 60157a2631fcSmrg# Set up the scripts for CONFIG_FILES section. 60167a2631fcSmrg# No need to generate them if there are no CONFIG_FILES. 60177a2631fcSmrg# This happens for instance with `./config.status config.h'. 60183e747e6dSmrgif test -n "$CONFIG_FILES"; then 60193e747e6dSmrg 60203e747e6dSmrg 60217a2631fcSmrgac_cr=`echo X | tr X '\015'` 60227a2631fcSmrg# On cygwin, bash can eat \r inside `` if the user requested igncr. 60237a2631fcSmrg# But we know of no other shell where ac_cr would be empty at this 60247a2631fcSmrg# point, so we can use a bashism as a fallback. 60257a2631fcSmrgif test "x$ac_cr" = x; then 60267a2631fcSmrg eval ac_cr=\$\'\\r\' 60277a2631fcSmrgfi 60287a2631fcSmrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 60297a2631fcSmrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 60307a2631fcSmrg ac_cs_awk_cr='\\r' 60317a2631fcSmrgelse 60327a2631fcSmrg ac_cs_awk_cr=$ac_cr 60333e747e6dSmrgfi 60343e747e6dSmrg 60357a2631fcSmrgecho 'BEGIN {' >"$ac_tmp/subs1.awk" && 60363e747e6dSmrg_ACEOF 60373e747e6dSmrg 60383e747e6dSmrg 60397a2631fcSmrg{ 60407a2631fcSmrg echo "cat >conf$$subs.awk <<_ACEOF" && 60417a2631fcSmrg echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 60427a2631fcSmrg echo "_ACEOF" 60437a2631fcSmrg} >conf$$subs.sh || 60447a2631fcSmrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 60457a2631fcSmrgac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 60463e747e6dSmrgac_delim='%!_!# ' 60473e747e6dSmrgfor ac_last_try in false false false false false :; do 60487a2631fcSmrg . ./conf$$subs.sh || 60497a2631fcSmrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 60503e747e6dSmrg 60517a2631fcSmrg ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 60527a2631fcSmrg if test $ac_delim_n = $ac_delim_num; then 60533e747e6dSmrg break 60543e747e6dSmrg elif $ac_last_try; then 60557a2631fcSmrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 60563e747e6dSmrg else 60573e747e6dSmrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 60583e747e6dSmrg fi 60593e747e6dSmrgdone 60607a2631fcSmrgrm -f conf$$subs.sh 60613e747e6dSmrg 60627a2631fcSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 60637a2631fcSmrgcat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 60647a2631fcSmrg_ACEOF 60657a2631fcSmrgsed -n ' 60667a2631fcSmrgh 60677a2631fcSmrgs/^/S["/; s/!.*/"]=/ 60687a2631fcSmrgp 60697a2631fcSmrgg 60707a2631fcSmrgs/^[^!]*!// 60717a2631fcSmrg:repl 60727a2631fcSmrgt repl 60737a2631fcSmrgs/'"$ac_delim"'$// 60747a2631fcSmrgt delim 60757a2631fcSmrg:nl 60767a2631fcSmrgh 60777a2631fcSmrgs/\(.\{148\}\)..*/\1/ 60787a2631fcSmrgt more1 60797a2631fcSmrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 60807a2631fcSmrgp 60817a2631fcSmrgn 60827a2631fcSmrgb repl 60837a2631fcSmrg:more1 60847a2631fcSmrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 60857a2631fcSmrgp 60867a2631fcSmrgg 60877a2631fcSmrgs/.\{148\}// 60887a2631fcSmrgt nl 60897a2631fcSmrg:delim 60907a2631fcSmrgh 60917a2631fcSmrgs/\(.\{148\}\)..*/\1/ 60927a2631fcSmrgt more2 60937a2631fcSmrgs/["\\]/\\&/g; s/^/"/; s/$/"/ 60947a2631fcSmrgp 60957a2631fcSmrgb 60967a2631fcSmrg:more2 60977a2631fcSmrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 60987a2631fcSmrgp 60997a2631fcSmrgg 61007a2631fcSmrgs/.\{148\}// 61017a2631fcSmrgt delim 61027a2631fcSmrg' <conf$$subs.awk | sed ' 61037a2631fcSmrg/^[^""]/{ 61047a2631fcSmrg N 61057a2631fcSmrg s/\n// 61067a2631fcSmrg} 61077a2631fcSmrg' >>$CONFIG_STATUS || ac_write_fail=1 61087a2631fcSmrgrm -f conf$$subs.awk 61097a2631fcSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 61107a2631fcSmrg_ACAWK 61117a2631fcSmrgcat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 61127a2631fcSmrg for (key in S) S_is_set[key] = 1 61137a2631fcSmrg FS = "" 61147a2631fcSmrg 61157a2631fcSmrg} 61167a2631fcSmrg{ 61177a2631fcSmrg line = $ 0 61187a2631fcSmrg nfields = split(line, field, "@") 61197a2631fcSmrg substed = 0 61207a2631fcSmrg len = length(field[1]) 61217a2631fcSmrg for (i = 2; i < nfields; i++) { 61227a2631fcSmrg key = field[i] 61237a2631fcSmrg keylen = length(key) 61247a2631fcSmrg if (S_is_set[key]) { 61257a2631fcSmrg value = S[key] 61267a2631fcSmrg line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 61277a2631fcSmrg len += length(value) + length(field[++i]) 61287a2631fcSmrg substed = 1 61297a2631fcSmrg } else 61307a2631fcSmrg len += 1 + keylen 61317a2631fcSmrg } 61327a2631fcSmrg 61337a2631fcSmrg print line 61347a2631fcSmrg} 61353e747e6dSmrg 61367a2631fcSmrg_ACAWK 61373e747e6dSmrg_ACEOF 61387a2631fcSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 61397a2631fcSmrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 61407a2631fcSmrg sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 61417a2631fcSmrgelse 61427a2631fcSmrg cat 61437a2631fcSmrgfi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 61447a2631fcSmrg || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 61453e747e6dSmrg_ACEOF 61463e747e6dSmrg 61477a2631fcSmrg# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 61487a2631fcSmrg# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 61493e747e6dSmrg# trailing colons and then remove the whole line if VPATH becomes empty 61503e747e6dSmrg# (actually we leave an empty line to preserve line numbers). 61513e747e6dSmrgif test "x$srcdir" = x.; then 61527a2631fcSmrg ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 61537a2631fcSmrgh 61547a2631fcSmrgs/// 61557a2631fcSmrgs/^/:/ 61567a2631fcSmrgs/[ ]*$/:/ 61577a2631fcSmrgs/:\$(srcdir):/:/g 61587a2631fcSmrgs/:\${srcdir}:/:/g 61597a2631fcSmrgs/:@srcdir@:/:/g 61607a2631fcSmrgs/^:*// 61613e747e6dSmrgs/:*$// 61627a2631fcSmrgx 61637a2631fcSmrgs/\(=[ ]*\).*/\1/ 61647a2631fcSmrgG 61657a2631fcSmrgs/\n// 61663e747e6dSmrgs/^[^=]*=[ ]*$// 61673e747e6dSmrg}' 61683e747e6dSmrgfi 61693e747e6dSmrg 61707a2631fcSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 61713e747e6dSmrgfi # test -n "$CONFIG_FILES" 61723e747e6dSmrg 61737a2631fcSmrg# Set up the scripts for CONFIG_HEADERS section. 61747a2631fcSmrg# No need to generate them if there are no CONFIG_HEADERS. 61757a2631fcSmrg# This happens for instance with `./config.status Makefile'. 61767a2631fcSmrgif test -n "$CONFIG_HEADERS"; then 61777a2631fcSmrgcat >"$ac_tmp/defines.awk" <<\_ACAWK || 61787a2631fcSmrgBEGIN { 61797a2631fcSmrg_ACEOF 61807a2631fcSmrg 61817a2631fcSmrg# Transform confdefs.h into an awk script `defines.awk', embedded as 61827a2631fcSmrg# here-document in config.status, that substitutes the proper values into 61837a2631fcSmrg# config.h.in to produce config.h. 61847a2631fcSmrg 61857a2631fcSmrg# Create a delimiter string that does not exist in confdefs.h, to ease 61867a2631fcSmrg# handling of long lines. 61877a2631fcSmrgac_delim='%!_!# ' 61887a2631fcSmrgfor ac_last_try in false false :; do 61897a2631fcSmrg ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 61907a2631fcSmrg if test -z "$ac_tt"; then 61917a2631fcSmrg break 61927a2631fcSmrg elif $ac_last_try; then 61937a2631fcSmrg as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 61947a2631fcSmrg else 61957a2631fcSmrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 61967a2631fcSmrg fi 61977a2631fcSmrgdone 61987a2631fcSmrg 61997a2631fcSmrg# For the awk script, D is an array of macro values keyed by name, 62007a2631fcSmrg# likewise P contains macro parameters if any. Preserve backslash 62017a2631fcSmrg# newline sequences. 62027a2631fcSmrg 62037a2631fcSmrgac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 62047a2631fcSmrgsed -n ' 62057a2631fcSmrgs/.\{148\}/&'"$ac_delim"'/g 62067a2631fcSmrgt rset 62077a2631fcSmrg:rset 62087a2631fcSmrgs/^[ ]*#[ ]*define[ ][ ]*/ / 62097a2631fcSmrgt def 62107a2631fcSmrgd 62117a2631fcSmrg:def 62127a2631fcSmrgs/\\$// 62137a2631fcSmrgt bsnl 62147a2631fcSmrgs/["\\]/\\&/g 62157a2631fcSmrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 62167a2631fcSmrgD["\1"]=" \3"/p 62177a2631fcSmrgs/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 62187a2631fcSmrgd 62197a2631fcSmrg:bsnl 62207a2631fcSmrgs/["\\]/\\&/g 62217a2631fcSmrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 62227a2631fcSmrgD["\1"]=" \3\\\\\\n"\\/p 62237a2631fcSmrgt cont 62247a2631fcSmrgs/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 62257a2631fcSmrgt cont 62267a2631fcSmrgd 62277a2631fcSmrg:cont 62287a2631fcSmrgn 62297a2631fcSmrgs/.\{148\}/&'"$ac_delim"'/g 62307a2631fcSmrgt clear 62317a2631fcSmrg:clear 62327a2631fcSmrgs/\\$// 62337a2631fcSmrgt bsnlc 62347a2631fcSmrgs/["\\]/\\&/g; s/^/"/; s/$/"/p 62357a2631fcSmrgd 62367a2631fcSmrg:bsnlc 62377a2631fcSmrgs/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 62387a2631fcSmrgb cont 62397a2631fcSmrg' <confdefs.h | sed ' 62407a2631fcSmrgs/'"$ac_delim"'/"\\\ 62417a2631fcSmrg"/g' >>$CONFIG_STATUS || ac_write_fail=1 62427a2631fcSmrg 62437a2631fcSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 62447a2631fcSmrg for (key in D) D_is_set[key] = 1 62457a2631fcSmrg FS = "" 62467a2631fcSmrg} 62477a2631fcSmrg/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 62487a2631fcSmrg line = \$ 0 62497a2631fcSmrg split(line, arg, " ") 62507a2631fcSmrg if (arg[1] == "#") { 62517a2631fcSmrg defundef = arg[2] 62527a2631fcSmrg mac1 = arg[3] 62537a2631fcSmrg } else { 62547a2631fcSmrg defundef = substr(arg[1], 2) 62557a2631fcSmrg mac1 = arg[2] 62567a2631fcSmrg } 62577a2631fcSmrg split(mac1, mac2, "(") #) 62587a2631fcSmrg macro = mac2[1] 62597a2631fcSmrg prefix = substr(line, 1, index(line, defundef) - 1) 62607a2631fcSmrg if (D_is_set[macro]) { 62617a2631fcSmrg # Preserve the white space surrounding the "#". 62627a2631fcSmrg print prefix "define", macro P[macro] D[macro] 62637a2631fcSmrg next 62647a2631fcSmrg } else { 62657a2631fcSmrg # Replace #undef with comments. This is necessary, for example, 62667a2631fcSmrg # in the case of _POSIX_SOURCE, which is predefined and required 62677a2631fcSmrg # on some systems where configure will not decide to define it. 62687a2631fcSmrg if (defundef == "undef") { 62697a2631fcSmrg print "/*", prefix defundef, macro, "*/" 62707a2631fcSmrg next 62717a2631fcSmrg } 62727a2631fcSmrg } 62737a2631fcSmrg} 62747a2631fcSmrg{ print } 62757a2631fcSmrg_ACAWK 62767a2631fcSmrg_ACEOF 62777a2631fcSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 62787a2631fcSmrg as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 62797a2631fcSmrgfi # test -n "$CONFIG_HEADERS" 62807a2631fcSmrg 62813e747e6dSmrg 62827a2631fcSmrgeval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 62837a2631fcSmrgshift 62847a2631fcSmrgfor ac_tag 62853e747e6dSmrgdo 62863e747e6dSmrg case $ac_tag in 62873e747e6dSmrg :[FHLC]) ac_mode=$ac_tag; continue;; 62883e747e6dSmrg esac 62893e747e6dSmrg case $ac_mode$ac_tag in 62903e747e6dSmrg :[FHL]*:*);; 62917a2631fcSmrg :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 62923e747e6dSmrg :[FH]-) ac_tag=-:-;; 62933e747e6dSmrg :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 62943e747e6dSmrg esac 62953e747e6dSmrg ac_save_IFS=$IFS 62963e747e6dSmrg IFS=: 62973e747e6dSmrg set x $ac_tag 62983e747e6dSmrg IFS=$ac_save_IFS 62993e747e6dSmrg shift 63003e747e6dSmrg ac_file=$1 63013e747e6dSmrg shift 63023e747e6dSmrg 63033e747e6dSmrg case $ac_mode in 63043e747e6dSmrg :L) ac_source=$1;; 63053e747e6dSmrg :[FH]) 63063e747e6dSmrg ac_file_inputs= 63073e747e6dSmrg for ac_f 63083e747e6dSmrg do 63093e747e6dSmrg case $ac_f in 63107a2631fcSmrg -) ac_f="$ac_tmp/stdin";; 63113e747e6dSmrg *) # Look for the file first in the build tree, then in the source tree 63123e747e6dSmrg # (if the path is not absolute). The absolute path cannot be DOS-style, 63133e747e6dSmrg # because $ac_f cannot contain `:'. 63143e747e6dSmrg test -f "$ac_f" || 63153e747e6dSmrg case $ac_f in 63163e747e6dSmrg [\\/$]*) false;; 63173e747e6dSmrg *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 63183e747e6dSmrg esac || 63197a2631fcSmrg as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 63203e747e6dSmrg esac 63217a2631fcSmrg case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 63227a2631fcSmrg as_fn_append ac_file_inputs " '$ac_f'" 63233e747e6dSmrg done 63243e747e6dSmrg 63253e747e6dSmrg # Let's still pretend it is `configure' which instantiates (i.e., don't 63263e747e6dSmrg # use $as_me), people would be surprised to read: 63273e747e6dSmrg # /* config.h. Generated by config.status. */ 63287a2631fcSmrg configure_input='Generated from '` 63297a2631fcSmrg $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 63307a2631fcSmrg `' by configure.' 63313e747e6dSmrg if test x"$ac_file" != x-; then 63323e747e6dSmrg configure_input="$ac_file. $configure_input" 63337a2631fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 63347a2631fcSmrg$as_echo "$as_me: creating $ac_file" >&6;} 63353e747e6dSmrg fi 63367a2631fcSmrg # Neutralize special characters interpreted by sed in replacement strings. 63377a2631fcSmrg case $configure_input in #( 63387a2631fcSmrg *\&* | *\|* | *\\* ) 63397a2631fcSmrg ac_sed_conf_input=`$as_echo "$configure_input" | 63407a2631fcSmrg sed 's/[\\\\&|]/\\\\&/g'`;; #( 63417a2631fcSmrg *) ac_sed_conf_input=$configure_input;; 63427a2631fcSmrg esac 63433e747e6dSmrg 63443e747e6dSmrg case $ac_tag in 63457a2631fcSmrg *:-:* | *:-) cat >"$ac_tmp/stdin" \ 63467a2631fcSmrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 63473e747e6dSmrg esac 63483e747e6dSmrg ;; 63493e747e6dSmrg esac 63503e747e6dSmrg 63513e747e6dSmrg ac_dir=`$as_dirname -- "$ac_file" || 63523e747e6dSmrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 63533e747e6dSmrg X"$ac_file" : 'X\(//\)[^/]' \| \ 63543e747e6dSmrg X"$ac_file" : 'X\(//\)$' \| \ 63553e747e6dSmrg X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 63567a2631fcSmrg$as_echo X"$ac_file" | 63573e747e6dSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 63583e747e6dSmrg s//\1/ 63593e747e6dSmrg q 63603e747e6dSmrg } 63613e747e6dSmrg /^X\(\/\/\)[^/].*/{ 63623e747e6dSmrg s//\1/ 63633e747e6dSmrg q 63643e747e6dSmrg } 63653e747e6dSmrg /^X\(\/\/\)$/{ 63663e747e6dSmrg s//\1/ 63673e747e6dSmrg q 63683e747e6dSmrg } 63693e747e6dSmrg /^X\(\/\).*/{ 63703e747e6dSmrg s//\1/ 63713e747e6dSmrg q 63723e747e6dSmrg } 63733e747e6dSmrg s/.*/./; q'` 63747a2631fcSmrg as_dir="$ac_dir"; as_fn_mkdir_p 63753e747e6dSmrg ac_builddir=. 63763e747e6dSmrg 63773e747e6dSmrgcase "$ac_dir" in 63783e747e6dSmrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 63793e747e6dSmrg*) 63807a2631fcSmrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 63813e747e6dSmrg # A ".." for each directory in $ac_dir_suffix. 63827a2631fcSmrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 63833e747e6dSmrg case $ac_top_builddir_sub in 63843e747e6dSmrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 63853e747e6dSmrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 63863e747e6dSmrg esac ;; 63873e747e6dSmrgesac 63883e747e6dSmrgac_abs_top_builddir=$ac_pwd 63893e747e6dSmrgac_abs_builddir=$ac_pwd$ac_dir_suffix 63903e747e6dSmrg# for backward compatibility: 63913e747e6dSmrgac_top_builddir=$ac_top_build_prefix 63923e747e6dSmrg 63933e747e6dSmrgcase $srcdir in 63943e747e6dSmrg .) # We are building in place. 63953e747e6dSmrg ac_srcdir=. 63963e747e6dSmrg ac_top_srcdir=$ac_top_builddir_sub 63973e747e6dSmrg ac_abs_top_srcdir=$ac_pwd ;; 63983e747e6dSmrg [\\/]* | ?:[\\/]* ) # Absolute name. 63993e747e6dSmrg ac_srcdir=$srcdir$ac_dir_suffix; 64003e747e6dSmrg ac_top_srcdir=$srcdir 64013e747e6dSmrg ac_abs_top_srcdir=$srcdir ;; 64023e747e6dSmrg *) # Relative name. 64033e747e6dSmrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 64043e747e6dSmrg ac_top_srcdir=$ac_top_build_prefix$srcdir 64053e747e6dSmrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 64063e747e6dSmrgesac 64073e747e6dSmrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 64083e747e6dSmrg 64093e747e6dSmrg 64103e747e6dSmrg case $ac_mode in 64113e747e6dSmrg :F) 64123e747e6dSmrg # 64133e747e6dSmrg # CONFIG_FILE 64143e747e6dSmrg # 64153e747e6dSmrg 64163e747e6dSmrg case $INSTALL in 64173e747e6dSmrg [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 64183e747e6dSmrg *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 64193e747e6dSmrg esac 64203e747e6dSmrg ac_MKDIR_P=$MKDIR_P 64213e747e6dSmrg case $MKDIR_P in 64223e747e6dSmrg [\\/$]* | ?:[\\/]* ) ;; 64233e747e6dSmrg */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 64243e747e6dSmrg esac 64253e747e6dSmrg_ACEOF 64263e747e6dSmrg 64277a2631fcSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 64283e747e6dSmrg# If the template does not know about datarootdir, expand it. 64293e747e6dSmrg# FIXME: This hack should be removed a few years after 2.60. 64303e747e6dSmrgac_datarootdir_hack=; ac_datarootdir_seen= 64317a2631fcSmrgac_sed_dataroot=' 64327a2631fcSmrg/datarootdir/ { 64333e747e6dSmrg p 64343e747e6dSmrg q 64353e747e6dSmrg} 64363e747e6dSmrg/@datadir@/p 64373e747e6dSmrg/@docdir@/p 64383e747e6dSmrg/@infodir@/p 64393e747e6dSmrg/@localedir@/p 64407a2631fcSmrg/@mandir@/p' 64417a2631fcSmrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 64423e747e6dSmrg*datarootdir*) ac_datarootdir_seen=yes;; 64433e747e6dSmrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 64447a2631fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 64457a2631fcSmrg$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 64463e747e6dSmrg_ACEOF 64477a2631fcSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 64483e747e6dSmrg ac_datarootdir_hack=' 64493e747e6dSmrg s&@datadir@&$datadir&g 64503e747e6dSmrg s&@docdir@&$docdir&g 64513e747e6dSmrg s&@infodir@&$infodir&g 64523e747e6dSmrg s&@localedir@&$localedir&g 64533e747e6dSmrg s&@mandir@&$mandir&g 64547a2631fcSmrg s&\\\${datarootdir}&$datarootdir&g' ;; 64553e747e6dSmrgesac 64563e747e6dSmrg_ACEOF 64573e747e6dSmrg 64583e747e6dSmrg# Neutralize VPATH when `$srcdir' = `.'. 64593e747e6dSmrg# Shell code in configure.ac might set extrasub. 64603e747e6dSmrg# FIXME: do we really want to maintain this feature? 64617a2631fcSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 64627a2631fcSmrgac_sed_extra="$ac_vpsub 64633e747e6dSmrg$extrasub 64643e747e6dSmrg_ACEOF 64657a2631fcSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 64663e747e6dSmrg:t 64673e747e6dSmrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 64687a2631fcSmrgs|@configure_input@|$ac_sed_conf_input|;t t 64693e747e6dSmrgs&@top_builddir@&$ac_top_builddir_sub&;t t 64707a2631fcSmrgs&@top_build_prefix@&$ac_top_build_prefix&;t t 64713e747e6dSmrgs&@srcdir@&$ac_srcdir&;t t 64723e747e6dSmrgs&@abs_srcdir@&$ac_abs_srcdir&;t t 64733e747e6dSmrgs&@top_srcdir@&$ac_top_srcdir&;t t 64743e747e6dSmrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 64753e747e6dSmrgs&@builddir@&$ac_builddir&;t t 64763e747e6dSmrgs&@abs_builddir@&$ac_abs_builddir&;t t 64773e747e6dSmrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t 64783e747e6dSmrgs&@INSTALL@&$ac_INSTALL&;t t 64793e747e6dSmrgs&@MKDIR_P@&$ac_MKDIR_P&;t t 64803e747e6dSmrg$ac_datarootdir_hack 64817a2631fcSmrg" 64827a2631fcSmrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 64837a2631fcSmrg >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 64843e747e6dSmrg 64853e747e6dSmrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 64867a2631fcSmrg { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 64877a2631fcSmrg { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 64887a2631fcSmrg "$ac_tmp/out"`; test -z "$ac_out"; } && 64897a2631fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 64907a2631fcSmrgwhich seems to be undefined. Please make sure it is defined" >&5 64917a2631fcSmrg$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 64927a2631fcSmrgwhich seems to be undefined. Please make sure it is defined" >&2;} 64937a2631fcSmrg 64947a2631fcSmrg rm -f "$ac_tmp/stdin" 64953e747e6dSmrg case $ac_file in 64967a2631fcSmrg -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 64977a2631fcSmrg *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 64987a2631fcSmrg esac \ 64997a2631fcSmrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 65003e747e6dSmrg ;; 65013e747e6dSmrg :H) 65023e747e6dSmrg # 65033e747e6dSmrg # CONFIG_HEADER 65043e747e6dSmrg # 65053e747e6dSmrg if test x"$ac_file" != x-; then 65067a2631fcSmrg { 65077a2631fcSmrg $as_echo "/* $configure_input */" \ 65087a2631fcSmrg && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 65097a2631fcSmrg } >"$ac_tmp/config.h" \ 65107a2631fcSmrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 65117a2631fcSmrg if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 65127a2631fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 65137a2631fcSmrg$as_echo "$as_me: $ac_file is unchanged" >&6;} 65143e747e6dSmrg else 65157a2631fcSmrg rm -f "$ac_file" 65167a2631fcSmrg mv "$ac_tmp/config.h" "$ac_file" \ 65177a2631fcSmrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 65183e747e6dSmrg fi 65193e747e6dSmrg else 65207a2631fcSmrg $as_echo "/* $configure_input */" \ 65217a2631fcSmrg && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 65227a2631fcSmrg || as_fn_error $? "could not create -" "$LINENO" 5 65233e747e6dSmrg fi 65247a2631fcSmrg# Compute "$ac_file"'s index in $config_headers. 65257a2631fcSmrg_am_arg="$ac_file" 65263e747e6dSmrg_am_stamp_count=1 65273e747e6dSmrgfor _am_header in $config_headers :; do 65283e747e6dSmrg case $_am_header in 65293e747e6dSmrg $_am_arg | $_am_arg:* ) 65303e747e6dSmrg break ;; 65313e747e6dSmrg * ) 65323e747e6dSmrg _am_stamp_count=`expr $_am_stamp_count + 1` ;; 65333e747e6dSmrg esac 65343e747e6dSmrgdone 65353e747e6dSmrgecho "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 65363e747e6dSmrg$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 65373e747e6dSmrg X"$_am_arg" : 'X\(//\)[^/]' \| \ 65383e747e6dSmrg X"$_am_arg" : 'X\(//\)$' \| \ 65393e747e6dSmrg X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 65407a2631fcSmrg$as_echo X"$_am_arg" | 65413e747e6dSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 65423e747e6dSmrg s//\1/ 65433e747e6dSmrg q 65443e747e6dSmrg } 65453e747e6dSmrg /^X\(\/\/\)[^/].*/{ 65463e747e6dSmrg s//\1/ 65473e747e6dSmrg q 65483e747e6dSmrg } 65493e747e6dSmrg /^X\(\/\/\)$/{ 65503e747e6dSmrg s//\1/ 65513e747e6dSmrg q 65523e747e6dSmrg } 65533e747e6dSmrg /^X\(\/\).*/{ 65543e747e6dSmrg s//\1/ 65553e747e6dSmrg q 65563e747e6dSmrg } 65573e747e6dSmrg s/.*/./; q'`/stamp-h$_am_stamp_count 65583e747e6dSmrg ;; 65593e747e6dSmrg 65607a2631fcSmrg :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 65617a2631fcSmrg$as_echo "$as_me: executing $ac_file commands" >&6;} 65623e747e6dSmrg ;; 65633e747e6dSmrg esac 65643e747e6dSmrg 65653e747e6dSmrg 65663e747e6dSmrg case $ac_file$ac_mode in 65677a2631fcSmrg "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 65687a2631fcSmrg # Autoconf 2.62 quotes --file arguments for eval, but not when files 65697a2631fcSmrg # are listed without --file. Let's play safe and only enable the eval 65707a2631fcSmrg # if we detect the quoting. 65717a2631fcSmrg case $CONFIG_FILES in 65727a2631fcSmrg *\'*) eval set x "$CONFIG_FILES" ;; 65737a2631fcSmrg *) set x $CONFIG_FILES ;; 65747a2631fcSmrg esac 65757a2631fcSmrg shift 65767a2631fcSmrg for mf 65777a2631fcSmrg do 65787a2631fcSmrg # Strip MF so we end up with the name of the file. 65797a2631fcSmrg mf=`echo "$mf" | sed -e 's/:.*$//'` 65807a2631fcSmrg # Check whether this is an Automake generated Makefile or not. 65817a2631fcSmrg # We used to match only the files named `Makefile.in', but 65827a2631fcSmrg # some people rename them; so instead we look at the file content. 65837a2631fcSmrg # Grep'ing the first line is not enough: some people post-process 65847a2631fcSmrg # each Makefile.in and add a new line on top of each file to say so. 65857a2631fcSmrg # Grep'ing the whole file is not good either: AIX grep has a line 65867a2631fcSmrg # limit of 2048, but all sed's we know have understand at least 4000. 65877a2631fcSmrg if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 65887a2631fcSmrg dirpart=`$as_dirname -- "$mf" || 65893e747e6dSmrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 65903e747e6dSmrg X"$mf" : 'X\(//\)[^/]' \| \ 65913e747e6dSmrg X"$mf" : 'X\(//\)$' \| \ 65923e747e6dSmrg X"$mf" : 'X\(/\)' \| . 2>/dev/null || 65937a2631fcSmrg$as_echo X"$mf" | 65943e747e6dSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 65953e747e6dSmrg s//\1/ 65963e747e6dSmrg q 65973e747e6dSmrg } 65983e747e6dSmrg /^X\(\/\/\)[^/].*/{ 65993e747e6dSmrg s//\1/ 66003e747e6dSmrg q 66013e747e6dSmrg } 66023e747e6dSmrg /^X\(\/\/\)$/{ 66033e747e6dSmrg s//\1/ 66043e747e6dSmrg q 66053e747e6dSmrg } 66063e747e6dSmrg /^X\(\/\).*/{ 66073e747e6dSmrg s//\1/ 66083e747e6dSmrg q 66093e747e6dSmrg } 66103e747e6dSmrg s/.*/./; q'` 66117a2631fcSmrg else 66127a2631fcSmrg continue 66137a2631fcSmrg fi 66147a2631fcSmrg # Extract the definition of DEPDIR, am__include, and am__quote 66157a2631fcSmrg # from the Makefile without running `make'. 66167a2631fcSmrg DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 66177a2631fcSmrg test -z "$DEPDIR" && continue 66187a2631fcSmrg am__include=`sed -n 's/^am__include = //p' < "$mf"` 66197a2631fcSmrg test -z "am__include" && continue 66207a2631fcSmrg am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 66217a2631fcSmrg # When using ansi2knr, U may be empty or an underscore; expand it 66227a2631fcSmrg U=`sed -n 's/^U = //p' < "$mf"` 66237a2631fcSmrg # Find all dependency output files, they are included files with 66247a2631fcSmrg # $(DEPDIR) in their names. We invoke sed twice because it is the 66257a2631fcSmrg # simplest approach to changing $(DEPDIR) to its actual value in the 66267a2631fcSmrg # expansion. 66277a2631fcSmrg for file in `sed -n " 66287a2631fcSmrg s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 66297a2631fcSmrg sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 66307a2631fcSmrg # Make sure the directory exists. 66317a2631fcSmrg test -f "$dirpart/$file" && continue 66327a2631fcSmrg fdir=`$as_dirname -- "$file" || 66333e747e6dSmrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 66343e747e6dSmrg X"$file" : 'X\(//\)[^/]' \| \ 66353e747e6dSmrg X"$file" : 'X\(//\)$' \| \ 66363e747e6dSmrg X"$file" : 'X\(/\)' \| . 2>/dev/null || 66377a2631fcSmrg$as_echo X"$file" | 66383e747e6dSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 66393e747e6dSmrg s//\1/ 66403e747e6dSmrg q 66413e747e6dSmrg } 66423e747e6dSmrg /^X\(\/\/\)[^/].*/{ 66433e747e6dSmrg s//\1/ 66443e747e6dSmrg q 66453e747e6dSmrg } 66463e747e6dSmrg /^X\(\/\/\)$/{ 66473e747e6dSmrg s//\1/ 66483e747e6dSmrg q 66493e747e6dSmrg } 66503e747e6dSmrg /^X\(\/\).*/{ 66513e747e6dSmrg s//\1/ 66523e747e6dSmrg q 66533e747e6dSmrg } 66543e747e6dSmrg s/.*/./; q'` 66557a2631fcSmrg as_dir=$dirpart/$fdir; as_fn_mkdir_p 66567a2631fcSmrg # echo "creating $dirpart/$file" 66577a2631fcSmrg echo '# dummy' > "$dirpart/$file" 66583e747e6dSmrg done 66593e747e6dSmrg done 66607a2631fcSmrg} 66613e747e6dSmrg ;; 66623e747e6dSmrg 66633e747e6dSmrg esac 66643e747e6dSmrgdone # for ac_tag 66653e747e6dSmrg 66663e747e6dSmrg 66677a2631fcSmrgas_fn_exit 0 66683e747e6dSmrg_ACEOF 66693e747e6dSmrgac_clean_files=$ac_clean_files_save 66703e747e6dSmrg 66717a2631fcSmrgtest $ac_write_fail = 0 || 66727a2631fcSmrg as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 66737a2631fcSmrg 66743e747e6dSmrg 66753e747e6dSmrg# configure is writing to config.log, and then calls config.status. 66763e747e6dSmrg# config.status does its own redirection, appending to config.log. 66773e747e6dSmrg# Unfortunately, on DOS this fails, as config.log is still kept open 66783e747e6dSmrg# by configure, so config.status won't be able to write to it; its 66793e747e6dSmrg# output is simply discarded. So we exec the FD to /dev/null, 66803e747e6dSmrg# effectively closing config.log, so it can be properly (re)opened and 66813e747e6dSmrg# appended to by config.status. When coming back to configure, we 66823e747e6dSmrg# need to make the FD available again. 66833e747e6dSmrgif test "$no_create" != yes; then 66843e747e6dSmrg ac_cs_success=: 66853e747e6dSmrg ac_config_status_args= 66863e747e6dSmrg test "$silent" = yes && 66873e747e6dSmrg ac_config_status_args="$ac_config_status_args --quiet" 66883e747e6dSmrg exec 5>/dev/null 66893e747e6dSmrg $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 66903e747e6dSmrg exec 5>>config.log 66913e747e6dSmrg # Use ||, not &&, to avoid exiting from the if with $? = 1, which 66923e747e6dSmrg # would make configure fail if this is the last instruction. 66937a2631fcSmrg $ac_cs_success || as_fn_exit 1 66947a2631fcSmrgfi 66957a2631fcSmrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 66967a2631fcSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 66977a2631fcSmrg$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 66983e747e6dSmrgfi 66993e747e6dSmrg 6700