configure revision 32034fa5
14ecf19b2Smrg#! /bin/sh 24ecf19b2Smrg# Guess values for system-dependent variables and create Makefiles. 332034fa5Smrg# Generated by GNU Autoconf 2.63 for font-adobe-75dpi 1.0.1. 44ecf19b2Smrg# 54ecf19b2Smrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 64ecf19b2Smrg# 732034fa5Smrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 832034fa5Smrg# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 94ecf19b2Smrg# This configure script is free software; the Free Software Foundation 104ecf19b2Smrg# gives unlimited permission to copy, distribute and modify it. 114ecf19b2Smrg## --------------------- ## 124ecf19b2Smrg## M4sh Initialization. ## 134ecf19b2Smrg## --------------------- ## 144ecf19b2Smrg 1532034fa5Smrg# Be more Bourne compatible 1632034fa5SmrgDUALCASE=1; export DUALCASE # for MKS sh 174ecf19b2Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 184ecf19b2Smrg emulate sh 194ecf19b2Smrg NULLCMD=: 2032034fa5Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 214ecf19b2Smrg # is contrary to our usage. Disable this feature. 224ecf19b2Smrg alias -g '${1+"$@"}'='"$@"' 2332034fa5Smrg setopt NO_GLOB_SUBST 2432034fa5Smrgelse 2532034fa5Smrg case `(set -o) 2>/dev/null` in 2632034fa5Smrg *posix*) set -o posix ;; 2732034fa5Smrgesac 2832034fa5Smrg 2932034fa5Smrgfi 3032034fa5Smrg 3132034fa5Smrg 3232034fa5Smrg 3332034fa5Smrg 3432034fa5Smrg# PATH needs CR 3532034fa5Smrg# Avoid depending upon Character Ranges. 3632034fa5Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 3732034fa5Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 3832034fa5Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 3932034fa5Smrgas_cr_digits='0123456789' 4032034fa5Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 4132034fa5Smrg 4232034fa5Smrgas_nl=' 4332034fa5Smrg' 4432034fa5Smrgexport as_nl 4532034fa5Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 4632034fa5Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4732034fa5Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 4832034fa5Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 4932034fa5Smrgif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 5032034fa5Smrg as_echo='printf %s\n' 5132034fa5Smrg as_echo_n='printf %s' 5232034fa5Smrgelse 5332034fa5Smrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 5432034fa5Smrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 5532034fa5Smrg as_echo_n='/usr/ucb/echo -n' 5632034fa5Smrg else 5732034fa5Smrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 5832034fa5Smrg as_echo_n_body='eval 5932034fa5Smrg arg=$1; 6032034fa5Smrg case $arg in 6132034fa5Smrg *"$as_nl"*) 6232034fa5Smrg expr "X$arg" : "X\\(.*\\)$as_nl"; 6332034fa5Smrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 6432034fa5Smrg esac; 6532034fa5Smrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 6632034fa5Smrg ' 6732034fa5Smrg export as_echo_n_body 6832034fa5Smrg as_echo_n='sh -c $as_echo_n_body as_echo' 6932034fa5Smrg fi 7032034fa5Smrg export as_echo_body 7132034fa5Smrg as_echo='sh -c $as_echo_body as_echo' 7232034fa5Smrgfi 7332034fa5Smrg 7432034fa5Smrg# The user is always right. 7532034fa5Smrgif test "${PATH_SEPARATOR+set}" != set; then 7632034fa5Smrg PATH_SEPARATOR=: 7732034fa5Smrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 7832034fa5Smrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 7932034fa5Smrg PATH_SEPARATOR=';' 8032034fa5Smrg } 814ecf19b2Smrgfi 824ecf19b2Smrg 834ecf19b2Smrg# Support unset when possible. 844ecf19b2Smrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 854ecf19b2Smrg as_unset=unset 864ecf19b2Smrgelse 874ecf19b2Smrg as_unset=false 884ecf19b2Smrgfi 894ecf19b2Smrg 904ecf19b2Smrg 9132034fa5Smrg# IFS 9232034fa5Smrg# We need space, tab and new line, in precisely that order. Quoting is 9332034fa5Smrg# there to prevent editors from complaining about space-tab. 9432034fa5Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 9532034fa5Smrg# splitting by setting IFS to empty value.) 9632034fa5SmrgIFS=" "" $as_nl" 9732034fa5Smrg 9832034fa5Smrg# Find who we are. Look in the path if we contain no directory separator. 9932034fa5Smrgcase $0 in 10032034fa5Smrg *[\\/]* ) as_myself=$0 ;; 10132034fa5Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10232034fa5Smrgfor as_dir in $PATH 10332034fa5Smrgdo 10432034fa5Smrg IFS=$as_save_IFS 10532034fa5Smrg test -z "$as_dir" && as_dir=. 10632034fa5Smrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 10732034fa5Smrgdone 10832034fa5SmrgIFS=$as_save_IFS 10932034fa5Smrg 11032034fa5Smrg ;; 11132034fa5Smrgesac 11232034fa5Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 11332034fa5Smrg# in which case we are not to be found in the path. 11432034fa5Smrgif test "x$as_myself" = x; then 11532034fa5Smrg as_myself=$0 11632034fa5Smrgfi 11732034fa5Smrgif test ! -f "$as_myself"; then 11832034fa5Smrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 11932034fa5Smrg { (exit 1); exit 1; } 12032034fa5Smrgfi 12132034fa5Smrg 1224ecf19b2Smrg# Work around bugs in pre-3.0 UWIN ksh. 12332034fa5Smrgfor as_var in ENV MAIL MAILPATH 12432034fa5Smrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 12532034fa5Smrgdone 1264ecf19b2SmrgPS1='$ ' 1274ecf19b2SmrgPS2='> ' 1284ecf19b2SmrgPS4='+ ' 1294ecf19b2Smrg 1304ecf19b2Smrg# NLS nuisances. 13132034fa5SmrgLC_ALL=C 13232034fa5Smrgexport LC_ALL 13332034fa5SmrgLANGUAGE=C 13432034fa5Smrgexport LANGUAGE 1354ecf19b2Smrg 1364ecf19b2Smrg# Required to use basename. 13732034fa5Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 13832034fa5Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 1394ecf19b2Smrg as_expr=expr 1404ecf19b2Smrgelse 1414ecf19b2Smrg as_expr=false 1424ecf19b2Smrgfi 1434ecf19b2Smrg 14432034fa5Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 1454ecf19b2Smrg as_basename=basename 1464ecf19b2Smrgelse 1474ecf19b2Smrg as_basename=false 1484ecf19b2Smrgfi 1494ecf19b2Smrg 1504ecf19b2Smrg 1514ecf19b2Smrg# Name of the executable. 15232034fa5Smrgas_me=`$as_basename -- "$0" || 1534ecf19b2Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 1544ecf19b2Smrg X"$0" : 'X\(//\)$' \| \ 15532034fa5Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 15632034fa5Smrg$as_echo X/"$0" | 15732034fa5Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 15832034fa5Smrg s//\1/ 15932034fa5Smrg q 16032034fa5Smrg } 16132034fa5Smrg /^X\/\(\/\/\)$/{ 16232034fa5Smrg s//\1/ 16332034fa5Smrg q 16432034fa5Smrg } 16532034fa5Smrg /^X\/\(\/\).*/{ 16632034fa5Smrg s//\1/ 16732034fa5Smrg q 16832034fa5Smrg } 16932034fa5Smrg s/.*/./; q'` 1704ecf19b2Smrg 17132034fa5Smrg# CDPATH. 17232034fa5Smrg$as_unset CDPATH 1734ecf19b2Smrg 1744ecf19b2Smrg 17532034fa5Smrgif test "x$CONFIG_SHELL" = x; then 17632034fa5Smrg if (eval ":") 2>/dev/null; then 17732034fa5Smrg as_have_required=yes 17832034fa5Smrgelse 17932034fa5Smrg as_have_required=no 1804ecf19b2Smrgfi 1814ecf19b2Smrg 18232034fa5Smrg if test $as_have_required = yes && (eval ": 18332034fa5Smrg(as_func_return () { 18432034fa5Smrg (exit \$1) 18532034fa5Smrg} 18632034fa5Smrgas_func_success () { 18732034fa5Smrg as_func_return 0 18832034fa5Smrg} 18932034fa5Smrgas_func_failure () { 19032034fa5Smrg as_func_return 1 19132034fa5Smrg} 19232034fa5Smrgas_func_ret_success () { 19332034fa5Smrg return 0 19432034fa5Smrg} 19532034fa5Smrgas_func_ret_failure () { 19632034fa5Smrg return 1 19732034fa5Smrg} 1984ecf19b2Smrg 19932034fa5Smrgexitcode=0 20032034fa5Smrgif as_func_success; then 20132034fa5Smrg : 20232034fa5Smrgelse 20332034fa5Smrg exitcode=1 20432034fa5Smrg echo as_func_success failed. 20532034fa5Smrgfi 2064ecf19b2Smrg 20732034fa5Smrgif as_func_failure; then 20832034fa5Smrg exitcode=1 20932034fa5Smrg echo as_func_failure succeeded. 21032034fa5Smrgfi 21132034fa5Smrg 21232034fa5Smrgif as_func_ret_success; then 21332034fa5Smrg : 21432034fa5Smrgelse 21532034fa5Smrg exitcode=1 21632034fa5Smrg echo as_func_ret_success failed. 21732034fa5Smrgfi 21832034fa5Smrg 21932034fa5Smrgif as_func_ret_failure; then 22032034fa5Smrg exitcode=1 22132034fa5Smrg echo as_func_ret_failure succeeded. 22232034fa5Smrgfi 22332034fa5Smrg 22432034fa5Smrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then 22532034fa5Smrg : 22632034fa5Smrgelse 22732034fa5Smrg exitcode=1 22832034fa5Smrg echo positional parameters were not saved. 22932034fa5Smrgfi 23032034fa5Smrg 23132034fa5Smrgtest \$exitcode = 0) || { (exit 1); exit 1; } 23232034fa5Smrg 23332034fa5Smrg( 23432034fa5Smrg as_lineno_1=\$LINENO 23532034fa5Smrg as_lineno_2=\$LINENO 23632034fa5Smrg test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 23732034fa5Smrg test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 23832034fa5Smrg") 2> /dev/null; then 23932034fa5Smrg : 24032034fa5Smrgelse 24132034fa5Smrg as_candidate_shells= 2424ecf19b2Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2434ecf19b2Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 2444ecf19b2Smrgdo 2454ecf19b2Smrg IFS=$as_save_IFS 2464ecf19b2Smrg test -z "$as_dir" && as_dir=. 24732034fa5Smrg case $as_dir in 2484ecf19b2Smrg /*) 24932034fa5Smrg for as_base in sh bash ksh sh5; do 25032034fa5Smrg as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 25132034fa5Smrg done;; 25232034fa5Smrg esac 25332034fa5Smrgdone 25432034fa5SmrgIFS=$as_save_IFS 25532034fa5Smrg 25632034fa5Smrg 25732034fa5Smrg for as_shell in $as_candidate_shells $SHELL; do 25832034fa5Smrg # Try only shells that exist, to save several forks. 25932034fa5Smrg if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 26032034fa5Smrg { ("$as_shell") 2> /dev/null <<\_ASEOF 26132034fa5Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 26232034fa5Smrg emulate sh 26332034fa5Smrg NULLCMD=: 26432034fa5Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 26532034fa5Smrg # is contrary to our usage. Disable this feature. 26632034fa5Smrg alias -g '${1+"$@"}'='"$@"' 26732034fa5Smrg setopt NO_GLOB_SUBST 26832034fa5Smrgelse 26932034fa5Smrg case `(set -o) 2>/dev/null` in 27032034fa5Smrg *posix*) set -o posix ;; 27132034fa5Smrgesac 27232034fa5Smrg 27332034fa5Smrgfi 27432034fa5Smrg 27532034fa5Smrg 27632034fa5Smrg: 27732034fa5Smrg_ASEOF 27832034fa5Smrg}; then 27932034fa5Smrg CONFIG_SHELL=$as_shell 28032034fa5Smrg as_have_required=yes 28132034fa5Smrg if { "$as_shell" 2> /dev/null <<\_ASEOF 28232034fa5Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 28332034fa5Smrg emulate sh 28432034fa5Smrg NULLCMD=: 28532034fa5Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 28632034fa5Smrg # is contrary to our usage. Disable this feature. 28732034fa5Smrg alias -g '${1+"$@"}'='"$@"' 28832034fa5Smrg setopt NO_GLOB_SUBST 28932034fa5Smrgelse 29032034fa5Smrg case `(set -o) 2>/dev/null` in 29132034fa5Smrg *posix*) set -o posix ;; 29232034fa5Smrgesac 29332034fa5Smrg 29432034fa5Smrgfi 29532034fa5Smrg 29632034fa5Smrg 29732034fa5Smrg: 29832034fa5Smrg(as_func_return () { 29932034fa5Smrg (exit $1) 30032034fa5Smrg} 30132034fa5Smrgas_func_success () { 30232034fa5Smrg as_func_return 0 30332034fa5Smrg} 30432034fa5Smrgas_func_failure () { 30532034fa5Smrg as_func_return 1 30632034fa5Smrg} 30732034fa5Smrgas_func_ret_success () { 30832034fa5Smrg return 0 30932034fa5Smrg} 31032034fa5Smrgas_func_ret_failure () { 31132034fa5Smrg return 1 31232034fa5Smrg} 31332034fa5Smrg 31432034fa5Smrgexitcode=0 31532034fa5Smrgif as_func_success; then 31632034fa5Smrg : 31732034fa5Smrgelse 31832034fa5Smrg exitcode=1 31932034fa5Smrg echo as_func_success failed. 32032034fa5Smrgfi 32132034fa5Smrg 32232034fa5Smrgif as_func_failure; then 32332034fa5Smrg exitcode=1 32432034fa5Smrg echo as_func_failure succeeded. 32532034fa5Smrgfi 32632034fa5Smrg 32732034fa5Smrgif as_func_ret_success; then 32832034fa5Smrg : 32932034fa5Smrgelse 33032034fa5Smrg exitcode=1 33132034fa5Smrg echo as_func_ret_success failed. 33232034fa5Smrgfi 33332034fa5Smrg 33432034fa5Smrgif as_func_ret_failure; then 33532034fa5Smrg exitcode=1 33632034fa5Smrg echo as_func_ret_failure succeeded. 33732034fa5Smrgfi 33832034fa5Smrg 33932034fa5Smrgif ( set x; as_func_ret_success y && test x = "$1" ); then 34032034fa5Smrg : 34132034fa5Smrgelse 34232034fa5Smrg exitcode=1 34332034fa5Smrg echo positional parameters were not saved. 34432034fa5Smrgfi 34532034fa5Smrg 34632034fa5Smrgtest $exitcode = 0) || { (exit 1); exit 1; } 34732034fa5Smrg 34832034fa5Smrg( 3494ecf19b2Smrg as_lineno_1=$LINENO 3504ecf19b2Smrg as_lineno_2=$LINENO 3514ecf19b2Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 35232034fa5Smrg test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 35332034fa5Smrg 35432034fa5Smrg_ASEOF 35532034fa5Smrg}; then 35632034fa5Smrg break 35732034fa5Smrgfi 35832034fa5Smrg 35932034fa5Smrgfi 36032034fa5Smrg 36132034fa5Smrg done 36232034fa5Smrg 36332034fa5Smrg if test "x$CONFIG_SHELL" != x; then 36432034fa5Smrg for as_var in BASH_ENV ENV 36532034fa5Smrg do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 36632034fa5Smrg done 36732034fa5Smrg export CONFIG_SHELL 36832034fa5Smrg exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 36932034fa5Smrgfi 37032034fa5Smrg 37132034fa5Smrg 37232034fa5Smrg if test $as_have_required = no; then 37332034fa5Smrg echo This script requires a shell more modern than all the 37432034fa5Smrg echo shells that I found on your system. Please install a 37532034fa5Smrg echo modern shell, or manually run the script under such a 37632034fa5Smrg echo shell if you do have one. 37732034fa5Smrg { (exit 1); exit 1; } 37832034fa5Smrgfi 37932034fa5Smrg 38032034fa5Smrg 38132034fa5Smrgfi 38232034fa5Smrg 38332034fa5Smrgfi 38432034fa5Smrg 38532034fa5Smrg 38632034fa5Smrg 38732034fa5Smrg(eval "as_func_return () { 38832034fa5Smrg (exit \$1) 38932034fa5Smrg} 39032034fa5Smrgas_func_success () { 39132034fa5Smrg as_func_return 0 39232034fa5Smrg} 39332034fa5Smrgas_func_failure () { 39432034fa5Smrg as_func_return 1 39532034fa5Smrg} 39632034fa5Smrgas_func_ret_success () { 39732034fa5Smrg return 0 39832034fa5Smrg} 39932034fa5Smrgas_func_ret_failure () { 40032034fa5Smrg return 1 40132034fa5Smrg} 40232034fa5Smrg 40332034fa5Smrgexitcode=0 40432034fa5Smrgif as_func_success; then 40532034fa5Smrg : 40632034fa5Smrgelse 40732034fa5Smrg exitcode=1 40832034fa5Smrg echo as_func_success failed. 40932034fa5Smrgfi 41032034fa5Smrg 41132034fa5Smrgif as_func_failure; then 41232034fa5Smrg exitcode=1 41332034fa5Smrg echo as_func_failure succeeded. 41432034fa5Smrgfi 41532034fa5Smrg 41632034fa5Smrgif as_func_ret_success; then 41732034fa5Smrg : 41832034fa5Smrgelse 41932034fa5Smrg exitcode=1 42032034fa5Smrg echo as_func_ret_success failed. 42132034fa5Smrgfi 42232034fa5Smrg 42332034fa5Smrgif as_func_ret_failure; then 42432034fa5Smrg exitcode=1 42532034fa5Smrg echo as_func_ret_failure succeeded. 42632034fa5Smrgfi 42732034fa5Smrg 42832034fa5Smrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then 42932034fa5Smrg : 43032034fa5Smrgelse 43132034fa5Smrg exitcode=1 43232034fa5Smrg echo positional parameters were not saved. 43332034fa5Smrgfi 43432034fa5Smrg 43532034fa5Smrgtest \$exitcode = 0") || { 43632034fa5Smrg echo No shell found that supports shell functions. 43732034fa5Smrg echo Please tell bug-autoconf@gnu.org about your system, 43832034fa5Smrg echo including any error possibly output before this message. 43932034fa5Smrg echo This can help us improve future autoconf versions. 44032034fa5Smrg echo Configuration will now proceed without shell functions. 44132034fa5Smrg} 44232034fa5Smrg 44332034fa5Smrg 44432034fa5Smrg 44532034fa5Smrg as_lineno_1=$LINENO 44632034fa5Smrg as_lineno_2=$LINENO 44732034fa5Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 44832034fa5Smrg test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 4494ecf19b2Smrg 4504ecf19b2Smrg # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 4514ecf19b2Smrg # uniformly replaced by the line number. The first 'sed' inserts a 45232034fa5Smrg # line-number line after each line using $LINENO; the second 'sed' 45332034fa5Smrg # does the real work. The second script uses 'N' to pair each 45432034fa5Smrg # line-number line with the line containing $LINENO, and appends 45532034fa5Smrg # trailing '-' during substitution so that $LINENO is not a special 45632034fa5Smrg # case at line end. 4574ecf19b2Smrg # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 45832034fa5Smrg # scripts with optimization help from Paolo Bonzini. Blame Lee 45932034fa5Smrg # E. McMahon (1931-1989) for sed's syntax. :-) 46032034fa5Smrg sed -n ' 46132034fa5Smrg p 46232034fa5Smrg /[$]LINENO/= 46332034fa5Smrg ' <$as_myself | 4644ecf19b2Smrg sed ' 46532034fa5Smrg s/[$]LINENO.*/&-/ 46632034fa5Smrg t lineno 46732034fa5Smrg b 46832034fa5Smrg :lineno 4694ecf19b2Smrg N 47032034fa5Smrg :loop 47132034fa5Smrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 4724ecf19b2Smrg t loop 47332034fa5Smrg s/-\n.*// 4744ecf19b2Smrg ' >$as_me.lineno && 47532034fa5Smrg chmod +x "$as_me.lineno" || 47632034fa5Smrg { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 4774ecf19b2Smrg { (exit 1); exit 1; }; } 4784ecf19b2Smrg 4794ecf19b2Smrg # Don't try to exec as it changes $[0], causing all sort of problems 4804ecf19b2Smrg # (the dirname of $[0] is not the place where we might find the 48132034fa5Smrg # original and so on. Autoconf is especially sensitive to this). 48232034fa5Smrg . "./$as_me.lineno" 4834ecf19b2Smrg # Exit status is that of the last command. 4844ecf19b2Smrg exit 4854ecf19b2Smrg} 4864ecf19b2Smrg 4874ecf19b2Smrg 48832034fa5Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 48932034fa5Smrg as_dirname=dirname 49032034fa5Smrgelse 49132034fa5Smrg as_dirname=false 49232034fa5Smrgfi 4934ecf19b2Smrg 49432034fa5SmrgECHO_C= ECHO_N= ECHO_T= 49532034fa5Smrgcase `echo -n x` in 49632034fa5Smrg-n*) 49732034fa5Smrg case `echo 'x\c'` in 49832034fa5Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 49932034fa5Smrg *) ECHO_C='\c';; 50032034fa5Smrg esac;; 50132034fa5Smrg*) 50232034fa5Smrg ECHO_N='-n';; 50332034fa5Smrgesac 50432034fa5Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 50532034fa5Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 5064ecf19b2Smrg as_expr=expr 5074ecf19b2Smrgelse 5084ecf19b2Smrg as_expr=false 5094ecf19b2Smrgfi 5104ecf19b2Smrg 5114ecf19b2Smrgrm -f conf$$ conf$$.exe conf$$.file 51232034fa5Smrgif test -d conf$$.dir; then 51332034fa5Smrg rm -f conf$$.dir/conf$$.file 51432034fa5Smrgelse 51532034fa5Smrg rm -f conf$$.dir 51632034fa5Smrg mkdir conf$$.dir 2>/dev/null 51732034fa5Smrgfi 51832034fa5Smrgif (echo >conf$$.file) 2>/dev/null; then 51932034fa5Smrg if ln -s conf$$.file conf$$ 2>/dev/null; then 5204ecf19b2Smrg as_ln_s='ln -s' 52132034fa5Smrg # ... but there are two gotchas: 52232034fa5Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 52332034fa5Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 52432034fa5Smrg # In both cases, we have to default to `cp -p'. 52532034fa5Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 52632034fa5Smrg as_ln_s='cp -p' 52732034fa5Smrg elif ln conf$$.file conf$$ 2>/dev/null; then 52832034fa5Smrg as_ln_s=ln 52932034fa5Smrg else 53032034fa5Smrg as_ln_s='cp -p' 5314ecf19b2Smrg fi 5324ecf19b2Smrgelse 5334ecf19b2Smrg as_ln_s='cp -p' 5344ecf19b2Smrgfi 53532034fa5Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 53632034fa5Smrgrmdir conf$$.dir 2>/dev/null 5374ecf19b2Smrg 5384ecf19b2Smrgif mkdir -p . 2>/dev/null; then 5394ecf19b2Smrg as_mkdir_p=: 5404ecf19b2Smrgelse 5414ecf19b2Smrg test -d ./-p && rmdir ./-p 5424ecf19b2Smrg as_mkdir_p=false 5434ecf19b2Smrgfi 5444ecf19b2Smrg 54532034fa5Smrgif test -x / >/dev/null 2>&1; then 54632034fa5Smrg as_test_x='test -x' 54732034fa5Smrgelse 54832034fa5Smrg if ls -dL / >/dev/null 2>&1; then 54932034fa5Smrg as_ls_L_option=L 55032034fa5Smrg else 55132034fa5Smrg as_ls_L_option= 55232034fa5Smrg fi 55332034fa5Smrg as_test_x=' 55432034fa5Smrg eval sh -c '\'' 55532034fa5Smrg if test -d "$1"; then 55632034fa5Smrg test -d "$1/."; 55732034fa5Smrg else 55832034fa5Smrg case $1 in 55932034fa5Smrg -*)set "./$1";; 56032034fa5Smrg esac; 56132034fa5Smrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 56232034fa5Smrg ???[sx]*):;;*)false;;esac;fi 56332034fa5Smrg '\'' sh 56432034fa5Smrg ' 56532034fa5Smrgfi 56632034fa5Smrgas_executable_p=$as_test_x 5674ecf19b2Smrg 5684ecf19b2Smrg# Sed expression to map a string onto a valid CPP name. 5694ecf19b2Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5704ecf19b2Smrg 5714ecf19b2Smrg# Sed expression to map a string onto a valid variable name. 5724ecf19b2Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5734ecf19b2Smrg 5744ecf19b2Smrg 5754ecf19b2Smrg 57632034fa5Smrgexec 7<&0 </dev/null 6>&1 5774ecf19b2Smrg 5784ecf19b2Smrg# Name of the host. 5794ecf19b2Smrg# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 5804ecf19b2Smrg# so uname gets run too. 5814ecf19b2Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 5824ecf19b2Smrg 5834ecf19b2Smrg# 5844ecf19b2Smrg# Initializations. 5854ecf19b2Smrg# 5864ecf19b2Smrgac_default_prefix=/usr/local 58732034fa5Smrgac_clean_files= 5884ecf19b2Smrgac_config_libobj_dir=. 58932034fa5SmrgLIBOBJS= 5904ecf19b2Smrgcross_compiling=no 5914ecf19b2Smrgsubdirs= 5924ecf19b2SmrgMFLAGS= 5934ecf19b2SmrgMAKEFLAGS= 5944ecf19b2SmrgSHELL=${CONFIG_SHELL-/bin/sh} 5954ecf19b2Smrg 5964ecf19b2Smrg# Identity of this package. 5974ecf19b2SmrgPACKAGE_NAME='font-adobe-75dpi' 5984ecf19b2SmrgPACKAGE_TARNAME='font-adobe-75dpi' 59932034fa5SmrgPACKAGE_VERSION='1.0.1' 60032034fa5SmrgPACKAGE_STRING='font-adobe-75dpi 1.0.1' 6014ecf19b2SmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 6024ecf19b2Smrg 60332034fa5Smrg# Factoring default headers for most tests. 60432034fa5Smrgac_includes_default="\ 60532034fa5Smrg#include <stdio.h> 60632034fa5Smrg#ifdef HAVE_SYS_TYPES_H 60732034fa5Smrg# include <sys/types.h> 60832034fa5Smrg#endif 60932034fa5Smrg#ifdef HAVE_SYS_STAT_H 61032034fa5Smrg# include <sys/stat.h> 61132034fa5Smrg#endif 61232034fa5Smrg#ifdef STDC_HEADERS 61332034fa5Smrg# include <stdlib.h> 61432034fa5Smrg# include <stddef.h> 61532034fa5Smrg#else 61632034fa5Smrg# ifdef HAVE_STDLIB_H 61732034fa5Smrg# include <stdlib.h> 61832034fa5Smrg# endif 61932034fa5Smrg#endif 62032034fa5Smrg#ifdef HAVE_STRING_H 62132034fa5Smrg# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 62232034fa5Smrg# include <memory.h> 62332034fa5Smrg# endif 62432034fa5Smrg# include <string.h> 62532034fa5Smrg#endif 62632034fa5Smrg#ifdef HAVE_STRINGS_H 62732034fa5Smrg# include <strings.h> 62832034fa5Smrg#endif 62932034fa5Smrg#ifdef HAVE_INTTYPES_H 63032034fa5Smrg# include <inttypes.h> 63132034fa5Smrg#endif 63232034fa5Smrg#ifdef HAVE_STDINT_H 63332034fa5Smrg# include <stdint.h> 63432034fa5Smrg#endif 63532034fa5Smrg#ifdef HAVE_UNISTD_H 63632034fa5Smrg# include <unistd.h> 63732034fa5Smrg#endif" 63832034fa5Smrg 63932034fa5Smrgac_subst_vars='am__EXEEXT_FALSE 64032034fa5Smrgam__EXEEXT_TRUE 64132034fa5SmrgLTLIBOBJS 64232034fa5SmrgLIBOBJS 64332034fa5SmrgISO8859_15_FALSE 64432034fa5SmrgISO8859_15_TRUE 64532034fa5SmrgISO8859_14_FALSE 64632034fa5SmrgISO8859_14_TRUE 64732034fa5SmrgISO8859_13_FALSE 64832034fa5SmrgISO8859_13_TRUE 64932034fa5SmrgISO8859_10_FALSE 65032034fa5SmrgISO8859_10_TRUE 65132034fa5SmrgISO8859_9_FALSE 65232034fa5SmrgISO8859_9_TRUE 65332034fa5SmrgISO8859_4_FALSE 65432034fa5SmrgISO8859_4_TRUE 65532034fa5SmrgISO8859_3_FALSE 65632034fa5SmrgISO8859_3_TRUE 65732034fa5SmrgISO8859_2_FALSE 65832034fa5SmrgISO8859_2_TRUE 65932034fa5SmrgISO8859_1_FALSE 66032034fa5SmrgISO8859_1_TRUE 66132034fa5SmrgMAPFILES_PATH 66232034fa5SmrgMAPS_LIBS 66332034fa5SmrgMAPS_CFLAGS 66432034fa5SmrgUCS2ANY 66532034fa5SmrgCOMPRESS_SUFFIX 66632034fa5SmrgCOMPRESS 66732034fa5SmrgBDFTOPCF 66832034fa5SmrgMKFONTDIR 66932034fa5SmrgRUN_FCCACHE 67032034fa5SmrgFCCACHE 67132034fa5SmrgFONTDIR 67232034fa5SmrgFONTROOTDIR 67332034fa5SmrgPKG_CONFIG 67432034fa5SmrgADMIN_MAN_DIR 67532034fa5SmrgDRIVER_MAN_DIR 67632034fa5SmrgMISC_MAN_DIR 67732034fa5SmrgFILE_MAN_DIR 67832034fa5SmrgLIB_MAN_DIR 67932034fa5SmrgAPP_MAN_DIR 68032034fa5SmrgADMIN_MAN_SUFFIX 68132034fa5SmrgDRIVER_MAN_SUFFIX 68232034fa5SmrgMISC_MAN_SUFFIX 68332034fa5SmrgFILE_MAN_SUFFIX 68432034fa5SmrgLIB_MAN_SUFFIX 68532034fa5SmrgAPP_MAN_SUFFIX 68632034fa5Smrghost_os 68732034fa5Smrghost_vendor 68832034fa5Smrghost_cpu 68932034fa5Smrghost 69032034fa5Smrgbuild_os 69132034fa5Smrgbuild_vendor 69232034fa5Smrgbuild_cpu 69332034fa5Smrgbuild 69432034fa5Smrgdistcleancheck_listfiles 69532034fa5SmrgCHANGELOG_CMD 69632034fa5SmrgAM_BACKSLASH 69732034fa5SmrgAM_DEFAULT_VERBOSITY 69832034fa5SmrgCWARNFLAGS 69932034fa5SmrgEGREP 70032034fa5SmrgGREP 70132034fa5SmrgCPP 70232034fa5Smrgam__fastdepCC_FALSE 70332034fa5Smrgam__fastdepCC_TRUE 70432034fa5SmrgCCDEPMODE 70532034fa5SmrgAMDEPBACKSLASH 70632034fa5SmrgAMDEP_FALSE 70732034fa5SmrgAMDEP_TRUE 70832034fa5Smrgam__quote 70932034fa5Smrgam__include 71032034fa5SmrgDEPDIR 71132034fa5SmrgOBJEXT 71232034fa5SmrgEXEEXT 71332034fa5Smrgac_ct_CC 71432034fa5SmrgCPPFLAGS 71532034fa5SmrgLDFLAGS 71632034fa5SmrgCFLAGS 71732034fa5SmrgCC 71832034fa5SmrgMAINT 71932034fa5SmrgMAINTAINER_MODE_FALSE 72032034fa5SmrgMAINTAINER_MODE_TRUE 72132034fa5Smrgam__untar 72232034fa5Smrgam__tar 72332034fa5SmrgAMTAR 72432034fa5Smrgam__leading_dot 72532034fa5SmrgSET_MAKE 72632034fa5SmrgAWK 72732034fa5Smrgmkdir_p 72832034fa5SmrgMKDIR_P 72932034fa5SmrgINSTALL_STRIP_PROGRAM 73032034fa5SmrgSTRIP 73132034fa5Smrginstall_sh 73232034fa5SmrgMAKEINFO 73332034fa5SmrgAUTOHEADER 73432034fa5SmrgAUTOMAKE 73532034fa5SmrgAUTOCONF 73632034fa5SmrgACLOCAL 73732034fa5SmrgVERSION 73832034fa5SmrgPACKAGE 73932034fa5SmrgCYGPATH_W 74032034fa5Smrgam__isrc 74132034fa5SmrgINSTALL_DATA 74232034fa5SmrgINSTALL_SCRIPT 74332034fa5SmrgINSTALL_PROGRAM 74432034fa5Smrgtarget_alias 74532034fa5Smrghost_alias 74632034fa5Smrgbuild_alias 74732034fa5SmrgLIBS 74832034fa5SmrgECHO_T 74932034fa5SmrgECHO_N 75032034fa5SmrgECHO_C 75132034fa5SmrgDEFS 75232034fa5Smrgmandir 75332034fa5Smrglocaledir 75432034fa5Smrglibdir 75532034fa5Smrgpsdir 75632034fa5Smrgpdfdir 75732034fa5Smrgdvidir 75832034fa5Smrghtmldir 75932034fa5Smrginfodir 76032034fa5Smrgdocdir 76132034fa5Smrgoldincludedir 76232034fa5Smrgincludedir 76332034fa5Smrglocalstatedir 76432034fa5Smrgsharedstatedir 76532034fa5Smrgsysconfdir 76632034fa5Smrgdatadir 76732034fa5Smrgdatarootdir 76832034fa5Smrglibexecdir 76932034fa5Smrgsbindir 77032034fa5Smrgbindir 77132034fa5Smrgprogram_transform_name 77232034fa5Smrgprefix 77332034fa5Smrgexec_prefix 77432034fa5SmrgPACKAGE_BUGREPORT 77532034fa5SmrgPACKAGE_STRING 77632034fa5SmrgPACKAGE_VERSION 77732034fa5SmrgPACKAGE_TARNAME 77832034fa5SmrgPACKAGE_NAME 77932034fa5SmrgPATH_SEPARATOR 78032034fa5SmrgSHELL' 7814ecf19b2Smrgac_subst_files='' 78232034fa5Smrgac_user_opts=' 78332034fa5Smrgenable_option_checking 78432034fa5Smrgenable_maintainer_mode 78532034fa5Smrgenable_dependency_tracking 78632034fa5Smrgenable_silent_rules 78732034fa5Smrgenable_strict_compilation 78832034fa5Smrgwith_release_version 78932034fa5Smrgwith_fontrootdir 79032034fa5Smrgwith_fontdir 79132034fa5Smrgwith_compression 79232034fa5Smrgenable_iso8859_1 79332034fa5Smrgenable_iso8859_2 79432034fa5Smrgenable_iso8859_3 79532034fa5Smrgenable_iso8859_4 79632034fa5Smrgenable_iso8859_9 79732034fa5Smrgenable_iso8859_10 79832034fa5Smrgenable_iso8859_13 79932034fa5Smrgenable_iso8859_14 80032034fa5Smrgenable_iso8859_15 80132034fa5Smrg' 80232034fa5Smrg ac_precious_vars='build_alias 80332034fa5Smrghost_alias 80432034fa5Smrgtarget_alias 80532034fa5SmrgCC 80632034fa5SmrgCFLAGS 80732034fa5SmrgLDFLAGS 80832034fa5SmrgLIBS 80932034fa5SmrgCPPFLAGS 81032034fa5SmrgCPP 81132034fa5SmrgPKG_CONFIG 81232034fa5SmrgMAPS_CFLAGS 81332034fa5SmrgMAPS_LIBS' 81432034fa5Smrg 8154ecf19b2Smrg 8164ecf19b2Smrg# Initialize some variables set by options. 8174ecf19b2Smrgac_init_help= 8184ecf19b2Smrgac_init_version=false 81932034fa5Smrgac_unrecognized_opts= 82032034fa5Smrgac_unrecognized_sep= 8214ecf19b2Smrg# The variables have the same names as the options, with 8224ecf19b2Smrg# dashes changed to underlines. 8234ecf19b2Smrgcache_file=/dev/null 8244ecf19b2Smrgexec_prefix=NONE 8254ecf19b2Smrgno_create= 8264ecf19b2Smrgno_recursion= 8274ecf19b2Smrgprefix=NONE 8284ecf19b2Smrgprogram_prefix=NONE 8294ecf19b2Smrgprogram_suffix=NONE 8304ecf19b2Smrgprogram_transform_name=s,x,x, 8314ecf19b2Smrgsilent= 8324ecf19b2Smrgsite= 8334ecf19b2Smrgsrcdir= 8344ecf19b2Smrgverbose= 8354ecf19b2Smrgx_includes=NONE 8364ecf19b2Smrgx_libraries=NONE 8374ecf19b2Smrg 8384ecf19b2Smrg# Installation directory options. 8394ecf19b2Smrg# These are left unexpanded so users can "make install exec_prefix=/foo" 8404ecf19b2Smrg# and all the variables that are supposed to be based on exec_prefix 8414ecf19b2Smrg# by default will actually change. 8424ecf19b2Smrg# Use braces instead of parens because sh, perl, etc. also accept them. 84332034fa5Smrg# (The list follows the same order as the GNU Coding Standards.) 8444ecf19b2Smrgbindir='${exec_prefix}/bin' 8454ecf19b2Smrgsbindir='${exec_prefix}/sbin' 8464ecf19b2Smrglibexecdir='${exec_prefix}/libexec' 84732034fa5Smrgdatarootdir='${prefix}/share' 84832034fa5Smrgdatadir='${datarootdir}' 8494ecf19b2Smrgsysconfdir='${prefix}/etc' 8504ecf19b2Smrgsharedstatedir='${prefix}/com' 8514ecf19b2Smrglocalstatedir='${prefix}/var' 8524ecf19b2Smrgincludedir='${prefix}/include' 8534ecf19b2Smrgoldincludedir='/usr/include' 85432034fa5Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 85532034fa5Smrginfodir='${datarootdir}/info' 85632034fa5Smrghtmldir='${docdir}' 85732034fa5Smrgdvidir='${docdir}' 85832034fa5Smrgpdfdir='${docdir}' 85932034fa5Smrgpsdir='${docdir}' 86032034fa5Smrglibdir='${exec_prefix}/lib' 86132034fa5Smrglocaledir='${datarootdir}/locale' 86232034fa5Smrgmandir='${datarootdir}/man' 8634ecf19b2Smrg 8644ecf19b2Smrgac_prev= 86532034fa5Smrgac_dashdash= 8664ecf19b2Smrgfor ac_option 8674ecf19b2Smrgdo 8684ecf19b2Smrg # If the previous option needs an argument, assign it. 8694ecf19b2Smrg if test -n "$ac_prev"; then 87032034fa5Smrg eval $ac_prev=\$ac_option 8714ecf19b2Smrg ac_prev= 8724ecf19b2Smrg continue 8734ecf19b2Smrg fi 8744ecf19b2Smrg 87532034fa5Smrg case $ac_option in 87632034fa5Smrg *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 87732034fa5Smrg *) ac_optarg=yes ;; 87832034fa5Smrg esac 8794ecf19b2Smrg 8804ecf19b2Smrg # Accept the important Cygnus configure options, so we can diagnose typos. 8814ecf19b2Smrg 88232034fa5Smrg case $ac_dashdash$ac_option in 88332034fa5Smrg --) 88432034fa5Smrg ac_dashdash=yes ;; 8854ecf19b2Smrg 8864ecf19b2Smrg -bindir | --bindir | --bindi | --bind | --bin | --bi) 8874ecf19b2Smrg ac_prev=bindir ;; 8884ecf19b2Smrg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 8894ecf19b2Smrg bindir=$ac_optarg ;; 8904ecf19b2Smrg 8914ecf19b2Smrg -build | --build | --buil | --bui | --bu) 8924ecf19b2Smrg ac_prev=build_alias ;; 8934ecf19b2Smrg -build=* | --build=* | --buil=* | --bui=* | --bu=*) 8944ecf19b2Smrg build_alias=$ac_optarg ;; 8954ecf19b2Smrg 8964ecf19b2Smrg -cache-file | --cache-file | --cache-fil | --cache-fi \ 8974ecf19b2Smrg | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 8984ecf19b2Smrg ac_prev=cache_file ;; 8994ecf19b2Smrg -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 9004ecf19b2Smrg | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 9014ecf19b2Smrg cache_file=$ac_optarg ;; 9024ecf19b2Smrg 9034ecf19b2Smrg --config-cache | -C) 9044ecf19b2Smrg cache_file=config.cache ;; 9054ecf19b2Smrg 90632034fa5Smrg -datadir | --datadir | --datadi | --datad) 9074ecf19b2Smrg ac_prev=datadir ;; 90832034fa5Smrg -datadir=* | --datadir=* | --datadi=* | --datad=*) 9094ecf19b2Smrg datadir=$ac_optarg ;; 9104ecf19b2Smrg 91132034fa5Smrg -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 91232034fa5Smrg | --dataroo | --dataro | --datar) 91332034fa5Smrg ac_prev=datarootdir ;; 91432034fa5Smrg -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 91532034fa5Smrg | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 91632034fa5Smrg datarootdir=$ac_optarg ;; 91732034fa5Smrg 9184ecf19b2Smrg -disable-* | --disable-*) 91932034fa5Smrg ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 9204ecf19b2Smrg # Reject names that are not valid shell variable names. 92132034fa5Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 92232034fa5Smrg { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 9234ecf19b2Smrg { (exit 1); exit 1; }; } 92432034fa5Smrg ac_useropt_orig=$ac_useropt 92532034fa5Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 92632034fa5Smrg case $ac_user_opts in 92732034fa5Smrg *" 92832034fa5Smrg"enable_$ac_useropt" 92932034fa5Smrg"*) ;; 93032034fa5Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 93132034fa5Smrg ac_unrecognized_sep=', ';; 93232034fa5Smrg esac 93332034fa5Smrg eval enable_$ac_useropt=no ;; 93432034fa5Smrg 93532034fa5Smrg -docdir | --docdir | --docdi | --doc | --do) 93632034fa5Smrg ac_prev=docdir ;; 93732034fa5Smrg -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 93832034fa5Smrg docdir=$ac_optarg ;; 93932034fa5Smrg 94032034fa5Smrg -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 94132034fa5Smrg ac_prev=dvidir ;; 94232034fa5Smrg -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 94332034fa5Smrg dvidir=$ac_optarg ;; 9444ecf19b2Smrg 9454ecf19b2Smrg -enable-* | --enable-*) 94632034fa5Smrg ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 9474ecf19b2Smrg # Reject names that are not valid shell variable names. 94832034fa5Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 94932034fa5Smrg { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 9504ecf19b2Smrg { (exit 1); exit 1; }; } 95132034fa5Smrg ac_useropt_orig=$ac_useropt 95232034fa5Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 95332034fa5Smrg case $ac_user_opts in 95432034fa5Smrg *" 95532034fa5Smrg"enable_$ac_useropt" 95632034fa5Smrg"*) ;; 95732034fa5Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 95832034fa5Smrg ac_unrecognized_sep=', ';; 9594ecf19b2Smrg esac 96032034fa5Smrg eval enable_$ac_useropt=\$ac_optarg ;; 9614ecf19b2Smrg 9624ecf19b2Smrg -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 9634ecf19b2Smrg | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 9644ecf19b2Smrg | --exec | --exe | --ex) 9654ecf19b2Smrg ac_prev=exec_prefix ;; 9664ecf19b2Smrg -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 9674ecf19b2Smrg | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 9684ecf19b2Smrg | --exec=* | --exe=* | --ex=*) 9694ecf19b2Smrg exec_prefix=$ac_optarg ;; 9704ecf19b2Smrg 9714ecf19b2Smrg -gas | --gas | --ga | --g) 9724ecf19b2Smrg # Obsolete; use --with-gas. 9734ecf19b2Smrg with_gas=yes ;; 9744ecf19b2Smrg 9754ecf19b2Smrg -help | --help | --hel | --he | -h) 9764ecf19b2Smrg ac_init_help=long ;; 9774ecf19b2Smrg -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 9784ecf19b2Smrg ac_init_help=recursive ;; 9794ecf19b2Smrg -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 9804ecf19b2Smrg ac_init_help=short ;; 9814ecf19b2Smrg 9824ecf19b2Smrg -host | --host | --hos | --ho) 9834ecf19b2Smrg ac_prev=host_alias ;; 9844ecf19b2Smrg -host=* | --host=* | --hos=* | --ho=*) 9854ecf19b2Smrg host_alias=$ac_optarg ;; 9864ecf19b2Smrg 98732034fa5Smrg -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 98832034fa5Smrg ac_prev=htmldir ;; 98932034fa5Smrg -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 99032034fa5Smrg | --ht=*) 99132034fa5Smrg htmldir=$ac_optarg ;; 99232034fa5Smrg 9934ecf19b2Smrg -includedir | --includedir | --includedi | --included | --include \ 9944ecf19b2Smrg | --includ | --inclu | --incl | --inc) 9954ecf19b2Smrg ac_prev=includedir ;; 9964ecf19b2Smrg -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 9974ecf19b2Smrg | --includ=* | --inclu=* | --incl=* | --inc=*) 9984ecf19b2Smrg includedir=$ac_optarg ;; 9994ecf19b2Smrg 10004ecf19b2Smrg -infodir | --infodir | --infodi | --infod | --info | --inf) 10014ecf19b2Smrg ac_prev=infodir ;; 10024ecf19b2Smrg -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 10034ecf19b2Smrg infodir=$ac_optarg ;; 10044ecf19b2Smrg 10054ecf19b2Smrg -libdir | --libdir | --libdi | --libd) 10064ecf19b2Smrg ac_prev=libdir ;; 10074ecf19b2Smrg -libdir=* | --libdir=* | --libdi=* | --libd=*) 10084ecf19b2Smrg libdir=$ac_optarg ;; 10094ecf19b2Smrg 10104ecf19b2Smrg -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 10114ecf19b2Smrg | --libexe | --libex | --libe) 10124ecf19b2Smrg ac_prev=libexecdir ;; 10134ecf19b2Smrg -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 10144ecf19b2Smrg | --libexe=* | --libex=* | --libe=*) 10154ecf19b2Smrg libexecdir=$ac_optarg ;; 10164ecf19b2Smrg 101732034fa5Smrg -localedir | --localedir | --localedi | --localed | --locale) 101832034fa5Smrg ac_prev=localedir ;; 101932034fa5Smrg -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 102032034fa5Smrg localedir=$ac_optarg ;; 102132034fa5Smrg 10224ecf19b2Smrg -localstatedir | --localstatedir | --localstatedi | --localstated \ 102332034fa5Smrg | --localstate | --localstat | --localsta | --localst | --locals) 10244ecf19b2Smrg ac_prev=localstatedir ;; 10254ecf19b2Smrg -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 102632034fa5Smrg | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 10274ecf19b2Smrg localstatedir=$ac_optarg ;; 10284ecf19b2Smrg 10294ecf19b2Smrg -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 10304ecf19b2Smrg ac_prev=mandir ;; 10314ecf19b2Smrg -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 10324ecf19b2Smrg mandir=$ac_optarg ;; 10334ecf19b2Smrg 10344ecf19b2Smrg -nfp | --nfp | --nf) 10354ecf19b2Smrg # Obsolete; use --without-fp. 10364ecf19b2Smrg with_fp=no ;; 10374ecf19b2Smrg 10384ecf19b2Smrg -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 10394ecf19b2Smrg | --no-cr | --no-c | -n) 10404ecf19b2Smrg no_create=yes ;; 10414ecf19b2Smrg 10424ecf19b2Smrg -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 10434ecf19b2Smrg | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 10444ecf19b2Smrg no_recursion=yes ;; 10454ecf19b2Smrg 10464ecf19b2Smrg -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 10474ecf19b2Smrg | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 10484ecf19b2Smrg | --oldin | --oldi | --old | --ol | --o) 10494ecf19b2Smrg ac_prev=oldincludedir ;; 10504ecf19b2Smrg -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 10514ecf19b2Smrg | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 10524ecf19b2Smrg | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 10534ecf19b2Smrg oldincludedir=$ac_optarg ;; 10544ecf19b2Smrg 10554ecf19b2Smrg -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 10564ecf19b2Smrg ac_prev=prefix ;; 10574ecf19b2Smrg -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 10584ecf19b2Smrg prefix=$ac_optarg ;; 10594ecf19b2Smrg 10604ecf19b2Smrg -program-prefix | --program-prefix | --program-prefi | --program-pref \ 10614ecf19b2Smrg | --program-pre | --program-pr | --program-p) 10624ecf19b2Smrg ac_prev=program_prefix ;; 10634ecf19b2Smrg -program-prefix=* | --program-prefix=* | --program-prefi=* \ 10644ecf19b2Smrg | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 10654ecf19b2Smrg program_prefix=$ac_optarg ;; 10664ecf19b2Smrg 10674ecf19b2Smrg -program-suffix | --program-suffix | --program-suffi | --program-suff \ 10684ecf19b2Smrg | --program-suf | --program-su | --program-s) 10694ecf19b2Smrg ac_prev=program_suffix ;; 10704ecf19b2Smrg -program-suffix=* | --program-suffix=* | --program-suffi=* \ 10714ecf19b2Smrg | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 10724ecf19b2Smrg program_suffix=$ac_optarg ;; 10734ecf19b2Smrg 10744ecf19b2Smrg -program-transform-name | --program-transform-name \ 10754ecf19b2Smrg | --program-transform-nam | --program-transform-na \ 10764ecf19b2Smrg | --program-transform-n | --program-transform- \ 10774ecf19b2Smrg | --program-transform | --program-transfor \ 10784ecf19b2Smrg | --program-transfo | --program-transf \ 10794ecf19b2Smrg | --program-trans | --program-tran \ 10804ecf19b2Smrg | --progr-tra | --program-tr | --program-t) 10814ecf19b2Smrg ac_prev=program_transform_name ;; 10824ecf19b2Smrg -program-transform-name=* | --program-transform-name=* \ 10834ecf19b2Smrg | --program-transform-nam=* | --program-transform-na=* \ 10844ecf19b2Smrg | --program-transform-n=* | --program-transform-=* \ 10854ecf19b2Smrg | --program-transform=* | --program-transfor=* \ 10864ecf19b2Smrg | --program-transfo=* | --program-transf=* \ 10874ecf19b2Smrg | --program-trans=* | --program-tran=* \ 10884ecf19b2Smrg | --progr-tra=* | --program-tr=* | --program-t=*) 10894ecf19b2Smrg program_transform_name=$ac_optarg ;; 10904ecf19b2Smrg 109132034fa5Smrg -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 109232034fa5Smrg ac_prev=pdfdir ;; 109332034fa5Smrg -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 109432034fa5Smrg pdfdir=$ac_optarg ;; 109532034fa5Smrg 109632034fa5Smrg -psdir | --psdir | --psdi | --psd | --ps) 109732034fa5Smrg ac_prev=psdir ;; 109832034fa5Smrg -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 109932034fa5Smrg psdir=$ac_optarg ;; 110032034fa5Smrg 11014ecf19b2Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 11024ecf19b2Smrg | -silent | --silent | --silen | --sile | --sil) 11034ecf19b2Smrg silent=yes ;; 11044ecf19b2Smrg 11054ecf19b2Smrg -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 11064ecf19b2Smrg ac_prev=sbindir ;; 11074ecf19b2Smrg -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 11084ecf19b2Smrg | --sbi=* | --sb=*) 11094ecf19b2Smrg sbindir=$ac_optarg ;; 11104ecf19b2Smrg 11114ecf19b2Smrg -sharedstatedir | --sharedstatedir | --sharedstatedi \ 11124ecf19b2Smrg | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 11134ecf19b2Smrg | --sharedst | --shareds | --shared | --share | --shar \ 11144ecf19b2Smrg | --sha | --sh) 11154ecf19b2Smrg ac_prev=sharedstatedir ;; 11164ecf19b2Smrg -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 11174ecf19b2Smrg | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 11184ecf19b2Smrg | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 11194ecf19b2Smrg | --sha=* | --sh=*) 11204ecf19b2Smrg sharedstatedir=$ac_optarg ;; 11214ecf19b2Smrg 11224ecf19b2Smrg -site | --site | --sit) 11234ecf19b2Smrg ac_prev=site ;; 11244ecf19b2Smrg -site=* | --site=* | --sit=*) 11254ecf19b2Smrg site=$ac_optarg ;; 11264ecf19b2Smrg 11274ecf19b2Smrg -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 11284ecf19b2Smrg ac_prev=srcdir ;; 11294ecf19b2Smrg -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 11304ecf19b2Smrg srcdir=$ac_optarg ;; 11314ecf19b2Smrg 11324ecf19b2Smrg -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 11334ecf19b2Smrg | --syscon | --sysco | --sysc | --sys | --sy) 11344ecf19b2Smrg ac_prev=sysconfdir ;; 11354ecf19b2Smrg -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 11364ecf19b2Smrg | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 11374ecf19b2Smrg sysconfdir=$ac_optarg ;; 11384ecf19b2Smrg 11394ecf19b2Smrg -target | --target | --targe | --targ | --tar | --ta | --t) 11404ecf19b2Smrg ac_prev=target_alias ;; 11414ecf19b2Smrg -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 11424ecf19b2Smrg target_alias=$ac_optarg ;; 11434ecf19b2Smrg 11444ecf19b2Smrg -v | -verbose | --verbose | --verbos | --verbo | --verb) 11454ecf19b2Smrg verbose=yes ;; 11464ecf19b2Smrg 11474ecf19b2Smrg -version | --version | --versio | --versi | --vers | -V) 11484ecf19b2Smrg ac_init_version=: ;; 11494ecf19b2Smrg 11504ecf19b2Smrg -with-* | --with-*) 115132034fa5Smrg ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 11524ecf19b2Smrg # Reject names that are not valid shell variable names. 115332034fa5Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 115432034fa5Smrg { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 11554ecf19b2Smrg { (exit 1); exit 1; }; } 115632034fa5Smrg ac_useropt_orig=$ac_useropt 115732034fa5Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 115832034fa5Smrg case $ac_user_opts in 115932034fa5Smrg *" 116032034fa5Smrg"with_$ac_useropt" 116132034fa5Smrg"*) ;; 116232034fa5Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 116332034fa5Smrg ac_unrecognized_sep=', ';; 11644ecf19b2Smrg esac 116532034fa5Smrg eval with_$ac_useropt=\$ac_optarg ;; 11664ecf19b2Smrg 11674ecf19b2Smrg -without-* | --without-*) 116832034fa5Smrg ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 11694ecf19b2Smrg # Reject names that are not valid shell variable names. 117032034fa5Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 117132034fa5Smrg { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 11724ecf19b2Smrg { (exit 1); exit 1; }; } 117332034fa5Smrg ac_useropt_orig=$ac_useropt 117432034fa5Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 117532034fa5Smrg case $ac_user_opts in 117632034fa5Smrg *" 117732034fa5Smrg"with_$ac_useropt" 117832034fa5Smrg"*) ;; 117932034fa5Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 118032034fa5Smrg ac_unrecognized_sep=', ';; 118132034fa5Smrg esac 118232034fa5Smrg eval with_$ac_useropt=no ;; 11834ecf19b2Smrg 11844ecf19b2Smrg --x) 11854ecf19b2Smrg # Obsolete; use --with-x. 11864ecf19b2Smrg with_x=yes ;; 11874ecf19b2Smrg 11884ecf19b2Smrg -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 11894ecf19b2Smrg | --x-incl | --x-inc | --x-in | --x-i) 11904ecf19b2Smrg ac_prev=x_includes ;; 11914ecf19b2Smrg -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 11924ecf19b2Smrg | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 11934ecf19b2Smrg x_includes=$ac_optarg ;; 11944ecf19b2Smrg 11954ecf19b2Smrg -x-libraries | --x-libraries | --x-librarie | --x-librari \ 11964ecf19b2Smrg | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 11974ecf19b2Smrg ac_prev=x_libraries ;; 11984ecf19b2Smrg -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 11994ecf19b2Smrg | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 12004ecf19b2Smrg x_libraries=$ac_optarg ;; 12014ecf19b2Smrg 120232034fa5Smrg -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 12034ecf19b2SmrgTry \`$0 --help' for more information." >&2 12044ecf19b2Smrg { (exit 1); exit 1; }; } 12054ecf19b2Smrg ;; 12064ecf19b2Smrg 12074ecf19b2Smrg *=*) 12084ecf19b2Smrg ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 12094ecf19b2Smrg # Reject names that are not valid shell variable names. 12104ecf19b2Smrg expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 121132034fa5Smrg { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 12124ecf19b2Smrg { (exit 1); exit 1; }; } 121332034fa5Smrg eval $ac_envvar=\$ac_optarg 12144ecf19b2Smrg export $ac_envvar ;; 12154ecf19b2Smrg 12164ecf19b2Smrg *) 12174ecf19b2Smrg # FIXME: should be removed in autoconf 3.0. 121832034fa5Smrg $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 12194ecf19b2Smrg expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 122032034fa5Smrg $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 12214ecf19b2Smrg : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 12224ecf19b2Smrg ;; 12234ecf19b2Smrg 12244ecf19b2Smrg esac 12254ecf19b2Smrgdone 12264ecf19b2Smrg 12274ecf19b2Smrgif test -n "$ac_prev"; then 12284ecf19b2Smrg ac_option=--`echo $ac_prev | sed 's/_/-/g'` 122932034fa5Smrg { $as_echo "$as_me: error: missing argument to $ac_option" >&2 12304ecf19b2Smrg { (exit 1); exit 1; }; } 12314ecf19b2Smrgfi 12324ecf19b2Smrg 123332034fa5Smrgif test -n "$ac_unrecognized_opts"; then 123432034fa5Smrg case $enable_option_checking in 123532034fa5Smrg no) ;; 123632034fa5Smrg fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 123732034fa5Smrg { (exit 1); exit 1; }; } ;; 123832034fa5Smrg *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 12394ecf19b2Smrg esac 124032034fa5Smrgfi 12414ecf19b2Smrg 124232034fa5Smrg# Check all directory arguments for consistency. 124332034fa5Smrgfor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 124432034fa5Smrg datadir sysconfdir sharedstatedir localstatedir includedir \ 124532034fa5Smrg oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 124632034fa5Smrg libdir localedir mandir 12474ecf19b2Smrgdo 124832034fa5Smrg eval ac_val=\$$ac_var 124932034fa5Smrg # Remove trailing slashes. 12504ecf19b2Smrg case $ac_val in 125132034fa5Smrg */ ) 125232034fa5Smrg ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 125332034fa5Smrg eval $ac_var=\$ac_val;; 125432034fa5Smrg esac 125532034fa5Smrg # Be sure to have absolute directory names. 125632034fa5Smrg case $ac_val in 125732034fa5Smrg [\\/$]* | ?:[\\/]* ) continue;; 125832034fa5Smrg NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 12594ecf19b2Smrg esac 126032034fa5Smrg { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 126132034fa5Smrg { (exit 1); exit 1; }; } 12624ecf19b2Smrgdone 12634ecf19b2Smrg 12644ecf19b2Smrg# There might be people who depend on the old broken behavior: `$host' 12654ecf19b2Smrg# used to hold the argument of --host etc. 12664ecf19b2Smrg# FIXME: To remove some day. 12674ecf19b2Smrgbuild=$build_alias 12684ecf19b2Smrghost=$host_alias 12694ecf19b2Smrgtarget=$target_alias 12704ecf19b2Smrg 12714ecf19b2Smrg# FIXME: To remove some day. 12724ecf19b2Smrgif test "x$host_alias" != x; then 12734ecf19b2Smrg if test "x$build_alias" = x; then 12744ecf19b2Smrg cross_compiling=maybe 127532034fa5Smrg $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 12764ecf19b2Smrg If a cross compiler is detected then cross compile mode will be used." >&2 12774ecf19b2Smrg elif test "x$build_alias" != "x$host_alias"; then 12784ecf19b2Smrg cross_compiling=yes 12794ecf19b2Smrg fi 12804ecf19b2Smrgfi 12814ecf19b2Smrg 12824ecf19b2Smrgac_tool_prefix= 12834ecf19b2Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias- 12844ecf19b2Smrg 12854ecf19b2Smrgtest "$silent" = yes && exec 6>/dev/null 12864ecf19b2Smrg 12874ecf19b2Smrg 128832034fa5Smrgac_pwd=`pwd` && test -n "$ac_pwd" && 128932034fa5Smrgac_ls_di=`ls -di .` && 129032034fa5Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 129132034fa5Smrg { $as_echo "$as_me: error: working directory cannot be determined" >&2 129232034fa5Smrg { (exit 1); exit 1; }; } 129332034fa5Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" || 129432034fa5Smrg { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 129532034fa5Smrg { (exit 1); exit 1; }; } 129632034fa5Smrg 129732034fa5Smrg 12984ecf19b2Smrg# Find the source files, if location was not specified. 12994ecf19b2Smrgif test -z "$srcdir"; then 13004ecf19b2Smrg ac_srcdir_defaulted=yes 130132034fa5Smrg # Try the directory containing this script, then the parent directory. 130232034fa5Smrg ac_confdir=`$as_dirname -- "$as_myself" || 130332034fa5Smrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 130432034fa5Smrg X"$as_myself" : 'X\(//\)[^/]' \| \ 130532034fa5Smrg X"$as_myself" : 'X\(//\)$' \| \ 130632034fa5Smrg X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 130732034fa5Smrg$as_echo X"$as_myself" | 130832034fa5Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 130932034fa5Smrg s//\1/ 131032034fa5Smrg q 131132034fa5Smrg } 131232034fa5Smrg /^X\(\/\/\)[^/].*/{ 131332034fa5Smrg s//\1/ 131432034fa5Smrg q 131532034fa5Smrg } 131632034fa5Smrg /^X\(\/\/\)$/{ 131732034fa5Smrg s//\1/ 131832034fa5Smrg q 131932034fa5Smrg } 132032034fa5Smrg /^X\(\/\).*/{ 132132034fa5Smrg s//\1/ 132232034fa5Smrg q 132332034fa5Smrg } 132432034fa5Smrg s/.*/./; q'` 13254ecf19b2Smrg srcdir=$ac_confdir 132632034fa5Smrg if test ! -r "$srcdir/$ac_unique_file"; then 13274ecf19b2Smrg srcdir=.. 13284ecf19b2Smrg fi 13294ecf19b2Smrgelse 13304ecf19b2Smrg ac_srcdir_defaulted=no 13314ecf19b2Smrgfi 133232034fa5Smrgif test ! -r "$srcdir/$ac_unique_file"; then 133332034fa5Smrg test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 133432034fa5Smrg { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 13354ecf19b2Smrg { (exit 1); exit 1; }; } 13364ecf19b2Smrgfi 133732034fa5Smrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 133832034fa5Smrgac_abs_confdir=`( 133932034fa5Smrg cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 13404ecf19b2Smrg { (exit 1); exit 1; }; } 134132034fa5Smrg pwd)` 134232034fa5Smrg# When building in place, set srcdir=. 134332034fa5Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then 134432034fa5Smrg srcdir=. 134532034fa5Smrgfi 134632034fa5Smrg# Remove unnecessary trailing slashes from srcdir. 134732034fa5Smrg# Double slashes in file names in object file debugging info 134832034fa5Smrg# mess up M-x gdb in Emacs. 134932034fa5Smrgcase $srcdir in 135032034fa5Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 135132034fa5Smrgesac 135232034fa5Smrgfor ac_var in $ac_precious_vars; do 135332034fa5Smrg eval ac_env_${ac_var}_set=\${${ac_var}+set} 135432034fa5Smrg eval ac_env_${ac_var}_value=\$${ac_var} 135532034fa5Smrg eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 135632034fa5Smrg eval ac_cv_env_${ac_var}_value=\$${ac_var} 135732034fa5Smrgdone 13584ecf19b2Smrg 13594ecf19b2Smrg# 13604ecf19b2Smrg# Report the --help message. 13614ecf19b2Smrg# 13624ecf19b2Smrgif test "$ac_init_help" = "long"; then 13634ecf19b2Smrg # Omit some internal or obsolete options to make the list less imposing. 13644ecf19b2Smrg # This message is too long to be a string in the A/UX 3.1 sh. 13654ecf19b2Smrg cat <<_ACEOF 136632034fa5Smrg\`configure' configures font-adobe-75dpi 1.0.1 to adapt to many kinds of systems. 13674ecf19b2Smrg 13684ecf19b2SmrgUsage: $0 [OPTION]... [VAR=VALUE]... 13694ecf19b2Smrg 13704ecf19b2SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as 13714ecf19b2SmrgVAR=VALUE. See below for descriptions of some of the useful variables. 13724ecf19b2Smrg 13734ecf19b2SmrgDefaults for the options are specified in brackets. 13744ecf19b2Smrg 13754ecf19b2SmrgConfiguration: 13764ecf19b2Smrg -h, --help display this help and exit 13774ecf19b2Smrg --help=short display options specific to this package 13784ecf19b2Smrg --help=recursive display the short help of all the included packages 13794ecf19b2Smrg -V, --version display version information and exit 13804ecf19b2Smrg -q, --quiet, --silent do not print \`checking...' messages 13814ecf19b2Smrg --cache-file=FILE cache test results in FILE [disabled] 13824ecf19b2Smrg -C, --config-cache alias for \`--cache-file=config.cache' 13834ecf19b2Smrg -n, --no-create do not create output files 13844ecf19b2Smrg --srcdir=DIR find the sources in DIR [configure dir or \`..'] 13854ecf19b2Smrg 13864ecf19b2SmrgInstallation directories: 13874ecf19b2Smrg --prefix=PREFIX install architecture-independent files in PREFIX 138832034fa5Smrg [$ac_default_prefix] 13894ecf19b2Smrg --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 139032034fa5Smrg [PREFIX] 13914ecf19b2Smrg 13924ecf19b2SmrgBy default, \`make install' will install all the files in 13934ecf19b2Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 13944ecf19b2Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix', 13954ecf19b2Smrgfor instance \`--prefix=\$HOME'. 13964ecf19b2Smrg 13974ecf19b2SmrgFor better control, use the options below. 13984ecf19b2Smrg 13994ecf19b2SmrgFine tuning of the installation directories: 140032034fa5Smrg --bindir=DIR user executables [EPREFIX/bin] 140132034fa5Smrg --sbindir=DIR system admin executables [EPREFIX/sbin] 140232034fa5Smrg --libexecdir=DIR program executables [EPREFIX/libexec] 140332034fa5Smrg --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 140432034fa5Smrg --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 140532034fa5Smrg --localstatedir=DIR modifiable single-machine data [PREFIX/var] 140632034fa5Smrg --libdir=DIR object code libraries [EPREFIX/lib] 140732034fa5Smrg --includedir=DIR C header files [PREFIX/include] 140832034fa5Smrg --oldincludedir=DIR C header files for non-gcc [/usr/include] 140932034fa5Smrg --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 141032034fa5Smrg --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 141132034fa5Smrg --infodir=DIR info documentation [DATAROOTDIR/info] 141232034fa5Smrg --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 141332034fa5Smrg --mandir=DIR man documentation [DATAROOTDIR/man] 141432034fa5Smrg --docdir=DIR documentation root 141532034fa5Smrg [DATAROOTDIR/doc/font-adobe-75dpi] 141632034fa5Smrg --htmldir=DIR html documentation [DOCDIR] 141732034fa5Smrg --dvidir=DIR dvi documentation [DOCDIR] 141832034fa5Smrg --pdfdir=DIR pdf documentation [DOCDIR] 141932034fa5Smrg --psdir=DIR ps documentation [DOCDIR] 14204ecf19b2Smrg_ACEOF 14214ecf19b2Smrg 14224ecf19b2Smrg cat <<\_ACEOF 14234ecf19b2Smrg 14244ecf19b2SmrgProgram names: 14254ecf19b2Smrg --program-prefix=PREFIX prepend PREFIX to installed program names 14264ecf19b2Smrg --program-suffix=SUFFIX append SUFFIX to installed program names 14274ecf19b2Smrg --program-transform-name=PROGRAM run sed PROGRAM on installed program names 142832034fa5Smrg 142932034fa5SmrgSystem types: 143032034fa5Smrg --build=BUILD configure for building on BUILD [guessed] 143132034fa5Smrg --host=HOST cross-compile to build programs to run on HOST [BUILD] 14324ecf19b2Smrg_ACEOF 14334ecf19b2Smrgfi 14344ecf19b2Smrg 14354ecf19b2Smrgif test -n "$ac_init_help"; then 14364ecf19b2Smrg case $ac_init_help in 143732034fa5Smrg short | recursive ) echo "Configuration of font-adobe-75dpi 1.0.1:";; 14384ecf19b2Smrg esac 14394ecf19b2Smrg cat <<\_ACEOF 14404ecf19b2Smrg 14414ecf19b2SmrgOptional Features: 144232034fa5Smrg --disable-option-checking ignore unrecognized --enable/--with options 14434ecf19b2Smrg --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 14444ecf19b2Smrg --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 144532034fa5Smrg --enable-maintainer-mode enable make rules and dependencies not useful 144632034fa5Smrg (and sometimes confusing) to the casual installer 144732034fa5Smrg --disable-dependency-tracking speeds up one-time build 144832034fa5Smrg --enable-dependency-tracking do not reject slow dependency extractors 144932034fa5Smrg --enable-silent-rules less verbose build output (undo: `make V=1') 145032034fa5Smrg --disable-silent-rules verbose build output (undo: `make V=0') 145132034fa5Smrg --enable-strict-compilation 145232034fa5Smrg Enable all warnings from compiler and make them 145332034fa5Smrg errors (default: disabled) 14544ecf19b2Smrg --disable-iso8859-1 Build ISO8859-1 fonts (default: yes) 14554ecf19b2Smrg --disable-iso8859-2 Build ISO8859-2 fonts (default: yes) 14564ecf19b2Smrg --disable-iso8859-3 Build ISO8859-3 fonts (default: yes) 14574ecf19b2Smrg --disable-iso8859-4 Build ISO8859-4 fonts (default: yes) 14584ecf19b2Smrg --disable-iso8859-9 Build ISO8859-9 fonts (default: yes) 14594ecf19b2Smrg --disable-iso8859-10 Build ISO8859-10 fonts (default: yes) 14604ecf19b2Smrg --disable-iso8859-13 Build ISO8859-13 fonts (default: yes) 14614ecf19b2Smrg --disable-iso8859-14 Build ISO8859-14 fonts (default: yes) 14624ecf19b2Smrg --disable-iso8859-15 Build ISO8859-15 fonts (default: yes) 14634ecf19b2Smrg 14644ecf19b2SmrgOptional Packages: 14654ecf19b2Smrg --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 14664ecf19b2Smrg --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 14674ecf19b2Smrg --with-release-version=STRING 14684ecf19b2Smrg Use release version string in package name 146932034fa5Smrg --with-fontrootdir=DIR Path to root directory for font files 147032034fa5Smrg --with-fontdir=DIR Path to 75dpi files [FONTROOTDIR/75dpi] 147132034fa5Smrg --with-compression=<no|compress|gzip|bzip2> 147232034fa5Smrg compression method to use on pcf fonts 14734ecf19b2Smrg 14744ecf19b2SmrgSome influential environment variables: 147532034fa5Smrg CC C compiler command 147632034fa5Smrg CFLAGS C compiler flags 147732034fa5Smrg LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 147832034fa5Smrg nonstandard directory <lib dir> 147932034fa5Smrg LIBS libraries to pass to the linker, e.g. -l<library> 148032034fa5Smrg CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 148132034fa5Smrg you have headers in a nonstandard directory <include dir> 148232034fa5Smrg CPP C preprocessor 14834ecf19b2Smrg PKG_CONFIG path to pkg-config utility 14844ecf19b2Smrg MAPS_CFLAGS C compiler flags for MAPS, overriding pkg-config 14854ecf19b2Smrg MAPS_LIBS linker flags for MAPS, overriding pkg-config 14864ecf19b2Smrg 14874ecf19b2SmrgUse these variables to override the choices made by `configure' or to help 14884ecf19b2Smrgit to find libraries and programs with nonstandard names/locations. 14894ecf19b2Smrg 14904ecf19b2SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 14914ecf19b2Smrg_ACEOF 149232034fa5Smrgac_status=$? 14934ecf19b2Smrgfi 14944ecf19b2Smrg 14954ecf19b2Smrgif test "$ac_init_help" = "recursive"; then 14964ecf19b2Smrg # If there are subdirs, report their specific --help. 14974ecf19b2Smrg for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 149832034fa5Smrg test -d "$ac_dir" || 149932034fa5Smrg { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 150032034fa5Smrg continue 15014ecf19b2Smrg ac_builddir=. 15024ecf19b2Smrg 150332034fa5Smrgcase "$ac_dir" in 150432034fa5Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 150532034fa5Smrg*) 150632034fa5Smrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 150732034fa5Smrg # A ".." for each directory in $ac_dir_suffix. 150832034fa5Smrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 150932034fa5Smrg case $ac_top_builddir_sub in 151032034fa5Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 151132034fa5Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 151232034fa5Smrg esac ;; 151332034fa5Smrgesac 151432034fa5Smrgac_abs_top_builddir=$ac_pwd 151532034fa5Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 151632034fa5Smrg# for backward compatibility: 151732034fa5Smrgac_top_builddir=$ac_top_build_prefix 15184ecf19b2Smrg 15194ecf19b2Smrgcase $srcdir in 152032034fa5Smrg .) # We are building in place. 15214ecf19b2Smrg ac_srcdir=. 152232034fa5Smrg ac_top_srcdir=$ac_top_builddir_sub 152332034fa5Smrg ac_abs_top_srcdir=$ac_pwd ;; 152432034fa5Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 15254ecf19b2Smrg ac_srcdir=$srcdir$ac_dir_suffix; 152632034fa5Smrg ac_top_srcdir=$srcdir 152732034fa5Smrg ac_abs_top_srcdir=$srcdir ;; 152832034fa5Smrg *) # Relative name. 152932034fa5Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 153032034fa5Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 153132034fa5Smrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 15324ecf19b2Smrgesac 153332034fa5Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 153432034fa5Smrg 153532034fa5Smrg cd "$ac_dir" || { ac_status=$?; continue; } 153632034fa5Smrg # Check for guested configure. 153732034fa5Smrg if test -f "$ac_srcdir/configure.gnu"; then 153832034fa5Smrg echo && 153932034fa5Smrg $SHELL "$ac_srcdir/configure.gnu" --help=recursive 154032034fa5Smrg elif test -f "$ac_srcdir/configure"; then 154132034fa5Smrg echo && 154232034fa5Smrg $SHELL "$ac_srcdir/configure" --help=recursive 15434ecf19b2Smrg else 154432034fa5Smrg $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 154532034fa5Smrg fi || ac_status=$? 154632034fa5Smrg cd "$ac_pwd" || { ac_status=$?; break; } 15474ecf19b2Smrg done 15484ecf19b2Smrgfi 15494ecf19b2Smrg 155032034fa5Smrgtest -n "$ac_init_help" && exit $ac_status 15514ecf19b2Smrgif $ac_init_version; then 15524ecf19b2Smrg cat <<\_ACEOF 155332034fa5Smrgfont-adobe-75dpi configure 1.0.1 155432034fa5Smrggenerated by GNU Autoconf 2.63 15554ecf19b2Smrg 155632034fa5SmrgCopyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 155732034fa5Smrg2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 15584ecf19b2SmrgThis configure script is free software; the Free Software Foundation 15594ecf19b2Smrggives unlimited permission to copy, distribute and modify it. 15604ecf19b2Smrg_ACEOF 156132034fa5Smrg exit 15624ecf19b2Smrgfi 156332034fa5Smrgcat >config.log <<_ACEOF 15644ecf19b2SmrgThis file contains any messages produced by compilers while 15654ecf19b2Smrgrunning configure, to aid debugging if configure makes a mistake. 15664ecf19b2Smrg 156732034fa5SmrgIt was created by font-adobe-75dpi $as_me 1.0.1, which was 156832034fa5Smrggenerated by GNU Autoconf 2.63. Invocation command line was 15694ecf19b2Smrg 15704ecf19b2Smrg $ $0 $@ 15714ecf19b2Smrg 15724ecf19b2Smrg_ACEOF 157332034fa5Smrgexec 5>>config.log 15744ecf19b2Smrg{ 15754ecf19b2Smrgcat <<_ASUNAME 15764ecf19b2Smrg## --------- ## 15774ecf19b2Smrg## Platform. ## 15784ecf19b2Smrg## --------- ## 15794ecf19b2Smrg 15804ecf19b2Smrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 15814ecf19b2Smrguname -m = `(uname -m) 2>/dev/null || echo unknown` 15824ecf19b2Smrguname -r = `(uname -r) 2>/dev/null || echo unknown` 15834ecf19b2Smrguname -s = `(uname -s) 2>/dev/null || echo unknown` 15844ecf19b2Smrguname -v = `(uname -v) 2>/dev/null || echo unknown` 15854ecf19b2Smrg 15864ecf19b2Smrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 15874ecf19b2Smrg/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 15884ecf19b2Smrg 15894ecf19b2Smrg/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 15904ecf19b2Smrg/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 15914ecf19b2Smrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 159232034fa5Smrg/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 15934ecf19b2Smrg/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 15944ecf19b2Smrg/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 15954ecf19b2Smrg/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 15964ecf19b2Smrg 15974ecf19b2Smrg_ASUNAME 15984ecf19b2Smrg 15994ecf19b2Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16004ecf19b2Smrgfor as_dir in $PATH 16014ecf19b2Smrgdo 16024ecf19b2Smrg IFS=$as_save_IFS 16034ecf19b2Smrg test -z "$as_dir" && as_dir=. 160432034fa5Smrg $as_echo "PATH: $as_dir" 16054ecf19b2Smrgdone 160632034fa5SmrgIFS=$as_save_IFS 16074ecf19b2Smrg 16084ecf19b2Smrg} >&5 16094ecf19b2Smrg 16104ecf19b2Smrgcat >&5 <<_ACEOF 16114ecf19b2Smrg 16124ecf19b2Smrg 16134ecf19b2Smrg## ----------- ## 16144ecf19b2Smrg## Core tests. ## 16154ecf19b2Smrg## ----------- ## 16164ecf19b2Smrg 16174ecf19b2Smrg_ACEOF 16184ecf19b2Smrg 16194ecf19b2Smrg 16204ecf19b2Smrg# Keep a trace of the command line. 16214ecf19b2Smrg# Strip out --no-create and --no-recursion so they do not pile up. 16224ecf19b2Smrg# Strip out --silent because we don't want to record it for future runs. 16234ecf19b2Smrg# Also quote any args containing shell meta-characters. 16244ecf19b2Smrg# Make two passes to allow for proper duplicate-argument suppression. 16254ecf19b2Smrgac_configure_args= 16264ecf19b2Smrgac_configure_args0= 16274ecf19b2Smrgac_configure_args1= 16284ecf19b2Smrgac_must_keep_next=false 16294ecf19b2Smrgfor ac_pass in 1 2 16304ecf19b2Smrgdo 16314ecf19b2Smrg for ac_arg 16324ecf19b2Smrg do 16334ecf19b2Smrg case $ac_arg in 16344ecf19b2Smrg -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 16354ecf19b2Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 16364ecf19b2Smrg | -silent | --silent | --silen | --sile | --sil) 16374ecf19b2Smrg continue ;; 163832034fa5Smrg *\'*) 163932034fa5Smrg ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 16404ecf19b2Smrg esac 16414ecf19b2Smrg case $ac_pass in 16424ecf19b2Smrg 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 16434ecf19b2Smrg 2) 16444ecf19b2Smrg ac_configure_args1="$ac_configure_args1 '$ac_arg'" 16454ecf19b2Smrg if test $ac_must_keep_next = true; then 16464ecf19b2Smrg ac_must_keep_next=false # Got value, back to normal. 16474ecf19b2Smrg else 16484ecf19b2Smrg case $ac_arg in 16494ecf19b2Smrg *=* | --config-cache | -C | -disable-* | --disable-* \ 16504ecf19b2Smrg | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 16514ecf19b2Smrg | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 16524ecf19b2Smrg | -with-* | --with-* | -without-* | --without-* | --x) 16534ecf19b2Smrg case "$ac_configure_args0 " in 16544ecf19b2Smrg "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 16554ecf19b2Smrg esac 16564ecf19b2Smrg ;; 16574ecf19b2Smrg -* ) ac_must_keep_next=true ;; 16584ecf19b2Smrg esac 16594ecf19b2Smrg fi 166032034fa5Smrg ac_configure_args="$ac_configure_args '$ac_arg'" 16614ecf19b2Smrg ;; 16624ecf19b2Smrg esac 16634ecf19b2Smrg done 16644ecf19b2Smrgdone 16654ecf19b2Smrg$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 16664ecf19b2Smrg$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 16674ecf19b2Smrg 16684ecf19b2Smrg# When interrupted or exit'd, cleanup temporary files, and complete 16694ecf19b2Smrg# config.log. We remove comments because anyway the quotes in there 16704ecf19b2Smrg# would cause problems or look ugly. 167132034fa5Smrg# WARNING: Use '\'' to represent an apostrophe within the trap. 167232034fa5Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 16734ecf19b2Smrgtrap 'exit_status=$? 16744ecf19b2Smrg # Save into config.log some information that might help in debugging. 16754ecf19b2Smrg { 16764ecf19b2Smrg echo 16774ecf19b2Smrg 16784ecf19b2Smrg cat <<\_ASBOX 16794ecf19b2Smrg## ---------------- ## 16804ecf19b2Smrg## Cache variables. ## 16814ecf19b2Smrg## ---------------- ## 16824ecf19b2Smrg_ASBOX 16834ecf19b2Smrg echo 16844ecf19b2Smrg # The following way of writing the cache mishandles newlines in values, 168532034fa5Smrg( 168632034fa5Smrg for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 168732034fa5Smrg eval ac_val=\$$ac_var 168832034fa5Smrg case $ac_val in #( 168932034fa5Smrg *${as_nl}*) 169032034fa5Smrg case $ac_var in #( 169132034fa5Smrg *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 169232034fa5Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 169332034fa5Smrg esac 169432034fa5Smrg case $ac_var in #( 169532034fa5Smrg _ | IFS | as_nl) ;; #( 169632034fa5Smrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 169732034fa5Smrg *) $as_unset $ac_var ;; 169832034fa5Smrg esac ;; 169932034fa5Smrg esac 170032034fa5Smrg done 17014ecf19b2Smrg (set) 2>&1 | 170232034fa5Smrg case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 170332034fa5Smrg *${as_nl}ac_space=\ *) 17044ecf19b2Smrg sed -n \ 170532034fa5Smrg "s/'\''/'\''\\\\'\'''\''/g; 170632034fa5Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 170732034fa5Smrg ;; #( 17084ecf19b2Smrg *) 170932034fa5Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 17104ecf19b2Smrg ;; 171132034fa5Smrg esac | 171232034fa5Smrg sort 171332034fa5Smrg) 17144ecf19b2Smrg echo 17154ecf19b2Smrg 17164ecf19b2Smrg cat <<\_ASBOX 17174ecf19b2Smrg## ----------------- ## 17184ecf19b2Smrg## Output variables. ## 17194ecf19b2Smrg## ----------------- ## 17204ecf19b2Smrg_ASBOX 17214ecf19b2Smrg echo 17224ecf19b2Smrg for ac_var in $ac_subst_vars 17234ecf19b2Smrg do 172432034fa5Smrg eval ac_val=\$$ac_var 172532034fa5Smrg case $ac_val in 172632034fa5Smrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 172732034fa5Smrg esac 172832034fa5Smrg $as_echo "$ac_var='\''$ac_val'\''" 17294ecf19b2Smrg done | sort 17304ecf19b2Smrg echo 17314ecf19b2Smrg 17324ecf19b2Smrg if test -n "$ac_subst_files"; then 17334ecf19b2Smrg cat <<\_ASBOX 173432034fa5Smrg## ------------------- ## 173532034fa5Smrg## File substitutions. ## 173632034fa5Smrg## ------------------- ## 17374ecf19b2Smrg_ASBOX 17384ecf19b2Smrg echo 17394ecf19b2Smrg for ac_var in $ac_subst_files 17404ecf19b2Smrg do 174132034fa5Smrg eval ac_val=\$$ac_var 174232034fa5Smrg case $ac_val in 174332034fa5Smrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 174432034fa5Smrg esac 174532034fa5Smrg $as_echo "$ac_var='\''$ac_val'\''" 17464ecf19b2Smrg done | sort 17474ecf19b2Smrg echo 17484ecf19b2Smrg fi 17494ecf19b2Smrg 17504ecf19b2Smrg if test -s confdefs.h; then 17514ecf19b2Smrg cat <<\_ASBOX 17524ecf19b2Smrg## ----------- ## 17534ecf19b2Smrg## confdefs.h. ## 17544ecf19b2Smrg## ----------- ## 17554ecf19b2Smrg_ASBOX 17564ecf19b2Smrg echo 175732034fa5Smrg cat confdefs.h 17584ecf19b2Smrg echo 17594ecf19b2Smrg fi 17604ecf19b2Smrg test "$ac_signal" != 0 && 176132034fa5Smrg $as_echo "$as_me: caught signal $ac_signal" 176232034fa5Smrg $as_echo "$as_me: exit $exit_status" 17634ecf19b2Smrg } >&5 176432034fa5Smrg rm -f core *.core core.conftest.* && 176532034fa5Smrg rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 17664ecf19b2Smrg exit $exit_status 176732034fa5Smrg' 0 17684ecf19b2Smrgfor ac_signal in 1 2 13 15; do 17694ecf19b2Smrg trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 17704ecf19b2Smrgdone 17714ecf19b2Smrgac_signal=0 17724ecf19b2Smrg 17734ecf19b2Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed. 177432034fa5Smrgrm -f -r conftest* confdefs.h 17754ecf19b2Smrg 17764ecf19b2Smrg# Predefined preprocessor variables. 17774ecf19b2Smrg 17784ecf19b2Smrgcat >>confdefs.h <<_ACEOF 17794ecf19b2Smrg#define PACKAGE_NAME "$PACKAGE_NAME" 17804ecf19b2Smrg_ACEOF 17814ecf19b2Smrg 17824ecf19b2Smrg 17834ecf19b2Smrgcat >>confdefs.h <<_ACEOF 17844ecf19b2Smrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 17854ecf19b2Smrg_ACEOF 17864ecf19b2Smrg 17874ecf19b2Smrg 17884ecf19b2Smrgcat >>confdefs.h <<_ACEOF 17894ecf19b2Smrg#define PACKAGE_VERSION "$PACKAGE_VERSION" 17904ecf19b2Smrg_ACEOF 17914ecf19b2Smrg 17924ecf19b2Smrg 17934ecf19b2Smrgcat >>confdefs.h <<_ACEOF 17944ecf19b2Smrg#define PACKAGE_STRING "$PACKAGE_STRING" 17954ecf19b2Smrg_ACEOF 17964ecf19b2Smrg 17974ecf19b2Smrg 17984ecf19b2Smrgcat >>confdefs.h <<_ACEOF 17994ecf19b2Smrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 18004ecf19b2Smrg_ACEOF 18014ecf19b2Smrg 18024ecf19b2Smrg 18034ecf19b2Smrg# Let the site file select an alternate cache file if it wants to. 180432034fa5Smrg# Prefer an explicitly selected file to automatically selected ones. 180532034fa5Smrgac_site_file1=NONE 180632034fa5Smrgac_site_file2=NONE 180732034fa5Smrgif test -n "$CONFIG_SITE"; then 180832034fa5Smrg ac_site_file1=$CONFIG_SITE 180932034fa5Smrgelif test "x$prefix" != xNONE; then 181032034fa5Smrg ac_site_file1=$prefix/share/config.site 181132034fa5Smrg ac_site_file2=$prefix/etc/config.site 181232034fa5Smrgelse 181332034fa5Smrg ac_site_file1=$ac_default_prefix/share/config.site 181432034fa5Smrg ac_site_file2=$ac_default_prefix/etc/config.site 18154ecf19b2Smrgfi 181632034fa5Smrgfor ac_site_file in "$ac_site_file1" "$ac_site_file2" 181732034fa5Smrgdo 181832034fa5Smrg test "x$ac_site_file" = xNONE && continue 18194ecf19b2Smrg if test -r "$ac_site_file"; then 182032034fa5Smrg { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 182132034fa5Smrg$as_echo "$as_me: loading site script $ac_site_file" >&6;} 18224ecf19b2Smrg sed 's/^/| /' "$ac_site_file" >&5 18234ecf19b2Smrg . "$ac_site_file" 18244ecf19b2Smrg fi 18254ecf19b2Smrgdone 18264ecf19b2Smrg 18274ecf19b2Smrgif test -r "$cache_file"; then 18284ecf19b2Smrg # Some versions of bash will fail to source /dev/null (special 18294ecf19b2Smrg # files actually), so we avoid doing that. 18304ecf19b2Smrg if test -f "$cache_file"; then 183132034fa5Smrg { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 183232034fa5Smrg$as_echo "$as_me: loading cache $cache_file" >&6;} 18334ecf19b2Smrg case $cache_file in 183432034fa5Smrg [\\/]* | ?:[\\/]* ) . "$cache_file";; 183532034fa5Smrg *) . "./$cache_file";; 18364ecf19b2Smrg esac 18374ecf19b2Smrg fi 18384ecf19b2Smrgelse 183932034fa5Smrg { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 184032034fa5Smrg$as_echo "$as_me: creating cache $cache_file" >&6;} 18414ecf19b2Smrg >$cache_file 18424ecf19b2Smrgfi 18434ecf19b2Smrg 18444ecf19b2Smrg# Check that the precious variables saved in the cache have kept the same 18454ecf19b2Smrg# value. 18464ecf19b2Smrgac_cache_corrupted=false 184732034fa5Smrgfor ac_var in $ac_precious_vars; do 18484ecf19b2Smrg eval ac_old_set=\$ac_cv_env_${ac_var}_set 18494ecf19b2Smrg eval ac_new_set=\$ac_env_${ac_var}_set 185032034fa5Smrg eval ac_old_val=\$ac_cv_env_${ac_var}_value 185132034fa5Smrg eval ac_new_val=\$ac_env_${ac_var}_value 18524ecf19b2Smrg case $ac_old_set,$ac_new_set in 18534ecf19b2Smrg set,) 185432034fa5Smrg { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 185532034fa5Smrg$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 18564ecf19b2Smrg ac_cache_corrupted=: ;; 18574ecf19b2Smrg ,set) 185832034fa5Smrg { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 185932034fa5Smrg$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 18604ecf19b2Smrg ac_cache_corrupted=: ;; 18614ecf19b2Smrg ,);; 18624ecf19b2Smrg *) 18634ecf19b2Smrg if test "x$ac_old_val" != "x$ac_new_val"; then 186432034fa5Smrg # differences in whitespace do not lead to failure. 186532034fa5Smrg ac_old_val_w=`echo x $ac_old_val` 186632034fa5Smrg ac_new_val_w=`echo x $ac_new_val` 186732034fa5Smrg if test "$ac_old_val_w" != "$ac_new_val_w"; then 186832034fa5Smrg { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 186932034fa5Smrg$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 187032034fa5Smrg ac_cache_corrupted=: 187132034fa5Smrg else 187232034fa5Smrg { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 187332034fa5Smrg$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 187432034fa5Smrg eval $ac_var=\$ac_old_val 187532034fa5Smrg fi 187632034fa5Smrg { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 187732034fa5Smrg$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 187832034fa5Smrg { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 187932034fa5Smrg$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 18804ecf19b2Smrg fi;; 18814ecf19b2Smrg esac 18824ecf19b2Smrg # Pass precious variables to config.status. 18834ecf19b2Smrg if test "$ac_new_set" = set; then 18844ecf19b2Smrg case $ac_new_val in 188532034fa5Smrg *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 18864ecf19b2Smrg *) ac_arg=$ac_var=$ac_new_val ;; 18874ecf19b2Smrg esac 18884ecf19b2Smrg case " $ac_configure_args " in 18894ecf19b2Smrg *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 18904ecf19b2Smrg *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 18914ecf19b2Smrg esac 18924ecf19b2Smrg fi 18934ecf19b2Smrgdone 18944ecf19b2Smrgif $ac_cache_corrupted; then 189532034fa5Smrg { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 189632034fa5Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 189732034fa5Smrg { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 189832034fa5Smrg$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 189932034fa5Smrg { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 190032034fa5Smrg$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 19014ecf19b2Smrg { (exit 1); exit 1; }; } 19024ecf19b2Smrgfi 19034ecf19b2Smrg 19044ecf19b2Smrg 19054ecf19b2Smrg 19064ecf19b2Smrg 19074ecf19b2Smrg 19084ecf19b2Smrg 19094ecf19b2Smrg 19104ecf19b2Smrg 19114ecf19b2Smrg 19124ecf19b2Smrg 19134ecf19b2Smrg 19144ecf19b2Smrg 19154ecf19b2Smrg 19164ecf19b2Smrg 19174ecf19b2Smrg 19184ecf19b2Smrg 19194ecf19b2Smrg 19204ecf19b2Smrg 19214ecf19b2Smrg 19224ecf19b2Smrg 19234ecf19b2Smrg 19244ecf19b2Smrg 19254ecf19b2Smrg 19264ecf19b2Smrg 19274ecf19b2Smrg 192832034fa5Smrgac_ext=c 192932034fa5Smrgac_cpp='$CPP $CPPFLAGS' 193032034fa5Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 193132034fa5Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 193232034fa5Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 19334ecf19b2Smrg 19344ecf19b2Smrg 193532034fa5Smrgam__api_version='1.11' 19364ecf19b2Smrg 19374ecf19b2Smrgac_aux_dir= 193832034fa5Smrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 193932034fa5Smrg if test -f "$ac_dir/install-sh"; then 19404ecf19b2Smrg ac_aux_dir=$ac_dir 19414ecf19b2Smrg ac_install_sh="$ac_aux_dir/install-sh -c" 19424ecf19b2Smrg break 194332034fa5Smrg elif test -f "$ac_dir/install.sh"; then 19444ecf19b2Smrg ac_aux_dir=$ac_dir 19454ecf19b2Smrg ac_install_sh="$ac_aux_dir/install.sh -c" 19464ecf19b2Smrg break 194732034fa5Smrg elif test -f "$ac_dir/shtool"; then 19484ecf19b2Smrg ac_aux_dir=$ac_dir 19494ecf19b2Smrg ac_install_sh="$ac_aux_dir/shtool install -c" 19504ecf19b2Smrg break 19514ecf19b2Smrg fi 19524ecf19b2Smrgdone 19534ecf19b2Smrgif test -z "$ac_aux_dir"; then 195432034fa5Smrg { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 195532034fa5Smrg$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 19564ecf19b2Smrg { (exit 1); exit 1; }; } 19574ecf19b2Smrgfi 195832034fa5Smrg 195932034fa5Smrg# These three variables are undocumented and unsupported, 196032034fa5Smrg# and are intended to be withdrawn in a future Autoconf release. 196132034fa5Smrg# They can cause serious problems if a builder's source tree is in a directory 196232034fa5Smrg# whose full name contains unusual characters. 196332034fa5Smrgac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 196432034fa5Smrgac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 196532034fa5Smrgac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 196632034fa5Smrg 19674ecf19b2Smrg 19684ecf19b2Smrg# Find a good install program. We prefer a C program (faster), 19694ecf19b2Smrg# so one script is as good as another. But avoid the broken or 19704ecf19b2Smrg# incompatible versions: 19714ecf19b2Smrg# SysV /etc/install, /usr/sbin/install 19724ecf19b2Smrg# SunOS /usr/etc/install 19734ecf19b2Smrg# IRIX /sbin/install 19744ecf19b2Smrg# AIX /bin/install 19754ecf19b2Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs 19764ecf19b2Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 19774ecf19b2Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 19784ecf19b2Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 19794ecf19b2Smrg# OS/2's system install, which has a completely different semantic 19804ecf19b2Smrg# ./install, which can be erroneously created by make from ./install.sh. 198132034fa5Smrg# Reject install programs that cannot install multiple files. 198232034fa5Smrg{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 198332034fa5Smrg$as_echo_n "checking for a BSD-compatible install... " >&6; } 19844ecf19b2Smrgif test -z "$INSTALL"; then 19854ecf19b2Smrgif test "${ac_cv_path_install+set}" = set; then 198632034fa5Smrg $as_echo_n "(cached) " >&6 19874ecf19b2Smrgelse 19884ecf19b2Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19894ecf19b2Smrgfor as_dir in $PATH 19904ecf19b2Smrgdo 19914ecf19b2Smrg IFS=$as_save_IFS 19924ecf19b2Smrg test -z "$as_dir" && as_dir=. 19934ecf19b2Smrg # Account for people who put trailing slashes in PATH elements. 19944ecf19b2Smrgcase $as_dir/ in 19954ecf19b2Smrg ./ | .// | /cC/* | \ 19964ecf19b2Smrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 19974ecf19b2Smrg ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 19984ecf19b2Smrg /usr/ucb/* ) ;; 19994ecf19b2Smrg *) 20004ecf19b2Smrg # OSF1 and SCO ODT 3.0 have their own names for install. 20014ecf19b2Smrg # Don't use installbsd from OSF since it installs stuff as root 20024ecf19b2Smrg # by default. 20034ecf19b2Smrg for ac_prog in ginstall scoinst install; do 20044ecf19b2Smrg for ac_exec_ext in '' $ac_executable_extensions; do 200532034fa5Smrg if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 20064ecf19b2Smrg if test $ac_prog = install && 20074ecf19b2Smrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 20084ecf19b2Smrg # AIX install. It has an incompatible calling convention. 20094ecf19b2Smrg : 20104ecf19b2Smrg elif test $ac_prog = install && 20114ecf19b2Smrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 20124ecf19b2Smrg # program-specific install script used by HP pwplus--don't use. 20134ecf19b2Smrg : 20144ecf19b2Smrg else 201532034fa5Smrg rm -rf conftest.one conftest.two conftest.dir 201632034fa5Smrg echo one > conftest.one 201732034fa5Smrg echo two > conftest.two 201832034fa5Smrg mkdir conftest.dir 201932034fa5Smrg if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 202032034fa5Smrg test -s conftest.one && test -s conftest.two && 202132034fa5Smrg test -s conftest.dir/conftest.one && 202232034fa5Smrg test -s conftest.dir/conftest.two 202332034fa5Smrg then 202432034fa5Smrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 202532034fa5Smrg break 3 202632034fa5Smrg fi 20274ecf19b2Smrg fi 20284ecf19b2Smrg fi 20294ecf19b2Smrg done 20304ecf19b2Smrg done 20314ecf19b2Smrg ;; 20324ecf19b2Smrgesac 203332034fa5Smrg 20344ecf19b2Smrgdone 203532034fa5SmrgIFS=$as_save_IFS 20364ecf19b2Smrg 203732034fa5Smrgrm -rf conftest.one conftest.two conftest.dir 20384ecf19b2Smrg 20394ecf19b2Smrgfi 20404ecf19b2Smrg if test "${ac_cv_path_install+set}" = set; then 20414ecf19b2Smrg INSTALL=$ac_cv_path_install 20424ecf19b2Smrg else 204332034fa5Smrg # As a last resort, use the slow shell script. Don't cache a 204432034fa5Smrg # value for INSTALL within a source directory, because that will 20454ecf19b2Smrg # break other packages using the cache if that directory is 204632034fa5Smrg # removed, or if the value is a relative name. 20474ecf19b2Smrg INSTALL=$ac_install_sh 20484ecf19b2Smrg fi 20494ecf19b2Smrgfi 205032034fa5Smrg{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 205132034fa5Smrg$as_echo "$INSTALL" >&6; } 20524ecf19b2Smrg 20534ecf19b2Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 20544ecf19b2Smrg# It thinks the first close brace ends the variable substitution. 20554ecf19b2Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 20564ecf19b2Smrg 20574ecf19b2Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 20584ecf19b2Smrg 20594ecf19b2Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 20604ecf19b2Smrg 206132034fa5Smrg{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5 206232034fa5Smrg$as_echo_n "checking whether build environment is sane... " >&6; } 20634ecf19b2Smrg# Just in case 20644ecf19b2Smrgsleep 1 20654ecf19b2Smrgecho timestamp > conftest.file 206632034fa5Smrg# Reject unsafe characters in $srcdir or the absolute working directory 206732034fa5Smrg# name. Accept space and tab only in the latter. 206832034fa5Smrgam_lf=' 206932034fa5Smrg' 207032034fa5Smrgcase `pwd` in 207132034fa5Smrg *[\\\"\#\$\&\'\`$am_lf]*) 207232034fa5Smrg { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5 207332034fa5Smrg$as_echo "$as_me: error: unsafe absolute working directory name" >&2;} 207432034fa5Smrg { (exit 1); exit 1; }; };; 207532034fa5Smrgesac 207632034fa5Smrgcase $srcdir in 207732034fa5Smrg *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 207832034fa5Smrg { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5 207932034fa5Smrg$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;} 208032034fa5Smrg { (exit 1); exit 1; }; };; 208132034fa5Smrgesac 208232034fa5Smrg 20834ecf19b2Smrg# Do `set' in a subshell so we don't clobber the current shell's 20844ecf19b2Smrg# arguments. Must try -L first in case configure is actually a 20854ecf19b2Smrg# symlink; some systems play weird games with the mod time of symlinks 20864ecf19b2Smrg# (eg FreeBSD returns the mod time of the symlink's containing 20874ecf19b2Smrg# directory). 20884ecf19b2Smrgif ( 208932034fa5Smrg set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 20904ecf19b2Smrg if test "$*" = "X"; then 20914ecf19b2Smrg # -L didn't work. 209232034fa5Smrg set X `ls -t "$srcdir/configure" conftest.file` 20934ecf19b2Smrg fi 20944ecf19b2Smrg rm -f conftest.file 20954ecf19b2Smrg if test "$*" != "X $srcdir/configure conftest.file" \ 20964ecf19b2Smrg && test "$*" != "X conftest.file $srcdir/configure"; then 20974ecf19b2Smrg 20984ecf19b2Smrg # If neither matched, then we have a broken ls. This can happen 20994ecf19b2Smrg # if, for instance, CONFIG_SHELL is bash and it inherits a 21004ecf19b2Smrg # broken ls alias from the environment. This has actually 21014ecf19b2Smrg # happened. Such a system could not be considered "sane". 210232034fa5Smrg { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 21034ecf19b2Smrgalias in your environment" >&5 210432034fa5Smrg$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 21054ecf19b2Smrgalias in your environment" >&2;} 21064ecf19b2Smrg { (exit 1); exit 1; }; } 21074ecf19b2Smrg fi 21084ecf19b2Smrg 21094ecf19b2Smrg test "$2" = conftest.file 21104ecf19b2Smrg ) 21114ecf19b2Smrgthen 21124ecf19b2Smrg # Ok. 21134ecf19b2Smrg : 21144ecf19b2Smrgelse 211532034fa5Smrg { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files! 21164ecf19b2SmrgCheck your system clock" >&5 211732034fa5Smrg$as_echo "$as_me: error: newly created file is older than distributed files! 21184ecf19b2SmrgCheck your system clock" >&2;} 21194ecf19b2Smrg { (exit 1); exit 1; }; } 21204ecf19b2Smrgfi 212132034fa5Smrg{ $as_echo "$as_me:$LINENO: result: yes" >&5 212232034fa5Smrg$as_echo "yes" >&6; } 21234ecf19b2Smrgtest "$program_prefix" != NONE && 212432034fa5Smrg program_transform_name="s&^&$program_prefix&;$program_transform_name" 21254ecf19b2Smrg# Use a double $ so make ignores it. 21264ecf19b2Smrgtest "$program_suffix" != NONE && 212732034fa5Smrg program_transform_name="s&\$&$program_suffix&;$program_transform_name" 212832034fa5Smrg# Double any \ or $. 21294ecf19b2Smrg# By default was `s,x,x', remove it if useless. 213032034fa5Smrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 213132034fa5Smrgprogram_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 21324ecf19b2Smrg 21334ecf19b2Smrg# expand $ac_aux_dir to an absolute path 21344ecf19b2Smrgam_aux_dir=`cd $ac_aux_dir && pwd` 21354ecf19b2Smrg 213632034fa5Smrgif test x"${MISSING+set}" != xset; then 213732034fa5Smrg case $am_aux_dir in 213832034fa5Smrg *\ * | *\ *) 213932034fa5Smrg MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 214032034fa5Smrg *) 214132034fa5Smrg MISSING="\${SHELL} $am_aux_dir/missing" ;; 214232034fa5Smrg esac 214332034fa5Smrgfi 21444ecf19b2Smrg# Use eval to expand $SHELL 21454ecf19b2Smrgif eval "$MISSING --run true"; then 21464ecf19b2Smrg am_missing_run="$MISSING --run " 21474ecf19b2Smrgelse 21484ecf19b2Smrg am_missing_run= 214932034fa5Smrg { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 215032034fa5Smrg$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 215132034fa5Smrgfi 215232034fa5Smrg 215332034fa5Smrgif test x"${install_sh}" != xset; then 215432034fa5Smrg case $am_aux_dir in 215532034fa5Smrg *\ * | *\ *) 215632034fa5Smrg install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 215732034fa5Smrg *) 215832034fa5Smrg install_sh="\${SHELL} $am_aux_dir/install-sh" 215932034fa5Smrg esac 216032034fa5Smrgfi 216132034fa5Smrg 216232034fa5Smrg# Installed binaries are usually stripped using `strip' when the user 216332034fa5Smrg# run `make install-strip'. However `strip' might not be the right 216432034fa5Smrg# tool to use in cross-compilation environments, therefore Automake 216532034fa5Smrg# will honor the `STRIP' environment variable to overrule this program. 216632034fa5Smrgif test "$cross_compiling" != no; then 216732034fa5Smrg if test -n "$ac_tool_prefix"; then 216832034fa5Smrg # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 216932034fa5Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2 217032034fa5Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 217132034fa5Smrg$as_echo_n "checking for $ac_word... " >&6; } 217232034fa5Smrgif test "${ac_cv_prog_STRIP+set}" = set; then 217332034fa5Smrg $as_echo_n "(cached) " >&6 217432034fa5Smrgelse 217532034fa5Smrg if test -n "$STRIP"; then 217632034fa5Smrg ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 217732034fa5Smrgelse 217832034fa5Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 217932034fa5Smrgfor as_dir in $PATH 218032034fa5Smrgdo 218132034fa5Smrg IFS=$as_save_IFS 218232034fa5Smrg test -z "$as_dir" && as_dir=. 218332034fa5Smrg for ac_exec_ext in '' $ac_executable_extensions; do 218432034fa5Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 218532034fa5Smrg ac_cv_prog_STRIP="${ac_tool_prefix}strip" 218632034fa5Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 218732034fa5Smrg break 2 218832034fa5Smrg fi 218932034fa5Smrgdone 219032034fa5Smrgdone 219132034fa5SmrgIFS=$as_save_IFS 219232034fa5Smrg 219332034fa5Smrgfi 219432034fa5Smrgfi 219532034fa5SmrgSTRIP=$ac_cv_prog_STRIP 219632034fa5Smrgif test -n "$STRIP"; then 219732034fa5Smrg { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 219832034fa5Smrg$as_echo "$STRIP" >&6; } 219932034fa5Smrgelse 220032034fa5Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 220132034fa5Smrg$as_echo "no" >&6; } 220232034fa5Smrgfi 220332034fa5Smrg 220432034fa5Smrg 220532034fa5Smrgfi 220632034fa5Smrgif test -z "$ac_cv_prog_STRIP"; then 220732034fa5Smrg ac_ct_STRIP=$STRIP 220832034fa5Smrg # Extract the first word of "strip", so it can be a program name with args. 220932034fa5Smrgset dummy strip; ac_word=$2 221032034fa5Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 221132034fa5Smrg$as_echo_n "checking for $ac_word... " >&6; } 221232034fa5Smrgif test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 221332034fa5Smrg $as_echo_n "(cached) " >&6 221432034fa5Smrgelse 221532034fa5Smrg if test -n "$ac_ct_STRIP"; then 221632034fa5Smrg ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 221732034fa5Smrgelse 221832034fa5Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 221932034fa5Smrgfor as_dir in $PATH 222032034fa5Smrgdo 222132034fa5Smrg IFS=$as_save_IFS 222232034fa5Smrg test -z "$as_dir" && as_dir=. 222332034fa5Smrg for ac_exec_ext in '' $ac_executable_extensions; do 222432034fa5Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 222532034fa5Smrg ac_cv_prog_ac_ct_STRIP="strip" 222632034fa5Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 222732034fa5Smrg break 2 222832034fa5Smrg fi 222932034fa5Smrgdone 223032034fa5Smrgdone 223132034fa5SmrgIFS=$as_save_IFS 223232034fa5Smrg 223332034fa5Smrgfi 223432034fa5Smrgfi 223532034fa5Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 223632034fa5Smrgif test -n "$ac_ct_STRIP"; then 223732034fa5Smrg { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 223832034fa5Smrg$as_echo "$ac_ct_STRIP" >&6; } 223932034fa5Smrgelse 224032034fa5Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 224132034fa5Smrg$as_echo "no" >&6; } 22424ecf19b2Smrgfi 22434ecf19b2Smrg 224432034fa5Smrg if test "x$ac_ct_STRIP" = x; then 224532034fa5Smrg STRIP=":" 224632034fa5Smrg else 224732034fa5Smrg case $cross_compiling:$ac_tool_warned in 224832034fa5Smrgyes:) 224932034fa5Smrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 225032034fa5Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 225132034fa5Smrgac_tool_warned=yes ;; 225232034fa5Smrgesac 225332034fa5Smrg STRIP=$ac_ct_STRIP 225432034fa5Smrg fi 225532034fa5Smrgelse 225632034fa5Smrg STRIP="$ac_cv_prog_STRIP" 225732034fa5Smrgfi 225832034fa5Smrg 225932034fa5Smrgfi 226032034fa5SmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 226132034fa5Smrg 226232034fa5Smrg{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 226332034fa5Smrg$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 226432034fa5Smrgif test -z "$MKDIR_P"; then 226532034fa5Smrg if test "${ac_cv_path_mkdir+set}" = set; then 226632034fa5Smrg $as_echo_n "(cached) " >&6 226732034fa5Smrgelse 226832034fa5Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 226932034fa5Smrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 227032034fa5Smrgdo 227132034fa5Smrg IFS=$as_save_IFS 227232034fa5Smrg test -z "$as_dir" && as_dir=. 227332034fa5Smrg for ac_prog in mkdir gmkdir; do 227432034fa5Smrg for ac_exec_ext in '' $ac_executable_extensions; do 227532034fa5Smrg { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 227632034fa5Smrg case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 227732034fa5Smrg 'mkdir (GNU coreutils) '* | \ 227832034fa5Smrg 'mkdir (coreutils) '* | \ 227932034fa5Smrg 'mkdir (fileutils) '4.1*) 228032034fa5Smrg ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 228132034fa5Smrg break 3;; 228232034fa5Smrg esac 228332034fa5Smrg done 228432034fa5Smrg done 228532034fa5Smrgdone 228632034fa5SmrgIFS=$as_save_IFS 228732034fa5Smrg 228832034fa5Smrgfi 228932034fa5Smrg 229032034fa5Smrg if test "${ac_cv_path_mkdir+set}" = set; then 229132034fa5Smrg MKDIR_P="$ac_cv_path_mkdir -p" 229232034fa5Smrg else 229332034fa5Smrg # As a last resort, use the slow shell script. Don't cache a 229432034fa5Smrg # value for MKDIR_P within a source directory, because that will 229532034fa5Smrg # break other packages using the cache if that directory is 229632034fa5Smrg # removed, or if the value is a relative name. 229732034fa5Smrg test -d ./--version && rmdir ./--version 229832034fa5Smrg MKDIR_P="$ac_install_sh -d" 229932034fa5Smrg fi 230032034fa5Smrgfi 230132034fa5Smrg{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 230232034fa5Smrg$as_echo "$MKDIR_P" >&6; } 230332034fa5Smrg 230432034fa5Smrgmkdir_p="$MKDIR_P" 230532034fa5Smrgcase $mkdir_p in 230632034fa5Smrg [\\/$]* | ?:[\\/]*) ;; 230732034fa5Smrg */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 230832034fa5Smrgesac 230932034fa5Smrg 23104ecf19b2Smrgfor ac_prog in gawk mawk nawk awk 23114ecf19b2Smrgdo 23124ecf19b2Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 23134ecf19b2Smrgset dummy $ac_prog; ac_word=$2 231432034fa5Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 231532034fa5Smrg$as_echo_n "checking for $ac_word... " >&6; } 23164ecf19b2Smrgif test "${ac_cv_prog_AWK+set}" = set; then 231732034fa5Smrg $as_echo_n "(cached) " >&6 23184ecf19b2Smrgelse 23194ecf19b2Smrg if test -n "$AWK"; then 23204ecf19b2Smrg ac_cv_prog_AWK="$AWK" # Let the user override the test. 23214ecf19b2Smrgelse 23224ecf19b2Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23234ecf19b2Smrgfor as_dir in $PATH 23244ecf19b2Smrgdo 23254ecf19b2Smrg IFS=$as_save_IFS 23264ecf19b2Smrg test -z "$as_dir" && as_dir=. 23274ecf19b2Smrg for ac_exec_ext in '' $ac_executable_extensions; do 232832034fa5Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 23294ecf19b2Smrg ac_cv_prog_AWK="$ac_prog" 233032034fa5Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 23314ecf19b2Smrg break 2 23324ecf19b2Smrg fi 23334ecf19b2Smrgdone 23344ecf19b2Smrgdone 233532034fa5SmrgIFS=$as_save_IFS 23364ecf19b2Smrg 23374ecf19b2Smrgfi 23384ecf19b2Smrgfi 23394ecf19b2SmrgAWK=$ac_cv_prog_AWK 23404ecf19b2Smrgif test -n "$AWK"; then 234132034fa5Smrg { $as_echo "$as_me:$LINENO: result: $AWK" >&5 234232034fa5Smrg$as_echo "$AWK" >&6; } 23434ecf19b2Smrgelse 234432034fa5Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 234532034fa5Smrg$as_echo "no" >&6; } 23464ecf19b2Smrgfi 23474ecf19b2Smrg 234832034fa5Smrg 23494ecf19b2Smrg test -n "$AWK" && break 23504ecf19b2Smrgdone 23514ecf19b2Smrg 235232034fa5Smrg{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 235332034fa5Smrg$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 235432034fa5Smrgset x ${MAKE-make} 235532034fa5Smrgac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 235632034fa5Smrgif { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 235732034fa5Smrg $as_echo_n "(cached) " >&6 23584ecf19b2Smrgelse 23594ecf19b2Smrg cat >conftest.make <<\_ACEOF 236032034fa5SmrgSHELL = /bin/sh 23614ecf19b2Smrgall: 236232034fa5Smrg @echo '@@@%%%=$(MAKE)=@@@%%%' 23634ecf19b2Smrg_ACEOF 23644ecf19b2Smrg# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 236532034fa5Smrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in 236632034fa5Smrg *@@@%%%=?*=@@@%%%*) 236732034fa5Smrg eval ac_cv_prog_make_${ac_make}_set=yes;; 236832034fa5Smrg *) 236932034fa5Smrg eval ac_cv_prog_make_${ac_make}_set=no;; 237032034fa5Smrgesac 23714ecf19b2Smrgrm -f conftest.make 23724ecf19b2Smrgfi 237332034fa5Smrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 237432034fa5Smrg { $as_echo "$as_me:$LINENO: result: yes" >&5 237532034fa5Smrg$as_echo "yes" >&6; } 23764ecf19b2Smrg SET_MAKE= 23774ecf19b2Smrgelse 237832034fa5Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 237932034fa5Smrg$as_echo "no" >&6; } 23804ecf19b2Smrg SET_MAKE="MAKE=${MAKE-make}" 23814ecf19b2Smrgfi 23824ecf19b2Smrg 23834ecf19b2Smrgrm -rf .tst 2>/dev/null 23844ecf19b2Smrgmkdir .tst 2>/dev/null 23854ecf19b2Smrgif test -d .tst; then 23864ecf19b2Smrg am__leading_dot=. 23874ecf19b2Smrgelse 23884ecf19b2Smrg am__leading_dot=_ 23894ecf19b2Smrgfi 23904ecf19b2Smrgrmdir .tst 2>/dev/null 23914ecf19b2Smrg 239232034fa5Smrgif test "`cd $srcdir && pwd`" != "`pwd`"; then 239332034fa5Smrg # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 239432034fa5Smrg # is not polluted with repeated "-I." 239532034fa5Smrg am__isrc=' -I$(srcdir)' 239632034fa5Smrg # test to see if srcdir already configured 239732034fa5Smrg if test -f $srcdir/config.status; then 239832034fa5Smrg { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 239932034fa5Smrg$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 24004ecf19b2Smrg { (exit 1); exit 1; }; } 240132034fa5Smrg fi 24024ecf19b2Smrgfi 24034ecf19b2Smrg 24044ecf19b2Smrg# test whether we have cygpath 24054ecf19b2Smrgif test -z "$CYGPATH_W"; then 24064ecf19b2Smrg if (cygpath --version) >/dev/null 2>/dev/null; then 24074ecf19b2Smrg CYGPATH_W='cygpath -w' 24084ecf19b2Smrg else 24094ecf19b2Smrg CYGPATH_W=echo 24104ecf19b2Smrg fi 24114ecf19b2Smrgfi 24124ecf19b2Smrg 24134ecf19b2Smrg 24144ecf19b2Smrg# Define the identity of the package. 24154ecf19b2Smrg PACKAGE='font-adobe-75dpi' 241632034fa5Smrg VERSION='1.0.1' 24174ecf19b2Smrg 24184ecf19b2Smrg 24194ecf19b2Smrgcat >>confdefs.h <<_ACEOF 24204ecf19b2Smrg#define PACKAGE "$PACKAGE" 24214ecf19b2Smrg_ACEOF 24224ecf19b2Smrg 24234ecf19b2Smrg 24244ecf19b2Smrgcat >>confdefs.h <<_ACEOF 24254ecf19b2Smrg#define VERSION "$VERSION" 24264ecf19b2Smrg_ACEOF 24274ecf19b2Smrg 24284ecf19b2Smrg# Some tools Automake needs. 24294ecf19b2Smrg 24304ecf19b2SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 24314ecf19b2Smrg 24324ecf19b2Smrg 24334ecf19b2SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 24344ecf19b2Smrg 24354ecf19b2Smrg 24364ecf19b2SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 24374ecf19b2Smrg 24384ecf19b2Smrg 24394ecf19b2SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 24404ecf19b2Smrg 24414ecf19b2Smrg 24424ecf19b2SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 24434ecf19b2Smrg 244432034fa5Smrg# We need awk for the "check" target. The system "awk" is bad on 244532034fa5Smrg# some platforms. 244632034fa5Smrg# Always define AMTAR for backward compatibility. 24474ecf19b2Smrg 24484ecf19b2SmrgAMTAR=${AMTAR-"${am_missing_run}tar"} 24494ecf19b2Smrg 245032034fa5Smrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 24514ecf19b2Smrg 245232034fa5Smrg 245332034fa5Smrg 245432034fa5Smrg 245532034fa5Smrg 245632034fa5Smrg 245732034fa5Smrg{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 245832034fa5Smrg$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 245932034fa5Smrg # Check whether --enable-maintainer-mode was given. 246032034fa5Smrgif test "${enable_maintainer_mode+set}" = set; then 246132034fa5Smrg enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 24624ecf19b2Smrgelse 246332034fa5Smrg USE_MAINTAINER_MODE=no 246432034fa5Smrgfi 246532034fa5Smrg 246632034fa5Smrg { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 246732034fa5Smrg$as_echo "$USE_MAINTAINER_MODE" >&6; } 246832034fa5Smrg if test $USE_MAINTAINER_MODE = yes; then 246932034fa5Smrg MAINTAINER_MODE_TRUE= 247032034fa5Smrg MAINTAINER_MODE_FALSE='#' 247132034fa5Smrgelse 247232034fa5Smrg MAINTAINER_MODE_TRUE='#' 247332034fa5Smrg MAINTAINER_MODE_FALSE= 247432034fa5Smrgfi 247532034fa5Smrg 247632034fa5Smrg MAINT=$MAINTAINER_MODE_TRUE 247732034fa5Smrg 247832034fa5Smrg 247932034fa5Smrg 248032034fa5Smrg# Require xorg-macros: XORG_DEFAULT_OPTIONS 248132034fa5Smrg 248232034fa5Smrg 248332034fa5Smrg 248432034fa5Smrg 248532034fa5Smrg 248632034fa5Smrg 248732034fa5Smrg 248832034fa5Smrg 248932034fa5Smrg 249032034fa5Smrg 249132034fa5Smrg 249232034fa5SmrgDEPDIR="${am__leading_dot}deps" 249332034fa5Smrg 249432034fa5Smrgac_config_commands="$ac_config_commands depfiles" 249532034fa5Smrg 249632034fa5Smrg 249732034fa5Smrgam_make=${MAKE-make} 249832034fa5Smrgcat > confinc << 'END' 249932034fa5Smrgam__doit: 250032034fa5Smrg @echo this is the am__doit target 250132034fa5Smrg.PHONY: am__doit 250232034fa5SmrgEND 250332034fa5Smrg# If we don't find an include directive, just comment out the code. 250432034fa5Smrg{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 250532034fa5Smrg$as_echo_n "checking for style of include used by $am_make... " >&6; } 250632034fa5Smrgam__include="#" 250732034fa5Smrgam__quote= 250832034fa5Smrg_am_result=none 250932034fa5Smrg# First try GNU make style include. 251032034fa5Smrgecho "include confinc" > confmf 251132034fa5Smrg# Ignore all kinds of additional output from `make'. 251232034fa5Smrgcase `$am_make -s -f confmf 2> /dev/null` in #( 251332034fa5Smrg*the\ am__doit\ target*) 251432034fa5Smrg am__include=include 251532034fa5Smrg am__quote= 251632034fa5Smrg _am_result=GNU 251732034fa5Smrg ;; 251832034fa5Smrgesac 251932034fa5Smrg# Now try BSD make style include. 252032034fa5Smrgif test "$am__include" = "#"; then 252132034fa5Smrg echo '.include "confinc"' > confmf 252232034fa5Smrg case `$am_make -s -f confmf 2> /dev/null` in #( 252332034fa5Smrg *the\ am__doit\ target*) 252432034fa5Smrg am__include=.include 252532034fa5Smrg am__quote="\"" 252632034fa5Smrg _am_result=BSD 252732034fa5Smrg ;; 252832034fa5Smrg esac 252932034fa5Smrgfi 253032034fa5Smrg 253132034fa5Smrg 253232034fa5Smrg{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5 253332034fa5Smrg$as_echo "$_am_result" >&6; } 253432034fa5Smrgrm -f confinc confmf 253532034fa5Smrg 253632034fa5Smrg# Check whether --enable-dependency-tracking was given. 253732034fa5Smrgif test "${enable_dependency_tracking+set}" = set; then 253832034fa5Smrg enableval=$enable_dependency_tracking; 253932034fa5Smrgfi 254032034fa5Smrg 254132034fa5Smrgif test "x$enable_dependency_tracking" != xno; then 254232034fa5Smrg am_depcomp="$ac_aux_dir/depcomp" 254332034fa5Smrg AMDEPBACKSLASH='\' 254432034fa5Smrgfi 254532034fa5Smrg if test "x$enable_dependency_tracking" != xno; then 254632034fa5Smrg AMDEP_TRUE= 254732034fa5Smrg AMDEP_FALSE='#' 254832034fa5Smrgelse 254932034fa5Smrg AMDEP_TRUE='#' 255032034fa5Smrg AMDEP_FALSE= 255132034fa5Smrgfi 255232034fa5Smrg 255332034fa5Smrg 255432034fa5Smrgac_ext=c 255532034fa5Smrgac_cpp='$CPP $CPPFLAGS' 255632034fa5Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 255732034fa5Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 255832034fa5Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 255932034fa5Smrgif test -n "$ac_tool_prefix"; then 256032034fa5Smrg # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 256132034fa5Smrgset dummy ${ac_tool_prefix}gcc; ac_word=$2 256232034fa5Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 256332034fa5Smrg$as_echo_n "checking for $ac_word... " >&6; } 256432034fa5Smrgif test "${ac_cv_prog_CC+set}" = set; then 256532034fa5Smrg $as_echo_n "(cached) " >&6 256632034fa5Smrgelse 256732034fa5Smrg if test -n "$CC"; then 256832034fa5Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 25694ecf19b2Smrgelse 25704ecf19b2Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 25714ecf19b2Smrgfor as_dir in $PATH 25724ecf19b2Smrgdo 25734ecf19b2Smrg IFS=$as_save_IFS 25744ecf19b2Smrg test -z "$as_dir" && as_dir=. 25754ecf19b2Smrg for ac_exec_ext in '' $ac_executable_extensions; do 257632034fa5Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 257732034fa5Smrg ac_cv_prog_CC="${ac_tool_prefix}gcc" 257832034fa5Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 25794ecf19b2Smrg break 2 25804ecf19b2Smrg fi 25814ecf19b2Smrgdone 25824ecf19b2Smrgdone 258332034fa5SmrgIFS=$as_save_IFS 25844ecf19b2Smrg 25854ecf19b2Smrgfi 25864ecf19b2Smrgfi 258732034fa5SmrgCC=$ac_cv_prog_CC 258832034fa5Smrgif test -n "$CC"; then 258932034fa5Smrg { $as_echo "$as_me:$LINENO: result: $CC" >&5 259032034fa5Smrg$as_echo "$CC" >&6; } 25914ecf19b2Smrgelse 259232034fa5Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 259332034fa5Smrg$as_echo "no" >&6; } 25944ecf19b2Smrgfi 25954ecf19b2Smrg 259632034fa5Smrg 25974ecf19b2Smrgfi 259832034fa5Smrgif test -z "$ac_cv_prog_CC"; then 259932034fa5Smrg ac_ct_CC=$CC 260032034fa5Smrg # Extract the first word of "gcc", so it can be a program name with args. 260132034fa5Smrgset dummy gcc; ac_word=$2 260232034fa5Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 260332034fa5Smrg$as_echo_n "checking for $ac_word... " >&6; } 260432034fa5Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 260532034fa5Smrg $as_echo_n "(cached) " >&6 26064ecf19b2Smrgelse 260732034fa5Smrg if test -n "$ac_ct_CC"; then 260832034fa5Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 26094ecf19b2Smrgelse 26104ecf19b2Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 26114ecf19b2Smrgfor as_dir in $PATH 26124ecf19b2Smrgdo 26134ecf19b2Smrg IFS=$as_save_IFS 26144ecf19b2Smrg test -z "$as_dir" && as_dir=. 26154ecf19b2Smrg for ac_exec_ext in '' $ac_executable_extensions; do 261632034fa5Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 261732034fa5Smrg ac_cv_prog_ac_ct_CC="gcc" 261832034fa5Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 26194ecf19b2Smrg break 2 26204ecf19b2Smrg fi 26214ecf19b2Smrgdone 26224ecf19b2Smrgdone 262332034fa5SmrgIFS=$as_save_IFS 26244ecf19b2Smrg 26254ecf19b2Smrgfi 26264ecf19b2Smrgfi 262732034fa5Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 262832034fa5Smrgif test -n "$ac_ct_CC"; then 262932034fa5Smrg { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 263032034fa5Smrg$as_echo "$ac_ct_CC" >&6; } 26314ecf19b2Smrgelse 263232034fa5Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 263332034fa5Smrg$as_echo "no" >&6; } 26344ecf19b2Smrgfi 26354ecf19b2Smrg 263632034fa5Smrg if test "x$ac_ct_CC" = x; then 263732034fa5Smrg CC="" 263832034fa5Smrg else 263932034fa5Smrg case $cross_compiling:$ac_tool_warned in 264032034fa5Smrgyes:) 264132034fa5Smrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 264232034fa5Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 264332034fa5Smrgac_tool_warned=yes ;; 264432034fa5Smrgesac 264532034fa5Smrg CC=$ac_ct_CC 264632034fa5Smrg fi 26474ecf19b2Smrgelse 264832034fa5Smrg CC="$ac_cv_prog_CC" 26494ecf19b2Smrgfi 26504ecf19b2Smrg 265132034fa5Smrgif test -z "$CC"; then 265232034fa5Smrg if test -n "$ac_tool_prefix"; then 265332034fa5Smrg # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 265432034fa5Smrgset dummy ${ac_tool_prefix}cc; ac_word=$2 265532034fa5Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 265632034fa5Smrg$as_echo_n "checking for $ac_word... " >&6; } 265732034fa5Smrgif test "${ac_cv_prog_CC+set}" = set; then 265832034fa5Smrg $as_echo_n "(cached) " >&6 26594ecf19b2Smrgelse 266032034fa5Smrg if test -n "$CC"; then 266132034fa5Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 266232034fa5Smrgelse 266332034fa5Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 266432034fa5Smrgfor as_dir in $PATH 266532034fa5Smrgdo 266632034fa5Smrg IFS=$as_save_IFS 266732034fa5Smrg test -z "$as_dir" && as_dir=. 266832034fa5Smrg for ac_exec_ext in '' $ac_executable_extensions; do 266932034fa5Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 267032034fa5Smrg ac_cv_prog_CC="${ac_tool_prefix}cc" 267132034fa5Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 267232034fa5Smrg break 2 267332034fa5Smrg fi 267432034fa5Smrgdone 267532034fa5Smrgdone 267632034fa5SmrgIFS=$as_save_IFS 267732034fa5Smrg 267832034fa5Smrgfi 267932034fa5Smrgfi 268032034fa5SmrgCC=$ac_cv_prog_CC 268132034fa5Smrgif test -n "$CC"; then 268232034fa5Smrg { $as_echo "$as_me:$LINENO: result: $CC" >&5 268332034fa5Smrg$as_echo "$CC" >&6; } 268432034fa5Smrgelse 268532034fa5Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 268632034fa5Smrg$as_echo "no" >&6; } 268732034fa5Smrgfi 268832034fa5Smrg 268932034fa5Smrg 269032034fa5Smrg fi 269132034fa5Smrgfi 269232034fa5Smrgif test -z "$CC"; then 269332034fa5Smrg # Extract the first word of "cc", so it can be a program name with args. 269432034fa5Smrgset dummy cc; ac_word=$2 269532034fa5Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 269632034fa5Smrg$as_echo_n "checking for $ac_word... " >&6; } 269732034fa5Smrgif test "${ac_cv_prog_CC+set}" = set; then 269832034fa5Smrg $as_echo_n "(cached) " >&6 269932034fa5Smrgelse 270032034fa5Smrg if test -n "$CC"; then 270132034fa5Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 270232034fa5Smrgelse 270332034fa5Smrg ac_prog_rejected=no 270432034fa5Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 270532034fa5Smrgfor as_dir in $PATH 270632034fa5Smrgdo 270732034fa5Smrg IFS=$as_save_IFS 270832034fa5Smrg test -z "$as_dir" && as_dir=. 270932034fa5Smrg for ac_exec_ext in '' $ac_executable_extensions; do 271032034fa5Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 271132034fa5Smrg if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 271232034fa5Smrg ac_prog_rejected=yes 271332034fa5Smrg continue 271432034fa5Smrg fi 271532034fa5Smrg ac_cv_prog_CC="cc" 271632034fa5Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 271732034fa5Smrg break 2 271832034fa5Smrg fi 271932034fa5Smrgdone 272032034fa5Smrgdone 272132034fa5SmrgIFS=$as_save_IFS 272232034fa5Smrg 272332034fa5Smrgif test $ac_prog_rejected = yes; then 272432034fa5Smrg # We found a bogon in the path, so make sure we never use it. 272532034fa5Smrg set dummy $ac_cv_prog_CC 272632034fa5Smrg shift 272732034fa5Smrg if test $# != 0; then 272832034fa5Smrg # We chose a different compiler from the bogus one. 272932034fa5Smrg # However, it has the same basename, so the bogon will be chosen 273032034fa5Smrg # first if we set CC to just the basename; use the full file name. 273132034fa5Smrg shift 273232034fa5Smrg ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 273332034fa5Smrg fi 273432034fa5Smrgfi 273532034fa5Smrgfi 273632034fa5Smrgfi 273732034fa5SmrgCC=$ac_cv_prog_CC 273832034fa5Smrgif test -n "$CC"; then 273932034fa5Smrg { $as_echo "$as_me:$LINENO: result: $CC" >&5 274032034fa5Smrg$as_echo "$CC" >&6; } 274132034fa5Smrgelse 274232034fa5Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 274332034fa5Smrg$as_echo "no" >&6; } 274432034fa5Smrgfi 274532034fa5Smrg 274632034fa5Smrg 274732034fa5Smrgfi 274832034fa5Smrgif test -z "$CC"; then 274932034fa5Smrg if test -n "$ac_tool_prefix"; then 275032034fa5Smrg for ac_prog in cl.exe 275132034fa5Smrg do 275232034fa5Smrg # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 275332034fa5Smrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2 275432034fa5Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 275532034fa5Smrg$as_echo_n "checking for $ac_word... " >&6; } 275632034fa5Smrgif test "${ac_cv_prog_CC+set}" = set; then 275732034fa5Smrg $as_echo_n "(cached) " >&6 275832034fa5Smrgelse 275932034fa5Smrg if test -n "$CC"; then 276032034fa5Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 276132034fa5Smrgelse 276232034fa5Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 276332034fa5Smrgfor as_dir in $PATH 276432034fa5Smrgdo 276532034fa5Smrg IFS=$as_save_IFS 276632034fa5Smrg test -z "$as_dir" && as_dir=. 276732034fa5Smrg for ac_exec_ext in '' $ac_executable_extensions; do 276832034fa5Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 276932034fa5Smrg ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 277032034fa5Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 277132034fa5Smrg break 2 277232034fa5Smrg fi 277332034fa5Smrgdone 277432034fa5Smrgdone 277532034fa5SmrgIFS=$as_save_IFS 277632034fa5Smrg 277732034fa5Smrgfi 277832034fa5Smrgfi 277932034fa5SmrgCC=$ac_cv_prog_CC 278032034fa5Smrgif test -n "$CC"; then 278132034fa5Smrg { $as_echo "$as_me:$LINENO: result: $CC" >&5 278232034fa5Smrg$as_echo "$CC" >&6; } 278332034fa5Smrgelse 278432034fa5Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 278532034fa5Smrg$as_echo "no" >&6; } 278632034fa5Smrgfi 278732034fa5Smrg 278832034fa5Smrg 278932034fa5Smrg test -n "$CC" && break 279032034fa5Smrg done 279132034fa5Smrgfi 279232034fa5Smrgif test -z "$CC"; then 279332034fa5Smrg ac_ct_CC=$CC 279432034fa5Smrg for ac_prog in cl.exe 279532034fa5Smrgdo 279632034fa5Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 279732034fa5Smrgset dummy $ac_prog; ac_word=$2 279832034fa5Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 279932034fa5Smrg$as_echo_n "checking for $ac_word... " >&6; } 280032034fa5Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 280132034fa5Smrg $as_echo_n "(cached) " >&6 280232034fa5Smrgelse 280332034fa5Smrg if test -n "$ac_ct_CC"; then 280432034fa5Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 280532034fa5Smrgelse 280632034fa5Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 280732034fa5Smrgfor as_dir in $PATH 280832034fa5Smrgdo 280932034fa5Smrg IFS=$as_save_IFS 281032034fa5Smrg test -z "$as_dir" && as_dir=. 281132034fa5Smrg for ac_exec_ext in '' $ac_executable_extensions; do 281232034fa5Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 281332034fa5Smrg ac_cv_prog_ac_ct_CC="$ac_prog" 281432034fa5Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 281532034fa5Smrg break 2 281632034fa5Smrg fi 281732034fa5Smrgdone 281832034fa5Smrgdone 281932034fa5SmrgIFS=$as_save_IFS 282032034fa5Smrg 282132034fa5Smrgfi 282232034fa5Smrgfi 282332034fa5Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 282432034fa5Smrgif test -n "$ac_ct_CC"; then 282532034fa5Smrg { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 282632034fa5Smrg$as_echo "$ac_ct_CC" >&6; } 282732034fa5Smrgelse 282832034fa5Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 282932034fa5Smrg$as_echo "no" >&6; } 283032034fa5Smrgfi 283132034fa5Smrg 283232034fa5Smrg 283332034fa5Smrg test -n "$ac_ct_CC" && break 283432034fa5Smrgdone 283532034fa5Smrg 283632034fa5Smrg if test "x$ac_ct_CC" = x; then 283732034fa5Smrg CC="" 283832034fa5Smrg else 283932034fa5Smrg case $cross_compiling:$ac_tool_warned in 284032034fa5Smrgyes:) 284132034fa5Smrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 284232034fa5Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 284332034fa5Smrgac_tool_warned=yes ;; 284432034fa5Smrgesac 284532034fa5Smrg CC=$ac_ct_CC 284632034fa5Smrg fi 284732034fa5Smrgfi 284832034fa5Smrg 284932034fa5Smrgfi 285032034fa5Smrg 285132034fa5Smrg 285232034fa5Smrgtest -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 285332034fa5Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 285432034fa5Smrg{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 285532034fa5SmrgSee \`config.log' for more details." >&5 285632034fa5Smrg$as_echo "$as_me: error: no acceptable C compiler found in \$PATH 285732034fa5SmrgSee \`config.log' for more details." >&2;} 285832034fa5Smrg { (exit 1); exit 1; }; }; } 285932034fa5Smrg 286032034fa5Smrg# Provide some information about the compiler. 286132034fa5Smrg$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 286232034fa5Smrgset X $ac_compile 286332034fa5Smrgac_compiler=$2 286432034fa5Smrg{ (ac_try="$ac_compiler --version >&5" 286532034fa5Smrgcase "(($ac_try" in 286632034fa5Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 286732034fa5Smrg *) ac_try_echo=$ac_try;; 286832034fa5Smrgesac 286932034fa5Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 287032034fa5Smrg$as_echo "$ac_try_echo") >&5 287132034fa5Smrg (eval "$ac_compiler --version >&5") 2>&5 287232034fa5Smrg ac_status=$? 287332034fa5Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 287432034fa5Smrg (exit $ac_status); } 287532034fa5Smrg{ (ac_try="$ac_compiler -v >&5" 287632034fa5Smrgcase "(($ac_try" in 287732034fa5Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 287832034fa5Smrg *) ac_try_echo=$ac_try;; 287932034fa5Smrgesac 288032034fa5Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 288132034fa5Smrg$as_echo "$ac_try_echo") >&5 288232034fa5Smrg (eval "$ac_compiler -v >&5") 2>&5 288332034fa5Smrg ac_status=$? 288432034fa5Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 288532034fa5Smrg (exit $ac_status); } 288632034fa5Smrg{ (ac_try="$ac_compiler -V >&5" 288732034fa5Smrgcase "(($ac_try" in 288832034fa5Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 288932034fa5Smrg *) ac_try_echo=$ac_try;; 289032034fa5Smrgesac 289132034fa5Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 289232034fa5Smrg$as_echo "$ac_try_echo") >&5 289332034fa5Smrg (eval "$ac_compiler -V >&5") 2>&5 289432034fa5Smrg ac_status=$? 289532034fa5Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 289632034fa5Smrg (exit $ac_status); } 289732034fa5Smrg 289832034fa5Smrgcat >conftest.$ac_ext <<_ACEOF 289932034fa5Smrg/* confdefs.h. */ 290032034fa5Smrg_ACEOF 290132034fa5Smrgcat confdefs.h >>conftest.$ac_ext 290232034fa5Smrgcat >>conftest.$ac_ext <<_ACEOF 290332034fa5Smrg/* end confdefs.h. */ 290432034fa5Smrg 290532034fa5Smrgint 290632034fa5Smrgmain () 290732034fa5Smrg{ 290832034fa5Smrg 290932034fa5Smrg ; 291032034fa5Smrg return 0; 291132034fa5Smrg} 291232034fa5Smrg_ACEOF 291332034fa5Smrgac_clean_files_save=$ac_clean_files 291432034fa5Smrgac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 291532034fa5Smrg# Try to create an executable without -o first, disregard a.out. 291632034fa5Smrg# It will help us diagnose broken compilers, and finding out an intuition 291732034fa5Smrg# of exeext. 291832034fa5Smrg{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 291932034fa5Smrg$as_echo_n "checking for C compiler default output file name... " >&6; } 292032034fa5Smrgac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 292132034fa5Smrg 292232034fa5Smrg# The possible output files: 292332034fa5Smrgac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 292432034fa5Smrg 292532034fa5Smrgac_rmfiles= 292632034fa5Smrgfor ac_file in $ac_files 292732034fa5Smrgdo 292832034fa5Smrg case $ac_file in 292932034fa5Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 293032034fa5Smrg * ) ac_rmfiles="$ac_rmfiles $ac_file";; 293132034fa5Smrg esac 293232034fa5Smrgdone 293332034fa5Smrgrm -f $ac_rmfiles 293432034fa5Smrg 293532034fa5Smrgif { (ac_try="$ac_link_default" 293632034fa5Smrgcase "(($ac_try" in 293732034fa5Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 293832034fa5Smrg *) ac_try_echo=$ac_try;; 293932034fa5Smrgesac 294032034fa5Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 294132034fa5Smrg$as_echo "$ac_try_echo") >&5 294232034fa5Smrg (eval "$ac_link_default") 2>&5 294332034fa5Smrg ac_status=$? 294432034fa5Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 294532034fa5Smrg (exit $ac_status); }; then 294632034fa5Smrg # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 294732034fa5Smrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 294832034fa5Smrg# in a Makefile. We should not override ac_cv_exeext if it was cached, 294932034fa5Smrg# so that the user can short-circuit this test for compilers unknown to 295032034fa5Smrg# Autoconf. 295132034fa5Smrgfor ac_file in $ac_files '' 295232034fa5Smrgdo 295332034fa5Smrg test -f "$ac_file" || continue 295432034fa5Smrg case $ac_file in 295532034fa5Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 295632034fa5Smrg ;; 295732034fa5Smrg [ab].out ) 295832034fa5Smrg # We found the default executable, but exeext='' is most 295932034fa5Smrg # certainly right. 296032034fa5Smrg break;; 296132034fa5Smrg *.* ) 296232034fa5Smrg if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 296332034fa5Smrg then :; else 296432034fa5Smrg ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 296532034fa5Smrg fi 296632034fa5Smrg # We set ac_cv_exeext here because the later test for it is not 296732034fa5Smrg # safe: cross compilers may not add the suffix if given an `-o' 296832034fa5Smrg # argument, so we may need to know it at that point already. 296932034fa5Smrg # Even if this section looks crufty: it has the advantage of 297032034fa5Smrg # actually working. 297132034fa5Smrg break;; 297232034fa5Smrg * ) 297332034fa5Smrg break;; 297432034fa5Smrg esac 297532034fa5Smrgdone 297632034fa5Smrgtest "$ac_cv_exeext" = no && ac_cv_exeext= 297732034fa5Smrg 297832034fa5Smrgelse 297932034fa5Smrg ac_file='' 298032034fa5Smrgfi 298132034fa5Smrg 298232034fa5Smrg{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5 298332034fa5Smrg$as_echo "$ac_file" >&6; } 298432034fa5Smrgif test -z "$ac_file"; then 298532034fa5Smrg $as_echo "$as_me: failed program was:" >&5 298632034fa5Smrgsed 's/^/| /' conftest.$ac_ext >&5 298732034fa5Smrg 298832034fa5Smrg{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 298932034fa5Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 299032034fa5Smrg{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 299132034fa5SmrgSee \`config.log' for more details." >&5 299232034fa5Smrg$as_echo "$as_me: error: C compiler cannot create executables 299332034fa5SmrgSee \`config.log' for more details." >&2;} 299432034fa5Smrg { (exit 77); exit 77; }; }; } 299532034fa5Smrgfi 299632034fa5Smrg 299732034fa5Smrgac_exeext=$ac_cv_exeext 299832034fa5Smrg 299932034fa5Smrg# Check that the compiler produces executables we can run. If not, either 300032034fa5Smrg# the compiler is broken, or we cross compile. 300132034fa5Smrg{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 300232034fa5Smrg$as_echo_n "checking whether the C compiler works... " >&6; } 300332034fa5Smrg# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 300432034fa5Smrg# If not cross compiling, check that we can run a simple program. 300532034fa5Smrgif test "$cross_compiling" != yes; then 300632034fa5Smrg if { ac_try='./$ac_file' 300732034fa5Smrg { (case "(($ac_try" in 300832034fa5Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 300932034fa5Smrg *) ac_try_echo=$ac_try;; 301032034fa5Smrgesac 301132034fa5Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 301232034fa5Smrg$as_echo "$ac_try_echo") >&5 301332034fa5Smrg (eval "$ac_try") 2>&5 301432034fa5Smrg ac_status=$? 301532034fa5Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 301632034fa5Smrg (exit $ac_status); }; }; then 301732034fa5Smrg cross_compiling=no 301832034fa5Smrg else 301932034fa5Smrg if test "$cross_compiling" = maybe; then 302032034fa5Smrg cross_compiling=yes 302132034fa5Smrg else 302232034fa5Smrg { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 302332034fa5Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 302432034fa5Smrg{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 302532034fa5SmrgIf you meant to cross compile, use \`--host'. 302632034fa5SmrgSee \`config.log' for more details." >&5 302732034fa5Smrg$as_echo "$as_me: error: cannot run C compiled programs. 302832034fa5SmrgIf you meant to cross compile, use \`--host'. 302932034fa5SmrgSee \`config.log' for more details." >&2;} 303032034fa5Smrg { (exit 1); exit 1; }; }; } 303132034fa5Smrg fi 303232034fa5Smrg fi 303332034fa5Smrgfi 303432034fa5Smrg{ $as_echo "$as_me:$LINENO: result: yes" >&5 303532034fa5Smrg$as_echo "yes" >&6; } 303632034fa5Smrg 303732034fa5Smrgrm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 303832034fa5Smrgac_clean_files=$ac_clean_files_save 303932034fa5Smrg# Check that the compiler produces executables we can run. If not, either 304032034fa5Smrg# the compiler is broken, or we cross compile. 304132034fa5Smrg{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 304232034fa5Smrg$as_echo_n "checking whether we are cross compiling... " >&6; } 304332034fa5Smrg{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 304432034fa5Smrg$as_echo "$cross_compiling" >&6; } 304532034fa5Smrg 304632034fa5Smrg{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 304732034fa5Smrg$as_echo_n "checking for suffix of executables... " >&6; } 304832034fa5Smrgif { (ac_try="$ac_link" 304932034fa5Smrgcase "(($ac_try" in 305032034fa5Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 305132034fa5Smrg *) ac_try_echo=$ac_try;; 305232034fa5Smrgesac 305332034fa5Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 305432034fa5Smrg$as_echo "$ac_try_echo") >&5 305532034fa5Smrg (eval "$ac_link") 2>&5 305632034fa5Smrg ac_status=$? 305732034fa5Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 305832034fa5Smrg (exit $ac_status); }; then 305932034fa5Smrg # If both `conftest.exe' and `conftest' are `present' (well, observable) 306032034fa5Smrg# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 306132034fa5Smrg# work properly (i.e., refer to `conftest.exe'), while it won't with 306232034fa5Smrg# `rm'. 306332034fa5Smrgfor ac_file in conftest.exe conftest conftest.*; do 306432034fa5Smrg test -f "$ac_file" || continue 306532034fa5Smrg case $ac_file in 306632034fa5Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 306732034fa5Smrg *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 306832034fa5Smrg break;; 306932034fa5Smrg * ) break;; 307032034fa5Smrg esac 307132034fa5Smrgdone 307232034fa5Smrgelse 307332034fa5Smrg { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 307432034fa5Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 307532034fa5Smrg{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 307632034fa5SmrgSee \`config.log' for more details." >&5 307732034fa5Smrg$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 307832034fa5SmrgSee \`config.log' for more details." >&2;} 307932034fa5Smrg { (exit 1); exit 1; }; }; } 308032034fa5Smrgfi 308132034fa5Smrg 308232034fa5Smrgrm -f conftest$ac_cv_exeext 308332034fa5Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 308432034fa5Smrg$as_echo "$ac_cv_exeext" >&6; } 308532034fa5Smrg 308632034fa5Smrgrm -f conftest.$ac_ext 308732034fa5SmrgEXEEXT=$ac_cv_exeext 308832034fa5Smrgac_exeext=$EXEEXT 308932034fa5Smrg{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 309032034fa5Smrg$as_echo_n "checking for suffix of object files... " >&6; } 309132034fa5Smrgif test "${ac_cv_objext+set}" = set; then 309232034fa5Smrg $as_echo_n "(cached) " >&6 309332034fa5Smrgelse 309432034fa5Smrg cat >conftest.$ac_ext <<_ACEOF 309532034fa5Smrg/* confdefs.h. */ 309632034fa5Smrg_ACEOF 309732034fa5Smrgcat confdefs.h >>conftest.$ac_ext 309832034fa5Smrgcat >>conftest.$ac_ext <<_ACEOF 309932034fa5Smrg/* end confdefs.h. */ 310032034fa5Smrg 310132034fa5Smrgint 310232034fa5Smrgmain () 310332034fa5Smrg{ 310432034fa5Smrg 310532034fa5Smrg ; 310632034fa5Smrg return 0; 310732034fa5Smrg} 310832034fa5Smrg_ACEOF 310932034fa5Smrgrm -f conftest.o conftest.obj 311032034fa5Smrgif { (ac_try="$ac_compile" 311132034fa5Smrgcase "(($ac_try" in 311232034fa5Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 311332034fa5Smrg *) ac_try_echo=$ac_try;; 311432034fa5Smrgesac 311532034fa5Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 311632034fa5Smrg$as_echo "$ac_try_echo") >&5 311732034fa5Smrg (eval "$ac_compile") 2>&5 311832034fa5Smrg ac_status=$? 311932034fa5Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 312032034fa5Smrg (exit $ac_status); }; then 312132034fa5Smrg for ac_file in conftest.o conftest.obj conftest.*; do 312232034fa5Smrg test -f "$ac_file" || continue; 312332034fa5Smrg case $ac_file in 312432034fa5Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 312532034fa5Smrg *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 312632034fa5Smrg break;; 312732034fa5Smrg esac 312832034fa5Smrgdone 312932034fa5Smrgelse 313032034fa5Smrg $as_echo "$as_me: failed program was:" >&5 313132034fa5Smrgsed 's/^/| /' conftest.$ac_ext >&5 313232034fa5Smrg 313332034fa5Smrg{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 313432034fa5Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 313532034fa5Smrg{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 313632034fa5SmrgSee \`config.log' for more details." >&5 313732034fa5Smrg$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 313832034fa5SmrgSee \`config.log' for more details." >&2;} 313932034fa5Smrg { (exit 1); exit 1; }; }; } 314032034fa5Smrgfi 314132034fa5Smrg 314232034fa5Smrgrm -f conftest.$ac_cv_objext conftest.$ac_ext 314332034fa5Smrgfi 314432034fa5Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 314532034fa5Smrg$as_echo "$ac_cv_objext" >&6; } 314632034fa5SmrgOBJEXT=$ac_cv_objext 314732034fa5Smrgac_objext=$OBJEXT 314832034fa5Smrg{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 314932034fa5Smrg$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 315032034fa5Smrgif test "${ac_cv_c_compiler_gnu+set}" = set; then 315132034fa5Smrg $as_echo_n "(cached) " >&6 315232034fa5Smrgelse 315332034fa5Smrg cat >conftest.$ac_ext <<_ACEOF 315432034fa5Smrg/* confdefs.h. */ 315532034fa5Smrg_ACEOF 315632034fa5Smrgcat confdefs.h >>conftest.$ac_ext 315732034fa5Smrgcat >>conftest.$ac_ext <<_ACEOF 315832034fa5Smrg/* end confdefs.h. */ 315932034fa5Smrg 316032034fa5Smrgint 316132034fa5Smrgmain () 316232034fa5Smrg{ 316332034fa5Smrg#ifndef __GNUC__ 316432034fa5Smrg choke me 316532034fa5Smrg#endif 316632034fa5Smrg 316732034fa5Smrg ; 316832034fa5Smrg return 0; 316932034fa5Smrg} 317032034fa5Smrg_ACEOF 317132034fa5Smrgrm -f conftest.$ac_objext 317232034fa5Smrgif { (ac_try="$ac_compile" 317332034fa5Smrgcase "(($ac_try" in 317432034fa5Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 317532034fa5Smrg *) ac_try_echo=$ac_try;; 317632034fa5Smrgesac 317732034fa5Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 317832034fa5Smrg$as_echo "$ac_try_echo") >&5 317932034fa5Smrg (eval "$ac_compile") 2>conftest.er1 318032034fa5Smrg ac_status=$? 318132034fa5Smrg grep -v '^ *+' conftest.er1 >conftest.err 318232034fa5Smrg rm -f conftest.er1 318332034fa5Smrg cat conftest.err >&5 318432034fa5Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 318532034fa5Smrg (exit $ac_status); } && { 318632034fa5Smrg test -z "$ac_c_werror_flag" || 318732034fa5Smrg test ! -s conftest.err 318832034fa5Smrg } && test -s conftest.$ac_objext; then 318932034fa5Smrg ac_compiler_gnu=yes 319032034fa5Smrgelse 319132034fa5Smrg $as_echo "$as_me: failed program was:" >&5 319232034fa5Smrgsed 's/^/| /' conftest.$ac_ext >&5 319332034fa5Smrg 319432034fa5Smrg ac_compiler_gnu=no 319532034fa5Smrgfi 319632034fa5Smrg 319732034fa5Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 319832034fa5Smrgac_cv_c_compiler_gnu=$ac_compiler_gnu 319932034fa5Smrg 320032034fa5Smrgfi 320132034fa5Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 320232034fa5Smrg$as_echo "$ac_cv_c_compiler_gnu" >&6; } 320332034fa5Smrgif test $ac_compiler_gnu = yes; then 320432034fa5Smrg GCC=yes 320532034fa5Smrgelse 320632034fa5Smrg GCC= 320732034fa5Smrgfi 320832034fa5Smrgac_test_CFLAGS=${CFLAGS+set} 320932034fa5Smrgac_save_CFLAGS=$CFLAGS 321032034fa5Smrg{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 321132034fa5Smrg$as_echo_n "checking whether $CC accepts -g... " >&6; } 321232034fa5Smrgif test "${ac_cv_prog_cc_g+set}" = set; then 321332034fa5Smrg $as_echo_n "(cached) " >&6 321432034fa5Smrgelse 321532034fa5Smrg ac_save_c_werror_flag=$ac_c_werror_flag 321632034fa5Smrg ac_c_werror_flag=yes 321732034fa5Smrg ac_cv_prog_cc_g=no 321832034fa5Smrg CFLAGS="-g" 321932034fa5Smrg cat >conftest.$ac_ext <<_ACEOF 322032034fa5Smrg/* confdefs.h. */ 322132034fa5Smrg_ACEOF 322232034fa5Smrgcat confdefs.h >>conftest.$ac_ext 322332034fa5Smrgcat >>conftest.$ac_ext <<_ACEOF 322432034fa5Smrg/* end confdefs.h. */ 322532034fa5Smrg 322632034fa5Smrgint 322732034fa5Smrgmain () 322832034fa5Smrg{ 322932034fa5Smrg 323032034fa5Smrg ; 323132034fa5Smrg return 0; 323232034fa5Smrg} 323332034fa5Smrg_ACEOF 323432034fa5Smrgrm -f conftest.$ac_objext 323532034fa5Smrgif { (ac_try="$ac_compile" 323632034fa5Smrgcase "(($ac_try" in 323732034fa5Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 323832034fa5Smrg *) ac_try_echo=$ac_try;; 323932034fa5Smrgesac 324032034fa5Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 324132034fa5Smrg$as_echo "$ac_try_echo") >&5 324232034fa5Smrg (eval "$ac_compile") 2>conftest.er1 324332034fa5Smrg ac_status=$? 324432034fa5Smrg grep -v '^ *+' conftest.er1 >conftest.err 324532034fa5Smrg rm -f conftest.er1 324632034fa5Smrg cat conftest.err >&5 324732034fa5Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 324832034fa5Smrg (exit $ac_status); } && { 324932034fa5Smrg test -z "$ac_c_werror_flag" || 325032034fa5Smrg test ! -s conftest.err 325132034fa5Smrg } && test -s conftest.$ac_objext; then 325232034fa5Smrg ac_cv_prog_cc_g=yes 325332034fa5Smrgelse 325432034fa5Smrg $as_echo "$as_me: failed program was:" >&5 325532034fa5Smrgsed 's/^/| /' conftest.$ac_ext >&5 325632034fa5Smrg 325732034fa5Smrg CFLAGS="" 325832034fa5Smrg cat >conftest.$ac_ext <<_ACEOF 325932034fa5Smrg/* confdefs.h. */ 326032034fa5Smrg_ACEOF 326132034fa5Smrgcat confdefs.h >>conftest.$ac_ext 326232034fa5Smrgcat >>conftest.$ac_ext <<_ACEOF 326332034fa5Smrg/* end confdefs.h. */ 326432034fa5Smrg 326532034fa5Smrgint 326632034fa5Smrgmain () 326732034fa5Smrg{ 326832034fa5Smrg 326932034fa5Smrg ; 327032034fa5Smrg return 0; 327132034fa5Smrg} 327232034fa5Smrg_ACEOF 327332034fa5Smrgrm -f conftest.$ac_objext 327432034fa5Smrgif { (ac_try="$ac_compile" 327532034fa5Smrgcase "(($ac_try" in 327632034fa5Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 327732034fa5Smrg *) ac_try_echo=$ac_try;; 327832034fa5Smrgesac 327932034fa5Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 328032034fa5Smrg$as_echo "$ac_try_echo") >&5 328132034fa5Smrg (eval "$ac_compile") 2>conftest.er1 328232034fa5Smrg ac_status=$? 328332034fa5Smrg grep -v '^ *+' conftest.er1 >conftest.err 328432034fa5Smrg rm -f conftest.er1 328532034fa5Smrg cat conftest.err >&5 328632034fa5Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 328732034fa5Smrg (exit $ac_status); } && { 328832034fa5Smrg test -z "$ac_c_werror_flag" || 328932034fa5Smrg test ! -s conftest.err 329032034fa5Smrg } && test -s conftest.$ac_objext; then 329132034fa5Smrg : 329232034fa5Smrgelse 329332034fa5Smrg $as_echo "$as_me: failed program was:" >&5 329432034fa5Smrgsed 's/^/| /' conftest.$ac_ext >&5 329532034fa5Smrg 329632034fa5Smrg ac_c_werror_flag=$ac_save_c_werror_flag 329732034fa5Smrg CFLAGS="-g" 329832034fa5Smrg cat >conftest.$ac_ext <<_ACEOF 329932034fa5Smrg/* confdefs.h. */ 330032034fa5Smrg_ACEOF 330132034fa5Smrgcat confdefs.h >>conftest.$ac_ext 330232034fa5Smrgcat >>conftest.$ac_ext <<_ACEOF 330332034fa5Smrg/* end confdefs.h. */ 330432034fa5Smrg 330532034fa5Smrgint 330632034fa5Smrgmain () 330732034fa5Smrg{ 330832034fa5Smrg 330932034fa5Smrg ; 331032034fa5Smrg return 0; 331132034fa5Smrg} 331232034fa5Smrg_ACEOF 331332034fa5Smrgrm -f conftest.$ac_objext 331432034fa5Smrgif { (ac_try="$ac_compile" 331532034fa5Smrgcase "(($ac_try" in 331632034fa5Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 331732034fa5Smrg *) ac_try_echo=$ac_try;; 331832034fa5Smrgesac 331932034fa5Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 332032034fa5Smrg$as_echo "$ac_try_echo") >&5 332132034fa5Smrg (eval "$ac_compile") 2>conftest.er1 332232034fa5Smrg ac_status=$? 332332034fa5Smrg grep -v '^ *+' conftest.er1 >conftest.err 332432034fa5Smrg rm -f conftest.er1 332532034fa5Smrg cat conftest.err >&5 332632034fa5Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 332732034fa5Smrg (exit $ac_status); } && { 332832034fa5Smrg test -z "$ac_c_werror_flag" || 332932034fa5Smrg test ! -s conftest.err 333032034fa5Smrg } && test -s conftest.$ac_objext; then 333132034fa5Smrg ac_cv_prog_cc_g=yes 333232034fa5Smrgelse 333332034fa5Smrg $as_echo "$as_me: failed program was:" >&5 333432034fa5Smrgsed 's/^/| /' conftest.$ac_ext >&5 333532034fa5Smrg 333632034fa5Smrg 333732034fa5Smrgfi 333832034fa5Smrg 333932034fa5Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 334032034fa5Smrgfi 334132034fa5Smrg 334232034fa5Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 334332034fa5Smrgfi 334432034fa5Smrg 334532034fa5Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 334632034fa5Smrg ac_c_werror_flag=$ac_save_c_werror_flag 334732034fa5Smrgfi 334832034fa5Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 334932034fa5Smrg$as_echo "$ac_cv_prog_cc_g" >&6; } 335032034fa5Smrgif test "$ac_test_CFLAGS" = set; then 335132034fa5Smrg CFLAGS=$ac_save_CFLAGS 335232034fa5Smrgelif test $ac_cv_prog_cc_g = yes; then 335332034fa5Smrg if test "$GCC" = yes; then 335432034fa5Smrg CFLAGS="-g -O2" 335532034fa5Smrg else 335632034fa5Smrg CFLAGS="-g" 335732034fa5Smrg fi 335832034fa5Smrgelse 335932034fa5Smrg if test "$GCC" = yes; then 336032034fa5Smrg CFLAGS="-O2" 336132034fa5Smrg else 336232034fa5Smrg CFLAGS= 336332034fa5Smrg fi 336432034fa5Smrgfi 336532034fa5Smrg{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 336632034fa5Smrg$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 336732034fa5Smrgif test "${ac_cv_prog_cc_c89+set}" = set; then 336832034fa5Smrg $as_echo_n "(cached) " >&6 336932034fa5Smrgelse 337032034fa5Smrg ac_cv_prog_cc_c89=no 337132034fa5Smrgac_save_CC=$CC 337232034fa5Smrgcat >conftest.$ac_ext <<_ACEOF 337332034fa5Smrg/* confdefs.h. */ 337432034fa5Smrg_ACEOF 337532034fa5Smrgcat confdefs.h >>conftest.$ac_ext 337632034fa5Smrgcat >>conftest.$ac_ext <<_ACEOF 337732034fa5Smrg/* end confdefs.h. */ 337832034fa5Smrg#include <stdarg.h> 337932034fa5Smrg#include <stdio.h> 338032034fa5Smrg#include <sys/types.h> 338132034fa5Smrg#include <sys/stat.h> 338232034fa5Smrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 338332034fa5Smrgstruct buf { int x; }; 338432034fa5SmrgFILE * (*rcsopen) (struct buf *, struct stat *, int); 338532034fa5Smrgstatic char *e (p, i) 338632034fa5Smrg char **p; 338732034fa5Smrg int i; 338832034fa5Smrg{ 338932034fa5Smrg return p[i]; 339032034fa5Smrg} 339132034fa5Smrgstatic char *f (char * (*g) (char **, int), char **p, ...) 339232034fa5Smrg{ 339332034fa5Smrg char *s; 339432034fa5Smrg va_list v; 339532034fa5Smrg va_start (v,p); 339632034fa5Smrg s = g (p, va_arg (v,int)); 339732034fa5Smrg va_end (v); 339832034fa5Smrg return s; 339932034fa5Smrg} 340032034fa5Smrg 340132034fa5Smrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 340232034fa5Smrg function prototypes and stuff, but not '\xHH' hex character constants. 340332034fa5Smrg These don't provoke an error unfortunately, instead are silently treated 340432034fa5Smrg as 'x'. The following induces an error, until -std is added to get 340532034fa5Smrg proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 340632034fa5Smrg array size at least. It's necessary to write '\x00'==0 to get something 340732034fa5Smrg that's true only with -std. */ 340832034fa5Smrgint osf4_cc_array ['\x00' == 0 ? 1 : -1]; 340932034fa5Smrg 341032034fa5Smrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 341132034fa5Smrg inside strings and character constants. */ 341232034fa5Smrg#define FOO(x) 'x' 341332034fa5Smrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 341432034fa5Smrg 341532034fa5Smrgint test (int i, double x); 341632034fa5Smrgstruct s1 {int (*f) (int a);}; 341732034fa5Smrgstruct s2 {int (*f) (double a);}; 341832034fa5Smrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 341932034fa5Smrgint argc; 342032034fa5Smrgchar **argv; 342132034fa5Smrgint 342232034fa5Smrgmain () 342332034fa5Smrg{ 342432034fa5Smrgreturn f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 342532034fa5Smrg ; 342632034fa5Smrg return 0; 342732034fa5Smrg} 342832034fa5Smrg_ACEOF 342932034fa5Smrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 343032034fa5Smrg -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 343132034fa5Smrgdo 343232034fa5Smrg CC="$ac_save_CC $ac_arg" 343332034fa5Smrg rm -f conftest.$ac_objext 343432034fa5Smrgif { (ac_try="$ac_compile" 343532034fa5Smrgcase "(($ac_try" in 343632034fa5Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 343732034fa5Smrg *) ac_try_echo=$ac_try;; 343832034fa5Smrgesac 343932034fa5Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 344032034fa5Smrg$as_echo "$ac_try_echo") >&5 344132034fa5Smrg (eval "$ac_compile") 2>conftest.er1 344232034fa5Smrg ac_status=$? 344332034fa5Smrg grep -v '^ *+' conftest.er1 >conftest.err 344432034fa5Smrg rm -f conftest.er1 344532034fa5Smrg cat conftest.err >&5 344632034fa5Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 344732034fa5Smrg (exit $ac_status); } && { 344832034fa5Smrg test -z "$ac_c_werror_flag" || 344932034fa5Smrg test ! -s conftest.err 345032034fa5Smrg } && test -s conftest.$ac_objext; then 345132034fa5Smrg ac_cv_prog_cc_c89=$ac_arg 345232034fa5Smrgelse 345332034fa5Smrg $as_echo "$as_me: failed program was:" >&5 345432034fa5Smrgsed 's/^/| /' conftest.$ac_ext >&5 345532034fa5Smrg 345632034fa5Smrg 345732034fa5Smrgfi 345832034fa5Smrg 345932034fa5Smrgrm -f core conftest.err conftest.$ac_objext 346032034fa5Smrg test "x$ac_cv_prog_cc_c89" != "xno" && break 346132034fa5Smrgdone 346232034fa5Smrgrm -f conftest.$ac_ext 346332034fa5SmrgCC=$ac_save_CC 346432034fa5Smrg 346532034fa5Smrgfi 346632034fa5Smrg# AC_CACHE_VAL 346732034fa5Smrgcase "x$ac_cv_prog_cc_c89" in 346832034fa5Smrg x) 346932034fa5Smrg { $as_echo "$as_me:$LINENO: result: none needed" >&5 347032034fa5Smrg$as_echo "none needed" >&6; } ;; 347132034fa5Smrg xno) 347232034fa5Smrg { $as_echo "$as_me:$LINENO: result: unsupported" >&5 347332034fa5Smrg$as_echo "unsupported" >&6; } ;; 347432034fa5Smrg *) 347532034fa5Smrg CC="$CC $ac_cv_prog_cc_c89" 347632034fa5Smrg { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 347732034fa5Smrg$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 347832034fa5Smrgesac 347932034fa5Smrg 348032034fa5Smrg 348132034fa5Smrgac_ext=c 348232034fa5Smrgac_cpp='$CPP $CPPFLAGS' 348332034fa5Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 348432034fa5Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 348532034fa5Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 348632034fa5Smrg 348732034fa5Smrgdepcc="$CC" am_compiler_list= 348832034fa5Smrg 348932034fa5Smrg{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 349032034fa5Smrg$as_echo_n "checking dependency style of $depcc... " >&6; } 349132034fa5Smrgif test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 349232034fa5Smrg $as_echo_n "(cached) " >&6 349332034fa5Smrgelse 349432034fa5Smrg if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 349532034fa5Smrg # We make a subdir and do the tests there. Otherwise we can end up 349632034fa5Smrg # making bogus files that we don't know about and never remove. For 349732034fa5Smrg # instance it was reported that on HP-UX the gcc test will end up 349832034fa5Smrg # making a dummy file named `D' -- because `-MD' means `put the output 349932034fa5Smrg # in D'. 350032034fa5Smrg mkdir conftest.dir 350132034fa5Smrg # Copy depcomp to subdir because otherwise we won't find it if we're 350232034fa5Smrg # using a relative directory. 350332034fa5Smrg cp "$am_depcomp" conftest.dir 350432034fa5Smrg cd conftest.dir 350532034fa5Smrg # We will build objects and dependencies in a subdirectory because 350632034fa5Smrg # it helps to detect inapplicable dependency modes. For instance 350732034fa5Smrg # both Tru64's cc and ICC support -MD to output dependencies as a 350832034fa5Smrg # side effect of compilation, but ICC will put the dependencies in 350932034fa5Smrg # the current directory while Tru64 will put them in the object 351032034fa5Smrg # directory. 351132034fa5Smrg mkdir sub 351232034fa5Smrg 351332034fa5Smrg am_cv_CC_dependencies_compiler_type=none 351432034fa5Smrg if test "$am_compiler_list" = ""; then 351532034fa5Smrg am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 351632034fa5Smrg fi 351732034fa5Smrg am__universal=false 351832034fa5Smrg case " $depcc " in #( 351932034fa5Smrg *\ -arch\ *\ -arch\ *) am__universal=true ;; 352032034fa5Smrg esac 352132034fa5Smrg 352232034fa5Smrg for depmode in $am_compiler_list; do 352332034fa5Smrg # Setup a source with many dependencies, because some compilers 352432034fa5Smrg # like to wrap large dependency lists on column 80 (with \), and 352532034fa5Smrg # we should not choose a depcomp mode which is confused by this. 352632034fa5Smrg # 352732034fa5Smrg # We need to recreate these files for each test, as the compiler may 352832034fa5Smrg # overwrite some of them when testing with obscure command lines. 352932034fa5Smrg # This happens at least with the AIX C compiler. 353032034fa5Smrg : > sub/conftest.c 353132034fa5Smrg for i in 1 2 3 4 5 6; do 353232034fa5Smrg echo '#include "conftst'$i'.h"' >> sub/conftest.c 353332034fa5Smrg # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 353432034fa5Smrg # Solaris 8's {/usr,}/bin/sh. 353532034fa5Smrg touch sub/conftst$i.h 353632034fa5Smrg done 353732034fa5Smrg echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 353832034fa5Smrg 353932034fa5Smrg # We check with `-c' and `-o' for the sake of the "dashmstdout" 354032034fa5Smrg # mode. It turns out that the SunPro C++ compiler does not properly 354132034fa5Smrg # handle `-M -o', and we need to detect this. Also, some Intel 354232034fa5Smrg # versions had trouble with output in subdirs 354332034fa5Smrg am__obj=sub/conftest.${OBJEXT-o} 354432034fa5Smrg am__minus_obj="-o $am__obj" 354532034fa5Smrg case $depmode in 354632034fa5Smrg gcc) 354732034fa5Smrg # This depmode causes a compiler race in universal mode. 354832034fa5Smrg test "$am__universal" = false || continue 354932034fa5Smrg ;; 355032034fa5Smrg nosideeffect) 355132034fa5Smrg # after this tag, mechanisms are not by side-effect, so they'll 355232034fa5Smrg # only be used when explicitly requested 355332034fa5Smrg if test "x$enable_dependency_tracking" = xyes; then 355432034fa5Smrg continue 355532034fa5Smrg else 355632034fa5Smrg break 355732034fa5Smrg fi 355832034fa5Smrg ;; 355932034fa5Smrg msvisualcpp | msvcmsys) 356032034fa5Smrg # This compiler won't grok `-c -o', but also, the minuso test has 356132034fa5Smrg # not run yet. These depmodes are late enough in the game, and 356232034fa5Smrg # so weak that their functioning should not be impacted. 356332034fa5Smrg am__obj=conftest.${OBJEXT-o} 356432034fa5Smrg am__minus_obj= 356532034fa5Smrg ;; 356632034fa5Smrg none) break ;; 356732034fa5Smrg esac 356832034fa5Smrg if depmode=$depmode \ 356932034fa5Smrg source=sub/conftest.c object=$am__obj \ 357032034fa5Smrg depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 357132034fa5Smrg $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 357232034fa5Smrg >/dev/null 2>conftest.err && 357332034fa5Smrg grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 357432034fa5Smrg grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 357532034fa5Smrg grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 357632034fa5Smrg ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 357732034fa5Smrg # icc doesn't choke on unknown options, it will just issue warnings 357832034fa5Smrg # or remarks (even with -Werror). So we grep stderr for any message 357932034fa5Smrg # that says an option was ignored or not supported. 358032034fa5Smrg # When given -MP, icc 7.0 and 7.1 complain thusly: 358132034fa5Smrg # icc: Command line warning: ignoring option '-M'; no argument required 358232034fa5Smrg # The diagnosis changed in icc 8.0: 358332034fa5Smrg # icc: Command line remark: option '-MP' not supported 358432034fa5Smrg if (grep 'ignoring option' conftest.err || 358532034fa5Smrg grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 358632034fa5Smrg am_cv_CC_dependencies_compiler_type=$depmode 358732034fa5Smrg break 358832034fa5Smrg fi 358932034fa5Smrg fi 359032034fa5Smrg done 359132034fa5Smrg 359232034fa5Smrg cd .. 359332034fa5Smrg rm -rf conftest.dir 359432034fa5Smrgelse 359532034fa5Smrg am_cv_CC_dependencies_compiler_type=none 359632034fa5Smrgfi 359732034fa5Smrg 359832034fa5Smrgfi 359932034fa5Smrg{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 360032034fa5Smrg$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 360132034fa5SmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 360232034fa5Smrg 360332034fa5Smrg if 360432034fa5Smrg test "x$enable_dependency_tracking" != xno \ 360532034fa5Smrg && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 360632034fa5Smrg am__fastdepCC_TRUE= 360732034fa5Smrg am__fastdepCC_FALSE='#' 360832034fa5Smrgelse 360932034fa5Smrg am__fastdepCC_TRUE='#' 361032034fa5Smrg am__fastdepCC_FALSE= 361132034fa5Smrgfi 361232034fa5Smrg 361332034fa5Smrg 361432034fa5Smrg 361532034fa5Smrgac_ext=c 361632034fa5Smrgac_cpp='$CPP $CPPFLAGS' 361732034fa5Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 361832034fa5Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 361932034fa5Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 362032034fa5Smrg{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 362132034fa5Smrg$as_echo_n "checking how to run the C preprocessor... " >&6; } 362232034fa5Smrg# On Suns, sometimes $CPP names a directory. 362332034fa5Smrgif test -n "$CPP" && test -d "$CPP"; then 362432034fa5Smrg CPP= 362532034fa5Smrgfi 362632034fa5Smrgif test -z "$CPP"; then 362732034fa5Smrg if test "${ac_cv_prog_CPP+set}" = set; then 362832034fa5Smrg $as_echo_n "(cached) " >&6 362932034fa5Smrgelse 363032034fa5Smrg # Double quotes because CPP needs to be expanded 363132034fa5Smrg for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 363232034fa5Smrg do 363332034fa5Smrg ac_preproc_ok=false 363432034fa5Smrgfor ac_c_preproc_warn_flag in '' yes 363532034fa5Smrgdo 363632034fa5Smrg # Use a header file that comes with gcc, so configuring glibc 363732034fa5Smrg # with a fresh cross-compiler works. 363832034fa5Smrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 363932034fa5Smrg # <limits.h> exists even on freestanding compilers. 364032034fa5Smrg # On the NeXT, cc -E runs the code through the compiler's parser, 364132034fa5Smrg # not just through cpp. "Syntax error" is here to catch this case. 364232034fa5Smrg cat >conftest.$ac_ext <<_ACEOF 364332034fa5Smrg/* confdefs.h. */ 364432034fa5Smrg_ACEOF 364532034fa5Smrgcat confdefs.h >>conftest.$ac_ext 364632034fa5Smrgcat >>conftest.$ac_ext <<_ACEOF 364732034fa5Smrg/* end confdefs.h. */ 364832034fa5Smrg#ifdef __STDC__ 364932034fa5Smrg# include <limits.h> 365032034fa5Smrg#else 365132034fa5Smrg# include <assert.h> 365232034fa5Smrg#endif 365332034fa5Smrg Syntax error 365432034fa5Smrg_ACEOF 365532034fa5Smrgif { (ac_try="$ac_cpp conftest.$ac_ext" 365632034fa5Smrgcase "(($ac_try" in 365732034fa5Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 365832034fa5Smrg *) ac_try_echo=$ac_try;; 365932034fa5Smrgesac 366032034fa5Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 366132034fa5Smrg$as_echo "$ac_try_echo") >&5 366232034fa5Smrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 366332034fa5Smrg ac_status=$? 366432034fa5Smrg grep -v '^ *+' conftest.er1 >conftest.err 366532034fa5Smrg rm -f conftest.er1 366632034fa5Smrg cat conftest.err >&5 366732034fa5Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 366832034fa5Smrg (exit $ac_status); } >/dev/null && { 366932034fa5Smrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 367032034fa5Smrg test ! -s conftest.err 367132034fa5Smrg }; then 367232034fa5Smrg : 367332034fa5Smrgelse 367432034fa5Smrg $as_echo "$as_me: failed program was:" >&5 367532034fa5Smrgsed 's/^/| /' conftest.$ac_ext >&5 367632034fa5Smrg 367732034fa5Smrg # Broken: fails on valid input. 367832034fa5Smrgcontinue 367932034fa5Smrgfi 368032034fa5Smrg 368132034fa5Smrgrm -f conftest.err conftest.$ac_ext 368232034fa5Smrg 368332034fa5Smrg # OK, works on sane cases. Now check whether nonexistent headers 368432034fa5Smrg # can be detected and how. 368532034fa5Smrg cat >conftest.$ac_ext <<_ACEOF 368632034fa5Smrg/* confdefs.h. */ 368732034fa5Smrg_ACEOF 368832034fa5Smrgcat confdefs.h >>conftest.$ac_ext 368932034fa5Smrgcat >>conftest.$ac_ext <<_ACEOF 369032034fa5Smrg/* end confdefs.h. */ 369132034fa5Smrg#include <ac_nonexistent.h> 369232034fa5Smrg_ACEOF 369332034fa5Smrgif { (ac_try="$ac_cpp conftest.$ac_ext" 369432034fa5Smrgcase "(($ac_try" in 369532034fa5Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 369632034fa5Smrg *) ac_try_echo=$ac_try;; 369732034fa5Smrgesac 369832034fa5Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 369932034fa5Smrg$as_echo "$ac_try_echo") >&5 370032034fa5Smrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 370132034fa5Smrg ac_status=$? 370232034fa5Smrg grep -v '^ *+' conftest.er1 >conftest.err 370332034fa5Smrg rm -f conftest.er1 370432034fa5Smrg cat conftest.err >&5 370532034fa5Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 370632034fa5Smrg (exit $ac_status); } >/dev/null && { 370732034fa5Smrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 370832034fa5Smrg test ! -s conftest.err 370932034fa5Smrg }; then 371032034fa5Smrg # Broken: success on invalid input. 371132034fa5Smrgcontinue 371232034fa5Smrgelse 371332034fa5Smrg $as_echo "$as_me: failed program was:" >&5 371432034fa5Smrgsed 's/^/| /' conftest.$ac_ext >&5 371532034fa5Smrg 371632034fa5Smrg # Passes both tests. 371732034fa5Smrgac_preproc_ok=: 371832034fa5Smrgbreak 371932034fa5Smrgfi 372032034fa5Smrg 372132034fa5Smrgrm -f conftest.err conftest.$ac_ext 372232034fa5Smrg 372332034fa5Smrgdone 372432034fa5Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 372532034fa5Smrgrm -f conftest.err conftest.$ac_ext 372632034fa5Smrgif $ac_preproc_ok; then 372732034fa5Smrg break 372832034fa5Smrgfi 372932034fa5Smrg 373032034fa5Smrg done 373132034fa5Smrg ac_cv_prog_CPP=$CPP 373232034fa5Smrg 373332034fa5Smrgfi 373432034fa5Smrg CPP=$ac_cv_prog_CPP 373532034fa5Smrgelse 373632034fa5Smrg ac_cv_prog_CPP=$CPP 373732034fa5Smrgfi 373832034fa5Smrg{ $as_echo "$as_me:$LINENO: result: $CPP" >&5 373932034fa5Smrg$as_echo "$CPP" >&6; } 374032034fa5Smrgac_preproc_ok=false 374132034fa5Smrgfor ac_c_preproc_warn_flag in '' yes 374232034fa5Smrgdo 374332034fa5Smrg # Use a header file that comes with gcc, so configuring glibc 374432034fa5Smrg # with a fresh cross-compiler works. 374532034fa5Smrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 374632034fa5Smrg # <limits.h> exists even on freestanding compilers. 374732034fa5Smrg # On the NeXT, cc -E runs the code through the compiler's parser, 374832034fa5Smrg # not just through cpp. "Syntax error" is here to catch this case. 374932034fa5Smrg cat >conftest.$ac_ext <<_ACEOF 375032034fa5Smrg/* confdefs.h. */ 375132034fa5Smrg_ACEOF 375232034fa5Smrgcat confdefs.h >>conftest.$ac_ext 375332034fa5Smrgcat >>conftest.$ac_ext <<_ACEOF 375432034fa5Smrg/* end confdefs.h. */ 375532034fa5Smrg#ifdef __STDC__ 375632034fa5Smrg# include <limits.h> 375732034fa5Smrg#else 375832034fa5Smrg# include <assert.h> 375932034fa5Smrg#endif 376032034fa5Smrg Syntax error 376132034fa5Smrg_ACEOF 376232034fa5Smrgif { (ac_try="$ac_cpp conftest.$ac_ext" 376332034fa5Smrgcase "(($ac_try" in 376432034fa5Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 376532034fa5Smrg *) ac_try_echo=$ac_try;; 376632034fa5Smrgesac 376732034fa5Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 376832034fa5Smrg$as_echo "$ac_try_echo") >&5 376932034fa5Smrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 377032034fa5Smrg ac_status=$? 377132034fa5Smrg grep -v '^ *+' conftest.er1 >conftest.err 377232034fa5Smrg rm -f conftest.er1 377332034fa5Smrg cat conftest.err >&5 377432034fa5Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 377532034fa5Smrg (exit $ac_status); } >/dev/null && { 377632034fa5Smrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 377732034fa5Smrg test ! -s conftest.err 377832034fa5Smrg }; then 377932034fa5Smrg : 378032034fa5Smrgelse 378132034fa5Smrg $as_echo "$as_me: failed program was:" >&5 378232034fa5Smrgsed 's/^/| /' conftest.$ac_ext >&5 378332034fa5Smrg 378432034fa5Smrg # Broken: fails on valid input. 378532034fa5Smrgcontinue 378632034fa5Smrgfi 378732034fa5Smrg 378832034fa5Smrgrm -f conftest.err conftest.$ac_ext 378932034fa5Smrg 379032034fa5Smrg # OK, works on sane cases. Now check whether nonexistent headers 379132034fa5Smrg # can be detected and how. 379232034fa5Smrg cat >conftest.$ac_ext <<_ACEOF 379332034fa5Smrg/* confdefs.h. */ 379432034fa5Smrg_ACEOF 379532034fa5Smrgcat confdefs.h >>conftest.$ac_ext 379632034fa5Smrgcat >>conftest.$ac_ext <<_ACEOF 379732034fa5Smrg/* end confdefs.h. */ 379832034fa5Smrg#include <ac_nonexistent.h> 379932034fa5Smrg_ACEOF 380032034fa5Smrgif { (ac_try="$ac_cpp conftest.$ac_ext" 380132034fa5Smrgcase "(($ac_try" in 380232034fa5Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 380332034fa5Smrg *) ac_try_echo=$ac_try;; 380432034fa5Smrgesac 380532034fa5Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 380632034fa5Smrg$as_echo "$ac_try_echo") >&5 380732034fa5Smrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 380832034fa5Smrg ac_status=$? 380932034fa5Smrg grep -v '^ *+' conftest.er1 >conftest.err 381032034fa5Smrg rm -f conftest.er1 381132034fa5Smrg cat conftest.err >&5 381232034fa5Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 381332034fa5Smrg (exit $ac_status); } >/dev/null && { 381432034fa5Smrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 381532034fa5Smrg test ! -s conftest.err 381632034fa5Smrg }; then 381732034fa5Smrg # Broken: success on invalid input. 381832034fa5Smrgcontinue 381932034fa5Smrgelse 382032034fa5Smrg $as_echo "$as_me: failed program was:" >&5 382132034fa5Smrgsed 's/^/| /' conftest.$ac_ext >&5 382232034fa5Smrg 382332034fa5Smrg # Passes both tests. 382432034fa5Smrgac_preproc_ok=: 382532034fa5Smrgbreak 382632034fa5Smrgfi 382732034fa5Smrg 382832034fa5Smrgrm -f conftest.err conftest.$ac_ext 382932034fa5Smrg 383032034fa5Smrgdone 383132034fa5Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 383232034fa5Smrgrm -f conftest.err conftest.$ac_ext 383332034fa5Smrgif $ac_preproc_ok; then 383432034fa5Smrg : 383532034fa5Smrgelse 383632034fa5Smrg { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 383732034fa5Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 383832034fa5Smrg{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 383932034fa5SmrgSee \`config.log' for more details." >&5 384032034fa5Smrg$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 384132034fa5SmrgSee \`config.log' for more details." >&2;} 384232034fa5Smrg { (exit 1); exit 1; }; }; } 384332034fa5Smrgfi 384432034fa5Smrg 384532034fa5Smrgac_ext=c 384632034fa5Smrgac_cpp='$CPP $CPPFLAGS' 384732034fa5Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 384832034fa5Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 384932034fa5Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 385032034fa5Smrg 385132034fa5Smrg 385232034fa5Smrg{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 385332034fa5Smrg$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 385432034fa5Smrgif test "${ac_cv_path_GREP+set}" = set; then 385532034fa5Smrg $as_echo_n "(cached) " >&6 385632034fa5Smrgelse 385732034fa5Smrg if test -z "$GREP"; then 385832034fa5Smrg ac_path_GREP_found=false 385932034fa5Smrg # Loop through the user's path and test for each of PROGNAME-LIST 386032034fa5Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 386132034fa5Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 386232034fa5Smrgdo 386332034fa5Smrg IFS=$as_save_IFS 386432034fa5Smrg test -z "$as_dir" && as_dir=. 386532034fa5Smrg for ac_prog in grep ggrep; do 386632034fa5Smrg for ac_exec_ext in '' $ac_executable_extensions; do 386732034fa5Smrg ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 386832034fa5Smrg { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 386932034fa5Smrg# Check for GNU ac_path_GREP and select it if it is found. 387032034fa5Smrg # Check for GNU $ac_path_GREP 387132034fa5Smrgcase `"$ac_path_GREP" --version 2>&1` in 387232034fa5Smrg*GNU*) 387332034fa5Smrg ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 387432034fa5Smrg*) 387532034fa5Smrg ac_count=0 387632034fa5Smrg $as_echo_n 0123456789 >"conftest.in" 387732034fa5Smrg while : 387832034fa5Smrg do 387932034fa5Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 388032034fa5Smrg mv "conftest.tmp" "conftest.in" 388132034fa5Smrg cp "conftest.in" "conftest.nl" 388232034fa5Smrg $as_echo 'GREP' >> "conftest.nl" 388332034fa5Smrg "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 388432034fa5Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 388532034fa5Smrg ac_count=`expr $ac_count + 1` 388632034fa5Smrg if test $ac_count -gt ${ac_path_GREP_max-0}; then 388732034fa5Smrg # Best one so far, save it but keep looking for a better one 388832034fa5Smrg ac_cv_path_GREP="$ac_path_GREP" 388932034fa5Smrg ac_path_GREP_max=$ac_count 389032034fa5Smrg fi 389132034fa5Smrg # 10*(2^10) chars as input seems more than enough 389232034fa5Smrg test $ac_count -gt 10 && break 389332034fa5Smrg done 389432034fa5Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 389532034fa5Smrgesac 389632034fa5Smrg 389732034fa5Smrg $ac_path_GREP_found && break 3 389832034fa5Smrg done 389932034fa5Smrg done 390032034fa5Smrgdone 390132034fa5SmrgIFS=$as_save_IFS 390232034fa5Smrg if test -z "$ac_cv_path_GREP"; then 390332034fa5Smrg { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 390432034fa5Smrg$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 390532034fa5Smrg { (exit 1); exit 1; }; } 390632034fa5Smrg fi 390732034fa5Smrgelse 390832034fa5Smrg ac_cv_path_GREP=$GREP 390932034fa5Smrgfi 391032034fa5Smrg 391132034fa5Smrgfi 391232034fa5Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 391332034fa5Smrg$as_echo "$ac_cv_path_GREP" >&6; } 391432034fa5Smrg GREP="$ac_cv_path_GREP" 391532034fa5Smrg 391632034fa5Smrg 391732034fa5Smrg{ $as_echo "$as_me:$LINENO: checking for egrep" >&5 391832034fa5Smrg$as_echo_n "checking for egrep... " >&6; } 391932034fa5Smrgif test "${ac_cv_path_EGREP+set}" = set; then 392032034fa5Smrg $as_echo_n "(cached) " >&6 392132034fa5Smrgelse 392232034fa5Smrg if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 392332034fa5Smrg then ac_cv_path_EGREP="$GREP -E" 392432034fa5Smrg else 392532034fa5Smrg if test -z "$EGREP"; then 392632034fa5Smrg ac_path_EGREP_found=false 392732034fa5Smrg # Loop through the user's path and test for each of PROGNAME-LIST 392832034fa5Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 392932034fa5Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 393032034fa5Smrgdo 393132034fa5Smrg IFS=$as_save_IFS 393232034fa5Smrg test -z "$as_dir" && as_dir=. 393332034fa5Smrg for ac_prog in egrep; do 393432034fa5Smrg for ac_exec_ext in '' $ac_executable_extensions; do 393532034fa5Smrg ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 393632034fa5Smrg { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 393732034fa5Smrg# Check for GNU ac_path_EGREP and select it if it is found. 393832034fa5Smrg # Check for GNU $ac_path_EGREP 393932034fa5Smrgcase `"$ac_path_EGREP" --version 2>&1` in 394032034fa5Smrg*GNU*) 394132034fa5Smrg ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 394232034fa5Smrg*) 394332034fa5Smrg ac_count=0 394432034fa5Smrg $as_echo_n 0123456789 >"conftest.in" 394532034fa5Smrg while : 394632034fa5Smrg do 394732034fa5Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 394832034fa5Smrg mv "conftest.tmp" "conftest.in" 394932034fa5Smrg cp "conftest.in" "conftest.nl" 395032034fa5Smrg $as_echo 'EGREP' >> "conftest.nl" 395132034fa5Smrg "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 395232034fa5Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 395332034fa5Smrg ac_count=`expr $ac_count + 1` 395432034fa5Smrg if test $ac_count -gt ${ac_path_EGREP_max-0}; then 395532034fa5Smrg # Best one so far, save it but keep looking for a better one 395632034fa5Smrg ac_cv_path_EGREP="$ac_path_EGREP" 395732034fa5Smrg ac_path_EGREP_max=$ac_count 395832034fa5Smrg fi 395932034fa5Smrg # 10*(2^10) chars as input seems more than enough 396032034fa5Smrg test $ac_count -gt 10 && break 396132034fa5Smrg done 396232034fa5Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 396332034fa5Smrgesac 396432034fa5Smrg 396532034fa5Smrg $ac_path_EGREP_found && break 3 396632034fa5Smrg done 396732034fa5Smrg done 396832034fa5Smrgdone 396932034fa5SmrgIFS=$as_save_IFS 397032034fa5Smrg if test -z "$ac_cv_path_EGREP"; then 397132034fa5Smrg { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 397232034fa5Smrg$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 397332034fa5Smrg { (exit 1); exit 1; }; } 397432034fa5Smrg fi 397532034fa5Smrgelse 397632034fa5Smrg ac_cv_path_EGREP=$EGREP 397732034fa5Smrgfi 397832034fa5Smrg 397932034fa5Smrg fi 398032034fa5Smrgfi 398132034fa5Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 398232034fa5Smrg$as_echo "$ac_cv_path_EGREP" >&6; } 398332034fa5Smrg EGREP="$ac_cv_path_EGREP" 398432034fa5Smrg 398532034fa5Smrg 398632034fa5Smrg{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 398732034fa5Smrg$as_echo_n "checking for ANSI C header files... " >&6; } 398832034fa5Smrgif test "${ac_cv_header_stdc+set}" = set; then 398932034fa5Smrg $as_echo_n "(cached) " >&6 399032034fa5Smrgelse 399132034fa5Smrg cat >conftest.$ac_ext <<_ACEOF 399232034fa5Smrg/* confdefs.h. */ 399332034fa5Smrg_ACEOF 399432034fa5Smrgcat confdefs.h >>conftest.$ac_ext 399532034fa5Smrgcat >>conftest.$ac_ext <<_ACEOF 399632034fa5Smrg/* end confdefs.h. */ 399732034fa5Smrg#include <stdlib.h> 399832034fa5Smrg#include <stdarg.h> 399932034fa5Smrg#include <string.h> 400032034fa5Smrg#include <float.h> 400132034fa5Smrg 400232034fa5Smrgint 400332034fa5Smrgmain () 400432034fa5Smrg{ 400532034fa5Smrg 400632034fa5Smrg ; 400732034fa5Smrg return 0; 400832034fa5Smrg} 400932034fa5Smrg_ACEOF 401032034fa5Smrgrm -f conftest.$ac_objext 401132034fa5Smrgif { (ac_try="$ac_compile" 401232034fa5Smrgcase "(($ac_try" in 401332034fa5Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 401432034fa5Smrg *) ac_try_echo=$ac_try;; 401532034fa5Smrgesac 401632034fa5Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 401732034fa5Smrg$as_echo "$ac_try_echo") >&5 401832034fa5Smrg (eval "$ac_compile") 2>conftest.er1 401932034fa5Smrg ac_status=$? 402032034fa5Smrg grep -v '^ *+' conftest.er1 >conftest.err 402132034fa5Smrg rm -f conftest.er1 402232034fa5Smrg cat conftest.err >&5 402332034fa5Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 402432034fa5Smrg (exit $ac_status); } && { 402532034fa5Smrg test -z "$ac_c_werror_flag" || 402632034fa5Smrg test ! -s conftest.err 402732034fa5Smrg } && test -s conftest.$ac_objext; then 402832034fa5Smrg ac_cv_header_stdc=yes 402932034fa5Smrgelse 403032034fa5Smrg $as_echo "$as_me: failed program was:" >&5 403132034fa5Smrgsed 's/^/| /' conftest.$ac_ext >&5 403232034fa5Smrg 403332034fa5Smrg ac_cv_header_stdc=no 403432034fa5Smrgfi 403532034fa5Smrg 403632034fa5Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 403732034fa5Smrg 403832034fa5Smrgif test $ac_cv_header_stdc = yes; then 403932034fa5Smrg # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 404032034fa5Smrg cat >conftest.$ac_ext <<_ACEOF 404132034fa5Smrg/* confdefs.h. */ 404232034fa5Smrg_ACEOF 404332034fa5Smrgcat confdefs.h >>conftest.$ac_ext 404432034fa5Smrgcat >>conftest.$ac_ext <<_ACEOF 404532034fa5Smrg/* end confdefs.h. */ 404632034fa5Smrg#include <string.h> 404732034fa5Smrg 404832034fa5Smrg_ACEOF 404932034fa5Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 405032034fa5Smrg $EGREP "memchr" >/dev/null 2>&1; then 405132034fa5Smrg : 405232034fa5Smrgelse 405332034fa5Smrg ac_cv_header_stdc=no 405432034fa5Smrgfi 405532034fa5Smrgrm -f conftest* 405632034fa5Smrg 405732034fa5Smrgfi 405832034fa5Smrg 405932034fa5Smrgif test $ac_cv_header_stdc = yes; then 406032034fa5Smrg # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 406132034fa5Smrg cat >conftest.$ac_ext <<_ACEOF 406232034fa5Smrg/* confdefs.h. */ 406332034fa5Smrg_ACEOF 406432034fa5Smrgcat confdefs.h >>conftest.$ac_ext 406532034fa5Smrgcat >>conftest.$ac_ext <<_ACEOF 406632034fa5Smrg/* end confdefs.h. */ 406732034fa5Smrg#include <stdlib.h> 406832034fa5Smrg 406932034fa5Smrg_ACEOF 407032034fa5Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 407132034fa5Smrg $EGREP "free" >/dev/null 2>&1; then 407232034fa5Smrg : 407332034fa5Smrgelse 407432034fa5Smrg ac_cv_header_stdc=no 407532034fa5Smrgfi 407632034fa5Smrgrm -f conftest* 407732034fa5Smrg 407832034fa5Smrgfi 407932034fa5Smrg 408032034fa5Smrgif test $ac_cv_header_stdc = yes; then 408132034fa5Smrg # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 408232034fa5Smrg if test "$cross_compiling" = yes; then 408332034fa5Smrg : 408432034fa5Smrgelse 408532034fa5Smrg cat >conftest.$ac_ext <<_ACEOF 408632034fa5Smrg/* confdefs.h. */ 408732034fa5Smrg_ACEOF 408832034fa5Smrgcat confdefs.h >>conftest.$ac_ext 408932034fa5Smrgcat >>conftest.$ac_ext <<_ACEOF 409032034fa5Smrg/* end confdefs.h. */ 409132034fa5Smrg#include <ctype.h> 409232034fa5Smrg#include <stdlib.h> 409332034fa5Smrg#if ((' ' & 0x0FF) == 0x020) 409432034fa5Smrg# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 409532034fa5Smrg# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 409632034fa5Smrg#else 409732034fa5Smrg# define ISLOWER(c) \ 409832034fa5Smrg (('a' <= (c) && (c) <= 'i') \ 409932034fa5Smrg || ('j' <= (c) && (c) <= 'r') \ 410032034fa5Smrg || ('s' <= (c) && (c) <= 'z')) 410132034fa5Smrg# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 410232034fa5Smrg#endif 410332034fa5Smrg 410432034fa5Smrg#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 410532034fa5Smrgint 410632034fa5Smrgmain () 410732034fa5Smrg{ 410832034fa5Smrg int i; 410932034fa5Smrg for (i = 0; i < 256; i++) 411032034fa5Smrg if (XOR (islower (i), ISLOWER (i)) 411132034fa5Smrg || toupper (i) != TOUPPER (i)) 411232034fa5Smrg return 2; 411332034fa5Smrg return 0; 411432034fa5Smrg} 411532034fa5Smrg_ACEOF 411632034fa5Smrgrm -f conftest$ac_exeext 411732034fa5Smrgif { (ac_try="$ac_link" 411832034fa5Smrgcase "(($ac_try" in 411932034fa5Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 412032034fa5Smrg *) ac_try_echo=$ac_try;; 412132034fa5Smrgesac 412232034fa5Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 412332034fa5Smrg$as_echo "$ac_try_echo") >&5 412432034fa5Smrg (eval "$ac_link") 2>&5 412532034fa5Smrg ac_status=$? 412632034fa5Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 412732034fa5Smrg (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 412832034fa5Smrg { (case "(($ac_try" in 412932034fa5Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 413032034fa5Smrg *) ac_try_echo=$ac_try;; 413132034fa5Smrgesac 413232034fa5Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 413332034fa5Smrg$as_echo "$ac_try_echo") >&5 413432034fa5Smrg (eval "$ac_try") 2>&5 413532034fa5Smrg ac_status=$? 413632034fa5Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 413732034fa5Smrg (exit $ac_status); }; }; then 413832034fa5Smrg : 413932034fa5Smrgelse 414032034fa5Smrg $as_echo "$as_me: program exited with status $ac_status" >&5 414132034fa5Smrg$as_echo "$as_me: failed program was:" >&5 414232034fa5Smrgsed 's/^/| /' conftest.$ac_ext >&5 414332034fa5Smrg 414432034fa5Smrg( exit $ac_status ) 414532034fa5Smrgac_cv_header_stdc=no 414632034fa5Smrgfi 414732034fa5Smrgrm -rf conftest.dSYM 414832034fa5Smrgrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 414932034fa5Smrgfi 415032034fa5Smrg 415132034fa5Smrg 415232034fa5Smrgfi 415332034fa5Smrgfi 415432034fa5Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 415532034fa5Smrg$as_echo "$ac_cv_header_stdc" >&6; } 415632034fa5Smrgif test $ac_cv_header_stdc = yes; then 415732034fa5Smrg 415832034fa5Smrgcat >>confdefs.h <<\_ACEOF 415932034fa5Smrg#define STDC_HEADERS 1 416032034fa5Smrg_ACEOF 416132034fa5Smrg 416232034fa5Smrgfi 416332034fa5Smrg 416432034fa5Smrg# On IRIX 5.3, sys/types and inttypes.h are conflicting. 416532034fa5Smrg 416632034fa5Smrg 416732034fa5Smrg 416832034fa5Smrg 416932034fa5Smrg 417032034fa5Smrg 417132034fa5Smrg 417232034fa5Smrg 417332034fa5Smrg 417432034fa5Smrgfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 417532034fa5Smrg inttypes.h stdint.h unistd.h 417632034fa5Smrgdo 417732034fa5Smrgas_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 417832034fa5Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 417932034fa5Smrg$as_echo_n "checking for $ac_header... " >&6; } 418032034fa5Smrgif { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 418132034fa5Smrg $as_echo_n "(cached) " >&6 418232034fa5Smrgelse 418332034fa5Smrg cat >conftest.$ac_ext <<_ACEOF 418432034fa5Smrg/* confdefs.h. */ 418532034fa5Smrg_ACEOF 418632034fa5Smrgcat confdefs.h >>conftest.$ac_ext 418732034fa5Smrgcat >>conftest.$ac_ext <<_ACEOF 418832034fa5Smrg/* end confdefs.h. */ 418932034fa5Smrg$ac_includes_default 419032034fa5Smrg 419132034fa5Smrg#include <$ac_header> 419232034fa5Smrg_ACEOF 419332034fa5Smrgrm -f conftest.$ac_objext 419432034fa5Smrgif { (ac_try="$ac_compile" 419532034fa5Smrgcase "(($ac_try" in 419632034fa5Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 419732034fa5Smrg *) ac_try_echo=$ac_try;; 419832034fa5Smrgesac 419932034fa5Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 420032034fa5Smrg$as_echo "$ac_try_echo") >&5 420132034fa5Smrg (eval "$ac_compile") 2>conftest.er1 420232034fa5Smrg ac_status=$? 420332034fa5Smrg grep -v '^ *+' conftest.er1 >conftest.err 420432034fa5Smrg rm -f conftest.er1 420532034fa5Smrg cat conftest.err >&5 420632034fa5Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 420732034fa5Smrg (exit $ac_status); } && { 420832034fa5Smrg test -z "$ac_c_werror_flag" || 420932034fa5Smrg test ! -s conftest.err 421032034fa5Smrg } && test -s conftest.$ac_objext; then 421132034fa5Smrg eval "$as_ac_Header=yes" 421232034fa5Smrgelse 421332034fa5Smrg $as_echo "$as_me: failed program was:" >&5 421432034fa5Smrgsed 's/^/| /' conftest.$ac_ext >&5 421532034fa5Smrg 421632034fa5Smrg eval "$as_ac_Header=no" 421732034fa5Smrgfi 421832034fa5Smrg 421932034fa5Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 422032034fa5Smrgfi 422132034fa5Smrgac_res=`eval 'as_val=${'$as_ac_Header'} 422232034fa5Smrg $as_echo "$as_val"'` 422332034fa5Smrg { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 422432034fa5Smrg$as_echo "$ac_res" >&6; } 422532034fa5Smrgas_val=`eval 'as_val=${'$as_ac_Header'} 422632034fa5Smrg $as_echo "$as_val"'` 422732034fa5Smrg if test "x$as_val" = x""yes; then 422832034fa5Smrg cat >>confdefs.h <<_ACEOF 422932034fa5Smrg#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 423032034fa5Smrg_ACEOF 423132034fa5Smrg 423232034fa5Smrgfi 423332034fa5Smrg 423432034fa5Smrgdone 423532034fa5Smrg 423632034fa5Smrg 423732034fa5Smrg { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5 423832034fa5Smrg$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 423932034fa5Smrgif test "${ac_cv_prog_cc_c99+set}" = set; then 424032034fa5Smrg $as_echo_n "(cached) " >&6 424132034fa5Smrgelse 424232034fa5Smrg ac_cv_prog_cc_c99=no 424332034fa5Smrgac_save_CC=$CC 424432034fa5Smrgcat >conftest.$ac_ext <<_ACEOF 424532034fa5Smrg/* confdefs.h. */ 424632034fa5Smrg_ACEOF 424732034fa5Smrgcat confdefs.h >>conftest.$ac_ext 424832034fa5Smrgcat >>conftest.$ac_ext <<_ACEOF 424932034fa5Smrg/* end confdefs.h. */ 425032034fa5Smrg#include <stdarg.h> 425132034fa5Smrg#include <stdbool.h> 425232034fa5Smrg#include <stdlib.h> 425332034fa5Smrg#include <wchar.h> 425432034fa5Smrg#include <stdio.h> 425532034fa5Smrg 425632034fa5Smrg// Check varargs macros. These examples are taken from C99 6.10.3.5. 425732034fa5Smrg#define debug(...) fprintf (stderr, __VA_ARGS__) 425832034fa5Smrg#define showlist(...) puts (#__VA_ARGS__) 425932034fa5Smrg#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 426032034fa5Smrgstatic void 426132034fa5Smrgtest_varargs_macros (void) 426232034fa5Smrg{ 426332034fa5Smrg int x = 1234; 426432034fa5Smrg int y = 5678; 426532034fa5Smrg debug ("Flag"); 426632034fa5Smrg debug ("X = %d\n", x); 426732034fa5Smrg showlist (The first, second, and third items.); 426832034fa5Smrg report (x>y, "x is %d but y is %d", x, y); 426932034fa5Smrg} 427032034fa5Smrg 427132034fa5Smrg// Check long long types. 427232034fa5Smrg#define BIG64 18446744073709551615ull 427332034fa5Smrg#define BIG32 4294967295ul 427432034fa5Smrg#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 427532034fa5Smrg#if !BIG_OK 427632034fa5Smrg your preprocessor is broken; 427732034fa5Smrg#endif 427832034fa5Smrg#if BIG_OK 427932034fa5Smrg#else 428032034fa5Smrg your preprocessor is broken; 428132034fa5Smrg#endif 428232034fa5Smrgstatic long long int bignum = -9223372036854775807LL; 428332034fa5Smrgstatic unsigned long long int ubignum = BIG64; 428432034fa5Smrg 428532034fa5Smrgstruct incomplete_array 428632034fa5Smrg{ 428732034fa5Smrg int datasize; 428832034fa5Smrg double data[]; 428932034fa5Smrg}; 429032034fa5Smrg 429132034fa5Smrgstruct named_init { 429232034fa5Smrg int number; 429332034fa5Smrg const wchar_t *name; 429432034fa5Smrg double average; 429532034fa5Smrg}; 429632034fa5Smrg 429732034fa5Smrgtypedef const char *ccp; 429832034fa5Smrg 429932034fa5Smrgstatic inline int 430032034fa5Smrgtest_restrict (ccp restrict text) 430132034fa5Smrg{ 430232034fa5Smrg // See if C++-style comments work. 430332034fa5Smrg // Iterate through items via the restricted pointer. 430432034fa5Smrg // Also check for declarations in for loops. 430532034fa5Smrg for (unsigned int i = 0; *(text+i) != '\0'; ++i) 430632034fa5Smrg continue; 430732034fa5Smrg return 0; 430832034fa5Smrg} 430932034fa5Smrg 431032034fa5Smrg// Check varargs and va_copy. 431132034fa5Smrgstatic void 431232034fa5Smrgtest_varargs (const char *format, ...) 431332034fa5Smrg{ 431432034fa5Smrg va_list args; 431532034fa5Smrg va_start (args, format); 431632034fa5Smrg va_list args_copy; 431732034fa5Smrg va_copy (args_copy, args); 431832034fa5Smrg 431932034fa5Smrg const char *str; 432032034fa5Smrg int number; 432132034fa5Smrg float fnumber; 432232034fa5Smrg 432332034fa5Smrg while (*format) 432432034fa5Smrg { 432532034fa5Smrg switch (*format++) 432632034fa5Smrg { 432732034fa5Smrg case 's': // string 432832034fa5Smrg str = va_arg (args_copy, const char *); 432932034fa5Smrg break; 433032034fa5Smrg case 'd': // int 433132034fa5Smrg number = va_arg (args_copy, int); 433232034fa5Smrg break; 433332034fa5Smrg case 'f': // float 433432034fa5Smrg fnumber = va_arg (args_copy, double); 433532034fa5Smrg break; 433632034fa5Smrg default: 433732034fa5Smrg break; 433832034fa5Smrg } 433932034fa5Smrg } 434032034fa5Smrg va_end (args_copy); 434132034fa5Smrg va_end (args); 434232034fa5Smrg} 434332034fa5Smrg 434432034fa5Smrgint 434532034fa5Smrgmain () 434632034fa5Smrg{ 434732034fa5Smrg 434832034fa5Smrg // Check bool. 434932034fa5Smrg _Bool success = false; 435032034fa5Smrg 435132034fa5Smrg // Check restrict. 435232034fa5Smrg if (test_restrict ("String literal") == 0) 435332034fa5Smrg success = true; 435432034fa5Smrg char *restrict newvar = "Another string"; 435532034fa5Smrg 435632034fa5Smrg // Check varargs. 435732034fa5Smrg test_varargs ("s, d' f .", "string", 65, 34.234); 435832034fa5Smrg test_varargs_macros (); 435932034fa5Smrg 436032034fa5Smrg // Check flexible array members. 436132034fa5Smrg struct incomplete_array *ia = 436232034fa5Smrg malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 436332034fa5Smrg ia->datasize = 10; 436432034fa5Smrg for (int i = 0; i < ia->datasize; ++i) 436532034fa5Smrg ia->data[i] = i * 1.234; 436632034fa5Smrg 436732034fa5Smrg // Check named initializers. 436832034fa5Smrg struct named_init ni = { 436932034fa5Smrg .number = 34, 437032034fa5Smrg .name = L"Test wide string", 437132034fa5Smrg .average = 543.34343, 437232034fa5Smrg }; 437332034fa5Smrg 437432034fa5Smrg ni.number = 58; 437532034fa5Smrg 437632034fa5Smrg int dynamic_array[ni.number]; 437732034fa5Smrg dynamic_array[ni.number - 1] = 543; 437832034fa5Smrg 437932034fa5Smrg // work around unused variable warnings 438032034fa5Smrg return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 438132034fa5Smrg || dynamic_array[ni.number - 1] != 543); 438232034fa5Smrg 438332034fa5Smrg ; 438432034fa5Smrg return 0; 438532034fa5Smrg} 438632034fa5Smrg_ACEOF 438732034fa5Smrgfor ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 438832034fa5Smrgdo 438932034fa5Smrg CC="$ac_save_CC $ac_arg" 439032034fa5Smrg rm -f conftest.$ac_objext 439132034fa5Smrgif { (ac_try="$ac_compile" 439232034fa5Smrgcase "(($ac_try" in 439332034fa5Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 439432034fa5Smrg *) ac_try_echo=$ac_try;; 439532034fa5Smrgesac 439632034fa5Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 439732034fa5Smrg$as_echo "$ac_try_echo") >&5 439832034fa5Smrg (eval "$ac_compile") 2>conftest.er1 439932034fa5Smrg ac_status=$? 440032034fa5Smrg grep -v '^ *+' conftest.er1 >conftest.err 440132034fa5Smrg rm -f conftest.er1 440232034fa5Smrg cat conftest.err >&5 440332034fa5Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 440432034fa5Smrg (exit $ac_status); } && { 440532034fa5Smrg test -z "$ac_c_werror_flag" || 440632034fa5Smrg test ! -s conftest.err 440732034fa5Smrg } && test -s conftest.$ac_objext; then 440832034fa5Smrg ac_cv_prog_cc_c99=$ac_arg 440932034fa5Smrgelse 441032034fa5Smrg $as_echo "$as_me: failed program was:" >&5 441132034fa5Smrgsed 's/^/| /' conftest.$ac_ext >&5 441232034fa5Smrg 441332034fa5Smrg 441432034fa5Smrgfi 441532034fa5Smrg 441632034fa5Smrgrm -f core conftest.err conftest.$ac_objext 441732034fa5Smrg test "x$ac_cv_prog_cc_c99" != "xno" && break 441832034fa5Smrgdone 441932034fa5Smrgrm -f conftest.$ac_ext 442032034fa5SmrgCC=$ac_save_CC 442132034fa5Smrg 442232034fa5Smrgfi 442332034fa5Smrg# AC_CACHE_VAL 442432034fa5Smrgcase "x$ac_cv_prog_cc_c99" in 442532034fa5Smrg x) 442632034fa5Smrg { $as_echo "$as_me:$LINENO: result: none needed" >&5 442732034fa5Smrg$as_echo "none needed" >&6; } ;; 442832034fa5Smrg xno) 442932034fa5Smrg { $as_echo "$as_me:$LINENO: result: unsupported" >&5 443032034fa5Smrg$as_echo "unsupported" >&6; } ;; 443132034fa5Smrg *) 443232034fa5Smrg CC="$CC $ac_cv_prog_cc_c99" 443332034fa5Smrg { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5 443432034fa5Smrg$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 443532034fa5Smrgesac 443632034fa5Smrg 443732034fa5Smrg 443832034fa5Smrg 443932034fa5Smrg# Make sure we can run config.sub. 444032034fa5Smrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 444132034fa5Smrg { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 444232034fa5Smrg$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 444332034fa5Smrg { (exit 1); exit 1; }; } 444432034fa5Smrg 444532034fa5Smrg{ $as_echo "$as_me:$LINENO: checking build system type" >&5 444632034fa5Smrg$as_echo_n "checking build system type... " >&6; } 444732034fa5Smrgif test "${ac_cv_build+set}" = set; then 444832034fa5Smrg $as_echo_n "(cached) " >&6 444932034fa5Smrgelse 445032034fa5Smrg ac_build_alias=$build_alias 445132034fa5Smrgtest "x$ac_build_alias" = x && 445232034fa5Smrg ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 445332034fa5Smrgtest "x$ac_build_alias" = x && 445432034fa5Smrg { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 445532034fa5Smrg$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 445632034fa5Smrg { (exit 1); exit 1; }; } 445732034fa5Smrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 445832034fa5Smrg { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 445932034fa5Smrg$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 446032034fa5Smrg { (exit 1); exit 1; }; } 446132034fa5Smrg 446232034fa5Smrgfi 446332034fa5Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 446432034fa5Smrg$as_echo "$ac_cv_build" >&6; } 446532034fa5Smrgcase $ac_cv_build in 446632034fa5Smrg*-*-*) ;; 446732034fa5Smrg*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 446832034fa5Smrg$as_echo "$as_me: error: invalid value of canonical build" >&2;} 446932034fa5Smrg { (exit 1); exit 1; }; };; 447032034fa5Smrgesac 447132034fa5Smrgbuild=$ac_cv_build 447232034fa5Smrgac_save_IFS=$IFS; IFS='-' 447332034fa5Smrgset x $ac_cv_build 447432034fa5Smrgshift 447532034fa5Smrgbuild_cpu=$1 447632034fa5Smrgbuild_vendor=$2 447732034fa5Smrgshift; shift 447832034fa5Smrg# Remember, the first character of IFS is used to create $*, 447932034fa5Smrg# except with old shells: 448032034fa5Smrgbuild_os=$* 448132034fa5SmrgIFS=$ac_save_IFS 448232034fa5Smrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 448332034fa5Smrg 448432034fa5Smrg 448532034fa5Smrg{ $as_echo "$as_me:$LINENO: checking host system type" >&5 448632034fa5Smrg$as_echo_n "checking host system type... " >&6; } 448732034fa5Smrgif test "${ac_cv_host+set}" = set; then 448832034fa5Smrg $as_echo_n "(cached) " >&6 44894ecf19b2Smrgelse 449032034fa5Smrg if test "x$host_alias" = x; then 449132034fa5Smrg ac_cv_host=$ac_cv_build 449232034fa5Smrgelse 449332034fa5Smrg ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 449432034fa5Smrg { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 449532034fa5Smrg$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 449632034fa5Smrg { (exit 1); exit 1; }; } 44974ecf19b2Smrgfi 44984ecf19b2Smrg 449932034fa5Smrgfi 450032034fa5Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 450132034fa5Smrg$as_echo "$ac_cv_host" >&6; } 450232034fa5Smrgcase $ac_cv_host in 450332034fa5Smrg*-*-*) ;; 450432034fa5Smrg*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 450532034fa5Smrg$as_echo "$as_me: error: invalid value of canonical host" >&2;} 450632034fa5Smrg { (exit 1); exit 1; }; };; 450732034fa5Smrgesac 450832034fa5Smrghost=$ac_cv_host 450932034fa5Smrgac_save_IFS=$IFS; IFS='-' 451032034fa5Smrgset x $ac_cv_host 451132034fa5Smrgshift 451232034fa5Smrghost_cpu=$1 451332034fa5Smrghost_vendor=$2 451432034fa5Smrgshift; shift 451532034fa5Smrg# Remember, the first character of IFS is used to create $*, 451632034fa5Smrg# except with old shells: 451732034fa5Smrghost_os=$* 451832034fa5SmrgIFS=$ac_save_IFS 451932034fa5Smrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 452032034fa5Smrg 452132034fa5Smrg 452232034fa5Smrg 452332034fa5Smrg 452432034fa5Smrg 452532034fa5Smrgif test "x$GCC" = xyes ; then 452632034fa5Smrg CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \ 452732034fa5Smrg-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \ 452832034fa5Smrg-Wbad-function-cast" 452932034fa5Smrg case `$CC -dumpversion` in 453032034fa5Smrg 3.4.* | 4.*) 453132034fa5Smrg CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement" 453232034fa5Smrg ;; 453332034fa5Smrg esac 453432034fa5Smrgelse 453532034fa5Smrg { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5 453632034fa5Smrg$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; } 453732034fa5Smrgif test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then 453832034fa5Smrg $as_echo_n "(cached) " >&6 453932034fa5Smrgelse 454032034fa5Smrg cat >conftest.$ac_ext <<_ACEOF 454132034fa5Smrg/* confdefs.h. */ 454232034fa5Smrg_ACEOF 454332034fa5Smrgcat confdefs.h >>conftest.$ac_ext 454432034fa5Smrgcat >>conftest.$ac_ext <<_ACEOF 454532034fa5Smrg/* end confdefs.h. */ 454632034fa5Smrg$ac_includes_default 454732034fa5Smrgint 454832034fa5Smrgmain () 454932034fa5Smrg{ 455032034fa5Smrg#ifndef __SUNPRO_C 455132034fa5Smrg (void) __SUNPRO_C; 455232034fa5Smrg#endif 455332034fa5Smrg 455432034fa5Smrg ; 455532034fa5Smrg return 0; 455632034fa5Smrg} 455732034fa5Smrg_ACEOF 455832034fa5Smrgrm -f conftest.$ac_objext 455932034fa5Smrgif { (ac_try="$ac_compile" 456032034fa5Smrgcase "(($ac_try" in 456132034fa5Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 456232034fa5Smrg *) ac_try_echo=$ac_try;; 456332034fa5Smrgesac 456432034fa5Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 456532034fa5Smrg$as_echo "$ac_try_echo") >&5 456632034fa5Smrg (eval "$ac_compile") 2>conftest.er1 456732034fa5Smrg ac_status=$? 456832034fa5Smrg grep -v '^ *+' conftest.er1 >conftest.err 456932034fa5Smrg rm -f conftest.er1 457032034fa5Smrg cat conftest.err >&5 457132034fa5Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 457232034fa5Smrg (exit $ac_status); } && { 457332034fa5Smrg test -z "$ac_c_werror_flag" || 457432034fa5Smrg test ! -s conftest.err 457532034fa5Smrg } && test -s conftest.$ac_objext; then 457632034fa5Smrg ac_cv_have_decl___SUNPRO_C=yes 457732034fa5Smrgelse 457832034fa5Smrg $as_echo "$as_me: failed program was:" >&5 457932034fa5Smrgsed 's/^/| /' conftest.$ac_ext >&5 458032034fa5Smrg 458132034fa5Smrg ac_cv_have_decl___SUNPRO_C=no 458232034fa5Smrgfi 458332034fa5Smrg 458432034fa5Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 458532034fa5Smrgfi 458632034fa5Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5 458732034fa5Smrg$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; } 458832034fa5Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then 458932034fa5Smrg SUNCC="yes" 459032034fa5Smrgelse 459132034fa5Smrg SUNCC="no" 459232034fa5Smrgfi 459332034fa5Smrg 459432034fa5Smrg if test "x$SUNCC" = "xyes"; then 459532034fa5Smrg CWARNFLAGS="-v" 459632034fa5Smrg fi 459732034fa5Smrgfi 459832034fa5Smrg 459932034fa5Smrg# Check whether --enable-silent-rules was given. 460032034fa5Smrgif test "${enable_silent_rules+set}" = set; then 460132034fa5Smrg enableval=$enable_silent_rules; 460232034fa5Smrgfi 460332034fa5Smrg 460432034fa5Smrgcase $enable_silent_rules in 460532034fa5Smrgyes) AM_DEFAULT_VERBOSITY=0;; 460632034fa5Smrgno) AM_DEFAULT_VERBOSITY=1;; 460732034fa5Smrg*) AM_DEFAULT_VERBOSITY=0;; 460832034fa5Smrgesac 460932034fa5SmrgAM_BACKSLASH='\' 461032034fa5Smrg 461132034fa5Smrg 461232034fa5Smrg 461332034fa5Smrg 461432034fa5Smrg 461532034fa5Smrg 461632034fa5Smrg 461732034fa5Smrg# Check whether --enable-strict-compilation was given. 461832034fa5Smrgif test "${enable_strict_compilation+set}" = set; then 461932034fa5Smrg enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval 462032034fa5Smrgelse 462132034fa5Smrg STRICT_COMPILE=no 462232034fa5Smrgfi 462332034fa5Smrg 462432034fa5Smrgif test "x$STRICT_COMPILE" = "xyes"; then 462532034fa5Smrg { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5 462632034fa5Smrg$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; } 462732034fa5Smrgif test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then 462832034fa5Smrg $as_echo_n "(cached) " >&6 462932034fa5Smrgelse 463032034fa5Smrg cat >conftest.$ac_ext <<_ACEOF 463132034fa5Smrg/* confdefs.h. */ 463232034fa5Smrg_ACEOF 463332034fa5Smrgcat confdefs.h >>conftest.$ac_ext 463432034fa5Smrgcat >>conftest.$ac_ext <<_ACEOF 463532034fa5Smrg/* end confdefs.h. */ 463632034fa5Smrg$ac_includes_default 463732034fa5Smrgint 463832034fa5Smrgmain () 463932034fa5Smrg{ 464032034fa5Smrg#ifndef __SUNPRO_C 464132034fa5Smrg (void) __SUNPRO_C; 464232034fa5Smrg#endif 464332034fa5Smrg 464432034fa5Smrg ; 464532034fa5Smrg return 0; 464632034fa5Smrg} 464732034fa5Smrg_ACEOF 464832034fa5Smrgrm -f conftest.$ac_objext 464932034fa5Smrgif { (ac_try="$ac_compile" 465032034fa5Smrgcase "(($ac_try" in 465132034fa5Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 465232034fa5Smrg *) ac_try_echo=$ac_try;; 465332034fa5Smrgesac 465432034fa5Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 465532034fa5Smrg$as_echo "$ac_try_echo") >&5 465632034fa5Smrg (eval "$ac_compile") 2>conftest.er1 465732034fa5Smrg ac_status=$? 465832034fa5Smrg grep -v '^ *+' conftest.er1 >conftest.err 465932034fa5Smrg rm -f conftest.er1 466032034fa5Smrg cat conftest.err >&5 466132034fa5Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 466232034fa5Smrg (exit $ac_status); } && { 466332034fa5Smrg test -z "$ac_c_werror_flag" || 466432034fa5Smrg test ! -s conftest.err 466532034fa5Smrg } && test -s conftest.$ac_objext; then 466632034fa5Smrg ac_cv_have_decl___SUNPRO_C=yes 466732034fa5Smrgelse 466832034fa5Smrg $as_echo "$as_me: failed program was:" >&5 466932034fa5Smrgsed 's/^/| /' conftest.$ac_ext >&5 467032034fa5Smrg 467132034fa5Smrg ac_cv_have_decl___SUNPRO_C=no 467232034fa5Smrgfi 467332034fa5Smrg 467432034fa5Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 467532034fa5Smrgfi 467632034fa5Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5 467732034fa5Smrg$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; } 467832034fa5Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then 467932034fa5Smrg SUNCC="yes" 468032034fa5Smrgelse 468132034fa5Smrg SUNCC="no" 468232034fa5Smrgfi 468332034fa5Smrg 468432034fa5Smrg { $as_echo "$as_me:$LINENO: checking whether __INTEL_COMPILER is declared" >&5 468532034fa5Smrg$as_echo_n "checking whether __INTEL_COMPILER is declared... " >&6; } 468632034fa5Smrgif test "${ac_cv_have_decl___INTEL_COMPILER+set}" = set; then 468732034fa5Smrg $as_echo_n "(cached) " >&6 468832034fa5Smrgelse 468932034fa5Smrg cat >conftest.$ac_ext <<_ACEOF 469032034fa5Smrg/* confdefs.h. */ 469132034fa5Smrg_ACEOF 469232034fa5Smrgcat confdefs.h >>conftest.$ac_ext 469332034fa5Smrgcat >>conftest.$ac_ext <<_ACEOF 469432034fa5Smrg/* end confdefs.h. */ 469532034fa5Smrg$ac_includes_default 469632034fa5Smrgint 469732034fa5Smrgmain () 469832034fa5Smrg{ 469932034fa5Smrg#ifndef __INTEL_COMPILER 470032034fa5Smrg (void) __INTEL_COMPILER; 470132034fa5Smrg#endif 470232034fa5Smrg 470332034fa5Smrg ; 470432034fa5Smrg return 0; 470532034fa5Smrg} 470632034fa5Smrg_ACEOF 470732034fa5Smrgrm -f conftest.$ac_objext 470832034fa5Smrgif { (ac_try="$ac_compile" 470932034fa5Smrgcase "(($ac_try" in 471032034fa5Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 471132034fa5Smrg *) ac_try_echo=$ac_try;; 471232034fa5Smrgesac 471332034fa5Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 471432034fa5Smrg$as_echo "$ac_try_echo") >&5 471532034fa5Smrg (eval "$ac_compile") 2>conftest.er1 471632034fa5Smrg ac_status=$? 471732034fa5Smrg grep -v '^ *+' conftest.er1 >conftest.err 471832034fa5Smrg rm -f conftest.er1 471932034fa5Smrg cat conftest.err >&5 472032034fa5Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 472132034fa5Smrg (exit $ac_status); } && { 472232034fa5Smrg test -z "$ac_c_werror_flag" || 472332034fa5Smrg test ! -s conftest.err 472432034fa5Smrg } && test -s conftest.$ac_objext; then 472532034fa5Smrg ac_cv_have_decl___INTEL_COMPILER=yes 472632034fa5Smrgelse 472732034fa5Smrg $as_echo "$as_me: failed program was:" >&5 472832034fa5Smrgsed 's/^/| /' conftest.$ac_ext >&5 472932034fa5Smrg 473032034fa5Smrg ac_cv_have_decl___INTEL_COMPILER=no 473132034fa5Smrgfi 473232034fa5Smrg 473332034fa5Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 473432034fa5Smrgfi 473532034fa5Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___INTEL_COMPILER" >&5 473632034fa5Smrg$as_echo "$ac_cv_have_decl___INTEL_COMPILER" >&6; } 473732034fa5Smrgif test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then 473832034fa5Smrg INTELCC="yes" 473932034fa5Smrgelse 474032034fa5Smrg INTELCC="no" 474132034fa5Smrgfi 474232034fa5Smrg 474332034fa5Smrg if test "x$GCC" = xyes ; then 474432034fa5Smrg STRICT_CFLAGS="-pedantic -Werror" 474532034fa5Smrg elif test "x$SUNCC" = "xyes"; then 474632034fa5Smrg STRICT_CFLAGS="-errwarn" 474732034fa5Smrg elif test "x$INTELCC" = "xyes"; then 474832034fa5Smrg STRICT_CFLAGS="-Werror" 474932034fa5Smrg fi 475032034fa5Smrgfi 475132034fa5SmrgCWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS" 475232034fa5Smrg 475332034fa5Smrg 475432034fa5Smrg 475532034fa5Smrg 475632034fa5Smrg# Check whether --with-release-version was given. 475732034fa5Smrgif test "${with_release_version+set}" = set; then 475832034fa5Smrg withval=$with_release_version; RELEASE_VERSION="$withval" 475932034fa5Smrgelse 476032034fa5Smrg RELEASE_VERSION="" 476132034fa5Smrgfi 476232034fa5Smrg 476332034fa5Smrg if test "x$RELEASE_VERSION" != "x"; then 476432034fa5Smrg PACKAGE="$PACKAGE-$RELEASE_VERSION" 476532034fa5Smrg PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION" 476632034fa5Smrg { $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5 476732034fa5Smrg$as_echo "$as_me: Building with package name set to $PACKAGE" >&6;} 476832034fa5Smrg fi 476932034fa5Smrg 477032034fa5Smrgcat >>confdefs.h <<_ACEOF 477132034fa5Smrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 477232034fa5Smrg_ACEOF 477332034fa5Smrg 477432034fa5Smrg PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 477532034fa5Smrg if test "x$PVM" = "x"; then 477632034fa5Smrg PVM="0" 477732034fa5Smrg fi 477832034fa5Smrg 477932034fa5Smrgcat >>confdefs.h <<_ACEOF 478032034fa5Smrg#define PACKAGE_VERSION_MINOR $PVM 478132034fa5Smrg_ACEOF 478232034fa5Smrg 478332034fa5Smrg PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 478432034fa5Smrg if test "x$PVP" = "x"; then 478532034fa5Smrg PVP="0" 478632034fa5Smrg fi 478732034fa5Smrg 478832034fa5Smrgcat >>confdefs.h <<_ACEOF 478932034fa5Smrg#define PACKAGE_VERSION_PATCHLEVEL $PVP 479032034fa5Smrg_ACEOF 479132034fa5Smrg 479232034fa5Smrg 479332034fa5Smrg 479432034fa5SmrgCHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \ 479532034fa5Smrgmv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \ 479632034fa5Smrgecho 'git directory not found: installing possibly empty changelog.' >&2)" 479732034fa5Smrg 479832034fa5Smrgdistcleancheck_listfiles='find . -type f ! -name ChangeLog -print' 479932034fa5Smrg 480032034fa5Smrg 480132034fa5Smrg 480232034fa5Smrg 480332034fa5Smrg 480432034fa5Smrgif test x$APP_MAN_SUFFIX = x ; then 480532034fa5Smrg APP_MAN_SUFFIX=1 480632034fa5Smrgfi 480732034fa5Smrgif test x$APP_MAN_DIR = x ; then 480832034fa5Smrg APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 480932034fa5Smrgfi 481032034fa5Smrg 481132034fa5Smrgif test x$LIB_MAN_SUFFIX = x ; then 481232034fa5Smrg LIB_MAN_SUFFIX=3 481332034fa5Smrgfi 481432034fa5Smrgif test x$LIB_MAN_DIR = x ; then 481532034fa5Smrg LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 481632034fa5Smrgfi 481732034fa5Smrg 481832034fa5Smrgif test x$FILE_MAN_SUFFIX = x ; then 481932034fa5Smrg case $host_os in 482032034fa5Smrg solaris*) FILE_MAN_SUFFIX=4 ;; 482132034fa5Smrg *) FILE_MAN_SUFFIX=5 ;; 482232034fa5Smrg esac 482332034fa5Smrgfi 482432034fa5Smrgif test x$FILE_MAN_DIR = x ; then 482532034fa5Smrg FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 482632034fa5Smrgfi 482732034fa5Smrg 482832034fa5Smrgif test x$MISC_MAN_SUFFIX = x ; then 482932034fa5Smrg case $host_os in 483032034fa5Smrg solaris*) MISC_MAN_SUFFIX=5 ;; 483132034fa5Smrg *) MISC_MAN_SUFFIX=7 ;; 483232034fa5Smrg esac 483332034fa5Smrgfi 483432034fa5Smrgif test x$MISC_MAN_DIR = x ; then 483532034fa5Smrg MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 483632034fa5Smrgfi 483732034fa5Smrg 483832034fa5Smrgif test x$DRIVER_MAN_SUFFIX = x ; then 483932034fa5Smrg case $host_os in 484032034fa5Smrg solaris*) DRIVER_MAN_SUFFIX=7 ;; 484132034fa5Smrg *) DRIVER_MAN_SUFFIX=4 ;; 484232034fa5Smrg esac 484332034fa5Smrgfi 484432034fa5Smrgif test x$DRIVER_MAN_DIR = x ; then 484532034fa5Smrg DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 484632034fa5Smrgfi 484732034fa5Smrg 484832034fa5Smrgif test x$ADMIN_MAN_SUFFIX = x ; then 484932034fa5Smrg case $host_os in 485032034fa5Smrg solaris*) ADMIN_MAN_SUFFIX=1m ;; 485132034fa5Smrg *) ADMIN_MAN_SUFFIX=8 ;; 485232034fa5Smrg esac 485332034fa5Smrgfi 485432034fa5Smrgif test x$ADMIN_MAN_DIR = x ; then 485532034fa5Smrg ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 485632034fa5Smrgfi 485732034fa5Smrg 485832034fa5Smrg 485932034fa5Smrg 486032034fa5Smrg 486132034fa5Smrg 486232034fa5Smrg 486332034fa5Smrg 486432034fa5Smrg 486532034fa5Smrg 486632034fa5Smrg 486732034fa5Smrg 486832034fa5Smrg 486932034fa5Smrg 487032034fa5Smrg 48714ecf19b2Smrg 48724ecf19b2Smrg 48734ecf19b2Smrg 48744ecf19b2Smrg# Find a good install program. We prefer a C program (faster), 48754ecf19b2Smrg# so one script is as good as another. But avoid the broken or 48764ecf19b2Smrg# incompatible versions: 48774ecf19b2Smrg# SysV /etc/install, /usr/sbin/install 48784ecf19b2Smrg# SunOS /usr/etc/install 48794ecf19b2Smrg# IRIX /sbin/install 48804ecf19b2Smrg# AIX /bin/install 48814ecf19b2Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs 48824ecf19b2Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 48834ecf19b2Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 48844ecf19b2Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 48854ecf19b2Smrg# OS/2's system install, which has a completely different semantic 48864ecf19b2Smrg# ./install, which can be erroneously created by make from ./install.sh. 488732034fa5Smrg# Reject install programs that cannot install multiple files. 488832034fa5Smrg{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 488932034fa5Smrg$as_echo_n "checking for a BSD-compatible install... " >&6; } 48904ecf19b2Smrgif test -z "$INSTALL"; then 48914ecf19b2Smrgif test "${ac_cv_path_install+set}" = set; then 489232034fa5Smrg $as_echo_n "(cached) " >&6 48934ecf19b2Smrgelse 48944ecf19b2Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 48954ecf19b2Smrgfor as_dir in $PATH 48964ecf19b2Smrgdo 48974ecf19b2Smrg IFS=$as_save_IFS 48984ecf19b2Smrg test -z "$as_dir" && as_dir=. 48994ecf19b2Smrg # Account for people who put trailing slashes in PATH elements. 49004ecf19b2Smrgcase $as_dir/ in 49014ecf19b2Smrg ./ | .// | /cC/* | \ 49024ecf19b2Smrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 49034ecf19b2Smrg ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 49044ecf19b2Smrg /usr/ucb/* ) ;; 49054ecf19b2Smrg *) 49064ecf19b2Smrg # OSF1 and SCO ODT 3.0 have their own names for install. 49074ecf19b2Smrg # Don't use installbsd from OSF since it installs stuff as root 49084ecf19b2Smrg # by default. 49094ecf19b2Smrg for ac_prog in ginstall scoinst install; do 49104ecf19b2Smrg for ac_exec_ext in '' $ac_executable_extensions; do 491132034fa5Smrg if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 49124ecf19b2Smrg if test $ac_prog = install && 49134ecf19b2Smrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 49144ecf19b2Smrg # AIX install. It has an incompatible calling convention. 49154ecf19b2Smrg : 49164ecf19b2Smrg elif test $ac_prog = install && 49174ecf19b2Smrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 49184ecf19b2Smrg # program-specific install script used by HP pwplus--don't use. 49194ecf19b2Smrg : 49204ecf19b2Smrg else 492132034fa5Smrg rm -rf conftest.one conftest.two conftest.dir 492232034fa5Smrg echo one > conftest.one 492332034fa5Smrg echo two > conftest.two 492432034fa5Smrg mkdir conftest.dir 492532034fa5Smrg if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 492632034fa5Smrg test -s conftest.one && test -s conftest.two && 492732034fa5Smrg test -s conftest.dir/conftest.one && 492832034fa5Smrg test -s conftest.dir/conftest.two 492932034fa5Smrg then 493032034fa5Smrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 493132034fa5Smrg break 3 493232034fa5Smrg fi 49334ecf19b2Smrg fi 49344ecf19b2Smrg fi 49354ecf19b2Smrg done 49364ecf19b2Smrg done 49374ecf19b2Smrg ;; 49384ecf19b2Smrgesac 493932034fa5Smrg 49404ecf19b2Smrgdone 494132034fa5SmrgIFS=$as_save_IFS 49424ecf19b2Smrg 494332034fa5Smrgrm -rf conftest.one conftest.two conftest.dir 49444ecf19b2Smrg 49454ecf19b2Smrgfi 49464ecf19b2Smrg if test "${ac_cv_path_install+set}" = set; then 49474ecf19b2Smrg INSTALL=$ac_cv_path_install 49484ecf19b2Smrg else 494932034fa5Smrg # As a last resort, use the slow shell script. Don't cache a 495032034fa5Smrg # value for INSTALL within a source directory, because that will 49514ecf19b2Smrg # break other packages using the cache if that directory is 495232034fa5Smrg # removed, or if the value is a relative name. 49534ecf19b2Smrg INSTALL=$ac_install_sh 49544ecf19b2Smrg fi 49554ecf19b2Smrgfi 495632034fa5Smrg{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 495732034fa5Smrg$as_echo "$INSTALL" >&6; } 495832034fa5Smrg 495932034fa5Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 496032034fa5Smrg# It thinks the first close brace ends the variable substitution. 496132034fa5Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 496232034fa5Smrg 496332034fa5Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 496432034fa5Smrg 496532034fa5Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 496632034fa5Smrg 496732034fa5Smrg 496832034fa5Smrg# Require X.Org's font util macros 1.1 or later 496932034fa5Smrg 497032034fa5Smrg 497132034fa5Smrg 497232034fa5Smrg 497332034fa5Smrg 497432034fa5Smrg 497532034fa5Smrg 497632034fa5Smrg 497732034fa5Smrg 497832034fa5Smrg 497932034fa5Smrg 498032034fa5Smrg 498132034fa5Smrg 498232034fa5Smrg 498332034fa5Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 498432034fa5Smrg if test -n "$ac_tool_prefix"; then 498532034fa5Smrg # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 498632034fa5Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2 498732034fa5Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 498832034fa5Smrg$as_echo_n "checking for $ac_word... " >&6; } 498932034fa5Smrgif test "${ac_cv_path_PKG_CONFIG+set}" = set; then 499032034fa5Smrg $as_echo_n "(cached) " >&6 499132034fa5Smrgelse 499232034fa5Smrg case $PKG_CONFIG in 499332034fa5Smrg [\\/]* | ?:[\\/]*) 499432034fa5Smrg ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 499532034fa5Smrg ;; 499632034fa5Smrg *) 499732034fa5Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 499832034fa5Smrgfor as_dir in $PATH 499932034fa5Smrgdo 500032034fa5Smrg IFS=$as_save_IFS 500132034fa5Smrg test -z "$as_dir" && as_dir=. 500232034fa5Smrg for ac_exec_ext in '' $ac_executable_extensions; do 500332034fa5Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 500432034fa5Smrg ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 500532034fa5Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 500632034fa5Smrg break 2 500732034fa5Smrg fi 500832034fa5Smrgdone 500932034fa5Smrgdone 501032034fa5SmrgIFS=$as_save_IFS 501132034fa5Smrg 501232034fa5Smrg ;; 501332034fa5Smrgesac 501432034fa5Smrgfi 501532034fa5SmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG 501632034fa5Smrgif test -n "$PKG_CONFIG"; then 501732034fa5Smrg { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 501832034fa5Smrg$as_echo "$PKG_CONFIG" >&6; } 501932034fa5Smrgelse 502032034fa5Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 502132034fa5Smrg$as_echo "no" >&6; } 502232034fa5Smrgfi 502332034fa5Smrg 502432034fa5Smrg 502532034fa5Smrgfi 502632034fa5Smrgif test -z "$ac_cv_path_PKG_CONFIG"; then 502732034fa5Smrg ac_pt_PKG_CONFIG=$PKG_CONFIG 502832034fa5Smrg # Extract the first word of "pkg-config", so it can be a program name with args. 502932034fa5Smrgset dummy pkg-config; ac_word=$2 503032034fa5Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 503132034fa5Smrg$as_echo_n "checking for $ac_word... " >&6; } 503232034fa5Smrgif test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then 503332034fa5Smrg $as_echo_n "(cached) " >&6 503432034fa5Smrgelse 503532034fa5Smrg case $ac_pt_PKG_CONFIG in 503632034fa5Smrg [\\/]* | ?:[\\/]*) 503732034fa5Smrg ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 503832034fa5Smrg ;; 503932034fa5Smrg *) 504032034fa5Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 504132034fa5Smrgfor as_dir in $PATH 504232034fa5Smrgdo 504332034fa5Smrg IFS=$as_save_IFS 504432034fa5Smrg test -z "$as_dir" && as_dir=. 504532034fa5Smrg for ac_exec_ext in '' $ac_executable_extensions; do 504632034fa5Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 504732034fa5Smrg ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 504832034fa5Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 504932034fa5Smrg break 2 505032034fa5Smrg fi 505132034fa5Smrgdone 505232034fa5Smrgdone 505332034fa5SmrgIFS=$as_save_IFS 505432034fa5Smrg 505532034fa5Smrg ;; 505632034fa5Smrgesac 505732034fa5Smrgfi 505832034fa5Smrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 505932034fa5Smrgif test -n "$ac_pt_PKG_CONFIG"; then 506032034fa5Smrg { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 506132034fa5Smrg$as_echo "$ac_pt_PKG_CONFIG" >&6; } 506232034fa5Smrgelse 506332034fa5Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 506432034fa5Smrg$as_echo "no" >&6; } 506532034fa5Smrgfi 506632034fa5Smrg 506732034fa5Smrg if test "x$ac_pt_PKG_CONFIG" = x; then 506832034fa5Smrg PKG_CONFIG="" 506932034fa5Smrg else 507032034fa5Smrg case $cross_compiling:$ac_tool_warned in 507132034fa5Smrgyes:) 507232034fa5Smrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 507332034fa5Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 507432034fa5Smrgac_tool_warned=yes ;; 507532034fa5Smrgesac 507632034fa5Smrg PKG_CONFIG=$ac_pt_PKG_CONFIG 507732034fa5Smrg fi 507832034fa5Smrgelse 507932034fa5Smrg PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 508032034fa5Smrgfi 508132034fa5Smrg 508232034fa5Smrgfi 508332034fa5Smrgif test -n "$PKG_CONFIG"; then 508432034fa5Smrg _pkg_min_version=0.9.0 508532034fa5Smrg { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 508632034fa5Smrg$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 508732034fa5Smrg if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 508832034fa5Smrg { $as_echo "$as_me:$LINENO: result: yes" >&5 508932034fa5Smrg$as_echo "yes" >&6; } 509032034fa5Smrg else 509132034fa5Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 509232034fa5Smrg$as_echo "no" >&6; } 509332034fa5Smrg PKG_CONFIG="" 509432034fa5Smrg fi 509532034fa5Smrg 509632034fa5Smrgfi 509732034fa5Smrg 509832034fa5Smrg 509932034fa5Smrg 510032034fa5Smrg { $as_echo "$as_me:$LINENO: checking for root directory for font files" >&5 510132034fa5Smrg$as_echo_n "checking for root directory for font files... " >&6; } 510232034fa5Smrg 510332034fa5Smrg# Check whether --with-fontrootdir was given. 510432034fa5Smrgif test "${with_fontrootdir+set}" = set; then 510532034fa5Smrg withval=$with_fontrootdir; FONTROOTDIR="$withval" 510632034fa5Smrgfi 51074ecf19b2Smrg 510832034fa5Smrg # if --with-fontrootdir not specified... 510932034fa5Smrg if test "x${FONTROOTDIR}" = "x"; then 511032034fa5Smrg FONTROOTDIR=`$PKG_CONFIG --variable=fontrootdir fontutil` 511132034fa5Smrg fi 511232034fa5Smrg # ...and if pkg-config didn't find fontdir in fontutil.pc... 511332034fa5Smrg if test "x${FONTROOTDIR}" = "x"; then 511432034fa5Smrg FONTROOTDIR="${datadir}/fonts/X11" 511532034fa5Smrg fi 51164ecf19b2Smrg 511732034fa5Smrg { $as_echo "$as_me:$LINENO: result: ${FONTROOTDIR}" >&5 511832034fa5Smrg$as_echo "${FONTROOTDIR}" >&6; } 51194ecf19b2Smrg 51204ecf19b2Smrg 51214ecf19b2Smrg 51224ecf19b2Smrg 512332034fa5Smrg { $as_echo "$as_me:$LINENO: checking for directory for 75dpi files" >&5 512432034fa5Smrg$as_echo_n "checking for directory for 75dpi files... " >&6; } 51254ecf19b2Smrg 512632034fa5Smrg# Check whether --with-fontdir was given. 512732034fa5Smrgif test "${with_fontdir+set}" = set; then 512832034fa5Smrg withval=$with_fontdir; FONTDIR="${withval}" 51294ecf19b2Smrgelse 513032034fa5Smrg FONTDIR='${FONTROOTDIR}/75dpi' 51314ecf19b2Smrgfi 51324ecf19b2Smrg 513332034fa5Smrg 513432034fa5Smrg { $as_echo "$as_me:$LINENO: result: ${FONTDIR}" >&5 513532034fa5Smrg$as_echo "${FONTDIR}" >&6; } 513632034fa5Smrg 513732034fa5Smrg 513832034fa5Smrg 513932034fa5Smrg 514032034fa5Smrg # Extract the first word of "fc-cache", so it can be a program name with args. 514132034fa5Smrgset dummy fc-cache; ac_word=$2 514232034fa5Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 514332034fa5Smrg$as_echo_n "checking for $ac_word... " >&6; } 514432034fa5Smrgif test "${ac_cv_path_FCCACHE+set}" = set; then 514532034fa5Smrg $as_echo_n "(cached) " >&6 51464ecf19b2Smrgelse 514732034fa5Smrg case $FCCACHE in 51484ecf19b2Smrg [\\/]* | ?:[\\/]*) 514932034fa5Smrg ac_cv_path_FCCACHE="$FCCACHE" # Let the user override the test with a path. 51504ecf19b2Smrg ;; 51514ecf19b2Smrg *) 51524ecf19b2Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 51534ecf19b2Smrgfor as_dir in $PATH 51544ecf19b2Smrgdo 51554ecf19b2Smrg IFS=$as_save_IFS 51564ecf19b2Smrg test -z "$as_dir" && as_dir=. 51574ecf19b2Smrg for ac_exec_ext in '' $ac_executable_extensions; do 515832034fa5Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 515932034fa5Smrg ac_cv_path_FCCACHE="$as_dir/$ac_word$ac_exec_ext" 516032034fa5Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 51614ecf19b2Smrg break 2 51624ecf19b2Smrg fi 51634ecf19b2Smrgdone 51644ecf19b2Smrgdone 516532034fa5SmrgIFS=$as_save_IFS 51664ecf19b2Smrg 51674ecf19b2Smrg ;; 51684ecf19b2Smrgesac 51694ecf19b2Smrgfi 517032034fa5SmrgFCCACHE=$ac_cv_path_FCCACHE 517132034fa5Smrgif test -n "$FCCACHE"; then 517232034fa5Smrg { $as_echo "$as_me:$LINENO: result: $FCCACHE" >&5 517332034fa5Smrg$as_echo "$FCCACHE" >&6; } 51744ecf19b2Smrgelse 517532034fa5Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 517632034fa5Smrg$as_echo "no" >&6; } 51774ecf19b2Smrgfi 51784ecf19b2Smrg 517932034fa5Smrg 518032034fa5Smrg FCCACHE_WARN='echo "** Warning: fonts.cache not built" ; echo "** Generate this file manually on host system using fc-cache"' 518132034fa5Smrg if test x"$FCCACHE" = x ; then 518232034fa5Smrg RUN_FCCACHE="${FCCACHE_WARN}" 518332034fa5Smrg else 518432034fa5Smrg RUN_FCCACHE='@(if test -z "$(DESTDIR)"; then echo $(FCCACHE) $(fontdir); $(FCCACHE) $(fontdir); else' 518532034fa5Smrg RUN_FCCACHE="${RUN_FCCACHE} ${FCCACHE_WARN} ; fi)" 518632034fa5Smrg fi 518732034fa5Smrg 518832034fa5Smrg 518932034fa5Smrg 519032034fa5Smrg # Extract the first word of "mkfontdir", so it can be a program name with args. 519132034fa5Smrgset dummy mkfontdir; ac_word=$2 519232034fa5Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 519332034fa5Smrg$as_echo_n "checking for $ac_word... " >&6; } 519432034fa5Smrgif test "${ac_cv_path_MKFONTDIR+set}" = set; then 519532034fa5Smrg $as_echo_n "(cached) " >&6 51964ecf19b2Smrgelse 519732034fa5Smrg case $MKFONTDIR in 51984ecf19b2Smrg [\\/]* | ?:[\\/]*) 519932034fa5Smrg ac_cv_path_MKFONTDIR="$MKFONTDIR" # Let the user override the test with a path. 52004ecf19b2Smrg ;; 52014ecf19b2Smrg *) 52024ecf19b2Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 52034ecf19b2Smrgfor as_dir in $PATH 52044ecf19b2Smrgdo 52054ecf19b2Smrg IFS=$as_save_IFS 52064ecf19b2Smrg test -z "$as_dir" && as_dir=. 52074ecf19b2Smrg for ac_exec_ext in '' $ac_executable_extensions; do 520832034fa5Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 520932034fa5Smrg ac_cv_path_MKFONTDIR="$as_dir/$ac_word$ac_exec_ext" 521032034fa5Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 52114ecf19b2Smrg break 2 52124ecf19b2Smrg fi 52134ecf19b2Smrgdone 52144ecf19b2Smrgdone 521532034fa5SmrgIFS=$as_save_IFS 52164ecf19b2Smrg 52174ecf19b2Smrg ;; 52184ecf19b2Smrgesac 52194ecf19b2Smrgfi 522032034fa5SmrgMKFONTDIR=$ac_cv_path_MKFONTDIR 522132034fa5Smrgif test -n "$MKFONTDIR"; then 522232034fa5Smrg { $as_echo "$as_me:$LINENO: result: $MKFONTDIR" >&5 522332034fa5Smrg$as_echo "$MKFONTDIR" >&6; } 52244ecf19b2Smrgelse 522532034fa5Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 522632034fa5Smrg$as_echo "no" >&6; } 52274ecf19b2Smrgfi 52284ecf19b2Smrg 522932034fa5Smrg 523032034fa5Smrg if test x"MKFONTDIR" = x; then 523132034fa5Smrg { { $as_echo "$as_me:$LINENO: error: mkfontdir is required to build $PACKAGE_NAME." >&5 523232034fa5Smrg$as_echo "$as_me: error: mkfontdir is required to build $PACKAGE_NAME." >&2;} 523332034fa5Smrg { (exit 1); exit 1; }; } 523432034fa5Smrg fi 523532034fa5Smrg 523632034fa5Smrg 523732034fa5Smrg 523832034fa5Smrg # Extract the first word of "bdftopcf", so it can be a program name with args. 523932034fa5Smrgset dummy bdftopcf; ac_word=$2 524032034fa5Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 524132034fa5Smrg$as_echo_n "checking for $ac_word... " >&6; } 524232034fa5Smrgif test "${ac_cv_path_BDFTOPCF+set}" = set; then 524332034fa5Smrg $as_echo_n "(cached) " >&6 52444ecf19b2Smrgelse 524532034fa5Smrg case $BDFTOPCF in 52464ecf19b2Smrg [\\/]* | ?:[\\/]*) 524732034fa5Smrg ac_cv_path_BDFTOPCF="$BDFTOPCF" # Let the user override the test with a path. 52484ecf19b2Smrg ;; 52494ecf19b2Smrg *) 52504ecf19b2Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 52514ecf19b2Smrgfor as_dir in $PATH 52524ecf19b2Smrgdo 52534ecf19b2Smrg IFS=$as_save_IFS 52544ecf19b2Smrg test -z "$as_dir" && as_dir=. 52554ecf19b2Smrg for ac_exec_ext in '' $ac_executable_extensions; do 525632034fa5Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 525732034fa5Smrg ac_cv_path_BDFTOPCF="$as_dir/$ac_word$ac_exec_ext" 525832034fa5Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 52594ecf19b2Smrg break 2 52604ecf19b2Smrg fi 52614ecf19b2Smrgdone 52624ecf19b2Smrgdone 526332034fa5SmrgIFS=$as_save_IFS 52644ecf19b2Smrg 52654ecf19b2Smrg ;; 52664ecf19b2Smrgesac 52674ecf19b2Smrgfi 526832034fa5SmrgBDFTOPCF=$ac_cv_path_BDFTOPCF 526932034fa5Smrgif test -n "$BDFTOPCF"; then 527032034fa5Smrg { $as_echo "$as_me:$LINENO: result: $BDFTOPCF" >&5 527132034fa5Smrg$as_echo "$BDFTOPCF" >&6; } 52724ecf19b2Smrgelse 527332034fa5Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 527432034fa5Smrg$as_echo "no" >&6; } 52754ecf19b2Smrgfi 52764ecf19b2Smrg 52774ecf19b2Smrg 527832034fa5Smrg if test x"BDFTOPCF" = x; then 527932034fa5Smrg { { $as_echo "$as_me:$LINENO: error: bdftopcf is required to build $PACKAGE_NAME." >&5 528032034fa5Smrg$as_echo "$as_me: error: bdftopcf is required to build $PACKAGE_NAME." >&2;} 528132034fa5Smrg { (exit 1); exit 1; }; } 528232034fa5Smrg fi 52834ecf19b2Smrg 52844ecf19b2Smrg 528532034fa5Smrg { $as_echo "$as_me:$LINENO: checking font compression method" >&5 528632034fa5Smrg$as_echo_n "checking font compression method... " >&6; } 52874ecf19b2Smrg 528832034fa5Smrg# Check whether --with-compression was given. 528932034fa5Smrgif test "${with_compression+set}" = set; then 529032034fa5Smrg withval=$with_compression; compression="$withval" 52914ecf19b2Smrgelse 529232034fa5Smrg compression="yes" 529332034fa5Smrgfi 52944ecf19b2Smrg 529532034fa5Smrg if test x"$compression" = "xyes" ; then 529632034fa5Smrg compression="gzip" 529732034fa5Smrg fi 529832034fa5Smrg { $as_echo "$as_me:$LINENO: result: ${compression}" >&5 529932034fa5Smrg$as_echo "${compression}" >&6; } 530032034fa5Smrg case ${compression} in 530132034fa5Smrg *compress) COMPRESS_SUFFIX=".Z" ;; 530232034fa5Smrg *gzip) COMPRESS_SUFFIX=".gz" ;; 530332034fa5Smrg *bzip2) COMPRESS_SUFFIX=".bz2" ;; 530432034fa5Smrg no|none) COMPRESS_SUFFIX="" ; COMPRESS="cat" ;; 530532034fa5Smrg *) { { $as_echo "$as_me:$LINENO: error: ${compression} is not a supported compression method" >&5 530632034fa5Smrg$as_echo "$as_me: error: ${compression} is not a supported compression method" >&2;} 530732034fa5Smrg { (exit 1); exit 1; }; } ;; 530832034fa5Smrg esac 530932034fa5Smrg if test x"$COMPRESS_SUFFIX" != "x" ; then 531032034fa5Smrg 531132034fa5Smrg # Extract the first word of "${compression}", so it can be a program name with args. 531232034fa5Smrgset dummy ${compression}; ac_word=$2 531332034fa5Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 531432034fa5Smrg$as_echo_n "checking for $ac_word... " >&6; } 531532034fa5Smrgif test "${ac_cv_path_COMPRESS+set}" = set; then 531632034fa5Smrg $as_echo_n "(cached) " >&6 53174ecf19b2Smrgelse 531832034fa5Smrg case $COMPRESS in 53194ecf19b2Smrg [\\/]* | ?:[\\/]*) 532032034fa5Smrg ac_cv_path_COMPRESS="$COMPRESS" # Let the user override the test with a path. 53214ecf19b2Smrg ;; 53224ecf19b2Smrg *) 53234ecf19b2Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 53244ecf19b2Smrgfor as_dir in $PATH 53254ecf19b2Smrgdo 53264ecf19b2Smrg IFS=$as_save_IFS 53274ecf19b2Smrg test -z "$as_dir" && as_dir=. 53284ecf19b2Smrg for ac_exec_ext in '' $ac_executable_extensions; do 532932034fa5Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 533032034fa5Smrg ac_cv_path_COMPRESS="$as_dir/$ac_word$ac_exec_ext" 533132034fa5Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 53324ecf19b2Smrg break 2 53334ecf19b2Smrg fi 53344ecf19b2Smrgdone 53354ecf19b2Smrgdone 533632034fa5SmrgIFS=$as_save_IFS 53374ecf19b2Smrg 53384ecf19b2Smrg ;; 53394ecf19b2Smrgesac 53404ecf19b2Smrgfi 534132034fa5SmrgCOMPRESS=$ac_cv_path_COMPRESS 534232034fa5Smrgif test -n "$COMPRESS"; then 534332034fa5Smrg { $as_echo "$as_me:$LINENO: result: $COMPRESS" >&5 534432034fa5Smrg$as_echo "$COMPRESS" >&6; } 53454ecf19b2Smrgelse 534632034fa5Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 534732034fa5Smrg$as_echo "no" >&6; } 53484ecf19b2Smrgfi 53494ecf19b2Smrg 535032034fa5Smrg 535132034fa5Smrg if test x"COMPRESS" = x; then 535232034fa5Smrg { { $as_echo "$as_me:$LINENO: error: ${compression} is required to build $PACKAGE_NAME." >&5 535332034fa5Smrg$as_echo "$as_me: error: ${compression} is required to build $PACKAGE_NAME." >&2;} 535432034fa5Smrg { (exit 1); exit 1; }; } 535532034fa5Smrg fi 535632034fa5Smrg 535732034fa5Smrg fi 535832034fa5Smrg 535932034fa5Smrg 536032034fa5Smrg 536132034fa5Smrg 536232034fa5Smrg 536332034fa5Smrg # Extract the first word of "ucs2any", so it can be a program name with args. 536432034fa5Smrgset dummy ucs2any; ac_word=$2 536532034fa5Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 536632034fa5Smrg$as_echo_n "checking for $ac_word... " >&6; } 536732034fa5Smrgif test "${ac_cv_path_UCS2ANY+set}" = set; then 536832034fa5Smrg $as_echo_n "(cached) " >&6 53694ecf19b2Smrgelse 537032034fa5Smrg case $UCS2ANY in 53714ecf19b2Smrg [\\/]* | ?:[\\/]*) 537232034fa5Smrg ac_cv_path_UCS2ANY="$UCS2ANY" # Let the user override the test with a path. 53734ecf19b2Smrg ;; 53744ecf19b2Smrg *) 53754ecf19b2Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 53764ecf19b2Smrgfor as_dir in $PATH 53774ecf19b2Smrgdo 53784ecf19b2Smrg IFS=$as_save_IFS 53794ecf19b2Smrg test -z "$as_dir" && as_dir=. 53804ecf19b2Smrg for ac_exec_ext in '' $ac_executable_extensions; do 538132034fa5Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 538232034fa5Smrg ac_cv_path_UCS2ANY="$as_dir/$ac_word$ac_exec_ext" 538332034fa5Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 53844ecf19b2Smrg break 2 53854ecf19b2Smrg fi 53864ecf19b2Smrgdone 53874ecf19b2Smrgdone 538832034fa5SmrgIFS=$as_save_IFS 53894ecf19b2Smrg 53904ecf19b2Smrg ;; 53914ecf19b2Smrgesac 53924ecf19b2Smrgfi 539332034fa5SmrgUCS2ANY=$ac_cv_path_UCS2ANY 539432034fa5Smrgif test -n "$UCS2ANY"; then 539532034fa5Smrg { $as_echo "$as_me:$LINENO: result: $UCS2ANY" >&5 539632034fa5Smrg$as_echo "$UCS2ANY" >&6; } 53974ecf19b2Smrgelse 539832034fa5Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 539932034fa5Smrg$as_echo "no" >&6; } 54004ecf19b2Smrgfi 54014ecf19b2Smrg 54024ecf19b2Smrg 540332034fa5Smrg if test x"UCS2ANY" = x; then 540432034fa5Smrg { { $as_echo "$as_me:$LINENO: error: ucs2any is required to build $PACKAGE_NAME." >&5 540532034fa5Smrg$as_echo "$as_me: error: ucs2any is required to build $PACKAGE_NAME." >&2;} 540632034fa5Smrg { (exit 1); exit 1; }; } 54074ecf19b2Smrg fi 54084ecf19b2Smrg 54094ecf19b2Smrg 54104ecf19b2Smrgpkg_failed=no 541132034fa5Smrg{ $as_echo "$as_me:$LINENO: checking for MAPS" >&5 541232034fa5Smrg$as_echo_n "checking for MAPS... " >&6; } 541332034fa5Smrg 541432034fa5Smrgif test -n "$MAPS_CFLAGS"; then 541532034fa5Smrg pkg_cv_MAPS_CFLAGS="$MAPS_CFLAGS" 541632034fa5Smrg elif test -n "$PKG_CONFIG"; then 541732034fa5Smrg if test -n "$PKG_CONFIG" && \ 541832034fa5Smrg { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"fontutil\"") >&5 54194ecf19b2Smrg ($PKG_CONFIG --exists --print-errors "fontutil") 2>&5 54204ecf19b2Smrg ac_status=$? 542132034fa5Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 54224ecf19b2Smrg (exit $ac_status); }; then 54234ecf19b2Smrg pkg_cv_MAPS_CFLAGS=`$PKG_CONFIG --cflags "fontutil" 2>/dev/null` 54244ecf19b2Smrgelse 54254ecf19b2Smrg pkg_failed=yes 54264ecf19b2Smrgfi 542732034fa5Smrg else 542832034fa5Smrg pkg_failed=untried 54294ecf19b2Smrgfi 543032034fa5Smrgif test -n "$MAPS_LIBS"; then 543132034fa5Smrg pkg_cv_MAPS_LIBS="$MAPS_LIBS" 543232034fa5Smrg elif test -n "$PKG_CONFIG"; then 543332034fa5Smrg if test -n "$PKG_CONFIG" && \ 543432034fa5Smrg { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"fontutil\"") >&5 54354ecf19b2Smrg ($PKG_CONFIG --exists --print-errors "fontutil") 2>&5 54364ecf19b2Smrg ac_status=$? 543732034fa5Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 54384ecf19b2Smrg (exit $ac_status); }; then 54394ecf19b2Smrg pkg_cv_MAPS_LIBS=`$PKG_CONFIG --libs "fontutil" 2>/dev/null` 54404ecf19b2Smrgelse 54414ecf19b2Smrg pkg_failed=yes 54424ecf19b2Smrgfi 544332034fa5Smrg else 544432034fa5Smrg pkg_failed=untried 54454ecf19b2Smrgfi 54464ecf19b2Smrg 54474ecf19b2Smrg 54484ecf19b2Smrg 54494ecf19b2Smrgif test $pkg_failed = yes; then 54504ecf19b2Smrg 54514ecf19b2Smrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 54524ecf19b2Smrg _pkg_short_errors_supported=yes 54534ecf19b2Smrgelse 54544ecf19b2Smrg _pkg_short_errors_supported=no 54554ecf19b2Smrgfi 54564ecf19b2Smrg if test $_pkg_short_errors_supported = yes; then 545732034fa5Smrg MAPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "fontutil" 2>&1` 54584ecf19b2Smrg else 545932034fa5Smrg MAPS_PKG_ERRORS=`$PKG_CONFIG --print-errors "fontutil" 2>&1` 54604ecf19b2Smrg fi 54614ecf19b2Smrg # Put the nasty error message in config.log where it belongs 54624ecf19b2Smrg echo "$MAPS_PKG_ERRORS" >&5 54634ecf19b2Smrg 546432034fa5Smrg { { $as_echo "$as_me:$LINENO: error: Package requirements (fontutil) were not met: 54654ecf19b2Smrg 54664ecf19b2Smrg$MAPS_PKG_ERRORS 54674ecf19b2Smrg 54684ecf19b2SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 54694ecf19b2Smrginstalled software in a non-standard prefix. 54704ecf19b2Smrg 54714ecf19b2SmrgAlternatively, you may set the environment variables MAPS_CFLAGS 54724ecf19b2Smrgand MAPS_LIBS to avoid the need to call pkg-config. 54734ecf19b2SmrgSee the pkg-config man page for more details. 54744ecf19b2Smrg" >&5 547532034fa5Smrg$as_echo "$as_me: error: Package requirements (fontutil) were not met: 54764ecf19b2Smrg 54774ecf19b2Smrg$MAPS_PKG_ERRORS 54784ecf19b2Smrg 54794ecf19b2SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 54804ecf19b2Smrginstalled software in a non-standard prefix. 54814ecf19b2Smrg 54824ecf19b2SmrgAlternatively, you may set the environment variables MAPS_CFLAGS 54834ecf19b2Smrgand MAPS_LIBS to avoid the need to call pkg-config. 54844ecf19b2SmrgSee the pkg-config man page for more details. 54854ecf19b2Smrg" >&2;} 54864ecf19b2Smrg { (exit 1); exit 1; }; } 54874ecf19b2Smrgelif test $pkg_failed = untried; then 548832034fa5Smrg { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 548932034fa5Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 549032034fa5Smrg{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 54914ecf19b2Smrgis in your PATH or set the PKG_CONFIG environment variable to the full 54924ecf19b2Smrgpath to pkg-config. 54934ecf19b2Smrg 54944ecf19b2SmrgAlternatively, you may set the environment variables MAPS_CFLAGS 54954ecf19b2Smrgand MAPS_LIBS to avoid the need to call pkg-config. 54964ecf19b2SmrgSee the pkg-config man page for more details. 54974ecf19b2Smrg 549832034fa5SmrgTo get pkg-config, see <http://pkg-config.freedesktop.org/>. 54994ecf19b2SmrgSee \`config.log' for more details." >&5 550032034fa5Smrg$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 55014ecf19b2Smrgis in your PATH or set the PKG_CONFIG environment variable to the full 55024ecf19b2Smrgpath to pkg-config. 55034ecf19b2Smrg 55044ecf19b2SmrgAlternatively, you may set the environment variables MAPS_CFLAGS 55054ecf19b2Smrgand MAPS_LIBS to avoid the need to call pkg-config. 55064ecf19b2SmrgSee the pkg-config man page for more details. 55074ecf19b2Smrg 550832034fa5SmrgTo get pkg-config, see <http://pkg-config.freedesktop.org/>. 55094ecf19b2SmrgSee \`config.log' for more details." >&2;} 551032034fa5Smrg { (exit 1); exit 1; }; }; } 55114ecf19b2Smrgelse 55124ecf19b2Smrg MAPS_CFLAGS=$pkg_cv_MAPS_CFLAGS 55134ecf19b2Smrg MAPS_LIBS=$pkg_cv_MAPS_LIBS 551432034fa5Smrg { $as_echo "$as_me:$LINENO: result: yes" >&5 551532034fa5Smrg$as_echo "yes" >&6; } 55164ecf19b2Smrg : 55174ecf19b2Smrgfi 551832034fa5Smrg { $as_echo "$as_me:$LINENO: checking for ucs2any encoding data files" >&5 551932034fa5Smrg$as_echo_n "checking for ucs2any encoding data files... " >&6; } 552032034fa5Smrg MAPFILES_PATH=`pkg-config --variable=mapdir fontutil` 552132034fa5Smrg 552232034fa5Smrg { $as_echo "$as_me:$LINENO: result: ${MAPFILES_PATH}" >&5 552332034fa5Smrg$as_echo "${MAPFILES_PATH}" >&6; } 55244ecf19b2Smrg 55254ecf19b2Smrg 55264ecf19b2Smrg 552732034fa5Smrg 552832034fa5Smrg # Check whether --enable-iso8859-1 was given. 55294ecf19b2Smrgif test "${enable_iso8859_1+set}" = set; then 553032034fa5Smrg enableval=$enable_iso8859_1; ISO8859_1=$enableval 55314ecf19b2Smrgelse 55324ecf19b2Smrg ISO8859_1=yes 553332034fa5Smrgfi 55344ecf19b2Smrg 553532034fa5Smrg { $as_echo "$as_me:$LINENO: checking whether to build ISO8859-1 fonts" >&5 553632034fa5Smrg$as_echo_n "checking whether to build ISO8859-1 fonts... " >&6; } 553732034fa5Smrg { $as_echo "$as_me:$LINENO: result: $ISO8859_1" >&5 553832034fa5Smrg$as_echo "$ISO8859_1" >&6; } 553932034fa5Smrg if test "x$ISO8859_1" = xyes; then 55404ecf19b2Smrg ISO8859_1_TRUE= 55414ecf19b2Smrg ISO8859_1_FALSE='#' 55424ecf19b2Smrgelse 55434ecf19b2Smrg ISO8859_1_TRUE='#' 55444ecf19b2Smrg ISO8859_1_FALSE= 55454ecf19b2Smrgfi 55464ecf19b2Smrg 55474ecf19b2Smrg 554832034fa5Smrg # Check whether --enable-iso8859-2 was given. 55494ecf19b2Smrgif test "${enable_iso8859_2+set}" = set; then 555032034fa5Smrg enableval=$enable_iso8859_2; ISO8859_2=$enableval 55514ecf19b2Smrgelse 55524ecf19b2Smrg ISO8859_2=yes 555332034fa5Smrgfi 55544ecf19b2Smrg 555532034fa5Smrg { $as_echo "$as_me:$LINENO: checking whether to build ISO8859-2 fonts" >&5 555632034fa5Smrg$as_echo_n "checking whether to build ISO8859-2 fonts... " >&6; } 555732034fa5Smrg { $as_echo "$as_me:$LINENO: result: $ISO8859_2" >&5 555832034fa5Smrg$as_echo "$ISO8859_2" >&6; } 555932034fa5Smrg if test "x$ISO8859_2" = xyes; then 55604ecf19b2Smrg ISO8859_2_TRUE= 55614ecf19b2Smrg ISO8859_2_FALSE='#' 55624ecf19b2Smrgelse 55634ecf19b2Smrg ISO8859_2_TRUE='#' 55644ecf19b2Smrg ISO8859_2_FALSE= 55654ecf19b2Smrgfi 55664ecf19b2Smrg 55674ecf19b2Smrg 556832034fa5Smrg # Check whether --enable-iso8859-3 was given. 55694ecf19b2Smrgif test "${enable_iso8859_3+set}" = set; then 557032034fa5Smrg enableval=$enable_iso8859_3; ISO8859_3=$enableval 55714ecf19b2Smrgelse 55724ecf19b2Smrg ISO8859_3=yes 557332034fa5Smrgfi 55744ecf19b2Smrg 557532034fa5Smrg { $as_echo "$as_me:$LINENO: checking whether to build ISO8859-3 fonts" >&5 557632034fa5Smrg$as_echo_n "checking whether to build ISO8859-3 fonts... " >&6; } 557732034fa5Smrg { $as_echo "$as_me:$LINENO: result: $ISO8859_3" >&5 557832034fa5Smrg$as_echo "$ISO8859_3" >&6; } 557932034fa5Smrg if test "x$ISO8859_3" = xyes; then 55804ecf19b2Smrg ISO8859_3_TRUE= 55814ecf19b2Smrg ISO8859_3_FALSE='#' 55824ecf19b2Smrgelse 55834ecf19b2Smrg ISO8859_3_TRUE='#' 55844ecf19b2Smrg ISO8859_3_FALSE= 55854ecf19b2Smrgfi 55864ecf19b2Smrg 55874ecf19b2Smrg 558832034fa5Smrg # Check whether --enable-iso8859-4 was given. 55894ecf19b2Smrgif test "${enable_iso8859_4+set}" = set; then 559032034fa5Smrg enableval=$enable_iso8859_4; ISO8859_4=$enableval 55914ecf19b2Smrgelse 55924ecf19b2Smrg ISO8859_4=yes 559332034fa5Smrgfi 55944ecf19b2Smrg 559532034fa5Smrg { $as_echo "$as_me:$LINENO: checking whether to build ISO8859-4 fonts" >&5 559632034fa5Smrg$as_echo_n "checking whether to build ISO8859-4 fonts... " >&6; } 559732034fa5Smrg { $as_echo "$as_me:$LINENO: result: $ISO8859_4" >&5 559832034fa5Smrg$as_echo "$ISO8859_4" >&6; } 559932034fa5Smrg if test "x$ISO8859_4" = xyes; then 56004ecf19b2Smrg ISO8859_4_TRUE= 56014ecf19b2Smrg ISO8859_4_FALSE='#' 56024ecf19b2Smrgelse 56034ecf19b2Smrg ISO8859_4_TRUE='#' 56044ecf19b2Smrg ISO8859_4_FALSE= 56054ecf19b2Smrgfi 56064ecf19b2Smrg 56074ecf19b2Smrg 560832034fa5Smrg # Check whether --enable-iso8859-9 was given. 56094ecf19b2Smrgif test "${enable_iso8859_9+set}" = set; then 561032034fa5Smrg enableval=$enable_iso8859_9; ISO8859_9=$enableval 56114ecf19b2Smrgelse 56124ecf19b2Smrg ISO8859_9=yes 561332034fa5Smrgfi 56144ecf19b2Smrg 561532034fa5Smrg { $as_echo "$as_me:$LINENO: checking whether to build ISO8859-9 fonts" >&5 561632034fa5Smrg$as_echo_n "checking whether to build ISO8859-9 fonts... " >&6; } 561732034fa5Smrg { $as_echo "$as_me:$LINENO: result: $ISO8859_9" >&5 561832034fa5Smrg$as_echo "$ISO8859_9" >&6; } 561932034fa5Smrg if test "x$ISO8859_9" = xyes; then 56204ecf19b2Smrg ISO8859_9_TRUE= 56214ecf19b2Smrg ISO8859_9_FALSE='#' 56224ecf19b2Smrgelse 56234ecf19b2Smrg ISO8859_9_TRUE='#' 56244ecf19b2Smrg ISO8859_9_FALSE= 56254ecf19b2Smrgfi 56264ecf19b2Smrg 56274ecf19b2Smrg 562832034fa5Smrg # Check whether --enable-iso8859-10 was given. 56294ecf19b2Smrgif test "${enable_iso8859_10+set}" = set; then 563032034fa5Smrg enableval=$enable_iso8859_10; ISO8859_10=$enableval 56314ecf19b2Smrgelse 56324ecf19b2Smrg ISO8859_10=yes 563332034fa5Smrgfi 56344ecf19b2Smrg 563532034fa5Smrg { $as_echo "$as_me:$LINENO: checking whether to build ISO8859-10 fonts" >&5 563632034fa5Smrg$as_echo_n "checking whether to build ISO8859-10 fonts... " >&6; } 563732034fa5Smrg { $as_echo "$as_me:$LINENO: result: $ISO8859_10" >&5 563832034fa5Smrg$as_echo "$ISO8859_10" >&6; } 563932034fa5Smrg if test "x$ISO8859_10" = xyes; then 56404ecf19b2Smrg ISO8859_10_TRUE= 56414ecf19b2Smrg ISO8859_10_FALSE='#' 56424ecf19b2Smrgelse 56434ecf19b2Smrg ISO8859_10_TRUE='#' 56444ecf19b2Smrg ISO8859_10_FALSE= 56454ecf19b2Smrgfi 56464ecf19b2Smrg 56474ecf19b2Smrg 564832034fa5Smrg # Check whether --enable-iso8859-13 was given. 56494ecf19b2Smrgif test "${enable_iso8859_13+set}" = set; then 565032034fa5Smrg enableval=$enable_iso8859_13; ISO8859_13=$enableval 56514ecf19b2Smrgelse 56524ecf19b2Smrg ISO8859_13=yes 565332034fa5Smrgfi 56544ecf19b2Smrg 565532034fa5Smrg { $as_echo "$as_me:$LINENO: checking whether to build ISO8859-13 fonts" >&5 565632034fa5Smrg$as_echo_n "checking whether to build ISO8859-13 fonts... " >&6; } 565732034fa5Smrg { $as_echo "$as_me:$LINENO: result: $ISO8859_13" >&5 565832034fa5Smrg$as_echo "$ISO8859_13" >&6; } 565932034fa5Smrg if test "x$ISO8859_13" = xyes; then 56604ecf19b2Smrg ISO8859_13_TRUE= 56614ecf19b2Smrg ISO8859_13_FALSE='#' 56624ecf19b2Smrgelse 56634ecf19b2Smrg ISO8859_13_TRUE='#' 56644ecf19b2Smrg ISO8859_13_FALSE= 56654ecf19b2Smrgfi 56664ecf19b2Smrg 56674ecf19b2Smrg 566832034fa5Smrg # Check whether --enable-iso8859-14 was given. 56694ecf19b2Smrgif test "${enable_iso8859_14+set}" = set; then 567032034fa5Smrg enableval=$enable_iso8859_14; ISO8859_14=$enableval 56714ecf19b2Smrgelse 56724ecf19b2Smrg ISO8859_14=yes 567332034fa5Smrgfi 56744ecf19b2Smrg 567532034fa5Smrg { $as_echo "$as_me:$LINENO: checking whether to build ISO8859-14 fonts" >&5 567632034fa5Smrg$as_echo_n "checking whether to build ISO8859-14 fonts... " >&6; } 567732034fa5Smrg { $as_echo "$as_me:$LINENO: result: $ISO8859_14" >&5 567832034fa5Smrg$as_echo "$ISO8859_14" >&6; } 567932034fa5Smrg if test "x$ISO8859_14" = xyes; then 56804ecf19b2Smrg ISO8859_14_TRUE= 56814ecf19b2Smrg ISO8859_14_FALSE='#' 56824ecf19b2Smrgelse 56834ecf19b2Smrg ISO8859_14_TRUE='#' 56844ecf19b2Smrg ISO8859_14_FALSE= 56854ecf19b2Smrgfi 56864ecf19b2Smrg 56874ecf19b2Smrg 568832034fa5Smrg # Check whether --enable-iso8859-15 was given. 56894ecf19b2Smrgif test "${enable_iso8859_15+set}" = set; then 569032034fa5Smrg enableval=$enable_iso8859_15; ISO8859_15=$enableval 56914ecf19b2Smrgelse 56924ecf19b2Smrg ISO8859_15=yes 569332034fa5Smrgfi 56944ecf19b2Smrg 569532034fa5Smrg { $as_echo "$as_me:$LINENO: checking whether to build ISO8859-15 fonts" >&5 569632034fa5Smrg$as_echo_n "checking whether to build ISO8859-15 fonts... " >&6; } 569732034fa5Smrg { $as_echo "$as_me:$LINENO: result: $ISO8859_15" >&5 569832034fa5Smrg$as_echo "$ISO8859_15" >&6; } 569932034fa5Smrg if test "x$ISO8859_15" = xyes; then 57004ecf19b2Smrg ISO8859_15_TRUE= 57014ecf19b2Smrg ISO8859_15_FALSE='#' 57024ecf19b2Smrgelse 57034ecf19b2Smrg ISO8859_15_TRUE='#' 57044ecf19b2Smrg ISO8859_15_FALSE= 57054ecf19b2Smrgfi 57064ecf19b2Smrg 57074ecf19b2Smrg 57084ecf19b2Smrg 57094ecf19b2Smrg 571032034fa5Smrgac_config_files="$ac_config_files Makefile" 57114ecf19b2Smrg 57124ecf19b2Smrgcat >confcache <<\_ACEOF 57134ecf19b2Smrg# This file is a shell script that caches the results of configure 57144ecf19b2Smrg# tests run on this system so they can be shared between configure 57154ecf19b2Smrg# scripts and configure runs, see configure's option --config-cache. 57164ecf19b2Smrg# It is not useful on other systems. If it contains results you don't 57174ecf19b2Smrg# want to keep, you may remove or edit it. 57184ecf19b2Smrg# 57194ecf19b2Smrg# config.status only pays attention to the cache file if you give it 57204ecf19b2Smrg# the --recheck option to rerun configure. 57214ecf19b2Smrg# 57224ecf19b2Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when 57234ecf19b2Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the 57244ecf19b2Smrg# following values. 57254ecf19b2Smrg 57264ecf19b2Smrg_ACEOF 57274ecf19b2Smrg 57284ecf19b2Smrg# The following way of writing the cache mishandles newlines in values, 57294ecf19b2Smrg# but we know of no workaround that is simple, portable, and efficient. 573032034fa5Smrg# So, we kill variables containing newlines. 57314ecf19b2Smrg# Ultrix sh set writes to stderr and can't be redirected directly, 57324ecf19b2Smrg# and sets the high bit in the cache file unless we assign to the vars. 573332034fa5Smrg( 573432034fa5Smrg for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 573532034fa5Smrg eval ac_val=\$$ac_var 573632034fa5Smrg case $ac_val in #( 573732034fa5Smrg *${as_nl}*) 573832034fa5Smrg case $ac_var in #( 573932034fa5Smrg *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 574032034fa5Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 574132034fa5Smrg esac 574232034fa5Smrg case $ac_var in #( 574332034fa5Smrg _ | IFS | as_nl) ;; #( 574432034fa5Smrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 574532034fa5Smrg *) $as_unset $ac_var ;; 574632034fa5Smrg esac ;; 574732034fa5Smrg esac 574832034fa5Smrg done 574932034fa5Smrg 57504ecf19b2Smrg (set) 2>&1 | 575132034fa5Smrg case $as_nl`(ac_space=' '; set) 2>&1` in #( 575232034fa5Smrg *${as_nl}ac_space=\ *) 57534ecf19b2Smrg # `set' does not quote correctly, so add quotes (double-quote 57544ecf19b2Smrg # substitution turns \\\\ into \\, and sed turns \\ into \). 57554ecf19b2Smrg sed -n \ 57564ecf19b2Smrg "s/'/'\\\\''/g; 57574ecf19b2Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 575832034fa5Smrg ;; #( 57594ecf19b2Smrg *) 57604ecf19b2Smrg # `set' quotes correctly as required by POSIX, so do not add quotes. 576132034fa5Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 57624ecf19b2Smrg ;; 576332034fa5Smrg esac | 576432034fa5Smrg sort 576532034fa5Smrg) | 57664ecf19b2Smrg sed ' 576732034fa5Smrg /^ac_cv_env_/b end 57684ecf19b2Smrg t clear 576932034fa5Smrg :clear 57704ecf19b2Smrg s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 57714ecf19b2Smrg t end 577232034fa5Smrg s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 577332034fa5Smrg :end' >>confcache 577432034fa5Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 577532034fa5Smrg if test -w "$cache_file"; then 577632034fa5Smrg test "x$cache_file" != "x/dev/null" && 577732034fa5Smrg { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 577832034fa5Smrg$as_echo "$as_me: updating cache $cache_file" >&6;} 57794ecf19b2Smrg cat confcache >$cache_file 57804ecf19b2Smrg else 578132034fa5Smrg { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 578232034fa5Smrg$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 57834ecf19b2Smrg fi 57844ecf19b2Smrgfi 57854ecf19b2Smrgrm -f confcache 57864ecf19b2Smrg 57874ecf19b2Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix 57884ecf19b2Smrg# Let make expand exec_prefix. 57894ecf19b2Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 57904ecf19b2Smrg 57914ecf19b2Smrg# Transform confdefs.h into DEFS. 57924ecf19b2Smrg# Protect against shell expansion while executing Makefile rules. 57934ecf19b2Smrg# Protect against Makefile macro expansion. 57944ecf19b2Smrg# 57954ecf19b2Smrg# If the first sed substitution is executed (which looks for macros that 579632034fa5Smrg# take arguments), then branch to the quote section. Otherwise, 57974ecf19b2Smrg# look for a macro that doesn't take arguments. 579832034fa5Smrgac_script=' 579932034fa5Smrg:mline 580032034fa5Smrg/\\$/{ 580132034fa5Smrg N 580232034fa5Smrg s,\\\n,, 580332034fa5Smrg b mline 580432034fa5Smrg} 58054ecf19b2Smrgt clear 580632034fa5Smrg:clear 580732034fa5Smrgs/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 58084ecf19b2Smrgt quote 580932034fa5Smrgs/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 58104ecf19b2Smrgt quote 581132034fa5Smrgb any 581232034fa5Smrg:quote 581332034fa5Smrgs/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 581432034fa5Smrgs/\[/\\&/g 581532034fa5Smrgs/\]/\\&/g 581632034fa5Smrgs/\$/$$/g 581732034fa5SmrgH 581832034fa5Smrg:any 581932034fa5Smrg${ 582032034fa5Smrg g 582132034fa5Smrg s/^\n// 582232034fa5Smrg s/\n/ /g 582332034fa5Smrg p 582432034fa5Smrg} 582532034fa5Smrg' 582632034fa5SmrgDEFS=`sed -n "$ac_script" confdefs.h` 58274ecf19b2Smrg 58284ecf19b2Smrg 58294ecf19b2Smrgac_libobjs= 58304ecf19b2Smrgac_ltlibobjs= 58314ecf19b2Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 58324ecf19b2Smrg # 1. Remove the extension, and $U if already installed. 583332034fa5Smrg ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 583432034fa5Smrg ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 583532034fa5Smrg # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 583632034fa5Smrg # will be set to the directory where LIBOBJS objects are built. 583732034fa5Smrg ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 583832034fa5Smrg ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 58394ecf19b2Smrgdone 58404ecf19b2SmrgLIBOBJS=$ac_libobjs 58414ecf19b2Smrg 58424ecf19b2SmrgLTLIBOBJS=$ac_ltlibobjs 58434ecf19b2Smrg 58444ecf19b2Smrg 584532034fa5Smrg if test -n "$EXEEXT"; then 584632034fa5Smrg am__EXEEXT_TRUE= 584732034fa5Smrg am__EXEEXT_FALSE='#' 584832034fa5Smrgelse 584932034fa5Smrg am__EXEEXT_TRUE='#' 585032034fa5Smrg am__EXEEXT_FALSE= 585132034fa5Smrgfi 585232034fa5Smrg 58534ecf19b2Smrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 585432034fa5Smrg { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. 585532034fa5SmrgUsually this means the macro was only invoked conditionally." >&5 585632034fa5Smrg$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. 585732034fa5SmrgUsually this means the macro was only invoked conditionally." >&2;} 585832034fa5Smrg { (exit 1); exit 1; }; } 585932034fa5Smrgfi 586032034fa5Smrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 586132034fa5Smrg { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 586232034fa5SmrgUsually this means the macro was only invoked conditionally." >&5 586332034fa5Smrg$as_echo "$as_me: error: conditional \"AMDEP\" was never defined. 586432034fa5SmrgUsually this means the macro was only invoked conditionally." >&2;} 586532034fa5Smrg { (exit 1); exit 1; }; } 586632034fa5Smrgfi 586732034fa5Smrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 586832034fa5Smrg { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 58694ecf19b2SmrgUsually this means the macro was only invoked conditionally." >&5 587032034fa5Smrg$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 58714ecf19b2SmrgUsually this means the macro was only invoked conditionally." >&2;} 58724ecf19b2Smrg { (exit 1); exit 1; }; } 58734ecf19b2Smrgfi 58744ecf19b2Smrgif test -z "${ISO8859_1_TRUE}" && test -z "${ISO8859_1_FALSE}"; then 587532034fa5Smrg { { $as_echo "$as_me:$LINENO: error: conditional \"ISO8859_1\" was never defined. 58764ecf19b2SmrgUsually this means the macro was only invoked conditionally." >&5 587732034fa5Smrg$as_echo "$as_me: error: conditional \"ISO8859_1\" was never defined. 58784ecf19b2SmrgUsually this means the macro was only invoked conditionally." >&2;} 58794ecf19b2Smrg { (exit 1); exit 1; }; } 58804ecf19b2Smrgfi 58814ecf19b2Smrgif test -z "${ISO8859_2_TRUE}" && test -z "${ISO8859_2_FALSE}"; then 588232034fa5Smrg { { $as_echo "$as_me:$LINENO: error: conditional \"ISO8859_2\" was never defined. 58834ecf19b2SmrgUsually this means the macro was only invoked conditionally." >&5 588432034fa5Smrg$as_echo "$as_me: error: conditional \"ISO8859_2\" was never defined. 58854ecf19b2SmrgUsually this means the macro was only invoked conditionally." >&2;} 58864ecf19b2Smrg { (exit 1); exit 1; }; } 58874ecf19b2Smrgfi 58884ecf19b2Smrgif test -z "${ISO8859_3_TRUE}" && test -z "${ISO8859_3_FALSE}"; then 588932034fa5Smrg { { $as_echo "$as_me:$LINENO: error: conditional \"ISO8859_3\" was never defined. 58904ecf19b2SmrgUsually this means the macro was only invoked conditionally." >&5 589132034fa5Smrg$as_echo "$as_me: error: conditional \"ISO8859_3\" was never defined. 58924ecf19b2SmrgUsually this means the macro was only invoked conditionally." >&2;} 58934ecf19b2Smrg { (exit 1); exit 1; }; } 58944ecf19b2Smrgfi 58954ecf19b2Smrgif test -z "${ISO8859_4_TRUE}" && test -z "${ISO8859_4_FALSE}"; then 589632034fa5Smrg { { $as_echo "$as_me:$LINENO: error: conditional \"ISO8859_4\" was never defined. 58974ecf19b2SmrgUsually this means the macro was only invoked conditionally." >&5 589832034fa5Smrg$as_echo "$as_me: error: conditional \"ISO8859_4\" was never defined. 58994ecf19b2SmrgUsually this means the macro was only invoked conditionally." >&2;} 59004ecf19b2Smrg { (exit 1); exit 1; }; } 59014ecf19b2Smrgfi 59024ecf19b2Smrgif test -z "${ISO8859_9_TRUE}" && test -z "${ISO8859_9_FALSE}"; then 590332034fa5Smrg { { $as_echo "$as_me:$LINENO: error: conditional \"ISO8859_9\" was never defined. 59044ecf19b2SmrgUsually this means the macro was only invoked conditionally." >&5 590532034fa5Smrg$as_echo "$as_me: error: conditional \"ISO8859_9\" was never defined. 59064ecf19b2SmrgUsually this means the macro was only invoked conditionally." >&2;} 59074ecf19b2Smrg { (exit 1); exit 1; }; } 59084ecf19b2Smrgfi 59094ecf19b2Smrgif test -z "${ISO8859_10_TRUE}" && test -z "${ISO8859_10_FALSE}"; then 591032034fa5Smrg { { $as_echo "$as_me:$LINENO: error: conditional \"ISO8859_10\" was never defined. 59114ecf19b2SmrgUsually this means the macro was only invoked conditionally." >&5 591232034fa5Smrg$as_echo "$as_me: error: conditional \"ISO8859_10\" was never defined. 59134ecf19b2SmrgUsually this means the macro was only invoked conditionally." >&2;} 59144ecf19b2Smrg { (exit 1); exit 1; }; } 59154ecf19b2Smrgfi 59164ecf19b2Smrgif test -z "${ISO8859_13_TRUE}" && test -z "${ISO8859_13_FALSE}"; then 591732034fa5Smrg { { $as_echo "$as_me:$LINENO: error: conditional \"ISO8859_13\" was never defined. 59184ecf19b2SmrgUsually this means the macro was only invoked conditionally." >&5 591932034fa5Smrg$as_echo "$as_me: error: conditional \"ISO8859_13\" was never defined. 59204ecf19b2SmrgUsually this means the macro was only invoked conditionally." >&2;} 59214ecf19b2Smrg { (exit 1); exit 1; }; } 59224ecf19b2Smrgfi 59234ecf19b2Smrgif test -z "${ISO8859_14_TRUE}" && test -z "${ISO8859_14_FALSE}"; then 592432034fa5Smrg { { $as_echo "$as_me:$LINENO: error: conditional \"ISO8859_14\" was never defined. 59254ecf19b2SmrgUsually this means the macro was only invoked conditionally." >&5 592632034fa5Smrg$as_echo "$as_me: error: conditional \"ISO8859_14\" was never defined. 59274ecf19b2SmrgUsually this means the macro was only invoked conditionally." >&2;} 59284ecf19b2Smrg { (exit 1); exit 1; }; } 59294ecf19b2Smrgfi 59304ecf19b2Smrgif test -z "${ISO8859_15_TRUE}" && test -z "${ISO8859_15_FALSE}"; then 593132034fa5Smrg { { $as_echo "$as_me:$LINENO: error: conditional \"ISO8859_15\" was never defined. 59324ecf19b2SmrgUsually this means the macro was only invoked conditionally." >&5 593332034fa5Smrg$as_echo "$as_me: error: conditional \"ISO8859_15\" was never defined. 59344ecf19b2SmrgUsually this means the macro was only invoked conditionally." >&2;} 59354ecf19b2Smrg { (exit 1); exit 1; }; } 59364ecf19b2Smrgfi 59374ecf19b2Smrg 59384ecf19b2Smrg: ${CONFIG_STATUS=./config.status} 593932034fa5Smrgac_write_fail=0 59404ecf19b2Smrgac_clean_files_save=$ac_clean_files 59414ecf19b2Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS" 594232034fa5Smrg{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 594332034fa5Smrg$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 594432034fa5Smrgcat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 59454ecf19b2Smrg#! $SHELL 59464ecf19b2Smrg# Generated by $as_me. 59474ecf19b2Smrg# Run this file to recreate the current configuration. 59484ecf19b2Smrg# Compiler output produced by configure, useful for debugging 59494ecf19b2Smrg# configure, is in config.log if it exists. 59504ecf19b2Smrg 59514ecf19b2Smrgdebug=false 59524ecf19b2Smrgac_cs_recheck=false 59534ecf19b2Smrgac_cs_silent=false 59544ecf19b2SmrgSHELL=\${CONFIG_SHELL-$SHELL} 59554ecf19b2Smrg_ACEOF 59564ecf19b2Smrg 595732034fa5Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 59584ecf19b2Smrg## --------------------- ## 59594ecf19b2Smrg## M4sh Initialization. ## 59604ecf19b2Smrg## --------------------- ## 59614ecf19b2Smrg 596232034fa5Smrg# Be more Bourne compatible 596332034fa5SmrgDUALCASE=1; export DUALCASE # for MKS sh 59644ecf19b2Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 59654ecf19b2Smrg emulate sh 59664ecf19b2Smrg NULLCMD=: 596732034fa5Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 59684ecf19b2Smrg # is contrary to our usage. Disable this feature. 59694ecf19b2Smrg alias -g '${1+"$@"}'='"$@"' 597032034fa5Smrg setopt NO_GLOB_SUBST 597132034fa5Smrgelse 597232034fa5Smrg case `(set -o) 2>/dev/null` in 597332034fa5Smrg *posix*) set -o posix ;; 597432034fa5Smrgesac 597532034fa5Smrg 597632034fa5Smrgfi 597732034fa5Smrg 597832034fa5Smrg 597932034fa5Smrg 598032034fa5Smrg 598132034fa5Smrg# PATH needs CR 598232034fa5Smrg# Avoid depending upon Character Ranges. 598332034fa5Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 598432034fa5Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 598532034fa5Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 598632034fa5Smrgas_cr_digits='0123456789' 598732034fa5Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 598832034fa5Smrg 598932034fa5Smrgas_nl=' 599032034fa5Smrg' 599132034fa5Smrgexport as_nl 599232034fa5Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 599332034fa5Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 599432034fa5Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 599532034fa5Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 599632034fa5Smrgif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 599732034fa5Smrg as_echo='printf %s\n' 599832034fa5Smrg as_echo_n='printf %s' 599932034fa5Smrgelse 600032034fa5Smrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 600132034fa5Smrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 600232034fa5Smrg as_echo_n='/usr/ucb/echo -n' 600332034fa5Smrg else 600432034fa5Smrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 600532034fa5Smrg as_echo_n_body='eval 600632034fa5Smrg arg=$1; 600732034fa5Smrg case $arg in 600832034fa5Smrg *"$as_nl"*) 600932034fa5Smrg expr "X$arg" : "X\\(.*\\)$as_nl"; 601032034fa5Smrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 601132034fa5Smrg esac; 601232034fa5Smrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 601332034fa5Smrg ' 601432034fa5Smrg export as_echo_n_body 601532034fa5Smrg as_echo_n='sh -c $as_echo_n_body as_echo' 601632034fa5Smrg fi 601732034fa5Smrg export as_echo_body 601832034fa5Smrg as_echo='sh -c $as_echo_body as_echo' 601932034fa5Smrgfi 602032034fa5Smrg 602132034fa5Smrg# The user is always right. 602232034fa5Smrgif test "${PATH_SEPARATOR+set}" != set; then 602332034fa5Smrg PATH_SEPARATOR=: 602432034fa5Smrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 602532034fa5Smrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 602632034fa5Smrg PATH_SEPARATOR=';' 602732034fa5Smrg } 60284ecf19b2Smrgfi 60294ecf19b2Smrg 60304ecf19b2Smrg# Support unset when possible. 60314ecf19b2Smrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 60324ecf19b2Smrg as_unset=unset 60334ecf19b2Smrgelse 60344ecf19b2Smrg as_unset=false 60354ecf19b2Smrgfi 60364ecf19b2Smrg 60374ecf19b2Smrg 603832034fa5Smrg# IFS 603932034fa5Smrg# We need space, tab and new line, in precisely that order. Quoting is 604032034fa5Smrg# there to prevent editors from complaining about space-tab. 604132034fa5Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 604232034fa5Smrg# splitting by setting IFS to empty value.) 604332034fa5SmrgIFS=" "" $as_nl" 604432034fa5Smrg 604532034fa5Smrg# Find who we are. Look in the path if we contain no directory separator. 604632034fa5Smrgcase $0 in 604732034fa5Smrg *[\\/]* ) as_myself=$0 ;; 604832034fa5Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 604932034fa5Smrgfor as_dir in $PATH 605032034fa5Smrgdo 605132034fa5Smrg IFS=$as_save_IFS 605232034fa5Smrg test -z "$as_dir" && as_dir=. 605332034fa5Smrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 605432034fa5Smrgdone 605532034fa5SmrgIFS=$as_save_IFS 605632034fa5Smrg 605732034fa5Smrg ;; 605832034fa5Smrgesac 605932034fa5Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 606032034fa5Smrg# in which case we are not to be found in the path. 606132034fa5Smrgif test "x$as_myself" = x; then 606232034fa5Smrg as_myself=$0 606332034fa5Smrgfi 606432034fa5Smrgif test ! -f "$as_myself"; then 606532034fa5Smrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 606632034fa5Smrg { (exit 1); exit 1; } 606732034fa5Smrgfi 606832034fa5Smrg 60694ecf19b2Smrg# Work around bugs in pre-3.0 UWIN ksh. 607032034fa5Smrgfor as_var in ENV MAIL MAILPATH 607132034fa5Smrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 607232034fa5Smrgdone 60734ecf19b2SmrgPS1='$ ' 60744ecf19b2SmrgPS2='> ' 60754ecf19b2SmrgPS4='+ ' 60764ecf19b2Smrg 60774ecf19b2Smrg# NLS nuisances. 607832034fa5SmrgLC_ALL=C 607932034fa5Smrgexport LC_ALL 608032034fa5SmrgLANGUAGE=C 608132034fa5Smrgexport LANGUAGE 60824ecf19b2Smrg 60834ecf19b2Smrg# Required to use basename. 608432034fa5Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 608532034fa5Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 60864ecf19b2Smrg as_expr=expr 60874ecf19b2Smrgelse 60884ecf19b2Smrg as_expr=false 60894ecf19b2Smrgfi 60904ecf19b2Smrg 609132034fa5Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 60924ecf19b2Smrg as_basename=basename 60934ecf19b2Smrgelse 60944ecf19b2Smrg as_basename=false 60954ecf19b2Smrgfi 60964ecf19b2Smrg 60974ecf19b2Smrg 60984ecf19b2Smrg# Name of the executable. 609932034fa5Smrgas_me=`$as_basename -- "$0" || 61004ecf19b2Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 61014ecf19b2Smrg X"$0" : 'X\(//\)$' \| \ 610232034fa5Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 610332034fa5Smrg$as_echo X/"$0" | 610432034fa5Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 610532034fa5Smrg s//\1/ 610632034fa5Smrg q 610732034fa5Smrg } 610832034fa5Smrg /^X\/\(\/\/\)$/{ 610932034fa5Smrg s//\1/ 611032034fa5Smrg q 611132034fa5Smrg } 611232034fa5Smrg /^X\/\(\/\).*/{ 611332034fa5Smrg s//\1/ 611432034fa5Smrg q 611532034fa5Smrg } 611632034fa5Smrg s/.*/./; q'` 61174ecf19b2Smrg 611832034fa5Smrg# CDPATH. 611932034fa5Smrg$as_unset CDPATH 61204ecf19b2Smrg 61214ecf19b2Smrg 61224ecf19b2Smrg 61234ecf19b2Smrg as_lineno_1=$LINENO 61244ecf19b2Smrg as_lineno_2=$LINENO 61254ecf19b2Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 612632034fa5Smrg test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 61274ecf19b2Smrg 61284ecf19b2Smrg # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 61294ecf19b2Smrg # uniformly replaced by the line number. The first 'sed' inserts a 613032034fa5Smrg # line-number line after each line using $LINENO; the second 'sed' 613132034fa5Smrg # does the real work. The second script uses 'N' to pair each 613232034fa5Smrg # line-number line with the line containing $LINENO, and appends 613332034fa5Smrg # trailing '-' during substitution so that $LINENO is not a special 613432034fa5Smrg # case at line end. 61354ecf19b2Smrg # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 613632034fa5Smrg # scripts with optimization help from Paolo Bonzini. Blame Lee 613732034fa5Smrg # E. McMahon (1931-1989) for sed's syntax. :-) 613832034fa5Smrg sed -n ' 613932034fa5Smrg p 614032034fa5Smrg /[$]LINENO/= 614132034fa5Smrg ' <$as_myself | 61424ecf19b2Smrg sed ' 614332034fa5Smrg s/[$]LINENO.*/&-/ 614432034fa5Smrg t lineno 614532034fa5Smrg b 614632034fa5Smrg :lineno 61474ecf19b2Smrg N 614832034fa5Smrg :loop 614932034fa5Smrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 61504ecf19b2Smrg t loop 615132034fa5Smrg s/-\n.*// 61524ecf19b2Smrg ' >$as_me.lineno && 615332034fa5Smrg chmod +x "$as_me.lineno" || 615432034fa5Smrg { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 61554ecf19b2Smrg { (exit 1); exit 1; }; } 61564ecf19b2Smrg 61574ecf19b2Smrg # Don't try to exec as it changes $[0], causing all sort of problems 61584ecf19b2Smrg # (the dirname of $[0] is not the place where we might find the 615932034fa5Smrg # original and so on. Autoconf is especially sensitive to this). 616032034fa5Smrg . "./$as_me.lineno" 61614ecf19b2Smrg # Exit status is that of the last command. 61624ecf19b2Smrg exit 61634ecf19b2Smrg} 61644ecf19b2Smrg 61654ecf19b2Smrg 616632034fa5Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 616732034fa5Smrg as_dirname=dirname 616832034fa5Smrgelse 616932034fa5Smrg as_dirname=false 617032034fa5Smrgfi 61714ecf19b2Smrg 617232034fa5SmrgECHO_C= ECHO_N= ECHO_T= 617332034fa5Smrgcase `echo -n x` in 617432034fa5Smrg-n*) 617532034fa5Smrg case `echo 'x\c'` in 617632034fa5Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 617732034fa5Smrg *) ECHO_C='\c';; 617832034fa5Smrg esac;; 617932034fa5Smrg*) 618032034fa5Smrg ECHO_N='-n';; 618132034fa5Smrgesac 618232034fa5Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 618332034fa5Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 61844ecf19b2Smrg as_expr=expr 61854ecf19b2Smrgelse 61864ecf19b2Smrg as_expr=false 61874ecf19b2Smrgfi 61884ecf19b2Smrg 61894ecf19b2Smrgrm -f conf$$ conf$$.exe conf$$.file 619032034fa5Smrgif test -d conf$$.dir; then 619132034fa5Smrg rm -f conf$$.dir/conf$$.file 619232034fa5Smrgelse 619332034fa5Smrg rm -f conf$$.dir 619432034fa5Smrg mkdir conf$$.dir 2>/dev/null 619532034fa5Smrgfi 619632034fa5Smrgif (echo >conf$$.file) 2>/dev/null; then 619732034fa5Smrg if ln -s conf$$.file conf$$ 2>/dev/null; then 61984ecf19b2Smrg as_ln_s='ln -s' 619932034fa5Smrg # ... but there are two gotchas: 620032034fa5Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 620132034fa5Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 620232034fa5Smrg # In both cases, we have to default to `cp -p'. 620332034fa5Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 620432034fa5Smrg as_ln_s='cp -p' 620532034fa5Smrg elif ln conf$$.file conf$$ 2>/dev/null; then 620632034fa5Smrg as_ln_s=ln 620732034fa5Smrg else 620832034fa5Smrg as_ln_s='cp -p' 62094ecf19b2Smrg fi 62104ecf19b2Smrgelse 62114ecf19b2Smrg as_ln_s='cp -p' 62124ecf19b2Smrgfi 621332034fa5Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 621432034fa5Smrgrmdir conf$$.dir 2>/dev/null 62154ecf19b2Smrg 62164ecf19b2Smrgif mkdir -p . 2>/dev/null; then 62174ecf19b2Smrg as_mkdir_p=: 62184ecf19b2Smrgelse 62194ecf19b2Smrg test -d ./-p && rmdir ./-p 62204ecf19b2Smrg as_mkdir_p=false 62214ecf19b2Smrgfi 62224ecf19b2Smrg 622332034fa5Smrgif test -x / >/dev/null 2>&1; then 622432034fa5Smrg as_test_x='test -x' 622532034fa5Smrgelse 622632034fa5Smrg if ls -dL / >/dev/null 2>&1; then 622732034fa5Smrg as_ls_L_option=L 622832034fa5Smrg else 622932034fa5Smrg as_ls_L_option= 623032034fa5Smrg fi 623132034fa5Smrg as_test_x=' 623232034fa5Smrg eval sh -c '\'' 623332034fa5Smrg if test -d "$1"; then 623432034fa5Smrg test -d "$1/."; 623532034fa5Smrg else 623632034fa5Smrg case $1 in 623732034fa5Smrg -*)set "./$1";; 623832034fa5Smrg esac; 623932034fa5Smrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 624032034fa5Smrg ???[sx]*):;;*)false;;esac;fi 624132034fa5Smrg '\'' sh 624232034fa5Smrg ' 624332034fa5Smrgfi 624432034fa5Smrgas_executable_p=$as_test_x 62454ecf19b2Smrg 62464ecf19b2Smrg# Sed expression to map a string onto a valid CPP name. 62474ecf19b2Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 62484ecf19b2Smrg 62494ecf19b2Smrg# Sed expression to map a string onto a valid variable name. 62504ecf19b2Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 62514ecf19b2Smrg 62524ecf19b2Smrg 62534ecf19b2Smrgexec 6>&1 62544ecf19b2Smrg 625532034fa5Smrg# Save the log message, to keep $[0] and so on meaningful, and to 62564ecf19b2Smrg# report actual input values of CONFIG_FILES etc. instead of their 625732034fa5Smrg# values after options handling. 625832034fa5Smrgac_log=" 625932034fa5SmrgThis file was extended by font-adobe-75dpi $as_me 1.0.1, which was 626032034fa5Smrggenerated by GNU Autoconf 2.63. Invocation command line was 62614ecf19b2Smrg 62624ecf19b2Smrg CONFIG_FILES = $CONFIG_FILES 62634ecf19b2Smrg CONFIG_HEADERS = $CONFIG_HEADERS 62644ecf19b2Smrg CONFIG_LINKS = $CONFIG_LINKS 62654ecf19b2Smrg CONFIG_COMMANDS = $CONFIG_COMMANDS 62664ecf19b2Smrg $ $0 $@ 62674ecf19b2Smrg 626832034fa5Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q` 626932034fa5Smrg" 627032034fa5Smrg 62714ecf19b2Smrg_ACEOF 62724ecf19b2Smrg 627332034fa5Smrgcase $ac_config_files in *" 627432034fa5Smrg"*) set x $ac_config_files; shift; ac_config_files=$*;; 627532034fa5Smrgesac 62764ecf19b2Smrg 62774ecf19b2Smrg 62784ecf19b2Smrg 627932034fa5Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 628032034fa5Smrg# Files that config.status was made for. 628132034fa5Smrgconfig_files="$ac_config_files" 628232034fa5Smrgconfig_commands="$ac_config_commands" 62834ecf19b2Smrg 628432034fa5Smrg_ACEOF 62854ecf19b2Smrg 628632034fa5Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 62874ecf19b2Smrgac_cs_usage="\ 62884ecf19b2Smrg\`$as_me' instantiates files from templates according to the 62894ecf19b2Smrgcurrent configuration. 62904ecf19b2Smrg 629132034fa5SmrgUsage: $0 [OPTION]... [FILE]... 62924ecf19b2Smrg 62934ecf19b2Smrg -h, --help print this help, then exit 629432034fa5Smrg -V, --version print version number and configuration settings, then exit 629532034fa5Smrg -q, --quiet, --silent 629632034fa5Smrg do not print progress messages 62974ecf19b2Smrg -d, --debug don't remove temporary files 62984ecf19b2Smrg --recheck update $as_me by reconfiguring in the same conditions 629932034fa5Smrg --file=FILE[:TEMPLATE] 630032034fa5Smrg instantiate the configuration file FILE 63014ecf19b2Smrg 63024ecf19b2SmrgConfiguration files: 63034ecf19b2Smrg$config_files 63044ecf19b2Smrg 630532034fa5SmrgConfiguration commands: 630632034fa5Smrg$config_commands 630732034fa5Smrg 63084ecf19b2SmrgReport bugs to <bug-autoconf@gnu.org>." 63094ecf19b2Smrg 631032034fa5Smrg_ACEOF 631132034fa5Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 63124ecf19b2Smrgac_cs_version="\\ 631332034fa5Smrgfont-adobe-75dpi config.status 1.0.1 631432034fa5Smrgconfigured by $0, generated by GNU Autoconf 2.63, 631532034fa5Smrg with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 63164ecf19b2Smrg 631732034fa5SmrgCopyright (C) 2008 Free Software Foundation, Inc. 63184ecf19b2SmrgThis config.status script is free software; the Free Software Foundation 63194ecf19b2Smrggives unlimited permission to copy, distribute and modify it." 632032034fa5Smrg 632132034fa5Smrgac_pwd='$ac_pwd' 632232034fa5Smrgsrcdir='$srcdir' 632332034fa5SmrgINSTALL='$INSTALL' 632432034fa5SmrgMKDIR_P='$MKDIR_P' 632532034fa5SmrgAWK='$AWK' 632632034fa5Smrgtest -n "\$AWK" || AWK=awk 63274ecf19b2Smrg_ACEOF 63284ecf19b2Smrg 632932034fa5Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 633032034fa5Smrg# The default lists apply if the user does not specify any file. 63314ecf19b2Smrgac_need_defaults=: 63324ecf19b2Smrgwhile test $# != 0 63334ecf19b2Smrgdo 63344ecf19b2Smrg case $1 in 63354ecf19b2Smrg --*=*) 633632034fa5Smrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 633732034fa5Smrg ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 63384ecf19b2Smrg ac_shift=: 63394ecf19b2Smrg ;; 634032034fa5Smrg *) 63414ecf19b2Smrg ac_option=$1 63424ecf19b2Smrg ac_optarg=$2 63434ecf19b2Smrg ac_shift=shift 63444ecf19b2Smrg ;; 63454ecf19b2Smrg esac 63464ecf19b2Smrg 63474ecf19b2Smrg case $ac_option in 63484ecf19b2Smrg # Handling of the options. 63494ecf19b2Smrg -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 63504ecf19b2Smrg ac_cs_recheck=: ;; 635132034fa5Smrg --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 635232034fa5Smrg $as_echo "$ac_cs_version"; exit ;; 635332034fa5Smrg --debug | --debu | --deb | --de | --d | -d ) 63544ecf19b2Smrg debug=: ;; 63554ecf19b2Smrg --file | --fil | --fi | --f ) 63564ecf19b2Smrg $ac_shift 635732034fa5Smrg case $ac_optarg in 635832034fa5Smrg *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 635932034fa5Smrg esac 636032034fa5Smrg CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 63614ecf19b2Smrg ac_need_defaults=false;; 636232034fa5Smrg --he | --h | --help | --hel | -h ) 636332034fa5Smrg $as_echo "$ac_cs_usage"; exit ;; 63644ecf19b2Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 63654ecf19b2Smrg | -silent | --silent | --silen | --sile | --sil | --si | --s) 63664ecf19b2Smrg ac_cs_silent=: ;; 63674ecf19b2Smrg 63684ecf19b2Smrg # This is an error. 636932034fa5Smrg -*) { $as_echo "$as_me: error: unrecognized option: $1 637032034fa5SmrgTry \`$0 --help' for more information." >&2 63714ecf19b2Smrg { (exit 1); exit 1; }; } ;; 63724ecf19b2Smrg 637332034fa5Smrg *) ac_config_targets="$ac_config_targets $1" 637432034fa5Smrg ac_need_defaults=false ;; 63754ecf19b2Smrg 63764ecf19b2Smrg esac 63774ecf19b2Smrg shift 63784ecf19b2Smrgdone 63794ecf19b2Smrg 63804ecf19b2Smrgac_configure_extra_args= 63814ecf19b2Smrg 63824ecf19b2Smrgif $ac_cs_silent; then 63834ecf19b2Smrg exec 6>/dev/null 63844ecf19b2Smrg ac_configure_extra_args="$ac_configure_extra_args --silent" 63854ecf19b2Smrgfi 63864ecf19b2Smrg 63874ecf19b2Smrg_ACEOF 638832034fa5Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 63894ecf19b2Smrgif \$ac_cs_recheck; then 639032034fa5Smrg set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 639132034fa5Smrg shift 639232034fa5Smrg \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 639332034fa5Smrg CONFIG_SHELL='$SHELL' 639432034fa5Smrg export CONFIG_SHELL 639532034fa5Smrg exec "\$@" 63964ecf19b2Smrgfi 63974ecf19b2Smrg 63984ecf19b2Smrg_ACEOF 639932034fa5Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 640032034fa5Smrgexec 5>>config.log 640132034fa5Smrg{ 640232034fa5Smrg echo 640332034fa5Smrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 640432034fa5Smrg## Running $as_me. ## 640532034fa5Smrg_ASBOX 640632034fa5Smrg $as_echo "$ac_log" 640732034fa5Smrg} >&5 64084ecf19b2Smrg 640932034fa5Smrg_ACEOF 641032034fa5Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 641132034fa5Smrg# 641232034fa5Smrg# INIT-COMMANDS 641332034fa5Smrg# 641432034fa5SmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 64154ecf19b2Smrg 641632034fa5Smrg_ACEOF 64174ecf19b2Smrg 641832034fa5Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 64194ecf19b2Smrg 642032034fa5Smrg# Handling of arguments. 64214ecf19b2Smrgfor ac_config_target in $ac_config_targets 64224ecf19b2Smrgdo 642332034fa5Smrg case $ac_config_target in 642432034fa5Smrg "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 642532034fa5Smrg "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 642632034fa5Smrg 642732034fa5Smrg *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 642832034fa5Smrg$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 64294ecf19b2Smrg { (exit 1); exit 1; }; };; 64304ecf19b2Smrg esac 64314ecf19b2Smrgdone 64324ecf19b2Smrg 643332034fa5Smrg 64344ecf19b2Smrg# If the user did not use the arguments to specify the items to instantiate, 64354ecf19b2Smrg# then the envvar interface is used. Set only those that are not. 64364ecf19b2Smrg# We use the long form for the default assignment because of an extremely 64374ecf19b2Smrg# bizarre bug on SunOS 4.1.3. 64384ecf19b2Smrgif $ac_need_defaults; then 64394ecf19b2Smrg test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 644032034fa5Smrg test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 64414ecf19b2Smrgfi 64424ecf19b2Smrg 64434ecf19b2Smrg# Have a temporary directory for convenience. Make it in the build tree 644432034fa5Smrg# simply because there is no reason against having it here, and in addition, 64454ecf19b2Smrg# creating and moving files from /tmp can sometimes cause problems. 644632034fa5Smrg# Hook for its removal unless debugging. 644732034fa5Smrg# Note that there is a small window in which the directory will not be cleaned: 644832034fa5Smrg# after its creation but before its name has been assigned to `$tmp'. 64494ecf19b2Smrg$debug || 64504ecf19b2Smrg{ 645132034fa5Smrg tmp= 645232034fa5Smrg trap 'exit_status=$? 645332034fa5Smrg { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 645432034fa5Smrg' 0 64554ecf19b2Smrg trap '{ (exit 1); exit 1; }' 1 2 13 15 64564ecf19b2Smrg} 64574ecf19b2Smrg# Create a (secure) tmp directory for tmp files. 64584ecf19b2Smrg 64594ecf19b2Smrg{ 646032034fa5Smrg tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 64614ecf19b2Smrg test -n "$tmp" && test -d "$tmp" 64624ecf19b2Smrg} || 64634ecf19b2Smrg{ 646432034fa5Smrg tmp=./conf$$-$RANDOM 646532034fa5Smrg (umask 077 && mkdir "$tmp") 64664ecf19b2Smrg} || 64674ecf19b2Smrg{ 646832034fa5Smrg $as_echo "$as_me: cannot create a temporary directory in ." >&2 64694ecf19b2Smrg { (exit 1); exit 1; } 64704ecf19b2Smrg} 64714ecf19b2Smrg 647232034fa5Smrg# Set up the scripts for CONFIG_FILES section. 647332034fa5Smrg# No need to generate them if there are no CONFIG_FILES. 647432034fa5Smrg# This happens for instance with `./config.status config.h'. 647532034fa5Smrgif test -n "$CONFIG_FILES"; then 647632034fa5Smrg 647732034fa5Smrg 647832034fa5Smrgac_cr=' 647932034fa5Smrg' 648032034fa5Smrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 648132034fa5Smrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 648232034fa5Smrg ac_cs_awk_cr='\\r' 648332034fa5Smrgelse 648432034fa5Smrg ac_cs_awk_cr=$ac_cr 648532034fa5Smrgfi 648632034fa5Smrg 64874ecf19b2Smrgecho 'BEGIN {' >"$tmp/subs1.awk" && 64884ecf19b2Smrg_ACEOF 64894ecf19b2Smrg 649032034fa5Smrg 649132034fa5Smrg{ 649232034fa5Smrg echo "cat >conf$$subs.awk <<_ACEOF" && 649332034fa5Smrg echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 649432034fa5Smrg echo "_ACEOF" 649532034fa5Smrg} >conf$$subs.sh || 649632034fa5Smrg { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 649732034fa5Smrg$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 649832034fa5Smrg { (exit 1); exit 1; }; } 649932034fa5Smrgac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 650032034fa5Smrgac_delim='%!_!# ' 650132034fa5Smrgfor ac_last_try in false false false false false :; do 650232034fa5Smrg . ./conf$$subs.sh || 650332034fa5Smrg { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 650432034fa5Smrg$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 65054ecf19b2Smrg { (exit 1); exit 1; }; } 650632034fa5Smrg 650732034fa5Smrg ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 650832034fa5Smrg if test $ac_delim_n = $ac_delim_num; then 650932034fa5Smrg break 651032034fa5Smrg elif $ac_last_try; then 651132034fa5Smrg { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 651232034fa5Smrg$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 651332034fa5Smrg { (exit 1); exit 1; }; } 651432034fa5Smrg else 65154ecf19b2Smrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 651632034fa5Smrg fi 651732034fa5Smrgdone 65184ecf19b2Smrgrm -f conf$$subs.sh 651932034fa5Smrg 652032034fa5Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 65214ecf19b2Smrgcat >>"\$tmp/subs1.awk" <<\\_ACAWK && 652232034fa5Smrg_ACEOF 652332034fa5Smrgsed -n ' 652432034fa5Smrgh 652532034fa5Smrgs/^/S["/; s/!.*/"]=/ 652632034fa5Smrgp 652732034fa5Smrgg 652832034fa5Smrgs/^[^!]*!// 652932034fa5Smrg:repl 653032034fa5Smrgt repl 653132034fa5Smrgs/'"$ac_delim"'$// 653232034fa5Smrgt delim 653332034fa5Smrg:nl 653432034fa5Smrgh 653532034fa5Smrgs/\(.\{148\}\).*/\1/ 653632034fa5Smrgt more1 653732034fa5Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 653832034fa5Smrgp 653932034fa5Smrgn 654032034fa5Smrgb repl 654132034fa5Smrg:more1 654232034fa5Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 654332034fa5Smrgp 654432034fa5Smrgg 654532034fa5Smrgs/.\{148\}// 654632034fa5Smrgt nl 654732034fa5Smrg:delim 654832034fa5Smrgh 654932034fa5Smrgs/\(.\{148\}\).*/\1/ 655032034fa5Smrgt more2 655132034fa5Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/ 655232034fa5Smrgp 655332034fa5Smrgb 655432034fa5Smrg:more2 655532034fa5Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 655632034fa5Smrgp 655732034fa5Smrgg 655832034fa5Smrgs/.\{148\}// 655932034fa5Smrgt delim 656032034fa5Smrg' <conf$$subs.awk | sed ' 656132034fa5Smrg/^[^""]/{ 656232034fa5Smrg N 656332034fa5Smrg s/\n// 656432034fa5Smrg} 656532034fa5Smrg' >>$CONFIG_STATUS || ac_write_fail=1 656632034fa5Smrgrm -f conf$$subs.awk 656732034fa5Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 656832034fa5Smrg_ACAWK 656932034fa5Smrgcat >>"\$tmp/subs1.awk" <<_ACAWK && 657032034fa5Smrg for (key in S) S_is_set[key] = 1 657132034fa5Smrg FS = "" 657232034fa5Smrg 657332034fa5Smrg} 657432034fa5Smrg{ 657532034fa5Smrg line = $ 0 657632034fa5Smrg nfields = split(line, field, "@") 657732034fa5Smrg substed = 0 657832034fa5Smrg len = length(field[1]) 657932034fa5Smrg for (i = 2; i < nfields; i++) { 658032034fa5Smrg key = field[i] 658132034fa5Smrg keylen = length(key) 658232034fa5Smrg if (S_is_set[key]) { 658332034fa5Smrg value = S[key] 658432034fa5Smrg line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 658532034fa5Smrg len += length(value) + length(field[++i]) 658632034fa5Smrg substed = 1 658732034fa5Smrg } else 658832034fa5Smrg len += 1 + keylen 658932034fa5Smrg } 659032034fa5Smrg 659132034fa5Smrg print line 659232034fa5Smrg} 659332034fa5Smrg 659432034fa5Smrg_ACAWK 659532034fa5Smrg_ACEOF 659632034fa5Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 659732034fa5Smrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 659832034fa5Smrg sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 659932034fa5Smrgelse 660032034fa5Smrg cat 660132034fa5Smrgfi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 660232034fa5Smrg || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 660332034fa5Smrg$as_echo "$as_me: error: could not setup config files machinery" >&2;} 660432034fa5Smrg { (exit 1); exit 1; }; } 660532034fa5Smrg_ACEOF 660632034fa5Smrg 660732034fa5Smrg# VPATH may cause trouble with some makes, so we remove $(srcdir), 660832034fa5Smrg# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 660932034fa5Smrg# trailing colons and then remove the whole line if VPATH becomes empty 661032034fa5Smrg# (actually we leave an empty line to preserve line numbers). 661132034fa5Smrgif test "x$srcdir" = x.; then 661232034fa5Smrg ac_vpsub='/^[ ]*VPATH[ ]*=/{ 661332034fa5Smrgs/:*\$(srcdir):*/:/ 661432034fa5Smrgs/:*\${srcdir}:*/:/ 661532034fa5Smrgs/:*@srcdir@:*/:/ 661632034fa5Smrgs/^\([^=]*=[ ]*\):*/\1/ 661732034fa5Smrgs/:*$// 661832034fa5Smrgs/^[^=]*=[ ]*$// 661932034fa5Smrg}' 662032034fa5Smrgfi 662132034fa5Smrg 662232034fa5Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 662332034fa5Smrgfi # test -n "$CONFIG_FILES" 662432034fa5Smrg 662532034fa5Smrg 662632034fa5Smrgeval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" 662732034fa5Smrgshift 662832034fa5Smrgfor ac_tag 662932034fa5Smrgdo 663032034fa5Smrg case $ac_tag in 663132034fa5Smrg :[FHLC]) ac_mode=$ac_tag; continue;; 663232034fa5Smrg esac 663332034fa5Smrg case $ac_mode$ac_tag in 663432034fa5Smrg :[FHL]*:*);; 663532034fa5Smrg :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 663632034fa5Smrg$as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 663732034fa5Smrg { (exit 1); exit 1; }; };; 663832034fa5Smrg :[FH]-) ac_tag=-:-;; 663932034fa5Smrg :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 664032034fa5Smrg esac 664132034fa5Smrg ac_save_IFS=$IFS 664232034fa5Smrg IFS=: 664332034fa5Smrg set x $ac_tag 664432034fa5Smrg IFS=$ac_save_IFS 664532034fa5Smrg shift 664632034fa5Smrg ac_file=$1 664732034fa5Smrg shift 664832034fa5Smrg 664932034fa5Smrg case $ac_mode in 665032034fa5Smrg :L) ac_source=$1;; 665132034fa5Smrg :[FH]) 665232034fa5Smrg ac_file_inputs= 665332034fa5Smrg for ac_f 665432034fa5Smrg do 665532034fa5Smrg case $ac_f in 665632034fa5Smrg -) ac_f="$tmp/stdin";; 665732034fa5Smrg *) # Look for the file first in the build tree, then in the source tree 665832034fa5Smrg # (if the path is not absolute). The absolute path cannot be DOS-style, 665932034fa5Smrg # because $ac_f cannot contain `:'. 666032034fa5Smrg test -f "$ac_f" || 666132034fa5Smrg case $ac_f in 666232034fa5Smrg [\\/$]*) false;; 666332034fa5Smrg *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 666432034fa5Smrg esac || 666532034fa5Smrg { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 666632034fa5Smrg$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 666732034fa5Smrg { (exit 1); exit 1; }; };; 666832034fa5Smrg esac 666932034fa5Smrg case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 667032034fa5Smrg ac_file_inputs="$ac_file_inputs '$ac_f'" 667132034fa5Smrg done 667232034fa5Smrg 667332034fa5Smrg # Let's still pretend it is `configure' which instantiates (i.e., don't 667432034fa5Smrg # use $as_me), people would be surprised to read: 667532034fa5Smrg # /* config.h. Generated by config.status. */ 667632034fa5Smrg configure_input='Generated from '` 667732034fa5Smrg $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 667832034fa5Smrg `' by configure.' 667932034fa5Smrg if test x"$ac_file" != x-; then 668032034fa5Smrg configure_input="$ac_file. $configure_input" 668132034fa5Smrg { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 668232034fa5Smrg$as_echo "$as_me: creating $ac_file" >&6;} 668332034fa5Smrg fi 668432034fa5Smrg # Neutralize special characters interpreted by sed in replacement strings. 668532034fa5Smrg case $configure_input in #( 668632034fa5Smrg *\&* | *\|* | *\\* ) 668732034fa5Smrg ac_sed_conf_input=`$as_echo "$configure_input" | 668832034fa5Smrg sed 's/[\\\\&|]/\\\\&/g'`;; #( 668932034fa5Smrg *) ac_sed_conf_input=$configure_input;; 669032034fa5Smrg esac 669132034fa5Smrg 669232034fa5Smrg case $ac_tag in 669332034fa5Smrg *:-:* | *:-) cat >"$tmp/stdin" \ 669432034fa5Smrg || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 669532034fa5Smrg$as_echo "$as_me: error: could not create $ac_file" >&2;} 669632034fa5Smrg { (exit 1); exit 1; }; } ;; 669732034fa5Smrg esac 66984ecf19b2Smrg ;; 66994ecf19b2Smrg esac 670032034fa5Smrg 67014ecf19b2Smrg ac_dir=`$as_dirname -- "$ac_file" || 67024ecf19b2Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 67034ecf19b2Smrg X"$ac_file" : 'X\(//\)[^/]' \| \ 670432034fa5Smrg X"$ac_file" : 'X\(//\)$' \| \ 670532034fa5Smrg X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 670632034fa5Smrg$as_echo X"$ac_file" | 670732034fa5Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 670832034fa5Smrg s//\1/ 670932034fa5Smrg q 671032034fa5Smrg } 671132034fa5Smrg /^X\(\/\/\)[^/].*/{ 671232034fa5Smrg s//\1/ 671332034fa5Smrg q 671432034fa5Smrg } 671532034fa5Smrg /^X\(\/\/\)$/{ 671632034fa5Smrg s//\1/ 671732034fa5Smrg q 671832034fa5Smrg } 671932034fa5Smrg /^X\(\/\).*/{ 672032034fa5Smrg s//\1/ 672132034fa5Smrg q 672232034fa5Smrg } 672332034fa5Smrg s/.*/./; q'` 672432034fa5Smrg { as_dir="$ac_dir" 672532034fa5Smrg case $as_dir in #( 672632034fa5Smrg -*) as_dir=./$as_dir;; 672732034fa5Smrg esac 67284ecf19b2Smrg test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 672932034fa5Smrg as_dirs= 673032034fa5Smrg while :; do 673132034fa5Smrg case $as_dir in #( 673232034fa5Smrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 673332034fa5Smrg *) as_qdir=$as_dir;; 673432034fa5Smrg esac 673532034fa5Smrg as_dirs="'$as_qdir' $as_dirs" 67364ecf19b2Smrg as_dir=`$as_dirname -- "$as_dir" || 67374ecf19b2Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 67384ecf19b2Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 673932034fa5Smrg X"$as_dir" : 'X\(//\)$' \| \ 674032034fa5Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 674132034fa5Smrg$as_echo X"$as_dir" | 674232034fa5Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 674332034fa5Smrg s//\1/ 674432034fa5Smrg q 674532034fa5Smrg } 674632034fa5Smrg /^X\(\/\/\)[^/].*/{ 674732034fa5Smrg s//\1/ 674832034fa5Smrg q 674932034fa5Smrg } 675032034fa5Smrg /^X\(\/\/\)$/{ 675132034fa5Smrg s//\1/ 675232034fa5Smrg q 675332034fa5Smrg } 675432034fa5Smrg /^X\(\/\).*/{ 675532034fa5Smrg s//\1/ 675632034fa5Smrg q 675732034fa5Smrg } 675832034fa5Smrg s/.*/./; q'` 67594ecf19b2Smrg test -d "$as_dir" && break 676032034fa5Smrg done 676132034fa5Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 676232034fa5Smrg } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 67634ecf19b2Smrg$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 67644ecf19b2Smrg { (exit 1); exit 1; }; }; } 67654ecf19b2Smrg ac_builddir=. 676632034fa5Smrg 676732034fa5Smrgcase "$ac_dir" in 676832034fa5Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 676932034fa5Smrg*) 677032034fa5Smrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 677132034fa5Smrg # A ".." for each directory in $ac_dir_suffix. 677232034fa5Smrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 677332034fa5Smrg case $ac_top_builddir_sub in 677432034fa5Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 677532034fa5Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 677632034fa5Smrg esac ;; 677732034fa5Smrgesac 677832034fa5Smrgac_abs_top_builddir=$ac_pwd 677932034fa5Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 678032034fa5Smrg# for backward compatibility: 67814ecf19b2Smrgac_top_builddir=$ac_top_build_prefix 67824ecf19b2Smrg 678332034fa5Smrgcase $srcdir in 67844ecf19b2Smrg .) # We are building in place. 678532034fa5Smrg ac_srcdir=. 678632034fa5Smrg ac_top_srcdir=$ac_top_builddir_sub 678732034fa5Smrg ac_abs_top_srcdir=$ac_pwd ;; 67884ecf19b2Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 678932034fa5Smrg ac_srcdir=$srcdir$ac_dir_suffix; 679032034fa5Smrg ac_top_srcdir=$srcdir 679132034fa5Smrg ac_abs_top_srcdir=$srcdir ;; 679232034fa5Smrg *) # Relative name. 679332034fa5Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 679432034fa5Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 67954ecf19b2Smrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 679632034fa5Smrgesac 67974ecf19b2Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 67984ecf19b2Smrg 679932034fa5Smrg 680032034fa5Smrg case $ac_mode in 680132034fa5Smrg :F) 680232034fa5Smrg # 680332034fa5Smrg # CONFIG_FILE 68044ecf19b2Smrg # 68054ecf19b2Smrg 68064ecf19b2Smrg case $INSTALL in 680732034fa5Smrg [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 68084ecf19b2Smrg *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 680932034fa5Smrg esac 681032034fa5Smrg ac_MKDIR_P=$MKDIR_P 681132034fa5Smrg case $MKDIR_P in 681232034fa5Smrg [\\/$]* | ?:[\\/]* ) ;; 681332034fa5Smrg */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 681432034fa5Smrg esac 68154ecf19b2Smrg_ACEOF 681632034fa5Smrg 681732034fa5Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 681832034fa5Smrg# If the template does not know about datarootdir, expand it. 681932034fa5Smrg# FIXME: This hack should be removed a few years after 2.60. 682032034fa5Smrgac_datarootdir_hack=; ac_datarootdir_seen= 682132034fa5Smrg 682232034fa5Smrgac_sed_dataroot=' 682332034fa5Smrg/datarootdir/ { 682432034fa5Smrg p 682532034fa5Smrg q 682632034fa5Smrg} 682732034fa5Smrg/@datadir@/p 682832034fa5Smrg/@docdir@/p 682932034fa5Smrg/@infodir@/p 683032034fa5Smrg/@localedir@/p 683132034fa5Smrg/@mandir@/p 683232034fa5Smrg' 683332034fa5Smrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 683432034fa5Smrg*datarootdir*) ac_datarootdir_seen=yes;; 683532034fa5Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 683632034fa5Smrg { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 683732034fa5Smrg$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 683832034fa5Smrg_ACEOF 683932034fa5Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 684032034fa5Smrg ac_datarootdir_hack=' 684132034fa5Smrg s&@datadir@&$datadir&g 684232034fa5Smrg s&@docdir@&$docdir&g 684332034fa5Smrg s&@infodir@&$infodir&g 684432034fa5Smrg s&@localedir@&$localedir&g 684532034fa5Smrg s&@mandir@&$mandir&g 684632034fa5Smrg s&\\\${datarootdir}&$datarootdir&g' ;; 68474ecf19b2Smrgesac 684832034fa5Smrg_ACEOF 684932034fa5Smrg 685032034fa5Smrg# Neutralize VPATH when `$srcdir' = `.'. 685132034fa5Smrg# Shell code in configure.ac might set extrasub. 685232034fa5Smrg# FIXME: do we really want to maintain this feature? 685332034fa5Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 68544ecf19b2Smrgac_sed_extra="$ac_vpsub 68554ecf19b2Smrg$extrasub 685632034fa5Smrg_ACEOF 68574ecf19b2Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 68584ecf19b2Smrg:t 685932034fa5Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 686032034fa5Smrgs|@configure_input@|$ac_sed_conf_input|;t t 686132034fa5Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t 686232034fa5Smrgs&@top_build_prefix@&$ac_top_build_prefix&;t t 686332034fa5Smrgs&@srcdir@&$ac_srcdir&;t t 686432034fa5Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t 686532034fa5Smrgs&@top_srcdir@&$ac_top_srcdir&;t t 686632034fa5Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 686732034fa5Smrgs&@builddir@&$ac_builddir&;t t 686832034fa5Smrgs&@abs_builddir@&$ac_abs_builddir&;t t 686932034fa5Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t 687032034fa5Smrgs&@INSTALL@&$ac_INSTALL&;t t 687132034fa5Smrgs&@MKDIR_P@&$ac_MKDIR_P&;t t 687232034fa5Smrg$ac_datarootdir_hack 687332034fa5Smrg" 687432034fa5Smrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 687532034fa5Smrg || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 687632034fa5Smrg$as_echo "$as_me: error: could not create $ac_file" >&2;} 68774ecf19b2Smrg { (exit 1); exit 1; }; } 687832034fa5Smrg 687932034fa5Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 688032034fa5Smrg { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 688132034fa5Smrg { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 688232034fa5Smrg { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 688332034fa5Smrgwhich seems to be undefined. Please make sure it is defined." >&5 688432034fa5Smrg$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 688532034fa5Smrgwhich seems to be undefined. Please make sure it is defined." >&2;} 688632034fa5Smrg 688732034fa5Smrg rm -f "$tmp/stdin" 688832034fa5Smrg case $ac_file in 688932034fa5Smrg -) cat "$tmp/out" && rm -f "$tmp/out";; 689032034fa5Smrg *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 689132034fa5Smrg esac \ 689232034fa5Smrg || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 689332034fa5Smrg$as_echo "$as_me: error: could not create $ac_file" >&2;} 689432034fa5Smrg { (exit 1); exit 1; }; } 689532034fa5Smrg ;; 689632034fa5Smrg 689732034fa5Smrg 689832034fa5Smrg :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 689932034fa5Smrg$as_echo "$as_me: executing $ac_file commands" >&6;} 690032034fa5Smrg ;; 690132034fa5Smrg esac 690232034fa5Smrg 690332034fa5Smrg 690432034fa5Smrg case $ac_file$ac_mode in 690532034fa5Smrg "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 690632034fa5Smrg # Autoconf 2.62 quotes --file arguments for eval, but not when files 690732034fa5Smrg # are listed without --file. Let's play safe and only enable the eval 690832034fa5Smrg # if we detect the quoting. 690932034fa5Smrg case $CONFIG_FILES in 691032034fa5Smrg *\'*) eval set x "$CONFIG_FILES" ;; 691132034fa5Smrg *) set x $CONFIG_FILES ;; 691232034fa5Smrg esac 691332034fa5Smrg shift 691432034fa5Smrg for mf 691532034fa5Smrg do 691632034fa5Smrg # Strip MF so we end up with the name of the file. 691732034fa5Smrg mf=`echo "$mf" | sed -e 's/:.*$//'` 691832034fa5Smrg # Check whether this is an Automake generated Makefile or not. 691932034fa5Smrg # We used to match only the files named `Makefile.in', but 692032034fa5Smrg # some people rename them; so instead we look at the file content. 692132034fa5Smrg # Grep'ing the first line is not enough: some people post-process 692232034fa5Smrg # each Makefile.in and add a new line on top of each file to say so. 692332034fa5Smrg # Grep'ing the whole file is not good either: AIX grep has a line 692432034fa5Smrg # limit of 2048, but all sed's we know have understand at least 4000. 692532034fa5Smrg if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 692632034fa5Smrg dirpart=`$as_dirname -- "$mf" || 692732034fa5Smrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 692832034fa5Smrg X"$mf" : 'X\(//\)[^/]' \| \ 692932034fa5Smrg X"$mf" : 'X\(//\)$' \| \ 693032034fa5Smrg X"$mf" : 'X\(/\)' \| . 2>/dev/null || 693132034fa5Smrg$as_echo X"$mf" | 693232034fa5Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 693332034fa5Smrg s//\1/ 693432034fa5Smrg q 693532034fa5Smrg } 693632034fa5Smrg /^X\(\/\/\)[^/].*/{ 693732034fa5Smrg s//\1/ 693832034fa5Smrg q 693932034fa5Smrg } 694032034fa5Smrg /^X\(\/\/\)$/{ 694132034fa5Smrg s//\1/ 694232034fa5Smrg q 694332034fa5Smrg } 694432034fa5Smrg /^X\(\/\).*/{ 694532034fa5Smrg s//\1/ 694632034fa5Smrg q 694732034fa5Smrg } 694832034fa5Smrg s/.*/./; q'` 694932034fa5Smrg else 695032034fa5Smrg continue 695132034fa5Smrg fi 695232034fa5Smrg # Extract the definition of DEPDIR, am__include, and am__quote 695332034fa5Smrg # from the Makefile without running `make'. 695432034fa5Smrg DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 695532034fa5Smrg test -z "$DEPDIR" && continue 695632034fa5Smrg am__include=`sed -n 's/^am__include = //p' < "$mf"` 695732034fa5Smrg test -z "am__include" && continue 695832034fa5Smrg am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 695932034fa5Smrg # When using ansi2knr, U may be empty or an underscore; expand it 696032034fa5Smrg U=`sed -n 's/^U = //p' < "$mf"` 696132034fa5Smrg # Find all dependency output files, they are included files with 696232034fa5Smrg # $(DEPDIR) in their names. We invoke sed twice because it is the 696332034fa5Smrg # simplest approach to changing $(DEPDIR) to its actual value in the 696432034fa5Smrg # expansion. 696532034fa5Smrg for file in `sed -n " 696632034fa5Smrg s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 696732034fa5Smrg sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 696832034fa5Smrg # Make sure the directory exists. 696932034fa5Smrg test -f "$dirpart/$file" && continue 697032034fa5Smrg fdir=`$as_dirname -- "$file" || 697132034fa5Smrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 697232034fa5Smrg X"$file" : 'X\(//\)[^/]' \| \ 697332034fa5Smrg X"$file" : 'X\(//\)$' \| \ 697432034fa5Smrg X"$file" : 'X\(/\)' \| . 2>/dev/null || 697532034fa5Smrg$as_echo X"$file" | 697632034fa5Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 697732034fa5Smrg s//\1/ 697832034fa5Smrg q 697932034fa5Smrg } 698032034fa5Smrg /^X\(\/\/\)[^/].*/{ 698132034fa5Smrg s//\1/ 698232034fa5Smrg q 698332034fa5Smrg } 698432034fa5Smrg /^X\(\/\/\)$/{ 698532034fa5Smrg s//\1/ 698632034fa5Smrg q 698732034fa5Smrg } 698832034fa5Smrg /^X\(\/\).*/{ 698932034fa5Smrg s//\1/ 699032034fa5Smrg q 699132034fa5Smrg } 699232034fa5Smrg s/.*/./; q'` 699332034fa5Smrg { as_dir=$dirpart/$fdir 699432034fa5Smrg case $as_dir in #( 699532034fa5Smrg -*) as_dir=./$as_dir;; 699632034fa5Smrg esac 699732034fa5Smrg test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 699832034fa5Smrg as_dirs= 699932034fa5Smrg while :; do 700032034fa5Smrg case $as_dir in #( 700132034fa5Smrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 700232034fa5Smrg *) as_qdir=$as_dir;; 700332034fa5Smrg esac 700432034fa5Smrg as_dirs="'$as_qdir' $as_dirs" 700532034fa5Smrg as_dir=`$as_dirname -- "$as_dir" || 700632034fa5Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 700732034fa5Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 700832034fa5Smrg X"$as_dir" : 'X\(//\)$' \| \ 700932034fa5Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 701032034fa5Smrg$as_echo X"$as_dir" | 701132034fa5Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 701232034fa5Smrg s//\1/ 701332034fa5Smrg q 701432034fa5Smrg } 701532034fa5Smrg /^X\(\/\/\)[^/].*/{ 701632034fa5Smrg s//\1/ 701732034fa5Smrg q 701832034fa5Smrg } 701932034fa5Smrg /^X\(\/\/\)$/{ 702032034fa5Smrg s//\1/ 702132034fa5Smrg q 702232034fa5Smrg } 702332034fa5Smrg /^X\(\/\).*/{ 702432034fa5Smrg s//\1/ 702532034fa5Smrg q 702632034fa5Smrg } 702732034fa5Smrg s/.*/./; q'` 702832034fa5Smrg test -d "$as_dir" && break 702932034fa5Smrg done 703032034fa5Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 703132034fa5Smrg } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 703232034fa5Smrg$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 703332034fa5Smrg { (exit 1); exit 1; }; }; } 703432034fa5Smrg # echo "creating $dirpart/$file" 703532034fa5Smrg echo '# dummy' > "$dirpart/$file" 703632034fa5Smrg done 703732034fa5Smrg done 703832034fa5Smrg} 703932034fa5Smrg ;; 704032034fa5Smrg 704132034fa5Smrg esac 70424ecf19b2Smrgdone # for ac_tag 70434ecf19b2Smrg 70444ecf19b2Smrg 70454ecf19b2Smrg{ (exit 0); exit 0; } 70464ecf19b2Smrg_ACEOF 70474ecf19b2Smrgchmod +x $CONFIG_STATUS 70484ecf19b2Smrgac_clean_files=$ac_clean_files_save 704932034fa5Smrg 705032034fa5Smrgtest $ac_write_fail = 0 || 705132034fa5Smrg { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 705232034fa5Smrg$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 705332034fa5Smrg { (exit 1); exit 1; }; } 70544ecf19b2Smrg 70554ecf19b2Smrg 70564ecf19b2Smrg# configure is writing to config.log, and then calls config.status. 70574ecf19b2Smrg# config.status does its own redirection, appending to config.log. 70584ecf19b2Smrg# Unfortunately, on DOS this fails, as config.log is still kept open 70594ecf19b2Smrg# by configure, so config.status won't be able to write to it; its 70604ecf19b2Smrg# output is simply discarded. So we exec the FD to /dev/null, 70614ecf19b2Smrg# effectively closing config.log, so it can be properly (re)opened and 70624ecf19b2Smrg# appended to by config.status. When coming back to configure, we 70634ecf19b2Smrg# need to make the FD available again. 70644ecf19b2Smrgif test "$no_create" != yes; then 70654ecf19b2Smrg ac_cs_success=: 70664ecf19b2Smrg ac_config_status_args= 70674ecf19b2Smrg test "$silent" = yes && 70684ecf19b2Smrg ac_config_status_args="$ac_config_status_args --quiet" 70694ecf19b2Smrg exec 5>/dev/null 70704ecf19b2Smrg $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 70714ecf19b2Smrg exec 5>>config.log 70724ecf19b2Smrg # Use ||, not &&, to avoid exiting from the if with $? = 1, which 70734ecf19b2Smrg # would make configure fail if this is the last instruction. 70744ecf19b2Smrg $ac_cs_success || { (exit 1); exit 1; } 707532034fa5Smrgfi 707632034fa5Smrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 707732034fa5Smrg { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 707832034fa5Smrg$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 70794ecf19b2Smrgfi 7080 7081