configure revision 6d325d25
1a99f82b8Smrg#! /bin/sh 2a99f82b8Smrg# Guess values for system-dependent variables and create Makefiles. 36d325d25Smrg# Generated by GNU Autoconf 2.68 for font-alias 1.0.3. 4a99f82b8Smrg# 5a99f82b8Smrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 6a99f82b8Smrg# 76d325d25Smrg# 82d62a77cSmrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 96d325d25Smrg# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 106d325d25Smrg# Foundation, Inc. 116d325d25Smrg# 126d325d25Smrg# 13a99f82b8Smrg# This configure script is free software; the Free Software Foundation 14a99f82b8Smrg# gives unlimited permission to copy, distribute and modify it. 156d325d25Smrg## -------------------- ## 166d325d25Smrg## M4sh Initialization. ## 176d325d25Smrg## -------------------- ## 18a99f82b8Smrg 192d62a77cSmrg# Be more Bourne compatible 202d62a77cSmrgDUALCASE=1; export DUALCASE # for MKS sh 216d325d25Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 22a99f82b8Smrg emulate sh 23a99f82b8Smrg NULLCMD=: 242d62a77cSmrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 25a99f82b8Smrg # is contrary to our usage. Disable this feature. 26a99f82b8Smrg alias -g '${1+"$@"}'='"$@"' 272d62a77cSmrg setopt NO_GLOB_SUBST 282d62a77cSmrgelse 296d325d25Smrg case `(set -o) 2>/dev/null` in #( 306d325d25Smrg *posix*) : 316d325d25Smrg set -o posix ;; #( 326d325d25Smrg *) : 336d325d25Smrg ;; 342d62a77cSmrgesac 352d62a77cSmrgfi 362d62a77cSmrg 372d62a77cSmrg 382d62a77cSmrgas_nl=' 392d62a77cSmrg' 402d62a77cSmrgexport as_nl 412d62a77cSmrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 422d62a77cSmrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 432d62a77cSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 442d62a77cSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 456d325d25Smrg# Prefer a ksh shell builtin over an external printf program on Solaris, 466d325d25Smrg# but without wasting forks for bash or zsh. 476d325d25Smrgif test -z "$BASH_VERSION$ZSH_VERSION" \ 486d325d25Smrg && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 496d325d25Smrg as_echo='print -r --' 506d325d25Smrg as_echo_n='print -rn --' 516d325d25Smrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 522d62a77cSmrg as_echo='printf %s\n' 532d62a77cSmrg as_echo_n='printf %s' 542d62a77cSmrgelse 552d62a77cSmrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 562d62a77cSmrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 572d62a77cSmrg as_echo_n='/usr/ucb/echo -n' 582d62a77cSmrg else 592d62a77cSmrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 602d62a77cSmrg as_echo_n_body='eval 612d62a77cSmrg arg=$1; 626d325d25Smrg case $arg in #( 632d62a77cSmrg *"$as_nl"*) 642d62a77cSmrg expr "X$arg" : "X\\(.*\\)$as_nl"; 652d62a77cSmrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 662d62a77cSmrg esac; 672d62a77cSmrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 682d62a77cSmrg ' 692d62a77cSmrg export as_echo_n_body 702d62a77cSmrg as_echo_n='sh -c $as_echo_n_body as_echo' 712d62a77cSmrg fi 722d62a77cSmrg export as_echo_body 732d62a77cSmrg as_echo='sh -c $as_echo_body as_echo' 742d62a77cSmrgfi 752d62a77cSmrg 762d62a77cSmrg# The user is always right. 772d62a77cSmrgif test "${PATH_SEPARATOR+set}" != set; then 782d62a77cSmrg PATH_SEPARATOR=: 792d62a77cSmrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 802d62a77cSmrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 812d62a77cSmrg PATH_SEPARATOR=';' 822d62a77cSmrg } 83a99f82b8Smrgfi 84a99f82b8Smrg 85a99f82b8Smrg 862d62a77cSmrg# IFS 872d62a77cSmrg# We need space, tab and new line, in precisely that order. Quoting is 882d62a77cSmrg# there to prevent editors from complaining about space-tab. 892d62a77cSmrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 902d62a77cSmrg# splitting by setting IFS to empty value.) 912d62a77cSmrgIFS=" "" $as_nl" 922d62a77cSmrg 932d62a77cSmrg# Find who we are. Look in the path if we contain no directory separator. 946d325d25Smrgas_myself= 956d325d25Smrgcase $0 in #(( 962d62a77cSmrg *[\\/]* ) as_myself=$0 ;; 972d62a77cSmrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 982d62a77cSmrgfor as_dir in $PATH 992d62a77cSmrgdo 1002d62a77cSmrg IFS=$as_save_IFS 1012d62a77cSmrg test -z "$as_dir" && as_dir=. 1026d325d25Smrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 1036d325d25Smrg done 1042d62a77cSmrgIFS=$as_save_IFS 1052d62a77cSmrg 1062d62a77cSmrg ;; 1072d62a77cSmrgesac 1082d62a77cSmrg# We did not find ourselves, most probably we were run as `sh COMMAND' 1092d62a77cSmrg# in which case we are not to be found in the path. 1102d62a77cSmrgif test "x$as_myself" = x; then 1112d62a77cSmrg as_myself=$0 1122d62a77cSmrgfi 1132d62a77cSmrgif test ! -f "$as_myself"; then 1142d62a77cSmrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 1156d325d25Smrg exit 1 1162d62a77cSmrgfi 1172d62a77cSmrg 1186d325d25Smrg# Unset variables that we do not need and which cause bugs (e.g. in 1196d325d25Smrg# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 1206d325d25Smrg# suppresses any "Segmentation fault" message there. '((' could 1216d325d25Smrg# trigger a bug in pdksh 5.2.14. 1226d325d25Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH 1236d325d25Smrgdo eval test x\${$as_var+set} = xset \ 1246d325d25Smrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 1252d62a77cSmrgdone 126a99f82b8SmrgPS1='$ ' 127a99f82b8SmrgPS2='> ' 128a99f82b8SmrgPS4='+ ' 129a99f82b8Smrg 130a99f82b8Smrg# NLS nuisances. 1312d62a77cSmrgLC_ALL=C 1322d62a77cSmrgexport LC_ALL 1332d62a77cSmrgLANGUAGE=C 1342d62a77cSmrgexport LANGUAGE 135a99f82b8Smrg 1366d325d25Smrg# CDPATH. 1376d325d25Smrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 1386d325d25Smrg 1396d325d25Smrgif test "x$CONFIG_SHELL" = x; then 1406d325d25Smrg as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 1416d325d25Smrg emulate sh 1426d325d25Smrg NULLCMD=: 1436d325d25Smrg # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 1446d325d25Smrg # is contrary to our usage. Disable this feature. 1456d325d25Smrg alias -g '\${1+\"\$@\"}'='\"\$@\"' 1466d325d25Smrg setopt NO_GLOB_SUBST 1476d325d25Smrgelse 1486d325d25Smrg case \`(set -o) 2>/dev/null\` in #( 1496d325d25Smrg *posix*) : 1506d325d25Smrg set -o posix ;; #( 1516d325d25Smrg *) : 1526d325d25Smrg ;; 1536d325d25Smrgesac 1546d325d25Smrgfi 1556d325d25Smrg" 1566d325d25Smrg as_required="as_fn_return () { (exit \$1); } 1576d325d25Smrgas_fn_success () { as_fn_return 0; } 1586d325d25Smrgas_fn_failure () { as_fn_return 1; } 1596d325d25Smrgas_fn_ret_success () { return 0; } 1606d325d25Smrgas_fn_ret_failure () { return 1; } 1616d325d25Smrg 1626d325d25Smrgexitcode=0 1636d325d25Smrgas_fn_success || { exitcode=1; echo as_fn_success failed.; } 1646d325d25Smrgas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 1656d325d25Smrgas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 1666d325d25Smrgas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 1676d325d25Smrgif ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 1686d325d25Smrg 1696d325d25Smrgelse 1706d325d25Smrg exitcode=1; echo positional parameters were not saved. 1716d325d25Smrgfi 1726d325d25Smrgtest x\$exitcode = x0 || exit 1" 1736d325d25Smrg as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 1746d325d25Smrg as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 1756d325d25Smrg eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 1766d325d25Smrg test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 1776d325d25Smrgtest \$(( 1 + 1 )) = 2 || exit 1" 1786d325d25Smrg if (eval "$as_required") 2>/dev/null; then : 1796d325d25Smrg as_have_required=yes 1806d325d25Smrgelse 1816d325d25Smrg as_have_required=no 1826d325d25Smrgfi 1836d325d25Smrg if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 1846d325d25Smrg 1856d325d25Smrgelse 1866d325d25Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1876d325d25Smrgas_found=false 1886d325d25Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 1896d325d25Smrgdo 1906d325d25Smrg IFS=$as_save_IFS 1916d325d25Smrg test -z "$as_dir" && as_dir=. 1926d325d25Smrg as_found=: 1936d325d25Smrg case $as_dir in #( 1946d325d25Smrg /*) 1956d325d25Smrg for as_base in sh bash ksh sh5; do 1966d325d25Smrg # Try only shells that exist, to save several forks. 1976d325d25Smrg as_shell=$as_dir/$as_base 1986d325d25Smrg if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 1996d325d25Smrg { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 2006d325d25Smrg CONFIG_SHELL=$as_shell as_have_required=yes 2016d325d25Smrg if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 2026d325d25Smrg break 2 2036d325d25Smrgfi 2046d325d25Smrgfi 2056d325d25Smrg done;; 2066d325d25Smrg esac 2076d325d25Smrg as_found=false 2086d325d25Smrgdone 2096d325d25Smrg$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 2106d325d25Smrg { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 2116d325d25Smrg CONFIG_SHELL=$SHELL as_have_required=yes 2126d325d25Smrgfi; } 2136d325d25SmrgIFS=$as_save_IFS 2146d325d25Smrg 2156d325d25Smrg 2166d325d25Smrg if test "x$CONFIG_SHELL" != x; then : 2176d325d25Smrg # We cannot yet assume a decent shell, so we have to provide a 2186d325d25Smrg # neutralization value for shells without unset; and this also 2196d325d25Smrg # works around shells that cannot unset nonexistent variables. 2206d325d25Smrg # Preserve -v and -x to the replacement shell. 2216d325d25Smrg BASH_ENV=/dev/null 2226d325d25Smrg ENV=/dev/null 2236d325d25Smrg (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 2246d325d25Smrg export CONFIG_SHELL 2256d325d25Smrg case $- in # (((( 2266d325d25Smrg *v*x* | *x*v* ) as_opts=-vx ;; 2276d325d25Smrg *v* ) as_opts=-v ;; 2286d325d25Smrg *x* ) as_opts=-x ;; 2296d325d25Smrg * ) as_opts= ;; 2306d325d25Smrg esac 2316d325d25Smrg exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 2326d325d25Smrgfi 2336d325d25Smrg 2346d325d25Smrg if test x$as_have_required = xno; then : 2356d325d25Smrg $as_echo "$0: This script requires a shell more modern than all" 2366d325d25Smrg $as_echo "$0: the shells that I found on your system." 2376d325d25Smrg if test x${ZSH_VERSION+set} = xset ; then 2386d325d25Smrg $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 2396d325d25Smrg $as_echo "$0: be upgraded to zsh 4.3.4 or later." 2406d325d25Smrg else 2416d325d25Smrg $as_echo "$0: Please tell bug-autoconf@gnu.org and 2426d325d25Smrg$0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg 2436d325d25Smrg$0: about your system, including any error possibly output 2446d325d25Smrg$0: before this message. Then install a modern shell, or 2456d325d25Smrg$0: manually run the script under such a shell if you do 2466d325d25Smrg$0: have one." 2476d325d25Smrg fi 2486d325d25Smrg exit 1 2496d325d25Smrgfi 2506d325d25Smrgfi 2516d325d25Smrgfi 2526d325d25SmrgSHELL=${CONFIG_SHELL-/bin/sh} 2536d325d25Smrgexport SHELL 2546d325d25Smrg# Unset more variables known to interfere with behavior of common tools. 2556d325d25SmrgCLICOLOR_FORCE= GREP_OPTIONS= 2566d325d25Smrgunset CLICOLOR_FORCE GREP_OPTIONS 2576d325d25Smrg 2586d325d25Smrg## --------------------- ## 2596d325d25Smrg## M4sh Shell Functions. ## 2606d325d25Smrg## --------------------- ## 2616d325d25Smrg# as_fn_unset VAR 2626d325d25Smrg# --------------- 2636d325d25Smrg# Portably unset VAR. 2646d325d25Smrgas_fn_unset () 2656d325d25Smrg{ 2666d325d25Smrg { eval $1=; unset $1;} 2676d325d25Smrg} 2686d325d25Smrgas_unset=as_fn_unset 2696d325d25Smrg 2706d325d25Smrg# as_fn_set_status STATUS 2716d325d25Smrg# ----------------------- 2726d325d25Smrg# Set $? to STATUS, without forking. 2736d325d25Smrgas_fn_set_status () 2746d325d25Smrg{ 2756d325d25Smrg return $1 2766d325d25Smrg} # as_fn_set_status 2776d325d25Smrg 2786d325d25Smrg# as_fn_exit STATUS 2796d325d25Smrg# ----------------- 2806d325d25Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 2816d325d25Smrgas_fn_exit () 2826d325d25Smrg{ 2836d325d25Smrg set +e 2846d325d25Smrg as_fn_set_status $1 2856d325d25Smrg exit $1 2866d325d25Smrg} # as_fn_exit 2876d325d25Smrg 2886d325d25Smrg# as_fn_mkdir_p 2896d325d25Smrg# ------------- 2906d325d25Smrg# Create "$as_dir" as a directory, including parents if necessary. 2916d325d25Smrgas_fn_mkdir_p () 2926d325d25Smrg{ 2936d325d25Smrg 2946d325d25Smrg case $as_dir in #( 2956d325d25Smrg -*) as_dir=./$as_dir;; 2966d325d25Smrg esac 2976d325d25Smrg test -d "$as_dir" || eval $as_mkdir_p || { 2986d325d25Smrg as_dirs= 2996d325d25Smrg while :; do 3006d325d25Smrg case $as_dir in #( 3016d325d25Smrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 3026d325d25Smrg *) as_qdir=$as_dir;; 3036d325d25Smrg esac 3046d325d25Smrg as_dirs="'$as_qdir' $as_dirs" 3056d325d25Smrg as_dir=`$as_dirname -- "$as_dir" || 3066d325d25Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3076d325d25Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 3086d325d25Smrg X"$as_dir" : 'X\(//\)$' \| \ 3096d325d25Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 3106d325d25Smrg$as_echo X"$as_dir" | 3116d325d25Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3126d325d25Smrg s//\1/ 3136d325d25Smrg q 3146d325d25Smrg } 3156d325d25Smrg /^X\(\/\/\)[^/].*/{ 3166d325d25Smrg s//\1/ 3176d325d25Smrg q 3186d325d25Smrg } 3196d325d25Smrg /^X\(\/\/\)$/{ 3206d325d25Smrg s//\1/ 3216d325d25Smrg q 3226d325d25Smrg } 3236d325d25Smrg /^X\(\/\).*/{ 3246d325d25Smrg s//\1/ 3256d325d25Smrg q 3266d325d25Smrg } 3276d325d25Smrg s/.*/./; q'` 3286d325d25Smrg test -d "$as_dir" && break 3296d325d25Smrg done 3306d325d25Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 3316d325d25Smrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 3326d325d25Smrg 3336d325d25Smrg 3346d325d25Smrg} # as_fn_mkdir_p 3356d325d25Smrg# as_fn_append VAR VALUE 3366d325d25Smrg# ---------------------- 3376d325d25Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take 3386d325d25Smrg# advantage of any shell optimizations that allow amortized linear growth over 3396d325d25Smrg# repeated appends, instead of the typical quadratic growth present in naive 3406d325d25Smrg# implementations. 3416d325d25Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 3426d325d25Smrg eval 'as_fn_append () 3436d325d25Smrg { 3446d325d25Smrg eval $1+=\$2 3456d325d25Smrg }' 3466d325d25Smrgelse 3476d325d25Smrg as_fn_append () 3486d325d25Smrg { 3496d325d25Smrg eval $1=\$$1\$2 3506d325d25Smrg } 3516d325d25Smrgfi # as_fn_append 3526d325d25Smrg 3536d325d25Smrg# as_fn_arith ARG... 3546d325d25Smrg# ------------------ 3556d325d25Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the 3566d325d25Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 3576d325d25Smrg# must be portable across $(()) and expr. 3586d325d25Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 3596d325d25Smrg eval 'as_fn_arith () 3606d325d25Smrg { 3616d325d25Smrg as_val=$(( $* )) 3626d325d25Smrg }' 3636d325d25Smrgelse 3646d325d25Smrg as_fn_arith () 3656d325d25Smrg { 3666d325d25Smrg as_val=`expr "$@" || test $? -eq 1` 3676d325d25Smrg } 3686d325d25Smrgfi # as_fn_arith 3696d325d25Smrg 3706d325d25Smrg 3716d325d25Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 3726d325d25Smrg# ---------------------------------------- 3736d325d25Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 3746d325d25Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 3756d325d25Smrg# script with STATUS, using 1 if that was 0. 3766d325d25Smrgas_fn_error () 3776d325d25Smrg{ 3786d325d25Smrg as_status=$1; test $as_status -eq 0 && as_status=1 3796d325d25Smrg if test "$4"; then 3806d325d25Smrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 3816d325d25Smrg $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 3826d325d25Smrg fi 3836d325d25Smrg $as_echo "$as_me: error: $2" >&2 3846d325d25Smrg as_fn_exit $as_status 3856d325d25Smrg} # as_fn_error 3866d325d25Smrg 3872d62a77cSmrgif expr a : '\(a\)' >/dev/null 2>&1 && 3882d62a77cSmrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 389a99f82b8Smrg as_expr=expr 390a99f82b8Smrgelse 391a99f82b8Smrg as_expr=false 392a99f82b8Smrgfi 393a99f82b8Smrg 3942d62a77cSmrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 395a99f82b8Smrg as_basename=basename 396a99f82b8Smrgelse 397a99f82b8Smrg as_basename=false 398a99f82b8Smrgfi 399a99f82b8Smrg 4006d325d25Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 4016d325d25Smrg as_dirname=dirname 4026d325d25Smrgelse 4036d325d25Smrg as_dirname=false 4046d325d25Smrgfi 405a99f82b8Smrg 4062d62a77cSmrgas_me=`$as_basename -- "$0" || 407a99f82b8Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 408a99f82b8Smrg X"$0" : 'X\(//\)$' \| \ 4092d62a77cSmrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 4102d62a77cSmrg$as_echo X/"$0" | 4112d62a77cSmrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 4122d62a77cSmrg s//\1/ 4132d62a77cSmrg q 4142d62a77cSmrg } 4152d62a77cSmrg /^X\/\(\/\/\)$/{ 4162d62a77cSmrg s//\1/ 4172d62a77cSmrg q 4182d62a77cSmrg } 4192d62a77cSmrg /^X\/\(\/\).*/{ 4202d62a77cSmrg s//\1/ 4212d62a77cSmrg q 4222d62a77cSmrg } 4232d62a77cSmrg s/.*/./; q'` 424a99f82b8Smrg 4256d325d25Smrg# Avoid depending upon Character Ranges. 4266d325d25Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 4276d325d25Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 4286d325d25Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 4296d325d25Smrgas_cr_digits='0123456789' 4306d325d25Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 431a99f82b8Smrg 432a99f82b8Smrg 4336d325d25Smrg as_lineno_1=$LINENO as_lineno_1a=$LINENO 4346d325d25Smrg as_lineno_2=$LINENO as_lineno_2a=$LINENO 4356d325d25Smrg eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 4366d325d25Smrg test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 4376d325d25Smrg # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 4386d325d25Smrg sed -n ' 4396d325d25Smrg p 4406d325d25Smrg /[$]LINENO/= 4416d325d25Smrg ' <$as_myself | 4426d325d25Smrg sed ' 4436d325d25Smrg s/[$]LINENO.*/&-/ 4446d325d25Smrg t lineno 4456d325d25Smrg b 4466d325d25Smrg :lineno 4476d325d25Smrg N 4486d325d25Smrg :loop 4496d325d25Smrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 4506d325d25Smrg t loop 4516d325d25Smrg s/-\n.*// 4526d325d25Smrg ' >$as_me.lineno && 4536d325d25Smrg chmod +x "$as_me.lineno" || 4546d325d25Smrg { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 455a99f82b8Smrg 4566d325d25Smrg # Don't try to exec as it changes $[0], causing all sort of problems 4576d325d25Smrg # (the dirname of $[0] is not the place where we might find the 4586d325d25Smrg # original and so on. Autoconf is especially sensitive to this). 4596d325d25Smrg . "./$as_me.lineno" 4606d325d25Smrg # Exit status is that of the last command. 4616d325d25Smrg exit 4622d62a77cSmrg} 463a99f82b8Smrg 4646d325d25SmrgECHO_C= ECHO_N= ECHO_T= 4656d325d25Smrgcase `echo -n x` in #((((( 4666d325d25Smrg-n*) 4676d325d25Smrg case `echo 'xy\c'` in 4686d325d25Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 4696d325d25Smrg xy) ECHO_C='\c';; 4706d325d25Smrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 4716d325d25Smrg ECHO_T=' ';; 4726d325d25Smrg esac;; 4736d325d25Smrg*) 4746d325d25Smrg ECHO_N='-n';; 4756d325d25Smrgesac 476a99f82b8Smrg 4776d325d25Smrgrm -f conf$$ conf$$.exe conf$$.file 4786d325d25Smrgif test -d conf$$.dir; then 4796d325d25Smrg rm -f conf$$.dir/conf$$.file 4806d325d25Smrgelse 4816d325d25Smrg rm -f conf$$.dir 4826d325d25Smrg mkdir conf$$.dir 2>/dev/null 4832d62a77cSmrgfi 4846d325d25Smrgif (echo >conf$$.file) 2>/dev/null; then 4856d325d25Smrg if ln -s conf$$.file conf$$ 2>/dev/null; then 4866d325d25Smrg as_ln_s='ln -s' 4876d325d25Smrg # ... but there are two gotchas: 4886d325d25Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 4896d325d25Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 4906d325d25Smrg # In both cases, we have to default to `cp -p'. 4916d325d25Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 4926d325d25Smrg as_ln_s='cp -p' 4936d325d25Smrg elif ln conf$$.file conf$$ 2>/dev/null; then 4946d325d25Smrg as_ln_s=ln 4956d325d25Smrg else 4966d325d25Smrg as_ln_s='cp -p' 4976d325d25Smrg fi 4982d62a77cSmrgelse 4996d325d25Smrg as_ln_s='cp -p' 5002d62a77cSmrgfi 5016d325d25Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5026d325d25Smrgrmdir conf$$.dir 2>/dev/null 5032d62a77cSmrg 5046d325d25Smrgif mkdir -p . 2>/dev/null; then 5056d325d25Smrg as_mkdir_p='mkdir -p "$as_dir"' 5066d325d25Smrgelse 5076d325d25Smrg test -d ./-p && rmdir ./-p 5086d325d25Smrg as_mkdir_p=false 5092d62a77cSmrgfi 5102d62a77cSmrg 5116d325d25Smrgif test -x / >/dev/null 2>&1; then 5126d325d25Smrg as_test_x='test -x' 5132d62a77cSmrgelse 5146d325d25Smrg if ls -dL / >/dev/null 2>&1; then 5156d325d25Smrg as_ls_L_option=L 5166d325d25Smrg else 5176d325d25Smrg as_ls_L_option= 5186d325d25Smrg fi 5196d325d25Smrg as_test_x=' 5206d325d25Smrg eval sh -c '\'' 5216d325d25Smrg if test -d "$1"; then 5226d325d25Smrg test -d "$1/."; 5236d325d25Smrg else 5246d325d25Smrg case $1 in #( 5256d325d25Smrg -*)set "./$1";; 5266d325d25Smrg esac; 5276d325d25Smrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 5286d325d25Smrg ???[sx]*):;;*)false;;esac;fi 5296d325d25Smrg '\'' sh 5306d325d25Smrg ' 5312d62a77cSmrgfi 5326d325d25Smrgas_executable_p=$as_test_x 5332d62a77cSmrg 5346d325d25Smrg# Sed expression to map a string onto a valid CPP name. 5356d325d25Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5362d62a77cSmrg 5376d325d25Smrg# Sed expression to map a string onto a valid variable name. 5386d325d25Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5392d62a77cSmrg 5402d62a77cSmrg 5416d325d25Smrgtest -n "$DJDIR" || exec 7<&0 </dev/null 5426d325d25Smrgexec 6>&1 543a99f82b8Smrg 544a99f82b8Smrg# Name of the host. 5456d325d25Smrg# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 546a99f82b8Smrg# so uname gets run too. 547a99f82b8Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 548a99f82b8Smrg 549a99f82b8Smrg# 550a99f82b8Smrg# Initializations. 551a99f82b8Smrg# 552a99f82b8Smrgac_default_prefix=/usr/local 5532d62a77cSmrgac_clean_files= 554a99f82b8Smrgac_config_libobj_dir=. 5552d62a77cSmrgLIBOBJS= 556a99f82b8Smrgcross_compiling=no 557a99f82b8Smrgsubdirs= 558a99f82b8SmrgMFLAGS= 559a99f82b8SmrgMAKEFLAGS= 560a99f82b8Smrg 561a99f82b8Smrg# Identity of this package. 562a99f82b8SmrgPACKAGE_NAME='font-alias' 563a99f82b8SmrgPACKAGE_TARNAME='font-alias' 5646d325d25SmrgPACKAGE_VERSION='1.0.3' 5656d325d25SmrgPACKAGE_STRING='font-alias 1.0.3' 566a99f82b8SmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 5676d325d25SmrgPACKAGE_URL='' 568a99f82b8Smrg 5692d62a77cSmrg# Factoring default headers for most tests. 5702d62a77cSmrgac_includes_default="\ 5712d62a77cSmrg#include <stdio.h> 5722d62a77cSmrg#ifdef HAVE_SYS_TYPES_H 5732d62a77cSmrg# include <sys/types.h> 5742d62a77cSmrg#endif 5752d62a77cSmrg#ifdef HAVE_SYS_STAT_H 5762d62a77cSmrg# include <sys/stat.h> 5772d62a77cSmrg#endif 5782d62a77cSmrg#ifdef STDC_HEADERS 5792d62a77cSmrg# include <stdlib.h> 5802d62a77cSmrg# include <stddef.h> 5812d62a77cSmrg#else 5822d62a77cSmrg# ifdef HAVE_STDLIB_H 5832d62a77cSmrg# include <stdlib.h> 5842d62a77cSmrg# endif 5852d62a77cSmrg#endif 5862d62a77cSmrg#ifdef HAVE_STRING_H 5872d62a77cSmrg# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 5882d62a77cSmrg# include <memory.h> 5892d62a77cSmrg# endif 5902d62a77cSmrg# include <string.h> 5912d62a77cSmrg#endif 5922d62a77cSmrg#ifdef HAVE_STRINGS_H 5932d62a77cSmrg# include <strings.h> 5942d62a77cSmrg#endif 5952d62a77cSmrg#ifdef HAVE_INTTYPES_H 5962d62a77cSmrg# include <inttypes.h> 5972d62a77cSmrg#endif 5982d62a77cSmrg#ifdef HAVE_STDINT_H 5992d62a77cSmrg# include <stdint.h> 6002d62a77cSmrg#endif 6012d62a77cSmrg#ifdef HAVE_UNISTD_H 6022d62a77cSmrg# include <unistd.h> 6032d62a77cSmrg#endif" 6042d62a77cSmrg 6052d62a77cSmrgac_subst_vars='am__EXEEXT_FALSE 6062d62a77cSmrgam__EXEEXT_TRUE 6072d62a77cSmrgLTLIBOBJS 6082d62a77cSmrgLIBOBJS 6092d62a77cSmrgFONTROOTDIR 6106d325d25SmrgAM_BACKSLASH 6116d325d25SmrgAM_DEFAULT_VERBOSITY 6126d325d25SmrgMAN_SUBSTS 6136d325d25SmrgXORG_MAN_PAGE 6142d62a77cSmrgADMIN_MAN_DIR 6152d62a77cSmrgDRIVER_MAN_DIR 6162d62a77cSmrgMISC_MAN_DIR 6172d62a77cSmrgFILE_MAN_DIR 6182d62a77cSmrgLIB_MAN_DIR 6192d62a77cSmrgAPP_MAN_DIR 6202d62a77cSmrgADMIN_MAN_SUFFIX 6212d62a77cSmrgDRIVER_MAN_SUFFIX 6222d62a77cSmrgMISC_MAN_SUFFIX 6232d62a77cSmrgFILE_MAN_SUFFIX 6242d62a77cSmrgLIB_MAN_SUFFIX 6252d62a77cSmrgAPP_MAN_SUFFIX 6266d325d25SmrgSED 6272d62a77cSmrghost_os 6282d62a77cSmrghost_vendor 6292d62a77cSmrghost_cpu 6302d62a77cSmrghost 6312d62a77cSmrgbuild_os 6322d62a77cSmrgbuild_vendor 6332d62a77cSmrgbuild_cpu 6342d62a77cSmrgbuild 6356d325d25SmrgINSTALL_CMD 6366d325d25SmrgPKG_CONFIG 6372d62a77cSmrgCHANGELOG_CMD 6382d62a77cSmrgCWARNFLAGS 6392d62a77cSmrgEGREP 6402d62a77cSmrgGREP 6412d62a77cSmrgCPP 6422d62a77cSmrgam__fastdepCC_FALSE 6432d62a77cSmrgam__fastdepCC_TRUE 6442d62a77cSmrgCCDEPMODE 6452d62a77cSmrgAMDEPBACKSLASH 6462d62a77cSmrgAMDEP_FALSE 6472d62a77cSmrgAMDEP_TRUE 6482d62a77cSmrgam__quote 6492d62a77cSmrgam__include 6502d62a77cSmrgDEPDIR 6512d62a77cSmrgOBJEXT 6522d62a77cSmrgEXEEXT 6532d62a77cSmrgac_ct_CC 6542d62a77cSmrgCPPFLAGS 6552d62a77cSmrgLDFLAGS 6562d62a77cSmrgCFLAGS 6572d62a77cSmrgCC 6582d62a77cSmrgMAINT 6592d62a77cSmrgMAINTAINER_MODE_FALSE 6602d62a77cSmrgMAINTAINER_MODE_TRUE 6612d62a77cSmrgam__untar 6622d62a77cSmrgam__tar 6632d62a77cSmrgAMTAR 6642d62a77cSmrgam__leading_dot 6652d62a77cSmrgSET_MAKE 6662d62a77cSmrgAWK 6672d62a77cSmrgmkdir_p 6682d62a77cSmrgMKDIR_P 6692d62a77cSmrgINSTALL_STRIP_PROGRAM 6702d62a77cSmrgSTRIP 6712d62a77cSmrginstall_sh 6722d62a77cSmrgMAKEINFO 6732d62a77cSmrgAUTOHEADER 6742d62a77cSmrgAUTOMAKE 6752d62a77cSmrgAUTOCONF 6762d62a77cSmrgACLOCAL 6772d62a77cSmrgVERSION 6782d62a77cSmrgPACKAGE 6792d62a77cSmrgCYGPATH_W 6802d62a77cSmrgam__isrc 6812d62a77cSmrgINSTALL_DATA 6822d62a77cSmrgINSTALL_SCRIPT 6832d62a77cSmrgINSTALL_PROGRAM 6842d62a77cSmrgtarget_alias 6852d62a77cSmrghost_alias 6862d62a77cSmrgbuild_alias 6872d62a77cSmrgLIBS 6882d62a77cSmrgECHO_T 6892d62a77cSmrgECHO_N 6902d62a77cSmrgECHO_C 6912d62a77cSmrgDEFS 6922d62a77cSmrgmandir 6932d62a77cSmrglocaledir 6942d62a77cSmrglibdir 6952d62a77cSmrgpsdir 6962d62a77cSmrgpdfdir 6972d62a77cSmrgdvidir 6982d62a77cSmrghtmldir 6992d62a77cSmrginfodir 7002d62a77cSmrgdocdir 7012d62a77cSmrgoldincludedir 7022d62a77cSmrgincludedir 7032d62a77cSmrglocalstatedir 7042d62a77cSmrgsharedstatedir 7052d62a77cSmrgsysconfdir 7062d62a77cSmrgdatadir 7072d62a77cSmrgdatarootdir 7082d62a77cSmrglibexecdir 7092d62a77cSmrgsbindir 7102d62a77cSmrgbindir 7112d62a77cSmrgprogram_transform_name 7122d62a77cSmrgprefix 7132d62a77cSmrgexec_prefix 7146d325d25SmrgPACKAGE_URL 7152d62a77cSmrgPACKAGE_BUGREPORT 7162d62a77cSmrgPACKAGE_STRING 7172d62a77cSmrgPACKAGE_VERSION 7182d62a77cSmrgPACKAGE_TARNAME 7192d62a77cSmrgPACKAGE_NAME 7202d62a77cSmrgPATH_SEPARATOR 7212d62a77cSmrgSHELL' 722a99f82b8Smrgac_subst_files='' 7232d62a77cSmrgac_user_opts=' 7242d62a77cSmrgenable_option_checking 7252d62a77cSmrgenable_maintainer_mode 7262d62a77cSmrgenable_dependency_tracking 7272d62a77cSmrgenable_strict_compilation 7286d325d25Smrgenable_silent_rules 7292d62a77cSmrgwith_fontrootdir 7302d62a77cSmrgwith_top_fontdir 7312d62a77cSmrg' 7322d62a77cSmrg ac_precious_vars='build_alias 7332d62a77cSmrghost_alias 7342d62a77cSmrgtarget_alias 7352d62a77cSmrgCC 7362d62a77cSmrgCFLAGS 7372d62a77cSmrgLDFLAGS 7382d62a77cSmrgLIBS 7392d62a77cSmrgCPPFLAGS 7402d62a77cSmrgCPP 7412d62a77cSmrgPKG_CONFIG' 7422d62a77cSmrg 743a99f82b8Smrg 744a99f82b8Smrg# Initialize some variables set by options. 745a99f82b8Smrgac_init_help= 746a99f82b8Smrgac_init_version=false 7472d62a77cSmrgac_unrecognized_opts= 7482d62a77cSmrgac_unrecognized_sep= 749a99f82b8Smrg# The variables have the same names as the options, with 750a99f82b8Smrg# dashes changed to underlines. 751a99f82b8Smrgcache_file=/dev/null 752a99f82b8Smrgexec_prefix=NONE 753a99f82b8Smrgno_create= 754a99f82b8Smrgno_recursion= 755a99f82b8Smrgprefix=NONE 756a99f82b8Smrgprogram_prefix=NONE 757a99f82b8Smrgprogram_suffix=NONE 758a99f82b8Smrgprogram_transform_name=s,x,x, 759a99f82b8Smrgsilent= 760a99f82b8Smrgsite= 761a99f82b8Smrgsrcdir= 762a99f82b8Smrgverbose= 763a99f82b8Smrgx_includes=NONE 764a99f82b8Smrgx_libraries=NONE 765a99f82b8Smrg 766a99f82b8Smrg# Installation directory options. 767a99f82b8Smrg# These are left unexpanded so users can "make install exec_prefix=/foo" 768a99f82b8Smrg# and all the variables that are supposed to be based on exec_prefix 769a99f82b8Smrg# by default will actually change. 770a99f82b8Smrg# Use braces instead of parens because sh, perl, etc. also accept them. 7712d62a77cSmrg# (The list follows the same order as the GNU Coding Standards.) 772a99f82b8Smrgbindir='${exec_prefix}/bin' 773a99f82b8Smrgsbindir='${exec_prefix}/sbin' 774a99f82b8Smrglibexecdir='${exec_prefix}/libexec' 7752d62a77cSmrgdatarootdir='${prefix}/share' 7762d62a77cSmrgdatadir='${datarootdir}' 777a99f82b8Smrgsysconfdir='${prefix}/etc' 778a99f82b8Smrgsharedstatedir='${prefix}/com' 779a99f82b8Smrglocalstatedir='${prefix}/var' 780a99f82b8Smrgincludedir='${prefix}/include' 781a99f82b8Smrgoldincludedir='/usr/include' 7822d62a77cSmrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 7832d62a77cSmrginfodir='${datarootdir}/info' 7842d62a77cSmrghtmldir='${docdir}' 7852d62a77cSmrgdvidir='${docdir}' 7862d62a77cSmrgpdfdir='${docdir}' 7872d62a77cSmrgpsdir='${docdir}' 7882d62a77cSmrglibdir='${exec_prefix}/lib' 7892d62a77cSmrglocaledir='${datarootdir}/locale' 7902d62a77cSmrgmandir='${datarootdir}/man' 791a99f82b8Smrg 792a99f82b8Smrgac_prev= 7932d62a77cSmrgac_dashdash= 794a99f82b8Smrgfor ac_option 795a99f82b8Smrgdo 796a99f82b8Smrg # If the previous option needs an argument, assign it. 797a99f82b8Smrg if test -n "$ac_prev"; then 7982d62a77cSmrg eval $ac_prev=\$ac_option 799a99f82b8Smrg ac_prev= 800a99f82b8Smrg continue 801a99f82b8Smrg fi 802a99f82b8Smrg 8032d62a77cSmrg case $ac_option in 8046d325d25Smrg *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 8056d325d25Smrg *=) ac_optarg= ;; 8066d325d25Smrg *) ac_optarg=yes ;; 8072d62a77cSmrg esac 808a99f82b8Smrg 809a99f82b8Smrg # Accept the important Cygnus configure options, so we can diagnose typos. 810a99f82b8Smrg 8112d62a77cSmrg case $ac_dashdash$ac_option in 8122d62a77cSmrg --) 8132d62a77cSmrg ac_dashdash=yes ;; 814a99f82b8Smrg 815a99f82b8Smrg -bindir | --bindir | --bindi | --bind | --bin | --bi) 816a99f82b8Smrg ac_prev=bindir ;; 817a99f82b8Smrg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 818a99f82b8Smrg bindir=$ac_optarg ;; 819a99f82b8Smrg 820a99f82b8Smrg -build | --build | --buil | --bui | --bu) 821a99f82b8Smrg ac_prev=build_alias ;; 822a99f82b8Smrg -build=* | --build=* | --buil=* | --bui=* | --bu=*) 823a99f82b8Smrg build_alias=$ac_optarg ;; 824a99f82b8Smrg 825a99f82b8Smrg -cache-file | --cache-file | --cache-fil | --cache-fi \ 826a99f82b8Smrg | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 827a99f82b8Smrg ac_prev=cache_file ;; 828a99f82b8Smrg -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 829a99f82b8Smrg | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 830a99f82b8Smrg cache_file=$ac_optarg ;; 831a99f82b8Smrg 832a99f82b8Smrg --config-cache | -C) 833a99f82b8Smrg cache_file=config.cache ;; 834a99f82b8Smrg 8352d62a77cSmrg -datadir | --datadir | --datadi | --datad) 836a99f82b8Smrg ac_prev=datadir ;; 8372d62a77cSmrg -datadir=* | --datadir=* | --datadi=* | --datad=*) 838a99f82b8Smrg datadir=$ac_optarg ;; 839a99f82b8Smrg 8402d62a77cSmrg -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 8412d62a77cSmrg | --dataroo | --dataro | --datar) 8422d62a77cSmrg ac_prev=datarootdir ;; 8432d62a77cSmrg -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 8442d62a77cSmrg | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 8452d62a77cSmrg datarootdir=$ac_optarg ;; 8462d62a77cSmrg 847a99f82b8Smrg -disable-* | --disable-*) 8482d62a77cSmrg ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 849a99f82b8Smrg # Reject names that are not valid shell variable names. 8502d62a77cSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 8516d325d25Smrg as_fn_error $? "invalid feature name: $ac_useropt" 8522d62a77cSmrg ac_useropt_orig=$ac_useropt 8532d62a77cSmrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 8542d62a77cSmrg case $ac_user_opts in 8552d62a77cSmrg *" 8562d62a77cSmrg"enable_$ac_useropt" 8572d62a77cSmrg"*) ;; 8582d62a77cSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 8592d62a77cSmrg ac_unrecognized_sep=', ';; 8602d62a77cSmrg esac 8612d62a77cSmrg eval enable_$ac_useropt=no ;; 8622d62a77cSmrg 8632d62a77cSmrg -docdir | --docdir | --docdi | --doc | --do) 8642d62a77cSmrg ac_prev=docdir ;; 8652d62a77cSmrg -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 8662d62a77cSmrg docdir=$ac_optarg ;; 8672d62a77cSmrg 8682d62a77cSmrg -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 8692d62a77cSmrg ac_prev=dvidir ;; 8702d62a77cSmrg -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 8712d62a77cSmrg dvidir=$ac_optarg ;; 872a99f82b8Smrg 873a99f82b8Smrg -enable-* | --enable-*) 8742d62a77cSmrg ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 875a99f82b8Smrg # Reject names that are not valid shell variable names. 8762d62a77cSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 8776d325d25Smrg as_fn_error $? "invalid feature name: $ac_useropt" 8782d62a77cSmrg ac_useropt_orig=$ac_useropt 8792d62a77cSmrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 8802d62a77cSmrg case $ac_user_opts in 8812d62a77cSmrg *" 8822d62a77cSmrg"enable_$ac_useropt" 8832d62a77cSmrg"*) ;; 8842d62a77cSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 8852d62a77cSmrg ac_unrecognized_sep=', ';; 886a99f82b8Smrg esac 8872d62a77cSmrg eval enable_$ac_useropt=\$ac_optarg ;; 888a99f82b8Smrg 889a99f82b8Smrg -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 890a99f82b8Smrg | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 891a99f82b8Smrg | --exec | --exe | --ex) 892a99f82b8Smrg ac_prev=exec_prefix ;; 893a99f82b8Smrg -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 894a99f82b8Smrg | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 895a99f82b8Smrg | --exec=* | --exe=* | --ex=*) 896a99f82b8Smrg exec_prefix=$ac_optarg ;; 897a99f82b8Smrg 898a99f82b8Smrg -gas | --gas | --ga | --g) 899a99f82b8Smrg # Obsolete; use --with-gas. 900a99f82b8Smrg with_gas=yes ;; 901a99f82b8Smrg 902a99f82b8Smrg -help | --help | --hel | --he | -h) 903a99f82b8Smrg ac_init_help=long ;; 904a99f82b8Smrg -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 905a99f82b8Smrg ac_init_help=recursive ;; 906a99f82b8Smrg -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 907a99f82b8Smrg ac_init_help=short ;; 908a99f82b8Smrg 909a99f82b8Smrg -host | --host | --hos | --ho) 910a99f82b8Smrg ac_prev=host_alias ;; 911a99f82b8Smrg -host=* | --host=* | --hos=* | --ho=*) 912a99f82b8Smrg host_alias=$ac_optarg ;; 913a99f82b8Smrg 9142d62a77cSmrg -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 9152d62a77cSmrg ac_prev=htmldir ;; 9162d62a77cSmrg -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 9172d62a77cSmrg | --ht=*) 9182d62a77cSmrg htmldir=$ac_optarg ;; 9192d62a77cSmrg 920a99f82b8Smrg -includedir | --includedir | --includedi | --included | --include \ 921a99f82b8Smrg | --includ | --inclu | --incl | --inc) 922a99f82b8Smrg ac_prev=includedir ;; 923a99f82b8Smrg -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 924a99f82b8Smrg | --includ=* | --inclu=* | --incl=* | --inc=*) 925a99f82b8Smrg includedir=$ac_optarg ;; 926a99f82b8Smrg 927a99f82b8Smrg -infodir | --infodir | --infodi | --infod | --info | --inf) 928a99f82b8Smrg ac_prev=infodir ;; 929a99f82b8Smrg -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 930a99f82b8Smrg infodir=$ac_optarg ;; 931a99f82b8Smrg 932a99f82b8Smrg -libdir | --libdir | --libdi | --libd) 933a99f82b8Smrg ac_prev=libdir ;; 934a99f82b8Smrg -libdir=* | --libdir=* | --libdi=* | --libd=*) 935a99f82b8Smrg libdir=$ac_optarg ;; 936a99f82b8Smrg 937a99f82b8Smrg -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 938a99f82b8Smrg | --libexe | --libex | --libe) 939a99f82b8Smrg ac_prev=libexecdir ;; 940a99f82b8Smrg -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 941a99f82b8Smrg | --libexe=* | --libex=* | --libe=*) 942a99f82b8Smrg libexecdir=$ac_optarg ;; 943a99f82b8Smrg 9442d62a77cSmrg -localedir | --localedir | --localedi | --localed | --locale) 9452d62a77cSmrg ac_prev=localedir ;; 9462d62a77cSmrg -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 9472d62a77cSmrg localedir=$ac_optarg ;; 9482d62a77cSmrg 949a99f82b8Smrg -localstatedir | --localstatedir | --localstatedi | --localstated \ 9502d62a77cSmrg | --localstate | --localstat | --localsta | --localst | --locals) 951a99f82b8Smrg ac_prev=localstatedir ;; 952a99f82b8Smrg -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 9532d62a77cSmrg | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 954a99f82b8Smrg localstatedir=$ac_optarg ;; 955a99f82b8Smrg 956a99f82b8Smrg -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 957a99f82b8Smrg ac_prev=mandir ;; 958a99f82b8Smrg -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 959a99f82b8Smrg mandir=$ac_optarg ;; 960a99f82b8Smrg 961a99f82b8Smrg -nfp | --nfp | --nf) 962a99f82b8Smrg # Obsolete; use --without-fp. 963a99f82b8Smrg with_fp=no ;; 964a99f82b8Smrg 965a99f82b8Smrg -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 966a99f82b8Smrg | --no-cr | --no-c | -n) 967a99f82b8Smrg no_create=yes ;; 968a99f82b8Smrg 969a99f82b8Smrg -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 970a99f82b8Smrg | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 971a99f82b8Smrg no_recursion=yes ;; 972a99f82b8Smrg 973a99f82b8Smrg -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 974a99f82b8Smrg | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 975a99f82b8Smrg | --oldin | --oldi | --old | --ol | --o) 976a99f82b8Smrg ac_prev=oldincludedir ;; 977a99f82b8Smrg -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 978a99f82b8Smrg | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 979a99f82b8Smrg | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 980a99f82b8Smrg oldincludedir=$ac_optarg ;; 981a99f82b8Smrg 982a99f82b8Smrg -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 983a99f82b8Smrg ac_prev=prefix ;; 984a99f82b8Smrg -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 985a99f82b8Smrg prefix=$ac_optarg ;; 986a99f82b8Smrg 987a99f82b8Smrg -program-prefix | --program-prefix | --program-prefi | --program-pref \ 988a99f82b8Smrg | --program-pre | --program-pr | --program-p) 989a99f82b8Smrg ac_prev=program_prefix ;; 990a99f82b8Smrg -program-prefix=* | --program-prefix=* | --program-prefi=* \ 991a99f82b8Smrg | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 992a99f82b8Smrg program_prefix=$ac_optarg ;; 993a99f82b8Smrg 994a99f82b8Smrg -program-suffix | --program-suffix | --program-suffi | --program-suff \ 995a99f82b8Smrg | --program-suf | --program-su | --program-s) 996a99f82b8Smrg ac_prev=program_suffix ;; 997a99f82b8Smrg -program-suffix=* | --program-suffix=* | --program-suffi=* \ 998a99f82b8Smrg | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 999a99f82b8Smrg program_suffix=$ac_optarg ;; 1000a99f82b8Smrg 1001a99f82b8Smrg -program-transform-name | --program-transform-name \ 1002a99f82b8Smrg | --program-transform-nam | --program-transform-na \ 1003a99f82b8Smrg | --program-transform-n | --program-transform- \ 1004a99f82b8Smrg | --program-transform | --program-transfor \ 1005a99f82b8Smrg | --program-transfo | --program-transf \ 1006a99f82b8Smrg | --program-trans | --program-tran \ 1007a99f82b8Smrg | --progr-tra | --program-tr | --program-t) 1008a99f82b8Smrg ac_prev=program_transform_name ;; 1009a99f82b8Smrg -program-transform-name=* | --program-transform-name=* \ 1010a99f82b8Smrg | --program-transform-nam=* | --program-transform-na=* \ 1011a99f82b8Smrg | --program-transform-n=* | --program-transform-=* \ 1012a99f82b8Smrg | --program-transform=* | --program-transfor=* \ 1013a99f82b8Smrg | --program-transfo=* | --program-transf=* \ 1014a99f82b8Smrg | --program-trans=* | --program-tran=* \ 1015a99f82b8Smrg | --progr-tra=* | --program-tr=* | --program-t=*) 1016a99f82b8Smrg program_transform_name=$ac_optarg ;; 1017a99f82b8Smrg 10182d62a77cSmrg -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 10192d62a77cSmrg ac_prev=pdfdir ;; 10202d62a77cSmrg -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 10212d62a77cSmrg pdfdir=$ac_optarg ;; 10222d62a77cSmrg 10232d62a77cSmrg -psdir | --psdir | --psdi | --psd | --ps) 10242d62a77cSmrg ac_prev=psdir ;; 10252d62a77cSmrg -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 10262d62a77cSmrg psdir=$ac_optarg ;; 10272d62a77cSmrg 1028a99f82b8Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1029a99f82b8Smrg | -silent | --silent | --silen | --sile | --sil) 1030a99f82b8Smrg silent=yes ;; 1031a99f82b8Smrg 1032a99f82b8Smrg -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1033a99f82b8Smrg ac_prev=sbindir ;; 1034a99f82b8Smrg -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1035a99f82b8Smrg | --sbi=* | --sb=*) 1036a99f82b8Smrg sbindir=$ac_optarg ;; 1037a99f82b8Smrg 1038a99f82b8Smrg -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1039a99f82b8Smrg | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1040a99f82b8Smrg | --sharedst | --shareds | --shared | --share | --shar \ 1041a99f82b8Smrg | --sha | --sh) 1042a99f82b8Smrg ac_prev=sharedstatedir ;; 1043a99f82b8Smrg -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1044a99f82b8Smrg | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1045a99f82b8Smrg | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1046a99f82b8Smrg | --sha=* | --sh=*) 1047a99f82b8Smrg sharedstatedir=$ac_optarg ;; 1048a99f82b8Smrg 1049a99f82b8Smrg -site | --site | --sit) 1050a99f82b8Smrg ac_prev=site ;; 1051a99f82b8Smrg -site=* | --site=* | --sit=*) 1052a99f82b8Smrg site=$ac_optarg ;; 1053a99f82b8Smrg 1054a99f82b8Smrg -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1055a99f82b8Smrg ac_prev=srcdir ;; 1056a99f82b8Smrg -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1057a99f82b8Smrg srcdir=$ac_optarg ;; 1058a99f82b8Smrg 1059a99f82b8Smrg -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1060a99f82b8Smrg | --syscon | --sysco | --sysc | --sys | --sy) 1061a99f82b8Smrg ac_prev=sysconfdir ;; 1062a99f82b8Smrg -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1063a99f82b8Smrg | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1064a99f82b8Smrg sysconfdir=$ac_optarg ;; 1065a99f82b8Smrg 1066a99f82b8Smrg -target | --target | --targe | --targ | --tar | --ta | --t) 1067a99f82b8Smrg ac_prev=target_alias ;; 1068a99f82b8Smrg -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1069a99f82b8Smrg target_alias=$ac_optarg ;; 1070a99f82b8Smrg 1071a99f82b8Smrg -v | -verbose | --verbose | --verbos | --verbo | --verb) 1072a99f82b8Smrg verbose=yes ;; 1073a99f82b8Smrg 1074a99f82b8Smrg -version | --version | --versio | --versi | --vers | -V) 1075a99f82b8Smrg ac_init_version=: ;; 1076a99f82b8Smrg 1077a99f82b8Smrg -with-* | --with-*) 10782d62a77cSmrg ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1079a99f82b8Smrg # Reject names that are not valid shell variable names. 10802d62a77cSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 10816d325d25Smrg as_fn_error $? "invalid package name: $ac_useropt" 10822d62a77cSmrg ac_useropt_orig=$ac_useropt 10832d62a77cSmrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 10842d62a77cSmrg case $ac_user_opts in 10852d62a77cSmrg *" 10862d62a77cSmrg"with_$ac_useropt" 10872d62a77cSmrg"*) ;; 10882d62a77cSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 10892d62a77cSmrg ac_unrecognized_sep=', ';; 1090a99f82b8Smrg esac 10912d62a77cSmrg eval with_$ac_useropt=\$ac_optarg ;; 1092a99f82b8Smrg 1093a99f82b8Smrg -without-* | --without-*) 10942d62a77cSmrg ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1095a99f82b8Smrg # Reject names that are not valid shell variable names. 10962d62a77cSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 10976d325d25Smrg as_fn_error $? "invalid package name: $ac_useropt" 10982d62a77cSmrg ac_useropt_orig=$ac_useropt 10992d62a77cSmrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 11002d62a77cSmrg case $ac_user_opts in 11012d62a77cSmrg *" 11022d62a77cSmrg"with_$ac_useropt" 11032d62a77cSmrg"*) ;; 11042d62a77cSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 11052d62a77cSmrg ac_unrecognized_sep=', ';; 11062d62a77cSmrg esac 11072d62a77cSmrg eval with_$ac_useropt=no ;; 1108a99f82b8Smrg 1109a99f82b8Smrg --x) 1110a99f82b8Smrg # Obsolete; use --with-x. 1111a99f82b8Smrg with_x=yes ;; 1112a99f82b8Smrg 1113a99f82b8Smrg -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1114a99f82b8Smrg | --x-incl | --x-inc | --x-in | --x-i) 1115a99f82b8Smrg ac_prev=x_includes ;; 1116a99f82b8Smrg -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1117a99f82b8Smrg | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1118a99f82b8Smrg x_includes=$ac_optarg ;; 1119a99f82b8Smrg 1120a99f82b8Smrg -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1121a99f82b8Smrg | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1122a99f82b8Smrg ac_prev=x_libraries ;; 1123a99f82b8Smrg -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1124a99f82b8Smrg | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1125a99f82b8Smrg x_libraries=$ac_optarg ;; 1126a99f82b8Smrg 11276d325d25Smrg -*) as_fn_error $? "unrecognized option: \`$ac_option' 11286d325d25SmrgTry \`$0 --help' for more information" 1129a99f82b8Smrg ;; 1130a99f82b8Smrg 1131a99f82b8Smrg *=*) 1132a99f82b8Smrg ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1133a99f82b8Smrg # Reject names that are not valid shell variable names. 11346d325d25Smrg case $ac_envvar in #( 11356d325d25Smrg '' | [0-9]* | *[!_$as_cr_alnum]* ) 11366d325d25Smrg as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 11376d325d25Smrg esac 11382d62a77cSmrg eval $ac_envvar=\$ac_optarg 1139a99f82b8Smrg export $ac_envvar ;; 1140a99f82b8Smrg 1141a99f82b8Smrg *) 1142a99f82b8Smrg # FIXME: should be removed in autoconf 3.0. 11432d62a77cSmrg $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1144a99f82b8Smrg expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 11452d62a77cSmrg $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 11466d325d25Smrg : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1147a99f82b8Smrg ;; 1148a99f82b8Smrg 1149a99f82b8Smrg esac 1150a99f82b8Smrgdone 1151a99f82b8Smrg 1152a99f82b8Smrgif test -n "$ac_prev"; then 1153a99f82b8Smrg ac_option=--`echo $ac_prev | sed 's/_/-/g'` 11546d325d25Smrg as_fn_error $? "missing argument to $ac_option" 1155a99f82b8Smrgfi 1156a99f82b8Smrg 11572d62a77cSmrgif test -n "$ac_unrecognized_opts"; then 11582d62a77cSmrg case $enable_option_checking in 11592d62a77cSmrg no) ;; 11606d325d25Smrg fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 11612d62a77cSmrg *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1162a99f82b8Smrg esac 11632d62a77cSmrgfi 1164a99f82b8Smrg 11652d62a77cSmrg# Check all directory arguments for consistency. 11662d62a77cSmrgfor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 11672d62a77cSmrg datadir sysconfdir sharedstatedir localstatedir includedir \ 11682d62a77cSmrg oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 11692d62a77cSmrg libdir localedir mandir 1170a99f82b8Smrgdo 11712d62a77cSmrg eval ac_val=\$$ac_var 11722d62a77cSmrg # Remove trailing slashes. 1173a99f82b8Smrg case $ac_val in 11742d62a77cSmrg */ ) 11752d62a77cSmrg ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 11762d62a77cSmrg eval $ac_var=\$ac_val;; 11772d62a77cSmrg esac 11782d62a77cSmrg # Be sure to have absolute directory names. 11792d62a77cSmrg case $ac_val in 11802d62a77cSmrg [\\/$]* | ?:[\\/]* ) continue;; 11812d62a77cSmrg NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1182a99f82b8Smrg esac 11836d325d25Smrg as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1184a99f82b8Smrgdone 1185a99f82b8Smrg 1186a99f82b8Smrg# There might be people who depend on the old broken behavior: `$host' 1187a99f82b8Smrg# used to hold the argument of --host etc. 1188a99f82b8Smrg# FIXME: To remove some day. 1189a99f82b8Smrgbuild=$build_alias 1190a99f82b8Smrghost=$host_alias 1191a99f82b8Smrgtarget=$target_alias 1192a99f82b8Smrg 1193a99f82b8Smrg# FIXME: To remove some day. 1194a99f82b8Smrgif test "x$host_alias" != x; then 1195a99f82b8Smrg if test "x$build_alias" = x; then 1196a99f82b8Smrg cross_compiling=maybe 11976d325d25Smrg $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 11986d325d25Smrg If a cross compiler is detected then cross compile mode will be used" >&2 1199a99f82b8Smrg elif test "x$build_alias" != "x$host_alias"; then 1200a99f82b8Smrg cross_compiling=yes 1201a99f82b8Smrg fi 1202a99f82b8Smrgfi 1203a99f82b8Smrg 1204a99f82b8Smrgac_tool_prefix= 1205a99f82b8Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias- 1206a99f82b8Smrg 1207a99f82b8Smrgtest "$silent" = yes && exec 6>/dev/null 1208a99f82b8Smrg 1209a99f82b8Smrg 12102d62a77cSmrgac_pwd=`pwd` && test -n "$ac_pwd" && 12112d62a77cSmrgac_ls_di=`ls -di .` && 12122d62a77cSmrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 12136d325d25Smrg as_fn_error $? "working directory cannot be determined" 12142d62a77cSmrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" || 12156d325d25Smrg as_fn_error $? "pwd does not report name of working directory" 12162d62a77cSmrg 12172d62a77cSmrg 1218a99f82b8Smrg# Find the source files, if location was not specified. 1219a99f82b8Smrgif test -z "$srcdir"; then 1220a99f82b8Smrg ac_srcdir_defaulted=yes 12212d62a77cSmrg # Try the directory containing this script, then the parent directory. 12222d62a77cSmrg ac_confdir=`$as_dirname -- "$as_myself" || 12232d62a77cSmrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12242d62a77cSmrg X"$as_myself" : 'X\(//\)[^/]' \| \ 12252d62a77cSmrg X"$as_myself" : 'X\(//\)$' \| \ 12262d62a77cSmrg X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 12272d62a77cSmrg$as_echo X"$as_myself" | 12282d62a77cSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12292d62a77cSmrg s//\1/ 12302d62a77cSmrg q 12312d62a77cSmrg } 12322d62a77cSmrg /^X\(\/\/\)[^/].*/{ 12332d62a77cSmrg s//\1/ 12342d62a77cSmrg q 12352d62a77cSmrg } 12362d62a77cSmrg /^X\(\/\/\)$/{ 12372d62a77cSmrg s//\1/ 12382d62a77cSmrg q 12392d62a77cSmrg } 12402d62a77cSmrg /^X\(\/\).*/{ 12412d62a77cSmrg s//\1/ 12422d62a77cSmrg q 12432d62a77cSmrg } 12442d62a77cSmrg s/.*/./; q'` 1245a99f82b8Smrg srcdir=$ac_confdir 12462d62a77cSmrg if test ! -r "$srcdir/$ac_unique_file"; then 1247a99f82b8Smrg srcdir=.. 1248a99f82b8Smrg fi 1249a99f82b8Smrgelse 1250a99f82b8Smrg ac_srcdir_defaulted=no 1251a99f82b8Smrgfi 12522d62a77cSmrgif test ! -r "$srcdir/$ac_unique_file"; then 12532d62a77cSmrg test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 12546d325d25Smrg as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1255a99f82b8Smrgfi 12562d62a77cSmrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 12572d62a77cSmrgac_abs_confdir=`( 12586d325d25Smrg cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 12592d62a77cSmrg pwd)` 12602d62a77cSmrg# When building in place, set srcdir=. 12612d62a77cSmrgif test "$ac_abs_confdir" = "$ac_pwd"; then 12622d62a77cSmrg srcdir=. 12632d62a77cSmrgfi 12642d62a77cSmrg# Remove unnecessary trailing slashes from srcdir. 12652d62a77cSmrg# Double slashes in file names in object file debugging info 12662d62a77cSmrg# mess up M-x gdb in Emacs. 12672d62a77cSmrgcase $srcdir in 12682d62a77cSmrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 12692d62a77cSmrgesac 12702d62a77cSmrgfor ac_var in $ac_precious_vars; do 12712d62a77cSmrg eval ac_env_${ac_var}_set=\${${ac_var}+set} 12722d62a77cSmrg eval ac_env_${ac_var}_value=\$${ac_var} 12732d62a77cSmrg eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 12742d62a77cSmrg eval ac_cv_env_${ac_var}_value=\$${ac_var} 12752d62a77cSmrgdone 1276a99f82b8Smrg 1277a99f82b8Smrg# 1278a99f82b8Smrg# Report the --help message. 1279a99f82b8Smrg# 1280a99f82b8Smrgif test "$ac_init_help" = "long"; then 1281a99f82b8Smrg # Omit some internal or obsolete options to make the list less imposing. 1282a99f82b8Smrg # This message is too long to be a string in the A/UX 3.1 sh. 1283a99f82b8Smrg cat <<_ACEOF 12846d325d25Smrg\`configure' configures font-alias 1.0.3 to adapt to many kinds of systems. 1285a99f82b8Smrg 1286a99f82b8SmrgUsage: $0 [OPTION]... [VAR=VALUE]... 1287a99f82b8Smrg 1288a99f82b8SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as 1289a99f82b8SmrgVAR=VALUE. See below for descriptions of some of the useful variables. 1290a99f82b8Smrg 1291a99f82b8SmrgDefaults for the options are specified in brackets. 1292a99f82b8Smrg 1293a99f82b8SmrgConfiguration: 1294a99f82b8Smrg -h, --help display this help and exit 1295a99f82b8Smrg --help=short display options specific to this package 1296a99f82b8Smrg --help=recursive display the short help of all the included packages 1297a99f82b8Smrg -V, --version display version information and exit 12986d325d25Smrg -q, --quiet, --silent do not print \`checking ...' messages 1299a99f82b8Smrg --cache-file=FILE cache test results in FILE [disabled] 1300a99f82b8Smrg -C, --config-cache alias for \`--cache-file=config.cache' 1301a99f82b8Smrg -n, --no-create do not create output files 1302a99f82b8Smrg --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1303a99f82b8Smrg 1304a99f82b8SmrgInstallation directories: 1305a99f82b8Smrg --prefix=PREFIX install architecture-independent files in PREFIX 13062d62a77cSmrg [$ac_default_prefix] 1307a99f82b8Smrg --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 13082d62a77cSmrg [PREFIX] 1309a99f82b8Smrg 1310a99f82b8SmrgBy default, \`make install' will install all the files in 1311a99f82b8Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1312a99f82b8Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix', 1313a99f82b8Smrgfor instance \`--prefix=\$HOME'. 1314a99f82b8Smrg 1315a99f82b8SmrgFor better control, use the options below. 1316a99f82b8Smrg 1317a99f82b8SmrgFine tuning of the installation directories: 13182d62a77cSmrg --bindir=DIR user executables [EPREFIX/bin] 13192d62a77cSmrg --sbindir=DIR system admin executables [EPREFIX/sbin] 13202d62a77cSmrg --libexecdir=DIR program executables [EPREFIX/libexec] 13212d62a77cSmrg --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 13222d62a77cSmrg --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 13232d62a77cSmrg --localstatedir=DIR modifiable single-machine data [PREFIX/var] 13242d62a77cSmrg --libdir=DIR object code libraries [EPREFIX/lib] 13252d62a77cSmrg --includedir=DIR C header files [PREFIX/include] 13262d62a77cSmrg --oldincludedir=DIR C header files for non-gcc [/usr/include] 13272d62a77cSmrg --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 13282d62a77cSmrg --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 13292d62a77cSmrg --infodir=DIR info documentation [DATAROOTDIR/info] 13302d62a77cSmrg --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 13312d62a77cSmrg --mandir=DIR man documentation [DATAROOTDIR/man] 13322d62a77cSmrg --docdir=DIR documentation root [DATAROOTDIR/doc/font-alias] 13332d62a77cSmrg --htmldir=DIR html documentation [DOCDIR] 13342d62a77cSmrg --dvidir=DIR dvi documentation [DOCDIR] 13352d62a77cSmrg --pdfdir=DIR pdf documentation [DOCDIR] 13362d62a77cSmrg --psdir=DIR ps documentation [DOCDIR] 1337a99f82b8Smrg_ACEOF 1338a99f82b8Smrg 1339a99f82b8Smrg cat <<\_ACEOF 1340a99f82b8Smrg 1341a99f82b8SmrgProgram names: 1342a99f82b8Smrg --program-prefix=PREFIX prepend PREFIX to installed program names 1343a99f82b8Smrg --program-suffix=SUFFIX append SUFFIX to installed program names 1344a99f82b8Smrg --program-transform-name=PROGRAM run sed PROGRAM on installed program names 13452d62a77cSmrg 13462d62a77cSmrgSystem types: 13472d62a77cSmrg --build=BUILD configure for building on BUILD [guessed] 13482d62a77cSmrg --host=HOST cross-compile to build programs to run on HOST [BUILD] 1349a99f82b8Smrg_ACEOF 1350a99f82b8Smrgfi 1351a99f82b8Smrg 1352a99f82b8Smrgif test -n "$ac_init_help"; then 1353a99f82b8Smrg case $ac_init_help in 13546d325d25Smrg short | recursive ) echo "Configuration of font-alias 1.0.3:";; 1355a99f82b8Smrg esac 1356a99f82b8Smrg cat <<\_ACEOF 1357a99f82b8Smrg 1358a99f82b8SmrgOptional Features: 13592d62a77cSmrg --disable-option-checking ignore unrecognized --enable/--with options 1360a99f82b8Smrg --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1361a99f82b8Smrg --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 13622d62a77cSmrg --enable-maintainer-mode enable make rules and dependencies not useful 13632d62a77cSmrg (and sometimes confusing) to the casual installer 13642d62a77cSmrg --disable-dependency-tracking speeds up one-time build 13652d62a77cSmrg --enable-dependency-tracking do not reject slow dependency extractors 13662d62a77cSmrg --enable-strict-compilation 13672d62a77cSmrg Enable all warnings from compiler and make them 13682d62a77cSmrg errors (default: disabled) 13696d325d25Smrg --enable-silent-rules less verbose build output (undo: `make V=1') 13706d325d25Smrg --disable-silent-rules verbose build output (undo: `make V=0') 1371a99f82b8Smrg 1372a99f82b8SmrgOptional Packages: 1373a99f82b8Smrg --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1374a99f82b8Smrg --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 13752d62a77cSmrg --with-fontrootdir=DIR Path to root directory for font files 13762d62a77cSmrg --with-top-fontdir=<pathname> 13772d62a77cSmrg Obsolete: use --with-fontrootdir instead 13782d62a77cSmrg 13792d62a77cSmrgSome influential environment variables: 13802d62a77cSmrg CC C compiler command 13812d62a77cSmrg CFLAGS C compiler flags 13822d62a77cSmrg LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 13832d62a77cSmrg nonstandard directory <lib dir> 13842d62a77cSmrg LIBS libraries to pass to the linker, e.g. -l<library> 13856d325d25Smrg CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 13862d62a77cSmrg you have headers in a nonstandard directory <include dir> 13872d62a77cSmrg CPP C preprocessor 13882d62a77cSmrg PKG_CONFIG path to pkg-config utility 13892d62a77cSmrg 13902d62a77cSmrgUse these variables to override the choices made by `configure' or to help 13912d62a77cSmrgit to find libraries and programs with nonstandard names/locations. 1392a99f82b8Smrg 1393a99f82b8SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 1394a99f82b8Smrg_ACEOF 13952d62a77cSmrgac_status=$? 1396a99f82b8Smrgfi 1397a99f82b8Smrg 1398a99f82b8Smrgif test "$ac_init_help" = "recursive"; then 1399a99f82b8Smrg # If there are subdirs, report their specific --help. 1400a99f82b8Smrg for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 14012d62a77cSmrg test -d "$ac_dir" || 14022d62a77cSmrg { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 14032d62a77cSmrg continue 1404a99f82b8Smrg ac_builddir=. 1405a99f82b8Smrg 14062d62a77cSmrgcase "$ac_dir" in 14072d62a77cSmrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 14082d62a77cSmrg*) 14092d62a77cSmrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 14102d62a77cSmrg # A ".." for each directory in $ac_dir_suffix. 14112d62a77cSmrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 14122d62a77cSmrg case $ac_top_builddir_sub in 14132d62a77cSmrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 14142d62a77cSmrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 14152d62a77cSmrg esac ;; 14162d62a77cSmrgesac 14172d62a77cSmrgac_abs_top_builddir=$ac_pwd 14182d62a77cSmrgac_abs_builddir=$ac_pwd$ac_dir_suffix 14192d62a77cSmrg# for backward compatibility: 14202d62a77cSmrgac_top_builddir=$ac_top_build_prefix 1421a99f82b8Smrg 1422a99f82b8Smrgcase $srcdir in 14232d62a77cSmrg .) # We are building in place. 1424a99f82b8Smrg ac_srcdir=. 14252d62a77cSmrg ac_top_srcdir=$ac_top_builddir_sub 14262d62a77cSmrg ac_abs_top_srcdir=$ac_pwd ;; 14272d62a77cSmrg [\\/]* | ?:[\\/]* ) # Absolute name. 1428a99f82b8Smrg ac_srcdir=$srcdir$ac_dir_suffix; 14292d62a77cSmrg ac_top_srcdir=$srcdir 14302d62a77cSmrg ac_abs_top_srcdir=$srcdir ;; 14312d62a77cSmrg *) # Relative name. 14322d62a77cSmrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 14332d62a77cSmrg ac_top_srcdir=$ac_top_build_prefix$srcdir 14342d62a77cSmrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1435a99f82b8Smrgesac 14362d62a77cSmrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 14372d62a77cSmrg 14382d62a77cSmrg cd "$ac_dir" || { ac_status=$?; continue; } 14392d62a77cSmrg # Check for guested configure. 14402d62a77cSmrg if test -f "$ac_srcdir/configure.gnu"; then 14412d62a77cSmrg echo && 14422d62a77cSmrg $SHELL "$ac_srcdir/configure.gnu" --help=recursive 14432d62a77cSmrg elif test -f "$ac_srcdir/configure"; then 14442d62a77cSmrg echo && 14452d62a77cSmrg $SHELL "$ac_srcdir/configure" --help=recursive 1446a99f82b8Smrg else 14472d62a77cSmrg $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 14482d62a77cSmrg fi || ac_status=$? 14492d62a77cSmrg cd "$ac_pwd" || { ac_status=$?; break; } 1450a99f82b8Smrg done 1451a99f82b8Smrgfi 1452a99f82b8Smrg 14532d62a77cSmrgtest -n "$ac_init_help" && exit $ac_status 1454a99f82b8Smrgif $ac_init_version; then 1455a99f82b8Smrg cat <<\_ACEOF 14566d325d25Smrgfont-alias configure 1.0.3 14576d325d25Smrggenerated by GNU Autoconf 2.68 1458a99f82b8Smrg 14596d325d25SmrgCopyright (C) 2010 Free Software Foundation, Inc. 1460a99f82b8SmrgThis configure script is free software; the Free Software Foundation 1461a99f82b8Smrggives unlimited permission to copy, distribute and modify it. 1462a99f82b8Smrg_ACEOF 14632d62a77cSmrg exit 1464a99f82b8Smrgfi 1465a99f82b8Smrg 14666d325d25Smrg## ------------------------ ## 14676d325d25Smrg## Autoconf initialization. ## 14686d325d25Smrg## ------------------------ ## 1469a99f82b8Smrg 14706d325d25Smrg# ac_fn_c_try_compile LINENO 14716d325d25Smrg# -------------------------- 14726d325d25Smrg# Try to compile conftest.$ac_ext, and return whether this succeeded. 14736d325d25Smrgac_fn_c_try_compile () 1474a99f82b8Smrg{ 14756d325d25Smrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 14766d325d25Smrg rm -f conftest.$ac_objext 14776d325d25Smrg if { { ac_try="$ac_compile" 14786d325d25Smrgcase "(($ac_try" in 14796d325d25Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14806d325d25Smrg *) ac_try_echo=$ac_try;; 14816d325d25Smrgesac 14826d325d25Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 14836d325d25Smrg$as_echo "$ac_try_echo"; } >&5 14846d325d25Smrg (eval "$ac_compile") 2>conftest.err 14856d325d25Smrg ac_status=$? 14866d325d25Smrg if test -s conftest.err; then 14876d325d25Smrg grep -v '^ *+' conftest.err >conftest.er1 14886d325d25Smrg cat conftest.er1 >&5 14896d325d25Smrg mv -f conftest.er1 conftest.err 14906d325d25Smrg fi 14916d325d25Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14926d325d25Smrg test $ac_status = 0; } && { 14936d325d25Smrg test -z "$ac_c_werror_flag" || 14946d325d25Smrg test ! -s conftest.err 14956d325d25Smrg } && test -s conftest.$ac_objext; then : 14966d325d25Smrg ac_retval=0 14976d325d25Smrgelse 14986d325d25Smrg $as_echo "$as_me: failed program was:" >&5 14996d325d25Smrgsed 's/^/| /' conftest.$ac_ext >&5 1500a99f82b8Smrg 15016d325d25Smrg ac_retval=1 15026d325d25Smrgfi 15036d325d25Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 15046d325d25Smrg as_fn_set_status $ac_retval 1505a99f82b8Smrg 15066d325d25Smrg} # ac_fn_c_try_compile 1507a99f82b8Smrg 15086d325d25Smrg# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 15096d325d25Smrg# --------------------------------------------- 15106d325d25Smrg# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 15116d325d25Smrg# accordingly. 15126d325d25Smrgac_fn_c_check_decl () 15136d325d25Smrg{ 15146d325d25Smrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 15156d325d25Smrg as_decl_name=`echo $2|sed 's/ *(.*//'` 15166d325d25Smrg as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 15176d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 15186d325d25Smrg$as_echo_n "checking whether $as_decl_name is declared... " >&6; } 15196d325d25Smrgif eval \${$3+:} false; then : 15206d325d25Smrg $as_echo_n "(cached) " >&6 15216d325d25Smrgelse 15226d325d25Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15236d325d25Smrg/* end confdefs.h. */ 15246d325d25Smrg$4 15256d325d25Smrgint 15266d325d25Smrgmain () 15276d325d25Smrg{ 15286d325d25Smrg#ifndef $as_decl_name 15296d325d25Smrg#ifdef __cplusplus 15306d325d25Smrg (void) $as_decl_use; 15316d325d25Smrg#else 15326d325d25Smrg (void) $as_decl_name; 15336d325d25Smrg#endif 15346d325d25Smrg#endif 15356d325d25Smrg 15366d325d25Smrg ; 15376d325d25Smrg return 0; 15386d325d25Smrg} 15396d325d25Smrg_ACEOF 15406d325d25Smrgif ac_fn_c_try_compile "$LINENO"; then : 15416d325d25Smrg eval "$3=yes" 15426d325d25Smrgelse 15436d325d25Smrg eval "$3=no" 15446d325d25Smrgfi 15456d325d25Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15466d325d25Smrgfi 15476d325d25Smrgeval ac_res=\$$3 15486d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 15496d325d25Smrg$as_echo "$ac_res" >&6; } 15506d325d25Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 15516d325d25Smrg 15526d325d25Smrg} # ac_fn_c_check_decl 15536d325d25Smrg 15546d325d25Smrg# ac_fn_c_try_cpp LINENO 15556d325d25Smrg# ---------------------- 15566d325d25Smrg# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 15576d325d25Smrgac_fn_c_try_cpp () 15586d325d25Smrg{ 15596d325d25Smrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 15606d325d25Smrg if { { ac_try="$ac_cpp conftest.$ac_ext" 15616d325d25Smrgcase "(($ac_try" in 15626d325d25Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15636d325d25Smrg *) ac_try_echo=$ac_try;; 15646d325d25Smrgesac 15656d325d25Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 15666d325d25Smrg$as_echo "$ac_try_echo"; } >&5 15676d325d25Smrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 15686d325d25Smrg ac_status=$? 15696d325d25Smrg if test -s conftest.err; then 15706d325d25Smrg grep -v '^ *+' conftest.err >conftest.er1 15716d325d25Smrg cat conftest.er1 >&5 15726d325d25Smrg mv -f conftest.er1 conftest.err 15736d325d25Smrg fi 15746d325d25Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15756d325d25Smrg test $ac_status = 0; } > conftest.i && { 15766d325d25Smrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 15776d325d25Smrg test ! -s conftest.err 15786d325d25Smrg }; then : 15796d325d25Smrg ac_retval=0 15806d325d25Smrgelse 15816d325d25Smrg $as_echo "$as_me: failed program was:" >&5 15826d325d25Smrgsed 's/^/| /' conftest.$ac_ext >&5 15836d325d25Smrg 15846d325d25Smrg ac_retval=1 15856d325d25Smrgfi 15866d325d25Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 15876d325d25Smrg as_fn_set_status $ac_retval 15886d325d25Smrg 15896d325d25Smrg} # ac_fn_c_try_cpp 15906d325d25Smrg 15916d325d25Smrg# ac_fn_c_try_run LINENO 15926d325d25Smrg# ---------------------- 15936d325d25Smrg# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 15946d325d25Smrg# that executables *can* be run. 15956d325d25Smrgac_fn_c_try_run () 15966d325d25Smrg{ 15976d325d25Smrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 15986d325d25Smrg if { { ac_try="$ac_link" 15996d325d25Smrgcase "(($ac_try" in 16006d325d25Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16016d325d25Smrg *) ac_try_echo=$ac_try;; 16026d325d25Smrgesac 16036d325d25Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 16046d325d25Smrg$as_echo "$ac_try_echo"; } >&5 16056d325d25Smrg (eval "$ac_link") 2>&5 16066d325d25Smrg ac_status=$? 16076d325d25Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16086d325d25Smrg test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 16096d325d25Smrg { { case "(($ac_try" in 16106d325d25Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16116d325d25Smrg *) ac_try_echo=$ac_try;; 16126d325d25Smrgesac 16136d325d25Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 16146d325d25Smrg$as_echo "$ac_try_echo"; } >&5 16156d325d25Smrg (eval "$ac_try") 2>&5 16166d325d25Smrg ac_status=$? 16176d325d25Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16186d325d25Smrg test $ac_status = 0; }; }; then : 16196d325d25Smrg ac_retval=0 16206d325d25Smrgelse 16216d325d25Smrg $as_echo "$as_me: program exited with status $ac_status" >&5 16226d325d25Smrg $as_echo "$as_me: failed program was:" >&5 16236d325d25Smrgsed 's/^/| /' conftest.$ac_ext >&5 16246d325d25Smrg 16256d325d25Smrg ac_retval=$ac_status 16266d325d25Smrgfi 16276d325d25Smrg rm -rf conftest.dSYM conftest_ipa8_conftest.oo 16286d325d25Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 16296d325d25Smrg as_fn_set_status $ac_retval 16306d325d25Smrg 16316d325d25Smrg} # ac_fn_c_try_run 16326d325d25Smrg 16336d325d25Smrg# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 16346d325d25Smrg# ------------------------------------------------------- 16356d325d25Smrg# Tests whether HEADER exists and can be compiled using the include files in 16366d325d25Smrg# INCLUDES, setting the cache variable VAR accordingly. 16376d325d25Smrgac_fn_c_check_header_compile () 16386d325d25Smrg{ 16396d325d25Smrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 16406d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 16416d325d25Smrg$as_echo_n "checking for $2... " >&6; } 16426d325d25Smrgif eval \${$3+:} false; then : 16436d325d25Smrg $as_echo_n "(cached) " >&6 16446d325d25Smrgelse 16456d325d25Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16466d325d25Smrg/* end confdefs.h. */ 16476d325d25Smrg$4 16486d325d25Smrg#include <$2> 16496d325d25Smrg_ACEOF 16506d325d25Smrgif ac_fn_c_try_compile "$LINENO"; then : 16516d325d25Smrg eval "$3=yes" 16526d325d25Smrgelse 16536d325d25Smrg eval "$3=no" 16546d325d25Smrgfi 16556d325d25Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16566d325d25Smrgfi 16576d325d25Smrgeval ac_res=\$$3 16586d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 16596d325d25Smrg$as_echo "$ac_res" >&6; } 16606d325d25Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 16616d325d25Smrg 16626d325d25Smrg} # ac_fn_c_check_header_compile 16636d325d25Smrgcat >config.log <<_ACEOF 16646d325d25SmrgThis file contains any messages produced by compilers while 16656d325d25Smrgrunning configure, to aid debugging if configure makes a mistake. 16666d325d25Smrg 16676d325d25SmrgIt was created by font-alias $as_me 1.0.3, which was 16686d325d25Smrggenerated by GNU Autoconf 2.68. Invocation command line was 16696d325d25Smrg 16706d325d25Smrg $ $0 $@ 16716d325d25Smrg 16726d325d25Smrg_ACEOF 16736d325d25Smrgexec 5>>config.log 16746d325d25Smrg{ 16756d325d25Smrgcat <<_ASUNAME 16766d325d25Smrg## --------- ## 16776d325d25Smrg## Platform. ## 16786d325d25Smrg## --------- ## 16796d325d25Smrg 16806d325d25Smrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 16816d325d25Smrguname -m = `(uname -m) 2>/dev/null || echo unknown` 16826d325d25Smrguname -r = `(uname -r) 2>/dev/null || echo unknown` 16836d325d25Smrguname -s = `(uname -s) 2>/dev/null || echo unknown` 16846d325d25Smrguname -v = `(uname -v) 2>/dev/null || echo unknown` 16856d325d25Smrg 16866d325d25Smrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 16876d325d25Smrg/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 16886d325d25Smrg 16896d325d25Smrg/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 16906d325d25Smrg/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 16916d325d25Smrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 16926d325d25Smrg/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 16936d325d25Smrg/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 16946d325d25Smrg/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 16956d325d25Smrg/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 16966d325d25Smrg 16976d325d25Smrg_ASUNAME 16986d325d25Smrg 16996d325d25Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17006d325d25Smrgfor as_dir in $PATH 1701a99f82b8Smrgdo 1702a99f82b8Smrg IFS=$as_save_IFS 1703a99f82b8Smrg test -z "$as_dir" && as_dir=. 17046d325d25Smrg $as_echo "PATH: $as_dir" 17056d325d25Smrg done 17062d62a77cSmrgIFS=$as_save_IFS 1707a99f82b8Smrg 1708a99f82b8Smrg} >&5 1709a99f82b8Smrg 1710a99f82b8Smrgcat >&5 <<_ACEOF 1711a99f82b8Smrg 1712a99f82b8Smrg 1713a99f82b8Smrg## ----------- ## 1714a99f82b8Smrg## Core tests. ## 1715a99f82b8Smrg## ----------- ## 1716a99f82b8Smrg 1717a99f82b8Smrg_ACEOF 1718a99f82b8Smrg 1719a99f82b8Smrg 1720a99f82b8Smrg# Keep a trace of the command line. 1721a99f82b8Smrg# Strip out --no-create and --no-recursion so they do not pile up. 1722a99f82b8Smrg# Strip out --silent because we don't want to record it for future runs. 1723a99f82b8Smrg# Also quote any args containing shell meta-characters. 1724a99f82b8Smrg# Make two passes to allow for proper duplicate-argument suppression. 1725a99f82b8Smrgac_configure_args= 1726a99f82b8Smrgac_configure_args0= 1727a99f82b8Smrgac_configure_args1= 1728a99f82b8Smrgac_must_keep_next=false 1729a99f82b8Smrgfor ac_pass in 1 2 1730a99f82b8Smrgdo 1731a99f82b8Smrg for ac_arg 1732a99f82b8Smrg do 1733a99f82b8Smrg case $ac_arg in 1734a99f82b8Smrg -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1735a99f82b8Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1736a99f82b8Smrg | -silent | --silent | --silen | --sile | --sil) 1737a99f82b8Smrg continue ;; 17382d62a77cSmrg *\'*) 17392d62a77cSmrg ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1740a99f82b8Smrg esac 1741a99f82b8Smrg case $ac_pass in 17426d325d25Smrg 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1743a99f82b8Smrg 2) 17446d325d25Smrg as_fn_append ac_configure_args1 " '$ac_arg'" 1745a99f82b8Smrg if test $ac_must_keep_next = true; then 1746a99f82b8Smrg ac_must_keep_next=false # Got value, back to normal. 1747a99f82b8Smrg else 1748a99f82b8Smrg case $ac_arg in 1749a99f82b8Smrg *=* | --config-cache | -C | -disable-* | --disable-* \ 1750a99f82b8Smrg | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1751a99f82b8Smrg | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1752a99f82b8Smrg | -with-* | --with-* | -without-* | --without-* | --x) 1753a99f82b8Smrg case "$ac_configure_args0 " in 1754a99f82b8Smrg "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1755a99f82b8Smrg esac 1756a99f82b8Smrg ;; 1757a99f82b8Smrg -* ) ac_must_keep_next=true ;; 1758a99f82b8Smrg esac 1759a99f82b8Smrg fi 17606d325d25Smrg as_fn_append ac_configure_args " '$ac_arg'" 1761a99f82b8Smrg ;; 1762a99f82b8Smrg esac 1763a99f82b8Smrg done 1764a99f82b8Smrgdone 17656d325d25Smrg{ ac_configure_args0=; unset ac_configure_args0;} 17666d325d25Smrg{ ac_configure_args1=; unset ac_configure_args1;} 1767a99f82b8Smrg 1768a99f82b8Smrg# When interrupted or exit'd, cleanup temporary files, and complete 1769a99f82b8Smrg# config.log. We remove comments because anyway the quotes in there 1770a99f82b8Smrg# would cause problems or look ugly. 17712d62a77cSmrg# WARNING: Use '\'' to represent an apostrophe within the trap. 17722d62a77cSmrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1773a99f82b8Smrgtrap 'exit_status=$? 1774a99f82b8Smrg # Save into config.log some information that might help in debugging. 1775a99f82b8Smrg { 1776a99f82b8Smrg echo 1777a99f82b8Smrg 17786d325d25Smrg $as_echo "## ---------------- ## 1779a99f82b8Smrg## Cache variables. ## 17806d325d25Smrg## ---------------- ##" 1781a99f82b8Smrg echo 1782a99f82b8Smrg # The following way of writing the cache mishandles newlines in values, 17832d62a77cSmrg( 17842d62a77cSmrg for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 17852d62a77cSmrg eval ac_val=\$$ac_var 17862d62a77cSmrg case $ac_val in #( 17872d62a77cSmrg *${as_nl}*) 17882d62a77cSmrg case $ac_var in #( 17896d325d25Smrg *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 17902d62a77cSmrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 17912d62a77cSmrg esac 17922d62a77cSmrg case $ac_var in #( 17932d62a77cSmrg _ | IFS | as_nl) ;; #( 17942d62a77cSmrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 17956d325d25Smrg *) { eval $ac_var=; unset $ac_var;} ;; 17962d62a77cSmrg esac ;; 17972d62a77cSmrg esac 17982d62a77cSmrg done 1799a99f82b8Smrg (set) 2>&1 | 18002d62a77cSmrg case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 18012d62a77cSmrg *${as_nl}ac_space=\ *) 1802a99f82b8Smrg sed -n \ 18032d62a77cSmrg "s/'\''/'\''\\\\'\'''\''/g; 18042d62a77cSmrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 18052d62a77cSmrg ;; #( 1806a99f82b8Smrg *) 18072d62a77cSmrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1808a99f82b8Smrg ;; 18092d62a77cSmrg esac | 18102d62a77cSmrg sort 18112d62a77cSmrg) 1812a99f82b8Smrg echo 1813a99f82b8Smrg 18146d325d25Smrg $as_echo "## ----------------- ## 1815a99f82b8Smrg## Output variables. ## 18166d325d25Smrg## ----------------- ##" 1817a99f82b8Smrg echo 1818a99f82b8Smrg for ac_var in $ac_subst_vars 1819a99f82b8Smrg do 18202d62a77cSmrg eval ac_val=\$$ac_var 18212d62a77cSmrg case $ac_val in 18222d62a77cSmrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 18232d62a77cSmrg esac 18242d62a77cSmrg $as_echo "$ac_var='\''$ac_val'\''" 1825a99f82b8Smrg done | sort 1826a99f82b8Smrg echo 1827a99f82b8Smrg 1828a99f82b8Smrg if test -n "$ac_subst_files"; then 18296d325d25Smrg $as_echo "## ------------------- ## 18302d62a77cSmrg## File substitutions. ## 18316d325d25Smrg## ------------------- ##" 1832a99f82b8Smrg echo 1833a99f82b8Smrg for ac_var in $ac_subst_files 1834a99f82b8Smrg do 18352d62a77cSmrg eval ac_val=\$$ac_var 18362d62a77cSmrg case $ac_val in 18372d62a77cSmrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 18382d62a77cSmrg esac 18392d62a77cSmrg $as_echo "$ac_var='\''$ac_val'\''" 1840a99f82b8Smrg done | sort 1841a99f82b8Smrg echo 1842a99f82b8Smrg fi 1843a99f82b8Smrg 1844a99f82b8Smrg if test -s confdefs.h; then 18456d325d25Smrg $as_echo "## ----------- ## 1846a99f82b8Smrg## confdefs.h. ## 18476d325d25Smrg## ----------- ##" 1848a99f82b8Smrg echo 18492d62a77cSmrg cat confdefs.h 1850a99f82b8Smrg echo 1851a99f82b8Smrg fi 1852a99f82b8Smrg test "$ac_signal" != 0 && 18532d62a77cSmrg $as_echo "$as_me: caught signal $ac_signal" 18542d62a77cSmrg $as_echo "$as_me: exit $exit_status" 1855a99f82b8Smrg } >&5 18562d62a77cSmrg rm -f core *.core core.conftest.* && 18572d62a77cSmrg rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1858a99f82b8Smrg exit $exit_status 18592d62a77cSmrg' 0 1860a99f82b8Smrgfor ac_signal in 1 2 13 15; do 18616d325d25Smrg trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1862a99f82b8Smrgdone 1863a99f82b8Smrgac_signal=0 1864a99f82b8Smrg 1865a99f82b8Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed. 18662d62a77cSmrgrm -f -r conftest* confdefs.h 1867a99f82b8Smrg 18686d325d25Smrg$as_echo "/* confdefs.h */" > confdefs.h 18696d325d25Smrg 1870a99f82b8Smrg# Predefined preprocessor variables. 1871a99f82b8Smrg 1872a99f82b8Smrgcat >>confdefs.h <<_ACEOF 1873a99f82b8Smrg#define PACKAGE_NAME "$PACKAGE_NAME" 1874a99f82b8Smrg_ACEOF 1875a99f82b8Smrg 1876a99f82b8Smrgcat >>confdefs.h <<_ACEOF 1877a99f82b8Smrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1878a99f82b8Smrg_ACEOF 1879a99f82b8Smrg 1880a99f82b8Smrgcat >>confdefs.h <<_ACEOF 1881a99f82b8Smrg#define PACKAGE_VERSION "$PACKAGE_VERSION" 1882a99f82b8Smrg_ACEOF 1883a99f82b8Smrg 1884a99f82b8Smrgcat >>confdefs.h <<_ACEOF 1885a99f82b8Smrg#define PACKAGE_STRING "$PACKAGE_STRING" 1886a99f82b8Smrg_ACEOF 1887a99f82b8Smrg 1888a99f82b8Smrgcat >>confdefs.h <<_ACEOF 1889a99f82b8Smrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1890a99f82b8Smrg_ACEOF 1891a99f82b8Smrg 18926d325d25Smrgcat >>confdefs.h <<_ACEOF 18936d325d25Smrg#define PACKAGE_URL "$PACKAGE_URL" 18946d325d25Smrg_ACEOF 18956d325d25Smrg 1896a99f82b8Smrg 1897a99f82b8Smrg# Let the site file select an alternate cache file if it wants to. 18982d62a77cSmrg# Prefer an explicitly selected file to automatically selected ones. 18992d62a77cSmrgac_site_file1=NONE 19002d62a77cSmrgac_site_file2=NONE 19012d62a77cSmrgif test -n "$CONFIG_SITE"; then 19026d325d25Smrg # We do not want a PATH search for config.site. 19036d325d25Smrg case $CONFIG_SITE in #(( 19046d325d25Smrg -*) ac_site_file1=./$CONFIG_SITE;; 19056d325d25Smrg */*) ac_site_file1=$CONFIG_SITE;; 19066d325d25Smrg *) ac_site_file1=./$CONFIG_SITE;; 19076d325d25Smrg esac 19082d62a77cSmrgelif test "x$prefix" != xNONE; then 19092d62a77cSmrg ac_site_file1=$prefix/share/config.site 19102d62a77cSmrg ac_site_file2=$prefix/etc/config.site 19112d62a77cSmrgelse 19122d62a77cSmrg ac_site_file1=$ac_default_prefix/share/config.site 19132d62a77cSmrg ac_site_file2=$ac_default_prefix/etc/config.site 1914a99f82b8Smrgfi 19152d62a77cSmrgfor ac_site_file in "$ac_site_file1" "$ac_site_file2" 19162d62a77cSmrgdo 19172d62a77cSmrg test "x$ac_site_file" = xNONE && continue 19186d325d25Smrg if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 19196d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 19202d62a77cSmrg$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1921a99f82b8Smrg sed 's/^/| /' "$ac_site_file" >&5 19226d325d25Smrg . "$ac_site_file" \ 19236d325d25Smrg || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19246d325d25Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19256d325d25Smrgas_fn_error $? "failed to load site script $ac_site_file 19266d325d25SmrgSee \`config.log' for more details" "$LINENO" 5; } 1927a99f82b8Smrg fi 1928a99f82b8Smrgdone 1929a99f82b8Smrg 1930a99f82b8Smrgif test -r "$cache_file"; then 19316d325d25Smrg # Some versions of bash will fail to source /dev/null (special files 19326d325d25Smrg # actually), so we avoid doing that. DJGPP emulates it as a regular file. 19336d325d25Smrg if test /dev/null != "$cache_file" && test -f "$cache_file"; then 19346d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 19352d62a77cSmrg$as_echo "$as_me: loading cache $cache_file" >&6;} 1936a99f82b8Smrg case $cache_file in 19372d62a77cSmrg [\\/]* | ?:[\\/]* ) . "$cache_file";; 19382d62a77cSmrg *) . "./$cache_file";; 1939a99f82b8Smrg esac 1940a99f82b8Smrg fi 1941a99f82b8Smrgelse 19426d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 19432d62a77cSmrg$as_echo "$as_me: creating cache $cache_file" >&6;} 1944a99f82b8Smrg >$cache_file 1945a99f82b8Smrgfi 1946a99f82b8Smrg 1947a99f82b8Smrg# Check that the precious variables saved in the cache have kept the same 1948a99f82b8Smrg# value. 1949a99f82b8Smrgac_cache_corrupted=false 19502d62a77cSmrgfor ac_var in $ac_precious_vars; do 1951a99f82b8Smrg eval ac_old_set=\$ac_cv_env_${ac_var}_set 1952a99f82b8Smrg eval ac_new_set=\$ac_env_${ac_var}_set 19532d62a77cSmrg eval ac_old_val=\$ac_cv_env_${ac_var}_value 19542d62a77cSmrg eval ac_new_val=\$ac_env_${ac_var}_value 1955a99f82b8Smrg case $ac_old_set,$ac_new_set in 1956a99f82b8Smrg set,) 19576d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 19582d62a77cSmrg$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1959a99f82b8Smrg ac_cache_corrupted=: ;; 1960a99f82b8Smrg ,set) 19616d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 19622d62a77cSmrg$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1963a99f82b8Smrg ac_cache_corrupted=: ;; 1964a99f82b8Smrg ,);; 1965a99f82b8Smrg *) 1966a99f82b8Smrg if test "x$ac_old_val" != "x$ac_new_val"; then 19672d62a77cSmrg # differences in whitespace do not lead to failure. 19682d62a77cSmrg ac_old_val_w=`echo x $ac_old_val` 19692d62a77cSmrg ac_new_val_w=`echo x $ac_new_val` 19702d62a77cSmrg if test "$ac_old_val_w" != "$ac_new_val_w"; then 19716d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 19722d62a77cSmrg$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 19732d62a77cSmrg ac_cache_corrupted=: 19742d62a77cSmrg else 19756d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 19762d62a77cSmrg$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 19772d62a77cSmrg eval $ac_var=\$ac_old_val 19782d62a77cSmrg fi 19796d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 19802d62a77cSmrg$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 19816d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 19822d62a77cSmrg$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1983a99f82b8Smrg fi;; 1984a99f82b8Smrg esac 1985a99f82b8Smrg # Pass precious variables to config.status. 1986a99f82b8Smrg if test "$ac_new_set" = set; then 1987a99f82b8Smrg case $ac_new_val in 19882d62a77cSmrg *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1989a99f82b8Smrg *) ac_arg=$ac_var=$ac_new_val ;; 1990a99f82b8Smrg esac 1991a99f82b8Smrg case " $ac_configure_args " in 1992a99f82b8Smrg *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 19936d325d25Smrg *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1994a99f82b8Smrg esac 1995a99f82b8Smrg fi 1996a99f82b8Smrgdone 1997a99f82b8Smrgif $ac_cache_corrupted; then 19986d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19992d62a77cSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20006d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 20012d62a77cSmrg$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 20026d325d25Smrg as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2003a99f82b8Smrgfi 20046d325d25Smrg## -------------------- ## 20056d325d25Smrg## Main body of script. ## 20066d325d25Smrg## -------------------- ## 2007a99f82b8Smrg 20082d62a77cSmrgac_ext=c 20092d62a77cSmrgac_cpp='$CPP $CPPFLAGS' 20102d62a77cSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 20112d62a77cSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 20122d62a77cSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 2013a99f82b8Smrg 2014a99f82b8Smrg 20152d62a77cSmrgam__api_version='1.11' 2016a99f82b8Smrg 2017a99f82b8Smrgac_aux_dir= 20182d62a77cSmrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 20192d62a77cSmrg if test -f "$ac_dir/install-sh"; then 2020a99f82b8Smrg ac_aux_dir=$ac_dir 2021a99f82b8Smrg ac_install_sh="$ac_aux_dir/install-sh -c" 2022a99f82b8Smrg break 20232d62a77cSmrg elif test -f "$ac_dir/install.sh"; then 2024a99f82b8Smrg ac_aux_dir=$ac_dir 2025a99f82b8Smrg ac_install_sh="$ac_aux_dir/install.sh -c" 2026a99f82b8Smrg break 20272d62a77cSmrg elif test -f "$ac_dir/shtool"; then 2028a99f82b8Smrg ac_aux_dir=$ac_dir 2029a99f82b8Smrg ac_install_sh="$ac_aux_dir/shtool install -c" 2030a99f82b8Smrg break 2031a99f82b8Smrg fi 2032a99f82b8Smrgdone 2033a99f82b8Smrgif test -z "$ac_aux_dir"; then 20346d325d25Smrg as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2035a99f82b8Smrgfi 20362d62a77cSmrg 20372d62a77cSmrg# These three variables are undocumented and unsupported, 20382d62a77cSmrg# and are intended to be withdrawn in a future Autoconf release. 20392d62a77cSmrg# They can cause serious problems if a builder's source tree is in a directory 20402d62a77cSmrg# whose full name contains unusual characters. 20412d62a77cSmrgac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 20422d62a77cSmrgac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 20432d62a77cSmrgac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 20442d62a77cSmrg 2045a99f82b8Smrg 2046a99f82b8Smrg# Find a good install program. We prefer a C program (faster), 2047a99f82b8Smrg# so one script is as good as another. But avoid the broken or 2048a99f82b8Smrg# incompatible versions: 2049a99f82b8Smrg# SysV /etc/install, /usr/sbin/install 2050a99f82b8Smrg# SunOS /usr/etc/install 2051a99f82b8Smrg# IRIX /sbin/install 2052a99f82b8Smrg# AIX /bin/install 2053a99f82b8Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs 2054a99f82b8Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2055a99f82b8Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2056a99f82b8Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2057a99f82b8Smrg# OS/2's system install, which has a completely different semantic 2058a99f82b8Smrg# ./install, which can be erroneously created by make from ./install.sh. 20592d62a77cSmrg# Reject install programs that cannot install multiple files. 20606d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 20612d62a77cSmrg$as_echo_n "checking for a BSD-compatible install... " >&6; } 2062a99f82b8Smrgif test -z "$INSTALL"; then 20636d325d25Smrgif ${ac_cv_path_install+:} false; then : 20642d62a77cSmrg $as_echo_n "(cached) " >&6 2065a99f82b8Smrgelse 2066a99f82b8Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2067a99f82b8Smrgfor as_dir in $PATH 2068a99f82b8Smrgdo 2069a99f82b8Smrg IFS=$as_save_IFS 2070a99f82b8Smrg test -z "$as_dir" && as_dir=. 20716d325d25Smrg # Account for people who put trailing slashes in PATH elements. 20726d325d25Smrgcase $as_dir/ in #(( 20736d325d25Smrg ./ | .// | /[cC]/* | \ 2074a99f82b8Smrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 20756d325d25Smrg ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2076a99f82b8Smrg /usr/ucb/* ) ;; 2077a99f82b8Smrg *) 2078a99f82b8Smrg # OSF1 and SCO ODT 3.0 have their own names for install. 2079a99f82b8Smrg # Don't use installbsd from OSF since it installs stuff as root 2080a99f82b8Smrg # by default. 2081a99f82b8Smrg for ac_prog in ginstall scoinst install; do 2082a99f82b8Smrg for ac_exec_ext in '' $ac_executable_extensions; do 20832d62a77cSmrg if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2084a99f82b8Smrg if test $ac_prog = install && 2085a99f82b8Smrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2086a99f82b8Smrg # AIX install. It has an incompatible calling convention. 2087a99f82b8Smrg : 2088a99f82b8Smrg elif test $ac_prog = install && 2089a99f82b8Smrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2090a99f82b8Smrg # program-specific install script used by HP pwplus--don't use. 2091a99f82b8Smrg : 2092a99f82b8Smrg else 20932d62a77cSmrg rm -rf conftest.one conftest.two conftest.dir 20942d62a77cSmrg echo one > conftest.one 20952d62a77cSmrg echo two > conftest.two 20962d62a77cSmrg mkdir conftest.dir 20972d62a77cSmrg if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 20982d62a77cSmrg test -s conftest.one && test -s conftest.two && 20992d62a77cSmrg test -s conftest.dir/conftest.one && 21002d62a77cSmrg test -s conftest.dir/conftest.two 21012d62a77cSmrg then 21022d62a77cSmrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 21032d62a77cSmrg break 3 21042d62a77cSmrg fi 2105a99f82b8Smrg fi 2106a99f82b8Smrg fi 2107a99f82b8Smrg done 2108a99f82b8Smrg done 2109a99f82b8Smrg ;; 2110a99f82b8Smrgesac 21112d62a77cSmrg 21126d325d25Smrg done 21132d62a77cSmrgIFS=$as_save_IFS 2114a99f82b8Smrg 21152d62a77cSmrgrm -rf conftest.one conftest.two conftest.dir 2116a99f82b8Smrg 2117a99f82b8Smrgfi 2118a99f82b8Smrg if test "${ac_cv_path_install+set}" = set; then 2119a99f82b8Smrg INSTALL=$ac_cv_path_install 2120a99f82b8Smrg else 21212d62a77cSmrg # As a last resort, use the slow shell script. Don't cache a 21222d62a77cSmrg # value for INSTALL within a source directory, because that will 2123a99f82b8Smrg # break other packages using the cache if that directory is 21242d62a77cSmrg # removed, or if the value is a relative name. 2125a99f82b8Smrg INSTALL=$ac_install_sh 2126a99f82b8Smrg fi 2127a99f82b8Smrgfi 21286d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 21292d62a77cSmrg$as_echo "$INSTALL" >&6; } 2130a99f82b8Smrg 2131a99f82b8Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2132a99f82b8Smrg# It thinks the first close brace ends the variable substitution. 2133a99f82b8Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2134a99f82b8Smrg 2135a99f82b8Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2136a99f82b8Smrg 2137a99f82b8Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2138a99f82b8Smrg 21396d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 21402d62a77cSmrg$as_echo_n "checking whether build environment is sane... " >&6; } 2141a99f82b8Smrg# Just in case 2142a99f82b8Smrgsleep 1 2143a99f82b8Smrgecho timestamp > conftest.file 21442d62a77cSmrg# Reject unsafe characters in $srcdir or the absolute working directory 21452d62a77cSmrg# name. Accept space and tab only in the latter. 21462d62a77cSmrgam_lf=' 21472d62a77cSmrg' 21482d62a77cSmrgcase `pwd` in 21492d62a77cSmrg *[\\\"\#\$\&\'\`$am_lf]*) 21506d325d25Smrg as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 21512d62a77cSmrgesac 21522d62a77cSmrgcase $srcdir in 21532d62a77cSmrg *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 21546d325d25Smrg as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 21552d62a77cSmrgesac 21562d62a77cSmrg 2157a99f82b8Smrg# Do `set' in a subshell so we don't clobber the current shell's 2158a99f82b8Smrg# arguments. Must try -L first in case configure is actually a 2159a99f82b8Smrg# symlink; some systems play weird games with the mod time of symlinks 2160a99f82b8Smrg# (eg FreeBSD returns the mod time of the symlink's containing 2161a99f82b8Smrg# directory). 2162a99f82b8Smrgif ( 21632d62a77cSmrg set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2164a99f82b8Smrg if test "$*" = "X"; then 2165a99f82b8Smrg # -L didn't work. 21662d62a77cSmrg set X `ls -t "$srcdir/configure" conftest.file` 2167a99f82b8Smrg fi 2168a99f82b8Smrg rm -f conftest.file 2169a99f82b8Smrg if test "$*" != "X $srcdir/configure conftest.file" \ 2170a99f82b8Smrg && test "$*" != "X conftest.file $srcdir/configure"; then 2171a99f82b8Smrg 2172a99f82b8Smrg # If neither matched, then we have a broken ls. This can happen 2173a99f82b8Smrg # if, for instance, CONFIG_SHELL is bash and it inherits a 2174a99f82b8Smrg # broken ls alias from the environment. This has actually 2175a99f82b8Smrg # happened. Such a system could not be considered "sane". 21766d325d25Smrg as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 21776d325d25Smrgalias in your environment" "$LINENO" 5 2178a99f82b8Smrg fi 2179a99f82b8Smrg 2180a99f82b8Smrg test "$2" = conftest.file 2181a99f82b8Smrg ) 2182a99f82b8Smrgthen 2183a99f82b8Smrg # Ok. 2184a99f82b8Smrg : 2185a99f82b8Smrgelse 21866d325d25Smrg as_fn_error $? "newly created file is older than distributed files! 21876d325d25SmrgCheck your system clock" "$LINENO" 5 2188a99f82b8Smrgfi 21896d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 21902d62a77cSmrg$as_echo "yes" >&6; } 2191a99f82b8Smrgtest "$program_prefix" != NONE && 21922d62a77cSmrg program_transform_name="s&^&$program_prefix&;$program_transform_name" 2193a99f82b8Smrg# Use a double $ so make ignores it. 2194a99f82b8Smrgtest "$program_suffix" != NONE && 21952d62a77cSmrg program_transform_name="s&\$&$program_suffix&;$program_transform_name" 21962d62a77cSmrg# Double any \ or $. 2197a99f82b8Smrg# By default was `s,x,x', remove it if useless. 21982d62a77cSmrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 21992d62a77cSmrgprogram_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2200a99f82b8Smrg 2201a99f82b8Smrg# expand $ac_aux_dir to an absolute path 2202a99f82b8Smrgam_aux_dir=`cd $ac_aux_dir && pwd` 2203a99f82b8Smrg 22042d62a77cSmrgif test x"${MISSING+set}" != xset; then 22052d62a77cSmrg case $am_aux_dir in 22062d62a77cSmrg *\ * | *\ *) 22072d62a77cSmrg MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 22082d62a77cSmrg *) 22092d62a77cSmrg MISSING="\${SHELL} $am_aux_dir/missing" ;; 22102d62a77cSmrg esac 22112d62a77cSmrgfi 2212a99f82b8Smrg# Use eval to expand $SHELL 2213a99f82b8Smrgif eval "$MISSING --run true"; then 2214a99f82b8Smrg am_missing_run="$MISSING --run " 2215a99f82b8Smrgelse 2216a99f82b8Smrg am_missing_run= 22176d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 22182d62a77cSmrg$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 22192d62a77cSmrgfi 22202d62a77cSmrg 22212d62a77cSmrgif test x"${install_sh}" != xset; then 22222d62a77cSmrg case $am_aux_dir in 22232d62a77cSmrg *\ * | *\ *) 22242d62a77cSmrg install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 22252d62a77cSmrg *) 22262d62a77cSmrg install_sh="\${SHELL} $am_aux_dir/install-sh" 22272d62a77cSmrg esac 22282d62a77cSmrgfi 22292d62a77cSmrg 22302d62a77cSmrg# Installed binaries are usually stripped using `strip' when the user 22312d62a77cSmrg# run `make install-strip'. However `strip' might not be the right 22322d62a77cSmrg# tool to use in cross-compilation environments, therefore Automake 22332d62a77cSmrg# will honor the `STRIP' environment variable to overrule this program. 22342d62a77cSmrgif test "$cross_compiling" != no; then 22352d62a77cSmrg if test -n "$ac_tool_prefix"; then 22362d62a77cSmrg # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 22372d62a77cSmrgset dummy ${ac_tool_prefix}strip; ac_word=$2 22386d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22392d62a77cSmrg$as_echo_n "checking for $ac_word... " >&6; } 22406d325d25Smrgif ${ac_cv_prog_STRIP+:} false; then : 22412d62a77cSmrg $as_echo_n "(cached) " >&6 22422d62a77cSmrgelse 22432d62a77cSmrg if test -n "$STRIP"; then 22442d62a77cSmrg ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 22452d62a77cSmrgelse 22462d62a77cSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22472d62a77cSmrgfor as_dir in $PATH 22482d62a77cSmrgdo 22492d62a77cSmrg IFS=$as_save_IFS 22502d62a77cSmrg test -z "$as_dir" && as_dir=. 22516d325d25Smrg for ac_exec_ext in '' $ac_executable_extensions; do 22522d62a77cSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 22532d62a77cSmrg ac_cv_prog_STRIP="${ac_tool_prefix}strip" 22546d325d25Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 22552d62a77cSmrg break 2 22562d62a77cSmrg fi 22572d62a77cSmrgdone 22586d325d25Smrg done 22592d62a77cSmrgIFS=$as_save_IFS 22602d62a77cSmrg 22612d62a77cSmrgfi 22622d62a77cSmrgfi 22632d62a77cSmrgSTRIP=$ac_cv_prog_STRIP 22642d62a77cSmrgif test -n "$STRIP"; then 22656d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 22662d62a77cSmrg$as_echo "$STRIP" >&6; } 22672d62a77cSmrgelse 22686d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22692d62a77cSmrg$as_echo "no" >&6; } 22702d62a77cSmrgfi 22712d62a77cSmrg 22722d62a77cSmrg 22732d62a77cSmrgfi 22742d62a77cSmrgif test -z "$ac_cv_prog_STRIP"; then 22752d62a77cSmrg ac_ct_STRIP=$STRIP 22762d62a77cSmrg # Extract the first word of "strip", so it can be a program name with args. 22772d62a77cSmrgset dummy strip; ac_word=$2 22786d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22792d62a77cSmrg$as_echo_n "checking for $ac_word... " >&6; } 22806d325d25Smrgif ${ac_cv_prog_ac_ct_STRIP+:} false; then : 22812d62a77cSmrg $as_echo_n "(cached) " >&6 22822d62a77cSmrgelse 22832d62a77cSmrg if test -n "$ac_ct_STRIP"; then 22842d62a77cSmrg ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 22852d62a77cSmrgelse 22862d62a77cSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22872d62a77cSmrgfor as_dir in $PATH 22882d62a77cSmrgdo 22892d62a77cSmrg IFS=$as_save_IFS 22902d62a77cSmrg test -z "$as_dir" && as_dir=. 22916d325d25Smrg for ac_exec_ext in '' $ac_executable_extensions; do 22922d62a77cSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 22932d62a77cSmrg ac_cv_prog_ac_ct_STRIP="strip" 22946d325d25Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 22952d62a77cSmrg break 2 22962d62a77cSmrg fi 22972d62a77cSmrgdone 22986d325d25Smrg done 22992d62a77cSmrgIFS=$as_save_IFS 23002d62a77cSmrg 23012d62a77cSmrgfi 23022d62a77cSmrgfi 23032d62a77cSmrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 23042d62a77cSmrgif test -n "$ac_ct_STRIP"; then 23056d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 23062d62a77cSmrg$as_echo "$ac_ct_STRIP" >&6; } 23072d62a77cSmrgelse 23086d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23092d62a77cSmrg$as_echo "no" >&6; } 23102d62a77cSmrgfi 23112d62a77cSmrg 23122d62a77cSmrg if test "x$ac_ct_STRIP" = x; then 23132d62a77cSmrg STRIP=":" 23142d62a77cSmrg else 23152d62a77cSmrg case $cross_compiling:$ac_tool_warned in 23162d62a77cSmrgyes:) 23176d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 23182d62a77cSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 23192d62a77cSmrgac_tool_warned=yes ;; 23202d62a77cSmrgesac 23212d62a77cSmrg STRIP=$ac_ct_STRIP 23222d62a77cSmrg fi 23232d62a77cSmrgelse 23242d62a77cSmrg STRIP="$ac_cv_prog_STRIP" 23252d62a77cSmrgfi 23262d62a77cSmrg 23272d62a77cSmrgfi 23282d62a77cSmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 23292d62a77cSmrg 23306d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 23312d62a77cSmrg$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 23322d62a77cSmrgif test -z "$MKDIR_P"; then 23336d325d25Smrg if ${ac_cv_path_mkdir+:} false; then : 23342d62a77cSmrg $as_echo_n "(cached) " >&6 23352d62a77cSmrgelse 23362d62a77cSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23372d62a77cSmrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 23382d62a77cSmrgdo 23392d62a77cSmrg IFS=$as_save_IFS 23402d62a77cSmrg test -z "$as_dir" && as_dir=. 23416d325d25Smrg for ac_prog in mkdir gmkdir; do 23422d62a77cSmrg for ac_exec_ext in '' $ac_executable_extensions; do 23432d62a77cSmrg { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 23442d62a77cSmrg case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 23452d62a77cSmrg 'mkdir (GNU coreutils) '* | \ 23462d62a77cSmrg 'mkdir (coreutils) '* | \ 23472d62a77cSmrg 'mkdir (fileutils) '4.1*) 23482d62a77cSmrg ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 23492d62a77cSmrg break 3;; 23502d62a77cSmrg esac 23512d62a77cSmrg done 23522d62a77cSmrg done 23536d325d25Smrg done 23542d62a77cSmrgIFS=$as_save_IFS 23552d62a77cSmrg 23562d62a77cSmrgfi 23572d62a77cSmrg 23586d325d25Smrg test -d ./--version && rmdir ./--version 23592d62a77cSmrg if test "${ac_cv_path_mkdir+set}" = set; then 23602d62a77cSmrg MKDIR_P="$ac_cv_path_mkdir -p" 23612d62a77cSmrg else 23622d62a77cSmrg # As a last resort, use the slow shell script. Don't cache a 23632d62a77cSmrg # value for MKDIR_P within a source directory, because that will 23642d62a77cSmrg # break other packages using the cache if that directory is 23652d62a77cSmrg # removed, or if the value is a relative name. 23662d62a77cSmrg MKDIR_P="$ac_install_sh -d" 23672d62a77cSmrg fi 2368a99f82b8Smrgfi 23696d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 23702d62a77cSmrg$as_echo "$MKDIR_P" >&6; } 23712d62a77cSmrg 23722d62a77cSmrgmkdir_p="$MKDIR_P" 23732d62a77cSmrgcase $mkdir_p in 23742d62a77cSmrg [\\/$]* | ?:[\\/]*) ;; 23752d62a77cSmrg */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 23762d62a77cSmrgesac 2377a99f82b8Smrg 2378a99f82b8Smrgfor ac_prog in gawk mawk nawk awk 2379a99f82b8Smrgdo 2380a99f82b8Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 2381a99f82b8Smrgset dummy $ac_prog; ac_word=$2 23826d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23832d62a77cSmrg$as_echo_n "checking for $ac_word... " >&6; } 23846d325d25Smrgif ${ac_cv_prog_AWK+:} false; then : 23852d62a77cSmrg $as_echo_n "(cached) " >&6 2386a99f82b8Smrgelse 2387a99f82b8Smrg if test -n "$AWK"; then 2388a99f82b8Smrg ac_cv_prog_AWK="$AWK" # Let the user override the test. 2389a99f82b8Smrgelse 2390a99f82b8Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2391a99f82b8Smrgfor as_dir in $PATH 2392a99f82b8Smrgdo 2393a99f82b8Smrg IFS=$as_save_IFS 2394a99f82b8Smrg test -z "$as_dir" && as_dir=. 23956d325d25Smrg for ac_exec_ext in '' $ac_executable_extensions; do 23962d62a77cSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2397a99f82b8Smrg ac_cv_prog_AWK="$ac_prog" 23986d325d25Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2399a99f82b8Smrg break 2 2400a99f82b8Smrg fi 2401a99f82b8Smrgdone 24026d325d25Smrg done 24032d62a77cSmrgIFS=$as_save_IFS 2404a99f82b8Smrg 2405a99f82b8Smrgfi 2406a99f82b8Smrgfi 2407a99f82b8SmrgAWK=$ac_cv_prog_AWK 2408a99f82b8Smrgif test -n "$AWK"; then 24096d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 24102d62a77cSmrg$as_echo "$AWK" >&6; } 2411a99f82b8Smrgelse 24126d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24132d62a77cSmrg$as_echo "no" >&6; } 2414a99f82b8Smrgfi 2415a99f82b8Smrg 24162d62a77cSmrg 2417a99f82b8Smrg test -n "$AWK" && break 2418a99f82b8Smrgdone 2419a99f82b8Smrg 24206d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 24212d62a77cSmrg$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 24222d62a77cSmrgset x ${MAKE-make} 24232d62a77cSmrgac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 24246d325d25Smrgif eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 24252d62a77cSmrg $as_echo_n "(cached) " >&6 2426a99f82b8Smrgelse 2427a99f82b8Smrg cat >conftest.make <<\_ACEOF 24282d62a77cSmrgSHELL = /bin/sh 2429a99f82b8Smrgall: 24302d62a77cSmrg @echo '@@@%%%=$(MAKE)=@@@%%%' 2431a99f82b8Smrg_ACEOF 24326d325d25Smrg# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 24332d62a77cSmrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in 24342d62a77cSmrg *@@@%%%=?*=@@@%%%*) 24352d62a77cSmrg eval ac_cv_prog_make_${ac_make}_set=yes;; 24362d62a77cSmrg *) 24372d62a77cSmrg eval ac_cv_prog_make_${ac_make}_set=no;; 24382d62a77cSmrgesac 2439a99f82b8Smrgrm -f conftest.make 2440a99f82b8Smrgfi 24412d62a77cSmrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 24426d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24432d62a77cSmrg$as_echo "yes" >&6; } 2444a99f82b8Smrg SET_MAKE= 2445a99f82b8Smrgelse 24466d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24472d62a77cSmrg$as_echo "no" >&6; } 2448a99f82b8Smrg SET_MAKE="MAKE=${MAKE-make}" 2449a99f82b8Smrgfi 2450a99f82b8Smrg 2451a99f82b8Smrgrm -rf .tst 2>/dev/null 2452a99f82b8Smrgmkdir .tst 2>/dev/null 2453a99f82b8Smrgif test -d .tst; then 2454a99f82b8Smrg am__leading_dot=. 2455a99f82b8Smrgelse 2456a99f82b8Smrg am__leading_dot=_ 2457a99f82b8Smrgfi 2458a99f82b8Smrgrmdir .tst 2>/dev/null 2459a99f82b8Smrg 24602d62a77cSmrgif test "`cd $srcdir && pwd`" != "`pwd`"; then 24612d62a77cSmrg # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 24622d62a77cSmrg # is not polluted with repeated "-I." 24632d62a77cSmrg am__isrc=' -I$(srcdir)' 24642d62a77cSmrg # test to see if srcdir already configured 24652d62a77cSmrg if test -f $srcdir/config.status; then 24666d325d25Smrg as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 24672d62a77cSmrg fi 2468a99f82b8Smrgfi 2469a99f82b8Smrg 2470a99f82b8Smrg# test whether we have cygpath 2471a99f82b8Smrgif test -z "$CYGPATH_W"; then 2472a99f82b8Smrg if (cygpath --version) >/dev/null 2>/dev/null; then 2473a99f82b8Smrg CYGPATH_W='cygpath -w' 2474a99f82b8Smrg else 2475a99f82b8Smrg CYGPATH_W=echo 2476a99f82b8Smrg fi 2477a99f82b8Smrgfi 2478a99f82b8Smrg 2479a99f82b8Smrg 2480a99f82b8Smrg# Define the identity of the package. 2481a99f82b8Smrg PACKAGE='font-alias' 24826d325d25Smrg VERSION='1.0.3' 2483a99f82b8Smrg 2484a99f82b8Smrg 2485a99f82b8Smrgcat >>confdefs.h <<_ACEOF 2486a99f82b8Smrg#define PACKAGE "$PACKAGE" 2487a99f82b8Smrg_ACEOF 2488a99f82b8Smrg 2489a99f82b8Smrg 2490a99f82b8Smrgcat >>confdefs.h <<_ACEOF 2491a99f82b8Smrg#define VERSION "$VERSION" 2492a99f82b8Smrg_ACEOF 2493a99f82b8Smrg 2494a99f82b8Smrg# Some tools Automake needs. 2495a99f82b8Smrg 2496a99f82b8SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2497a99f82b8Smrg 2498a99f82b8Smrg 2499a99f82b8SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2500a99f82b8Smrg 2501a99f82b8Smrg 2502a99f82b8SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2503a99f82b8Smrg 2504a99f82b8Smrg 2505a99f82b8SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2506a99f82b8Smrg 2507a99f82b8Smrg 2508a99f82b8SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2509a99f82b8Smrg 25102d62a77cSmrg# We need awk for the "check" target. The system "awk" is bad on 25112d62a77cSmrg# some platforms. 25122d62a77cSmrg# Always define AMTAR for backward compatibility. 2513a99f82b8Smrg 2514a99f82b8SmrgAMTAR=${AMTAR-"${am_missing_run}tar"} 2515a99f82b8Smrg 25162d62a77cSmrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2517a99f82b8Smrg 25182d62a77cSmrg 25192d62a77cSmrg 25202d62a77cSmrg 25212d62a77cSmrg 25222d62a77cSmrg 25236d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 25242d62a77cSmrg$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 25252d62a77cSmrg # Check whether --enable-maintainer-mode was given. 25266d325d25Smrgif test "${enable_maintainer_mode+set}" = set; then : 25272d62a77cSmrg enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2528a99f82b8Smrgelse 25292d62a77cSmrg USE_MAINTAINER_MODE=no 25302d62a77cSmrgfi 25312d62a77cSmrg 25326d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 25332d62a77cSmrg$as_echo "$USE_MAINTAINER_MODE" >&6; } 25342d62a77cSmrg if test $USE_MAINTAINER_MODE = yes; then 25352d62a77cSmrg MAINTAINER_MODE_TRUE= 25362d62a77cSmrg MAINTAINER_MODE_FALSE='#' 25372d62a77cSmrgelse 25382d62a77cSmrg MAINTAINER_MODE_TRUE='#' 25392d62a77cSmrg MAINTAINER_MODE_FALSE= 25402d62a77cSmrgfi 25412d62a77cSmrg 25422d62a77cSmrg MAINT=$MAINTAINER_MODE_TRUE 25432d62a77cSmrg 25442d62a77cSmrg 25452d62a77cSmrg 25462d62a77cSmrg# Require xorg-macros: XORG_DEFAULT_OPTIONS 25472d62a77cSmrg 25482d62a77cSmrg 25492d62a77cSmrg 25502d62a77cSmrg 25512d62a77cSmrg 25522d62a77cSmrg 25532d62a77cSmrg 25542d62a77cSmrg 25552d62a77cSmrg 25562d62a77cSmrg 25572d62a77cSmrg 25582d62a77cSmrgDEPDIR="${am__leading_dot}deps" 25592d62a77cSmrg 25602d62a77cSmrgac_config_commands="$ac_config_commands depfiles" 25612d62a77cSmrg 25622d62a77cSmrg 25632d62a77cSmrgam_make=${MAKE-make} 25642d62a77cSmrgcat > confinc << 'END' 25652d62a77cSmrgam__doit: 25662d62a77cSmrg @echo this is the am__doit target 25672d62a77cSmrg.PHONY: am__doit 25682d62a77cSmrgEND 25692d62a77cSmrg# If we don't find an include directive, just comment out the code. 25706d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 25712d62a77cSmrg$as_echo_n "checking for style of include used by $am_make... " >&6; } 25722d62a77cSmrgam__include="#" 25732d62a77cSmrgam__quote= 25742d62a77cSmrg_am_result=none 25752d62a77cSmrg# First try GNU make style include. 25762d62a77cSmrgecho "include confinc" > confmf 25772d62a77cSmrg# Ignore all kinds of additional output from `make'. 25782d62a77cSmrgcase `$am_make -s -f confmf 2> /dev/null` in #( 25792d62a77cSmrg*the\ am__doit\ target*) 25802d62a77cSmrg am__include=include 25812d62a77cSmrg am__quote= 25822d62a77cSmrg _am_result=GNU 25832d62a77cSmrg ;; 25842d62a77cSmrgesac 25852d62a77cSmrg# Now try BSD make style include. 25862d62a77cSmrgif test "$am__include" = "#"; then 25872d62a77cSmrg echo '.include "confinc"' > confmf 25882d62a77cSmrg case `$am_make -s -f confmf 2> /dev/null` in #( 25892d62a77cSmrg *the\ am__doit\ target*) 25902d62a77cSmrg am__include=.include 25912d62a77cSmrg am__quote="\"" 25922d62a77cSmrg _am_result=BSD 25932d62a77cSmrg ;; 25942d62a77cSmrg esac 25952d62a77cSmrgfi 25962d62a77cSmrg 25972d62a77cSmrg 25986d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 25992d62a77cSmrg$as_echo "$_am_result" >&6; } 26002d62a77cSmrgrm -f confinc confmf 26012d62a77cSmrg 26022d62a77cSmrg# Check whether --enable-dependency-tracking was given. 26036d325d25Smrgif test "${enable_dependency_tracking+set}" = set; then : 26042d62a77cSmrg enableval=$enable_dependency_tracking; 26052d62a77cSmrgfi 26062d62a77cSmrg 26072d62a77cSmrgif test "x$enable_dependency_tracking" != xno; then 26082d62a77cSmrg am_depcomp="$ac_aux_dir/depcomp" 26092d62a77cSmrg AMDEPBACKSLASH='\' 26102d62a77cSmrgfi 26112d62a77cSmrg if test "x$enable_dependency_tracking" != xno; then 26122d62a77cSmrg AMDEP_TRUE= 26132d62a77cSmrg AMDEP_FALSE='#' 26142d62a77cSmrgelse 26152d62a77cSmrg AMDEP_TRUE='#' 26162d62a77cSmrg AMDEP_FALSE= 26172d62a77cSmrgfi 26182d62a77cSmrg 26192d62a77cSmrg 26202d62a77cSmrgac_ext=c 26212d62a77cSmrgac_cpp='$CPP $CPPFLAGS' 26222d62a77cSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 26232d62a77cSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 26242d62a77cSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 26252d62a77cSmrgif test -n "$ac_tool_prefix"; then 26262d62a77cSmrg # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 26272d62a77cSmrgset dummy ${ac_tool_prefix}gcc; ac_word=$2 26286d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 26292d62a77cSmrg$as_echo_n "checking for $ac_word... " >&6; } 26306d325d25Smrgif ${ac_cv_prog_CC+:} false; then : 26312d62a77cSmrg $as_echo_n "(cached) " >&6 26322d62a77cSmrgelse 26332d62a77cSmrg if test -n "$CC"; then 26342d62a77cSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 2635a99f82b8Smrgelse 2636a99f82b8Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2637a99f82b8Smrgfor as_dir in $PATH 2638a99f82b8Smrgdo 2639a99f82b8Smrg IFS=$as_save_IFS 2640a99f82b8Smrg test -z "$as_dir" && as_dir=. 26416d325d25Smrg for ac_exec_ext in '' $ac_executable_extensions; do 26422d62a77cSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 26432d62a77cSmrg ac_cv_prog_CC="${ac_tool_prefix}gcc" 26446d325d25Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2645a99f82b8Smrg break 2 2646a99f82b8Smrg fi 2647a99f82b8Smrgdone 26486d325d25Smrg done 26492d62a77cSmrgIFS=$as_save_IFS 2650a99f82b8Smrg 2651a99f82b8Smrgfi 2652a99f82b8Smrgfi 26532d62a77cSmrgCC=$ac_cv_prog_CC 26542d62a77cSmrgif test -n "$CC"; then 26556d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 26562d62a77cSmrg$as_echo "$CC" >&6; } 2657a99f82b8Smrgelse 26586d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26592d62a77cSmrg$as_echo "no" >&6; } 2660a99f82b8Smrgfi 2661a99f82b8Smrg 26622d62a77cSmrg 2663a99f82b8Smrgfi 26642d62a77cSmrgif test -z "$ac_cv_prog_CC"; then 26652d62a77cSmrg ac_ct_CC=$CC 26662d62a77cSmrg # Extract the first word of "gcc", so it can be a program name with args. 26672d62a77cSmrgset dummy gcc; ac_word=$2 26686d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 26692d62a77cSmrg$as_echo_n "checking for $ac_word... " >&6; } 26706d325d25Smrgif ${ac_cv_prog_ac_ct_CC+:} false; then : 26712d62a77cSmrg $as_echo_n "(cached) " >&6 2672a99f82b8Smrgelse 26732d62a77cSmrg if test -n "$ac_ct_CC"; then 26742d62a77cSmrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2675a99f82b8Smrgelse 2676a99f82b8Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2677a99f82b8Smrgfor as_dir in $PATH 2678a99f82b8Smrgdo 2679a99f82b8Smrg IFS=$as_save_IFS 2680a99f82b8Smrg test -z "$as_dir" && as_dir=. 26816d325d25Smrg for ac_exec_ext in '' $ac_executable_extensions; do 26822d62a77cSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 26832d62a77cSmrg ac_cv_prog_ac_ct_CC="gcc" 26846d325d25Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2685a99f82b8Smrg break 2 2686a99f82b8Smrg fi 2687a99f82b8Smrgdone 26886d325d25Smrg done 26892d62a77cSmrgIFS=$as_save_IFS 2690a99f82b8Smrg 2691a99f82b8Smrgfi 2692a99f82b8Smrgfi 26932d62a77cSmrgac_ct_CC=$ac_cv_prog_ac_ct_CC 26942d62a77cSmrgif test -n "$ac_ct_CC"; then 26956d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 26962d62a77cSmrg$as_echo "$ac_ct_CC" >&6; } 2697a99f82b8Smrgelse 26986d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26992d62a77cSmrg$as_echo "no" >&6; } 2700a99f82b8Smrgfi 2701a99f82b8Smrg 27022d62a77cSmrg if test "x$ac_ct_CC" = x; then 27032d62a77cSmrg CC="" 27042d62a77cSmrg else 27052d62a77cSmrg case $cross_compiling:$ac_tool_warned in 27062d62a77cSmrgyes:) 27076d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 27082d62a77cSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 27092d62a77cSmrgac_tool_warned=yes ;; 27102d62a77cSmrgesac 27112d62a77cSmrg CC=$ac_ct_CC 27122d62a77cSmrg fi 2713a99f82b8Smrgelse 27142d62a77cSmrg CC="$ac_cv_prog_CC" 2715a99f82b8Smrgfi 2716a99f82b8Smrg 27172d62a77cSmrgif test -z "$CC"; then 27182d62a77cSmrg if test -n "$ac_tool_prefix"; then 27192d62a77cSmrg # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 27202d62a77cSmrgset dummy ${ac_tool_prefix}cc; ac_word=$2 27216d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 27222d62a77cSmrg$as_echo_n "checking for $ac_word... " >&6; } 27236d325d25Smrgif ${ac_cv_prog_CC+:} false; then : 27242d62a77cSmrg $as_echo_n "(cached) " >&6 2725a99f82b8Smrgelse 27262d62a77cSmrg if test -n "$CC"; then 27272d62a77cSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 2728a99f82b8Smrgelse 27292d62a77cSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 27302d62a77cSmrgfor as_dir in $PATH 27312d62a77cSmrgdo 27322d62a77cSmrg IFS=$as_save_IFS 27332d62a77cSmrg test -z "$as_dir" && as_dir=. 27346d325d25Smrg for ac_exec_ext in '' $ac_executable_extensions; do 27352d62a77cSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 27362d62a77cSmrg ac_cv_prog_CC="${ac_tool_prefix}cc" 27376d325d25Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 27382d62a77cSmrg break 2 27392d62a77cSmrg fi 27402d62a77cSmrgdone 27416d325d25Smrg done 27422d62a77cSmrgIFS=$as_save_IFS 27432d62a77cSmrg 27442d62a77cSmrgfi 27452d62a77cSmrgfi 27462d62a77cSmrgCC=$ac_cv_prog_CC 27472d62a77cSmrgif test -n "$CC"; then 27486d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 27492d62a77cSmrg$as_echo "$CC" >&6; } 27502d62a77cSmrgelse 27516d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27522d62a77cSmrg$as_echo "no" >&6; } 27532d62a77cSmrgfi 27542d62a77cSmrg 27552d62a77cSmrg 27562d62a77cSmrg fi 27572d62a77cSmrgfi 27582d62a77cSmrgif test -z "$CC"; then 27592d62a77cSmrg # Extract the first word of "cc", so it can be a program name with args. 27602d62a77cSmrgset dummy cc; ac_word=$2 27616d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 27622d62a77cSmrg$as_echo_n "checking for $ac_word... " >&6; } 27636d325d25Smrgif ${ac_cv_prog_CC+:} false; then : 27642d62a77cSmrg $as_echo_n "(cached) " >&6 27652d62a77cSmrgelse 27662d62a77cSmrg if test -n "$CC"; then 27672d62a77cSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 27682d62a77cSmrgelse 27692d62a77cSmrg ac_prog_rejected=no 27702d62a77cSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 27712d62a77cSmrgfor as_dir in $PATH 27722d62a77cSmrgdo 27732d62a77cSmrg IFS=$as_save_IFS 27742d62a77cSmrg test -z "$as_dir" && as_dir=. 27756d325d25Smrg for ac_exec_ext in '' $ac_executable_extensions; do 27762d62a77cSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 27772d62a77cSmrg if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 27782d62a77cSmrg ac_prog_rejected=yes 27792d62a77cSmrg continue 27802d62a77cSmrg fi 27812d62a77cSmrg ac_cv_prog_CC="cc" 27826d325d25Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 27832d62a77cSmrg break 2 27842d62a77cSmrg fi 27852d62a77cSmrgdone 27866d325d25Smrg done 27872d62a77cSmrgIFS=$as_save_IFS 27882d62a77cSmrg 27892d62a77cSmrgif test $ac_prog_rejected = yes; then 27902d62a77cSmrg # We found a bogon in the path, so make sure we never use it. 27912d62a77cSmrg set dummy $ac_cv_prog_CC 27922d62a77cSmrg shift 27932d62a77cSmrg if test $# != 0; then 27942d62a77cSmrg # We chose a different compiler from the bogus one. 27952d62a77cSmrg # However, it has the same basename, so the bogon will be chosen 27962d62a77cSmrg # first if we set CC to just the basename; use the full file name. 27972d62a77cSmrg shift 27982d62a77cSmrg ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 27992d62a77cSmrg fi 28002d62a77cSmrgfi 28012d62a77cSmrgfi 28022d62a77cSmrgfi 28032d62a77cSmrgCC=$ac_cv_prog_CC 28042d62a77cSmrgif test -n "$CC"; then 28056d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 28062d62a77cSmrg$as_echo "$CC" >&6; } 28072d62a77cSmrgelse 28086d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28092d62a77cSmrg$as_echo "no" >&6; } 28102d62a77cSmrgfi 28112d62a77cSmrg 28122d62a77cSmrg 28132d62a77cSmrgfi 28142d62a77cSmrgif test -z "$CC"; then 28152d62a77cSmrg if test -n "$ac_tool_prefix"; then 28162d62a77cSmrg for ac_prog in cl.exe 28172d62a77cSmrg do 28182d62a77cSmrg # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 28192d62a77cSmrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2 28206d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 28212d62a77cSmrg$as_echo_n "checking for $ac_word... " >&6; } 28226d325d25Smrgif ${ac_cv_prog_CC+:} false; then : 28232d62a77cSmrg $as_echo_n "(cached) " >&6 28242d62a77cSmrgelse 28252d62a77cSmrg if test -n "$CC"; then 28262d62a77cSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 28272d62a77cSmrgelse 28282d62a77cSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 28292d62a77cSmrgfor as_dir in $PATH 28302d62a77cSmrgdo 28312d62a77cSmrg IFS=$as_save_IFS 28322d62a77cSmrg test -z "$as_dir" && as_dir=. 28336d325d25Smrg for ac_exec_ext in '' $ac_executable_extensions; do 28342d62a77cSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 28352d62a77cSmrg ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 28366d325d25Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 28372d62a77cSmrg break 2 28382d62a77cSmrg fi 28392d62a77cSmrgdone 28406d325d25Smrg done 28412d62a77cSmrgIFS=$as_save_IFS 28422d62a77cSmrg 28432d62a77cSmrgfi 28442d62a77cSmrgfi 28452d62a77cSmrgCC=$ac_cv_prog_CC 28462d62a77cSmrgif test -n "$CC"; then 28476d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 28482d62a77cSmrg$as_echo "$CC" >&6; } 28492d62a77cSmrgelse 28506d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28512d62a77cSmrg$as_echo "no" >&6; } 28522d62a77cSmrgfi 28532d62a77cSmrg 28542d62a77cSmrg 28552d62a77cSmrg test -n "$CC" && break 28562d62a77cSmrg done 28572d62a77cSmrgfi 28582d62a77cSmrgif test -z "$CC"; then 28592d62a77cSmrg ac_ct_CC=$CC 28602d62a77cSmrg for ac_prog in cl.exe 28612d62a77cSmrgdo 28622d62a77cSmrg # Extract the first word of "$ac_prog", so it can be a program name with args. 28632d62a77cSmrgset dummy $ac_prog; ac_word=$2 28646d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 28652d62a77cSmrg$as_echo_n "checking for $ac_word... " >&6; } 28666d325d25Smrgif ${ac_cv_prog_ac_ct_CC+:} false; then : 28672d62a77cSmrg $as_echo_n "(cached) " >&6 28682d62a77cSmrgelse 28692d62a77cSmrg if test -n "$ac_ct_CC"; then 28702d62a77cSmrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 28712d62a77cSmrgelse 28722d62a77cSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 28732d62a77cSmrgfor as_dir in $PATH 28742d62a77cSmrgdo 28752d62a77cSmrg IFS=$as_save_IFS 28762d62a77cSmrg test -z "$as_dir" && as_dir=. 28776d325d25Smrg for ac_exec_ext in '' $ac_executable_extensions; do 28782d62a77cSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 28792d62a77cSmrg ac_cv_prog_ac_ct_CC="$ac_prog" 28806d325d25Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 28812d62a77cSmrg break 2 28822d62a77cSmrg fi 28832d62a77cSmrgdone 28846d325d25Smrg done 28852d62a77cSmrgIFS=$as_save_IFS 28862d62a77cSmrg 28872d62a77cSmrgfi 28882d62a77cSmrgfi 28892d62a77cSmrgac_ct_CC=$ac_cv_prog_ac_ct_CC 28902d62a77cSmrgif test -n "$ac_ct_CC"; then 28916d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 28922d62a77cSmrg$as_echo "$ac_ct_CC" >&6; } 28932d62a77cSmrgelse 28946d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28952d62a77cSmrg$as_echo "no" >&6; } 28962d62a77cSmrgfi 28972d62a77cSmrg 28982d62a77cSmrg 28992d62a77cSmrg test -n "$ac_ct_CC" && break 29002d62a77cSmrgdone 29012d62a77cSmrg 29022d62a77cSmrg if test "x$ac_ct_CC" = x; then 29032d62a77cSmrg CC="" 29042d62a77cSmrg else 29052d62a77cSmrg case $cross_compiling:$ac_tool_warned in 29062d62a77cSmrgyes:) 29076d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 29082d62a77cSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 29092d62a77cSmrgac_tool_warned=yes ;; 29102d62a77cSmrgesac 29112d62a77cSmrg CC=$ac_ct_CC 29122d62a77cSmrg fi 29132d62a77cSmrgfi 29142d62a77cSmrg 29152d62a77cSmrgfi 29162d62a77cSmrg 29172d62a77cSmrg 29186d325d25Smrgtest -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 29192d62a77cSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 29206d325d25Smrgas_fn_error $? "no acceptable C compiler found in \$PATH 29216d325d25SmrgSee \`config.log' for more details" "$LINENO" 5; } 29222d62a77cSmrg 29232d62a77cSmrg# Provide some information about the compiler. 29246d325d25Smrg$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 29252d62a77cSmrgset X $ac_compile 29262d62a77cSmrgac_compiler=$2 29276d325d25Smrgfor ac_option in --version -v -V -qversion; do 29286d325d25Smrg { { ac_try="$ac_compiler $ac_option >&5" 29292d62a77cSmrgcase "(($ac_try" in 29302d62a77cSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 29312d62a77cSmrg *) ac_try_echo=$ac_try;; 29322d62a77cSmrgesac 29336d325d25Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 29346d325d25Smrg$as_echo "$ac_try_echo"; } >&5 29356d325d25Smrg (eval "$ac_compiler $ac_option >&5") 2>conftest.err 29362d62a77cSmrg ac_status=$? 29376d325d25Smrg if test -s conftest.err; then 29386d325d25Smrg sed '10a\ 29396d325d25Smrg... rest of stderr output deleted ... 29406d325d25Smrg 10q' conftest.err >conftest.er1 29416d325d25Smrg cat conftest.er1 >&5 29426d325d25Smrg fi 29436d325d25Smrg rm -f conftest.er1 conftest.err 29446d325d25Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 29456d325d25Smrg test $ac_status = 0; } 29466d325d25Smrgdone 29472d62a77cSmrg 29486d325d25Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 29492d62a77cSmrg/* end confdefs.h. */ 29502d62a77cSmrg 29512d62a77cSmrgint 29522d62a77cSmrgmain () 29532d62a77cSmrg{ 29542d62a77cSmrg 29552d62a77cSmrg ; 29562d62a77cSmrg return 0; 29572d62a77cSmrg} 29582d62a77cSmrg_ACEOF 29592d62a77cSmrgac_clean_files_save=$ac_clean_files 29602d62a77cSmrgac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 29612d62a77cSmrg# Try to create an executable without -o first, disregard a.out. 29622d62a77cSmrg# It will help us diagnose broken compilers, and finding out an intuition 29632d62a77cSmrg# of exeext. 29646d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 29656d325d25Smrg$as_echo_n "checking whether the C compiler works... " >&6; } 29662d62a77cSmrgac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 29672d62a77cSmrg 29682d62a77cSmrg# The possible output files: 29692d62a77cSmrgac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 29702d62a77cSmrg 29712d62a77cSmrgac_rmfiles= 29722d62a77cSmrgfor ac_file in $ac_files 29732d62a77cSmrgdo 29742d62a77cSmrg case $ac_file in 29752d62a77cSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 29762d62a77cSmrg * ) ac_rmfiles="$ac_rmfiles $ac_file";; 29772d62a77cSmrg esac 29782d62a77cSmrgdone 29792d62a77cSmrgrm -f $ac_rmfiles 29802d62a77cSmrg 29816d325d25Smrgif { { ac_try="$ac_link_default" 29822d62a77cSmrgcase "(($ac_try" in 29832d62a77cSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 29842d62a77cSmrg *) ac_try_echo=$ac_try;; 29852d62a77cSmrgesac 29866d325d25Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 29876d325d25Smrg$as_echo "$ac_try_echo"; } >&5 29882d62a77cSmrg (eval "$ac_link_default") 2>&5 29892d62a77cSmrg ac_status=$? 29906d325d25Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 29916d325d25Smrg test $ac_status = 0; }; then : 29922d62a77cSmrg # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 29932d62a77cSmrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 29942d62a77cSmrg# in a Makefile. We should not override ac_cv_exeext if it was cached, 29952d62a77cSmrg# so that the user can short-circuit this test for compilers unknown to 29962d62a77cSmrg# Autoconf. 29972d62a77cSmrgfor ac_file in $ac_files '' 29982d62a77cSmrgdo 29992d62a77cSmrg test -f "$ac_file" || continue 30002d62a77cSmrg case $ac_file in 30012d62a77cSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 30022d62a77cSmrg ;; 30032d62a77cSmrg [ab].out ) 30042d62a77cSmrg # We found the default executable, but exeext='' is most 30052d62a77cSmrg # certainly right. 30062d62a77cSmrg break;; 30072d62a77cSmrg *.* ) 30086d325d25Smrg if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 30092d62a77cSmrg then :; else 30102d62a77cSmrg ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 30112d62a77cSmrg fi 30122d62a77cSmrg # We set ac_cv_exeext here because the later test for it is not 30132d62a77cSmrg # safe: cross compilers may not add the suffix if given an `-o' 30142d62a77cSmrg # argument, so we may need to know it at that point already. 30152d62a77cSmrg # Even if this section looks crufty: it has the advantage of 30162d62a77cSmrg # actually working. 30172d62a77cSmrg break;; 30182d62a77cSmrg * ) 30192d62a77cSmrg break;; 30202d62a77cSmrg esac 30212d62a77cSmrgdone 30222d62a77cSmrgtest "$ac_cv_exeext" = no && ac_cv_exeext= 30232d62a77cSmrg 30242d62a77cSmrgelse 30252d62a77cSmrg ac_file='' 30262d62a77cSmrgfi 30276d325d25Smrgif test -z "$ac_file"; then : 30286d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 30296d325d25Smrg$as_echo "no" >&6; } 30306d325d25Smrg$as_echo "$as_me: failed program was:" >&5 30312d62a77cSmrgsed 's/^/| /' conftest.$ac_ext >&5 30322d62a77cSmrg 30336d325d25Smrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 30342d62a77cSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 30356d325d25Smrgas_fn_error 77 "C compiler cannot create executables 30366d325d25SmrgSee \`config.log' for more details" "$LINENO" 5; } 30376d325d25Smrgelse 30386d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 30396d325d25Smrg$as_echo "yes" >&6; } 30402d62a77cSmrgfi 30416d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 30426d325d25Smrg$as_echo_n "checking for C compiler default output file name... " >&6; } 30436d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 30446d325d25Smrg$as_echo "$ac_file" >&6; } 30452d62a77cSmrgac_exeext=$ac_cv_exeext 30462d62a77cSmrg 30472d62a77cSmrgrm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 30482d62a77cSmrgac_clean_files=$ac_clean_files_save 30496d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 30502d62a77cSmrg$as_echo_n "checking for suffix of executables... " >&6; } 30516d325d25Smrgif { { ac_try="$ac_link" 30522d62a77cSmrgcase "(($ac_try" in 30532d62a77cSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 30542d62a77cSmrg *) ac_try_echo=$ac_try;; 30552d62a77cSmrgesac 30566d325d25Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 30576d325d25Smrg$as_echo "$ac_try_echo"; } >&5 30582d62a77cSmrg (eval "$ac_link") 2>&5 30592d62a77cSmrg ac_status=$? 30606d325d25Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 30616d325d25Smrg test $ac_status = 0; }; then : 30622d62a77cSmrg # If both `conftest.exe' and `conftest' are `present' (well, observable) 30632d62a77cSmrg# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 30642d62a77cSmrg# work properly (i.e., refer to `conftest.exe'), while it won't with 30652d62a77cSmrg# `rm'. 30662d62a77cSmrgfor ac_file in conftest.exe conftest conftest.*; do 30672d62a77cSmrg test -f "$ac_file" || continue 30682d62a77cSmrg case $ac_file in 30692d62a77cSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 30702d62a77cSmrg *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 30712d62a77cSmrg break;; 30722d62a77cSmrg * ) break;; 30732d62a77cSmrg esac 30742d62a77cSmrgdone 30752d62a77cSmrgelse 30766d325d25Smrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 30772d62a77cSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 30786d325d25Smrgas_fn_error $? "cannot compute suffix of executables: cannot compile and link 30796d325d25SmrgSee \`config.log' for more details" "$LINENO" 5; } 30802d62a77cSmrgfi 30816d325d25Smrgrm -f conftest conftest$ac_cv_exeext 30826d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 30832d62a77cSmrg$as_echo "$ac_cv_exeext" >&6; } 30842d62a77cSmrg 30852d62a77cSmrgrm -f conftest.$ac_ext 30862d62a77cSmrgEXEEXT=$ac_cv_exeext 30872d62a77cSmrgac_exeext=$EXEEXT 30886d325d25Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 30892d62a77cSmrg/* end confdefs.h. */ 30906d325d25Smrg#include <stdio.h> 30912d62a77cSmrgint 30922d62a77cSmrgmain () 30932d62a77cSmrg{ 30946d325d25SmrgFILE *f = fopen ("conftest.out", "w"); 30956d325d25Smrg return ferror (f) || fclose (f) != 0; 30962d62a77cSmrg 30972d62a77cSmrg ; 30982d62a77cSmrg return 0; 30992d62a77cSmrg} 31002d62a77cSmrg_ACEOF 31016d325d25Smrgac_clean_files="$ac_clean_files conftest.out" 31026d325d25Smrg# Check that the compiler produces executables we can run. If not, either 31036d325d25Smrg# the compiler is broken, or we cross compile. 31046d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 31056d325d25Smrg$as_echo_n "checking whether we are cross compiling... " >&6; } 31066d325d25Smrgif test "$cross_compiling" != yes; then 31076d325d25Smrg { { ac_try="$ac_link" 31082d62a77cSmrgcase "(($ac_try" in 31092d62a77cSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 31102d62a77cSmrg *) ac_try_echo=$ac_try;; 31112d62a77cSmrgesac 31126d325d25Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 31136d325d25Smrg$as_echo "$ac_try_echo"; } >&5 31146d325d25Smrg (eval "$ac_link") 2>&5 31152d62a77cSmrg ac_status=$? 31166d325d25Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 31176d325d25Smrg test $ac_status = 0; } 31186d325d25Smrg if { ac_try='./conftest$ac_cv_exeext' 31196d325d25Smrg { { case "(($ac_try" in 31206d325d25Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 31216d325d25Smrg *) ac_try_echo=$ac_try;; 31226d325d25Smrgesac 31236d325d25Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 31246d325d25Smrg$as_echo "$ac_try_echo"; } >&5 31256d325d25Smrg (eval "$ac_try") 2>&5 31266d325d25Smrg ac_status=$? 31276d325d25Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 31286d325d25Smrg test $ac_status = 0; }; }; then 31296d325d25Smrg cross_compiling=no 31306d325d25Smrg else 31316d325d25Smrg if test "$cross_compiling" = maybe; then 31326d325d25Smrg cross_compiling=yes 31336d325d25Smrg else 31346d325d25Smrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 31352d62a77cSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 31366d325d25Smrgas_fn_error $? "cannot run C compiled programs. 31376d325d25SmrgIf you meant to cross compile, use \`--host'. 31386d325d25SmrgSee \`config.log' for more details" "$LINENO" 5; } 31396d325d25Smrg fi 31406d325d25Smrg fi 31412d62a77cSmrgfi 31426d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 31436d325d25Smrg$as_echo "$cross_compiling" >&6; } 31446d325d25Smrg 31456d325d25Smrgrm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 31466d325d25Smrgac_clean_files=$ac_clean_files_save 31476d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 31486d325d25Smrg$as_echo_n "checking for suffix of object files... " >&6; } 31496d325d25Smrgif ${ac_cv_objext+:} false; then : 31506d325d25Smrg $as_echo_n "(cached) " >&6 31516d325d25Smrgelse 31526d325d25Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31536d325d25Smrg/* end confdefs.h. */ 31546d325d25Smrg 31556d325d25Smrgint 31566d325d25Smrgmain () 31576d325d25Smrg{ 31586d325d25Smrg 31596d325d25Smrg ; 31606d325d25Smrg return 0; 31616d325d25Smrg} 31626d325d25Smrg_ACEOF 31636d325d25Smrgrm -f conftest.o conftest.obj 31646d325d25Smrgif { { ac_try="$ac_compile" 31656d325d25Smrgcase "(($ac_try" in 31666d325d25Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 31676d325d25Smrg *) ac_try_echo=$ac_try;; 31686d325d25Smrgesac 31696d325d25Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 31706d325d25Smrg$as_echo "$ac_try_echo"; } >&5 31716d325d25Smrg (eval "$ac_compile") 2>&5 31726d325d25Smrg ac_status=$? 31736d325d25Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 31746d325d25Smrg test $ac_status = 0; }; then : 31756d325d25Smrg for ac_file in conftest.o conftest.obj conftest.*; do 31766d325d25Smrg test -f "$ac_file" || continue; 31776d325d25Smrg case $ac_file in 31786d325d25Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 31796d325d25Smrg *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 31806d325d25Smrg break;; 31816d325d25Smrg esac 31826d325d25Smrgdone 31836d325d25Smrgelse 31846d325d25Smrg $as_echo "$as_me: failed program was:" >&5 31856d325d25Smrgsed 's/^/| /' conftest.$ac_ext >&5 31862d62a77cSmrg 31876d325d25Smrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 31886d325d25Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 31896d325d25Smrgas_fn_error $? "cannot compute suffix of object files: cannot compile 31906d325d25SmrgSee \`config.log' for more details" "$LINENO" 5; } 31916d325d25Smrgfi 31922d62a77cSmrgrm -f conftest.$ac_cv_objext conftest.$ac_ext 31932d62a77cSmrgfi 31946d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 31952d62a77cSmrg$as_echo "$ac_cv_objext" >&6; } 31962d62a77cSmrgOBJEXT=$ac_cv_objext 31972d62a77cSmrgac_objext=$OBJEXT 31986d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 31992d62a77cSmrg$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 32006d325d25Smrgif ${ac_cv_c_compiler_gnu+:} false; then : 32012d62a77cSmrg $as_echo_n "(cached) " >&6 32022d62a77cSmrgelse 32036d325d25Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32042d62a77cSmrg/* end confdefs.h. */ 32052d62a77cSmrg 32062d62a77cSmrgint 32072d62a77cSmrgmain () 32082d62a77cSmrg{ 32092d62a77cSmrg#ifndef __GNUC__ 32102d62a77cSmrg choke me 32112d62a77cSmrg#endif 32122d62a77cSmrg 32132d62a77cSmrg ; 32142d62a77cSmrg return 0; 32152d62a77cSmrg} 32162d62a77cSmrg_ACEOF 32176d325d25Smrgif ac_fn_c_try_compile "$LINENO"; then : 32182d62a77cSmrg ac_compiler_gnu=yes 32192d62a77cSmrgelse 32206d325d25Smrg ac_compiler_gnu=no 32212d62a77cSmrgfi 32222d62a77cSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 32232d62a77cSmrgac_cv_c_compiler_gnu=$ac_compiler_gnu 32242d62a77cSmrg 32252d62a77cSmrgfi 32266d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 32272d62a77cSmrg$as_echo "$ac_cv_c_compiler_gnu" >&6; } 32282d62a77cSmrgif test $ac_compiler_gnu = yes; then 32292d62a77cSmrg GCC=yes 32302d62a77cSmrgelse 32312d62a77cSmrg GCC= 32322d62a77cSmrgfi 32332d62a77cSmrgac_test_CFLAGS=${CFLAGS+set} 32342d62a77cSmrgac_save_CFLAGS=$CFLAGS 32356d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 32362d62a77cSmrg$as_echo_n "checking whether $CC accepts -g... " >&6; } 32376d325d25Smrgif ${ac_cv_prog_cc_g+:} false; then : 32382d62a77cSmrg $as_echo_n "(cached) " >&6 32392d62a77cSmrgelse 32402d62a77cSmrg ac_save_c_werror_flag=$ac_c_werror_flag 32412d62a77cSmrg ac_c_werror_flag=yes 32422d62a77cSmrg ac_cv_prog_cc_g=no 32432d62a77cSmrg CFLAGS="-g" 32446d325d25Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32452d62a77cSmrg/* end confdefs.h. */ 32462d62a77cSmrg 32472d62a77cSmrgint 32482d62a77cSmrgmain () 32492d62a77cSmrg{ 32502d62a77cSmrg 32512d62a77cSmrg ; 32522d62a77cSmrg return 0; 32532d62a77cSmrg} 32542d62a77cSmrg_ACEOF 32556d325d25Smrgif ac_fn_c_try_compile "$LINENO"; then : 32562d62a77cSmrg ac_cv_prog_cc_g=yes 32572d62a77cSmrgelse 32586d325d25Smrg CFLAGS="" 32596d325d25Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32602d62a77cSmrg/* end confdefs.h. */ 32612d62a77cSmrg 32622d62a77cSmrgint 32632d62a77cSmrgmain () 32642d62a77cSmrg{ 32652d62a77cSmrg 32662d62a77cSmrg ; 32672d62a77cSmrg return 0; 32682d62a77cSmrg} 32692d62a77cSmrg_ACEOF 32706d325d25Smrgif ac_fn_c_try_compile "$LINENO"; then : 32712d62a77cSmrg 32726d325d25Smrgelse 32736d325d25Smrg ac_c_werror_flag=$ac_save_c_werror_flag 32742d62a77cSmrg CFLAGS="-g" 32756d325d25Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32762d62a77cSmrg/* end confdefs.h. */ 32772d62a77cSmrg 32782d62a77cSmrgint 32792d62a77cSmrgmain () 32802d62a77cSmrg{ 32812d62a77cSmrg 32822d62a77cSmrg ; 32832d62a77cSmrg return 0; 32842d62a77cSmrg} 32852d62a77cSmrg_ACEOF 32866d325d25Smrgif ac_fn_c_try_compile "$LINENO"; then : 32872d62a77cSmrg ac_cv_prog_cc_g=yes 32882d62a77cSmrgfi 32892d62a77cSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 32902d62a77cSmrgfi 32912d62a77cSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 32922d62a77cSmrgfi 32932d62a77cSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 32942d62a77cSmrg ac_c_werror_flag=$ac_save_c_werror_flag 32952d62a77cSmrgfi 32966d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 32972d62a77cSmrg$as_echo "$ac_cv_prog_cc_g" >&6; } 32982d62a77cSmrgif test "$ac_test_CFLAGS" = set; then 32992d62a77cSmrg CFLAGS=$ac_save_CFLAGS 33002d62a77cSmrgelif test $ac_cv_prog_cc_g = yes; then 33012d62a77cSmrg if test "$GCC" = yes; then 33022d62a77cSmrg CFLAGS="-g -O2" 33032d62a77cSmrg else 33042d62a77cSmrg CFLAGS="-g" 33052d62a77cSmrg fi 33062d62a77cSmrgelse 33072d62a77cSmrg if test "$GCC" = yes; then 33082d62a77cSmrg CFLAGS="-O2" 33092d62a77cSmrg else 33102d62a77cSmrg CFLAGS= 33112d62a77cSmrg fi 33122d62a77cSmrgfi 33136d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 33142d62a77cSmrg$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 33156d325d25Smrgif ${ac_cv_prog_cc_c89+:} false; then : 33162d62a77cSmrg $as_echo_n "(cached) " >&6 33172d62a77cSmrgelse 33182d62a77cSmrg ac_cv_prog_cc_c89=no 33192d62a77cSmrgac_save_CC=$CC 33206d325d25Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 33212d62a77cSmrg/* end confdefs.h. */ 33222d62a77cSmrg#include <stdarg.h> 33232d62a77cSmrg#include <stdio.h> 33242d62a77cSmrg#include <sys/types.h> 33252d62a77cSmrg#include <sys/stat.h> 33262d62a77cSmrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 33272d62a77cSmrgstruct buf { int x; }; 33282d62a77cSmrgFILE * (*rcsopen) (struct buf *, struct stat *, int); 33292d62a77cSmrgstatic char *e (p, i) 33302d62a77cSmrg char **p; 33312d62a77cSmrg int i; 33322d62a77cSmrg{ 33332d62a77cSmrg return p[i]; 33342d62a77cSmrg} 33352d62a77cSmrgstatic char *f (char * (*g) (char **, int), char **p, ...) 33362d62a77cSmrg{ 33372d62a77cSmrg char *s; 33382d62a77cSmrg va_list v; 33392d62a77cSmrg va_start (v,p); 33402d62a77cSmrg s = g (p, va_arg (v,int)); 33412d62a77cSmrg va_end (v); 33422d62a77cSmrg return s; 33432d62a77cSmrg} 33442d62a77cSmrg 33452d62a77cSmrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 33462d62a77cSmrg function prototypes and stuff, but not '\xHH' hex character constants. 33472d62a77cSmrg These don't provoke an error unfortunately, instead are silently treated 33482d62a77cSmrg as 'x'. The following induces an error, until -std is added to get 33492d62a77cSmrg proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 33502d62a77cSmrg array size at least. It's necessary to write '\x00'==0 to get something 33512d62a77cSmrg that's true only with -std. */ 33522d62a77cSmrgint osf4_cc_array ['\x00' == 0 ? 1 : -1]; 33532d62a77cSmrg 33542d62a77cSmrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 33552d62a77cSmrg inside strings and character constants. */ 33562d62a77cSmrg#define FOO(x) 'x' 33572d62a77cSmrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 33582d62a77cSmrg 33592d62a77cSmrgint test (int i, double x); 33602d62a77cSmrgstruct s1 {int (*f) (int a);}; 33612d62a77cSmrgstruct s2 {int (*f) (double a);}; 33622d62a77cSmrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 33632d62a77cSmrgint argc; 33642d62a77cSmrgchar **argv; 33652d62a77cSmrgint 33662d62a77cSmrgmain () 33672d62a77cSmrg{ 33682d62a77cSmrgreturn f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 33692d62a77cSmrg ; 33702d62a77cSmrg return 0; 33712d62a77cSmrg} 33722d62a77cSmrg_ACEOF 33732d62a77cSmrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 33742d62a77cSmrg -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 33752d62a77cSmrgdo 33762d62a77cSmrg CC="$ac_save_CC $ac_arg" 33776d325d25Smrg if ac_fn_c_try_compile "$LINENO"; then : 33782d62a77cSmrg ac_cv_prog_cc_c89=$ac_arg 33792d62a77cSmrgfi 33802d62a77cSmrgrm -f core conftest.err conftest.$ac_objext 33812d62a77cSmrg test "x$ac_cv_prog_cc_c89" != "xno" && break 33822d62a77cSmrgdone 33832d62a77cSmrgrm -f conftest.$ac_ext 33842d62a77cSmrgCC=$ac_save_CC 33852d62a77cSmrg 33862d62a77cSmrgfi 33872d62a77cSmrg# AC_CACHE_VAL 33882d62a77cSmrgcase "x$ac_cv_prog_cc_c89" in 33892d62a77cSmrg x) 33906d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 33912d62a77cSmrg$as_echo "none needed" >&6; } ;; 33922d62a77cSmrg xno) 33936d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 33942d62a77cSmrg$as_echo "unsupported" >&6; } ;; 33952d62a77cSmrg *) 33962d62a77cSmrg CC="$CC $ac_cv_prog_cc_c89" 33976d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 33982d62a77cSmrg$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 33992d62a77cSmrgesac 34006d325d25Smrgif test "x$ac_cv_prog_cc_c89" != xno; then : 34012d62a77cSmrg 34026d325d25Smrgfi 34032d62a77cSmrg 34042d62a77cSmrgac_ext=c 34052d62a77cSmrgac_cpp='$CPP $CPPFLAGS' 34062d62a77cSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 34072d62a77cSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 34082d62a77cSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 34092d62a77cSmrg 34102d62a77cSmrgdepcc="$CC" am_compiler_list= 34112d62a77cSmrg 34126d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 34132d62a77cSmrg$as_echo_n "checking dependency style of $depcc... " >&6; } 34146d325d25Smrgif ${am_cv_CC_dependencies_compiler_type+:} false; then : 34152d62a77cSmrg $as_echo_n "(cached) " >&6 34162d62a77cSmrgelse 34172d62a77cSmrg if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 34182d62a77cSmrg # We make a subdir and do the tests there. Otherwise we can end up 34192d62a77cSmrg # making bogus files that we don't know about and never remove. For 34202d62a77cSmrg # instance it was reported that on HP-UX the gcc test will end up 34212d62a77cSmrg # making a dummy file named `D' -- because `-MD' means `put the output 34222d62a77cSmrg # in D'. 34232d62a77cSmrg mkdir conftest.dir 34242d62a77cSmrg # Copy depcomp to subdir because otherwise we won't find it if we're 34252d62a77cSmrg # using a relative directory. 34262d62a77cSmrg cp "$am_depcomp" conftest.dir 34272d62a77cSmrg cd conftest.dir 34282d62a77cSmrg # We will build objects and dependencies in a subdirectory because 34292d62a77cSmrg # it helps to detect inapplicable dependency modes. For instance 34302d62a77cSmrg # both Tru64's cc and ICC support -MD to output dependencies as a 34312d62a77cSmrg # side effect of compilation, but ICC will put the dependencies in 34322d62a77cSmrg # the current directory while Tru64 will put them in the object 34332d62a77cSmrg # directory. 34342d62a77cSmrg mkdir sub 34352d62a77cSmrg 34362d62a77cSmrg am_cv_CC_dependencies_compiler_type=none 34372d62a77cSmrg if test "$am_compiler_list" = ""; then 34382d62a77cSmrg am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 34392d62a77cSmrg fi 34402d62a77cSmrg am__universal=false 34412d62a77cSmrg case " $depcc " in #( 34422d62a77cSmrg *\ -arch\ *\ -arch\ *) am__universal=true ;; 34432d62a77cSmrg esac 34442d62a77cSmrg 34452d62a77cSmrg for depmode in $am_compiler_list; do 34462d62a77cSmrg # Setup a source with many dependencies, because some compilers 34472d62a77cSmrg # like to wrap large dependency lists on column 80 (with \), and 34482d62a77cSmrg # we should not choose a depcomp mode which is confused by this. 34492d62a77cSmrg # 34502d62a77cSmrg # We need to recreate these files for each test, as the compiler may 34512d62a77cSmrg # overwrite some of them when testing with obscure command lines. 34522d62a77cSmrg # This happens at least with the AIX C compiler. 34532d62a77cSmrg : > sub/conftest.c 34542d62a77cSmrg for i in 1 2 3 4 5 6; do 34552d62a77cSmrg echo '#include "conftst'$i'.h"' >> sub/conftest.c 34562d62a77cSmrg # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 34572d62a77cSmrg # Solaris 8's {/usr,}/bin/sh. 34582d62a77cSmrg touch sub/conftst$i.h 34592d62a77cSmrg done 34602d62a77cSmrg echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 34612d62a77cSmrg 34622d62a77cSmrg # We check with `-c' and `-o' for the sake of the "dashmstdout" 34632d62a77cSmrg # mode. It turns out that the SunPro C++ compiler does not properly 34642d62a77cSmrg # handle `-M -o', and we need to detect this. Also, some Intel 34652d62a77cSmrg # versions had trouble with output in subdirs 34662d62a77cSmrg am__obj=sub/conftest.${OBJEXT-o} 34672d62a77cSmrg am__minus_obj="-o $am__obj" 34682d62a77cSmrg case $depmode in 34692d62a77cSmrg gcc) 34702d62a77cSmrg # This depmode causes a compiler race in universal mode. 34712d62a77cSmrg test "$am__universal" = false || continue 34722d62a77cSmrg ;; 34732d62a77cSmrg nosideeffect) 34742d62a77cSmrg # after this tag, mechanisms are not by side-effect, so they'll 34752d62a77cSmrg # only be used when explicitly requested 34762d62a77cSmrg if test "x$enable_dependency_tracking" = xyes; then 34772d62a77cSmrg continue 34782d62a77cSmrg else 34792d62a77cSmrg break 34802d62a77cSmrg fi 34812d62a77cSmrg ;; 34822d62a77cSmrg msvisualcpp | msvcmsys) 34832d62a77cSmrg # This compiler won't grok `-c -o', but also, the minuso test has 34842d62a77cSmrg # not run yet. These depmodes are late enough in the game, and 34852d62a77cSmrg # so weak that their functioning should not be impacted. 34862d62a77cSmrg am__obj=conftest.${OBJEXT-o} 34872d62a77cSmrg am__minus_obj= 34882d62a77cSmrg ;; 34892d62a77cSmrg none) break ;; 34902d62a77cSmrg esac 34912d62a77cSmrg if depmode=$depmode \ 34922d62a77cSmrg source=sub/conftest.c object=$am__obj \ 34932d62a77cSmrg depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 34942d62a77cSmrg $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 34952d62a77cSmrg >/dev/null 2>conftest.err && 34962d62a77cSmrg grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 34972d62a77cSmrg grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 34982d62a77cSmrg grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 34992d62a77cSmrg ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 35002d62a77cSmrg # icc doesn't choke on unknown options, it will just issue warnings 35012d62a77cSmrg # or remarks (even with -Werror). So we grep stderr for any message 35022d62a77cSmrg # that says an option was ignored or not supported. 35032d62a77cSmrg # When given -MP, icc 7.0 and 7.1 complain thusly: 35042d62a77cSmrg # icc: Command line warning: ignoring option '-M'; no argument required 35052d62a77cSmrg # The diagnosis changed in icc 8.0: 35062d62a77cSmrg # icc: Command line remark: option '-MP' not supported 35072d62a77cSmrg if (grep 'ignoring option' conftest.err || 35082d62a77cSmrg grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 35092d62a77cSmrg am_cv_CC_dependencies_compiler_type=$depmode 35102d62a77cSmrg break 35112d62a77cSmrg fi 35122d62a77cSmrg fi 35132d62a77cSmrg done 35142d62a77cSmrg 35152d62a77cSmrg cd .. 35162d62a77cSmrg rm -rf conftest.dir 35172d62a77cSmrgelse 35182d62a77cSmrg am_cv_CC_dependencies_compiler_type=none 35192d62a77cSmrgfi 35202d62a77cSmrg 35212d62a77cSmrgfi 35226d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 35232d62a77cSmrg$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 35242d62a77cSmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 35252d62a77cSmrg 35262d62a77cSmrg if 35272d62a77cSmrg test "x$enable_dependency_tracking" != xno \ 35282d62a77cSmrg && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 35292d62a77cSmrg am__fastdepCC_TRUE= 35302d62a77cSmrg am__fastdepCC_FALSE='#' 35312d62a77cSmrgelse 35322d62a77cSmrg am__fastdepCC_TRUE='#' 35332d62a77cSmrg am__fastdepCC_FALSE= 35342d62a77cSmrgfi 35352d62a77cSmrg 35362d62a77cSmrg 35376d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 35386d325d25Smrg$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 35396d325d25Smrgif ${ac_cv_prog_cc_c99+:} false; then : 35402d62a77cSmrg $as_echo_n "(cached) " >&6 35412d62a77cSmrgelse 35426d325d25Smrg ac_cv_prog_cc_c99=no 35436d325d25Smrgac_save_CC=$CC 35446d325d25Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 35452d62a77cSmrg/* end confdefs.h. */ 35466d325d25Smrg#include <stdarg.h> 35476d325d25Smrg#include <stdbool.h> 35486d325d25Smrg#include <stdlib.h> 35496d325d25Smrg#include <wchar.h> 35506d325d25Smrg#include <stdio.h> 35516d325d25Smrg 35526d325d25Smrg// Check varargs macros. These examples are taken from C99 6.10.3.5. 35536d325d25Smrg#define debug(...) fprintf (stderr, __VA_ARGS__) 35546d325d25Smrg#define showlist(...) puts (#__VA_ARGS__) 35556d325d25Smrg#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 35566d325d25Smrgstatic void 35576d325d25Smrgtest_varargs_macros (void) 35586d325d25Smrg{ 35596d325d25Smrg int x = 1234; 35606d325d25Smrg int y = 5678; 35616d325d25Smrg debug ("Flag"); 35626d325d25Smrg debug ("X = %d\n", x); 35636d325d25Smrg showlist (The first, second, and third items.); 35646d325d25Smrg report (x>y, "x is %d but y is %d", x, y); 35656d325d25Smrg} 35666d325d25Smrg 35676d325d25Smrg// Check long long types. 35686d325d25Smrg#define BIG64 18446744073709551615ull 35696d325d25Smrg#define BIG32 4294967295ul 35706d325d25Smrg#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 35716d325d25Smrg#if !BIG_OK 35726d325d25Smrg your preprocessor is broken; 35736d325d25Smrg#endif 35746d325d25Smrg#if BIG_OK 35752d62a77cSmrg#else 35766d325d25Smrg your preprocessor is broken; 35772d62a77cSmrg#endif 35786d325d25Smrgstatic long long int bignum = -9223372036854775807LL; 35796d325d25Smrgstatic unsigned long long int ubignum = BIG64; 35802d62a77cSmrg 35816d325d25Smrgstruct incomplete_array 35826d325d25Smrg{ 35836d325d25Smrg int datasize; 35846d325d25Smrg double data[]; 35856d325d25Smrg}; 35862d62a77cSmrg 35876d325d25Smrgstruct named_init { 35886d325d25Smrg int number; 35896d325d25Smrg const wchar_t *name; 35906d325d25Smrg double average; 35916d325d25Smrg}; 35922d62a77cSmrg 35936d325d25Smrgtypedef const char *ccp; 35942d62a77cSmrg 35956d325d25Smrgstatic inline int 35966d325d25Smrgtest_restrict (ccp restrict text) 35976d325d25Smrg{ 35986d325d25Smrg // See if C++-style comments work. 35996d325d25Smrg // Iterate through items via the restricted pointer. 36006d325d25Smrg // Also check for declarations in for loops. 36016d325d25Smrg for (unsigned int i = 0; *(text+i) != '\0'; ++i) 36026d325d25Smrg continue; 36036d325d25Smrg return 0; 36046d325d25Smrg} 36052d62a77cSmrg 36066d325d25Smrg// Check varargs and va_copy. 36076d325d25Smrgstatic void 36086d325d25Smrgtest_varargs (const char *format, ...) 36096d325d25Smrg{ 36106d325d25Smrg va_list args; 36116d325d25Smrg va_start (args, format); 36126d325d25Smrg va_list args_copy; 36136d325d25Smrg va_copy (args_copy, args); 36142d62a77cSmrg 36156d325d25Smrg const char *str; 36166d325d25Smrg int number; 36176d325d25Smrg float fnumber; 36182d62a77cSmrg 36196d325d25Smrg while (*format) 36206d325d25Smrg { 36216d325d25Smrg switch (*format++) 36226d325d25Smrg { 36236d325d25Smrg case 's': // string 36246d325d25Smrg str = va_arg (args_copy, const char *); 36256d325d25Smrg break; 36266d325d25Smrg case 'd': // int 36276d325d25Smrg number = va_arg (args_copy, int); 36286d325d25Smrg break; 36296d325d25Smrg case 'f': // float 36306d325d25Smrg fnumber = va_arg (args_copy, double); 36316d325d25Smrg break; 36326d325d25Smrg default: 36336d325d25Smrg break; 36346d325d25Smrg } 36356d325d25Smrg } 36366d325d25Smrg va_end (args_copy); 36376d325d25Smrg va_end (args); 36386d325d25Smrg} 36396d325d25Smrg 36406d325d25Smrgint 36416d325d25Smrgmain () 36426d325d25Smrg{ 36436d325d25Smrg 36446d325d25Smrg // Check bool. 36456d325d25Smrg _Bool success = false; 36466d325d25Smrg 36476d325d25Smrg // Check restrict. 36486d325d25Smrg if (test_restrict ("String literal") == 0) 36496d325d25Smrg success = true; 36506d325d25Smrg char *restrict newvar = "Another string"; 36516d325d25Smrg 36526d325d25Smrg // Check varargs. 36536d325d25Smrg test_varargs ("s, d' f .", "string", 65, 34.234); 36546d325d25Smrg test_varargs_macros (); 36556d325d25Smrg 36566d325d25Smrg // Check flexible array members. 36576d325d25Smrg struct incomplete_array *ia = 36586d325d25Smrg malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 36596d325d25Smrg ia->datasize = 10; 36606d325d25Smrg for (int i = 0; i < ia->datasize; ++i) 36616d325d25Smrg ia->data[i] = i * 1.234; 36626d325d25Smrg 36636d325d25Smrg // Check named initializers. 36646d325d25Smrg struct named_init ni = { 36656d325d25Smrg .number = 34, 36666d325d25Smrg .name = L"Test wide string", 36676d325d25Smrg .average = 543.34343, 36686d325d25Smrg }; 36696d325d25Smrg 36706d325d25Smrg ni.number = 58; 36716d325d25Smrg 36726d325d25Smrg int dynamic_array[ni.number]; 36736d325d25Smrg dynamic_array[ni.number - 1] = 543; 36746d325d25Smrg 36756d325d25Smrg // work around unused variable warnings 36766d325d25Smrg return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 36776d325d25Smrg || dynamic_array[ni.number - 1] != 543); 36786d325d25Smrg 36796d325d25Smrg ; 36806d325d25Smrg return 0; 36816d325d25Smrg} 36826d325d25Smrg_ACEOF 36836d325d25Smrgfor ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 36846d325d25Smrgdo 36856d325d25Smrg CC="$ac_save_CC $ac_arg" 36866d325d25Smrg if ac_fn_c_try_compile "$LINENO"; then : 36876d325d25Smrg ac_cv_prog_cc_c99=$ac_arg 36886d325d25Smrgfi 36896d325d25Smrgrm -f core conftest.err conftest.$ac_objext 36906d325d25Smrg test "x$ac_cv_prog_cc_c99" != "xno" && break 36916d325d25Smrgdone 36926d325d25Smrgrm -f conftest.$ac_ext 36936d325d25SmrgCC=$ac_save_CC 36946d325d25Smrg 36956d325d25Smrgfi 36966d325d25Smrg# AC_CACHE_VAL 36976d325d25Smrgcase "x$ac_cv_prog_cc_c99" in 36986d325d25Smrg x) 36996d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 37006d325d25Smrg$as_echo "none needed" >&6; } ;; 37016d325d25Smrg xno) 37026d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 37036d325d25Smrg$as_echo "unsupported" >&6; } ;; 37046d325d25Smrg *) 37056d325d25Smrg CC="$CC $ac_cv_prog_cc_c99" 37066d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 37076d325d25Smrg$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 37086d325d25Smrgesac 37096d325d25Smrgif test "x$ac_cv_prog_cc_c99" != xno; then : 37106d325d25Smrg 37116d325d25Smrgfi 37126d325d25Smrg 37136d325d25Smrg 37146d325d25Smrg 37156d325d25Smrgac_ext=c 37166d325d25Smrgac_cpp='$CPP $CPPFLAGS' 37176d325d25Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 37186d325d25Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 37196d325d25Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 37206d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 37216d325d25Smrg$as_echo_n "checking how to run the C preprocessor... " >&6; } 37226d325d25Smrg# On Suns, sometimes $CPP names a directory. 37236d325d25Smrgif test -n "$CPP" && test -d "$CPP"; then 37246d325d25Smrg CPP= 37256d325d25Smrgfi 37266d325d25Smrgif test -z "$CPP"; then 37276d325d25Smrg if ${ac_cv_prog_CPP+:} false; then : 37286d325d25Smrg $as_echo_n "(cached) " >&6 37296d325d25Smrgelse 37306d325d25Smrg # Double quotes because CPP needs to be expanded 37316d325d25Smrg for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 37326d325d25Smrg do 37336d325d25Smrg ac_preproc_ok=false 37346d325d25Smrgfor ac_c_preproc_warn_flag in '' yes 37356d325d25Smrgdo 37366d325d25Smrg # Use a header file that comes with gcc, so configuring glibc 37376d325d25Smrg # with a fresh cross-compiler works. 37386d325d25Smrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 37396d325d25Smrg # <limits.h> exists even on freestanding compilers. 37406d325d25Smrg # On the NeXT, cc -E runs the code through the compiler's parser, 37416d325d25Smrg # not just through cpp. "Syntax error" is here to catch this case. 37426d325d25Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37436d325d25Smrg/* end confdefs.h. */ 37446d325d25Smrg#ifdef __STDC__ 37456d325d25Smrg# include <limits.h> 37466d325d25Smrg#else 37476d325d25Smrg# include <assert.h> 37486d325d25Smrg#endif 37496d325d25Smrg Syntax error 37506d325d25Smrg_ACEOF 37516d325d25Smrgif ac_fn_c_try_cpp "$LINENO"; then : 37526d325d25Smrg 37536d325d25Smrgelse 37546d325d25Smrg # Broken: fails on valid input. 37556d325d25Smrgcontinue 37566d325d25Smrgfi 37576d325d25Smrgrm -f conftest.err conftest.i conftest.$ac_ext 37586d325d25Smrg 37596d325d25Smrg # OK, works on sane cases. Now check whether nonexistent headers 37606d325d25Smrg # can be detected and how. 37616d325d25Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37626d325d25Smrg/* end confdefs.h. */ 37636d325d25Smrg#include <ac_nonexistent.h> 37646d325d25Smrg_ACEOF 37656d325d25Smrgif ac_fn_c_try_cpp "$LINENO"; then : 37666d325d25Smrg # Broken: success on invalid input. 37676d325d25Smrgcontinue 37686d325d25Smrgelse 37696d325d25Smrg # Passes both tests. 37706d325d25Smrgac_preproc_ok=: 37716d325d25Smrgbreak 37726d325d25Smrgfi 37736d325d25Smrgrm -f conftest.err conftest.i conftest.$ac_ext 37746d325d25Smrg 37756d325d25Smrgdone 37766d325d25Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 37776d325d25Smrgrm -f conftest.i conftest.err conftest.$ac_ext 37786d325d25Smrgif $ac_preproc_ok; then : 37796d325d25Smrg break 37806d325d25Smrgfi 37816d325d25Smrg 37826d325d25Smrg done 37836d325d25Smrg ac_cv_prog_CPP=$CPP 37842d62a77cSmrg 37852d62a77cSmrgfi 37862d62a77cSmrg CPP=$ac_cv_prog_CPP 37872d62a77cSmrgelse 37882d62a77cSmrg ac_cv_prog_CPP=$CPP 37892d62a77cSmrgfi 37906d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 37912d62a77cSmrg$as_echo "$CPP" >&6; } 37922d62a77cSmrgac_preproc_ok=false 37932d62a77cSmrgfor ac_c_preproc_warn_flag in '' yes 37942d62a77cSmrgdo 37952d62a77cSmrg # Use a header file that comes with gcc, so configuring glibc 37962d62a77cSmrg # with a fresh cross-compiler works. 37972d62a77cSmrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 37982d62a77cSmrg # <limits.h> exists even on freestanding compilers. 37992d62a77cSmrg # On the NeXT, cc -E runs the code through the compiler's parser, 38002d62a77cSmrg # not just through cpp. "Syntax error" is here to catch this case. 38016d325d25Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38022d62a77cSmrg/* end confdefs.h. */ 38032d62a77cSmrg#ifdef __STDC__ 38042d62a77cSmrg# include <limits.h> 38052d62a77cSmrg#else 38062d62a77cSmrg# include <assert.h> 38072d62a77cSmrg#endif 38082d62a77cSmrg Syntax error 38092d62a77cSmrg_ACEOF 38106d325d25Smrgif ac_fn_c_try_cpp "$LINENO"; then : 38112d62a77cSmrg 38126d325d25Smrgelse 38132d62a77cSmrg # Broken: fails on valid input. 38142d62a77cSmrgcontinue 38152d62a77cSmrgfi 38166d325d25Smrgrm -f conftest.err conftest.i conftest.$ac_ext 38172d62a77cSmrg 38182d62a77cSmrg # OK, works on sane cases. Now check whether nonexistent headers 38192d62a77cSmrg # can be detected and how. 38206d325d25Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38212d62a77cSmrg/* end confdefs.h. */ 38222d62a77cSmrg#include <ac_nonexistent.h> 38232d62a77cSmrg_ACEOF 38246d325d25Smrgif ac_fn_c_try_cpp "$LINENO"; then : 38252d62a77cSmrg # Broken: success on invalid input. 38262d62a77cSmrgcontinue 38272d62a77cSmrgelse 38282d62a77cSmrg # Passes both tests. 38292d62a77cSmrgac_preproc_ok=: 38302d62a77cSmrgbreak 38312d62a77cSmrgfi 38326d325d25Smrgrm -f conftest.err conftest.i conftest.$ac_ext 38332d62a77cSmrg 38342d62a77cSmrgdone 38352d62a77cSmrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 38366d325d25Smrgrm -f conftest.i conftest.err conftest.$ac_ext 38376d325d25Smrgif $ac_preproc_ok; then : 38386d325d25Smrg 38392d62a77cSmrgelse 38406d325d25Smrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 38412d62a77cSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 38426d325d25Smrgas_fn_error $? "C preprocessor \"$CPP\" fails sanity check 38436d325d25SmrgSee \`config.log' for more details" "$LINENO" 5; } 38442d62a77cSmrgfi 38452d62a77cSmrg 38462d62a77cSmrgac_ext=c 38472d62a77cSmrgac_cpp='$CPP $CPPFLAGS' 38482d62a77cSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 38492d62a77cSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 38502d62a77cSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 38512d62a77cSmrg 38522d62a77cSmrg 38536d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 38542d62a77cSmrg$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 38556d325d25Smrgif ${ac_cv_path_GREP+:} false; then : 38562d62a77cSmrg $as_echo_n "(cached) " >&6 38572d62a77cSmrgelse 38582d62a77cSmrg if test -z "$GREP"; then 38592d62a77cSmrg ac_path_GREP_found=false 38602d62a77cSmrg # Loop through the user's path and test for each of PROGNAME-LIST 38612d62a77cSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 38622d62a77cSmrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 38632d62a77cSmrgdo 38642d62a77cSmrg IFS=$as_save_IFS 38652d62a77cSmrg test -z "$as_dir" && as_dir=. 38666d325d25Smrg for ac_prog in grep ggrep; do 38672d62a77cSmrg for ac_exec_ext in '' $ac_executable_extensions; do 38682d62a77cSmrg ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 38692d62a77cSmrg { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 38702d62a77cSmrg# Check for GNU ac_path_GREP and select it if it is found. 38712d62a77cSmrg # Check for GNU $ac_path_GREP 38722d62a77cSmrgcase `"$ac_path_GREP" --version 2>&1` in 38732d62a77cSmrg*GNU*) 38742d62a77cSmrg ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 38752d62a77cSmrg*) 38762d62a77cSmrg ac_count=0 38772d62a77cSmrg $as_echo_n 0123456789 >"conftest.in" 38782d62a77cSmrg while : 38792d62a77cSmrg do 38802d62a77cSmrg cat "conftest.in" "conftest.in" >"conftest.tmp" 38812d62a77cSmrg mv "conftest.tmp" "conftest.in" 38822d62a77cSmrg cp "conftest.in" "conftest.nl" 38832d62a77cSmrg $as_echo 'GREP' >> "conftest.nl" 38842d62a77cSmrg "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 38852d62a77cSmrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 38866d325d25Smrg as_fn_arith $ac_count + 1 && ac_count=$as_val 38872d62a77cSmrg if test $ac_count -gt ${ac_path_GREP_max-0}; then 38882d62a77cSmrg # Best one so far, save it but keep looking for a better one 38892d62a77cSmrg ac_cv_path_GREP="$ac_path_GREP" 38902d62a77cSmrg ac_path_GREP_max=$ac_count 38912d62a77cSmrg fi 38922d62a77cSmrg # 10*(2^10) chars as input seems more than enough 38932d62a77cSmrg test $ac_count -gt 10 && break 38942d62a77cSmrg done 38952d62a77cSmrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 38962d62a77cSmrgesac 38972d62a77cSmrg 38982d62a77cSmrg $ac_path_GREP_found && break 3 38992d62a77cSmrg done 39002d62a77cSmrg done 39016d325d25Smrg done 39022d62a77cSmrgIFS=$as_save_IFS 39032d62a77cSmrg if test -z "$ac_cv_path_GREP"; then 39046d325d25Smrg as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 39052d62a77cSmrg fi 39062d62a77cSmrgelse 39072d62a77cSmrg ac_cv_path_GREP=$GREP 39082d62a77cSmrgfi 39092d62a77cSmrg 39102d62a77cSmrgfi 39116d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 39122d62a77cSmrg$as_echo "$ac_cv_path_GREP" >&6; } 39132d62a77cSmrg GREP="$ac_cv_path_GREP" 39142d62a77cSmrg 39152d62a77cSmrg 39166d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 39172d62a77cSmrg$as_echo_n "checking for egrep... " >&6; } 39186d325d25Smrgif ${ac_cv_path_EGREP+:} false; then : 39192d62a77cSmrg $as_echo_n "(cached) " >&6 39202d62a77cSmrgelse 39212d62a77cSmrg if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 39222d62a77cSmrg then ac_cv_path_EGREP="$GREP -E" 39232d62a77cSmrg else 39242d62a77cSmrg if test -z "$EGREP"; then 39252d62a77cSmrg ac_path_EGREP_found=false 39262d62a77cSmrg # Loop through the user's path and test for each of PROGNAME-LIST 39272d62a77cSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 39282d62a77cSmrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 39292d62a77cSmrgdo 39302d62a77cSmrg IFS=$as_save_IFS 39312d62a77cSmrg test -z "$as_dir" && as_dir=. 39326d325d25Smrg for ac_prog in egrep; do 39332d62a77cSmrg for ac_exec_ext in '' $ac_executable_extensions; do 39342d62a77cSmrg ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 39352d62a77cSmrg { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 39362d62a77cSmrg# Check for GNU ac_path_EGREP and select it if it is found. 39372d62a77cSmrg # Check for GNU $ac_path_EGREP 39382d62a77cSmrgcase `"$ac_path_EGREP" --version 2>&1` in 39392d62a77cSmrg*GNU*) 39402d62a77cSmrg ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 39412d62a77cSmrg*) 39422d62a77cSmrg ac_count=0 39432d62a77cSmrg $as_echo_n 0123456789 >"conftest.in" 39442d62a77cSmrg while : 39452d62a77cSmrg do 39462d62a77cSmrg cat "conftest.in" "conftest.in" >"conftest.tmp" 39472d62a77cSmrg mv "conftest.tmp" "conftest.in" 39482d62a77cSmrg cp "conftest.in" "conftest.nl" 39492d62a77cSmrg $as_echo 'EGREP' >> "conftest.nl" 39502d62a77cSmrg "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 39512d62a77cSmrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 39526d325d25Smrg as_fn_arith $ac_count + 1 && ac_count=$as_val 39532d62a77cSmrg if test $ac_count -gt ${ac_path_EGREP_max-0}; then 39542d62a77cSmrg # Best one so far, save it but keep looking for a better one 39552d62a77cSmrg ac_cv_path_EGREP="$ac_path_EGREP" 39562d62a77cSmrg ac_path_EGREP_max=$ac_count 39572d62a77cSmrg fi 39582d62a77cSmrg # 10*(2^10) chars as input seems more than enough 39592d62a77cSmrg test $ac_count -gt 10 && break 39602d62a77cSmrg done 39612d62a77cSmrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 39622d62a77cSmrgesac 39632d62a77cSmrg 39642d62a77cSmrg $ac_path_EGREP_found && break 3 39652d62a77cSmrg done 39662d62a77cSmrg done 39676d325d25Smrg done 39682d62a77cSmrgIFS=$as_save_IFS 39692d62a77cSmrg if test -z "$ac_cv_path_EGREP"; then 39706d325d25Smrg as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 39712d62a77cSmrg fi 39722d62a77cSmrgelse 39732d62a77cSmrg ac_cv_path_EGREP=$EGREP 39742d62a77cSmrgfi 39752d62a77cSmrg 39762d62a77cSmrg fi 39772d62a77cSmrgfi 39786d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 39792d62a77cSmrg$as_echo "$ac_cv_path_EGREP" >&6; } 39802d62a77cSmrg EGREP="$ac_cv_path_EGREP" 39812d62a77cSmrg 39822d62a77cSmrg 39836d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 39842d62a77cSmrg$as_echo_n "checking for ANSI C header files... " >&6; } 39856d325d25Smrgif ${ac_cv_header_stdc+:} false; then : 39862d62a77cSmrg $as_echo_n "(cached) " >&6 39872d62a77cSmrgelse 39886d325d25Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39892d62a77cSmrg/* end confdefs.h. */ 39902d62a77cSmrg#include <stdlib.h> 39912d62a77cSmrg#include <stdarg.h> 39922d62a77cSmrg#include <string.h> 39932d62a77cSmrg#include <float.h> 39942d62a77cSmrg 39952d62a77cSmrgint 39962d62a77cSmrgmain () 39972d62a77cSmrg{ 39982d62a77cSmrg 39992d62a77cSmrg ; 40002d62a77cSmrg return 0; 40012d62a77cSmrg} 40022d62a77cSmrg_ACEOF 40036d325d25Smrgif ac_fn_c_try_compile "$LINENO"; then : 40042d62a77cSmrg ac_cv_header_stdc=yes 40052d62a77cSmrgelse 40066d325d25Smrg ac_cv_header_stdc=no 40072d62a77cSmrgfi 40082d62a77cSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 40092d62a77cSmrg 40102d62a77cSmrgif test $ac_cv_header_stdc = yes; then 40112d62a77cSmrg # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 40126d325d25Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40132d62a77cSmrg/* end confdefs.h. */ 40142d62a77cSmrg#include <string.h> 40152d62a77cSmrg 40162d62a77cSmrg_ACEOF 40172d62a77cSmrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 40186d325d25Smrg $EGREP "memchr" >/dev/null 2>&1; then : 40196d325d25Smrg 40202d62a77cSmrgelse 40212d62a77cSmrg ac_cv_header_stdc=no 40222d62a77cSmrgfi 40232d62a77cSmrgrm -f conftest* 40242d62a77cSmrg 40252d62a77cSmrgfi 40262d62a77cSmrg 40272d62a77cSmrgif test $ac_cv_header_stdc = yes; then 40282d62a77cSmrg # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 40296d325d25Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40302d62a77cSmrg/* end confdefs.h. */ 40312d62a77cSmrg#include <stdlib.h> 40322d62a77cSmrg 40332d62a77cSmrg_ACEOF 40342d62a77cSmrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 40356d325d25Smrg $EGREP "free" >/dev/null 2>&1; then : 40366d325d25Smrg 40372d62a77cSmrgelse 40382d62a77cSmrg ac_cv_header_stdc=no 40392d62a77cSmrgfi 40402d62a77cSmrgrm -f conftest* 40412d62a77cSmrg 40422d62a77cSmrgfi 40432d62a77cSmrg 40442d62a77cSmrgif test $ac_cv_header_stdc = yes; then 40452d62a77cSmrg # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 40466d325d25Smrg if test "$cross_compiling" = yes; then : 40472d62a77cSmrg : 40482d62a77cSmrgelse 40496d325d25Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40502d62a77cSmrg/* end confdefs.h. */ 40512d62a77cSmrg#include <ctype.h> 40522d62a77cSmrg#include <stdlib.h> 40532d62a77cSmrg#if ((' ' & 0x0FF) == 0x020) 40542d62a77cSmrg# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 40552d62a77cSmrg# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 40562d62a77cSmrg#else 40572d62a77cSmrg# define ISLOWER(c) \ 40582d62a77cSmrg (('a' <= (c) && (c) <= 'i') \ 40592d62a77cSmrg || ('j' <= (c) && (c) <= 'r') \ 40602d62a77cSmrg || ('s' <= (c) && (c) <= 'z')) 40612d62a77cSmrg# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 40622d62a77cSmrg#endif 40632d62a77cSmrg 40642d62a77cSmrg#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 40652d62a77cSmrgint 40662d62a77cSmrgmain () 40672d62a77cSmrg{ 40682d62a77cSmrg int i; 40692d62a77cSmrg for (i = 0; i < 256; i++) 40702d62a77cSmrg if (XOR (islower (i), ISLOWER (i)) 40712d62a77cSmrg || toupper (i) != TOUPPER (i)) 40722d62a77cSmrg return 2; 40732d62a77cSmrg return 0; 40742d62a77cSmrg} 40752d62a77cSmrg_ACEOF 40766d325d25Smrgif ac_fn_c_try_run "$LINENO"; then : 40772d62a77cSmrg 40786d325d25Smrgelse 40796d325d25Smrg ac_cv_header_stdc=no 40802d62a77cSmrgfi 40816d325d25Smrgrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 40826d325d25Smrg conftest.$ac_objext conftest.beam conftest.$ac_ext 40832d62a77cSmrgfi 40842d62a77cSmrg 40852d62a77cSmrgfi 40862d62a77cSmrgfi 40876d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 40882d62a77cSmrg$as_echo "$ac_cv_header_stdc" >&6; } 40892d62a77cSmrgif test $ac_cv_header_stdc = yes; then 40902d62a77cSmrg 40916d325d25Smrg$as_echo "#define STDC_HEADERS 1" >>confdefs.h 40922d62a77cSmrg 40932d62a77cSmrgfi 40942d62a77cSmrg 40952d62a77cSmrg# On IRIX 5.3, sys/types and inttypes.h are conflicting. 40962d62a77cSmrgfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 40972d62a77cSmrg inttypes.h stdint.h unistd.h 40986d325d25Smrgdo : 40996d325d25Smrg as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 41006d325d25Smrgac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 41016d325d25Smrg" 41026d325d25Smrgif eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 41032d62a77cSmrg cat >>confdefs.h <<_ACEOF 41042d62a77cSmrg#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 41052d62a77cSmrg_ACEOF 41062d62a77cSmrg 41072d62a77cSmrgfi 41082d62a77cSmrg 41092d62a77cSmrgdone 41102d62a77cSmrg 41112d62a77cSmrg 41122d62a77cSmrg 41132d62a77cSmrg 41146d325d25Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 41156d325d25Smrg if test -n "$ac_tool_prefix"; then 41166d325d25Smrg # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 41176d325d25Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2 41186d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 41196d325d25Smrg$as_echo_n "checking for $ac_word... " >&6; } 41206d325d25Smrgif ${ac_cv_path_PKG_CONFIG+:} false; then : 41216d325d25Smrg $as_echo_n "(cached) " >&6 41226d325d25Smrgelse 41236d325d25Smrg case $PKG_CONFIG in 41246d325d25Smrg [\\/]* | ?:[\\/]*) 41256d325d25Smrg ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 41266d325d25Smrg ;; 41276d325d25Smrg *) 41286d325d25Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 41296d325d25Smrgfor as_dir in $PATH 41302d62a77cSmrgdo 41316d325d25Smrg IFS=$as_save_IFS 41326d325d25Smrg test -z "$as_dir" && as_dir=. 41336d325d25Smrg for ac_exec_ext in '' $ac_executable_extensions; do 41346d325d25Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 41356d325d25Smrg ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 41366d325d25Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 41376d325d25Smrg break 2 41386d325d25Smrg fi 41396d325d25Smrgdone 41406d325d25Smrg done 41416d325d25SmrgIFS=$as_save_IFS 41426d325d25Smrg 41436d325d25Smrg ;; 41442d62a77cSmrgesac 41456d325d25Smrgfi 41466d325d25SmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG 41476d325d25Smrgif test -n "$PKG_CONFIG"; then 41486d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 41496d325d25Smrg$as_echo "$PKG_CONFIG" >&6; } 41502d62a77cSmrgelse 41516d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 41526d325d25Smrg$as_echo "no" >&6; } 41532d62a77cSmrgfi 41542d62a77cSmrg 41552d62a77cSmrg 41562d62a77cSmrgfi 41576d325d25Smrgif test -z "$ac_cv_path_PKG_CONFIG"; then 41586d325d25Smrg ac_pt_PKG_CONFIG=$PKG_CONFIG 41596d325d25Smrg # Extract the first word of "pkg-config", so it can be a program name with args. 41606d325d25Smrgset dummy pkg-config; ac_word=$2 41616d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 41626d325d25Smrg$as_echo_n "checking for $ac_word... " >&6; } 41636d325d25Smrgif ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 41646d325d25Smrg $as_echo_n "(cached) " >&6 41656d325d25Smrgelse 41666d325d25Smrg case $ac_pt_PKG_CONFIG in 41676d325d25Smrg [\\/]* | ?:[\\/]*) 41686d325d25Smrg ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 41696d325d25Smrg ;; 41702d62a77cSmrg *) 41716d325d25Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 41726d325d25Smrgfor as_dir in $PATH 41736d325d25Smrgdo 41746d325d25Smrg IFS=$as_save_IFS 41756d325d25Smrg test -z "$as_dir" && as_dir=. 41766d325d25Smrg for ac_exec_ext in '' $ac_executable_extensions; do 41776d325d25Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 41786d325d25Smrg ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 41796d325d25Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 41806d325d25Smrg break 2 41816d325d25Smrg fi 41826d325d25Smrgdone 41836d325d25Smrg done 41846d325d25SmrgIFS=$as_save_IFS 41856d325d25Smrg 41866d325d25Smrg ;; 41872d62a77cSmrgesac 41886d325d25Smrgfi 41896d325d25Smrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 41906d325d25Smrgif test -n "$ac_pt_PKG_CONFIG"; then 41916d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 41926d325d25Smrg$as_echo "$ac_pt_PKG_CONFIG" >&6; } 41936d325d25Smrgelse 41946d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 41956d325d25Smrg$as_echo "no" >&6; } 41966d325d25Smrgfi 41972d62a77cSmrg 41986d325d25Smrg if test "x$ac_pt_PKG_CONFIG" = x; then 41996d325d25Smrg PKG_CONFIG="" 42006d325d25Smrg else 42016d325d25Smrg case $cross_compiling:$ac_tool_warned in 42026d325d25Smrgyes:) 42036d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 42046d325d25Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 42056d325d25Smrgac_tool_warned=yes ;; 42066d325d25Smrgesac 42076d325d25Smrg PKG_CONFIG=$ac_pt_PKG_CONFIG 42086d325d25Smrg fi 42096d325d25Smrgelse 42106d325d25Smrg PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 42116d325d25Smrgfi 42122d62a77cSmrg 42136d325d25Smrgfi 42146d325d25Smrgif test -n "$PKG_CONFIG"; then 42156d325d25Smrg _pkg_min_version=0.9.0 42166d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 42176d325d25Smrg$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 42186d325d25Smrg if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 42196d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 42206d325d25Smrg$as_echo "yes" >&6; } 42216d325d25Smrg else 42226d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 42236d325d25Smrg$as_echo "no" >&6; } 42246d325d25Smrg PKG_CONFIG="" 42256d325d25Smrg fi 42262d62a77cSmrg 42276d325d25Smrgfi 42282d62a77cSmrg# Make sure we can run config.sub. 42292d62a77cSmrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 42306d325d25Smrg as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 42312d62a77cSmrg 42326d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 42332d62a77cSmrg$as_echo_n "checking build system type... " >&6; } 42346d325d25Smrgif ${ac_cv_build+:} false; then : 42352d62a77cSmrg $as_echo_n "(cached) " >&6 42362d62a77cSmrgelse 42372d62a77cSmrg ac_build_alias=$build_alias 42382d62a77cSmrgtest "x$ac_build_alias" = x && 42392d62a77cSmrg ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 42402d62a77cSmrgtest "x$ac_build_alias" = x && 42416d325d25Smrg as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 42422d62a77cSmrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 42436d325d25Smrg as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 42442d62a77cSmrg 42452d62a77cSmrgfi 42466d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 42472d62a77cSmrg$as_echo "$ac_cv_build" >&6; } 42482d62a77cSmrgcase $ac_cv_build in 42492d62a77cSmrg*-*-*) ;; 42506d325d25Smrg*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 42512d62a77cSmrgesac 42522d62a77cSmrgbuild=$ac_cv_build 42532d62a77cSmrgac_save_IFS=$IFS; IFS='-' 42542d62a77cSmrgset x $ac_cv_build 42552d62a77cSmrgshift 42562d62a77cSmrgbuild_cpu=$1 42572d62a77cSmrgbuild_vendor=$2 42582d62a77cSmrgshift; shift 42592d62a77cSmrg# Remember, the first character of IFS is used to create $*, 42602d62a77cSmrg# except with old shells: 42612d62a77cSmrgbuild_os=$* 42622d62a77cSmrgIFS=$ac_save_IFS 42632d62a77cSmrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 42642d62a77cSmrg 42652d62a77cSmrg 42666d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 42672d62a77cSmrg$as_echo_n "checking host system type... " >&6; } 42686d325d25Smrgif ${ac_cv_host+:} false; then : 42692d62a77cSmrg $as_echo_n "(cached) " >&6 42702d62a77cSmrgelse 42712d62a77cSmrg if test "x$host_alias" = x; then 42722d62a77cSmrg ac_cv_host=$ac_cv_build 42732d62a77cSmrgelse 42742d62a77cSmrg ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 42756d325d25Smrg as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 42762d62a77cSmrgfi 42772d62a77cSmrg 42782d62a77cSmrgfi 42796d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 42802d62a77cSmrg$as_echo "$ac_cv_host" >&6; } 42812d62a77cSmrgcase $ac_cv_host in 42822d62a77cSmrg*-*-*) ;; 42836d325d25Smrg*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 42842d62a77cSmrgesac 42852d62a77cSmrghost=$ac_cv_host 42862d62a77cSmrgac_save_IFS=$IFS; IFS='-' 42872d62a77cSmrgset x $ac_cv_host 42882d62a77cSmrgshift 42892d62a77cSmrghost_cpu=$1 42902d62a77cSmrghost_vendor=$2 42912d62a77cSmrgshift; shift 42922d62a77cSmrg# Remember, the first character of IFS is used to create $*, 42932d62a77cSmrg# except with old shells: 42942d62a77cSmrghost_os=$* 42952d62a77cSmrgIFS=$ac_save_IFS 42962d62a77cSmrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 42972d62a77cSmrg 42982d62a77cSmrg 42996d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 43006d325d25Smrg$as_echo_n "checking for a sed that does not truncate output... " >&6; } 43016d325d25Smrgif ${ac_cv_path_SED+:} false; then : 43026d325d25Smrg $as_echo_n "(cached) " >&6 43036d325d25Smrgelse 43046d325d25Smrg ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 43056d325d25Smrg for ac_i in 1 2 3 4 5 6 7; do 43066d325d25Smrg ac_script="$ac_script$as_nl$ac_script" 43076d325d25Smrg done 43086d325d25Smrg echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 43096d325d25Smrg { ac_script=; unset ac_script;} 43106d325d25Smrg if test -z "$SED"; then 43116d325d25Smrg ac_path_SED_found=false 43126d325d25Smrg # Loop through the user's path and test for each of PROGNAME-LIST 43136d325d25Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 43146d325d25Smrgfor as_dir in $PATH 43156d325d25Smrgdo 43166d325d25Smrg IFS=$as_save_IFS 43176d325d25Smrg test -z "$as_dir" && as_dir=. 43186d325d25Smrg for ac_prog in sed gsed; do 43196d325d25Smrg for ac_exec_ext in '' $ac_executable_extensions; do 43206d325d25Smrg ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 43216d325d25Smrg { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 43226d325d25Smrg# Check for GNU ac_path_SED and select it if it is found. 43236d325d25Smrg # Check for GNU $ac_path_SED 43246d325d25Smrgcase `"$ac_path_SED" --version 2>&1` in 43256d325d25Smrg*GNU*) 43266d325d25Smrg ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 43276d325d25Smrg*) 43286d325d25Smrg ac_count=0 43296d325d25Smrg $as_echo_n 0123456789 >"conftest.in" 43306d325d25Smrg while : 43316d325d25Smrg do 43326d325d25Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 43336d325d25Smrg mv "conftest.tmp" "conftest.in" 43346d325d25Smrg cp "conftest.in" "conftest.nl" 43356d325d25Smrg $as_echo '' >> "conftest.nl" 43366d325d25Smrg "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 43376d325d25Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 43386d325d25Smrg as_fn_arith $ac_count + 1 && ac_count=$as_val 43396d325d25Smrg if test $ac_count -gt ${ac_path_SED_max-0}; then 43406d325d25Smrg # Best one so far, save it but keep looking for a better one 43416d325d25Smrg ac_cv_path_SED="$ac_path_SED" 43426d325d25Smrg ac_path_SED_max=$ac_count 43436d325d25Smrg fi 43446d325d25Smrg # 10*(2^10) chars as input seems more than enough 43456d325d25Smrg test $ac_count -gt 10 && break 43466d325d25Smrg done 43476d325d25Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 43486d325d25Smrgesac 43496d325d25Smrg 43506d325d25Smrg $ac_path_SED_found && break 3 43516d325d25Smrg done 43526d325d25Smrg done 43536d325d25Smrg done 43546d325d25SmrgIFS=$as_save_IFS 43556d325d25Smrg if test -z "$ac_cv_path_SED"; then 43566d325d25Smrg as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 43576d325d25Smrg fi 43586d325d25Smrgelse 43596d325d25Smrg ac_cv_path_SED=$SED 43606d325d25Smrgfi 43616d325d25Smrg 43626d325d25Smrgfi 43636d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 43646d325d25Smrg$as_echo "$ac_cv_path_SED" >&6; } 43656d325d25Smrg SED="$ac_cv_path_SED" 43666d325d25Smrg rm -f conftest.sed 43676d325d25Smrg 43686d325d25Smrg 43692d62a77cSmrg 43702d62a77cSmrg 43712d62a77cSmrg 43722d62a77cSmrgif test "x$GCC" = xyes ; then 43732d62a77cSmrg CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \ 43742d62a77cSmrg-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \ 43756d325d25Smrg-Wbad-function-cast -Wformat=2" 43762d62a77cSmrg case `$CC -dumpversion` in 43772d62a77cSmrg 3.4.* | 4.*) 43782d62a77cSmrg CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement" 43792d62a77cSmrg ;; 43802d62a77cSmrg esac 43812d62a77cSmrgelse 43826d325d25Smrg ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 43836d325d25Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then : 43842d62a77cSmrg SUNCC="yes" 43852d62a77cSmrgelse 43862d62a77cSmrg SUNCC="no" 43872d62a77cSmrgfi 43882d62a77cSmrg 43896d325d25Smrg if test "x$SUNCC" = "xyes"; then 43906d325d25Smrg CWARNFLAGS="-v" 43916d325d25Smrg fi 43926d325d25Smrgfi 43932d62a77cSmrg 43942d62a77cSmrg 43952d62a77cSmrg 43966d325d25Smrg# If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89 43972d62a77cSmrg 43982d62a77cSmrg 43992d62a77cSmrg 44002d62a77cSmrg# Check whether --enable-strict-compilation was given. 44016d325d25Smrgif test "${enable_strict_compilation+set}" = set; then : 44022d62a77cSmrg enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval 44032d62a77cSmrgelse 44042d62a77cSmrg STRICT_COMPILE=no 44052d62a77cSmrgfi 44062d62a77cSmrg 44072d62a77cSmrgif test "x$STRICT_COMPILE" = "xyes"; then 44086d325d25Smrg ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 44096d325d25Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then : 44102d62a77cSmrg SUNCC="yes" 44112d62a77cSmrgelse 44122d62a77cSmrg SUNCC="no" 44132d62a77cSmrgfi 44142d62a77cSmrg 44156d325d25Smrg ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" 44166d325d25Smrgif test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then : 44172d62a77cSmrg INTELCC="yes" 44182d62a77cSmrgelse 44192d62a77cSmrg INTELCC="no" 44202d62a77cSmrgfi 44212d62a77cSmrg 44222d62a77cSmrg if test "x$GCC" = xyes ; then 44232d62a77cSmrg STRICT_CFLAGS="-pedantic -Werror" 44242d62a77cSmrg elif test "x$SUNCC" = "xyes"; then 44252d62a77cSmrg STRICT_CFLAGS="-errwarn" 44262d62a77cSmrg elif test "x$INTELCC" = "xyes"; then 44272d62a77cSmrg STRICT_CFLAGS="-Werror" 44282d62a77cSmrg fi 44292d62a77cSmrgfi 44302d62a77cSmrgCWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS" 44312d62a77cSmrg 44322d62a77cSmrg 44332d62a77cSmrg 44342d62a77cSmrg 44352d62a77cSmrgcat >>confdefs.h <<_ACEOF 44362d62a77cSmrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 44372d62a77cSmrg_ACEOF 44382d62a77cSmrg 44392d62a77cSmrg PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 44402d62a77cSmrg if test "x$PVM" = "x"; then 44412d62a77cSmrg PVM="0" 44422d62a77cSmrg fi 44432d62a77cSmrg 44442d62a77cSmrgcat >>confdefs.h <<_ACEOF 44452d62a77cSmrg#define PACKAGE_VERSION_MINOR $PVM 44462d62a77cSmrg_ACEOF 44472d62a77cSmrg 44482d62a77cSmrg PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 44492d62a77cSmrg if test "x$PVP" = "x"; then 44502d62a77cSmrg PVP="0" 44512d62a77cSmrg fi 44522d62a77cSmrg 44532d62a77cSmrgcat >>confdefs.h <<_ACEOF 44542d62a77cSmrg#define PACKAGE_VERSION_PATCHLEVEL $PVP 44552d62a77cSmrg_ACEOF 44562d62a77cSmrg 44572d62a77cSmrg 44582d62a77cSmrg 44596d325d25SmrgCHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \ 44606d325d25Smrgmv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \ 44616d325d25Smrg|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \ 44622d62a77cSmrgecho 'git directory not found: installing possibly empty changelog.' >&2)" 44632d62a77cSmrg 44646d325d25Smrg 44656d325d25Smrg 44666d325d25Smrg 44676d325d25Smrgmacros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros` 44686d325d25SmrgINSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \ 44696d325d25Smrgmv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \ 44706d325d25Smrg|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \ 44716d325d25Smrgecho 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)" 44726d325d25Smrg 44732d62a77cSmrg 44742d62a77cSmrg 44752d62a77cSmrg 44762d62a77cSmrg 44772d62a77cSmrg 44782d62a77cSmrgif test x$APP_MAN_SUFFIX = x ; then 44792d62a77cSmrg APP_MAN_SUFFIX=1 44802d62a77cSmrgfi 44812d62a77cSmrgif test x$APP_MAN_DIR = x ; then 44822d62a77cSmrg APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 44832d62a77cSmrgfi 44842d62a77cSmrg 44852d62a77cSmrgif test x$LIB_MAN_SUFFIX = x ; then 44862d62a77cSmrg LIB_MAN_SUFFIX=3 44872d62a77cSmrgfi 44882d62a77cSmrgif test x$LIB_MAN_DIR = x ; then 44892d62a77cSmrg LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 44902d62a77cSmrgfi 44912d62a77cSmrg 44922d62a77cSmrgif test x$FILE_MAN_SUFFIX = x ; then 44932d62a77cSmrg case $host_os in 44942d62a77cSmrg solaris*) FILE_MAN_SUFFIX=4 ;; 44952d62a77cSmrg *) FILE_MAN_SUFFIX=5 ;; 44962d62a77cSmrg esac 44972d62a77cSmrgfi 44982d62a77cSmrgif test x$FILE_MAN_DIR = x ; then 44992d62a77cSmrg FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 45002d62a77cSmrgfi 45012d62a77cSmrg 45022d62a77cSmrgif test x$MISC_MAN_SUFFIX = x ; then 45032d62a77cSmrg case $host_os in 45042d62a77cSmrg solaris*) MISC_MAN_SUFFIX=5 ;; 45052d62a77cSmrg *) MISC_MAN_SUFFIX=7 ;; 45062d62a77cSmrg esac 45072d62a77cSmrgfi 45082d62a77cSmrgif test x$MISC_MAN_DIR = x ; then 45092d62a77cSmrg MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 45102d62a77cSmrgfi 45112d62a77cSmrg 45122d62a77cSmrgif test x$DRIVER_MAN_SUFFIX = x ; then 45132d62a77cSmrg case $host_os in 45142d62a77cSmrg solaris*) DRIVER_MAN_SUFFIX=7 ;; 45152d62a77cSmrg *) DRIVER_MAN_SUFFIX=4 ;; 45162d62a77cSmrg esac 45172d62a77cSmrgfi 45182d62a77cSmrgif test x$DRIVER_MAN_DIR = x ; then 45192d62a77cSmrg DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 45202d62a77cSmrgfi 45212d62a77cSmrg 45222d62a77cSmrgif test x$ADMIN_MAN_SUFFIX = x ; then 45232d62a77cSmrg case $host_os in 45242d62a77cSmrg solaris*) ADMIN_MAN_SUFFIX=1m ;; 45252d62a77cSmrg *) ADMIN_MAN_SUFFIX=8 ;; 45262d62a77cSmrg esac 45272d62a77cSmrgfi 45282d62a77cSmrgif test x$ADMIN_MAN_DIR = x ; then 45292d62a77cSmrg ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 45302d62a77cSmrgfi 45312d62a77cSmrg 45322d62a77cSmrg 45332d62a77cSmrg 45342d62a77cSmrg 45352d62a77cSmrg 45362d62a77cSmrg 45372d62a77cSmrg 45382d62a77cSmrg 45392d62a77cSmrg 45402d62a77cSmrg 45412d62a77cSmrg 45422d62a77cSmrg 45432d62a77cSmrg 45446d325d25Smrg 45456d325d25Smrg 45466d325d25SmrgXORG_MAN_PAGE="X Version 11" 45476d325d25Smrg 45486d325d25SmrgMAN_SUBSTS="\ 45496d325d25Smrg -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 45506d325d25Smrg -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 45516d325d25Smrg -e 's|__xservername__|Xorg|g' \ 45526d325d25Smrg -e 's|__xconfigfile__|xorg.conf|g' \ 45536d325d25Smrg -e 's|__projectroot__|\$(prefix)|g' \ 45546d325d25Smrg -e 's|__apploaddir__|\$(appdefaultdir)|g' \ 45556d325d25Smrg -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \ 45566d325d25Smrg -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \ 45576d325d25Smrg -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \ 45586d325d25Smrg -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \ 45596d325d25Smrg -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \ 45606d325d25Smrg -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'" 45616d325d25Smrg 45626d325d25Smrg 45636d325d25Smrg 45646d325d25Smrg# Check whether --enable-silent-rules was given. 45656d325d25Smrgif test "${enable_silent_rules+set}" = set; then : 45666d325d25Smrg enableval=$enable_silent_rules; 45672d62a77cSmrgfi 45682d62a77cSmrg 45696d325d25Smrgcase $enable_silent_rules in 45706d325d25Smrgyes) AM_DEFAULT_VERBOSITY=0;; 45716d325d25Smrgno) AM_DEFAULT_VERBOSITY=1;; 45726d325d25Smrg*) AM_DEFAULT_VERBOSITY=0;; 45736d325d25Smrgesac 45746d325d25SmrgAM_BACKSLASH='\' 45756d325d25Smrg 45766d325d25Smrg 45776d325d25Smrg 45786d325d25Smrg 45792d62a77cSmrg 45802d62a77cSmrg 45816d325d25Smrg 45826d325d25Smrg 45836d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for root directory for font files" >&5 45842d62a77cSmrg$as_echo_n "checking for root directory for font files... " >&6; } 45852d62a77cSmrg 45862d62a77cSmrg# Check whether --with-fontrootdir was given. 45876d325d25Smrgif test "${with_fontrootdir+set}" = set; then : 45882d62a77cSmrg withval=$with_fontrootdir; FONTROOTDIR="$withval" 45892d62a77cSmrgfi 45902d62a77cSmrg 45912d62a77cSmrg # if --with-fontrootdir not specified... 45922d62a77cSmrg if test "x${FONTROOTDIR}" = "x"; then 45932d62a77cSmrg FONTROOTDIR=`$PKG_CONFIG --variable=fontrootdir fontutil` 45942d62a77cSmrg fi 45952d62a77cSmrg # ...and if pkg-config didn't find fontdir in fontutil.pc... 45962d62a77cSmrg if test "x${FONTROOTDIR}" = "x"; then 45972d62a77cSmrg FONTROOTDIR="${datadir}/fonts/X11" 4598a99f82b8Smrg fi 4599a99f82b8Smrg 46006d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${FONTROOTDIR}" >&5 46012d62a77cSmrg$as_echo "${FONTROOTDIR}" >&6; } 46022d62a77cSmrg 46032d62a77cSmrg 46042d62a77cSmrg 46052d62a77cSmrg# Check whether --with-top-fontdir was given. 46066d325d25Smrgif test "${with_top_fontdir+set}" = set; then : 46076d325d25Smrg withval=$with_top_fontdir; as_fn_error $? "--with-top-fontdir is obsolete, use --with-fontrootdir instead" "$LINENO" 5 46082d62a77cSmrgfi 46092d62a77cSmrg 46102d62a77cSmrg 46112d62a77cSmrg 46122d62a77cSmrgac_config_files="$ac_config_files Makefile 100dpi/Makefile 75dpi/Makefile cyrillic/Makefile misc/Makefile" 4613a99f82b8Smrg 4614a99f82b8Smrgcat >confcache <<\_ACEOF 4615a99f82b8Smrg# This file is a shell script that caches the results of configure 4616a99f82b8Smrg# tests run on this system so they can be shared between configure 4617a99f82b8Smrg# scripts and configure runs, see configure's option --config-cache. 4618a99f82b8Smrg# It is not useful on other systems. If it contains results you don't 4619a99f82b8Smrg# want to keep, you may remove or edit it. 4620a99f82b8Smrg# 4621a99f82b8Smrg# config.status only pays attention to the cache file if you give it 4622a99f82b8Smrg# the --recheck option to rerun configure. 4623a99f82b8Smrg# 4624a99f82b8Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when 4625a99f82b8Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the 4626a99f82b8Smrg# following values. 4627a99f82b8Smrg 4628a99f82b8Smrg_ACEOF 4629a99f82b8Smrg 4630a99f82b8Smrg# The following way of writing the cache mishandles newlines in values, 4631a99f82b8Smrg# but we know of no workaround that is simple, portable, and efficient. 46322d62a77cSmrg# So, we kill variables containing newlines. 4633a99f82b8Smrg# Ultrix sh set writes to stderr and can't be redirected directly, 4634a99f82b8Smrg# and sets the high bit in the cache file unless we assign to the vars. 46352d62a77cSmrg( 46362d62a77cSmrg for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 46372d62a77cSmrg eval ac_val=\$$ac_var 46382d62a77cSmrg case $ac_val in #( 46392d62a77cSmrg *${as_nl}*) 46402d62a77cSmrg case $ac_var in #( 46416d325d25Smrg *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 46422d62a77cSmrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 46432d62a77cSmrg esac 46442d62a77cSmrg case $ac_var in #( 46452d62a77cSmrg _ | IFS | as_nl) ;; #( 46462d62a77cSmrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 46476d325d25Smrg *) { eval $ac_var=; unset $ac_var;} ;; 46482d62a77cSmrg esac ;; 46492d62a77cSmrg esac 46502d62a77cSmrg done 46512d62a77cSmrg 4652a99f82b8Smrg (set) 2>&1 | 46532d62a77cSmrg case $as_nl`(ac_space=' '; set) 2>&1` in #( 46542d62a77cSmrg *${as_nl}ac_space=\ *) 46556d325d25Smrg # `set' does not quote correctly, so add quotes: double-quote 46566d325d25Smrg # substitution turns \\\\ into \\, and sed turns \\ into \. 4657a99f82b8Smrg sed -n \ 4658a99f82b8Smrg "s/'/'\\\\''/g; 4659a99f82b8Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 46602d62a77cSmrg ;; #( 4661a99f82b8Smrg *) 4662a99f82b8Smrg # `set' quotes correctly as required by POSIX, so do not add quotes. 46632d62a77cSmrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 4664a99f82b8Smrg ;; 46652d62a77cSmrg esac | 46662d62a77cSmrg sort 46672d62a77cSmrg) | 4668a99f82b8Smrg sed ' 46692d62a77cSmrg /^ac_cv_env_/b end 4670a99f82b8Smrg t clear 46712d62a77cSmrg :clear 4672a99f82b8Smrg s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 4673a99f82b8Smrg t end 46742d62a77cSmrg s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 46752d62a77cSmrg :end' >>confcache 46762d62a77cSmrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 46772d62a77cSmrg if test -w "$cache_file"; then 46786d325d25Smrg if test "x$cache_file" != "x/dev/null"; then 46796d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 46802d62a77cSmrg$as_echo "$as_me: updating cache $cache_file" >&6;} 46816d325d25Smrg if test ! -f "$cache_file" || test -h "$cache_file"; then 46826d325d25Smrg cat confcache >"$cache_file" 46836d325d25Smrg else 46846d325d25Smrg case $cache_file in #( 46856d325d25Smrg */* | ?:*) 46866d325d25Smrg mv -f confcache "$cache_file"$$ && 46876d325d25Smrg mv -f "$cache_file"$$ "$cache_file" ;; #( 46886d325d25Smrg *) 46896d325d25Smrg mv -f confcache "$cache_file" ;; 46906d325d25Smrg esac 46916d325d25Smrg fi 46926d325d25Smrg fi 4693a99f82b8Smrg else 46946d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 46952d62a77cSmrg$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 4696a99f82b8Smrg fi 4697a99f82b8Smrgfi 4698a99f82b8Smrgrm -f confcache 4699a99f82b8Smrg 4700a99f82b8Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix 4701a99f82b8Smrg# Let make expand exec_prefix. 4702a99f82b8Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 4703a99f82b8Smrg 4704a99f82b8Smrg# Transform confdefs.h into DEFS. 4705a99f82b8Smrg# Protect against shell expansion while executing Makefile rules. 4706a99f82b8Smrg# Protect against Makefile macro expansion. 4707a99f82b8Smrg# 4708a99f82b8Smrg# If the first sed substitution is executed (which looks for macros that 47092d62a77cSmrg# take arguments), then branch to the quote section. Otherwise, 4710a99f82b8Smrg# look for a macro that doesn't take arguments. 47112d62a77cSmrgac_script=' 47122d62a77cSmrg:mline 47132d62a77cSmrg/\\$/{ 47142d62a77cSmrg N 47152d62a77cSmrg s,\\\n,, 47162d62a77cSmrg b mline 47172d62a77cSmrg} 4718a99f82b8Smrgt clear 47192d62a77cSmrg:clear 47202d62a77cSmrgs/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 4721a99f82b8Smrgt quote 47222d62a77cSmrgs/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 4723a99f82b8Smrgt quote 47242d62a77cSmrgb any 47252d62a77cSmrg:quote 47262d62a77cSmrgs/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 47272d62a77cSmrgs/\[/\\&/g 47282d62a77cSmrgs/\]/\\&/g 47292d62a77cSmrgs/\$/$$/g 47302d62a77cSmrgH 47312d62a77cSmrg:any 47322d62a77cSmrg${ 47332d62a77cSmrg g 47342d62a77cSmrg s/^\n// 47352d62a77cSmrg s/\n/ /g 47362d62a77cSmrg p 47372d62a77cSmrg} 47382d62a77cSmrg' 47392d62a77cSmrgDEFS=`sed -n "$ac_script" confdefs.h` 4740a99f82b8Smrg 4741a99f82b8Smrg 4742a99f82b8Smrgac_libobjs= 4743a99f82b8Smrgac_ltlibobjs= 47446d325d25SmrgU= 4745a99f82b8Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 4746a99f82b8Smrg # 1. Remove the extension, and $U if already installed. 47472d62a77cSmrg ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 47482d62a77cSmrg ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 47492d62a77cSmrg # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 47502d62a77cSmrg # will be set to the directory where LIBOBJS objects are built. 47516d325d25Smrg as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 47526d325d25Smrg as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 4753a99f82b8Smrgdone 4754a99f82b8SmrgLIBOBJS=$ac_libobjs 4755a99f82b8Smrg 4756a99f82b8SmrgLTLIBOBJS=$ac_ltlibobjs 4757a99f82b8Smrg 4758a99f82b8Smrg 47592d62a77cSmrg if test -n "$EXEEXT"; then 47602d62a77cSmrg am__EXEEXT_TRUE= 47612d62a77cSmrg am__EXEEXT_FALSE='#' 47622d62a77cSmrgelse 47632d62a77cSmrg am__EXEEXT_TRUE='#' 47642d62a77cSmrg am__EXEEXT_FALSE= 47652d62a77cSmrgfi 47662d62a77cSmrg 4767a99f82b8Smrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 47686d325d25Smrg as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 47696d325d25SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 47702d62a77cSmrgfi 47712d62a77cSmrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 47726d325d25Smrg as_fn_error $? "conditional \"AMDEP\" was never defined. 47736d325d25SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 47742d62a77cSmrgfi 47752d62a77cSmrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 47766d325d25Smrg as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 47776d325d25SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 4778a99f82b8Smrgfi 4779a99f82b8Smrg 47806d325d25Smrg: "${CONFIG_STATUS=./config.status}" 47812d62a77cSmrgac_write_fail=0 4782a99f82b8Smrgac_clean_files_save=$ac_clean_files 4783a99f82b8Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS" 47846d325d25Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 47852d62a77cSmrg$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 47866d325d25Smrgas_write_fail=0 47876d325d25Smrgcat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 4788a99f82b8Smrg#! $SHELL 4789a99f82b8Smrg# Generated by $as_me. 4790a99f82b8Smrg# Run this file to recreate the current configuration. 4791a99f82b8Smrg# Compiler output produced by configure, useful for debugging 4792a99f82b8Smrg# configure, is in config.log if it exists. 4793a99f82b8Smrg 4794a99f82b8Smrgdebug=false 4795a99f82b8Smrgac_cs_recheck=false 4796a99f82b8Smrgac_cs_silent=false 4797a99f82b8Smrg 47986d325d25SmrgSHELL=\${CONFIG_SHELL-$SHELL} 47996d325d25Smrgexport SHELL 48006d325d25Smrg_ASEOF 48016d325d25Smrgcat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 48026d325d25Smrg## -------------------- ## 48036d325d25Smrg## M4sh Initialization. ## 48046d325d25Smrg## -------------------- ## 4805a99f82b8Smrg 48062d62a77cSmrg# Be more Bourne compatible 48072d62a77cSmrgDUALCASE=1; export DUALCASE # for MKS sh 48086d325d25Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 4809a99f82b8Smrg emulate sh 4810a99f82b8Smrg NULLCMD=: 48112d62a77cSmrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 4812a99f82b8Smrg # is contrary to our usage. Disable this feature. 4813a99f82b8Smrg alias -g '${1+"$@"}'='"$@"' 48142d62a77cSmrg setopt NO_GLOB_SUBST 48152d62a77cSmrgelse 48166d325d25Smrg case `(set -o) 2>/dev/null` in #( 48176d325d25Smrg *posix*) : 48186d325d25Smrg set -o posix ;; #( 48196d325d25Smrg *) : 48206d325d25Smrg ;; 48212d62a77cSmrgesac 48222d62a77cSmrgfi 48232d62a77cSmrg 48242d62a77cSmrg 48252d62a77cSmrgas_nl=' 48262d62a77cSmrg' 48272d62a77cSmrgexport as_nl 48282d62a77cSmrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 48292d62a77cSmrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 48302d62a77cSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 48312d62a77cSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 48326d325d25Smrg# Prefer a ksh shell builtin over an external printf program on Solaris, 48336d325d25Smrg# but without wasting forks for bash or zsh. 48346d325d25Smrgif test -z "$BASH_VERSION$ZSH_VERSION" \ 48356d325d25Smrg && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 48366d325d25Smrg as_echo='print -r --' 48376d325d25Smrg as_echo_n='print -rn --' 48386d325d25Smrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48392d62a77cSmrg as_echo='printf %s\n' 48402d62a77cSmrg as_echo_n='printf %s' 48412d62a77cSmrgelse 48422d62a77cSmrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 48432d62a77cSmrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 48442d62a77cSmrg as_echo_n='/usr/ucb/echo -n' 48452d62a77cSmrg else 48462d62a77cSmrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 48472d62a77cSmrg as_echo_n_body='eval 48482d62a77cSmrg arg=$1; 48496d325d25Smrg case $arg in #( 48502d62a77cSmrg *"$as_nl"*) 48512d62a77cSmrg expr "X$arg" : "X\\(.*\\)$as_nl"; 48522d62a77cSmrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 48532d62a77cSmrg esac; 48542d62a77cSmrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 48552d62a77cSmrg ' 48562d62a77cSmrg export as_echo_n_body 48572d62a77cSmrg as_echo_n='sh -c $as_echo_n_body as_echo' 48582d62a77cSmrg fi 48592d62a77cSmrg export as_echo_body 48602d62a77cSmrg as_echo='sh -c $as_echo_body as_echo' 48612d62a77cSmrgfi 48622d62a77cSmrg 48632d62a77cSmrg# The user is always right. 48642d62a77cSmrgif test "${PATH_SEPARATOR+set}" != set; then 48652d62a77cSmrg PATH_SEPARATOR=: 48662d62a77cSmrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 48672d62a77cSmrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 48682d62a77cSmrg PATH_SEPARATOR=';' 48692d62a77cSmrg } 4870a99f82b8Smrgfi 4871a99f82b8Smrg 4872a99f82b8Smrg 48732d62a77cSmrg# IFS 48742d62a77cSmrg# We need space, tab and new line, in precisely that order. Quoting is 48752d62a77cSmrg# there to prevent editors from complaining about space-tab. 48762d62a77cSmrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 48772d62a77cSmrg# splitting by setting IFS to empty value.) 48782d62a77cSmrgIFS=" "" $as_nl" 48792d62a77cSmrg 48802d62a77cSmrg# Find who we are. Look in the path if we contain no directory separator. 48816d325d25Smrgas_myself= 48826d325d25Smrgcase $0 in #(( 48832d62a77cSmrg *[\\/]* ) as_myself=$0 ;; 48842d62a77cSmrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 48852d62a77cSmrgfor as_dir in $PATH 48862d62a77cSmrgdo 48872d62a77cSmrg IFS=$as_save_IFS 48882d62a77cSmrg test -z "$as_dir" && as_dir=. 48896d325d25Smrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 48906d325d25Smrg done 48912d62a77cSmrgIFS=$as_save_IFS 48922d62a77cSmrg 48932d62a77cSmrg ;; 48942d62a77cSmrgesac 48952d62a77cSmrg# We did not find ourselves, most probably we were run as `sh COMMAND' 48962d62a77cSmrg# in which case we are not to be found in the path. 48972d62a77cSmrgif test "x$as_myself" = x; then 48982d62a77cSmrg as_myself=$0 48992d62a77cSmrgfi 49002d62a77cSmrgif test ! -f "$as_myself"; then 49012d62a77cSmrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 49026d325d25Smrg exit 1 49032d62a77cSmrgfi 49042d62a77cSmrg 49056d325d25Smrg# Unset variables that we do not need and which cause bugs (e.g. in 49066d325d25Smrg# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 49076d325d25Smrg# suppresses any "Segmentation fault" message there. '((' could 49086d325d25Smrg# trigger a bug in pdksh 5.2.14. 49096d325d25Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH 49106d325d25Smrgdo eval test x\${$as_var+set} = xset \ 49116d325d25Smrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 49122d62a77cSmrgdone 4913a99f82b8SmrgPS1='$ ' 4914a99f82b8SmrgPS2='> ' 4915a99f82b8SmrgPS4='+ ' 4916a99f82b8Smrg 4917a99f82b8Smrg# NLS nuisances. 49182d62a77cSmrgLC_ALL=C 49192d62a77cSmrgexport LC_ALL 49202d62a77cSmrgLANGUAGE=C 49212d62a77cSmrgexport LANGUAGE 4922a99f82b8Smrg 49236d325d25Smrg# CDPATH. 49246d325d25Smrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 49256d325d25Smrg 49266d325d25Smrg 49276d325d25Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 49286d325d25Smrg# ---------------------------------------- 49296d325d25Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 49306d325d25Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 49316d325d25Smrg# script with STATUS, using 1 if that was 0. 49326d325d25Smrgas_fn_error () 49336d325d25Smrg{ 49346d325d25Smrg as_status=$1; test $as_status -eq 0 && as_status=1 49356d325d25Smrg if test "$4"; then 49366d325d25Smrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 49376d325d25Smrg $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 49386d325d25Smrg fi 49396d325d25Smrg $as_echo "$as_me: error: $2" >&2 49406d325d25Smrg as_fn_exit $as_status 49416d325d25Smrg} # as_fn_error 49426d325d25Smrg 49436d325d25Smrg 49446d325d25Smrg# as_fn_set_status STATUS 49456d325d25Smrg# ----------------------- 49466d325d25Smrg# Set $? to STATUS, without forking. 49476d325d25Smrgas_fn_set_status () 49486d325d25Smrg{ 49496d325d25Smrg return $1 49506d325d25Smrg} # as_fn_set_status 49516d325d25Smrg 49526d325d25Smrg# as_fn_exit STATUS 49536d325d25Smrg# ----------------- 49546d325d25Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 49556d325d25Smrgas_fn_exit () 49566d325d25Smrg{ 49576d325d25Smrg set +e 49586d325d25Smrg as_fn_set_status $1 49596d325d25Smrg exit $1 49606d325d25Smrg} # as_fn_exit 49616d325d25Smrg 49626d325d25Smrg# as_fn_unset VAR 49636d325d25Smrg# --------------- 49646d325d25Smrg# Portably unset VAR. 49656d325d25Smrgas_fn_unset () 49666d325d25Smrg{ 49676d325d25Smrg { eval $1=; unset $1;} 49686d325d25Smrg} 49696d325d25Smrgas_unset=as_fn_unset 49706d325d25Smrg# as_fn_append VAR VALUE 49716d325d25Smrg# ---------------------- 49726d325d25Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take 49736d325d25Smrg# advantage of any shell optimizations that allow amortized linear growth over 49746d325d25Smrg# repeated appends, instead of the typical quadratic growth present in naive 49756d325d25Smrg# implementations. 49766d325d25Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 49776d325d25Smrg eval 'as_fn_append () 49786d325d25Smrg { 49796d325d25Smrg eval $1+=\$2 49806d325d25Smrg }' 49816d325d25Smrgelse 49826d325d25Smrg as_fn_append () 49836d325d25Smrg { 49846d325d25Smrg eval $1=\$$1\$2 49856d325d25Smrg } 49866d325d25Smrgfi # as_fn_append 49876d325d25Smrg 49886d325d25Smrg# as_fn_arith ARG... 49896d325d25Smrg# ------------------ 49906d325d25Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the 49916d325d25Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 49926d325d25Smrg# must be portable across $(()) and expr. 49936d325d25Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 49946d325d25Smrg eval 'as_fn_arith () 49956d325d25Smrg { 49966d325d25Smrg as_val=$(( $* )) 49976d325d25Smrg }' 49986d325d25Smrgelse 49996d325d25Smrg as_fn_arith () 50006d325d25Smrg { 50016d325d25Smrg as_val=`expr "$@" || test $? -eq 1` 50026d325d25Smrg } 50036d325d25Smrgfi # as_fn_arith 50046d325d25Smrg 50056d325d25Smrg 50062d62a77cSmrgif expr a : '\(a\)' >/dev/null 2>&1 && 50072d62a77cSmrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 5008a99f82b8Smrg as_expr=expr 5009a99f82b8Smrgelse 5010a99f82b8Smrg as_expr=false 5011a99f82b8Smrgfi 5012a99f82b8Smrg 50132d62a77cSmrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 5014a99f82b8Smrg as_basename=basename 5015a99f82b8Smrgelse 5016a99f82b8Smrg as_basename=false 5017a99f82b8Smrgfi 5018a99f82b8Smrg 50196d325d25Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 50206d325d25Smrg as_dirname=dirname 50216d325d25Smrgelse 50226d325d25Smrg as_dirname=false 50236d325d25Smrgfi 5024a99f82b8Smrg 50252d62a77cSmrgas_me=`$as_basename -- "$0" || 5026a99f82b8Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 5027a99f82b8Smrg X"$0" : 'X\(//\)$' \| \ 50282d62a77cSmrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 50292d62a77cSmrg$as_echo X/"$0" | 50302d62a77cSmrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 50312d62a77cSmrg s//\1/ 50322d62a77cSmrg q 50332d62a77cSmrg } 50342d62a77cSmrg /^X\/\(\/\/\)$/{ 50352d62a77cSmrg s//\1/ 50362d62a77cSmrg q 50372d62a77cSmrg } 50382d62a77cSmrg /^X\/\(\/\).*/{ 50392d62a77cSmrg s//\1/ 50402d62a77cSmrg q 50412d62a77cSmrg } 50422d62a77cSmrg s/.*/./; q'` 5043a99f82b8Smrg 50446d325d25Smrg# Avoid depending upon Character Ranges. 50456d325d25Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 50466d325d25Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 50476d325d25Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 50486d325d25Smrgas_cr_digits='0123456789' 50496d325d25Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 5050a99f82b8Smrg 50512d62a77cSmrgECHO_C= ECHO_N= ECHO_T= 50526d325d25Smrgcase `echo -n x` in #((((( 50532d62a77cSmrg-n*) 50546d325d25Smrg case `echo 'xy\c'` in 50552d62a77cSmrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 50566d325d25Smrg xy) ECHO_C='\c';; 50576d325d25Smrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 50586d325d25Smrg ECHO_T=' ';; 50592d62a77cSmrg esac;; 50602d62a77cSmrg*) 50612d62a77cSmrg ECHO_N='-n';; 50622d62a77cSmrgesac 5063a99f82b8Smrg 5064a99f82b8Smrgrm -f conf$$ conf$$.exe conf$$.file 50652d62a77cSmrgif test -d conf$$.dir; then 50662d62a77cSmrg rm -f conf$$.dir/conf$$.file 50672d62a77cSmrgelse 50682d62a77cSmrg rm -f conf$$.dir 50692d62a77cSmrg mkdir conf$$.dir 2>/dev/null 50702d62a77cSmrgfi 50712d62a77cSmrgif (echo >conf$$.file) 2>/dev/null; then 50722d62a77cSmrg if ln -s conf$$.file conf$$ 2>/dev/null; then 5073a99f82b8Smrg as_ln_s='ln -s' 50742d62a77cSmrg # ... but there are two gotchas: 50752d62a77cSmrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 50762d62a77cSmrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 50772d62a77cSmrg # In both cases, we have to default to `cp -p'. 50782d62a77cSmrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 50792d62a77cSmrg as_ln_s='cp -p' 50802d62a77cSmrg elif ln conf$$.file conf$$ 2>/dev/null; then 50812d62a77cSmrg as_ln_s=ln 50822d62a77cSmrg else 50832d62a77cSmrg as_ln_s='cp -p' 5084a99f82b8Smrg fi 5085a99f82b8Smrgelse 5086a99f82b8Smrg as_ln_s='cp -p' 5087a99f82b8Smrgfi 50882d62a77cSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 50892d62a77cSmrgrmdir conf$$.dir 2>/dev/null 5090a99f82b8Smrg 50916d325d25Smrg 50926d325d25Smrg# as_fn_mkdir_p 50936d325d25Smrg# ------------- 50946d325d25Smrg# Create "$as_dir" as a directory, including parents if necessary. 50956d325d25Smrgas_fn_mkdir_p () 50966d325d25Smrg{ 50976d325d25Smrg 50986d325d25Smrg case $as_dir in #( 50996d325d25Smrg -*) as_dir=./$as_dir;; 51006d325d25Smrg esac 51016d325d25Smrg test -d "$as_dir" || eval $as_mkdir_p || { 51026d325d25Smrg as_dirs= 51036d325d25Smrg while :; do 51046d325d25Smrg case $as_dir in #( 51056d325d25Smrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 51066d325d25Smrg *) as_qdir=$as_dir;; 51076d325d25Smrg esac 51086d325d25Smrg as_dirs="'$as_qdir' $as_dirs" 51096d325d25Smrg as_dir=`$as_dirname -- "$as_dir" || 51106d325d25Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 51116d325d25Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 51126d325d25Smrg X"$as_dir" : 'X\(//\)$' \| \ 51136d325d25Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 51146d325d25Smrg$as_echo X"$as_dir" | 51156d325d25Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 51166d325d25Smrg s//\1/ 51176d325d25Smrg q 51186d325d25Smrg } 51196d325d25Smrg /^X\(\/\/\)[^/].*/{ 51206d325d25Smrg s//\1/ 51216d325d25Smrg q 51226d325d25Smrg } 51236d325d25Smrg /^X\(\/\/\)$/{ 51246d325d25Smrg s//\1/ 51256d325d25Smrg q 51266d325d25Smrg } 51276d325d25Smrg /^X\(\/\).*/{ 51286d325d25Smrg s//\1/ 51296d325d25Smrg q 51306d325d25Smrg } 51316d325d25Smrg s/.*/./; q'` 51326d325d25Smrg test -d "$as_dir" && break 51336d325d25Smrg done 51346d325d25Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 51356d325d25Smrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 51366d325d25Smrg 51376d325d25Smrg 51386d325d25Smrg} # as_fn_mkdir_p 5139a99f82b8Smrgif mkdir -p . 2>/dev/null; then 51406d325d25Smrg as_mkdir_p='mkdir -p "$as_dir"' 5141a99f82b8Smrgelse 5142a99f82b8Smrg test -d ./-p && rmdir ./-p 5143a99f82b8Smrg as_mkdir_p=false 5144a99f82b8Smrgfi 5145a99f82b8Smrg 51462d62a77cSmrgif test -x / >/dev/null 2>&1; then 51472d62a77cSmrg as_test_x='test -x' 51482d62a77cSmrgelse 51492d62a77cSmrg if ls -dL / >/dev/null 2>&1; then 51502d62a77cSmrg as_ls_L_option=L 51512d62a77cSmrg else 51522d62a77cSmrg as_ls_L_option= 51532d62a77cSmrg fi 51542d62a77cSmrg as_test_x=' 51552d62a77cSmrg eval sh -c '\'' 51562d62a77cSmrg if test -d "$1"; then 51572d62a77cSmrg test -d "$1/."; 51582d62a77cSmrg else 51596d325d25Smrg case $1 in #( 51602d62a77cSmrg -*)set "./$1";; 51612d62a77cSmrg esac; 51626d325d25Smrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 51632d62a77cSmrg ???[sx]*):;;*)false;;esac;fi 51642d62a77cSmrg '\'' sh 51652d62a77cSmrg ' 51662d62a77cSmrgfi 51672d62a77cSmrgas_executable_p=$as_test_x 5168a99f82b8Smrg 5169a99f82b8Smrg# Sed expression to map a string onto a valid CPP name. 5170a99f82b8Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5171a99f82b8Smrg 5172a99f82b8Smrg# Sed expression to map a string onto a valid variable name. 5173a99f82b8Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5174a99f82b8Smrg 5175a99f82b8Smrg 5176a99f82b8Smrgexec 6>&1 51776d325d25Smrg## ----------------------------------- ## 51786d325d25Smrg## Main body of $CONFIG_STATUS script. ## 51796d325d25Smrg## ----------------------------------- ## 51806d325d25Smrg_ASEOF 51816d325d25Smrgtest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 5182a99f82b8Smrg 51836d325d25Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 51846d325d25Smrg# Save the log message, to keep $0 and so on meaningful, and to 5185a99f82b8Smrg# report actual input values of CONFIG_FILES etc. instead of their 51862d62a77cSmrg# values after options handling. 51872d62a77cSmrgac_log=" 51886d325d25SmrgThis file was extended by font-alias $as_me 1.0.3, which was 51896d325d25Smrggenerated by GNU Autoconf 2.68. Invocation command line was 5190a99f82b8Smrg 5191a99f82b8Smrg CONFIG_FILES = $CONFIG_FILES 5192a99f82b8Smrg CONFIG_HEADERS = $CONFIG_HEADERS 5193a99f82b8Smrg CONFIG_LINKS = $CONFIG_LINKS 5194a99f82b8Smrg CONFIG_COMMANDS = $CONFIG_COMMANDS 5195a99f82b8Smrg $ $0 $@ 5196a99f82b8Smrg 51972d62a77cSmrgon `(hostname || uname -n) 2>/dev/null | sed 1q` 51982d62a77cSmrg" 51992d62a77cSmrg 5200a99f82b8Smrg_ACEOF 5201a99f82b8Smrg 52022d62a77cSmrgcase $ac_config_files in *" 52032d62a77cSmrg"*) set x $ac_config_files; shift; ac_config_files=$*;; 52042d62a77cSmrgesac 5205a99f82b8Smrg 5206a99f82b8Smrg 5207a99f82b8Smrg 52082d62a77cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 52092d62a77cSmrg# Files that config.status was made for. 52102d62a77cSmrgconfig_files="$ac_config_files" 52112d62a77cSmrgconfig_commands="$ac_config_commands" 5212a99f82b8Smrg 52132d62a77cSmrg_ACEOF 5214a99f82b8Smrg 52152d62a77cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5216a99f82b8Smrgac_cs_usage="\ 52176d325d25Smrg\`$as_me' instantiates files and other configuration actions 52186d325d25Smrgfrom templates according to the current configuration. Unless the files 52196d325d25Smrgand actions are specified as TAGs, all are instantiated by default. 5220a99f82b8Smrg 52216d325d25SmrgUsage: $0 [OPTION]... [TAG]... 5222a99f82b8Smrg 5223a99f82b8Smrg -h, --help print this help, then exit 52242d62a77cSmrg -V, --version print version number and configuration settings, then exit 52256d325d25Smrg --config print configuration, then exit 52262d62a77cSmrg -q, --quiet, --silent 52272d62a77cSmrg do not print progress messages 5228a99f82b8Smrg -d, --debug don't remove temporary files 5229a99f82b8Smrg --recheck update $as_me by reconfiguring in the same conditions 52302d62a77cSmrg --file=FILE[:TEMPLATE] 52312d62a77cSmrg instantiate the configuration file FILE 5232a99f82b8Smrg 5233a99f82b8SmrgConfiguration files: 5234a99f82b8Smrg$config_files 5235a99f82b8Smrg 52362d62a77cSmrgConfiguration commands: 52372d62a77cSmrg$config_commands 52382d62a77cSmrg 52396d325d25SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>." 5240a99f82b8Smrg 52412d62a77cSmrg_ACEOF 52422d62a77cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 52436d325d25Smrgac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 5244a99f82b8Smrgac_cs_version="\\ 52456d325d25Smrgfont-alias config.status 1.0.3 52466d325d25Smrgconfigured by $0, generated by GNU Autoconf 2.68, 52476d325d25Smrg with options \\"\$ac_cs_config\\" 5248a99f82b8Smrg 52496d325d25SmrgCopyright (C) 2010 Free Software Foundation, Inc. 5250a99f82b8SmrgThis config.status script is free software; the Free Software Foundation 5251a99f82b8Smrggives unlimited permission to copy, distribute and modify it." 52522d62a77cSmrg 52532d62a77cSmrgac_pwd='$ac_pwd' 52542d62a77cSmrgsrcdir='$srcdir' 52552d62a77cSmrgINSTALL='$INSTALL' 52562d62a77cSmrgMKDIR_P='$MKDIR_P' 52572d62a77cSmrgAWK='$AWK' 52582d62a77cSmrgtest -n "\$AWK" || AWK=awk 5259a99f82b8Smrg_ACEOF 5260a99f82b8Smrg 52612d62a77cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 52622d62a77cSmrg# The default lists apply if the user does not specify any file. 5263a99f82b8Smrgac_need_defaults=: 5264a99f82b8Smrgwhile test $# != 0 5265a99f82b8Smrgdo 5266a99f82b8Smrg case $1 in 52676d325d25Smrg --*=?*) 52682d62a77cSmrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 52692d62a77cSmrg ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 5270a99f82b8Smrg ac_shift=: 5271a99f82b8Smrg ;; 52726d325d25Smrg --*=) 52736d325d25Smrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 52746d325d25Smrg ac_optarg= 52756d325d25Smrg ac_shift=: 52766d325d25Smrg ;; 52772d62a77cSmrg *) 5278a99f82b8Smrg ac_option=$1 5279a99f82b8Smrg ac_optarg=$2 5280a99f82b8Smrg ac_shift=shift 5281a99f82b8Smrg ;; 5282a99f82b8Smrg esac 5283a99f82b8Smrg 5284a99f82b8Smrg case $ac_option in 5285a99f82b8Smrg # Handling of the options. 5286a99f82b8Smrg -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 5287a99f82b8Smrg ac_cs_recheck=: ;; 52882d62a77cSmrg --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 52892d62a77cSmrg $as_echo "$ac_cs_version"; exit ;; 52906d325d25Smrg --config | --confi | --conf | --con | --co | --c ) 52916d325d25Smrg $as_echo "$ac_cs_config"; exit ;; 52922d62a77cSmrg --debug | --debu | --deb | --de | --d | -d ) 5293a99f82b8Smrg debug=: ;; 5294a99f82b8Smrg --file | --fil | --fi | --f ) 5295a99f82b8Smrg $ac_shift 52962d62a77cSmrg case $ac_optarg in 52972d62a77cSmrg *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 52986d325d25Smrg '') as_fn_error $? "missing file argument" ;; 52992d62a77cSmrg esac 53006d325d25Smrg as_fn_append CONFIG_FILES " '$ac_optarg'" 5301a99f82b8Smrg ac_need_defaults=false;; 53022d62a77cSmrg --he | --h | --help | --hel | -h ) 53032d62a77cSmrg $as_echo "$ac_cs_usage"; exit ;; 5304a99f82b8Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 5305a99f82b8Smrg | -silent | --silent | --silen | --sile | --sil | --si | --s) 5306a99f82b8Smrg ac_cs_silent=: ;; 5307a99f82b8Smrg 5308a99f82b8Smrg # This is an error. 53096d325d25Smrg -*) as_fn_error $? "unrecognized option: \`$1' 53106d325d25SmrgTry \`$0 --help' for more information." ;; 5311a99f82b8Smrg 53126d325d25Smrg *) as_fn_append ac_config_targets " $1" 53132d62a77cSmrg ac_need_defaults=false ;; 5314a99f82b8Smrg 5315a99f82b8Smrg esac 5316a99f82b8Smrg shift 5317a99f82b8Smrgdone 5318a99f82b8Smrg 5319a99f82b8Smrgac_configure_extra_args= 5320a99f82b8Smrg 5321a99f82b8Smrgif $ac_cs_silent; then 5322a99f82b8Smrg exec 6>/dev/null 5323a99f82b8Smrg ac_configure_extra_args="$ac_configure_extra_args --silent" 5324a99f82b8Smrgfi 5325a99f82b8Smrg 5326a99f82b8Smrg_ACEOF 53272d62a77cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5328a99f82b8Smrgif \$ac_cs_recheck; then 53292d62a77cSmrg set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 53302d62a77cSmrg shift 53312d62a77cSmrg \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 53322d62a77cSmrg CONFIG_SHELL='$SHELL' 53332d62a77cSmrg export CONFIG_SHELL 53342d62a77cSmrg exec "\$@" 5335a99f82b8Smrgfi 5336a99f82b8Smrg 5337a99f82b8Smrg_ACEOF 53382d62a77cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 53392d62a77cSmrgexec 5>>config.log 53402d62a77cSmrg{ 53412d62a77cSmrg echo 53422d62a77cSmrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 53432d62a77cSmrg## Running $as_me. ## 53442d62a77cSmrg_ASBOX 53452d62a77cSmrg $as_echo "$ac_log" 53462d62a77cSmrg} >&5 5347a99f82b8Smrg 53482d62a77cSmrg_ACEOF 53492d62a77cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 53502d62a77cSmrg# 53512d62a77cSmrg# INIT-COMMANDS 53522d62a77cSmrg# 53532d62a77cSmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 5354a99f82b8Smrg 53552d62a77cSmrg_ACEOF 5356a99f82b8Smrg 53572d62a77cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5358a99f82b8Smrg 53592d62a77cSmrg# Handling of arguments. 5360a99f82b8Smrgfor ac_config_target in $ac_config_targets 5361a99f82b8Smrgdo 53622d62a77cSmrg case $ac_config_target in 53632d62a77cSmrg "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 53642d62a77cSmrg "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 53652d62a77cSmrg "100dpi/Makefile") CONFIG_FILES="$CONFIG_FILES 100dpi/Makefile" ;; 53662d62a77cSmrg "75dpi/Makefile") CONFIG_FILES="$CONFIG_FILES 75dpi/Makefile" ;; 53672d62a77cSmrg "cyrillic/Makefile") CONFIG_FILES="$CONFIG_FILES cyrillic/Makefile" ;; 53682d62a77cSmrg "misc/Makefile") CONFIG_FILES="$CONFIG_FILES misc/Makefile" ;; 53692d62a77cSmrg 53706d325d25Smrg *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 5371a99f82b8Smrg esac 5372a99f82b8Smrgdone 5373a99f82b8Smrg 53742d62a77cSmrg 5375a99f82b8Smrg# If the user did not use the arguments to specify the items to instantiate, 5376a99f82b8Smrg# then the envvar interface is used. Set only those that are not. 5377a99f82b8Smrg# We use the long form for the default assignment because of an extremely 5378a99f82b8Smrg# bizarre bug on SunOS 4.1.3. 5379a99f82b8Smrgif $ac_need_defaults; then 5380a99f82b8Smrg test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 53812d62a77cSmrg test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 5382a99f82b8Smrgfi 5383a99f82b8Smrg 5384a99f82b8Smrg# Have a temporary directory for convenience. Make it in the build tree 53852d62a77cSmrg# simply because there is no reason against having it here, and in addition, 5386a99f82b8Smrg# creating and moving files from /tmp can sometimes cause problems. 53872d62a77cSmrg# Hook for its removal unless debugging. 53882d62a77cSmrg# Note that there is a small window in which the directory will not be cleaned: 53892d62a77cSmrg# after its creation but before its name has been assigned to `$tmp'. 5390a99f82b8Smrg$debug || 5391a99f82b8Smrg{ 53926d325d25Smrg tmp= ac_tmp= 53932d62a77cSmrg trap 'exit_status=$? 53946d325d25Smrg : "${ac_tmp:=$tmp}" 53956d325d25Smrg { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 53962d62a77cSmrg' 0 53976d325d25Smrg trap 'as_fn_exit 1' 1 2 13 15 5398a99f82b8Smrg} 5399a99f82b8Smrg# Create a (secure) tmp directory for tmp files. 5400a99f82b8Smrg 5401a99f82b8Smrg{ 54022d62a77cSmrg tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 54036d325d25Smrg test -d "$tmp" 5404a99f82b8Smrg} || 5405a99f82b8Smrg{ 54062d62a77cSmrg tmp=./conf$$-$RANDOM 54072d62a77cSmrg (umask 077 && mkdir "$tmp") 54086d325d25Smrg} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 54096d325d25Smrgac_tmp=$tmp 5410a99f82b8Smrg 54112d62a77cSmrg# Set up the scripts for CONFIG_FILES section. 54122d62a77cSmrg# No need to generate them if there are no CONFIG_FILES. 54132d62a77cSmrg# This happens for instance with `./config.status config.h'. 54142d62a77cSmrgif test -n "$CONFIG_FILES"; then 54152d62a77cSmrg 54162d62a77cSmrg 54176d325d25Smrgac_cr=`echo X | tr X '\015'` 54186d325d25Smrg# On cygwin, bash can eat \r inside `` if the user requested igncr. 54196d325d25Smrg# But we know of no other shell where ac_cr would be empty at this 54206d325d25Smrg# point, so we can use a bashism as a fallback. 54216d325d25Smrgif test "x$ac_cr" = x; then 54226d325d25Smrg eval ac_cr=\$\'\\r\' 54236d325d25Smrgfi 54242d62a77cSmrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 54252d62a77cSmrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 54262d62a77cSmrg ac_cs_awk_cr='\\r' 54272d62a77cSmrgelse 54282d62a77cSmrg ac_cs_awk_cr=$ac_cr 54292d62a77cSmrgfi 54302d62a77cSmrg 54316d325d25Smrgecho 'BEGIN {' >"$ac_tmp/subs1.awk" && 5432a99f82b8Smrg_ACEOF 5433a99f82b8Smrg 5434a99f82b8Smrg 54352d62a77cSmrg{ 54362d62a77cSmrg echo "cat >conf$$subs.awk <<_ACEOF" && 54372d62a77cSmrg echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 54382d62a77cSmrg echo "_ACEOF" 54392d62a77cSmrg} >conf$$subs.sh || 54406d325d25Smrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 54416d325d25Smrgac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 54422d62a77cSmrgac_delim='%!_!# ' 54432d62a77cSmrgfor ac_last_try in false false false false false :; do 54442d62a77cSmrg . ./conf$$subs.sh || 54456d325d25Smrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5446a99f82b8Smrg 54472d62a77cSmrg ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 54482d62a77cSmrg if test $ac_delim_n = $ac_delim_num; then 54492d62a77cSmrg break 54502d62a77cSmrg elif $ac_last_try; then 54516d325d25Smrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 54522d62a77cSmrg else 54532d62a77cSmrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 5454a99f82b8Smrg fi 54552d62a77cSmrgdone 54562d62a77cSmrgrm -f conf$$subs.sh 5457a99f82b8Smrg 54582d62a77cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 54596d325d25Smrgcat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 5460a99f82b8Smrg_ACEOF 54612d62a77cSmrgsed -n ' 54622d62a77cSmrgh 54632d62a77cSmrgs/^/S["/; s/!.*/"]=/ 54642d62a77cSmrgp 54652d62a77cSmrgg 54662d62a77cSmrgs/^[^!]*!// 54672d62a77cSmrg:repl 54682d62a77cSmrgt repl 54692d62a77cSmrgs/'"$ac_delim"'$// 54702d62a77cSmrgt delim 54712d62a77cSmrg:nl 54722d62a77cSmrgh 54736d325d25Smrgs/\(.\{148\}\)..*/\1/ 54742d62a77cSmrgt more1 54752d62a77cSmrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 54762d62a77cSmrgp 54772d62a77cSmrgn 54782d62a77cSmrgb repl 54792d62a77cSmrg:more1 54802d62a77cSmrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 54812d62a77cSmrgp 54822d62a77cSmrgg 54832d62a77cSmrgs/.\{148\}// 54842d62a77cSmrgt nl 54852d62a77cSmrg:delim 54862d62a77cSmrgh 54876d325d25Smrgs/\(.\{148\}\)..*/\1/ 54882d62a77cSmrgt more2 54892d62a77cSmrgs/["\\]/\\&/g; s/^/"/; s/$/"/ 54902d62a77cSmrgp 54912d62a77cSmrgb 54922d62a77cSmrg:more2 54932d62a77cSmrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 54942d62a77cSmrgp 54952d62a77cSmrgg 54962d62a77cSmrgs/.\{148\}// 54972d62a77cSmrgt delim 54982d62a77cSmrg' <conf$$subs.awk | sed ' 54992d62a77cSmrg/^[^""]/{ 55002d62a77cSmrg N 55012d62a77cSmrg s/\n// 55022d62a77cSmrg} 55032d62a77cSmrg' >>$CONFIG_STATUS || ac_write_fail=1 55042d62a77cSmrgrm -f conf$$subs.awk 55052d62a77cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 55062d62a77cSmrg_ACAWK 55076d325d25Smrgcat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 55082d62a77cSmrg for (key in S) S_is_set[key] = 1 55092d62a77cSmrg FS = "" 55102d62a77cSmrg 55112d62a77cSmrg} 55122d62a77cSmrg{ 55132d62a77cSmrg line = $ 0 55142d62a77cSmrg nfields = split(line, field, "@") 55152d62a77cSmrg substed = 0 55162d62a77cSmrg len = length(field[1]) 55172d62a77cSmrg for (i = 2; i < nfields; i++) { 55182d62a77cSmrg key = field[i] 55192d62a77cSmrg keylen = length(key) 55202d62a77cSmrg if (S_is_set[key]) { 55212d62a77cSmrg value = S[key] 55222d62a77cSmrg line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 55232d62a77cSmrg len += length(value) + length(field[++i]) 55242d62a77cSmrg substed = 1 55252d62a77cSmrg } else 55262d62a77cSmrg len += 1 + keylen 55272d62a77cSmrg } 55282d62a77cSmrg 55292d62a77cSmrg print line 55302d62a77cSmrg} 55312d62a77cSmrg 55322d62a77cSmrg_ACAWK 55332d62a77cSmrg_ACEOF 55342d62a77cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 55352d62a77cSmrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 55362d62a77cSmrg sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 55372d62a77cSmrgelse 55382d62a77cSmrg cat 55396d325d25Smrgfi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 55406d325d25Smrg || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 55412d62a77cSmrg_ACEOF 55422d62a77cSmrg 55436d325d25Smrg# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 55446d325d25Smrg# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 55452d62a77cSmrg# trailing colons and then remove the whole line if VPATH becomes empty 55462d62a77cSmrg# (actually we leave an empty line to preserve line numbers). 55472d62a77cSmrgif test "x$srcdir" = x.; then 55486d325d25Smrg ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 55496d325d25Smrgh 55506d325d25Smrgs/// 55516d325d25Smrgs/^/:/ 55526d325d25Smrgs/[ ]*$/:/ 55536d325d25Smrgs/:\$(srcdir):/:/g 55546d325d25Smrgs/:\${srcdir}:/:/g 55556d325d25Smrgs/:@srcdir@:/:/g 55566d325d25Smrgs/^:*// 55572d62a77cSmrgs/:*$// 55586d325d25Smrgx 55596d325d25Smrgs/\(=[ ]*\).*/\1/ 55606d325d25SmrgG 55616d325d25Smrgs/\n// 55622d62a77cSmrgs/^[^=]*=[ ]*$// 55632d62a77cSmrg}' 55642d62a77cSmrgfi 55652d62a77cSmrg 55662d62a77cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 55672d62a77cSmrgfi # test -n "$CONFIG_FILES" 55682d62a77cSmrg 55692d62a77cSmrg 55702d62a77cSmrgeval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" 55712d62a77cSmrgshift 55722d62a77cSmrgfor ac_tag 55732d62a77cSmrgdo 55742d62a77cSmrg case $ac_tag in 55752d62a77cSmrg :[FHLC]) ac_mode=$ac_tag; continue;; 55762d62a77cSmrg esac 55772d62a77cSmrg case $ac_mode$ac_tag in 55782d62a77cSmrg :[FHL]*:*);; 55796d325d25Smrg :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 55802d62a77cSmrg :[FH]-) ac_tag=-:-;; 55812d62a77cSmrg :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 55822d62a77cSmrg esac 55832d62a77cSmrg ac_save_IFS=$IFS 55842d62a77cSmrg IFS=: 55852d62a77cSmrg set x $ac_tag 55862d62a77cSmrg IFS=$ac_save_IFS 55872d62a77cSmrg shift 55882d62a77cSmrg ac_file=$1 55892d62a77cSmrg shift 55902d62a77cSmrg 55912d62a77cSmrg case $ac_mode in 55922d62a77cSmrg :L) ac_source=$1;; 55932d62a77cSmrg :[FH]) 55942d62a77cSmrg ac_file_inputs= 55952d62a77cSmrg for ac_f 55962d62a77cSmrg do 55972d62a77cSmrg case $ac_f in 55986d325d25Smrg -) ac_f="$ac_tmp/stdin";; 55992d62a77cSmrg *) # Look for the file first in the build tree, then in the source tree 56002d62a77cSmrg # (if the path is not absolute). The absolute path cannot be DOS-style, 56012d62a77cSmrg # because $ac_f cannot contain `:'. 56022d62a77cSmrg test -f "$ac_f" || 56032d62a77cSmrg case $ac_f in 56042d62a77cSmrg [\\/$]*) false;; 56052d62a77cSmrg *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 56062d62a77cSmrg esac || 56076d325d25Smrg as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 56082d62a77cSmrg esac 56092d62a77cSmrg case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 56106d325d25Smrg as_fn_append ac_file_inputs " '$ac_f'" 56112d62a77cSmrg done 56122d62a77cSmrg 56132d62a77cSmrg # Let's still pretend it is `configure' which instantiates (i.e., don't 56142d62a77cSmrg # use $as_me), people would be surprised to read: 56152d62a77cSmrg # /* config.h. Generated by config.status. */ 56162d62a77cSmrg configure_input='Generated from '` 56172d62a77cSmrg $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 56182d62a77cSmrg `' by configure.' 56192d62a77cSmrg if test x"$ac_file" != x-; then 56202d62a77cSmrg configure_input="$ac_file. $configure_input" 56216d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 56222d62a77cSmrg$as_echo "$as_me: creating $ac_file" >&6;} 56232d62a77cSmrg fi 56242d62a77cSmrg # Neutralize special characters interpreted by sed in replacement strings. 56252d62a77cSmrg case $configure_input in #( 56262d62a77cSmrg *\&* | *\|* | *\\* ) 56272d62a77cSmrg ac_sed_conf_input=`$as_echo "$configure_input" | 56282d62a77cSmrg sed 's/[\\\\&|]/\\\\&/g'`;; #( 56292d62a77cSmrg *) ac_sed_conf_input=$configure_input;; 56302d62a77cSmrg esac 56312d62a77cSmrg 56322d62a77cSmrg case $ac_tag in 56336d325d25Smrg *:-:* | *:-) cat >"$ac_tmp/stdin" \ 56346d325d25Smrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 56352d62a77cSmrg esac 56362d62a77cSmrg ;; 5637a99f82b8Smrg esac 5638a99f82b8Smrg 56392d62a77cSmrg ac_dir=`$as_dirname -- "$ac_file" || 5640a99f82b8Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5641a99f82b8Smrg X"$ac_file" : 'X\(//\)[^/]' \| \ 5642a99f82b8Smrg X"$ac_file" : 'X\(//\)$' \| \ 56432d62a77cSmrg X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 56442d62a77cSmrg$as_echo X"$ac_file" | 56452d62a77cSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 56462d62a77cSmrg s//\1/ 56472d62a77cSmrg q 56482d62a77cSmrg } 56492d62a77cSmrg /^X\(\/\/\)[^/].*/{ 56502d62a77cSmrg s//\1/ 56512d62a77cSmrg q 56522d62a77cSmrg } 56532d62a77cSmrg /^X\(\/\/\)$/{ 56542d62a77cSmrg s//\1/ 56552d62a77cSmrg q 56562d62a77cSmrg } 56572d62a77cSmrg /^X\(\/\).*/{ 56582d62a77cSmrg s//\1/ 56592d62a77cSmrg q 56602d62a77cSmrg } 56612d62a77cSmrg s/.*/./; q'` 56626d325d25Smrg as_dir="$ac_dir"; as_fn_mkdir_p 5663a99f82b8Smrg ac_builddir=. 5664a99f82b8Smrg 56652d62a77cSmrgcase "$ac_dir" in 56662d62a77cSmrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 56672d62a77cSmrg*) 56682d62a77cSmrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 56692d62a77cSmrg # A ".." for each directory in $ac_dir_suffix. 56702d62a77cSmrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 56712d62a77cSmrg case $ac_top_builddir_sub in 56722d62a77cSmrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 56732d62a77cSmrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 56742d62a77cSmrg esac ;; 56752d62a77cSmrgesac 56762d62a77cSmrgac_abs_top_builddir=$ac_pwd 56772d62a77cSmrgac_abs_builddir=$ac_pwd$ac_dir_suffix 56782d62a77cSmrg# for backward compatibility: 56792d62a77cSmrgac_top_builddir=$ac_top_build_prefix 5680a99f82b8Smrg 5681a99f82b8Smrgcase $srcdir in 56822d62a77cSmrg .) # We are building in place. 5683a99f82b8Smrg ac_srcdir=. 56842d62a77cSmrg ac_top_srcdir=$ac_top_builddir_sub 56852d62a77cSmrg ac_abs_top_srcdir=$ac_pwd ;; 56862d62a77cSmrg [\\/]* | ?:[\\/]* ) # Absolute name. 5687a99f82b8Smrg ac_srcdir=$srcdir$ac_dir_suffix; 56882d62a77cSmrg ac_top_srcdir=$srcdir 56892d62a77cSmrg ac_abs_top_srcdir=$srcdir ;; 56902d62a77cSmrg *) # Relative name. 56912d62a77cSmrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 56922d62a77cSmrg ac_top_srcdir=$ac_top_build_prefix$srcdir 56932d62a77cSmrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 5694a99f82b8Smrgesac 56952d62a77cSmrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 5696a99f82b8Smrg 5697a99f82b8Smrg 56982d62a77cSmrg case $ac_mode in 56992d62a77cSmrg :F) 57002d62a77cSmrg # 57012d62a77cSmrg # CONFIG_FILE 57022d62a77cSmrg # 5703a99f82b8Smrg 5704a99f82b8Smrg case $INSTALL in 5705a99f82b8Smrg [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 57062d62a77cSmrg *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 5707a99f82b8Smrg esac 57082d62a77cSmrg ac_MKDIR_P=$MKDIR_P 57092d62a77cSmrg case $MKDIR_P in 57102d62a77cSmrg [\\/$]* | ?:[\\/]* ) ;; 57112d62a77cSmrg */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 57122d62a77cSmrg esac 57132d62a77cSmrg_ACEOF 5714a99f82b8Smrg 57152d62a77cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 57162d62a77cSmrg# If the template does not know about datarootdir, expand it. 57172d62a77cSmrg# FIXME: This hack should be removed a few years after 2.60. 57182d62a77cSmrgac_datarootdir_hack=; ac_datarootdir_seen= 57192d62a77cSmrgac_sed_dataroot=' 57202d62a77cSmrg/datarootdir/ { 57212d62a77cSmrg p 57222d62a77cSmrg q 57232d62a77cSmrg} 57242d62a77cSmrg/@datadir@/p 57252d62a77cSmrg/@docdir@/p 57262d62a77cSmrg/@infodir@/p 57272d62a77cSmrg/@localedir@/p 57286d325d25Smrg/@mandir@/p' 57292d62a77cSmrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 57302d62a77cSmrg*datarootdir*) ac_datarootdir_seen=yes;; 57312d62a77cSmrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 57326d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 57332d62a77cSmrg$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 57342d62a77cSmrg_ACEOF 57352d62a77cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 57362d62a77cSmrg ac_datarootdir_hack=' 57372d62a77cSmrg s&@datadir@&$datadir&g 57382d62a77cSmrg s&@docdir@&$docdir&g 57392d62a77cSmrg s&@infodir@&$infodir&g 57402d62a77cSmrg s&@localedir@&$localedir&g 57412d62a77cSmrg s&@mandir@&$mandir&g 57426d325d25Smrg s&\\\${datarootdir}&$datarootdir&g' ;; 57432d62a77cSmrgesac 5744a99f82b8Smrg_ACEOF 57452d62a77cSmrg 57462d62a77cSmrg# Neutralize VPATH when `$srcdir' = `.'. 57472d62a77cSmrg# Shell code in configure.ac might set extrasub. 57482d62a77cSmrg# FIXME: do we really want to maintain this feature? 57492d62a77cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 57502d62a77cSmrgac_sed_extra="$ac_vpsub 5751a99f82b8Smrg$extrasub 5752a99f82b8Smrg_ACEOF 57532d62a77cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5754a99f82b8Smrg:t 5755a99f82b8Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 57562d62a77cSmrgs|@configure_input@|$ac_sed_conf_input|;t t 57572d62a77cSmrgs&@top_builddir@&$ac_top_builddir_sub&;t t 57582d62a77cSmrgs&@top_build_prefix@&$ac_top_build_prefix&;t t 57592d62a77cSmrgs&@srcdir@&$ac_srcdir&;t t 57602d62a77cSmrgs&@abs_srcdir@&$ac_abs_srcdir&;t t 57612d62a77cSmrgs&@top_srcdir@&$ac_top_srcdir&;t t 57622d62a77cSmrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 57632d62a77cSmrgs&@builddir@&$ac_builddir&;t t 57642d62a77cSmrgs&@abs_builddir@&$ac_abs_builddir&;t t 57652d62a77cSmrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t 57662d62a77cSmrgs&@INSTALL@&$ac_INSTALL&;t t 57672d62a77cSmrgs&@MKDIR_P@&$ac_MKDIR_P&;t t 57682d62a77cSmrg$ac_datarootdir_hack 57692d62a77cSmrg" 57706d325d25Smrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 57716d325d25Smrg >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 5772a99f82b8Smrg 57732d62a77cSmrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 57746d325d25Smrg { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 57756d325d25Smrg { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 57766d325d25Smrg "$ac_tmp/out"`; test -z "$ac_out"; } && 57776d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 57786d325d25Smrgwhich seems to be undefined. Please make sure it is defined" >&5 57792d62a77cSmrg$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 57806d325d25Smrgwhich seems to be undefined. Please make sure it is defined" >&2;} 57812d62a77cSmrg 57826d325d25Smrg rm -f "$ac_tmp/stdin" 57832d62a77cSmrg case $ac_file in 57846d325d25Smrg -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 57856d325d25Smrg *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 57862d62a77cSmrg esac \ 57876d325d25Smrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 57882d62a77cSmrg ;; 57892d62a77cSmrg 57902d62a77cSmrg 57916d325d25Smrg :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 57922d62a77cSmrg$as_echo "$as_me: executing $ac_file commands" >&6;} 57932d62a77cSmrg ;; 57942d62a77cSmrg esac 57952d62a77cSmrg 57962d62a77cSmrg 57972d62a77cSmrg case $ac_file$ac_mode in 57982d62a77cSmrg "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 57992d62a77cSmrg # Autoconf 2.62 quotes --file arguments for eval, but not when files 58002d62a77cSmrg # are listed without --file. Let's play safe and only enable the eval 58012d62a77cSmrg # if we detect the quoting. 58022d62a77cSmrg case $CONFIG_FILES in 58032d62a77cSmrg *\'*) eval set x "$CONFIG_FILES" ;; 58042d62a77cSmrg *) set x $CONFIG_FILES ;; 58052d62a77cSmrg esac 58062d62a77cSmrg shift 58072d62a77cSmrg for mf 58082d62a77cSmrg do 58092d62a77cSmrg # Strip MF so we end up with the name of the file. 58102d62a77cSmrg mf=`echo "$mf" | sed -e 's/:.*$//'` 58112d62a77cSmrg # Check whether this is an Automake generated Makefile or not. 58122d62a77cSmrg # We used to match only the files named `Makefile.in', but 58132d62a77cSmrg # some people rename them; so instead we look at the file content. 58142d62a77cSmrg # Grep'ing the first line is not enough: some people post-process 58152d62a77cSmrg # each Makefile.in and add a new line on top of each file to say so. 58162d62a77cSmrg # Grep'ing the whole file is not good either: AIX grep has a line 58172d62a77cSmrg # limit of 2048, but all sed's we know have understand at least 4000. 58182d62a77cSmrg if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 58192d62a77cSmrg dirpart=`$as_dirname -- "$mf" || 58202d62a77cSmrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 58212d62a77cSmrg X"$mf" : 'X\(//\)[^/]' \| \ 58222d62a77cSmrg X"$mf" : 'X\(//\)$' \| \ 58232d62a77cSmrg X"$mf" : 'X\(/\)' \| . 2>/dev/null || 58242d62a77cSmrg$as_echo X"$mf" | 58252d62a77cSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 58262d62a77cSmrg s//\1/ 58272d62a77cSmrg q 58282d62a77cSmrg } 58292d62a77cSmrg /^X\(\/\/\)[^/].*/{ 58302d62a77cSmrg s//\1/ 58312d62a77cSmrg q 58322d62a77cSmrg } 58332d62a77cSmrg /^X\(\/\/\)$/{ 58342d62a77cSmrg s//\1/ 58352d62a77cSmrg q 58362d62a77cSmrg } 58372d62a77cSmrg /^X\(\/\).*/{ 58382d62a77cSmrg s//\1/ 58392d62a77cSmrg q 58402d62a77cSmrg } 58412d62a77cSmrg s/.*/./; q'` 58422d62a77cSmrg else 58432d62a77cSmrg continue 58442d62a77cSmrg fi 58452d62a77cSmrg # Extract the definition of DEPDIR, am__include, and am__quote 58462d62a77cSmrg # from the Makefile without running `make'. 58472d62a77cSmrg DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 58482d62a77cSmrg test -z "$DEPDIR" && continue 58492d62a77cSmrg am__include=`sed -n 's/^am__include = //p' < "$mf"` 58502d62a77cSmrg test -z "am__include" && continue 58512d62a77cSmrg am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 58522d62a77cSmrg # When using ansi2knr, U may be empty or an underscore; expand it 58532d62a77cSmrg U=`sed -n 's/^U = //p' < "$mf"` 58542d62a77cSmrg # Find all dependency output files, they are included files with 58552d62a77cSmrg # $(DEPDIR) in their names. We invoke sed twice because it is the 58562d62a77cSmrg # simplest approach to changing $(DEPDIR) to its actual value in the 58572d62a77cSmrg # expansion. 58582d62a77cSmrg for file in `sed -n " 58592d62a77cSmrg s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 58602d62a77cSmrg sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 58612d62a77cSmrg # Make sure the directory exists. 58622d62a77cSmrg test -f "$dirpart/$file" && continue 58632d62a77cSmrg fdir=`$as_dirname -- "$file" || 58642d62a77cSmrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 58652d62a77cSmrg X"$file" : 'X\(//\)[^/]' \| \ 58662d62a77cSmrg X"$file" : 'X\(//\)$' \| \ 58672d62a77cSmrg X"$file" : 'X\(/\)' \| . 2>/dev/null || 58682d62a77cSmrg$as_echo X"$file" | 58692d62a77cSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 58702d62a77cSmrg s//\1/ 58712d62a77cSmrg q 58722d62a77cSmrg } 58732d62a77cSmrg /^X\(\/\/\)[^/].*/{ 58742d62a77cSmrg s//\1/ 58752d62a77cSmrg q 58762d62a77cSmrg } 58772d62a77cSmrg /^X\(\/\/\)$/{ 58782d62a77cSmrg s//\1/ 58792d62a77cSmrg q 58802d62a77cSmrg } 58812d62a77cSmrg /^X\(\/\).*/{ 58822d62a77cSmrg s//\1/ 58832d62a77cSmrg q 58842d62a77cSmrg } 58852d62a77cSmrg s/.*/./; q'` 58866d325d25Smrg as_dir=$dirpart/$fdir; as_fn_mkdir_p 58872d62a77cSmrg # echo "creating $dirpart/$file" 58882d62a77cSmrg echo '# dummy' > "$dirpart/$file" 58892d62a77cSmrg done 58902d62a77cSmrg done 58912d62a77cSmrg} 58922d62a77cSmrg ;; 58932d62a77cSmrg 58942d62a77cSmrg esac 58952d62a77cSmrgdone # for ac_tag 5896a99f82b8Smrg 5897a99f82b8Smrg 58986d325d25Smrgas_fn_exit 0 5899a99f82b8Smrg_ACEOF 5900a99f82b8Smrgac_clean_files=$ac_clean_files_save 5901a99f82b8Smrg 59022d62a77cSmrgtest $ac_write_fail = 0 || 59036d325d25Smrg as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 59042d62a77cSmrg 5905a99f82b8Smrg 5906a99f82b8Smrg# configure is writing to config.log, and then calls config.status. 5907a99f82b8Smrg# config.status does its own redirection, appending to config.log. 5908a99f82b8Smrg# Unfortunately, on DOS this fails, as config.log is still kept open 5909a99f82b8Smrg# by configure, so config.status won't be able to write to it; its 5910a99f82b8Smrg# output is simply discarded. So we exec the FD to /dev/null, 5911a99f82b8Smrg# effectively closing config.log, so it can be properly (re)opened and 5912a99f82b8Smrg# appended to by config.status. When coming back to configure, we 5913a99f82b8Smrg# need to make the FD available again. 5914a99f82b8Smrgif test "$no_create" != yes; then 5915a99f82b8Smrg ac_cs_success=: 5916a99f82b8Smrg ac_config_status_args= 5917a99f82b8Smrg test "$silent" = yes && 5918a99f82b8Smrg ac_config_status_args="$ac_config_status_args --quiet" 5919a99f82b8Smrg exec 5>/dev/null 5920a99f82b8Smrg $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 5921a99f82b8Smrg exec 5>>config.log 5922a99f82b8Smrg # Use ||, not &&, to avoid exiting from the if with $? = 1, which 5923a99f82b8Smrg # would make configure fail if this is the last instruction. 59246d325d25Smrg $ac_cs_success || as_fn_exit 1 5925a99f82b8Smrgfi 59262d62a77cSmrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 59276d325d25Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 59282d62a77cSmrg$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 59292d62a77cSmrgfi 5930a99f82b8Smrg 5931