configure revision d5d8cc55
10bd0e222Smrg#! /bin/sh 20bd0e222Smrg# Guess values for system-dependent variables and create Makefiles. 3d5d8cc55Smrg# Generated by GNU Autoconf 2.68 for font-jis-misc 1.0.3. 40bd0e222Smrg# 50bd0e222Smrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 60bd0e222Smrg# 7d5d8cc55Smrg# 88ff16396Smrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 9d5d8cc55Smrg# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 10d5d8cc55Smrg# Foundation, Inc. 11d5d8cc55Smrg# 12d5d8cc55Smrg# 130bd0e222Smrg# This configure script is free software; the Free Software Foundation 140bd0e222Smrg# gives unlimited permission to copy, distribute and modify it. 15d5d8cc55Smrg## -------------------- ## 16d5d8cc55Smrg## M4sh Initialization. ## 17d5d8cc55Smrg## -------------------- ## 180bd0e222Smrg 198ff16396Smrg# Be more Bourne compatible 208ff16396SmrgDUALCASE=1; export DUALCASE # for MKS sh 21d5d8cc55Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 220bd0e222Smrg emulate sh 230bd0e222Smrg NULLCMD=: 248ff16396Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 250bd0e222Smrg # is contrary to our usage. Disable this feature. 260bd0e222Smrg alias -g '${1+"$@"}'='"$@"' 278ff16396Smrg setopt NO_GLOB_SUBST 288ff16396Smrgelse 29d5d8cc55Smrg case `(set -o) 2>/dev/null` in #( 30d5d8cc55Smrg *posix*) : 31d5d8cc55Smrg set -o posix ;; #( 32d5d8cc55Smrg *) : 33d5d8cc55Smrg ;; 348ff16396Smrgesac 358ff16396Smrgfi 368ff16396Smrg 378ff16396Smrg 388ff16396Smrgas_nl=' 398ff16396Smrg' 408ff16396Smrgexport as_nl 418ff16396Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 428ff16396Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 438ff16396Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 448ff16396Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 45d5d8cc55Smrg# Prefer a ksh shell builtin over an external printf program on Solaris, 46d5d8cc55Smrg# but without wasting forks for bash or zsh. 47d5d8cc55Smrgif test -z "$BASH_VERSION$ZSH_VERSION" \ 48d5d8cc55Smrg && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 49d5d8cc55Smrg as_echo='print -r --' 50d5d8cc55Smrg as_echo_n='print -rn --' 51d5d8cc55Smrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 528ff16396Smrg as_echo='printf %s\n' 538ff16396Smrg as_echo_n='printf %s' 548ff16396Smrgelse 558ff16396Smrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 568ff16396Smrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 578ff16396Smrg as_echo_n='/usr/ucb/echo -n' 588ff16396Smrg else 598ff16396Smrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 608ff16396Smrg as_echo_n_body='eval 618ff16396Smrg arg=$1; 62d5d8cc55Smrg case $arg in #( 638ff16396Smrg *"$as_nl"*) 648ff16396Smrg expr "X$arg" : "X\\(.*\\)$as_nl"; 658ff16396Smrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 668ff16396Smrg esac; 678ff16396Smrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 688ff16396Smrg ' 698ff16396Smrg export as_echo_n_body 708ff16396Smrg as_echo_n='sh -c $as_echo_n_body as_echo' 718ff16396Smrg fi 728ff16396Smrg export as_echo_body 738ff16396Smrg as_echo='sh -c $as_echo_body as_echo' 748ff16396Smrgfi 758ff16396Smrg 768ff16396Smrg# The user is always right. 778ff16396Smrgif test "${PATH_SEPARATOR+set}" != set; then 788ff16396Smrg PATH_SEPARATOR=: 798ff16396Smrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 808ff16396Smrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 818ff16396Smrg PATH_SEPARATOR=';' 828ff16396Smrg } 830bd0e222Smrgfi 840bd0e222Smrg 850bd0e222Smrg 868ff16396Smrg# IFS 878ff16396Smrg# We need space, tab and new line, in precisely that order. Quoting is 888ff16396Smrg# there to prevent editors from complaining about space-tab. 898ff16396Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 908ff16396Smrg# splitting by setting IFS to empty value.) 918ff16396SmrgIFS=" "" $as_nl" 928ff16396Smrg 938ff16396Smrg# Find who we are. Look in the path if we contain no directory separator. 94d5d8cc55Smrgas_myself= 95d5d8cc55Smrgcase $0 in #(( 968ff16396Smrg *[\\/]* ) as_myself=$0 ;; 978ff16396Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 988ff16396Smrgfor as_dir in $PATH 998ff16396Smrgdo 1008ff16396Smrg IFS=$as_save_IFS 1018ff16396Smrg test -z "$as_dir" && as_dir=. 102d5d8cc55Smrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 103d5d8cc55Smrg done 1048ff16396SmrgIFS=$as_save_IFS 1058ff16396Smrg 1068ff16396Smrg ;; 1078ff16396Smrgesac 1088ff16396Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 1098ff16396Smrg# in which case we are not to be found in the path. 1108ff16396Smrgif test "x$as_myself" = x; then 1118ff16396Smrg as_myself=$0 1128ff16396Smrgfi 1138ff16396Smrgif test ! -f "$as_myself"; then 1148ff16396Smrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 115d5d8cc55Smrg exit 1 1168ff16396Smrgfi 1178ff16396Smrg 118d5d8cc55Smrg# Unset variables that we do not need and which cause bugs (e.g. in 119d5d8cc55Smrg# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 120d5d8cc55Smrg# suppresses any "Segmentation fault" message there. '((' could 121d5d8cc55Smrg# trigger a bug in pdksh 5.2.14. 122d5d8cc55Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH 123d5d8cc55Smrgdo eval test x\${$as_var+set} = xset \ 124d5d8cc55Smrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 1258ff16396Smrgdone 1260bd0e222SmrgPS1='$ ' 1270bd0e222SmrgPS2='> ' 1280bd0e222SmrgPS4='+ ' 1290bd0e222Smrg 1300bd0e222Smrg# NLS nuisances. 1318ff16396SmrgLC_ALL=C 1328ff16396Smrgexport LC_ALL 1338ff16396SmrgLANGUAGE=C 1348ff16396Smrgexport LANGUAGE 1350bd0e222Smrg 136d5d8cc55Smrg# CDPATH. 137d5d8cc55Smrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 138d5d8cc55Smrg 139d5d8cc55Smrgif test "x$CONFIG_SHELL" = x; then 140d5d8cc55Smrg as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 141d5d8cc55Smrg emulate sh 142d5d8cc55Smrg NULLCMD=: 143d5d8cc55Smrg # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 144d5d8cc55Smrg # is contrary to our usage. Disable this feature. 145d5d8cc55Smrg alias -g '\${1+\"\$@\"}'='\"\$@\"' 146d5d8cc55Smrg setopt NO_GLOB_SUBST 147d5d8cc55Smrgelse 148d5d8cc55Smrg case \`(set -o) 2>/dev/null\` in #( 149d5d8cc55Smrg *posix*) : 150d5d8cc55Smrg set -o posix ;; #( 151d5d8cc55Smrg *) : 152d5d8cc55Smrg ;; 153d5d8cc55Smrgesac 154d5d8cc55Smrgfi 155d5d8cc55Smrg" 156d5d8cc55Smrg as_required="as_fn_return () { (exit \$1); } 157d5d8cc55Smrgas_fn_success () { as_fn_return 0; } 158d5d8cc55Smrgas_fn_failure () { as_fn_return 1; } 159d5d8cc55Smrgas_fn_ret_success () { return 0; } 160d5d8cc55Smrgas_fn_ret_failure () { return 1; } 161d5d8cc55Smrg 162d5d8cc55Smrgexitcode=0 163d5d8cc55Smrgas_fn_success || { exitcode=1; echo as_fn_success failed.; } 164d5d8cc55Smrgas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 165d5d8cc55Smrgas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 166d5d8cc55Smrgas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 167d5d8cc55Smrgif ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 168d5d8cc55Smrg 169d5d8cc55Smrgelse 170d5d8cc55Smrg exitcode=1; echo positional parameters were not saved. 171d5d8cc55Smrgfi 172d5d8cc55Smrgtest x\$exitcode = x0 || exit 1" 173d5d8cc55Smrg as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 174d5d8cc55Smrg as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 175d5d8cc55Smrg eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 176d5d8cc55Smrg test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 177d5d8cc55Smrgtest \$(( 1 + 1 )) = 2 || exit 1" 178d5d8cc55Smrg if (eval "$as_required") 2>/dev/null; then : 179d5d8cc55Smrg as_have_required=yes 180d5d8cc55Smrgelse 181d5d8cc55Smrg as_have_required=no 182d5d8cc55Smrgfi 183d5d8cc55Smrg if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 184d5d8cc55Smrg 185d5d8cc55Smrgelse 186d5d8cc55Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 187d5d8cc55Smrgas_found=false 188d5d8cc55Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 189d5d8cc55Smrgdo 190d5d8cc55Smrg IFS=$as_save_IFS 191d5d8cc55Smrg test -z "$as_dir" && as_dir=. 192d5d8cc55Smrg as_found=: 193d5d8cc55Smrg case $as_dir in #( 194d5d8cc55Smrg /*) 195d5d8cc55Smrg for as_base in sh bash ksh sh5; do 196d5d8cc55Smrg # Try only shells that exist, to save several forks. 197d5d8cc55Smrg as_shell=$as_dir/$as_base 198d5d8cc55Smrg if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 199d5d8cc55Smrg { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 200d5d8cc55Smrg CONFIG_SHELL=$as_shell as_have_required=yes 201d5d8cc55Smrg if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 202d5d8cc55Smrg break 2 203d5d8cc55Smrgfi 204d5d8cc55Smrgfi 205d5d8cc55Smrg done;; 206d5d8cc55Smrg esac 207d5d8cc55Smrg as_found=false 208d5d8cc55Smrgdone 209d5d8cc55Smrg$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 210d5d8cc55Smrg { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 211d5d8cc55Smrg CONFIG_SHELL=$SHELL as_have_required=yes 212d5d8cc55Smrgfi; } 213d5d8cc55SmrgIFS=$as_save_IFS 214d5d8cc55Smrg 215d5d8cc55Smrg 216d5d8cc55Smrg if test "x$CONFIG_SHELL" != x; then : 217d5d8cc55Smrg # We cannot yet assume a decent shell, so we have to provide a 218d5d8cc55Smrg # neutralization value for shells without unset; and this also 219d5d8cc55Smrg # works around shells that cannot unset nonexistent variables. 220d5d8cc55Smrg # Preserve -v and -x to the replacement shell. 221d5d8cc55Smrg BASH_ENV=/dev/null 222d5d8cc55Smrg ENV=/dev/null 223d5d8cc55Smrg (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 224d5d8cc55Smrg export CONFIG_SHELL 225d5d8cc55Smrg case $- in # (((( 226d5d8cc55Smrg *v*x* | *x*v* ) as_opts=-vx ;; 227d5d8cc55Smrg *v* ) as_opts=-v ;; 228d5d8cc55Smrg *x* ) as_opts=-x ;; 229d5d8cc55Smrg * ) as_opts= ;; 230d5d8cc55Smrg esac 231d5d8cc55Smrg exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 232d5d8cc55Smrgfi 233d5d8cc55Smrg 234d5d8cc55Smrg if test x$as_have_required = xno; then : 235d5d8cc55Smrg $as_echo "$0: This script requires a shell more modern than all" 236d5d8cc55Smrg $as_echo "$0: the shells that I found on your system." 237d5d8cc55Smrg if test x${ZSH_VERSION+set} = xset ; then 238d5d8cc55Smrg $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 239d5d8cc55Smrg $as_echo "$0: be upgraded to zsh 4.3.4 or later." 240d5d8cc55Smrg else 241d5d8cc55Smrg $as_echo "$0: Please tell bug-autoconf@gnu.org and 242d5d8cc55Smrg$0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg 243d5d8cc55Smrg$0: about your system, including any error possibly output 244d5d8cc55Smrg$0: before this message. Then install a modern shell, or 245d5d8cc55Smrg$0: manually run the script under such a shell if you do 246d5d8cc55Smrg$0: have one." 247d5d8cc55Smrg fi 248d5d8cc55Smrg exit 1 249d5d8cc55Smrgfi 250d5d8cc55Smrgfi 251d5d8cc55Smrgfi 252d5d8cc55SmrgSHELL=${CONFIG_SHELL-/bin/sh} 253d5d8cc55Smrgexport SHELL 254d5d8cc55Smrg# Unset more variables known to interfere with behavior of common tools. 255d5d8cc55SmrgCLICOLOR_FORCE= GREP_OPTIONS= 256d5d8cc55Smrgunset CLICOLOR_FORCE GREP_OPTIONS 257d5d8cc55Smrg 258d5d8cc55Smrg## --------------------- ## 259d5d8cc55Smrg## M4sh Shell Functions. ## 260d5d8cc55Smrg## --------------------- ## 261d5d8cc55Smrg# as_fn_unset VAR 262d5d8cc55Smrg# --------------- 263d5d8cc55Smrg# Portably unset VAR. 264d5d8cc55Smrgas_fn_unset () 265d5d8cc55Smrg{ 266d5d8cc55Smrg { eval $1=; unset $1;} 267d5d8cc55Smrg} 268d5d8cc55Smrgas_unset=as_fn_unset 269d5d8cc55Smrg 270d5d8cc55Smrg# as_fn_set_status STATUS 271d5d8cc55Smrg# ----------------------- 272d5d8cc55Smrg# Set $? to STATUS, without forking. 273d5d8cc55Smrgas_fn_set_status () 274d5d8cc55Smrg{ 275d5d8cc55Smrg return $1 276d5d8cc55Smrg} # as_fn_set_status 277d5d8cc55Smrg 278d5d8cc55Smrg# as_fn_exit STATUS 279d5d8cc55Smrg# ----------------- 280d5d8cc55Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 281d5d8cc55Smrgas_fn_exit () 282d5d8cc55Smrg{ 283d5d8cc55Smrg set +e 284d5d8cc55Smrg as_fn_set_status $1 285d5d8cc55Smrg exit $1 286d5d8cc55Smrg} # as_fn_exit 287d5d8cc55Smrg 288d5d8cc55Smrg# as_fn_mkdir_p 289d5d8cc55Smrg# ------------- 290d5d8cc55Smrg# Create "$as_dir" as a directory, including parents if necessary. 291d5d8cc55Smrgas_fn_mkdir_p () 292d5d8cc55Smrg{ 293d5d8cc55Smrg 294d5d8cc55Smrg case $as_dir in #( 295d5d8cc55Smrg -*) as_dir=./$as_dir;; 296d5d8cc55Smrg esac 297d5d8cc55Smrg test -d "$as_dir" || eval $as_mkdir_p || { 298d5d8cc55Smrg as_dirs= 299d5d8cc55Smrg while :; do 300d5d8cc55Smrg case $as_dir in #( 301d5d8cc55Smrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 302d5d8cc55Smrg *) as_qdir=$as_dir;; 303d5d8cc55Smrg esac 304d5d8cc55Smrg as_dirs="'$as_qdir' $as_dirs" 305d5d8cc55Smrg as_dir=`$as_dirname -- "$as_dir" || 306d5d8cc55Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 307d5d8cc55Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 308d5d8cc55Smrg X"$as_dir" : 'X\(//\)$' \| \ 309d5d8cc55Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 310d5d8cc55Smrg$as_echo X"$as_dir" | 311d5d8cc55Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 312d5d8cc55Smrg s//\1/ 313d5d8cc55Smrg q 314d5d8cc55Smrg } 315d5d8cc55Smrg /^X\(\/\/\)[^/].*/{ 316d5d8cc55Smrg s//\1/ 317d5d8cc55Smrg q 318d5d8cc55Smrg } 319d5d8cc55Smrg /^X\(\/\/\)$/{ 320d5d8cc55Smrg s//\1/ 321d5d8cc55Smrg q 322d5d8cc55Smrg } 323d5d8cc55Smrg /^X\(\/\).*/{ 324d5d8cc55Smrg s//\1/ 325d5d8cc55Smrg q 326d5d8cc55Smrg } 327d5d8cc55Smrg s/.*/./; q'` 328d5d8cc55Smrg test -d "$as_dir" && break 329d5d8cc55Smrg done 330d5d8cc55Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 331d5d8cc55Smrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 332d5d8cc55Smrg 333d5d8cc55Smrg 334d5d8cc55Smrg} # as_fn_mkdir_p 335d5d8cc55Smrg# as_fn_append VAR VALUE 336d5d8cc55Smrg# ---------------------- 337d5d8cc55Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take 338d5d8cc55Smrg# advantage of any shell optimizations that allow amortized linear growth over 339d5d8cc55Smrg# repeated appends, instead of the typical quadratic growth present in naive 340d5d8cc55Smrg# implementations. 341d5d8cc55Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 342d5d8cc55Smrg eval 'as_fn_append () 343d5d8cc55Smrg { 344d5d8cc55Smrg eval $1+=\$2 345d5d8cc55Smrg }' 346d5d8cc55Smrgelse 347d5d8cc55Smrg as_fn_append () 348d5d8cc55Smrg { 349d5d8cc55Smrg eval $1=\$$1\$2 350d5d8cc55Smrg } 351d5d8cc55Smrgfi # as_fn_append 352d5d8cc55Smrg 353d5d8cc55Smrg# as_fn_arith ARG... 354d5d8cc55Smrg# ------------------ 355d5d8cc55Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the 356d5d8cc55Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 357d5d8cc55Smrg# must be portable across $(()) and expr. 358d5d8cc55Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 359d5d8cc55Smrg eval 'as_fn_arith () 360d5d8cc55Smrg { 361d5d8cc55Smrg as_val=$(( $* )) 362d5d8cc55Smrg }' 363d5d8cc55Smrgelse 364d5d8cc55Smrg as_fn_arith () 365d5d8cc55Smrg { 366d5d8cc55Smrg as_val=`expr "$@" || test $? -eq 1` 367d5d8cc55Smrg } 368d5d8cc55Smrgfi # as_fn_arith 369d5d8cc55Smrg 370d5d8cc55Smrg 371d5d8cc55Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 372d5d8cc55Smrg# ---------------------------------------- 373d5d8cc55Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 374d5d8cc55Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 375d5d8cc55Smrg# script with STATUS, using 1 if that was 0. 376d5d8cc55Smrgas_fn_error () 377d5d8cc55Smrg{ 378d5d8cc55Smrg as_status=$1; test $as_status -eq 0 && as_status=1 379d5d8cc55Smrg if test "$4"; then 380d5d8cc55Smrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 381d5d8cc55Smrg $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 382d5d8cc55Smrg fi 383d5d8cc55Smrg $as_echo "$as_me: error: $2" >&2 384d5d8cc55Smrg as_fn_exit $as_status 385d5d8cc55Smrg} # as_fn_error 386d5d8cc55Smrg 3878ff16396Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 3888ff16396Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 3890bd0e222Smrg as_expr=expr 3900bd0e222Smrgelse 3910bd0e222Smrg as_expr=false 3920bd0e222Smrgfi 3930bd0e222Smrg 3948ff16396Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 3950bd0e222Smrg as_basename=basename 3960bd0e222Smrgelse 3970bd0e222Smrg as_basename=false 3980bd0e222Smrgfi 3990bd0e222Smrg 400d5d8cc55Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 401d5d8cc55Smrg as_dirname=dirname 402d5d8cc55Smrgelse 403d5d8cc55Smrg as_dirname=false 404d5d8cc55Smrgfi 4050bd0e222Smrg 4068ff16396Smrgas_me=`$as_basename -- "$0" || 4070bd0e222Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 4080bd0e222Smrg X"$0" : 'X\(//\)$' \| \ 4098ff16396Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 4108ff16396Smrg$as_echo X/"$0" | 4118ff16396Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 4128ff16396Smrg s//\1/ 4138ff16396Smrg q 4148ff16396Smrg } 4158ff16396Smrg /^X\/\(\/\/\)$/{ 4168ff16396Smrg s//\1/ 4178ff16396Smrg q 4188ff16396Smrg } 4198ff16396Smrg /^X\/\(\/\).*/{ 4208ff16396Smrg s//\1/ 4218ff16396Smrg q 4228ff16396Smrg } 4238ff16396Smrg s/.*/./; q'` 4240bd0e222Smrg 425d5d8cc55Smrg# Avoid depending upon Character Ranges. 426d5d8cc55Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 427d5d8cc55Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 428d5d8cc55Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 429d5d8cc55Smrgas_cr_digits='0123456789' 430d5d8cc55Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 4310bd0e222Smrg 4320bd0e222Smrg 433d5d8cc55Smrg as_lineno_1=$LINENO as_lineno_1a=$LINENO 434d5d8cc55Smrg as_lineno_2=$LINENO as_lineno_2a=$LINENO 435d5d8cc55Smrg eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 436d5d8cc55Smrg test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 437d5d8cc55Smrg # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 438d5d8cc55Smrg sed -n ' 439d5d8cc55Smrg p 440d5d8cc55Smrg /[$]LINENO/= 441d5d8cc55Smrg ' <$as_myself | 442d5d8cc55Smrg sed ' 443d5d8cc55Smrg s/[$]LINENO.*/&-/ 444d5d8cc55Smrg t lineno 445d5d8cc55Smrg b 446d5d8cc55Smrg :lineno 447d5d8cc55Smrg N 448d5d8cc55Smrg :loop 449d5d8cc55Smrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 450d5d8cc55Smrg t loop 451d5d8cc55Smrg s/-\n.*// 452d5d8cc55Smrg ' >$as_me.lineno && 453d5d8cc55Smrg chmod +x "$as_me.lineno" || 454d5d8cc55Smrg { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 4550bd0e222Smrg 456d5d8cc55Smrg # Don't try to exec as it changes $[0], causing all sort of problems 457d5d8cc55Smrg # (the dirname of $[0] is not the place where we might find the 458d5d8cc55Smrg # original and so on. Autoconf is especially sensitive to this). 459d5d8cc55Smrg . "./$as_me.lineno" 460d5d8cc55Smrg # Exit status is that of the last command. 461d5d8cc55Smrg exit 4628ff16396Smrg} 4630bd0e222Smrg 464d5d8cc55SmrgECHO_C= ECHO_N= ECHO_T= 465d5d8cc55Smrgcase `echo -n x` in #((((( 466d5d8cc55Smrg-n*) 467d5d8cc55Smrg case `echo 'xy\c'` in 468d5d8cc55Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 469d5d8cc55Smrg xy) ECHO_C='\c';; 470d5d8cc55Smrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 471d5d8cc55Smrg ECHO_T=' ';; 472d5d8cc55Smrg esac;; 473d5d8cc55Smrg*) 474d5d8cc55Smrg ECHO_N='-n';; 475d5d8cc55Smrgesac 4760bd0e222Smrg 477d5d8cc55Smrgrm -f conf$$ conf$$.exe conf$$.file 478d5d8cc55Smrgif test -d conf$$.dir; then 479d5d8cc55Smrg rm -f conf$$.dir/conf$$.file 480d5d8cc55Smrgelse 481d5d8cc55Smrg rm -f conf$$.dir 482d5d8cc55Smrg mkdir conf$$.dir 2>/dev/null 4838ff16396Smrgfi 484d5d8cc55Smrgif (echo >conf$$.file) 2>/dev/null; then 485d5d8cc55Smrg if ln -s conf$$.file conf$$ 2>/dev/null; then 486d5d8cc55Smrg as_ln_s='ln -s' 487d5d8cc55Smrg # ... but there are two gotchas: 488d5d8cc55Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 489d5d8cc55Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 490d5d8cc55Smrg # In both cases, we have to default to `cp -p'. 491d5d8cc55Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 492d5d8cc55Smrg as_ln_s='cp -p' 493d5d8cc55Smrg elif ln conf$$.file conf$$ 2>/dev/null; then 494d5d8cc55Smrg as_ln_s=ln 495d5d8cc55Smrg else 496d5d8cc55Smrg as_ln_s='cp -p' 497d5d8cc55Smrg fi 4988ff16396Smrgelse 499d5d8cc55Smrg as_ln_s='cp -p' 5008ff16396Smrgfi 501d5d8cc55Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 502d5d8cc55Smrgrmdir conf$$.dir 2>/dev/null 5038ff16396Smrg 504d5d8cc55Smrgif mkdir -p . 2>/dev/null; then 505d5d8cc55Smrg as_mkdir_p='mkdir -p "$as_dir"' 506d5d8cc55Smrgelse 507d5d8cc55Smrg test -d ./-p && rmdir ./-p 508d5d8cc55Smrg as_mkdir_p=false 5098ff16396Smrgfi 5108ff16396Smrg 511d5d8cc55Smrgif test -x / >/dev/null 2>&1; then 512d5d8cc55Smrg as_test_x='test -x' 5138ff16396Smrgelse 514d5d8cc55Smrg if ls -dL / >/dev/null 2>&1; then 515d5d8cc55Smrg as_ls_L_option=L 516d5d8cc55Smrg else 517d5d8cc55Smrg as_ls_L_option= 518d5d8cc55Smrg fi 519d5d8cc55Smrg as_test_x=' 520d5d8cc55Smrg eval sh -c '\'' 521d5d8cc55Smrg if test -d "$1"; then 522d5d8cc55Smrg test -d "$1/."; 523d5d8cc55Smrg else 524d5d8cc55Smrg case $1 in #( 525d5d8cc55Smrg -*)set "./$1";; 526d5d8cc55Smrg esac; 527d5d8cc55Smrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 528d5d8cc55Smrg ???[sx]*):;;*)false;;esac;fi 529d5d8cc55Smrg '\'' sh 530d5d8cc55Smrg ' 5318ff16396Smrgfi 532d5d8cc55Smrgas_executable_p=$as_test_x 5338ff16396Smrg 534d5d8cc55Smrg# Sed expression to map a string onto a valid CPP name. 535d5d8cc55Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5368ff16396Smrg 537d5d8cc55Smrg# Sed expression to map a string onto a valid variable name. 538d5d8cc55Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5398ff16396Smrg 5408ff16396Smrg 541d5d8cc55Smrgtest -n "$DJDIR" || exec 7<&0 </dev/null 542d5d8cc55Smrgexec 6>&1 5430bd0e222Smrg 5440bd0e222Smrg# Name of the host. 545d5d8cc55Smrg# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 5460bd0e222Smrg# so uname gets run too. 5470bd0e222Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 5480bd0e222Smrg 5490bd0e222Smrg# 5500bd0e222Smrg# Initializations. 5510bd0e222Smrg# 5520bd0e222Smrgac_default_prefix=/usr/local 5538ff16396Smrgac_clean_files= 5540bd0e222Smrgac_config_libobj_dir=. 5558ff16396SmrgLIBOBJS= 5560bd0e222Smrgcross_compiling=no 5570bd0e222Smrgsubdirs= 5580bd0e222SmrgMFLAGS= 5590bd0e222SmrgMAKEFLAGS= 5600bd0e222Smrg 5610bd0e222Smrg# Identity of this package. 5620bd0e222SmrgPACKAGE_NAME='font-jis-misc' 5630bd0e222SmrgPACKAGE_TARNAME='font-jis-misc' 564d5d8cc55SmrgPACKAGE_VERSION='1.0.3' 565d5d8cc55SmrgPACKAGE_STRING='font-jis-misc 1.0.3' 5660bd0e222SmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 567d5d8cc55SmrgPACKAGE_URL='' 5680bd0e222Smrg 5698ff16396Smrg# Factoring default headers for most tests. 5708ff16396Smrgac_includes_default="\ 5718ff16396Smrg#include <stdio.h> 5728ff16396Smrg#ifdef HAVE_SYS_TYPES_H 5738ff16396Smrg# include <sys/types.h> 5748ff16396Smrg#endif 5758ff16396Smrg#ifdef HAVE_SYS_STAT_H 5768ff16396Smrg# include <sys/stat.h> 5778ff16396Smrg#endif 5788ff16396Smrg#ifdef STDC_HEADERS 5798ff16396Smrg# include <stdlib.h> 5808ff16396Smrg# include <stddef.h> 5818ff16396Smrg#else 5828ff16396Smrg# ifdef HAVE_STDLIB_H 5838ff16396Smrg# include <stdlib.h> 5848ff16396Smrg# endif 5858ff16396Smrg#endif 5868ff16396Smrg#ifdef HAVE_STRING_H 5878ff16396Smrg# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 5888ff16396Smrg# include <memory.h> 5898ff16396Smrg# endif 5908ff16396Smrg# include <string.h> 5918ff16396Smrg#endif 5928ff16396Smrg#ifdef HAVE_STRINGS_H 5938ff16396Smrg# include <strings.h> 5948ff16396Smrg#endif 5958ff16396Smrg#ifdef HAVE_INTTYPES_H 5968ff16396Smrg# include <inttypes.h> 5978ff16396Smrg#endif 5988ff16396Smrg#ifdef HAVE_STDINT_H 5998ff16396Smrg# include <stdint.h> 6008ff16396Smrg#endif 6018ff16396Smrg#ifdef HAVE_UNISTD_H 6028ff16396Smrg# include <unistd.h> 6038ff16396Smrg#endif" 6048ff16396Smrg 6058ff16396Smrgac_subst_vars='am__EXEEXT_FALSE 6068ff16396Smrgam__EXEEXT_TRUE 6078ff16396SmrgLTLIBOBJS 6088ff16396SmrgLIBOBJS 6098ff16396SmrgCOMPRESS_SUFFIX 6108ff16396SmrgCOMPRESS 6118ff16396SmrgBDFTOPCF 6128ff16396SmrgMKFONTDIR 6138ff16396SmrgRUN_FCCACHE 6148ff16396SmrgFCCACHE 6158ff16396SmrgFONTDIR 6168ff16396SmrgFONTROOTDIR 617d5d8cc55SmrgAM_BACKSLASH 618d5d8cc55SmrgAM_DEFAULT_VERBOSITY 619d5d8cc55SmrgMAN_SUBSTS 620d5d8cc55SmrgXORG_MAN_PAGE 6218ff16396SmrgADMIN_MAN_DIR 6228ff16396SmrgDRIVER_MAN_DIR 6238ff16396SmrgMISC_MAN_DIR 6248ff16396SmrgFILE_MAN_DIR 6258ff16396SmrgLIB_MAN_DIR 6268ff16396SmrgAPP_MAN_DIR 6278ff16396SmrgADMIN_MAN_SUFFIX 6288ff16396SmrgDRIVER_MAN_SUFFIX 6298ff16396SmrgMISC_MAN_SUFFIX 6308ff16396SmrgFILE_MAN_SUFFIX 6318ff16396SmrgLIB_MAN_SUFFIX 6328ff16396SmrgAPP_MAN_SUFFIX 633d5d8cc55SmrgSED 6348ff16396Smrghost_os 6358ff16396Smrghost_vendor 6368ff16396Smrghost_cpu 6378ff16396Smrghost 6388ff16396Smrgbuild_os 6398ff16396Smrgbuild_vendor 6408ff16396Smrgbuild_cpu 6418ff16396Smrgbuild 642d5d8cc55SmrgINSTALL_CMD 643d5d8cc55SmrgPKG_CONFIG_LIBDIR 644d5d8cc55SmrgPKG_CONFIG_PATH 645d5d8cc55SmrgPKG_CONFIG 6468ff16396SmrgCHANGELOG_CMD 6478ff16396SmrgCWARNFLAGS 6488ff16396SmrgEGREP 6498ff16396SmrgGREP 6508ff16396SmrgCPP 6518ff16396Smrgam__fastdepCC_FALSE 6528ff16396Smrgam__fastdepCC_TRUE 6538ff16396SmrgCCDEPMODE 6548ff16396SmrgAMDEPBACKSLASH 6558ff16396SmrgAMDEP_FALSE 6568ff16396SmrgAMDEP_TRUE 6578ff16396Smrgam__quote 6588ff16396Smrgam__include 6598ff16396SmrgDEPDIR 6608ff16396SmrgOBJEXT 6618ff16396SmrgEXEEXT 6628ff16396Smrgac_ct_CC 6638ff16396SmrgCPPFLAGS 6648ff16396SmrgLDFLAGS 6658ff16396SmrgCFLAGS 6668ff16396SmrgCC 6678ff16396SmrgMAINT 6688ff16396SmrgMAINTAINER_MODE_FALSE 6698ff16396SmrgMAINTAINER_MODE_TRUE 6708ff16396Smrgam__untar 6718ff16396Smrgam__tar 6728ff16396SmrgAMTAR 6738ff16396Smrgam__leading_dot 6748ff16396SmrgSET_MAKE 6758ff16396SmrgAWK 6768ff16396Smrgmkdir_p 6778ff16396SmrgMKDIR_P 6788ff16396SmrgINSTALL_STRIP_PROGRAM 6798ff16396SmrgSTRIP 6808ff16396Smrginstall_sh 6818ff16396SmrgMAKEINFO 6828ff16396SmrgAUTOHEADER 6838ff16396SmrgAUTOMAKE 6848ff16396SmrgAUTOCONF 6858ff16396SmrgACLOCAL 6868ff16396SmrgVERSION 6878ff16396SmrgPACKAGE 6888ff16396SmrgCYGPATH_W 6898ff16396Smrgam__isrc 6908ff16396SmrgINSTALL_DATA 6918ff16396SmrgINSTALL_SCRIPT 6928ff16396SmrgINSTALL_PROGRAM 6938ff16396Smrgtarget_alias 6948ff16396Smrghost_alias 6958ff16396Smrgbuild_alias 6968ff16396SmrgLIBS 6978ff16396SmrgECHO_T 6988ff16396SmrgECHO_N 6998ff16396SmrgECHO_C 7008ff16396SmrgDEFS 7018ff16396Smrgmandir 7028ff16396Smrglocaledir 7038ff16396Smrglibdir 7048ff16396Smrgpsdir 7058ff16396Smrgpdfdir 7068ff16396Smrgdvidir 7078ff16396Smrghtmldir 7088ff16396Smrginfodir 7098ff16396Smrgdocdir 7108ff16396Smrgoldincludedir 7118ff16396Smrgincludedir 7128ff16396Smrglocalstatedir 7138ff16396Smrgsharedstatedir 7148ff16396Smrgsysconfdir 7158ff16396Smrgdatadir 7168ff16396Smrgdatarootdir 7178ff16396Smrglibexecdir 7188ff16396Smrgsbindir 7198ff16396Smrgbindir 7208ff16396Smrgprogram_transform_name 7218ff16396Smrgprefix 7228ff16396Smrgexec_prefix 723d5d8cc55SmrgPACKAGE_URL 7248ff16396SmrgPACKAGE_BUGREPORT 7258ff16396SmrgPACKAGE_STRING 7268ff16396SmrgPACKAGE_VERSION 7278ff16396SmrgPACKAGE_TARNAME 7288ff16396SmrgPACKAGE_NAME 7298ff16396SmrgPATH_SEPARATOR 7308ff16396SmrgSHELL' 7310bd0e222Smrgac_subst_files='' 7328ff16396Smrgac_user_opts=' 7338ff16396Smrgenable_option_checking 7348ff16396Smrgenable_maintainer_mode 7358ff16396Smrgenable_dependency_tracking 7368ff16396Smrgenable_strict_compilation 737d5d8cc55Smrgenable_silent_rules 7388ff16396Smrgwith_fontrootdir 7398ff16396Smrgwith_fontdir 7408ff16396Smrgwith_compression 7418ff16396Smrg' 7428ff16396Smrg ac_precious_vars='build_alias 7438ff16396Smrghost_alias 7448ff16396Smrgtarget_alias 7458ff16396SmrgCC 7468ff16396SmrgCFLAGS 7478ff16396SmrgLDFLAGS 7488ff16396SmrgLIBS 7498ff16396SmrgCPPFLAGS 7508ff16396SmrgCPP 751d5d8cc55SmrgPKG_CONFIG 752d5d8cc55SmrgPKG_CONFIG_PATH 753d5d8cc55SmrgPKG_CONFIG_LIBDIR' 7548ff16396Smrg 7550bd0e222Smrg 7560bd0e222Smrg# Initialize some variables set by options. 7570bd0e222Smrgac_init_help= 7580bd0e222Smrgac_init_version=false 7598ff16396Smrgac_unrecognized_opts= 7608ff16396Smrgac_unrecognized_sep= 7610bd0e222Smrg# The variables have the same names as the options, with 7620bd0e222Smrg# dashes changed to underlines. 7630bd0e222Smrgcache_file=/dev/null 7640bd0e222Smrgexec_prefix=NONE 7650bd0e222Smrgno_create= 7660bd0e222Smrgno_recursion= 7670bd0e222Smrgprefix=NONE 7680bd0e222Smrgprogram_prefix=NONE 7690bd0e222Smrgprogram_suffix=NONE 7700bd0e222Smrgprogram_transform_name=s,x,x, 7710bd0e222Smrgsilent= 7720bd0e222Smrgsite= 7730bd0e222Smrgsrcdir= 7740bd0e222Smrgverbose= 7750bd0e222Smrgx_includes=NONE 7760bd0e222Smrgx_libraries=NONE 7770bd0e222Smrg 7780bd0e222Smrg# Installation directory options. 7790bd0e222Smrg# These are left unexpanded so users can "make install exec_prefix=/foo" 7800bd0e222Smrg# and all the variables that are supposed to be based on exec_prefix 7810bd0e222Smrg# by default will actually change. 7820bd0e222Smrg# Use braces instead of parens because sh, perl, etc. also accept them. 7838ff16396Smrg# (The list follows the same order as the GNU Coding Standards.) 7840bd0e222Smrgbindir='${exec_prefix}/bin' 7850bd0e222Smrgsbindir='${exec_prefix}/sbin' 7860bd0e222Smrglibexecdir='${exec_prefix}/libexec' 7878ff16396Smrgdatarootdir='${prefix}/share' 7888ff16396Smrgdatadir='${datarootdir}' 7890bd0e222Smrgsysconfdir='${prefix}/etc' 7900bd0e222Smrgsharedstatedir='${prefix}/com' 7910bd0e222Smrglocalstatedir='${prefix}/var' 7920bd0e222Smrgincludedir='${prefix}/include' 7930bd0e222Smrgoldincludedir='/usr/include' 7948ff16396Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 7958ff16396Smrginfodir='${datarootdir}/info' 7968ff16396Smrghtmldir='${docdir}' 7978ff16396Smrgdvidir='${docdir}' 7988ff16396Smrgpdfdir='${docdir}' 7998ff16396Smrgpsdir='${docdir}' 8008ff16396Smrglibdir='${exec_prefix}/lib' 8018ff16396Smrglocaledir='${datarootdir}/locale' 8028ff16396Smrgmandir='${datarootdir}/man' 8030bd0e222Smrg 8040bd0e222Smrgac_prev= 8058ff16396Smrgac_dashdash= 8060bd0e222Smrgfor ac_option 8070bd0e222Smrgdo 8080bd0e222Smrg # If the previous option needs an argument, assign it. 8090bd0e222Smrg if test -n "$ac_prev"; then 8108ff16396Smrg eval $ac_prev=\$ac_option 8110bd0e222Smrg ac_prev= 8120bd0e222Smrg continue 8130bd0e222Smrg fi 8140bd0e222Smrg 8158ff16396Smrg case $ac_option in 816d5d8cc55Smrg *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 817d5d8cc55Smrg *=) ac_optarg= ;; 818d5d8cc55Smrg *) ac_optarg=yes ;; 8198ff16396Smrg esac 8200bd0e222Smrg 8210bd0e222Smrg # Accept the important Cygnus configure options, so we can diagnose typos. 8220bd0e222Smrg 8238ff16396Smrg case $ac_dashdash$ac_option in 8248ff16396Smrg --) 8258ff16396Smrg ac_dashdash=yes ;; 8260bd0e222Smrg 8270bd0e222Smrg -bindir | --bindir | --bindi | --bind | --bin | --bi) 8280bd0e222Smrg ac_prev=bindir ;; 8290bd0e222Smrg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 8300bd0e222Smrg bindir=$ac_optarg ;; 8310bd0e222Smrg 8320bd0e222Smrg -build | --build | --buil | --bui | --bu) 8330bd0e222Smrg ac_prev=build_alias ;; 8340bd0e222Smrg -build=* | --build=* | --buil=* | --bui=* | --bu=*) 8350bd0e222Smrg build_alias=$ac_optarg ;; 8360bd0e222Smrg 8370bd0e222Smrg -cache-file | --cache-file | --cache-fil | --cache-fi \ 8380bd0e222Smrg | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 8390bd0e222Smrg ac_prev=cache_file ;; 8400bd0e222Smrg -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 8410bd0e222Smrg | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 8420bd0e222Smrg cache_file=$ac_optarg ;; 8430bd0e222Smrg 8440bd0e222Smrg --config-cache | -C) 8450bd0e222Smrg cache_file=config.cache ;; 8460bd0e222Smrg 8478ff16396Smrg -datadir | --datadir | --datadi | --datad) 8480bd0e222Smrg ac_prev=datadir ;; 8498ff16396Smrg -datadir=* | --datadir=* | --datadi=* | --datad=*) 8500bd0e222Smrg datadir=$ac_optarg ;; 8510bd0e222Smrg 8528ff16396Smrg -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 8538ff16396Smrg | --dataroo | --dataro | --datar) 8548ff16396Smrg ac_prev=datarootdir ;; 8558ff16396Smrg -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 8568ff16396Smrg | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 8578ff16396Smrg datarootdir=$ac_optarg ;; 8588ff16396Smrg 8590bd0e222Smrg -disable-* | --disable-*) 8608ff16396Smrg ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 8610bd0e222Smrg # Reject names that are not valid shell variable names. 8628ff16396Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 863d5d8cc55Smrg as_fn_error $? "invalid feature name: $ac_useropt" 8648ff16396Smrg ac_useropt_orig=$ac_useropt 8658ff16396Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 8668ff16396Smrg case $ac_user_opts in 8678ff16396Smrg *" 8688ff16396Smrg"enable_$ac_useropt" 8698ff16396Smrg"*) ;; 8708ff16396Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 8718ff16396Smrg ac_unrecognized_sep=', ';; 8728ff16396Smrg esac 8738ff16396Smrg eval enable_$ac_useropt=no ;; 8748ff16396Smrg 8758ff16396Smrg -docdir | --docdir | --docdi | --doc | --do) 8768ff16396Smrg ac_prev=docdir ;; 8778ff16396Smrg -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 8788ff16396Smrg docdir=$ac_optarg ;; 8798ff16396Smrg 8808ff16396Smrg -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 8818ff16396Smrg ac_prev=dvidir ;; 8828ff16396Smrg -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 8838ff16396Smrg dvidir=$ac_optarg ;; 8840bd0e222Smrg 8850bd0e222Smrg -enable-* | --enable-*) 8868ff16396Smrg ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 8870bd0e222Smrg # Reject names that are not valid shell variable names. 8888ff16396Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 889d5d8cc55Smrg as_fn_error $? "invalid feature name: $ac_useropt" 8908ff16396Smrg ac_useropt_orig=$ac_useropt 8918ff16396Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 8928ff16396Smrg case $ac_user_opts in 8938ff16396Smrg *" 8948ff16396Smrg"enable_$ac_useropt" 8958ff16396Smrg"*) ;; 8968ff16396Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 8978ff16396Smrg ac_unrecognized_sep=', ';; 8980bd0e222Smrg esac 8998ff16396Smrg eval enable_$ac_useropt=\$ac_optarg ;; 9000bd0e222Smrg 9010bd0e222Smrg -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 9020bd0e222Smrg | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 9030bd0e222Smrg | --exec | --exe | --ex) 9040bd0e222Smrg ac_prev=exec_prefix ;; 9050bd0e222Smrg -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 9060bd0e222Smrg | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 9070bd0e222Smrg | --exec=* | --exe=* | --ex=*) 9080bd0e222Smrg exec_prefix=$ac_optarg ;; 9090bd0e222Smrg 9100bd0e222Smrg -gas | --gas | --ga | --g) 9110bd0e222Smrg # Obsolete; use --with-gas. 9120bd0e222Smrg with_gas=yes ;; 9130bd0e222Smrg 9140bd0e222Smrg -help | --help | --hel | --he | -h) 9150bd0e222Smrg ac_init_help=long ;; 9160bd0e222Smrg -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 9170bd0e222Smrg ac_init_help=recursive ;; 9180bd0e222Smrg -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 9190bd0e222Smrg ac_init_help=short ;; 9200bd0e222Smrg 9210bd0e222Smrg -host | --host | --hos | --ho) 9220bd0e222Smrg ac_prev=host_alias ;; 9230bd0e222Smrg -host=* | --host=* | --hos=* | --ho=*) 9240bd0e222Smrg host_alias=$ac_optarg ;; 9250bd0e222Smrg 9268ff16396Smrg -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 9278ff16396Smrg ac_prev=htmldir ;; 9288ff16396Smrg -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 9298ff16396Smrg | --ht=*) 9308ff16396Smrg htmldir=$ac_optarg ;; 9318ff16396Smrg 9320bd0e222Smrg -includedir | --includedir | --includedi | --included | --include \ 9330bd0e222Smrg | --includ | --inclu | --incl | --inc) 9340bd0e222Smrg ac_prev=includedir ;; 9350bd0e222Smrg -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 9360bd0e222Smrg | --includ=* | --inclu=* | --incl=* | --inc=*) 9370bd0e222Smrg includedir=$ac_optarg ;; 9380bd0e222Smrg 9390bd0e222Smrg -infodir | --infodir | --infodi | --infod | --info | --inf) 9400bd0e222Smrg ac_prev=infodir ;; 9410bd0e222Smrg -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 9420bd0e222Smrg infodir=$ac_optarg ;; 9430bd0e222Smrg 9440bd0e222Smrg -libdir | --libdir | --libdi | --libd) 9450bd0e222Smrg ac_prev=libdir ;; 9460bd0e222Smrg -libdir=* | --libdir=* | --libdi=* | --libd=*) 9470bd0e222Smrg libdir=$ac_optarg ;; 9480bd0e222Smrg 9490bd0e222Smrg -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 9500bd0e222Smrg | --libexe | --libex | --libe) 9510bd0e222Smrg ac_prev=libexecdir ;; 9520bd0e222Smrg -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 9530bd0e222Smrg | --libexe=* | --libex=* | --libe=*) 9540bd0e222Smrg libexecdir=$ac_optarg ;; 9550bd0e222Smrg 9568ff16396Smrg -localedir | --localedir | --localedi | --localed | --locale) 9578ff16396Smrg ac_prev=localedir ;; 9588ff16396Smrg -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 9598ff16396Smrg localedir=$ac_optarg ;; 9608ff16396Smrg 9610bd0e222Smrg -localstatedir | --localstatedir | --localstatedi | --localstated \ 9628ff16396Smrg | --localstate | --localstat | --localsta | --localst | --locals) 9630bd0e222Smrg ac_prev=localstatedir ;; 9640bd0e222Smrg -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 9658ff16396Smrg | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 9660bd0e222Smrg localstatedir=$ac_optarg ;; 9670bd0e222Smrg 9680bd0e222Smrg -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 9690bd0e222Smrg ac_prev=mandir ;; 9700bd0e222Smrg -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 9710bd0e222Smrg mandir=$ac_optarg ;; 9720bd0e222Smrg 9730bd0e222Smrg -nfp | --nfp | --nf) 9740bd0e222Smrg # Obsolete; use --without-fp. 9750bd0e222Smrg with_fp=no ;; 9760bd0e222Smrg 9770bd0e222Smrg -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 9780bd0e222Smrg | --no-cr | --no-c | -n) 9790bd0e222Smrg no_create=yes ;; 9800bd0e222Smrg 9810bd0e222Smrg -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 9820bd0e222Smrg | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 9830bd0e222Smrg no_recursion=yes ;; 9840bd0e222Smrg 9850bd0e222Smrg -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 9860bd0e222Smrg | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 9870bd0e222Smrg | --oldin | --oldi | --old | --ol | --o) 9880bd0e222Smrg ac_prev=oldincludedir ;; 9890bd0e222Smrg -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 9900bd0e222Smrg | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 9910bd0e222Smrg | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 9920bd0e222Smrg oldincludedir=$ac_optarg ;; 9930bd0e222Smrg 9940bd0e222Smrg -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 9950bd0e222Smrg ac_prev=prefix ;; 9960bd0e222Smrg -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 9970bd0e222Smrg prefix=$ac_optarg ;; 9980bd0e222Smrg 9990bd0e222Smrg -program-prefix | --program-prefix | --program-prefi | --program-pref \ 10000bd0e222Smrg | --program-pre | --program-pr | --program-p) 10010bd0e222Smrg ac_prev=program_prefix ;; 10020bd0e222Smrg -program-prefix=* | --program-prefix=* | --program-prefi=* \ 10030bd0e222Smrg | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 10040bd0e222Smrg program_prefix=$ac_optarg ;; 10050bd0e222Smrg 10060bd0e222Smrg -program-suffix | --program-suffix | --program-suffi | --program-suff \ 10070bd0e222Smrg | --program-suf | --program-su | --program-s) 10080bd0e222Smrg ac_prev=program_suffix ;; 10090bd0e222Smrg -program-suffix=* | --program-suffix=* | --program-suffi=* \ 10100bd0e222Smrg | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 10110bd0e222Smrg program_suffix=$ac_optarg ;; 10120bd0e222Smrg 10130bd0e222Smrg -program-transform-name | --program-transform-name \ 10140bd0e222Smrg | --program-transform-nam | --program-transform-na \ 10150bd0e222Smrg | --program-transform-n | --program-transform- \ 10160bd0e222Smrg | --program-transform | --program-transfor \ 10170bd0e222Smrg | --program-transfo | --program-transf \ 10180bd0e222Smrg | --program-trans | --program-tran \ 10190bd0e222Smrg | --progr-tra | --program-tr | --program-t) 10200bd0e222Smrg ac_prev=program_transform_name ;; 10210bd0e222Smrg -program-transform-name=* | --program-transform-name=* \ 10220bd0e222Smrg | --program-transform-nam=* | --program-transform-na=* \ 10230bd0e222Smrg | --program-transform-n=* | --program-transform-=* \ 10240bd0e222Smrg | --program-transform=* | --program-transfor=* \ 10250bd0e222Smrg | --program-transfo=* | --program-transf=* \ 10260bd0e222Smrg | --program-trans=* | --program-tran=* \ 10270bd0e222Smrg | --progr-tra=* | --program-tr=* | --program-t=*) 10280bd0e222Smrg program_transform_name=$ac_optarg ;; 10290bd0e222Smrg 10308ff16396Smrg -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 10318ff16396Smrg ac_prev=pdfdir ;; 10328ff16396Smrg -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 10338ff16396Smrg pdfdir=$ac_optarg ;; 10348ff16396Smrg 10358ff16396Smrg -psdir | --psdir | --psdi | --psd | --ps) 10368ff16396Smrg ac_prev=psdir ;; 10378ff16396Smrg -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 10388ff16396Smrg psdir=$ac_optarg ;; 10398ff16396Smrg 10400bd0e222Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 10410bd0e222Smrg | -silent | --silent | --silen | --sile | --sil) 10420bd0e222Smrg silent=yes ;; 10430bd0e222Smrg 10440bd0e222Smrg -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 10450bd0e222Smrg ac_prev=sbindir ;; 10460bd0e222Smrg -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 10470bd0e222Smrg | --sbi=* | --sb=*) 10480bd0e222Smrg sbindir=$ac_optarg ;; 10490bd0e222Smrg 10500bd0e222Smrg -sharedstatedir | --sharedstatedir | --sharedstatedi \ 10510bd0e222Smrg | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 10520bd0e222Smrg | --sharedst | --shareds | --shared | --share | --shar \ 10530bd0e222Smrg | --sha | --sh) 10540bd0e222Smrg ac_prev=sharedstatedir ;; 10550bd0e222Smrg -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 10560bd0e222Smrg | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 10570bd0e222Smrg | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 10580bd0e222Smrg | --sha=* | --sh=*) 10590bd0e222Smrg sharedstatedir=$ac_optarg ;; 10600bd0e222Smrg 10610bd0e222Smrg -site | --site | --sit) 10620bd0e222Smrg ac_prev=site ;; 10630bd0e222Smrg -site=* | --site=* | --sit=*) 10640bd0e222Smrg site=$ac_optarg ;; 10650bd0e222Smrg 10660bd0e222Smrg -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 10670bd0e222Smrg ac_prev=srcdir ;; 10680bd0e222Smrg -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 10690bd0e222Smrg srcdir=$ac_optarg ;; 10700bd0e222Smrg 10710bd0e222Smrg -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 10720bd0e222Smrg | --syscon | --sysco | --sysc | --sys | --sy) 10730bd0e222Smrg ac_prev=sysconfdir ;; 10740bd0e222Smrg -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 10750bd0e222Smrg | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 10760bd0e222Smrg sysconfdir=$ac_optarg ;; 10770bd0e222Smrg 10780bd0e222Smrg -target | --target | --targe | --targ | --tar | --ta | --t) 10790bd0e222Smrg ac_prev=target_alias ;; 10800bd0e222Smrg -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 10810bd0e222Smrg target_alias=$ac_optarg ;; 10820bd0e222Smrg 10830bd0e222Smrg -v | -verbose | --verbose | --verbos | --verbo | --verb) 10840bd0e222Smrg verbose=yes ;; 10850bd0e222Smrg 10860bd0e222Smrg -version | --version | --versio | --versi | --vers | -V) 10870bd0e222Smrg ac_init_version=: ;; 10880bd0e222Smrg 10890bd0e222Smrg -with-* | --with-*) 10908ff16396Smrg ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 10910bd0e222Smrg # Reject names that are not valid shell variable names. 10928ff16396Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1093d5d8cc55Smrg as_fn_error $? "invalid package name: $ac_useropt" 10948ff16396Smrg ac_useropt_orig=$ac_useropt 10958ff16396Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 10968ff16396Smrg case $ac_user_opts in 10978ff16396Smrg *" 10988ff16396Smrg"with_$ac_useropt" 10998ff16396Smrg"*) ;; 11008ff16396Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 11018ff16396Smrg ac_unrecognized_sep=', ';; 11020bd0e222Smrg esac 11038ff16396Smrg eval with_$ac_useropt=\$ac_optarg ;; 11040bd0e222Smrg 11050bd0e222Smrg -without-* | --without-*) 11068ff16396Smrg ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 11070bd0e222Smrg # Reject names that are not valid shell variable names. 11088ff16396Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1109d5d8cc55Smrg as_fn_error $? "invalid package name: $ac_useropt" 11108ff16396Smrg ac_useropt_orig=$ac_useropt 11118ff16396Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 11128ff16396Smrg case $ac_user_opts in 11138ff16396Smrg *" 11148ff16396Smrg"with_$ac_useropt" 11158ff16396Smrg"*) ;; 11168ff16396Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 11178ff16396Smrg ac_unrecognized_sep=', ';; 11188ff16396Smrg esac 11198ff16396Smrg eval with_$ac_useropt=no ;; 11200bd0e222Smrg 11210bd0e222Smrg --x) 11220bd0e222Smrg # Obsolete; use --with-x. 11230bd0e222Smrg with_x=yes ;; 11240bd0e222Smrg 11250bd0e222Smrg -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 11260bd0e222Smrg | --x-incl | --x-inc | --x-in | --x-i) 11270bd0e222Smrg ac_prev=x_includes ;; 11280bd0e222Smrg -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 11290bd0e222Smrg | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 11300bd0e222Smrg x_includes=$ac_optarg ;; 11310bd0e222Smrg 11320bd0e222Smrg -x-libraries | --x-libraries | --x-librarie | --x-librari \ 11330bd0e222Smrg | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 11340bd0e222Smrg ac_prev=x_libraries ;; 11350bd0e222Smrg -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 11360bd0e222Smrg | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 11370bd0e222Smrg x_libraries=$ac_optarg ;; 11380bd0e222Smrg 1139d5d8cc55Smrg -*) as_fn_error $? "unrecognized option: \`$ac_option' 1140d5d8cc55SmrgTry \`$0 --help' for more information" 11410bd0e222Smrg ;; 11420bd0e222Smrg 11430bd0e222Smrg *=*) 11440bd0e222Smrg ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 11450bd0e222Smrg # Reject names that are not valid shell variable names. 1146d5d8cc55Smrg case $ac_envvar in #( 1147d5d8cc55Smrg '' | [0-9]* | *[!_$as_cr_alnum]* ) 1148d5d8cc55Smrg as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1149d5d8cc55Smrg esac 11508ff16396Smrg eval $ac_envvar=\$ac_optarg 11510bd0e222Smrg export $ac_envvar ;; 11520bd0e222Smrg 11530bd0e222Smrg *) 11540bd0e222Smrg # FIXME: should be removed in autoconf 3.0. 11558ff16396Smrg $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 11560bd0e222Smrg expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 11578ff16396Smrg $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1158d5d8cc55Smrg : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 11590bd0e222Smrg ;; 11600bd0e222Smrg 11610bd0e222Smrg esac 11620bd0e222Smrgdone 11630bd0e222Smrg 11640bd0e222Smrgif test -n "$ac_prev"; then 11650bd0e222Smrg ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1166d5d8cc55Smrg as_fn_error $? "missing argument to $ac_option" 11670bd0e222Smrgfi 11680bd0e222Smrg 11698ff16396Smrgif test -n "$ac_unrecognized_opts"; then 11708ff16396Smrg case $enable_option_checking in 11718ff16396Smrg no) ;; 1172d5d8cc55Smrg fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 11738ff16396Smrg *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 11740bd0e222Smrg esac 11758ff16396Smrgfi 11760bd0e222Smrg 11778ff16396Smrg# Check all directory arguments for consistency. 11788ff16396Smrgfor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 11798ff16396Smrg datadir sysconfdir sharedstatedir localstatedir includedir \ 11808ff16396Smrg oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 11818ff16396Smrg libdir localedir mandir 11820bd0e222Smrgdo 11838ff16396Smrg eval ac_val=\$$ac_var 11848ff16396Smrg # Remove trailing slashes. 11850bd0e222Smrg case $ac_val in 11868ff16396Smrg */ ) 11878ff16396Smrg ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 11888ff16396Smrg eval $ac_var=\$ac_val;; 11898ff16396Smrg esac 11908ff16396Smrg # Be sure to have absolute directory names. 11918ff16396Smrg case $ac_val in 11928ff16396Smrg [\\/$]* | ?:[\\/]* ) continue;; 11938ff16396Smrg NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 11940bd0e222Smrg esac 1195d5d8cc55Smrg as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 11960bd0e222Smrgdone 11970bd0e222Smrg 11980bd0e222Smrg# There might be people who depend on the old broken behavior: `$host' 11990bd0e222Smrg# used to hold the argument of --host etc. 12000bd0e222Smrg# FIXME: To remove some day. 12010bd0e222Smrgbuild=$build_alias 12020bd0e222Smrghost=$host_alias 12030bd0e222Smrgtarget=$target_alias 12040bd0e222Smrg 12050bd0e222Smrg# FIXME: To remove some day. 12060bd0e222Smrgif test "x$host_alias" != x; then 12070bd0e222Smrg if test "x$build_alias" = x; then 12080bd0e222Smrg cross_compiling=maybe 1209d5d8cc55Smrg $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1210d5d8cc55Smrg If a cross compiler is detected then cross compile mode will be used" >&2 12110bd0e222Smrg elif test "x$build_alias" != "x$host_alias"; then 12120bd0e222Smrg cross_compiling=yes 12130bd0e222Smrg fi 12140bd0e222Smrgfi 12150bd0e222Smrg 12160bd0e222Smrgac_tool_prefix= 12170bd0e222Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias- 12180bd0e222Smrg 12190bd0e222Smrgtest "$silent" = yes && exec 6>/dev/null 12200bd0e222Smrg 12210bd0e222Smrg 12228ff16396Smrgac_pwd=`pwd` && test -n "$ac_pwd" && 12238ff16396Smrgac_ls_di=`ls -di .` && 12248ff16396Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1225d5d8cc55Smrg as_fn_error $? "working directory cannot be determined" 12268ff16396Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1227d5d8cc55Smrg as_fn_error $? "pwd does not report name of working directory" 12288ff16396Smrg 12298ff16396Smrg 12300bd0e222Smrg# Find the source files, if location was not specified. 12310bd0e222Smrgif test -z "$srcdir"; then 12320bd0e222Smrg ac_srcdir_defaulted=yes 12338ff16396Smrg # Try the directory containing this script, then the parent directory. 12348ff16396Smrg ac_confdir=`$as_dirname -- "$as_myself" || 12358ff16396Smrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12368ff16396Smrg X"$as_myself" : 'X\(//\)[^/]' \| \ 12378ff16396Smrg X"$as_myself" : 'X\(//\)$' \| \ 12388ff16396Smrg X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 12398ff16396Smrg$as_echo X"$as_myself" | 12408ff16396Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12418ff16396Smrg s//\1/ 12428ff16396Smrg q 12438ff16396Smrg } 12448ff16396Smrg /^X\(\/\/\)[^/].*/{ 12458ff16396Smrg s//\1/ 12468ff16396Smrg q 12478ff16396Smrg } 12488ff16396Smrg /^X\(\/\/\)$/{ 12498ff16396Smrg s//\1/ 12508ff16396Smrg q 12518ff16396Smrg } 12528ff16396Smrg /^X\(\/\).*/{ 12538ff16396Smrg s//\1/ 12548ff16396Smrg q 12558ff16396Smrg } 12568ff16396Smrg s/.*/./; q'` 12570bd0e222Smrg srcdir=$ac_confdir 12588ff16396Smrg if test ! -r "$srcdir/$ac_unique_file"; then 12590bd0e222Smrg srcdir=.. 12600bd0e222Smrg fi 12610bd0e222Smrgelse 12620bd0e222Smrg ac_srcdir_defaulted=no 12630bd0e222Smrgfi 12648ff16396Smrgif test ! -r "$srcdir/$ac_unique_file"; then 12658ff16396Smrg test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1266d5d8cc55Smrg as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 12670bd0e222Smrgfi 12688ff16396Smrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 12698ff16396Smrgac_abs_confdir=`( 1270d5d8cc55Smrg cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 12718ff16396Smrg pwd)` 12728ff16396Smrg# When building in place, set srcdir=. 12738ff16396Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then 12748ff16396Smrg srcdir=. 12758ff16396Smrgfi 12768ff16396Smrg# Remove unnecessary trailing slashes from srcdir. 12778ff16396Smrg# Double slashes in file names in object file debugging info 12788ff16396Smrg# mess up M-x gdb in Emacs. 12798ff16396Smrgcase $srcdir in 12808ff16396Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 12818ff16396Smrgesac 12828ff16396Smrgfor ac_var in $ac_precious_vars; do 12838ff16396Smrg eval ac_env_${ac_var}_set=\${${ac_var}+set} 12848ff16396Smrg eval ac_env_${ac_var}_value=\$${ac_var} 12858ff16396Smrg eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 12868ff16396Smrg eval ac_cv_env_${ac_var}_value=\$${ac_var} 12878ff16396Smrgdone 12880bd0e222Smrg 12890bd0e222Smrg# 12900bd0e222Smrg# Report the --help message. 12910bd0e222Smrg# 12920bd0e222Smrgif test "$ac_init_help" = "long"; then 12930bd0e222Smrg # Omit some internal or obsolete options to make the list less imposing. 12940bd0e222Smrg # This message is too long to be a string in the A/UX 3.1 sh. 12950bd0e222Smrg cat <<_ACEOF 1296d5d8cc55Smrg\`configure' configures font-jis-misc 1.0.3 to adapt to many kinds of systems. 12970bd0e222Smrg 12980bd0e222SmrgUsage: $0 [OPTION]... [VAR=VALUE]... 12990bd0e222Smrg 13000bd0e222SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as 13010bd0e222SmrgVAR=VALUE. See below for descriptions of some of the useful variables. 13020bd0e222Smrg 13030bd0e222SmrgDefaults for the options are specified in brackets. 13040bd0e222Smrg 13050bd0e222SmrgConfiguration: 13060bd0e222Smrg -h, --help display this help and exit 13070bd0e222Smrg --help=short display options specific to this package 13080bd0e222Smrg --help=recursive display the short help of all the included packages 13090bd0e222Smrg -V, --version display version information and exit 1310d5d8cc55Smrg -q, --quiet, --silent do not print \`checking ...' messages 13110bd0e222Smrg --cache-file=FILE cache test results in FILE [disabled] 13120bd0e222Smrg -C, --config-cache alias for \`--cache-file=config.cache' 13130bd0e222Smrg -n, --no-create do not create output files 13140bd0e222Smrg --srcdir=DIR find the sources in DIR [configure dir or \`..'] 13150bd0e222Smrg 13160bd0e222SmrgInstallation directories: 13170bd0e222Smrg --prefix=PREFIX install architecture-independent files in PREFIX 13188ff16396Smrg [$ac_default_prefix] 13190bd0e222Smrg --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 13208ff16396Smrg [PREFIX] 13210bd0e222Smrg 13220bd0e222SmrgBy default, \`make install' will install all the files in 13230bd0e222Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 13240bd0e222Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix', 13250bd0e222Smrgfor instance \`--prefix=\$HOME'. 13260bd0e222Smrg 13270bd0e222SmrgFor better control, use the options below. 13280bd0e222Smrg 13290bd0e222SmrgFine tuning of the installation directories: 13308ff16396Smrg --bindir=DIR user executables [EPREFIX/bin] 13318ff16396Smrg --sbindir=DIR system admin executables [EPREFIX/sbin] 13328ff16396Smrg --libexecdir=DIR program executables [EPREFIX/libexec] 13338ff16396Smrg --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 13348ff16396Smrg --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 13358ff16396Smrg --localstatedir=DIR modifiable single-machine data [PREFIX/var] 13368ff16396Smrg --libdir=DIR object code libraries [EPREFIX/lib] 13378ff16396Smrg --includedir=DIR C header files [PREFIX/include] 13388ff16396Smrg --oldincludedir=DIR C header files for non-gcc [/usr/include] 13398ff16396Smrg --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 13408ff16396Smrg --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 13418ff16396Smrg --infodir=DIR info documentation [DATAROOTDIR/info] 13428ff16396Smrg --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 13438ff16396Smrg --mandir=DIR man documentation [DATAROOTDIR/man] 13448ff16396Smrg --docdir=DIR documentation root [DATAROOTDIR/doc/font-jis-misc] 13458ff16396Smrg --htmldir=DIR html documentation [DOCDIR] 13468ff16396Smrg --dvidir=DIR dvi documentation [DOCDIR] 13478ff16396Smrg --pdfdir=DIR pdf documentation [DOCDIR] 13488ff16396Smrg --psdir=DIR ps documentation [DOCDIR] 13490bd0e222Smrg_ACEOF 13500bd0e222Smrg 13510bd0e222Smrg cat <<\_ACEOF 13520bd0e222Smrg 13530bd0e222SmrgProgram names: 13540bd0e222Smrg --program-prefix=PREFIX prepend PREFIX to installed program names 13550bd0e222Smrg --program-suffix=SUFFIX append SUFFIX to installed program names 13560bd0e222Smrg --program-transform-name=PROGRAM run sed PROGRAM on installed program names 13578ff16396Smrg 13588ff16396SmrgSystem types: 13598ff16396Smrg --build=BUILD configure for building on BUILD [guessed] 13608ff16396Smrg --host=HOST cross-compile to build programs to run on HOST [BUILD] 13610bd0e222Smrg_ACEOF 13620bd0e222Smrgfi 13630bd0e222Smrg 13640bd0e222Smrgif test -n "$ac_init_help"; then 13650bd0e222Smrg case $ac_init_help in 1366d5d8cc55Smrg short | recursive ) echo "Configuration of font-jis-misc 1.0.3:";; 13670bd0e222Smrg esac 13680bd0e222Smrg cat <<\_ACEOF 13690bd0e222Smrg 13700bd0e222SmrgOptional Features: 13718ff16396Smrg --disable-option-checking ignore unrecognized --enable/--with options 13720bd0e222Smrg --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 13730bd0e222Smrg --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 13748ff16396Smrg --enable-maintainer-mode enable make rules and dependencies not useful 13758ff16396Smrg (and sometimes confusing) to the casual installer 13768ff16396Smrg --disable-dependency-tracking speeds up one-time build 13778ff16396Smrg --enable-dependency-tracking do not reject slow dependency extractors 13788ff16396Smrg --enable-strict-compilation 13798ff16396Smrg Enable all warnings from compiler and make them 13808ff16396Smrg errors (default: disabled) 1381d5d8cc55Smrg --enable-silent-rules less verbose build output (undo: `make V=1') 1382d5d8cc55Smrg --disable-silent-rules verbose build output (undo: `make V=0') 13830bd0e222Smrg 13840bd0e222SmrgOptional Packages: 13850bd0e222Smrg --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 13860bd0e222Smrg --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 13878ff16396Smrg --with-fontrootdir=DIR Path to root directory for font files 13888ff16396Smrg --with-fontdir=DIR Path to misc files [FONTROOTDIR/misc] 13898ff16396Smrg --with-compression=<no|compress|gzip|bzip2> 13908ff16396Smrg compression method to use on pcf fonts 13918ff16396Smrg 13928ff16396SmrgSome influential environment variables: 13938ff16396Smrg CC C compiler command 13948ff16396Smrg CFLAGS C compiler flags 13958ff16396Smrg LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 13968ff16396Smrg nonstandard directory <lib dir> 13978ff16396Smrg LIBS libraries to pass to the linker, e.g. -l<library> 1398d5d8cc55Smrg CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 13998ff16396Smrg you have headers in a nonstandard directory <include dir> 14008ff16396Smrg CPP C preprocessor 14018ff16396Smrg PKG_CONFIG path to pkg-config utility 1402d5d8cc55Smrg PKG_CONFIG_PATH 1403d5d8cc55Smrg directories to add to pkg-config's search path 1404d5d8cc55Smrg PKG_CONFIG_LIBDIR 1405d5d8cc55Smrg path overriding pkg-config's built-in search path 14068ff16396Smrg 14078ff16396SmrgUse these variables to override the choices made by `configure' or to help 14088ff16396Smrgit to find libraries and programs with nonstandard names/locations. 14090bd0e222Smrg 14100bd0e222SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 14110bd0e222Smrg_ACEOF 14128ff16396Smrgac_status=$? 14130bd0e222Smrgfi 14140bd0e222Smrg 14150bd0e222Smrgif test "$ac_init_help" = "recursive"; then 14160bd0e222Smrg # If there are subdirs, report their specific --help. 14170bd0e222Smrg for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 14188ff16396Smrg test -d "$ac_dir" || 14198ff16396Smrg { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 14208ff16396Smrg continue 14210bd0e222Smrg ac_builddir=. 14220bd0e222Smrg 14238ff16396Smrgcase "$ac_dir" in 14248ff16396Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 14258ff16396Smrg*) 14268ff16396Smrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 14278ff16396Smrg # A ".." for each directory in $ac_dir_suffix. 14288ff16396Smrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 14298ff16396Smrg case $ac_top_builddir_sub in 14308ff16396Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 14318ff16396Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 14328ff16396Smrg esac ;; 14338ff16396Smrgesac 14348ff16396Smrgac_abs_top_builddir=$ac_pwd 14358ff16396Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 14368ff16396Smrg# for backward compatibility: 14378ff16396Smrgac_top_builddir=$ac_top_build_prefix 14380bd0e222Smrg 14390bd0e222Smrgcase $srcdir in 14408ff16396Smrg .) # We are building in place. 14410bd0e222Smrg ac_srcdir=. 14428ff16396Smrg ac_top_srcdir=$ac_top_builddir_sub 14438ff16396Smrg ac_abs_top_srcdir=$ac_pwd ;; 14448ff16396Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 14450bd0e222Smrg ac_srcdir=$srcdir$ac_dir_suffix; 14468ff16396Smrg ac_top_srcdir=$srcdir 14478ff16396Smrg ac_abs_top_srcdir=$srcdir ;; 14488ff16396Smrg *) # Relative name. 14498ff16396Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 14508ff16396Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 14518ff16396Smrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 14520bd0e222Smrgesac 14538ff16396Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 14548ff16396Smrg 14558ff16396Smrg cd "$ac_dir" || { ac_status=$?; continue; } 14568ff16396Smrg # Check for guested configure. 14578ff16396Smrg if test -f "$ac_srcdir/configure.gnu"; then 14588ff16396Smrg echo && 14598ff16396Smrg $SHELL "$ac_srcdir/configure.gnu" --help=recursive 14608ff16396Smrg elif test -f "$ac_srcdir/configure"; then 14618ff16396Smrg echo && 14628ff16396Smrg $SHELL "$ac_srcdir/configure" --help=recursive 14630bd0e222Smrg else 14648ff16396Smrg $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 14658ff16396Smrg fi || ac_status=$? 14668ff16396Smrg cd "$ac_pwd" || { ac_status=$?; break; } 14670bd0e222Smrg done 14680bd0e222Smrgfi 14690bd0e222Smrg 14708ff16396Smrgtest -n "$ac_init_help" && exit $ac_status 14710bd0e222Smrgif $ac_init_version; then 14720bd0e222Smrg cat <<\_ACEOF 1473d5d8cc55Smrgfont-jis-misc configure 1.0.3 1474d5d8cc55Smrggenerated by GNU Autoconf 2.68 14750bd0e222Smrg 1476d5d8cc55SmrgCopyright (C) 2010 Free Software Foundation, Inc. 14770bd0e222SmrgThis configure script is free software; the Free Software Foundation 14780bd0e222Smrggives unlimited permission to copy, distribute and modify it. 14790bd0e222Smrg_ACEOF 14808ff16396Smrg exit 14810bd0e222Smrgfi 14820bd0e222Smrg 1483d5d8cc55Smrg## ------------------------ ## 1484d5d8cc55Smrg## Autoconf initialization. ## 1485d5d8cc55Smrg## ------------------------ ## 14860bd0e222Smrg 1487d5d8cc55Smrg# ac_fn_c_try_compile LINENO 1488d5d8cc55Smrg# -------------------------- 1489d5d8cc55Smrg# Try to compile conftest.$ac_ext, and return whether this succeeded. 1490d5d8cc55Smrgac_fn_c_try_compile () 14910bd0e222Smrg{ 1492d5d8cc55Smrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1493d5d8cc55Smrg rm -f conftest.$ac_objext 1494d5d8cc55Smrg if { { ac_try="$ac_compile" 1495d5d8cc55Smrgcase "(($ac_try" in 1496d5d8cc55Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1497d5d8cc55Smrg *) ac_try_echo=$ac_try;; 1498d5d8cc55Smrgesac 1499d5d8cc55Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1500d5d8cc55Smrg$as_echo "$ac_try_echo"; } >&5 1501d5d8cc55Smrg (eval "$ac_compile") 2>conftest.err 1502d5d8cc55Smrg ac_status=$? 1503d5d8cc55Smrg if test -s conftest.err; then 1504d5d8cc55Smrg grep -v '^ *+' conftest.err >conftest.er1 1505d5d8cc55Smrg cat conftest.er1 >&5 1506d5d8cc55Smrg mv -f conftest.er1 conftest.err 1507d5d8cc55Smrg fi 1508d5d8cc55Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1509d5d8cc55Smrg test $ac_status = 0; } && { 1510d5d8cc55Smrg test -z "$ac_c_werror_flag" || 1511d5d8cc55Smrg test ! -s conftest.err 1512d5d8cc55Smrg } && test -s conftest.$ac_objext; then : 1513d5d8cc55Smrg ac_retval=0 1514d5d8cc55Smrgelse 1515d5d8cc55Smrg $as_echo "$as_me: failed program was:" >&5 1516d5d8cc55Smrgsed 's/^/| /' conftest.$ac_ext >&5 15170bd0e222Smrg 1518d5d8cc55Smrg ac_retval=1 1519d5d8cc55Smrgfi 1520d5d8cc55Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1521d5d8cc55Smrg as_fn_set_status $ac_retval 15220bd0e222Smrg 1523d5d8cc55Smrg} # ac_fn_c_try_compile 15240bd0e222Smrg 1525d5d8cc55Smrg# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 1526d5d8cc55Smrg# --------------------------------------------- 1527d5d8cc55Smrg# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 1528d5d8cc55Smrg# accordingly. 1529d5d8cc55Smrgac_fn_c_check_decl () 1530d5d8cc55Smrg{ 1531d5d8cc55Smrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1532d5d8cc55Smrg as_decl_name=`echo $2|sed 's/ *(.*//'` 1533d5d8cc55Smrg as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 1534d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 1535d5d8cc55Smrg$as_echo_n "checking whether $as_decl_name is declared... " >&6; } 1536d5d8cc55Smrgif eval \${$3+:} false; then : 1537d5d8cc55Smrg $as_echo_n "(cached) " >&6 1538d5d8cc55Smrgelse 1539d5d8cc55Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1540d5d8cc55Smrg/* end confdefs.h. */ 1541d5d8cc55Smrg$4 1542d5d8cc55Smrgint 1543d5d8cc55Smrgmain () 1544d5d8cc55Smrg{ 1545d5d8cc55Smrg#ifndef $as_decl_name 1546d5d8cc55Smrg#ifdef __cplusplus 1547d5d8cc55Smrg (void) $as_decl_use; 1548d5d8cc55Smrg#else 1549d5d8cc55Smrg (void) $as_decl_name; 1550d5d8cc55Smrg#endif 1551d5d8cc55Smrg#endif 1552d5d8cc55Smrg 1553d5d8cc55Smrg ; 1554d5d8cc55Smrg return 0; 1555d5d8cc55Smrg} 1556d5d8cc55Smrg_ACEOF 1557d5d8cc55Smrgif ac_fn_c_try_compile "$LINENO"; then : 1558d5d8cc55Smrg eval "$3=yes" 1559d5d8cc55Smrgelse 1560d5d8cc55Smrg eval "$3=no" 1561d5d8cc55Smrgfi 1562d5d8cc55Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1563d5d8cc55Smrgfi 1564d5d8cc55Smrgeval ac_res=\$$3 1565d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1566d5d8cc55Smrg$as_echo "$ac_res" >&6; } 1567d5d8cc55Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1568d5d8cc55Smrg 1569d5d8cc55Smrg} # ac_fn_c_check_decl 1570d5d8cc55Smrg 1571d5d8cc55Smrg# ac_fn_c_try_cpp LINENO 1572d5d8cc55Smrg# ---------------------- 1573d5d8cc55Smrg# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1574d5d8cc55Smrgac_fn_c_try_cpp () 1575d5d8cc55Smrg{ 1576d5d8cc55Smrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1577d5d8cc55Smrg if { { ac_try="$ac_cpp conftest.$ac_ext" 1578d5d8cc55Smrgcase "(($ac_try" in 1579d5d8cc55Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1580d5d8cc55Smrg *) ac_try_echo=$ac_try;; 1581d5d8cc55Smrgesac 1582d5d8cc55Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1583d5d8cc55Smrg$as_echo "$ac_try_echo"; } >&5 1584d5d8cc55Smrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1585d5d8cc55Smrg ac_status=$? 1586d5d8cc55Smrg if test -s conftest.err; then 1587d5d8cc55Smrg grep -v '^ *+' conftest.err >conftest.er1 1588d5d8cc55Smrg cat conftest.er1 >&5 1589d5d8cc55Smrg mv -f conftest.er1 conftest.err 1590d5d8cc55Smrg fi 1591d5d8cc55Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1592d5d8cc55Smrg test $ac_status = 0; } > conftest.i && { 1593d5d8cc55Smrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1594d5d8cc55Smrg test ! -s conftest.err 1595d5d8cc55Smrg }; then : 1596d5d8cc55Smrg ac_retval=0 1597d5d8cc55Smrgelse 1598d5d8cc55Smrg $as_echo "$as_me: failed program was:" >&5 1599d5d8cc55Smrgsed 's/^/| /' conftest.$ac_ext >&5 1600d5d8cc55Smrg 1601d5d8cc55Smrg ac_retval=1 1602d5d8cc55Smrgfi 1603d5d8cc55Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1604d5d8cc55Smrg as_fn_set_status $ac_retval 1605d5d8cc55Smrg 1606d5d8cc55Smrg} # ac_fn_c_try_cpp 1607d5d8cc55Smrg 1608d5d8cc55Smrg# ac_fn_c_try_run LINENO 1609d5d8cc55Smrg# ---------------------- 1610d5d8cc55Smrg# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1611d5d8cc55Smrg# that executables *can* be run. 1612d5d8cc55Smrgac_fn_c_try_run () 1613d5d8cc55Smrg{ 1614d5d8cc55Smrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1615d5d8cc55Smrg if { { ac_try="$ac_link" 1616d5d8cc55Smrgcase "(($ac_try" in 1617d5d8cc55Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1618d5d8cc55Smrg *) ac_try_echo=$ac_try;; 1619d5d8cc55Smrgesac 1620d5d8cc55Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1621d5d8cc55Smrg$as_echo "$ac_try_echo"; } >&5 1622d5d8cc55Smrg (eval "$ac_link") 2>&5 1623d5d8cc55Smrg ac_status=$? 1624d5d8cc55Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1625d5d8cc55Smrg test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1626d5d8cc55Smrg { { case "(($ac_try" in 1627d5d8cc55Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1628d5d8cc55Smrg *) ac_try_echo=$ac_try;; 1629d5d8cc55Smrgesac 1630d5d8cc55Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1631d5d8cc55Smrg$as_echo "$ac_try_echo"; } >&5 1632d5d8cc55Smrg (eval "$ac_try") 2>&5 1633d5d8cc55Smrg ac_status=$? 1634d5d8cc55Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1635d5d8cc55Smrg test $ac_status = 0; }; }; then : 1636d5d8cc55Smrg ac_retval=0 1637d5d8cc55Smrgelse 1638d5d8cc55Smrg $as_echo "$as_me: program exited with status $ac_status" >&5 1639d5d8cc55Smrg $as_echo "$as_me: failed program was:" >&5 1640d5d8cc55Smrgsed 's/^/| /' conftest.$ac_ext >&5 1641d5d8cc55Smrg 1642d5d8cc55Smrg ac_retval=$ac_status 1643d5d8cc55Smrgfi 1644d5d8cc55Smrg rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1645d5d8cc55Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1646d5d8cc55Smrg as_fn_set_status $ac_retval 1647d5d8cc55Smrg 1648d5d8cc55Smrg} # ac_fn_c_try_run 1649d5d8cc55Smrg 1650d5d8cc55Smrg# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1651d5d8cc55Smrg# ------------------------------------------------------- 1652d5d8cc55Smrg# Tests whether HEADER exists and can be compiled using the include files in 1653d5d8cc55Smrg# INCLUDES, setting the cache variable VAR accordingly. 1654d5d8cc55Smrgac_fn_c_check_header_compile () 1655d5d8cc55Smrg{ 1656d5d8cc55Smrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1657d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1658d5d8cc55Smrg$as_echo_n "checking for $2... " >&6; } 1659d5d8cc55Smrgif eval \${$3+:} false; then : 1660d5d8cc55Smrg $as_echo_n "(cached) " >&6 1661d5d8cc55Smrgelse 1662d5d8cc55Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1663d5d8cc55Smrg/* end confdefs.h. */ 1664d5d8cc55Smrg$4 1665d5d8cc55Smrg#include <$2> 1666d5d8cc55Smrg_ACEOF 1667d5d8cc55Smrgif ac_fn_c_try_compile "$LINENO"; then : 1668d5d8cc55Smrg eval "$3=yes" 1669d5d8cc55Smrgelse 1670d5d8cc55Smrg eval "$3=no" 1671d5d8cc55Smrgfi 1672d5d8cc55Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1673d5d8cc55Smrgfi 1674d5d8cc55Smrgeval ac_res=\$$3 1675d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1676d5d8cc55Smrg$as_echo "$ac_res" >&6; } 1677d5d8cc55Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1678d5d8cc55Smrg 1679d5d8cc55Smrg} # ac_fn_c_check_header_compile 1680d5d8cc55Smrgcat >config.log <<_ACEOF 1681d5d8cc55SmrgThis file contains any messages produced by compilers while 1682d5d8cc55Smrgrunning configure, to aid debugging if configure makes a mistake. 1683d5d8cc55Smrg 1684d5d8cc55SmrgIt was created by font-jis-misc $as_me 1.0.3, which was 1685d5d8cc55Smrggenerated by GNU Autoconf 2.68. Invocation command line was 1686d5d8cc55Smrg 1687d5d8cc55Smrg $ $0 $@ 1688d5d8cc55Smrg 1689d5d8cc55Smrg_ACEOF 1690d5d8cc55Smrgexec 5>>config.log 1691d5d8cc55Smrg{ 1692d5d8cc55Smrgcat <<_ASUNAME 1693d5d8cc55Smrg## --------- ## 1694d5d8cc55Smrg## Platform. ## 1695d5d8cc55Smrg## --------- ## 1696d5d8cc55Smrg 1697d5d8cc55Smrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1698d5d8cc55Smrguname -m = `(uname -m) 2>/dev/null || echo unknown` 1699d5d8cc55Smrguname -r = `(uname -r) 2>/dev/null || echo unknown` 1700d5d8cc55Smrguname -s = `(uname -s) 2>/dev/null || echo unknown` 1701d5d8cc55Smrguname -v = `(uname -v) 2>/dev/null || echo unknown` 1702d5d8cc55Smrg 1703d5d8cc55Smrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1704d5d8cc55Smrg/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1705d5d8cc55Smrg 1706d5d8cc55Smrg/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1707d5d8cc55Smrg/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1708d5d8cc55Smrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1709d5d8cc55Smrg/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1710d5d8cc55Smrg/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1711d5d8cc55Smrg/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1712d5d8cc55Smrg/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1713d5d8cc55Smrg 1714d5d8cc55Smrg_ASUNAME 1715d5d8cc55Smrg 1716d5d8cc55Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17170bd0e222Smrgfor as_dir in $PATH 17180bd0e222Smrgdo 17190bd0e222Smrg IFS=$as_save_IFS 17200bd0e222Smrg test -z "$as_dir" && as_dir=. 1721d5d8cc55Smrg $as_echo "PATH: $as_dir" 1722d5d8cc55Smrg done 17238ff16396SmrgIFS=$as_save_IFS 17240bd0e222Smrg 17250bd0e222Smrg} >&5 17260bd0e222Smrg 17270bd0e222Smrgcat >&5 <<_ACEOF 17280bd0e222Smrg 17290bd0e222Smrg 17300bd0e222Smrg## ----------- ## 17310bd0e222Smrg## Core tests. ## 17320bd0e222Smrg## ----------- ## 17330bd0e222Smrg 17340bd0e222Smrg_ACEOF 17350bd0e222Smrg 17360bd0e222Smrg 17370bd0e222Smrg# Keep a trace of the command line. 17380bd0e222Smrg# Strip out --no-create and --no-recursion so they do not pile up. 17390bd0e222Smrg# Strip out --silent because we don't want to record it for future runs. 17400bd0e222Smrg# Also quote any args containing shell meta-characters. 17410bd0e222Smrg# Make two passes to allow for proper duplicate-argument suppression. 17420bd0e222Smrgac_configure_args= 17430bd0e222Smrgac_configure_args0= 17440bd0e222Smrgac_configure_args1= 17450bd0e222Smrgac_must_keep_next=false 17460bd0e222Smrgfor ac_pass in 1 2 17470bd0e222Smrgdo 17480bd0e222Smrg for ac_arg 17490bd0e222Smrg do 17500bd0e222Smrg case $ac_arg in 17510bd0e222Smrg -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 17520bd0e222Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 17530bd0e222Smrg | -silent | --silent | --silen | --sile | --sil) 17540bd0e222Smrg continue ;; 17558ff16396Smrg *\'*) 17568ff16396Smrg ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 17570bd0e222Smrg esac 17580bd0e222Smrg case $ac_pass in 1759d5d8cc55Smrg 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 17600bd0e222Smrg 2) 1761d5d8cc55Smrg as_fn_append ac_configure_args1 " '$ac_arg'" 17620bd0e222Smrg if test $ac_must_keep_next = true; then 17630bd0e222Smrg ac_must_keep_next=false # Got value, back to normal. 17640bd0e222Smrg else 17650bd0e222Smrg case $ac_arg in 17660bd0e222Smrg *=* | --config-cache | -C | -disable-* | --disable-* \ 17670bd0e222Smrg | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 17680bd0e222Smrg | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 17690bd0e222Smrg | -with-* | --with-* | -without-* | --without-* | --x) 17700bd0e222Smrg case "$ac_configure_args0 " in 17710bd0e222Smrg "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 17720bd0e222Smrg esac 17730bd0e222Smrg ;; 17740bd0e222Smrg -* ) ac_must_keep_next=true ;; 17750bd0e222Smrg esac 17760bd0e222Smrg fi 1777d5d8cc55Smrg as_fn_append ac_configure_args " '$ac_arg'" 17780bd0e222Smrg ;; 17790bd0e222Smrg esac 17800bd0e222Smrg done 17810bd0e222Smrgdone 1782d5d8cc55Smrg{ ac_configure_args0=; unset ac_configure_args0;} 1783d5d8cc55Smrg{ ac_configure_args1=; unset ac_configure_args1;} 17840bd0e222Smrg 17850bd0e222Smrg# When interrupted or exit'd, cleanup temporary files, and complete 17860bd0e222Smrg# config.log. We remove comments because anyway the quotes in there 17870bd0e222Smrg# would cause problems or look ugly. 17888ff16396Smrg# WARNING: Use '\'' to represent an apostrophe within the trap. 17898ff16396Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 17900bd0e222Smrgtrap 'exit_status=$? 17910bd0e222Smrg # Save into config.log some information that might help in debugging. 17920bd0e222Smrg { 17930bd0e222Smrg echo 17940bd0e222Smrg 1795d5d8cc55Smrg $as_echo "## ---------------- ## 17960bd0e222Smrg## Cache variables. ## 1797d5d8cc55Smrg## ---------------- ##" 17980bd0e222Smrg echo 17990bd0e222Smrg # The following way of writing the cache mishandles newlines in values, 18008ff16396Smrg( 18018ff16396Smrg for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 18028ff16396Smrg eval ac_val=\$$ac_var 18038ff16396Smrg case $ac_val in #( 18048ff16396Smrg *${as_nl}*) 18058ff16396Smrg case $ac_var in #( 1806d5d8cc55Smrg *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 18078ff16396Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 18088ff16396Smrg esac 18098ff16396Smrg case $ac_var in #( 18108ff16396Smrg _ | IFS | as_nl) ;; #( 18118ff16396Smrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1812d5d8cc55Smrg *) { eval $ac_var=; unset $ac_var;} ;; 18138ff16396Smrg esac ;; 18148ff16396Smrg esac 18158ff16396Smrg done 18160bd0e222Smrg (set) 2>&1 | 18178ff16396Smrg case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 18188ff16396Smrg *${as_nl}ac_space=\ *) 18190bd0e222Smrg sed -n \ 18208ff16396Smrg "s/'\''/'\''\\\\'\'''\''/g; 18218ff16396Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 18228ff16396Smrg ;; #( 18230bd0e222Smrg *) 18248ff16396Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 18250bd0e222Smrg ;; 18268ff16396Smrg esac | 18278ff16396Smrg sort 18288ff16396Smrg) 18290bd0e222Smrg echo 18300bd0e222Smrg 1831d5d8cc55Smrg $as_echo "## ----------------- ## 18320bd0e222Smrg## Output variables. ## 1833d5d8cc55Smrg## ----------------- ##" 18340bd0e222Smrg echo 18350bd0e222Smrg for ac_var in $ac_subst_vars 18360bd0e222Smrg do 18378ff16396Smrg eval ac_val=\$$ac_var 18388ff16396Smrg case $ac_val in 18398ff16396Smrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 18408ff16396Smrg esac 18418ff16396Smrg $as_echo "$ac_var='\''$ac_val'\''" 18420bd0e222Smrg done | sort 18430bd0e222Smrg echo 18440bd0e222Smrg 18450bd0e222Smrg if test -n "$ac_subst_files"; then 1846d5d8cc55Smrg $as_echo "## ------------------- ## 18478ff16396Smrg## File substitutions. ## 1848d5d8cc55Smrg## ------------------- ##" 18490bd0e222Smrg echo 18500bd0e222Smrg for ac_var in $ac_subst_files 18510bd0e222Smrg do 18528ff16396Smrg eval ac_val=\$$ac_var 18538ff16396Smrg case $ac_val in 18548ff16396Smrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 18558ff16396Smrg esac 18568ff16396Smrg $as_echo "$ac_var='\''$ac_val'\''" 18570bd0e222Smrg done | sort 18580bd0e222Smrg echo 18590bd0e222Smrg fi 18600bd0e222Smrg 18610bd0e222Smrg if test -s confdefs.h; then 1862d5d8cc55Smrg $as_echo "## ----------- ## 18630bd0e222Smrg## confdefs.h. ## 1864d5d8cc55Smrg## ----------- ##" 18650bd0e222Smrg echo 18668ff16396Smrg cat confdefs.h 18670bd0e222Smrg echo 18680bd0e222Smrg fi 18690bd0e222Smrg test "$ac_signal" != 0 && 18708ff16396Smrg $as_echo "$as_me: caught signal $ac_signal" 18718ff16396Smrg $as_echo "$as_me: exit $exit_status" 18720bd0e222Smrg } >&5 18738ff16396Smrg rm -f core *.core core.conftest.* && 18748ff16396Smrg rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 18750bd0e222Smrg exit $exit_status 18768ff16396Smrg' 0 18770bd0e222Smrgfor ac_signal in 1 2 13 15; do 1878d5d8cc55Smrg trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 18790bd0e222Smrgdone 18800bd0e222Smrgac_signal=0 18810bd0e222Smrg 18820bd0e222Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed. 18838ff16396Smrgrm -f -r conftest* confdefs.h 18840bd0e222Smrg 1885d5d8cc55Smrg$as_echo "/* confdefs.h */" > confdefs.h 1886d5d8cc55Smrg 18870bd0e222Smrg# Predefined preprocessor variables. 18880bd0e222Smrg 18890bd0e222Smrgcat >>confdefs.h <<_ACEOF 18900bd0e222Smrg#define PACKAGE_NAME "$PACKAGE_NAME" 18910bd0e222Smrg_ACEOF 18920bd0e222Smrg 18930bd0e222Smrgcat >>confdefs.h <<_ACEOF 18940bd0e222Smrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 18950bd0e222Smrg_ACEOF 18960bd0e222Smrg 18970bd0e222Smrgcat >>confdefs.h <<_ACEOF 18980bd0e222Smrg#define PACKAGE_VERSION "$PACKAGE_VERSION" 18990bd0e222Smrg_ACEOF 19000bd0e222Smrg 19010bd0e222Smrgcat >>confdefs.h <<_ACEOF 19020bd0e222Smrg#define PACKAGE_STRING "$PACKAGE_STRING" 19030bd0e222Smrg_ACEOF 19040bd0e222Smrg 19050bd0e222Smrgcat >>confdefs.h <<_ACEOF 19060bd0e222Smrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 19070bd0e222Smrg_ACEOF 19080bd0e222Smrg 1909d5d8cc55Smrgcat >>confdefs.h <<_ACEOF 1910d5d8cc55Smrg#define PACKAGE_URL "$PACKAGE_URL" 1911d5d8cc55Smrg_ACEOF 1912d5d8cc55Smrg 19130bd0e222Smrg 19140bd0e222Smrg# Let the site file select an alternate cache file if it wants to. 19158ff16396Smrg# Prefer an explicitly selected file to automatically selected ones. 19168ff16396Smrgac_site_file1=NONE 19178ff16396Smrgac_site_file2=NONE 19188ff16396Smrgif test -n "$CONFIG_SITE"; then 1919d5d8cc55Smrg # We do not want a PATH search for config.site. 1920d5d8cc55Smrg case $CONFIG_SITE in #(( 1921d5d8cc55Smrg -*) ac_site_file1=./$CONFIG_SITE;; 1922d5d8cc55Smrg */*) ac_site_file1=$CONFIG_SITE;; 1923d5d8cc55Smrg *) ac_site_file1=./$CONFIG_SITE;; 1924d5d8cc55Smrg esac 19258ff16396Smrgelif test "x$prefix" != xNONE; then 19268ff16396Smrg ac_site_file1=$prefix/share/config.site 19278ff16396Smrg ac_site_file2=$prefix/etc/config.site 19288ff16396Smrgelse 19298ff16396Smrg ac_site_file1=$ac_default_prefix/share/config.site 19308ff16396Smrg ac_site_file2=$ac_default_prefix/etc/config.site 19310bd0e222Smrgfi 19328ff16396Smrgfor ac_site_file in "$ac_site_file1" "$ac_site_file2" 19338ff16396Smrgdo 19348ff16396Smrg test "x$ac_site_file" = xNONE && continue 1935d5d8cc55Smrg if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 1936d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 19378ff16396Smrg$as_echo "$as_me: loading site script $ac_site_file" >&6;} 19380bd0e222Smrg sed 's/^/| /' "$ac_site_file" >&5 1939d5d8cc55Smrg . "$ac_site_file" \ 1940d5d8cc55Smrg || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1941d5d8cc55Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1942d5d8cc55Smrgas_fn_error $? "failed to load site script $ac_site_file 1943d5d8cc55SmrgSee \`config.log' for more details" "$LINENO" 5; } 19440bd0e222Smrg fi 19450bd0e222Smrgdone 19460bd0e222Smrg 19470bd0e222Smrgif test -r "$cache_file"; then 1948d5d8cc55Smrg # Some versions of bash will fail to source /dev/null (special files 1949d5d8cc55Smrg # actually), so we avoid doing that. DJGPP emulates it as a regular file. 1950d5d8cc55Smrg if test /dev/null != "$cache_file" && test -f "$cache_file"; then 1951d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 19528ff16396Smrg$as_echo "$as_me: loading cache $cache_file" >&6;} 19530bd0e222Smrg case $cache_file in 19548ff16396Smrg [\\/]* | ?:[\\/]* ) . "$cache_file";; 19558ff16396Smrg *) . "./$cache_file";; 19560bd0e222Smrg esac 19570bd0e222Smrg fi 19580bd0e222Smrgelse 1959d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 19608ff16396Smrg$as_echo "$as_me: creating cache $cache_file" >&6;} 19610bd0e222Smrg >$cache_file 19620bd0e222Smrgfi 19630bd0e222Smrg 19640bd0e222Smrg# Check that the precious variables saved in the cache have kept the same 19650bd0e222Smrg# value. 19660bd0e222Smrgac_cache_corrupted=false 19678ff16396Smrgfor ac_var in $ac_precious_vars; do 19680bd0e222Smrg eval ac_old_set=\$ac_cv_env_${ac_var}_set 19690bd0e222Smrg eval ac_new_set=\$ac_env_${ac_var}_set 19708ff16396Smrg eval ac_old_val=\$ac_cv_env_${ac_var}_value 19718ff16396Smrg eval ac_new_val=\$ac_env_${ac_var}_value 19720bd0e222Smrg case $ac_old_set,$ac_new_set in 19730bd0e222Smrg set,) 1974d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 19758ff16396Smrg$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 19760bd0e222Smrg ac_cache_corrupted=: ;; 19770bd0e222Smrg ,set) 1978d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 19798ff16396Smrg$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 19800bd0e222Smrg ac_cache_corrupted=: ;; 19810bd0e222Smrg ,);; 19820bd0e222Smrg *) 19830bd0e222Smrg if test "x$ac_old_val" != "x$ac_new_val"; then 19848ff16396Smrg # differences in whitespace do not lead to failure. 19858ff16396Smrg ac_old_val_w=`echo x $ac_old_val` 19868ff16396Smrg ac_new_val_w=`echo x $ac_new_val` 19878ff16396Smrg if test "$ac_old_val_w" != "$ac_new_val_w"; then 1988d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 19898ff16396Smrg$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 19908ff16396Smrg ac_cache_corrupted=: 19918ff16396Smrg else 1992d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 19938ff16396Smrg$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 19948ff16396Smrg eval $ac_var=\$ac_old_val 19958ff16396Smrg fi 1996d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 19978ff16396Smrg$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1998d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 19998ff16396Smrg$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 20000bd0e222Smrg fi;; 20010bd0e222Smrg esac 20020bd0e222Smrg # Pass precious variables to config.status. 20030bd0e222Smrg if test "$ac_new_set" = set; then 20040bd0e222Smrg case $ac_new_val in 20058ff16396Smrg *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 20060bd0e222Smrg *) ac_arg=$ac_var=$ac_new_val ;; 20070bd0e222Smrg esac 20080bd0e222Smrg case " $ac_configure_args " in 20090bd0e222Smrg *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2010d5d8cc55Smrg *) as_fn_append ac_configure_args " '$ac_arg'" ;; 20110bd0e222Smrg esac 20120bd0e222Smrg fi 20130bd0e222Smrgdone 20140bd0e222Smrgif $ac_cache_corrupted; then 2015d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20168ff16396Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2017d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 20188ff16396Smrg$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2019d5d8cc55Smrg as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 20200bd0e222Smrgfi 2021d5d8cc55Smrg## -------------------- ## 2022d5d8cc55Smrg## Main body of script. ## 2023d5d8cc55Smrg## -------------------- ## 20240bd0e222Smrg 20258ff16396Smrgac_ext=c 20268ff16396Smrgac_cpp='$CPP $CPPFLAGS' 20278ff16396Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 20288ff16396Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 20298ff16396Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 20300bd0e222Smrg 20310bd0e222Smrg 20328ff16396Smrgam__api_version='1.11' 20330bd0e222Smrg 20340bd0e222Smrgac_aux_dir= 20358ff16396Smrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 20368ff16396Smrg if test -f "$ac_dir/install-sh"; then 20370bd0e222Smrg ac_aux_dir=$ac_dir 20380bd0e222Smrg ac_install_sh="$ac_aux_dir/install-sh -c" 20390bd0e222Smrg break 20408ff16396Smrg elif test -f "$ac_dir/install.sh"; then 20410bd0e222Smrg ac_aux_dir=$ac_dir 20420bd0e222Smrg ac_install_sh="$ac_aux_dir/install.sh -c" 20430bd0e222Smrg break 20448ff16396Smrg elif test -f "$ac_dir/shtool"; then 20450bd0e222Smrg ac_aux_dir=$ac_dir 20460bd0e222Smrg ac_install_sh="$ac_aux_dir/shtool install -c" 20470bd0e222Smrg break 20480bd0e222Smrg fi 20490bd0e222Smrgdone 20500bd0e222Smrgif test -z "$ac_aux_dir"; then 2051d5d8cc55Smrg as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 20520bd0e222Smrgfi 20538ff16396Smrg 20548ff16396Smrg# These three variables are undocumented and unsupported, 20558ff16396Smrg# and are intended to be withdrawn in a future Autoconf release. 20568ff16396Smrg# They can cause serious problems if a builder's source tree is in a directory 20578ff16396Smrg# whose full name contains unusual characters. 20588ff16396Smrgac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 20598ff16396Smrgac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 20608ff16396Smrgac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 20618ff16396Smrg 20620bd0e222Smrg 20630bd0e222Smrg# Find a good install program. We prefer a C program (faster), 20640bd0e222Smrg# so one script is as good as another. But avoid the broken or 20650bd0e222Smrg# incompatible versions: 20660bd0e222Smrg# SysV /etc/install, /usr/sbin/install 20670bd0e222Smrg# SunOS /usr/etc/install 20680bd0e222Smrg# IRIX /sbin/install 20690bd0e222Smrg# AIX /bin/install 20700bd0e222Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs 20710bd0e222Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 20720bd0e222Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 20730bd0e222Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 20740bd0e222Smrg# OS/2's system install, which has a completely different semantic 20750bd0e222Smrg# ./install, which can be erroneously created by make from ./install.sh. 20768ff16396Smrg# Reject install programs that cannot install multiple files. 2077d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 20788ff16396Smrg$as_echo_n "checking for a BSD-compatible install... " >&6; } 20790bd0e222Smrgif test -z "$INSTALL"; then 2080d5d8cc55Smrgif ${ac_cv_path_install+:} false; then : 20818ff16396Smrg $as_echo_n "(cached) " >&6 20820bd0e222Smrgelse 20830bd0e222Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 20840bd0e222Smrgfor as_dir in $PATH 20850bd0e222Smrgdo 20860bd0e222Smrg IFS=$as_save_IFS 20870bd0e222Smrg test -z "$as_dir" && as_dir=. 2088d5d8cc55Smrg # Account for people who put trailing slashes in PATH elements. 2089d5d8cc55Smrgcase $as_dir/ in #(( 2090d5d8cc55Smrg ./ | .// | /[cC]/* | \ 20910bd0e222Smrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2092d5d8cc55Smrg ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 20930bd0e222Smrg /usr/ucb/* ) ;; 20940bd0e222Smrg *) 20950bd0e222Smrg # OSF1 and SCO ODT 3.0 have their own names for install. 20960bd0e222Smrg # Don't use installbsd from OSF since it installs stuff as root 20970bd0e222Smrg # by default. 20980bd0e222Smrg for ac_prog in ginstall scoinst install; do 20990bd0e222Smrg for ac_exec_ext in '' $ac_executable_extensions; do 21008ff16396Smrg if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 21010bd0e222Smrg if test $ac_prog = install && 21020bd0e222Smrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 21030bd0e222Smrg # AIX install. It has an incompatible calling convention. 21040bd0e222Smrg : 21050bd0e222Smrg elif test $ac_prog = install && 21060bd0e222Smrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 21070bd0e222Smrg # program-specific install script used by HP pwplus--don't use. 21080bd0e222Smrg : 21090bd0e222Smrg else 21108ff16396Smrg rm -rf conftest.one conftest.two conftest.dir 21118ff16396Smrg echo one > conftest.one 21128ff16396Smrg echo two > conftest.two 21138ff16396Smrg mkdir conftest.dir 21148ff16396Smrg if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 21158ff16396Smrg test -s conftest.one && test -s conftest.two && 21168ff16396Smrg test -s conftest.dir/conftest.one && 21178ff16396Smrg test -s conftest.dir/conftest.two 21188ff16396Smrg then 21198ff16396Smrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 21208ff16396Smrg break 3 21218ff16396Smrg fi 21220bd0e222Smrg fi 21230bd0e222Smrg fi 21240bd0e222Smrg done 21250bd0e222Smrg done 21260bd0e222Smrg ;; 21270bd0e222Smrgesac 21288ff16396Smrg 2129d5d8cc55Smrg done 21308ff16396SmrgIFS=$as_save_IFS 21310bd0e222Smrg 21328ff16396Smrgrm -rf conftest.one conftest.two conftest.dir 21330bd0e222Smrg 21340bd0e222Smrgfi 21350bd0e222Smrg if test "${ac_cv_path_install+set}" = set; then 21360bd0e222Smrg INSTALL=$ac_cv_path_install 21370bd0e222Smrg else 21388ff16396Smrg # As a last resort, use the slow shell script. Don't cache a 21398ff16396Smrg # value for INSTALL within a source directory, because that will 21400bd0e222Smrg # break other packages using the cache if that directory is 21418ff16396Smrg # removed, or if the value is a relative name. 21420bd0e222Smrg INSTALL=$ac_install_sh 21430bd0e222Smrg fi 21440bd0e222Smrgfi 2145d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 21468ff16396Smrg$as_echo "$INSTALL" >&6; } 21470bd0e222Smrg 21480bd0e222Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 21490bd0e222Smrg# It thinks the first close brace ends the variable substitution. 21500bd0e222Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 21510bd0e222Smrg 21520bd0e222Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 21530bd0e222Smrg 21540bd0e222Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 21550bd0e222Smrg 2156d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 21578ff16396Smrg$as_echo_n "checking whether build environment is sane... " >&6; } 21580bd0e222Smrg# Just in case 21590bd0e222Smrgsleep 1 21600bd0e222Smrgecho timestamp > conftest.file 21618ff16396Smrg# Reject unsafe characters in $srcdir or the absolute working directory 21628ff16396Smrg# name. Accept space and tab only in the latter. 21638ff16396Smrgam_lf=' 21648ff16396Smrg' 21658ff16396Smrgcase `pwd` in 21668ff16396Smrg *[\\\"\#\$\&\'\`$am_lf]*) 2167d5d8cc55Smrg as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 21688ff16396Smrgesac 21698ff16396Smrgcase $srcdir in 21708ff16396Smrg *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2171d5d8cc55Smrg as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 21728ff16396Smrgesac 21738ff16396Smrg 21740bd0e222Smrg# Do `set' in a subshell so we don't clobber the current shell's 21750bd0e222Smrg# arguments. Must try -L first in case configure is actually a 21760bd0e222Smrg# symlink; some systems play weird games with the mod time of symlinks 21770bd0e222Smrg# (eg FreeBSD returns the mod time of the symlink's containing 21780bd0e222Smrg# directory). 21790bd0e222Smrgif ( 21808ff16396Smrg set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 21810bd0e222Smrg if test "$*" = "X"; then 21820bd0e222Smrg # -L didn't work. 21838ff16396Smrg set X `ls -t "$srcdir/configure" conftest.file` 21840bd0e222Smrg fi 21850bd0e222Smrg rm -f conftest.file 21860bd0e222Smrg if test "$*" != "X $srcdir/configure conftest.file" \ 21870bd0e222Smrg && test "$*" != "X conftest.file $srcdir/configure"; then 21880bd0e222Smrg 21890bd0e222Smrg # If neither matched, then we have a broken ls. This can happen 21900bd0e222Smrg # if, for instance, CONFIG_SHELL is bash and it inherits a 21910bd0e222Smrg # broken ls alias from the environment. This has actually 21920bd0e222Smrg # happened. Such a system could not be considered "sane". 2193d5d8cc55Smrg as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2194d5d8cc55Smrgalias in your environment" "$LINENO" 5 21950bd0e222Smrg fi 21960bd0e222Smrg 21970bd0e222Smrg test "$2" = conftest.file 21980bd0e222Smrg ) 21990bd0e222Smrgthen 22000bd0e222Smrg # Ok. 22010bd0e222Smrg : 22020bd0e222Smrgelse 2203d5d8cc55Smrg as_fn_error $? "newly created file is older than distributed files! 2204d5d8cc55SmrgCheck your system clock" "$LINENO" 5 22050bd0e222Smrgfi 2206d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 22078ff16396Smrg$as_echo "yes" >&6; } 22080bd0e222Smrgtest "$program_prefix" != NONE && 22098ff16396Smrg program_transform_name="s&^&$program_prefix&;$program_transform_name" 22100bd0e222Smrg# Use a double $ so make ignores it. 22110bd0e222Smrgtest "$program_suffix" != NONE && 22128ff16396Smrg program_transform_name="s&\$&$program_suffix&;$program_transform_name" 22138ff16396Smrg# Double any \ or $. 22140bd0e222Smrg# By default was `s,x,x', remove it if useless. 22158ff16396Smrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 22168ff16396Smrgprogram_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 22170bd0e222Smrg 22180bd0e222Smrg# expand $ac_aux_dir to an absolute path 22190bd0e222Smrgam_aux_dir=`cd $ac_aux_dir && pwd` 22200bd0e222Smrg 22218ff16396Smrgif test x"${MISSING+set}" != xset; then 22228ff16396Smrg case $am_aux_dir in 22238ff16396Smrg *\ * | *\ *) 22248ff16396Smrg MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 22258ff16396Smrg *) 22268ff16396Smrg MISSING="\${SHELL} $am_aux_dir/missing" ;; 22278ff16396Smrg esac 22288ff16396Smrgfi 22290bd0e222Smrg# Use eval to expand $SHELL 22300bd0e222Smrgif eval "$MISSING --run true"; then 22310bd0e222Smrg am_missing_run="$MISSING --run " 22320bd0e222Smrgelse 22330bd0e222Smrg am_missing_run= 2234d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 22358ff16396Smrg$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 22368ff16396Smrgfi 22378ff16396Smrg 22388ff16396Smrgif test x"${install_sh}" != xset; then 22398ff16396Smrg case $am_aux_dir in 22408ff16396Smrg *\ * | *\ *) 22418ff16396Smrg install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 22428ff16396Smrg *) 22438ff16396Smrg install_sh="\${SHELL} $am_aux_dir/install-sh" 22448ff16396Smrg esac 22458ff16396Smrgfi 22468ff16396Smrg 22478ff16396Smrg# Installed binaries are usually stripped using `strip' when the user 22488ff16396Smrg# run `make install-strip'. However `strip' might not be the right 22498ff16396Smrg# tool to use in cross-compilation environments, therefore Automake 22508ff16396Smrg# will honor the `STRIP' environment variable to overrule this program. 22518ff16396Smrgif test "$cross_compiling" != no; then 22528ff16396Smrg if test -n "$ac_tool_prefix"; then 22538ff16396Smrg # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 22548ff16396Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2 2255d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22568ff16396Smrg$as_echo_n "checking for $ac_word... " >&6; } 2257d5d8cc55Smrgif ${ac_cv_prog_STRIP+:} false; then : 22588ff16396Smrg $as_echo_n "(cached) " >&6 22598ff16396Smrgelse 22608ff16396Smrg if test -n "$STRIP"; then 22618ff16396Smrg ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 22628ff16396Smrgelse 22638ff16396Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22648ff16396Smrgfor as_dir in $PATH 22658ff16396Smrgdo 22668ff16396Smrg IFS=$as_save_IFS 22678ff16396Smrg test -z "$as_dir" && as_dir=. 2268d5d8cc55Smrg for ac_exec_ext in '' $ac_executable_extensions; do 22698ff16396Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 22708ff16396Smrg ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2271d5d8cc55Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 22728ff16396Smrg break 2 22738ff16396Smrg fi 22748ff16396Smrgdone 2275d5d8cc55Smrg done 22768ff16396SmrgIFS=$as_save_IFS 22778ff16396Smrg 22788ff16396Smrgfi 22798ff16396Smrgfi 22808ff16396SmrgSTRIP=$ac_cv_prog_STRIP 22818ff16396Smrgif test -n "$STRIP"; then 2282d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 22838ff16396Smrg$as_echo "$STRIP" >&6; } 22848ff16396Smrgelse 2285d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22868ff16396Smrg$as_echo "no" >&6; } 22878ff16396Smrgfi 22888ff16396Smrg 22898ff16396Smrg 22908ff16396Smrgfi 22918ff16396Smrgif test -z "$ac_cv_prog_STRIP"; then 22928ff16396Smrg ac_ct_STRIP=$STRIP 22938ff16396Smrg # Extract the first word of "strip", so it can be a program name with args. 22948ff16396Smrgset dummy strip; ac_word=$2 2295d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22968ff16396Smrg$as_echo_n "checking for $ac_word... " >&6; } 2297d5d8cc55Smrgif ${ac_cv_prog_ac_ct_STRIP+:} false; then : 22988ff16396Smrg $as_echo_n "(cached) " >&6 22998ff16396Smrgelse 23008ff16396Smrg if test -n "$ac_ct_STRIP"; then 23018ff16396Smrg ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 23028ff16396Smrgelse 23038ff16396Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23048ff16396Smrgfor as_dir in $PATH 23058ff16396Smrgdo 23068ff16396Smrg IFS=$as_save_IFS 23078ff16396Smrg test -z "$as_dir" && as_dir=. 2308d5d8cc55Smrg for ac_exec_ext in '' $ac_executable_extensions; do 23098ff16396Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 23108ff16396Smrg ac_cv_prog_ac_ct_STRIP="strip" 2311d5d8cc55Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23128ff16396Smrg break 2 23138ff16396Smrg fi 23148ff16396Smrgdone 2315d5d8cc55Smrg done 23168ff16396SmrgIFS=$as_save_IFS 23178ff16396Smrg 23188ff16396Smrgfi 23198ff16396Smrgfi 23208ff16396Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 23218ff16396Smrgif test -n "$ac_ct_STRIP"; then 2322d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 23238ff16396Smrg$as_echo "$ac_ct_STRIP" >&6; } 23248ff16396Smrgelse 2325d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23268ff16396Smrg$as_echo "no" >&6; } 23278ff16396Smrgfi 23288ff16396Smrg 23298ff16396Smrg if test "x$ac_ct_STRIP" = x; then 23308ff16396Smrg STRIP=":" 23318ff16396Smrg else 23328ff16396Smrg case $cross_compiling:$ac_tool_warned in 23338ff16396Smrgyes:) 2334d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 23358ff16396Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 23368ff16396Smrgac_tool_warned=yes ;; 23378ff16396Smrgesac 23388ff16396Smrg STRIP=$ac_ct_STRIP 23398ff16396Smrg fi 23408ff16396Smrgelse 23418ff16396Smrg STRIP="$ac_cv_prog_STRIP" 23428ff16396Smrgfi 23438ff16396Smrg 23448ff16396Smrgfi 23458ff16396SmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 23468ff16396Smrg 2347d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 23488ff16396Smrg$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 23498ff16396Smrgif test -z "$MKDIR_P"; then 2350d5d8cc55Smrg if ${ac_cv_path_mkdir+:} false; then : 23518ff16396Smrg $as_echo_n "(cached) " >&6 23528ff16396Smrgelse 23538ff16396Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23548ff16396Smrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 23558ff16396Smrgdo 23568ff16396Smrg IFS=$as_save_IFS 23578ff16396Smrg test -z "$as_dir" && as_dir=. 2358d5d8cc55Smrg for ac_prog in mkdir gmkdir; do 23598ff16396Smrg for ac_exec_ext in '' $ac_executable_extensions; do 23608ff16396Smrg { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 23618ff16396Smrg case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 23628ff16396Smrg 'mkdir (GNU coreutils) '* | \ 23638ff16396Smrg 'mkdir (coreutils) '* | \ 23648ff16396Smrg 'mkdir (fileutils) '4.1*) 23658ff16396Smrg ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 23668ff16396Smrg break 3;; 23678ff16396Smrg esac 23688ff16396Smrg done 23698ff16396Smrg done 2370d5d8cc55Smrg done 23718ff16396SmrgIFS=$as_save_IFS 23728ff16396Smrg 23738ff16396Smrgfi 23748ff16396Smrg 2375d5d8cc55Smrg test -d ./--version && rmdir ./--version 23768ff16396Smrg if test "${ac_cv_path_mkdir+set}" = set; then 23778ff16396Smrg MKDIR_P="$ac_cv_path_mkdir -p" 23788ff16396Smrg else 23798ff16396Smrg # As a last resort, use the slow shell script. Don't cache a 23808ff16396Smrg # value for MKDIR_P within a source directory, because that will 23818ff16396Smrg # break other packages using the cache if that directory is 23828ff16396Smrg # removed, or if the value is a relative name. 23838ff16396Smrg MKDIR_P="$ac_install_sh -d" 23848ff16396Smrg fi 23850bd0e222Smrgfi 2386d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 23878ff16396Smrg$as_echo "$MKDIR_P" >&6; } 23888ff16396Smrg 23898ff16396Smrgmkdir_p="$MKDIR_P" 23908ff16396Smrgcase $mkdir_p in 23918ff16396Smrg [\\/$]* | ?:[\\/]*) ;; 23928ff16396Smrg */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 23938ff16396Smrgesac 23940bd0e222Smrg 23950bd0e222Smrgfor ac_prog in gawk mawk nawk awk 23960bd0e222Smrgdo 23970bd0e222Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 23980bd0e222Smrgset dummy $ac_prog; ac_word=$2 2399d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 24008ff16396Smrg$as_echo_n "checking for $ac_word... " >&6; } 2401d5d8cc55Smrgif ${ac_cv_prog_AWK+:} false; then : 24028ff16396Smrg $as_echo_n "(cached) " >&6 24030bd0e222Smrgelse 24040bd0e222Smrg if test -n "$AWK"; then 24050bd0e222Smrg ac_cv_prog_AWK="$AWK" # Let the user override the test. 24060bd0e222Smrgelse 24070bd0e222Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24080bd0e222Smrgfor as_dir in $PATH 24090bd0e222Smrgdo 24100bd0e222Smrg IFS=$as_save_IFS 24110bd0e222Smrg test -z "$as_dir" && as_dir=. 2412d5d8cc55Smrg for ac_exec_ext in '' $ac_executable_extensions; do 24138ff16396Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 24140bd0e222Smrg ac_cv_prog_AWK="$ac_prog" 2415d5d8cc55Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 24160bd0e222Smrg break 2 24170bd0e222Smrg fi 24180bd0e222Smrgdone 2419d5d8cc55Smrg done 24208ff16396SmrgIFS=$as_save_IFS 24210bd0e222Smrg 24220bd0e222Smrgfi 24230bd0e222Smrgfi 24240bd0e222SmrgAWK=$ac_cv_prog_AWK 24250bd0e222Smrgif test -n "$AWK"; then 2426d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 24278ff16396Smrg$as_echo "$AWK" >&6; } 24280bd0e222Smrgelse 2429d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24308ff16396Smrg$as_echo "no" >&6; } 24310bd0e222Smrgfi 24320bd0e222Smrg 24338ff16396Smrg 24340bd0e222Smrg test -n "$AWK" && break 24350bd0e222Smrgdone 24360bd0e222Smrg 2437d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 24388ff16396Smrg$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 24398ff16396Smrgset x ${MAKE-make} 24408ff16396Smrgac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2441d5d8cc55Smrgif eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 24428ff16396Smrg $as_echo_n "(cached) " >&6 24430bd0e222Smrgelse 24440bd0e222Smrg cat >conftest.make <<\_ACEOF 24458ff16396SmrgSHELL = /bin/sh 24460bd0e222Smrgall: 24478ff16396Smrg @echo '@@@%%%=$(MAKE)=@@@%%%' 24480bd0e222Smrg_ACEOF 2449d5d8cc55Smrg# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 24508ff16396Smrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in 24518ff16396Smrg *@@@%%%=?*=@@@%%%*) 24528ff16396Smrg eval ac_cv_prog_make_${ac_make}_set=yes;; 24538ff16396Smrg *) 24548ff16396Smrg eval ac_cv_prog_make_${ac_make}_set=no;; 24558ff16396Smrgesac 24560bd0e222Smrgrm -f conftest.make 24570bd0e222Smrgfi 24588ff16396Smrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2459d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24608ff16396Smrg$as_echo "yes" >&6; } 24610bd0e222Smrg SET_MAKE= 24620bd0e222Smrgelse 2463d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24648ff16396Smrg$as_echo "no" >&6; } 24650bd0e222Smrg SET_MAKE="MAKE=${MAKE-make}" 24660bd0e222Smrgfi 24670bd0e222Smrg 24680bd0e222Smrgrm -rf .tst 2>/dev/null 24690bd0e222Smrgmkdir .tst 2>/dev/null 24700bd0e222Smrgif test -d .tst; then 24710bd0e222Smrg am__leading_dot=. 24720bd0e222Smrgelse 24730bd0e222Smrg am__leading_dot=_ 24740bd0e222Smrgfi 24750bd0e222Smrgrmdir .tst 2>/dev/null 24760bd0e222Smrg 24778ff16396Smrgif test "`cd $srcdir && pwd`" != "`pwd`"; then 24788ff16396Smrg # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 24798ff16396Smrg # is not polluted with repeated "-I." 24808ff16396Smrg am__isrc=' -I$(srcdir)' 24818ff16396Smrg # test to see if srcdir already configured 24828ff16396Smrg if test -f $srcdir/config.status; then 2483d5d8cc55Smrg as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 24848ff16396Smrg fi 24850bd0e222Smrgfi 24860bd0e222Smrg 24870bd0e222Smrg# test whether we have cygpath 24880bd0e222Smrgif test -z "$CYGPATH_W"; then 24890bd0e222Smrg if (cygpath --version) >/dev/null 2>/dev/null; then 24900bd0e222Smrg CYGPATH_W='cygpath -w' 24910bd0e222Smrg else 24920bd0e222Smrg CYGPATH_W=echo 24930bd0e222Smrg fi 24940bd0e222Smrgfi 24950bd0e222Smrg 24960bd0e222Smrg 24970bd0e222Smrg# Define the identity of the package. 24980bd0e222Smrg PACKAGE='font-jis-misc' 2499d5d8cc55Smrg VERSION='1.0.3' 25000bd0e222Smrg 25010bd0e222Smrg 25020bd0e222Smrgcat >>confdefs.h <<_ACEOF 25030bd0e222Smrg#define PACKAGE "$PACKAGE" 25040bd0e222Smrg_ACEOF 25050bd0e222Smrg 25060bd0e222Smrg 25070bd0e222Smrgcat >>confdefs.h <<_ACEOF 25080bd0e222Smrg#define VERSION "$VERSION" 25090bd0e222Smrg_ACEOF 25100bd0e222Smrg 25110bd0e222Smrg# Some tools Automake needs. 25120bd0e222Smrg 25130bd0e222SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 25140bd0e222Smrg 25150bd0e222Smrg 25160bd0e222SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 25170bd0e222Smrg 25180bd0e222Smrg 25190bd0e222SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 25200bd0e222Smrg 25210bd0e222Smrg 25220bd0e222SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 25230bd0e222Smrg 25240bd0e222Smrg 25250bd0e222SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 25260bd0e222Smrg 25278ff16396Smrg# We need awk for the "check" target. The system "awk" is bad on 25288ff16396Smrg# some platforms. 25298ff16396Smrg# Always define AMTAR for backward compatibility. 25300bd0e222Smrg 25310bd0e222SmrgAMTAR=${AMTAR-"${am_missing_run}tar"} 25320bd0e222Smrg 25338ff16396Smrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 25340bd0e222Smrg 25358ff16396Smrg 25368ff16396Smrg 25378ff16396Smrg 25388ff16396Smrg 25398ff16396Smrg 2540d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 25418ff16396Smrg$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 25428ff16396Smrg # Check whether --enable-maintainer-mode was given. 2543d5d8cc55Smrgif test "${enable_maintainer_mode+set}" = set; then : 25448ff16396Smrg enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 25450bd0e222Smrgelse 25468ff16396Smrg USE_MAINTAINER_MODE=no 25478ff16396Smrgfi 25488ff16396Smrg 2549d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 25508ff16396Smrg$as_echo "$USE_MAINTAINER_MODE" >&6; } 25518ff16396Smrg if test $USE_MAINTAINER_MODE = yes; then 25528ff16396Smrg MAINTAINER_MODE_TRUE= 25538ff16396Smrg MAINTAINER_MODE_FALSE='#' 25548ff16396Smrgelse 25558ff16396Smrg MAINTAINER_MODE_TRUE='#' 25568ff16396Smrg MAINTAINER_MODE_FALSE= 25578ff16396Smrgfi 25588ff16396Smrg 25598ff16396Smrg MAINT=$MAINTAINER_MODE_TRUE 25608ff16396Smrg 25618ff16396Smrg 25628ff16396Smrg 25638ff16396Smrg# Require xorg-macros: XORG_DEFAULT_OPTIONS 25648ff16396Smrg 25658ff16396Smrg 25668ff16396Smrg 25678ff16396Smrg 25688ff16396Smrg 25698ff16396Smrg 25708ff16396Smrg 25718ff16396Smrg 25728ff16396Smrg 25738ff16396Smrg 25748ff16396Smrg 25758ff16396SmrgDEPDIR="${am__leading_dot}deps" 25768ff16396Smrg 25778ff16396Smrgac_config_commands="$ac_config_commands depfiles" 25788ff16396Smrg 25798ff16396Smrg 25808ff16396Smrgam_make=${MAKE-make} 25818ff16396Smrgcat > confinc << 'END' 25828ff16396Smrgam__doit: 25838ff16396Smrg @echo this is the am__doit target 25848ff16396Smrg.PHONY: am__doit 25858ff16396SmrgEND 25868ff16396Smrg# If we don't find an include directive, just comment out the code. 2587d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 25888ff16396Smrg$as_echo_n "checking for style of include used by $am_make... " >&6; } 25898ff16396Smrgam__include="#" 25908ff16396Smrgam__quote= 25918ff16396Smrg_am_result=none 25928ff16396Smrg# First try GNU make style include. 25938ff16396Smrgecho "include confinc" > confmf 25948ff16396Smrg# Ignore all kinds of additional output from `make'. 25958ff16396Smrgcase `$am_make -s -f confmf 2> /dev/null` in #( 25968ff16396Smrg*the\ am__doit\ target*) 25978ff16396Smrg am__include=include 25988ff16396Smrg am__quote= 25998ff16396Smrg _am_result=GNU 26008ff16396Smrg ;; 26018ff16396Smrgesac 26028ff16396Smrg# Now try BSD make style include. 26038ff16396Smrgif test "$am__include" = "#"; then 26048ff16396Smrg echo '.include "confinc"' > confmf 26058ff16396Smrg case `$am_make -s -f confmf 2> /dev/null` in #( 26068ff16396Smrg *the\ am__doit\ target*) 26078ff16396Smrg am__include=.include 26088ff16396Smrg am__quote="\"" 26098ff16396Smrg _am_result=BSD 26108ff16396Smrg ;; 26118ff16396Smrg esac 26128ff16396Smrgfi 26138ff16396Smrg 26148ff16396Smrg 2615d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 26168ff16396Smrg$as_echo "$_am_result" >&6; } 26178ff16396Smrgrm -f confinc confmf 26188ff16396Smrg 26198ff16396Smrg# Check whether --enable-dependency-tracking was given. 2620d5d8cc55Smrgif test "${enable_dependency_tracking+set}" = set; then : 26218ff16396Smrg enableval=$enable_dependency_tracking; 26228ff16396Smrgfi 26238ff16396Smrg 26248ff16396Smrgif test "x$enable_dependency_tracking" != xno; then 26258ff16396Smrg am_depcomp="$ac_aux_dir/depcomp" 26268ff16396Smrg AMDEPBACKSLASH='\' 26278ff16396Smrgfi 26288ff16396Smrg if test "x$enable_dependency_tracking" != xno; then 26298ff16396Smrg AMDEP_TRUE= 26308ff16396Smrg AMDEP_FALSE='#' 26318ff16396Smrgelse 26328ff16396Smrg AMDEP_TRUE='#' 26338ff16396Smrg AMDEP_FALSE= 26348ff16396Smrgfi 26358ff16396Smrg 26368ff16396Smrg 26378ff16396Smrgac_ext=c 26388ff16396Smrgac_cpp='$CPP $CPPFLAGS' 26398ff16396Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 26408ff16396Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 26418ff16396Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 26428ff16396Smrgif test -n "$ac_tool_prefix"; then 26438ff16396Smrg # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 26448ff16396Smrgset dummy ${ac_tool_prefix}gcc; ac_word=$2 2645d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 26468ff16396Smrg$as_echo_n "checking for $ac_word... " >&6; } 2647d5d8cc55Smrgif ${ac_cv_prog_CC+:} false; then : 26488ff16396Smrg $as_echo_n "(cached) " >&6 26498ff16396Smrgelse 26508ff16396Smrg if test -n "$CC"; then 26518ff16396Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 26520bd0e222Smrgelse 26530bd0e222Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 26540bd0e222Smrgfor as_dir in $PATH 26550bd0e222Smrgdo 26560bd0e222Smrg IFS=$as_save_IFS 26570bd0e222Smrg test -z "$as_dir" && as_dir=. 2658d5d8cc55Smrg for ac_exec_ext in '' $ac_executable_extensions; do 26598ff16396Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 26608ff16396Smrg ac_cv_prog_CC="${ac_tool_prefix}gcc" 2661d5d8cc55Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 26620bd0e222Smrg break 2 26630bd0e222Smrg fi 26640bd0e222Smrgdone 2665d5d8cc55Smrg done 26668ff16396SmrgIFS=$as_save_IFS 26670bd0e222Smrg 26680bd0e222Smrgfi 26690bd0e222Smrgfi 26708ff16396SmrgCC=$ac_cv_prog_CC 26718ff16396Smrgif test -n "$CC"; then 2672d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 26738ff16396Smrg$as_echo "$CC" >&6; } 26740bd0e222Smrgelse 2675d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26768ff16396Smrg$as_echo "no" >&6; } 26770bd0e222Smrgfi 26780bd0e222Smrg 26798ff16396Smrg 26800bd0e222Smrgfi 26818ff16396Smrgif test -z "$ac_cv_prog_CC"; then 26828ff16396Smrg ac_ct_CC=$CC 26838ff16396Smrg # Extract the first word of "gcc", so it can be a program name with args. 26848ff16396Smrgset dummy gcc; ac_word=$2 2685d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 26868ff16396Smrg$as_echo_n "checking for $ac_word... " >&6; } 2687d5d8cc55Smrgif ${ac_cv_prog_ac_ct_CC+:} false; then : 26888ff16396Smrg $as_echo_n "(cached) " >&6 26890bd0e222Smrgelse 26908ff16396Smrg if test -n "$ac_ct_CC"; then 26918ff16396Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 26920bd0e222Smrgelse 26930bd0e222Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 26940bd0e222Smrgfor as_dir in $PATH 26950bd0e222Smrgdo 26960bd0e222Smrg IFS=$as_save_IFS 26970bd0e222Smrg test -z "$as_dir" && as_dir=. 2698d5d8cc55Smrg for ac_exec_ext in '' $ac_executable_extensions; do 26998ff16396Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 27008ff16396Smrg ac_cv_prog_ac_ct_CC="gcc" 2701d5d8cc55Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 27020bd0e222Smrg break 2 27030bd0e222Smrg fi 27040bd0e222Smrgdone 2705d5d8cc55Smrg done 27068ff16396SmrgIFS=$as_save_IFS 27070bd0e222Smrg 27080bd0e222Smrgfi 27090bd0e222Smrgfi 27108ff16396Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 27118ff16396Smrgif test -n "$ac_ct_CC"; then 2712d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 27138ff16396Smrg$as_echo "$ac_ct_CC" >&6; } 27140bd0e222Smrgelse 2715d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27168ff16396Smrg$as_echo "no" >&6; } 27170bd0e222Smrgfi 27180bd0e222Smrg 27198ff16396Smrg if test "x$ac_ct_CC" = x; then 27208ff16396Smrg CC="" 27218ff16396Smrg else 27228ff16396Smrg case $cross_compiling:$ac_tool_warned in 27238ff16396Smrgyes:) 2724d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 27258ff16396Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 27268ff16396Smrgac_tool_warned=yes ;; 27278ff16396Smrgesac 27288ff16396Smrg CC=$ac_ct_CC 27298ff16396Smrg fi 27300bd0e222Smrgelse 27318ff16396Smrg CC="$ac_cv_prog_CC" 27320bd0e222Smrgfi 27330bd0e222Smrg 27348ff16396Smrgif test -z "$CC"; then 27358ff16396Smrg if test -n "$ac_tool_prefix"; then 27368ff16396Smrg # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 27378ff16396Smrgset dummy ${ac_tool_prefix}cc; ac_word=$2 2738d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 27398ff16396Smrg$as_echo_n "checking for $ac_word... " >&6; } 2740d5d8cc55Smrgif ${ac_cv_prog_CC+:} false; then : 27418ff16396Smrg $as_echo_n "(cached) " >&6 27420bd0e222Smrgelse 27438ff16396Smrg if test -n "$CC"; then 27448ff16396Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 27458ff16396Smrgelse 27468ff16396Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 27478ff16396Smrgfor as_dir in $PATH 27488ff16396Smrgdo 27498ff16396Smrg IFS=$as_save_IFS 27508ff16396Smrg test -z "$as_dir" && as_dir=. 2751d5d8cc55Smrg for ac_exec_ext in '' $ac_executable_extensions; do 27528ff16396Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 27538ff16396Smrg ac_cv_prog_CC="${ac_tool_prefix}cc" 2754d5d8cc55Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 27558ff16396Smrg break 2 27568ff16396Smrg fi 27578ff16396Smrgdone 2758d5d8cc55Smrg done 27598ff16396SmrgIFS=$as_save_IFS 27608ff16396Smrg 27618ff16396Smrgfi 27628ff16396Smrgfi 27638ff16396SmrgCC=$ac_cv_prog_CC 27648ff16396Smrgif test -n "$CC"; then 2765d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 27668ff16396Smrg$as_echo "$CC" >&6; } 27678ff16396Smrgelse 2768d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27698ff16396Smrg$as_echo "no" >&6; } 27708ff16396Smrgfi 27718ff16396Smrg 27728ff16396Smrg 27738ff16396Smrg fi 27748ff16396Smrgfi 27758ff16396Smrgif test -z "$CC"; then 27768ff16396Smrg # Extract the first word of "cc", so it can be a program name with args. 27778ff16396Smrgset dummy cc; ac_word=$2 2778d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 27798ff16396Smrg$as_echo_n "checking for $ac_word... " >&6; } 2780d5d8cc55Smrgif ${ac_cv_prog_CC+:} false; then : 27818ff16396Smrg $as_echo_n "(cached) " >&6 27828ff16396Smrgelse 27838ff16396Smrg if test -n "$CC"; then 27848ff16396Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 27858ff16396Smrgelse 27868ff16396Smrg ac_prog_rejected=no 27878ff16396Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 27888ff16396Smrgfor as_dir in $PATH 27898ff16396Smrgdo 27908ff16396Smrg IFS=$as_save_IFS 27918ff16396Smrg test -z "$as_dir" && as_dir=. 2792d5d8cc55Smrg for ac_exec_ext in '' $ac_executable_extensions; do 27938ff16396Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 27948ff16396Smrg if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 27958ff16396Smrg ac_prog_rejected=yes 27968ff16396Smrg continue 27978ff16396Smrg fi 27988ff16396Smrg ac_cv_prog_CC="cc" 2799d5d8cc55Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 28008ff16396Smrg break 2 28018ff16396Smrg fi 28028ff16396Smrgdone 2803d5d8cc55Smrg done 28048ff16396SmrgIFS=$as_save_IFS 28058ff16396Smrg 28068ff16396Smrgif test $ac_prog_rejected = yes; then 28078ff16396Smrg # We found a bogon in the path, so make sure we never use it. 28088ff16396Smrg set dummy $ac_cv_prog_CC 28098ff16396Smrg shift 28108ff16396Smrg if test $# != 0; then 28118ff16396Smrg # We chose a different compiler from the bogus one. 28128ff16396Smrg # However, it has the same basename, so the bogon will be chosen 28138ff16396Smrg # first if we set CC to just the basename; use the full file name. 28148ff16396Smrg shift 28158ff16396Smrg ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 28168ff16396Smrg fi 28178ff16396Smrgfi 28188ff16396Smrgfi 28198ff16396Smrgfi 28208ff16396SmrgCC=$ac_cv_prog_CC 28218ff16396Smrgif test -n "$CC"; then 2822d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 28238ff16396Smrg$as_echo "$CC" >&6; } 28248ff16396Smrgelse 2825d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28268ff16396Smrg$as_echo "no" >&6; } 28278ff16396Smrgfi 28288ff16396Smrg 28298ff16396Smrg 28308ff16396Smrgfi 28318ff16396Smrgif test -z "$CC"; then 28328ff16396Smrg if test -n "$ac_tool_prefix"; then 28338ff16396Smrg for ac_prog in cl.exe 28348ff16396Smrg do 28358ff16396Smrg # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 28368ff16396Smrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2 2837d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 28388ff16396Smrg$as_echo_n "checking for $ac_word... " >&6; } 2839d5d8cc55Smrgif ${ac_cv_prog_CC+:} false; then : 28408ff16396Smrg $as_echo_n "(cached) " >&6 28418ff16396Smrgelse 28428ff16396Smrg if test -n "$CC"; then 28438ff16396Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 28448ff16396Smrgelse 28458ff16396Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 28468ff16396Smrgfor as_dir in $PATH 28478ff16396Smrgdo 28488ff16396Smrg IFS=$as_save_IFS 28498ff16396Smrg test -z "$as_dir" && as_dir=. 2850d5d8cc55Smrg for ac_exec_ext in '' $ac_executable_extensions; do 28518ff16396Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 28528ff16396Smrg ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2853d5d8cc55Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 28548ff16396Smrg break 2 28558ff16396Smrg fi 28568ff16396Smrgdone 2857d5d8cc55Smrg done 28588ff16396SmrgIFS=$as_save_IFS 28598ff16396Smrg 28608ff16396Smrgfi 28618ff16396Smrgfi 28628ff16396SmrgCC=$ac_cv_prog_CC 28638ff16396Smrgif test -n "$CC"; then 2864d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 28658ff16396Smrg$as_echo "$CC" >&6; } 28668ff16396Smrgelse 2867d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28688ff16396Smrg$as_echo "no" >&6; } 28698ff16396Smrgfi 28708ff16396Smrg 28718ff16396Smrg 28728ff16396Smrg test -n "$CC" && break 28738ff16396Smrg done 28748ff16396Smrgfi 28758ff16396Smrgif test -z "$CC"; then 28768ff16396Smrg ac_ct_CC=$CC 28778ff16396Smrg for ac_prog in cl.exe 28788ff16396Smrgdo 28798ff16396Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 28808ff16396Smrgset dummy $ac_prog; ac_word=$2 2881d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 28828ff16396Smrg$as_echo_n "checking for $ac_word... " >&6; } 2883d5d8cc55Smrgif ${ac_cv_prog_ac_ct_CC+:} false; then : 28848ff16396Smrg $as_echo_n "(cached) " >&6 28858ff16396Smrgelse 28868ff16396Smrg if test -n "$ac_ct_CC"; then 28878ff16396Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 28888ff16396Smrgelse 28898ff16396Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 28908ff16396Smrgfor as_dir in $PATH 28918ff16396Smrgdo 28928ff16396Smrg IFS=$as_save_IFS 28938ff16396Smrg test -z "$as_dir" && as_dir=. 2894d5d8cc55Smrg for ac_exec_ext in '' $ac_executable_extensions; do 28958ff16396Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 28968ff16396Smrg ac_cv_prog_ac_ct_CC="$ac_prog" 2897d5d8cc55Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 28988ff16396Smrg break 2 28998ff16396Smrg fi 29008ff16396Smrgdone 2901d5d8cc55Smrg done 29028ff16396SmrgIFS=$as_save_IFS 29038ff16396Smrg 29048ff16396Smrgfi 29058ff16396Smrgfi 29068ff16396Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 29078ff16396Smrgif test -n "$ac_ct_CC"; then 2908d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 29098ff16396Smrg$as_echo "$ac_ct_CC" >&6; } 29108ff16396Smrgelse 2911d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 29128ff16396Smrg$as_echo "no" >&6; } 29138ff16396Smrgfi 29148ff16396Smrg 29158ff16396Smrg 29168ff16396Smrg test -n "$ac_ct_CC" && break 29178ff16396Smrgdone 29188ff16396Smrg 29198ff16396Smrg if test "x$ac_ct_CC" = x; then 29208ff16396Smrg CC="" 29218ff16396Smrg else 29228ff16396Smrg case $cross_compiling:$ac_tool_warned in 29238ff16396Smrgyes:) 2924d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 29258ff16396Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 29268ff16396Smrgac_tool_warned=yes ;; 29278ff16396Smrgesac 29288ff16396Smrg CC=$ac_ct_CC 29298ff16396Smrg fi 29308ff16396Smrgfi 29318ff16396Smrg 29328ff16396Smrgfi 29338ff16396Smrg 29348ff16396Smrg 2935d5d8cc55Smrgtest -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 29368ff16396Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2937d5d8cc55Smrgas_fn_error $? "no acceptable C compiler found in \$PATH 2938d5d8cc55SmrgSee \`config.log' for more details" "$LINENO" 5; } 29398ff16396Smrg 29408ff16396Smrg# Provide some information about the compiler. 2941d5d8cc55Smrg$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 29428ff16396Smrgset X $ac_compile 29438ff16396Smrgac_compiler=$2 2944d5d8cc55Smrgfor ac_option in --version -v -V -qversion; do 2945d5d8cc55Smrg { { ac_try="$ac_compiler $ac_option >&5" 29468ff16396Smrgcase "(($ac_try" in 29478ff16396Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 29488ff16396Smrg *) ac_try_echo=$ac_try;; 29498ff16396Smrgesac 2950d5d8cc55Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2951d5d8cc55Smrg$as_echo "$ac_try_echo"; } >&5 2952d5d8cc55Smrg (eval "$ac_compiler $ac_option >&5") 2>conftest.err 29538ff16396Smrg ac_status=$? 2954d5d8cc55Smrg if test -s conftest.err; then 2955d5d8cc55Smrg sed '10a\ 2956d5d8cc55Smrg... rest of stderr output deleted ... 2957d5d8cc55Smrg 10q' conftest.err >conftest.er1 2958d5d8cc55Smrg cat conftest.er1 >&5 2959d5d8cc55Smrg fi 2960d5d8cc55Smrg rm -f conftest.er1 conftest.err 2961d5d8cc55Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2962d5d8cc55Smrg test $ac_status = 0; } 2963d5d8cc55Smrgdone 29648ff16396Smrg 2965d5d8cc55Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 29668ff16396Smrg/* end confdefs.h. */ 29678ff16396Smrg 29688ff16396Smrgint 29698ff16396Smrgmain () 29708ff16396Smrg{ 29718ff16396Smrg 29728ff16396Smrg ; 29738ff16396Smrg return 0; 29748ff16396Smrg} 29758ff16396Smrg_ACEOF 29768ff16396Smrgac_clean_files_save=$ac_clean_files 29778ff16396Smrgac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 29788ff16396Smrg# Try to create an executable without -o first, disregard a.out. 29798ff16396Smrg# It will help us diagnose broken compilers, and finding out an intuition 29808ff16396Smrg# of exeext. 2981d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2982d5d8cc55Smrg$as_echo_n "checking whether the C compiler works... " >&6; } 29838ff16396Smrgac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 29848ff16396Smrg 29858ff16396Smrg# The possible output files: 29868ff16396Smrgac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 29878ff16396Smrg 29888ff16396Smrgac_rmfiles= 29898ff16396Smrgfor ac_file in $ac_files 29908ff16396Smrgdo 29918ff16396Smrg case $ac_file in 29928ff16396Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 29938ff16396Smrg * ) ac_rmfiles="$ac_rmfiles $ac_file";; 29948ff16396Smrg esac 29958ff16396Smrgdone 29968ff16396Smrgrm -f $ac_rmfiles 29978ff16396Smrg 2998d5d8cc55Smrgif { { ac_try="$ac_link_default" 29998ff16396Smrgcase "(($ac_try" in 30008ff16396Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 30018ff16396Smrg *) ac_try_echo=$ac_try;; 30028ff16396Smrgesac 3003d5d8cc55Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3004d5d8cc55Smrg$as_echo "$ac_try_echo"; } >&5 30058ff16396Smrg (eval "$ac_link_default") 2>&5 30068ff16396Smrg ac_status=$? 3007d5d8cc55Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3008d5d8cc55Smrg test $ac_status = 0; }; then : 30098ff16396Smrg # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 30108ff16396Smrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 30118ff16396Smrg# in a Makefile. We should not override ac_cv_exeext if it was cached, 30128ff16396Smrg# so that the user can short-circuit this test for compilers unknown to 30138ff16396Smrg# Autoconf. 30148ff16396Smrgfor ac_file in $ac_files '' 30158ff16396Smrgdo 30168ff16396Smrg test -f "$ac_file" || continue 30178ff16396Smrg case $ac_file in 30188ff16396Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 30198ff16396Smrg ;; 30208ff16396Smrg [ab].out ) 30218ff16396Smrg # We found the default executable, but exeext='' is most 30228ff16396Smrg # certainly right. 30238ff16396Smrg break;; 30248ff16396Smrg *.* ) 3025d5d8cc55Smrg if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 30268ff16396Smrg then :; else 30278ff16396Smrg ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 30288ff16396Smrg fi 30298ff16396Smrg # We set ac_cv_exeext here because the later test for it is not 30308ff16396Smrg # safe: cross compilers may not add the suffix if given an `-o' 30318ff16396Smrg # argument, so we may need to know it at that point already. 30328ff16396Smrg # Even if this section looks crufty: it has the advantage of 30338ff16396Smrg # actually working. 30348ff16396Smrg break;; 30358ff16396Smrg * ) 30368ff16396Smrg break;; 30378ff16396Smrg esac 30388ff16396Smrgdone 30398ff16396Smrgtest "$ac_cv_exeext" = no && ac_cv_exeext= 30408ff16396Smrg 30418ff16396Smrgelse 30428ff16396Smrg ac_file='' 30438ff16396Smrgfi 3044d5d8cc55Smrgif test -z "$ac_file"; then : 3045d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3046d5d8cc55Smrg$as_echo "no" >&6; } 3047d5d8cc55Smrg$as_echo "$as_me: failed program was:" >&5 30488ff16396Smrgsed 's/^/| /' conftest.$ac_ext >&5 30498ff16396Smrg 3050d5d8cc55Smrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 30518ff16396Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3052d5d8cc55Smrgas_fn_error 77 "C compiler cannot create executables 3053d5d8cc55SmrgSee \`config.log' for more details" "$LINENO" 5; } 3054d5d8cc55Smrgelse 3055d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3056d5d8cc55Smrg$as_echo "yes" >&6; } 30578ff16396Smrgfi 3058d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3059d5d8cc55Smrg$as_echo_n "checking for C compiler default output file name... " >&6; } 3060d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3061d5d8cc55Smrg$as_echo "$ac_file" >&6; } 30628ff16396Smrgac_exeext=$ac_cv_exeext 30638ff16396Smrg 30648ff16396Smrgrm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 30658ff16396Smrgac_clean_files=$ac_clean_files_save 3066d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 30678ff16396Smrg$as_echo_n "checking for suffix of executables... " >&6; } 3068d5d8cc55Smrgif { { ac_try="$ac_link" 30698ff16396Smrgcase "(($ac_try" in 30708ff16396Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 30718ff16396Smrg *) ac_try_echo=$ac_try;; 30728ff16396Smrgesac 3073d5d8cc55Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3074d5d8cc55Smrg$as_echo "$ac_try_echo"; } >&5 30758ff16396Smrg (eval "$ac_link") 2>&5 30768ff16396Smrg ac_status=$? 3077d5d8cc55Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3078d5d8cc55Smrg test $ac_status = 0; }; then : 30798ff16396Smrg # If both `conftest.exe' and `conftest' are `present' (well, observable) 30808ff16396Smrg# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 30818ff16396Smrg# work properly (i.e., refer to `conftest.exe'), while it won't with 30828ff16396Smrg# `rm'. 30838ff16396Smrgfor ac_file in conftest.exe conftest conftest.*; do 30848ff16396Smrg test -f "$ac_file" || continue 30858ff16396Smrg case $ac_file in 30868ff16396Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 30878ff16396Smrg *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 30888ff16396Smrg break;; 30898ff16396Smrg * ) break;; 30908ff16396Smrg esac 30918ff16396Smrgdone 30928ff16396Smrgelse 3093d5d8cc55Smrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 30948ff16396Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3095d5d8cc55Smrgas_fn_error $? "cannot compute suffix of executables: cannot compile and link 3096d5d8cc55SmrgSee \`config.log' for more details" "$LINENO" 5; } 30978ff16396Smrgfi 3098d5d8cc55Smrgrm -f conftest conftest$ac_cv_exeext 3099d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 31008ff16396Smrg$as_echo "$ac_cv_exeext" >&6; } 31018ff16396Smrg 31028ff16396Smrgrm -f conftest.$ac_ext 31038ff16396SmrgEXEEXT=$ac_cv_exeext 31048ff16396Smrgac_exeext=$EXEEXT 3105d5d8cc55Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 31068ff16396Smrg/* end confdefs.h. */ 3107d5d8cc55Smrg#include <stdio.h> 31088ff16396Smrgint 31098ff16396Smrgmain () 31108ff16396Smrg{ 3111d5d8cc55SmrgFILE *f = fopen ("conftest.out", "w"); 3112d5d8cc55Smrg return ferror (f) || fclose (f) != 0; 31138ff16396Smrg 31148ff16396Smrg ; 31158ff16396Smrg return 0; 31168ff16396Smrg} 31178ff16396Smrg_ACEOF 3118d5d8cc55Smrgac_clean_files="$ac_clean_files conftest.out" 3119d5d8cc55Smrg# Check that the compiler produces executables we can run. If not, either 3120d5d8cc55Smrg# the compiler is broken, or we cross compile. 3121d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3122d5d8cc55Smrg$as_echo_n "checking whether we are cross compiling... " >&6; } 3123d5d8cc55Smrgif test "$cross_compiling" != yes; then 3124d5d8cc55Smrg { { ac_try="$ac_link" 31258ff16396Smrgcase "(($ac_try" in 31268ff16396Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 31278ff16396Smrg *) ac_try_echo=$ac_try;; 31288ff16396Smrgesac 3129d5d8cc55Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3130d5d8cc55Smrg$as_echo "$ac_try_echo"; } >&5 3131d5d8cc55Smrg (eval "$ac_link") 2>&5 31328ff16396Smrg ac_status=$? 3133d5d8cc55Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3134d5d8cc55Smrg test $ac_status = 0; } 3135d5d8cc55Smrg if { ac_try='./conftest$ac_cv_exeext' 3136d5d8cc55Smrg { { case "(($ac_try" in 3137d5d8cc55Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3138d5d8cc55Smrg *) ac_try_echo=$ac_try;; 3139d5d8cc55Smrgesac 3140d5d8cc55Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3141d5d8cc55Smrg$as_echo "$ac_try_echo"; } >&5 3142d5d8cc55Smrg (eval "$ac_try") 2>&5 3143d5d8cc55Smrg ac_status=$? 3144d5d8cc55Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3145d5d8cc55Smrg test $ac_status = 0; }; }; then 3146d5d8cc55Smrg cross_compiling=no 3147d5d8cc55Smrg else 3148d5d8cc55Smrg if test "$cross_compiling" = maybe; then 3149d5d8cc55Smrg cross_compiling=yes 3150d5d8cc55Smrg else 3151d5d8cc55Smrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3152d5d8cc55Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3153d5d8cc55Smrgas_fn_error $? "cannot run C compiled programs. 3154d5d8cc55SmrgIf you meant to cross compile, use \`--host'. 3155d5d8cc55SmrgSee \`config.log' for more details" "$LINENO" 5; } 3156d5d8cc55Smrg fi 3157d5d8cc55Smrg fi 31588ff16396Smrgfi 3159d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3160d5d8cc55Smrg$as_echo "$cross_compiling" >&6; } 3161d5d8cc55Smrg 3162d5d8cc55Smrgrm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3163d5d8cc55Smrgac_clean_files=$ac_clean_files_save 3164d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3165d5d8cc55Smrg$as_echo_n "checking for suffix of object files... " >&6; } 3166d5d8cc55Smrgif ${ac_cv_objext+:} false; then : 3167d5d8cc55Smrg $as_echo_n "(cached) " >&6 3168d5d8cc55Smrgelse 3169d5d8cc55Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3170d5d8cc55Smrg/* end confdefs.h. */ 3171d5d8cc55Smrg 3172d5d8cc55Smrgint 3173d5d8cc55Smrgmain () 3174d5d8cc55Smrg{ 3175d5d8cc55Smrg 3176d5d8cc55Smrg ; 3177d5d8cc55Smrg return 0; 3178d5d8cc55Smrg} 3179d5d8cc55Smrg_ACEOF 3180d5d8cc55Smrgrm -f conftest.o conftest.obj 3181d5d8cc55Smrgif { { ac_try="$ac_compile" 3182d5d8cc55Smrgcase "(($ac_try" in 3183d5d8cc55Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3184d5d8cc55Smrg *) ac_try_echo=$ac_try;; 3185d5d8cc55Smrgesac 3186d5d8cc55Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3187d5d8cc55Smrg$as_echo "$ac_try_echo"; } >&5 3188d5d8cc55Smrg (eval "$ac_compile") 2>&5 3189d5d8cc55Smrg ac_status=$? 3190d5d8cc55Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3191d5d8cc55Smrg test $ac_status = 0; }; then : 3192d5d8cc55Smrg for ac_file in conftest.o conftest.obj conftest.*; do 3193d5d8cc55Smrg test -f "$ac_file" || continue; 3194d5d8cc55Smrg case $ac_file in 3195d5d8cc55Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3196d5d8cc55Smrg *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3197d5d8cc55Smrg break;; 3198d5d8cc55Smrg esac 3199d5d8cc55Smrgdone 3200d5d8cc55Smrgelse 3201d5d8cc55Smrg $as_echo "$as_me: failed program was:" >&5 3202d5d8cc55Smrgsed 's/^/| /' conftest.$ac_ext >&5 32038ff16396Smrg 3204d5d8cc55Smrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3205d5d8cc55Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3206d5d8cc55Smrgas_fn_error $? "cannot compute suffix of object files: cannot compile 3207d5d8cc55SmrgSee \`config.log' for more details" "$LINENO" 5; } 3208d5d8cc55Smrgfi 32098ff16396Smrgrm -f conftest.$ac_cv_objext conftest.$ac_ext 32108ff16396Smrgfi 3211d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 32128ff16396Smrg$as_echo "$ac_cv_objext" >&6; } 32138ff16396SmrgOBJEXT=$ac_cv_objext 32148ff16396Smrgac_objext=$OBJEXT 3215d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 32168ff16396Smrg$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3217d5d8cc55Smrgif ${ac_cv_c_compiler_gnu+:} false; then : 32188ff16396Smrg $as_echo_n "(cached) " >&6 32198ff16396Smrgelse 3220d5d8cc55Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32218ff16396Smrg/* end confdefs.h. */ 32228ff16396Smrg 32238ff16396Smrgint 32248ff16396Smrgmain () 32258ff16396Smrg{ 32268ff16396Smrg#ifndef __GNUC__ 32278ff16396Smrg choke me 32288ff16396Smrg#endif 32298ff16396Smrg 32308ff16396Smrg ; 32318ff16396Smrg return 0; 32328ff16396Smrg} 32338ff16396Smrg_ACEOF 3234d5d8cc55Smrgif ac_fn_c_try_compile "$LINENO"; then : 32358ff16396Smrg ac_compiler_gnu=yes 32368ff16396Smrgelse 3237d5d8cc55Smrg ac_compiler_gnu=no 32388ff16396Smrgfi 32398ff16396Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 32408ff16396Smrgac_cv_c_compiler_gnu=$ac_compiler_gnu 32418ff16396Smrg 32428ff16396Smrgfi 3243d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 32448ff16396Smrg$as_echo "$ac_cv_c_compiler_gnu" >&6; } 32458ff16396Smrgif test $ac_compiler_gnu = yes; then 32468ff16396Smrg GCC=yes 32478ff16396Smrgelse 32488ff16396Smrg GCC= 32498ff16396Smrgfi 32508ff16396Smrgac_test_CFLAGS=${CFLAGS+set} 32518ff16396Smrgac_save_CFLAGS=$CFLAGS 3252d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 32538ff16396Smrg$as_echo_n "checking whether $CC accepts -g... " >&6; } 3254d5d8cc55Smrgif ${ac_cv_prog_cc_g+:} false; then : 32558ff16396Smrg $as_echo_n "(cached) " >&6 32568ff16396Smrgelse 32578ff16396Smrg ac_save_c_werror_flag=$ac_c_werror_flag 32588ff16396Smrg ac_c_werror_flag=yes 32598ff16396Smrg ac_cv_prog_cc_g=no 32608ff16396Smrg CFLAGS="-g" 3261d5d8cc55Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32628ff16396Smrg/* end confdefs.h. */ 32638ff16396Smrg 32648ff16396Smrgint 32658ff16396Smrgmain () 32668ff16396Smrg{ 32678ff16396Smrg 32688ff16396Smrg ; 32698ff16396Smrg return 0; 32708ff16396Smrg} 32718ff16396Smrg_ACEOF 3272d5d8cc55Smrgif ac_fn_c_try_compile "$LINENO"; then : 32738ff16396Smrg ac_cv_prog_cc_g=yes 32748ff16396Smrgelse 3275d5d8cc55Smrg CFLAGS="" 3276d5d8cc55Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32778ff16396Smrg/* end confdefs.h. */ 32788ff16396Smrg 32798ff16396Smrgint 32808ff16396Smrgmain () 32818ff16396Smrg{ 32828ff16396Smrg 32838ff16396Smrg ; 32848ff16396Smrg return 0; 32858ff16396Smrg} 32868ff16396Smrg_ACEOF 3287d5d8cc55Smrgif ac_fn_c_try_compile "$LINENO"; then : 32888ff16396Smrg 3289d5d8cc55Smrgelse 3290d5d8cc55Smrg ac_c_werror_flag=$ac_save_c_werror_flag 32918ff16396Smrg CFLAGS="-g" 3292d5d8cc55Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32938ff16396Smrg/* end confdefs.h. */ 32948ff16396Smrg 32958ff16396Smrgint 32968ff16396Smrgmain () 32978ff16396Smrg{ 32988ff16396Smrg 32998ff16396Smrg ; 33008ff16396Smrg return 0; 33018ff16396Smrg} 33028ff16396Smrg_ACEOF 3303d5d8cc55Smrgif ac_fn_c_try_compile "$LINENO"; then : 33048ff16396Smrg ac_cv_prog_cc_g=yes 33058ff16396Smrgfi 33068ff16396Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 33078ff16396Smrgfi 33088ff16396Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 33098ff16396Smrgfi 33108ff16396Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 33118ff16396Smrg ac_c_werror_flag=$ac_save_c_werror_flag 33128ff16396Smrgfi 3313d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 33148ff16396Smrg$as_echo "$ac_cv_prog_cc_g" >&6; } 33158ff16396Smrgif test "$ac_test_CFLAGS" = set; then 33168ff16396Smrg CFLAGS=$ac_save_CFLAGS 33178ff16396Smrgelif test $ac_cv_prog_cc_g = yes; then 33188ff16396Smrg if test "$GCC" = yes; then 33198ff16396Smrg CFLAGS="-g -O2" 33208ff16396Smrg else 33218ff16396Smrg CFLAGS="-g" 33228ff16396Smrg fi 33238ff16396Smrgelse 33248ff16396Smrg if test "$GCC" = yes; then 33258ff16396Smrg CFLAGS="-O2" 33268ff16396Smrg else 33278ff16396Smrg CFLAGS= 33288ff16396Smrg fi 33298ff16396Smrgfi 3330d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 33318ff16396Smrg$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3332d5d8cc55Smrgif ${ac_cv_prog_cc_c89+:} false; then : 33338ff16396Smrg $as_echo_n "(cached) " >&6 33348ff16396Smrgelse 33358ff16396Smrg ac_cv_prog_cc_c89=no 33368ff16396Smrgac_save_CC=$CC 3337d5d8cc55Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 33388ff16396Smrg/* end confdefs.h. */ 33398ff16396Smrg#include <stdarg.h> 33408ff16396Smrg#include <stdio.h> 33418ff16396Smrg#include <sys/types.h> 33428ff16396Smrg#include <sys/stat.h> 33438ff16396Smrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 33448ff16396Smrgstruct buf { int x; }; 33458ff16396SmrgFILE * (*rcsopen) (struct buf *, struct stat *, int); 33468ff16396Smrgstatic char *e (p, i) 33478ff16396Smrg char **p; 33488ff16396Smrg int i; 33498ff16396Smrg{ 33508ff16396Smrg return p[i]; 33518ff16396Smrg} 33528ff16396Smrgstatic char *f (char * (*g) (char **, int), char **p, ...) 33538ff16396Smrg{ 33548ff16396Smrg char *s; 33558ff16396Smrg va_list v; 33568ff16396Smrg va_start (v,p); 33578ff16396Smrg s = g (p, va_arg (v,int)); 33588ff16396Smrg va_end (v); 33598ff16396Smrg return s; 33608ff16396Smrg} 33618ff16396Smrg 33628ff16396Smrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 33638ff16396Smrg function prototypes and stuff, but not '\xHH' hex character constants. 33648ff16396Smrg These don't provoke an error unfortunately, instead are silently treated 33658ff16396Smrg as 'x'. The following induces an error, until -std is added to get 33668ff16396Smrg proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 33678ff16396Smrg array size at least. It's necessary to write '\x00'==0 to get something 33688ff16396Smrg that's true only with -std. */ 33698ff16396Smrgint osf4_cc_array ['\x00' == 0 ? 1 : -1]; 33708ff16396Smrg 33718ff16396Smrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 33728ff16396Smrg inside strings and character constants. */ 33738ff16396Smrg#define FOO(x) 'x' 33748ff16396Smrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 33758ff16396Smrg 33768ff16396Smrgint test (int i, double x); 33778ff16396Smrgstruct s1 {int (*f) (int a);}; 33788ff16396Smrgstruct s2 {int (*f) (double a);}; 33798ff16396Smrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 33808ff16396Smrgint argc; 33818ff16396Smrgchar **argv; 33828ff16396Smrgint 33838ff16396Smrgmain () 33848ff16396Smrg{ 33858ff16396Smrgreturn f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 33868ff16396Smrg ; 33878ff16396Smrg return 0; 33888ff16396Smrg} 33898ff16396Smrg_ACEOF 33908ff16396Smrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 33918ff16396Smrg -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 33928ff16396Smrgdo 33938ff16396Smrg CC="$ac_save_CC $ac_arg" 3394d5d8cc55Smrg if ac_fn_c_try_compile "$LINENO"; then : 33958ff16396Smrg ac_cv_prog_cc_c89=$ac_arg 33968ff16396Smrgfi 33978ff16396Smrgrm -f core conftest.err conftest.$ac_objext 33988ff16396Smrg test "x$ac_cv_prog_cc_c89" != "xno" && break 33998ff16396Smrgdone 34008ff16396Smrgrm -f conftest.$ac_ext 34018ff16396SmrgCC=$ac_save_CC 34028ff16396Smrg 34038ff16396Smrgfi 34048ff16396Smrg# AC_CACHE_VAL 34058ff16396Smrgcase "x$ac_cv_prog_cc_c89" in 34068ff16396Smrg x) 3407d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 34088ff16396Smrg$as_echo "none needed" >&6; } ;; 34098ff16396Smrg xno) 3410d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 34118ff16396Smrg$as_echo "unsupported" >&6; } ;; 34128ff16396Smrg *) 34138ff16396Smrg CC="$CC $ac_cv_prog_cc_c89" 3414d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 34158ff16396Smrg$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 34168ff16396Smrgesac 3417d5d8cc55Smrgif test "x$ac_cv_prog_cc_c89" != xno; then : 34188ff16396Smrg 3419d5d8cc55Smrgfi 34208ff16396Smrg 34218ff16396Smrgac_ext=c 34228ff16396Smrgac_cpp='$CPP $CPPFLAGS' 34238ff16396Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 34248ff16396Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 34258ff16396Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 34268ff16396Smrg 34278ff16396Smrgdepcc="$CC" am_compiler_list= 34288ff16396Smrg 3429d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 34308ff16396Smrg$as_echo_n "checking dependency style of $depcc... " >&6; } 3431d5d8cc55Smrgif ${am_cv_CC_dependencies_compiler_type+:} false; then : 34328ff16396Smrg $as_echo_n "(cached) " >&6 34338ff16396Smrgelse 34348ff16396Smrg if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 34358ff16396Smrg # We make a subdir and do the tests there. Otherwise we can end up 34368ff16396Smrg # making bogus files that we don't know about and never remove. For 34378ff16396Smrg # instance it was reported that on HP-UX the gcc test will end up 34388ff16396Smrg # making a dummy file named `D' -- because `-MD' means `put the output 34398ff16396Smrg # in D'. 34408ff16396Smrg mkdir conftest.dir 34418ff16396Smrg # Copy depcomp to subdir because otherwise we won't find it if we're 34428ff16396Smrg # using a relative directory. 34438ff16396Smrg cp "$am_depcomp" conftest.dir 34448ff16396Smrg cd conftest.dir 34458ff16396Smrg # We will build objects and dependencies in a subdirectory because 34468ff16396Smrg # it helps to detect inapplicable dependency modes. For instance 34478ff16396Smrg # both Tru64's cc and ICC support -MD to output dependencies as a 34488ff16396Smrg # side effect of compilation, but ICC will put the dependencies in 34498ff16396Smrg # the current directory while Tru64 will put them in the object 34508ff16396Smrg # directory. 34518ff16396Smrg mkdir sub 34528ff16396Smrg 34538ff16396Smrg am_cv_CC_dependencies_compiler_type=none 34548ff16396Smrg if test "$am_compiler_list" = ""; then 34558ff16396Smrg am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 34568ff16396Smrg fi 34578ff16396Smrg am__universal=false 34588ff16396Smrg case " $depcc " in #( 34598ff16396Smrg *\ -arch\ *\ -arch\ *) am__universal=true ;; 34608ff16396Smrg esac 34618ff16396Smrg 34628ff16396Smrg for depmode in $am_compiler_list; do 34638ff16396Smrg # Setup a source with many dependencies, because some compilers 34648ff16396Smrg # like to wrap large dependency lists on column 80 (with \), and 34658ff16396Smrg # we should not choose a depcomp mode which is confused by this. 34668ff16396Smrg # 34678ff16396Smrg # We need to recreate these files for each test, as the compiler may 34688ff16396Smrg # overwrite some of them when testing with obscure command lines. 34698ff16396Smrg # This happens at least with the AIX C compiler. 34708ff16396Smrg : > sub/conftest.c 34718ff16396Smrg for i in 1 2 3 4 5 6; do 34728ff16396Smrg echo '#include "conftst'$i'.h"' >> sub/conftest.c 34738ff16396Smrg # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 34748ff16396Smrg # Solaris 8's {/usr,}/bin/sh. 34758ff16396Smrg touch sub/conftst$i.h 34768ff16396Smrg done 34778ff16396Smrg echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 34788ff16396Smrg 34798ff16396Smrg # We check with `-c' and `-o' for the sake of the "dashmstdout" 34808ff16396Smrg # mode. It turns out that the SunPro C++ compiler does not properly 34818ff16396Smrg # handle `-M -o', and we need to detect this. Also, some Intel 34828ff16396Smrg # versions had trouble with output in subdirs 34838ff16396Smrg am__obj=sub/conftest.${OBJEXT-o} 34848ff16396Smrg am__minus_obj="-o $am__obj" 34858ff16396Smrg case $depmode in 34868ff16396Smrg gcc) 34878ff16396Smrg # This depmode causes a compiler race in universal mode. 34888ff16396Smrg test "$am__universal" = false || continue 34898ff16396Smrg ;; 34908ff16396Smrg nosideeffect) 34918ff16396Smrg # after this tag, mechanisms are not by side-effect, so they'll 34928ff16396Smrg # only be used when explicitly requested 34938ff16396Smrg if test "x$enable_dependency_tracking" = xyes; then 34948ff16396Smrg continue 34958ff16396Smrg else 34968ff16396Smrg break 34978ff16396Smrg fi 34988ff16396Smrg ;; 34998ff16396Smrg msvisualcpp | msvcmsys) 35008ff16396Smrg # This compiler won't grok `-c -o', but also, the minuso test has 35018ff16396Smrg # not run yet. These depmodes are late enough in the game, and 35028ff16396Smrg # so weak that their functioning should not be impacted. 35038ff16396Smrg am__obj=conftest.${OBJEXT-o} 35048ff16396Smrg am__minus_obj= 35058ff16396Smrg ;; 35068ff16396Smrg none) break ;; 35078ff16396Smrg esac 35088ff16396Smrg if depmode=$depmode \ 35098ff16396Smrg source=sub/conftest.c object=$am__obj \ 35108ff16396Smrg depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 35118ff16396Smrg $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 35128ff16396Smrg >/dev/null 2>conftest.err && 35138ff16396Smrg grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 35148ff16396Smrg grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 35158ff16396Smrg grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 35168ff16396Smrg ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 35178ff16396Smrg # icc doesn't choke on unknown options, it will just issue warnings 35188ff16396Smrg # or remarks (even with -Werror). So we grep stderr for any message 35198ff16396Smrg # that says an option was ignored or not supported. 35208ff16396Smrg # When given -MP, icc 7.0 and 7.1 complain thusly: 35218ff16396Smrg # icc: Command line warning: ignoring option '-M'; no argument required 35228ff16396Smrg # The diagnosis changed in icc 8.0: 35238ff16396Smrg # icc: Command line remark: option '-MP' not supported 35248ff16396Smrg if (grep 'ignoring option' conftest.err || 35258ff16396Smrg grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 35268ff16396Smrg am_cv_CC_dependencies_compiler_type=$depmode 35278ff16396Smrg break 35288ff16396Smrg fi 35298ff16396Smrg fi 35308ff16396Smrg done 35318ff16396Smrg 35328ff16396Smrg cd .. 35338ff16396Smrg rm -rf conftest.dir 35348ff16396Smrgelse 35358ff16396Smrg am_cv_CC_dependencies_compiler_type=none 35368ff16396Smrgfi 35378ff16396Smrg 35388ff16396Smrgfi 3539d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 35408ff16396Smrg$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 35418ff16396SmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 35428ff16396Smrg 35438ff16396Smrg if 35448ff16396Smrg test "x$enable_dependency_tracking" != xno \ 35458ff16396Smrg && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 35468ff16396Smrg am__fastdepCC_TRUE= 35478ff16396Smrg am__fastdepCC_FALSE='#' 35488ff16396Smrgelse 35498ff16396Smrg am__fastdepCC_TRUE='#' 35508ff16396Smrg am__fastdepCC_FALSE= 35518ff16396Smrgfi 35528ff16396Smrg 35538ff16396Smrg 3554d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 3555d5d8cc55Smrg$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 3556d5d8cc55Smrgif ${ac_cv_prog_cc_c99+:} false; then : 35578ff16396Smrg $as_echo_n "(cached) " >&6 35588ff16396Smrgelse 3559d5d8cc55Smrg ac_cv_prog_cc_c99=no 3560d5d8cc55Smrgac_save_CC=$CC 3561d5d8cc55Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 35628ff16396Smrg/* end confdefs.h. */ 3563d5d8cc55Smrg#include <stdarg.h> 3564d5d8cc55Smrg#include <stdbool.h> 3565d5d8cc55Smrg#include <stdlib.h> 3566d5d8cc55Smrg#include <wchar.h> 3567d5d8cc55Smrg#include <stdio.h> 3568d5d8cc55Smrg 3569d5d8cc55Smrg// Check varargs macros. These examples are taken from C99 6.10.3.5. 3570d5d8cc55Smrg#define debug(...) fprintf (stderr, __VA_ARGS__) 3571d5d8cc55Smrg#define showlist(...) puts (#__VA_ARGS__) 3572d5d8cc55Smrg#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 3573d5d8cc55Smrgstatic void 3574d5d8cc55Smrgtest_varargs_macros (void) 3575d5d8cc55Smrg{ 3576d5d8cc55Smrg int x = 1234; 3577d5d8cc55Smrg int y = 5678; 3578d5d8cc55Smrg debug ("Flag"); 3579d5d8cc55Smrg debug ("X = %d\n", x); 3580d5d8cc55Smrg showlist (The first, second, and third items.); 3581d5d8cc55Smrg report (x>y, "x is %d but y is %d", x, y); 3582d5d8cc55Smrg} 3583d5d8cc55Smrg 3584d5d8cc55Smrg// Check long long types. 3585d5d8cc55Smrg#define BIG64 18446744073709551615ull 3586d5d8cc55Smrg#define BIG32 4294967295ul 3587d5d8cc55Smrg#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 3588d5d8cc55Smrg#if !BIG_OK 3589d5d8cc55Smrg your preprocessor is broken; 3590d5d8cc55Smrg#endif 3591d5d8cc55Smrg#if BIG_OK 35928ff16396Smrg#else 3593d5d8cc55Smrg your preprocessor is broken; 35948ff16396Smrg#endif 3595d5d8cc55Smrgstatic long long int bignum = -9223372036854775807LL; 3596d5d8cc55Smrgstatic unsigned long long int ubignum = BIG64; 35978ff16396Smrg 3598d5d8cc55Smrgstruct incomplete_array 3599d5d8cc55Smrg{ 3600d5d8cc55Smrg int datasize; 3601d5d8cc55Smrg double data[]; 3602d5d8cc55Smrg}; 36038ff16396Smrg 3604d5d8cc55Smrgstruct named_init { 3605d5d8cc55Smrg int number; 3606d5d8cc55Smrg const wchar_t *name; 3607d5d8cc55Smrg double average; 3608d5d8cc55Smrg}; 36098ff16396Smrg 3610d5d8cc55Smrgtypedef const char *ccp; 36118ff16396Smrg 3612d5d8cc55Smrgstatic inline int 3613d5d8cc55Smrgtest_restrict (ccp restrict text) 3614d5d8cc55Smrg{ 3615d5d8cc55Smrg // See if C++-style comments work. 3616d5d8cc55Smrg // Iterate through items via the restricted pointer. 3617d5d8cc55Smrg // Also check for declarations in for loops. 3618d5d8cc55Smrg for (unsigned int i = 0; *(text+i) != '\0'; ++i) 3619d5d8cc55Smrg continue; 3620d5d8cc55Smrg return 0; 3621d5d8cc55Smrg} 36228ff16396Smrg 3623d5d8cc55Smrg// Check varargs and va_copy. 3624d5d8cc55Smrgstatic void 3625d5d8cc55Smrgtest_varargs (const char *format, ...) 3626d5d8cc55Smrg{ 3627d5d8cc55Smrg va_list args; 3628d5d8cc55Smrg va_start (args, format); 3629d5d8cc55Smrg va_list args_copy; 3630d5d8cc55Smrg va_copy (args_copy, args); 36318ff16396Smrg 3632d5d8cc55Smrg const char *str; 3633d5d8cc55Smrg int number; 3634d5d8cc55Smrg float fnumber; 36358ff16396Smrg 3636d5d8cc55Smrg while (*format) 3637d5d8cc55Smrg { 3638d5d8cc55Smrg switch (*format++) 3639d5d8cc55Smrg { 3640d5d8cc55Smrg case 's': // string 3641d5d8cc55Smrg str = va_arg (args_copy, const char *); 3642d5d8cc55Smrg break; 3643d5d8cc55Smrg case 'd': // int 3644d5d8cc55Smrg number = va_arg (args_copy, int); 3645d5d8cc55Smrg break; 3646d5d8cc55Smrg case 'f': // float 3647d5d8cc55Smrg fnumber = va_arg (args_copy, double); 3648d5d8cc55Smrg break; 3649d5d8cc55Smrg default: 3650d5d8cc55Smrg break; 3651d5d8cc55Smrg } 3652d5d8cc55Smrg } 3653d5d8cc55Smrg va_end (args_copy); 3654d5d8cc55Smrg va_end (args); 3655d5d8cc55Smrg} 3656d5d8cc55Smrg 3657d5d8cc55Smrgint 3658d5d8cc55Smrgmain () 3659d5d8cc55Smrg{ 3660d5d8cc55Smrg 3661d5d8cc55Smrg // Check bool. 3662d5d8cc55Smrg _Bool success = false; 3663d5d8cc55Smrg 3664d5d8cc55Smrg // Check restrict. 3665d5d8cc55Smrg if (test_restrict ("String literal") == 0) 3666d5d8cc55Smrg success = true; 3667d5d8cc55Smrg char *restrict newvar = "Another string"; 3668d5d8cc55Smrg 3669d5d8cc55Smrg // Check varargs. 3670d5d8cc55Smrg test_varargs ("s, d' f .", "string", 65, 34.234); 3671d5d8cc55Smrg test_varargs_macros (); 3672d5d8cc55Smrg 3673d5d8cc55Smrg // Check flexible array members. 3674d5d8cc55Smrg struct incomplete_array *ia = 3675d5d8cc55Smrg malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 3676d5d8cc55Smrg ia->datasize = 10; 3677d5d8cc55Smrg for (int i = 0; i < ia->datasize; ++i) 3678d5d8cc55Smrg ia->data[i] = i * 1.234; 3679d5d8cc55Smrg 3680d5d8cc55Smrg // Check named initializers. 3681d5d8cc55Smrg struct named_init ni = { 3682d5d8cc55Smrg .number = 34, 3683d5d8cc55Smrg .name = L"Test wide string", 3684d5d8cc55Smrg .average = 543.34343, 3685d5d8cc55Smrg }; 3686d5d8cc55Smrg 3687d5d8cc55Smrg ni.number = 58; 3688d5d8cc55Smrg 3689d5d8cc55Smrg int dynamic_array[ni.number]; 3690d5d8cc55Smrg dynamic_array[ni.number - 1] = 543; 3691d5d8cc55Smrg 3692d5d8cc55Smrg // work around unused variable warnings 3693d5d8cc55Smrg return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 3694d5d8cc55Smrg || dynamic_array[ni.number - 1] != 543); 3695d5d8cc55Smrg 3696d5d8cc55Smrg ; 3697d5d8cc55Smrg return 0; 3698d5d8cc55Smrg} 3699d5d8cc55Smrg_ACEOF 3700d5d8cc55Smrgfor ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 3701d5d8cc55Smrgdo 3702d5d8cc55Smrg CC="$ac_save_CC $ac_arg" 3703d5d8cc55Smrg if ac_fn_c_try_compile "$LINENO"; then : 3704d5d8cc55Smrg ac_cv_prog_cc_c99=$ac_arg 3705d5d8cc55Smrgfi 3706d5d8cc55Smrgrm -f core conftest.err conftest.$ac_objext 3707d5d8cc55Smrg test "x$ac_cv_prog_cc_c99" != "xno" && break 3708d5d8cc55Smrgdone 3709d5d8cc55Smrgrm -f conftest.$ac_ext 3710d5d8cc55SmrgCC=$ac_save_CC 3711d5d8cc55Smrg 3712d5d8cc55Smrgfi 3713d5d8cc55Smrg# AC_CACHE_VAL 3714d5d8cc55Smrgcase "x$ac_cv_prog_cc_c99" in 3715d5d8cc55Smrg x) 3716d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3717d5d8cc55Smrg$as_echo "none needed" >&6; } ;; 3718d5d8cc55Smrg xno) 3719d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3720d5d8cc55Smrg$as_echo "unsupported" >&6; } ;; 3721d5d8cc55Smrg *) 3722d5d8cc55Smrg CC="$CC $ac_cv_prog_cc_c99" 3723d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 3724d5d8cc55Smrg$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 3725d5d8cc55Smrgesac 3726d5d8cc55Smrgif test "x$ac_cv_prog_cc_c99" != xno; then : 3727d5d8cc55Smrg 3728d5d8cc55Smrgfi 3729d5d8cc55Smrg 3730d5d8cc55Smrg 3731d5d8cc55Smrg 3732d5d8cc55Smrgac_ext=c 3733d5d8cc55Smrgac_cpp='$CPP $CPPFLAGS' 3734d5d8cc55Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3735d5d8cc55Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3736d5d8cc55Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 3737d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3738d5d8cc55Smrg$as_echo_n "checking how to run the C preprocessor... " >&6; } 3739d5d8cc55Smrg# On Suns, sometimes $CPP names a directory. 3740d5d8cc55Smrgif test -n "$CPP" && test -d "$CPP"; then 3741d5d8cc55Smrg CPP= 3742d5d8cc55Smrgfi 3743d5d8cc55Smrgif test -z "$CPP"; then 3744d5d8cc55Smrg if ${ac_cv_prog_CPP+:} false; then : 3745d5d8cc55Smrg $as_echo_n "(cached) " >&6 3746d5d8cc55Smrgelse 3747d5d8cc55Smrg # Double quotes because CPP needs to be expanded 3748d5d8cc55Smrg for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3749d5d8cc55Smrg do 3750d5d8cc55Smrg ac_preproc_ok=false 3751d5d8cc55Smrgfor ac_c_preproc_warn_flag in '' yes 3752d5d8cc55Smrgdo 3753d5d8cc55Smrg # Use a header file that comes with gcc, so configuring glibc 3754d5d8cc55Smrg # with a fresh cross-compiler works. 3755d5d8cc55Smrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3756d5d8cc55Smrg # <limits.h> exists even on freestanding compilers. 3757d5d8cc55Smrg # On the NeXT, cc -E runs the code through the compiler's parser, 3758d5d8cc55Smrg # not just through cpp. "Syntax error" is here to catch this case. 3759d5d8cc55Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3760d5d8cc55Smrg/* end confdefs.h. */ 3761d5d8cc55Smrg#ifdef __STDC__ 3762d5d8cc55Smrg# include <limits.h> 3763d5d8cc55Smrg#else 3764d5d8cc55Smrg# include <assert.h> 3765d5d8cc55Smrg#endif 3766d5d8cc55Smrg Syntax error 3767d5d8cc55Smrg_ACEOF 3768d5d8cc55Smrgif ac_fn_c_try_cpp "$LINENO"; then : 3769d5d8cc55Smrg 3770d5d8cc55Smrgelse 3771d5d8cc55Smrg # Broken: fails on valid input. 3772d5d8cc55Smrgcontinue 3773d5d8cc55Smrgfi 3774d5d8cc55Smrgrm -f conftest.err conftest.i conftest.$ac_ext 3775d5d8cc55Smrg 3776d5d8cc55Smrg # OK, works on sane cases. Now check whether nonexistent headers 3777d5d8cc55Smrg # can be detected and how. 3778d5d8cc55Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3779d5d8cc55Smrg/* end confdefs.h. */ 3780d5d8cc55Smrg#include <ac_nonexistent.h> 3781d5d8cc55Smrg_ACEOF 3782d5d8cc55Smrgif ac_fn_c_try_cpp "$LINENO"; then : 3783d5d8cc55Smrg # Broken: success on invalid input. 3784d5d8cc55Smrgcontinue 3785d5d8cc55Smrgelse 3786d5d8cc55Smrg # Passes both tests. 3787d5d8cc55Smrgac_preproc_ok=: 3788d5d8cc55Smrgbreak 3789d5d8cc55Smrgfi 3790d5d8cc55Smrgrm -f conftest.err conftest.i conftest.$ac_ext 3791d5d8cc55Smrg 3792d5d8cc55Smrgdone 3793d5d8cc55Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3794d5d8cc55Smrgrm -f conftest.i conftest.err conftest.$ac_ext 3795d5d8cc55Smrgif $ac_preproc_ok; then : 3796d5d8cc55Smrg break 3797d5d8cc55Smrgfi 3798d5d8cc55Smrg 3799d5d8cc55Smrg done 38008ff16396Smrg ac_cv_prog_CPP=$CPP 38018ff16396Smrg 38028ff16396Smrgfi 38038ff16396Smrg CPP=$ac_cv_prog_CPP 38048ff16396Smrgelse 38058ff16396Smrg ac_cv_prog_CPP=$CPP 38068ff16396Smrgfi 3807d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 38088ff16396Smrg$as_echo "$CPP" >&6; } 38098ff16396Smrgac_preproc_ok=false 38108ff16396Smrgfor ac_c_preproc_warn_flag in '' yes 38118ff16396Smrgdo 38128ff16396Smrg # Use a header file that comes with gcc, so configuring glibc 38138ff16396Smrg # with a fresh cross-compiler works. 38148ff16396Smrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 38158ff16396Smrg # <limits.h> exists even on freestanding compilers. 38168ff16396Smrg # On the NeXT, cc -E runs the code through the compiler's parser, 38178ff16396Smrg # not just through cpp. "Syntax error" is here to catch this case. 3818d5d8cc55Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38198ff16396Smrg/* end confdefs.h. */ 38208ff16396Smrg#ifdef __STDC__ 38218ff16396Smrg# include <limits.h> 38228ff16396Smrg#else 38238ff16396Smrg# include <assert.h> 38248ff16396Smrg#endif 38258ff16396Smrg Syntax error 38268ff16396Smrg_ACEOF 3827d5d8cc55Smrgif ac_fn_c_try_cpp "$LINENO"; then : 38288ff16396Smrg 3829d5d8cc55Smrgelse 38308ff16396Smrg # Broken: fails on valid input. 38318ff16396Smrgcontinue 38328ff16396Smrgfi 3833d5d8cc55Smrgrm -f conftest.err conftest.i conftest.$ac_ext 38348ff16396Smrg 38358ff16396Smrg # OK, works on sane cases. Now check whether nonexistent headers 38368ff16396Smrg # can be detected and how. 3837d5d8cc55Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38388ff16396Smrg/* end confdefs.h. */ 38398ff16396Smrg#include <ac_nonexistent.h> 38408ff16396Smrg_ACEOF 3841d5d8cc55Smrgif ac_fn_c_try_cpp "$LINENO"; then : 38428ff16396Smrg # Broken: success on invalid input. 38438ff16396Smrgcontinue 38448ff16396Smrgelse 38458ff16396Smrg # Passes both tests. 38468ff16396Smrgac_preproc_ok=: 38478ff16396Smrgbreak 38488ff16396Smrgfi 3849d5d8cc55Smrgrm -f conftest.err conftest.i conftest.$ac_ext 38508ff16396Smrg 38518ff16396Smrgdone 38528ff16396Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3853d5d8cc55Smrgrm -f conftest.i conftest.err conftest.$ac_ext 3854d5d8cc55Smrgif $ac_preproc_ok; then : 3855d5d8cc55Smrg 38568ff16396Smrgelse 3857d5d8cc55Smrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 38588ff16396Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3859d5d8cc55Smrgas_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3860d5d8cc55SmrgSee \`config.log' for more details" "$LINENO" 5; } 38618ff16396Smrgfi 38628ff16396Smrg 38638ff16396Smrgac_ext=c 38648ff16396Smrgac_cpp='$CPP $CPPFLAGS' 38658ff16396Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 38668ff16396Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 38678ff16396Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 38688ff16396Smrg 38698ff16396Smrg 3870d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 38718ff16396Smrg$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3872d5d8cc55Smrgif ${ac_cv_path_GREP+:} false; then : 38738ff16396Smrg $as_echo_n "(cached) " >&6 38748ff16396Smrgelse 38758ff16396Smrg if test -z "$GREP"; then 38768ff16396Smrg ac_path_GREP_found=false 38778ff16396Smrg # Loop through the user's path and test for each of PROGNAME-LIST 38788ff16396Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 38798ff16396Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 38808ff16396Smrgdo 38818ff16396Smrg IFS=$as_save_IFS 38828ff16396Smrg test -z "$as_dir" && as_dir=. 3883d5d8cc55Smrg for ac_prog in grep ggrep; do 38848ff16396Smrg for ac_exec_ext in '' $ac_executable_extensions; do 38858ff16396Smrg ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 38868ff16396Smrg { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 38878ff16396Smrg# Check for GNU ac_path_GREP and select it if it is found. 38888ff16396Smrg # Check for GNU $ac_path_GREP 38898ff16396Smrgcase `"$ac_path_GREP" --version 2>&1` in 38908ff16396Smrg*GNU*) 38918ff16396Smrg ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 38928ff16396Smrg*) 38938ff16396Smrg ac_count=0 38948ff16396Smrg $as_echo_n 0123456789 >"conftest.in" 38958ff16396Smrg while : 38968ff16396Smrg do 38978ff16396Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 38988ff16396Smrg mv "conftest.tmp" "conftest.in" 38998ff16396Smrg cp "conftest.in" "conftest.nl" 39008ff16396Smrg $as_echo 'GREP' >> "conftest.nl" 39018ff16396Smrg "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 39028ff16396Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3903d5d8cc55Smrg as_fn_arith $ac_count + 1 && ac_count=$as_val 39048ff16396Smrg if test $ac_count -gt ${ac_path_GREP_max-0}; then 39058ff16396Smrg # Best one so far, save it but keep looking for a better one 39068ff16396Smrg ac_cv_path_GREP="$ac_path_GREP" 39078ff16396Smrg ac_path_GREP_max=$ac_count 39088ff16396Smrg fi 39098ff16396Smrg # 10*(2^10) chars as input seems more than enough 39108ff16396Smrg test $ac_count -gt 10 && break 39118ff16396Smrg done 39128ff16396Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 39138ff16396Smrgesac 39148ff16396Smrg 39158ff16396Smrg $ac_path_GREP_found && break 3 39168ff16396Smrg done 39178ff16396Smrg done 3918d5d8cc55Smrg done 39198ff16396SmrgIFS=$as_save_IFS 39208ff16396Smrg if test -z "$ac_cv_path_GREP"; then 3921d5d8cc55Smrg as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 39228ff16396Smrg fi 39238ff16396Smrgelse 39248ff16396Smrg ac_cv_path_GREP=$GREP 39258ff16396Smrgfi 39268ff16396Smrg 39278ff16396Smrgfi 3928d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 39298ff16396Smrg$as_echo "$ac_cv_path_GREP" >&6; } 39308ff16396Smrg GREP="$ac_cv_path_GREP" 39318ff16396Smrg 39328ff16396Smrg 3933d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 39348ff16396Smrg$as_echo_n "checking for egrep... " >&6; } 3935d5d8cc55Smrgif ${ac_cv_path_EGREP+:} false; then : 39368ff16396Smrg $as_echo_n "(cached) " >&6 39370bd0e222Smrgelse 39388ff16396Smrg if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 39398ff16396Smrg then ac_cv_path_EGREP="$GREP -E" 39408ff16396Smrg else 39418ff16396Smrg if test -z "$EGREP"; then 39428ff16396Smrg ac_path_EGREP_found=false 39438ff16396Smrg # Loop through the user's path and test for each of PROGNAME-LIST 39448ff16396Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 39458ff16396Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 39468ff16396Smrgdo 39478ff16396Smrg IFS=$as_save_IFS 39488ff16396Smrg test -z "$as_dir" && as_dir=. 3949d5d8cc55Smrg for ac_prog in egrep; do 39508ff16396Smrg for ac_exec_ext in '' $ac_executable_extensions; do 39518ff16396Smrg ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 39528ff16396Smrg { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 39538ff16396Smrg# Check for GNU ac_path_EGREP and select it if it is found. 39548ff16396Smrg # Check for GNU $ac_path_EGREP 39558ff16396Smrgcase `"$ac_path_EGREP" --version 2>&1` in 39568ff16396Smrg*GNU*) 39578ff16396Smrg ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 39588ff16396Smrg*) 39598ff16396Smrg ac_count=0 39608ff16396Smrg $as_echo_n 0123456789 >"conftest.in" 39618ff16396Smrg while : 39628ff16396Smrg do 39638ff16396Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 39648ff16396Smrg mv "conftest.tmp" "conftest.in" 39658ff16396Smrg cp "conftest.in" "conftest.nl" 39668ff16396Smrg $as_echo 'EGREP' >> "conftest.nl" 39678ff16396Smrg "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 39688ff16396Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3969d5d8cc55Smrg as_fn_arith $ac_count + 1 && ac_count=$as_val 39708ff16396Smrg if test $ac_count -gt ${ac_path_EGREP_max-0}; then 39718ff16396Smrg # Best one so far, save it but keep looking for a better one 39728ff16396Smrg ac_cv_path_EGREP="$ac_path_EGREP" 39738ff16396Smrg ac_path_EGREP_max=$ac_count 39748ff16396Smrg fi 39758ff16396Smrg # 10*(2^10) chars as input seems more than enough 39768ff16396Smrg test $ac_count -gt 10 && break 39778ff16396Smrg done 39788ff16396Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 39798ff16396Smrgesac 39808ff16396Smrg 39818ff16396Smrg $ac_path_EGREP_found && break 3 39828ff16396Smrg done 39838ff16396Smrg done 3984d5d8cc55Smrg done 39858ff16396SmrgIFS=$as_save_IFS 39868ff16396Smrg if test -z "$ac_cv_path_EGREP"; then 3987d5d8cc55Smrg as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 39888ff16396Smrg fi 39898ff16396Smrgelse 39908ff16396Smrg ac_cv_path_EGREP=$EGREP 39918ff16396Smrgfi 39928ff16396Smrg 39938ff16396Smrg fi 39948ff16396Smrgfi 3995d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 39968ff16396Smrg$as_echo "$ac_cv_path_EGREP" >&6; } 39978ff16396Smrg EGREP="$ac_cv_path_EGREP" 39988ff16396Smrg 39998ff16396Smrg 4000d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 40018ff16396Smrg$as_echo_n "checking for ANSI C header files... " >&6; } 4002d5d8cc55Smrgif ${ac_cv_header_stdc+:} false; then : 40038ff16396Smrg $as_echo_n "(cached) " >&6 40048ff16396Smrgelse 4005d5d8cc55Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40068ff16396Smrg/* end confdefs.h. */ 40078ff16396Smrg#include <stdlib.h> 40088ff16396Smrg#include <stdarg.h> 40098ff16396Smrg#include <string.h> 40108ff16396Smrg#include <float.h> 40118ff16396Smrg 40128ff16396Smrgint 40138ff16396Smrgmain () 40148ff16396Smrg{ 40158ff16396Smrg 40168ff16396Smrg ; 40178ff16396Smrg return 0; 40188ff16396Smrg} 40198ff16396Smrg_ACEOF 4020d5d8cc55Smrgif ac_fn_c_try_compile "$LINENO"; then : 40218ff16396Smrg ac_cv_header_stdc=yes 40228ff16396Smrgelse 4023d5d8cc55Smrg ac_cv_header_stdc=no 40248ff16396Smrgfi 40258ff16396Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 40268ff16396Smrg 40278ff16396Smrgif test $ac_cv_header_stdc = yes; then 40288ff16396Smrg # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4029d5d8cc55Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40308ff16396Smrg/* end confdefs.h. */ 40318ff16396Smrg#include <string.h> 40328ff16396Smrg 40338ff16396Smrg_ACEOF 40348ff16396Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4035d5d8cc55Smrg $EGREP "memchr" >/dev/null 2>&1; then : 4036d5d8cc55Smrg 40378ff16396Smrgelse 40388ff16396Smrg ac_cv_header_stdc=no 40398ff16396Smrgfi 40408ff16396Smrgrm -f conftest* 40418ff16396Smrg 40428ff16396Smrgfi 40438ff16396Smrg 40448ff16396Smrgif test $ac_cv_header_stdc = yes; then 40458ff16396Smrg # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4046d5d8cc55Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40478ff16396Smrg/* end confdefs.h. */ 40488ff16396Smrg#include <stdlib.h> 40498ff16396Smrg 40508ff16396Smrg_ACEOF 40518ff16396Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4052d5d8cc55Smrg $EGREP "free" >/dev/null 2>&1; then : 4053d5d8cc55Smrg 40548ff16396Smrgelse 40558ff16396Smrg ac_cv_header_stdc=no 40568ff16396Smrgfi 40578ff16396Smrgrm -f conftest* 40588ff16396Smrg 40598ff16396Smrgfi 40608ff16396Smrg 40618ff16396Smrgif test $ac_cv_header_stdc = yes; then 40628ff16396Smrg # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4063d5d8cc55Smrg if test "$cross_compiling" = yes; then : 40648ff16396Smrg : 40658ff16396Smrgelse 4066d5d8cc55Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40678ff16396Smrg/* end confdefs.h. */ 40688ff16396Smrg#include <ctype.h> 40698ff16396Smrg#include <stdlib.h> 40708ff16396Smrg#if ((' ' & 0x0FF) == 0x020) 40718ff16396Smrg# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 40728ff16396Smrg# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 40738ff16396Smrg#else 40748ff16396Smrg# define ISLOWER(c) \ 40758ff16396Smrg (('a' <= (c) && (c) <= 'i') \ 40768ff16396Smrg || ('j' <= (c) && (c) <= 'r') \ 40778ff16396Smrg || ('s' <= (c) && (c) <= 'z')) 40788ff16396Smrg# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 40798ff16396Smrg#endif 40808ff16396Smrg 40818ff16396Smrg#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 40828ff16396Smrgint 40838ff16396Smrgmain () 40848ff16396Smrg{ 40858ff16396Smrg int i; 40868ff16396Smrg for (i = 0; i < 256; i++) 40878ff16396Smrg if (XOR (islower (i), ISLOWER (i)) 40888ff16396Smrg || toupper (i) != TOUPPER (i)) 40898ff16396Smrg return 2; 40908ff16396Smrg return 0; 40918ff16396Smrg} 40928ff16396Smrg_ACEOF 4093d5d8cc55Smrgif ac_fn_c_try_run "$LINENO"; then : 40948ff16396Smrg 4095d5d8cc55Smrgelse 4096d5d8cc55Smrg ac_cv_header_stdc=no 40978ff16396Smrgfi 4098d5d8cc55Smrgrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4099d5d8cc55Smrg conftest.$ac_objext conftest.beam conftest.$ac_ext 41008ff16396Smrgfi 41018ff16396Smrg 41028ff16396Smrgfi 41038ff16396Smrgfi 4104d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 41058ff16396Smrg$as_echo "$ac_cv_header_stdc" >&6; } 41068ff16396Smrgif test $ac_cv_header_stdc = yes; then 41078ff16396Smrg 4108d5d8cc55Smrg$as_echo "#define STDC_HEADERS 1" >>confdefs.h 41098ff16396Smrg 41108ff16396Smrgfi 41118ff16396Smrg 41128ff16396Smrg# On IRIX 5.3, sys/types and inttypes.h are conflicting. 41138ff16396Smrgfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 41148ff16396Smrg inttypes.h stdint.h unistd.h 4115d5d8cc55Smrgdo : 4116d5d8cc55Smrg as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4117d5d8cc55Smrgac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4118d5d8cc55Smrg" 4119d5d8cc55Smrgif eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 41208ff16396Smrg cat >>confdefs.h <<_ACEOF 41218ff16396Smrg#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 41228ff16396Smrg_ACEOF 41238ff16396Smrg 41248ff16396Smrgfi 41258ff16396Smrg 41268ff16396Smrgdone 41278ff16396Smrg 41288ff16396Smrg 41298ff16396Smrg 41308ff16396Smrg 41318ff16396Smrg 41328ff16396Smrg 41338ff16396Smrg 41348ff16396Smrg 4135d5d8cc55Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 4136d5d8cc55Smrg if test -n "$ac_tool_prefix"; then 4137d5d8cc55Smrg # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 4138d5d8cc55Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2 4139d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4140d5d8cc55Smrg$as_echo_n "checking for $ac_word... " >&6; } 4141d5d8cc55Smrgif ${ac_cv_path_PKG_CONFIG+:} false; then : 4142d5d8cc55Smrg $as_echo_n "(cached) " >&6 4143d5d8cc55Smrgelse 4144d5d8cc55Smrg case $PKG_CONFIG in 4145d5d8cc55Smrg [\\/]* | ?:[\\/]*) 4146d5d8cc55Smrg ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 4147d5d8cc55Smrg ;; 4148d5d8cc55Smrg *) 4149d5d8cc55Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4150d5d8cc55Smrgfor as_dir in $PATH 41518ff16396Smrgdo 4152d5d8cc55Smrg IFS=$as_save_IFS 4153d5d8cc55Smrg test -z "$as_dir" && as_dir=. 4154d5d8cc55Smrg for ac_exec_ext in '' $ac_executable_extensions; do 4155d5d8cc55Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4156d5d8cc55Smrg ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4157d5d8cc55Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4158d5d8cc55Smrg break 2 4159d5d8cc55Smrg fi 4160d5d8cc55Smrgdone 4161d5d8cc55Smrg done 4162d5d8cc55SmrgIFS=$as_save_IFS 4163d5d8cc55Smrg 4164d5d8cc55Smrg ;; 41658ff16396Smrgesac 4166d5d8cc55Smrgfi 4167d5d8cc55SmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG 4168d5d8cc55Smrgif test -n "$PKG_CONFIG"; then 4169d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 4170d5d8cc55Smrg$as_echo "$PKG_CONFIG" >&6; } 41718ff16396Smrgelse 4172d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4173d5d8cc55Smrg$as_echo "no" >&6; } 41748ff16396Smrgfi 41758ff16396Smrg 41768ff16396Smrg 41778ff16396Smrgfi 4178d5d8cc55Smrgif test -z "$ac_cv_path_PKG_CONFIG"; then 4179d5d8cc55Smrg ac_pt_PKG_CONFIG=$PKG_CONFIG 4180d5d8cc55Smrg # Extract the first word of "pkg-config", so it can be a program name with args. 4181d5d8cc55Smrgset dummy pkg-config; ac_word=$2 4182d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4183d5d8cc55Smrg$as_echo_n "checking for $ac_word... " >&6; } 4184d5d8cc55Smrgif ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 4185d5d8cc55Smrg $as_echo_n "(cached) " >&6 4186d5d8cc55Smrgelse 4187d5d8cc55Smrg case $ac_pt_PKG_CONFIG in 4188d5d8cc55Smrg [\\/]* | ?:[\\/]*) 4189d5d8cc55Smrg ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 4190d5d8cc55Smrg ;; 41918ff16396Smrg *) 4192d5d8cc55Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4193d5d8cc55Smrgfor as_dir in $PATH 4194d5d8cc55Smrgdo 4195d5d8cc55Smrg IFS=$as_save_IFS 4196d5d8cc55Smrg test -z "$as_dir" && as_dir=. 4197d5d8cc55Smrg for ac_exec_ext in '' $ac_executable_extensions; do 4198d5d8cc55Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4199d5d8cc55Smrg ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4200d5d8cc55Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4201d5d8cc55Smrg break 2 4202d5d8cc55Smrg fi 4203d5d8cc55Smrgdone 4204d5d8cc55Smrg done 4205d5d8cc55SmrgIFS=$as_save_IFS 42068ff16396Smrg 4207d5d8cc55Smrg ;; 4208d5d8cc55Smrgesac 4209d5d8cc55Smrgfi 4210d5d8cc55Smrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 4211d5d8cc55Smrgif test -n "$ac_pt_PKG_CONFIG"; then 4212d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 4213d5d8cc55Smrg$as_echo "$ac_pt_PKG_CONFIG" >&6; } 4214d5d8cc55Smrgelse 4215d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4216d5d8cc55Smrg$as_echo "no" >&6; } 4217d5d8cc55Smrgfi 42188ff16396Smrg 4219d5d8cc55Smrg if test "x$ac_pt_PKG_CONFIG" = x; then 4220d5d8cc55Smrg PKG_CONFIG="" 4221d5d8cc55Smrg else 4222d5d8cc55Smrg case $cross_compiling:$ac_tool_warned in 4223d5d8cc55Smrgyes:) 4224d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4225d5d8cc55Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4226d5d8cc55Smrgac_tool_warned=yes ;; 4227d5d8cc55Smrgesac 4228d5d8cc55Smrg PKG_CONFIG=$ac_pt_PKG_CONFIG 4229d5d8cc55Smrg fi 4230d5d8cc55Smrgelse 4231d5d8cc55Smrg PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 4232d5d8cc55Smrgfi 42338ff16396Smrg 4234d5d8cc55Smrgfi 4235d5d8cc55Smrgif test -n "$PKG_CONFIG"; then 4236d5d8cc55Smrg _pkg_min_version=0.9.0 4237d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 4238d5d8cc55Smrg$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 4239d5d8cc55Smrg if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 4240d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4241d5d8cc55Smrg$as_echo "yes" >&6; } 4242d5d8cc55Smrg else 4243d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4244d5d8cc55Smrg$as_echo "no" >&6; } 4245d5d8cc55Smrg PKG_CONFIG="" 4246d5d8cc55Smrg fi 4247d5d8cc55Smrgfi 42488ff16396Smrg# Make sure we can run config.sub. 42498ff16396Smrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4250d5d8cc55Smrg as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 42518ff16396Smrg 4252d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 42538ff16396Smrg$as_echo_n "checking build system type... " >&6; } 4254d5d8cc55Smrgif ${ac_cv_build+:} false; then : 42558ff16396Smrg $as_echo_n "(cached) " >&6 42568ff16396Smrgelse 42578ff16396Smrg ac_build_alias=$build_alias 42588ff16396Smrgtest "x$ac_build_alias" = x && 42598ff16396Smrg ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 42608ff16396Smrgtest "x$ac_build_alias" = x && 4261d5d8cc55Smrg as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 42628ff16396Smrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4263d5d8cc55Smrg as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 42648ff16396Smrg 42658ff16396Smrgfi 4266d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 42678ff16396Smrg$as_echo "$ac_cv_build" >&6; } 42688ff16396Smrgcase $ac_cv_build in 42698ff16396Smrg*-*-*) ;; 4270d5d8cc55Smrg*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 42718ff16396Smrgesac 42728ff16396Smrgbuild=$ac_cv_build 42738ff16396Smrgac_save_IFS=$IFS; IFS='-' 42748ff16396Smrgset x $ac_cv_build 42758ff16396Smrgshift 42768ff16396Smrgbuild_cpu=$1 42778ff16396Smrgbuild_vendor=$2 42788ff16396Smrgshift; shift 42798ff16396Smrg# Remember, the first character of IFS is used to create $*, 42808ff16396Smrg# except with old shells: 42818ff16396Smrgbuild_os=$* 42828ff16396SmrgIFS=$ac_save_IFS 42838ff16396Smrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 42848ff16396Smrg 42858ff16396Smrg 4286d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 42878ff16396Smrg$as_echo_n "checking host system type... " >&6; } 4288d5d8cc55Smrgif ${ac_cv_host+:} false; then : 42898ff16396Smrg $as_echo_n "(cached) " >&6 42908ff16396Smrgelse 42918ff16396Smrg if test "x$host_alias" = x; then 42928ff16396Smrg ac_cv_host=$ac_cv_build 42938ff16396Smrgelse 42948ff16396Smrg ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4295d5d8cc55Smrg as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 42968ff16396Smrgfi 42978ff16396Smrg 42988ff16396Smrgfi 4299d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 43008ff16396Smrg$as_echo "$ac_cv_host" >&6; } 43018ff16396Smrgcase $ac_cv_host in 43028ff16396Smrg*-*-*) ;; 4303d5d8cc55Smrg*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 43048ff16396Smrgesac 43058ff16396Smrghost=$ac_cv_host 43068ff16396Smrgac_save_IFS=$IFS; IFS='-' 43078ff16396Smrgset x $ac_cv_host 43088ff16396Smrgshift 43098ff16396Smrghost_cpu=$1 43108ff16396Smrghost_vendor=$2 43118ff16396Smrgshift; shift 43128ff16396Smrg# Remember, the first character of IFS is used to create $*, 43138ff16396Smrg# except with old shells: 43148ff16396Smrghost_os=$* 43158ff16396SmrgIFS=$ac_save_IFS 43168ff16396Smrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 43178ff16396Smrg 43188ff16396Smrg 4319d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4320d5d8cc55Smrg$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4321d5d8cc55Smrgif ${ac_cv_path_SED+:} false; then : 4322d5d8cc55Smrg $as_echo_n "(cached) " >&6 4323d5d8cc55Smrgelse 4324d5d8cc55Smrg ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4325d5d8cc55Smrg for ac_i in 1 2 3 4 5 6 7; do 4326d5d8cc55Smrg ac_script="$ac_script$as_nl$ac_script" 4327d5d8cc55Smrg done 4328d5d8cc55Smrg echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4329d5d8cc55Smrg { ac_script=; unset ac_script;} 4330d5d8cc55Smrg if test -z "$SED"; then 4331d5d8cc55Smrg ac_path_SED_found=false 4332d5d8cc55Smrg # Loop through the user's path and test for each of PROGNAME-LIST 4333d5d8cc55Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4334d5d8cc55Smrgfor as_dir in $PATH 4335d5d8cc55Smrgdo 4336d5d8cc55Smrg IFS=$as_save_IFS 4337d5d8cc55Smrg test -z "$as_dir" && as_dir=. 4338d5d8cc55Smrg for ac_prog in sed gsed; do 4339d5d8cc55Smrg for ac_exec_ext in '' $ac_executable_extensions; do 4340d5d8cc55Smrg ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4341d5d8cc55Smrg { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 4342d5d8cc55Smrg# Check for GNU ac_path_SED and select it if it is found. 4343d5d8cc55Smrg # Check for GNU $ac_path_SED 4344d5d8cc55Smrgcase `"$ac_path_SED" --version 2>&1` in 4345d5d8cc55Smrg*GNU*) 4346d5d8cc55Smrg ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4347d5d8cc55Smrg*) 4348d5d8cc55Smrg ac_count=0 4349d5d8cc55Smrg $as_echo_n 0123456789 >"conftest.in" 4350d5d8cc55Smrg while : 4351d5d8cc55Smrg do 4352d5d8cc55Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 4353d5d8cc55Smrg mv "conftest.tmp" "conftest.in" 4354d5d8cc55Smrg cp "conftest.in" "conftest.nl" 4355d5d8cc55Smrg $as_echo '' >> "conftest.nl" 4356d5d8cc55Smrg "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4357d5d8cc55Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4358d5d8cc55Smrg as_fn_arith $ac_count + 1 && ac_count=$as_val 4359d5d8cc55Smrg if test $ac_count -gt ${ac_path_SED_max-0}; then 4360d5d8cc55Smrg # Best one so far, save it but keep looking for a better one 4361d5d8cc55Smrg ac_cv_path_SED="$ac_path_SED" 4362d5d8cc55Smrg ac_path_SED_max=$ac_count 4363d5d8cc55Smrg fi 4364d5d8cc55Smrg # 10*(2^10) chars as input seems more than enough 4365d5d8cc55Smrg test $ac_count -gt 10 && break 4366d5d8cc55Smrg done 4367d5d8cc55Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4368d5d8cc55Smrgesac 4369d5d8cc55Smrg 4370d5d8cc55Smrg $ac_path_SED_found && break 3 4371d5d8cc55Smrg done 4372d5d8cc55Smrg done 4373d5d8cc55Smrg done 4374d5d8cc55SmrgIFS=$as_save_IFS 4375d5d8cc55Smrg if test -z "$ac_cv_path_SED"; then 4376d5d8cc55Smrg as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4377d5d8cc55Smrg fi 4378d5d8cc55Smrgelse 4379d5d8cc55Smrg ac_cv_path_SED=$SED 4380d5d8cc55Smrgfi 4381d5d8cc55Smrg 4382d5d8cc55Smrgfi 4383d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4384d5d8cc55Smrg$as_echo "$ac_cv_path_SED" >&6; } 4385d5d8cc55Smrg SED="$ac_cv_path_SED" 4386d5d8cc55Smrg rm -f conftest.sed 4387d5d8cc55Smrg 4388d5d8cc55Smrg 43898ff16396Smrg 43908ff16396Smrg 43918ff16396Smrg 43928ff16396Smrgif test "x$GCC" = xyes ; then 43938ff16396Smrg CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \ 43948ff16396Smrg-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \ 4395d5d8cc55Smrg-Wbad-function-cast -Wformat=2" 43968ff16396Smrg case `$CC -dumpversion` in 43978ff16396Smrg 3.4.* | 4.*) 43988ff16396Smrg CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement" 43998ff16396Smrg ;; 44008ff16396Smrg esac 4401d5d8cc55Smrgelse 4402d5d8cc55Smrg ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 4403d5d8cc55Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then : 4404d5d8cc55Smrg SUNCC="yes" 4405d5d8cc55Smrgelse 4406d5d8cc55Smrg SUNCC="no" 4407d5d8cc55Smrgfi 44088ff16396Smrg 4409d5d8cc55Smrg if test "x$SUNCC" = "xyes"; then 4410d5d8cc55Smrg CWARNFLAGS="-v" 4411d5d8cc55Smrg fi 4412d5d8cc55Smrgfi 44138ff16396Smrg 44148ff16396Smrg 44158ff16396Smrg 4416d5d8cc55Smrg# If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89 44178ff16396Smrg 44188ff16396Smrg 44198ff16396Smrg 44208ff16396Smrg# Check whether --enable-strict-compilation was given. 4421d5d8cc55Smrgif test "${enable_strict_compilation+set}" = set; then : 44228ff16396Smrg enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval 44238ff16396Smrgelse 44248ff16396Smrg STRICT_COMPILE=no 44258ff16396Smrgfi 44268ff16396Smrg 44278ff16396Smrgif test "x$STRICT_COMPILE" = "xyes"; then 4428d5d8cc55Smrg ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 4429d5d8cc55Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then : 44308ff16396Smrg SUNCC="yes" 44318ff16396Smrgelse 44328ff16396Smrg SUNCC="no" 44338ff16396Smrgfi 44348ff16396Smrg 4435d5d8cc55Smrg ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" 4436d5d8cc55Smrgif test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then : 44378ff16396Smrg INTELCC="yes" 44388ff16396Smrgelse 44398ff16396Smrg INTELCC="no" 44408ff16396Smrgfi 44418ff16396Smrg 44428ff16396Smrg if test "x$GCC" = xyes ; then 44438ff16396Smrg STRICT_CFLAGS="-pedantic -Werror" 44448ff16396Smrg elif test "x$SUNCC" = "xyes"; then 44458ff16396Smrg STRICT_CFLAGS="-errwarn" 44468ff16396Smrg elif test "x$INTELCC" = "xyes"; then 44478ff16396Smrg STRICT_CFLAGS="-Werror" 44488ff16396Smrg fi 44498ff16396Smrgfi 44508ff16396SmrgCWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS" 44518ff16396Smrg 44528ff16396Smrg 44538ff16396Smrg 44548ff16396Smrg 44558ff16396Smrgcat >>confdefs.h <<_ACEOF 44568ff16396Smrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 44578ff16396Smrg_ACEOF 44588ff16396Smrg 44598ff16396Smrg PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 44608ff16396Smrg if test "x$PVM" = "x"; then 44618ff16396Smrg PVM="0" 44628ff16396Smrg fi 44638ff16396Smrg 44648ff16396Smrgcat >>confdefs.h <<_ACEOF 44658ff16396Smrg#define PACKAGE_VERSION_MINOR $PVM 44668ff16396Smrg_ACEOF 44678ff16396Smrg 44688ff16396Smrg PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 44698ff16396Smrg if test "x$PVP" = "x"; then 44708ff16396Smrg PVP="0" 44718ff16396Smrg fi 44728ff16396Smrg 44738ff16396Smrgcat >>confdefs.h <<_ACEOF 44748ff16396Smrg#define PACKAGE_VERSION_PATCHLEVEL $PVP 44758ff16396Smrg_ACEOF 44768ff16396Smrg 44778ff16396Smrg 44788ff16396Smrg 4479d5d8cc55SmrgCHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \ 4480d5d8cc55Smrgmv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \ 4481d5d8cc55Smrg|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \ 44828ff16396Smrgecho 'git directory not found: installing possibly empty changelog.' >&2)" 44838ff16396Smrg 4484d5d8cc55Smrg 4485d5d8cc55Smrg 4486d5d8cc55Smrg 4487d5d8cc55Smrgmacros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros` 4488d5d8cc55SmrgINSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \ 4489d5d8cc55Smrgmv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \ 4490d5d8cc55Smrg|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \ 4491d5d8cc55Smrgecho 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)" 4492d5d8cc55Smrg 44938ff16396Smrg 44948ff16396Smrg 44958ff16396Smrg 44968ff16396Smrg 44978ff16396Smrg 44988ff16396Smrgif test x$APP_MAN_SUFFIX = x ; then 44998ff16396Smrg APP_MAN_SUFFIX=1 45008ff16396Smrgfi 45018ff16396Smrgif test x$APP_MAN_DIR = x ; then 45028ff16396Smrg APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 45030bd0e222Smrgfi 45040bd0e222Smrg 45058ff16396Smrgif test x$LIB_MAN_SUFFIX = x ; then 45068ff16396Smrg LIB_MAN_SUFFIX=3 45078ff16396Smrgfi 45088ff16396Smrgif test x$LIB_MAN_DIR = x ; then 45098ff16396Smrg LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 45108ff16396Smrgfi 45118ff16396Smrg 45128ff16396Smrgif test x$FILE_MAN_SUFFIX = x ; then 45138ff16396Smrg case $host_os in 45148ff16396Smrg solaris*) FILE_MAN_SUFFIX=4 ;; 45158ff16396Smrg *) FILE_MAN_SUFFIX=5 ;; 45168ff16396Smrg esac 45178ff16396Smrgfi 45188ff16396Smrgif test x$FILE_MAN_DIR = x ; then 45198ff16396Smrg FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 45208ff16396Smrgfi 45218ff16396Smrg 45228ff16396Smrgif test x$MISC_MAN_SUFFIX = x ; then 45238ff16396Smrg case $host_os in 45248ff16396Smrg solaris*) MISC_MAN_SUFFIX=5 ;; 45258ff16396Smrg *) MISC_MAN_SUFFIX=7 ;; 45268ff16396Smrg esac 45278ff16396Smrgfi 45288ff16396Smrgif test x$MISC_MAN_DIR = x ; then 45298ff16396Smrg MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 45308ff16396Smrgfi 45318ff16396Smrg 45328ff16396Smrgif test x$DRIVER_MAN_SUFFIX = x ; then 45338ff16396Smrg case $host_os in 45348ff16396Smrg solaris*) DRIVER_MAN_SUFFIX=7 ;; 45358ff16396Smrg *) DRIVER_MAN_SUFFIX=4 ;; 45368ff16396Smrg esac 45378ff16396Smrgfi 45388ff16396Smrgif test x$DRIVER_MAN_DIR = x ; then 45398ff16396Smrg DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 45408ff16396Smrgfi 45418ff16396Smrg 45428ff16396Smrgif test x$ADMIN_MAN_SUFFIX = x ; then 45438ff16396Smrg case $host_os in 45448ff16396Smrg solaris*) ADMIN_MAN_SUFFIX=1m ;; 45458ff16396Smrg *) ADMIN_MAN_SUFFIX=8 ;; 45468ff16396Smrg esac 45478ff16396Smrgfi 45488ff16396Smrgif test x$ADMIN_MAN_DIR = x ; then 45498ff16396Smrg ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 45508ff16396Smrgfi 45518ff16396Smrg 45528ff16396Smrg 45538ff16396Smrg 45548ff16396Smrg 45558ff16396Smrg 45568ff16396Smrg 45578ff16396Smrg 45588ff16396Smrg 45598ff16396Smrg 45608ff16396Smrg 45618ff16396Smrg 45628ff16396Smrg 45638ff16396Smrg 45648ff16396Smrg 45650bd0e222Smrg 4566d5d8cc55SmrgXORG_MAN_PAGE="X Version 11" 45670bd0e222Smrg 4568d5d8cc55SmrgMAN_SUBSTS="\ 4569d5d8cc55Smrg -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 4570d5d8cc55Smrg -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 4571d5d8cc55Smrg -e 's|__xservername__|Xorg|g' \ 4572d5d8cc55Smrg -e 's|__xconfigfile__|xorg.conf|g' \ 4573d5d8cc55Smrg -e 's|__projectroot__|\$(prefix)|g' \ 4574d5d8cc55Smrg -e 's|__apploaddir__|\$(appdefaultdir)|g' \ 4575d5d8cc55Smrg -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \ 4576d5d8cc55Smrg -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \ 4577d5d8cc55Smrg -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \ 4578d5d8cc55Smrg -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \ 4579d5d8cc55Smrg -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \ 4580d5d8cc55Smrg -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'" 45810bd0e222Smrg 45820bd0e222Smrg 45830bd0e222Smrg 4584d5d8cc55Smrg# Check whether --enable-silent-rules was given. 4585d5d8cc55Smrgif test "${enable_silent_rules+set}" = set; then : 4586d5d8cc55Smrg enableval=$enable_silent_rules; 45870bd0e222Smrgfi 45888ff16396Smrg 4589d5d8cc55Smrgcase $enable_silent_rules in 4590d5d8cc55Smrgyes) AM_DEFAULT_VERBOSITY=0;; 4591d5d8cc55Smrgno) AM_DEFAULT_VERBOSITY=1;; 4592d5d8cc55Smrg*) AM_DEFAULT_VERBOSITY=0;; 4593d5d8cc55Smrgesac 4594d5d8cc55SmrgAM_BACKSLASH='\' 4595d5d8cc55Smrg 4596d5d8cc55Smrg 4597d5d8cc55Smrg 4598d5d8cc55Smrg 4599d5d8cc55Smrg 4600d5d8cc55Smrg# Require X.Org's font util macros 1.2 or later 46018ff16396Smrg 46028ff16396Smrg 46038ff16396Smrg 46040bd0e222Smrg 46050bd0e222Smrg 46068ff16396Smrg 46070bd0e222Smrg 46088ff16396Smrg 46098ff16396Smrg 46108ff16396Smrg 46118ff16396Smrg 46128ff16396Smrg 46138ff16396Smrg 4614d5d8cc55Smrg 4615d5d8cc55Smrg 4616d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for root directory for font files" >&5 46178ff16396Smrg$as_echo_n "checking for root directory for font files... " >&6; } 46188ff16396Smrg 46198ff16396Smrg# Check whether --with-fontrootdir was given. 4620d5d8cc55Smrgif test "${with_fontrootdir+set}" = set; then : 46218ff16396Smrg withval=$with_fontrootdir; FONTROOTDIR="$withval" 46228ff16396Smrgfi 46238ff16396Smrg 46248ff16396Smrg # if --with-fontrootdir not specified... 46258ff16396Smrg if test "x${FONTROOTDIR}" = "x"; then 46268ff16396Smrg FONTROOTDIR=`$PKG_CONFIG --variable=fontrootdir fontutil` 46278ff16396Smrg fi 46288ff16396Smrg # ...and if pkg-config didn't find fontdir in fontutil.pc... 46298ff16396Smrg if test "x${FONTROOTDIR}" = "x"; then 46308ff16396Smrg FONTROOTDIR="${datadir}/fonts/X11" 46318ff16396Smrg fi 46328ff16396Smrg 4633d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${FONTROOTDIR}" >&5 46348ff16396Smrg$as_echo "${FONTROOTDIR}" >&6; } 46358ff16396Smrg 46368ff16396Smrg 46378ff16396Smrg 46388ff16396Smrg 4639d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for directory for misc files" >&5 46408ff16396Smrg$as_echo_n "checking for directory for misc files... " >&6; } 46418ff16396Smrg 46428ff16396Smrg# Check whether --with-fontdir was given. 4643d5d8cc55Smrgif test "${with_fontdir+set}" = set; then : 46448ff16396Smrg withval=$with_fontdir; FONTDIR="${withval}" 46458ff16396Smrgelse 46468ff16396Smrg FONTDIR='${FONTROOTDIR}/misc' 46478ff16396Smrgfi 46488ff16396Smrg 46498ff16396Smrg 4650d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${FONTDIR}" >&5 46518ff16396Smrg$as_echo "${FONTDIR}" >&6; } 46528ff16396Smrg 46530bd0e222Smrg 46548ff16396Smrg 46558ff16396Smrg 46568ff16396Smrg # Extract the first word of "fc-cache", so it can be a program name with args. 46578ff16396Smrgset dummy fc-cache; ac_word=$2 4658d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 46598ff16396Smrg$as_echo_n "checking for $ac_word... " >&6; } 4660d5d8cc55Smrgif ${ac_cv_path_FCCACHE+:} false; then : 46618ff16396Smrg $as_echo_n "(cached) " >&6 46628ff16396Smrgelse 46638ff16396Smrg case $FCCACHE in 46648ff16396Smrg [\\/]* | ?:[\\/]*) 46658ff16396Smrg ac_cv_path_FCCACHE="$FCCACHE" # Let the user override the test with a path. 46668ff16396Smrg ;; 46678ff16396Smrg *) 46688ff16396Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 46698ff16396Smrgfor as_dir in $PATH 46708ff16396Smrgdo 46718ff16396Smrg IFS=$as_save_IFS 46728ff16396Smrg test -z "$as_dir" && as_dir=. 4673d5d8cc55Smrg for ac_exec_ext in '' $ac_executable_extensions; do 46748ff16396Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 46758ff16396Smrg ac_cv_path_FCCACHE="$as_dir/$ac_word$ac_exec_ext" 4676d5d8cc55Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 46778ff16396Smrg break 2 46788ff16396Smrg fi 46798ff16396Smrgdone 4680d5d8cc55Smrg done 46818ff16396SmrgIFS=$as_save_IFS 46828ff16396Smrg 46838ff16396Smrg ;; 46848ff16396Smrgesac 46858ff16396Smrgfi 46868ff16396SmrgFCCACHE=$ac_cv_path_FCCACHE 46878ff16396Smrgif test -n "$FCCACHE"; then 4688d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FCCACHE" >&5 46898ff16396Smrg$as_echo "$FCCACHE" >&6; } 46900bd0e222Smrgelse 4691d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 46928ff16396Smrg$as_echo "no" >&6; } 46930bd0e222Smrgfi 46940bd0e222Smrg 46958ff16396Smrg 46968ff16396Smrg FCCACHE_WARN='echo "** Warning: fonts.cache not built" ; echo "** Generate this file manually on host system using fc-cache"' 46978ff16396Smrg if test x"$FCCACHE" = x ; then 46988ff16396Smrg RUN_FCCACHE="${FCCACHE_WARN}" 46998ff16396Smrg else 47008ff16396Smrg RUN_FCCACHE='@(if test -z "$(DESTDIR)"; then echo $(FCCACHE) $(fontdir); $(FCCACHE) $(fontdir); else' 47018ff16396Smrg RUN_FCCACHE="${RUN_FCCACHE} ${FCCACHE_WARN} ; fi)" 47028ff16396Smrg fi 47038ff16396Smrg 47048ff16396Smrg 47058ff16396Smrg 47068ff16396Smrg # Extract the first word of "mkfontdir", so it can be a program name with args. 47070bd0e222Smrgset dummy mkfontdir; ac_word=$2 4708d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 47098ff16396Smrg$as_echo_n "checking for $ac_word... " >&6; } 4710d5d8cc55Smrgif ${ac_cv_path_MKFONTDIR+:} false; then : 47118ff16396Smrg $as_echo_n "(cached) " >&6 47120bd0e222Smrgelse 47130bd0e222Smrg case $MKFONTDIR in 47140bd0e222Smrg [\\/]* | ?:[\\/]*) 47150bd0e222Smrg ac_cv_path_MKFONTDIR="$MKFONTDIR" # Let the user override the test with a path. 47160bd0e222Smrg ;; 47170bd0e222Smrg *) 47180bd0e222Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 47190bd0e222Smrgfor as_dir in $PATH 47200bd0e222Smrgdo 47210bd0e222Smrg IFS=$as_save_IFS 47220bd0e222Smrg test -z "$as_dir" && as_dir=. 4723d5d8cc55Smrg for ac_exec_ext in '' $ac_executable_extensions; do 47248ff16396Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 47250bd0e222Smrg ac_cv_path_MKFONTDIR="$as_dir/$ac_word$ac_exec_ext" 4726d5d8cc55Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 47270bd0e222Smrg break 2 47280bd0e222Smrg fi 47290bd0e222Smrgdone 4730d5d8cc55Smrg done 47318ff16396SmrgIFS=$as_save_IFS 47320bd0e222Smrg 47330bd0e222Smrg ;; 47340bd0e222Smrgesac 47350bd0e222Smrgfi 47360bd0e222SmrgMKFONTDIR=$ac_cv_path_MKFONTDIR 47370bd0e222Smrgif test -n "$MKFONTDIR"; then 4738d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKFONTDIR" >&5 47398ff16396Smrg$as_echo "$MKFONTDIR" >&6; } 47400bd0e222Smrgelse 4741d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 47428ff16396Smrg$as_echo "no" >&6; } 47430bd0e222Smrgfi 47440bd0e222Smrg 47450bd0e222Smrg 4746d5d8cc55Smrg if test x"$MKFONTDIR" = x; then 4747d5d8cc55Smrg as_fn_error $? "mkfontdir is required to build $PACKAGE_NAME." "$LINENO" 5 47488ff16396Smrg fi 47490bd0e222Smrg 47500bd0e222Smrg 47510bd0e222Smrg 47528ff16396Smrg # Extract the first word of "bdftopcf", so it can be a program name with args. 47538ff16396Smrgset dummy bdftopcf; ac_word=$2 4754d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 47558ff16396Smrg$as_echo_n "checking for $ac_word... " >&6; } 4756d5d8cc55Smrgif ${ac_cv_path_BDFTOPCF+:} false; then : 47578ff16396Smrg $as_echo_n "(cached) " >&6 47588ff16396Smrgelse 47598ff16396Smrg case $BDFTOPCF in 47608ff16396Smrg [\\/]* | ?:[\\/]*) 47618ff16396Smrg ac_cv_path_BDFTOPCF="$BDFTOPCF" # Let the user override the test with a path. 47628ff16396Smrg ;; 47638ff16396Smrg *) 47648ff16396Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 47658ff16396Smrgfor as_dir in $PATH 47668ff16396Smrgdo 47678ff16396Smrg IFS=$as_save_IFS 47688ff16396Smrg test -z "$as_dir" && as_dir=. 4769d5d8cc55Smrg for ac_exec_ext in '' $ac_executable_extensions; do 47708ff16396Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 47718ff16396Smrg ac_cv_path_BDFTOPCF="$as_dir/$ac_word$ac_exec_ext" 4772d5d8cc55Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 47738ff16396Smrg break 2 47748ff16396Smrg fi 47758ff16396Smrgdone 4776d5d8cc55Smrg done 47778ff16396SmrgIFS=$as_save_IFS 47788ff16396Smrg 47798ff16396Smrg ;; 47808ff16396Smrgesac 47818ff16396Smrgfi 47828ff16396SmrgBDFTOPCF=$ac_cv_path_BDFTOPCF 47838ff16396Smrgif test -n "$BDFTOPCF"; then 4784d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BDFTOPCF" >&5 47858ff16396Smrg$as_echo "$BDFTOPCF" >&6; } 47860bd0e222Smrgelse 4787d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 47888ff16396Smrg$as_echo "no" >&6; } 47898ff16396Smrgfi 47908ff16396Smrg 47910bd0e222Smrg 4792d5d8cc55Smrg if test x"$BDFTOPCF" = x; then 4793d5d8cc55Smrg as_fn_error $? "bdftopcf is required to build $PACKAGE_NAME." "$LINENO" 5 47948ff16396Smrg fi 47950bd0e222Smrg 47960bd0e222Smrg 4797d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking font compression method" >&5 47988ff16396Smrg$as_echo_n "checking font compression method... " >&6; } 47990bd0e222Smrg 48008ff16396Smrg# Check whether --with-compression was given. 4801d5d8cc55Smrgif test "${with_compression+set}" = set; then : 48028ff16396Smrg withval=$with_compression; compression="$withval" 48030bd0e222Smrgelse 48048ff16396Smrg compression="yes" 48058ff16396Smrgfi 48068ff16396Smrg 48078ff16396Smrg if test x"$compression" = "xyes" ; then 48088ff16396Smrg compression="gzip" 48098ff16396Smrg fi 4810d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${compression}" >&5 48118ff16396Smrg$as_echo "${compression}" >&6; } 48128ff16396Smrg case ${compression} in 48138ff16396Smrg *compress) COMPRESS_SUFFIX=".Z" ;; 48148ff16396Smrg *gzip) COMPRESS_SUFFIX=".gz" ;; 48158ff16396Smrg *bzip2) COMPRESS_SUFFIX=".bz2" ;; 48168ff16396Smrg no|none) COMPRESS_SUFFIX="" ; COMPRESS="cat" ;; 4817d5d8cc55Smrg *) as_fn_error $? "${compression} is not a supported compression method" "$LINENO" 5 ;; 48188ff16396Smrg esac 48198ff16396Smrg if test x"$COMPRESS_SUFFIX" != "x" ; then 48208ff16396Smrg 48218ff16396Smrg # Extract the first word of "${compression}", so it can be a program name with args. 48228ff16396Smrgset dummy ${compression}; ac_word=$2 4823d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 48248ff16396Smrg$as_echo_n "checking for $ac_word... " >&6; } 4825d5d8cc55Smrgif ${ac_cv_path_COMPRESS+:} false; then : 48268ff16396Smrg $as_echo_n "(cached) " >&6 48278ff16396Smrgelse 48288ff16396Smrg case $COMPRESS in 48298ff16396Smrg [\\/]* | ?:[\\/]*) 48308ff16396Smrg ac_cv_path_COMPRESS="$COMPRESS" # Let the user override the test with a path. 48318ff16396Smrg ;; 48328ff16396Smrg *) 48338ff16396Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 48348ff16396Smrgfor as_dir in $PATH 48358ff16396Smrgdo 48368ff16396Smrg IFS=$as_save_IFS 48378ff16396Smrg test -z "$as_dir" && as_dir=. 4838d5d8cc55Smrg for ac_exec_ext in '' $ac_executable_extensions; do 48398ff16396Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 48408ff16396Smrg ac_cv_path_COMPRESS="$as_dir/$ac_word$ac_exec_ext" 4841d5d8cc55Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 48428ff16396Smrg break 2 48438ff16396Smrg fi 48448ff16396Smrgdone 4845d5d8cc55Smrg done 48468ff16396SmrgIFS=$as_save_IFS 48478ff16396Smrg 48488ff16396Smrg ;; 48498ff16396Smrgesac 48508ff16396Smrgfi 48518ff16396SmrgCOMPRESS=$ac_cv_path_COMPRESS 48528ff16396Smrgif test -n "$COMPRESS"; then 4853d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $COMPRESS" >&5 48548ff16396Smrg$as_echo "$COMPRESS" >&6; } 48558ff16396Smrgelse 4856d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 48578ff16396Smrg$as_echo "no" >&6; } 48588ff16396Smrgfi 48598ff16396Smrg 48608ff16396Smrg 4861d5d8cc55Smrg if test x"$COMPRESS" = x; then 4862d5d8cc55Smrg as_fn_error $? "${compression} is required to build $PACKAGE_NAME." "$LINENO" 5 48638ff16396Smrg fi 48648ff16396Smrg 48650bd0e222Smrg fi 48660bd0e222Smrg 48670bd0e222Smrg 48688ff16396Smrg 48698ff16396Smrg 48708ff16396Smrgac_config_files="$ac_config_files Makefile" 48718ff16396Smrg 48720bd0e222Smrgcat >confcache <<\_ACEOF 48730bd0e222Smrg# This file is a shell script that caches the results of configure 48740bd0e222Smrg# tests run on this system so they can be shared between configure 48750bd0e222Smrg# scripts and configure runs, see configure's option --config-cache. 48760bd0e222Smrg# It is not useful on other systems. If it contains results you don't 48770bd0e222Smrg# want to keep, you may remove or edit it. 48780bd0e222Smrg# 48790bd0e222Smrg# config.status only pays attention to the cache file if you give it 48800bd0e222Smrg# the --recheck option to rerun configure. 48810bd0e222Smrg# 48820bd0e222Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when 48830bd0e222Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the 48840bd0e222Smrg# following values. 48850bd0e222Smrg 48860bd0e222Smrg_ACEOF 48870bd0e222Smrg 48880bd0e222Smrg# The following way of writing the cache mishandles newlines in values, 48890bd0e222Smrg# but we know of no workaround that is simple, portable, and efficient. 48908ff16396Smrg# So, we kill variables containing newlines. 48910bd0e222Smrg# Ultrix sh set writes to stderr and can't be redirected directly, 48920bd0e222Smrg# and sets the high bit in the cache file unless we assign to the vars. 48938ff16396Smrg( 48948ff16396Smrg for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 48958ff16396Smrg eval ac_val=\$$ac_var 48968ff16396Smrg case $ac_val in #( 48978ff16396Smrg *${as_nl}*) 48988ff16396Smrg case $ac_var in #( 4899d5d8cc55Smrg *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 49008ff16396Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 49018ff16396Smrg esac 49028ff16396Smrg case $ac_var in #( 49038ff16396Smrg _ | IFS | as_nl) ;; #( 49048ff16396Smrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 4905d5d8cc55Smrg *) { eval $ac_var=; unset $ac_var;} ;; 49068ff16396Smrg esac ;; 49078ff16396Smrg esac 49088ff16396Smrg done 49098ff16396Smrg 49100bd0e222Smrg (set) 2>&1 | 49118ff16396Smrg case $as_nl`(ac_space=' '; set) 2>&1` in #( 49128ff16396Smrg *${as_nl}ac_space=\ *) 4913d5d8cc55Smrg # `set' does not quote correctly, so add quotes: double-quote 4914d5d8cc55Smrg # substitution turns \\\\ into \\, and sed turns \\ into \. 49150bd0e222Smrg sed -n \ 49160bd0e222Smrg "s/'/'\\\\''/g; 49170bd0e222Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 49188ff16396Smrg ;; #( 49190bd0e222Smrg *) 49200bd0e222Smrg # `set' quotes correctly as required by POSIX, so do not add quotes. 49218ff16396Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 49220bd0e222Smrg ;; 49238ff16396Smrg esac | 49248ff16396Smrg sort 49258ff16396Smrg) | 49260bd0e222Smrg sed ' 49278ff16396Smrg /^ac_cv_env_/b end 49280bd0e222Smrg t clear 49298ff16396Smrg :clear 49300bd0e222Smrg s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 49310bd0e222Smrg t end 49328ff16396Smrg s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 49338ff16396Smrg :end' >>confcache 49348ff16396Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 49358ff16396Smrg if test -w "$cache_file"; then 4936d5d8cc55Smrg if test "x$cache_file" != "x/dev/null"; then 4937d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 49388ff16396Smrg$as_echo "$as_me: updating cache $cache_file" >&6;} 4939d5d8cc55Smrg if test ! -f "$cache_file" || test -h "$cache_file"; then 4940d5d8cc55Smrg cat confcache >"$cache_file" 4941d5d8cc55Smrg else 4942d5d8cc55Smrg case $cache_file in #( 4943d5d8cc55Smrg */* | ?:*) 4944d5d8cc55Smrg mv -f confcache "$cache_file"$$ && 4945d5d8cc55Smrg mv -f "$cache_file"$$ "$cache_file" ;; #( 4946d5d8cc55Smrg *) 4947d5d8cc55Smrg mv -f confcache "$cache_file" ;; 4948d5d8cc55Smrg esac 4949d5d8cc55Smrg fi 4950d5d8cc55Smrg fi 49510bd0e222Smrg else 4952d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 49538ff16396Smrg$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 49540bd0e222Smrg fi 49550bd0e222Smrgfi 49560bd0e222Smrgrm -f confcache 49570bd0e222Smrg 49580bd0e222Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix 49590bd0e222Smrg# Let make expand exec_prefix. 49600bd0e222Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 49610bd0e222Smrg 49620bd0e222Smrg# Transform confdefs.h into DEFS. 49630bd0e222Smrg# Protect against shell expansion while executing Makefile rules. 49640bd0e222Smrg# Protect against Makefile macro expansion. 49650bd0e222Smrg# 49660bd0e222Smrg# If the first sed substitution is executed (which looks for macros that 49678ff16396Smrg# take arguments), then branch to the quote section. Otherwise, 49680bd0e222Smrg# look for a macro that doesn't take arguments. 49698ff16396Smrgac_script=' 49708ff16396Smrg:mline 49718ff16396Smrg/\\$/{ 49728ff16396Smrg N 49738ff16396Smrg s,\\\n,, 49748ff16396Smrg b mline 49758ff16396Smrg} 49760bd0e222Smrgt clear 49778ff16396Smrg:clear 49788ff16396Smrgs/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 49790bd0e222Smrgt quote 49808ff16396Smrgs/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 49810bd0e222Smrgt quote 49828ff16396Smrgb any 49838ff16396Smrg:quote 49848ff16396Smrgs/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 49858ff16396Smrgs/\[/\\&/g 49868ff16396Smrgs/\]/\\&/g 49878ff16396Smrgs/\$/$$/g 49888ff16396SmrgH 49898ff16396Smrg:any 49908ff16396Smrg${ 49918ff16396Smrg g 49928ff16396Smrg s/^\n// 49938ff16396Smrg s/\n/ /g 49948ff16396Smrg p 49958ff16396Smrg} 49968ff16396Smrg' 49978ff16396SmrgDEFS=`sed -n "$ac_script" confdefs.h` 49980bd0e222Smrg 49990bd0e222Smrg 50000bd0e222Smrgac_libobjs= 50010bd0e222Smrgac_ltlibobjs= 5002d5d8cc55SmrgU= 50030bd0e222Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 50040bd0e222Smrg # 1. Remove the extension, and $U if already installed. 50058ff16396Smrg ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 50068ff16396Smrg ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 50078ff16396Smrg # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 50088ff16396Smrg # will be set to the directory where LIBOBJS objects are built. 5009d5d8cc55Smrg as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 5010d5d8cc55Smrg as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 50110bd0e222Smrgdone 50120bd0e222SmrgLIBOBJS=$ac_libobjs 50130bd0e222Smrg 50140bd0e222SmrgLTLIBOBJS=$ac_ltlibobjs 50150bd0e222Smrg 50160bd0e222Smrg 50178ff16396Smrg if test -n "$EXEEXT"; then 50188ff16396Smrg am__EXEEXT_TRUE= 50198ff16396Smrg am__EXEEXT_FALSE='#' 50208ff16396Smrgelse 50218ff16396Smrg am__EXEEXT_TRUE='#' 50228ff16396Smrg am__EXEEXT_FALSE= 50238ff16396Smrgfi 50248ff16396Smrg 50250bd0e222Smrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 5026d5d8cc55Smrg as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 5027d5d8cc55SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 50288ff16396Smrgfi 50298ff16396Smrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 5030d5d8cc55Smrg as_fn_error $? "conditional \"AMDEP\" was never defined. 5031d5d8cc55SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 50328ff16396Smrgfi 50338ff16396Smrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 5034d5d8cc55Smrg as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 5035d5d8cc55SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 50360bd0e222Smrgfi 50370bd0e222Smrg 5038d5d8cc55Smrg: "${CONFIG_STATUS=./config.status}" 50398ff16396Smrgac_write_fail=0 50400bd0e222Smrgac_clean_files_save=$ac_clean_files 50410bd0e222Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS" 5042d5d8cc55Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 50438ff16396Smrg$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 5044d5d8cc55Smrgas_write_fail=0 5045d5d8cc55Smrgcat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 50460bd0e222Smrg#! $SHELL 50470bd0e222Smrg# Generated by $as_me. 50480bd0e222Smrg# Run this file to recreate the current configuration. 50490bd0e222Smrg# Compiler output produced by configure, useful for debugging 50500bd0e222Smrg# configure, is in config.log if it exists. 50510bd0e222Smrg 50520bd0e222Smrgdebug=false 50530bd0e222Smrgac_cs_recheck=false 50540bd0e222Smrgac_cs_silent=false 50550bd0e222Smrg 5056d5d8cc55SmrgSHELL=\${CONFIG_SHELL-$SHELL} 5057d5d8cc55Smrgexport SHELL 5058d5d8cc55Smrg_ASEOF 5059d5d8cc55Smrgcat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 5060d5d8cc55Smrg## -------------------- ## 5061d5d8cc55Smrg## M4sh Initialization. ## 5062d5d8cc55Smrg## -------------------- ## 50630bd0e222Smrg 50648ff16396Smrg# Be more Bourne compatible 50658ff16396SmrgDUALCASE=1; export DUALCASE # for MKS sh 5066d5d8cc55Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 50670bd0e222Smrg emulate sh 50680bd0e222Smrg NULLCMD=: 50698ff16396Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 50700bd0e222Smrg # is contrary to our usage. Disable this feature. 50710bd0e222Smrg alias -g '${1+"$@"}'='"$@"' 50728ff16396Smrg setopt NO_GLOB_SUBST 50738ff16396Smrgelse 5074d5d8cc55Smrg case `(set -o) 2>/dev/null` in #( 5075d5d8cc55Smrg *posix*) : 5076d5d8cc55Smrg set -o posix ;; #( 5077d5d8cc55Smrg *) : 5078d5d8cc55Smrg ;; 50798ff16396Smrgesac 50808ff16396Smrgfi 50818ff16396Smrg 50828ff16396Smrg 50838ff16396Smrgas_nl=' 50848ff16396Smrg' 50858ff16396Smrgexport as_nl 50868ff16396Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 50878ff16396Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 50888ff16396Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 50898ff16396Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 5090d5d8cc55Smrg# Prefer a ksh shell builtin over an external printf program on Solaris, 5091d5d8cc55Smrg# but without wasting forks for bash or zsh. 5092d5d8cc55Smrgif test -z "$BASH_VERSION$ZSH_VERSION" \ 5093d5d8cc55Smrg && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 5094d5d8cc55Smrg as_echo='print -r --' 5095d5d8cc55Smrg as_echo_n='print -rn --' 5096d5d8cc55Smrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50978ff16396Smrg as_echo='printf %s\n' 50988ff16396Smrg as_echo_n='printf %s' 50998ff16396Smrgelse 51008ff16396Smrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 51018ff16396Smrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 51028ff16396Smrg as_echo_n='/usr/ucb/echo -n' 51038ff16396Smrg else 51048ff16396Smrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 51058ff16396Smrg as_echo_n_body='eval 51068ff16396Smrg arg=$1; 5107d5d8cc55Smrg case $arg in #( 51088ff16396Smrg *"$as_nl"*) 51098ff16396Smrg expr "X$arg" : "X\\(.*\\)$as_nl"; 51108ff16396Smrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 51118ff16396Smrg esac; 51128ff16396Smrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 51138ff16396Smrg ' 51148ff16396Smrg export as_echo_n_body 51158ff16396Smrg as_echo_n='sh -c $as_echo_n_body as_echo' 51168ff16396Smrg fi 51178ff16396Smrg export as_echo_body 51188ff16396Smrg as_echo='sh -c $as_echo_body as_echo' 51198ff16396Smrgfi 51208ff16396Smrg 51218ff16396Smrg# The user is always right. 51228ff16396Smrgif test "${PATH_SEPARATOR+set}" != set; then 51238ff16396Smrg PATH_SEPARATOR=: 51248ff16396Smrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 51258ff16396Smrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 51268ff16396Smrg PATH_SEPARATOR=';' 51278ff16396Smrg } 51280bd0e222Smrgfi 51290bd0e222Smrg 51300bd0e222Smrg 51318ff16396Smrg# IFS 51328ff16396Smrg# We need space, tab and new line, in precisely that order. Quoting is 51338ff16396Smrg# there to prevent editors from complaining about space-tab. 51348ff16396Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 51358ff16396Smrg# splitting by setting IFS to empty value.) 51368ff16396SmrgIFS=" "" $as_nl" 51378ff16396Smrg 51388ff16396Smrg# Find who we are. Look in the path if we contain no directory separator. 5139d5d8cc55Smrgas_myself= 5140d5d8cc55Smrgcase $0 in #(( 51418ff16396Smrg *[\\/]* ) as_myself=$0 ;; 51428ff16396Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 51438ff16396Smrgfor as_dir in $PATH 51448ff16396Smrgdo 51458ff16396Smrg IFS=$as_save_IFS 51468ff16396Smrg test -z "$as_dir" && as_dir=. 5147d5d8cc55Smrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 5148d5d8cc55Smrg done 51498ff16396SmrgIFS=$as_save_IFS 51508ff16396Smrg 51518ff16396Smrg ;; 51528ff16396Smrgesac 51538ff16396Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 51548ff16396Smrg# in which case we are not to be found in the path. 51558ff16396Smrgif test "x$as_myself" = x; then 51568ff16396Smrg as_myself=$0 51578ff16396Smrgfi 51588ff16396Smrgif test ! -f "$as_myself"; then 51598ff16396Smrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 5160d5d8cc55Smrg exit 1 51618ff16396Smrgfi 51628ff16396Smrg 5163d5d8cc55Smrg# Unset variables that we do not need and which cause bugs (e.g. in 5164d5d8cc55Smrg# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 5165d5d8cc55Smrg# suppresses any "Segmentation fault" message there. '((' could 5166d5d8cc55Smrg# trigger a bug in pdksh 5.2.14. 5167d5d8cc55Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH 5168d5d8cc55Smrgdo eval test x\${$as_var+set} = xset \ 5169d5d8cc55Smrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 51708ff16396Smrgdone 51710bd0e222SmrgPS1='$ ' 51720bd0e222SmrgPS2='> ' 51730bd0e222SmrgPS4='+ ' 51740bd0e222Smrg 51750bd0e222Smrg# NLS nuisances. 51768ff16396SmrgLC_ALL=C 51778ff16396Smrgexport LC_ALL 51788ff16396SmrgLANGUAGE=C 51798ff16396Smrgexport LANGUAGE 51800bd0e222Smrg 5181d5d8cc55Smrg# CDPATH. 5182d5d8cc55Smrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 5183d5d8cc55Smrg 5184d5d8cc55Smrg 5185d5d8cc55Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 5186d5d8cc55Smrg# ---------------------------------------- 5187d5d8cc55Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 5188d5d8cc55Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 5189d5d8cc55Smrg# script with STATUS, using 1 if that was 0. 5190d5d8cc55Smrgas_fn_error () 5191d5d8cc55Smrg{ 5192d5d8cc55Smrg as_status=$1; test $as_status -eq 0 && as_status=1 5193d5d8cc55Smrg if test "$4"; then 5194d5d8cc55Smrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 5195d5d8cc55Smrg $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 5196d5d8cc55Smrg fi 5197d5d8cc55Smrg $as_echo "$as_me: error: $2" >&2 5198d5d8cc55Smrg as_fn_exit $as_status 5199d5d8cc55Smrg} # as_fn_error 5200d5d8cc55Smrg 5201d5d8cc55Smrg 5202d5d8cc55Smrg# as_fn_set_status STATUS 5203d5d8cc55Smrg# ----------------------- 5204d5d8cc55Smrg# Set $? to STATUS, without forking. 5205d5d8cc55Smrgas_fn_set_status () 5206d5d8cc55Smrg{ 5207d5d8cc55Smrg return $1 5208d5d8cc55Smrg} # as_fn_set_status 5209d5d8cc55Smrg 5210d5d8cc55Smrg# as_fn_exit STATUS 5211d5d8cc55Smrg# ----------------- 5212d5d8cc55Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 5213d5d8cc55Smrgas_fn_exit () 5214d5d8cc55Smrg{ 5215d5d8cc55Smrg set +e 5216d5d8cc55Smrg as_fn_set_status $1 5217d5d8cc55Smrg exit $1 5218d5d8cc55Smrg} # as_fn_exit 5219d5d8cc55Smrg 5220d5d8cc55Smrg# as_fn_unset VAR 5221d5d8cc55Smrg# --------------- 5222d5d8cc55Smrg# Portably unset VAR. 5223d5d8cc55Smrgas_fn_unset () 5224d5d8cc55Smrg{ 5225d5d8cc55Smrg { eval $1=; unset $1;} 5226d5d8cc55Smrg} 5227d5d8cc55Smrgas_unset=as_fn_unset 5228d5d8cc55Smrg# as_fn_append VAR VALUE 5229d5d8cc55Smrg# ---------------------- 5230d5d8cc55Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take 5231d5d8cc55Smrg# advantage of any shell optimizations that allow amortized linear growth over 5232d5d8cc55Smrg# repeated appends, instead of the typical quadratic growth present in naive 5233d5d8cc55Smrg# implementations. 5234d5d8cc55Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 5235d5d8cc55Smrg eval 'as_fn_append () 5236d5d8cc55Smrg { 5237d5d8cc55Smrg eval $1+=\$2 5238d5d8cc55Smrg }' 5239d5d8cc55Smrgelse 5240d5d8cc55Smrg as_fn_append () 5241d5d8cc55Smrg { 5242d5d8cc55Smrg eval $1=\$$1\$2 5243d5d8cc55Smrg } 5244d5d8cc55Smrgfi # as_fn_append 5245d5d8cc55Smrg 5246d5d8cc55Smrg# as_fn_arith ARG... 5247d5d8cc55Smrg# ------------------ 5248d5d8cc55Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the 5249d5d8cc55Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 5250d5d8cc55Smrg# must be portable across $(()) and expr. 5251d5d8cc55Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 5252d5d8cc55Smrg eval 'as_fn_arith () 5253d5d8cc55Smrg { 5254d5d8cc55Smrg as_val=$(( $* )) 5255d5d8cc55Smrg }' 5256d5d8cc55Smrgelse 5257d5d8cc55Smrg as_fn_arith () 5258d5d8cc55Smrg { 5259d5d8cc55Smrg as_val=`expr "$@" || test $? -eq 1` 5260d5d8cc55Smrg } 5261d5d8cc55Smrgfi # as_fn_arith 5262d5d8cc55Smrg 5263d5d8cc55Smrg 52648ff16396Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 52658ff16396Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 52660bd0e222Smrg as_expr=expr 52670bd0e222Smrgelse 52680bd0e222Smrg as_expr=false 52690bd0e222Smrgfi 52700bd0e222Smrg 52718ff16396Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 52720bd0e222Smrg as_basename=basename 52730bd0e222Smrgelse 52740bd0e222Smrg as_basename=false 52750bd0e222Smrgfi 52760bd0e222Smrg 5277d5d8cc55Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 5278d5d8cc55Smrg as_dirname=dirname 5279d5d8cc55Smrgelse 5280d5d8cc55Smrg as_dirname=false 5281d5d8cc55Smrgfi 52820bd0e222Smrg 52838ff16396Smrgas_me=`$as_basename -- "$0" || 52840bd0e222Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 52850bd0e222Smrg X"$0" : 'X\(//\)$' \| \ 52868ff16396Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 52878ff16396Smrg$as_echo X/"$0" | 52888ff16396Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 52898ff16396Smrg s//\1/ 52908ff16396Smrg q 52918ff16396Smrg } 52928ff16396Smrg /^X\/\(\/\/\)$/{ 52938ff16396Smrg s//\1/ 52948ff16396Smrg q 52958ff16396Smrg } 52968ff16396Smrg /^X\/\(\/\).*/{ 52978ff16396Smrg s//\1/ 52988ff16396Smrg q 52998ff16396Smrg } 53008ff16396Smrg s/.*/./; q'` 53010bd0e222Smrg 5302d5d8cc55Smrg# Avoid depending upon Character Ranges. 5303d5d8cc55Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 5304d5d8cc55Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 5305d5d8cc55Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 5306d5d8cc55Smrgas_cr_digits='0123456789' 5307d5d8cc55Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 53080bd0e222Smrg 53098ff16396SmrgECHO_C= ECHO_N= ECHO_T= 5310d5d8cc55Smrgcase `echo -n x` in #((((( 53118ff16396Smrg-n*) 5312d5d8cc55Smrg case `echo 'xy\c'` in 53138ff16396Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 5314d5d8cc55Smrg xy) ECHO_C='\c';; 5315d5d8cc55Smrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 5316d5d8cc55Smrg ECHO_T=' ';; 53178ff16396Smrg esac;; 53188ff16396Smrg*) 53198ff16396Smrg ECHO_N='-n';; 53208ff16396Smrgesac 53210bd0e222Smrg 53220bd0e222Smrgrm -f conf$$ conf$$.exe conf$$.file 53238ff16396Smrgif test -d conf$$.dir; then 53248ff16396Smrg rm -f conf$$.dir/conf$$.file 53258ff16396Smrgelse 53268ff16396Smrg rm -f conf$$.dir 53278ff16396Smrg mkdir conf$$.dir 2>/dev/null 53288ff16396Smrgfi 53298ff16396Smrgif (echo >conf$$.file) 2>/dev/null; then 53308ff16396Smrg if ln -s conf$$.file conf$$ 2>/dev/null; then 53310bd0e222Smrg as_ln_s='ln -s' 53328ff16396Smrg # ... but there are two gotchas: 53338ff16396Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 53348ff16396Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 53358ff16396Smrg # In both cases, we have to default to `cp -p'. 53368ff16396Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 53378ff16396Smrg as_ln_s='cp -p' 53388ff16396Smrg elif ln conf$$.file conf$$ 2>/dev/null; then 53398ff16396Smrg as_ln_s=ln 53408ff16396Smrg else 53418ff16396Smrg as_ln_s='cp -p' 53420bd0e222Smrg fi 53430bd0e222Smrgelse 53440bd0e222Smrg as_ln_s='cp -p' 53450bd0e222Smrgfi 53468ff16396Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 53478ff16396Smrgrmdir conf$$.dir 2>/dev/null 53480bd0e222Smrg 5349d5d8cc55Smrg 5350d5d8cc55Smrg# as_fn_mkdir_p 5351d5d8cc55Smrg# ------------- 5352d5d8cc55Smrg# Create "$as_dir" as a directory, including parents if necessary. 5353d5d8cc55Smrgas_fn_mkdir_p () 5354d5d8cc55Smrg{ 5355d5d8cc55Smrg 5356d5d8cc55Smrg case $as_dir in #( 5357d5d8cc55Smrg -*) as_dir=./$as_dir;; 5358d5d8cc55Smrg esac 5359d5d8cc55Smrg test -d "$as_dir" || eval $as_mkdir_p || { 5360d5d8cc55Smrg as_dirs= 5361d5d8cc55Smrg while :; do 5362d5d8cc55Smrg case $as_dir in #( 5363d5d8cc55Smrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 5364d5d8cc55Smrg *) as_qdir=$as_dir;; 5365d5d8cc55Smrg esac 5366d5d8cc55Smrg as_dirs="'$as_qdir' $as_dirs" 5367d5d8cc55Smrg as_dir=`$as_dirname -- "$as_dir" || 5368d5d8cc55Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5369d5d8cc55Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 5370d5d8cc55Smrg X"$as_dir" : 'X\(//\)$' \| \ 5371d5d8cc55Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 5372d5d8cc55Smrg$as_echo X"$as_dir" | 5373d5d8cc55Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5374d5d8cc55Smrg s//\1/ 5375d5d8cc55Smrg q 5376d5d8cc55Smrg } 5377d5d8cc55Smrg /^X\(\/\/\)[^/].*/{ 5378d5d8cc55Smrg s//\1/ 5379d5d8cc55Smrg q 5380d5d8cc55Smrg } 5381d5d8cc55Smrg /^X\(\/\/\)$/{ 5382d5d8cc55Smrg s//\1/ 5383d5d8cc55Smrg q 5384d5d8cc55Smrg } 5385d5d8cc55Smrg /^X\(\/\).*/{ 5386d5d8cc55Smrg s//\1/ 5387d5d8cc55Smrg q 5388d5d8cc55Smrg } 5389d5d8cc55Smrg s/.*/./; q'` 5390d5d8cc55Smrg test -d "$as_dir" && break 5391d5d8cc55Smrg done 5392d5d8cc55Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 5393d5d8cc55Smrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 5394d5d8cc55Smrg 5395d5d8cc55Smrg 5396d5d8cc55Smrg} # as_fn_mkdir_p 53970bd0e222Smrgif mkdir -p . 2>/dev/null; then 5398d5d8cc55Smrg as_mkdir_p='mkdir -p "$as_dir"' 53990bd0e222Smrgelse 54000bd0e222Smrg test -d ./-p && rmdir ./-p 54010bd0e222Smrg as_mkdir_p=false 54020bd0e222Smrgfi 54030bd0e222Smrg 54048ff16396Smrgif test -x / >/dev/null 2>&1; then 54058ff16396Smrg as_test_x='test -x' 54068ff16396Smrgelse 54078ff16396Smrg if ls -dL / >/dev/null 2>&1; then 54088ff16396Smrg as_ls_L_option=L 54098ff16396Smrg else 54108ff16396Smrg as_ls_L_option= 54118ff16396Smrg fi 54128ff16396Smrg as_test_x=' 54138ff16396Smrg eval sh -c '\'' 54148ff16396Smrg if test -d "$1"; then 54158ff16396Smrg test -d "$1/."; 54168ff16396Smrg else 5417d5d8cc55Smrg case $1 in #( 54188ff16396Smrg -*)set "./$1";; 54198ff16396Smrg esac; 5420d5d8cc55Smrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 54218ff16396Smrg ???[sx]*):;;*)false;;esac;fi 54228ff16396Smrg '\'' sh 54238ff16396Smrg ' 54248ff16396Smrgfi 54258ff16396Smrgas_executable_p=$as_test_x 54260bd0e222Smrg 54270bd0e222Smrg# Sed expression to map a string onto a valid CPP name. 54280bd0e222Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 54290bd0e222Smrg 54300bd0e222Smrg# Sed expression to map a string onto a valid variable name. 54310bd0e222Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 54320bd0e222Smrg 54330bd0e222Smrg 54340bd0e222Smrgexec 6>&1 5435d5d8cc55Smrg## ----------------------------------- ## 5436d5d8cc55Smrg## Main body of $CONFIG_STATUS script. ## 5437d5d8cc55Smrg## ----------------------------------- ## 5438d5d8cc55Smrg_ASEOF 5439d5d8cc55Smrgtest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 54400bd0e222Smrg 5441d5d8cc55Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5442d5d8cc55Smrg# Save the log message, to keep $0 and so on meaningful, and to 54430bd0e222Smrg# report actual input values of CONFIG_FILES etc. instead of their 54448ff16396Smrg# values after options handling. 54458ff16396Smrgac_log=" 5446d5d8cc55SmrgThis file was extended by font-jis-misc $as_me 1.0.3, which was 5447d5d8cc55Smrggenerated by GNU Autoconf 2.68. Invocation command line was 54480bd0e222Smrg 54490bd0e222Smrg CONFIG_FILES = $CONFIG_FILES 54500bd0e222Smrg CONFIG_HEADERS = $CONFIG_HEADERS 54510bd0e222Smrg CONFIG_LINKS = $CONFIG_LINKS 54520bd0e222Smrg CONFIG_COMMANDS = $CONFIG_COMMANDS 54530bd0e222Smrg $ $0 $@ 54540bd0e222Smrg 54558ff16396Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q` 54568ff16396Smrg" 54578ff16396Smrg 54580bd0e222Smrg_ACEOF 54590bd0e222Smrg 54608ff16396Smrgcase $ac_config_files in *" 54618ff16396Smrg"*) set x $ac_config_files; shift; ac_config_files=$*;; 54628ff16396Smrgesac 54630bd0e222Smrg 54640bd0e222Smrg 54650bd0e222Smrg 54668ff16396Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 54678ff16396Smrg# Files that config.status was made for. 54688ff16396Smrgconfig_files="$ac_config_files" 54698ff16396Smrgconfig_commands="$ac_config_commands" 54700bd0e222Smrg 54718ff16396Smrg_ACEOF 54720bd0e222Smrg 54738ff16396Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 54740bd0e222Smrgac_cs_usage="\ 5475d5d8cc55Smrg\`$as_me' instantiates files and other configuration actions 5476d5d8cc55Smrgfrom templates according to the current configuration. Unless the files 5477d5d8cc55Smrgand actions are specified as TAGs, all are instantiated by default. 54780bd0e222Smrg 5479d5d8cc55SmrgUsage: $0 [OPTION]... [TAG]... 54800bd0e222Smrg 54810bd0e222Smrg -h, --help print this help, then exit 54828ff16396Smrg -V, --version print version number and configuration settings, then exit 5483d5d8cc55Smrg --config print configuration, then exit 54848ff16396Smrg -q, --quiet, --silent 54858ff16396Smrg do not print progress messages 54860bd0e222Smrg -d, --debug don't remove temporary files 54870bd0e222Smrg --recheck update $as_me by reconfiguring in the same conditions 54888ff16396Smrg --file=FILE[:TEMPLATE] 54898ff16396Smrg instantiate the configuration file FILE 54900bd0e222Smrg 54910bd0e222SmrgConfiguration files: 54920bd0e222Smrg$config_files 54930bd0e222Smrg 54948ff16396SmrgConfiguration commands: 54958ff16396Smrg$config_commands 54968ff16396Smrg 5497d5d8cc55SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>." 54980bd0e222Smrg 54998ff16396Smrg_ACEOF 55008ff16396Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5501d5d8cc55Smrgac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 55020bd0e222Smrgac_cs_version="\\ 5503d5d8cc55Smrgfont-jis-misc config.status 1.0.3 5504d5d8cc55Smrgconfigured by $0, generated by GNU Autoconf 2.68, 5505d5d8cc55Smrg with options \\"\$ac_cs_config\\" 55060bd0e222Smrg 5507d5d8cc55SmrgCopyright (C) 2010 Free Software Foundation, Inc. 55080bd0e222SmrgThis config.status script is free software; the Free Software Foundation 55090bd0e222Smrggives unlimited permission to copy, distribute and modify it." 55108ff16396Smrg 55118ff16396Smrgac_pwd='$ac_pwd' 55128ff16396Smrgsrcdir='$srcdir' 55138ff16396SmrgINSTALL='$INSTALL' 55148ff16396SmrgMKDIR_P='$MKDIR_P' 55158ff16396SmrgAWK='$AWK' 55168ff16396Smrgtest -n "\$AWK" || AWK=awk 55170bd0e222Smrg_ACEOF 55180bd0e222Smrg 55198ff16396Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 55208ff16396Smrg# The default lists apply if the user does not specify any file. 55210bd0e222Smrgac_need_defaults=: 55220bd0e222Smrgwhile test $# != 0 55230bd0e222Smrgdo 55240bd0e222Smrg case $1 in 5525d5d8cc55Smrg --*=?*) 55268ff16396Smrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 55278ff16396Smrg ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 55280bd0e222Smrg ac_shift=: 55290bd0e222Smrg ;; 5530d5d8cc55Smrg --*=) 5531d5d8cc55Smrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 5532d5d8cc55Smrg ac_optarg= 5533d5d8cc55Smrg ac_shift=: 5534d5d8cc55Smrg ;; 55358ff16396Smrg *) 55360bd0e222Smrg ac_option=$1 55370bd0e222Smrg ac_optarg=$2 55380bd0e222Smrg ac_shift=shift 55390bd0e222Smrg ;; 55400bd0e222Smrg esac 55410bd0e222Smrg 55420bd0e222Smrg case $ac_option in 55430bd0e222Smrg # Handling of the options. 55440bd0e222Smrg -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 55450bd0e222Smrg ac_cs_recheck=: ;; 55468ff16396Smrg --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 55478ff16396Smrg $as_echo "$ac_cs_version"; exit ;; 5548d5d8cc55Smrg --config | --confi | --conf | --con | --co | --c ) 5549d5d8cc55Smrg $as_echo "$ac_cs_config"; exit ;; 55508ff16396Smrg --debug | --debu | --deb | --de | --d | -d ) 55510bd0e222Smrg debug=: ;; 55520bd0e222Smrg --file | --fil | --fi | --f ) 55530bd0e222Smrg $ac_shift 55548ff16396Smrg case $ac_optarg in 55558ff16396Smrg *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 5556d5d8cc55Smrg '') as_fn_error $? "missing file argument" ;; 55578ff16396Smrg esac 5558d5d8cc55Smrg as_fn_append CONFIG_FILES " '$ac_optarg'" 55590bd0e222Smrg ac_need_defaults=false;; 55608ff16396Smrg --he | --h | --help | --hel | -h ) 55618ff16396Smrg $as_echo "$ac_cs_usage"; exit ;; 55620bd0e222Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 55630bd0e222Smrg | -silent | --silent | --silen | --sile | --sil | --si | --s) 55640bd0e222Smrg ac_cs_silent=: ;; 55650bd0e222Smrg 55660bd0e222Smrg # This is an error. 5567d5d8cc55Smrg -*) as_fn_error $? "unrecognized option: \`$1' 5568d5d8cc55SmrgTry \`$0 --help' for more information." ;; 55690bd0e222Smrg 5570d5d8cc55Smrg *) as_fn_append ac_config_targets " $1" 55718ff16396Smrg ac_need_defaults=false ;; 55720bd0e222Smrg 55730bd0e222Smrg esac 55740bd0e222Smrg shift 55750bd0e222Smrgdone 55760bd0e222Smrg 55770bd0e222Smrgac_configure_extra_args= 55780bd0e222Smrg 55790bd0e222Smrgif $ac_cs_silent; then 55800bd0e222Smrg exec 6>/dev/null 55810bd0e222Smrg ac_configure_extra_args="$ac_configure_extra_args --silent" 55820bd0e222Smrgfi 55830bd0e222Smrg 55840bd0e222Smrg_ACEOF 55858ff16396Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 55860bd0e222Smrgif \$ac_cs_recheck; then 55878ff16396Smrg set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 55888ff16396Smrg shift 55898ff16396Smrg \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 55908ff16396Smrg CONFIG_SHELL='$SHELL' 55918ff16396Smrg export CONFIG_SHELL 55928ff16396Smrg exec "\$@" 55930bd0e222Smrgfi 55940bd0e222Smrg 55950bd0e222Smrg_ACEOF 55968ff16396Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 55978ff16396Smrgexec 5>>config.log 55988ff16396Smrg{ 55998ff16396Smrg echo 56008ff16396Smrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 56018ff16396Smrg## Running $as_me. ## 56028ff16396Smrg_ASBOX 56038ff16396Smrg $as_echo "$ac_log" 56048ff16396Smrg} >&5 56050bd0e222Smrg 56068ff16396Smrg_ACEOF 56078ff16396Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 56088ff16396Smrg# 56098ff16396Smrg# INIT-COMMANDS 56108ff16396Smrg# 56118ff16396SmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 56120bd0e222Smrg 56138ff16396Smrg_ACEOF 56140bd0e222Smrg 56158ff16396Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 56160bd0e222Smrg 56178ff16396Smrg# Handling of arguments. 56180bd0e222Smrgfor ac_config_target in $ac_config_targets 56190bd0e222Smrgdo 56208ff16396Smrg case $ac_config_target in 56218ff16396Smrg "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 56228ff16396Smrg "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 56238ff16396Smrg 5624d5d8cc55Smrg *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 56250bd0e222Smrg esac 56260bd0e222Smrgdone 56270bd0e222Smrg 56288ff16396Smrg 56290bd0e222Smrg# If the user did not use the arguments to specify the items to instantiate, 56300bd0e222Smrg# then the envvar interface is used. Set only those that are not. 56310bd0e222Smrg# We use the long form for the default assignment because of an extremely 56320bd0e222Smrg# bizarre bug on SunOS 4.1.3. 56330bd0e222Smrgif $ac_need_defaults; then 56340bd0e222Smrg test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 56358ff16396Smrg test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 56360bd0e222Smrgfi 56370bd0e222Smrg 56380bd0e222Smrg# Have a temporary directory for convenience. Make it in the build tree 56398ff16396Smrg# simply because there is no reason against having it here, and in addition, 56400bd0e222Smrg# creating and moving files from /tmp can sometimes cause problems. 56418ff16396Smrg# Hook for its removal unless debugging. 56428ff16396Smrg# Note that there is a small window in which the directory will not be cleaned: 56438ff16396Smrg# after its creation but before its name has been assigned to `$tmp'. 56440bd0e222Smrg$debug || 56450bd0e222Smrg{ 5646d5d8cc55Smrg tmp= ac_tmp= 56478ff16396Smrg trap 'exit_status=$? 5648d5d8cc55Smrg : "${ac_tmp:=$tmp}" 5649d5d8cc55Smrg { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 56508ff16396Smrg' 0 5651d5d8cc55Smrg trap 'as_fn_exit 1' 1 2 13 15 56520bd0e222Smrg} 56530bd0e222Smrg# Create a (secure) tmp directory for tmp files. 56540bd0e222Smrg 56550bd0e222Smrg{ 56568ff16396Smrg tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 5657d5d8cc55Smrg test -d "$tmp" 56580bd0e222Smrg} || 56590bd0e222Smrg{ 56608ff16396Smrg tmp=./conf$$-$RANDOM 56618ff16396Smrg (umask 077 && mkdir "$tmp") 5662d5d8cc55Smrg} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 5663d5d8cc55Smrgac_tmp=$tmp 56640bd0e222Smrg 56658ff16396Smrg# Set up the scripts for CONFIG_FILES section. 56668ff16396Smrg# No need to generate them if there are no CONFIG_FILES. 56678ff16396Smrg# This happens for instance with `./config.status config.h'. 56688ff16396Smrgif test -n "$CONFIG_FILES"; then 56698ff16396Smrg 56708ff16396Smrg 5671d5d8cc55Smrgac_cr=`echo X | tr X '\015'` 5672d5d8cc55Smrg# On cygwin, bash can eat \r inside `` if the user requested igncr. 5673d5d8cc55Smrg# But we know of no other shell where ac_cr would be empty at this 5674d5d8cc55Smrg# point, so we can use a bashism as a fallback. 5675d5d8cc55Smrgif test "x$ac_cr" = x; then 5676d5d8cc55Smrg eval ac_cr=\$\'\\r\' 5677d5d8cc55Smrgfi 56788ff16396Smrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 56798ff16396Smrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 56808ff16396Smrg ac_cs_awk_cr='\\r' 56818ff16396Smrgelse 56828ff16396Smrg ac_cs_awk_cr=$ac_cr 56838ff16396Smrgfi 56848ff16396Smrg 5685d5d8cc55Smrgecho 'BEGIN {' >"$ac_tmp/subs1.awk" && 56860bd0e222Smrg_ACEOF 56870bd0e222Smrg 56880bd0e222Smrg 56898ff16396Smrg{ 56908ff16396Smrg echo "cat >conf$$subs.awk <<_ACEOF" && 56918ff16396Smrg echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 56928ff16396Smrg echo "_ACEOF" 56938ff16396Smrg} >conf$$subs.sh || 5694d5d8cc55Smrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5695d5d8cc55Smrgac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 56968ff16396Smrgac_delim='%!_!# ' 56978ff16396Smrgfor ac_last_try in false false false false false :; do 56988ff16396Smrg . ./conf$$subs.sh || 5699d5d8cc55Smrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 57000bd0e222Smrg 57018ff16396Smrg ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 57028ff16396Smrg if test $ac_delim_n = $ac_delim_num; then 57038ff16396Smrg break 57048ff16396Smrg elif $ac_last_try; then 5705d5d8cc55Smrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 57068ff16396Smrg else 57078ff16396Smrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 57080bd0e222Smrg fi 57098ff16396Smrgdone 57108ff16396Smrgrm -f conf$$subs.sh 57110bd0e222Smrg 57128ff16396Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5713d5d8cc55Smrgcat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 57140bd0e222Smrg_ACEOF 57158ff16396Smrgsed -n ' 57168ff16396Smrgh 57178ff16396Smrgs/^/S["/; s/!.*/"]=/ 57188ff16396Smrgp 57198ff16396Smrgg 57208ff16396Smrgs/^[^!]*!// 57218ff16396Smrg:repl 57228ff16396Smrgt repl 57238ff16396Smrgs/'"$ac_delim"'$// 57248ff16396Smrgt delim 57258ff16396Smrg:nl 57268ff16396Smrgh 5727d5d8cc55Smrgs/\(.\{148\}\)..*/\1/ 57288ff16396Smrgt more1 57298ff16396Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 57308ff16396Smrgp 57318ff16396Smrgn 57328ff16396Smrgb repl 57338ff16396Smrg:more1 57348ff16396Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 57358ff16396Smrgp 57368ff16396Smrgg 57378ff16396Smrgs/.\{148\}// 57388ff16396Smrgt nl 57398ff16396Smrg:delim 57408ff16396Smrgh 5741d5d8cc55Smrgs/\(.\{148\}\)..*/\1/ 57428ff16396Smrgt more2 57438ff16396Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/ 57448ff16396Smrgp 57458ff16396Smrgb 57468ff16396Smrg:more2 57478ff16396Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 57488ff16396Smrgp 57498ff16396Smrgg 57508ff16396Smrgs/.\{148\}// 57518ff16396Smrgt delim 57528ff16396Smrg' <conf$$subs.awk | sed ' 57538ff16396Smrg/^[^""]/{ 57548ff16396Smrg N 57558ff16396Smrg s/\n// 57568ff16396Smrg} 57578ff16396Smrg' >>$CONFIG_STATUS || ac_write_fail=1 57588ff16396Smrgrm -f conf$$subs.awk 57598ff16396Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 57608ff16396Smrg_ACAWK 5761d5d8cc55Smrgcat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 57628ff16396Smrg for (key in S) S_is_set[key] = 1 57638ff16396Smrg FS = "" 57648ff16396Smrg 57658ff16396Smrg} 57668ff16396Smrg{ 57678ff16396Smrg line = $ 0 57688ff16396Smrg nfields = split(line, field, "@") 57698ff16396Smrg substed = 0 57708ff16396Smrg len = length(field[1]) 57718ff16396Smrg for (i = 2; i < nfields; i++) { 57728ff16396Smrg key = field[i] 57738ff16396Smrg keylen = length(key) 57748ff16396Smrg if (S_is_set[key]) { 57758ff16396Smrg value = S[key] 57768ff16396Smrg line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 57778ff16396Smrg len += length(value) + length(field[++i]) 57788ff16396Smrg substed = 1 57798ff16396Smrg } else 57808ff16396Smrg len += 1 + keylen 57818ff16396Smrg } 57828ff16396Smrg 57838ff16396Smrg print line 57848ff16396Smrg} 57858ff16396Smrg 57868ff16396Smrg_ACAWK 57878ff16396Smrg_ACEOF 57888ff16396Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 57898ff16396Smrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 57908ff16396Smrg sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 57918ff16396Smrgelse 57928ff16396Smrg cat 5793d5d8cc55Smrgfi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 5794d5d8cc55Smrg || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 57958ff16396Smrg_ACEOF 57968ff16396Smrg 5797d5d8cc55Smrg# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 5798d5d8cc55Smrg# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 57998ff16396Smrg# trailing colons and then remove the whole line if VPATH becomes empty 58008ff16396Smrg# (actually we leave an empty line to preserve line numbers). 58018ff16396Smrgif test "x$srcdir" = x.; then 5802d5d8cc55Smrg ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 5803d5d8cc55Smrgh 5804d5d8cc55Smrgs/// 5805d5d8cc55Smrgs/^/:/ 5806d5d8cc55Smrgs/[ ]*$/:/ 5807d5d8cc55Smrgs/:\$(srcdir):/:/g 5808d5d8cc55Smrgs/:\${srcdir}:/:/g 5809d5d8cc55Smrgs/:@srcdir@:/:/g 5810d5d8cc55Smrgs/^:*// 58118ff16396Smrgs/:*$// 5812d5d8cc55Smrgx 5813d5d8cc55Smrgs/\(=[ ]*\).*/\1/ 5814d5d8cc55SmrgG 5815d5d8cc55Smrgs/\n// 58168ff16396Smrgs/^[^=]*=[ ]*$// 58178ff16396Smrg}' 58188ff16396Smrgfi 58198ff16396Smrg 58208ff16396Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 58218ff16396Smrgfi # test -n "$CONFIG_FILES" 58228ff16396Smrg 58238ff16396Smrg 58248ff16396Smrgeval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" 58258ff16396Smrgshift 58268ff16396Smrgfor ac_tag 58278ff16396Smrgdo 58288ff16396Smrg case $ac_tag in 58298ff16396Smrg :[FHLC]) ac_mode=$ac_tag; continue;; 58308ff16396Smrg esac 58318ff16396Smrg case $ac_mode$ac_tag in 58328ff16396Smrg :[FHL]*:*);; 5833d5d8cc55Smrg :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 58348ff16396Smrg :[FH]-) ac_tag=-:-;; 58358ff16396Smrg :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 58368ff16396Smrg esac 58378ff16396Smrg ac_save_IFS=$IFS 58388ff16396Smrg IFS=: 58398ff16396Smrg set x $ac_tag 58408ff16396Smrg IFS=$ac_save_IFS 58418ff16396Smrg shift 58428ff16396Smrg ac_file=$1 58438ff16396Smrg shift 58448ff16396Smrg 58458ff16396Smrg case $ac_mode in 58468ff16396Smrg :L) ac_source=$1;; 58478ff16396Smrg :[FH]) 58488ff16396Smrg ac_file_inputs= 58498ff16396Smrg for ac_f 58508ff16396Smrg do 58518ff16396Smrg case $ac_f in 5852d5d8cc55Smrg -) ac_f="$ac_tmp/stdin";; 58538ff16396Smrg *) # Look for the file first in the build tree, then in the source tree 58548ff16396Smrg # (if the path is not absolute). The absolute path cannot be DOS-style, 58558ff16396Smrg # because $ac_f cannot contain `:'. 58568ff16396Smrg test -f "$ac_f" || 58578ff16396Smrg case $ac_f in 58588ff16396Smrg [\\/$]*) false;; 58598ff16396Smrg *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 58608ff16396Smrg esac || 5861d5d8cc55Smrg as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 58628ff16396Smrg esac 58638ff16396Smrg case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 5864d5d8cc55Smrg as_fn_append ac_file_inputs " '$ac_f'" 58658ff16396Smrg done 58668ff16396Smrg 58678ff16396Smrg # Let's still pretend it is `configure' which instantiates (i.e., don't 58688ff16396Smrg # use $as_me), people would be surprised to read: 58698ff16396Smrg # /* config.h. Generated by config.status. */ 58708ff16396Smrg configure_input='Generated from '` 58718ff16396Smrg $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 58728ff16396Smrg `' by configure.' 58738ff16396Smrg if test x"$ac_file" != x-; then 58748ff16396Smrg configure_input="$ac_file. $configure_input" 5875d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 58768ff16396Smrg$as_echo "$as_me: creating $ac_file" >&6;} 58778ff16396Smrg fi 58788ff16396Smrg # Neutralize special characters interpreted by sed in replacement strings. 58798ff16396Smrg case $configure_input in #( 58808ff16396Smrg *\&* | *\|* | *\\* ) 58818ff16396Smrg ac_sed_conf_input=`$as_echo "$configure_input" | 58828ff16396Smrg sed 's/[\\\\&|]/\\\\&/g'`;; #( 58838ff16396Smrg *) ac_sed_conf_input=$configure_input;; 58848ff16396Smrg esac 58858ff16396Smrg 58868ff16396Smrg case $ac_tag in 5887d5d8cc55Smrg *:-:* | *:-) cat >"$ac_tmp/stdin" \ 5888d5d8cc55Smrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 58898ff16396Smrg esac 58908ff16396Smrg ;; 58910bd0e222Smrg esac 58920bd0e222Smrg 58938ff16396Smrg ac_dir=`$as_dirname -- "$ac_file" || 58940bd0e222Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 58950bd0e222Smrg X"$ac_file" : 'X\(//\)[^/]' \| \ 58960bd0e222Smrg X"$ac_file" : 'X\(//\)$' \| \ 58978ff16396Smrg X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 58988ff16396Smrg$as_echo X"$ac_file" | 58998ff16396Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 59008ff16396Smrg s//\1/ 59018ff16396Smrg q 59028ff16396Smrg } 59038ff16396Smrg /^X\(\/\/\)[^/].*/{ 59048ff16396Smrg s//\1/ 59058ff16396Smrg q 59068ff16396Smrg } 59078ff16396Smrg /^X\(\/\/\)$/{ 59088ff16396Smrg s//\1/ 59098ff16396Smrg q 59108ff16396Smrg } 59118ff16396Smrg /^X\(\/\).*/{ 59128ff16396Smrg s//\1/ 59138ff16396Smrg q 59148ff16396Smrg } 59158ff16396Smrg s/.*/./; q'` 5916d5d8cc55Smrg as_dir="$ac_dir"; as_fn_mkdir_p 59170bd0e222Smrg ac_builddir=. 59180bd0e222Smrg 59198ff16396Smrgcase "$ac_dir" in 59208ff16396Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 59218ff16396Smrg*) 59228ff16396Smrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 59238ff16396Smrg # A ".." for each directory in $ac_dir_suffix. 59248ff16396Smrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 59258ff16396Smrg case $ac_top_builddir_sub in 59268ff16396Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 59278ff16396Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 59288ff16396Smrg esac ;; 59298ff16396Smrgesac 59308ff16396Smrgac_abs_top_builddir=$ac_pwd 59318ff16396Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 59328ff16396Smrg# for backward compatibility: 59338ff16396Smrgac_top_builddir=$ac_top_build_prefix 59340bd0e222Smrg 59350bd0e222Smrgcase $srcdir in 59368ff16396Smrg .) # We are building in place. 59370bd0e222Smrg ac_srcdir=. 59388ff16396Smrg ac_top_srcdir=$ac_top_builddir_sub 59398ff16396Smrg ac_abs_top_srcdir=$ac_pwd ;; 59408ff16396Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 59410bd0e222Smrg ac_srcdir=$srcdir$ac_dir_suffix; 59428ff16396Smrg ac_top_srcdir=$srcdir 59438ff16396Smrg ac_abs_top_srcdir=$srcdir ;; 59448ff16396Smrg *) # Relative name. 59458ff16396Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 59468ff16396Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 59478ff16396Smrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 59480bd0e222Smrgesac 59498ff16396Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 59500bd0e222Smrg 59510bd0e222Smrg 59528ff16396Smrg case $ac_mode in 59538ff16396Smrg :F) 59548ff16396Smrg # 59558ff16396Smrg # CONFIG_FILE 59568ff16396Smrg # 59570bd0e222Smrg 59580bd0e222Smrg case $INSTALL in 59590bd0e222Smrg [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 59608ff16396Smrg *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 59610bd0e222Smrg esac 59628ff16396Smrg ac_MKDIR_P=$MKDIR_P 59638ff16396Smrg case $MKDIR_P in 59648ff16396Smrg [\\/$]* | ?:[\\/]* ) ;; 59658ff16396Smrg */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 59668ff16396Smrg esac 59678ff16396Smrg_ACEOF 59680bd0e222Smrg 59698ff16396Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 59708ff16396Smrg# If the template does not know about datarootdir, expand it. 59718ff16396Smrg# FIXME: This hack should be removed a few years after 2.60. 59728ff16396Smrgac_datarootdir_hack=; ac_datarootdir_seen= 59738ff16396Smrgac_sed_dataroot=' 59748ff16396Smrg/datarootdir/ { 59758ff16396Smrg p 59768ff16396Smrg q 59778ff16396Smrg} 59788ff16396Smrg/@datadir@/p 59798ff16396Smrg/@docdir@/p 59808ff16396Smrg/@infodir@/p 59818ff16396Smrg/@localedir@/p 5982d5d8cc55Smrg/@mandir@/p' 59838ff16396Smrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 59848ff16396Smrg*datarootdir*) ac_datarootdir_seen=yes;; 59858ff16396Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 5986d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 59878ff16396Smrg$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 59888ff16396Smrg_ACEOF 59898ff16396Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 59908ff16396Smrg ac_datarootdir_hack=' 59918ff16396Smrg s&@datadir@&$datadir&g 59928ff16396Smrg s&@docdir@&$docdir&g 59938ff16396Smrg s&@infodir@&$infodir&g 59948ff16396Smrg s&@localedir@&$localedir&g 59958ff16396Smrg s&@mandir@&$mandir&g 5996d5d8cc55Smrg s&\\\${datarootdir}&$datarootdir&g' ;; 59978ff16396Smrgesac 59980bd0e222Smrg_ACEOF 59998ff16396Smrg 60008ff16396Smrg# Neutralize VPATH when `$srcdir' = `.'. 60018ff16396Smrg# Shell code in configure.ac might set extrasub. 60028ff16396Smrg# FIXME: do we really want to maintain this feature? 60038ff16396Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 60048ff16396Smrgac_sed_extra="$ac_vpsub 60050bd0e222Smrg$extrasub 60060bd0e222Smrg_ACEOF 60078ff16396Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 60080bd0e222Smrg:t 60090bd0e222Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 60108ff16396Smrgs|@configure_input@|$ac_sed_conf_input|;t t 60118ff16396Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t 60128ff16396Smrgs&@top_build_prefix@&$ac_top_build_prefix&;t t 60138ff16396Smrgs&@srcdir@&$ac_srcdir&;t t 60148ff16396Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t 60158ff16396Smrgs&@top_srcdir@&$ac_top_srcdir&;t t 60168ff16396Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 60178ff16396Smrgs&@builddir@&$ac_builddir&;t t 60188ff16396Smrgs&@abs_builddir@&$ac_abs_builddir&;t t 60198ff16396Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t 60208ff16396Smrgs&@INSTALL@&$ac_INSTALL&;t t 60218ff16396Smrgs&@MKDIR_P@&$ac_MKDIR_P&;t t 60228ff16396Smrg$ac_datarootdir_hack 60238ff16396Smrg" 6024d5d8cc55Smrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 6025d5d8cc55Smrg >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 60260bd0e222Smrg 60278ff16396Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 6028d5d8cc55Smrg { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 6029d5d8cc55Smrg { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 6030d5d8cc55Smrg "$ac_tmp/out"`; test -z "$ac_out"; } && 6031d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6032d5d8cc55Smrgwhich seems to be undefined. Please make sure it is defined" >&5 60338ff16396Smrg$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6034d5d8cc55Smrgwhich seems to be undefined. Please make sure it is defined" >&2;} 60358ff16396Smrg 6036d5d8cc55Smrg rm -f "$ac_tmp/stdin" 60378ff16396Smrg case $ac_file in 6038d5d8cc55Smrg -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 6039d5d8cc55Smrg *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 60408ff16396Smrg esac \ 6041d5d8cc55Smrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 60428ff16396Smrg ;; 60438ff16396Smrg 60448ff16396Smrg 6045d5d8cc55Smrg :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 60468ff16396Smrg$as_echo "$as_me: executing $ac_file commands" >&6;} 60478ff16396Smrg ;; 60488ff16396Smrg esac 60498ff16396Smrg 60508ff16396Smrg 60518ff16396Smrg case $ac_file$ac_mode in 60528ff16396Smrg "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 60538ff16396Smrg # Autoconf 2.62 quotes --file arguments for eval, but not when files 60548ff16396Smrg # are listed without --file. Let's play safe and only enable the eval 60558ff16396Smrg # if we detect the quoting. 60568ff16396Smrg case $CONFIG_FILES in 60578ff16396Smrg *\'*) eval set x "$CONFIG_FILES" ;; 60588ff16396Smrg *) set x $CONFIG_FILES ;; 60598ff16396Smrg esac 60608ff16396Smrg shift 60618ff16396Smrg for mf 60628ff16396Smrg do 60638ff16396Smrg # Strip MF so we end up with the name of the file. 60648ff16396Smrg mf=`echo "$mf" | sed -e 's/:.*$//'` 60658ff16396Smrg # Check whether this is an Automake generated Makefile or not. 60668ff16396Smrg # We used to match only the files named `Makefile.in', but 60678ff16396Smrg # some people rename them; so instead we look at the file content. 60688ff16396Smrg # Grep'ing the first line is not enough: some people post-process 60698ff16396Smrg # each Makefile.in and add a new line on top of each file to say so. 60708ff16396Smrg # Grep'ing the whole file is not good either: AIX grep has a line 60718ff16396Smrg # limit of 2048, but all sed's we know have understand at least 4000. 60728ff16396Smrg if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 60738ff16396Smrg dirpart=`$as_dirname -- "$mf" || 60748ff16396Smrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 60758ff16396Smrg X"$mf" : 'X\(//\)[^/]' \| \ 60768ff16396Smrg X"$mf" : 'X\(//\)$' \| \ 60778ff16396Smrg X"$mf" : 'X\(/\)' \| . 2>/dev/null || 60788ff16396Smrg$as_echo X"$mf" | 60798ff16396Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 60808ff16396Smrg s//\1/ 60818ff16396Smrg q 60828ff16396Smrg } 60838ff16396Smrg /^X\(\/\/\)[^/].*/{ 60848ff16396Smrg s//\1/ 60858ff16396Smrg q 60868ff16396Smrg } 60878ff16396Smrg /^X\(\/\/\)$/{ 60888ff16396Smrg s//\1/ 60898ff16396Smrg q 60908ff16396Smrg } 60918ff16396Smrg /^X\(\/\).*/{ 60928ff16396Smrg s//\1/ 60938ff16396Smrg q 60948ff16396Smrg } 60958ff16396Smrg s/.*/./; q'` 60968ff16396Smrg else 60978ff16396Smrg continue 60988ff16396Smrg fi 60998ff16396Smrg # Extract the definition of DEPDIR, am__include, and am__quote 61008ff16396Smrg # from the Makefile without running `make'. 61018ff16396Smrg DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 61028ff16396Smrg test -z "$DEPDIR" && continue 61038ff16396Smrg am__include=`sed -n 's/^am__include = //p' < "$mf"` 61048ff16396Smrg test -z "am__include" && continue 61058ff16396Smrg am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 61068ff16396Smrg # When using ansi2knr, U may be empty or an underscore; expand it 61078ff16396Smrg U=`sed -n 's/^U = //p' < "$mf"` 61088ff16396Smrg # Find all dependency output files, they are included files with 61098ff16396Smrg # $(DEPDIR) in their names. We invoke sed twice because it is the 61108ff16396Smrg # simplest approach to changing $(DEPDIR) to its actual value in the 61118ff16396Smrg # expansion. 61128ff16396Smrg for file in `sed -n " 61138ff16396Smrg s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 61148ff16396Smrg sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 61158ff16396Smrg # Make sure the directory exists. 61168ff16396Smrg test -f "$dirpart/$file" && continue 61178ff16396Smrg fdir=`$as_dirname -- "$file" || 61188ff16396Smrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 61198ff16396Smrg X"$file" : 'X\(//\)[^/]' \| \ 61208ff16396Smrg X"$file" : 'X\(//\)$' \| \ 61218ff16396Smrg X"$file" : 'X\(/\)' \| . 2>/dev/null || 61228ff16396Smrg$as_echo X"$file" | 61238ff16396Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 61248ff16396Smrg s//\1/ 61258ff16396Smrg q 61268ff16396Smrg } 61278ff16396Smrg /^X\(\/\/\)[^/].*/{ 61288ff16396Smrg s//\1/ 61298ff16396Smrg q 61308ff16396Smrg } 61318ff16396Smrg /^X\(\/\/\)$/{ 61328ff16396Smrg s//\1/ 61338ff16396Smrg q 61348ff16396Smrg } 61358ff16396Smrg /^X\(\/\).*/{ 61368ff16396Smrg s//\1/ 61378ff16396Smrg q 61388ff16396Smrg } 61398ff16396Smrg s/.*/./; q'` 6140d5d8cc55Smrg as_dir=$dirpart/$fdir; as_fn_mkdir_p 61418ff16396Smrg # echo "creating $dirpart/$file" 61428ff16396Smrg echo '# dummy' > "$dirpart/$file" 61438ff16396Smrg done 61448ff16396Smrg done 61458ff16396Smrg} 61468ff16396Smrg ;; 61478ff16396Smrg 61488ff16396Smrg esac 61498ff16396Smrgdone # for ac_tag 61500bd0e222Smrg 61510bd0e222Smrg 6152d5d8cc55Smrgas_fn_exit 0 61530bd0e222Smrg_ACEOF 61540bd0e222Smrgac_clean_files=$ac_clean_files_save 61550bd0e222Smrg 61568ff16396Smrgtest $ac_write_fail = 0 || 6157d5d8cc55Smrg as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 61588ff16396Smrg 61590bd0e222Smrg 61600bd0e222Smrg# configure is writing to config.log, and then calls config.status. 61610bd0e222Smrg# config.status does its own redirection, appending to config.log. 61620bd0e222Smrg# Unfortunately, on DOS this fails, as config.log is still kept open 61630bd0e222Smrg# by configure, so config.status won't be able to write to it; its 61640bd0e222Smrg# output is simply discarded. So we exec the FD to /dev/null, 61650bd0e222Smrg# effectively closing config.log, so it can be properly (re)opened and 61660bd0e222Smrg# appended to by config.status. When coming back to configure, we 61670bd0e222Smrg# need to make the FD available again. 61680bd0e222Smrgif test "$no_create" != yes; then 61690bd0e222Smrg ac_cs_success=: 61700bd0e222Smrg ac_config_status_args= 61710bd0e222Smrg test "$silent" = yes && 61720bd0e222Smrg ac_config_status_args="$ac_config_status_args --quiet" 61730bd0e222Smrg exec 5>/dev/null 61740bd0e222Smrg $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 61750bd0e222Smrg exec 5>>config.log 61760bd0e222Smrg # Use ||, not &&, to avoid exiting from the if with $? = 1, which 61770bd0e222Smrg # would make configure fail if this is the last instruction. 6178d5d8cc55Smrg $ac_cs_success || as_fn_exit 1 61790bd0e222Smrgfi 61808ff16396Smrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 6181d5d8cc55Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 61828ff16396Smrg$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 61838ff16396Smrgfi 61840bd0e222Smrg 6185