configure revision 5cf18391
1b7d53ee5Smrg#! /bin/sh 2b7d53ee5Smrg# Guess values for system-dependent variables and create Makefiles. 35cf18391Smrg# Generated by GNU Autoconf 2.68 for font-dec-misc 1.0.3. 4b7d53ee5Smrg# 5b7d53ee5Smrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 6b7d53ee5Smrg# 75cf18391Smrg# 82ceb2653Smrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 95cf18391Smrg# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 105cf18391Smrg# Foundation, Inc. 115cf18391Smrg# 125cf18391Smrg# 13b7d53ee5Smrg# This configure script is free software; the Free Software Foundation 14b7d53ee5Smrg# gives unlimited permission to copy, distribute and modify it. 155cf18391Smrg## -------------------- ## 165cf18391Smrg## M4sh Initialization. ## 175cf18391Smrg## -------------------- ## 18b7d53ee5Smrg 192ceb2653Smrg# Be more Bourne compatible 202ceb2653SmrgDUALCASE=1; export DUALCASE # for MKS sh 215cf18391Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 22b7d53ee5Smrg emulate sh 23b7d53ee5Smrg NULLCMD=: 242ceb2653Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 25b7d53ee5Smrg # is contrary to our usage. Disable this feature. 26b7d53ee5Smrg alias -g '${1+"$@"}'='"$@"' 272ceb2653Smrg setopt NO_GLOB_SUBST 282ceb2653Smrgelse 295cf18391Smrg case `(set -o) 2>/dev/null` in #( 305cf18391Smrg *posix*) : 315cf18391Smrg set -o posix ;; #( 325cf18391Smrg *) : 335cf18391Smrg ;; 342ceb2653Smrgesac 352ceb2653Smrgfi 362ceb2653Smrg 372ceb2653Smrg 382ceb2653Smrgas_nl=' 392ceb2653Smrg' 402ceb2653Smrgexport as_nl 412ceb2653Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 422ceb2653Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 432ceb2653Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 442ceb2653Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 455cf18391Smrg# Prefer a ksh shell builtin over an external printf program on Solaris, 465cf18391Smrg# but without wasting forks for bash or zsh. 475cf18391Smrgif test -z "$BASH_VERSION$ZSH_VERSION" \ 485cf18391Smrg && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 495cf18391Smrg as_echo='print -r --' 505cf18391Smrg as_echo_n='print -rn --' 515cf18391Smrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 522ceb2653Smrg as_echo='printf %s\n' 532ceb2653Smrg as_echo_n='printf %s' 542ceb2653Smrgelse 552ceb2653Smrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 562ceb2653Smrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 572ceb2653Smrg as_echo_n='/usr/ucb/echo -n' 582ceb2653Smrg else 592ceb2653Smrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 602ceb2653Smrg as_echo_n_body='eval 612ceb2653Smrg arg=$1; 625cf18391Smrg case $arg in #( 632ceb2653Smrg *"$as_nl"*) 642ceb2653Smrg expr "X$arg" : "X\\(.*\\)$as_nl"; 652ceb2653Smrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 662ceb2653Smrg esac; 672ceb2653Smrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 682ceb2653Smrg ' 692ceb2653Smrg export as_echo_n_body 702ceb2653Smrg as_echo_n='sh -c $as_echo_n_body as_echo' 712ceb2653Smrg fi 722ceb2653Smrg export as_echo_body 732ceb2653Smrg as_echo='sh -c $as_echo_body as_echo' 742ceb2653Smrgfi 752ceb2653Smrg 762ceb2653Smrg# The user is always right. 772ceb2653Smrgif test "${PATH_SEPARATOR+set}" != set; then 782ceb2653Smrg PATH_SEPARATOR=: 792ceb2653Smrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 802ceb2653Smrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 812ceb2653Smrg PATH_SEPARATOR=';' 822ceb2653Smrg } 83b7d53ee5Smrgfi 84b7d53ee5Smrg 85b7d53ee5Smrg 862ceb2653Smrg# IFS 872ceb2653Smrg# We need space, tab and new line, in precisely that order. Quoting is 882ceb2653Smrg# there to prevent editors from complaining about space-tab. 892ceb2653Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 902ceb2653Smrg# splitting by setting IFS to empty value.) 912ceb2653SmrgIFS=" "" $as_nl" 922ceb2653Smrg 932ceb2653Smrg# Find who we are. Look in the path if we contain no directory separator. 945cf18391Smrgas_myself= 955cf18391Smrgcase $0 in #(( 962ceb2653Smrg *[\\/]* ) as_myself=$0 ;; 972ceb2653Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 982ceb2653Smrgfor as_dir in $PATH 992ceb2653Smrgdo 1002ceb2653Smrg IFS=$as_save_IFS 1012ceb2653Smrg test -z "$as_dir" && as_dir=. 1025cf18391Smrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 1035cf18391Smrg done 1042ceb2653SmrgIFS=$as_save_IFS 1052ceb2653Smrg 1062ceb2653Smrg ;; 1072ceb2653Smrgesac 1082ceb2653Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 1092ceb2653Smrg# in which case we are not to be found in the path. 1102ceb2653Smrgif test "x$as_myself" = x; then 1112ceb2653Smrg as_myself=$0 1122ceb2653Smrgfi 1132ceb2653Smrgif test ! -f "$as_myself"; then 1142ceb2653Smrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 1155cf18391Smrg exit 1 1162ceb2653Smrgfi 1172ceb2653Smrg 1185cf18391Smrg# Unset variables that we do not need and which cause bugs (e.g. in 1195cf18391Smrg# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 1205cf18391Smrg# suppresses any "Segmentation fault" message there. '((' could 1215cf18391Smrg# trigger a bug in pdksh 5.2.14. 1225cf18391Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH 1235cf18391Smrgdo eval test x\${$as_var+set} = xset \ 1245cf18391Smrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 1252ceb2653Smrgdone 126b7d53ee5SmrgPS1='$ ' 127b7d53ee5SmrgPS2='> ' 128b7d53ee5SmrgPS4='+ ' 129b7d53ee5Smrg 130b7d53ee5Smrg# NLS nuisances. 1312ceb2653SmrgLC_ALL=C 1322ceb2653Smrgexport LC_ALL 1332ceb2653SmrgLANGUAGE=C 1342ceb2653Smrgexport LANGUAGE 135b7d53ee5Smrg 1365cf18391Smrg# CDPATH. 1375cf18391Smrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 1385cf18391Smrg 1395cf18391Smrgif test "x$CONFIG_SHELL" = x; then 1405cf18391Smrg as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 1415cf18391Smrg emulate sh 1425cf18391Smrg NULLCMD=: 1435cf18391Smrg # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 1445cf18391Smrg # is contrary to our usage. Disable this feature. 1455cf18391Smrg alias -g '\${1+\"\$@\"}'='\"\$@\"' 1465cf18391Smrg setopt NO_GLOB_SUBST 1475cf18391Smrgelse 1485cf18391Smrg case \`(set -o) 2>/dev/null\` in #( 1495cf18391Smrg *posix*) : 1505cf18391Smrg set -o posix ;; #( 1515cf18391Smrg *) : 1525cf18391Smrg ;; 1535cf18391Smrgesac 1545cf18391Smrgfi 1555cf18391Smrg" 1565cf18391Smrg as_required="as_fn_return () { (exit \$1); } 1575cf18391Smrgas_fn_success () { as_fn_return 0; } 1585cf18391Smrgas_fn_failure () { as_fn_return 1; } 1595cf18391Smrgas_fn_ret_success () { return 0; } 1605cf18391Smrgas_fn_ret_failure () { return 1; } 1615cf18391Smrg 1625cf18391Smrgexitcode=0 1635cf18391Smrgas_fn_success || { exitcode=1; echo as_fn_success failed.; } 1645cf18391Smrgas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 1655cf18391Smrgas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 1665cf18391Smrgas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 1675cf18391Smrgif ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 1685cf18391Smrg 1695cf18391Smrgelse 1705cf18391Smrg exitcode=1; echo positional parameters were not saved. 1715cf18391Smrgfi 1725cf18391Smrgtest x\$exitcode = x0 || exit 1" 1735cf18391Smrg as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 1745cf18391Smrg as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 1755cf18391Smrg eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 1765cf18391Smrg test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 1775cf18391Smrgtest \$(( 1 + 1 )) = 2 || exit 1" 1785cf18391Smrg if (eval "$as_required") 2>/dev/null; then : 1795cf18391Smrg as_have_required=yes 1805cf18391Smrgelse 1815cf18391Smrg as_have_required=no 1825cf18391Smrgfi 1835cf18391Smrg if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 1845cf18391Smrg 1855cf18391Smrgelse 1865cf18391Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1875cf18391Smrgas_found=false 1885cf18391Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 1895cf18391Smrgdo 1905cf18391Smrg IFS=$as_save_IFS 1915cf18391Smrg test -z "$as_dir" && as_dir=. 1925cf18391Smrg as_found=: 1935cf18391Smrg case $as_dir in #( 1945cf18391Smrg /*) 1955cf18391Smrg for as_base in sh bash ksh sh5; do 1965cf18391Smrg # Try only shells that exist, to save several forks. 1975cf18391Smrg as_shell=$as_dir/$as_base 1985cf18391Smrg if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 1995cf18391Smrg { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 2005cf18391Smrg CONFIG_SHELL=$as_shell as_have_required=yes 2015cf18391Smrg if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 2025cf18391Smrg break 2 2035cf18391Smrgfi 2045cf18391Smrgfi 2055cf18391Smrg done;; 2065cf18391Smrg esac 2075cf18391Smrg as_found=false 2085cf18391Smrgdone 2095cf18391Smrg$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 2105cf18391Smrg { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 2115cf18391Smrg CONFIG_SHELL=$SHELL as_have_required=yes 2125cf18391Smrgfi; } 2135cf18391SmrgIFS=$as_save_IFS 2145cf18391Smrg 2155cf18391Smrg 2165cf18391Smrg if test "x$CONFIG_SHELL" != x; then : 2175cf18391Smrg # We cannot yet assume a decent shell, so we have to provide a 2185cf18391Smrg # neutralization value for shells without unset; and this also 2195cf18391Smrg # works around shells that cannot unset nonexistent variables. 2205cf18391Smrg # Preserve -v and -x to the replacement shell. 2215cf18391Smrg BASH_ENV=/dev/null 2225cf18391Smrg ENV=/dev/null 2235cf18391Smrg (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 2245cf18391Smrg export CONFIG_SHELL 2255cf18391Smrg case $- in # (((( 2265cf18391Smrg *v*x* | *x*v* ) as_opts=-vx ;; 2275cf18391Smrg *v* ) as_opts=-v ;; 2285cf18391Smrg *x* ) as_opts=-x ;; 2295cf18391Smrg * ) as_opts= ;; 2305cf18391Smrg esac 2315cf18391Smrg exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 2325cf18391Smrgfi 2335cf18391Smrg 2345cf18391Smrg if test x$as_have_required = xno; then : 2355cf18391Smrg $as_echo "$0: This script requires a shell more modern than all" 2365cf18391Smrg $as_echo "$0: the shells that I found on your system." 2375cf18391Smrg if test x${ZSH_VERSION+set} = xset ; then 2385cf18391Smrg $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 2395cf18391Smrg $as_echo "$0: be upgraded to zsh 4.3.4 or later." 2405cf18391Smrg else 2415cf18391Smrg $as_echo "$0: Please tell bug-autoconf@gnu.org and 2425cf18391Smrg$0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg 2435cf18391Smrg$0: about your system, including any error possibly output 2445cf18391Smrg$0: before this message. Then install a modern shell, or 2455cf18391Smrg$0: manually run the script under such a shell if you do 2465cf18391Smrg$0: have one." 2475cf18391Smrg fi 2485cf18391Smrg exit 1 2495cf18391Smrgfi 2505cf18391Smrgfi 2515cf18391Smrgfi 2525cf18391SmrgSHELL=${CONFIG_SHELL-/bin/sh} 2535cf18391Smrgexport SHELL 2545cf18391Smrg# Unset more variables known to interfere with behavior of common tools. 2555cf18391SmrgCLICOLOR_FORCE= GREP_OPTIONS= 2565cf18391Smrgunset CLICOLOR_FORCE GREP_OPTIONS 2575cf18391Smrg 2585cf18391Smrg## --------------------- ## 2595cf18391Smrg## M4sh Shell Functions. ## 2605cf18391Smrg## --------------------- ## 2615cf18391Smrg# as_fn_unset VAR 2625cf18391Smrg# --------------- 2635cf18391Smrg# Portably unset VAR. 2645cf18391Smrgas_fn_unset () 2655cf18391Smrg{ 2665cf18391Smrg { eval $1=; unset $1;} 2675cf18391Smrg} 2685cf18391Smrgas_unset=as_fn_unset 2695cf18391Smrg 2705cf18391Smrg# as_fn_set_status STATUS 2715cf18391Smrg# ----------------------- 2725cf18391Smrg# Set $? to STATUS, without forking. 2735cf18391Smrgas_fn_set_status () 2745cf18391Smrg{ 2755cf18391Smrg return $1 2765cf18391Smrg} # as_fn_set_status 2775cf18391Smrg 2785cf18391Smrg# as_fn_exit STATUS 2795cf18391Smrg# ----------------- 2805cf18391Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 2815cf18391Smrgas_fn_exit () 2825cf18391Smrg{ 2835cf18391Smrg set +e 2845cf18391Smrg as_fn_set_status $1 2855cf18391Smrg exit $1 2865cf18391Smrg} # as_fn_exit 2875cf18391Smrg 2885cf18391Smrg# as_fn_mkdir_p 2895cf18391Smrg# ------------- 2905cf18391Smrg# Create "$as_dir" as a directory, including parents if necessary. 2915cf18391Smrgas_fn_mkdir_p () 2925cf18391Smrg{ 2935cf18391Smrg 2945cf18391Smrg case $as_dir in #( 2955cf18391Smrg -*) as_dir=./$as_dir;; 2965cf18391Smrg esac 2975cf18391Smrg test -d "$as_dir" || eval $as_mkdir_p || { 2985cf18391Smrg as_dirs= 2995cf18391Smrg while :; do 3005cf18391Smrg case $as_dir in #( 3015cf18391Smrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 3025cf18391Smrg *) as_qdir=$as_dir;; 3035cf18391Smrg esac 3045cf18391Smrg as_dirs="'$as_qdir' $as_dirs" 3055cf18391Smrg as_dir=`$as_dirname -- "$as_dir" || 3065cf18391Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3075cf18391Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 3085cf18391Smrg X"$as_dir" : 'X\(//\)$' \| \ 3095cf18391Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 3105cf18391Smrg$as_echo X"$as_dir" | 3115cf18391Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3125cf18391Smrg s//\1/ 3135cf18391Smrg q 3145cf18391Smrg } 3155cf18391Smrg /^X\(\/\/\)[^/].*/{ 3165cf18391Smrg s//\1/ 3175cf18391Smrg q 3185cf18391Smrg } 3195cf18391Smrg /^X\(\/\/\)$/{ 3205cf18391Smrg s//\1/ 3215cf18391Smrg q 3225cf18391Smrg } 3235cf18391Smrg /^X\(\/\).*/{ 3245cf18391Smrg s//\1/ 3255cf18391Smrg q 3265cf18391Smrg } 3275cf18391Smrg s/.*/./; q'` 3285cf18391Smrg test -d "$as_dir" && break 3295cf18391Smrg done 3305cf18391Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 3315cf18391Smrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 3325cf18391Smrg 3335cf18391Smrg 3345cf18391Smrg} # as_fn_mkdir_p 3355cf18391Smrg# as_fn_append VAR VALUE 3365cf18391Smrg# ---------------------- 3375cf18391Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take 3385cf18391Smrg# advantage of any shell optimizations that allow amortized linear growth over 3395cf18391Smrg# repeated appends, instead of the typical quadratic growth present in naive 3405cf18391Smrg# implementations. 3415cf18391Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 3425cf18391Smrg eval 'as_fn_append () 3435cf18391Smrg { 3445cf18391Smrg eval $1+=\$2 3455cf18391Smrg }' 3465cf18391Smrgelse 3475cf18391Smrg as_fn_append () 3485cf18391Smrg { 3495cf18391Smrg eval $1=\$$1\$2 3505cf18391Smrg } 3515cf18391Smrgfi # as_fn_append 3525cf18391Smrg 3535cf18391Smrg# as_fn_arith ARG... 3545cf18391Smrg# ------------------ 3555cf18391Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the 3565cf18391Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 3575cf18391Smrg# must be portable across $(()) and expr. 3585cf18391Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 3595cf18391Smrg eval 'as_fn_arith () 3605cf18391Smrg { 3615cf18391Smrg as_val=$(( $* )) 3625cf18391Smrg }' 3635cf18391Smrgelse 3645cf18391Smrg as_fn_arith () 3655cf18391Smrg { 3665cf18391Smrg as_val=`expr "$@" || test $? -eq 1` 3675cf18391Smrg } 3685cf18391Smrgfi # as_fn_arith 3695cf18391Smrg 3705cf18391Smrg 3715cf18391Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 3725cf18391Smrg# ---------------------------------------- 3735cf18391Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 3745cf18391Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 3755cf18391Smrg# script with STATUS, using 1 if that was 0. 3765cf18391Smrgas_fn_error () 3775cf18391Smrg{ 3785cf18391Smrg as_status=$1; test $as_status -eq 0 && as_status=1 3795cf18391Smrg if test "$4"; then 3805cf18391Smrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 3815cf18391Smrg $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 3825cf18391Smrg fi 3835cf18391Smrg $as_echo "$as_me: error: $2" >&2 3845cf18391Smrg as_fn_exit $as_status 3855cf18391Smrg} # as_fn_error 3865cf18391Smrg 3872ceb2653Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 3882ceb2653Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 389b7d53ee5Smrg as_expr=expr 390b7d53ee5Smrgelse 391b7d53ee5Smrg as_expr=false 392b7d53ee5Smrgfi 393b7d53ee5Smrg 3942ceb2653Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 395b7d53ee5Smrg as_basename=basename 396b7d53ee5Smrgelse 397b7d53ee5Smrg as_basename=false 398b7d53ee5Smrgfi 399b7d53ee5Smrg 4005cf18391Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 4015cf18391Smrg as_dirname=dirname 4025cf18391Smrgelse 4035cf18391Smrg as_dirname=false 4045cf18391Smrgfi 405b7d53ee5Smrg 4062ceb2653Smrgas_me=`$as_basename -- "$0" || 407b7d53ee5Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 408b7d53ee5Smrg X"$0" : 'X\(//\)$' \| \ 4092ceb2653Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 4102ceb2653Smrg$as_echo X/"$0" | 4112ceb2653Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 4122ceb2653Smrg s//\1/ 4132ceb2653Smrg q 4142ceb2653Smrg } 4152ceb2653Smrg /^X\/\(\/\/\)$/{ 4162ceb2653Smrg s//\1/ 4172ceb2653Smrg q 4182ceb2653Smrg } 4192ceb2653Smrg /^X\/\(\/\).*/{ 4202ceb2653Smrg s//\1/ 4212ceb2653Smrg q 4222ceb2653Smrg } 4232ceb2653Smrg s/.*/./; q'` 424b7d53ee5Smrg 4255cf18391Smrg# Avoid depending upon Character Ranges. 4265cf18391Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 4275cf18391Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 4285cf18391Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 4295cf18391Smrgas_cr_digits='0123456789' 4305cf18391Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 431b7d53ee5Smrg 432b7d53ee5Smrg 4335cf18391Smrg as_lineno_1=$LINENO as_lineno_1a=$LINENO 4345cf18391Smrg as_lineno_2=$LINENO as_lineno_2a=$LINENO 4355cf18391Smrg eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 4365cf18391Smrg test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 4375cf18391Smrg # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 4385cf18391Smrg sed -n ' 4395cf18391Smrg p 4405cf18391Smrg /[$]LINENO/= 4415cf18391Smrg ' <$as_myself | 4425cf18391Smrg sed ' 4435cf18391Smrg s/[$]LINENO.*/&-/ 4445cf18391Smrg t lineno 4455cf18391Smrg b 4465cf18391Smrg :lineno 4475cf18391Smrg N 4485cf18391Smrg :loop 4495cf18391Smrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 4505cf18391Smrg t loop 4515cf18391Smrg s/-\n.*// 4525cf18391Smrg ' >$as_me.lineno && 4535cf18391Smrg chmod +x "$as_me.lineno" || 4545cf18391Smrg { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 455b7d53ee5Smrg 4565cf18391Smrg # Don't try to exec as it changes $[0], causing all sort of problems 4575cf18391Smrg # (the dirname of $[0] is not the place where we might find the 4585cf18391Smrg # original and so on. Autoconf is especially sensitive to this). 4595cf18391Smrg . "./$as_me.lineno" 4605cf18391Smrg # Exit status is that of the last command. 4615cf18391Smrg exit 4622ceb2653Smrg} 463b7d53ee5Smrg 4645cf18391SmrgECHO_C= ECHO_N= ECHO_T= 4655cf18391Smrgcase `echo -n x` in #((((( 4665cf18391Smrg-n*) 4675cf18391Smrg case `echo 'xy\c'` in 4685cf18391Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 4695cf18391Smrg xy) ECHO_C='\c';; 4705cf18391Smrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 4715cf18391Smrg ECHO_T=' ';; 4725cf18391Smrg esac;; 4735cf18391Smrg*) 4745cf18391Smrg ECHO_N='-n';; 4755cf18391Smrgesac 476b7d53ee5Smrg 4775cf18391Smrgrm -f conf$$ conf$$.exe conf$$.file 4785cf18391Smrgif test -d conf$$.dir; then 4795cf18391Smrg rm -f conf$$.dir/conf$$.file 4805cf18391Smrgelse 4815cf18391Smrg rm -f conf$$.dir 4825cf18391Smrg mkdir conf$$.dir 2>/dev/null 4832ceb2653Smrgfi 4845cf18391Smrgif (echo >conf$$.file) 2>/dev/null; then 4855cf18391Smrg if ln -s conf$$.file conf$$ 2>/dev/null; then 4865cf18391Smrg as_ln_s='ln -s' 4875cf18391Smrg # ... but there are two gotchas: 4885cf18391Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 4895cf18391Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 4905cf18391Smrg # In both cases, we have to default to `cp -p'. 4915cf18391Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 4925cf18391Smrg as_ln_s='cp -p' 4935cf18391Smrg elif ln conf$$.file conf$$ 2>/dev/null; then 4945cf18391Smrg as_ln_s=ln 4955cf18391Smrg else 4965cf18391Smrg as_ln_s='cp -p' 4975cf18391Smrg fi 4982ceb2653Smrgelse 4995cf18391Smrg as_ln_s='cp -p' 5002ceb2653Smrgfi 5015cf18391Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5025cf18391Smrgrmdir conf$$.dir 2>/dev/null 5032ceb2653Smrg 5045cf18391Smrgif mkdir -p . 2>/dev/null; then 5055cf18391Smrg as_mkdir_p='mkdir -p "$as_dir"' 5065cf18391Smrgelse 5075cf18391Smrg test -d ./-p && rmdir ./-p 5085cf18391Smrg as_mkdir_p=false 5092ceb2653Smrgfi 5102ceb2653Smrg 5115cf18391Smrgif test -x / >/dev/null 2>&1; then 5125cf18391Smrg as_test_x='test -x' 5132ceb2653Smrgelse 5145cf18391Smrg if ls -dL / >/dev/null 2>&1; then 5155cf18391Smrg as_ls_L_option=L 5165cf18391Smrg else 5175cf18391Smrg as_ls_L_option= 5185cf18391Smrg fi 5195cf18391Smrg as_test_x=' 5205cf18391Smrg eval sh -c '\'' 5215cf18391Smrg if test -d "$1"; then 5225cf18391Smrg test -d "$1/."; 5235cf18391Smrg else 5245cf18391Smrg case $1 in #( 5255cf18391Smrg -*)set "./$1";; 5265cf18391Smrg esac; 5275cf18391Smrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 5285cf18391Smrg ???[sx]*):;;*)false;;esac;fi 5295cf18391Smrg '\'' sh 5305cf18391Smrg ' 5312ceb2653Smrgfi 5325cf18391Smrgas_executable_p=$as_test_x 5332ceb2653Smrg 5345cf18391Smrg# Sed expression to map a string onto a valid CPP name. 5355cf18391Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5362ceb2653Smrg 5375cf18391Smrg# Sed expression to map a string onto a valid variable name. 5385cf18391Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5392ceb2653Smrg 5402ceb2653Smrg 5415cf18391Smrgtest -n "$DJDIR" || exec 7<&0 </dev/null 5425cf18391Smrgexec 6>&1 543b7d53ee5Smrg 544b7d53ee5Smrg# Name of the host. 5455cf18391Smrg# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 546b7d53ee5Smrg# so uname gets run too. 547b7d53ee5Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 548b7d53ee5Smrg 549b7d53ee5Smrg# 550b7d53ee5Smrg# Initializations. 551b7d53ee5Smrg# 552b7d53ee5Smrgac_default_prefix=/usr/local 5532ceb2653Smrgac_clean_files= 554b7d53ee5Smrgac_config_libobj_dir=. 5552ceb2653SmrgLIBOBJS= 556b7d53ee5Smrgcross_compiling=no 557b7d53ee5Smrgsubdirs= 558b7d53ee5SmrgMFLAGS= 559b7d53ee5SmrgMAKEFLAGS= 560b7d53ee5Smrg 561b7d53ee5Smrg# Identity of this package. 562b7d53ee5SmrgPACKAGE_NAME='font-dec-misc' 563b7d53ee5SmrgPACKAGE_TARNAME='font-dec-misc' 5645cf18391SmrgPACKAGE_VERSION='1.0.3' 5655cf18391SmrgPACKAGE_STRING='font-dec-misc 1.0.3' 566b7d53ee5SmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 5675cf18391SmrgPACKAGE_URL='' 568b7d53ee5Smrg 5692ceb2653Smrg# Factoring default headers for most tests. 5702ceb2653Smrgac_includes_default="\ 5712ceb2653Smrg#include <stdio.h> 5722ceb2653Smrg#ifdef HAVE_SYS_TYPES_H 5732ceb2653Smrg# include <sys/types.h> 5742ceb2653Smrg#endif 5752ceb2653Smrg#ifdef HAVE_SYS_STAT_H 5762ceb2653Smrg# include <sys/stat.h> 5772ceb2653Smrg#endif 5782ceb2653Smrg#ifdef STDC_HEADERS 5792ceb2653Smrg# include <stdlib.h> 5802ceb2653Smrg# include <stddef.h> 5812ceb2653Smrg#else 5822ceb2653Smrg# ifdef HAVE_STDLIB_H 5832ceb2653Smrg# include <stdlib.h> 5842ceb2653Smrg# endif 5852ceb2653Smrg#endif 5862ceb2653Smrg#ifdef HAVE_STRING_H 5872ceb2653Smrg# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 5882ceb2653Smrg# include <memory.h> 5892ceb2653Smrg# endif 5902ceb2653Smrg# include <string.h> 5912ceb2653Smrg#endif 5922ceb2653Smrg#ifdef HAVE_STRINGS_H 5932ceb2653Smrg# include <strings.h> 5942ceb2653Smrg#endif 5952ceb2653Smrg#ifdef HAVE_INTTYPES_H 5962ceb2653Smrg# include <inttypes.h> 5972ceb2653Smrg#endif 5982ceb2653Smrg#ifdef HAVE_STDINT_H 5992ceb2653Smrg# include <stdint.h> 6002ceb2653Smrg#endif 6012ceb2653Smrg#ifdef HAVE_UNISTD_H 6022ceb2653Smrg# include <unistd.h> 6032ceb2653Smrg#endif" 6042ceb2653Smrg 6052ceb2653Smrgac_subst_vars='am__EXEEXT_FALSE 6062ceb2653Smrgam__EXEEXT_TRUE 6072ceb2653SmrgLTLIBOBJS 6082ceb2653SmrgLIBOBJS 6092ceb2653SmrgCOMPRESS_SUFFIX 6102ceb2653SmrgCOMPRESS 6112ceb2653SmrgBDFTOPCF 6122ceb2653SmrgMKFONTDIR 6132ceb2653SmrgRUN_FCCACHE 6142ceb2653SmrgFCCACHE 6152ceb2653SmrgFONTDIR 6162ceb2653SmrgFONTROOTDIR 6175cf18391SmrgAM_BACKSLASH 6185cf18391SmrgAM_DEFAULT_VERBOSITY 6195cf18391SmrgMAN_SUBSTS 6205cf18391SmrgXORG_MAN_PAGE 6212ceb2653SmrgADMIN_MAN_DIR 6222ceb2653SmrgDRIVER_MAN_DIR 6232ceb2653SmrgMISC_MAN_DIR 6242ceb2653SmrgFILE_MAN_DIR 6252ceb2653SmrgLIB_MAN_DIR 6262ceb2653SmrgAPP_MAN_DIR 6272ceb2653SmrgADMIN_MAN_SUFFIX 6282ceb2653SmrgDRIVER_MAN_SUFFIX 6292ceb2653SmrgMISC_MAN_SUFFIX 6302ceb2653SmrgFILE_MAN_SUFFIX 6312ceb2653SmrgLIB_MAN_SUFFIX 6322ceb2653SmrgAPP_MAN_SUFFIX 6335cf18391SmrgSED 6342ceb2653Smrghost_os 6352ceb2653Smrghost_vendor 6362ceb2653Smrghost_cpu 6372ceb2653Smrghost 6382ceb2653Smrgbuild_os 6392ceb2653Smrgbuild_vendor 6402ceb2653Smrgbuild_cpu 6412ceb2653Smrgbuild 6425cf18391SmrgINSTALL_CMD 6435cf18391SmrgPKG_CONFIG_LIBDIR 6445cf18391SmrgPKG_CONFIG_PATH 6455cf18391SmrgPKG_CONFIG 6462ceb2653SmrgCHANGELOG_CMD 6472ceb2653SmrgCWARNFLAGS 6482ceb2653SmrgEGREP 6492ceb2653SmrgGREP 6502ceb2653SmrgCPP 6512ceb2653Smrgam__fastdepCC_FALSE 6522ceb2653Smrgam__fastdepCC_TRUE 6532ceb2653SmrgCCDEPMODE 6542ceb2653SmrgAMDEPBACKSLASH 6552ceb2653SmrgAMDEP_FALSE 6562ceb2653SmrgAMDEP_TRUE 6572ceb2653Smrgam__quote 6582ceb2653Smrgam__include 6592ceb2653SmrgDEPDIR 6602ceb2653SmrgOBJEXT 6612ceb2653SmrgEXEEXT 6622ceb2653Smrgac_ct_CC 6632ceb2653SmrgCPPFLAGS 6642ceb2653SmrgLDFLAGS 6652ceb2653SmrgCFLAGS 6662ceb2653SmrgCC 6672ceb2653SmrgMAINT 6682ceb2653SmrgMAINTAINER_MODE_FALSE 6692ceb2653SmrgMAINTAINER_MODE_TRUE 6702ceb2653Smrgam__untar 6712ceb2653Smrgam__tar 6722ceb2653SmrgAMTAR 6732ceb2653Smrgam__leading_dot 6742ceb2653SmrgSET_MAKE 6752ceb2653SmrgAWK 6762ceb2653Smrgmkdir_p 6772ceb2653SmrgMKDIR_P 6782ceb2653SmrgINSTALL_STRIP_PROGRAM 6792ceb2653SmrgSTRIP 6802ceb2653Smrginstall_sh 6812ceb2653SmrgMAKEINFO 6822ceb2653SmrgAUTOHEADER 6832ceb2653SmrgAUTOMAKE 6842ceb2653SmrgAUTOCONF 6852ceb2653SmrgACLOCAL 6862ceb2653SmrgVERSION 6872ceb2653SmrgPACKAGE 6882ceb2653SmrgCYGPATH_W 6892ceb2653Smrgam__isrc 6902ceb2653SmrgINSTALL_DATA 6912ceb2653SmrgINSTALL_SCRIPT 6922ceb2653SmrgINSTALL_PROGRAM 6932ceb2653Smrgtarget_alias 6942ceb2653Smrghost_alias 6952ceb2653Smrgbuild_alias 6962ceb2653SmrgLIBS 6972ceb2653SmrgECHO_T 6982ceb2653SmrgECHO_N 6992ceb2653SmrgECHO_C 7002ceb2653SmrgDEFS 7012ceb2653Smrgmandir 7022ceb2653Smrglocaledir 7032ceb2653Smrglibdir 7042ceb2653Smrgpsdir 7052ceb2653Smrgpdfdir 7062ceb2653Smrgdvidir 7072ceb2653Smrghtmldir 7082ceb2653Smrginfodir 7092ceb2653Smrgdocdir 7102ceb2653Smrgoldincludedir 7112ceb2653Smrgincludedir 7122ceb2653Smrglocalstatedir 7132ceb2653Smrgsharedstatedir 7142ceb2653Smrgsysconfdir 7152ceb2653Smrgdatadir 7162ceb2653Smrgdatarootdir 7172ceb2653Smrglibexecdir 7182ceb2653Smrgsbindir 7192ceb2653Smrgbindir 7202ceb2653Smrgprogram_transform_name 7212ceb2653Smrgprefix 7222ceb2653Smrgexec_prefix 7235cf18391SmrgPACKAGE_URL 7242ceb2653SmrgPACKAGE_BUGREPORT 7252ceb2653SmrgPACKAGE_STRING 7262ceb2653SmrgPACKAGE_VERSION 7272ceb2653SmrgPACKAGE_TARNAME 7282ceb2653SmrgPACKAGE_NAME 7292ceb2653SmrgPATH_SEPARATOR 7302ceb2653SmrgSHELL' 731b7d53ee5Smrgac_subst_files='' 7322ceb2653Smrgac_user_opts=' 7332ceb2653Smrgenable_option_checking 7342ceb2653Smrgenable_maintainer_mode 7352ceb2653Smrgenable_dependency_tracking 7362ceb2653Smrgenable_strict_compilation 7375cf18391Smrgenable_silent_rules 7382ceb2653Smrgwith_fontrootdir 7392ceb2653Smrgwith_fontdir 7402ceb2653Smrgwith_compression 7412ceb2653Smrg' 7422ceb2653Smrg ac_precious_vars='build_alias 7432ceb2653Smrghost_alias 7442ceb2653Smrgtarget_alias 7452ceb2653SmrgCC 7462ceb2653SmrgCFLAGS 7472ceb2653SmrgLDFLAGS 7482ceb2653SmrgLIBS 7492ceb2653SmrgCPPFLAGS 7502ceb2653SmrgCPP 7515cf18391SmrgPKG_CONFIG 7525cf18391SmrgPKG_CONFIG_PATH 7535cf18391SmrgPKG_CONFIG_LIBDIR' 7542ceb2653Smrg 755b7d53ee5Smrg 756b7d53ee5Smrg# Initialize some variables set by options. 757b7d53ee5Smrgac_init_help= 758b7d53ee5Smrgac_init_version=false 7592ceb2653Smrgac_unrecognized_opts= 7602ceb2653Smrgac_unrecognized_sep= 761b7d53ee5Smrg# The variables have the same names as the options, with 762b7d53ee5Smrg# dashes changed to underlines. 763b7d53ee5Smrgcache_file=/dev/null 764b7d53ee5Smrgexec_prefix=NONE 765b7d53ee5Smrgno_create= 766b7d53ee5Smrgno_recursion= 767b7d53ee5Smrgprefix=NONE 768b7d53ee5Smrgprogram_prefix=NONE 769b7d53ee5Smrgprogram_suffix=NONE 770b7d53ee5Smrgprogram_transform_name=s,x,x, 771b7d53ee5Smrgsilent= 772b7d53ee5Smrgsite= 773b7d53ee5Smrgsrcdir= 774b7d53ee5Smrgverbose= 775b7d53ee5Smrgx_includes=NONE 776b7d53ee5Smrgx_libraries=NONE 777b7d53ee5Smrg 778b7d53ee5Smrg# Installation directory options. 779b7d53ee5Smrg# These are left unexpanded so users can "make install exec_prefix=/foo" 780b7d53ee5Smrg# and all the variables that are supposed to be based on exec_prefix 781b7d53ee5Smrg# by default will actually change. 782b7d53ee5Smrg# Use braces instead of parens because sh, perl, etc. also accept them. 7832ceb2653Smrg# (The list follows the same order as the GNU Coding Standards.) 784b7d53ee5Smrgbindir='${exec_prefix}/bin' 785b7d53ee5Smrgsbindir='${exec_prefix}/sbin' 786b7d53ee5Smrglibexecdir='${exec_prefix}/libexec' 7872ceb2653Smrgdatarootdir='${prefix}/share' 7882ceb2653Smrgdatadir='${datarootdir}' 789b7d53ee5Smrgsysconfdir='${prefix}/etc' 790b7d53ee5Smrgsharedstatedir='${prefix}/com' 791b7d53ee5Smrglocalstatedir='${prefix}/var' 792b7d53ee5Smrgincludedir='${prefix}/include' 793b7d53ee5Smrgoldincludedir='/usr/include' 7942ceb2653Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 7952ceb2653Smrginfodir='${datarootdir}/info' 7962ceb2653Smrghtmldir='${docdir}' 7972ceb2653Smrgdvidir='${docdir}' 7982ceb2653Smrgpdfdir='${docdir}' 7992ceb2653Smrgpsdir='${docdir}' 8002ceb2653Smrglibdir='${exec_prefix}/lib' 8012ceb2653Smrglocaledir='${datarootdir}/locale' 8022ceb2653Smrgmandir='${datarootdir}/man' 803b7d53ee5Smrg 804b7d53ee5Smrgac_prev= 8052ceb2653Smrgac_dashdash= 806b7d53ee5Smrgfor ac_option 807b7d53ee5Smrgdo 808b7d53ee5Smrg # If the previous option needs an argument, assign it. 809b7d53ee5Smrg if test -n "$ac_prev"; then 8102ceb2653Smrg eval $ac_prev=\$ac_option 811b7d53ee5Smrg ac_prev= 812b7d53ee5Smrg continue 813b7d53ee5Smrg fi 814b7d53ee5Smrg 8152ceb2653Smrg case $ac_option in 8165cf18391Smrg *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 8175cf18391Smrg *=) ac_optarg= ;; 8185cf18391Smrg *) ac_optarg=yes ;; 8192ceb2653Smrg esac 820b7d53ee5Smrg 821b7d53ee5Smrg # Accept the important Cygnus configure options, so we can diagnose typos. 822b7d53ee5Smrg 8232ceb2653Smrg case $ac_dashdash$ac_option in 8242ceb2653Smrg --) 8252ceb2653Smrg ac_dashdash=yes ;; 826b7d53ee5Smrg 827b7d53ee5Smrg -bindir | --bindir | --bindi | --bind | --bin | --bi) 828b7d53ee5Smrg ac_prev=bindir ;; 829b7d53ee5Smrg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 830b7d53ee5Smrg bindir=$ac_optarg ;; 831b7d53ee5Smrg 832b7d53ee5Smrg -build | --build | --buil | --bui | --bu) 833b7d53ee5Smrg ac_prev=build_alias ;; 834b7d53ee5Smrg -build=* | --build=* | --buil=* | --bui=* | --bu=*) 835b7d53ee5Smrg build_alias=$ac_optarg ;; 836b7d53ee5Smrg 837b7d53ee5Smrg -cache-file | --cache-file | --cache-fil | --cache-fi \ 838b7d53ee5Smrg | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 839b7d53ee5Smrg ac_prev=cache_file ;; 840b7d53ee5Smrg -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 841b7d53ee5Smrg | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 842b7d53ee5Smrg cache_file=$ac_optarg ;; 843b7d53ee5Smrg 844b7d53ee5Smrg --config-cache | -C) 845b7d53ee5Smrg cache_file=config.cache ;; 846b7d53ee5Smrg 8472ceb2653Smrg -datadir | --datadir | --datadi | --datad) 848b7d53ee5Smrg ac_prev=datadir ;; 8492ceb2653Smrg -datadir=* | --datadir=* | --datadi=* | --datad=*) 850b7d53ee5Smrg datadir=$ac_optarg ;; 851b7d53ee5Smrg 8522ceb2653Smrg -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 8532ceb2653Smrg | --dataroo | --dataro | --datar) 8542ceb2653Smrg ac_prev=datarootdir ;; 8552ceb2653Smrg -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 8562ceb2653Smrg | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 8572ceb2653Smrg datarootdir=$ac_optarg ;; 8582ceb2653Smrg 859b7d53ee5Smrg -disable-* | --disable-*) 8602ceb2653Smrg ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 861b7d53ee5Smrg # Reject names that are not valid shell variable names. 8622ceb2653Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 8635cf18391Smrg as_fn_error $? "invalid feature name: $ac_useropt" 8642ceb2653Smrg ac_useropt_orig=$ac_useropt 8652ceb2653Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 8662ceb2653Smrg case $ac_user_opts in 8672ceb2653Smrg *" 8682ceb2653Smrg"enable_$ac_useropt" 8692ceb2653Smrg"*) ;; 8702ceb2653Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 8712ceb2653Smrg ac_unrecognized_sep=', ';; 8722ceb2653Smrg esac 8732ceb2653Smrg eval enable_$ac_useropt=no ;; 8742ceb2653Smrg 8752ceb2653Smrg -docdir | --docdir | --docdi | --doc | --do) 8762ceb2653Smrg ac_prev=docdir ;; 8772ceb2653Smrg -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 8782ceb2653Smrg docdir=$ac_optarg ;; 8792ceb2653Smrg 8802ceb2653Smrg -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 8812ceb2653Smrg ac_prev=dvidir ;; 8822ceb2653Smrg -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 8832ceb2653Smrg dvidir=$ac_optarg ;; 884b7d53ee5Smrg 885b7d53ee5Smrg -enable-* | --enable-*) 8862ceb2653Smrg ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 887b7d53ee5Smrg # Reject names that are not valid shell variable names. 8882ceb2653Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 8895cf18391Smrg as_fn_error $? "invalid feature name: $ac_useropt" 8902ceb2653Smrg ac_useropt_orig=$ac_useropt 8912ceb2653Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 8922ceb2653Smrg case $ac_user_opts in 8932ceb2653Smrg *" 8942ceb2653Smrg"enable_$ac_useropt" 8952ceb2653Smrg"*) ;; 8962ceb2653Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 8972ceb2653Smrg ac_unrecognized_sep=', ';; 898b7d53ee5Smrg esac 8992ceb2653Smrg eval enable_$ac_useropt=\$ac_optarg ;; 900b7d53ee5Smrg 901b7d53ee5Smrg -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 902b7d53ee5Smrg | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 903b7d53ee5Smrg | --exec | --exe | --ex) 904b7d53ee5Smrg ac_prev=exec_prefix ;; 905b7d53ee5Smrg -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 906b7d53ee5Smrg | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 907b7d53ee5Smrg | --exec=* | --exe=* | --ex=*) 908b7d53ee5Smrg exec_prefix=$ac_optarg ;; 909b7d53ee5Smrg 910b7d53ee5Smrg -gas | --gas | --ga | --g) 911b7d53ee5Smrg # Obsolete; use --with-gas. 912b7d53ee5Smrg with_gas=yes ;; 913b7d53ee5Smrg 914b7d53ee5Smrg -help | --help | --hel | --he | -h) 915b7d53ee5Smrg ac_init_help=long ;; 916b7d53ee5Smrg -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 917b7d53ee5Smrg ac_init_help=recursive ;; 918b7d53ee5Smrg -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 919b7d53ee5Smrg ac_init_help=short ;; 920b7d53ee5Smrg 921b7d53ee5Smrg -host | --host | --hos | --ho) 922b7d53ee5Smrg ac_prev=host_alias ;; 923b7d53ee5Smrg -host=* | --host=* | --hos=* | --ho=*) 924b7d53ee5Smrg host_alias=$ac_optarg ;; 925b7d53ee5Smrg 9262ceb2653Smrg -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 9272ceb2653Smrg ac_prev=htmldir ;; 9282ceb2653Smrg -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 9292ceb2653Smrg | --ht=*) 9302ceb2653Smrg htmldir=$ac_optarg ;; 9312ceb2653Smrg 932b7d53ee5Smrg -includedir | --includedir | --includedi | --included | --include \ 933b7d53ee5Smrg | --includ | --inclu | --incl | --inc) 934b7d53ee5Smrg ac_prev=includedir ;; 935b7d53ee5Smrg -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 936b7d53ee5Smrg | --includ=* | --inclu=* | --incl=* | --inc=*) 937b7d53ee5Smrg includedir=$ac_optarg ;; 938b7d53ee5Smrg 939b7d53ee5Smrg -infodir | --infodir | --infodi | --infod | --info | --inf) 940b7d53ee5Smrg ac_prev=infodir ;; 941b7d53ee5Smrg -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 942b7d53ee5Smrg infodir=$ac_optarg ;; 943b7d53ee5Smrg 944b7d53ee5Smrg -libdir | --libdir | --libdi | --libd) 945b7d53ee5Smrg ac_prev=libdir ;; 946b7d53ee5Smrg -libdir=* | --libdir=* | --libdi=* | --libd=*) 947b7d53ee5Smrg libdir=$ac_optarg ;; 948b7d53ee5Smrg 949b7d53ee5Smrg -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 950b7d53ee5Smrg | --libexe | --libex | --libe) 951b7d53ee5Smrg ac_prev=libexecdir ;; 952b7d53ee5Smrg -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 953b7d53ee5Smrg | --libexe=* | --libex=* | --libe=*) 954b7d53ee5Smrg libexecdir=$ac_optarg ;; 955b7d53ee5Smrg 9562ceb2653Smrg -localedir | --localedir | --localedi | --localed | --locale) 9572ceb2653Smrg ac_prev=localedir ;; 9582ceb2653Smrg -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 9592ceb2653Smrg localedir=$ac_optarg ;; 9602ceb2653Smrg 961b7d53ee5Smrg -localstatedir | --localstatedir | --localstatedi | --localstated \ 9622ceb2653Smrg | --localstate | --localstat | --localsta | --localst | --locals) 963b7d53ee5Smrg ac_prev=localstatedir ;; 964b7d53ee5Smrg -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 9652ceb2653Smrg | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 966b7d53ee5Smrg localstatedir=$ac_optarg ;; 967b7d53ee5Smrg 968b7d53ee5Smrg -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 969b7d53ee5Smrg ac_prev=mandir ;; 970b7d53ee5Smrg -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 971b7d53ee5Smrg mandir=$ac_optarg ;; 972b7d53ee5Smrg 973b7d53ee5Smrg -nfp | --nfp | --nf) 974b7d53ee5Smrg # Obsolete; use --without-fp. 975b7d53ee5Smrg with_fp=no ;; 976b7d53ee5Smrg 977b7d53ee5Smrg -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 978b7d53ee5Smrg | --no-cr | --no-c | -n) 979b7d53ee5Smrg no_create=yes ;; 980b7d53ee5Smrg 981b7d53ee5Smrg -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 982b7d53ee5Smrg | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 983b7d53ee5Smrg no_recursion=yes ;; 984b7d53ee5Smrg 985b7d53ee5Smrg -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 986b7d53ee5Smrg | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 987b7d53ee5Smrg | --oldin | --oldi | --old | --ol | --o) 988b7d53ee5Smrg ac_prev=oldincludedir ;; 989b7d53ee5Smrg -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 990b7d53ee5Smrg | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 991b7d53ee5Smrg | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 992b7d53ee5Smrg oldincludedir=$ac_optarg ;; 993b7d53ee5Smrg 994b7d53ee5Smrg -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 995b7d53ee5Smrg ac_prev=prefix ;; 996b7d53ee5Smrg -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 997b7d53ee5Smrg prefix=$ac_optarg ;; 998b7d53ee5Smrg 999b7d53ee5Smrg -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1000b7d53ee5Smrg | --program-pre | --program-pr | --program-p) 1001b7d53ee5Smrg ac_prev=program_prefix ;; 1002b7d53ee5Smrg -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1003b7d53ee5Smrg | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1004b7d53ee5Smrg program_prefix=$ac_optarg ;; 1005b7d53ee5Smrg 1006b7d53ee5Smrg -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1007b7d53ee5Smrg | --program-suf | --program-su | --program-s) 1008b7d53ee5Smrg ac_prev=program_suffix ;; 1009b7d53ee5Smrg -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1010b7d53ee5Smrg | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1011b7d53ee5Smrg program_suffix=$ac_optarg ;; 1012b7d53ee5Smrg 1013b7d53ee5Smrg -program-transform-name | --program-transform-name \ 1014b7d53ee5Smrg | --program-transform-nam | --program-transform-na \ 1015b7d53ee5Smrg | --program-transform-n | --program-transform- \ 1016b7d53ee5Smrg | --program-transform | --program-transfor \ 1017b7d53ee5Smrg | --program-transfo | --program-transf \ 1018b7d53ee5Smrg | --program-trans | --program-tran \ 1019b7d53ee5Smrg | --progr-tra | --program-tr | --program-t) 1020b7d53ee5Smrg ac_prev=program_transform_name ;; 1021b7d53ee5Smrg -program-transform-name=* | --program-transform-name=* \ 1022b7d53ee5Smrg | --program-transform-nam=* | --program-transform-na=* \ 1023b7d53ee5Smrg | --program-transform-n=* | --program-transform-=* \ 1024b7d53ee5Smrg | --program-transform=* | --program-transfor=* \ 1025b7d53ee5Smrg | --program-transfo=* | --program-transf=* \ 1026b7d53ee5Smrg | --program-trans=* | --program-tran=* \ 1027b7d53ee5Smrg | --progr-tra=* | --program-tr=* | --program-t=*) 1028b7d53ee5Smrg program_transform_name=$ac_optarg ;; 1029b7d53ee5Smrg 10302ceb2653Smrg -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 10312ceb2653Smrg ac_prev=pdfdir ;; 10322ceb2653Smrg -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 10332ceb2653Smrg pdfdir=$ac_optarg ;; 10342ceb2653Smrg 10352ceb2653Smrg -psdir | --psdir | --psdi | --psd | --ps) 10362ceb2653Smrg ac_prev=psdir ;; 10372ceb2653Smrg -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 10382ceb2653Smrg psdir=$ac_optarg ;; 10392ceb2653Smrg 1040b7d53ee5Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1041b7d53ee5Smrg | -silent | --silent | --silen | --sile | --sil) 1042b7d53ee5Smrg silent=yes ;; 1043b7d53ee5Smrg 1044b7d53ee5Smrg -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1045b7d53ee5Smrg ac_prev=sbindir ;; 1046b7d53ee5Smrg -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1047b7d53ee5Smrg | --sbi=* | --sb=*) 1048b7d53ee5Smrg sbindir=$ac_optarg ;; 1049b7d53ee5Smrg 1050b7d53ee5Smrg -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1051b7d53ee5Smrg | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1052b7d53ee5Smrg | --sharedst | --shareds | --shared | --share | --shar \ 1053b7d53ee5Smrg | --sha | --sh) 1054b7d53ee5Smrg ac_prev=sharedstatedir ;; 1055b7d53ee5Smrg -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1056b7d53ee5Smrg | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1057b7d53ee5Smrg | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1058b7d53ee5Smrg | --sha=* | --sh=*) 1059b7d53ee5Smrg sharedstatedir=$ac_optarg ;; 1060b7d53ee5Smrg 1061b7d53ee5Smrg -site | --site | --sit) 1062b7d53ee5Smrg ac_prev=site ;; 1063b7d53ee5Smrg -site=* | --site=* | --sit=*) 1064b7d53ee5Smrg site=$ac_optarg ;; 1065b7d53ee5Smrg 1066b7d53ee5Smrg -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1067b7d53ee5Smrg ac_prev=srcdir ;; 1068b7d53ee5Smrg -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1069b7d53ee5Smrg srcdir=$ac_optarg ;; 1070b7d53ee5Smrg 1071b7d53ee5Smrg -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1072b7d53ee5Smrg | --syscon | --sysco | --sysc | --sys | --sy) 1073b7d53ee5Smrg ac_prev=sysconfdir ;; 1074b7d53ee5Smrg -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1075b7d53ee5Smrg | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1076b7d53ee5Smrg sysconfdir=$ac_optarg ;; 1077b7d53ee5Smrg 1078b7d53ee5Smrg -target | --target | --targe | --targ | --tar | --ta | --t) 1079b7d53ee5Smrg ac_prev=target_alias ;; 1080b7d53ee5Smrg -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1081b7d53ee5Smrg target_alias=$ac_optarg ;; 1082b7d53ee5Smrg 1083b7d53ee5Smrg -v | -verbose | --verbose | --verbos | --verbo | --verb) 1084b7d53ee5Smrg verbose=yes ;; 1085b7d53ee5Smrg 1086b7d53ee5Smrg -version | --version | --versio | --versi | --vers | -V) 1087b7d53ee5Smrg ac_init_version=: ;; 1088b7d53ee5Smrg 1089b7d53ee5Smrg -with-* | --with-*) 10902ceb2653Smrg ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1091b7d53ee5Smrg # Reject names that are not valid shell variable names. 10922ceb2653Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 10935cf18391Smrg as_fn_error $? "invalid package name: $ac_useropt" 10942ceb2653Smrg ac_useropt_orig=$ac_useropt 10952ceb2653Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 10962ceb2653Smrg case $ac_user_opts in 10972ceb2653Smrg *" 10982ceb2653Smrg"with_$ac_useropt" 10992ceb2653Smrg"*) ;; 11002ceb2653Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 11012ceb2653Smrg ac_unrecognized_sep=', ';; 1102b7d53ee5Smrg esac 11032ceb2653Smrg eval with_$ac_useropt=\$ac_optarg ;; 1104b7d53ee5Smrg 1105b7d53ee5Smrg -without-* | --without-*) 11062ceb2653Smrg ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1107b7d53ee5Smrg # Reject names that are not valid shell variable names. 11082ceb2653Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 11095cf18391Smrg as_fn_error $? "invalid package name: $ac_useropt" 11102ceb2653Smrg ac_useropt_orig=$ac_useropt 11112ceb2653Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 11122ceb2653Smrg case $ac_user_opts in 11132ceb2653Smrg *" 11142ceb2653Smrg"with_$ac_useropt" 11152ceb2653Smrg"*) ;; 11162ceb2653Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 11172ceb2653Smrg ac_unrecognized_sep=', ';; 11182ceb2653Smrg esac 11192ceb2653Smrg eval with_$ac_useropt=no ;; 1120b7d53ee5Smrg 1121b7d53ee5Smrg --x) 1122b7d53ee5Smrg # Obsolete; use --with-x. 1123b7d53ee5Smrg with_x=yes ;; 1124b7d53ee5Smrg 1125b7d53ee5Smrg -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1126b7d53ee5Smrg | --x-incl | --x-inc | --x-in | --x-i) 1127b7d53ee5Smrg ac_prev=x_includes ;; 1128b7d53ee5Smrg -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1129b7d53ee5Smrg | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1130b7d53ee5Smrg x_includes=$ac_optarg ;; 1131b7d53ee5Smrg 1132b7d53ee5Smrg -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1133b7d53ee5Smrg | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1134b7d53ee5Smrg ac_prev=x_libraries ;; 1135b7d53ee5Smrg -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1136b7d53ee5Smrg | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1137b7d53ee5Smrg x_libraries=$ac_optarg ;; 1138b7d53ee5Smrg 11395cf18391Smrg -*) as_fn_error $? "unrecognized option: \`$ac_option' 11405cf18391SmrgTry \`$0 --help' for more information" 1141b7d53ee5Smrg ;; 1142b7d53ee5Smrg 1143b7d53ee5Smrg *=*) 1144b7d53ee5Smrg ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1145b7d53ee5Smrg # Reject names that are not valid shell variable names. 11465cf18391Smrg case $ac_envvar in #( 11475cf18391Smrg '' | [0-9]* | *[!_$as_cr_alnum]* ) 11485cf18391Smrg as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 11495cf18391Smrg esac 11502ceb2653Smrg eval $ac_envvar=\$ac_optarg 1151b7d53ee5Smrg export $ac_envvar ;; 1152b7d53ee5Smrg 1153b7d53ee5Smrg *) 1154b7d53ee5Smrg # FIXME: should be removed in autoconf 3.0. 11552ceb2653Smrg $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1156b7d53ee5Smrg expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 11572ceb2653Smrg $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 11585cf18391Smrg : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1159b7d53ee5Smrg ;; 1160b7d53ee5Smrg 1161b7d53ee5Smrg esac 1162b7d53ee5Smrgdone 1163b7d53ee5Smrg 1164b7d53ee5Smrgif test -n "$ac_prev"; then 1165b7d53ee5Smrg ac_option=--`echo $ac_prev | sed 's/_/-/g'` 11665cf18391Smrg as_fn_error $? "missing argument to $ac_option" 1167b7d53ee5Smrgfi 1168b7d53ee5Smrg 11692ceb2653Smrgif test -n "$ac_unrecognized_opts"; then 11702ceb2653Smrg case $enable_option_checking in 11712ceb2653Smrg no) ;; 11725cf18391Smrg fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 11732ceb2653Smrg *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1174b7d53ee5Smrg esac 11752ceb2653Smrgfi 1176b7d53ee5Smrg 11772ceb2653Smrg# Check all directory arguments for consistency. 11782ceb2653Smrgfor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 11792ceb2653Smrg datadir sysconfdir sharedstatedir localstatedir includedir \ 11802ceb2653Smrg oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 11812ceb2653Smrg libdir localedir mandir 1182b7d53ee5Smrgdo 11832ceb2653Smrg eval ac_val=\$$ac_var 11842ceb2653Smrg # Remove trailing slashes. 1185b7d53ee5Smrg case $ac_val in 11862ceb2653Smrg */ ) 11872ceb2653Smrg ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 11882ceb2653Smrg eval $ac_var=\$ac_val;; 11892ceb2653Smrg esac 11902ceb2653Smrg # Be sure to have absolute directory names. 11912ceb2653Smrg case $ac_val in 11922ceb2653Smrg [\\/$]* | ?:[\\/]* ) continue;; 11932ceb2653Smrg NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1194b7d53ee5Smrg esac 11955cf18391Smrg as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1196b7d53ee5Smrgdone 1197b7d53ee5Smrg 1198b7d53ee5Smrg# There might be people who depend on the old broken behavior: `$host' 1199b7d53ee5Smrg# used to hold the argument of --host etc. 1200b7d53ee5Smrg# FIXME: To remove some day. 1201b7d53ee5Smrgbuild=$build_alias 1202b7d53ee5Smrghost=$host_alias 1203b7d53ee5Smrgtarget=$target_alias 1204b7d53ee5Smrg 1205b7d53ee5Smrg# FIXME: To remove some day. 1206b7d53ee5Smrgif test "x$host_alias" != x; then 1207b7d53ee5Smrg if test "x$build_alias" = x; then 1208b7d53ee5Smrg cross_compiling=maybe 12095cf18391Smrg $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 12105cf18391Smrg If a cross compiler is detected then cross compile mode will be used" >&2 1211b7d53ee5Smrg elif test "x$build_alias" != "x$host_alias"; then 1212b7d53ee5Smrg cross_compiling=yes 1213b7d53ee5Smrg fi 1214b7d53ee5Smrgfi 1215b7d53ee5Smrg 1216b7d53ee5Smrgac_tool_prefix= 1217b7d53ee5Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias- 1218b7d53ee5Smrg 1219b7d53ee5Smrgtest "$silent" = yes && exec 6>/dev/null 1220b7d53ee5Smrg 1221b7d53ee5Smrg 12222ceb2653Smrgac_pwd=`pwd` && test -n "$ac_pwd" && 12232ceb2653Smrgac_ls_di=`ls -di .` && 12242ceb2653Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 12255cf18391Smrg as_fn_error $? "working directory cannot be determined" 12262ceb2653Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" || 12275cf18391Smrg as_fn_error $? "pwd does not report name of working directory" 12282ceb2653Smrg 12292ceb2653Smrg 1230b7d53ee5Smrg# Find the source files, if location was not specified. 1231b7d53ee5Smrgif test -z "$srcdir"; then 1232b7d53ee5Smrg ac_srcdir_defaulted=yes 12332ceb2653Smrg # Try the directory containing this script, then the parent directory. 12342ceb2653Smrg ac_confdir=`$as_dirname -- "$as_myself" || 12352ceb2653Smrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12362ceb2653Smrg X"$as_myself" : 'X\(//\)[^/]' \| \ 12372ceb2653Smrg X"$as_myself" : 'X\(//\)$' \| \ 12382ceb2653Smrg X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 12392ceb2653Smrg$as_echo X"$as_myself" | 12402ceb2653Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12412ceb2653Smrg s//\1/ 12422ceb2653Smrg q 12432ceb2653Smrg } 12442ceb2653Smrg /^X\(\/\/\)[^/].*/{ 12452ceb2653Smrg s//\1/ 12462ceb2653Smrg q 12472ceb2653Smrg } 12482ceb2653Smrg /^X\(\/\/\)$/{ 12492ceb2653Smrg s//\1/ 12502ceb2653Smrg q 12512ceb2653Smrg } 12522ceb2653Smrg /^X\(\/\).*/{ 12532ceb2653Smrg s//\1/ 12542ceb2653Smrg q 12552ceb2653Smrg } 12562ceb2653Smrg s/.*/./; q'` 1257b7d53ee5Smrg srcdir=$ac_confdir 12582ceb2653Smrg if test ! -r "$srcdir/$ac_unique_file"; then 1259b7d53ee5Smrg srcdir=.. 1260b7d53ee5Smrg fi 1261b7d53ee5Smrgelse 1262b7d53ee5Smrg ac_srcdir_defaulted=no 1263b7d53ee5Smrgfi 12642ceb2653Smrgif test ! -r "$srcdir/$ac_unique_file"; then 12652ceb2653Smrg test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 12665cf18391Smrg as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1267b7d53ee5Smrgfi 12682ceb2653Smrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 12692ceb2653Smrgac_abs_confdir=`( 12705cf18391Smrg cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 12712ceb2653Smrg pwd)` 12722ceb2653Smrg# When building in place, set srcdir=. 12732ceb2653Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then 12742ceb2653Smrg srcdir=. 12752ceb2653Smrgfi 12762ceb2653Smrg# Remove unnecessary trailing slashes from srcdir. 12772ceb2653Smrg# Double slashes in file names in object file debugging info 12782ceb2653Smrg# mess up M-x gdb in Emacs. 12792ceb2653Smrgcase $srcdir in 12802ceb2653Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 12812ceb2653Smrgesac 12822ceb2653Smrgfor ac_var in $ac_precious_vars; do 12832ceb2653Smrg eval ac_env_${ac_var}_set=\${${ac_var}+set} 12842ceb2653Smrg eval ac_env_${ac_var}_value=\$${ac_var} 12852ceb2653Smrg eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 12862ceb2653Smrg eval ac_cv_env_${ac_var}_value=\$${ac_var} 12872ceb2653Smrgdone 1288b7d53ee5Smrg 1289b7d53ee5Smrg# 1290b7d53ee5Smrg# Report the --help message. 1291b7d53ee5Smrg# 1292b7d53ee5Smrgif test "$ac_init_help" = "long"; then 1293b7d53ee5Smrg # Omit some internal or obsolete options to make the list less imposing. 1294b7d53ee5Smrg # This message is too long to be a string in the A/UX 3.1 sh. 1295b7d53ee5Smrg cat <<_ACEOF 12965cf18391Smrg\`configure' configures font-dec-misc 1.0.3 to adapt to many kinds of systems. 1297b7d53ee5Smrg 1298b7d53ee5SmrgUsage: $0 [OPTION]... [VAR=VALUE]... 1299b7d53ee5Smrg 1300b7d53ee5SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as 1301b7d53ee5SmrgVAR=VALUE. See below for descriptions of some of the useful variables. 1302b7d53ee5Smrg 1303b7d53ee5SmrgDefaults for the options are specified in brackets. 1304b7d53ee5Smrg 1305b7d53ee5SmrgConfiguration: 1306b7d53ee5Smrg -h, --help display this help and exit 1307b7d53ee5Smrg --help=short display options specific to this package 1308b7d53ee5Smrg --help=recursive display the short help of all the included packages 1309b7d53ee5Smrg -V, --version display version information and exit 13105cf18391Smrg -q, --quiet, --silent do not print \`checking ...' messages 1311b7d53ee5Smrg --cache-file=FILE cache test results in FILE [disabled] 1312b7d53ee5Smrg -C, --config-cache alias for \`--cache-file=config.cache' 1313b7d53ee5Smrg -n, --no-create do not create output files 1314b7d53ee5Smrg --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1315b7d53ee5Smrg 1316b7d53ee5SmrgInstallation directories: 1317b7d53ee5Smrg --prefix=PREFIX install architecture-independent files in PREFIX 13182ceb2653Smrg [$ac_default_prefix] 1319b7d53ee5Smrg --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 13202ceb2653Smrg [PREFIX] 1321b7d53ee5Smrg 1322b7d53ee5SmrgBy default, \`make install' will install all the files in 1323b7d53ee5Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1324b7d53ee5Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix', 1325b7d53ee5Smrgfor instance \`--prefix=\$HOME'. 1326b7d53ee5Smrg 1327b7d53ee5SmrgFor better control, use the options below. 1328b7d53ee5Smrg 1329b7d53ee5SmrgFine tuning of the installation directories: 13302ceb2653Smrg --bindir=DIR user executables [EPREFIX/bin] 13312ceb2653Smrg --sbindir=DIR system admin executables [EPREFIX/sbin] 13322ceb2653Smrg --libexecdir=DIR program executables [EPREFIX/libexec] 13332ceb2653Smrg --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 13342ceb2653Smrg --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 13352ceb2653Smrg --localstatedir=DIR modifiable single-machine data [PREFIX/var] 13362ceb2653Smrg --libdir=DIR object code libraries [EPREFIX/lib] 13372ceb2653Smrg --includedir=DIR C header files [PREFIX/include] 13382ceb2653Smrg --oldincludedir=DIR C header files for non-gcc [/usr/include] 13392ceb2653Smrg --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 13402ceb2653Smrg --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 13412ceb2653Smrg --infodir=DIR info documentation [DATAROOTDIR/info] 13422ceb2653Smrg --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 13432ceb2653Smrg --mandir=DIR man documentation [DATAROOTDIR/man] 13442ceb2653Smrg --docdir=DIR documentation root [DATAROOTDIR/doc/font-dec-misc] 13452ceb2653Smrg --htmldir=DIR html documentation [DOCDIR] 13462ceb2653Smrg --dvidir=DIR dvi documentation [DOCDIR] 13472ceb2653Smrg --pdfdir=DIR pdf documentation [DOCDIR] 13482ceb2653Smrg --psdir=DIR ps documentation [DOCDIR] 1349b7d53ee5Smrg_ACEOF 1350b7d53ee5Smrg 1351b7d53ee5Smrg cat <<\_ACEOF 1352b7d53ee5Smrg 1353b7d53ee5SmrgProgram names: 1354b7d53ee5Smrg --program-prefix=PREFIX prepend PREFIX to installed program names 1355b7d53ee5Smrg --program-suffix=SUFFIX append SUFFIX to installed program names 1356b7d53ee5Smrg --program-transform-name=PROGRAM run sed PROGRAM on installed program names 13572ceb2653Smrg 13582ceb2653SmrgSystem types: 13592ceb2653Smrg --build=BUILD configure for building on BUILD [guessed] 13602ceb2653Smrg --host=HOST cross-compile to build programs to run on HOST [BUILD] 1361b7d53ee5Smrg_ACEOF 1362b7d53ee5Smrgfi 1363b7d53ee5Smrg 1364b7d53ee5Smrgif test -n "$ac_init_help"; then 1365b7d53ee5Smrg case $ac_init_help in 13665cf18391Smrg short | recursive ) echo "Configuration of font-dec-misc 1.0.3:";; 1367b7d53ee5Smrg esac 1368b7d53ee5Smrg cat <<\_ACEOF 1369b7d53ee5Smrg 1370b7d53ee5SmrgOptional Features: 13712ceb2653Smrg --disable-option-checking ignore unrecognized --enable/--with options 1372b7d53ee5Smrg --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1373b7d53ee5Smrg --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 13742ceb2653Smrg --enable-maintainer-mode enable make rules and dependencies not useful 13752ceb2653Smrg (and sometimes confusing) to the casual installer 13762ceb2653Smrg --disable-dependency-tracking speeds up one-time build 13772ceb2653Smrg --enable-dependency-tracking do not reject slow dependency extractors 13782ceb2653Smrg --enable-strict-compilation 13792ceb2653Smrg Enable all warnings from compiler and make them 13802ceb2653Smrg errors (default: disabled) 13815cf18391Smrg --enable-silent-rules less verbose build output (undo: `make V=1') 13825cf18391Smrg --disable-silent-rules verbose build output (undo: `make V=0') 1383b7d53ee5Smrg 1384b7d53ee5SmrgOptional Packages: 1385b7d53ee5Smrg --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1386b7d53ee5Smrg --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 13872ceb2653Smrg --with-fontrootdir=DIR Path to root directory for font files 13882ceb2653Smrg --with-fontdir=DIR Path to misc files [FONTROOTDIR/misc] 13892ceb2653Smrg --with-compression=<no|compress|gzip|bzip2> 13902ceb2653Smrg compression method to use on pcf fonts 13912ceb2653Smrg 13922ceb2653SmrgSome influential environment variables: 13932ceb2653Smrg CC C compiler command 13942ceb2653Smrg CFLAGS C compiler flags 13952ceb2653Smrg LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 13962ceb2653Smrg nonstandard directory <lib dir> 13972ceb2653Smrg LIBS libraries to pass to the linker, e.g. -l<library> 13985cf18391Smrg CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 13992ceb2653Smrg you have headers in a nonstandard directory <include dir> 14002ceb2653Smrg CPP C preprocessor 14012ceb2653Smrg PKG_CONFIG path to pkg-config utility 14025cf18391Smrg PKG_CONFIG_PATH 14035cf18391Smrg directories to add to pkg-config's search path 14045cf18391Smrg PKG_CONFIG_LIBDIR 14055cf18391Smrg path overriding pkg-config's built-in search path 14062ceb2653Smrg 14072ceb2653SmrgUse these variables to override the choices made by `configure' or to help 14082ceb2653Smrgit to find libraries and programs with nonstandard names/locations. 1409b7d53ee5Smrg 1410b7d53ee5SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 1411b7d53ee5Smrg_ACEOF 14122ceb2653Smrgac_status=$? 1413b7d53ee5Smrgfi 1414b7d53ee5Smrg 1415b7d53ee5Smrgif test "$ac_init_help" = "recursive"; then 1416b7d53ee5Smrg # If there are subdirs, report their specific --help. 1417b7d53ee5Smrg for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 14182ceb2653Smrg test -d "$ac_dir" || 14192ceb2653Smrg { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 14202ceb2653Smrg continue 1421b7d53ee5Smrg ac_builddir=. 1422b7d53ee5Smrg 14232ceb2653Smrgcase "$ac_dir" in 14242ceb2653Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 14252ceb2653Smrg*) 14262ceb2653Smrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 14272ceb2653Smrg # A ".." for each directory in $ac_dir_suffix. 14282ceb2653Smrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 14292ceb2653Smrg case $ac_top_builddir_sub in 14302ceb2653Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 14312ceb2653Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 14322ceb2653Smrg esac ;; 14332ceb2653Smrgesac 14342ceb2653Smrgac_abs_top_builddir=$ac_pwd 14352ceb2653Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 14362ceb2653Smrg# for backward compatibility: 14372ceb2653Smrgac_top_builddir=$ac_top_build_prefix 1438b7d53ee5Smrg 1439b7d53ee5Smrgcase $srcdir in 14402ceb2653Smrg .) # We are building in place. 1441b7d53ee5Smrg ac_srcdir=. 14422ceb2653Smrg ac_top_srcdir=$ac_top_builddir_sub 14432ceb2653Smrg ac_abs_top_srcdir=$ac_pwd ;; 14442ceb2653Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 1445b7d53ee5Smrg ac_srcdir=$srcdir$ac_dir_suffix; 14462ceb2653Smrg ac_top_srcdir=$srcdir 14472ceb2653Smrg ac_abs_top_srcdir=$srcdir ;; 14482ceb2653Smrg *) # Relative name. 14492ceb2653Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 14502ceb2653Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 14512ceb2653Smrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1452b7d53ee5Smrgesac 14532ceb2653Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 14542ceb2653Smrg 14552ceb2653Smrg cd "$ac_dir" || { ac_status=$?; continue; } 14562ceb2653Smrg # Check for guested configure. 14572ceb2653Smrg if test -f "$ac_srcdir/configure.gnu"; then 14582ceb2653Smrg echo && 14592ceb2653Smrg $SHELL "$ac_srcdir/configure.gnu" --help=recursive 14602ceb2653Smrg elif test -f "$ac_srcdir/configure"; then 14612ceb2653Smrg echo && 14622ceb2653Smrg $SHELL "$ac_srcdir/configure" --help=recursive 1463b7d53ee5Smrg else 14642ceb2653Smrg $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 14652ceb2653Smrg fi || ac_status=$? 14662ceb2653Smrg cd "$ac_pwd" || { ac_status=$?; break; } 1467b7d53ee5Smrg done 1468b7d53ee5Smrgfi 1469b7d53ee5Smrg 14702ceb2653Smrgtest -n "$ac_init_help" && exit $ac_status 1471b7d53ee5Smrgif $ac_init_version; then 1472b7d53ee5Smrg cat <<\_ACEOF 14735cf18391Smrgfont-dec-misc configure 1.0.3 14745cf18391Smrggenerated by GNU Autoconf 2.68 1475b7d53ee5Smrg 14765cf18391SmrgCopyright (C) 2010 Free Software Foundation, Inc. 1477b7d53ee5SmrgThis configure script is free software; the Free Software Foundation 1478b7d53ee5Smrggives unlimited permission to copy, distribute and modify it. 1479b7d53ee5Smrg_ACEOF 14802ceb2653Smrg exit 1481b7d53ee5Smrgfi 1482b7d53ee5Smrg 14835cf18391Smrg## ------------------------ ## 14845cf18391Smrg## Autoconf initialization. ## 14855cf18391Smrg## ------------------------ ## 1486b7d53ee5Smrg 14875cf18391Smrg# ac_fn_c_try_compile LINENO 14885cf18391Smrg# -------------------------- 14895cf18391Smrg# Try to compile conftest.$ac_ext, and return whether this succeeded. 14905cf18391Smrgac_fn_c_try_compile () 1491b7d53ee5Smrg{ 14925cf18391Smrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 14935cf18391Smrg rm -f conftest.$ac_objext 14945cf18391Smrg if { { ac_try="$ac_compile" 14955cf18391Smrgcase "(($ac_try" in 14965cf18391Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14975cf18391Smrg *) ac_try_echo=$ac_try;; 14985cf18391Smrgesac 14995cf18391Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 15005cf18391Smrg$as_echo "$ac_try_echo"; } >&5 15015cf18391Smrg (eval "$ac_compile") 2>conftest.err 15025cf18391Smrg ac_status=$? 15035cf18391Smrg if test -s conftest.err; then 15045cf18391Smrg grep -v '^ *+' conftest.err >conftest.er1 15055cf18391Smrg cat conftest.er1 >&5 15065cf18391Smrg mv -f conftest.er1 conftest.err 15075cf18391Smrg fi 15085cf18391Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15095cf18391Smrg test $ac_status = 0; } && { 15105cf18391Smrg test -z "$ac_c_werror_flag" || 15115cf18391Smrg test ! -s conftest.err 15125cf18391Smrg } && test -s conftest.$ac_objext; then : 15135cf18391Smrg ac_retval=0 15145cf18391Smrgelse 15155cf18391Smrg $as_echo "$as_me: failed program was:" >&5 15165cf18391Smrgsed 's/^/| /' conftest.$ac_ext >&5 1517b7d53ee5Smrg 15185cf18391Smrg ac_retval=1 15195cf18391Smrgfi 15205cf18391Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 15215cf18391Smrg as_fn_set_status $ac_retval 1522b7d53ee5Smrg 15235cf18391Smrg} # ac_fn_c_try_compile 1524b7d53ee5Smrg 15255cf18391Smrg# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 15265cf18391Smrg# --------------------------------------------- 15275cf18391Smrg# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 15285cf18391Smrg# accordingly. 15295cf18391Smrgac_fn_c_check_decl () 15305cf18391Smrg{ 15315cf18391Smrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 15325cf18391Smrg as_decl_name=`echo $2|sed 's/ *(.*//'` 15335cf18391Smrg as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 15345cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 15355cf18391Smrg$as_echo_n "checking whether $as_decl_name is declared... " >&6; } 15365cf18391Smrgif eval \${$3+:} false; then : 15375cf18391Smrg $as_echo_n "(cached) " >&6 15385cf18391Smrgelse 15395cf18391Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15405cf18391Smrg/* end confdefs.h. */ 15415cf18391Smrg$4 15425cf18391Smrgint 15435cf18391Smrgmain () 15445cf18391Smrg{ 15455cf18391Smrg#ifndef $as_decl_name 15465cf18391Smrg#ifdef __cplusplus 15475cf18391Smrg (void) $as_decl_use; 15485cf18391Smrg#else 15495cf18391Smrg (void) $as_decl_name; 15505cf18391Smrg#endif 15515cf18391Smrg#endif 15525cf18391Smrg 15535cf18391Smrg ; 15545cf18391Smrg return 0; 15555cf18391Smrg} 15565cf18391Smrg_ACEOF 15575cf18391Smrgif ac_fn_c_try_compile "$LINENO"; then : 15585cf18391Smrg eval "$3=yes" 15595cf18391Smrgelse 15605cf18391Smrg eval "$3=no" 15615cf18391Smrgfi 15625cf18391Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15635cf18391Smrgfi 15645cf18391Smrgeval ac_res=\$$3 15655cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 15665cf18391Smrg$as_echo "$ac_res" >&6; } 15675cf18391Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 15685cf18391Smrg 15695cf18391Smrg} # ac_fn_c_check_decl 15705cf18391Smrg 15715cf18391Smrg# ac_fn_c_try_cpp LINENO 15725cf18391Smrg# ---------------------- 15735cf18391Smrg# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 15745cf18391Smrgac_fn_c_try_cpp () 15755cf18391Smrg{ 15765cf18391Smrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 15775cf18391Smrg if { { ac_try="$ac_cpp conftest.$ac_ext" 15785cf18391Smrgcase "(($ac_try" in 15795cf18391Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15805cf18391Smrg *) ac_try_echo=$ac_try;; 15815cf18391Smrgesac 15825cf18391Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 15835cf18391Smrg$as_echo "$ac_try_echo"; } >&5 15845cf18391Smrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 15855cf18391Smrg ac_status=$? 15865cf18391Smrg if test -s conftest.err; then 15875cf18391Smrg grep -v '^ *+' conftest.err >conftest.er1 15885cf18391Smrg cat conftest.er1 >&5 15895cf18391Smrg mv -f conftest.er1 conftest.err 15905cf18391Smrg fi 15915cf18391Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15925cf18391Smrg test $ac_status = 0; } > conftest.i && { 15935cf18391Smrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 15945cf18391Smrg test ! -s conftest.err 15955cf18391Smrg }; then : 15965cf18391Smrg ac_retval=0 15975cf18391Smrgelse 15985cf18391Smrg $as_echo "$as_me: failed program was:" >&5 15995cf18391Smrgsed 's/^/| /' conftest.$ac_ext >&5 16005cf18391Smrg 16015cf18391Smrg ac_retval=1 16025cf18391Smrgfi 16035cf18391Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 16045cf18391Smrg as_fn_set_status $ac_retval 16055cf18391Smrg 16065cf18391Smrg} # ac_fn_c_try_cpp 16075cf18391Smrg 16085cf18391Smrg# ac_fn_c_try_run LINENO 16095cf18391Smrg# ---------------------- 16105cf18391Smrg# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 16115cf18391Smrg# that executables *can* be run. 16125cf18391Smrgac_fn_c_try_run () 16135cf18391Smrg{ 16145cf18391Smrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 16155cf18391Smrg if { { ac_try="$ac_link" 16165cf18391Smrgcase "(($ac_try" in 16175cf18391Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16185cf18391Smrg *) ac_try_echo=$ac_try;; 16195cf18391Smrgesac 16205cf18391Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 16215cf18391Smrg$as_echo "$ac_try_echo"; } >&5 16225cf18391Smrg (eval "$ac_link") 2>&5 16235cf18391Smrg ac_status=$? 16245cf18391Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16255cf18391Smrg test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 16265cf18391Smrg { { case "(($ac_try" in 16275cf18391Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16285cf18391Smrg *) ac_try_echo=$ac_try;; 16295cf18391Smrgesac 16305cf18391Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 16315cf18391Smrg$as_echo "$ac_try_echo"; } >&5 16325cf18391Smrg (eval "$ac_try") 2>&5 16335cf18391Smrg ac_status=$? 16345cf18391Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16355cf18391Smrg test $ac_status = 0; }; }; then : 16365cf18391Smrg ac_retval=0 16375cf18391Smrgelse 16385cf18391Smrg $as_echo "$as_me: program exited with status $ac_status" >&5 16395cf18391Smrg $as_echo "$as_me: failed program was:" >&5 16405cf18391Smrgsed 's/^/| /' conftest.$ac_ext >&5 16415cf18391Smrg 16425cf18391Smrg ac_retval=$ac_status 16435cf18391Smrgfi 16445cf18391Smrg rm -rf conftest.dSYM conftest_ipa8_conftest.oo 16455cf18391Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 16465cf18391Smrg as_fn_set_status $ac_retval 16475cf18391Smrg 16485cf18391Smrg} # ac_fn_c_try_run 16495cf18391Smrg 16505cf18391Smrg# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 16515cf18391Smrg# ------------------------------------------------------- 16525cf18391Smrg# Tests whether HEADER exists and can be compiled using the include files in 16535cf18391Smrg# INCLUDES, setting the cache variable VAR accordingly. 16545cf18391Smrgac_fn_c_check_header_compile () 16555cf18391Smrg{ 16565cf18391Smrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 16575cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 16585cf18391Smrg$as_echo_n "checking for $2... " >&6; } 16595cf18391Smrgif eval \${$3+:} false; then : 16605cf18391Smrg $as_echo_n "(cached) " >&6 16615cf18391Smrgelse 16625cf18391Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16635cf18391Smrg/* end confdefs.h. */ 16645cf18391Smrg$4 16655cf18391Smrg#include <$2> 16665cf18391Smrg_ACEOF 16675cf18391Smrgif ac_fn_c_try_compile "$LINENO"; then : 16685cf18391Smrg eval "$3=yes" 16695cf18391Smrgelse 16705cf18391Smrg eval "$3=no" 16715cf18391Smrgfi 16725cf18391Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16735cf18391Smrgfi 16745cf18391Smrgeval ac_res=\$$3 16755cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 16765cf18391Smrg$as_echo "$ac_res" >&6; } 16775cf18391Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 16785cf18391Smrg 16795cf18391Smrg} # ac_fn_c_check_header_compile 16805cf18391Smrgcat >config.log <<_ACEOF 16815cf18391SmrgThis file contains any messages produced by compilers while 16825cf18391Smrgrunning configure, to aid debugging if configure makes a mistake. 16835cf18391Smrg 16845cf18391SmrgIt was created by font-dec-misc $as_me 1.0.3, which was 16855cf18391Smrggenerated by GNU Autoconf 2.68. Invocation command line was 16865cf18391Smrg 16875cf18391Smrg $ $0 $@ 16885cf18391Smrg 16895cf18391Smrg_ACEOF 16905cf18391Smrgexec 5>>config.log 16915cf18391Smrg{ 16925cf18391Smrgcat <<_ASUNAME 16935cf18391Smrg## --------- ## 16945cf18391Smrg## Platform. ## 16955cf18391Smrg## --------- ## 16965cf18391Smrg 16975cf18391Smrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 16985cf18391Smrguname -m = `(uname -m) 2>/dev/null || echo unknown` 16995cf18391Smrguname -r = `(uname -r) 2>/dev/null || echo unknown` 17005cf18391Smrguname -s = `(uname -s) 2>/dev/null || echo unknown` 17015cf18391Smrguname -v = `(uname -v) 2>/dev/null || echo unknown` 17025cf18391Smrg 17035cf18391Smrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 17045cf18391Smrg/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 17055cf18391Smrg 17065cf18391Smrg/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 17075cf18391Smrg/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 17085cf18391Smrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 17095cf18391Smrg/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 17105cf18391Smrg/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 17115cf18391Smrg/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 17125cf18391Smrg/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 17135cf18391Smrg 17145cf18391Smrg_ASUNAME 17155cf18391Smrg 17165cf18391Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1717b7d53ee5Smrgfor as_dir in $PATH 1718b7d53ee5Smrgdo 1719b7d53ee5Smrg IFS=$as_save_IFS 1720b7d53ee5Smrg test -z "$as_dir" && as_dir=. 17215cf18391Smrg $as_echo "PATH: $as_dir" 17225cf18391Smrg done 17232ceb2653SmrgIFS=$as_save_IFS 1724b7d53ee5Smrg 1725b7d53ee5Smrg} >&5 1726b7d53ee5Smrg 1727b7d53ee5Smrgcat >&5 <<_ACEOF 1728b7d53ee5Smrg 1729b7d53ee5Smrg 1730b7d53ee5Smrg## ----------- ## 1731b7d53ee5Smrg## Core tests. ## 1732b7d53ee5Smrg## ----------- ## 1733b7d53ee5Smrg 1734b7d53ee5Smrg_ACEOF 1735b7d53ee5Smrg 1736b7d53ee5Smrg 1737b7d53ee5Smrg# Keep a trace of the command line. 1738b7d53ee5Smrg# Strip out --no-create and --no-recursion so they do not pile up. 1739b7d53ee5Smrg# Strip out --silent because we don't want to record it for future runs. 1740b7d53ee5Smrg# Also quote any args containing shell meta-characters. 1741b7d53ee5Smrg# Make two passes to allow for proper duplicate-argument suppression. 1742b7d53ee5Smrgac_configure_args= 1743b7d53ee5Smrgac_configure_args0= 1744b7d53ee5Smrgac_configure_args1= 1745b7d53ee5Smrgac_must_keep_next=false 1746b7d53ee5Smrgfor ac_pass in 1 2 1747b7d53ee5Smrgdo 1748b7d53ee5Smrg for ac_arg 1749b7d53ee5Smrg do 1750b7d53ee5Smrg case $ac_arg in 1751b7d53ee5Smrg -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1752b7d53ee5Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1753b7d53ee5Smrg | -silent | --silent | --silen | --sile | --sil) 1754b7d53ee5Smrg continue ;; 17552ceb2653Smrg *\'*) 17562ceb2653Smrg ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1757b7d53ee5Smrg esac 1758b7d53ee5Smrg case $ac_pass in 17595cf18391Smrg 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1760b7d53ee5Smrg 2) 17615cf18391Smrg as_fn_append ac_configure_args1 " '$ac_arg'" 1762b7d53ee5Smrg if test $ac_must_keep_next = true; then 1763b7d53ee5Smrg ac_must_keep_next=false # Got value, back to normal. 1764b7d53ee5Smrg else 1765b7d53ee5Smrg case $ac_arg in 1766b7d53ee5Smrg *=* | --config-cache | -C | -disable-* | --disable-* \ 1767b7d53ee5Smrg | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1768b7d53ee5Smrg | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1769b7d53ee5Smrg | -with-* | --with-* | -without-* | --without-* | --x) 1770b7d53ee5Smrg case "$ac_configure_args0 " in 1771b7d53ee5Smrg "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1772b7d53ee5Smrg esac 1773b7d53ee5Smrg ;; 1774b7d53ee5Smrg -* ) ac_must_keep_next=true ;; 1775b7d53ee5Smrg esac 1776b7d53ee5Smrg fi 17775cf18391Smrg as_fn_append ac_configure_args " '$ac_arg'" 1778b7d53ee5Smrg ;; 1779b7d53ee5Smrg esac 1780b7d53ee5Smrg done 1781b7d53ee5Smrgdone 17825cf18391Smrg{ ac_configure_args0=; unset ac_configure_args0;} 17835cf18391Smrg{ ac_configure_args1=; unset ac_configure_args1;} 1784b7d53ee5Smrg 1785b7d53ee5Smrg# When interrupted or exit'd, cleanup temporary files, and complete 1786b7d53ee5Smrg# config.log. We remove comments because anyway the quotes in there 1787b7d53ee5Smrg# would cause problems or look ugly. 17882ceb2653Smrg# WARNING: Use '\'' to represent an apostrophe within the trap. 17892ceb2653Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1790b7d53ee5Smrgtrap 'exit_status=$? 1791b7d53ee5Smrg # Save into config.log some information that might help in debugging. 1792b7d53ee5Smrg { 1793b7d53ee5Smrg echo 1794b7d53ee5Smrg 17955cf18391Smrg $as_echo "## ---------------- ## 1796b7d53ee5Smrg## Cache variables. ## 17975cf18391Smrg## ---------------- ##" 1798b7d53ee5Smrg echo 1799b7d53ee5Smrg # The following way of writing the cache mishandles newlines in values, 18002ceb2653Smrg( 18012ceb2653Smrg for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 18022ceb2653Smrg eval ac_val=\$$ac_var 18032ceb2653Smrg case $ac_val in #( 18042ceb2653Smrg *${as_nl}*) 18052ceb2653Smrg case $ac_var in #( 18065cf18391Smrg *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 18072ceb2653Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 18082ceb2653Smrg esac 18092ceb2653Smrg case $ac_var in #( 18102ceb2653Smrg _ | IFS | as_nl) ;; #( 18112ceb2653Smrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 18125cf18391Smrg *) { eval $ac_var=; unset $ac_var;} ;; 18132ceb2653Smrg esac ;; 18142ceb2653Smrg esac 18152ceb2653Smrg done 1816b7d53ee5Smrg (set) 2>&1 | 18172ceb2653Smrg case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 18182ceb2653Smrg *${as_nl}ac_space=\ *) 1819b7d53ee5Smrg sed -n \ 18202ceb2653Smrg "s/'\''/'\''\\\\'\'''\''/g; 18212ceb2653Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 18222ceb2653Smrg ;; #( 1823b7d53ee5Smrg *) 18242ceb2653Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1825b7d53ee5Smrg ;; 18262ceb2653Smrg esac | 18272ceb2653Smrg sort 18282ceb2653Smrg) 1829b7d53ee5Smrg echo 1830b7d53ee5Smrg 18315cf18391Smrg $as_echo "## ----------------- ## 1832b7d53ee5Smrg## Output variables. ## 18335cf18391Smrg## ----------------- ##" 1834b7d53ee5Smrg echo 1835b7d53ee5Smrg for ac_var in $ac_subst_vars 1836b7d53ee5Smrg do 18372ceb2653Smrg eval ac_val=\$$ac_var 18382ceb2653Smrg case $ac_val in 18392ceb2653Smrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 18402ceb2653Smrg esac 18412ceb2653Smrg $as_echo "$ac_var='\''$ac_val'\''" 1842b7d53ee5Smrg done | sort 1843b7d53ee5Smrg echo 1844b7d53ee5Smrg 1845b7d53ee5Smrg if test -n "$ac_subst_files"; then 18465cf18391Smrg $as_echo "## ------------------- ## 18472ceb2653Smrg## File substitutions. ## 18485cf18391Smrg## ------------------- ##" 1849b7d53ee5Smrg echo 1850b7d53ee5Smrg for ac_var in $ac_subst_files 1851b7d53ee5Smrg do 18522ceb2653Smrg eval ac_val=\$$ac_var 18532ceb2653Smrg case $ac_val in 18542ceb2653Smrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 18552ceb2653Smrg esac 18562ceb2653Smrg $as_echo "$ac_var='\''$ac_val'\''" 1857b7d53ee5Smrg done | sort 1858b7d53ee5Smrg echo 1859b7d53ee5Smrg fi 1860b7d53ee5Smrg 1861b7d53ee5Smrg if test -s confdefs.h; then 18625cf18391Smrg $as_echo "## ----------- ## 1863b7d53ee5Smrg## confdefs.h. ## 18645cf18391Smrg## ----------- ##" 1865b7d53ee5Smrg echo 18662ceb2653Smrg cat confdefs.h 1867b7d53ee5Smrg echo 1868b7d53ee5Smrg fi 1869b7d53ee5Smrg test "$ac_signal" != 0 && 18702ceb2653Smrg $as_echo "$as_me: caught signal $ac_signal" 18712ceb2653Smrg $as_echo "$as_me: exit $exit_status" 1872b7d53ee5Smrg } >&5 18732ceb2653Smrg rm -f core *.core core.conftest.* && 18742ceb2653Smrg rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1875b7d53ee5Smrg exit $exit_status 18762ceb2653Smrg' 0 1877b7d53ee5Smrgfor ac_signal in 1 2 13 15; do 18785cf18391Smrg trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1879b7d53ee5Smrgdone 1880b7d53ee5Smrgac_signal=0 1881b7d53ee5Smrg 1882b7d53ee5Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed. 18832ceb2653Smrgrm -f -r conftest* confdefs.h 1884b7d53ee5Smrg 18855cf18391Smrg$as_echo "/* confdefs.h */" > confdefs.h 18865cf18391Smrg 1887b7d53ee5Smrg# Predefined preprocessor variables. 1888b7d53ee5Smrg 1889b7d53ee5Smrgcat >>confdefs.h <<_ACEOF 1890b7d53ee5Smrg#define PACKAGE_NAME "$PACKAGE_NAME" 1891b7d53ee5Smrg_ACEOF 1892b7d53ee5Smrg 1893b7d53ee5Smrgcat >>confdefs.h <<_ACEOF 1894b7d53ee5Smrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1895b7d53ee5Smrg_ACEOF 1896b7d53ee5Smrg 1897b7d53ee5Smrgcat >>confdefs.h <<_ACEOF 1898b7d53ee5Smrg#define PACKAGE_VERSION "$PACKAGE_VERSION" 1899b7d53ee5Smrg_ACEOF 1900b7d53ee5Smrg 1901b7d53ee5Smrgcat >>confdefs.h <<_ACEOF 1902b7d53ee5Smrg#define PACKAGE_STRING "$PACKAGE_STRING" 1903b7d53ee5Smrg_ACEOF 1904b7d53ee5Smrg 1905b7d53ee5Smrgcat >>confdefs.h <<_ACEOF 1906b7d53ee5Smrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1907b7d53ee5Smrg_ACEOF 1908b7d53ee5Smrg 19095cf18391Smrgcat >>confdefs.h <<_ACEOF 19105cf18391Smrg#define PACKAGE_URL "$PACKAGE_URL" 19115cf18391Smrg_ACEOF 19125cf18391Smrg 1913b7d53ee5Smrg 1914b7d53ee5Smrg# Let the site file select an alternate cache file if it wants to. 19152ceb2653Smrg# Prefer an explicitly selected file to automatically selected ones. 19162ceb2653Smrgac_site_file1=NONE 19172ceb2653Smrgac_site_file2=NONE 19182ceb2653Smrgif test -n "$CONFIG_SITE"; then 19195cf18391Smrg # We do not want a PATH search for config.site. 19205cf18391Smrg case $CONFIG_SITE in #(( 19215cf18391Smrg -*) ac_site_file1=./$CONFIG_SITE;; 19225cf18391Smrg */*) ac_site_file1=$CONFIG_SITE;; 19235cf18391Smrg *) ac_site_file1=./$CONFIG_SITE;; 19245cf18391Smrg esac 19252ceb2653Smrgelif test "x$prefix" != xNONE; then 19262ceb2653Smrg ac_site_file1=$prefix/share/config.site 19272ceb2653Smrg ac_site_file2=$prefix/etc/config.site 19282ceb2653Smrgelse 19292ceb2653Smrg ac_site_file1=$ac_default_prefix/share/config.site 19302ceb2653Smrg ac_site_file2=$ac_default_prefix/etc/config.site 1931b7d53ee5Smrgfi 19322ceb2653Smrgfor ac_site_file in "$ac_site_file1" "$ac_site_file2" 19332ceb2653Smrgdo 19342ceb2653Smrg test "x$ac_site_file" = xNONE && continue 19355cf18391Smrg if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 19365cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 19372ceb2653Smrg$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1938b7d53ee5Smrg sed 's/^/| /' "$ac_site_file" >&5 19395cf18391Smrg . "$ac_site_file" \ 19405cf18391Smrg || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19415cf18391Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19425cf18391Smrgas_fn_error $? "failed to load site script $ac_site_file 19435cf18391SmrgSee \`config.log' for more details" "$LINENO" 5; } 1944b7d53ee5Smrg fi 1945b7d53ee5Smrgdone 1946b7d53ee5Smrg 1947b7d53ee5Smrgif test -r "$cache_file"; then 19485cf18391Smrg # Some versions of bash will fail to source /dev/null (special files 19495cf18391Smrg # actually), so we avoid doing that. DJGPP emulates it as a regular file. 19505cf18391Smrg if test /dev/null != "$cache_file" && test -f "$cache_file"; then 19515cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 19522ceb2653Smrg$as_echo "$as_me: loading cache $cache_file" >&6;} 1953b7d53ee5Smrg case $cache_file in 19542ceb2653Smrg [\\/]* | ?:[\\/]* ) . "$cache_file";; 19552ceb2653Smrg *) . "./$cache_file";; 1956b7d53ee5Smrg esac 1957b7d53ee5Smrg fi 1958b7d53ee5Smrgelse 19595cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 19602ceb2653Smrg$as_echo "$as_me: creating cache $cache_file" >&6;} 1961b7d53ee5Smrg >$cache_file 1962b7d53ee5Smrgfi 1963b7d53ee5Smrg 1964b7d53ee5Smrg# Check that the precious variables saved in the cache have kept the same 1965b7d53ee5Smrg# value. 1966b7d53ee5Smrgac_cache_corrupted=false 19672ceb2653Smrgfor ac_var in $ac_precious_vars; do 1968b7d53ee5Smrg eval ac_old_set=\$ac_cv_env_${ac_var}_set 1969b7d53ee5Smrg eval ac_new_set=\$ac_env_${ac_var}_set 19702ceb2653Smrg eval ac_old_val=\$ac_cv_env_${ac_var}_value 19712ceb2653Smrg eval ac_new_val=\$ac_env_${ac_var}_value 1972b7d53ee5Smrg case $ac_old_set,$ac_new_set in 1973b7d53ee5Smrg set,) 19745cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 19752ceb2653Smrg$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1976b7d53ee5Smrg ac_cache_corrupted=: ;; 1977b7d53ee5Smrg ,set) 19785cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 19792ceb2653Smrg$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1980b7d53ee5Smrg ac_cache_corrupted=: ;; 1981b7d53ee5Smrg ,);; 1982b7d53ee5Smrg *) 1983b7d53ee5Smrg if test "x$ac_old_val" != "x$ac_new_val"; then 19842ceb2653Smrg # differences in whitespace do not lead to failure. 19852ceb2653Smrg ac_old_val_w=`echo x $ac_old_val` 19862ceb2653Smrg ac_new_val_w=`echo x $ac_new_val` 19872ceb2653Smrg if test "$ac_old_val_w" != "$ac_new_val_w"; then 19885cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 19892ceb2653Smrg$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 19902ceb2653Smrg ac_cache_corrupted=: 19912ceb2653Smrg else 19925cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 19932ceb2653Smrg$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 19942ceb2653Smrg eval $ac_var=\$ac_old_val 19952ceb2653Smrg fi 19965cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 19972ceb2653Smrg$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 19985cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 19992ceb2653Smrg$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2000b7d53ee5Smrg fi;; 2001b7d53ee5Smrg esac 2002b7d53ee5Smrg # Pass precious variables to config.status. 2003b7d53ee5Smrg if test "$ac_new_set" = set; then 2004b7d53ee5Smrg case $ac_new_val in 20052ceb2653Smrg *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2006b7d53ee5Smrg *) ac_arg=$ac_var=$ac_new_val ;; 2007b7d53ee5Smrg esac 2008b7d53ee5Smrg case " $ac_configure_args " in 2009b7d53ee5Smrg *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 20105cf18391Smrg *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2011b7d53ee5Smrg esac 2012b7d53ee5Smrg fi 2013b7d53ee5Smrgdone 2014b7d53ee5Smrgif $ac_cache_corrupted; then 20155cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20162ceb2653Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20175cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 20182ceb2653Smrg$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 20195cf18391Smrg as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2020b7d53ee5Smrgfi 20215cf18391Smrg## -------------------- ## 20225cf18391Smrg## Main body of script. ## 20235cf18391Smrg## -------------------- ## 2024b7d53ee5Smrg 20252ceb2653Smrgac_ext=c 20262ceb2653Smrgac_cpp='$CPP $CPPFLAGS' 20272ceb2653Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 20282ceb2653Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 20292ceb2653Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 2030b7d53ee5Smrg 2031b7d53ee5Smrg 20322ceb2653Smrgam__api_version='1.11' 2033b7d53ee5Smrg 2034b7d53ee5Smrgac_aux_dir= 20352ceb2653Smrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 20362ceb2653Smrg if test -f "$ac_dir/install-sh"; then 2037b7d53ee5Smrg ac_aux_dir=$ac_dir 2038b7d53ee5Smrg ac_install_sh="$ac_aux_dir/install-sh -c" 2039b7d53ee5Smrg break 20402ceb2653Smrg elif test -f "$ac_dir/install.sh"; then 2041b7d53ee5Smrg ac_aux_dir=$ac_dir 2042b7d53ee5Smrg ac_install_sh="$ac_aux_dir/install.sh -c" 2043b7d53ee5Smrg break 20442ceb2653Smrg elif test -f "$ac_dir/shtool"; then 2045b7d53ee5Smrg ac_aux_dir=$ac_dir 2046b7d53ee5Smrg ac_install_sh="$ac_aux_dir/shtool install -c" 2047b7d53ee5Smrg break 2048b7d53ee5Smrg fi 2049b7d53ee5Smrgdone 2050b7d53ee5Smrgif test -z "$ac_aux_dir"; then 20515cf18391Smrg as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2052b7d53ee5Smrgfi 20532ceb2653Smrg 20542ceb2653Smrg# These three variables are undocumented and unsupported, 20552ceb2653Smrg# and are intended to be withdrawn in a future Autoconf release. 20562ceb2653Smrg# They can cause serious problems if a builder's source tree is in a directory 20572ceb2653Smrg# whose full name contains unusual characters. 20582ceb2653Smrgac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 20592ceb2653Smrgac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 20602ceb2653Smrgac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 20612ceb2653Smrg 2062b7d53ee5Smrg 2063b7d53ee5Smrg# Find a good install program. We prefer a C program (faster), 2064b7d53ee5Smrg# so one script is as good as another. But avoid the broken or 2065b7d53ee5Smrg# incompatible versions: 2066b7d53ee5Smrg# SysV /etc/install, /usr/sbin/install 2067b7d53ee5Smrg# SunOS /usr/etc/install 2068b7d53ee5Smrg# IRIX /sbin/install 2069b7d53ee5Smrg# AIX /bin/install 2070b7d53ee5Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs 2071b7d53ee5Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2072b7d53ee5Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2073b7d53ee5Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2074b7d53ee5Smrg# OS/2's system install, which has a completely different semantic 2075b7d53ee5Smrg# ./install, which can be erroneously created by make from ./install.sh. 20762ceb2653Smrg# Reject install programs that cannot install multiple files. 20775cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 20782ceb2653Smrg$as_echo_n "checking for a BSD-compatible install... " >&6; } 2079b7d53ee5Smrgif test -z "$INSTALL"; then 20805cf18391Smrgif ${ac_cv_path_install+:} false; then : 20812ceb2653Smrg $as_echo_n "(cached) " >&6 2082b7d53ee5Smrgelse 2083b7d53ee5Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2084b7d53ee5Smrgfor as_dir in $PATH 2085b7d53ee5Smrgdo 2086b7d53ee5Smrg IFS=$as_save_IFS 2087b7d53ee5Smrg test -z "$as_dir" && as_dir=. 20885cf18391Smrg # Account for people who put trailing slashes in PATH elements. 20895cf18391Smrgcase $as_dir/ in #(( 20905cf18391Smrg ./ | .// | /[cC]/* | \ 2091b7d53ee5Smrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 20925cf18391Smrg ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2093b7d53ee5Smrg /usr/ucb/* ) ;; 2094b7d53ee5Smrg *) 2095b7d53ee5Smrg # OSF1 and SCO ODT 3.0 have their own names for install. 2096b7d53ee5Smrg # Don't use installbsd from OSF since it installs stuff as root 2097b7d53ee5Smrg # by default. 2098b7d53ee5Smrg for ac_prog in ginstall scoinst install; do 2099b7d53ee5Smrg for ac_exec_ext in '' $ac_executable_extensions; do 21002ceb2653Smrg if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2101b7d53ee5Smrg if test $ac_prog = install && 2102b7d53ee5Smrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2103b7d53ee5Smrg # AIX install. It has an incompatible calling convention. 2104b7d53ee5Smrg : 2105b7d53ee5Smrg elif test $ac_prog = install && 2106b7d53ee5Smrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2107b7d53ee5Smrg # program-specific install script used by HP pwplus--don't use. 2108b7d53ee5Smrg : 2109b7d53ee5Smrg else 21102ceb2653Smrg rm -rf conftest.one conftest.two conftest.dir 21112ceb2653Smrg echo one > conftest.one 21122ceb2653Smrg echo two > conftest.two 21132ceb2653Smrg mkdir conftest.dir 21142ceb2653Smrg if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 21152ceb2653Smrg test -s conftest.one && test -s conftest.two && 21162ceb2653Smrg test -s conftest.dir/conftest.one && 21172ceb2653Smrg test -s conftest.dir/conftest.two 21182ceb2653Smrg then 21192ceb2653Smrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 21202ceb2653Smrg break 3 21212ceb2653Smrg fi 2122b7d53ee5Smrg fi 2123b7d53ee5Smrg fi 2124b7d53ee5Smrg done 2125b7d53ee5Smrg done 2126b7d53ee5Smrg ;; 2127b7d53ee5Smrgesac 21282ceb2653Smrg 21295cf18391Smrg done 21302ceb2653SmrgIFS=$as_save_IFS 2131b7d53ee5Smrg 21322ceb2653Smrgrm -rf conftest.one conftest.two conftest.dir 2133b7d53ee5Smrg 2134b7d53ee5Smrgfi 2135b7d53ee5Smrg if test "${ac_cv_path_install+set}" = set; then 2136b7d53ee5Smrg INSTALL=$ac_cv_path_install 2137b7d53ee5Smrg else 21382ceb2653Smrg # As a last resort, use the slow shell script. Don't cache a 21392ceb2653Smrg # value for INSTALL within a source directory, because that will 2140b7d53ee5Smrg # break other packages using the cache if that directory is 21412ceb2653Smrg # removed, or if the value is a relative name. 2142b7d53ee5Smrg INSTALL=$ac_install_sh 2143b7d53ee5Smrg fi 2144b7d53ee5Smrgfi 21455cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 21462ceb2653Smrg$as_echo "$INSTALL" >&6; } 2147b7d53ee5Smrg 2148b7d53ee5Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2149b7d53ee5Smrg# It thinks the first close brace ends the variable substitution. 2150b7d53ee5Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2151b7d53ee5Smrg 2152b7d53ee5Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2153b7d53ee5Smrg 2154b7d53ee5Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2155b7d53ee5Smrg 21565cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 21572ceb2653Smrg$as_echo_n "checking whether build environment is sane... " >&6; } 2158b7d53ee5Smrg# Just in case 2159b7d53ee5Smrgsleep 1 2160b7d53ee5Smrgecho timestamp > conftest.file 21612ceb2653Smrg# Reject unsafe characters in $srcdir or the absolute working directory 21622ceb2653Smrg# name. Accept space and tab only in the latter. 21632ceb2653Smrgam_lf=' 21642ceb2653Smrg' 21652ceb2653Smrgcase `pwd` in 21662ceb2653Smrg *[\\\"\#\$\&\'\`$am_lf]*) 21675cf18391Smrg as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 21682ceb2653Smrgesac 21692ceb2653Smrgcase $srcdir in 21702ceb2653Smrg *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 21715cf18391Smrg as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 21722ceb2653Smrgesac 21732ceb2653Smrg 2174b7d53ee5Smrg# Do `set' in a subshell so we don't clobber the current shell's 2175b7d53ee5Smrg# arguments. Must try -L first in case configure is actually a 2176b7d53ee5Smrg# symlink; some systems play weird games with the mod time of symlinks 2177b7d53ee5Smrg# (eg FreeBSD returns the mod time of the symlink's containing 2178b7d53ee5Smrg# directory). 2179b7d53ee5Smrgif ( 21802ceb2653Smrg set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2181b7d53ee5Smrg if test "$*" = "X"; then 2182b7d53ee5Smrg # -L didn't work. 21832ceb2653Smrg set X `ls -t "$srcdir/configure" conftest.file` 2184b7d53ee5Smrg fi 2185b7d53ee5Smrg rm -f conftest.file 2186b7d53ee5Smrg if test "$*" != "X $srcdir/configure conftest.file" \ 2187b7d53ee5Smrg && test "$*" != "X conftest.file $srcdir/configure"; then 2188b7d53ee5Smrg 2189b7d53ee5Smrg # If neither matched, then we have a broken ls. This can happen 2190b7d53ee5Smrg # if, for instance, CONFIG_SHELL is bash and it inherits a 2191b7d53ee5Smrg # broken ls alias from the environment. This has actually 2192b7d53ee5Smrg # happened. Such a system could not be considered "sane". 21935cf18391Smrg as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 21945cf18391Smrgalias in your environment" "$LINENO" 5 2195b7d53ee5Smrg fi 2196b7d53ee5Smrg 2197b7d53ee5Smrg test "$2" = conftest.file 2198b7d53ee5Smrg ) 2199b7d53ee5Smrgthen 2200b7d53ee5Smrg # Ok. 2201b7d53ee5Smrg : 2202b7d53ee5Smrgelse 22035cf18391Smrg as_fn_error $? "newly created file is older than distributed files! 22045cf18391SmrgCheck your system clock" "$LINENO" 5 2205b7d53ee5Smrgfi 22065cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 22072ceb2653Smrg$as_echo "yes" >&6; } 2208b7d53ee5Smrgtest "$program_prefix" != NONE && 22092ceb2653Smrg program_transform_name="s&^&$program_prefix&;$program_transform_name" 2210b7d53ee5Smrg# Use a double $ so make ignores it. 2211b7d53ee5Smrgtest "$program_suffix" != NONE && 22122ceb2653Smrg program_transform_name="s&\$&$program_suffix&;$program_transform_name" 22132ceb2653Smrg# Double any \ or $. 2214b7d53ee5Smrg# By default was `s,x,x', remove it if useless. 22152ceb2653Smrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 22162ceb2653Smrgprogram_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2217b7d53ee5Smrg 2218b7d53ee5Smrg# expand $ac_aux_dir to an absolute path 2219b7d53ee5Smrgam_aux_dir=`cd $ac_aux_dir && pwd` 2220b7d53ee5Smrg 22212ceb2653Smrgif test x"${MISSING+set}" != xset; then 22222ceb2653Smrg case $am_aux_dir in 22232ceb2653Smrg *\ * | *\ *) 22242ceb2653Smrg MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 22252ceb2653Smrg *) 22262ceb2653Smrg MISSING="\${SHELL} $am_aux_dir/missing" ;; 22272ceb2653Smrg esac 22282ceb2653Smrgfi 2229b7d53ee5Smrg# Use eval to expand $SHELL 2230b7d53ee5Smrgif eval "$MISSING --run true"; then 2231b7d53ee5Smrg am_missing_run="$MISSING --run " 2232b7d53ee5Smrgelse 2233b7d53ee5Smrg am_missing_run= 22345cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 22352ceb2653Smrg$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 22362ceb2653Smrgfi 22372ceb2653Smrg 22382ceb2653Smrgif test x"${install_sh}" != xset; then 22392ceb2653Smrg case $am_aux_dir in 22402ceb2653Smrg *\ * | *\ *) 22412ceb2653Smrg install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 22422ceb2653Smrg *) 22432ceb2653Smrg install_sh="\${SHELL} $am_aux_dir/install-sh" 22442ceb2653Smrg esac 22452ceb2653Smrgfi 22462ceb2653Smrg 22472ceb2653Smrg# Installed binaries are usually stripped using `strip' when the user 22482ceb2653Smrg# run `make install-strip'. However `strip' might not be the right 22492ceb2653Smrg# tool to use in cross-compilation environments, therefore Automake 22502ceb2653Smrg# will honor the `STRIP' environment variable to overrule this program. 22512ceb2653Smrgif test "$cross_compiling" != no; then 22522ceb2653Smrg if test -n "$ac_tool_prefix"; then 22532ceb2653Smrg # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 22542ceb2653Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2 22555cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22562ceb2653Smrg$as_echo_n "checking for $ac_word... " >&6; } 22575cf18391Smrgif ${ac_cv_prog_STRIP+:} false; then : 22582ceb2653Smrg $as_echo_n "(cached) " >&6 22592ceb2653Smrgelse 22602ceb2653Smrg if test -n "$STRIP"; then 22612ceb2653Smrg ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 22622ceb2653Smrgelse 22632ceb2653Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22642ceb2653Smrgfor as_dir in $PATH 22652ceb2653Smrgdo 22662ceb2653Smrg IFS=$as_save_IFS 22672ceb2653Smrg test -z "$as_dir" && as_dir=. 22685cf18391Smrg for ac_exec_ext in '' $ac_executable_extensions; do 22692ceb2653Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 22702ceb2653Smrg ac_cv_prog_STRIP="${ac_tool_prefix}strip" 22715cf18391Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 22722ceb2653Smrg break 2 22732ceb2653Smrg fi 22742ceb2653Smrgdone 22755cf18391Smrg done 22762ceb2653SmrgIFS=$as_save_IFS 22772ceb2653Smrg 22782ceb2653Smrgfi 22792ceb2653Smrgfi 22802ceb2653SmrgSTRIP=$ac_cv_prog_STRIP 22812ceb2653Smrgif test -n "$STRIP"; then 22825cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 22832ceb2653Smrg$as_echo "$STRIP" >&6; } 22842ceb2653Smrgelse 22855cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22862ceb2653Smrg$as_echo "no" >&6; } 22872ceb2653Smrgfi 22882ceb2653Smrg 22892ceb2653Smrg 22902ceb2653Smrgfi 22912ceb2653Smrgif test -z "$ac_cv_prog_STRIP"; then 22922ceb2653Smrg ac_ct_STRIP=$STRIP 22932ceb2653Smrg # Extract the first word of "strip", so it can be a program name with args. 22942ceb2653Smrgset dummy strip; ac_word=$2 22955cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22962ceb2653Smrg$as_echo_n "checking for $ac_word... " >&6; } 22975cf18391Smrgif ${ac_cv_prog_ac_ct_STRIP+:} false; then : 22982ceb2653Smrg $as_echo_n "(cached) " >&6 22992ceb2653Smrgelse 23002ceb2653Smrg if test -n "$ac_ct_STRIP"; then 23012ceb2653Smrg ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 23022ceb2653Smrgelse 23032ceb2653Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23042ceb2653Smrgfor as_dir in $PATH 23052ceb2653Smrgdo 23062ceb2653Smrg IFS=$as_save_IFS 23072ceb2653Smrg test -z "$as_dir" && as_dir=. 23085cf18391Smrg for ac_exec_ext in '' $ac_executable_extensions; do 23092ceb2653Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 23102ceb2653Smrg ac_cv_prog_ac_ct_STRIP="strip" 23115cf18391Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23122ceb2653Smrg break 2 23132ceb2653Smrg fi 23142ceb2653Smrgdone 23155cf18391Smrg done 23162ceb2653SmrgIFS=$as_save_IFS 23172ceb2653Smrg 23182ceb2653Smrgfi 23192ceb2653Smrgfi 23202ceb2653Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 23212ceb2653Smrgif test -n "$ac_ct_STRIP"; then 23225cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 23232ceb2653Smrg$as_echo "$ac_ct_STRIP" >&6; } 23242ceb2653Smrgelse 23255cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23262ceb2653Smrg$as_echo "no" >&6; } 23272ceb2653Smrgfi 23282ceb2653Smrg 23292ceb2653Smrg if test "x$ac_ct_STRIP" = x; then 23302ceb2653Smrg STRIP=":" 23312ceb2653Smrg else 23322ceb2653Smrg case $cross_compiling:$ac_tool_warned in 23332ceb2653Smrgyes:) 23345cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 23352ceb2653Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 23362ceb2653Smrgac_tool_warned=yes ;; 23372ceb2653Smrgesac 23382ceb2653Smrg STRIP=$ac_ct_STRIP 23392ceb2653Smrg fi 23402ceb2653Smrgelse 23412ceb2653Smrg STRIP="$ac_cv_prog_STRIP" 23422ceb2653Smrgfi 23432ceb2653Smrg 23442ceb2653Smrgfi 23452ceb2653SmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 23462ceb2653Smrg 23475cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 23482ceb2653Smrg$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 23492ceb2653Smrgif test -z "$MKDIR_P"; then 23505cf18391Smrg if ${ac_cv_path_mkdir+:} false; then : 23512ceb2653Smrg $as_echo_n "(cached) " >&6 23522ceb2653Smrgelse 23532ceb2653Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23542ceb2653Smrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 23552ceb2653Smrgdo 23562ceb2653Smrg IFS=$as_save_IFS 23572ceb2653Smrg test -z "$as_dir" && as_dir=. 23585cf18391Smrg for ac_prog in mkdir gmkdir; do 23592ceb2653Smrg for ac_exec_ext in '' $ac_executable_extensions; do 23602ceb2653Smrg { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 23612ceb2653Smrg case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 23622ceb2653Smrg 'mkdir (GNU coreutils) '* | \ 23632ceb2653Smrg 'mkdir (coreutils) '* | \ 23642ceb2653Smrg 'mkdir (fileutils) '4.1*) 23652ceb2653Smrg ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 23662ceb2653Smrg break 3;; 23672ceb2653Smrg esac 23682ceb2653Smrg done 23692ceb2653Smrg done 23705cf18391Smrg done 23712ceb2653SmrgIFS=$as_save_IFS 23722ceb2653Smrg 23732ceb2653Smrgfi 23742ceb2653Smrg 23755cf18391Smrg test -d ./--version && rmdir ./--version 23762ceb2653Smrg if test "${ac_cv_path_mkdir+set}" = set; then 23772ceb2653Smrg MKDIR_P="$ac_cv_path_mkdir -p" 23782ceb2653Smrg else 23792ceb2653Smrg # As a last resort, use the slow shell script. Don't cache a 23802ceb2653Smrg # value for MKDIR_P within a source directory, because that will 23812ceb2653Smrg # break other packages using the cache if that directory is 23822ceb2653Smrg # removed, or if the value is a relative name. 23832ceb2653Smrg MKDIR_P="$ac_install_sh -d" 23842ceb2653Smrg fi 2385b7d53ee5Smrgfi 23865cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 23872ceb2653Smrg$as_echo "$MKDIR_P" >&6; } 23882ceb2653Smrg 23892ceb2653Smrgmkdir_p="$MKDIR_P" 23902ceb2653Smrgcase $mkdir_p in 23912ceb2653Smrg [\\/$]* | ?:[\\/]*) ;; 23922ceb2653Smrg */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 23932ceb2653Smrgesac 2394b7d53ee5Smrg 2395b7d53ee5Smrgfor ac_prog in gawk mawk nawk awk 2396b7d53ee5Smrgdo 2397b7d53ee5Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 2398b7d53ee5Smrgset dummy $ac_prog; ac_word=$2 23995cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 24002ceb2653Smrg$as_echo_n "checking for $ac_word... " >&6; } 24015cf18391Smrgif ${ac_cv_prog_AWK+:} false; then : 24022ceb2653Smrg $as_echo_n "(cached) " >&6 2403b7d53ee5Smrgelse 2404b7d53ee5Smrg if test -n "$AWK"; then 2405b7d53ee5Smrg ac_cv_prog_AWK="$AWK" # Let the user override the test. 2406b7d53ee5Smrgelse 2407b7d53ee5Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2408b7d53ee5Smrgfor as_dir in $PATH 2409b7d53ee5Smrgdo 2410b7d53ee5Smrg IFS=$as_save_IFS 2411b7d53ee5Smrg test -z "$as_dir" && as_dir=. 24125cf18391Smrg for ac_exec_ext in '' $ac_executable_extensions; do 24132ceb2653Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2414b7d53ee5Smrg ac_cv_prog_AWK="$ac_prog" 24155cf18391Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2416b7d53ee5Smrg break 2 2417b7d53ee5Smrg fi 2418b7d53ee5Smrgdone 24195cf18391Smrg done 24202ceb2653SmrgIFS=$as_save_IFS 2421b7d53ee5Smrg 2422b7d53ee5Smrgfi 2423b7d53ee5Smrgfi 2424b7d53ee5SmrgAWK=$ac_cv_prog_AWK 2425b7d53ee5Smrgif test -n "$AWK"; then 24265cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 24272ceb2653Smrg$as_echo "$AWK" >&6; } 2428b7d53ee5Smrgelse 24295cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24302ceb2653Smrg$as_echo "no" >&6; } 2431b7d53ee5Smrgfi 2432b7d53ee5Smrg 24332ceb2653Smrg 2434b7d53ee5Smrg test -n "$AWK" && break 2435b7d53ee5Smrgdone 2436b7d53ee5Smrg 24375cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 24382ceb2653Smrg$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 24392ceb2653Smrgset x ${MAKE-make} 24402ceb2653Smrgac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 24415cf18391Smrgif eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 24422ceb2653Smrg $as_echo_n "(cached) " >&6 2443b7d53ee5Smrgelse 2444b7d53ee5Smrg cat >conftest.make <<\_ACEOF 24452ceb2653SmrgSHELL = /bin/sh 2446b7d53ee5Smrgall: 24472ceb2653Smrg @echo '@@@%%%=$(MAKE)=@@@%%%' 2448b7d53ee5Smrg_ACEOF 24495cf18391Smrg# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 24502ceb2653Smrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in 24512ceb2653Smrg *@@@%%%=?*=@@@%%%*) 24522ceb2653Smrg eval ac_cv_prog_make_${ac_make}_set=yes;; 24532ceb2653Smrg *) 24542ceb2653Smrg eval ac_cv_prog_make_${ac_make}_set=no;; 24552ceb2653Smrgesac 2456b7d53ee5Smrgrm -f conftest.make 2457b7d53ee5Smrgfi 24582ceb2653Smrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 24595cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24602ceb2653Smrg$as_echo "yes" >&6; } 2461b7d53ee5Smrg SET_MAKE= 2462b7d53ee5Smrgelse 24635cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24642ceb2653Smrg$as_echo "no" >&6; } 2465b7d53ee5Smrg SET_MAKE="MAKE=${MAKE-make}" 2466b7d53ee5Smrgfi 2467b7d53ee5Smrg 2468b7d53ee5Smrgrm -rf .tst 2>/dev/null 2469b7d53ee5Smrgmkdir .tst 2>/dev/null 2470b7d53ee5Smrgif test -d .tst; then 2471b7d53ee5Smrg am__leading_dot=. 2472b7d53ee5Smrgelse 2473b7d53ee5Smrg am__leading_dot=_ 2474b7d53ee5Smrgfi 2475b7d53ee5Smrgrmdir .tst 2>/dev/null 2476b7d53ee5Smrg 24772ceb2653Smrgif test "`cd $srcdir && pwd`" != "`pwd`"; then 24782ceb2653Smrg # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 24792ceb2653Smrg # is not polluted with repeated "-I." 24802ceb2653Smrg am__isrc=' -I$(srcdir)' 24812ceb2653Smrg # test to see if srcdir already configured 24822ceb2653Smrg if test -f $srcdir/config.status; then 24835cf18391Smrg as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 24842ceb2653Smrg fi 2485b7d53ee5Smrgfi 2486b7d53ee5Smrg 2487b7d53ee5Smrg# test whether we have cygpath 2488b7d53ee5Smrgif test -z "$CYGPATH_W"; then 2489b7d53ee5Smrg if (cygpath --version) >/dev/null 2>/dev/null; then 2490b7d53ee5Smrg CYGPATH_W='cygpath -w' 2491b7d53ee5Smrg else 2492b7d53ee5Smrg CYGPATH_W=echo 2493b7d53ee5Smrg fi 2494b7d53ee5Smrgfi 2495b7d53ee5Smrg 2496b7d53ee5Smrg 2497b7d53ee5Smrg# Define the identity of the package. 2498b7d53ee5Smrg PACKAGE='font-dec-misc' 24995cf18391Smrg VERSION='1.0.3' 2500b7d53ee5Smrg 2501b7d53ee5Smrg 2502b7d53ee5Smrgcat >>confdefs.h <<_ACEOF 2503b7d53ee5Smrg#define PACKAGE "$PACKAGE" 2504b7d53ee5Smrg_ACEOF 2505b7d53ee5Smrg 2506b7d53ee5Smrg 2507b7d53ee5Smrgcat >>confdefs.h <<_ACEOF 2508b7d53ee5Smrg#define VERSION "$VERSION" 2509b7d53ee5Smrg_ACEOF 2510b7d53ee5Smrg 2511b7d53ee5Smrg# Some tools Automake needs. 2512b7d53ee5Smrg 2513b7d53ee5SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2514b7d53ee5Smrg 2515b7d53ee5Smrg 2516b7d53ee5SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2517b7d53ee5Smrg 2518b7d53ee5Smrg 2519b7d53ee5SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2520b7d53ee5Smrg 2521b7d53ee5Smrg 2522b7d53ee5SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2523b7d53ee5Smrg 2524b7d53ee5Smrg 2525b7d53ee5SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2526b7d53ee5Smrg 25272ceb2653Smrg# We need awk for the "check" target. The system "awk" is bad on 25282ceb2653Smrg# some platforms. 25292ceb2653Smrg# Always define AMTAR for backward compatibility. 2530b7d53ee5Smrg 2531b7d53ee5SmrgAMTAR=${AMTAR-"${am_missing_run}tar"} 2532b7d53ee5Smrg 25332ceb2653Smrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2534b7d53ee5Smrg 25352ceb2653Smrg 25362ceb2653Smrg 25372ceb2653Smrg 25382ceb2653Smrg 25392ceb2653Smrg 25405cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 25412ceb2653Smrg$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 25422ceb2653Smrg # Check whether --enable-maintainer-mode was given. 25435cf18391Smrgif test "${enable_maintainer_mode+set}" = set; then : 25442ceb2653Smrg enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2545b7d53ee5Smrgelse 25462ceb2653Smrg USE_MAINTAINER_MODE=no 25472ceb2653Smrgfi 25482ceb2653Smrg 25495cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 25502ceb2653Smrg$as_echo "$USE_MAINTAINER_MODE" >&6; } 25512ceb2653Smrg if test $USE_MAINTAINER_MODE = yes; then 25522ceb2653Smrg MAINTAINER_MODE_TRUE= 25532ceb2653Smrg MAINTAINER_MODE_FALSE='#' 25542ceb2653Smrgelse 25552ceb2653Smrg MAINTAINER_MODE_TRUE='#' 25562ceb2653Smrg MAINTAINER_MODE_FALSE= 25572ceb2653Smrgfi 25582ceb2653Smrg 25592ceb2653Smrg MAINT=$MAINTAINER_MODE_TRUE 25602ceb2653Smrg 25612ceb2653Smrg 25622ceb2653Smrg 25632ceb2653Smrg# Require xorg-macros: XORG_DEFAULT_OPTIONS 25642ceb2653Smrg 25652ceb2653Smrg 25662ceb2653Smrg 25672ceb2653Smrg 25682ceb2653Smrg 25692ceb2653Smrg 25702ceb2653Smrg 25712ceb2653Smrg 25722ceb2653Smrg 25732ceb2653Smrg 25742ceb2653Smrg 25752ceb2653SmrgDEPDIR="${am__leading_dot}deps" 25762ceb2653Smrg 25772ceb2653Smrgac_config_commands="$ac_config_commands depfiles" 25782ceb2653Smrg 25792ceb2653Smrg 25802ceb2653Smrgam_make=${MAKE-make} 25812ceb2653Smrgcat > confinc << 'END' 25822ceb2653Smrgam__doit: 25832ceb2653Smrg @echo this is the am__doit target 25842ceb2653Smrg.PHONY: am__doit 25852ceb2653SmrgEND 25862ceb2653Smrg# If we don't find an include directive, just comment out the code. 25875cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 25882ceb2653Smrg$as_echo_n "checking for style of include used by $am_make... " >&6; } 25892ceb2653Smrgam__include="#" 25902ceb2653Smrgam__quote= 25912ceb2653Smrg_am_result=none 25922ceb2653Smrg# First try GNU make style include. 25932ceb2653Smrgecho "include confinc" > confmf 25942ceb2653Smrg# Ignore all kinds of additional output from `make'. 25952ceb2653Smrgcase `$am_make -s -f confmf 2> /dev/null` in #( 25962ceb2653Smrg*the\ am__doit\ target*) 25972ceb2653Smrg am__include=include 25982ceb2653Smrg am__quote= 25992ceb2653Smrg _am_result=GNU 26002ceb2653Smrg ;; 26012ceb2653Smrgesac 26022ceb2653Smrg# Now try BSD make style include. 26032ceb2653Smrgif test "$am__include" = "#"; then 26042ceb2653Smrg echo '.include "confinc"' > confmf 26052ceb2653Smrg case `$am_make -s -f confmf 2> /dev/null` in #( 26062ceb2653Smrg *the\ am__doit\ target*) 26072ceb2653Smrg am__include=.include 26082ceb2653Smrg am__quote="\"" 26092ceb2653Smrg _am_result=BSD 26102ceb2653Smrg ;; 26112ceb2653Smrg esac 26122ceb2653Smrgfi 26132ceb2653Smrg 26142ceb2653Smrg 26155cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 26162ceb2653Smrg$as_echo "$_am_result" >&6; } 26172ceb2653Smrgrm -f confinc confmf 26182ceb2653Smrg 26192ceb2653Smrg# Check whether --enable-dependency-tracking was given. 26205cf18391Smrgif test "${enable_dependency_tracking+set}" = set; then : 26212ceb2653Smrg enableval=$enable_dependency_tracking; 26222ceb2653Smrgfi 26232ceb2653Smrg 26242ceb2653Smrgif test "x$enable_dependency_tracking" != xno; then 26252ceb2653Smrg am_depcomp="$ac_aux_dir/depcomp" 26262ceb2653Smrg AMDEPBACKSLASH='\' 26272ceb2653Smrgfi 26282ceb2653Smrg if test "x$enable_dependency_tracking" != xno; then 26292ceb2653Smrg AMDEP_TRUE= 26302ceb2653Smrg AMDEP_FALSE='#' 26312ceb2653Smrgelse 26322ceb2653Smrg AMDEP_TRUE='#' 26332ceb2653Smrg AMDEP_FALSE= 26342ceb2653Smrgfi 26352ceb2653Smrg 26362ceb2653Smrg 26372ceb2653Smrgac_ext=c 26382ceb2653Smrgac_cpp='$CPP $CPPFLAGS' 26392ceb2653Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 26402ceb2653Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 26412ceb2653Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 26422ceb2653Smrgif test -n "$ac_tool_prefix"; then 26432ceb2653Smrg # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 26442ceb2653Smrgset dummy ${ac_tool_prefix}gcc; ac_word=$2 26455cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 26462ceb2653Smrg$as_echo_n "checking for $ac_word... " >&6; } 26475cf18391Smrgif ${ac_cv_prog_CC+:} false; then : 26482ceb2653Smrg $as_echo_n "(cached) " >&6 26492ceb2653Smrgelse 26502ceb2653Smrg if test -n "$CC"; then 26512ceb2653Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 2652b7d53ee5Smrgelse 2653b7d53ee5Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2654b7d53ee5Smrgfor as_dir in $PATH 2655b7d53ee5Smrgdo 2656b7d53ee5Smrg IFS=$as_save_IFS 2657b7d53ee5Smrg test -z "$as_dir" && as_dir=. 26585cf18391Smrg for ac_exec_ext in '' $ac_executable_extensions; do 26592ceb2653Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 26602ceb2653Smrg ac_cv_prog_CC="${ac_tool_prefix}gcc" 26615cf18391Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2662b7d53ee5Smrg break 2 2663b7d53ee5Smrg fi 2664b7d53ee5Smrgdone 26655cf18391Smrg done 26662ceb2653SmrgIFS=$as_save_IFS 2667b7d53ee5Smrg 2668b7d53ee5Smrgfi 2669b7d53ee5Smrgfi 26702ceb2653SmrgCC=$ac_cv_prog_CC 26712ceb2653Smrgif test -n "$CC"; then 26725cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 26732ceb2653Smrg$as_echo "$CC" >&6; } 2674b7d53ee5Smrgelse 26755cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26762ceb2653Smrg$as_echo "no" >&6; } 2677b7d53ee5Smrgfi 2678b7d53ee5Smrg 26792ceb2653Smrg 2680b7d53ee5Smrgfi 26812ceb2653Smrgif test -z "$ac_cv_prog_CC"; then 26822ceb2653Smrg ac_ct_CC=$CC 26832ceb2653Smrg # Extract the first word of "gcc", so it can be a program name with args. 26842ceb2653Smrgset dummy gcc; ac_word=$2 26855cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 26862ceb2653Smrg$as_echo_n "checking for $ac_word... " >&6; } 26875cf18391Smrgif ${ac_cv_prog_ac_ct_CC+:} false; then : 26882ceb2653Smrg $as_echo_n "(cached) " >&6 2689b7d53ee5Smrgelse 26902ceb2653Smrg if test -n "$ac_ct_CC"; then 26912ceb2653Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2692b7d53ee5Smrgelse 2693b7d53ee5Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2694b7d53ee5Smrgfor as_dir in $PATH 2695b7d53ee5Smrgdo 2696b7d53ee5Smrg IFS=$as_save_IFS 2697b7d53ee5Smrg test -z "$as_dir" && as_dir=. 26985cf18391Smrg for ac_exec_ext in '' $ac_executable_extensions; do 26992ceb2653Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 27002ceb2653Smrg ac_cv_prog_ac_ct_CC="gcc" 27015cf18391Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2702b7d53ee5Smrg break 2 2703b7d53ee5Smrg fi 2704b7d53ee5Smrgdone 27055cf18391Smrg done 27062ceb2653SmrgIFS=$as_save_IFS 2707b7d53ee5Smrg 2708b7d53ee5Smrgfi 2709b7d53ee5Smrgfi 27102ceb2653Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 27112ceb2653Smrgif test -n "$ac_ct_CC"; then 27125cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 27132ceb2653Smrg$as_echo "$ac_ct_CC" >&6; } 2714b7d53ee5Smrgelse 27155cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27162ceb2653Smrg$as_echo "no" >&6; } 2717b7d53ee5Smrgfi 2718b7d53ee5Smrg 27192ceb2653Smrg if test "x$ac_ct_CC" = x; then 27202ceb2653Smrg CC="" 27212ceb2653Smrg else 27222ceb2653Smrg case $cross_compiling:$ac_tool_warned in 27232ceb2653Smrgyes:) 27245cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 27252ceb2653Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 27262ceb2653Smrgac_tool_warned=yes ;; 27272ceb2653Smrgesac 27282ceb2653Smrg CC=$ac_ct_CC 27292ceb2653Smrg fi 2730b7d53ee5Smrgelse 27312ceb2653Smrg CC="$ac_cv_prog_CC" 2732b7d53ee5Smrgfi 2733b7d53ee5Smrg 27342ceb2653Smrgif test -z "$CC"; then 27352ceb2653Smrg if test -n "$ac_tool_prefix"; then 27362ceb2653Smrg # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 27372ceb2653Smrgset dummy ${ac_tool_prefix}cc; ac_word=$2 27385cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 27392ceb2653Smrg$as_echo_n "checking for $ac_word... " >&6; } 27405cf18391Smrgif ${ac_cv_prog_CC+:} false; then : 27412ceb2653Smrg $as_echo_n "(cached) " >&6 2742b7d53ee5Smrgelse 27432ceb2653Smrg if test -n "$CC"; then 27442ceb2653Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 27452ceb2653Smrgelse 27462ceb2653Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 27472ceb2653Smrgfor as_dir in $PATH 27482ceb2653Smrgdo 27492ceb2653Smrg IFS=$as_save_IFS 27502ceb2653Smrg test -z "$as_dir" && as_dir=. 27515cf18391Smrg for ac_exec_ext in '' $ac_executable_extensions; do 27522ceb2653Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 27532ceb2653Smrg ac_cv_prog_CC="${ac_tool_prefix}cc" 27545cf18391Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 27552ceb2653Smrg break 2 27562ceb2653Smrg fi 27572ceb2653Smrgdone 27585cf18391Smrg done 27592ceb2653SmrgIFS=$as_save_IFS 27602ceb2653Smrg 27612ceb2653Smrgfi 27622ceb2653Smrgfi 27632ceb2653SmrgCC=$ac_cv_prog_CC 27642ceb2653Smrgif test -n "$CC"; then 27655cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 27662ceb2653Smrg$as_echo "$CC" >&6; } 27672ceb2653Smrgelse 27685cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27692ceb2653Smrg$as_echo "no" >&6; } 27702ceb2653Smrgfi 27712ceb2653Smrg 27722ceb2653Smrg 27732ceb2653Smrg fi 27742ceb2653Smrgfi 27752ceb2653Smrgif test -z "$CC"; then 27762ceb2653Smrg # Extract the first word of "cc", so it can be a program name with args. 27772ceb2653Smrgset dummy cc; ac_word=$2 27785cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 27792ceb2653Smrg$as_echo_n "checking for $ac_word... " >&6; } 27805cf18391Smrgif ${ac_cv_prog_CC+:} false; then : 27812ceb2653Smrg $as_echo_n "(cached) " >&6 27822ceb2653Smrgelse 27832ceb2653Smrg if test -n "$CC"; then 27842ceb2653Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 27852ceb2653Smrgelse 27862ceb2653Smrg ac_prog_rejected=no 27872ceb2653Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 27882ceb2653Smrgfor as_dir in $PATH 27892ceb2653Smrgdo 27902ceb2653Smrg IFS=$as_save_IFS 27912ceb2653Smrg test -z "$as_dir" && as_dir=. 27925cf18391Smrg for ac_exec_ext in '' $ac_executable_extensions; do 27932ceb2653Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 27942ceb2653Smrg if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 27952ceb2653Smrg ac_prog_rejected=yes 27962ceb2653Smrg continue 27972ceb2653Smrg fi 27982ceb2653Smrg ac_cv_prog_CC="cc" 27995cf18391Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 28002ceb2653Smrg break 2 28012ceb2653Smrg fi 28022ceb2653Smrgdone 28035cf18391Smrg done 28042ceb2653SmrgIFS=$as_save_IFS 28052ceb2653Smrg 28062ceb2653Smrgif test $ac_prog_rejected = yes; then 28072ceb2653Smrg # We found a bogon in the path, so make sure we never use it. 28082ceb2653Smrg set dummy $ac_cv_prog_CC 28092ceb2653Smrg shift 28102ceb2653Smrg if test $# != 0; then 28112ceb2653Smrg # We chose a different compiler from the bogus one. 28122ceb2653Smrg # However, it has the same basename, so the bogon will be chosen 28132ceb2653Smrg # first if we set CC to just the basename; use the full file name. 28142ceb2653Smrg shift 28152ceb2653Smrg ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 28162ceb2653Smrg fi 28172ceb2653Smrgfi 28182ceb2653Smrgfi 28192ceb2653Smrgfi 28202ceb2653SmrgCC=$ac_cv_prog_CC 28212ceb2653Smrgif test -n "$CC"; then 28225cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 28232ceb2653Smrg$as_echo "$CC" >&6; } 28242ceb2653Smrgelse 28255cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28262ceb2653Smrg$as_echo "no" >&6; } 28272ceb2653Smrgfi 28282ceb2653Smrg 28292ceb2653Smrg 28302ceb2653Smrgfi 28312ceb2653Smrgif test -z "$CC"; then 28322ceb2653Smrg if test -n "$ac_tool_prefix"; then 28332ceb2653Smrg for ac_prog in cl.exe 28342ceb2653Smrg do 28352ceb2653Smrg # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 28362ceb2653Smrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2 28375cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 28382ceb2653Smrg$as_echo_n "checking for $ac_word... " >&6; } 28395cf18391Smrgif ${ac_cv_prog_CC+:} false; then : 28402ceb2653Smrg $as_echo_n "(cached) " >&6 28412ceb2653Smrgelse 28422ceb2653Smrg if test -n "$CC"; then 28432ceb2653Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 28442ceb2653Smrgelse 28452ceb2653Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 28462ceb2653Smrgfor as_dir in $PATH 28472ceb2653Smrgdo 28482ceb2653Smrg IFS=$as_save_IFS 28492ceb2653Smrg test -z "$as_dir" && as_dir=. 28505cf18391Smrg for ac_exec_ext in '' $ac_executable_extensions; do 28512ceb2653Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 28522ceb2653Smrg ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 28535cf18391Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 28542ceb2653Smrg break 2 28552ceb2653Smrg fi 28562ceb2653Smrgdone 28575cf18391Smrg done 28582ceb2653SmrgIFS=$as_save_IFS 28592ceb2653Smrg 28602ceb2653Smrgfi 28612ceb2653Smrgfi 28622ceb2653SmrgCC=$ac_cv_prog_CC 28632ceb2653Smrgif test -n "$CC"; then 28645cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 28652ceb2653Smrg$as_echo "$CC" >&6; } 28662ceb2653Smrgelse 28675cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28682ceb2653Smrg$as_echo "no" >&6; } 28692ceb2653Smrgfi 28702ceb2653Smrg 28712ceb2653Smrg 28722ceb2653Smrg test -n "$CC" && break 28732ceb2653Smrg done 28742ceb2653Smrgfi 28752ceb2653Smrgif test -z "$CC"; then 28762ceb2653Smrg ac_ct_CC=$CC 28772ceb2653Smrg for ac_prog in cl.exe 28782ceb2653Smrgdo 28792ceb2653Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 28802ceb2653Smrgset dummy $ac_prog; ac_word=$2 28815cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 28822ceb2653Smrg$as_echo_n "checking for $ac_word... " >&6; } 28835cf18391Smrgif ${ac_cv_prog_ac_ct_CC+:} false; then : 28842ceb2653Smrg $as_echo_n "(cached) " >&6 28852ceb2653Smrgelse 28862ceb2653Smrg if test -n "$ac_ct_CC"; then 28872ceb2653Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 28882ceb2653Smrgelse 28892ceb2653Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 28902ceb2653Smrgfor as_dir in $PATH 28912ceb2653Smrgdo 28922ceb2653Smrg IFS=$as_save_IFS 28932ceb2653Smrg test -z "$as_dir" && as_dir=. 28945cf18391Smrg for ac_exec_ext in '' $ac_executable_extensions; do 28952ceb2653Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 28962ceb2653Smrg ac_cv_prog_ac_ct_CC="$ac_prog" 28975cf18391Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 28982ceb2653Smrg break 2 28992ceb2653Smrg fi 29002ceb2653Smrgdone 29015cf18391Smrg done 29022ceb2653SmrgIFS=$as_save_IFS 29032ceb2653Smrg 29042ceb2653Smrgfi 29052ceb2653Smrgfi 29062ceb2653Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 29072ceb2653Smrgif test -n "$ac_ct_CC"; then 29085cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 29092ceb2653Smrg$as_echo "$ac_ct_CC" >&6; } 29102ceb2653Smrgelse 29115cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 29122ceb2653Smrg$as_echo "no" >&6; } 29132ceb2653Smrgfi 29142ceb2653Smrg 29152ceb2653Smrg 29162ceb2653Smrg test -n "$ac_ct_CC" && break 29172ceb2653Smrgdone 29182ceb2653Smrg 29192ceb2653Smrg if test "x$ac_ct_CC" = x; then 29202ceb2653Smrg CC="" 29212ceb2653Smrg else 29222ceb2653Smrg case $cross_compiling:$ac_tool_warned in 29232ceb2653Smrgyes:) 29245cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 29252ceb2653Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 29262ceb2653Smrgac_tool_warned=yes ;; 29272ceb2653Smrgesac 29282ceb2653Smrg CC=$ac_ct_CC 29292ceb2653Smrg fi 29302ceb2653Smrgfi 29312ceb2653Smrg 29322ceb2653Smrgfi 29332ceb2653Smrg 29342ceb2653Smrg 29355cf18391Smrgtest -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 29362ceb2653Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 29375cf18391Smrgas_fn_error $? "no acceptable C compiler found in \$PATH 29385cf18391SmrgSee \`config.log' for more details" "$LINENO" 5; } 29392ceb2653Smrg 29402ceb2653Smrg# Provide some information about the compiler. 29415cf18391Smrg$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 29422ceb2653Smrgset X $ac_compile 29432ceb2653Smrgac_compiler=$2 29445cf18391Smrgfor ac_option in --version -v -V -qversion; do 29455cf18391Smrg { { ac_try="$ac_compiler $ac_option >&5" 29462ceb2653Smrgcase "(($ac_try" in 29472ceb2653Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 29482ceb2653Smrg *) ac_try_echo=$ac_try;; 29492ceb2653Smrgesac 29505cf18391Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 29515cf18391Smrg$as_echo "$ac_try_echo"; } >&5 29525cf18391Smrg (eval "$ac_compiler $ac_option >&5") 2>conftest.err 29532ceb2653Smrg ac_status=$? 29545cf18391Smrg if test -s conftest.err; then 29555cf18391Smrg sed '10a\ 29565cf18391Smrg... rest of stderr output deleted ... 29575cf18391Smrg 10q' conftest.err >conftest.er1 29585cf18391Smrg cat conftest.er1 >&5 29595cf18391Smrg fi 29605cf18391Smrg rm -f conftest.er1 conftest.err 29615cf18391Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 29625cf18391Smrg test $ac_status = 0; } 29635cf18391Smrgdone 29642ceb2653Smrg 29655cf18391Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 29662ceb2653Smrg/* end confdefs.h. */ 29672ceb2653Smrg 29682ceb2653Smrgint 29692ceb2653Smrgmain () 29702ceb2653Smrg{ 29712ceb2653Smrg 29722ceb2653Smrg ; 29732ceb2653Smrg return 0; 29742ceb2653Smrg} 29752ceb2653Smrg_ACEOF 29762ceb2653Smrgac_clean_files_save=$ac_clean_files 29772ceb2653Smrgac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 29782ceb2653Smrg# Try to create an executable without -o first, disregard a.out. 29792ceb2653Smrg# It will help us diagnose broken compilers, and finding out an intuition 29802ceb2653Smrg# of exeext. 29815cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 29825cf18391Smrg$as_echo_n "checking whether the C compiler works... " >&6; } 29832ceb2653Smrgac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 29842ceb2653Smrg 29852ceb2653Smrg# The possible output files: 29862ceb2653Smrgac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 29872ceb2653Smrg 29882ceb2653Smrgac_rmfiles= 29892ceb2653Smrgfor ac_file in $ac_files 29902ceb2653Smrgdo 29912ceb2653Smrg case $ac_file in 29922ceb2653Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 29932ceb2653Smrg * ) ac_rmfiles="$ac_rmfiles $ac_file";; 29942ceb2653Smrg esac 29952ceb2653Smrgdone 29962ceb2653Smrgrm -f $ac_rmfiles 29972ceb2653Smrg 29985cf18391Smrgif { { ac_try="$ac_link_default" 29992ceb2653Smrgcase "(($ac_try" in 30002ceb2653Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 30012ceb2653Smrg *) ac_try_echo=$ac_try;; 30022ceb2653Smrgesac 30035cf18391Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 30045cf18391Smrg$as_echo "$ac_try_echo"; } >&5 30052ceb2653Smrg (eval "$ac_link_default") 2>&5 30062ceb2653Smrg ac_status=$? 30075cf18391Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 30085cf18391Smrg test $ac_status = 0; }; then : 30092ceb2653Smrg # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 30102ceb2653Smrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 30112ceb2653Smrg# in a Makefile. We should not override ac_cv_exeext if it was cached, 30122ceb2653Smrg# so that the user can short-circuit this test for compilers unknown to 30132ceb2653Smrg# Autoconf. 30142ceb2653Smrgfor ac_file in $ac_files '' 30152ceb2653Smrgdo 30162ceb2653Smrg test -f "$ac_file" || continue 30172ceb2653Smrg case $ac_file in 30182ceb2653Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 30192ceb2653Smrg ;; 30202ceb2653Smrg [ab].out ) 30212ceb2653Smrg # We found the default executable, but exeext='' is most 30222ceb2653Smrg # certainly right. 30232ceb2653Smrg break;; 30242ceb2653Smrg *.* ) 30255cf18391Smrg if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 30262ceb2653Smrg then :; else 30272ceb2653Smrg ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 30282ceb2653Smrg fi 30292ceb2653Smrg # We set ac_cv_exeext here because the later test for it is not 30302ceb2653Smrg # safe: cross compilers may not add the suffix if given an `-o' 30312ceb2653Smrg # argument, so we may need to know it at that point already. 30322ceb2653Smrg # Even if this section looks crufty: it has the advantage of 30332ceb2653Smrg # actually working. 30342ceb2653Smrg break;; 30352ceb2653Smrg * ) 30362ceb2653Smrg break;; 30372ceb2653Smrg esac 30382ceb2653Smrgdone 30392ceb2653Smrgtest "$ac_cv_exeext" = no && ac_cv_exeext= 30402ceb2653Smrg 30412ceb2653Smrgelse 30422ceb2653Smrg ac_file='' 30432ceb2653Smrgfi 30445cf18391Smrgif test -z "$ac_file"; then : 30455cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 30465cf18391Smrg$as_echo "no" >&6; } 30475cf18391Smrg$as_echo "$as_me: failed program was:" >&5 30482ceb2653Smrgsed 's/^/| /' conftest.$ac_ext >&5 30492ceb2653Smrg 30505cf18391Smrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 30512ceb2653Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 30525cf18391Smrgas_fn_error 77 "C compiler cannot create executables 30535cf18391SmrgSee \`config.log' for more details" "$LINENO" 5; } 30545cf18391Smrgelse 30555cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 30565cf18391Smrg$as_echo "yes" >&6; } 30572ceb2653Smrgfi 30585cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 30595cf18391Smrg$as_echo_n "checking for C compiler default output file name... " >&6; } 30605cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 30615cf18391Smrg$as_echo "$ac_file" >&6; } 30622ceb2653Smrgac_exeext=$ac_cv_exeext 30632ceb2653Smrg 30642ceb2653Smrgrm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 30652ceb2653Smrgac_clean_files=$ac_clean_files_save 30665cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 30672ceb2653Smrg$as_echo_n "checking for suffix of executables... " >&6; } 30685cf18391Smrgif { { ac_try="$ac_link" 30692ceb2653Smrgcase "(($ac_try" in 30702ceb2653Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 30712ceb2653Smrg *) ac_try_echo=$ac_try;; 30722ceb2653Smrgesac 30735cf18391Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 30745cf18391Smrg$as_echo "$ac_try_echo"; } >&5 30752ceb2653Smrg (eval "$ac_link") 2>&5 30762ceb2653Smrg ac_status=$? 30775cf18391Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 30785cf18391Smrg test $ac_status = 0; }; then : 30792ceb2653Smrg # If both `conftest.exe' and `conftest' are `present' (well, observable) 30802ceb2653Smrg# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 30812ceb2653Smrg# work properly (i.e., refer to `conftest.exe'), while it won't with 30822ceb2653Smrg# `rm'. 30832ceb2653Smrgfor ac_file in conftest.exe conftest conftest.*; do 30842ceb2653Smrg test -f "$ac_file" || continue 30852ceb2653Smrg case $ac_file in 30862ceb2653Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 30872ceb2653Smrg *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 30882ceb2653Smrg break;; 30892ceb2653Smrg * ) break;; 30902ceb2653Smrg esac 30912ceb2653Smrgdone 30922ceb2653Smrgelse 30935cf18391Smrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 30942ceb2653Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 30955cf18391Smrgas_fn_error $? "cannot compute suffix of executables: cannot compile and link 30965cf18391SmrgSee \`config.log' for more details" "$LINENO" 5; } 30972ceb2653Smrgfi 30985cf18391Smrgrm -f conftest conftest$ac_cv_exeext 30995cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 31002ceb2653Smrg$as_echo "$ac_cv_exeext" >&6; } 31012ceb2653Smrg 31022ceb2653Smrgrm -f conftest.$ac_ext 31032ceb2653SmrgEXEEXT=$ac_cv_exeext 31042ceb2653Smrgac_exeext=$EXEEXT 31055cf18391Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 31062ceb2653Smrg/* end confdefs.h. */ 31075cf18391Smrg#include <stdio.h> 31082ceb2653Smrgint 31092ceb2653Smrgmain () 31102ceb2653Smrg{ 31115cf18391SmrgFILE *f = fopen ("conftest.out", "w"); 31125cf18391Smrg return ferror (f) || fclose (f) != 0; 31132ceb2653Smrg 31142ceb2653Smrg ; 31152ceb2653Smrg return 0; 31162ceb2653Smrg} 31172ceb2653Smrg_ACEOF 31185cf18391Smrgac_clean_files="$ac_clean_files conftest.out" 31195cf18391Smrg# Check that the compiler produces executables we can run. If not, either 31205cf18391Smrg# the compiler is broken, or we cross compile. 31215cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 31225cf18391Smrg$as_echo_n "checking whether we are cross compiling... " >&6; } 31235cf18391Smrgif test "$cross_compiling" != yes; then 31245cf18391Smrg { { ac_try="$ac_link" 31252ceb2653Smrgcase "(($ac_try" in 31262ceb2653Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 31272ceb2653Smrg *) ac_try_echo=$ac_try;; 31282ceb2653Smrgesac 31295cf18391Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 31305cf18391Smrg$as_echo "$ac_try_echo"; } >&5 31315cf18391Smrg (eval "$ac_link") 2>&5 31322ceb2653Smrg ac_status=$? 31335cf18391Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 31345cf18391Smrg test $ac_status = 0; } 31355cf18391Smrg if { ac_try='./conftest$ac_cv_exeext' 31365cf18391Smrg { { case "(($ac_try" in 31375cf18391Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 31385cf18391Smrg *) ac_try_echo=$ac_try;; 31395cf18391Smrgesac 31405cf18391Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 31415cf18391Smrg$as_echo "$ac_try_echo"; } >&5 31425cf18391Smrg (eval "$ac_try") 2>&5 31435cf18391Smrg ac_status=$? 31445cf18391Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 31455cf18391Smrg test $ac_status = 0; }; }; then 31465cf18391Smrg cross_compiling=no 31475cf18391Smrg else 31485cf18391Smrg if test "$cross_compiling" = maybe; then 31495cf18391Smrg cross_compiling=yes 31505cf18391Smrg else 31515cf18391Smrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 31525cf18391Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 31535cf18391Smrgas_fn_error $? "cannot run C compiled programs. 31545cf18391SmrgIf you meant to cross compile, use \`--host'. 31555cf18391SmrgSee \`config.log' for more details" "$LINENO" 5; } 31565cf18391Smrg fi 31575cf18391Smrg fi 31582ceb2653Smrgfi 31595cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 31605cf18391Smrg$as_echo "$cross_compiling" >&6; } 31615cf18391Smrg 31625cf18391Smrgrm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 31635cf18391Smrgac_clean_files=$ac_clean_files_save 31645cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 31655cf18391Smrg$as_echo_n "checking for suffix of object files... " >&6; } 31665cf18391Smrgif ${ac_cv_objext+:} false; then : 31675cf18391Smrg $as_echo_n "(cached) " >&6 31685cf18391Smrgelse 31695cf18391Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31705cf18391Smrg/* end confdefs.h. */ 31715cf18391Smrg 31725cf18391Smrgint 31735cf18391Smrgmain () 31745cf18391Smrg{ 31755cf18391Smrg 31765cf18391Smrg ; 31775cf18391Smrg return 0; 31785cf18391Smrg} 31795cf18391Smrg_ACEOF 31805cf18391Smrgrm -f conftest.o conftest.obj 31815cf18391Smrgif { { ac_try="$ac_compile" 31825cf18391Smrgcase "(($ac_try" in 31835cf18391Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 31845cf18391Smrg *) ac_try_echo=$ac_try;; 31855cf18391Smrgesac 31865cf18391Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 31875cf18391Smrg$as_echo "$ac_try_echo"; } >&5 31885cf18391Smrg (eval "$ac_compile") 2>&5 31895cf18391Smrg ac_status=$? 31905cf18391Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 31915cf18391Smrg test $ac_status = 0; }; then : 31925cf18391Smrg for ac_file in conftest.o conftest.obj conftest.*; do 31935cf18391Smrg test -f "$ac_file" || continue; 31945cf18391Smrg case $ac_file in 31955cf18391Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 31965cf18391Smrg *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 31975cf18391Smrg break;; 31985cf18391Smrg esac 31995cf18391Smrgdone 32005cf18391Smrgelse 32015cf18391Smrg $as_echo "$as_me: failed program was:" >&5 32025cf18391Smrgsed 's/^/| /' conftest.$ac_ext >&5 32032ceb2653Smrg 32045cf18391Smrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 32055cf18391Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 32065cf18391Smrgas_fn_error $? "cannot compute suffix of object files: cannot compile 32075cf18391SmrgSee \`config.log' for more details" "$LINENO" 5; } 32085cf18391Smrgfi 32092ceb2653Smrgrm -f conftest.$ac_cv_objext conftest.$ac_ext 32102ceb2653Smrgfi 32115cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 32122ceb2653Smrg$as_echo "$ac_cv_objext" >&6; } 32132ceb2653SmrgOBJEXT=$ac_cv_objext 32142ceb2653Smrgac_objext=$OBJEXT 32155cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 32162ceb2653Smrg$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 32175cf18391Smrgif ${ac_cv_c_compiler_gnu+:} false; then : 32182ceb2653Smrg $as_echo_n "(cached) " >&6 32192ceb2653Smrgelse 32205cf18391Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32212ceb2653Smrg/* end confdefs.h. */ 32222ceb2653Smrg 32232ceb2653Smrgint 32242ceb2653Smrgmain () 32252ceb2653Smrg{ 32262ceb2653Smrg#ifndef __GNUC__ 32272ceb2653Smrg choke me 32282ceb2653Smrg#endif 32292ceb2653Smrg 32302ceb2653Smrg ; 32312ceb2653Smrg return 0; 32322ceb2653Smrg} 32332ceb2653Smrg_ACEOF 32345cf18391Smrgif ac_fn_c_try_compile "$LINENO"; then : 32352ceb2653Smrg ac_compiler_gnu=yes 32362ceb2653Smrgelse 32375cf18391Smrg ac_compiler_gnu=no 32382ceb2653Smrgfi 32392ceb2653Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 32402ceb2653Smrgac_cv_c_compiler_gnu=$ac_compiler_gnu 32412ceb2653Smrg 32422ceb2653Smrgfi 32435cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 32442ceb2653Smrg$as_echo "$ac_cv_c_compiler_gnu" >&6; } 32452ceb2653Smrgif test $ac_compiler_gnu = yes; then 32462ceb2653Smrg GCC=yes 32472ceb2653Smrgelse 32482ceb2653Smrg GCC= 32492ceb2653Smrgfi 32502ceb2653Smrgac_test_CFLAGS=${CFLAGS+set} 32512ceb2653Smrgac_save_CFLAGS=$CFLAGS 32525cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 32532ceb2653Smrg$as_echo_n "checking whether $CC accepts -g... " >&6; } 32545cf18391Smrgif ${ac_cv_prog_cc_g+:} false; then : 32552ceb2653Smrg $as_echo_n "(cached) " >&6 32562ceb2653Smrgelse 32572ceb2653Smrg ac_save_c_werror_flag=$ac_c_werror_flag 32582ceb2653Smrg ac_c_werror_flag=yes 32592ceb2653Smrg ac_cv_prog_cc_g=no 32602ceb2653Smrg CFLAGS="-g" 32615cf18391Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32622ceb2653Smrg/* end confdefs.h. */ 32632ceb2653Smrg 32642ceb2653Smrgint 32652ceb2653Smrgmain () 32662ceb2653Smrg{ 32672ceb2653Smrg 32682ceb2653Smrg ; 32692ceb2653Smrg return 0; 32702ceb2653Smrg} 32712ceb2653Smrg_ACEOF 32725cf18391Smrgif ac_fn_c_try_compile "$LINENO"; then : 32732ceb2653Smrg ac_cv_prog_cc_g=yes 32742ceb2653Smrgelse 32755cf18391Smrg CFLAGS="" 32765cf18391Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32772ceb2653Smrg/* end confdefs.h. */ 32782ceb2653Smrg 32792ceb2653Smrgint 32802ceb2653Smrgmain () 32812ceb2653Smrg{ 32822ceb2653Smrg 32832ceb2653Smrg ; 32842ceb2653Smrg return 0; 32852ceb2653Smrg} 32862ceb2653Smrg_ACEOF 32875cf18391Smrgif ac_fn_c_try_compile "$LINENO"; then : 32882ceb2653Smrg 32895cf18391Smrgelse 32905cf18391Smrg ac_c_werror_flag=$ac_save_c_werror_flag 32912ceb2653Smrg CFLAGS="-g" 32925cf18391Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32932ceb2653Smrg/* end confdefs.h. */ 32942ceb2653Smrg 32952ceb2653Smrgint 32962ceb2653Smrgmain () 32972ceb2653Smrg{ 32982ceb2653Smrg 32992ceb2653Smrg ; 33002ceb2653Smrg return 0; 33012ceb2653Smrg} 33022ceb2653Smrg_ACEOF 33035cf18391Smrgif ac_fn_c_try_compile "$LINENO"; then : 33042ceb2653Smrg ac_cv_prog_cc_g=yes 33052ceb2653Smrgfi 33062ceb2653Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 33072ceb2653Smrgfi 33082ceb2653Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 33092ceb2653Smrgfi 33102ceb2653Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 33112ceb2653Smrg ac_c_werror_flag=$ac_save_c_werror_flag 33122ceb2653Smrgfi 33135cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 33142ceb2653Smrg$as_echo "$ac_cv_prog_cc_g" >&6; } 33152ceb2653Smrgif test "$ac_test_CFLAGS" = set; then 33162ceb2653Smrg CFLAGS=$ac_save_CFLAGS 33172ceb2653Smrgelif test $ac_cv_prog_cc_g = yes; then 33182ceb2653Smrg if test "$GCC" = yes; then 33192ceb2653Smrg CFLAGS="-g -O2" 33202ceb2653Smrg else 33212ceb2653Smrg CFLAGS="-g" 33222ceb2653Smrg fi 33232ceb2653Smrgelse 33242ceb2653Smrg if test "$GCC" = yes; then 33252ceb2653Smrg CFLAGS="-O2" 33262ceb2653Smrg else 33272ceb2653Smrg CFLAGS= 33282ceb2653Smrg fi 33292ceb2653Smrgfi 33305cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 33312ceb2653Smrg$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 33325cf18391Smrgif ${ac_cv_prog_cc_c89+:} false; then : 33332ceb2653Smrg $as_echo_n "(cached) " >&6 33342ceb2653Smrgelse 33352ceb2653Smrg ac_cv_prog_cc_c89=no 33362ceb2653Smrgac_save_CC=$CC 33375cf18391Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 33382ceb2653Smrg/* end confdefs.h. */ 33392ceb2653Smrg#include <stdarg.h> 33402ceb2653Smrg#include <stdio.h> 33412ceb2653Smrg#include <sys/types.h> 33422ceb2653Smrg#include <sys/stat.h> 33432ceb2653Smrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 33442ceb2653Smrgstruct buf { int x; }; 33452ceb2653SmrgFILE * (*rcsopen) (struct buf *, struct stat *, int); 33462ceb2653Smrgstatic char *e (p, i) 33472ceb2653Smrg char **p; 33482ceb2653Smrg int i; 33492ceb2653Smrg{ 33502ceb2653Smrg return p[i]; 33512ceb2653Smrg} 33522ceb2653Smrgstatic char *f (char * (*g) (char **, int), char **p, ...) 33532ceb2653Smrg{ 33542ceb2653Smrg char *s; 33552ceb2653Smrg va_list v; 33562ceb2653Smrg va_start (v,p); 33572ceb2653Smrg s = g (p, va_arg (v,int)); 33582ceb2653Smrg va_end (v); 33592ceb2653Smrg return s; 33602ceb2653Smrg} 33612ceb2653Smrg 33622ceb2653Smrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 33632ceb2653Smrg function prototypes and stuff, but not '\xHH' hex character constants. 33642ceb2653Smrg These don't provoke an error unfortunately, instead are silently treated 33652ceb2653Smrg as 'x'. The following induces an error, until -std is added to get 33662ceb2653Smrg proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 33672ceb2653Smrg array size at least. It's necessary to write '\x00'==0 to get something 33682ceb2653Smrg that's true only with -std. */ 33692ceb2653Smrgint osf4_cc_array ['\x00' == 0 ? 1 : -1]; 33702ceb2653Smrg 33712ceb2653Smrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 33722ceb2653Smrg inside strings and character constants. */ 33732ceb2653Smrg#define FOO(x) 'x' 33742ceb2653Smrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 33752ceb2653Smrg 33762ceb2653Smrgint test (int i, double x); 33772ceb2653Smrgstruct s1 {int (*f) (int a);}; 33782ceb2653Smrgstruct s2 {int (*f) (double a);}; 33792ceb2653Smrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 33802ceb2653Smrgint argc; 33812ceb2653Smrgchar **argv; 33822ceb2653Smrgint 33832ceb2653Smrgmain () 33842ceb2653Smrg{ 33852ceb2653Smrgreturn f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 33862ceb2653Smrg ; 33872ceb2653Smrg return 0; 33882ceb2653Smrg} 33892ceb2653Smrg_ACEOF 33902ceb2653Smrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 33912ceb2653Smrg -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 33922ceb2653Smrgdo 33932ceb2653Smrg CC="$ac_save_CC $ac_arg" 33945cf18391Smrg if ac_fn_c_try_compile "$LINENO"; then : 33952ceb2653Smrg ac_cv_prog_cc_c89=$ac_arg 33962ceb2653Smrgfi 33972ceb2653Smrgrm -f core conftest.err conftest.$ac_objext 33982ceb2653Smrg test "x$ac_cv_prog_cc_c89" != "xno" && break 33992ceb2653Smrgdone 34002ceb2653Smrgrm -f conftest.$ac_ext 34012ceb2653SmrgCC=$ac_save_CC 34022ceb2653Smrg 34032ceb2653Smrgfi 34042ceb2653Smrg# AC_CACHE_VAL 34052ceb2653Smrgcase "x$ac_cv_prog_cc_c89" in 34062ceb2653Smrg x) 34075cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 34082ceb2653Smrg$as_echo "none needed" >&6; } ;; 34092ceb2653Smrg xno) 34105cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 34112ceb2653Smrg$as_echo "unsupported" >&6; } ;; 34122ceb2653Smrg *) 34132ceb2653Smrg CC="$CC $ac_cv_prog_cc_c89" 34145cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 34152ceb2653Smrg$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 34162ceb2653Smrgesac 34175cf18391Smrgif test "x$ac_cv_prog_cc_c89" != xno; then : 34182ceb2653Smrg 34195cf18391Smrgfi 34202ceb2653Smrg 34212ceb2653Smrgac_ext=c 34222ceb2653Smrgac_cpp='$CPP $CPPFLAGS' 34232ceb2653Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 34242ceb2653Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 34252ceb2653Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 34262ceb2653Smrg 34272ceb2653Smrgdepcc="$CC" am_compiler_list= 34282ceb2653Smrg 34295cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 34302ceb2653Smrg$as_echo_n "checking dependency style of $depcc... " >&6; } 34315cf18391Smrgif ${am_cv_CC_dependencies_compiler_type+:} false; then : 34322ceb2653Smrg $as_echo_n "(cached) " >&6 34332ceb2653Smrgelse 34342ceb2653Smrg if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 34352ceb2653Smrg # We make a subdir and do the tests there. Otherwise we can end up 34362ceb2653Smrg # making bogus files that we don't know about and never remove. For 34372ceb2653Smrg # instance it was reported that on HP-UX the gcc test will end up 34382ceb2653Smrg # making a dummy file named `D' -- because `-MD' means `put the output 34392ceb2653Smrg # in D'. 34402ceb2653Smrg mkdir conftest.dir 34412ceb2653Smrg # Copy depcomp to subdir because otherwise we won't find it if we're 34422ceb2653Smrg # using a relative directory. 34432ceb2653Smrg cp "$am_depcomp" conftest.dir 34442ceb2653Smrg cd conftest.dir 34452ceb2653Smrg # We will build objects and dependencies in a subdirectory because 34462ceb2653Smrg # it helps to detect inapplicable dependency modes. For instance 34472ceb2653Smrg # both Tru64's cc and ICC support -MD to output dependencies as a 34482ceb2653Smrg # side effect of compilation, but ICC will put the dependencies in 34492ceb2653Smrg # the current directory while Tru64 will put them in the object 34502ceb2653Smrg # directory. 34512ceb2653Smrg mkdir sub 34522ceb2653Smrg 34532ceb2653Smrg am_cv_CC_dependencies_compiler_type=none 34542ceb2653Smrg if test "$am_compiler_list" = ""; then 34552ceb2653Smrg am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 34562ceb2653Smrg fi 34572ceb2653Smrg am__universal=false 34582ceb2653Smrg case " $depcc " in #( 34592ceb2653Smrg *\ -arch\ *\ -arch\ *) am__universal=true ;; 34602ceb2653Smrg esac 34612ceb2653Smrg 34622ceb2653Smrg for depmode in $am_compiler_list; do 34632ceb2653Smrg # Setup a source with many dependencies, because some compilers 34642ceb2653Smrg # like to wrap large dependency lists on column 80 (with \), and 34652ceb2653Smrg # we should not choose a depcomp mode which is confused by this. 34662ceb2653Smrg # 34672ceb2653Smrg # We need to recreate these files for each test, as the compiler may 34682ceb2653Smrg # overwrite some of them when testing with obscure command lines. 34692ceb2653Smrg # This happens at least with the AIX C compiler. 34702ceb2653Smrg : > sub/conftest.c 34712ceb2653Smrg for i in 1 2 3 4 5 6; do 34722ceb2653Smrg echo '#include "conftst'$i'.h"' >> sub/conftest.c 34732ceb2653Smrg # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 34742ceb2653Smrg # Solaris 8's {/usr,}/bin/sh. 34752ceb2653Smrg touch sub/conftst$i.h 34762ceb2653Smrg done 34772ceb2653Smrg echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 34782ceb2653Smrg 34792ceb2653Smrg # We check with `-c' and `-o' for the sake of the "dashmstdout" 34802ceb2653Smrg # mode. It turns out that the SunPro C++ compiler does not properly 34812ceb2653Smrg # handle `-M -o', and we need to detect this. Also, some Intel 34822ceb2653Smrg # versions had trouble with output in subdirs 34832ceb2653Smrg am__obj=sub/conftest.${OBJEXT-o} 34842ceb2653Smrg am__minus_obj="-o $am__obj" 34852ceb2653Smrg case $depmode in 34862ceb2653Smrg gcc) 34872ceb2653Smrg # This depmode causes a compiler race in universal mode. 34882ceb2653Smrg test "$am__universal" = false || continue 34892ceb2653Smrg ;; 34902ceb2653Smrg nosideeffect) 34912ceb2653Smrg # after this tag, mechanisms are not by side-effect, so they'll 34922ceb2653Smrg # only be used when explicitly requested 34932ceb2653Smrg if test "x$enable_dependency_tracking" = xyes; then 34942ceb2653Smrg continue 34952ceb2653Smrg else 34962ceb2653Smrg break 34972ceb2653Smrg fi 34982ceb2653Smrg ;; 34992ceb2653Smrg msvisualcpp | msvcmsys) 35002ceb2653Smrg # This compiler won't grok `-c -o', but also, the minuso test has 35012ceb2653Smrg # not run yet. These depmodes are late enough in the game, and 35022ceb2653Smrg # so weak that their functioning should not be impacted. 35032ceb2653Smrg am__obj=conftest.${OBJEXT-o} 35042ceb2653Smrg am__minus_obj= 35052ceb2653Smrg ;; 35062ceb2653Smrg none) break ;; 35072ceb2653Smrg esac 35082ceb2653Smrg if depmode=$depmode \ 35092ceb2653Smrg source=sub/conftest.c object=$am__obj \ 35102ceb2653Smrg depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 35112ceb2653Smrg $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 35122ceb2653Smrg >/dev/null 2>conftest.err && 35132ceb2653Smrg grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 35142ceb2653Smrg grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 35152ceb2653Smrg grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 35162ceb2653Smrg ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 35172ceb2653Smrg # icc doesn't choke on unknown options, it will just issue warnings 35182ceb2653Smrg # or remarks (even with -Werror). So we grep stderr for any message 35192ceb2653Smrg # that says an option was ignored or not supported. 35202ceb2653Smrg # When given -MP, icc 7.0 and 7.1 complain thusly: 35212ceb2653Smrg # icc: Command line warning: ignoring option '-M'; no argument required 35222ceb2653Smrg # The diagnosis changed in icc 8.0: 35232ceb2653Smrg # icc: Command line remark: option '-MP' not supported 35242ceb2653Smrg if (grep 'ignoring option' conftest.err || 35252ceb2653Smrg grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 35262ceb2653Smrg am_cv_CC_dependencies_compiler_type=$depmode 35272ceb2653Smrg break 35282ceb2653Smrg fi 35292ceb2653Smrg fi 35302ceb2653Smrg done 35312ceb2653Smrg 35322ceb2653Smrg cd .. 35332ceb2653Smrg rm -rf conftest.dir 35342ceb2653Smrgelse 35352ceb2653Smrg am_cv_CC_dependencies_compiler_type=none 35362ceb2653Smrgfi 35372ceb2653Smrg 35382ceb2653Smrgfi 35395cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 35402ceb2653Smrg$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 35412ceb2653SmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 35422ceb2653Smrg 35432ceb2653Smrg if 35442ceb2653Smrg test "x$enable_dependency_tracking" != xno \ 35452ceb2653Smrg && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 35462ceb2653Smrg am__fastdepCC_TRUE= 35472ceb2653Smrg am__fastdepCC_FALSE='#' 35482ceb2653Smrgelse 35492ceb2653Smrg am__fastdepCC_TRUE='#' 35502ceb2653Smrg am__fastdepCC_FALSE= 35512ceb2653Smrgfi 35522ceb2653Smrg 35532ceb2653Smrg 35545cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 35555cf18391Smrg$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 35565cf18391Smrgif ${ac_cv_prog_cc_c99+:} false; then : 35572ceb2653Smrg $as_echo_n "(cached) " >&6 35582ceb2653Smrgelse 35595cf18391Smrg ac_cv_prog_cc_c99=no 35605cf18391Smrgac_save_CC=$CC 35615cf18391Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 35622ceb2653Smrg/* end confdefs.h. */ 35635cf18391Smrg#include <stdarg.h> 35645cf18391Smrg#include <stdbool.h> 35655cf18391Smrg#include <stdlib.h> 35665cf18391Smrg#include <wchar.h> 35675cf18391Smrg#include <stdio.h> 35685cf18391Smrg 35695cf18391Smrg// Check varargs macros. These examples are taken from C99 6.10.3.5. 35705cf18391Smrg#define debug(...) fprintf (stderr, __VA_ARGS__) 35715cf18391Smrg#define showlist(...) puts (#__VA_ARGS__) 35725cf18391Smrg#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 35735cf18391Smrgstatic void 35745cf18391Smrgtest_varargs_macros (void) 35755cf18391Smrg{ 35765cf18391Smrg int x = 1234; 35775cf18391Smrg int y = 5678; 35785cf18391Smrg debug ("Flag"); 35795cf18391Smrg debug ("X = %d\n", x); 35805cf18391Smrg showlist (The first, second, and third items.); 35815cf18391Smrg report (x>y, "x is %d but y is %d", x, y); 35825cf18391Smrg} 35835cf18391Smrg 35845cf18391Smrg// Check long long types. 35855cf18391Smrg#define BIG64 18446744073709551615ull 35865cf18391Smrg#define BIG32 4294967295ul 35875cf18391Smrg#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 35885cf18391Smrg#if !BIG_OK 35895cf18391Smrg your preprocessor is broken; 35905cf18391Smrg#endif 35915cf18391Smrg#if BIG_OK 35922ceb2653Smrg#else 35935cf18391Smrg your preprocessor is broken; 35942ceb2653Smrg#endif 35955cf18391Smrgstatic long long int bignum = -9223372036854775807LL; 35965cf18391Smrgstatic unsigned long long int ubignum = BIG64; 35972ceb2653Smrg 35985cf18391Smrgstruct incomplete_array 35995cf18391Smrg{ 36005cf18391Smrg int datasize; 36015cf18391Smrg double data[]; 36025cf18391Smrg}; 36032ceb2653Smrg 36045cf18391Smrgstruct named_init { 36055cf18391Smrg int number; 36065cf18391Smrg const wchar_t *name; 36075cf18391Smrg double average; 36085cf18391Smrg}; 36092ceb2653Smrg 36105cf18391Smrgtypedef const char *ccp; 36112ceb2653Smrg 36125cf18391Smrgstatic inline int 36135cf18391Smrgtest_restrict (ccp restrict text) 36145cf18391Smrg{ 36155cf18391Smrg // See if C++-style comments work. 36165cf18391Smrg // Iterate through items via the restricted pointer. 36175cf18391Smrg // Also check for declarations in for loops. 36185cf18391Smrg for (unsigned int i = 0; *(text+i) != '\0'; ++i) 36195cf18391Smrg continue; 36205cf18391Smrg return 0; 36215cf18391Smrg} 36222ceb2653Smrg 36235cf18391Smrg// Check varargs and va_copy. 36245cf18391Smrgstatic void 36255cf18391Smrgtest_varargs (const char *format, ...) 36265cf18391Smrg{ 36275cf18391Smrg va_list args; 36285cf18391Smrg va_start (args, format); 36295cf18391Smrg va_list args_copy; 36305cf18391Smrg va_copy (args_copy, args); 36312ceb2653Smrg 36325cf18391Smrg const char *str; 36335cf18391Smrg int number; 36345cf18391Smrg float fnumber; 36352ceb2653Smrg 36365cf18391Smrg while (*format) 36375cf18391Smrg { 36385cf18391Smrg switch (*format++) 36395cf18391Smrg { 36405cf18391Smrg case 's': // string 36415cf18391Smrg str = va_arg (args_copy, const char *); 36425cf18391Smrg break; 36435cf18391Smrg case 'd': // int 36445cf18391Smrg number = va_arg (args_copy, int); 36455cf18391Smrg break; 36465cf18391Smrg case 'f': // float 36475cf18391Smrg fnumber = va_arg (args_copy, double); 36485cf18391Smrg break; 36495cf18391Smrg default: 36505cf18391Smrg break; 36515cf18391Smrg } 36525cf18391Smrg } 36535cf18391Smrg va_end (args_copy); 36545cf18391Smrg va_end (args); 36555cf18391Smrg} 36565cf18391Smrg 36575cf18391Smrgint 36585cf18391Smrgmain () 36595cf18391Smrg{ 36605cf18391Smrg 36615cf18391Smrg // Check bool. 36625cf18391Smrg _Bool success = false; 36635cf18391Smrg 36645cf18391Smrg // Check restrict. 36655cf18391Smrg if (test_restrict ("String literal") == 0) 36665cf18391Smrg success = true; 36675cf18391Smrg char *restrict newvar = "Another string"; 36685cf18391Smrg 36695cf18391Smrg // Check varargs. 36705cf18391Smrg test_varargs ("s, d' f .", "string", 65, 34.234); 36715cf18391Smrg test_varargs_macros (); 36725cf18391Smrg 36735cf18391Smrg // Check flexible array members. 36745cf18391Smrg struct incomplete_array *ia = 36755cf18391Smrg malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 36765cf18391Smrg ia->datasize = 10; 36775cf18391Smrg for (int i = 0; i < ia->datasize; ++i) 36785cf18391Smrg ia->data[i] = i * 1.234; 36795cf18391Smrg 36805cf18391Smrg // Check named initializers. 36815cf18391Smrg struct named_init ni = { 36825cf18391Smrg .number = 34, 36835cf18391Smrg .name = L"Test wide string", 36845cf18391Smrg .average = 543.34343, 36855cf18391Smrg }; 36865cf18391Smrg 36875cf18391Smrg ni.number = 58; 36885cf18391Smrg 36895cf18391Smrg int dynamic_array[ni.number]; 36905cf18391Smrg dynamic_array[ni.number - 1] = 543; 36915cf18391Smrg 36925cf18391Smrg // work around unused variable warnings 36935cf18391Smrg return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 36945cf18391Smrg || dynamic_array[ni.number - 1] != 543); 36955cf18391Smrg 36965cf18391Smrg ; 36975cf18391Smrg return 0; 36985cf18391Smrg} 36995cf18391Smrg_ACEOF 37005cf18391Smrgfor ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 37015cf18391Smrgdo 37025cf18391Smrg CC="$ac_save_CC $ac_arg" 37035cf18391Smrg if ac_fn_c_try_compile "$LINENO"; then : 37045cf18391Smrg ac_cv_prog_cc_c99=$ac_arg 37055cf18391Smrgfi 37065cf18391Smrgrm -f core conftest.err conftest.$ac_objext 37075cf18391Smrg test "x$ac_cv_prog_cc_c99" != "xno" && break 37085cf18391Smrgdone 37095cf18391Smrgrm -f conftest.$ac_ext 37105cf18391SmrgCC=$ac_save_CC 37115cf18391Smrg 37125cf18391Smrgfi 37135cf18391Smrg# AC_CACHE_VAL 37145cf18391Smrgcase "x$ac_cv_prog_cc_c99" in 37155cf18391Smrg x) 37165cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 37175cf18391Smrg$as_echo "none needed" >&6; } ;; 37185cf18391Smrg xno) 37195cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 37205cf18391Smrg$as_echo "unsupported" >&6; } ;; 37215cf18391Smrg *) 37225cf18391Smrg CC="$CC $ac_cv_prog_cc_c99" 37235cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 37245cf18391Smrg$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 37255cf18391Smrgesac 37265cf18391Smrgif test "x$ac_cv_prog_cc_c99" != xno; then : 37275cf18391Smrg 37285cf18391Smrgfi 37295cf18391Smrg 37305cf18391Smrg 37315cf18391Smrg 37325cf18391Smrgac_ext=c 37335cf18391Smrgac_cpp='$CPP $CPPFLAGS' 37345cf18391Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 37355cf18391Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 37365cf18391Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 37375cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 37385cf18391Smrg$as_echo_n "checking how to run the C preprocessor... " >&6; } 37395cf18391Smrg# On Suns, sometimes $CPP names a directory. 37405cf18391Smrgif test -n "$CPP" && test -d "$CPP"; then 37415cf18391Smrg CPP= 37425cf18391Smrgfi 37435cf18391Smrgif test -z "$CPP"; then 37445cf18391Smrg if ${ac_cv_prog_CPP+:} false; then : 37455cf18391Smrg $as_echo_n "(cached) " >&6 37465cf18391Smrgelse 37475cf18391Smrg # Double quotes because CPP needs to be expanded 37485cf18391Smrg for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 37495cf18391Smrg do 37505cf18391Smrg ac_preproc_ok=false 37515cf18391Smrgfor ac_c_preproc_warn_flag in '' yes 37525cf18391Smrgdo 37535cf18391Smrg # Use a header file that comes with gcc, so configuring glibc 37545cf18391Smrg # with a fresh cross-compiler works. 37555cf18391Smrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 37565cf18391Smrg # <limits.h> exists even on freestanding compilers. 37575cf18391Smrg # On the NeXT, cc -E runs the code through the compiler's parser, 37585cf18391Smrg # not just through cpp. "Syntax error" is here to catch this case. 37595cf18391Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37605cf18391Smrg/* end confdefs.h. */ 37615cf18391Smrg#ifdef __STDC__ 37625cf18391Smrg# include <limits.h> 37635cf18391Smrg#else 37645cf18391Smrg# include <assert.h> 37655cf18391Smrg#endif 37665cf18391Smrg Syntax error 37675cf18391Smrg_ACEOF 37685cf18391Smrgif ac_fn_c_try_cpp "$LINENO"; then : 37695cf18391Smrg 37705cf18391Smrgelse 37715cf18391Smrg # Broken: fails on valid input. 37725cf18391Smrgcontinue 37735cf18391Smrgfi 37745cf18391Smrgrm -f conftest.err conftest.i conftest.$ac_ext 37755cf18391Smrg 37765cf18391Smrg # OK, works on sane cases. Now check whether nonexistent headers 37775cf18391Smrg # can be detected and how. 37785cf18391Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37795cf18391Smrg/* end confdefs.h. */ 37805cf18391Smrg#include <ac_nonexistent.h> 37815cf18391Smrg_ACEOF 37825cf18391Smrgif ac_fn_c_try_cpp "$LINENO"; then : 37835cf18391Smrg # Broken: success on invalid input. 37845cf18391Smrgcontinue 37855cf18391Smrgelse 37865cf18391Smrg # Passes both tests. 37875cf18391Smrgac_preproc_ok=: 37885cf18391Smrgbreak 37895cf18391Smrgfi 37905cf18391Smrgrm -f conftest.err conftest.i conftest.$ac_ext 37915cf18391Smrg 37925cf18391Smrgdone 37935cf18391Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 37945cf18391Smrgrm -f conftest.i conftest.err conftest.$ac_ext 37955cf18391Smrgif $ac_preproc_ok; then : 37965cf18391Smrg break 37975cf18391Smrgfi 37985cf18391Smrg 37995cf18391Smrg done 38002ceb2653Smrg ac_cv_prog_CPP=$CPP 38012ceb2653Smrg 38022ceb2653Smrgfi 38032ceb2653Smrg CPP=$ac_cv_prog_CPP 38042ceb2653Smrgelse 38052ceb2653Smrg ac_cv_prog_CPP=$CPP 38062ceb2653Smrgfi 38075cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 38082ceb2653Smrg$as_echo "$CPP" >&6; } 38092ceb2653Smrgac_preproc_ok=false 38102ceb2653Smrgfor ac_c_preproc_warn_flag in '' yes 38112ceb2653Smrgdo 38122ceb2653Smrg # Use a header file that comes with gcc, so configuring glibc 38132ceb2653Smrg # with a fresh cross-compiler works. 38142ceb2653Smrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 38152ceb2653Smrg # <limits.h> exists even on freestanding compilers. 38162ceb2653Smrg # On the NeXT, cc -E runs the code through the compiler's parser, 38172ceb2653Smrg # not just through cpp. "Syntax error" is here to catch this case. 38185cf18391Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38192ceb2653Smrg/* end confdefs.h. */ 38202ceb2653Smrg#ifdef __STDC__ 38212ceb2653Smrg# include <limits.h> 38222ceb2653Smrg#else 38232ceb2653Smrg# include <assert.h> 38242ceb2653Smrg#endif 38252ceb2653Smrg Syntax error 38262ceb2653Smrg_ACEOF 38275cf18391Smrgif ac_fn_c_try_cpp "$LINENO"; then : 38282ceb2653Smrg 38295cf18391Smrgelse 38302ceb2653Smrg # Broken: fails on valid input. 38312ceb2653Smrgcontinue 38322ceb2653Smrgfi 38335cf18391Smrgrm -f conftest.err conftest.i conftest.$ac_ext 38342ceb2653Smrg 38352ceb2653Smrg # OK, works on sane cases. Now check whether nonexistent headers 38362ceb2653Smrg # can be detected and how. 38375cf18391Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38382ceb2653Smrg/* end confdefs.h. */ 38392ceb2653Smrg#include <ac_nonexistent.h> 38402ceb2653Smrg_ACEOF 38415cf18391Smrgif ac_fn_c_try_cpp "$LINENO"; then : 38422ceb2653Smrg # Broken: success on invalid input. 38432ceb2653Smrgcontinue 38442ceb2653Smrgelse 38452ceb2653Smrg # Passes both tests. 38462ceb2653Smrgac_preproc_ok=: 38472ceb2653Smrgbreak 38482ceb2653Smrgfi 38495cf18391Smrgrm -f conftest.err conftest.i conftest.$ac_ext 38502ceb2653Smrg 38512ceb2653Smrgdone 38522ceb2653Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 38535cf18391Smrgrm -f conftest.i conftest.err conftest.$ac_ext 38545cf18391Smrgif $ac_preproc_ok; then : 38555cf18391Smrg 38562ceb2653Smrgelse 38575cf18391Smrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 38582ceb2653Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 38595cf18391Smrgas_fn_error $? "C preprocessor \"$CPP\" fails sanity check 38605cf18391SmrgSee \`config.log' for more details" "$LINENO" 5; } 38612ceb2653Smrgfi 38622ceb2653Smrg 38632ceb2653Smrgac_ext=c 38642ceb2653Smrgac_cpp='$CPP $CPPFLAGS' 38652ceb2653Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 38662ceb2653Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 38672ceb2653Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 38682ceb2653Smrg 38692ceb2653Smrg 38705cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 38712ceb2653Smrg$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 38725cf18391Smrgif ${ac_cv_path_GREP+:} false; then : 38732ceb2653Smrg $as_echo_n "(cached) " >&6 38742ceb2653Smrgelse 38752ceb2653Smrg if test -z "$GREP"; then 38762ceb2653Smrg ac_path_GREP_found=false 38772ceb2653Smrg # Loop through the user's path and test for each of PROGNAME-LIST 38782ceb2653Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 38792ceb2653Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 38802ceb2653Smrgdo 38812ceb2653Smrg IFS=$as_save_IFS 38822ceb2653Smrg test -z "$as_dir" && as_dir=. 38835cf18391Smrg for ac_prog in grep ggrep; do 38842ceb2653Smrg for ac_exec_ext in '' $ac_executable_extensions; do 38852ceb2653Smrg ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 38862ceb2653Smrg { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 38872ceb2653Smrg# Check for GNU ac_path_GREP and select it if it is found. 38882ceb2653Smrg # Check for GNU $ac_path_GREP 38892ceb2653Smrgcase `"$ac_path_GREP" --version 2>&1` in 38902ceb2653Smrg*GNU*) 38912ceb2653Smrg ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 38922ceb2653Smrg*) 38932ceb2653Smrg ac_count=0 38942ceb2653Smrg $as_echo_n 0123456789 >"conftest.in" 38952ceb2653Smrg while : 38962ceb2653Smrg do 38972ceb2653Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 38982ceb2653Smrg mv "conftest.tmp" "conftest.in" 38992ceb2653Smrg cp "conftest.in" "conftest.nl" 39002ceb2653Smrg $as_echo 'GREP' >> "conftest.nl" 39012ceb2653Smrg "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 39022ceb2653Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 39035cf18391Smrg as_fn_arith $ac_count + 1 && ac_count=$as_val 39042ceb2653Smrg if test $ac_count -gt ${ac_path_GREP_max-0}; then 39052ceb2653Smrg # Best one so far, save it but keep looking for a better one 39062ceb2653Smrg ac_cv_path_GREP="$ac_path_GREP" 39072ceb2653Smrg ac_path_GREP_max=$ac_count 39082ceb2653Smrg fi 39092ceb2653Smrg # 10*(2^10) chars as input seems more than enough 39102ceb2653Smrg test $ac_count -gt 10 && break 39112ceb2653Smrg done 39122ceb2653Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 39132ceb2653Smrgesac 39142ceb2653Smrg 39152ceb2653Smrg $ac_path_GREP_found && break 3 39162ceb2653Smrg done 39172ceb2653Smrg done 39185cf18391Smrg done 39192ceb2653SmrgIFS=$as_save_IFS 39202ceb2653Smrg if test -z "$ac_cv_path_GREP"; then 39215cf18391Smrg as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 39222ceb2653Smrg fi 39232ceb2653Smrgelse 39242ceb2653Smrg ac_cv_path_GREP=$GREP 39252ceb2653Smrgfi 39262ceb2653Smrg 39272ceb2653Smrgfi 39285cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 39292ceb2653Smrg$as_echo "$ac_cv_path_GREP" >&6; } 39302ceb2653Smrg GREP="$ac_cv_path_GREP" 39312ceb2653Smrg 39322ceb2653Smrg 39335cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 39342ceb2653Smrg$as_echo_n "checking for egrep... " >&6; } 39355cf18391Smrgif ${ac_cv_path_EGREP+:} false; then : 39362ceb2653Smrg $as_echo_n "(cached) " >&6 3937b7d53ee5Smrgelse 39382ceb2653Smrg if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 39392ceb2653Smrg then ac_cv_path_EGREP="$GREP -E" 39402ceb2653Smrg else 39412ceb2653Smrg if test -z "$EGREP"; then 39422ceb2653Smrg ac_path_EGREP_found=false 39432ceb2653Smrg # Loop through the user's path and test for each of PROGNAME-LIST 39442ceb2653Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 39452ceb2653Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 39462ceb2653Smrgdo 39472ceb2653Smrg IFS=$as_save_IFS 39482ceb2653Smrg test -z "$as_dir" && as_dir=. 39495cf18391Smrg for ac_prog in egrep; do 39502ceb2653Smrg for ac_exec_ext in '' $ac_executable_extensions; do 39512ceb2653Smrg ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 39522ceb2653Smrg { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 39532ceb2653Smrg# Check for GNU ac_path_EGREP and select it if it is found. 39542ceb2653Smrg # Check for GNU $ac_path_EGREP 39552ceb2653Smrgcase `"$ac_path_EGREP" --version 2>&1` in 39562ceb2653Smrg*GNU*) 39572ceb2653Smrg ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 39582ceb2653Smrg*) 39592ceb2653Smrg ac_count=0 39602ceb2653Smrg $as_echo_n 0123456789 >"conftest.in" 39612ceb2653Smrg while : 39622ceb2653Smrg do 39632ceb2653Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 39642ceb2653Smrg mv "conftest.tmp" "conftest.in" 39652ceb2653Smrg cp "conftest.in" "conftest.nl" 39662ceb2653Smrg $as_echo 'EGREP' >> "conftest.nl" 39672ceb2653Smrg "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 39682ceb2653Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 39695cf18391Smrg as_fn_arith $ac_count + 1 && ac_count=$as_val 39702ceb2653Smrg if test $ac_count -gt ${ac_path_EGREP_max-0}; then 39712ceb2653Smrg # Best one so far, save it but keep looking for a better one 39722ceb2653Smrg ac_cv_path_EGREP="$ac_path_EGREP" 39732ceb2653Smrg ac_path_EGREP_max=$ac_count 39742ceb2653Smrg fi 39752ceb2653Smrg # 10*(2^10) chars as input seems more than enough 39762ceb2653Smrg test $ac_count -gt 10 && break 39772ceb2653Smrg done 39782ceb2653Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 39792ceb2653Smrgesac 39802ceb2653Smrg 39812ceb2653Smrg $ac_path_EGREP_found && break 3 39822ceb2653Smrg done 39832ceb2653Smrg done 39845cf18391Smrg done 39852ceb2653SmrgIFS=$as_save_IFS 39862ceb2653Smrg if test -z "$ac_cv_path_EGREP"; then 39875cf18391Smrg as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 39882ceb2653Smrg fi 39892ceb2653Smrgelse 39902ceb2653Smrg ac_cv_path_EGREP=$EGREP 39912ceb2653Smrgfi 39922ceb2653Smrg 39932ceb2653Smrg fi 39942ceb2653Smrgfi 39955cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 39962ceb2653Smrg$as_echo "$ac_cv_path_EGREP" >&6; } 39972ceb2653Smrg EGREP="$ac_cv_path_EGREP" 39982ceb2653Smrg 39992ceb2653Smrg 40005cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 40012ceb2653Smrg$as_echo_n "checking for ANSI C header files... " >&6; } 40025cf18391Smrgif ${ac_cv_header_stdc+:} false; then : 40032ceb2653Smrg $as_echo_n "(cached) " >&6 40042ceb2653Smrgelse 40055cf18391Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40062ceb2653Smrg/* end confdefs.h. */ 40072ceb2653Smrg#include <stdlib.h> 40082ceb2653Smrg#include <stdarg.h> 40092ceb2653Smrg#include <string.h> 40102ceb2653Smrg#include <float.h> 40112ceb2653Smrg 40122ceb2653Smrgint 40132ceb2653Smrgmain () 40142ceb2653Smrg{ 40152ceb2653Smrg 40162ceb2653Smrg ; 40172ceb2653Smrg return 0; 40182ceb2653Smrg} 40192ceb2653Smrg_ACEOF 40205cf18391Smrgif ac_fn_c_try_compile "$LINENO"; then : 40212ceb2653Smrg ac_cv_header_stdc=yes 40222ceb2653Smrgelse 40235cf18391Smrg ac_cv_header_stdc=no 40242ceb2653Smrgfi 40252ceb2653Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 40262ceb2653Smrg 40272ceb2653Smrgif test $ac_cv_header_stdc = yes; then 40282ceb2653Smrg # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 40295cf18391Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40302ceb2653Smrg/* end confdefs.h. */ 40312ceb2653Smrg#include <string.h> 40322ceb2653Smrg 40332ceb2653Smrg_ACEOF 40342ceb2653Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 40355cf18391Smrg $EGREP "memchr" >/dev/null 2>&1; then : 40365cf18391Smrg 40372ceb2653Smrgelse 40382ceb2653Smrg ac_cv_header_stdc=no 40392ceb2653Smrgfi 40402ceb2653Smrgrm -f conftest* 40412ceb2653Smrg 40422ceb2653Smrgfi 40432ceb2653Smrg 40442ceb2653Smrgif test $ac_cv_header_stdc = yes; then 40452ceb2653Smrg # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 40465cf18391Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40472ceb2653Smrg/* end confdefs.h. */ 40482ceb2653Smrg#include <stdlib.h> 40492ceb2653Smrg 40502ceb2653Smrg_ACEOF 40512ceb2653Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 40525cf18391Smrg $EGREP "free" >/dev/null 2>&1; then : 40535cf18391Smrg 40542ceb2653Smrgelse 40552ceb2653Smrg ac_cv_header_stdc=no 40562ceb2653Smrgfi 40572ceb2653Smrgrm -f conftest* 40582ceb2653Smrg 40592ceb2653Smrgfi 40602ceb2653Smrg 40612ceb2653Smrgif test $ac_cv_header_stdc = yes; then 40622ceb2653Smrg # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 40635cf18391Smrg if test "$cross_compiling" = yes; then : 40642ceb2653Smrg : 40652ceb2653Smrgelse 40665cf18391Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40672ceb2653Smrg/* end confdefs.h. */ 40682ceb2653Smrg#include <ctype.h> 40692ceb2653Smrg#include <stdlib.h> 40702ceb2653Smrg#if ((' ' & 0x0FF) == 0x020) 40712ceb2653Smrg# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 40722ceb2653Smrg# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 40732ceb2653Smrg#else 40742ceb2653Smrg# define ISLOWER(c) \ 40752ceb2653Smrg (('a' <= (c) && (c) <= 'i') \ 40762ceb2653Smrg || ('j' <= (c) && (c) <= 'r') \ 40772ceb2653Smrg || ('s' <= (c) && (c) <= 'z')) 40782ceb2653Smrg# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 40792ceb2653Smrg#endif 40802ceb2653Smrg 40812ceb2653Smrg#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 40822ceb2653Smrgint 40832ceb2653Smrgmain () 40842ceb2653Smrg{ 40852ceb2653Smrg int i; 40862ceb2653Smrg for (i = 0; i < 256; i++) 40872ceb2653Smrg if (XOR (islower (i), ISLOWER (i)) 40882ceb2653Smrg || toupper (i) != TOUPPER (i)) 40892ceb2653Smrg return 2; 40902ceb2653Smrg return 0; 40912ceb2653Smrg} 40922ceb2653Smrg_ACEOF 40935cf18391Smrgif ac_fn_c_try_run "$LINENO"; then : 40942ceb2653Smrg 40955cf18391Smrgelse 40965cf18391Smrg ac_cv_header_stdc=no 40972ceb2653Smrgfi 40985cf18391Smrgrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 40995cf18391Smrg conftest.$ac_objext conftest.beam conftest.$ac_ext 41002ceb2653Smrgfi 41012ceb2653Smrg 41022ceb2653Smrgfi 41032ceb2653Smrgfi 41045cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 41052ceb2653Smrg$as_echo "$ac_cv_header_stdc" >&6; } 41062ceb2653Smrgif test $ac_cv_header_stdc = yes; then 41072ceb2653Smrg 41085cf18391Smrg$as_echo "#define STDC_HEADERS 1" >>confdefs.h 41092ceb2653Smrg 41102ceb2653Smrgfi 41112ceb2653Smrg 41122ceb2653Smrg# On IRIX 5.3, sys/types and inttypes.h are conflicting. 41132ceb2653Smrgfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 41142ceb2653Smrg inttypes.h stdint.h unistd.h 41155cf18391Smrgdo : 41165cf18391Smrg as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 41175cf18391Smrgac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 41185cf18391Smrg" 41195cf18391Smrgif eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 41202ceb2653Smrg cat >>confdefs.h <<_ACEOF 41212ceb2653Smrg#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 41222ceb2653Smrg_ACEOF 41232ceb2653Smrg 41242ceb2653Smrgfi 41252ceb2653Smrg 41262ceb2653Smrgdone 41272ceb2653Smrg 41282ceb2653Smrg 41292ceb2653Smrg 41302ceb2653Smrg 41312ceb2653Smrg 41322ceb2653Smrg 41332ceb2653Smrg 41342ceb2653Smrg 41355cf18391Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 41365cf18391Smrg if test -n "$ac_tool_prefix"; then 41375cf18391Smrg # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 41385cf18391Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2 41395cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 41405cf18391Smrg$as_echo_n "checking for $ac_word... " >&6; } 41415cf18391Smrgif ${ac_cv_path_PKG_CONFIG+:} false; then : 41425cf18391Smrg $as_echo_n "(cached) " >&6 41435cf18391Smrgelse 41445cf18391Smrg case $PKG_CONFIG in 41455cf18391Smrg [\\/]* | ?:[\\/]*) 41465cf18391Smrg ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 41475cf18391Smrg ;; 41485cf18391Smrg *) 41495cf18391Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 41505cf18391Smrgfor as_dir in $PATH 41512ceb2653Smrgdo 41525cf18391Smrg IFS=$as_save_IFS 41535cf18391Smrg test -z "$as_dir" && as_dir=. 41545cf18391Smrg for ac_exec_ext in '' $ac_executable_extensions; do 41555cf18391Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 41565cf18391Smrg ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 41575cf18391Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 41585cf18391Smrg break 2 41595cf18391Smrg fi 41605cf18391Smrgdone 41615cf18391Smrg done 41625cf18391SmrgIFS=$as_save_IFS 41635cf18391Smrg 41645cf18391Smrg ;; 41652ceb2653Smrgesac 41665cf18391Smrgfi 41675cf18391SmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG 41685cf18391Smrgif test -n "$PKG_CONFIG"; then 41695cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 41705cf18391Smrg$as_echo "$PKG_CONFIG" >&6; } 41712ceb2653Smrgelse 41725cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 41735cf18391Smrg$as_echo "no" >&6; } 41742ceb2653Smrgfi 41752ceb2653Smrg 41762ceb2653Smrg 41772ceb2653Smrgfi 41785cf18391Smrgif test -z "$ac_cv_path_PKG_CONFIG"; then 41795cf18391Smrg ac_pt_PKG_CONFIG=$PKG_CONFIG 41805cf18391Smrg # Extract the first word of "pkg-config", so it can be a program name with args. 41815cf18391Smrgset dummy pkg-config; ac_word=$2 41825cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 41835cf18391Smrg$as_echo_n "checking for $ac_word... " >&6; } 41845cf18391Smrgif ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 41855cf18391Smrg $as_echo_n "(cached) " >&6 41865cf18391Smrgelse 41875cf18391Smrg case $ac_pt_PKG_CONFIG in 41885cf18391Smrg [\\/]* | ?:[\\/]*) 41895cf18391Smrg ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 41905cf18391Smrg ;; 41912ceb2653Smrg *) 41925cf18391Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 41935cf18391Smrgfor as_dir in $PATH 41945cf18391Smrgdo 41955cf18391Smrg IFS=$as_save_IFS 41965cf18391Smrg test -z "$as_dir" && as_dir=. 41975cf18391Smrg for ac_exec_ext in '' $ac_executable_extensions; do 41985cf18391Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 41995cf18391Smrg ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 42005cf18391Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 42015cf18391Smrg break 2 42025cf18391Smrg fi 42035cf18391Smrgdone 42045cf18391Smrg done 42055cf18391SmrgIFS=$as_save_IFS 42062ceb2653Smrg 42075cf18391Smrg ;; 42085cf18391Smrgesac 42095cf18391Smrgfi 42105cf18391Smrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 42115cf18391Smrgif test -n "$ac_pt_PKG_CONFIG"; then 42125cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 42135cf18391Smrg$as_echo "$ac_pt_PKG_CONFIG" >&6; } 42145cf18391Smrgelse 42155cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 42165cf18391Smrg$as_echo "no" >&6; } 42175cf18391Smrgfi 42182ceb2653Smrg 42195cf18391Smrg if test "x$ac_pt_PKG_CONFIG" = x; then 42205cf18391Smrg PKG_CONFIG="" 42215cf18391Smrg else 42225cf18391Smrg case $cross_compiling:$ac_tool_warned in 42235cf18391Smrgyes:) 42245cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 42255cf18391Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 42265cf18391Smrgac_tool_warned=yes ;; 42275cf18391Smrgesac 42285cf18391Smrg PKG_CONFIG=$ac_pt_PKG_CONFIG 42295cf18391Smrg fi 42305cf18391Smrgelse 42315cf18391Smrg PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 42325cf18391Smrgfi 42332ceb2653Smrg 42345cf18391Smrgfi 42355cf18391Smrgif test -n "$PKG_CONFIG"; then 42365cf18391Smrg _pkg_min_version=0.9.0 42375cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 42385cf18391Smrg$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 42395cf18391Smrg if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 42405cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 42415cf18391Smrg$as_echo "yes" >&6; } 42425cf18391Smrg else 42435cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 42445cf18391Smrg$as_echo "no" >&6; } 42455cf18391Smrg PKG_CONFIG="" 42465cf18391Smrg fi 42475cf18391Smrgfi 42482ceb2653Smrg# Make sure we can run config.sub. 42492ceb2653Smrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 42505cf18391Smrg as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 42512ceb2653Smrg 42525cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 42532ceb2653Smrg$as_echo_n "checking build system type... " >&6; } 42545cf18391Smrgif ${ac_cv_build+:} false; then : 42552ceb2653Smrg $as_echo_n "(cached) " >&6 42562ceb2653Smrgelse 42572ceb2653Smrg ac_build_alias=$build_alias 42582ceb2653Smrgtest "x$ac_build_alias" = x && 42592ceb2653Smrg ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 42602ceb2653Smrgtest "x$ac_build_alias" = x && 42615cf18391Smrg as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 42622ceb2653Smrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 42635cf18391Smrg as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 42642ceb2653Smrg 42652ceb2653Smrgfi 42665cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 42672ceb2653Smrg$as_echo "$ac_cv_build" >&6; } 42682ceb2653Smrgcase $ac_cv_build in 42692ceb2653Smrg*-*-*) ;; 42705cf18391Smrg*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 42712ceb2653Smrgesac 42722ceb2653Smrgbuild=$ac_cv_build 42732ceb2653Smrgac_save_IFS=$IFS; IFS='-' 42742ceb2653Smrgset x $ac_cv_build 42752ceb2653Smrgshift 42762ceb2653Smrgbuild_cpu=$1 42772ceb2653Smrgbuild_vendor=$2 42782ceb2653Smrgshift; shift 42792ceb2653Smrg# Remember, the first character of IFS is used to create $*, 42802ceb2653Smrg# except with old shells: 42812ceb2653Smrgbuild_os=$* 42822ceb2653SmrgIFS=$ac_save_IFS 42832ceb2653Smrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 42842ceb2653Smrg 42852ceb2653Smrg 42865cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 42872ceb2653Smrg$as_echo_n "checking host system type... " >&6; } 42885cf18391Smrgif ${ac_cv_host+:} false; then : 42892ceb2653Smrg $as_echo_n "(cached) " >&6 42902ceb2653Smrgelse 42912ceb2653Smrg if test "x$host_alias" = x; then 42922ceb2653Smrg ac_cv_host=$ac_cv_build 42932ceb2653Smrgelse 42942ceb2653Smrg ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 42955cf18391Smrg as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 42962ceb2653Smrgfi 42972ceb2653Smrg 42982ceb2653Smrgfi 42995cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 43002ceb2653Smrg$as_echo "$ac_cv_host" >&6; } 43012ceb2653Smrgcase $ac_cv_host in 43022ceb2653Smrg*-*-*) ;; 43035cf18391Smrg*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 43042ceb2653Smrgesac 43052ceb2653Smrghost=$ac_cv_host 43062ceb2653Smrgac_save_IFS=$IFS; IFS='-' 43072ceb2653Smrgset x $ac_cv_host 43082ceb2653Smrgshift 43092ceb2653Smrghost_cpu=$1 43102ceb2653Smrghost_vendor=$2 43112ceb2653Smrgshift; shift 43122ceb2653Smrg# Remember, the first character of IFS is used to create $*, 43132ceb2653Smrg# except with old shells: 43142ceb2653Smrghost_os=$* 43152ceb2653SmrgIFS=$ac_save_IFS 43162ceb2653Smrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 43172ceb2653Smrg 43182ceb2653Smrg 43195cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 43205cf18391Smrg$as_echo_n "checking for a sed that does not truncate output... " >&6; } 43215cf18391Smrgif ${ac_cv_path_SED+:} false; then : 43225cf18391Smrg $as_echo_n "(cached) " >&6 43235cf18391Smrgelse 43245cf18391Smrg ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 43255cf18391Smrg for ac_i in 1 2 3 4 5 6 7; do 43265cf18391Smrg ac_script="$ac_script$as_nl$ac_script" 43275cf18391Smrg done 43285cf18391Smrg echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 43295cf18391Smrg { ac_script=; unset ac_script;} 43305cf18391Smrg if test -z "$SED"; then 43315cf18391Smrg ac_path_SED_found=false 43325cf18391Smrg # Loop through the user's path and test for each of PROGNAME-LIST 43335cf18391Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 43345cf18391Smrgfor as_dir in $PATH 43355cf18391Smrgdo 43365cf18391Smrg IFS=$as_save_IFS 43375cf18391Smrg test -z "$as_dir" && as_dir=. 43385cf18391Smrg for ac_prog in sed gsed; do 43395cf18391Smrg for ac_exec_ext in '' $ac_executable_extensions; do 43405cf18391Smrg ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 43415cf18391Smrg { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 43425cf18391Smrg# Check for GNU ac_path_SED and select it if it is found. 43435cf18391Smrg # Check for GNU $ac_path_SED 43445cf18391Smrgcase `"$ac_path_SED" --version 2>&1` in 43455cf18391Smrg*GNU*) 43465cf18391Smrg ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 43475cf18391Smrg*) 43485cf18391Smrg ac_count=0 43495cf18391Smrg $as_echo_n 0123456789 >"conftest.in" 43505cf18391Smrg while : 43515cf18391Smrg do 43525cf18391Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 43535cf18391Smrg mv "conftest.tmp" "conftest.in" 43545cf18391Smrg cp "conftest.in" "conftest.nl" 43555cf18391Smrg $as_echo '' >> "conftest.nl" 43565cf18391Smrg "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 43575cf18391Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 43585cf18391Smrg as_fn_arith $ac_count + 1 && ac_count=$as_val 43595cf18391Smrg if test $ac_count -gt ${ac_path_SED_max-0}; then 43605cf18391Smrg # Best one so far, save it but keep looking for a better one 43615cf18391Smrg ac_cv_path_SED="$ac_path_SED" 43625cf18391Smrg ac_path_SED_max=$ac_count 43635cf18391Smrg fi 43645cf18391Smrg # 10*(2^10) chars as input seems more than enough 43655cf18391Smrg test $ac_count -gt 10 && break 43665cf18391Smrg done 43675cf18391Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 43685cf18391Smrgesac 43695cf18391Smrg 43705cf18391Smrg $ac_path_SED_found && break 3 43715cf18391Smrg done 43725cf18391Smrg done 43735cf18391Smrg done 43745cf18391SmrgIFS=$as_save_IFS 43755cf18391Smrg if test -z "$ac_cv_path_SED"; then 43765cf18391Smrg as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 43775cf18391Smrg fi 43785cf18391Smrgelse 43795cf18391Smrg ac_cv_path_SED=$SED 43805cf18391Smrgfi 43815cf18391Smrg 43825cf18391Smrgfi 43835cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 43845cf18391Smrg$as_echo "$ac_cv_path_SED" >&6; } 43855cf18391Smrg SED="$ac_cv_path_SED" 43865cf18391Smrg rm -f conftest.sed 43875cf18391Smrg 43885cf18391Smrg 43892ceb2653Smrg 43902ceb2653Smrg 43912ceb2653Smrg 43922ceb2653Smrgif test "x$GCC" = xyes ; then 43932ceb2653Smrg CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \ 43942ceb2653Smrg-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \ 43955cf18391Smrg-Wbad-function-cast -Wformat=2" 43962ceb2653Smrg case `$CC -dumpversion` in 43972ceb2653Smrg 3.4.* | 4.*) 43982ceb2653Smrg CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement" 43992ceb2653Smrg ;; 44002ceb2653Smrg esac 44015cf18391Smrgelse 44025cf18391Smrg ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 44035cf18391Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then : 44045cf18391Smrg SUNCC="yes" 44055cf18391Smrgelse 44065cf18391Smrg SUNCC="no" 44075cf18391Smrgfi 44082ceb2653Smrg 44095cf18391Smrg if test "x$SUNCC" = "xyes"; then 44105cf18391Smrg CWARNFLAGS="-v" 44115cf18391Smrg fi 44125cf18391Smrgfi 44132ceb2653Smrg 44142ceb2653Smrg 44152ceb2653Smrg 44165cf18391Smrg# If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89 44172ceb2653Smrg 44182ceb2653Smrg 44192ceb2653Smrg 44202ceb2653Smrg# Check whether --enable-strict-compilation was given. 44215cf18391Smrgif test "${enable_strict_compilation+set}" = set; then : 44222ceb2653Smrg enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval 44232ceb2653Smrgelse 44242ceb2653Smrg STRICT_COMPILE=no 44252ceb2653Smrgfi 44262ceb2653Smrg 44272ceb2653Smrgif test "x$STRICT_COMPILE" = "xyes"; then 44285cf18391Smrg ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 44295cf18391Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then : 44302ceb2653Smrg SUNCC="yes" 44312ceb2653Smrgelse 44322ceb2653Smrg SUNCC="no" 44332ceb2653Smrgfi 44342ceb2653Smrg 44355cf18391Smrg ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" 44365cf18391Smrgif test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then : 44372ceb2653Smrg INTELCC="yes" 44382ceb2653Smrgelse 44392ceb2653Smrg INTELCC="no" 44402ceb2653Smrgfi 44412ceb2653Smrg 44422ceb2653Smrg if test "x$GCC" = xyes ; then 44432ceb2653Smrg STRICT_CFLAGS="-pedantic -Werror" 44442ceb2653Smrg elif test "x$SUNCC" = "xyes"; then 44452ceb2653Smrg STRICT_CFLAGS="-errwarn" 44462ceb2653Smrg elif test "x$INTELCC" = "xyes"; then 44472ceb2653Smrg STRICT_CFLAGS="-Werror" 44482ceb2653Smrg fi 44492ceb2653Smrgfi 44502ceb2653SmrgCWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS" 44512ceb2653Smrg 44522ceb2653Smrg 44532ceb2653Smrg 44542ceb2653Smrg 44552ceb2653Smrgcat >>confdefs.h <<_ACEOF 44562ceb2653Smrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 44572ceb2653Smrg_ACEOF 44582ceb2653Smrg 44592ceb2653Smrg PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 44602ceb2653Smrg if test "x$PVM" = "x"; then 44612ceb2653Smrg PVM="0" 44622ceb2653Smrg fi 44632ceb2653Smrg 44642ceb2653Smrgcat >>confdefs.h <<_ACEOF 44652ceb2653Smrg#define PACKAGE_VERSION_MINOR $PVM 44662ceb2653Smrg_ACEOF 44672ceb2653Smrg 44682ceb2653Smrg PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 44692ceb2653Smrg if test "x$PVP" = "x"; then 44702ceb2653Smrg PVP="0" 44712ceb2653Smrg fi 44722ceb2653Smrg 44732ceb2653Smrgcat >>confdefs.h <<_ACEOF 44742ceb2653Smrg#define PACKAGE_VERSION_PATCHLEVEL $PVP 44752ceb2653Smrg_ACEOF 44762ceb2653Smrg 44772ceb2653Smrg 44782ceb2653Smrg 44795cf18391SmrgCHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \ 44805cf18391Smrgmv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \ 44815cf18391Smrg|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \ 44822ceb2653Smrgecho 'git directory not found: installing possibly empty changelog.' >&2)" 44832ceb2653Smrg 44845cf18391Smrg 44855cf18391Smrg 44865cf18391Smrg 44875cf18391Smrgmacros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros` 44885cf18391SmrgINSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \ 44895cf18391Smrgmv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \ 44905cf18391Smrg|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \ 44915cf18391Smrgecho 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)" 44925cf18391Smrg 44932ceb2653Smrg 44942ceb2653Smrg 44952ceb2653Smrg 44962ceb2653Smrg 44972ceb2653Smrg 44982ceb2653Smrgif test x$APP_MAN_SUFFIX = x ; then 44992ceb2653Smrg APP_MAN_SUFFIX=1 45002ceb2653Smrgfi 45012ceb2653Smrgif test x$APP_MAN_DIR = x ; then 45022ceb2653Smrg APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 4503b7d53ee5Smrgfi 4504b7d53ee5Smrg 45052ceb2653Smrgif test x$LIB_MAN_SUFFIX = x ; then 45062ceb2653Smrg LIB_MAN_SUFFIX=3 45072ceb2653Smrgfi 45082ceb2653Smrgif test x$LIB_MAN_DIR = x ; then 45092ceb2653Smrg LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 45102ceb2653Smrgfi 45112ceb2653Smrg 45122ceb2653Smrgif test x$FILE_MAN_SUFFIX = x ; then 45132ceb2653Smrg case $host_os in 45142ceb2653Smrg solaris*) FILE_MAN_SUFFIX=4 ;; 45152ceb2653Smrg *) FILE_MAN_SUFFIX=5 ;; 45162ceb2653Smrg esac 45172ceb2653Smrgfi 45182ceb2653Smrgif test x$FILE_MAN_DIR = x ; then 45192ceb2653Smrg FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 45202ceb2653Smrgfi 45212ceb2653Smrg 45222ceb2653Smrgif test x$MISC_MAN_SUFFIX = x ; then 45232ceb2653Smrg case $host_os in 45242ceb2653Smrg solaris*) MISC_MAN_SUFFIX=5 ;; 45252ceb2653Smrg *) MISC_MAN_SUFFIX=7 ;; 45262ceb2653Smrg esac 45272ceb2653Smrgfi 45282ceb2653Smrgif test x$MISC_MAN_DIR = x ; then 45292ceb2653Smrg MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 45302ceb2653Smrgfi 45312ceb2653Smrg 45322ceb2653Smrgif test x$DRIVER_MAN_SUFFIX = x ; then 45332ceb2653Smrg case $host_os in 45342ceb2653Smrg solaris*) DRIVER_MAN_SUFFIX=7 ;; 45352ceb2653Smrg *) DRIVER_MAN_SUFFIX=4 ;; 45362ceb2653Smrg esac 45372ceb2653Smrgfi 45382ceb2653Smrgif test x$DRIVER_MAN_DIR = x ; then 45392ceb2653Smrg DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 45402ceb2653Smrgfi 45412ceb2653Smrg 45422ceb2653Smrgif test x$ADMIN_MAN_SUFFIX = x ; then 45432ceb2653Smrg case $host_os in 45442ceb2653Smrg solaris*) ADMIN_MAN_SUFFIX=1m ;; 45452ceb2653Smrg *) ADMIN_MAN_SUFFIX=8 ;; 45462ceb2653Smrg esac 45472ceb2653Smrgfi 45482ceb2653Smrgif test x$ADMIN_MAN_DIR = x ; then 45492ceb2653Smrg ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 45502ceb2653Smrgfi 45512ceb2653Smrg 45522ceb2653Smrg 45532ceb2653Smrg 45542ceb2653Smrg 45552ceb2653Smrg 45562ceb2653Smrg 45572ceb2653Smrg 45582ceb2653Smrg 45592ceb2653Smrg 45602ceb2653Smrg 45612ceb2653Smrg 45622ceb2653Smrg 45632ceb2653Smrg 45642ceb2653Smrg 4565b7d53ee5Smrg 45665cf18391SmrgXORG_MAN_PAGE="X Version 11" 4567b7d53ee5Smrg 45685cf18391SmrgMAN_SUBSTS="\ 45695cf18391Smrg -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 45705cf18391Smrg -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 45715cf18391Smrg -e 's|__xservername__|Xorg|g' \ 45725cf18391Smrg -e 's|__xconfigfile__|xorg.conf|g' \ 45735cf18391Smrg -e 's|__projectroot__|\$(prefix)|g' \ 45745cf18391Smrg -e 's|__apploaddir__|\$(appdefaultdir)|g' \ 45755cf18391Smrg -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \ 45765cf18391Smrg -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \ 45775cf18391Smrg -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \ 45785cf18391Smrg -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \ 45795cf18391Smrg -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \ 45805cf18391Smrg -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'" 4581b7d53ee5Smrg 4582b7d53ee5Smrg 4583b7d53ee5Smrg 45845cf18391Smrg# Check whether --enable-silent-rules was given. 45855cf18391Smrgif test "${enable_silent_rules+set}" = set; then : 45865cf18391Smrg enableval=$enable_silent_rules; 4587b7d53ee5Smrgfi 45882ceb2653Smrg 45895cf18391Smrgcase $enable_silent_rules in 45905cf18391Smrgyes) AM_DEFAULT_VERBOSITY=0;; 45915cf18391Smrgno) AM_DEFAULT_VERBOSITY=1;; 45925cf18391Smrg*) AM_DEFAULT_VERBOSITY=0;; 45935cf18391Smrgesac 45945cf18391SmrgAM_BACKSLASH='\' 45955cf18391Smrg 45965cf18391Smrg 45975cf18391Smrg 45985cf18391Smrg 45995cf18391Smrg 46005cf18391Smrg# Require X.Org's font util macros 1.2 or later 46012ceb2653Smrg 46022ceb2653Smrg 46032ceb2653Smrg 4604b7d53ee5Smrg 4605b7d53ee5Smrg 46062ceb2653Smrg 4607b7d53ee5Smrg 46082ceb2653Smrg 46092ceb2653Smrg 46102ceb2653Smrg 46112ceb2653Smrg 46122ceb2653Smrg 46132ceb2653Smrg 46145cf18391Smrg 46155cf18391Smrg 46165cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for root directory for font files" >&5 46172ceb2653Smrg$as_echo_n "checking for root directory for font files... " >&6; } 46182ceb2653Smrg 46192ceb2653Smrg# Check whether --with-fontrootdir was given. 46205cf18391Smrgif test "${with_fontrootdir+set}" = set; then : 46212ceb2653Smrg withval=$with_fontrootdir; FONTROOTDIR="$withval" 46222ceb2653Smrgfi 46232ceb2653Smrg 46242ceb2653Smrg # if --with-fontrootdir not specified... 46252ceb2653Smrg if test "x${FONTROOTDIR}" = "x"; then 46262ceb2653Smrg FONTROOTDIR=`$PKG_CONFIG --variable=fontrootdir fontutil` 46272ceb2653Smrg fi 46282ceb2653Smrg # ...and if pkg-config didn't find fontdir in fontutil.pc... 46292ceb2653Smrg if test "x${FONTROOTDIR}" = "x"; then 46302ceb2653Smrg FONTROOTDIR="${datadir}/fonts/X11" 46312ceb2653Smrg fi 46322ceb2653Smrg 46335cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${FONTROOTDIR}" >&5 46342ceb2653Smrg$as_echo "${FONTROOTDIR}" >&6; } 46352ceb2653Smrg 46362ceb2653Smrg 46372ceb2653Smrg 46382ceb2653Smrg 46395cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for directory for misc files" >&5 46402ceb2653Smrg$as_echo_n "checking for directory for misc files... " >&6; } 46412ceb2653Smrg 46422ceb2653Smrg# Check whether --with-fontdir was given. 46435cf18391Smrgif test "${with_fontdir+set}" = set; then : 46442ceb2653Smrg withval=$with_fontdir; FONTDIR="${withval}" 46452ceb2653Smrgelse 46462ceb2653Smrg FONTDIR='${FONTROOTDIR}/misc' 46472ceb2653Smrgfi 46482ceb2653Smrg 46492ceb2653Smrg 46505cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${FONTDIR}" >&5 46512ceb2653Smrg$as_echo "${FONTDIR}" >&6; } 46522ceb2653Smrg 4653b7d53ee5Smrg 46542ceb2653Smrg 46552ceb2653Smrg 46562ceb2653Smrg # Extract the first word of "fc-cache", so it can be a program name with args. 46572ceb2653Smrgset dummy fc-cache; ac_word=$2 46585cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 46592ceb2653Smrg$as_echo_n "checking for $ac_word... " >&6; } 46605cf18391Smrgif ${ac_cv_path_FCCACHE+:} false; then : 46612ceb2653Smrg $as_echo_n "(cached) " >&6 46622ceb2653Smrgelse 46632ceb2653Smrg case $FCCACHE in 46642ceb2653Smrg [\\/]* | ?:[\\/]*) 46652ceb2653Smrg ac_cv_path_FCCACHE="$FCCACHE" # Let the user override the test with a path. 46662ceb2653Smrg ;; 46672ceb2653Smrg *) 46682ceb2653Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 46692ceb2653Smrgfor as_dir in $PATH 46702ceb2653Smrgdo 46712ceb2653Smrg IFS=$as_save_IFS 46722ceb2653Smrg test -z "$as_dir" && as_dir=. 46735cf18391Smrg for ac_exec_ext in '' $ac_executable_extensions; do 46742ceb2653Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 46752ceb2653Smrg ac_cv_path_FCCACHE="$as_dir/$ac_word$ac_exec_ext" 46765cf18391Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 46772ceb2653Smrg break 2 46782ceb2653Smrg fi 46792ceb2653Smrgdone 46805cf18391Smrg done 46812ceb2653SmrgIFS=$as_save_IFS 46822ceb2653Smrg 46832ceb2653Smrg ;; 46842ceb2653Smrgesac 46852ceb2653Smrgfi 46862ceb2653SmrgFCCACHE=$ac_cv_path_FCCACHE 46872ceb2653Smrgif test -n "$FCCACHE"; then 46885cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FCCACHE" >&5 46892ceb2653Smrg$as_echo "$FCCACHE" >&6; } 4690b7d53ee5Smrgelse 46915cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 46922ceb2653Smrg$as_echo "no" >&6; } 4693b7d53ee5Smrgfi 4694b7d53ee5Smrg 46952ceb2653Smrg 46962ceb2653Smrg FCCACHE_WARN='echo "** Warning: fonts.cache not built" ; echo "** Generate this file manually on host system using fc-cache"' 46972ceb2653Smrg if test x"$FCCACHE" = x ; then 46982ceb2653Smrg RUN_FCCACHE="${FCCACHE_WARN}" 46992ceb2653Smrg else 47002ceb2653Smrg RUN_FCCACHE='@(if test -z "$(DESTDIR)"; then echo $(FCCACHE) $(fontdir); $(FCCACHE) $(fontdir); else' 47012ceb2653Smrg RUN_FCCACHE="${RUN_FCCACHE} ${FCCACHE_WARN} ; fi)" 47022ceb2653Smrg fi 47032ceb2653Smrg 47042ceb2653Smrg 47052ceb2653Smrg 47062ceb2653Smrg # Extract the first word of "mkfontdir", so it can be a program name with args. 4707b7d53ee5Smrgset dummy mkfontdir; ac_word=$2 47085cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 47092ceb2653Smrg$as_echo_n "checking for $ac_word... " >&6; } 47105cf18391Smrgif ${ac_cv_path_MKFONTDIR+:} false; then : 47112ceb2653Smrg $as_echo_n "(cached) " >&6 4712b7d53ee5Smrgelse 4713b7d53ee5Smrg case $MKFONTDIR in 4714b7d53ee5Smrg [\\/]* | ?:[\\/]*) 4715b7d53ee5Smrg ac_cv_path_MKFONTDIR="$MKFONTDIR" # Let the user override the test with a path. 4716b7d53ee5Smrg ;; 4717b7d53ee5Smrg *) 4718b7d53ee5Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4719b7d53ee5Smrgfor as_dir in $PATH 4720b7d53ee5Smrgdo 4721b7d53ee5Smrg IFS=$as_save_IFS 4722b7d53ee5Smrg test -z "$as_dir" && as_dir=. 47235cf18391Smrg for ac_exec_ext in '' $ac_executable_extensions; do 47242ceb2653Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4725b7d53ee5Smrg ac_cv_path_MKFONTDIR="$as_dir/$ac_word$ac_exec_ext" 47265cf18391Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4727b7d53ee5Smrg break 2 4728b7d53ee5Smrg fi 4729b7d53ee5Smrgdone 47305cf18391Smrg done 47312ceb2653SmrgIFS=$as_save_IFS 4732b7d53ee5Smrg 4733b7d53ee5Smrg ;; 4734b7d53ee5Smrgesac 4735b7d53ee5Smrgfi 4736b7d53ee5SmrgMKFONTDIR=$ac_cv_path_MKFONTDIR 4737b7d53ee5Smrgif test -n "$MKFONTDIR"; then 47385cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKFONTDIR" >&5 47392ceb2653Smrg$as_echo "$MKFONTDIR" >&6; } 4740b7d53ee5Smrgelse 47415cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 47422ceb2653Smrg$as_echo "no" >&6; } 4743b7d53ee5Smrgfi 4744b7d53ee5Smrg 4745b7d53ee5Smrg 47465cf18391Smrg if test x"$MKFONTDIR" = x; then 47475cf18391Smrg as_fn_error $? "mkfontdir is required to build $PACKAGE_NAME." "$LINENO" 5 47482ceb2653Smrg fi 4749b7d53ee5Smrg 4750b7d53ee5Smrg 4751b7d53ee5Smrg 47522ceb2653Smrg # Extract the first word of "bdftopcf", so it can be a program name with args. 47532ceb2653Smrgset dummy bdftopcf; ac_word=$2 47545cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 47552ceb2653Smrg$as_echo_n "checking for $ac_word... " >&6; } 47565cf18391Smrgif ${ac_cv_path_BDFTOPCF+:} false; then : 47572ceb2653Smrg $as_echo_n "(cached) " >&6 47582ceb2653Smrgelse 47592ceb2653Smrg case $BDFTOPCF in 47602ceb2653Smrg [\\/]* | ?:[\\/]*) 47612ceb2653Smrg ac_cv_path_BDFTOPCF="$BDFTOPCF" # Let the user override the test with a path. 47622ceb2653Smrg ;; 47632ceb2653Smrg *) 47642ceb2653Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 47652ceb2653Smrgfor as_dir in $PATH 47662ceb2653Smrgdo 47672ceb2653Smrg IFS=$as_save_IFS 47682ceb2653Smrg test -z "$as_dir" && as_dir=. 47695cf18391Smrg for ac_exec_ext in '' $ac_executable_extensions; do 47702ceb2653Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 47712ceb2653Smrg ac_cv_path_BDFTOPCF="$as_dir/$ac_word$ac_exec_ext" 47725cf18391Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 47732ceb2653Smrg break 2 47742ceb2653Smrg fi 47752ceb2653Smrgdone 47765cf18391Smrg done 47772ceb2653SmrgIFS=$as_save_IFS 47782ceb2653Smrg 47792ceb2653Smrg ;; 47802ceb2653Smrgesac 47812ceb2653Smrgfi 47822ceb2653SmrgBDFTOPCF=$ac_cv_path_BDFTOPCF 47832ceb2653Smrgif test -n "$BDFTOPCF"; then 47845cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BDFTOPCF" >&5 47852ceb2653Smrg$as_echo "$BDFTOPCF" >&6; } 4786b7d53ee5Smrgelse 47875cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 47882ceb2653Smrg$as_echo "no" >&6; } 47892ceb2653Smrgfi 47902ceb2653Smrg 4791b7d53ee5Smrg 47925cf18391Smrg if test x"$BDFTOPCF" = x; then 47935cf18391Smrg as_fn_error $? "bdftopcf is required to build $PACKAGE_NAME." "$LINENO" 5 47942ceb2653Smrg fi 4795b7d53ee5Smrg 4796b7d53ee5Smrg 47975cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking font compression method" >&5 47982ceb2653Smrg$as_echo_n "checking font compression method... " >&6; } 4799b7d53ee5Smrg 48002ceb2653Smrg# Check whether --with-compression was given. 48015cf18391Smrgif test "${with_compression+set}" = set; then : 48022ceb2653Smrg withval=$with_compression; compression="$withval" 4803b7d53ee5Smrgelse 48042ceb2653Smrg compression="yes" 48052ceb2653Smrgfi 48062ceb2653Smrg 48072ceb2653Smrg if test x"$compression" = "xyes" ; then 48082ceb2653Smrg compression="gzip" 48092ceb2653Smrg fi 48105cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${compression}" >&5 48112ceb2653Smrg$as_echo "${compression}" >&6; } 48122ceb2653Smrg case ${compression} in 48132ceb2653Smrg *compress) COMPRESS_SUFFIX=".Z" ;; 48142ceb2653Smrg *gzip) COMPRESS_SUFFIX=".gz" ;; 48152ceb2653Smrg *bzip2) COMPRESS_SUFFIX=".bz2" ;; 48162ceb2653Smrg no|none) COMPRESS_SUFFIX="" ; COMPRESS="cat" ;; 48175cf18391Smrg *) as_fn_error $? "${compression} is not a supported compression method" "$LINENO" 5 ;; 48182ceb2653Smrg esac 48192ceb2653Smrg if test x"$COMPRESS_SUFFIX" != "x" ; then 48202ceb2653Smrg 48212ceb2653Smrg # Extract the first word of "${compression}", so it can be a program name with args. 48222ceb2653Smrgset dummy ${compression}; ac_word=$2 48235cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 48242ceb2653Smrg$as_echo_n "checking for $ac_word... " >&6; } 48255cf18391Smrgif ${ac_cv_path_COMPRESS+:} false; then : 48262ceb2653Smrg $as_echo_n "(cached) " >&6 48272ceb2653Smrgelse 48282ceb2653Smrg case $COMPRESS in 48292ceb2653Smrg [\\/]* | ?:[\\/]*) 48302ceb2653Smrg ac_cv_path_COMPRESS="$COMPRESS" # Let the user override the test with a path. 48312ceb2653Smrg ;; 48322ceb2653Smrg *) 48332ceb2653Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 48342ceb2653Smrgfor as_dir in $PATH 48352ceb2653Smrgdo 48362ceb2653Smrg IFS=$as_save_IFS 48372ceb2653Smrg test -z "$as_dir" && as_dir=. 48385cf18391Smrg for ac_exec_ext in '' $ac_executable_extensions; do 48392ceb2653Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 48402ceb2653Smrg ac_cv_path_COMPRESS="$as_dir/$ac_word$ac_exec_ext" 48415cf18391Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 48422ceb2653Smrg break 2 48432ceb2653Smrg fi 48442ceb2653Smrgdone 48455cf18391Smrg done 48462ceb2653SmrgIFS=$as_save_IFS 48472ceb2653Smrg 48482ceb2653Smrg ;; 48492ceb2653Smrgesac 48502ceb2653Smrgfi 48512ceb2653SmrgCOMPRESS=$ac_cv_path_COMPRESS 48522ceb2653Smrgif test -n "$COMPRESS"; then 48535cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $COMPRESS" >&5 48542ceb2653Smrg$as_echo "$COMPRESS" >&6; } 48552ceb2653Smrgelse 48565cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 48572ceb2653Smrg$as_echo "no" >&6; } 48582ceb2653Smrgfi 48592ceb2653Smrg 48602ceb2653Smrg 48615cf18391Smrg if test x"$COMPRESS" = x; then 48625cf18391Smrg as_fn_error $? "${compression} is required to build $PACKAGE_NAME." "$LINENO" 5 48632ceb2653Smrg fi 48642ceb2653Smrg 4865b7d53ee5Smrg fi 4866b7d53ee5Smrg 4867b7d53ee5Smrg 48682ceb2653Smrg 48692ceb2653Smrg 48702ceb2653Smrgac_config_files="$ac_config_files Makefile" 48712ceb2653Smrg 4872b7d53ee5Smrgcat >confcache <<\_ACEOF 4873b7d53ee5Smrg# This file is a shell script that caches the results of configure 4874b7d53ee5Smrg# tests run on this system so they can be shared between configure 4875b7d53ee5Smrg# scripts and configure runs, see configure's option --config-cache. 4876b7d53ee5Smrg# It is not useful on other systems. If it contains results you don't 4877b7d53ee5Smrg# want to keep, you may remove or edit it. 4878b7d53ee5Smrg# 4879b7d53ee5Smrg# config.status only pays attention to the cache file if you give it 4880b7d53ee5Smrg# the --recheck option to rerun configure. 4881b7d53ee5Smrg# 4882b7d53ee5Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when 4883b7d53ee5Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the 4884b7d53ee5Smrg# following values. 4885b7d53ee5Smrg 4886b7d53ee5Smrg_ACEOF 4887b7d53ee5Smrg 4888b7d53ee5Smrg# The following way of writing the cache mishandles newlines in values, 4889b7d53ee5Smrg# but we know of no workaround that is simple, portable, and efficient. 48902ceb2653Smrg# So, we kill variables containing newlines. 4891b7d53ee5Smrg# Ultrix sh set writes to stderr and can't be redirected directly, 4892b7d53ee5Smrg# and sets the high bit in the cache file unless we assign to the vars. 48932ceb2653Smrg( 48942ceb2653Smrg for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 48952ceb2653Smrg eval ac_val=\$$ac_var 48962ceb2653Smrg case $ac_val in #( 48972ceb2653Smrg *${as_nl}*) 48982ceb2653Smrg case $ac_var in #( 48995cf18391Smrg *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 49002ceb2653Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 49012ceb2653Smrg esac 49022ceb2653Smrg case $ac_var in #( 49032ceb2653Smrg _ | IFS | as_nl) ;; #( 49042ceb2653Smrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 49055cf18391Smrg *) { eval $ac_var=; unset $ac_var;} ;; 49062ceb2653Smrg esac ;; 49072ceb2653Smrg esac 49082ceb2653Smrg done 49092ceb2653Smrg 4910b7d53ee5Smrg (set) 2>&1 | 49112ceb2653Smrg case $as_nl`(ac_space=' '; set) 2>&1` in #( 49122ceb2653Smrg *${as_nl}ac_space=\ *) 49135cf18391Smrg # `set' does not quote correctly, so add quotes: double-quote 49145cf18391Smrg # substitution turns \\\\ into \\, and sed turns \\ into \. 4915b7d53ee5Smrg sed -n \ 4916b7d53ee5Smrg "s/'/'\\\\''/g; 4917b7d53ee5Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 49182ceb2653Smrg ;; #( 4919b7d53ee5Smrg *) 4920b7d53ee5Smrg # `set' quotes correctly as required by POSIX, so do not add quotes. 49212ceb2653Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 4922b7d53ee5Smrg ;; 49232ceb2653Smrg esac | 49242ceb2653Smrg sort 49252ceb2653Smrg) | 4926b7d53ee5Smrg sed ' 49272ceb2653Smrg /^ac_cv_env_/b end 4928b7d53ee5Smrg t clear 49292ceb2653Smrg :clear 4930b7d53ee5Smrg s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 4931b7d53ee5Smrg t end 49322ceb2653Smrg s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 49332ceb2653Smrg :end' >>confcache 49342ceb2653Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 49352ceb2653Smrg if test -w "$cache_file"; then 49365cf18391Smrg if test "x$cache_file" != "x/dev/null"; then 49375cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 49382ceb2653Smrg$as_echo "$as_me: updating cache $cache_file" >&6;} 49395cf18391Smrg if test ! -f "$cache_file" || test -h "$cache_file"; then 49405cf18391Smrg cat confcache >"$cache_file" 49415cf18391Smrg else 49425cf18391Smrg case $cache_file in #( 49435cf18391Smrg */* | ?:*) 49445cf18391Smrg mv -f confcache "$cache_file"$$ && 49455cf18391Smrg mv -f "$cache_file"$$ "$cache_file" ;; #( 49465cf18391Smrg *) 49475cf18391Smrg mv -f confcache "$cache_file" ;; 49485cf18391Smrg esac 49495cf18391Smrg fi 49505cf18391Smrg fi 4951b7d53ee5Smrg else 49525cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 49532ceb2653Smrg$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 4954b7d53ee5Smrg fi 4955b7d53ee5Smrgfi 4956b7d53ee5Smrgrm -f confcache 4957b7d53ee5Smrg 4958b7d53ee5Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix 4959b7d53ee5Smrg# Let make expand exec_prefix. 4960b7d53ee5Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 4961b7d53ee5Smrg 4962b7d53ee5Smrg# Transform confdefs.h into DEFS. 4963b7d53ee5Smrg# Protect against shell expansion while executing Makefile rules. 4964b7d53ee5Smrg# Protect against Makefile macro expansion. 4965b7d53ee5Smrg# 4966b7d53ee5Smrg# If the first sed substitution is executed (which looks for macros that 49672ceb2653Smrg# take arguments), then branch to the quote section. Otherwise, 4968b7d53ee5Smrg# look for a macro that doesn't take arguments. 49692ceb2653Smrgac_script=' 49702ceb2653Smrg:mline 49712ceb2653Smrg/\\$/{ 49722ceb2653Smrg N 49732ceb2653Smrg s,\\\n,, 49742ceb2653Smrg b mline 49752ceb2653Smrg} 4976b7d53ee5Smrgt clear 49772ceb2653Smrg:clear 49782ceb2653Smrgs/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 4979b7d53ee5Smrgt quote 49802ceb2653Smrgs/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 4981b7d53ee5Smrgt quote 49822ceb2653Smrgb any 49832ceb2653Smrg:quote 49842ceb2653Smrgs/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 49852ceb2653Smrgs/\[/\\&/g 49862ceb2653Smrgs/\]/\\&/g 49872ceb2653Smrgs/\$/$$/g 49882ceb2653SmrgH 49892ceb2653Smrg:any 49902ceb2653Smrg${ 49912ceb2653Smrg g 49922ceb2653Smrg s/^\n// 49932ceb2653Smrg s/\n/ /g 49942ceb2653Smrg p 49952ceb2653Smrg} 49962ceb2653Smrg' 49972ceb2653SmrgDEFS=`sed -n "$ac_script" confdefs.h` 4998b7d53ee5Smrg 4999b7d53ee5Smrg 5000b7d53ee5Smrgac_libobjs= 5001b7d53ee5Smrgac_ltlibobjs= 50025cf18391SmrgU= 5003b7d53ee5Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 5004b7d53ee5Smrg # 1. Remove the extension, and $U if already installed. 50052ceb2653Smrg ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 50062ceb2653Smrg ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 50072ceb2653Smrg # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 50082ceb2653Smrg # will be set to the directory where LIBOBJS objects are built. 50095cf18391Smrg as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 50105cf18391Smrg as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 5011b7d53ee5Smrgdone 5012b7d53ee5SmrgLIBOBJS=$ac_libobjs 5013b7d53ee5Smrg 5014b7d53ee5SmrgLTLIBOBJS=$ac_ltlibobjs 5015b7d53ee5Smrg 5016b7d53ee5Smrg 50172ceb2653Smrg if test -n "$EXEEXT"; then 50182ceb2653Smrg am__EXEEXT_TRUE= 50192ceb2653Smrg am__EXEEXT_FALSE='#' 50202ceb2653Smrgelse 50212ceb2653Smrg am__EXEEXT_TRUE='#' 50222ceb2653Smrg am__EXEEXT_FALSE= 50232ceb2653Smrgfi 50242ceb2653Smrg 5025b7d53ee5Smrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 50265cf18391Smrg as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 50275cf18391SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 50282ceb2653Smrgfi 50292ceb2653Smrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 50305cf18391Smrg as_fn_error $? "conditional \"AMDEP\" was never defined. 50315cf18391SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 50322ceb2653Smrgfi 50332ceb2653Smrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 50345cf18391Smrg as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 50355cf18391SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 5036b7d53ee5Smrgfi 5037b7d53ee5Smrg 50385cf18391Smrg: "${CONFIG_STATUS=./config.status}" 50392ceb2653Smrgac_write_fail=0 5040b7d53ee5Smrgac_clean_files_save=$ac_clean_files 5041b7d53ee5Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS" 50425cf18391Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 50432ceb2653Smrg$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 50445cf18391Smrgas_write_fail=0 50455cf18391Smrgcat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 5046b7d53ee5Smrg#! $SHELL 5047b7d53ee5Smrg# Generated by $as_me. 5048b7d53ee5Smrg# Run this file to recreate the current configuration. 5049b7d53ee5Smrg# Compiler output produced by configure, useful for debugging 5050b7d53ee5Smrg# configure, is in config.log if it exists. 5051b7d53ee5Smrg 5052b7d53ee5Smrgdebug=false 5053b7d53ee5Smrgac_cs_recheck=false 5054b7d53ee5Smrgac_cs_silent=false 5055b7d53ee5Smrg 50565cf18391SmrgSHELL=\${CONFIG_SHELL-$SHELL} 50575cf18391Smrgexport SHELL 50585cf18391Smrg_ASEOF 50595cf18391Smrgcat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 50605cf18391Smrg## -------------------- ## 50615cf18391Smrg## M4sh Initialization. ## 50625cf18391Smrg## -------------------- ## 5063b7d53ee5Smrg 50642ceb2653Smrg# Be more Bourne compatible 50652ceb2653SmrgDUALCASE=1; export DUALCASE # for MKS sh 50665cf18391Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 5067b7d53ee5Smrg emulate sh 5068b7d53ee5Smrg NULLCMD=: 50692ceb2653Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 5070b7d53ee5Smrg # is contrary to our usage. Disable this feature. 5071b7d53ee5Smrg alias -g '${1+"$@"}'='"$@"' 50722ceb2653Smrg setopt NO_GLOB_SUBST 50732ceb2653Smrgelse 50745cf18391Smrg case `(set -o) 2>/dev/null` in #( 50755cf18391Smrg *posix*) : 50765cf18391Smrg set -o posix ;; #( 50775cf18391Smrg *) : 50785cf18391Smrg ;; 50792ceb2653Smrgesac 50802ceb2653Smrgfi 50812ceb2653Smrg 50822ceb2653Smrg 50832ceb2653Smrgas_nl=' 50842ceb2653Smrg' 50852ceb2653Smrgexport as_nl 50862ceb2653Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 50872ceb2653Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 50882ceb2653Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 50892ceb2653Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 50905cf18391Smrg# Prefer a ksh shell builtin over an external printf program on Solaris, 50915cf18391Smrg# but without wasting forks for bash or zsh. 50925cf18391Smrgif test -z "$BASH_VERSION$ZSH_VERSION" \ 50935cf18391Smrg && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 50945cf18391Smrg as_echo='print -r --' 50955cf18391Smrg as_echo_n='print -rn --' 50965cf18391Smrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50972ceb2653Smrg as_echo='printf %s\n' 50982ceb2653Smrg as_echo_n='printf %s' 50992ceb2653Smrgelse 51002ceb2653Smrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 51012ceb2653Smrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 51022ceb2653Smrg as_echo_n='/usr/ucb/echo -n' 51032ceb2653Smrg else 51042ceb2653Smrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 51052ceb2653Smrg as_echo_n_body='eval 51062ceb2653Smrg arg=$1; 51075cf18391Smrg case $arg in #( 51082ceb2653Smrg *"$as_nl"*) 51092ceb2653Smrg expr "X$arg" : "X\\(.*\\)$as_nl"; 51102ceb2653Smrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 51112ceb2653Smrg esac; 51122ceb2653Smrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 51132ceb2653Smrg ' 51142ceb2653Smrg export as_echo_n_body 51152ceb2653Smrg as_echo_n='sh -c $as_echo_n_body as_echo' 51162ceb2653Smrg fi 51172ceb2653Smrg export as_echo_body 51182ceb2653Smrg as_echo='sh -c $as_echo_body as_echo' 51192ceb2653Smrgfi 51202ceb2653Smrg 51212ceb2653Smrg# The user is always right. 51222ceb2653Smrgif test "${PATH_SEPARATOR+set}" != set; then 51232ceb2653Smrg PATH_SEPARATOR=: 51242ceb2653Smrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 51252ceb2653Smrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 51262ceb2653Smrg PATH_SEPARATOR=';' 51272ceb2653Smrg } 5128b7d53ee5Smrgfi 5129b7d53ee5Smrg 5130b7d53ee5Smrg 51312ceb2653Smrg# IFS 51322ceb2653Smrg# We need space, tab and new line, in precisely that order. Quoting is 51332ceb2653Smrg# there to prevent editors from complaining about space-tab. 51342ceb2653Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 51352ceb2653Smrg# splitting by setting IFS to empty value.) 51362ceb2653SmrgIFS=" "" $as_nl" 51372ceb2653Smrg 51382ceb2653Smrg# Find who we are. Look in the path if we contain no directory separator. 51395cf18391Smrgas_myself= 51405cf18391Smrgcase $0 in #(( 51412ceb2653Smrg *[\\/]* ) as_myself=$0 ;; 51422ceb2653Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 51432ceb2653Smrgfor as_dir in $PATH 51442ceb2653Smrgdo 51452ceb2653Smrg IFS=$as_save_IFS 51462ceb2653Smrg test -z "$as_dir" && as_dir=. 51475cf18391Smrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 51485cf18391Smrg done 51492ceb2653SmrgIFS=$as_save_IFS 51502ceb2653Smrg 51512ceb2653Smrg ;; 51522ceb2653Smrgesac 51532ceb2653Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 51542ceb2653Smrg# in which case we are not to be found in the path. 51552ceb2653Smrgif test "x$as_myself" = x; then 51562ceb2653Smrg as_myself=$0 51572ceb2653Smrgfi 51582ceb2653Smrgif test ! -f "$as_myself"; then 51592ceb2653Smrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 51605cf18391Smrg exit 1 51612ceb2653Smrgfi 51622ceb2653Smrg 51635cf18391Smrg# Unset variables that we do not need and which cause bugs (e.g. in 51645cf18391Smrg# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 51655cf18391Smrg# suppresses any "Segmentation fault" message there. '((' could 51665cf18391Smrg# trigger a bug in pdksh 5.2.14. 51675cf18391Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH 51685cf18391Smrgdo eval test x\${$as_var+set} = xset \ 51695cf18391Smrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 51702ceb2653Smrgdone 5171b7d53ee5SmrgPS1='$ ' 5172b7d53ee5SmrgPS2='> ' 5173b7d53ee5SmrgPS4='+ ' 5174b7d53ee5Smrg 5175b7d53ee5Smrg# NLS nuisances. 51762ceb2653SmrgLC_ALL=C 51772ceb2653Smrgexport LC_ALL 51782ceb2653SmrgLANGUAGE=C 51792ceb2653Smrgexport LANGUAGE 5180b7d53ee5Smrg 51815cf18391Smrg# CDPATH. 51825cf18391Smrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 51835cf18391Smrg 51845cf18391Smrg 51855cf18391Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 51865cf18391Smrg# ---------------------------------------- 51875cf18391Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 51885cf18391Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 51895cf18391Smrg# script with STATUS, using 1 if that was 0. 51905cf18391Smrgas_fn_error () 51915cf18391Smrg{ 51925cf18391Smrg as_status=$1; test $as_status -eq 0 && as_status=1 51935cf18391Smrg if test "$4"; then 51945cf18391Smrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 51955cf18391Smrg $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 51965cf18391Smrg fi 51975cf18391Smrg $as_echo "$as_me: error: $2" >&2 51985cf18391Smrg as_fn_exit $as_status 51995cf18391Smrg} # as_fn_error 52005cf18391Smrg 52015cf18391Smrg 52025cf18391Smrg# as_fn_set_status STATUS 52035cf18391Smrg# ----------------------- 52045cf18391Smrg# Set $? to STATUS, without forking. 52055cf18391Smrgas_fn_set_status () 52065cf18391Smrg{ 52075cf18391Smrg return $1 52085cf18391Smrg} # as_fn_set_status 52095cf18391Smrg 52105cf18391Smrg# as_fn_exit STATUS 52115cf18391Smrg# ----------------- 52125cf18391Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 52135cf18391Smrgas_fn_exit () 52145cf18391Smrg{ 52155cf18391Smrg set +e 52165cf18391Smrg as_fn_set_status $1 52175cf18391Smrg exit $1 52185cf18391Smrg} # as_fn_exit 52195cf18391Smrg 52205cf18391Smrg# as_fn_unset VAR 52215cf18391Smrg# --------------- 52225cf18391Smrg# Portably unset VAR. 52235cf18391Smrgas_fn_unset () 52245cf18391Smrg{ 52255cf18391Smrg { eval $1=; unset $1;} 52265cf18391Smrg} 52275cf18391Smrgas_unset=as_fn_unset 52285cf18391Smrg# as_fn_append VAR VALUE 52295cf18391Smrg# ---------------------- 52305cf18391Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take 52315cf18391Smrg# advantage of any shell optimizations that allow amortized linear growth over 52325cf18391Smrg# repeated appends, instead of the typical quadratic growth present in naive 52335cf18391Smrg# implementations. 52345cf18391Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 52355cf18391Smrg eval 'as_fn_append () 52365cf18391Smrg { 52375cf18391Smrg eval $1+=\$2 52385cf18391Smrg }' 52395cf18391Smrgelse 52405cf18391Smrg as_fn_append () 52415cf18391Smrg { 52425cf18391Smrg eval $1=\$$1\$2 52435cf18391Smrg } 52445cf18391Smrgfi # as_fn_append 52455cf18391Smrg 52465cf18391Smrg# as_fn_arith ARG... 52475cf18391Smrg# ------------------ 52485cf18391Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the 52495cf18391Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 52505cf18391Smrg# must be portable across $(()) and expr. 52515cf18391Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 52525cf18391Smrg eval 'as_fn_arith () 52535cf18391Smrg { 52545cf18391Smrg as_val=$(( $* )) 52555cf18391Smrg }' 52565cf18391Smrgelse 52575cf18391Smrg as_fn_arith () 52585cf18391Smrg { 52595cf18391Smrg as_val=`expr "$@" || test $? -eq 1` 52605cf18391Smrg } 52615cf18391Smrgfi # as_fn_arith 52625cf18391Smrg 52635cf18391Smrg 52642ceb2653Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 52652ceb2653Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 5266b7d53ee5Smrg as_expr=expr 5267b7d53ee5Smrgelse 5268b7d53ee5Smrg as_expr=false 5269b7d53ee5Smrgfi 5270b7d53ee5Smrg 52712ceb2653Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 5272b7d53ee5Smrg as_basename=basename 5273b7d53ee5Smrgelse 5274b7d53ee5Smrg as_basename=false 5275b7d53ee5Smrgfi 5276b7d53ee5Smrg 52775cf18391Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 52785cf18391Smrg as_dirname=dirname 52795cf18391Smrgelse 52805cf18391Smrg as_dirname=false 52815cf18391Smrgfi 5282b7d53ee5Smrg 52832ceb2653Smrgas_me=`$as_basename -- "$0" || 5284b7d53ee5Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 5285b7d53ee5Smrg X"$0" : 'X\(//\)$' \| \ 52862ceb2653Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 52872ceb2653Smrg$as_echo X/"$0" | 52882ceb2653Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 52892ceb2653Smrg s//\1/ 52902ceb2653Smrg q 52912ceb2653Smrg } 52922ceb2653Smrg /^X\/\(\/\/\)$/{ 52932ceb2653Smrg s//\1/ 52942ceb2653Smrg q 52952ceb2653Smrg } 52962ceb2653Smrg /^X\/\(\/\).*/{ 52972ceb2653Smrg s//\1/ 52982ceb2653Smrg q 52992ceb2653Smrg } 53002ceb2653Smrg s/.*/./; q'` 5301b7d53ee5Smrg 53025cf18391Smrg# Avoid depending upon Character Ranges. 53035cf18391Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 53045cf18391Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 53055cf18391Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 53065cf18391Smrgas_cr_digits='0123456789' 53075cf18391Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 5308b7d53ee5Smrg 53092ceb2653SmrgECHO_C= ECHO_N= ECHO_T= 53105cf18391Smrgcase `echo -n x` in #((((( 53112ceb2653Smrg-n*) 53125cf18391Smrg case `echo 'xy\c'` in 53132ceb2653Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 53145cf18391Smrg xy) ECHO_C='\c';; 53155cf18391Smrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 53165cf18391Smrg ECHO_T=' ';; 53172ceb2653Smrg esac;; 53182ceb2653Smrg*) 53192ceb2653Smrg ECHO_N='-n';; 53202ceb2653Smrgesac 5321b7d53ee5Smrg 5322b7d53ee5Smrgrm -f conf$$ conf$$.exe conf$$.file 53232ceb2653Smrgif test -d conf$$.dir; then 53242ceb2653Smrg rm -f conf$$.dir/conf$$.file 53252ceb2653Smrgelse 53262ceb2653Smrg rm -f conf$$.dir 53272ceb2653Smrg mkdir conf$$.dir 2>/dev/null 53282ceb2653Smrgfi 53292ceb2653Smrgif (echo >conf$$.file) 2>/dev/null; then 53302ceb2653Smrg if ln -s conf$$.file conf$$ 2>/dev/null; then 5331b7d53ee5Smrg as_ln_s='ln -s' 53322ceb2653Smrg # ... but there are two gotchas: 53332ceb2653Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 53342ceb2653Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 53352ceb2653Smrg # In both cases, we have to default to `cp -p'. 53362ceb2653Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 53372ceb2653Smrg as_ln_s='cp -p' 53382ceb2653Smrg elif ln conf$$.file conf$$ 2>/dev/null; then 53392ceb2653Smrg as_ln_s=ln 53402ceb2653Smrg else 53412ceb2653Smrg as_ln_s='cp -p' 5342b7d53ee5Smrg fi 5343b7d53ee5Smrgelse 5344b7d53ee5Smrg as_ln_s='cp -p' 5345b7d53ee5Smrgfi 53462ceb2653Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 53472ceb2653Smrgrmdir conf$$.dir 2>/dev/null 5348b7d53ee5Smrg 53495cf18391Smrg 53505cf18391Smrg# as_fn_mkdir_p 53515cf18391Smrg# ------------- 53525cf18391Smrg# Create "$as_dir" as a directory, including parents if necessary. 53535cf18391Smrgas_fn_mkdir_p () 53545cf18391Smrg{ 53555cf18391Smrg 53565cf18391Smrg case $as_dir in #( 53575cf18391Smrg -*) as_dir=./$as_dir;; 53585cf18391Smrg esac 53595cf18391Smrg test -d "$as_dir" || eval $as_mkdir_p || { 53605cf18391Smrg as_dirs= 53615cf18391Smrg while :; do 53625cf18391Smrg case $as_dir in #( 53635cf18391Smrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 53645cf18391Smrg *) as_qdir=$as_dir;; 53655cf18391Smrg esac 53665cf18391Smrg as_dirs="'$as_qdir' $as_dirs" 53675cf18391Smrg as_dir=`$as_dirname -- "$as_dir" || 53685cf18391Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 53695cf18391Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 53705cf18391Smrg X"$as_dir" : 'X\(//\)$' \| \ 53715cf18391Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 53725cf18391Smrg$as_echo X"$as_dir" | 53735cf18391Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 53745cf18391Smrg s//\1/ 53755cf18391Smrg q 53765cf18391Smrg } 53775cf18391Smrg /^X\(\/\/\)[^/].*/{ 53785cf18391Smrg s//\1/ 53795cf18391Smrg q 53805cf18391Smrg } 53815cf18391Smrg /^X\(\/\/\)$/{ 53825cf18391Smrg s//\1/ 53835cf18391Smrg q 53845cf18391Smrg } 53855cf18391Smrg /^X\(\/\).*/{ 53865cf18391Smrg s//\1/ 53875cf18391Smrg q 53885cf18391Smrg } 53895cf18391Smrg s/.*/./; q'` 53905cf18391Smrg test -d "$as_dir" && break 53915cf18391Smrg done 53925cf18391Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 53935cf18391Smrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 53945cf18391Smrg 53955cf18391Smrg 53965cf18391Smrg} # as_fn_mkdir_p 5397b7d53ee5Smrgif mkdir -p . 2>/dev/null; then 53985cf18391Smrg as_mkdir_p='mkdir -p "$as_dir"' 5399b7d53ee5Smrgelse 5400b7d53ee5Smrg test -d ./-p && rmdir ./-p 5401b7d53ee5Smrg as_mkdir_p=false 5402b7d53ee5Smrgfi 5403b7d53ee5Smrg 54042ceb2653Smrgif test -x / >/dev/null 2>&1; then 54052ceb2653Smrg as_test_x='test -x' 54062ceb2653Smrgelse 54072ceb2653Smrg if ls -dL / >/dev/null 2>&1; then 54082ceb2653Smrg as_ls_L_option=L 54092ceb2653Smrg else 54102ceb2653Smrg as_ls_L_option= 54112ceb2653Smrg fi 54122ceb2653Smrg as_test_x=' 54132ceb2653Smrg eval sh -c '\'' 54142ceb2653Smrg if test -d "$1"; then 54152ceb2653Smrg test -d "$1/."; 54162ceb2653Smrg else 54175cf18391Smrg case $1 in #( 54182ceb2653Smrg -*)set "./$1";; 54192ceb2653Smrg esac; 54205cf18391Smrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 54212ceb2653Smrg ???[sx]*):;;*)false;;esac;fi 54222ceb2653Smrg '\'' sh 54232ceb2653Smrg ' 54242ceb2653Smrgfi 54252ceb2653Smrgas_executable_p=$as_test_x 5426b7d53ee5Smrg 5427b7d53ee5Smrg# Sed expression to map a string onto a valid CPP name. 5428b7d53ee5Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5429b7d53ee5Smrg 5430b7d53ee5Smrg# Sed expression to map a string onto a valid variable name. 5431b7d53ee5Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5432b7d53ee5Smrg 5433b7d53ee5Smrg 5434b7d53ee5Smrgexec 6>&1 54355cf18391Smrg## ----------------------------------- ## 54365cf18391Smrg## Main body of $CONFIG_STATUS script. ## 54375cf18391Smrg## ----------------------------------- ## 54385cf18391Smrg_ASEOF 54395cf18391Smrgtest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 5440b7d53ee5Smrg 54415cf18391Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 54425cf18391Smrg# Save the log message, to keep $0 and so on meaningful, and to 5443b7d53ee5Smrg# report actual input values of CONFIG_FILES etc. instead of their 54442ceb2653Smrg# values after options handling. 54452ceb2653Smrgac_log=" 54465cf18391SmrgThis file was extended by font-dec-misc $as_me 1.0.3, which was 54475cf18391Smrggenerated by GNU Autoconf 2.68. Invocation command line was 5448b7d53ee5Smrg 5449b7d53ee5Smrg CONFIG_FILES = $CONFIG_FILES 5450b7d53ee5Smrg CONFIG_HEADERS = $CONFIG_HEADERS 5451b7d53ee5Smrg CONFIG_LINKS = $CONFIG_LINKS 5452b7d53ee5Smrg CONFIG_COMMANDS = $CONFIG_COMMANDS 5453b7d53ee5Smrg $ $0 $@ 5454b7d53ee5Smrg 54552ceb2653Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q` 54562ceb2653Smrg" 54572ceb2653Smrg 5458b7d53ee5Smrg_ACEOF 5459b7d53ee5Smrg 54602ceb2653Smrgcase $ac_config_files in *" 54612ceb2653Smrg"*) set x $ac_config_files; shift; ac_config_files=$*;; 54622ceb2653Smrgesac 5463b7d53ee5Smrg 5464b7d53ee5Smrg 5465b7d53ee5Smrg 54662ceb2653Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 54672ceb2653Smrg# Files that config.status was made for. 54682ceb2653Smrgconfig_files="$ac_config_files" 54692ceb2653Smrgconfig_commands="$ac_config_commands" 5470b7d53ee5Smrg 54712ceb2653Smrg_ACEOF 5472b7d53ee5Smrg 54732ceb2653Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5474b7d53ee5Smrgac_cs_usage="\ 54755cf18391Smrg\`$as_me' instantiates files and other configuration actions 54765cf18391Smrgfrom templates according to the current configuration. Unless the files 54775cf18391Smrgand actions are specified as TAGs, all are instantiated by default. 5478b7d53ee5Smrg 54795cf18391SmrgUsage: $0 [OPTION]... [TAG]... 5480b7d53ee5Smrg 5481b7d53ee5Smrg -h, --help print this help, then exit 54822ceb2653Smrg -V, --version print version number and configuration settings, then exit 54835cf18391Smrg --config print configuration, then exit 54842ceb2653Smrg -q, --quiet, --silent 54852ceb2653Smrg do not print progress messages 5486b7d53ee5Smrg -d, --debug don't remove temporary files 5487b7d53ee5Smrg --recheck update $as_me by reconfiguring in the same conditions 54882ceb2653Smrg --file=FILE[:TEMPLATE] 54892ceb2653Smrg instantiate the configuration file FILE 5490b7d53ee5Smrg 5491b7d53ee5SmrgConfiguration files: 5492b7d53ee5Smrg$config_files 5493b7d53ee5Smrg 54942ceb2653SmrgConfiguration commands: 54952ceb2653Smrg$config_commands 54962ceb2653Smrg 54975cf18391SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>." 5498b7d53ee5Smrg 54992ceb2653Smrg_ACEOF 55002ceb2653Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 55015cf18391Smrgac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 5502b7d53ee5Smrgac_cs_version="\\ 55035cf18391Smrgfont-dec-misc config.status 1.0.3 55045cf18391Smrgconfigured by $0, generated by GNU Autoconf 2.68, 55055cf18391Smrg with options \\"\$ac_cs_config\\" 5506b7d53ee5Smrg 55075cf18391SmrgCopyright (C) 2010 Free Software Foundation, Inc. 5508b7d53ee5SmrgThis config.status script is free software; the Free Software Foundation 5509b7d53ee5Smrggives unlimited permission to copy, distribute and modify it." 55102ceb2653Smrg 55112ceb2653Smrgac_pwd='$ac_pwd' 55122ceb2653Smrgsrcdir='$srcdir' 55132ceb2653SmrgINSTALL='$INSTALL' 55142ceb2653SmrgMKDIR_P='$MKDIR_P' 55152ceb2653SmrgAWK='$AWK' 55162ceb2653Smrgtest -n "\$AWK" || AWK=awk 5517b7d53ee5Smrg_ACEOF 5518b7d53ee5Smrg 55192ceb2653Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 55202ceb2653Smrg# The default lists apply if the user does not specify any file. 5521b7d53ee5Smrgac_need_defaults=: 5522b7d53ee5Smrgwhile test $# != 0 5523b7d53ee5Smrgdo 5524b7d53ee5Smrg case $1 in 55255cf18391Smrg --*=?*) 55262ceb2653Smrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 55272ceb2653Smrg ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 5528b7d53ee5Smrg ac_shift=: 5529b7d53ee5Smrg ;; 55305cf18391Smrg --*=) 55315cf18391Smrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 55325cf18391Smrg ac_optarg= 55335cf18391Smrg ac_shift=: 55345cf18391Smrg ;; 55352ceb2653Smrg *) 5536b7d53ee5Smrg ac_option=$1 5537b7d53ee5Smrg ac_optarg=$2 5538b7d53ee5Smrg ac_shift=shift 5539b7d53ee5Smrg ;; 5540b7d53ee5Smrg esac 5541b7d53ee5Smrg 5542b7d53ee5Smrg case $ac_option in 5543b7d53ee5Smrg # Handling of the options. 5544b7d53ee5Smrg -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 5545b7d53ee5Smrg ac_cs_recheck=: ;; 55462ceb2653Smrg --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 55472ceb2653Smrg $as_echo "$ac_cs_version"; exit ;; 55485cf18391Smrg --config | --confi | --conf | --con | --co | --c ) 55495cf18391Smrg $as_echo "$ac_cs_config"; exit ;; 55502ceb2653Smrg --debug | --debu | --deb | --de | --d | -d ) 5551b7d53ee5Smrg debug=: ;; 5552b7d53ee5Smrg --file | --fil | --fi | --f ) 5553b7d53ee5Smrg $ac_shift 55542ceb2653Smrg case $ac_optarg in 55552ceb2653Smrg *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 55565cf18391Smrg '') as_fn_error $? "missing file argument" ;; 55572ceb2653Smrg esac 55585cf18391Smrg as_fn_append CONFIG_FILES " '$ac_optarg'" 5559b7d53ee5Smrg ac_need_defaults=false;; 55602ceb2653Smrg --he | --h | --help | --hel | -h ) 55612ceb2653Smrg $as_echo "$ac_cs_usage"; exit ;; 5562b7d53ee5Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 5563b7d53ee5Smrg | -silent | --silent | --silen | --sile | --sil | --si | --s) 5564b7d53ee5Smrg ac_cs_silent=: ;; 5565b7d53ee5Smrg 5566b7d53ee5Smrg # This is an error. 55675cf18391Smrg -*) as_fn_error $? "unrecognized option: \`$1' 55685cf18391SmrgTry \`$0 --help' for more information." ;; 5569b7d53ee5Smrg 55705cf18391Smrg *) as_fn_append ac_config_targets " $1" 55712ceb2653Smrg ac_need_defaults=false ;; 5572b7d53ee5Smrg 5573b7d53ee5Smrg esac 5574b7d53ee5Smrg shift 5575b7d53ee5Smrgdone 5576b7d53ee5Smrg 5577b7d53ee5Smrgac_configure_extra_args= 5578b7d53ee5Smrg 5579b7d53ee5Smrgif $ac_cs_silent; then 5580b7d53ee5Smrg exec 6>/dev/null 5581b7d53ee5Smrg ac_configure_extra_args="$ac_configure_extra_args --silent" 5582b7d53ee5Smrgfi 5583b7d53ee5Smrg 5584b7d53ee5Smrg_ACEOF 55852ceb2653Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5586b7d53ee5Smrgif \$ac_cs_recheck; then 55872ceb2653Smrg set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 55882ceb2653Smrg shift 55892ceb2653Smrg \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 55902ceb2653Smrg CONFIG_SHELL='$SHELL' 55912ceb2653Smrg export CONFIG_SHELL 55922ceb2653Smrg exec "\$@" 5593b7d53ee5Smrgfi 5594b7d53ee5Smrg 5595b7d53ee5Smrg_ACEOF 55962ceb2653Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 55972ceb2653Smrgexec 5>>config.log 55982ceb2653Smrg{ 55992ceb2653Smrg echo 56002ceb2653Smrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 56012ceb2653Smrg## Running $as_me. ## 56022ceb2653Smrg_ASBOX 56032ceb2653Smrg $as_echo "$ac_log" 56042ceb2653Smrg} >&5 5605b7d53ee5Smrg 56062ceb2653Smrg_ACEOF 56072ceb2653Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 56082ceb2653Smrg# 56092ceb2653Smrg# INIT-COMMANDS 56102ceb2653Smrg# 56112ceb2653SmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 5612b7d53ee5Smrg 56132ceb2653Smrg_ACEOF 5614b7d53ee5Smrg 56152ceb2653Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5616b7d53ee5Smrg 56172ceb2653Smrg# Handling of arguments. 5618b7d53ee5Smrgfor ac_config_target in $ac_config_targets 5619b7d53ee5Smrgdo 56202ceb2653Smrg case $ac_config_target in 56212ceb2653Smrg "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 56222ceb2653Smrg "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 56232ceb2653Smrg 56245cf18391Smrg *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 5625b7d53ee5Smrg esac 5626b7d53ee5Smrgdone 5627b7d53ee5Smrg 56282ceb2653Smrg 5629b7d53ee5Smrg# If the user did not use the arguments to specify the items to instantiate, 5630b7d53ee5Smrg# then the envvar interface is used. Set only those that are not. 5631b7d53ee5Smrg# We use the long form for the default assignment because of an extremely 5632b7d53ee5Smrg# bizarre bug on SunOS 4.1.3. 5633b7d53ee5Smrgif $ac_need_defaults; then 5634b7d53ee5Smrg test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 56352ceb2653Smrg test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 5636b7d53ee5Smrgfi 5637b7d53ee5Smrg 5638b7d53ee5Smrg# Have a temporary directory for convenience. Make it in the build tree 56392ceb2653Smrg# simply because there is no reason against having it here, and in addition, 5640b7d53ee5Smrg# creating and moving files from /tmp can sometimes cause problems. 56412ceb2653Smrg# Hook for its removal unless debugging. 56422ceb2653Smrg# Note that there is a small window in which the directory will not be cleaned: 56432ceb2653Smrg# after its creation but before its name has been assigned to `$tmp'. 5644b7d53ee5Smrg$debug || 5645b7d53ee5Smrg{ 56465cf18391Smrg tmp= ac_tmp= 56472ceb2653Smrg trap 'exit_status=$? 56485cf18391Smrg : "${ac_tmp:=$tmp}" 56495cf18391Smrg { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 56502ceb2653Smrg' 0 56515cf18391Smrg trap 'as_fn_exit 1' 1 2 13 15 5652b7d53ee5Smrg} 5653b7d53ee5Smrg# Create a (secure) tmp directory for tmp files. 5654b7d53ee5Smrg 5655b7d53ee5Smrg{ 56562ceb2653Smrg tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 56575cf18391Smrg test -d "$tmp" 5658b7d53ee5Smrg} || 5659b7d53ee5Smrg{ 56602ceb2653Smrg tmp=./conf$$-$RANDOM 56612ceb2653Smrg (umask 077 && mkdir "$tmp") 56625cf18391Smrg} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 56635cf18391Smrgac_tmp=$tmp 5664b7d53ee5Smrg 56652ceb2653Smrg# Set up the scripts for CONFIG_FILES section. 56662ceb2653Smrg# No need to generate them if there are no CONFIG_FILES. 56672ceb2653Smrg# This happens for instance with `./config.status config.h'. 56682ceb2653Smrgif test -n "$CONFIG_FILES"; then 56692ceb2653Smrg 56702ceb2653Smrg 56715cf18391Smrgac_cr=`echo X | tr X '\015'` 56725cf18391Smrg# On cygwin, bash can eat \r inside `` if the user requested igncr. 56735cf18391Smrg# But we know of no other shell where ac_cr would be empty at this 56745cf18391Smrg# point, so we can use a bashism as a fallback. 56755cf18391Smrgif test "x$ac_cr" = x; then 56765cf18391Smrg eval ac_cr=\$\'\\r\' 56775cf18391Smrgfi 56782ceb2653Smrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 56792ceb2653Smrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 56802ceb2653Smrg ac_cs_awk_cr='\\r' 56812ceb2653Smrgelse 56822ceb2653Smrg ac_cs_awk_cr=$ac_cr 56832ceb2653Smrgfi 56842ceb2653Smrg 56855cf18391Smrgecho 'BEGIN {' >"$ac_tmp/subs1.awk" && 5686b7d53ee5Smrg_ACEOF 5687b7d53ee5Smrg 5688b7d53ee5Smrg 56892ceb2653Smrg{ 56902ceb2653Smrg echo "cat >conf$$subs.awk <<_ACEOF" && 56912ceb2653Smrg echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 56922ceb2653Smrg echo "_ACEOF" 56932ceb2653Smrg} >conf$$subs.sh || 56945cf18391Smrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 56955cf18391Smrgac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 56962ceb2653Smrgac_delim='%!_!# ' 56972ceb2653Smrgfor ac_last_try in false false false false false :; do 56982ceb2653Smrg . ./conf$$subs.sh || 56995cf18391Smrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5700b7d53ee5Smrg 57012ceb2653Smrg ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 57022ceb2653Smrg if test $ac_delim_n = $ac_delim_num; then 57032ceb2653Smrg break 57042ceb2653Smrg elif $ac_last_try; then 57055cf18391Smrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 57062ceb2653Smrg else 57072ceb2653Smrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 5708b7d53ee5Smrg fi 57092ceb2653Smrgdone 57102ceb2653Smrgrm -f conf$$subs.sh 5711b7d53ee5Smrg 57122ceb2653Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 57135cf18391Smrgcat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 5714b7d53ee5Smrg_ACEOF 57152ceb2653Smrgsed -n ' 57162ceb2653Smrgh 57172ceb2653Smrgs/^/S["/; s/!.*/"]=/ 57182ceb2653Smrgp 57192ceb2653Smrgg 57202ceb2653Smrgs/^[^!]*!// 57212ceb2653Smrg:repl 57222ceb2653Smrgt repl 57232ceb2653Smrgs/'"$ac_delim"'$// 57242ceb2653Smrgt delim 57252ceb2653Smrg:nl 57262ceb2653Smrgh 57275cf18391Smrgs/\(.\{148\}\)..*/\1/ 57282ceb2653Smrgt more1 57292ceb2653Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 57302ceb2653Smrgp 57312ceb2653Smrgn 57322ceb2653Smrgb repl 57332ceb2653Smrg:more1 57342ceb2653Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 57352ceb2653Smrgp 57362ceb2653Smrgg 57372ceb2653Smrgs/.\{148\}// 57382ceb2653Smrgt nl 57392ceb2653Smrg:delim 57402ceb2653Smrgh 57415cf18391Smrgs/\(.\{148\}\)..*/\1/ 57422ceb2653Smrgt more2 57432ceb2653Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/ 57442ceb2653Smrgp 57452ceb2653Smrgb 57462ceb2653Smrg:more2 57472ceb2653Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 57482ceb2653Smrgp 57492ceb2653Smrgg 57502ceb2653Smrgs/.\{148\}// 57512ceb2653Smrgt delim 57522ceb2653Smrg' <conf$$subs.awk | sed ' 57532ceb2653Smrg/^[^""]/{ 57542ceb2653Smrg N 57552ceb2653Smrg s/\n// 57562ceb2653Smrg} 57572ceb2653Smrg' >>$CONFIG_STATUS || ac_write_fail=1 57582ceb2653Smrgrm -f conf$$subs.awk 57592ceb2653Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 57602ceb2653Smrg_ACAWK 57615cf18391Smrgcat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 57622ceb2653Smrg for (key in S) S_is_set[key] = 1 57632ceb2653Smrg FS = "" 57642ceb2653Smrg 57652ceb2653Smrg} 57662ceb2653Smrg{ 57672ceb2653Smrg line = $ 0 57682ceb2653Smrg nfields = split(line, field, "@") 57692ceb2653Smrg substed = 0 57702ceb2653Smrg len = length(field[1]) 57712ceb2653Smrg for (i = 2; i < nfields; i++) { 57722ceb2653Smrg key = field[i] 57732ceb2653Smrg keylen = length(key) 57742ceb2653Smrg if (S_is_set[key]) { 57752ceb2653Smrg value = S[key] 57762ceb2653Smrg line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 57772ceb2653Smrg len += length(value) + length(field[++i]) 57782ceb2653Smrg substed = 1 57792ceb2653Smrg } else 57802ceb2653Smrg len += 1 + keylen 57812ceb2653Smrg } 57822ceb2653Smrg 57832ceb2653Smrg print line 57842ceb2653Smrg} 57852ceb2653Smrg 57862ceb2653Smrg_ACAWK 57872ceb2653Smrg_ACEOF 57882ceb2653Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 57892ceb2653Smrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 57902ceb2653Smrg sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 57912ceb2653Smrgelse 57922ceb2653Smrg cat 57935cf18391Smrgfi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 57945cf18391Smrg || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 57952ceb2653Smrg_ACEOF 57962ceb2653Smrg 57975cf18391Smrg# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 57985cf18391Smrg# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 57992ceb2653Smrg# trailing colons and then remove the whole line if VPATH becomes empty 58002ceb2653Smrg# (actually we leave an empty line to preserve line numbers). 58012ceb2653Smrgif test "x$srcdir" = x.; then 58025cf18391Smrg ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 58035cf18391Smrgh 58045cf18391Smrgs/// 58055cf18391Smrgs/^/:/ 58065cf18391Smrgs/[ ]*$/:/ 58075cf18391Smrgs/:\$(srcdir):/:/g 58085cf18391Smrgs/:\${srcdir}:/:/g 58095cf18391Smrgs/:@srcdir@:/:/g 58105cf18391Smrgs/^:*// 58112ceb2653Smrgs/:*$// 58125cf18391Smrgx 58135cf18391Smrgs/\(=[ ]*\).*/\1/ 58145cf18391SmrgG 58155cf18391Smrgs/\n// 58162ceb2653Smrgs/^[^=]*=[ ]*$// 58172ceb2653Smrg}' 58182ceb2653Smrgfi 58192ceb2653Smrg 58202ceb2653Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 58212ceb2653Smrgfi # test -n "$CONFIG_FILES" 58222ceb2653Smrg 58232ceb2653Smrg 58242ceb2653Smrgeval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" 58252ceb2653Smrgshift 58262ceb2653Smrgfor ac_tag 58272ceb2653Smrgdo 58282ceb2653Smrg case $ac_tag in 58292ceb2653Smrg :[FHLC]) ac_mode=$ac_tag; continue;; 58302ceb2653Smrg esac 58312ceb2653Smrg case $ac_mode$ac_tag in 58322ceb2653Smrg :[FHL]*:*);; 58335cf18391Smrg :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 58342ceb2653Smrg :[FH]-) ac_tag=-:-;; 58352ceb2653Smrg :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 58362ceb2653Smrg esac 58372ceb2653Smrg ac_save_IFS=$IFS 58382ceb2653Smrg IFS=: 58392ceb2653Smrg set x $ac_tag 58402ceb2653Smrg IFS=$ac_save_IFS 58412ceb2653Smrg shift 58422ceb2653Smrg ac_file=$1 58432ceb2653Smrg shift 58442ceb2653Smrg 58452ceb2653Smrg case $ac_mode in 58462ceb2653Smrg :L) ac_source=$1;; 58472ceb2653Smrg :[FH]) 58482ceb2653Smrg ac_file_inputs= 58492ceb2653Smrg for ac_f 58502ceb2653Smrg do 58512ceb2653Smrg case $ac_f in 58525cf18391Smrg -) ac_f="$ac_tmp/stdin";; 58532ceb2653Smrg *) # Look for the file first in the build tree, then in the source tree 58542ceb2653Smrg # (if the path is not absolute). The absolute path cannot be DOS-style, 58552ceb2653Smrg # because $ac_f cannot contain `:'. 58562ceb2653Smrg test -f "$ac_f" || 58572ceb2653Smrg case $ac_f in 58582ceb2653Smrg [\\/$]*) false;; 58592ceb2653Smrg *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 58602ceb2653Smrg esac || 58615cf18391Smrg as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 58622ceb2653Smrg esac 58632ceb2653Smrg case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 58645cf18391Smrg as_fn_append ac_file_inputs " '$ac_f'" 58652ceb2653Smrg done 58662ceb2653Smrg 58672ceb2653Smrg # Let's still pretend it is `configure' which instantiates (i.e., don't 58682ceb2653Smrg # use $as_me), people would be surprised to read: 58692ceb2653Smrg # /* config.h. Generated by config.status. */ 58702ceb2653Smrg configure_input='Generated from '` 58712ceb2653Smrg $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 58722ceb2653Smrg `' by configure.' 58732ceb2653Smrg if test x"$ac_file" != x-; then 58742ceb2653Smrg configure_input="$ac_file. $configure_input" 58755cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 58762ceb2653Smrg$as_echo "$as_me: creating $ac_file" >&6;} 58772ceb2653Smrg fi 58782ceb2653Smrg # Neutralize special characters interpreted by sed in replacement strings. 58792ceb2653Smrg case $configure_input in #( 58802ceb2653Smrg *\&* | *\|* | *\\* ) 58812ceb2653Smrg ac_sed_conf_input=`$as_echo "$configure_input" | 58822ceb2653Smrg sed 's/[\\\\&|]/\\\\&/g'`;; #( 58832ceb2653Smrg *) ac_sed_conf_input=$configure_input;; 58842ceb2653Smrg esac 58852ceb2653Smrg 58862ceb2653Smrg case $ac_tag in 58875cf18391Smrg *:-:* | *:-) cat >"$ac_tmp/stdin" \ 58885cf18391Smrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 58892ceb2653Smrg esac 58902ceb2653Smrg ;; 5891b7d53ee5Smrg esac 5892b7d53ee5Smrg 58932ceb2653Smrg ac_dir=`$as_dirname -- "$ac_file" || 5894b7d53ee5Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5895b7d53ee5Smrg X"$ac_file" : 'X\(//\)[^/]' \| \ 5896b7d53ee5Smrg X"$ac_file" : 'X\(//\)$' \| \ 58972ceb2653Smrg X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 58982ceb2653Smrg$as_echo X"$ac_file" | 58992ceb2653Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 59002ceb2653Smrg s//\1/ 59012ceb2653Smrg q 59022ceb2653Smrg } 59032ceb2653Smrg /^X\(\/\/\)[^/].*/{ 59042ceb2653Smrg s//\1/ 59052ceb2653Smrg q 59062ceb2653Smrg } 59072ceb2653Smrg /^X\(\/\/\)$/{ 59082ceb2653Smrg s//\1/ 59092ceb2653Smrg q 59102ceb2653Smrg } 59112ceb2653Smrg /^X\(\/\).*/{ 59122ceb2653Smrg s//\1/ 59132ceb2653Smrg q 59142ceb2653Smrg } 59152ceb2653Smrg s/.*/./; q'` 59165cf18391Smrg as_dir="$ac_dir"; as_fn_mkdir_p 5917b7d53ee5Smrg ac_builddir=. 5918b7d53ee5Smrg 59192ceb2653Smrgcase "$ac_dir" in 59202ceb2653Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 59212ceb2653Smrg*) 59222ceb2653Smrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 59232ceb2653Smrg # A ".." for each directory in $ac_dir_suffix. 59242ceb2653Smrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 59252ceb2653Smrg case $ac_top_builddir_sub in 59262ceb2653Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 59272ceb2653Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 59282ceb2653Smrg esac ;; 59292ceb2653Smrgesac 59302ceb2653Smrgac_abs_top_builddir=$ac_pwd 59312ceb2653Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 59322ceb2653Smrg# for backward compatibility: 59332ceb2653Smrgac_top_builddir=$ac_top_build_prefix 5934b7d53ee5Smrg 5935b7d53ee5Smrgcase $srcdir in 59362ceb2653Smrg .) # We are building in place. 5937b7d53ee5Smrg ac_srcdir=. 59382ceb2653Smrg ac_top_srcdir=$ac_top_builddir_sub 59392ceb2653Smrg ac_abs_top_srcdir=$ac_pwd ;; 59402ceb2653Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 5941b7d53ee5Smrg ac_srcdir=$srcdir$ac_dir_suffix; 59422ceb2653Smrg ac_top_srcdir=$srcdir 59432ceb2653Smrg ac_abs_top_srcdir=$srcdir ;; 59442ceb2653Smrg *) # Relative name. 59452ceb2653Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 59462ceb2653Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 59472ceb2653Smrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 5948b7d53ee5Smrgesac 59492ceb2653Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 5950b7d53ee5Smrg 5951b7d53ee5Smrg 59522ceb2653Smrg case $ac_mode in 59532ceb2653Smrg :F) 59542ceb2653Smrg # 59552ceb2653Smrg # CONFIG_FILE 59562ceb2653Smrg # 5957b7d53ee5Smrg 5958b7d53ee5Smrg case $INSTALL in 5959b7d53ee5Smrg [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 59602ceb2653Smrg *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 5961b7d53ee5Smrg esac 59622ceb2653Smrg ac_MKDIR_P=$MKDIR_P 59632ceb2653Smrg case $MKDIR_P in 59642ceb2653Smrg [\\/$]* | ?:[\\/]* ) ;; 59652ceb2653Smrg */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 59662ceb2653Smrg esac 59672ceb2653Smrg_ACEOF 5968b7d53ee5Smrg 59692ceb2653Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 59702ceb2653Smrg# If the template does not know about datarootdir, expand it. 59712ceb2653Smrg# FIXME: This hack should be removed a few years after 2.60. 59722ceb2653Smrgac_datarootdir_hack=; ac_datarootdir_seen= 59732ceb2653Smrgac_sed_dataroot=' 59742ceb2653Smrg/datarootdir/ { 59752ceb2653Smrg p 59762ceb2653Smrg q 59772ceb2653Smrg} 59782ceb2653Smrg/@datadir@/p 59792ceb2653Smrg/@docdir@/p 59802ceb2653Smrg/@infodir@/p 59812ceb2653Smrg/@localedir@/p 59825cf18391Smrg/@mandir@/p' 59832ceb2653Smrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 59842ceb2653Smrg*datarootdir*) ac_datarootdir_seen=yes;; 59852ceb2653Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 59865cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 59872ceb2653Smrg$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 59882ceb2653Smrg_ACEOF 59892ceb2653Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 59902ceb2653Smrg ac_datarootdir_hack=' 59912ceb2653Smrg s&@datadir@&$datadir&g 59922ceb2653Smrg s&@docdir@&$docdir&g 59932ceb2653Smrg s&@infodir@&$infodir&g 59942ceb2653Smrg s&@localedir@&$localedir&g 59952ceb2653Smrg s&@mandir@&$mandir&g 59965cf18391Smrg s&\\\${datarootdir}&$datarootdir&g' ;; 59972ceb2653Smrgesac 5998b7d53ee5Smrg_ACEOF 59992ceb2653Smrg 60002ceb2653Smrg# Neutralize VPATH when `$srcdir' = `.'. 60012ceb2653Smrg# Shell code in configure.ac might set extrasub. 60022ceb2653Smrg# FIXME: do we really want to maintain this feature? 60032ceb2653Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 60042ceb2653Smrgac_sed_extra="$ac_vpsub 6005b7d53ee5Smrg$extrasub 6006b7d53ee5Smrg_ACEOF 60072ceb2653Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6008b7d53ee5Smrg:t 6009b7d53ee5Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 60102ceb2653Smrgs|@configure_input@|$ac_sed_conf_input|;t t 60112ceb2653Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t 60122ceb2653Smrgs&@top_build_prefix@&$ac_top_build_prefix&;t t 60132ceb2653Smrgs&@srcdir@&$ac_srcdir&;t t 60142ceb2653Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t 60152ceb2653Smrgs&@top_srcdir@&$ac_top_srcdir&;t t 60162ceb2653Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 60172ceb2653Smrgs&@builddir@&$ac_builddir&;t t 60182ceb2653Smrgs&@abs_builddir@&$ac_abs_builddir&;t t 60192ceb2653Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t 60202ceb2653Smrgs&@INSTALL@&$ac_INSTALL&;t t 60212ceb2653Smrgs&@MKDIR_P@&$ac_MKDIR_P&;t t 60222ceb2653Smrg$ac_datarootdir_hack 60232ceb2653Smrg" 60245cf18391Smrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 60255cf18391Smrg >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 6026b7d53ee5Smrg 60272ceb2653Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 60285cf18391Smrg { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 60295cf18391Smrg { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 60305cf18391Smrg "$ac_tmp/out"`; test -z "$ac_out"; } && 60315cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 60325cf18391Smrgwhich seems to be undefined. Please make sure it is defined" >&5 60332ceb2653Smrg$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 60345cf18391Smrgwhich seems to be undefined. Please make sure it is defined" >&2;} 60352ceb2653Smrg 60365cf18391Smrg rm -f "$ac_tmp/stdin" 60372ceb2653Smrg case $ac_file in 60385cf18391Smrg -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 60395cf18391Smrg *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 60402ceb2653Smrg esac \ 60415cf18391Smrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 60422ceb2653Smrg ;; 60432ceb2653Smrg 60442ceb2653Smrg 60455cf18391Smrg :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 60462ceb2653Smrg$as_echo "$as_me: executing $ac_file commands" >&6;} 60472ceb2653Smrg ;; 60482ceb2653Smrg esac 60492ceb2653Smrg 60502ceb2653Smrg 60512ceb2653Smrg case $ac_file$ac_mode in 60522ceb2653Smrg "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 60532ceb2653Smrg # Autoconf 2.62 quotes --file arguments for eval, but not when files 60542ceb2653Smrg # are listed without --file. Let's play safe and only enable the eval 60552ceb2653Smrg # if we detect the quoting. 60562ceb2653Smrg case $CONFIG_FILES in 60572ceb2653Smrg *\'*) eval set x "$CONFIG_FILES" ;; 60582ceb2653Smrg *) set x $CONFIG_FILES ;; 60592ceb2653Smrg esac 60602ceb2653Smrg shift 60612ceb2653Smrg for mf 60622ceb2653Smrg do 60632ceb2653Smrg # Strip MF so we end up with the name of the file. 60642ceb2653Smrg mf=`echo "$mf" | sed -e 's/:.*$//'` 60652ceb2653Smrg # Check whether this is an Automake generated Makefile or not. 60662ceb2653Smrg # We used to match only the files named `Makefile.in', but 60672ceb2653Smrg # some people rename them; so instead we look at the file content. 60682ceb2653Smrg # Grep'ing the first line is not enough: some people post-process 60692ceb2653Smrg # each Makefile.in and add a new line on top of each file to say so. 60702ceb2653Smrg # Grep'ing the whole file is not good either: AIX grep has a line 60712ceb2653Smrg # limit of 2048, but all sed's we know have understand at least 4000. 60722ceb2653Smrg if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 60732ceb2653Smrg dirpart=`$as_dirname -- "$mf" || 60742ceb2653Smrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 60752ceb2653Smrg X"$mf" : 'X\(//\)[^/]' \| \ 60762ceb2653Smrg X"$mf" : 'X\(//\)$' \| \ 60772ceb2653Smrg X"$mf" : 'X\(/\)' \| . 2>/dev/null || 60782ceb2653Smrg$as_echo X"$mf" | 60792ceb2653Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 60802ceb2653Smrg s//\1/ 60812ceb2653Smrg q 60822ceb2653Smrg } 60832ceb2653Smrg /^X\(\/\/\)[^/].*/{ 60842ceb2653Smrg s//\1/ 60852ceb2653Smrg q 60862ceb2653Smrg } 60872ceb2653Smrg /^X\(\/\/\)$/{ 60882ceb2653Smrg s//\1/ 60892ceb2653Smrg q 60902ceb2653Smrg } 60912ceb2653Smrg /^X\(\/\).*/{ 60922ceb2653Smrg s//\1/ 60932ceb2653Smrg q 60942ceb2653Smrg } 60952ceb2653Smrg s/.*/./; q'` 60962ceb2653Smrg else 60972ceb2653Smrg continue 60982ceb2653Smrg fi 60992ceb2653Smrg # Extract the definition of DEPDIR, am__include, and am__quote 61002ceb2653Smrg # from the Makefile without running `make'. 61012ceb2653Smrg DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 61022ceb2653Smrg test -z "$DEPDIR" && continue 61032ceb2653Smrg am__include=`sed -n 's/^am__include = //p' < "$mf"` 61042ceb2653Smrg test -z "am__include" && continue 61052ceb2653Smrg am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 61062ceb2653Smrg # When using ansi2knr, U may be empty or an underscore; expand it 61072ceb2653Smrg U=`sed -n 's/^U = //p' < "$mf"` 61082ceb2653Smrg # Find all dependency output files, they are included files with 61092ceb2653Smrg # $(DEPDIR) in their names. We invoke sed twice because it is the 61102ceb2653Smrg # simplest approach to changing $(DEPDIR) to its actual value in the 61112ceb2653Smrg # expansion. 61122ceb2653Smrg for file in `sed -n " 61132ceb2653Smrg s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 61142ceb2653Smrg sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 61152ceb2653Smrg # Make sure the directory exists. 61162ceb2653Smrg test -f "$dirpart/$file" && continue 61172ceb2653Smrg fdir=`$as_dirname -- "$file" || 61182ceb2653Smrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 61192ceb2653Smrg X"$file" : 'X\(//\)[^/]' \| \ 61202ceb2653Smrg X"$file" : 'X\(//\)$' \| \ 61212ceb2653Smrg X"$file" : 'X\(/\)' \| . 2>/dev/null || 61222ceb2653Smrg$as_echo X"$file" | 61232ceb2653Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 61242ceb2653Smrg s//\1/ 61252ceb2653Smrg q 61262ceb2653Smrg } 61272ceb2653Smrg /^X\(\/\/\)[^/].*/{ 61282ceb2653Smrg s//\1/ 61292ceb2653Smrg q 61302ceb2653Smrg } 61312ceb2653Smrg /^X\(\/\/\)$/{ 61322ceb2653Smrg s//\1/ 61332ceb2653Smrg q 61342ceb2653Smrg } 61352ceb2653Smrg /^X\(\/\).*/{ 61362ceb2653Smrg s//\1/ 61372ceb2653Smrg q 61382ceb2653Smrg } 61392ceb2653Smrg s/.*/./; q'` 61405cf18391Smrg as_dir=$dirpart/$fdir; as_fn_mkdir_p 61412ceb2653Smrg # echo "creating $dirpart/$file" 61422ceb2653Smrg echo '# dummy' > "$dirpart/$file" 61432ceb2653Smrg done 61442ceb2653Smrg done 61452ceb2653Smrg} 61462ceb2653Smrg ;; 61472ceb2653Smrg 61482ceb2653Smrg esac 61492ceb2653Smrgdone # for ac_tag 6150b7d53ee5Smrg 6151b7d53ee5Smrg 61525cf18391Smrgas_fn_exit 0 6153b7d53ee5Smrg_ACEOF 6154b7d53ee5Smrgac_clean_files=$ac_clean_files_save 6155b7d53ee5Smrg 61562ceb2653Smrgtest $ac_write_fail = 0 || 61575cf18391Smrg as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 61582ceb2653Smrg 6159b7d53ee5Smrg 6160b7d53ee5Smrg# configure is writing to config.log, and then calls config.status. 6161b7d53ee5Smrg# config.status does its own redirection, appending to config.log. 6162b7d53ee5Smrg# Unfortunately, on DOS this fails, as config.log is still kept open 6163b7d53ee5Smrg# by configure, so config.status won't be able to write to it; its 6164b7d53ee5Smrg# output is simply discarded. So we exec the FD to /dev/null, 6165b7d53ee5Smrg# effectively closing config.log, so it can be properly (re)opened and 6166b7d53ee5Smrg# appended to by config.status. When coming back to configure, we 6167b7d53ee5Smrg# need to make the FD available again. 6168b7d53ee5Smrgif test "$no_create" != yes; then 6169b7d53ee5Smrg ac_cs_success=: 6170b7d53ee5Smrg ac_config_status_args= 6171b7d53ee5Smrg test "$silent" = yes && 6172b7d53ee5Smrg ac_config_status_args="$ac_config_status_args --quiet" 6173b7d53ee5Smrg exec 5>/dev/null 6174b7d53ee5Smrg $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 6175b7d53ee5Smrg exec 5>>config.log 6176b7d53ee5Smrg # Use ||, not &&, to avoid exiting from the if with $? = 1, which 6177b7d53ee5Smrg # would make configure fail if this is the last instruction. 61785cf18391Smrg $ac_cs_success || as_fn_exit 1 6179b7d53ee5Smrgfi 61802ceb2653Smrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 61815cf18391Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 61822ceb2653Smrg$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 61832ceb2653Smrgfi 6184b7d53ee5Smrg 6185