configure revision 48af84fa
166fe65f6Smrg#! /bin/sh 266fe65f6Smrg# Guess values for system-dependent variables and create Makefiles. 348af84faSmrg# Generated by GNU Autoconf 2.68 for font-util 1.2.0. 466fe65f6Smrg# 566fe65f6Smrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 666fe65f6Smrg# 748af84faSmrg# 889d09728Smrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 948af84faSmrg# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 1048af84faSmrg# Foundation, Inc. 1148af84faSmrg# 1248af84faSmrg# 1366fe65f6Smrg# This configure script is free software; the Free Software Foundation 1466fe65f6Smrg# gives unlimited permission to copy, distribute and modify it. 1548af84faSmrg## -------------------- ## 1648af84faSmrg## M4sh Initialization. ## 1748af84faSmrg## -------------------- ## 1866fe65f6Smrg 1989d09728Smrg# Be more Bourne compatible 2089d09728SmrgDUALCASE=1; export DUALCASE # for MKS sh 2148af84faSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 2266fe65f6Smrg emulate sh 2366fe65f6Smrg NULLCMD=: 2489d09728Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 2566fe65f6Smrg # is contrary to our usage. Disable this feature. 2666fe65f6Smrg alias -g '${1+"$@"}'='"$@"' 2789d09728Smrg setopt NO_GLOB_SUBST 2889d09728Smrgelse 2948af84faSmrg case `(set -o) 2>/dev/null` in #( 3048af84faSmrg *posix*) : 3148af84faSmrg set -o posix ;; #( 3248af84faSmrg *) : 3348af84faSmrg ;; 3489d09728Smrgesac 3566fe65f6Smrgfi 3666fe65f6Smrg 3789d09728Smrg 3889d09728Smrgas_nl=' 3989d09728Smrg' 4089d09728Smrgexport as_nl 4189d09728Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 4289d09728Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4389d09728Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 4489d09728Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 4548af84faSmrg# Prefer a ksh shell builtin over an external printf program on Solaris, 4648af84faSmrg# but without wasting forks for bash or zsh. 4748af84faSmrgif test -z "$BASH_VERSION$ZSH_VERSION" \ 4848af84faSmrg && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 4948af84faSmrg as_echo='print -r --' 5048af84faSmrg as_echo_n='print -rn --' 5148af84faSmrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 5289d09728Smrg as_echo='printf %s\n' 5389d09728Smrg as_echo_n='printf %s' 5466fe65f6Smrgelse 5589d09728Smrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 5689d09728Smrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 5789d09728Smrg as_echo_n='/usr/ucb/echo -n' 5889d09728Smrg else 5989d09728Smrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 6089d09728Smrg as_echo_n_body='eval 6189d09728Smrg arg=$1; 6248af84faSmrg case $arg in #( 6389d09728Smrg *"$as_nl"*) 6489d09728Smrg expr "X$arg" : "X\\(.*\\)$as_nl"; 6589d09728Smrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 6689d09728Smrg esac; 6789d09728Smrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 6889d09728Smrg ' 6989d09728Smrg export as_echo_n_body 7089d09728Smrg as_echo_n='sh -c $as_echo_n_body as_echo' 7189d09728Smrg fi 7289d09728Smrg export as_echo_body 7389d09728Smrg as_echo='sh -c $as_echo_body as_echo' 7489d09728Smrgfi 7589d09728Smrg 7689d09728Smrg# The user is always right. 7789d09728Smrgif test "${PATH_SEPARATOR+set}" != set; then 7889d09728Smrg PATH_SEPARATOR=: 7989d09728Smrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 8089d09728Smrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 8189d09728Smrg PATH_SEPARATOR=';' 8289d09728Smrg } 8366fe65f6Smrgfi 8466fe65f6Smrg 8566fe65f6Smrg 8689d09728Smrg# IFS 8789d09728Smrg# We need space, tab and new line, in precisely that order. Quoting is 8889d09728Smrg# there to prevent editors from complaining about space-tab. 8989d09728Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 9089d09728Smrg# splitting by setting IFS to empty value.) 9189d09728SmrgIFS=" "" $as_nl" 9289d09728Smrg 9389d09728Smrg# Find who we are. Look in the path if we contain no directory separator. 9448af84faSmrgas_myself= 9548af84faSmrgcase $0 in #(( 9689d09728Smrg *[\\/]* ) as_myself=$0 ;; 9789d09728Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9889d09728Smrgfor as_dir in $PATH 9989d09728Smrgdo 10089d09728Smrg IFS=$as_save_IFS 10189d09728Smrg test -z "$as_dir" && as_dir=. 10248af84faSmrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 10348af84faSmrg done 10489d09728SmrgIFS=$as_save_IFS 10589d09728Smrg 10689d09728Smrg ;; 10789d09728Smrgesac 10889d09728Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 10989d09728Smrg# in which case we are not to be found in the path. 11089d09728Smrgif test "x$as_myself" = x; then 11189d09728Smrg as_myself=$0 11289d09728Smrgfi 11389d09728Smrgif test ! -f "$as_myself"; then 11489d09728Smrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 11548af84faSmrg exit 1 11689d09728Smrgfi 11789d09728Smrg 11848af84faSmrg# Unset variables that we do not need and which cause bugs (e.g. in 11948af84faSmrg# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 12048af84faSmrg# suppresses any "Segmentation fault" message there. '((' could 12148af84faSmrg# trigger a bug in pdksh 5.2.14. 12248af84faSmrgfor as_var in BASH_ENV ENV MAIL MAILPATH 12348af84faSmrgdo eval test x\${$as_var+set} = xset \ 12448af84faSmrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 12589d09728Smrgdone 12666fe65f6SmrgPS1='$ ' 12766fe65f6SmrgPS2='> ' 12866fe65f6SmrgPS4='+ ' 12966fe65f6Smrg 13066fe65f6Smrg# NLS nuisances. 13189d09728SmrgLC_ALL=C 13289d09728Smrgexport LC_ALL 13389d09728SmrgLANGUAGE=C 13489d09728Smrgexport LANGUAGE 13589d09728Smrg 13648af84faSmrg# CDPATH. 13748af84faSmrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 13848af84faSmrg 13948af84faSmrgif test "x$CONFIG_SHELL" = x; then 14048af84faSmrg as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 14148af84faSmrg emulate sh 14248af84faSmrg NULLCMD=: 14348af84faSmrg # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 14448af84faSmrg # is contrary to our usage. Disable this feature. 14548af84faSmrg alias -g '\${1+\"\$@\"}'='\"\$@\"' 14648af84faSmrg setopt NO_GLOB_SUBST 14748af84faSmrgelse 14848af84faSmrg case \`(set -o) 2>/dev/null\` in #( 14948af84faSmrg *posix*) : 15048af84faSmrg set -o posix ;; #( 15148af84faSmrg *) : 15248af84faSmrg ;; 15348af84faSmrgesac 15448af84faSmrgfi 15548af84faSmrg" 15648af84faSmrg as_required="as_fn_return () { (exit \$1); } 15748af84faSmrgas_fn_success () { as_fn_return 0; } 15848af84faSmrgas_fn_failure () { as_fn_return 1; } 15948af84faSmrgas_fn_ret_success () { return 0; } 16048af84faSmrgas_fn_ret_failure () { return 1; } 16148af84faSmrg 16248af84faSmrgexitcode=0 16348af84faSmrgas_fn_success || { exitcode=1; echo as_fn_success failed.; } 16448af84faSmrgas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 16548af84faSmrgas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 16648af84faSmrgas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 16748af84faSmrgif ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 16848af84faSmrg 16948af84faSmrgelse 17048af84faSmrg exitcode=1; echo positional parameters were not saved. 17148af84faSmrgfi 17248af84faSmrgtest x\$exitcode = x0 || exit 1" 17348af84faSmrg as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 17448af84faSmrg as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 17548af84faSmrg eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 17648af84faSmrg test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 17748af84faSmrgtest \$(( 1 + 1 )) = 2 || exit 1" 17848af84faSmrg if (eval "$as_required") 2>/dev/null; then : 17948af84faSmrg as_have_required=yes 18048af84faSmrgelse 18148af84faSmrg as_have_required=no 18248af84faSmrgfi 18348af84faSmrg if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 18448af84faSmrg 18548af84faSmrgelse 18648af84faSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18748af84faSmrgas_found=false 18848af84faSmrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 18948af84faSmrgdo 19048af84faSmrg IFS=$as_save_IFS 19148af84faSmrg test -z "$as_dir" && as_dir=. 19248af84faSmrg as_found=: 19348af84faSmrg case $as_dir in #( 19448af84faSmrg /*) 19548af84faSmrg for as_base in sh bash ksh sh5; do 19648af84faSmrg # Try only shells that exist, to save several forks. 19748af84faSmrg as_shell=$as_dir/$as_base 19848af84faSmrg if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 19948af84faSmrg { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 20048af84faSmrg CONFIG_SHELL=$as_shell as_have_required=yes 20148af84faSmrg if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 20248af84faSmrg break 2 20348af84faSmrgfi 20448af84faSmrgfi 20548af84faSmrg done;; 20648af84faSmrg esac 20748af84faSmrg as_found=false 20848af84faSmrgdone 20948af84faSmrg$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 21048af84faSmrg { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 21148af84faSmrg CONFIG_SHELL=$SHELL as_have_required=yes 21248af84faSmrgfi; } 21348af84faSmrgIFS=$as_save_IFS 21448af84faSmrg 21548af84faSmrg 21648af84faSmrg if test "x$CONFIG_SHELL" != x; then : 21748af84faSmrg # We cannot yet assume a decent shell, so we have to provide a 21848af84faSmrg # neutralization value for shells without unset; and this also 21948af84faSmrg # works around shells that cannot unset nonexistent variables. 22048af84faSmrg # Preserve -v and -x to the replacement shell. 22148af84faSmrg BASH_ENV=/dev/null 22248af84faSmrg ENV=/dev/null 22348af84faSmrg (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 22448af84faSmrg export CONFIG_SHELL 22548af84faSmrg case $- in # (((( 22648af84faSmrg *v*x* | *x*v* ) as_opts=-vx ;; 22748af84faSmrg *v* ) as_opts=-v ;; 22848af84faSmrg *x* ) as_opts=-x ;; 22948af84faSmrg * ) as_opts= ;; 23048af84faSmrg esac 23148af84faSmrg exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 23248af84faSmrgfi 23348af84faSmrg 23448af84faSmrg if test x$as_have_required = xno; then : 23548af84faSmrg $as_echo "$0: This script requires a shell more modern than all" 23648af84faSmrg $as_echo "$0: the shells that I found on your system." 23748af84faSmrg if test x${ZSH_VERSION+set} = xset ; then 23848af84faSmrg $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 23948af84faSmrg $as_echo "$0: be upgraded to zsh 4.3.4 or later." 24048af84faSmrg else 24148af84faSmrg $as_echo "$0: Please tell bug-autoconf@gnu.org and 24248af84faSmrg$0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg 24348af84faSmrg$0: about your system, including any error possibly output 24448af84faSmrg$0: before this message. Then install a modern shell, or 24548af84faSmrg$0: manually run the script under such a shell if you do 24648af84faSmrg$0: have one." 24748af84faSmrg fi 24848af84faSmrg exit 1 24948af84faSmrgfi 25048af84faSmrgfi 25148af84faSmrgfi 25248af84faSmrgSHELL=${CONFIG_SHELL-/bin/sh} 25348af84faSmrgexport SHELL 25448af84faSmrg# Unset more variables known to interfere with behavior of common tools. 25548af84faSmrgCLICOLOR_FORCE= GREP_OPTIONS= 25648af84faSmrgunset CLICOLOR_FORCE GREP_OPTIONS 25748af84faSmrg 25848af84faSmrg## --------------------- ## 25948af84faSmrg## M4sh Shell Functions. ## 26048af84faSmrg## --------------------- ## 26148af84faSmrg# as_fn_unset VAR 26248af84faSmrg# --------------- 26348af84faSmrg# Portably unset VAR. 26448af84faSmrgas_fn_unset () 26548af84faSmrg{ 26648af84faSmrg { eval $1=; unset $1;} 26748af84faSmrg} 26848af84faSmrgas_unset=as_fn_unset 26948af84faSmrg 27048af84faSmrg# as_fn_set_status STATUS 27148af84faSmrg# ----------------------- 27248af84faSmrg# Set $? to STATUS, without forking. 27348af84faSmrgas_fn_set_status () 27448af84faSmrg{ 27548af84faSmrg return $1 27648af84faSmrg} # as_fn_set_status 27748af84faSmrg 27848af84faSmrg# as_fn_exit STATUS 27948af84faSmrg# ----------------- 28048af84faSmrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 28148af84faSmrgas_fn_exit () 28248af84faSmrg{ 28348af84faSmrg set +e 28448af84faSmrg as_fn_set_status $1 28548af84faSmrg exit $1 28648af84faSmrg} # as_fn_exit 28748af84faSmrg 28848af84faSmrg# as_fn_mkdir_p 28948af84faSmrg# ------------- 29048af84faSmrg# Create "$as_dir" as a directory, including parents if necessary. 29148af84faSmrgas_fn_mkdir_p () 29248af84faSmrg{ 29348af84faSmrg 29448af84faSmrg case $as_dir in #( 29548af84faSmrg -*) as_dir=./$as_dir;; 29648af84faSmrg esac 29748af84faSmrg test -d "$as_dir" || eval $as_mkdir_p || { 29848af84faSmrg as_dirs= 29948af84faSmrg while :; do 30048af84faSmrg case $as_dir in #( 30148af84faSmrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 30248af84faSmrg *) as_qdir=$as_dir;; 30348af84faSmrg esac 30448af84faSmrg as_dirs="'$as_qdir' $as_dirs" 30548af84faSmrg as_dir=`$as_dirname -- "$as_dir" || 30648af84faSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 30748af84faSmrg X"$as_dir" : 'X\(//\)[^/]' \| \ 30848af84faSmrg X"$as_dir" : 'X\(//\)$' \| \ 30948af84faSmrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 31048af84faSmrg$as_echo X"$as_dir" | 31148af84faSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 31248af84faSmrg s//\1/ 31348af84faSmrg q 31448af84faSmrg } 31548af84faSmrg /^X\(\/\/\)[^/].*/{ 31648af84faSmrg s//\1/ 31748af84faSmrg q 31848af84faSmrg } 31948af84faSmrg /^X\(\/\/\)$/{ 32048af84faSmrg s//\1/ 32148af84faSmrg q 32248af84faSmrg } 32348af84faSmrg /^X\(\/\).*/{ 32448af84faSmrg s//\1/ 32548af84faSmrg q 32648af84faSmrg } 32748af84faSmrg s/.*/./; q'` 32848af84faSmrg test -d "$as_dir" && break 32948af84faSmrg done 33048af84faSmrg test -z "$as_dirs" || eval "mkdir $as_dirs" 33148af84faSmrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 33248af84faSmrg 33348af84faSmrg 33448af84faSmrg} # as_fn_mkdir_p 33548af84faSmrg# as_fn_append VAR VALUE 33648af84faSmrg# ---------------------- 33748af84faSmrg# Append the text in VALUE to the end of the definition contained in VAR. Take 33848af84faSmrg# advantage of any shell optimizations that allow amortized linear growth over 33948af84faSmrg# repeated appends, instead of the typical quadratic growth present in naive 34048af84faSmrg# implementations. 34148af84faSmrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 34248af84faSmrg eval 'as_fn_append () 34348af84faSmrg { 34448af84faSmrg eval $1+=\$2 34548af84faSmrg }' 34648af84faSmrgelse 34748af84faSmrg as_fn_append () 34848af84faSmrg { 34948af84faSmrg eval $1=\$$1\$2 35048af84faSmrg } 35148af84faSmrgfi # as_fn_append 35248af84faSmrg 35348af84faSmrg# as_fn_arith ARG... 35448af84faSmrg# ------------------ 35548af84faSmrg# Perform arithmetic evaluation on the ARGs, and store the result in the 35648af84faSmrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 35748af84faSmrg# must be portable across $(()) and expr. 35848af84faSmrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 35948af84faSmrg eval 'as_fn_arith () 36048af84faSmrg { 36148af84faSmrg as_val=$(( $* )) 36248af84faSmrg }' 36348af84faSmrgelse 36448af84faSmrg as_fn_arith () 36548af84faSmrg { 36648af84faSmrg as_val=`expr "$@" || test $? -eq 1` 36748af84faSmrg } 36848af84faSmrgfi # as_fn_arith 36948af84faSmrg 37048af84faSmrg 37148af84faSmrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 37248af84faSmrg# ---------------------------------------- 37348af84faSmrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 37448af84faSmrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 37548af84faSmrg# script with STATUS, using 1 if that was 0. 37648af84faSmrgas_fn_error () 37748af84faSmrg{ 37848af84faSmrg as_status=$1; test $as_status -eq 0 && as_status=1 37948af84faSmrg if test "$4"; then 38048af84faSmrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 38148af84faSmrg $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 38248af84faSmrg fi 38348af84faSmrg $as_echo "$as_me: error: $2" >&2 38448af84faSmrg as_fn_exit $as_status 38548af84faSmrg} # as_fn_error 38648af84faSmrg 38789d09728Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 38889d09728Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 38966fe65f6Smrg as_expr=expr 39066fe65f6Smrgelse 39166fe65f6Smrg as_expr=false 39266fe65f6Smrgfi 39366fe65f6Smrg 39489d09728Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 39566fe65f6Smrg as_basename=basename 39666fe65f6Smrgelse 39766fe65f6Smrg as_basename=false 39866fe65f6Smrgfi 39966fe65f6Smrg 40048af84faSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 40148af84faSmrg as_dirname=dirname 40248af84faSmrgelse 40348af84faSmrg as_dirname=false 40448af84faSmrgfi 40566fe65f6Smrg 40689d09728Smrgas_me=`$as_basename -- "$0" || 40766fe65f6Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 40866fe65f6Smrg X"$0" : 'X\(//\)$' \| \ 40989d09728Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 41089d09728Smrg$as_echo X/"$0" | 41189d09728Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 41289d09728Smrg s//\1/ 41389d09728Smrg q 41489d09728Smrg } 41589d09728Smrg /^X\/\(\/\/\)$/{ 41689d09728Smrg s//\1/ 41789d09728Smrg q 41889d09728Smrg } 41989d09728Smrg /^X\/\(\/\).*/{ 42089d09728Smrg s//\1/ 42189d09728Smrg q 42289d09728Smrg } 42389d09728Smrg s/.*/./; q'` 42466fe65f6Smrg 42548af84faSmrg# Avoid depending upon Character Ranges. 42648af84faSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 42748af84faSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 42848af84faSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 42948af84faSmrgas_cr_digits='0123456789' 43048af84faSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits 43166fe65f6Smrg 43266fe65f6Smrg 43348af84faSmrg as_lineno_1=$LINENO as_lineno_1a=$LINENO 43448af84faSmrg as_lineno_2=$LINENO as_lineno_2a=$LINENO 43548af84faSmrg eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 43648af84faSmrg test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 43748af84faSmrg # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 43848af84faSmrg sed -n ' 43948af84faSmrg p 44048af84faSmrg /[$]LINENO/= 44148af84faSmrg ' <$as_myself | 44248af84faSmrg sed ' 44348af84faSmrg s/[$]LINENO.*/&-/ 44448af84faSmrg t lineno 44548af84faSmrg b 44648af84faSmrg :lineno 44748af84faSmrg N 44848af84faSmrg :loop 44948af84faSmrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 45048af84faSmrg t loop 45148af84faSmrg s/-\n.*// 45248af84faSmrg ' >$as_me.lineno && 45348af84faSmrg chmod +x "$as_me.lineno" || 45448af84faSmrg { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 45566fe65f6Smrg 45648af84faSmrg # Don't try to exec as it changes $[0], causing all sort of problems 45748af84faSmrg # (the dirname of $[0] is not the place where we might find the 45848af84faSmrg # original and so on. Autoconf is especially sensitive to this). 45948af84faSmrg . "./$as_me.lineno" 46048af84faSmrg # Exit status is that of the last command. 46148af84faSmrg exit 46266fe65f6Smrg} 46366fe65f6Smrg 46448af84faSmrgECHO_C= ECHO_N= ECHO_T= 46548af84faSmrgcase `echo -n x` in #((((( 46648af84faSmrg-n*) 46748af84faSmrg case `echo 'xy\c'` in 46848af84faSmrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 46948af84faSmrg xy) ECHO_C='\c';; 47048af84faSmrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 47148af84faSmrg ECHO_T=' ';; 47248af84faSmrg esac;; 47348af84faSmrg*) 47448af84faSmrg ECHO_N='-n';; 47548af84faSmrgesac 476a9274bcdSmrg 47748af84faSmrgrm -f conf$$ conf$$.exe conf$$.file 47848af84faSmrgif test -d conf$$.dir; then 47948af84faSmrg rm -f conf$$.dir/conf$$.file 48048af84faSmrgelse 48148af84faSmrg rm -f conf$$.dir 48248af84faSmrg mkdir conf$$.dir 2>/dev/null 48366fe65f6Smrgfi 48448af84faSmrgif (echo >conf$$.file) 2>/dev/null; then 48548af84faSmrg if ln -s conf$$.file conf$$ 2>/dev/null; then 48648af84faSmrg as_ln_s='ln -s' 48748af84faSmrg # ... but there are two gotchas: 48848af84faSmrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 48948af84faSmrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 49048af84faSmrg # In both cases, we have to default to `cp -p'. 49148af84faSmrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 49248af84faSmrg as_ln_s='cp -p' 49348af84faSmrg elif ln conf$$.file conf$$ 2>/dev/null; then 49448af84faSmrg as_ln_s=ln 49548af84faSmrg else 49648af84faSmrg as_ln_s='cp -p' 49748af84faSmrg fi 49866fe65f6Smrgelse 49948af84faSmrg as_ln_s='cp -p' 50066fe65f6Smrgfi 50148af84faSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 50248af84faSmrgrmdir conf$$.dir 2>/dev/null 50366fe65f6Smrg 50448af84faSmrgif mkdir -p . 2>/dev/null; then 50548af84faSmrg as_mkdir_p='mkdir -p "$as_dir"' 50648af84faSmrgelse 50748af84faSmrg test -d ./-p && rmdir ./-p 50848af84faSmrg as_mkdir_p=false 509a9274bcdSmrgfi 510a9274bcdSmrg 51148af84faSmrgif test -x / >/dev/null 2>&1; then 51248af84faSmrg as_test_x='test -x' 51389d09728Smrgelse 51448af84faSmrg if ls -dL / >/dev/null 2>&1; then 51548af84faSmrg as_ls_L_option=L 51648af84faSmrg else 51748af84faSmrg as_ls_L_option= 51848af84faSmrg fi 51948af84faSmrg as_test_x=' 52048af84faSmrg eval sh -c '\'' 52148af84faSmrg if test -d "$1"; then 52248af84faSmrg test -d "$1/."; 52348af84faSmrg else 52448af84faSmrg case $1 in #( 52548af84faSmrg -*)set "./$1";; 52648af84faSmrg esac; 52748af84faSmrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 52848af84faSmrg ???[sx]*):;;*)false;;esac;fi 52948af84faSmrg '\'' sh 53048af84faSmrg ' 53189d09728Smrgfi 53248af84faSmrgas_executable_p=$as_test_x 53366fe65f6Smrg 53448af84faSmrg# Sed expression to map a string onto a valid CPP name. 53548af84faSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 53666fe65f6Smrg 53748af84faSmrg# Sed expression to map a string onto a valid variable name. 53848af84faSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 53966fe65f6Smrg 54066fe65f6Smrg 54148af84faSmrgtest -n "$DJDIR" || exec 7<&0 </dev/null 54248af84faSmrgexec 6>&1 543a9274bcdSmrg 544a9274bcdSmrg# Name of the host. 54548af84faSmrg# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 546a9274bcdSmrg# so uname gets run too. 54766fe65f6Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 54866fe65f6Smrg 54966fe65f6Smrg# 55066fe65f6Smrg# Initializations. 55166fe65f6Smrg# 55266fe65f6Smrgac_default_prefix=/usr/local 55389d09728Smrgac_clean_files= 55466fe65f6Smrgac_config_libobj_dir=. 55589d09728SmrgLIBOBJS= 55666fe65f6Smrgcross_compiling=no 55766fe65f6Smrgsubdirs= 55866fe65f6SmrgMFLAGS= 55966fe65f6SmrgMAKEFLAGS= 56066fe65f6Smrg 56166fe65f6Smrg# Identity of this package. 56266fe65f6SmrgPACKAGE_NAME='font-util' 56366fe65f6SmrgPACKAGE_TARNAME='font-util' 56448af84faSmrgPACKAGE_VERSION='1.2.0' 56548af84faSmrgPACKAGE_STRING='font-util 1.2.0' 56666fe65f6SmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 56748af84faSmrgPACKAGE_URL='' 56866fe65f6Smrg 56989d09728Smrg# Factoring default headers for most tests. 57089d09728Smrgac_includes_default="\ 57189d09728Smrg#include <stdio.h> 57289d09728Smrg#ifdef HAVE_SYS_TYPES_H 57389d09728Smrg# include <sys/types.h> 57489d09728Smrg#endif 57589d09728Smrg#ifdef HAVE_SYS_STAT_H 57689d09728Smrg# include <sys/stat.h> 57789d09728Smrg#endif 57889d09728Smrg#ifdef STDC_HEADERS 57989d09728Smrg# include <stdlib.h> 58089d09728Smrg# include <stddef.h> 58189d09728Smrg#else 58289d09728Smrg# ifdef HAVE_STDLIB_H 58389d09728Smrg# include <stdlib.h> 58489d09728Smrg# endif 58589d09728Smrg#endif 58689d09728Smrg#ifdef HAVE_STRING_H 58789d09728Smrg# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 58889d09728Smrg# include <memory.h> 58989d09728Smrg# endif 59089d09728Smrg# include <string.h> 59189d09728Smrg#endif 59289d09728Smrg#ifdef HAVE_STRINGS_H 59389d09728Smrg# include <strings.h> 59489d09728Smrg#endif 59589d09728Smrg#ifdef HAVE_INTTYPES_H 59689d09728Smrg# include <inttypes.h> 59789d09728Smrg#endif 59889d09728Smrg#ifdef HAVE_STDINT_H 59989d09728Smrg# include <stdint.h> 60089d09728Smrg#endif 60189d09728Smrg#ifdef HAVE_UNISTD_H 60289d09728Smrg# include <unistd.h> 60389d09728Smrg#endif" 60489d09728Smrg 605a9274bcdSmrgac_subst_vars='am__EXEEXT_FALSE 606a9274bcdSmrgam__EXEEXT_TRUE 607a9274bcdSmrgLTLIBOBJS 60889d09728SmrgLIBOBJS 609a9274bcdSmrgMAPDIR 610a9274bcdSmrgfontrootdir 61148af84faSmrgAM_BACKSLASH 61248af84faSmrgAM_DEFAULT_VERBOSITY 61348af84faSmrgMAN_SUBSTS 61448af84faSmrgXORG_MAN_PAGE 61589d09728SmrgADMIN_MAN_DIR 61689d09728SmrgDRIVER_MAN_DIR 61789d09728SmrgMISC_MAN_DIR 61889d09728SmrgFILE_MAN_DIR 61989d09728SmrgLIB_MAN_DIR 62089d09728SmrgAPP_MAN_DIR 62189d09728SmrgADMIN_MAN_SUFFIX 62289d09728SmrgDRIVER_MAN_SUFFIX 62389d09728SmrgMISC_MAN_SUFFIX 62489d09728SmrgFILE_MAN_SUFFIX 62589d09728SmrgLIB_MAN_SUFFIX 62689d09728SmrgAPP_MAN_SUFFIX 62748af84faSmrgSED 62889d09728Smrghost_os 62989d09728Smrghost_vendor 63089d09728Smrghost_cpu 63189d09728Smrghost 63289d09728Smrgbuild_os 63389d09728Smrgbuild_vendor 63489d09728Smrgbuild_cpu 63589d09728Smrgbuild 63648af84faSmrgINSTALL_CMD 63748af84faSmrgPKG_CONFIG 638a9274bcdSmrgCHANGELOG_CMD 63989d09728SmrgCWARNFLAGS 64089d09728SmrgEGREP 64189d09728SmrgGREP 64289d09728SmrgCPP 64389d09728Smrgam__fastdepCC_FALSE 64489d09728Smrgam__fastdepCC_TRUE 64589d09728SmrgCCDEPMODE 64689d09728SmrgAMDEPBACKSLASH 64789d09728SmrgAMDEP_FALSE 64889d09728SmrgAMDEP_TRUE 64989d09728Smrgam__quote 65089d09728Smrgam__include 65189d09728SmrgDEPDIR 65289d09728SmrgOBJEXT 65389d09728SmrgEXEEXT 65489d09728Smrgac_ct_CC 65589d09728SmrgCPPFLAGS 65689d09728SmrgLDFLAGS 65789d09728SmrgCFLAGS 65889d09728SmrgCC 65989d09728SmrgMAINT 66089d09728SmrgMAINTAINER_MODE_FALSE 66189d09728SmrgMAINTAINER_MODE_TRUE 66289d09728Smrgam__untar 66389d09728Smrgam__tar 66489d09728SmrgAMTAR 66589d09728Smrgam__leading_dot 66689d09728SmrgSET_MAKE 66789d09728SmrgAWK 66889d09728Smrgmkdir_p 66989d09728SmrgMKDIR_P 67089d09728SmrgINSTALL_STRIP_PROGRAM 67189d09728SmrgSTRIP 67289d09728Smrginstall_sh 67389d09728SmrgMAKEINFO 67489d09728SmrgAUTOHEADER 67589d09728SmrgAUTOMAKE 67689d09728SmrgAUTOCONF 67789d09728SmrgACLOCAL 67889d09728SmrgVERSION 67989d09728SmrgPACKAGE 68089d09728SmrgCYGPATH_W 68189d09728Smrgam__isrc 68289d09728SmrgINSTALL_DATA 68389d09728SmrgINSTALL_SCRIPT 68489d09728SmrgINSTALL_PROGRAM 68589d09728Smrgtarget_alias 68689d09728Smrghost_alias 68789d09728Smrgbuild_alias 68889d09728SmrgLIBS 68989d09728SmrgECHO_T 69089d09728SmrgECHO_N 69189d09728SmrgECHO_C 69289d09728SmrgDEFS 69389d09728Smrgmandir 69489d09728Smrglocaledir 69589d09728Smrglibdir 69689d09728Smrgpsdir 69789d09728Smrgpdfdir 69889d09728Smrgdvidir 69989d09728Smrghtmldir 70089d09728Smrginfodir 70189d09728Smrgdocdir 70289d09728Smrgoldincludedir 70389d09728Smrgincludedir 70489d09728Smrglocalstatedir 70589d09728Smrgsharedstatedir 70689d09728Smrgsysconfdir 70789d09728Smrgdatadir 70889d09728Smrgdatarootdir 70989d09728Smrglibexecdir 71089d09728Smrgsbindir 71189d09728Smrgbindir 71289d09728Smrgprogram_transform_name 71389d09728Smrgprefix 71489d09728Smrgexec_prefix 71548af84faSmrgPACKAGE_URL 71689d09728SmrgPACKAGE_BUGREPORT 71789d09728SmrgPACKAGE_STRING 71889d09728SmrgPACKAGE_VERSION 71989d09728SmrgPACKAGE_TARNAME 72089d09728SmrgPACKAGE_NAME 72189d09728SmrgPATH_SEPARATOR 72289d09728SmrgSHELL' 72366fe65f6Smrgac_subst_files='' 72489d09728Smrgac_user_opts=' 72589d09728Smrgenable_option_checking 72689d09728Smrgenable_maintainer_mode 72789d09728Smrgenable_dependency_tracking 728a9274bcdSmrgenable_strict_compilation 72948af84faSmrgenable_silent_rules 730a9274bcdSmrgwith_fontrootdir 731a9274bcdSmrgwith_mapdir 73289d09728Smrg' 73389d09728Smrg ac_precious_vars='build_alias 73489d09728Smrghost_alias 73589d09728Smrgtarget_alias 73689d09728SmrgCC 73789d09728SmrgCFLAGS 73889d09728SmrgLDFLAGS 73989d09728SmrgLIBS 74089d09728SmrgCPPFLAGS 74148af84faSmrgCPP 74248af84faSmrgPKG_CONFIG' 74389d09728Smrg 74466fe65f6Smrg 74566fe65f6Smrg# Initialize some variables set by options. 74666fe65f6Smrgac_init_help= 74766fe65f6Smrgac_init_version=false 74889d09728Smrgac_unrecognized_opts= 74989d09728Smrgac_unrecognized_sep= 75066fe65f6Smrg# The variables have the same names as the options, with 75166fe65f6Smrg# dashes changed to underlines. 75266fe65f6Smrgcache_file=/dev/null 75366fe65f6Smrgexec_prefix=NONE 75466fe65f6Smrgno_create= 75566fe65f6Smrgno_recursion= 75666fe65f6Smrgprefix=NONE 75766fe65f6Smrgprogram_prefix=NONE 75866fe65f6Smrgprogram_suffix=NONE 75966fe65f6Smrgprogram_transform_name=s,x,x, 76066fe65f6Smrgsilent= 76166fe65f6Smrgsite= 76266fe65f6Smrgsrcdir= 76366fe65f6Smrgverbose= 76466fe65f6Smrgx_includes=NONE 76566fe65f6Smrgx_libraries=NONE 76666fe65f6Smrg 76766fe65f6Smrg# Installation directory options. 76866fe65f6Smrg# These are left unexpanded so users can "make install exec_prefix=/foo" 76966fe65f6Smrg# and all the variables that are supposed to be based on exec_prefix 77066fe65f6Smrg# by default will actually change. 77166fe65f6Smrg# Use braces instead of parens because sh, perl, etc. also accept them. 77289d09728Smrg# (The list follows the same order as the GNU Coding Standards.) 77366fe65f6Smrgbindir='${exec_prefix}/bin' 77466fe65f6Smrgsbindir='${exec_prefix}/sbin' 77566fe65f6Smrglibexecdir='${exec_prefix}/libexec' 77689d09728Smrgdatarootdir='${prefix}/share' 77789d09728Smrgdatadir='${datarootdir}' 77866fe65f6Smrgsysconfdir='${prefix}/etc' 77966fe65f6Smrgsharedstatedir='${prefix}/com' 78066fe65f6Smrglocalstatedir='${prefix}/var' 78166fe65f6Smrgincludedir='${prefix}/include' 78266fe65f6Smrgoldincludedir='/usr/include' 78389d09728Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 78489d09728Smrginfodir='${datarootdir}/info' 78589d09728Smrghtmldir='${docdir}' 78689d09728Smrgdvidir='${docdir}' 78789d09728Smrgpdfdir='${docdir}' 78889d09728Smrgpsdir='${docdir}' 78989d09728Smrglibdir='${exec_prefix}/lib' 79089d09728Smrglocaledir='${datarootdir}/locale' 79189d09728Smrgmandir='${datarootdir}/man' 79266fe65f6Smrg 79366fe65f6Smrgac_prev= 79489d09728Smrgac_dashdash= 79566fe65f6Smrgfor ac_option 79666fe65f6Smrgdo 79766fe65f6Smrg # If the previous option needs an argument, assign it. 79866fe65f6Smrg if test -n "$ac_prev"; then 79989d09728Smrg eval $ac_prev=\$ac_option 80066fe65f6Smrg ac_prev= 80166fe65f6Smrg continue 80266fe65f6Smrg fi 80366fe65f6Smrg 80489d09728Smrg case $ac_option in 80548af84faSmrg *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 80648af84faSmrg *=) ac_optarg= ;; 80748af84faSmrg *) ac_optarg=yes ;; 80889d09728Smrg esac 80966fe65f6Smrg 81066fe65f6Smrg # Accept the important Cygnus configure options, so we can diagnose typos. 81166fe65f6Smrg 81289d09728Smrg case $ac_dashdash$ac_option in 81389d09728Smrg --) 81489d09728Smrg ac_dashdash=yes ;; 81566fe65f6Smrg 81666fe65f6Smrg -bindir | --bindir | --bindi | --bind | --bin | --bi) 81766fe65f6Smrg ac_prev=bindir ;; 81866fe65f6Smrg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 81966fe65f6Smrg bindir=$ac_optarg ;; 82066fe65f6Smrg 82166fe65f6Smrg -build | --build | --buil | --bui | --bu) 82266fe65f6Smrg ac_prev=build_alias ;; 82366fe65f6Smrg -build=* | --build=* | --buil=* | --bui=* | --bu=*) 82466fe65f6Smrg build_alias=$ac_optarg ;; 82566fe65f6Smrg 82666fe65f6Smrg -cache-file | --cache-file | --cache-fil | --cache-fi \ 82766fe65f6Smrg | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 82866fe65f6Smrg ac_prev=cache_file ;; 82966fe65f6Smrg -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 83066fe65f6Smrg | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 83166fe65f6Smrg cache_file=$ac_optarg ;; 83266fe65f6Smrg 83366fe65f6Smrg --config-cache | -C) 83466fe65f6Smrg cache_file=config.cache ;; 83566fe65f6Smrg 83689d09728Smrg -datadir | --datadir | --datadi | --datad) 83766fe65f6Smrg ac_prev=datadir ;; 83889d09728Smrg -datadir=* | --datadir=* | --datadi=* | --datad=*) 83966fe65f6Smrg datadir=$ac_optarg ;; 84066fe65f6Smrg 84189d09728Smrg -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 84289d09728Smrg | --dataroo | --dataro | --datar) 84389d09728Smrg ac_prev=datarootdir ;; 84489d09728Smrg -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 84589d09728Smrg | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 84689d09728Smrg datarootdir=$ac_optarg ;; 84789d09728Smrg 84866fe65f6Smrg -disable-* | --disable-*) 84989d09728Smrg ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 85066fe65f6Smrg # Reject names that are not valid shell variable names. 85189d09728Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 85248af84faSmrg as_fn_error $? "invalid feature name: $ac_useropt" 85389d09728Smrg ac_useropt_orig=$ac_useropt 85489d09728Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 85589d09728Smrg case $ac_user_opts in 85689d09728Smrg *" 85789d09728Smrg"enable_$ac_useropt" 85889d09728Smrg"*) ;; 85989d09728Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 86089d09728Smrg ac_unrecognized_sep=', ';; 86189d09728Smrg esac 86289d09728Smrg eval enable_$ac_useropt=no ;; 86389d09728Smrg 86489d09728Smrg -docdir | --docdir | --docdi | --doc | --do) 86589d09728Smrg ac_prev=docdir ;; 86689d09728Smrg -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 86789d09728Smrg docdir=$ac_optarg ;; 86889d09728Smrg 86989d09728Smrg -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 87089d09728Smrg ac_prev=dvidir ;; 87189d09728Smrg -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 87289d09728Smrg dvidir=$ac_optarg ;; 87366fe65f6Smrg 87466fe65f6Smrg -enable-* | --enable-*) 87589d09728Smrg ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 87666fe65f6Smrg # Reject names that are not valid shell variable names. 87789d09728Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 87848af84faSmrg as_fn_error $? "invalid feature name: $ac_useropt" 87989d09728Smrg ac_useropt_orig=$ac_useropt 88089d09728Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 88189d09728Smrg case $ac_user_opts in 88289d09728Smrg *" 88389d09728Smrg"enable_$ac_useropt" 88489d09728Smrg"*) ;; 88589d09728Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 88689d09728Smrg ac_unrecognized_sep=', ';; 88766fe65f6Smrg esac 88889d09728Smrg eval enable_$ac_useropt=\$ac_optarg ;; 88966fe65f6Smrg 89066fe65f6Smrg -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 89166fe65f6Smrg | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 89266fe65f6Smrg | --exec | --exe | --ex) 89366fe65f6Smrg ac_prev=exec_prefix ;; 89466fe65f6Smrg -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 89566fe65f6Smrg | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 89666fe65f6Smrg | --exec=* | --exe=* | --ex=*) 89766fe65f6Smrg exec_prefix=$ac_optarg ;; 89866fe65f6Smrg 89966fe65f6Smrg -gas | --gas | --ga | --g) 90066fe65f6Smrg # Obsolete; use --with-gas. 90166fe65f6Smrg with_gas=yes ;; 90266fe65f6Smrg 90366fe65f6Smrg -help | --help | --hel | --he | -h) 90466fe65f6Smrg ac_init_help=long ;; 90566fe65f6Smrg -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 90666fe65f6Smrg ac_init_help=recursive ;; 90766fe65f6Smrg -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 90866fe65f6Smrg ac_init_help=short ;; 90966fe65f6Smrg 91066fe65f6Smrg -host | --host | --hos | --ho) 91166fe65f6Smrg ac_prev=host_alias ;; 91266fe65f6Smrg -host=* | --host=* | --hos=* | --ho=*) 91366fe65f6Smrg host_alias=$ac_optarg ;; 91466fe65f6Smrg 91589d09728Smrg -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 91689d09728Smrg ac_prev=htmldir ;; 91789d09728Smrg -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 91889d09728Smrg | --ht=*) 91989d09728Smrg htmldir=$ac_optarg ;; 92089d09728Smrg 92166fe65f6Smrg -includedir | --includedir | --includedi | --included | --include \ 92266fe65f6Smrg | --includ | --inclu | --incl | --inc) 92366fe65f6Smrg ac_prev=includedir ;; 92466fe65f6Smrg -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 92566fe65f6Smrg | --includ=* | --inclu=* | --incl=* | --inc=*) 92666fe65f6Smrg includedir=$ac_optarg ;; 92766fe65f6Smrg 92866fe65f6Smrg -infodir | --infodir | --infodi | --infod | --info | --inf) 92966fe65f6Smrg ac_prev=infodir ;; 93066fe65f6Smrg -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 93166fe65f6Smrg infodir=$ac_optarg ;; 93266fe65f6Smrg 93366fe65f6Smrg -libdir | --libdir | --libdi | --libd) 93466fe65f6Smrg ac_prev=libdir ;; 93566fe65f6Smrg -libdir=* | --libdir=* | --libdi=* | --libd=*) 93666fe65f6Smrg libdir=$ac_optarg ;; 93766fe65f6Smrg 93866fe65f6Smrg -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 93966fe65f6Smrg | --libexe | --libex | --libe) 94066fe65f6Smrg ac_prev=libexecdir ;; 94166fe65f6Smrg -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 94266fe65f6Smrg | --libexe=* | --libex=* | --libe=*) 94366fe65f6Smrg libexecdir=$ac_optarg ;; 94466fe65f6Smrg 94589d09728Smrg -localedir | --localedir | --localedi | --localed | --locale) 94689d09728Smrg ac_prev=localedir ;; 94789d09728Smrg -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 94889d09728Smrg localedir=$ac_optarg ;; 94989d09728Smrg 95066fe65f6Smrg -localstatedir | --localstatedir | --localstatedi | --localstated \ 95189d09728Smrg | --localstate | --localstat | --localsta | --localst | --locals) 95266fe65f6Smrg ac_prev=localstatedir ;; 95366fe65f6Smrg -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 95489d09728Smrg | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 95566fe65f6Smrg localstatedir=$ac_optarg ;; 95666fe65f6Smrg 95766fe65f6Smrg -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 95866fe65f6Smrg ac_prev=mandir ;; 95966fe65f6Smrg -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 96066fe65f6Smrg mandir=$ac_optarg ;; 96166fe65f6Smrg 96266fe65f6Smrg -nfp | --nfp | --nf) 96366fe65f6Smrg # Obsolete; use --without-fp. 96466fe65f6Smrg with_fp=no ;; 96566fe65f6Smrg 96666fe65f6Smrg -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 96766fe65f6Smrg | --no-cr | --no-c | -n) 96866fe65f6Smrg no_create=yes ;; 96966fe65f6Smrg 97066fe65f6Smrg -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 97166fe65f6Smrg | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 97266fe65f6Smrg no_recursion=yes ;; 97366fe65f6Smrg 97466fe65f6Smrg -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 97566fe65f6Smrg | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 97666fe65f6Smrg | --oldin | --oldi | --old | --ol | --o) 97766fe65f6Smrg ac_prev=oldincludedir ;; 97866fe65f6Smrg -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 97966fe65f6Smrg | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 98066fe65f6Smrg | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 98166fe65f6Smrg oldincludedir=$ac_optarg ;; 98266fe65f6Smrg 98366fe65f6Smrg -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 98466fe65f6Smrg ac_prev=prefix ;; 98566fe65f6Smrg -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 98666fe65f6Smrg prefix=$ac_optarg ;; 98766fe65f6Smrg 98866fe65f6Smrg -program-prefix | --program-prefix | --program-prefi | --program-pref \ 98966fe65f6Smrg | --program-pre | --program-pr | --program-p) 99066fe65f6Smrg ac_prev=program_prefix ;; 99166fe65f6Smrg -program-prefix=* | --program-prefix=* | --program-prefi=* \ 99266fe65f6Smrg | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 99366fe65f6Smrg program_prefix=$ac_optarg ;; 99466fe65f6Smrg 99566fe65f6Smrg -program-suffix | --program-suffix | --program-suffi | --program-suff \ 99666fe65f6Smrg | --program-suf | --program-su | --program-s) 99766fe65f6Smrg ac_prev=program_suffix ;; 99866fe65f6Smrg -program-suffix=* | --program-suffix=* | --program-suffi=* \ 99966fe65f6Smrg | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 100066fe65f6Smrg program_suffix=$ac_optarg ;; 100166fe65f6Smrg 100266fe65f6Smrg -program-transform-name | --program-transform-name \ 100366fe65f6Smrg | --program-transform-nam | --program-transform-na \ 100466fe65f6Smrg | --program-transform-n | --program-transform- \ 100566fe65f6Smrg | --program-transform | --program-transfor \ 100666fe65f6Smrg | --program-transfo | --program-transf \ 100766fe65f6Smrg | --program-trans | --program-tran \ 100866fe65f6Smrg | --progr-tra | --program-tr | --program-t) 100966fe65f6Smrg ac_prev=program_transform_name ;; 101066fe65f6Smrg -program-transform-name=* | --program-transform-name=* \ 101166fe65f6Smrg | --program-transform-nam=* | --program-transform-na=* \ 101266fe65f6Smrg | --program-transform-n=* | --program-transform-=* \ 101366fe65f6Smrg | --program-transform=* | --program-transfor=* \ 101466fe65f6Smrg | --program-transfo=* | --program-transf=* \ 101566fe65f6Smrg | --program-trans=* | --program-tran=* \ 101666fe65f6Smrg | --progr-tra=* | --program-tr=* | --program-t=*) 101766fe65f6Smrg program_transform_name=$ac_optarg ;; 101866fe65f6Smrg 101989d09728Smrg -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 102089d09728Smrg ac_prev=pdfdir ;; 102189d09728Smrg -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 102289d09728Smrg pdfdir=$ac_optarg ;; 102389d09728Smrg 102489d09728Smrg -psdir | --psdir | --psdi | --psd | --ps) 102589d09728Smrg ac_prev=psdir ;; 102689d09728Smrg -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 102789d09728Smrg psdir=$ac_optarg ;; 102889d09728Smrg 102966fe65f6Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 103066fe65f6Smrg | -silent | --silent | --silen | --sile | --sil) 103166fe65f6Smrg silent=yes ;; 103266fe65f6Smrg 103366fe65f6Smrg -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 103466fe65f6Smrg ac_prev=sbindir ;; 103566fe65f6Smrg -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 103666fe65f6Smrg | --sbi=* | --sb=*) 103766fe65f6Smrg sbindir=$ac_optarg ;; 103866fe65f6Smrg 103966fe65f6Smrg -sharedstatedir | --sharedstatedir | --sharedstatedi \ 104066fe65f6Smrg | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 104166fe65f6Smrg | --sharedst | --shareds | --shared | --share | --shar \ 104266fe65f6Smrg | --sha | --sh) 104366fe65f6Smrg ac_prev=sharedstatedir ;; 104466fe65f6Smrg -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 104566fe65f6Smrg | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 104666fe65f6Smrg | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 104766fe65f6Smrg | --sha=* | --sh=*) 104866fe65f6Smrg sharedstatedir=$ac_optarg ;; 104966fe65f6Smrg 105066fe65f6Smrg -site | --site | --sit) 105166fe65f6Smrg ac_prev=site ;; 105266fe65f6Smrg -site=* | --site=* | --sit=*) 105366fe65f6Smrg site=$ac_optarg ;; 105466fe65f6Smrg 105566fe65f6Smrg -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 105666fe65f6Smrg ac_prev=srcdir ;; 105766fe65f6Smrg -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 105866fe65f6Smrg srcdir=$ac_optarg ;; 105966fe65f6Smrg 106066fe65f6Smrg -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 106166fe65f6Smrg | --syscon | --sysco | --sysc | --sys | --sy) 106266fe65f6Smrg ac_prev=sysconfdir ;; 106366fe65f6Smrg -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 106466fe65f6Smrg | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 106566fe65f6Smrg sysconfdir=$ac_optarg ;; 106666fe65f6Smrg 106766fe65f6Smrg -target | --target | --targe | --targ | --tar | --ta | --t) 106866fe65f6Smrg ac_prev=target_alias ;; 106966fe65f6Smrg -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 107066fe65f6Smrg target_alias=$ac_optarg ;; 107166fe65f6Smrg 107266fe65f6Smrg -v | -verbose | --verbose | --verbos | --verbo | --verb) 107366fe65f6Smrg verbose=yes ;; 107466fe65f6Smrg 107566fe65f6Smrg -version | --version | --versio | --versi | --vers | -V) 107666fe65f6Smrg ac_init_version=: ;; 107766fe65f6Smrg 107866fe65f6Smrg -with-* | --with-*) 107989d09728Smrg ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 108066fe65f6Smrg # Reject names that are not valid shell variable names. 108189d09728Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 108248af84faSmrg as_fn_error $? "invalid package name: $ac_useropt" 108389d09728Smrg ac_useropt_orig=$ac_useropt 108489d09728Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 108589d09728Smrg case $ac_user_opts in 108689d09728Smrg *" 108789d09728Smrg"with_$ac_useropt" 108889d09728Smrg"*) ;; 108989d09728Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 109089d09728Smrg ac_unrecognized_sep=', ';; 109166fe65f6Smrg esac 109289d09728Smrg eval with_$ac_useropt=\$ac_optarg ;; 109366fe65f6Smrg 109466fe65f6Smrg -without-* | --without-*) 109589d09728Smrg ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 109666fe65f6Smrg # Reject names that are not valid shell variable names. 109789d09728Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 109848af84faSmrg as_fn_error $? "invalid package name: $ac_useropt" 109989d09728Smrg ac_useropt_orig=$ac_useropt 110089d09728Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 110189d09728Smrg case $ac_user_opts in 110289d09728Smrg *" 110389d09728Smrg"with_$ac_useropt" 110489d09728Smrg"*) ;; 110589d09728Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 110689d09728Smrg ac_unrecognized_sep=', ';; 110789d09728Smrg esac 110889d09728Smrg eval with_$ac_useropt=no ;; 110966fe65f6Smrg 111066fe65f6Smrg --x) 111166fe65f6Smrg # Obsolete; use --with-x. 111266fe65f6Smrg with_x=yes ;; 111366fe65f6Smrg 111466fe65f6Smrg -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 111566fe65f6Smrg | --x-incl | --x-inc | --x-in | --x-i) 111666fe65f6Smrg ac_prev=x_includes ;; 111766fe65f6Smrg -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 111866fe65f6Smrg | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 111966fe65f6Smrg x_includes=$ac_optarg ;; 112066fe65f6Smrg 112166fe65f6Smrg -x-libraries | --x-libraries | --x-librarie | --x-librari \ 112266fe65f6Smrg | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 112366fe65f6Smrg ac_prev=x_libraries ;; 112466fe65f6Smrg -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 112566fe65f6Smrg | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 112666fe65f6Smrg x_libraries=$ac_optarg ;; 112766fe65f6Smrg 112848af84faSmrg -*) as_fn_error $? "unrecognized option: \`$ac_option' 112948af84faSmrgTry \`$0 --help' for more information" 113066fe65f6Smrg ;; 113166fe65f6Smrg 113266fe65f6Smrg *=*) 113366fe65f6Smrg ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 113466fe65f6Smrg # Reject names that are not valid shell variable names. 113548af84faSmrg case $ac_envvar in #( 113648af84faSmrg '' | [0-9]* | *[!_$as_cr_alnum]* ) 113748af84faSmrg as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 113848af84faSmrg esac 113989d09728Smrg eval $ac_envvar=\$ac_optarg 114066fe65f6Smrg export $ac_envvar ;; 114166fe65f6Smrg 114266fe65f6Smrg *) 114366fe65f6Smrg # FIXME: should be removed in autoconf 3.0. 114489d09728Smrg $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 114566fe65f6Smrg expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 114689d09728Smrg $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 114748af84faSmrg : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 114866fe65f6Smrg ;; 114966fe65f6Smrg 115066fe65f6Smrg esac 115166fe65f6Smrgdone 115266fe65f6Smrg 115366fe65f6Smrgif test -n "$ac_prev"; then 115466fe65f6Smrg ac_option=--`echo $ac_prev | sed 's/_/-/g'` 115548af84faSmrg as_fn_error $? "missing argument to $ac_option" 115666fe65f6Smrgfi 115766fe65f6Smrg 115889d09728Smrgif test -n "$ac_unrecognized_opts"; then 115989d09728Smrg case $enable_option_checking in 116089d09728Smrg no) ;; 116148af84faSmrg fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 116289d09728Smrg *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 116366fe65f6Smrg esac 116489d09728Smrgfi 116566fe65f6Smrg 116689d09728Smrg# Check all directory arguments for consistency. 116789d09728Smrgfor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 116889d09728Smrg datadir sysconfdir sharedstatedir localstatedir includedir \ 116989d09728Smrg oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 117089d09728Smrg libdir localedir mandir 117166fe65f6Smrgdo 117289d09728Smrg eval ac_val=\$$ac_var 117389d09728Smrg # Remove trailing slashes. 117466fe65f6Smrg case $ac_val in 117589d09728Smrg */ ) 117689d09728Smrg ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 117789d09728Smrg eval $ac_var=\$ac_val;; 117866fe65f6Smrg esac 117989d09728Smrg # Be sure to have absolute directory names. 118089d09728Smrg case $ac_val in 118189d09728Smrg [\\/$]* | ?:[\\/]* ) continue;; 118289d09728Smrg NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 118389d09728Smrg esac 118448af84faSmrg as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 118566fe65f6Smrgdone 118666fe65f6Smrg 118766fe65f6Smrg# There might be people who depend on the old broken behavior: `$host' 118866fe65f6Smrg# used to hold the argument of --host etc. 118966fe65f6Smrg# FIXME: To remove some day. 119066fe65f6Smrgbuild=$build_alias 119166fe65f6Smrghost=$host_alias 119266fe65f6Smrgtarget=$target_alias 119366fe65f6Smrg 119466fe65f6Smrg# FIXME: To remove some day. 119566fe65f6Smrgif test "x$host_alias" != x; then 119666fe65f6Smrg if test "x$build_alias" = x; then 119766fe65f6Smrg cross_compiling=maybe 119848af84faSmrg $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 119948af84faSmrg If a cross compiler is detected then cross compile mode will be used" >&2 120066fe65f6Smrg elif test "x$build_alias" != "x$host_alias"; then 120166fe65f6Smrg cross_compiling=yes 120266fe65f6Smrg fi 120366fe65f6Smrgfi 120466fe65f6Smrg 120566fe65f6Smrgac_tool_prefix= 120666fe65f6Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias- 120766fe65f6Smrg 120866fe65f6Smrgtest "$silent" = yes && exec 6>/dev/null 120966fe65f6Smrg 121066fe65f6Smrg 121189d09728Smrgac_pwd=`pwd` && test -n "$ac_pwd" && 121289d09728Smrgac_ls_di=`ls -di .` && 121389d09728Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 121448af84faSmrg as_fn_error $? "working directory cannot be determined" 121589d09728Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" || 121648af84faSmrg as_fn_error $? "pwd does not report name of working directory" 121789d09728Smrg 121889d09728Smrg 121966fe65f6Smrg# Find the source files, if location was not specified. 122066fe65f6Smrgif test -z "$srcdir"; then 122166fe65f6Smrg ac_srcdir_defaulted=yes 122289d09728Smrg # Try the directory containing this script, then the parent directory. 122389d09728Smrg ac_confdir=`$as_dirname -- "$as_myself" || 122489d09728Smrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 122589d09728Smrg X"$as_myself" : 'X\(//\)[^/]' \| \ 122689d09728Smrg X"$as_myself" : 'X\(//\)$' \| \ 122789d09728Smrg X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 122889d09728Smrg$as_echo X"$as_myself" | 122989d09728Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 123089d09728Smrg s//\1/ 123189d09728Smrg q 123289d09728Smrg } 123389d09728Smrg /^X\(\/\/\)[^/].*/{ 123489d09728Smrg s//\1/ 123589d09728Smrg q 123689d09728Smrg } 123789d09728Smrg /^X\(\/\/\)$/{ 123889d09728Smrg s//\1/ 123989d09728Smrg q 124089d09728Smrg } 124189d09728Smrg /^X\(\/\).*/{ 124289d09728Smrg s//\1/ 124389d09728Smrg q 124489d09728Smrg } 124589d09728Smrg s/.*/./; q'` 124666fe65f6Smrg srcdir=$ac_confdir 124789d09728Smrg if test ! -r "$srcdir/$ac_unique_file"; then 124866fe65f6Smrg srcdir=.. 124966fe65f6Smrg fi 125066fe65f6Smrgelse 125166fe65f6Smrg ac_srcdir_defaulted=no 125266fe65f6Smrgfi 125389d09728Smrgif test ! -r "$srcdir/$ac_unique_file"; then 125489d09728Smrg test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 125548af84faSmrg as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 125689d09728Smrgfi 125789d09728Smrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 125889d09728Smrgac_abs_confdir=`( 125948af84faSmrg cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 126089d09728Smrg pwd)` 126189d09728Smrg# When building in place, set srcdir=. 126289d09728Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then 126389d09728Smrg srcdir=. 126489d09728Smrgfi 126589d09728Smrg# Remove unnecessary trailing slashes from srcdir. 126689d09728Smrg# Double slashes in file names in object file debugging info 126789d09728Smrg# mess up M-x gdb in Emacs. 126889d09728Smrgcase $srcdir in 126989d09728Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 127089d09728Smrgesac 127189d09728Smrgfor ac_var in $ac_precious_vars; do 127289d09728Smrg eval ac_env_${ac_var}_set=\${${ac_var}+set} 127389d09728Smrg eval ac_env_${ac_var}_value=\$${ac_var} 127489d09728Smrg eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 127589d09728Smrg eval ac_cv_env_${ac_var}_value=\$${ac_var} 127689d09728Smrgdone 127766fe65f6Smrg 127866fe65f6Smrg# 127966fe65f6Smrg# Report the --help message. 128066fe65f6Smrg# 128166fe65f6Smrgif test "$ac_init_help" = "long"; then 128266fe65f6Smrg # Omit some internal or obsolete options to make the list less imposing. 128366fe65f6Smrg # This message is too long to be a string in the A/UX 3.1 sh. 128466fe65f6Smrg cat <<_ACEOF 128548af84faSmrg\`configure' configures font-util 1.2.0 to adapt to many kinds of systems. 128666fe65f6Smrg 128766fe65f6SmrgUsage: $0 [OPTION]... [VAR=VALUE]... 128866fe65f6Smrg 128966fe65f6SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as 129066fe65f6SmrgVAR=VALUE. See below for descriptions of some of the useful variables. 129166fe65f6Smrg 129266fe65f6SmrgDefaults for the options are specified in brackets. 129366fe65f6Smrg 129466fe65f6SmrgConfiguration: 129566fe65f6Smrg -h, --help display this help and exit 129666fe65f6Smrg --help=short display options specific to this package 129766fe65f6Smrg --help=recursive display the short help of all the included packages 129866fe65f6Smrg -V, --version display version information and exit 129948af84faSmrg -q, --quiet, --silent do not print \`checking ...' messages 130066fe65f6Smrg --cache-file=FILE cache test results in FILE [disabled] 130166fe65f6Smrg -C, --config-cache alias for \`--cache-file=config.cache' 130266fe65f6Smrg -n, --no-create do not create output files 130366fe65f6Smrg --srcdir=DIR find the sources in DIR [configure dir or \`..'] 130466fe65f6Smrg 130566fe65f6SmrgInstallation directories: 130666fe65f6Smrg --prefix=PREFIX install architecture-independent files in PREFIX 130789d09728Smrg [$ac_default_prefix] 130866fe65f6Smrg --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 130989d09728Smrg [PREFIX] 131066fe65f6Smrg 131166fe65f6SmrgBy default, \`make install' will install all the files in 131266fe65f6Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 131366fe65f6Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix', 131466fe65f6Smrgfor instance \`--prefix=\$HOME'. 131566fe65f6Smrg 131666fe65f6SmrgFor better control, use the options below. 131766fe65f6Smrg 131866fe65f6SmrgFine tuning of the installation directories: 131989d09728Smrg --bindir=DIR user executables [EPREFIX/bin] 132089d09728Smrg --sbindir=DIR system admin executables [EPREFIX/sbin] 132189d09728Smrg --libexecdir=DIR program executables [EPREFIX/libexec] 132289d09728Smrg --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 132389d09728Smrg --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 132489d09728Smrg --localstatedir=DIR modifiable single-machine data [PREFIX/var] 132589d09728Smrg --libdir=DIR object code libraries [EPREFIX/lib] 132689d09728Smrg --includedir=DIR C header files [PREFIX/include] 132789d09728Smrg --oldincludedir=DIR C header files for non-gcc [/usr/include] 132889d09728Smrg --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 132989d09728Smrg --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 133089d09728Smrg --infodir=DIR info documentation [DATAROOTDIR/info] 133189d09728Smrg --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 133289d09728Smrg --mandir=DIR man documentation [DATAROOTDIR/man] 133389d09728Smrg --docdir=DIR documentation root [DATAROOTDIR/doc/font-util] 133489d09728Smrg --htmldir=DIR html documentation [DOCDIR] 133589d09728Smrg --dvidir=DIR dvi documentation [DOCDIR] 133689d09728Smrg --pdfdir=DIR pdf documentation [DOCDIR] 133789d09728Smrg --psdir=DIR ps documentation [DOCDIR] 133866fe65f6Smrg_ACEOF 133966fe65f6Smrg 134066fe65f6Smrg cat <<\_ACEOF 134166fe65f6Smrg 134266fe65f6SmrgProgram names: 134366fe65f6Smrg --program-prefix=PREFIX prepend PREFIX to installed program names 134466fe65f6Smrg --program-suffix=SUFFIX append SUFFIX to installed program names 134566fe65f6Smrg --program-transform-name=PROGRAM run sed PROGRAM on installed program names 134666fe65f6Smrg 134766fe65f6SmrgSystem types: 134866fe65f6Smrg --build=BUILD configure for building on BUILD [guessed] 134966fe65f6Smrg --host=HOST cross-compile to build programs to run on HOST [BUILD] 135066fe65f6Smrg_ACEOF 135166fe65f6Smrgfi 135266fe65f6Smrg 135366fe65f6Smrgif test -n "$ac_init_help"; then 135466fe65f6Smrg case $ac_init_help in 135548af84faSmrg short | recursive ) echo "Configuration of font-util 1.2.0:";; 135666fe65f6Smrg esac 135766fe65f6Smrg cat <<\_ACEOF 135866fe65f6Smrg 135966fe65f6SmrgOptional Features: 136089d09728Smrg --disable-option-checking ignore unrecognized --enable/--with options 136166fe65f6Smrg --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 136266fe65f6Smrg --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 136366fe65f6Smrg --enable-maintainer-mode enable make rules and dependencies not useful 136466fe65f6Smrg (and sometimes confusing) to the casual installer 136566fe65f6Smrg --disable-dependency-tracking speeds up one-time build 136666fe65f6Smrg --enable-dependency-tracking do not reject slow dependency extractors 1367a9274bcdSmrg --enable-strict-compilation 1368a9274bcdSmrg Enable all warnings from compiler and make them 1369a9274bcdSmrg errors (default: disabled) 137048af84faSmrg --enable-silent-rules less verbose build output (undo: `make V=1') 137148af84faSmrg --disable-silent-rules verbose build output (undo: `make V=0') 137266fe65f6Smrg 137366fe65f6SmrgOptional Packages: 137466fe65f6Smrg --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 137566fe65f6Smrg --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1376a9274bcdSmrg --with-fontrootdir=DIR Path to parent of font subdirectories 1377a9274bcdSmrg [DATADIR/fonts/X11] 1378a9274bcdSmrg --with-mapdir=DIR Path to install font maps [FONTROOTDIR/util] 137966fe65f6Smrg 138066fe65f6SmrgSome influential environment variables: 138166fe65f6Smrg CC C compiler command 138266fe65f6Smrg CFLAGS C compiler flags 138366fe65f6Smrg LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 138466fe65f6Smrg nonstandard directory <lib dir> 138589d09728Smrg LIBS libraries to pass to the linker, e.g. -l<library> 138648af84faSmrg CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 138789d09728Smrg you have headers in a nonstandard directory <include dir> 138889d09728Smrg CPP C preprocessor 138948af84faSmrg PKG_CONFIG path to pkg-config utility 139066fe65f6Smrg 139166fe65f6SmrgUse these variables to override the choices made by `configure' or to help 139266fe65f6Smrgit to find libraries and programs with nonstandard names/locations. 139366fe65f6Smrg 139466fe65f6SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 139566fe65f6Smrg_ACEOF 139689d09728Smrgac_status=$? 139766fe65f6Smrgfi 139866fe65f6Smrg 139966fe65f6Smrgif test "$ac_init_help" = "recursive"; then 140066fe65f6Smrg # If there are subdirs, report their specific --help. 140166fe65f6Smrg for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 140289d09728Smrg test -d "$ac_dir" || 140389d09728Smrg { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 140489d09728Smrg continue 140566fe65f6Smrg ac_builddir=. 140666fe65f6Smrg 140789d09728Smrgcase "$ac_dir" in 140889d09728Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 140989d09728Smrg*) 141089d09728Smrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 141189d09728Smrg # A ".." for each directory in $ac_dir_suffix. 141289d09728Smrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 141389d09728Smrg case $ac_top_builddir_sub in 141489d09728Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 141589d09728Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 141689d09728Smrg esac ;; 141789d09728Smrgesac 141889d09728Smrgac_abs_top_builddir=$ac_pwd 141989d09728Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 142089d09728Smrg# for backward compatibility: 142189d09728Smrgac_top_builddir=$ac_top_build_prefix 142266fe65f6Smrg 142366fe65f6Smrgcase $srcdir in 142489d09728Smrg .) # We are building in place. 142566fe65f6Smrg ac_srcdir=. 142689d09728Smrg ac_top_srcdir=$ac_top_builddir_sub 142789d09728Smrg ac_abs_top_srcdir=$ac_pwd ;; 142889d09728Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 142966fe65f6Smrg ac_srcdir=$srcdir$ac_dir_suffix; 143089d09728Smrg ac_top_srcdir=$srcdir 143189d09728Smrg ac_abs_top_srcdir=$srcdir ;; 143289d09728Smrg *) # Relative name. 143389d09728Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 143489d09728Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 143589d09728Smrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 143666fe65f6Smrgesac 143789d09728Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 143889d09728Smrg 143989d09728Smrg cd "$ac_dir" || { ac_status=$?; continue; } 144089d09728Smrg # Check for guested configure. 144189d09728Smrg if test -f "$ac_srcdir/configure.gnu"; then 144289d09728Smrg echo && 144389d09728Smrg $SHELL "$ac_srcdir/configure.gnu" --help=recursive 144489d09728Smrg elif test -f "$ac_srcdir/configure"; then 144589d09728Smrg echo && 144689d09728Smrg $SHELL "$ac_srcdir/configure" --help=recursive 144766fe65f6Smrg else 144889d09728Smrg $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 144989d09728Smrg fi || ac_status=$? 145089d09728Smrg cd "$ac_pwd" || { ac_status=$?; break; } 145166fe65f6Smrg done 145266fe65f6Smrgfi 145366fe65f6Smrg 145489d09728Smrgtest -n "$ac_init_help" && exit $ac_status 145566fe65f6Smrgif $ac_init_version; then 145666fe65f6Smrg cat <<\_ACEOF 145748af84faSmrgfont-util configure 1.2.0 145848af84faSmrggenerated by GNU Autoconf 2.68 145966fe65f6Smrg 146048af84faSmrgCopyright (C) 2010 Free Software Foundation, Inc. 146166fe65f6SmrgThis configure script is free software; the Free Software Foundation 146266fe65f6Smrggives unlimited permission to copy, distribute and modify it. 146366fe65f6Smrg_ACEOF 146489d09728Smrg exit 146566fe65f6Smrgfi 146666fe65f6Smrg 146748af84faSmrg## ------------------------ ## 146848af84faSmrg## Autoconf initialization. ## 146948af84faSmrg## ------------------------ ## 147066fe65f6Smrg 147148af84faSmrg# ac_fn_c_try_compile LINENO 147248af84faSmrg# -------------------------- 147348af84faSmrg# Try to compile conftest.$ac_ext, and return whether this succeeded. 147448af84faSmrgac_fn_c_try_compile () 1475a9274bcdSmrg{ 147648af84faSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 147748af84faSmrg rm -f conftest.$ac_objext 147848af84faSmrg if { { ac_try="$ac_compile" 147948af84faSmrgcase "(($ac_try" in 148048af84faSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 148148af84faSmrg *) ac_try_echo=$ac_try;; 148248af84faSmrgesac 148348af84faSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 148448af84faSmrg$as_echo "$ac_try_echo"; } >&5 148548af84faSmrg (eval "$ac_compile") 2>conftest.err 148648af84faSmrg ac_status=$? 148748af84faSmrg if test -s conftest.err; then 148848af84faSmrg grep -v '^ *+' conftest.err >conftest.er1 148948af84faSmrg cat conftest.er1 >&5 149048af84faSmrg mv -f conftest.er1 conftest.err 149148af84faSmrg fi 149248af84faSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 149348af84faSmrg test $ac_status = 0; } && { 149448af84faSmrg test -z "$ac_c_werror_flag" || 149548af84faSmrg test ! -s conftest.err 149648af84faSmrg } && test -s conftest.$ac_objext; then : 149748af84faSmrg ac_retval=0 149848af84faSmrgelse 149948af84faSmrg $as_echo "$as_me: failed program was:" >&5 150048af84faSmrgsed 's/^/| /' conftest.$ac_ext >&5 150189d09728Smrg 150248af84faSmrg ac_retval=1 150348af84faSmrgfi 150448af84faSmrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 150548af84faSmrg as_fn_set_status $ac_retval 150689d09728Smrg 150748af84faSmrg} # ac_fn_c_try_compile 150889d09728Smrg 150948af84faSmrg# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 151048af84faSmrg# --------------------------------------------- 151148af84faSmrg# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 151248af84faSmrg# accordingly. 151348af84faSmrgac_fn_c_check_decl () 151448af84faSmrg{ 151548af84faSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 151648af84faSmrg as_decl_name=`echo $2|sed 's/ *(.*//'` 151748af84faSmrg as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 151848af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 151948af84faSmrg$as_echo_n "checking whether $as_decl_name is declared... " >&6; } 152048af84faSmrgif eval \${$3+:} false; then : 152148af84faSmrg $as_echo_n "(cached) " >&6 152248af84faSmrgelse 152348af84faSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 152448af84faSmrg/* end confdefs.h. */ 152548af84faSmrg$4 152648af84faSmrgint 152748af84faSmrgmain () 152848af84faSmrg{ 152948af84faSmrg#ifndef $as_decl_name 153048af84faSmrg#ifdef __cplusplus 153148af84faSmrg (void) $as_decl_use; 153248af84faSmrg#else 153348af84faSmrg (void) $as_decl_name; 153448af84faSmrg#endif 153548af84faSmrg#endif 153648af84faSmrg 153748af84faSmrg ; 153848af84faSmrg return 0; 153948af84faSmrg} 154048af84faSmrg_ACEOF 154148af84faSmrgif ac_fn_c_try_compile "$LINENO"; then : 154248af84faSmrg eval "$3=yes" 154348af84faSmrgelse 154448af84faSmrg eval "$3=no" 154548af84faSmrgfi 154648af84faSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 154748af84faSmrgfi 154848af84faSmrgeval ac_res=\$$3 154948af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 155048af84faSmrg$as_echo "$ac_res" >&6; } 155148af84faSmrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 155248af84faSmrg 155348af84faSmrg} # ac_fn_c_check_decl 155448af84faSmrg 155548af84faSmrg# ac_fn_c_try_cpp LINENO 155648af84faSmrg# ---------------------- 155748af84faSmrg# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 155848af84faSmrgac_fn_c_try_cpp () 155948af84faSmrg{ 156048af84faSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 156148af84faSmrg if { { ac_try="$ac_cpp conftest.$ac_ext" 156248af84faSmrgcase "(($ac_try" in 156348af84faSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 156448af84faSmrg *) ac_try_echo=$ac_try;; 156548af84faSmrgesac 156648af84faSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 156748af84faSmrg$as_echo "$ac_try_echo"; } >&5 156848af84faSmrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 156948af84faSmrg ac_status=$? 157048af84faSmrg if test -s conftest.err; then 157148af84faSmrg grep -v '^ *+' conftest.err >conftest.er1 157248af84faSmrg cat conftest.er1 >&5 157348af84faSmrg mv -f conftest.er1 conftest.err 157448af84faSmrg fi 157548af84faSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 157648af84faSmrg test $ac_status = 0; } > conftest.i && { 157748af84faSmrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 157848af84faSmrg test ! -s conftest.err 157948af84faSmrg }; then : 158048af84faSmrg ac_retval=0 158148af84faSmrgelse 158248af84faSmrg $as_echo "$as_me: failed program was:" >&5 158348af84faSmrgsed 's/^/| /' conftest.$ac_ext >&5 158448af84faSmrg 158548af84faSmrg ac_retval=1 158648af84faSmrgfi 158748af84faSmrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 158848af84faSmrg as_fn_set_status $ac_retval 158948af84faSmrg 159048af84faSmrg} # ac_fn_c_try_cpp 159148af84faSmrg 159248af84faSmrg# ac_fn_c_try_run LINENO 159348af84faSmrg# ---------------------- 159448af84faSmrg# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 159548af84faSmrg# that executables *can* be run. 159648af84faSmrgac_fn_c_try_run () 159748af84faSmrg{ 159848af84faSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 159948af84faSmrg if { { ac_try="$ac_link" 160048af84faSmrgcase "(($ac_try" in 160148af84faSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 160248af84faSmrg *) ac_try_echo=$ac_try;; 160348af84faSmrgesac 160448af84faSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 160548af84faSmrg$as_echo "$ac_try_echo"; } >&5 160648af84faSmrg (eval "$ac_link") 2>&5 160748af84faSmrg ac_status=$? 160848af84faSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 160948af84faSmrg test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 161048af84faSmrg { { case "(($ac_try" in 161148af84faSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 161248af84faSmrg *) ac_try_echo=$ac_try;; 161348af84faSmrgesac 161448af84faSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 161548af84faSmrg$as_echo "$ac_try_echo"; } >&5 161648af84faSmrg (eval "$ac_try") 2>&5 161748af84faSmrg ac_status=$? 161848af84faSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 161948af84faSmrg test $ac_status = 0; }; }; then : 162048af84faSmrg ac_retval=0 162148af84faSmrgelse 162248af84faSmrg $as_echo "$as_me: program exited with status $ac_status" >&5 162348af84faSmrg $as_echo "$as_me: failed program was:" >&5 162448af84faSmrgsed 's/^/| /' conftest.$ac_ext >&5 162548af84faSmrg 162648af84faSmrg ac_retval=$ac_status 162748af84faSmrgfi 162848af84faSmrg rm -rf conftest.dSYM conftest_ipa8_conftest.oo 162948af84faSmrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 163048af84faSmrg as_fn_set_status $ac_retval 163148af84faSmrg 163248af84faSmrg} # ac_fn_c_try_run 163348af84faSmrg 163448af84faSmrg# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 163548af84faSmrg# ------------------------------------------------------- 163648af84faSmrg# Tests whether HEADER exists and can be compiled using the include files in 163748af84faSmrg# INCLUDES, setting the cache variable VAR accordingly. 163848af84faSmrgac_fn_c_check_header_compile () 163948af84faSmrg{ 164048af84faSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 164148af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 164248af84faSmrg$as_echo_n "checking for $2... " >&6; } 164348af84faSmrgif eval \${$3+:} false; then : 164448af84faSmrg $as_echo_n "(cached) " >&6 164548af84faSmrgelse 164648af84faSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 164748af84faSmrg/* end confdefs.h. */ 164848af84faSmrg$4 164948af84faSmrg#include <$2> 165048af84faSmrg_ACEOF 165148af84faSmrgif ac_fn_c_try_compile "$LINENO"; then : 165248af84faSmrg eval "$3=yes" 165348af84faSmrgelse 165448af84faSmrg eval "$3=no" 165548af84faSmrgfi 165648af84faSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 165748af84faSmrgfi 165848af84faSmrgeval ac_res=\$$3 165948af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 166048af84faSmrg$as_echo "$ac_res" >&6; } 166148af84faSmrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 166248af84faSmrg 166348af84faSmrg} # ac_fn_c_check_header_compile 166448af84faSmrgcat >config.log <<_ACEOF 166548af84faSmrgThis file contains any messages produced by compilers while 166648af84faSmrgrunning configure, to aid debugging if configure makes a mistake. 166748af84faSmrg 166848af84faSmrgIt was created by font-util $as_me 1.2.0, which was 166948af84faSmrggenerated by GNU Autoconf 2.68. Invocation command line was 167048af84faSmrg 167148af84faSmrg $ $0 $@ 167248af84faSmrg 167348af84faSmrg_ACEOF 167448af84faSmrgexec 5>>config.log 167548af84faSmrg{ 167648af84faSmrgcat <<_ASUNAME 167748af84faSmrg## --------- ## 167848af84faSmrg## Platform. ## 167948af84faSmrg## --------- ## 168048af84faSmrg 168148af84faSmrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 168248af84faSmrguname -m = `(uname -m) 2>/dev/null || echo unknown` 168348af84faSmrguname -r = `(uname -r) 2>/dev/null || echo unknown` 168448af84faSmrguname -s = `(uname -s) 2>/dev/null || echo unknown` 168548af84faSmrguname -v = `(uname -v) 2>/dev/null || echo unknown` 168648af84faSmrg 168748af84faSmrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 168848af84faSmrg/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 168948af84faSmrg 169048af84faSmrg/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 169148af84faSmrg/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 169248af84faSmrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 169348af84faSmrg/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 169448af84faSmrg/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 169548af84faSmrg/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 169648af84faSmrg/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 169748af84faSmrg 169848af84faSmrg_ASUNAME 169948af84faSmrg 170048af84faSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 170148af84faSmrgfor as_dir in $PATH 170248af84faSmrgdo 170389d09728Smrg IFS=$as_save_IFS 170489d09728Smrg test -z "$as_dir" && as_dir=. 170548af84faSmrg $as_echo "PATH: $as_dir" 170648af84faSmrg done 170789d09728SmrgIFS=$as_save_IFS 170889d09728Smrg 170989d09728Smrg} >&5 171089d09728Smrg 171189d09728Smrgcat >&5 <<_ACEOF 171266fe65f6Smrg 171366fe65f6Smrg 171466fe65f6Smrg## ----------- ## 171566fe65f6Smrg## Core tests. ## 171666fe65f6Smrg## ----------- ## 171766fe65f6Smrg 171866fe65f6Smrg_ACEOF 171966fe65f6Smrg 172066fe65f6Smrg 172166fe65f6Smrg# Keep a trace of the command line. 172266fe65f6Smrg# Strip out --no-create and --no-recursion so they do not pile up. 172366fe65f6Smrg# Strip out --silent because we don't want to record it for future runs. 172466fe65f6Smrg# Also quote any args containing shell meta-characters. 172566fe65f6Smrg# Make two passes to allow for proper duplicate-argument suppression. 172666fe65f6Smrgac_configure_args= 172766fe65f6Smrgac_configure_args0= 172866fe65f6Smrgac_configure_args1= 172966fe65f6Smrgac_must_keep_next=false 173066fe65f6Smrgfor ac_pass in 1 2 173166fe65f6Smrgdo 173266fe65f6Smrg for ac_arg 173366fe65f6Smrg do 173466fe65f6Smrg case $ac_arg in 173566fe65f6Smrg -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 173666fe65f6Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 173766fe65f6Smrg | -silent | --silent | --silen | --sile | --sil) 173866fe65f6Smrg continue ;; 173989d09728Smrg *\'*) 174089d09728Smrg ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 174166fe65f6Smrg esac 174266fe65f6Smrg case $ac_pass in 174348af84faSmrg 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 174466fe65f6Smrg 2) 174548af84faSmrg as_fn_append ac_configure_args1 " '$ac_arg'" 174666fe65f6Smrg if test $ac_must_keep_next = true; then 174766fe65f6Smrg ac_must_keep_next=false # Got value, back to normal. 174866fe65f6Smrg else 174966fe65f6Smrg case $ac_arg in 175066fe65f6Smrg *=* | --config-cache | -C | -disable-* | --disable-* \ 175166fe65f6Smrg | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 175266fe65f6Smrg | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 175366fe65f6Smrg | -with-* | --with-* | -without-* | --without-* | --x) 175466fe65f6Smrg case "$ac_configure_args0 " in 175566fe65f6Smrg "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 175666fe65f6Smrg esac 175766fe65f6Smrg ;; 175866fe65f6Smrg -* ) ac_must_keep_next=true ;; 175966fe65f6Smrg esac 176066fe65f6Smrg fi 176148af84faSmrg as_fn_append ac_configure_args " '$ac_arg'" 176266fe65f6Smrg ;; 176366fe65f6Smrg esac 176466fe65f6Smrg done 176566fe65f6Smrgdone 176648af84faSmrg{ ac_configure_args0=; unset ac_configure_args0;} 176748af84faSmrg{ ac_configure_args1=; unset ac_configure_args1;} 176866fe65f6Smrg 176966fe65f6Smrg# When interrupted or exit'd, cleanup temporary files, and complete 177066fe65f6Smrg# config.log. We remove comments because anyway the quotes in there 177166fe65f6Smrg# would cause problems or look ugly. 177289d09728Smrg# WARNING: Use '\'' to represent an apostrophe within the trap. 177389d09728Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 177466fe65f6Smrgtrap 'exit_status=$? 177566fe65f6Smrg # Save into config.log some information that might help in debugging. 177666fe65f6Smrg { 177766fe65f6Smrg echo 177866fe65f6Smrg 177948af84faSmrg $as_echo "## ---------------- ## 178066fe65f6Smrg## Cache variables. ## 178148af84faSmrg## ---------------- ##" 178266fe65f6Smrg echo 178366fe65f6Smrg # The following way of writing the cache mishandles newlines in values, 178489d09728Smrg( 178589d09728Smrg for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 178689d09728Smrg eval ac_val=\$$ac_var 178789d09728Smrg case $ac_val in #( 178889d09728Smrg *${as_nl}*) 178989d09728Smrg case $ac_var in #( 179048af84faSmrg *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 179189d09728Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 179289d09728Smrg esac 179389d09728Smrg case $ac_var in #( 179489d09728Smrg _ | IFS | as_nl) ;; #( 179589d09728Smrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 179648af84faSmrg *) { eval $ac_var=; unset $ac_var;} ;; 179789d09728Smrg esac ;; 179889d09728Smrg esac 179989d09728Smrg done 180066fe65f6Smrg (set) 2>&1 | 180189d09728Smrg case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 180289d09728Smrg *${as_nl}ac_space=\ *) 180366fe65f6Smrg sed -n \ 180489d09728Smrg "s/'\''/'\''\\\\'\'''\''/g; 180589d09728Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 180689d09728Smrg ;; #( 180766fe65f6Smrg *) 180889d09728Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 180966fe65f6Smrg ;; 181089d09728Smrg esac | 181189d09728Smrg sort 181289d09728Smrg) 181366fe65f6Smrg echo 181466fe65f6Smrg 181548af84faSmrg $as_echo "## ----------------- ## 181666fe65f6Smrg## Output variables. ## 181748af84faSmrg## ----------------- ##" 181866fe65f6Smrg echo 181966fe65f6Smrg for ac_var in $ac_subst_vars 182066fe65f6Smrg do 182189d09728Smrg eval ac_val=\$$ac_var 182289d09728Smrg case $ac_val in 182389d09728Smrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 182489d09728Smrg esac 182589d09728Smrg $as_echo "$ac_var='\''$ac_val'\''" 182666fe65f6Smrg done | sort 182766fe65f6Smrg echo 182866fe65f6Smrg 182966fe65f6Smrg if test -n "$ac_subst_files"; then 183048af84faSmrg $as_echo "## ------------------- ## 183189d09728Smrg## File substitutions. ## 183248af84faSmrg## ------------------- ##" 183366fe65f6Smrg echo 183466fe65f6Smrg for ac_var in $ac_subst_files 183566fe65f6Smrg do 183689d09728Smrg eval ac_val=\$$ac_var 183789d09728Smrg case $ac_val in 183889d09728Smrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 183989d09728Smrg esac 184089d09728Smrg $as_echo "$ac_var='\''$ac_val'\''" 184166fe65f6Smrg done | sort 184266fe65f6Smrg echo 184366fe65f6Smrg fi 184466fe65f6Smrg 184566fe65f6Smrg if test -s confdefs.h; then 184648af84faSmrg $as_echo "## ----------- ## 184766fe65f6Smrg## confdefs.h. ## 184848af84faSmrg## ----------- ##" 184966fe65f6Smrg echo 185089d09728Smrg cat confdefs.h 185166fe65f6Smrg echo 185266fe65f6Smrg fi 185366fe65f6Smrg test "$ac_signal" != 0 && 185489d09728Smrg $as_echo "$as_me: caught signal $ac_signal" 185589d09728Smrg $as_echo "$as_me: exit $exit_status" 185666fe65f6Smrg } >&5 185789d09728Smrg rm -f core *.core core.conftest.* && 185889d09728Smrg rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 185966fe65f6Smrg exit $exit_status 186089d09728Smrg' 0 186166fe65f6Smrgfor ac_signal in 1 2 13 15; do 186248af84faSmrg trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 186366fe65f6Smrgdone 186466fe65f6Smrgac_signal=0 186566fe65f6Smrg 186666fe65f6Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed. 186789d09728Smrgrm -f -r conftest* confdefs.h 186889d09728Smrg 186948af84faSmrg$as_echo "/* confdefs.h */" > confdefs.h 187048af84faSmrg 187166fe65f6Smrg# Predefined preprocessor variables. 187266fe65f6Smrg 187366fe65f6Smrgcat >>confdefs.h <<_ACEOF 187466fe65f6Smrg#define PACKAGE_NAME "$PACKAGE_NAME" 187566fe65f6Smrg_ACEOF 187666fe65f6Smrg 187766fe65f6Smrgcat >>confdefs.h <<_ACEOF 187866fe65f6Smrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 187966fe65f6Smrg_ACEOF 188066fe65f6Smrg 188166fe65f6Smrgcat >>confdefs.h <<_ACEOF 188266fe65f6Smrg#define PACKAGE_VERSION "$PACKAGE_VERSION" 188366fe65f6Smrg_ACEOF 188466fe65f6Smrg 188566fe65f6Smrgcat >>confdefs.h <<_ACEOF 188666fe65f6Smrg#define PACKAGE_STRING "$PACKAGE_STRING" 188766fe65f6Smrg_ACEOF 188866fe65f6Smrg 188989d09728Smrgcat >>confdefs.h <<_ACEOF 1890a9274bcdSmrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 189189d09728Smrg_ACEOF 189289d09728Smrg 189348af84faSmrgcat >>confdefs.h <<_ACEOF 189448af84faSmrg#define PACKAGE_URL "$PACKAGE_URL" 189548af84faSmrg_ACEOF 189648af84faSmrg 189766fe65f6Smrg 189866fe65f6Smrg# Let the site file select an alternate cache file if it wants to. 189989d09728Smrg# Prefer an explicitly selected file to automatically selected ones. 190089d09728Smrgac_site_file1=NONE 190189d09728Smrgac_site_file2=NONE 190289d09728Smrgif test -n "$CONFIG_SITE"; then 190348af84faSmrg # We do not want a PATH search for config.site. 190448af84faSmrg case $CONFIG_SITE in #(( 190548af84faSmrg -*) ac_site_file1=./$CONFIG_SITE;; 190648af84faSmrg */*) ac_site_file1=$CONFIG_SITE;; 190748af84faSmrg *) ac_site_file1=./$CONFIG_SITE;; 190848af84faSmrg esac 190989d09728Smrgelif test "x$prefix" != xNONE; then 191089d09728Smrg ac_site_file1=$prefix/share/config.site 191189d09728Smrg ac_site_file2=$prefix/etc/config.site 191289d09728Smrgelse 191389d09728Smrg ac_site_file1=$ac_default_prefix/share/config.site 191489d09728Smrg ac_site_file2=$ac_default_prefix/etc/config.site 191566fe65f6Smrgfi 191689d09728Smrgfor ac_site_file in "$ac_site_file1" "$ac_site_file2" 191789d09728Smrgdo 191889d09728Smrg test "x$ac_site_file" = xNONE && continue 191948af84faSmrg if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 192048af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 192189d09728Smrg$as_echo "$as_me: loading site script $ac_site_file" >&6;} 192266fe65f6Smrg sed 's/^/| /' "$ac_site_file" >&5 192348af84faSmrg . "$ac_site_file" \ 192448af84faSmrg || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 192548af84faSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 192648af84faSmrgas_fn_error $? "failed to load site script $ac_site_file 192748af84faSmrgSee \`config.log' for more details" "$LINENO" 5; } 192866fe65f6Smrg fi 192966fe65f6Smrgdone 193066fe65f6Smrg 193166fe65f6Smrgif test -r "$cache_file"; then 193248af84faSmrg # Some versions of bash will fail to source /dev/null (special files 193348af84faSmrg # actually), so we avoid doing that. DJGPP emulates it as a regular file. 193448af84faSmrg if test /dev/null != "$cache_file" && test -f "$cache_file"; then 193548af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 193689d09728Smrg$as_echo "$as_me: loading cache $cache_file" >&6;} 193766fe65f6Smrg case $cache_file in 193889d09728Smrg [\\/]* | ?:[\\/]* ) . "$cache_file";; 193989d09728Smrg *) . "./$cache_file";; 194066fe65f6Smrg esac 194166fe65f6Smrg fi 194266fe65f6Smrgelse 194348af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 194489d09728Smrg$as_echo "$as_me: creating cache $cache_file" >&6;} 194566fe65f6Smrg >$cache_file 194666fe65f6Smrgfi 194766fe65f6Smrg 194866fe65f6Smrg# Check that the precious variables saved in the cache have kept the same 194966fe65f6Smrg# value. 195066fe65f6Smrgac_cache_corrupted=false 195189d09728Smrgfor ac_var in $ac_precious_vars; do 195266fe65f6Smrg eval ac_old_set=\$ac_cv_env_${ac_var}_set 195366fe65f6Smrg eval ac_new_set=\$ac_env_${ac_var}_set 195489d09728Smrg eval ac_old_val=\$ac_cv_env_${ac_var}_value 195589d09728Smrg eval ac_new_val=\$ac_env_${ac_var}_value 195666fe65f6Smrg case $ac_old_set,$ac_new_set in 195766fe65f6Smrg set,) 195848af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 195989d09728Smrg$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 196066fe65f6Smrg ac_cache_corrupted=: ;; 196166fe65f6Smrg ,set) 196248af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 196389d09728Smrg$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 196466fe65f6Smrg ac_cache_corrupted=: ;; 196566fe65f6Smrg ,);; 196666fe65f6Smrg *) 196766fe65f6Smrg if test "x$ac_old_val" != "x$ac_new_val"; then 196889d09728Smrg # differences in whitespace do not lead to failure. 196989d09728Smrg ac_old_val_w=`echo x $ac_old_val` 197089d09728Smrg ac_new_val_w=`echo x $ac_new_val` 197189d09728Smrg if test "$ac_old_val_w" != "$ac_new_val_w"; then 197248af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 197389d09728Smrg$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 197489d09728Smrg ac_cache_corrupted=: 197589d09728Smrg else 197648af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 197789d09728Smrg$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 197889d09728Smrg eval $ac_var=\$ac_old_val 197989d09728Smrg fi 198048af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 198189d09728Smrg$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 198248af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 198389d09728Smrg$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 198466fe65f6Smrg fi;; 198566fe65f6Smrg esac 198666fe65f6Smrg # Pass precious variables to config.status. 198766fe65f6Smrg if test "$ac_new_set" = set; then 198866fe65f6Smrg case $ac_new_val in 198989d09728Smrg *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 199066fe65f6Smrg *) ac_arg=$ac_var=$ac_new_val ;; 199166fe65f6Smrg esac 199266fe65f6Smrg case " $ac_configure_args " in 199366fe65f6Smrg *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 199448af84faSmrg *) as_fn_append ac_configure_args " '$ac_arg'" ;; 199566fe65f6Smrg esac 199666fe65f6Smrg fi 199766fe65f6Smrgdone 199866fe65f6Smrgif $ac_cache_corrupted; then 199948af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 200089d09728Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 200148af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 200289d09728Smrg$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 200348af84faSmrg as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 200466fe65f6Smrgfi 200548af84faSmrg## -------------------- ## 200648af84faSmrg## Main body of script. ## 200748af84faSmrg## -------------------- ## 200866fe65f6Smrg 200966fe65f6Smrgac_ext=c 201066fe65f6Smrgac_cpp='$CPP $CPPFLAGS' 201166fe65f6Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 201266fe65f6Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 201366fe65f6Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 201466fe65f6Smrg 201566fe65f6Smrg 2016a9274bcdSmrgam__api_version='1.11' 201766fe65f6Smrg 201866fe65f6Smrgac_aux_dir= 201989d09728Smrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2020a9274bcdSmrg if test -f "$ac_dir/install-sh"; then 2021a9274bcdSmrg ac_aux_dir=$ac_dir 2022a9274bcdSmrg ac_install_sh="$ac_aux_dir/install-sh -c" 2023a9274bcdSmrg break 2024a9274bcdSmrg elif test -f "$ac_dir/install.sh"; then 2025a9274bcdSmrg ac_aux_dir=$ac_dir 2026a9274bcdSmrg ac_install_sh="$ac_aux_dir/install.sh -c" 2027a9274bcdSmrg break 2028a9274bcdSmrg elif test -f "$ac_dir/shtool"; then 2029a9274bcdSmrg ac_aux_dir=$ac_dir 2030a9274bcdSmrg ac_install_sh="$ac_aux_dir/shtool install -c" 2031a9274bcdSmrg break 2032a9274bcdSmrg fi 203366fe65f6Smrgdone 203466fe65f6Smrgif test -z "$ac_aux_dir"; then 203548af84faSmrg as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 203666fe65f6Smrgfi 203789d09728Smrg 203889d09728Smrg# These three variables are undocumented and unsupported, 203989d09728Smrg# and are intended to be withdrawn in a future Autoconf release. 204089d09728Smrg# They can cause serious problems if a builder's source tree is in a directory 204189d09728Smrg# whose full name contains unusual characters. 204289d09728Smrgac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 204389d09728Smrgac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 204489d09728Smrgac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 204589d09728Smrg 204666fe65f6Smrg 204766fe65f6Smrg# Find a good install program. We prefer a C program (faster), 204866fe65f6Smrg# so one script is as good as another. But avoid the broken or 204966fe65f6Smrg# incompatible versions: 205066fe65f6Smrg# SysV /etc/install, /usr/sbin/install 205166fe65f6Smrg# SunOS /usr/etc/install 205266fe65f6Smrg# IRIX /sbin/install 205366fe65f6Smrg# AIX /bin/install 205466fe65f6Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs 205566fe65f6Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 205666fe65f6Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 205766fe65f6Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 205866fe65f6Smrg# OS/2's system install, which has a completely different semantic 205966fe65f6Smrg# ./install, which can be erroneously created by make from ./install.sh. 206089d09728Smrg# Reject install programs that cannot install multiple files. 206148af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 206289d09728Smrg$as_echo_n "checking for a BSD-compatible install... " >&6; } 206366fe65f6Smrgif test -z "$INSTALL"; then 206448af84faSmrgif ${ac_cv_path_install+:} false; then : 206589d09728Smrg $as_echo_n "(cached) " >&6 206666fe65f6Smrgelse 206766fe65f6Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 206866fe65f6Smrgfor as_dir in $PATH 206966fe65f6Smrgdo 207066fe65f6Smrg IFS=$as_save_IFS 207166fe65f6Smrg test -z "$as_dir" && as_dir=. 207248af84faSmrg # Account for people who put trailing slashes in PATH elements. 207348af84faSmrgcase $as_dir/ in #(( 207448af84faSmrg ./ | .// | /[cC]/* | \ 207566fe65f6Smrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 207648af84faSmrg ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 207766fe65f6Smrg /usr/ucb/* ) ;; 207866fe65f6Smrg *) 207966fe65f6Smrg # OSF1 and SCO ODT 3.0 have their own names for install. 208066fe65f6Smrg # Don't use installbsd from OSF since it installs stuff as root 208166fe65f6Smrg # by default. 208266fe65f6Smrg for ac_prog in ginstall scoinst install; do 208366fe65f6Smrg for ac_exec_ext in '' $ac_executable_extensions; do 208489d09728Smrg if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 208566fe65f6Smrg if test $ac_prog = install && 208666fe65f6Smrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 208766fe65f6Smrg # AIX install. It has an incompatible calling convention. 208866fe65f6Smrg : 208966fe65f6Smrg elif test $ac_prog = install && 209066fe65f6Smrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 209166fe65f6Smrg # program-specific install script used by HP pwplus--don't use. 209266fe65f6Smrg : 209366fe65f6Smrg else 209489d09728Smrg rm -rf conftest.one conftest.two conftest.dir 209589d09728Smrg echo one > conftest.one 209689d09728Smrg echo two > conftest.two 209789d09728Smrg mkdir conftest.dir 209889d09728Smrg if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 209989d09728Smrg test -s conftest.one && test -s conftest.two && 210089d09728Smrg test -s conftest.dir/conftest.one && 210189d09728Smrg test -s conftest.dir/conftest.two 210289d09728Smrg then 210389d09728Smrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 210489d09728Smrg break 3 210589d09728Smrg fi 210666fe65f6Smrg fi 210766fe65f6Smrg fi 210866fe65f6Smrg done 210966fe65f6Smrg done 211066fe65f6Smrg ;; 211166fe65f6Smrgesac 211266fe65f6Smrg 211348af84faSmrg done 211489d09728SmrgIFS=$as_save_IFS 211589d09728Smrg 211689d09728Smrgrm -rf conftest.one conftest.two conftest.dir 211766fe65f6Smrg 211866fe65f6Smrgfi 211966fe65f6Smrg if test "${ac_cv_path_install+set}" = set; then 212066fe65f6Smrg INSTALL=$ac_cv_path_install 212166fe65f6Smrg else 212289d09728Smrg # As a last resort, use the slow shell script. Don't cache a 212389d09728Smrg # value for INSTALL within a source directory, because that will 212466fe65f6Smrg # break other packages using the cache if that directory is 212589d09728Smrg # removed, or if the value is a relative name. 212666fe65f6Smrg INSTALL=$ac_install_sh 212766fe65f6Smrg fi 212866fe65f6Smrgfi 212948af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 213089d09728Smrg$as_echo "$INSTALL" >&6; } 213166fe65f6Smrg 213266fe65f6Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 213366fe65f6Smrg# It thinks the first close brace ends the variable substitution. 213466fe65f6Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 213566fe65f6Smrg 213666fe65f6Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 213766fe65f6Smrg 213866fe65f6Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 213966fe65f6Smrg 214048af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 214189d09728Smrg$as_echo_n "checking whether build environment is sane... " >&6; } 214266fe65f6Smrg# Just in case 214366fe65f6Smrgsleep 1 214466fe65f6Smrgecho timestamp > conftest.file 2145a9274bcdSmrg# Reject unsafe characters in $srcdir or the absolute working directory 2146a9274bcdSmrg# name. Accept space and tab only in the latter. 2147a9274bcdSmrgam_lf=' 2148a9274bcdSmrg' 2149a9274bcdSmrgcase `pwd` in 2150a9274bcdSmrg *[\\\"\#\$\&\'\`$am_lf]*) 215148af84faSmrg as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2152a9274bcdSmrgesac 2153a9274bcdSmrgcase $srcdir in 2154a9274bcdSmrg *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 215548af84faSmrg as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 2156a9274bcdSmrgesac 2157a9274bcdSmrg 215866fe65f6Smrg# Do `set' in a subshell so we don't clobber the current shell's 215966fe65f6Smrg# arguments. Must try -L first in case configure is actually a 216066fe65f6Smrg# symlink; some systems play weird games with the mod time of symlinks 216166fe65f6Smrg# (eg FreeBSD returns the mod time of the symlink's containing 216266fe65f6Smrg# directory). 216366fe65f6Smrgif ( 2164a9274bcdSmrg set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 216566fe65f6Smrg if test "$*" = "X"; then 216666fe65f6Smrg # -L didn't work. 2167a9274bcdSmrg set X `ls -t "$srcdir/configure" conftest.file` 216866fe65f6Smrg fi 216966fe65f6Smrg rm -f conftest.file 217066fe65f6Smrg if test "$*" != "X $srcdir/configure conftest.file" \ 217166fe65f6Smrg && test "$*" != "X conftest.file $srcdir/configure"; then 217266fe65f6Smrg 217366fe65f6Smrg # If neither matched, then we have a broken ls. This can happen 217466fe65f6Smrg # if, for instance, CONFIG_SHELL is bash and it inherits a 217566fe65f6Smrg # broken ls alias from the environment. This has actually 217666fe65f6Smrg # happened. Such a system could not be considered "sane". 217748af84faSmrg as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 217848af84faSmrgalias in your environment" "$LINENO" 5 217966fe65f6Smrg fi 218066fe65f6Smrg 218166fe65f6Smrg test "$2" = conftest.file 218266fe65f6Smrg ) 218366fe65f6Smrgthen 218466fe65f6Smrg # Ok. 218566fe65f6Smrg : 218666fe65f6Smrgelse 218748af84faSmrg as_fn_error $? "newly created file is older than distributed files! 218848af84faSmrgCheck your system clock" "$LINENO" 5 218966fe65f6Smrgfi 219048af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 219189d09728Smrg$as_echo "yes" >&6; } 219266fe65f6Smrgtest "$program_prefix" != NONE && 219389d09728Smrg program_transform_name="s&^&$program_prefix&;$program_transform_name" 219466fe65f6Smrg# Use a double $ so make ignores it. 219566fe65f6Smrgtest "$program_suffix" != NONE && 219689d09728Smrg program_transform_name="s&\$&$program_suffix&;$program_transform_name" 219789d09728Smrg# Double any \ or $. 219866fe65f6Smrg# By default was `s,x,x', remove it if useless. 219989d09728Smrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 220089d09728Smrgprogram_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 220166fe65f6Smrg 220266fe65f6Smrg# expand $ac_aux_dir to an absolute path 220366fe65f6Smrgam_aux_dir=`cd $ac_aux_dir && pwd` 220466fe65f6Smrg 2205a9274bcdSmrgif test x"${MISSING+set}" != xset; then 2206a9274bcdSmrg case $am_aux_dir in 2207a9274bcdSmrg *\ * | *\ *) 2208a9274bcdSmrg MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2209a9274bcdSmrg *) 2210a9274bcdSmrg MISSING="\${SHELL} $am_aux_dir/missing" ;; 2211a9274bcdSmrg esac 2212a9274bcdSmrgfi 221366fe65f6Smrg# Use eval to expand $SHELL 221466fe65f6Smrgif eval "$MISSING --run true"; then 221566fe65f6Smrg am_missing_run="$MISSING --run " 221666fe65f6Smrgelse 221766fe65f6Smrg am_missing_run= 221848af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 221989d09728Smrg$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 222089d09728Smrgfi 222189d09728Smrg 2222a9274bcdSmrgif test x"${install_sh}" != xset; then 2223a9274bcdSmrg case $am_aux_dir in 2224a9274bcdSmrg *\ * | *\ *) 2225a9274bcdSmrg install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2226a9274bcdSmrg *) 2227a9274bcdSmrg install_sh="\${SHELL} $am_aux_dir/install-sh" 2228a9274bcdSmrg esac 2229a9274bcdSmrgfi 2230a9274bcdSmrg 2231a9274bcdSmrg# Installed binaries are usually stripped using `strip' when the user 2232a9274bcdSmrg# run `make install-strip'. However `strip' might not be the right 2233a9274bcdSmrg# tool to use in cross-compilation environments, therefore Automake 2234a9274bcdSmrg# will honor the `STRIP' environment variable to overrule this program. 2235a9274bcdSmrgif test "$cross_compiling" != no; then 2236a9274bcdSmrg if test -n "$ac_tool_prefix"; then 2237a9274bcdSmrg # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2238a9274bcdSmrgset dummy ${ac_tool_prefix}strip; ac_word=$2 223948af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2240a9274bcdSmrg$as_echo_n "checking for $ac_word... " >&6; } 224148af84faSmrgif ${ac_cv_prog_STRIP+:} false; then : 2242a9274bcdSmrg $as_echo_n "(cached) " >&6 2243a9274bcdSmrgelse 2244a9274bcdSmrg if test -n "$STRIP"; then 2245a9274bcdSmrg ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2246a9274bcdSmrgelse 2247a9274bcdSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2248a9274bcdSmrgfor as_dir in $PATH 2249a9274bcdSmrgdo 2250a9274bcdSmrg IFS=$as_save_IFS 2251a9274bcdSmrg test -z "$as_dir" && as_dir=. 225248af84faSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2253a9274bcdSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2254a9274bcdSmrg ac_cv_prog_STRIP="${ac_tool_prefix}strip" 225548af84faSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2256a9274bcdSmrg break 2 2257a9274bcdSmrg fi 2258a9274bcdSmrgdone 225948af84faSmrg done 2260a9274bcdSmrgIFS=$as_save_IFS 2261a9274bcdSmrg 2262a9274bcdSmrgfi 2263a9274bcdSmrgfi 2264a9274bcdSmrgSTRIP=$ac_cv_prog_STRIP 2265a9274bcdSmrgif test -n "$STRIP"; then 226648af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2267a9274bcdSmrg$as_echo "$STRIP" >&6; } 2268a9274bcdSmrgelse 226948af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2270a9274bcdSmrg$as_echo "no" >&6; } 2271a9274bcdSmrgfi 2272a9274bcdSmrg 2273a9274bcdSmrg 2274a9274bcdSmrgfi 2275a9274bcdSmrgif test -z "$ac_cv_prog_STRIP"; then 2276a9274bcdSmrg ac_ct_STRIP=$STRIP 2277a9274bcdSmrg # Extract the first word of "strip", so it can be a program name with args. 2278a9274bcdSmrgset dummy strip; ac_word=$2 227948af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2280a9274bcdSmrg$as_echo_n "checking for $ac_word... " >&6; } 228148af84faSmrgif ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2282a9274bcdSmrg $as_echo_n "(cached) " >&6 2283a9274bcdSmrgelse 2284a9274bcdSmrg if test -n "$ac_ct_STRIP"; then 2285a9274bcdSmrg ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2286a9274bcdSmrgelse 2287a9274bcdSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2288a9274bcdSmrgfor as_dir in $PATH 2289a9274bcdSmrgdo 2290a9274bcdSmrg IFS=$as_save_IFS 2291a9274bcdSmrg test -z "$as_dir" && as_dir=. 229248af84faSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2293a9274bcdSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2294a9274bcdSmrg ac_cv_prog_ac_ct_STRIP="strip" 229548af84faSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2296a9274bcdSmrg break 2 2297a9274bcdSmrg fi 2298a9274bcdSmrgdone 229948af84faSmrg done 2300a9274bcdSmrgIFS=$as_save_IFS 2301a9274bcdSmrg 2302a9274bcdSmrgfi 2303a9274bcdSmrgfi 2304a9274bcdSmrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2305a9274bcdSmrgif test -n "$ac_ct_STRIP"; then 230648af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2307a9274bcdSmrg$as_echo "$ac_ct_STRIP" >&6; } 2308a9274bcdSmrgelse 230948af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2310a9274bcdSmrg$as_echo "no" >&6; } 2311a9274bcdSmrgfi 2312a9274bcdSmrg 2313a9274bcdSmrg if test "x$ac_ct_STRIP" = x; then 2314a9274bcdSmrg STRIP=":" 2315a9274bcdSmrg else 2316a9274bcdSmrg case $cross_compiling:$ac_tool_warned in 2317a9274bcdSmrgyes:) 231848af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2319a9274bcdSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2320a9274bcdSmrgac_tool_warned=yes ;; 2321a9274bcdSmrgesac 2322a9274bcdSmrg STRIP=$ac_ct_STRIP 2323a9274bcdSmrg fi 2324a9274bcdSmrgelse 2325a9274bcdSmrg STRIP="$ac_cv_prog_STRIP" 2326a9274bcdSmrgfi 2327a9274bcdSmrg 2328a9274bcdSmrgfi 2329a9274bcdSmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2330a9274bcdSmrg 233148af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 233289d09728Smrg$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 233389d09728Smrgif test -z "$MKDIR_P"; then 233448af84faSmrg if ${ac_cv_path_mkdir+:} false; then : 233589d09728Smrg $as_echo_n "(cached) " >&6 233689d09728Smrgelse 233789d09728Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 233889d09728Smrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 233989d09728Smrgdo 234089d09728Smrg IFS=$as_save_IFS 234189d09728Smrg test -z "$as_dir" && as_dir=. 234248af84faSmrg for ac_prog in mkdir gmkdir; do 234389d09728Smrg for ac_exec_ext in '' $ac_executable_extensions; do 234489d09728Smrg { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 234589d09728Smrg case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 234689d09728Smrg 'mkdir (GNU coreutils) '* | \ 234789d09728Smrg 'mkdir (coreutils) '* | \ 234889d09728Smrg 'mkdir (fileutils) '4.1*) 234989d09728Smrg ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 235089d09728Smrg break 3;; 235189d09728Smrg esac 235289d09728Smrg done 235389d09728Smrg done 235448af84faSmrg done 235589d09728SmrgIFS=$as_save_IFS 235689d09728Smrg 235789d09728Smrgfi 235889d09728Smrg 235948af84faSmrg test -d ./--version && rmdir ./--version 236089d09728Smrg if test "${ac_cv_path_mkdir+set}" = set; then 236189d09728Smrg MKDIR_P="$ac_cv_path_mkdir -p" 236266fe65f6Smrg else 236389d09728Smrg # As a last resort, use the slow shell script. Don't cache a 236489d09728Smrg # value for MKDIR_P within a source directory, because that will 236589d09728Smrg # break other packages using the cache if that directory is 236689d09728Smrg # removed, or if the value is a relative name. 236789d09728Smrg MKDIR_P="$ac_install_sh -d" 236866fe65f6Smrg fi 236966fe65f6Smrgfi 237048af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 237189d09728Smrg$as_echo "$MKDIR_P" >&6; } 237289d09728Smrg 237389d09728Smrgmkdir_p="$MKDIR_P" 237489d09728Smrgcase $mkdir_p in 237589d09728Smrg [\\/$]* | ?:[\\/]*) ;; 237689d09728Smrg */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 237789d09728Smrgesac 237866fe65f6Smrg 237966fe65f6Smrgfor ac_prog in gawk mawk nawk awk 238066fe65f6Smrgdo 238166fe65f6Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 238266fe65f6Smrgset dummy $ac_prog; ac_word=$2 238348af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 238489d09728Smrg$as_echo_n "checking for $ac_word... " >&6; } 238548af84faSmrgif ${ac_cv_prog_AWK+:} false; then : 238689d09728Smrg $as_echo_n "(cached) " >&6 238766fe65f6Smrgelse 238866fe65f6Smrg if test -n "$AWK"; then 238966fe65f6Smrg ac_cv_prog_AWK="$AWK" # Let the user override the test. 239066fe65f6Smrgelse 239166fe65f6Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 239266fe65f6Smrgfor as_dir in $PATH 239366fe65f6Smrgdo 239466fe65f6Smrg IFS=$as_save_IFS 239566fe65f6Smrg test -z "$as_dir" && as_dir=. 239648af84faSmrg for ac_exec_ext in '' $ac_executable_extensions; do 239789d09728Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 239866fe65f6Smrg ac_cv_prog_AWK="$ac_prog" 239948af84faSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 240066fe65f6Smrg break 2 240166fe65f6Smrg fi 240266fe65f6Smrgdone 240348af84faSmrg done 240489d09728SmrgIFS=$as_save_IFS 240566fe65f6Smrg 240666fe65f6Smrgfi 240766fe65f6Smrgfi 240866fe65f6SmrgAWK=$ac_cv_prog_AWK 240966fe65f6Smrgif test -n "$AWK"; then 241048af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 241189d09728Smrg$as_echo "$AWK" >&6; } 241266fe65f6Smrgelse 241348af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 241489d09728Smrg$as_echo "no" >&6; } 241566fe65f6Smrgfi 241666fe65f6Smrg 241789d09728Smrg 241866fe65f6Smrg test -n "$AWK" && break 241966fe65f6Smrgdone 242066fe65f6Smrg 242148af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 242289d09728Smrg$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 242389d09728Smrgset x ${MAKE-make} 242489d09728Smrgac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 242548af84faSmrgif eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 242689d09728Smrg $as_echo_n "(cached) " >&6 242766fe65f6Smrgelse 242866fe65f6Smrg cat >conftest.make <<\_ACEOF 242989d09728SmrgSHELL = /bin/sh 243066fe65f6Smrgall: 243189d09728Smrg @echo '@@@%%%=$(MAKE)=@@@%%%' 243266fe65f6Smrg_ACEOF 243348af84faSmrg# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 243489d09728Smrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in 243589d09728Smrg *@@@%%%=?*=@@@%%%*) 243689d09728Smrg eval ac_cv_prog_make_${ac_make}_set=yes;; 243789d09728Smrg *) 243889d09728Smrg eval ac_cv_prog_make_${ac_make}_set=no;; 243989d09728Smrgesac 244066fe65f6Smrgrm -f conftest.make 244166fe65f6Smrgfi 244289d09728Smrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 244348af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 244489d09728Smrg$as_echo "yes" >&6; } 244566fe65f6Smrg SET_MAKE= 244666fe65f6Smrgelse 244748af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 244889d09728Smrg$as_echo "no" >&6; } 244966fe65f6Smrg SET_MAKE="MAKE=${MAKE-make}" 245066fe65f6Smrgfi 245166fe65f6Smrg 245266fe65f6Smrgrm -rf .tst 2>/dev/null 245366fe65f6Smrgmkdir .tst 2>/dev/null 245466fe65f6Smrgif test -d .tst; then 245566fe65f6Smrg am__leading_dot=. 245666fe65f6Smrgelse 245766fe65f6Smrg am__leading_dot=_ 245866fe65f6Smrgfi 245966fe65f6Smrgrmdir .tst 2>/dev/null 246066fe65f6Smrg 246189d09728Smrgif test "`cd $srcdir && pwd`" != "`pwd`"; then 246289d09728Smrg # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 246389d09728Smrg # is not polluted with repeated "-I." 246489d09728Smrg am__isrc=' -I$(srcdir)' 246589d09728Smrg # test to see if srcdir already configured 246689d09728Smrg if test -f $srcdir/config.status; then 246748af84faSmrg as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 246889d09728Smrg fi 246966fe65f6Smrgfi 247066fe65f6Smrg 247166fe65f6Smrg# test whether we have cygpath 247266fe65f6Smrgif test -z "$CYGPATH_W"; then 247366fe65f6Smrg if (cygpath --version) >/dev/null 2>/dev/null; then 247466fe65f6Smrg CYGPATH_W='cygpath -w' 247566fe65f6Smrg else 247666fe65f6Smrg CYGPATH_W=echo 247766fe65f6Smrg fi 247866fe65f6Smrgfi 247966fe65f6Smrg 248066fe65f6Smrg 248166fe65f6Smrg# Define the identity of the package. 248266fe65f6Smrg PACKAGE='font-util' 248348af84faSmrg VERSION='1.2.0' 248466fe65f6Smrg 248566fe65f6Smrg 248666fe65f6Smrgcat >>confdefs.h <<_ACEOF 248766fe65f6Smrg#define PACKAGE "$PACKAGE" 248866fe65f6Smrg_ACEOF 248966fe65f6Smrg 249066fe65f6Smrg 249166fe65f6Smrgcat >>confdefs.h <<_ACEOF 249266fe65f6Smrg#define VERSION "$VERSION" 249366fe65f6Smrg_ACEOF 249466fe65f6Smrg 249566fe65f6Smrg# Some tools Automake needs. 249666fe65f6Smrg 249766fe65f6SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 249866fe65f6Smrg 249966fe65f6Smrg 250066fe65f6SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 250166fe65f6Smrg 250266fe65f6Smrg 250366fe65f6SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 250466fe65f6Smrg 250566fe65f6Smrg 250666fe65f6SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 250766fe65f6Smrg 250866fe65f6Smrg 250966fe65f6SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 251066fe65f6Smrg 2511a9274bcdSmrg# We need awk for the "check" target. The system "awk" is bad on 2512a9274bcdSmrg# some platforms. 2513a9274bcdSmrg# Always define AMTAR for backward compatibility. 251466fe65f6Smrg 2515a9274bcdSmrgAMTAR=${AMTAR-"${am_missing_run}tar"} 2516a9274bcdSmrg 2517a9274bcdSmrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2518a9274bcdSmrg 2519a9274bcdSmrg 2520a9274bcdSmrg 2521a9274bcdSmrg 2522a9274bcdSmrg 2523a9274bcdSmrg 252448af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 2525a9274bcdSmrg$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 2526a9274bcdSmrg # Check whether --enable-maintainer-mode was given. 252748af84faSmrgif test "${enable_maintainer_mode+set}" = set; then : 2528a9274bcdSmrg enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 252966fe65f6Smrgelse 253066fe65f6Smrg USE_MAINTAINER_MODE=no 253189d09728Smrgfi 253266fe65f6Smrg 253348af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 253489d09728Smrg$as_echo "$USE_MAINTAINER_MODE" >&6; } 253589d09728Smrg if test $USE_MAINTAINER_MODE = yes; then 253666fe65f6Smrg MAINTAINER_MODE_TRUE= 253766fe65f6Smrg MAINTAINER_MODE_FALSE='#' 253866fe65f6Smrgelse 253966fe65f6Smrg MAINTAINER_MODE_TRUE='#' 254066fe65f6Smrg MAINTAINER_MODE_FALSE= 254166fe65f6Smrgfi 254266fe65f6Smrg 254366fe65f6Smrg MAINT=$MAINTAINER_MODE_TRUE 254466fe65f6Smrg 254566fe65f6Smrg 254666fe65f6Smrg 254748af84faSmrg# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS 2548a9274bcdSmrg 2549a9274bcdSmrg 2550a9274bcdSmrg 2551a9274bcdSmrg 2552a9274bcdSmrg 2553a9274bcdSmrg 2554a9274bcdSmrg 2555a9274bcdSmrg 255689d09728Smrg 255789d09728Smrg 255889d09728Smrg 255989d09728Smrgac_config_headers="$ac_config_headers config.h" 256089d09728Smrg 2561a9274bcdSmrg 256289d09728SmrgDEPDIR="${am__leading_dot}deps" 256389d09728Smrg 256489d09728Smrgac_config_commands="$ac_config_commands depfiles" 256589d09728Smrg 256689d09728Smrg 256789d09728Smrgam_make=${MAKE-make} 256889d09728Smrgcat > confinc << 'END' 256989d09728Smrgam__doit: 2570a9274bcdSmrg @echo this is the am__doit target 257189d09728Smrg.PHONY: am__doit 257289d09728SmrgEND 257389d09728Smrg# If we don't find an include directive, just comment out the code. 257448af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 257589d09728Smrg$as_echo_n "checking for style of include used by $am_make... " >&6; } 257689d09728Smrgam__include="#" 257789d09728Smrgam__quote= 257889d09728Smrg_am_result=none 257989d09728Smrg# First try GNU make style include. 258089d09728Smrgecho "include confinc" > confmf 2581a9274bcdSmrg# Ignore all kinds of additional output from `make'. 2582a9274bcdSmrgcase `$am_make -s -f confmf 2> /dev/null` in #( 2583a9274bcdSmrg*the\ am__doit\ target*) 2584a9274bcdSmrg am__include=include 2585a9274bcdSmrg am__quote= 2586a9274bcdSmrg _am_result=GNU 2587a9274bcdSmrg ;; 2588a9274bcdSmrgesac 258989d09728Smrg# Now try BSD make style include. 259089d09728Smrgif test "$am__include" = "#"; then 259189d09728Smrg echo '.include "confinc"' > confmf 2592a9274bcdSmrg case `$am_make -s -f confmf 2> /dev/null` in #( 2593a9274bcdSmrg *the\ am__doit\ target*) 2594a9274bcdSmrg am__include=.include 2595a9274bcdSmrg am__quote="\"" 2596a9274bcdSmrg _am_result=BSD 2597a9274bcdSmrg ;; 2598a9274bcdSmrg esac 259989d09728Smrgfi 260089d09728Smrg 260189d09728Smrg 260248af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 260389d09728Smrg$as_echo "$_am_result" >&6; } 260489d09728Smrgrm -f confinc confmf 260589d09728Smrg 260689d09728Smrg# Check whether --enable-dependency-tracking was given. 260748af84faSmrgif test "${enable_dependency_tracking+set}" = set; then : 260889d09728Smrg enableval=$enable_dependency_tracking; 260989d09728Smrgfi 261089d09728Smrg 261189d09728Smrgif test "x$enable_dependency_tracking" != xno; then 261289d09728Smrg am_depcomp="$ac_aux_dir/depcomp" 261389d09728Smrg AMDEPBACKSLASH='\' 261489d09728Smrgfi 261589d09728Smrg if test "x$enable_dependency_tracking" != xno; then 261689d09728Smrg AMDEP_TRUE= 261789d09728Smrg AMDEP_FALSE='#' 261889d09728Smrgelse 261989d09728Smrg AMDEP_TRUE='#' 262089d09728Smrg AMDEP_FALSE= 262189d09728Smrgfi 262266fe65f6Smrg 262366fe65f6Smrg 262466fe65f6Smrgac_ext=c 262566fe65f6Smrgac_cpp='$CPP $CPPFLAGS' 262666fe65f6Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 262766fe65f6Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 262866fe65f6Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 262966fe65f6Smrgif test -n "$ac_tool_prefix"; then 263066fe65f6Smrg # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 263166fe65f6Smrgset dummy ${ac_tool_prefix}gcc; ac_word=$2 263248af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 263389d09728Smrg$as_echo_n "checking for $ac_word... " >&6; } 263448af84faSmrgif ${ac_cv_prog_CC+:} false; then : 263589d09728Smrg $as_echo_n "(cached) " >&6 263666fe65f6Smrgelse 263766fe65f6Smrg if test -n "$CC"; then 263866fe65f6Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 263966fe65f6Smrgelse 264066fe65f6Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 264166fe65f6Smrgfor as_dir in $PATH 264266fe65f6Smrgdo 264366fe65f6Smrg IFS=$as_save_IFS 264466fe65f6Smrg test -z "$as_dir" && as_dir=. 264548af84faSmrg for ac_exec_ext in '' $ac_executable_extensions; do 264689d09728Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 264766fe65f6Smrg ac_cv_prog_CC="${ac_tool_prefix}gcc" 264848af84faSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 264966fe65f6Smrg break 2 265066fe65f6Smrg fi 265166fe65f6Smrgdone 265248af84faSmrg done 265389d09728SmrgIFS=$as_save_IFS 265466fe65f6Smrg 265566fe65f6Smrgfi 265666fe65f6Smrgfi 265766fe65f6SmrgCC=$ac_cv_prog_CC 265866fe65f6Smrgif test -n "$CC"; then 265948af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 266089d09728Smrg$as_echo "$CC" >&6; } 266166fe65f6Smrgelse 266248af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 266389d09728Smrg$as_echo "no" >&6; } 266466fe65f6Smrgfi 266566fe65f6Smrg 266689d09728Smrg 266766fe65f6Smrgfi 266866fe65f6Smrgif test -z "$ac_cv_prog_CC"; then 266966fe65f6Smrg ac_ct_CC=$CC 267066fe65f6Smrg # Extract the first word of "gcc", so it can be a program name with args. 267166fe65f6Smrgset dummy gcc; ac_word=$2 267248af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 267389d09728Smrg$as_echo_n "checking for $ac_word... " >&6; } 267448af84faSmrgif ${ac_cv_prog_ac_ct_CC+:} false; then : 267589d09728Smrg $as_echo_n "(cached) " >&6 267666fe65f6Smrgelse 267766fe65f6Smrg if test -n "$ac_ct_CC"; then 267866fe65f6Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 267966fe65f6Smrgelse 268066fe65f6Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 268166fe65f6Smrgfor as_dir in $PATH 268266fe65f6Smrgdo 268366fe65f6Smrg IFS=$as_save_IFS 268466fe65f6Smrg test -z "$as_dir" && as_dir=. 268548af84faSmrg for ac_exec_ext in '' $ac_executable_extensions; do 268689d09728Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 268766fe65f6Smrg ac_cv_prog_ac_ct_CC="gcc" 268848af84faSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 268966fe65f6Smrg break 2 269066fe65f6Smrg fi 269166fe65f6Smrgdone 269248af84faSmrg done 269389d09728SmrgIFS=$as_save_IFS 269466fe65f6Smrg 269566fe65f6Smrgfi 269666fe65f6Smrgfi 269766fe65f6Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 269866fe65f6Smrgif test -n "$ac_ct_CC"; then 269948af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 270089d09728Smrg$as_echo "$ac_ct_CC" >&6; } 270166fe65f6Smrgelse 270248af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 270389d09728Smrg$as_echo "no" >&6; } 270466fe65f6Smrgfi 270566fe65f6Smrg 270689d09728Smrg if test "x$ac_ct_CC" = x; then 270789d09728Smrg CC="" 270889d09728Smrg else 270989d09728Smrg case $cross_compiling:$ac_tool_warned in 271089d09728Smrgyes:) 271148af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 271289d09728Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 271389d09728Smrgac_tool_warned=yes ;; 271489d09728Smrgesac 271589d09728Smrg CC=$ac_ct_CC 271689d09728Smrg fi 271766fe65f6Smrgelse 271866fe65f6Smrg CC="$ac_cv_prog_CC" 271966fe65f6Smrgfi 272066fe65f6Smrg 272166fe65f6Smrgif test -z "$CC"; then 272289d09728Smrg if test -n "$ac_tool_prefix"; then 272389d09728Smrg # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 272466fe65f6Smrgset dummy ${ac_tool_prefix}cc; ac_word=$2 272548af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 272689d09728Smrg$as_echo_n "checking for $ac_word... " >&6; } 272748af84faSmrgif ${ac_cv_prog_CC+:} false; then : 272889d09728Smrg $as_echo_n "(cached) " >&6 272966fe65f6Smrgelse 273066fe65f6Smrg if test -n "$CC"; then 273166fe65f6Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 273266fe65f6Smrgelse 273366fe65f6Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 273466fe65f6Smrgfor as_dir in $PATH 273566fe65f6Smrgdo 273666fe65f6Smrg IFS=$as_save_IFS 273766fe65f6Smrg test -z "$as_dir" && as_dir=. 273848af84faSmrg for ac_exec_ext in '' $ac_executable_extensions; do 273989d09728Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 274066fe65f6Smrg ac_cv_prog_CC="${ac_tool_prefix}cc" 274148af84faSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 274266fe65f6Smrg break 2 274366fe65f6Smrg fi 274466fe65f6Smrgdone 274548af84faSmrg done 274689d09728SmrgIFS=$as_save_IFS 274766fe65f6Smrg 274866fe65f6Smrgfi 274966fe65f6Smrgfi 275066fe65f6SmrgCC=$ac_cv_prog_CC 275166fe65f6Smrgif test -n "$CC"; then 275248af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 275389d09728Smrg$as_echo "$CC" >&6; } 275466fe65f6Smrgelse 275548af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 275689d09728Smrg$as_echo "no" >&6; } 275766fe65f6Smrgfi 275866fe65f6Smrg 275989d09728Smrg 276089d09728Smrg fi 276166fe65f6Smrgfi 276289d09728Smrgif test -z "$CC"; then 276366fe65f6Smrg # Extract the first word of "cc", so it can be a program name with args. 276466fe65f6Smrgset dummy cc; ac_word=$2 276548af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 276689d09728Smrg$as_echo_n "checking for $ac_word... " >&6; } 276748af84faSmrgif ${ac_cv_prog_CC+:} false; then : 276889d09728Smrg $as_echo_n "(cached) " >&6 276966fe65f6Smrgelse 277089d09728Smrg if test -n "$CC"; then 277189d09728Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 277266fe65f6Smrgelse 277389d09728Smrg ac_prog_rejected=no 277466fe65f6Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 277566fe65f6Smrgfor as_dir in $PATH 277666fe65f6Smrgdo 277766fe65f6Smrg IFS=$as_save_IFS 277866fe65f6Smrg test -z "$as_dir" && as_dir=. 277948af84faSmrg for ac_exec_ext in '' $ac_executable_extensions; do 278089d09728Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 278189d09728Smrg if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 278289d09728Smrg ac_prog_rejected=yes 278389d09728Smrg continue 278489d09728Smrg fi 278589d09728Smrg ac_cv_prog_CC="cc" 278648af84faSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 278766fe65f6Smrg break 2 278866fe65f6Smrg fi 278966fe65f6Smrgdone 279048af84faSmrg done 279189d09728SmrgIFS=$as_save_IFS 279266fe65f6Smrg 279366fe65f6Smrgif test $ac_prog_rejected = yes; then 279466fe65f6Smrg # We found a bogon in the path, so make sure we never use it. 279566fe65f6Smrg set dummy $ac_cv_prog_CC 279666fe65f6Smrg shift 279766fe65f6Smrg if test $# != 0; then 279866fe65f6Smrg # We chose a different compiler from the bogus one. 279966fe65f6Smrg # However, it has the same basename, so the bogon will be chosen 280066fe65f6Smrg # first if we set CC to just the basename; use the full file name. 280166fe65f6Smrg shift 280266fe65f6Smrg ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 280366fe65f6Smrg fi 280466fe65f6Smrgfi 280566fe65f6Smrgfi 280666fe65f6Smrgfi 280766fe65f6SmrgCC=$ac_cv_prog_CC 280866fe65f6Smrgif test -n "$CC"; then 280948af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 281089d09728Smrg$as_echo "$CC" >&6; } 281166fe65f6Smrgelse 281248af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 281389d09728Smrg$as_echo "no" >&6; } 281466fe65f6Smrgfi 281566fe65f6Smrg 281689d09728Smrg 281766fe65f6Smrgfi 281866fe65f6Smrgif test -z "$CC"; then 281966fe65f6Smrg if test -n "$ac_tool_prefix"; then 282089d09728Smrg for ac_prog in cl.exe 282166fe65f6Smrg do 282266fe65f6Smrg # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 282366fe65f6Smrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2 282448af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 282589d09728Smrg$as_echo_n "checking for $ac_word... " >&6; } 282648af84faSmrgif ${ac_cv_prog_CC+:} false; then : 282789d09728Smrg $as_echo_n "(cached) " >&6 282866fe65f6Smrgelse 282966fe65f6Smrg if test -n "$CC"; then 283066fe65f6Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 283166fe65f6Smrgelse 283266fe65f6Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 283366fe65f6Smrgfor as_dir in $PATH 283466fe65f6Smrgdo 283566fe65f6Smrg IFS=$as_save_IFS 283666fe65f6Smrg test -z "$as_dir" && as_dir=. 283748af84faSmrg for ac_exec_ext in '' $ac_executable_extensions; do 283889d09728Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 283966fe65f6Smrg ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 284048af84faSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 284166fe65f6Smrg break 2 284266fe65f6Smrg fi 284366fe65f6Smrgdone 284448af84faSmrg done 284589d09728SmrgIFS=$as_save_IFS 284666fe65f6Smrg 284766fe65f6Smrgfi 284866fe65f6Smrgfi 284966fe65f6SmrgCC=$ac_cv_prog_CC 285066fe65f6Smrgif test -n "$CC"; then 285148af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 285289d09728Smrg$as_echo "$CC" >&6; } 285366fe65f6Smrgelse 285448af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 285589d09728Smrg$as_echo "no" >&6; } 285666fe65f6Smrgfi 285766fe65f6Smrg 285889d09728Smrg 285966fe65f6Smrg test -n "$CC" && break 286066fe65f6Smrg done 286166fe65f6Smrgfi 286266fe65f6Smrgif test -z "$CC"; then 286366fe65f6Smrg ac_ct_CC=$CC 286489d09728Smrg for ac_prog in cl.exe 286566fe65f6Smrgdo 286666fe65f6Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 286766fe65f6Smrgset dummy $ac_prog; ac_word=$2 286848af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 286989d09728Smrg$as_echo_n "checking for $ac_word... " >&6; } 287048af84faSmrgif ${ac_cv_prog_ac_ct_CC+:} false; then : 287189d09728Smrg $as_echo_n "(cached) " >&6 287266fe65f6Smrgelse 287366fe65f6Smrg if test -n "$ac_ct_CC"; then 287466fe65f6Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 287566fe65f6Smrgelse 287666fe65f6Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 287766fe65f6Smrgfor as_dir in $PATH 287866fe65f6Smrgdo 287966fe65f6Smrg IFS=$as_save_IFS 288066fe65f6Smrg test -z "$as_dir" && as_dir=. 288148af84faSmrg for ac_exec_ext in '' $ac_executable_extensions; do 288289d09728Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 288366fe65f6Smrg ac_cv_prog_ac_ct_CC="$ac_prog" 288448af84faSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 288566fe65f6Smrg break 2 288666fe65f6Smrg fi 288766fe65f6Smrgdone 288848af84faSmrg done 288989d09728SmrgIFS=$as_save_IFS 289066fe65f6Smrg 289166fe65f6Smrgfi 289266fe65f6Smrgfi 289366fe65f6Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 289466fe65f6Smrgif test -n "$ac_ct_CC"; then 289548af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 289689d09728Smrg$as_echo "$ac_ct_CC" >&6; } 289766fe65f6Smrgelse 289848af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 289989d09728Smrg$as_echo "no" >&6; } 290066fe65f6Smrgfi 290166fe65f6Smrg 290289d09728Smrg 290366fe65f6Smrg test -n "$ac_ct_CC" && break 290466fe65f6Smrgdone 290566fe65f6Smrg 290689d09728Smrg if test "x$ac_ct_CC" = x; then 290789d09728Smrg CC="" 290889d09728Smrg else 290989d09728Smrg case $cross_compiling:$ac_tool_warned in 291089d09728Smrgyes:) 291148af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 291289d09728Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 291389d09728Smrgac_tool_warned=yes ;; 291489d09728Smrgesac 291589d09728Smrg CC=$ac_ct_CC 291689d09728Smrg fi 291766fe65f6Smrgfi 291866fe65f6Smrg 291966fe65f6Smrgfi 292066fe65f6Smrg 292166fe65f6Smrg 292248af84faSmrgtest -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 292389d09728Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 292448af84faSmrgas_fn_error $? "no acceptable C compiler found in \$PATH 292548af84faSmrgSee \`config.log' for more details" "$LINENO" 5; } 292666fe65f6Smrg 292766fe65f6Smrg# Provide some information about the compiler. 292848af84faSmrg$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 292989d09728Smrgset X $ac_compile 293089d09728Smrgac_compiler=$2 293148af84faSmrgfor ac_option in --version -v -V -qversion; do 293248af84faSmrg { { ac_try="$ac_compiler $ac_option >&5" 2933a9274bcdSmrgcase "(($ac_try" in 2934a9274bcdSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2935a9274bcdSmrg *) ac_try_echo=$ac_try;; 2936a9274bcdSmrgesac 293748af84faSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 293848af84faSmrg$as_echo "$ac_try_echo"; } >&5 293948af84faSmrg (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2940a9274bcdSmrg ac_status=$? 294148af84faSmrg if test -s conftest.err; then 294248af84faSmrg sed '10a\ 294348af84faSmrg... rest of stderr output deleted ... 294448af84faSmrg 10q' conftest.err >conftest.er1 294548af84faSmrg cat conftest.er1 >&5 294648af84faSmrg fi 294748af84faSmrg rm -f conftest.er1 conftest.err 294848af84faSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 294948af84faSmrg test $ac_status = 0; } 295048af84faSmrgdone 295166fe65f6Smrg 295248af84faSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 295366fe65f6Smrg/* end confdefs.h. */ 2954a9274bcdSmrg 295566fe65f6Smrgint 295666fe65f6Smrgmain () 295766fe65f6Smrg{ 295866fe65f6Smrg 295966fe65f6Smrg ; 296066fe65f6Smrg return 0; 296166fe65f6Smrg} 296266fe65f6Smrg_ACEOF 296366fe65f6Smrgac_clean_files_save=$ac_clean_files 2964a9274bcdSmrgac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 296566fe65f6Smrg# Try to create an executable without -o first, disregard a.out. 296666fe65f6Smrg# It will help us diagnose broken compilers, and finding out an intuition 296766fe65f6Smrg# of exeext. 296848af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 296948af84faSmrg$as_echo_n "checking whether the C compiler works... " >&6; } 297089d09728Smrgac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 297189d09728Smrg 297289d09728Smrg# The possible output files: 297389d09728Smrgac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 297489d09728Smrg 297589d09728Smrgac_rmfiles= 297689d09728Smrgfor ac_file in $ac_files 297789d09728Smrgdo 297889d09728Smrg case $ac_file in 297989d09728Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 298089d09728Smrg * ) ac_rmfiles="$ac_rmfiles $ac_file";; 298189d09728Smrg esac 298289d09728Smrgdone 298389d09728Smrgrm -f $ac_rmfiles 298489d09728Smrg 298548af84faSmrgif { { ac_try="$ac_link_default" 298689d09728Smrgcase "(($ac_try" in 298789d09728Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 298889d09728Smrg *) ac_try_echo=$ac_try;; 298989d09728Smrgesac 299048af84faSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 299148af84faSmrg$as_echo "$ac_try_echo"; } >&5 299289d09728Smrg (eval "$ac_link_default") 2>&5 299366fe65f6Smrg ac_status=$? 299448af84faSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 299548af84faSmrg test $ac_status = 0; }; then : 299689d09728Smrg # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 299789d09728Smrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 299889d09728Smrg# in a Makefile. We should not override ac_cv_exeext if it was cached, 299989d09728Smrg# so that the user can short-circuit this test for compilers unknown to 300089d09728Smrg# Autoconf. 300189d09728Smrgfor ac_file in $ac_files '' 300266fe65f6Smrgdo 300366fe65f6Smrg test -f "$ac_file" || continue 300466fe65f6Smrg case $ac_file in 300589d09728Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 300666fe65f6Smrg ;; 300766fe65f6Smrg [ab].out ) 300866fe65f6Smrg # We found the default executable, but exeext='' is most 300966fe65f6Smrg # certainly right. 301066fe65f6Smrg break;; 301166fe65f6Smrg *.* ) 301248af84faSmrg if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 301389d09728Smrg then :; else 301489d09728Smrg ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 301589d09728Smrg fi 301689d09728Smrg # We set ac_cv_exeext here because the later test for it is not 301789d09728Smrg # safe: cross compilers may not add the suffix if given an `-o' 301889d09728Smrg # argument, so we may need to know it at that point already. 301989d09728Smrg # Even if this section looks crufty: it has the advantage of 302089d09728Smrg # actually working. 302166fe65f6Smrg break;; 302266fe65f6Smrg * ) 302366fe65f6Smrg break;; 302466fe65f6Smrg esac 302566fe65f6Smrgdone 302689d09728Smrgtest "$ac_cv_exeext" = no && ac_cv_exeext= 302789d09728Smrg 302866fe65f6Smrgelse 302989d09728Smrg ac_file='' 303089d09728Smrgfi 303148af84faSmrgif test -z "$ac_file"; then : 303248af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 303348af84faSmrg$as_echo "no" >&6; } 303448af84faSmrg$as_echo "$as_me: failed program was:" >&5 303566fe65f6Smrgsed 's/^/| /' conftest.$ac_ext >&5 303666fe65f6Smrg 303748af84faSmrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 303889d09728Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 303948af84faSmrgas_fn_error 77 "C compiler cannot create executables 304048af84faSmrgSee \`config.log' for more details" "$LINENO" 5; } 304148af84faSmrgelse 304248af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 304348af84faSmrg$as_echo "yes" >&6; } 304466fe65f6Smrgfi 304548af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 304648af84faSmrg$as_echo_n "checking for C compiler default output file name... " >&6; } 304748af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 304848af84faSmrg$as_echo "$ac_file" >&6; } 304966fe65f6Smrgac_exeext=$ac_cv_exeext 305066fe65f6Smrg 3051a9274bcdSmrgrm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 305266fe65f6Smrgac_clean_files=$ac_clean_files_save 305348af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 305489d09728Smrg$as_echo_n "checking for suffix of executables... " >&6; } 305548af84faSmrgif { { ac_try="$ac_link" 305689d09728Smrgcase "(($ac_try" in 305789d09728Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 305889d09728Smrg *) ac_try_echo=$ac_try;; 305989d09728Smrgesac 306048af84faSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 306148af84faSmrg$as_echo "$ac_try_echo"; } >&5 306289d09728Smrg (eval "$ac_link") 2>&5 306366fe65f6Smrg ac_status=$? 306448af84faSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 306548af84faSmrg test $ac_status = 0; }; then : 306666fe65f6Smrg # If both `conftest.exe' and `conftest' are `present' (well, observable) 306766fe65f6Smrg# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 306866fe65f6Smrg# work properly (i.e., refer to `conftest.exe'), while it won't with 306966fe65f6Smrg# `rm'. 307066fe65f6Smrgfor ac_file in conftest.exe conftest conftest.*; do 307166fe65f6Smrg test -f "$ac_file" || continue 307266fe65f6Smrg case $ac_file in 307389d09728Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 307466fe65f6Smrg *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 307566fe65f6Smrg break;; 307666fe65f6Smrg * ) break;; 307766fe65f6Smrg esac 307866fe65f6Smrgdone 307966fe65f6Smrgelse 308048af84faSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 308189d09728Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 308248af84faSmrgas_fn_error $? "cannot compute suffix of executables: cannot compile and link 308348af84faSmrgSee \`config.log' for more details" "$LINENO" 5; } 308466fe65f6Smrgfi 308548af84faSmrgrm -f conftest conftest$ac_cv_exeext 308648af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 308789d09728Smrg$as_echo "$ac_cv_exeext" >&6; } 308866fe65f6Smrg 308966fe65f6Smrgrm -f conftest.$ac_ext 309066fe65f6SmrgEXEEXT=$ac_cv_exeext 309166fe65f6Smrgac_exeext=$EXEEXT 309248af84faSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 309366fe65f6Smrg/* end confdefs.h. */ 309448af84faSmrg#include <stdio.h> 309566fe65f6Smrgint 309666fe65f6Smrgmain () 309766fe65f6Smrg{ 309848af84faSmrgFILE *f = fopen ("conftest.out", "w"); 309948af84faSmrg return ferror (f) || fclose (f) != 0; 310066fe65f6Smrg 310166fe65f6Smrg ; 310266fe65f6Smrg return 0; 310366fe65f6Smrg} 310466fe65f6Smrg_ACEOF 310548af84faSmrgac_clean_files="$ac_clean_files conftest.out" 310648af84faSmrg# Check that the compiler produces executables we can run. If not, either 310748af84faSmrg# the compiler is broken, or we cross compile. 310848af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 310948af84faSmrg$as_echo_n "checking whether we are cross compiling... " >&6; } 311048af84faSmrgif test "$cross_compiling" != yes; then 311148af84faSmrg { { ac_try="$ac_link" 311289d09728Smrgcase "(($ac_try" in 311389d09728Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 311489d09728Smrg *) ac_try_echo=$ac_try;; 311589d09728Smrgesac 311648af84faSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 311748af84faSmrg$as_echo "$ac_try_echo"; } >&5 311848af84faSmrg (eval "$ac_link") 2>&5 311966fe65f6Smrg ac_status=$? 312048af84faSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 312148af84faSmrg test $ac_status = 0; } 312248af84faSmrg if { ac_try='./conftest$ac_cv_exeext' 312348af84faSmrg { { case "(($ac_try" in 312448af84faSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 312548af84faSmrg *) ac_try_echo=$ac_try;; 312648af84faSmrgesac 312748af84faSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 312848af84faSmrg$as_echo "$ac_try_echo"; } >&5 312948af84faSmrg (eval "$ac_try") 2>&5 313048af84faSmrg ac_status=$? 313148af84faSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 313248af84faSmrg test $ac_status = 0; }; }; then 313348af84faSmrg cross_compiling=no 313448af84faSmrg else 313548af84faSmrg if test "$cross_compiling" = maybe; then 313648af84faSmrg cross_compiling=yes 313748af84faSmrg else 313848af84faSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 313989d09728Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 314048af84faSmrgas_fn_error $? "cannot run C compiled programs. 314148af84faSmrgIf you meant to cross compile, use \`--host'. 314248af84faSmrgSee \`config.log' for more details" "$LINENO" 5; } 314348af84faSmrg fi 314448af84faSmrg fi 314566fe65f6Smrgfi 314648af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 314748af84faSmrg$as_echo "$cross_compiling" >&6; } 314848af84faSmrg 314948af84faSmrgrm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 315048af84faSmrgac_clean_files=$ac_clean_files_save 315148af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 315248af84faSmrg$as_echo_n "checking for suffix of object files... " >&6; } 315348af84faSmrgif ${ac_cv_objext+:} false; then : 315448af84faSmrg $as_echo_n "(cached) " >&6 315548af84faSmrgelse 315648af84faSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 315748af84faSmrg/* end confdefs.h. */ 315848af84faSmrg 315948af84faSmrgint 316048af84faSmrgmain () 316148af84faSmrg{ 316248af84faSmrg 316348af84faSmrg ; 316448af84faSmrg return 0; 316548af84faSmrg} 316648af84faSmrg_ACEOF 316748af84faSmrgrm -f conftest.o conftest.obj 316848af84faSmrgif { { ac_try="$ac_compile" 316948af84faSmrgcase "(($ac_try" in 317048af84faSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 317148af84faSmrg *) ac_try_echo=$ac_try;; 317248af84faSmrgesac 317348af84faSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 317448af84faSmrg$as_echo "$ac_try_echo"; } >&5 317548af84faSmrg (eval "$ac_compile") 2>&5 317648af84faSmrg ac_status=$? 317748af84faSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 317848af84faSmrg test $ac_status = 0; }; then : 317948af84faSmrg for ac_file in conftest.o conftest.obj conftest.*; do 318048af84faSmrg test -f "$ac_file" || continue; 318148af84faSmrg case $ac_file in 318248af84faSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 318348af84faSmrg *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 318448af84faSmrg break;; 318548af84faSmrg esac 318648af84faSmrgdone 318748af84faSmrgelse 318848af84faSmrg $as_echo "$as_me: failed program was:" >&5 318948af84faSmrgsed 's/^/| /' conftest.$ac_ext >&5 3190a9274bcdSmrg 319148af84faSmrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 319248af84faSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 319348af84faSmrgas_fn_error $? "cannot compute suffix of object files: cannot compile 319448af84faSmrgSee \`config.log' for more details" "$LINENO" 5; } 319548af84faSmrgfi 319666fe65f6Smrgrm -f conftest.$ac_cv_objext conftest.$ac_ext 319766fe65f6Smrgfi 319848af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 319989d09728Smrg$as_echo "$ac_cv_objext" >&6; } 320066fe65f6SmrgOBJEXT=$ac_cv_objext 320166fe65f6Smrgac_objext=$OBJEXT 320248af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 320389d09728Smrg$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 320448af84faSmrgif ${ac_cv_c_compiler_gnu+:} false; then : 320589d09728Smrg $as_echo_n "(cached) " >&6 320666fe65f6Smrgelse 320748af84faSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 320866fe65f6Smrg/* end confdefs.h. */ 320966fe65f6Smrg 321066fe65f6Smrgint 321166fe65f6Smrgmain () 321266fe65f6Smrg{ 321366fe65f6Smrg#ifndef __GNUC__ 321466fe65f6Smrg choke me 321566fe65f6Smrg#endif 321666fe65f6Smrg 321766fe65f6Smrg ; 321866fe65f6Smrg return 0; 321966fe65f6Smrg} 322066fe65f6Smrg_ACEOF 322148af84faSmrgif ac_fn_c_try_compile "$LINENO"; then : 322266fe65f6Smrg ac_compiler_gnu=yes 322366fe65f6Smrgelse 322448af84faSmrg ac_compiler_gnu=no 322566fe65f6Smrgfi 322689d09728Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 322766fe65f6Smrgac_cv_c_compiler_gnu=$ac_compiler_gnu 322866fe65f6Smrg 322966fe65f6Smrgfi 323048af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 323189d09728Smrg$as_echo "$ac_cv_c_compiler_gnu" >&6; } 323289d09728Smrgif test $ac_compiler_gnu = yes; then 323389d09728Smrg GCC=yes 323489d09728Smrgelse 323589d09728Smrg GCC= 323689d09728Smrgfi 323766fe65f6Smrgac_test_CFLAGS=${CFLAGS+set} 323866fe65f6Smrgac_save_CFLAGS=$CFLAGS 323948af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 324089d09728Smrg$as_echo_n "checking whether $CC accepts -g... " >&6; } 324148af84faSmrgif ${ac_cv_prog_cc_g+:} false; then : 324289d09728Smrg $as_echo_n "(cached) " >&6 324389d09728Smrgelse 324489d09728Smrg ac_save_c_werror_flag=$ac_c_werror_flag 324589d09728Smrg ac_c_werror_flag=yes 324689d09728Smrg ac_cv_prog_cc_g=no 324789d09728Smrg CFLAGS="-g" 324848af84faSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 324966fe65f6Smrg/* end confdefs.h. */ 325066fe65f6Smrg 325166fe65f6Smrgint 325266fe65f6Smrgmain () 325366fe65f6Smrg{ 325466fe65f6Smrg 325566fe65f6Smrg ; 325666fe65f6Smrg return 0; 325766fe65f6Smrg} 325866fe65f6Smrg_ACEOF 325948af84faSmrgif ac_fn_c_try_compile "$LINENO"; then : 326066fe65f6Smrg ac_cv_prog_cc_g=yes 326166fe65f6Smrgelse 326248af84faSmrg CFLAGS="" 326348af84faSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 326489d09728Smrg/* end confdefs.h. */ 326589d09728Smrg 326689d09728Smrgint 326789d09728Smrgmain () 326889d09728Smrg{ 326989d09728Smrg 327089d09728Smrg ; 327189d09728Smrg return 0; 327289d09728Smrg} 327389d09728Smrg_ACEOF 327448af84faSmrgif ac_fn_c_try_compile "$LINENO"; then : 3275a9274bcdSmrg 327648af84faSmrgelse 327748af84faSmrg ac_c_werror_flag=$ac_save_c_werror_flag 327889d09728Smrg CFLAGS="-g" 327948af84faSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 328089d09728Smrg/* end confdefs.h. */ 328189d09728Smrg 328289d09728Smrgint 328389d09728Smrgmain () 328489d09728Smrg{ 328589d09728Smrg 328689d09728Smrg ; 328789d09728Smrg return 0; 328889d09728Smrg} 328989d09728Smrg_ACEOF 329048af84faSmrgif ac_fn_c_try_compile "$LINENO"; then : 329189d09728Smrg ac_cv_prog_cc_g=yes 329266fe65f6Smrgfi 329389d09728Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 329466fe65f6Smrgfi 329589d09728Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 329689d09728Smrgfi 329789d09728Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 329889d09728Smrg ac_c_werror_flag=$ac_save_c_werror_flag 329989d09728Smrgfi 330048af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 330189d09728Smrg$as_echo "$ac_cv_prog_cc_g" >&6; } 330266fe65f6Smrgif test "$ac_test_CFLAGS" = set; then 330366fe65f6Smrg CFLAGS=$ac_save_CFLAGS 330466fe65f6Smrgelif test $ac_cv_prog_cc_g = yes; then 330566fe65f6Smrg if test "$GCC" = yes; then 330666fe65f6Smrg CFLAGS="-g -O2" 330766fe65f6Smrg else 330866fe65f6Smrg CFLAGS="-g" 330966fe65f6Smrg fi 331066fe65f6Smrgelse 331166fe65f6Smrg if test "$GCC" = yes; then 331266fe65f6Smrg CFLAGS="-O2" 331366fe65f6Smrg else 331466fe65f6Smrg CFLAGS= 331566fe65f6Smrg fi 331666fe65f6Smrgfi 331748af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 331889d09728Smrg$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 331948af84faSmrgif ${ac_cv_prog_cc_c89+:} false; then : 332089d09728Smrg $as_echo_n "(cached) " >&6 332166fe65f6Smrgelse 332289d09728Smrg ac_cv_prog_cc_c89=no 332366fe65f6Smrgac_save_CC=$CC 332448af84faSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 332566fe65f6Smrg/* end confdefs.h. */ 332666fe65f6Smrg#include <stdarg.h> 332766fe65f6Smrg#include <stdio.h> 332866fe65f6Smrg#include <sys/types.h> 332966fe65f6Smrg#include <sys/stat.h> 333066fe65f6Smrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 333166fe65f6Smrgstruct buf { int x; }; 333266fe65f6SmrgFILE * (*rcsopen) (struct buf *, struct stat *, int); 333366fe65f6Smrgstatic char *e (p, i) 333466fe65f6Smrg char **p; 333566fe65f6Smrg int i; 333666fe65f6Smrg{ 333766fe65f6Smrg return p[i]; 333866fe65f6Smrg} 333966fe65f6Smrgstatic char *f (char * (*g) (char **, int), char **p, ...) 334066fe65f6Smrg{ 334166fe65f6Smrg char *s; 334266fe65f6Smrg va_list v; 334366fe65f6Smrg va_start (v,p); 334466fe65f6Smrg s = g (p, va_arg (v,int)); 334566fe65f6Smrg va_end (v); 334666fe65f6Smrg return s; 334766fe65f6Smrg} 334866fe65f6Smrg 334966fe65f6Smrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 335066fe65f6Smrg function prototypes and stuff, but not '\xHH' hex character constants. 335166fe65f6Smrg These don't provoke an error unfortunately, instead are silently treated 335289d09728Smrg as 'x'. The following induces an error, until -std is added to get 335366fe65f6Smrg proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 335466fe65f6Smrg array size at least. It's necessary to write '\x00'==0 to get something 335589d09728Smrg that's true only with -std. */ 335666fe65f6Smrgint osf4_cc_array ['\x00' == 0 ? 1 : -1]; 335766fe65f6Smrg 335889d09728Smrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 335989d09728Smrg inside strings and character constants. */ 336089d09728Smrg#define FOO(x) 'x' 336189d09728Smrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 336289d09728Smrg 336366fe65f6Smrgint test (int i, double x); 336466fe65f6Smrgstruct s1 {int (*f) (int a);}; 336566fe65f6Smrgstruct s2 {int (*f) (double a);}; 336666fe65f6Smrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 336766fe65f6Smrgint argc; 336866fe65f6Smrgchar **argv; 336966fe65f6Smrgint 337066fe65f6Smrgmain () 337166fe65f6Smrg{ 337266fe65f6Smrgreturn f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 337366fe65f6Smrg ; 337466fe65f6Smrg return 0; 337566fe65f6Smrg} 337666fe65f6Smrg_ACEOF 337789d09728Smrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 337889d09728Smrg -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 337966fe65f6Smrgdo 338066fe65f6Smrg CC="$ac_save_CC $ac_arg" 338148af84faSmrg if ac_fn_c_try_compile "$LINENO"; then : 338289d09728Smrg ac_cv_prog_cc_c89=$ac_arg 338366fe65f6Smrgfi 338489d09728Smrgrm -f core conftest.err conftest.$ac_objext 338589d09728Smrg test "x$ac_cv_prog_cc_c89" != "xno" && break 338666fe65f6Smrgdone 338789d09728Smrgrm -f conftest.$ac_ext 338866fe65f6SmrgCC=$ac_save_CC 338966fe65f6Smrg 339066fe65f6Smrgfi 339189d09728Smrg# AC_CACHE_VAL 339289d09728Smrgcase "x$ac_cv_prog_cc_c89" in 339389d09728Smrg x) 339448af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 339589d09728Smrg$as_echo "none needed" >&6; } ;; 339689d09728Smrg xno) 339748af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 339889d09728Smrg$as_echo "unsupported" >&6; } ;; 339966fe65f6Smrg *) 340089d09728Smrg CC="$CC $ac_cv_prog_cc_c89" 340148af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 340289d09728Smrg$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 340366fe65f6Smrgesac 340448af84faSmrgif test "x$ac_cv_prog_cc_c89" != xno; then : 340566fe65f6Smrg 340648af84faSmrgfi 340766fe65f6Smrg 340866fe65f6Smrgac_ext=c 340966fe65f6Smrgac_cpp='$CPP $CPPFLAGS' 341066fe65f6Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 341166fe65f6Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 341266fe65f6Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 341366fe65f6Smrg 341466fe65f6Smrgdepcc="$CC" am_compiler_list= 341566fe65f6Smrg 341648af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 341789d09728Smrg$as_echo_n "checking dependency style of $depcc... " >&6; } 341848af84faSmrgif ${am_cv_CC_dependencies_compiler_type+:} false; then : 341989d09728Smrg $as_echo_n "(cached) " >&6 342066fe65f6Smrgelse 342166fe65f6Smrg if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 342266fe65f6Smrg # We make a subdir and do the tests there. Otherwise we can end up 342366fe65f6Smrg # making bogus files that we don't know about and never remove. For 342466fe65f6Smrg # instance it was reported that on HP-UX the gcc test will end up 342566fe65f6Smrg # making a dummy file named `D' -- because `-MD' means `put the output 342666fe65f6Smrg # in D'. 342766fe65f6Smrg mkdir conftest.dir 342866fe65f6Smrg # Copy depcomp to subdir because otherwise we won't find it if we're 342966fe65f6Smrg # using a relative directory. 343066fe65f6Smrg cp "$am_depcomp" conftest.dir 343166fe65f6Smrg cd conftest.dir 343266fe65f6Smrg # We will build objects and dependencies in a subdirectory because 343366fe65f6Smrg # it helps to detect inapplicable dependency modes. For instance 343466fe65f6Smrg # both Tru64's cc and ICC support -MD to output dependencies as a 343566fe65f6Smrg # side effect of compilation, but ICC will put the dependencies in 343666fe65f6Smrg # the current directory while Tru64 will put them in the object 343766fe65f6Smrg # directory. 343866fe65f6Smrg mkdir sub 343966fe65f6Smrg 344066fe65f6Smrg am_cv_CC_dependencies_compiler_type=none 344166fe65f6Smrg if test "$am_compiler_list" = ""; then 344266fe65f6Smrg am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 344366fe65f6Smrg fi 3444a9274bcdSmrg am__universal=false 3445a9274bcdSmrg case " $depcc " in #( 3446a9274bcdSmrg *\ -arch\ *\ -arch\ *) am__universal=true ;; 3447a9274bcdSmrg esac 3448a9274bcdSmrg 344966fe65f6Smrg for depmode in $am_compiler_list; do 345066fe65f6Smrg # Setup a source with many dependencies, because some compilers 345166fe65f6Smrg # like to wrap large dependency lists on column 80 (with \), and 345266fe65f6Smrg # we should not choose a depcomp mode which is confused by this. 345366fe65f6Smrg # 345466fe65f6Smrg # We need to recreate these files for each test, as the compiler may 345566fe65f6Smrg # overwrite some of them when testing with obscure command lines. 345666fe65f6Smrg # This happens at least with the AIX C compiler. 345766fe65f6Smrg : > sub/conftest.c 345866fe65f6Smrg for i in 1 2 3 4 5 6; do 345966fe65f6Smrg echo '#include "conftst'$i'.h"' >> sub/conftest.c 346066fe65f6Smrg # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 346166fe65f6Smrg # Solaris 8's {/usr,}/bin/sh. 346266fe65f6Smrg touch sub/conftst$i.h 346366fe65f6Smrg done 346466fe65f6Smrg echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 346566fe65f6Smrg 3466a9274bcdSmrg # We check with `-c' and `-o' for the sake of the "dashmstdout" 3467a9274bcdSmrg # mode. It turns out that the SunPro C++ compiler does not properly 3468a9274bcdSmrg # handle `-M -o', and we need to detect this. Also, some Intel 3469a9274bcdSmrg # versions had trouble with output in subdirs 3470a9274bcdSmrg am__obj=sub/conftest.${OBJEXT-o} 3471a9274bcdSmrg am__minus_obj="-o $am__obj" 347266fe65f6Smrg case $depmode in 3473a9274bcdSmrg gcc) 3474a9274bcdSmrg # This depmode causes a compiler race in universal mode. 3475a9274bcdSmrg test "$am__universal" = false || continue 3476a9274bcdSmrg ;; 347766fe65f6Smrg nosideeffect) 347866fe65f6Smrg # after this tag, mechanisms are not by side-effect, so they'll 347966fe65f6Smrg # only be used when explicitly requested 348066fe65f6Smrg if test "x$enable_dependency_tracking" = xyes; then 348166fe65f6Smrg continue 348266fe65f6Smrg else 348366fe65f6Smrg break 348466fe65f6Smrg fi 348566fe65f6Smrg ;; 3486a9274bcdSmrg msvisualcpp | msvcmsys) 3487a9274bcdSmrg # This compiler won't grok `-c -o', but also, the minuso test has 3488a9274bcdSmrg # not run yet. These depmodes are late enough in the game, and 3489a9274bcdSmrg # so weak that their functioning should not be impacted. 3490a9274bcdSmrg am__obj=conftest.${OBJEXT-o} 3491a9274bcdSmrg am__minus_obj= 3492a9274bcdSmrg ;; 349366fe65f6Smrg none) break ;; 349466fe65f6Smrg esac 349566fe65f6Smrg if depmode=$depmode \ 3496a9274bcdSmrg source=sub/conftest.c object=$am__obj \ 349766fe65f6Smrg depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3498a9274bcdSmrg $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 349966fe65f6Smrg >/dev/null 2>conftest.err && 350089d09728Smrg grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 350166fe65f6Smrg grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3502a9274bcdSmrg grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 350366fe65f6Smrg ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 350466fe65f6Smrg # icc doesn't choke on unknown options, it will just issue warnings 350566fe65f6Smrg # or remarks (even with -Werror). So we grep stderr for any message 350666fe65f6Smrg # that says an option was ignored or not supported. 350766fe65f6Smrg # When given -MP, icc 7.0 and 7.1 complain thusly: 350866fe65f6Smrg # icc: Command line warning: ignoring option '-M'; no argument required 350966fe65f6Smrg # The diagnosis changed in icc 8.0: 351066fe65f6Smrg # icc: Command line remark: option '-MP' not supported 351166fe65f6Smrg if (grep 'ignoring option' conftest.err || 351266fe65f6Smrg grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 351366fe65f6Smrg am_cv_CC_dependencies_compiler_type=$depmode 351466fe65f6Smrg break 351566fe65f6Smrg fi 351666fe65f6Smrg fi 351766fe65f6Smrg done 351866fe65f6Smrg 351966fe65f6Smrg cd .. 352066fe65f6Smrg rm -rf conftest.dir 352166fe65f6Smrgelse 352266fe65f6Smrg am_cv_CC_dependencies_compiler_type=none 352366fe65f6Smrgfi 352466fe65f6Smrg 352566fe65f6Smrgfi 352648af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 352789d09728Smrg$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 352866fe65f6SmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 352966fe65f6Smrg 353089d09728Smrg if 353166fe65f6Smrg test "x$enable_dependency_tracking" != xno \ 353266fe65f6Smrg && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 353366fe65f6Smrg am__fastdepCC_TRUE= 353466fe65f6Smrg am__fastdepCC_FALSE='#' 353566fe65f6Smrgelse 353666fe65f6Smrg am__fastdepCC_TRUE='#' 353766fe65f6Smrg am__fastdepCC_FALSE= 353866fe65f6Smrgfi 353966fe65f6Smrg 354066fe65f6Smrg 354148af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 354248af84faSmrg$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 354348af84faSmrgif ${ac_cv_prog_cc_c99+:} false; then : 354489d09728Smrg $as_echo_n "(cached) " >&6 354566fe65f6Smrgelse 354648af84faSmrg ac_cv_prog_cc_c99=no 354748af84faSmrgac_save_CC=$CC 354848af84faSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 354989d09728Smrg/* end confdefs.h. */ 355048af84faSmrg#include <stdarg.h> 355148af84faSmrg#include <stdbool.h> 355248af84faSmrg#include <stdlib.h> 355348af84faSmrg#include <wchar.h> 355448af84faSmrg#include <stdio.h> 355548af84faSmrg 355648af84faSmrg// Check varargs macros. These examples are taken from C99 6.10.3.5. 355748af84faSmrg#define debug(...) fprintf (stderr, __VA_ARGS__) 355848af84faSmrg#define showlist(...) puts (#__VA_ARGS__) 355948af84faSmrg#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 356048af84faSmrgstatic void 356148af84faSmrgtest_varargs_macros (void) 356248af84faSmrg{ 356348af84faSmrg int x = 1234; 356448af84faSmrg int y = 5678; 356548af84faSmrg debug ("Flag"); 356648af84faSmrg debug ("X = %d\n", x); 356748af84faSmrg showlist (The first, second, and third items.); 356848af84faSmrg report (x>y, "x is %d but y is %d", x, y); 356948af84faSmrg} 357048af84faSmrg 357148af84faSmrg// Check long long types. 357248af84faSmrg#define BIG64 18446744073709551615ull 357348af84faSmrg#define BIG32 4294967295ul 357448af84faSmrg#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 357548af84faSmrg#if !BIG_OK 357648af84faSmrg your preprocessor is broken; 357748af84faSmrg#endif 357848af84faSmrg#if BIG_OK 357989d09728Smrg#else 358048af84faSmrg your preprocessor is broken; 358189d09728Smrg#endif 358248af84faSmrgstatic long long int bignum = -9223372036854775807LL; 358348af84faSmrgstatic unsigned long long int ubignum = BIG64; 3584a9274bcdSmrg 358548af84faSmrgstruct incomplete_array 358648af84faSmrg{ 358748af84faSmrg int datasize; 358848af84faSmrg double data[]; 358948af84faSmrg}; 3590a9274bcdSmrg 359148af84faSmrgstruct named_init { 359248af84faSmrg int number; 359348af84faSmrg const wchar_t *name; 359448af84faSmrg double average; 359548af84faSmrg}; 359689d09728Smrg 359748af84faSmrgtypedef const char *ccp; 3598a9274bcdSmrg 359948af84faSmrgstatic inline int 360048af84faSmrgtest_restrict (ccp restrict text) 360148af84faSmrg{ 360248af84faSmrg // See if C++-style comments work. 360348af84faSmrg // Iterate through items via the restricted pointer. 360448af84faSmrg // Also check for declarations in for loops. 360548af84faSmrg for (unsigned int i = 0; *(text+i) != '\0'; ++i) 360648af84faSmrg continue; 360748af84faSmrg return 0; 360848af84faSmrg} 3609a9274bcdSmrg 361048af84faSmrg// Check varargs and va_copy. 361148af84faSmrgstatic void 361248af84faSmrgtest_varargs (const char *format, ...) 361348af84faSmrg{ 361448af84faSmrg va_list args; 361548af84faSmrg va_start (args, format); 361648af84faSmrg va_list args_copy; 361748af84faSmrg va_copy (args_copy, args); 361889d09728Smrg 361948af84faSmrg const char *str; 362048af84faSmrg int number; 362148af84faSmrg float fnumber; 362289d09728Smrg 362348af84faSmrg while (*format) 362448af84faSmrg { 362548af84faSmrg switch (*format++) 362648af84faSmrg { 362748af84faSmrg case 's': // string 362848af84faSmrg str = va_arg (args_copy, const char *); 362948af84faSmrg break; 363048af84faSmrg case 'd': // int 363148af84faSmrg number = va_arg (args_copy, int); 363248af84faSmrg break; 363348af84faSmrg case 'f': // float 363448af84faSmrg fnumber = va_arg (args_copy, double); 363548af84faSmrg break; 363648af84faSmrg default: 363748af84faSmrg break; 363848af84faSmrg } 363948af84faSmrg } 364048af84faSmrg va_end (args_copy); 364148af84faSmrg va_end (args); 364248af84faSmrg} 364348af84faSmrg 364448af84faSmrgint 364548af84faSmrgmain () 364648af84faSmrg{ 364748af84faSmrg 364848af84faSmrg // Check bool. 364948af84faSmrg _Bool success = false; 365048af84faSmrg 365148af84faSmrg // Check restrict. 365248af84faSmrg if (test_restrict ("String literal") == 0) 365348af84faSmrg success = true; 365448af84faSmrg char *restrict newvar = "Another string"; 365548af84faSmrg 365648af84faSmrg // Check varargs. 365748af84faSmrg test_varargs ("s, d' f .", "string", 65, 34.234); 365848af84faSmrg test_varargs_macros (); 365948af84faSmrg 366048af84faSmrg // Check flexible array members. 366148af84faSmrg struct incomplete_array *ia = 366248af84faSmrg malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 366348af84faSmrg ia->datasize = 10; 366448af84faSmrg for (int i = 0; i < ia->datasize; ++i) 366548af84faSmrg ia->data[i] = i * 1.234; 366648af84faSmrg 366748af84faSmrg // Check named initializers. 366848af84faSmrg struct named_init ni = { 366948af84faSmrg .number = 34, 367048af84faSmrg .name = L"Test wide string", 367148af84faSmrg .average = 543.34343, 367248af84faSmrg }; 367348af84faSmrg 367448af84faSmrg ni.number = 58; 367548af84faSmrg 367648af84faSmrg int dynamic_array[ni.number]; 367748af84faSmrg dynamic_array[ni.number - 1] = 543; 367848af84faSmrg 367948af84faSmrg // work around unused variable warnings 368048af84faSmrg return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 368148af84faSmrg || dynamic_array[ni.number - 1] != 543); 368248af84faSmrg 368348af84faSmrg ; 368448af84faSmrg return 0; 368548af84faSmrg} 368648af84faSmrg_ACEOF 368748af84faSmrgfor ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 368848af84faSmrgdo 368948af84faSmrg CC="$ac_save_CC $ac_arg" 369048af84faSmrg if ac_fn_c_try_compile "$LINENO"; then : 369148af84faSmrg ac_cv_prog_cc_c99=$ac_arg 369248af84faSmrgfi 369348af84faSmrgrm -f core conftest.err conftest.$ac_objext 369448af84faSmrg test "x$ac_cv_prog_cc_c99" != "xno" && break 369548af84faSmrgdone 369648af84faSmrgrm -f conftest.$ac_ext 369748af84faSmrgCC=$ac_save_CC 369848af84faSmrg 369948af84faSmrgfi 370048af84faSmrg# AC_CACHE_VAL 370148af84faSmrgcase "x$ac_cv_prog_cc_c99" in 370248af84faSmrg x) 370348af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 370448af84faSmrg$as_echo "none needed" >&6; } ;; 370548af84faSmrg xno) 370648af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 370748af84faSmrg$as_echo "unsupported" >&6; } ;; 370848af84faSmrg *) 370948af84faSmrg CC="$CC $ac_cv_prog_cc_c99" 371048af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 371148af84faSmrg$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 371248af84faSmrgesac 371348af84faSmrgif test "x$ac_cv_prog_cc_c99" != xno; then : 371448af84faSmrg 371548af84faSmrgfi 371648af84faSmrg 371748af84faSmrg 371848af84faSmrg 371948af84faSmrgac_ext=c 372048af84faSmrgac_cpp='$CPP $CPPFLAGS' 372148af84faSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 372248af84faSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 372348af84faSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 372448af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 372548af84faSmrg$as_echo_n "checking how to run the C preprocessor... " >&6; } 372648af84faSmrg# On Suns, sometimes $CPP names a directory. 372748af84faSmrgif test -n "$CPP" && test -d "$CPP"; then 372848af84faSmrg CPP= 372948af84faSmrgfi 373048af84faSmrgif test -z "$CPP"; then 373148af84faSmrg if ${ac_cv_prog_CPP+:} false; then : 373248af84faSmrg $as_echo_n "(cached) " >&6 373348af84faSmrgelse 373448af84faSmrg # Double quotes because CPP needs to be expanded 373548af84faSmrg for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 373648af84faSmrg do 373748af84faSmrg ac_preproc_ok=false 373848af84faSmrgfor ac_c_preproc_warn_flag in '' yes 373948af84faSmrgdo 374048af84faSmrg # Use a header file that comes with gcc, so configuring glibc 374148af84faSmrg # with a fresh cross-compiler works. 374248af84faSmrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 374348af84faSmrg # <limits.h> exists even on freestanding compilers. 374448af84faSmrg # On the NeXT, cc -E runs the code through the compiler's parser, 374548af84faSmrg # not just through cpp. "Syntax error" is here to catch this case. 374648af84faSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 374748af84faSmrg/* end confdefs.h. */ 374848af84faSmrg#ifdef __STDC__ 374948af84faSmrg# include <limits.h> 375048af84faSmrg#else 375148af84faSmrg# include <assert.h> 375248af84faSmrg#endif 375348af84faSmrg Syntax error 375448af84faSmrg_ACEOF 375548af84faSmrgif ac_fn_c_try_cpp "$LINENO"; then : 375648af84faSmrg 375748af84faSmrgelse 375848af84faSmrg # Broken: fails on valid input. 375948af84faSmrgcontinue 376048af84faSmrgfi 376148af84faSmrgrm -f conftest.err conftest.i conftest.$ac_ext 376248af84faSmrg 376348af84faSmrg # OK, works on sane cases. Now check whether nonexistent headers 376448af84faSmrg # can be detected and how. 376548af84faSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 376648af84faSmrg/* end confdefs.h. */ 376748af84faSmrg#include <ac_nonexistent.h> 376848af84faSmrg_ACEOF 376948af84faSmrgif ac_fn_c_try_cpp "$LINENO"; then : 377048af84faSmrg # Broken: success on invalid input. 377148af84faSmrgcontinue 377248af84faSmrgelse 377348af84faSmrg # Passes both tests. 377448af84faSmrgac_preproc_ok=: 377548af84faSmrgbreak 377648af84faSmrgfi 377748af84faSmrgrm -f conftest.err conftest.i conftest.$ac_ext 377848af84faSmrg 377948af84faSmrgdone 378048af84faSmrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 378148af84faSmrgrm -f conftest.i conftest.err conftest.$ac_ext 378248af84faSmrgif $ac_preproc_ok; then : 378348af84faSmrg break 378448af84faSmrgfi 378548af84faSmrg 378648af84faSmrg done 378789d09728Smrg ac_cv_prog_CPP=$CPP 378889d09728Smrg 378989d09728Smrgfi 379089d09728Smrg CPP=$ac_cv_prog_CPP 379189d09728Smrgelse 379289d09728Smrg ac_cv_prog_CPP=$CPP 379389d09728Smrgfi 379448af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 379589d09728Smrg$as_echo "$CPP" >&6; } 379689d09728Smrgac_preproc_ok=false 379789d09728Smrgfor ac_c_preproc_warn_flag in '' yes 379889d09728Smrgdo 379989d09728Smrg # Use a header file that comes with gcc, so configuring glibc 380089d09728Smrg # with a fresh cross-compiler works. 380189d09728Smrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 380289d09728Smrg # <limits.h> exists even on freestanding compilers. 380389d09728Smrg # On the NeXT, cc -E runs the code through the compiler's parser, 380489d09728Smrg # not just through cpp. "Syntax error" is here to catch this case. 380548af84faSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 380689d09728Smrg/* end confdefs.h. */ 380789d09728Smrg#ifdef __STDC__ 380889d09728Smrg# include <limits.h> 380989d09728Smrg#else 381089d09728Smrg# include <assert.h> 381189d09728Smrg#endif 381289d09728Smrg Syntax error 381389d09728Smrg_ACEOF 381448af84faSmrgif ac_fn_c_try_cpp "$LINENO"; then : 3815a9274bcdSmrg 381648af84faSmrgelse 381789d09728Smrg # Broken: fails on valid input. 381889d09728Smrgcontinue 381989d09728Smrgfi 382048af84faSmrgrm -f conftest.err conftest.i conftest.$ac_ext 382189d09728Smrg 382289d09728Smrg # OK, works on sane cases. Now check whether nonexistent headers 382389d09728Smrg # can be detected and how. 382448af84faSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 382589d09728Smrg/* end confdefs.h. */ 382689d09728Smrg#include <ac_nonexistent.h> 382789d09728Smrg_ACEOF 382848af84faSmrgif ac_fn_c_try_cpp "$LINENO"; then : 382989d09728Smrg # Broken: success on invalid input. 383089d09728Smrgcontinue 383189d09728Smrgelse 383289d09728Smrg # Passes both tests. 383389d09728Smrgac_preproc_ok=: 383489d09728Smrgbreak 383589d09728Smrgfi 383648af84faSmrgrm -f conftest.err conftest.i conftest.$ac_ext 383789d09728Smrg 383889d09728Smrgdone 383989d09728Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 384048af84faSmrgrm -f conftest.i conftest.err conftest.$ac_ext 384148af84faSmrgif $ac_preproc_ok; then : 384248af84faSmrg 384389d09728Smrgelse 384448af84faSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 384589d09728Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 384648af84faSmrgas_fn_error $? "C preprocessor \"$CPP\" fails sanity check 384748af84faSmrgSee \`config.log' for more details" "$LINENO" 5; } 384889d09728Smrgfi 384989d09728Smrg 385089d09728Smrgac_ext=c 385189d09728Smrgac_cpp='$CPP $CPPFLAGS' 385289d09728Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 385389d09728Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 385489d09728Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 385589d09728Smrg 385689d09728Smrg 385748af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 385889d09728Smrg$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 385948af84faSmrgif ${ac_cv_path_GREP+:} false; then : 386089d09728Smrg $as_echo_n "(cached) " >&6 386189d09728Smrgelse 386289d09728Smrg if test -z "$GREP"; then 386389d09728Smrg ac_path_GREP_found=false 386489d09728Smrg # Loop through the user's path and test for each of PROGNAME-LIST 386589d09728Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 386689d09728Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 386789d09728Smrgdo 386889d09728Smrg IFS=$as_save_IFS 386989d09728Smrg test -z "$as_dir" && as_dir=. 387048af84faSmrg for ac_prog in grep ggrep; do 387189d09728Smrg for ac_exec_ext in '' $ac_executable_extensions; do 387289d09728Smrg ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 387389d09728Smrg { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 387489d09728Smrg# Check for GNU ac_path_GREP and select it if it is found. 387589d09728Smrg # Check for GNU $ac_path_GREP 387689d09728Smrgcase `"$ac_path_GREP" --version 2>&1` in 387789d09728Smrg*GNU*) 387889d09728Smrg ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 387989d09728Smrg*) 388089d09728Smrg ac_count=0 388189d09728Smrg $as_echo_n 0123456789 >"conftest.in" 388289d09728Smrg while : 388389d09728Smrg do 388489d09728Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 388589d09728Smrg mv "conftest.tmp" "conftest.in" 388689d09728Smrg cp "conftest.in" "conftest.nl" 388789d09728Smrg $as_echo 'GREP' >> "conftest.nl" 388889d09728Smrg "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 388989d09728Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 389048af84faSmrg as_fn_arith $ac_count + 1 && ac_count=$as_val 389189d09728Smrg if test $ac_count -gt ${ac_path_GREP_max-0}; then 389289d09728Smrg # Best one so far, save it but keep looking for a better one 389389d09728Smrg ac_cv_path_GREP="$ac_path_GREP" 389489d09728Smrg ac_path_GREP_max=$ac_count 389589d09728Smrg fi 389689d09728Smrg # 10*(2^10) chars as input seems more than enough 389789d09728Smrg test $ac_count -gt 10 && break 389889d09728Smrg done 389989d09728Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 390089d09728Smrgesac 390189d09728Smrg 390289d09728Smrg $ac_path_GREP_found && break 3 390389d09728Smrg done 390489d09728Smrg done 390548af84faSmrg done 390689d09728SmrgIFS=$as_save_IFS 390789d09728Smrg if test -z "$ac_cv_path_GREP"; then 390848af84faSmrg as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 390989d09728Smrg fi 391089d09728Smrgelse 391189d09728Smrg ac_cv_path_GREP=$GREP 391289d09728Smrgfi 391389d09728Smrg 391489d09728Smrgfi 391548af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 391689d09728Smrg$as_echo "$ac_cv_path_GREP" >&6; } 391789d09728Smrg GREP="$ac_cv_path_GREP" 391889d09728Smrg 391989d09728Smrg 392048af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 392189d09728Smrg$as_echo_n "checking for egrep... " >&6; } 392248af84faSmrgif ${ac_cv_path_EGREP+:} false; then : 392389d09728Smrg $as_echo_n "(cached) " >&6 392489d09728Smrgelse 392589d09728Smrg if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 392689d09728Smrg then ac_cv_path_EGREP="$GREP -E" 392789d09728Smrg else 392889d09728Smrg if test -z "$EGREP"; then 392989d09728Smrg ac_path_EGREP_found=false 393089d09728Smrg # Loop through the user's path and test for each of PROGNAME-LIST 393189d09728Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 393289d09728Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 393389d09728Smrgdo 393489d09728Smrg IFS=$as_save_IFS 393589d09728Smrg test -z "$as_dir" && as_dir=. 393648af84faSmrg for ac_prog in egrep; do 393789d09728Smrg for ac_exec_ext in '' $ac_executable_extensions; do 393889d09728Smrg ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 393989d09728Smrg { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 394089d09728Smrg# Check for GNU ac_path_EGREP and select it if it is found. 394189d09728Smrg # Check for GNU $ac_path_EGREP 394289d09728Smrgcase `"$ac_path_EGREP" --version 2>&1` in 394389d09728Smrg*GNU*) 394489d09728Smrg ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 394589d09728Smrg*) 394689d09728Smrg ac_count=0 394789d09728Smrg $as_echo_n 0123456789 >"conftest.in" 394889d09728Smrg while : 394989d09728Smrg do 395089d09728Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 395189d09728Smrg mv "conftest.tmp" "conftest.in" 395289d09728Smrg cp "conftest.in" "conftest.nl" 395389d09728Smrg $as_echo 'EGREP' >> "conftest.nl" 395489d09728Smrg "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 395589d09728Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 395648af84faSmrg as_fn_arith $ac_count + 1 && ac_count=$as_val 395789d09728Smrg if test $ac_count -gt ${ac_path_EGREP_max-0}; then 395889d09728Smrg # Best one so far, save it but keep looking for a better one 395989d09728Smrg ac_cv_path_EGREP="$ac_path_EGREP" 396089d09728Smrg ac_path_EGREP_max=$ac_count 396189d09728Smrg fi 396289d09728Smrg # 10*(2^10) chars as input seems more than enough 396389d09728Smrg test $ac_count -gt 10 && break 396489d09728Smrg done 396589d09728Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 396689d09728Smrgesac 396789d09728Smrg 396889d09728Smrg $ac_path_EGREP_found && break 3 396989d09728Smrg done 397089d09728Smrg done 397148af84faSmrg done 397289d09728SmrgIFS=$as_save_IFS 397389d09728Smrg if test -z "$ac_cv_path_EGREP"; then 397448af84faSmrg as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 397589d09728Smrg fi 397689d09728Smrgelse 397789d09728Smrg ac_cv_path_EGREP=$EGREP 397889d09728Smrgfi 397989d09728Smrg 398089d09728Smrg fi 398189d09728Smrgfi 398248af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 398389d09728Smrg$as_echo "$ac_cv_path_EGREP" >&6; } 398489d09728Smrg EGREP="$ac_cv_path_EGREP" 398589d09728Smrg 398689d09728Smrg 398748af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 398889d09728Smrg$as_echo_n "checking for ANSI C header files... " >&6; } 398948af84faSmrgif ${ac_cv_header_stdc+:} false; then : 399089d09728Smrg $as_echo_n "(cached) " >&6 399189d09728Smrgelse 399248af84faSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 399389d09728Smrg/* end confdefs.h. */ 399489d09728Smrg#include <stdlib.h> 399589d09728Smrg#include <stdarg.h> 399689d09728Smrg#include <string.h> 399789d09728Smrg#include <float.h> 399889d09728Smrg 399989d09728Smrgint 400089d09728Smrgmain () 400189d09728Smrg{ 400289d09728Smrg 400389d09728Smrg ; 400489d09728Smrg return 0; 400589d09728Smrg} 400689d09728Smrg_ACEOF 400748af84faSmrgif ac_fn_c_try_compile "$LINENO"; then : 4008a9274bcdSmrg ac_cv_header_stdc=yes 4009a9274bcdSmrgelse 401048af84faSmrg ac_cv_header_stdc=no 4011a9274bcdSmrgfi 4012a9274bcdSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4013a9274bcdSmrg 4014a9274bcdSmrgif test $ac_cv_header_stdc = yes; then 4015a9274bcdSmrg # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 401648af84faSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4017a9274bcdSmrg/* end confdefs.h. */ 4018a9274bcdSmrg#include <string.h> 4019a9274bcdSmrg 4020a9274bcdSmrg_ACEOF 4021a9274bcdSmrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 402248af84faSmrg $EGREP "memchr" >/dev/null 2>&1; then : 402348af84faSmrg 4024a9274bcdSmrgelse 4025a9274bcdSmrg ac_cv_header_stdc=no 4026a9274bcdSmrgfi 4027a9274bcdSmrgrm -f conftest* 4028a9274bcdSmrg 4029a9274bcdSmrgfi 4030a9274bcdSmrg 4031a9274bcdSmrgif test $ac_cv_header_stdc = yes; then 4032a9274bcdSmrg # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 403348af84faSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4034a9274bcdSmrg/* end confdefs.h. */ 4035a9274bcdSmrg#include <stdlib.h> 4036a9274bcdSmrg 4037a9274bcdSmrg_ACEOF 4038a9274bcdSmrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 403948af84faSmrg $EGREP "free" >/dev/null 2>&1; then : 404048af84faSmrg 4041a9274bcdSmrgelse 4042a9274bcdSmrg ac_cv_header_stdc=no 4043a9274bcdSmrgfi 4044a9274bcdSmrgrm -f conftest* 4045a9274bcdSmrg 4046a9274bcdSmrgfi 4047a9274bcdSmrg 4048a9274bcdSmrgif test $ac_cv_header_stdc = yes; then 4049a9274bcdSmrg # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 405048af84faSmrg if test "$cross_compiling" = yes; then : 4051a9274bcdSmrg : 4052a9274bcdSmrgelse 405348af84faSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4054a9274bcdSmrg/* end confdefs.h. */ 4055a9274bcdSmrg#include <ctype.h> 4056a9274bcdSmrg#include <stdlib.h> 4057a9274bcdSmrg#if ((' ' & 0x0FF) == 0x020) 4058a9274bcdSmrg# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4059a9274bcdSmrg# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4060a9274bcdSmrg#else 4061a9274bcdSmrg# define ISLOWER(c) \ 4062a9274bcdSmrg (('a' <= (c) && (c) <= 'i') \ 4063a9274bcdSmrg || ('j' <= (c) && (c) <= 'r') \ 4064a9274bcdSmrg || ('s' <= (c) && (c) <= 'z')) 4065a9274bcdSmrg# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4066a9274bcdSmrg#endif 4067a9274bcdSmrg 4068a9274bcdSmrg#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4069a9274bcdSmrgint 4070a9274bcdSmrgmain () 4071a9274bcdSmrg{ 4072a9274bcdSmrg int i; 4073a9274bcdSmrg for (i = 0; i < 256; i++) 4074a9274bcdSmrg if (XOR (islower (i), ISLOWER (i)) 4075a9274bcdSmrg || toupper (i) != TOUPPER (i)) 4076a9274bcdSmrg return 2; 4077a9274bcdSmrg return 0; 4078a9274bcdSmrg} 4079a9274bcdSmrg_ACEOF 408048af84faSmrgif ac_fn_c_try_run "$LINENO"; then : 4081a9274bcdSmrg 408248af84faSmrgelse 408348af84faSmrg ac_cv_header_stdc=no 4084a9274bcdSmrgfi 408548af84faSmrgrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 408648af84faSmrg conftest.$ac_objext conftest.beam conftest.$ac_ext 4087a9274bcdSmrgfi 4088a9274bcdSmrg 4089a9274bcdSmrgfi 4090a9274bcdSmrgfi 409148af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4092a9274bcdSmrg$as_echo "$ac_cv_header_stdc" >&6; } 4093a9274bcdSmrgif test $ac_cv_header_stdc = yes; then 4094a9274bcdSmrg 409548af84faSmrg$as_echo "#define STDC_HEADERS 1" >>confdefs.h 4096a9274bcdSmrg 4097a9274bcdSmrgfi 4098a9274bcdSmrg 4099a9274bcdSmrg# On IRIX 5.3, sys/types and inttypes.h are conflicting. 4100a9274bcdSmrgfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4101a9274bcdSmrg inttypes.h stdint.h unistd.h 410248af84faSmrgdo : 410348af84faSmrg as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 410448af84faSmrgac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 410548af84faSmrg" 410648af84faSmrgif eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4107a9274bcdSmrg cat >>confdefs.h <<_ACEOF 4108a9274bcdSmrg#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4109a9274bcdSmrg_ACEOF 4110a9274bcdSmrg 4111a9274bcdSmrgfi 4112a9274bcdSmrg 4113a9274bcdSmrgdone 4114a9274bcdSmrg 4115a9274bcdSmrg 4116a9274bcdSmrg 4117a9274bcdSmrg 411848af84faSmrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 411948af84faSmrg if test -n "$ac_tool_prefix"; then 412048af84faSmrg # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 412148af84faSmrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2 412248af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 412348af84faSmrg$as_echo_n "checking for $ac_word... " >&6; } 412448af84faSmrgif ${ac_cv_path_PKG_CONFIG+:} false; then : 412548af84faSmrg $as_echo_n "(cached) " >&6 412648af84faSmrgelse 412748af84faSmrg case $PKG_CONFIG in 412848af84faSmrg [\\/]* | ?:[\\/]*) 412948af84faSmrg ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 413048af84faSmrg ;; 413148af84faSmrg *) 413248af84faSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 413348af84faSmrgfor as_dir in $PATH 4134a9274bcdSmrgdo 413548af84faSmrg IFS=$as_save_IFS 413648af84faSmrg test -z "$as_dir" && as_dir=. 413748af84faSmrg for ac_exec_ext in '' $ac_executable_extensions; do 413848af84faSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 413948af84faSmrg ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 414048af84faSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 414148af84faSmrg break 2 414248af84faSmrg fi 414348af84faSmrgdone 414448af84faSmrg done 414548af84faSmrgIFS=$as_save_IFS 414648af84faSmrg 414748af84faSmrg ;; 4148a9274bcdSmrgesac 414948af84faSmrgfi 415048af84faSmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG 415148af84faSmrgif test -n "$PKG_CONFIG"; then 415248af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 415348af84faSmrg$as_echo "$PKG_CONFIG" >&6; } 4154a9274bcdSmrgelse 415548af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 415648af84faSmrg$as_echo "no" >&6; } 4157a9274bcdSmrgfi 4158a9274bcdSmrg 4159a9274bcdSmrg 4160a9274bcdSmrgfi 416148af84faSmrgif test -z "$ac_cv_path_PKG_CONFIG"; then 416248af84faSmrg ac_pt_PKG_CONFIG=$PKG_CONFIG 416348af84faSmrg # Extract the first word of "pkg-config", so it can be a program name with args. 416448af84faSmrgset dummy pkg-config; ac_word=$2 416548af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 416648af84faSmrg$as_echo_n "checking for $ac_word... " >&6; } 416748af84faSmrgif ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 416848af84faSmrg $as_echo_n "(cached) " >&6 416948af84faSmrgelse 417048af84faSmrg case $ac_pt_PKG_CONFIG in 417148af84faSmrg [\\/]* | ?:[\\/]*) 417248af84faSmrg ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 417348af84faSmrg ;; 4174a9274bcdSmrg *) 417548af84faSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 417648af84faSmrgfor as_dir in $PATH 417748af84faSmrgdo 417848af84faSmrg IFS=$as_save_IFS 417948af84faSmrg test -z "$as_dir" && as_dir=. 418048af84faSmrg for ac_exec_ext in '' $ac_executable_extensions; do 418148af84faSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 418248af84faSmrg ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 418348af84faSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 418448af84faSmrg break 2 418548af84faSmrg fi 418648af84faSmrgdone 418748af84faSmrg done 418848af84faSmrgIFS=$as_save_IFS 418948af84faSmrg 419048af84faSmrg ;; 4191a9274bcdSmrgesac 419248af84faSmrgfi 419348af84faSmrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 419448af84faSmrgif test -n "$ac_pt_PKG_CONFIG"; then 419548af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 419648af84faSmrg$as_echo "$ac_pt_PKG_CONFIG" >&6; } 419748af84faSmrgelse 419848af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 419948af84faSmrg$as_echo "no" >&6; } 420048af84faSmrgfi 4201a9274bcdSmrg 420248af84faSmrg if test "x$ac_pt_PKG_CONFIG" = x; then 420348af84faSmrg PKG_CONFIG="" 420448af84faSmrg else 420548af84faSmrg case $cross_compiling:$ac_tool_warned in 420648af84faSmrgyes:) 420748af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 420848af84faSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 420948af84faSmrgac_tool_warned=yes ;; 421048af84faSmrgesac 421148af84faSmrg PKG_CONFIG=$ac_pt_PKG_CONFIG 421248af84faSmrg fi 421348af84faSmrgelse 421448af84faSmrg PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 421548af84faSmrgfi 4216a9274bcdSmrg 421748af84faSmrgfi 421848af84faSmrgif test -n "$PKG_CONFIG"; then 421948af84faSmrg _pkg_min_version=0.9.0 422048af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 422148af84faSmrg$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 422248af84faSmrg if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 422348af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 422448af84faSmrg$as_echo "yes" >&6; } 422548af84faSmrg else 422648af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 422748af84faSmrg$as_echo "no" >&6; } 422848af84faSmrg PKG_CONFIG="" 422948af84faSmrg fi 4230a9274bcdSmrg 423148af84faSmrgfi 4232a9274bcdSmrg# Make sure we can run config.sub. 4233a9274bcdSmrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 423448af84faSmrg as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4235a9274bcdSmrg 423648af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4237a9274bcdSmrg$as_echo_n "checking build system type... " >&6; } 423848af84faSmrgif ${ac_cv_build+:} false; then : 4239a9274bcdSmrg $as_echo_n "(cached) " >&6 4240a9274bcdSmrgelse 4241a9274bcdSmrg ac_build_alias=$build_alias 4242a9274bcdSmrgtest "x$ac_build_alias" = x && 4243a9274bcdSmrg ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4244a9274bcdSmrgtest "x$ac_build_alias" = x && 424548af84faSmrg as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4246a9274bcdSmrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 424748af84faSmrg as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4248a9274bcdSmrg 4249a9274bcdSmrgfi 425048af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4251a9274bcdSmrg$as_echo "$ac_cv_build" >&6; } 4252a9274bcdSmrgcase $ac_cv_build in 4253a9274bcdSmrg*-*-*) ;; 425448af84faSmrg*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 4255a9274bcdSmrgesac 4256a9274bcdSmrgbuild=$ac_cv_build 4257a9274bcdSmrgac_save_IFS=$IFS; IFS='-' 4258a9274bcdSmrgset x $ac_cv_build 4259a9274bcdSmrgshift 4260a9274bcdSmrgbuild_cpu=$1 4261a9274bcdSmrgbuild_vendor=$2 4262a9274bcdSmrgshift; shift 4263a9274bcdSmrg# Remember, the first character of IFS is used to create $*, 4264a9274bcdSmrg# except with old shells: 4265a9274bcdSmrgbuild_os=$* 4266a9274bcdSmrgIFS=$ac_save_IFS 4267a9274bcdSmrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4268a9274bcdSmrg 4269a9274bcdSmrg 427048af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4271a9274bcdSmrg$as_echo_n "checking host system type... " >&6; } 427248af84faSmrgif ${ac_cv_host+:} false; then : 4273a9274bcdSmrg $as_echo_n "(cached) " >&6 4274a9274bcdSmrgelse 4275a9274bcdSmrg if test "x$host_alias" = x; then 4276a9274bcdSmrg ac_cv_host=$ac_cv_build 4277a9274bcdSmrgelse 4278a9274bcdSmrg ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 427948af84faSmrg as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4280a9274bcdSmrgfi 4281a9274bcdSmrg 4282a9274bcdSmrgfi 428348af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4284a9274bcdSmrg$as_echo "$ac_cv_host" >&6; } 4285a9274bcdSmrgcase $ac_cv_host in 4286a9274bcdSmrg*-*-*) ;; 428748af84faSmrg*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 4288a9274bcdSmrgesac 4289a9274bcdSmrghost=$ac_cv_host 4290a9274bcdSmrgac_save_IFS=$IFS; IFS='-' 4291a9274bcdSmrgset x $ac_cv_host 4292a9274bcdSmrgshift 4293a9274bcdSmrghost_cpu=$1 4294a9274bcdSmrghost_vendor=$2 4295a9274bcdSmrgshift; shift 4296a9274bcdSmrg# Remember, the first character of IFS is used to create $*, 4297a9274bcdSmrg# except with old shells: 4298a9274bcdSmrghost_os=$* 4299a9274bcdSmrgIFS=$ac_save_IFS 4300a9274bcdSmrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4301a9274bcdSmrg 4302a9274bcdSmrg 430348af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 430448af84faSmrg$as_echo_n "checking for a sed that does not truncate output... " >&6; } 430548af84faSmrgif ${ac_cv_path_SED+:} false; then : 4306a9274bcdSmrg $as_echo_n "(cached) " >&6 4307a9274bcdSmrgelse 430848af84faSmrg ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 430948af84faSmrg for ac_i in 1 2 3 4 5 6 7; do 431048af84faSmrg ac_script="$ac_script$as_nl$ac_script" 431148af84faSmrg done 431248af84faSmrg echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 431348af84faSmrg { ac_script=; unset ac_script;} 431448af84faSmrg if test -z "$SED"; then 431548af84faSmrg ac_path_SED_found=false 431648af84faSmrg # Loop through the user's path and test for each of PROGNAME-LIST 431748af84faSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 431848af84faSmrgfor as_dir in $PATH 431948af84faSmrgdo 432048af84faSmrg IFS=$as_save_IFS 432148af84faSmrg test -z "$as_dir" && as_dir=. 432248af84faSmrg for ac_prog in sed gsed; do 432348af84faSmrg for ac_exec_ext in '' $ac_executable_extensions; do 432448af84faSmrg ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 432548af84faSmrg { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 432648af84faSmrg# Check for GNU ac_path_SED and select it if it is found. 432748af84faSmrg # Check for GNU $ac_path_SED 432848af84faSmrgcase `"$ac_path_SED" --version 2>&1` in 432948af84faSmrg*GNU*) 433048af84faSmrg ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 433148af84faSmrg*) 433248af84faSmrg ac_count=0 433348af84faSmrg $as_echo_n 0123456789 >"conftest.in" 433448af84faSmrg while : 433548af84faSmrg do 433648af84faSmrg cat "conftest.in" "conftest.in" >"conftest.tmp" 433748af84faSmrg mv "conftest.tmp" "conftest.in" 433848af84faSmrg cp "conftest.in" "conftest.nl" 433948af84faSmrg $as_echo '' >> "conftest.nl" 434048af84faSmrg "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 434148af84faSmrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 434248af84faSmrg as_fn_arith $ac_count + 1 && ac_count=$as_val 434348af84faSmrg if test $ac_count -gt ${ac_path_SED_max-0}; then 434448af84faSmrg # Best one so far, save it but keep looking for a better one 434548af84faSmrg ac_cv_path_SED="$ac_path_SED" 434648af84faSmrg ac_path_SED_max=$ac_count 434748af84faSmrg fi 434848af84faSmrg # 10*(2^10) chars as input seems more than enough 434948af84faSmrg test $ac_count -gt 10 && break 435048af84faSmrg done 435148af84faSmrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4352a9274bcdSmrgesac 4353a9274bcdSmrg 435448af84faSmrg $ac_path_SED_found && break 3 435548af84faSmrg done 435648af84faSmrg done 435748af84faSmrg done 435848af84faSmrgIFS=$as_save_IFS 435948af84faSmrg if test -z "$ac_cv_path_SED"; then 436048af84faSmrg as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 436148af84faSmrg fi 4362a9274bcdSmrgelse 436348af84faSmrg ac_cv_path_SED=$SED 4364a9274bcdSmrgfi 4365a9274bcdSmrg 4366a9274bcdSmrgfi 436748af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 436848af84faSmrg$as_echo "$ac_cv_path_SED" >&6; } 436948af84faSmrg SED="$ac_cv_path_SED" 437048af84faSmrg rm -f conftest.sed 4371a9274bcdSmrg 4372a9274bcdSmrg 4373a9274bcdSmrg 4374a9274bcdSmrg 4375a9274bcdSmrg 437648af84faSmrgif test "x$GCC" = xyes ; then 437748af84faSmrg CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \ 437848af84faSmrg-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \ 437948af84faSmrg-Wbad-function-cast -Wformat=2" 438048af84faSmrg case `$CC -dumpversion` in 438148af84faSmrg 3.4.* | 4.*) 438248af84faSmrg CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement" 438348af84faSmrg ;; 438448af84faSmrg esac 4385a9274bcdSmrgelse 438648af84faSmrg ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 438748af84faSmrgif test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then : 4388a9274bcdSmrg SUNCC="yes" 4389a9274bcdSmrgelse 4390a9274bcdSmrg SUNCC="no" 4391a9274bcdSmrgfi 4392a9274bcdSmrg 439348af84faSmrg if test "x$SUNCC" = "xyes"; then 439448af84faSmrg CWARNFLAGS="-v" 439548af84faSmrg fi 439648af84faSmrgfi 439748af84faSmrg 439848af84faSmrg 439948af84faSmrg 440048af84faSmrg# If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89 440148af84faSmrg 4402a9274bcdSmrg 440389d09728Smrg 440448af84faSmrg# Check whether --enable-strict-compilation was given. 440548af84faSmrgif test "${enable_strict_compilation+set}" = set; then : 440648af84faSmrg enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval 440748af84faSmrgelse 440848af84faSmrg STRICT_COMPILE=no 4409a9274bcdSmrgfi 441089d09728Smrg 441148af84faSmrgif test "x$STRICT_COMPILE" = "xyes"; then 441248af84faSmrg ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 441348af84faSmrgif test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then : 441448af84faSmrg SUNCC="yes" 441548af84faSmrgelse 441648af84faSmrg SUNCC="no" 4417a9274bcdSmrgfi 441848af84faSmrg 441948af84faSmrg ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" 442048af84faSmrgif test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then : 4421a9274bcdSmrg INTELCC="yes" 442289d09728Smrgelse 4423a9274bcdSmrg INTELCC="no" 442489d09728Smrgfi 442589d09728Smrg 4426a9274bcdSmrg if test "x$GCC" = xyes ; then 4427a9274bcdSmrg STRICT_CFLAGS="-pedantic -Werror" 4428a9274bcdSmrg elif test "x$SUNCC" = "xyes"; then 4429a9274bcdSmrg STRICT_CFLAGS="-errwarn" 4430a9274bcdSmrg elif test "x$INTELCC" = "xyes"; then 4431a9274bcdSmrg STRICT_CFLAGS="-Werror" 4432a9274bcdSmrg fi 443389d09728Smrgfi 4434a9274bcdSmrgCWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS" 443589d09728Smrg 443689d09728Smrg 443789d09728Smrg 4438a9274bcdSmrg 4439a9274bcdSmrgcat >>confdefs.h <<_ACEOF 4440a9274bcdSmrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 4441a9274bcdSmrg_ACEOF 444289d09728Smrg 4443a9274bcdSmrg PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 4444a9274bcdSmrg if test "x$PVM" = "x"; then 4445a9274bcdSmrg PVM="0" 4446a9274bcdSmrg fi 4447a9274bcdSmrg 4448a9274bcdSmrgcat >>confdefs.h <<_ACEOF 4449a9274bcdSmrg#define PACKAGE_VERSION_MINOR $PVM 445089d09728Smrg_ACEOF 445189d09728Smrg 4452a9274bcdSmrg PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 4453a9274bcdSmrg if test "x$PVP" = "x"; then 4454a9274bcdSmrg PVP="0" 4455a9274bcdSmrg fi 4456a9274bcdSmrg 4457a9274bcdSmrgcat >>confdefs.h <<_ACEOF 4458a9274bcdSmrg#define PACKAGE_VERSION_PATCHLEVEL $PVP 4459a9274bcdSmrg_ACEOF 4460a9274bcdSmrg 4461a9274bcdSmrg 4462a9274bcdSmrg 446348af84faSmrgCHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \ 446448af84faSmrgmv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \ 446548af84faSmrg|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \ 4466a9274bcdSmrgecho 'git directory not found: installing possibly empty changelog.' >&2)" 4467a9274bcdSmrg 446848af84faSmrg 446948af84faSmrg 447048af84faSmrg 447148af84faSmrgmacros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros` 447248af84faSmrgINSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \ 447348af84faSmrgmv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \ 447448af84faSmrg|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \ 447548af84faSmrgecho 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)" 447648af84faSmrg 4477a9274bcdSmrg 4478a9274bcdSmrg 4479a9274bcdSmrg 4480a9274bcdSmrg 4481a9274bcdSmrg 4482a9274bcdSmrgif test x$APP_MAN_SUFFIX = x ; then 4483a9274bcdSmrg APP_MAN_SUFFIX=1 448489d09728Smrgfi 4485a9274bcdSmrgif test x$APP_MAN_DIR = x ; then 4486a9274bcdSmrg APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 448789d09728Smrgfi 448889d09728Smrg 4489a9274bcdSmrgif test x$LIB_MAN_SUFFIX = x ; then 4490a9274bcdSmrg LIB_MAN_SUFFIX=3 449189d09728Smrgfi 4492a9274bcdSmrgif test x$LIB_MAN_DIR = x ; then 4493a9274bcdSmrg LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 449489d09728Smrgfi 449589d09728Smrg 4496a9274bcdSmrgif test x$FILE_MAN_SUFFIX = x ; then 4497a9274bcdSmrg case $host_os in 4498a9274bcdSmrg solaris*) FILE_MAN_SUFFIX=4 ;; 4499a9274bcdSmrg *) FILE_MAN_SUFFIX=5 ;; 4500a9274bcdSmrg esac 4501a9274bcdSmrgfi 4502a9274bcdSmrgif test x$FILE_MAN_DIR = x ; then 4503a9274bcdSmrg FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 4504a9274bcdSmrgfi 450589d09728Smrg 4506a9274bcdSmrgif test x$MISC_MAN_SUFFIX = x ; then 4507a9274bcdSmrg case $host_os in 4508a9274bcdSmrg solaris*) MISC_MAN_SUFFIX=5 ;; 4509a9274bcdSmrg *) MISC_MAN_SUFFIX=7 ;; 4510a9274bcdSmrg esac 4511a9274bcdSmrgfi 4512a9274bcdSmrgif test x$MISC_MAN_DIR = x ; then 4513a9274bcdSmrg MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 451489d09728Smrgfi 451589d09728Smrg 4516a9274bcdSmrgif test x$DRIVER_MAN_SUFFIX = x ; then 4517a9274bcdSmrg case $host_os in 4518a9274bcdSmrg solaris*) DRIVER_MAN_SUFFIX=7 ;; 4519a9274bcdSmrg *) DRIVER_MAN_SUFFIX=4 ;; 4520a9274bcdSmrg esac 4521a9274bcdSmrgfi 4522a9274bcdSmrgif test x$DRIVER_MAN_DIR = x ; then 4523a9274bcdSmrg DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 4524a9274bcdSmrgfi 452589d09728Smrg 4526a9274bcdSmrgif test x$ADMIN_MAN_SUFFIX = x ; then 4527a9274bcdSmrg case $host_os in 4528a9274bcdSmrg solaris*) ADMIN_MAN_SUFFIX=1m ;; 4529a9274bcdSmrg *) ADMIN_MAN_SUFFIX=8 ;; 4530a9274bcdSmrg esac 4531a9274bcdSmrgfi 4532a9274bcdSmrgif test x$ADMIN_MAN_DIR = x ; then 4533a9274bcdSmrg ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 453489d09728Smrgfi 453589d09728Smrg 453689d09728Smrg 453789d09728Smrg 453889d09728Smrg 453989d09728Smrg 454089d09728Smrg 4541a9274bcdSmrg 4542a9274bcdSmrg 4543a9274bcdSmrg 4544a9274bcdSmrg 4545a9274bcdSmrg 4546a9274bcdSmrg 4547a9274bcdSmrg 4548a9274bcdSmrg 454989d09728Smrg 455048af84faSmrgXORG_MAN_PAGE="X Version 11" 455148af84faSmrg 455248af84faSmrgMAN_SUBSTS="\ 455348af84faSmrg -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 455448af84faSmrg -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 455548af84faSmrg -e 's|__xservername__|Xorg|g' \ 455648af84faSmrg -e 's|__xconfigfile__|xorg.conf|g' \ 455748af84faSmrg -e 's|__projectroot__|\$(prefix)|g' \ 455848af84faSmrg -e 's|__apploaddir__|\$(appdefaultdir)|g' \ 455948af84faSmrg -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \ 456048af84faSmrg -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \ 456148af84faSmrg -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \ 456248af84faSmrg -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \ 456348af84faSmrg -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \ 456448af84faSmrg -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'" 456548af84faSmrg 456648af84faSmrg 456748af84faSmrg 456848af84faSmrg# Check whether --enable-silent-rules was given. 456948af84faSmrgif test "${enable_silent_rules+set}" = set; then : 457048af84faSmrg enableval=$enable_silent_rules; 457148af84faSmrgfi 457248af84faSmrg 457348af84faSmrgcase $enable_silent_rules in 457448af84faSmrgyes) AM_DEFAULT_VERBOSITY=0;; 457548af84faSmrgno) AM_DEFAULT_VERBOSITY=1;; 457648af84faSmrg*) AM_DEFAULT_VERBOSITY=0;; 457748af84faSmrgesac 457848af84faSmrgAM_BACKSLASH='\' 457948af84faSmrg 458089d09728Smrg 458189d09728Smrg 458289d09728Smrgac_ext=c 458389d09728Smrgac_cpp='$CPP $CPPFLAGS' 458489d09728Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 458589d09728Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 458689d09728Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 458789d09728Smrgif test -n "$ac_tool_prefix"; then 458889d09728Smrg # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 458989d09728Smrgset dummy ${ac_tool_prefix}gcc; ac_word=$2 459048af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 459189d09728Smrg$as_echo_n "checking for $ac_word... " >&6; } 459248af84faSmrgif ${ac_cv_prog_CC+:} false; then : 459389d09728Smrg $as_echo_n "(cached) " >&6 459489d09728Smrgelse 459589d09728Smrg if test -n "$CC"; then 459689d09728Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 459789d09728Smrgelse 459889d09728Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 459989d09728Smrgfor as_dir in $PATH 460089d09728Smrgdo 460189d09728Smrg IFS=$as_save_IFS 460289d09728Smrg test -z "$as_dir" && as_dir=. 460348af84faSmrg for ac_exec_ext in '' $ac_executable_extensions; do 460489d09728Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 460589d09728Smrg ac_cv_prog_CC="${ac_tool_prefix}gcc" 460648af84faSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 460789d09728Smrg break 2 460889d09728Smrg fi 460989d09728Smrgdone 461048af84faSmrg done 461189d09728SmrgIFS=$as_save_IFS 461289d09728Smrg 461389d09728Smrgfi 461489d09728Smrgfi 461589d09728SmrgCC=$ac_cv_prog_CC 461689d09728Smrgif test -n "$CC"; then 461748af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 461889d09728Smrg$as_echo "$CC" >&6; } 461989d09728Smrgelse 462048af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 462189d09728Smrg$as_echo "no" >&6; } 462289d09728Smrgfi 462389d09728Smrg 462489d09728Smrg 462589d09728Smrgfi 462689d09728Smrgif test -z "$ac_cv_prog_CC"; then 462789d09728Smrg ac_ct_CC=$CC 462889d09728Smrg # Extract the first word of "gcc", so it can be a program name with args. 462989d09728Smrgset dummy gcc; ac_word=$2 463048af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 463189d09728Smrg$as_echo_n "checking for $ac_word... " >&6; } 463248af84faSmrgif ${ac_cv_prog_ac_ct_CC+:} false; then : 463389d09728Smrg $as_echo_n "(cached) " >&6 463489d09728Smrgelse 463589d09728Smrg if test -n "$ac_ct_CC"; then 463689d09728Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 463789d09728Smrgelse 463889d09728Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 463989d09728Smrgfor as_dir in $PATH 464089d09728Smrgdo 464189d09728Smrg IFS=$as_save_IFS 464289d09728Smrg test -z "$as_dir" && as_dir=. 464348af84faSmrg for ac_exec_ext in '' $ac_executable_extensions; do 464489d09728Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 464589d09728Smrg ac_cv_prog_ac_ct_CC="gcc" 464648af84faSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 464789d09728Smrg break 2 464889d09728Smrg fi 464989d09728Smrgdone 465048af84faSmrg done 465189d09728SmrgIFS=$as_save_IFS 465289d09728Smrg 465389d09728Smrgfi 465489d09728Smrgfi 465589d09728Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 465689d09728Smrgif test -n "$ac_ct_CC"; then 465748af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 465889d09728Smrg$as_echo "$ac_ct_CC" >&6; } 465989d09728Smrgelse 466048af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 466189d09728Smrg$as_echo "no" >&6; } 466289d09728Smrgfi 466389d09728Smrg 466489d09728Smrg if test "x$ac_ct_CC" = x; then 466589d09728Smrg CC="" 466689d09728Smrg else 466789d09728Smrg case $cross_compiling:$ac_tool_warned in 466889d09728Smrgyes:) 466948af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 467089d09728Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 467189d09728Smrgac_tool_warned=yes ;; 467289d09728Smrgesac 467389d09728Smrg CC=$ac_ct_CC 467489d09728Smrg fi 467589d09728Smrgelse 467689d09728Smrg CC="$ac_cv_prog_CC" 467789d09728Smrgfi 467889d09728Smrg 467989d09728Smrgif test -z "$CC"; then 468089d09728Smrg if test -n "$ac_tool_prefix"; then 468189d09728Smrg # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 468289d09728Smrgset dummy ${ac_tool_prefix}cc; ac_word=$2 468348af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 468489d09728Smrg$as_echo_n "checking for $ac_word... " >&6; } 468548af84faSmrgif ${ac_cv_prog_CC+:} false; then : 468689d09728Smrg $as_echo_n "(cached) " >&6 468789d09728Smrgelse 468889d09728Smrg if test -n "$CC"; then 468989d09728Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 469089d09728Smrgelse 469189d09728Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 469289d09728Smrgfor as_dir in $PATH 469389d09728Smrgdo 469489d09728Smrg IFS=$as_save_IFS 469589d09728Smrg test -z "$as_dir" && as_dir=. 469648af84faSmrg for ac_exec_ext in '' $ac_executable_extensions; do 469789d09728Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 469889d09728Smrg ac_cv_prog_CC="${ac_tool_prefix}cc" 469948af84faSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 470089d09728Smrg break 2 470189d09728Smrg fi 470289d09728Smrgdone 470348af84faSmrg done 470489d09728SmrgIFS=$as_save_IFS 470589d09728Smrg 470689d09728Smrgfi 470789d09728Smrgfi 470889d09728SmrgCC=$ac_cv_prog_CC 470989d09728Smrgif test -n "$CC"; then 471048af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 471189d09728Smrg$as_echo "$CC" >&6; } 471289d09728Smrgelse 471348af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 471489d09728Smrg$as_echo "no" >&6; } 471589d09728Smrgfi 471689d09728Smrg 471789d09728Smrg 471889d09728Smrg fi 471989d09728Smrgfi 472089d09728Smrgif test -z "$CC"; then 472189d09728Smrg # Extract the first word of "cc", so it can be a program name with args. 472289d09728Smrgset dummy cc; ac_word=$2 472348af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 472489d09728Smrg$as_echo_n "checking for $ac_word... " >&6; } 472548af84faSmrgif ${ac_cv_prog_CC+:} false; then : 472689d09728Smrg $as_echo_n "(cached) " >&6 472789d09728Smrgelse 472889d09728Smrg if test -n "$CC"; then 472989d09728Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 473089d09728Smrgelse 473189d09728Smrg ac_prog_rejected=no 473289d09728Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 473389d09728Smrgfor as_dir in $PATH 473489d09728Smrgdo 473589d09728Smrg IFS=$as_save_IFS 473689d09728Smrg test -z "$as_dir" && as_dir=. 473748af84faSmrg for ac_exec_ext in '' $ac_executable_extensions; do 473889d09728Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 473989d09728Smrg if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 474089d09728Smrg ac_prog_rejected=yes 474189d09728Smrg continue 474289d09728Smrg fi 474389d09728Smrg ac_cv_prog_CC="cc" 474448af84faSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 474589d09728Smrg break 2 474689d09728Smrg fi 474789d09728Smrgdone 474848af84faSmrg done 474989d09728SmrgIFS=$as_save_IFS 475089d09728Smrg 475189d09728Smrgif test $ac_prog_rejected = yes; then 475289d09728Smrg # We found a bogon in the path, so make sure we never use it. 475389d09728Smrg set dummy $ac_cv_prog_CC 475489d09728Smrg shift 475589d09728Smrg if test $# != 0; then 475689d09728Smrg # We chose a different compiler from the bogus one. 475789d09728Smrg # However, it has the same basename, so the bogon will be chosen 475889d09728Smrg # first if we set CC to just the basename; use the full file name. 475989d09728Smrg shift 476089d09728Smrg ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 476189d09728Smrg fi 476289d09728Smrgfi 476389d09728Smrgfi 476489d09728Smrgfi 476589d09728SmrgCC=$ac_cv_prog_CC 476689d09728Smrgif test -n "$CC"; then 476748af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 476889d09728Smrg$as_echo "$CC" >&6; } 476989d09728Smrgelse 477048af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 477189d09728Smrg$as_echo "no" >&6; } 477289d09728Smrgfi 477389d09728Smrg 477489d09728Smrg 477589d09728Smrgfi 477689d09728Smrgif test -z "$CC"; then 477789d09728Smrg if test -n "$ac_tool_prefix"; then 477889d09728Smrg for ac_prog in cl.exe 477989d09728Smrg do 478089d09728Smrg # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 478189d09728Smrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2 478248af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 478389d09728Smrg$as_echo_n "checking for $ac_word... " >&6; } 478448af84faSmrgif ${ac_cv_prog_CC+:} false; then : 478589d09728Smrg $as_echo_n "(cached) " >&6 478689d09728Smrgelse 478789d09728Smrg if test -n "$CC"; then 478889d09728Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 478989d09728Smrgelse 479089d09728Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 479189d09728Smrgfor as_dir in $PATH 479289d09728Smrgdo 479389d09728Smrg IFS=$as_save_IFS 479489d09728Smrg test -z "$as_dir" && as_dir=. 479548af84faSmrg for ac_exec_ext in '' $ac_executable_extensions; do 479689d09728Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 479789d09728Smrg ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 479848af84faSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 479989d09728Smrg break 2 480089d09728Smrg fi 480189d09728Smrgdone 480248af84faSmrg done 480389d09728SmrgIFS=$as_save_IFS 480489d09728Smrg 480589d09728Smrgfi 480689d09728Smrgfi 480789d09728SmrgCC=$ac_cv_prog_CC 480889d09728Smrgif test -n "$CC"; then 480948af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 481089d09728Smrg$as_echo "$CC" >&6; } 481189d09728Smrgelse 481248af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 481389d09728Smrg$as_echo "no" >&6; } 481489d09728Smrgfi 481589d09728Smrg 481689d09728Smrg 481789d09728Smrg test -n "$CC" && break 481889d09728Smrg done 481989d09728Smrgfi 482089d09728Smrgif test -z "$CC"; then 482189d09728Smrg ac_ct_CC=$CC 482289d09728Smrg for ac_prog in cl.exe 482389d09728Smrgdo 482489d09728Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 482589d09728Smrgset dummy $ac_prog; ac_word=$2 482648af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 482789d09728Smrg$as_echo_n "checking for $ac_word... " >&6; } 482848af84faSmrgif ${ac_cv_prog_ac_ct_CC+:} false; then : 482989d09728Smrg $as_echo_n "(cached) " >&6 483089d09728Smrgelse 483189d09728Smrg if test -n "$ac_ct_CC"; then 483289d09728Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 483389d09728Smrgelse 483489d09728Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 483589d09728Smrgfor as_dir in $PATH 483689d09728Smrgdo 483789d09728Smrg IFS=$as_save_IFS 483889d09728Smrg test -z "$as_dir" && as_dir=. 483948af84faSmrg for ac_exec_ext in '' $ac_executable_extensions; do 484089d09728Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 484189d09728Smrg ac_cv_prog_ac_ct_CC="$ac_prog" 484248af84faSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 484389d09728Smrg break 2 484489d09728Smrg fi 484589d09728Smrgdone 484648af84faSmrg done 484789d09728SmrgIFS=$as_save_IFS 484889d09728Smrg 484989d09728Smrgfi 485089d09728Smrgfi 485189d09728Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 485289d09728Smrgif test -n "$ac_ct_CC"; then 485348af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 485489d09728Smrg$as_echo "$ac_ct_CC" >&6; } 485589d09728Smrgelse 485648af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 485789d09728Smrg$as_echo "no" >&6; } 485889d09728Smrgfi 485989d09728Smrg 486089d09728Smrg 486189d09728Smrg test -n "$ac_ct_CC" && break 486289d09728Smrgdone 486389d09728Smrg 486489d09728Smrg if test "x$ac_ct_CC" = x; then 486589d09728Smrg CC="" 486689d09728Smrg else 486789d09728Smrg case $cross_compiling:$ac_tool_warned in 486889d09728Smrgyes:) 486948af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 487089d09728Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 487189d09728Smrgac_tool_warned=yes ;; 487289d09728Smrgesac 487389d09728Smrg CC=$ac_ct_CC 487489d09728Smrg fi 487589d09728Smrgfi 487689d09728Smrg 487789d09728Smrgfi 487889d09728Smrg 487989d09728Smrg 488048af84faSmrgtest -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 488189d09728Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 488248af84faSmrgas_fn_error $? "no acceptable C compiler found in \$PATH 488348af84faSmrgSee \`config.log' for more details" "$LINENO" 5; } 488489d09728Smrg 488589d09728Smrg# Provide some information about the compiler. 488648af84faSmrg$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 488789d09728Smrgset X $ac_compile 488889d09728Smrgac_compiler=$2 488948af84faSmrgfor ac_option in --version -v -V -qversion; do 489048af84faSmrg { { ac_try="$ac_compiler $ac_option >&5" 4891a9274bcdSmrgcase "(($ac_try" in 4892a9274bcdSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4893a9274bcdSmrg *) ac_try_echo=$ac_try;; 4894a9274bcdSmrgesac 489548af84faSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 489648af84faSmrg$as_echo "$ac_try_echo"; } >&5 489748af84faSmrg (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4898a9274bcdSmrg ac_status=$? 489948af84faSmrg if test -s conftest.err; then 490048af84faSmrg sed '10a\ 490148af84faSmrg... rest of stderr output deleted ... 490248af84faSmrg 10q' conftest.err >conftest.er1 490348af84faSmrg cat conftest.er1 >&5 490448af84faSmrg fi 490548af84faSmrg rm -f conftest.er1 conftest.err 490648af84faSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 490748af84faSmrg test $ac_status = 0; } 490848af84faSmrgdone 490989d09728Smrg 491048af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 491189d09728Smrg$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 491248af84faSmrgif ${ac_cv_c_compiler_gnu+:} false; then : 491389d09728Smrg $as_echo_n "(cached) " >&6 491489d09728Smrgelse 491548af84faSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 491689d09728Smrg/* end confdefs.h. */ 491789d09728Smrg 491889d09728Smrgint 491989d09728Smrgmain () 492089d09728Smrg{ 492189d09728Smrg#ifndef __GNUC__ 492289d09728Smrg choke me 492389d09728Smrg#endif 492489d09728Smrg 492589d09728Smrg ; 492689d09728Smrg return 0; 492789d09728Smrg} 492889d09728Smrg_ACEOF 492948af84faSmrgif ac_fn_c_try_compile "$LINENO"; then : 493089d09728Smrg ac_compiler_gnu=yes 493189d09728Smrgelse 493248af84faSmrg ac_compiler_gnu=no 493389d09728Smrgfi 493489d09728Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 493589d09728Smrgac_cv_c_compiler_gnu=$ac_compiler_gnu 493689d09728Smrg 493789d09728Smrgfi 493848af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 493989d09728Smrg$as_echo "$ac_cv_c_compiler_gnu" >&6; } 494089d09728Smrgif test $ac_compiler_gnu = yes; then 494189d09728Smrg GCC=yes 494289d09728Smrgelse 494389d09728Smrg GCC= 494489d09728Smrgfi 494589d09728Smrgac_test_CFLAGS=${CFLAGS+set} 494689d09728Smrgac_save_CFLAGS=$CFLAGS 494748af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 494889d09728Smrg$as_echo_n "checking whether $CC accepts -g... " >&6; } 494948af84faSmrgif ${ac_cv_prog_cc_g+:} false; then : 495089d09728Smrg $as_echo_n "(cached) " >&6 495189d09728Smrgelse 495289d09728Smrg ac_save_c_werror_flag=$ac_c_werror_flag 495389d09728Smrg ac_c_werror_flag=yes 495489d09728Smrg ac_cv_prog_cc_g=no 495589d09728Smrg CFLAGS="-g" 495648af84faSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 495789d09728Smrg/* end confdefs.h. */ 495889d09728Smrg 495989d09728Smrgint 496089d09728Smrgmain () 496189d09728Smrg{ 496289d09728Smrg 496389d09728Smrg ; 496489d09728Smrg return 0; 496589d09728Smrg} 496689d09728Smrg_ACEOF 496748af84faSmrgif ac_fn_c_try_compile "$LINENO"; then : 496889d09728Smrg ac_cv_prog_cc_g=yes 496989d09728Smrgelse 497048af84faSmrg CFLAGS="" 497148af84faSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 497289d09728Smrg/* end confdefs.h. */ 497389d09728Smrg 497489d09728Smrgint 497589d09728Smrgmain () 497689d09728Smrg{ 497789d09728Smrg 497889d09728Smrg ; 497989d09728Smrg return 0; 498089d09728Smrg} 498189d09728Smrg_ACEOF 498248af84faSmrgif ac_fn_c_try_compile "$LINENO"; then : 4983a9274bcdSmrg 498448af84faSmrgelse 498548af84faSmrg ac_c_werror_flag=$ac_save_c_werror_flag 498689d09728Smrg CFLAGS="-g" 498748af84faSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 498889d09728Smrg/* end confdefs.h. */ 498989d09728Smrg 499089d09728Smrgint 499189d09728Smrgmain () 499289d09728Smrg{ 499389d09728Smrg 499489d09728Smrg ; 499589d09728Smrg return 0; 499689d09728Smrg} 499789d09728Smrg_ACEOF 499848af84faSmrgif ac_fn_c_try_compile "$LINENO"; then : 499989d09728Smrg ac_cv_prog_cc_g=yes 500089d09728Smrgfi 500189d09728Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 500289d09728Smrgfi 500389d09728Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 500489d09728Smrgfi 500589d09728Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 500689d09728Smrg ac_c_werror_flag=$ac_save_c_werror_flag 500789d09728Smrgfi 500848af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 500989d09728Smrg$as_echo "$ac_cv_prog_cc_g" >&6; } 501089d09728Smrgif test "$ac_test_CFLAGS" = set; then 501189d09728Smrg CFLAGS=$ac_save_CFLAGS 501289d09728Smrgelif test $ac_cv_prog_cc_g = yes; then 501389d09728Smrg if test "$GCC" = yes; then 501489d09728Smrg CFLAGS="-g -O2" 501589d09728Smrg else 501689d09728Smrg CFLAGS="-g" 501789d09728Smrg fi 501889d09728Smrgelse 501989d09728Smrg if test "$GCC" = yes; then 502089d09728Smrg CFLAGS="-O2" 502189d09728Smrg else 502289d09728Smrg CFLAGS= 502389d09728Smrg fi 502489d09728Smrgfi 502548af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 502689d09728Smrg$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 502748af84faSmrgif ${ac_cv_prog_cc_c89+:} false; then : 502889d09728Smrg $as_echo_n "(cached) " >&6 502989d09728Smrgelse 503089d09728Smrg ac_cv_prog_cc_c89=no 503189d09728Smrgac_save_CC=$CC 503248af84faSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 503389d09728Smrg/* end confdefs.h. */ 503489d09728Smrg#include <stdarg.h> 503589d09728Smrg#include <stdio.h> 503689d09728Smrg#include <sys/types.h> 503789d09728Smrg#include <sys/stat.h> 503889d09728Smrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 503989d09728Smrgstruct buf { int x; }; 504089d09728SmrgFILE * (*rcsopen) (struct buf *, struct stat *, int); 504189d09728Smrgstatic char *e (p, i) 504289d09728Smrg char **p; 504389d09728Smrg int i; 504489d09728Smrg{ 504589d09728Smrg return p[i]; 504689d09728Smrg} 504789d09728Smrgstatic char *f (char * (*g) (char **, int), char **p, ...) 504889d09728Smrg{ 504989d09728Smrg char *s; 505089d09728Smrg va_list v; 505189d09728Smrg va_start (v,p); 505289d09728Smrg s = g (p, va_arg (v,int)); 505389d09728Smrg va_end (v); 505489d09728Smrg return s; 505589d09728Smrg} 505689d09728Smrg 505789d09728Smrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 505889d09728Smrg function prototypes and stuff, but not '\xHH' hex character constants. 505989d09728Smrg These don't provoke an error unfortunately, instead are silently treated 506089d09728Smrg as 'x'. The following induces an error, until -std is added to get 506189d09728Smrg proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 506289d09728Smrg array size at least. It's necessary to write '\x00'==0 to get something 506389d09728Smrg that's true only with -std. */ 506489d09728Smrgint osf4_cc_array ['\x00' == 0 ? 1 : -1]; 506589d09728Smrg 506689d09728Smrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 506789d09728Smrg inside strings and character constants. */ 506889d09728Smrg#define FOO(x) 'x' 506989d09728Smrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 507089d09728Smrg 507189d09728Smrgint test (int i, double x); 507289d09728Smrgstruct s1 {int (*f) (int a);}; 507389d09728Smrgstruct s2 {int (*f) (double a);}; 507489d09728Smrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 507589d09728Smrgint argc; 507689d09728Smrgchar **argv; 507789d09728Smrgint 507889d09728Smrgmain () 507989d09728Smrg{ 508089d09728Smrgreturn f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 508189d09728Smrg ; 508289d09728Smrg return 0; 508389d09728Smrg} 508489d09728Smrg_ACEOF 508589d09728Smrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 508689d09728Smrg -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 508789d09728Smrgdo 508889d09728Smrg CC="$ac_save_CC $ac_arg" 508948af84faSmrg if ac_fn_c_try_compile "$LINENO"; then : 509089d09728Smrg ac_cv_prog_cc_c89=$ac_arg 509189d09728Smrgfi 509289d09728Smrgrm -f core conftest.err conftest.$ac_objext 509389d09728Smrg test "x$ac_cv_prog_cc_c89" != "xno" && break 509489d09728Smrgdone 509589d09728Smrgrm -f conftest.$ac_ext 509689d09728SmrgCC=$ac_save_CC 509789d09728Smrg 509889d09728Smrgfi 509989d09728Smrg# AC_CACHE_VAL 510089d09728Smrgcase "x$ac_cv_prog_cc_c89" in 510189d09728Smrg x) 510248af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 510389d09728Smrg$as_echo "none needed" >&6; } ;; 510489d09728Smrg xno) 510548af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 510689d09728Smrg$as_echo "unsupported" >&6; } ;; 510789d09728Smrg *) 510889d09728Smrg CC="$CC $ac_cv_prog_cc_c89" 510948af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 511089d09728Smrg$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 511189d09728Smrgesac 511248af84faSmrgif test "x$ac_cv_prog_cc_c89" != xno; then : 511389d09728Smrg 511448af84faSmrgfi 511589d09728Smrg 511689d09728Smrgac_ext=c 511789d09728Smrgac_cpp='$CPP $CPPFLAGS' 511889d09728Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 511989d09728Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 512089d09728Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 512189d09728Smrg 512289d09728Smrgdepcc="$CC" am_compiler_list= 512389d09728Smrg 512448af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 512589d09728Smrg$as_echo_n "checking dependency style of $depcc... " >&6; } 512648af84faSmrgif ${am_cv_CC_dependencies_compiler_type+:} false; then : 512789d09728Smrg $as_echo_n "(cached) " >&6 512889d09728Smrgelse 512989d09728Smrg if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 513089d09728Smrg # We make a subdir and do the tests there. Otherwise we can end up 513189d09728Smrg # making bogus files that we don't know about and never remove. For 513289d09728Smrg # instance it was reported that on HP-UX the gcc test will end up 513389d09728Smrg # making a dummy file named `D' -- because `-MD' means `put the output 513489d09728Smrg # in D'. 513589d09728Smrg mkdir conftest.dir 513689d09728Smrg # Copy depcomp to subdir because otherwise we won't find it if we're 513789d09728Smrg # using a relative directory. 513889d09728Smrg cp "$am_depcomp" conftest.dir 513989d09728Smrg cd conftest.dir 514089d09728Smrg # We will build objects and dependencies in a subdirectory because 514189d09728Smrg # it helps to detect inapplicable dependency modes. For instance 514289d09728Smrg # both Tru64's cc and ICC support -MD to output dependencies as a 514389d09728Smrg # side effect of compilation, but ICC will put the dependencies in 514489d09728Smrg # the current directory while Tru64 will put them in the object 514589d09728Smrg # directory. 514689d09728Smrg mkdir sub 514789d09728Smrg 514889d09728Smrg am_cv_CC_dependencies_compiler_type=none 514989d09728Smrg if test "$am_compiler_list" = ""; then 515089d09728Smrg am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 515189d09728Smrg fi 5152a9274bcdSmrg am__universal=false 5153a9274bcdSmrg case " $depcc " in #( 5154a9274bcdSmrg *\ -arch\ *\ -arch\ *) am__universal=true ;; 5155a9274bcdSmrg esac 5156a9274bcdSmrg 515789d09728Smrg for depmode in $am_compiler_list; do 515889d09728Smrg # Setup a source with many dependencies, because some compilers 515989d09728Smrg # like to wrap large dependency lists on column 80 (with \), and 516089d09728Smrg # we should not choose a depcomp mode which is confused by this. 516189d09728Smrg # 516289d09728Smrg # We need to recreate these files for each test, as the compiler may 516389d09728Smrg # overwrite some of them when testing with obscure command lines. 516489d09728Smrg # This happens at least with the AIX C compiler. 516589d09728Smrg : > sub/conftest.c 516689d09728Smrg for i in 1 2 3 4 5 6; do 516789d09728Smrg echo '#include "conftst'$i'.h"' >> sub/conftest.c 516889d09728Smrg # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 516989d09728Smrg # Solaris 8's {/usr,}/bin/sh. 517089d09728Smrg touch sub/conftst$i.h 517166fe65f6Smrg done 517289d09728Smrg echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 517366fe65f6Smrg 5174a9274bcdSmrg # We check with `-c' and `-o' for the sake of the "dashmstdout" 5175a9274bcdSmrg # mode. It turns out that the SunPro C++ compiler does not properly 5176a9274bcdSmrg # handle `-M -o', and we need to detect this. Also, some Intel 5177a9274bcdSmrg # versions had trouble with output in subdirs 5178a9274bcdSmrg am__obj=sub/conftest.${OBJEXT-o} 5179a9274bcdSmrg am__minus_obj="-o $am__obj" 518089d09728Smrg case $depmode in 5181a9274bcdSmrg gcc) 5182a9274bcdSmrg # This depmode causes a compiler race in universal mode. 5183a9274bcdSmrg test "$am__universal" = false || continue 5184a9274bcdSmrg ;; 518589d09728Smrg nosideeffect) 518689d09728Smrg # after this tag, mechanisms are not by side-effect, so they'll 518789d09728Smrg # only be used when explicitly requested 518889d09728Smrg if test "x$enable_dependency_tracking" = xyes; then 518989d09728Smrg continue 519089d09728Smrg else 519189d09728Smrg break 519289d09728Smrg fi 519389d09728Smrg ;; 5194a9274bcdSmrg msvisualcpp | msvcmsys) 5195a9274bcdSmrg # This compiler won't grok `-c -o', but also, the minuso test has 5196a9274bcdSmrg # not run yet. These depmodes are late enough in the game, and 5197a9274bcdSmrg # so weak that their functioning should not be impacted. 5198a9274bcdSmrg am__obj=conftest.${OBJEXT-o} 5199a9274bcdSmrg am__minus_obj= 5200a9274bcdSmrg ;; 520189d09728Smrg none) break ;; 520289d09728Smrg esac 520389d09728Smrg if depmode=$depmode \ 5204a9274bcdSmrg source=sub/conftest.c object=$am__obj \ 520589d09728Smrg depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 5206a9274bcdSmrg $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 520789d09728Smrg >/dev/null 2>conftest.err && 520889d09728Smrg grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 520989d09728Smrg grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 5210a9274bcdSmrg grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 521189d09728Smrg ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 521289d09728Smrg # icc doesn't choke on unknown options, it will just issue warnings 521389d09728Smrg # or remarks (even with -Werror). So we grep stderr for any message 521489d09728Smrg # that says an option was ignored or not supported. 521589d09728Smrg # When given -MP, icc 7.0 and 7.1 complain thusly: 521689d09728Smrg # icc: Command line warning: ignoring option '-M'; no argument required 521789d09728Smrg # The diagnosis changed in icc 8.0: 521889d09728Smrg # icc: Command line remark: option '-MP' not supported 521989d09728Smrg if (grep 'ignoring option' conftest.err || 522089d09728Smrg grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 522189d09728Smrg am_cv_CC_dependencies_compiler_type=$depmode 522289d09728Smrg break 522389d09728Smrg fi 522489d09728Smrg fi 522589d09728Smrg done 522666fe65f6Smrg 522789d09728Smrg cd .. 522889d09728Smrg rm -rf conftest.dir 522948af84faSmrgelse 523048af84faSmrg am_cv_CC_dependencies_compiler_type=none 523166fe65f6Smrgfi 523248af84faSmrg 523389d09728Smrgfi 523448af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 523548af84faSmrg$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 523648af84faSmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 523789d09728Smrg 523848af84faSmrg if 523948af84faSmrg test "x$enable_dependency_tracking" != xno \ 524048af84faSmrg && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 524148af84faSmrg am__fastdepCC_TRUE= 524248af84faSmrg am__fastdepCC_FALSE='#' 524348af84faSmrgelse 524448af84faSmrg am__fastdepCC_TRUE='#' 524548af84faSmrg am__fastdepCC_FALSE= 524648af84faSmrgfi 524789d09728Smrg 524889d09728Smrg 524989d09728Smrg 525066fe65f6Smrg 525148af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for root directory for font files" >&5 5252a9274bcdSmrg$as_echo_n "checking for root directory for font files... " >&6; } 5253a9274bcdSmrgfontrootdir='${datadir}/fonts/X11' 525489d09728Smrg 5255a9274bcdSmrg# Check whether --with-fontrootdir was given. 525648af84faSmrgif test "${with_fontrootdir+set}" = set; then : 5257a9274bcdSmrg withval=$with_fontrootdir; fontrootdir="${withval}" 5258a9274bcdSmrgfi 525989d09728Smrg 526089d09728Smrg 526148af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${fontrootdir}" >&5 5262a9274bcdSmrg$as_echo "${fontrootdir}" >&6; } 526389d09728Smrg 5264a9274bcdSmrgmapdir='${fontrootdir}/util' 526589d09728Smrg 5266a9274bcdSmrg# Check whether --with-mapdir was given. 526748af84faSmrgif test "${with_mapdir+set}" = set; then : 5268a9274bcdSmrg withval=$with_mapdir; mapdir="${withval}" 5269a9274bcdSmrgfi 5270a9274bcdSmrg 5271a9274bcdSmrgMAPDIR="$mapdir" 527289d09728Smrg 527389d09728Smrg 527448af84faSmrgac_config_files="$ac_config_files Makefile man/Makefile fontutil.m4 fontutil.pc" 527548af84faSmrg 527666fe65f6Smrg 527766fe65f6Smrgcat >confcache <<\_ACEOF 527866fe65f6Smrg# This file is a shell script that caches the results of configure 527966fe65f6Smrg# tests run on this system so they can be shared between configure 528066fe65f6Smrg# scripts and configure runs, see configure's option --config-cache. 528166fe65f6Smrg# It is not useful on other systems. If it contains results you don't 528266fe65f6Smrg# want to keep, you may remove or edit it. 528366fe65f6Smrg# 528466fe65f6Smrg# config.status only pays attention to the cache file if you give it 528566fe65f6Smrg# the --recheck option to rerun configure. 528666fe65f6Smrg# 528766fe65f6Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when 528866fe65f6Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the 528966fe65f6Smrg# following values. 529066fe65f6Smrg 529166fe65f6Smrg_ACEOF 529266fe65f6Smrg 529366fe65f6Smrg# The following way of writing the cache mishandles newlines in values, 529466fe65f6Smrg# but we know of no workaround that is simple, portable, and efficient. 529589d09728Smrg# So, we kill variables containing newlines. 529666fe65f6Smrg# Ultrix sh set writes to stderr and can't be redirected directly, 529766fe65f6Smrg# and sets the high bit in the cache file unless we assign to the vars. 529889d09728Smrg( 529989d09728Smrg for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 530089d09728Smrg eval ac_val=\$$ac_var 530189d09728Smrg case $ac_val in #( 530289d09728Smrg *${as_nl}*) 530389d09728Smrg case $ac_var in #( 530448af84faSmrg *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 530589d09728Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 530689d09728Smrg esac 530789d09728Smrg case $ac_var in #( 530889d09728Smrg _ | IFS | as_nl) ;; #( 530989d09728Smrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 531048af84faSmrg *) { eval $ac_var=; unset $ac_var;} ;; 531189d09728Smrg esac ;; 531289d09728Smrg esac 531389d09728Smrg done 531489d09728Smrg 531566fe65f6Smrg (set) 2>&1 | 531689d09728Smrg case $as_nl`(ac_space=' '; set) 2>&1` in #( 531789d09728Smrg *${as_nl}ac_space=\ *) 531848af84faSmrg # `set' does not quote correctly, so add quotes: double-quote 531948af84faSmrg # substitution turns \\\\ into \\, and sed turns \\ into \. 532066fe65f6Smrg sed -n \ 532166fe65f6Smrg "s/'/'\\\\''/g; 532266fe65f6Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 532389d09728Smrg ;; #( 532466fe65f6Smrg *) 532566fe65f6Smrg # `set' quotes correctly as required by POSIX, so do not add quotes. 532689d09728Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 532766fe65f6Smrg ;; 532889d09728Smrg esac | 532989d09728Smrg sort 533089d09728Smrg) | 533166fe65f6Smrg sed ' 533289d09728Smrg /^ac_cv_env_/b end 533366fe65f6Smrg t clear 533489d09728Smrg :clear 533566fe65f6Smrg s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 533666fe65f6Smrg t end 533789d09728Smrg s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 533889d09728Smrg :end' >>confcache 533989d09728Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 534089d09728Smrg if test -w "$cache_file"; then 534148af84faSmrg if test "x$cache_file" != "x/dev/null"; then 534248af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 534389d09728Smrg$as_echo "$as_me: updating cache $cache_file" >&6;} 534448af84faSmrg if test ! -f "$cache_file" || test -h "$cache_file"; then 534548af84faSmrg cat confcache >"$cache_file" 534648af84faSmrg else 534748af84faSmrg case $cache_file in #( 534848af84faSmrg */* | ?:*) 534948af84faSmrg mv -f confcache "$cache_file"$$ && 535048af84faSmrg mv -f "$cache_file"$$ "$cache_file" ;; #( 535148af84faSmrg *) 535248af84faSmrg mv -f confcache "$cache_file" ;; 535348af84faSmrg esac 535448af84faSmrg fi 535548af84faSmrg fi 535666fe65f6Smrg else 535748af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 535889d09728Smrg$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 535966fe65f6Smrg fi 536066fe65f6Smrgfi 536166fe65f6Smrgrm -f confcache 536266fe65f6Smrg 536366fe65f6Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix 536466fe65f6Smrg# Let make expand exec_prefix. 536566fe65f6Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 536666fe65f6Smrg 536766fe65f6SmrgDEFS=-DHAVE_CONFIG_H 536866fe65f6Smrg 536966fe65f6Smrgac_libobjs= 537066fe65f6Smrgac_ltlibobjs= 537148af84faSmrgU= 537266fe65f6Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 537366fe65f6Smrg # 1. Remove the extension, and $U if already installed. 537489d09728Smrg ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 537589d09728Smrg ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 537689d09728Smrg # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 537789d09728Smrg # will be set to the directory where LIBOBJS objects are built. 537848af84faSmrg as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 537948af84faSmrg as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 538066fe65f6Smrgdone 538166fe65f6SmrgLIBOBJS=$ac_libobjs 538266fe65f6Smrg 538366fe65f6SmrgLTLIBOBJS=$ac_ltlibobjs 538466fe65f6Smrg 538566fe65f6Smrg 5386a9274bcdSmrg if test -n "$EXEEXT"; then 5387a9274bcdSmrg am__EXEEXT_TRUE= 5388a9274bcdSmrg am__EXEEXT_FALSE='#' 5389a9274bcdSmrgelse 5390a9274bcdSmrg am__EXEEXT_TRUE='#' 5391a9274bcdSmrg am__EXEEXT_FALSE= 5392a9274bcdSmrgfi 5393a9274bcdSmrg 539466fe65f6Smrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 539548af84faSmrg as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 539648af84faSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 539766fe65f6Smrgfi 539866fe65f6Smrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 539948af84faSmrg as_fn_error $? "conditional \"AMDEP\" was never defined. 540048af84faSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 540189d09728Smrgfi 540289d09728Smrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 540348af84faSmrg as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 540448af84faSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 540566fe65f6Smrgfi 540666fe65f6Smrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 540748af84faSmrg as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 540848af84faSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 540966fe65f6Smrgfi 541066fe65f6Smrg 541148af84faSmrg: "${CONFIG_STATUS=./config.status}" 541289d09728Smrgac_write_fail=0 541366fe65f6Smrgac_clean_files_save=$ac_clean_files 541466fe65f6Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS" 541548af84faSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 541689d09728Smrg$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 541748af84faSmrgas_write_fail=0 541848af84faSmrgcat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 541966fe65f6Smrg#! $SHELL 542066fe65f6Smrg# Generated by $as_me. 542166fe65f6Smrg# Run this file to recreate the current configuration. 542266fe65f6Smrg# Compiler output produced by configure, useful for debugging 542366fe65f6Smrg# configure, is in config.log if it exists. 542466fe65f6Smrg 542566fe65f6Smrgdebug=false 542666fe65f6Smrgac_cs_recheck=false 542766fe65f6Smrgac_cs_silent=false 5428a9274bcdSmrg 542948af84faSmrgSHELL=\${CONFIG_SHELL-$SHELL} 543048af84faSmrgexport SHELL 543148af84faSmrg_ASEOF 543248af84faSmrgcat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 543348af84faSmrg## -------------------- ## 543448af84faSmrg## M4sh Initialization. ## 543548af84faSmrg## -------------------- ## 543689d09728Smrg 543789d09728Smrg# Be more Bourne compatible 543889d09728SmrgDUALCASE=1; export DUALCASE # for MKS sh 543948af84faSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 544066fe65f6Smrg emulate sh 544166fe65f6Smrg NULLCMD=: 544289d09728Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 544366fe65f6Smrg # is contrary to our usage. Disable this feature. 544466fe65f6Smrg alias -g '${1+"$@"}'='"$@"' 544589d09728Smrg setopt NO_GLOB_SUBST 544689d09728Smrgelse 544748af84faSmrg case `(set -o) 2>/dev/null` in #( 544848af84faSmrg *posix*) : 544948af84faSmrg set -o posix ;; #( 545048af84faSmrg *) : 545148af84faSmrg ;; 545289d09728Smrgesac 545366fe65f6Smrgfi 545466fe65f6Smrg 545589d09728Smrg 545689d09728Smrgas_nl=' 545789d09728Smrg' 545889d09728Smrgexport as_nl 545989d09728Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 546089d09728Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 546189d09728Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 546289d09728Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 546348af84faSmrg# Prefer a ksh shell builtin over an external printf program on Solaris, 546448af84faSmrg# but without wasting forks for bash or zsh. 546548af84faSmrgif test -z "$BASH_VERSION$ZSH_VERSION" \ 546648af84faSmrg && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 546748af84faSmrg as_echo='print -r --' 546848af84faSmrg as_echo_n='print -rn --' 546948af84faSmrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 547089d09728Smrg as_echo='printf %s\n' 547189d09728Smrg as_echo_n='printf %s' 547266fe65f6Smrgelse 547389d09728Smrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 547489d09728Smrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 547589d09728Smrg as_echo_n='/usr/ucb/echo -n' 547689d09728Smrg else 547789d09728Smrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 547889d09728Smrg as_echo_n_body='eval 547989d09728Smrg arg=$1; 548048af84faSmrg case $arg in #( 548189d09728Smrg *"$as_nl"*) 548289d09728Smrg expr "X$arg" : "X\\(.*\\)$as_nl"; 548389d09728Smrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 548489d09728Smrg esac; 548589d09728Smrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 548689d09728Smrg ' 548789d09728Smrg export as_echo_n_body 548889d09728Smrg as_echo_n='sh -c $as_echo_n_body as_echo' 548989d09728Smrg fi 549089d09728Smrg export as_echo_body 549189d09728Smrg as_echo='sh -c $as_echo_body as_echo' 549289d09728Smrgfi 549389d09728Smrg 549489d09728Smrg# The user is always right. 549589d09728Smrgif test "${PATH_SEPARATOR+set}" != set; then 549689d09728Smrg PATH_SEPARATOR=: 549789d09728Smrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 549889d09728Smrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 549989d09728Smrg PATH_SEPARATOR=';' 550089d09728Smrg } 550166fe65f6Smrgfi 550266fe65f6Smrg 550366fe65f6Smrg 550489d09728Smrg# IFS 550589d09728Smrg# We need space, tab and new line, in precisely that order. Quoting is 550689d09728Smrg# there to prevent editors from complaining about space-tab. 550789d09728Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 550889d09728Smrg# splitting by setting IFS to empty value.) 550989d09728SmrgIFS=" "" $as_nl" 551089d09728Smrg 551189d09728Smrg# Find who we are. Look in the path if we contain no directory separator. 551248af84faSmrgas_myself= 551348af84faSmrgcase $0 in #(( 551489d09728Smrg *[\\/]* ) as_myself=$0 ;; 551589d09728Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 551689d09728Smrgfor as_dir in $PATH 551789d09728Smrgdo 551889d09728Smrg IFS=$as_save_IFS 551989d09728Smrg test -z "$as_dir" && as_dir=. 552048af84faSmrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 552148af84faSmrg done 552289d09728SmrgIFS=$as_save_IFS 552389d09728Smrg 552489d09728Smrg ;; 552589d09728Smrgesac 552689d09728Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 552789d09728Smrg# in which case we are not to be found in the path. 552889d09728Smrgif test "x$as_myself" = x; then 552989d09728Smrg as_myself=$0 553089d09728Smrgfi 553189d09728Smrgif test ! -f "$as_myself"; then 553289d09728Smrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 553348af84faSmrg exit 1 553489d09728Smrgfi 553589d09728Smrg 553648af84faSmrg# Unset variables that we do not need and which cause bugs (e.g. in 553748af84faSmrg# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 553848af84faSmrg# suppresses any "Segmentation fault" message there. '((' could 553948af84faSmrg# trigger a bug in pdksh 5.2.14. 554048af84faSmrgfor as_var in BASH_ENV ENV MAIL MAILPATH 554148af84faSmrgdo eval test x\${$as_var+set} = xset \ 554248af84faSmrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 554389d09728Smrgdone 554466fe65f6SmrgPS1='$ ' 554566fe65f6SmrgPS2='> ' 554666fe65f6SmrgPS4='+ ' 554766fe65f6Smrg 554866fe65f6Smrg# NLS nuisances. 554989d09728SmrgLC_ALL=C 555089d09728Smrgexport LC_ALL 555189d09728SmrgLANGUAGE=C 555289d09728Smrgexport LANGUAGE 555389d09728Smrg 555448af84faSmrg# CDPATH. 555548af84faSmrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 555648af84faSmrg 555748af84faSmrg 555848af84faSmrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 555948af84faSmrg# ---------------------------------------- 556048af84faSmrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 556148af84faSmrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 556248af84faSmrg# script with STATUS, using 1 if that was 0. 556348af84faSmrgas_fn_error () 556448af84faSmrg{ 556548af84faSmrg as_status=$1; test $as_status -eq 0 && as_status=1 556648af84faSmrg if test "$4"; then 556748af84faSmrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 556848af84faSmrg $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 556948af84faSmrg fi 557048af84faSmrg $as_echo "$as_me: error: $2" >&2 557148af84faSmrg as_fn_exit $as_status 557248af84faSmrg} # as_fn_error 557348af84faSmrg 557448af84faSmrg 557548af84faSmrg# as_fn_set_status STATUS 557648af84faSmrg# ----------------------- 557748af84faSmrg# Set $? to STATUS, without forking. 557848af84faSmrgas_fn_set_status () 557948af84faSmrg{ 558048af84faSmrg return $1 558148af84faSmrg} # as_fn_set_status 558248af84faSmrg 558348af84faSmrg# as_fn_exit STATUS 558448af84faSmrg# ----------------- 558548af84faSmrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 558648af84faSmrgas_fn_exit () 558748af84faSmrg{ 558848af84faSmrg set +e 558948af84faSmrg as_fn_set_status $1 559048af84faSmrg exit $1 559148af84faSmrg} # as_fn_exit 559248af84faSmrg 559348af84faSmrg# as_fn_unset VAR 559448af84faSmrg# --------------- 559548af84faSmrg# Portably unset VAR. 559648af84faSmrgas_fn_unset () 559748af84faSmrg{ 559848af84faSmrg { eval $1=; unset $1;} 559948af84faSmrg} 560048af84faSmrgas_unset=as_fn_unset 560148af84faSmrg# as_fn_append VAR VALUE 560248af84faSmrg# ---------------------- 560348af84faSmrg# Append the text in VALUE to the end of the definition contained in VAR. Take 560448af84faSmrg# advantage of any shell optimizations that allow amortized linear growth over 560548af84faSmrg# repeated appends, instead of the typical quadratic growth present in naive 560648af84faSmrg# implementations. 560748af84faSmrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 560848af84faSmrg eval 'as_fn_append () 560948af84faSmrg { 561048af84faSmrg eval $1+=\$2 561148af84faSmrg }' 561248af84faSmrgelse 561348af84faSmrg as_fn_append () 561448af84faSmrg { 561548af84faSmrg eval $1=\$$1\$2 561648af84faSmrg } 561748af84faSmrgfi # as_fn_append 561848af84faSmrg 561948af84faSmrg# as_fn_arith ARG... 562048af84faSmrg# ------------------ 562148af84faSmrg# Perform arithmetic evaluation on the ARGs, and store the result in the 562248af84faSmrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 562348af84faSmrg# must be portable across $(()) and expr. 562448af84faSmrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 562548af84faSmrg eval 'as_fn_arith () 562648af84faSmrg { 562748af84faSmrg as_val=$(( $* )) 562848af84faSmrg }' 562948af84faSmrgelse 563048af84faSmrg as_fn_arith () 563148af84faSmrg { 563248af84faSmrg as_val=`expr "$@" || test $? -eq 1` 563348af84faSmrg } 563448af84faSmrgfi # as_fn_arith 563548af84faSmrg 563648af84faSmrg 563789d09728Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 563889d09728Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 563966fe65f6Smrg as_expr=expr 564066fe65f6Smrgelse 564166fe65f6Smrg as_expr=false 564266fe65f6Smrgfi 564366fe65f6Smrg 564489d09728Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 564566fe65f6Smrg as_basename=basename 564666fe65f6Smrgelse 564766fe65f6Smrg as_basename=false 564866fe65f6Smrgfi 564966fe65f6Smrg 565048af84faSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 565148af84faSmrg as_dirname=dirname 565248af84faSmrgelse 565348af84faSmrg as_dirname=false 565448af84faSmrgfi 565566fe65f6Smrg 565689d09728Smrgas_me=`$as_basename -- "$0" || 565766fe65f6Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 565866fe65f6Smrg X"$0" : 'X\(//\)$' \| \ 565989d09728Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 566089d09728Smrg$as_echo X/"$0" | 566189d09728Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 566289d09728Smrg s//\1/ 566389d09728Smrg q 566489d09728Smrg } 566589d09728Smrg /^X\/\(\/\/\)$/{ 566689d09728Smrg s//\1/ 566789d09728Smrg q 566889d09728Smrg } 566989d09728Smrg /^X\/\(\/\).*/{ 567089d09728Smrg s//\1/ 567189d09728Smrg q 567289d09728Smrg } 567389d09728Smrg s/.*/./; q'` 567466fe65f6Smrg 567548af84faSmrg# Avoid depending upon Character Ranges. 567648af84faSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 567748af84faSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 567848af84faSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 567948af84faSmrgas_cr_digits='0123456789' 568048af84faSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits 568166fe65f6Smrg 568289d09728SmrgECHO_C= ECHO_N= ECHO_T= 568348af84faSmrgcase `echo -n x` in #((((( 568489d09728Smrg-n*) 568548af84faSmrg case `echo 'xy\c'` in 568689d09728Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 568748af84faSmrg xy) ECHO_C='\c';; 568848af84faSmrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 568948af84faSmrg ECHO_T=' ';; 569089d09728Smrg esac;; 569189d09728Smrg*) 569289d09728Smrg ECHO_N='-n';; 569366fe65f6Smrgesac 569466fe65f6Smrg 569589d09728Smrgrm -f conf$$ conf$$.exe conf$$.file 569689d09728Smrgif test -d conf$$.dir; then 569789d09728Smrg rm -f conf$$.dir/conf$$.file 569866fe65f6Smrgelse 569989d09728Smrg rm -f conf$$.dir 570089d09728Smrg mkdir conf$$.dir 2>/dev/null 570166fe65f6Smrgfi 570289d09728Smrgif (echo >conf$$.file) 2>/dev/null; then 570389d09728Smrg if ln -s conf$$.file conf$$ 2>/dev/null; then 570466fe65f6Smrg as_ln_s='ln -s' 570589d09728Smrg # ... but there are two gotchas: 570689d09728Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 570789d09728Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 570889d09728Smrg # In both cases, we have to default to `cp -p'. 570989d09728Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 571089d09728Smrg as_ln_s='cp -p' 571189d09728Smrg elif ln conf$$.file conf$$ 2>/dev/null; then 571289d09728Smrg as_ln_s=ln 571389d09728Smrg else 571489d09728Smrg as_ln_s='cp -p' 571566fe65f6Smrg fi 571666fe65f6Smrgelse 571766fe65f6Smrg as_ln_s='cp -p' 571866fe65f6Smrgfi 571989d09728Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 572089d09728Smrgrmdir conf$$.dir 2>/dev/null 572189d09728Smrg 572248af84faSmrg 572348af84faSmrg# as_fn_mkdir_p 572448af84faSmrg# ------------- 572548af84faSmrg# Create "$as_dir" as a directory, including parents if necessary. 572648af84faSmrgas_fn_mkdir_p () 572748af84faSmrg{ 572848af84faSmrg 572948af84faSmrg case $as_dir in #( 573048af84faSmrg -*) as_dir=./$as_dir;; 573148af84faSmrg esac 573248af84faSmrg test -d "$as_dir" || eval $as_mkdir_p || { 573348af84faSmrg as_dirs= 573448af84faSmrg while :; do 573548af84faSmrg case $as_dir in #( 573648af84faSmrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 573748af84faSmrg *) as_qdir=$as_dir;; 573848af84faSmrg esac 573948af84faSmrg as_dirs="'$as_qdir' $as_dirs" 574048af84faSmrg as_dir=`$as_dirname -- "$as_dir" || 574148af84faSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 574248af84faSmrg X"$as_dir" : 'X\(//\)[^/]' \| \ 574348af84faSmrg X"$as_dir" : 'X\(//\)$' \| \ 574448af84faSmrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 574548af84faSmrg$as_echo X"$as_dir" | 574648af84faSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 574748af84faSmrg s//\1/ 574848af84faSmrg q 574948af84faSmrg } 575048af84faSmrg /^X\(\/\/\)[^/].*/{ 575148af84faSmrg s//\1/ 575248af84faSmrg q 575348af84faSmrg } 575448af84faSmrg /^X\(\/\/\)$/{ 575548af84faSmrg s//\1/ 575648af84faSmrg q 575748af84faSmrg } 575848af84faSmrg /^X\(\/\).*/{ 575948af84faSmrg s//\1/ 576048af84faSmrg q 576148af84faSmrg } 576248af84faSmrg s/.*/./; q'` 576348af84faSmrg test -d "$as_dir" && break 576448af84faSmrg done 576548af84faSmrg test -z "$as_dirs" || eval "mkdir $as_dirs" 576648af84faSmrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 576748af84faSmrg 576848af84faSmrg 576948af84faSmrg} # as_fn_mkdir_p 577066fe65f6Smrgif mkdir -p . 2>/dev/null; then 577148af84faSmrg as_mkdir_p='mkdir -p "$as_dir"' 577266fe65f6Smrgelse 577366fe65f6Smrg test -d ./-p && rmdir ./-p 577466fe65f6Smrg as_mkdir_p=false 577566fe65f6Smrgfi 577666fe65f6Smrg 577789d09728Smrgif test -x / >/dev/null 2>&1; then 577889d09728Smrg as_test_x='test -x' 577989d09728Smrgelse 578089d09728Smrg if ls -dL / >/dev/null 2>&1; then 578189d09728Smrg as_ls_L_option=L 578289d09728Smrg else 578389d09728Smrg as_ls_L_option= 578489d09728Smrg fi 578589d09728Smrg as_test_x=' 578689d09728Smrg eval sh -c '\'' 578789d09728Smrg if test -d "$1"; then 578889d09728Smrg test -d "$1/."; 578989d09728Smrg else 579048af84faSmrg case $1 in #( 579189d09728Smrg -*)set "./$1";; 579289d09728Smrg esac; 579348af84faSmrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 579489d09728Smrg ???[sx]*):;;*)false;;esac;fi 579589d09728Smrg '\'' sh 579689d09728Smrg ' 579789d09728Smrgfi 579889d09728Smrgas_executable_p=$as_test_x 579966fe65f6Smrg 580066fe65f6Smrg# Sed expression to map a string onto a valid CPP name. 580166fe65f6Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 580266fe65f6Smrg 580366fe65f6Smrg# Sed expression to map a string onto a valid variable name. 580466fe65f6Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 580566fe65f6Smrg 580666fe65f6Smrg 580766fe65f6Smrgexec 6>&1 580848af84faSmrg## ----------------------------------- ## 580948af84faSmrg## Main body of $CONFIG_STATUS script. ## 581048af84faSmrg## ----------------------------------- ## 581148af84faSmrg_ASEOF 581248af84faSmrgtest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 581389d09728Smrg 581448af84faSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 581548af84faSmrg# Save the log message, to keep $0 and so on meaningful, and to 581666fe65f6Smrg# report actual input values of CONFIG_FILES etc. instead of their 581789d09728Smrg# values after options handling. 581889d09728Smrgac_log=" 581948af84faSmrgThis file was extended by font-util $as_me 1.2.0, which was 582048af84faSmrggenerated by GNU Autoconf 2.68. Invocation command line was 582166fe65f6Smrg 582266fe65f6Smrg CONFIG_FILES = $CONFIG_FILES 582366fe65f6Smrg CONFIG_HEADERS = $CONFIG_HEADERS 582466fe65f6Smrg CONFIG_LINKS = $CONFIG_LINKS 582566fe65f6Smrg CONFIG_COMMANDS = $CONFIG_COMMANDS 582666fe65f6Smrg $ $0 $@ 582766fe65f6Smrg 582889d09728Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q` 582989d09728Smrg" 583089d09728Smrg 583166fe65f6Smrg_ACEOF 583266fe65f6Smrg 583389d09728Smrgcase $ac_config_files in *" 583489d09728Smrg"*) set x $ac_config_files; shift; ac_config_files=$*;; 583589d09728Smrgesac 583666fe65f6Smrg 583789d09728Smrgcase $ac_config_headers in *" 583889d09728Smrg"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 583989d09728Smrgesac 584066fe65f6Smrg 584166fe65f6Smrg 584289d09728Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 584389d09728Smrg# Files that config.status was made for. 584489d09728Smrgconfig_files="$ac_config_files" 584589d09728Smrgconfig_headers="$ac_config_headers" 584689d09728Smrgconfig_commands="$ac_config_commands" 584766fe65f6Smrg 584889d09728Smrg_ACEOF 584966fe65f6Smrg 585089d09728Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 585166fe65f6Smrgac_cs_usage="\ 585248af84faSmrg\`$as_me' instantiates files and other configuration actions 585348af84faSmrgfrom templates according to the current configuration. Unless the files 585448af84faSmrgand actions are specified as TAGs, all are instantiated by default. 585566fe65f6Smrg 585648af84faSmrgUsage: $0 [OPTION]... [TAG]... 585766fe65f6Smrg 585866fe65f6Smrg -h, --help print this help, then exit 585989d09728Smrg -V, --version print version number and configuration settings, then exit 586048af84faSmrg --config print configuration, then exit 586189d09728Smrg -q, --quiet, --silent 586289d09728Smrg do not print progress messages 586366fe65f6Smrg -d, --debug don't remove temporary files 586466fe65f6Smrg --recheck update $as_me by reconfiguring in the same conditions 586589d09728Smrg --file=FILE[:TEMPLATE] 586689d09728Smrg instantiate the configuration file FILE 586789d09728Smrg --header=FILE[:TEMPLATE] 586889d09728Smrg instantiate the configuration header FILE 586966fe65f6Smrg 587066fe65f6SmrgConfiguration files: 587166fe65f6Smrg$config_files 587266fe65f6Smrg 587366fe65f6SmrgConfiguration headers: 587466fe65f6Smrg$config_headers 587566fe65f6Smrg 587666fe65f6SmrgConfiguration commands: 587766fe65f6Smrg$config_commands 587866fe65f6Smrg 587948af84faSmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>." 588066fe65f6Smrg 588189d09728Smrg_ACEOF 588289d09728Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 588348af84faSmrgac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 588466fe65f6Smrgac_cs_version="\\ 588548af84faSmrgfont-util config.status 1.2.0 588648af84faSmrgconfigured by $0, generated by GNU Autoconf 2.68, 588748af84faSmrg with options \\"\$ac_cs_config\\" 588866fe65f6Smrg 588948af84faSmrgCopyright (C) 2010 Free Software Foundation, Inc. 589066fe65f6SmrgThis config.status script is free software; the Free Software Foundation 589166fe65f6Smrggives unlimited permission to copy, distribute and modify it." 589289d09728Smrg 589389d09728Smrgac_pwd='$ac_pwd' 589489d09728Smrgsrcdir='$srcdir' 589589d09728SmrgINSTALL='$INSTALL' 589689d09728SmrgMKDIR_P='$MKDIR_P' 589789d09728SmrgAWK='$AWK' 589889d09728Smrgtest -n "\$AWK" || AWK=awk 589966fe65f6Smrg_ACEOF 590066fe65f6Smrg 590189d09728Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 590289d09728Smrg# The default lists apply if the user does not specify any file. 590366fe65f6Smrgac_need_defaults=: 590466fe65f6Smrgwhile test $# != 0 590566fe65f6Smrgdo 590666fe65f6Smrg case $1 in 590748af84faSmrg --*=?*) 590889d09728Smrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 590989d09728Smrg ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 591066fe65f6Smrg ac_shift=: 591166fe65f6Smrg ;; 591248af84faSmrg --*=) 591348af84faSmrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 591448af84faSmrg ac_optarg= 591548af84faSmrg ac_shift=: 591648af84faSmrg ;; 591789d09728Smrg *) 591866fe65f6Smrg ac_option=$1 591966fe65f6Smrg ac_optarg=$2 592066fe65f6Smrg ac_shift=shift 592166fe65f6Smrg ;; 592266fe65f6Smrg esac 592366fe65f6Smrg 592466fe65f6Smrg case $ac_option in 592566fe65f6Smrg # Handling of the options. 592666fe65f6Smrg -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 592766fe65f6Smrg ac_cs_recheck=: ;; 592889d09728Smrg --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 592989d09728Smrg $as_echo "$ac_cs_version"; exit ;; 593048af84faSmrg --config | --confi | --conf | --con | --co | --c ) 593148af84faSmrg $as_echo "$ac_cs_config"; exit ;; 593289d09728Smrg --debug | --debu | --deb | --de | --d | -d ) 593366fe65f6Smrg debug=: ;; 593466fe65f6Smrg --file | --fil | --fi | --f ) 593566fe65f6Smrg $ac_shift 593689d09728Smrg case $ac_optarg in 593789d09728Smrg *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 593848af84faSmrg '') as_fn_error $? "missing file argument" ;; 593989d09728Smrg esac 594048af84faSmrg as_fn_append CONFIG_FILES " '$ac_optarg'" 594166fe65f6Smrg ac_need_defaults=false;; 594266fe65f6Smrg --header | --heade | --head | --hea ) 594366fe65f6Smrg $ac_shift 594489d09728Smrg case $ac_optarg in 594589d09728Smrg *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 594689d09728Smrg esac 594748af84faSmrg as_fn_append CONFIG_HEADERS " '$ac_optarg'" 594866fe65f6Smrg ac_need_defaults=false;; 594989d09728Smrg --he | --h) 595089d09728Smrg # Conflict between --help and --header 595148af84faSmrg as_fn_error $? "ambiguous option: \`$1' 595248af84faSmrgTry \`$0 --help' for more information.";; 595389d09728Smrg --help | --hel | -h ) 595489d09728Smrg $as_echo "$ac_cs_usage"; exit ;; 595566fe65f6Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 595666fe65f6Smrg | -silent | --silent | --silen | --sile | --sil | --si | --s) 595766fe65f6Smrg ac_cs_silent=: ;; 595866fe65f6Smrg 595966fe65f6Smrg # This is an error. 596048af84faSmrg -*) as_fn_error $? "unrecognized option: \`$1' 596148af84faSmrgTry \`$0 --help' for more information." ;; 596266fe65f6Smrg 596348af84faSmrg *) as_fn_append ac_config_targets " $1" 596489d09728Smrg ac_need_defaults=false ;; 596566fe65f6Smrg 596666fe65f6Smrg esac 596766fe65f6Smrg shift 596866fe65f6Smrgdone 596966fe65f6Smrg 597066fe65f6Smrgac_configure_extra_args= 597166fe65f6Smrg 597266fe65f6Smrgif $ac_cs_silent; then 597366fe65f6Smrg exec 6>/dev/null 597466fe65f6Smrg ac_configure_extra_args="$ac_configure_extra_args --silent" 597566fe65f6Smrgfi 597666fe65f6Smrg 597766fe65f6Smrg_ACEOF 597889d09728Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 597966fe65f6Smrgif \$ac_cs_recheck; then 598089d09728Smrg set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 598189d09728Smrg shift 598289d09728Smrg \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 598389d09728Smrg CONFIG_SHELL='$SHELL' 598489d09728Smrg export CONFIG_SHELL 598589d09728Smrg exec "\$@" 598666fe65f6Smrgfi 598766fe65f6Smrg 598866fe65f6Smrg_ACEOF 598989d09728Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 599089d09728Smrgexec 5>>config.log 599189d09728Smrg{ 599289d09728Smrg echo 599389d09728Smrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 599489d09728Smrg## Running $as_me. ## 599589d09728Smrg_ASBOX 599689d09728Smrg $as_echo "$ac_log" 599789d09728Smrg} >&5 599866fe65f6Smrg 599989d09728Smrg_ACEOF 600089d09728Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 600166fe65f6Smrg# 600289d09728Smrg# INIT-COMMANDS 600366fe65f6Smrg# 600466fe65f6SmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 600566fe65f6Smrg 600666fe65f6Smrg_ACEOF 600766fe65f6Smrg 600889d09728Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 600966fe65f6Smrg 601089d09728Smrg# Handling of arguments. 601166fe65f6Smrgfor ac_config_target in $ac_config_targets 601266fe65f6Smrgdo 601389d09728Smrg case $ac_config_target in 601489d09728Smrg "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 601589d09728Smrg "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 601689d09728Smrg "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 601748af84faSmrg "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; 6018a9274bcdSmrg "fontutil.m4") CONFIG_FILES="$CONFIG_FILES fontutil.m4" ;; 601989d09728Smrg "fontutil.pc") CONFIG_FILES="$CONFIG_FILES fontutil.pc" ;; 602089d09728Smrg 602148af84faSmrg *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 602266fe65f6Smrg esac 602366fe65f6Smrgdone 602466fe65f6Smrg 602589d09728Smrg 602666fe65f6Smrg# If the user did not use the arguments to specify the items to instantiate, 602766fe65f6Smrg# then the envvar interface is used. Set only those that are not. 602866fe65f6Smrg# We use the long form for the default assignment because of an extremely 602966fe65f6Smrg# bizarre bug on SunOS 4.1.3. 603066fe65f6Smrgif $ac_need_defaults; then 603166fe65f6Smrg test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 603266fe65f6Smrg test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 603366fe65f6Smrg test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 603466fe65f6Smrgfi 603566fe65f6Smrg 603666fe65f6Smrg# Have a temporary directory for convenience. Make it in the build tree 603789d09728Smrg# simply because there is no reason against having it here, and in addition, 603866fe65f6Smrg# creating and moving files from /tmp can sometimes cause problems. 603989d09728Smrg# Hook for its removal unless debugging. 604089d09728Smrg# Note that there is a small window in which the directory will not be cleaned: 604189d09728Smrg# after its creation but before its name has been assigned to `$tmp'. 604266fe65f6Smrg$debug || 604366fe65f6Smrg{ 604448af84faSmrg tmp= ac_tmp= 604589d09728Smrg trap 'exit_status=$? 604648af84faSmrg : "${ac_tmp:=$tmp}" 604748af84faSmrg { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 604889d09728Smrg' 0 604948af84faSmrg trap 'as_fn_exit 1' 1 2 13 15 605066fe65f6Smrg} 605166fe65f6Smrg# Create a (secure) tmp directory for tmp files. 605266fe65f6Smrg 605366fe65f6Smrg{ 605489d09728Smrg tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 605548af84faSmrg test -d "$tmp" 605666fe65f6Smrg} || 605766fe65f6Smrg{ 605889d09728Smrg tmp=./conf$$-$RANDOM 605989d09728Smrg (umask 077 && mkdir "$tmp") 606048af84faSmrg} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 606148af84faSmrgac_tmp=$tmp 606289d09728Smrg 606389d09728Smrg# Set up the scripts for CONFIG_FILES section. 606489d09728Smrg# No need to generate them if there are no CONFIG_FILES. 606589d09728Smrg# This happens for instance with `./config.status config.h'. 606689d09728Smrgif test -n "$CONFIG_FILES"; then 606789d09728Smrg 606889d09728Smrg 606948af84faSmrgac_cr=`echo X | tr X '\015'` 607048af84faSmrg# On cygwin, bash can eat \r inside `` if the user requested igncr. 607148af84faSmrg# But we know of no other shell where ac_cr would be empty at this 607248af84faSmrg# point, so we can use a bashism as a fallback. 607348af84faSmrgif test "x$ac_cr" = x; then 607448af84faSmrg eval ac_cr=\$\'\\r\' 607548af84faSmrgfi 607689d09728Smrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 607789d09728Smrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 6078a9274bcdSmrg ac_cs_awk_cr='\\r' 607989d09728Smrgelse 608089d09728Smrg ac_cs_awk_cr=$ac_cr 608189d09728Smrgfi 608289d09728Smrg 608348af84faSmrgecho 'BEGIN {' >"$ac_tmp/subs1.awk" && 608489d09728Smrg_ACEOF 608589d09728Smrg 608689d09728Smrg 608766fe65f6Smrg{ 608889d09728Smrg echo "cat >conf$$subs.awk <<_ACEOF" && 608989d09728Smrg echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 609089d09728Smrg echo "_ACEOF" 609189d09728Smrg} >conf$$subs.sh || 609248af84faSmrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 609348af84faSmrgac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 609489d09728Smrgac_delim='%!_!# ' 609589d09728Smrgfor ac_last_try in false false false false false :; do 609689d09728Smrg . ./conf$$subs.sh || 609748af84faSmrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 609889d09728Smrg 609989d09728Smrg ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 610089d09728Smrg if test $ac_delim_n = $ac_delim_num; then 610189d09728Smrg break 610289d09728Smrg elif $ac_last_try; then 610348af84faSmrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 610489d09728Smrg else 610589d09728Smrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 610689d09728Smrg fi 610789d09728Smrgdone 610889d09728Smrgrm -f conf$$subs.sh 610966fe65f6Smrg 611089d09728Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 611148af84faSmrgcat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 611266fe65f6Smrg_ACEOF 611389d09728Smrgsed -n ' 611489d09728Smrgh 611589d09728Smrgs/^/S["/; s/!.*/"]=/ 611689d09728Smrgp 611789d09728Smrgg 611889d09728Smrgs/^[^!]*!// 611989d09728Smrg:repl 612089d09728Smrgt repl 612189d09728Smrgs/'"$ac_delim"'$// 612289d09728Smrgt delim 612389d09728Smrg:nl 612489d09728Smrgh 612548af84faSmrgs/\(.\{148\}\)..*/\1/ 612689d09728Smrgt more1 612789d09728Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 612889d09728Smrgp 612989d09728Smrgn 613089d09728Smrgb repl 613189d09728Smrg:more1 613289d09728Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 613389d09728Smrgp 613489d09728Smrgg 613589d09728Smrgs/.\{148\}// 613689d09728Smrgt nl 613789d09728Smrg:delim 613889d09728Smrgh 613948af84faSmrgs/\(.\{148\}\)..*/\1/ 614089d09728Smrgt more2 614189d09728Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/ 614289d09728Smrgp 614389d09728Smrgb 614489d09728Smrg:more2 614589d09728Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 614689d09728Smrgp 614789d09728Smrgg 614889d09728Smrgs/.\{148\}// 614989d09728Smrgt delim 615089d09728Smrg' <conf$$subs.awk | sed ' 615189d09728Smrg/^[^""]/{ 615289d09728Smrg N 615389d09728Smrg s/\n// 615489d09728Smrg} 615589d09728Smrg' >>$CONFIG_STATUS || ac_write_fail=1 615689d09728Smrgrm -f conf$$subs.awk 615789d09728Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 615889d09728Smrg_ACAWK 615948af84faSmrgcat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 616089d09728Smrg for (key in S) S_is_set[key] = 1 616189d09728Smrg FS = "" 616266fe65f6Smrg 616389d09728Smrg} 616489d09728Smrg{ 616589d09728Smrg line = $ 0 616689d09728Smrg nfields = split(line, field, "@") 616789d09728Smrg substed = 0 616889d09728Smrg len = length(field[1]) 616989d09728Smrg for (i = 2; i < nfields; i++) { 617089d09728Smrg key = field[i] 617189d09728Smrg keylen = length(key) 617289d09728Smrg if (S_is_set[key]) { 617389d09728Smrg value = S[key] 617489d09728Smrg line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 617589d09728Smrg len += length(value) + length(field[++i]) 617689d09728Smrg substed = 1 617789d09728Smrg } else 617889d09728Smrg len += 1 + keylen 617989d09728Smrg } 618089d09728Smrg 618189d09728Smrg print line 618289d09728Smrg} 618366fe65f6Smrg 618489d09728Smrg_ACAWK 618589d09728Smrg_ACEOF 618689d09728Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 618789d09728Smrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 618889d09728Smrg sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 618989d09728Smrgelse 619089d09728Smrg cat 619148af84faSmrgfi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 619248af84faSmrg || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 619389d09728Smrg_ACEOF 619489d09728Smrg 619548af84faSmrg# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 619648af84faSmrg# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 619789d09728Smrg# trailing colons and then remove the whole line if VPATH becomes empty 619889d09728Smrg# (actually we leave an empty line to preserve line numbers). 619989d09728Smrgif test "x$srcdir" = x.; then 620048af84faSmrg ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 620148af84faSmrgh 620248af84faSmrgs/// 620348af84faSmrgs/^/:/ 620448af84faSmrgs/[ ]*$/:/ 620548af84faSmrgs/:\$(srcdir):/:/g 620648af84faSmrgs/:\${srcdir}:/:/g 620748af84faSmrgs/:@srcdir@:/:/g 620848af84faSmrgs/^:*// 620989d09728Smrgs/:*$// 621048af84faSmrgx 621148af84faSmrgs/\(=[ ]*\).*/\1/ 621248af84faSmrgG 621348af84faSmrgs/\n// 621489d09728Smrgs/^[^=]*=[ ]*$// 621589d09728Smrg}' 621689d09728Smrgfi 621766fe65f6Smrg 621889d09728Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 621989d09728Smrgfi # test -n "$CONFIG_FILES" 622066fe65f6Smrg 622189d09728Smrg# Set up the scripts for CONFIG_HEADERS section. 622289d09728Smrg# No need to generate them if there are no CONFIG_HEADERS. 622389d09728Smrg# This happens for instance with `./config.status Makefile'. 622489d09728Smrgif test -n "$CONFIG_HEADERS"; then 622548af84faSmrgcat >"$ac_tmp/defines.awk" <<\_ACAWK || 622689d09728SmrgBEGIN { 622766fe65f6Smrg_ACEOF 622866fe65f6Smrg 622989d09728Smrg# Transform confdefs.h into an awk script `defines.awk', embedded as 623089d09728Smrg# here-document in config.status, that substitutes the proper values into 623189d09728Smrg# config.h.in to produce config.h. 623289d09728Smrg 623389d09728Smrg# Create a delimiter string that does not exist in confdefs.h, to ease 623489d09728Smrg# handling of long lines. 623589d09728Smrgac_delim='%!_!# ' 623689d09728Smrgfor ac_last_try in false false :; do 623748af84faSmrg ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 623848af84faSmrg if test -z "$ac_tt"; then 623989d09728Smrg break 624089d09728Smrg elif $ac_last_try; then 624148af84faSmrg as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 624289d09728Smrg else 624389d09728Smrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 624466fe65f6Smrg fi 624589d09728Smrgdone 624666fe65f6Smrg 624789d09728Smrg# For the awk script, D is an array of macro values keyed by name, 624889d09728Smrg# likewise P contains macro parameters if any. Preserve backslash 624989d09728Smrg# newline sequences. 625089d09728Smrg 625189d09728Smrgac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 625289d09728Smrgsed -n ' 625389d09728Smrgs/.\{148\}/&'"$ac_delim"'/g 625489d09728Smrgt rset 625589d09728Smrg:rset 625689d09728Smrgs/^[ ]*#[ ]*define[ ][ ]*/ / 625789d09728Smrgt def 625889d09728Smrgd 625989d09728Smrg:def 626089d09728Smrgs/\\$// 626189d09728Smrgt bsnl 626289d09728Smrgs/["\\]/\\&/g 626389d09728Smrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 626489d09728SmrgD["\1"]=" \3"/p 626589d09728Smrgs/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 626689d09728Smrgd 626789d09728Smrg:bsnl 626889d09728Smrgs/["\\]/\\&/g 626989d09728Smrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 627089d09728SmrgD["\1"]=" \3\\\\\\n"\\/p 627189d09728Smrgt cont 627289d09728Smrgs/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 627389d09728Smrgt cont 627489d09728Smrgd 627589d09728Smrg:cont 627689d09728Smrgn 627789d09728Smrgs/.\{148\}/&'"$ac_delim"'/g 627889d09728Smrgt clear 627989d09728Smrg:clear 628089d09728Smrgs/\\$// 628189d09728Smrgt bsnlc 628289d09728Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/p 628389d09728Smrgd 628489d09728Smrg:bsnlc 628589d09728Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 628689d09728Smrgb cont 628789d09728Smrg' <confdefs.h | sed ' 628889d09728Smrgs/'"$ac_delim"'/"\\\ 628989d09728Smrg"/g' >>$CONFIG_STATUS || ac_write_fail=1 629089d09728Smrg 629189d09728Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 629289d09728Smrg for (key in D) D_is_set[key] = 1 629389d09728Smrg FS = "" 629489d09728Smrg} 629589d09728Smrg/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 629689d09728Smrg line = \$ 0 629789d09728Smrg split(line, arg, " ") 629889d09728Smrg if (arg[1] == "#") { 629989d09728Smrg defundef = arg[2] 630089d09728Smrg mac1 = arg[3] 630189d09728Smrg } else { 630289d09728Smrg defundef = substr(arg[1], 2) 630389d09728Smrg mac1 = arg[2] 630489d09728Smrg } 630589d09728Smrg split(mac1, mac2, "(") #) 630689d09728Smrg macro = mac2[1] 630789d09728Smrg prefix = substr(line, 1, index(line, defundef) - 1) 630889d09728Smrg if (D_is_set[macro]) { 630989d09728Smrg # Preserve the white space surrounding the "#". 631089d09728Smrg print prefix "define", macro P[macro] D[macro] 631189d09728Smrg next 631289d09728Smrg } else { 631389d09728Smrg # Replace #undef with comments. This is necessary, for example, 631489d09728Smrg # in the case of _POSIX_SOURCE, which is predefined and required 631589d09728Smrg # on some systems where configure will not decide to define it. 631689d09728Smrg if (defundef == "undef") { 631789d09728Smrg print "/*", prefix defundef, macro, "*/" 631889d09728Smrg next 631989d09728Smrg } 632089d09728Smrg } 632189d09728Smrg} 632289d09728Smrg{ print } 632389d09728Smrg_ACAWK 632466fe65f6Smrg_ACEOF 632589d09728Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 632648af84faSmrg as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 632789d09728Smrgfi # test -n "$CONFIG_HEADERS" 632889d09728Smrg 632989d09728Smrg 633089d09728Smrgeval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 633189d09728Smrgshift 633289d09728Smrgfor ac_tag 633389d09728Smrgdo 633489d09728Smrg case $ac_tag in 633589d09728Smrg :[FHLC]) ac_mode=$ac_tag; continue;; 633689d09728Smrg esac 633789d09728Smrg case $ac_mode$ac_tag in 633889d09728Smrg :[FHL]*:*);; 633948af84faSmrg :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 634089d09728Smrg :[FH]-) ac_tag=-:-;; 634189d09728Smrg :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 634289d09728Smrg esac 634389d09728Smrg ac_save_IFS=$IFS 634489d09728Smrg IFS=: 634589d09728Smrg set x $ac_tag 634689d09728Smrg IFS=$ac_save_IFS 634789d09728Smrg shift 634889d09728Smrg ac_file=$1 634989d09728Smrg shift 635089d09728Smrg 635189d09728Smrg case $ac_mode in 635289d09728Smrg :L) ac_source=$1;; 635389d09728Smrg :[FH]) 635489d09728Smrg ac_file_inputs= 635589d09728Smrg for ac_f 635689d09728Smrg do 635789d09728Smrg case $ac_f in 635848af84faSmrg -) ac_f="$ac_tmp/stdin";; 635989d09728Smrg *) # Look for the file first in the build tree, then in the source tree 636089d09728Smrg # (if the path is not absolute). The absolute path cannot be DOS-style, 636189d09728Smrg # because $ac_f cannot contain `:'. 636289d09728Smrg test -f "$ac_f" || 636389d09728Smrg case $ac_f in 636489d09728Smrg [\\/$]*) false;; 636589d09728Smrg *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 636689d09728Smrg esac || 636748af84faSmrg as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 636889d09728Smrg esac 636989d09728Smrg case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 637048af84faSmrg as_fn_append ac_file_inputs " '$ac_f'" 637189d09728Smrg done 637289d09728Smrg 637389d09728Smrg # Let's still pretend it is `configure' which instantiates (i.e., don't 637489d09728Smrg # use $as_me), people would be surprised to read: 637589d09728Smrg # /* config.h. Generated by config.status. */ 637689d09728Smrg configure_input='Generated from '` 637789d09728Smrg $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 637889d09728Smrg `' by configure.' 637989d09728Smrg if test x"$ac_file" != x-; then 638089d09728Smrg configure_input="$ac_file. $configure_input" 638148af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 638289d09728Smrg$as_echo "$as_me: creating $ac_file" >&6;} 638389d09728Smrg fi 638489d09728Smrg # Neutralize special characters interpreted by sed in replacement strings. 638589d09728Smrg case $configure_input in #( 638689d09728Smrg *\&* | *\|* | *\\* ) 638789d09728Smrg ac_sed_conf_input=`$as_echo "$configure_input" | 638889d09728Smrg sed 's/[\\\\&|]/\\\\&/g'`;; #( 638989d09728Smrg *) ac_sed_conf_input=$configure_input;; 639089d09728Smrg esac 639189d09728Smrg 639289d09728Smrg case $ac_tag in 639348af84faSmrg *:-:* | *:-) cat >"$ac_tmp/stdin" \ 639448af84faSmrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 639589d09728Smrg esac 639689d09728Smrg ;; 639766fe65f6Smrg esac 639866fe65f6Smrg 639989d09728Smrg ac_dir=`$as_dirname -- "$ac_file" || 640066fe65f6Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 640166fe65f6Smrg X"$ac_file" : 'X\(//\)[^/]' \| \ 640266fe65f6Smrg X"$ac_file" : 'X\(//\)$' \| \ 640389d09728Smrg X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 640489d09728Smrg$as_echo X"$ac_file" | 640589d09728Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 640689d09728Smrg s//\1/ 640789d09728Smrg q 640889d09728Smrg } 640989d09728Smrg /^X\(\/\/\)[^/].*/{ 641089d09728Smrg s//\1/ 641189d09728Smrg q 641289d09728Smrg } 641389d09728Smrg /^X\(\/\/\)$/{ 641489d09728Smrg s//\1/ 641589d09728Smrg q 641689d09728Smrg } 641789d09728Smrg /^X\(\/\).*/{ 641889d09728Smrg s//\1/ 641989d09728Smrg q 642089d09728Smrg } 642189d09728Smrg s/.*/./; q'` 642248af84faSmrg as_dir="$ac_dir"; as_fn_mkdir_p 642366fe65f6Smrg ac_builddir=. 642466fe65f6Smrg 642589d09728Smrgcase "$ac_dir" in 642689d09728Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 642789d09728Smrg*) 642889d09728Smrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 642989d09728Smrg # A ".." for each directory in $ac_dir_suffix. 643089d09728Smrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 643189d09728Smrg case $ac_top_builddir_sub in 643289d09728Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 643389d09728Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 643489d09728Smrg esac ;; 643589d09728Smrgesac 643689d09728Smrgac_abs_top_builddir=$ac_pwd 643789d09728Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 643889d09728Smrg# for backward compatibility: 643989d09728Smrgac_top_builddir=$ac_top_build_prefix 644066fe65f6Smrg 644166fe65f6Smrgcase $srcdir in 644289d09728Smrg .) # We are building in place. 644366fe65f6Smrg ac_srcdir=. 644489d09728Smrg ac_top_srcdir=$ac_top_builddir_sub 644589d09728Smrg ac_abs_top_srcdir=$ac_pwd ;; 644689d09728Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 644766fe65f6Smrg ac_srcdir=$srcdir$ac_dir_suffix; 644889d09728Smrg ac_top_srcdir=$srcdir 644989d09728Smrg ac_abs_top_srcdir=$srcdir ;; 645089d09728Smrg *) # Relative name. 645189d09728Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 645289d09728Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 645389d09728Smrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 645466fe65f6Smrgesac 645589d09728Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 645666fe65f6Smrg 645766fe65f6Smrg 645889d09728Smrg case $ac_mode in 645989d09728Smrg :F) 646089d09728Smrg # 646189d09728Smrg # CONFIG_FILE 646289d09728Smrg # 646366fe65f6Smrg 646466fe65f6Smrg case $INSTALL in 646566fe65f6Smrg [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 646689d09728Smrg *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 646789d09728Smrg esac 646889d09728Smrg ac_MKDIR_P=$MKDIR_P 646989d09728Smrg case $MKDIR_P in 647089d09728Smrg [\\/$]* | ?:[\\/]* ) ;; 647189d09728Smrg */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 647266fe65f6Smrg esac 647389d09728Smrg_ACEOF 647466fe65f6Smrg 647589d09728Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 647689d09728Smrg# If the template does not know about datarootdir, expand it. 647789d09728Smrg# FIXME: This hack should be removed a few years after 2.60. 647889d09728Smrgac_datarootdir_hack=; ac_datarootdir_seen= 647989d09728Smrgac_sed_dataroot=' 648089d09728Smrg/datarootdir/ { 648189d09728Smrg p 648289d09728Smrg q 648389d09728Smrg} 648489d09728Smrg/@datadir@/p 648589d09728Smrg/@docdir@/p 648689d09728Smrg/@infodir@/p 648789d09728Smrg/@localedir@/p 648848af84faSmrg/@mandir@/p' 648989d09728Smrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 649089d09728Smrg*datarootdir*) ac_datarootdir_seen=yes;; 649189d09728Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 649248af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 649389d09728Smrg$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 649489d09728Smrg_ACEOF 649589d09728Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 649689d09728Smrg ac_datarootdir_hack=' 649789d09728Smrg s&@datadir@&$datadir&g 649889d09728Smrg s&@docdir@&$docdir&g 649989d09728Smrg s&@infodir@&$infodir&g 650089d09728Smrg s&@localedir@&$localedir&g 650189d09728Smrg s&@mandir@&$mandir&g 650248af84faSmrg s&\\\${datarootdir}&$datarootdir&g' ;; 650389d09728Smrgesac 650466fe65f6Smrg_ACEOF 650589d09728Smrg 650689d09728Smrg# Neutralize VPATH when `$srcdir' = `.'. 650789d09728Smrg# Shell code in configure.ac might set extrasub. 650889d09728Smrg# FIXME: do we really want to maintain this feature? 650989d09728Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 651089d09728Smrgac_sed_extra="$ac_vpsub 651166fe65f6Smrg$extrasub 651266fe65f6Smrg_ACEOF 651389d09728Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 651466fe65f6Smrg:t 651566fe65f6Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 651689d09728Smrgs|@configure_input@|$ac_sed_conf_input|;t t 651789d09728Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t 651889d09728Smrgs&@top_build_prefix@&$ac_top_build_prefix&;t t 651989d09728Smrgs&@srcdir@&$ac_srcdir&;t t 652089d09728Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t 652189d09728Smrgs&@top_srcdir@&$ac_top_srcdir&;t t 652289d09728Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 652389d09728Smrgs&@builddir@&$ac_builddir&;t t 652489d09728Smrgs&@abs_builddir@&$ac_abs_builddir&;t t 652589d09728Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t 652689d09728Smrgs&@INSTALL@&$ac_INSTALL&;t t 652789d09728Smrgs&@MKDIR_P@&$ac_MKDIR_P&;t t 652889d09728Smrg$ac_datarootdir_hack 652989d09728Smrg" 653048af84faSmrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 653148af84faSmrg >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 653289d09728Smrg 653389d09728Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 653448af84faSmrg { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 653548af84faSmrg { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 653648af84faSmrg "$ac_tmp/out"`; test -z "$ac_out"; } && 653748af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 653848af84faSmrgwhich seems to be undefined. Please make sure it is defined" >&5 653989d09728Smrg$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 654048af84faSmrgwhich seems to be undefined. Please make sure it is defined" >&2;} 654189d09728Smrg 654248af84faSmrg rm -f "$ac_tmp/stdin" 654366fe65f6Smrg case $ac_file in 654448af84faSmrg -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 654548af84faSmrg *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 654689d09728Smrg esac \ 654748af84faSmrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 654889d09728Smrg ;; 654989d09728Smrg :H) 655089d09728Smrg # 655189d09728Smrg # CONFIG_HEADER 655289d09728Smrg # 655366fe65f6Smrg if test x"$ac_file" != x-; then 655489d09728Smrg { 655589d09728Smrg $as_echo "/* $configure_input */" \ 655648af84faSmrg && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 655748af84faSmrg } >"$ac_tmp/config.h" \ 655848af84faSmrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 655948af84faSmrg if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 656048af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 656189d09728Smrg$as_echo "$as_me: $ac_file is unchanged" >&6;} 656266fe65f6Smrg else 656389d09728Smrg rm -f "$ac_file" 656448af84faSmrg mv "$ac_tmp/config.h" "$ac_file" \ 656548af84faSmrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 656666fe65f6Smrg fi 656766fe65f6Smrg else 656889d09728Smrg $as_echo "/* $configure_input */" \ 656948af84faSmrg && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 657048af84faSmrg || as_fn_error $? "could not create -" "$LINENO" 5 657166fe65f6Smrg fi 657289d09728Smrg# Compute "$ac_file"'s index in $config_headers. 657389d09728Smrg_am_arg="$ac_file" 657466fe65f6Smrg_am_stamp_count=1 657566fe65f6Smrgfor _am_header in $config_headers :; do 657666fe65f6Smrg case $_am_header in 657789d09728Smrg $_am_arg | $_am_arg:* ) 657866fe65f6Smrg break ;; 657966fe65f6Smrg * ) 658066fe65f6Smrg _am_stamp_count=`expr $_am_stamp_count + 1` ;; 658166fe65f6Smrg esac 658266fe65f6Smrgdone 658389d09728Smrgecho "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 658489d09728Smrg$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 658589d09728Smrg X"$_am_arg" : 'X\(//\)[^/]' \| \ 658689d09728Smrg X"$_am_arg" : 'X\(//\)$' \| \ 658789d09728Smrg X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 658889d09728Smrg$as_echo X"$_am_arg" | 658989d09728Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 659089d09728Smrg s//\1/ 659189d09728Smrg q 659289d09728Smrg } 659389d09728Smrg /^X\(\/\/\)[^/].*/{ 659489d09728Smrg s//\1/ 659589d09728Smrg q 659689d09728Smrg } 659789d09728Smrg /^X\(\/\/\)$/{ 659889d09728Smrg s//\1/ 659989d09728Smrg q 660089d09728Smrg } 660189d09728Smrg /^X\(\/\).*/{ 660289d09728Smrg s//\1/ 660389d09728Smrg q 660489d09728Smrg } 660589d09728Smrg s/.*/./; q'`/stamp-h$_am_stamp_count 660689d09728Smrg ;; 660766fe65f6Smrg 660848af84faSmrg :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 660989d09728Smrg$as_echo "$as_me: executing $ac_file commands" >&6;} 661089d09728Smrg ;; 661189d09728Smrg esac 661266fe65f6Smrg 661366fe65f6Smrg 661489d09728Smrg case $ac_file$ac_mode in 6615a9274bcdSmrg "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 6616a9274bcdSmrg # Autoconf 2.62 quotes --file arguments for eval, but not when files 6617a9274bcdSmrg # are listed without --file. Let's play safe and only enable the eval 6618a9274bcdSmrg # if we detect the quoting. 6619a9274bcdSmrg case $CONFIG_FILES in 6620a9274bcdSmrg *\'*) eval set x "$CONFIG_FILES" ;; 6621a9274bcdSmrg *) set x $CONFIG_FILES ;; 6622a9274bcdSmrg esac 6623a9274bcdSmrg shift 6624a9274bcdSmrg for mf 6625a9274bcdSmrg do 6626a9274bcdSmrg # Strip MF so we end up with the name of the file. 6627a9274bcdSmrg mf=`echo "$mf" | sed -e 's/:.*$//'` 6628a9274bcdSmrg # Check whether this is an Automake generated Makefile or not. 6629a9274bcdSmrg # We used to match only the files named `Makefile.in', but 6630a9274bcdSmrg # some people rename them; so instead we look at the file content. 6631a9274bcdSmrg # Grep'ing the first line is not enough: some people post-process 6632a9274bcdSmrg # each Makefile.in and add a new line on top of each file to say so. 6633a9274bcdSmrg # Grep'ing the whole file is not good either: AIX grep has a line 6634a9274bcdSmrg # limit of 2048, but all sed's we know have understand at least 4000. 6635a9274bcdSmrg if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 6636a9274bcdSmrg dirpart=`$as_dirname -- "$mf" || 663766fe65f6Smrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 663866fe65f6Smrg X"$mf" : 'X\(//\)[^/]' \| \ 663966fe65f6Smrg X"$mf" : 'X\(//\)$' \| \ 664089d09728Smrg X"$mf" : 'X\(/\)' \| . 2>/dev/null || 664189d09728Smrg$as_echo X"$mf" | 664289d09728Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 664389d09728Smrg s//\1/ 664489d09728Smrg q 664589d09728Smrg } 664689d09728Smrg /^X\(\/\/\)[^/].*/{ 664789d09728Smrg s//\1/ 664889d09728Smrg q 664989d09728Smrg } 665089d09728Smrg /^X\(\/\/\)$/{ 665189d09728Smrg s//\1/ 665289d09728Smrg q 665389d09728Smrg } 665489d09728Smrg /^X\(\/\).*/{ 665589d09728Smrg s//\1/ 665689d09728Smrg q 665789d09728Smrg } 665889d09728Smrg s/.*/./; q'` 6659a9274bcdSmrg else 6660a9274bcdSmrg continue 6661a9274bcdSmrg fi 6662a9274bcdSmrg # Extract the definition of DEPDIR, am__include, and am__quote 6663a9274bcdSmrg # from the Makefile without running `make'. 6664a9274bcdSmrg DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 6665a9274bcdSmrg test -z "$DEPDIR" && continue 6666a9274bcdSmrg am__include=`sed -n 's/^am__include = //p' < "$mf"` 6667a9274bcdSmrg test -z "am__include" && continue 6668a9274bcdSmrg am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 6669a9274bcdSmrg # When using ansi2knr, U may be empty or an underscore; expand it 6670a9274bcdSmrg U=`sed -n 's/^U = //p' < "$mf"` 6671a9274bcdSmrg # Find all dependency output files, they are included files with 6672a9274bcdSmrg # $(DEPDIR) in their names. We invoke sed twice because it is the 6673a9274bcdSmrg # simplest approach to changing $(DEPDIR) to its actual value in the 6674a9274bcdSmrg # expansion. 6675a9274bcdSmrg for file in `sed -n " 6676a9274bcdSmrg s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 6677a9274bcdSmrg sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 6678a9274bcdSmrg # Make sure the directory exists. 6679a9274bcdSmrg test -f "$dirpart/$file" && continue 6680a9274bcdSmrg fdir=`$as_dirname -- "$file" || 668166fe65f6Smrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 668266fe65f6Smrg X"$file" : 'X\(//\)[^/]' \| \ 668366fe65f6Smrg X"$file" : 'X\(//\)$' \| \ 668489d09728Smrg X"$file" : 'X\(/\)' \| . 2>/dev/null || 668589d09728Smrg$as_echo X"$file" | 668689d09728Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 668789d09728Smrg s//\1/ 668889d09728Smrg q 668989d09728Smrg } 669089d09728Smrg /^X\(\/\/\)[^/].*/{ 669189d09728Smrg s//\1/ 669289d09728Smrg q 669389d09728Smrg } 669489d09728Smrg /^X\(\/\/\)$/{ 669589d09728Smrg s//\1/ 669689d09728Smrg q 669789d09728Smrg } 669889d09728Smrg /^X\(\/\).*/{ 669989d09728Smrg s//\1/ 670089d09728Smrg q 670189d09728Smrg } 670289d09728Smrg s/.*/./; q'` 670348af84faSmrg as_dir=$dirpart/$fdir; as_fn_mkdir_p 6704a9274bcdSmrg # echo "creating $dirpart/$file" 6705a9274bcdSmrg echo '# dummy' > "$dirpart/$file" 6706a9274bcdSmrg done 670766fe65f6Smrg done 6708a9274bcdSmrg} 670966fe65f6Smrg ;; 671089d09728Smrg 671166fe65f6Smrg esac 671289d09728Smrgdone # for ac_tag 671366fe65f6Smrg 671466fe65f6Smrg 671548af84faSmrgas_fn_exit 0 671666fe65f6Smrg_ACEOF 671766fe65f6Smrgac_clean_files=$ac_clean_files_save 671866fe65f6Smrg 671989d09728Smrgtest $ac_write_fail = 0 || 672048af84faSmrg as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 672189d09728Smrg 672266fe65f6Smrg 672366fe65f6Smrg# configure is writing to config.log, and then calls config.status. 672466fe65f6Smrg# config.status does its own redirection, appending to config.log. 672566fe65f6Smrg# Unfortunately, on DOS this fails, as config.log is still kept open 672666fe65f6Smrg# by configure, so config.status won't be able to write to it; its 672766fe65f6Smrg# output is simply discarded. So we exec the FD to /dev/null, 672866fe65f6Smrg# effectively closing config.log, so it can be properly (re)opened and 672966fe65f6Smrg# appended to by config.status. When coming back to configure, we 673066fe65f6Smrg# need to make the FD available again. 673166fe65f6Smrgif test "$no_create" != yes; then 673266fe65f6Smrg ac_cs_success=: 673366fe65f6Smrg ac_config_status_args= 673466fe65f6Smrg test "$silent" = yes && 673566fe65f6Smrg ac_config_status_args="$ac_config_status_args --quiet" 673666fe65f6Smrg exec 5>/dev/null 673766fe65f6Smrg $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 673866fe65f6Smrg exec 5>>config.log 673966fe65f6Smrg # Use ||, not &&, to avoid exiting from the if with $? = 1, which 674066fe65f6Smrg # would make configure fail if this is the last instruction. 674148af84faSmrg $ac_cs_success || as_fn_exit 1 674289d09728Smrgfi 674389d09728Smrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 674448af84faSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 674589d09728Smrg$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 674666fe65f6Smrgfi 674766fe65f6Smrg 6748