configure revision 2227fc13
1644fc5c1Stron#! /bin/sh 2644fc5c1Stron# Guess values for system-dependent variables and create Makefiles. 32227fc13Smrg# Generated by GNU Autoconf 2.68 for font-sony-misc 1.0.3. 4644fc5c1Stron# 5644fc5c1Stron# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 6644fc5c1Stron# 72227fc13Smrg# 82227fc13Smrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 92227fc13Smrg# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 102227fc13Smrg# Foundation, Inc. 112227fc13Smrg# 122227fc13Smrg# 13644fc5c1Stron# This configure script is free software; the Free Software Foundation 14644fc5c1Stron# gives unlimited permission to copy, distribute and modify it. 152227fc13Smrg## -------------------- ## 162227fc13Smrg## M4sh Initialization. ## 172227fc13Smrg## -------------------- ## 18644fc5c1Stron 192227fc13Smrg# Be more Bourne compatible 202227fc13SmrgDUALCASE=1; export DUALCASE # for MKS sh 212227fc13Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 22644fc5c1Stron emulate sh 23644fc5c1Stron NULLCMD=: 242227fc13Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 25644fc5c1Stron # is contrary to our usage. Disable this feature. 26644fc5c1Stron alias -g '${1+"$@"}'='"$@"' 272227fc13Smrg setopt NO_GLOB_SUBST 282227fc13Smrgelse 292227fc13Smrg case `(set -o) 2>/dev/null` in #( 302227fc13Smrg *posix*) : 312227fc13Smrg set -o posix ;; #( 322227fc13Smrg *) : 332227fc13Smrg ;; 342227fc13Smrgesac 35644fc5c1Stronfi 36644fc5c1Stron 372227fc13Smrg 382227fc13Smrgas_nl=' 392227fc13Smrg' 402227fc13Smrgexport as_nl 412227fc13Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 422227fc13Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 432227fc13Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 442227fc13Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 452227fc13Smrg# Prefer a ksh shell builtin over an external printf program on Solaris, 462227fc13Smrg# but without wasting forks for bash or zsh. 472227fc13Smrgif test -z "$BASH_VERSION$ZSH_VERSION" \ 482227fc13Smrg && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 492227fc13Smrg as_echo='print -r --' 502227fc13Smrg as_echo_n='print -rn --' 512227fc13Smrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 522227fc13Smrg as_echo='printf %s\n' 532227fc13Smrg as_echo_n='printf %s' 54644fc5c1Stronelse 552227fc13Smrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 562227fc13Smrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 572227fc13Smrg as_echo_n='/usr/ucb/echo -n' 582227fc13Smrg else 592227fc13Smrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 602227fc13Smrg as_echo_n_body='eval 612227fc13Smrg arg=$1; 622227fc13Smrg case $arg in #( 632227fc13Smrg *"$as_nl"*) 642227fc13Smrg expr "X$arg" : "X\\(.*\\)$as_nl"; 652227fc13Smrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 662227fc13Smrg esac; 672227fc13Smrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 682227fc13Smrg ' 692227fc13Smrg export as_echo_n_body 702227fc13Smrg as_echo_n='sh -c $as_echo_n_body as_echo' 712227fc13Smrg fi 722227fc13Smrg export as_echo_body 732227fc13Smrg as_echo='sh -c $as_echo_body as_echo' 742227fc13Smrgfi 752227fc13Smrg 762227fc13Smrg# The user is always right. 772227fc13Smrgif test "${PATH_SEPARATOR+set}" != set; then 782227fc13Smrg PATH_SEPARATOR=: 792227fc13Smrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 802227fc13Smrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 812227fc13Smrg PATH_SEPARATOR=';' 822227fc13Smrg } 83644fc5c1Stronfi 84644fc5c1Stron 85644fc5c1Stron 862227fc13Smrg# IFS 872227fc13Smrg# We need space, tab and new line, in precisely that order. Quoting is 882227fc13Smrg# there to prevent editors from complaining about space-tab. 892227fc13Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 902227fc13Smrg# splitting by setting IFS to empty value.) 912227fc13SmrgIFS=" "" $as_nl" 922227fc13Smrg 932227fc13Smrg# Find who we are. Look in the path if we contain no directory separator. 942227fc13Smrgas_myself= 952227fc13Smrgcase $0 in #(( 962227fc13Smrg *[\\/]* ) as_myself=$0 ;; 972227fc13Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 982227fc13Smrgfor as_dir in $PATH 992227fc13Smrgdo 1002227fc13Smrg IFS=$as_save_IFS 1012227fc13Smrg test -z "$as_dir" && as_dir=. 1022227fc13Smrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 1032227fc13Smrg done 1042227fc13SmrgIFS=$as_save_IFS 1052227fc13Smrg 1062227fc13Smrg ;; 1072227fc13Smrgesac 1082227fc13Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 1092227fc13Smrg# in which case we are not to be found in the path. 1102227fc13Smrgif test "x$as_myself" = x; then 1112227fc13Smrg as_myself=$0 1122227fc13Smrgfi 1132227fc13Smrgif test ! -f "$as_myself"; then 1142227fc13Smrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 1152227fc13Smrg exit 1 1162227fc13Smrgfi 1172227fc13Smrg 1182227fc13Smrg# Unset variables that we do not need and which cause bugs (e.g. in 1192227fc13Smrg# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 1202227fc13Smrg# suppresses any "Segmentation fault" message there. '((' could 1212227fc13Smrg# trigger a bug in pdksh 5.2.14. 1222227fc13Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH 1232227fc13Smrgdo eval test x\${$as_var+set} = xset \ 1242227fc13Smrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 1252227fc13Smrgdone 126644fc5c1StronPS1='$ ' 127644fc5c1StronPS2='> ' 128644fc5c1StronPS4='+ ' 129644fc5c1Stron 130644fc5c1Stron# NLS nuisances. 1312227fc13SmrgLC_ALL=C 1322227fc13Smrgexport LC_ALL 1332227fc13SmrgLANGUAGE=C 1342227fc13Smrgexport LANGUAGE 1352227fc13Smrg 1362227fc13Smrg# CDPATH. 1372227fc13Smrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 1382227fc13Smrg 1392227fc13Smrgif test "x$CONFIG_SHELL" = x; then 1402227fc13Smrg as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 1412227fc13Smrg emulate sh 1422227fc13Smrg NULLCMD=: 1432227fc13Smrg # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 1442227fc13Smrg # is contrary to our usage. Disable this feature. 1452227fc13Smrg alias -g '\${1+\"\$@\"}'='\"\$@\"' 1462227fc13Smrg setopt NO_GLOB_SUBST 1472227fc13Smrgelse 1482227fc13Smrg case \`(set -o) 2>/dev/null\` in #( 1492227fc13Smrg *posix*) : 1502227fc13Smrg set -o posix ;; #( 1512227fc13Smrg *) : 1522227fc13Smrg ;; 1532227fc13Smrgesac 1542227fc13Smrgfi 1552227fc13Smrg" 1562227fc13Smrg as_required="as_fn_return () { (exit \$1); } 1572227fc13Smrgas_fn_success () { as_fn_return 0; } 1582227fc13Smrgas_fn_failure () { as_fn_return 1; } 1592227fc13Smrgas_fn_ret_success () { return 0; } 1602227fc13Smrgas_fn_ret_failure () { return 1; } 1612227fc13Smrg 1622227fc13Smrgexitcode=0 1632227fc13Smrgas_fn_success || { exitcode=1; echo as_fn_success failed.; } 1642227fc13Smrgas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 1652227fc13Smrgas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 1662227fc13Smrgas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 1672227fc13Smrgif ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 1682227fc13Smrg 1692227fc13Smrgelse 1702227fc13Smrg exitcode=1; echo positional parameters were not saved. 1712227fc13Smrgfi 1722227fc13Smrgtest x\$exitcode = x0 || exit 1" 1732227fc13Smrg as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 1742227fc13Smrg as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 1752227fc13Smrg eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 1762227fc13Smrg test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 1772227fc13Smrgtest \$(( 1 + 1 )) = 2 || exit 1" 1782227fc13Smrg if (eval "$as_required") 2>/dev/null; then : 1792227fc13Smrg as_have_required=yes 1802227fc13Smrgelse 1812227fc13Smrg as_have_required=no 1822227fc13Smrgfi 1832227fc13Smrg if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 1842227fc13Smrg 1852227fc13Smrgelse 1862227fc13Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1872227fc13Smrgas_found=false 1882227fc13Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 189644fc5c1Strondo 1902227fc13Smrg IFS=$as_save_IFS 1912227fc13Smrg test -z "$as_dir" && as_dir=. 1922227fc13Smrg as_found=: 1932227fc13Smrg case $as_dir in #( 1942227fc13Smrg /*) 1952227fc13Smrg for as_base in sh bash ksh sh5; do 1962227fc13Smrg # Try only shells that exist, to save several forks. 1972227fc13Smrg as_shell=$as_dir/$as_base 1982227fc13Smrg if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 1992227fc13Smrg { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 2002227fc13Smrg CONFIG_SHELL=$as_shell as_have_required=yes 2012227fc13Smrg if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 2022227fc13Smrg break 2 2032227fc13Smrgfi 2042227fc13Smrgfi 2052227fc13Smrg done;; 2062227fc13Smrg esac 2072227fc13Smrg as_found=false 2082227fc13Smrgdone 2092227fc13Smrg$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 2102227fc13Smrg { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 2112227fc13Smrg CONFIG_SHELL=$SHELL as_have_required=yes 2122227fc13Smrgfi; } 2132227fc13SmrgIFS=$as_save_IFS 2142227fc13Smrg 2152227fc13Smrg 2162227fc13Smrg if test "x$CONFIG_SHELL" != x; then : 2172227fc13Smrg # We cannot yet assume a decent shell, so we have to provide a 2182227fc13Smrg # neutralization value for shells without unset; and this also 2192227fc13Smrg # works around shells that cannot unset nonexistent variables. 2202227fc13Smrg # Preserve -v and -x to the replacement shell. 2212227fc13Smrg BASH_ENV=/dev/null 2222227fc13Smrg ENV=/dev/null 2232227fc13Smrg (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 2242227fc13Smrg export CONFIG_SHELL 2252227fc13Smrg case $- in # (((( 2262227fc13Smrg *v*x* | *x*v* ) as_opts=-vx ;; 2272227fc13Smrg *v* ) as_opts=-v ;; 2282227fc13Smrg *x* ) as_opts=-x ;; 2292227fc13Smrg * ) as_opts= ;; 2302227fc13Smrg esac 2312227fc13Smrg exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 2322227fc13Smrgfi 2332227fc13Smrg 2342227fc13Smrg if test x$as_have_required = xno; then : 2352227fc13Smrg $as_echo "$0: This script requires a shell more modern than all" 2362227fc13Smrg $as_echo "$0: the shells that I found on your system." 2372227fc13Smrg if test x${ZSH_VERSION+set} = xset ; then 2382227fc13Smrg $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 2392227fc13Smrg $as_echo "$0: be upgraded to zsh 4.3.4 or later." 240644fc5c1Stron else 2412227fc13Smrg $as_echo "$0: Please tell bug-autoconf@gnu.org and 2422227fc13Smrg$0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg 2432227fc13Smrg$0: about your system, including any error possibly output 2442227fc13Smrg$0: before this message. Then install a modern shell, or 2452227fc13Smrg$0: manually run the script under such a shell if you do 2462227fc13Smrg$0: have one." 247644fc5c1Stron fi 2482227fc13Smrg exit 1 2492227fc13Smrgfi 2502227fc13Smrgfi 2512227fc13Smrgfi 2522227fc13SmrgSHELL=${CONFIG_SHELL-/bin/sh} 2532227fc13Smrgexport SHELL 2542227fc13Smrg# Unset more variables known to interfere with behavior of common tools. 2552227fc13SmrgCLICOLOR_FORCE= GREP_OPTIONS= 2562227fc13Smrgunset CLICOLOR_FORCE GREP_OPTIONS 2572227fc13Smrg 2582227fc13Smrg## --------------------- ## 2592227fc13Smrg## M4sh Shell Functions. ## 2602227fc13Smrg## --------------------- ## 2612227fc13Smrg# as_fn_unset VAR 2622227fc13Smrg# --------------- 2632227fc13Smrg# Portably unset VAR. 2642227fc13Smrgas_fn_unset () 2652227fc13Smrg{ 2662227fc13Smrg { eval $1=; unset $1;} 2672227fc13Smrg} 2682227fc13Smrgas_unset=as_fn_unset 2692227fc13Smrg 2702227fc13Smrg# as_fn_set_status STATUS 2712227fc13Smrg# ----------------------- 2722227fc13Smrg# Set $? to STATUS, without forking. 2732227fc13Smrgas_fn_set_status () 2742227fc13Smrg{ 2752227fc13Smrg return $1 2762227fc13Smrg} # as_fn_set_status 2772227fc13Smrg 2782227fc13Smrg# as_fn_exit STATUS 2792227fc13Smrg# ----------------- 2802227fc13Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 2812227fc13Smrgas_fn_exit () 2822227fc13Smrg{ 2832227fc13Smrg set +e 2842227fc13Smrg as_fn_set_status $1 2852227fc13Smrg exit $1 2862227fc13Smrg} # as_fn_exit 2872227fc13Smrg 2882227fc13Smrg# as_fn_mkdir_p 2892227fc13Smrg# ------------- 2902227fc13Smrg# Create "$as_dir" as a directory, including parents if necessary. 2912227fc13Smrgas_fn_mkdir_p () 2922227fc13Smrg{ 2932227fc13Smrg 2942227fc13Smrg case $as_dir in #( 2952227fc13Smrg -*) as_dir=./$as_dir;; 2962227fc13Smrg esac 2972227fc13Smrg test -d "$as_dir" || eval $as_mkdir_p || { 2982227fc13Smrg as_dirs= 2992227fc13Smrg while :; do 3002227fc13Smrg case $as_dir in #( 3012227fc13Smrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 3022227fc13Smrg *) as_qdir=$as_dir;; 3032227fc13Smrg esac 3042227fc13Smrg as_dirs="'$as_qdir' $as_dirs" 3052227fc13Smrg as_dir=`$as_dirname -- "$as_dir" || 3062227fc13Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3072227fc13Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 3082227fc13Smrg X"$as_dir" : 'X\(//\)$' \| \ 3092227fc13Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 3102227fc13Smrg$as_echo X"$as_dir" | 3112227fc13Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3122227fc13Smrg s//\1/ 3132227fc13Smrg q 3142227fc13Smrg } 3152227fc13Smrg /^X\(\/\/\)[^/].*/{ 3162227fc13Smrg s//\1/ 3172227fc13Smrg q 3182227fc13Smrg } 3192227fc13Smrg /^X\(\/\/\)$/{ 3202227fc13Smrg s//\1/ 3212227fc13Smrg q 3222227fc13Smrg } 3232227fc13Smrg /^X\(\/\).*/{ 3242227fc13Smrg s//\1/ 3252227fc13Smrg q 3262227fc13Smrg } 3272227fc13Smrg s/.*/./; q'` 3282227fc13Smrg test -d "$as_dir" && break 3292227fc13Smrg done 3302227fc13Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 3312227fc13Smrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 3322227fc13Smrg 3332227fc13Smrg 3342227fc13Smrg} # as_fn_mkdir_p 3352227fc13Smrg# as_fn_append VAR VALUE 3362227fc13Smrg# ---------------------- 3372227fc13Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take 3382227fc13Smrg# advantage of any shell optimizations that allow amortized linear growth over 3392227fc13Smrg# repeated appends, instead of the typical quadratic growth present in naive 3402227fc13Smrg# implementations. 3412227fc13Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 3422227fc13Smrg eval 'as_fn_append () 3432227fc13Smrg { 3442227fc13Smrg eval $1+=\$2 3452227fc13Smrg }' 3462227fc13Smrgelse 3472227fc13Smrg as_fn_append () 3482227fc13Smrg { 3492227fc13Smrg eval $1=\$$1\$2 3502227fc13Smrg } 3512227fc13Smrgfi # as_fn_append 3522227fc13Smrg 3532227fc13Smrg# as_fn_arith ARG... 3542227fc13Smrg# ------------------ 3552227fc13Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the 3562227fc13Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 3572227fc13Smrg# must be portable across $(()) and expr. 3582227fc13Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 3592227fc13Smrg eval 'as_fn_arith () 3602227fc13Smrg { 3612227fc13Smrg as_val=$(( $* )) 3622227fc13Smrg }' 3632227fc13Smrgelse 3642227fc13Smrg as_fn_arith () 3652227fc13Smrg { 3662227fc13Smrg as_val=`expr "$@" || test $? -eq 1` 3672227fc13Smrg } 3682227fc13Smrgfi # as_fn_arith 3692227fc13Smrg 3702227fc13Smrg 3712227fc13Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 3722227fc13Smrg# ---------------------------------------- 3732227fc13Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 3742227fc13Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 3752227fc13Smrg# script with STATUS, using 1 if that was 0. 3762227fc13Smrgas_fn_error () 3772227fc13Smrg{ 3782227fc13Smrg as_status=$1; test $as_status -eq 0 && as_status=1 3792227fc13Smrg if test "$4"; then 3802227fc13Smrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 3812227fc13Smrg $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 3822227fc13Smrg fi 3832227fc13Smrg $as_echo "$as_me: error: $2" >&2 3842227fc13Smrg as_fn_exit $as_status 3852227fc13Smrg} # as_fn_error 386644fc5c1Stron 3872227fc13Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 3882227fc13Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 389644fc5c1Stron as_expr=expr 390644fc5c1Stronelse 391644fc5c1Stron as_expr=false 392644fc5c1Stronfi 393644fc5c1Stron 3942227fc13Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 395644fc5c1Stron as_basename=basename 396644fc5c1Stronelse 397644fc5c1Stron as_basename=false 398644fc5c1Stronfi 399644fc5c1Stron 4002227fc13Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 4012227fc13Smrg as_dirname=dirname 4022227fc13Smrgelse 4032227fc13Smrg as_dirname=false 4042227fc13Smrgfi 405644fc5c1Stron 4062227fc13Smrgas_me=`$as_basename -- "$0" || 407644fc5c1Stron$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 408644fc5c1Stron X"$0" : 'X\(//\)$' \| \ 4092227fc13Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 4102227fc13Smrg$as_echo X/"$0" | 4112227fc13Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 4122227fc13Smrg s//\1/ 4132227fc13Smrg q 4142227fc13Smrg } 4152227fc13Smrg /^X\/\(\/\/\)$/{ 4162227fc13Smrg s//\1/ 4172227fc13Smrg q 4182227fc13Smrg } 4192227fc13Smrg /^X\/\(\/\).*/{ 4202227fc13Smrg s//\1/ 4212227fc13Smrg q 4222227fc13Smrg } 4232227fc13Smrg s/.*/./; q'` 424644fc5c1Stron 425644fc5c1Stron# Avoid depending upon Character Ranges. 426644fc5c1Stronas_cr_letters='abcdefghijklmnopqrstuvwxyz' 427644fc5c1Stronas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 428644fc5c1Stronas_cr_Letters=$as_cr_letters$as_cr_LETTERS 429644fc5c1Stronas_cr_digits='0123456789' 430644fc5c1Stronas_cr_alnum=$as_cr_Letters$as_cr_digits 431644fc5c1Stron 432644fc5c1Stron 4332227fc13Smrg as_lineno_1=$LINENO as_lineno_1a=$LINENO 4342227fc13Smrg as_lineno_2=$LINENO as_lineno_2a=$LINENO 4352227fc13Smrg eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 4362227fc13Smrg test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 4372227fc13Smrg # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 4382227fc13Smrg sed -n ' 4392227fc13Smrg p 4402227fc13Smrg /[$]LINENO/= 4412227fc13Smrg ' <$as_myself | 442644fc5c1Stron sed ' 4432227fc13Smrg s/[$]LINENO.*/&-/ 4442227fc13Smrg t lineno 4452227fc13Smrg b 4462227fc13Smrg :lineno 447644fc5c1Stron N 4482227fc13Smrg :loop 4492227fc13Smrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 450644fc5c1Stron t loop 4512227fc13Smrg s/-\n.*// 452644fc5c1Stron ' >$as_me.lineno && 4532227fc13Smrg chmod +x "$as_me.lineno" || 4542227fc13Smrg { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 455644fc5c1Stron 456644fc5c1Stron # Don't try to exec as it changes $[0], causing all sort of problems 457644fc5c1Stron # (the dirname of $[0] is not the place where we might find the 4582227fc13Smrg # original and so on. Autoconf is especially sensitive to this). 4592227fc13Smrg . "./$as_me.lineno" 460644fc5c1Stron # Exit status is that of the last command. 461644fc5c1Stron exit 462644fc5c1Stron} 463644fc5c1Stron 4642227fc13SmrgECHO_C= ECHO_N= ECHO_T= 4652227fc13Smrgcase `echo -n x` in #((((( 4662227fc13Smrg-n*) 4672227fc13Smrg case `echo 'xy\c'` in 4682227fc13Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 4692227fc13Smrg xy) ECHO_C='\c';; 4702227fc13Smrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 4712227fc13Smrg ECHO_T=' ';; 4722227fc13Smrg esac;; 4732227fc13Smrg*) 4742227fc13Smrg ECHO_N='-n';; 475644fc5c1Stronesac 476644fc5c1Stron 4772227fc13Smrgrm -f conf$$ conf$$.exe conf$$.file 4782227fc13Smrgif test -d conf$$.dir; then 4792227fc13Smrg rm -f conf$$.dir/conf$$.file 480644fc5c1Stronelse 4812227fc13Smrg rm -f conf$$.dir 4822227fc13Smrg mkdir conf$$.dir 2>/dev/null 483644fc5c1Stronfi 4842227fc13Smrgif (echo >conf$$.file) 2>/dev/null; then 4852227fc13Smrg if ln -s conf$$.file conf$$ 2>/dev/null; then 486644fc5c1Stron as_ln_s='ln -s' 4872227fc13Smrg # ... but there are two gotchas: 4882227fc13Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 4892227fc13Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 4902227fc13Smrg # In both cases, we have to default to `cp -p'. 4912227fc13Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 4922227fc13Smrg as_ln_s='cp -p' 4932227fc13Smrg elif ln conf$$.file conf$$ 2>/dev/null; then 4942227fc13Smrg as_ln_s=ln 4952227fc13Smrg else 4962227fc13Smrg as_ln_s='cp -p' 497644fc5c1Stron fi 498644fc5c1Stronelse 499644fc5c1Stron as_ln_s='cp -p' 500644fc5c1Stronfi 5012227fc13Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5022227fc13Smrgrmdir conf$$.dir 2>/dev/null 503644fc5c1Stron 504644fc5c1Stronif mkdir -p . 2>/dev/null; then 5052227fc13Smrg as_mkdir_p='mkdir -p "$as_dir"' 506644fc5c1Stronelse 507644fc5c1Stron test -d ./-p && rmdir ./-p 508644fc5c1Stron as_mkdir_p=false 509644fc5c1Stronfi 510644fc5c1Stron 5112227fc13Smrgif test -x / >/dev/null 2>&1; then 5122227fc13Smrg as_test_x='test -x' 5132227fc13Smrgelse 5142227fc13Smrg if ls -dL / >/dev/null 2>&1; then 5152227fc13Smrg as_ls_L_option=L 5162227fc13Smrg else 5172227fc13Smrg as_ls_L_option= 5182227fc13Smrg fi 5192227fc13Smrg as_test_x=' 5202227fc13Smrg eval sh -c '\'' 5212227fc13Smrg if test -d "$1"; then 5222227fc13Smrg test -d "$1/."; 5232227fc13Smrg else 5242227fc13Smrg case $1 in #( 5252227fc13Smrg -*)set "./$1";; 5262227fc13Smrg esac; 5272227fc13Smrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 5282227fc13Smrg ???[sx]*):;;*)false;;esac;fi 5292227fc13Smrg '\'' sh 5302227fc13Smrg ' 5312227fc13Smrgfi 5322227fc13Smrgas_executable_p=$as_test_x 533644fc5c1Stron 534644fc5c1Stron# Sed expression to map a string onto a valid CPP name. 535644fc5c1Stronas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 536644fc5c1Stron 537644fc5c1Stron# Sed expression to map a string onto a valid variable name. 538644fc5c1Stronas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 539644fc5c1Stron 540644fc5c1Stron 5412227fc13Smrgtest -n "$DJDIR" || exec 7<&0 </dev/null 5422227fc13Smrgexec 6>&1 543644fc5c1Stron 544644fc5c1Stron# Name of the host. 5452227fc13Smrg# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 546644fc5c1Stron# so uname gets run too. 547644fc5c1Stronac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 548644fc5c1Stron 549644fc5c1Stron# 550644fc5c1Stron# Initializations. 551644fc5c1Stron# 552644fc5c1Stronac_default_prefix=/usr/local 5532227fc13Smrgac_clean_files= 554644fc5c1Stronac_config_libobj_dir=. 5552227fc13SmrgLIBOBJS= 556644fc5c1Stroncross_compiling=no 557644fc5c1Stronsubdirs= 558644fc5c1StronMFLAGS= 559644fc5c1StronMAKEFLAGS= 560644fc5c1Stron 561644fc5c1Stron# Identity of this package. 562644fc5c1StronPACKAGE_NAME='font-sony-misc' 563644fc5c1StronPACKAGE_TARNAME='font-sony-misc' 5642227fc13SmrgPACKAGE_VERSION='1.0.3' 5652227fc13SmrgPACKAGE_STRING='font-sony-misc 1.0.3' 566644fc5c1StronPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 5672227fc13SmrgPACKAGE_URL='' 5682227fc13Smrg 5692227fc13Smrg# Factoring default headers for most tests. 5702227fc13Smrgac_includes_default="\ 5712227fc13Smrg#include <stdio.h> 5722227fc13Smrg#ifdef HAVE_SYS_TYPES_H 5732227fc13Smrg# include <sys/types.h> 5742227fc13Smrg#endif 5752227fc13Smrg#ifdef HAVE_SYS_STAT_H 5762227fc13Smrg# include <sys/stat.h> 5772227fc13Smrg#endif 5782227fc13Smrg#ifdef STDC_HEADERS 5792227fc13Smrg# include <stdlib.h> 5802227fc13Smrg# include <stddef.h> 5812227fc13Smrg#else 5822227fc13Smrg# ifdef HAVE_STDLIB_H 5832227fc13Smrg# include <stdlib.h> 5842227fc13Smrg# endif 5852227fc13Smrg#endif 5862227fc13Smrg#ifdef HAVE_STRING_H 5872227fc13Smrg# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 5882227fc13Smrg# include <memory.h> 5892227fc13Smrg# endif 5902227fc13Smrg# include <string.h> 5912227fc13Smrg#endif 5922227fc13Smrg#ifdef HAVE_STRINGS_H 5932227fc13Smrg# include <strings.h> 5942227fc13Smrg#endif 5952227fc13Smrg#ifdef HAVE_INTTYPES_H 5962227fc13Smrg# include <inttypes.h> 5972227fc13Smrg#endif 5982227fc13Smrg#ifdef HAVE_STDINT_H 5992227fc13Smrg# include <stdint.h> 6002227fc13Smrg#endif 6012227fc13Smrg#ifdef HAVE_UNISTD_H 6022227fc13Smrg# include <unistd.h> 6032227fc13Smrg#endif" 6042227fc13Smrg 6052227fc13Smrgac_subst_vars='am__EXEEXT_FALSE 6062227fc13Smrgam__EXEEXT_TRUE 6072227fc13SmrgLTLIBOBJS 6082227fc13SmrgLIBOBJS 6092227fc13SmrgCOMPRESS_SUFFIX 6102227fc13SmrgCOMPRESS 6112227fc13SmrgBDFTOPCF 6122227fc13SmrgMKFONTDIR 6132227fc13SmrgRUN_FCCACHE 6142227fc13SmrgFCCACHE 6152227fc13SmrgFONTDIR 6162227fc13SmrgFONTROOTDIR 6172227fc13SmrgAM_BACKSLASH 6182227fc13SmrgAM_DEFAULT_VERBOSITY 6192227fc13SmrgMAN_SUBSTS 6202227fc13SmrgXORG_MAN_PAGE 6212227fc13SmrgADMIN_MAN_DIR 6222227fc13SmrgDRIVER_MAN_DIR 6232227fc13SmrgMISC_MAN_DIR 6242227fc13SmrgFILE_MAN_DIR 6252227fc13SmrgLIB_MAN_DIR 6262227fc13SmrgAPP_MAN_DIR 6272227fc13SmrgADMIN_MAN_SUFFIX 6282227fc13SmrgDRIVER_MAN_SUFFIX 6292227fc13SmrgMISC_MAN_SUFFIX 6302227fc13SmrgFILE_MAN_SUFFIX 6312227fc13SmrgLIB_MAN_SUFFIX 6322227fc13SmrgAPP_MAN_SUFFIX 6332227fc13SmrgSED 6342227fc13Smrghost_os 6352227fc13Smrghost_vendor 6362227fc13Smrghost_cpu 6372227fc13Smrghost 6382227fc13Smrgbuild_os 6392227fc13Smrgbuild_vendor 6402227fc13Smrgbuild_cpu 6412227fc13Smrgbuild 6422227fc13SmrgINSTALL_CMD 6432227fc13SmrgPKG_CONFIG_LIBDIR 6442227fc13SmrgPKG_CONFIG_PATH 6452227fc13SmrgPKG_CONFIG 6462227fc13SmrgCHANGELOG_CMD 6472227fc13SmrgCWARNFLAGS 6482227fc13SmrgEGREP 6492227fc13SmrgGREP 6502227fc13SmrgCPP 6512227fc13Smrgam__fastdepCC_FALSE 6522227fc13Smrgam__fastdepCC_TRUE 6532227fc13SmrgCCDEPMODE 6542227fc13SmrgAMDEPBACKSLASH 6552227fc13SmrgAMDEP_FALSE 6562227fc13SmrgAMDEP_TRUE 6572227fc13Smrgam__quote 6582227fc13Smrgam__include 6592227fc13SmrgDEPDIR 6602227fc13SmrgOBJEXT 6612227fc13SmrgEXEEXT 6622227fc13Smrgac_ct_CC 6632227fc13SmrgCPPFLAGS 6642227fc13SmrgLDFLAGS 6652227fc13SmrgCFLAGS 6662227fc13SmrgCC 6672227fc13SmrgMAINT 6682227fc13SmrgMAINTAINER_MODE_FALSE 6692227fc13SmrgMAINTAINER_MODE_TRUE 6702227fc13Smrgam__untar 6712227fc13Smrgam__tar 6722227fc13SmrgAMTAR 6732227fc13Smrgam__leading_dot 6742227fc13SmrgSET_MAKE 6752227fc13SmrgAWK 6762227fc13Smrgmkdir_p 6772227fc13SmrgMKDIR_P 6782227fc13SmrgINSTALL_STRIP_PROGRAM 6792227fc13SmrgSTRIP 6802227fc13Smrginstall_sh 6812227fc13SmrgMAKEINFO 6822227fc13SmrgAUTOHEADER 6832227fc13SmrgAUTOMAKE 6842227fc13SmrgAUTOCONF 6852227fc13SmrgACLOCAL 6862227fc13SmrgVERSION 6872227fc13SmrgPACKAGE 6882227fc13SmrgCYGPATH_W 6892227fc13Smrgam__isrc 6902227fc13SmrgINSTALL_DATA 6912227fc13SmrgINSTALL_SCRIPT 6922227fc13SmrgINSTALL_PROGRAM 6932227fc13Smrgtarget_alias 6942227fc13Smrghost_alias 6952227fc13Smrgbuild_alias 6962227fc13SmrgLIBS 6972227fc13SmrgECHO_T 6982227fc13SmrgECHO_N 6992227fc13SmrgECHO_C 7002227fc13SmrgDEFS 7012227fc13Smrgmandir 7022227fc13Smrglocaledir 7032227fc13Smrglibdir 7042227fc13Smrgpsdir 7052227fc13Smrgpdfdir 7062227fc13Smrgdvidir 7072227fc13Smrghtmldir 7082227fc13Smrginfodir 7092227fc13Smrgdocdir 7102227fc13Smrgoldincludedir 7112227fc13Smrgincludedir 7122227fc13Smrglocalstatedir 7132227fc13Smrgsharedstatedir 7142227fc13Smrgsysconfdir 7152227fc13Smrgdatadir 7162227fc13Smrgdatarootdir 7172227fc13Smrglibexecdir 7182227fc13Smrgsbindir 7192227fc13Smrgbindir 7202227fc13Smrgprogram_transform_name 7212227fc13Smrgprefix 7222227fc13Smrgexec_prefix 7232227fc13SmrgPACKAGE_URL 7242227fc13SmrgPACKAGE_BUGREPORT 7252227fc13SmrgPACKAGE_STRING 7262227fc13SmrgPACKAGE_VERSION 7272227fc13SmrgPACKAGE_TARNAME 7282227fc13SmrgPACKAGE_NAME 7292227fc13SmrgPATH_SEPARATOR 7302227fc13SmrgSHELL' 731644fc5c1Stronac_subst_files='' 7322227fc13Smrgac_user_opts=' 7332227fc13Smrgenable_option_checking 7342227fc13Smrgenable_maintainer_mode 7352227fc13Smrgenable_dependency_tracking 7362227fc13Smrgenable_strict_compilation 7372227fc13Smrgenable_silent_rules 7382227fc13Smrgwith_fontrootdir 7392227fc13Smrgwith_fontdir 7402227fc13Smrgwith_compression 7412227fc13Smrg' 7422227fc13Smrg ac_precious_vars='build_alias 7432227fc13Smrghost_alias 7442227fc13Smrgtarget_alias 7452227fc13SmrgCC 7462227fc13SmrgCFLAGS 7472227fc13SmrgLDFLAGS 7482227fc13SmrgLIBS 7492227fc13SmrgCPPFLAGS 7502227fc13SmrgCPP 7512227fc13SmrgPKG_CONFIG 7522227fc13SmrgPKG_CONFIG_PATH 7532227fc13SmrgPKG_CONFIG_LIBDIR' 7542227fc13Smrg 755644fc5c1Stron 756644fc5c1Stron# Initialize some variables set by options. 757644fc5c1Stronac_init_help= 758644fc5c1Stronac_init_version=false 7592227fc13Smrgac_unrecognized_opts= 7602227fc13Smrgac_unrecognized_sep= 761644fc5c1Stron# The variables have the same names as the options, with 762644fc5c1Stron# dashes changed to underlines. 763644fc5c1Stroncache_file=/dev/null 764644fc5c1Stronexec_prefix=NONE 765644fc5c1Stronno_create= 766644fc5c1Stronno_recursion= 767644fc5c1Stronprefix=NONE 768644fc5c1Stronprogram_prefix=NONE 769644fc5c1Stronprogram_suffix=NONE 770644fc5c1Stronprogram_transform_name=s,x,x, 771644fc5c1Stronsilent= 772644fc5c1Stronsite= 773644fc5c1Stronsrcdir= 774644fc5c1Stronverbose= 775644fc5c1Stronx_includes=NONE 776644fc5c1Stronx_libraries=NONE 777644fc5c1Stron 778644fc5c1Stron# Installation directory options. 779644fc5c1Stron# These are left unexpanded so users can "make install exec_prefix=/foo" 780644fc5c1Stron# and all the variables that are supposed to be based on exec_prefix 781644fc5c1Stron# by default will actually change. 782644fc5c1Stron# Use braces instead of parens because sh, perl, etc. also accept them. 7832227fc13Smrg# (The list follows the same order as the GNU Coding Standards.) 784644fc5c1Stronbindir='${exec_prefix}/bin' 785644fc5c1Stronsbindir='${exec_prefix}/sbin' 786644fc5c1Stronlibexecdir='${exec_prefix}/libexec' 7872227fc13Smrgdatarootdir='${prefix}/share' 7882227fc13Smrgdatadir='${datarootdir}' 789644fc5c1Stronsysconfdir='${prefix}/etc' 790644fc5c1Stronsharedstatedir='${prefix}/com' 791644fc5c1Stronlocalstatedir='${prefix}/var' 792644fc5c1Stronincludedir='${prefix}/include' 793644fc5c1Stronoldincludedir='/usr/include' 7942227fc13Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 7952227fc13Smrginfodir='${datarootdir}/info' 7962227fc13Smrghtmldir='${docdir}' 7972227fc13Smrgdvidir='${docdir}' 7982227fc13Smrgpdfdir='${docdir}' 7992227fc13Smrgpsdir='${docdir}' 8002227fc13Smrglibdir='${exec_prefix}/lib' 8012227fc13Smrglocaledir='${datarootdir}/locale' 8022227fc13Smrgmandir='${datarootdir}/man' 803644fc5c1Stron 804644fc5c1Stronac_prev= 8052227fc13Smrgac_dashdash= 806644fc5c1Stronfor ac_option 807644fc5c1Strondo 808644fc5c1Stron # If the previous option needs an argument, assign it. 809644fc5c1Stron if test -n "$ac_prev"; then 8102227fc13Smrg eval $ac_prev=\$ac_option 811644fc5c1Stron ac_prev= 812644fc5c1Stron continue 813644fc5c1Stron fi 814644fc5c1Stron 8152227fc13Smrg case $ac_option in 8162227fc13Smrg *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 8172227fc13Smrg *=) ac_optarg= ;; 8182227fc13Smrg *) ac_optarg=yes ;; 8192227fc13Smrg esac 820644fc5c1Stron 821644fc5c1Stron # Accept the important Cygnus configure options, so we can diagnose typos. 822644fc5c1Stron 8232227fc13Smrg case $ac_dashdash$ac_option in 8242227fc13Smrg --) 8252227fc13Smrg ac_dashdash=yes ;; 826644fc5c1Stron 827644fc5c1Stron -bindir | --bindir | --bindi | --bind | --bin | --bi) 828644fc5c1Stron ac_prev=bindir ;; 829644fc5c1Stron -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 830644fc5c1Stron bindir=$ac_optarg ;; 831644fc5c1Stron 832644fc5c1Stron -build | --build | --buil | --bui | --bu) 833644fc5c1Stron ac_prev=build_alias ;; 834644fc5c1Stron -build=* | --build=* | --buil=* | --bui=* | --bu=*) 835644fc5c1Stron build_alias=$ac_optarg ;; 836644fc5c1Stron 837644fc5c1Stron -cache-file | --cache-file | --cache-fil | --cache-fi \ 838644fc5c1Stron | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 839644fc5c1Stron ac_prev=cache_file ;; 840644fc5c1Stron -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 841644fc5c1Stron | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 842644fc5c1Stron cache_file=$ac_optarg ;; 843644fc5c1Stron 844644fc5c1Stron --config-cache | -C) 845644fc5c1Stron cache_file=config.cache ;; 846644fc5c1Stron 8472227fc13Smrg -datadir | --datadir | --datadi | --datad) 848644fc5c1Stron ac_prev=datadir ;; 8492227fc13Smrg -datadir=* | --datadir=* | --datadi=* | --datad=*) 850644fc5c1Stron datadir=$ac_optarg ;; 851644fc5c1Stron 8522227fc13Smrg -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 8532227fc13Smrg | --dataroo | --dataro | --datar) 8542227fc13Smrg ac_prev=datarootdir ;; 8552227fc13Smrg -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 8562227fc13Smrg | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 8572227fc13Smrg datarootdir=$ac_optarg ;; 8582227fc13Smrg 859644fc5c1Stron -disable-* | --disable-*) 8602227fc13Smrg ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 861644fc5c1Stron # Reject names that are not valid shell variable names. 8622227fc13Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 8632227fc13Smrg as_fn_error $? "invalid feature name: $ac_useropt" 8642227fc13Smrg ac_useropt_orig=$ac_useropt 8652227fc13Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 8662227fc13Smrg case $ac_user_opts in 8672227fc13Smrg *" 8682227fc13Smrg"enable_$ac_useropt" 8692227fc13Smrg"*) ;; 8702227fc13Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 8712227fc13Smrg ac_unrecognized_sep=', ';; 8722227fc13Smrg esac 8732227fc13Smrg eval enable_$ac_useropt=no ;; 8742227fc13Smrg 8752227fc13Smrg -docdir | --docdir | --docdi | --doc | --do) 8762227fc13Smrg ac_prev=docdir ;; 8772227fc13Smrg -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 8782227fc13Smrg docdir=$ac_optarg ;; 8792227fc13Smrg 8802227fc13Smrg -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 8812227fc13Smrg ac_prev=dvidir ;; 8822227fc13Smrg -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 8832227fc13Smrg dvidir=$ac_optarg ;; 884644fc5c1Stron 885644fc5c1Stron -enable-* | --enable-*) 8862227fc13Smrg ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 887644fc5c1Stron # Reject names that are not valid shell variable names. 8882227fc13Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 8892227fc13Smrg as_fn_error $? "invalid feature name: $ac_useropt" 8902227fc13Smrg ac_useropt_orig=$ac_useropt 8912227fc13Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 8922227fc13Smrg case $ac_user_opts in 8932227fc13Smrg *" 8942227fc13Smrg"enable_$ac_useropt" 8952227fc13Smrg"*) ;; 8962227fc13Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 8972227fc13Smrg ac_unrecognized_sep=', ';; 898644fc5c1Stron esac 8992227fc13Smrg eval enable_$ac_useropt=\$ac_optarg ;; 900644fc5c1Stron 901644fc5c1Stron -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 902644fc5c1Stron | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 903644fc5c1Stron | --exec | --exe | --ex) 904644fc5c1Stron ac_prev=exec_prefix ;; 905644fc5c1Stron -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 906644fc5c1Stron | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 907644fc5c1Stron | --exec=* | --exe=* | --ex=*) 908644fc5c1Stron exec_prefix=$ac_optarg ;; 909644fc5c1Stron 910644fc5c1Stron -gas | --gas | --ga | --g) 911644fc5c1Stron # Obsolete; use --with-gas. 912644fc5c1Stron with_gas=yes ;; 913644fc5c1Stron 914644fc5c1Stron -help | --help | --hel | --he | -h) 915644fc5c1Stron ac_init_help=long ;; 916644fc5c1Stron -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 917644fc5c1Stron ac_init_help=recursive ;; 918644fc5c1Stron -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 919644fc5c1Stron ac_init_help=short ;; 920644fc5c1Stron 921644fc5c1Stron -host | --host | --hos | --ho) 922644fc5c1Stron ac_prev=host_alias ;; 923644fc5c1Stron -host=* | --host=* | --hos=* | --ho=*) 924644fc5c1Stron host_alias=$ac_optarg ;; 925644fc5c1Stron 9262227fc13Smrg -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 9272227fc13Smrg ac_prev=htmldir ;; 9282227fc13Smrg -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 9292227fc13Smrg | --ht=*) 9302227fc13Smrg htmldir=$ac_optarg ;; 9312227fc13Smrg 932644fc5c1Stron -includedir | --includedir | --includedi | --included | --include \ 933644fc5c1Stron | --includ | --inclu | --incl | --inc) 934644fc5c1Stron ac_prev=includedir ;; 935644fc5c1Stron -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 936644fc5c1Stron | --includ=* | --inclu=* | --incl=* | --inc=*) 937644fc5c1Stron includedir=$ac_optarg ;; 938644fc5c1Stron 939644fc5c1Stron -infodir | --infodir | --infodi | --infod | --info | --inf) 940644fc5c1Stron ac_prev=infodir ;; 941644fc5c1Stron -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 942644fc5c1Stron infodir=$ac_optarg ;; 943644fc5c1Stron 944644fc5c1Stron -libdir | --libdir | --libdi | --libd) 945644fc5c1Stron ac_prev=libdir ;; 946644fc5c1Stron -libdir=* | --libdir=* | --libdi=* | --libd=*) 947644fc5c1Stron libdir=$ac_optarg ;; 948644fc5c1Stron 949644fc5c1Stron -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 950644fc5c1Stron | --libexe | --libex | --libe) 951644fc5c1Stron ac_prev=libexecdir ;; 952644fc5c1Stron -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 953644fc5c1Stron | --libexe=* | --libex=* | --libe=*) 954644fc5c1Stron libexecdir=$ac_optarg ;; 955644fc5c1Stron 9562227fc13Smrg -localedir | --localedir | --localedi | --localed | --locale) 9572227fc13Smrg ac_prev=localedir ;; 9582227fc13Smrg -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 9592227fc13Smrg localedir=$ac_optarg ;; 9602227fc13Smrg 961644fc5c1Stron -localstatedir | --localstatedir | --localstatedi | --localstated \ 9622227fc13Smrg | --localstate | --localstat | --localsta | --localst | --locals) 963644fc5c1Stron ac_prev=localstatedir ;; 964644fc5c1Stron -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 9652227fc13Smrg | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 966644fc5c1Stron localstatedir=$ac_optarg ;; 967644fc5c1Stron 968644fc5c1Stron -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 969644fc5c1Stron ac_prev=mandir ;; 970644fc5c1Stron -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 971644fc5c1Stron mandir=$ac_optarg ;; 972644fc5c1Stron 973644fc5c1Stron -nfp | --nfp | --nf) 974644fc5c1Stron # Obsolete; use --without-fp. 975644fc5c1Stron with_fp=no ;; 976644fc5c1Stron 977644fc5c1Stron -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 978644fc5c1Stron | --no-cr | --no-c | -n) 979644fc5c1Stron no_create=yes ;; 980644fc5c1Stron 981644fc5c1Stron -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 982644fc5c1Stron | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 983644fc5c1Stron no_recursion=yes ;; 984644fc5c1Stron 985644fc5c1Stron -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 986644fc5c1Stron | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 987644fc5c1Stron | --oldin | --oldi | --old | --ol | --o) 988644fc5c1Stron ac_prev=oldincludedir ;; 989644fc5c1Stron -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 990644fc5c1Stron | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 991644fc5c1Stron | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 992644fc5c1Stron oldincludedir=$ac_optarg ;; 993644fc5c1Stron 994644fc5c1Stron -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 995644fc5c1Stron ac_prev=prefix ;; 996644fc5c1Stron -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 997644fc5c1Stron prefix=$ac_optarg ;; 998644fc5c1Stron 999644fc5c1Stron -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1000644fc5c1Stron | --program-pre | --program-pr | --program-p) 1001644fc5c1Stron ac_prev=program_prefix ;; 1002644fc5c1Stron -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1003644fc5c1Stron | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1004644fc5c1Stron program_prefix=$ac_optarg ;; 1005644fc5c1Stron 1006644fc5c1Stron -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1007644fc5c1Stron | --program-suf | --program-su | --program-s) 1008644fc5c1Stron ac_prev=program_suffix ;; 1009644fc5c1Stron -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1010644fc5c1Stron | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1011644fc5c1Stron program_suffix=$ac_optarg ;; 1012644fc5c1Stron 1013644fc5c1Stron -program-transform-name | --program-transform-name \ 1014644fc5c1Stron | --program-transform-nam | --program-transform-na \ 1015644fc5c1Stron | --program-transform-n | --program-transform- \ 1016644fc5c1Stron | --program-transform | --program-transfor \ 1017644fc5c1Stron | --program-transfo | --program-transf \ 1018644fc5c1Stron | --program-trans | --program-tran \ 1019644fc5c1Stron | --progr-tra | --program-tr | --program-t) 1020644fc5c1Stron ac_prev=program_transform_name ;; 1021644fc5c1Stron -program-transform-name=* | --program-transform-name=* \ 1022644fc5c1Stron | --program-transform-nam=* | --program-transform-na=* \ 1023644fc5c1Stron | --program-transform-n=* | --program-transform-=* \ 1024644fc5c1Stron | --program-transform=* | --program-transfor=* \ 1025644fc5c1Stron | --program-transfo=* | --program-transf=* \ 1026644fc5c1Stron | --program-trans=* | --program-tran=* \ 1027644fc5c1Stron | --progr-tra=* | --program-tr=* | --program-t=*) 1028644fc5c1Stron program_transform_name=$ac_optarg ;; 1029644fc5c1Stron 10302227fc13Smrg -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 10312227fc13Smrg ac_prev=pdfdir ;; 10322227fc13Smrg -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 10332227fc13Smrg pdfdir=$ac_optarg ;; 10342227fc13Smrg 10352227fc13Smrg -psdir | --psdir | --psdi | --psd | --ps) 10362227fc13Smrg ac_prev=psdir ;; 10372227fc13Smrg -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 10382227fc13Smrg psdir=$ac_optarg ;; 10392227fc13Smrg 1040644fc5c1Stron -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1041644fc5c1Stron | -silent | --silent | --silen | --sile | --sil) 1042644fc5c1Stron silent=yes ;; 1043644fc5c1Stron 1044644fc5c1Stron -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1045644fc5c1Stron ac_prev=sbindir ;; 1046644fc5c1Stron -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1047644fc5c1Stron | --sbi=* | --sb=*) 1048644fc5c1Stron sbindir=$ac_optarg ;; 1049644fc5c1Stron 1050644fc5c1Stron -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1051644fc5c1Stron | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1052644fc5c1Stron | --sharedst | --shareds | --shared | --share | --shar \ 1053644fc5c1Stron | --sha | --sh) 1054644fc5c1Stron ac_prev=sharedstatedir ;; 1055644fc5c1Stron -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1056644fc5c1Stron | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1057644fc5c1Stron | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1058644fc5c1Stron | --sha=* | --sh=*) 1059644fc5c1Stron sharedstatedir=$ac_optarg ;; 1060644fc5c1Stron 1061644fc5c1Stron -site | --site | --sit) 1062644fc5c1Stron ac_prev=site ;; 1063644fc5c1Stron -site=* | --site=* | --sit=*) 1064644fc5c1Stron site=$ac_optarg ;; 1065644fc5c1Stron 1066644fc5c1Stron -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1067644fc5c1Stron ac_prev=srcdir ;; 1068644fc5c1Stron -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1069644fc5c1Stron srcdir=$ac_optarg ;; 1070644fc5c1Stron 1071644fc5c1Stron -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1072644fc5c1Stron | --syscon | --sysco | --sysc | --sys | --sy) 1073644fc5c1Stron ac_prev=sysconfdir ;; 1074644fc5c1Stron -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1075644fc5c1Stron | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1076644fc5c1Stron sysconfdir=$ac_optarg ;; 1077644fc5c1Stron 1078644fc5c1Stron -target | --target | --targe | --targ | --tar | --ta | --t) 1079644fc5c1Stron ac_prev=target_alias ;; 1080644fc5c1Stron -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1081644fc5c1Stron target_alias=$ac_optarg ;; 1082644fc5c1Stron 1083644fc5c1Stron -v | -verbose | --verbose | --verbos | --verbo | --verb) 1084644fc5c1Stron verbose=yes ;; 1085644fc5c1Stron 1086644fc5c1Stron -version | --version | --versio | --versi | --vers | -V) 1087644fc5c1Stron ac_init_version=: ;; 1088644fc5c1Stron 1089644fc5c1Stron -with-* | --with-*) 10902227fc13Smrg ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1091644fc5c1Stron # Reject names that are not valid shell variable names. 10922227fc13Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 10932227fc13Smrg as_fn_error $? "invalid package name: $ac_useropt" 10942227fc13Smrg ac_useropt_orig=$ac_useropt 10952227fc13Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 10962227fc13Smrg case $ac_user_opts in 10972227fc13Smrg *" 10982227fc13Smrg"with_$ac_useropt" 10992227fc13Smrg"*) ;; 11002227fc13Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 11012227fc13Smrg ac_unrecognized_sep=', ';; 1102644fc5c1Stron esac 11032227fc13Smrg eval with_$ac_useropt=\$ac_optarg ;; 1104644fc5c1Stron 1105644fc5c1Stron -without-* | --without-*) 11062227fc13Smrg ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1107644fc5c1Stron # Reject names that are not valid shell variable names. 11082227fc13Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 11092227fc13Smrg as_fn_error $? "invalid package name: $ac_useropt" 11102227fc13Smrg ac_useropt_orig=$ac_useropt 11112227fc13Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 11122227fc13Smrg case $ac_user_opts in 11132227fc13Smrg *" 11142227fc13Smrg"with_$ac_useropt" 11152227fc13Smrg"*) ;; 11162227fc13Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 11172227fc13Smrg ac_unrecognized_sep=', ';; 11182227fc13Smrg esac 11192227fc13Smrg eval with_$ac_useropt=no ;; 1120644fc5c1Stron 1121644fc5c1Stron --x) 1122644fc5c1Stron # Obsolete; use --with-x. 1123644fc5c1Stron with_x=yes ;; 1124644fc5c1Stron 1125644fc5c1Stron -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1126644fc5c1Stron | --x-incl | --x-inc | --x-in | --x-i) 1127644fc5c1Stron ac_prev=x_includes ;; 1128644fc5c1Stron -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1129644fc5c1Stron | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1130644fc5c1Stron x_includes=$ac_optarg ;; 1131644fc5c1Stron 1132644fc5c1Stron -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1133644fc5c1Stron | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1134644fc5c1Stron ac_prev=x_libraries ;; 1135644fc5c1Stron -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1136644fc5c1Stron | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1137644fc5c1Stron x_libraries=$ac_optarg ;; 1138644fc5c1Stron 11392227fc13Smrg -*) as_fn_error $? "unrecognized option: \`$ac_option' 11402227fc13SmrgTry \`$0 --help' for more information" 1141644fc5c1Stron ;; 1142644fc5c1Stron 1143644fc5c1Stron *=*) 1144644fc5c1Stron ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1145644fc5c1Stron # Reject names that are not valid shell variable names. 11462227fc13Smrg case $ac_envvar in #( 11472227fc13Smrg '' | [0-9]* | *[!_$as_cr_alnum]* ) 11482227fc13Smrg as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 11492227fc13Smrg esac 11502227fc13Smrg eval $ac_envvar=\$ac_optarg 1151644fc5c1Stron export $ac_envvar ;; 1152644fc5c1Stron 1153644fc5c1Stron *) 1154644fc5c1Stron # FIXME: should be removed in autoconf 3.0. 11552227fc13Smrg $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1156644fc5c1Stron expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 11572227fc13Smrg $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 11582227fc13Smrg : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1159644fc5c1Stron ;; 1160644fc5c1Stron 1161644fc5c1Stron esac 1162644fc5c1Strondone 1163644fc5c1Stron 1164644fc5c1Stronif test -n "$ac_prev"; then 1165644fc5c1Stron ac_option=--`echo $ac_prev | sed 's/_/-/g'` 11662227fc13Smrg as_fn_error $? "missing argument to $ac_option" 1167644fc5c1Stronfi 1168644fc5c1Stron 11692227fc13Smrgif test -n "$ac_unrecognized_opts"; then 11702227fc13Smrg case $enable_option_checking in 11712227fc13Smrg no) ;; 11722227fc13Smrg fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 11732227fc13Smrg *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1174644fc5c1Stron esac 11752227fc13Smrgfi 1176644fc5c1Stron 11772227fc13Smrg# Check all directory arguments for consistency. 11782227fc13Smrgfor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 11792227fc13Smrg datadir sysconfdir sharedstatedir localstatedir includedir \ 11802227fc13Smrg oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 11812227fc13Smrg libdir localedir mandir 1182644fc5c1Strondo 11832227fc13Smrg eval ac_val=\$$ac_var 11842227fc13Smrg # Remove trailing slashes. 1185644fc5c1Stron case $ac_val in 11862227fc13Smrg */ ) 11872227fc13Smrg ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 11882227fc13Smrg eval $ac_var=\$ac_val;; 1189644fc5c1Stron esac 11902227fc13Smrg # Be sure to have absolute directory names. 11912227fc13Smrg case $ac_val in 11922227fc13Smrg [\\/$]* | ?:[\\/]* ) continue;; 11932227fc13Smrg NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 11942227fc13Smrg esac 11952227fc13Smrg as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1196644fc5c1Strondone 1197644fc5c1Stron 1198644fc5c1Stron# There might be people who depend on the old broken behavior: `$host' 1199644fc5c1Stron# used to hold the argument of --host etc. 1200644fc5c1Stron# FIXME: To remove some day. 1201644fc5c1Stronbuild=$build_alias 1202644fc5c1Stronhost=$host_alias 1203644fc5c1Strontarget=$target_alias 1204644fc5c1Stron 1205644fc5c1Stron# FIXME: To remove some day. 1206644fc5c1Stronif test "x$host_alias" != x; then 1207644fc5c1Stron if test "x$build_alias" = x; then 1208644fc5c1Stron cross_compiling=maybe 12092227fc13Smrg $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 12102227fc13Smrg If a cross compiler is detected then cross compile mode will be used" >&2 1211644fc5c1Stron elif test "x$build_alias" != "x$host_alias"; then 1212644fc5c1Stron cross_compiling=yes 1213644fc5c1Stron fi 1214644fc5c1Stronfi 1215644fc5c1Stron 1216644fc5c1Stronac_tool_prefix= 1217644fc5c1Strontest -n "$host_alias" && ac_tool_prefix=$host_alias- 1218644fc5c1Stron 1219644fc5c1Strontest "$silent" = yes && exec 6>/dev/null 1220644fc5c1Stron 1221644fc5c1Stron 12222227fc13Smrgac_pwd=`pwd` && test -n "$ac_pwd" && 12232227fc13Smrgac_ls_di=`ls -di .` && 12242227fc13Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 12252227fc13Smrg as_fn_error $? "working directory cannot be determined" 12262227fc13Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" || 12272227fc13Smrg as_fn_error $? "pwd does not report name of working directory" 12282227fc13Smrg 12292227fc13Smrg 1230644fc5c1Stron# Find the source files, if location was not specified. 1231644fc5c1Stronif test -z "$srcdir"; then 1232644fc5c1Stron ac_srcdir_defaulted=yes 12332227fc13Smrg # Try the directory containing this script, then the parent directory. 12342227fc13Smrg ac_confdir=`$as_dirname -- "$as_myself" || 12352227fc13Smrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12362227fc13Smrg X"$as_myself" : 'X\(//\)[^/]' \| \ 12372227fc13Smrg X"$as_myself" : 'X\(//\)$' \| \ 12382227fc13Smrg X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 12392227fc13Smrg$as_echo X"$as_myself" | 12402227fc13Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12412227fc13Smrg s//\1/ 12422227fc13Smrg q 12432227fc13Smrg } 12442227fc13Smrg /^X\(\/\/\)[^/].*/{ 12452227fc13Smrg s//\1/ 12462227fc13Smrg q 12472227fc13Smrg } 12482227fc13Smrg /^X\(\/\/\)$/{ 12492227fc13Smrg s//\1/ 12502227fc13Smrg q 12512227fc13Smrg } 12522227fc13Smrg /^X\(\/\).*/{ 12532227fc13Smrg s//\1/ 12542227fc13Smrg q 12552227fc13Smrg } 12562227fc13Smrg s/.*/./; q'` 1257644fc5c1Stron srcdir=$ac_confdir 12582227fc13Smrg if test ! -r "$srcdir/$ac_unique_file"; then 1259644fc5c1Stron srcdir=.. 1260644fc5c1Stron fi 1261644fc5c1Stronelse 1262644fc5c1Stron ac_srcdir_defaulted=no 1263644fc5c1Stronfi 12642227fc13Smrgif test ! -r "$srcdir/$ac_unique_file"; then 12652227fc13Smrg test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 12662227fc13Smrg as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 12672227fc13Smrgfi 12682227fc13Smrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 12692227fc13Smrgac_abs_confdir=`( 12702227fc13Smrg cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 12712227fc13Smrg pwd)` 12722227fc13Smrg# When building in place, set srcdir=. 12732227fc13Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then 12742227fc13Smrg srcdir=. 1275644fc5c1Stronfi 12762227fc13Smrg# Remove unnecessary trailing slashes from srcdir. 12772227fc13Smrg# Double slashes in file names in object file debugging info 12782227fc13Smrg# mess up M-x gdb in Emacs. 12792227fc13Smrgcase $srcdir in 12802227fc13Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 12812227fc13Smrgesac 12822227fc13Smrgfor ac_var in $ac_precious_vars; do 12832227fc13Smrg eval ac_env_${ac_var}_set=\${${ac_var}+set} 12842227fc13Smrg eval ac_env_${ac_var}_value=\$${ac_var} 12852227fc13Smrg eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 12862227fc13Smrg eval ac_cv_env_${ac_var}_value=\$${ac_var} 12872227fc13Smrgdone 1288644fc5c1Stron 1289644fc5c1Stron# 1290644fc5c1Stron# Report the --help message. 1291644fc5c1Stron# 1292644fc5c1Stronif test "$ac_init_help" = "long"; then 1293644fc5c1Stron # Omit some internal or obsolete options to make the list less imposing. 1294644fc5c1Stron # This message is too long to be a string in the A/UX 3.1 sh. 1295644fc5c1Stron cat <<_ACEOF 12962227fc13Smrg\`configure' configures font-sony-misc 1.0.3 to adapt to many kinds of systems. 1297644fc5c1Stron 1298644fc5c1StronUsage: $0 [OPTION]... [VAR=VALUE]... 1299644fc5c1Stron 1300644fc5c1StronTo assign environment variables (e.g., CC, CFLAGS...), specify them as 1301644fc5c1StronVAR=VALUE. See below for descriptions of some of the useful variables. 1302644fc5c1Stron 1303644fc5c1StronDefaults for the options are specified in brackets. 1304644fc5c1Stron 1305644fc5c1StronConfiguration: 1306644fc5c1Stron -h, --help display this help and exit 1307644fc5c1Stron --help=short display options specific to this package 1308644fc5c1Stron --help=recursive display the short help of all the included packages 1309644fc5c1Stron -V, --version display version information and exit 13102227fc13Smrg -q, --quiet, --silent do not print \`checking ...' messages 1311644fc5c1Stron --cache-file=FILE cache test results in FILE [disabled] 1312644fc5c1Stron -C, --config-cache alias for \`--cache-file=config.cache' 1313644fc5c1Stron -n, --no-create do not create output files 1314644fc5c1Stron --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1315644fc5c1Stron 1316644fc5c1StronInstallation directories: 1317644fc5c1Stron --prefix=PREFIX install architecture-independent files in PREFIX 13182227fc13Smrg [$ac_default_prefix] 1319644fc5c1Stron --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 13202227fc13Smrg [PREFIX] 1321644fc5c1Stron 1322644fc5c1StronBy default, \`make install' will install all the files in 1323644fc5c1Stron\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1324644fc5c1Stronan installation prefix other than \`$ac_default_prefix' using \`--prefix', 1325644fc5c1Stronfor instance \`--prefix=\$HOME'. 1326644fc5c1Stron 1327644fc5c1StronFor better control, use the options below. 1328644fc5c1Stron 1329644fc5c1StronFine tuning of the installation directories: 13302227fc13Smrg --bindir=DIR user executables [EPREFIX/bin] 13312227fc13Smrg --sbindir=DIR system admin executables [EPREFIX/sbin] 13322227fc13Smrg --libexecdir=DIR program executables [EPREFIX/libexec] 13332227fc13Smrg --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 13342227fc13Smrg --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 13352227fc13Smrg --localstatedir=DIR modifiable single-machine data [PREFIX/var] 13362227fc13Smrg --libdir=DIR object code libraries [EPREFIX/lib] 13372227fc13Smrg --includedir=DIR C header files [PREFIX/include] 13382227fc13Smrg --oldincludedir=DIR C header files for non-gcc [/usr/include] 13392227fc13Smrg --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 13402227fc13Smrg --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 13412227fc13Smrg --infodir=DIR info documentation [DATAROOTDIR/info] 13422227fc13Smrg --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 13432227fc13Smrg --mandir=DIR man documentation [DATAROOTDIR/man] 13442227fc13Smrg --docdir=DIR documentation root [DATAROOTDIR/doc/font-sony-misc] 13452227fc13Smrg --htmldir=DIR html documentation [DOCDIR] 13462227fc13Smrg --dvidir=DIR dvi documentation [DOCDIR] 13472227fc13Smrg --pdfdir=DIR pdf documentation [DOCDIR] 13482227fc13Smrg --psdir=DIR ps documentation [DOCDIR] 1349644fc5c1Stron_ACEOF 1350644fc5c1Stron 1351644fc5c1Stron cat <<\_ACEOF 1352644fc5c1Stron 1353644fc5c1StronProgram names: 1354644fc5c1Stron --program-prefix=PREFIX prepend PREFIX to installed program names 1355644fc5c1Stron --program-suffix=SUFFIX append SUFFIX to installed program names 1356644fc5c1Stron --program-transform-name=PROGRAM run sed PROGRAM on installed program names 13572227fc13Smrg 13582227fc13SmrgSystem types: 13592227fc13Smrg --build=BUILD configure for building on BUILD [guessed] 13602227fc13Smrg --host=HOST cross-compile to build programs to run on HOST [BUILD] 1361644fc5c1Stron_ACEOF 1362644fc5c1Stronfi 1363644fc5c1Stron 1364644fc5c1Stronif test -n "$ac_init_help"; then 1365644fc5c1Stron case $ac_init_help in 13662227fc13Smrg short | recursive ) echo "Configuration of font-sony-misc 1.0.3:";; 1367644fc5c1Stron esac 1368644fc5c1Stron cat <<\_ACEOF 1369644fc5c1Stron 1370644fc5c1StronOptional Features: 13712227fc13Smrg --disable-option-checking ignore unrecognized --enable/--with options 1372644fc5c1Stron --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1373644fc5c1Stron --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 13742227fc13Smrg --enable-maintainer-mode enable make rules and dependencies not useful 13752227fc13Smrg (and sometimes confusing) to the casual installer 13762227fc13Smrg --disable-dependency-tracking speeds up one-time build 13772227fc13Smrg --enable-dependency-tracking do not reject slow dependency extractors 13782227fc13Smrg --enable-strict-compilation 13792227fc13Smrg Enable all warnings from compiler and make them 13802227fc13Smrg errors (default: disabled) 13812227fc13Smrg --enable-silent-rules less verbose build output (undo: `make V=1') 13822227fc13Smrg --disable-silent-rules verbose build output (undo: `make V=0') 1383644fc5c1Stron 1384644fc5c1StronOptional Packages: 1385644fc5c1Stron --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1386644fc5c1Stron --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 13872227fc13Smrg --with-fontrootdir=DIR Path to root directory for font files 13882227fc13Smrg --with-fontdir=DIR Path to misc files [FONTROOTDIR/misc] 13892227fc13Smrg --with-compression=<no|compress|gzip|bzip2> 13902227fc13Smrg compression method to use on pcf fonts 13912227fc13Smrg 13922227fc13SmrgSome influential environment variables: 13932227fc13Smrg CC C compiler command 13942227fc13Smrg CFLAGS C compiler flags 13952227fc13Smrg LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 13962227fc13Smrg nonstandard directory <lib dir> 13972227fc13Smrg LIBS libraries to pass to the linker, e.g. -l<library> 13982227fc13Smrg CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 13992227fc13Smrg you have headers in a nonstandard directory <include dir> 14002227fc13Smrg CPP C preprocessor 14012227fc13Smrg PKG_CONFIG path to pkg-config utility 14022227fc13Smrg PKG_CONFIG_PATH 14032227fc13Smrg directories to add to pkg-config's search path 14042227fc13Smrg PKG_CONFIG_LIBDIR 14052227fc13Smrg path overriding pkg-config's built-in search path 14062227fc13Smrg 14072227fc13SmrgUse these variables to override the choices made by `configure' or to help 14082227fc13Smrgit to find libraries and programs with nonstandard names/locations. 1409644fc5c1Stron 1410644fc5c1StronReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 1411644fc5c1Stron_ACEOF 14122227fc13Smrgac_status=$? 1413644fc5c1Stronfi 1414644fc5c1Stron 1415644fc5c1Stronif test "$ac_init_help" = "recursive"; then 1416644fc5c1Stron # If there are subdirs, report their specific --help. 1417644fc5c1Stron for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 14182227fc13Smrg test -d "$ac_dir" || 14192227fc13Smrg { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 14202227fc13Smrg continue 1421644fc5c1Stron ac_builddir=. 1422644fc5c1Stron 14232227fc13Smrgcase "$ac_dir" in 14242227fc13Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 14252227fc13Smrg*) 14262227fc13Smrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 14272227fc13Smrg # A ".." for each directory in $ac_dir_suffix. 14282227fc13Smrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 14292227fc13Smrg case $ac_top_builddir_sub in 14302227fc13Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 14312227fc13Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 14322227fc13Smrg esac ;; 14332227fc13Smrgesac 14342227fc13Smrgac_abs_top_builddir=$ac_pwd 14352227fc13Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 14362227fc13Smrg# for backward compatibility: 14372227fc13Smrgac_top_builddir=$ac_top_build_prefix 1438644fc5c1Stron 1439644fc5c1Stroncase $srcdir in 14402227fc13Smrg .) # We are building in place. 1441644fc5c1Stron ac_srcdir=. 14422227fc13Smrg ac_top_srcdir=$ac_top_builddir_sub 14432227fc13Smrg ac_abs_top_srcdir=$ac_pwd ;; 14442227fc13Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 1445644fc5c1Stron ac_srcdir=$srcdir$ac_dir_suffix; 14462227fc13Smrg ac_top_srcdir=$srcdir 14472227fc13Smrg ac_abs_top_srcdir=$srcdir ;; 14482227fc13Smrg *) # Relative name. 14492227fc13Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 14502227fc13Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 14512227fc13Smrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1452644fc5c1Stronesac 14532227fc13Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 14542227fc13Smrg 14552227fc13Smrg cd "$ac_dir" || { ac_status=$?; continue; } 14562227fc13Smrg # Check for guested configure. 14572227fc13Smrg if test -f "$ac_srcdir/configure.gnu"; then 14582227fc13Smrg echo && 14592227fc13Smrg $SHELL "$ac_srcdir/configure.gnu" --help=recursive 14602227fc13Smrg elif test -f "$ac_srcdir/configure"; then 14612227fc13Smrg echo && 14622227fc13Smrg $SHELL "$ac_srcdir/configure" --help=recursive 1463644fc5c1Stron else 14642227fc13Smrg $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 14652227fc13Smrg fi || ac_status=$? 14662227fc13Smrg cd "$ac_pwd" || { ac_status=$?; break; } 1467644fc5c1Stron done 1468644fc5c1Stronfi 1469644fc5c1Stron 14702227fc13Smrgtest -n "$ac_init_help" && exit $ac_status 1471644fc5c1Stronif $ac_init_version; then 1472644fc5c1Stron cat <<\_ACEOF 14732227fc13Smrgfont-sony-misc configure 1.0.3 14742227fc13Smrggenerated by GNU Autoconf 2.68 1475644fc5c1Stron 14762227fc13SmrgCopyright (C) 2010 Free Software Foundation, Inc. 1477644fc5c1StronThis configure script is free software; the Free Software Foundation 1478644fc5c1Strongives unlimited permission to copy, distribute and modify it. 1479644fc5c1Stron_ACEOF 14802227fc13Smrg exit 1481644fc5c1Stronfi 14822227fc13Smrg 14832227fc13Smrg## ------------------------ ## 14842227fc13Smrg## Autoconf initialization. ## 14852227fc13Smrg## ------------------------ ## 14862227fc13Smrg 14872227fc13Smrg# ac_fn_c_try_compile LINENO 14882227fc13Smrg# -------------------------- 14892227fc13Smrg# Try to compile conftest.$ac_ext, and return whether this succeeded. 14902227fc13Smrgac_fn_c_try_compile () 14912227fc13Smrg{ 14922227fc13Smrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 14932227fc13Smrg rm -f conftest.$ac_objext 14942227fc13Smrg if { { ac_try="$ac_compile" 14952227fc13Smrgcase "(($ac_try" in 14962227fc13Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14972227fc13Smrg *) ac_try_echo=$ac_try;; 14982227fc13Smrgesac 14992227fc13Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 15002227fc13Smrg$as_echo "$ac_try_echo"; } >&5 15012227fc13Smrg (eval "$ac_compile") 2>conftest.err 15022227fc13Smrg ac_status=$? 15032227fc13Smrg if test -s conftest.err; then 15042227fc13Smrg grep -v '^ *+' conftest.err >conftest.er1 15052227fc13Smrg cat conftest.er1 >&5 15062227fc13Smrg mv -f conftest.er1 conftest.err 15072227fc13Smrg fi 15082227fc13Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15092227fc13Smrg test $ac_status = 0; } && { 15102227fc13Smrg test -z "$ac_c_werror_flag" || 15112227fc13Smrg test ! -s conftest.err 15122227fc13Smrg } && test -s conftest.$ac_objext; then : 15132227fc13Smrg ac_retval=0 15142227fc13Smrgelse 15152227fc13Smrg $as_echo "$as_me: failed program was:" >&5 15162227fc13Smrgsed 's/^/| /' conftest.$ac_ext >&5 15172227fc13Smrg 15182227fc13Smrg ac_retval=1 15192227fc13Smrgfi 15202227fc13Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 15212227fc13Smrg as_fn_set_status $ac_retval 15222227fc13Smrg 15232227fc13Smrg} # ac_fn_c_try_compile 15242227fc13Smrg 15252227fc13Smrg# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 15262227fc13Smrg# --------------------------------------------- 15272227fc13Smrg# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 15282227fc13Smrg# accordingly. 15292227fc13Smrgac_fn_c_check_decl () 15302227fc13Smrg{ 15312227fc13Smrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 15322227fc13Smrg as_decl_name=`echo $2|sed 's/ *(.*//'` 15332227fc13Smrg as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 15342227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 15352227fc13Smrg$as_echo_n "checking whether $as_decl_name is declared... " >&6; } 15362227fc13Smrgif eval \${$3+:} false; then : 15372227fc13Smrg $as_echo_n "(cached) " >&6 15382227fc13Smrgelse 15392227fc13Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15402227fc13Smrg/* end confdefs.h. */ 15412227fc13Smrg$4 15422227fc13Smrgint 15432227fc13Smrgmain () 15442227fc13Smrg{ 15452227fc13Smrg#ifndef $as_decl_name 15462227fc13Smrg#ifdef __cplusplus 15472227fc13Smrg (void) $as_decl_use; 15482227fc13Smrg#else 15492227fc13Smrg (void) $as_decl_name; 15502227fc13Smrg#endif 15512227fc13Smrg#endif 15522227fc13Smrg 15532227fc13Smrg ; 15542227fc13Smrg return 0; 15552227fc13Smrg} 15562227fc13Smrg_ACEOF 15572227fc13Smrgif ac_fn_c_try_compile "$LINENO"; then : 15582227fc13Smrg eval "$3=yes" 15592227fc13Smrgelse 15602227fc13Smrg eval "$3=no" 15612227fc13Smrgfi 15622227fc13Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15632227fc13Smrgfi 15642227fc13Smrgeval ac_res=\$$3 15652227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 15662227fc13Smrg$as_echo "$ac_res" >&6; } 15672227fc13Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 15682227fc13Smrg 15692227fc13Smrg} # ac_fn_c_check_decl 15702227fc13Smrg 15712227fc13Smrg# ac_fn_c_try_cpp LINENO 15722227fc13Smrg# ---------------------- 15732227fc13Smrg# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 15742227fc13Smrgac_fn_c_try_cpp () 15752227fc13Smrg{ 15762227fc13Smrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 15772227fc13Smrg if { { ac_try="$ac_cpp conftest.$ac_ext" 15782227fc13Smrgcase "(($ac_try" in 15792227fc13Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15802227fc13Smrg *) ac_try_echo=$ac_try;; 15812227fc13Smrgesac 15822227fc13Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 15832227fc13Smrg$as_echo "$ac_try_echo"; } >&5 15842227fc13Smrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 15852227fc13Smrg ac_status=$? 15862227fc13Smrg if test -s conftest.err; then 15872227fc13Smrg grep -v '^ *+' conftest.err >conftest.er1 15882227fc13Smrg cat conftest.er1 >&5 15892227fc13Smrg mv -f conftest.er1 conftest.err 15902227fc13Smrg fi 15912227fc13Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15922227fc13Smrg test $ac_status = 0; } > conftest.i && { 15932227fc13Smrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 15942227fc13Smrg test ! -s conftest.err 15952227fc13Smrg }; then : 15962227fc13Smrg ac_retval=0 15972227fc13Smrgelse 15982227fc13Smrg $as_echo "$as_me: failed program was:" >&5 15992227fc13Smrgsed 's/^/| /' conftest.$ac_ext >&5 16002227fc13Smrg 16012227fc13Smrg ac_retval=1 16022227fc13Smrgfi 16032227fc13Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 16042227fc13Smrg as_fn_set_status $ac_retval 16052227fc13Smrg 16062227fc13Smrg} # ac_fn_c_try_cpp 16072227fc13Smrg 16082227fc13Smrg# ac_fn_c_try_run LINENO 16092227fc13Smrg# ---------------------- 16102227fc13Smrg# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 16112227fc13Smrg# that executables *can* be run. 16122227fc13Smrgac_fn_c_try_run () 16132227fc13Smrg{ 16142227fc13Smrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 16152227fc13Smrg if { { ac_try="$ac_link" 16162227fc13Smrgcase "(($ac_try" in 16172227fc13Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16182227fc13Smrg *) ac_try_echo=$ac_try;; 16192227fc13Smrgesac 16202227fc13Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 16212227fc13Smrg$as_echo "$ac_try_echo"; } >&5 16222227fc13Smrg (eval "$ac_link") 2>&5 16232227fc13Smrg ac_status=$? 16242227fc13Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16252227fc13Smrg test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 16262227fc13Smrg { { case "(($ac_try" in 16272227fc13Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16282227fc13Smrg *) ac_try_echo=$ac_try;; 16292227fc13Smrgesac 16302227fc13Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 16312227fc13Smrg$as_echo "$ac_try_echo"; } >&5 16322227fc13Smrg (eval "$ac_try") 2>&5 16332227fc13Smrg ac_status=$? 16342227fc13Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16352227fc13Smrg test $ac_status = 0; }; }; then : 16362227fc13Smrg ac_retval=0 16372227fc13Smrgelse 16382227fc13Smrg $as_echo "$as_me: program exited with status $ac_status" >&5 16392227fc13Smrg $as_echo "$as_me: failed program was:" >&5 16402227fc13Smrgsed 's/^/| /' conftest.$ac_ext >&5 16412227fc13Smrg 16422227fc13Smrg ac_retval=$ac_status 16432227fc13Smrgfi 16442227fc13Smrg rm -rf conftest.dSYM conftest_ipa8_conftest.oo 16452227fc13Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 16462227fc13Smrg as_fn_set_status $ac_retval 16472227fc13Smrg 16482227fc13Smrg} # ac_fn_c_try_run 16492227fc13Smrg 16502227fc13Smrg# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 16512227fc13Smrg# ------------------------------------------------------- 16522227fc13Smrg# Tests whether HEADER exists and can be compiled using the include files in 16532227fc13Smrg# INCLUDES, setting the cache variable VAR accordingly. 16542227fc13Smrgac_fn_c_check_header_compile () 16552227fc13Smrg{ 16562227fc13Smrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 16572227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 16582227fc13Smrg$as_echo_n "checking for $2... " >&6; } 16592227fc13Smrgif eval \${$3+:} false; then : 16602227fc13Smrg $as_echo_n "(cached) " >&6 16612227fc13Smrgelse 16622227fc13Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16632227fc13Smrg/* end confdefs.h. */ 16642227fc13Smrg$4 16652227fc13Smrg#include <$2> 16662227fc13Smrg_ACEOF 16672227fc13Smrgif ac_fn_c_try_compile "$LINENO"; then : 16682227fc13Smrg eval "$3=yes" 16692227fc13Smrgelse 16702227fc13Smrg eval "$3=no" 16712227fc13Smrgfi 16722227fc13Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16732227fc13Smrgfi 16742227fc13Smrgeval ac_res=\$$3 16752227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 16762227fc13Smrg$as_echo "$ac_res" >&6; } 16772227fc13Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 16782227fc13Smrg 16792227fc13Smrg} # ac_fn_c_check_header_compile 16802227fc13Smrgcat >config.log <<_ACEOF 1681644fc5c1StronThis file contains any messages produced by compilers while 1682644fc5c1Stronrunning configure, to aid debugging if configure makes a mistake. 1683644fc5c1Stron 16842227fc13SmrgIt was created by font-sony-misc $as_me 1.0.3, which was 16852227fc13Smrggenerated by GNU Autoconf 2.68. Invocation command line was 1686644fc5c1Stron 1687644fc5c1Stron $ $0 $@ 1688644fc5c1Stron 1689644fc5c1Stron_ACEOF 16902227fc13Smrgexec 5>>config.log 1691644fc5c1Stron{ 1692644fc5c1Stroncat <<_ASUNAME 1693644fc5c1Stron## --------- ## 1694644fc5c1Stron## Platform. ## 1695644fc5c1Stron## --------- ## 1696644fc5c1Stron 1697644fc5c1Stronhostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1698644fc5c1Stronuname -m = `(uname -m) 2>/dev/null || echo unknown` 1699644fc5c1Stronuname -r = `(uname -r) 2>/dev/null || echo unknown` 1700644fc5c1Stronuname -s = `(uname -s) 2>/dev/null || echo unknown` 1701644fc5c1Stronuname -v = `(uname -v) 2>/dev/null || echo unknown` 1702644fc5c1Stron 1703644fc5c1Stron/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1704644fc5c1Stron/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1705644fc5c1Stron 1706644fc5c1Stron/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1707644fc5c1Stron/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1708644fc5c1Stron/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 17092227fc13Smrg/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1710644fc5c1Stron/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1711644fc5c1Stron/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1712644fc5c1Stron/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1713644fc5c1Stron 1714644fc5c1Stron_ASUNAME 1715644fc5c1Stron 1716644fc5c1Stronas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1717644fc5c1Stronfor as_dir in $PATH 1718644fc5c1Strondo 1719644fc5c1Stron IFS=$as_save_IFS 1720644fc5c1Stron test -z "$as_dir" && as_dir=. 17212227fc13Smrg $as_echo "PATH: $as_dir" 17222227fc13Smrg done 17232227fc13SmrgIFS=$as_save_IFS 1724644fc5c1Stron 1725644fc5c1Stron} >&5 1726644fc5c1Stron 1727644fc5c1Stroncat >&5 <<_ACEOF 1728644fc5c1Stron 1729644fc5c1Stron 1730644fc5c1Stron## ----------- ## 1731644fc5c1Stron## Core tests. ## 1732644fc5c1Stron## ----------- ## 1733644fc5c1Stron 1734644fc5c1Stron_ACEOF 1735644fc5c1Stron 1736644fc5c1Stron 1737644fc5c1Stron# Keep a trace of the command line. 1738644fc5c1Stron# Strip out --no-create and --no-recursion so they do not pile up. 1739644fc5c1Stron# Strip out --silent because we don't want to record it for future runs. 1740644fc5c1Stron# Also quote any args containing shell meta-characters. 1741644fc5c1Stron# Make two passes to allow for proper duplicate-argument suppression. 1742644fc5c1Stronac_configure_args= 1743644fc5c1Stronac_configure_args0= 1744644fc5c1Stronac_configure_args1= 1745644fc5c1Stronac_must_keep_next=false 1746644fc5c1Stronfor ac_pass in 1 2 1747644fc5c1Strondo 1748644fc5c1Stron for ac_arg 1749644fc5c1Stron do 1750644fc5c1Stron case $ac_arg in 1751644fc5c1Stron -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1752644fc5c1Stron -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1753644fc5c1Stron | -silent | --silent | --silen | --sile | --sil) 1754644fc5c1Stron continue ;; 17552227fc13Smrg *\'*) 17562227fc13Smrg ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1757644fc5c1Stron esac 1758644fc5c1Stron case $ac_pass in 17592227fc13Smrg 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1760644fc5c1Stron 2) 17612227fc13Smrg as_fn_append ac_configure_args1 " '$ac_arg'" 1762644fc5c1Stron if test $ac_must_keep_next = true; then 1763644fc5c1Stron ac_must_keep_next=false # Got value, back to normal. 1764644fc5c1Stron else 1765644fc5c1Stron case $ac_arg in 1766644fc5c1Stron *=* | --config-cache | -C | -disable-* | --disable-* \ 1767644fc5c1Stron | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1768644fc5c1Stron | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1769644fc5c1Stron | -with-* | --with-* | -without-* | --without-* | --x) 1770644fc5c1Stron case "$ac_configure_args0 " in 1771644fc5c1Stron "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1772644fc5c1Stron esac 1773644fc5c1Stron ;; 1774644fc5c1Stron -* ) ac_must_keep_next=true ;; 1775644fc5c1Stron esac 1776644fc5c1Stron fi 17772227fc13Smrg as_fn_append ac_configure_args " '$ac_arg'" 1778644fc5c1Stron ;; 1779644fc5c1Stron esac 1780644fc5c1Stron done 1781644fc5c1Strondone 17822227fc13Smrg{ ac_configure_args0=; unset ac_configure_args0;} 17832227fc13Smrg{ ac_configure_args1=; unset ac_configure_args1;} 1784644fc5c1Stron 1785644fc5c1Stron# When interrupted or exit'd, cleanup temporary files, and complete 1786644fc5c1Stron# config.log. We remove comments because anyway the quotes in there 1787644fc5c1Stron# would cause problems or look ugly. 17882227fc13Smrg# WARNING: Use '\'' to represent an apostrophe within the trap. 17892227fc13Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1790644fc5c1Strontrap 'exit_status=$? 1791644fc5c1Stron # Save into config.log some information that might help in debugging. 1792644fc5c1Stron { 1793644fc5c1Stron echo 1794644fc5c1Stron 17952227fc13Smrg $as_echo "## ---------------- ## 1796644fc5c1Stron## Cache variables. ## 17972227fc13Smrg## ---------------- ##" 1798644fc5c1Stron echo 1799644fc5c1Stron # The following way of writing the cache mishandles newlines in values, 18002227fc13Smrg( 18012227fc13Smrg for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 18022227fc13Smrg eval ac_val=\$$ac_var 18032227fc13Smrg case $ac_val in #( 18042227fc13Smrg *${as_nl}*) 18052227fc13Smrg case $ac_var in #( 18062227fc13Smrg *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 18072227fc13Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 18082227fc13Smrg esac 18092227fc13Smrg case $ac_var in #( 18102227fc13Smrg _ | IFS | as_nl) ;; #( 18112227fc13Smrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 18122227fc13Smrg *) { eval $ac_var=; unset $ac_var;} ;; 18132227fc13Smrg esac ;; 18142227fc13Smrg esac 18152227fc13Smrg done 1816644fc5c1Stron (set) 2>&1 | 18172227fc13Smrg case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 18182227fc13Smrg *${as_nl}ac_space=\ *) 1819644fc5c1Stron sed -n \ 18202227fc13Smrg "s/'\''/'\''\\\\'\'''\''/g; 18212227fc13Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 18222227fc13Smrg ;; #( 1823644fc5c1Stron *) 18242227fc13Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1825644fc5c1Stron ;; 18262227fc13Smrg esac | 18272227fc13Smrg sort 18282227fc13Smrg) 1829644fc5c1Stron echo 1830644fc5c1Stron 18312227fc13Smrg $as_echo "## ----------------- ## 1832644fc5c1Stron## Output variables. ## 18332227fc13Smrg## ----------------- ##" 1834644fc5c1Stron echo 1835644fc5c1Stron for ac_var in $ac_subst_vars 1836644fc5c1Stron do 18372227fc13Smrg eval ac_val=\$$ac_var 18382227fc13Smrg case $ac_val in 18392227fc13Smrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 18402227fc13Smrg esac 18412227fc13Smrg $as_echo "$ac_var='\''$ac_val'\''" 1842644fc5c1Stron done | sort 1843644fc5c1Stron echo 1844644fc5c1Stron 1845644fc5c1Stron if test -n "$ac_subst_files"; then 18462227fc13Smrg $as_echo "## ------------------- ## 18472227fc13Smrg## File substitutions. ## 18482227fc13Smrg## ------------------- ##" 1849644fc5c1Stron echo 1850644fc5c1Stron for ac_var in $ac_subst_files 1851644fc5c1Stron do 18522227fc13Smrg eval ac_val=\$$ac_var 18532227fc13Smrg case $ac_val in 18542227fc13Smrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 18552227fc13Smrg esac 18562227fc13Smrg $as_echo "$ac_var='\''$ac_val'\''" 1857644fc5c1Stron done | sort 1858644fc5c1Stron echo 1859644fc5c1Stron fi 1860644fc5c1Stron 1861644fc5c1Stron if test -s confdefs.h; then 18622227fc13Smrg $as_echo "## ----------- ## 1863644fc5c1Stron## confdefs.h. ## 18642227fc13Smrg## ----------- ##" 1865644fc5c1Stron echo 18662227fc13Smrg cat confdefs.h 1867644fc5c1Stron echo 1868644fc5c1Stron fi 1869644fc5c1Stron test "$ac_signal" != 0 && 18702227fc13Smrg $as_echo "$as_me: caught signal $ac_signal" 18712227fc13Smrg $as_echo "$as_me: exit $exit_status" 1872644fc5c1Stron } >&5 18732227fc13Smrg rm -f core *.core core.conftest.* && 18742227fc13Smrg rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1875644fc5c1Stron exit $exit_status 18762227fc13Smrg' 0 1877644fc5c1Stronfor ac_signal in 1 2 13 15; do 18782227fc13Smrg trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1879644fc5c1Strondone 1880644fc5c1Stronac_signal=0 1881644fc5c1Stron 1882644fc5c1Stron# confdefs.h avoids OS command line length limits that DEFS can exceed. 18832227fc13Smrgrm -f -r conftest* confdefs.h 18842227fc13Smrg 18852227fc13Smrg$as_echo "/* confdefs.h */" > confdefs.h 1886644fc5c1Stron 1887644fc5c1Stron# Predefined preprocessor variables. 1888644fc5c1Stron 1889644fc5c1Stroncat >>confdefs.h <<_ACEOF 1890644fc5c1Stron#define PACKAGE_NAME "$PACKAGE_NAME" 1891644fc5c1Stron_ACEOF 1892644fc5c1Stron 1893644fc5c1Stroncat >>confdefs.h <<_ACEOF 1894644fc5c1Stron#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1895644fc5c1Stron_ACEOF 1896644fc5c1Stron 1897644fc5c1Stroncat >>confdefs.h <<_ACEOF 1898644fc5c1Stron#define PACKAGE_VERSION "$PACKAGE_VERSION" 1899644fc5c1Stron_ACEOF 1900644fc5c1Stron 1901644fc5c1Stroncat >>confdefs.h <<_ACEOF 1902644fc5c1Stron#define PACKAGE_STRING "$PACKAGE_STRING" 1903644fc5c1Stron_ACEOF 1904644fc5c1Stron 1905644fc5c1Stroncat >>confdefs.h <<_ACEOF 1906644fc5c1Stron#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1907644fc5c1Stron_ACEOF 1908644fc5c1Stron 19092227fc13Smrgcat >>confdefs.h <<_ACEOF 19102227fc13Smrg#define PACKAGE_URL "$PACKAGE_URL" 19112227fc13Smrg_ACEOF 19122227fc13Smrg 1913644fc5c1Stron 1914644fc5c1Stron# Let the site file select an alternate cache file if it wants to. 19152227fc13Smrg# Prefer an explicitly selected file to automatically selected ones. 19162227fc13Smrgac_site_file1=NONE 19172227fc13Smrgac_site_file2=NONE 19182227fc13Smrgif test -n "$CONFIG_SITE"; then 19192227fc13Smrg # We do not want a PATH search for config.site. 19202227fc13Smrg case $CONFIG_SITE in #(( 19212227fc13Smrg -*) ac_site_file1=./$CONFIG_SITE;; 19222227fc13Smrg */*) ac_site_file1=$CONFIG_SITE;; 19232227fc13Smrg *) ac_site_file1=./$CONFIG_SITE;; 19242227fc13Smrg esac 19252227fc13Smrgelif test "x$prefix" != xNONE; then 19262227fc13Smrg ac_site_file1=$prefix/share/config.site 19272227fc13Smrg ac_site_file2=$prefix/etc/config.site 19282227fc13Smrgelse 19292227fc13Smrg ac_site_file1=$ac_default_prefix/share/config.site 19302227fc13Smrg ac_site_file2=$ac_default_prefix/etc/config.site 1931644fc5c1Stronfi 19322227fc13Smrgfor ac_site_file in "$ac_site_file1" "$ac_site_file2" 19332227fc13Smrgdo 19342227fc13Smrg test "x$ac_site_file" = xNONE && continue 19352227fc13Smrg if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 19362227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 19372227fc13Smrg$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1938644fc5c1Stron sed 's/^/| /' "$ac_site_file" >&5 19392227fc13Smrg . "$ac_site_file" \ 19402227fc13Smrg || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19412227fc13Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19422227fc13Smrgas_fn_error $? "failed to load site script $ac_site_file 19432227fc13SmrgSee \`config.log' for more details" "$LINENO" 5; } 1944644fc5c1Stron fi 1945644fc5c1Strondone 1946644fc5c1Stron 1947644fc5c1Stronif test -r "$cache_file"; then 19482227fc13Smrg # Some versions of bash will fail to source /dev/null (special files 19492227fc13Smrg # actually), so we avoid doing that. DJGPP emulates it as a regular file. 19502227fc13Smrg if test /dev/null != "$cache_file" && test -f "$cache_file"; then 19512227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 19522227fc13Smrg$as_echo "$as_me: loading cache $cache_file" >&6;} 1953644fc5c1Stron case $cache_file in 19542227fc13Smrg [\\/]* | ?:[\\/]* ) . "$cache_file";; 19552227fc13Smrg *) . "./$cache_file";; 1956644fc5c1Stron esac 1957644fc5c1Stron fi 1958644fc5c1Stronelse 19592227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 19602227fc13Smrg$as_echo "$as_me: creating cache $cache_file" >&6;} 1961644fc5c1Stron >$cache_file 1962644fc5c1Stronfi 1963644fc5c1Stron 1964644fc5c1Stron# Check that the precious variables saved in the cache have kept the same 1965644fc5c1Stron# value. 1966644fc5c1Stronac_cache_corrupted=false 19672227fc13Smrgfor ac_var in $ac_precious_vars; do 1968644fc5c1Stron eval ac_old_set=\$ac_cv_env_${ac_var}_set 1969644fc5c1Stron eval ac_new_set=\$ac_env_${ac_var}_set 19702227fc13Smrg eval ac_old_val=\$ac_cv_env_${ac_var}_value 19712227fc13Smrg eval ac_new_val=\$ac_env_${ac_var}_value 1972644fc5c1Stron case $ac_old_set,$ac_new_set in 1973644fc5c1Stron set,) 19742227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 19752227fc13Smrg$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1976644fc5c1Stron ac_cache_corrupted=: ;; 1977644fc5c1Stron ,set) 19782227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 19792227fc13Smrg$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1980644fc5c1Stron ac_cache_corrupted=: ;; 1981644fc5c1Stron ,);; 1982644fc5c1Stron *) 1983644fc5c1Stron if test "x$ac_old_val" != "x$ac_new_val"; then 19842227fc13Smrg # differences in whitespace do not lead to failure. 19852227fc13Smrg ac_old_val_w=`echo x $ac_old_val` 19862227fc13Smrg ac_new_val_w=`echo x $ac_new_val` 19872227fc13Smrg if test "$ac_old_val_w" != "$ac_new_val_w"; then 19882227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 19892227fc13Smrg$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 19902227fc13Smrg ac_cache_corrupted=: 19912227fc13Smrg else 19922227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 19932227fc13Smrg$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 19942227fc13Smrg eval $ac_var=\$ac_old_val 19952227fc13Smrg fi 19962227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 19972227fc13Smrg$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 19982227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 19992227fc13Smrg$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2000644fc5c1Stron fi;; 2001644fc5c1Stron esac 2002644fc5c1Stron # Pass precious variables to config.status. 2003644fc5c1Stron if test "$ac_new_set" = set; then 2004644fc5c1Stron case $ac_new_val in 20052227fc13Smrg *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2006644fc5c1Stron *) ac_arg=$ac_var=$ac_new_val ;; 2007644fc5c1Stron esac 2008644fc5c1Stron case " $ac_configure_args " in 2009644fc5c1Stron *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 20102227fc13Smrg *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2011644fc5c1Stron esac 2012644fc5c1Stron fi 2013644fc5c1Strondone 2014644fc5c1Stronif $ac_cache_corrupted; then 20152227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20162227fc13Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20172227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 20182227fc13Smrg$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 20192227fc13Smrg as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2020644fc5c1Stronfi 20212227fc13Smrg## -------------------- ## 20222227fc13Smrg## Main body of script. ## 20232227fc13Smrg## -------------------- ## 2024644fc5c1Stron 2025644fc5c1Stronac_ext=c 2026644fc5c1Stronac_cpp='$CPP $CPPFLAGS' 2027644fc5c1Stronac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2028644fc5c1Stronac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2029644fc5c1Stronac_compiler_gnu=$ac_cv_c_compiler_gnu 2030644fc5c1Stron 2031644fc5c1Stron 20322227fc13Smrgam__api_version='1.11' 2033644fc5c1Stron 2034644fc5c1Stronac_aux_dir= 20352227fc13Smrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 20362227fc13Smrg if test -f "$ac_dir/install-sh"; then 2037644fc5c1Stron ac_aux_dir=$ac_dir 2038644fc5c1Stron ac_install_sh="$ac_aux_dir/install-sh -c" 2039644fc5c1Stron break 20402227fc13Smrg elif test -f "$ac_dir/install.sh"; then 2041644fc5c1Stron ac_aux_dir=$ac_dir 2042644fc5c1Stron ac_install_sh="$ac_aux_dir/install.sh -c" 2043644fc5c1Stron break 20442227fc13Smrg elif test -f "$ac_dir/shtool"; then 2045644fc5c1Stron ac_aux_dir=$ac_dir 2046644fc5c1Stron ac_install_sh="$ac_aux_dir/shtool install -c" 2047644fc5c1Stron break 2048644fc5c1Stron fi 2049644fc5c1Strondone 2050644fc5c1Stronif test -z "$ac_aux_dir"; then 20512227fc13Smrg as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2052644fc5c1Stronfi 20532227fc13Smrg 20542227fc13Smrg# These three variables are undocumented and unsupported, 20552227fc13Smrg# and are intended to be withdrawn in a future Autoconf release. 20562227fc13Smrg# They can cause serious problems if a builder's source tree is in a directory 20572227fc13Smrg# whose full name contains unusual characters. 20582227fc13Smrgac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 20592227fc13Smrgac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 20602227fc13Smrgac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 20612227fc13Smrg 2062644fc5c1Stron 2063644fc5c1Stron# Find a good install program. We prefer a C program (faster), 2064644fc5c1Stron# so one script is as good as another. But avoid the broken or 2065644fc5c1Stron# incompatible versions: 2066644fc5c1Stron# SysV /etc/install, /usr/sbin/install 2067644fc5c1Stron# SunOS /usr/etc/install 2068644fc5c1Stron# IRIX /sbin/install 2069644fc5c1Stron# AIX /bin/install 2070644fc5c1Stron# AmigaOS /C/install, which installs bootblocks on floppy discs 2071644fc5c1Stron# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2072644fc5c1Stron# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2073644fc5c1Stron# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2074644fc5c1Stron# OS/2's system install, which has a completely different semantic 2075644fc5c1Stron# ./install, which can be erroneously created by make from ./install.sh. 20762227fc13Smrg# Reject install programs that cannot install multiple files. 20772227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 20782227fc13Smrg$as_echo_n "checking for a BSD-compatible install... " >&6; } 2079644fc5c1Stronif test -z "$INSTALL"; then 20802227fc13Smrgif ${ac_cv_path_install+:} false; then : 20812227fc13Smrg $as_echo_n "(cached) " >&6 2082644fc5c1Stronelse 2083644fc5c1Stron as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2084644fc5c1Stronfor as_dir in $PATH 2085644fc5c1Strondo 2086644fc5c1Stron IFS=$as_save_IFS 2087644fc5c1Stron test -z "$as_dir" && as_dir=. 20882227fc13Smrg # Account for people who put trailing slashes in PATH elements. 20892227fc13Smrgcase $as_dir/ in #(( 20902227fc13Smrg ./ | .// | /[cC]/* | \ 2091644fc5c1Stron /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 20922227fc13Smrg ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2093644fc5c1Stron /usr/ucb/* ) ;; 2094644fc5c1Stron *) 2095644fc5c1Stron # OSF1 and SCO ODT 3.0 have their own names for install. 2096644fc5c1Stron # Don't use installbsd from OSF since it installs stuff as root 2097644fc5c1Stron # by default. 2098644fc5c1Stron for ac_prog in ginstall scoinst install; do 2099644fc5c1Stron for ac_exec_ext in '' $ac_executable_extensions; do 21002227fc13Smrg if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2101644fc5c1Stron if test $ac_prog = install && 2102644fc5c1Stron grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2103644fc5c1Stron # AIX install. It has an incompatible calling convention. 2104644fc5c1Stron : 2105644fc5c1Stron elif test $ac_prog = install && 2106644fc5c1Stron grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2107644fc5c1Stron # program-specific install script used by HP pwplus--don't use. 2108644fc5c1Stron : 2109644fc5c1Stron else 21102227fc13Smrg rm -rf conftest.one conftest.two conftest.dir 21112227fc13Smrg echo one > conftest.one 21122227fc13Smrg echo two > conftest.two 21132227fc13Smrg mkdir conftest.dir 21142227fc13Smrg if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 21152227fc13Smrg test -s conftest.one && test -s conftest.two && 21162227fc13Smrg test -s conftest.dir/conftest.one && 21172227fc13Smrg test -s conftest.dir/conftest.two 21182227fc13Smrg then 21192227fc13Smrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 21202227fc13Smrg break 3 21212227fc13Smrg fi 2122644fc5c1Stron fi 2123644fc5c1Stron fi 2124644fc5c1Stron done 2125644fc5c1Stron done 2126644fc5c1Stron ;; 2127644fc5c1Stronesac 2128644fc5c1Stron 21292227fc13Smrg done 21302227fc13SmrgIFS=$as_save_IFS 21312227fc13Smrg 21322227fc13Smrgrm -rf conftest.one conftest.two conftest.dir 2133644fc5c1Stron 2134644fc5c1Stronfi 2135644fc5c1Stron if test "${ac_cv_path_install+set}" = set; then 2136644fc5c1Stron INSTALL=$ac_cv_path_install 2137644fc5c1Stron else 21382227fc13Smrg # As a last resort, use the slow shell script. Don't cache a 21392227fc13Smrg # value for INSTALL within a source directory, because that will 2140644fc5c1Stron # break other packages using the cache if that directory is 21412227fc13Smrg # removed, or if the value is a relative name. 2142644fc5c1Stron INSTALL=$ac_install_sh 2143644fc5c1Stron fi 2144644fc5c1Stronfi 21452227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 21462227fc13Smrg$as_echo "$INSTALL" >&6; } 2147644fc5c1Stron 2148644fc5c1Stron# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2149644fc5c1Stron# It thinks the first close brace ends the variable substitution. 2150644fc5c1Strontest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2151644fc5c1Stron 2152644fc5c1Strontest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2153644fc5c1Stron 2154644fc5c1Strontest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2155644fc5c1Stron 21562227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 21572227fc13Smrg$as_echo_n "checking whether build environment is sane... " >&6; } 2158644fc5c1Stron# Just in case 2159644fc5c1Stronsleep 1 2160644fc5c1Stronecho timestamp > conftest.file 21612227fc13Smrg# Reject unsafe characters in $srcdir or the absolute working directory 21622227fc13Smrg# name. Accept space and tab only in the latter. 21632227fc13Smrgam_lf=' 21642227fc13Smrg' 21652227fc13Smrgcase `pwd` in 21662227fc13Smrg *[\\\"\#\$\&\'\`$am_lf]*) 21672227fc13Smrg as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 21682227fc13Smrgesac 21692227fc13Smrgcase $srcdir in 21702227fc13Smrg *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 21712227fc13Smrg as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 21722227fc13Smrgesac 21732227fc13Smrg 2174644fc5c1Stron# Do `set' in a subshell so we don't clobber the current shell's 2175644fc5c1Stron# arguments. Must try -L first in case configure is actually a 2176644fc5c1Stron# symlink; some systems play weird games with the mod time of symlinks 2177644fc5c1Stron# (eg FreeBSD returns the mod time of the symlink's containing 2178644fc5c1Stron# directory). 2179644fc5c1Stronif ( 21802227fc13Smrg set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2181644fc5c1Stron if test "$*" = "X"; then 2182644fc5c1Stron # -L didn't work. 21832227fc13Smrg set X `ls -t "$srcdir/configure" conftest.file` 2184644fc5c1Stron fi 2185644fc5c1Stron rm -f conftest.file 2186644fc5c1Stron if test "$*" != "X $srcdir/configure conftest.file" \ 2187644fc5c1Stron && test "$*" != "X conftest.file $srcdir/configure"; then 2188644fc5c1Stron 2189644fc5c1Stron # If neither matched, then we have a broken ls. This can happen 2190644fc5c1Stron # if, for instance, CONFIG_SHELL is bash and it inherits a 2191644fc5c1Stron # broken ls alias from the environment. This has actually 2192644fc5c1Stron # happened. Such a system could not be considered "sane". 21932227fc13Smrg as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 21942227fc13Smrgalias in your environment" "$LINENO" 5 2195644fc5c1Stron fi 2196644fc5c1Stron 2197644fc5c1Stron test "$2" = conftest.file 2198644fc5c1Stron ) 2199644fc5c1Stronthen 2200644fc5c1Stron # Ok. 2201644fc5c1Stron : 2202644fc5c1Stronelse 22032227fc13Smrg as_fn_error $? "newly created file is older than distributed files! 22042227fc13SmrgCheck your system clock" "$LINENO" 5 2205644fc5c1Stronfi 22062227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 22072227fc13Smrg$as_echo "yes" >&6; } 2208644fc5c1Strontest "$program_prefix" != NONE && 22092227fc13Smrg program_transform_name="s&^&$program_prefix&;$program_transform_name" 2210644fc5c1Stron# Use a double $ so make ignores it. 2211644fc5c1Strontest "$program_suffix" != NONE && 22122227fc13Smrg program_transform_name="s&\$&$program_suffix&;$program_transform_name" 22132227fc13Smrg# Double any \ or $. 2214644fc5c1Stron# By default was `s,x,x', remove it if useless. 22152227fc13Smrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 22162227fc13Smrgprogram_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2217644fc5c1Stron 2218644fc5c1Stron# expand $ac_aux_dir to an absolute path 2219644fc5c1Stronam_aux_dir=`cd $ac_aux_dir && pwd` 2220644fc5c1Stron 22212227fc13Smrgif test x"${MISSING+set}" != xset; then 22222227fc13Smrg case $am_aux_dir in 22232227fc13Smrg *\ * | *\ *) 22242227fc13Smrg MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 22252227fc13Smrg *) 22262227fc13Smrg MISSING="\${SHELL} $am_aux_dir/missing" ;; 22272227fc13Smrg esac 22282227fc13Smrgfi 2229644fc5c1Stron# Use eval to expand $SHELL 2230644fc5c1Stronif eval "$MISSING --run true"; then 2231644fc5c1Stron am_missing_run="$MISSING --run " 2232644fc5c1Stronelse 2233644fc5c1Stron am_missing_run= 22342227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 22352227fc13Smrg$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 22362227fc13Smrgfi 22372227fc13Smrg 22382227fc13Smrgif test x"${install_sh}" != xset; then 22392227fc13Smrg case $am_aux_dir in 22402227fc13Smrg *\ * | *\ *) 22412227fc13Smrg install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 22422227fc13Smrg *) 22432227fc13Smrg install_sh="\${SHELL} $am_aux_dir/install-sh" 22442227fc13Smrg esac 22452227fc13Smrgfi 22462227fc13Smrg 22472227fc13Smrg# Installed binaries are usually stripped using `strip' when the user 22482227fc13Smrg# run `make install-strip'. However `strip' might not be the right 22492227fc13Smrg# tool to use in cross-compilation environments, therefore Automake 22502227fc13Smrg# will honor the `STRIP' environment variable to overrule this program. 22512227fc13Smrgif test "$cross_compiling" != no; then 22522227fc13Smrg if test -n "$ac_tool_prefix"; then 22532227fc13Smrg # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 22542227fc13Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2 22552227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22562227fc13Smrg$as_echo_n "checking for $ac_word... " >&6; } 22572227fc13Smrgif ${ac_cv_prog_STRIP+:} false; then : 22582227fc13Smrg $as_echo_n "(cached) " >&6 22592227fc13Smrgelse 22602227fc13Smrg if test -n "$STRIP"; then 22612227fc13Smrg ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 22622227fc13Smrgelse 22632227fc13Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22642227fc13Smrgfor as_dir in $PATH 22652227fc13Smrgdo 22662227fc13Smrg IFS=$as_save_IFS 22672227fc13Smrg test -z "$as_dir" && as_dir=. 22682227fc13Smrg for ac_exec_ext in '' $ac_executable_extensions; do 22692227fc13Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 22702227fc13Smrg ac_cv_prog_STRIP="${ac_tool_prefix}strip" 22712227fc13Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 22722227fc13Smrg break 2 22732227fc13Smrg fi 22742227fc13Smrgdone 22752227fc13Smrg done 22762227fc13SmrgIFS=$as_save_IFS 22772227fc13Smrg 22782227fc13Smrgfi 22792227fc13Smrgfi 22802227fc13SmrgSTRIP=$ac_cv_prog_STRIP 22812227fc13Smrgif test -n "$STRIP"; then 22822227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 22832227fc13Smrg$as_echo "$STRIP" >&6; } 22842227fc13Smrgelse 22852227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22862227fc13Smrg$as_echo "no" >&6; } 22872227fc13Smrgfi 22882227fc13Smrg 22892227fc13Smrg 22902227fc13Smrgfi 22912227fc13Smrgif test -z "$ac_cv_prog_STRIP"; then 22922227fc13Smrg ac_ct_STRIP=$STRIP 22932227fc13Smrg # Extract the first word of "strip", so it can be a program name with args. 22942227fc13Smrgset dummy strip; ac_word=$2 22952227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22962227fc13Smrg$as_echo_n "checking for $ac_word... " >&6; } 22972227fc13Smrgif ${ac_cv_prog_ac_ct_STRIP+:} false; then : 22982227fc13Smrg $as_echo_n "(cached) " >&6 22992227fc13Smrgelse 23002227fc13Smrg if test -n "$ac_ct_STRIP"; then 23012227fc13Smrg ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 23022227fc13Smrgelse 23032227fc13Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23042227fc13Smrgfor as_dir in $PATH 23052227fc13Smrgdo 23062227fc13Smrg IFS=$as_save_IFS 23072227fc13Smrg test -z "$as_dir" && as_dir=. 23082227fc13Smrg for ac_exec_ext in '' $ac_executable_extensions; do 23092227fc13Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 23102227fc13Smrg ac_cv_prog_ac_ct_STRIP="strip" 23112227fc13Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23122227fc13Smrg break 2 23132227fc13Smrg fi 23142227fc13Smrgdone 23152227fc13Smrg done 23162227fc13SmrgIFS=$as_save_IFS 23172227fc13Smrg 23182227fc13Smrgfi 23192227fc13Smrgfi 23202227fc13Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 23212227fc13Smrgif test -n "$ac_ct_STRIP"; then 23222227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 23232227fc13Smrg$as_echo "$ac_ct_STRIP" >&6; } 23242227fc13Smrgelse 23252227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23262227fc13Smrg$as_echo "no" >&6; } 23272227fc13Smrgfi 23282227fc13Smrg 23292227fc13Smrg if test "x$ac_ct_STRIP" = x; then 23302227fc13Smrg STRIP=":" 23312227fc13Smrg else 23322227fc13Smrg case $cross_compiling:$ac_tool_warned in 23332227fc13Smrgyes:) 23342227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 23352227fc13Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 23362227fc13Smrgac_tool_warned=yes ;; 23372227fc13Smrgesac 23382227fc13Smrg STRIP=$ac_ct_STRIP 23392227fc13Smrg fi 23402227fc13Smrgelse 23412227fc13Smrg STRIP="$ac_cv_prog_STRIP" 23422227fc13Smrgfi 23432227fc13Smrg 23442227fc13Smrgfi 23452227fc13SmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 23462227fc13Smrg 23472227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 23482227fc13Smrg$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 23492227fc13Smrgif test -z "$MKDIR_P"; then 23502227fc13Smrg if ${ac_cv_path_mkdir+:} false; then : 23512227fc13Smrg $as_echo_n "(cached) " >&6 23522227fc13Smrgelse 23532227fc13Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23542227fc13Smrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 23552227fc13Smrgdo 23562227fc13Smrg IFS=$as_save_IFS 23572227fc13Smrg test -z "$as_dir" && as_dir=. 23582227fc13Smrg for ac_prog in mkdir gmkdir; do 23592227fc13Smrg for ac_exec_ext in '' $ac_executable_extensions; do 23602227fc13Smrg { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 23612227fc13Smrg case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 23622227fc13Smrg 'mkdir (GNU coreutils) '* | \ 23632227fc13Smrg 'mkdir (coreutils) '* | \ 23642227fc13Smrg 'mkdir (fileutils) '4.1*) 23652227fc13Smrg ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 23662227fc13Smrg break 3;; 23672227fc13Smrg esac 23682227fc13Smrg done 23692227fc13Smrg done 23702227fc13Smrg done 23712227fc13SmrgIFS=$as_save_IFS 23722227fc13Smrg 23732227fc13Smrgfi 23742227fc13Smrg 23752227fc13Smrg test -d ./--version && rmdir ./--version 23762227fc13Smrg if test "${ac_cv_path_mkdir+set}" = set; then 23772227fc13Smrg MKDIR_P="$ac_cv_path_mkdir -p" 23782227fc13Smrg else 23792227fc13Smrg # As a last resort, use the slow shell script. Don't cache a 23802227fc13Smrg # value for MKDIR_P within a source directory, because that will 23812227fc13Smrg # break other packages using the cache if that directory is 23822227fc13Smrg # removed, or if the value is a relative name. 23832227fc13Smrg MKDIR_P="$ac_install_sh -d" 23842227fc13Smrg fi 2385644fc5c1Stronfi 23862227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 23872227fc13Smrg$as_echo "$MKDIR_P" >&6; } 23882227fc13Smrg 23892227fc13Smrgmkdir_p="$MKDIR_P" 23902227fc13Smrgcase $mkdir_p in 23912227fc13Smrg [\\/$]* | ?:[\\/]*) ;; 23922227fc13Smrg */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 23932227fc13Smrgesac 2394644fc5c1Stron 2395644fc5c1Stronfor ac_prog in gawk mawk nawk awk 2396644fc5c1Strondo 2397644fc5c1Stron # Extract the first word of "$ac_prog", so it can be a program name with args. 2398644fc5c1Stronset dummy $ac_prog; ac_word=$2 23992227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 24002227fc13Smrg$as_echo_n "checking for $ac_word... " >&6; } 24012227fc13Smrgif ${ac_cv_prog_AWK+:} false; then : 24022227fc13Smrg $as_echo_n "(cached) " >&6 2403644fc5c1Stronelse 2404644fc5c1Stron if test -n "$AWK"; then 2405644fc5c1Stron ac_cv_prog_AWK="$AWK" # Let the user override the test. 2406644fc5c1Stronelse 2407644fc5c1Stronas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2408644fc5c1Stronfor as_dir in $PATH 2409644fc5c1Strondo 2410644fc5c1Stron IFS=$as_save_IFS 2411644fc5c1Stron test -z "$as_dir" && as_dir=. 24122227fc13Smrg for ac_exec_ext in '' $ac_executable_extensions; do 24132227fc13Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2414644fc5c1Stron ac_cv_prog_AWK="$ac_prog" 24152227fc13Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2416644fc5c1Stron break 2 2417644fc5c1Stron fi 2418644fc5c1Strondone 24192227fc13Smrg done 24202227fc13SmrgIFS=$as_save_IFS 2421644fc5c1Stron 2422644fc5c1Stronfi 2423644fc5c1Stronfi 2424644fc5c1StronAWK=$ac_cv_prog_AWK 2425644fc5c1Stronif test -n "$AWK"; then 24262227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 24272227fc13Smrg$as_echo "$AWK" >&6; } 2428644fc5c1Stronelse 24292227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24302227fc13Smrg$as_echo "no" >&6; } 2431644fc5c1Stronfi 2432644fc5c1Stron 24332227fc13Smrg 2434644fc5c1Stron test -n "$AWK" && break 2435644fc5c1Strondone 2436644fc5c1Stron 24372227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 24382227fc13Smrg$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 24392227fc13Smrgset x ${MAKE-make} 24402227fc13Smrgac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 24412227fc13Smrgif eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 24422227fc13Smrg $as_echo_n "(cached) " >&6 2443644fc5c1Stronelse 2444644fc5c1Stron cat >conftest.make <<\_ACEOF 24452227fc13SmrgSHELL = /bin/sh 2446644fc5c1Stronall: 24472227fc13Smrg @echo '@@@%%%=$(MAKE)=@@@%%%' 2448644fc5c1Stron_ACEOF 24492227fc13Smrg# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 24502227fc13Smrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in 24512227fc13Smrg *@@@%%%=?*=@@@%%%*) 24522227fc13Smrg eval ac_cv_prog_make_${ac_make}_set=yes;; 24532227fc13Smrg *) 24542227fc13Smrg eval ac_cv_prog_make_${ac_make}_set=no;; 24552227fc13Smrgesac 2456644fc5c1Stronrm -f conftest.make 2457644fc5c1Stronfi 24582227fc13Smrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 24592227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24602227fc13Smrg$as_echo "yes" >&6; } 2461644fc5c1Stron SET_MAKE= 2462644fc5c1Stronelse 24632227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24642227fc13Smrg$as_echo "no" >&6; } 2465644fc5c1Stron SET_MAKE="MAKE=${MAKE-make}" 2466644fc5c1Stronfi 2467644fc5c1Stron 2468644fc5c1Stronrm -rf .tst 2>/dev/null 2469644fc5c1Stronmkdir .tst 2>/dev/null 2470644fc5c1Stronif test -d .tst; then 2471644fc5c1Stron am__leading_dot=. 2472644fc5c1Stronelse 2473644fc5c1Stron am__leading_dot=_ 2474644fc5c1Stronfi 2475644fc5c1Stronrmdir .tst 2>/dev/null 2476644fc5c1Stron 24772227fc13Smrgif test "`cd $srcdir && pwd`" != "`pwd`"; then 24782227fc13Smrg # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 24792227fc13Smrg # is not polluted with repeated "-I." 24802227fc13Smrg am__isrc=' -I$(srcdir)' 24812227fc13Smrg # test to see if srcdir already configured 24822227fc13Smrg if test -f $srcdir/config.status; then 24832227fc13Smrg as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 24842227fc13Smrg fi 2485644fc5c1Stronfi 2486644fc5c1Stron 2487644fc5c1Stron# test whether we have cygpath 2488644fc5c1Stronif test -z "$CYGPATH_W"; then 2489644fc5c1Stron if (cygpath --version) >/dev/null 2>/dev/null; then 2490644fc5c1Stron CYGPATH_W='cygpath -w' 2491644fc5c1Stron else 2492644fc5c1Stron CYGPATH_W=echo 2493644fc5c1Stron fi 2494644fc5c1Stronfi 2495644fc5c1Stron 2496644fc5c1Stron 2497644fc5c1Stron# Define the identity of the package. 2498644fc5c1Stron PACKAGE='font-sony-misc' 24992227fc13Smrg VERSION='1.0.3' 2500644fc5c1Stron 2501644fc5c1Stron 2502644fc5c1Stroncat >>confdefs.h <<_ACEOF 2503644fc5c1Stron#define PACKAGE "$PACKAGE" 2504644fc5c1Stron_ACEOF 2505644fc5c1Stron 2506644fc5c1Stron 2507644fc5c1Stroncat >>confdefs.h <<_ACEOF 2508644fc5c1Stron#define VERSION "$VERSION" 2509644fc5c1Stron_ACEOF 2510644fc5c1Stron 2511644fc5c1Stron# Some tools Automake needs. 2512644fc5c1Stron 2513644fc5c1StronACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2514644fc5c1Stron 2515644fc5c1Stron 2516644fc5c1StronAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2517644fc5c1Stron 2518644fc5c1Stron 2519644fc5c1StronAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2520644fc5c1Stron 2521644fc5c1Stron 2522644fc5c1StronAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2523644fc5c1Stron 2524644fc5c1Stron 2525644fc5c1StronMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2526644fc5c1Stron 25272227fc13Smrg# We need awk for the "check" target. The system "awk" is bad on 25282227fc13Smrg# some platforms. 25292227fc13Smrg# Always define AMTAR for backward compatibility. 2530644fc5c1Stron 2531644fc5c1StronAMTAR=${AMTAR-"${am_missing_run}tar"} 2532644fc5c1Stron 25332227fc13Smrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2534644fc5c1Stron 25352227fc13Smrg 25362227fc13Smrg 25372227fc13Smrg 25382227fc13Smrg 25392227fc13Smrg 25402227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 25412227fc13Smrg$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 25422227fc13Smrg # Check whether --enable-maintainer-mode was given. 25432227fc13Smrgif test "${enable_maintainer_mode+set}" = set; then : 25442227fc13Smrg enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2545644fc5c1Stronelse 25462227fc13Smrg USE_MAINTAINER_MODE=no 25472227fc13Smrgfi 25482227fc13Smrg 25492227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 25502227fc13Smrg$as_echo "$USE_MAINTAINER_MODE" >&6; } 25512227fc13Smrg if test $USE_MAINTAINER_MODE = yes; then 25522227fc13Smrg MAINTAINER_MODE_TRUE= 25532227fc13Smrg MAINTAINER_MODE_FALSE='#' 25542227fc13Smrgelse 25552227fc13Smrg MAINTAINER_MODE_TRUE='#' 25562227fc13Smrg MAINTAINER_MODE_FALSE= 25572227fc13Smrgfi 25582227fc13Smrg 25592227fc13Smrg MAINT=$MAINTAINER_MODE_TRUE 25602227fc13Smrg 25612227fc13Smrg 25622227fc13Smrg 25632227fc13Smrg# Require xorg-macros: XORG_DEFAULT_OPTIONS 25642227fc13Smrg 25652227fc13Smrg 25662227fc13Smrg 25672227fc13Smrg 25682227fc13Smrg 25692227fc13Smrg 25702227fc13Smrg 25712227fc13Smrg 25722227fc13Smrg 25732227fc13Smrg 25742227fc13Smrg 25752227fc13SmrgDEPDIR="${am__leading_dot}deps" 25762227fc13Smrg 25772227fc13Smrgac_config_commands="$ac_config_commands depfiles" 25782227fc13Smrg 25792227fc13Smrg 25802227fc13Smrgam_make=${MAKE-make} 25812227fc13Smrgcat > confinc << 'END' 25822227fc13Smrgam__doit: 25832227fc13Smrg @echo this is the am__doit target 25842227fc13Smrg.PHONY: am__doit 25852227fc13SmrgEND 25862227fc13Smrg# If we don't find an include directive, just comment out the code. 25872227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 25882227fc13Smrg$as_echo_n "checking for style of include used by $am_make... " >&6; } 25892227fc13Smrgam__include="#" 25902227fc13Smrgam__quote= 25912227fc13Smrg_am_result=none 25922227fc13Smrg# First try GNU make style include. 25932227fc13Smrgecho "include confinc" > confmf 25942227fc13Smrg# Ignore all kinds of additional output from `make'. 25952227fc13Smrgcase `$am_make -s -f confmf 2> /dev/null` in #( 25962227fc13Smrg*the\ am__doit\ target*) 25972227fc13Smrg am__include=include 25982227fc13Smrg am__quote= 25992227fc13Smrg _am_result=GNU 26002227fc13Smrg ;; 26012227fc13Smrgesac 26022227fc13Smrg# Now try BSD make style include. 26032227fc13Smrgif test "$am__include" = "#"; then 26042227fc13Smrg echo '.include "confinc"' > confmf 26052227fc13Smrg case `$am_make -s -f confmf 2> /dev/null` in #( 26062227fc13Smrg *the\ am__doit\ target*) 26072227fc13Smrg am__include=.include 26082227fc13Smrg am__quote="\"" 26092227fc13Smrg _am_result=BSD 26102227fc13Smrg ;; 26112227fc13Smrg esac 26122227fc13Smrgfi 26132227fc13Smrg 26142227fc13Smrg 26152227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 26162227fc13Smrg$as_echo "$_am_result" >&6; } 26172227fc13Smrgrm -f confinc confmf 26182227fc13Smrg 26192227fc13Smrg# Check whether --enable-dependency-tracking was given. 26202227fc13Smrgif test "${enable_dependency_tracking+set}" = set; then : 26212227fc13Smrg enableval=$enable_dependency_tracking; 26222227fc13Smrgfi 26232227fc13Smrg 26242227fc13Smrgif test "x$enable_dependency_tracking" != xno; then 26252227fc13Smrg am_depcomp="$ac_aux_dir/depcomp" 26262227fc13Smrg AMDEPBACKSLASH='\' 26272227fc13Smrgfi 26282227fc13Smrg if test "x$enable_dependency_tracking" != xno; then 26292227fc13Smrg AMDEP_TRUE= 26302227fc13Smrg AMDEP_FALSE='#' 26312227fc13Smrgelse 26322227fc13Smrg AMDEP_TRUE='#' 26332227fc13Smrg AMDEP_FALSE= 26342227fc13Smrgfi 26352227fc13Smrg 26362227fc13Smrg 26372227fc13Smrgac_ext=c 26382227fc13Smrgac_cpp='$CPP $CPPFLAGS' 26392227fc13Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 26402227fc13Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 26412227fc13Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 26422227fc13Smrgif test -n "$ac_tool_prefix"; then 26432227fc13Smrg # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 26442227fc13Smrgset dummy ${ac_tool_prefix}gcc; ac_word=$2 26452227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 26462227fc13Smrg$as_echo_n "checking for $ac_word... " >&6; } 26472227fc13Smrgif ${ac_cv_prog_CC+:} false; then : 26482227fc13Smrg $as_echo_n "(cached) " >&6 26492227fc13Smrgelse 26502227fc13Smrg if test -n "$CC"; then 26512227fc13Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 2652644fc5c1Stronelse 2653644fc5c1Stronas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2654644fc5c1Stronfor as_dir in $PATH 2655644fc5c1Strondo 2656644fc5c1Stron IFS=$as_save_IFS 2657644fc5c1Stron test -z "$as_dir" && as_dir=. 26582227fc13Smrg for ac_exec_ext in '' $ac_executable_extensions; do 26592227fc13Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 26602227fc13Smrg ac_cv_prog_CC="${ac_tool_prefix}gcc" 26612227fc13Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2662644fc5c1Stron break 2 2663644fc5c1Stron fi 2664644fc5c1Strondone 26652227fc13Smrg done 26662227fc13SmrgIFS=$as_save_IFS 2667644fc5c1Stron 2668644fc5c1Stronfi 2669644fc5c1Stronfi 26702227fc13SmrgCC=$ac_cv_prog_CC 26712227fc13Smrgif test -n "$CC"; then 26722227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 26732227fc13Smrg$as_echo "$CC" >&6; } 2674644fc5c1Stronelse 26752227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26762227fc13Smrg$as_echo "no" >&6; } 2677644fc5c1Stronfi 2678644fc5c1Stron 26792227fc13Smrg 2680644fc5c1Stronfi 26812227fc13Smrgif test -z "$ac_cv_prog_CC"; then 26822227fc13Smrg ac_ct_CC=$CC 26832227fc13Smrg # Extract the first word of "gcc", so it can be a program name with args. 26842227fc13Smrgset dummy gcc; ac_word=$2 26852227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 26862227fc13Smrg$as_echo_n "checking for $ac_word... " >&6; } 26872227fc13Smrgif ${ac_cv_prog_ac_ct_CC+:} false; then : 26882227fc13Smrg $as_echo_n "(cached) " >&6 2689644fc5c1Stronelse 26902227fc13Smrg if test -n "$ac_ct_CC"; then 26912227fc13Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2692644fc5c1Stronelse 2693644fc5c1Stronas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2694644fc5c1Stronfor as_dir in $PATH 2695644fc5c1Strondo 2696644fc5c1Stron IFS=$as_save_IFS 2697644fc5c1Stron test -z "$as_dir" && as_dir=. 26982227fc13Smrg for ac_exec_ext in '' $ac_executable_extensions; do 26992227fc13Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 27002227fc13Smrg ac_cv_prog_ac_ct_CC="gcc" 27012227fc13Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2702644fc5c1Stron break 2 2703644fc5c1Stron fi 2704644fc5c1Strondone 27052227fc13Smrg done 27062227fc13SmrgIFS=$as_save_IFS 2707644fc5c1Stron 2708644fc5c1Stronfi 2709644fc5c1Stronfi 27102227fc13Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 27112227fc13Smrgif test -n "$ac_ct_CC"; then 27122227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 27132227fc13Smrg$as_echo "$ac_ct_CC" >&6; } 2714644fc5c1Stronelse 27152227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27162227fc13Smrg$as_echo "no" >&6; } 2717644fc5c1Stronfi 2718644fc5c1Stron 27192227fc13Smrg if test "x$ac_ct_CC" = x; then 27202227fc13Smrg CC="" 27212227fc13Smrg else 27222227fc13Smrg case $cross_compiling:$ac_tool_warned in 27232227fc13Smrgyes:) 27242227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 27252227fc13Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 27262227fc13Smrgac_tool_warned=yes ;; 27272227fc13Smrgesac 27282227fc13Smrg CC=$ac_ct_CC 27292227fc13Smrg fi 2730644fc5c1Stronelse 27312227fc13Smrg CC="$ac_cv_prog_CC" 2732644fc5c1Stronfi 2733644fc5c1Stron 27342227fc13Smrgif test -z "$CC"; then 27352227fc13Smrg if test -n "$ac_tool_prefix"; then 27362227fc13Smrg # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 27372227fc13Smrgset dummy ${ac_tool_prefix}cc; ac_word=$2 27382227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 27392227fc13Smrg$as_echo_n "checking for $ac_word... " >&6; } 27402227fc13Smrgif ${ac_cv_prog_CC+:} false; then : 27412227fc13Smrg $as_echo_n "(cached) " >&6 27422227fc13Smrgelse 27432227fc13Smrg if test -n "$CC"; then 27442227fc13Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 27452227fc13Smrgelse 27462227fc13Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 27472227fc13Smrgfor as_dir in $PATH 27482227fc13Smrgdo 27492227fc13Smrg IFS=$as_save_IFS 27502227fc13Smrg test -z "$as_dir" && as_dir=. 27512227fc13Smrg for ac_exec_ext in '' $ac_executable_extensions; do 27522227fc13Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 27532227fc13Smrg ac_cv_prog_CC="${ac_tool_prefix}cc" 27542227fc13Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 27552227fc13Smrg break 2 27562227fc13Smrg fi 27572227fc13Smrgdone 27582227fc13Smrg done 27592227fc13SmrgIFS=$as_save_IFS 27602227fc13Smrg 27612227fc13Smrgfi 27622227fc13Smrgfi 27632227fc13SmrgCC=$ac_cv_prog_CC 27642227fc13Smrgif test -n "$CC"; then 27652227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 27662227fc13Smrg$as_echo "$CC" >&6; } 27672227fc13Smrgelse 27682227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27692227fc13Smrg$as_echo "no" >&6; } 27702227fc13Smrgfi 27712227fc13Smrg 27722227fc13Smrg 27732227fc13Smrg fi 27742227fc13Smrgfi 27752227fc13Smrgif test -z "$CC"; then 27762227fc13Smrg # Extract the first word of "cc", so it can be a program name with args. 27772227fc13Smrgset dummy cc; ac_word=$2 27782227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 27792227fc13Smrg$as_echo_n "checking for $ac_word... " >&6; } 27802227fc13Smrgif ${ac_cv_prog_CC+:} false; then : 27812227fc13Smrg $as_echo_n "(cached) " >&6 27822227fc13Smrgelse 27832227fc13Smrg if test -n "$CC"; then 27842227fc13Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 27852227fc13Smrgelse 27862227fc13Smrg ac_prog_rejected=no 27872227fc13Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 27882227fc13Smrgfor as_dir in $PATH 27892227fc13Smrgdo 27902227fc13Smrg IFS=$as_save_IFS 27912227fc13Smrg test -z "$as_dir" && as_dir=. 27922227fc13Smrg for ac_exec_ext in '' $ac_executable_extensions; do 27932227fc13Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 27942227fc13Smrg if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 27952227fc13Smrg ac_prog_rejected=yes 27962227fc13Smrg continue 27972227fc13Smrg fi 27982227fc13Smrg ac_cv_prog_CC="cc" 27992227fc13Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 28002227fc13Smrg break 2 28012227fc13Smrg fi 28022227fc13Smrgdone 28032227fc13Smrg done 28042227fc13SmrgIFS=$as_save_IFS 28052227fc13Smrg 28062227fc13Smrgif test $ac_prog_rejected = yes; then 28072227fc13Smrg # We found a bogon in the path, so make sure we never use it. 28082227fc13Smrg set dummy $ac_cv_prog_CC 28092227fc13Smrg shift 28102227fc13Smrg if test $# != 0; then 28112227fc13Smrg # We chose a different compiler from the bogus one. 28122227fc13Smrg # However, it has the same basename, so the bogon will be chosen 28132227fc13Smrg # first if we set CC to just the basename; use the full file name. 28142227fc13Smrg shift 28152227fc13Smrg ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 28162227fc13Smrg fi 28172227fc13Smrgfi 28182227fc13Smrgfi 28192227fc13Smrgfi 28202227fc13SmrgCC=$ac_cv_prog_CC 28212227fc13Smrgif test -n "$CC"; then 28222227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 28232227fc13Smrg$as_echo "$CC" >&6; } 28242227fc13Smrgelse 28252227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28262227fc13Smrg$as_echo "no" >&6; } 28272227fc13Smrgfi 28282227fc13Smrg 28292227fc13Smrg 28302227fc13Smrgfi 28312227fc13Smrgif test -z "$CC"; then 28322227fc13Smrg if test -n "$ac_tool_prefix"; then 28332227fc13Smrg for ac_prog in cl.exe 28342227fc13Smrg do 28352227fc13Smrg # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 28362227fc13Smrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2 28372227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 28382227fc13Smrg$as_echo_n "checking for $ac_word... " >&6; } 28392227fc13Smrgif ${ac_cv_prog_CC+:} false; then : 28402227fc13Smrg $as_echo_n "(cached) " >&6 28412227fc13Smrgelse 28422227fc13Smrg if test -n "$CC"; then 28432227fc13Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 28442227fc13Smrgelse 28452227fc13Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 28462227fc13Smrgfor as_dir in $PATH 28472227fc13Smrgdo 28482227fc13Smrg IFS=$as_save_IFS 28492227fc13Smrg test -z "$as_dir" && as_dir=. 28502227fc13Smrg for ac_exec_ext in '' $ac_executable_extensions; do 28512227fc13Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 28522227fc13Smrg ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 28532227fc13Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 28542227fc13Smrg break 2 28552227fc13Smrg fi 28562227fc13Smrgdone 28572227fc13Smrg done 28582227fc13SmrgIFS=$as_save_IFS 28592227fc13Smrg 28602227fc13Smrgfi 28612227fc13Smrgfi 28622227fc13SmrgCC=$ac_cv_prog_CC 28632227fc13Smrgif test -n "$CC"; then 28642227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 28652227fc13Smrg$as_echo "$CC" >&6; } 28662227fc13Smrgelse 28672227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28682227fc13Smrg$as_echo "no" >&6; } 28692227fc13Smrgfi 28702227fc13Smrg 28712227fc13Smrg 28722227fc13Smrg test -n "$CC" && break 28732227fc13Smrg done 28742227fc13Smrgfi 28752227fc13Smrgif test -z "$CC"; then 28762227fc13Smrg ac_ct_CC=$CC 28772227fc13Smrg for ac_prog in cl.exe 28782227fc13Smrgdo 28792227fc13Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 28802227fc13Smrgset dummy $ac_prog; ac_word=$2 28812227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 28822227fc13Smrg$as_echo_n "checking for $ac_word... " >&6; } 28832227fc13Smrgif ${ac_cv_prog_ac_ct_CC+:} false; then : 28842227fc13Smrg $as_echo_n "(cached) " >&6 28852227fc13Smrgelse 28862227fc13Smrg if test -n "$ac_ct_CC"; then 28872227fc13Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 28882227fc13Smrgelse 28892227fc13Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 28902227fc13Smrgfor as_dir in $PATH 28912227fc13Smrgdo 28922227fc13Smrg IFS=$as_save_IFS 28932227fc13Smrg test -z "$as_dir" && as_dir=. 28942227fc13Smrg for ac_exec_ext in '' $ac_executable_extensions; do 28952227fc13Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 28962227fc13Smrg ac_cv_prog_ac_ct_CC="$ac_prog" 28972227fc13Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 28982227fc13Smrg break 2 28992227fc13Smrg fi 29002227fc13Smrgdone 29012227fc13Smrg done 29022227fc13SmrgIFS=$as_save_IFS 29032227fc13Smrg 29042227fc13Smrgfi 29052227fc13Smrgfi 29062227fc13Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 29072227fc13Smrgif test -n "$ac_ct_CC"; then 29082227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 29092227fc13Smrg$as_echo "$ac_ct_CC" >&6; } 29102227fc13Smrgelse 29112227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 29122227fc13Smrg$as_echo "no" >&6; } 29132227fc13Smrgfi 29142227fc13Smrg 29152227fc13Smrg 29162227fc13Smrg test -n "$ac_ct_CC" && break 29172227fc13Smrgdone 29182227fc13Smrg 29192227fc13Smrg if test "x$ac_ct_CC" = x; then 29202227fc13Smrg CC="" 29212227fc13Smrg else 29222227fc13Smrg case $cross_compiling:$ac_tool_warned in 29232227fc13Smrgyes:) 29242227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 29252227fc13Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 29262227fc13Smrgac_tool_warned=yes ;; 29272227fc13Smrgesac 29282227fc13Smrg CC=$ac_ct_CC 29292227fc13Smrg fi 29302227fc13Smrgfi 29312227fc13Smrg 29322227fc13Smrgfi 29332227fc13Smrg 29342227fc13Smrg 29352227fc13Smrgtest -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 29362227fc13Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 29372227fc13Smrgas_fn_error $? "no acceptable C compiler found in \$PATH 29382227fc13SmrgSee \`config.log' for more details" "$LINENO" 5; } 29392227fc13Smrg 29402227fc13Smrg# Provide some information about the compiler. 29412227fc13Smrg$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 29422227fc13Smrgset X $ac_compile 29432227fc13Smrgac_compiler=$2 29442227fc13Smrgfor ac_option in --version -v -V -qversion; do 29452227fc13Smrg { { ac_try="$ac_compiler $ac_option >&5" 29462227fc13Smrgcase "(($ac_try" in 29472227fc13Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 29482227fc13Smrg *) ac_try_echo=$ac_try;; 29492227fc13Smrgesac 29502227fc13Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 29512227fc13Smrg$as_echo "$ac_try_echo"; } >&5 29522227fc13Smrg (eval "$ac_compiler $ac_option >&5") 2>conftest.err 29532227fc13Smrg ac_status=$? 29542227fc13Smrg if test -s conftest.err; then 29552227fc13Smrg sed '10a\ 29562227fc13Smrg... rest of stderr output deleted ... 29572227fc13Smrg 10q' conftest.err >conftest.er1 29582227fc13Smrg cat conftest.er1 >&5 29592227fc13Smrg fi 29602227fc13Smrg rm -f conftest.er1 conftest.err 29612227fc13Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 29622227fc13Smrg test $ac_status = 0; } 29632227fc13Smrgdone 29642227fc13Smrg 29652227fc13Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 29662227fc13Smrg/* end confdefs.h. */ 29672227fc13Smrg 29682227fc13Smrgint 29692227fc13Smrgmain () 29702227fc13Smrg{ 29712227fc13Smrg 29722227fc13Smrg ; 29732227fc13Smrg return 0; 29742227fc13Smrg} 29752227fc13Smrg_ACEOF 29762227fc13Smrgac_clean_files_save=$ac_clean_files 29772227fc13Smrgac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 29782227fc13Smrg# Try to create an executable without -o first, disregard a.out. 29792227fc13Smrg# It will help us diagnose broken compilers, and finding out an intuition 29802227fc13Smrg# of exeext. 29812227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 29822227fc13Smrg$as_echo_n "checking whether the C compiler works... " >&6; } 29832227fc13Smrgac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 29842227fc13Smrg 29852227fc13Smrg# The possible output files: 29862227fc13Smrgac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 29872227fc13Smrg 29882227fc13Smrgac_rmfiles= 29892227fc13Smrgfor ac_file in $ac_files 29902227fc13Smrgdo 29912227fc13Smrg case $ac_file in 29922227fc13Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 29932227fc13Smrg * ) ac_rmfiles="$ac_rmfiles $ac_file";; 29942227fc13Smrg esac 29952227fc13Smrgdone 29962227fc13Smrgrm -f $ac_rmfiles 29972227fc13Smrg 29982227fc13Smrgif { { ac_try="$ac_link_default" 29992227fc13Smrgcase "(($ac_try" in 30002227fc13Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 30012227fc13Smrg *) ac_try_echo=$ac_try;; 30022227fc13Smrgesac 30032227fc13Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 30042227fc13Smrg$as_echo "$ac_try_echo"; } >&5 30052227fc13Smrg (eval "$ac_link_default") 2>&5 30062227fc13Smrg ac_status=$? 30072227fc13Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 30082227fc13Smrg test $ac_status = 0; }; then : 30092227fc13Smrg # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 30102227fc13Smrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 30112227fc13Smrg# in a Makefile. We should not override ac_cv_exeext if it was cached, 30122227fc13Smrg# so that the user can short-circuit this test for compilers unknown to 30132227fc13Smrg# Autoconf. 30142227fc13Smrgfor ac_file in $ac_files '' 30152227fc13Smrgdo 30162227fc13Smrg test -f "$ac_file" || continue 30172227fc13Smrg case $ac_file in 30182227fc13Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 30192227fc13Smrg ;; 30202227fc13Smrg [ab].out ) 30212227fc13Smrg # We found the default executable, but exeext='' is most 30222227fc13Smrg # certainly right. 30232227fc13Smrg break;; 30242227fc13Smrg *.* ) 30252227fc13Smrg if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 30262227fc13Smrg then :; else 30272227fc13Smrg ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 30282227fc13Smrg fi 30292227fc13Smrg # We set ac_cv_exeext here because the later test for it is not 30302227fc13Smrg # safe: cross compilers may not add the suffix if given an `-o' 30312227fc13Smrg # argument, so we may need to know it at that point already. 30322227fc13Smrg # Even if this section looks crufty: it has the advantage of 30332227fc13Smrg # actually working. 30342227fc13Smrg break;; 30352227fc13Smrg * ) 30362227fc13Smrg break;; 30372227fc13Smrg esac 30382227fc13Smrgdone 30392227fc13Smrgtest "$ac_cv_exeext" = no && ac_cv_exeext= 30402227fc13Smrg 30412227fc13Smrgelse 30422227fc13Smrg ac_file='' 30432227fc13Smrgfi 30442227fc13Smrgif test -z "$ac_file"; then : 30452227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 30462227fc13Smrg$as_echo "no" >&6; } 30472227fc13Smrg$as_echo "$as_me: failed program was:" >&5 30482227fc13Smrgsed 's/^/| /' conftest.$ac_ext >&5 30492227fc13Smrg 30502227fc13Smrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 30512227fc13Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 30522227fc13Smrgas_fn_error 77 "C compiler cannot create executables 30532227fc13SmrgSee \`config.log' for more details" "$LINENO" 5; } 30542227fc13Smrgelse 30552227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 30562227fc13Smrg$as_echo "yes" >&6; } 30572227fc13Smrgfi 30582227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 30592227fc13Smrg$as_echo_n "checking for C compiler default output file name... " >&6; } 30602227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 30612227fc13Smrg$as_echo "$ac_file" >&6; } 30622227fc13Smrgac_exeext=$ac_cv_exeext 30632227fc13Smrg 30642227fc13Smrgrm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 30652227fc13Smrgac_clean_files=$ac_clean_files_save 30662227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 30672227fc13Smrg$as_echo_n "checking for suffix of executables... " >&6; } 30682227fc13Smrgif { { ac_try="$ac_link" 30692227fc13Smrgcase "(($ac_try" in 30702227fc13Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 30712227fc13Smrg *) ac_try_echo=$ac_try;; 30722227fc13Smrgesac 30732227fc13Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 30742227fc13Smrg$as_echo "$ac_try_echo"; } >&5 30752227fc13Smrg (eval "$ac_link") 2>&5 30762227fc13Smrg ac_status=$? 30772227fc13Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 30782227fc13Smrg test $ac_status = 0; }; then : 30792227fc13Smrg # If both `conftest.exe' and `conftest' are `present' (well, observable) 30802227fc13Smrg# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 30812227fc13Smrg# work properly (i.e., refer to `conftest.exe'), while it won't with 30822227fc13Smrg# `rm'. 30832227fc13Smrgfor ac_file in conftest.exe conftest conftest.*; do 30842227fc13Smrg test -f "$ac_file" || continue 30852227fc13Smrg case $ac_file in 30862227fc13Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 30872227fc13Smrg *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 30882227fc13Smrg break;; 30892227fc13Smrg * ) break;; 30902227fc13Smrg esac 30912227fc13Smrgdone 30922227fc13Smrgelse 30932227fc13Smrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 30942227fc13Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 30952227fc13Smrgas_fn_error $? "cannot compute suffix of executables: cannot compile and link 30962227fc13SmrgSee \`config.log' for more details" "$LINENO" 5; } 30972227fc13Smrgfi 30982227fc13Smrgrm -f conftest conftest$ac_cv_exeext 30992227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 31002227fc13Smrg$as_echo "$ac_cv_exeext" >&6; } 31012227fc13Smrg 31022227fc13Smrgrm -f conftest.$ac_ext 31032227fc13SmrgEXEEXT=$ac_cv_exeext 31042227fc13Smrgac_exeext=$EXEEXT 31052227fc13Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 31062227fc13Smrg/* end confdefs.h. */ 31072227fc13Smrg#include <stdio.h> 31082227fc13Smrgint 31092227fc13Smrgmain () 31102227fc13Smrg{ 31112227fc13SmrgFILE *f = fopen ("conftest.out", "w"); 31122227fc13Smrg return ferror (f) || fclose (f) != 0; 31132227fc13Smrg 31142227fc13Smrg ; 31152227fc13Smrg return 0; 31162227fc13Smrg} 31172227fc13Smrg_ACEOF 31182227fc13Smrgac_clean_files="$ac_clean_files conftest.out" 31192227fc13Smrg# Check that the compiler produces executables we can run. If not, either 31202227fc13Smrg# the compiler is broken, or we cross compile. 31212227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 31222227fc13Smrg$as_echo_n "checking whether we are cross compiling... " >&6; } 31232227fc13Smrgif test "$cross_compiling" != yes; then 31242227fc13Smrg { { ac_try="$ac_link" 31252227fc13Smrgcase "(($ac_try" in 31262227fc13Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 31272227fc13Smrg *) ac_try_echo=$ac_try;; 31282227fc13Smrgesac 31292227fc13Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 31302227fc13Smrg$as_echo "$ac_try_echo"; } >&5 31312227fc13Smrg (eval "$ac_link") 2>&5 31322227fc13Smrg ac_status=$? 31332227fc13Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 31342227fc13Smrg test $ac_status = 0; } 31352227fc13Smrg if { ac_try='./conftest$ac_cv_exeext' 31362227fc13Smrg { { case "(($ac_try" in 31372227fc13Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 31382227fc13Smrg *) ac_try_echo=$ac_try;; 31392227fc13Smrgesac 31402227fc13Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 31412227fc13Smrg$as_echo "$ac_try_echo"; } >&5 31422227fc13Smrg (eval "$ac_try") 2>&5 31432227fc13Smrg ac_status=$? 31442227fc13Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 31452227fc13Smrg test $ac_status = 0; }; }; then 31462227fc13Smrg cross_compiling=no 31472227fc13Smrg else 31482227fc13Smrg if test "$cross_compiling" = maybe; then 31492227fc13Smrg cross_compiling=yes 31502227fc13Smrg else 31512227fc13Smrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 31522227fc13Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 31532227fc13Smrgas_fn_error $? "cannot run C compiled programs. 31542227fc13SmrgIf you meant to cross compile, use \`--host'. 31552227fc13SmrgSee \`config.log' for more details" "$LINENO" 5; } 31562227fc13Smrg fi 31572227fc13Smrg fi 31582227fc13Smrgfi 31592227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 31602227fc13Smrg$as_echo "$cross_compiling" >&6; } 31612227fc13Smrg 31622227fc13Smrgrm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 31632227fc13Smrgac_clean_files=$ac_clean_files_save 31642227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 31652227fc13Smrg$as_echo_n "checking for suffix of object files... " >&6; } 31662227fc13Smrgif ${ac_cv_objext+:} false; then : 31672227fc13Smrg $as_echo_n "(cached) " >&6 31682227fc13Smrgelse 31692227fc13Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31702227fc13Smrg/* end confdefs.h. */ 31712227fc13Smrg 31722227fc13Smrgint 31732227fc13Smrgmain () 31742227fc13Smrg{ 31752227fc13Smrg 31762227fc13Smrg ; 31772227fc13Smrg return 0; 31782227fc13Smrg} 31792227fc13Smrg_ACEOF 31802227fc13Smrgrm -f conftest.o conftest.obj 31812227fc13Smrgif { { ac_try="$ac_compile" 31822227fc13Smrgcase "(($ac_try" in 31832227fc13Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 31842227fc13Smrg *) ac_try_echo=$ac_try;; 31852227fc13Smrgesac 31862227fc13Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 31872227fc13Smrg$as_echo "$ac_try_echo"; } >&5 31882227fc13Smrg (eval "$ac_compile") 2>&5 31892227fc13Smrg ac_status=$? 31902227fc13Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 31912227fc13Smrg test $ac_status = 0; }; then : 31922227fc13Smrg for ac_file in conftest.o conftest.obj conftest.*; do 31932227fc13Smrg test -f "$ac_file" || continue; 31942227fc13Smrg case $ac_file in 31952227fc13Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 31962227fc13Smrg *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 31972227fc13Smrg break;; 31982227fc13Smrg esac 31992227fc13Smrgdone 32002227fc13Smrgelse 32012227fc13Smrg $as_echo "$as_me: failed program was:" >&5 32022227fc13Smrgsed 's/^/| /' conftest.$ac_ext >&5 32032227fc13Smrg 32042227fc13Smrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 32052227fc13Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 32062227fc13Smrgas_fn_error $? "cannot compute suffix of object files: cannot compile 32072227fc13SmrgSee \`config.log' for more details" "$LINENO" 5; } 32082227fc13Smrgfi 32092227fc13Smrgrm -f conftest.$ac_cv_objext conftest.$ac_ext 32102227fc13Smrgfi 32112227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 32122227fc13Smrg$as_echo "$ac_cv_objext" >&6; } 32132227fc13SmrgOBJEXT=$ac_cv_objext 32142227fc13Smrgac_objext=$OBJEXT 32152227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 32162227fc13Smrg$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 32172227fc13Smrgif ${ac_cv_c_compiler_gnu+:} false; then : 32182227fc13Smrg $as_echo_n "(cached) " >&6 32192227fc13Smrgelse 32202227fc13Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32212227fc13Smrg/* end confdefs.h. */ 32222227fc13Smrg 32232227fc13Smrgint 32242227fc13Smrgmain () 32252227fc13Smrg{ 32262227fc13Smrg#ifndef __GNUC__ 32272227fc13Smrg choke me 32282227fc13Smrg#endif 32292227fc13Smrg 32302227fc13Smrg ; 32312227fc13Smrg return 0; 32322227fc13Smrg} 32332227fc13Smrg_ACEOF 32342227fc13Smrgif ac_fn_c_try_compile "$LINENO"; then : 32352227fc13Smrg ac_compiler_gnu=yes 32362227fc13Smrgelse 32372227fc13Smrg ac_compiler_gnu=no 32382227fc13Smrgfi 32392227fc13Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 32402227fc13Smrgac_cv_c_compiler_gnu=$ac_compiler_gnu 32412227fc13Smrg 32422227fc13Smrgfi 32432227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 32442227fc13Smrg$as_echo "$ac_cv_c_compiler_gnu" >&6; } 32452227fc13Smrgif test $ac_compiler_gnu = yes; then 32462227fc13Smrg GCC=yes 32472227fc13Smrgelse 32482227fc13Smrg GCC= 32492227fc13Smrgfi 32502227fc13Smrgac_test_CFLAGS=${CFLAGS+set} 32512227fc13Smrgac_save_CFLAGS=$CFLAGS 32522227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 32532227fc13Smrg$as_echo_n "checking whether $CC accepts -g... " >&6; } 32542227fc13Smrgif ${ac_cv_prog_cc_g+:} false; then : 32552227fc13Smrg $as_echo_n "(cached) " >&6 32562227fc13Smrgelse 32572227fc13Smrg ac_save_c_werror_flag=$ac_c_werror_flag 32582227fc13Smrg ac_c_werror_flag=yes 32592227fc13Smrg ac_cv_prog_cc_g=no 32602227fc13Smrg CFLAGS="-g" 32612227fc13Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32622227fc13Smrg/* end confdefs.h. */ 32632227fc13Smrg 32642227fc13Smrgint 32652227fc13Smrgmain () 32662227fc13Smrg{ 32672227fc13Smrg 32682227fc13Smrg ; 32692227fc13Smrg return 0; 32702227fc13Smrg} 32712227fc13Smrg_ACEOF 32722227fc13Smrgif ac_fn_c_try_compile "$LINENO"; then : 32732227fc13Smrg ac_cv_prog_cc_g=yes 32742227fc13Smrgelse 32752227fc13Smrg CFLAGS="" 32762227fc13Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32772227fc13Smrg/* end confdefs.h. */ 32782227fc13Smrg 32792227fc13Smrgint 32802227fc13Smrgmain () 32812227fc13Smrg{ 32822227fc13Smrg 32832227fc13Smrg ; 32842227fc13Smrg return 0; 32852227fc13Smrg} 32862227fc13Smrg_ACEOF 32872227fc13Smrgif ac_fn_c_try_compile "$LINENO"; then : 32882227fc13Smrg 32892227fc13Smrgelse 32902227fc13Smrg ac_c_werror_flag=$ac_save_c_werror_flag 32912227fc13Smrg CFLAGS="-g" 32922227fc13Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32932227fc13Smrg/* end confdefs.h. */ 32942227fc13Smrg 32952227fc13Smrgint 32962227fc13Smrgmain () 32972227fc13Smrg{ 32982227fc13Smrg 32992227fc13Smrg ; 33002227fc13Smrg return 0; 33012227fc13Smrg} 33022227fc13Smrg_ACEOF 33032227fc13Smrgif ac_fn_c_try_compile "$LINENO"; then : 33042227fc13Smrg ac_cv_prog_cc_g=yes 33052227fc13Smrgfi 33062227fc13Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 33072227fc13Smrgfi 33082227fc13Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 33092227fc13Smrgfi 33102227fc13Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 33112227fc13Smrg ac_c_werror_flag=$ac_save_c_werror_flag 33122227fc13Smrgfi 33132227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 33142227fc13Smrg$as_echo "$ac_cv_prog_cc_g" >&6; } 33152227fc13Smrgif test "$ac_test_CFLAGS" = set; then 33162227fc13Smrg CFLAGS=$ac_save_CFLAGS 33172227fc13Smrgelif test $ac_cv_prog_cc_g = yes; then 33182227fc13Smrg if test "$GCC" = yes; then 33192227fc13Smrg CFLAGS="-g -O2" 33202227fc13Smrg else 33212227fc13Smrg CFLAGS="-g" 33222227fc13Smrg fi 33232227fc13Smrgelse 33242227fc13Smrg if test "$GCC" = yes; then 33252227fc13Smrg CFLAGS="-O2" 33262227fc13Smrg else 33272227fc13Smrg CFLAGS= 33282227fc13Smrg fi 33292227fc13Smrgfi 33302227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 33312227fc13Smrg$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 33322227fc13Smrgif ${ac_cv_prog_cc_c89+:} false; then : 33332227fc13Smrg $as_echo_n "(cached) " >&6 33342227fc13Smrgelse 33352227fc13Smrg ac_cv_prog_cc_c89=no 33362227fc13Smrgac_save_CC=$CC 33372227fc13Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 33382227fc13Smrg/* end confdefs.h. */ 33392227fc13Smrg#include <stdarg.h> 33402227fc13Smrg#include <stdio.h> 33412227fc13Smrg#include <sys/types.h> 33422227fc13Smrg#include <sys/stat.h> 33432227fc13Smrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 33442227fc13Smrgstruct buf { int x; }; 33452227fc13SmrgFILE * (*rcsopen) (struct buf *, struct stat *, int); 33462227fc13Smrgstatic char *e (p, i) 33472227fc13Smrg char **p; 33482227fc13Smrg int i; 33492227fc13Smrg{ 33502227fc13Smrg return p[i]; 33512227fc13Smrg} 33522227fc13Smrgstatic char *f (char * (*g) (char **, int), char **p, ...) 33532227fc13Smrg{ 33542227fc13Smrg char *s; 33552227fc13Smrg va_list v; 33562227fc13Smrg va_start (v,p); 33572227fc13Smrg s = g (p, va_arg (v,int)); 33582227fc13Smrg va_end (v); 33592227fc13Smrg return s; 33602227fc13Smrg} 33612227fc13Smrg 33622227fc13Smrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 33632227fc13Smrg function prototypes and stuff, but not '\xHH' hex character constants. 33642227fc13Smrg These don't provoke an error unfortunately, instead are silently treated 33652227fc13Smrg as 'x'. The following induces an error, until -std is added to get 33662227fc13Smrg proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 33672227fc13Smrg array size at least. It's necessary to write '\x00'==0 to get something 33682227fc13Smrg that's true only with -std. */ 33692227fc13Smrgint osf4_cc_array ['\x00' == 0 ? 1 : -1]; 33702227fc13Smrg 33712227fc13Smrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 33722227fc13Smrg inside strings and character constants. */ 33732227fc13Smrg#define FOO(x) 'x' 33742227fc13Smrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 33752227fc13Smrg 33762227fc13Smrgint test (int i, double x); 33772227fc13Smrgstruct s1 {int (*f) (int a);}; 33782227fc13Smrgstruct s2 {int (*f) (double a);}; 33792227fc13Smrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 33802227fc13Smrgint argc; 33812227fc13Smrgchar **argv; 33822227fc13Smrgint 33832227fc13Smrgmain () 33842227fc13Smrg{ 33852227fc13Smrgreturn f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 33862227fc13Smrg ; 33872227fc13Smrg return 0; 33882227fc13Smrg} 33892227fc13Smrg_ACEOF 33902227fc13Smrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 33912227fc13Smrg -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 33922227fc13Smrgdo 33932227fc13Smrg CC="$ac_save_CC $ac_arg" 33942227fc13Smrg if ac_fn_c_try_compile "$LINENO"; then : 33952227fc13Smrg ac_cv_prog_cc_c89=$ac_arg 33962227fc13Smrgfi 33972227fc13Smrgrm -f core conftest.err conftest.$ac_objext 33982227fc13Smrg test "x$ac_cv_prog_cc_c89" != "xno" && break 33992227fc13Smrgdone 34002227fc13Smrgrm -f conftest.$ac_ext 34012227fc13SmrgCC=$ac_save_CC 34022227fc13Smrg 34032227fc13Smrgfi 34042227fc13Smrg# AC_CACHE_VAL 34052227fc13Smrgcase "x$ac_cv_prog_cc_c89" in 34062227fc13Smrg x) 34072227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 34082227fc13Smrg$as_echo "none needed" >&6; } ;; 34092227fc13Smrg xno) 34102227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 34112227fc13Smrg$as_echo "unsupported" >&6; } ;; 34122227fc13Smrg *) 34132227fc13Smrg CC="$CC $ac_cv_prog_cc_c89" 34142227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 34152227fc13Smrg$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 34162227fc13Smrgesac 34172227fc13Smrgif test "x$ac_cv_prog_cc_c89" != xno; then : 34182227fc13Smrg 34192227fc13Smrgfi 34202227fc13Smrg 34212227fc13Smrgac_ext=c 34222227fc13Smrgac_cpp='$CPP $CPPFLAGS' 34232227fc13Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 34242227fc13Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 34252227fc13Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 34262227fc13Smrg 34272227fc13Smrgdepcc="$CC" am_compiler_list= 34282227fc13Smrg 34292227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 34302227fc13Smrg$as_echo_n "checking dependency style of $depcc... " >&6; } 34312227fc13Smrgif ${am_cv_CC_dependencies_compiler_type+:} false; then : 34322227fc13Smrg $as_echo_n "(cached) " >&6 34332227fc13Smrgelse 34342227fc13Smrg if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 34352227fc13Smrg # We make a subdir and do the tests there. Otherwise we can end up 34362227fc13Smrg # making bogus files that we don't know about and never remove. For 34372227fc13Smrg # instance it was reported that on HP-UX the gcc test will end up 34382227fc13Smrg # making a dummy file named `D' -- because `-MD' means `put the output 34392227fc13Smrg # in D'. 34402227fc13Smrg mkdir conftest.dir 34412227fc13Smrg # Copy depcomp to subdir because otherwise we won't find it if we're 34422227fc13Smrg # using a relative directory. 34432227fc13Smrg cp "$am_depcomp" conftest.dir 34442227fc13Smrg cd conftest.dir 34452227fc13Smrg # We will build objects and dependencies in a subdirectory because 34462227fc13Smrg # it helps to detect inapplicable dependency modes. For instance 34472227fc13Smrg # both Tru64's cc and ICC support -MD to output dependencies as a 34482227fc13Smrg # side effect of compilation, but ICC will put the dependencies in 34492227fc13Smrg # the current directory while Tru64 will put them in the object 34502227fc13Smrg # directory. 34512227fc13Smrg mkdir sub 34522227fc13Smrg 34532227fc13Smrg am_cv_CC_dependencies_compiler_type=none 34542227fc13Smrg if test "$am_compiler_list" = ""; then 34552227fc13Smrg am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 34562227fc13Smrg fi 34572227fc13Smrg am__universal=false 34582227fc13Smrg case " $depcc " in #( 34592227fc13Smrg *\ -arch\ *\ -arch\ *) am__universal=true ;; 34602227fc13Smrg esac 34612227fc13Smrg 34622227fc13Smrg for depmode in $am_compiler_list; do 34632227fc13Smrg # Setup a source with many dependencies, because some compilers 34642227fc13Smrg # like to wrap large dependency lists on column 80 (with \), and 34652227fc13Smrg # we should not choose a depcomp mode which is confused by this. 34662227fc13Smrg # 34672227fc13Smrg # We need to recreate these files for each test, as the compiler may 34682227fc13Smrg # overwrite some of them when testing with obscure command lines. 34692227fc13Smrg # This happens at least with the AIX C compiler. 34702227fc13Smrg : > sub/conftest.c 34712227fc13Smrg for i in 1 2 3 4 5 6; do 34722227fc13Smrg echo '#include "conftst'$i'.h"' >> sub/conftest.c 34732227fc13Smrg # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 34742227fc13Smrg # Solaris 8's {/usr,}/bin/sh. 34752227fc13Smrg touch sub/conftst$i.h 34762227fc13Smrg done 34772227fc13Smrg echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 34782227fc13Smrg 34792227fc13Smrg # We check with `-c' and `-o' for the sake of the "dashmstdout" 34802227fc13Smrg # mode. It turns out that the SunPro C++ compiler does not properly 34812227fc13Smrg # handle `-M -o', and we need to detect this. Also, some Intel 34822227fc13Smrg # versions had trouble with output in subdirs 34832227fc13Smrg am__obj=sub/conftest.${OBJEXT-o} 34842227fc13Smrg am__minus_obj="-o $am__obj" 34852227fc13Smrg case $depmode in 34862227fc13Smrg gcc) 34872227fc13Smrg # This depmode causes a compiler race in universal mode. 34882227fc13Smrg test "$am__universal" = false || continue 34892227fc13Smrg ;; 34902227fc13Smrg nosideeffect) 34912227fc13Smrg # after this tag, mechanisms are not by side-effect, so they'll 34922227fc13Smrg # only be used when explicitly requested 34932227fc13Smrg if test "x$enable_dependency_tracking" = xyes; then 34942227fc13Smrg continue 34952227fc13Smrg else 34962227fc13Smrg break 34972227fc13Smrg fi 34982227fc13Smrg ;; 34992227fc13Smrg msvisualcpp | msvcmsys) 35002227fc13Smrg # This compiler won't grok `-c -o', but also, the minuso test has 35012227fc13Smrg # not run yet. These depmodes are late enough in the game, and 35022227fc13Smrg # so weak that their functioning should not be impacted. 35032227fc13Smrg am__obj=conftest.${OBJEXT-o} 35042227fc13Smrg am__minus_obj= 35052227fc13Smrg ;; 35062227fc13Smrg none) break ;; 35072227fc13Smrg esac 35082227fc13Smrg if depmode=$depmode \ 35092227fc13Smrg source=sub/conftest.c object=$am__obj \ 35102227fc13Smrg depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 35112227fc13Smrg $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 35122227fc13Smrg >/dev/null 2>conftest.err && 35132227fc13Smrg grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 35142227fc13Smrg grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 35152227fc13Smrg grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 35162227fc13Smrg ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 35172227fc13Smrg # icc doesn't choke on unknown options, it will just issue warnings 35182227fc13Smrg # or remarks (even with -Werror). So we grep stderr for any message 35192227fc13Smrg # that says an option was ignored or not supported. 35202227fc13Smrg # When given -MP, icc 7.0 and 7.1 complain thusly: 35212227fc13Smrg # icc: Command line warning: ignoring option '-M'; no argument required 35222227fc13Smrg # The diagnosis changed in icc 8.0: 35232227fc13Smrg # icc: Command line remark: option '-MP' not supported 35242227fc13Smrg if (grep 'ignoring option' conftest.err || 35252227fc13Smrg grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 35262227fc13Smrg am_cv_CC_dependencies_compiler_type=$depmode 35272227fc13Smrg break 35282227fc13Smrg fi 35292227fc13Smrg fi 35302227fc13Smrg done 35312227fc13Smrg 35322227fc13Smrg cd .. 35332227fc13Smrg rm -rf conftest.dir 35342227fc13Smrgelse 35352227fc13Smrg am_cv_CC_dependencies_compiler_type=none 35362227fc13Smrgfi 35372227fc13Smrg 35382227fc13Smrgfi 35392227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 35402227fc13Smrg$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 35412227fc13SmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 35422227fc13Smrg 35432227fc13Smrg if 35442227fc13Smrg test "x$enable_dependency_tracking" != xno \ 35452227fc13Smrg && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 35462227fc13Smrg am__fastdepCC_TRUE= 35472227fc13Smrg am__fastdepCC_FALSE='#' 35482227fc13Smrgelse 35492227fc13Smrg am__fastdepCC_TRUE='#' 35502227fc13Smrg am__fastdepCC_FALSE= 35512227fc13Smrgfi 35522227fc13Smrg 35532227fc13Smrg 35542227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 35552227fc13Smrg$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 35562227fc13Smrgif ${ac_cv_prog_cc_c99+:} false; then : 35572227fc13Smrg $as_echo_n "(cached) " >&6 35582227fc13Smrgelse 35592227fc13Smrg ac_cv_prog_cc_c99=no 35602227fc13Smrgac_save_CC=$CC 35612227fc13Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 35622227fc13Smrg/* end confdefs.h. */ 35632227fc13Smrg#include <stdarg.h> 35642227fc13Smrg#include <stdbool.h> 35652227fc13Smrg#include <stdlib.h> 35662227fc13Smrg#include <wchar.h> 35672227fc13Smrg#include <stdio.h> 35682227fc13Smrg 35692227fc13Smrg// Check varargs macros. These examples are taken from C99 6.10.3.5. 35702227fc13Smrg#define debug(...) fprintf (stderr, __VA_ARGS__) 35712227fc13Smrg#define showlist(...) puts (#__VA_ARGS__) 35722227fc13Smrg#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 35732227fc13Smrgstatic void 35742227fc13Smrgtest_varargs_macros (void) 35752227fc13Smrg{ 35762227fc13Smrg int x = 1234; 35772227fc13Smrg int y = 5678; 35782227fc13Smrg debug ("Flag"); 35792227fc13Smrg debug ("X = %d\n", x); 35802227fc13Smrg showlist (The first, second, and third items.); 35812227fc13Smrg report (x>y, "x is %d but y is %d", x, y); 35822227fc13Smrg} 35832227fc13Smrg 35842227fc13Smrg// Check long long types. 35852227fc13Smrg#define BIG64 18446744073709551615ull 35862227fc13Smrg#define BIG32 4294967295ul 35872227fc13Smrg#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 35882227fc13Smrg#if !BIG_OK 35892227fc13Smrg your preprocessor is broken; 35902227fc13Smrg#endif 35912227fc13Smrg#if BIG_OK 35922227fc13Smrg#else 35932227fc13Smrg your preprocessor is broken; 35942227fc13Smrg#endif 35952227fc13Smrgstatic long long int bignum = -9223372036854775807LL; 35962227fc13Smrgstatic unsigned long long int ubignum = BIG64; 35972227fc13Smrg 35982227fc13Smrgstruct incomplete_array 35992227fc13Smrg{ 36002227fc13Smrg int datasize; 36012227fc13Smrg double data[]; 36022227fc13Smrg}; 36032227fc13Smrg 36042227fc13Smrgstruct named_init { 36052227fc13Smrg int number; 36062227fc13Smrg const wchar_t *name; 36072227fc13Smrg double average; 36082227fc13Smrg}; 36092227fc13Smrg 36102227fc13Smrgtypedef const char *ccp; 36112227fc13Smrg 36122227fc13Smrgstatic inline int 36132227fc13Smrgtest_restrict (ccp restrict text) 36142227fc13Smrg{ 36152227fc13Smrg // See if C++-style comments work. 36162227fc13Smrg // Iterate through items via the restricted pointer. 36172227fc13Smrg // Also check for declarations in for loops. 36182227fc13Smrg for (unsigned int i = 0; *(text+i) != '\0'; ++i) 36192227fc13Smrg continue; 36202227fc13Smrg return 0; 36212227fc13Smrg} 36222227fc13Smrg 36232227fc13Smrg// Check varargs and va_copy. 36242227fc13Smrgstatic void 36252227fc13Smrgtest_varargs (const char *format, ...) 36262227fc13Smrg{ 36272227fc13Smrg va_list args; 36282227fc13Smrg va_start (args, format); 36292227fc13Smrg va_list args_copy; 36302227fc13Smrg va_copy (args_copy, args); 36312227fc13Smrg 36322227fc13Smrg const char *str; 36332227fc13Smrg int number; 36342227fc13Smrg float fnumber; 36352227fc13Smrg 36362227fc13Smrg while (*format) 36372227fc13Smrg { 36382227fc13Smrg switch (*format++) 36392227fc13Smrg { 36402227fc13Smrg case 's': // string 36412227fc13Smrg str = va_arg (args_copy, const char *); 36422227fc13Smrg break; 36432227fc13Smrg case 'd': // int 36442227fc13Smrg number = va_arg (args_copy, int); 36452227fc13Smrg break; 36462227fc13Smrg case 'f': // float 36472227fc13Smrg fnumber = va_arg (args_copy, double); 36482227fc13Smrg break; 36492227fc13Smrg default: 36502227fc13Smrg break; 36512227fc13Smrg } 36522227fc13Smrg } 36532227fc13Smrg va_end (args_copy); 36542227fc13Smrg va_end (args); 36552227fc13Smrg} 36562227fc13Smrg 36572227fc13Smrgint 36582227fc13Smrgmain () 36592227fc13Smrg{ 36602227fc13Smrg 36612227fc13Smrg // Check bool. 36622227fc13Smrg _Bool success = false; 36632227fc13Smrg 36642227fc13Smrg // Check restrict. 36652227fc13Smrg if (test_restrict ("String literal") == 0) 36662227fc13Smrg success = true; 36672227fc13Smrg char *restrict newvar = "Another string"; 36682227fc13Smrg 36692227fc13Smrg // Check varargs. 36702227fc13Smrg test_varargs ("s, d' f .", "string", 65, 34.234); 36712227fc13Smrg test_varargs_macros (); 36722227fc13Smrg 36732227fc13Smrg // Check flexible array members. 36742227fc13Smrg struct incomplete_array *ia = 36752227fc13Smrg malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 36762227fc13Smrg ia->datasize = 10; 36772227fc13Smrg for (int i = 0; i < ia->datasize; ++i) 36782227fc13Smrg ia->data[i] = i * 1.234; 36792227fc13Smrg 36802227fc13Smrg // Check named initializers. 36812227fc13Smrg struct named_init ni = { 36822227fc13Smrg .number = 34, 36832227fc13Smrg .name = L"Test wide string", 36842227fc13Smrg .average = 543.34343, 36852227fc13Smrg }; 36862227fc13Smrg 36872227fc13Smrg ni.number = 58; 36882227fc13Smrg 36892227fc13Smrg int dynamic_array[ni.number]; 36902227fc13Smrg dynamic_array[ni.number - 1] = 543; 36912227fc13Smrg 36922227fc13Smrg // work around unused variable warnings 36932227fc13Smrg return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 36942227fc13Smrg || dynamic_array[ni.number - 1] != 543); 36952227fc13Smrg 36962227fc13Smrg ; 36972227fc13Smrg return 0; 36982227fc13Smrg} 36992227fc13Smrg_ACEOF 37002227fc13Smrgfor ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 37012227fc13Smrgdo 37022227fc13Smrg CC="$ac_save_CC $ac_arg" 37032227fc13Smrg if ac_fn_c_try_compile "$LINENO"; then : 37042227fc13Smrg ac_cv_prog_cc_c99=$ac_arg 37052227fc13Smrgfi 37062227fc13Smrgrm -f core conftest.err conftest.$ac_objext 37072227fc13Smrg test "x$ac_cv_prog_cc_c99" != "xno" && break 37082227fc13Smrgdone 37092227fc13Smrgrm -f conftest.$ac_ext 37102227fc13SmrgCC=$ac_save_CC 37112227fc13Smrg 37122227fc13Smrgfi 37132227fc13Smrg# AC_CACHE_VAL 37142227fc13Smrgcase "x$ac_cv_prog_cc_c99" in 37152227fc13Smrg x) 37162227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 37172227fc13Smrg$as_echo "none needed" >&6; } ;; 37182227fc13Smrg xno) 37192227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 37202227fc13Smrg$as_echo "unsupported" >&6; } ;; 37212227fc13Smrg *) 37222227fc13Smrg CC="$CC $ac_cv_prog_cc_c99" 37232227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 37242227fc13Smrg$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 37252227fc13Smrgesac 37262227fc13Smrgif test "x$ac_cv_prog_cc_c99" != xno; then : 37272227fc13Smrg 37282227fc13Smrgfi 37292227fc13Smrg 37302227fc13Smrg 37312227fc13Smrg 37322227fc13Smrgac_ext=c 37332227fc13Smrgac_cpp='$CPP $CPPFLAGS' 37342227fc13Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 37352227fc13Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 37362227fc13Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 37372227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 37382227fc13Smrg$as_echo_n "checking how to run the C preprocessor... " >&6; } 37392227fc13Smrg# On Suns, sometimes $CPP names a directory. 37402227fc13Smrgif test -n "$CPP" && test -d "$CPP"; then 37412227fc13Smrg CPP= 37422227fc13Smrgfi 37432227fc13Smrgif test -z "$CPP"; then 37442227fc13Smrg if ${ac_cv_prog_CPP+:} false; then : 37452227fc13Smrg $as_echo_n "(cached) " >&6 37462227fc13Smrgelse 37472227fc13Smrg # Double quotes because CPP needs to be expanded 37482227fc13Smrg for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 37492227fc13Smrg do 37502227fc13Smrg ac_preproc_ok=false 37512227fc13Smrgfor ac_c_preproc_warn_flag in '' yes 37522227fc13Smrgdo 37532227fc13Smrg # Use a header file that comes with gcc, so configuring glibc 37542227fc13Smrg # with a fresh cross-compiler works. 37552227fc13Smrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 37562227fc13Smrg # <limits.h> exists even on freestanding compilers. 37572227fc13Smrg # On the NeXT, cc -E runs the code through the compiler's parser, 37582227fc13Smrg # not just through cpp. "Syntax error" is here to catch this case. 37592227fc13Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37602227fc13Smrg/* end confdefs.h. */ 37612227fc13Smrg#ifdef __STDC__ 37622227fc13Smrg# include <limits.h> 37632227fc13Smrg#else 37642227fc13Smrg# include <assert.h> 37652227fc13Smrg#endif 37662227fc13Smrg Syntax error 37672227fc13Smrg_ACEOF 37682227fc13Smrgif ac_fn_c_try_cpp "$LINENO"; then : 37692227fc13Smrg 37702227fc13Smrgelse 37712227fc13Smrg # Broken: fails on valid input. 37722227fc13Smrgcontinue 37732227fc13Smrgfi 37742227fc13Smrgrm -f conftest.err conftest.i conftest.$ac_ext 37752227fc13Smrg 37762227fc13Smrg # OK, works on sane cases. Now check whether nonexistent headers 37772227fc13Smrg # can be detected and how. 37782227fc13Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37792227fc13Smrg/* end confdefs.h. */ 37802227fc13Smrg#include <ac_nonexistent.h> 37812227fc13Smrg_ACEOF 37822227fc13Smrgif ac_fn_c_try_cpp "$LINENO"; then : 37832227fc13Smrg # Broken: success on invalid input. 37842227fc13Smrgcontinue 37852227fc13Smrgelse 37862227fc13Smrg # Passes both tests. 37872227fc13Smrgac_preproc_ok=: 37882227fc13Smrgbreak 37892227fc13Smrgfi 37902227fc13Smrgrm -f conftest.err conftest.i conftest.$ac_ext 37912227fc13Smrg 37922227fc13Smrgdone 37932227fc13Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 37942227fc13Smrgrm -f conftest.i conftest.err conftest.$ac_ext 37952227fc13Smrgif $ac_preproc_ok; then : 37962227fc13Smrg break 37972227fc13Smrgfi 37982227fc13Smrg 37992227fc13Smrg done 38002227fc13Smrg ac_cv_prog_CPP=$CPP 38012227fc13Smrg 38022227fc13Smrgfi 38032227fc13Smrg CPP=$ac_cv_prog_CPP 38042227fc13Smrgelse 38052227fc13Smrg ac_cv_prog_CPP=$CPP 38062227fc13Smrgfi 38072227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 38082227fc13Smrg$as_echo "$CPP" >&6; } 38092227fc13Smrgac_preproc_ok=false 38102227fc13Smrgfor ac_c_preproc_warn_flag in '' yes 38112227fc13Smrgdo 38122227fc13Smrg # Use a header file that comes with gcc, so configuring glibc 38132227fc13Smrg # with a fresh cross-compiler works. 38142227fc13Smrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 38152227fc13Smrg # <limits.h> exists even on freestanding compilers. 38162227fc13Smrg # On the NeXT, cc -E runs the code through the compiler's parser, 38172227fc13Smrg # not just through cpp. "Syntax error" is here to catch this case. 38182227fc13Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38192227fc13Smrg/* end confdefs.h. */ 38202227fc13Smrg#ifdef __STDC__ 38212227fc13Smrg# include <limits.h> 38222227fc13Smrg#else 38232227fc13Smrg# include <assert.h> 38242227fc13Smrg#endif 38252227fc13Smrg Syntax error 38262227fc13Smrg_ACEOF 38272227fc13Smrgif ac_fn_c_try_cpp "$LINENO"; then : 38282227fc13Smrg 38292227fc13Smrgelse 38302227fc13Smrg # Broken: fails on valid input. 38312227fc13Smrgcontinue 38322227fc13Smrgfi 38332227fc13Smrgrm -f conftest.err conftest.i conftest.$ac_ext 38342227fc13Smrg 38352227fc13Smrg # OK, works on sane cases. Now check whether nonexistent headers 38362227fc13Smrg # can be detected and how. 38372227fc13Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38382227fc13Smrg/* end confdefs.h. */ 38392227fc13Smrg#include <ac_nonexistent.h> 38402227fc13Smrg_ACEOF 38412227fc13Smrgif ac_fn_c_try_cpp "$LINENO"; then : 38422227fc13Smrg # Broken: success on invalid input. 38432227fc13Smrgcontinue 38442227fc13Smrgelse 38452227fc13Smrg # Passes both tests. 38462227fc13Smrgac_preproc_ok=: 38472227fc13Smrgbreak 38482227fc13Smrgfi 38492227fc13Smrgrm -f conftest.err conftest.i conftest.$ac_ext 38502227fc13Smrg 38512227fc13Smrgdone 38522227fc13Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 38532227fc13Smrgrm -f conftest.i conftest.err conftest.$ac_ext 38542227fc13Smrgif $ac_preproc_ok; then : 38552227fc13Smrg 38562227fc13Smrgelse 38572227fc13Smrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 38582227fc13Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 38592227fc13Smrgas_fn_error $? "C preprocessor \"$CPP\" fails sanity check 38602227fc13SmrgSee \`config.log' for more details" "$LINENO" 5; } 38612227fc13Smrgfi 38622227fc13Smrg 38632227fc13Smrgac_ext=c 38642227fc13Smrgac_cpp='$CPP $CPPFLAGS' 38652227fc13Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 38662227fc13Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 38672227fc13Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 38682227fc13Smrg 38692227fc13Smrg 38702227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 38712227fc13Smrg$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 38722227fc13Smrgif ${ac_cv_path_GREP+:} false; then : 38732227fc13Smrg $as_echo_n "(cached) " >&6 38742227fc13Smrgelse 38752227fc13Smrg if test -z "$GREP"; then 38762227fc13Smrg ac_path_GREP_found=false 38772227fc13Smrg # Loop through the user's path and test for each of PROGNAME-LIST 38782227fc13Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 38792227fc13Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 38802227fc13Smrgdo 38812227fc13Smrg IFS=$as_save_IFS 38822227fc13Smrg test -z "$as_dir" && as_dir=. 38832227fc13Smrg for ac_prog in grep ggrep; do 38842227fc13Smrg for ac_exec_ext in '' $ac_executable_extensions; do 38852227fc13Smrg ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 38862227fc13Smrg { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 38872227fc13Smrg# Check for GNU ac_path_GREP and select it if it is found. 38882227fc13Smrg # Check for GNU $ac_path_GREP 38892227fc13Smrgcase `"$ac_path_GREP" --version 2>&1` in 38902227fc13Smrg*GNU*) 38912227fc13Smrg ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 38922227fc13Smrg*) 38932227fc13Smrg ac_count=0 38942227fc13Smrg $as_echo_n 0123456789 >"conftest.in" 38952227fc13Smrg while : 38962227fc13Smrg do 38972227fc13Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 38982227fc13Smrg mv "conftest.tmp" "conftest.in" 38992227fc13Smrg cp "conftest.in" "conftest.nl" 39002227fc13Smrg $as_echo 'GREP' >> "conftest.nl" 39012227fc13Smrg "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 39022227fc13Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 39032227fc13Smrg as_fn_arith $ac_count + 1 && ac_count=$as_val 39042227fc13Smrg if test $ac_count -gt ${ac_path_GREP_max-0}; then 39052227fc13Smrg # Best one so far, save it but keep looking for a better one 39062227fc13Smrg ac_cv_path_GREP="$ac_path_GREP" 39072227fc13Smrg ac_path_GREP_max=$ac_count 39082227fc13Smrg fi 39092227fc13Smrg # 10*(2^10) chars as input seems more than enough 39102227fc13Smrg test $ac_count -gt 10 && break 39112227fc13Smrg done 39122227fc13Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 39132227fc13Smrgesac 39142227fc13Smrg 39152227fc13Smrg $ac_path_GREP_found && break 3 39162227fc13Smrg done 39172227fc13Smrg done 39182227fc13Smrg done 39192227fc13SmrgIFS=$as_save_IFS 39202227fc13Smrg if test -z "$ac_cv_path_GREP"; then 39212227fc13Smrg as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 39222227fc13Smrg fi 39232227fc13Smrgelse 39242227fc13Smrg ac_cv_path_GREP=$GREP 39252227fc13Smrgfi 39262227fc13Smrg 39272227fc13Smrgfi 39282227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 39292227fc13Smrg$as_echo "$ac_cv_path_GREP" >&6; } 39302227fc13Smrg GREP="$ac_cv_path_GREP" 39312227fc13Smrg 39322227fc13Smrg 39332227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 39342227fc13Smrg$as_echo_n "checking for egrep... " >&6; } 39352227fc13Smrgif ${ac_cv_path_EGREP+:} false; then : 39362227fc13Smrg $as_echo_n "(cached) " >&6 39372227fc13Smrgelse 39382227fc13Smrg if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 39392227fc13Smrg then ac_cv_path_EGREP="$GREP -E" 39402227fc13Smrg else 39412227fc13Smrg if test -z "$EGREP"; then 39422227fc13Smrg ac_path_EGREP_found=false 39432227fc13Smrg # Loop through the user's path and test for each of PROGNAME-LIST 39442227fc13Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 39452227fc13Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 39462227fc13Smrgdo 39472227fc13Smrg IFS=$as_save_IFS 39482227fc13Smrg test -z "$as_dir" && as_dir=. 39492227fc13Smrg for ac_prog in egrep; do 39502227fc13Smrg for ac_exec_ext in '' $ac_executable_extensions; do 39512227fc13Smrg ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 39522227fc13Smrg { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 39532227fc13Smrg# Check for GNU ac_path_EGREP and select it if it is found. 39542227fc13Smrg # Check for GNU $ac_path_EGREP 39552227fc13Smrgcase `"$ac_path_EGREP" --version 2>&1` in 39562227fc13Smrg*GNU*) 39572227fc13Smrg ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 39582227fc13Smrg*) 39592227fc13Smrg ac_count=0 39602227fc13Smrg $as_echo_n 0123456789 >"conftest.in" 39612227fc13Smrg while : 39622227fc13Smrg do 39632227fc13Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 39642227fc13Smrg mv "conftest.tmp" "conftest.in" 39652227fc13Smrg cp "conftest.in" "conftest.nl" 39662227fc13Smrg $as_echo 'EGREP' >> "conftest.nl" 39672227fc13Smrg "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 39682227fc13Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 39692227fc13Smrg as_fn_arith $ac_count + 1 && ac_count=$as_val 39702227fc13Smrg if test $ac_count -gt ${ac_path_EGREP_max-0}; then 39712227fc13Smrg # Best one so far, save it but keep looking for a better one 39722227fc13Smrg ac_cv_path_EGREP="$ac_path_EGREP" 39732227fc13Smrg ac_path_EGREP_max=$ac_count 39742227fc13Smrg fi 39752227fc13Smrg # 10*(2^10) chars as input seems more than enough 39762227fc13Smrg test $ac_count -gt 10 && break 39772227fc13Smrg done 39782227fc13Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 39792227fc13Smrgesac 39802227fc13Smrg 39812227fc13Smrg $ac_path_EGREP_found && break 3 39822227fc13Smrg done 39832227fc13Smrg done 39842227fc13Smrg done 39852227fc13SmrgIFS=$as_save_IFS 39862227fc13Smrg if test -z "$ac_cv_path_EGREP"; then 39872227fc13Smrg as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 39882227fc13Smrg fi 39892227fc13Smrgelse 39902227fc13Smrg ac_cv_path_EGREP=$EGREP 39912227fc13Smrgfi 39922227fc13Smrg 39932227fc13Smrg fi 39942227fc13Smrgfi 39952227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 39962227fc13Smrg$as_echo "$ac_cv_path_EGREP" >&6; } 39972227fc13Smrg EGREP="$ac_cv_path_EGREP" 39982227fc13Smrg 39992227fc13Smrg 40002227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 40012227fc13Smrg$as_echo_n "checking for ANSI C header files... " >&6; } 40022227fc13Smrgif ${ac_cv_header_stdc+:} false; then : 40032227fc13Smrg $as_echo_n "(cached) " >&6 40042227fc13Smrgelse 40052227fc13Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40062227fc13Smrg/* end confdefs.h. */ 40072227fc13Smrg#include <stdlib.h> 40082227fc13Smrg#include <stdarg.h> 40092227fc13Smrg#include <string.h> 40102227fc13Smrg#include <float.h> 40112227fc13Smrg 40122227fc13Smrgint 40132227fc13Smrgmain () 40142227fc13Smrg{ 40152227fc13Smrg 40162227fc13Smrg ; 40172227fc13Smrg return 0; 40182227fc13Smrg} 40192227fc13Smrg_ACEOF 40202227fc13Smrgif ac_fn_c_try_compile "$LINENO"; then : 40212227fc13Smrg ac_cv_header_stdc=yes 40222227fc13Smrgelse 40232227fc13Smrg ac_cv_header_stdc=no 40242227fc13Smrgfi 40252227fc13Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 40262227fc13Smrg 40272227fc13Smrgif test $ac_cv_header_stdc = yes; then 40282227fc13Smrg # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 40292227fc13Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40302227fc13Smrg/* end confdefs.h. */ 40312227fc13Smrg#include <string.h> 40322227fc13Smrg 40332227fc13Smrg_ACEOF 40342227fc13Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 40352227fc13Smrg $EGREP "memchr" >/dev/null 2>&1; then : 40362227fc13Smrg 40372227fc13Smrgelse 40382227fc13Smrg ac_cv_header_stdc=no 40392227fc13Smrgfi 40402227fc13Smrgrm -f conftest* 40412227fc13Smrg 40422227fc13Smrgfi 40432227fc13Smrg 40442227fc13Smrgif test $ac_cv_header_stdc = yes; then 40452227fc13Smrg # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 40462227fc13Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40472227fc13Smrg/* end confdefs.h. */ 40482227fc13Smrg#include <stdlib.h> 40492227fc13Smrg 40502227fc13Smrg_ACEOF 40512227fc13Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 40522227fc13Smrg $EGREP "free" >/dev/null 2>&1; then : 40532227fc13Smrg 40542227fc13Smrgelse 40552227fc13Smrg ac_cv_header_stdc=no 40562227fc13Smrgfi 40572227fc13Smrgrm -f conftest* 40582227fc13Smrg 40592227fc13Smrgfi 40602227fc13Smrg 40612227fc13Smrgif test $ac_cv_header_stdc = yes; then 40622227fc13Smrg # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 40632227fc13Smrg if test "$cross_compiling" = yes; then : 40642227fc13Smrg : 40652227fc13Smrgelse 40662227fc13Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40672227fc13Smrg/* end confdefs.h. */ 40682227fc13Smrg#include <ctype.h> 40692227fc13Smrg#include <stdlib.h> 40702227fc13Smrg#if ((' ' & 0x0FF) == 0x020) 40712227fc13Smrg# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 40722227fc13Smrg# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 40732227fc13Smrg#else 40742227fc13Smrg# define ISLOWER(c) \ 40752227fc13Smrg (('a' <= (c) && (c) <= 'i') \ 40762227fc13Smrg || ('j' <= (c) && (c) <= 'r') \ 40772227fc13Smrg || ('s' <= (c) && (c) <= 'z')) 40782227fc13Smrg# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 40792227fc13Smrg#endif 40802227fc13Smrg 40812227fc13Smrg#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 40822227fc13Smrgint 40832227fc13Smrgmain () 40842227fc13Smrg{ 40852227fc13Smrg int i; 40862227fc13Smrg for (i = 0; i < 256; i++) 40872227fc13Smrg if (XOR (islower (i), ISLOWER (i)) 40882227fc13Smrg || toupper (i) != TOUPPER (i)) 40892227fc13Smrg return 2; 40902227fc13Smrg return 0; 40912227fc13Smrg} 40922227fc13Smrg_ACEOF 40932227fc13Smrgif ac_fn_c_try_run "$LINENO"; then : 40942227fc13Smrg 40952227fc13Smrgelse 40962227fc13Smrg ac_cv_header_stdc=no 40972227fc13Smrgfi 40982227fc13Smrgrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 40992227fc13Smrg conftest.$ac_objext conftest.beam conftest.$ac_ext 41002227fc13Smrgfi 41012227fc13Smrg 41022227fc13Smrgfi 41032227fc13Smrgfi 41042227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 41052227fc13Smrg$as_echo "$ac_cv_header_stdc" >&6; } 41062227fc13Smrgif test $ac_cv_header_stdc = yes; then 41072227fc13Smrg 41082227fc13Smrg$as_echo "#define STDC_HEADERS 1" >>confdefs.h 41092227fc13Smrg 41102227fc13Smrgfi 41112227fc13Smrg 41122227fc13Smrg# On IRIX 5.3, sys/types and inttypes.h are conflicting. 41132227fc13Smrgfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 41142227fc13Smrg inttypes.h stdint.h unistd.h 41152227fc13Smrgdo : 41162227fc13Smrg as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 41172227fc13Smrgac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 41182227fc13Smrg" 41192227fc13Smrgif eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 41202227fc13Smrg cat >>confdefs.h <<_ACEOF 41212227fc13Smrg#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 41222227fc13Smrg_ACEOF 41232227fc13Smrg 41242227fc13Smrgfi 41252227fc13Smrg 41262227fc13Smrgdone 41272227fc13Smrg 41282227fc13Smrg 41292227fc13Smrg 41302227fc13Smrg 41312227fc13Smrg 41322227fc13Smrg 41332227fc13Smrg 41342227fc13Smrg 41352227fc13Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 41362227fc13Smrg if test -n "$ac_tool_prefix"; then 41372227fc13Smrg # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 41382227fc13Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2 41392227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 41402227fc13Smrg$as_echo_n "checking for $ac_word... " >&6; } 41412227fc13Smrgif ${ac_cv_path_PKG_CONFIG+:} false; then : 41422227fc13Smrg $as_echo_n "(cached) " >&6 41432227fc13Smrgelse 41442227fc13Smrg case $PKG_CONFIG in 41452227fc13Smrg [\\/]* | ?:[\\/]*) 41462227fc13Smrg ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 41472227fc13Smrg ;; 41482227fc13Smrg *) 41492227fc13Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 41502227fc13Smrgfor as_dir in $PATH 41512227fc13Smrgdo 41522227fc13Smrg IFS=$as_save_IFS 41532227fc13Smrg test -z "$as_dir" && as_dir=. 41542227fc13Smrg for ac_exec_ext in '' $ac_executable_extensions; do 41552227fc13Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 41562227fc13Smrg ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 41572227fc13Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 41582227fc13Smrg break 2 41592227fc13Smrg fi 41602227fc13Smrgdone 41612227fc13Smrg done 41622227fc13SmrgIFS=$as_save_IFS 41632227fc13Smrg 41642227fc13Smrg ;; 41652227fc13Smrgesac 41662227fc13Smrgfi 41672227fc13SmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG 41682227fc13Smrgif test -n "$PKG_CONFIG"; then 41692227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 41702227fc13Smrg$as_echo "$PKG_CONFIG" >&6; } 41712227fc13Smrgelse 41722227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 41732227fc13Smrg$as_echo "no" >&6; } 41742227fc13Smrgfi 41752227fc13Smrg 41762227fc13Smrg 41772227fc13Smrgfi 41782227fc13Smrgif test -z "$ac_cv_path_PKG_CONFIG"; then 41792227fc13Smrg ac_pt_PKG_CONFIG=$PKG_CONFIG 41802227fc13Smrg # Extract the first word of "pkg-config", so it can be a program name with args. 41812227fc13Smrgset dummy pkg-config; ac_word=$2 41822227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 41832227fc13Smrg$as_echo_n "checking for $ac_word... " >&6; } 41842227fc13Smrgif ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 41852227fc13Smrg $as_echo_n "(cached) " >&6 41862227fc13Smrgelse 41872227fc13Smrg case $ac_pt_PKG_CONFIG in 41882227fc13Smrg [\\/]* | ?:[\\/]*) 41892227fc13Smrg ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 41902227fc13Smrg ;; 41912227fc13Smrg *) 41922227fc13Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 41932227fc13Smrgfor as_dir in $PATH 41942227fc13Smrgdo 41952227fc13Smrg IFS=$as_save_IFS 41962227fc13Smrg test -z "$as_dir" && as_dir=. 41972227fc13Smrg for ac_exec_ext in '' $ac_executable_extensions; do 41982227fc13Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 41992227fc13Smrg ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 42002227fc13Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 42012227fc13Smrg break 2 42022227fc13Smrg fi 42032227fc13Smrgdone 42042227fc13Smrg done 42052227fc13SmrgIFS=$as_save_IFS 42062227fc13Smrg 42072227fc13Smrg ;; 42082227fc13Smrgesac 42092227fc13Smrgfi 42102227fc13Smrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 42112227fc13Smrgif test -n "$ac_pt_PKG_CONFIG"; then 42122227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 42132227fc13Smrg$as_echo "$ac_pt_PKG_CONFIG" >&6; } 42142227fc13Smrgelse 42152227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 42162227fc13Smrg$as_echo "no" >&6; } 42172227fc13Smrgfi 42182227fc13Smrg 42192227fc13Smrg if test "x$ac_pt_PKG_CONFIG" = x; then 42202227fc13Smrg PKG_CONFIG="" 42212227fc13Smrg else 42222227fc13Smrg case $cross_compiling:$ac_tool_warned in 42232227fc13Smrgyes:) 42242227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 42252227fc13Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 42262227fc13Smrgac_tool_warned=yes ;; 42272227fc13Smrgesac 42282227fc13Smrg PKG_CONFIG=$ac_pt_PKG_CONFIG 42292227fc13Smrg fi 42302227fc13Smrgelse 42312227fc13Smrg PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 42322227fc13Smrgfi 42332227fc13Smrg 42342227fc13Smrgfi 42352227fc13Smrgif test -n "$PKG_CONFIG"; then 42362227fc13Smrg _pkg_min_version=0.9.0 42372227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 42382227fc13Smrg$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 42392227fc13Smrg if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 42402227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 42412227fc13Smrg$as_echo "yes" >&6; } 42422227fc13Smrg else 42432227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 42442227fc13Smrg$as_echo "no" >&6; } 42452227fc13Smrg PKG_CONFIG="" 42462227fc13Smrg fi 42472227fc13Smrgfi 42482227fc13Smrg# Make sure we can run config.sub. 42492227fc13Smrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 42502227fc13Smrg as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 42512227fc13Smrg 42522227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 42532227fc13Smrg$as_echo_n "checking build system type... " >&6; } 42542227fc13Smrgif ${ac_cv_build+:} false; then : 42552227fc13Smrg $as_echo_n "(cached) " >&6 42562227fc13Smrgelse 42572227fc13Smrg ac_build_alias=$build_alias 42582227fc13Smrgtest "x$ac_build_alias" = x && 42592227fc13Smrg ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 42602227fc13Smrgtest "x$ac_build_alias" = x && 42612227fc13Smrg as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 42622227fc13Smrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 42632227fc13Smrg as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 42642227fc13Smrg 42652227fc13Smrgfi 42662227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 42672227fc13Smrg$as_echo "$ac_cv_build" >&6; } 42682227fc13Smrgcase $ac_cv_build in 42692227fc13Smrg*-*-*) ;; 42702227fc13Smrg*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 42712227fc13Smrgesac 42722227fc13Smrgbuild=$ac_cv_build 42732227fc13Smrgac_save_IFS=$IFS; IFS='-' 42742227fc13Smrgset x $ac_cv_build 42752227fc13Smrgshift 42762227fc13Smrgbuild_cpu=$1 42772227fc13Smrgbuild_vendor=$2 42782227fc13Smrgshift; shift 42792227fc13Smrg# Remember, the first character of IFS is used to create $*, 42802227fc13Smrg# except with old shells: 42812227fc13Smrgbuild_os=$* 42822227fc13SmrgIFS=$ac_save_IFS 42832227fc13Smrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 42842227fc13Smrg 42852227fc13Smrg 42862227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 42872227fc13Smrg$as_echo_n "checking host system type... " >&6; } 42882227fc13Smrgif ${ac_cv_host+:} false; then : 42892227fc13Smrg $as_echo_n "(cached) " >&6 42902227fc13Smrgelse 42912227fc13Smrg if test "x$host_alias" = x; then 42922227fc13Smrg ac_cv_host=$ac_cv_build 42932227fc13Smrgelse 42942227fc13Smrg ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 42952227fc13Smrg as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 42962227fc13Smrgfi 42972227fc13Smrg 42982227fc13Smrgfi 42992227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 43002227fc13Smrg$as_echo "$ac_cv_host" >&6; } 43012227fc13Smrgcase $ac_cv_host in 43022227fc13Smrg*-*-*) ;; 43032227fc13Smrg*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 43042227fc13Smrgesac 43052227fc13Smrghost=$ac_cv_host 43062227fc13Smrgac_save_IFS=$IFS; IFS='-' 43072227fc13Smrgset x $ac_cv_host 43082227fc13Smrgshift 43092227fc13Smrghost_cpu=$1 43102227fc13Smrghost_vendor=$2 43112227fc13Smrgshift; shift 43122227fc13Smrg# Remember, the first character of IFS is used to create $*, 43132227fc13Smrg# except with old shells: 43142227fc13Smrghost_os=$* 43152227fc13SmrgIFS=$ac_save_IFS 43162227fc13Smrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 43172227fc13Smrg 43182227fc13Smrg 43192227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 43202227fc13Smrg$as_echo_n "checking for a sed that does not truncate output... " >&6; } 43212227fc13Smrgif ${ac_cv_path_SED+:} false; then : 43222227fc13Smrg $as_echo_n "(cached) " >&6 43232227fc13Smrgelse 43242227fc13Smrg ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 43252227fc13Smrg for ac_i in 1 2 3 4 5 6 7; do 43262227fc13Smrg ac_script="$ac_script$as_nl$ac_script" 43272227fc13Smrg done 43282227fc13Smrg echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 43292227fc13Smrg { ac_script=; unset ac_script;} 43302227fc13Smrg if test -z "$SED"; then 43312227fc13Smrg ac_path_SED_found=false 43322227fc13Smrg # Loop through the user's path and test for each of PROGNAME-LIST 43332227fc13Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 43342227fc13Smrgfor as_dir in $PATH 43352227fc13Smrgdo 43362227fc13Smrg IFS=$as_save_IFS 43372227fc13Smrg test -z "$as_dir" && as_dir=. 43382227fc13Smrg for ac_prog in sed gsed; do 43392227fc13Smrg for ac_exec_ext in '' $ac_executable_extensions; do 43402227fc13Smrg ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 43412227fc13Smrg { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 43422227fc13Smrg# Check for GNU ac_path_SED and select it if it is found. 43432227fc13Smrg # Check for GNU $ac_path_SED 43442227fc13Smrgcase `"$ac_path_SED" --version 2>&1` in 43452227fc13Smrg*GNU*) 43462227fc13Smrg ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 43472227fc13Smrg*) 43482227fc13Smrg ac_count=0 43492227fc13Smrg $as_echo_n 0123456789 >"conftest.in" 43502227fc13Smrg while : 43512227fc13Smrg do 43522227fc13Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 43532227fc13Smrg mv "conftest.tmp" "conftest.in" 43542227fc13Smrg cp "conftest.in" "conftest.nl" 43552227fc13Smrg $as_echo '' >> "conftest.nl" 43562227fc13Smrg "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 43572227fc13Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 43582227fc13Smrg as_fn_arith $ac_count + 1 && ac_count=$as_val 43592227fc13Smrg if test $ac_count -gt ${ac_path_SED_max-0}; then 43602227fc13Smrg # Best one so far, save it but keep looking for a better one 43612227fc13Smrg ac_cv_path_SED="$ac_path_SED" 43622227fc13Smrg ac_path_SED_max=$ac_count 43632227fc13Smrg fi 43642227fc13Smrg # 10*(2^10) chars as input seems more than enough 43652227fc13Smrg test $ac_count -gt 10 && break 43662227fc13Smrg done 43672227fc13Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 43682227fc13Smrgesac 43692227fc13Smrg 43702227fc13Smrg $ac_path_SED_found && break 3 43712227fc13Smrg done 43722227fc13Smrg done 43732227fc13Smrg done 43742227fc13SmrgIFS=$as_save_IFS 43752227fc13Smrg if test -z "$ac_cv_path_SED"; then 43762227fc13Smrg as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 43772227fc13Smrg fi 43782227fc13Smrgelse 43792227fc13Smrg ac_cv_path_SED=$SED 43802227fc13Smrgfi 43812227fc13Smrg 43822227fc13Smrgfi 43832227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 43842227fc13Smrg$as_echo "$ac_cv_path_SED" >&6; } 43852227fc13Smrg SED="$ac_cv_path_SED" 43862227fc13Smrg rm -f conftest.sed 43872227fc13Smrg 43882227fc13Smrg 43892227fc13Smrg 43902227fc13Smrg 43912227fc13Smrg 43922227fc13Smrgif test "x$GCC" = xyes ; then 43932227fc13Smrg CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \ 43942227fc13Smrg-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \ 43952227fc13Smrg-Wbad-function-cast -Wformat=2" 43962227fc13Smrg case `$CC -dumpversion` in 43972227fc13Smrg 3.4.* | 4.*) 43982227fc13Smrg CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement" 43992227fc13Smrg ;; 44002227fc13Smrg esac 44012227fc13Smrgelse 44022227fc13Smrg ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 44032227fc13Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then : 44042227fc13Smrg SUNCC="yes" 44052227fc13Smrgelse 44062227fc13Smrg SUNCC="no" 44072227fc13Smrgfi 44082227fc13Smrg 44092227fc13Smrg if test "x$SUNCC" = "xyes"; then 44102227fc13Smrg CWARNFLAGS="-v" 44112227fc13Smrg fi 44122227fc13Smrgfi 44132227fc13Smrg 44142227fc13Smrg 44152227fc13Smrg 44162227fc13Smrg# If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89 44172227fc13Smrg 44182227fc13Smrg 44192227fc13Smrg 44202227fc13Smrg# Check whether --enable-strict-compilation was given. 44212227fc13Smrgif test "${enable_strict_compilation+set}" = set; then : 44222227fc13Smrg enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval 44232227fc13Smrgelse 44242227fc13Smrg STRICT_COMPILE=no 44252227fc13Smrgfi 44262227fc13Smrg 44272227fc13Smrgif test "x$STRICT_COMPILE" = "xyes"; then 44282227fc13Smrg ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 44292227fc13Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then : 44302227fc13Smrg SUNCC="yes" 44312227fc13Smrgelse 44322227fc13Smrg SUNCC="no" 44332227fc13Smrgfi 44342227fc13Smrg 44352227fc13Smrg ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" 44362227fc13Smrgif test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then : 44372227fc13Smrg INTELCC="yes" 44382227fc13Smrgelse 44392227fc13Smrg INTELCC="no" 44402227fc13Smrgfi 44412227fc13Smrg 44422227fc13Smrg if test "x$GCC" = xyes ; then 44432227fc13Smrg STRICT_CFLAGS="-pedantic -Werror" 44442227fc13Smrg elif test "x$SUNCC" = "xyes"; then 44452227fc13Smrg STRICT_CFLAGS="-errwarn" 44462227fc13Smrg elif test "x$INTELCC" = "xyes"; then 44472227fc13Smrg STRICT_CFLAGS="-Werror" 44482227fc13Smrg fi 44492227fc13Smrgfi 44502227fc13SmrgCWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS" 44512227fc13Smrg 44522227fc13Smrg 44532227fc13Smrg 44542227fc13Smrg 44552227fc13Smrgcat >>confdefs.h <<_ACEOF 44562227fc13Smrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 44572227fc13Smrg_ACEOF 44582227fc13Smrg 44592227fc13Smrg PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 44602227fc13Smrg if test "x$PVM" = "x"; then 44612227fc13Smrg PVM="0" 44622227fc13Smrg fi 44632227fc13Smrg 44642227fc13Smrgcat >>confdefs.h <<_ACEOF 44652227fc13Smrg#define PACKAGE_VERSION_MINOR $PVM 44662227fc13Smrg_ACEOF 44672227fc13Smrg 44682227fc13Smrg PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 44692227fc13Smrg if test "x$PVP" = "x"; then 44702227fc13Smrg PVP="0" 44712227fc13Smrg fi 44722227fc13Smrg 44732227fc13Smrgcat >>confdefs.h <<_ACEOF 44742227fc13Smrg#define PACKAGE_VERSION_PATCHLEVEL $PVP 44752227fc13Smrg_ACEOF 44762227fc13Smrg 44772227fc13Smrg 44782227fc13Smrg 44792227fc13SmrgCHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \ 44802227fc13Smrgmv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \ 44812227fc13Smrg|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \ 44822227fc13Smrgecho 'git directory not found: installing possibly empty changelog.' >&2)" 44832227fc13Smrg 44842227fc13Smrg 44852227fc13Smrg 44862227fc13Smrg 44872227fc13Smrgmacros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros` 44882227fc13SmrgINSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \ 44892227fc13Smrgmv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \ 44902227fc13Smrg|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \ 44912227fc13Smrgecho 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)" 4492644fc5c1Stron 4493644fc5c1Stron 4494644fc5c1Stron 44952227fc13Smrg 44962227fc13Smrg 44972227fc13Smrg 44982227fc13Smrgif test x$APP_MAN_SUFFIX = x ; then 44992227fc13Smrg APP_MAN_SUFFIX=1 45002227fc13Smrgfi 45012227fc13Smrgif test x$APP_MAN_DIR = x ; then 45022227fc13Smrg APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 45032227fc13Smrgfi 45042227fc13Smrg 45052227fc13Smrgif test x$LIB_MAN_SUFFIX = x ; then 45062227fc13Smrg LIB_MAN_SUFFIX=3 45072227fc13Smrgfi 45082227fc13Smrgif test x$LIB_MAN_DIR = x ; then 45092227fc13Smrg LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 45102227fc13Smrgfi 45112227fc13Smrg 45122227fc13Smrgif test x$FILE_MAN_SUFFIX = x ; then 45132227fc13Smrg case $host_os in 45142227fc13Smrg solaris*) FILE_MAN_SUFFIX=4 ;; 45152227fc13Smrg *) FILE_MAN_SUFFIX=5 ;; 45162227fc13Smrg esac 45172227fc13Smrgfi 45182227fc13Smrgif test x$FILE_MAN_DIR = x ; then 45192227fc13Smrg FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 45202227fc13Smrgfi 45212227fc13Smrg 45222227fc13Smrgif test x$MISC_MAN_SUFFIX = x ; then 45232227fc13Smrg case $host_os in 45242227fc13Smrg solaris*) MISC_MAN_SUFFIX=5 ;; 45252227fc13Smrg *) MISC_MAN_SUFFIX=7 ;; 45262227fc13Smrg esac 45272227fc13Smrgfi 45282227fc13Smrgif test x$MISC_MAN_DIR = x ; then 45292227fc13Smrg MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 45302227fc13Smrgfi 45312227fc13Smrg 45322227fc13Smrgif test x$DRIVER_MAN_SUFFIX = x ; then 45332227fc13Smrg case $host_os in 45342227fc13Smrg solaris*) DRIVER_MAN_SUFFIX=7 ;; 45352227fc13Smrg *) DRIVER_MAN_SUFFIX=4 ;; 45362227fc13Smrg esac 45372227fc13Smrgfi 45382227fc13Smrgif test x$DRIVER_MAN_DIR = x ; then 45392227fc13Smrg DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 45402227fc13Smrgfi 45412227fc13Smrg 45422227fc13Smrgif test x$ADMIN_MAN_SUFFIX = x ; then 45432227fc13Smrg case $host_os in 45442227fc13Smrg solaris*) ADMIN_MAN_SUFFIX=1m ;; 45452227fc13Smrg *) ADMIN_MAN_SUFFIX=8 ;; 45462227fc13Smrg esac 45472227fc13Smrgfi 45482227fc13Smrgif test x$ADMIN_MAN_DIR = x ; then 45492227fc13Smrg ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 45502227fc13Smrgfi 45512227fc13Smrg 45522227fc13Smrg 45532227fc13Smrg 45542227fc13Smrg 45552227fc13Smrg 45562227fc13Smrg 45572227fc13Smrg 45582227fc13Smrg 45592227fc13Smrg 45602227fc13Smrg 45612227fc13Smrg 45622227fc13Smrg 45632227fc13Smrg 45642227fc13Smrg 45652227fc13Smrg 45662227fc13SmrgXORG_MAN_PAGE="X Version 11" 45672227fc13Smrg 45682227fc13SmrgMAN_SUBSTS="\ 45692227fc13Smrg -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 45702227fc13Smrg -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 45712227fc13Smrg -e 's|__xservername__|Xorg|g' \ 45722227fc13Smrg -e 's|__xconfigfile__|xorg.conf|g' \ 45732227fc13Smrg -e 's|__projectroot__|\$(prefix)|g' \ 45742227fc13Smrg -e 's|__apploaddir__|\$(appdefaultdir)|g' \ 45752227fc13Smrg -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \ 45762227fc13Smrg -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \ 45772227fc13Smrg -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \ 45782227fc13Smrg -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \ 45792227fc13Smrg -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \ 45802227fc13Smrg -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'" 45812227fc13Smrg 45822227fc13Smrg 45832227fc13Smrg 45842227fc13Smrg# Check whether --enable-silent-rules was given. 45852227fc13Smrgif test "${enable_silent_rules+set}" = set; then : 45862227fc13Smrg enableval=$enable_silent_rules; 45872227fc13Smrgfi 45882227fc13Smrg 45892227fc13Smrgcase $enable_silent_rules in 45902227fc13Smrgyes) AM_DEFAULT_VERBOSITY=0;; 45912227fc13Smrgno) AM_DEFAULT_VERBOSITY=1;; 45922227fc13Smrg*) AM_DEFAULT_VERBOSITY=0;; 45932227fc13Smrgesac 45942227fc13SmrgAM_BACKSLASH='\' 45952227fc13Smrg 45962227fc13Smrg 45972227fc13Smrg 45982227fc13Smrg 45992227fc13Smrg 46002227fc13Smrg# Require X.Org's font util macros 1.2 or later 46012227fc13Smrg 46022227fc13Smrg 46032227fc13Smrg 46042227fc13Smrg 46052227fc13Smrg 46062227fc13Smrg 46072227fc13Smrg 46082227fc13Smrg 46092227fc13Smrg 46102227fc13Smrg 46112227fc13Smrg 46122227fc13Smrg 46132227fc13Smrg 46142227fc13Smrg 46152227fc13Smrg 46162227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for root directory for font files" >&5 46172227fc13Smrg$as_echo_n "checking for root directory for font files... " >&6; } 46182227fc13Smrg 46192227fc13Smrg# Check whether --with-fontrootdir was given. 46202227fc13Smrgif test "${with_fontrootdir+set}" = set; then : 46212227fc13Smrg withval=$with_fontrootdir; FONTROOTDIR="$withval" 46222227fc13Smrgfi 46232227fc13Smrg 46242227fc13Smrg # if --with-fontrootdir not specified... 46252227fc13Smrg if test "x${FONTROOTDIR}" = "x"; then 46262227fc13Smrg FONTROOTDIR=`$PKG_CONFIG --variable=fontrootdir fontutil` 46272227fc13Smrg fi 46282227fc13Smrg # ...and if pkg-config didn't find fontdir in fontutil.pc... 46292227fc13Smrg if test "x${FONTROOTDIR}" = "x"; then 46302227fc13Smrg FONTROOTDIR="${datadir}/fonts/X11" 46312227fc13Smrg fi 46322227fc13Smrg 46332227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${FONTROOTDIR}" >&5 46342227fc13Smrg$as_echo "${FONTROOTDIR}" >&6; } 46352227fc13Smrg 46362227fc13Smrg 46372227fc13Smrg 46382227fc13Smrg 46392227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for directory for misc files" >&5 46402227fc13Smrg$as_echo_n "checking for directory for misc files... " >&6; } 46412227fc13Smrg 46422227fc13Smrg# Check whether --with-fontdir was given. 46432227fc13Smrgif test "${with_fontdir+set}" = set; then : 46442227fc13Smrg withval=$with_fontdir; FONTDIR="${withval}" 4645644fc5c1Stronelse 46462227fc13Smrg FONTDIR='${FONTROOTDIR}/misc' 4647644fc5c1Stronfi 4648644fc5c1Stron 4649644fc5c1Stron 46502227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${FONTDIR}" >&5 46512227fc13Smrg$as_echo "${FONTDIR}" >&6; } 4652644fc5c1Stron 4653644fc5c1Stron 46542227fc13Smrg 46552227fc13Smrg 46562227fc13Smrg # Extract the first word of "fc-cache", so it can be a program name with args. 46572227fc13Smrgset dummy fc-cache; ac_word=$2 46582227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 46592227fc13Smrg$as_echo_n "checking for $ac_word... " >&6; } 46602227fc13Smrgif ${ac_cv_path_FCCACHE+:} false; then : 46612227fc13Smrg $as_echo_n "(cached) " >&6 4662644fc5c1Stronelse 46632227fc13Smrg case $FCCACHE in 46642227fc13Smrg [\\/]* | ?:[\\/]*) 46652227fc13Smrg ac_cv_path_FCCACHE="$FCCACHE" # Let the user override the test with a path. 46662227fc13Smrg ;; 46672227fc13Smrg *) 4668644fc5c1Stron as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4669644fc5c1Stronfor as_dir in $PATH 4670644fc5c1Strondo 4671644fc5c1Stron IFS=$as_save_IFS 4672644fc5c1Stron test -z "$as_dir" && as_dir=. 46732227fc13Smrg for ac_exec_ext in '' $ac_executable_extensions; do 46742227fc13Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 46752227fc13Smrg ac_cv_path_FCCACHE="$as_dir/$ac_word$ac_exec_ext" 46762227fc13Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 46772227fc13Smrg break 2 46782227fc13Smrg fi 4679644fc5c1Strondone 46802227fc13Smrg done 46812227fc13SmrgIFS=$as_save_IFS 4682644fc5c1Stron 46832227fc13Smrg ;; 46842227fc13Smrgesac 4685644fc5c1Stronfi 46862227fc13SmrgFCCACHE=$ac_cv_path_FCCACHE 46872227fc13Smrgif test -n "$FCCACHE"; then 46882227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FCCACHE" >&5 46892227fc13Smrg$as_echo "$FCCACHE" >&6; } 46902227fc13Smrgelse 46912227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 46922227fc13Smrg$as_echo "no" >&6; } 4693644fc5c1Stronfi 4694644fc5c1Stron 4695644fc5c1Stron 46962227fc13Smrg FCCACHE_WARN='echo "** Warning: fonts.cache not built" ; echo "** Generate this file manually on host system using fc-cache"' 46972227fc13Smrg if test x"$FCCACHE" = x ; then 46982227fc13Smrg RUN_FCCACHE="${FCCACHE_WARN}" 46992227fc13Smrg else 47002227fc13Smrg RUN_FCCACHE='@(if test -z "$(DESTDIR)"; then echo $(FCCACHE) $(fontdir); $(FCCACHE) $(fontdir); else' 47012227fc13Smrg RUN_FCCACHE="${RUN_FCCACHE} ${FCCACHE_WARN} ; fi)" 47022227fc13Smrg fi 4703644fc5c1Stron 4704644fc5c1Stron 4705644fc5c1Stron 47062227fc13Smrg # Extract the first word of "mkfontdir", so it can be a program name with args. 47072227fc13Smrgset dummy mkfontdir; ac_word=$2 47082227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 47092227fc13Smrg$as_echo_n "checking for $ac_word... " >&6; } 47102227fc13Smrgif ${ac_cv_path_MKFONTDIR+:} false; then : 47112227fc13Smrg $as_echo_n "(cached) " >&6 4712644fc5c1Stronelse 47132227fc13Smrg case $MKFONTDIR in 4714644fc5c1Stron [\\/]* | ?:[\\/]*) 47152227fc13Smrg ac_cv_path_MKFONTDIR="$MKFONTDIR" # Let the user override the test with a path. 4716644fc5c1Stron ;; 4717644fc5c1Stron *) 4718644fc5c1Stron as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4719644fc5c1Stronfor as_dir in $PATH 4720644fc5c1Strondo 4721644fc5c1Stron IFS=$as_save_IFS 4722644fc5c1Stron test -z "$as_dir" && as_dir=. 47232227fc13Smrg for ac_exec_ext in '' $ac_executable_extensions; do 47242227fc13Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 47252227fc13Smrg ac_cv_path_MKFONTDIR="$as_dir/$ac_word$ac_exec_ext" 47262227fc13Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4727644fc5c1Stron break 2 4728644fc5c1Stron fi 4729644fc5c1Strondone 47302227fc13Smrg done 47312227fc13SmrgIFS=$as_save_IFS 4732644fc5c1Stron 4733644fc5c1Stron ;; 4734644fc5c1Stronesac 4735644fc5c1Stronfi 47362227fc13SmrgMKFONTDIR=$ac_cv_path_MKFONTDIR 47372227fc13Smrgif test -n "$MKFONTDIR"; then 47382227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKFONTDIR" >&5 47392227fc13Smrg$as_echo "$MKFONTDIR" >&6; } 4740644fc5c1Stronelse 47412227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 47422227fc13Smrg$as_echo "no" >&6; } 4743644fc5c1Stronfi 4744644fc5c1Stron 47452227fc13Smrg 47462227fc13Smrg if test x"$MKFONTDIR" = x; then 47472227fc13Smrg as_fn_error $? "mkfontdir is required to build $PACKAGE_NAME." "$LINENO" 5 47482227fc13Smrg fi 47492227fc13Smrg 47502227fc13Smrg 47512227fc13Smrg 47522227fc13Smrg # Extract the first word of "bdftopcf", so it can be a program name with args. 47532227fc13Smrgset dummy bdftopcf; ac_word=$2 47542227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 47552227fc13Smrg$as_echo_n "checking for $ac_word... " >&6; } 47562227fc13Smrgif ${ac_cv_path_BDFTOPCF+:} false; then : 47572227fc13Smrg $as_echo_n "(cached) " >&6 4758644fc5c1Stronelse 47592227fc13Smrg case $BDFTOPCF in 4760644fc5c1Stron [\\/]* | ?:[\\/]*) 47612227fc13Smrg ac_cv_path_BDFTOPCF="$BDFTOPCF" # Let the user override the test with a path. 4762644fc5c1Stron ;; 4763644fc5c1Stron *) 4764644fc5c1Stron as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4765644fc5c1Stronfor as_dir in $PATH 4766644fc5c1Strondo 4767644fc5c1Stron IFS=$as_save_IFS 4768644fc5c1Stron test -z "$as_dir" && as_dir=. 47692227fc13Smrg for ac_exec_ext in '' $ac_executable_extensions; do 47702227fc13Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 47712227fc13Smrg ac_cv_path_BDFTOPCF="$as_dir/$ac_word$ac_exec_ext" 47722227fc13Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4773644fc5c1Stron break 2 4774644fc5c1Stron fi 4775644fc5c1Strondone 47762227fc13Smrg done 47772227fc13SmrgIFS=$as_save_IFS 4778644fc5c1Stron 4779644fc5c1Stron ;; 4780644fc5c1Stronesac 4781644fc5c1Stronfi 47822227fc13SmrgBDFTOPCF=$ac_cv_path_BDFTOPCF 47832227fc13Smrgif test -n "$BDFTOPCF"; then 47842227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BDFTOPCF" >&5 47852227fc13Smrg$as_echo "$BDFTOPCF" >&6; } 47862227fc13Smrgelse 47872227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 47882227fc13Smrg$as_echo "no" >&6; } 47892227fc13Smrgfi 47902227fc13Smrg 4791644fc5c1Stron 47922227fc13Smrg if test x"$BDFTOPCF" = x; then 47932227fc13Smrg as_fn_error $? "bdftopcf is required to build $PACKAGE_NAME." "$LINENO" 5 47942227fc13Smrg fi 47952227fc13Smrg 47962227fc13Smrg 47972227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking font compression method" >&5 47982227fc13Smrg$as_echo_n "checking font compression method... " >&6; } 47992227fc13Smrg 48002227fc13Smrg# Check whether --with-compression was given. 48012227fc13Smrgif test "${with_compression+set}" = set; then : 48022227fc13Smrg withval=$with_compression; compression="$withval" 4803644fc5c1Stronelse 48042227fc13Smrg compression="yes" 4805644fc5c1Stronfi 4806644fc5c1Stron 48072227fc13Smrg if test x"$compression" = "xyes" ; then 48082227fc13Smrg compression="gzip" 48092227fc13Smrg fi 48102227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${compression}" >&5 48112227fc13Smrg$as_echo "${compression}" >&6; } 48122227fc13Smrg case ${compression} in 48132227fc13Smrg *compress) COMPRESS_SUFFIX=".Z" ;; 48142227fc13Smrg *gzip) COMPRESS_SUFFIX=".gz" ;; 48152227fc13Smrg *bzip2) COMPRESS_SUFFIX=".bz2" ;; 48162227fc13Smrg no|none) COMPRESS_SUFFIX="" ; COMPRESS="cat" ;; 48172227fc13Smrg *) as_fn_error $? "${compression} is not a supported compression method" "$LINENO" 5 ;; 48182227fc13Smrg esac 48192227fc13Smrg if test x"$COMPRESS_SUFFIX" != "x" ; then 48202227fc13Smrg 48212227fc13Smrg # Extract the first word of "${compression}", so it can be a program name with args. 48222227fc13Smrgset dummy ${compression}; ac_word=$2 48232227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 48242227fc13Smrg$as_echo_n "checking for $ac_word... " >&6; } 48252227fc13Smrgif ${ac_cv_path_COMPRESS+:} false; then : 48262227fc13Smrg $as_echo_n "(cached) " >&6 4827644fc5c1Stronelse 48282227fc13Smrg case $COMPRESS in 4829644fc5c1Stron [\\/]* | ?:[\\/]*) 48302227fc13Smrg ac_cv_path_COMPRESS="$COMPRESS" # Let the user override the test with a path. 4831644fc5c1Stron ;; 4832644fc5c1Stron *) 4833644fc5c1Stron as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4834644fc5c1Stronfor as_dir in $PATH 4835644fc5c1Strondo 4836644fc5c1Stron IFS=$as_save_IFS 4837644fc5c1Stron test -z "$as_dir" && as_dir=. 48382227fc13Smrg for ac_exec_ext in '' $ac_executable_extensions; do 48392227fc13Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 48402227fc13Smrg ac_cv_path_COMPRESS="$as_dir/$ac_word$ac_exec_ext" 48412227fc13Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4842644fc5c1Stron break 2 4843644fc5c1Stron fi 4844644fc5c1Strondone 48452227fc13Smrg done 48462227fc13SmrgIFS=$as_save_IFS 4847644fc5c1Stron 4848644fc5c1Stron ;; 4849644fc5c1Stronesac 4850644fc5c1Stronfi 48512227fc13SmrgCOMPRESS=$ac_cv_path_COMPRESS 48522227fc13Smrgif test -n "$COMPRESS"; then 48532227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $COMPRESS" >&5 48542227fc13Smrg$as_echo "$COMPRESS" >&6; } 4855644fc5c1Stronelse 48562227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 48572227fc13Smrg$as_echo "no" >&6; } 4858644fc5c1Stronfi 4859644fc5c1Stron 4860644fc5c1Stron 48612227fc13Smrg if test x"$COMPRESS" = x; then 48622227fc13Smrg as_fn_error $? "${compression} is required to build $PACKAGE_NAME." "$LINENO" 5 48632227fc13Smrg fi 4864644fc5c1Stron 48652227fc13Smrg fi 4866644fc5c1Stron 4867644fc5c1Stron 4868644fc5c1Stron 4869644fc5c1Stron 48702227fc13Smrgac_config_files="$ac_config_files Makefile" 4871644fc5c1Stron 4872644fc5c1Stroncat >confcache <<\_ACEOF 4873644fc5c1Stron# This file is a shell script that caches the results of configure 4874644fc5c1Stron# tests run on this system so they can be shared between configure 4875644fc5c1Stron# scripts and configure runs, see configure's option --config-cache. 4876644fc5c1Stron# It is not useful on other systems. If it contains results you don't 4877644fc5c1Stron# want to keep, you may remove or edit it. 4878644fc5c1Stron# 4879644fc5c1Stron# config.status only pays attention to the cache file if you give it 4880644fc5c1Stron# the --recheck option to rerun configure. 4881644fc5c1Stron# 4882644fc5c1Stron# `ac_cv_env_foo' variables (set or unset) will be overridden when 4883644fc5c1Stron# loading this file, other *unset* `ac_cv_foo' will be assigned the 4884644fc5c1Stron# following values. 4885644fc5c1Stron 4886644fc5c1Stron_ACEOF 4887644fc5c1Stron 4888644fc5c1Stron# The following way of writing the cache mishandles newlines in values, 4889644fc5c1Stron# but we know of no workaround that is simple, portable, and efficient. 48902227fc13Smrg# So, we kill variables containing newlines. 4891644fc5c1Stron# Ultrix sh set writes to stderr and can't be redirected directly, 4892644fc5c1Stron# and sets the high bit in the cache file unless we assign to the vars. 48932227fc13Smrg( 48942227fc13Smrg for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 48952227fc13Smrg eval ac_val=\$$ac_var 48962227fc13Smrg case $ac_val in #( 48972227fc13Smrg *${as_nl}*) 48982227fc13Smrg case $ac_var in #( 48992227fc13Smrg *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 49002227fc13Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 49012227fc13Smrg esac 49022227fc13Smrg case $ac_var in #( 49032227fc13Smrg _ | IFS | as_nl) ;; #( 49042227fc13Smrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 49052227fc13Smrg *) { eval $ac_var=; unset $ac_var;} ;; 49062227fc13Smrg esac ;; 49072227fc13Smrg esac 49082227fc13Smrg done 49092227fc13Smrg 4910644fc5c1Stron (set) 2>&1 | 49112227fc13Smrg case $as_nl`(ac_space=' '; set) 2>&1` in #( 49122227fc13Smrg *${as_nl}ac_space=\ *) 49132227fc13Smrg # `set' does not quote correctly, so add quotes: double-quote 49142227fc13Smrg # substitution turns \\\\ into \\, and sed turns \\ into \. 4915644fc5c1Stron sed -n \ 4916644fc5c1Stron "s/'/'\\\\''/g; 4917644fc5c1Stron s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 49182227fc13Smrg ;; #( 4919644fc5c1Stron *) 4920644fc5c1Stron # `set' quotes correctly as required by POSIX, so do not add quotes. 49212227fc13Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 4922644fc5c1Stron ;; 49232227fc13Smrg esac | 49242227fc13Smrg sort 49252227fc13Smrg) | 4926644fc5c1Stron sed ' 49272227fc13Smrg /^ac_cv_env_/b end 4928644fc5c1Stron t clear 49292227fc13Smrg :clear 4930644fc5c1Stron s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 4931644fc5c1Stron t end 49322227fc13Smrg s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 49332227fc13Smrg :end' >>confcache 49342227fc13Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 49352227fc13Smrg if test -w "$cache_file"; then 49362227fc13Smrg if test "x$cache_file" != "x/dev/null"; then 49372227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 49382227fc13Smrg$as_echo "$as_me: updating cache $cache_file" >&6;} 49392227fc13Smrg if test ! -f "$cache_file" || test -h "$cache_file"; then 49402227fc13Smrg cat confcache >"$cache_file" 49412227fc13Smrg else 49422227fc13Smrg case $cache_file in #( 49432227fc13Smrg */* | ?:*) 49442227fc13Smrg mv -f confcache "$cache_file"$$ && 49452227fc13Smrg mv -f "$cache_file"$$ "$cache_file" ;; #( 49462227fc13Smrg *) 49472227fc13Smrg mv -f confcache "$cache_file" ;; 49482227fc13Smrg esac 49492227fc13Smrg fi 49502227fc13Smrg fi 4951644fc5c1Stron else 49522227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 49532227fc13Smrg$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 4954644fc5c1Stron fi 4955644fc5c1Stronfi 4956644fc5c1Stronrm -f confcache 4957644fc5c1Stron 4958644fc5c1Strontest "x$prefix" = xNONE && prefix=$ac_default_prefix 4959644fc5c1Stron# Let make expand exec_prefix. 4960644fc5c1Strontest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 4961644fc5c1Stron 4962644fc5c1Stron# Transform confdefs.h into DEFS. 4963644fc5c1Stron# Protect against shell expansion while executing Makefile rules. 4964644fc5c1Stron# Protect against Makefile macro expansion. 4965644fc5c1Stron# 4966644fc5c1Stron# If the first sed substitution is executed (which looks for macros that 49672227fc13Smrg# take arguments), then branch to the quote section. Otherwise, 4968644fc5c1Stron# look for a macro that doesn't take arguments. 49692227fc13Smrgac_script=' 49702227fc13Smrg:mline 49712227fc13Smrg/\\$/{ 49722227fc13Smrg N 49732227fc13Smrg s,\\\n,, 49742227fc13Smrg b mline 49752227fc13Smrg} 4976644fc5c1Stront clear 49772227fc13Smrg:clear 49782227fc13Smrgs/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 4979644fc5c1Stront quote 49802227fc13Smrgs/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 4981644fc5c1Stront quote 49822227fc13Smrgb any 49832227fc13Smrg:quote 49842227fc13Smrgs/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 49852227fc13Smrgs/\[/\\&/g 49862227fc13Smrgs/\]/\\&/g 49872227fc13Smrgs/\$/$$/g 49882227fc13SmrgH 49892227fc13Smrg:any 49902227fc13Smrg${ 49912227fc13Smrg g 49922227fc13Smrg s/^\n// 49932227fc13Smrg s/\n/ /g 49942227fc13Smrg p 49952227fc13Smrg} 49962227fc13Smrg' 49972227fc13SmrgDEFS=`sed -n "$ac_script" confdefs.h` 4998644fc5c1Stron 4999644fc5c1Stron 5000644fc5c1Stronac_libobjs= 5001644fc5c1Stronac_ltlibobjs= 50022227fc13SmrgU= 5003644fc5c1Stronfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 5004644fc5c1Stron # 1. Remove the extension, and $U if already installed. 50052227fc13Smrg ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 50062227fc13Smrg ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 50072227fc13Smrg # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 50082227fc13Smrg # will be set to the directory where LIBOBJS objects are built. 50092227fc13Smrg as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 50102227fc13Smrg as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 5011644fc5c1Strondone 5012644fc5c1StronLIBOBJS=$ac_libobjs 5013644fc5c1Stron 5014644fc5c1StronLTLIBOBJS=$ac_ltlibobjs 5015644fc5c1Stron 5016644fc5c1Stron 50172227fc13Smrg if test -n "$EXEEXT"; then 50182227fc13Smrg am__EXEEXT_TRUE= 50192227fc13Smrg am__EXEEXT_FALSE='#' 50202227fc13Smrgelse 50212227fc13Smrg am__EXEEXT_TRUE='#' 50222227fc13Smrg am__EXEEXT_FALSE= 50232227fc13Smrgfi 50242227fc13Smrg 5025644fc5c1Stronif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 50262227fc13Smrg as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 50272227fc13SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 50282227fc13Smrgfi 50292227fc13Smrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 50302227fc13Smrg as_fn_error $? "conditional \"AMDEP\" was never defined. 50312227fc13SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 50322227fc13Smrgfi 50332227fc13Smrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 50342227fc13Smrg as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 50352227fc13SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 5036644fc5c1Stronfi 5037644fc5c1Stron 50382227fc13Smrg: "${CONFIG_STATUS=./config.status}" 50392227fc13Smrgac_write_fail=0 5040644fc5c1Stronac_clean_files_save=$ac_clean_files 5041644fc5c1Stronac_clean_files="$ac_clean_files $CONFIG_STATUS" 50422227fc13Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 50432227fc13Smrg$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 50442227fc13Smrgas_write_fail=0 50452227fc13Smrgcat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 5046644fc5c1Stron#! $SHELL 5047644fc5c1Stron# Generated by $as_me. 5048644fc5c1Stron# Run this file to recreate the current configuration. 5049644fc5c1Stron# Compiler output produced by configure, useful for debugging 5050644fc5c1Stron# configure, is in config.log if it exists. 5051644fc5c1Stron 5052644fc5c1Strondebug=false 5053644fc5c1Stronac_cs_recheck=false 5054644fc5c1Stronac_cs_silent=false 5055644fc5c1Stron 50562227fc13SmrgSHELL=\${CONFIG_SHELL-$SHELL} 50572227fc13Smrgexport SHELL 50582227fc13Smrg_ASEOF 50592227fc13Smrgcat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 50602227fc13Smrg## -------------------- ## 50612227fc13Smrg## M4sh Initialization. ## 50622227fc13Smrg## -------------------- ## 50632227fc13Smrg 50642227fc13Smrg# Be more Bourne compatible 50652227fc13SmrgDUALCASE=1; export DUALCASE # for MKS sh 50662227fc13Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 5067644fc5c1Stron emulate sh 5068644fc5c1Stron NULLCMD=: 50692227fc13Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 5070644fc5c1Stron # is contrary to our usage. Disable this feature. 5071644fc5c1Stron alias -g '${1+"$@"}'='"$@"' 50722227fc13Smrg setopt NO_GLOB_SUBST 50732227fc13Smrgelse 50742227fc13Smrg case `(set -o) 2>/dev/null` in #( 50752227fc13Smrg *posix*) : 50762227fc13Smrg set -o posix ;; #( 50772227fc13Smrg *) : 50782227fc13Smrg ;; 50792227fc13Smrgesac 5080644fc5c1Stronfi 5081644fc5c1Stron 50822227fc13Smrg 50832227fc13Smrgas_nl=' 50842227fc13Smrg' 50852227fc13Smrgexport as_nl 50862227fc13Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 50872227fc13Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 50882227fc13Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 50892227fc13Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 50902227fc13Smrg# Prefer a ksh shell builtin over an external printf program on Solaris, 50912227fc13Smrg# but without wasting forks for bash or zsh. 50922227fc13Smrgif test -z "$BASH_VERSION$ZSH_VERSION" \ 50932227fc13Smrg && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 50942227fc13Smrg as_echo='print -r --' 50952227fc13Smrg as_echo_n='print -rn --' 50962227fc13Smrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50972227fc13Smrg as_echo='printf %s\n' 50982227fc13Smrg as_echo_n='printf %s' 5099644fc5c1Stronelse 51002227fc13Smrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 51012227fc13Smrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 51022227fc13Smrg as_echo_n='/usr/ucb/echo -n' 51032227fc13Smrg else 51042227fc13Smrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 51052227fc13Smrg as_echo_n_body='eval 51062227fc13Smrg arg=$1; 51072227fc13Smrg case $arg in #( 51082227fc13Smrg *"$as_nl"*) 51092227fc13Smrg expr "X$arg" : "X\\(.*\\)$as_nl"; 51102227fc13Smrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 51112227fc13Smrg esac; 51122227fc13Smrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 51132227fc13Smrg ' 51142227fc13Smrg export as_echo_n_body 51152227fc13Smrg as_echo_n='sh -c $as_echo_n_body as_echo' 51162227fc13Smrg fi 51172227fc13Smrg export as_echo_body 51182227fc13Smrg as_echo='sh -c $as_echo_body as_echo' 51192227fc13Smrgfi 51202227fc13Smrg 51212227fc13Smrg# The user is always right. 51222227fc13Smrgif test "${PATH_SEPARATOR+set}" != set; then 51232227fc13Smrg PATH_SEPARATOR=: 51242227fc13Smrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 51252227fc13Smrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 51262227fc13Smrg PATH_SEPARATOR=';' 51272227fc13Smrg } 51282227fc13Smrgfi 51292227fc13Smrg 51302227fc13Smrg 51312227fc13Smrg# IFS 51322227fc13Smrg# We need space, tab and new line, in precisely that order. Quoting is 51332227fc13Smrg# there to prevent editors from complaining about space-tab. 51342227fc13Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 51352227fc13Smrg# splitting by setting IFS to empty value.) 51362227fc13SmrgIFS=" "" $as_nl" 51372227fc13Smrg 51382227fc13Smrg# Find who we are. Look in the path if we contain no directory separator. 51392227fc13Smrgas_myself= 51402227fc13Smrgcase $0 in #(( 51412227fc13Smrg *[\\/]* ) as_myself=$0 ;; 51422227fc13Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 51432227fc13Smrgfor as_dir in $PATH 51442227fc13Smrgdo 51452227fc13Smrg IFS=$as_save_IFS 51462227fc13Smrg test -z "$as_dir" && as_dir=. 51472227fc13Smrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 51482227fc13Smrg done 51492227fc13SmrgIFS=$as_save_IFS 51502227fc13Smrg 51512227fc13Smrg ;; 51522227fc13Smrgesac 51532227fc13Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 51542227fc13Smrg# in which case we are not to be found in the path. 51552227fc13Smrgif test "x$as_myself" = x; then 51562227fc13Smrg as_myself=$0 51572227fc13Smrgfi 51582227fc13Smrgif test ! -f "$as_myself"; then 51592227fc13Smrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 51602227fc13Smrg exit 1 5161644fc5c1Stronfi 5162644fc5c1Stron 51632227fc13Smrg# Unset variables that we do not need and which cause bugs (e.g. in 51642227fc13Smrg# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 51652227fc13Smrg# suppresses any "Segmentation fault" message there. '((' could 51662227fc13Smrg# trigger a bug in pdksh 5.2.14. 51672227fc13Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH 51682227fc13Smrgdo eval test x\${$as_var+set} = xset \ 51692227fc13Smrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 51702227fc13Smrgdone 5171644fc5c1StronPS1='$ ' 5172644fc5c1StronPS2='> ' 5173644fc5c1StronPS4='+ ' 5174644fc5c1Stron 5175644fc5c1Stron# NLS nuisances. 51762227fc13SmrgLC_ALL=C 51772227fc13Smrgexport LC_ALL 51782227fc13SmrgLANGUAGE=C 51792227fc13Smrgexport LANGUAGE 51802227fc13Smrg 51812227fc13Smrg# CDPATH. 51822227fc13Smrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 51832227fc13Smrg 51842227fc13Smrg 51852227fc13Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 51862227fc13Smrg# ---------------------------------------- 51872227fc13Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 51882227fc13Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 51892227fc13Smrg# script with STATUS, using 1 if that was 0. 51902227fc13Smrgas_fn_error () 51912227fc13Smrg{ 51922227fc13Smrg as_status=$1; test $as_status -eq 0 && as_status=1 51932227fc13Smrg if test "$4"; then 51942227fc13Smrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 51952227fc13Smrg $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 5196644fc5c1Stron fi 51972227fc13Smrg $as_echo "$as_me: error: $2" >&2 51982227fc13Smrg as_fn_exit $as_status 51992227fc13Smrg} # as_fn_error 52002227fc13Smrg 52012227fc13Smrg 52022227fc13Smrg# as_fn_set_status STATUS 52032227fc13Smrg# ----------------------- 52042227fc13Smrg# Set $? to STATUS, without forking. 52052227fc13Smrgas_fn_set_status () 52062227fc13Smrg{ 52072227fc13Smrg return $1 52082227fc13Smrg} # as_fn_set_status 52092227fc13Smrg 52102227fc13Smrg# as_fn_exit STATUS 52112227fc13Smrg# ----------------- 52122227fc13Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 52132227fc13Smrgas_fn_exit () 52142227fc13Smrg{ 52152227fc13Smrg set +e 52162227fc13Smrg as_fn_set_status $1 52172227fc13Smrg exit $1 52182227fc13Smrg} # as_fn_exit 52192227fc13Smrg 52202227fc13Smrg# as_fn_unset VAR 52212227fc13Smrg# --------------- 52222227fc13Smrg# Portably unset VAR. 52232227fc13Smrgas_fn_unset () 52242227fc13Smrg{ 52252227fc13Smrg { eval $1=; unset $1;} 52262227fc13Smrg} 52272227fc13Smrgas_unset=as_fn_unset 52282227fc13Smrg# as_fn_append VAR VALUE 52292227fc13Smrg# ---------------------- 52302227fc13Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take 52312227fc13Smrg# advantage of any shell optimizations that allow amortized linear growth over 52322227fc13Smrg# repeated appends, instead of the typical quadratic growth present in naive 52332227fc13Smrg# implementations. 52342227fc13Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 52352227fc13Smrg eval 'as_fn_append () 52362227fc13Smrg { 52372227fc13Smrg eval $1+=\$2 52382227fc13Smrg }' 52392227fc13Smrgelse 52402227fc13Smrg as_fn_append () 52412227fc13Smrg { 52422227fc13Smrg eval $1=\$$1\$2 52432227fc13Smrg } 52442227fc13Smrgfi # as_fn_append 52452227fc13Smrg 52462227fc13Smrg# as_fn_arith ARG... 52472227fc13Smrg# ------------------ 52482227fc13Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the 52492227fc13Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 52502227fc13Smrg# must be portable across $(()) and expr. 52512227fc13Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 52522227fc13Smrg eval 'as_fn_arith () 52532227fc13Smrg { 52542227fc13Smrg as_val=$(( $* )) 52552227fc13Smrg }' 52562227fc13Smrgelse 52572227fc13Smrg as_fn_arith () 52582227fc13Smrg { 52592227fc13Smrg as_val=`expr "$@" || test $? -eq 1` 52602227fc13Smrg } 52612227fc13Smrgfi # as_fn_arith 5262644fc5c1Stron 52632227fc13Smrg 52642227fc13Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 52652227fc13Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 5266644fc5c1Stron as_expr=expr 5267644fc5c1Stronelse 5268644fc5c1Stron as_expr=false 5269644fc5c1Stronfi 5270644fc5c1Stron 52712227fc13Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 5272644fc5c1Stron as_basename=basename 5273644fc5c1Stronelse 5274644fc5c1Stron as_basename=false 5275644fc5c1Stronfi 5276644fc5c1Stron 52772227fc13Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 52782227fc13Smrg as_dirname=dirname 52792227fc13Smrgelse 52802227fc13Smrg as_dirname=false 52812227fc13Smrgfi 5282644fc5c1Stron 52832227fc13Smrgas_me=`$as_basename -- "$0" || 5284644fc5c1Stron$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 5285644fc5c1Stron X"$0" : 'X\(//\)$' \| \ 52862227fc13Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 52872227fc13Smrg$as_echo X/"$0" | 52882227fc13Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 52892227fc13Smrg s//\1/ 52902227fc13Smrg q 52912227fc13Smrg } 52922227fc13Smrg /^X\/\(\/\/\)$/{ 52932227fc13Smrg s//\1/ 52942227fc13Smrg q 52952227fc13Smrg } 52962227fc13Smrg /^X\/\(\/\).*/{ 52972227fc13Smrg s//\1/ 52982227fc13Smrg q 52992227fc13Smrg } 53002227fc13Smrg s/.*/./; q'` 5301644fc5c1Stron 5302644fc5c1Stron# Avoid depending upon Character Ranges. 5303644fc5c1Stronas_cr_letters='abcdefghijklmnopqrstuvwxyz' 5304644fc5c1Stronas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 5305644fc5c1Stronas_cr_Letters=$as_cr_letters$as_cr_LETTERS 5306644fc5c1Stronas_cr_digits='0123456789' 5307644fc5c1Stronas_cr_alnum=$as_cr_Letters$as_cr_digits 5308644fc5c1Stron 53092227fc13SmrgECHO_C= ECHO_N= ECHO_T= 53102227fc13Smrgcase `echo -n x` in #((((( 53112227fc13Smrg-n*) 53122227fc13Smrg case `echo 'xy\c'` in 53132227fc13Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 53142227fc13Smrg xy) ECHO_C='\c';; 53152227fc13Smrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 53162227fc13Smrg ECHO_T=' ';; 53172227fc13Smrg esac;; 53182227fc13Smrg*) 53192227fc13Smrg ECHO_N='-n';; 5320644fc5c1Stronesac 5321644fc5c1Stron 53222227fc13Smrgrm -f conf$$ conf$$.exe conf$$.file 53232227fc13Smrgif test -d conf$$.dir; then 53242227fc13Smrg rm -f conf$$.dir/conf$$.file 5325644fc5c1Stronelse 53262227fc13Smrg rm -f conf$$.dir 53272227fc13Smrg mkdir conf$$.dir 2>/dev/null 5328644fc5c1Stronfi 53292227fc13Smrgif (echo >conf$$.file) 2>/dev/null; then 53302227fc13Smrg if ln -s conf$$.file conf$$ 2>/dev/null; then 5331644fc5c1Stron as_ln_s='ln -s' 53322227fc13Smrg # ... but there are two gotchas: 53332227fc13Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 53342227fc13Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 53352227fc13Smrg # In both cases, we have to default to `cp -p'. 53362227fc13Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 53372227fc13Smrg as_ln_s='cp -p' 53382227fc13Smrg elif ln conf$$.file conf$$ 2>/dev/null; then 53392227fc13Smrg as_ln_s=ln 53402227fc13Smrg else 53412227fc13Smrg as_ln_s='cp -p' 5342644fc5c1Stron fi 5343644fc5c1Stronelse 5344644fc5c1Stron as_ln_s='cp -p' 5345644fc5c1Stronfi 53462227fc13Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 53472227fc13Smrgrmdir conf$$.dir 2>/dev/null 53482227fc13Smrg 53492227fc13Smrg 53502227fc13Smrg# as_fn_mkdir_p 53512227fc13Smrg# ------------- 53522227fc13Smrg# Create "$as_dir" as a directory, including parents if necessary. 53532227fc13Smrgas_fn_mkdir_p () 53542227fc13Smrg{ 5355644fc5c1Stron 53562227fc13Smrg case $as_dir in #( 53572227fc13Smrg -*) as_dir=./$as_dir;; 53582227fc13Smrg esac 53592227fc13Smrg test -d "$as_dir" || eval $as_mkdir_p || { 53602227fc13Smrg as_dirs= 53612227fc13Smrg while :; do 53622227fc13Smrg case $as_dir in #( 53632227fc13Smrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 53642227fc13Smrg *) as_qdir=$as_dir;; 53652227fc13Smrg esac 53662227fc13Smrg as_dirs="'$as_qdir' $as_dirs" 53672227fc13Smrg as_dir=`$as_dirname -- "$as_dir" || 53682227fc13Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 53692227fc13Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 53702227fc13Smrg X"$as_dir" : 'X\(//\)$' \| \ 53712227fc13Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 53722227fc13Smrg$as_echo X"$as_dir" | 53732227fc13Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 53742227fc13Smrg s//\1/ 53752227fc13Smrg q 53762227fc13Smrg } 53772227fc13Smrg /^X\(\/\/\)[^/].*/{ 53782227fc13Smrg s//\1/ 53792227fc13Smrg q 53802227fc13Smrg } 53812227fc13Smrg /^X\(\/\/\)$/{ 53822227fc13Smrg s//\1/ 53832227fc13Smrg q 53842227fc13Smrg } 53852227fc13Smrg /^X\(\/\).*/{ 53862227fc13Smrg s//\1/ 53872227fc13Smrg q 53882227fc13Smrg } 53892227fc13Smrg s/.*/./; q'` 53902227fc13Smrg test -d "$as_dir" && break 53912227fc13Smrg done 53922227fc13Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 53932227fc13Smrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 53942227fc13Smrg 53952227fc13Smrg 53962227fc13Smrg} # as_fn_mkdir_p 5397644fc5c1Stronif mkdir -p . 2>/dev/null; then 53982227fc13Smrg as_mkdir_p='mkdir -p "$as_dir"' 5399644fc5c1Stronelse 5400644fc5c1Stron test -d ./-p && rmdir ./-p 5401644fc5c1Stron as_mkdir_p=false 5402644fc5c1Stronfi 5403644fc5c1Stron 54042227fc13Smrgif test -x / >/dev/null 2>&1; then 54052227fc13Smrg as_test_x='test -x' 54062227fc13Smrgelse 54072227fc13Smrg if ls -dL / >/dev/null 2>&1; then 54082227fc13Smrg as_ls_L_option=L 54092227fc13Smrg else 54102227fc13Smrg as_ls_L_option= 54112227fc13Smrg fi 54122227fc13Smrg as_test_x=' 54132227fc13Smrg eval sh -c '\'' 54142227fc13Smrg if test -d "$1"; then 54152227fc13Smrg test -d "$1/."; 54162227fc13Smrg else 54172227fc13Smrg case $1 in #( 54182227fc13Smrg -*)set "./$1";; 54192227fc13Smrg esac; 54202227fc13Smrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 54212227fc13Smrg ???[sx]*):;;*)false;;esac;fi 54222227fc13Smrg '\'' sh 54232227fc13Smrg ' 54242227fc13Smrgfi 54252227fc13Smrgas_executable_p=$as_test_x 5426644fc5c1Stron 5427644fc5c1Stron# Sed expression to map a string onto a valid CPP name. 5428644fc5c1Stronas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5429644fc5c1Stron 5430644fc5c1Stron# Sed expression to map a string onto a valid variable name. 5431644fc5c1Stronas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5432644fc5c1Stron 5433644fc5c1Stron 5434644fc5c1Stronexec 6>&1 54352227fc13Smrg## ----------------------------------- ## 54362227fc13Smrg## Main body of $CONFIG_STATUS script. ## 54372227fc13Smrg## ----------------------------------- ## 54382227fc13Smrg_ASEOF 54392227fc13Smrgtest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 54402227fc13Smrg 54412227fc13Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 54422227fc13Smrg# Save the log message, to keep $0 and so on meaningful, and to 5443644fc5c1Stron# report actual input values of CONFIG_FILES etc. instead of their 54442227fc13Smrg# values after options handling. 54452227fc13Smrgac_log=" 54462227fc13SmrgThis file was extended by font-sony-misc $as_me 1.0.3, which was 54472227fc13Smrggenerated by GNU Autoconf 2.68. Invocation command line was 5448644fc5c1Stron 5449644fc5c1Stron CONFIG_FILES = $CONFIG_FILES 5450644fc5c1Stron CONFIG_HEADERS = $CONFIG_HEADERS 5451644fc5c1Stron CONFIG_LINKS = $CONFIG_LINKS 5452644fc5c1Stron CONFIG_COMMANDS = $CONFIG_COMMANDS 5453644fc5c1Stron $ $0 $@ 5454644fc5c1Stron 54552227fc13Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q` 54562227fc13Smrg" 54572227fc13Smrg 5458644fc5c1Stron_ACEOF 5459644fc5c1Stron 54602227fc13Smrgcase $ac_config_files in *" 54612227fc13Smrg"*) set x $ac_config_files; shift; ac_config_files=$*;; 54622227fc13Smrgesac 5463644fc5c1Stron 5464644fc5c1Stron 5465644fc5c1Stron 54662227fc13Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 54672227fc13Smrg# Files that config.status was made for. 54682227fc13Smrgconfig_files="$ac_config_files" 54692227fc13Smrgconfig_commands="$ac_config_commands" 5470644fc5c1Stron 54712227fc13Smrg_ACEOF 5472644fc5c1Stron 54732227fc13Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5474644fc5c1Stronac_cs_usage="\ 54752227fc13Smrg\`$as_me' instantiates files and other configuration actions 54762227fc13Smrgfrom templates according to the current configuration. Unless the files 54772227fc13Smrgand actions are specified as TAGs, all are instantiated by default. 5478644fc5c1Stron 54792227fc13SmrgUsage: $0 [OPTION]... [TAG]... 5480644fc5c1Stron 5481644fc5c1Stron -h, --help print this help, then exit 54822227fc13Smrg -V, --version print version number and configuration settings, then exit 54832227fc13Smrg --config print configuration, then exit 54842227fc13Smrg -q, --quiet, --silent 54852227fc13Smrg do not print progress messages 5486644fc5c1Stron -d, --debug don't remove temporary files 5487644fc5c1Stron --recheck update $as_me by reconfiguring in the same conditions 54882227fc13Smrg --file=FILE[:TEMPLATE] 54892227fc13Smrg instantiate the configuration file FILE 5490644fc5c1Stron 5491644fc5c1StronConfiguration files: 5492644fc5c1Stron$config_files 5493644fc5c1Stron 54942227fc13SmrgConfiguration commands: 54952227fc13Smrg$config_commands 54962227fc13Smrg 54972227fc13SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>." 5498644fc5c1Stron 54992227fc13Smrg_ACEOF 55002227fc13Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 55012227fc13Smrgac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 5502644fc5c1Stronac_cs_version="\\ 55032227fc13Smrgfont-sony-misc config.status 1.0.3 55042227fc13Smrgconfigured by $0, generated by GNU Autoconf 2.68, 55052227fc13Smrg with options \\"\$ac_cs_config\\" 5506644fc5c1Stron 55072227fc13SmrgCopyright (C) 2010 Free Software Foundation, Inc. 5508644fc5c1StronThis config.status script is free software; the Free Software Foundation 5509644fc5c1Strongives unlimited permission to copy, distribute and modify it." 55102227fc13Smrg 55112227fc13Smrgac_pwd='$ac_pwd' 55122227fc13Smrgsrcdir='$srcdir' 55132227fc13SmrgINSTALL='$INSTALL' 55142227fc13SmrgMKDIR_P='$MKDIR_P' 55152227fc13SmrgAWK='$AWK' 55162227fc13Smrgtest -n "\$AWK" || AWK=awk 5517644fc5c1Stron_ACEOF 5518644fc5c1Stron 55192227fc13Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 55202227fc13Smrg# The default lists apply if the user does not specify any file. 5521644fc5c1Stronac_need_defaults=: 5522644fc5c1Stronwhile test $# != 0 5523644fc5c1Strondo 5524644fc5c1Stron case $1 in 55252227fc13Smrg --*=?*) 55262227fc13Smrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 55272227fc13Smrg ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 55282227fc13Smrg ac_shift=: 55292227fc13Smrg ;; 55302227fc13Smrg --*=) 55312227fc13Smrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 55322227fc13Smrg ac_optarg= 5533644fc5c1Stron ac_shift=: 5534644fc5c1Stron ;; 55352227fc13Smrg *) 5536644fc5c1Stron ac_option=$1 5537644fc5c1Stron ac_optarg=$2 5538644fc5c1Stron ac_shift=shift 5539644fc5c1Stron ;; 5540644fc5c1Stron esac 5541644fc5c1Stron 5542644fc5c1Stron case $ac_option in 5543644fc5c1Stron # Handling of the options. 5544644fc5c1Stron -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 5545644fc5c1Stron ac_cs_recheck=: ;; 55462227fc13Smrg --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 55472227fc13Smrg $as_echo "$ac_cs_version"; exit ;; 55482227fc13Smrg --config | --confi | --conf | --con | --co | --c ) 55492227fc13Smrg $as_echo "$ac_cs_config"; exit ;; 55502227fc13Smrg --debug | --debu | --deb | --de | --d | -d ) 5551644fc5c1Stron debug=: ;; 5552644fc5c1Stron --file | --fil | --fi | --f ) 5553644fc5c1Stron $ac_shift 55542227fc13Smrg case $ac_optarg in 55552227fc13Smrg *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 55562227fc13Smrg '') as_fn_error $? "missing file argument" ;; 55572227fc13Smrg esac 55582227fc13Smrg as_fn_append CONFIG_FILES " '$ac_optarg'" 5559644fc5c1Stron ac_need_defaults=false;; 55602227fc13Smrg --he | --h | --help | --hel | -h ) 55612227fc13Smrg $as_echo "$ac_cs_usage"; exit ;; 5562644fc5c1Stron -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 5563644fc5c1Stron | -silent | --silent | --silen | --sile | --sil | --si | --s) 5564644fc5c1Stron ac_cs_silent=: ;; 5565644fc5c1Stron 5566644fc5c1Stron # This is an error. 55672227fc13Smrg -*) as_fn_error $? "unrecognized option: \`$1' 55682227fc13SmrgTry \`$0 --help' for more information." ;; 5569644fc5c1Stron 55702227fc13Smrg *) as_fn_append ac_config_targets " $1" 55712227fc13Smrg ac_need_defaults=false ;; 5572644fc5c1Stron 5573644fc5c1Stron esac 5574644fc5c1Stron shift 5575644fc5c1Strondone 5576644fc5c1Stron 5577644fc5c1Stronac_configure_extra_args= 5578644fc5c1Stron 5579644fc5c1Stronif $ac_cs_silent; then 5580644fc5c1Stron exec 6>/dev/null 5581644fc5c1Stron ac_configure_extra_args="$ac_configure_extra_args --silent" 5582644fc5c1Stronfi 5583644fc5c1Stron 5584644fc5c1Stron_ACEOF 55852227fc13Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5586644fc5c1Stronif \$ac_cs_recheck; then 55872227fc13Smrg set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 55882227fc13Smrg shift 55892227fc13Smrg \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 55902227fc13Smrg CONFIG_SHELL='$SHELL' 55912227fc13Smrg export CONFIG_SHELL 55922227fc13Smrg exec "\$@" 5593644fc5c1Stronfi 5594644fc5c1Stron 5595644fc5c1Stron_ACEOF 55962227fc13Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 55972227fc13Smrgexec 5>>config.log 55982227fc13Smrg{ 55992227fc13Smrg echo 56002227fc13Smrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 56012227fc13Smrg## Running $as_me. ## 56022227fc13Smrg_ASBOX 56032227fc13Smrg $as_echo "$ac_log" 56042227fc13Smrg} >&5 5605644fc5c1Stron 56062227fc13Smrg_ACEOF 56072227fc13Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 56082227fc13Smrg# 56092227fc13Smrg# INIT-COMMANDS 56102227fc13Smrg# 56112227fc13SmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 5612644fc5c1Stron 56132227fc13Smrg_ACEOF 5614644fc5c1Stron 56152227fc13Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5616644fc5c1Stron 56172227fc13Smrg# Handling of arguments. 5618644fc5c1Stronfor ac_config_target in $ac_config_targets 5619644fc5c1Strondo 56202227fc13Smrg case $ac_config_target in 56212227fc13Smrg "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 56222227fc13Smrg "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 56232227fc13Smrg 56242227fc13Smrg *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 5625644fc5c1Stron esac 5626644fc5c1Strondone 5627644fc5c1Stron 56282227fc13Smrg 5629644fc5c1Stron# If the user did not use the arguments to specify the items to instantiate, 5630644fc5c1Stron# then the envvar interface is used. Set only those that are not. 5631644fc5c1Stron# We use the long form for the default assignment because of an extremely 5632644fc5c1Stron# bizarre bug on SunOS 4.1.3. 5633644fc5c1Stronif $ac_need_defaults; then 5634644fc5c1Stron test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 56352227fc13Smrg test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 5636644fc5c1Stronfi 5637644fc5c1Stron 5638644fc5c1Stron# Have a temporary directory for convenience. Make it in the build tree 56392227fc13Smrg# simply because there is no reason against having it here, and in addition, 5640644fc5c1Stron# creating and moving files from /tmp can sometimes cause problems. 56412227fc13Smrg# Hook for its removal unless debugging. 56422227fc13Smrg# Note that there is a small window in which the directory will not be cleaned: 56432227fc13Smrg# after its creation but before its name has been assigned to `$tmp'. 5644644fc5c1Stron$debug || 5645644fc5c1Stron{ 56462227fc13Smrg tmp= ac_tmp= 56472227fc13Smrg trap 'exit_status=$? 56482227fc13Smrg : "${ac_tmp:=$tmp}" 56492227fc13Smrg { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 56502227fc13Smrg' 0 56512227fc13Smrg trap 'as_fn_exit 1' 1 2 13 15 5652644fc5c1Stron} 5653644fc5c1Stron# Create a (secure) tmp directory for tmp files. 5654644fc5c1Stron 5655644fc5c1Stron{ 56562227fc13Smrg tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 56572227fc13Smrg test -d "$tmp" 5658644fc5c1Stron} || 5659644fc5c1Stron{ 56602227fc13Smrg tmp=./conf$$-$RANDOM 56612227fc13Smrg (umask 077 && mkdir "$tmp") 56622227fc13Smrg} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 56632227fc13Smrgac_tmp=$tmp 56642227fc13Smrg 56652227fc13Smrg# Set up the scripts for CONFIG_FILES section. 56662227fc13Smrg# No need to generate them if there are no CONFIG_FILES. 56672227fc13Smrg# This happens for instance with `./config.status config.h'. 56682227fc13Smrgif test -n "$CONFIG_FILES"; then 56692227fc13Smrg 56702227fc13Smrg 56712227fc13Smrgac_cr=`echo X | tr X '\015'` 56722227fc13Smrg# On cygwin, bash can eat \r inside `` if the user requested igncr. 56732227fc13Smrg# But we know of no other shell where ac_cr would be empty at this 56742227fc13Smrg# point, so we can use a bashism as a fallback. 56752227fc13Smrgif test "x$ac_cr" = x; then 56762227fc13Smrg eval ac_cr=\$\'\\r\' 56772227fc13Smrgfi 56782227fc13Smrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 56792227fc13Smrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 56802227fc13Smrg ac_cs_awk_cr='\\r' 56812227fc13Smrgelse 56822227fc13Smrg ac_cs_awk_cr=$ac_cr 56832227fc13Smrgfi 56842227fc13Smrg 56852227fc13Smrgecho 'BEGIN {' >"$ac_tmp/subs1.awk" && 56862227fc13Smrg_ACEOF 56872227fc13Smrg 56882227fc13Smrg 56892227fc13Smrg{ 56902227fc13Smrg echo "cat >conf$$subs.awk <<_ACEOF" && 56912227fc13Smrg echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 56922227fc13Smrg echo "_ACEOF" 56932227fc13Smrg} >conf$$subs.sh || 56942227fc13Smrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 56952227fc13Smrgac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 56962227fc13Smrgac_delim='%!_!# ' 56972227fc13Smrgfor ac_last_try in false false false false false :; do 56982227fc13Smrg . ./conf$$subs.sh || 56992227fc13Smrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 57002227fc13Smrg 57012227fc13Smrg ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 57022227fc13Smrg if test $ac_delim_n = $ac_delim_num; then 57032227fc13Smrg break 57042227fc13Smrg elif $ac_last_try; then 57052227fc13Smrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 57062227fc13Smrg else 57072227fc13Smrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 57082227fc13Smrg fi 57092227fc13Smrgdone 57102227fc13Smrgrm -f conf$$subs.sh 57112227fc13Smrg 57122227fc13Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 57132227fc13Smrgcat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 57142227fc13Smrg_ACEOF 57152227fc13Smrgsed -n ' 57162227fc13Smrgh 57172227fc13Smrgs/^/S["/; s/!.*/"]=/ 57182227fc13Smrgp 57192227fc13Smrgg 57202227fc13Smrgs/^[^!]*!// 57212227fc13Smrg:repl 57222227fc13Smrgt repl 57232227fc13Smrgs/'"$ac_delim"'$// 57242227fc13Smrgt delim 57252227fc13Smrg:nl 57262227fc13Smrgh 57272227fc13Smrgs/\(.\{148\}\)..*/\1/ 57282227fc13Smrgt more1 57292227fc13Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 57302227fc13Smrgp 57312227fc13Smrgn 57322227fc13Smrgb repl 57332227fc13Smrg:more1 57342227fc13Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 57352227fc13Smrgp 57362227fc13Smrgg 57372227fc13Smrgs/.\{148\}// 57382227fc13Smrgt nl 57392227fc13Smrg:delim 57402227fc13Smrgh 57412227fc13Smrgs/\(.\{148\}\)..*/\1/ 57422227fc13Smrgt more2 57432227fc13Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/ 57442227fc13Smrgp 57452227fc13Smrgb 57462227fc13Smrg:more2 57472227fc13Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 57482227fc13Smrgp 57492227fc13Smrgg 57502227fc13Smrgs/.\{148\}// 57512227fc13Smrgt delim 57522227fc13Smrg' <conf$$subs.awk | sed ' 57532227fc13Smrg/^[^""]/{ 57542227fc13Smrg N 57552227fc13Smrg s/\n// 57562227fc13Smrg} 57572227fc13Smrg' >>$CONFIG_STATUS || ac_write_fail=1 57582227fc13Smrgrm -f conf$$subs.awk 57592227fc13Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 57602227fc13Smrg_ACAWK 57612227fc13Smrgcat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 57622227fc13Smrg for (key in S) S_is_set[key] = 1 57632227fc13Smrg FS = "" 57642227fc13Smrg 57652227fc13Smrg} 5766644fc5c1Stron{ 57672227fc13Smrg line = $ 0 57682227fc13Smrg nfields = split(line, field, "@") 57692227fc13Smrg substed = 0 57702227fc13Smrg len = length(field[1]) 57712227fc13Smrg for (i = 2; i < nfields; i++) { 57722227fc13Smrg key = field[i] 57732227fc13Smrg keylen = length(key) 57742227fc13Smrg if (S_is_set[key]) { 57752227fc13Smrg value = S[key] 57762227fc13Smrg line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 57772227fc13Smrg len += length(value) + length(field[++i]) 57782227fc13Smrg substed = 1 57792227fc13Smrg } else 57802227fc13Smrg len += 1 + keylen 57812227fc13Smrg } 57822227fc13Smrg 57832227fc13Smrg print line 5784644fc5c1Stron} 5785644fc5c1Stron 57862227fc13Smrg_ACAWK 57872227fc13Smrg_ACEOF 57882227fc13Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 57892227fc13Smrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 57902227fc13Smrg sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 57912227fc13Smrgelse 57922227fc13Smrg cat 57932227fc13Smrgfi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 57942227fc13Smrg || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 5795644fc5c1Stron_ACEOF 5796644fc5c1Stron 57972227fc13Smrg# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 57982227fc13Smrg# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 57992227fc13Smrg# trailing colons and then remove the whole line if VPATH becomes empty 58002227fc13Smrg# (actually we leave an empty line to preserve line numbers). 58012227fc13Smrgif test "x$srcdir" = x.; then 58022227fc13Smrg ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 58032227fc13Smrgh 58042227fc13Smrgs/// 58052227fc13Smrgs/^/:/ 58062227fc13Smrgs/[ ]*$/:/ 58072227fc13Smrgs/:\$(srcdir):/:/g 58082227fc13Smrgs/:\${srcdir}:/:/g 58092227fc13Smrgs/:@srcdir@:/:/g 58102227fc13Smrgs/^:*// 58112227fc13Smrgs/:*$// 58122227fc13Smrgx 58132227fc13Smrgs/\(=[ ]*\).*/\1/ 58142227fc13SmrgG 58152227fc13Smrgs/\n// 58162227fc13Smrgs/^[^=]*=[ ]*$// 58172227fc13Smrg}' 58182227fc13Smrgfi 5819644fc5c1Stron 58202227fc13Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 58212227fc13Smrgfi # test -n "$CONFIG_FILES" 5822644fc5c1Stron 5823644fc5c1Stron 58242227fc13Smrgeval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" 58252227fc13Smrgshift 58262227fc13Smrgfor ac_tag 58272227fc13Smrgdo 58282227fc13Smrg case $ac_tag in 58292227fc13Smrg :[FHLC]) ac_mode=$ac_tag; continue;; 58302227fc13Smrg esac 58312227fc13Smrg case $ac_mode$ac_tag in 58322227fc13Smrg :[FHL]*:*);; 58332227fc13Smrg :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 58342227fc13Smrg :[FH]-) ac_tag=-:-;; 58352227fc13Smrg :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 58362227fc13Smrg esac 58372227fc13Smrg ac_save_IFS=$IFS 58382227fc13Smrg IFS=: 58392227fc13Smrg set x $ac_tag 58402227fc13Smrg IFS=$ac_save_IFS 58412227fc13Smrg shift 58422227fc13Smrg ac_file=$1 58432227fc13Smrg shift 5844644fc5c1Stron 58452227fc13Smrg case $ac_mode in 58462227fc13Smrg :L) ac_source=$1;; 58472227fc13Smrg :[FH]) 58482227fc13Smrg ac_file_inputs= 58492227fc13Smrg for ac_f 58502227fc13Smrg do 58512227fc13Smrg case $ac_f in 58522227fc13Smrg -) ac_f="$ac_tmp/stdin";; 58532227fc13Smrg *) # Look for the file first in the build tree, then in the source tree 58542227fc13Smrg # (if the path is not absolute). The absolute path cannot be DOS-style, 58552227fc13Smrg # because $ac_f cannot contain `:'. 58562227fc13Smrg test -f "$ac_f" || 58572227fc13Smrg case $ac_f in 58582227fc13Smrg [\\/$]*) false;; 58592227fc13Smrg *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 58602227fc13Smrg esac || 58612227fc13Smrg as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 58622227fc13Smrg esac 58632227fc13Smrg case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 58642227fc13Smrg as_fn_append ac_file_inputs " '$ac_f'" 58652227fc13Smrg done 58662227fc13Smrg 58672227fc13Smrg # Let's still pretend it is `configure' which instantiates (i.e., don't 58682227fc13Smrg # use $as_me), people would be surprised to read: 58692227fc13Smrg # /* config.h. Generated by config.status. */ 58702227fc13Smrg configure_input='Generated from '` 58712227fc13Smrg $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 58722227fc13Smrg `' by configure.' 58732227fc13Smrg if test x"$ac_file" != x-; then 58742227fc13Smrg configure_input="$ac_file. $configure_input" 58752227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 58762227fc13Smrg$as_echo "$as_me: creating $ac_file" >&6;} 5877644fc5c1Stron fi 58782227fc13Smrg # Neutralize special characters interpreted by sed in replacement strings. 58792227fc13Smrg case $configure_input in #( 58802227fc13Smrg *\&* | *\|* | *\\* ) 58812227fc13Smrg ac_sed_conf_input=`$as_echo "$configure_input" | 58822227fc13Smrg sed 's/[\\\\&|]/\\\\&/g'`;; #( 58832227fc13Smrg *) ac_sed_conf_input=$configure_input;; 58842227fc13Smrg esac 5885644fc5c1Stron 58862227fc13Smrg case $ac_tag in 58872227fc13Smrg *:-:* | *:-) cat >"$ac_tmp/stdin" \ 58882227fc13Smrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 58892227fc13Smrg esac 58902227fc13Smrg ;; 5891644fc5c1Stron esac 5892644fc5c1Stron 58932227fc13Smrg ac_dir=`$as_dirname -- "$ac_file" || 5894644fc5c1Stron$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5895644fc5c1Stron X"$ac_file" : 'X\(//\)[^/]' \| \ 5896644fc5c1Stron X"$ac_file" : 'X\(//\)$' \| \ 58972227fc13Smrg X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 58982227fc13Smrg$as_echo X"$ac_file" | 58992227fc13Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 59002227fc13Smrg s//\1/ 59012227fc13Smrg q 59022227fc13Smrg } 59032227fc13Smrg /^X\(\/\/\)[^/].*/{ 59042227fc13Smrg s//\1/ 59052227fc13Smrg q 59062227fc13Smrg } 59072227fc13Smrg /^X\(\/\/\)$/{ 59082227fc13Smrg s//\1/ 59092227fc13Smrg q 59102227fc13Smrg } 59112227fc13Smrg /^X\(\/\).*/{ 59122227fc13Smrg s//\1/ 59132227fc13Smrg q 59142227fc13Smrg } 59152227fc13Smrg s/.*/./; q'` 59162227fc13Smrg as_dir="$ac_dir"; as_fn_mkdir_p 5917644fc5c1Stron ac_builddir=. 5918644fc5c1Stron 59192227fc13Smrgcase "$ac_dir" in 59202227fc13Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 59212227fc13Smrg*) 59222227fc13Smrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 59232227fc13Smrg # A ".." for each directory in $ac_dir_suffix. 59242227fc13Smrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 59252227fc13Smrg case $ac_top_builddir_sub in 59262227fc13Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 59272227fc13Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 59282227fc13Smrg esac ;; 59292227fc13Smrgesac 59302227fc13Smrgac_abs_top_builddir=$ac_pwd 59312227fc13Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 59322227fc13Smrg# for backward compatibility: 59332227fc13Smrgac_top_builddir=$ac_top_build_prefix 5934644fc5c1Stron 5935644fc5c1Stroncase $srcdir in 59362227fc13Smrg .) # We are building in place. 5937644fc5c1Stron ac_srcdir=. 59382227fc13Smrg ac_top_srcdir=$ac_top_builddir_sub 59392227fc13Smrg ac_abs_top_srcdir=$ac_pwd ;; 59402227fc13Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 5941644fc5c1Stron ac_srcdir=$srcdir$ac_dir_suffix; 59422227fc13Smrg ac_top_srcdir=$srcdir 59432227fc13Smrg ac_abs_top_srcdir=$srcdir ;; 59442227fc13Smrg *) # Relative name. 59452227fc13Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 59462227fc13Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 59472227fc13Smrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 5948644fc5c1Stronesac 59492227fc13Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 5950644fc5c1Stron 5951644fc5c1Stron 59522227fc13Smrg case $ac_mode in 59532227fc13Smrg :F) 59542227fc13Smrg # 59552227fc13Smrg # CONFIG_FILE 59562227fc13Smrg # 5957644fc5c1Stron 5958644fc5c1Stron case $INSTALL in 5959644fc5c1Stron [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 59602227fc13Smrg *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 59612227fc13Smrg esac 59622227fc13Smrg ac_MKDIR_P=$MKDIR_P 59632227fc13Smrg case $MKDIR_P in 59642227fc13Smrg [\\/$]* | ?:[\\/]* ) ;; 59652227fc13Smrg */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 5966644fc5c1Stron esac 59672227fc13Smrg_ACEOF 5968644fc5c1Stron 59692227fc13Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 59702227fc13Smrg# If the template does not know about datarootdir, expand it. 59712227fc13Smrg# FIXME: This hack should be removed a few years after 2.60. 59722227fc13Smrgac_datarootdir_hack=; ac_datarootdir_seen= 59732227fc13Smrgac_sed_dataroot=' 59742227fc13Smrg/datarootdir/ { 59752227fc13Smrg p 59762227fc13Smrg q 59772227fc13Smrg} 59782227fc13Smrg/@datadir@/p 59792227fc13Smrg/@docdir@/p 59802227fc13Smrg/@infodir@/p 59812227fc13Smrg/@localedir@/p 59822227fc13Smrg/@mandir@/p' 59832227fc13Smrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 59842227fc13Smrg*datarootdir*) ac_datarootdir_seen=yes;; 59852227fc13Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 59862227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 59872227fc13Smrg$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 5988644fc5c1Stron_ACEOF 59892227fc13Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 59902227fc13Smrg ac_datarootdir_hack=' 59912227fc13Smrg s&@datadir@&$datadir&g 59922227fc13Smrg s&@docdir@&$docdir&g 59932227fc13Smrg s&@infodir@&$infodir&g 59942227fc13Smrg s&@localedir@&$localedir&g 59952227fc13Smrg s&@mandir@&$mandir&g 59962227fc13Smrg s&\\\${datarootdir}&$datarootdir&g' ;; 59972227fc13Smrgesac 59982227fc13Smrg_ACEOF 59992227fc13Smrg 60002227fc13Smrg# Neutralize VPATH when `$srcdir' = `.'. 60012227fc13Smrg# Shell code in configure.ac might set extrasub. 60022227fc13Smrg# FIXME: do we really want to maintain this feature? 60032227fc13Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 60042227fc13Smrgac_sed_extra="$ac_vpsub 6005644fc5c1Stron$extrasub 6006644fc5c1Stron_ACEOF 60072227fc13Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6008644fc5c1Stron:t 6009644fc5c1Stron/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 60102227fc13Smrgs|@configure_input@|$ac_sed_conf_input|;t t 60112227fc13Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t 60122227fc13Smrgs&@top_build_prefix@&$ac_top_build_prefix&;t t 60132227fc13Smrgs&@srcdir@&$ac_srcdir&;t t 60142227fc13Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t 60152227fc13Smrgs&@top_srcdir@&$ac_top_srcdir&;t t 60162227fc13Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 60172227fc13Smrgs&@builddir@&$ac_builddir&;t t 60182227fc13Smrgs&@abs_builddir@&$ac_abs_builddir&;t t 60192227fc13Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t 60202227fc13Smrgs&@INSTALL@&$ac_INSTALL&;t t 60212227fc13Smrgs&@MKDIR_P@&$ac_MKDIR_P&;t t 60222227fc13Smrg$ac_datarootdir_hack 60232227fc13Smrg" 60242227fc13Smrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 60252227fc13Smrg >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 60262227fc13Smrg 60272227fc13Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 60282227fc13Smrg { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 60292227fc13Smrg { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 60302227fc13Smrg "$ac_tmp/out"`; test -z "$ac_out"; } && 60312227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 60322227fc13Smrgwhich seems to be undefined. Please make sure it is defined" >&5 60332227fc13Smrg$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 60342227fc13Smrgwhich seems to be undefined. Please make sure it is defined" >&2;} 60352227fc13Smrg 60362227fc13Smrg rm -f "$ac_tmp/stdin" 60372227fc13Smrg case $ac_file in 60382227fc13Smrg -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 60392227fc13Smrg *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 60402227fc13Smrg esac \ 60412227fc13Smrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 60422227fc13Smrg ;; 6043644fc5c1Stron 6044644fc5c1Stron 60452227fc13Smrg :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 60462227fc13Smrg$as_echo "$as_me: executing $ac_file commands" >&6;} 60472227fc13Smrg ;; 60482227fc13Smrg esac 60492227fc13Smrg 60502227fc13Smrg 60512227fc13Smrg case $ac_file$ac_mode in 60522227fc13Smrg "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 60532227fc13Smrg # Autoconf 2.62 quotes --file arguments for eval, but not when files 60542227fc13Smrg # are listed without --file. Let's play safe and only enable the eval 60552227fc13Smrg # if we detect the quoting. 60562227fc13Smrg case $CONFIG_FILES in 60572227fc13Smrg *\'*) eval set x "$CONFIG_FILES" ;; 60582227fc13Smrg *) set x $CONFIG_FILES ;; 60592227fc13Smrg esac 60602227fc13Smrg shift 60612227fc13Smrg for mf 60622227fc13Smrg do 60632227fc13Smrg # Strip MF so we end up with the name of the file. 60642227fc13Smrg mf=`echo "$mf" | sed -e 's/:.*$//'` 60652227fc13Smrg # Check whether this is an Automake generated Makefile or not. 60662227fc13Smrg # We used to match only the files named `Makefile.in', but 60672227fc13Smrg # some people rename them; so instead we look at the file content. 60682227fc13Smrg # Grep'ing the first line is not enough: some people post-process 60692227fc13Smrg # each Makefile.in and add a new line on top of each file to say so. 60702227fc13Smrg # Grep'ing the whole file is not good either: AIX grep has a line 60712227fc13Smrg # limit of 2048, but all sed's we know have understand at least 4000. 60722227fc13Smrg if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 60732227fc13Smrg dirpart=`$as_dirname -- "$mf" || 60742227fc13Smrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 60752227fc13Smrg X"$mf" : 'X\(//\)[^/]' \| \ 60762227fc13Smrg X"$mf" : 'X\(//\)$' \| \ 60772227fc13Smrg X"$mf" : 'X\(/\)' \| . 2>/dev/null || 60782227fc13Smrg$as_echo X"$mf" | 60792227fc13Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 60802227fc13Smrg s//\1/ 60812227fc13Smrg q 60822227fc13Smrg } 60832227fc13Smrg /^X\(\/\/\)[^/].*/{ 60842227fc13Smrg s//\1/ 60852227fc13Smrg q 60862227fc13Smrg } 60872227fc13Smrg /^X\(\/\/\)$/{ 60882227fc13Smrg s//\1/ 60892227fc13Smrg q 60902227fc13Smrg } 60912227fc13Smrg /^X\(\/\).*/{ 60922227fc13Smrg s//\1/ 60932227fc13Smrg q 60942227fc13Smrg } 60952227fc13Smrg s/.*/./; q'` 60962227fc13Smrg else 60972227fc13Smrg continue 60982227fc13Smrg fi 60992227fc13Smrg # Extract the definition of DEPDIR, am__include, and am__quote 61002227fc13Smrg # from the Makefile without running `make'. 61012227fc13Smrg DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 61022227fc13Smrg test -z "$DEPDIR" && continue 61032227fc13Smrg am__include=`sed -n 's/^am__include = //p' < "$mf"` 61042227fc13Smrg test -z "am__include" && continue 61052227fc13Smrg am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 61062227fc13Smrg # When using ansi2knr, U may be empty or an underscore; expand it 61072227fc13Smrg U=`sed -n 's/^U = //p' < "$mf"` 61082227fc13Smrg # Find all dependency output files, they are included files with 61092227fc13Smrg # $(DEPDIR) in their names. We invoke sed twice because it is the 61102227fc13Smrg # simplest approach to changing $(DEPDIR) to its actual value in the 61112227fc13Smrg # expansion. 61122227fc13Smrg for file in `sed -n " 61132227fc13Smrg s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 61142227fc13Smrg sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 61152227fc13Smrg # Make sure the directory exists. 61162227fc13Smrg test -f "$dirpart/$file" && continue 61172227fc13Smrg fdir=`$as_dirname -- "$file" || 61182227fc13Smrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 61192227fc13Smrg X"$file" : 'X\(//\)[^/]' \| \ 61202227fc13Smrg X"$file" : 'X\(//\)$' \| \ 61212227fc13Smrg X"$file" : 'X\(/\)' \| . 2>/dev/null || 61222227fc13Smrg$as_echo X"$file" | 61232227fc13Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 61242227fc13Smrg s//\1/ 61252227fc13Smrg q 61262227fc13Smrg } 61272227fc13Smrg /^X\(\/\/\)[^/].*/{ 61282227fc13Smrg s//\1/ 61292227fc13Smrg q 61302227fc13Smrg } 61312227fc13Smrg /^X\(\/\/\)$/{ 61322227fc13Smrg s//\1/ 61332227fc13Smrg q 61342227fc13Smrg } 61352227fc13Smrg /^X\(\/\).*/{ 61362227fc13Smrg s//\1/ 61372227fc13Smrg q 61382227fc13Smrg } 61392227fc13Smrg s/.*/./; q'` 61402227fc13Smrg as_dir=$dirpart/$fdir; as_fn_mkdir_p 61412227fc13Smrg # echo "creating $dirpart/$file" 61422227fc13Smrg echo '# dummy' > "$dirpart/$file" 61432227fc13Smrg done 61442227fc13Smrg done 61452227fc13Smrg} 61462227fc13Smrg ;; 61472227fc13Smrg 61482227fc13Smrg esac 61492227fc13Smrgdone # for ac_tag 61502227fc13Smrg 6151644fc5c1Stron 61522227fc13Smrgas_fn_exit 0 6153644fc5c1Stron_ACEOF 6154644fc5c1Stronac_clean_files=$ac_clean_files_save 6155644fc5c1Stron 61562227fc13Smrgtest $ac_write_fail = 0 || 61572227fc13Smrg as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 61582227fc13Smrg 6159644fc5c1Stron 6160644fc5c1Stron# configure is writing to config.log, and then calls config.status. 6161644fc5c1Stron# config.status does its own redirection, appending to config.log. 6162644fc5c1Stron# Unfortunately, on DOS this fails, as config.log is still kept open 6163644fc5c1Stron# by configure, so config.status won't be able to write to it; its 6164644fc5c1Stron# output is simply discarded. So we exec the FD to /dev/null, 6165644fc5c1Stron# effectively closing config.log, so it can be properly (re)opened and 6166644fc5c1Stron# appended to by config.status. When coming back to configure, we 6167644fc5c1Stron# need to make the FD available again. 6168644fc5c1Stronif test "$no_create" != yes; then 6169644fc5c1Stron ac_cs_success=: 6170644fc5c1Stron ac_config_status_args= 6171644fc5c1Stron test "$silent" = yes && 6172644fc5c1Stron ac_config_status_args="$ac_config_status_args --quiet" 6173644fc5c1Stron exec 5>/dev/null 6174644fc5c1Stron $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 6175644fc5c1Stron exec 5>>config.log 6176644fc5c1Stron # Use ||, not &&, to avoid exiting from the if with $? = 1, which 6177644fc5c1Stron # would make configure fail if this is the last instruction. 61782227fc13Smrg $ac_cs_success || as_fn_exit 1 61792227fc13Smrgfi 61802227fc13Smrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 61812227fc13Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 61822227fc13Smrg$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 6183644fc5c1Stronfi 6184644fc5c1Stron 6185