configure revision 9bc46bd4
13294c433Smrg#! /bin/sh 23294c433Smrg# Guess values for system-dependent variables and create Makefiles. 39bc46bd4Smrg# Generated by GNU Autoconf 2.63 for font-bh-100dpi 1.0.1. 43294c433Smrg# 53294c433Smrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 63294c433Smrg# 79bc46bd4Smrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 89bc46bd4Smrg# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 93294c433Smrg# This configure script is free software; the Free Software Foundation 103294c433Smrg# gives unlimited permission to copy, distribute and modify it. 113294c433Smrg## --------------------- ## 123294c433Smrg## M4sh Initialization. ## 133294c433Smrg## --------------------- ## 143294c433Smrg 159bc46bd4Smrg# Be more Bourne compatible 169bc46bd4SmrgDUALCASE=1; export DUALCASE # for MKS sh 173294c433Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 183294c433Smrg emulate sh 193294c433Smrg NULLCMD=: 209bc46bd4Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 213294c433Smrg # is contrary to our usage. Disable this feature. 223294c433Smrg alias -g '${1+"$@"}'='"$@"' 239bc46bd4Smrg setopt NO_GLOB_SUBST 249bc46bd4Smrgelse 259bc46bd4Smrg case `(set -o) 2>/dev/null` in 269bc46bd4Smrg *posix*) set -o posix ;; 279bc46bd4Smrgesac 289bc46bd4Smrg 299bc46bd4Smrgfi 309bc46bd4Smrg 319bc46bd4Smrg 329bc46bd4Smrg 339bc46bd4Smrg 349bc46bd4Smrg# PATH needs CR 359bc46bd4Smrg# Avoid depending upon Character Ranges. 369bc46bd4Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 379bc46bd4Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 389bc46bd4Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 399bc46bd4Smrgas_cr_digits='0123456789' 409bc46bd4Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 419bc46bd4Smrg 429bc46bd4Smrgas_nl=' 439bc46bd4Smrg' 449bc46bd4Smrgexport as_nl 459bc46bd4Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 469bc46bd4Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 479bc46bd4Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 489bc46bd4Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 499bc46bd4Smrgif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 509bc46bd4Smrg as_echo='printf %s\n' 519bc46bd4Smrg as_echo_n='printf %s' 529bc46bd4Smrgelse 539bc46bd4Smrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 549bc46bd4Smrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 559bc46bd4Smrg as_echo_n='/usr/ucb/echo -n' 569bc46bd4Smrg else 579bc46bd4Smrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 589bc46bd4Smrg as_echo_n_body='eval 599bc46bd4Smrg arg=$1; 609bc46bd4Smrg case $arg in 619bc46bd4Smrg *"$as_nl"*) 629bc46bd4Smrg expr "X$arg" : "X\\(.*\\)$as_nl"; 639bc46bd4Smrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 649bc46bd4Smrg esac; 659bc46bd4Smrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 669bc46bd4Smrg ' 679bc46bd4Smrg export as_echo_n_body 689bc46bd4Smrg as_echo_n='sh -c $as_echo_n_body as_echo' 699bc46bd4Smrg fi 709bc46bd4Smrg export as_echo_body 719bc46bd4Smrg as_echo='sh -c $as_echo_body as_echo' 729bc46bd4Smrgfi 739bc46bd4Smrg 749bc46bd4Smrg# The user is always right. 759bc46bd4Smrgif test "${PATH_SEPARATOR+set}" != set; then 769bc46bd4Smrg PATH_SEPARATOR=: 779bc46bd4Smrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 789bc46bd4Smrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 799bc46bd4Smrg PATH_SEPARATOR=';' 809bc46bd4Smrg } 813294c433Smrgfi 823294c433Smrg 833294c433Smrg# Support unset when possible. 843294c433Smrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 853294c433Smrg as_unset=unset 863294c433Smrgelse 873294c433Smrg as_unset=false 883294c433Smrgfi 893294c433Smrg 903294c433Smrg 919bc46bd4Smrg# IFS 929bc46bd4Smrg# We need space, tab and new line, in precisely that order. Quoting is 939bc46bd4Smrg# there to prevent editors from complaining about space-tab. 949bc46bd4Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 959bc46bd4Smrg# splitting by setting IFS to empty value.) 969bc46bd4SmrgIFS=" "" $as_nl" 979bc46bd4Smrg 989bc46bd4Smrg# Find who we are. Look in the path if we contain no directory separator. 999bc46bd4Smrgcase $0 in 1009bc46bd4Smrg *[\\/]* ) as_myself=$0 ;; 1019bc46bd4Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1029bc46bd4Smrgfor as_dir in $PATH 1039bc46bd4Smrgdo 1049bc46bd4Smrg IFS=$as_save_IFS 1059bc46bd4Smrg test -z "$as_dir" && as_dir=. 1069bc46bd4Smrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 1079bc46bd4Smrgdone 1089bc46bd4SmrgIFS=$as_save_IFS 1099bc46bd4Smrg 1109bc46bd4Smrg ;; 1119bc46bd4Smrgesac 1129bc46bd4Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 1139bc46bd4Smrg# in which case we are not to be found in the path. 1149bc46bd4Smrgif test "x$as_myself" = x; then 1159bc46bd4Smrg as_myself=$0 1169bc46bd4Smrgfi 1179bc46bd4Smrgif test ! -f "$as_myself"; then 1189bc46bd4Smrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 1199bc46bd4Smrg { (exit 1); exit 1; } 1209bc46bd4Smrgfi 1219bc46bd4Smrg 1223294c433Smrg# Work around bugs in pre-3.0 UWIN ksh. 1239bc46bd4Smrgfor as_var in ENV MAIL MAILPATH 1249bc46bd4Smrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 1259bc46bd4Smrgdone 1263294c433SmrgPS1='$ ' 1273294c433SmrgPS2='> ' 1283294c433SmrgPS4='+ ' 1293294c433Smrg 1303294c433Smrg# NLS nuisances. 1319bc46bd4SmrgLC_ALL=C 1329bc46bd4Smrgexport LC_ALL 1339bc46bd4SmrgLANGUAGE=C 1349bc46bd4Smrgexport LANGUAGE 1353294c433Smrg 1363294c433Smrg# Required to use basename. 1379bc46bd4Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 1389bc46bd4Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 1393294c433Smrg as_expr=expr 1403294c433Smrgelse 1413294c433Smrg as_expr=false 1423294c433Smrgfi 1433294c433Smrg 1449bc46bd4Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 1453294c433Smrg as_basename=basename 1463294c433Smrgelse 1473294c433Smrg as_basename=false 1483294c433Smrgfi 1493294c433Smrg 1503294c433Smrg 1513294c433Smrg# Name of the executable. 1529bc46bd4Smrgas_me=`$as_basename -- "$0" || 1533294c433Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 1543294c433Smrg X"$0" : 'X\(//\)$' \| \ 1559bc46bd4Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 1569bc46bd4Smrg$as_echo X/"$0" | 1579bc46bd4Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 1589bc46bd4Smrg s//\1/ 1599bc46bd4Smrg q 1609bc46bd4Smrg } 1619bc46bd4Smrg /^X\/\(\/\/\)$/{ 1629bc46bd4Smrg s//\1/ 1639bc46bd4Smrg q 1649bc46bd4Smrg } 1659bc46bd4Smrg /^X\/\(\/\).*/{ 1669bc46bd4Smrg s//\1/ 1679bc46bd4Smrg q 1689bc46bd4Smrg } 1699bc46bd4Smrg s/.*/./; q'` 1703294c433Smrg 1719bc46bd4Smrg# CDPATH. 1729bc46bd4Smrg$as_unset CDPATH 1733294c433Smrg 1743294c433Smrg 1759bc46bd4Smrgif test "x$CONFIG_SHELL" = x; then 1769bc46bd4Smrg if (eval ":") 2>/dev/null; then 1779bc46bd4Smrg as_have_required=yes 1789bc46bd4Smrgelse 1799bc46bd4Smrg as_have_required=no 1803294c433Smrgfi 1813294c433Smrg 1829bc46bd4Smrg if test $as_have_required = yes && (eval ": 1839bc46bd4Smrg(as_func_return () { 1849bc46bd4Smrg (exit \$1) 1859bc46bd4Smrg} 1869bc46bd4Smrgas_func_success () { 1879bc46bd4Smrg as_func_return 0 1889bc46bd4Smrg} 1899bc46bd4Smrgas_func_failure () { 1909bc46bd4Smrg as_func_return 1 1919bc46bd4Smrg} 1929bc46bd4Smrgas_func_ret_success () { 1939bc46bd4Smrg return 0 1949bc46bd4Smrg} 1959bc46bd4Smrgas_func_ret_failure () { 1969bc46bd4Smrg return 1 1979bc46bd4Smrg} 1983294c433Smrg 1999bc46bd4Smrgexitcode=0 2009bc46bd4Smrgif as_func_success; then 2019bc46bd4Smrg : 2029bc46bd4Smrgelse 2039bc46bd4Smrg exitcode=1 2049bc46bd4Smrg echo as_func_success failed. 2059bc46bd4Smrgfi 2063294c433Smrg 2079bc46bd4Smrgif as_func_failure; then 2089bc46bd4Smrg exitcode=1 2099bc46bd4Smrg echo as_func_failure succeeded. 2109bc46bd4Smrgfi 2119bc46bd4Smrg 2129bc46bd4Smrgif as_func_ret_success; then 2139bc46bd4Smrg : 2149bc46bd4Smrgelse 2159bc46bd4Smrg exitcode=1 2169bc46bd4Smrg echo as_func_ret_success failed. 2179bc46bd4Smrgfi 2189bc46bd4Smrg 2199bc46bd4Smrgif as_func_ret_failure; then 2209bc46bd4Smrg exitcode=1 2219bc46bd4Smrg echo as_func_ret_failure succeeded. 2229bc46bd4Smrgfi 2239bc46bd4Smrg 2249bc46bd4Smrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then 2259bc46bd4Smrg : 2269bc46bd4Smrgelse 2279bc46bd4Smrg exitcode=1 2289bc46bd4Smrg echo positional parameters were not saved. 2299bc46bd4Smrgfi 2309bc46bd4Smrg 2319bc46bd4Smrgtest \$exitcode = 0) || { (exit 1); exit 1; } 2329bc46bd4Smrg 2339bc46bd4Smrg( 2349bc46bd4Smrg as_lineno_1=\$LINENO 2359bc46bd4Smrg as_lineno_2=\$LINENO 2369bc46bd4Smrg test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 2379bc46bd4Smrg test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 2389bc46bd4Smrg") 2> /dev/null; then 2399bc46bd4Smrg : 2409bc46bd4Smrgelse 2419bc46bd4Smrg as_candidate_shells= 2423294c433Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2433294c433Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 2443294c433Smrgdo 2453294c433Smrg IFS=$as_save_IFS 2463294c433Smrg test -z "$as_dir" && as_dir=. 2479bc46bd4Smrg case $as_dir in 2483294c433Smrg /*) 2499bc46bd4Smrg for as_base in sh bash ksh sh5; do 2509bc46bd4Smrg as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 2519bc46bd4Smrg done;; 2529bc46bd4Smrg esac 2539bc46bd4Smrgdone 2549bc46bd4SmrgIFS=$as_save_IFS 2559bc46bd4Smrg 2569bc46bd4Smrg 2579bc46bd4Smrg for as_shell in $as_candidate_shells $SHELL; do 2589bc46bd4Smrg # Try only shells that exist, to save several forks. 2599bc46bd4Smrg if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 2609bc46bd4Smrg { ("$as_shell") 2> /dev/null <<\_ASEOF 2619bc46bd4Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 2629bc46bd4Smrg emulate sh 2639bc46bd4Smrg NULLCMD=: 2649bc46bd4Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 2659bc46bd4Smrg # is contrary to our usage. Disable this feature. 2669bc46bd4Smrg alias -g '${1+"$@"}'='"$@"' 2679bc46bd4Smrg setopt NO_GLOB_SUBST 2689bc46bd4Smrgelse 2699bc46bd4Smrg case `(set -o) 2>/dev/null` in 2709bc46bd4Smrg *posix*) set -o posix ;; 2719bc46bd4Smrgesac 2729bc46bd4Smrg 2739bc46bd4Smrgfi 2749bc46bd4Smrg 2759bc46bd4Smrg 2769bc46bd4Smrg: 2779bc46bd4Smrg_ASEOF 2789bc46bd4Smrg}; then 2799bc46bd4Smrg CONFIG_SHELL=$as_shell 2809bc46bd4Smrg as_have_required=yes 2819bc46bd4Smrg if { "$as_shell" 2> /dev/null <<\_ASEOF 2829bc46bd4Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 2839bc46bd4Smrg emulate sh 2849bc46bd4Smrg NULLCMD=: 2859bc46bd4Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 2869bc46bd4Smrg # is contrary to our usage. Disable this feature. 2879bc46bd4Smrg alias -g '${1+"$@"}'='"$@"' 2889bc46bd4Smrg setopt NO_GLOB_SUBST 2899bc46bd4Smrgelse 2909bc46bd4Smrg case `(set -o) 2>/dev/null` in 2919bc46bd4Smrg *posix*) set -o posix ;; 2929bc46bd4Smrgesac 2939bc46bd4Smrg 2949bc46bd4Smrgfi 2959bc46bd4Smrg 2969bc46bd4Smrg 2979bc46bd4Smrg: 2989bc46bd4Smrg(as_func_return () { 2999bc46bd4Smrg (exit $1) 3009bc46bd4Smrg} 3019bc46bd4Smrgas_func_success () { 3029bc46bd4Smrg as_func_return 0 3039bc46bd4Smrg} 3049bc46bd4Smrgas_func_failure () { 3059bc46bd4Smrg as_func_return 1 3069bc46bd4Smrg} 3079bc46bd4Smrgas_func_ret_success () { 3089bc46bd4Smrg return 0 3099bc46bd4Smrg} 3109bc46bd4Smrgas_func_ret_failure () { 3119bc46bd4Smrg return 1 3129bc46bd4Smrg} 3139bc46bd4Smrg 3149bc46bd4Smrgexitcode=0 3159bc46bd4Smrgif as_func_success; then 3169bc46bd4Smrg : 3179bc46bd4Smrgelse 3189bc46bd4Smrg exitcode=1 3199bc46bd4Smrg echo as_func_success failed. 3209bc46bd4Smrgfi 3219bc46bd4Smrg 3229bc46bd4Smrgif as_func_failure; then 3239bc46bd4Smrg exitcode=1 3249bc46bd4Smrg echo as_func_failure succeeded. 3259bc46bd4Smrgfi 3269bc46bd4Smrg 3279bc46bd4Smrgif as_func_ret_success; then 3289bc46bd4Smrg : 3299bc46bd4Smrgelse 3309bc46bd4Smrg exitcode=1 3319bc46bd4Smrg echo as_func_ret_success failed. 3329bc46bd4Smrgfi 3339bc46bd4Smrg 3349bc46bd4Smrgif as_func_ret_failure; then 3359bc46bd4Smrg exitcode=1 3369bc46bd4Smrg echo as_func_ret_failure succeeded. 3379bc46bd4Smrgfi 3389bc46bd4Smrg 3399bc46bd4Smrgif ( set x; as_func_ret_success y && test x = "$1" ); then 3409bc46bd4Smrg : 3419bc46bd4Smrgelse 3429bc46bd4Smrg exitcode=1 3439bc46bd4Smrg echo positional parameters were not saved. 3449bc46bd4Smrgfi 3459bc46bd4Smrg 3469bc46bd4Smrgtest $exitcode = 0) || { (exit 1); exit 1; } 3479bc46bd4Smrg 3489bc46bd4Smrg( 3493294c433Smrg as_lineno_1=$LINENO 3503294c433Smrg as_lineno_2=$LINENO 3513294c433Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 3529bc46bd4Smrg test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 3539bc46bd4Smrg 3549bc46bd4Smrg_ASEOF 3559bc46bd4Smrg}; then 3569bc46bd4Smrg break 3579bc46bd4Smrgfi 3589bc46bd4Smrg 3599bc46bd4Smrgfi 3609bc46bd4Smrg 3619bc46bd4Smrg done 3629bc46bd4Smrg 3639bc46bd4Smrg if test "x$CONFIG_SHELL" != x; then 3649bc46bd4Smrg for as_var in BASH_ENV ENV 3659bc46bd4Smrg do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 3669bc46bd4Smrg done 3679bc46bd4Smrg export CONFIG_SHELL 3689bc46bd4Smrg exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 3699bc46bd4Smrgfi 3709bc46bd4Smrg 3719bc46bd4Smrg 3729bc46bd4Smrg if test $as_have_required = no; then 3739bc46bd4Smrg echo This script requires a shell more modern than all the 3749bc46bd4Smrg echo shells that I found on your system. Please install a 3759bc46bd4Smrg echo modern shell, or manually run the script under such a 3769bc46bd4Smrg echo shell if you do have one. 3779bc46bd4Smrg { (exit 1); exit 1; } 3789bc46bd4Smrgfi 3799bc46bd4Smrg 3809bc46bd4Smrg 3819bc46bd4Smrgfi 3829bc46bd4Smrg 3839bc46bd4Smrgfi 3849bc46bd4Smrg 3859bc46bd4Smrg 3869bc46bd4Smrg 3879bc46bd4Smrg(eval "as_func_return () { 3889bc46bd4Smrg (exit \$1) 3899bc46bd4Smrg} 3909bc46bd4Smrgas_func_success () { 3919bc46bd4Smrg as_func_return 0 3929bc46bd4Smrg} 3939bc46bd4Smrgas_func_failure () { 3949bc46bd4Smrg as_func_return 1 3959bc46bd4Smrg} 3969bc46bd4Smrgas_func_ret_success () { 3979bc46bd4Smrg return 0 3989bc46bd4Smrg} 3999bc46bd4Smrgas_func_ret_failure () { 4009bc46bd4Smrg return 1 4019bc46bd4Smrg} 4029bc46bd4Smrg 4039bc46bd4Smrgexitcode=0 4049bc46bd4Smrgif as_func_success; then 4059bc46bd4Smrg : 4069bc46bd4Smrgelse 4079bc46bd4Smrg exitcode=1 4089bc46bd4Smrg echo as_func_success failed. 4099bc46bd4Smrgfi 4109bc46bd4Smrg 4119bc46bd4Smrgif as_func_failure; then 4129bc46bd4Smrg exitcode=1 4139bc46bd4Smrg echo as_func_failure succeeded. 4149bc46bd4Smrgfi 4159bc46bd4Smrg 4169bc46bd4Smrgif as_func_ret_success; then 4179bc46bd4Smrg : 4189bc46bd4Smrgelse 4199bc46bd4Smrg exitcode=1 4209bc46bd4Smrg echo as_func_ret_success failed. 4219bc46bd4Smrgfi 4229bc46bd4Smrg 4239bc46bd4Smrgif as_func_ret_failure; then 4249bc46bd4Smrg exitcode=1 4259bc46bd4Smrg echo as_func_ret_failure succeeded. 4269bc46bd4Smrgfi 4279bc46bd4Smrg 4289bc46bd4Smrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then 4299bc46bd4Smrg : 4309bc46bd4Smrgelse 4319bc46bd4Smrg exitcode=1 4329bc46bd4Smrg echo positional parameters were not saved. 4339bc46bd4Smrgfi 4349bc46bd4Smrg 4359bc46bd4Smrgtest \$exitcode = 0") || { 4369bc46bd4Smrg echo No shell found that supports shell functions. 4379bc46bd4Smrg echo Please tell bug-autoconf@gnu.org about your system, 4389bc46bd4Smrg echo including any error possibly output before this message. 4399bc46bd4Smrg echo This can help us improve future autoconf versions. 4409bc46bd4Smrg echo Configuration will now proceed without shell functions. 4419bc46bd4Smrg} 4429bc46bd4Smrg 4439bc46bd4Smrg 4449bc46bd4Smrg 4459bc46bd4Smrg as_lineno_1=$LINENO 4469bc46bd4Smrg as_lineno_2=$LINENO 4479bc46bd4Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 4489bc46bd4Smrg test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 4493294c433Smrg 4503294c433Smrg # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 4513294c433Smrg # uniformly replaced by the line number. The first 'sed' inserts a 4529bc46bd4Smrg # line-number line after each line using $LINENO; the second 'sed' 4539bc46bd4Smrg # does the real work. The second script uses 'N' to pair each 4549bc46bd4Smrg # line-number line with the line containing $LINENO, and appends 4559bc46bd4Smrg # trailing '-' during substitution so that $LINENO is not a special 4569bc46bd4Smrg # case at line end. 4573294c433Smrg # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 4589bc46bd4Smrg # scripts with optimization help from Paolo Bonzini. Blame Lee 4599bc46bd4Smrg # E. McMahon (1931-1989) for sed's syntax. :-) 4609bc46bd4Smrg sed -n ' 4619bc46bd4Smrg p 4629bc46bd4Smrg /[$]LINENO/= 4639bc46bd4Smrg ' <$as_myself | 4643294c433Smrg sed ' 4659bc46bd4Smrg s/[$]LINENO.*/&-/ 4669bc46bd4Smrg t lineno 4679bc46bd4Smrg b 4689bc46bd4Smrg :lineno 4693294c433Smrg N 4709bc46bd4Smrg :loop 4719bc46bd4Smrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 4723294c433Smrg t loop 4739bc46bd4Smrg s/-\n.*// 4743294c433Smrg ' >$as_me.lineno && 4759bc46bd4Smrg chmod +x "$as_me.lineno" || 4769bc46bd4Smrg { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 4773294c433Smrg { (exit 1); exit 1; }; } 4783294c433Smrg 4793294c433Smrg # Don't try to exec as it changes $[0], causing all sort of problems 4803294c433Smrg # (the dirname of $[0] is not the place where we might find the 4819bc46bd4Smrg # original and so on. Autoconf is especially sensitive to this). 4829bc46bd4Smrg . "./$as_me.lineno" 4833294c433Smrg # Exit status is that of the last command. 4843294c433Smrg exit 4853294c433Smrg} 4863294c433Smrg 4873294c433Smrg 4889bc46bd4Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 4899bc46bd4Smrg as_dirname=dirname 4909bc46bd4Smrgelse 4919bc46bd4Smrg as_dirname=false 4929bc46bd4Smrgfi 4933294c433Smrg 4949bc46bd4SmrgECHO_C= ECHO_N= ECHO_T= 4959bc46bd4Smrgcase `echo -n x` in 4969bc46bd4Smrg-n*) 4979bc46bd4Smrg case `echo 'x\c'` in 4989bc46bd4Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 4999bc46bd4Smrg *) ECHO_C='\c';; 5009bc46bd4Smrg esac;; 5019bc46bd4Smrg*) 5029bc46bd4Smrg ECHO_N='-n';; 5039bc46bd4Smrgesac 5049bc46bd4Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 5059bc46bd4Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 5063294c433Smrg as_expr=expr 5073294c433Smrgelse 5083294c433Smrg as_expr=false 5093294c433Smrgfi 5103294c433Smrg 5113294c433Smrgrm -f conf$$ conf$$.exe conf$$.file 5129bc46bd4Smrgif test -d conf$$.dir; then 5139bc46bd4Smrg rm -f conf$$.dir/conf$$.file 5149bc46bd4Smrgelse 5159bc46bd4Smrg rm -f conf$$.dir 5169bc46bd4Smrg mkdir conf$$.dir 2>/dev/null 5179bc46bd4Smrgfi 5189bc46bd4Smrgif (echo >conf$$.file) 2>/dev/null; then 5199bc46bd4Smrg if ln -s conf$$.file conf$$ 2>/dev/null; then 5203294c433Smrg as_ln_s='ln -s' 5219bc46bd4Smrg # ... but there are two gotchas: 5229bc46bd4Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 5239bc46bd4Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 5249bc46bd4Smrg # In both cases, we have to default to `cp -p'. 5259bc46bd4Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 5269bc46bd4Smrg as_ln_s='cp -p' 5279bc46bd4Smrg elif ln conf$$.file conf$$ 2>/dev/null; then 5289bc46bd4Smrg as_ln_s=ln 5299bc46bd4Smrg else 5309bc46bd4Smrg as_ln_s='cp -p' 5313294c433Smrg fi 5323294c433Smrgelse 5333294c433Smrg as_ln_s='cp -p' 5343294c433Smrgfi 5359bc46bd4Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5369bc46bd4Smrgrmdir conf$$.dir 2>/dev/null 5373294c433Smrg 5383294c433Smrgif mkdir -p . 2>/dev/null; then 5393294c433Smrg as_mkdir_p=: 5403294c433Smrgelse 5413294c433Smrg test -d ./-p && rmdir ./-p 5423294c433Smrg as_mkdir_p=false 5433294c433Smrgfi 5443294c433Smrg 5459bc46bd4Smrgif test -x / >/dev/null 2>&1; then 5469bc46bd4Smrg as_test_x='test -x' 5479bc46bd4Smrgelse 5489bc46bd4Smrg if ls -dL / >/dev/null 2>&1; then 5499bc46bd4Smrg as_ls_L_option=L 5509bc46bd4Smrg else 5519bc46bd4Smrg as_ls_L_option= 5529bc46bd4Smrg fi 5539bc46bd4Smrg as_test_x=' 5549bc46bd4Smrg eval sh -c '\'' 5559bc46bd4Smrg if test -d "$1"; then 5569bc46bd4Smrg test -d "$1/."; 5579bc46bd4Smrg else 5589bc46bd4Smrg case $1 in 5599bc46bd4Smrg -*)set "./$1";; 5609bc46bd4Smrg esac; 5619bc46bd4Smrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 5629bc46bd4Smrg ???[sx]*):;;*)false;;esac;fi 5639bc46bd4Smrg '\'' sh 5649bc46bd4Smrg ' 5659bc46bd4Smrgfi 5669bc46bd4Smrgas_executable_p=$as_test_x 5673294c433Smrg 5683294c433Smrg# Sed expression to map a string onto a valid CPP name. 5693294c433Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5703294c433Smrg 5713294c433Smrg# Sed expression to map a string onto a valid variable name. 5723294c433Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5733294c433Smrg 5743294c433Smrg 5753294c433Smrg 5769bc46bd4Smrgexec 7<&0 </dev/null 6>&1 5773294c433Smrg 5783294c433Smrg# Name of the host. 5793294c433Smrg# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 5803294c433Smrg# so uname gets run too. 5813294c433Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 5823294c433Smrg 5833294c433Smrg# 5843294c433Smrg# Initializations. 5853294c433Smrg# 5863294c433Smrgac_default_prefix=/usr/local 5879bc46bd4Smrgac_clean_files= 5883294c433Smrgac_config_libobj_dir=. 5899bc46bd4SmrgLIBOBJS= 5903294c433Smrgcross_compiling=no 5913294c433Smrgsubdirs= 5923294c433SmrgMFLAGS= 5933294c433SmrgMAKEFLAGS= 5943294c433SmrgSHELL=${CONFIG_SHELL-/bin/sh} 5953294c433Smrg 5963294c433Smrg# Identity of this package. 5973294c433SmrgPACKAGE_NAME='font-bh-100dpi' 5983294c433SmrgPACKAGE_TARNAME='font-bh-100dpi' 5999bc46bd4SmrgPACKAGE_VERSION='1.0.1' 6009bc46bd4SmrgPACKAGE_STRING='font-bh-100dpi 1.0.1' 6013294c433SmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 6023294c433Smrg 6039bc46bd4Smrg# Factoring default headers for most tests. 6049bc46bd4Smrgac_includes_default="\ 6059bc46bd4Smrg#include <stdio.h> 6069bc46bd4Smrg#ifdef HAVE_SYS_TYPES_H 6079bc46bd4Smrg# include <sys/types.h> 6089bc46bd4Smrg#endif 6099bc46bd4Smrg#ifdef HAVE_SYS_STAT_H 6109bc46bd4Smrg# include <sys/stat.h> 6119bc46bd4Smrg#endif 6129bc46bd4Smrg#ifdef STDC_HEADERS 6139bc46bd4Smrg# include <stdlib.h> 6149bc46bd4Smrg# include <stddef.h> 6159bc46bd4Smrg#else 6169bc46bd4Smrg# ifdef HAVE_STDLIB_H 6179bc46bd4Smrg# include <stdlib.h> 6189bc46bd4Smrg# endif 6199bc46bd4Smrg#endif 6209bc46bd4Smrg#ifdef HAVE_STRING_H 6219bc46bd4Smrg# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 6229bc46bd4Smrg# include <memory.h> 6239bc46bd4Smrg# endif 6249bc46bd4Smrg# include <string.h> 6259bc46bd4Smrg#endif 6269bc46bd4Smrg#ifdef HAVE_STRINGS_H 6279bc46bd4Smrg# include <strings.h> 6289bc46bd4Smrg#endif 6299bc46bd4Smrg#ifdef HAVE_INTTYPES_H 6309bc46bd4Smrg# include <inttypes.h> 6319bc46bd4Smrg#endif 6329bc46bd4Smrg#ifdef HAVE_STDINT_H 6339bc46bd4Smrg# include <stdint.h> 6349bc46bd4Smrg#endif 6359bc46bd4Smrg#ifdef HAVE_UNISTD_H 6369bc46bd4Smrg# include <unistd.h> 6379bc46bd4Smrg#endif" 6389bc46bd4Smrg 6399bc46bd4Smrgac_subst_vars='am__EXEEXT_FALSE 6409bc46bd4Smrgam__EXEEXT_TRUE 6419bc46bd4SmrgLTLIBOBJS 6429bc46bd4SmrgLIBOBJS 6439bc46bd4SmrgISO8859_15_FALSE 6449bc46bd4SmrgISO8859_15_TRUE 6459bc46bd4SmrgISO8859_14_FALSE 6469bc46bd4SmrgISO8859_14_TRUE 6479bc46bd4SmrgISO8859_13_FALSE 6489bc46bd4SmrgISO8859_13_TRUE 6499bc46bd4SmrgISO8859_10_FALSE 6509bc46bd4SmrgISO8859_10_TRUE 6519bc46bd4SmrgISO8859_9_FALSE 6529bc46bd4SmrgISO8859_9_TRUE 6539bc46bd4SmrgISO8859_4_FALSE 6549bc46bd4SmrgISO8859_4_TRUE 6559bc46bd4SmrgISO8859_3_FALSE 6569bc46bd4SmrgISO8859_3_TRUE 6579bc46bd4SmrgISO8859_2_FALSE 6589bc46bd4SmrgISO8859_2_TRUE 6599bc46bd4SmrgISO8859_1_FALSE 6609bc46bd4SmrgISO8859_1_TRUE 6619bc46bd4SmrgMAPFILES_PATH 6629bc46bd4SmrgMAPS_LIBS 6639bc46bd4SmrgMAPS_CFLAGS 6649bc46bd4SmrgUCS2ANY 6659bc46bd4SmrgCOMPRESS_SUFFIX 6669bc46bd4SmrgCOMPRESS 6679bc46bd4SmrgBDFTOPCF 6689bc46bd4SmrgMKFONTDIR 6699bc46bd4SmrgRUN_FCCACHE 6709bc46bd4SmrgFCCACHE 6719bc46bd4SmrgFONTDIR 6729bc46bd4SmrgFONTROOTDIR 6739bc46bd4SmrgPKG_CONFIG 6749bc46bd4SmrgADMIN_MAN_DIR 6759bc46bd4SmrgDRIVER_MAN_DIR 6769bc46bd4SmrgMISC_MAN_DIR 6779bc46bd4SmrgFILE_MAN_DIR 6789bc46bd4SmrgLIB_MAN_DIR 6799bc46bd4SmrgAPP_MAN_DIR 6809bc46bd4SmrgADMIN_MAN_SUFFIX 6819bc46bd4SmrgDRIVER_MAN_SUFFIX 6829bc46bd4SmrgMISC_MAN_SUFFIX 6839bc46bd4SmrgFILE_MAN_SUFFIX 6849bc46bd4SmrgLIB_MAN_SUFFIX 6859bc46bd4SmrgAPP_MAN_SUFFIX 6869bc46bd4Smrghost_os 6879bc46bd4Smrghost_vendor 6889bc46bd4Smrghost_cpu 6899bc46bd4Smrghost 6909bc46bd4Smrgbuild_os 6919bc46bd4Smrgbuild_vendor 6929bc46bd4Smrgbuild_cpu 6939bc46bd4Smrgbuild 6949bc46bd4Smrgdistcleancheck_listfiles 6959bc46bd4SmrgCHANGELOG_CMD 6969bc46bd4SmrgAM_BACKSLASH 6979bc46bd4SmrgAM_DEFAULT_VERBOSITY 6989bc46bd4SmrgCWARNFLAGS 6999bc46bd4SmrgEGREP 7009bc46bd4SmrgGREP 7019bc46bd4SmrgCPP 7029bc46bd4Smrgam__fastdepCC_FALSE 7039bc46bd4Smrgam__fastdepCC_TRUE 7049bc46bd4SmrgCCDEPMODE 7059bc46bd4SmrgAMDEPBACKSLASH 7069bc46bd4SmrgAMDEP_FALSE 7079bc46bd4SmrgAMDEP_TRUE 7089bc46bd4Smrgam__quote 7099bc46bd4Smrgam__include 7109bc46bd4SmrgDEPDIR 7119bc46bd4SmrgOBJEXT 7129bc46bd4SmrgEXEEXT 7139bc46bd4Smrgac_ct_CC 7149bc46bd4SmrgCPPFLAGS 7159bc46bd4SmrgLDFLAGS 7169bc46bd4SmrgCFLAGS 7179bc46bd4SmrgCC 7189bc46bd4SmrgMAINT 7199bc46bd4SmrgMAINTAINER_MODE_FALSE 7209bc46bd4SmrgMAINTAINER_MODE_TRUE 7219bc46bd4Smrgam__untar 7229bc46bd4Smrgam__tar 7239bc46bd4SmrgAMTAR 7249bc46bd4Smrgam__leading_dot 7259bc46bd4SmrgSET_MAKE 7269bc46bd4SmrgAWK 7279bc46bd4Smrgmkdir_p 7289bc46bd4SmrgMKDIR_P 7299bc46bd4SmrgINSTALL_STRIP_PROGRAM 7309bc46bd4SmrgSTRIP 7319bc46bd4Smrginstall_sh 7329bc46bd4SmrgMAKEINFO 7339bc46bd4SmrgAUTOHEADER 7349bc46bd4SmrgAUTOMAKE 7359bc46bd4SmrgAUTOCONF 7369bc46bd4SmrgACLOCAL 7379bc46bd4SmrgVERSION 7389bc46bd4SmrgPACKAGE 7399bc46bd4SmrgCYGPATH_W 7409bc46bd4Smrgam__isrc 7419bc46bd4SmrgINSTALL_DATA 7429bc46bd4SmrgINSTALL_SCRIPT 7439bc46bd4SmrgINSTALL_PROGRAM 7449bc46bd4Smrgtarget_alias 7459bc46bd4Smrghost_alias 7469bc46bd4Smrgbuild_alias 7479bc46bd4SmrgLIBS 7489bc46bd4SmrgECHO_T 7499bc46bd4SmrgECHO_N 7509bc46bd4SmrgECHO_C 7519bc46bd4SmrgDEFS 7529bc46bd4Smrgmandir 7539bc46bd4Smrglocaledir 7549bc46bd4Smrglibdir 7559bc46bd4Smrgpsdir 7569bc46bd4Smrgpdfdir 7579bc46bd4Smrgdvidir 7589bc46bd4Smrghtmldir 7599bc46bd4Smrginfodir 7609bc46bd4Smrgdocdir 7619bc46bd4Smrgoldincludedir 7629bc46bd4Smrgincludedir 7639bc46bd4Smrglocalstatedir 7649bc46bd4Smrgsharedstatedir 7659bc46bd4Smrgsysconfdir 7669bc46bd4Smrgdatadir 7679bc46bd4Smrgdatarootdir 7689bc46bd4Smrglibexecdir 7699bc46bd4Smrgsbindir 7709bc46bd4Smrgbindir 7719bc46bd4Smrgprogram_transform_name 7729bc46bd4Smrgprefix 7739bc46bd4Smrgexec_prefix 7749bc46bd4SmrgPACKAGE_BUGREPORT 7759bc46bd4SmrgPACKAGE_STRING 7769bc46bd4SmrgPACKAGE_VERSION 7779bc46bd4SmrgPACKAGE_TARNAME 7789bc46bd4SmrgPACKAGE_NAME 7799bc46bd4SmrgPATH_SEPARATOR 7809bc46bd4SmrgSHELL' 7813294c433Smrgac_subst_files='' 7829bc46bd4Smrgac_user_opts=' 7839bc46bd4Smrgenable_option_checking 7849bc46bd4Smrgenable_maintainer_mode 7859bc46bd4Smrgenable_dependency_tracking 7869bc46bd4Smrgenable_silent_rules 7879bc46bd4Smrgenable_strict_compilation 7889bc46bd4Smrgwith_release_version 7899bc46bd4Smrgwith_fontrootdir 7909bc46bd4Smrgwith_fontdir 7919bc46bd4Smrgwith_compression 7929bc46bd4Smrgenable_iso8859_1 7939bc46bd4Smrgenable_iso8859_2 7949bc46bd4Smrgenable_iso8859_3 7959bc46bd4Smrgenable_iso8859_4 7969bc46bd4Smrgenable_iso8859_9 7979bc46bd4Smrgenable_iso8859_10 7989bc46bd4Smrgenable_iso8859_13 7999bc46bd4Smrgenable_iso8859_14 8009bc46bd4Smrgenable_iso8859_15 8019bc46bd4Smrg' 8029bc46bd4Smrg ac_precious_vars='build_alias 8039bc46bd4Smrghost_alias 8049bc46bd4Smrgtarget_alias 8059bc46bd4SmrgCC 8069bc46bd4SmrgCFLAGS 8079bc46bd4SmrgLDFLAGS 8089bc46bd4SmrgLIBS 8099bc46bd4SmrgCPPFLAGS 8109bc46bd4SmrgCPP 8119bc46bd4SmrgPKG_CONFIG 8129bc46bd4SmrgMAPS_CFLAGS 8139bc46bd4SmrgMAPS_LIBS' 8149bc46bd4Smrg 8153294c433Smrg 8163294c433Smrg# Initialize some variables set by options. 8173294c433Smrgac_init_help= 8183294c433Smrgac_init_version=false 8199bc46bd4Smrgac_unrecognized_opts= 8209bc46bd4Smrgac_unrecognized_sep= 8213294c433Smrg# The variables have the same names as the options, with 8223294c433Smrg# dashes changed to underlines. 8233294c433Smrgcache_file=/dev/null 8243294c433Smrgexec_prefix=NONE 8253294c433Smrgno_create= 8263294c433Smrgno_recursion= 8273294c433Smrgprefix=NONE 8283294c433Smrgprogram_prefix=NONE 8293294c433Smrgprogram_suffix=NONE 8303294c433Smrgprogram_transform_name=s,x,x, 8313294c433Smrgsilent= 8323294c433Smrgsite= 8333294c433Smrgsrcdir= 8343294c433Smrgverbose= 8353294c433Smrgx_includes=NONE 8363294c433Smrgx_libraries=NONE 8373294c433Smrg 8383294c433Smrg# Installation directory options. 8393294c433Smrg# These are left unexpanded so users can "make install exec_prefix=/foo" 8403294c433Smrg# and all the variables that are supposed to be based on exec_prefix 8413294c433Smrg# by default will actually change. 8423294c433Smrg# Use braces instead of parens because sh, perl, etc. also accept them. 8439bc46bd4Smrg# (The list follows the same order as the GNU Coding Standards.) 8443294c433Smrgbindir='${exec_prefix}/bin' 8453294c433Smrgsbindir='${exec_prefix}/sbin' 8463294c433Smrglibexecdir='${exec_prefix}/libexec' 8479bc46bd4Smrgdatarootdir='${prefix}/share' 8489bc46bd4Smrgdatadir='${datarootdir}' 8493294c433Smrgsysconfdir='${prefix}/etc' 8503294c433Smrgsharedstatedir='${prefix}/com' 8513294c433Smrglocalstatedir='${prefix}/var' 8523294c433Smrgincludedir='${prefix}/include' 8533294c433Smrgoldincludedir='/usr/include' 8549bc46bd4Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 8559bc46bd4Smrginfodir='${datarootdir}/info' 8569bc46bd4Smrghtmldir='${docdir}' 8579bc46bd4Smrgdvidir='${docdir}' 8589bc46bd4Smrgpdfdir='${docdir}' 8599bc46bd4Smrgpsdir='${docdir}' 8609bc46bd4Smrglibdir='${exec_prefix}/lib' 8619bc46bd4Smrglocaledir='${datarootdir}/locale' 8629bc46bd4Smrgmandir='${datarootdir}/man' 8633294c433Smrg 8643294c433Smrgac_prev= 8659bc46bd4Smrgac_dashdash= 8663294c433Smrgfor ac_option 8673294c433Smrgdo 8683294c433Smrg # If the previous option needs an argument, assign it. 8693294c433Smrg if test -n "$ac_prev"; then 8709bc46bd4Smrg eval $ac_prev=\$ac_option 8713294c433Smrg ac_prev= 8723294c433Smrg continue 8733294c433Smrg fi 8743294c433Smrg 8759bc46bd4Smrg case $ac_option in 8769bc46bd4Smrg *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 8779bc46bd4Smrg *) ac_optarg=yes ;; 8789bc46bd4Smrg esac 8793294c433Smrg 8803294c433Smrg # Accept the important Cygnus configure options, so we can diagnose typos. 8813294c433Smrg 8829bc46bd4Smrg case $ac_dashdash$ac_option in 8839bc46bd4Smrg --) 8849bc46bd4Smrg ac_dashdash=yes ;; 8853294c433Smrg 8863294c433Smrg -bindir | --bindir | --bindi | --bind | --bin | --bi) 8873294c433Smrg ac_prev=bindir ;; 8883294c433Smrg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 8893294c433Smrg bindir=$ac_optarg ;; 8903294c433Smrg 8913294c433Smrg -build | --build | --buil | --bui | --bu) 8923294c433Smrg ac_prev=build_alias ;; 8933294c433Smrg -build=* | --build=* | --buil=* | --bui=* | --bu=*) 8943294c433Smrg build_alias=$ac_optarg ;; 8953294c433Smrg 8963294c433Smrg -cache-file | --cache-file | --cache-fil | --cache-fi \ 8973294c433Smrg | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 8983294c433Smrg ac_prev=cache_file ;; 8993294c433Smrg -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 9003294c433Smrg | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 9013294c433Smrg cache_file=$ac_optarg ;; 9023294c433Smrg 9033294c433Smrg --config-cache | -C) 9043294c433Smrg cache_file=config.cache ;; 9053294c433Smrg 9069bc46bd4Smrg -datadir | --datadir | --datadi | --datad) 9073294c433Smrg ac_prev=datadir ;; 9089bc46bd4Smrg -datadir=* | --datadir=* | --datadi=* | --datad=*) 9093294c433Smrg datadir=$ac_optarg ;; 9103294c433Smrg 9119bc46bd4Smrg -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 9129bc46bd4Smrg | --dataroo | --dataro | --datar) 9139bc46bd4Smrg ac_prev=datarootdir ;; 9149bc46bd4Smrg -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 9159bc46bd4Smrg | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 9169bc46bd4Smrg datarootdir=$ac_optarg ;; 9179bc46bd4Smrg 9183294c433Smrg -disable-* | --disable-*) 9199bc46bd4Smrg ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 9203294c433Smrg # Reject names that are not valid shell variable names. 9219bc46bd4Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 9229bc46bd4Smrg { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 9233294c433Smrg { (exit 1); exit 1; }; } 9249bc46bd4Smrg ac_useropt_orig=$ac_useropt 9259bc46bd4Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 9269bc46bd4Smrg case $ac_user_opts in 9279bc46bd4Smrg *" 9289bc46bd4Smrg"enable_$ac_useropt" 9299bc46bd4Smrg"*) ;; 9309bc46bd4Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 9319bc46bd4Smrg ac_unrecognized_sep=', ';; 9329bc46bd4Smrg esac 9339bc46bd4Smrg eval enable_$ac_useropt=no ;; 9349bc46bd4Smrg 9359bc46bd4Smrg -docdir | --docdir | --docdi | --doc | --do) 9369bc46bd4Smrg ac_prev=docdir ;; 9379bc46bd4Smrg -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 9389bc46bd4Smrg docdir=$ac_optarg ;; 9399bc46bd4Smrg 9409bc46bd4Smrg -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 9419bc46bd4Smrg ac_prev=dvidir ;; 9429bc46bd4Smrg -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 9439bc46bd4Smrg dvidir=$ac_optarg ;; 9443294c433Smrg 9453294c433Smrg -enable-* | --enable-*) 9469bc46bd4Smrg ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 9473294c433Smrg # Reject names that are not valid shell variable names. 9489bc46bd4Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 9499bc46bd4Smrg { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 9503294c433Smrg { (exit 1); exit 1; }; } 9519bc46bd4Smrg ac_useropt_orig=$ac_useropt 9529bc46bd4Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 9539bc46bd4Smrg case $ac_user_opts in 9549bc46bd4Smrg *" 9559bc46bd4Smrg"enable_$ac_useropt" 9569bc46bd4Smrg"*) ;; 9579bc46bd4Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 9589bc46bd4Smrg ac_unrecognized_sep=', ';; 9593294c433Smrg esac 9609bc46bd4Smrg eval enable_$ac_useropt=\$ac_optarg ;; 9613294c433Smrg 9623294c433Smrg -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 9633294c433Smrg | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 9643294c433Smrg | --exec | --exe | --ex) 9653294c433Smrg ac_prev=exec_prefix ;; 9663294c433Smrg -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 9673294c433Smrg | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 9683294c433Smrg | --exec=* | --exe=* | --ex=*) 9693294c433Smrg exec_prefix=$ac_optarg ;; 9703294c433Smrg 9713294c433Smrg -gas | --gas | --ga | --g) 9723294c433Smrg # Obsolete; use --with-gas. 9733294c433Smrg with_gas=yes ;; 9743294c433Smrg 9753294c433Smrg -help | --help | --hel | --he | -h) 9763294c433Smrg ac_init_help=long ;; 9773294c433Smrg -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 9783294c433Smrg ac_init_help=recursive ;; 9793294c433Smrg -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 9803294c433Smrg ac_init_help=short ;; 9813294c433Smrg 9823294c433Smrg -host | --host | --hos | --ho) 9833294c433Smrg ac_prev=host_alias ;; 9843294c433Smrg -host=* | --host=* | --hos=* | --ho=*) 9853294c433Smrg host_alias=$ac_optarg ;; 9863294c433Smrg 9879bc46bd4Smrg -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 9889bc46bd4Smrg ac_prev=htmldir ;; 9899bc46bd4Smrg -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 9909bc46bd4Smrg | --ht=*) 9919bc46bd4Smrg htmldir=$ac_optarg ;; 9929bc46bd4Smrg 9933294c433Smrg -includedir | --includedir | --includedi | --included | --include \ 9943294c433Smrg | --includ | --inclu | --incl | --inc) 9953294c433Smrg ac_prev=includedir ;; 9963294c433Smrg -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 9973294c433Smrg | --includ=* | --inclu=* | --incl=* | --inc=*) 9983294c433Smrg includedir=$ac_optarg ;; 9993294c433Smrg 10003294c433Smrg -infodir | --infodir | --infodi | --infod | --info | --inf) 10013294c433Smrg ac_prev=infodir ;; 10023294c433Smrg -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 10033294c433Smrg infodir=$ac_optarg ;; 10043294c433Smrg 10053294c433Smrg -libdir | --libdir | --libdi | --libd) 10063294c433Smrg ac_prev=libdir ;; 10073294c433Smrg -libdir=* | --libdir=* | --libdi=* | --libd=*) 10083294c433Smrg libdir=$ac_optarg ;; 10093294c433Smrg 10103294c433Smrg -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 10113294c433Smrg | --libexe | --libex | --libe) 10123294c433Smrg ac_prev=libexecdir ;; 10133294c433Smrg -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 10143294c433Smrg | --libexe=* | --libex=* | --libe=*) 10153294c433Smrg libexecdir=$ac_optarg ;; 10163294c433Smrg 10179bc46bd4Smrg -localedir | --localedir | --localedi | --localed | --locale) 10189bc46bd4Smrg ac_prev=localedir ;; 10199bc46bd4Smrg -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 10209bc46bd4Smrg localedir=$ac_optarg ;; 10219bc46bd4Smrg 10223294c433Smrg -localstatedir | --localstatedir | --localstatedi | --localstated \ 10239bc46bd4Smrg | --localstate | --localstat | --localsta | --localst | --locals) 10243294c433Smrg ac_prev=localstatedir ;; 10253294c433Smrg -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 10269bc46bd4Smrg | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 10273294c433Smrg localstatedir=$ac_optarg ;; 10283294c433Smrg 10293294c433Smrg -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 10303294c433Smrg ac_prev=mandir ;; 10313294c433Smrg -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 10323294c433Smrg mandir=$ac_optarg ;; 10333294c433Smrg 10343294c433Smrg -nfp | --nfp | --nf) 10353294c433Smrg # Obsolete; use --without-fp. 10363294c433Smrg with_fp=no ;; 10373294c433Smrg 10383294c433Smrg -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 10393294c433Smrg | --no-cr | --no-c | -n) 10403294c433Smrg no_create=yes ;; 10413294c433Smrg 10423294c433Smrg -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 10433294c433Smrg | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 10443294c433Smrg no_recursion=yes ;; 10453294c433Smrg 10463294c433Smrg -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 10473294c433Smrg | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 10483294c433Smrg | --oldin | --oldi | --old | --ol | --o) 10493294c433Smrg ac_prev=oldincludedir ;; 10503294c433Smrg -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 10513294c433Smrg | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 10523294c433Smrg | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 10533294c433Smrg oldincludedir=$ac_optarg ;; 10543294c433Smrg 10553294c433Smrg -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 10563294c433Smrg ac_prev=prefix ;; 10573294c433Smrg -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 10583294c433Smrg prefix=$ac_optarg ;; 10593294c433Smrg 10603294c433Smrg -program-prefix | --program-prefix | --program-prefi | --program-pref \ 10613294c433Smrg | --program-pre | --program-pr | --program-p) 10623294c433Smrg ac_prev=program_prefix ;; 10633294c433Smrg -program-prefix=* | --program-prefix=* | --program-prefi=* \ 10643294c433Smrg | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 10653294c433Smrg program_prefix=$ac_optarg ;; 10663294c433Smrg 10673294c433Smrg -program-suffix | --program-suffix | --program-suffi | --program-suff \ 10683294c433Smrg | --program-suf | --program-su | --program-s) 10693294c433Smrg ac_prev=program_suffix ;; 10703294c433Smrg -program-suffix=* | --program-suffix=* | --program-suffi=* \ 10713294c433Smrg | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 10723294c433Smrg program_suffix=$ac_optarg ;; 10733294c433Smrg 10743294c433Smrg -program-transform-name | --program-transform-name \ 10753294c433Smrg | --program-transform-nam | --program-transform-na \ 10763294c433Smrg | --program-transform-n | --program-transform- \ 10773294c433Smrg | --program-transform | --program-transfor \ 10783294c433Smrg | --program-transfo | --program-transf \ 10793294c433Smrg | --program-trans | --program-tran \ 10803294c433Smrg | --progr-tra | --program-tr | --program-t) 10813294c433Smrg ac_prev=program_transform_name ;; 10823294c433Smrg -program-transform-name=* | --program-transform-name=* \ 10833294c433Smrg | --program-transform-nam=* | --program-transform-na=* \ 10843294c433Smrg | --program-transform-n=* | --program-transform-=* \ 10853294c433Smrg | --program-transform=* | --program-transfor=* \ 10863294c433Smrg | --program-transfo=* | --program-transf=* \ 10873294c433Smrg | --program-trans=* | --program-tran=* \ 10883294c433Smrg | --progr-tra=* | --program-tr=* | --program-t=*) 10893294c433Smrg program_transform_name=$ac_optarg ;; 10903294c433Smrg 10919bc46bd4Smrg -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 10929bc46bd4Smrg ac_prev=pdfdir ;; 10939bc46bd4Smrg -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 10949bc46bd4Smrg pdfdir=$ac_optarg ;; 10959bc46bd4Smrg 10969bc46bd4Smrg -psdir | --psdir | --psdi | --psd | --ps) 10979bc46bd4Smrg ac_prev=psdir ;; 10989bc46bd4Smrg -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 10999bc46bd4Smrg psdir=$ac_optarg ;; 11009bc46bd4Smrg 11013294c433Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 11023294c433Smrg | -silent | --silent | --silen | --sile | --sil) 11033294c433Smrg silent=yes ;; 11043294c433Smrg 11053294c433Smrg -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 11063294c433Smrg ac_prev=sbindir ;; 11073294c433Smrg -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 11083294c433Smrg | --sbi=* | --sb=*) 11093294c433Smrg sbindir=$ac_optarg ;; 11103294c433Smrg 11113294c433Smrg -sharedstatedir | --sharedstatedir | --sharedstatedi \ 11123294c433Smrg | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 11133294c433Smrg | --sharedst | --shareds | --shared | --share | --shar \ 11143294c433Smrg | --sha | --sh) 11153294c433Smrg ac_prev=sharedstatedir ;; 11163294c433Smrg -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 11173294c433Smrg | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 11183294c433Smrg | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 11193294c433Smrg | --sha=* | --sh=*) 11203294c433Smrg sharedstatedir=$ac_optarg ;; 11213294c433Smrg 11223294c433Smrg -site | --site | --sit) 11233294c433Smrg ac_prev=site ;; 11243294c433Smrg -site=* | --site=* | --sit=*) 11253294c433Smrg site=$ac_optarg ;; 11263294c433Smrg 11273294c433Smrg -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 11283294c433Smrg ac_prev=srcdir ;; 11293294c433Smrg -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 11303294c433Smrg srcdir=$ac_optarg ;; 11313294c433Smrg 11323294c433Smrg -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 11333294c433Smrg | --syscon | --sysco | --sysc | --sys | --sy) 11343294c433Smrg ac_prev=sysconfdir ;; 11353294c433Smrg -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 11363294c433Smrg | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 11373294c433Smrg sysconfdir=$ac_optarg ;; 11383294c433Smrg 11393294c433Smrg -target | --target | --targe | --targ | --tar | --ta | --t) 11403294c433Smrg ac_prev=target_alias ;; 11413294c433Smrg -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 11423294c433Smrg target_alias=$ac_optarg ;; 11433294c433Smrg 11443294c433Smrg -v | -verbose | --verbose | --verbos | --verbo | --verb) 11453294c433Smrg verbose=yes ;; 11463294c433Smrg 11473294c433Smrg -version | --version | --versio | --versi | --vers | -V) 11483294c433Smrg ac_init_version=: ;; 11493294c433Smrg 11503294c433Smrg -with-* | --with-*) 11519bc46bd4Smrg ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 11523294c433Smrg # Reject names that are not valid shell variable names. 11539bc46bd4Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 11549bc46bd4Smrg { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 11553294c433Smrg { (exit 1); exit 1; }; } 11569bc46bd4Smrg ac_useropt_orig=$ac_useropt 11579bc46bd4Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 11589bc46bd4Smrg case $ac_user_opts in 11599bc46bd4Smrg *" 11609bc46bd4Smrg"with_$ac_useropt" 11619bc46bd4Smrg"*) ;; 11629bc46bd4Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 11639bc46bd4Smrg ac_unrecognized_sep=', ';; 11643294c433Smrg esac 11659bc46bd4Smrg eval with_$ac_useropt=\$ac_optarg ;; 11663294c433Smrg 11673294c433Smrg -without-* | --without-*) 11689bc46bd4Smrg ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 11693294c433Smrg # Reject names that are not valid shell variable names. 11709bc46bd4Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 11719bc46bd4Smrg { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 11723294c433Smrg { (exit 1); exit 1; }; } 11739bc46bd4Smrg ac_useropt_orig=$ac_useropt 11749bc46bd4Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 11759bc46bd4Smrg case $ac_user_opts in 11769bc46bd4Smrg *" 11779bc46bd4Smrg"with_$ac_useropt" 11789bc46bd4Smrg"*) ;; 11799bc46bd4Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 11809bc46bd4Smrg ac_unrecognized_sep=', ';; 11819bc46bd4Smrg esac 11829bc46bd4Smrg eval with_$ac_useropt=no ;; 11833294c433Smrg 11843294c433Smrg --x) 11853294c433Smrg # Obsolete; use --with-x. 11863294c433Smrg with_x=yes ;; 11873294c433Smrg 11883294c433Smrg -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 11893294c433Smrg | --x-incl | --x-inc | --x-in | --x-i) 11903294c433Smrg ac_prev=x_includes ;; 11913294c433Smrg -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 11923294c433Smrg | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 11933294c433Smrg x_includes=$ac_optarg ;; 11943294c433Smrg 11953294c433Smrg -x-libraries | --x-libraries | --x-librarie | --x-librari \ 11963294c433Smrg | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 11973294c433Smrg ac_prev=x_libraries ;; 11983294c433Smrg -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 11993294c433Smrg | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 12003294c433Smrg x_libraries=$ac_optarg ;; 12013294c433Smrg 12029bc46bd4Smrg -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 12033294c433SmrgTry \`$0 --help' for more information." >&2 12043294c433Smrg { (exit 1); exit 1; }; } 12053294c433Smrg ;; 12063294c433Smrg 12073294c433Smrg *=*) 12083294c433Smrg ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 12093294c433Smrg # Reject names that are not valid shell variable names. 12103294c433Smrg expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 12119bc46bd4Smrg { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 12123294c433Smrg { (exit 1); exit 1; }; } 12139bc46bd4Smrg eval $ac_envvar=\$ac_optarg 12143294c433Smrg export $ac_envvar ;; 12153294c433Smrg 12163294c433Smrg *) 12173294c433Smrg # FIXME: should be removed in autoconf 3.0. 12189bc46bd4Smrg $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 12193294c433Smrg expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 12209bc46bd4Smrg $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 12213294c433Smrg : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 12223294c433Smrg ;; 12233294c433Smrg 12243294c433Smrg esac 12253294c433Smrgdone 12263294c433Smrg 12273294c433Smrgif test -n "$ac_prev"; then 12283294c433Smrg ac_option=--`echo $ac_prev | sed 's/_/-/g'` 12299bc46bd4Smrg { $as_echo "$as_me: error: missing argument to $ac_option" >&2 12303294c433Smrg { (exit 1); exit 1; }; } 12313294c433Smrgfi 12323294c433Smrg 12339bc46bd4Smrgif test -n "$ac_unrecognized_opts"; then 12349bc46bd4Smrg case $enable_option_checking in 12359bc46bd4Smrg no) ;; 12369bc46bd4Smrg fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 12379bc46bd4Smrg { (exit 1); exit 1; }; } ;; 12389bc46bd4Smrg *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 12393294c433Smrg esac 12409bc46bd4Smrgfi 12413294c433Smrg 12429bc46bd4Smrg# Check all directory arguments for consistency. 12439bc46bd4Smrgfor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 12449bc46bd4Smrg datadir sysconfdir sharedstatedir localstatedir includedir \ 12459bc46bd4Smrg oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 12469bc46bd4Smrg libdir localedir mandir 12473294c433Smrgdo 12489bc46bd4Smrg eval ac_val=\$$ac_var 12499bc46bd4Smrg # Remove trailing slashes. 12503294c433Smrg case $ac_val in 12519bc46bd4Smrg */ ) 12529bc46bd4Smrg ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 12539bc46bd4Smrg eval $ac_var=\$ac_val;; 12549bc46bd4Smrg esac 12559bc46bd4Smrg # Be sure to have absolute directory names. 12569bc46bd4Smrg case $ac_val in 12579bc46bd4Smrg [\\/$]* | ?:[\\/]* ) continue;; 12589bc46bd4Smrg NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 12593294c433Smrg esac 12609bc46bd4Smrg { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 12619bc46bd4Smrg { (exit 1); exit 1; }; } 12623294c433Smrgdone 12633294c433Smrg 12643294c433Smrg# There might be people who depend on the old broken behavior: `$host' 12653294c433Smrg# used to hold the argument of --host etc. 12663294c433Smrg# FIXME: To remove some day. 12673294c433Smrgbuild=$build_alias 12683294c433Smrghost=$host_alias 12693294c433Smrgtarget=$target_alias 12703294c433Smrg 12713294c433Smrg# FIXME: To remove some day. 12723294c433Smrgif test "x$host_alias" != x; then 12733294c433Smrg if test "x$build_alias" = x; then 12743294c433Smrg cross_compiling=maybe 12759bc46bd4Smrg $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 12763294c433Smrg If a cross compiler is detected then cross compile mode will be used." >&2 12773294c433Smrg elif test "x$build_alias" != "x$host_alias"; then 12783294c433Smrg cross_compiling=yes 12793294c433Smrg fi 12803294c433Smrgfi 12813294c433Smrg 12823294c433Smrgac_tool_prefix= 12833294c433Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias- 12843294c433Smrg 12853294c433Smrgtest "$silent" = yes && exec 6>/dev/null 12863294c433Smrg 12873294c433Smrg 12889bc46bd4Smrgac_pwd=`pwd` && test -n "$ac_pwd" && 12899bc46bd4Smrgac_ls_di=`ls -di .` && 12909bc46bd4Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 12919bc46bd4Smrg { $as_echo "$as_me: error: working directory cannot be determined" >&2 12929bc46bd4Smrg { (exit 1); exit 1; }; } 12939bc46bd4Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" || 12949bc46bd4Smrg { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 12959bc46bd4Smrg { (exit 1); exit 1; }; } 12969bc46bd4Smrg 12979bc46bd4Smrg 12983294c433Smrg# Find the source files, if location was not specified. 12993294c433Smrgif test -z "$srcdir"; then 13003294c433Smrg ac_srcdir_defaulted=yes 13019bc46bd4Smrg # Try the directory containing this script, then the parent directory. 13029bc46bd4Smrg ac_confdir=`$as_dirname -- "$as_myself" || 13039bc46bd4Smrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13049bc46bd4Smrg X"$as_myself" : 'X\(//\)[^/]' \| \ 13059bc46bd4Smrg X"$as_myself" : 'X\(//\)$' \| \ 13069bc46bd4Smrg X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 13079bc46bd4Smrg$as_echo X"$as_myself" | 13089bc46bd4Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13099bc46bd4Smrg s//\1/ 13109bc46bd4Smrg q 13119bc46bd4Smrg } 13129bc46bd4Smrg /^X\(\/\/\)[^/].*/{ 13139bc46bd4Smrg s//\1/ 13149bc46bd4Smrg q 13159bc46bd4Smrg } 13169bc46bd4Smrg /^X\(\/\/\)$/{ 13179bc46bd4Smrg s//\1/ 13189bc46bd4Smrg q 13199bc46bd4Smrg } 13209bc46bd4Smrg /^X\(\/\).*/{ 13219bc46bd4Smrg s//\1/ 13229bc46bd4Smrg q 13239bc46bd4Smrg } 13249bc46bd4Smrg s/.*/./; q'` 13253294c433Smrg srcdir=$ac_confdir 13269bc46bd4Smrg if test ! -r "$srcdir/$ac_unique_file"; then 13273294c433Smrg srcdir=.. 13283294c433Smrg fi 13293294c433Smrgelse 13303294c433Smrg ac_srcdir_defaulted=no 13313294c433Smrgfi 13329bc46bd4Smrgif test ! -r "$srcdir/$ac_unique_file"; then 13339bc46bd4Smrg test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 13349bc46bd4Smrg { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 13353294c433Smrg { (exit 1); exit 1; }; } 13363294c433Smrgfi 13379bc46bd4Smrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 13389bc46bd4Smrgac_abs_confdir=`( 13399bc46bd4Smrg cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 13403294c433Smrg { (exit 1); exit 1; }; } 13419bc46bd4Smrg pwd)` 13429bc46bd4Smrg# When building in place, set srcdir=. 13439bc46bd4Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then 13449bc46bd4Smrg srcdir=. 13459bc46bd4Smrgfi 13469bc46bd4Smrg# Remove unnecessary trailing slashes from srcdir. 13479bc46bd4Smrg# Double slashes in file names in object file debugging info 13489bc46bd4Smrg# mess up M-x gdb in Emacs. 13499bc46bd4Smrgcase $srcdir in 13509bc46bd4Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 13519bc46bd4Smrgesac 13529bc46bd4Smrgfor ac_var in $ac_precious_vars; do 13539bc46bd4Smrg eval ac_env_${ac_var}_set=\${${ac_var}+set} 13549bc46bd4Smrg eval ac_env_${ac_var}_value=\$${ac_var} 13559bc46bd4Smrg eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 13569bc46bd4Smrg eval ac_cv_env_${ac_var}_value=\$${ac_var} 13579bc46bd4Smrgdone 13583294c433Smrg 13593294c433Smrg# 13603294c433Smrg# Report the --help message. 13613294c433Smrg# 13623294c433Smrgif test "$ac_init_help" = "long"; then 13633294c433Smrg # Omit some internal or obsolete options to make the list less imposing. 13643294c433Smrg # This message is too long to be a string in the A/UX 3.1 sh. 13653294c433Smrg cat <<_ACEOF 13669bc46bd4Smrg\`configure' configures font-bh-100dpi 1.0.1 to adapt to many kinds of systems. 13673294c433Smrg 13683294c433SmrgUsage: $0 [OPTION]... [VAR=VALUE]... 13693294c433Smrg 13703294c433SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as 13713294c433SmrgVAR=VALUE. See below for descriptions of some of the useful variables. 13723294c433Smrg 13733294c433SmrgDefaults for the options are specified in brackets. 13743294c433Smrg 13753294c433SmrgConfiguration: 13763294c433Smrg -h, --help display this help and exit 13773294c433Smrg --help=short display options specific to this package 13783294c433Smrg --help=recursive display the short help of all the included packages 13793294c433Smrg -V, --version display version information and exit 13803294c433Smrg -q, --quiet, --silent do not print \`checking...' messages 13813294c433Smrg --cache-file=FILE cache test results in FILE [disabled] 13823294c433Smrg -C, --config-cache alias for \`--cache-file=config.cache' 13833294c433Smrg -n, --no-create do not create output files 13843294c433Smrg --srcdir=DIR find the sources in DIR [configure dir or \`..'] 13853294c433Smrg 13863294c433SmrgInstallation directories: 13873294c433Smrg --prefix=PREFIX install architecture-independent files in PREFIX 13889bc46bd4Smrg [$ac_default_prefix] 13893294c433Smrg --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 13909bc46bd4Smrg [PREFIX] 13913294c433Smrg 13923294c433SmrgBy default, \`make install' will install all the files in 13933294c433Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 13943294c433Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix', 13953294c433Smrgfor instance \`--prefix=\$HOME'. 13963294c433Smrg 13973294c433SmrgFor better control, use the options below. 13983294c433Smrg 13993294c433SmrgFine tuning of the installation directories: 14009bc46bd4Smrg --bindir=DIR user executables [EPREFIX/bin] 14019bc46bd4Smrg --sbindir=DIR system admin executables [EPREFIX/sbin] 14029bc46bd4Smrg --libexecdir=DIR program executables [EPREFIX/libexec] 14039bc46bd4Smrg --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 14049bc46bd4Smrg --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 14059bc46bd4Smrg --localstatedir=DIR modifiable single-machine data [PREFIX/var] 14069bc46bd4Smrg --libdir=DIR object code libraries [EPREFIX/lib] 14079bc46bd4Smrg --includedir=DIR C header files [PREFIX/include] 14089bc46bd4Smrg --oldincludedir=DIR C header files for non-gcc [/usr/include] 14099bc46bd4Smrg --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 14109bc46bd4Smrg --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 14119bc46bd4Smrg --infodir=DIR info documentation [DATAROOTDIR/info] 14129bc46bd4Smrg --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 14139bc46bd4Smrg --mandir=DIR man documentation [DATAROOTDIR/man] 14149bc46bd4Smrg --docdir=DIR documentation root [DATAROOTDIR/doc/font-bh-100dpi] 14159bc46bd4Smrg --htmldir=DIR html documentation [DOCDIR] 14169bc46bd4Smrg --dvidir=DIR dvi documentation [DOCDIR] 14179bc46bd4Smrg --pdfdir=DIR pdf documentation [DOCDIR] 14189bc46bd4Smrg --psdir=DIR ps documentation [DOCDIR] 14193294c433Smrg_ACEOF 14203294c433Smrg 14213294c433Smrg cat <<\_ACEOF 14223294c433Smrg 14233294c433SmrgProgram names: 14243294c433Smrg --program-prefix=PREFIX prepend PREFIX to installed program names 14253294c433Smrg --program-suffix=SUFFIX append SUFFIX to installed program names 14263294c433Smrg --program-transform-name=PROGRAM run sed PROGRAM on installed program names 14279bc46bd4Smrg 14289bc46bd4SmrgSystem types: 14299bc46bd4Smrg --build=BUILD configure for building on BUILD [guessed] 14309bc46bd4Smrg --host=HOST cross-compile to build programs to run on HOST [BUILD] 14313294c433Smrg_ACEOF 14323294c433Smrgfi 14333294c433Smrg 14343294c433Smrgif test -n "$ac_init_help"; then 14353294c433Smrg case $ac_init_help in 14369bc46bd4Smrg short | recursive ) echo "Configuration of font-bh-100dpi 1.0.1:";; 14373294c433Smrg esac 14383294c433Smrg cat <<\_ACEOF 14393294c433Smrg 14403294c433SmrgOptional Features: 14419bc46bd4Smrg --disable-option-checking ignore unrecognized --enable/--with options 14423294c433Smrg --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 14433294c433Smrg --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 14449bc46bd4Smrg --enable-maintainer-mode enable make rules and dependencies not useful 14459bc46bd4Smrg (and sometimes confusing) to the casual installer 14469bc46bd4Smrg --disable-dependency-tracking speeds up one-time build 14479bc46bd4Smrg --enable-dependency-tracking do not reject slow dependency extractors 14489bc46bd4Smrg --enable-silent-rules less verbose build output (undo: `make V=1') 14499bc46bd4Smrg --disable-silent-rules verbose build output (undo: `make V=0') 14509bc46bd4Smrg --enable-strict-compilation 14519bc46bd4Smrg Enable all warnings from compiler and make them 14529bc46bd4Smrg errors (default: disabled) 14533294c433Smrg --disable-iso8859-1 Build ISO8859-1 fonts (default: yes) 14543294c433Smrg --disable-iso8859-2 Build ISO8859-2 fonts (default: yes) 14553294c433Smrg --disable-iso8859-3 Build ISO8859-3 fonts (default: yes) 14563294c433Smrg --disable-iso8859-4 Build ISO8859-4 fonts (default: yes) 14573294c433Smrg --disable-iso8859-9 Build ISO8859-9 fonts (default: yes) 14583294c433Smrg --disable-iso8859-10 Build ISO8859-10 fonts (default: yes) 14593294c433Smrg --disable-iso8859-13 Build ISO8859-13 fonts (default: yes) 14603294c433Smrg --disable-iso8859-14 Build ISO8859-14 fonts (default: yes) 14613294c433Smrg --disable-iso8859-15 Build ISO8859-15 fonts (default: yes) 14623294c433Smrg 14633294c433SmrgOptional Packages: 14643294c433Smrg --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 14653294c433Smrg --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 14663294c433Smrg --with-release-version=STRING 14673294c433Smrg Use release version string in package name 14689bc46bd4Smrg --with-fontrootdir=DIR Path to root directory for font files 14699bc46bd4Smrg --with-fontdir=DIR Path to 100dpi files [FONTROOTDIR/100dpi] 14709bc46bd4Smrg --with-compression=<no|compress|gzip|bzip2> 14719bc46bd4Smrg compression method to use on pcf fonts 14723294c433Smrg 14733294c433SmrgSome influential environment variables: 14749bc46bd4Smrg CC C compiler command 14759bc46bd4Smrg CFLAGS C compiler flags 14769bc46bd4Smrg LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 14779bc46bd4Smrg nonstandard directory <lib dir> 14789bc46bd4Smrg LIBS libraries to pass to the linker, e.g. -l<library> 14799bc46bd4Smrg CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 14809bc46bd4Smrg you have headers in a nonstandard directory <include dir> 14819bc46bd4Smrg CPP C preprocessor 14823294c433Smrg PKG_CONFIG path to pkg-config utility 14833294c433Smrg MAPS_CFLAGS C compiler flags for MAPS, overriding pkg-config 14843294c433Smrg MAPS_LIBS linker flags for MAPS, overriding pkg-config 14853294c433Smrg 14863294c433SmrgUse these variables to override the choices made by `configure' or to help 14873294c433Smrgit to find libraries and programs with nonstandard names/locations. 14883294c433Smrg 14893294c433SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 14903294c433Smrg_ACEOF 14919bc46bd4Smrgac_status=$? 14923294c433Smrgfi 14933294c433Smrg 14943294c433Smrgif test "$ac_init_help" = "recursive"; then 14953294c433Smrg # If there are subdirs, report their specific --help. 14963294c433Smrg for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 14979bc46bd4Smrg test -d "$ac_dir" || 14989bc46bd4Smrg { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 14999bc46bd4Smrg continue 15003294c433Smrg ac_builddir=. 15013294c433Smrg 15029bc46bd4Smrgcase "$ac_dir" in 15039bc46bd4Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 15049bc46bd4Smrg*) 15059bc46bd4Smrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 15069bc46bd4Smrg # A ".." for each directory in $ac_dir_suffix. 15079bc46bd4Smrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 15089bc46bd4Smrg case $ac_top_builddir_sub in 15099bc46bd4Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 15109bc46bd4Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 15119bc46bd4Smrg esac ;; 15129bc46bd4Smrgesac 15139bc46bd4Smrgac_abs_top_builddir=$ac_pwd 15149bc46bd4Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 15159bc46bd4Smrg# for backward compatibility: 15169bc46bd4Smrgac_top_builddir=$ac_top_build_prefix 15173294c433Smrg 15183294c433Smrgcase $srcdir in 15199bc46bd4Smrg .) # We are building in place. 15203294c433Smrg ac_srcdir=. 15219bc46bd4Smrg ac_top_srcdir=$ac_top_builddir_sub 15229bc46bd4Smrg ac_abs_top_srcdir=$ac_pwd ;; 15239bc46bd4Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 15243294c433Smrg ac_srcdir=$srcdir$ac_dir_suffix; 15259bc46bd4Smrg ac_top_srcdir=$srcdir 15269bc46bd4Smrg ac_abs_top_srcdir=$srcdir ;; 15279bc46bd4Smrg *) # Relative name. 15289bc46bd4Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 15299bc46bd4Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 15309bc46bd4Smrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 15313294c433Smrgesac 15329bc46bd4Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 15339bc46bd4Smrg 15349bc46bd4Smrg cd "$ac_dir" || { ac_status=$?; continue; } 15359bc46bd4Smrg # Check for guested configure. 15369bc46bd4Smrg if test -f "$ac_srcdir/configure.gnu"; then 15379bc46bd4Smrg echo && 15389bc46bd4Smrg $SHELL "$ac_srcdir/configure.gnu" --help=recursive 15399bc46bd4Smrg elif test -f "$ac_srcdir/configure"; then 15409bc46bd4Smrg echo && 15419bc46bd4Smrg $SHELL "$ac_srcdir/configure" --help=recursive 15423294c433Smrg else 15439bc46bd4Smrg $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 15449bc46bd4Smrg fi || ac_status=$? 15459bc46bd4Smrg cd "$ac_pwd" || { ac_status=$?; break; } 15463294c433Smrg done 15473294c433Smrgfi 15483294c433Smrg 15499bc46bd4Smrgtest -n "$ac_init_help" && exit $ac_status 15503294c433Smrgif $ac_init_version; then 15513294c433Smrg cat <<\_ACEOF 15529bc46bd4Smrgfont-bh-100dpi configure 1.0.1 15539bc46bd4Smrggenerated by GNU Autoconf 2.63 15543294c433Smrg 15559bc46bd4SmrgCopyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 15569bc46bd4Smrg2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 15573294c433SmrgThis configure script is free software; the Free Software Foundation 15583294c433Smrggives unlimited permission to copy, distribute and modify it. 15593294c433Smrg_ACEOF 15609bc46bd4Smrg exit 15613294c433Smrgfi 15629bc46bd4Smrgcat >config.log <<_ACEOF 15633294c433SmrgThis file contains any messages produced by compilers while 15643294c433Smrgrunning configure, to aid debugging if configure makes a mistake. 15653294c433Smrg 15669bc46bd4SmrgIt was created by font-bh-100dpi $as_me 1.0.1, which was 15679bc46bd4Smrggenerated by GNU Autoconf 2.63. Invocation command line was 15683294c433Smrg 15693294c433Smrg $ $0 $@ 15703294c433Smrg 15713294c433Smrg_ACEOF 15729bc46bd4Smrgexec 5>>config.log 15733294c433Smrg{ 15743294c433Smrgcat <<_ASUNAME 15753294c433Smrg## --------- ## 15763294c433Smrg## Platform. ## 15773294c433Smrg## --------- ## 15783294c433Smrg 15793294c433Smrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 15803294c433Smrguname -m = `(uname -m) 2>/dev/null || echo unknown` 15813294c433Smrguname -r = `(uname -r) 2>/dev/null || echo unknown` 15823294c433Smrguname -s = `(uname -s) 2>/dev/null || echo unknown` 15833294c433Smrguname -v = `(uname -v) 2>/dev/null || echo unknown` 15843294c433Smrg 15853294c433Smrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 15863294c433Smrg/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 15873294c433Smrg 15883294c433Smrg/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 15893294c433Smrg/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 15903294c433Smrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 15919bc46bd4Smrg/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 15923294c433Smrg/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 15933294c433Smrg/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 15943294c433Smrg/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 15953294c433Smrg 15963294c433Smrg_ASUNAME 15973294c433Smrg 15983294c433Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15993294c433Smrgfor as_dir in $PATH 16003294c433Smrgdo 16013294c433Smrg IFS=$as_save_IFS 16023294c433Smrg test -z "$as_dir" && as_dir=. 16039bc46bd4Smrg $as_echo "PATH: $as_dir" 16043294c433Smrgdone 16059bc46bd4SmrgIFS=$as_save_IFS 16063294c433Smrg 16073294c433Smrg} >&5 16083294c433Smrg 16093294c433Smrgcat >&5 <<_ACEOF 16103294c433Smrg 16113294c433Smrg 16123294c433Smrg## ----------- ## 16133294c433Smrg## Core tests. ## 16143294c433Smrg## ----------- ## 16153294c433Smrg 16163294c433Smrg_ACEOF 16173294c433Smrg 16183294c433Smrg 16193294c433Smrg# Keep a trace of the command line. 16203294c433Smrg# Strip out --no-create and --no-recursion so they do not pile up. 16213294c433Smrg# Strip out --silent because we don't want to record it for future runs. 16223294c433Smrg# Also quote any args containing shell meta-characters. 16233294c433Smrg# Make two passes to allow for proper duplicate-argument suppression. 16243294c433Smrgac_configure_args= 16253294c433Smrgac_configure_args0= 16263294c433Smrgac_configure_args1= 16273294c433Smrgac_must_keep_next=false 16283294c433Smrgfor ac_pass in 1 2 16293294c433Smrgdo 16303294c433Smrg for ac_arg 16313294c433Smrg do 16323294c433Smrg case $ac_arg in 16333294c433Smrg -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 16343294c433Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 16353294c433Smrg | -silent | --silent | --silen | --sile | --sil) 16363294c433Smrg continue ;; 16379bc46bd4Smrg *\'*) 16389bc46bd4Smrg ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 16393294c433Smrg esac 16403294c433Smrg case $ac_pass in 16413294c433Smrg 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 16423294c433Smrg 2) 16433294c433Smrg ac_configure_args1="$ac_configure_args1 '$ac_arg'" 16443294c433Smrg if test $ac_must_keep_next = true; then 16453294c433Smrg ac_must_keep_next=false # Got value, back to normal. 16463294c433Smrg else 16473294c433Smrg case $ac_arg in 16483294c433Smrg *=* | --config-cache | -C | -disable-* | --disable-* \ 16493294c433Smrg | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 16503294c433Smrg | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 16513294c433Smrg | -with-* | --with-* | -without-* | --without-* | --x) 16523294c433Smrg case "$ac_configure_args0 " in 16533294c433Smrg "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 16543294c433Smrg esac 16553294c433Smrg ;; 16563294c433Smrg -* ) ac_must_keep_next=true ;; 16573294c433Smrg esac 16583294c433Smrg fi 16599bc46bd4Smrg ac_configure_args="$ac_configure_args '$ac_arg'" 16603294c433Smrg ;; 16613294c433Smrg esac 16623294c433Smrg done 16633294c433Smrgdone 16643294c433Smrg$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 16653294c433Smrg$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 16663294c433Smrg 16673294c433Smrg# When interrupted or exit'd, cleanup temporary files, and complete 16683294c433Smrg# config.log. We remove comments because anyway the quotes in there 16693294c433Smrg# would cause problems or look ugly. 16709bc46bd4Smrg# WARNING: Use '\'' to represent an apostrophe within the trap. 16719bc46bd4Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 16723294c433Smrgtrap 'exit_status=$? 16733294c433Smrg # Save into config.log some information that might help in debugging. 16743294c433Smrg { 16753294c433Smrg echo 16763294c433Smrg 16773294c433Smrg cat <<\_ASBOX 16783294c433Smrg## ---------------- ## 16793294c433Smrg## Cache variables. ## 16803294c433Smrg## ---------------- ## 16813294c433Smrg_ASBOX 16823294c433Smrg echo 16833294c433Smrg # The following way of writing the cache mishandles newlines in values, 16849bc46bd4Smrg( 16859bc46bd4Smrg for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 16869bc46bd4Smrg eval ac_val=\$$ac_var 16879bc46bd4Smrg case $ac_val in #( 16889bc46bd4Smrg *${as_nl}*) 16899bc46bd4Smrg case $ac_var in #( 16909bc46bd4Smrg *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 16919bc46bd4Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 16929bc46bd4Smrg esac 16939bc46bd4Smrg case $ac_var in #( 16949bc46bd4Smrg _ | IFS | as_nl) ;; #( 16959bc46bd4Smrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 16969bc46bd4Smrg *) $as_unset $ac_var ;; 16979bc46bd4Smrg esac ;; 16989bc46bd4Smrg esac 16999bc46bd4Smrg done 17003294c433Smrg (set) 2>&1 | 17019bc46bd4Smrg case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 17029bc46bd4Smrg *${as_nl}ac_space=\ *) 17033294c433Smrg sed -n \ 17049bc46bd4Smrg "s/'\''/'\''\\\\'\'''\''/g; 17059bc46bd4Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 17069bc46bd4Smrg ;; #( 17073294c433Smrg *) 17089bc46bd4Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 17093294c433Smrg ;; 17109bc46bd4Smrg esac | 17119bc46bd4Smrg sort 17129bc46bd4Smrg) 17133294c433Smrg echo 17143294c433Smrg 17153294c433Smrg cat <<\_ASBOX 17163294c433Smrg## ----------------- ## 17173294c433Smrg## Output variables. ## 17183294c433Smrg## ----------------- ## 17193294c433Smrg_ASBOX 17203294c433Smrg echo 17213294c433Smrg for ac_var in $ac_subst_vars 17223294c433Smrg do 17239bc46bd4Smrg eval ac_val=\$$ac_var 17249bc46bd4Smrg case $ac_val in 17259bc46bd4Smrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 17269bc46bd4Smrg esac 17279bc46bd4Smrg $as_echo "$ac_var='\''$ac_val'\''" 17283294c433Smrg done | sort 17293294c433Smrg echo 17303294c433Smrg 17313294c433Smrg if test -n "$ac_subst_files"; then 17323294c433Smrg cat <<\_ASBOX 17339bc46bd4Smrg## ------------------- ## 17349bc46bd4Smrg## File substitutions. ## 17359bc46bd4Smrg## ------------------- ## 17363294c433Smrg_ASBOX 17373294c433Smrg echo 17383294c433Smrg for ac_var in $ac_subst_files 17393294c433Smrg do 17409bc46bd4Smrg eval ac_val=\$$ac_var 17419bc46bd4Smrg case $ac_val in 17429bc46bd4Smrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 17439bc46bd4Smrg esac 17449bc46bd4Smrg $as_echo "$ac_var='\''$ac_val'\''" 17453294c433Smrg done | sort 17463294c433Smrg echo 17473294c433Smrg fi 17483294c433Smrg 17493294c433Smrg if test -s confdefs.h; then 17503294c433Smrg cat <<\_ASBOX 17513294c433Smrg## ----------- ## 17523294c433Smrg## confdefs.h. ## 17533294c433Smrg## ----------- ## 17543294c433Smrg_ASBOX 17553294c433Smrg echo 17569bc46bd4Smrg cat confdefs.h 17573294c433Smrg echo 17583294c433Smrg fi 17593294c433Smrg test "$ac_signal" != 0 && 17609bc46bd4Smrg $as_echo "$as_me: caught signal $ac_signal" 17619bc46bd4Smrg $as_echo "$as_me: exit $exit_status" 17623294c433Smrg } >&5 17639bc46bd4Smrg rm -f core *.core core.conftest.* && 17649bc46bd4Smrg rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 17653294c433Smrg exit $exit_status 17669bc46bd4Smrg' 0 17673294c433Smrgfor ac_signal in 1 2 13 15; do 17683294c433Smrg trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 17693294c433Smrgdone 17703294c433Smrgac_signal=0 17713294c433Smrg 17723294c433Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed. 17739bc46bd4Smrgrm -f -r conftest* confdefs.h 17743294c433Smrg 17753294c433Smrg# Predefined preprocessor variables. 17763294c433Smrg 17773294c433Smrgcat >>confdefs.h <<_ACEOF 17783294c433Smrg#define PACKAGE_NAME "$PACKAGE_NAME" 17793294c433Smrg_ACEOF 17803294c433Smrg 17813294c433Smrg 17823294c433Smrgcat >>confdefs.h <<_ACEOF 17833294c433Smrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 17843294c433Smrg_ACEOF 17853294c433Smrg 17863294c433Smrg 17873294c433Smrgcat >>confdefs.h <<_ACEOF 17883294c433Smrg#define PACKAGE_VERSION "$PACKAGE_VERSION" 17893294c433Smrg_ACEOF 17903294c433Smrg 17913294c433Smrg 17923294c433Smrgcat >>confdefs.h <<_ACEOF 17933294c433Smrg#define PACKAGE_STRING "$PACKAGE_STRING" 17943294c433Smrg_ACEOF 17953294c433Smrg 17963294c433Smrg 17973294c433Smrgcat >>confdefs.h <<_ACEOF 17983294c433Smrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 17993294c433Smrg_ACEOF 18003294c433Smrg 18013294c433Smrg 18023294c433Smrg# Let the site file select an alternate cache file if it wants to. 18039bc46bd4Smrg# Prefer an explicitly selected file to automatically selected ones. 18049bc46bd4Smrgac_site_file1=NONE 18059bc46bd4Smrgac_site_file2=NONE 18069bc46bd4Smrgif test -n "$CONFIG_SITE"; then 18079bc46bd4Smrg ac_site_file1=$CONFIG_SITE 18089bc46bd4Smrgelif test "x$prefix" != xNONE; then 18099bc46bd4Smrg ac_site_file1=$prefix/share/config.site 18109bc46bd4Smrg ac_site_file2=$prefix/etc/config.site 18119bc46bd4Smrgelse 18129bc46bd4Smrg ac_site_file1=$ac_default_prefix/share/config.site 18139bc46bd4Smrg ac_site_file2=$ac_default_prefix/etc/config.site 18143294c433Smrgfi 18159bc46bd4Smrgfor ac_site_file in "$ac_site_file1" "$ac_site_file2" 18169bc46bd4Smrgdo 18179bc46bd4Smrg test "x$ac_site_file" = xNONE && continue 18183294c433Smrg if test -r "$ac_site_file"; then 18199bc46bd4Smrg { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 18209bc46bd4Smrg$as_echo "$as_me: loading site script $ac_site_file" >&6;} 18213294c433Smrg sed 's/^/| /' "$ac_site_file" >&5 18223294c433Smrg . "$ac_site_file" 18233294c433Smrg fi 18243294c433Smrgdone 18253294c433Smrg 18263294c433Smrgif test -r "$cache_file"; then 18273294c433Smrg # Some versions of bash will fail to source /dev/null (special 18283294c433Smrg # files actually), so we avoid doing that. 18293294c433Smrg if test -f "$cache_file"; then 18309bc46bd4Smrg { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 18319bc46bd4Smrg$as_echo "$as_me: loading cache $cache_file" >&6;} 18323294c433Smrg case $cache_file in 18339bc46bd4Smrg [\\/]* | ?:[\\/]* ) . "$cache_file";; 18349bc46bd4Smrg *) . "./$cache_file";; 18353294c433Smrg esac 18363294c433Smrg fi 18373294c433Smrgelse 18389bc46bd4Smrg { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 18399bc46bd4Smrg$as_echo "$as_me: creating cache $cache_file" >&6;} 18403294c433Smrg >$cache_file 18413294c433Smrgfi 18423294c433Smrg 18433294c433Smrg# Check that the precious variables saved in the cache have kept the same 18443294c433Smrg# value. 18453294c433Smrgac_cache_corrupted=false 18469bc46bd4Smrgfor ac_var in $ac_precious_vars; do 18473294c433Smrg eval ac_old_set=\$ac_cv_env_${ac_var}_set 18483294c433Smrg eval ac_new_set=\$ac_env_${ac_var}_set 18499bc46bd4Smrg eval ac_old_val=\$ac_cv_env_${ac_var}_value 18509bc46bd4Smrg eval ac_new_val=\$ac_env_${ac_var}_value 18513294c433Smrg case $ac_old_set,$ac_new_set in 18523294c433Smrg set,) 18539bc46bd4Smrg { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 18549bc46bd4Smrg$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 18553294c433Smrg ac_cache_corrupted=: ;; 18563294c433Smrg ,set) 18579bc46bd4Smrg { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 18589bc46bd4Smrg$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 18593294c433Smrg ac_cache_corrupted=: ;; 18603294c433Smrg ,);; 18613294c433Smrg *) 18623294c433Smrg if test "x$ac_old_val" != "x$ac_new_val"; then 18639bc46bd4Smrg # differences in whitespace do not lead to failure. 18649bc46bd4Smrg ac_old_val_w=`echo x $ac_old_val` 18659bc46bd4Smrg ac_new_val_w=`echo x $ac_new_val` 18669bc46bd4Smrg if test "$ac_old_val_w" != "$ac_new_val_w"; then 18679bc46bd4Smrg { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 18689bc46bd4Smrg$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 18699bc46bd4Smrg ac_cache_corrupted=: 18709bc46bd4Smrg else 18719bc46bd4Smrg { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 18729bc46bd4Smrg$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 18739bc46bd4Smrg eval $ac_var=\$ac_old_val 18749bc46bd4Smrg fi 18759bc46bd4Smrg { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 18769bc46bd4Smrg$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 18779bc46bd4Smrg { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 18789bc46bd4Smrg$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 18793294c433Smrg fi;; 18803294c433Smrg esac 18813294c433Smrg # Pass precious variables to config.status. 18823294c433Smrg if test "$ac_new_set" = set; then 18833294c433Smrg case $ac_new_val in 18849bc46bd4Smrg *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 18853294c433Smrg *) ac_arg=$ac_var=$ac_new_val ;; 18863294c433Smrg esac 18873294c433Smrg case " $ac_configure_args " in 18883294c433Smrg *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 18893294c433Smrg *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 18903294c433Smrg esac 18913294c433Smrg fi 18923294c433Smrgdone 18933294c433Smrgif $ac_cache_corrupted; then 18949bc46bd4Smrg { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 18959bc46bd4Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18969bc46bd4Smrg { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 18979bc46bd4Smrg$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 18989bc46bd4Smrg { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 18999bc46bd4Smrg$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 19003294c433Smrg { (exit 1); exit 1; }; } 19013294c433Smrgfi 19023294c433Smrg 19033294c433Smrg 19043294c433Smrg 19053294c433Smrg 19063294c433Smrg 19073294c433Smrg 19083294c433Smrg 19093294c433Smrg 19103294c433Smrg 19113294c433Smrg 19123294c433Smrg 19133294c433Smrg 19143294c433Smrg 19153294c433Smrg 19163294c433Smrg 19173294c433Smrg 19183294c433Smrg 19193294c433Smrg 19203294c433Smrg 19213294c433Smrg 19223294c433Smrg 19233294c433Smrg 19243294c433Smrg 19253294c433Smrg 19263294c433Smrg 19279bc46bd4Smrgac_ext=c 19289bc46bd4Smrgac_cpp='$CPP $CPPFLAGS' 19299bc46bd4Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 19309bc46bd4Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 19319bc46bd4Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 19323294c433Smrg 19333294c433Smrg 19349bc46bd4Smrgam__api_version='1.11' 19353294c433Smrg 19363294c433Smrgac_aux_dir= 19379bc46bd4Smrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 19389bc46bd4Smrg if test -f "$ac_dir/install-sh"; then 19393294c433Smrg ac_aux_dir=$ac_dir 19403294c433Smrg ac_install_sh="$ac_aux_dir/install-sh -c" 19413294c433Smrg break 19429bc46bd4Smrg elif test -f "$ac_dir/install.sh"; then 19433294c433Smrg ac_aux_dir=$ac_dir 19443294c433Smrg ac_install_sh="$ac_aux_dir/install.sh -c" 19453294c433Smrg break 19469bc46bd4Smrg elif test -f "$ac_dir/shtool"; then 19473294c433Smrg ac_aux_dir=$ac_dir 19483294c433Smrg ac_install_sh="$ac_aux_dir/shtool install -c" 19493294c433Smrg break 19503294c433Smrg fi 19513294c433Smrgdone 19523294c433Smrgif test -z "$ac_aux_dir"; then 19539bc46bd4Smrg { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 19549bc46bd4Smrg$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 19553294c433Smrg { (exit 1); exit 1; }; } 19563294c433Smrgfi 19579bc46bd4Smrg 19589bc46bd4Smrg# These three variables are undocumented and unsupported, 19599bc46bd4Smrg# and are intended to be withdrawn in a future Autoconf release. 19609bc46bd4Smrg# They can cause serious problems if a builder's source tree is in a directory 19619bc46bd4Smrg# whose full name contains unusual characters. 19629bc46bd4Smrgac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 19639bc46bd4Smrgac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 19649bc46bd4Smrgac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 19659bc46bd4Smrg 19663294c433Smrg 19673294c433Smrg# Find a good install program. We prefer a C program (faster), 19683294c433Smrg# so one script is as good as another. But avoid the broken or 19693294c433Smrg# incompatible versions: 19703294c433Smrg# SysV /etc/install, /usr/sbin/install 19713294c433Smrg# SunOS /usr/etc/install 19723294c433Smrg# IRIX /sbin/install 19733294c433Smrg# AIX /bin/install 19743294c433Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs 19753294c433Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 19763294c433Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 19773294c433Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 19783294c433Smrg# OS/2's system install, which has a completely different semantic 19793294c433Smrg# ./install, which can be erroneously created by make from ./install.sh. 19809bc46bd4Smrg# Reject install programs that cannot install multiple files. 19819bc46bd4Smrg{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 19829bc46bd4Smrg$as_echo_n "checking for a BSD-compatible install... " >&6; } 19833294c433Smrgif test -z "$INSTALL"; then 19843294c433Smrgif test "${ac_cv_path_install+set}" = set; then 19859bc46bd4Smrg $as_echo_n "(cached) " >&6 19863294c433Smrgelse 19873294c433Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19883294c433Smrgfor as_dir in $PATH 19893294c433Smrgdo 19903294c433Smrg IFS=$as_save_IFS 19913294c433Smrg test -z "$as_dir" && as_dir=. 19923294c433Smrg # Account for people who put trailing slashes in PATH elements. 19933294c433Smrgcase $as_dir/ in 19943294c433Smrg ./ | .// | /cC/* | \ 19953294c433Smrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 19963294c433Smrg ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 19973294c433Smrg /usr/ucb/* ) ;; 19983294c433Smrg *) 19993294c433Smrg # OSF1 and SCO ODT 3.0 have their own names for install. 20003294c433Smrg # Don't use installbsd from OSF since it installs stuff as root 20013294c433Smrg # by default. 20023294c433Smrg for ac_prog in ginstall scoinst install; do 20033294c433Smrg for ac_exec_ext in '' $ac_executable_extensions; do 20049bc46bd4Smrg if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 20053294c433Smrg if test $ac_prog = install && 20063294c433Smrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 20073294c433Smrg # AIX install. It has an incompatible calling convention. 20083294c433Smrg : 20093294c433Smrg elif test $ac_prog = install && 20103294c433Smrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 20113294c433Smrg # program-specific install script used by HP pwplus--don't use. 20123294c433Smrg : 20133294c433Smrg else 20149bc46bd4Smrg rm -rf conftest.one conftest.two conftest.dir 20159bc46bd4Smrg echo one > conftest.one 20169bc46bd4Smrg echo two > conftest.two 20179bc46bd4Smrg mkdir conftest.dir 20189bc46bd4Smrg if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 20199bc46bd4Smrg test -s conftest.one && test -s conftest.two && 20209bc46bd4Smrg test -s conftest.dir/conftest.one && 20219bc46bd4Smrg test -s conftest.dir/conftest.two 20229bc46bd4Smrg then 20239bc46bd4Smrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 20249bc46bd4Smrg break 3 20259bc46bd4Smrg fi 20263294c433Smrg fi 20273294c433Smrg fi 20283294c433Smrg done 20293294c433Smrg done 20303294c433Smrg ;; 20313294c433Smrgesac 20329bc46bd4Smrg 20333294c433Smrgdone 20349bc46bd4SmrgIFS=$as_save_IFS 20353294c433Smrg 20369bc46bd4Smrgrm -rf conftest.one conftest.two conftest.dir 20373294c433Smrg 20383294c433Smrgfi 20393294c433Smrg if test "${ac_cv_path_install+set}" = set; then 20403294c433Smrg INSTALL=$ac_cv_path_install 20413294c433Smrg else 20429bc46bd4Smrg # As a last resort, use the slow shell script. Don't cache a 20439bc46bd4Smrg # value for INSTALL within a source directory, because that will 20443294c433Smrg # break other packages using the cache if that directory is 20459bc46bd4Smrg # removed, or if the value is a relative name. 20463294c433Smrg INSTALL=$ac_install_sh 20473294c433Smrg fi 20483294c433Smrgfi 20499bc46bd4Smrg{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 20509bc46bd4Smrg$as_echo "$INSTALL" >&6; } 20513294c433Smrg 20523294c433Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 20533294c433Smrg# It thinks the first close brace ends the variable substitution. 20543294c433Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 20553294c433Smrg 20563294c433Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 20573294c433Smrg 20583294c433Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 20593294c433Smrg 20609bc46bd4Smrg{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5 20619bc46bd4Smrg$as_echo_n "checking whether build environment is sane... " >&6; } 20623294c433Smrg# Just in case 20633294c433Smrgsleep 1 20643294c433Smrgecho timestamp > conftest.file 20659bc46bd4Smrg# Reject unsafe characters in $srcdir or the absolute working directory 20669bc46bd4Smrg# name. Accept space and tab only in the latter. 20679bc46bd4Smrgam_lf=' 20689bc46bd4Smrg' 20699bc46bd4Smrgcase `pwd` in 20709bc46bd4Smrg *[\\\"\#\$\&\'\`$am_lf]*) 20719bc46bd4Smrg { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5 20729bc46bd4Smrg$as_echo "$as_me: error: unsafe absolute working directory name" >&2;} 20739bc46bd4Smrg { (exit 1); exit 1; }; };; 20749bc46bd4Smrgesac 20759bc46bd4Smrgcase $srcdir in 20769bc46bd4Smrg *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 20779bc46bd4Smrg { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5 20789bc46bd4Smrg$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;} 20799bc46bd4Smrg { (exit 1); exit 1; }; };; 20809bc46bd4Smrgesac 20819bc46bd4Smrg 20823294c433Smrg# Do `set' in a subshell so we don't clobber the current shell's 20833294c433Smrg# arguments. Must try -L first in case configure is actually a 20843294c433Smrg# symlink; some systems play weird games with the mod time of symlinks 20853294c433Smrg# (eg FreeBSD returns the mod time of the symlink's containing 20863294c433Smrg# directory). 20873294c433Smrgif ( 20889bc46bd4Smrg set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 20893294c433Smrg if test "$*" = "X"; then 20903294c433Smrg # -L didn't work. 20919bc46bd4Smrg set X `ls -t "$srcdir/configure" conftest.file` 20923294c433Smrg fi 20933294c433Smrg rm -f conftest.file 20943294c433Smrg if test "$*" != "X $srcdir/configure conftest.file" \ 20953294c433Smrg && test "$*" != "X conftest.file $srcdir/configure"; then 20963294c433Smrg 20973294c433Smrg # If neither matched, then we have a broken ls. This can happen 20983294c433Smrg # if, for instance, CONFIG_SHELL is bash and it inherits a 20993294c433Smrg # broken ls alias from the environment. This has actually 21003294c433Smrg # happened. Such a system could not be considered "sane". 21019bc46bd4Smrg { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 21023294c433Smrgalias in your environment" >&5 21039bc46bd4Smrg$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 21043294c433Smrgalias in your environment" >&2;} 21053294c433Smrg { (exit 1); exit 1; }; } 21063294c433Smrg fi 21073294c433Smrg 21083294c433Smrg test "$2" = conftest.file 21093294c433Smrg ) 21103294c433Smrgthen 21113294c433Smrg # Ok. 21123294c433Smrg : 21133294c433Smrgelse 21149bc46bd4Smrg { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files! 21153294c433SmrgCheck your system clock" >&5 21169bc46bd4Smrg$as_echo "$as_me: error: newly created file is older than distributed files! 21173294c433SmrgCheck your system clock" >&2;} 21183294c433Smrg { (exit 1); exit 1; }; } 21193294c433Smrgfi 21209bc46bd4Smrg{ $as_echo "$as_me:$LINENO: result: yes" >&5 21219bc46bd4Smrg$as_echo "yes" >&6; } 21223294c433Smrgtest "$program_prefix" != NONE && 21239bc46bd4Smrg program_transform_name="s&^&$program_prefix&;$program_transform_name" 21243294c433Smrg# Use a double $ so make ignores it. 21253294c433Smrgtest "$program_suffix" != NONE && 21269bc46bd4Smrg program_transform_name="s&\$&$program_suffix&;$program_transform_name" 21279bc46bd4Smrg# Double any \ or $. 21283294c433Smrg# By default was `s,x,x', remove it if useless. 21299bc46bd4Smrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 21309bc46bd4Smrgprogram_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 21313294c433Smrg 21323294c433Smrg# expand $ac_aux_dir to an absolute path 21333294c433Smrgam_aux_dir=`cd $ac_aux_dir && pwd` 21343294c433Smrg 21359bc46bd4Smrgif test x"${MISSING+set}" != xset; then 21369bc46bd4Smrg case $am_aux_dir in 21379bc46bd4Smrg *\ * | *\ *) 21389bc46bd4Smrg MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 21399bc46bd4Smrg *) 21409bc46bd4Smrg MISSING="\${SHELL} $am_aux_dir/missing" ;; 21419bc46bd4Smrg esac 21429bc46bd4Smrgfi 21433294c433Smrg# Use eval to expand $SHELL 21443294c433Smrgif eval "$MISSING --run true"; then 21453294c433Smrg am_missing_run="$MISSING --run " 21463294c433Smrgelse 21473294c433Smrg am_missing_run= 21489bc46bd4Smrg { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 21499bc46bd4Smrg$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 21509bc46bd4Smrgfi 21519bc46bd4Smrg 21529bc46bd4Smrgif test x"${install_sh}" != xset; then 21539bc46bd4Smrg case $am_aux_dir in 21549bc46bd4Smrg *\ * | *\ *) 21559bc46bd4Smrg install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 21569bc46bd4Smrg *) 21579bc46bd4Smrg install_sh="\${SHELL} $am_aux_dir/install-sh" 21589bc46bd4Smrg esac 21599bc46bd4Smrgfi 21609bc46bd4Smrg 21619bc46bd4Smrg# Installed binaries are usually stripped using `strip' when the user 21629bc46bd4Smrg# run `make install-strip'. However `strip' might not be the right 21639bc46bd4Smrg# tool to use in cross-compilation environments, therefore Automake 21649bc46bd4Smrg# will honor the `STRIP' environment variable to overrule this program. 21659bc46bd4Smrgif test "$cross_compiling" != no; then 21669bc46bd4Smrg if test -n "$ac_tool_prefix"; then 21679bc46bd4Smrg # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 21689bc46bd4Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2 21699bc46bd4Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 21709bc46bd4Smrg$as_echo_n "checking for $ac_word... " >&6; } 21719bc46bd4Smrgif test "${ac_cv_prog_STRIP+set}" = set; then 21729bc46bd4Smrg $as_echo_n "(cached) " >&6 21739bc46bd4Smrgelse 21749bc46bd4Smrg if test -n "$STRIP"; then 21759bc46bd4Smrg ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 21769bc46bd4Smrgelse 21779bc46bd4Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 21789bc46bd4Smrgfor as_dir in $PATH 21799bc46bd4Smrgdo 21809bc46bd4Smrg IFS=$as_save_IFS 21819bc46bd4Smrg test -z "$as_dir" && as_dir=. 21829bc46bd4Smrg for ac_exec_ext in '' $ac_executable_extensions; do 21839bc46bd4Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 21849bc46bd4Smrg ac_cv_prog_STRIP="${ac_tool_prefix}strip" 21859bc46bd4Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 21869bc46bd4Smrg break 2 21879bc46bd4Smrg fi 21889bc46bd4Smrgdone 21899bc46bd4Smrgdone 21909bc46bd4SmrgIFS=$as_save_IFS 21919bc46bd4Smrg 21929bc46bd4Smrgfi 21939bc46bd4Smrgfi 21949bc46bd4SmrgSTRIP=$ac_cv_prog_STRIP 21959bc46bd4Smrgif test -n "$STRIP"; then 21969bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 21979bc46bd4Smrg$as_echo "$STRIP" >&6; } 21989bc46bd4Smrgelse 21999bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 22009bc46bd4Smrg$as_echo "no" >&6; } 22019bc46bd4Smrgfi 22029bc46bd4Smrg 22039bc46bd4Smrg 22049bc46bd4Smrgfi 22059bc46bd4Smrgif test -z "$ac_cv_prog_STRIP"; then 22069bc46bd4Smrg ac_ct_STRIP=$STRIP 22079bc46bd4Smrg # Extract the first word of "strip", so it can be a program name with args. 22089bc46bd4Smrgset dummy strip; ac_word=$2 22099bc46bd4Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 22109bc46bd4Smrg$as_echo_n "checking for $ac_word... " >&6; } 22119bc46bd4Smrgif test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 22129bc46bd4Smrg $as_echo_n "(cached) " >&6 22139bc46bd4Smrgelse 22149bc46bd4Smrg if test -n "$ac_ct_STRIP"; then 22159bc46bd4Smrg ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 22169bc46bd4Smrgelse 22179bc46bd4Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22189bc46bd4Smrgfor as_dir in $PATH 22199bc46bd4Smrgdo 22209bc46bd4Smrg IFS=$as_save_IFS 22219bc46bd4Smrg test -z "$as_dir" && as_dir=. 22229bc46bd4Smrg for ac_exec_ext in '' $ac_executable_extensions; do 22239bc46bd4Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 22249bc46bd4Smrg ac_cv_prog_ac_ct_STRIP="strip" 22259bc46bd4Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 22269bc46bd4Smrg break 2 22279bc46bd4Smrg fi 22289bc46bd4Smrgdone 22299bc46bd4Smrgdone 22309bc46bd4SmrgIFS=$as_save_IFS 22319bc46bd4Smrg 22329bc46bd4Smrgfi 22339bc46bd4Smrgfi 22349bc46bd4Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 22359bc46bd4Smrgif test -n "$ac_ct_STRIP"; then 22369bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 22379bc46bd4Smrg$as_echo "$ac_ct_STRIP" >&6; } 22389bc46bd4Smrgelse 22399bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 22409bc46bd4Smrg$as_echo "no" >&6; } 22413294c433Smrgfi 22423294c433Smrg 22439bc46bd4Smrg if test "x$ac_ct_STRIP" = x; then 22449bc46bd4Smrg STRIP=":" 22459bc46bd4Smrg else 22469bc46bd4Smrg case $cross_compiling:$ac_tool_warned in 22479bc46bd4Smrgyes:) 22489bc46bd4Smrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 22499bc46bd4Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 22509bc46bd4Smrgac_tool_warned=yes ;; 22519bc46bd4Smrgesac 22529bc46bd4Smrg STRIP=$ac_ct_STRIP 22539bc46bd4Smrg fi 22549bc46bd4Smrgelse 22559bc46bd4Smrg STRIP="$ac_cv_prog_STRIP" 22569bc46bd4Smrgfi 22579bc46bd4Smrg 22589bc46bd4Smrgfi 22599bc46bd4SmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 22609bc46bd4Smrg 22619bc46bd4Smrg{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 22629bc46bd4Smrg$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 22639bc46bd4Smrgif test -z "$MKDIR_P"; then 22649bc46bd4Smrg if test "${ac_cv_path_mkdir+set}" = set; then 22659bc46bd4Smrg $as_echo_n "(cached) " >&6 22669bc46bd4Smrgelse 22679bc46bd4Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22689bc46bd4Smrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 22699bc46bd4Smrgdo 22709bc46bd4Smrg IFS=$as_save_IFS 22719bc46bd4Smrg test -z "$as_dir" && as_dir=. 22729bc46bd4Smrg for ac_prog in mkdir gmkdir; do 22739bc46bd4Smrg for ac_exec_ext in '' $ac_executable_extensions; do 22749bc46bd4Smrg { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 22759bc46bd4Smrg case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 22769bc46bd4Smrg 'mkdir (GNU coreutils) '* | \ 22779bc46bd4Smrg 'mkdir (coreutils) '* | \ 22789bc46bd4Smrg 'mkdir (fileutils) '4.1*) 22799bc46bd4Smrg ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 22809bc46bd4Smrg break 3;; 22819bc46bd4Smrg esac 22829bc46bd4Smrg done 22839bc46bd4Smrg done 22849bc46bd4Smrgdone 22859bc46bd4SmrgIFS=$as_save_IFS 22869bc46bd4Smrg 22879bc46bd4Smrgfi 22889bc46bd4Smrg 22899bc46bd4Smrg if test "${ac_cv_path_mkdir+set}" = set; then 22909bc46bd4Smrg MKDIR_P="$ac_cv_path_mkdir -p" 22919bc46bd4Smrg else 22929bc46bd4Smrg # As a last resort, use the slow shell script. Don't cache a 22939bc46bd4Smrg # value for MKDIR_P within a source directory, because that will 22949bc46bd4Smrg # break other packages using the cache if that directory is 22959bc46bd4Smrg # removed, or if the value is a relative name. 22969bc46bd4Smrg test -d ./--version && rmdir ./--version 22979bc46bd4Smrg MKDIR_P="$ac_install_sh -d" 22989bc46bd4Smrg fi 22999bc46bd4Smrgfi 23009bc46bd4Smrg{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 23019bc46bd4Smrg$as_echo "$MKDIR_P" >&6; } 23029bc46bd4Smrg 23039bc46bd4Smrgmkdir_p="$MKDIR_P" 23049bc46bd4Smrgcase $mkdir_p in 23059bc46bd4Smrg [\\/$]* | ?:[\\/]*) ;; 23069bc46bd4Smrg */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 23079bc46bd4Smrgesac 23089bc46bd4Smrg 23093294c433Smrgfor ac_prog in gawk mawk nawk awk 23103294c433Smrgdo 23113294c433Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 23123294c433Smrgset dummy $ac_prog; ac_word=$2 23139bc46bd4Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 23149bc46bd4Smrg$as_echo_n "checking for $ac_word... " >&6; } 23153294c433Smrgif test "${ac_cv_prog_AWK+set}" = set; then 23169bc46bd4Smrg $as_echo_n "(cached) " >&6 23173294c433Smrgelse 23183294c433Smrg if test -n "$AWK"; then 23193294c433Smrg ac_cv_prog_AWK="$AWK" # Let the user override the test. 23203294c433Smrgelse 23213294c433Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23223294c433Smrgfor as_dir in $PATH 23233294c433Smrgdo 23243294c433Smrg IFS=$as_save_IFS 23253294c433Smrg test -z "$as_dir" && as_dir=. 23263294c433Smrg for ac_exec_ext in '' $ac_executable_extensions; do 23279bc46bd4Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 23283294c433Smrg ac_cv_prog_AWK="$ac_prog" 23299bc46bd4Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 23303294c433Smrg break 2 23313294c433Smrg fi 23323294c433Smrgdone 23333294c433Smrgdone 23349bc46bd4SmrgIFS=$as_save_IFS 23353294c433Smrg 23363294c433Smrgfi 23373294c433Smrgfi 23383294c433SmrgAWK=$ac_cv_prog_AWK 23393294c433Smrgif test -n "$AWK"; then 23409bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: $AWK" >&5 23419bc46bd4Smrg$as_echo "$AWK" >&6; } 23423294c433Smrgelse 23439bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 23449bc46bd4Smrg$as_echo "no" >&6; } 23453294c433Smrgfi 23463294c433Smrg 23479bc46bd4Smrg 23483294c433Smrg test -n "$AWK" && break 23493294c433Smrgdone 23503294c433Smrg 23519bc46bd4Smrg{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 23529bc46bd4Smrg$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 23539bc46bd4Smrgset x ${MAKE-make} 23549bc46bd4Smrgac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 23559bc46bd4Smrgif { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 23569bc46bd4Smrg $as_echo_n "(cached) " >&6 23573294c433Smrgelse 23583294c433Smrg cat >conftest.make <<\_ACEOF 23599bc46bd4SmrgSHELL = /bin/sh 23603294c433Smrgall: 23619bc46bd4Smrg @echo '@@@%%%=$(MAKE)=@@@%%%' 23623294c433Smrg_ACEOF 23633294c433Smrg# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 23649bc46bd4Smrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in 23659bc46bd4Smrg *@@@%%%=?*=@@@%%%*) 23669bc46bd4Smrg eval ac_cv_prog_make_${ac_make}_set=yes;; 23679bc46bd4Smrg *) 23689bc46bd4Smrg eval ac_cv_prog_make_${ac_make}_set=no;; 23699bc46bd4Smrgesac 23703294c433Smrgrm -f conftest.make 23713294c433Smrgfi 23729bc46bd4Smrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 23739bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: yes" >&5 23749bc46bd4Smrg$as_echo "yes" >&6; } 23753294c433Smrg SET_MAKE= 23763294c433Smrgelse 23779bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 23789bc46bd4Smrg$as_echo "no" >&6; } 23793294c433Smrg SET_MAKE="MAKE=${MAKE-make}" 23803294c433Smrgfi 23813294c433Smrg 23823294c433Smrgrm -rf .tst 2>/dev/null 23833294c433Smrgmkdir .tst 2>/dev/null 23843294c433Smrgif test -d .tst; then 23853294c433Smrg am__leading_dot=. 23863294c433Smrgelse 23873294c433Smrg am__leading_dot=_ 23883294c433Smrgfi 23893294c433Smrgrmdir .tst 2>/dev/null 23903294c433Smrg 23919bc46bd4Smrgif test "`cd $srcdir && pwd`" != "`pwd`"; then 23929bc46bd4Smrg # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 23939bc46bd4Smrg # is not polluted with repeated "-I." 23949bc46bd4Smrg am__isrc=' -I$(srcdir)' 23959bc46bd4Smrg # test to see if srcdir already configured 23969bc46bd4Smrg if test -f $srcdir/config.status; then 23979bc46bd4Smrg { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 23989bc46bd4Smrg$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 23993294c433Smrg { (exit 1); exit 1; }; } 24009bc46bd4Smrg fi 24013294c433Smrgfi 24023294c433Smrg 24033294c433Smrg# test whether we have cygpath 24043294c433Smrgif test -z "$CYGPATH_W"; then 24053294c433Smrg if (cygpath --version) >/dev/null 2>/dev/null; then 24063294c433Smrg CYGPATH_W='cygpath -w' 24073294c433Smrg else 24083294c433Smrg CYGPATH_W=echo 24093294c433Smrg fi 24103294c433Smrgfi 24113294c433Smrg 24123294c433Smrg 24133294c433Smrg# Define the identity of the package. 24143294c433Smrg PACKAGE='font-bh-100dpi' 24159bc46bd4Smrg VERSION='1.0.1' 24163294c433Smrg 24173294c433Smrg 24183294c433Smrgcat >>confdefs.h <<_ACEOF 24193294c433Smrg#define PACKAGE "$PACKAGE" 24203294c433Smrg_ACEOF 24213294c433Smrg 24223294c433Smrg 24233294c433Smrgcat >>confdefs.h <<_ACEOF 24243294c433Smrg#define VERSION "$VERSION" 24253294c433Smrg_ACEOF 24263294c433Smrg 24273294c433Smrg# Some tools Automake needs. 24283294c433Smrg 24293294c433SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 24303294c433Smrg 24313294c433Smrg 24323294c433SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 24333294c433Smrg 24343294c433Smrg 24353294c433SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 24363294c433Smrg 24373294c433Smrg 24383294c433SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 24393294c433Smrg 24403294c433Smrg 24413294c433SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 24423294c433Smrg 24439bc46bd4Smrg# We need awk for the "check" target. The system "awk" is bad on 24449bc46bd4Smrg# some platforms. 24459bc46bd4Smrg# Always define AMTAR for backward compatibility. 24463294c433Smrg 24473294c433SmrgAMTAR=${AMTAR-"${am_missing_run}tar"} 24483294c433Smrg 24499bc46bd4Smrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 24503294c433Smrg 24519bc46bd4Smrg 24529bc46bd4Smrg 24539bc46bd4Smrg 24549bc46bd4Smrg 24559bc46bd4Smrg 24569bc46bd4Smrg{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 24579bc46bd4Smrg$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 24589bc46bd4Smrg # Check whether --enable-maintainer-mode was given. 24599bc46bd4Smrgif test "${enable_maintainer_mode+set}" = set; then 24609bc46bd4Smrg enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 24613294c433Smrgelse 24629bc46bd4Smrg USE_MAINTAINER_MODE=no 24639bc46bd4Smrgfi 24649bc46bd4Smrg 24659bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 24669bc46bd4Smrg$as_echo "$USE_MAINTAINER_MODE" >&6; } 24679bc46bd4Smrg if test $USE_MAINTAINER_MODE = yes; then 24689bc46bd4Smrg MAINTAINER_MODE_TRUE= 24699bc46bd4Smrg MAINTAINER_MODE_FALSE='#' 24709bc46bd4Smrgelse 24719bc46bd4Smrg MAINTAINER_MODE_TRUE='#' 24729bc46bd4Smrg MAINTAINER_MODE_FALSE= 24739bc46bd4Smrgfi 24749bc46bd4Smrg 24759bc46bd4Smrg MAINT=$MAINTAINER_MODE_TRUE 24769bc46bd4Smrg 24779bc46bd4Smrg 24789bc46bd4Smrg 24799bc46bd4Smrg# Require xorg-macros: XORG_DEFAULT_OPTIONS 24809bc46bd4Smrg 24819bc46bd4Smrg 24829bc46bd4Smrg 24839bc46bd4Smrg 24849bc46bd4Smrg 24859bc46bd4Smrg 24869bc46bd4Smrg 24879bc46bd4Smrg 24889bc46bd4Smrg 24899bc46bd4Smrg 24909bc46bd4Smrg 24919bc46bd4SmrgDEPDIR="${am__leading_dot}deps" 24929bc46bd4Smrg 24939bc46bd4Smrgac_config_commands="$ac_config_commands depfiles" 24949bc46bd4Smrg 24959bc46bd4Smrg 24969bc46bd4Smrgam_make=${MAKE-make} 24979bc46bd4Smrgcat > confinc << 'END' 24989bc46bd4Smrgam__doit: 24999bc46bd4Smrg @echo this is the am__doit target 25009bc46bd4Smrg.PHONY: am__doit 25019bc46bd4SmrgEND 25029bc46bd4Smrg# If we don't find an include directive, just comment out the code. 25039bc46bd4Smrg{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 25049bc46bd4Smrg$as_echo_n "checking for style of include used by $am_make... " >&6; } 25059bc46bd4Smrgam__include="#" 25069bc46bd4Smrgam__quote= 25079bc46bd4Smrg_am_result=none 25089bc46bd4Smrg# First try GNU make style include. 25099bc46bd4Smrgecho "include confinc" > confmf 25109bc46bd4Smrg# Ignore all kinds of additional output from `make'. 25119bc46bd4Smrgcase `$am_make -s -f confmf 2> /dev/null` in #( 25129bc46bd4Smrg*the\ am__doit\ target*) 25139bc46bd4Smrg am__include=include 25149bc46bd4Smrg am__quote= 25159bc46bd4Smrg _am_result=GNU 25169bc46bd4Smrg ;; 25179bc46bd4Smrgesac 25189bc46bd4Smrg# Now try BSD make style include. 25199bc46bd4Smrgif test "$am__include" = "#"; then 25209bc46bd4Smrg echo '.include "confinc"' > confmf 25219bc46bd4Smrg case `$am_make -s -f confmf 2> /dev/null` in #( 25229bc46bd4Smrg *the\ am__doit\ target*) 25239bc46bd4Smrg am__include=.include 25249bc46bd4Smrg am__quote="\"" 25259bc46bd4Smrg _am_result=BSD 25269bc46bd4Smrg ;; 25279bc46bd4Smrg esac 25289bc46bd4Smrgfi 25299bc46bd4Smrg 25309bc46bd4Smrg 25319bc46bd4Smrg{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5 25329bc46bd4Smrg$as_echo "$_am_result" >&6; } 25339bc46bd4Smrgrm -f confinc confmf 25349bc46bd4Smrg 25359bc46bd4Smrg# Check whether --enable-dependency-tracking was given. 25369bc46bd4Smrgif test "${enable_dependency_tracking+set}" = set; then 25379bc46bd4Smrg enableval=$enable_dependency_tracking; 25389bc46bd4Smrgfi 25399bc46bd4Smrg 25409bc46bd4Smrgif test "x$enable_dependency_tracking" != xno; then 25419bc46bd4Smrg am_depcomp="$ac_aux_dir/depcomp" 25429bc46bd4Smrg AMDEPBACKSLASH='\' 25439bc46bd4Smrgfi 25449bc46bd4Smrg if test "x$enable_dependency_tracking" != xno; then 25459bc46bd4Smrg AMDEP_TRUE= 25469bc46bd4Smrg AMDEP_FALSE='#' 25479bc46bd4Smrgelse 25489bc46bd4Smrg AMDEP_TRUE='#' 25499bc46bd4Smrg AMDEP_FALSE= 25509bc46bd4Smrgfi 25519bc46bd4Smrg 25529bc46bd4Smrg 25539bc46bd4Smrgac_ext=c 25549bc46bd4Smrgac_cpp='$CPP $CPPFLAGS' 25559bc46bd4Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 25569bc46bd4Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 25579bc46bd4Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 25589bc46bd4Smrgif test -n "$ac_tool_prefix"; then 25599bc46bd4Smrg # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 25609bc46bd4Smrgset dummy ${ac_tool_prefix}gcc; ac_word=$2 25619bc46bd4Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 25629bc46bd4Smrg$as_echo_n "checking for $ac_word... " >&6; } 25639bc46bd4Smrgif test "${ac_cv_prog_CC+set}" = set; then 25649bc46bd4Smrg $as_echo_n "(cached) " >&6 25659bc46bd4Smrgelse 25669bc46bd4Smrg if test -n "$CC"; then 25679bc46bd4Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 25683294c433Smrgelse 25693294c433Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 25703294c433Smrgfor as_dir in $PATH 25713294c433Smrgdo 25723294c433Smrg IFS=$as_save_IFS 25733294c433Smrg test -z "$as_dir" && as_dir=. 25743294c433Smrg for ac_exec_ext in '' $ac_executable_extensions; do 25759bc46bd4Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 25769bc46bd4Smrg ac_cv_prog_CC="${ac_tool_prefix}gcc" 25779bc46bd4Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 25783294c433Smrg break 2 25793294c433Smrg fi 25803294c433Smrgdone 25813294c433Smrgdone 25829bc46bd4SmrgIFS=$as_save_IFS 25833294c433Smrg 25843294c433Smrgfi 25853294c433Smrgfi 25869bc46bd4SmrgCC=$ac_cv_prog_CC 25879bc46bd4Smrgif test -n "$CC"; then 25889bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: $CC" >&5 25899bc46bd4Smrg$as_echo "$CC" >&6; } 25903294c433Smrgelse 25919bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 25929bc46bd4Smrg$as_echo "no" >&6; } 25933294c433Smrgfi 25943294c433Smrg 25959bc46bd4Smrg 25963294c433Smrgfi 25979bc46bd4Smrgif test -z "$ac_cv_prog_CC"; then 25989bc46bd4Smrg ac_ct_CC=$CC 25999bc46bd4Smrg # Extract the first word of "gcc", so it can be a program name with args. 26009bc46bd4Smrgset dummy gcc; ac_word=$2 26019bc46bd4Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 26029bc46bd4Smrg$as_echo_n "checking for $ac_word... " >&6; } 26039bc46bd4Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 26049bc46bd4Smrg $as_echo_n "(cached) " >&6 26053294c433Smrgelse 26069bc46bd4Smrg if test -n "$ac_ct_CC"; then 26079bc46bd4Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 26083294c433Smrgelse 26093294c433Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 26103294c433Smrgfor as_dir in $PATH 26113294c433Smrgdo 26123294c433Smrg IFS=$as_save_IFS 26133294c433Smrg test -z "$as_dir" && as_dir=. 26143294c433Smrg for ac_exec_ext in '' $ac_executable_extensions; do 26159bc46bd4Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 26169bc46bd4Smrg ac_cv_prog_ac_ct_CC="gcc" 26179bc46bd4Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 26183294c433Smrg break 2 26193294c433Smrg fi 26203294c433Smrgdone 26213294c433Smrgdone 26229bc46bd4SmrgIFS=$as_save_IFS 26233294c433Smrg 26243294c433Smrgfi 26253294c433Smrgfi 26269bc46bd4Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 26279bc46bd4Smrgif test -n "$ac_ct_CC"; then 26289bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 26299bc46bd4Smrg$as_echo "$ac_ct_CC" >&6; } 26303294c433Smrgelse 26319bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 26329bc46bd4Smrg$as_echo "no" >&6; } 26333294c433Smrgfi 26343294c433Smrg 26359bc46bd4Smrg if test "x$ac_ct_CC" = x; then 26369bc46bd4Smrg CC="" 26379bc46bd4Smrg else 26389bc46bd4Smrg case $cross_compiling:$ac_tool_warned in 26399bc46bd4Smrgyes:) 26409bc46bd4Smrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 26419bc46bd4Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 26429bc46bd4Smrgac_tool_warned=yes ;; 26439bc46bd4Smrgesac 26449bc46bd4Smrg CC=$ac_ct_CC 26459bc46bd4Smrg fi 26463294c433Smrgelse 26479bc46bd4Smrg CC="$ac_cv_prog_CC" 26483294c433Smrgfi 26493294c433Smrg 26509bc46bd4Smrgif test -z "$CC"; then 26519bc46bd4Smrg if test -n "$ac_tool_prefix"; then 26529bc46bd4Smrg # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 26539bc46bd4Smrgset dummy ${ac_tool_prefix}cc; ac_word=$2 26549bc46bd4Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 26559bc46bd4Smrg$as_echo_n "checking for $ac_word... " >&6; } 26569bc46bd4Smrgif test "${ac_cv_prog_CC+set}" = set; then 26579bc46bd4Smrg $as_echo_n "(cached) " >&6 26583294c433Smrgelse 26599bc46bd4Smrg if test -n "$CC"; then 26609bc46bd4Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 26619bc46bd4Smrgelse 26629bc46bd4Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 26639bc46bd4Smrgfor as_dir in $PATH 26649bc46bd4Smrgdo 26659bc46bd4Smrg IFS=$as_save_IFS 26669bc46bd4Smrg test -z "$as_dir" && as_dir=. 26679bc46bd4Smrg for ac_exec_ext in '' $ac_executable_extensions; do 26689bc46bd4Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 26699bc46bd4Smrg ac_cv_prog_CC="${ac_tool_prefix}cc" 26709bc46bd4Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 26719bc46bd4Smrg break 2 26729bc46bd4Smrg fi 26739bc46bd4Smrgdone 26749bc46bd4Smrgdone 26759bc46bd4SmrgIFS=$as_save_IFS 26769bc46bd4Smrg 26779bc46bd4Smrgfi 26789bc46bd4Smrgfi 26799bc46bd4SmrgCC=$ac_cv_prog_CC 26809bc46bd4Smrgif test -n "$CC"; then 26819bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: $CC" >&5 26829bc46bd4Smrg$as_echo "$CC" >&6; } 26839bc46bd4Smrgelse 26849bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 26859bc46bd4Smrg$as_echo "no" >&6; } 26869bc46bd4Smrgfi 26879bc46bd4Smrg 26889bc46bd4Smrg 26899bc46bd4Smrg fi 26909bc46bd4Smrgfi 26919bc46bd4Smrgif test -z "$CC"; then 26929bc46bd4Smrg # Extract the first word of "cc", so it can be a program name with args. 26939bc46bd4Smrgset dummy cc; ac_word=$2 26949bc46bd4Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 26959bc46bd4Smrg$as_echo_n "checking for $ac_word... " >&6; } 26969bc46bd4Smrgif test "${ac_cv_prog_CC+set}" = set; then 26979bc46bd4Smrg $as_echo_n "(cached) " >&6 26989bc46bd4Smrgelse 26999bc46bd4Smrg if test -n "$CC"; then 27009bc46bd4Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 27019bc46bd4Smrgelse 27029bc46bd4Smrg ac_prog_rejected=no 27039bc46bd4Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 27049bc46bd4Smrgfor as_dir in $PATH 27059bc46bd4Smrgdo 27069bc46bd4Smrg IFS=$as_save_IFS 27079bc46bd4Smrg test -z "$as_dir" && as_dir=. 27089bc46bd4Smrg for ac_exec_ext in '' $ac_executable_extensions; do 27099bc46bd4Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 27109bc46bd4Smrg if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 27119bc46bd4Smrg ac_prog_rejected=yes 27129bc46bd4Smrg continue 27139bc46bd4Smrg fi 27149bc46bd4Smrg ac_cv_prog_CC="cc" 27159bc46bd4Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 27169bc46bd4Smrg break 2 27179bc46bd4Smrg fi 27189bc46bd4Smrgdone 27199bc46bd4Smrgdone 27209bc46bd4SmrgIFS=$as_save_IFS 27219bc46bd4Smrg 27229bc46bd4Smrgif test $ac_prog_rejected = yes; then 27239bc46bd4Smrg # We found a bogon in the path, so make sure we never use it. 27249bc46bd4Smrg set dummy $ac_cv_prog_CC 27259bc46bd4Smrg shift 27269bc46bd4Smrg if test $# != 0; then 27279bc46bd4Smrg # We chose a different compiler from the bogus one. 27289bc46bd4Smrg # However, it has the same basename, so the bogon will be chosen 27299bc46bd4Smrg # first if we set CC to just the basename; use the full file name. 27309bc46bd4Smrg shift 27319bc46bd4Smrg ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 27329bc46bd4Smrg fi 27339bc46bd4Smrgfi 27349bc46bd4Smrgfi 27359bc46bd4Smrgfi 27369bc46bd4SmrgCC=$ac_cv_prog_CC 27379bc46bd4Smrgif test -n "$CC"; then 27389bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: $CC" >&5 27399bc46bd4Smrg$as_echo "$CC" >&6; } 27409bc46bd4Smrgelse 27419bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 27429bc46bd4Smrg$as_echo "no" >&6; } 27439bc46bd4Smrgfi 27449bc46bd4Smrg 27459bc46bd4Smrg 27469bc46bd4Smrgfi 27479bc46bd4Smrgif test -z "$CC"; then 27489bc46bd4Smrg if test -n "$ac_tool_prefix"; then 27499bc46bd4Smrg for ac_prog in cl.exe 27509bc46bd4Smrg do 27519bc46bd4Smrg # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 27529bc46bd4Smrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2 27539bc46bd4Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 27549bc46bd4Smrg$as_echo_n "checking for $ac_word... " >&6; } 27559bc46bd4Smrgif test "${ac_cv_prog_CC+set}" = set; then 27569bc46bd4Smrg $as_echo_n "(cached) " >&6 27579bc46bd4Smrgelse 27589bc46bd4Smrg if test -n "$CC"; then 27599bc46bd4Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 27609bc46bd4Smrgelse 27619bc46bd4Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 27629bc46bd4Smrgfor as_dir in $PATH 27639bc46bd4Smrgdo 27649bc46bd4Smrg IFS=$as_save_IFS 27659bc46bd4Smrg test -z "$as_dir" && as_dir=. 27669bc46bd4Smrg for ac_exec_ext in '' $ac_executable_extensions; do 27679bc46bd4Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 27689bc46bd4Smrg ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 27699bc46bd4Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 27709bc46bd4Smrg break 2 27719bc46bd4Smrg fi 27729bc46bd4Smrgdone 27739bc46bd4Smrgdone 27749bc46bd4SmrgIFS=$as_save_IFS 27759bc46bd4Smrg 27769bc46bd4Smrgfi 27779bc46bd4Smrgfi 27789bc46bd4SmrgCC=$ac_cv_prog_CC 27799bc46bd4Smrgif test -n "$CC"; then 27809bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: $CC" >&5 27819bc46bd4Smrg$as_echo "$CC" >&6; } 27829bc46bd4Smrgelse 27839bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 27849bc46bd4Smrg$as_echo "no" >&6; } 27859bc46bd4Smrgfi 27869bc46bd4Smrg 27879bc46bd4Smrg 27889bc46bd4Smrg test -n "$CC" && break 27899bc46bd4Smrg done 27909bc46bd4Smrgfi 27919bc46bd4Smrgif test -z "$CC"; then 27929bc46bd4Smrg ac_ct_CC=$CC 27939bc46bd4Smrg for ac_prog in cl.exe 27949bc46bd4Smrgdo 27959bc46bd4Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 27969bc46bd4Smrgset dummy $ac_prog; ac_word=$2 27979bc46bd4Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 27989bc46bd4Smrg$as_echo_n "checking for $ac_word... " >&6; } 27999bc46bd4Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 28009bc46bd4Smrg $as_echo_n "(cached) " >&6 28019bc46bd4Smrgelse 28029bc46bd4Smrg if test -n "$ac_ct_CC"; then 28039bc46bd4Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 28049bc46bd4Smrgelse 28059bc46bd4Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 28069bc46bd4Smrgfor as_dir in $PATH 28079bc46bd4Smrgdo 28089bc46bd4Smrg IFS=$as_save_IFS 28099bc46bd4Smrg test -z "$as_dir" && as_dir=. 28109bc46bd4Smrg for ac_exec_ext in '' $ac_executable_extensions; do 28119bc46bd4Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 28129bc46bd4Smrg ac_cv_prog_ac_ct_CC="$ac_prog" 28139bc46bd4Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 28149bc46bd4Smrg break 2 28159bc46bd4Smrg fi 28169bc46bd4Smrgdone 28179bc46bd4Smrgdone 28189bc46bd4SmrgIFS=$as_save_IFS 28199bc46bd4Smrg 28209bc46bd4Smrgfi 28219bc46bd4Smrgfi 28229bc46bd4Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 28239bc46bd4Smrgif test -n "$ac_ct_CC"; then 28249bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 28259bc46bd4Smrg$as_echo "$ac_ct_CC" >&6; } 28269bc46bd4Smrgelse 28279bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 28289bc46bd4Smrg$as_echo "no" >&6; } 28299bc46bd4Smrgfi 28309bc46bd4Smrg 28319bc46bd4Smrg 28329bc46bd4Smrg test -n "$ac_ct_CC" && break 28339bc46bd4Smrgdone 28349bc46bd4Smrg 28359bc46bd4Smrg if test "x$ac_ct_CC" = x; then 28369bc46bd4Smrg CC="" 28379bc46bd4Smrg else 28389bc46bd4Smrg case $cross_compiling:$ac_tool_warned in 28399bc46bd4Smrgyes:) 28409bc46bd4Smrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 28419bc46bd4Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 28429bc46bd4Smrgac_tool_warned=yes ;; 28439bc46bd4Smrgesac 28449bc46bd4Smrg CC=$ac_ct_CC 28459bc46bd4Smrg fi 28469bc46bd4Smrgfi 28479bc46bd4Smrg 28489bc46bd4Smrgfi 28499bc46bd4Smrg 28509bc46bd4Smrg 28519bc46bd4Smrgtest -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 28529bc46bd4Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 28539bc46bd4Smrg{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 28549bc46bd4SmrgSee \`config.log' for more details." >&5 28559bc46bd4Smrg$as_echo "$as_me: error: no acceptable C compiler found in \$PATH 28569bc46bd4SmrgSee \`config.log' for more details." >&2;} 28579bc46bd4Smrg { (exit 1); exit 1; }; }; } 28589bc46bd4Smrg 28599bc46bd4Smrg# Provide some information about the compiler. 28609bc46bd4Smrg$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 28619bc46bd4Smrgset X $ac_compile 28629bc46bd4Smrgac_compiler=$2 28639bc46bd4Smrg{ (ac_try="$ac_compiler --version >&5" 28649bc46bd4Smrgcase "(($ac_try" in 28659bc46bd4Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28669bc46bd4Smrg *) ac_try_echo=$ac_try;; 28679bc46bd4Smrgesac 28689bc46bd4Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 28699bc46bd4Smrg$as_echo "$ac_try_echo") >&5 28709bc46bd4Smrg (eval "$ac_compiler --version >&5") 2>&5 28719bc46bd4Smrg ac_status=$? 28729bc46bd4Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 28739bc46bd4Smrg (exit $ac_status); } 28749bc46bd4Smrg{ (ac_try="$ac_compiler -v >&5" 28759bc46bd4Smrgcase "(($ac_try" in 28769bc46bd4Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28779bc46bd4Smrg *) ac_try_echo=$ac_try;; 28789bc46bd4Smrgesac 28799bc46bd4Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 28809bc46bd4Smrg$as_echo "$ac_try_echo") >&5 28819bc46bd4Smrg (eval "$ac_compiler -v >&5") 2>&5 28829bc46bd4Smrg ac_status=$? 28839bc46bd4Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 28849bc46bd4Smrg (exit $ac_status); } 28859bc46bd4Smrg{ (ac_try="$ac_compiler -V >&5" 28869bc46bd4Smrgcase "(($ac_try" in 28879bc46bd4Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28889bc46bd4Smrg *) ac_try_echo=$ac_try;; 28899bc46bd4Smrgesac 28909bc46bd4Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 28919bc46bd4Smrg$as_echo "$ac_try_echo") >&5 28929bc46bd4Smrg (eval "$ac_compiler -V >&5") 2>&5 28939bc46bd4Smrg ac_status=$? 28949bc46bd4Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 28959bc46bd4Smrg (exit $ac_status); } 28969bc46bd4Smrg 28979bc46bd4Smrgcat >conftest.$ac_ext <<_ACEOF 28989bc46bd4Smrg/* confdefs.h. */ 28999bc46bd4Smrg_ACEOF 29009bc46bd4Smrgcat confdefs.h >>conftest.$ac_ext 29019bc46bd4Smrgcat >>conftest.$ac_ext <<_ACEOF 29029bc46bd4Smrg/* end confdefs.h. */ 29039bc46bd4Smrg 29049bc46bd4Smrgint 29059bc46bd4Smrgmain () 29069bc46bd4Smrg{ 29079bc46bd4Smrg 29089bc46bd4Smrg ; 29099bc46bd4Smrg return 0; 29109bc46bd4Smrg} 29119bc46bd4Smrg_ACEOF 29129bc46bd4Smrgac_clean_files_save=$ac_clean_files 29139bc46bd4Smrgac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 29149bc46bd4Smrg# Try to create an executable without -o first, disregard a.out. 29159bc46bd4Smrg# It will help us diagnose broken compilers, and finding out an intuition 29169bc46bd4Smrg# of exeext. 29179bc46bd4Smrg{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 29189bc46bd4Smrg$as_echo_n "checking for C compiler default output file name... " >&6; } 29199bc46bd4Smrgac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 29209bc46bd4Smrg 29219bc46bd4Smrg# The possible output files: 29229bc46bd4Smrgac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 29239bc46bd4Smrg 29249bc46bd4Smrgac_rmfiles= 29259bc46bd4Smrgfor ac_file in $ac_files 29269bc46bd4Smrgdo 29279bc46bd4Smrg case $ac_file in 29289bc46bd4Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 29299bc46bd4Smrg * ) ac_rmfiles="$ac_rmfiles $ac_file";; 29309bc46bd4Smrg esac 29319bc46bd4Smrgdone 29329bc46bd4Smrgrm -f $ac_rmfiles 29339bc46bd4Smrg 29349bc46bd4Smrgif { (ac_try="$ac_link_default" 29359bc46bd4Smrgcase "(($ac_try" in 29369bc46bd4Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 29379bc46bd4Smrg *) ac_try_echo=$ac_try;; 29389bc46bd4Smrgesac 29399bc46bd4Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 29409bc46bd4Smrg$as_echo "$ac_try_echo") >&5 29419bc46bd4Smrg (eval "$ac_link_default") 2>&5 29429bc46bd4Smrg ac_status=$? 29439bc46bd4Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 29449bc46bd4Smrg (exit $ac_status); }; then 29459bc46bd4Smrg # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 29469bc46bd4Smrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 29479bc46bd4Smrg# in a Makefile. We should not override ac_cv_exeext if it was cached, 29489bc46bd4Smrg# so that the user can short-circuit this test for compilers unknown to 29499bc46bd4Smrg# Autoconf. 29509bc46bd4Smrgfor ac_file in $ac_files '' 29519bc46bd4Smrgdo 29529bc46bd4Smrg test -f "$ac_file" || continue 29539bc46bd4Smrg case $ac_file in 29549bc46bd4Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 29559bc46bd4Smrg ;; 29569bc46bd4Smrg [ab].out ) 29579bc46bd4Smrg # We found the default executable, but exeext='' is most 29589bc46bd4Smrg # certainly right. 29599bc46bd4Smrg break;; 29609bc46bd4Smrg *.* ) 29619bc46bd4Smrg if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 29629bc46bd4Smrg then :; else 29639bc46bd4Smrg ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 29649bc46bd4Smrg fi 29659bc46bd4Smrg # We set ac_cv_exeext here because the later test for it is not 29669bc46bd4Smrg # safe: cross compilers may not add the suffix if given an `-o' 29679bc46bd4Smrg # argument, so we may need to know it at that point already. 29689bc46bd4Smrg # Even if this section looks crufty: it has the advantage of 29699bc46bd4Smrg # actually working. 29709bc46bd4Smrg break;; 29719bc46bd4Smrg * ) 29729bc46bd4Smrg break;; 29739bc46bd4Smrg esac 29749bc46bd4Smrgdone 29759bc46bd4Smrgtest "$ac_cv_exeext" = no && ac_cv_exeext= 29769bc46bd4Smrg 29779bc46bd4Smrgelse 29789bc46bd4Smrg ac_file='' 29799bc46bd4Smrgfi 29809bc46bd4Smrg 29819bc46bd4Smrg{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5 29829bc46bd4Smrg$as_echo "$ac_file" >&6; } 29839bc46bd4Smrgif test -z "$ac_file"; then 29849bc46bd4Smrg $as_echo "$as_me: failed program was:" >&5 29859bc46bd4Smrgsed 's/^/| /' conftest.$ac_ext >&5 29869bc46bd4Smrg 29879bc46bd4Smrg{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 29889bc46bd4Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 29899bc46bd4Smrg{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 29909bc46bd4SmrgSee \`config.log' for more details." >&5 29919bc46bd4Smrg$as_echo "$as_me: error: C compiler cannot create executables 29929bc46bd4SmrgSee \`config.log' for more details." >&2;} 29939bc46bd4Smrg { (exit 77); exit 77; }; }; } 29949bc46bd4Smrgfi 29959bc46bd4Smrg 29969bc46bd4Smrgac_exeext=$ac_cv_exeext 29979bc46bd4Smrg 29989bc46bd4Smrg# Check that the compiler produces executables we can run. If not, either 29999bc46bd4Smrg# the compiler is broken, or we cross compile. 30009bc46bd4Smrg{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 30019bc46bd4Smrg$as_echo_n "checking whether the C compiler works... " >&6; } 30029bc46bd4Smrg# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 30039bc46bd4Smrg# If not cross compiling, check that we can run a simple program. 30049bc46bd4Smrgif test "$cross_compiling" != yes; then 30059bc46bd4Smrg if { ac_try='./$ac_file' 30069bc46bd4Smrg { (case "(($ac_try" in 30079bc46bd4Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 30089bc46bd4Smrg *) ac_try_echo=$ac_try;; 30099bc46bd4Smrgesac 30109bc46bd4Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 30119bc46bd4Smrg$as_echo "$ac_try_echo") >&5 30129bc46bd4Smrg (eval "$ac_try") 2>&5 30139bc46bd4Smrg ac_status=$? 30149bc46bd4Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 30159bc46bd4Smrg (exit $ac_status); }; }; then 30169bc46bd4Smrg cross_compiling=no 30179bc46bd4Smrg else 30189bc46bd4Smrg if test "$cross_compiling" = maybe; then 30199bc46bd4Smrg cross_compiling=yes 30209bc46bd4Smrg else 30219bc46bd4Smrg { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 30229bc46bd4Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 30239bc46bd4Smrg{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 30249bc46bd4SmrgIf you meant to cross compile, use \`--host'. 30259bc46bd4SmrgSee \`config.log' for more details." >&5 30269bc46bd4Smrg$as_echo "$as_me: error: cannot run C compiled programs. 30279bc46bd4SmrgIf you meant to cross compile, use \`--host'. 30289bc46bd4SmrgSee \`config.log' for more details." >&2;} 30299bc46bd4Smrg { (exit 1); exit 1; }; }; } 30309bc46bd4Smrg fi 30319bc46bd4Smrg fi 30329bc46bd4Smrgfi 30339bc46bd4Smrg{ $as_echo "$as_me:$LINENO: result: yes" >&5 30349bc46bd4Smrg$as_echo "yes" >&6; } 30359bc46bd4Smrg 30369bc46bd4Smrgrm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 30379bc46bd4Smrgac_clean_files=$ac_clean_files_save 30389bc46bd4Smrg# Check that the compiler produces executables we can run. If not, either 30399bc46bd4Smrg# the compiler is broken, or we cross compile. 30409bc46bd4Smrg{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 30419bc46bd4Smrg$as_echo_n "checking whether we are cross compiling... " >&6; } 30429bc46bd4Smrg{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 30439bc46bd4Smrg$as_echo "$cross_compiling" >&6; } 30449bc46bd4Smrg 30459bc46bd4Smrg{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 30469bc46bd4Smrg$as_echo_n "checking for suffix of executables... " >&6; } 30479bc46bd4Smrgif { (ac_try="$ac_link" 30489bc46bd4Smrgcase "(($ac_try" in 30499bc46bd4Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 30509bc46bd4Smrg *) ac_try_echo=$ac_try;; 30519bc46bd4Smrgesac 30529bc46bd4Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 30539bc46bd4Smrg$as_echo "$ac_try_echo") >&5 30549bc46bd4Smrg (eval "$ac_link") 2>&5 30559bc46bd4Smrg ac_status=$? 30569bc46bd4Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 30579bc46bd4Smrg (exit $ac_status); }; then 30589bc46bd4Smrg # If both `conftest.exe' and `conftest' are `present' (well, observable) 30599bc46bd4Smrg# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 30609bc46bd4Smrg# work properly (i.e., refer to `conftest.exe'), while it won't with 30619bc46bd4Smrg# `rm'. 30629bc46bd4Smrgfor ac_file in conftest.exe conftest conftest.*; do 30639bc46bd4Smrg test -f "$ac_file" || continue 30649bc46bd4Smrg case $ac_file in 30659bc46bd4Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 30669bc46bd4Smrg *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 30679bc46bd4Smrg break;; 30689bc46bd4Smrg * ) break;; 30699bc46bd4Smrg esac 30709bc46bd4Smrgdone 30719bc46bd4Smrgelse 30729bc46bd4Smrg { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 30739bc46bd4Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 30749bc46bd4Smrg{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 30759bc46bd4SmrgSee \`config.log' for more details." >&5 30769bc46bd4Smrg$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 30779bc46bd4SmrgSee \`config.log' for more details." >&2;} 30789bc46bd4Smrg { (exit 1); exit 1; }; }; } 30799bc46bd4Smrgfi 30809bc46bd4Smrg 30819bc46bd4Smrgrm -f conftest$ac_cv_exeext 30829bc46bd4Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 30839bc46bd4Smrg$as_echo "$ac_cv_exeext" >&6; } 30849bc46bd4Smrg 30859bc46bd4Smrgrm -f conftest.$ac_ext 30869bc46bd4SmrgEXEEXT=$ac_cv_exeext 30879bc46bd4Smrgac_exeext=$EXEEXT 30889bc46bd4Smrg{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 30899bc46bd4Smrg$as_echo_n "checking for suffix of object files... " >&6; } 30909bc46bd4Smrgif test "${ac_cv_objext+set}" = set; then 30919bc46bd4Smrg $as_echo_n "(cached) " >&6 30929bc46bd4Smrgelse 30939bc46bd4Smrg cat >conftest.$ac_ext <<_ACEOF 30949bc46bd4Smrg/* confdefs.h. */ 30959bc46bd4Smrg_ACEOF 30969bc46bd4Smrgcat confdefs.h >>conftest.$ac_ext 30979bc46bd4Smrgcat >>conftest.$ac_ext <<_ACEOF 30989bc46bd4Smrg/* end confdefs.h. */ 30999bc46bd4Smrg 31009bc46bd4Smrgint 31019bc46bd4Smrgmain () 31029bc46bd4Smrg{ 31039bc46bd4Smrg 31049bc46bd4Smrg ; 31059bc46bd4Smrg return 0; 31069bc46bd4Smrg} 31079bc46bd4Smrg_ACEOF 31089bc46bd4Smrgrm -f conftest.o conftest.obj 31099bc46bd4Smrgif { (ac_try="$ac_compile" 31109bc46bd4Smrgcase "(($ac_try" in 31119bc46bd4Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 31129bc46bd4Smrg *) ac_try_echo=$ac_try;; 31139bc46bd4Smrgesac 31149bc46bd4Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 31159bc46bd4Smrg$as_echo "$ac_try_echo") >&5 31169bc46bd4Smrg (eval "$ac_compile") 2>&5 31179bc46bd4Smrg ac_status=$? 31189bc46bd4Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 31199bc46bd4Smrg (exit $ac_status); }; then 31209bc46bd4Smrg for ac_file in conftest.o conftest.obj conftest.*; do 31219bc46bd4Smrg test -f "$ac_file" || continue; 31229bc46bd4Smrg case $ac_file in 31239bc46bd4Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 31249bc46bd4Smrg *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 31259bc46bd4Smrg break;; 31269bc46bd4Smrg esac 31279bc46bd4Smrgdone 31289bc46bd4Smrgelse 31299bc46bd4Smrg $as_echo "$as_me: failed program was:" >&5 31309bc46bd4Smrgsed 's/^/| /' conftest.$ac_ext >&5 31319bc46bd4Smrg 31329bc46bd4Smrg{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 31339bc46bd4Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 31349bc46bd4Smrg{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 31359bc46bd4SmrgSee \`config.log' for more details." >&5 31369bc46bd4Smrg$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 31379bc46bd4SmrgSee \`config.log' for more details." >&2;} 31389bc46bd4Smrg { (exit 1); exit 1; }; }; } 31399bc46bd4Smrgfi 31409bc46bd4Smrg 31419bc46bd4Smrgrm -f conftest.$ac_cv_objext conftest.$ac_ext 31429bc46bd4Smrgfi 31439bc46bd4Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 31449bc46bd4Smrg$as_echo "$ac_cv_objext" >&6; } 31459bc46bd4SmrgOBJEXT=$ac_cv_objext 31469bc46bd4Smrgac_objext=$OBJEXT 31479bc46bd4Smrg{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 31489bc46bd4Smrg$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 31499bc46bd4Smrgif test "${ac_cv_c_compiler_gnu+set}" = set; then 31509bc46bd4Smrg $as_echo_n "(cached) " >&6 31519bc46bd4Smrgelse 31529bc46bd4Smrg cat >conftest.$ac_ext <<_ACEOF 31539bc46bd4Smrg/* confdefs.h. */ 31549bc46bd4Smrg_ACEOF 31559bc46bd4Smrgcat confdefs.h >>conftest.$ac_ext 31569bc46bd4Smrgcat >>conftest.$ac_ext <<_ACEOF 31579bc46bd4Smrg/* end confdefs.h. */ 31589bc46bd4Smrg 31599bc46bd4Smrgint 31609bc46bd4Smrgmain () 31619bc46bd4Smrg{ 31629bc46bd4Smrg#ifndef __GNUC__ 31639bc46bd4Smrg choke me 31649bc46bd4Smrg#endif 31659bc46bd4Smrg 31669bc46bd4Smrg ; 31679bc46bd4Smrg return 0; 31689bc46bd4Smrg} 31699bc46bd4Smrg_ACEOF 31709bc46bd4Smrgrm -f conftest.$ac_objext 31719bc46bd4Smrgif { (ac_try="$ac_compile" 31729bc46bd4Smrgcase "(($ac_try" in 31739bc46bd4Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 31749bc46bd4Smrg *) ac_try_echo=$ac_try;; 31759bc46bd4Smrgesac 31769bc46bd4Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 31779bc46bd4Smrg$as_echo "$ac_try_echo") >&5 31789bc46bd4Smrg (eval "$ac_compile") 2>conftest.er1 31799bc46bd4Smrg ac_status=$? 31809bc46bd4Smrg grep -v '^ *+' conftest.er1 >conftest.err 31819bc46bd4Smrg rm -f conftest.er1 31829bc46bd4Smrg cat conftest.err >&5 31839bc46bd4Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 31849bc46bd4Smrg (exit $ac_status); } && { 31859bc46bd4Smrg test -z "$ac_c_werror_flag" || 31869bc46bd4Smrg test ! -s conftest.err 31879bc46bd4Smrg } && test -s conftest.$ac_objext; then 31889bc46bd4Smrg ac_compiler_gnu=yes 31899bc46bd4Smrgelse 31909bc46bd4Smrg $as_echo "$as_me: failed program was:" >&5 31919bc46bd4Smrgsed 's/^/| /' conftest.$ac_ext >&5 31929bc46bd4Smrg 31939bc46bd4Smrg ac_compiler_gnu=no 31949bc46bd4Smrgfi 31959bc46bd4Smrg 31969bc46bd4Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 31979bc46bd4Smrgac_cv_c_compiler_gnu=$ac_compiler_gnu 31989bc46bd4Smrg 31999bc46bd4Smrgfi 32009bc46bd4Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 32019bc46bd4Smrg$as_echo "$ac_cv_c_compiler_gnu" >&6; } 32029bc46bd4Smrgif test $ac_compiler_gnu = yes; then 32039bc46bd4Smrg GCC=yes 32049bc46bd4Smrgelse 32059bc46bd4Smrg GCC= 32069bc46bd4Smrgfi 32079bc46bd4Smrgac_test_CFLAGS=${CFLAGS+set} 32089bc46bd4Smrgac_save_CFLAGS=$CFLAGS 32099bc46bd4Smrg{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 32109bc46bd4Smrg$as_echo_n "checking whether $CC accepts -g... " >&6; } 32119bc46bd4Smrgif test "${ac_cv_prog_cc_g+set}" = set; then 32129bc46bd4Smrg $as_echo_n "(cached) " >&6 32139bc46bd4Smrgelse 32149bc46bd4Smrg ac_save_c_werror_flag=$ac_c_werror_flag 32159bc46bd4Smrg ac_c_werror_flag=yes 32169bc46bd4Smrg ac_cv_prog_cc_g=no 32179bc46bd4Smrg CFLAGS="-g" 32189bc46bd4Smrg cat >conftest.$ac_ext <<_ACEOF 32199bc46bd4Smrg/* confdefs.h. */ 32209bc46bd4Smrg_ACEOF 32219bc46bd4Smrgcat confdefs.h >>conftest.$ac_ext 32229bc46bd4Smrgcat >>conftest.$ac_ext <<_ACEOF 32239bc46bd4Smrg/* end confdefs.h. */ 32249bc46bd4Smrg 32259bc46bd4Smrgint 32269bc46bd4Smrgmain () 32279bc46bd4Smrg{ 32289bc46bd4Smrg 32299bc46bd4Smrg ; 32309bc46bd4Smrg return 0; 32319bc46bd4Smrg} 32329bc46bd4Smrg_ACEOF 32339bc46bd4Smrgrm -f conftest.$ac_objext 32349bc46bd4Smrgif { (ac_try="$ac_compile" 32359bc46bd4Smrgcase "(($ac_try" in 32369bc46bd4Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 32379bc46bd4Smrg *) ac_try_echo=$ac_try;; 32389bc46bd4Smrgesac 32399bc46bd4Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 32409bc46bd4Smrg$as_echo "$ac_try_echo") >&5 32419bc46bd4Smrg (eval "$ac_compile") 2>conftest.er1 32429bc46bd4Smrg ac_status=$? 32439bc46bd4Smrg grep -v '^ *+' conftest.er1 >conftest.err 32449bc46bd4Smrg rm -f conftest.er1 32459bc46bd4Smrg cat conftest.err >&5 32469bc46bd4Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 32479bc46bd4Smrg (exit $ac_status); } && { 32489bc46bd4Smrg test -z "$ac_c_werror_flag" || 32499bc46bd4Smrg test ! -s conftest.err 32509bc46bd4Smrg } && test -s conftest.$ac_objext; then 32519bc46bd4Smrg ac_cv_prog_cc_g=yes 32529bc46bd4Smrgelse 32539bc46bd4Smrg $as_echo "$as_me: failed program was:" >&5 32549bc46bd4Smrgsed 's/^/| /' conftest.$ac_ext >&5 32559bc46bd4Smrg 32569bc46bd4Smrg CFLAGS="" 32579bc46bd4Smrg cat >conftest.$ac_ext <<_ACEOF 32589bc46bd4Smrg/* confdefs.h. */ 32599bc46bd4Smrg_ACEOF 32609bc46bd4Smrgcat confdefs.h >>conftest.$ac_ext 32619bc46bd4Smrgcat >>conftest.$ac_ext <<_ACEOF 32629bc46bd4Smrg/* end confdefs.h. */ 32639bc46bd4Smrg 32649bc46bd4Smrgint 32659bc46bd4Smrgmain () 32669bc46bd4Smrg{ 32679bc46bd4Smrg 32689bc46bd4Smrg ; 32699bc46bd4Smrg return 0; 32709bc46bd4Smrg} 32719bc46bd4Smrg_ACEOF 32729bc46bd4Smrgrm -f conftest.$ac_objext 32739bc46bd4Smrgif { (ac_try="$ac_compile" 32749bc46bd4Smrgcase "(($ac_try" in 32759bc46bd4Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 32769bc46bd4Smrg *) ac_try_echo=$ac_try;; 32779bc46bd4Smrgesac 32789bc46bd4Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 32799bc46bd4Smrg$as_echo "$ac_try_echo") >&5 32809bc46bd4Smrg (eval "$ac_compile") 2>conftest.er1 32819bc46bd4Smrg ac_status=$? 32829bc46bd4Smrg grep -v '^ *+' conftest.er1 >conftest.err 32839bc46bd4Smrg rm -f conftest.er1 32849bc46bd4Smrg cat conftest.err >&5 32859bc46bd4Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 32869bc46bd4Smrg (exit $ac_status); } && { 32879bc46bd4Smrg test -z "$ac_c_werror_flag" || 32889bc46bd4Smrg test ! -s conftest.err 32899bc46bd4Smrg } && test -s conftest.$ac_objext; then 32909bc46bd4Smrg : 32919bc46bd4Smrgelse 32929bc46bd4Smrg $as_echo "$as_me: failed program was:" >&5 32939bc46bd4Smrgsed 's/^/| /' conftest.$ac_ext >&5 32949bc46bd4Smrg 32959bc46bd4Smrg ac_c_werror_flag=$ac_save_c_werror_flag 32969bc46bd4Smrg CFLAGS="-g" 32979bc46bd4Smrg cat >conftest.$ac_ext <<_ACEOF 32989bc46bd4Smrg/* confdefs.h. */ 32999bc46bd4Smrg_ACEOF 33009bc46bd4Smrgcat confdefs.h >>conftest.$ac_ext 33019bc46bd4Smrgcat >>conftest.$ac_ext <<_ACEOF 33029bc46bd4Smrg/* end confdefs.h. */ 33039bc46bd4Smrg 33049bc46bd4Smrgint 33059bc46bd4Smrgmain () 33069bc46bd4Smrg{ 33079bc46bd4Smrg 33089bc46bd4Smrg ; 33099bc46bd4Smrg return 0; 33109bc46bd4Smrg} 33119bc46bd4Smrg_ACEOF 33129bc46bd4Smrgrm -f conftest.$ac_objext 33139bc46bd4Smrgif { (ac_try="$ac_compile" 33149bc46bd4Smrgcase "(($ac_try" in 33159bc46bd4Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 33169bc46bd4Smrg *) ac_try_echo=$ac_try;; 33179bc46bd4Smrgesac 33189bc46bd4Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 33199bc46bd4Smrg$as_echo "$ac_try_echo") >&5 33209bc46bd4Smrg (eval "$ac_compile") 2>conftest.er1 33219bc46bd4Smrg ac_status=$? 33229bc46bd4Smrg grep -v '^ *+' conftest.er1 >conftest.err 33239bc46bd4Smrg rm -f conftest.er1 33249bc46bd4Smrg cat conftest.err >&5 33259bc46bd4Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 33269bc46bd4Smrg (exit $ac_status); } && { 33279bc46bd4Smrg test -z "$ac_c_werror_flag" || 33289bc46bd4Smrg test ! -s conftest.err 33299bc46bd4Smrg } && test -s conftest.$ac_objext; then 33309bc46bd4Smrg ac_cv_prog_cc_g=yes 33319bc46bd4Smrgelse 33329bc46bd4Smrg $as_echo "$as_me: failed program was:" >&5 33339bc46bd4Smrgsed 's/^/| /' conftest.$ac_ext >&5 33349bc46bd4Smrg 33359bc46bd4Smrg 33369bc46bd4Smrgfi 33379bc46bd4Smrg 33389bc46bd4Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 33399bc46bd4Smrgfi 33409bc46bd4Smrg 33419bc46bd4Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 33429bc46bd4Smrgfi 33439bc46bd4Smrg 33449bc46bd4Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 33459bc46bd4Smrg ac_c_werror_flag=$ac_save_c_werror_flag 33469bc46bd4Smrgfi 33479bc46bd4Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 33489bc46bd4Smrg$as_echo "$ac_cv_prog_cc_g" >&6; } 33499bc46bd4Smrgif test "$ac_test_CFLAGS" = set; then 33509bc46bd4Smrg CFLAGS=$ac_save_CFLAGS 33519bc46bd4Smrgelif test $ac_cv_prog_cc_g = yes; then 33529bc46bd4Smrg if test "$GCC" = yes; then 33539bc46bd4Smrg CFLAGS="-g -O2" 33549bc46bd4Smrg else 33559bc46bd4Smrg CFLAGS="-g" 33569bc46bd4Smrg fi 33579bc46bd4Smrgelse 33589bc46bd4Smrg if test "$GCC" = yes; then 33599bc46bd4Smrg CFLAGS="-O2" 33609bc46bd4Smrg else 33619bc46bd4Smrg CFLAGS= 33629bc46bd4Smrg fi 33639bc46bd4Smrgfi 33649bc46bd4Smrg{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 33659bc46bd4Smrg$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 33669bc46bd4Smrgif test "${ac_cv_prog_cc_c89+set}" = set; then 33679bc46bd4Smrg $as_echo_n "(cached) " >&6 33689bc46bd4Smrgelse 33699bc46bd4Smrg ac_cv_prog_cc_c89=no 33709bc46bd4Smrgac_save_CC=$CC 33719bc46bd4Smrgcat >conftest.$ac_ext <<_ACEOF 33729bc46bd4Smrg/* confdefs.h. */ 33739bc46bd4Smrg_ACEOF 33749bc46bd4Smrgcat confdefs.h >>conftest.$ac_ext 33759bc46bd4Smrgcat >>conftest.$ac_ext <<_ACEOF 33769bc46bd4Smrg/* end confdefs.h. */ 33779bc46bd4Smrg#include <stdarg.h> 33789bc46bd4Smrg#include <stdio.h> 33799bc46bd4Smrg#include <sys/types.h> 33809bc46bd4Smrg#include <sys/stat.h> 33819bc46bd4Smrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 33829bc46bd4Smrgstruct buf { int x; }; 33839bc46bd4SmrgFILE * (*rcsopen) (struct buf *, struct stat *, int); 33849bc46bd4Smrgstatic char *e (p, i) 33859bc46bd4Smrg char **p; 33869bc46bd4Smrg int i; 33879bc46bd4Smrg{ 33889bc46bd4Smrg return p[i]; 33899bc46bd4Smrg} 33909bc46bd4Smrgstatic char *f (char * (*g) (char **, int), char **p, ...) 33919bc46bd4Smrg{ 33929bc46bd4Smrg char *s; 33939bc46bd4Smrg va_list v; 33949bc46bd4Smrg va_start (v,p); 33959bc46bd4Smrg s = g (p, va_arg (v,int)); 33969bc46bd4Smrg va_end (v); 33979bc46bd4Smrg return s; 33989bc46bd4Smrg} 33999bc46bd4Smrg 34009bc46bd4Smrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 34019bc46bd4Smrg function prototypes and stuff, but not '\xHH' hex character constants. 34029bc46bd4Smrg These don't provoke an error unfortunately, instead are silently treated 34039bc46bd4Smrg as 'x'. The following induces an error, until -std is added to get 34049bc46bd4Smrg proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 34059bc46bd4Smrg array size at least. It's necessary to write '\x00'==0 to get something 34069bc46bd4Smrg that's true only with -std. */ 34079bc46bd4Smrgint osf4_cc_array ['\x00' == 0 ? 1 : -1]; 34089bc46bd4Smrg 34099bc46bd4Smrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 34109bc46bd4Smrg inside strings and character constants. */ 34119bc46bd4Smrg#define FOO(x) 'x' 34129bc46bd4Smrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 34139bc46bd4Smrg 34149bc46bd4Smrgint test (int i, double x); 34159bc46bd4Smrgstruct s1 {int (*f) (int a);}; 34169bc46bd4Smrgstruct s2 {int (*f) (double a);}; 34179bc46bd4Smrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 34189bc46bd4Smrgint argc; 34199bc46bd4Smrgchar **argv; 34209bc46bd4Smrgint 34219bc46bd4Smrgmain () 34229bc46bd4Smrg{ 34239bc46bd4Smrgreturn f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 34249bc46bd4Smrg ; 34259bc46bd4Smrg return 0; 34269bc46bd4Smrg} 34279bc46bd4Smrg_ACEOF 34289bc46bd4Smrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 34299bc46bd4Smrg -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 34309bc46bd4Smrgdo 34319bc46bd4Smrg CC="$ac_save_CC $ac_arg" 34329bc46bd4Smrg rm -f conftest.$ac_objext 34339bc46bd4Smrgif { (ac_try="$ac_compile" 34349bc46bd4Smrgcase "(($ac_try" in 34359bc46bd4Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 34369bc46bd4Smrg *) ac_try_echo=$ac_try;; 34379bc46bd4Smrgesac 34389bc46bd4Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 34399bc46bd4Smrg$as_echo "$ac_try_echo") >&5 34409bc46bd4Smrg (eval "$ac_compile") 2>conftest.er1 34419bc46bd4Smrg ac_status=$? 34429bc46bd4Smrg grep -v '^ *+' conftest.er1 >conftest.err 34439bc46bd4Smrg rm -f conftest.er1 34449bc46bd4Smrg cat conftest.err >&5 34459bc46bd4Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 34469bc46bd4Smrg (exit $ac_status); } && { 34479bc46bd4Smrg test -z "$ac_c_werror_flag" || 34489bc46bd4Smrg test ! -s conftest.err 34499bc46bd4Smrg } && test -s conftest.$ac_objext; then 34509bc46bd4Smrg ac_cv_prog_cc_c89=$ac_arg 34519bc46bd4Smrgelse 34529bc46bd4Smrg $as_echo "$as_me: failed program was:" >&5 34539bc46bd4Smrgsed 's/^/| /' conftest.$ac_ext >&5 34549bc46bd4Smrg 34559bc46bd4Smrg 34569bc46bd4Smrgfi 34579bc46bd4Smrg 34589bc46bd4Smrgrm -f core conftest.err conftest.$ac_objext 34599bc46bd4Smrg test "x$ac_cv_prog_cc_c89" != "xno" && break 34609bc46bd4Smrgdone 34619bc46bd4Smrgrm -f conftest.$ac_ext 34629bc46bd4SmrgCC=$ac_save_CC 34639bc46bd4Smrg 34649bc46bd4Smrgfi 34659bc46bd4Smrg# AC_CACHE_VAL 34669bc46bd4Smrgcase "x$ac_cv_prog_cc_c89" in 34679bc46bd4Smrg x) 34689bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: none needed" >&5 34699bc46bd4Smrg$as_echo "none needed" >&6; } ;; 34709bc46bd4Smrg xno) 34719bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: unsupported" >&5 34729bc46bd4Smrg$as_echo "unsupported" >&6; } ;; 34739bc46bd4Smrg *) 34749bc46bd4Smrg CC="$CC $ac_cv_prog_cc_c89" 34759bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 34769bc46bd4Smrg$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 34779bc46bd4Smrgesac 34789bc46bd4Smrg 34799bc46bd4Smrg 34809bc46bd4Smrgac_ext=c 34819bc46bd4Smrgac_cpp='$CPP $CPPFLAGS' 34829bc46bd4Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 34839bc46bd4Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 34849bc46bd4Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 34859bc46bd4Smrg 34869bc46bd4Smrgdepcc="$CC" am_compiler_list= 34879bc46bd4Smrg 34889bc46bd4Smrg{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 34899bc46bd4Smrg$as_echo_n "checking dependency style of $depcc... " >&6; } 34909bc46bd4Smrgif test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 34919bc46bd4Smrg $as_echo_n "(cached) " >&6 34929bc46bd4Smrgelse 34939bc46bd4Smrg if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 34949bc46bd4Smrg # We make a subdir and do the tests there. Otherwise we can end up 34959bc46bd4Smrg # making bogus files that we don't know about and never remove. For 34969bc46bd4Smrg # instance it was reported that on HP-UX the gcc test will end up 34979bc46bd4Smrg # making a dummy file named `D' -- because `-MD' means `put the output 34989bc46bd4Smrg # in D'. 34999bc46bd4Smrg mkdir conftest.dir 35009bc46bd4Smrg # Copy depcomp to subdir because otherwise we won't find it if we're 35019bc46bd4Smrg # using a relative directory. 35029bc46bd4Smrg cp "$am_depcomp" conftest.dir 35039bc46bd4Smrg cd conftest.dir 35049bc46bd4Smrg # We will build objects and dependencies in a subdirectory because 35059bc46bd4Smrg # it helps to detect inapplicable dependency modes. For instance 35069bc46bd4Smrg # both Tru64's cc and ICC support -MD to output dependencies as a 35079bc46bd4Smrg # side effect of compilation, but ICC will put the dependencies in 35089bc46bd4Smrg # the current directory while Tru64 will put them in the object 35099bc46bd4Smrg # directory. 35109bc46bd4Smrg mkdir sub 35119bc46bd4Smrg 35129bc46bd4Smrg am_cv_CC_dependencies_compiler_type=none 35139bc46bd4Smrg if test "$am_compiler_list" = ""; then 35149bc46bd4Smrg am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 35159bc46bd4Smrg fi 35169bc46bd4Smrg am__universal=false 35179bc46bd4Smrg case " $depcc " in #( 35189bc46bd4Smrg *\ -arch\ *\ -arch\ *) am__universal=true ;; 35199bc46bd4Smrg esac 35209bc46bd4Smrg 35219bc46bd4Smrg for depmode in $am_compiler_list; do 35229bc46bd4Smrg # Setup a source with many dependencies, because some compilers 35239bc46bd4Smrg # like to wrap large dependency lists on column 80 (with \), and 35249bc46bd4Smrg # we should not choose a depcomp mode which is confused by this. 35259bc46bd4Smrg # 35269bc46bd4Smrg # We need to recreate these files for each test, as the compiler may 35279bc46bd4Smrg # overwrite some of them when testing with obscure command lines. 35289bc46bd4Smrg # This happens at least with the AIX C compiler. 35299bc46bd4Smrg : > sub/conftest.c 35309bc46bd4Smrg for i in 1 2 3 4 5 6; do 35319bc46bd4Smrg echo '#include "conftst'$i'.h"' >> sub/conftest.c 35329bc46bd4Smrg # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 35339bc46bd4Smrg # Solaris 8's {/usr,}/bin/sh. 35349bc46bd4Smrg touch sub/conftst$i.h 35359bc46bd4Smrg done 35369bc46bd4Smrg echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 35379bc46bd4Smrg 35389bc46bd4Smrg # We check with `-c' and `-o' for the sake of the "dashmstdout" 35399bc46bd4Smrg # mode. It turns out that the SunPro C++ compiler does not properly 35409bc46bd4Smrg # handle `-M -o', and we need to detect this. Also, some Intel 35419bc46bd4Smrg # versions had trouble with output in subdirs 35429bc46bd4Smrg am__obj=sub/conftest.${OBJEXT-o} 35439bc46bd4Smrg am__minus_obj="-o $am__obj" 35449bc46bd4Smrg case $depmode in 35459bc46bd4Smrg gcc) 35469bc46bd4Smrg # This depmode causes a compiler race in universal mode. 35479bc46bd4Smrg test "$am__universal" = false || continue 35489bc46bd4Smrg ;; 35499bc46bd4Smrg nosideeffect) 35509bc46bd4Smrg # after this tag, mechanisms are not by side-effect, so they'll 35519bc46bd4Smrg # only be used when explicitly requested 35529bc46bd4Smrg if test "x$enable_dependency_tracking" = xyes; then 35539bc46bd4Smrg continue 35549bc46bd4Smrg else 35559bc46bd4Smrg break 35569bc46bd4Smrg fi 35579bc46bd4Smrg ;; 35589bc46bd4Smrg msvisualcpp | msvcmsys) 35599bc46bd4Smrg # This compiler won't grok `-c -o', but also, the minuso test has 35609bc46bd4Smrg # not run yet. These depmodes are late enough in the game, and 35619bc46bd4Smrg # so weak that their functioning should not be impacted. 35629bc46bd4Smrg am__obj=conftest.${OBJEXT-o} 35639bc46bd4Smrg am__minus_obj= 35649bc46bd4Smrg ;; 35659bc46bd4Smrg none) break ;; 35669bc46bd4Smrg esac 35679bc46bd4Smrg if depmode=$depmode \ 35689bc46bd4Smrg source=sub/conftest.c object=$am__obj \ 35699bc46bd4Smrg depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 35709bc46bd4Smrg $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 35719bc46bd4Smrg >/dev/null 2>conftest.err && 35729bc46bd4Smrg grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 35739bc46bd4Smrg grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 35749bc46bd4Smrg grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 35759bc46bd4Smrg ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 35769bc46bd4Smrg # icc doesn't choke on unknown options, it will just issue warnings 35779bc46bd4Smrg # or remarks (even with -Werror). So we grep stderr for any message 35789bc46bd4Smrg # that says an option was ignored or not supported. 35799bc46bd4Smrg # When given -MP, icc 7.0 and 7.1 complain thusly: 35809bc46bd4Smrg # icc: Command line warning: ignoring option '-M'; no argument required 35819bc46bd4Smrg # The diagnosis changed in icc 8.0: 35829bc46bd4Smrg # icc: Command line remark: option '-MP' not supported 35839bc46bd4Smrg if (grep 'ignoring option' conftest.err || 35849bc46bd4Smrg grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 35859bc46bd4Smrg am_cv_CC_dependencies_compiler_type=$depmode 35869bc46bd4Smrg break 35879bc46bd4Smrg fi 35889bc46bd4Smrg fi 35899bc46bd4Smrg done 35909bc46bd4Smrg 35919bc46bd4Smrg cd .. 35929bc46bd4Smrg rm -rf conftest.dir 35939bc46bd4Smrgelse 35949bc46bd4Smrg am_cv_CC_dependencies_compiler_type=none 35959bc46bd4Smrgfi 35969bc46bd4Smrg 35979bc46bd4Smrgfi 35989bc46bd4Smrg{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 35999bc46bd4Smrg$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 36009bc46bd4SmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 36019bc46bd4Smrg 36029bc46bd4Smrg if 36039bc46bd4Smrg test "x$enable_dependency_tracking" != xno \ 36049bc46bd4Smrg && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 36059bc46bd4Smrg am__fastdepCC_TRUE= 36069bc46bd4Smrg am__fastdepCC_FALSE='#' 36079bc46bd4Smrgelse 36089bc46bd4Smrg am__fastdepCC_TRUE='#' 36099bc46bd4Smrg am__fastdepCC_FALSE= 36109bc46bd4Smrgfi 36119bc46bd4Smrg 36129bc46bd4Smrg 36139bc46bd4Smrg 36149bc46bd4Smrgac_ext=c 36159bc46bd4Smrgac_cpp='$CPP $CPPFLAGS' 36169bc46bd4Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 36179bc46bd4Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 36189bc46bd4Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 36199bc46bd4Smrg{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 36209bc46bd4Smrg$as_echo_n "checking how to run the C preprocessor... " >&6; } 36219bc46bd4Smrg# On Suns, sometimes $CPP names a directory. 36229bc46bd4Smrgif test -n "$CPP" && test -d "$CPP"; then 36239bc46bd4Smrg CPP= 36249bc46bd4Smrgfi 36259bc46bd4Smrgif test -z "$CPP"; then 36269bc46bd4Smrg if test "${ac_cv_prog_CPP+set}" = set; then 36279bc46bd4Smrg $as_echo_n "(cached) " >&6 36289bc46bd4Smrgelse 36299bc46bd4Smrg # Double quotes because CPP needs to be expanded 36309bc46bd4Smrg for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 36319bc46bd4Smrg do 36329bc46bd4Smrg ac_preproc_ok=false 36339bc46bd4Smrgfor ac_c_preproc_warn_flag in '' yes 36349bc46bd4Smrgdo 36359bc46bd4Smrg # Use a header file that comes with gcc, so configuring glibc 36369bc46bd4Smrg # with a fresh cross-compiler works. 36379bc46bd4Smrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 36389bc46bd4Smrg # <limits.h> exists even on freestanding compilers. 36399bc46bd4Smrg # On the NeXT, cc -E runs the code through the compiler's parser, 36409bc46bd4Smrg # not just through cpp. "Syntax error" is here to catch this case. 36419bc46bd4Smrg cat >conftest.$ac_ext <<_ACEOF 36429bc46bd4Smrg/* confdefs.h. */ 36439bc46bd4Smrg_ACEOF 36449bc46bd4Smrgcat confdefs.h >>conftest.$ac_ext 36459bc46bd4Smrgcat >>conftest.$ac_ext <<_ACEOF 36469bc46bd4Smrg/* end confdefs.h. */ 36479bc46bd4Smrg#ifdef __STDC__ 36489bc46bd4Smrg# include <limits.h> 36499bc46bd4Smrg#else 36509bc46bd4Smrg# include <assert.h> 36519bc46bd4Smrg#endif 36529bc46bd4Smrg Syntax error 36539bc46bd4Smrg_ACEOF 36549bc46bd4Smrgif { (ac_try="$ac_cpp conftest.$ac_ext" 36559bc46bd4Smrgcase "(($ac_try" in 36569bc46bd4Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 36579bc46bd4Smrg *) ac_try_echo=$ac_try;; 36589bc46bd4Smrgesac 36599bc46bd4Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 36609bc46bd4Smrg$as_echo "$ac_try_echo") >&5 36619bc46bd4Smrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 36629bc46bd4Smrg ac_status=$? 36639bc46bd4Smrg grep -v '^ *+' conftest.er1 >conftest.err 36649bc46bd4Smrg rm -f conftest.er1 36659bc46bd4Smrg cat conftest.err >&5 36669bc46bd4Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 36679bc46bd4Smrg (exit $ac_status); } >/dev/null && { 36689bc46bd4Smrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 36699bc46bd4Smrg test ! -s conftest.err 36709bc46bd4Smrg }; then 36719bc46bd4Smrg : 36729bc46bd4Smrgelse 36739bc46bd4Smrg $as_echo "$as_me: failed program was:" >&5 36749bc46bd4Smrgsed 's/^/| /' conftest.$ac_ext >&5 36759bc46bd4Smrg 36769bc46bd4Smrg # Broken: fails on valid input. 36779bc46bd4Smrgcontinue 36789bc46bd4Smrgfi 36799bc46bd4Smrg 36809bc46bd4Smrgrm -f conftest.err conftest.$ac_ext 36819bc46bd4Smrg 36829bc46bd4Smrg # OK, works on sane cases. Now check whether nonexistent headers 36839bc46bd4Smrg # can be detected and how. 36849bc46bd4Smrg cat >conftest.$ac_ext <<_ACEOF 36859bc46bd4Smrg/* confdefs.h. */ 36869bc46bd4Smrg_ACEOF 36879bc46bd4Smrgcat confdefs.h >>conftest.$ac_ext 36889bc46bd4Smrgcat >>conftest.$ac_ext <<_ACEOF 36899bc46bd4Smrg/* end confdefs.h. */ 36909bc46bd4Smrg#include <ac_nonexistent.h> 36919bc46bd4Smrg_ACEOF 36929bc46bd4Smrgif { (ac_try="$ac_cpp conftest.$ac_ext" 36939bc46bd4Smrgcase "(($ac_try" in 36949bc46bd4Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 36959bc46bd4Smrg *) ac_try_echo=$ac_try;; 36969bc46bd4Smrgesac 36979bc46bd4Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 36989bc46bd4Smrg$as_echo "$ac_try_echo") >&5 36999bc46bd4Smrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 37009bc46bd4Smrg ac_status=$? 37019bc46bd4Smrg grep -v '^ *+' conftest.er1 >conftest.err 37029bc46bd4Smrg rm -f conftest.er1 37039bc46bd4Smrg cat conftest.err >&5 37049bc46bd4Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 37059bc46bd4Smrg (exit $ac_status); } >/dev/null && { 37069bc46bd4Smrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 37079bc46bd4Smrg test ! -s conftest.err 37089bc46bd4Smrg }; then 37099bc46bd4Smrg # Broken: success on invalid input. 37109bc46bd4Smrgcontinue 37119bc46bd4Smrgelse 37129bc46bd4Smrg $as_echo "$as_me: failed program was:" >&5 37139bc46bd4Smrgsed 's/^/| /' conftest.$ac_ext >&5 37149bc46bd4Smrg 37159bc46bd4Smrg # Passes both tests. 37169bc46bd4Smrgac_preproc_ok=: 37179bc46bd4Smrgbreak 37189bc46bd4Smrgfi 37199bc46bd4Smrg 37209bc46bd4Smrgrm -f conftest.err conftest.$ac_ext 37219bc46bd4Smrg 37229bc46bd4Smrgdone 37239bc46bd4Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 37249bc46bd4Smrgrm -f conftest.err conftest.$ac_ext 37259bc46bd4Smrgif $ac_preproc_ok; then 37269bc46bd4Smrg break 37279bc46bd4Smrgfi 37289bc46bd4Smrg 37299bc46bd4Smrg done 37309bc46bd4Smrg ac_cv_prog_CPP=$CPP 37319bc46bd4Smrg 37329bc46bd4Smrgfi 37339bc46bd4Smrg CPP=$ac_cv_prog_CPP 37349bc46bd4Smrgelse 37359bc46bd4Smrg ac_cv_prog_CPP=$CPP 37369bc46bd4Smrgfi 37379bc46bd4Smrg{ $as_echo "$as_me:$LINENO: result: $CPP" >&5 37389bc46bd4Smrg$as_echo "$CPP" >&6; } 37399bc46bd4Smrgac_preproc_ok=false 37409bc46bd4Smrgfor ac_c_preproc_warn_flag in '' yes 37419bc46bd4Smrgdo 37429bc46bd4Smrg # Use a header file that comes with gcc, so configuring glibc 37439bc46bd4Smrg # with a fresh cross-compiler works. 37449bc46bd4Smrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 37459bc46bd4Smrg # <limits.h> exists even on freestanding compilers. 37469bc46bd4Smrg # On the NeXT, cc -E runs the code through the compiler's parser, 37479bc46bd4Smrg # not just through cpp. "Syntax error" is here to catch this case. 37489bc46bd4Smrg cat >conftest.$ac_ext <<_ACEOF 37499bc46bd4Smrg/* confdefs.h. */ 37509bc46bd4Smrg_ACEOF 37519bc46bd4Smrgcat confdefs.h >>conftest.$ac_ext 37529bc46bd4Smrgcat >>conftest.$ac_ext <<_ACEOF 37539bc46bd4Smrg/* end confdefs.h. */ 37549bc46bd4Smrg#ifdef __STDC__ 37559bc46bd4Smrg# include <limits.h> 37569bc46bd4Smrg#else 37579bc46bd4Smrg# include <assert.h> 37589bc46bd4Smrg#endif 37599bc46bd4Smrg Syntax error 37609bc46bd4Smrg_ACEOF 37619bc46bd4Smrgif { (ac_try="$ac_cpp conftest.$ac_ext" 37629bc46bd4Smrgcase "(($ac_try" in 37639bc46bd4Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 37649bc46bd4Smrg *) ac_try_echo=$ac_try;; 37659bc46bd4Smrgesac 37669bc46bd4Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 37679bc46bd4Smrg$as_echo "$ac_try_echo") >&5 37689bc46bd4Smrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 37699bc46bd4Smrg ac_status=$? 37709bc46bd4Smrg grep -v '^ *+' conftest.er1 >conftest.err 37719bc46bd4Smrg rm -f conftest.er1 37729bc46bd4Smrg cat conftest.err >&5 37739bc46bd4Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 37749bc46bd4Smrg (exit $ac_status); } >/dev/null && { 37759bc46bd4Smrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 37769bc46bd4Smrg test ! -s conftest.err 37779bc46bd4Smrg }; then 37789bc46bd4Smrg : 37799bc46bd4Smrgelse 37809bc46bd4Smrg $as_echo "$as_me: failed program was:" >&5 37819bc46bd4Smrgsed 's/^/| /' conftest.$ac_ext >&5 37829bc46bd4Smrg 37839bc46bd4Smrg # Broken: fails on valid input. 37849bc46bd4Smrgcontinue 37859bc46bd4Smrgfi 37869bc46bd4Smrg 37879bc46bd4Smrgrm -f conftest.err conftest.$ac_ext 37889bc46bd4Smrg 37899bc46bd4Smrg # OK, works on sane cases. Now check whether nonexistent headers 37909bc46bd4Smrg # can be detected and how. 37919bc46bd4Smrg cat >conftest.$ac_ext <<_ACEOF 37929bc46bd4Smrg/* confdefs.h. */ 37939bc46bd4Smrg_ACEOF 37949bc46bd4Smrgcat confdefs.h >>conftest.$ac_ext 37959bc46bd4Smrgcat >>conftest.$ac_ext <<_ACEOF 37969bc46bd4Smrg/* end confdefs.h. */ 37979bc46bd4Smrg#include <ac_nonexistent.h> 37989bc46bd4Smrg_ACEOF 37999bc46bd4Smrgif { (ac_try="$ac_cpp conftest.$ac_ext" 38009bc46bd4Smrgcase "(($ac_try" in 38019bc46bd4Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 38029bc46bd4Smrg *) ac_try_echo=$ac_try;; 38039bc46bd4Smrgesac 38049bc46bd4Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 38059bc46bd4Smrg$as_echo "$ac_try_echo") >&5 38069bc46bd4Smrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 38079bc46bd4Smrg ac_status=$? 38089bc46bd4Smrg grep -v '^ *+' conftest.er1 >conftest.err 38099bc46bd4Smrg rm -f conftest.er1 38109bc46bd4Smrg cat conftest.err >&5 38119bc46bd4Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 38129bc46bd4Smrg (exit $ac_status); } >/dev/null && { 38139bc46bd4Smrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 38149bc46bd4Smrg test ! -s conftest.err 38159bc46bd4Smrg }; then 38169bc46bd4Smrg # Broken: success on invalid input. 38179bc46bd4Smrgcontinue 38189bc46bd4Smrgelse 38199bc46bd4Smrg $as_echo "$as_me: failed program was:" >&5 38209bc46bd4Smrgsed 's/^/| /' conftest.$ac_ext >&5 38219bc46bd4Smrg 38229bc46bd4Smrg # Passes both tests. 38239bc46bd4Smrgac_preproc_ok=: 38249bc46bd4Smrgbreak 38259bc46bd4Smrgfi 38269bc46bd4Smrg 38279bc46bd4Smrgrm -f conftest.err conftest.$ac_ext 38289bc46bd4Smrg 38299bc46bd4Smrgdone 38309bc46bd4Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 38319bc46bd4Smrgrm -f conftest.err conftest.$ac_ext 38329bc46bd4Smrgif $ac_preproc_ok; then 38339bc46bd4Smrg : 38349bc46bd4Smrgelse 38359bc46bd4Smrg { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 38369bc46bd4Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 38379bc46bd4Smrg{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 38389bc46bd4SmrgSee \`config.log' for more details." >&5 38399bc46bd4Smrg$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 38409bc46bd4SmrgSee \`config.log' for more details." >&2;} 38419bc46bd4Smrg { (exit 1); exit 1; }; }; } 38429bc46bd4Smrgfi 38439bc46bd4Smrg 38449bc46bd4Smrgac_ext=c 38459bc46bd4Smrgac_cpp='$CPP $CPPFLAGS' 38469bc46bd4Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 38479bc46bd4Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 38489bc46bd4Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 38499bc46bd4Smrg 38509bc46bd4Smrg 38519bc46bd4Smrg{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 38529bc46bd4Smrg$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 38539bc46bd4Smrgif test "${ac_cv_path_GREP+set}" = set; then 38549bc46bd4Smrg $as_echo_n "(cached) " >&6 38559bc46bd4Smrgelse 38569bc46bd4Smrg if test -z "$GREP"; then 38579bc46bd4Smrg ac_path_GREP_found=false 38589bc46bd4Smrg # Loop through the user's path and test for each of PROGNAME-LIST 38599bc46bd4Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 38609bc46bd4Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 38619bc46bd4Smrgdo 38629bc46bd4Smrg IFS=$as_save_IFS 38639bc46bd4Smrg test -z "$as_dir" && as_dir=. 38649bc46bd4Smrg for ac_prog in grep ggrep; do 38659bc46bd4Smrg for ac_exec_ext in '' $ac_executable_extensions; do 38669bc46bd4Smrg ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 38679bc46bd4Smrg { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 38689bc46bd4Smrg# Check for GNU ac_path_GREP and select it if it is found. 38699bc46bd4Smrg # Check for GNU $ac_path_GREP 38709bc46bd4Smrgcase `"$ac_path_GREP" --version 2>&1` in 38719bc46bd4Smrg*GNU*) 38729bc46bd4Smrg ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 38739bc46bd4Smrg*) 38749bc46bd4Smrg ac_count=0 38759bc46bd4Smrg $as_echo_n 0123456789 >"conftest.in" 38769bc46bd4Smrg while : 38779bc46bd4Smrg do 38789bc46bd4Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 38799bc46bd4Smrg mv "conftest.tmp" "conftest.in" 38809bc46bd4Smrg cp "conftest.in" "conftest.nl" 38819bc46bd4Smrg $as_echo 'GREP' >> "conftest.nl" 38829bc46bd4Smrg "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 38839bc46bd4Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 38849bc46bd4Smrg ac_count=`expr $ac_count + 1` 38859bc46bd4Smrg if test $ac_count -gt ${ac_path_GREP_max-0}; then 38869bc46bd4Smrg # Best one so far, save it but keep looking for a better one 38879bc46bd4Smrg ac_cv_path_GREP="$ac_path_GREP" 38889bc46bd4Smrg ac_path_GREP_max=$ac_count 38899bc46bd4Smrg fi 38909bc46bd4Smrg # 10*(2^10) chars as input seems more than enough 38919bc46bd4Smrg test $ac_count -gt 10 && break 38929bc46bd4Smrg done 38939bc46bd4Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 38949bc46bd4Smrgesac 38959bc46bd4Smrg 38969bc46bd4Smrg $ac_path_GREP_found && break 3 38979bc46bd4Smrg done 38989bc46bd4Smrg done 38999bc46bd4Smrgdone 39009bc46bd4SmrgIFS=$as_save_IFS 39019bc46bd4Smrg if test -z "$ac_cv_path_GREP"; then 39029bc46bd4Smrg { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 39039bc46bd4Smrg$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 39049bc46bd4Smrg { (exit 1); exit 1; }; } 39059bc46bd4Smrg fi 39069bc46bd4Smrgelse 39079bc46bd4Smrg ac_cv_path_GREP=$GREP 39089bc46bd4Smrgfi 39099bc46bd4Smrg 39109bc46bd4Smrgfi 39119bc46bd4Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 39129bc46bd4Smrg$as_echo "$ac_cv_path_GREP" >&6; } 39139bc46bd4Smrg GREP="$ac_cv_path_GREP" 39149bc46bd4Smrg 39159bc46bd4Smrg 39169bc46bd4Smrg{ $as_echo "$as_me:$LINENO: checking for egrep" >&5 39179bc46bd4Smrg$as_echo_n "checking for egrep... " >&6; } 39189bc46bd4Smrgif test "${ac_cv_path_EGREP+set}" = set; then 39199bc46bd4Smrg $as_echo_n "(cached) " >&6 39209bc46bd4Smrgelse 39219bc46bd4Smrg if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 39229bc46bd4Smrg then ac_cv_path_EGREP="$GREP -E" 39239bc46bd4Smrg else 39249bc46bd4Smrg if test -z "$EGREP"; then 39259bc46bd4Smrg ac_path_EGREP_found=false 39269bc46bd4Smrg # Loop through the user's path and test for each of PROGNAME-LIST 39279bc46bd4Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 39289bc46bd4Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 39299bc46bd4Smrgdo 39309bc46bd4Smrg IFS=$as_save_IFS 39319bc46bd4Smrg test -z "$as_dir" && as_dir=. 39329bc46bd4Smrg for ac_prog in egrep; do 39339bc46bd4Smrg for ac_exec_ext in '' $ac_executable_extensions; do 39349bc46bd4Smrg ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 39359bc46bd4Smrg { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 39369bc46bd4Smrg# Check for GNU ac_path_EGREP and select it if it is found. 39379bc46bd4Smrg # Check for GNU $ac_path_EGREP 39389bc46bd4Smrgcase `"$ac_path_EGREP" --version 2>&1` in 39399bc46bd4Smrg*GNU*) 39409bc46bd4Smrg ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 39419bc46bd4Smrg*) 39429bc46bd4Smrg ac_count=0 39439bc46bd4Smrg $as_echo_n 0123456789 >"conftest.in" 39449bc46bd4Smrg while : 39459bc46bd4Smrg do 39469bc46bd4Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 39479bc46bd4Smrg mv "conftest.tmp" "conftest.in" 39489bc46bd4Smrg cp "conftest.in" "conftest.nl" 39499bc46bd4Smrg $as_echo 'EGREP' >> "conftest.nl" 39509bc46bd4Smrg "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 39519bc46bd4Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 39529bc46bd4Smrg ac_count=`expr $ac_count + 1` 39539bc46bd4Smrg if test $ac_count -gt ${ac_path_EGREP_max-0}; then 39549bc46bd4Smrg # Best one so far, save it but keep looking for a better one 39559bc46bd4Smrg ac_cv_path_EGREP="$ac_path_EGREP" 39569bc46bd4Smrg ac_path_EGREP_max=$ac_count 39579bc46bd4Smrg fi 39589bc46bd4Smrg # 10*(2^10) chars as input seems more than enough 39599bc46bd4Smrg test $ac_count -gt 10 && break 39609bc46bd4Smrg done 39619bc46bd4Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 39629bc46bd4Smrgesac 39639bc46bd4Smrg 39649bc46bd4Smrg $ac_path_EGREP_found && break 3 39659bc46bd4Smrg done 39669bc46bd4Smrg done 39679bc46bd4Smrgdone 39689bc46bd4SmrgIFS=$as_save_IFS 39699bc46bd4Smrg if test -z "$ac_cv_path_EGREP"; then 39709bc46bd4Smrg { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 39719bc46bd4Smrg$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 39729bc46bd4Smrg { (exit 1); exit 1; }; } 39739bc46bd4Smrg fi 39749bc46bd4Smrgelse 39759bc46bd4Smrg ac_cv_path_EGREP=$EGREP 39769bc46bd4Smrgfi 39779bc46bd4Smrg 39789bc46bd4Smrg fi 39799bc46bd4Smrgfi 39809bc46bd4Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 39819bc46bd4Smrg$as_echo "$ac_cv_path_EGREP" >&6; } 39829bc46bd4Smrg EGREP="$ac_cv_path_EGREP" 39839bc46bd4Smrg 39849bc46bd4Smrg 39859bc46bd4Smrg{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 39869bc46bd4Smrg$as_echo_n "checking for ANSI C header files... " >&6; } 39879bc46bd4Smrgif test "${ac_cv_header_stdc+set}" = set; then 39889bc46bd4Smrg $as_echo_n "(cached) " >&6 39899bc46bd4Smrgelse 39909bc46bd4Smrg cat >conftest.$ac_ext <<_ACEOF 39919bc46bd4Smrg/* confdefs.h. */ 39929bc46bd4Smrg_ACEOF 39939bc46bd4Smrgcat confdefs.h >>conftest.$ac_ext 39949bc46bd4Smrgcat >>conftest.$ac_ext <<_ACEOF 39959bc46bd4Smrg/* end confdefs.h. */ 39969bc46bd4Smrg#include <stdlib.h> 39979bc46bd4Smrg#include <stdarg.h> 39989bc46bd4Smrg#include <string.h> 39999bc46bd4Smrg#include <float.h> 40009bc46bd4Smrg 40019bc46bd4Smrgint 40029bc46bd4Smrgmain () 40039bc46bd4Smrg{ 40049bc46bd4Smrg 40059bc46bd4Smrg ; 40069bc46bd4Smrg return 0; 40079bc46bd4Smrg} 40089bc46bd4Smrg_ACEOF 40099bc46bd4Smrgrm -f conftest.$ac_objext 40109bc46bd4Smrgif { (ac_try="$ac_compile" 40119bc46bd4Smrgcase "(($ac_try" in 40129bc46bd4Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 40139bc46bd4Smrg *) ac_try_echo=$ac_try;; 40149bc46bd4Smrgesac 40159bc46bd4Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 40169bc46bd4Smrg$as_echo "$ac_try_echo") >&5 40179bc46bd4Smrg (eval "$ac_compile") 2>conftest.er1 40189bc46bd4Smrg ac_status=$? 40199bc46bd4Smrg grep -v '^ *+' conftest.er1 >conftest.err 40209bc46bd4Smrg rm -f conftest.er1 40219bc46bd4Smrg cat conftest.err >&5 40229bc46bd4Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 40239bc46bd4Smrg (exit $ac_status); } && { 40249bc46bd4Smrg test -z "$ac_c_werror_flag" || 40259bc46bd4Smrg test ! -s conftest.err 40269bc46bd4Smrg } && test -s conftest.$ac_objext; then 40279bc46bd4Smrg ac_cv_header_stdc=yes 40289bc46bd4Smrgelse 40299bc46bd4Smrg $as_echo "$as_me: failed program was:" >&5 40309bc46bd4Smrgsed 's/^/| /' conftest.$ac_ext >&5 40319bc46bd4Smrg 40329bc46bd4Smrg ac_cv_header_stdc=no 40339bc46bd4Smrgfi 40349bc46bd4Smrg 40359bc46bd4Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 40369bc46bd4Smrg 40379bc46bd4Smrgif test $ac_cv_header_stdc = yes; then 40389bc46bd4Smrg # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 40399bc46bd4Smrg cat >conftest.$ac_ext <<_ACEOF 40409bc46bd4Smrg/* confdefs.h. */ 40419bc46bd4Smrg_ACEOF 40429bc46bd4Smrgcat confdefs.h >>conftest.$ac_ext 40439bc46bd4Smrgcat >>conftest.$ac_ext <<_ACEOF 40449bc46bd4Smrg/* end confdefs.h. */ 40459bc46bd4Smrg#include <string.h> 40469bc46bd4Smrg 40479bc46bd4Smrg_ACEOF 40489bc46bd4Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 40499bc46bd4Smrg $EGREP "memchr" >/dev/null 2>&1; then 40509bc46bd4Smrg : 40519bc46bd4Smrgelse 40529bc46bd4Smrg ac_cv_header_stdc=no 40539bc46bd4Smrgfi 40549bc46bd4Smrgrm -f conftest* 40559bc46bd4Smrg 40569bc46bd4Smrgfi 40579bc46bd4Smrg 40589bc46bd4Smrgif test $ac_cv_header_stdc = yes; then 40599bc46bd4Smrg # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 40609bc46bd4Smrg cat >conftest.$ac_ext <<_ACEOF 40619bc46bd4Smrg/* confdefs.h. */ 40629bc46bd4Smrg_ACEOF 40639bc46bd4Smrgcat confdefs.h >>conftest.$ac_ext 40649bc46bd4Smrgcat >>conftest.$ac_ext <<_ACEOF 40659bc46bd4Smrg/* end confdefs.h. */ 40669bc46bd4Smrg#include <stdlib.h> 40679bc46bd4Smrg 40689bc46bd4Smrg_ACEOF 40699bc46bd4Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 40709bc46bd4Smrg $EGREP "free" >/dev/null 2>&1; then 40719bc46bd4Smrg : 40729bc46bd4Smrgelse 40739bc46bd4Smrg ac_cv_header_stdc=no 40749bc46bd4Smrgfi 40759bc46bd4Smrgrm -f conftest* 40769bc46bd4Smrg 40779bc46bd4Smrgfi 40789bc46bd4Smrg 40799bc46bd4Smrgif test $ac_cv_header_stdc = yes; then 40809bc46bd4Smrg # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 40819bc46bd4Smrg if test "$cross_compiling" = yes; then 40829bc46bd4Smrg : 40839bc46bd4Smrgelse 40849bc46bd4Smrg cat >conftest.$ac_ext <<_ACEOF 40859bc46bd4Smrg/* confdefs.h. */ 40869bc46bd4Smrg_ACEOF 40879bc46bd4Smrgcat confdefs.h >>conftest.$ac_ext 40889bc46bd4Smrgcat >>conftest.$ac_ext <<_ACEOF 40899bc46bd4Smrg/* end confdefs.h. */ 40909bc46bd4Smrg#include <ctype.h> 40919bc46bd4Smrg#include <stdlib.h> 40929bc46bd4Smrg#if ((' ' & 0x0FF) == 0x020) 40939bc46bd4Smrg# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 40949bc46bd4Smrg# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 40959bc46bd4Smrg#else 40969bc46bd4Smrg# define ISLOWER(c) \ 40979bc46bd4Smrg (('a' <= (c) && (c) <= 'i') \ 40989bc46bd4Smrg || ('j' <= (c) && (c) <= 'r') \ 40999bc46bd4Smrg || ('s' <= (c) && (c) <= 'z')) 41009bc46bd4Smrg# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 41019bc46bd4Smrg#endif 41029bc46bd4Smrg 41039bc46bd4Smrg#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 41049bc46bd4Smrgint 41059bc46bd4Smrgmain () 41069bc46bd4Smrg{ 41079bc46bd4Smrg int i; 41089bc46bd4Smrg for (i = 0; i < 256; i++) 41099bc46bd4Smrg if (XOR (islower (i), ISLOWER (i)) 41109bc46bd4Smrg || toupper (i) != TOUPPER (i)) 41119bc46bd4Smrg return 2; 41129bc46bd4Smrg return 0; 41139bc46bd4Smrg} 41149bc46bd4Smrg_ACEOF 41159bc46bd4Smrgrm -f conftest$ac_exeext 41169bc46bd4Smrgif { (ac_try="$ac_link" 41179bc46bd4Smrgcase "(($ac_try" in 41189bc46bd4Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 41199bc46bd4Smrg *) ac_try_echo=$ac_try;; 41209bc46bd4Smrgesac 41219bc46bd4Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 41229bc46bd4Smrg$as_echo "$ac_try_echo") >&5 41239bc46bd4Smrg (eval "$ac_link") 2>&5 41249bc46bd4Smrg ac_status=$? 41259bc46bd4Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 41269bc46bd4Smrg (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 41279bc46bd4Smrg { (case "(($ac_try" in 41289bc46bd4Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 41299bc46bd4Smrg *) ac_try_echo=$ac_try;; 41309bc46bd4Smrgesac 41319bc46bd4Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 41329bc46bd4Smrg$as_echo "$ac_try_echo") >&5 41339bc46bd4Smrg (eval "$ac_try") 2>&5 41349bc46bd4Smrg ac_status=$? 41359bc46bd4Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 41369bc46bd4Smrg (exit $ac_status); }; }; then 41379bc46bd4Smrg : 41389bc46bd4Smrgelse 41399bc46bd4Smrg $as_echo "$as_me: program exited with status $ac_status" >&5 41409bc46bd4Smrg$as_echo "$as_me: failed program was:" >&5 41419bc46bd4Smrgsed 's/^/| /' conftest.$ac_ext >&5 41429bc46bd4Smrg 41439bc46bd4Smrg( exit $ac_status ) 41449bc46bd4Smrgac_cv_header_stdc=no 41459bc46bd4Smrgfi 41469bc46bd4Smrgrm -rf conftest.dSYM 41479bc46bd4Smrgrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 41489bc46bd4Smrgfi 41499bc46bd4Smrg 41509bc46bd4Smrg 41519bc46bd4Smrgfi 41529bc46bd4Smrgfi 41539bc46bd4Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 41549bc46bd4Smrg$as_echo "$ac_cv_header_stdc" >&6; } 41559bc46bd4Smrgif test $ac_cv_header_stdc = yes; then 41569bc46bd4Smrg 41579bc46bd4Smrgcat >>confdefs.h <<\_ACEOF 41589bc46bd4Smrg#define STDC_HEADERS 1 41599bc46bd4Smrg_ACEOF 41609bc46bd4Smrg 41619bc46bd4Smrgfi 41629bc46bd4Smrg 41639bc46bd4Smrg# On IRIX 5.3, sys/types and inttypes.h are conflicting. 41649bc46bd4Smrg 41659bc46bd4Smrg 41669bc46bd4Smrg 41679bc46bd4Smrg 41689bc46bd4Smrg 41699bc46bd4Smrg 41709bc46bd4Smrg 41719bc46bd4Smrg 41729bc46bd4Smrg 41739bc46bd4Smrgfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 41749bc46bd4Smrg inttypes.h stdint.h unistd.h 41759bc46bd4Smrgdo 41769bc46bd4Smrgas_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 41779bc46bd4Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 41789bc46bd4Smrg$as_echo_n "checking for $ac_header... " >&6; } 41799bc46bd4Smrgif { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 41809bc46bd4Smrg $as_echo_n "(cached) " >&6 41819bc46bd4Smrgelse 41829bc46bd4Smrg cat >conftest.$ac_ext <<_ACEOF 41839bc46bd4Smrg/* confdefs.h. */ 41849bc46bd4Smrg_ACEOF 41859bc46bd4Smrgcat confdefs.h >>conftest.$ac_ext 41869bc46bd4Smrgcat >>conftest.$ac_ext <<_ACEOF 41879bc46bd4Smrg/* end confdefs.h. */ 41889bc46bd4Smrg$ac_includes_default 41899bc46bd4Smrg 41909bc46bd4Smrg#include <$ac_header> 41919bc46bd4Smrg_ACEOF 41929bc46bd4Smrgrm -f conftest.$ac_objext 41939bc46bd4Smrgif { (ac_try="$ac_compile" 41949bc46bd4Smrgcase "(($ac_try" in 41959bc46bd4Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 41969bc46bd4Smrg *) ac_try_echo=$ac_try;; 41979bc46bd4Smrgesac 41989bc46bd4Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 41999bc46bd4Smrg$as_echo "$ac_try_echo") >&5 42009bc46bd4Smrg (eval "$ac_compile") 2>conftest.er1 42019bc46bd4Smrg ac_status=$? 42029bc46bd4Smrg grep -v '^ *+' conftest.er1 >conftest.err 42039bc46bd4Smrg rm -f conftest.er1 42049bc46bd4Smrg cat conftest.err >&5 42059bc46bd4Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 42069bc46bd4Smrg (exit $ac_status); } && { 42079bc46bd4Smrg test -z "$ac_c_werror_flag" || 42089bc46bd4Smrg test ! -s conftest.err 42099bc46bd4Smrg } && test -s conftest.$ac_objext; then 42109bc46bd4Smrg eval "$as_ac_Header=yes" 42119bc46bd4Smrgelse 42129bc46bd4Smrg $as_echo "$as_me: failed program was:" >&5 42139bc46bd4Smrgsed 's/^/| /' conftest.$ac_ext >&5 42149bc46bd4Smrg 42159bc46bd4Smrg eval "$as_ac_Header=no" 42169bc46bd4Smrgfi 42179bc46bd4Smrg 42189bc46bd4Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 42199bc46bd4Smrgfi 42209bc46bd4Smrgac_res=`eval 'as_val=${'$as_ac_Header'} 42219bc46bd4Smrg $as_echo "$as_val"'` 42229bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 42239bc46bd4Smrg$as_echo "$ac_res" >&6; } 42249bc46bd4Smrgas_val=`eval 'as_val=${'$as_ac_Header'} 42259bc46bd4Smrg $as_echo "$as_val"'` 42269bc46bd4Smrg if test "x$as_val" = x""yes; then 42279bc46bd4Smrg cat >>confdefs.h <<_ACEOF 42289bc46bd4Smrg#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 42299bc46bd4Smrg_ACEOF 42309bc46bd4Smrg 42319bc46bd4Smrgfi 42329bc46bd4Smrg 42339bc46bd4Smrgdone 42349bc46bd4Smrg 42359bc46bd4Smrg 42369bc46bd4Smrg { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5 42379bc46bd4Smrg$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 42389bc46bd4Smrgif test "${ac_cv_prog_cc_c99+set}" = set; then 42399bc46bd4Smrg $as_echo_n "(cached) " >&6 42409bc46bd4Smrgelse 42419bc46bd4Smrg ac_cv_prog_cc_c99=no 42429bc46bd4Smrgac_save_CC=$CC 42439bc46bd4Smrgcat >conftest.$ac_ext <<_ACEOF 42449bc46bd4Smrg/* confdefs.h. */ 42459bc46bd4Smrg_ACEOF 42469bc46bd4Smrgcat confdefs.h >>conftest.$ac_ext 42479bc46bd4Smrgcat >>conftest.$ac_ext <<_ACEOF 42489bc46bd4Smrg/* end confdefs.h. */ 42499bc46bd4Smrg#include <stdarg.h> 42509bc46bd4Smrg#include <stdbool.h> 42519bc46bd4Smrg#include <stdlib.h> 42529bc46bd4Smrg#include <wchar.h> 42539bc46bd4Smrg#include <stdio.h> 42549bc46bd4Smrg 42559bc46bd4Smrg// Check varargs macros. These examples are taken from C99 6.10.3.5. 42569bc46bd4Smrg#define debug(...) fprintf (stderr, __VA_ARGS__) 42579bc46bd4Smrg#define showlist(...) puts (#__VA_ARGS__) 42589bc46bd4Smrg#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 42599bc46bd4Smrgstatic void 42609bc46bd4Smrgtest_varargs_macros (void) 42619bc46bd4Smrg{ 42629bc46bd4Smrg int x = 1234; 42639bc46bd4Smrg int y = 5678; 42649bc46bd4Smrg debug ("Flag"); 42659bc46bd4Smrg debug ("X = %d\n", x); 42669bc46bd4Smrg showlist (The first, second, and third items.); 42679bc46bd4Smrg report (x>y, "x is %d but y is %d", x, y); 42689bc46bd4Smrg} 42699bc46bd4Smrg 42709bc46bd4Smrg// Check long long types. 42719bc46bd4Smrg#define BIG64 18446744073709551615ull 42729bc46bd4Smrg#define BIG32 4294967295ul 42739bc46bd4Smrg#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 42749bc46bd4Smrg#if !BIG_OK 42759bc46bd4Smrg your preprocessor is broken; 42769bc46bd4Smrg#endif 42779bc46bd4Smrg#if BIG_OK 42789bc46bd4Smrg#else 42799bc46bd4Smrg your preprocessor is broken; 42809bc46bd4Smrg#endif 42819bc46bd4Smrgstatic long long int bignum = -9223372036854775807LL; 42829bc46bd4Smrgstatic unsigned long long int ubignum = BIG64; 42839bc46bd4Smrg 42849bc46bd4Smrgstruct incomplete_array 42859bc46bd4Smrg{ 42869bc46bd4Smrg int datasize; 42879bc46bd4Smrg double data[]; 42889bc46bd4Smrg}; 42899bc46bd4Smrg 42909bc46bd4Smrgstruct named_init { 42919bc46bd4Smrg int number; 42929bc46bd4Smrg const wchar_t *name; 42939bc46bd4Smrg double average; 42949bc46bd4Smrg}; 42959bc46bd4Smrg 42969bc46bd4Smrgtypedef const char *ccp; 42979bc46bd4Smrg 42989bc46bd4Smrgstatic inline int 42999bc46bd4Smrgtest_restrict (ccp restrict text) 43009bc46bd4Smrg{ 43019bc46bd4Smrg // See if C++-style comments work. 43029bc46bd4Smrg // Iterate through items via the restricted pointer. 43039bc46bd4Smrg // Also check for declarations in for loops. 43049bc46bd4Smrg for (unsigned int i = 0; *(text+i) != '\0'; ++i) 43059bc46bd4Smrg continue; 43069bc46bd4Smrg return 0; 43079bc46bd4Smrg} 43089bc46bd4Smrg 43099bc46bd4Smrg// Check varargs and va_copy. 43109bc46bd4Smrgstatic void 43119bc46bd4Smrgtest_varargs (const char *format, ...) 43129bc46bd4Smrg{ 43139bc46bd4Smrg va_list args; 43149bc46bd4Smrg va_start (args, format); 43159bc46bd4Smrg va_list args_copy; 43169bc46bd4Smrg va_copy (args_copy, args); 43179bc46bd4Smrg 43189bc46bd4Smrg const char *str; 43199bc46bd4Smrg int number; 43209bc46bd4Smrg float fnumber; 43219bc46bd4Smrg 43229bc46bd4Smrg while (*format) 43239bc46bd4Smrg { 43249bc46bd4Smrg switch (*format++) 43259bc46bd4Smrg { 43269bc46bd4Smrg case 's': // string 43279bc46bd4Smrg str = va_arg (args_copy, const char *); 43289bc46bd4Smrg break; 43299bc46bd4Smrg case 'd': // int 43309bc46bd4Smrg number = va_arg (args_copy, int); 43319bc46bd4Smrg break; 43329bc46bd4Smrg case 'f': // float 43339bc46bd4Smrg fnumber = va_arg (args_copy, double); 43349bc46bd4Smrg break; 43359bc46bd4Smrg default: 43369bc46bd4Smrg break; 43379bc46bd4Smrg } 43389bc46bd4Smrg } 43399bc46bd4Smrg va_end (args_copy); 43409bc46bd4Smrg va_end (args); 43419bc46bd4Smrg} 43429bc46bd4Smrg 43439bc46bd4Smrgint 43449bc46bd4Smrgmain () 43459bc46bd4Smrg{ 43469bc46bd4Smrg 43479bc46bd4Smrg // Check bool. 43489bc46bd4Smrg _Bool success = false; 43499bc46bd4Smrg 43509bc46bd4Smrg // Check restrict. 43519bc46bd4Smrg if (test_restrict ("String literal") == 0) 43529bc46bd4Smrg success = true; 43539bc46bd4Smrg char *restrict newvar = "Another string"; 43549bc46bd4Smrg 43559bc46bd4Smrg // Check varargs. 43569bc46bd4Smrg test_varargs ("s, d' f .", "string", 65, 34.234); 43579bc46bd4Smrg test_varargs_macros (); 43589bc46bd4Smrg 43599bc46bd4Smrg // Check flexible array members. 43609bc46bd4Smrg struct incomplete_array *ia = 43619bc46bd4Smrg malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 43629bc46bd4Smrg ia->datasize = 10; 43639bc46bd4Smrg for (int i = 0; i < ia->datasize; ++i) 43649bc46bd4Smrg ia->data[i] = i * 1.234; 43659bc46bd4Smrg 43669bc46bd4Smrg // Check named initializers. 43679bc46bd4Smrg struct named_init ni = { 43689bc46bd4Smrg .number = 34, 43699bc46bd4Smrg .name = L"Test wide string", 43709bc46bd4Smrg .average = 543.34343, 43719bc46bd4Smrg }; 43729bc46bd4Smrg 43739bc46bd4Smrg ni.number = 58; 43749bc46bd4Smrg 43759bc46bd4Smrg int dynamic_array[ni.number]; 43769bc46bd4Smrg dynamic_array[ni.number - 1] = 543; 43779bc46bd4Smrg 43789bc46bd4Smrg // work around unused variable warnings 43799bc46bd4Smrg return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 43809bc46bd4Smrg || dynamic_array[ni.number - 1] != 543); 43819bc46bd4Smrg 43829bc46bd4Smrg ; 43839bc46bd4Smrg return 0; 43849bc46bd4Smrg} 43859bc46bd4Smrg_ACEOF 43869bc46bd4Smrgfor ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 43879bc46bd4Smrgdo 43889bc46bd4Smrg CC="$ac_save_CC $ac_arg" 43899bc46bd4Smrg rm -f conftest.$ac_objext 43909bc46bd4Smrgif { (ac_try="$ac_compile" 43919bc46bd4Smrgcase "(($ac_try" in 43929bc46bd4Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 43939bc46bd4Smrg *) ac_try_echo=$ac_try;; 43949bc46bd4Smrgesac 43959bc46bd4Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 43969bc46bd4Smrg$as_echo "$ac_try_echo") >&5 43979bc46bd4Smrg (eval "$ac_compile") 2>conftest.er1 43989bc46bd4Smrg ac_status=$? 43999bc46bd4Smrg grep -v '^ *+' conftest.er1 >conftest.err 44009bc46bd4Smrg rm -f conftest.er1 44019bc46bd4Smrg cat conftest.err >&5 44029bc46bd4Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 44039bc46bd4Smrg (exit $ac_status); } && { 44049bc46bd4Smrg test -z "$ac_c_werror_flag" || 44059bc46bd4Smrg test ! -s conftest.err 44069bc46bd4Smrg } && test -s conftest.$ac_objext; then 44079bc46bd4Smrg ac_cv_prog_cc_c99=$ac_arg 44089bc46bd4Smrgelse 44099bc46bd4Smrg $as_echo "$as_me: failed program was:" >&5 44109bc46bd4Smrgsed 's/^/| /' conftest.$ac_ext >&5 44119bc46bd4Smrg 44129bc46bd4Smrg 44139bc46bd4Smrgfi 44149bc46bd4Smrg 44159bc46bd4Smrgrm -f core conftest.err conftest.$ac_objext 44169bc46bd4Smrg test "x$ac_cv_prog_cc_c99" != "xno" && break 44179bc46bd4Smrgdone 44189bc46bd4Smrgrm -f conftest.$ac_ext 44199bc46bd4SmrgCC=$ac_save_CC 44209bc46bd4Smrg 44219bc46bd4Smrgfi 44229bc46bd4Smrg# AC_CACHE_VAL 44239bc46bd4Smrgcase "x$ac_cv_prog_cc_c99" in 44249bc46bd4Smrg x) 44259bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: none needed" >&5 44269bc46bd4Smrg$as_echo "none needed" >&6; } ;; 44279bc46bd4Smrg xno) 44289bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: unsupported" >&5 44299bc46bd4Smrg$as_echo "unsupported" >&6; } ;; 44309bc46bd4Smrg *) 44319bc46bd4Smrg CC="$CC $ac_cv_prog_cc_c99" 44329bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5 44339bc46bd4Smrg$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 44349bc46bd4Smrgesac 44359bc46bd4Smrg 44369bc46bd4Smrg 44379bc46bd4Smrg 44389bc46bd4Smrg# Make sure we can run config.sub. 44399bc46bd4Smrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 44409bc46bd4Smrg { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 44419bc46bd4Smrg$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 44429bc46bd4Smrg { (exit 1); exit 1; }; } 44439bc46bd4Smrg 44449bc46bd4Smrg{ $as_echo "$as_me:$LINENO: checking build system type" >&5 44459bc46bd4Smrg$as_echo_n "checking build system type... " >&6; } 44469bc46bd4Smrgif test "${ac_cv_build+set}" = set; then 44479bc46bd4Smrg $as_echo_n "(cached) " >&6 44489bc46bd4Smrgelse 44499bc46bd4Smrg ac_build_alias=$build_alias 44509bc46bd4Smrgtest "x$ac_build_alias" = x && 44519bc46bd4Smrg ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 44529bc46bd4Smrgtest "x$ac_build_alias" = x && 44539bc46bd4Smrg { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 44549bc46bd4Smrg$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 44559bc46bd4Smrg { (exit 1); exit 1; }; } 44569bc46bd4Smrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 44579bc46bd4Smrg { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 44589bc46bd4Smrg$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 44599bc46bd4Smrg { (exit 1); exit 1; }; } 44609bc46bd4Smrg 44619bc46bd4Smrgfi 44629bc46bd4Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 44639bc46bd4Smrg$as_echo "$ac_cv_build" >&6; } 44649bc46bd4Smrgcase $ac_cv_build in 44659bc46bd4Smrg*-*-*) ;; 44669bc46bd4Smrg*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 44679bc46bd4Smrg$as_echo "$as_me: error: invalid value of canonical build" >&2;} 44689bc46bd4Smrg { (exit 1); exit 1; }; };; 44699bc46bd4Smrgesac 44709bc46bd4Smrgbuild=$ac_cv_build 44719bc46bd4Smrgac_save_IFS=$IFS; IFS='-' 44729bc46bd4Smrgset x $ac_cv_build 44739bc46bd4Smrgshift 44749bc46bd4Smrgbuild_cpu=$1 44759bc46bd4Smrgbuild_vendor=$2 44769bc46bd4Smrgshift; shift 44779bc46bd4Smrg# Remember, the first character of IFS is used to create $*, 44789bc46bd4Smrg# except with old shells: 44799bc46bd4Smrgbuild_os=$* 44809bc46bd4SmrgIFS=$ac_save_IFS 44819bc46bd4Smrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 44829bc46bd4Smrg 44839bc46bd4Smrg 44849bc46bd4Smrg{ $as_echo "$as_me:$LINENO: checking host system type" >&5 44859bc46bd4Smrg$as_echo_n "checking host system type... " >&6; } 44869bc46bd4Smrgif test "${ac_cv_host+set}" = set; then 44879bc46bd4Smrg $as_echo_n "(cached) " >&6 44883294c433Smrgelse 44899bc46bd4Smrg if test "x$host_alias" = x; then 44909bc46bd4Smrg ac_cv_host=$ac_cv_build 44919bc46bd4Smrgelse 44929bc46bd4Smrg ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 44939bc46bd4Smrg { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 44949bc46bd4Smrg$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 44959bc46bd4Smrg { (exit 1); exit 1; }; } 44963294c433Smrgfi 44973294c433Smrg 44989bc46bd4Smrgfi 44999bc46bd4Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 45009bc46bd4Smrg$as_echo "$ac_cv_host" >&6; } 45019bc46bd4Smrgcase $ac_cv_host in 45029bc46bd4Smrg*-*-*) ;; 45039bc46bd4Smrg*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 45049bc46bd4Smrg$as_echo "$as_me: error: invalid value of canonical host" >&2;} 45059bc46bd4Smrg { (exit 1); exit 1; }; };; 45069bc46bd4Smrgesac 45079bc46bd4Smrghost=$ac_cv_host 45089bc46bd4Smrgac_save_IFS=$IFS; IFS='-' 45099bc46bd4Smrgset x $ac_cv_host 45109bc46bd4Smrgshift 45119bc46bd4Smrghost_cpu=$1 45129bc46bd4Smrghost_vendor=$2 45139bc46bd4Smrgshift; shift 45149bc46bd4Smrg# Remember, the first character of IFS is used to create $*, 45159bc46bd4Smrg# except with old shells: 45169bc46bd4Smrghost_os=$* 45179bc46bd4SmrgIFS=$ac_save_IFS 45189bc46bd4Smrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 45199bc46bd4Smrg 45209bc46bd4Smrg 45219bc46bd4Smrg 45229bc46bd4Smrg 45239bc46bd4Smrg 45249bc46bd4Smrgif test "x$GCC" = xyes ; then 45259bc46bd4Smrg CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \ 45269bc46bd4Smrg-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \ 45279bc46bd4Smrg-Wbad-function-cast" 45289bc46bd4Smrg case `$CC -dumpversion` in 45299bc46bd4Smrg 3.4.* | 4.*) 45309bc46bd4Smrg CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement" 45319bc46bd4Smrg ;; 45329bc46bd4Smrg esac 45339bc46bd4Smrgelse 45349bc46bd4Smrg { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5 45359bc46bd4Smrg$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; } 45369bc46bd4Smrgif test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then 45379bc46bd4Smrg $as_echo_n "(cached) " >&6 45389bc46bd4Smrgelse 45399bc46bd4Smrg cat >conftest.$ac_ext <<_ACEOF 45409bc46bd4Smrg/* confdefs.h. */ 45419bc46bd4Smrg_ACEOF 45429bc46bd4Smrgcat confdefs.h >>conftest.$ac_ext 45439bc46bd4Smrgcat >>conftest.$ac_ext <<_ACEOF 45449bc46bd4Smrg/* end confdefs.h. */ 45459bc46bd4Smrg$ac_includes_default 45469bc46bd4Smrgint 45479bc46bd4Smrgmain () 45489bc46bd4Smrg{ 45499bc46bd4Smrg#ifndef __SUNPRO_C 45509bc46bd4Smrg (void) __SUNPRO_C; 45519bc46bd4Smrg#endif 45529bc46bd4Smrg 45539bc46bd4Smrg ; 45549bc46bd4Smrg return 0; 45559bc46bd4Smrg} 45569bc46bd4Smrg_ACEOF 45579bc46bd4Smrgrm -f conftest.$ac_objext 45589bc46bd4Smrgif { (ac_try="$ac_compile" 45599bc46bd4Smrgcase "(($ac_try" in 45609bc46bd4Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 45619bc46bd4Smrg *) ac_try_echo=$ac_try;; 45629bc46bd4Smrgesac 45639bc46bd4Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 45649bc46bd4Smrg$as_echo "$ac_try_echo") >&5 45659bc46bd4Smrg (eval "$ac_compile") 2>conftest.er1 45669bc46bd4Smrg ac_status=$? 45679bc46bd4Smrg grep -v '^ *+' conftest.er1 >conftest.err 45689bc46bd4Smrg rm -f conftest.er1 45699bc46bd4Smrg cat conftest.err >&5 45709bc46bd4Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 45719bc46bd4Smrg (exit $ac_status); } && { 45729bc46bd4Smrg test -z "$ac_c_werror_flag" || 45739bc46bd4Smrg test ! -s conftest.err 45749bc46bd4Smrg } && test -s conftest.$ac_objext; then 45759bc46bd4Smrg ac_cv_have_decl___SUNPRO_C=yes 45769bc46bd4Smrgelse 45779bc46bd4Smrg $as_echo "$as_me: failed program was:" >&5 45789bc46bd4Smrgsed 's/^/| /' conftest.$ac_ext >&5 45799bc46bd4Smrg 45809bc46bd4Smrg ac_cv_have_decl___SUNPRO_C=no 45819bc46bd4Smrgfi 45829bc46bd4Smrg 45839bc46bd4Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 45849bc46bd4Smrgfi 45859bc46bd4Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5 45869bc46bd4Smrg$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; } 45879bc46bd4Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then 45889bc46bd4Smrg SUNCC="yes" 45899bc46bd4Smrgelse 45909bc46bd4Smrg SUNCC="no" 45919bc46bd4Smrgfi 45929bc46bd4Smrg 45939bc46bd4Smrg if test "x$SUNCC" = "xyes"; then 45949bc46bd4Smrg CWARNFLAGS="-v" 45959bc46bd4Smrg fi 45969bc46bd4Smrgfi 45979bc46bd4Smrg 45989bc46bd4Smrg# Check whether --enable-silent-rules was given. 45999bc46bd4Smrgif test "${enable_silent_rules+set}" = set; then 46009bc46bd4Smrg enableval=$enable_silent_rules; 46019bc46bd4Smrgfi 46029bc46bd4Smrg 46039bc46bd4Smrgcase $enable_silent_rules in 46049bc46bd4Smrgyes) AM_DEFAULT_VERBOSITY=0;; 46059bc46bd4Smrgno) AM_DEFAULT_VERBOSITY=1;; 46069bc46bd4Smrg*) AM_DEFAULT_VERBOSITY=0;; 46079bc46bd4Smrgesac 46089bc46bd4SmrgAM_BACKSLASH='\' 46099bc46bd4Smrg 46109bc46bd4Smrg 46119bc46bd4Smrg 46129bc46bd4Smrg 46139bc46bd4Smrg 46149bc46bd4Smrg 46159bc46bd4Smrg 46169bc46bd4Smrg# Check whether --enable-strict-compilation was given. 46179bc46bd4Smrgif test "${enable_strict_compilation+set}" = set; then 46189bc46bd4Smrg enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval 46199bc46bd4Smrgelse 46209bc46bd4Smrg STRICT_COMPILE=no 46219bc46bd4Smrgfi 46229bc46bd4Smrg 46239bc46bd4Smrgif test "x$STRICT_COMPILE" = "xyes"; then 46249bc46bd4Smrg { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5 46259bc46bd4Smrg$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; } 46269bc46bd4Smrgif test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then 46279bc46bd4Smrg $as_echo_n "(cached) " >&6 46289bc46bd4Smrgelse 46299bc46bd4Smrg cat >conftest.$ac_ext <<_ACEOF 46309bc46bd4Smrg/* confdefs.h. */ 46319bc46bd4Smrg_ACEOF 46329bc46bd4Smrgcat confdefs.h >>conftest.$ac_ext 46339bc46bd4Smrgcat >>conftest.$ac_ext <<_ACEOF 46349bc46bd4Smrg/* end confdefs.h. */ 46359bc46bd4Smrg$ac_includes_default 46369bc46bd4Smrgint 46379bc46bd4Smrgmain () 46389bc46bd4Smrg{ 46399bc46bd4Smrg#ifndef __SUNPRO_C 46409bc46bd4Smrg (void) __SUNPRO_C; 46419bc46bd4Smrg#endif 46429bc46bd4Smrg 46439bc46bd4Smrg ; 46449bc46bd4Smrg return 0; 46459bc46bd4Smrg} 46469bc46bd4Smrg_ACEOF 46479bc46bd4Smrgrm -f conftest.$ac_objext 46489bc46bd4Smrgif { (ac_try="$ac_compile" 46499bc46bd4Smrgcase "(($ac_try" in 46509bc46bd4Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 46519bc46bd4Smrg *) ac_try_echo=$ac_try;; 46529bc46bd4Smrgesac 46539bc46bd4Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 46549bc46bd4Smrg$as_echo "$ac_try_echo") >&5 46559bc46bd4Smrg (eval "$ac_compile") 2>conftest.er1 46569bc46bd4Smrg ac_status=$? 46579bc46bd4Smrg grep -v '^ *+' conftest.er1 >conftest.err 46589bc46bd4Smrg rm -f conftest.er1 46599bc46bd4Smrg cat conftest.err >&5 46609bc46bd4Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 46619bc46bd4Smrg (exit $ac_status); } && { 46629bc46bd4Smrg test -z "$ac_c_werror_flag" || 46639bc46bd4Smrg test ! -s conftest.err 46649bc46bd4Smrg } && test -s conftest.$ac_objext; then 46659bc46bd4Smrg ac_cv_have_decl___SUNPRO_C=yes 46669bc46bd4Smrgelse 46679bc46bd4Smrg $as_echo "$as_me: failed program was:" >&5 46689bc46bd4Smrgsed 's/^/| /' conftest.$ac_ext >&5 46699bc46bd4Smrg 46709bc46bd4Smrg ac_cv_have_decl___SUNPRO_C=no 46719bc46bd4Smrgfi 46729bc46bd4Smrg 46739bc46bd4Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 46749bc46bd4Smrgfi 46759bc46bd4Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5 46769bc46bd4Smrg$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; } 46779bc46bd4Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then 46789bc46bd4Smrg SUNCC="yes" 46799bc46bd4Smrgelse 46809bc46bd4Smrg SUNCC="no" 46819bc46bd4Smrgfi 46829bc46bd4Smrg 46839bc46bd4Smrg { $as_echo "$as_me:$LINENO: checking whether __INTEL_COMPILER is declared" >&5 46849bc46bd4Smrg$as_echo_n "checking whether __INTEL_COMPILER is declared... " >&6; } 46859bc46bd4Smrgif test "${ac_cv_have_decl___INTEL_COMPILER+set}" = set; then 46869bc46bd4Smrg $as_echo_n "(cached) " >&6 46879bc46bd4Smrgelse 46889bc46bd4Smrg cat >conftest.$ac_ext <<_ACEOF 46899bc46bd4Smrg/* confdefs.h. */ 46909bc46bd4Smrg_ACEOF 46919bc46bd4Smrgcat confdefs.h >>conftest.$ac_ext 46929bc46bd4Smrgcat >>conftest.$ac_ext <<_ACEOF 46939bc46bd4Smrg/* end confdefs.h. */ 46949bc46bd4Smrg$ac_includes_default 46959bc46bd4Smrgint 46969bc46bd4Smrgmain () 46979bc46bd4Smrg{ 46989bc46bd4Smrg#ifndef __INTEL_COMPILER 46999bc46bd4Smrg (void) __INTEL_COMPILER; 47009bc46bd4Smrg#endif 47019bc46bd4Smrg 47029bc46bd4Smrg ; 47039bc46bd4Smrg return 0; 47049bc46bd4Smrg} 47059bc46bd4Smrg_ACEOF 47069bc46bd4Smrgrm -f conftest.$ac_objext 47079bc46bd4Smrgif { (ac_try="$ac_compile" 47089bc46bd4Smrgcase "(($ac_try" in 47099bc46bd4Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 47109bc46bd4Smrg *) ac_try_echo=$ac_try;; 47119bc46bd4Smrgesac 47129bc46bd4Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 47139bc46bd4Smrg$as_echo "$ac_try_echo") >&5 47149bc46bd4Smrg (eval "$ac_compile") 2>conftest.er1 47159bc46bd4Smrg ac_status=$? 47169bc46bd4Smrg grep -v '^ *+' conftest.er1 >conftest.err 47179bc46bd4Smrg rm -f conftest.er1 47189bc46bd4Smrg cat conftest.err >&5 47199bc46bd4Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 47209bc46bd4Smrg (exit $ac_status); } && { 47219bc46bd4Smrg test -z "$ac_c_werror_flag" || 47229bc46bd4Smrg test ! -s conftest.err 47239bc46bd4Smrg } && test -s conftest.$ac_objext; then 47249bc46bd4Smrg ac_cv_have_decl___INTEL_COMPILER=yes 47259bc46bd4Smrgelse 47269bc46bd4Smrg $as_echo "$as_me: failed program was:" >&5 47279bc46bd4Smrgsed 's/^/| /' conftest.$ac_ext >&5 47289bc46bd4Smrg 47299bc46bd4Smrg ac_cv_have_decl___INTEL_COMPILER=no 47309bc46bd4Smrgfi 47319bc46bd4Smrg 47329bc46bd4Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 47339bc46bd4Smrgfi 47349bc46bd4Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___INTEL_COMPILER" >&5 47359bc46bd4Smrg$as_echo "$ac_cv_have_decl___INTEL_COMPILER" >&6; } 47369bc46bd4Smrgif test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then 47379bc46bd4Smrg INTELCC="yes" 47389bc46bd4Smrgelse 47399bc46bd4Smrg INTELCC="no" 47409bc46bd4Smrgfi 47419bc46bd4Smrg 47429bc46bd4Smrg if test "x$GCC" = xyes ; then 47439bc46bd4Smrg STRICT_CFLAGS="-pedantic -Werror" 47449bc46bd4Smrg elif test "x$SUNCC" = "xyes"; then 47459bc46bd4Smrg STRICT_CFLAGS="-errwarn" 47469bc46bd4Smrg elif test "x$INTELCC" = "xyes"; then 47479bc46bd4Smrg STRICT_CFLAGS="-Werror" 47489bc46bd4Smrg fi 47499bc46bd4Smrgfi 47509bc46bd4SmrgCWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS" 47519bc46bd4Smrg 47529bc46bd4Smrg 47539bc46bd4Smrg 47549bc46bd4Smrg 47559bc46bd4Smrg# Check whether --with-release-version was given. 47569bc46bd4Smrgif test "${with_release_version+set}" = set; then 47579bc46bd4Smrg withval=$with_release_version; RELEASE_VERSION="$withval" 47589bc46bd4Smrgelse 47599bc46bd4Smrg RELEASE_VERSION="" 47609bc46bd4Smrgfi 47619bc46bd4Smrg 47629bc46bd4Smrg if test "x$RELEASE_VERSION" != "x"; then 47639bc46bd4Smrg PACKAGE="$PACKAGE-$RELEASE_VERSION" 47649bc46bd4Smrg PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION" 47659bc46bd4Smrg { $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5 47669bc46bd4Smrg$as_echo "$as_me: Building with package name set to $PACKAGE" >&6;} 47679bc46bd4Smrg fi 47689bc46bd4Smrg 47699bc46bd4Smrgcat >>confdefs.h <<_ACEOF 47709bc46bd4Smrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 47719bc46bd4Smrg_ACEOF 47729bc46bd4Smrg 47739bc46bd4Smrg PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 47749bc46bd4Smrg if test "x$PVM" = "x"; then 47759bc46bd4Smrg PVM="0" 47769bc46bd4Smrg fi 47779bc46bd4Smrg 47789bc46bd4Smrgcat >>confdefs.h <<_ACEOF 47799bc46bd4Smrg#define PACKAGE_VERSION_MINOR $PVM 47809bc46bd4Smrg_ACEOF 47819bc46bd4Smrg 47829bc46bd4Smrg PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 47839bc46bd4Smrg if test "x$PVP" = "x"; then 47849bc46bd4Smrg PVP="0" 47859bc46bd4Smrg fi 47869bc46bd4Smrg 47879bc46bd4Smrgcat >>confdefs.h <<_ACEOF 47889bc46bd4Smrg#define PACKAGE_VERSION_PATCHLEVEL $PVP 47899bc46bd4Smrg_ACEOF 47909bc46bd4Smrg 47919bc46bd4Smrg 47929bc46bd4Smrg 47939bc46bd4SmrgCHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \ 47949bc46bd4Smrgmv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \ 47959bc46bd4Smrgecho 'git directory not found: installing possibly empty changelog.' >&2)" 47969bc46bd4Smrg 47979bc46bd4Smrgdistcleancheck_listfiles='find . -type f ! -name ChangeLog -print' 47989bc46bd4Smrg 47999bc46bd4Smrg 48009bc46bd4Smrg 48019bc46bd4Smrg 48029bc46bd4Smrg 48039bc46bd4Smrgif test x$APP_MAN_SUFFIX = x ; then 48049bc46bd4Smrg APP_MAN_SUFFIX=1 48059bc46bd4Smrgfi 48069bc46bd4Smrgif test x$APP_MAN_DIR = x ; then 48079bc46bd4Smrg APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 48089bc46bd4Smrgfi 48099bc46bd4Smrg 48109bc46bd4Smrgif test x$LIB_MAN_SUFFIX = x ; then 48119bc46bd4Smrg LIB_MAN_SUFFIX=3 48129bc46bd4Smrgfi 48139bc46bd4Smrgif test x$LIB_MAN_DIR = x ; then 48149bc46bd4Smrg LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 48159bc46bd4Smrgfi 48169bc46bd4Smrg 48179bc46bd4Smrgif test x$FILE_MAN_SUFFIX = x ; then 48189bc46bd4Smrg case $host_os in 48199bc46bd4Smrg solaris*) FILE_MAN_SUFFIX=4 ;; 48209bc46bd4Smrg *) FILE_MAN_SUFFIX=5 ;; 48219bc46bd4Smrg esac 48229bc46bd4Smrgfi 48239bc46bd4Smrgif test x$FILE_MAN_DIR = x ; then 48249bc46bd4Smrg FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 48259bc46bd4Smrgfi 48269bc46bd4Smrg 48279bc46bd4Smrgif test x$MISC_MAN_SUFFIX = x ; then 48289bc46bd4Smrg case $host_os in 48299bc46bd4Smrg solaris*) MISC_MAN_SUFFIX=5 ;; 48309bc46bd4Smrg *) MISC_MAN_SUFFIX=7 ;; 48319bc46bd4Smrg esac 48329bc46bd4Smrgfi 48339bc46bd4Smrgif test x$MISC_MAN_DIR = x ; then 48349bc46bd4Smrg MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 48359bc46bd4Smrgfi 48369bc46bd4Smrg 48379bc46bd4Smrgif test x$DRIVER_MAN_SUFFIX = x ; then 48389bc46bd4Smrg case $host_os in 48399bc46bd4Smrg solaris*) DRIVER_MAN_SUFFIX=7 ;; 48409bc46bd4Smrg *) DRIVER_MAN_SUFFIX=4 ;; 48419bc46bd4Smrg esac 48429bc46bd4Smrgfi 48439bc46bd4Smrgif test x$DRIVER_MAN_DIR = x ; then 48449bc46bd4Smrg DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 48459bc46bd4Smrgfi 48469bc46bd4Smrg 48479bc46bd4Smrgif test x$ADMIN_MAN_SUFFIX = x ; then 48489bc46bd4Smrg case $host_os in 48499bc46bd4Smrg solaris*) ADMIN_MAN_SUFFIX=1m ;; 48509bc46bd4Smrg *) ADMIN_MAN_SUFFIX=8 ;; 48519bc46bd4Smrg esac 48529bc46bd4Smrgfi 48539bc46bd4Smrgif test x$ADMIN_MAN_DIR = x ; then 48549bc46bd4Smrg ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 48559bc46bd4Smrgfi 48569bc46bd4Smrg 48579bc46bd4Smrg 48589bc46bd4Smrg 48599bc46bd4Smrg 48609bc46bd4Smrg 48619bc46bd4Smrg 48629bc46bd4Smrg 48639bc46bd4Smrg 48649bc46bd4Smrg 48659bc46bd4Smrg 48669bc46bd4Smrg 48679bc46bd4Smrg 48689bc46bd4Smrg 48699bc46bd4Smrg 48703294c433Smrg 48713294c433Smrg 48723294c433Smrg 48733294c433Smrg# Find a good install program. We prefer a C program (faster), 48743294c433Smrg# so one script is as good as another. But avoid the broken or 48753294c433Smrg# incompatible versions: 48763294c433Smrg# SysV /etc/install, /usr/sbin/install 48773294c433Smrg# SunOS /usr/etc/install 48783294c433Smrg# IRIX /sbin/install 48793294c433Smrg# AIX /bin/install 48803294c433Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs 48813294c433Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 48823294c433Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 48833294c433Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 48843294c433Smrg# OS/2's system install, which has a completely different semantic 48853294c433Smrg# ./install, which can be erroneously created by make from ./install.sh. 48869bc46bd4Smrg# Reject install programs that cannot install multiple files. 48879bc46bd4Smrg{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 48889bc46bd4Smrg$as_echo_n "checking for a BSD-compatible install... " >&6; } 48893294c433Smrgif test -z "$INSTALL"; then 48903294c433Smrgif test "${ac_cv_path_install+set}" = set; then 48919bc46bd4Smrg $as_echo_n "(cached) " >&6 48923294c433Smrgelse 48933294c433Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 48943294c433Smrgfor as_dir in $PATH 48953294c433Smrgdo 48963294c433Smrg IFS=$as_save_IFS 48973294c433Smrg test -z "$as_dir" && as_dir=. 48983294c433Smrg # Account for people who put trailing slashes in PATH elements. 48993294c433Smrgcase $as_dir/ in 49003294c433Smrg ./ | .// | /cC/* | \ 49013294c433Smrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 49023294c433Smrg ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 49033294c433Smrg /usr/ucb/* ) ;; 49043294c433Smrg *) 49053294c433Smrg # OSF1 and SCO ODT 3.0 have their own names for install. 49063294c433Smrg # Don't use installbsd from OSF since it installs stuff as root 49073294c433Smrg # by default. 49083294c433Smrg for ac_prog in ginstall scoinst install; do 49093294c433Smrg for ac_exec_ext in '' $ac_executable_extensions; do 49109bc46bd4Smrg if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 49113294c433Smrg if test $ac_prog = install && 49123294c433Smrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 49133294c433Smrg # AIX install. It has an incompatible calling convention. 49143294c433Smrg : 49153294c433Smrg elif test $ac_prog = install && 49163294c433Smrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 49173294c433Smrg # program-specific install script used by HP pwplus--don't use. 49183294c433Smrg : 49193294c433Smrg else 49209bc46bd4Smrg rm -rf conftest.one conftest.two conftest.dir 49219bc46bd4Smrg echo one > conftest.one 49229bc46bd4Smrg echo two > conftest.two 49239bc46bd4Smrg mkdir conftest.dir 49249bc46bd4Smrg if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 49259bc46bd4Smrg test -s conftest.one && test -s conftest.two && 49269bc46bd4Smrg test -s conftest.dir/conftest.one && 49279bc46bd4Smrg test -s conftest.dir/conftest.two 49289bc46bd4Smrg then 49299bc46bd4Smrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 49309bc46bd4Smrg break 3 49319bc46bd4Smrg fi 49323294c433Smrg fi 49333294c433Smrg fi 49343294c433Smrg done 49353294c433Smrg done 49363294c433Smrg ;; 49373294c433Smrgesac 49389bc46bd4Smrg 49393294c433Smrgdone 49409bc46bd4SmrgIFS=$as_save_IFS 49413294c433Smrg 49429bc46bd4Smrgrm -rf conftest.one conftest.two conftest.dir 49433294c433Smrg 49443294c433Smrgfi 49453294c433Smrg if test "${ac_cv_path_install+set}" = set; then 49463294c433Smrg INSTALL=$ac_cv_path_install 49473294c433Smrg else 49489bc46bd4Smrg # As a last resort, use the slow shell script. Don't cache a 49499bc46bd4Smrg # value for INSTALL within a source directory, because that will 49503294c433Smrg # break other packages using the cache if that directory is 49519bc46bd4Smrg # removed, or if the value is a relative name. 49523294c433Smrg INSTALL=$ac_install_sh 49533294c433Smrg fi 49543294c433Smrgfi 49559bc46bd4Smrg{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 49569bc46bd4Smrg$as_echo "$INSTALL" >&6; } 49579bc46bd4Smrg 49589bc46bd4Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 49599bc46bd4Smrg# It thinks the first close brace ends the variable substitution. 49609bc46bd4Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 49619bc46bd4Smrg 49629bc46bd4Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 49639bc46bd4Smrg 49649bc46bd4Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 49659bc46bd4Smrg 49669bc46bd4Smrg 49679bc46bd4Smrg# Require X.Org's font util macros 1.1 or later 49689bc46bd4Smrg 49699bc46bd4Smrg 49709bc46bd4Smrg 49719bc46bd4Smrg 49729bc46bd4Smrg 49739bc46bd4Smrg 49749bc46bd4Smrg 49759bc46bd4Smrg 49769bc46bd4Smrg 49779bc46bd4Smrg 49789bc46bd4Smrg 49799bc46bd4Smrg 49809bc46bd4Smrg 49819bc46bd4Smrg 49829bc46bd4Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 49839bc46bd4Smrg if test -n "$ac_tool_prefix"; then 49849bc46bd4Smrg # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 49859bc46bd4Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2 49869bc46bd4Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 49879bc46bd4Smrg$as_echo_n "checking for $ac_word... " >&6; } 49889bc46bd4Smrgif test "${ac_cv_path_PKG_CONFIG+set}" = set; then 49899bc46bd4Smrg $as_echo_n "(cached) " >&6 49909bc46bd4Smrgelse 49919bc46bd4Smrg case $PKG_CONFIG in 49929bc46bd4Smrg [\\/]* | ?:[\\/]*) 49939bc46bd4Smrg ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 49949bc46bd4Smrg ;; 49959bc46bd4Smrg *) 49969bc46bd4Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 49979bc46bd4Smrgfor as_dir in $PATH 49989bc46bd4Smrgdo 49999bc46bd4Smrg IFS=$as_save_IFS 50009bc46bd4Smrg test -z "$as_dir" && as_dir=. 50019bc46bd4Smrg for ac_exec_ext in '' $ac_executable_extensions; do 50029bc46bd4Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 50039bc46bd4Smrg ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 50049bc46bd4Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 50059bc46bd4Smrg break 2 50069bc46bd4Smrg fi 50079bc46bd4Smrgdone 50089bc46bd4Smrgdone 50099bc46bd4SmrgIFS=$as_save_IFS 50109bc46bd4Smrg 50119bc46bd4Smrg ;; 50129bc46bd4Smrgesac 50139bc46bd4Smrgfi 50149bc46bd4SmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG 50159bc46bd4Smrgif test -n "$PKG_CONFIG"; then 50169bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 50179bc46bd4Smrg$as_echo "$PKG_CONFIG" >&6; } 50189bc46bd4Smrgelse 50199bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 50209bc46bd4Smrg$as_echo "no" >&6; } 50219bc46bd4Smrgfi 50229bc46bd4Smrg 50239bc46bd4Smrg 50249bc46bd4Smrgfi 50259bc46bd4Smrgif test -z "$ac_cv_path_PKG_CONFIG"; then 50269bc46bd4Smrg ac_pt_PKG_CONFIG=$PKG_CONFIG 50279bc46bd4Smrg # Extract the first word of "pkg-config", so it can be a program name with args. 50289bc46bd4Smrgset dummy pkg-config; ac_word=$2 50299bc46bd4Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 50309bc46bd4Smrg$as_echo_n "checking for $ac_word... " >&6; } 50319bc46bd4Smrgif test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then 50329bc46bd4Smrg $as_echo_n "(cached) " >&6 50339bc46bd4Smrgelse 50349bc46bd4Smrg case $ac_pt_PKG_CONFIG in 50359bc46bd4Smrg [\\/]* | ?:[\\/]*) 50369bc46bd4Smrg ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 50379bc46bd4Smrg ;; 50389bc46bd4Smrg *) 50399bc46bd4Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 50409bc46bd4Smrgfor as_dir in $PATH 50419bc46bd4Smrgdo 50429bc46bd4Smrg IFS=$as_save_IFS 50439bc46bd4Smrg test -z "$as_dir" && as_dir=. 50449bc46bd4Smrg for ac_exec_ext in '' $ac_executable_extensions; do 50459bc46bd4Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 50469bc46bd4Smrg ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 50479bc46bd4Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 50489bc46bd4Smrg break 2 50499bc46bd4Smrg fi 50509bc46bd4Smrgdone 50519bc46bd4Smrgdone 50529bc46bd4SmrgIFS=$as_save_IFS 50539bc46bd4Smrg 50549bc46bd4Smrg ;; 50559bc46bd4Smrgesac 50569bc46bd4Smrgfi 50579bc46bd4Smrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 50589bc46bd4Smrgif test -n "$ac_pt_PKG_CONFIG"; then 50599bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 50609bc46bd4Smrg$as_echo "$ac_pt_PKG_CONFIG" >&6; } 50619bc46bd4Smrgelse 50629bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 50639bc46bd4Smrg$as_echo "no" >&6; } 50649bc46bd4Smrgfi 50659bc46bd4Smrg 50669bc46bd4Smrg if test "x$ac_pt_PKG_CONFIG" = x; then 50679bc46bd4Smrg PKG_CONFIG="" 50689bc46bd4Smrg else 50699bc46bd4Smrg case $cross_compiling:$ac_tool_warned in 50709bc46bd4Smrgyes:) 50719bc46bd4Smrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 50729bc46bd4Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 50739bc46bd4Smrgac_tool_warned=yes ;; 50749bc46bd4Smrgesac 50759bc46bd4Smrg PKG_CONFIG=$ac_pt_PKG_CONFIG 50769bc46bd4Smrg fi 50779bc46bd4Smrgelse 50789bc46bd4Smrg PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 50799bc46bd4Smrgfi 50809bc46bd4Smrg 50819bc46bd4Smrgfi 50829bc46bd4Smrgif test -n "$PKG_CONFIG"; then 50839bc46bd4Smrg _pkg_min_version=0.9.0 50849bc46bd4Smrg { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 50859bc46bd4Smrg$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 50869bc46bd4Smrg if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 50879bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: yes" >&5 50889bc46bd4Smrg$as_echo "yes" >&6; } 50899bc46bd4Smrg else 50909bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 50919bc46bd4Smrg$as_echo "no" >&6; } 50929bc46bd4Smrg PKG_CONFIG="" 50939bc46bd4Smrg fi 50949bc46bd4Smrg 50959bc46bd4Smrgfi 50969bc46bd4Smrg 50979bc46bd4Smrg 50989bc46bd4Smrg 50999bc46bd4Smrg { $as_echo "$as_me:$LINENO: checking for root directory for font files" >&5 51009bc46bd4Smrg$as_echo_n "checking for root directory for font files... " >&6; } 51019bc46bd4Smrg 51029bc46bd4Smrg# Check whether --with-fontrootdir was given. 51039bc46bd4Smrgif test "${with_fontrootdir+set}" = set; then 51049bc46bd4Smrg withval=$with_fontrootdir; FONTROOTDIR="$withval" 51059bc46bd4Smrgfi 51063294c433Smrg 51079bc46bd4Smrg # if --with-fontrootdir not specified... 51089bc46bd4Smrg if test "x${FONTROOTDIR}" = "x"; then 51099bc46bd4Smrg FONTROOTDIR=`$PKG_CONFIG --variable=fontrootdir fontutil` 51109bc46bd4Smrg fi 51119bc46bd4Smrg # ...and if pkg-config didn't find fontdir in fontutil.pc... 51129bc46bd4Smrg if test "x${FONTROOTDIR}" = "x"; then 51139bc46bd4Smrg FONTROOTDIR="${datadir}/fonts/X11" 51149bc46bd4Smrg fi 51153294c433Smrg 51169bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: ${FONTROOTDIR}" >&5 51179bc46bd4Smrg$as_echo "${FONTROOTDIR}" >&6; } 51183294c433Smrg 51193294c433Smrg 51203294c433Smrg 51213294c433Smrg 51229bc46bd4Smrg { $as_echo "$as_me:$LINENO: checking for directory for 100dpi files" >&5 51239bc46bd4Smrg$as_echo_n "checking for directory for 100dpi files... " >&6; } 51243294c433Smrg 51259bc46bd4Smrg# Check whether --with-fontdir was given. 51269bc46bd4Smrgif test "${with_fontdir+set}" = set; then 51279bc46bd4Smrg withval=$with_fontdir; FONTDIR="${withval}" 51283294c433Smrgelse 51299bc46bd4Smrg FONTDIR='${FONTROOTDIR}/100dpi' 51303294c433Smrgfi 51313294c433Smrg 51329bc46bd4Smrg 51339bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: ${FONTDIR}" >&5 51349bc46bd4Smrg$as_echo "${FONTDIR}" >&6; } 51359bc46bd4Smrg 51369bc46bd4Smrg 51379bc46bd4Smrg 51389bc46bd4Smrg 51399bc46bd4Smrg # Extract the first word of "fc-cache", so it can be a program name with args. 51409bc46bd4Smrgset dummy fc-cache; ac_word=$2 51419bc46bd4Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 51429bc46bd4Smrg$as_echo_n "checking for $ac_word... " >&6; } 51439bc46bd4Smrgif test "${ac_cv_path_FCCACHE+set}" = set; then 51449bc46bd4Smrg $as_echo_n "(cached) " >&6 51453294c433Smrgelse 51469bc46bd4Smrg case $FCCACHE in 51473294c433Smrg [\\/]* | ?:[\\/]*) 51489bc46bd4Smrg ac_cv_path_FCCACHE="$FCCACHE" # Let the user override the test with a path. 51493294c433Smrg ;; 51503294c433Smrg *) 51513294c433Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 51523294c433Smrgfor as_dir in $PATH 51533294c433Smrgdo 51543294c433Smrg IFS=$as_save_IFS 51553294c433Smrg test -z "$as_dir" && as_dir=. 51563294c433Smrg for ac_exec_ext in '' $ac_executable_extensions; do 51579bc46bd4Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 51589bc46bd4Smrg ac_cv_path_FCCACHE="$as_dir/$ac_word$ac_exec_ext" 51599bc46bd4Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 51603294c433Smrg break 2 51613294c433Smrg fi 51623294c433Smrgdone 51633294c433Smrgdone 51649bc46bd4SmrgIFS=$as_save_IFS 51653294c433Smrg 51663294c433Smrg ;; 51673294c433Smrgesac 51683294c433Smrgfi 51699bc46bd4SmrgFCCACHE=$ac_cv_path_FCCACHE 51709bc46bd4Smrgif test -n "$FCCACHE"; then 51719bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: $FCCACHE" >&5 51729bc46bd4Smrg$as_echo "$FCCACHE" >&6; } 51733294c433Smrgelse 51749bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 51759bc46bd4Smrg$as_echo "no" >&6; } 51763294c433Smrgfi 51773294c433Smrg 51789bc46bd4Smrg 51799bc46bd4Smrg FCCACHE_WARN='echo "** Warning: fonts.cache not built" ; echo "** Generate this file manually on host system using fc-cache"' 51809bc46bd4Smrg if test x"$FCCACHE" = x ; then 51819bc46bd4Smrg RUN_FCCACHE="${FCCACHE_WARN}" 51829bc46bd4Smrg else 51839bc46bd4Smrg RUN_FCCACHE='@(if test -z "$(DESTDIR)"; then echo $(FCCACHE) $(fontdir); $(FCCACHE) $(fontdir); else' 51849bc46bd4Smrg RUN_FCCACHE="${RUN_FCCACHE} ${FCCACHE_WARN} ; fi)" 51859bc46bd4Smrg fi 51869bc46bd4Smrg 51879bc46bd4Smrg 51889bc46bd4Smrg 51899bc46bd4Smrg # Extract the first word of "mkfontdir", so it can be a program name with args. 51909bc46bd4Smrgset dummy mkfontdir; ac_word=$2 51919bc46bd4Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 51929bc46bd4Smrg$as_echo_n "checking for $ac_word... " >&6; } 51939bc46bd4Smrgif test "${ac_cv_path_MKFONTDIR+set}" = set; then 51949bc46bd4Smrg $as_echo_n "(cached) " >&6 51953294c433Smrgelse 51969bc46bd4Smrg case $MKFONTDIR in 51973294c433Smrg [\\/]* | ?:[\\/]*) 51989bc46bd4Smrg ac_cv_path_MKFONTDIR="$MKFONTDIR" # Let the user override the test with a path. 51993294c433Smrg ;; 52003294c433Smrg *) 52013294c433Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 52023294c433Smrgfor as_dir in $PATH 52033294c433Smrgdo 52043294c433Smrg IFS=$as_save_IFS 52053294c433Smrg test -z "$as_dir" && as_dir=. 52063294c433Smrg for ac_exec_ext in '' $ac_executable_extensions; do 52079bc46bd4Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 52089bc46bd4Smrg ac_cv_path_MKFONTDIR="$as_dir/$ac_word$ac_exec_ext" 52099bc46bd4Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 52103294c433Smrg break 2 52113294c433Smrg fi 52123294c433Smrgdone 52133294c433Smrgdone 52149bc46bd4SmrgIFS=$as_save_IFS 52153294c433Smrg 52163294c433Smrg ;; 52173294c433Smrgesac 52183294c433Smrgfi 52199bc46bd4SmrgMKFONTDIR=$ac_cv_path_MKFONTDIR 52209bc46bd4Smrgif test -n "$MKFONTDIR"; then 52219bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: $MKFONTDIR" >&5 52229bc46bd4Smrg$as_echo "$MKFONTDIR" >&6; } 52233294c433Smrgelse 52249bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 52259bc46bd4Smrg$as_echo "no" >&6; } 52263294c433Smrgfi 52273294c433Smrg 52289bc46bd4Smrg 52299bc46bd4Smrg if test x"MKFONTDIR" = x; then 52309bc46bd4Smrg { { $as_echo "$as_me:$LINENO: error: mkfontdir is required to build $PACKAGE_NAME." >&5 52319bc46bd4Smrg$as_echo "$as_me: error: mkfontdir is required to build $PACKAGE_NAME." >&2;} 52329bc46bd4Smrg { (exit 1); exit 1; }; } 52339bc46bd4Smrg fi 52349bc46bd4Smrg 52359bc46bd4Smrg 52369bc46bd4Smrg 52379bc46bd4Smrg # Extract the first word of "bdftopcf", so it can be a program name with args. 52389bc46bd4Smrgset dummy bdftopcf; ac_word=$2 52399bc46bd4Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 52409bc46bd4Smrg$as_echo_n "checking for $ac_word... " >&6; } 52419bc46bd4Smrgif test "${ac_cv_path_BDFTOPCF+set}" = set; then 52429bc46bd4Smrg $as_echo_n "(cached) " >&6 52433294c433Smrgelse 52449bc46bd4Smrg case $BDFTOPCF in 52453294c433Smrg [\\/]* | ?:[\\/]*) 52469bc46bd4Smrg ac_cv_path_BDFTOPCF="$BDFTOPCF" # Let the user override the test with a path. 52473294c433Smrg ;; 52483294c433Smrg *) 52493294c433Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 52503294c433Smrgfor as_dir in $PATH 52513294c433Smrgdo 52523294c433Smrg IFS=$as_save_IFS 52533294c433Smrg test -z "$as_dir" && as_dir=. 52543294c433Smrg for ac_exec_ext in '' $ac_executable_extensions; do 52559bc46bd4Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 52569bc46bd4Smrg ac_cv_path_BDFTOPCF="$as_dir/$ac_word$ac_exec_ext" 52579bc46bd4Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 52583294c433Smrg break 2 52593294c433Smrg fi 52603294c433Smrgdone 52613294c433Smrgdone 52629bc46bd4SmrgIFS=$as_save_IFS 52633294c433Smrg 52643294c433Smrg ;; 52653294c433Smrgesac 52663294c433Smrgfi 52679bc46bd4SmrgBDFTOPCF=$ac_cv_path_BDFTOPCF 52689bc46bd4Smrgif test -n "$BDFTOPCF"; then 52699bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: $BDFTOPCF" >&5 52709bc46bd4Smrg$as_echo "$BDFTOPCF" >&6; } 52713294c433Smrgelse 52729bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 52739bc46bd4Smrg$as_echo "no" >&6; } 52743294c433Smrgfi 52753294c433Smrg 52763294c433Smrg 52779bc46bd4Smrg if test x"BDFTOPCF" = x; then 52789bc46bd4Smrg { { $as_echo "$as_me:$LINENO: error: bdftopcf is required to build $PACKAGE_NAME." >&5 52799bc46bd4Smrg$as_echo "$as_me: error: bdftopcf is required to build $PACKAGE_NAME." >&2;} 52809bc46bd4Smrg { (exit 1); exit 1; }; } 52819bc46bd4Smrg fi 52823294c433Smrg 52833294c433Smrg 52849bc46bd4Smrg { $as_echo "$as_me:$LINENO: checking font compression method" >&5 52859bc46bd4Smrg$as_echo_n "checking font compression method... " >&6; } 52863294c433Smrg 52879bc46bd4Smrg# Check whether --with-compression was given. 52889bc46bd4Smrgif test "${with_compression+set}" = set; then 52899bc46bd4Smrg withval=$with_compression; compression="$withval" 52903294c433Smrgelse 52919bc46bd4Smrg compression="yes" 52929bc46bd4Smrgfi 52933294c433Smrg 52949bc46bd4Smrg if test x"$compression" = "xyes" ; then 52959bc46bd4Smrg compression="gzip" 52969bc46bd4Smrg fi 52979bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: ${compression}" >&5 52989bc46bd4Smrg$as_echo "${compression}" >&6; } 52999bc46bd4Smrg case ${compression} in 53009bc46bd4Smrg *compress) COMPRESS_SUFFIX=".Z" ;; 53019bc46bd4Smrg *gzip) COMPRESS_SUFFIX=".gz" ;; 53029bc46bd4Smrg *bzip2) COMPRESS_SUFFIX=".bz2" ;; 53039bc46bd4Smrg no|none) COMPRESS_SUFFIX="" ; COMPRESS="cat" ;; 53049bc46bd4Smrg *) { { $as_echo "$as_me:$LINENO: error: ${compression} is not a supported compression method" >&5 53059bc46bd4Smrg$as_echo "$as_me: error: ${compression} is not a supported compression method" >&2;} 53069bc46bd4Smrg { (exit 1); exit 1; }; } ;; 53079bc46bd4Smrg esac 53089bc46bd4Smrg if test x"$COMPRESS_SUFFIX" != "x" ; then 53099bc46bd4Smrg 53109bc46bd4Smrg # Extract the first word of "${compression}", so it can be a program name with args. 53119bc46bd4Smrgset dummy ${compression}; ac_word=$2 53129bc46bd4Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 53139bc46bd4Smrg$as_echo_n "checking for $ac_word... " >&6; } 53149bc46bd4Smrgif test "${ac_cv_path_COMPRESS+set}" = set; then 53159bc46bd4Smrg $as_echo_n "(cached) " >&6 53163294c433Smrgelse 53179bc46bd4Smrg case $COMPRESS in 53183294c433Smrg [\\/]* | ?:[\\/]*) 53199bc46bd4Smrg ac_cv_path_COMPRESS="$COMPRESS" # Let the user override the test with a path. 53203294c433Smrg ;; 53213294c433Smrg *) 53223294c433Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 53233294c433Smrgfor as_dir in $PATH 53243294c433Smrgdo 53253294c433Smrg IFS=$as_save_IFS 53263294c433Smrg test -z "$as_dir" && as_dir=. 53273294c433Smrg for ac_exec_ext in '' $ac_executable_extensions; do 53289bc46bd4Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 53299bc46bd4Smrg ac_cv_path_COMPRESS="$as_dir/$ac_word$ac_exec_ext" 53309bc46bd4Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 53313294c433Smrg break 2 53323294c433Smrg fi 53333294c433Smrgdone 53343294c433Smrgdone 53359bc46bd4SmrgIFS=$as_save_IFS 53363294c433Smrg 53373294c433Smrg ;; 53383294c433Smrgesac 53393294c433Smrgfi 53409bc46bd4SmrgCOMPRESS=$ac_cv_path_COMPRESS 53419bc46bd4Smrgif test -n "$COMPRESS"; then 53429bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: $COMPRESS" >&5 53439bc46bd4Smrg$as_echo "$COMPRESS" >&6; } 53443294c433Smrgelse 53459bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 53469bc46bd4Smrg$as_echo "no" >&6; } 53473294c433Smrgfi 53483294c433Smrg 53499bc46bd4Smrg 53509bc46bd4Smrg if test x"COMPRESS" = x; then 53519bc46bd4Smrg { { $as_echo "$as_me:$LINENO: error: ${compression} is required to build $PACKAGE_NAME." >&5 53529bc46bd4Smrg$as_echo "$as_me: error: ${compression} is required to build $PACKAGE_NAME." >&2;} 53539bc46bd4Smrg { (exit 1); exit 1; }; } 53549bc46bd4Smrg fi 53559bc46bd4Smrg 53569bc46bd4Smrg fi 53579bc46bd4Smrg 53589bc46bd4Smrg 53599bc46bd4Smrg 53609bc46bd4Smrg 53619bc46bd4Smrg 53629bc46bd4Smrg # Extract the first word of "ucs2any", so it can be a program name with args. 53639bc46bd4Smrgset dummy ucs2any; ac_word=$2 53649bc46bd4Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 53659bc46bd4Smrg$as_echo_n "checking for $ac_word... " >&6; } 53669bc46bd4Smrgif test "${ac_cv_path_UCS2ANY+set}" = set; then 53679bc46bd4Smrg $as_echo_n "(cached) " >&6 53683294c433Smrgelse 53699bc46bd4Smrg case $UCS2ANY in 53703294c433Smrg [\\/]* | ?:[\\/]*) 53719bc46bd4Smrg ac_cv_path_UCS2ANY="$UCS2ANY" # Let the user override the test with a path. 53723294c433Smrg ;; 53733294c433Smrg *) 53743294c433Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 53753294c433Smrgfor as_dir in $PATH 53763294c433Smrgdo 53773294c433Smrg IFS=$as_save_IFS 53783294c433Smrg test -z "$as_dir" && as_dir=. 53793294c433Smrg for ac_exec_ext in '' $ac_executable_extensions; do 53809bc46bd4Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 53819bc46bd4Smrg ac_cv_path_UCS2ANY="$as_dir/$ac_word$ac_exec_ext" 53829bc46bd4Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 53833294c433Smrg break 2 53843294c433Smrg fi 53853294c433Smrgdone 53863294c433Smrgdone 53879bc46bd4SmrgIFS=$as_save_IFS 53883294c433Smrg 53893294c433Smrg ;; 53903294c433Smrgesac 53913294c433Smrgfi 53929bc46bd4SmrgUCS2ANY=$ac_cv_path_UCS2ANY 53939bc46bd4Smrgif test -n "$UCS2ANY"; then 53949bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: $UCS2ANY" >&5 53959bc46bd4Smrg$as_echo "$UCS2ANY" >&6; } 53963294c433Smrgelse 53979bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 53989bc46bd4Smrg$as_echo "no" >&6; } 53993294c433Smrgfi 54003294c433Smrg 54013294c433Smrg 54029bc46bd4Smrg if test x"UCS2ANY" = x; then 54039bc46bd4Smrg { { $as_echo "$as_me:$LINENO: error: ucs2any is required to build $PACKAGE_NAME." >&5 54049bc46bd4Smrg$as_echo "$as_me: error: ucs2any is required to build $PACKAGE_NAME." >&2;} 54059bc46bd4Smrg { (exit 1); exit 1; }; } 54063294c433Smrg fi 54073294c433Smrg 54083294c433Smrg 54093294c433Smrgpkg_failed=no 54109bc46bd4Smrg{ $as_echo "$as_me:$LINENO: checking for MAPS" >&5 54119bc46bd4Smrg$as_echo_n "checking for MAPS... " >&6; } 54129bc46bd4Smrg 54139bc46bd4Smrgif test -n "$MAPS_CFLAGS"; then 54149bc46bd4Smrg pkg_cv_MAPS_CFLAGS="$MAPS_CFLAGS" 54159bc46bd4Smrg elif test -n "$PKG_CONFIG"; then 54169bc46bd4Smrg if test -n "$PKG_CONFIG" && \ 54179bc46bd4Smrg { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"fontutil\"") >&5 54183294c433Smrg ($PKG_CONFIG --exists --print-errors "fontutil") 2>&5 54193294c433Smrg ac_status=$? 54209bc46bd4Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 54213294c433Smrg (exit $ac_status); }; then 54223294c433Smrg pkg_cv_MAPS_CFLAGS=`$PKG_CONFIG --cflags "fontutil" 2>/dev/null` 54233294c433Smrgelse 54243294c433Smrg pkg_failed=yes 54253294c433Smrgfi 54269bc46bd4Smrg else 54279bc46bd4Smrg pkg_failed=untried 54283294c433Smrgfi 54299bc46bd4Smrgif test -n "$MAPS_LIBS"; then 54309bc46bd4Smrg pkg_cv_MAPS_LIBS="$MAPS_LIBS" 54319bc46bd4Smrg elif test -n "$PKG_CONFIG"; then 54329bc46bd4Smrg if test -n "$PKG_CONFIG" && \ 54339bc46bd4Smrg { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"fontutil\"") >&5 54343294c433Smrg ($PKG_CONFIG --exists --print-errors "fontutil") 2>&5 54353294c433Smrg ac_status=$? 54369bc46bd4Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 54373294c433Smrg (exit $ac_status); }; then 54383294c433Smrg pkg_cv_MAPS_LIBS=`$PKG_CONFIG --libs "fontutil" 2>/dev/null` 54393294c433Smrgelse 54403294c433Smrg pkg_failed=yes 54413294c433Smrgfi 54429bc46bd4Smrg else 54439bc46bd4Smrg pkg_failed=untried 54443294c433Smrgfi 54453294c433Smrg 54463294c433Smrg 54473294c433Smrg 54483294c433Smrgif test $pkg_failed = yes; then 54493294c433Smrg 54503294c433Smrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 54513294c433Smrg _pkg_short_errors_supported=yes 54523294c433Smrgelse 54533294c433Smrg _pkg_short_errors_supported=no 54543294c433Smrgfi 54553294c433Smrg if test $_pkg_short_errors_supported = yes; then 54569bc46bd4Smrg MAPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "fontutil" 2>&1` 54573294c433Smrg else 54589bc46bd4Smrg MAPS_PKG_ERRORS=`$PKG_CONFIG --print-errors "fontutil" 2>&1` 54593294c433Smrg fi 54603294c433Smrg # Put the nasty error message in config.log where it belongs 54613294c433Smrg echo "$MAPS_PKG_ERRORS" >&5 54623294c433Smrg 54639bc46bd4Smrg { { $as_echo "$as_me:$LINENO: error: Package requirements (fontutil) were not met: 54643294c433Smrg 54653294c433Smrg$MAPS_PKG_ERRORS 54663294c433Smrg 54673294c433SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 54683294c433Smrginstalled software in a non-standard prefix. 54693294c433Smrg 54703294c433SmrgAlternatively, you may set the environment variables MAPS_CFLAGS 54713294c433Smrgand MAPS_LIBS to avoid the need to call pkg-config. 54723294c433SmrgSee the pkg-config man page for more details. 54733294c433Smrg" >&5 54749bc46bd4Smrg$as_echo "$as_me: error: Package requirements (fontutil) were not met: 54753294c433Smrg 54763294c433Smrg$MAPS_PKG_ERRORS 54773294c433Smrg 54783294c433SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 54793294c433Smrginstalled software in a non-standard prefix. 54803294c433Smrg 54813294c433SmrgAlternatively, you may set the environment variables MAPS_CFLAGS 54823294c433Smrgand MAPS_LIBS to avoid the need to call pkg-config. 54833294c433SmrgSee the pkg-config man page for more details. 54843294c433Smrg" >&2;} 54853294c433Smrg { (exit 1); exit 1; }; } 54863294c433Smrgelif test $pkg_failed = untried; then 54879bc46bd4Smrg { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 54889bc46bd4Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 54899bc46bd4Smrg{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 54903294c433Smrgis in your PATH or set the PKG_CONFIG environment variable to the full 54913294c433Smrgpath to pkg-config. 54923294c433Smrg 54933294c433SmrgAlternatively, you may set the environment variables MAPS_CFLAGS 54943294c433Smrgand MAPS_LIBS to avoid the need to call pkg-config. 54953294c433SmrgSee the pkg-config man page for more details. 54963294c433Smrg 54979bc46bd4SmrgTo get pkg-config, see <http://pkg-config.freedesktop.org/>. 54983294c433SmrgSee \`config.log' for more details." >&5 54999bc46bd4Smrg$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 55003294c433Smrgis in your PATH or set the PKG_CONFIG environment variable to the full 55013294c433Smrgpath to pkg-config. 55023294c433Smrg 55033294c433SmrgAlternatively, you may set the environment variables MAPS_CFLAGS 55043294c433Smrgand MAPS_LIBS to avoid the need to call pkg-config. 55053294c433SmrgSee the pkg-config man page for more details. 55063294c433Smrg 55079bc46bd4SmrgTo get pkg-config, see <http://pkg-config.freedesktop.org/>. 55083294c433SmrgSee \`config.log' for more details." >&2;} 55099bc46bd4Smrg { (exit 1); exit 1; }; }; } 55103294c433Smrgelse 55113294c433Smrg MAPS_CFLAGS=$pkg_cv_MAPS_CFLAGS 55123294c433Smrg MAPS_LIBS=$pkg_cv_MAPS_LIBS 55139bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: yes" >&5 55149bc46bd4Smrg$as_echo "yes" >&6; } 55153294c433Smrg : 55163294c433Smrgfi 55179bc46bd4Smrg { $as_echo "$as_me:$LINENO: checking for ucs2any encoding data files" >&5 55189bc46bd4Smrg$as_echo_n "checking for ucs2any encoding data files... " >&6; } 55199bc46bd4Smrg MAPFILES_PATH=`pkg-config --variable=mapdir fontutil` 55209bc46bd4Smrg 55219bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: ${MAPFILES_PATH}" >&5 55229bc46bd4Smrg$as_echo "${MAPFILES_PATH}" >&6; } 55233294c433Smrg 55243294c433Smrg 55253294c433Smrg 55269bc46bd4Smrg 55279bc46bd4Smrg # Check whether --enable-iso8859-1 was given. 55283294c433Smrgif test "${enable_iso8859_1+set}" = set; then 55299bc46bd4Smrg enableval=$enable_iso8859_1; ISO8859_1=$enableval 55303294c433Smrgelse 55313294c433Smrg ISO8859_1=yes 55329bc46bd4Smrgfi 55333294c433Smrg 55349bc46bd4Smrg { $as_echo "$as_me:$LINENO: checking whether to build ISO8859-1 fonts" >&5 55359bc46bd4Smrg$as_echo_n "checking whether to build ISO8859-1 fonts... " >&6; } 55369bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: $ISO8859_1" >&5 55379bc46bd4Smrg$as_echo "$ISO8859_1" >&6; } 55389bc46bd4Smrg if test "x$ISO8859_1" = xyes; then 55393294c433Smrg ISO8859_1_TRUE= 55403294c433Smrg ISO8859_1_FALSE='#' 55413294c433Smrgelse 55423294c433Smrg ISO8859_1_TRUE='#' 55433294c433Smrg ISO8859_1_FALSE= 55443294c433Smrgfi 55453294c433Smrg 55463294c433Smrg 55479bc46bd4Smrg # Check whether --enable-iso8859-2 was given. 55483294c433Smrgif test "${enable_iso8859_2+set}" = set; then 55499bc46bd4Smrg enableval=$enable_iso8859_2; ISO8859_2=$enableval 55503294c433Smrgelse 55513294c433Smrg ISO8859_2=yes 55529bc46bd4Smrgfi 55533294c433Smrg 55549bc46bd4Smrg { $as_echo "$as_me:$LINENO: checking whether to build ISO8859-2 fonts" >&5 55559bc46bd4Smrg$as_echo_n "checking whether to build ISO8859-2 fonts... " >&6; } 55569bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: $ISO8859_2" >&5 55579bc46bd4Smrg$as_echo "$ISO8859_2" >&6; } 55589bc46bd4Smrg if test "x$ISO8859_2" = xyes; then 55593294c433Smrg ISO8859_2_TRUE= 55603294c433Smrg ISO8859_2_FALSE='#' 55613294c433Smrgelse 55623294c433Smrg ISO8859_2_TRUE='#' 55633294c433Smrg ISO8859_2_FALSE= 55643294c433Smrgfi 55653294c433Smrg 55663294c433Smrg 55679bc46bd4Smrg # Check whether --enable-iso8859-3 was given. 55683294c433Smrgif test "${enable_iso8859_3+set}" = set; then 55699bc46bd4Smrg enableval=$enable_iso8859_3; ISO8859_3=$enableval 55703294c433Smrgelse 55713294c433Smrg ISO8859_3=yes 55729bc46bd4Smrgfi 55733294c433Smrg 55749bc46bd4Smrg { $as_echo "$as_me:$LINENO: checking whether to build ISO8859-3 fonts" >&5 55759bc46bd4Smrg$as_echo_n "checking whether to build ISO8859-3 fonts... " >&6; } 55769bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: $ISO8859_3" >&5 55779bc46bd4Smrg$as_echo "$ISO8859_3" >&6; } 55789bc46bd4Smrg if test "x$ISO8859_3" = xyes; then 55793294c433Smrg ISO8859_3_TRUE= 55803294c433Smrg ISO8859_3_FALSE='#' 55813294c433Smrgelse 55823294c433Smrg ISO8859_3_TRUE='#' 55833294c433Smrg ISO8859_3_FALSE= 55843294c433Smrgfi 55853294c433Smrg 55863294c433Smrg 55879bc46bd4Smrg # Check whether --enable-iso8859-4 was given. 55883294c433Smrgif test "${enable_iso8859_4+set}" = set; then 55899bc46bd4Smrg enableval=$enable_iso8859_4; ISO8859_4=$enableval 55903294c433Smrgelse 55913294c433Smrg ISO8859_4=yes 55929bc46bd4Smrgfi 55933294c433Smrg 55949bc46bd4Smrg { $as_echo "$as_me:$LINENO: checking whether to build ISO8859-4 fonts" >&5 55959bc46bd4Smrg$as_echo_n "checking whether to build ISO8859-4 fonts... " >&6; } 55969bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: $ISO8859_4" >&5 55979bc46bd4Smrg$as_echo "$ISO8859_4" >&6; } 55989bc46bd4Smrg if test "x$ISO8859_4" = xyes; then 55993294c433Smrg ISO8859_4_TRUE= 56003294c433Smrg ISO8859_4_FALSE='#' 56013294c433Smrgelse 56023294c433Smrg ISO8859_4_TRUE='#' 56033294c433Smrg ISO8859_4_FALSE= 56043294c433Smrgfi 56053294c433Smrg 56063294c433Smrg 56079bc46bd4Smrg # Check whether --enable-iso8859-9 was given. 56083294c433Smrgif test "${enable_iso8859_9+set}" = set; then 56099bc46bd4Smrg enableval=$enable_iso8859_9; ISO8859_9=$enableval 56103294c433Smrgelse 56113294c433Smrg ISO8859_9=yes 56129bc46bd4Smrgfi 56133294c433Smrg 56149bc46bd4Smrg { $as_echo "$as_me:$LINENO: checking whether to build ISO8859-9 fonts" >&5 56159bc46bd4Smrg$as_echo_n "checking whether to build ISO8859-9 fonts... " >&6; } 56169bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: $ISO8859_9" >&5 56179bc46bd4Smrg$as_echo "$ISO8859_9" >&6; } 56189bc46bd4Smrg if test "x$ISO8859_9" = xyes; then 56193294c433Smrg ISO8859_9_TRUE= 56203294c433Smrg ISO8859_9_FALSE='#' 56213294c433Smrgelse 56223294c433Smrg ISO8859_9_TRUE='#' 56233294c433Smrg ISO8859_9_FALSE= 56243294c433Smrgfi 56253294c433Smrg 56263294c433Smrg 56279bc46bd4Smrg # Check whether --enable-iso8859-10 was given. 56283294c433Smrgif test "${enable_iso8859_10+set}" = set; then 56299bc46bd4Smrg enableval=$enable_iso8859_10; ISO8859_10=$enableval 56303294c433Smrgelse 56313294c433Smrg ISO8859_10=yes 56329bc46bd4Smrgfi 56333294c433Smrg 56349bc46bd4Smrg { $as_echo "$as_me:$LINENO: checking whether to build ISO8859-10 fonts" >&5 56359bc46bd4Smrg$as_echo_n "checking whether to build ISO8859-10 fonts... " >&6; } 56369bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: $ISO8859_10" >&5 56379bc46bd4Smrg$as_echo "$ISO8859_10" >&6; } 56389bc46bd4Smrg if test "x$ISO8859_10" = xyes; then 56393294c433Smrg ISO8859_10_TRUE= 56403294c433Smrg ISO8859_10_FALSE='#' 56413294c433Smrgelse 56423294c433Smrg ISO8859_10_TRUE='#' 56433294c433Smrg ISO8859_10_FALSE= 56443294c433Smrgfi 56453294c433Smrg 56463294c433Smrg 56479bc46bd4Smrg # Check whether --enable-iso8859-13 was given. 56483294c433Smrgif test "${enable_iso8859_13+set}" = set; then 56499bc46bd4Smrg enableval=$enable_iso8859_13; ISO8859_13=$enableval 56503294c433Smrgelse 56513294c433Smrg ISO8859_13=yes 56529bc46bd4Smrgfi 56533294c433Smrg 56549bc46bd4Smrg { $as_echo "$as_me:$LINENO: checking whether to build ISO8859-13 fonts" >&5 56559bc46bd4Smrg$as_echo_n "checking whether to build ISO8859-13 fonts... " >&6; } 56569bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: $ISO8859_13" >&5 56579bc46bd4Smrg$as_echo "$ISO8859_13" >&6; } 56589bc46bd4Smrg if test "x$ISO8859_13" = xyes; then 56593294c433Smrg ISO8859_13_TRUE= 56603294c433Smrg ISO8859_13_FALSE='#' 56613294c433Smrgelse 56623294c433Smrg ISO8859_13_TRUE='#' 56633294c433Smrg ISO8859_13_FALSE= 56643294c433Smrgfi 56653294c433Smrg 56663294c433Smrg 56679bc46bd4Smrg # Check whether --enable-iso8859-14 was given. 56683294c433Smrgif test "${enable_iso8859_14+set}" = set; then 56699bc46bd4Smrg enableval=$enable_iso8859_14; ISO8859_14=$enableval 56703294c433Smrgelse 56713294c433Smrg ISO8859_14=yes 56729bc46bd4Smrgfi 56733294c433Smrg 56749bc46bd4Smrg { $as_echo "$as_me:$LINENO: checking whether to build ISO8859-14 fonts" >&5 56759bc46bd4Smrg$as_echo_n "checking whether to build ISO8859-14 fonts... " >&6; } 56769bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: $ISO8859_14" >&5 56779bc46bd4Smrg$as_echo "$ISO8859_14" >&6; } 56789bc46bd4Smrg if test "x$ISO8859_14" = xyes; then 56793294c433Smrg ISO8859_14_TRUE= 56803294c433Smrg ISO8859_14_FALSE='#' 56813294c433Smrgelse 56823294c433Smrg ISO8859_14_TRUE='#' 56833294c433Smrg ISO8859_14_FALSE= 56843294c433Smrgfi 56853294c433Smrg 56863294c433Smrg 56879bc46bd4Smrg # Check whether --enable-iso8859-15 was given. 56883294c433Smrgif test "${enable_iso8859_15+set}" = set; then 56899bc46bd4Smrg enableval=$enable_iso8859_15; ISO8859_15=$enableval 56903294c433Smrgelse 56913294c433Smrg ISO8859_15=yes 56929bc46bd4Smrgfi 56933294c433Smrg 56949bc46bd4Smrg { $as_echo "$as_me:$LINENO: checking whether to build ISO8859-15 fonts" >&5 56959bc46bd4Smrg$as_echo_n "checking whether to build ISO8859-15 fonts... " >&6; } 56969bc46bd4Smrg { $as_echo "$as_me:$LINENO: result: $ISO8859_15" >&5 56979bc46bd4Smrg$as_echo "$ISO8859_15" >&6; } 56989bc46bd4Smrg if test "x$ISO8859_15" = xyes; then 56993294c433Smrg ISO8859_15_TRUE= 57003294c433Smrg ISO8859_15_FALSE='#' 57013294c433Smrgelse 57023294c433Smrg ISO8859_15_TRUE='#' 57033294c433Smrg ISO8859_15_FALSE= 57043294c433Smrgfi 57053294c433Smrg 57063294c433Smrg 57073294c433Smrg 57083294c433Smrg 57099bc46bd4Smrgac_config_files="$ac_config_files Makefile" 57103294c433Smrg 57113294c433Smrgcat >confcache <<\_ACEOF 57123294c433Smrg# This file is a shell script that caches the results of configure 57133294c433Smrg# tests run on this system so they can be shared between configure 57143294c433Smrg# scripts and configure runs, see configure's option --config-cache. 57153294c433Smrg# It is not useful on other systems. If it contains results you don't 57163294c433Smrg# want to keep, you may remove or edit it. 57173294c433Smrg# 57183294c433Smrg# config.status only pays attention to the cache file if you give it 57193294c433Smrg# the --recheck option to rerun configure. 57203294c433Smrg# 57213294c433Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when 57223294c433Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the 57233294c433Smrg# following values. 57243294c433Smrg 57253294c433Smrg_ACEOF 57263294c433Smrg 57273294c433Smrg# The following way of writing the cache mishandles newlines in values, 57283294c433Smrg# but we know of no workaround that is simple, portable, and efficient. 57299bc46bd4Smrg# So, we kill variables containing newlines. 57303294c433Smrg# Ultrix sh set writes to stderr and can't be redirected directly, 57313294c433Smrg# and sets the high bit in the cache file unless we assign to the vars. 57329bc46bd4Smrg( 57339bc46bd4Smrg for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 57349bc46bd4Smrg eval ac_val=\$$ac_var 57359bc46bd4Smrg case $ac_val in #( 57369bc46bd4Smrg *${as_nl}*) 57379bc46bd4Smrg case $ac_var in #( 57389bc46bd4Smrg *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 57399bc46bd4Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 57409bc46bd4Smrg esac 57419bc46bd4Smrg case $ac_var in #( 57429bc46bd4Smrg _ | IFS | as_nl) ;; #( 57439bc46bd4Smrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 57449bc46bd4Smrg *) $as_unset $ac_var ;; 57459bc46bd4Smrg esac ;; 57469bc46bd4Smrg esac 57479bc46bd4Smrg done 57489bc46bd4Smrg 57493294c433Smrg (set) 2>&1 | 57509bc46bd4Smrg case $as_nl`(ac_space=' '; set) 2>&1` in #( 57519bc46bd4Smrg *${as_nl}ac_space=\ *) 57523294c433Smrg # `set' does not quote correctly, so add quotes (double-quote 57533294c433Smrg # substitution turns \\\\ into \\, and sed turns \\ into \). 57543294c433Smrg sed -n \ 57553294c433Smrg "s/'/'\\\\''/g; 57563294c433Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 57579bc46bd4Smrg ;; #( 57583294c433Smrg *) 57593294c433Smrg # `set' quotes correctly as required by POSIX, so do not add quotes. 57609bc46bd4Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 57613294c433Smrg ;; 57629bc46bd4Smrg esac | 57639bc46bd4Smrg sort 57649bc46bd4Smrg) | 57653294c433Smrg sed ' 57669bc46bd4Smrg /^ac_cv_env_/b end 57673294c433Smrg t clear 57689bc46bd4Smrg :clear 57693294c433Smrg s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 57703294c433Smrg t end 57719bc46bd4Smrg s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 57729bc46bd4Smrg :end' >>confcache 57739bc46bd4Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 57749bc46bd4Smrg if test -w "$cache_file"; then 57759bc46bd4Smrg test "x$cache_file" != "x/dev/null" && 57769bc46bd4Smrg { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 57779bc46bd4Smrg$as_echo "$as_me: updating cache $cache_file" >&6;} 57783294c433Smrg cat confcache >$cache_file 57793294c433Smrg else 57809bc46bd4Smrg { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 57819bc46bd4Smrg$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 57823294c433Smrg fi 57833294c433Smrgfi 57843294c433Smrgrm -f confcache 57853294c433Smrg 57863294c433Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix 57873294c433Smrg# Let make expand exec_prefix. 57883294c433Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 57893294c433Smrg 57903294c433Smrg# Transform confdefs.h into DEFS. 57913294c433Smrg# Protect against shell expansion while executing Makefile rules. 57923294c433Smrg# Protect against Makefile macro expansion. 57933294c433Smrg# 57943294c433Smrg# If the first sed substitution is executed (which looks for macros that 57959bc46bd4Smrg# take arguments), then branch to the quote section. Otherwise, 57963294c433Smrg# look for a macro that doesn't take arguments. 57979bc46bd4Smrgac_script=' 57989bc46bd4Smrg:mline 57999bc46bd4Smrg/\\$/{ 58009bc46bd4Smrg N 58019bc46bd4Smrg s,\\\n,, 58029bc46bd4Smrg b mline 58039bc46bd4Smrg} 58043294c433Smrgt clear 58059bc46bd4Smrg:clear 58069bc46bd4Smrgs/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 58073294c433Smrgt quote 58089bc46bd4Smrgs/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 58093294c433Smrgt quote 58109bc46bd4Smrgb any 58119bc46bd4Smrg:quote 58129bc46bd4Smrgs/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 58139bc46bd4Smrgs/\[/\\&/g 58149bc46bd4Smrgs/\]/\\&/g 58159bc46bd4Smrgs/\$/$$/g 58169bc46bd4SmrgH 58179bc46bd4Smrg:any 58189bc46bd4Smrg${ 58199bc46bd4Smrg g 58209bc46bd4Smrg s/^\n// 58219bc46bd4Smrg s/\n/ /g 58229bc46bd4Smrg p 58239bc46bd4Smrg} 58249bc46bd4Smrg' 58259bc46bd4SmrgDEFS=`sed -n "$ac_script" confdefs.h` 58263294c433Smrg 58273294c433Smrg 58283294c433Smrgac_libobjs= 58293294c433Smrgac_ltlibobjs= 58303294c433Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 58313294c433Smrg # 1. Remove the extension, and $U if already installed. 58329bc46bd4Smrg ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 58339bc46bd4Smrg ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 58349bc46bd4Smrg # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 58359bc46bd4Smrg # will be set to the directory where LIBOBJS objects are built. 58369bc46bd4Smrg ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 58379bc46bd4Smrg ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 58383294c433Smrgdone 58393294c433SmrgLIBOBJS=$ac_libobjs 58403294c433Smrg 58413294c433SmrgLTLIBOBJS=$ac_ltlibobjs 58423294c433Smrg 58433294c433Smrg 58449bc46bd4Smrg if test -n "$EXEEXT"; then 58459bc46bd4Smrg am__EXEEXT_TRUE= 58469bc46bd4Smrg am__EXEEXT_FALSE='#' 58479bc46bd4Smrgelse 58489bc46bd4Smrg am__EXEEXT_TRUE='#' 58499bc46bd4Smrg am__EXEEXT_FALSE= 58509bc46bd4Smrgfi 58519bc46bd4Smrg 58523294c433Smrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 58539bc46bd4Smrg { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. 58549bc46bd4SmrgUsually this means the macro was only invoked conditionally." >&5 58559bc46bd4Smrg$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. 58569bc46bd4SmrgUsually this means the macro was only invoked conditionally." >&2;} 58579bc46bd4Smrg { (exit 1); exit 1; }; } 58589bc46bd4Smrgfi 58599bc46bd4Smrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 58609bc46bd4Smrg { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 58619bc46bd4SmrgUsually this means the macro was only invoked conditionally." >&5 58629bc46bd4Smrg$as_echo "$as_me: error: conditional \"AMDEP\" was never defined. 58639bc46bd4SmrgUsually this means the macro was only invoked conditionally." >&2;} 58649bc46bd4Smrg { (exit 1); exit 1; }; } 58659bc46bd4Smrgfi 58669bc46bd4Smrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 58679bc46bd4Smrg { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 58683294c433SmrgUsually this means the macro was only invoked conditionally." >&5 58699bc46bd4Smrg$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 58703294c433SmrgUsually this means the macro was only invoked conditionally." >&2;} 58713294c433Smrg { (exit 1); exit 1; }; } 58723294c433Smrgfi 58733294c433Smrgif test -z "${ISO8859_1_TRUE}" && test -z "${ISO8859_1_FALSE}"; then 58749bc46bd4Smrg { { $as_echo "$as_me:$LINENO: error: conditional \"ISO8859_1\" was never defined. 58753294c433SmrgUsually this means the macro was only invoked conditionally." >&5 58769bc46bd4Smrg$as_echo "$as_me: error: conditional \"ISO8859_1\" was never defined. 58773294c433SmrgUsually this means the macro was only invoked conditionally." >&2;} 58783294c433Smrg { (exit 1); exit 1; }; } 58793294c433Smrgfi 58803294c433Smrgif test -z "${ISO8859_2_TRUE}" && test -z "${ISO8859_2_FALSE}"; then 58819bc46bd4Smrg { { $as_echo "$as_me:$LINENO: error: conditional \"ISO8859_2\" was never defined. 58823294c433SmrgUsually this means the macro was only invoked conditionally." >&5 58839bc46bd4Smrg$as_echo "$as_me: error: conditional \"ISO8859_2\" was never defined. 58843294c433SmrgUsually this means the macro was only invoked conditionally." >&2;} 58853294c433Smrg { (exit 1); exit 1; }; } 58863294c433Smrgfi 58873294c433Smrgif test -z "${ISO8859_3_TRUE}" && test -z "${ISO8859_3_FALSE}"; then 58889bc46bd4Smrg { { $as_echo "$as_me:$LINENO: error: conditional \"ISO8859_3\" was never defined. 58893294c433SmrgUsually this means the macro was only invoked conditionally." >&5 58909bc46bd4Smrg$as_echo "$as_me: error: conditional \"ISO8859_3\" was never defined. 58913294c433SmrgUsually this means the macro was only invoked conditionally." >&2;} 58923294c433Smrg { (exit 1); exit 1; }; } 58933294c433Smrgfi 58943294c433Smrgif test -z "${ISO8859_4_TRUE}" && test -z "${ISO8859_4_FALSE}"; then 58959bc46bd4Smrg { { $as_echo "$as_me:$LINENO: error: conditional \"ISO8859_4\" was never defined. 58963294c433SmrgUsually this means the macro was only invoked conditionally." >&5 58979bc46bd4Smrg$as_echo "$as_me: error: conditional \"ISO8859_4\" was never defined. 58983294c433SmrgUsually this means the macro was only invoked conditionally." >&2;} 58993294c433Smrg { (exit 1); exit 1; }; } 59003294c433Smrgfi 59013294c433Smrgif test -z "${ISO8859_9_TRUE}" && test -z "${ISO8859_9_FALSE}"; then 59029bc46bd4Smrg { { $as_echo "$as_me:$LINENO: error: conditional \"ISO8859_9\" was never defined. 59033294c433SmrgUsually this means the macro was only invoked conditionally." >&5 59049bc46bd4Smrg$as_echo "$as_me: error: conditional \"ISO8859_9\" was never defined. 59053294c433SmrgUsually this means the macro was only invoked conditionally." >&2;} 59063294c433Smrg { (exit 1); exit 1; }; } 59073294c433Smrgfi 59083294c433Smrgif test -z "${ISO8859_10_TRUE}" && test -z "${ISO8859_10_FALSE}"; then 59099bc46bd4Smrg { { $as_echo "$as_me:$LINENO: error: conditional \"ISO8859_10\" was never defined. 59103294c433SmrgUsually this means the macro was only invoked conditionally." >&5 59119bc46bd4Smrg$as_echo "$as_me: error: conditional \"ISO8859_10\" was never defined. 59123294c433SmrgUsually this means the macro was only invoked conditionally." >&2;} 59133294c433Smrg { (exit 1); exit 1; }; } 59143294c433Smrgfi 59153294c433Smrgif test -z "${ISO8859_13_TRUE}" && test -z "${ISO8859_13_FALSE}"; then 59169bc46bd4Smrg { { $as_echo "$as_me:$LINENO: error: conditional \"ISO8859_13\" was never defined. 59173294c433SmrgUsually this means the macro was only invoked conditionally." >&5 59189bc46bd4Smrg$as_echo "$as_me: error: conditional \"ISO8859_13\" was never defined. 59193294c433SmrgUsually this means the macro was only invoked conditionally." >&2;} 59203294c433Smrg { (exit 1); exit 1; }; } 59213294c433Smrgfi 59223294c433Smrgif test -z "${ISO8859_14_TRUE}" && test -z "${ISO8859_14_FALSE}"; then 59239bc46bd4Smrg { { $as_echo "$as_me:$LINENO: error: conditional \"ISO8859_14\" was never defined. 59243294c433SmrgUsually this means the macro was only invoked conditionally." >&5 59259bc46bd4Smrg$as_echo "$as_me: error: conditional \"ISO8859_14\" was never defined. 59263294c433SmrgUsually this means the macro was only invoked conditionally." >&2;} 59273294c433Smrg { (exit 1); exit 1; }; } 59283294c433Smrgfi 59293294c433Smrgif test -z "${ISO8859_15_TRUE}" && test -z "${ISO8859_15_FALSE}"; then 59309bc46bd4Smrg { { $as_echo "$as_me:$LINENO: error: conditional \"ISO8859_15\" was never defined. 59313294c433SmrgUsually this means the macro was only invoked conditionally." >&5 59329bc46bd4Smrg$as_echo "$as_me: error: conditional \"ISO8859_15\" was never defined. 59333294c433SmrgUsually this means the macro was only invoked conditionally." >&2;} 59343294c433Smrg { (exit 1); exit 1; }; } 59353294c433Smrgfi 59363294c433Smrg 59373294c433Smrg: ${CONFIG_STATUS=./config.status} 59389bc46bd4Smrgac_write_fail=0 59393294c433Smrgac_clean_files_save=$ac_clean_files 59403294c433Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS" 59419bc46bd4Smrg{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 59429bc46bd4Smrg$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 59439bc46bd4Smrgcat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 59443294c433Smrg#! $SHELL 59453294c433Smrg# Generated by $as_me. 59463294c433Smrg# Run this file to recreate the current configuration. 59473294c433Smrg# Compiler output produced by configure, useful for debugging 59483294c433Smrg# configure, is in config.log if it exists. 59493294c433Smrg 59503294c433Smrgdebug=false 59513294c433Smrgac_cs_recheck=false 59523294c433Smrgac_cs_silent=false 59533294c433SmrgSHELL=\${CONFIG_SHELL-$SHELL} 59543294c433Smrg_ACEOF 59553294c433Smrg 59569bc46bd4Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 59573294c433Smrg## --------------------- ## 59583294c433Smrg## M4sh Initialization. ## 59593294c433Smrg## --------------------- ## 59603294c433Smrg 59619bc46bd4Smrg# Be more Bourne compatible 59629bc46bd4SmrgDUALCASE=1; export DUALCASE # for MKS sh 59633294c433Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 59643294c433Smrg emulate sh 59653294c433Smrg NULLCMD=: 59669bc46bd4Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 59673294c433Smrg # is contrary to our usage. Disable this feature. 59683294c433Smrg alias -g '${1+"$@"}'='"$@"' 59699bc46bd4Smrg setopt NO_GLOB_SUBST 59709bc46bd4Smrgelse 59719bc46bd4Smrg case `(set -o) 2>/dev/null` in 59729bc46bd4Smrg *posix*) set -o posix ;; 59739bc46bd4Smrgesac 59749bc46bd4Smrg 59759bc46bd4Smrgfi 59769bc46bd4Smrg 59779bc46bd4Smrg 59789bc46bd4Smrg 59799bc46bd4Smrg 59809bc46bd4Smrg# PATH needs CR 59819bc46bd4Smrg# Avoid depending upon Character Ranges. 59829bc46bd4Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 59839bc46bd4Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 59849bc46bd4Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 59859bc46bd4Smrgas_cr_digits='0123456789' 59869bc46bd4Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 59879bc46bd4Smrg 59889bc46bd4Smrgas_nl=' 59899bc46bd4Smrg' 59909bc46bd4Smrgexport as_nl 59919bc46bd4Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 59929bc46bd4Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 59939bc46bd4Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 59949bc46bd4Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 59959bc46bd4Smrgif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 59969bc46bd4Smrg as_echo='printf %s\n' 59979bc46bd4Smrg as_echo_n='printf %s' 59989bc46bd4Smrgelse 59999bc46bd4Smrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 60009bc46bd4Smrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 60019bc46bd4Smrg as_echo_n='/usr/ucb/echo -n' 60029bc46bd4Smrg else 60039bc46bd4Smrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 60049bc46bd4Smrg as_echo_n_body='eval 60059bc46bd4Smrg arg=$1; 60069bc46bd4Smrg case $arg in 60079bc46bd4Smrg *"$as_nl"*) 60089bc46bd4Smrg expr "X$arg" : "X\\(.*\\)$as_nl"; 60099bc46bd4Smrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 60109bc46bd4Smrg esac; 60119bc46bd4Smrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 60129bc46bd4Smrg ' 60139bc46bd4Smrg export as_echo_n_body 60149bc46bd4Smrg as_echo_n='sh -c $as_echo_n_body as_echo' 60159bc46bd4Smrg fi 60169bc46bd4Smrg export as_echo_body 60179bc46bd4Smrg as_echo='sh -c $as_echo_body as_echo' 60189bc46bd4Smrgfi 60199bc46bd4Smrg 60209bc46bd4Smrg# The user is always right. 60219bc46bd4Smrgif test "${PATH_SEPARATOR+set}" != set; then 60229bc46bd4Smrg PATH_SEPARATOR=: 60239bc46bd4Smrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 60249bc46bd4Smrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 60259bc46bd4Smrg PATH_SEPARATOR=';' 60269bc46bd4Smrg } 60273294c433Smrgfi 60283294c433Smrg 60293294c433Smrg# Support unset when possible. 60303294c433Smrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 60313294c433Smrg as_unset=unset 60323294c433Smrgelse 60333294c433Smrg as_unset=false 60343294c433Smrgfi 60353294c433Smrg 60363294c433Smrg 60379bc46bd4Smrg# IFS 60389bc46bd4Smrg# We need space, tab and new line, in precisely that order. Quoting is 60399bc46bd4Smrg# there to prevent editors from complaining about space-tab. 60409bc46bd4Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 60419bc46bd4Smrg# splitting by setting IFS to empty value.) 60429bc46bd4SmrgIFS=" "" $as_nl" 60439bc46bd4Smrg 60449bc46bd4Smrg# Find who we are. Look in the path if we contain no directory separator. 60459bc46bd4Smrgcase $0 in 60469bc46bd4Smrg *[\\/]* ) as_myself=$0 ;; 60479bc46bd4Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 60489bc46bd4Smrgfor as_dir in $PATH 60499bc46bd4Smrgdo 60509bc46bd4Smrg IFS=$as_save_IFS 60519bc46bd4Smrg test -z "$as_dir" && as_dir=. 60529bc46bd4Smrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 60539bc46bd4Smrgdone 60549bc46bd4SmrgIFS=$as_save_IFS 60559bc46bd4Smrg 60569bc46bd4Smrg ;; 60579bc46bd4Smrgesac 60589bc46bd4Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 60599bc46bd4Smrg# in which case we are not to be found in the path. 60609bc46bd4Smrgif test "x$as_myself" = x; then 60619bc46bd4Smrg as_myself=$0 60629bc46bd4Smrgfi 60639bc46bd4Smrgif test ! -f "$as_myself"; then 60649bc46bd4Smrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 60659bc46bd4Smrg { (exit 1); exit 1; } 60669bc46bd4Smrgfi 60679bc46bd4Smrg 60683294c433Smrg# Work around bugs in pre-3.0 UWIN ksh. 60699bc46bd4Smrgfor as_var in ENV MAIL MAILPATH 60709bc46bd4Smrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 60719bc46bd4Smrgdone 60723294c433SmrgPS1='$ ' 60733294c433SmrgPS2='> ' 60743294c433SmrgPS4='+ ' 60753294c433Smrg 60763294c433Smrg# NLS nuisances. 60779bc46bd4SmrgLC_ALL=C 60789bc46bd4Smrgexport LC_ALL 60799bc46bd4SmrgLANGUAGE=C 60809bc46bd4Smrgexport LANGUAGE 60813294c433Smrg 60823294c433Smrg# Required to use basename. 60839bc46bd4Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 60849bc46bd4Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 60853294c433Smrg as_expr=expr 60863294c433Smrgelse 60873294c433Smrg as_expr=false 60883294c433Smrgfi 60893294c433Smrg 60909bc46bd4Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 60913294c433Smrg as_basename=basename 60923294c433Smrgelse 60933294c433Smrg as_basename=false 60943294c433Smrgfi 60953294c433Smrg 60963294c433Smrg 60973294c433Smrg# Name of the executable. 60989bc46bd4Smrgas_me=`$as_basename -- "$0" || 60993294c433Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 61003294c433Smrg X"$0" : 'X\(//\)$' \| \ 61019bc46bd4Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 61029bc46bd4Smrg$as_echo X/"$0" | 61039bc46bd4Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 61049bc46bd4Smrg s//\1/ 61059bc46bd4Smrg q 61069bc46bd4Smrg } 61079bc46bd4Smrg /^X\/\(\/\/\)$/{ 61089bc46bd4Smrg s//\1/ 61099bc46bd4Smrg q 61109bc46bd4Smrg } 61119bc46bd4Smrg /^X\/\(\/\).*/{ 61129bc46bd4Smrg s//\1/ 61139bc46bd4Smrg q 61149bc46bd4Smrg } 61159bc46bd4Smrg s/.*/./; q'` 61163294c433Smrg 61179bc46bd4Smrg# CDPATH. 61189bc46bd4Smrg$as_unset CDPATH 61193294c433Smrg 61203294c433Smrg 61213294c433Smrg 61223294c433Smrg as_lineno_1=$LINENO 61233294c433Smrg as_lineno_2=$LINENO 61243294c433Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 61259bc46bd4Smrg test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 61263294c433Smrg 61273294c433Smrg # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 61283294c433Smrg # uniformly replaced by the line number. The first 'sed' inserts a 61299bc46bd4Smrg # line-number line after each line using $LINENO; the second 'sed' 61309bc46bd4Smrg # does the real work. The second script uses 'N' to pair each 61319bc46bd4Smrg # line-number line with the line containing $LINENO, and appends 61329bc46bd4Smrg # trailing '-' during substitution so that $LINENO is not a special 61339bc46bd4Smrg # case at line end. 61343294c433Smrg # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 61359bc46bd4Smrg # scripts with optimization help from Paolo Bonzini. Blame Lee 61369bc46bd4Smrg # E. McMahon (1931-1989) for sed's syntax. :-) 61379bc46bd4Smrg sed -n ' 61389bc46bd4Smrg p 61399bc46bd4Smrg /[$]LINENO/= 61409bc46bd4Smrg ' <$as_myself | 61413294c433Smrg sed ' 61429bc46bd4Smrg s/[$]LINENO.*/&-/ 61439bc46bd4Smrg t lineno 61449bc46bd4Smrg b 61459bc46bd4Smrg :lineno 61463294c433Smrg N 61479bc46bd4Smrg :loop 61489bc46bd4Smrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 61493294c433Smrg t loop 61509bc46bd4Smrg s/-\n.*// 61513294c433Smrg ' >$as_me.lineno && 61529bc46bd4Smrg chmod +x "$as_me.lineno" || 61539bc46bd4Smrg { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 61543294c433Smrg { (exit 1); exit 1; }; } 61553294c433Smrg 61563294c433Smrg # Don't try to exec as it changes $[0], causing all sort of problems 61573294c433Smrg # (the dirname of $[0] is not the place where we might find the 61589bc46bd4Smrg # original and so on. Autoconf is especially sensitive to this). 61599bc46bd4Smrg . "./$as_me.lineno" 61603294c433Smrg # Exit status is that of the last command. 61613294c433Smrg exit 61623294c433Smrg} 61633294c433Smrg 61643294c433Smrg 61659bc46bd4Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 61669bc46bd4Smrg as_dirname=dirname 61679bc46bd4Smrgelse 61689bc46bd4Smrg as_dirname=false 61699bc46bd4Smrgfi 61703294c433Smrg 61719bc46bd4SmrgECHO_C= ECHO_N= ECHO_T= 61729bc46bd4Smrgcase `echo -n x` in 61739bc46bd4Smrg-n*) 61749bc46bd4Smrg case `echo 'x\c'` in 61759bc46bd4Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 61769bc46bd4Smrg *) ECHO_C='\c';; 61779bc46bd4Smrg esac;; 61789bc46bd4Smrg*) 61799bc46bd4Smrg ECHO_N='-n';; 61809bc46bd4Smrgesac 61819bc46bd4Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 61829bc46bd4Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 61833294c433Smrg as_expr=expr 61843294c433Smrgelse 61853294c433Smrg as_expr=false 61863294c433Smrgfi 61873294c433Smrg 61883294c433Smrgrm -f conf$$ conf$$.exe conf$$.file 61899bc46bd4Smrgif test -d conf$$.dir; then 61909bc46bd4Smrg rm -f conf$$.dir/conf$$.file 61919bc46bd4Smrgelse 61929bc46bd4Smrg rm -f conf$$.dir 61939bc46bd4Smrg mkdir conf$$.dir 2>/dev/null 61949bc46bd4Smrgfi 61959bc46bd4Smrgif (echo >conf$$.file) 2>/dev/null; then 61969bc46bd4Smrg if ln -s conf$$.file conf$$ 2>/dev/null; then 61973294c433Smrg as_ln_s='ln -s' 61989bc46bd4Smrg # ... but there are two gotchas: 61999bc46bd4Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 62009bc46bd4Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 62019bc46bd4Smrg # In both cases, we have to default to `cp -p'. 62029bc46bd4Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 62039bc46bd4Smrg as_ln_s='cp -p' 62049bc46bd4Smrg elif ln conf$$.file conf$$ 2>/dev/null; then 62059bc46bd4Smrg as_ln_s=ln 62069bc46bd4Smrg else 62079bc46bd4Smrg as_ln_s='cp -p' 62083294c433Smrg fi 62093294c433Smrgelse 62103294c433Smrg as_ln_s='cp -p' 62113294c433Smrgfi 62129bc46bd4Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 62139bc46bd4Smrgrmdir conf$$.dir 2>/dev/null 62143294c433Smrg 62153294c433Smrgif mkdir -p . 2>/dev/null; then 62163294c433Smrg as_mkdir_p=: 62173294c433Smrgelse 62183294c433Smrg test -d ./-p && rmdir ./-p 62193294c433Smrg as_mkdir_p=false 62203294c433Smrgfi 62213294c433Smrg 62229bc46bd4Smrgif test -x / >/dev/null 2>&1; then 62239bc46bd4Smrg as_test_x='test -x' 62249bc46bd4Smrgelse 62259bc46bd4Smrg if ls -dL / >/dev/null 2>&1; then 62269bc46bd4Smrg as_ls_L_option=L 62279bc46bd4Smrg else 62289bc46bd4Smrg as_ls_L_option= 62299bc46bd4Smrg fi 62309bc46bd4Smrg as_test_x=' 62319bc46bd4Smrg eval sh -c '\'' 62329bc46bd4Smrg if test -d "$1"; then 62339bc46bd4Smrg test -d "$1/."; 62349bc46bd4Smrg else 62359bc46bd4Smrg case $1 in 62369bc46bd4Smrg -*)set "./$1";; 62379bc46bd4Smrg esac; 62389bc46bd4Smrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 62399bc46bd4Smrg ???[sx]*):;;*)false;;esac;fi 62409bc46bd4Smrg '\'' sh 62419bc46bd4Smrg ' 62429bc46bd4Smrgfi 62439bc46bd4Smrgas_executable_p=$as_test_x 62443294c433Smrg 62453294c433Smrg# Sed expression to map a string onto a valid CPP name. 62463294c433Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 62473294c433Smrg 62483294c433Smrg# Sed expression to map a string onto a valid variable name. 62493294c433Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 62503294c433Smrg 62513294c433Smrg 62523294c433Smrgexec 6>&1 62533294c433Smrg 62549bc46bd4Smrg# Save the log message, to keep $[0] and so on meaningful, and to 62553294c433Smrg# report actual input values of CONFIG_FILES etc. instead of their 62569bc46bd4Smrg# values after options handling. 62579bc46bd4Smrgac_log=" 62589bc46bd4SmrgThis file was extended by font-bh-100dpi $as_me 1.0.1, which was 62599bc46bd4Smrggenerated by GNU Autoconf 2.63. Invocation command line was 62603294c433Smrg 62613294c433Smrg CONFIG_FILES = $CONFIG_FILES 62623294c433Smrg CONFIG_HEADERS = $CONFIG_HEADERS 62633294c433Smrg CONFIG_LINKS = $CONFIG_LINKS 62643294c433Smrg CONFIG_COMMANDS = $CONFIG_COMMANDS 62653294c433Smrg $ $0 $@ 62663294c433Smrg 62679bc46bd4Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q` 62689bc46bd4Smrg" 62699bc46bd4Smrg 62703294c433Smrg_ACEOF 62713294c433Smrg 62729bc46bd4Smrgcase $ac_config_files in *" 62739bc46bd4Smrg"*) set x $ac_config_files; shift; ac_config_files=$*;; 62749bc46bd4Smrgesac 62753294c433Smrg 62763294c433Smrg 62773294c433Smrg 62789bc46bd4Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 62799bc46bd4Smrg# Files that config.status was made for. 62809bc46bd4Smrgconfig_files="$ac_config_files" 62819bc46bd4Smrgconfig_commands="$ac_config_commands" 62823294c433Smrg 62839bc46bd4Smrg_ACEOF 62843294c433Smrg 62859bc46bd4Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 62863294c433Smrgac_cs_usage="\ 62873294c433Smrg\`$as_me' instantiates files from templates according to the 62883294c433Smrgcurrent configuration. 62893294c433Smrg 62909bc46bd4SmrgUsage: $0 [OPTION]... [FILE]... 62913294c433Smrg 62923294c433Smrg -h, --help print this help, then exit 62939bc46bd4Smrg -V, --version print version number and configuration settings, then exit 62949bc46bd4Smrg -q, --quiet, --silent 62959bc46bd4Smrg do not print progress messages 62963294c433Smrg -d, --debug don't remove temporary files 62973294c433Smrg --recheck update $as_me by reconfiguring in the same conditions 62989bc46bd4Smrg --file=FILE[:TEMPLATE] 62999bc46bd4Smrg instantiate the configuration file FILE 63003294c433Smrg 63013294c433SmrgConfiguration files: 63023294c433Smrg$config_files 63033294c433Smrg 63049bc46bd4SmrgConfiguration commands: 63059bc46bd4Smrg$config_commands 63069bc46bd4Smrg 63073294c433SmrgReport bugs to <bug-autoconf@gnu.org>." 63083294c433Smrg 63099bc46bd4Smrg_ACEOF 63109bc46bd4Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 63113294c433Smrgac_cs_version="\\ 63129bc46bd4Smrgfont-bh-100dpi config.status 1.0.1 63139bc46bd4Smrgconfigured by $0, generated by GNU Autoconf 2.63, 63149bc46bd4Smrg with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 63153294c433Smrg 63169bc46bd4SmrgCopyright (C) 2008 Free Software Foundation, Inc. 63173294c433SmrgThis config.status script is free software; the Free Software Foundation 63183294c433Smrggives unlimited permission to copy, distribute and modify it." 63199bc46bd4Smrg 63209bc46bd4Smrgac_pwd='$ac_pwd' 63219bc46bd4Smrgsrcdir='$srcdir' 63229bc46bd4SmrgINSTALL='$INSTALL' 63239bc46bd4SmrgMKDIR_P='$MKDIR_P' 63249bc46bd4SmrgAWK='$AWK' 63259bc46bd4Smrgtest -n "\$AWK" || AWK=awk 63263294c433Smrg_ACEOF 63273294c433Smrg 63289bc46bd4Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 63299bc46bd4Smrg# The default lists apply if the user does not specify any file. 63303294c433Smrgac_need_defaults=: 63313294c433Smrgwhile test $# != 0 63323294c433Smrgdo 63333294c433Smrg case $1 in 63343294c433Smrg --*=*) 63359bc46bd4Smrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 63369bc46bd4Smrg ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 63373294c433Smrg ac_shift=: 63383294c433Smrg ;; 63399bc46bd4Smrg *) 63403294c433Smrg ac_option=$1 63413294c433Smrg ac_optarg=$2 63423294c433Smrg ac_shift=shift 63433294c433Smrg ;; 63443294c433Smrg esac 63453294c433Smrg 63463294c433Smrg case $ac_option in 63473294c433Smrg # Handling of the options. 63483294c433Smrg -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 63493294c433Smrg ac_cs_recheck=: ;; 63509bc46bd4Smrg --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 63519bc46bd4Smrg $as_echo "$ac_cs_version"; exit ;; 63529bc46bd4Smrg --debug | --debu | --deb | --de | --d | -d ) 63533294c433Smrg debug=: ;; 63543294c433Smrg --file | --fil | --fi | --f ) 63553294c433Smrg $ac_shift 63569bc46bd4Smrg case $ac_optarg in 63579bc46bd4Smrg *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 63589bc46bd4Smrg esac 63599bc46bd4Smrg CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 63603294c433Smrg ac_need_defaults=false;; 63619bc46bd4Smrg --he | --h | --help | --hel | -h ) 63629bc46bd4Smrg $as_echo "$ac_cs_usage"; exit ;; 63633294c433Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 63643294c433Smrg | -silent | --silent | --silen | --sile | --sil | --si | --s) 63653294c433Smrg ac_cs_silent=: ;; 63663294c433Smrg 63673294c433Smrg # This is an error. 63689bc46bd4Smrg -*) { $as_echo "$as_me: error: unrecognized option: $1 63699bc46bd4SmrgTry \`$0 --help' for more information." >&2 63703294c433Smrg { (exit 1); exit 1; }; } ;; 63713294c433Smrg 63729bc46bd4Smrg *) ac_config_targets="$ac_config_targets $1" 63739bc46bd4Smrg ac_need_defaults=false ;; 63743294c433Smrg 63753294c433Smrg esac 63763294c433Smrg shift 63773294c433Smrgdone 63783294c433Smrg 63793294c433Smrgac_configure_extra_args= 63803294c433Smrg 63813294c433Smrgif $ac_cs_silent; then 63823294c433Smrg exec 6>/dev/null 63833294c433Smrg ac_configure_extra_args="$ac_configure_extra_args --silent" 63843294c433Smrgfi 63853294c433Smrg 63863294c433Smrg_ACEOF 63879bc46bd4Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 63883294c433Smrgif \$ac_cs_recheck; then 63899bc46bd4Smrg set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 63909bc46bd4Smrg shift 63919bc46bd4Smrg \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 63929bc46bd4Smrg CONFIG_SHELL='$SHELL' 63939bc46bd4Smrg export CONFIG_SHELL 63949bc46bd4Smrg exec "\$@" 63953294c433Smrgfi 63963294c433Smrg 63973294c433Smrg_ACEOF 63989bc46bd4Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 63999bc46bd4Smrgexec 5>>config.log 64009bc46bd4Smrg{ 64019bc46bd4Smrg echo 64029bc46bd4Smrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 64039bc46bd4Smrg## Running $as_me. ## 64049bc46bd4Smrg_ASBOX 64059bc46bd4Smrg $as_echo "$ac_log" 64069bc46bd4Smrg} >&5 64073294c433Smrg 64089bc46bd4Smrg_ACEOF 64099bc46bd4Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 64109bc46bd4Smrg# 64119bc46bd4Smrg# INIT-COMMANDS 64129bc46bd4Smrg# 64139bc46bd4SmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 64143294c433Smrg 64159bc46bd4Smrg_ACEOF 64163294c433Smrg 64179bc46bd4Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 64183294c433Smrg 64199bc46bd4Smrg# Handling of arguments. 64203294c433Smrgfor ac_config_target in $ac_config_targets 64213294c433Smrgdo 64229bc46bd4Smrg case $ac_config_target in 64239bc46bd4Smrg "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 64249bc46bd4Smrg "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 64259bc46bd4Smrg 64269bc46bd4Smrg *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 64279bc46bd4Smrg$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 64283294c433Smrg { (exit 1); exit 1; }; };; 64293294c433Smrg esac 64303294c433Smrgdone 64313294c433Smrg 64329bc46bd4Smrg 64333294c433Smrg# If the user did not use the arguments to specify the items to instantiate, 64343294c433Smrg# then the envvar interface is used. Set only those that are not. 64353294c433Smrg# We use the long form for the default assignment because of an extremely 64363294c433Smrg# bizarre bug on SunOS 4.1.3. 64373294c433Smrgif $ac_need_defaults; then 64383294c433Smrg test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 64399bc46bd4Smrg test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 64403294c433Smrgfi 64413294c433Smrg 64423294c433Smrg# Have a temporary directory for convenience. Make it in the build tree 64439bc46bd4Smrg# simply because there is no reason against having it here, and in addition, 64443294c433Smrg# creating and moving files from /tmp can sometimes cause problems. 64459bc46bd4Smrg# Hook for its removal unless debugging. 64469bc46bd4Smrg# Note that there is a small window in which the directory will not be cleaned: 64479bc46bd4Smrg# after its creation but before its name has been assigned to `$tmp'. 64483294c433Smrg$debug || 64493294c433Smrg{ 64509bc46bd4Smrg tmp= 64519bc46bd4Smrg trap 'exit_status=$? 64529bc46bd4Smrg { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 64539bc46bd4Smrg' 0 64543294c433Smrg trap '{ (exit 1); exit 1; }' 1 2 13 15 64553294c433Smrg} 64563294c433Smrg# Create a (secure) tmp directory for tmp files. 64573294c433Smrg 64583294c433Smrg{ 64599bc46bd4Smrg tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 64603294c433Smrg test -n "$tmp" && test -d "$tmp" 64613294c433Smrg} || 64623294c433Smrg{ 64639bc46bd4Smrg tmp=./conf$$-$RANDOM 64649bc46bd4Smrg (umask 077 && mkdir "$tmp") 64653294c433Smrg} || 64663294c433Smrg{ 64679bc46bd4Smrg $as_echo "$as_me: cannot create a temporary directory in ." >&2 64683294c433Smrg { (exit 1); exit 1; } 64693294c433Smrg} 64703294c433Smrg 64719bc46bd4Smrg# Set up the scripts for CONFIG_FILES section. 64729bc46bd4Smrg# No need to generate them if there are no CONFIG_FILES. 64739bc46bd4Smrg# This happens for instance with `./config.status config.h'. 64749bc46bd4Smrgif test -n "$CONFIG_FILES"; then 64759bc46bd4Smrg 64769bc46bd4Smrg 64779bc46bd4Smrgac_cr=' 64789bc46bd4Smrg' 64799bc46bd4Smrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 64809bc46bd4Smrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 64819bc46bd4Smrg ac_cs_awk_cr='\\r' 64829bc46bd4Smrgelse 64839bc46bd4Smrg ac_cs_awk_cr=$ac_cr 64849bc46bd4Smrgfi 64859bc46bd4Smrg 64863294c433Smrgecho 'BEGIN {' >"$tmp/subs1.awk" && 64873294c433Smrg_ACEOF 64883294c433Smrg 64899bc46bd4Smrg 64909bc46bd4Smrg{ 64919bc46bd4Smrg echo "cat >conf$$subs.awk <<_ACEOF" && 64929bc46bd4Smrg echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 64939bc46bd4Smrg echo "_ACEOF" 64949bc46bd4Smrg} >conf$$subs.sh || 64959bc46bd4Smrg { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 64969bc46bd4Smrg$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 64979bc46bd4Smrg { (exit 1); exit 1; }; } 64989bc46bd4Smrgac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 64999bc46bd4Smrgac_delim='%!_!# ' 65009bc46bd4Smrgfor ac_last_try in false false false false false :; do 65019bc46bd4Smrg . ./conf$$subs.sh || 65029bc46bd4Smrg { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 65039bc46bd4Smrg$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 65043294c433Smrg { (exit 1); exit 1; }; } 65059bc46bd4Smrg 65069bc46bd4Smrg ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 65079bc46bd4Smrg if test $ac_delim_n = $ac_delim_num; then 65089bc46bd4Smrg break 65099bc46bd4Smrg elif $ac_last_try; then 65109bc46bd4Smrg { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 65119bc46bd4Smrg$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 65129bc46bd4Smrg { (exit 1); exit 1; }; } 65139bc46bd4Smrg else 65143294c433Smrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 65159bc46bd4Smrg fi 65169bc46bd4Smrgdone 65173294c433Smrgrm -f conf$$subs.sh 65189bc46bd4Smrg 65199bc46bd4Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 65203294c433Smrgcat >>"\$tmp/subs1.awk" <<\\_ACAWK && 65219bc46bd4Smrg_ACEOF 65229bc46bd4Smrgsed -n ' 65239bc46bd4Smrgh 65249bc46bd4Smrgs/^/S["/; s/!.*/"]=/ 65259bc46bd4Smrgp 65269bc46bd4Smrgg 65279bc46bd4Smrgs/^[^!]*!// 65289bc46bd4Smrg:repl 65299bc46bd4Smrgt repl 65309bc46bd4Smrgs/'"$ac_delim"'$// 65319bc46bd4Smrgt delim 65329bc46bd4Smrg:nl 65339bc46bd4Smrgh 65349bc46bd4Smrgs/\(.\{148\}\).*/\1/ 65359bc46bd4Smrgt more1 65369bc46bd4Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 65379bc46bd4Smrgp 65389bc46bd4Smrgn 65399bc46bd4Smrgb repl 65409bc46bd4Smrg:more1 65419bc46bd4Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 65429bc46bd4Smrgp 65439bc46bd4Smrgg 65449bc46bd4Smrgs/.\{148\}// 65459bc46bd4Smrgt nl 65469bc46bd4Smrg:delim 65479bc46bd4Smrgh 65489bc46bd4Smrgs/\(.\{148\}\).*/\1/ 65499bc46bd4Smrgt more2 65509bc46bd4Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/ 65519bc46bd4Smrgp 65529bc46bd4Smrgb 65539bc46bd4Smrg:more2 65549bc46bd4Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 65559bc46bd4Smrgp 65569bc46bd4Smrgg 65579bc46bd4Smrgs/.\{148\}// 65589bc46bd4Smrgt delim 65599bc46bd4Smrg' <conf$$subs.awk | sed ' 65609bc46bd4Smrg/^[^""]/{ 65619bc46bd4Smrg N 65629bc46bd4Smrg s/\n// 65639bc46bd4Smrg} 65649bc46bd4Smrg' >>$CONFIG_STATUS || ac_write_fail=1 65659bc46bd4Smrgrm -f conf$$subs.awk 65669bc46bd4Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 65679bc46bd4Smrg_ACAWK 65689bc46bd4Smrgcat >>"\$tmp/subs1.awk" <<_ACAWK && 65699bc46bd4Smrg for (key in S) S_is_set[key] = 1 65709bc46bd4Smrg FS = "" 65719bc46bd4Smrg 65729bc46bd4Smrg} 65739bc46bd4Smrg{ 65749bc46bd4Smrg line = $ 0 65759bc46bd4Smrg nfields = split(line, field, "@") 65769bc46bd4Smrg substed = 0 65779bc46bd4Smrg len = length(field[1]) 65789bc46bd4Smrg for (i = 2; i < nfields; i++) { 65799bc46bd4Smrg key = field[i] 65809bc46bd4Smrg keylen = length(key) 65819bc46bd4Smrg if (S_is_set[key]) { 65829bc46bd4Smrg value = S[key] 65839bc46bd4Smrg line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 65849bc46bd4Smrg len += length(value) + length(field[++i]) 65859bc46bd4Smrg substed = 1 65869bc46bd4Smrg } else 65879bc46bd4Smrg len += 1 + keylen 65889bc46bd4Smrg } 65899bc46bd4Smrg 65909bc46bd4Smrg print line 65919bc46bd4Smrg} 65929bc46bd4Smrg 65939bc46bd4Smrg_ACAWK 65949bc46bd4Smrg_ACEOF 65959bc46bd4Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 65969bc46bd4Smrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 65979bc46bd4Smrg sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 65989bc46bd4Smrgelse 65999bc46bd4Smrg cat 66009bc46bd4Smrgfi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 66019bc46bd4Smrg || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 66029bc46bd4Smrg$as_echo "$as_me: error: could not setup config files machinery" >&2;} 66039bc46bd4Smrg { (exit 1); exit 1; }; } 66049bc46bd4Smrg_ACEOF 66059bc46bd4Smrg 66069bc46bd4Smrg# VPATH may cause trouble with some makes, so we remove $(srcdir), 66079bc46bd4Smrg# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 66089bc46bd4Smrg# trailing colons and then remove the whole line if VPATH becomes empty 66099bc46bd4Smrg# (actually we leave an empty line to preserve line numbers). 66109bc46bd4Smrgif test "x$srcdir" = x.; then 66119bc46bd4Smrg ac_vpsub='/^[ ]*VPATH[ ]*=/{ 66129bc46bd4Smrgs/:*\$(srcdir):*/:/ 66139bc46bd4Smrgs/:*\${srcdir}:*/:/ 66149bc46bd4Smrgs/:*@srcdir@:*/:/ 66159bc46bd4Smrgs/^\([^=]*=[ ]*\):*/\1/ 66169bc46bd4Smrgs/:*$// 66179bc46bd4Smrgs/^[^=]*=[ ]*$// 66189bc46bd4Smrg}' 66199bc46bd4Smrgfi 66209bc46bd4Smrg 66219bc46bd4Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 66229bc46bd4Smrgfi # test -n "$CONFIG_FILES" 66239bc46bd4Smrg 66249bc46bd4Smrg 66259bc46bd4Smrgeval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" 66269bc46bd4Smrgshift 66279bc46bd4Smrgfor ac_tag 66289bc46bd4Smrgdo 66299bc46bd4Smrg case $ac_tag in 66309bc46bd4Smrg :[FHLC]) ac_mode=$ac_tag; continue;; 66319bc46bd4Smrg esac 66329bc46bd4Smrg case $ac_mode$ac_tag in 66339bc46bd4Smrg :[FHL]*:*);; 66349bc46bd4Smrg :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 66359bc46bd4Smrg$as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 66369bc46bd4Smrg { (exit 1); exit 1; }; };; 66379bc46bd4Smrg :[FH]-) ac_tag=-:-;; 66389bc46bd4Smrg :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 66399bc46bd4Smrg esac 66409bc46bd4Smrg ac_save_IFS=$IFS 66419bc46bd4Smrg IFS=: 66429bc46bd4Smrg set x $ac_tag 66439bc46bd4Smrg IFS=$ac_save_IFS 66449bc46bd4Smrg shift 66459bc46bd4Smrg ac_file=$1 66469bc46bd4Smrg shift 66479bc46bd4Smrg 66489bc46bd4Smrg case $ac_mode in 66499bc46bd4Smrg :L) ac_source=$1;; 66509bc46bd4Smrg :[FH]) 66519bc46bd4Smrg ac_file_inputs= 66529bc46bd4Smrg for ac_f 66539bc46bd4Smrg do 66549bc46bd4Smrg case $ac_f in 66559bc46bd4Smrg -) ac_f="$tmp/stdin";; 66569bc46bd4Smrg *) # Look for the file first in the build tree, then in the source tree 66579bc46bd4Smrg # (if the path is not absolute). The absolute path cannot be DOS-style, 66589bc46bd4Smrg # because $ac_f cannot contain `:'. 66599bc46bd4Smrg test -f "$ac_f" || 66609bc46bd4Smrg case $ac_f in 66619bc46bd4Smrg [\\/$]*) false;; 66629bc46bd4Smrg *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 66639bc46bd4Smrg esac || 66649bc46bd4Smrg { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 66659bc46bd4Smrg$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 66669bc46bd4Smrg { (exit 1); exit 1; }; };; 66679bc46bd4Smrg esac 66689bc46bd4Smrg case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 66699bc46bd4Smrg ac_file_inputs="$ac_file_inputs '$ac_f'" 66709bc46bd4Smrg done 66719bc46bd4Smrg 66729bc46bd4Smrg # Let's still pretend it is `configure' which instantiates (i.e., don't 66739bc46bd4Smrg # use $as_me), people would be surprised to read: 66749bc46bd4Smrg # /* config.h. Generated by config.status. */ 66759bc46bd4Smrg configure_input='Generated from '` 66769bc46bd4Smrg $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 66779bc46bd4Smrg `' by configure.' 66789bc46bd4Smrg if test x"$ac_file" != x-; then 66799bc46bd4Smrg configure_input="$ac_file. $configure_input" 66809bc46bd4Smrg { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 66819bc46bd4Smrg$as_echo "$as_me: creating $ac_file" >&6;} 66829bc46bd4Smrg fi 66839bc46bd4Smrg # Neutralize special characters interpreted by sed in replacement strings. 66849bc46bd4Smrg case $configure_input in #( 66859bc46bd4Smrg *\&* | *\|* | *\\* ) 66869bc46bd4Smrg ac_sed_conf_input=`$as_echo "$configure_input" | 66879bc46bd4Smrg sed 's/[\\\\&|]/\\\\&/g'`;; #( 66889bc46bd4Smrg *) ac_sed_conf_input=$configure_input;; 66899bc46bd4Smrg esac 66909bc46bd4Smrg 66919bc46bd4Smrg case $ac_tag in 66929bc46bd4Smrg *:-:* | *:-) cat >"$tmp/stdin" \ 66939bc46bd4Smrg || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 66949bc46bd4Smrg$as_echo "$as_me: error: could not create $ac_file" >&2;} 66959bc46bd4Smrg { (exit 1); exit 1; }; } ;; 66969bc46bd4Smrg esac 66973294c433Smrg ;; 66983294c433Smrg esac 66999bc46bd4Smrg 67003294c433Smrg ac_dir=`$as_dirname -- "$ac_file" || 67013294c433Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 67023294c433Smrg X"$ac_file" : 'X\(//\)[^/]' \| \ 67039bc46bd4Smrg X"$ac_file" : 'X\(//\)$' \| \ 67049bc46bd4Smrg X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 67059bc46bd4Smrg$as_echo X"$ac_file" | 67069bc46bd4Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 67079bc46bd4Smrg s//\1/ 67089bc46bd4Smrg q 67099bc46bd4Smrg } 67109bc46bd4Smrg /^X\(\/\/\)[^/].*/{ 67119bc46bd4Smrg s//\1/ 67129bc46bd4Smrg q 67139bc46bd4Smrg } 67149bc46bd4Smrg /^X\(\/\/\)$/{ 67159bc46bd4Smrg s//\1/ 67169bc46bd4Smrg q 67179bc46bd4Smrg } 67189bc46bd4Smrg /^X\(\/\).*/{ 67199bc46bd4Smrg s//\1/ 67209bc46bd4Smrg q 67219bc46bd4Smrg } 67229bc46bd4Smrg s/.*/./; q'` 67239bc46bd4Smrg { as_dir="$ac_dir" 67249bc46bd4Smrg case $as_dir in #( 67259bc46bd4Smrg -*) as_dir=./$as_dir;; 67269bc46bd4Smrg esac 67273294c433Smrg test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 67289bc46bd4Smrg as_dirs= 67299bc46bd4Smrg while :; do 67309bc46bd4Smrg case $as_dir in #( 67319bc46bd4Smrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 67329bc46bd4Smrg *) as_qdir=$as_dir;; 67339bc46bd4Smrg esac 67349bc46bd4Smrg as_dirs="'$as_qdir' $as_dirs" 67353294c433Smrg as_dir=`$as_dirname -- "$as_dir" || 67363294c433Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 67373294c433Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 67389bc46bd4Smrg X"$as_dir" : 'X\(//\)$' \| \ 67399bc46bd4Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 67409bc46bd4Smrg$as_echo X"$as_dir" | 67419bc46bd4Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 67429bc46bd4Smrg s//\1/ 67439bc46bd4Smrg q 67449bc46bd4Smrg } 67459bc46bd4Smrg /^X\(\/\/\)[^/].*/{ 67469bc46bd4Smrg s//\1/ 67479bc46bd4Smrg q 67489bc46bd4Smrg } 67499bc46bd4Smrg /^X\(\/\/\)$/{ 67509bc46bd4Smrg s//\1/ 67519bc46bd4Smrg q 67529bc46bd4Smrg } 67539bc46bd4Smrg /^X\(\/\).*/{ 67549bc46bd4Smrg s//\1/ 67559bc46bd4Smrg q 67569bc46bd4Smrg } 67579bc46bd4Smrg s/.*/./; q'` 67583294c433Smrg test -d "$as_dir" && break 67599bc46bd4Smrg done 67609bc46bd4Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 67619bc46bd4Smrg } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 67623294c433Smrg$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 67633294c433Smrg { (exit 1); exit 1; }; }; } 67643294c433Smrg ac_builddir=. 67659bc46bd4Smrg 67669bc46bd4Smrgcase "$ac_dir" in 67679bc46bd4Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 67689bc46bd4Smrg*) 67699bc46bd4Smrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 67709bc46bd4Smrg # A ".." for each directory in $ac_dir_suffix. 67719bc46bd4Smrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 67729bc46bd4Smrg case $ac_top_builddir_sub in 67739bc46bd4Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 67749bc46bd4Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 67759bc46bd4Smrg esac ;; 67769bc46bd4Smrgesac 67779bc46bd4Smrgac_abs_top_builddir=$ac_pwd 67789bc46bd4Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 67799bc46bd4Smrg# for backward compatibility: 67803294c433Smrgac_top_builddir=$ac_top_build_prefix 67813294c433Smrg 67829bc46bd4Smrgcase $srcdir in 67833294c433Smrg .) # We are building in place. 67849bc46bd4Smrg ac_srcdir=. 67859bc46bd4Smrg ac_top_srcdir=$ac_top_builddir_sub 67869bc46bd4Smrg ac_abs_top_srcdir=$ac_pwd ;; 67873294c433Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 67889bc46bd4Smrg ac_srcdir=$srcdir$ac_dir_suffix; 67899bc46bd4Smrg ac_top_srcdir=$srcdir 67909bc46bd4Smrg ac_abs_top_srcdir=$srcdir ;; 67919bc46bd4Smrg *) # Relative name. 67929bc46bd4Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 67939bc46bd4Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 67943294c433Smrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 67959bc46bd4Smrgesac 67963294c433Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 67973294c433Smrg 67989bc46bd4Smrg 67999bc46bd4Smrg case $ac_mode in 68009bc46bd4Smrg :F) 68019bc46bd4Smrg # 68029bc46bd4Smrg # CONFIG_FILE 68033294c433Smrg # 68043294c433Smrg 68053294c433Smrg case $INSTALL in 68069bc46bd4Smrg [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 68073294c433Smrg *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 68089bc46bd4Smrg esac 68099bc46bd4Smrg ac_MKDIR_P=$MKDIR_P 68109bc46bd4Smrg case $MKDIR_P in 68119bc46bd4Smrg [\\/$]* | ?:[\\/]* ) ;; 68129bc46bd4Smrg */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 68139bc46bd4Smrg esac 68143294c433Smrg_ACEOF 68159bc46bd4Smrg 68169bc46bd4Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 68179bc46bd4Smrg# If the template does not know about datarootdir, expand it. 68189bc46bd4Smrg# FIXME: This hack should be removed a few years after 2.60. 68199bc46bd4Smrgac_datarootdir_hack=; ac_datarootdir_seen= 68209bc46bd4Smrg 68219bc46bd4Smrgac_sed_dataroot=' 68229bc46bd4Smrg/datarootdir/ { 68239bc46bd4Smrg p 68249bc46bd4Smrg q 68259bc46bd4Smrg} 68269bc46bd4Smrg/@datadir@/p 68279bc46bd4Smrg/@docdir@/p 68289bc46bd4Smrg/@infodir@/p 68299bc46bd4Smrg/@localedir@/p 68309bc46bd4Smrg/@mandir@/p 68319bc46bd4Smrg' 68329bc46bd4Smrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 68339bc46bd4Smrg*datarootdir*) ac_datarootdir_seen=yes;; 68349bc46bd4Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 68359bc46bd4Smrg { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 68369bc46bd4Smrg$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 68379bc46bd4Smrg_ACEOF 68389bc46bd4Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 68399bc46bd4Smrg ac_datarootdir_hack=' 68409bc46bd4Smrg s&@datadir@&$datadir&g 68419bc46bd4Smrg s&@docdir@&$docdir&g 68429bc46bd4Smrg s&@infodir@&$infodir&g 68439bc46bd4Smrg s&@localedir@&$localedir&g 68449bc46bd4Smrg s&@mandir@&$mandir&g 68459bc46bd4Smrg s&\\\${datarootdir}&$datarootdir&g' ;; 68463294c433Smrgesac 68479bc46bd4Smrg_ACEOF 68489bc46bd4Smrg 68499bc46bd4Smrg# Neutralize VPATH when `$srcdir' = `.'. 68509bc46bd4Smrg# Shell code in configure.ac might set extrasub. 68519bc46bd4Smrg# FIXME: do we really want to maintain this feature? 68529bc46bd4Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 68533294c433Smrgac_sed_extra="$ac_vpsub 68543294c433Smrg$extrasub 68559bc46bd4Smrg_ACEOF 68563294c433Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 68573294c433Smrg:t 68589bc46bd4Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 68599bc46bd4Smrgs|@configure_input@|$ac_sed_conf_input|;t t 68609bc46bd4Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t 68619bc46bd4Smrgs&@top_build_prefix@&$ac_top_build_prefix&;t t 68629bc46bd4Smrgs&@srcdir@&$ac_srcdir&;t t 68639bc46bd4Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t 68649bc46bd4Smrgs&@top_srcdir@&$ac_top_srcdir&;t t 68659bc46bd4Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 68669bc46bd4Smrgs&@builddir@&$ac_builddir&;t t 68679bc46bd4Smrgs&@abs_builddir@&$ac_abs_builddir&;t t 68689bc46bd4Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t 68699bc46bd4Smrgs&@INSTALL@&$ac_INSTALL&;t t 68709bc46bd4Smrgs&@MKDIR_P@&$ac_MKDIR_P&;t t 68719bc46bd4Smrg$ac_datarootdir_hack 68729bc46bd4Smrg" 68739bc46bd4Smrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 68749bc46bd4Smrg || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 68759bc46bd4Smrg$as_echo "$as_me: error: could not create $ac_file" >&2;} 68763294c433Smrg { (exit 1); exit 1; }; } 68779bc46bd4Smrg 68789bc46bd4Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 68799bc46bd4Smrg { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 68809bc46bd4Smrg { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 68819bc46bd4Smrg { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 68829bc46bd4Smrgwhich seems to be undefined. Please make sure it is defined." >&5 68839bc46bd4Smrg$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 68849bc46bd4Smrgwhich seems to be undefined. Please make sure it is defined." >&2;} 68859bc46bd4Smrg 68869bc46bd4Smrg rm -f "$tmp/stdin" 68879bc46bd4Smrg case $ac_file in 68889bc46bd4Smrg -) cat "$tmp/out" && rm -f "$tmp/out";; 68899bc46bd4Smrg *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 68909bc46bd4Smrg esac \ 68919bc46bd4Smrg || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 68929bc46bd4Smrg$as_echo "$as_me: error: could not create $ac_file" >&2;} 68939bc46bd4Smrg { (exit 1); exit 1; }; } 68949bc46bd4Smrg ;; 68959bc46bd4Smrg 68969bc46bd4Smrg 68979bc46bd4Smrg :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 68989bc46bd4Smrg$as_echo "$as_me: executing $ac_file commands" >&6;} 68999bc46bd4Smrg ;; 69009bc46bd4Smrg esac 69019bc46bd4Smrg 69029bc46bd4Smrg 69039bc46bd4Smrg case $ac_file$ac_mode in 69049bc46bd4Smrg "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 69059bc46bd4Smrg # Autoconf 2.62 quotes --file arguments for eval, but not when files 69069bc46bd4Smrg # are listed without --file. Let's play safe and only enable the eval 69079bc46bd4Smrg # if we detect the quoting. 69089bc46bd4Smrg case $CONFIG_FILES in 69099bc46bd4Smrg *\'*) eval set x "$CONFIG_FILES" ;; 69109bc46bd4Smrg *) set x $CONFIG_FILES ;; 69119bc46bd4Smrg esac 69129bc46bd4Smrg shift 69139bc46bd4Smrg for mf 69149bc46bd4Smrg do 69159bc46bd4Smrg # Strip MF so we end up with the name of the file. 69169bc46bd4Smrg mf=`echo "$mf" | sed -e 's/:.*$//'` 69179bc46bd4Smrg # Check whether this is an Automake generated Makefile or not. 69189bc46bd4Smrg # We used to match only the files named `Makefile.in', but 69199bc46bd4Smrg # some people rename them; so instead we look at the file content. 69209bc46bd4Smrg # Grep'ing the first line is not enough: some people post-process 69219bc46bd4Smrg # each Makefile.in and add a new line on top of each file to say so. 69229bc46bd4Smrg # Grep'ing the whole file is not good either: AIX grep has a line 69239bc46bd4Smrg # limit of 2048, but all sed's we know have understand at least 4000. 69249bc46bd4Smrg if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 69259bc46bd4Smrg dirpart=`$as_dirname -- "$mf" || 69269bc46bd4Smrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 69279bc46bd4Smrg X"$mf" : 'X\(//\)[^/]' \| \ 69289bc46bd4Smrg X"$mf" : 'X\(//\)$' \| \ 69299bc46bd4Smrg X"$mf" : 'X\(/\)' \| . 2>/dev/null || 69309bc46bd4Smrg$as_echo X"$mf" | 69319bc46bd4Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 69329bc46bd4Smrg s//\1/ 69339bc46bd4Smrg q 69349bc46bd4Smrg } 69359bc46bd4Smrg /^X\(\/\/\)[^/].*/{ 69369bc46bd4Smrg s//\1/ 69379bc46bd4Smrg q 69389bc46bd4Smrg } 69399bc46bd4Smrg /^X\(\/\/\)$/{ 69409bc46bd4Smrg s//\1/ 69419bc46bd4Smrg q 69429bc46bd4Smrg } 69439bc46bd4Smrg /^X\(\/\).*/{ 69449bc46bd4Smrg s//\1/ 69459bc46bd4Smrg q 69469bc46bd4Smrg } 69479bc46bd4Smrg s/.*/./; q'` 69489bc46bd4Smrg else 69499bc46bd4Smrg continue 69509bc46bd4Smrg fi 69519bc46bd4Smrg # Extract the definition of DEPDIR, am__include, and am__quote 69529bc46bd4Smrg # from the Makefile without running `make'. 69539bc46bd4Smrg DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 69549bc46bd4Smrg test -z "$DEPDIR" && continue 69559bc46bd4Smrg am__include=`sed -n 's/^am__include = //p' < "$mf"` 69569bc46bd4Smrg test -z "am__include" && continue 69579bc46bd4Smrg am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 69589bc46bd4Smrg # When using ansi2knr, U may be empty or an underscore; expand it 69599bc46bd4Smrg U=`sed -n 's/^U = //p' < "$mf"` 69609bc46bd4Smrg # Find all dependency output files, they are included files with 69619bc46bd4Smrg # $(DEPDIR) in their names. We invoke sed twice because it is the 69629bc46bd4Smrg # simplest approach to changing $(DEPDIR) to its actual value in the 69639bc46bd4Smrg # expansion. 69649bc46bd4Smrg for file in `sed -n " 69659bc46bd4Smrg s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 69669bc46bd4Smrg sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 69679bc46bd4Smrg # Make sure the directory exists. 69689bc46bd4Smrg test -f "$dirpart/$file" && continue 69699bc46bd4Smrg fdir=`$as_dirname -- "$file" || 69709bc46bd4Smrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 69719bc46bd4Smrg X"$file" : 'X\(//\)[^/]' \| \ 69729bc46bd4Smrg X"$file" : 'X\(//\)$' \| \ 69739bc46bd4Smrg X"$file" : 'X\(/\)' \| . 2>/dev/null || 69749bc46bd4Smrg$as_echo X"$file" | 69759bc46bd4Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 69769bc46bd4Smrg s//\1/ 69779bc46bd4Smrg q 69789bc46bd4Smrg } 69799bc46bd4Smrg /^X\(\/\/\)[^/].*/{ 69809bc46bd4Smrg s//\1/ 69819bc46bd4Smrg q 69829bc46bd4Smrg } 69839bc46bd4Smrg /^X\(\/\/\)$/{ 69849bc46bd4Smrg s//\1/ 69859bc46bd4Smrg q 69869bc46bd4Smrg } 69879bc46bd4Smrg /^X\(\/\).*/{ 69889bc46bd4Smrg s//\1/ 69899bc46bd4Smrg q 69909bc46bd4Smrg } 69919bc46bd4Smrg s/.*/./; q'` 69929bc46bd4Smrg { as_dir=$dirpart/$fdir 69939bc46bd4Smrg case $as_dir in #( 69949bc46bd4Smrg -*) as_dir=./$as_dir;; 69959bc46bd4Smrg esac 69969bc46bd4Smrg test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 69979bc46bd4Smrg as_dirs= 69989bc46bd4Smrg while :; do 69999bc46bd4Smrg case $as_dir in #( 70009bc46bd4Smrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 70019bc46bd4Smrg *) as_qdir=$as_dir;; 70029bc46bd4Smrg esac 70039bc46bd4Smrg as_dirs="'$as_qdir' $as_dirs" 70049bc46bd4Smrg as_dir=`$as_dirname -- "$as_dir" || 70059bc46bd4Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 70069bc46bd4Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 70079bc46bd4Smrg X"$as_dir" : 'X\(//\)$' \| \ 70089bc46bd4Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 70099bc46bd4Smrg$as_echo X"$as_dir" | 70109bc46bd4Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 70119bc46bd4Smrg s//\1/ 70129bc46bd4Smrg q 70139bc46bd4Smrg } 70149bc46bd4Smrg /^X\(\/\/\)[^/].*/{ 70159bc46bd4Smrg s//\1/ 70169bc46bd4Smrg q 70179bc46bd4Smrg } 70189bc46bd4Smrg /^X\(\/\/\)$/{ 70199bc46bd4Smrg s//\1/ 70209bc46bd4Smrg q 70219bc46bd4Smrg } 70229bc46bd4Smrg /^X\(\/\).*/{ 70239bc46bd4Smrg s//\1/ 70249bc46bd4Smrg q 70259bc46bd4Smrg } 70269bc46bd4Smrg s/.*/./; q'` 70279bc46bd4Smrg test -d "$as_dir" && break 70289bc46bd4Smrg done 70299bc46bd4Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 70309bc46bd4Smrg } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 70319bc46bd4Smrg$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 70329bc46bd4Smrg { (exit 1); exit 1; }; }; } 70339bc46bd4Smrg # echo "creating $dirpart/$file" 70349bc46bd4Smrg echo '# dummy' > "$dirpart/$file" 70359bc46bd4Smrg done 70369bc46bd4Smrg done 70379bc46bd4Smrg} 70389bc46bd4Smrg ;; 70399bc46bd4Smrg 70409bc46bd4Smrg esac 70413294c433Smrgdone # for ac_tag 70423294c433Smrg 70433294c433Smrg 70443294c433Smrg{ (exit 0); exit 0; } 70453294c433Smrg_ACEOF 70463294c433Smrgchmod +x $CONFIG_STATUS 70473294c433Smrgac_clean_files=$ac_clean_files_save 70489bc46bd4Smrg 70499bc46bd4Smrgtest $ac_write_fail = 0 || 70509bc46bd4Smrg { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 70519bc46bd4Smrg$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 70529bc46bd4Smrg { (exit 1); exit 1; }; } 70533294c433Smrg 70543294c433Smrg 70553294c433Smrg# configure is writing to config.log, and then calls config.status. 70563294c433Smrg# config.status does its own redirection, appending to config.log. 70573294c433Smrg# Unfortunately, on DOS this fails, as config.log is still kept open 70583294c433Smrg# by configure, so config.status won't be able to write to it; its 70593294c433Smrg# output is simply discarded. So we exec the FD to /dev/null, 70603294c433Smrg# effectively closing config.log, so it can be properly (re)opened and 70613294c433Smrg# appended to by config.status. When coming back to configure, we 70623294c433Smrg# need to make the FD available again. 70633294c433Smrgif test "$no_create" != yes; then 70643294c433Smrg ac_cs_success=: 70653294c433Smrg ac_config_status_args= 70663294c433Smrg test "$silent" = yes && 70673294c433Smrg ac_config_status_args="$ac_config_status_args --quiet" 70683294c433Smrg exec 5>/dev/null 70693294c433Smrg $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 70703294c433Smrg exec 5>>config.log 70713294c433Smrg # Use ||, not &&, to avoid exiting from the if with $? = 1, which 70723294c433Smrg # would make configure fail if this is the last instruction. 70733294c433Smrg $ac_cs_success || { (exit 1); exit 1; } 70749bc46bd4Smrgfi 70759bc46bd4Smrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 70769bc46bd4Smrg { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 70779bc46bd4Smrg$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 70783294c433Smrgfi 7079 7080