configure revision 8fff3f40
1e6232409Smrg#! /bin/sh 2e6232409Smrg# Guess values for system-dependent variables and create Makefiles. 38fff3f40Smrg# Generated by GNU Autoconf 2.65 for xlsfonts 1.0.3. 4e6232409Smrg# 5e6232409Smrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 6e6232409Smrg# 78fff3f40Smrg# 8e6232409Smrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 98fff3f40Smrg# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, 108fff3f40Smrg# Inc. 118fff3f40Smrg# 128fff3f40Smrg# 13e6232409Smrg# This configure script is free software; the Free Software Foundation 14e6232409Smrg# gives unlimited permission to copy, distribute and modify it. 158fff3f40Smrg## -------------------- ## 168fff3f40Smrg## M4sh Initialization. ## 178fff3f40Smrg## -------------------- ## 18e6232409Smrg 198fff3f40Smrg# Be more Bourne compatible 208fff3f40SmrgDUALCASE=1; export DUALCASE # for MKS sh 218fff3f40Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 22e6232409Smrg emulate sh 23e6232409Smrg NULLCMD=: 248fff3f40Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 25e6232409Smrg # is contrary to our usage. Disable this feature. 26e6232409Smrg alias -g '${1+"$@"}'='"$@"' 27e6232409Smrg setopt NO_GLOB_SUBST 28e6232409Smrgelse 298fff3f40Smrg case `(set -o) 2>/dev/null` in #( 308fff3f40Smrg *posix*) : 318fff3f40Smrg set -o posix ;; #( 328fff3f40Smrg *) : 338fff3f40Smrg ;; 348fff3f40Smrgesac 35e6232409Smrgfi 36e6232409Smrg 37e6232409Smrg 388fff3f40Smrgas_nl=' 398fff3f40Smrg' 408fff3f40Smrgexport as_nl 418fff3f40Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 428fff3f40Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 438fff3f40Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 448fff3f40Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 458fff3f40Smrg# Prefer a ksh shell builtin over an external printf program on Solaris, 468fff3f40Smrg# but without wasting forks for bash or zsh. 478fff3f40Smrgif test -z "$BASH_VERSION$ZSH_VERSION" \ 488fff3f40Smrg && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 498fff3f40Smrg as_echo='print -r --' 508fff3f40Smrg as_echo_n='print -rn --' 518fff3f40Smrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 528fff3f40Smrg as_echo='printf %s\n' 538fff3f40Smrg as_echo_n='printf %s' 548fff3f40Smrgelse 558fff3f40Smrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 568fff3f40Smrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 578fff3f40Smrg as_echo_n='/usr/ucb/echo -n' 58e6232409Smrg else 598fff3f40Smrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 608fff3f40Smrg as_echo_n_body='eval 618fff3f40Smrg arg=$1; 628fff3f40Smrg case $arg in #( 638fff3f40Smrg *"$as_nl"*) 648fff3f40Smrg expr "X$arg" : "X\\(.*\\)$as_nl"; 658fff3f40Smrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 668fff3f40Smrg esac; 678fff3f40Smrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 688fff3f40Smrg ' 698fff3f40Smrg export as_echo_n_body 708fff3f40Smrg as_echo_n='sh -c $as_echo_n_body as_echo' 71e6232409Smrg fi 728fff3f40Smrg export as_echo_body 738fff3f40Smrg as_echo='sh -c $as_echo_body as_echo' 74e6232409Smrgfi 75e6232409Smrg 768fff3f40Smrg# The user is always right. 778fff3f40Smrgif test "${PATH_SEPARATOR+set}" != set; then 788fff3f40Smrg PATH_SEPARATOR=: 798fff3f40Smrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 808fff3f40Smrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 818fff3f40Smrg PATH_SEPARATOR=';' 828fff3f40Smrg } 83e6232409Smrgfi 84e6232409Smrg 85e6232409Smrg 86e6232409Smrg# IFS 87e6232409Smrg# We need space, tab and new line, in precisely that order. Quoting is 88e6232409Smrg# there to prevent editors from complaining about space-tab. 89e6232409Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 90e6232409Smrg# splitting by setting IFS to empty value.) 91e6232409SmrgIFS=" "" $as_nl" 92e6232409Smrg 93e6232409Smrg# Find who we are. Look in the path if we contain no directory separator. 948fff3f40Smrgcase $0 in #(( 95e6232409Smrg *[\\/]* ) as_myself=$0 ;; 96e6232409Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 97e6232409Smrgfor as_dir in $PATH 98e6232409Smrgdo 99e6232409Smrg IFS=$as_save_IFS 100e6232409Smrg test -z "$as_dir" && as_dir=. 1018fff3f40Smrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 1028fff3f40Smrg done 103e6232409SmrgIFS=$as_save_IFS 104e6232409Smrg 105e6232409Smrg ;; 106e6232409Smrgesac 107e6232409Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 108e6232409Smrg# in which case we are not to be found in the path. 109e6232409Smrgif test "x$as_myself" = x; then 110e6232409Smrg as_myself=$0 111e6232409Smrgfi 112e6232409Smrgif test ! -f "$as_myself"; then 1138fff3f40Smrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 1148fff3f40Smrg exit 1 115e6232409Smrgfi 116e6232409Smrg 1178fff3f40Smrg# Unset variables that we do not need and which cause bugs (e.g. in 1188fff3f40Smrg# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 1198fff3f40Smrg# suppresses any "Segmentation fault" message there. '((' could 1208fff3f40Smrg# trigger a bug in pdksh 5.2.14. 1218fff3f40Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH 1228fff3f40Smrgdo eval test x\${$as_var+set} = xset \ 1238fff3f40Smrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 124e6232409Smrgdone 125e6232409SmrgPS1='$ ' 126e6232409SmrgPS2='> ' 127e6232409SmrgPS4='+ ' 128e6232409Smrg 129e6232409Smrg# NLS nuisances. 1308fff3f40SmrgLC_ALL=C 1318fff3f40Smrgexport LC_ALL 1328fff3f40SmrgLANGUAGE=C 1338fff3f40Smrgexport LANGUAGE 134e6232409Smrg 135e6232409Smrg# CDPATH. 1368fff3f40Smrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 137e6232409Smrg 138e6232409Smrgif test "x$CONFIG_SHELL" = x; then 1398fff3f40Smrg as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 1408fff3f40Smrg emulate sh 1418fff3f40Smrg NULLCMD=: 1428fff3f40Smrg # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 1438fff3f40Smrg # is contrary to our usage. Disable this feature. 1448fff3f40Smrg alias -g '\${1+\"\$@\"}'='\"\$@\"' 1458fff3f40Smrg setopt NO_GLOB_SUBST 146e6232409Smrgelse 1478fff3f40Smrg case \`(set -o) 2>/dev/null\` in #( 1488fff3f40Smrg *posix*) : 1498fff3f40Smrg set -o posix ;; #( 1508fff3f40Smrg *) : 1518fff3f40Smrg ;; 1528fff3f40Smrgesac 153e6232409Smrgfi 1548fff3f40Smrg" 1558fff3f40Smrg as_required="as_fn_return () { (exit \$1); } 1568fff3f40Smrgas_fn_success () { as_fn_return 0; } 1578fff3f40Smrgas_fn_failure () { as_fn_return 1; } 1588fff3f40Smrgas_fn_ret_success () { return 0; } 1598fff3f40Smrgas_fn_ret_failure () { return 1; } 160e6232409Smrg 161e6232409Smrgexitcode=0 1628fff3f40Smrgas_fn_success || { exitcode=1; echo as_fn_success failed.; } 1638fff3f40Smrgas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 1648fff3f40Smrgas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 1658fff3f40Smrgas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 1668fff3f40Smrgif ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 167e6232409Smrg 168e6232409Smrgelse 1698fff3f40Smrg exitcode=1; echo positional parameters were not saved. 1708fff3f40Smrgfi 1718fff3f40Smrgtest x\$exitcode = x0 || exit 1" 1728fff3f40Smrg as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 1738fff3f40Smrg as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 1748fff3f40Smrg eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 1758fff3f40Smrg test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 1768fff3f40Smrgtest \$(( 1 + 1 )) = 2 || exit 1" 1778fff3f40Smrg if (eval "$as_required") 2>/dev/null; then : 1788fff3f40Smrg as_have_required=yes 179e6232409Smrgelse 1808fff3f40Smrg as_have_required=no 181e6232409Smrgfi 1828fff3f40Smrg if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 183e6232409Smrg 184e6232409Smrgelse 1858fff3f40Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1868fff3f40Smrgas_found=false 1878fff3f40Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 188e6232409Smrgdo 189e6232409Smrg IFS=$as_save_IFS 190e6232409Smrg test -z "$as_dir" && as_dir=. 1918fff3f40Smrg as_found=: 1928fff3f40Smrg case $as_dir in #( 193e6232409Smrg /*) 194e6232409Smrg for as_base in sh bash ksh sh5; do 1958fff3f40Smrg # Try only shells that exist, to save several forks. 1968fff3f40Smrg as_shell=$as_dir/$as_base 1978fff3f40Smrg if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 1988fff3f40Smrg { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 1998fff3f40Smrg CONFIG_SHELL=$as_shell as_have_required=yes 2008fff3f40Smrg if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 2018fff3f40Smrg break 2 2028fff3f40Smrgfi 2038fff3f40Smrgfi 204e6232409Smrg done;; 205e6232409Smrg esac 2068fff3f40Smrg as_found=false 207e6232409Smrgdone 2088fff3f40Smrg$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 2098fff3f40Smrg { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 2108fff3f40Smrg CONFIG_SHELL=$SHELL as_have_required=yes 2118fff3f40Smrgfi; } 212e6232409SmrgIFS=$as_save_IFS 213e6232409Smrg 214e6232409Smrg 2158fff3f40Smrg if test "x$CONFIG_SHELL" != x; then : 2168fff3f40Smrg # We cannot yet assume a decent shell, so we have to provide a 2178fff3f40Smrg # neutralization value for shells without unset; and this also 2188fff3f40Smrg # works around shells that cannot unset nonexistent variables. 2198fff3f40Smrg BASH_ENV=/dev/null 2208fff3f40Smrg ENV=/dev/null 2218fff3f40Smrg (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 2228fff3f40Smrg export CONFIG_SHELL 2238fff3f40Smrg exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 224e6232409Smrgfi 225e6232409Smrg 2268fff3f40Smrg if test x$as_have_required = xno; then : 2278fff3f40Smrg $as_echo "$0: This script requires a shell more modern than all" 2288fff3f40Smrg $as_echo "$0: the shells that I found on your system." 2298fff3f40Smrg if test x${ZSH_VERSION+set} = xset ; then 2308fff3f40Smrg $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 2318fff3f40Smrg $as_echo "$0: be upgraded to zsh 4.3.4 or later." 2328fff3f40Smrg else 2338fff3f40Smrg $as_echo "$0: Please tell bug-autoconf@gnu.org and 2348fff3f40Smrg$0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg 2358fff3f40Smrg$0: about your system, including any error possibly output 2368fff3f40Smrg$0: before this message. Then install a modern shell, or 2378fff3f40Smrg$0: manually run the script under such a shell if you do 2388fff3f40Smrg$0: have one." 2398fff3f40Smrg fi 2408fff3f40Smrg exit 1 241e6232409Smrgfi 2428fff3f40Smrgfi 2438fff3f40Smrgfi 2448fff3f40SmrgSHELL=${CONFIG_SHELL-/bin/sh} 2458fff3f40Smrgexport SHELL 2468fff3f40Smrg# Unset more variables known to interfere with behavior of common tools. 2478fff3f40SmrgCLICOLOR_FORCE= GREP_OPTIONS= 2488fff3f40Smrgunset CLICOLOR_FORCE GREP_OPTIONS 249e6232409Smrg 2508fff3f40Smrg## --------------------- ## 2518fff3f40Smrg## M4sh Shell Functions. ## 2528fff3f40Smrg## --------------------- ## 2538fff3f40Smrg# as_fn_unset VAR 2548fff3f40Smrg# --------------- 2558fff3f40Smrg# Portably unset VAR. 2568fff3f40Smrgas_fn_unset () 2578fff3f40Smrg{ 2588fff3f40Smrg { eval $1=; unset $1;} 259e6232409Smrg} 2608fff3f40Smrgas_unset=as_fn_unset 261e6232409Smrg 2628fff3f40Smrg# as_fn_set_status STATUS 2638fff3f40Smrg# ----------------------- 2648fff3f40Smrg# Set $? to STATUS, without forking. 2658fff3f40Smrgas_fn_set_status () 2668fff3f40Smrg{ 2678fff3f40Smrg return $1 2688fff3f40Smrg} # as_fn_set_status 269e6232409Smrg 2708fff3f40Smrg# as_fn_exit STATUS 2718fff3f40Smrg# ----------------- 2728fff3f40Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 2738fff3f40Smrgas_fn_exit () 2748fff3f40Smrg{ 2758fff3f40Smrg set +e 2768fff3f40Smrg as_fn_set_status $1 2778fff3f40Smrg exit $1 2788fff3f40Smrg} # as_fn_exit 2798fff3f40Smrg 2808fff3f40Smrg# as_fn_mkdir_p 2818fff3f40Smrg# ------------- 2828fff3f40Smrg# Create "$as_dir" as a directory, including parents if necessary. 2838fff3f40Smrgas_fn_mkdir_p () 2848fff3f40Smrg{ 285e6232409Smrg 2868fff3f40Smrg case $as_dir in #( 2878fff3f40Smrg -*) as_dir=./$as_dir;; 2888fff3f40Smrg esac 2898fff3f40Smrg test -d "$as_dir" || eval $as_mkdir_p || { 2908fff3f40Smrg as_dirs= 2918fff3f40Smrg while :; do 2928fff3f40Smrg case $as_dir in #( 2938fff3f40Smrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 2948fff3f40Smrg *) as_qdir=$as_dir;; 2958fff3f40Smrg esac 2968fff3f40Smrg as_dirs="'$as_qdir' $as_dirs" 2978fff3f40Smrg as_dir=`$as_dirname -- "$as_dir" || 2988fff3f40Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 2998fff3f40Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 3008fff3f40Smrg X"$as_dir" : 'X\(//\)$' \| \ 3018fff3f40Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 3028fff3f40Smrg$as_echo X"$as_dir" | 3038fff3f40Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3048fff3f40Smrg s//\1/ 3058fff3f40Smrg q 3068fff3f40Smrg } 3078fff3f40Smrg /^X\(\/\/\)[^/].*/{ 3088fff3f40Smrg s//\1/ 3098fff3f40Smrg q 3108fff3f40Smrg } 3118fff3f40Smrg /^X\(\/\/\)$/{ 3128fff3f40Smrg s//\1/ 3138fff3f40Smrg q 3148fff3f40Smrg } 3158fff3f40Smrg /^X\(\/\).*/{ 3168fff3f40Smrg s//\1/ 3178fff3f40Smrg q 3188fff3f40Smrg } 3198fff3f40Smrg s/.*/./; q'` 3208fff3f40Smrg test -d "$as_dir" && break 3218fff3f40Smrg done 3228fff3f40Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 3238fff3f40Smrg } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 3248fff3f40Smrg 3258fff3f40Smrg 3268fff3f40Smrg} # as_fn_mkdir_p 3278fff3f40Smrg# as_fn_append VAR VALUE 3288fff3f40Smrg# ---------------------- 3298fff3f40Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take 3308fff3f40Smrg# advantage of any shell optimizations that allow amortized linear growth over 3318fff3f40Smrg# repeated appends, instead of the typical quadratic growth present in naive 3328fff3f40Smrg# implementations. 3338fff3f40Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 3348fff3f40Smrg eval 'as_fn_append () 3358fff3f40Smrg { 3368fff3f40Smrg eval $1+=\$2 3378fff3f40Smrg }' 338e6232409Smrgelse 3398fff3f40Smrg as_fn_append () 3408fff3f40Smrg { 3418fff3f40Smrg eval $1=\$$1\$2 3428fff3f40Smrg } 3438fff3f40Smrgfi # as_fn_append 3448fff3f40Smrg 3458fff3f40Smrg# as_fn_arith ARG... 3468fff3f40Smrg# ------------------ 3478fff3f40Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the 3488fff3f40Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 3498fff3f40Smrg# must be portable across $(()) and expr. 3508fff3f40Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 3518fff3f40Smrg eval 'as_fn_arith () 3528fff3f40Smrg { 3538fff3f40Smrg as_val=$(( $* )) 3548fff3f40Smrg }' 355e6232409Smrgelse 3568fff3f40Smrg as_fn_arith () 3578fff3f40Smrg { 3588fff3f40Smrg as_val=`expr "$@" || test $? -eq 1` 3598fff3f40Smrg } 3608fff3f40Smrgfi # as_fn_arith 361e6232409Smrg 362e6232409Smrg 3638fff3f40Smrg# as_fn_error ERROR [LINENO LOG_FD] 3648fff3f40Smrg# --------------------------------- 3658fff3f40Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 3668fff3f40Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 3678fff3f40Smrg# script with status $?, using 1 if that was 0. 3688fff3f40Smrgas_fn_error () 3698fff3f40Smrg{ 3708fff3f40Smrg as_status=$?; test $as_status -eq 0 && as_status=1 3718fff3f40Smrg if test "$3"; then 3728fff3f40Smrg as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 3738fff3f40Smrg $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 3748fff3f40Smrg fi 3758fff3f40Smrg $as_echo "$as_me: error: $1" >&2 3768fff3f40Smrg as_fn_exit $as_status 3778fff3f40Smrg} # as_fn_error 378e6232409Smrg 3798fff3f40Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 3808fff3f40Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 3818fff3f40Smrg as_expr=expr 382e6232409Smrgelse 3838fff3f40Smrg as_expr=false 384e6232409Smrgfi 385e6232409Smrg 3868fff3f40Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 3878fff3f40Smrg as_basename=basename 388e6232409Smrgelse 3898fff3f40Smrg as_basename=false 390e6232409Smrgfi 391e6232409Smrg 3928fff3f40Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 3938fff3f40Smrg as_dirname=dirname 394e6232409Smrgelse 3958fff3f40Smrg as_dirname=false 396e6232409Smrgfi 397e6232409Smrg 3988fff3f40Smrgas_me=`$as_basename -- "$0" || 3998fff3f40Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 4008fff3f40Smrg X"$0" : 'X\(//\)$' \| \ 4018fff3f40Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 4028fff3f40Smrg$as_echo X/"$0" | 4038fff3f40Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 4048fff3f40Smrg s//\1/ 4058fff3f40Smrg q 4068fff3f40Smrg } 4078fff3f40Smrg /^X\/\(\/\/\)$/{ 4088fff3f40Smrg s//\1/ 4098fff3f40Smrg q 4108fff3f40Smrg } 4118fff3f40Smrg /^X\/\(\/\).*/{ 4128fff3f40Smrg s//\1/ 4138fff3f40Smrg q 4148fff3f40Smrg } 4158fff3f40Smrg s/.*/./; q'` 416e6232409Smrg 4178fff3f40Smrg# Avoid depending upon Character Ranges. 4188fff3f40Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 4198fff3f40Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 4208fff3f40Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 4218fff3f40Smrgas_cr_digits='0123456789' 4228fff3f40Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 423e6232409Smrg 424e6232409Smrg 4258fff3f40Smrg as_lineno_1=$LINENO as_lineno_1a=$LINENO 4268fff3f40Smrg as_lineno_2=$LINENO as_lineno_2a=$LINENO 4278fff3f40Smrg eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 4288fff3f40Smrg test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 4298fff3f40Smrg # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 430e6232409Smrg sed -n ' 431e6232409Smrg p 432e6232409Smrg /[$]LINENO/= 433e6232409Smrg ' <$as_myself | 434e6232409Smrg sed ' 435e6232409Smrg s/[$]LINENO.*/&-/ 436e6232409Smrg t lineno 437e6232409Smrg b 438e6232409Smrg :lineno 439e6232409Smrg N 440e6232409Smrg :loop 441e6232409Smrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 442e6232409Smrg t loop 443e6232409Smrg s/-\n.*// 444e6232409Smrg ' >$as_me.lineno && 445e6232409Smrg chmod +x "$as_me.lineno" || 4468fff3f40Smrg { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 447e6232409Smrg 448e6232409Smrg # Don't try to exec as it changes $[0], causing all sort of problems 449e6232409Smrg # (the dirname of $[0] is not the place where we might find the 450e6232409Smrg # original and so on. Autoconf is especially sensitive to this). 451e6232409Smrg . "./$as_me.lineno" 452e6232409Smrg # Exit status is that of the last command. 453e6232409Smrg exit 454e6232409Smrg} 455e6232409Smrg 456e6232409SmrgECHO_C= ECHO_N= ECHO_T= 4578fff3f40Smrgcase `echo -n x` in #((((( 458e6232409Smrg-n*) 4598fff3f40Smrg case `echo 'xy\c'` in 460e6232409Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 4618fff3f40Smrg xy) ECHO_C='\c';; 4628fff3f40Smrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 4638fff3f40Smrg ECHO_T=' ';; 464e6232409Smrg esac;; 465e6232409Smrg*) 466e6232409Smrg ECHO_N='-n';; 467e6232409Smrgesac 468e6232409Smrg 469e6232409Smrgrm -f conf$$ conf$$.exe conf$$.file 470e6232409Smrgif test -d conf$$.dir; then 471e6232409Smrg rm -f conf$$.dir/conf$$.file 472e6232409Smrgelse 473e6232409Smrg rm -f conf$$.dir 4748fff3f40Smrg mkdir conf$$.dir 2>/dev/null 4758fff3f40Smrgfi 4768fff3f40Smrgif (echo >conf$$.file) 2>/dev/null; then 4778fff3f40Smrg if ln -s conf$$.file conf$$ 2>/dev/null; then 4788fff3f40Smrg as_ln_s='ln -s' 4798fff3f40Smrg # ... but there are two gotchas: 4808fff3f40Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 4818fff3f40Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 4828fff3f40Smrg # In both cases, we have to default to `cp -p'. 4838fff3f40Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 4848fff3f40Smrg as_ln_s='cp -p' 4858fff3f40Smrg elif ln conf$$.file conf$$ 2>/dev/null; then 4868fff3f40Smrg as_ln_s=ln 4878fff3f40Smrg else 488e6232409Smrg as_ln_s='cp -p' 4898fff3f40Smrg fi 490e6232409Smrgelse 491e6232409Smrg as_ln_s='cp -p' 492e6232409Smrgfi 493e6232409Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 494e6232409Smrgrmdir conf$$.dir 2>/dev/null 495e6232409Smrg 496e6232409Smrgif mkdir -p . 2>/dev/null; then 4978fff3f40Smrg as_mkdir_p='mkdir -p "$as_dir"' 498e6232409Smrgelse 499e6232409Smrg test -d ./-p && rmdir ./-p 500e6232409Smrg as_mkdir_p=false 501e6232409Smrgfi 502e6232409Smrg 5038fff3f40Smrgif test -x / >/dev/null 2>&1; then 5048fff3f40Smrg as_test_x='test -x' 505e6232409Smrgelse 5068fff3f40Smrg if ls -dL / >/dev/null 2>&1; then 5078fff3f40Smrg as_ls_L_option=L 5088fff3f40Smrg else 5098fff3f40Smrg as_ls_L_option= 5108fff3f40Smrg fi 5118fff3f40Smrg as_test_x=' 5128fff3f40Smrg eval sh -c '\'' 5138fff3f40Smrg if test -d "$1"; then 5148fff3f40Smrg test -d "$1/."; 5158fff3f40Smrg else 5168fff3f40Smrg case $1 in #( 5178fff3f40Smrg -*)set "./$1";; 5188fff3f40Smrg esac; 5198fff3f40Smrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 5208fff3f40Smrg ???[sx]*):;;*)false;;esac;fi 5218fff3f40Smrg '\'' sh 5228fff3f40Smrg ' 523e6232409Smrgfi 5248fff3f40Smrgas_executable_p=$as_test_x 525e6232409Smrg 526e6232409Smrg# Sed expression to map a string onto a valid CPP name. 527e6232409Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 528e6232409Smrg 529e6232409Smrg# Sed expression to map a string onto a valid variable name. 530e6232409Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 531e6232409Smrg 532e6232409Smrg 5338fff3f40Smrgtest -n "$DJDIR" || exec 7<&0 </dev/null 5348fff3f40Smrgexec 6>&1 535e6232409Smrg 536e6232409Smrg# Name of the host. 537e6232409Smrg# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 538e6232409Smrg# so uname gets run too. 539e6232409Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 540e6232409Smrg 541e6232409Smrg# 542e6232409Smrg# Initializations. 543e6232409Smrg# 544e6232409Smrgac_default_prefix=/usr/local 545e6232409Smrgac_clean_files= 546e6232409Smrgac_config_libobj_dir=. 547e6232409SmrgLIBOBJS= 548e6232409Smrgcross_compiling=no 549e6232409Smrgsubdirs= 550e6232409SmrgMFLAGS= 551e6232409SmrgMAKEFLAGS= 552e6232409Smrg 553e6232409Smrg# Identity of this package. 554e6232409SmrgPACKAGE_NAME='xlsfonts' 555e6232409SmrgPACKAGE_TARNAME='xlsfonts' 5568fff3f40SmrgPACKAGE_VERSION='1.0.3' 5578fff3f40SmrgPACKAGE_STRING='xlsfonts 1.0.3' 558e6232409SmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 5598fff3f40SmrgPACKAGE_URL='' 560e6232409Smrg 5618fff3f40Smrg# Factoring default headers for most tests. 5628fff3f40Smrgac_includes_default="\ 5638fff3f40Smrg#include <stdio.h> 5648fff3f40Smrg#ifdef HAVE_SYS_TYPES_H 5658fff3f40Smrg# include <sys/types.h> 5668fff3f40Smrg#endif 5678fff3f40Smrg#ifdef HAVE_SYS_STAT_H 5688fff3f40Smrg# include <sys/stat.h> 5698fff3f40Smrg#endif 5708fff3f40Smrg#ifdef STDC_HEADERS 5718fff3f40Smrg# include <stdlib.h> 5728fff3f40Smrg# include <stddef.h> 5738fff3f40Smrg#else 5748fff3f40Smrg# ifdef HAVE_STDLIB_H 5758fff3f40Smrg# include <stdlib.h> 5768fff3f40Smrg# endif 5778fff3f40Smrg#endif 5788fff3f40Smrg#ifdef HAVE_STRING_H 5798fff3f40Smrg# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 5808fff3f40Smrg# include <memory.h> 5818fff3f40Smrg# endif 5828fff3f40Smrg# include <string.h> 5838fff3f40Smrg#endif 5848fff3f40Smrg#ifdef HAVE_STRINGS_H 5858fff3f40Smrg# include <strings.h> 5868fff3f40Smrg#endif 5878fff3f40Smrg#ifdef HAVE_INTTYPES_H 5888fff3f40Smrg# include <inttypes.h> 5898fff3f40Smrg#endif 5908fff3f40Smrg#ifdef HAVE_STDINT_H 5918fff3f40Smrg# include <stdint.h> 5928fff3f40Smrg#endif 5938fff3f40Smrg#ifdef HAVE_UNISTD_H 5948fff3f40Smrg# include <unistd.h> 5958fff3f40Smrg#endif" 5968fff3f40Smrg 5978fff3f40Smrgac_subst_vars='am__EXEEXT_FALSE 5988fff3f40Smrgam__EXEEXT_TRUE 5998fff3f40SmrgLTLIBOBJS 6008fff3f40SmrgLIBOBJS 601e6232409SmrgXLSFONTS_LIBS 6028fff3f40SmrgXLSFONTS_CFLAGS 6038fff3f40SmrgAM_BACKSLASH 6048fff3f40SmrgAM_DEFAULT_VERBOSITY 605e6232409SmrgADMIN_MAN_DIR 6068fff3f40SmrgDRIVER_MAN_DIR 6078fff3f40SmrgMISC_MAN_DIR 6088fff3f40SmrgFILE_MAN_DIR 6098fff3f40SmrgLIB_MAN_DIR 6108fff3f40SmrgAPP_MAN_DIR 6118fff3f40SmrgADMIN_MAN_SUFFIX 6128fff3f40SmrgDRIVER_MAN_SUFFIX 6138fff3f40SmrgMISC_MAN_SUFFIX 6148fff3f40SmrgFILE_MAN_SUFFIX 6158fff3f40SmrgLIB_MAN_SUFFIX 6168fff3f40SmrgAPP_MAN_SUFFIX 6178fff3f40Smrghost_os 6188fff3f40Smrghost_vendor 6198fff3f40Smrghost_cpu 6208fff3f40Smrghost 6218fff3f40Smrgbuild_os 6228fff3f40Smrgbuild_vendor 6238fff3f40Smrgbuild_cpu 6248fff3f40Smrgbuild 6258fff3f40SmrgINSTALL_CMD 6268fff3f40SmrgPKG_CONFIG_LIBDIR 6278fff3f40SmrgPKG_CONFIG_PATH 6288fff3f40SmrgPKG_CONFIG 6298fff3f40SmrgCHANGELOG_CMD 6308fff3f40SmrgCWARNFLAGS 6318fff3f40SmrgEGREP 6328fff3f40SmrgGREP 6338fff3f40SmrgCPP 6348fff3f40Smrgam__fastdepCC_FALSE 6358fff3f40Smrgam__fastdepCC_TRUE 6368fff3f40SmrgCCDEPMODE 6378fff3f40SmrgAMDEPBACKSLASH 6388fff3f40SmrgAMDEP_FALSE 6398fff3f40SmrgAMDEP_TRUE 6408fff3f40Smrgam__quote 6418fff3f40Smrgam__include 6428fff3f40SmrgDEPDIR 6438fff3f40SmrgOBJEXT 6448fff3f40SmrgEXEEXT 6458fff3f40Smrgac_ct_CC 6468fff3f40SmrgCPPFLAGS 6478fff3f40SmrgLDFLAGS 6488fff3f40SmrgCFLAGS 6498fff3f40SmrgCC 6508fff3f40SmrgMAINT 6518fff3f40SmrgMAINTAINER_MODE_FALSE 6528fff3f40SmrgMAINTAINER_MODE_TRUE 6538fff3f40Smrgam__untar 6548fff3f40Smrgam__tar 6558fff3f40SmrgAMTAR 6568fff3f40Smrgam__leading_dot 6578fff3f40SmrgSET_MAKE 6588fff3f40SmrgAWK 6598fff3f40Smrgmkdir_p 6608fff3f40SmrgMKDIR_P 6618fff3f40SmrgINSTALL_STRIP_PROGRAM 6628fff3f40SmrgSTRIP 6638fff3f40Smrginstall_sh 6648fff3f40SmrgMAKEINFO 6658fff3f40SmrgAUTOHEADER 6668fff3f40SmrgAUTOMAKE 6678fff3f40SmrgAUTOCONF 6688fff3f40SmrgACLOCAL 6698fff3f40SmrgVERSION 6708fff3f40SmrgPACKAGE 6718fff3f40SmrgCYGPATH_W 6728fff3f40Smrgam__isrc 6738fff3f40SmrgINSTALL_DATA 6748fff3f40SmrgINSTALL_SCRIPT 6758fff3f40SmrgINSTALL_PROGRAM 6768fff3f40Smrgtarget_alias 6778fff3f40Smrghost_alias 6788fff3f40Smrgbuild_alias 6798fff3f40SmrgLIBS 6808fff3f40SmrgECHO_T 6818fff3f40SmrgECHO_N 6828fff3f40SmrgECHO_C 6838fff3f40SmrgDEFS 6848fff3f40Smrgmandir 6858fff3f40Smrglocaledir 6868fff3f40Smrglibdir 6878fff3f40Smrgpsdir 6888fff3f40Smrgpdfdir 6898fff3f40Smrgdvidir 6908fff3f40Smrghtmldir 6918fff3f40Smrginfodir 6928fff3f40Smrgdocdir 6938fff3f40Smrgoldincludedir 6948fff3f40Smrgincludedir 6958fff3f40Smrglocalstatedir 6968fff3f40Smrgsharedstatedir 6978fff3f40Smrgsysconfdir 6988fff3f40Smrgdatadir 6998fff3f40Smrgdatarootdir 7008fff3f40Smrglibexecdir 7018fff3f40Smrgsbindir 7028fff3f40Smrgbindir 7038fff3f40Smrgprogram_transform_name 7048fff3f40Smrgprefix 7058fff3f40Smrgexec_prefix 7068fff3f40SmrgPACKAGE_URL 7078fff3f40SmrgPACKAGE_BUGREPORT 7088fff3f40SmrgPACKAGE_STRING 7098fff3f40SmrgPACKAGE_VERSION 7108fff3f40SmrgPACKAGE_TARNAME 7118fff3f40SmrgPACKAGE_NAME 7128fff3f40SmrgPATH_SEPARATOR 7138fff3f40SmrgSHELL' 714e6232409Smrgac_subst_files='' 7158fff3f40Smrgac_user_opts=' 7168fff3f40Smrgenable_option_checking 7178fff3f40Smrgenable_maintainer_mode 7188fff3f40Smrgenable_dependency_tracking 7198fff3f40Smrgenable_strict_compilation 7208fff3f40Smrgwith_release_version 7218fff3f40Smrgenable_silent_rules 7228fff3f40Smrg' 723e6232409Smrg ac_precious_vars='build_alias 724e6232409Smrghost_alias 725e6232409Smrgtarget_alias 726e6232409SmrgCC 727e6232409SmrgCFLAGS 728e6232409SmrgLDFLAGS 7298fff3f40SmrgLIBS 730e6232409SmrgCPPFLAGS 7318fff3f40SmrgCPP 732e6232409SmrgPKG_CONFIG 7338fff3f40SmrgPKG_CONFIG_PATH 7348fff3f40SmrgPKG_CONFIG_LIBDIR 735e6232409SmrgXLSFONTS_CFLAGS 736e6232409SmrgXLSFONTS_LIBS' 737e6232409Smrg 738e6232409Smrg 739e6232409Smrg# Initialize some variables set by options. 740e6232409Smrgac_init_help= 741e6232409Smrgac_init_version=false 7428fff3f40Smrgac_unrecognized_opts= 7438fff3f40Smrgac_unrecognized_sep= 744e6232409Smrg# The variables have the same names as the options, with 745e6232409Smrg# dashes changed to underlines. 746e6232409Smrgcache_file=/dev/null 747e6232409Smrgexec_prefix=NONE 748e6232409Smrgno_create= 749e6232409Smrgno_recursion= 750e6232409Smrgprefix=NONE 751e6232409Smrgprogram_prefix=NONE 752e6232409Smrgprogram_suffix=NONE 753e6232409Smrgprogram_transform_name=s,x,x, 754e6232409Smrgsilent= 755e6232409Smrgsite= 756e6232409Smrgsrcdir= 757e6232409Smrgverbose= 758e6232409Smrgx_includes=NONE 759e6232409Smrgx_libraries=NONE 760e6232409Smrg 761e6232409Smrg# Installation directory options. 762e6232409Smrg# These are left unexpanded so users can "make install exec_prefix=/foo" 763e6232409Smrg# and all the variables that are supposed to be based on exec_prefix 764e6232409Smrg# by default will actually change. 765e6232409Smrg# Use braces instead of parens because sh, perl, etc. also accept them. 766e6232409Smrg# (The list follows the same order as the GNU Coding Standards.) 767e6232409Smrgbindir='${exec_prefix}/bin' 768e6232409Smrgsbindir='${exec_prefix}/sbin' 769e6232409Smrglibexecdir='${exec_prefix}/libexec' 770e6232409Smrgdatarootdir='${prefix}/share' 771e6232409Smrgdatadir='${datarootdir}' 772e6232409Smrgsysconfdir='${prefix}/etc' 773e6232409Smrgsharedstatedir='${prefix}/com' 774e6232409Smrglocalstatedir='${prefix}/var' 775e6232409Smrgincludedir='${prefix}/include' 776e6232409Smrgoldincludedir='/usr/include' 777e6232409Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 778e6232409Smrginfodir='${datarootdir}/info' 779e6232409Smrghtmldir='${docdir}' 780e6232409Smrgdvidir='${docdir}' 781e6232409Smrgpdfdir='${docdir}' 782e6232409Smrgpsdir='${docdir}' 783e6232409Smrglibdir='${exec_prefix}/lib' 784e6232409Smrglocaledir='${datarootdir}/locale' 785e6232409Smrgmandir='${datarootdir}/man' 786e6232409Smrg 787e6232409Smrgac_prev= 788e6232409Smrgac_dashdash= 789e6232409Smrgfor ac_option 790e6232409Smrgdo 791e6232409Smrg # If the previous option needs an argument, assign it. 792e6232409Smrg if test -n "$ac_prev"; then 793e6232409Smrg eval $ac_prev=\$ac_option 794e6232409Smrg ac_prev= 795e6232409Smrg continue 796e6232409Smrg fi 797e6232409Smrg 798e6232409Smrg case $ac_option in 799e6232409Smrg *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 800e6232409Smrg *) ac_optarg=yes ;; 801e6232409Smrg esac 802e6232409Smrg 803e6232409Smrg # Accept the important Cygnus configure options, so we can diagnose typos. 804e6232409Smrg 805e6232409Smrg case $ac_dashdash$ac_option in 806e6232409Smrg --) 807e6232409Smrg ac_dashdash=yes ;; 808e6232409Smrg 809e6232409Smrg -bindir | --bindir | --bindi | --bind | --bin | --bi) 810e6232409Smrg ac_prev=bindir ;; 811e6232409Smrg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 812e6232409Smrg bindir=$ac_optarg ;; 813e6232409Smrg 814e6232409Smrg -build | --build | --buil | --bui | --bu) 815e6232409Smrg ac_prev=build_alias ;; 816e6232409Smrg -build=* | --build=* | --buil=* | --bui=* | --bu=*) 817e6232409Smrg build_alias=$ac_optarg ;; 818e6232409Smrg 819e6232409Smrg -cache-file | --cache-file | --cache-fil | --cache-fi \ 820e6232409Smrg | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 821e6232409Smrg ac_prev=cache_file ;; 822e6232409Smrg -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 823e6232409Smrg | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 824e6232409Smrg cache_file=$ac_optarg ;; 825e6232409Smrg 826e6232409Smrg --config-cache | -C) 827e6232409Smrg cache_file=config.cache ;; 828e6232409Smrg 829e6232409Smrg -datadir | --datadir | --datadi | --datad) 830e6232409Smrg ac_prev=datadir ;; 831e6232409Smrg -datadir=* | --datadir=* | --datadi=* | --datad=*) 832e6232409Smrg datadir=$ac_optarg ;; 833e6232409Smrg 834e6232409Smrg -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 835e6232409Smrg | --dataroo | --dataro | --datar) 836e6232409Smrg ac_prev=datarootdir ;; 837e6232409Smrg -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 838e6232409Smrg | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 839e6232409Smrg datarootdir=$ac_optarg ;; 840e6232409Smrg 841e6232409Smrg -disable-* | --disable-*) 8428fff3f40Smrg ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 843e6232409Smrg # Reject names that are not valid shell variable names. 8448fff3f40Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 8458fff3f40Smrg as_fn_error "invalid feature name: $ac_useropt" 8468fff3f40Smrg ac_useropt_orig=$ac_useropt 8478fff3f40Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 8488fff3f40Smrg case $ac_user_opts in 8498fff3f40Smrg *" 8508fff3f40Smrg"enable_$ac_useropt" 8518fff3f40Smrg"*) ;; 8528fff3f40Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 8538fff3f40Smrg ac_unrecognized_sep=', ';; 8548fff3f40Smrg esac 8558fff3f40Smrg eval enable_$ac_useropt=no ;; 856e6232409Smrg 857e6232409Smrg -docdir | --docdir | --docdi | --doc | --do) 858e6232409Smrg ac_prev=docdir ;; 859e6232409Smrg -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 860e6232409Smrg docdir=$ac_optarg ;; 861e6232409Smrg 862e6232409Smrg -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 863e6232409Smrg ac_prev=dvidir ;; 864e6232409Smrg -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 865e6232409Smrg dvidir=$ac_optarg ;; 866e6232409Smrg 867e6232409Smrg -enable-* | --enable-*) 8688fff3f40Smrg ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 869e6232409Smrg # Reject names that are not valid shell variable names. 8708fff3f40Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 8718fff3f40Smrg as_fn_error "invalid feature name: $ac_useropt" 8728fff3f40Smrg ac_useropt_orig=$ac_useropt 8738fff3f40Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 8748fff3f40Smrg case $ac_user_opts in 8758fff3f40Smrg *" 8768fff3f40Smrg"enable_$ac_useropt" 8778fff3f40Smrg"*) ;; 8788fff3f40Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 8798fff3f40Smrg ac_unrecognized_sep=', ';; 8808fff3f40Smrg esac 8818fff3f40Smrg eval enable_$ac_useropt=\$ac_optarg ;; 882e6232409Smrg 883e6232409Smrg -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 884e6232409Smrg | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 885e6232409Smrg | --exec | --exe | --ex) 886e6232409Smrg ac_prev=exec_prefix ;; 887e6232409Smrg -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 888e6232409Smrg | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 889e6232409Smrg | --exec=* | --exe=* | --ex=*) 890e6232409Smrg exec_prefix=$ac_optarg ;; 891e6232409Smrg 892e6232409Smrg -gas | --gas | --ga | --g) 893e6232409Smrg # Obsolete; use --with-gas. 894e6232409Smrg with_gas=yes ;; 895e6232409Smrg 896e6232409Smrg -help | --help | --hel | --he | -h) 897e6232409Smrg ac_init_help=long ;; 898e6232409Smrg -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 899e6232409Smrg ac_init_help=recursive ;; 900e6232409Smrg -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 901e6232409Smrg ac_init_help=short ;; 902e6232409Smrg 903e6232409Smrg -host | --host | --hos | --ho) 904e6232409Smrg ac_prev=host_alias ;; 905e6232409Smrg -host=* | --host=* | --hos=* | --ho=*) 906e6232409Smrg host_alias=$ac_optarg ;; 907e6232409Smrg 908e6232409Smrg -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 909e6232409Smrg ac_prev=htmldir ;; 910e6232409Smrg -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 911e6232409Smrg | --ht=*) 912e6232409Smrg htmldir=$ac_optarg ;; 913e6232409Smrg 914e6232409Smrg -includedir | --includedir | --includedi | --included | --include \ 915e6232409Smrg | --includ | --inclu | --incl | --inc) 916e6232409Smrg ac_prev=includedir ;; 917e6232409Smrg -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 918e6232409Smrg | --includ=* | --inclu=* | --incl=* | --inc=*) 919e6232409Smrg includedir=$ac_optarg ;; 920e6232409Smrg 921e6232409Smrg -infodir | --infodir | --infodi | --infod | --info | --inf) 922e6232409Smrg ac_prev=infodir ;; 923e6232409Smrg -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 924e6232409Smrg infodir=$ac_optarg ;; 925e6232409Smrg 926e6232409Smrg -libdir | --libdir | --libdi | --libd) 927e6232409Smrg ac_prev=libdir ;; 928e6232409Smrg -libdir=* | --libdir=* | --libdi=* | --libd=*) 929e6232409Smrg libdir=$ac_optarg ;; 930e6232409Smrg 931e6232409Smrg -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 932e6232409Smrg | --libexe | --libex | --libe) 933e6232409Smrg ac_prev=libexecdir ;; 934e6232409Smrg -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 935e6232409Smrg | --libexe=* | --libex=* | --libe=*) 936e6232409Smrg libexecdir=$ac_optarg ;; 937e6232409Smrg 938e6232409Smrg -localedir | --localedir | --localedi | --localed | --locale) 939e6232409Smrg ac_prev=localedir ;; 940e6232409Smrg -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 941e6232409Smrg localedir=$ac_optarg ;; 942e6232409Smrg 943e6232409Smrg -localstatedir | --localstatedir | --localstatedi | --localstated \ 944e6232409Smrg | --localstate | --localstat | --localsta | --localst | --locals) 945e6232409Smrg ac_prev=localstatedir ;; 946e6232409Smrg -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 947e6232409Smrg | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 948e6232409Smrg localstatedir=$ac_optarg ;; 949e6232409Smrg 950e6232409Smrg -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 951e6232409Smrg ac_prev=mandir ;; 952e6232409Smrg -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 953e6232409Smrg mandir=$ac_optarg ;; 954e6232409Smrg 955e6232409Smrg -nfp | --nfp | --nf) 956e6232409Smrg # Obsolete; use --without-fp. 957e6232409Smrg with_fp=no ;; 958e6232409Smrg 959e6232409Smrg -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 960e6232409Smrg | --no-cr | --no-c | -n) 961e6232409Smrg no_create=yes ;; 962e6232409Smrg 963e6232409Smrg -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 964e6232409Smrg | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 965e6232409Smrg no_recursion=yes ;; 966e6232409Smrg 967e6232409Smrg -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 968e6232409Smrg | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 969e6232409Smrg | --oldin | --oldi | --old | --ol | --o) 970e6232409Smrg ac_prev=oldincludedir ;; 971e6232409Smrg -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 972e6232409Smrg | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 973e6232409Smrg | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 974e6232409Smrg oldincludedir=$ac_optarg ;; 975e6232409Smrg 976e6232409Smrg -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 977e6232409Smrg ac_prev=prefix ;; 978e6232409Smrg -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 979e6232409Smrg prefix=$ac_optarg ;; 980e6232409Smrg 981e6232409Smrg -program-prefix | --program-prefix | --program-prefi | --program-pref \ 982e6232409Smrg | --program-pre | --program-pr | --program-p) 983e6232409Smrg ac_prev=program_prefix ;; 984e6232409Smrg -program-prefix=* | --program-prefix=* | --program-prefi=* \ 985e6232409Smrg | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 986e6232409Smrg program_prefix=$ac_optarg ;; 987e6232409Smrg 988e6232409Smrg -program-suffix | --program-suffix | --program-suffi | --program-suff \ 989e6232409Smrg | --program-suf | --program-su | --program-s) 990e6232409Smrg ac_prev=program_suffix ;; 991e6232409Smrg -program-suffix=* | --program-suffix=* | --program-suffi=* \ 992e6232409Smrg | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 993e6232409Smrg program_suffix=$ac_optarg ;; 994e6232409Smrg 995e6232409Smrg -program-transform-name | --program-transform-name \ 996e6232409Smrg | --program-transform-nam | --program-transform-na \ 997e6232409Smrg | --program-transform-n | --program-transform- \ 998e6232409Smrg | --program-transform | --program-transfor \ 999e6232409Smrg | --program-transfo | --program-transf \ 1000e6232409Smrg | --program-trans | --program-tran \ 1001e6232409Smrg | --progr-tra | --program-tr | --program-t) 1002e6232409Smrg ac_prev=program_transform_name ;; 1003e6232409Smrg -program-transform-name=* | --program-transform-name=* \ 1004e6232409Smrg | --program-transform-nam=* | --program-transform-na=* \ 1005e6232409Smrg | --program-transform-n=* | --program-transform-=* \ 1006e6232409Smrg | --program-transform=* | --program-transfor=* \ 1007e6232409Smrg | --program-transfo=* | --program-transf=* \ 1008e6232409Smrg | --program-trans=* | --program-tran=* \ 1009e6232409Smrg | --progr-tra=* | --program-tr=* | --program-t=*) 1010e6232409Smrg program_transform_name=$ac_optarg ;; 1011e6232409Smrg 1012e6232409Smrg -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1013e6232409Smrg ac_prev=pdfdir ;; 1014e6232409Smrg -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1015e6232409Smrg pdfdir=$ac_optarg ;; 1016e6232409Smrg 1017e6232409Smrg -psdir | --psdir | --psdi | --psd | --ps) 1018e6232409Smrg ac_prev=psdir ;; 1019e6232409Smrg -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1020e6232409Smrg psdir=$ac_optarg ;; 1021e6232409Smrg 1022e6232409Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1023e6232409Smrg | -silent | --silent | --silen | --sile | --sil) 1024e6232409Smrg silent=yes ;; 1025e6232409Smrg 1026e6232409Smrg -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1027e6232409Smrg ac_prev=sbindir ;; 1028e6232409Smrg -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1029e6232409Smrg | --sbi=* | --sb=*) 1030e6232409Smrg sbindir=$ac_optarg ;; 1031e6232409Smrg 1032e6232409Smrg -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1033e6232409Smrg | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1034e6232409Smrg | --sharedst | --shareds | --shared | --share | --shar \ 1035e6232409Smrg | --sha | --sh) 1036e6232409Smrg ac_prev=sharedstatedir ;; 1037e6232409Smrg -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1038e6232409Smrg | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1039e6232409Smrg | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1040e6232409Smrg | --sha=* | --sh=*) 1041e6232409Smrg sharedstatedir=$ac_optarg ;; 1042e6232409Smrg 1043e6232409Smrg -site | --site | --sit) 1044e6232409Smrg ac_prev=site ;; 1045e6232409Smrg -site=* | --site=* | --sit=*) 1046e6232409Smrg site=$ac_optarg ;; 1047e6232409Smrg 1048e6232409Smrg -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1049e6232409Smrg ac_prev=srcdir ;; 1050e6232409Smrg -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1051e6232409Smrg srcdir=$ac_optarg ;; 1052e6232409Smrg 1053e6232409Smrg -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1054e6232409Smrg | --syscon | --sysco | --sysc | --sys | --sy) 1055e6232409Smrg ac_prev=sysconfdir ;; 1056e6232409Smrg -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1057e6232409Smrg | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1058e6232409Smrg sysconfdir=$ac_optarg ;; 1059e6232409Smrg 1060e6232409Smrg -target | --target | --targe | --targ | --tar | --ta | --t) 1061e6232409Smrg ac_prev=target_alias ;; 1062e6232409Smrg -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1063e6232409Smrg target_alias=$ac_optarg ;; 1064e6232409Smrg 1065e6232409Smrg -v | -verbose | --verbose | --verbos | --verbo | --verb) 1066e6232409Smrg verbose=yes ;; 1067e6232409Smrg 1068e6232409Smrg -version | --version | --versio | --versi | --vers | -V) 1069e6232409Smrg ac_init_version=: ;; 1070e6232409Smrg 1071e6232409Smrg -with-* | --with-*) 10728fff3f40Smrg ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1073e6232409Smrg # Reject names that are not valid shell variable names. 10748fff3f40Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 10758fff3f40Smrg as_fn_error "invalid package name: $ac_useropt" 10768fff3f40Smrg ac_useropt_orig=$ac_useropt 10778fff3f40Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 10788fff3f40Smrg case $ac_user_opts in 10798fff3f40Smrg *" 10808fff3f40Smrg"with_$ac_useropt" 10818fff3f40Smrg"*) ;; 10828fff3f40Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 10838fff3f40Smrg ac_unrecognized_sep=', ';; 10848fff3f40Smrg esac 10858fff3f40Smrg eval with_$ac_useropt=\$ac_optarg ;; 1086e6232409Smrg 1087e6232409Smrg -without-* | --without-*) 10888fff3f40Smrg ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1089e6232409Smrg # Reject names that are not valid shell variable names. 10908fff3f40Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 10918fff3f40Smrg as_fn_error "invalid package name: $ac_useropt" 10928fff3f40Smrg ac_useropt_orig=$ac_useropt 10938fff3f40Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 10948fff3f40Smrg case $ac_user_opts in 10958fff3f40Smrg *" 10968fff3f40Smrg"with_$ac_useropt" 10978fff3f40Smrg"*) ;; 10988fff3f40Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 10998fff3f40Smrg ac_unrecognized_sep=', ';; 11008fff3f40Smrg esac 11018fff3f40Smrg eval with_$ac_useropt=no ;; 1102e6232409Smrg 1103e6232409Smrg --x) 1104e6232409Smrg # Obsolete; use --with-x. 1105e6232409Smrg with_x=yes ;; 1106e6232409Smrg 1107e6232409Smrg -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1108e6232409Smrg | --x-incl | --x-inc | --x-in | --x-i) 1109e6232409Smrg ac_prev=x_includes ;; 1110e6232409Smrg -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1111e6232409Smrg | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1112e6232409Smrg x_includes=$ac_optarg ;; 1113e6232409Smrg 1114e6232409Smrg -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1115e6232409Smrg | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1116e6232409Smrg ac_prev=x_libraries ;; 1117e6232409Smrg -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1118e6232409Smrg | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1119e6232409Smrg x_libraries=$ac_optarg ;; 1120e6232409Smrg 11218fff3f40Smrg -*) as_fn_error "unrecognized option: \`$ac_option' 11228fff3f40SmrgTry \`$0 --help' for more information." 1123e6232409Smrg ;; 1124e6232409Smrg 1125e6232409Smrg *=*) 1126e6232409Smrg ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1127e6232409Smrg # Reject names that are not valid shell variable names. 11288fff3f40Smrg case $ac_envvar in #( 11298fff3f40Smrg '' | [0-9]* | *[!_$as_cr_alnum]* ) 11308fff3f40Smrg as_fn_error "invalid variable name: \`$ac_envvar'" ;; 11318fff3f40Smrg esac 1132e6232409Smrg eval $ac_envvar=\$ac_optarg 1133e6232409Smrg export $ac_envvar ;; 1134e6232409Smrg 1135e6232409Smrg *) 1136e6232409Smrg # FIXME: should be removed in autoconf 3.0. 11378fff3f40Smrg $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1138e6232409Smrg expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 11398fff3f40Smrg $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1140e6232409Smrg : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1141e6232409Smrg ;; 1142e6232409Smrg 1143e6232409Smrg esac 1144e6232409Smrgdone 1145e6232409Smrg 1146e6232409Smrgif test -n "$ac_prev"; then 1147e6232409Smrg ac_option=--`echo $ac_prev | sed 's/_/-/g'` 11488fff3f40Smrg as_fn_error "missing argument to $ac_option" 1149e6232409Smrgfi 1150e6232409Smrg 11518fff3f40Smrgif test -n "$ac_unrecognized_opts"; then 11528fff3f40Smrg case $enable_option_checking in 11538fff3f40Smrg no) ;; 11548fff3f40Smrg fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 11558fff3f40Smrg *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 11568fff3f40Smrg esac 11578fff3f40Smrgfi 11588fff3f40Smrg 11598fff3f40Smrg# Check all directory arguments for consistency. 1160e6232409Smrgfor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1161e6232409Smrg datadir sysconfdir sharedstatedir localstatedir includedir \ 1162e6232409Smrg oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1163e6232409Smrg libdir localedir mandir 1164e6232409Smrgdo 1165e6232409Smrg eval ac_val=\$$ac_var 11668fff3f40Smrg # Remove trailing slashes. 11678fff3f40Smrg case $ac_val in 11688fff3f40Smrg */ ) 11698fff3f40Smrg ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 11708fff3f40Smrg eval $ac_var=\$ac_val;; 11718fff3f40Smrg esac 11728fff3f40Smrg # Be sure to have absolute directory names. 1173e6232409Smrg case $ac_val in 1174e6232409Smrg [\\/$]* | ?:[\\/]* ) continue;; 1175e6232409Smrg NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1176e6232409Smrg esac 11778fff3f40Smrg as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1178e6232409Smrgdone 1179e6232409Smrg 1180e6232409Smrg# There might be people who depend on the old broken behavior: `$host' 1181e6232409Smrg# used to hold the argument of --host etc. 1182e6232409Smrg# FIXME: To remove some day. 1183e6232409Smrgbuild=$build_alias 1184e6232409Smrghost=$host_alias 1185e6232409Smrgtarget=$target_alias 1186e6232409Smrg 1187e6232409Smrg# FIXME: To remove some day. 1188e6232409Smrgif test "x$host_alias" != x; then 1189e6232409Smrg if test "x$build_alias" = x; then 1190e6232409Smrg cross_compiling=maybe 11918fff3f40Smrg $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1192e6232409Smrg If a cross compiler is detected then cross compile mode will be used." >&2 1193e6232409Smrg elif test "x$build_alias" != "x$host_alias"; then 1194e6232409Smrg cross_compiling=yes 1195e6232409Smrg fi 1196e6232409Smrgfi 1197e6232409Smrg 1198e6232409Smrgac_tool_prefix= 1199e6232409Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias- 1200e6232409Smrg 1201e6232409Smrgtest "$silent" = yes && exec 6>/dev/null 1202e6232409Smrg 1203e6232409Smrg 1204e6232409Smrgac_pwd=`pwd` && test -n "$ac_pwd" && 1205e6232409Smrgac_ls_di=`ls -di .` && 1206e6232409Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 12078fff3f40Smrg as_fn_error "working directory cannot be determined" 1208e6232409Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" || 12098fff3f40Smrg as_fn_error "pwd does not report name of working directory" 1210e6232409Smrg 1211e6232409Smrg 1212e6232409Smrg# Find the source files, if location was not specified. 1213e6232409Smrgif test -z "$srcdir"; then 1214e6232409Smrg ac_srcdir_defaulted=yes 1215e6232409Smrg # Try the directory containing this script, then the parent directory. 12168fff3f40Smrg ac_confdir=`$as_dirname -- "$as_myself" || 12178fff3f40Smrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12188fff3f40Smrg X"$as_myself" : 'X\(//\)[^/]' \| \ 12198fff3f40Smrg X"$as_myself" : 'X\(//\)$' \| \ 12208fff3f40Smrg X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 12218fff3f40Smrg$as_echo X"$as_myself" | 1222e6232409Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1223e6232409Smrg s//\1/ 1224e6232409Smrg q 1225e6232409Smrg } 1226e6232409Smrg /^X\(\/\/\)[^/].*/{ 1227e6232409Smrg s//\1/ 1228e6232409Smrg q 1229e6232409Smrg } 1230e6232409Smrg /^X\(\/\/\)$/{ 1231e6232409Smrg s//\1/ 1232e6232409Smrg q 1233e6232409Smrg } 1234e6232409Smrg /^X\(\/\).*/{ 1235e6232409Smrg s//\1/ 1236e6232409Smrg q 1237e6232409Smrg } 1238e6232409Smrg s/.*/./; q'` 1239e6232409Smrg srcdir=$ac_confdir 1240e6232409Smrg if test ! -r "$srcdir/$ac_unique_file"; then 1241e6232409Smrg srcdir=.. 1242e6232409Smrg fi 1243e6232409Smrgelse 1244e6232409Smrg ac_srcdir_defaulted=no 1245e6232409Smrgfi 1246e6232409Smrgif test ! -r "$srcdir/$ac_unique_file"; then 1247e6232409Smrg test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 12488fff3f40Smrg as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1249e6232409Smrgfi 1250e6232409Smrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1251e6232409Smrgac_abs_confdir=`( 12528fff3f40Smrg cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1253e6232409Smrg pwd)` 1254e6232409Smrg# When building in place, set srcdir=. 1255e6232409Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then 1256e6232409Smrg srcdir=. 1257e6232409Smrgfi 1258e6232409Smrg# Remove unnecessary trailing slashes from srcdir. 1259e6232409Smrg# Double slashes in file names in object file debugging info 1260e6232409Smrg# mess up M-x gdb in Emacs. 1261e6232409Smrgcase $srcdir in 1262e6232409Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1263e6232409Smrgesac 1264e6232409Smrgfor ac_var in $ac_precious_vars; do 1265e6232409Smrg eval ac_env_${ac_var}_set=\${${ac_var}+set} 1266e6232409Smrg eval ac_env_${ac_var}_value=\$${ac_var} 1267e6232409Smrg eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1268e6232409Smrg eval ac_cv_env_${ac_var}_value=\$${ac_var} 1269e6232409Smrgdone 1270e6232409Smrg 1271e6232409Smrg# 1272e6232409Smrg# Report the --help message. 1273e6232409Smrg# 1274e6232409Smrgif test "$ac_init_help" = "long"; then 1275e6232409Smrg # Omit some internal or obsolete options to make the list less imposing. 1276e6232409Smrg # This message is too long to be a string in the A/UX 3.1 sh. 1277e6232409Smrg cat <<_ACEOF 12788fff3f40Smrg\`configure' configures xlsfonts 1.0.3 to adapt to many kinds of systems. 1279e6232409Smrg 1280e6232409SmrgUsage: $0 [OPTION]... [VAR=VALUE]... 1281e6232409Smrg 1282e6232409SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as 1283e6232409SmrgVAR=VALUE. See below for descriptions of some of the useful variables. 1284e6232409Smrg 1285e6232409SmrgDefaults for the options are specified in brackets. 1286e6232409Smrg 1287e6232409SmrgConfiguration: 1288e6232409Smrg -h, --help display this help and exit 1289e6232409Smrg --help=short display options specific to this package 1290e6232409Smrg --help=recursive display the short help of all the included packages 1291e6232409Smrg -V, --version display version information and exit 1292e6232409Smrg -q, --quiet, --silent do not print \`checking...' messages 1293e6232409Smrg --cache-file=FILE cache test results in FILE [disabled] 1294e6232409Smrg -C, --config-cache alias for \`--cache-file=config.cache' 1295e6232409Smrg -n, --no-create do not create output files 1296e6232409Smrg --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1297e6232409Smrg 1298e6232409SmrgInstallation directories: 1299e6232409Smrg --prefix=PREFIX install architecture-independent files in PREFIX 13008fff3f40Smrg [$ac_default_prefix] 1301e6232409Smrg --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 13028fff3f40Smrg [PREFIX] 1303e6232409Smrg 1304e6232409SmrgBy default, \`make install' will install all the files in 1305e6232409Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1306e6232409Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix', 1307e6232409Smrgfor instance \`--prefix=\$HOME'. 1308e6232409Smrg 1309e6232409SmrgFor better control, use the options below. 1310e6232409Smrg 1311e6232409SmrgFine tuning of the installation directories: 13128fff3f40Smrg --bindir=DIR user executables [EPREFIX/bin] 13138fff3f40Smrg --sbindir=DIR system admin executables [EPREFIX/sbin] 13148fff3f40Smrg --libexecdir=DIR program executables [EPREFIX/libexec] 13158fff3f40Smrg --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 13168fff3f40Smrg --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 13178fff3f40Smrg --localstatedir=DIR modifiable single-machine data [PREFIX/var] 13188fff3f40Smrg --libdir=DIR object code libraries [EPREFIX/lib] 13198fff3f40Smrg --includedir=DIR C header files [PREFIX/include] 13208fff3f40Smrg --oldincludedir=DIR C header files for non-gcc [/usr/include] 13218fff3f40Smrg --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 13228fff3f40Smrg --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 13238fff3f40Smrg --infodir=DIR info documentation [DATAROOTDIR/info] 13248fff3f40Smrg --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 13258fff3f40Smrg --mandir=DIR man documentation [DATAROOTDIR/man] 13268fff3f40Smrg --docdir=DIR documentation root [DATAROOTDIR/doc/xlsfonts] 13278fff3f40Smrg --htmldir=DIR html documentation [DOCDIR] 13288fff3f40Smrg --dvidir=DIR dvi documentation [DOCDIR] 13298fff3f40Smrg --pdfdir=DIR pdf documentation [DOCDIR] 13308fff3f40Smrg --psdir=DIR ps documentation [DOCDIR] 1331e6232409Smrg_ACEOF 1332e6232409Smrg 1333e6232409Smrg cat <<\_ACEOF 1334e6232409Smrg 1335e6232409SmrgProgram names: 1336e6232409Smrg --program-prefix=PREFIX prepend PREFIX to installed program names 1337e6232409Smrg --program-suffix=SUFFIX append SUFFIX to installed program names 1338e6232409Smrg --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1339e6232409Smrg 1340e6232409SmrgSystem types: 1341e6232409Smrg --build=BUILD configure for building on BUILD [guessed] 1342e6232409Smrg --host=HOST cross-compile to build programs to run on HOST [BUILD] 1343e6232409Smrg_ACEOF 1344e6232409Smrgfi 1345e6232409Smrg 1346e6232409Smrgif test -n "$ac_init_help"; then 1347e6232409Smrg case $ac_init_help in 13488fff3f40Smrg short | recursive ) echo "Configuration of xlsfonts 1.0.3:";; 1349e6232409Smrg esac 1350e6232409Smrg cat <<\_ACEOF 1351e6232409Smrg 1352e6232409SmrgOptional Features: 13538fff3f40Smrg --disable-option-checking ignore unrecognized --enable/--with options 1354e6232409Smrg --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1355e6232409Smrg --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1356e6232409Smrg --enable-maintainer-mode enable make rules and dependencies not useful 1357e6232409Smrg (and sometimes confusing) to the casual installer 1358e6232409Smrg --disable-dependency-tracking speeds up one-time build 1359e6232409Smrg --enable-dependency-tracking do not reject slow dependency extractors 13608fff3f40Smrg --enable-strict-compilation 13618fff3f40Smrg Enable all warnings from compiler and make them 13628fff3f40Smrg errors (default: disabled) 13638fff3f40Smrg --enable-silent-rules less verbose build output (undo: `make V=1') 13648fff3f40Smrg --disable-silent-rules verbose build output (undo: `make V=0') 1365e6232409Smrg 1366e6232409SmrgOptional Packages: 1367e6232409Smrg --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1368e6232409Smrg --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1369e6232409Smrg --with-release-version=STRING 1370e6232409Smrg Use release version string in package name 1371e6232409Smrg 1372e6232409SmrgSome influential environment variables: 1373e6232409Smrg CC C compiler command 1374e6232409Smrg CFLAGS C compiler flags 1375e6232409Smrg LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1376e6232409Smrg nonstandard directory <lib dir> 13778fff3f40Smrg LIBS libraries to pass to the linker, e.g. -l<library> 13788fff3f40Smrg CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1379e6232409Smrg you have headers in a nonstandard directory <include dir> 13808fff3f40Smrg CPP C preprocessor 1381e6232409Smrg PKG_CONFIG path to pkg-config utility 13828fff3f40Smrg PKG_CONFIG_PATH 13838fff3f40Smrg directories to add to pkg-config's search path 13848fff3f40Smrg PKG_CONFIG_LIBDIR 13858fff3f40Smrg path overriding pkg-config's built-in search path 1386e6232409Smrg XLSFONTS_CFLAGS 1387e6232409Smrg C compiler flags for XLSFONTS, overriding pkg-config 1388e6232409Smrg XLSFONTS_LIBS 1389e6232409Smrg linker flags for XLSFONTS, overriding pkg-config 1390e6232409Smrg 1391e6232409SmrgUse these variables to override the choices made by `configure' or to help 1392e6232409Smrgit to find libraries and programs with nonstandard names/locations. 1393e6232409Smrg 1394e6232409SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 1395e6232409Smrg_ACEOF 1396e6232409Smrgac_status=$? 1397e6232409Smrgfi 1398e6232409Smrg 1399e6232409Smrgif test "$ac_init_help" = "recursive"; then 1400e6232409Smrg # If there are subdirs, report their specific --help. 1401e6232409Smrg for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 14028fff3f40Smrg test -d "$ac_dir" || 14038fff3f40Smrg { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 14048fff3f40Smrg continue 1405e6232409Smrg ac_builddir=. 1406e6232409Smrg 1407e6232409Smrgcase "$ac_dir" in 1408e6232409Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1409e6232409Smrg*) 14108fff3f40Smrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1411e6232409Smrg # A ".." for each directory in $ac_dir_suffix. 14128fff3f40Smrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1413e6232409Smrg case $ac_top_builddir_sub in 1414e6232409Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1415e6232409Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1416e6232409Smrg esac ;; 1417e6232409Smrgesac 1418e6232409Smrgac_abs_top_builddir=$ac_pwd 1419e6232409Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 1420e6232409Smrg# for backward compatibility: 1421e6232409Smrgac_top_builddir=$ac_top_build_prefix 1422e6232409Smrg 1423e6232409Smrgcase $srcdir in 1424e6232409Smrg .) # We are building in place. 1425e6232409Smrg ac_srcdir=. 1426e6232409Smrg ac_top_srcdir=$ac_top_builddir_sub 1427e6232409Smrg ac_abs_top_srcdir=$ac_pwd ;; 1428e6232409Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 1429e6232409Smrg ac_srcdir=$srcdir$ac_dir_suffix; 1430e6232409Smrg ac_top_srcdir=$srcdir 1431e6232409Smrg ac_abs_top_srcdir=$srcdir ;; 1432e6232409Smrg *) # Relative name. 1433e6232409Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1434e6232409Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 1435e6232409Smrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1436e6232409Smrgesac 1437e6232409Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1438e6232409Smrg 1439e6232409Smrg cd "$ac_dir" || { ac_status=$?; continue; } 1440e6232409Smrg # Check for guested configure. 1441e6232409Smrg if test -f "$ac_srcdir/configure.gnu"; then 1442e6232409Smrg echo && 1443e6232409Smrg $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1444e6232409Smrg elif test -f "$ac_srcdir/configure"; then 1445e6232409Smrg echo && 1446e6232409Smrg $SHELL "$ac_srcdir/configure" --help=recursive 1447e6232409Smrg else 14488fff3f40Smrg $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1449e6232409Smrg fi || ac_status=$? 1450e6232409Smrg cd "$ac_pwd" || { ac_status=$?; break; } 1451e6232409Smrg done 1452e6232409Smrgfi 1453e6232409Smrg 1454e6232409Smrgtest -n "$ac_init_help" && exit $ac_status 1455e6232409Smrgif $ac_init_version; then 1456e6232409Smrg cat <<\_ACEOF 14578fff3f40Smrgxlsfonts configure 1.0.3 14588fff3f40Smrggenerated by GNU Autoconf 2.65 1459e6232409Smrg 14608fff3f40SmrgCopyright (C) 2009 Free Software Foundation, Inc. 1461e6232409SmrgThis configure script is free software; the Free Software Foundation 1462e6232409Smrggives unlimited permission to copy, distribute and modify it. 1463e6232409Smrg_ACEOF 1464e6232409Smrg exit 1465e6232409Smrgfi 1466e6232409Smrg 14678fff3f40Smrg## ------------------------ ## 14688fff3f40Smrg## Autoconf initialization. ## 14698fff3f40Smrg## ------------------------ ## 1470e6232409Smrg 14718fff3f40Smrg# ac_fn_c_try_compile LINENO 14728fff3f40Smrg# -------------------------- 14738fff3f40Smrg# Try to compile conftest.$ac_ext, and return whether this succeeded. 14748fff3f40Smrgac_fn_c_try_compile () 1475e6232409Smrg{ 14768fff3f40Smrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 14778fff3f40Smrg rm -f conftest.$ac_objext 14788fff3f40Smrg if { { ac_try="$ac_compile" 14798fff3f40Smrgcase "(($ac_try" in 14808fff3f40Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14818fff3f40Smrg *) ac_try_echo=$ac_try;; 14828fff3f40Smrgesac 14838fff3f40Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 14848fff3f40Smrg$as_echo "$ac_try_echo"; } >&5 14858fff3f40Smrg (eval "$ac_compile") 2>conftest.err 14868fff3f40Smrg ac_status=$? 14878fff3f40Smrg if test -s conftest.err; then 14888fff3f40Smrg grep -v '^ *+' conftest.err >conftest.er1 14898fff3f40Smrg cat conftest.er1 >&5 14908fff3f40Smrg mv -f conftest.er1 conftest.err 14918fff3f40Smrg fi 14928fff3f40Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14938fff3f40Smrg test $ac_status = 0; } && { 14948fff3f40Smrg test -z "$ac_c_werror_flag" || 14958fff3f40Smrg test ! -s conftest.err 14968fff3f40Smrg } && test -s conftest.$ac_objext; then : 14978fff3f40Smrg ac_retval=0 14988fff3f40Smrgelse 14998fff3f40Smrg $as_echo "$as_me: failed program was:" >&5 15008fff3f40Smrgsed 's/^/| /' conftest.$ac_ext >&5 15018fff3f40Smrg 15028fff3f40Smrg ac_retval=1 15038fff3f40Smrgfi 15048fff3f40Smrg eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 15058fff3f40Smrg as_fn_set_status $ac_retval 15068fff3f40Smrg 15078fff3f40Smrg} # ac_fn_c_try_compile 15088fff3f40Smrg 15098fff3f40Smrg# ac_fn_c_check_decl LINENO SYMBOL VAR 15108fff3f40Smrg# ------------------------------------ 15118fff3f40Smrg# Tests whether SYMBOL is declared, setting cache variable VAR accordingly. 15128fff3f40Smrgac_fn_c_check_decl () 15138fff3f40Smrg{ 15148fff3f40Smrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 15158fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 15168fff3f40Smrg$as_echo_n "checking whether $2 is declared... " >&6; } 15178fff3f40Smrgif { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 15188fff3f40Smrg $as_echo_n "(cached) " >&6 15198fff3f40Smrgelse 15208fff3f40Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15218fff3f40Smrg/* end confdefs.h. */ 15228fff3f40Smrg$4 15238fff3f40Smrgint 15248fff3f40Smrgmain () 15258fff3f40Smrg{ 15268fff3f40Smrg#ifndef $2 15278fff3f40Smrg (void) $2; 15288fff3f40Smrg#endif 15298fff3f40Smrg 15308fff3f40Smrg ; 15318fff3f40Smrg return 0; 15328fff3f40Smrg} 15338fff3f40Smrg_ACEOF 15348fff3f40Smrgif ac_fn_c_try_compile "$LINENO"; then : 15358fff3f40Smrg eval "$3=yes" 15368fff3f40Smrgelse 15378fff3f40Smrg eval "$3=no" 15388fff3f40Smrgfi 15398fff3f40Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15408fff3f40Smrgfi 15418fff3f40Smrgeval ac_res=\$$3 15428fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 15438fff3f40Smrg$as_echo "$ac_res" >&6; } 15448fff3f40Smrg eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 15458fff3f40Smrg 15468fff3f40Smrg} # ac_fn_c_check_decl 15478fff3f40Smrg 15488fff3f40Smrg# ac_fn_c_try_cpp LINENO 15498fff3f40Smrg# ---------------------- 15508fff3f40Smrg# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 15518fff3f40Smrgac_fn_c_try_cpp () 15528fff3f40Smrg{ 15538fff3f40Smrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 15548fff3f40Smrg if { { ac_try="$ac_cpp conftest.$ac_ext" 15558fff3f40Smrgcase "(($ac_try" in 15568fff3f40Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15578fff3f40Smrg *) ac_try_echo=$ac_try;; 15588fff3f40Smrgesac 15598fff3f40Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 15608fff3f40Smrg$as_echo "$ac_try_echo"; } >&5 15618fff3f40Smrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 15628fff3f40Smrg ac_status=$? 15638fff3f40Smrg if test -s conftest.err; then 15648fff3f40Smrg grep -v '^ *+' conftest.err >conftest.er1 15658fff3f40Smrg cat conftest.er1 >&5 15668fff3f40Smrg mv -f conftest.er1 conftest.err 15678fff3f40Smrg fi 15688fff3f40Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15698fff3f40Smrg test $ac_status = 0; } >/dev/null && { 15708fff3f40Smrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 15718fff3f40Smrg test ! -s conftest.err 15728fff3f40Smrg }; then : 15738fff3f40Smrg ac_retval=0 15748fff3f40Smrgelse 15758fff3f40Smrg $as_echo "$as_me: failed program was:" >&5 15768fff3f40Smrgsed 's/^/| /' conftest.$ac_ext >&5 15778fff3f40Smrg 15788fff3f40Smrg ac_retval=1 15798fff3f40Smrgfi 15808fff3f40Smrg eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 15818fff3f40Smrg as_fn_set_status $ac_retval 15828fff3f40Smrg 15838fff3f40Smrg} # ac_fn_c_try_cpp 15848fff3f40Smrg 15858fff3f40Smrg# ac_fn_c_try_run LINENO 15868fff3f40Smrg# ---------------------- 15878fff3f40Smrg# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 15888fff3f40Smrg# that executables *can* be run. 15898fff3f40Smrgac_fn_c_try_run () 15908fff3f40Smrg{ 15918fff3f40Smrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 15928fff3f40Smrg if { { ac_try="$ac_link" 15938fff3f40Smrgcase "(($ac_try" in 15948fff3f40Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15958fff3f40Smrg *) ac_try_echo=$ac_try;; 15968fff3f40Smrgesac 15978fff3f40Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 15988fff3f40Smrg$as_echo "$ac_try_echo"; } >&5 15998fff3f40Smrg (eval "$ac_link") 2>&5 16008fff3f40Smrg ac_status=$? 16018fff3f40Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16028fff3f40Smrg test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 16038fff3f40Smrg { { case "(($ac_try" in 16048fff3f40Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16058fff3f40Smrg *) ac_try_echo=$ac_try;; 16068fff3f40Smrgesac 16078fff3f40Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 16088fff3f40Smrg$as_echo "$ac_try_echo"; } >&5 16098fff3f40Smrg (eval "$ac_try") 2>&5 16108fff3f40Smrg ac_status=$? 16118fff3f40Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16128fff3f40Smrg test $ac_status = 0; }; }; then : 16138fff3f40Smrg ac_retval=0 16148fff3f40Smrgelse 16158fff3f40Smrg $as_echo "$as_me: program exited with status $ac_status" >&5 16168fff3f40Smrg $as_echo "$as_me: failed program was:" >&5 16178fff3f40Smrgsed 's/^/| /' conftest.$ac_ext >&5 16188fff3f40Smrg 16198fff3f40Smrg ac_retval=$ac_status 16208fff3f40Smrgfi 16218fff3f40Smrg rm -rf conftest.dSYM conftest_ipa8_conftest.oo 16228fff3f40Smrg eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 16238fff3f40Smrg as_fn_set_status $ac_retval 16248fff3f40Smrg 16258fff3f40Smrg} # ac_fn_c_try_run 16268fff3f40Smrg 16278fff3f40Smrg# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 16288fff3f40Smrg# ------------------------------------------------------- 16298fff3f40Smrg# Tests whether HEADER exists and can be compiled using the include files in 16308fff3f40Smrg# INCLUDES, setting the cache variable VAR accordingly. 16318fff3f40Smrgac_fn_c_check_header_compile () 16328fff3f40Smrg{ 16338fff3f40Smrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 16348fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 16358fff3f40Smrg$as_echo_n "checking for $2... " >&6; } 16368fff3f40Smrgif { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 16378fff3f40Smrg $as_echo_n "(cached) " >&6 16388fff3f40Smrgelse 16398fff3f40Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16408fff3f40Smrg/* end confdefs.h. */ 16418fff3f40Smrg$4 16428fff3f40Smrg#include <$2> 16438fff3f40Smrg_ACEOF 16448fff3f40Smrgif ac_fn_c_try_compile "$LINENO"; then : 16458fff3f40Smrg eval "$3=yes" 16468fff3f40Smrgelse 16478fff3f40Smrg eval "$3=no" 16488fff3f40Smrgfi 16498fff3f40Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16508fff3f40Smrgfi 16518fff3f40Smrgeval ac_res=\$$3 16528fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 16538fff3f40Smrg$as_echo "$ac_res" >&6; } 16548fff3f40Smrg eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 16558fff3f40Smrg 16568fff3f40Smrg} # ac_fn_c_check_header_compile 16578fff3f40Smrgcat >config.log <<_ACEOF 16588fff3f40SmrgThis file contains any messages produced by compilers while 16598fff3f40Smrgrunning configure, to aid debugging if configure makes a mistake. 16608fff3f40Smrg 16618fff3f40SmrgIt was created by xlsfonts $as_me 1.0.3, which was 16628fff3f40Smrggenerated by GNU Autoconf 2.65. Invocation command line was 16638fff3f40Smrg 16648fff3f40Smrg $ $0 $@ 16658fff3f40Smrg 16668fff3f40Smrg_ACEOF 16678fff3f40Smrgexec 5>>config.log 16688fff3f40Smrg{ 16698fff3f40Smrgcat <<_ASUNAME 16708fff3f40Smrg## --------- ## 16718fff3f40Smrg## Platform. ## 16728fff3f40Smrg## --------- ## 16738fff3f40Smrg 16748fff3f40Smrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 16758fff3f40Smrguname -m = `(uname -m) 2>/dev/null || echo unknown` 16768fff3f40Smrguname -r = `(uname -r) 2>/dev/null || echo unknown` 16778fff3f40Smrguname -s = `(uname -s) 2>/dev/null || echo unknown` 16788fff3f40Smrguname -v = `(uname -v) 2>/dev/null || echo unknown` 1679e6232409Smrg 1680e6232409Smrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1681e6232409Smrg/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1682e6232409Smrg 1683e6232409Smrg/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1684e6232409Smrg/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1685e6232409Smrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1686e6232409Smrg/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1687e6232409Smrg/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1688e6232409Smrg/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1689e6232409Smrg/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1690e6232409Smrg 1691e6232409Smrg_ASUNAME 1692e6232409Smrg 1693e6232409Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1694e6232409Smrgfor as_dir in $PATH 1695e6232409Smrgdo 1696e6232409Smrg IFS=$as_save_IFS 1697e6232409Smrg test -z "$as_dir" && as_dir=. 16988fff3f40Smrg $as_echo "PATH: $as_dir" 16998fff3f40Smrg done 1700e6232409SmrgIFS=$as_save_IFS 1701e6232409Smrg 1702e6232409Smrg} >&5 1703e6232409Smrg 1704e6232409Smrgcat >&5 <<_ACEOF 1705e6232409Smrg 1706e6232409Smrg 1707e6232409Smrg## ----------- ## 1708e6232409Smrg## Core tests. ## 1709e6232409Smrg## ----------- ## 1710e6232409Smrg 1711e6232409Smrg_ACEOF 1712e6232409Smrg 1713e6232409Smrg 1714e6232409Smrg# Keep a trace of the command line. 1715e6232409Smrg# Strip out --no-create and --no-recursion so they do not pile up. 1716e6232409Smrg# Strip out --silent because we don't want to record it for future runs. 1717e6232409Smrg# Also quote any args containing shell meta-characters. 1718e6232409Smrg# Make two passes to allow for proper duplicate-argument suppression. 1719e6232409Smrgac_configure_args= 1720e6232409Smrgac_configure_args0= 1721e6232409Smrgac_configure_args1= 1722e6232409Smrgac_must_keep_next=false 1723e6232409Smrgfor ac_pass in 1 2 1724e6232409Smrgdo 1725e6232409Smrg for ac_arg 1726e6232409Smrg do 1727e6232409Smrg case $ac_arg in 1728e6232409Smrg -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1729e6232409Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1730e6232409Smrg | -silent | --silent | --silen | --sile | --sil) 1731e6232409Smrg continue ;; 1732e6232409Smrg *\'*) 17338fff3f40Smrg ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1734e6232409Smrg esac 1735e6232409Smrg case $ac_pass in 17368fff3f40Smrg 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1737e6232409Smrg 2) 17388fff3f40Smrg as_fn_append ac_configure_args1 " '$ac_arg'" 1739e6232409Smrg if test $ac_must_keep_next = true; then 1740e6232409Smrg ac_must_keep_next=false # Got value, back to normal. 1741e6232409Smrg else 1742e6232409Smrg case $ac_arg in 1743e6232409Smrg *=* | --config-cache | -C | -disable-* | --disable-* \ 1744e6232409Smrg | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1745e6232409Smrg | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1746e6232409Smrg | -with-* | --with-* | -without-* | --without-* | --x) 1747e6232409Smrg case "$ac_configure_args0 " in 1748e6232409Smrg "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1749e6232409Smrg esac 1750e6232409Smrg ;; 1751e6232409Smrg -* ) ac_must_keep_next=true ;; 1752e6232409Smrg esac 1753e6232409Smrg fi 17548fff3f40Smrg as_fn_append ac_configure_args " '$ac_arg'" 1755e6232409Smrg ;; 1756e6232409Smrg esac 1757e6232409Smrg done 1758e6232409Smrgdone 17598fff3f40Smrg{ ac_configure_args0=; unset ac_configure_args0;} 17608fff3f40Smrg{ ac_configure_args1=; unset ac_configure_args1;} 1761e6232409Smrg 1762e6232409Smrg# When interrupted or exit'd, cleanup temporary files, and complete 1763e6232409Smrg# config.log. We remove comments because anyway the quotes in there 1764e6232409Smrg# would cause problems or look ugly. 1765e6232409Smrg# WARNING: Use '\'' to represent an apostrophe within the trap. 1766e6232409Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1767e6232409Smrgtrap 'exit_status=$? 1768e6232409Smrg # Save into config.log some information that might help in debugging. 1769e6232409Smrg { 1770e6232409Smrg echo 1771e6232409Smrg 1772e6232409Smrg cat <<\_ASBOX 1773e6232409Smrg## ---------------- ## 1774e6232409Smrg## Cache variables. ## 1775e6232409Smrg## ---------------- ## 1776e6232409Smrg_ASBOX 1777e6232409Smrg echo 1778e6232409Smrg # The following way of writing the cache mishandles newlines in values, 1779e6232409Smrg( 1780e6232409Smrg for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1781e6232409Smrg eval ac_val=\$$ac_var 1782e6232409Smrg case $ac_val in #( 1783e6232409Smrg *${as_nl}*) 1784e6232409Smrg case $ac_var in #( 17858fff3f40Smrg *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 17868fff3f40Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1787e6232409Smrg esac 1788e6232409Smrg case $ac_var in #( 1789e6232409Smrg _ | IFS | as_nl) ;; #( 17908fff3f40Smrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 17918fff3f40Smrg *) { eval $ac_var=; unset $ac_var;} ;; 1792e6232409Smrg esac ;; 1793e6232409Smrg esac 1794e6232409Smrg done 1795e6232409Smrg (set) 2>&1 | 1796e6232409Smrg case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1797e6232409Smrg *${as_nl}ac_space=\ *) 1798e6232409Smrg sed -n \ 1799e6232409Smrg "s/'\''/'\''\\\\'\'''\''/g; 1800e6232409Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1801e6232409Smrg ;; #( 1802e6232409Smrg *) 1803e6232409Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1804e6232409Smrg ;; 1805e6232409Smrg esac | 1806e6232409Smrg sort 1807e6232409Smrg) 1808e6232409Smrg echo 1809e6232409Smrg 1810e6232409Smrg cat <<\_ASBOX 1811e6232409Smrg## ----------------- ## 1812e6232409Smrg## Output variables. ## 1813e6232409Smrg## ----------------- ## 1814e6232409Smrg_ASBOX 1815e6232409Smrg echo 1816e6232409Smrg for ac_var in $ac_subst_vars 1817e6232409Smrg do 1818e6232409Smrg eval ac_val=\$$ac_var 1819e6232409Smrg case $ac_val in 18208fff3f40Smrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1821e6232409Smrg esac 18228fff3f40Smrg $as_echo "$ac_var='\''$ac_val'\''" 1823e6232409Smrg done | sort 1824e6232409Smrg echo 1825e6232409Smrg 1826e6232409Smrg if test -n "$ac_subst_files"; then 1827e6232409Smrg cat <<\_ASBOX 1828e6232409Smrg## ------------------- ## 1829e6232409Smrg## File substitutions. ## 1830e6232409Smrg## ------------------- ## 1831e6232409Smrg_ASBOX 1832e6232409Smrg echo 1833e6232409Smrg for ac_var in $ac_subst_files 1834e6232409Smrg do 1835e6232409Smrg eval ac_val=\$$ac_var 1836e6232409Smrg case $ac_val in 18378fff3f40Smrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1838e6232409Smrg esac 18398fff3f40Smrg $as_echo "$ac_var='\''$ac_val'\''" 1840e6232409Smrg done | sort 1841e6232409Smrg echo 1842e6232409Smrg fi 1843e6232409Smrg 1844e6232409Smrg if test -s confdefs.h; then 1845e6232409Smrg cat <<\_ASBOX 1846e6232409Smrg## ----------- ## 1847e6232409Smrg## confdefs.h. ## 1848e6232409Smrg## ----------- ## 1849e6232409Smrg_ASBOX 1850e6232409Smrg echo 1851e6232409Smrg cat confdefs.h 1852e6232409Smrg echo 1853e6232409Smrg fi 1854e6232409Smrg test "$ac_signal" != 0 && 18558fff3f40Smrg $as_echo "$as_me: caught signal $ac_signal" 18568fff3f40Smrg $as_echo "$as_me: exit $exit_status" 1857e6232409Smrg } >&5 1858e6232409Smrg rm -f core *.core core.conftest.* && 1859e6232409Smrg rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1860e6232409Smrg exit $exit_status 1861e6232409Smrg' 0 1862e6232409Smrgfor ac_signal in 1 2 13 15; do 18638fff3f40Smrg trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1864e6232409Smrgdone 1865e6232409Smrgac_signal=0 1866e6232409Smrg 1867e6232409Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed. 1868e6232409Smrgrm -f -r conftest* confdefs.h 1869e6232409Smrg 18708fff3f40Smrg$as_echo "/* confdefs.h */" > confdefs.h 18718fff3f40Smrg 1872e6232409Smrg# Predefined preprocessor variables. 1873e6232409Smrg 1874e6232409Smrgcat >>confdefs.h <<_ACEOF 1875e6232409Smrg#define PACKAGE_NAME "$PACKAGE_NAME" 1876e6232409Smrg_ACEOF 1877e6232409Smrg 1878e6232409Smrgcat >>confdefs.h <<_ACEOF 1879e6232409Smrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1880e6232409Smrg_ACEOF 1881e6232409Smrg 1882e6232409Smrgcat >>confdefs.h <<_ACEOF 1883e6232409Smrg#define PACKAGE_VERSION "$PACKAGE_VERSION" 1884e6232409Smrg_ACEOF 1885e6232409Smrg 1886e6232409Smrgcat >>confdefs.h <<_ACEOF 1887e6232409Smrg#define PACKAGE_STRING "$PACKAGE_STRING" 1888e6232409Smrg_ACEOF 1889e6232409Smrg 1890e6232409Smrgcat >>confdefs.h <<_ACEOF 1891e6232409Smrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1892e6232409Smrg_ACEOF 1893e6232409Smrg 18948fff3f40Smrgcat >>confdefs.h <<_ACEOF 18958fff3f40Smrg#define PACKAGE_URL "$PACKAGE_URL" 18968fff3f40Smrg_ACEOF 18978fff3f40Smrg 1898e6232409Smrg 1899e6232409Smrg# Let the site file select an alternate cache file if it wants to. 19008fff3f40Smrg# Prefer an explicitly selected file to automatically selected ones. 19018fff3f40Smrgac_site_file1=NONE 19028fff3f40Smrgac_site_file2=NONE 1903e6232409Smrgif test -n "$CONFIG_SITE"; then 19048fff3f40Smrg ac_site_file1=$CONFIG_SITE 1905e6232409Smrgelif test "x$prefix" != xNONE; then 19068fff3f40Smrg ac_site_file1=$prefix/share/config.site 19078fff3f40Smrg ac_site_file2=$prefix/etc/config.site 1908e6232409Smrgelse 19098fff3f40Smrg ac_site_file1=$ac_default_prefix/share/config.site 19108fff3f40Smrg ac_site_file2=$ac_default_prefix/etc/config.site 1911e6232409Smrgfi 19128fff3f40Smrgfor ac_site_file in "$ac_site_file1" "$ac_site_file2" 1913e6232409Smrgdo 19148fff3f40Smrg test "x$ac_site_file" = xNONE && continue 19158fff3f40Smrg if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 19168fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 19178fff3f40Smrg$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1918e6232409Smrg sed 's/^/| /' "$ac_site_file" >&5 1919e6232409Smrg . "$ac_site_file" 1920e6232409Smrg fi 1921e6232409Smrgdone 1922e6232409Smrg 1923e6232409Smrgif test -r "$cache_file"; then 19248fff3f40Smrg # Some versions of bash will fail to source /dev/null (special files 19258fff3f40Smrg # actually), so we avoid doing that. DJGPP emulates it as a regular file. 19268fff3f40Smrg if test /dev/null != "$cache_file" && test -f "$cache_file"; then 19278fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 19288fff3f40Smrg$as_echo "$as_me: loading cache $cache_file" >&6;} 1929e6232409Smrg case $cache_file in 1930e6232409Smrg [\\/]* | ?:[\\/]* ) . "$cache_file";; 1931e6232409Smrg *) . "./$cache_file";; 1932e6232409Smrg esac 1933e6232409Smrg fi 1934e6232409Smrgelse 19358fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 19368fff3f40Smrg$as_echo "$as_me: creating cache $cache_file" >&6;} 1937e6232409Smrg >$cache_file 1938e6232409Smrgfi 1939e6232409Smrg 1940e6232409Smrg# Check that the precious variables saved in the cache have kept the same 1941e6232409Smrg# value. 1942e6232409Smrgac_cache_corrupted=false 1943e6232409Smrgfor ac_var in $ac_precious_vars; do 1944e6232409Smrg eval ac_old_set=\$ac_cv_env_${ac_var}_set 1945e6232409Smrg eval ac_new_set=\$ac_env_${ac_var}_set 1946e6232409Smrg eval ac_old_val=\$ac_cv_env_${ac_var}_value 1947e6232409Smrg eval ac_new_val=\$ac_env_${ac_var}_value 1948e6232409Smrg case $ac_old_set,$ac_new_set in 1949e6232409Smrg set,) 19508fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 19518fff3f40Smrg$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1952e6232409Smrg ac_cache_corrupted=: ;; 1953e6232409Smrg ,set) 19548fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 19558fff3f40Smrg$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1956e6232409Smrg ac_cache_corrupted=: ;; 1957e6232409Smrg ,);; 1958e6232409Smrg *) 1959e6232409Smrg if test "x$ac_old_val" != "x$ac_new_val"; then 19608fff3f40Smrg # differences in whitespace do not lead to failure. 19618fff3f40Smrg ac_old_val_w=`echo x $ac_old_val` 19628fff3f40Smrg ac_new_val_w=`echo x $ac_new_val` 19638fff3f40Smrg if test "$ac_old_val_w" != "$ac_new_val_w"; then 19648fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 19658fff3f40Smrg$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 19668fff3f40Smrg ac_cache_corrupted=: 19678fff3f40Smrg else 19688fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 19698fff3f40Smrg$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 19708fff3f40Smrg eval $ac_var=\$ac_old_val 19718fff3f40Smrg fi 19728fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 19738fff3f40Smrg$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 19748fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 19758fff3f40Smrg$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1976e6232409Smrg fi;; 1977e6232409Smrg esac 1978e6232409Smrg # Pass precious variables to config.status. 1979e6232409Smrg if test "$ac_new_set" = set; then 1980e6232409Smrg case $ac_new_val in 19818fff3f40Smrg *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1982e6232409Smrg *) ac_arg=$ac_var=$ac_new_val ;; 1983e6232409Smrg esac 1984e6232409Smrg case " $ac_configure_args " in 1985e6232409Smrg *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 19868fff3f40Smrg *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1987e6232409Smrg esac 1988e6232409Smrg fi 1989e6232409Smrgdone 1990e6232409Smrgif $ac_cache_corrupted; then 19918fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19928fff3f40Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19938fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 19948fff3f40Smrg$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 19958fff3f40Smrg as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 1996e6232409Smrgfi 19978fff3f40Smrg## -------------------- ## 19988fff3f40Smrg## Main body of script. ## 19998fff3f40Smrg## -------------------- ## 2000e6232409Smrg 2001e6232409Smrgac_ext=c 2002e6232409Smrgac_cpp='$CPP $CPPFLAGS' 2003e6232409Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2004e6232409Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2005e6232409Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 2006e6232409Smrg 2007e6232409Smrg 20088fff3f40Smrgam__api_version='1.11' 20098fff3f40Smrg 2010e6232409Smrgac_aux_dir= 2011e6232409Smrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 20128fff3f40Smrg for ac_t in install-sh install.sh shtool; do 20138fff3f40Smrg if test -f "$ac_dir/$ac_t"; then 20148fff3f40Smrg ac_aux_dir=$ac_dir 20158fff3f40Smrg ac_install_sh="$ac_aux_dir/$ac_t -c" 20168fff3f40Smrg break 2 20178fff3f40Smrg fi 20188fff3f40Smrg done 2019e6232409Smrgdone 2020e6232409Smrgif test -z "$ac_aux_dir"; then 20218fff3f40Smrg as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2022e6232409Smrgfi 2023e6232409Smrg 2024e6232409Smrg# These three variables are undocumented and unsupported, 2025e6232409Smrg# and are intended to be withdrawn in a future Autoconf release. 2026e6232409Smrg# They can cause serious problems if a builder's source tree is in a directory 2027e6232409Smrg# whose full name contains unusual characters. 2028e6232409Smrgac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2029e6232409Smrgac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2030e6232409Smrgac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2031e6232409Smrg 2032e6232409Smrg 2033e6232409Smrg# Find a good install program. We prefer a C program (faster), 2034e6232409Smrg# so one script is as good as another. But avoid the broken or 2035e6232409Smrg# incompatible versions: 2036e6232409Smrg# SysV /etc/install, /usr/sbin/install 2037e6232409Smrg# SunOS /usr/etc/install 2038e6232409Smrg# IRIX /sbin/install 2039e6232409Smrg# AIX /bin/install 2040e6232409Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs 2041e6232409Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2042e6232409Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2043e6232409Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2044e6232409Smrg# OS/2's system install, which has a completely different semantic 2045e6232409Smrg# ./install, which can be erroneously created by make from ./install.sh. 20468fff3f40Smrg# Reject install programs that cannot install multiple files. 20478fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 20488fff3f40Smrg$as_echo_n "checking for a BSD-compatible install... " >&6; } 2049e6232409Smrgif test -z "$INSTALL"; then 20508fff3f40Smrgif test "${ac_cv_path_install+set}" = set; then : 20518fff3f40Smrg $as_echo_n "(cached) " >&6 2052e6232409Smrgelse 2053e6232409Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2054e6232409Smrgfor as_dir in $PATH 2055e6232409Smrgdo 2056e6232409Smrg IFS=$as_save_IFS 2057e6232409Smrg test -z "$as_dir" && as_dir=. 20588fff3f40Smrg # Account for people who put trailing slashes in PATH elements. 20598fff3f40Smrgcase $as_dir/ in #(( 20608fff3f40Smrg ./ | .// | /[cC]/* | \ 2061e6232409Smrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 20628fff3f40Smrg ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2063e6232409Smrg /usr/ucb/* ) ;; 2064e6232409Smrg *) 2065e6232409Smrg # OSF1 and SCO ODT 3.0 have their own names for install. 2066e6232409Smrg # Don't use installbsd from OSF since it installs stuff as root 2067e6232409Smrg # by default. 2068e6232409Smrg for ac_prog in ginstall scoinst install; do 2069e6232409Smrg for ac_exec_ext in '' $ac_executable_extensions; do 20708fff3f40Smrg if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2071e6232409Smrg if test $ac_prog = install && 2072e6232409Smrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2073e6232409Smrg # AIX install. It has an incompatible calling convention. 2074e6232409Smrg : 2075e6232409Smrg elif test $ac_prog = install && 2076e6232409Smrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2077e6232409Smrg # program-specific install script used by HP pwplus--don't use. 2078e6232409Smrg : 2079e6232409Smrg else 20808fff3f40Smrg rm -rf conftest.one conftest.two conftest.dir 20818fff3f40Smrg echo one > conftest.one 20828fff3f40Smrg echo two > conftest.two 20838fff3f40Smrg mkdir conftest.dir 20848fff3f40Smrg if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 20858fff3f40Smrg test -s conftest.one && test -s conftest.two && 20868fff3f40Smrg test -s conftest.dir/conftest.one && 20878fff3f40Smrg test -s conftest.dir/conftest.two 20888fff3f40Smrg then 20898fff3f40Smrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 20908fff3f40Smrg break 3 20918fff3f40Smrg fi 2092e6232409Smrg fi 2093e6232409Smrg fi 2094e6232409Smrg done 2095e6232409Smrg done 2096e6232409Smrg ;; 2097e6232409Smrgesac 20988fff3f40Smrg 20998fff3f40Smrg done 2100e6232409SmrgIFS=$as_save_IFS 2101e6232409Smrg 21028fff3f40Smrgrm -rf conftest.one conftest.two conftest.dir 2103e6232409Smrg 2104e6232409Smrgfi 2105e6232409Smrg if test "${ac_cv_path_install+set}" = set; then 2106e6232409Smrg INSTALL=$ac_cv_path_install 2107e6232409Smrg else 2108e6232409Smrg # As a last resort, use the slow shell script. Don't cache a 2109e6232409Smrg # value for INSTALL within a source directory, because that will 2110e6232409Smrg # break other packages using the cache if that directory is 2111e6232409Smrg # removed, or if the value is a relative name. 2112e6232409Smrg INSTALL=$ac_install_sh 2113e6232409Smrg fi 2114e6232409Smrgfi 21158fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 21168fff3f40Smrg$as_echo "$INSTALL" >&6; } 2117e6232409Smrg 2118e6232409Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2119e6232409Smrg# It thinks the first close brace ends the variable substitution. 2120e6232409Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2121e6232409Smrg 2122e6232409Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2123e6232409Smrg 2124e6232409Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2125e6232409Smrg 21268fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 21278fff3f40Smrg$as_echo_n "checking whether build environment is sane... " >&6; } 2128e6232409Smrg# Just in case 2129e6232409Smrgsleep 1 2130e6232409Smrgecho timestamp > conftest.file 21318fff3f40Smrg# Reject unsafe characters in $srcdir or the absolute working directory 21328fff3f40Smrg# name. Accept space and tab only in the latter. 21338fff3f40Smrgam_lf=' 21348fff3f40Smrg' 21358fff3f40Smrgcase `pwd` in 21368fff3f40Smrg *[\\\"\#\$\&\'\`$am_lf]*) 21378fff3f40Smrg as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; 21388fff3f40Smrgesac 21398fff3f40Smrgcase $srcdir in 21408fff3f40Smrg *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 21418fff3f40Smrg as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 21428fff3f40Smrgesac 21438fff3f40Smrg 2144e6232409Smrg# Do `set' in a subshell so we don't clobber the current shell's 2145e6232409Smrg# arguments. Must try -L first in case configure is actually a 2146e6232409Smrg# symlink; some systems play weird games with the mod time of symlinks 2147e6232409Smrg# (eg FreeBSD returns the mod time of the symlink's containing 2148e6232409Smrg# directory). 2149e6232409Smrgif ( 21508fff3f40Smrg set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2151e6232409Smrg if test "$*" = "X"; then 2152e6232409Smrg # -L didn't work. 21538fff3f40Smrg set X `ls -t "$srcdir/configure" conftest.file` 2154e6232409Smrg fi 2155e6232409Smrg rm -f conftest.file 2156e6232409Smrg if test "$*" != "X $srcdir/configure conftest.file" \ 2157e6232409Smrg && test "$*" != "X conftest.file $srcdir/configure"; then 2158e6232409Smrg 21598fff3f40Smrg # If neither matched, then we have a broken ls. This can happen 21608fff3f40Smrg # if, for instance, CONFIG_SHELL is bash and it inherits a 21618fff3f40Smrg # broken ls alias from the environment. This has actually 21628fff3f40Smrg # happened. Such a system could not be considered "sane". 21638fff3f40Smrg as_fn_error "ls -t appears to fail. Make sure there is not a broken 21648fff3f40Smrgalias in your environment" "$LINENO" 5 21658fff3f40Smrg fi 21668fff3f40Smrg 21678fff3f40Smrg test "$2" = conftest.file 21688fff3f40Smrg ) 21698fff3f40Smrgthen 21708fff3f40Smrg # Ok. 21718fff3f40Smrg : 21728fff3f40Smrgelse 21738fff3f40Smrg as_fn_error "newly created file is older than distributed files! 21748fff3f40SmrgCheck your system clock" "$LINENO" 5 21758fff3f40Smrgfi 21768fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 21778fff3f40Smrg$as_echo "yes" >&6; } 21788fff3f40Smrgtest "$program_prefix" != NONE && 21798fff3f40Smrg program_transform_name="s&^&$program_prefix&;$program_transform_name" 21808fff3f40Smrg# Use a double $ so make ignores it. 21818fff3f40Smrgtest "$program_suffix" != NONE && 21828fff3f40Smrg program_transform_name="s&\$&$program_suffix&;$program_transform_name" 21838fff3f40Smrg# Double any \ or $. 21848fff3f40Smrg# By default was `s,x,x', remove it if useless. 21858fff3f40Smrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 21868fff3f40Smrgprogram_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 21878fff3f40Smrg 21888fff3f40Smrg# expand $ac_aux_dir to an absolute path 21898fff3f40Smrgam_aux_dir=`cd $ac_aux_dir && pwd` 21908fff3f40Smrg 21918fff3f40Smrgif test x"${MISSING+set}" != xset; then 21928fff3f40Smrg case $am_aux_dir in 21938fff3f40Smrg *\ * | *\ *) 21948fff3f40Smrg MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 21958fff3f40Smrg *) 21968fff3f40Smrg MISSING="\${SHELL} $am_aux_dir/missing" ;; 21978fff3f40Smrg esac 21988fff3f40Smrgfi 21998fff3f40Smrg# Use eval to expand $SHELL 22008fff3f40Smrgif eval "$MISSING --run true"; then 22018fff3f40Smrg am_missing_run="$MISSING --run " 22028fff3f40Smrgelse 22038fff3f40Smrg am_missing_run= 22048fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 22058fff3f40Smrg$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 22068fff3f40Smrgfi 22078fff3f40Smrg 22088fff3f40Smrgif test x"${install_sh}" != xset; then 22098fff3f40Smrg case $am_aux_dir in 22108fff3f40Smrg *\ * | *\ *) 22118fff3f40Smrg install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 22128fff3f40Smrg *) 22138fff3f40Smrg install_sh="\${SHELL} $am_aux_dir/install-sh" 22148fff3f40Smrg esac 22158fff3f40Smrgfi 22168fff3f40Smrg 22178fff3f40Smrg# Installed binaries are usually stripped using `strip' when the user 22188fff3f40Smrg# run `make install-strip'. However `strip' might not be the right 22198fff3f40Smrg# tool to use in cross-compilation environments, therefore Automake 22208fff3f40Smrg# will honor the `STRIP' environment variable to overrule this program. 22218fff3f40Smrgif test "$cross_compiling" != no; then 22228fff3f40Smrg if test -n "$ac_tool_prefix"; then 22238fff3f40Smrg # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 22248fff3f40Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2 22258fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22268fff3f40Smrg$as_echo_n "checking for $ac_word... " >&6; } 22278fff3f40Smrgif test "${ac_cv_prog_STRIP+set}" = set; then : 22288fff3f40Smrg $as_echo_n "(cached) " >&6 22298fff3f40Smrgelse 22308fff3f40Smrg if test -n "$STRIP"; then 22318fff3f40Smrg ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 22328fff3f40Smrgelse 22338fff3f40Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22348fff3f40Smrgfor as_dir in $PATH 22358fff3f40Smrgdo 22368fff3f40Smrg IFS=$as_save_IFS 22378fff3f40Smrg test -z "$as_dir" && as_dir=. 22388fff3f40Smrg for ac_exec_ext in '' $ac_executable_extensions; do 22398fff3f40Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 22408fff3f40Smrg ac_cv_prog_STRIP="${ac_tool_prefix}strip" 22418fff3f40Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 22428fff3f40Smrg break 2 22438fff3f40Smrg fi 22448fff3f40Smrgdone 22458fff3f40Smrg done 22468fff3f40SmrgIFS=$as_save_IFS 22478fff3f40Smrg 22488fff3f40Smrgfi 22498fff3f40Smrgfi 22508fff3f40SmrgSTRIP=$ac_cv_prog_STRIP 22518fff3f40Smrgif test -n "$STRIP"; then 22528fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 22538fff3f40Smrg$as_echo "$STRIP" >&6; } 22548fff3f40Smrgelse 22558fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22568fff3f40Smrg$as_echo "no" >&6; } 22578fff3f40Smrgfi 22588fff3f40Smrg 22598fff3f40Smrg 22608fff3f40Smrgfi 22618fff3f40Smrgif test -z "$ac_cv_prog_STRIP"; then 22628fff3f40Smrg ac_ct_STRIP=$STRIP 22638fff3f40Smrg # Extract the first word of "strip", so it can be a program name with args. 22648fff3f40Smrgset dummy strip; ac_word=$2 22658fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22668fff3f40Smrg$as_echo_n "checking for $ac_word... " >&6; } 22678fff3f40Smrgif test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 22688fff3f40Smrg $as_echo_n "(cached) " >&6 22698fff3f40Smrgelse 22708fff3f40Smrg if test -n "$ac_ct_STRIP"; then 22718fff3f40Smrg ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 22728fff3f40Smrgelse 22738fff3f40Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22748fff3f40Smrgfor as_dir in $PATH 22758fff3f40Smrgdo 22768fff3f40Smrg IFS=$as_save_IFS 22778fff3f40Smrg test -z "$as_dir" && as_dir=. 22788fff3f40Smrg for ac_exec_ext in '' $ac_executable_extensions; do 22798fff3f40Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 22808fff3f40Smrg ac_cv_prog_ac_ct_STRIP="strip" 22818fff3f40Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 22828fff3f40Smrg break 2 22838fff3f40Smrg fi 22848fff3f40Smrgdone 22858fff3f40Smrg done 22868fff3f40SmrgIFS=$as_save_IFS 22878fff3f40Smrg 22888fff3f40Smrgfi 22898fff3f40Smrgfi 22908fff3f40Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 22918fff3f40Smrgif test -n "$ac_ct_STRIP"; then 22928fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 22938fff3f40Smrg$as_echo "$ac_ct_STRIP" >&6; } 22948fff3f40Smrgelse 22958fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22968fff3f40Smrg$as_echo "no" >&6; } 22978fff3f40Smrgfi 22988fff3f40Smrg 22998fff3f40Smrg if test "x$ac_ct_STRIP" = x; then 23008fff3f40Smrg STRIP=":" 23018fff3f40Smrg else 23028fff3f40Smrg case $cross_compiling:$ac_tool_warned in 23038fff3f40Smrgyes:) 23048fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 23058fff3f40Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 23068fff3f40Smrgac_tool_warned=yes ;; 23078fff3f40Smrgesac 23088fff3f40Smrg STRIP=$ac_ct_STRIP 23098fff3f40Smrg fi 23108fff3f40Smrgelse 23118fff3f40Smrg STRIP="$ac_cv_prog_STRIP" 23128fff3f40Smrgfi 23138fff3f40Smrg 23148fff3f40Smrgfi 23158fff3f40SmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 23168fff3f40Smrg 23178fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 23188fff3f40Smrg$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 23198fff3f40Smrgif test -z "$MKDIR_P"; then 23208fff3f40Smrg if test "${ac_cv_path_mkdir+set}" = set; then : 23218fff3f40Smrg $as_echo_n "(cached) " >&6 23228fff3f40Smrgelse 23238fff3f40Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23248fff3f40Smrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 23258fff3f40Smrgdo 23268fff3f40Smrg IFS=$as_save_IFS 23278fff3f40Smrg test -z "$as_dir" && as_dir=. 23288fff3f40Smrg for ac_prog in mkdir gmkdir; do 23298fff3f40Smrg for ac_exec_ext in '' $ac_executable_extensions; do 23308fff3f40Smrg { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 23318fff3f40Smrg case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 23328fff3f40Smrg 'mkdir (GNU coreutils) '* | \ 23338fff3f40Smrg 'mkdir (coreutils) '* | \ 23348fff3f40Smrg 'mkdir (fileutils) '4.1*) 23358fff3f40Smrg ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 23368fff3f40Smrg break 3;; 23378fff3f40Smrg esac 23388fff3f40Smrg done 23398fff3f40Smrg done 23408fff3f40Smrg done 23418fff3f40SmrgIFS=$as_save_IFS 23428fff3f40Smrg 23438fff3f40Smrgfi 23448fff3f40Smrg 23458fff3f40Smrg test -d ./--version && rmdir ./--version 23468fff3f40Smrg if test "${ac_cv_path_mkdir+set}" = set; then 23478fff3f40Smrg MKDIR_P="$ac_cv_path_mkdir -p" 23488fff3f40Smrg else 23498fff3f40Smrg # As a last resort, use the slow shell script. Don't cache a 23508fff3f40Smrg # value for MKDIR_P within a source directory, because that will 23518fff3f40Smrg # break other packages using the cache if that directory is 23528fff3f40Smrg # removed, or if the value is a relative name. 23538fff3f40Smrg MKDIR_P="$ac_install_sh -d" 23548fff3f40Smrg fi 23558fff3f40Smrgfi 23568fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 23578fff3f40Smrg$as_echo "$MKDIR_P" >&6; } 23588fff3f40Smrg 23598fff3f40Smrgmkdir_p="$MKDIR_P" 23608fff3f40Smrgcase $mkdir_p in 23618fff3f40Smrg [\\/$]* | ?:[\\/]*) ;; 23628fff3f40Smrg */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 23638fff3f40Smrgesac 23648fff3f40Smrg 23658fff3f40Smrgfor ac_prog in gawk mawk nawk awk 23668fff3f40Smrgdo 23678fff3f40Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 23688fff3f40Smrgset dummy $ac_prog; ac_word=$2 23698fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23708fff3f40Smrg$as_echo_n "checking for $ac_word... " >&6; } 23718fff3f40Smrgif test "${ac_cv_prog_AWK+set}" = set; then : 23728fff3f40Smrg $as_echo_n "(cached) " >&6 23738fff3f40Smrgelse 23748fff3f40Smrg if test -n "$AWK"; then 23758fff3f40Smrg ac_cv_prog_AWK="$AWK" # Let the user override the test. 23768fff3f40Smrgelse 23778fff3f40Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23788fff3f40Smrgfor as_dir in $PATH 23798fff3f40Smrgdo 23808fff3f40Smrg IFS=$as_save_IFS 23818fff3f40Smrg test -z "$as_dir" && as_dir=. 23828fff3f40Smrg for ac_exec_ext in '' $ac_executable_extensions; do 23838fff3f40Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 23848fff3f40Smrg ac_cv_prog_AWK="$ac_prog" 23858fff3f40Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23868fff3f40Smrg break 2 23878fff3f40Smrg fi 23888fff3f40Smrgdone 23898fff3f40Smrg done 23908fff3f40SmrgIFS=$as_save_IFS 23918fff3f40Smrg 23928fff3f40Smrgfi 23938fff3f40Smrgfi 23948fff3f40SmrgAWK=$ac_cv_prog_AWK 23958fff3f40Smrgif test -n "$AWK"; then 23968fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 23978fff3f40Smrg$as_echo "$AWK" >&6; } 23988fff3f40Smrgelse 23998fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24008fff3f40Smrg$as_echo "no" >&6; } 24018fff3f40Smrgfi 24028fff3f40Smrg 24038fff3f40Smrg 24048fff3f40Smrg test -n "$AWK" && break 24058fff3f40Smrgdone 24068fff3f40Smrg 24078fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 24088fff3f40Smrg$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 24098fff3f40Smrgset x ${MAKE-make} 24108fff3f40Smrgac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 24118fff3f40Smrgif { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : 24128fff3f40Smrg $as_echo_n "(cached) " >&6 24138fff3f40Smrgelse 24148fff3f40Smrg cat >conftest.make <<\_ACEOF 24158fff3f40SmrgSHELL = /bin/sh 24168fff3f40Smrgall: 24178fff3f40Smrg @echo '@@@%%%=$(MAKE)=@@@%%%' 24188fff3f40Smrg_ACEOF 24198fff3f40Smrg# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 24208fff3f40Smrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in 24218fff3f40Smrg *@@@%%%=?*=@@@%%%*) 24228fff3f40Smrg eval ac_cv_prog_make_${ac_make}_set=yes;; 24238fff3f40Smrg *) 24248fff3f40Smrg eval ac_cv_prog_make_${ac_make}_set=no;; 24258fff3f40Smrgesac 24268fff3f40Smrgrm -f conftest.make 24278fff3f40Smrgfi 24288fff3f40Smrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 24298fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24308fff3f40Smrg$as_echo "yes" >&6; } 24318fff3f40Smrg SET_MAKE= 24328fff3f40Smrgelse 24338fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24348fff3f40Smrg$as_echo "no" >&6; } 24358fff3f40Smrg SET_MAKE="MAKE=${MAKE-make}" 24368fff3f40Smrgfi 24378fff3f40Smrg 24388fff3f40Smrgrm -rf .tst 2>/dev/null 24398fff3f40Smrgmkdir .tst 2>/dev/null 24408fff3f40Smrgif test -d .tst; then 24418fff3f40Smrg am__leading_dot=. 24428fff3f40Smrgelse 24438fff3f40Smrg am__leading_dot=_ 24448fff3f40Smrgfi 24458fff3f40Smrgrmdir .tst 2>/dev/null 24468fff3f40Smrg 24478fff3f40Smrgif test "`cd $srcdir && pwd`" != "`pwd`"; then 24488fff3f40Smrg # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 24498fff3f40Smrg # is not polluted with repeated "-I." 24508fff3f40Smrg am__isrc=' -I$(srcdir)' 24518fff3f40Smrg # test to see if srcdir already configured 24528fff3f40Smrg if test -f $srcdir/config.status; then 24538fff3f40Smrg as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 24548fff3f40Smrg fi 24558fff3f40Smrgfi 24568fff3f40Smrg 24578fff3f40Smrg# test whether we have cygpath 24588fff3f40Smrgif test -z "$CYGPATH_W"; then 24598fff3f40Smrg if (cygpath --version) >/dev/null 2>/dev/null; then 24608fff3f40Smrg CYGPATH_W='cygpath -w' 24618fff3f40Smrg else 24628fff3f40Smrg CYGPATH_W=echo 24638fff3f40Smrg fi 24648fff3f40Smrgfi 24658fff3f40Smrg 24668fff3f40Smrg 24678fff3f40Smrg# Define the identity of the package. 24688fff3f40Smrg PACKAGE='xlsfonts' 24698fff3f40Smrg VERSION='1.0.3' 24708fff3f40Smrg 24718fff3f40Smrg 24728fff3f40Smrgcat >>confdefs.h <<_ACEOF 24738fff3f40Smrg#define PACKAGE "$PACKAGE" 24748fff3f40Smrg_ACEOF 24758fff3f40Smrg 24768fff3f40Smrg 24778fff3f40Smrgcat >>confdefs.h <<_ACEOF 24788fff3f40Smrg#define VERSION "$VERSION" 24798fff3f40Smrg_ACEOF 24808fff3f40Smrg 24818fff3f40Smrg# Some tools Automake needs. 24828fff3f40Smrg 24838fff3f40SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 24848fff3f40Smrg 24858fff3f40Smrg 24868fff3f40SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 24878fff3f40Smrg 24888fff3f40Smrg 24898fff3f40SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 24908fff3f40Smrg 24918fff3f40Smrg 24928fff3f40SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 24938fff3f40Smrg 24948fff3f40Smrg 24958fff3f40SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 24968fff3f40Smrg 24978fff3f40Smrg# We need awk for the "check" target. The system "awk" is bad on 24988fff3f40Smrg# some platforms. 24998fff3f40Smrg# Always define AMTAR for backward compatibility. 25008fff3f40Smrg 25018fff3f40SmrgAMTAR=${AMTAR-"${am_missing_run}tar"} 25028fff3f40Smrg 25038fff3f40Smrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 25048fff3f40Smrg 25058fff3f40Smrg 25068fff3f40Smrg 25078fff3f40Smrg 25088fff3f40Smrg 25098fff3f40Smrg 25108fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 25118fff3f40Smrg$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 25128fff3f40Smrg # Check whether --enable-maintainer-mode was given. 25138fff3f40Smrgif test "${enable_maintainer_mode+set}" = set; then : 25148fff3f40Smrg enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 25158fff3f40Smrgelse 25168fff3f40Smrg USE_MAINTAINER_MODE=no 25178fff3f40Smrgfi 25188fff3f40Smrg 25198fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 25208fff3f40Smrg$as_echo "$USE_MAINTAINER_MODE" >&6; } 25218fff3f40Smrg if test $USE_MAINTAINER_MODE = yes; then 25228fff3f40Smrg MAINTAINER_MODE_TRUE= 25238fff3f40Smrg MAINTAINER_MODE_FALSE='#' 25248fff3f40Smrgelse 25258fff3f40Smrg MAINTAINER_MODE_TRUE='#' 25268fff3f40Smrg MAINTAINER_MODE_FALSE= 25278fff3f40Smrgfi 25288fff3f40Smrg 25298fff3f40Smrg MAINT=$MAINTAINER_MODE_TRUE 25308fff3f40Smrg 25318fff3f40Smrg 25328fff3f40Smrg 25338fff3f40Smrg# Require xorg-macros: XORG_DEFAULT_OPTIONS 25348fff3f40Smrg 25358fff3f40Smrg 25368fff3f40Smrg 25378fff3f40Smrg 25388fff3f40Smrg 25398fff3f40Smrg 25408fff3f40Smrg 25418fff3f40Smrg 25428fff3f40Smrg 25438fff3f40Smrg 25448fff3f40Smrg 25458fff3f40SmrgDEPDIR="${am__leading_dot}deps" 25468fff3f40Smrg 25478fff3f40Smrgac_config_commands="$ac_config_commands depfiles" 25488fff3f40Smrg 25498fff3f40Smrg 25508fff3f40Smrgam_make=${MAKE-make} 25518fff3f40Smrgcat > confinc << 'END' 25528fff3f40Smrgam__doit: 25538fff3f40Smrg @echo this is the am__doit target 25548fff3f40Smrg.PHONY: am__doit 25558fff3f40SmrgEND 25568fff3f40Smrg# If we don't find an include directive, just comment out the code. 25578fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 25588fff3f40Smrg$as_echo_n "checking for style of include used by $am_make... " >&6; } 25598fff3f40Smrgam__include="#" 25608fff3f40Smrgam__quote= 25618fff3f40Smrg_am_result=none 25628fff3f40Smrg# First try GNU make style include. 25638fff3f40Smrgecho "include confinc" > confmf 25648fff3f40Smrg# Ignore all kinds of additional output from `make'. 25658fff3f40Smrgcase `$am_make -s -f confmf 2> /dev/null` in #( 25668fff3f40Smrg*the\ am__doit\ target*) 25678fff3f40Smrg am__include=include 25688fff3f40Smrg am__quote= 25698fff3f40Smrg _am_result=GNU 25708fff3f40Smrg ;; 25718fff3f40Smrgesac 25728fff3f40Smrg# Now try BSD make style include. 25738fff3f40Smrgif test "$am__include" = "#"; then 25748fff3f40Smrg echo '.include "confinc"' > confmf 25758fff3f40Smrg case `$am_make -s -f confmf 2> /dev/null` in #( 25768fff3f40Smrg *the\ am__doit\ target*) 25778fff3f40Smrg am__include=.include 25788fff3f40Smrg am__quote="\"" 25798fff3f40Smrg _am_result=BSD 25808fff3f40Smrg ;; 25818fff3f40Smrg esac 25828fff3f40Smrgfi 25838fff3f40Smrg 25848fff3f40Smrg 25858fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 25868fff3f40Smrg$as_echo "$_am_result" >&6; } 25878fff3f40Smrgrm -f confinc confmf 25888fff3f40Smrg 25898fff3f40Smrg# Check whether --enable-dependency-tracking was given. 25908fff3f40Smrgif test "${enable_dependency_tracking+set}" = set; then : 25918fff3f40Smrg enableval=$enable_dependency_tracking; 25928fff3f40Smrgfi 25938fff3f40Smrg 25948fff3f40Smrgif test "x$enable_dependency_tracking" != xno; then 25958fff3f40Smrg am_depcomp="$ac_aux_dir/depcomp" 25968fff3f40Smrg AMDEPBACKSLASH='\' 25978fff3f40Smrgfi 25988fff3f40Smrg if test "x$enable_dependency_tracking" != xno; then 25998fff3f40Smrg AMDEP_TRUE= 26008fff3f40Smrg AMDEP_FALSE='#' 26018fff3f40Smrgelse 26028fff3f40Smrg AMDEP_TRUE='#' 26038fff3f40Smrg AMDEP_FALSE= 26048fff3f40Smrgfi 26058fff3f40Smrg 26068fff3f40Smrg 26078fff3f40Smrgac_ext=c 26088fff3f40Smrgac_cpp='$CPP $CPPFLAGS' 26098fff3f40Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 26108fff3f40Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 26118fff3f40Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 26128fff3f40Smrgif test -n "$ac_tool_prefix"; then 26138fff3f40Smrg # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 26148fff3f40Smrgset dummy ${ac_tool_prefix}gcc; ac_word=$2 26158fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 26168fff3f40Smrg$as_echo_n "checking for $ac_word... " >&6; } 26178fff3f40Smrgif test "${ac_cv_prog_CC+set}" = set; then : 26188fff3f40Smrg $as_echo_n "(cached) " >&6 26198fff3f40Smrgelse 26208fff3f40Smrg if test -n "$CC"; then 26218fff3f40Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 26228fff3f40Smrgelse 26238fff3f40Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 26248fff3f40Smrgfor as_dir in $PATH 26258fff3f40Smrgdo 26268fff3f40Smrg IFS=$as_save_IFS 26278fff3f40Smrg test -z "$as_dir" && as_dir=. 26288fff3f40Smrg for ac_exec_ext in '' $ac_executable_extensions; do 26298fff3f40Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 26308fff3f40Smrg ac_cv_prog_CC="${ac_tool_prefix}gcc" 26318fff3f40Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 26328fff3f40Smrg break 2 26338fff3f40Smrg fi 26348fff3f40Smrgdone 26358fff3f40Smrg done 26368fff3f40SmrgIFS=$as_save_IFS 26378fff3f40Smrg 26388fff3f40Smrgfi 26398fff3f40Smrgfi 26408fff3f40SmrgCC=$ac_cv_prog_CC 26418fff3f40Smrgif test -n "$CC"; then 26428fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 26438fff3f40Smrg$as_echo "$CC" >&6; } 26448fff3f40Smrgelse 26458fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26468fff3f40Smrg$as_echo "no" >&6; } 26478fff3f40Smrgfi 26488fff3f40Smrg 26498fff3f40Smrg 26508fff3f40Smrgfi 26518fff3f40Smrgif test -z "$ac_cv_prog_CC"; then 26528fff3f40Smrg ac_ct_CC=$CC 26538fff3f40Smrg # Extract the first word of "gcc", so it can be a program name with args. 26548fff3f40Smrgset dummy gcc; ac_word=$2 26558fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 26568fff3f40Smrg$as_echo_n "checking for $ac_word... " >&6; } 26578fff3f40Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 26588fff3f40Smrg $as_echo_n "(cached) " >&6 26598fff3f40Smrgelse 26608fff3f40Smrg if test -n "$ac_ct_CC"; then 26618fff3f40Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 26628fff3f40Smrgelse 26638fff3f40Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 26648fff3f40Smrgfor as_dir in $PATH 26658fff3f40Smrgdo 26668fff3f40Smrg IFS=$as_save_IFS 26678fff3f40Smrg test -z "$as_dir" && as_dir=. 26688fff3f40Smrg for ac_exec_ext in '' $ac_executable_extensions; do 26698fff3f40Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 26708fff3f40Smrg ac_cv_prog_ac_ct_CC="gcc" 26718fff3f40Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 26728fff3f40Smrg break 2 26738fff3f40Smrg fi 26748fff3f40Smrgdone 26758fff3f40Smrg done 26768fff3f40SmrgIFS=$as_save_IFS 26778fff3f40Smrg 26788fff3f40Smrgfi 26798fff3f40Smrgfi 26808fff3f40Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 26818fff3f40Smrgif test -n "$ac_ct_CC"; then 26828fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 26838fff3f40Smrg$as_echo "$ac_ct_CC" >&6; } 26848fff3f40Smrgelse 26858fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26868fff3f40Smrg$as_echo "no" >&6; } 26878fff3f40Smrgfi 26888fff3f40Smrg 26898fff3f40Smrg if test "x$ac_ct_CC" = x; then 26908fff3f40Smrg CC="" 26918fff3f40Smrg else 26928fff3f40Smrg case $cross_compiling:$ac_tool_warned in 26938fff3f40Smrgyes:) 26948fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 26958fff3f40Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 26968fff3f40Smrgac_tool_warned=yes ;; 26978fff3f40Smrgesac 26988fff3f40Smrg CC=$ac_ct_CC 26998fff3f40Smrg fi 27008fff3f40Smrgelse 27018fff3f40Smrg CC="$ac_cv_prog_CC" 27028fff3f40Smrgfi 27038fff3f40Smrg 27048fff3f40Smrgif test -z "$CC"; then 27058fff3f40Smrg if test -n "$ac_tool_prefix"; then 27068fff3f40Smrg # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 27078fff3f40Smrgset dummy ${ac_tool_prefix}cc; ac_word=$2 27088fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 27098fff3f40Smrg$as_echo_n "checking for $ac_word... " >&6; } 27108fff3f40Smrgif test "${ac_cv_prog_CC+set}" = set; then : 27118fff3f40Smrg $as_echo_n "(cached) " >&6 27128fff3f40Smrgelse 27138fff3f40Smrg if test -n "$CC"; then 27148fff3f40Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 27158fff3f40Smrgelse 27168fff3f40Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 27178fff3f40Smrgfor as_dir in $PATH 27188fff3f40Smrgdo 27198fff3f40Smrg IFS=$as_save_IFS 27208fff3f40Smrg test -z "$as_dir" && as_dir=. 27218fff3f40Smrg for ac_exec_ext in '' $ac_executable_extensions; do 27228fff3f40Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 27238fff3f40Smrg ac_cv_prog_CC="${ac_tool_prefix}cc" 27248fff3f40Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 27258fff3f40Smrg break 2 27268fff3f40Smrg fi 27278fff3f40Smrgdone 27288fff3f40Smrg done 27298fff3f40SmrgIFS=$as_save_IFS 27308fff3f40Smrg 27318fff3f40Smrgfi 27328fff3f40Smrgfi 27338fff3f40SmrgCC=$ac_cv_prog_CC 27348fff3f40Smrgif test -n "$CC"; then 27358fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 27368fff3f40Smrg$as_echo "$CC" >&6; } 27378fff3f40Smrgelse 27388fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27398fff3f40Smrg$as_echo "no" >&6; } 27408fff3f40Smrgfi 27418fff3f40Smrg 27428fff3f40Smrg 27438fff3f40Smrg fi 27448fff3f40Smrgfi 27458fff3f40Smrgif test -z "$CC"; then 27468fff3f40Smrg # Extract the first word of "cc", so it can be a program name with args. 27478fff3f40Smrgset dummy cc; ac_word=$2 27488fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 27498fff3f40Smrg$as_echo_n "checking for $ac_word... " >&6; } 27508fff3f40Smrgif test "${ac_cv_prog_CC+set}" = set; then : 27518fff3f40Smrg $as_echo_n "(cached) " >&6 27528fff3f40Smrgelse 27538fff3f40Smrg if test -n "$CC"; then 27548fff3f40Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 27558fff3f40Smrgelse 27568fff3f40Smrg ac_prog_rejected=no 27578fff3f40Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 27588fff3f40Smrgfor as_dir in $PATH 27598fff3f40Smrgdo 27608fff3f40Smrg IFS=$as_save_IFS 27618fff3f40Smrg test -z "$as_dir" && as_dir=. 27628fff3f40Smrg for ac_exec_ext in '' $ac_executable_extensions; do 27638fff3f40Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 27648fff3f40Smrg if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 27658fff3f40Smrg ac_prog_rejected=yes 27668fff3f40Smrg continue 27678fff3f40Smrg fi 27688fff3f40Smrg ac_cv_prog_CC="cc" 27698fff3f40Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 27708fff3f40Smrg break 2 27718fff3f40Smrg fi 27728fff3f40Smrgdone 27738fff3f40Smrg done 27748fff3f40SmrgIFS=$as_save_IFS 27758fff3f40Smrg 27768fff3f40Smrgif test $ac_prog_rejected = yes; then 27778fff3f40Smrg # We found a bogon in the path, so make sure we never use it. 27788fff3f40Smrg set dummy $ac_cv_prog_CC 27798fff3f40Smrg shift 27808fff3f40Smrg if test $# != 0; then 27818fff3f40Smrg # We chose a different compiler from the bogus one. 27828fff3f40Smrg # However, it has the same basename, so the bogon will be chosen 27838fff3f40Smrg # first if we set CC to just the basename; use the full file name. 27848fff3f40Smrg shift 27858fff3f40Smrg ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 27868fff3f40Smrg fi 27878fff3f40Smrgfi 27888fff3f40Smrgfi 27898fff3f40Smrgfi 27908fff3f40SmrgCC=$ac_cv_prog_CC 27918fff3f40Smrgif test -n "$CC"; then 27928fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 27938fff3f40Smrg$as_echo "$CC" >&6; } 27948fff3f40Smrgelse 27958fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27968fff3f40Smrg$as_echo "no" >&6; } 27978fff3f40Smrgfi 27988fff3f40Smrg 27998fff3f40Smrg 28008fff3f40Smrgfi 28018fff3f40Smrgif test -z "$CC"; then 28028fff3f40Smrg if test -n "$ac_tool_prefix"; then 28038fff3f40Smrg for ac_prog in cl.exe 28048fff3f40Smrg do 28058fff3f40Smrg # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 28068fff3f40Smrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2 28078fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 28088fff3f40Smrg$as_echo_n "checking for $ac_word... " >&6; } 28098fff3f40Smrgif test "${ac_cv_prog_CC+set}" = set; then : 28108fff3f40Smrg $as_echo_n "(cached) " >&6 28118fff3f40Smrgelse 28128fff3f40Smrg if test -n "$CC"; then 28138fff3f40Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 28148fff3f40Smrgelse 28158fff3f40Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 28168fff3f40Smrgfor as_dir in $PATH 28178fff3f40Smrgdo 28188fff3f40Smrg IFS=$as_save_IFS 28198fff3f40Smrg test -z "$as_dir" && as_dir=. 28208fff3f40Smrg for ac_exec_ext in '' $ac_executable_extensions; do 28218fff3f40Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 28228fff3f40Smrg ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 28238fff3f40Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 28248fff3f40Smrg break 2 28258fff3f40Smrg fi 28268fff3f40Smrgdone 28278fff3f40Smrg done 28288fff3f40SmrgIFS=$as_save_IFS 28298fff3f40Smrg 28308fff3f40Smrgfi 28318fff3f40Smrgfi 28328fff3f40SmrgCC=$ac_cv_prog_CC 28338fff3f40Smrgif test -n "$CC"; then 28348fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 28358fff3f40Smrg$as_echo "$CC" >&6; } 28368fff3f40Smrgelse 28378fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28388fff3f40Smrg$as_echo "no" >&6; } 28398fff3f40Smrgfi 28408fff3f40Smrg 28418fff3f40Smrg 28428fff3f40Smrg test -n "$CC" && break 28438fff3f40Smrg done 28448fff3f40Smrgfi 28458fff3f40Smrgif test -z "$CC"; then 28468fff3f40Smrg ac_ct_CC=$CC 28478fff3f40Smrg for ac_prog in cl.exe 28488fff3f40Smrgdo 28498fff3f40Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 28508fff3f40Smrgset dummy $ac_prog; ac_word=$2 28518fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 28528fff3f40Smrg$as_echo_n "checking for $ac_word... " >&6; } 28538fff3f40Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 28548fff3f40Smrg $as_echo_n "(cached) " >&6 28558fff3f40Smrgelse 28568fff3f40Smrg if test -n "$ac_ct_CC"; then 28578fff3f40Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 28588fff3f40Smrgelse 28598fff3f40Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 28608fff3f40Smrgfor as_dir in $PATH 28618fff3f40Smrgdo 28628fff3f40Smrg IFS=$as_save_IFS 28638fff3f40Smrg test -z "$as_dir" && as_dir=. 28648fff3f40Smrg for ac_exec_ext in '' $ac_executable_extensions; do 28658fff3f40Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 28668fff3f40Smrg ac_cv_prog_ac_ct_CC="$ac_prog" 28678fff3f40Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 28688fff3f40Smrg break 2 28698fff3f40Smrg fi 28708fff3f40Smrgdone 28718fff3f40Smrg done 28728fff3f40SmrgIFS=$as_save_IFS 28738fff3f40Smrg 28748fff3f40Smrgfi 28758fff3f40Smrgfi 28768fff3f40Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 28778fff3f40Smrgif test -n "$ac_ct_CC"; then 28788fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 28798fff3f40Smrg$as_echo "$ac_ct_CC" >&6; } 28808fff3f40Smrgelse 28818fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28828fff3f40Smrg$as_echo "no" >&6; } 28838fff3f40Smrgfi 28848fff3f40Smrg 28858fff3f40Smrg 28868fff3f40Smrg test -n "$ac_ct_CC" && break 28878fff3f40Smrgdone 28888fff3f40Smrg 28898fff3f40Smrg if test "x$ac_ct_CC" = x; then 28908fff3f40Smrg CC="" 28918fff3f40Smrg else 28928fff3f40Smrg case $cross_compiling:$ac_tool_warned in 28938fff3f40Smrgyes:) 28948fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 28958fff3f40Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 28968fff3f40Smrgac_tool_warned=yes ;; 28978fff3f40Smrgesac 28988fff3f40Smrg CC=$ac_ct_CC 28998fff3f40Smrg fi 29008fff3f40Smrgfi 29018fff3f40Smrg 29028fff3f40Smrgfi 29038fff3f40Smrg 29048fff3f40Smrg 29058fff3f40Smrgtest -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 29068fff3f40Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 29078fff3f40Smrgas_fn_error "no acceptable C compiler found in \$PATH 29088fff3f40SmrgSee \`config.log' for more details." "$LINENO" 5; } 29098fff3f40Smrg 29108fff3f40Smrg# Provide some information about the compiler. 29118fff3f40Smrg$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 29128fff3f40Smrgset X $ac_compile 29138fff3f40Smrgac_compiler=$2 29148fff3f40Smrgfor ac_option in --version -v -V -qversion; do 29158fff3f40Smrg { { ac_try="$ac_compiler $ac_option >&5" 29168fff3f40Smrgcase "(($ac_try" in 29178fff3f40Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 29188fff3f40Smrg *) ac_try_echo=$ac_try;; 29198fff3f40Smrgesac 29208fff3f40Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 29218fff3f40Smrg$as_echo "$ac_try_echo"; } >&5 29228fff3f40Smrg (eval "$ac_compiler $ac_option >&5") 2>conftest.err 29238fff3f40Smrg ac_status=$? 29248fff3f40Smrg if test -s conftest.err; then 29258fff3f40Smrg sed '10a\ 29268fff3f40Smrg... rest of stderr output deleted ... 29278fff3f40Smrg 10q' conftest.err >conftest.er1 29288fff3f40Smrg cat conftest.er1 >&5 29298fff3f40Smrg fi 29308fff3f40Smrg rm -f conftest.er1 conftest.err 29318fff3f40Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 29328fff3f40Smrg test $ac_status = 0; } 29338fff3f40Smrgdone 29348fff3f40Smrg 29358fff3f40Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 29368fff3f40Smrg/* end confdefs.h. */ 29378fff3f40Smrg 29388fff3f40Smrgint 29398fff3f40Smrgmain () 29408fff3f40Smrg{ 29418fff3f40Smrg 29428fff3f40Smrg ; 29438fff3f40Smrg return 0; 29448fff3f40Smrg} 29458fff3f40Smrg_ACEOF 29468fff3f40Smrgac_clean_files_save=$ac_clean_files 29478fff3f40Smrgac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 29488fff3f40Smrg# Try to create an executable without -o first, disregard a.out. 29498fff3f40Smrg# It will help us diagnose broken compilers, and finding out an intuition 29508fff3f40Smrg# of exeext. 29518fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 29528fff3f40Smrg$as_echo_n "checking whether the C compiler works... " >&6; } 29538fff3f40Smrgac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 29548fff3f40Smrg 29558fff3f40Smrg# The possible output files: 29568fff3f40Smrgac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 29578fff3f40Smrg 29588fff3f40Smrgac_rmfiles= 29598fff3f40Smrgfor ac_file in $ac_files 29608fff3f40Smrgdo 29618fff3f40Smrg case $ac_file in 29628fff3f40Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 29638fff3f40Smrg * ) ac_rmfiles="$ac_rmfiles $ac_file";; 29648fff3f40Smrg esac 29658fff3f40Smrgdone 29668fff3f40Smrgrm -f $ac_rmfiles 29678fff3f40Smrg 29688fff3f40Smrgif { { ac_try="$ac_link_default" 29698fff3f40Smrgcase "(($ac_try" in 29708fff3f40Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 29718fff3f40Smrg *) ac_try_echo=$ac_try;; 29728fff3f40Smrgesac 29738fff3f40Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 29748fff3f40Smrg$as_echo "$ac_try_echo"; } >&5 29758fff3f40Smrg (eval "$ac_link_default") 2>&5 29768fff3f40Smrg ac_status=$? 29778fff3f40Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 29788fff3f40Smrg test $ac_status = 0; }; then : 29798fff3f40Smrg # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 29808fff3f40Smrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 29818fff3f40Smrg# in a Makefile. We should not override ac_cv_exeext if it was cached, 29828fff3f40Smrg# so that the user can short-circuit this test for compilers unknown to 29838fff3f40Smrg# Autoconf. 29848fff3f40Smrgfor ac_file in $ac_files '' 29858fff3f40Smrgdo 29868fff3f40Smrg test -f "$ac_file" || continue 29878fff3f40Smrg case $ac_file in 29888fff3f40Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 29898fff3f40Smrg ;; 29908fff3f40Smrg [ab].out ) 29918fff3f40Smrg # We found the default executable, but exeext='' is most 29928fff3f40Smrg # certainly right. 29938fff3f40Smrg break;; 29948fff3f40Smrg *.* ) 29958fff3f40Smrg if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 29968fff3f40Smrg then :; else 29978fff3f40Smrg ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 29988fff3f40Smrg fi 29998fff3f40Smrg # We set ac_cv_exeext here because the later test for it is not 30008fff3f40Smrg # safe: cross compilers may not add the suffix if given an `-o' 30018fff3f40Smrg # argument, so we may need to know it at that point already. 30028fff3f40Smrg # Even if this section looks crufty: it has the advantage of 30038fff3f40Smrg # actually working. 30048fff3f40Smrg break;; 30058fff3f40Smrg * ) 30068fff3f40Smrg break;; 30078fff3f40Smrg esac 30088fff3f40Smrgdone 30098fff3f40Smrgtest "$ac_cv_exeext" = no && ac_cv_exeext= 30108fff3f40Smrg 30118fff3f40Smrgelse 30128fff3f40Smrg ac_file='' 30138fff3f40Smrgfi 30148fff3f40Smrgif test -z "$ac_file"; then : 30158fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 30168fff3f40Smrg$as_echo "no" >&6; } 30178fff3f40Smrg$as_echo "$as_me: failed program was:" >&5 30188fff3f40Smrgsed 's/^/| /' conftest.$ac_ext >&5 30198fff3f40Smrg 30208fff3f40Smrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 30218fff3f40Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 30228fff3f40Smrg{ as_fn_set_status 77 30238fff3f40Smrgas_fn_error "C compiler cannot create executables 30248fff3f40SmrgSee \`config.log' for more details." "$LINENO" 5; }; } 30258fff3f40Smrgelse 30268fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 30278fff3f40Smrg$as_echo "yes" >&6; } 30288fff3f40Smrgfi 30298fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 30308fff3f40Smrg$as_echo_n "checking for C compiler default output file name... " >&6; } 30318fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 30328fff3f40Smrg$as_echo "$ac_file" >&6; } 30338fff3f40Smrgac_exeext=$ac_cv_exeext 30348fff3f40Smrg 30358fff3f40Smrgrm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 30368fff3f40Smrgac_clean_files=$ac_clean_files_save 30378fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 30388fff3f40Smrg$as_echo_n "checking for suffix of executables... " >&6; } 30398fff3f40Smrgif { { ac_try="$ac_link" 30408fff3f40Smrgcase "(($ac_try" in 30418fff3f40Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 30428fff3f40Smrg *) ac_try_echo=$ac_try;; 30438fff3f40Smrgesac 30448fff3f40Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 30458fff3f40Smrg$as_echo "$ac_try_echo"; } >&5 30468fff3f40Smrg (eval "$ac_link") 2>&5 30478fff3f40Smrg ac_status=$? 30488fff3f40Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 30498fff3f40Smrg test $ac_status = 0; }; then : 30508fff3f40Smrg # If both `conftest.exe' and `conftest' are `present' (well, observable) 30518fff3f40Smrg# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 30528fff3f40Smrg# work properly (i.e., refer to `conftest.exe'), while it won't with 30538fff3f40Smrg# `rm'. 30548fff3f40Smrgfor ac_file in conftest.exe conftest conftest.*; do 30558fff3f40Smrg test -f "$ac_file" || continue 30568fff3f40Smrg case $ac_file in 30578fff3f40Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 30588fff3f40Smrg *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 30598fff3f40Smrg break;; 30608fff3f40Smrg * ) break;; 30618fff3f40Smrg esac 30628fff3f40Smrgdone 30638fff3f40Smrgelse 30648fff3f40Smrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 30658fff3f40Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 30668fff3f40Smrgas_fn_error "cannot compute suffix of executables: cannot compile and link 30678fff3f40SmrgSee \`config.log' for more details." "$LINENO" 5; } 30688fff3f40Smrgfi 30698fff3f40Smrgrm -f conftest conftest$ac_cv_exeext 30708fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 30718fff3f40Smrg$as_echo "$ac_cv_exeext" >&6; } 30728fff3f40Smrg 30738fff3f40Smrgrm -f conftest.$ac_ext 30748fff3f40SmrgEXEEXT=$ac_cv_exeext 30758fff3f40Smrgac_exeext=$EXEEXT 30768fff3f40Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 30778fff3f40Smrg/* end confdefs.h. */ 30788fff3f40Smrg#include <stdio.h> 30798fff3f40Smrgint 30808fff3f40Smrgmain () 30818fff3f40Smrg{ 30828fff3f40SmrgFILE *f = fopen ("conftest.out", "w"); 30838fff3f40Smrg return ferror (f) || fclose (f) != 0; 30848fff3f40Smrg 30858fff3f40Smrg ; 30868fff3f40Smrg return 0; 30878fff3f40Smrg} 30888fff3f40Smrg_ACEOF 30898fff3f40Smrgac_clean_files="$ac_clean_files conftest.out" 30908fff3f40Smrg# Check that the compiler produces executables we can run. If not, either 30918fff3f40Smrg# the compiler is broken, or we cross compile. 30928fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 30938fff3f40Smrg$as_echo_n "checking whether we are cross compiling... " >&6; } 30948fff3f40Smrgif test "$cross_compiling" != yes; then 30958fff3f40Smrg { { ac_try="$ac_link" 30968fff3f40Smrgcase "(($ac_try" in 30978fff3f40Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 30988fff3f40Smrg *) ac_try_echo=$ac_try;; 30998fff3f40Smrgesac 31008fff3f40Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 31018fff3f40Smrg$as_echo "$ac_try_echo"; } >&5 31028fff3f40Smrg (eval "$ac_link") 2>&5 31038fff3f40Smrg ac_status=$? 31048fff3f40Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 31058fff3f40Smrg test $ac_status = 0; } 31068fff3f40Smrg if { ac_try='./conftest$ac_cv_exeext' 31078fff3f40Smrg { { case "(($ac_try" in 31088fff3f40Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 31098fff3f40Smrg *) ac_try_echo=$ac_try;; 31108fff3f40Smrgesac 31118fff3f40Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 31128fff3f40Smrg$as_echo "$ac_try_echo"; } >&5 31138fff3f40Smrg (eval "$ac_try") 2>&5 31148fff3f40Smrg ac_status=$? 31158fff3f40Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 31168fff3f40Smrg test $ac_status = 0; }; }; then 31178fff3f40Smrg cross_compiling=no 31188fff3f40Smrg else 31198fff3f40Smrg if test "$cross_compiling" = maybe; then 31208fff3f40Smrg cross_compiling=yes 31218fff3f40Smrg else 31228fff3f40Smrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 31238fff3f40Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 31248fff3f40Smrgas_fn_error "cannot run C compiled programs. 31258fff3f40SmrgIf you meant to cross compile, use \`--host'. 31268fff3f40SmrgSee \`config.log' for more details." "$LINENO" 5; } 31278fff3f40Smrg fi 31288fff3f40Smrg fi 31298fff3f40Smrgfi 31308fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 31318fff3f40Smrg$as_echo "$cross_compiling" >&6; } 31328fff3f40Smrg 31338fff3f40Smrgrm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 31348fff3f40Smrgac_clean_files=$ac_clean_files_save 31358fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 31368fff3f40Smrg$as_echo_n "checking for suffix of object files... " >&6; } 31378fff3f40Smrgif test "${ac_cv_objext+set}" = set; then : 31388fff3f40Smrg $as_echo_n "(cached) " >&6 31398fff3f40Smrgelse 31408fff3f40Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31418fff3f40Smrg/* end confdefs.h. */ 31428fff3f40Smrg 31438fff3f40Smrgint 31448fff3f40Smrgmain () 31458fff3f40Smrg{ 31468fff3f40Smrg 31478fff3f40Smrg ; 31488fff3f40Smrg return 0; 31498fff3f40Smrg} 31508fff3f40Smrg_ACEOF 31518fff3f40Smrgrm -f conftest.o conftest.obj 31528fff3f40Smrgif { { ac_try="$ac_compile" 31538fff3f40Smrgcase "(($ac_try" in 31548fff3f40Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 31558fff3f40Smrg *) ac_try_echo=$ac_try;; 31568fff3f40Smrgesac 31578fff3f40Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 31588fff3f40Smrg$as_echo "$ac_try_echo"; } >&5 31598fff3f40Smrg (eval "$ac_compile") 2>&5 31608fff3f40Smrg ac_status=$? 31618fff3f40Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 31628fff3f40Smrg test $ac_status = 0; }; then : 31638fff3f40Smrg for ac_file in conftest.o conftest.obj conftest.*; do 31648fff3f40Smrg test -f "$ac_file" || continue; 31658fff3f40Smrg case $ac_file in 31668fff3f40Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 31678fff3f40Smrg *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 31688fff3f40Smrg break;; 31698fff3f40Smrg esac 31708fff3f40Smrgdone 31718fff3f40Smrgelse 31728fff3f40Smrg $as_echo "$as_me: failed program was:" >&5 31738fff3f40Smrgsed 's/^/| /' conftest.$ac_ext >&5 31748fff3f40Smrg 31758fff3f40Smrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 31768fff3f40Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 31778fff3f40Smrgas_fn_error "cannot compute suffix of object files: cannot compile 31788fff3f40SmrgSee \`config.log' for more details." "$LINENO" 5; } 31798fff3f40Smrgfi 31808fff3f40Smrgrm -f conftest.$ac_cv_objext conftest.$ac_ext 31818fff3f40Smrgfi 31828fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 31838fff3f40Smrg$as_echo "$ac_cv_objext" >&6; } 31848fff3f40SmrgOBJEXT=$ac_cv_objext 31858fff3f40Smrgac_objext=$OBJEXT 31868fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 31878fff3f40Smrg$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 31888fff3f40Smrgif test "${ac_cv_c_compiler_gnu+set}" = set; then : 31898fff3f40Smrg $as_echo_n "(cached) " >&6 31908fff3f40Smrgelse 31918fff3f40Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31928fff3f40Smrg/* end confdefs.h. */ 31938fff3f40Smrg 31948fff3f40Smrgint 31958fff3f40Smrgmain () 31968fff3f40Smrg{ 31978fff3f40Smrg#ifndef __GNUC__ 31988fff3f40Smrg choke me 31998fff3f40Smrg#endif 32008fff3f40Smrg 32018fff3f40Smrg ; 32028fff3f40Smrg return 0; 32038fff3f40Smrg} 32048fff3f40Smrg_ACEOF 32058fff3f40Smrgif ac_fn_c_try_compile "$LINENO"; then : 32068fff3f40Smrg ac_compiler_gnu=yes 32078fff3f40Smrgelse 32088fff3f40Smrg ac_compiler_gnu=no 32098fff3f40Smrgfi 32108fff3f40Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 32118fff3f40Smrgac_cv_c_compiler_gnu=$ac_compiler_gnu 32128fff3f40Smrg 32138fff3f40Smrgfi 32148fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 32158fff3f40Smrg$as_echo "$ac_cv_c_compiler_gnu" >&6; } 32168fff3f40Smrgif test $ac_compiler_gnu = yes; then 32178fff3f40Smrg GCC=yes 32188fff3f40Smrgelse 32198fff3f40Smrg GCC= 32208fff3f40Smrgfi 32218fff3f40Smrgac_test_CFLAGS=${CFLAGS+set} 32228fff3f40Smrgac_save_CFLAGS=$CFLAGS 32238fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 32248fff3f40Smrg$as_echo_n "checking whether $CC accepts -g... " >&6; } 32258fff3f40Smrgif test "${ac_cv_prog_cc_g+set}" = set; then : 32268fff3f40Smrg $as_echo_n "(cached) " >&6 32278fff3f40Smrgelse 32288fff3f40Smrg ac_save_c_werror_flag=$ac_c_werror_flag 32298fff3f40Smrg ac_c_werror_flag=yes 32308fff3f40Smrg ac_cv_prog_cc_g=no 32318fff3f40Smrg CFLAGS="-g" 32328fff3f40Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32338fff3f40Smrg/* end confdefs.h. */ 32348fff3f40Smrg 32358fff3f40Smrgint 32368fff3f40Smrgmain () 32378fff3f40Smrg{ 32388fff3f40Smrg 32398fff3f40Smrg ; 32408fff3f40Smrg return 0; 32418fff3f40Smrg} 32428fff3f40Smrg_ACEOF 32438fff3f40Smrgif ac_fn_c_try_compile "$LINENO"; then : 32448fff3f40Smrg ac_cv_prog_cc_g=yes 32458fff3f40Smrgelse 32468fff3f40Smrg CFLAGS="" 32478fff3f40Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32488fff3f40Smrg/* end confdefs.h. */ 32498fff3f40Smrg 32508fff3f40Smrgint 32518fff3f40Smrgmain () 32528fff3f40Smrg{ 32538fff3f40Smrg 32548fff3f40Smrg ; 32558fff3f40Smrg return 0; 32568fff3f40Smrg} 32578fff3f40Smrg_ACEOF 32588fff3f40Smrgif ac_fn_c_try_compile "$LINENO"; then : 32598fff3f40Smrg 32608fff3f40Smrgelse 32618fff3f40Smrg ac_c_werror_flag=$ac_save_c_werror_flag 32628fff3f40Smrg CFLAGS="-g" 32638fff3f40Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32648fff3f40Smrg/* end confdefs.h. */ 32658fff3f40Smrg 32668fff3f40Smrgint 32678fff3f40Smrgmain () 32688fff3f40Smrg{ 32698fff3f40Smrg 32708fff3f40Smrg ; 32718fff3f40Smrg return 0; 32728fff3f40Smrg} 32738fff3f40Smrg_ACEOF 32748fff3f40Smrgif ac_fn_c_try_compile "$LINENO"; then : 32758fff3f40Smrg ac_cv_prog_cc_g=yes 32768fff3f40Smrgfi 32778fff3f40Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 32788fff3f40Smrgfi 32798fff3f40Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 32808fff3f40Smrgfi 32818fff3f40Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 32828fff3f40Smrg ac_c_werror_flag=$ac_save_c_werror_flag 32838fff3f40Smrgfi 32848fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 32858fff3f40Smrg$as_echo "$ac_cv_prog_cc_g" >&6; } 32868fff3f40Smrgif test "$ac_test_CFLAGS" = set; then 32878fff3f40Smrg CFLAGS=$ac_save_CFLAGS 32888fff3f40Smrgelif test $ac_cv_prog_cc_g = yes; then 32898fff3f40Smrg if test "$GCC" = yes; then 32908fff3f40Smrg CFLAGS="-g -O2" 32918fff3f40Smrg else 32928fff3f40Smrg CFLAGS="-g" 32938fff3f40Smrg fi 32948fff3f40Smrgelse 32958fff3f40Smrg if test "$GCC" = yes; then 32968fff3f40Smrg CFLAGS="-O2" 32978fff3f40Smrg else 32988fff3f40Smrg CFLAGS= 32998fff3f40Smrg fi 33008fff3f40Smrgfi 33018fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 33028fff3f40Smrg$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 33038fff3f40Smrgif test "${ac_cv_prog_cc_c89+set}" = set; then : 33048fff3f40Smrg $as_echo_n "(cached) " >&6 33058fff3f40Smrgelse 33068fff3f40Smrg ac_cv_prog_cc_c89=no 33078fff3f40Smrgac_save_CC=$CC 33088fff3f40Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 33098fff3f40Smrg/* end confdefs.h. */ 33108fff3f40Smrg#include <stdarg.h> 33118fff3f40Smrg#include <stdio.h> 33128fff3f40Smrg#include <sys/types.h> 33138fff3f40Smrg#include <sys/stat.h> 33148fff3f40Smrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 33158fff3f40Smrgstruct buf { int x; }; 33168fff3f40SmrgFILE * (*rcsopen) (struct buf *, struct stat *, int); 33178fff3f40Smrgstatic char *e (p, i) 33188fff3f40Smrg char **p; 33198fff3f40Smrg int i; 33208fff3f40Smrg{ 33218fff3f40Smrg return p[i]; 33228fff3f40Smrg} 33238fff3f40Smrgstatic char *f (char * (*g) (char **, int), char **p, ...) 33248fff3f40Smrg{ 33258fff3f40Smrg char *s; 33268fff3f40Smrg va_list v; 33278fff3f40Smrg va_start (v,p); 33288fff3f40Smrg s = g (p, va_arg (v,int)); 33298fff3f40Smrg va_end (v); 33308fff3f40Smrg return s; 33318fff3f40Smrg} 33328fff3f40Smrg 33338fff3f40Smrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 33348fff3f40Smrg function prototypes and stuff, but not '\xHH' hex character constants. 33358fff3f40Smrg These don't provoke an error unfortunately, instead are silently treated 33368fff3f40Smrg as 'x'. The following induces an error, until -std is added to get 33378fff3f40Smrg proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 33388fff3f40Smrg array size at least. It's necessary to write '\x00'==0 to get something 33398fff3f40Smrg that's true only with -std. */ 33408fff3f40Smrgint osf4_cc_array ['\x00' == 0 ? 1 : -1]; 33418fff3f40Smrg 33428fff3f40Smrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 33438fff3f40Smrg inside strings and character constants. */ 33448fff3f40Smrg#define FOO(x) 'x' 33458fff3f40Smrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 33468fff3f40Smrg 33478fff3f40Smrgint test (int i, double x); 33488fff3f40Smrgstruct s1 {int (*f) (int a);}; 33498fff3f40Smrgstruct s2 {int (*f) (double a);}; 33508fff3f40Smrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 33518fff3f40Smrgint argc; 33528fff3f40Smrgchar **argv; 33538fff3f40Smrgint 33548fff3f40Smrgmain () 33558fff3f40Smrg{ 33568fff3f40Smrgreturn f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 33578fff3f40Smrg ; 33588fff3f40Smrg return 0; 33598fff3f40Smrg} 33608fff3f40Smrg_ACEOF 33618fff3f40Smrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 33628fff3f40Smrg -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 33638fff3f40Smrgdo 33648fff3f40Smrg CC="$ac_save_CC $ac_arg" 33658fff3f40Smrg if ac_fn_c_try_compile "$LINENO"; then : 33668fff3f40Smrg ac_cv_prog_cc_c89=$ac_arg 33678fff3f40Smrgfi 33688fff3f40Smrgrm -f core conftest.err conftest.$ac_objext 33698fff3f40Smrg test "x$ac_cv_prog_cc_c89" != "xno" && break 33708fff3f40Smrgdone 33718fff3f40Smrgrm -f conftest.$ac_ext 33728fff3f40SmrgCC=$ac_save_CC 33738fff3f40Smrg 33748fff3f40Smrgfi 33758fff3f40Smrg# AC_CACHE_VAL 33768fff3f40Smrgcase "x$ac_cv_prog_cc_c89" in 33778fff3f40Smrg x) 33788fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 33798fff3f40Smrg$as_echo "none needed" >&6; } ;; 33808fff3f40Smrg xno) 33818fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 33828fff3f40Smrg$as_echo "unsupported" >&6; } ;; 33838fff3f40Smrg *) 33848fff3f40Smrg CC="$CC $ac_cv_prog_cc_c89" 33858fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 33868fff3f40Smrg$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 33878fff3f40Smrgesac 33888fff3f40Smrgif test "x$ac_cv_prog_cc_c89" != xno; then : 33898fff3f40Smrg 33908fff3f40Smrgfi 33918fff3f40Smrg 33928fff3f40Smrgac_ext=c 33938fff3f40Smrgac_cpp='$CPP $CPPFLAGS' 33948fff3f40Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 33958fff3f40Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 33968fff3f40Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 33978fff3f40Smrg 33988fff3f40Smrgdepcc="$CC" am_compiler_list= 33998fff3f40Smrg 34008fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 34018fff3f40Smrg$as_echo_n "checking dependency style of $depcc... " >&6; } 34028fff3f40Smrgif test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : 34038fff3f40Smrg $as_echo_n "(cached) " >&6 34048fff3f40Smrgelse 34058fff3f40Smrg if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 34068fff3f40Smrg # We make a subdir and do the tests there. Otherwise we can end up 34078fff3f40Smrg # making bogus files that we don't know about and never remove. For 34088fff3f40Smrg # instance it was reported that on HP-UX the gcc test will end up 34098fff3f40Smrg # making a dummy file named `D' -- because `-MD' means `put the output 34108fff3f40Smrg # in D'. 34118fff3f40Smrg mkdir conftest.dir 34128fff3f40Smrg # Copy depcomp to subdir because otherwise we won't find it if we're 34138fff3f40Smrg # using a relative directory. 34148fff3f40Smrg cp "$am_depcomp" conftest.dir 34158fff3f40Smrg cd conftest.dir 34168fff3f40Smrg # We will build objects and dependencies in a subdirectory because 34178fff3f40Smrg # it helps to detect inapplicable dependency modes. For instance 34188fff3f40Smrg # both Tru64's cc and ICC support -MD to output dependencies as a 34198fff3f40Smrg # side effect of compilation, but ICC will put the dependencies in 34208fff3f40Smrg # the current directory while Tru64 will put them in the object 34218fff3f40Smrg # directory. 34228fff3f40Smrg mkdir sub 34238fff3f40Smrg 34248fff3f40Smrg am_cv_CC_dependencies_compiler_type=none 34258fff3f40Smrg if test "$am_compiler_list" = ""; then 34268fff3f40Smrg am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 34278fff3f40Smrg fi 34288fff3f40Smrg am__universal=false 34298fff3f40Smrg case " $depcc " in #( 34308fff3f40Smrg *\ -arch\ *\ -arch\ *) am__universal=true ;; 34318fff3f40Smrg esac 34328fff3f40Smrg 34338fff3f40Smrg for depmode in $am_compiler_list; do 34348fff3f40Smrg # Setup a source with many dependencies, because some compilers 34358fff3f40Smrg # like to wrap large dependency lists on column 80 (with \), and 34368fff3f40Smrg # we should not choose a depcomp mode which is confused by this. 34378fff3f40Smrg # 34388fff3f40Smrg # We need to recreate these files for each test, as the compiler may 34398fff3f40Smrg # overwrite some of them when testing with obscure command lines. 34408fff3f40Smrg # This happens at least with the AIX C compiler. 34418fff3f40Smrg : > sub/conftest.c 34428fff3f40Smrg for i in 1 2 3 4 5 6; do 34438fff3f40Smrg echo '#include "conftst'$i'.h"' >> sub/conftest.c 34448fff3f40Smrg # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 34458fff3f40Smrg # Solaris 8's {/usr,}/bin/sh. 34468fff3f40Smrg touch sub/conftst$i.h 34478fff3f40Smrg done 34488fff3f40Smrg echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 34498fff3f40Smrg 34508fff3f40Smrg # We check with `-c' and `-o' for the sake of the "dashmstdout" 34518fff3f40Smrg # mode. It turns out that the SunPro C++ compiler does not properly 34528fff3f40Smrg # handle `-M -o', and we need to detect this. Also, some Intel 34538fff3f40Smrg # versions had trouble with output in subdirs 34548fff3f40Smrg am__obj=sub/conftest.${OBJEXT-o} 34558fff3f40Smrg am__minus_obj="-o $am__obj" 34568fff3f40Smrg case $depmode in 34578fff3f40Smrg gcc) 34588fff3f40Smrg # This depmode causes a compiler race in universal mode. 34598fff3f40Smrg test "$am__universal" = false || continue 34608fff3f40Smrg ;; 34618fff3f40Smrg nosideeffect) 34628fff3f40Smrg # after this tag, mechanisms are not by side-effect, so they'll 34638fff3f40Smrg # only be used when explicitly requested 34648fff3f40Smrg if test "x$enable_dependency_tracking" = xyes; then 34658fff3f40Smrg continue 34668fff3f40Smrg else 34678fff3f40Smrg break 34688fff3f40Smrg fi 34698fff3f40Smrg ;; 34708fff3f40Smrg msvisualcpp | msvcmsys) 34718fff3f40Smrg # This compiler won't grok `-c -o', but also, the minuso test has 34728fff3f40Smrg # not run yet. These depmodes are late enough in the game, and 34738fff3f40Smrg # so weak that their functioning should not be impacted. 34748fff3f40Smrg am__obj=conftest.${OBJEXT-o} 34758fff3f40Smrg am__minus_obj= 34768fff3f40Smrg ;; 34778fff3f40Smrg none) break ;; 34788fff3f40Smrg esac 34798fff3f40Smrg if depmode=$depmode \ 34808fff3f40Smrg source=sub/conftest.c object=$am__obj \ 34818fff3f40Smrg depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 34828fff3f40Smrg $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 34838fff3f40Smrg >/dev/null 2>conftest.err && 34848fff3f40Smrg grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 34858fff3f40Smrg grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 34868fff3f40Smrg grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 34878fff3f40Smrg ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 34888fff3f40Smrg # icc doesn't choke on unknown options, it will just issue warnings 34898fff3f40Smrg # or remarks (even with -Werror). So we grep stderr for any message 34908fff3f40Smrg # that says an option was ignored or not supported. 34918fff3f40Smrg # When given -MP, icc 7.0 and 7.1 complain thusly: 34928fff3f40Smrg # icc: Command line warning: ignoring option '-M'; no argument required 34938fff3f40Smrg # The diagnosis changed in icc 8.0: 34948fff3f40Smrg # icc: Command line remark: option '-MP' not supported 34958fff3f40Smrg if (grep 'ignoring option' conftest.err || 34968fff3f40Smrg grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 34978fff3f40Smrg am_cv_CC_dependencies_compiler_type=$depmode 34988fff3f40Smrg break 34998fff3f40Smrg fi 35008fff3f40Smrg fi 35018fff3f40Smrg done 35028fff3f40Smrg 35038fff3f40Smrg cd .. 35048fff3f40Smrg rm -rf conftest.dir 35058fff3f40Smrgelse 35068fff3f40Smrg am_cv_CC_dependencies_compiler_type=none 35078fff3f40Smrgfi 35088fff3f40Smrg 35098fff3f40Smrgfi 35108fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 35118fff3f40Smrg$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 35128fff3f40SmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 35138fff3f40Smrg 35148fff3f40Smrg if 35158fff3f40Smrg test "x$enable_dependency_tracking" != xno \ 35168fff3f40Smrg && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 35178fff3f40Smrg am__fastdepCC_TRUE= 35188fff3f40Smrg am__fastdepCC_FALSE='#' 35198fff3f40Smrgelse 35208fff3f40Smrg am__fastdepCC_TRUE='#' 35218fff3f40Smrg am__fastdepCC_FALSE= 35228fff3f40Smrgfi 35238fff3f40Smrg 35248fff3f40Smrg 35258fff3f40Smrg 35268fff3f40Smrgac_ext=c 35278fff3f40Smrgac_cpp='$CPP $CPPFLAGS' 35288fff3f40Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35298fff3f40Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35308fff3f40Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 35318fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 35328fff3f40Smrg$as_echo_n "checking how to run the C preprocessor... " >&6; } 35338fff3f40Smrg# On Suns, sometimes $CPP names a directory. 35348fff3f40Smrgif test -n "$CPP" && test -d "$CPP"; then 35358fff3f40Smrg CPP= 35368fff3f40Smrgfi 35378fff3f40Smrgif test -z "$CPP"; then 35388fff3f40Smrg if test "${ac_cv_prog_CPP+set}" = set; then : 35398fff3f40Smrg $as_echo_n "(cached) " >&6 35408fff3f40Smrgelse 35418fff3f40Smrg # Double quotes because CPP needs to be expanded 35428fff3f40Smrg for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 35438fff3f40Smrg do 35448fff3f40Smrg ac_preproc_ok=false 35458fff3f40Smrgfor ac_c_preproc_warn_flag in '' yes 35468fff3f40Smrgdo 35478fff3f40Smrg # Use a header file that comes with gcc, so configuring glibc 35488fff3f40Smrg # with a fresh cross-compiler works. 35498fff3f40Smrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 35508fff3f40Smrg # <limits.h> exists even on freestanding compilers. 35518fff3f40Smrg # On the NeXT, cc -E runs the code through the compiler's parser, 35528fff3f40Smrg # not just through cpp. "Syntax error" is here to catch this case. 35538fff3f40Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35548fff3f40Smrg/* end confdefs.h. */ 35558fff3f40Smrg#ifdef __STDC__ 35568fff3f40Smrg# include <limits.h> 35578fff3f40Smrg#else 35588fff3f40Smrg# include <assert.h> 35598fff3f40Smrg#endif 35608fff3f40Smrg Syntax error 35618fff3f40Smrg_ACEOF 35628fff3f40Smrgif ac_fn_c_try_cpp "$LINENO"; then : 35638fff3f40Smrg 35648fff3f40Smrgelse 35658fff3f40Smrg # Broken: fails on valid input. 35668fff3f40Smrgcontinue 35678fff3f40Smrgfi 35688fff3f40Smrgrm -f conftest.err conftest.$ac_ext 35698fff3f40Smrg 35708fff3f40Smrg # OK, works on sane cases. Now check whether nonexistent headers 35718fff3f40Smrg # can be detected and how. 35728fff3f40Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35738fff3f40Smrg/* end confdefs.h. */ 35748fff3f40Smrg#include <ac_nonexistent.h> 35758fff3f40Smrg_ACEOF 35768fff3f40Smrgif ac_fn_c_try_cpp "$LINENO"; then : 35778fff3f40Smrg # Broken: success on invalid input. 35788fff3f40Smrgcontinue 35798fff3f40Smrgelse 35808fff3f40Smrg # Passes both tests. 35818fff3f40Smrgac_preproc_ok=: 35828fff3f40Smrgbreak 35838fff3f40Smrgfi 35848fff3f40Smrgrm -f conftest.err conftest.$ac_ext 35858fff3f40Smrg 35868fff3f40Smrgdone 35878fff3f40Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 35888fff3f40Smrgrm -f conftest.err conftest.$ac_ext 35898fff3f40Smrgif $ac_preproc_ok; then : 35908fff3f40Smrg break 35918fff3f40Smrgfi 35928fff3f40Smrg 35938fff3f40Smrg done 35948fff3f40Smrg ac_cv_prog_CPP=$CPP 35958fff3f40Smrg 35968fff3f40Smrgfi 35978fff3f40Smrg CPP=$ac_cv_prog_CPP 35988fff3f40Smrgelse 35998fff3f40Smrg ac_cv_prog_CPP=$CPP 36008fff3f40Smrgfi 36018fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 36028fff3f40Smrg$as_echo "$CPP" >&6; } 36038fff3f40Smrgac_preproc_ok=false 36048fff3f40Smrgfor ac_c_preproc_warn_flag in '' yes 36058fff3f40Smrgdo 36068fff3f40Smrg # Use a header file that comes with gcc, so configuring glibc 36078fff3f40Smrg # with a fresh cross-compiler works. 36088fff3f40Smrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 36098fff3f40Smrg # <limits.h> exists even on freestanding compilers. 36108fff3f40Smrg # On the NeXT, cc -E runs the code through the compiler's parser, 36118fff3f40Smrg # not just through cpp. "Syntax error" is here to catch this case. 36128fff3f40Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36138fff3f40Smrg/* end confdefs.h. */ 36148fff3f40Smrg#ifdef __STDC__ 36158fff3f40Smrg# include <limits.h> 36168fff3f40Smrg#else 36178fff3f40Smrg# include <assert.h> 36188fff3f40Smrg#endif 36198fff3f40Smrg Syntax error 36208fff3f40Smrg_ACEOF 36218fff3f40Smrgif ac_fn_c_try_cpp "$LINENO"; then : 36228fff3f40Smrg 36238fff3f40Smrgelse 36248fff3f40Smrg # Broken: fails on valid input. 36258fff3f40Smrgcontinue 36268fff3f40Smrgfi 36278fff3f40Smrgrm -f conftest.err conftest.$ac_ext 36288fff3f40Smrg 36298fff3f40Smrg # OK, works on sane cases. Now check whether nonexistent headers 36308fff3f40Smrg # can be detected and how. 36318fff3f40Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36328fff3f40Smrg/* end confdefs.h. */ 36338fff3f40Smrg#include <ac_nonexistent.h> 36348fff3f40Smrg_ACEOF 36358fff3f40Smrgif ac_fn_c_try_cpp "$LINENO"; then : 36368fff3f40Smrg # Broken: success on invalid input. 36378fff3f40Smrgcontinue 36388fff3f40Smrgelse 36398fff3f40Smrg # Passes both tests. 36408fff3f40Smrgac_preproc_ok=: 36418fff3f40Smrgbreak 36428fff3f40Smrgfi 36438fff3f40Smrgrm -f conftest.err conftest.$ac_ext 36448fff3f40Smrg 36458fff3f40Smrgdone 36468fff3f40Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 36478fff3f40Smrgrm -f conftest.err conftest.$ac_ext 36488fff3f40Smrgif $ac_preproc_ok; then : 36498fff3f40Smrg 36508fff3f40Smrgelse 36518fff3f40Smrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36528fff3f40Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36538fff3f40Smrgas_fn_error "C preprocessor \"$CPP\" fails sanity check 36548fff3f40SmrgSee \`config.log' for more details." "$LINENO" 5; } 36558fff3f40Smrgfi 36568fff3f40Smrg 36578fff3f40Smrgac_ext=c 36588fff3f40Smrgac_cpp='$CPP $CPPFLAGS' 36598fff3f40Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 36608fff3f40Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 36618fff3f40Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 36628fff3f40Smrg 36638fff3f40Smrg 36648fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 36658fff3f40Smrg$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 36668fff3f40Smrgif test "${ac_cv_path_GREP+set}" = set; then : 36678fff3f40Smrg $as_echo_n "(cached) " >&6 36688fff3f40Smrgelse 36698fff3f40Smrg if test -z "$GREP"; then 36708fff3f40Smrg ac_path_GREP_found=false 36718fff3f40Smrg # Loop through the user's path and test for each of PROGNAME-LIST 36728fff3f40Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 36738fff3f40Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 36748fff3f40Smrgdo 36758fff3f40Smrg IFS=$as_save_IFS 36768fff3f40Smrg test -z "$as_dir" && as_dir=. 36778fff3f40Smrg for ac_prog in grep ggrep; do 36788fff3f40Smrg for ac_exec_ext in '' $ac_executable_extensions; do 36798fff3f40Smrg ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 36808fff3f40Smrg { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 36818fff3f40Smrg# Check for GNU ac_path_GREP and select it if it is found. 36828fff3f40Smrg # Check for GNU $ac_path_GREP 36838fff3f40Smrgcase `"$ac_path_GREP" --version 2>&1` in 36848fff3f40Smrg*GNU*) 36858fff3f40Smrg ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 36868fff3f40Smrg*) 36878fff3f40Smrg ac_count=0 36888fff3f40Smrg $as_echo_n 0123456789 >"conftest.in" 36898fff3f40Smrg while : 36908fff3f40Smrg do 36918fff3f40Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 36928fff3f40Smrg mv "conftest.tmp" "conftest.in" 36938fff3f40Smrg cp "conftest.in" "conftest.nl" 36948fff3f40Smrg $as_echo 'GREP' >> "conftest.nl" 36958fff3f40Smrg "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 36968fff3f40Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 36978fff3f40Smrg as_fn_arith $ac_count + 1 && ac_count=$as_val 36988fff3f40Smrg if test $ac_count -gt ${ac_path_GREP_max-0}; then 36998fff3f40Smrg # Best one so far, save it but keep looking for a better one 37008fff3f40Smrg ac_cv_path_GREP="$ac_path_GREP" 37018fff3f40Smrg ac_path_GREP_max=$ac_count 37028fff3f40Smrg fi 37038fff3f40Smrg # 10*(2^10) chars as input seems more than enough 37048fff3f40Smrg test $ac_count -gt 10 && break 37058fff3f40Smrg done 37068fff3f40Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 37078fff3f40Smrgesac 37088fff3f40Smrg 37098fff3f40Smrg $ac_path_GREP_found && break 3 37108fff3f40Smrg done 37118fff3f40Smrg done 37128fff3f40Smrg done 37138fff3f40SmrgIFS=$as_save_IFS 37148fff3f40Smrg if test -z "$ac_cv_path_GREP"; then 37158fff3f40Smrg as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 37168fff3f40Smrg fi 37178fff3f40Smrgelse 37188fff3f40Smrg ac_cv_path_GREP=$GREP 37198fff3f40Smrgfi 37208fff3f40Smrg 37218fff3f40Smrgfi 37228fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 37238fff3f40Smrg$as_echo "$ac_cv_path_GREP" >&6; } 37248fff3f40Smrg GREP="$ac_cv_path_GREP" 37258fff3f40Smrg 37268fff3f40Smrg 37278fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 37288fff3f40Smrg$as_echo_n "checking for egrep... " >&6; } 37298fff3f40Smrgif test "${ac_cv_path_EGREP+set}" = set; then : 37308fff3f40Smrg $as_echo_n "(cached) " >&6 37318fff3f40Smrgelse 37328fff3f40Smrg if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 37338fff3f40Smrg then ac_cv_path_EGREP="$GREP -E" 37348fff3f40Smrg else 37358fff3f40Smrg if test -z "$EGREP"; then 37368fff3f40Smrg ac_path_EGREP_found=false 37378fff3f40Smrg # Loop through the user's path and test for each of PROGNAME-LIST 37388fff3f40Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 37398fff3f40Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 37408fff3f40Smrgdo 37418fff3f40Smrg IFS=$as_save_IFS 37428fff3f40Smrg test -z "$as_dir" && as_dir=. 37438fff3f40Smrg for ac_prog in egrep; do 37448fff3f40Smrg for ac_exec_ext in '' $ac_executable_extensions; do 37458fff3f40Smrg ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 37468fff3f40Smrg { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 37478fff3f40Smrg# Check for GNU ac_path_EGREP and select it if it is found. 37488fff3f40Smrg # Check for GNU $ac_path_EGREP 37498fff3f40Smrgcase `"$ac_path_EGREP" --version 2>&1` in 37508fff3f40Smrg*GNU*) 37518fff3f40Smrg ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 37528fff3f40Smrg*) 37538fff3f40Smrg ac_count=0 37548fff3f40Smrg $as_echo_n 0123456789 >"conftest.in" 37558fff3f40Smrg while : 37568fff3f40Smrg do 37578fff3f40Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 37588fff3f40Smrg mv "conftest.tmp" "conftest.in" 37598fff3f40Smrg cp "conftest.in" "conftest.nl" 37608fff3f40Smrg $as_echo 'EGREP' >> "conftest.nl" 37618fff3f40Smrg "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 37628fff3f40Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 37638fff3f40Smrg as_fn_arith $ac_count + 1 && ac_count=$as_val 37648fff3f40Smrg if test $ac_count -gt ${ac_path_EGREP_max-0}; then 37658fff3f40Smrg # Best one so far, save it but keep looking for a better one 37668fff3f40Smrg ac_cv_path_EGREP="$ac_path_EGREP" 37678fff3f40Smrg ac_path_EGREP_max=$ac_count 37688fff3f40Smrg fi 37698fff3f40Smrg # 10*(2^10) chars as input seems more than enough 37708fff3f40Smrg test $ac_count -gt 10 && break 37718fff3f40Smrg done 37728fff3f40Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 37738fff3f40Smrgesac 37748fff3f40Smrg 37758fff3f40Smrg $ac_path_EGREP_found && break 3 37768fff3f40Smrg done 37778fff3f40Smrg done 37788fff3f40Smrg done 37798fff3f40SmrgIFS=$as_save_IFS 37808fff3f40Smrg if test -z "$ac_cv_path_EGREP"; then 37818fff3f40Smrg as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 37828fff3f40Smrg fi 37838fff3f40Smrgelse 37848fff3f40Smrg ac_cv_path_EGREP=$EGREP 37858fff3f40Smrgfi 37868fff3f40Smrg 37878fff3f40Smrg fi 37888fff3f40Smrgfi 37898fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 37908fff3f40Smrg$as_echo "$ac_cv_path_EGREP" >&6; } 37918fff3f40Smrg EGREP="$ac_cv_path_EGREP" 37928fff3f40Smrg 37938fff3f40Smrg 37948fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 37958fff3f40Smrg$as_echo_n "checking for ANSI C header files... " >&6; } 37968fff3f40Smrgif test "${ac_cv_header_stdc+set}" = set; then : 37978fff3f40Smrg $as_echo_n "(cached) " >&6 37988fff3f40Smrgelse 37998fff3f40Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38008fff3f40Smrg/* end confdefs.h. */ 38018fff3f40Smrg#include <stdlib.h> 38028fff3f40Smrg#include <stdarg.h> 38038fff3f40Smrg#include <string.h> 38048fff3f40Smrg#include <float.h> 38058fff3f40Smrg 38068fff3f40Smrgint 38078fff3f40Smrgmain () 38088fff3f40Smrg{ 38098fff3f40Smrg 38108fff3f40Smrg ; 38118fff3f40Smrg return 0; 38128fff3f40Smrg} 38138fff3f40Smrg_ACEOF 38148fff3f40Smrgif ac_fn_c_try_compile "$LINENO"; then : 38158fff3f40Smrg ac_cv_header_stdc=yes 38168fff3f40Smrgelse 38178fff3f40Smrg ac_cv_header_stdc=no 38188fff3f40Smrgfi 38198fff3f40Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 38208fff3f40Smrg 38218fff3f40Smrgif test $ac_cv_header_stdc = yes; then 38228fff3f40Smrg # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 38238fff3f40Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38248fff3f40Smrg/* end confdefs.h. */ 38258fff3f40Smrg#include <string.h> 38268fff3f40Smrg 38278fff3f40Smrg_ACEOF 38288fff3f40Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 38298fff3f40Smrg $EGREP "memchr" >/dev/null 2>&1; then : 38308fff3f40Smrg 38318fff3f40Smrgelse 38328fff3f40Smrg ac_cv_header_stdc=no 38338fff3f40Smrgfi 38348fff3f40Smrgrm -f conftest* 38358fff3f40Smrg 38368fff3f40Smrgfi 38378fff3f40Smrg 38388fff3f40Smrgif test $ac_cv_header_stdc = yes; then 38398fff3f40Smrg # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 38408fff3f40Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38418fff3f40Smrg/* end confdefs.h. */ 38428fff3f40Smrg#include <stdlib.h> 38438fff3f40Smrg 38448fff3f40Smrg_ACEOF 38458fff3f40Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 38468fff3f40Smrg $EGREP "free" >/dev/null 2>&1; then : 38478fff3f40Smrg 38488fff3f40Smrgelse 38498fff3f40Smrg ac_cv_header_stdc=no 38508fff3f40Smrgfi 38518fff3f40Smrgrm -f conftest* 38528fff3f40Smrg 38538fff3f40Smrgfi 38548fff3f40Smrg 38558fff3f40Smrgif test $ac_cv_header_stdc = yes; then 38568fff3f40Smrg # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 38578fff3f40Smrg if test "$cross_compiling" = yes; then : 38588fff3f40Smrg : 38598fff3f40Smrgelse 38608fff3f40Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38618fff3f40Smrg/* end confdefs.h. */ 38628fff3f40Smrg#include <ctype.h> 38638fff3f40Smrg#include <stdlib.h> 38648fff3f40Smrg#if ((' ' & 0x0FF) == 0x020) 38658fff3f40Smrg# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 38668fff3f40Smrg# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 38678fff3f40Smrg#else 38688fff3f40Smrg# define ISLOWER(c) \ 38698fff3f40Smrg (('a' <= (c) && (c) <= 'i') \ 38708fff3f40Smrg || ('j' <= (c) && (c) <= 'r') \ 38718fff3f40Smrg || ('s' <= (c) && (c) <= 'z')) 38728fff3f40Smrg# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 38738fff3f40Smrg#endif 38748fff3f40Smrg 38758fff3f40Smrg#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 38768fff3f40Smrgint 38778fff3f40Smrgmain () 38788fff3f40Smrg{ 38798fff3f40Smrg int i; 38808fff3f40Smrg for (i = 0; i < 256; i++) 38818fff3f40Smrg if (XOR (islower (i), ISLOWER (i)) 38828fff3f40Smrg || toupper (i) != TOUPPER (i)) 38838fff3f40Smrg return 2; 38848fff3f40Smrg return 0; 38858fff3f40Smrg} 38868fff3f40Smrg_ACEOF 38878fff3f40Smrgif ac_fn_c_try_run "$LINENO"; then : 38888fff3f40Smrg 38898fff3f40Smrgelse 38908fff3f40Smrg ac_cv_header_stdc=no 38918fff3f40Smrgfi 38928fff3f40Smrgrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 38938fff3f40Smrg conftest.$ac_objext conftest.beam conftest.$ac_ext 38948fff3f40Smrgfi 38958fff3f40Smrg 38968fff3f40Smrgfi 38978fff3f40Smrgfi 38988fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 38998fff3f40Smrg$as_echo "$ac_cv_header_stdc" >&6; } 39008fff3f40Smrgif test $ac_cv_header_stdc = yes; then 39018fff3f40Smrg 39028fff3f40Smrg$as_echo "#define STDC_HEADERS 1" >>confdefs.h 39038fff3f40Smrg 39048fff3f40Smrgfi 39058fff3f40Smrg 39068fff3f40Smrg# On IRIX 5.3, sys/types and inttypes.h are conflicting. 39078fff3f40Smrgfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 39088fff3f40Smrg inttypes.h stdint.h unistd.h 39098fff3f40Smrgdo : 39108fff3f40Smrg as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 39118fff3f40Smrgac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 39128fff3f40Smrg" 39138fff3f40Smrgeval as_val=\$$as_ac_Header 39148fff3f40Smrg if test "x$as_val" = x""yes; then : 39158fff3f40Smrg cat >>confdefs.h <<_ACEOF 39168fff3f40Smrg#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 39178fff3f40Smrg_ACEOF 39188fff3f40Smrg 39198fff3f40Smrgfi 39208fff3f40Smrg 39218fff3f40Smrgdone 39228fff3f40Smrg 39238fff3f40Smrg 39248fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 39258fff3f40Smrg$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 39268fff3f40Smrgif test "${ac_cv_prog_cc_c99+set}" = set; then : 39278fff3f40Smrg $as_echo_n "(cached) " >&6 39288fff3f40Smrgelse 39298fff3f40Smrg ac_cv_prog_cc_c99=no 39308fff3f40Smrgac_save_CC=$CC 39318fff3f40Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 39328fff3f40Smrg/* end confdefs.h. */ 39338fff3f40Smrg#include <stdarg.h> 39348fff3f40Smrg#include <stdbool.h> 39358fff3f40Smrg#include <stdlib.h> 39368fff3f40Smrg#include <wchar.h> 39378fff3f40Smrg#include <stdio.h> 39388fff3f40Smrg 39398fff3f40Smrg// Check varargs macros. These examples are taken from C99 6.10.3.5. 39408fff3f40Smrg#define debug(...) fprintf (stderr, __VA_ARGS__) 39418fff3f40Smrg#define showlist(...) puts (#__VA_ARGS__) 39428fff3f40Smrg#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 39438fff3f40Smrgstatic void 39448fff3f40Smrgtest_varargs_macros (void) 39458fff3f40Smrg{ 39468fff3f40Smrg int x = 1234; 39478fff3f40Smrg int y = 5678; 39488fff3f40Smrg debug ("Flag"); 39498fff3f40Smrg debug ("X = %d\n", x); 39508fff3f40Smrg showlist (The first, second, and third items.); 39518fff3f40Smrg report (x>y, "x is %d but y is %d", x, y); 39528fff3f40Smrg} 39538fff3f40Smrg 39548fff3f40Smrg// Check long long types. 39558fff3f40Smrg#define BIG64 18446744073709551615ull 39568fff3f40Smrg#define BIG32 4294967295ul 39578fff3f40Smrg#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 39588fff3f40Smrg#if !BIG_OK 39598fff3f40Smrg your preprocessor is broken; 39608fff3f40Smrg#endif 39618fff3f40Smrg#if BIG_OK 39628fff3f40Smrg#else 39638fff3f40Smrg your preprocessor is broken; 39648fff3f40Smrg#endif 39658fff3f40Smrgstatic long long int bignum = -9223372036854775807LL; 39668fff3f40Smrgstatic unsigned long long int ubignum = BIG64; 39678fff3f40Smrg 39688fff3f40Smrgstruct incomplete_array 39698fff3f40Smrg{ 39708fff3f40Smrg int datasize; 39718fff3f40Smrg double data[]; 39728fff3f40Smrg}; 39738fff3f40Smrg 39748fff3f40Smrgstruct named_init { 39758fff3f40Smrg int number; 39768fff3f40Smrg const wchar_t *name; 39778fff3f40Smrg double average; 39788fff3f40Smrg}; 39798fff3f40Smrg 39808fff3f40Smrgtypedef const char *ccp; 39818fff3f40Smrg 39828fff3f40Smrgstatic inline int 39838fff3f40Smrgtest_restrict (ccp restrict text) 39848fff3f40Smrg{ 39858fff3f40Smrg // See if C++-style comments work. 39868fff3f40Smrg // Iterate through items via the restricted pointer. 39878fff3f40Smrg // Also check for declarations in for loops. 39888fff3f40Smrg for (unsigned int i = 0; *(text+i) != '\0'; ++i) 39898fff3f40Smrg continue; 39908fff3f40Smrg return 0; 39918fff3f40Smrg} 39928fff3f40Smrg 39938fff3f40Smrg// Check varargs and va_copy. 39948fff3f40Smrgstatic void 39958fff3f40Smrgtest_varargs (const char *format, ...) 39968fff3f40Smrg{ 39978fff3f40Smrg va_list args; 39988fff3f40Smrg va_start (args, format); 39998fff3f40Smrg va_list args_copy; 40008fff3f40Smrg va_copy (args_copy, args); 40018fff3f40Smrg 40028fff3f40Smrg const char *str; 40038fff3f40Smrg int number; 40048fff3f40Smrg float fnumber; 40058fff3f40Smrg 40068fff3f40Smrg while (*format) 40078fff3f40Smrg { 40088fff3f40Smrg switch (*format++) 40098fff3f40Smrg { 40108fff3f40Smrg case 's': // string 40118fff3f40Smrg str = va_arg (args_copy, const char *); 40128fff3f40Smrg break; 40138fff3f40Smrg case 'd': // int 40148fff3f40Smrg number = va_arg (args_copy, int); 40158fff3f40Smrg break; 40168fff3f40Smrg case 'f': // float 40178fff3f40Smrg fnumber = va_arg (args_copy, double); 40188fff3f40Smrg break; 40198fff3f40Smrg default: 40208fff3f40Smrg break; 40218fff3f40Smrg } 40228fff3f40Smrg } 40238fff3f40Smrg va_end (args_copy); 40248fff3f40Smrg va_end (args); 40258fff3f40Smrg} 40268fff3f40Smrg 40278fff3f40Smrgint 40288fff3f40Smrgmain () 40298fff3f40Smrg{ 40308fff3f40Smrg 40318fff3f40Smrg // Check bool. 40328fff3f40Smrg _Bool success = false; 40338fff3f40Smrg 40348fff3f40Smrg // Check restrict. 40358fff3f40Smrg if (test_restrict ("String literal") == 0) 40368fff3f40Smrg success = true; 40378fff3f40Smrg char *restrict newvar = "Another string"; 40388fff3f40Smrg 40398fff3f40Smrg // Check varargs. 40408fff3f40Smrg test_varargs ("s, d' f .", "string", 65, 34.234); 40418fff3f40Smrg test_varargs_macros (); 40428fff3f40Smrg 40438fff3f40Smrg // Check flexible array members. 40448fff3f40Smrg struct incomplete_array *ia = 40458fff3f40Smrg malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 40468fff3f40Smrg ia->datasize = 10; 40478fff3f40Smrg for (int i = 0; i < ia->datasize; ++i) 40488fff3f40Smrg ia->data[i] = i * 1.234; 40498fff3f40Smrg 40508fff3f40Smrg // Check named initializers. 40518fff3f40Smrg struct named_init ni = { 40528fff3f40Smrg .number = 34, 40538fff3f40Smrg .name = L"Test wide string", 40548fff3f40Smrg .average = 543.34343, 40558fff3f40Smrg }; 40568fff3f40Smrg 40578fff3f40Smrg ni.number = 58; 40588fff3f40Smrg 40598fff3f40Smrg int dynamic_array[ni.number]; 40608fff3f40Smrg dynamic_array[ni.number - 1] = 543; 40618fff3f40Smrg 40628fff3f40Smrg // work around unused variable warnings 40638fff3f40Smrg return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 40648fff3f40Smrg || dynamic_array[ni.number - 1] != 543); 40658fff3f40Smrg 40668fff3f40Smrg ; 40678fff3f40Smrg return 0; 40688fff3f40Smrg} 40698fff3f40Smrg_ACEOF 40708fff3f40Smrgfor ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 40718fff3f40Smrgdo 40728fff3f40Smrg CC="$ac_save_CC $ac_arg" 40738fff3f40Smrg if ac_fn_c_try_compile "$LINENO"; then : 40748fff3f40Smrg ac_cv_prog_cc_c99=$ac_arg 40758fff3f40Smrgfi 40768fff3f40Smrgrm -f core conftest.err conftest.$ac_objext 40778fff3f40Smrg test "x$ac_cv_prog_cc_c99" != "xno" && break 40788fff3f40Smrgdone 40798fff3f40Smrgrm -f conftest.$ac_ext 40808fff3f40SmrgCC=$ac_save_CC 40818fff3f40Smrg 40828fff3f40Smrgfi 40838fff3f40Smrg# AC_CACHE_VAL 40848fff3f40Smrgcase "x$ac_cv_prog_cc_c99" in 40858fff3f40Smrg x) 40868fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 40878fff3f40Smrg$as_echo "none needed" >&6; } ;; 40888fff3f40Smrg xno) 40898fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 40908fff3f40Smrg$as_echo "unsupported" >&6; } ;; 40918fff3f40Smrg *) 40928fff3f40Smrg CC="$CC $ac_cv_prog_cc_c99" 40938fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 40948fff3f40Smrg$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 40958fff3f40Smrgesac 40968fff3f40Smrgif test "x$ac_cv_prog_cc_c99" != xno; then : 40978fff3f40Smrg 40988fff3f40Smrgfi 40998fff3f40Smrg 41008fff3f40Smrg 41018fff3f40Smrg 41028fff3f40Smrg 41038fff3f40Smrg 41048fff3f40Smrg 41058fff3f40Smrg 41068fff3f40Smrg 41078fff3f40Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 41088fff3f40Smrg if test -n "$ac_tool_prefix"; then 41098fff3f40Smrg # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 41108fff3f40Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2 41118fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 41128fff3f40Smrg$as_echo_n "checking for $ac_word... " >&6; } 41138fff3f40Smrgif test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 41148fff3f40Smrg $as_echo_n "(cached) " >&6 41158fff3f40Smrgelse 41168fff3f40Smrg case $PKG_CONFIG in 41178fff3f40Smrg [\\/]* | ?:[\\/]*) 41188fff3f40Smrg ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 41198fff3f40Smrg ;; 41208fff3f40Smrg *) 41218fff3f40Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 41228fff3f40Smrgfor as_dir in $PATH 41238fff3f40Smrgdo 41248fff3f40Smrg IFS=$as_save_IFS 41258fff3f40Smrg test -z "$as_dir" && as_dir=. 41268fff3f40Smrg for ac_exec_ext in '' $ac_executable_extensions; do 41278fff3f40Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 41288fff3f40Smrg ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 41298fff3f40Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 41308fff3f40Smrg break 2 41318fff3f40Smrg fi 41328fff3f40Smrgdone 41338fff3f40Smrg done 41348fff3f40SmrgIFS=$as_save_IFS 41358fff3f40Smrg 41368fff3f40Smrg ;; 41378fff3f40Smrgesac 41388fff3f40Smrgfi 41398fff3f40SmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG 41408fff3f40Smrgif test -n "$PKG_CONFIG"; then 41418fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 41428fff3f40Smrg$as_echo "$PKG_CONFIG" >&6; } 41438fff3f40Smrgelse 41448fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 41458fff3f40Smrg$as_echo "no" >&6; } 41468fff3f40Smrgfi 41478fff3f40Smrg 41488fff3f40Smrg 41498fff3f40Smrgfi 41508fff3f40Smrgif test -z "$ac_cv_path_PKG_CONFIG"; then 41518fff3f40Smrg ac_pt_PKG_CONFIG=$PKG_CONFIG 41528fff3f40Smrg # Extract the first word of "pkg-config", so it can be a program name with args. 41538fff3f40Smrgset dummy pkg-config; ac_word=$2 41548fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 41558fff3f40Smrg$as_echo_n "checking for $ac_word... " >&6; } 41568fff3f40Smrgif test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then : 41578fff3f40Smrg $as_echo_n "(cached) " >&6 41588fff3f40Smrgelse 41598fff3f40Smrg case $ac_pt_PKG_CONFIG in 41608fff3f40Smrg [\\/]* | ?:[\\/]*) 41618fff3f40Smrg ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 41628fff3f40Smrg ;; 41638fff3f40Smrg *) 41648fff3f40Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 41658fff3f40Smrgfor as_dir in $PATH 41668fff3f40Smrgdo 41678fff3f40Smrg IFS=$as_save_IFS 41688fff3f40Smrg test -z "$as_dir" && as_dir=. 41698fff3f40Smrg for ac_exec_ext in '' $ac_executable_extensions; do 41708fff3f40Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 41718fff3f40Smrg ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 41728fff3f40Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 41738fff3f40Smrg break 2 41748fff3f40Smrg fi 41758fff3f40Smrgdone 41768fff3f40Smrg done 41778fff3f40SmrgIFS=$as_save_IFS 41788fff3f40Smrg 41798fff3f40Smrg ;; 41808fff3f40Smrgesac 41818fff3f40Smrgfi 41828fff3f40Smrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 41838fff3f40Smrgif test -n "$ac_pt_PKG_CONFIG"; then 41848fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 41858fff3f40Smrg$as_echo "$ac_pt_PKG_CONFIG" >&6; } 41868fff3f40Smrgelse 41878fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 41888fff3f40Smrg$as_echo "no" >&6; } 41898fff3f40Smrgfi 41908fff3f40Smrg 41918fff3f40Smrg if test "x$ac_pt_PKG_CONFIG" = x; then 41928fff3f40Smrg PKG_CONFIG="" 41938fff3f40Smrg else 41948fff3f40Smrg case $cross_compiling:$ac_tool_warned in 41958fff3f40Smrgyes:) 41968fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 41978fff3f40Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 41988fff3f40Smrgac_tool_warned=yes ;; 41998fff3f40Smrgesac 42008fff3f40Smrg PKG_CONFIG=$ac_pt_PKG_CONFIG 42018fff3f40Smrg fi 42028fff3f40Smrgelse 42038fff3f40Smrg PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 42048fff3f40Smrgfi 42058fff3f40Smrg 42068fff3f40Smrgfi 42078fff3f40Smrgif test -n "$PKG_CONFIG"; then 42088fff3f40Smrg _pkg_min_version=0.9.0 42098fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 42108fff3f40Smrg$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 42118fff3f40Smrg if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 42128fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 42138fff3f40Smrg$as_echo "yes" >&6; } 42148fff3f40Smrg else 42158fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 42168fff3f40Smrg$as_echo "no" >&6; } 42178fff3f40Smrg PKG_CONFIG="" 42188fff3f40Smrg fi 42198fff3f40Smrgfi 42208fff3f40Smrg# Make sure we can run config.sub. 42218fff3f40Smrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 42228fff3f40Smrg as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 42238fff3f40Smrg 42248fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 42258fff3f40Smrg$as_echo_n "checking build system type... " >&6; } 42268fff3f40Smrgif test "${ac_cv_build+set}" = set; then : 42278fff3f40Smrg $as_echo_n "(cached) " >&6 42288fff3f40Smrgelse 42298fff3f40Smrg ac_build_alias=$build_alias 42308fff3f40Smrgtest "x$ac_build_alias" = x && 42318fff3f40Smrg ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 42328fff3f40Smrgtest "x$ac_build_alias" = x && 42338fff3f40Smrg as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 42348fff3f40Smrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 42358fff3f40Smrg as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 42368fff3f40Smrg 42378fff3f40Smrgfi 42388fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 42398fff3f40Smrg$as_echo "$ac_cv_build" >&6; } 42408fff3f40Smrgcase $ac_cv_build in 42418fff3f40Smrg*-*-*) ;; 42428fff3f40Smrg*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 42438fff3f40Smrgesac 42448fff3f40Smrgbuild=$ac_cv_build 42458fff3f40Smrgac_save_IFS=$IFS; IFS='-' 42468fff3f40Smrgset x $ac_cv_build 42478fff3f40Smrgshift 42488fff3f40Smrgbuild_cpu=$1 42498fff3f40Smrgbuild_vendor=$2 42508fff3f40Smrgshift; shift 42518fff3f40Smrg# Remember, the first character of IFS is used to create $*, 42528fff3f40Smrg# except with old shells: 42538fff3f40Smrgbuild_os=$* 42548fff3f40SmrgIFS=$ac_save_IFS 42558fff3f40Smrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 42568fff3f40Smrg 42578fff3f40Smrg 42588fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 42598fff3f40Smrg$as_echo_n "checking host system type... " >&6; } 42608fff3f40Smrgif test "${ac_cv_host+set}" = set; then : 42618fff3f40Smrg $as_echo_n "(cached) " >&6 42628fff3f40Smrgelse 42638fff3f40Smrg if test "x$host_alias" = x; then 42648fff3f40Smrg ac_cv_host=$ac_cv_build 42658fff3f40Smrgelse 42668fff3f40Smrg ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 42678fff3f40Smrg as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 42688fff3f40Smrgfi 42698fff3f40Smrg 42708fff3f40Smrgfi 42718fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 42728fff3f40Smrg$as_echo "$ac_cv_host" >&6; } 42738fff3f40Smrgcase $ac_cv_host in 42748fff3f40Smrg*-*-*) ;; 42758fff3f40Smrg*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 42768fff3f40Smrgesac 42778fff3f40Smrghost=$ac_cv_host 42788fff3f40Smrgac_save_IFS=$IFS; IFS='-' 42798fff3f40Smrgset x $ac_cv_host 42808fff3f40Smrgshift 42818fff3f40Smrghost_cpu=$1 42828fff3f40Smrghost_vendor=$2 42838fff3f40Smrgshift; shift 42848fff3f40Smrg# Remember, the first character of IFS is used to create $*, 42858fff3f40Smrg# except with old shells: 42868fff3f40Smrghost_os=$* 42878fff3f40SmrgIFS=$ac_save_IFS 42888fff3f40Smrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 42898fff3f40Smrg 4290e6232409Smrg 4291e6232409Smrg 4292e6232409Smrg 4293e6232409Smrg 42948fff3f40Smrgif test "x$GCC" = xyes ; then 42958fff3f40Smrg CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \ 42968fff3f40Smrg-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \ 42978fff3f40Smrg-Wbad-function-cast -Wformat=2" 42988fff3f40Smrg case `$CC -dumpversion` in 42998fff3f40Smrg 3.4.* | 4.*) 43008fff3f40Smrg CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement" 43018fff3f40Smrg ;; 43028fff3f40Smrg esac 4303e6232409Smrgelse 43048fff3f40Smrg ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 43058fff3f40Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then : 43068fff3f40Smrg SUNCC="yes" 4307e6232409Smrgelse 43088fff3f40Smrg SUNCC="no" 4309e6232409Smrgfi 43108fff3f40Smrg 43118fff3f40Smrg if test "x$SUNCC" = "xyes"; then 43128fff3f40Smrg CWARNFLAGS="-v" 43138fff3f40Smrg fi 4314e6232409Smrgfi 4315e6232409Smrg 4316e6232409Smrg 4317e6232409Smrg 43188fff3f40Smrg 43198fff3f40Smrg 43208fff3f40Smrg 43218fff3f40Smrg 43228fff3f40Smrg# Check whether --enable-strict-compilation was given. 43238fff3f40Smrgif test "${enable_strict_compilation+set}" = set; then : 43248fff3f40Smrg enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval 4325e6232409Smrgelse 43268fff3f40Smrg STRICT_COMPILE=no 4327e6232409Smrgfi 43288fff3f40Smrg 43298fff3f40Smrgif test "x$STRICT_COMPILE" = "xyes"; then 43308fff3f40Smrg ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 43318fff3f40Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then : 43328fff3f40Smrg SUNCC="yes" 4333e6232409Smrgelse 43348fff3f40Smrg SUNCC="no" 4335e6232409Smrgfi 4336e6232409Smrg 43378fff3f40Smrg ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" 43388fff3f40Smrgif test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then : 43398fff3f40Smrg INTELCC="yes" 4340e6232409Smrgelse 43418fff3f40Smrg INTELCC="no" 4342e6232409Smrgfi 4343e6232409Smrg 43448fff3f40Smrg if test "x$GCC" = xyes ; then 43458fff3f40Smrg STRICT_CFLAGS="-pedantic -Werror" 43468fff3f40Smrg elif test "x$SUNCC" = "xyes"; then 43478fff3f40Smrg STRICT_CFLAGS="-errwarn" 43488fff3f40Smrg elif test "x$INTELCC" = "xyes"; then 43498fff3f40Smrg STRICT_CFLAGS="-Werror" 43508fff3f40Smrg fi 4351e6232409Smrgfi 43528fff3f40SmrgCWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS" 4353e6232409Smrg 4354e6232409Smrg 4355e6232409Smrg 4356e6232409Smrg 43578fff3f40Smrg# Check whether --with-release-version was given. 43588fff3f40Smrgif test "${with_release_version+set}" = set; then : 43598fff3f40Smrg withval=$with_release_version; RELEASE_VERSION="$withval" 43608fff3f40Smrgelse 43618fff3f40Smrg RELEASE_VERSION="" 43628fff3f40Smrgfi 43638fff3f40Smrg 43648fff3f40Smrg if test "x$RELEASE_VERSION" != "x"; then 43658fff3f40Smrg PACKAGE="$PACKAGE-$RELEASE_VERSION" 43668fff3f40Smrg PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION" 43678fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: Building with package name set to $PACKAGE" >&5 43688fff3f40Smrg$as_echo "$as_me: Building with package name set to $PACKAGE" >&6;} 43698fff3f40Smrg fi 4370e6232409Smrg 4371e6232409Smrgcat >>confdefs.h <<_ACEOF 43728fff3f40Smrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 4373e6232409Smrg_ACEOF 4374e6232409Smrg 43758fff3f40Smrg PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 43768fff3f40Smrg if test "x$PVM" = "x"; then 43778fff3f40Smrg PVM="0" 43788fff3f40Smrg fi 4379e6232409Smrg 4380e6232409Smrgcat >>confdefs.h <<_ACEOF 43818fff3f40Smrg#define PACKAGE_VERSION_MINOR $PVM 4382e6232409Smrg_ACEOF 4383e6232409Smrg 43848fff3f40Smrg PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 43858fff3f40Smrg if test "x$PVP" = "x"; then 43868fff3f40Smrg PVP="0" 43878fff3f40Smrg fi 4388e6232409Smrg 43898fff3f40Smrgcat >>confdefs.h <<_ACEOF 43908fff3f40Smrg#define PACKAGE_VERSION_PATCHLEVEL $PVP 43918fff3f40Smrg_ACEOF 4392e6232409Smrg 4393e6232409Smrg 4394e6232409Smrg 43958fff3f40SmrgCHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \ 43968fff3f40Smrgmv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \ 43978fff3f40Smrg|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \ 43988fff3f40Smrgecho 'git directory not found: installing possibly empty changelog.' >&2)" 4399e6232409Smrg 4400e6232409Smrg 4401e6232409Smrg 4402e6232409Smrg 44038fff3f40Smrgmacros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros` 44048fff3f40SmrgINSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \ 44058fff3f40Smrgmv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \ 44068fff3f40Smrg|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \ 44078fff3f40Smrgecho 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)" 4408e6232409Smrg 4409e6232409Smrg 4410e6232409Smrg 4411e6232409Smrg 44128fff3f40Smrg 44138fff3f40Smrgif test x$APP_MAN_SUFFIX = x ; then 44148fff3f40Smrg APP_MAN_SUFFIX=1 4415e6232409Smrgfi 44168fff3f40Smrgif test x$APP_MAN_DIR = x ; then 44178fff3f40Smrg APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 4418e6232409Smrgfi 4419e6232409Smrg 44208fff3f40Smrgif test x$LIB_MAN_SUFFIX = x ; then 44218fff3f40Smrg LIB_MAN_SUFFIX=3 44228fff3f40Smrgfi 44238fff3f40Smrgif test x$LIB_MAN_DIR = x ; then 44248fff3f40Smrg LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 4425e6232409Smrgfi 4426e6232409Smrg 44278fff3f40Smrgif test x$FILE_MAN_SUFFIX = x ; then 44288fff3f40Smrg case $host_os in 44298fff3f40Smrg solaris*) FILE_MAN_SUFFIX=4 ;; 44308fff3f40Smrg *) FILE_MAN_SUFFIX=5 ;; 44318fff3f40Smrg esac 4432e6232409Smrgfi 44338fff3f40Smrgif test x$FILE_MAN_DIR = x ; then 44348fff3f40Smrg FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 4435e6232409Smrgfi 44368fff3f40Smrg 44378fff3f40Smrgif test x$MISC_MAN_SUFFIX = x ; then 44388fff3f40Smrg case $host_os in 44398fff3f40Smrg solaris*) MISC_MAN_SUFFIX=5 ;; 44408fff3f40Smrg *) MISC_MAN_SUFFIX=7 ;; 44418fff3f40Smrg esac 44428fff3f40Smrgfi 44438fff3f40Smrgif test x$MISC_MAN_DIR = x ; then 44448fff3f40Smrg MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 4445e6232409Smrgfi 4446e6232409Smrg 44478fff3f40Smrgif test x$DRIVER_MAN_SUFFIX = x ; then 44488fff3f40Smrg case $host_os in 44498fff3f40Smrg solaris*) DRIVER_MAN_SUFFIX=7 ;; 44508fff3f40Smrg *) DRIVER_MAN_SUFFIX=4 ;; 44518fff3f40Smrg esac 44528fff3f40Smrgfi 44538fff3f40Smrgif test x$DRIVER_MAN_DIR = x ; then 44548fff3f40Smrg DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 4455e6232409Smrgfi 4456e6232409Smrg 44578fff3f40Smrgif test x$ADMIN_MAN_SUFFIX = x ; then 44588fff3f40Smrg case $host_os in 44598fff3f40Smrg solaris*) ADMIN_MAN_SUFFIX=1m ;; 44608fff3f40Smrg *) ADMIN_MAN_SUFFIX=8 ;; 44618fff3f40Smrg esac 44628fff3f40Smrgfi 44638fff3f40Smrgif test x$ADMIN_MAN_DIR = x ; then 44648fff3f40Smrg ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 4465e6232409Smrgfi 4466e6232409Smrg 4467e6232409Smrg 4468e6232409Smrg 4469e6232409Smrg 4470e6232409Smrg 4471e6232409Smrg 4472e6232409Smrg 4473e6232409Smrg 4474e6232409Smrg 4475e6232409Smrg 4476e6232409Smrg 44778fff3f40Smrg 44788fff3f40Smrg 44798fff3f40Smrg 44808fff3f40Smrg 44818fff3f40Smrg# Check whether --enable-silent-rules was given. 44828fff3f40Smrgif test "${enable_silent_rules+set}" = set; then : 44838fff3f40Smrg enableval=$enable_silent_rules; 4484e6232409Smrgfi 4485e6232409Smrg 44868fff3f40Smrgcase $enable_silent_rules in 44878fff3f40Smrgyes) AM_DEFAULT_VERBOSITY=0;; 44888fff3f40Smrgno) AM_DEFAULT_VERBOSITY=1;; 44898fff3f40Smrg*) AM_DEFAULT_VERBOSITY=0;; 44908fff3f40Smrgesac 44918fff3f40SmrgAM_BACKSLASH='\' 4492e6232409Smrg 4493e6232409Smrg 4494e6232409Smrg 4495e6232409Smrgac_config_headers="$ac_config_headers config.h" 4496e6232409Smrg 4497e6232409Smrg 4498e6232409Smrgac_ext=c 4499e6232409Smrgac_cpp='$CPP $CPPFLAGS' 4500e6232409Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4501e6232409Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4502e6232409Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 4503e6232409Smrgif test -n "$ac_tool_prefix"; then 4504e6232409Smrg # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 4505e6232409Smrgset dummy ${ac_tool_prefix}gcc; ac_word=$2 45068fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 45078fff3f40Smrg$as_echo_n "checking for $ac_word... " >&6; } 45088fff3f40Smrgif test "${ac_cv_prog_CC+set}" = set; then : 45098fff3f40Smrg $as_echo_n "(cached) " >&6 4510e6232409Smrgelse 4511e6232409Smrg if test -n "$CC"; then 4512e6232409Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 4513e6232409Smrgelse 4514e6232409Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4515e6232409Smrgfor as_dir in $PATH 4516e6232409Smrgdo 4517e6232409Smrg IFS=$as_save_IFS 4518e6232409Smrg test -z "$as_dir" && as_dir=. 45198fff3f40Smrg for ac_exec_ext in '' $ac_executable_extensions; do 45208fff3f40Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4521e6232409Smrg ac_cv_prog_CC="${ac_tool_prefix}gcc" 45228fff3f40Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4523e6232409Smrg break 2 4524e6232409Smrg fi 4525e6232409Smrgdone 45268fff3f40Smrg done 4527e6232409SmrgIFS=$as_save_IFS 4528e6232409Smrg 4529e6232409Smrgfi 4530e6232409Smrgfi 4531e6232409SmrgCC=$ac_cv_prog_CC 4532e6232409Smrgif test -n "$CC"; then 45338fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 45348fff3f40Smrg$as_echo "$CC" >&6; } 4535e6232409Smrgelse 45368fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 45378fff3f40Smrg$as_echo "no" >&6; } 4538e6232409Smrgfi 4539e6232409Smrg 4540e6232409Smrg 4541e6232409Smrgfi 4542e6232409Smrgif test -z "$ac_cv_prog_CC"; then 4543e6232409Smrg ac_ct_CC=$CC 4544e6232409Smrg # Extract the first word of "gcc", so it can be a program name with args. 4545e6232409Smrgset dummy gcc; ac_word=$2 45468fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 45478fff3f40Smrg$as_echo_n "checking for $ac_word... " >&6; } 45488fff3f40Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 45498fff3f40Smrg $as_echo_n "(cached) " >&6 4550e6232409Smrgelse 4551e6232409Smrg if test -n "$ac_ct_CC"; then 4552e6232409Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4553e6232409Smrgelse 4554e6232409Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4555e6232409Smrgfor as_dir in $PATH 4556e6232409Smrgdo 4557e6232409Smrg IFS=$as_save_IFS 4558e6232409Smrg test -z "$as_dir" && as_dir=. 45598fff3f40Smrg for ac_exec_ext in '' $ac_executable_extensions; do 45608fff3f40Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4561e6232409Smrg ac_cv_prog_ac_ct_CC="gcc" 45628fff3f40Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4563e6232409Smrg break 2 4564e6232409Smrg fi 4565e6232409Smrgdone 45668fff3f40Smrg done 4567e6232409SmrgIFS=$as_save_IFS 4568e6232409Smrg 4569e6232409Smrgfi 4570e6232409Smrgfi 4571e6232409Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 4572e6232409Smrgif test -n "$ac_ct_CC"; then 45738fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 45748fff3f40Smrg$as_echo "$ac_ct_CC" >&6; } 4575e6232409Smrgelse 45768fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 45778fff3f40Smrg$as_echo "no" >&6; } 4578e6232409Smrgfi 4579e6232409Smrg 4580e6232409Smrg if test "x$ac_ct_CC" = x; then 4581e6232409Smrg CC="" 4582e6232409Smrg else 4583e6232409Smrg case $cross_compiling:$ac_tool_warned in 4584e6232409Smrgyes:) 45858fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 45868fff3f40Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4587e6232409Smrgac_tool_warned=yes ;; 4588e6232409Smrgesac 4589e6232409Smrg CC=$ac_ct_CC 4590e6232409Smrg fi 4591e6232409Smrgelse 4592e6232409Smrg CC="$ac_cv_prog_CC" 4593e6232409Smrgfi 4594e6232409Smrg 4595e6232409Smrgif test -z "$CC"; then 4596e6232409Smrg if test -n "$ac_tool_prefix"; then 4597e6232409Smrg # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 4598e6232409Smrgset dummy ${ac_tool_prefix}cc; ac_word=$2 45998fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 46008fff3f40Smrg$as_echo_n "checking for $ac_word... " >&6; } 46018fff3f40Smrgif test "${ac_cv_prog_CC+set}" = set; then : 46028fff3f40Smrg $as_echo_n "(cached) " >&6 4603e6232409Smrgelse 4604e6232409Smrg if test -n "$CC"; then 4605e6232409Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 4606e6232409Smrgelse 4607e6232409Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4608e6232409Smrgfor as_dir in $PATH 4609e6232409Smrgdo 4610e6232409Smrg IFS=$as_save_IFS 4611e6232409Smrg test -z "$as_dir" && as_dir=. 46128fff3f40Smrg for ac_exec_ext in '' $ac_executable_extensions; do 46138fff3f40Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4614e6232409Smrg ac_cv_prog_CC="${ac_tool_prefix}cc" 46158fff3f40Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4616e6232409Smrg break 2 4617e6232409Smrg fi 4618e6232409Smrgdone 46198fff3f40Smrg done 4620e6232409SmrgIFS=$as_save_IFS 4621e6232409Smrg 4622e6232409Smrgfi 4623e6232409Smrgfi 4624e6232409SmrgCC=$ac_cv_prog_CC 4625e6232409Smrgif test -n "$CC"; then 46268fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 46278fff3f40Smrg$as_echo "$CC" >&6; } 4628e6232409Smrgelse 46298fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 46308fff3f40Smrg$as_echo "no" >&6; } 4631e6232409Smrgfi 4632e6232409Smrg 4633e6232409Smrg 4634e6232409Smrg fi 4635e6232409Smrgfi 4636e6232409Smrgif test -z "$CC"; then 4637e6232409Smrg # Extract the first word of "cc", so it can be a program name with args. 4638e6232409Smrgset dummy cc; ac_word=$2 46398fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 46408fff3f40Smrg$as_echo_n "checking for $ac_word... " >&6; } 46418fff3f40Smrgif test "${ac_cv_prog_CC+set}" = set; then : 46428fff3f40Smrg $as_echo_n "(cached) " >&6 4643e6232409Smrgelse 4644e6232409Smrg if test -n "$CC"; then 4645e6232409Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 4646e6232409Smrgelse 4647e6232409Smrg ac_prog_rejected=no 4648e6232409Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4649e6232409Smrgfor as_dir in $PATH 4650e6232409Smrgdo 4651e6232409Smrg IFS=$as_save_IFS 4652e6232409Smrg test -z "$as_dir" && as_dir=. 46538fff3f40Smrg for ac_exec_ext in '' $ac_executable_extensions; do 46548fff3f40Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4655e6232409Smrg if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 4656e6232409Smrg ac_prog_rejected=yes 4657e6232409Smrg continue 4658e6232409Smrg fi 4659e6232409Smrg ac_cv_prog_CC="cc" 46608fff3f40Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4661e6232409Smrg break 2 4662e6232409Smrg fi 4663e6232409Smrgdone 46648fff3f40Smrg done 4665e6232409SmrgIFS=$as_save_IFS 4666e6232409Smrg 4667e6232409Smrgif test $ac_prog_rejected = yes; then 4668e6232409Smrg # We found a bogon in the path, so make sure we never use it. 4669e6232409Smrg set dummy $ac_cv_prog_CC 4670e6232409Smrg shift 4671e6232409Smrg if test $# != 0; then 4672e6232409Smrg # We chose a different compiler from the bogus one. 4673e6232409Smrg # However, it has the same basename, so the bogon will be chosen 4674e6232409Smrg # first if we set CC to just the basename; use the full file name. 4675e6232409Smrg shift 4676e6232409Smrg ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 4677e6232409Smrg fi 4678e6232409Smrgfi 4679e6232409Smrgfi 4680e6232409Smrgfi 4681e6232409SmrgCC=$ac_cv_prog_CC 4682e6232409Smrgif test -n "$CC"; then 46838fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 46848fff3f40Smrg$as_echo "$CC" >&6; } 4685e6232409Smrgelse 46868fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 46878fff3f40Smrg$as_echo "no" >&6; } 4688e6232409Smrgfi 4689e6232409Smrg 4690e6232409Smrg 4691e6232409Smrgfi 4692e6232409Smrgif test -z "$CC"; then 4693e6232409Smrg if test -n "$ac_tool_prefix"; then 4694e6232409Smrg for ac_prog in cl.exe 4695e6232409Smrg do 4696e6232409Smrg # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4697e6232409Smrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2 46988fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 46998fff3f40Smrg$as_echo_n "checking for $ac_word... " >&6; } 47008fff3f40Smrgif test "${ac_cv_prog_CC+set}" = set; then : 47018fff3f40Smrg $as_echo_n "(cached) " >&6 4702e6232409Smrgelse 4703e6232409Smrg if test -n "$CC"; then 4704e6232409Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 4705e6232409Smrgelse 4706e6232409Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4707e6232409Smrgfor as_dir in $PATH 4708e6232409Smrgdo 4709e6232409Smrg IFS=$as_save_IFS 4710e6232409Smrg test -z "$as_dir" && as_dir=. 47118fff3f40Smrg for ac_exec_ext in '' $ac_executable_extensions; do 47128fff3f40Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4713e6232409Smrg ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 47148fff3f40Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4715e6232409Smrg break 2 4716e6232409Smrg fi 4717e6232409Smrgdone 47188fff3f40Smrg done 4719e6232409SmrgIFS=$as_save_IFS 4720e6232409Smrg 4721e6232409Smrgfi 4722e6232409Smrgfi 4723e6232409SmrgCC=$ac_cv_prog_CC 4724e6232409Smrgif test -n "$CC"; then 47258fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 47268fff3f40Smrg$as_echo "$CC" >&6; } 4727e6232409Smrgelse 47288fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 47298fff3f40Smrg$as_echo "no" >&6; } 4730e6232409Smrgfi 4731e6232409Smrg 4732e6232409Smrg 4733e6232409Smrg test -n "$CC" && break 4734e6232409Smrg done 4735e6232409Smrgfi 4736e6232409Smrgif test -z "$CC"; then 4737e6232409Smrg ac_ct_CC=$CC 4738e6232409Smrg for ac_prog in cl.exe 4739e6232409Smrgdo 4740e6232409Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 4741e6232409Smrgset dummy $ac_prog; ac_word=$2 47428fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 47438fff3f40Smrg$as_echo_n "checking for $ac_word... " >&6; } 47448fff3f40Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 47458fff3f40Smrg $as_echo_n "(cached) " >&6 4746e6232409Smrgelse 4747e6232409Smrg if test -n "$ac_ct_CC"; then 4748e6232409Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4749e6232409Smrgelse 4750e6232409Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4751e6232409Smrgfor as_dir in $PATH 4752e6232409Smrgdo 4753e6232409Smrg IFS=$as_save_IFS 4754e6232409Smrg test -z "$as_dir" && as_dir=. 47558fff3f40Smrg for ac_exec_ext in '' $ac_executable_extensions; do 47568fff3f40Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4757e6232409Smrg ac_cv_prog_ac_ct_CC="$ac_prog" 47588fff3f40Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4759e6232409Smrg break 2 4760e6232409Smrg fi 4761e6232409Smrgdone 47628fff3f40Smrg done 4763e6232409SmrgIFS=$as_save_IFS 4764e6232409Smrg 4765e6232409Smrgfi 4766e6232409Smrgfi 4767e6232409Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 4768e6232409Smrgif test -n "$ac_ct_CC"; then 47698fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 47708fff3f40Smrg$as_echo "$ac_ct_CC" >&6; } 4771e6232409Smrgelse 47728fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 47738fff3f40Smrg$as_echo "no" >&6; } 4774e6232409Smrgfi 4775e6232409Smrg 4776e6232409Smrg 4777e6232409Smrg test -n "$ac_ct_CC" && break 4778e6232409Smrgdone 4779e6232409Smrg 4780e6232409Smrg if test "x$ac_ct_CC" = x; then 4781e6232409Smrg CC="" 4782e6232409Smrg else 4783e6232409Smrg case $cross_compiling:$ac_tool_warned in 4784e6232409Smrgyes:) 47858fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 47868fff3f40Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4787e6232409Smrgac_tool_warned=yes ;; 4788e6232409Smrgesac 4789e6232409Smrg CC=$ac_ct_CC 4790e6232409Smrg fi 4791e6232409Smrgfi 4792e6232409Smrg 4793e6232409Smrgfi 4794e6232409Smrg 4795e6232409Smrg 47968fff3f40Smrgtest -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 47978fff3f40Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 47988fff3f40Smrgas_fn_error "no acceptable C compiler found in \$PATH 47998fff3f40SmrgSee \`config.log' for more details." "$LINENO" 5; } 4800e6232409Smrg 4801e6232409Smrg# Provide some information about the compiler. 48028fff3f40Smrg$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 48038fff3f40Smrgset X $ac_compile 48048fff3f40Smrgac_compiler=$2 48058fff3f40Smrgfor ac_option in --version -v -V -qversion; do 48068fff3f40Smrg { { ac_try="$ac_compiler $ac_option >&5" 4807e6232409Smrgcase "(($ac_try" in 4808e6232409Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4809e6232409Smrg *) ac_try_echo=$ac_try;; 4810e6232409Smrgesac 48118fff3f40Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 48128fff3f40Smrg$as_echo "$ac_try_echo"; } >&5 48138fff3f40Smrg (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4814e6232409Smrg ac_status=$? 48158fff3f40Smrg if test -s conftest.err; then 48168fff3f40Smrg sed '10a\ 48178fff3f40Smrg... rest of stderr output deleted ... 48188fff3f40Smrg 10q' conftest.err >conftest.er1 48198fff3f40Smrg cat conftest.er1 >&5 4820e6232409Smrg fi 48218fff3f40Smrg rm -f conftest.er1 conftest.err 48228fff3f40Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 48238fff3f40Smrg test $ac_status = 0; } 4824e6232409Smrgdone 4825e6232409Smrg 48268fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 48278fff3f40Smrg$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 48288fff3f40Smrgif test "${ac_cv_c_compiler_gnu+set}" = set; then : 48298fff3f40Smrg $as_echo_n "(cached) " >&6 4830e6232409Smrgelse 48318fff3f40Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4832e6232409Smrg/* end confdefs.h. */ 4833e6232409Smrg 4834e6232409Smrgint 4835e6232409Smrgmain () 4836e6232409Smrg{ 4837e6232409Smrg#ifndef __GNUC__ 4838e6232409Smrg choke me 4839e6232409Smrg#endif 4840e6232409Smrg 4841e6232409Smrg ; 4842e6232409Smrg return 0; 4843e6232409Smrg} 4844e6232409Smrg_ACEOF 48458fff3f40Smrgif ac_fn_c_try_compile "$LINENO"; then : 4846e6232409Smrg ac_compiler_gnu=yes 4847e6232409Smrgelse 48488fff3f40Smrg ac_compiler_gnu=no 4849e6232409Smrgfi 4850e6232409Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4851e6232409Smrgac_cv_c_compiler_gnu=$ac_compiler_gnu 4852e6232409Smrg 4853e6232409Smrgfi 48548fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 48558fff3f40Smrg$as_echo "$ac_cv_c_compiler_gnu" >&6; } 48568fff3f40Smrgif test $ac_compiler_gnu = yes; then 48578fff3f40Smrg GCC=yes 48588fff3f40Smrgelse 48598fff3f40Smrg GCC= 48608fff3f40Smrgfi 4861e6232409Smrgac_test_CFLAGS=${CFLAGS+set} 4862e6232409Smrgac_save_CFLAGS=$CFLAGS 48638fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 48648fff3f40Smrg$as_echo_n "checking whether $CC accepts -g... " >&6; } 48658fff3f40Smrgif test "${ac_cv_prog_cc_g+set}" = set; then : 48668fff3f40Smrg $as_echo_n "(cached) " >&6 4867e6232409Smrgelse 4868e6232409Smrg ac_save_c_werror_flag=$ac_c_werror_flag 4869e6232409Smrg ac_c_werror_flag=yes 4870e6232409Smrg ac_cv_prog_cc_g=no 4871e6232409Smrg CFLAGS="-g" 48728fff3f40Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4873e6232409Smrg/* end confdefs.h. */ 4874e6232409Smrg 4875e6232409Smrgint 4876e6232409Smrgmain () 4877e6232409Smrg{ 4878e6232409Smrg 4879e6232409Smrg ; 4880e6232409Smrg return 0; 4881e6232409Smrg} 4882e6232409Smrg_ACEOF 48838fff3f40Smrgif ac_fn_c_try_compile "$LINENO"; then : 4884e6232409Smrg ac_cv_prog_cc_g=yes 4885e6232409Smrgelse 48868fff3f40Smrg CFLAGS="" 48878fff3f40Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4888e6232409Smrg/* end confdefs.h. */ 4889e6232409Smrg 4890e6232409Smrgint 4891e6232409Smrgmain () 4892e6232409Smrg{ 4893e6232409Smrg 4894e6232409Smrg ; 48958fff3f40Smrg return 0; 48968fff3f40Smrg} 48978fff3f40Smrg_ACEOF 48988fff3f40Smrgif ac_fn_c_try_compile "$LINENO"; then : 48998fff3f40Smrg 4900e6232409Smrgelse 49018fff3f40Smrg ac_c_werror_flag=$ac_save_c_werror_flag 49028fff3f40Smrg CFLAGS="-g" 49038fff3f40Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 49048fff3f40Smrg/* end confdefs.h. */ 4905e6232409Smrg 49068fff3f40Smrgint 49078fff3f40Smrgmain () 49088fff3f40Smrg{ 4909e6232409Smrg 49108fff3f40Smrg ; 49118fff3f40Smrg return 0; 49128fff3f40Smrg} 49138fff3f40Smrg_ACEOF 49148fff3f40Smrgif ac_fn_c_try_compile "$LINENO"; then : 49158fff3f40Smrg ac_cv_prog_cc_g=yes 4916e6232409Smrgfi 4917e6232409Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4918e6232409Smrgfi 4919e6232409Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4920e6232409Smrgfi 4921e6232409Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4922e6232409Smrg ac_c_werror_flag=$ac_save_c_werror_flag 4923e6232409Smrgfi 49248fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 49258fff3f40Smrg$as_echo "$ac_cv_prog_cc_g" >&6; } 4926e6232409Smrgif test "$ac_test_CFLAGS" = set; then 4927e6232409Smrg CFLAGS=$ac_save_CFLAGS 4928e6232409Smrgelif test $ac_cv_prog_cc_g = yes; then 4929e6232409Smrg if test "$GCC" = yes; then 4930e6232409Smrg CFLAGS="-g -O2" 4931e6232409Smrg else 4932e6232409Smrg CFLAGS="-g" 4933e6232409Smrg fi 4934e6232409Smrgelse 4935e6232409Smrg if test "$GCC" = yes; then 4936e6232409Smrg CFLAGS="-O2" 4937e6232409Smrg else 4938e6232409Smrg CFLAGS= 4939e6232409Smrg fi 4940e6232409Smrgfi 49418fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 49428fff3f40Smrg$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 49438fff3f40Smrgif test "${ac_cv_prog_cc_c89+set}" = set; then : 49448fff3f40Smrg $as_echo_n "(cached) " >&6 4945e6232409Smrgelse 4946e6232409Smrg ac_cv_prog_cc_c89=no 4947e6232409Smrgac_save_CC=$CC 49488fff3f40Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 4949e6232409Smrg/* end confdefs.h. */ 4950e6232409Smrg#include <stdarg.h> 4951e6232409Smrg#include <stdio.h> 4952e6232409Smrg#include <sys/types.h> 4953e6232409Smrg#include <sys/stat.h> 4954e6232409Smrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4955e6232409Smrgstruct buf { int x; }; 4956e6232409SmrgFILE * (*rcsopen) (struct buf *, struct stat *, int); 4957e6232409Smrgstatic char *e (p, i) 4958e6232409Smrg char **p; 4959e6232409Smrg int i; 4960e6232409Smrg{ 4961e6232409Smrg return p[i]; 4962e6232409Smrg} 4963e6232409Smrgstatic char *f (char * (*g) (char **, int), char **p, ...) 4964e6232409Smrg{ 4965e6232409Smrg char *s; 4966e6232409Smrg va_list v; 4967e6232409Smrg va_start (v,p); 4968e6232409Smrg s = g (p, va_arg (v,int)); 4969e6232409Smrg va_end (v); 4970e6232409Smrg return s; 4971e6232409Smrg} 4972e6232409Smrg 4973e6232409Smrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4974e6232409Smrg function prototypes and stuff, but not '\xHH' hex character constants. 4975e6232409Smrg These don't provoke an error unfortunately, instead are silently treated 4976e6232409Smrg as 'x'. The following induces an error, until -std is added to get 4977e6232409Smrg proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4978e6232409Smrg array size at least. It's necessary to write '\x00'==0 to get something 4979e6232409Smrg that's true only with -std. */ 4980e6232409Smrgint osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4981e6232409Smrg 4982e6232409Smrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4983e6232409Smrg inside strings and character constants. */ 4984e6232409Smrg#define FOO(x) 'x' 4985e6232409Smrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4986e6232409Smrg 4987e6232409Smrgint test (int i, double x); 4988e6232409Smrgstruct s1 {int (*f) (int a);}; 4989e6232409Smrgstruct s2 {int (*f) (double a);}; 4990e6232409Smrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4991e6232409Smrgint argc; 4992e6232409Smrgchar **argv; 4993e6232409Smrgint 4994e6232409Smrgmain () 4995e6232409Smrg{ 4996e6232409Smrgreturn f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4997e6232409Smrg ; 4998e6232409Smrg return 0; 4999e6232409Smrg} 5000e6232409Smrg_ACEOF 5001e6232409Smrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 5002e6232409Smrg -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 5003e6232409Smrgdo 5004e6232409Smrg CC="$ac_save_CC $ac_arg" 50058fff3f40Smrg if ac_fn_c_try_compile "$LINENO"; then : 5006e6232409Smrg ac_cv_prog_cc_c89=$ac_arg 5007e6232409Smrgfi 5008e6232409Smrgrm -f core conftest.err conftest.$ac_objext 5009e6232409Smrg test "x$ac_cv_prog_cc_c89" != "xno" && break 5010e6232409Smrgdone 5011e6232409Smrgrm -f conftest.$ac_ext 5012e6232409SmrgCC=$ac_save_CC 5013e6232409Smrg 5014e6232409Smrgfi 5015e6232409Smrg# AC_CACHE_VAL 5016e6232409Smrgcase "x$ac_cv_prog_cc_c89" in 5017e6232409Smrg x) 50188fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 50198fff3f40Smrg$as_echo "none needed" >&6; } ;; 5020e6232409Smrg xno) 50218fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 50228fff3f40Smrg$as_echo "unsupported" >&6; } ;; 5023e6232409Smrg *) 5024e6232409Smrg CC="$CC $ac_cv_prog_cc_c89" 50258fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 50268fff3f40Smrg$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 5027e6232409Smrgesac 50288fff3f40Smrgif test "x$ac_cv_prog_cc_c89" != xno; then : 5029e6232409Smrg 50308fff3f40Smrgfi 5031e6232409Smrg 5032e6232409Smrgac_ext=c 5033e6232409Smrgac_cpp='$CPP $CPPFLAGS' 5034e6232409Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5035e6232409Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5036e6232409Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 5037e6232409Smrg 5038e6232409Smrgdepcc="$CC" am_compiler_list= 5039e6232409Smrg 50408fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 50418fff3f40Smrg$as_echo_n "checking dependency style of $depcc... " >&6; } 50428fff3f40Smrgif test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : 50438fff3f40Smrg $as_echo_n "(cached) " >&6 5044e6232409Smrgelse 5045e6232409Smrg if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 5046e6232409Smrg # We make a subdir and do the tests there. Otherwise we can end up 5047e6232409Smrg # making bogus files that we don't know about and never remove. For 5048e6232409Smrg # instance it was reported that on HP-UX the gcc test will end up 5049e6232409Smrg # making a dummy file named `D' -- because `-MD' means `put the output 5050e6232409Smrg # in D'. 5051e6232409Smrg mkdir conftest.dir 5052e6232409Smrg # Copy depcomp to subdir because otherwise we won't find it if we're 5053e6232409Smrg # using a relative directory. 5054e6232409Smrg cp "$am_depcomp" conftest.dir 5055e6232409Smrg cd conftest.dir 5056e6232409Smrg # We will build objects and dependencies in a subdirectory because 5057e6232409Smrg # it helps to detect inapplicable dependency modes. For instance 5058e6232409Smrg # both Tru64's cc and ICC support -MD to output dependencies as a 5059e6232409Smrg # side effect of compilation, but ICC will put the dependencies in 5060e6232409Smrg # the current directory while Tru64 will put them in the object 5061e6232409Smrg # directory. 5062e6232409Smrg mkdir sub 5063e6232409Smrg 5064e6232409Smrg am_cv_CC_dependencies_compiler_type=none 5065e6232409Smrg if test "$am_compiler_list" = ""; then 5066e6232409Smrg am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 5067e6232409Smrg fi 50688fff3f40Smrg am__universal=false 50698fff3f40Smrg case " $depcc " in #( 50708fff3f40Smrg *\ -arch\ *\ -arch\ *) am__universal=true ;; 50718fff3f40Smrg esac 50728fff3f40Smrg 5073e6232409Smrg for depmode in $am_compiler_list; do 5074e6232409Smrg # Setup a source with many dependencies, because some compilers 5075e6232409Smrg # like to wrap large dependency lists on column 80 (with \), and 5076e6232409Smrg # we should not choose a depcomp mode which is confused by this. 5077e6232409Smrg # 5078e6232409Smrg # We need to recreate these files for each test, as the compiler may 5079e6232409Smrg # overwrite some of them when testing with obscure command lines. 5080e6232409Smrg # This happens at least with the AIX C compiler. 5081e6232409Smrg : > sub/conftest.c 5082e6232409Smrg for i in 1 2 3 4 5 6; do 5083e6232409Smrg echo '#include "conftst'$i'.h"' >> sub/conftest.c 5084e6232409Smrg # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 5085e6232409Smrg # Solaris 8's {/usr,}/bin/sh. 5086e6232409Smrg touch sub/conftst$i.h 5087e6232409Smrg done 5088e6232409Smrg echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5089e6232409Smrg 50908fff3f40Smrg # We check with `-c' and `-o' for the sake of the "dashmstdout" 50918fff3f40Smrg # mode. It turns out that the SunPro C++ compiler does not properly 50928fff3f40Smrg # handle `-M -o', and we need to detect this. Also, some Intel 50938fff3f40Smrg # versions had trouble with output in subdirs 50948fff3f40Smrg am__obj=sub/conftest.${OBJEXT-o} 50958fff3f40Smrg am__minus_obj="-o $am__obj" 5096e6232409Smrg case $depmode in 50978fff3f40Smrg gcc) 50988fff3f40Smrg # This depmode causes a compiler race in universal mode. 50998fff3f40Smrg test "$am__universal" = false || continue 51008fff3f40Smrg ;; 5101e6232409Smrg nosideeffect) 5102e6232409Smrg # after this tag, mechanisms are not by side-effect, so they'll 5103e6232409Smrg # only be used when explicitly requested 5104e6232409Smrg if test "x$enable_dependency_tracking" = xyes; then 5105e6232409Smrg continue 5106e6232409Smrg else 5107e6232409Smrg break 5108e6232409Smrg fi 5109e6232409Smrg ;; 51108fff3f40Smrg msvisualcpp | msvcmsys) 51118fff3f40Smrg # This compiler won't grok `-c -o', but also, the minuso test has 51128fff3f40Smrg # not run yet. These depmodes are late enough in the game, and 51138fff3f40Smrg # so weak that their functioning should not be impacted. 51148fff3f40Smrg am__obj=conftest.${OBJEXT-o} 51158fff3f40Smrg am__minus_obj= 51168fff3f40Smrg ;; 5117e6232409Smrg none) break ;; 5118e6232409Smrg esac 5119e6232409Smrg if depmode=$depmode \ 51208fff3f40Smrg source=sub/conftest.c object=$am__obj \ 5121e6232409Smrg depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 51228fff3f40Smrg $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 5123e6232409Smrg >/dev/null 2>conftest.err && 51248fff3f40Smrg grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 5125e6232409Smrg grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 51268fff3f40Smrg grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 5127e6232409Smrg ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 5128e6232409Smrg # icc doesn't choke on unknown options, it will just issue warnings 5129e6232409Smrg # or remarks (even with -Werror). So we grep stderr for any message 5130e6232409Smrg # that says an option was ignored or not supported. 5131e6232409Smrg # When given -MP, icc 7.0 and 7.1 complain thusly: 5132e6232409Smrg # icc: Command line warning: ignoring option '-M'; no argument required 5133e6232409Smrg # The diagnosis changed in icc 8.0: 5134e6232409Smrg # icc: Command line remark: option '-MP' not supported 5135e6232409Smrg if (grep 'ignoring option' conftest.err || 5136e6232409Smrg grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 5137e6232409Smrg am_cv_CC_dependencies_compiler_type=$depmode 5138e6232409Smrg break 5139e6232409Smrg fi 5140e6232409Smrg fi 5141e6232409Smrg done 5142e6232409Smrg 5143e6232409Smrg cd .. 5144e6232409Smrg rm -rf conftest.dir 5145e6232409Smrgelse 51468fff3f40Smrg am_cv_CC_dependencies_compiler_type=none 5147e6232409Smrgfi 5148e6232409Smrg 5149e6232409Smrgfi 51508fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 51518fff3f40Smrg$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 51528fff3f40SmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 5153e6232409Smrg 51548fff3f40Smrg if 51558fff3f40Smrg test "x$enable_dependency_tracking" != xno \ 51568fff3f40Smrg && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 51578fff3f40Smrg am__fastdepCC_TRUE= 51588fff3f40Smrg am__fastdepCC_FALSE='#' 51598fff3f40Smrgelse 51608fff3f40Smrg am__fastdepCC_TRUE='#' 51618fff3f40Smrg am__fastdepCC_FALSE= 5162e6232409Smrgfi 5163e6232409Smrg 5164e6232409Smrg 51658fff3f40Smrg 51668fff3f40Smrg 51678fff3f40Smrg 51688fff3f40Smrg# Checks for pkg-config packages 51698fff3f40Smrg 51708fff3f40Smrgpkg_failed=no 51718fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XLSFONTS" >&5 51728fff3f40Smrg$as_echo_n "checking for XLSFONTS... " >&6; } 51738fff3f40Smrg 51748fff3f40Smrgif test -n "$XLSFONTS_CFLAGS"; then 51758fff3f40Smrg pkg_cv_XLSFONTS_CFLAGS="$XLSFONTS_CFLAGS" 51768fff3f40Smrg elif test -n "$PKG_CONFIG"; then 51778fff3f40Smrg if test -n "$PKG_CONFIG" && \ 51788fff3f40Smrg { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5 5179e6232409Smrg ($PKG_CONFIG --exists --print-errors "x11") 2>&5 5180e6232409Smrg ac_status=$? 51818fff3f40Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 51828fff3f40Smrg test $ac_status = 0; }; then 5183e6232409Smrg pkg_cv_XLSFONTS_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null` 5184e6232409Smrgelse 5185e6232409Smrg pkg_failed=yes 5186e6232409Smrgfi 51878fff3f40Smrg else 51888fff3f40Smrg pkg_failed=untried 5189e6232409Smrgfi 51908fff3f40Smrgif test -n "$XLSFONTS_LIBS"; then 51918fff3f40Smrg pkg_cv_XLSFONTS_LIBS="$XLSFONTS_LIBS" 51928fff3f40Smrg elif test -n "$PKG_CONFIG"; then 51938fff3f40Smrg if test -n "$PKG_CONFIG" && \ 51948fff3f40Smrg { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5 5195e6232409Smrg ($PKG_CONFIG --exists --print-errors "x11") 2>&5 5196e6232409Smrg ac_status=$? 51978fff3f40Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 51988fff3f40Smrg test $ac_status = 0; }; then 5199e6232409Smrg pkg_cv_XLSFONTS_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null` 5200e6232409Smrgelse 5201e6232409Smrg pkg_failed=yes 5202e6232409Smrgfi 52038fff3f40Smrg else 52048fff3f40Smrg pkg_failed=untried 5205e6232409Smrgfi 5206e6232409Smrg 52078fff3f40Smrg 52088fff3f40Smrg 5209e6232409Smrgif test $pkg_failed = yes; then 52108fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 52118fff3f40Smrg$as_echo "no" >&6; } 52128fff3f40Smrg 52138fff3f40Smrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 52148fff3f40Smrg _pkg_short_errors_supported=yes 52158fff3f40Smrgelse 52168fff3f40Smrg _pkg_short_errors_supported=no 52178fff3f40Smrgfi 52188fff3f40Smrg if test $_pkg_short_errors_supported = yes; then 52198fff3f40Smrg XLSFONTS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11" 2>&1` 52208fff3f40Smrg else 52218fff3f40Smrg XLSFONTS_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11" 2>&1` 52228fff3f40Smrg fi 5223e6232409Smrg # Put the nasty error message in config.log where it belongs 52248fff3f40Smrg echo "$XLSFONTS_PKG_ERRORS" >&5 5225e6232409Smrg 52268fff3f40Smrg as_fn_error "Package requirements (x11) were not met: 52278fff3f40Smrg 52288fff3f40Smrg$XLSFONTS_PKG_ERRORS 5229e6232409Smrg 5230e6232409SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 5231e6232409Smrginstalled software in a non-standard prefix. 5232e6232409Smrg 52338fff3f40SmrgAlternatively, you may set the environment variables XLSFONTS_CFLAGS 52348fff3f40Smrgand XLSFONTS_LIBS to avoid the need to call pkg-config. 52358fff3f40SmrgSee the pkg-config man page for more details." "$LINENO" 5 5236e6232409Smrgelif test $pkg_failed = untried; then 52378fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 52388fff3f40Smrg$as_echo "no" >&6; } 52398fff3f40Smrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 52408fff3f40Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 52418fff3f40Smrgas_fn_error "The pkg-config script could not be found or is too old. Make sure it 5242e6232409Smrgis in your PATH or set the PKG_CONFIG environment variable to the full 5243e6232409Smrgpath to pkg-config. 5244e6232409Smrg 52458fff3f40SmrgAlternatively, you may set the environment variables XLSFONTS_CFLAGS 52468fff3f40Smrgand XLSFONTS_LIBS to avoid the need to call pkg-config. 52478fff3f40SmrgSee the pkg-config man page for more details. 5248e6232409Smrg 52498fff3f40SmrgTo get pkg-config, see <http://pkg-config.freedesktop.org/>. 52508fff3f40SmrgSee \`config.log' for more details." "$LINENO" 5; } 5251e6232409Smrgelse 5252e6232409Smrg XLSFONTS_CFLAGS=$pkg_cv_XLSFONTS_CFLAGS 5253e6232409Smrg XLSFONTS_LIBS=$pkg_cv_XLSFONTS_LIBS 52548fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 52558fff3f40Smrg$as_echo "yes" >&6; } 5256e6232409Smrg 5257e6232409Smrgfi 5258e6232409Smrg 5259e6232409Smrg 5260e6232409Smrg 5261e6232409Smrg 5262e6232409Smrgac_config_files="$ac_config_files Makefile" 5263e6232409Smrg 5264e6232409Smrgcat >confcache <<\_ACEOF 5265e6232409Smrg# This file is a shell script that caches the results of configure 5266e6232409Smrg# tests run on this system so they can be shared between configure 5267e6232409Smrg# scripts and configure runs, see configure's option --config-cache. 5268e6232409Smrg# It is not useful on other systems. If it contains results you don't 5269e6232409Smrg# want to keep, you may remove or edit it. 5270e6232409Smrg# 5271e6232409Smrg# config.status only pays attention to the cache file if you give it 5272e6232409Smrg# the --recheck option to rerun configure. 5273e6232409Smrg# 5274e6232409Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when 5275e6232409Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the 5276e6232409Smrg# following values. 5277e6232409Smrg 5278e6232409Smrg_ACEOF 5279e6232409Smrg 5280e6232409Smrg# The following way of writing the cache mishandles newlines in values, 5281e6232409Smrg# but we know of no workaround that is simple, portable, and efficient. 5282e6232409Smrg# So, we kill variables containing newlines. 5283e6232409Smrg# Ultrix sh set writes to stderr and can't be redirected directly, 5284e6232409Smrg# and sets the high bit in the cache file unless we assign to the vars. 5285e6232409Smrg( 5286e6232409Smrg for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 5287e6232409Smrg eval ac_val=\$$ac_var 5288e6232409Smrg case $ac_val in #( 5289e6232409Smrg *${as_nl}*) 5290e6232409Smrg case $ac_var in #( 52918fff3f40Smrg *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 52928fff3f40Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 5293e6232409Smrg esac 5294e6232409Smrg case $ac_var in #( 5295e6232409Smrg _ | IFS | as_nl) ;; #( 52968fff3f40Smrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 52978fff3f40Smrg *) { eval $ac_var=; unset $ac_var;} ;; 5298e6232409Smrg esac ;; 5299e6232409Smrg esac 5300e6232409Smrg done 5301e6232409Smrg 5302e6232409Smrg (set) 2>&1 | 5303e6232409Smrg case $as_nl`(ac_space=' '; set) 2>&1` in #( 5304e6232409Smrg *${as_nl}ac_space=\ *) 53058fff3f40Smrg # `set' does not quote correctly, so add quotes: double-quote 53068fff3f40Smrg # substitution turns \\\\ into \\, and sed turns \\ into \. 5307e6232409Smrg sed -n \ 5308e6232409Smrg "s/'/'\\\\''/g; 5309e6232409Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 5310e6232409Smrg ;; #( 5311e6232409Smrg *) 5312e6232409Smrg # `set' quotes correctly as required by POSIX, so do not add quotes. 5313e6232409Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 5314e6232409Smrg ;; 5315e6232409Smrg esac | 5316e6232409Smrg sort 5317e6232409Smrg) | 5318e6232409Smrg sed ' 5319e6232409Smrg /^ac_cv_env_/b end 5320e6232409Smrg t clear 5321e6232409Smrg :clear 5322e6232409Smrg s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 5323e6232409Smrg t end 5324e6232409Smrg s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 5325e6232409Smrg :end' >>confcache 5326e6232409Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 5327e6232409Smrg if test -w "$cache_file"; then 5328e6232409Smrg test "x$cache_file" != "x/dev/null" && 53298fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 53308fff3f40Smrg$as_echo "$as_me: updating cache $cache_file" >&6;} 5331e6232409Smrg cat confcache >$cache_file 5332e6232409Smrg else 53338fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 53348fff3f40Smrg$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 5335e6232409Smrg fi 5336e6232409Smrgfi 5337e6232409Smrgrm -f confcache 5338e6232409Smrg 5339e6232409Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix 5340e6232409Smrg# Let make expand exec_prefix. 5341e6232409Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 5342e6232409Smrg 5343e6232409SmrgDEFS=-DHAVE_CONFIG_H 5344e6232409Smrg 5345e6232409Smrgac_libobjs= 5346e6232409Smrgac_ltlibobjs= 5347e6232409Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 5348e6232409Smrg # 1. Remove the extension, and $U if already installed. 5349e6232409Smrg ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 53508fff3f40Smrg ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 5351e6232409Smrg # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 5352e6232409Smrg # will be set to the directory where LIBOBJS objects are built. 53538fff3f40Smrg as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 53548fff3f40Smrg as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 5355e6232409Smrgdone 5356e6232409SmrgLIBOBJS=$ac_libobjs 5357e6232409Smrg 5358e6232409SmrgLTLIBOBJS=$ac_ltlibobjs 5359e6232409Smrg 5360e6232409Smrg 53618fff3f40Smrg if test -n "$EXEEXT"; then 53628fff3f40Smrg am__EXEEXT_TRUE= 53638fff3f40Smrg am__EXEEXT_FALSE='#' 53648fff3f40Smrgelse 53658fff3f40Smrg am__EXEEXT_TRUE='#' 53668fff3f40Smrg am__EXEEXT_FALSE= 53678fff3f40Smrgfi 53688fff3f40Smrg 5369e6232409Smrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 53708fff3f40Smrg as_fn_error "conditional \"MAINTAINER_MODE\" was never defined. 53718fff3f40SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 5372e6232409Smrgfi 5373e6232409Smrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 53748fff3f40Smrg as_fn_error "conditional \"AMDEP\" was never defined. 53758fff3f40SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 53768fff3f40Smrgfi 53778fff3f40Smrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 53788fff3f40Smrg as_fn_error "conditional \"am__fastdepCC\" was never defined. 53798fff3f40SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 5380e6232409Smrgfi 5381e6232409Smrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 53828fff3f40Smrg as_fn_error "conditional \"am__fastdepCC\" was never defined. 53838fff3f40SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 5384e6232409Smrgfi 5385e6232409Smrg 5386e6232409Smrg: ${CONFIG_STATUS=./config.status} 53878fff3f40Smrgac_write_fail=0 5388e6232409Smrgac_clean_files_save=$ac_clean_files 5389e6232409Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS" 53908fff3f40Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 53918fff3f40Smrg$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 53928fff3f40Smrgas_write_fail=0 53938fff3f40Smrgcat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 5394e6232409Smrg#! $SHELL 5395e6232409Smrg# Generated by $as_me. 5396e6232409Smrg# Run this file to recreate the current configuration. 5397e6232409Smrg# Compiler output produced by configure, useful for debugging 5398e6232409Smrg# configure, is in config.log if it exists. 5399e6232409Smrg 5400e6232409Smrgdebug=false 5401e6232409Smrgac_cs_recheck=false 5402e6232409Smrgac_cs_silent=false 5403e6232409Smrg 54048fff3f40SmrgSHELL=\${CONFIG_SHELL-$SHELL} 54058fff3f40Smrgexport SHELL 54068fff3f40Smrg_ASEOF 54078fff3f40Smrgcat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 54088fff3f40Smrg## -------------------- ## 54098fff3f40Smrg## M4sh Initialization. ## 54108fff3f40Smrg## -------------------- ## 5411e6232409Smrg 54128fff3f40Smrg# Be more Bourne compatible 54138fff3f40SmrgDUALCASE=1; export DUALCASE # for MKS sh 54148fff3f40Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 5415e6232409Smrg emulate sh 5416e6232409Smrg NULLCMD=: 54178fff3f40Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 5418e6232409Smrg # is contrary to our usage. Disable this feature. 5419e6232409Smrg alias -g '${1+"$@"}'='"$@"' 5420e6232409Smrg setopt NO_GLOB_SUBST 5421e6232409Smrgelse 54228fff3f40Smrg case `(set -o) 2>/dev/null` in #( 54238fff3f40Smrg *posix*) : 54248fff3f40Smrg set -o posix ;; #( 54258fff3f40Smrg *) : 54268fff3f40Smrg ;; 54278fff3f40Smrgesac 5428e6232409Smrgfi 5429e6232409Smrg 5430e6232409Smrg 54318fff3f40Smrgas_nl=' 54328fff3f40Smrg' 54338fff3f40Smrgexport as_nl 54348fff3f40Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 54358fff3f40Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 54368fff3f40Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 54378fff3f40Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 54388fff3f40Smrg# Prefer a ksh shell builtin over an external printf program on Solaris, 54398fff3f40Smrg# but without wasting forks for bash or zsh. 54408fff3f40Smrgif test -z "$BASH_VERSION$ZSH_VERSION" \ 54418fff3f40Smrg && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 54428fff3f40Smrg as_echo='print -r --' 54438fff3f40Smrg as_echo_n='print -rn --' 54448fff3f40Smrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 54458fff3f40Smrg as_echo='printf %s\n' 54468fff3f40Smrg as_echo_n='printf %s' 54478fff3f40Smrgelse 54488fff3f40Smrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54498fff3f40Smrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 54508fff3f40Smrg as_echo_n='/usr/ucb/echo -n' 5451e6232409Smrg else 54528fff3f40Smrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 54538fff3f40Smrg as_echo_n_body='eval 54548fff3f40Smrg arg=$1; 54558fff3f40Smrg case $arg in #( 54568fff3f40Smrg *"$as_nl"*) 54578fff3f40Smrg expr "X$arg" : "X\\(.*\\)$as_nl"; 54588fff3f40Smrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 54598fff3f40Smrg esac; 54608fff3f40Smrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 54618fff3f40Smrg ' 54628fff3f40Smrg export as_echo_n_body 54638fff3f40Smrg as_echo_n='sh -c $as_echo_n_body as_echo' 5464e6232409Smrg fi 54658fff3f40Smrg export as_echo_body 54668fff3f40Smrg as_echo='sh -c $as_echo_body as_echo' 5467e6232409Smrgfi 5468e6232409Smrg 54698fff3f40Smrg# The user is always right. 54708fff3f40Smrgif test "${PATH_SEPARATOR+set}" != set; then 54718fff3f40Smrg PATH_SEPARATOR=: 54728fff3f40Smrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 54738fff3f40Smrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 54748fff3f40Smrg PATH_SEPARATOR=';' 54758fff3f40Smrg } 5476e6232409Smrgfi 5477e6232409Smrg 5478e6232409Smrg 5479e6232409Smrg# IFS 5480e6232409Smrg# We need space, tab and new line, in precisely that order. Quoting is 5481e6232409Smrg# there to prevent editors from complaining about space-tab. 5482e6232409Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 5483e6232409Smrg# splitting by setting IFS to empty value.) 5484e6232409SmrgIFS=" "" $as_nl" 5485e6232409Smrg 5486e6232409Smrg# Find who we are. Look in the path if we contain no directory separator. 54878fff3f40Smrgcase $0 in #(( 5488e6232409Smrg *[\\/]* ) as_myself=$0 ;; 5489e6232409Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5490e6232409Smrgfor as_dir in $PATH 5491e6232409Smrgdo 5492e6232409Smrg IFS=$as_save_IFS 5493e6232409Smrg test -z "$as_dir" && as_dir=. 54948fff3f40Smrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 54958fff3f40Smrg done 5496e6232409SmrgIFS=$as_save_IFS 5497e6232409Smrg 5498e6232409Smrg ;; 5499e6232409Smrgesac 5500e6232409Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 5501e6232409Smrg# in which case we are not to be found in the path. 5502e6232409Smrgif test "x$as_myself" = x; then 5503e6232409Smrg as_myself=$0 5504e6232409Smrgfi 5505e6232409Smrgif test ! -f "$as_myself"; then 55068fff3f40Smrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 55078fff3f40Smrg exit 1 5508e6232409Smrgfi 5509e6232409Smrg 55108fff3f40Smrg# Unset variables that we do not need and which cause bugs (e.g. in 55118fff3f40Smrg# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 55128fff3f40Smrg# suppresses any "Segmentation fault" message there. '((' could 55138fff3f40Smrg# trigger a bug in pdksh 5.2.14. 55148fff3f40Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH 55158fff3f40Smrgdo eval test x\${$as_var+set} = xset \ 55168fff3f40Smrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 5517e6232409Smrgdone 5518e6232409SmrgPS1='$ ' 5519e6232409SmrgPS2='> ' 5520e6232409SmrgPS4='+ ' 5521e6232409Smrg 5522e6232409Smrg# NLS nuisances. 55238fff3f40SmrgLC_ALL=C 55248fff3f40Smrgexport LC_ALL 55258fff3f40SmrgLANGUAGE=C 55268fff3f40Smrgexport LANGUAGE 55278fff3f40Smrg 55288fff3f40Smrg# CDPATH. 55298fff3f40Smrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 55308fff3f40Smrg 55318fff3f40Smrg 55328fff3f40Smrg# as_fn_error ERROR [LINENO LOG_FD] 55338fff3f40Smrg# --------------------------------- 55348fff3f40Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 55358fff3f40Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 55368fff3f40Smrg# script with status $?, using 1 if that was 0. 55378fff3f40Smrgas_fn_error () 55388fff3f40Smrg{ 55398fff3f40Smrg as_status=$?; test $as_status -eq 0 && as_status=1 55408fff3f40Smrg if test "$3"; then 55418fff3f40Smrg as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 55428fff3f40Smrg $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 5543e6232409Smrg fi 55448fff3f40Smrg $as_echo "$as_me: error: $1" >&2 55458fff3f40Smrg as_fn_exit $as_status 55468fff3f40Smrg} # as_fn_error 55478fff3f40Smrg 55488fff3f40Smrg 55498fff3f40Smrg# as_fn_set_status STATUS 55508fff3f40Smrg# ----------------------- 55518fff3f40Smrg# Set $? to STATUS, without forking. 55528fff3f40Smrgas_fn_set_status () 55538fff3f40Smrg{ 55548fff3f40Smrg return $1 55558fff3f40Smrg} # as_fn_set_status 55568fff3f40Smrg 55578fff3f40Smrg# as_fn_exit STATUS 55588fff3f40Smrg# ----------------- 55598fff3f40Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 55608fff3f40Smrgas_fn_exit () 55618fff3f40Smrg{ 55628fff3f40Smrg set +e 55638fff3f40Smrg as_fn_set_status $1 55648fff3f40Smrg exit $1 55658fff3f40Smrg} # as_fn_exit 55668fff3f40Smrg 55678fff3f40Smrg# as_fn_unset VAR 55688fff3f40Smrg# --------------- 55698fff3f40Smrg# Portably unset VAR. 55708fff3f40Smrgas_fn_unset () 55718fff3f40Smrg{ 55728fff3f40Smrg { eval $1=; unset $1;} 55738fff3f40Smrg} 55748fff3f40Smrgas_unset=as_fn_unset 55758fff3f40Smrg# as_fn_append VAR VALUE 55768fff3f40Smrg# ---------------------- 55778fff3f40Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take 55788fff3f40Smrg# advantage of any shell optimizations that allow amortized linear growth over 55798fff3f40Smrg# repeated appends, instead of the typical quadratic growth present in naive 55808fff3f40Smrg# implementations. 55818fff3f40Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 55828fff3f40Smrg eval 'as_fn_append () 55838fff3f40Smrg { 55848fff3f40Smrg eval $1+=\$2 55858fff3f40Smrg }' 55868fff3f40Smrgelse 55878fff3f40Smrg as_fn_append () 55888fff3f40Smrg { 55898fff3f40Smrg eval $1=\$$1\$2 55908fff3f40Smrg } 55918fff3f40Smrgfi # as_fn_append 55928fff3f40Smrg 55938fff3f40Smrg# as_fn_arith ARG... 55948fff3f40Smrg# ------------------ 55958fff3f40Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the 55968fff3f40Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 55978fff3f40Smrg# must be portable across $(()) and expr. 55988fff3f40Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 55998fff3f40Smrg eval 'as_fn_arith () 56008fff3f40Smrg { 56018fff3f40Smrg as_val=$(( $* )) 56028fff3f40Smrg }' 56038fff3f40Smrgelse 56048fff3f40Smrg as_fn_arith () 56058fff3f40Smrg { 56068fff3f40Smrg as_val=`expr "$@" || test $? -eq 1` 56078fff3f40Smrg } 56088fff3f40Smrgfi # as_fn_arith 56098fff3f40Smrg 5610e6232409Smrg 5611e6232409Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 5612e6232409Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 5613e6232409Smrg as_expr=expr 5614e6232409Smrgelse 5615e6232409Smrg as_expr=false 5616e6232409Smrgfi 5617e6232409Smrg 5618e6232409Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 5619e6232409Smrg as_basename=basename 5620e6232409Smrgelse 5621e6232409Smrg as_basename=false 5622e6232409Smrgfi 5623e6232409Smrg 56248fff3f40Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 56258fff3f40Smrg as_dirname=dirname 56268fff3f40Smrgelse 56278fff3f40Smrg as_dirname=false 56288fff3f40Smrgfi 56298fff3f40Smrg 5630e6232409Smrgas_me=`$as_basename -- "$0" || 5631e6232409Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 5632e6232409Smrg X"$0" : 'X\(//\)$' \| \ 5633e6232409Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 56348fff3f40Smrg$as_echo X/"$0" | 5635e6232409Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 5636e6232409Smrg s//\1/ 5637e6232409Smrg q 5638e6232409Smrg } 5639e6232409Smrg /^X\/\(\/\/\)$/{ 5640e6232409Smrg s//\1/ 5641e6232409Smrg q 5642e6232409Smrg } 5643e6232409Smrg /^X\/\(\/\).*/{ 5644e6232409Smrg s//\1/ 5645e6232409Smrg q 5646e6232409Smrg } 5647e6232409Smrg s/.*/./; q'` 5648e6232409Smrg 56498fff3f40Smrg# Avoid depending upon Character Ranges. 56508fff3f40Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 56518fff3f40Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 56528fff3f40Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 56538fff3f40Smrgas_cr_digits='0123456789' 56548fff3f40Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 5655e6232409Smrg 5656e6232409SmrgECHO_C= ECHO_N= ECHO_T= 56578fff3f40Smrgcase `echo -n x` in #((((( 5658e6232409Smrg-n*) 56598fff3f40Smrg case `echo 'xy\c'` in 5660e6232409Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 56618fff3f40Smrg xy) ECHO_C='\c';; 56628fff3f40Smrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 56638fff3f40Smrg ECHO_T=' ';; 5664e6232409Smrg esac;; 5665e6232409Smrg*) 5666e6232409Smrg ECHO_N='-n';; 5667e6232409Smrgesac 5668e6232409Smrg 5669e6232409Smrgrm -f conf$$ conf$$.exe conf$$.file 5670e6232409Smrgif test -d conf$$.dir; then 5671e6232409Smrg rm -f conf$$.dir/conf$$.file 5672e6232409Smrgelse 5673e6232409Smrg rm -f conf$$.dir 56748fff3f40Smrg mkdir conf$$.dir 2>/dev/null 56758fff3f40Smrgfi 56768fff3f40Smrgif (echo >conf$$.file) 2>/dev/null; then 56778fff3f40Smrg if ln -s conf$$.file conf$$ 2>/dev/null; then 56788fff3f40Smrg as_ln_s='ln -s' 56798fff3f40Smrg # ... but there are two gotchas: 56808fff3f40Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 56818fff3f40Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 56828fff3f40Smrg # In both cases, we have to default to `cp -p'. 56838fff3f40Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 56848fff3f40Smrg as_ln_s='cp -p' 56858fff3f40Smrg elif ln conf$$.file conf$$ 2>/dev/null; then 56868fff3f40Smrg as_ln_s=ln 56878fff3f40Smrg else 5688e6232409Smrg as_ln_s='cp -p' 56898fff3f40Smrg fi 5690e6232409Smrgelse 5691e6232409Smrg as_ln_s='cp -p' 5692e6232409Smrgfi 5693e6232409Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5694e6232409Smrgrmdir conf$$.dir 2>/dev/null 5695e6232409Smrg 56968fff3f40Smrg 56978fff3f40Smrg# as_fn_mkdir_p 56988fff3f40Smrg# ------------- 56998fff3f40Smrg# Create "$as_dir" as a directory, including parents if necessary. 57008fff3f40Smrgas_fn_mkdir_p () 57018fff3f40Smrg{ 57028fff3f40Smrg 57038fff3f40Smrg case $as_dir in #( 57048fff3f40Smrg -*) as_dir=./$as_dir;; 57058fff3f40Smrg esac 57068fff3f40Smrg test -d "$as_dir" || eval $as_mkdir_p || { 57078fff3f40Smrg as_dirs= 57088fff3f40Smrg while :; do 57098fff3f40Smrg case $as_dir in #( 57108fff3f40Smrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 57118fff3f40Smrg *) as_qdir=$as_dir;; 57128fff3f40Smrg esac 57138fff3f40Smrg as_dirs="'$as_qdir' $as_dirs" 57148fff3f40Smrg as_dir=`$as_dirname -- "$as_dir" || 57158fff3f40Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 57168fff3f40Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 57178fff3f40Smrg X"$as_dir" : 'X\(//\)$' \| \ 57188fff3f40Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 57198fff3f40Smrg$as_echo X"$as_dir" | 57208fff3f40Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 57218fff3f40Smrg s//\1/ 57228fff3f40Smrg q 57238fff3f40Smrg } 57248fff3f40Smrg /^X\(\/\/\)[^/].*/{ 57258fff3f40Smrg s//\1/ 57268fff3f40Smrg q 57278fff3f40Smrg } 57288fff3f40Smrg /^X\(\/\/\)$/{ 57298fff3f40Smrg s//\1/ 57308fff3f40Smrg q 57318fff3f40Smrg } 57328fff3f40Smrg /^X\(\/\).*/{ 57338fff3f40Smrg s//\1/ 57348fff3f40Smrg q 57358fff3f40Smrg } 57368fff3f40Smrg s/.*/./; q'` 57378fff3f40Smrg test -d "$as_dir" && break 57388fff3f40Smrg done 57398fff3f40Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 57408fff3f40Smrg } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 57418fff3f40Smrg 57428fff3f40Smrg 57438fff3f40Smrg} # as_fn_mkdir_p 5744e6232409Smrgif mkdir -p . 2>/dev/null; then 57458fff3f40Smrg as_mkdir_p='mkdir -p "$as_dir"' 5746e6232409Smrgelse 5747e6232409Smrg test -d ./-p && rmdir ./-p 5748e6232409Smrg as_mkdir_p=false 5749e6232409Smrgfi 5750e6232409Smrg 57518fff3f40Smrgif test -x / >/dev/null 2>&1; then 57528fff3f40Smrg as_test_x='test -x' 5753e6232409Smrgelse 57548fff3f40Smrg if ls -dL / >/dev/null 2>&1; then 57558fff3f40Smrg as_ls_L_option=L 57568fff3f40Smrg else 57578fff3f40Smrg as_ls_L_option= 57588fff3f40Smrg fi 57598fff3f40Smrg as_test_x=' 57608fff3f40Smrg eval sh -c '\'' 57618fff3f40Smrg if test -d "$1"; then 57628fff3f40Smrg test -d "$1/."; 57638fff3f40Smrg else 57648fff3f40Smrg case $1 in #( 57658fff3f40Smrg -*)set "./$1";; 57668fff3f40Smrg esac; 57678fff3f40Smrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 57688fff3f40Smrg ???[sx]*):;;*)false;;esac;fi 57698fff3f40Smrg '\'' sh 57708fff3f40Smrg ' 5771e6232409Smrgfi 57728fff3f40Smrgas_executable_p=$as_test_x 5773e6232409Smrg 5774e6232409Smrg# Sed expression to map a string onto a valid CPP name. 5775e6232409Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5776e6232409Smrg 5777e6232409Smrg# Sed expression to map a string onto a valid variable name. 5778e6232409Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5779e6232409Smrg 5780e6232409Smrg 5781e6232409Smrgexec 6>&1 57828fff3f40Smrg## ----------------------------------- ## 57838fff3f40Smrg## Main body of $CONFIG_STATUS script. ## 57848fff3f40Smrg## ----------------------------------- ## 57858fff3f40Smrg_ASEOF 57868fff3f40Smrgtest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 5787e6232409Smrg 57888fff3f40Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 57898fff3f40Smrg# Save the log message, to keep $0 and so on meaningful, and to 5790e6232409Smrg# report actual input values of CONFIG_FILES etc. instead of their 5791e6232409Smrg# values after options handling. 5792e6232409Smrgac_log=" 57938fff3f40SmrgThis file was extended by xlsfonts $as_me 1.0.3, which was 57948fff3f40Smrggenerated by GNU Autoconf 2.65. Invocation command line was 5795e6232409Smrg 5796e6232409Smrg CONFIG_FILES = $CONFIG_FILES 5797e6232409Smrg CONFIG_HEADERS = $CONFIG_HEADERS 5798e6232409Smrg CONFIG_LINKS = $CONFIG_LINKS 5799e6232409Smrg CONFIG_COMMANDS = $CONFIG_COMMANDS 5800e6232409Smrg $ $0 $@ 5801e6232409Smrg 5802e6232409Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q` 5803e6232409Smrg" 5804e6232409Smrg 5805e6232409Smrg_ACEOF 5806e6232409Smrg 58078fff3f40Smrgcase $ac_config_files in *" 58088fff3f40Smrg"*) set x $ac_config_files; shift; ac_config_files=$*;; 58098fff3f40Smrgesac 58108fff3f40Smrg 58118fff3f40Smrgcase $ac_config_headers in *" 58128fff3f40Smrg"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 58138fff3f40Smrgesac 58148fff3f40Smrg 58158fff3f40Smrg 58168fff3f40Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5817e6232409Smrg# Files that config.status was made for. 5818e6232409Smrgconfig_files="$ac_config_files" 5819e6232409Smrgconfig_headers="$ac_config_headers" 5820e6232409Smrgconfig_commands="$ac_config_commands" 5821e6232409Smrg 5822e6232409Smrg_ACEOF 5823e6232409Smrg 58248fff3f40Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5825e6232409Smrgac_cs_usage="\ 58268fff3f40Smrg\`$as_me' instantiates files and other configuration actions 58278fff3f40Smrgfrom templates according to the current configuration. Unless the files 58288fff3f40Smrgand actions are specified as TAGs, all are instantiated by default. 5829e6232409Smrg 58308fff3f40SmrgUsage: $0 [OPTION]... [TAG]... 5831e6232409Smrg 5832e6232409Smrg -h, --help print this help, then exit 58338fff3f40Smrg -V, --version print version number and configuration settings, then exit 58348fff3f40Smrg --config print configuration, then exit 58358fff3f40Smrg -q, --quiet, --silent 58368fff3f40Smrg do not print progress messages 5837e6232409Smrg -d, --debug don't remove temporary files 5838e6232409Smrg --recheck update $as_me by reconfiguring in the same conditions 58398fff3f40Smrg --file=FILE[:TEMPLATE] 58408fff3f40Smrg instantiate the configuration file FILE 58418fff3f40Smrg --header=FILE[:TEMPLATE] 58428fff3f40Smrg instantiate the configuration header FILE 5843e6232409Smrg 5844e6232409SmrgConfiguration files: 5845e6232409Smrg$config_files 5846e6232409Smrg 5847e6232409SmrgConfiguration headers: 5848e6232409Smrg$config_headers 5849e6232409Smrg 5850e6232409SmrgConfiguration commands: 5851e6232409Smrg$config_commands 5852e6232409Smrg 58538fff3f40SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>." 5854e6232409Smrg 5855e6232409Smrg_ACEOF 58568fff3f40Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 58578fff3f40Smrgac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 5858e6232409Smrgac_cs_version="\\ 58598fff3f40Smrgxlsfonts config.status 1.0.3 58608fff3f40Smrgconfigured by $0, generated by GNU Autoconf 2.65, 58618fff3f40Smrg with options \\"\$ac_cs_config\\" 5862e6232409Smrg 58638fff3f40SmrgCopyright (C) 2009 Free Software Foundation, Inc. 5864e6232409SmrgThis config.status script is free software; the Free Software Foundation 5865e6232409Smrggives unlimited permission to copy, distribute and modify it." 5866e6232409Smrg 5867e6232409Smrgac_pwd='$ac_pwd' 5868e6232409Smrgsrcdir='$srcdir' 5869e6232409SmrgINSTALL='$INSTALL' 58708fff3f40SmrgMKDIR_P='$MKDIR_P' 58718fff3f40SmrgAWK='$AWK' 58728fff3f40Smrgtest -n "\$AWK" || AWK=awk 5873e6232409Smrg_ACEOF 5874e6232409Smrg 58758fff3f40Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 58768fff3f40Smrg# The default lists apply if the user does not specify any file. 5877e6232409Smrgac_need_defaults=: 5878e6232409Smrgwhile test $# != 0 5879e6232409Smrgdo 5880e6232409Smrg case $1 in 5881e6232409Smrg --*=*) 5882e6232409Smrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 5883e6232409Smrg ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 5884e6232409Smrg ac_shift=: 5885e6232409Smrg ;; 5886e6232409Smrg *) 5887e6232409Smrg ac_option=$1 5888e6232409Smrg ac_optarg=$2 5889e6232409Smrg ac_shift=shift 5890e6232409Smrg ;; 5891e6232409Smrg esac 5892e6232409Smrg 5893e6232409Smrg case $ac_option in 5894e6232409Smrg # Handling of the options. 5895e6232409Smrg -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 5896e6232409Smrg ac_cs_recheck=: ;; 5897e6232409Smrg --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 58988fff3f40Smrg $as_echo "$ac_cs_version"; exit ;; 58998fff3f40Smrg --config | --confi | --conf | --con | --co | --c ) 59008fff3f40Smrg $as_echo "$ac_cs_config"; exit ;; 5901e6232409Smrg --debug | --debu | --deb | --de | --d | -d ) 5902e6232409Smrg debug=: ;; 5903e6232409Smrg --file | --fil | --fi | --f ) 5904e6232409Smrg $ac_shift 59058fff3f40Smrg case $ac_optarg in 59068fff3f40Smrg *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 59078fff3f40Smrg esac 59088fff3f40Smrg as_fn_append CONFIG_FILES " '$ac_optarg'" 5909e6232409Smrg ac_need_defaults=false;; 5910e6232409Smrg --header | --heade | --head | --hea ) 5911e6232409Smrg $ac_shift 59128fff3f40Smrg case $ac_optarg in 59138fff3f40Smrg *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 59148fff3f40Smrg esac 59158fff3f40Smrg as_fn_append CONFIG_HEADERS " '$ac_optarg'" 5916e6232409Smrg ac_need_defaults=false;; 5917e6232409Smrg --he | --h) 5918e6232409Smrg # Conflict between --help and --header 59198fff3f40Smrg as_fn_error "ambiguous option: \`$1' 59208fff3f40SmrgTry \`$0 --help' for more information.";; 5921e6232409Smrg --help | --hel | -h ) 59228fff3f40Smrg $as_echo "$ac_cs_usage"; exit ;; 5923e6232409Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 5924e6232409Smrg | -silent | --silent | --silen | --sile | --sil | --si | --s) 5925e6232409Smrg ac_cs_silent=: ;; 5926e6232409Smrg 5927e6232409Smrg # This is an error. 59288fff3f40Smrg -*) as_fn_error "unrecognized option: \`$1' 59298fff3f40SmrgTry \`$0 --help' for more information." ;; 5930e6232409Smrg 59318fff3f40Smrg *) as_fn_append ac_config_targets " $1" 5932e6232409Smrg ac_need_defaults=false ;; 5933e6232409Smrg 5934e6232409Smrg esac 5935e6232409Smrg shift 5936e6232409Smrgdone 5937e6232409Smrg 5938e6232409Smrgac_configure_extra_args= 5939e6232409Smrg 5940e6232409Smrgif $ac_cs_silent; then 5941e6232409Smrg exec 6>/dev/null 5942e6232409Smrg ac_configure_extra_args="$ac_configure_extra_args --silent" 5943e6232409Smrgfi 5944e6232409Smrg 5945e6232409Smrg_ACEOF 59468fff3f40Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5947e6232409Smrgif \$ac_cs_recheck; then 59488fff3f40Smrg set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 59498fff3f40Smrg shift 59508fff3f40Smrg \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 59518fff3f40Smrg CONFIG_SHELL='$SHELL' 5952e6232409Smrg export CONFIG_SHELL 59538fff3f40Smrg exec "\$@" 5954e6232409Smrgfi 5955e6232409Smrg 5956e6232409Smrg_ACEOF 59578fff3f40Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5958e6232409Smrgexec 5>>config.log 5959e6232409Smrg{ 5960e6232409Smrg echo 5961e6232409Smrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 5962e6232409Smrg## Running $as_me. ## 5963e6232409Smrg_ASBOX 59648fff3f40Smrg $as_echo "$ac_log" 5965e6232409Smrg} >&5 5966e6232409Smrg 5967e6232409Smrg_ACEOF 59688fff3f40Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5969e6232409Smrg# 5970e6232409Smrg# INIT-COMMANDS 5971e6232409Smrg# 5972e6232409SmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 5973e6232409Smrg 5974e6232409Smrg_ACEOF 5975e6232409Smrg 59768fff3f40Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5977e6232409Smrg 5978e6232409Smrg# Handling of arguments. 5979e6232409Smrgfor ac_config_target in $ac_config_targets 5980e6232409Smrgdo 5981e6232409Smrg case $ac_config_target in 5982e6232409Smrg "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 59838fff3f40Smrg "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 5984e6232409Smrg "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 5985e6232409Smrg 59868fff3f40Smrg *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 5987e6232409Smrg esac 5988e6232409Smrgdone 5989e6232409Smrg 5990e6232409Smrg 5991e6232409Smrg# If the user did not use the arguments to specify the items to instantiate, 5992e6232409Smrg# then the envvar interface is used. Set only those that are not. 5993e6232409Smrg# We use the long form for the default assignment because of an extremely 5994e6232409Smrg# bizarre bug on SunOS 4.1.3. 5995e6232409Smrgif $ac_need_defaults; then 5996e6232409Smrg test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 5997e6232409Smrg test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 5998e6232409Smrg test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 5999e6232409Smrgfi 6000e6232409Smrg 6001e6232409Smrg# Have a temporary directory for convenience. Make it in the build tree 6002e6232409Smrg# simply because there is no reason against having it here, and in addition, 6003e6232409Smrg# creating and moving files from /tmp can sometimes cause problems. 6004e6232409Smrg# Hook for its removal unless debugging. 6005e6232409Smrg# Note that there is a small window in which the directory will not be cleaned: 6006e6232409Smrg# after its creation but before its name has been assigned to `$tmp'. 6007e6232409Smrg$debug || 6008e6232409Smrg{ 6009e6232409Smrg tmp= 6010e6232409Smrg trap 'exit_status=$? 6011e6232409Smrg { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 6012e6232409Smrg' 0 60138fff3f40Smrg trap 'as_fn_exit 1' 1 2 13 15 6014e6232409Smrg} 6015e6232409Smrg# Create a (secure) tmp directory for tmp files. 6016e6232409Smrg 6017e6232409Smrg{ 6018e6232409Smrg tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 6019e6232409Smrg test -n "$tmp" && test -d "$tmp" 6020e6232409Smrg} || 6021e6232409Smrg{ 6022e6232409Smrg tmp=./conf$$-$RANDOM 6023e6232409Smrg (umask 077 && mkdir "$tmp") 60248fff3f40Smrg} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 6025e6232409Smrg 60268fff3f40Smrg# Set up the scripts for CONFIG_FILES section. 60278fff3f40Smrg# No need to generate them if there are no CONFIG_FILES. 60288fff3f40Smrg# This happens for instance with `./config.status config.h'. 6029e6232409Smrgif test -n "$CONFIG_FILES"; then 6030e6232409Smrg 6031e6232409Smrg 60328fff3f40Smrgac_cr=`echo X | tr X '\015'` 60338fff3f40Smrg# On cygwin, bash can eat \r inside `` if the user requested igncr. 60348fff3f40Smrg# But we know of no other shell where ac_cr would be empty at this 60358fff3f40Smrg# point, so we can use a bashism as a fallback. 60368fff3f40Smrgif test "x$ac_cr" = x; then 60378fff3f40Smrg eval ac_cr=\$\'\\r\' 60388fff3f40Smrgfi 60398fff3f40Smrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 60408fff3f40Smrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 60418fff3f40Smrg ac_cs_awk_cr='\r' 60428fff3f40Smrgelse 60438fff3f40Smrg ac_cs_awk_cr=$ac_cr 6044e6232409Smrgfi 6045e6232409Smrg 60468fff3f40Smrgecho 'BEGIN {' >"$tmp/subs1.awk" && 6047e6232409Smrg_ACEOF 6048e6232409Smrg 6049e6232409Smrg 60508fff3f40Smrg{ 60518fff3f40Smrg echo "cat >conf$$subs.awk <<_ACEOF" && 60528fff3f40Smrg echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 60538fff3f40Smrg echo "_ACEOF" 60548fff3f40Smrg} >conf$$subs.sh || 60558fff3f40Smrg as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 60568fff3f40Smrgac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 6057e6232409Smrgac_delim='%!_!# ' 6058e6232409Smrgfor ac_last_try in false false false false false :; do 60598fff3f40Smrg . ./conf$$subs.sh || 60608fff3f40Smrg as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 6061e6232409Smrg 60628fff3f40Smrg ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 60638fff3f40Smrg if test $ac_delim_n = $ac_delim_num; then 6064e6232409Smrg break 6065e6232409Smrg elif $ac_last_try; then 60668fff3f40Smrg as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 6067e6232409Smrg else 6068e6232409Smrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 6069e6232409Smrg fi 6070e6232409Smrgdone 60718fff3f40Smrgrm -f conf$$subs.sh 6072e6232409Smrg 60738fff3f40Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 60748fff3f40Smrgcat >>"\$tmp/subs1.awk" <<\\_ACAWK && 60758fff3f40Smrg_ACEOF 60768fff3f40Smrgsed -n ' 60778fff3f40Smrgh 60788fff3f40Smrgs/^/S["/; s/!.*/"]=/ 60798fff3f40Smrgp 60808fff3f40Smrgg 60818fff3f40Smrgs/^[^!]*!// 60828fff3f40Smrg:repl 60838fff3f40Smrgt repl 60848fff3f40Smrgs/'"$ac_delim"'$// 60858fff3f40Smrgt delim 60868fff3f40Smrg:nl 60878fff3f40Smrgh 60888fff3f40Smrgs/\(.\{148\}\)..*/\1/ 60898fff3f40Smrgt more1 60908fff3f40Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 60918fff3f40Smrgp 60928fff3f40Smrgn 60938fff3f40Smrgb repl 60948fff3f40Smrg:more1 60958fff3f40Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 60968fff3f40Smrgp 60978fff3f40Smrgg 60988fff3f40Smrgs/.\{148\}// 60998fff3f40Smrgt nl 61008fff3f40Smrg:delim 61018fff3f40Smrgh 61028fff3f40Smrgs/\(.\{148\}\)..*/\1/ 61038fff3f40Smrgt more2 61048fff3f40Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/ 61058fff3f40Smrgp 61068fff3f40Smrgb 61078fff3f40Smrg:more2 61088fff3f40Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 61098fff3f40Smrgp 61108fff3f40Smrgg 61118fff3f40Smrgs/.\{148\}// 61128fff3f40Smrgt delim 61138fff3f40Smrg' <conf$$subs.awk | sed ' 61148fff3f40Smrg/^[^""]/{ 61158fff3f40Smrg N 61168fff3f40Smrg s/\n// 61178fff3f40Smrg} 61188fff3f40Smrg' >>$CONFIG_STATUS || ac_write_fail=1 61198fff3f40Smrgrm -f conf$$subs.awk 61208fff3f40Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 61218fff3f40Smrg_ACAWK 61228fff3f40Smrgcat >>"\$tmp/subs1.awk" <<_ACAWK && 61238fff3f40Smrg for (key in S) S_is_set[key] = 1 61248fff3f40Smrg FS = "" 61258fff3f40Smrg 61268fff3f40Smrg} 61278fff3f40Smrg{ 61288fff3f40Smrg line = $ 0 61298fff3f40Smrg nfields = split(line, field, "@") 61308fff3f40Smrg substed = 0 61318fff3f40Smrg len = length(field[1]) 61328fff3f40Smrg for (i = 2; i < nfields; i++) { 61338fff3f40Smrg key = field[i] 61348fff3f40Smrg keylen = length(key) 61358fff3f40Smrg if (S_is_set[key]) { 61368fff3f40Smrg value = S[key] 61378fff3f40Smrg line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 61388fff3f40Smrg len += length(value) + length(field[++i]) 61398fff3f40Smrg substed = 1 61408fff3f40Smrg } else 61418fff3f40Smrg len += 1 + keylen 61428fff3f40Smrg } 61438fff3f40Smrg 61448fff3f40Smrg print line 61458fff3f40Smrg} 6146e6232409Smrg 61478fff3f40Smrg_ACAWK 6148e6232409Smrg_ACEOF 61498fff3f40Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 61508fff3f40Smrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 61518fff3f40Smrg sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 61528fff3f40Smrgelse 61538fff3f40Smrg cat 61548fff3f40Smrgfi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 61558fff3f40Smrg || as_fn_error "could not setup config files machinery" "$LINENO" 5 6156e6232409Smrg_ACEOF 6157e6232409Smrg 6158e6232409Smrg# VPATH may cause trouble with some makes, so we remove $(srcdir), 6159e6232409Smrg# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 6160e6232409Smrg# trailing colons and then remove the whole line if VPATH becomes empty 6161e6232409Smrg# (actually we leave an empty line to preserve line numbers). 6162e6232409Smrgif test "x$srcdir" = x.; then 6163e6232409Smrg ac_vpsub='/^[ ]*VPATH[ ]*=/{ 6164e6232409Smrgs/:*\$(srcdir):*/:/ 6165e6232409Smrgs/:*\${srcdir}:*/:/ 6166e6232409Smrgs/:*@srcdir@:*/:/ 6167e6232409Smrgs/^\([^=]*=[ ]*\):*/\1/ 6168e6232409Smrgs/:*$// 6169e6232409Smrgs/^[^=]*=[ ]*$// 6170e6232409Smrg}' 6171e6232409Smrgfi 6172e6232409Smrg 61738fff3f40Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6174e6232409Smrgfi # test -n "$CONFIG_FILES" 6175e6232409Smrg 61768fff3f40Smrg# Set up the scripts for CONFIG_HEADERS section. 61778fff3f40Smrg# No need to generate them if there are no CONFIG_HEADERS. 61788fff3f40Smrg# This happens for instance with `./config.status Makefile'. 61798fff3f40Smrgif test -n "$CONFIG_HEADERS"; then 61808fff3f40Smrgcat >"$tmp/defines.awk" <<\_ACAWK || 61818fff3f40SmrgBEGIN { 61828fff3f40Smrg_ACEOF 61838fff3f40Smrg 61848fff3f40Smrg# Transform confdefs.h into an awk script `defines.awk', embedded as 61858fff3f40Smrg# here-document in config.status, that substitutes the proper values into 61868fff3f40Smrg# config.h.in to produce config.h. 61878fff3f40Smrg 61888fff3f40Smrg# Create a delimiter string that does not exist in confdefs.h, to ease 61898fff3f40Smrg# handling of long lines. 61908fff3f40Smrgac_delim='%!_!# ' 61918fff3f40Smrgfor ac_last_try in false false :; do 61928fff3f40Smrg ac_t=`sed -n "/$ac_delim/p" confdefs.h` 61938fff3f40Smrg if test -z "$ac_t"; then 61948fff3f40Smrg break 61958fff3f40Smrg elif $ac_last_try; then 61968fff3f40Smrg as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 61978fff3f40Smrg else 61988fff3f40Smrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 61998fff3f40Smrg fi 62008fff3f40Smrgdone 62018fff3f40Smrg 62028fff3f40Smrg# For the awk script, D is an array of macro values keyed by name, 62038fff3f40Smrg# likewise P contains macro parameters if any. Preserve backslash 62048fff3f40Smrg# newline sequences. 62058fff3f40Smrg 62068fff3f40Smrgac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 62078fff3f40Smrgsed -n ' 62088fff3f40Smrgs/.\{148\}/&'"$ac_delim"'/g 62098fff3f40Smrgt rset 62108fff3f40Smrg:rset 62118fff3f40Smrgs/^[ ]*#[ ]*define[ ][ ]*/ / 62128fff3f40Smrgt def 62138fff3f40Smrgd 62148fff3f40Smrg:def 62158fff3f40Smrgs/\\$// 62168fff3f40Smrgt bsnl 62178fff3f40Smrgs/["\\]/\\&/g 62188fff3f40Smrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 62198fff3f40SmrgD["\1"]=" \3"/p 62208fff3f40Smrgs/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 62218fff3f40Smrgd 62228fff3f40Smrg:bsnl 62238fff3f40Smrgs/["\\]/\\&/g 62248fff3f40Smrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 62258fff3f40SmrgD["\1"]=" \3\\\\\\n"\\/p 62268fff3f40Smrgt cont 62278fff3f40Smrgs/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 62288fff3f40Smrgt cont 62298fff3f40Smrgd 62308fff3f40Smrg:cont 62318fff3f40Smrgn 62328fff3f40Smrgs/.\{148\}/&'"$ac_delim"'/g 62338fff3f40Smrgt clear 62348fff3f40Smrg:clear 62358fff3f40Smrgs/\\$// 62368fff3f40Smrgt bsnlc 62378fff3f40Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/p 62388fff3f40Smrgd 62398fff3f40Smrg:bsnlc 62408fff3f40Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 62418fff3f40Smrgb cont 62428fff3f40Smrg' <confdefs.h | sed ' 62438fff3f40Smrgs/'"$ac_delim"'/"\\\ 62448fff3f40Smrg"/g' >>$CONFIG_STATUS || ac_write_fail=1 62458fff3f40Smrg 62468fff3f40Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 62478fff3f40Smrg for (key in D) D_is_set[key] = 1 62488fff3f40Smrg FS = "" 62498fff3f40Smrg} 62508fff3f40Smrg/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 62518fff3f40Smrg line = \$ 0 62528fff3f40Smrg split(line, arg, " ") 62538fff3f40Smrg if (arg[1] == "#") { 62548fff3f40Smrg defundef = arg[2] 62558fff3f40Smrg mac1 = arg[3] 62568fff3f40Smrg } else { 62578fff3f40Smrg defundef = substr(arg[1], 2) 62588fff3f40Smrg mac1 = arg[2] 62598fff3f40Smrg } 62608fff3f40Smrg split(mac1, mac2, "(") #) 62618fff3f40Smrg macro = mac2[1] 62628fff3f40Smrg prefix = substr(line, 1, index(line, defundef) - 1) 62638fff3f40Smrg if (D_is_set[macro]) { 62648fff3f40Smrg # Preserve the white space surrounding the "#". 62658fff3f40Smrg print prefix "define", macro P[macro] D[macro] 62668fff3f40Smrg next 62678fff3f40Smrg } else { 62688fff3f40Smrg # Replace #undef with comments. This is necessary, for example, 62698fff3f40Smrg # in the case of _POSIX_SOURCE, which is predefined and required 62708fff3f40Smrg # on some systems where configure will not decide to define it. 62718fff3f40Smrg if (defundef == "undef") { 62728fff3f40Smrg print "/*", prefix defundef, macro, "*/" 62738fff3f40Smrg next 62748fff3f40Smrg } 62758fff3f40Smrg } 62768fff3f40Smrg} 62778fff3f40Smrg{ print } 62788fff3f40Smrg_ACAWK 62798fff3f40Smrg_ACEOF 62808fff3f40Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 62818fff3f40Smrg as_fn_error "could not setup config headers machinery" "$LINENO" 5 62828fff3f40Smrgfi # test -n "$CONFIG_HEADERS" 62838fff3f40Smrg 6284e6232409Smrg 62858fff3f40Smrgeval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 62868fff3f40Smrgshift 62878fff3f40Smrgfor ac_tag 6288e6232409Smrgdo 6289e6232409Smrg case $ac_tag in 6290e6232409Smrg :[FHLC]) ac_mode=$ac_tag; continue;; 6291e6232409Smrg esac 6292e6232409Smrg case $ac_mode$ac_tag in 6293e6232409Smrg :[FHL]*:*);; 62948fff3f40Smrg :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 6295e6232409Smrg :[FH]-) ac_tag=-:-;; 6296e6232409Smrg :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 6297e6232409Smrg esac 6298e6232409Smrg ac_save_IFS=$IFS 6299e6232409Smrg IFS=: 6300e6232409Smrg set x $ac_tag 6301e6232409Smrg IFS=$ac_save_IFS 6302e6232409Smrg shift 6303e6232409Smrg ac_file=$1 6304e6232409Smrg shift 6305e6232409Smrg 6306e6232409Smrg case $ac_mode in 6307e6232409Smrg :L) ac_source=$1;; 6308e6232409Smrg :[FH]) 6309e6232409Smrg ac_file_inputs= 6310e6232409Smrg for ac_f 6311e6232409Smrg do 6312e6232409Smrg case $ac_f in 6313e6232409Smrg -) ac_f="$tmp/stdin";; 6314e6232409Smrg *) # Look for the file first in the build tree, then in the source tree 6315e6232409Smrg # (if the path is not absolute). The absolute path cannot be DOS-style, 6316e6232409Smrg # because $ac_f cannot contain `:'. 6317e6232409Smrg test -f "$ac_f" || 6318e6232409Smrg case $ac_f in 6319e6232409Smrg [\\/$]*) false;; 6320e6232409Smrg *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 6321e6232409Smrg esac || 63228fff3f40Smrg as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 6323e6232409Smrg esac 63248fff3f40Smrg case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 63258fff3f40Smrg as_fn_append ac_file_inputs " '$ac_f'" 6326e6232409Smrg done 6327e6232409Smrg 6328e6232409Smrg # Let's still pretend it is `configure' which instantiates (i.e., don't 6329e6232409Smrg # use $as_me), people would be surprised to read: 6330e6232409Smrg # /* config.h. Generated by config.status. */ 63318fff3f40Smrg configure_input='Generated from '` 63328fff3f40Smrg $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 63338fff3f40Smrg `' by configure.' 6334e6232409Smrg if test x"$ac_file" != x-; then 6335e6232409Smrg configure_input="$ac_file. $configure_input" 63368fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 63378fff3f40Smrg$as_echo "$as_me: creating $ac_file" >&6;} 6338e6232409Smrg fi 63398fff3f40Smrg # Neutralize special characters interpreted by sed in replacement strings. 63408fff3f40Smrg case $configure_input in #( 63418fff3f40Smrg *\&* | *\|* | *\\* ) 63428fff3f40Smrg ac_sed_conf_input=`$as_echo "$configure_input" | 63438fff3f40Smrg sed 's/[\\\\&|]/\\\\&/g'`;; #( 63448fff3f40Smrg *) ac_sed_conf_input=$configure_input;; 63458fff3f40Smrg esac 6346e6232409Smrg 6347e6232409Smrg case $ac_tag in 63488fff3f40Smrg *:-:* | *:-) cat >"$tmp/stdin" \ 63498fff3f40Smrg || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 6350e6232409Smrg esac 6351e6232409Smrg ;; 6352e6232409Smrg esac 6353e6232409Smrg 6354e6232409Smrg ac_dir=`$as_dirname -- "$ac_file" || 6355e6232409Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6356e6232409Smrg X"$ac_file" : 'X\(//\)[^/]' \| \ 6357e6232409Smrg X"$ac_file" : 'X\(//\)$' \| \ 6358e6232409Smrg X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 63598fff3f40Smrg$as_echo X"$ac_file" | 6360e6232409Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6361e6232409Smrg s//\1/ 6362e6232409Smrg q 6363e6232409Smrg } 6364e6232409Smrg /^X\(\/\/\)[^/].*/{ 6365e6232409Smrg s//\1/ 6366e6232409Smrg q 6367e6232409Smrg } 6368e6232409Smrg /^X\(\/\/\)$/{ 6369e6232409Smrg s//\1/ 6370e6232409Smrg q 6371e6232409Smrg } 6372e6232409Smrg /^X\(\/\).*/{ 6373e6232409Smrg s//\1/ 6374e6232409Smrg q 6375e6232409Smrg } 6376e6232409Smrg s/.*/./; q'` 63778fff3f40Smrg as_dir="$ac_dir"; as_fn_mkdir_p 6378e6232409Smrg ac_builddir=. 6379e6232409Smrg 6380e6232409Smrgcase "$ac_dir" in 6381e6232409Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 6382e6232409Smrg*) 63838fff3f40Smrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 6384e6232409Smrg # A ".." for each directory in $ac_dir_suffix. 63858fff3f40Smrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 6386e6232409Smrg case $ac_top_builddir_sub in 6387e6232409Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 6388e6232409Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 6389e6232409Smrg esac ;; 6390e6232409Smrgesac 6391e6232409Smrgac_abs_top_builddir=$ac_pwd 6392e6232409Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 6393e6232409Smrg# for backward compatibility: 6394e6232409Smrgac_top_builddir=$ac_top_build_prefix 6395e6232409Smrg 6396e6232409Smrgcase $srcdir in 6397e6232409Smrg .) # We are building in place. 6398e6232409Smrg ac_srcdir=. 6399e6232409Smrg ac_top_srcdir=$ac_top_builddir_sub 6400e6232409Smrg ac_abs_top_srcdir=$ac_pwd ;; 6401e6232409Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 6402e6232409Smrg ac_srcdir=$srcdir$ac_dir_suffix; 6403e6232409Smrg ac_top_srcdir=$srcdir 6404e6232409Smrg ac_abs_top_srcdir=$srcdir ;; 6405e6232409Smrg *) # Relative name. 6406e6232409Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 6407e6232409Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 6408e6232409Smrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 6409e6232409Smrgesac 6410e6232409Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 6411e6232409Smrg 6412e6232409Smrg 6413e6232409Smrg case $ac_mode in 6414e6232409Smrg :F) 6415e6232409Smrg # 6416e6232409Smrg # CONFIG_FILE 6417e6232409Smrg # 6418e6232409Smrg 6419e6232409Smrg case $INSTALL in 6420e6232409Smrg [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 6421e6232409Smrg *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 6422e6232409Smrg esac 64238fff3f40Smrg ac_MKDIR_P=$MKDIR_P 64248fff3f40Smrg case $MKDIR_P in 64258fff3f40Smrg [\\/$]* | ?:[\\/]* ) ;; 64268fff3f40Smrg */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 64278fff3f40Smrg esac 6428e6232409Smrg_ACEOF 6429e6232409Smrg 64308fff3f40Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6431e6232409Smrg# If the template does not know about datarootdir, expand it. 6432e6232409Smrg# FIXME: This hack should be removed a few years after 2.60. 6433e6232409Smrgac_datarootdir_hack=; ac_datarootdir_seen= 64348fff3f40Smrgac_sed_dataroot=' 64358fff3f40Smrg/datarootdir/ { 6436e6232409Smrg p 6437e6232409Smrg q 6438e6232409Smrg} 6439e6232409Smrg/@datadir@/p 6440e6232409Smrg/@docdir@/p 6441e6232409Smrg/@infodir@/p 6442e6232409Smrg/@localedir@/p 64438fff3f40Smrg/@mandir@/p' 64448fff3f40Smrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 6445e6232409Smrg*datarootdir*) ac_datarootdir_seen=yes;; 6446e6232409Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 64478fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 64488fff3f40Smrg$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 6449e6232409Smrg_ACEOF 64508fff3f40Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6451e6232409Smrg ac_datarootdir_hack=' 6452e6232409Smrg s&@datadir@&$datadir&g 6453e6232409Smrg s&@docdir@&$docdir&g 6454e6232409Smrg s&@infodir@&$infodir&g 6455e6232409Smrg s&@localedir@&$localedir&g 6456e6232409Smrg s&@mandir@&$mandir&g 64578fff3f40Smrg s&\\\${datarootdir}&$datarootdir&g' ;; 6458e6232409Smrgesac 6459e6232409Smrg_ACEOF 6460e6232409Smrg 6461e6232409Smrg# Neutralize VPATH when `$srcdir' = `.'. 6462e6232409Smrg# Shell code in configure.ac might set extrasub. 6463e6232409Smrg# FIXME: do we really want to maintain this feature? 64648fff3f40Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 64658fff3f40Smrgac_sed_extra="$ac_vpsub 6466e6232409Smrg$extrasub 6467e6232409Smrg_ACEOF 64688fff3f40Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6469e6232409Smrg:t 6470e6232409Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 64718fff3f40Smrgs|@configure_input@|$ac_sed_conf_input|;t t 6472e6232409Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t 64738fff3f40Smrgs&@top_build_prefix@&$ac_top_build_prefix&;t t 6474e6232409Smrgs&@srcdir@&$ac_srcdir&;t t 6475e6232409Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t 6476e6232409Smrgs&@top_srcdir@&$ac_top_srcdir&;t t 6477e6232409Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 6478e6232409Smrgs&@builddir@&$ac_builddir&;t t 6479e6232409Smrgs&@abs_builddir@&$ac_abs_builddir&;t t 6480e6232409Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t 6481e6232409Smrgs&@INSTALL@&$ac_INSTALL&;t t 64828fff3f40Smrgs&@MKDIR_P@&$ac_MKDIR_P&;t t 6483e6232409Smrg$ac_datarootdir_hack 64848fff3f40Smrg" 64858fff3f40Smrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 64868fff3f40Smrg || as_fn_error "could not create $ac_file" "$LINENO" 5 6487e6232409Smrg 6488e6232409Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 6489e6232409Smrg { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 6490e6232409Smrg { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 64918fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6492e6232409Smrgwhich seems to be undefined. Please make sure it is defined." >&5 64938fff3f40Smrg$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6494e6232409Smrgwhich seems to be undefined. Please make sure it is defined." >&2;} 6495e6232409Smrg 6496e6232409Smrg rm -f "$tmp/stdin" 6497e6232409Smrg case $ac_file in 64988fff3f40Smrg -) cat "$tmp/out" && rm -f "$tmp/out";; 64998fff3f40Smrg *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 65008fff3f40Smrg esac \ 65018fff3f40Smrg || as_fn_error "could not create $ac_file" "$LINENO" 5 6502e6232409Smrg ;; 6503e6232409Smrg :H) 6504e6232409Smrg # 6505e6232409Smrg # CONFIG_HEADER 6506e6232409Smrg # 6507e6232409Smrg if test x"$ac_file" != x-; then 65088fff3f40Smrg { 65098fff3f40Smrg $as_echo "/* $configure_input */" \ 65108fff3f40Smrg && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 65118fff3f40Smrg } >"$tmp/config.h" \ 65128fff3f40Smrg || as_fn_error "could not create $ac_file" "$LINENO" 5 65138fff3f40Smrg if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 65148fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 65158fff3f40Smrg$as_echo "$as_me: $ac_file is unchanged" >&6;} 6516e6232409Smrg else 65178fff3f40Smrg rm -f "$ac_file" 65188fff3f40Smrg mv "$tmp/config.h" "$ac_file" \ 65198fff3f40Smrg || as_fn_error "could not create $ac_file" "$LINENO" 5 6520e6232409Smrg fi 6521e6232409Smrg else 65228fff3f40Smrg $as_echo "/* $configure_input */" \ 65238fff3f40Smrg && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 65248fff3f40Smrg || as_fn_error "could not create -" "$LINENO" 5 6525e6232409Smrg fi 65268fff3f40Smrg# Compute "$ac_file"'s index in $config_headers. 65278fff3f40Smrg_am_arg="$ac_file" 6528e6232409Smrg_am_stamp_count=1 6529e6232409Smrgfor _am_header in $config_headers :; do 6530e6232409Smrg case $_am_header in 65318fff3f40Smrg $_am_arg | $_am_arg:* ) 6532e6232409Smrg break ;; 6533e6232409Smrg * ) 6534e6232409Smrg _am_stamp_count=`expr $_am_stamp_count + 1` ;; 6535e6232409Smrg esac 6536e6232409Smrgdone 65378fff3f40Smrgecho "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 65388fff3f40Smrg$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 65398fff3f40Smrg X"$_am_arg" : 'X\(//\)[^/]' \| \ 65408fff3f40Smrg X"$_am_arg" : 'X\(//\)$' \| \ 65418fff3f40Smrg X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 65428fff3f40Smrg$as_echo X"$_am_arg" | 6543e6232409Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6544e6232409Smrg s//\1/ 6545e6232409Smrg q 6546e6232409Smrg } 6547e6232409Smrg /^X\(\/\/\)[^/].*/{ 6548e6232409Smrg s//\1/ 6549e6232409Smrg q 6550e6232409Smrg } 6551e6232409Smrg /^X\(\/\/\)$/{ 6552e6232409Smrg s//\1/ 6553e6232409Smrg q 6554e6232409Smrg } 6555e6232409Smrg /^X\(\/\).*/{ 6556e6232409Smrg s//\1/ 6557e6232409Smrg q 6558e6232409Smrg } 6559e6232409Smrg s/.*/./; q'`/stamp-h$_am_stamp_count 6560e6232409Smrg ;; 6561e6232409Smrg 65628fff3f40Smrg :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 65638fff3f40Smrg$as_echo "$as_me: executing $ac_file commands" >&6;} 6564e6232409Smrg ;; 6565e6232409Smrg esac 6566e6232409Smrg 6567e6232409Smrg 6568e6232409Smrg case $ac_file$ac_mode in 65698fff3f40Smrg "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 65708fff3f40Smrg # Autoconf 2.62 quotes --file arguments for eval, but not when files 65718fff3f40Smrg # are listed without --file. Let's play safe and only enable the eval 65728fff3f40Smrg # if we detect the quoting. 65738fff3f40Smrg case $CONFIG_FILES in 65748fff3f40Smrg *\'*) eval set x "$CONFIG_FILES" ;; 65758fff3f40Smrg *) set x $CONFIG_FILES ;; 65768fff3f40Smrg esac 65778fff3f40Smrg shift 65788fff3f40Smrg for mf 65798fff3f40Smrg do 65808fff3f40Smrg # Strip MF so we end up with the name of the file. 65818fff3f40Smrg mf=`echo "$mf" | sed -e 's/:.*$//'` 65828fff3f40Smrg # Check whether this is an Automake generated Makefile or not. 65838fff3f40Smrg # We used to match only the files named `Makefile.in', but 65848fff3f40Smrg # some people rename them; so instead we look at the file content. 65858fff3f40Smrg # Grep'ing the first line is not enough: some people post-process 65868fff3f40Smrg # each Makefile.in and add a new line on top of each file to say so. 65878fff3f40Smrg # Grep'ing the whole file is not good either: AIX grep has a line 65888fff3f40Smrg # limit of 2048, but all sed's we know have understand at least 4000. 65898fff3f40Smrg if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 65908fff3f40Smrg dirpart=`$as_dirname -- "$mf" || 6591e6232409Smrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6592e6232409Smrg X"$mf" : 'X\(//\)[^/]' \| \ 6593e6232409Smrg X"$mf" : 'X\(//\)$' \| \ 6594e6232409Smrg X"$mf" : 'X\(/\)' \| . 2>/dev/null || 65958fff3f40Smrg$as_echo X"$mf" | 6596e6232409Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6597e6232409Smrg s//\1/ 6598e6232409Smrg q 6599e6232409Smrg } 6600e6232409Smrg /^X\(\/\/\)[^/].*/{ 6601e6232409Smrg s//\1/ 6602e6232409Smrg q 6603e6232409Smrg } 6604e6232409Smrg /^X\(\/\/\)$/{ 6605e6232409Smrg s//\1/ 6606e6232409Smrg q 6607e6232409Smrg } 6608e6232409Smrg /^X\(\/\).*/{ 6609e6232409Smrg s//\1/ 6610e6232409Smrg q 6611e6232409Smrg } 6612e6232409Smrg s/.*/./; q'` 66138fff3f40Smrg else 66148fff3f40Smrg continue 66158fff3f40Smrg fi 66168fff3f40Smrg # Extract the definition of DEPDIR, am__include, and am__quote 66178fff3f40Smrg # from the Makefile without running `make'. 66188fff3f40Smrg DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 66198fff3f40Smrg test -z "$DEPDIR" && continue 66208fff3f40Smrg am__include=`sed -n 's/^am__include = //p' < "$mf"` 66218fff3f40Smrg test -z "am__include" && continue 66228fff3f40Smrg am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 66238fff3f40Smrg # When using ansi2knr, U may be empty or an underscore; expand it 66248fff3f40Smrg U=`sed -n 's/^U = //p' < "$mf"` 66258fff3f40Smrg # Find all dependency output files, they are included files with 66268fff3f40Smrg # $(DEPDIR) in their names. We invoke sed twice because it is the 66278fff3f40Smrg # simplest approach to changing $(DEPDIR) to its actual value in the 66288fff3f40Smrg # expansion. 66298fff3f40Smrg for file in `sed -n " 66308fff3f40Smrg s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 66318fff3f40Smrg sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 66328fff3f40Smrg # Make sure the directory exists. 66338fff3f40Smrg test -f "$dirpart/$file" && continue 66348fff3f40Smrg fdir=`$as_dirname -- "$file" || 6635e6232409Smrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6636e6232409Smrg X"$file" : 'X\(//\)[^/]' \| \ 6637e6232409Smrg X"$file" : 'X\(//\)$' \| \ 6638e6232409Smrg X"$file" : 'X\(/\)' \| . 2>/dev/null || 66398fff3f40Smrg$as_echo X"$file" | 6640e6232409Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6641e6232409Smrg s//\1/ 6642e6232409Smrg q 6643e6232409Smrg } 6644e6232409Smrg /^X\(\/\/\)[^/].*/{ 6645e6232409Smrg s//\1/ 6646e6232409Smrg q 6647e6232409Smrg } 6648e6232409Smrg /^X\(\/\/\)$/{ 6649e6232409Smrg s//\1/ 6650e6232409Smrg q 6651e6232409Smrg } 6652e6232409Smrg /^X\(\/\).*/{ 6653e6232409Smrg s//\1/ 6654e6232409Smrg q 6655e6232409Smrg } 6656e6232409Smrg s/.*/./; q'` 66578fff3f40Smrg as_dir=$dirpart/$fdir; as_fn_mkdir_p 66588fff3f40Smrg # echo "creating $dirpart/$file" 66598fff3f40Smrg echo '# dummy' > "$dirpart/$file" 6660e6232409Smrg done 6661e6232409Smrg done 66628fff3f40Smrg} 6663e6232409Smrg ;; 6664e6232409Smrg 6665e6232409Smrg esac 6666e6232409Smrgdone # for ac_tag 6667e6232409Smrg 6668e6232409Smrg 66698fff3f40Smrgas_fn_exit 0 6670e6232409Smrg_ACEOF 6671e6232409Smrgac_clean_files=$ac_clean_files_save 6672e6232409Smrg 66738fff3f40Smrgtest $ac_write_fail = 0 || 66748fff3f40Smrg as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 66758fff3f40Smrg 6676e6232409Smrg 6677e6232409Smrg# configure is writing to config.log, and then calls config.status. 6678e6232409Smrg# config.status does its own redirection, appending to config.log. 6679e6232409Smrg# Unfortunately, on DOS this fails, as config.log is still kept open 6680e6232409Smrg# by configure, so config.status won't be able to write to it; its 6681e6232409Smrg# output is simply discarded. So we exec the FD to /dev/null, 6682e6232409Smrg# effectively closing config.log, so it can be properly (re)opened and 6683e6232409Smrg# appended to by config.status. When coming back to configure, we 6684e6232409Smrg# need to make the FD available again. 6685e6232409Smrgif test "$no_create" != yes; then 6686e6232409Smrg ac_cs_success=: 6687e6232409Smrg ac_config_status_args= 6688e6232409Smrg test "$silent" = yes && 6689e6232409Smrg ac_config_status_args="$ac_config_status_args --quiet" 6690e6232409Smrg exec 5>/dev/null 6691e6232409Smrg $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 6692e6232409Smrg exec 5>>config.log 6693e6232409Smrg # Use ||, not &&, to avoid exiting from the if with $? = 1, which 6694e6232409Smrg # would make configure fail if this is the last instruction. 66958fff3f40Smrg $ac_cs_success || as_fn_exit $? 66968fff3f40Smrgfi 66978fff3f40Smrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 66988fff3f40Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 66998fff3f40Smrg$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 6700e6232409Smrgfi 6701e6232409Smrg 6702