configure revision 33c89af1
133c89af1Smrg#! /bin/sh 233c89af1Smrg# Guess values for system-dependent variables and create Makefiles. 333c89af1Smrg# Generated by GNU Autoconf 2.60 for editres 1.0.3. 433c89af1Smrg# 533c89af1Smrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 633c89af1Smrg# 733c89af1Smrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 833c89af1Smrg# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 933c89af1Smrg# This configure script is free software; the Free Software Foundation 1033c89af1Smrg# gives unlimited permission to copy, distribute and modify it. 1133c89af1Smrg## --------------------- ## 1233c89af1Smrg## M4sh Initialization. ## 1333c89af1Smrg## --------------------- ## 1433c89af1Smrg 1533c89af1Smrg# Be Bourne compatible 1633c89af1Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 1733c89af1Smrg emulate sh 1833c89af1Smrg NULLCMD=: 1933c89af1Smrg # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 2033c89af1Smrg # is contrary to our usage. Disable this feature. 2133c89af1Smrg alias -g '${1+"$@"}'='"$@"' 2233c89af1Smrg setopt NO_GLOB_SUBST 2333c89af1Smrgelse 2433c89af1Smrg case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac 2533c89af1Smrgfi 2633c89af1SmrgBIN_SH=xpg4; export BIN_SH # for Tru64 2733c89af1SmrgDUALCASE=1; export DUALCASE # for MKS sh 2833c89af1Smrg 2933c89af1Smrg 3033c89af1Smrg# PATH needs CR 3133c89af1Smrg# Avoid depending upon Character Ranges. 3233c89af1Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 3333c89af1Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 3433c89af1Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 3533c89af1Smrgas_cr_digits='0123456789' 3633c89af1Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 3733c89af1Smrg 3833c89af1Smrg# The user is always right. 3933c89af1Smrgif test "${PATH_SEPARATOR+set}" != set; then 4033c89af1Smrg echo "#! /bin/sh" >conf$$.sh 4133c89af1Smrg echo "exit 0" >>conf$$.sh 4233c89af1Smrg chmod +x conf$$.sh 4333c89af1Smrg if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 4433c89af1Smrg PATH_SEPARATOR=';' 4533c89af1Smrg else 4633c89af1Smrg PATH_SEPARATOR=: 4733c89af1Smrg fi 4833c89af1Smrg rm -f conf$$.sh 4933c89af1Smrgfi 5033c89af1Smrg 5133c89af1Smrg# Support unset when possible. 5233c89af1Smrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5333c89af1Smrg as_unset=unset 5433c89af1Smrgelse 5533c89af1Smrg as_unset=false 5633c89af1Smrgfi 5733c89af1Smrg 5833c89af1Smrg 5933c89af1Smrg# IFS 6033c89af1Smrg# We need space, tab and new line, in precisely that order. Quoting is 6133c89af1Smrg# there to prevent editors from complaining about space-tab. 6233c89af1Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 6333c89af1Smrg# splitting by setting IFS to empty value.) 6433c89af1Smrgas_nl=' 6533c89af1Smrg' 6633c89af1SmrgIFS=" "" $as_nl" 6733c89af1Smrg 6833c89af1Smrg# Find who we are. Look in the path if we contain no directory separator. 6933c89af1Smrgcase $0 in 7033c89af1Smrg *[\\/]* ) as_myself=$0 ;; 7133c89af1Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7233c89af1Smrgfor as_dir in $PATH 7333c89af1Smrgdo 7433c89af1Smrg IFS=$as_save_IFS 7533c89af1Smrg test -z "$as_dir" && as_dir=. 7633c89af1Smrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 7733c89af1Smrgdone 7833c89af1SmrgIFS=$as_save_IFS 7933c89af1Smrg 8033c89af1Smrg ;; 8133c89af1Smrgesac 8233c89af1Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 8333c89af1Smrg# in which case we are not to be found in the path. 8433c89af1Smrgif test "x$as_myself" = x; then 8533c89af1Smrg as_myself=$0 8633c89af1Smrgfi 8733c89af1Smrgif test ! -f "$as_myself"; then 8833c89af1Smrg echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 8933c89af1Smrg { (exit 1); exit 1; } 9033c89af1Smrgfi 9133c89af1Smrg 9233c89af1Smrg# Work around bugs in pre-3.0 UWIN ksh. 9333c89af1Smrgfor as_var in ENV MAIL MAILPATH 9433c89af1Smrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 9533c89af1Smrgdone 9633c89af1SmrgPS1='$ ' 9733c89af1SmrgPS2='> ' 9833c89af1SmrgPS4='+ ' 9933c89af1Smrg 10033c89af1Smrg# NLS nuisances. 10133c89af1Smrgfor as_var in \ 10233c89af1Smrg LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 10333c89af1Smrg LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 10433c89af1Smrg LC_TELEPHONE LC_TIME 10533c89af1Smrgdo 10633c89af1Smrg if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 10733c89af1Smrg eval $as_var=C; export $as_var 10833c89af1Smrg else 10933c89af1Smrg ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 11033c89af1Smrg fi 11133c89af1Smrgdone 11233c89af1Smrg 11333c89af1Smrg# Required to use basename. 11433c89af1Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 11533c89af1Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 11633c89af1Smrg as_expr=expr 11733c89af1Smrgelse 11833c89af1Smrg as_expr=false 11933c89af1Smrgfi 12033c89af1Smrg 12133c89af1Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 12233c89af1Smrg as_basename=basename 12333c89af1Smrgelse 12433c89af1Smrg as_basename=false 12533c89af1Smrgfi 12633c89af1Smrg 12733c89af1Smrg 12833c89af1Smrg# Name of the executable. 12933c89af1Smrgas_me=`$as_basename -- "$0" || 13033c89af1Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 13133c89af1Smrg X"$0" : 'X\(//\)$' \| \ 13233c89af1Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 13333c89af1Smrgecho X/"$0" | 13433c89af1Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 13533c89af1Smrg s//\1/ 13633c89af1Smrg q 13733c89af1Smrg } 13833c89af1Smrg /^X\/\(\/\/\)$/{ 13933c89af1Smrg s//\1/ 14033c89af1Smrg q 14133c89af1Smrg } 14233c89af1Smrg /^X\/\(\/\).*/{ 14333c89af1Smrg s//\1/ 14433c89af1Smrg q 14533c89af1Smrg } 14633c89af1Smrg s/.*/./; q'` 14733c89af1Smrg 14833c89af1Smrg# CDPATH. 14933c89af1Smrg$as_unset CDPATH 15033c89af1Smrg 15133c89af1Smrg 15233c89af1Smrgif test "x$CONFIG_SHELL" = x; then 15333c89af1Smrg if (eval ":") 2>/dev/null; then 15433c89af1Smrg as_have_required=yes 15533c89af1Smrgelse 15633c89af1Smrg as_have_required=no 15733c89af1Smrgfi 15833c89af1Smrg 15933c89af1Smrg if test $as_have_required = yes && (eval ": 16033c89af1Smrg(as_func_return () { 16133c89af1Smrg (exit \$1) 16233c89af1Smrg} 16333c89af1Smrgas_func_success () { 16433c89af1Smrg as_func_return 0 16533c89af1Smrg} 16633c89af1Smrgas_func_failure () { 16733c89af1Smrg as_func_return 1 16833c89af1Smrg} 16933c89af1Smrgas_func_ret_success () { 17033c89af1Smrg return 0 17133c89af1Smrg} 17233c89af1Smrgas_func_ret_failure () { 17333c89af1Smrg return 1 17433c89af1Smrg} 17533c89af1Smrg 17633c89af1Smrgexitcode=0 17733c89af1Smrgif as_func_success; then 17833c89af1Smrg : 17933c89af1Smrgelse 18033c89af1Smrg exitcode=1 18133c89af1Smrg echo as_func_success failed. 18233c89af1Smrgfi 18333c89af1Smrg 18433c89af1Smrgif as_func_failure; then 18533c89af1Smrg exitcode=1 18633c89af1Smrg echo as_func_failure succeeded. 18733c89af1Smrgfi 18833c89af1Smrg 18933c89af1Smrgif as_func_ret_success; then 19033c89af1Smrg : 19133c89af1Smrgelse 19233c89af1Smrg exitcode=1 19333c89af1Smrg echo as_func_ret_success failed. 19433c89af1Smrgfi 19533c89af1Smrg 19633c89af1Smrgif as_func_ret_failure; then 19733c89af1Smrg exitcode=1 19833c89af1Smrg echo as_func_ret_failure succeeded. 19933c89af1Smrgfi 20033c89af1Smrg 20133c89af1Smrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then 20233c89af1Smrg : 20333c89af1Smrgelse 20433c89af1Smrg exitcode=1 20533c89af1Smrg echo positional parameters were not saved. 20633c89af1Smrgfi 20733c89af1Smrg 20833c89af1Smrgtest \$exitcode = 0) || { (exit 1); exit 1; } 20933c89af1Smrg 21033c89af1Smrg( 21133c89af1Smrg as_lineno_1=\$LINENO 21233c89af1Smrg as_lineno_2=\$LINENO 21333c89af1Smrg test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 21433c89af1Smrg test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 21533c89af1Smrg") 2> /dev/null; then 21633c89af1Smrg : 21733c89af1Smrgelse 21833c89af1Smrg as_candidate_shells= 21933c89af1Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22033c89af1Smrgfor as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 22133c89af1Smrgdo 22233c89af1Smrg IFS=$as_save_IFS 22333c89af1Smrg test -z "$as_dir" && as_dir=. 22433c89af1Smrg case $as_dir in 22533c89af1Smrg /*) 22633c89af1Smrg for as_base in sh bash ksh sh5; do 22733c89af1Smrg as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 22833c89af1Smrg done;; 22933c89af1Smrg esac 23033c89af1Smrgdone 23133c89af1SmrgIFS=$as_save_IFS 23233c89af1Smrg 23333c89af1Smrg 23433c89af1Smrg for as_shell in $as_candidate_shells $SHELL; do 23533c89af1Smrg # Try only shells that exist, to save several forks. 23633c89af1Smrg if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 23733c89af1Smrg { ("$as_shell") 2> /dev/null <<\_ASEOF 23833c89af1Smrg# Be Bourne compatible 23933c89af1Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 24033c89af1Smrg emulate sh 24133c89af1Smrg NULLCMD=: 24233c89af1Smrg # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 24333c89af1Smrg # is contrary to our usage. Disable this feature. 24433c89af1Smrg alias -g '${1+"$@"}'='"$@"' 24533c89af1Smrg setopt NO_GLOB_SUBST 24633c89af1Smrgelse 24733c89af1Smrg case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac 24833c89af1Smrgfi 24933c89af1SmrgBIN_SH=xpg4; export BIN_SH # for Tru64 25033c89af1SmrgDUALCASE=1; export DUALCASE # for MKS sh 25133c89af1Smrg 25233c89af1Smrg: 25333c89af1Smrg_ASEOF 25433c89af1Smrg}; then 25533c89af1Smrg CONFIG_SHELL=$as_shell 25633c89af1Smrg as_have_required=yes 25733c89af1Smrg if { "$as_shell" 2> /dev/null <<\_ASEOF 25833c89af1Smrg# Be Bourne compatible 25933c89af1Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 26033c89af1Smrg emulate sh 26133c89af1Smrg NULLCMD=: 26233c89af1Smrg # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 26333c89af1Smrg # is contrary to our usage. Disable this feature. 26433c89af1Smrg alias -g '${1+"$@"}'='"$@"' 26533c89af1Smrg setopt NO_GLOB_SUBST 26633c89af1Smrgelse 26733c89af1Smrg case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac 26833c89af1Smrgfi 26933c89af1SmrgBIN_SH=xpg4; export BIN_SH # for Tru64 27033c89af1SmrgDUALCASE=1; export DUALCASE # for MKS sh 27133c89af1Smrg 27233c89af1Smrg: 27333c89af1Smrg(as_func_return () { 27433c89af1Smrg (exit $1) 27533c89af1Smrg} 27633c89af1Smrgas_func_success () { 27733c89af1Smrg as_func_return 0 27833c89af1Smrg} 27933c89af1Smrgas_func_failure () { 28033c89af1Smrg as_func_return 1 28133c89af1Smrg} 28233c89af1Smrgas_func_ret_success () { 28333c89af1Smrg return 0 28433c89af1Smrg} 28533c89af1Smrgas_func_ret_failure () { 28633c89af1Smrg return 1 28733c89af1Smrg} 28833c89af1Smrg 28933c89af1Smrgexitcode=0 29033c89af1Smrgif as_func_success; then 29133c89af1Smrg : 29233c89af1Smrgelse 29333c89af1Smrg exitcode=1 29433c89af1Smrg echo as_func_success failed. 29533c89af1Smrgfi 29633c89af1Smrg 29733c89af1Smrgif as_func_failure; then 29833c89af1Smrg exitcode=1 29933c89af1Smrg echo as_func_failure succeeded. 30033c89af1Smrgfi 30133c89af1Smrg 30233c89af1Smrgif as_func_ret_success; then 30333c89af1Smrg : 30433c89af1Smrgelse 30533c89af1Smrg exitcode=1 30633c89af1Smrg echo as_func_ret_success failed. 30733c89af1Smrgfi 30833c89af1Smrg 30933c89af1Smrgif as_func_ret_failure; then 31033c89af1Smrg exitcode=1 31133c89af1Smrg echo as_func_ret_failure succeeded. 31233c89af1Smrgfi 31333c89af1Smrg 31433c89af1Smrgif ( set x; as_func_ret_success y && test x = "$1" ); then 31533c89af1Smrg : 31633c89af1Smrgelse 31733c89af1Smrg exitcode=1 31833c89af1Smrg echo positional parameters were not saved. 31933c89af1Smrgfi 32033c89af1Smrg 32133c89af1Smrgtest $exitcode = 0) || { (exit 1); exit 1; } 32233c89af1Smrg 32333c89af1Smrg( 32433c89af1Smrg as_lineno_1=$LINENO 32533c89af1Smrg as_lineno_2=$LINENO 32633c89af1Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 32733c89af1Smrg test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 32833c89af1Smrg 32933c89af1Smrg_ASEOF 33033c89af1Smrg}; then 33133c89af1Smrg break 33233c89af1Smrgfi 33333c89af1Smrg 33433c89af1Smrgfi 33533c89af1Smrg 33633c89af1Smrg done 33733c89af1Smrg 33833c89af1Smrg if test "x$CONFIG_SHELL" != x; then 33933c89af1Smrg for as_var in BASH_ENV ENV 34033c89af1Smrg do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 34133c89af1Smrg done 34233c89af1Smrg export CONFIG_SHELL 34333c89af1Smrg exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 34433c89af1Smrgfi 34533c89af1Smrg 34633c89af1Smrg 34733c89af1Smrg if test $as_have_required = no; then 34833c89af1Smrg echo This script requires a shell more modern than all the 34933c89af1Smrg echo shells that I found on your system. Please install a 35033c89af1Smrg echo modern shell, or manually run the script under such a 35133c89af1Smrg echo shell if you do have one. 35233c89af1Smrg { (exit 1); exit 1; } 35333c89af1Smrgfi 35433c89af1Smrg 35533c89af1Smrg 35633c89af1Smrgfi 35733c89af1Smrg 35833c89af1Smrgfi 35933c89af1Smrg 36033c89af1Smrg 36133c89af1Smrg 36233c89af1Smrg(eval "as_func_return () { 36333c89af1Smrg (exit \$1) 36433c89af1Smrg} 36533c89af1Smrgas_func_success () { 36633c89af1Smrg as_func_return 0 36733c89af1Smrg} 36833c89af1Smrgas_func_failure () { 36933c89af1Smrg as_func_return 1 37033c89af1Smrg} 37133c89af1Smrgas_func_ret_success () { 37233c89af1Smrg return 0 37333c89af1Smrg} 37433c89af1Smrgas_func_ret_failure () { 37533c89af1Smrg return 1 37633c89af1Smrg} 37733c89af1Smrg 37833c89af1Smrgexitcode=0 37933c89af1Smrgif as_func_success; then 38033c89af1Smrg : 38133c89af1Smrgelse 38233c89af1Smrg exitcode=1 38333c89af1Smrg echo as_func_success failed. 38433c89af1Smrgfi 38533c89af1Smrg 38633c89af1Smrgif as_func_failure; then 38733c89af1Smrg exitcode=1 38833c89af1Smrg echo as_func_failure succeeded. 38933c89af1Smrgfi 39033c89af1Smrg 39133c89af1Smrgif as_func_ret_success; then 39233c89af1Smrg : 39333c89af1Smrgelse 39433c89af1Smrg exitcode=1 39533c89af1Smrg echo as_func_ret_success failed. 39633c89af1Smrgfi 39733c89af1Smrg 39833c89af1Smrgif as_func_ret_failure; then 39933c89af1Smrg exitcode=1 40033c89af1Smrg echo as_func_ret_failure succeeded. 40133c89af1Smrgfi 40233c89af1Smrg 40333c89af1Smrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then 40433c89af1Smrg : 40533c89af1Smrgelse 40633c89af1Smrg exitcode=1 40733c89af1Smrg echo positional parameters were not saved. 40833c89af1Smrgfi 40933c89af1Smrg 41033c89af1Smrgtest \$exitcode = 0") || { 41133c89af1Smrg echo No shell found that supports shell functions. 41233c89af1Smrg echo Please tell autoconf@gnu.org about your system, 41333c89af1Smrg echo including any error possibly output before this 41433c89af1Smrg echo message 41533c89af1Smrg} 41633c89af1Smrg 41733c89af1Smrg 41833c89af1Smrg 41933c89af1Smrg as_lineno_1=$LINENO 42033c89af1Smrg as_lineno_2=$LINENO 42133c89af1Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 42233c89af1Smrg test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 42333c89af1Smrg 42433c89af1Smrg # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 42533c89af1Smrg # uniformly replaced by the line number. The first 'sed' inserts a 42633c89af1Smrg # line-number line after each line using $LINENO; the second 'sed' 42733c89af1Smrg # does the real work. The second script uses 'N' to pair each 42833c89af1Smrg # line-number line with the line containing $LINENO, and appends 42933c89af1Smrg # trailing '-' during substitution so that $LINENO is not a special 43033c89af1Smrg # case at line end. 43133c89af1Smrg # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 43233c89af1Smrg # scripts with optimization help from Paolo Bonzini. Blame Lee 43333c89af1Smrg # E. McMahon (1931-1989) for sed's syntax. :-) 43433c89af1Smrg sed -n ' 43533c89af1Smrg p 43633c89af1Smrg /[$]LINENO/= 43733c89af1Smrg ' <$as_myself | 43833c89af1Smrg sed ' 43933c89af1Smrg s/[$]LINENO.*/&-/ 44033c89af1Smrg t lineno 44133c89af1Smrg b 44233c89af1Smrg :lineno 44333c89af1Smrg N 44433c89af1Smrg :loop 44533c89af1Smrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 44633c89af1Smrg t loop 44733c89af1Smrg s/-\n.*// 44833c89af1Smrg ' >$as_me.lineno && 44933c89af1Smrg chmod +x "$as_me.lineno" || 45033c89af1Smrg { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 45133c89af1Smrg { (exit 1); exit 1; }; } 45233c89af1Smrg 45333c89af1Smrg # Don't try to exec as it changes $[0], causing all sort of problems 45433c89af1Smrg # (the dirname of $[0] is not the place where we might find the 45533c89af1Smrg # original and so on. Autoconf is especially sensitive to this). 45633c89af1Smrg . "./$as_me.lineno" 45733c89af1Smrg # Exit status is that of the last command. 45833c89af1Smrg exit 45933c89af1Smrg} 46033c89af1Smrg 46133c89af1Smrg 46233c89af1Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 46333c89af1Smrg as_dirname=dirname 46433c89af1Smrgelse 46533c89af1Smrg as_dirname=false 46633c89af1Smrgfi 46733c89af1Smrg 46833c89af1SmrgECHO_C= ECHO_N= ECHO_T= 46933c89af1Smrgcase `echo -n x` in 47033c89af1Smrg-n*) 47133c89af1Smrg case `echo 'x\c'` in 47233c89af1Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 47333c89af1Smrg *) ECHO_C='\c';; 47433c89af1Smrg esac;; 47533c89af1Smrg*) 47633c89af1Smrg ECHO_N='-n';; 47733c89af1Smrgesac 47833c89af1Smrg 47933c89af1Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 48033c89af1Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 48133c89af1Smrg as_expr=expr 48233c89af1Smrgelse 48333c89af1Smrg as_expr=false 48433c89af1Smrgfi 48533c89af1Smrg 48633c89af1Smrgrm -f conf$$ conf$$.exe conf$$.file 48733c89af1Smrgif test -d conf$$.dir; then 48833c89af1Smrg rm -f conf$$.dir/conf$$.file 48933c89af1Smrgelse 49033c89af1Smrg rm -f conf$$.dir 49133c89af1Smrg mkdir conf$$.dir 49233c89af1Smrgfi 49333c89af1Smrgecho >conf$$.file 49433c89af1Smrgif ln -s conf$$.file conf$$ 2>/dev/null; then 49533c89af1Smrg as_ln_s='ln -s' 49633c89af1Smrg # ... but there are two gotchas: 49733c89af1Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 49833c89af1Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 49933c89af1Smrg # In both cases, we have to default to `cp -p'. 50033c89af1Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 50133c89af1Smrg as_ln_s='cp -p' 50233c89af1Smrgelif ln conf$$.file conf$$ 2>/dev/null; then 50333c89af1Smrg as_ln_s=ln 50433c89af1Smrgelse 50533c89af1Smrg as_ln_s='cp -p' 50633c89af1Smrgfi 50733c89af1Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 50833c89af1Smrgrmdir conf$$.dir 2>/dev/null 50933c89af1Smrg 51033c89af1Smrgif mkdir -p . 2>/dev/null; then 51133c89af1Smrg as_mkdir_p=: 51233c89af1Smrgelse 51333c89af1Smrg test -d ./-p && rmdir ./-p 51433c89af1Smrg as_mkdir_p=false 51533c89af1Smrgfi 51633c89af1Smrg 51733c89af1Smrg# Find out whether ``test -x'' works. Don't use a zero-byte file, as 51833c89af1Smrg# systems may use methods other than mode bits to determine executability. 51933c89af1Smrgcat >conf$$.file <<_ASEOF 52033c89af1Smrg#! /bin/sh 52133c89af1Smrgexit 0 52233c89af1Smrg_ASEOF 52333c89af1Smrgchmod +x conf$$.file 52433c89af1Smrgif test -x conf$$.file >/dev/null 2>&1; then 52533c89af1Smrg as_executable_p="test -x" 52633c89af1Smrgelse 52733c89af1Smrg as_executable_p=: 52833c89af1Smrgfi 52933c89af1Smrgrm -f conf$$.file 53033c89af1Smrg 53133c89af1Smrg# Sed expression to map a string onto a valid CPP name. 53233c89af1Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 53333c89af1Smrg 53433c89af1Smrg# Sed expression to map a string onto a valid variable name. 53533c89af1Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 53633c89af1Smrg 53733c89af1Smrg 53833c89af1Smrg 53933c89af1Smrgexec 7<&0 </dev/null 6>&1 54033c89af1Smrg 54133c89af1Smrg# Name of the host. 54233c89af1Smrg# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 54333c89af1Smrg# so uname gets run too. 54433c89af1Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 54533c89af1Smrg 54633c89af1Smrg# 54733c89af1Smrg# Initializations. 54833c89af1Smrg# 54933c89af1Smrgac_default_prefix=/usr/local 55033c89af1Smrgac_clean_files= 55133c89af1Smrgac_config_libobj_dir=. 55233c89af1SmrgLIBOBJS= 55333c89af1Smrgcross_compiling=no 55433c89af1Smrgsubdirs= 55533c89af1SmrgMFLAGS= 55633c89af1SmrgMAKEFLAGS= 55733c89af1SmrgSHELL=${CONFIG_SHELL-/bin/sh} 55833c89af1Smrg 55933c89af1Smrg# Identity of this package. 56033c89af1SmrgPACKAGE_NAME='editres' 56133c89af1SmrgPACKAGE_TARNAME='editres' 56233c89af1SmrgPACKAGE_VERSION='1.0.3' 56333c89af1SmrgPACKAGE_STRING='editres 1.0.3' 56433c89af1SmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 56533c89af1Smrg 56633c89af1Smrgac_subst_vars='SHELL 56733c89af1SmrgPATH_SEPARATOR 56833c89af1SmrgPACKAGE_NAME 56933c89af1SmrgPACKAGE_TARNAME 57033c89af1SmrgPACKAGE_VERSION 57133c89af1SmrgPACKAGE_STRING 57233c89af1SmrgPACKAGE_BUGREPORT 57333c89af1Smrgexec_prefix 57433c89af1Smrgprefix 57533c89af1Smrgprogram_transform_name 57633c89af1Smrgbindir 57733c89af1Smrgsbindir 57833c89af1Smrglibexecdir 57933c89af1Smrgdatarootdir 58033c89af1Smrgdatadir 58133c89af1Smrgsysconfdir 58233c89af1Smrgsharedstatedir 58333c89af1Smrglocalstatedir 58433c89af1Smrgincludedir 58533c89af1Smrgoldincludedir 58633c89af1Smrgdocdir 58733c89af1Smrginfodir 58833c89af1Smrghtmldir 58933c89af1Smrgdvidir 59033c89af1Smrgpdfdir 59133c89af1Smrgpsdir 59233c89af1Smrglibdir 59333c89af1Smrglocaledir 59433c89af1Smrgmandir 59533c89af1SmrgDEFS 59633c89af1SmrgECHO_C 59733c89af1SmrgECHO_N 59833c89af1SmrgECHO_T 59933c89af1SmrgLIBS 60033c89af1Smrgbuild_alias 60133c89af1Smrghost_alias 60233c89af1Smrgtarget_alias 60333c89af1SmrgINSTALL_PROGRAM 60433c89af1SmrgINSTALL_SCRIPT 60533c89af1SmrgINSTALL_DATA 60633c89af1SmrgCYGPATH_W 60733c89af1SmrgPACKAGE 60833c89af1SmrgVERSION 60933c89af1SmrgACLOCAL 61033c89af1SmrgAUTOCONF 61133c89af1SmrgAUTOMAKE 61233c89af1SmrgAUTOHEADER 61333c89af1SmrgMAKEINFO 61433c89af1Smrginstall_sh 61533c89af1SmrgSTRIP 61633c89af1SmrgINSTALL_STRIP_PROGRAM 61733c89af1Smrgmkdir_p 61833c89af1SmrgAWK 61933c89af1SmrgSET_MAKE 62033c89af1Smrgam__leading_dot 62133c89af1SmrgAMTAR 62233c89af1Smrgam__tar 62333c89af1Smrgam__untar 62433c89af1SmrgMAINTAINER_MODE_TRUE 62533c89af1SmrgMAINTAINER_MODE_FALSE 62633c89af1SmrgMAINT 62733c89af1SmrgCC 62833c89af1SmrgCFLAGS 62933c89af1SmrgLDFLAGS 63033c89af1SmrgCPPFLAGS 63133c89af1Smrgac_ct_CC 63233c89af1SmrgEXEEXT 63333c89af1SmrgOBJEXT 63433c89af1SmrgDEPDIR 63533c89af1Smrgam__include 63633c89af1Smrgam__quote 63733c89af1SmrgAMDEP_TRUE 63833c89af1SmrgAMDEP_FALSE 63933c89af1SmrgAMDEPBACKSLASH 64033c89af1SmrgCCDEPMODE 64133c89af1Smrgam__fastdepCC_TRUE 64233c89af1Smrgam__fastdepCC_FALSE 64333c89af1SmrgPKG_CONFIG 64433c89af1SmrgTMP_XAW_CFLAGS 64533c89af1SmrgTMP_XAW_LIBS 64633c89af1SmrgXAW_USE_XPRINT_TRUE 64733c89af1SmrgXAW_USE_XPRINT_FALSE 64833c89af1SmrgEDITRES_CFLAGS 64933c89af1SmrgEDITRES_LIBS 65033c89af1SmrgAPPDEFS_CFLAGS 65133c89af1SmrgAPPDEFS_LIBS 65233c89af1Smrgappdefaultdir 65333c89af1Smrgbuild 65433c89af1Smrgbuild_cpu 65533c89af1Smrgbuild_vendor 65633c89af1Smrgbuild_os 65733c89af1Smrghost 65833c89af1Smrghost_cpu 65933c89af1Smrghost_vendor 66033c89af1Smrghost_os 66133c89af1SmrgAPP_MAN_SUFFIX 66233c89af1SmrgLIB_MAN_SUFFIX 66333c89af1SmrgFILE_MAN_SUFFIX 66433c89af1SmrgMISC_MAN_SUFFIX 66533c89af1SmrgDRIVER_MAN_SUFFIX 66633c89af1SmrgADMIN_MAN_SUFFIX 66733c89af1SmrgAPP_MAN_DIR 66833c89af1SmrgLIB_MAN_DIR 66933c89af1SmrgFILE_MAN_DIR 67033c89af1SmrgMISC_MAN_DIR 67133c89af1SmrgDRIVER_MAN_DIR 67233c89af1SmrgADMIN_MAN_DIR 67333c89af1SmrgLIBOBJS 67433c89af1SmrgLTLIBOBJS' 67533c89af1Smrgac_subst_files='' 67633c89af1Smrg ac_precious_vars='build_alias 67733c89af1Smrghost_alias 67833c89af1Smrgtarget_alias 67933c89af1SmrgCC 68033c89af1SmrgCFLAGS 68133c89af1SmrgLDFLAGS 68233c89af1SmrgCPPFLAGS 68333c89af1SmrgPKG_CONFIG 68433c89af1SmrgTMP_XAW_CFLAGS 68533c89af1SmrgTMP_XAW_LIBS 68633c89af1SmrgEDITRES_CFLAGS 68733c89af1SmrgEDITRES_LIBS 68833c89af1SmrgAPPDEFS_CFLAGS 68933c89af1SmrgAPPDEFS_LIBS' 69033c89af1Smrg 69133c89af1Smrg 69233c89af1Smrg# Initialize some variables set by options. 69333c89af1Smrgac_init_help= 69433c89af1Smrgac_init_version=false 69533c89af1Smrg# The variables have the same names as the options, with 69633c89af1Smrg# dashes changed to underlines. 69733c89af1Smrgcache_file=/dev/null 69833c89af1Smrgexec_prefix=NONE 69933c89af1Smrgno_create= 70033c89af1Smrgno_recursion= 70133c89af1Smrgprefix=NONE 70233c89af1Smrgprogram_prefix=NONE 70333c89af1Smrgprogram_suffix=NONE 70433c89af1Smrgprogram_transform_name=s,x,x, 70533c89af1Smrgsilent= 70633c89af1Smrgsite= 70733c89af1Smrgsrcdir= 70833c89af1Smrgverbose= 70933c89af1Smrgx_includes=NONE 71033c89af1Smrgx_libraries=NONE 71133c89af1Smrg 71233c89af1Smrg# Installation directory options. 71333c89af1Smrg# These are left unexpanded so users can "make install exec_prefix=/foo" 71433c89af1Smrg# and all the variables that are supposed to be based on exec_prefix 71533c89af1Smrg# by default will actually change. 71633c89af1Smrg# Use braces instead of parens because sh, perl, etc. also accept them. 71733c89af1Smrg# (The list follows the same order as the GNU Coding Standards.) 71833c89af1Smrgbindir='${exec_prefix}/bin' 71933c89af1Smrgsbindir='${exec_prefix}/sbin' 72033c89af1Smrglibexecdir='${exec_prefix}/libexec' 72133c89af1Smrgdatarootdir='${prefix}/share' 72233c89af1Smrgdatadir='${datarootdir}' 72333c89af1Smrgsysconfdir='${prefix}/etc' 72433c89af1Smrgsharedstatedir='${prefix}/com' 72533c89af1Smrglocalstatedir='${prefix}/var' 72633c89af1Smrgincludedir='${prefix}/include' 72733c89af1Smrgoldincludedir='/usr/include' 72833c89af1Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 72933c89af1Smrginfodir='${datarootdir}/info' 73033c89af1Smrghtmldir='${docdir}' 73133c89af1Smrgdvidir='${docdir}' 73233c89af1Smrgpdfdir='${docdir}' 73333c89af1Smrgpsdir='${docdir}' 73433c89af1Smrglibdir='${exec_prefix}/lib' 73533c89af1Smrglocaledir='${datarootdir}/locale' 73633c89af1Smrgmandir='${datarootdir}/man' 73733c89af1Smrg 73833c89af1Smrgac_prev= 73933c89af1Smrgac_dashdash= 74033c89af1Smrgfor ac_option 74133c89af1Smrgdo 74233c89af1Smrg # If the previous option needs an argument, assign it. 74333c89af1Smrg if test -n "$ac_prev"; then 74433c89af1Smrg eval $ac_prev=\$ac_option 74533c89af1Smrg ac_prev= 74633c89af1Smrg continue 74733c89af1Smrg fi 74833c89af1Smrg 74933c89af1Smrg case $ac_option in 75033c89af1Smrg *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 75133c89af1Smrg *) ac_optarg=yes ;; 75233c89af1Smrg esac 75333c89af1Smrg 75433c89af1Smrg # Accept the important Cygnus configure options, so we can diagnose typos. 75533c89af1Smrg 75633c89af1Smrg case $ac_dashdash$ac_option in 75733c89af1Smrg --) 75833c89af1Smrg ac_dashdash=yes ;; 75933c89af1Smrg 76033c89af1Smrg -bindir | --bindir | --bindi | --bind | --bin | --bi) 76133c89af1Smrg ac_prev=bindir ;; 76233c89af1Smrg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 76333c89af1Smrg bindir=$ac_optarg ;; 76433c89af1Smrg 76533c89af1Smrg -build | --build | --buil | --bui | --bu) 76633c89af1Smrg ac_prev=build_alias ;; 76733c89af1Smrg -build=* | --build=* | --buil=* | --bui=* | --bu=*) 76833c89af1Smrg build_alias=$ac_optarg ;; 76933c89af1Smrg 77033c89af1Smrg -cache-file | --cache-file | --cache-fil | --cache-fi \ 77133c89af1Smrg | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 77233c89af1Smrg ac_prev=cache_file ;; 77333c89af1Smrg -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 77433c89af1Smrg | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 77533c89af1Smrg cache_file=$ac_optarg ;; 77633c89af1Smrg 77733c89af1Smrg --config-cache | -C) 77833c89af1Smrg cache_file=config.cache ;; 77933c89af1Smrg 78033c89af1Smrg -datadir | --datadir | --datadi | --datad) 78133c89af1Smrg ac_prev=datadir ;; 78233c89af1Smrg -datadir=* | --datadir=* | --datadi=* | --datad=*) 78333c89af1Smrg datadir=$ac_optarg ;; 78433c89af1Smrg 78533c89af1Smrg -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 78633c89af1Smrg | --dataroo | --dataro | --datar) 78733c89af1Smrg ac_prev=datarootdir ;; 78833c89af1Smrg -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 78933c89af1Smrg | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 79033c89af1Smrg datarootdir=$ac_optarg ;; 79133c89af1Smrg 79233c89af1Smrg -disable-* | --disable-*) 79333c89af1Smrg ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 79433c89af1Smrg # Reject names that are not valid shell variable names. 79533c89af1Smrg expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 79633c89af1Smrg { echo "$as_me: error: invalid feature name: $ac_feature" >&2 79733c89af1Smrg { (exit 1); exit 1; }; } 79833c89af1Smrg ac_feature=`echo $ac_feature | sed 's/-/_/g'` 79933c89af1Smrg eval enable_$ac_feature=no ;; 80033c89af1Smrg 80133c89af1Smrg -docdir | --docdir | --docdi | --doc | --do) 80233c89af1Smrg ac_prev=docdir ;; 80333c89af1Smrg -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 80433c89af1Smrg docdir=$ac_optarg ;; 80533c89af1Smrg 80633c89af1Smrg -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 80733c89af1Smrg ac_prev=dvidir ;; 80833c89af1Smrg -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 80933c89af1Smrg dvidir=$ac_optarg ;; 81033c89af1Smrg 81133c89af1Smrg -enable-* | --enable-*) 81233c89af1Smrg ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 81333c89af1Smrg # Reject names that are not valid shell variable names. 81433c89af1Smrg expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 81533c89af1Smrg { echo "$as_me: error: invalid feature name: $ac_feature" >&2 81633c89af1Smrg { (exit 1); exit 1; }; } 81733c89af1Smrg ac_feature=`echo $ac_feature | sed 's/-/_/g'` 81833c89af1Smrg eval enable_$ac_feature=\$ac_optarg ;; 81933c89af1Smrg 82033c89af1Smrg -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 82133c89af1Smrg | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 82233c89af1Smrg | --exec | --exe | --ex) 82333c89af1Smrg ac_prev=exec_prefix ;; 82433c89af1Smrg -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 82533c89af1Smrg | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 82633c89af1Smrg | --exec=* | --exe=* | --ex=*) 82733c89af1Smrg exec_prefix=$ac_optarg ;; 82833c89af1Smrg 82933c89af1Smrg -gas | --gas | --ga | --g) 83033c89af1Smrg # Obsolete; use --with-gas. 83133c89af1Smrg with_gas=yes ;; 83233c89af1Smrg 83333c89af1Smrg -help | --help | --hel | --he | -h) 83433c89af1Smrg ac_init_help=long ;; 83533c89af1Smrg -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 83633c89af1Smrg ac_init_help=recursive ;; 83733c89af1Smrg -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 83833c89af1Smrg ac_init_help=short ;; 83933c89af1Smrg 84033c89af1Smrg -host | --host | --hos | --ho) 84133c89af1Smrg ac_prev=host_alias ;; 84233c89af1Smrg -host=* | --host=* | --hos=* | --ho=*) 84333c89af1Smrg host_alias=$ac_optarg ;; 84433c89af1Smrg 84533c89af1Smrg -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 84633c89af1Smrg ac_prev=htmldir ;; 84733c89af1Smrg -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 84833c89af1Smrg | --ht=*) 84933c89af1Smrg htmldir=$ac_optarg ;; 85033c89af1Smrg 85133c89af1Smrg -includedir | --includedir | --includedi | --included | --include \ 85233c89af1Smrg | --includ | --inclu | --incl | --inc) 85333c89af1Smrg ac_prev=includedir ;; 85433c89af1Smrg -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 85533c89af1Smrg | --includ=* | --inclu=* | --incl=* | --inc=*) 85633c89af1Smrg includedir=$ac_optarg ;; 85733c89af1Smrg 85833c89af1Smrg -infodir | --infodir | --infodi | --infod | --info | --inf) 85933c89af1Smrg ac_prev=infodir ;; 86033c89af1Smrg -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 86133c89af1Smrg infodir=$ac_optarg ;; 86233c89af1Smrg 86333c89af1Smrg -libdir | --libdir | --libdi | --libd) 86433c89af1Smrg ac_prev=libdir ;; 86533c89af1Smrg -libdir=* | --libdir=* | --libdi=* | --libd=*) 86633c89af1Smrg libdir=$ac_optarg ;; 86733c89af1Smrg 86833c89af1Smrg -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 86933c89af1Smrg | --libexe | --libex | --libe) 87033c89af1Smrg ac_prev=libexecdir ;; 87133c89af1Smrg -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 87233c89af1Smrg | --libexe=* | --libex=* | --libe=*) 87333c89af1Smrg libexecdir=$ac_optarg ;; 87433c89af1Smrg 87533c89af1Smrg -localedir | --localedir | --localedi | --localed | --locale) 87633c89af1Smrg ac_prev=localedir ;; 87733c89af1Smrg -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 87833c89af1Smrg localedir=$ac_optarg ;; 87933c89af1Smrg 88033c89af1Smrg -localstatedir | --localstatedir | --localstatedi | --localstated \ 88133c89af1Smrg | --localstate | --localstat | --localsta | --localst | --locals) 88233c89af1Smrg ac_prev=localstatedir ;; 88333c89af1Smrg -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 88433c89af1Smrg | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 88533c89af1Smrg localstatedir=$ac_optarg ;; 88633c89af1Smrg 88733c89af1Smrg -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 88833c89af1Smrg ac_prev=mandir ;; 88933c89af1Smrg -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 89033c89af1Smrg mandir=$ac_optarg ;; 89133c89af1Smrg 89233c89af1Smrg -nfp | --nfp | --nf) 89333c89af1Smrg # Obsolete; use --without-fp. 89433c89af1Smrg with_fp=no ;; 89533c89af1Smrg 89633c89af1Smrg -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 89733c89af1Smrg | --no-cr | --no-c | -n) 89833c89af1Smrg no_create=yes ;; 89933c89af1Smrg 90033c89af1Smrg -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 90133c89af1Smrg | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 90233c89af1Smrg no_recursion=yes ;; 90333c89af1Smrg 90433c89af1Smrg -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 90533c89af1Smrg | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 90633c89af1Smrg | --oldin | --oldi | --old | --ol | --o) 90733c89af1Smrg ac_prev=oldincludedir ;; 90833c89af1Smrg -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 90933c89af1Smrg | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 91033c89af1Smrg | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 91133c89af1Smrg oldincludedir=$ac_optarg ;; 91233c89af1Smrg 91333c89af1Smrg -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 91433c89af1Smrg ac_prev=prefix ;; 91533c89af1Smrg -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 91633c89af1Smrg prefix=$ac_optarg ;; 91733c89af1Smrg 91833c89af1Smrg -program-prefix | --program-prefix | --program-prefi | --program-pref \ 91933c89af1Smrg | --program-pre | --program-pr | --program-p) 92033c89af1Smrg ac_prev=program_prefix ;; 92133c89af1Smrg -program-prefix=* | --program-prefix=* | --program-prefi=* \ 92233c89af1Smrg | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 92333c89af1Smrg program_prefix=$ac_optarg ;; 92433c89af1Smrg 92533c89af1Smrg -program-suffix | --program-suffix | --program-suffi | --program-suff \ 92633c89af1Smrg | --program-suf | --program-su | --program-s) 92733c89af1Smrg ac_prev=program_suffix ;; 92833c89af1Smrg -program-suffix=* | --program-suffix=* | --program-suffi=* \ 92933c89af1Smrg | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 93033c89af1Smrg program_suffix=$ac_optarg ;; 93133c89af1Smrg 93233c89af1Smrg -program-transform-name | --program-transform-name \ 93333c89af1Smrg | --program-transform-nam | --program-transform-na \ 93433c89af1Smrg | --program-transform-n | --program-transform- \ 93533c89af1Smrg | --program-transform | --program-transfor \ 93633c89af1Smrg | --program-transfo | --program-transf \ 93733c89af1Smrg | --program-trans | --program-tran \ 93833c89af1Smrg | --progr-tra | --program-tr | --program-t) 93933c89af1Smrg ac_prev=program_transform_name ;; 94033c89af1Smrg -program-transform-name=* | --program-transform-name=* \ 94133c89af1Smrg | --program-transform-nam=* | --program-transform-na=* \ 94233c89af1Smrg | --program-transform-n=* | --program-transform-=* \ 94333c89af1Smrg | --program-transform=* | --program-transfor=* \ 94433c89af1Smrg | --program-transfo=* | --program-transf=* \ 94533c89af1Smrg | --program-trans=* | --program-tran=* \ 94633c89af1Smrg | --progr-tra=* | --program-tr=* | --program-t=*) 94733c89af1Smrg program_transform_name=$ac_optarg ;; 94833c89af1Smrg 94933c89af1Smrg -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 95033c89af1Smrg ac_prev=pdfdir ;; 95133c89af1Smrg -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 95233c89af1Smrg pdfdir=$ac_optarg ;; 95333c89af1Smrg 95433c89af1Smrg -psdir | --psdir | --psdi | --psd | --ps) 95533c89af1Smrg ac_prev=psdir ;; 95633c89af1Smrg -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 95733c89af1Smrg psdir=$ac_optarg ;; 95833c89af1Smrg 95933c89af1Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 96033c89af1Smrg | -silent | --silent | --silen | --sile | --sil) 96133c89af1Smrg silent=yes ;; 96233c89af1Smrg 96333c89af1Smrg -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 96433c89af1Smrg ac_prev=sbindir ;; 96533c89af1Smrg -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 96633c89af1Smrg | --sbi=* | --sb=*) 96733c89af1Smrg sbindir=$ac_optarg ;; 96833c89af1Smrg 96933c89af1Smrg -sharedstatedir | --sharedstatedir | --sharedstatedi \ 97033c89af1Smrg | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 97133c89af1Smrg | --sharedst | --shareds | --shared | --share | --shar \ 97233c89af1Smrg | --sha | --sh) 97333c89af1Smrg ac_prev=sharedstatedir ;; 97433c89af1Smrg -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 97533c89af1Smrg | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 97633c89af1Smrg | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 97733c89af1Smrg | --sha=* | --sh=*) 97833c89af1Smrg sharedstatedir=$ac_optarg ;; 97933c89af1Smrg 98033c89af1Smrg -site | --site | --sit) 98133c89af1Smrg ac_prev=site ;; 98233c89af1Smrg -site=* | --site=* | --sit=*) 98333c89af1Smrg site=$ac_optarg ;; 98433c89af1Smrg 98533c89af1Smrg -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 98633c89af1Smrg ac_prev=srcdir ;; 98733c89af1Smrg -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 98833c89af1Smrg srcdir=$ac_optarg ;; 98933c89af1Smrg 99033c89af1Smrg -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 99133c89af1Smrg | --syscon | --sysco | --sysc | --sys | --sy) 99233c89af1Smrg ac_prev=sysconfdir ;; 99333c89af1Smrg -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 99433c89af1Smrg | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 99533c89af1Smrg sysconfdir=$ac_optarg ;; 99633c89af1Smrg 99733c89af1Smrg -target | --target | --targe | --targ | --tar | --ta | --t) 99833c89af1Smrg ac_prev=target_alias ;; 99933c89af1Smrg -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 100033c89af1Smrg target_alias=$ac_optarg ;; 100133c89af1Smrg 100233c89af1Smrg -v | -verbose | --verbose | --verbos | --verbo | --verb) 100333c89af1Smrg verbose=yes ;; 100433c89af1Smrg 100533c89af1Smrg -version | --version | --versio | --versi | --vers | -V) 100633c89af1Smrg ac_init_version=: ;; 100733c89af1Smrg 100833c89af1Smrg -with-* | --with-*) 100933c89af1Smrg ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 101033c89af1Smrg # Reject names that are not valid shell variable names. 101133c89af1Smrg expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 101233c89af1Smrg { echo "$as_me: error: invalid package name: $ac_package" >&2 101333c89af1Smrg { (exit 1); exit 1; }; } 101433c89af1Smrg ac_package=`echo $ac_package| sed 's/-/_/g'` 101533c89af1Smrg eval with_$ac_package=\$ac_optarg ;; 101633c89af1Smrg 101733c89af1Smrg -without-* | --without-*) 101833c89af1Smrg ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 101933c89af1Smrg # Reject names that are not valid shell variable names. 102033c89af1Smrg expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 102133c89af1Smrg { echo "$as_me: error: invalid package name: $ac_package" >&2 102233c89af1Smrg { (exit 1); exit 1; }; } 102333c89af1Smrg ac_package=`echo $ac_package | sed 's/-/_/g'` 102433c89af1Smrg eval with_$ac_package=no ;; 102533c89af1Smrg 102633c89af1Smrg --x) 102733c89af1Smrg # Obsolete; use --with-x. 102833c89af1Smrg with_x=yes ;; 102933c89af1Smrg 103033c89af1Smrg -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 103133c89af1Smrg | --x-incl | --x-inc | --x-in | --x-i) 103233c89af1Smrg ac_prev=x_includes ;; 103333c89af1Smrg -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 103433c89af1Smrg | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 103533c89af1Smrg x_includes=$ac_optarg ;; 103633c89af1Smrg 103733c89af1Smrg -x-libraries | --x-libraries | --x-librarie | --x-librari \ 103833c89af1Smrg | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 103933c89af1Smrg ac_prev=x_libraries ;; 104033c89af1Smrg -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 104133c89af1Smrg | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 104233c89af1Smrg x_libraries=$ac_optarg ;; 104333c89af1Smrg 104433c89af1Smrg -*) { echo "$as_me: error: unrecognized option: $ac_option 104533c89af1SmrgTry \`$0 --help' for more information." >&2 104633c89af1Smrg { (exit 1); exit 1; }; } 104733c89af1Smrg ;; 104833c89af1Smrg 104933c89af1Smrg *=*) 105033c89af1Smrg ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 105133c89af1Smrg # Reject names that are not valid shell variable names. 105233c89af1Smrg expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 105333c89af1Smrg { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 105433c89af1Smrg { (exit 1); exit 1; }; } 105533c89af1Smrg eval $ac_envvar=\$ac_optarg 105633c89af1Smrg export $ac_envvar ;; 105733c89af1Smrg 105833c89af1Smrg *) 105933c89af1Smrg # FIXME: should be removed in autoconf 3.0. 106033c89af1Smrg echo "$as_me: WARNING: you should use --build, --host, --target" >&2 106133c89af1Smrg expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 106233c89af1Smrg echo "$as_me: WARNING: invalid host type: $ac_option" >&2 106333c89af1Smrg : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 106433c89af1Smrg ;; 106533c89af1Smrg 106633c89af1Smrg esac 106733c89af1Smrgdone 106833c89af1Smrg 106933c89af1Smrgif test -n "$ac_prev"; then 107033c89af1Smrg ac_option=--`echo $ac_prev | sed 's/_/-/g'` 107133c89af1Smrg { echo "$as_me: error: missing argument to $ac_option" >&2 107233c89af1Smrg { (exit 1); exit 1; }; } 107333c89af1Smrgfi 107433c89af1Smrg 107533c89af1Smrg# Be sure to have absolute directory names. 107633c89af1Smrgfor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 107733c89af1Smrg datadir sysconfdir sharedstatedir localstatedir includedir \ 107833c89af1Smrg oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 107933c89af1Smrg libdir localedir mandir 108033c89af1Smrgdo 108133c89af1Smrg eval ac_val=\$$ac_var 108233c89af1Smrg case $ac_val in 108333c89af1Smrg [\\/$]* | ?:[\\/]* ) continue;; 108433c89af1Smrg NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 108533c89af1Smrg esac 108633c89af1Smrg { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 108733c89af1Smrg { (exit 1); exit 1; }; } 108833c89af1Smrgdone 108933c89af1Smrg 109033c89af1Smrg# There might be people who depend on the old broken behavior: `$host' 109133c89af1Smrg# used to hold the argument of --host etc. 109233c89af1Smrg# FIXME: To remove some day. 109333c89af1Smrgbuild=$build_alias 109433c89af1Smrghost=$host_alias 109533c89af1Smrgtarget=$target_alias 109633c89af1Smrg 109733c89af1Smrg# FIXME: To remove some day. 109833c89af1Smrgif test "x$host_alias" != x; then 109933c89af1Smrg if test "x$build_alias" = x; then 110033c89af1Smrg cross_compiling=maybe 110133c89af1Smrg echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 110233c89af1Smrg If a cross compiler is detected then cross compile mode will be used." >&2 110333c89af1Smrg elif test "x$build_alias" != "x$host_alias"; then 110433c89af1Smrg cross_compiling=yes 110533c89af1Smrg fi 110633c89af1Smrgfi 110733c89af1Smrg 110833c89af1Smrgac_tool_prefix= 110933c89af1Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias- 111033c89af1Smrg 111133c89af1Smrgtest "$silent" = yes && exec 6>/dev/null 111233c89af1Smrg 111333c89af1Smrg 111433c89af1Smrgac_pwd=`pwd` && test -n "$ac_pwd" && 111533c89af1Smrgac_ls_di=`ls -di .` && 111633c89af1Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 111733c89af1Smrg { echo "$as_me: error: Working directory cannot be determined" >&2 111833c89af1Smrg { (exit 1); exit 1; }; } 111933c89af1Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" || 112033c89af1Smrg { echo "$as_me: error: pwd does not report name of working directory" >&2 112133c89af1Smrg { (exit 1); exit 1; }; } 112233c89af1Smrg 112333c89af1Smrg 112433c89af1Smrg# Find the source files, if location was not specified. 112533c89af1Smrgif test -z "$srcdir"; then 112633c89af1Smrg ac_srcdir_defaulted=yes 112733c89af1Smrg # Try the directory containing this script, then the parent directory. 112833c89af1Smrg ac_confdir=`$as_dirname -- "$0" || 112933c89af1Smrg$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 113033c89af1Smrg X"$0" : 'X\(//\)[^/]' \| \ 113133c89af1Smrg X"$0" : 'X\(//\)$' \| \ 113233c89af1Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 113333c89af1Smrgecho X"$0" | 113433c89af1Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 113533c89af1Smrg s//\1/ 113633c89af1Smrg q 113733c89af1Smrg } 113833c89af1Smrg /^X\(\/\/\)[^/].*/{ 113933c89af1Smrg s//\1/ 114033c89af1Smrg q 114133c89af1Smrg } 114233c89af1Smrg /^X\(\/\/\)$/{ 114333c89af1Smrg s//\1/ 114433c89af1Smrg q 114533c89af1Smrg } 114633c89af1Smrg /^X\(\/\).*/{ 114733c89af1Smrg s//\1/ 114833c89af1Smrg q 114933c89af1Smrg } 115033c89af1Smrg s/.*/./; q'` 115133c89af1Smrg srcdir=$ac_confdir 115233c89af1Smrg if test ! -r "$srcdir/$ac_unique_file"; then 115333c89af1Smrg srcdir=.. 115433c89af1Smrg fi 115533c89af1Smrgelse 115633c89af1Smrg ac_srcdir_defaulted=no 115733c89af1Smrgfi 115833c89af1Smrgif test ! -r "$srcdir/$ac_unique_file"; then 115933c89af1Smrg test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 116033c89af1Smrg { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 116133c89af1Smrg { (exit 1); exit 1; }; } 116233c89af1Smrgfi 116333c89af1Smrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 116433c89af1Smrgac_abs_confdir=`( 116533c89af1Smrg cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 116633c89af1Smrg { (exit 1); exit 1; }; } 116733c89af1Smrg pwd)` 116833c89af1Smrg# When building in place, set srcdir=. 116933c89af1Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then 117033c89af1Smrg srcdir=. 117133c89af1Smrgfi 117233c89af1Smrg# Remove unnecessary trailing slashes from srcdir. 117333c89af1Smrg# Double slashes in file names in object file debugging info 117433c89af1Smrg# mess up M-x gdb in Emacs. 117533c89af1Smrgcase $srcdir in 117633c89af1Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 117733c89af1Smrgesac 117833c89af1Smrgfor ac_var in $ac_precious_vars; do 117933c89af1Smrg eval ac_env_${ac_var}_set=\${${ac_var}+set} 118033c89af1Smrg eval ac_env_${ac_var}_value=\$${ac_var} 118133c89af1Smrg eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 118233c89af1Smrg eval ac_cv_env_${ac_var}_value=\$${ac_var} 118333c89af1Smrgdone 118433c89af1Smrg 118533c89af1Smrg# 118633c89af1Smrg# Report the --help message. 118733c89af1Smrg# 118833c89af1Smrgif test "$ac_init_help" = "long"; then 118933c89af1Smrg # Omit some internal or obsolete options to make the list less imposing. 119033c89af1Smrg # This message is too long to be a string in the A/UX 3.1 sh. 119133c89af1Smrg cat <<_ACEOF 119233c89af1Smrg\`configure' configures editres 1.0.3 to adapt to many kinds of systems. 119333c89af1Smrg 119433c89af1SmrgUsage: $0 [OPTION]... [VAR=VALUE]... 119533c89af1Smrg 119633c89af1SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as 119733c89af1SmrgVAR=VALUE. See below for descriptions of some of the useful variables. 119833c89af1Smrg 119933c89af1SmrgDefaults for the options are specified in brackets. 120033c89af1Smrg 120133c89af1SmrgConfiguration: 120233c89af1Smrg -h, --help display this help and exit 120333c89af1Smrg --help=short display options specific to this package 120433c89af1Smrg --help=recursive display the short help of all the included packages 120533c89af1Smrg -V, --version display version information and exit 120633c89af1Smrg -q, --quiet, --silent do not print \`checking...' messages 120733c89af1Smrg --cache-file=FILE cache test results in FILE [disabled] 120833c89af1Smrg -C, --config-cache alias for \`--cache-file=config.cache' 120933c89af1Smrg -n, --no-create do not create output files 121033c89af1Smrg --srcdir=DIR find the sources in DIR [configure dir or \`..'] 121133c89af1Smrg 121233c89af1SmrgInstallation directories: 121333c89af1Smrg --prefix=PREFIX install architecture-independent files in PREFIX 121433c89af1Smrg [$ac_default_prefix] 121533c89af1Smrg --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 121633c89af1Smrg [PREFIX] 121733c89af1Smrg 121833c89af1SmrgBy default, \`make install' will install all the files in 121933c89af1Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 122033c89af1Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix', 122133c89af1Smrgfor instance \`--prefix=\$HOME'. 122233c89af1Smrg 122333c89af1SmrgFor better control, use the options below. 122433c89af1Smrg 122533c89af1SmrgFine tuning of the installation directories: 122633c89af1Smrg --bindir=DIR user executables [EPREFIX/bin] 122733c89af1Smrg --sbindir=DIR system admin executables [EPREFIX/sbin] 122833c89af1Smrg --libexecdir=DIR program executables [EPREFIX/libexec] 122933c89af1Smrg --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 123033c89af1Smrg --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 123133c89af1Smrg --localstatedir=DIR modifiable single-machine data [PREFIX/var] 123233c89af1Smrg --libdir=DIR object code libraries [EPREFIX/lib] 123333c89af1Smrg --includedir=DIR C header files [PREFIX/include] 123433c89af1Smrg --oldincludedir=DIR C header files for non-gcc [/usr/include] 123533c89af1Smrg --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 123633c89af1Smrg --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 123733c89af1Smrg --infodir=DIR info documentation [DATAROOTDIR/info] 123833c89af1Smrg --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 123933c89af1Smrg --mandir=DIR man documentation [DATAROOTDIR/man] 124033c89af1Smrg --docdir=DIR documentation root [DATAROOTDIR/doc/editres] 124133c89af1Smrg --htmldir=DIR html documentation [DOCDIR] 124233c89af1Smrg --dvidir=DIR dvi documentation [DOCDIR] 124333c89af1Smrg --pdfdir=DIR pdf documentation [DOCDIR] 124433c89af1Smrg --psdir=DIR ps documentation [DOCDIR] 124533c89af1Smrg_ACEOF 124633c89af1Smrg 124733c89af1Smrg cat <<\_ACEOF 124833c89af1Smrg 124933c89af1SmrgProgram names: 125033c89af1Smrg --program-prefix=PREFIX prepend PREFIX to installed program names 125133c89af1Smrg --program-suffix=SUFFIX append SUFFIX to installed program names 125233c89af1Smrg --program-transform-name=PROGRAM run sed PROGRAM on installed program names 125333c89af1Smrg 125433c89af1SmrgSystem types: 125533c89af1Smrg --build=BUILD configure for building on BUILD [guessed] 125633c89af1Smrg --host=HOST cross-compile to build programs to run on HOST [BUILD] 125733c89af1Smrg_ACEOF 125833c89af1Smrgfi 125933c89af1Smrg 126033c89af1Smrgif test -n "$ac_init_help"; then 126133c89af1Smrg case $ac_init_help in 126233c89af1Smrg short | recursive ) echo "Configuration of editres 1.0.3:";; 126333c89af1Smrg esac 126433c89af1Smrg cat <<\_ACEOF 126533c89af1Smrg 126633c89af1SmrgOptional Features: 126733c89af1Smrg --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 126833c89af1Smrg --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 126933c89af1Smrg --enable-maintainer-mode enable make rules and dependencies not useful 127033c89af1Smrg (and sometimes confusing) to the casual installer 127133c89af1Smrg --disable-dependency-tracking speeds up one-time build 127233c89af1Smrg --enable-dependency-tracking do not reject slow dependency extractors 127333c89af1Smrg --enable-xprint Enable XPrint support 127433c89af1Smrg 127533c89af1SmrgOptional Packages: 127633c89af1Smrg --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 127733c89af1Smrg --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 127833c89af1Smrg --with-release-version=STRING 127933c89af1Smrg Use release version string in package name 128033c89af1Smrg 128133c89af1SmrgSome influential environment variables: 128233c89af1Smrg CC C compiler command 128333c89af1Smrg CFLAGS C compiler flags 128433c89af1Smrg LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 128533c89af1Smrg nonstandard directory <lib dir> 128633c89af1Smrg CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 128733c89af1Smrg you have headers in a nonstandard directory <include dir> 128833c89af1Smrg PKG_CONFIG path to pkg-config utility 128933c89af1Smrg TMP_XAW_CFLAGS 129033c89af1Smrg C compiler flags for TMP_XAW, overriding pkg-config 129133c89af1Smrg TMP_XAW_LIBS 129233c89af1Smrg linker flags for TMP_XAW, overriding pkg-config 129333c89af1Smrg EDITRES_CFLAGS 129433c89af1Smrg C compiler flags for EDITRES, overriding pkg-config 129533c89af1Smrg EDITRES_LIBS 129633c89af1Smrg linker flags for EDITRES, overriding pkg-config 129733c89af1Smrg APPDEFS_CFLAGS 129833c89af1Smrg C compiler flags for APPDEFS, overriding pkg-config 129933c89af1Smrg APPDEFS_LIBS 130033c89af1Smrg linker flags for APPDEFS, overriding pkg-config 130133c89af1Smrg 130233c89af1SmrgUse these variables to override the choices made by `configure' or to help 130333c89af1Smrgit to find libraries and programs with nonstandard names/locations. 130433c89af1Smrg 130533c89af1SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 130633c89af1Smrg_ACEOF 130733c89af1Smrgac_status=$? 130833c89af1Smrgfi 130933c89af1Smrg 131033c89af1Smrgif test "$ac_init_help" = "recursive"; then 131133c89af1Smrg # If there are subdirs, report their specific --help. 131233c89af1Smrg for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 131333c89af1Smrg test -d "$ac_dir" || continue 131433c89af1Smrg ac_builddir=. 131533c89af1Smrg 131633c89af1Smrgcase "$ac_dir" in 131733c89af1Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 131833c89af1Smrg*) 131933c89af1Smrg ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 132033c89af1Smrg # A ".." for each directory in $ac_dir_suffix. 132133c89af1Smrg ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 132233c89af1Smrg case $ac_top_builddir_sub in 132333c89af1Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 132433c89af1Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 132533c89af1Smrg esac ;; 132633c89af1Smrgesac 132733c89af1Smrgac_abs_top_builddir=$ac_pwd 132833c89af1Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 132933c89af1Smrg# for backward compatibility: 133033c89af1Smrgac_top_builddir=$ac_top_build_prefix 133133c89af1Smrg 133233c89af1Smrgcase $srcdir in 133333c89af1Smrg .) # We are building in place. 133433c89af1Smrg ac_srcdir=. 133533c89af1Smrg ac_top_srcdir=$ac_top_builddir_sub 133633c89af1Smrg ac_abs_top_srcdir=$ac_pwd ;; 133733c89af1Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 133833c89af1Smrg ac_srcdir=$srcdir$ac_dir_suffix; 133933c89af1Smrg ac_top_srcdir=$srcdir 134033c89af1Smrg ac_abs_top_srcdir=$srcdir ;; 134133c89af1Smrg *) # Relative name. 134233c89af1Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 134333c89af1Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 134433c89af1Smrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 134533c89af1Smrgesac 134633c89af1Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 134733c89af1Smrg 134833c89af1Smrg cd "$ac_dir" || { ac_status=$?; continue; } 134933c89af1Smrg # Check for guested configure. 135033c89af1Smrg if test -f "$ac_srcdir/configure.gnu"; then 135133c89af1Smrg echo && 135233c89af1Smrg $SHELL "$ac_srcdir/configure.gnu" --help=recursive 135333c89af1Smrg elif test -f "$ac_srcdir/configure"; then 135433c89af1Smrg echo && 135533c89af1Smrg $SHELL "$ac_srcdir/configure" --help=recursive 135633c89af1Smrg else 135733c89af1Smrg echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 135833c89af1Smrg fi || ac_status=$? 135933c89af1Smrg cd "$ac_pwd" || { ac_status=$?; break; } 136033c89af1Smrg done 136133c89af1Smrgfi 136233c89af1Smrg 136333c89af1Smrgtest -n "$ac_init_help" && exit $ac_status 136433c89af1Smrgif $ac_init_version; then 136533c89af1Smrg cat <<\_ACEOF 136633c89af1Smrgeditres configure 1.0.3 136733c89af1Smrggenerated by GNU Autoconf 2.60 136833c89af1Smrg 136933c89af1SmrgCopyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 137033c89af1Smrg2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 137133c89af1SmrgThis configure script is free software; the Free Software Foundation 137233c89af1Smrggives unlimited permission to copy, distribute and modify it. 137333c89af1Smrg_ACEOF 137433c89af1Smrg exit 137533c89af1Smrgfi 137633c89af1Smrgcat >config.log <<_ACEOF 137733c89af1SmrgThis file contains any messages produced by compilers while 137833c89af1Smrgrunning configure, to aid debugging if configure makes a mistake. 137933c89af1Smrg 138033c89af1SmrgIt was created by editres $as_me 1.0.3, which was 138133c89af1Smrggenerated by GNU Autoconf 2.60. Invocation command line was 138233c89af1Smrg 138333c89af1Smrg $ $0 $@ 138433c89af1Smrg 138533c89af1Smrg_ACEOF 138633c89af1Smrgexec 5>>config.log 138733c89af1Smrg{ 138833c89af1Smrgcat <<_ASUNAME 138933c89af1Smrg## --------- ## 139033c89af1Smrg## Platform. ## 139133c89af1Smrg## --------- ## 139233c89af1Smrg 139333c89af1Smrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 139433c89af1Smrguname -m = `(uname -m) 2>/dev/null || echo unknown` 139533c89af1Smrguname -r = `(uname -r) 2>/dev/null || echo unknown` 139633c89af1Smrguname -s = `(uname -s) 2>/dev/null || echo unknown` 139733c89af1Smrguname -v = `(uname -v) 2>/dev/null || echo unknown` 139833c89af1Smrg 139933c89af1Smrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 140033c89af1Smrg/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 140133c89af1Smrg 140233c89af1Smrg/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 140333c89af1Smrg/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 140433c89af1Smrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 140533c89af1Smrg/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 140633c89af1Smrg/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 140733c89af1Smrg/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 140833c89af1Smrg/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 140933c89af1Smrg 141033c89af1Smrg_ASUNAME 141133c89af1Smrg 141233c89af1Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 141333c89af1Smrgfor as_dir in $PATH 141433c89af1Smrgdo 141533c89af1Smrg IFS=$as_save_IFS 141633c89af1Smrg test -z "$as_dir" && as_dir=. 141733c89af1Smrg echo "PATH: $as_dir" 141833c89af1Smrgdone 141933c89af1SmrgIFS=$as_save_IFS 142033c89af1Smrg 142133c89af1Smrg} >&5 142233c89af1Smrg 142333c89af1Smrgcat >&5 <<_ACEOF 142433c89af1Smrg 142533c89af1Smrg 142633c89af1Smrg## ----------- ## 142733c89af1Smrg## Core tests. ## 142833c89af1Smrg## ----------- ## 142933c89af1Smrg 143033c89af1Smrg_ACEOF 143133c89af1Smrg 143233c89af1Smrg 143333c89af1Smrg# Keep a trace of the command line. 143433c89af1Smrg# Strip out --no-create and --no-recursion so they do not pile up. 143533c89af1Smrg# Strip out --silent because we don't want to record it for future runs. 143633c89af1Smrg# Also quote any args containing shell meta-characters. 143733c89af1Smrg# Make two passes to allow for proper duplicate-argument suppression. 143833c89af1Smrgac_configure_args= 143933c89af1Smrgac_configure_args0= 144033c89af1Smrgac_configure_args1= 144133c89af1Smrgac_must_keep_next=false 144233c89af1Smrgfor ac_pass in 1 2 144333c89af1Smrgdo 144433c89af1Smrg for ac_arg 144533c89af1Smrg do 144633c89af1Smrg case $ac_arg in 144733c89af1Smrg -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 144833c89af1Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 144933c89af1Smrg | -silent | --silent | --silen | --sile | --sil) 145033c89af1Smrg continue ;; 145133c89af1Smrg *\'*) 145233c89af1Smrg ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 145333c89af1Smrg esac 145433c89af1Smrg case $ac_pass in 145533c89af1Smrg 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 145633c89af1Smrg 2) 145733c89af1Smrg ac_configure_args1="$ac_configure_args1 '$ac_arg'" 145833c89af1Smrg if test $ac_must_keep_next = true; then 145933c89af1Smrg ac_must_keep_next=false # Got value, back to normal. 146033c89af1Smrg else 146133c89af1Smrg case $ac_arg in 146233c89af1Smrg *=* | --config-cache | -C | -disable-* | --disable-* \ 146333c89af1Smrg | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 146433c89af1Smrg | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 146533c89af1Smrg | -with-* | --with-* | -without-* | --without-* | --x) 146633c89af1Smrg case "$ac_configure_args0 " in 146733c89af1Smrg "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 146833c89af1Smrg esac 146933c89af1Smrg ;; 147033c89af1Smrg -* ) ac_must_keep_next=true ;; 147133c89af1Smrg esac 147233c89af1Smrg fi 147333c89af1Smrg ac_configure_args="$ac_configure_args '$ac_arg'" 147433c89af1Smrg ;; 147533c89af1Smrg esac 147633c89af1Smrg done 147733c89af1Smrgdone 147833c89af1Smrg$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 147933c89af1Smrg$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 148033c89af1Smrg 148133c89af1Smrg# When interrupted or exit'd, cleanup temporary files, and complete 148233c89af1Smrg# config.log. We remove comments because anyway the quotes in there 148333c89af1Smrg# would cause problems or look ugly. 148433c89af1Smrg# WARNING: Use '\'' to represent an apostrophe within the trap. 148533c89af1Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 148633c89af1Smrgtrap 'exit_status=$? 148733c89af1Smrg # Save into config.log some information that might help in debugging. 148833c89af1Smrg { 148933c89af1Smrg echo 149033c89af1Smrg 149133c89af1Smrg cat <<\_ASBOX 149233c89af1Smrg## ---------------- ## 149333c89af1Smrg## Cache variables. ## 149433c89af1Smrg## ---------------- ## 149533c89af1Smrg_ASBOX 149633c89af1Smrg echo 149733c89af1Smrg # The following way of writing the cache mishandles newlines in values, 149833c89af1Smrg( 149933c89af1Smrg for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 150033c89af1Smrg eval ac_val=\$$ac_var 150133c89af1Smrg case $ac_val in #( 150233c89af1Smrg *${as_nl}*) 150333c89af1Smrg case $ac_var in #( 150433c89af1Smrg *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 150533c89af1Smrgecho "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 150633c89af1Smrg esac 150733c89af1Smrg case $ac_var in #( 150833c89af1Smrg _ | IFS | as_nl) ;; #( 150933c89af1Smrg *) $as_unset $ac_var ;; 151033c89af1Smrg esac ;; 151133c89af1Smrg esac 151233c89af1Smrg done 151333c89af1Smrg (set) 2>&1 | 151433c89af1Smrg case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 151533c89af1Smrg *${as_nl}ac_space=\ *) 151633c89af1Smrg sed -n \ 151733c89af1Smrg "s/'\''/'\''\\\\'\'''\''/g; 151833c89af1Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 151933c89af1Smrg ;; #( 152033c89af1Smrg *) 152133c89af1Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 152233c89af1Smrg ;; 152333c89af1Smrg esac | 152433c89af1Smrg sort 152533c89af1Smrg) 152633c89af1Smrg echo 152733c89af1Smrg 152833c89af1Smrg cat <<\_ASBOX 152933c89af1Smrg## ----------------- ## 153033c89af1Smrg## Output variables. ## 153133c89af1Smrg## ----------------- ## 153233c89af1Smrg_ASBOX 153333c89af1Smrg echo 153433c89af1Smrg for ac_var in $ac_subst_vars 153533c89af1Smrg do 153633c89af1Smrg eval ac_val=\$$ac_var 153733c89af1Smrg case $ac_val in 153833c89af1Smrg *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 153933c89af1Smrg esac 154033c89af1Smrg echo "$ac_var='\''$ac_val'\''" 154133c89af1Smrg done | sort 154233c89af1Smrg echo 154333c89af1Smrg 154433c89af1Smrg if test -n "$ac_subst_files"; then 154533c89af1Smrg cat <<\_ASBOX 154633c89af1Smrg## ------------------- ## 154733c89af1Smrg## File substitutions. ## 154833c89af1Smrg## ------------------- ## 154933c89af1Smrg_ASBOX 155033c89af1Smrg echo 155133c89af1Smrg for ac_var in $ac_subst_files 155233c89af1Smrg do 155333c89af1Smrg eval ac_val=\$$ac_var 155433c89af1Smrg case $ac_val in 155533c89af1Smrg *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 155633c89af1Smrg esac 155733c89af1Smrg echo "$ac_var='\''$ac_val'\''" 155833c89af1Smrg done | sort 155933c89af1Smrg echo 156033c89af1Smrg fi 156133c89af1Smrg 156233c89af1Smrg if test -s confdefs.h; then 156333c89af1Smrg cat <<\_ASBOX 156433c89af1Smrg## ----------- ## 156533c89af1Smrg## confdefs.h. ## 156633c89af1Smrg## ----------- ## 156733c89af1Smrg_ASBOX 156833c89af1Smrg echo 156933c89af1Smrg cat confdefs.h 157033c89af1Smrg echo 157133c89af1Smrg fi 157233c89af1Smrg test "$ac_signal" != 0 && 157333c89af1Smrg echo "$as_me: caught signal $ac_signal" 157433c89af1Smrg echo "$as_me: exit $exit_status" 157533c89af1Smrg } >&5 157633c89af1Smrg rm -f core *.core core.conftest.* && 157733c89af1Smrg rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 157833c89af1Smrg exit $exit_status 157933c89af1Smrg' 0 158033c89af1Smrgfor ac_signal in 1 2 13 15; do 158133c89af1Smrg trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 158233c89af1Smrgdone 158333c89af1Smrgac_signal=0 158433c89af1Smrg 158533c89af1Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed. 158633c89af1Smrgrm -f -r conftest* confdefs.h 158733c89af1Smrg 158833c89af1Smrg# Predefined preprocessor variables. 158933c89af1Smrg 159033c89af1Smrgcat >>confdefs.h <<_ACEOF 159133c89af1Smrg#define PACKAGE_NAME "$PACKAGE_NAME" 159233c89af1Smrg_ACEOF 159333c89af1Smrg 159433c89af1Smrg 159533c89af1Smrgcat >>confdefs.h <<_ACEOF 159633c89af1Smrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 159733c89af1Smrg_ACEOF 159833c89af1Smrg 159933c89af1Smrg 160033c89af1Smrgcat >>confdefs.h <<_ACEOF 160133c89af1Smrg#define PACKAGE_VERSION "$PACKAGE_VERSION" 160233c89af1Smrg_ACEOF 160333c89af1Smrg 160433c89af1Smrg 160533c89af1Smrgcat >>confdefs.h <<_ACEOF 160633c89af1Smrg#define PACKAGE_STRING "$PACKAGE_STRING" 160733c89af1Smrg_ACEOF 160833c89af1Smrg 160933c89af1Smrg 161033c89af1Smrgcat >>confdefs.h <<_ACEOF 161133c89af1Smrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 161233c89af1Smrg_ACEOF 161333c89af1Smrg 161433c89af1Smrg 161533c89af1Smrg# Let the site file select an alternate cache file if it wants to. 161633c89af1Smrg# Prefer explicitly selected file to automatically selected ones. 161733c89af1Smrgif test -n "$CONFIG_SITE"; then 161833c89af1Smrg set x "$CONFIG_SITE" 161933c89af1Smrgelif test "x$prefix" != xNONE; then 162033c89af1Smrg set x "$prefix/share/config.site" "$prefix/etc/config.site" 162133c89af1Smrgelse 162233c89af1Smrg set x "$ac_default_prefix/share/config.site" \ 162333c89af1Smrg "$ac_default_prefix/etc/config.site" 162433c89af1Smrgfi 162533c89af1Smrgshift 162633c89af1Smrgfor ac_site_file 162733c89af1Smrgdo 162833c89af1Smrg if test -r "$ac_site_file"; then 162933c89af1Smrg { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 163033c89af1Smrgecho "$as_me: loading site script $ac_site_file" >&6;} 163133c89af1Smrg sed 's/^/| /' "$ac_site_file" >&5 163233c89af1Smrg . "$ac_site_file" 163333c89af1Smrg fi 163433c89af1Smrgdone 163533c89af1Smrg 163633c89af1Smrgif test -r "$cache_file"; then 163733c89af1Smrg # Some versions of bash will fail to source /dev/null (special 163833c89af1Smrg # files actually), so we avoid doing that. 163933c89af1Smrg if test -f "$cache_file"; then 164033c89af1Smrg { echo "$as_me:$LINENO: loading cache $cache_file" >&5 164133c89af1Smrgecho "$as_me: loading cache $cache_file" >&6;} 164233c89af1Smrg case $cache_file in 164333c89af1Smrg [\\/]* | ?:[\\/]* ) . "$cache_file";; 164433c89af1Smrg *) . "./$cache_file";; 164533c89af1Smrg esac 164633c89af1Smrg fi 164733c89af1Smrgelse 164833c89af1Smrg { echo "$as_me:$LINENO: creating cache $cache_file" >&5 164933c89af1Smrgecho "$as_me: creating cache $cache_file" >&6;} 165033c89af1Smrg >$cache_file 165133c89af1Smrgfi 165233c89af1Smrg 165333c89af1Smrg# Check that the precious variables saved in the cache have kept the same 165433c89af1Smrg# value. 165533c89af1Smrgac_cache_corrupted=false 165633c89af1Smrgfor ac_var in $ac_precious_vars; do 165733c89af1Smrg eval ac_old_set=\$ac_cv_env_${ac_var}_set 165833c89af1Smrg eval ac_new_set=\$ac_env_${ac_var}_set 165933c89af1Smrg eval ac_old_val=\$ac_cv_env_${ac_var}_value 166033c89af1Smrg eval ac_new_val=\$ac_env_${ac_var}_value 166133c89af1Smrg case $ac_old_set,$ac_new_set in 166233c89af1Smrg set,) 166333c89af1Smrg { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 166433c89af1Smrgecho "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 166533c89af1Smrg ac_cache_corrupted=: ;; 166633c89af1Smrg ,set) 166733c89af1Smrg { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 166833c89af1Smrgecho "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 166933c89af1Smrg ac_cache_corrupted=: ;; 167033c89af1Smrg ,);; 167133c89af1Smrg *) 167233c89af1Smrg if test "x$ac_old_val" != "x$ac_new_val"; then 167333c89af1Smrg { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 167433c89af1Smrgecho "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 167533c89af1Smrg { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 167633c89af1Smrgecho "$as_me: former value: $ac_old_val" >&2;} 167733c89af1Smrg { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 167833c89af1Smrgecho "$as_me: current value: $ac_new_val" >&2;} 167933c89af1Smrg ac_cache_corrupted=: 168033c89af1Smrg fi;; 168133c89af1Smrg esac 168233c89af1Smrg # Pass precious variables to config.status. 168333c89af1Smrg if test "$ac_new_set" = set; then 168433c89af1Smrg case $ac_new_val in 168533c89af1Smrg *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 168633c89af1Smrg *) ac_arg=$ac_var=$ac_new_val ;; 168733c89af1Smrg esac 168833c89af1Smrg case " $ac_configure_args " in 168933c89af1Smrg *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 169033c89af1Smrg *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 169133c89af1Smrg esac 169233c89af1Smrg fi 169333c89af1Smrgdone 169433c89af1Smrgif $ac_cache_corrupted; then 169533c89af1Smrg { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 169633c89af1Smrgecho "$as_me: error: changes in the environment can compromise the build" >&2;} 169733c89af1Smrg { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 169833c89af1Smrgecho "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 169933c89af1Smrg { (exit 1); exit 1; }; } 170033c89af1Smrgfi 170133c89af1Smrg 170233c89af1Smrg 170333c89af1Smrg 170433c89af1Smrg 170533c89af1Smrg 170633c89af1Smrg 170733c89af1Smrg 170833c89af1Smrg 170933c89af1Smrg 171033c89af1Smrg 171133c89af1Smrg 171233c89af1Smrg 171333c89af1Smrg 171433c89af1Smrg 171533c89af1Smrg 171633c89af1Smrg 171733c89af1Smrg 171833c89af1Smrg 171933c89af1Smrg 172033c89af1Smrg 172133c89af1Smrg 172233c89af1Smrg 172333c89af1Smrg 172433c89af1Smrg 172533c89af1Smrg 172633c89af1Smrgac_ext=c 172733c89af1Smrgac_cpp='$CPP $CPPFLAGS' 172833c89af1Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 172933c89af1Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 173033c89af1Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 173133c89af1Smrg 173233c89af1Smrg 173333c89af1Smrgam__api_version="1.9" 173433c89af1Smrgac_aux_dir= 173533c89af1Smrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 173633c89af1Smrg if test -f "$ac_dir/install-sh"; then 173733c89af1Smrg ac_aux_dir=$ac_dir 173833c89af1Smrg ac_install_sh="$ac_aux_dir/install-sh -c" 173933c89af1Smrg break 174033c89af1Smrg elif test -f "$ac_dir/install.sh"; then 174133c89af1Smrg ac_aux_dir=$ac_dir 174233c89af1Smrg ac_install_sh="$ac_aux_dir/install.sh -c" 174333c89af1Smrg break 174433c89af1Smrg elif test -f "$ac_dir/shtool"; then 174533c89af1Smrg ac_aux_dir=$ac_dir 174633c89af1Smrg ac_install_sh="$ac_aux_dir/shtool install -c" 174733c89af1Smrg break 174833c89af1Smrg fi 174933c89af1Smrgdone 175033c89af1Smrgif test -z "$ac_aux_dir"; then 175133c89af1Smrg { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 175233c89af1Smrgecho "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 175333c89af1Smrg { (exit 1); exit 1; }; } 175433c89af1Smrgfi 175533c89af1Smrg 175633c89af1Smrg# These three variables are undocumented and unsupported, 175733c89af1Smrg# and are intended to be withdrawn in a future Autoconf release. 175833c89af1Smrg# They can cause serious problems if a builder's source tree is in a directory 175933c89af1Smrg# whose full name contains unusual characters. 176033c89af1Smrgac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 176133c89af1Smrgac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 176233c89af1Smrgac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 176333c89af1Smrg 176433c89af1Smrg 176533c89af1Smrg# Find a good install program. We prefer a C program (faster), 176633c89af1Smrg# so one script is as good as another. But avoid the broken or 176733c89af1Smrg# incompatible versions: 176833c89af1Smrg# SysV /etc/install, /usr/sbin/install 176933c89af1Smrg# SunOS /usr/etc/install 177033c89af1Smrg# IRIX /sbin/install 177133c89af1Smrg# AIX /bin/install 177233c89af1Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs 177333c89af1Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 177433c89af1Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 177533c89af1Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 177633c89af1Smrg# OS/2's system install, which has a completely different semantic 177733c89af1Smrg# ./install, which can be erroneously created by make from ./install.sh. 177833c89af1Smrg{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 177933c89af1Smrgecho $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 178033c89af1Smrgif test -z "$INSTALL"; then 178133c89af1Smrgif test "${ac_cv_path_install+set}" = set; then 178233c89af1Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 178333c89af1Smrgelse 178433c89af1Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 178533c89af1Smrgfor as_dir in $PATH 178633c89af1Smrgdo 178733c89af1Smrg IFS=$as_save_IFS 178833c89af1Smrg test -z "$as_dir" && as_dir=. 178933c89af1Smrg # Account for people who put trailing slashes in PATH elements. 179033c89af1Smrgcase $as_dir/ in 179133c89af1Smrg ./ | .// | /cC/* | \ 179233c89af1Smrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 179333c89af1Smrg ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 179433c89af1Smrg /usr/ucb/* ) ;; 179533c89af1Smrg *) 179633c89af1Smrg # OSF1 and SCO ODT 3.0 have their own names for install. 179733c89af1Smrg # Don't use installbsd from OSF since it installs stuff as root 179833c89af1Smrg # by default. 179933c89af1Smrg for ac_prog in ginstall scoinst install; do 180033c89af1Smrg for ac_exec_ext in '' $ac_executable_extensions; do 180133c89af1Smrg if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then 180233c89af1Smrg if test $ac_prog = install && 180333c89af1Smrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 180433c89af1Smrg # AIX install. It has an incompatible calling convention. 180533c89af1Smrg : 180633c89af1Smrg elif test $ac_prog = install && 180733c89af1Smrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 180833c89af1Smrg # program-specific install script used by HP pwplus--don't use. 180933c89af1Smrg : 181033c89af1Smrg else 181133c89af1Smrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 181233c89af1Smrg break 3 181333c89af1Smrg fi 181433c89af1Smrg fi 181533c89af1Smrg done 181633c89af1Smrg done 181733c89af1Smrg ;; 181833c89af1Smrgesac 181933c89af1Smrgdone 182033c89af1SmrgIFS=$as_save_IFS 182133c89af1Smrg 182233c89af1Smrg 182333c89af1Smrgfi 182433c89af1Smrg if test "${ac_cv_path_install+set}" = set; then 182533c89af1Smrg INSTALL=$ac_cv_path_install 182633c89af1Smrg else 182733c89af1Smrg # As a last resort, use the slow shell script. Don't cache a 182833c89af1Smrg # value for INSTALL within a source directory, because that will 182933c89af1Smrg # break other packages using the cache if that directory is 183033c89af1Smrg # removed, or if the value is a relative name. 183133c89af1Smrg INSTALL=$ac_install_sh 183233c89af1Smrg fi 183333c89af1Smrgfi 183433c89af1Smrg{ echo "$as_me:$LINENO: result: $INSTALL" >&5 183533c89af1Smrgecho "${ECHO_T}$INSTALL" >&6; } 183633c89af1Smrg 183733c89af1Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 183833c89af1Smrg# It thinks the first close brace ends the variable substitution. 183933c89af1Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 184033c89af1Smrg 184133c89af1Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 184233c89af1Smrg 184333c89af1Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 184433c89af1Smrg 184533c89af1Smrg{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5 184633c89af1Smrgecho $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } 184733c89af1Smrg# Just in case 184833c89af1Smrgsleep 1 184933c89af1Smrgecho timestamp > conftest.file 185033c89af1Smrg# Do `set' in a subshell so we don't clobber the current shell's 185133c89af1Smrg# arguments. Must try -L first in case configure is actually a 185233c89af1Smrg# symlink; some systems play weird games with the mod time of symlinks 185333c89af1Smrg# (eg FreeBSD returns the mod time of the symlink's containing 185433c89af1Smrg# directory). 185533c89af1Smrgif ( 185633c89af1Smrg set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 185733c89af1Smrg if test "$*" = "X"; then 185833c89af1Smrg # -L didn't work. 185933c89af1Smrg set X `ls -t $srcdir/configure conftest.file` 186033c89af1Smrg fi 186133c89af1Smrg rm -f conftest.file 186233c89af1Smrg if test "$*" != "X $srcdir/configure conftest.file" \ 186333c89af1Smrg && test "$*" != "X conftest.file $srcdir/configure"; then 186433c89af1Smrg 186533c89af1Smrg # If neither matched, then we have a broken ls. This can happen 186633c89af1Smrg # if, for instance, CONFIG_SHELL is bash and it inherits a 186733c89af1Smrg # broken ls alias from the environment. This has actually 186833c89af1Smrg # happened. Such a system could not be considered "sane". 186933c89af1Smrg { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 187033c89af1Smrgalias in your environment" >&5 187133c89af1Smrgecho "$as_me: error: ls -t appears to fail. Make sure there is not a broken 187233c89af1Smrgalias in your environment" >&2;} 187333c89af1Smrg { (exit 1); exit 1; }; } 187433c89af1Smrg fi 187533c89af1Smrg 187633c89af1Smrg test "$2" = conftest.file 187733c89af1Smrg ) 187833c89af1Smrgthen 187933c89af1Smrg # Ok. 188033c89af1Smrg : 188133c89af1Smrgelse 188233c89af1Smrg { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! 188333c89af1SmrgCheck your system clock" >&5 188433c89af1Smrgecho "$as_me: error: newly created file is older than distributed files! 188533c89af1SmrgCheck your system clock" >&2;} 188633c89af1Smrg { (exit 1); exit 1; }; } 188733c89af1Smrgfi 188833c89af1Smrg{ echo "$as_me:$LINENO: result: yes" >&5 188933c89af1Smrgecho "${ECHO_T}yes" >&6; } 189033c89af1Smrgtest "$program_prefix" != NONE && 189133c89af1Smrg program_transform_name="s&^&$program_prefix&;$program_transform_name" 189233c89af1Smrg# Use a double $ so make ignores it. 189333c89af1Smrgtest "$program_suffix" != NONE && 189433c89af1Smrg program_transform_name="s&\$&$program_suffix&;$program_transform_name" 189533c89af1Smrg# Double any \ or $. echo might interpret backslashes. 189633c89af1Smrg# By default was `s,x,x', remove it if useless. 189733c89af1Smrgcat <<\_ACEOF >conftest.sed 189833c89af1Smrgs/[\\$]/&&/g;s/;s,x,x,$// 189933c89af1Smrg_ACEOF 190033c89af1Smrgprogram_transform_name=`echo $program_transform_name | sed -f conftest.sed` 190133c89af1Smrgrm -f conftest.sed 190233c89af1Smrg 190333c89af1Smrg# expand $ac_aux_dir to an absolute path 190433c89af1Smrgam_aux_dir=`cd $ac_aux_dir && pwd` 190533c89af1Smrg 190633c89af1Smrgtest x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 190733c89af1Smrg# Use eval to expand $SHELL 190833c89af1Smrgif eval "$MISSING --run true"; then 190933c89af1Smrg am_missing_run="$MISSING --run " 191033c89af1Smrgelse 191133c89af1Smrg am_missing_run= 191233c89af1Smrg { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 191333c89af1Smrgecho "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 191433c89af1Smrgfi 191533c89af1Smrg 191633c89af1Smrgif mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then 191733c89af1Smrg # We used to keeping the `.' as first argument, in order to 191833c89af1Smrg # allow $(mkdir_p) to be used without argument. As in 191933c89af1Smrg # $(mkdir_p) $(somedir) 192033c89af1Smrg # where $(somedir) is conditionally defined. However this is wrong 192133c89af1Smrg # for two reasons: 192233c89af1Smrg # 1. if the package is installed by a user who cannot write `.' 192333c89af1Smrg # make install will fail, 192433c89af1Smrg # 2. the above comment should most certainly read 192533c89af1Smrg # $(mkdir_p) $(DESTDIR)$(somedir) 192633c89af1Smrg # so it does not work when $(somedir) is undefined and 192733c89af1Smrg # $(DESTDIR) is not. 192833c89af1Smrg # To support the latter case, we have to write 192933c89af1Smrg # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), 193033c89af1Smrg # so the `.' trick is pointless. 193133c89af1Smrg mkdir_p='mkdir -p --' 193233c89af1Smrgelse 193333c89af1Smrg # On NextStep and OpenStep, the `mkdir' command does not 193433c89af1Smrg # recognize any option. It will interpret all options as 193533c89af1Smrg # directories to create, and then abort because `.' already 193633c89af1Smrg # exists. 193733c89af1Smrg for d in ./-p ./--version; 193833c89af1Smrg do 193933c89af1Smrg test -d $d && rmdir $d 194033c89af1Smrg done 194133c89af1Smrg # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. 194233c89af1Smrg if test -f "$ac_aux_dir/mkinstalldirs"; then 194333c89af1Smrg mkdir_p='$(mkinstalldirs)' 194433c89af1Smrg else 194533c89af1Smrg mkdir_p='$(install_sh) -d' 194633c89af1Smrg fi 194733c89af1Smrgfi 194833c89af1Smrg 194933c89af1Smrgfor ac_prog in gawk mawk nawk awk 195033c89af1Smrgdo 195133c89af1Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 195233c89af1Smrgset dummy $ac_prog; ac_word=$2 195333c89af1Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 195433c89af1Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 195533c89af1Smrgif test "${ac_cv_prog_AWK+set}" = set; then 195633c89af1Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 195733c89af1Smrgelse 195833c89af1Smrg if test -n "$AWK"; then 195933c89af1Smrg ac_cv_prog_AWK="$AWK" # Let the user override the test. 196033c89af1Smrgelse 196133c89af1Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 196233c89af1Smrgfor as_dir in $PATH 196333c89af1Smrgdo 196433c89af1Smrg IFS=$as_save_IFS 196533c89af1Smrg test -z "$as_dir" && as_dir=. 196633c89af1Smrg for ac_exec_ext in '' $ac_executable_extensions; do 196733c89af1Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 196833c89af1Smrg ac_cv_prog_AWK="$ac_prog" 196933c89af1Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 197033c89af1Smrg break 2 197133c89af1Smrg fi 197233c89af1Smrgdone 197333c89af1Smrgdone 197433c89af1SmrgIFS=$as_save_IFS 197533c89af1Smrg 197633c89af1Smrgfi 197733c89af1Smrgfi 197833c89af1SmrgAWK=$ac_cv_prog_AWK 197933c89af1Smrgif test -n "$AWK"; then 198033c89af1Smrg { echo "$as_me:$LINENO: result: $AWK" >&5 198133c89af1Smrgecho "${ECHO_T}$AWK" >&6; } 198233c89af1Smrgelse 198333c89af1Smrg { echo "$as_me:$LINENO: result: no" >&5 198433c89af1Smrgecho "${ECHO_T}no" >&6; } 198533c89af1Smrgfi 198633c89af1Smrg 198733c89af1Smrg 198833c89af1Smrg test -n "$AWK" && break 198933c89af1Smrgdone 199033c89af1Smrg 199133c89af1Smrg{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 199233c89af1Smrgecho $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 199333c89af1Smrgset x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 199433c89af1Smrgif { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 199533c89af1Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 199633c89af1Smrgelse 199733c89af1Smrg cat >conftest.make <<\_ACEOF 199833c89af1SmrgSHELL = /bin/sh 199933c89af1Smrgall: 200033c89af1Smrg @echo '@@@%%%=$(MAKE)=@@@%%%' 200133c89af1Smrg_ACEOF 200233c89af1Smrg# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 200333c89af1Smrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in 200433c89af1Smrg *@@@%%%=?*=@@@%%%*) 200533c89af1Smrg eval ac_cv_prog_make_${ac_make}_set=yes;; 200633c89af1Smrg *) 200733c89af1Smrg eval ac_cv_prog_make_${ac_make}_set=no;; 200833c89af1Smrgesac 200933c89af1Smrgrm -f conftest.make 201033c89af1Smrgfi 201133c89af1Smrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 201233c89af1Smrg { echo "$as_me:$LINENO: result: yes" >&5 201333c89af1Smrgecho "${ECHO_T}yes" >&6; } 201433c89af1Smrg SET_MAKE= 201533c89af1Smrgelse 201633c89af1Smrg { echo "$as_me:$LINENO: result: no" >&5 201733c89af1Smrgecho "${ECHO_T}no" >&6; } 201833c89af1Smrg SET_MAKE="MAKE=${MAKE-make}" 201933c89af1Smrgfi 202033c89af1Smrg 202133c89af1Smrgrm -rf .tst 2>/dev/null 202233c89af1Smrgmkdir .tst 2>/dev/null 202333c89af1Smrgif test -d .tst; then 202433c89af1Smrg am__leading_dot=. 202533c89af1Smrgelse 202633c89af1Smrg am__leading_dot=_ 202733c89af1Smrgfi 202833c89af1Smrgrmdir .tst 2>/dev/null 202933c89af1Smrg 203033c89af1Smrg# test to see if srcdir already configured 203133c89af1Smrgif test "`cd $srcdir && pwd`" != "`pwd`" && 203233c89af1Smrg test -f $srcdir/config.status; then 203333c89af1Smrg { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 203433c89af1Smrgecho "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 203533c89af1Smrg { (exit 1); exit 1; }; } 203633c89af1Smrgfi 203733c89af1Smrg 203833c89af1Smrg# test whether we have cygpath 203933c89af1Smrgif test -z "$CYGPATH_W"; then 204033c89af1Smrg if (cygpath --version) >/dev/null 2>/dev/null; then 204133c89af1Smrg CYGPATH_W='cygpath -w' 204233c89af1Smrg else 204333c89af1Smrg CYGPATH_W=echo 204433c89af1Smrg fi 204533c89af1Smrgfi 204633c89af1Smrg 204733c89af1Smrg 204833c89af1Smrg# Define the identity of the package. 204933c89af1Smrg PACKAGE='editres' 205033c89af1Smrg VERSION='1.0.3' 205133c89af1Smrg 205233c89af1Smrg 205333c89af1Smrgcat >>confdefs.h <<_ACEOF 205433c89af1Smrg#define PACKAGE "$PACKAGE" 205533c89af1Smrg_ACEOF 205633c89af1Smrg 205733c89af1Smrg 205833c89af1Smrgcat >>confdefs.h <<_ACEOF 205933c89af1Smrg#define VERSION "$VERSION" 206033c89af1Smrg_ACEOF 206133c89af1Smrg 206233c89af1Smrg# Some tools Automake needs. 206333c89af1Smrg 206433c89af1SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 206533c89af1Smrg 206633c89af1Smrg 206733c89af1SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 206833c89af1Smrg 206933c89af1Smrg 207033c89af1SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 207133c89af1Smrg 207233c89af1Smrg 207333c89af1SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 207433c89af1Smrg 207533c89af1Smrg 207633c89af1SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 207733c89af1Smrg 207833c89af1Smrginstall_sh=${install_sh-"$am_aux_dir/install-sh"} 207933c89af1Smrg 208033c89af1Smrg# Installed binaries are usually stripped using `strip' when the user 208133c89af1Smrg# run `make install-strip'. However `strip' might not be the right 208233c89af1Smrg# tool to use in cross-compilation environments, therefore Automake 208333c89af1Smrg# will honor the `STRIP' environment variable to overrule this program. 208433c89af1Smrgif test "$cross_compiling" != no; then 208533c89af1Smrg if test -n "$ac_tool_prefix"; then 208633c89af1Smrg # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 208733c89af1Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2 208833c89af1Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 208933c89af1Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 209033c89af1Smrgif test "${ac_cv_prog_STRIP+set}" = set; then 209133c89af1Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 209233c89af1Smrgelse 209333c89af1Smrg if test -n "$STRIP"; then 209433c89af1Smrg ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 209533c89af1Smrgelse 209633c89af1Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 209733c89af1Smrgfor as_dir in $PATH 209833c89af1Smrgdo 209933c89af1Smrg IFS=$as_save_IFS 210033c89af1Smrg test -z "$as_dir" && as_dir=. 210133c89af1Smrg for ac_exec_ext in '' $ac_executable_extensions; do 210233c89af1Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 210333c89af1Smrg ac_cv_prog_STRIP="${ac_tool_prefix}strip" 210433c89af1Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 210533c89af1Smrg break 2 210633c89af1Smrg fi 210733c89af1Smrgdone 210833c89af1Smrgdone 210933c89af1SmrgIFS=$as_save_IFS 211033c89af1Smrg 211133c89af1Smrgfi 211233c89af1Smrgfi 211333c89af1SmrgSTRIP=$ac_cv_prog_STRIP 211433c89af1Smrgif test -n "$STRIP"; then 211533c89af1Smrg { echo "$as_me:$LINENO: result: $STRIP" >&5 211633c89af1Smrgecho "${ECHO_T}$STRIP" >&6; } 211733c89af1Smrgelse 211833c89af1Smrg { echo "$as_me:$LINENO: result: no" >&5 211933c89af1Smrgecho "${ECHO_T}no" >&6; } 212033c89af1Smrgfi 212133c89af1Smrg 212233c89af1Smrg 212333c89af1Smrgfi 212433c89af1Smrgif test -z "$ac_cv_prog_STRIP"; then 212533c89af1Smrg ac_ct_STRIP=$STRIP 212633c89af1Smrg # Extract the first word of "strip", so it can be a program name with args. 212733c89af1Smrgset dummy strip; ac_word=$2 212833c89af1Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 212933c89af1Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 213033c89af1Smrgif test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 213133c89af1Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 213233c89af1Smrgelse 213333c89af1Smrg if test -n "$ac_ct_STRIP"; then 213433c89af1Smrg ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 213533c89af1Smrgelse 213633c89af1Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 213733c89af1Smrgfor as_dir in $PATH 213833c89af1Smrgdo 213933c89af1Smrg IFS=$as_save_IFS 214033c89af1Smrg test -z "$as_dir" && as_dir=. 214133c89af1Smrg for ac_exec_ext in '' $ac_executable_extensions; do 214233c89af1Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 214333c89af1Smrg ac_cv_prog_ac_ct_STRIP="strip" 214433c89af1Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 214533c89af1Smrg break 2 214633c89af1Smrg fi 214733c89af1Smrgdone 214833c89af1Smrgdone 214933c89af1SmrgIFS=$as_save_IFS 215033c89af1Smrg 215133c89af1Smrgfi 215233c89af1Smrgfi 215333c89af1Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 215433c89af1Smrgif test -n "$ac_ct_STRIP"; then 215533c89af1Smrg { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 215633c89af1Smrgecho "${ECHO_T}$ac_ct_STRIP" >&6; } 215733c89af1Smrgelse 215833c89af1Smrg { echo "$as_me:$LINENO: result: no" >&5 215933c89af1Smrgecho "${ECHO_T}no" >&6; } 216033c89af1Smrgfi 216133c89af1Smrg 216233c89af1Smrg if test "x$ac_ct_STRIP" = x; then 216333c89af1Smrg STRIP=":" 216433c89af1Smrg else 216533c89af1Smrg case $cross_compiling:$ac_tool_warned in 216633c89af1Smrgyes:) 216733c89af1Smrg{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 216833c89af1Smrgwhose name does not start with the host triplet. If you think this 216933c89af1Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&5 217033c89af1Smrgecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 217133c89af1Smrgwhose name does not start with the host triplet. If you think this 217233c89af1Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&2;} 217333c89af1Smrgac_tool_warned=yes ;; 217433c89af1Smrgesac 217533c89af1Smrg STRIP=$ac_ct_STRIP 217633c89af1Smrg fi 217733c89af1Smrgelse 217833c89af1Smrg STRIP="$ac_cv_prog_STRIP" 217933c89af1Smrgfi 218033c89af1Smrg 218133c89af1Smrgfi 218233c89af1SmrgINSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 218333c89af1Smrg 218433c89af1Smrg# We need awk for the "check" target. The system "awk" is bad on 218533c89af1Smrg# some platforms. 218633c89af1Smrg# Always define AMTAR for backward compatibility. 218733c89af1Smrg 218833c89af1SmrgAMTAR=${AMTAR-"${am_missing_run}tar"} 218933c89af1Smrg 219033c89af1Smrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 219133c89af1Smrg 219233c89af1Smrg 219333c89af1Smrg 219433c89af1Smrg 219533c89af1Smrg 219633c89af1Smrg{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 219733c89af1Smrgecho $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; } 219833c89af1Smrg # Check whether --enable-maintainer-mode was given. 219933c89af1Smrgif test "${enable_maintainer_mode+set}" = set; then 220033c89af1Smrg enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 220133c89af1Smrgelse 220233c89af1Smrg USE_MAINTAINER_MODE=no 220333c89af1Smrgfi 220433c89af1Smrg 220533c89af1Smrg { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 220633c89af1Smrgecho "${ECHO_T}$USE_MAINTAINER_MODE" >&6; } 220733c89af1Smrg 220833c89af1Smrg 220933c89af1Smrgif test $USE_MAINTAINER_MODE = yes; then 221033c89af1Smrg MAINTAINER_MODE_TRUE= 221133c89af1Smrg MAINTAINER_MODE_FALSE='#' 221233c89af1Smrgelse 221333c89af1Smrg MAINTAINER_MODE_TRUE='#' 221433c89af1Smrg MAINTAINER_MODE_FALSE= 221533c89af1Smrgfi 221633c89af1Smrg 221733c89af1Smrg MAINT=$MAINTAINER_MODE_TRUE 221833c89af1Smrg 221933c89af1Smrg 222033c89af1Smrg 222133c89af1Smrgac_config_headers="$ac_config_headers config.h" 222233c89af1Smrg 222333c89af1Smrg 222433c89af1Smrgac_ext=c 222533c89af1Smrgac_cpp='$CPP $CPPFLAGS' 222633c89af1Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 222733c89af1Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 222833c89af1Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 222933c89af1Smrgif test -n "$ac_tool_prefix"; then 223033c89af1Smrg # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 223133c89af1Smrgset dummy ${ac_tool_prefix}gcc; ac_word=$2 223233c89af1Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 223333c89af1Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 223433c89af1Smrgif test "${ac_cv_prog_CC+set}" = set; then 223533c89af1Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 223633c89af1Smrgelse 223733c89af1Smrg if test -n "$CC"; then 223833c89af1Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 223933c89af1Smrgelse 224033c89af1Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 224133c89af1Smrgfor as_dir in $PATH 224233c89af1Smrgdo 224333c89af1Smrg IFS=$as_save_IFS 224433c89af1Smrg test -z "$as_dir" && as_dir=. 224533c89af1Smrg for ac_exec_ext in '' $ac_executable_extensions; do 224633c89af1Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 224733c89af1Smrg ac_cv_prog_CC="${ac_tool_prefix}gcc" 224833c89af1Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 224933c89af1Smrg break 2 225033c89af1Smrg fi 225133c89af1Smrgdone 225233c89af1Smrgdone 225333c89af1SmrgIFS=$as_save_IFS 225433c89af1Smrg 225533c89af1Smrgfi 225633c89af1Smrgfi 225733c89af1SmrgCC=$ac_cv_prog_CC 225833c89af1Smrgif test -n "$CC"; then 225933c89af1Smrg { echo "$as_me:$LINENO: result: $CC" >&5 226033c89af1Smrgecho "${ECHO_T}$CC" >&6; } 226133c89af1Smrgelse 226233c89af1Smrg { echo "$as_me:$LINENO: result: no" >&5 226333c89af1Smrgecho "${ECHO_T}no" >&6; } 226433c89af1Smrgfi 226533c89af1Smrg 226633c89af1Smrg 226733c89af1Smrgfi 226833c89af1Smrgif test -z "$ac_cv_prog_CC"; then 226933c89af1Smrg ac_ct_CC=$CC 227033c89af1Smrg # Extract the first word of "gcc", so it can be a program name with args. 227133c89af1Smrgset dummy gcc; ac_word=$2 227233c89af1Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 227333c89af1Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 227433c89af1Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 227533c89af1Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 227633c89af1Smrgelse 227733c89af1Smrg if test -n "$ac_ct_CC"; then 227833c89af1Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 227933c89af1Smrgelse 228033c89af1Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 228133c89af1Smrgfor as_dir in $PATH 228233c89af1Smrgdo 228333c89af1Smrg IFS=$as_save_IFS 228433c89af1Smrg test -z "$as_dir" && as_dir=. 228533c89af1Smrg for ac_exec_ext in '' $ac_executable_extensions; do 228633c89af1Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 228733c89af1Smrg ac_cv_prog_ac_ct_CC="gcc" 228833c89af1Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 228933c89af1Smrg break 2 229033c89af1Smrg fi 229133c89af1Smrgdone 229233c89af1Smrgdone 229333c89af1SmrgIFS=$as_save_IFS 229433c89af1Smrg 229533c89af1Smrgfi 229633c89af1Smrgfi 229733c89af1Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 229833c89af1Smrgif test -n "$ac_ct_CC"; then 229933c89af1Smrg { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 230033c89af1Smrgecho "${ECHO_T}$ac_ct_CC" >&6; } 230133c89af1Smrgelse 230233c89af1Smrg { echo "$as_me:$LINENO: result: no" >&5 230333c89af1Smrgecho "${ECHO_T}no" >&6; } 230433c89af1Smrgfi 230533c89af1Smrg 230633c89af1Smrg if test "x$ac_ct_CC" = x; then 230733c89af1Smrg CC="" 230833c89af1Smrg else 230933c89af1Smrg case $cross_compiling:$ac_tool_warned in 231033c89af1Smrgyes:) 231133c89af1Smrg{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 231233c89af1Smrgwhose name does not start with the host triplet. If you think this 231333c89af1Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&5 231433c89af1Smrgecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 231533c89af1Smrgwhose name does not start with the host triplet. If you think this 231633c89af1Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&2;} 231733c89af1Smrgac_tool_warned=yes ;; 231833c89af1Smrgesac 231933c89af1Smrg CC=$ac_ct_CC 232033c89af1Smrg fi 232133c89af1Smrgelse 232233c89af1Smrg CC="$ac_cv_prog_CC" 232333c89af1Smrgfi 232433c89af1Smrg 232533c89af1Smrgif test -z "$CC"; then 232633c89af1Smrg if test -n "$ac_tool_prefix"; then 232733c89af1Smrg # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 232833c89af1Smrgset dummy ${ac_tool_prefix}cc; ac_word=$2 232933c89af1Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 233033c89af1Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 233133c89af1Smrgif test "${ac_cv_prog_CC+set}" = set; then 233233c89af1Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 233333c89af1Smrgelse 233433c89af1Smrg if test -n "$CC"; then 233533c89af1Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 233633c89af1Smrgelse 233733c89af1Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 233833c89af1Smrgfor as_dir in $PATH 233933c89af1Smrgdo 234033c89af1Smrg IFS=$as_save_IFS 234133c89af1Smrg test -z "$as_dir" && as_dir=. 234233c89af1Smrg for ac_exec_ext in '' $ac_executable_extensions; do 234333c89af1Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 234433c89af1Smrg ac_cv_prog_CC="${ac_tool_prefix}cc" 234533c89af1Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 234633c89af1Smrg break 2 234733c89af1Smrg fi 234833c89af1Smrgdone 234933c89af1Smrgdone 235033c89af1SmrgIFS=$as_save_IFS 235133c89af1Smrg 235233c89af1Smrgfi 235333c89af1Smrgfi 235433c89af1SmrgCC=$ac_cv_prog_CC 235533c89af1Smrgif test -n "$CC"; then 235633c89af1Smrg { echo "$as_me:$LINENO: result: $CC" >&5 235733c89af1Smrgecho "${ECHO_T}$CC" >&6; } 235833c89af1Smrgelse 235933c89af1Smrg { echo "$as_me:$LINENO: result: no" >&5 236033c89af1Smrgecho "${ECHO_T}no" >&6; } 236133c89af1Smrgfi 236233c89af1Smrg 236333c89af1Smrg 236433c89af1Smrg fi 236533c89af1Smrgfi 236633c89af1Smrgif test -z "$CC"; then 236733c89af1Smrg # Extract the first word of "cc", so it can be a program name with args. 236833c89af1Smrgset dummy cc; ac_word=$2 236933c89af1Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 237033c89af1Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 237133c89af1Smrgif test "${ac_cv_prog_CC+set}" = set; then 237233c89af1Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 237333c89af1Smrgelse 237433c89af1Smrg if test -n "$CC"; then 237533c89af1Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 237633c89af1Smrgelse 237733c89af1Smrg ac_prog_rejected=no 237833c89af1Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 237933c89af1Smrgfor as_dir in $PATH 238033c89af1Smrgdo 238133c89af1Smrg IFS=$as_save_IFS 238233c89af1Smrg test -z "$as_dir" && as_dir=. 238333c89af1Smrg for ac_exec_ext in '' $ac_executable_extensions; do 238433c89af1Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 238533c89af1Smrg if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 238633c89af1Smrg ac_prog_rejected=yes 238733c89af1Smrg continue 238833c89af1Smrg fi 238933c89af1Smrg ac_cv_prog_CC="cc" 239033c89af1Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 239133c89af1Smrg break 2 239233c89af1Smrg fi 239333c89af1Smrgdone 239433c89af1Smrgdone 239533c89af1SmrgIFS=$as_save_IFS 239633c89af1Smrg 239733c89af1Smrgif test $ac_prog_rejected = yes; then 239833c89af1Smrg # We found a bogon in the path, so make sure we never use it. 239933c89af1Smrg set dummy $ac_cv_prog_CC 240033c89af1Smrg shift 240133c89af1Smrg if test $# != 0; then 240233c89af1Smrg # We chose a different compiler from the bogus one. 240333c89af1Smrg # However, it has the same basename, so the bogon will be chosen 240433c89af1Smrg # first if we set CC to just the basename; use the full file name. 240533c89af1Smrg shift 240633c89af1Smrg ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 240733c89af1Smrg fi 240833c89af1Smrgfi 240933c89af1Smrgfi 241033c89af1Smrgfi 241133c89af1SmrgCC=$ac_cv_prog_CC 241233c89af1Smrgif test -n "$CC"; then 241333c89af1Smrg { echo "$as_me:$LINENO: result: $CC" >&5 241433c89af1Smrgecho "${ECHO_T}$CC" >&6; } 241533c89af1Smrgelse 241633c89af1Smrg { echo "$as_me:$LINENO: result: no" >&5 241733c89af1Smrgecho "${ECHO_T}no" >&6; } 241833c89af1Smrgfi 241933c89af1Smrg 242033c89af1Smrg 242133c89af1Smrgfi 242233c89af1Smrgif test -z "$CC"; then 242333c89af1Smrg if test -n "$ac_tool_prefix"; then 242433c89af1Smrg for ac_prog in cl.exe 242533c89af1Smrg do 242633c89af1Smrg # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 242733c89af1Smrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2 242833c89af1Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 242933c89af1Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 243033c89af1Smrgif test "${ac_cv_prog_CC+set}" = set; then 243133c89af1Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 243233c89af1Smrgelse 243333c89af1Smrg if test -n "$CC"; then 243433c89af1Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 243533c89af1Smrgelse 243633c89af1Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 243733c89af1Smrgfor as_dir in $PATH 243833c89af1Smrgdo 243933c89af1Smrg IFS=$as_save_IFS 244033c89af1Smrg test -z "$as_dir" && as_dir=. 244133c89af1Smrg for ac_exec_ext in '' $ac_executable_extensions; do 244233c89af1Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 244333c89af1Smrg ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 244433c89af1Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 244533c89af1Smrg break 2 244633c89af1Smrg fi 244733c89af1Smrgdone 244833c89af1Smrgdone 244933c89af1SmrgIFS=$as_save_IFS 245033c89af1Smrg 245133c89af1Smrgfi 245233c89af1Smrgfi 245333c89af1SmrgCC=$ac_cv_prog_CC 245433c89af1Smrgif test -n "$CC"; then 245533c89af1Smrg { echo "$as_me:$LINENO: result: $CC" >&5 245633c89af1Smrgecho "${ECHO_T}$CC" >&6; } 245733c89af1Smrgelse 245833c89af1Smrg { echo "$as_me:$LINENO: result: no" >&5 245933c89af1Smrgecho "${ECHO_T}no" >&6; } 246033c89af1Smrgfi 246133c89af1Smrg 246233c89af1Smrg 246333c89af1Smrg test -n "$CC" && break 246433c89af1Smrg done 246533c89af1Smrgfi 246633c89af1Smrgif test -z "$CC"; then 246733c89af1Smrg ac_ct_CC=$CC 246833c89af1Smrg for ac_prog in cl.exe 246933c89af1Smrgdo 247033c89af1Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 247133c89af1Smrgset dummy $ac_prog; ac_word=$2 247233c89af1Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 247333c89af1Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 247433c89af1Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 247533c89af1Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 247633c89af1Smrgelse 247733c89af1Smrg if test -n "$ac_ct_CC"; then 247833c89af1Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 247933c89af1Smrgelse 248033c89af1Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 248133c89af1Smrgfor as_dir in $PATH 248233c89af1Smrgdo 248333c89af1Smrg IFS=$as_save_IFS 248433c89af1Smrg test -z "$as_dir" && as_dir=. 248533c89af1Smrg for ac_exec_ext in '' $ac_executable_extensions; do 248633c89af1Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 248733c89af1Smrg ac_cv_prog_ac_ct_CC="$ac_prog" 248833c89af1Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 248933c89af1Smrg break 2 249033c89af1Smrg fi 249133c89af1Smrgdone 249233c89af1Smrgdone 249333c89af1SmrgIFS=$as_save_IFS 249433c89af1Smrg 249533c89af1Smrgfi 249633c89af1Smrgfi 249733c89af1Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 249833c89af1Smrgif test -n "$ac_ct_CC"; then 249933c89af1Smrg { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 250033c89af1Smrgecho "${ECHO_T}$ac_ct_CC" >&6; } 250133c89af1Smrgelse 250233c89af1Smrg { echo "$as_me:$LINENO: result: no" >&5 250333c89af1Smrgecho "${ECHO_T}no" >&6; } 250433c89af1Smrgfi 250533c89af1Smrg 250633c89af1Smrg 250733c89af1Smrg test -n "$ac_ct_CC" && break 250833c89af1Smrgdone 250933c89af1Smrg 251033c89af1Smrg if test "x$ac_ct_CC" = x; then 251133c89af1Smrg CC="" 251233c89af1Smrg else 251333c89af1Smrg case $cross_compiling:$ac_tool_warned in 251433c89af1Smrgyes:) 251533c89af1Smrg{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 251633c89af1Smrgwhose name does not start with the host triplet. If you think this 251733c89af1Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&5 251833c89af1Smrgecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 251933c89af1Smrgwhose name does not start with the host triplet. If you think this 252033c89af1Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&2;} 252133c89af1Smrgac_tool_warned=yes ;; 252233c89af1Smrgesac 252333c89af1Smrg CC=$ac_ct_CC 252433c89af1Smrg fi 252533c89af1Smrgfi 252633c89af1Smrg 252733c89af1Smrgfi 252833c89af1Smrg 252933c89af1Smrg 253033c89af1Smrgtest -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 253133c89af1SmrgSee \`config.log' for more details." >&5 253233c89af1Smrgecho "$as_me: error: no acceptable C compiler found in \$PATH 253333c89af1SmrgSee \`config.log' for more details." >&2;} 253433c89af1Smrg { (exit 1); exit 1; }; } 253533c89af1Smrg 253633c89af1Smrg# Provide some information about the compiler. 253733c89af1Smrgecho "$as_me:$LINENO: checking for C compiler version" >&5 253833c89af1Smrgac_compiler=`set X $ac_compile; echo $2` 253933c89af1Smrg{ (ac_try="$ac_compiler --version >&5" 254033c89af1Smrgcase "(($ac_try" in 254133c89af1Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 254233c89af1Smrg *) ac_try_echo=$ac_try;; 254333c89af1Smrgesac 254433c89af1Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 254533c89af1Smrg (eval "$ac_compiler --version >&5") 2>&5 254633c89af1Smrg ac_status=$? 254733c89af1Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 254833c89af1Smrg (exit $ac_status); } 254933c89af1Smrg{ (ac_try="$ac_compiler -v >&5" 255033c89af1Smrgcase "(($ac_try" in 255133c89af1Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 255233c89af1Smrg *) ac_try_echo=$ac_try;; 255333c89af1Smrgesac 255433c89af1Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 255533c89af1Smrg (eval "$ac_compiler -v >&5") 2>&5 255633c89af1Smrg ac_status=$? 255733c89af1Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 255833c89af1Smrg (exit $ac_status); } 255933c89af1Smrg{ (ac_try="$ac_compiler -V >&5" 256033c89af1Smrgcase "(($ac_try" in 256133c89af1Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 256233c89af1Smrg *) ac_try_echo=$ac_try;; 256333c89af1Smrgesac 256433c89af1Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 256533c89af1Smrg (eval "$ac_compiler -V >&5") 2>&5 256633c89af1Smrg ac_status=$? 256733c89af1Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 256833c89af1Smrg (exit $ac_status); } 256933c89af1Smrg 257033c89af1Smrgcat >conftest.$ac_ext <<_ACEOF 257133c89af1Smrg/* confdefs.h. */ 257233c89af1Smrg_ACEOF 257333c89af1Smrgcat confdefs.h >>conftest.$ac_ext 257433c89af1Smrgcat >>conftest.$ac_ext <<_ACEOF 257533c89af1Smrg/* end confdefs.h. */ 257633c89af1Smrg 257733c89af1Smrgint 257833c89af1Smrgmain () 257933c89af1Smrg{ 258033c89af1Smrg 258133c89af1Smrg ; 258233c89af1Smrg return 0; 258333c89af1Smrg} 258433c89af1Smrg_ACEOF 258533c89af1Smrgac_clean_files_save=$ac_clean_files 258633c89af1Smrgac_clean_files="$ac_clean_files a.out a.exe b.out" 258733c89af1Smrg# Try to create an executable without -o first, disregard a.out. 258833c89af1Smrg# It will help us diagnose broken compilers, and finding out an intuition 258933c89af1Smrg# of exeext. 259033c89af1Smrg{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 259133c89af1Smrgecho $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 259233c89af1Smrgac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 259333c89af1Smrg# 259433c89af1Smrg# List of possible output files, starting from the most likely. 259533c89af1Smrg# The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 259633c89af1Smrg# only as a last resort. b.out is created by i960 compilers. 259733c89af1Smrgac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 259833c89af1Smrg# 259933c89af1Smrg# The IRIX 6 linker writes into existing files which may not be 260033c89af1Smrg# executable, retaining their permissions. Remove them first so a 260133c89af1Smrg# subsequent execution test works. 260233c89af1Smrgac_rmfiles= 260333c89af1Smrgfor ac_file in $ac_files 260433c89af1Smrgdo 260533c89af1Smrg case $ac_file in 260633c89af1Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 260733c89af1Smrg * ) ac_rmfiles="$ac_rmfiles $ac_file";; 260833c89af1Smrg esac 260933c89af1Smrgdone 261033c89af1Smrgrm -f $ac_rmfiles 261133c89af1Smrg 261233c89af1Smrgif { (ac_try="$ac_link_default" 261333c89af1Smrgcase "(($ac_try" in 261433c89af1Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 261533c89af1Smrg *) ac_try_echo=$ac_try;; 261633c89af1Smrgesac 261733c89af1Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 261833c89af1Smrg (eval "$ac_link_default") 2>&5 261933c89af1Smrg ac_status=$? 262033c89af1Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 262133c89af1Smrg (exit $ac_status); }; then 262233c89af1Smrg # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 262333c89af1Smrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 262433c89af1Smrg# in a Makefile. We should not override ac_cv_exeext if it was cached, 262533c89af1Smrg# so that the user can short-circuit this test for compilers unknown to 262633c89af1Smrg# Autoconf. 262733c89af1Smrgfor ac_file in $ac_files 262833c89af1Smrgdo 262933c89af1Smrg test -f "$ac_file" || continue 263033c89af1Smrg case $ac_file in 263133c89af1Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 263233c89af1Smrg ;; 263333c89af1Smrg [ab].out ) 263433c89af1Smrg # We found the default executable, but exeext='' is most 263533c89af1Smrg # certainly right. 263633c89af1Smrg break;; 263733c89af1Smrg *.* ) 263833c89af1Smrg if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 263933c89af1Smrg then :; else 264033c89af1Smrg ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 264133c89af1Smrg fi 264233c89af1Smrg # We set ac_cv_exeext here because the later test for it is not 264333c89af1Smrg # safe: cross compilers may not add the suffix if given an `-o' 264433c89af1Smrg # argument, so we may need to know it at that point already. 264533c89af1Smrg # Even if this section looks crufty: it has the advantage of 264633c89af1Smrg # actually working. 264733c89af1Smrg break;; 264833c89af1Smrg * ) 264933c89af1Smrg break;; 265033c89af1Smrg esac 265133c89af1Smrgdone 265233c89af1Smrgtest "$ac_cv_exeext" = no && ac_cv_exeext= 265333c89af1Smrg 265433c89af1Smrgelse 265533c89af1Smrg echo "$as_me: failed program was:" >&5 265633c89af1Smrgsed 's/^/| /' conftest.$ac_ext >&5 265733c89af1Smrg 265833c89af1Smrg{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 265933c89af1SmrgSee \`config.log' for more details." >&5 266033c89af1Smrgecho "$as_me: error: C compiler cannot create executables 266133c89af1SmrgSee \`config.log' for more details." >&2;} 266233c89af1Smrg { (exit 77); exit 77; }; } 266333c89af1Smrgfi 266433c89af1Smrg 266533c89af1Smrgac_exeext=$ac_cv_exeext 266633c89af1Smrg{ echo "$as_me:$LINENO: result: $ac_file" >&5 266733c89af1Smrgecho "${ECHO_T}$ac_file" >&6; } 266833c89af1Smrg 266933c89af1Smrg# Check that the compiler produces executables we can run. If not, either 267033c89af1Smrg# the compiler is broken, or we cross compile. 267133c89af1Smrg{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5 267233c89af1Smrgecho $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 267333c89af1Smrg# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 267433c89af1Smrg# If not cross compiling, check that we can run a simple program. 267533c89af1Smrgif test "$cross_compiling" != yes; then 267633c89af1Smrg if { ac_try='./$ac_file' 267733c89af1Smrg { (case "(($ac_try" in 267833c89af1Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 267933c89af1Smrg *) ac_try_echo=$ac_try;; 268033c89af1Smrgesac 268133c89af1Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 268233c89af1Smrg (eval "$ac_try") 2>&5 268333c89af1Smrg ac_status=$? 268433c89af1Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 268533c89af1Smrg (exit $ac_status); }; }; then 268633c89af1Smrg cross_compiling=no 268733c89af1Smrg else 268833c89af1Smrg if test "$cross_compiling" = maybe; then 268933c89af1Smrg cross_compiling=yes 269033c89af1Smrg else 269133c89af1Smrg { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 269233c89af1SmrgIf you meant to cross compile, use \`--host'. 269333c89af1SmrgSee \`config.log' for more details." >&5 269433c89af1Smrgecho "$as_me: error: cannot run C compiled programs. 269533c89af1SmrgIf you meant to cross compile, use \`--host'. 269633c89af1SmrgSee \`config.log' for more details." >&2;} 269733c89af1Smrg { (exit 1); exit 1; }; } 269833c89af1Smrg fi 269933c89af1Smrg fi 270033c89af1Smrgfi 270133c89af1Smrg{ echo "$as_me:$LINENO: result: yes" >&5 270233c89af1Smrgecho "${ECHO_T}yes" >&6; } 270333c89af1Smrg 270433c89af1Smrgrm -f a.out a.exe conftest$ac_cv_exeext b.out 270533c89af1Smrgac_clean_files=$ac_clean_files_save 270633c89af1Smrg# Check that the compiler produces executables we can run. If not, either 270733c89af1Smrg# the compiler is broken, or we cross compile. 270833c89af1Smrg{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 270933c89af1Smrgecho $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 271033c89af1Smrg{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 271133c89af1Smrgecho "${ECHO_T}$cross_compiling" >&6; } 271233c89af1Smrg 271333c89af1Smrg{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 271433c89af1Smrgecho $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 271533c89af1Smrgif { (ac_try="$ac_link" 271633c89af1Smrgcase "(($ac_try" in 271733c89af1Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 271833c89af1Smrg *) ac_try_echo=$ac_try;; 271933c89af1Smrgesac 272033c89af1Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 272133c89af1Smrg (eval "$ac_link") 2>&5 272233c89af1Smrg ac_status=$? 272333c89af1Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 272433c89af1Smrg (exit $ac_status); }; then 272533c89af1Smrg # If both `conftest.exe' and `conftest' are `present' (well, observable) 272633c89af1Smrg# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 272733c89af1Smrg# work properly (i.e., refer to `conftest.exe'), while it won't with 272833c89af1Smrg# `rm'. 272933c89af1Smrgfor ac_file in conftest.exe conftest conftest.*; do 273033c89af1Smrg test -f "$ac_file" || continue 273133c89af1Smrg case $ac_file in 273233c89af1Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 273333c89af1Smrg *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 273433c89af1Smrg break;; 273533c89af1Smrg * ) break;; 273633c89af1Smrg esac 273733c89af1Smrgdone 273833c89af1Smrgelse 273933c89af1Smrg { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 274033c89af1SmrgSee \`config.log' for more details." >&5 274133c89af1Smrgecho "$as_me: error: cannot compute suffix of executables: cannot compile and link 274233c89af1SmrgSee \`config.log' for more details." >&2;} 274333c89af1Smrg { (exit 1); exit 1; }; } 274433c89af1Smrgfi 274533c89af1Smrg 274633c89af1Smrgrm -f conftest$ac_cv_exeext 274733c89af1Smrg{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 274833c89af1Smrgecho "${ECHO_T}$ac_cv_exeext" >&6; } 274933c89af1Smrg 275033c89af1Smrgrm -f conftest.$ac_ext 275133c89af1SmrgEXEEXT=$ac_cv_exeext 275233c89af1Smrgac_exeext=$EXEEXT 275333c89af1Smrg{ echo "$as_me:$LINENO: checking for suffix of object files" >&5 275433c89af1Smrgecho $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 275533c89af1Smrgif test "${ac_cv_objext+set}" = set; then 275633c89af1Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 275733c89af1Smrgelse 275833c89af1Smrg cat >conftest.$ac_ext <<_ACEOF 275933c89af1Smrg/* confdefs.h. */ 276033c89af1Smrg_ACEOF 276133c89af1Smrgcat confdefs.h >>conftest.$ac_ext 276233c89af1Smrgcat >>conftest.$ac_ext <<_ACEOF 276333c89af1Smrg/* end confdefs.h. */ 276433c89af1Smrg 276533c89af1Smrgint 276633c89af1Smrgmain () 276733c89af1Smrg{ 276833c89af1Smrg 276933c89af1Smrg ; 277033c89af1Smrg return 0; 277133c89af1Smrg} 277233c89af1Smrg_ACEOF 277333c89af1Smrgrm -f conftest.o conftest.obj 277433c89af1Smrgif { (ac_try="$ac_compile" 277533c89af1Smrgcase "(($ac_try" in 277633c89af1Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 277733c89af1Smrg *) ac_try_echo=$ac_try;; 277833c89af1Smrgesac 277933c89af1Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 278033c89af1Smrg (eval "$ac_compile") 2>&5 278133c89af1Smrg ac_status=$? 278233c89af1Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 278333c89af1Smrg (exit $ac_status); }; then 278433c89af1Smrg for ac_file in conftest.o conftest.obj conftest.*; do 278533c89af1Smrg test -f "$ac_file" || continue; 278633c89af1Smrg case $ac_file in 278733c89af1Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 278833c89af1Smrg *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 278933c89af1Smrg break;; 279033c89af1Smrg esac 279133c89af1Smrgdone 279233c89af1Smrgelse 279333c89af1Smrg echo "$as_me: failed program was:" >&5 279433c89af1Smrgsed 's/^/| /' conftest.$ac_ext >&5 279533c89af1Smrg 279633c89af1Smrg{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 279733c89af1SmrgSee \`config.log' for more details." >&5 279833c89af1Smrgecho "$as_me: error: cannot compute suffix of object files: cannot compile 279933c89af1SmrgSee \`config.log' for more details." >&2;} 280033c89af1Smrg { (exit 1); exit 1; }; } 280133c89af1Smrgfi 280233c89af1Smrg 280333c89af1Smrgrm -f conftest.$ac_cv_objext conftest.$ac_ext 280433c89af1Smrgfi 280533c89af1Smrg{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 280633c89af1Smrgecho "${ECHO_T}$ac_cv_objext" >&6; } 280733c89af1SmrgOBJEXT=$ac_cv_objext 280833c89af1Smrgac_objext=$OBJEXT 280933c89af1Smrg{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 281033c89af1Smrgecho $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 281133c89af1Smrgif test "${ac_cv_c_compiler_gnu+set}" = set; then 281233c89af1Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 281333c89af1Smrgelse 281433c89af1Smrg cat >conftest.$ac_ext <<_ACEOF 281533c89af1Smrg/* confdefs.h. */ 281633c89af1Smrg_ACEOF 281733c89af1Smrgcat confdefs.h >>conftest.$ac_ext 281833c89af1Smrgcat >>conftest.$ac_ext <<_ACEOF 281933c89af1Smrg/* end confdefs.h. */ 282033c89af1Smrg 282133c89af1Smrgint 282233c89af1Smrgmain () 282333c89af1Smrg{ 282433c89af1Smrg#ifndef __GNUC__ 282533c89af1Smrg choke me 282633c89af1Smrg#endif 282733c89af1Smrg 282833c89af1Smrg ; 282933c89af1Smrg return 0; 283033c89af1Smrg} 283133c89af1Smrg_ACEOF 283233c89af1Smrgrm -f conftest.$ac_objext 283333c89af1Smrgif { (ac_try="$ac_compile" 283433c89af1Smrgcase "(($ac_try" in 283533c89af1Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 283633c89af1Smrg *) ac_try_echo=$ac_try;; 283733c89af1Smrgesac 283833c89af1Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 283933c89af1Smrg (eval "$ac_compile") 2>conftest.er1 284033c89af1Smrg ac_status=$? 284133c89af1Smrg grep -v '^ *+' conftest.er1 >conftest.err 284233c89af1Smrg rm -f conftest.er1 284333c89af1Smrg cat conftest.err >&5 284433c89af1Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 284533c89af1Smrg (exit $ac_status); } && 284633c89af1Smrg { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 284733c89af1Smrg { (case "(($ac_try" in 284833c89af1Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 284933c89af1Smrg *) ac_try_echo=$ac_try;; 285033c89af1Smrgesac 285133c89af1Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 285233c89af1Smrg (eval "$ac_try") 2>&5 285333c89af1Smrg ac_status=$? 285433c89af1Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 285533c89af1Smrg (exit $ac_status); }; } && 285633c89af1Smrg { ac_try='test -s conftest.$ac_objext' 285733c89af1Smrg { (case "(($ac_try" in 285833c89af1Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 285933c89af1Smrg *) ac_try_echo=$ac_try;; 286033c89af1Smrgesac 286133c89af1Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 286233c89af1Smrg (eval "$ac_try") 2>&5 286333c89af1Smrg ac_status=$? 286433c89af1Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 286533c89af1Smrg (exit $ac_status); }; }; then 286633c89af1Smrg ac_compiler_gnu=yes 286733c89af1Smrgelse 286833c89af1Smrg echo "$as_me: failed program was:" >&5 286933c89af1Smrgsed 's/^/| /' conftest.$ac_ext >&5 287033c89af1Smrg 287133c89af1Smrg ac_compiler_gnu=no 287233c89af1Smrgfi 287333c89af1Smrg 287433c89af1Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 287533c89af1Smrgac_cv_c_compiler_gnu=$ac_compiler_gnu 287633c89af1Smrg 287733c89af1Smrgfi 287833c89af1Smrg{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 287933c89af1Smrgecho "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 288033c89af1SmrgGCC=`test $ac_compiler_gnu = yes && echo yes` 288133c89af1Smrgac_test_CFLAGS=${CFLAGS+set} 288233c89af1Smrgac_save_CFLAGS=$CFLAGS 288333c89af1Smrg{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 288433c89af1Smrgecho $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 288533c89af1Smrgif test "${ac_cv_prog_cc_g+set}" = set; then 288633c89af1Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 288733c89af1Smrgelse 288833c89af1Smrg ac_save_c_werror_flag=$ac_c_werror_flag 288933c89af1Smrg ac_c_werror_flag=yes 289033c89af1Smrg ac_cv_prog_cc_g=no 289133c89af1Smrg CFLAGS="-g" 289233c89af1Smrg cat >conftest.$ac_ext <<_ACEOF 289333c89af1Smrg/* confdefs.h. */ 289433c89af1Smrg_ACEOF 289533c89af1Smrgcat confdefs.h >>conftest.$ac_ext 289633c89af1Smrgcat >>conftest.$ac_ext <<_ACEOF 289733c89af1Smrg/* end confdefs.h. */ 289833c89af1Smrg 289933c89af1Smrgint 290033c89af1Smrgmain () 290133c89af1Smrg{ 290233c89af1Smrg 290333c89af1Smrg ; 290433c89af1Smrg return 0; 290533c89af1Smrg} 290633c89af1Smrg_ACEOF 290733c89af1Smrgrm -f conftest.$ac_objext 290833c89af1Smrgif { (ac_try="$ac_compile" 290933c89af1Smrgcase "(($ac_try" in 291033c89af1Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 291133c89af1Smrg *) ac_try_echo=$ac_try;; 291233c89af1Smrgesac 291333c89af1Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 291433c89af1Smrg (eval "$ac_compile") 2>conftest.er1 291533c89af1Smrg ac_status=$? 291633c89af1Smrg grep -v '^ *+' conftest.er1 >conftest.err 291733c89af1Smrg rm -f conftest.er1 291833c89af1Smrg cat conftest.err >&5 291933c89af1Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 292033c89af1Smrg (exit $ac_status); } && 292133c89af1Smrg { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 292233c89af1Smrg { (case "(($ac_try" in 292333c89af1Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 292433c89af1Smrg *) ac_try_echo=$ac_try;; 292533c89af1Smrgesac 292633c89af1Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 292733c89af1Smrg (eval "$ac_try") 2>&5 292833c89af1Smrg ac_status=$? 292933c89af1Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 293033c89af1Smrg (exit $ac_status); }; } && 293133c89af1Smrg { ac_try='test -s conftest.$ac_objext' 293233c89af1Smrg { (case "(($ac_try" in 293333c89af1Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 293433c89af1Smrg *) ac_try_echo=$ac_try;; 293533c89af1Smrgesac 293633c89af1Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 293733c89af1Smrg (eval "$ac_try") 2>&5 293833c89af1Smrg ac_status=$? 293933c89af1Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 294033c89af1Smrg (exit $ac_status); }; }; then 294133c89af1Smrg ac_cv_prog_cc_g=yes 294233c89af1Smrgelse 294333c89af1Smrg echo "$as_me: failed program was:" >&5 294433c89af1Smrgsed 's/^/| /' conftest.$ac_ext >&5 294533c89af1Smrg 294633c89af1Smrg CFLAGS="" 294733c89af1Smrg cat >conftest.$ac_ext <<_ACEOF 294833c89af1Smrg/* confdefs.h. */ 294933c89af1Smrg_ACEOF 295033c89af1Smrgcat confdefs.h >>conftest.$ac_ext 295133c89af1Smrgcat >>conftest.$ac_ext <<_ACEOF 295233c89af1Smrg/* end confdefs.h. */ 295333c89af1Smrg 295433c89af1Smrgint 295533c89af1Smrgmain () 295633c89af1Smrg{ 295733c89af1Smrg 295833c89af1Smrg ; 295933c89af1Smrg return 0; 296033c89af1Smrg} 296133c89af1Smrg_ACEOF 296233c89af1Smrgrm -f conftest.$ac_objext 296333c89af1Smrgif { (ac_try="$ac_compile" 296433c89af1Smrgcase "(($ac_try" in 296533c89af1Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 296633c89af1Smrg *) ac_try_echo=$ac_try;; 296733c89af1Smrgesac 296833c89af1Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 296933c89af1Smrg (eval "$ac_compile") 2>conftest.er1 297033c89af1Smrg ac_status=$? 297133c89af1Smrg grep -v '^ *+' conftest.er1 >conftest.err 297233c89af1Smrg rm -f conftest.er1 297333c89af1Smrg cat conftest.err >&5 297433c89af1Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 297533c89af1Smrg (exit $ac_status); } && 297633c89af1Smrg { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 297733c89af1Smrg { (case "(($ac_try" in 297833c89af1Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 297933c89af1Smrg *) ac_try_echo=$ac_try;; 298033c89af1Smrgesac 298133c89af1Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 298233c89af1Smrg (eval "$ac_try") 2>&5 298333c89af1Smrg ac_status=$? 298433c89af1Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 298533c89af1Smrg (exit $ac_status); }; } && 298633c89af1Smrg { ac_try='test -s conftest.$ac_objext' 298733c89af1Smrg { (case "(($ac_try" in 298833c89af1Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 298933c89af1Smrg *) ac_try_echo=$ac_try;; 299033c89af1Smrgesac 299133c89af1Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 299233c89af1Smrg (eval "$ac_try") 2>&5 299333c89af1Smrg ac_status=$? 299433c89af1Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 299533c89af1Smrg (exit $ac_status); }; }; then 299633c89af1Smrg : 299733c89af1Smrgelse 299833c89af1Smrg echo "$as_me: failed program was:" >&5 299933c89af1Smrgsed 's/^/| /' conftest.$ac_ext >&5 300033c89af1Smrg 300133c89af1Smrg ac_c_werror_flag=$ac_save_c_werror_flag 300233c89af1Smrg CFLAGS="-g" 300333c89af1Smrg cat >conftest.$ac_ext <<_ACEOF 300433c89af1Smrg/* confdefs.h. */ 300533c89af1Smrg_ACEOF 300633c89af1Smrgcat confdefs.h >>conftest.$ac_ext 300733c89af1Smrgcat >>conftest.$ac_ext <<_ACEOF 300833c89af1Smrg/* end confdefs.h. */ 300933c89af1Smrg 301033c89af1Smrgint 301133c89af1Smrgmain () 301233c89af1Smrg{ 301333c89af1Smrg 301433c89af1Smrg ; 301533c89af1Smrg return 0; 301633c89af1Smrg} 301733c89af1Smrg_ACEOF 301833c89af1Smrgrm -f conftest.$ac_objext 301933c89af1Smrgif { (ac_try="$ac_compile" 302033c89af1Smrgcase "(($ac_try" in 302133c89af1Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 302233c89af1Smrg *) ac_try_echo=$ac_try;; 302333c89af1Smrgesac 302433c89af1Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 302533c89af1Smrg (eval "$ac_compile") 2>conftest.er1 302633c89af1Smrg ac_status=$? 302733c89af1Smrg grep -v '^ *+' conftest.er1 >conftest.err 302833c89af1Smrg rm -f conftest.er1 302933c89af1Smrg cat conftest.err >&5 303033c89af1Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 303133c89af1Smrg (exit $ac_status); } && 303233c89af1Smrg { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 303333c89af1Smrg { (case "(($ac_try" in 303433c89af1Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 303533c89af1Smrg *) ac_try_echo=$ac_try;; 303633c89af1Smrgesac 303733c89af1Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 303833c89af1Smrg (eval "$ac_try") 2>&5 303933c89af1Smrg ac_status=$? 304033c89af1Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 304133c89af1Smrg (exit $ac_status); }; } && 304233c89af1Smrg { ac_try='test -s conftest.$ac_objext' 304333c89af1Smrg { (case "(($ac_try" in 304433c89af1Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 304533c89af1Smrg *) ac_try_echo=$ac_try;; 304633c89af1Smrgesac 304733c89af1Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 304833c89af1Smrg (eval "$ac_try") 2>&5 304933c89af1Smrg ac_status=$? 305033c89af1Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 305133c89af1Smrg (exit $ac_status); }; }; then 305233c89af1Smrg ac_cv_prog_cc_g=yes 305333c89af1Smrgelse 305433c89af1Smrg echo "$as_me: failed program was:" >&5 305533c89af1Smrgsed 's/^/| /' conftest.$ac_ext >&5 305633c89af1Smrg 305733c89af1Smrg 305833c89af1Smrgfi 305933c89af1Smrg 306033c89af1Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 306133c89af1Smrgfi 306233c89af1Smrg 306333c89af1Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 306433c89af1Smrgfi 306533c89af1Smrg 306633c89af1Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 306733c89af1Smrg ac_c_werror_flag=$ac_save_c_werror_flag 306833c89af1Smrgfi 306933c89af1Smrg{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 307033c89af1Smrgecho "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 307133c89af1Smrgif test "$ac_test_CFLAGS" = set; then 307233c89af1Smrg CFLAGS=$ac_save_CFLAGS 307333c89af1Smrgelif test $ac_cv_prog_cc_g = yes; then 307433c89af1Smrg if test "$GCC" = yes; then 307533c89af1Smrg CFLAGS="-g -O2" 307633c89af1Smrg else 307733c89af1Smrg CFLAGS="-g" 307833c89af1Smrg fi 307933c89af1Smrgelse 308033c89af1Smrg if test "$GCC" = yes; then 308133c89af1Smrg CFLAGS="-O2" 308233c89af1Smrg else 308333c89af1Smrg CFLAGS= 308433c89af1Smrg fi 308533c89af1Smrgfi 308633c89af1Smrg{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 308733c89af1Smrgecho $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 308833c89af1Smrgif test "${ac_cv_prog_cc_c89+set}" = set; then 308933c89af1Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 309033c89af1Smrgelse 309133c89af1Smrg ac_cv_prog_cc_c89=no 309233c89af1Smrgac_save_CC=$CC 309333c89af1Smrgcat >conftest.$ac_ext <<_ACEOF 309433c89af1Smrg/* confdefs.h. */ 309533c89af1Smrg_ACEOF 309633c89af1Smrgcat confdefs.h >>conftest.$ac_ext 309733c89af1Smrgcat >>conftest.$ac_ext <<_ACEOF 309833c89af1Smrg/* end confdefs.h. */ 309933c89af1Smrg#include <stdarg.h> 310033c89af1Smrg#include <stdio.h> 310133c89af1Smrg#include <sys/types.h> 310233c89af1Smrg#include <sys/stat.h> 310333c89af1Smrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 310433c89af1Smrgstruct buf { int x; }; 310533c89af1SmrgFILE * (*rcsopen) (struct buf *, struct stat *, int); 310633c89af1Smrgstatic char *e (p, i) 310733c89af1Smrg char **p; 310833c89af1Smrg int i; 310933c89af1Smrg{ 311033c89af1Smrg return p[i]; 311133c89af1Smrg} 311233c89af1Smrgstatic char *f (char * (*g) (char **, int), char **p, ...) 311333c89af1Smrg{ 311433c89af1Smrg char *s; 311533c89af1Smrg va_list v; 311633c89af1Smrg va_start (v,p); 311733c89af1Smrg s = g (p, va_arg (v,int)); 311833c89af1Smrg va_end (v); 311933c89af1Smrg return s; 312033c89af1Smrg} 312133c89af1Smrg 312233c89af1Smrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 312333c89af1Smrg function prototypes and stuff, but not '\xHH' hex character constants. 312433c89af1Smrg These don't provoke an error unfortunately, instead are silently treated 312533c89af1Smrg as 'x'. The following induces an error, until -std is added to get 312633c89af1Smrg proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 312733c89af1Smrg array size at least. It's necessary to write '\x00'==0 to get something 312833c89af1Smrg that's true only with -std. */ 312933c89af1Smrgint osf4_cc_array ['\x00' == 0 ? 1 : -1]; 313033c89af1Smrg 313133c89af1Smrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 313233c89af1Smrg inside strings and character constants. */ 313333c89af1Smrg#define FOO(x) 'x' 313433c89af1Smrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 313533c89af1Smrg 313633c89af1Smrgint test (int i, double x); 313733c89af1Smrgstruct s1 {int (*f) (int a);}; 313833c89af1Smrgstruct s2 {int (*f) (double a);}; 313933c89af1Smrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 314033c89af1Smrgint argc; 314133c89af1Smrgchar **argv; 314233c89af1Smrgint 314333c89af1Smrgmain () 314433c89af1Smrg{ 314533c89af1Smrgreturn f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 314633c89af1Smrg ; 314733c89af1Smrg return 0; 314833c89af1Smrg} 314933c89af1Smrg_ACEOF 315033c89af1Smrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 315133c89af1Smrg -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 315233c89af1Smrgdo 315333c89af1Smrg CC="$ac_save_CC $ac_arg" 315433c89af1Smrg rm -f conftest.$ac_objext 315533c89af1Smrgif { (ac_try="$ac_compile" 315633c89af1Smrgcase "(($ac_try" in 315733c89af1Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 315833c89af1Smrg *) ac_try_echo=$ac_try;; 315933c89af1Smrgesac 316033c89af1Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 316133c89af1Smrg (eval "$ac_compile") 2>conftest.er1 316233c89af1Smrg ac_status=$? 316333c89af1Smrg grep -v '^ *+' conftest.er1 >conftest.err 316433c89af1Smrg rm -f conftest.er1 316533c89af1Smrg cat conftest.err >&5 316633c89af1Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 316733c89af1Smrg (exit $ac_status); } && 316833c89af1Smrg { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 316933c89af1Smrg { (case "(($ac_try" in 317033c89af1Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 317133c89af1Smrg *) ac_try_echo=$ac_try;; 317233c89af1Smrgesac 317333c89af1Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 317433c89af1Smrg (eval "$ac_try") 2>&5 317533c89af1Smrg ac_status=$? 317633c89af1Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 317733c89af1Smrg (exit $ac_status); }; } && 317833c89af1Smrg { ac_try='test -s conftest.$ac_objext' 317933c89af1Smrg { (case "(($ac_try" in 318033c89af1Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 318133c89af1Smrg *) ac_try_echo=$ac_try;; 318233c89af1Smrgesac 318333c89af1Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 318433c89af1Smrg (eval "$ac_try") 2>&5 318533c89af1Smrg ac_status=$? 318633c89af1Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 318733c89af1Smrg (exit $ac_status); }; }; then 318833c89af1Smrg ac_cv_prog_cc_c89=$ac_arg 318933c89af1Smrgelse 319033c89af1Smrg echo "$as_me: failed program was:" >&5 319133c89af1Smrgsed 's/^/| /' conftest.$ac_ext >&5 319233c89af1Smrg 319333c89af1Smrg 319433c89af1Smrgfi 319533c89af1Smrg 319633c89af1Smrgrm -f core conftest.err conftest.$ac_objext 319733c89af1Smrg test "x$ac_cv_prog_cc_c89" != "xno" && break 319833c89af1Smrgdone 319933c89af1Smrgrm -f conftest.$ac_ext 320033c89af1SmrgCC=$ac_save_CC 320133c89af1Smrg 320233c89af1Smrgfi 320333c89af1Smrg# AC_CACHE_VAL 320433c89af1Smrgcase "x$ac_cv_prog_cc_c89" in 320533c89af1Smrg x) 320633c89af1Smrg { echo "$as_me:$LINENO: result: none needed" >&5 320733c89af1Smrgecho "${ECHO_T}none needed" >&6; } ;; 320833c89af1Smrg xno) 320933c89af1Smrg { echo "$as_me:$LINENO: result: unsupported" >&5 321033c89af1Smrgecho "${ECHO_T}unsupported" >&6; } ;; 321133c89af1Smrg *) 321233c89af1Smrg CC="$CC $ac_cv_prog_cc_c89" 321333c89af1Smrg { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 321433c89af1Smrgecho "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 321533c89af1Smrgesac 321633c89af1Smrg 321733c89af1Smrg 321833c89af1Smrgac_ext=c 321933c89af1Smrgac_cpp='$CPP $CPPFLAGS' 322033c89af1Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 322133c89af1Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 322233c89af1Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 322333c89af1SmrgDEPDIR="${am__leading_dot}deps" 322433c89af1Smrg 322533c89af1Smrgac_config_commands="$ac_config_commands depfiles" 322633c89af1Smrg 322733c89af1Smrg 322833c89af1Smrgam_make=${MAKE-make} 322933c89af1Smrgcat > confinc << 'END' 323033c89af1Smrgam__doit: 323133c89af1Smrg @echo done 323233c89af1Smrg.PHONY: am__doit 323333c89af1SmrgEND 323433c89af1Smrg# If we don't find an include directive, just comment out the code. 323533c89af1Smrg{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 323633c89af1Smrgecho $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } 323733c89af1Smrgam__include="#" 323833c89af1Smrgam__quote= 323933c89af1Smrg_am_result=none 324033c89af1Smrg# First try GNU make style include. 324133c89af1Smrgecho "include confinc" > confmf 324233c89af1Smrg# We grep out `Entering directory' and `Leaving directory' 324333c89af1Smrg# messages which can occur if `w' ends up in MAKEFLAGS. 324433c89af1Smrg# In particular we don't look at `^make:' because GNU make might 324533c89af1Smrg# be invoked under some other name (usually "gmake"), in which 324633c89af1Smrg# case it prints its new name instead of `make'. 324733c89af1Smrgif test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 324833c89af1Smrg am__include=include 324933c89af1Smrg am__quote= 325033c89af1Smrg _am_result=GNU 325133c89af1Smrgfi 325233c89af1Smrg# Now try BSD make style include. 325333c89af1Smrgif test "$am__include" = "#"; then 325433c89af1Smrg echo '.include "confinc"' > confmf 325533c89af1Smrg if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 325633c89af1Smrg am__include=.include 325733c89af1Smrg am__quote="\"" 325833c89af1Smrg _am_result=BSD 325933c89af1Smrg fi 326033c89af1Smrgfi 326133c89af1Smrg 326233c89af1Smrg 326333c89af1Smrg{ echo "$as_me:$LINENO: result: $_am_result" >&5 326433c89af1Smrgecho "${ECHO_T}$_am_result" >&6; } 326533c89af1Smrgrm -f confinc confmf 326633c89af1Smrg 326733c89af1Smrg# Check whether --enable-dependency-tracking was given. 326833c89af1Smrgif test "${enable_dependency_tracking+set}" = set; then 326933c89af1Smrg enableval=$enable_dependency_tracking; 327033c89af1Smrgfi 327133c89af1Smrg 327233c89af1Smrgif test "x$enable_dependency_tracking" != xno; then 327333c89af1Smrg am_depcomp="$ac_aux_dir/depcomp" 327433c89af1Smrg AMDEPBACKSLASH='\' 327533c89af1Smrgfi 327633c89af1Smrg 327733c89af1Smrg 327833c89af1Smrgif test "x$enable_dependency_tracking" != xno; then 327933c89af1Smrg AMDEP_TRUE= 328033c89af1Smrg AMDEP_FALSE='#' 328133c89af1Smrgelse 328233c89af1Smrg AMDEP_TRUE='#' 328333c89af1Smrg AMDEP_FALSE= 328433c89af1Smrgfi 328533c89af1Smrg 328633c89af1Smrg 328733c89af1Smrg 328833c89af1Smrg 328933c89af1Smrgdepcc="$CC" am_compiler_list= 329033c89af1Smrg 329133c89af1Smrg{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 329233c89af1Smrgecho $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } 329333c89af1Smrgif test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 329433c89af1Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 329533c89af1Smrgelse 329633c89af1Smrg if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 329733c89af1Smrg # We make a subdir and do the tests there. Otherwise we can end up 329833c89af1Smrg # making bogus files that we don't know about and never remove. For 329933c89af1Smrg # instance it was reported that on HP-UX the gcc test will end up 330033c89af1Smrg # making a dummy file named `D' -- because `-MD' means `put the output 330133c89af1Smrg # in D'. 330233c89af1Smrg mkdir conftest.dir 330333c89af1Smrg # Copy depcomp to subdir because otherwise we won't find it if we're 330433c89af1Smrg # using a relative directory. 330533c89af1Smrg cp "$am_depcomp" conftest.dir 330633c89af1Smrg cd conftest.dir 330733c89af1Smrg # We will build objects and dependencies in a subdirectory because 330833c89af1Smrg # it helps to detect inapplicable dependency modes. For instance 330933c89af1Smrg # both Tru64's cc and ICC support -MD to output dependencies as a 331033c89af1Smrg # side effect of compilation, but ICC will put the dependencies in 331133c89af1Smrg # the current directory while Tru64 will put them in the object 331233c89af1Smrg # directory. 331333c89af1Smrg mkdir sub 331433c89af1Smrg 331533c89af1Smrg am_cv_CC_dependencies_compiler_type=none 331633c89af1Smrg if test "$am_compiler_list" = ""; then 331733c89af1Smrg am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 331833c89af1Smrg fi 331933c89af1Smrg for depmode in $am_compiler_list; do 332033c89af1Smrg # Setup a source with many dependencies, because some compilers 332133c89af1Smrg # like to wrap large dependency lists on column 80 (with \), and 332233c89af1Smrg # we should not choose a depcomp mode which is confused by this. 332333c89af1Smrg # 332433c89af1Smrg # We need to recreate these files for each test, as the compiler may 332533c89af1Smrg # overwrite some of them when testing with obscure command lines. 332633c89af1Smrg # This happens at least with the AIX C compiler. 332733c89af1Smrg : > sub/conftest.c 332833c89af1Smrg for i in 1 2 3 4 5 6; do 332933c89af1Smrg echo '#include "conftst'$i'.h"' >> sub/conftest.c 333033c89af1Smrg # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 333133c89af1Smrg # Solaris 8's {/usr,}/bin/sh. 333233c89af1Smrg touch sub/conftst$i.h 333333c89af1Smrg done 333433c89af1Smrg echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 333533c89af1Smrg 333633c89af1Smrg case $depmode in 333733c89af1Smrg nosideeffect) 333833c89af1Smrg # after this tag, mechanisms are not by side-effect, so they'll 333933c89af1Smrg # only be used when explicitly requested 334033c89af1Smrg if test "x$enable_dependency_tracking" = xyes; then 334133c89af1Smrg continue 334233c89af1Smrg else 334333c89af1Smrg break 334433c89af1Smrg fi 334533c89af1Smrg ;; 334633c89af1Smrg none) break ;; 334733c89af1Smrg esac 334833c89af1Smrg # We check with `-c' and `-o' for the sake of the "dashmstdout" 334933c89af1Smrg # mode. It turns out that the SunPro C++ compiler does not properly 335033c89af1Smrg # handle `-M -o', and we need to detect this. 335133c89af1Smrg if depmode=$depmode \ 335233c89af1Smrg source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 335333c89af1Smrg depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 335433c89af1Smrg $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 335533c89af1Smrg >/dev/null 2>conftest.err && 335633c89af1Smrg grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 335733c89af1Smrg grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 335833c89af1Smrg ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 335933c89af1Smrg # icc doesn't choke on unknown options, it will just issue warnings 336033c89af1Smrg # or remarks (even with -Werror). So we grep stderr for any message 336133c89af1Smrg # that says an option was ignored or not supported. 336233c89af1Smrg # When given -MP, icc 7.0 and 7.1 complain thusly: 336333c89af1Smrg # icc: Command line warning: ignoring option '-M'; no argument required 336433c89af1Smrg # The diagnosis changed in icc 8.0: 336533c89af1Smrg # icc: Command line remark: option '-MP' not supported 336633c89af1Smrg if (grep 'ignoring option' conftest.err || 336733c89af1Smrg grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 336833c89af1Smrg am_cv_CC_dependencies_compiler_type=$depmode 336933c89af1Smrg break 337033c89af1Smrg fi 337133c89af1Smrg fi 337233c89af1Smrg done 337333c89af1Smrg 337433c89af1Smrg cd .. 337533c89af1Smrg rm -rf conftest.dir 337633c89af1Smrgelse 337733c89af1Smrg am_cv_CC_dependencies_compiler_type=none 337833c89af1Smrgfi 337933c89af1Smrg 338033c89af1Smrgfi 338133c89af1Smrg{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 338233c89af1Smrgecho "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } 338333c89af1SmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 338433c89af1Smrg 338533c89af1Smrg 338633c89af1Smrg 338733c89af1Smrgif 338833c89af1Smrg test "x$enable_dependency_tracking" != xno \ 338933c89af1Smrg && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 339033c89af1Smrg am__fastdepCC_TRUE= 339133c89af1Smrg am__fastdepCC_FALSE='#' 339233c89af1Smrgelse 339333c89af1Smrg am__fastdepCC_TRUE='#' 339433c89af1Smrg am__fastdepCC_FALSE= 339533c89af1Smrgfi 339633c89af1Smrg 339733c89af1Smrg 339833c89af1Smrg# Find a good install program. We prefer a C program (faster), 339933c89af1Smrg# so one script is as good as another. But avoid the broken or 340033c89af1Smrg# incompatible versions: 340133c89af1Smrg# SysV /etc/install, /usr/sbin/install 340233c89af1Smrg# SunOS /usr/etc/install 340333c89af1Smrg# IRIX /sbin/install 340433c89af1Smrg# AIX /bin/install 340533c89af1Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs 340633c89af1Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 340733c89af1Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 340833c89af1Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 340933c89af1Smrg# OS/2's system install, which has a completely different semantic 341033c89af1Smrg# ./install, which can be erroneously created by make from ./install.sh. 341133c89af1Smrg{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 341233c89af1Smrgecho $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 341333c89af1Smrgif test -z "$INSTALL"; then 341433c89af1Smrgif test "${ac_cv_path_install+set}" = set; then 341533c89af1Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 341633c89af1Smrgelse 341733c89af1Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 341833c89af1Smrgfor as_dir in $PATH 341933c89af1Smrgdo 342033c89af1Smrg IFS=$as_save_IFS 342133c89af1Smrg test -z "$as_dir" && as_dir=. 342233c89af1Smrg # Account for people who put trailing slashes in PATH elements. 342333c89af1Smrgcase $as_dir/ in 342433c89af1Smrg ./ | .// | /cC/* | \ 342533c89af1Smrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 342633c89af1Smrg ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 342733c89af1Smrg /usr/ucb/* ) ;; 342833c89af1Smrg *) 342933c89af1Smrg # OSF1 and SCO ODT 3.0 have their own names for install. 343033c89af1Smrg # Don't use installbsd from OSF since it installs stuff as root 343133c89af1Smrg # by default. 343233c89af1Smrg for ac_prog in ginstall scoinst install; do 343333c89af1Smrg for ac_exec_ext in '' $ac_executable_extensions; do 343433c89af1Smrg if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then 343533c89af1Smrg if test $ac_prog = install && 343633c89af1Smrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 343733c89af1Smrg # AIX install. It has an incompatible calling convention. 343833c89af1Smrg : 343933c89af1Smrg elif test $ac_prog = install && 344033c89af1Smrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 344133c89af1Smrg # program-specific install script used by HP pwplus--don't use. 344233c89af1Smrg : 344333c89af1Smrg else 344433c89af1Smrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 344533c89af1Smrg break 3 344633c89af1Smrg fi 344733c89af1Smrg fi 344833c89af1Smrg done 344933c89af1Smrg done 345033c89af1Smrg ;; 345133c89af1Smrgesac 345233c89af1Smrgdone 345333c89af1SmrgIFS=$as_save_IFS 345433c89af1Smrg 345533c89af1Smrg 345633c89af1Smrgfi 345733c89af1Smrg if test "${ac_cv_path_install+set}" = set; then 345833c89af1Smrg INSTALL=$ac_cv_path_install 345933c89af1Smrg else 346033c89af1Smrg # As a last resort, use the slow shell script. Don't cache a 346133c89af1Smrg # value for INSTALL within a source directory, because that will 346233c89af1Smrg # break other packages using the cache if that directory is 346333c89af1Smrg # removed, or if the value is a relative name. 346433c89af1Smrg INSTALL=$ac_install_sh 346533c89af1Smrg fi 346633c89af1Smrgfi 346733c89af1Smrg{ echo "$as_me:$LINENO: result: $INSTALL" >&5 346833c89af1Smrgecho "${ECHO_T}$INSTALL" >&6; } 346933c89af1Smrg 347033c89af1Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 347133c89af1Smrg# It thinks the first close brace ends the variable substitution. 347233c89af1Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 347333c89af1Smrg 347433c89af1Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 347533c89af1Smrg 347633c89af1Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 347733c89af1Smrg 347833c89af1Smrg 347933c89af1Smrg 348033c89af1Smrg 348133c89af1Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 348233c89af1Smrg if test -n "$ac_tool_prefix"; then 348333c89af1Smrg # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 348433c89af1Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2 348533c89af1Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 348633c89af1Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 348733c89af1Smrgif test "${ac_cv_path_PKG_CONFIG+set}" = set; then 348833c89af1Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 348933c89af1Smrgelse 349033c89af1Smrg case $PKG_CONFIG in 349133c89af1Smrg [\\/]* | ?:[\\/]*) 349233c89af1Smrg ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 349333c89af1Smrg ;; 349433c89af1Smrg *) 349533c89af1Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 349633c89af1Smrgfor as_dir in $PATH 349733c89af1Smrgdo 349833c89af1Smrg IFS=$as_save_IFS 349933c89af1Smrg test -z "$as_dir" && as_dir=. 350033c89af1Smrg for ac_exec_ext in '' $ac_executable_extensions; do 350133c89af1Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 350233c89af1Smrg ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 350333c89af1Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 350433c89af1Smrg break 2 350533c89af1Smrg fi 350633c89af1Smrgdone 350733c89af1Smrgdone 350833c89af1SmrgIFS=$as_save_IFS 350933c89af1Smrg 351033c89af1Smrg ;; 351133c89af1Smrgesac 351233c89af1Smrgfi 351333c89af1SmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG 351433c89af1Smrgif test -n "$PKG_CONFIG"; then 351533c89af1Smrg { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 351633c89af1Smrgecho "${ECHO_T}$PKG_CONFIG" >&6; } 351733c89af1Smrgelse 351833c89af1Smrg { echo "$as_me:$LINENO: result: no" >&5 351933c89af1Smrgecho "${ECHO_T}no" >&6; } 352033c89af1Smrgfi 352133c89af1Smrg 352233c89af1Smrg 352333c89af1Smrgfi 352433c89af1Smrgif test -z "$ac_cv_path_PKG_CONFIG"; then 352533c89af1Smrg ac_pt_PKG_CONFIG=$PKG_CONFIG 352633c89af1Smrg # Extract the first word of "pkg-config", so it can be a program name with args. 352733c89af1Smrgset dummy pkg-config; ac_word=$2 352833c89af1Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 352933c89af1Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 353033c89af1Smrgif test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then 353133c89af1Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 353233c89af1Smrgelse 353333c89af1Smrg case $ac_pt_PKG_CONFIG in 353433c89af1Smrg [\\/]* | ?:[\\/]*) 353533c89af1Smrg ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 353633c89af1Smrg ;; 353733c89af1Smrg *) 353833c89af1Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 353933c89af1Smrgfor as_dir in $PATH 354033c89af1Smrgdo 354133c89af1Smrg IFS=$as_save_IFS 354233c89af1Smrg test -z "$as_dir" && as_dir=. 354333c89af1Smrg for ac_exec_ext in '' $ac_executable_extensions; do 354433c89af1Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 354533c89af1Smrg ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 354633c89af1Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 354733c89af1Smrg break 2 354833c89af1Smrg fi 354933c89af1Smrgdone 355033c89af1Smrgdone 355133c89af1SmrgIFS=$as_save_IFS 355233c89af1Smrg 355333c89af1Smrg ;; 355433c89af1Smrgesac 355533c89af1Smrgfi 355633c89af1Smrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 355733c89af1Smrgif test -n "$ac_pt_PKG_CONFIG"; then 355833c89af1Smrg { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 355933c89af1Smrgecho "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; } 356033c89af1Smrgelse 356133c89af1Smrg { echo "$as_me:$LINENO: result: no" >&5 356233c89af1Smrgecho "${ECHO_T}no" >&6; } 356333c89af1Smrgfi 356433c89af1Smrg 356533c89af1Smrg if test "x$ac_pt_PKG_CONFIG" = x; then 356633c89af1Smrg PKG_CONFIG="" 356733c89af1Smrg else 356833c89af1Smrg case $cross_compiling:$ac_tool_warned in 356933c89af1Smrgyes:) 357033c89af1Smrg{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 357133c89af1Smrgwhose name does not start with the host triplet. If you think this 357233c89af1Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&5 357333c89af1Smrgecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 357433c89af1Smrgwhose name does not start with the host triplet. If you think this 357533c89af1Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&2;} 357633c89af1Smrgac_tool_warned=yes ;; 357733c89af1Smrgesac 357833c89af1Smrg PKG_CONFIG=$ac_pt_PKG_CONFIG 357933c89af1Smrg fi 358033c89af1Smrgelse 358133c89af1Smrg PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 358233c89af1Smrgfi 358333c89af1Smrg 358433c89af1Smrgfi 358533c89af1Smrgif test -n "$PKG_CONFIG"; then 358633c89af1Smrg _pkg_min_version=0.9.0 358733c89af1Smrg { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 358833c89af1Smrgecho $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; } 358933c89af1Smrg if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 359033c89af1Smrg { echo "$as_me:$LINENO: result: yes" >&5 359133c89af1Smrgecho "${ECHO_T}yes" >&6; } 359233c89af1Smrg else 359333c89af1Smrg { echo "$as_me:$LINENO: result: no" >&5 359433c89af1Smrgecho "${ECHO_T}no" >&6; } 359533c89af1Smrg PKG_CONFIG="" 359633c89af1Smrg fi 359733c89af1Smrg 359833c89af1Smrgfi 359933c89af1Smrg 360033c89af1Smrg # Check whether --enable-xprint was given. 360133c89af1Smrgif test "${enable_xprint+set}" = set; then 360233c89af1Smrg enableval=$enable_xprint; use_xprint=$enableval 360333c89af1Smrgelse 360433c89af1Smrg use_xprint=auto 360533c89af1Smrgfi 360633c89af1Smrg 360733c89af1Smrg if test "x$use_xprint" = "xyes"; then 360833c89af1Smrg TMP_CHECK1=xaw8 360933c89af1Smrg TMP_CHECK2= 361033c89af1Smrg xaw_use_xprint=yes 361133c89af1Smrg elif test "x$use_xprint" = "xno"; then 361233c89af1Smrg TMP_CHECK1=xaw7 361333c89af1Smrg TMP_CHECK2= 361433c89af1Smrg xaw_use_xprint=no 361533c89af1Smrg else 361633c89af1Smrg TMP_CHECK1=xaw8 361733c89af1Smrg TMP_CHECK2=xaw7 361833c89af1Smrg xaw_use_xprint=yes 361933c89af1Smrg fi 362033c89af1Smrg 362133c89af1Smrg 362233c89af1Smrgpkg_failed=no 362333c89af1Smrg{ echo "$as_me:$LINENO: checking for TMP_XAW" >&5 362433c89af1Smrgecho $ECHO_N "checking for TMP_XAW... $ECHO_C" >&6; } 362533c89af1Smrg 362633c89af1Smrgif test -n "$PKG_CONFIG"; then 362733c89af1Smrg if test -n "$PKG_CONFIG" && \ 362833c89af1Smrg { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$TMP_CHECK1\"") >&5 362933c89af1Smrg ($PKG_CONFIG --exists --print-errors "$TMP_CHECK1") 2>&5 363033c89af1Smrg ac_status=$? 363133c89af1Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 363233c89af1Smrg (exit $ac_status); }; then 363333c89af1Smrg pkg_cv_TMP_XAW_CFLAGS=`$PKG_CONFIG --cflags "$TMP_CHECK1" 2>/dev/null` 363433c89af1Smrgelse 363533c89af1Smrg pkg_failed=yes 363633c89af1Smrgfi 363733c89af1Smrgelse 363833c89af1Smrg pkg_failed=untried 363933c89af1Smrgfi 364033c89af1Smrgif test -n "$PKG_CONFIG"; then 364133c89af1Smrg if test -n "$PKG_CONFIG" && \ 364233c89af1Smrg { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$TMP_CHECK1\"") >&5 364333c89af1Smrg ($PKG_CONFIG --exists --print-errors "$TMP_CHECK1") 2>&5 364433c89af1Smrg ac_status=$? 364533c89af1Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 364633c89af1Smrg (exit $ac_status); }; then 364733c89af1Smrg pkg_cv_TMP_XAW_LIBS=`$PKG_CONFIG --libs "$TMP_CHECK1" 2>/dev/null` 364833c89af1Smrgelse 364933c89af1Smrg pkg_failed=yes 365033c89af1Smrgfi 365133c89af1Smrgelse 365233c89af1Smrg pkg_failed=untried 365333c89af1Smrgfi 365433c89af1Smrg 365533c89af1Smrgif test $pkg_failed = yes; then 365633c89af1Smrg TMP_XAW_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$TMP_CHECK1"` 365733c89af1Smrg # Put the nasty error message in config.log where it belongs 365833c89af1Smrg echo "$TMP_XAW_PKG_ERRORS" 1>&5 365933c89af1Smrg 366033c89af1Smrg success=no 366133c89af1Smrgelif test $pkg_failed = untried; then 366233c89af1Smrg success=no 366333c89af1Smrgelse 366433c89af1Smrg TMP_XAW_CFLAGS=$pkg_cv_TMP_XAW_CFLAGS 366533c89af1Smrg TMP_XAW_LIBS=$pkg_cv_TMP_XAW_LIBS 366633c89af1Smrg { echo "$as_me:$LINENO: result: yes" >&5 366733c89af1Smrgecho "${ECHO_T}yes" >&6; } 366833c89af1Smrg success=yes 366933c89af1Smrgfi 367033c89af1Smrg if [ ! -z $TMP_CHECK2 ] ; then 367133c89af1Smrg if test $success = no ; then 367233c89af1Smrg 367333c89af1Smrgpkg_failed=no 367433c89af1Smrg{ echo "$as_me:$LINENO: checking for TMP_XAW" >&5 367533c89af1Smrgecho $ECHO_N "checking for TMP_XAW... $ECHO_C" >&6; } 367633c89af1Smrg 367733c89af1Smrgif test -n "$PKG_CONFIG"; then 367833c89af1Smrg if test -n "$PKG_CONFIG" && \ 367933c89af1Smrg { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$TMP_CHECK2\"") >&5 368033c89af1Smrg ($PKG_CONFIG --exists --print-errors "$TMP_CHECK2") 2>&5 368133c89af1Smrg ac_status=$? 368233c89af1Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 368333c89af1Smrg (exit $ac_status); }; then 368433c89af1Smrg pkg_cv_TMP_XAW_CFLAGS=`$PKG_CONFIG --cflags "$TMP_CHECK2" 2>/dev/null` 368533c89af1Smrgelse 368633c89af1Smrg pkg_failed=yes 368733c89af1Smrgfi 368833c89af1Smrgelse 368933c89af1Smrg pkg_failed=untried 369033c89af1Smrgfi 369133c89af1Smrgif test -n "$PKG_CONFIG"; then 369233c89af1Smrg if test -n "$PKG_CONFIG" && \ 369333c89af1Smrg { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$TMP_CHECK2\"") >&5 369433c89af1Smrg ($PKG_CONFIG --exists --print-errors "$TMP_CHECK2") 2>&5 369533c89af1Smrg ac_status=$? 369633c89af1Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 369733c89af1Smrg (exit $ac_status); }; then 369833c89af1Smrg pkg_cv_TMP_XAW_LIBS=`$PKG_CONFIG --libs "$TMP_CHECK2" 2>/dev/null` 369933c89af1Smrgelse 370033c89af1Smrg pkg_failed=yes 370133c89af1Smrgfi 370233c89af1Smrgelse 370333c89af1Smrg pkg_failed=untried 370433c89af1Smrgfi 370533c89af1Smrg 370633c89af1Smrgif test $pkg_failed = yes; then 370733c89af1Smrg TMP_XAW_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$TMP_CHECK2"` 370833c89af1Smrg # Put the nasty error message in config.log where it belongs 370933c89af1Smrg echo "$TMP_XAW_PKG_ERRORS" 1>&5 371033c89af1Smrg 371133c89af1Smrg success=no 371233c89af1Smrgelif test $pkg_failed = untried; then 371333c89af1Smrg success=no 371433c89af1Smrgelse 371533c89af1Smrg TMP_XAW_CFLAGS=$pkg_cv_TMP_XAW_CFLAGS 371633c89af1Smrg TMP_XAW_LIBS=$pkg_cv_TMP_XAW_LIBS 371733c89af1Smrg { echo "$as_me:$LINENO: result: yes" >&5 371833c89af1Smrgecho "${ECHO_T}yes" >&6; } 371933c89af1Smrg success=yes 372033c89af1Smrgfi 372133c89af1Smrg xaw_use_xprint=no 372233c89af1Smrg fi 372333c89af1Smrg fi 372433c89af1Smrg 372533c89af1Smrg if test "x$success" = "xyes"; then 372633c89af1Smrg XAW_CFLAGS=$TMP_XAW_CFLAGS 372733c89af1Smrg XAW_LIBS=$TMP_XAW_LIBS 372833c89af1Smrg 372933c89af1Smrg 373033c89af1Smrg 373133c89af1Smrgif test "x$xaw_use_xprint" = "xyes"; then 373233c89af1Smrg XAW_USE_XPRINT_TRUE= 373333c89af1Smrg XAW_USE_XPRINT_FALSE='#' 373433c89af1Smrgelse 373533c89af1Smrg XAW_USE_XPRINT_TRUE='#' 373633c89af1Smrg XAW_USE_XPRINT_FALSE= 373733c89af1Smrgfi 373833c89af1Smrg 373933c89af1Smrg else 374033c89af1Smrg { { echo "$as_me:$LINENO: error: No suitable version of Xaw found" >&5 374133c89af1Smrgecho "$as_me: error: No suitable version of Xaw found" >&2;} 374233c89af1Smrg { (exit 1); exit 1; }; } 374333c89af1Smrg fi 374433c89af1Smrg 374533c89af1Smrg 374633c89af1Smrg# Checks for pkg-config packages 374733c89af1Smrg 374833c89af1Smrgpkg_failed=no 374933c89af1Smrg{ echo "$as_me:$LINENO: checking for EDITRES" >&5 375033c89af1Smrgecho $ECHO_N "checking for EDITRES... $ECHO_C" >&6; } 375133c89af1Smrg 375233c89af1Smrgif test -n "$PKG_CONFIG"; then 375333c89af1Smrg if test -n "$PKG_CONFIG" && \ 375433c89af1Smrg { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xt xmu\"") >&5 375533c89af1Smrg ($PKG_CONFIG --exists --print-errors "x11 xt xmu") 2>&5 375633c89af1Smrg ac_status=$? 375733c89af1Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 375833c89af1Smrg (exit $ac_status); }; then 375933c89af1Smrg pkg_cv_EDITRES_CFLAGS=`$PKG_CONFIG --cflags "x11 xt xmu" 2>/dev/null` 376033c89af1Smrgelse 376133c89af1Smrg pkg_failed=yes 376233c89af1Smrgfi 376333c89af1Smrgelse 376433c89af1Smrg pkg_failed=untried 376533c89af1Smrgfi 376633c89af1Smrgif test -n "$PKG_CONFIG"; then 376733c89af1Smrg if test -n "$PKG_CONFIG" && \ 376833c89af1Smrg { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xt xmu\"") >&5 376933c89af1Smrg ($PKG_CONFIG --exists --print-errors "x11 xt xmu") 2>&5 377033c89af1Smrg ac_status=$? 377133c89af1Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 377233c89af1Smrg (exit $ac_status); }; then 377333c89af1Smrg pkg_cv_EDITRES_LIBS=`$PKG_CONFIG --libs "x11 xt xmu" 2>/dev/null` 377433c89af1Smrgelse 377533c89af1Smrg pkg_failed=yes 377633c89af1Smrgfi 377733c89af1Smrgelse 377833c89af1Smrg pkg_failed=untried 377933c89af1Smrgfi 378033c89af1Smrg 378133c89af1Smrgif test $pkg_failed = yes; then 378233c89af1Smrg EDITRES_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "x11 xt xmu"` 378333c89af1Smrg # Put the nasty error message in config.log where it belongs 378433c89af1Smrg echo "$EDITRES_PKG_ERRORS" 1>&5 378533c89af1Smrg 378633c89af1Smrg { { echo "$as_me:$LINENO: error: Package requirements (x11 xt xmu) were not met. 378733c89af1SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 378833c89af1Smrginstalled software in a non-standard prefix. 378933c89af1Smrg 379033c89af1SmrgAlternatively you may set the EDITRES_CFLAGS and EDITRES_LIBS environment variables 379133c89af1Smrgto avoid the need to call pkg-config. See the pkg-config man page for 379233c89af1Smrgmore details." >&5 379333c89af1Smrgecho "$as_me: error: Package requirements (x11 xt xmu) were not met. 379433c89af1SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 379533c89af1Smrginstalled software in a non-standard prefix. 379633c89af1Smrg 379733c89af1SmrgAlternatively you may set the EDITRES_CFLAGS and EDITRES_LIBS environment variables 379833c89af1Smrgto avoid the need to call pkg-config. See the pkg-config man page for 379933c89af1Smrgmore details." >&2;} 380033c89af1Smrg { (exit 1); exit 1; }; } 380133c89af1Smrgelif test $pkg_failed = untried; then 380233c89af1Smrg { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 380333c89af1Smrgis in your PATH or set the PKG_CONFIG environment variable to the full 380433c89af1Smrgpath to pkg-config. 380533c89af1Smrg 380633c89af1SmrgAlternatively you may set the EDITRES_CFLAGS and EDITRES_LIBS environment variables 380733c89af1Smrgto avoid the need to call pkg-config. See the pkg-config man page for 380833c89af1Smrgmore details. 380933c89af1Smrg 381033c89af1SmrgTo get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>. 381133c89af1SmrgSee \`config.log' for more details." >&5 381233c89af1Smrgecho "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 381333c89af1Smrgis in your PATH or set the PKG_CONFIG environment variable to the full 381433c89af1Smrgpath to pkg-config. 381533c89af1Smrg 381633c89af1SmrgAlternatively you may set the EDITRES_CFLAGS and EDITRES_LIBS environment variables 381733c89af1Smrgto avoid the need to call pkg-config. See the pkg-config man page for 381833c89af1Smrgmore details. 381933c89af1Smrg 382033c89af1SmrgTo get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>. 382133c89af1SmrgSee \`config.log' for more details." >&2;} 382233c89af1Smrg { (exit 1); exit 1; }; } 382333c89af1Smrgelse 382433c89af1Smrg EDITRES_CFLAGS=$pkg_cv_EDITRES_CFLAGS 382533c89af1Smrg EDITRES_LIBS=$pkg_cv_EDITRES_LIBS 382633c89af1Smrg { echo "$as_me:$LINENO: result: yes" >&5 382733c89af1Smrgecho "${ECHO_T}yes" >&6; } 382833c89af1Smrg : 382933c89af1Smrgfi 383033c89af1SmrgEDITRES_CFLAGS="$DEP_CFLAGS $XAW_CFLAGS" 383133c89af1SmrgEDITRES_LIBS="$DEP_LIBS $XAW_LIBS" 383233c89af1Smrg 383333c89af1Smrg 383433c89af1Smrg 383533c89af1Smrg 383633c89af1Smrgpkg_failed=no 383733c89af1Smrg{ echo "$as_me:$LINENO: checking for APPDEFS" >&5 383833c89af1Smrgecho $ECHO_N "checking for APPDEFS... $ECHO_C" >&6; } 383933c89af1Smrg 384033c89af1Smrgif test -n "$PKG_CONFIG"; then 384133c89af1Smrg if test -n "$PKG_CONFIG" && \ 384233c89af1Smrg { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt\"") >&5 384333c89af1Smrg ($PKG_CONFIG --exists --print-errors "xt") 2>&5 384433c89af1Smrg ac_status=$? 384533c89af1Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 384633c89af1Smrg (exit $ac_status); }; then 384733c89af1Smrg pkg_cv_APPDEFS_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null` 384833c89af1Smrgelse 384933c89af1Smrg pkg_failed=yes 385033c89af1Smrgfi 385133c89af1Smrgelse 385233c89af1Smrg pkg_failed=untried 385333c89af1Smrgfi 385433c89af1Smrgif test -n "$PKG_CONFIG"; then 385533c89af1Smrg if test -n "$PKG_CONFIG" && \ 385633c89af1Smrg { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt\"") >&5 385733c89af1Smrg ($PKG_CONFIG --exists --print-errors "xt") 2>&5 385833c89af1Smrg ac_status=$? 385933c89af1Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 386033c89af1Smrg (exit $ac_status); }; then 386133c89af1Smrg pkg_cv_APPDEFS_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null` 386233c89af1Smrgelse 386333c89af1Smrg pkg_failed=yes 386433c89af1Smrgfi 386533c89af1Smrgelse 386633c89af1Smrg pkg_failed=untried 386733c89af1Smrgfi 386833c89af1Smrg 386933c89af1Smrgif test $pkg_failed = yes; then 387033c89af1Smrg APPDEFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xt"` 387133c89af1Smrg # Put the nasty error message in config.log where it belongs 387233c89af1Smrg echo "$APPDEFS_PKG_ERRORS" 1>&5 387333c89af1Smrg 387433c89af1Smrg { { echo "$as_me:$LINENO: error: Package requirements (xt) were not met. 387533c89af1SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 387633c89af1Smrginstalled software in a non-standard prefix. 387733c89af1Smrg 387833c89af1SmrgAlternatively you may set the APPDEFS_CFLAGS and APPDEFS_LIBS environment variables 387933c89af1Smrgto avoid the need to call pkg-config. See the pkg-config man page for 388033c89af1Smrgmore details." >&5 388133c89af1Smrgecho "$as_me: error: Package requirements (xt) were not met. 388233c89af1SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 388333c89af1Smrginstalled software in a non-standard prefix. 388433c89af1Smrg 388533c89af1SmrgAlternatively you may set the APPDEFS_CFLAGS and APPDEFS_LIBS environment variables 388633c89af1Smrgto avoid the need to call pkg-config. See the pkg-config man page for 388733c89af1Smrgmore details." >&2;} 388833c89af1Smrg { (exit 1); exit 1; }; } 388933c89af1Smrgelif test $pkg_failed = untried; then 389033c89af1Smrg { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 389133c89af1Smrgis in your PATH or set the PKG_CONFIG environment variable to the full 389233c89af1Smrgpath to pkg-config. 389333c89af1Smrg 389433c89af1SmrgAlternatively you may set the APPDEFS_CFLAGS and APPDEFS_LIBS environment variables 389533c89af1Smrgto avoid the need to call pkg-config. See the pkg-config man page for 389633c89af1Smrgmore details. 389733c89af1Smrg 389833c89af1SmrgTo get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>. 389933c89af1SmrgSee \`config.log' for more details." >&5 390033c89af1Smrgecho "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 390133c89af1Smrgis in your PATH or set the PKG_CONFIG environment variable to the full 390233c89af1Smrgpath to pkg-config. 390333c89af1Smrg 390433c89af1SmrgAlternatively you may set the APPDEFS_CFLAGS and APPDEFS_LIBS environment variables 390533c89af1Smrgto avoid the need to call pkg-config. See the pkg-config man page for 390633c89af1Smrgmore details. 390733c89af1Smrg 390833c89af1SmrgTo get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>. 390933c89af1SmrgSee \`config.log' for more details." >&2;} 391033c89af1Smrg { (exit 1); exit 1; }; } 391133c89af1Smrgelse 391233c89af1Smrg APPDEFS_CFLAGS=$pkg_cv_APPDEFS_CFLAGS 391333c89af1Smrg APPDEFS_LIBS=$pkg_cv_APPDEFS_LIBS 391433c89af1Smrg { echo "$as_me:$LINENO: result: yes" >&5 391533c89af1Smrgecho "${ECHO_T}yes" >&6; } 391633c89af1Smrg : 391733c89af1Smrgfi 391833c89af1Smrgappdefaultdir=$(pkg-config --variable=appdefaultdir xt) 391933c89af1Smrg 392033c89af1Smrg 392133c89af1Smrg# Make sure we can run config.sub. 392233c89af1Smrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 392333c89af1Smrg { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 392433c89af1Smrgecho "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 392533c89af1Smrg { (exit 1); exit 1; }; } 392633c89af1Smrg 392733c89af1Smrg{ echo "$as_me:$LINENO: checking build system type" >&5 392833c89af1Smrgecho $ECHO_N "checking build system type... $ECHO_C" >&6; } 392933c89af1Smrgif test "${ac_cv_build+set}" = set; then 393033c89af1Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 393133c89af1Smrgelse 393233c89af1Smrg ac_build_alias=$build_alias 393333c89af1Smrgtest "x$ac_build_alias" = x && 393433c89af1Smrg ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 393533c89af1Smrgtest "x$ac_build_alias" = x && 393633c89af1Smrg { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 393733c89af1Smrgecho "$as_me: error: cannot guess build type; you must specify one" >&2;} 393833c89af1Smrg { (exit 1); exit 1; }; } 393933c89af1Smrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 394033c89af1Smrg { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 394133c89af1Smrgecho "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 394233c89af1Smrg { (exit 1); exit 1; }; } 394333c89af1Smrg 394433c89af1Smrgfi 394533c89af1Smrg{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5 394633c89af1Smrgecho "${ECHO_T}$ac_cv_build" >&6; } 394733c89af1Smrgcase $ac_cv_build in 394833c89af1Smrg*-*-*) ;; 394933c89af1Smrg*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 395033c89af1Smrgecho "$as_me: error: invalid value of canonical build" >&2;} 395133c89af1Smrg { (exit 1); exit 1; }; };; 395233c89af1Smrgesac 395333c89af1Smrgbuild=$ac_cv_build 395433c89af1Smrgac_save_IFS=$IFS; IFS='-' 395533c89af1Smrgset x $ac_cv_build 395633c89af1Smrgshift 395733c89af1Smrgbuild_cpu=$1 395833c89af1Smrgbuild_vendor=$2 395933c89af1Smrgshift; shift 396033c89af1Smrg# Remember, the first character of IFS is used to create $*, 396133c89af1Smrg# except with old shells: 396233c89af1Smrgbuild_os=$* 396333c89af1SmrgIFS=$ac_save_IFS 396433c89af1Smrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 396533c89af1Smrg 396633c89af1Smrg 396733c89af1Smrg{ echo "$as_me:$LINENO: checking host system type" >&5 396833c89af1Smrgecho $ECHO_N "checking host system type... $ECHO_C" >&6; } 396933c89af1Smrgif test "${ac_cv_host+set}" = set; then 397033c89af1Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 397133c89af1Smrgelse 397233c89af1Smrg if test "x$host_alias" = x; then 397333c89af1Smrg ac_cv_host=$ac_cv_build 397433c89af1Smrgelse 397533c89af1Smrg ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 397633c89af1Smrg { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 397733c89af1Smrgecho "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 397833c89af1Smrg { (exit 1); exit 1; }; } 397933c89af1Smrgfi 398033c89af1Smrg 398133c89af1Smrgfi 398233c89af1Smrg{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5 398333c89af1Smrgecho "${ECHO_T}$ac_cv_host" >&6; } 398433c89af1Smrgcase $ac_cv_host in 398533c89af1Smrg*-*-*) ;; 398633c89af1Smrg*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 398733c89af1Smrgecho "$as_me: error: invalid value of canonical host" >&2;} 398833c89af1Smrg { (exit 1); exit 1; }; };; 398933c89af1Smrgesac 399033c89af1Smrghost=$ac_cv_host 399133c89af1Smrgac_save_IFS=$IFS; IFS='-' 399233c89af1Smrgset x $ac_cv_host 399333c89af1Smrgshift 399433c89af1Smrghost_cpu=$1 399533c89af1Smrghost_vendor=$2 399633c89af1Smrgshift; shift 399733c89af1Smrg# Remember, the first character of IFS is used to create $*, 399833c89af1Smrg# except with old shells: 399933c89af1Smrghost_os=$* 400033c89af1SmrgIFS=$ac_save_IFS 400133c89af1Smrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 400233c89af1Smrg 400333c89af1Smrg 400433c89af1Smrg 400533c89af1Smrg 400633c89af1Smrg 400733c89af1Smrgif test x$APP_MAN_SUFFIX = x ; then 400833c89af1Smrg APP_MAN_SUFFIX=1 400933c89af1Smrgfi 401033c89af1Smrgif test x$APP_MAN_DIR = x ; then 401133c89af1Smrg APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 401233c89af1Smrgfi 401333c89af1Smrg 401433c89af1Smrgif test x$LIB_MAN_SUFFIX = x ; then 401533c89af1Smrg LIB_MAN_SUFFIX=3 401633c89af1Smrgfi 401733c89af1Smrgif test x$LIB_MAN_DIR = x ; then 401833c89af1Smrg LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 401933c89af1Smrgfi 402033c89af1Smrg 402133c89af1Smrgif test x$FILE_MAN_SUFFIX = x ; then 402233c89af1Smrg case $host_os in 402333c89af1Smrg solaris*) FILE_MAN_SUFFIX=4 ;; 402433c89af1Smrg *) FILE_MAN_SUFFIX=5 ;; 402533c89af1Smrg esac 402633c89af1Smrgfi 402733c89af1Smrgif test x$FILE_MAN_DIR = x ; then 402833c89af1Smrg FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 402933c89af1Smrgfi 403033c89af1Smrg 403133c89af1Smrgif test x$MISC_MAN_SUFFIX = x ; then 403233c89af1Smrg case $host_os in 403333c89af1Smrg solaris*) MISC_MAN_SUFFIX=5 ;; 403433c89af1Smrg *) MISC_MAN_SUFFIX=7 ;; 403533c89af1Smrg esac 403633c89af1Smrgfi 403733c89af1Smrgif test x$MISC_MAN_DIR = x ; then 403833c89af1Smrg MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 403933c89af1Smrgfi 404033c89af1Smrg 404133c89af1Smrgif test x$DRIVER_MAN_SUFFIX = x ; then 404233c89af1Smrg case $host_os in 404333c89af1Smrg solaris*) DRIVER_MAN_SUFFIX=7 ;; 404433c89af1Smrg *) DRIVER_MAN_SUFFIX=4 ;; 404533c89af1Smrg esac 404633c89af1Smrgfi 404733c89af1Smrgif test x$DRIVER_MAN_DIR = x ; then 404833c89af1Smrg DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 404933c89af1Smrgfi 405033c89af1Smrg 405133c89af1Smrgif test x$ADMIN_MAN_SUFFIX = x ; then 405233c89af1Smrg case $host_os in 405333c89af1Smrg solaris*) ADMIN_MAN_SUFFIX=1m ;; 405433c89af1Smrg *) ADMIN_MAN_SUFFIX=8 ;; 405533c89af1Smrg esac 405633c89af1Smrgfi 405733c89af1Smrgif test x$ADMIN_MAN_DIR = x ; then 405833c89af1Smrg ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 405933c89af1Smrgfi 406033c89af1Smrg 406133c89af1Smrg 406233c89af1Smrg 406333c89af1Smrg 406433c89af1Smrg 406533c89af1Smrg 406633c89af1Smrg 406733c89af1Smrg 406833c89af1Smrg 406933c89af1Smrg 407033c89af1Smrg 407133c89af1Smrg 407233c89af1Smrg 407333c89af1Smrg 407433c89af1Smrg 407533c89af1Smrg 407633c89af1Smrg 407733c89af1Smrg# Check whether --with-release-version was given. 407833c89af1Smrgif test "${with_release_version+set}" = set; then 407933c89af1Smrg withval=$with_release_version; RELEASE_VERSION="$withval" 408033c89af1Smrgelse 408133c89af1Smrg RELEASE_VERSION="" 408233c89af1Smrgfi 408333c89af1Smrg 408433c89af1Smrg if test "x$RELEASE_VERSION" != "x"; then 408533c89af1Smrg PACKAGE="$PACKAGE-$RELEASE_VERSION" 408633c89af1Smrg PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION" 408733c89af1Smrg { echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5 408833c89af1Smrgecho "$as_me: Building with package name set to $PACKAGE" >&6;} 408933c89af1Smrg fi 409033c89af1Smrg 409133c89af1Smrgcat >>confdefs.h <<_ACEOF 409233c89af1Smrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 409333c89af1Smrg_ACEOF 409433c89af1Smrg 409533c89af1Smrg PVM=`echo $PACKAGE_VERSION | cut -d . -f 2` 409633c89af1Smrg if test "x$PVM" = "x"; then 409733c89af1Smrg PVM="0" 409833c89af1Smrg fi 409933c89af1Smrg 410033c89af1Smrgcat >>confdefs.h <<_ACEOF 410133c89af1Smrg#define PACKAGE_VERSION_MINOR $PVM 410233c89af1Smrg_ACEOF 410333c89af1Smrg 410433c89af1Smrg PVP=`echo $PACKAGE_VERSION | cut -d . -f 3` 410533c89af1Smrg if test "x$PVP" = "x"; then 410633c89af1Smrg PVP="0" 410733c89af1Smrg fi 410833c89af1Smrg 410933c89af1Smrgcat >>confdefs.h <<_ACEOF 411033c89af1Smrg#define PACKAGE_VERSION_PATCHLEVEL $PVP 411133c89af1Smrg_ACEOF 411233c89af1Smrg 411333c89af1Smrg 411433c89af1Smrg 411533c89af1Smrgac_config_files="$ac_config_files Makefile" 411633c89af1Smrg 411733c89af1Smrgcat >confcache <<\_ACEOF 411833c89af1Smrg# This file is a shell script that caches the results of configure 411933c89af1Smrg# tests run on this system so they can be shared between configure 412033c89af1Smrg# scripts and configure runs, see configure's option --config-cache. 412133c89af1Smrg# It is not useful on other systems. If it contains results you don't 412233c89af1Smrg# want to keep, you may remove or edit it. 412333c89af1Smrg# 412433c89af1Smrg# config.status only pays attention to the cache file if you give it 412533c89af1Smrg# the --recheck option to rerun configure. 412633c89af1Smrg# 412733c89af1Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when 412833c89af1Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the 412933c89af1Smrg# following values. 413033c89af1Smrg 413133c89af1Smrg_ACEOF 413233c89af1Smrg 413333c89af1Smrg# The following way of writing the cache mishandles newlines in values, 413433c89af1Smrg# but we know of no workaround that is simple, portable, and efficient. 413533c89af1Smrg# So, we kill variables containing newlines. 413633c89af1Smrg# Ultrix sh set writes to stderr and can't be redirected directly, 413733c89af1Smrg# and sets the high bit in the cache file unless we assign to the vars. 413833c89af1Smrg( 413933c89af1Smrg for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 414033c89af1Smrg eval ac_val=\$$ac_var 414133c89af1Smrg case $ac_val in #( 414233c89af1Smrg *${as_nl}*) 414333c89af1Smrg case $ac_var in #( 414433c89af1Smrg *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 414533c89af1Smrgecho "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 414633c89af1Smrg esac 414733c89af1Smrg case $ac_var in #( 414833c89af1Smrg _ | IFS | as_nl) ;; #( 414933c89af1Smrg *) $as_unset $ac_var ;; 415033c89af1Smrg esac ;; 415133c89af1Smrg esac 415233c89af1Smrg done 415333c89af1Smrg 415433c89af1Smrg (set) 2>&1 | 415533c89af1Smrg case $as_nl`(ac_space=' '; set) 2>&1` in #( 415633c89af1Smrg *${as_nl}ac_space=\ *) 415733c89af1Smrg # `set' does not quote correctly, so add quotes (double-quote 415833c89af1Smrg # substitution turns \\\\ into \\, and sed turns \\ into \). 415933c89af1Smrg sed -n \ 416033c89af1Smrg "s/'/'\\\\''/g; 416133c89af1Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 416233c89af1Smrg ;; #( 416333c89af1Smrg *) 416433c89af1Smrg # `set' quotes correctly as required by POSIX, so do not add quotes. 416533c89af1Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 416633c89af1Smrg ;; 416733c89af1Smrg esac | 416833c89af1Smrg sort 416933c89af1Smrg) | 417033c89af1Smrg sed ' 417133c89af1Smrg /^ac_cv_env_/b end 417233c89af1Smrg t clear 417333c89af1Smrg :clear 417433c89af1Smrg s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 417533c89af1Smrg t end 417633c89af1Smrg s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 417733c89af1Smrg :end' >>confcache 417833c89af1Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 417933c89af1Smrg if test -w "$cache_file"; then 418033c89af1Smrg test "x$cache_file" != "x/dev/null" && 418133c89af1Smrg { echo "$as_me:$LINENO: updating cache $cache_file" >&5 418233c89af1Smrgecho "$as_me: updating cache $cache_file" >&6;} 418333c89af1Smrg cat confcache >$cache_file 418433c89af1Smrg else 418533c89af1Smrg { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 418633c89af1Smrgecho "$as_me: not updating unwritable cache $cache_file" >&6;} 418733c89af1Smrg fi 418833c89af1Smrgfi 418933c89af1Smrgrm -f confcache 419033c89af1Smrg 419133c89af1Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix 419233c89af1Smrg# Let make expand exec_prefix. 419333c89af1Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 419433c89af1Smrg 419533c89af1SmrgDEFS=-DHAVE_CONFIG_H 419633c89af1Smrg 419733c89af1Smrgac_libobjs= 419833c89af1Smrgac_ltlibobjs= 419933c89af1Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 420033c89af1Smrg # 1. Remove the extension, and $U if already installed. 420133c89af1Smrg ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 420233c89af1Smrg ac_i=`echo "$ac_i" | sed "$ac_script"` 420333c89af1Smrg # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 420433c89af1Smrg # will be set to the directory where LIBOBJS objects are built. 420533c89af1Smrg ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 420633c89af1Smrg ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 420733c89af1Smrgdone 420833c89af1SmrgLIBOBJS=$ac_libobjs 420933c89af1Smrg 421033c89af1SmrgLTLIBOBJS=$ac_ltlibobjs 421133c89af1Smrg 421233c89af1Smrg 421333c89af1Smrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 421433c89af1Smrg { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. 421533c89af1SmrgUsually this means the macro was only invoked conditionally." >&5 421633c89af1Smrgecho "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. 421733c89af1SmrgUsually this means the macro was only invoked conditionally." >&2;} 421833c89af1Smrg { (exit 1); exit 1; }; } 421933c89af1Smrgfi 422033c89af1Smrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 422133c89af1Smrg { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 422233c89af1SmrgUsually this means the macro was only invoked conditionally." >&5 422333c89af1Smrgecho "$as_me: error: conditional \"AMDEP\" was never defined. 422433c89af1SmrgUsually this means the macro was only invoked conditionally." >&2;} 422533c89af1Smrg { (exit 1); exit 1; }; } 422633c89af1Smrgfi 422733c89af1Smrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 422833c89af1Smrg { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 422933c89af1SmrgUsually this means the macro was only invoked conditionally." >&5 423033c89af1Smrgecho "$as_me: error: conditional \"am__fastdepCC\" was never defined. 423133c89af1SmrgUsually this means the macro was only invoked conditionally." >&2;} 423233c89af1Smrg { (exit 1); exit 1; }; } 423333c89af1Smrgfi 423433c89af1Smrgif test -z "${XAW_USE_XPRINT_TRUE}" && test -z "${XAW_USE_XPRINT_FALSE}"; then 423533c89af1Smrg { { echo "$as_me:$LINENO: error: conditional \"XAW_USE_XPRINT\" was never defined. 423633c89af1SmrgUsually this means the macro was only invoked conditionally." >&5 423733c89af1Smrgecho "$as_me: error: conditional \"XAW_USE_XPRINT\" was never defined. 423833c89af1SmrgUsually this means the macro was only invoked conditionally." >&2;} 423933c89af1Smrg { (exit 1); exit 1; }; } 424033c89af1Smrgfi 424133c89af1Smrg 424233c89af1Smrg: ${CONFIG_STATUS=./config.status} 424333c89af1Smrgac_clean_files_save=$ac_clean_files 424433c89af1Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS" 424533c89af1Smrg{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 424633c89af1Smrgecho "$as_me: creating $CONFIG_STATUS" >&6;} 424733c89af1Smrgcat >$CONFIG_STATUS <<_ACEOF 424833c89af1Smrg#! $SHELL 424933c89af1Smrg# Generated by $as_me. 425033c89af1Smrg# Run this file to recreate the current configuration. 425133c89af1Smrg# Compiler output produced by configure, useful for debugging 425233c89af1Smrg# configure, is in config.log if it exists. 425333c89af1Smrg 425433c89af1Smrgdebug=false 425533c89af1Smrgac_cs_recheck=false 425633c89af1Smrgac_cs_silent=false 425733c89af1SmrgSHELL=\${CONFIG_SHELL-$SHELL} 425833c89af1Smrg_ACEOF 425933c89af1Smrg 426033c89af1Smrgcat >>$CONFIG_STATUS <<\_ACEOF 426133c89af1Smrg## --------------------- ## 426233c89af1Smrg## M4sh Initialization. ## 426333c89af1Smrg## --------------------- ## 426433c89af1Smrg 426533c89af1Smrg# Be Bourne compatible 426633c89af1Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 426733c89af1Smrg emulate sh 426833c89af1Smrg NULLCMD=: 426933c89af1Smrg # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 427033c89af1Smrg # is contrary to our usage. Disable this feature. 427133c89af1Smrg alias -g '${1+"$@"}'='"$@"' 427233c89af1Smrg setopt NO_GLOB_SUBST 427333c89af1Smrgelse 427433c89af1Smrg case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac 427533c89af1Smrgfi 427633c89af1SmrgBIN_SH=xpg4; export BIN_SH # for Tru64 427733c89af1SmrgDUALCASE=1; export DUALCASE # for MKS sh 427833c89af1Smrg 427933c89af1Smrg 428033c89af1Smrg# PATH needs CR 428133c89af1Smrg# Avoid depending upon Character Ranges. 428233c89af1Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 428333c89af1Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 428433c89af1Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 428533c89af1Smrgas_cr_digits='0123456789' 428633c89af1Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 428733c89af1Smrg 428833c89af1Smrg# The user is always right. 428933c89af1Smrgif test "${PATH_SEPARATOR+set}" != set; then 429033c89af1Smrg echo "#! /bin/sh" >conf$$.sh 429133c89af1Smrg echo "exit 0" >>conf$$.sh 429233c89af1Smrg chmod +x conf$$.sh 429333c89af1Smrg if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 429433c89af1Smrg PATH_SEPARATOR=';' 429533c89af1Smrg else 429633c89af1Smrg PATH_SEPARATOR=: 429733c89af1Smrg fi 429833c89af1Smrg rm -f conf$$.sh 429933c89af1Smrgfi 430033c89af1Smrg 430133c89af1Smrg# Support unset when possible. 430233c89af1Smrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 430333c89af1Smrg as_unset=unset 430433c89af1Smrgelse 430533c89af1Smrg as_unset=false 430633c89af1Smrgfi 430733c89af1Smrg 430833c89af1Smrg 430933c89af1Smrg# IFS 431033c89af1Smrg# We need space, tab and new line, in precisely that order. Quoting is 431133c89af1Smrg# there to prevent editors from complaining about space-tab. 431233c89af1Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 431333c89af1Smrg# splitting by setting IFS to empty value.) 431433c89af1Smrgas_nl=' 431533c89af1Smrg' 431633c89af1SmrgIFS=" "" $as_nl" 431733c89af1Smrg 431833c89af1Smrg# Find who we are. Look in the path if we contain no directory separator. 431933c89af1Smrgcase $0 in 432033c89af1Smrg *[\\/]* ) as_myself=$0 ;; 432133c89af1Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 432233c89af1Smrgfor as_dir in $PATH 432333c89af1Smrgdo 432433c89af1Smrg IFS=$as_save_IFS 432533c89af1Smrg test -z "$as_dir" && as_dir=. 432633c89af1Smrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 432733c89af1Smrgdone 432833c89af1SmrgIFS=$as_save_IFS 432933c89af1Smrg 433033c89af1Smrg ;; 433133c89af1Smrgesac 433233c89af1Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 433333c89af1Smrg# in which case we are not to be found in the path. 433433c89af1Smrgif test "x$as_myself" = x; then 433533c89af1Smrg as_myself=$0 433633c89af1Smrgfi 433733c89af1Smrgif test ! -f "$as_myself"; then 433833c89af1Smrg echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 433933c89af1Smrg { (exit 1); exit 1; } 434033c89af1Smrgfi 434133c89af1Smrg 434233c89af1Smrg# Work around bugs in pre-3.0 UWIN ksh. 434333c89af1Smrgfor as_var in ENV MAIL MAILPATH 434433c89af1Smrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 434533c89af1Smrgdone 434633c89af1SmrgPS1='$ ' 434733c89af1SmrgPS2='> ' 434833c89af1SmrgPS4='+ ' 434933c89af1Smrg 435033c89af1Smrg# NLS nuisances. 435133c89af1Smrgfor as_var in \ 435233c89af1Smrg LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 435333c89af1Smrg LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 435433c89af1Smrg LC_TELEPHONE LC_TIME 435533c89af1Smrgdo 435633c89af1Smrg if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 435733c89af1Smrg eval $as_var=C; export $as_var 435833c89af1Smrg else 435933c89af1Smrg ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 436033c89af1Smrg fi 436133c89af1Smrgdone 436233c89af1Smrg 436333c89af1Smrg# Required to use basename. 436433c89af1Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 436533c89af1Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 436633c89af1Smrg as_expr=expr 436733c89af1Smrgelse 436833c89af1Smrg as_expr=false 436933c89af1Smrgfi 437033c89af1Smrg 437133c89af1Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 437233c89af1Smrg as_basename=basename 437333c89af1Smrgelse 437433c89af1Smrg as_basename=false 437533c89af1Smrgfi 437633c89af1Smrg 437733c89af1Smrg 437833c89af1Smrg# Name of the executable. 437933c89af1Smrgas_me=`$as_basename -- "$0" || 438033c89af1Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 438133c89af1Smrg X"$0" : 'X\(//\)$' \| \ 438233c89af1Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 438333c89af1Smrgecho X/"$0" | 438433c89af1Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 438533c89af1Smrg s//\1/ 438633c89af1Smrg q 438733c89af1Smrg } 438833c89af1Smrg /^X\/\(\/\/\)$/{ 438933c89af1Smrg s//\1/ 439033c89af1Smrg q 439133c89af1Smrg } 439233c89af1Smrg /^X\/\(\/\).*/{ 439333c89af1Smrg s//\1/ 439433c89af1Smrg q 439533c89af1Smrg } 439633c89af1Smrg s/.*/./; q'` 439733c89af1Smrg 439833c89af1Smrg# CDPATH. 439933c89af1Smrg$as_unset CDPATH 440033c89af1Smrg 440133c89af1Smrg 440233c89af1Smrg 440333c89af1Smrg as_lineno_1=$LINENO 440433c89af1Smrg as_lineno_2=$LINENO 440533c89af1Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 440633c89af1Smrg test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 440733c89af1Smrg 440833c89af1Smrg # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 440933c89af1Smrg # uniformly replaced by the line number. The first 'sed' inserts a 441033c89af1Smrg # line-number line after each line using $LINENO; the second 'sed' 441133c89af1Smrg # does the real work. The second script uses 'N' to pair each 441233c89af1Smrg # line-number line with the line containing $LINENO, and appends 441333c89af1Smrg # trailing '-' during substitution so that $LINENO is not a special 441433c89af1Smrg # case at line end. 441533c89af1Smrg # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 441633c89af1Smrg # scripts with optimization help from Paolo Bonzini. Blame Lee 441733c89af1Smrg # E. McMahon (1931-1989) for sed's syntax. :-) 441833c89af1Smrg sed -n ' 441933c89af1Smrg p 442033c89af1Smrg /[$]LINENO/= 442133c89af1Smrg ' <$as_myself | 442233c89af1Smrg sed ' 442333c89af1Smrg s/[$]LINENO.*/&-/ 442433c89af1Smrg t lineno 442533c89af1Smrg b 442633c89af1Smrg :lineno 442733c89af1Smrg N 442833c89af1Smrg :loop 442933c89af1Smrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 443033c89af1Smrg t loop 443133c89af1Smrg s/-\n.*// 443233c89af1Smrg ' >$as_me.lineno && 443333c89af1Smrg chmod +x "$as_me.lineno" || 443433c89af1Smrg { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 443533c89af1Smrg { (exit 1); exit 1; }; } 443633c89af1Smrg 443733c89af1Smrg # Don't try to exec as it changes $[0], causing all sort of problems 443833c89af1Smrg # (the dirname of $[0] is not the place where we might find the 443933c89af1Smrg # original and so on. Autoconf is especially sensitive to this). 444033c89af1Smrg . "./$as_me.lineno" 444133c89af1Smrg # Exit status is that of the last command. 444233c89af1Smrg exit 444333c89af1Smrg} 444433c89af1Smrg 444533c89af1Smrg 444633c89af1Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 444733c89af1Smrg as_dirname=dirname 444833c89af1Smrgelse 444933c89af1Smrg as_dirname=false 445033c89af1Smrgfi 445133c89af1Smrg 445233c89af1SmrgECHO_C= ECHO_N= ECHO_T= 445333c89af1Smrgcase `echo -n x` in 445433c89af1Smrg-n*) 445533c89af1Smrg case `echo 'x\c'` in 445633c89af1Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 445733c89af1Smrg *) ECHO_C='\c';; 445833c89af1Smrg esac;; 445933c89af1Smrg*) 446033c89af1Smrg ECHO_N='-n';; 446133c89af1Smrgesac 446233c89af1Smrg 446333c89af1Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 446433c89af1Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 446533c89af1Smrg as_expr=expr 446633c89af1Smrgelse 446733c89af1Smrg as_expr=false 446833c89af1Smrgfi 446933c89af1Smrg 447033c89af1Smrgrm -f conf$$ conf$$.exe conf$$.file 447133c89af1Smrgif test -d conf$$.dir; then 447233c89af1Smrg rm -f conf$$.dir/conf$$.file 447333c89af1Smrgelse 447433c89af1Smrg rm -f conf$$.dir 447533c89af1Smrg mkdir conf$$.dir 447633c89af1Smrgfi 447733c89af1Smrgecho >conf$$.file 447833c89af1Smrgif ln -s conf$$.file conf$$ 2>/dev/null; then 447933c89af1Smrg as_ln_s='ln -s' 448033c89af1Smrg # ... but there are two gotchas: 448133c89af1Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 448233c89af1Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 448333c89af1Smrg # In both cases, we have to default to `cp -p'. 448433c89af1Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 448533c89af1Smrg as_ln_s='cp -p' 448633c89af1Smrgelif ln conf$$.file conf$$ 2>/dev/null; then 448733c89af1Smrg as_ln_s=ln 448833c89af1Smrgelse 448933c89af1Smrg as_ln_s='cp -p' 449033c89af1Smrgfi 449133c89af1Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 449233c89af1Smrgrmdir conf$$.dir 2>/dev/null 449333c89af1Smrg 449433c89af1Smrgif mkdir -p . 2>/dev/null; then 449533c89af1Smrg as_mkdir_p=: 449633c89af1Smrgelse 449733c89af1Smrg test -d ./-p && rmdir ./-p 449833c89af1Smrg as_mkdir_p=false 449933c89af1Smrgfi 450033c89af1Smrg 450133c89af1Smrg# Find out whether ``test -x'' works. Don't use a zero-byte file, as 450233c89af1Smrg# systems may use methods other than mode bits to determine executability. 450333c89af1Smrgcat >conf$$.file <<_ASEOF 450433c89af1Smrg#! /bin/sh 450533c89af1Smrgexit 0 450633c89af1Smrg_ASEOF 450733c89af1Smrgchmod +x conf$$.file 450833c89af1Smrgif test -x conf$$.file >/dev/null 2>&1; then 450933c89af1Smrg as_executable_p="test -x" 451033c89af1Smrgelse 451133c89af1Smrg as_executable_p=: 451233c89af1Smrgfi 451333c89af1Smrgrm -f conf$$.file 451433c89af1Smrg 451533c89af1Smrg# Sed expression to map a string onto a valid CPP name. 451633c89af1Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 451733c89af1Smrg 451833c89af1Smrg# Sed expression to map a string onto a valid variable name. 451933c89af1Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 452033c89af1Smrg 452133c89af1Smrg 452233c89af1Smrgexec 6>&1 452333c89af1Smrg 452433c89af1Smrg# Save the log message, to keep $[0] and so on meaningful, and to 452533c89af1Smrg# report actual input values of CONFIG_FILES etc. instead of their 452633c89af1Smrg# values after options handling. 452733c89af1Smrgac_log=" 452833c89af1SmrgThis file was extended by editres $as_me 1.0.3, which was 452933c89af1Smrggenerated by GNU Autoconf 2.60. Invocation command line was 453033c89af1Smrg 453133c89af1Smrg CONFIG_FILES = $CONFIG_FILES 453233c89af1Smrg CONFIG_HEADERS = $CONFIG_HEADERS 453333c89af1Smrg CONFIG_LINKS = $CONFIG_LINKS 453433c89af1Smrg CONFIG_COMMANDS = $CONFIG_COMMANDS 453533c89af1Smrg $ $0 $@ 453633c89af1Smrg 453733c89af1Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q` 453833c89af1Smrg" 453933c89af1Smrg 454033c89af1Smrg_ACEOF 454133c89af1Smrg 454233c89af1Smrgcat >>$CONFIG_STATUS <<_ACEOF 454333c89af1Smrg# Files that config.status was made for. 454433c89af1Smrgconfig_files="$ac_config_files" 454533c89af1Smrgconfig_headers="$ac_config_headers" 454633c89af1Smrgconfig_commands="$ac_config_commands" 454733c89af1Smrg 454833c89af1Smrg_ACEOF 454933c89af1Smrg 455033c89af1Smrgcat >>$CONFIG_STATUS <<\_ACEOF 455133c89af1Smrgac_cs_usage="\ 455233c89af1Smrg\`$as_me' instantiates files from templates according to the 455333c89af1Smrgcurrent configuration. 455433c89af1Smrg 455533c89af1SmrgUsage: $0 [OPTIONS] [FILE]... 455633c89af1Smrg 455733c89af1Smrg -h, --help print this help, then exit 455833c89af1Smrg -V, --version print version number, then exit 455933c89af1Smrg -q, --quiet do not print progress messages 456033c89af1Smrg -d, --debug don't remove temporary files 456133c89af1Smrg --recheck update $as_me by reconfiguring in the same conditions 456233c89af1Smrg --file=FILE[:TEMPLATE] 456333c89af1Smrg instantiate the configuration file FILE 456433c89af1Smrg --header=FILE[:TEMPLATE] 456533c89af1Smrg instantiate the configuration header FILE 456633c89af1Smrg 456733c89af1SmrgConfiguration files: 456833c89af1Smrg$config_files 456933c89af1Smrg 457033c89af1SmrgConfiguration headers: 457133c89af1Smrg$config_headers 457233c89af1Smrg 457333c89af1SmrgConfiguration commands: 457433c89af1Smrg$config_commands 457533c89af1Smrg 457633c89af1SmrgReport bugs to <bug-autoconf@gnu.org>." 457733c89af1Smrg 457833c89af1Smrg_ACEOF 457933c89af1Smrgcat >>$CONFIG_STATUS <<_ACEOF 458033c89af1Smrgac_cs_version="\\ 458133c89af1Smrgeditres config.status 1.0.3 458233c89af1Smrgconfigured by $0, generated by GNU Autoconf 2.60, 458333c89af1Smrg with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 458433c89af1Smrg 458533c89af1SmrgCopyright (C) 2006 Free Software Foundation, Inc. 458633c89af1SmrgThis config.status script is free software; the Free Software Foundation 458733c89af1Smrggives unlimited permission to copy, distribute and modify it." 458833c89af1Smrg 458933c89af1Smrgac_pwd='$ac_pwd' 459033c89af1Smrgsrcdir='$srcdir' 459133c89af1SmrgINSTALL='$INSTALL' 459233c89af1Smrg_ACEOF 459333c89af1Smrg 459433c89af1Smrgcat >>$CONFIG_STATUS <<\_ACEOF 459533c89af1Smrg# If no file are specified by the user, then we need to provide default 459633c89af1Smrg# value. By we need to know if files were specified by the user. 459733c89af1Smrgac_need_defaults=: 459833c89af1Smrgwhile test $# != 0 459933c89af1Smrgdo 460033c89af1Smrg case $1 in 460133c89af1Smrg --*=*) 460233c89af1Smrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 460333c89af1Smrg ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 460433c89af1Smrg ac_shift=: 460533c89af1Smrg ;; 460633c89af1Smrg *) 460733c89af1Smrg ac_option=$1 460833c89af1Smrg ac_optarg=$2 460933c89af1Smrg ac_shift=shift 461033c89af1Smrg ;; 461133c89af1Smrg esac 461233c89af1Smrg 461333c89af1Smrg case $ac_option in 461433c89af1Smrg # Handling of the options. 461533c89af1Smrg -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 461633c89af1Smrg ac_cs_recheck=: ;; 461733c89af1Smrg --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 461833c89af1Smrg echo "$ac_cs_version"; exit ;; 461933c89af1Smrg --debug | --debu | --deb | --de | --d | -d ) 462033c89af1Smrg debug=: ;; 462133c89af1Smrg --file | --fil | --fi | --f ) 462233c89af1Smrg $ac_shift 462333c89af1Smrg CONFIG_FILES="$CONFIG_FILES $ac_optarg" 462433c89af1Smrg ac_need_defaults=false;; 462533c89af1Smrg --header | --heade | --head | --hea ) 462633c89af1Smrg $ac_shift 462733c89af1Smrg CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 462833c89af1Smrg ac_need_defaults=false;; 462933c89af1Smrg --he | --h) 463033c89af1Smrg # Conflict between --help and --header 463133c89af1Smrg { echo "$as_me: error: ambiguous option: $1 463233c89af1SmrgTry \`$0 --help' for more information." >&2 463333c89af1Smrg { (exit 1); exit 1; }; };; 463433c89af1Smrg --help | --hel | -h ) 463533c89af1Smrg echo "$ac_cs_usage"; exit ;; 463633c89af1Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 463733c89af1Smrg | -silent | --silent | --silen | --sile | --sil | --si | --s) 463833c89af1Smrg ac_cs_silent=: ;; 463933c89af1Smrg 464033c89af1Smrg # This is an error. 464133c89af1Smrg -*) { echo "$as_me: error: unrecognized option: $1 464233c89af1SmrgTry \`$0 --help' for more information." >&2 464333c89af1Smrg { (exit 1); exit 1; }; } ;; 464433c89af1Smrg 464533c89af1Smrg *) ac_config_targets="$ac_config_targets $1" 464633c89af1Smrg ac_need_defaults=false ;; 464733c89af1Smrg 464833c89af1Smrg esac 464933c89af1Smrg shift 465033c89af1Smrgdone 465133c89af1Smrg 465233c89af1Smrgac_configure_extra_args= 465333c89af1Smrg 465433c89af1Smrgif $ac_cs_silent; then 465533c89af1Smrg exec 6>/dev/null 465633c89af1Smrg ac_configure_extra_args="$ac_configure_extra_args --silent" 465733c89af1Smrgfi 465833c89af1Smrg 465933c89af1Smrg_ACEOF 466033c89af1Smrgcat >>$CONFIG_STATUS <<_ACEOF 466133c89af1Smrgif \$ac_cs_recheck; then 466233c89af1Smrg echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 466333c89af1Smrg CONFIG_SHELL=$SHELL 466433c89af1Smrg export CONFIG_SHELL 466533c89af1Smrg exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 466633c89af1Smrgfi 466733c89af1Smrg 466833c89af1Smrg_ACEOF 466933c89af1Smrgcat >>$CONFIG_STATUS <<\_ACEOF 467033c89af1Smrgexec 5>>config.log 467133c89af1Smrg{ 467233c89af1Smrg echo 467333c89af1Smrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 467433c89af1Smrg## Running $as_me. ## 467533c89af1Smrg_ASBOX 467633c89af1Smrg echo "$ac_log" 467733c89af1Smrg} >&5 467833c89af1Smrg 467933c89af1Smrg_ACEOF 468033c89af1Smrgcat >>$CONFIG_STATUS <<_ACEOF 468133c89af1Smrg# 468233c89af1Smrg# INIT-COMMANDS 468333c89af1Smrg# 468433c89af1SmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 468533c89af1Smrg 468633c89af1Smrg_ACEOF 468733c89af1Smrg 468833c89af1Smrgcat >>$CONFIG_STATUS <<\_ACEOF 468933c89af1Smrg 469033c89af1Smrg# Handling of arguments. 469133c89af1Smrgfor ac_config_target in $ac_config_targets 469233c89af1Smrgdo 469333c89af1Smrg case $ac_config_target in 469433c89af1Smrg "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 469533c89af1Smrg "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 469633c89af1Smrg "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 469733c89af1Smrg 469833c89af1Smrg *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 469933c89af1Smrgecho "$as_me: error: invalid argument: $ac_config_target" >&2;} 470033c89af1Smrg { (exit 1); exit 1; }; };; 470133c89af1Smrg esac 470233c89af1Smrgdone 470333c89af1Smrg 470433c89af1Smrg 470533c89af1Smrg# If the user did not use the arguments to specify the items to instantiate, 470633c89af1Smrg# then the envvar interface is used. Set only those that are not. 470733c89af1Smrg# We use the long form for the default assignment because of an extremely 470833c89af1Smrg# bizarre bug on SunOS 4.1.3. 470933c89af1Smrgif $ac_need_defaults; then 471033c89af1Smrg test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 471133c89af1Smrg test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 471233c89af1Smrg test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 471333c89af1Smrgfi 471433c89af1Smrg 471533c89af1Smrg# Have a temporary directory for convenience. Make it in the build tree 471633c89af1Smrg# simply because there is no reason against having it here, and in addition, 471733c89af1Smrg# creating and moving files from /tmp can sometimes cause problems. 471833c89af1Smrg# Hook for its removal unless debugging. 471933c89af1Smrg# Note that there is a small window in which the directory will not be cleaned: 472033c89af1Smrg# after its creation but before its name has been assigned to `$tmp'. 472133c89af1Smrg$debug || 472233c89af1Smrg{ 472333c89af1Smrg tmp= 472433c89af1Smrg trap 'exit_status=$? 472533c89af1Smrg { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 472633c89af1Smrg' 0 472733c89af1Smrg trap '{ (exit 1); exit 1; }' 1 2 13 15 472833c89af1Smrg} 472933c89af1Smrg# Create a (secure) tmp directory for tmp files. 473033c89af1Smrg 473133c89af1Smrg{ 473233c89af1Smrg tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 473333c89af1Smrg test -n "$tmp" && test -d "$tmp" 473433c89af1Smrg} || 473533c89af1Smrg{ 473633c89af1Smrg tmp=./conf$$-$RANDOM 473733c89af1Smrg (umask 077 && mkdir "$tmp") 473833c89af1Smrg} || 473933c89af1Smrg{ 474033c89af1Smrg echo "$me: cannot create a temporary directory in ." >&2 474133c89af1Smrg { (exit 1); exit 1; } 474233c89af1Smrg} 474333c89af1Smrg 474433c89af1Smrg# 474533c89af1Smrg# Set up the sed scripts for CONFIG_FILES section. 474633c89af1Smrg# 474733c89af1Smrg 474833c89af1Smrg# No need to generate the scripts if there are no CONFIG_FILES. 474933c89af1Smrg# This happens for instance when ./config.status config.h 475033c89af1Smrgif test -n "$CONFIG_FILES"; then 475133c89af1Smrg 475233c89af1Smrg_ACEOF 475333c89af1Smrg 475433c89af1Smrg 475533c89af1Smrg 475633c89af1Smrgac_delim='%!_!# ' 475733c89af1Smrgfor ac_last_try in false false false false false :; do 475833c89af1Smrg cat >conf$$subs.sed <<_ACEOF 475933c89af1SmrgSHELL!$SHELL$ac_delim 476033c89af1SmrgPATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 476133c89af1SmrgPACKAGE_NAME!$PACKAGE_NAME$ac_delim 476233c89af1SmrgPACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 476333c89af1SmrgPACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 476433c89af1SmrgPACKAGE_STRING!$PACKAGE_STRING$ac_delim 476533c89af1SmrgPACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 476633c89af1Smrgexec_prefix!$exec_prefix$ac_delim 476733c89af1Smrgprefix!$prefix$ac_delim 476833c89af1Smrgprogram_transform_name!$program_transform_name$ac_delim 476933c89af1Smrgbindir!$bindir$ac_delim 477033c89af1Smrgsbindir!$sbindir$ac_delim 477133c89af1Smrglibexecdir!$libexecdir$ac_delim 477233c89af1Smrgdatarootdir!$datarootdir$ac_delim 477333c89af1Smrgdatadir!$datadir$ac_delim 477433c89af1Smrgsysconfdir!$sysconfdir$ac_delim 477533c89af1Smrgsharedstatedir!$sharedstatedir$ac_delim 477633c89af1Smrglocalstatedir!$localstatedir$ac_delim 477733c89af1Smrgincludedir!$includedir$ac_delim 477833c89af1Smrgoldincludedir!$oldincludedir$ac_delim 477933c89af1Smrgdocdir!$docdir$ac_delim 478033c89af1Smrginfodir!$infodir$ac_delim 478133c89af1Smrghtmldir!$htmldir$ac_delim 478233c89af1Smrgdvidir!$dvidir$ac_delim 478333c89af1Smrgpdfdir!$pdfdir$ac_delim 478433c89af1Smrgpsdir!$psdir$ac_delim 478533c89af1Smrglibdir!$libdir$ac_delim 478633c89af1Smrglocaledir!$localedir$ac_delim 478733c89af1Smrgmandir!$mandir$ac_delim 478833c89af1SmrgDEFS!$DEFS$ac_delim 478933c89af1SmrgECHO_C!$ECHO_C$ac_delim 479033c89af1SmrgECHO_N!$ECHO_N$ac_delim 479133c89af1SmrgECHO_T!$ECHO_T$ac_delim 479233c89af1SmrgLIBS!$LIBS$ac_delim 479333c89af1Smrgbuild_alias!$build_alias$ac_delim 479433c89af1Smrghost_alias!$host_alias$ac_delim 479533c89af1Smrgtarget_alias!$target_alias$ac_delim 479633c89af1SmrgINSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim 479733c89af1SmrgINSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 479833c89af1SmrgINSTALL_DATA!$INSTALL_DATA$ac_delim 479933c89af1SmrgCYGPATH_W!$CYGPATH_W$ac_delim 480033c89af1SmrgPACKAGE!$PACKAGE$ac_delim 480133c89af1SmrgVERSION!$VERSION$ac_delim 480233c89af1SmrgACLOCAL!$ACLOCAL$ac_delim 480333c89af1SmrgAUTOCONF!$AUTOCONF$ac_delim 480433c89af1SmrgAUTOMAKE!$AUTOMAKE$ac_delim 480533c89af1SmrgAUTOHEADER!$AUTOHEADER$ac_delim 480633c89af1SmrgMAKEINFO!$MAKEINFO$ac_delim 480733c89af1Smrginstall_sh!$install_sh$ac_delim 480833c89af1SmrgSTRIP!$STRIP$ac_delim 480933c89af1SmrgINSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim 481033c89af1Smrgmkdir_p!$mkdir_p$ac_delim 481133c89af1SmrgAWK!$AWK$ac_delim 481233c89af1SmrgSET_MAKE!$SET_MAKE$ac_delim 481333c89af1Smrgam__leading_dot!$am__leading_dot$ac_delim 481433c89af1SmrgAMTAR!$AMTAR$ac_delim 481533c89af1Smrgam__tar!$am__tar$ac_delim 481633c89af1Smrgam__untar!$am__untar$ac_delim 481733c89af1SmrgMAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim 481833c89af1SmrgMAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim 481933c89af1SmrgMAINT!$MAINT$ac_delim 482033c89af1SmrgCC!$CC$ac_delim 482133c89af1SmrgCFLAGS!$CFLAGS$ac_delim 482233c89af1SmrgLDFLAGS!$LDFLAGS$ac_delim 482333c89af1SmrgCPPFLAGS!$CPPFLAGS$ac_delim 482433c89af1Smrgac_ct_CC!$ac_ct_CC$ac_delim 482533c89af1SmrgEXEEXT!$EXEEXT$ac_delim 482633c89af1SmrgOBJEXT!$OBJEXT$ac_delim 482733c89af1SmrgDEPDIR!$DEPDIR$ac_delim 482833c89af1Smrgam__include!$am__include$ac_delim 482933c89af1Smrgam__quote!$am__quote$ac_delim 483033c89af1SmrgAMDEP_TRUE!$AMDEP_TRUE$ac_delim 483133c89af1SmrgAMDEP_FALSE!$AMDEP_FALSE$ac_delim 483233c89af1SmrgAMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim 483333c89af1SmrgCCDEPMODE!$CCDEPMODE$ac_delim 483433c89af1Smrgam__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim 483533c89af1Smrgam__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim 483633c89af1SmrgPKG_CONFIG!$PKG_CONFIG$ac_delim 483733c89af1SmrgTMP_XAW_CFLAGS!$TMP_XAW_CFLAGS$ac_delim 483833c89af1SmrgTMP_XAW_LIBS!$TMP_XAW_LIBS$ac_delim 483933c89af1SmrgXAW_USE_XPRINT_TRUE!$XAW_USE_XPRINT_TRUE$ac_delim 484033c89af1SmrgXAW_USE_XPRINT_FALSE!$XAW_USE_XPRINT_FALSE$ac_delim 484133c89af1SmrgEDITRES_CFLAGS!$EDITRES_CFLAGS$ac_delim 484233c89af1SmrgEDITRES_LIBS!$EDITRES_LIBS$ac_delim 484333c89af1SmrgAPPDEFS_CFLAGS!$APPDEFS_CFLAGS$ac_delim 484433c89af1SmrgAPPDEFS_LIBS!$APPDEFS_LIBS$ac_delim 484533c89af1Smrgappdefaultdir!$appdefaultdir$ac_delim 484633c89af1Smrgbuild!$build$ac_delim 484733c89af1Smrgbuild_cpu!$build_cpu$ac_delim 484833c89af1Smrgbuild_vendor!$build_vendor$ac_delim 484933c89af1Smrgbuild_os!$build_os$ac_delim 485033c89af1Smrghost!$host$ac_delim 485133c89af1Smrghost_cpu!$host_cpu$ac_delim 485233c89af1Smrghost_vendor!$host_vendor$ac_delim 485333c89af1Smrghost_os!$host_os$ac_delim 485433c89af1SmrgAPP_MAN_SUFFIX!$APP_MAN_SUFFIX$ac_delim 485533c89af1SmrgLIB_MAN_SUFFIX!$LIB_MAN_SUFFIX$ac_delim 485633c89af1Smrg_ACEOF 485733c89af1Smrg 485833c89af1Smrg if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 485933c89af1Smrg break 486033c89af1Smrg elif $ac_last_try; then 486133c89af1Smrg { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 486233c89af1Smrgecho "$as_me: error: could not make $CONFIG_STATUS" >&2;} 486333c89af1Smrg { (exit 1); exit 1; }; } 486433c89af1Smrg else 486533c89af1Smrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 486633c89af1Smrg fi 486733c89af1Smrgdone 486833c89af1Smrg 486933c89af1Smrgac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 487033c89af1Smrgif test -n "$ac_eof"; then 487133c89af1Smrg ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 487233c89af1Smrg ac_eof=`expr $ac_eof + 1` 487333c89af1Smrgfi 487433c89af1Smrg 487533c89af1Smrgcat >>$CONFIG_STATUS <<_ACEOF 487633c89af1Smrgcat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 487733c89af1Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 487833c89af1Smrg_ACEOF 487933c89af1Smrgsed ' 488033c89af1Smrgs/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 488133c89af1Smrgs/^/s,@/; s/!/@,|#_!!_#|/ 488233c89af1Smrg:n 488333c89af1Smrgt n 488433c89af1Smrgs/'"$ac_delim"'$/,g/; t 488533c89af1Smrgs/$/\\/; p 488633c89af1SmrgN; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 488733c89af1Smrg' >>$CONFIG_STATUS <conf$$subs.sed 488833c89af1Smrgrm -f conf$$subs.sed 488933c89af1Smrgcat >>$CONFIG_STATUS <<_ACEOF 489033c89af1SmrgCEOF$ac_eof 489133c89af1Smrg_ACEOF 489233c89af1Smrg 489333c89af1Smrg 489433c89af1Smrgac_delim='%!_!# ' 489533c89af1Smrgfor ac_last_try in false false false false false :; do 489633c89af1Smrg cat >conf$$subs.sed <<_ACEOF 489733c89af1SmrgFILE_MAN_SUFFIX!$FILE_MAN_SUFFIX$ac_delim 489833c89af1SmrgMISC_MAN_SUFFIX!$MISC_MAN_SUFFIX$ac_delim 489933c89af1SmrgDRIVER_MAN_SUFFIX!$DRIVER_MAN_SUFFIX$ac_delim 490033c89af1SmrgADMIN_MAN_SUFFIX!$ADMIN_MAN_SUFFIX$ac_delim 490133c89af1SmrgAPP_MAN_DIR!$APP_MAN_DIR$ac_delim 490233c89af1SmrgLIB_MAN_DIR!$LIB_MAN_DIR$ac_delim 490333c89af1SmrgFILE_MAN_DIR!$FILE_MAN_DIR$ac_delim 490433c89af1SmrgMISC_MAN_DIR!$MISC_MAN_DIR$ac_delim 490533c89af1SmrgDRIVER_MAN_DIR!$DRIVER_MAN_DIR$ac_delim 490633c89af1SmrgADMIN_MAN_DIR!$ADMIN_MAN_DIR$ac_delim 490733c89af1SmrgLIBOBJS!$LIBOBJS$ac_delim 490833c89af1SmrgLTLIBOBJS!$LTLIBOBJS$ac_delim 490933c89af1Smrg_ACEOF 491033c89af1Smrg 491133c89af1Smrg if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 12; then 491233c89af1Smrg break 491333c89af1Smrg elif $ac_last_try; then 491433c89af1Smrg { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 491533c89af1Smrgecho "$as_me: error: could not make $CONFIG_STATUS" >&2;} 491633c89af1Smrg { (exit 1); exit 1; }; } 491733c89af1Smrg else 491833c89af1Smrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 491933c89af1Smrg fi 492033c89af1Smrgdone 492133c89af1Smrg 492233c89af1Smrgac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 492333c89af1Smrgif test -n "$ac_eof"; then 492433c89af1Smrg ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 492533c89af1Smrg ac_eof=`expr $ac_eof + 1` 492633c89af1Smrgfi 492733c89af1Smrg 492833c89af1Smrgcat >>$CONFIG_STATUS <<_ACEOF 492933c89af1Smrgcat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof 493033c89af1Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 493133c89af1Smrg_ACEOF 493233c89af1Smrgsed ' 493333c89af1Smrgs/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 493433c89af1Smrgs/^/s,@/; s/!/@,|#_!!_#|/ 493533c89af1Smrg:n 493633c89af1Smrgt n 493733c89af1Smrgs/'"$ac_delim"'$/,g/; t 493833c89af1Smrgs/$/\\/; p 493933c89af1SmrgN; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 494033c89af1Smrg' >>$CONFIG_STATUS <conf$$subs.sed 494133c89af1Smrgrm -f conf$$subs.sed 494233c89af1Smrgcat >>$CONFIG_STATUS <<_ACEOF 494333c89af1Smrg:end 494433c89af1Smrgs/|#_!!_#|//g 494533c89af1SmrgCEOF$ac_eof 494633c89af1Smrg_ACEOF 494733c89af1Smrg 494833c89af1Smrg 494933c89af1Smrg# VPATH may cause trouble with some makes, so we remove $(srcdir), 495033c89af1Smrg# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 495133c89af1Smrg# trailing colons and then remove the whole line if VPATH becomes empty 495233c89af1Smrg# (actually we leave an empty line to preserve line numbers). 495333c89af1Smrgif test "x$srcdir" = x.; then 495433c89af1Smrg ac_vpsub='/^[ ]*VPATH[ ]*=/{ 495533c89af1Smrgs/:*\$(srcdir):*/:/ 495633c89af1Smrgs/:*\${srcdir}:*/:/ 495733c89af1Smrgs/:*@srcdir@:*/:/ 495833c89af1Smrgs/^\([^=]*=[ ]*\):*/\1/ 495933c89af1Smrgs/:*$// 496033c89af1Smrgs/^[^=]*=[ ]*$// 496133c89af1Smrg}' 496233c89af1Smrgfi 496333c89af1Smrg 496433c89af1Smrgcat >>$CONFIG_STATUS <<\_ACEOF 496533c89af1Smrgfi # test -n "$CONFIG_FILES" 496633c89af1Smrg 496733c89af1Smrg 496833c89af1Smrgfor ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS 496933c89af1Smrgdo 497033c89af1Smrg case $ac_tag in 497133c89af1Smrg :[FHLC]) ac_mode=$ac_tag; continue;; 497233c89af1Smrg esac 497333c89af1Smrg case $ac_mode$ac_tag in 497433c89af1Smrg :[FHL]*:*);; 497533c89af1Smrg :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 497633c89af1Smrgecho "$as_me: error: Invalid tag $ac_tag." >&2;} 497733c89af1Smrg { (exit 1); exit 1; }; };; 497833c89af1Smrg :[FH]-) ac_tag=-:-;; 497933c89af1Smrg :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 498033c89af1Smrg esac 498133c89af1Smrg ac_save_IFS=$IFS 498233c89af1Smrg IFS=: 498333c89af1Smrg set x $ac_tag 498433c89af1Smrg IFS=$ac_save_IFS 498533c89af1Smrg shift 498633c89af1Smrg ac_file=$1 498733c89af1Smrg shift 498833c89af1Smrg 498933c89af1Smrg case $ac_mode in 499033c89af1Smrg :L) ac_source=$1;; 499133c89af1Smrg :[FH]) 499233c89af1Smrg ac_file_inputs= 499333c89af1Smrg for ac_f 499433c89af1Smrg do 499533c89af1Smrg case $ac_f in 499633c89af1Smrg -) ac_f="$tmp/stdin";; 499733c89af1Smrg *) # Look for the file first in the build tree, then in the source tree 499833c89af1Smrg # (if the path is not absolute). The absolute path cannot be DOS-style, 499933c89af1Smrg # because $ac_f cannot contain `:'. 500033c89af1Smrg test -f "$ac_f" || 500133c89af1Smrg case $ac_f in 500233c89af1Smrg [\\/$]*) false;; 500333c89af1Smrg *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 500433c89af1Smrg esac || 500533c89af1Smrg { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 500633c89af1Smrgecho "$as_me: error: cannot find input file: $ac_f" >&2;} 500733c89af1Smrg { (exit 1); exit 1; }; };; 500833c89af1Smrg esac 500933c89af1Smrg ac_file_inputs="$ac_file_inputs $ac_f" 501033c89af1Smrg done 501133c89af1Smrg 501233c89af1Smrg # Let's still pretend it is `configure' which instantiates (i.e., don't 501333c89af1Smrg # use $as_me), people would be surprised to read: 501433c89af1Smrg # /* config.h. Generated by config.status. */ 501533c89af1Smrg configure_input="Generated from "`IFS=: 501633c89af1Smrg echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 501733c89af1Smrg if test x"$ac_file" != x-; then 501833c89af1Smrg configure_input="$ac_file. $configure_input" 501933c89af1Smrg { echo "$as_me:$LINENO: creating $ac_file" >&5 502033c89af1Smrgecho "$as_me: creating $ac_file" >&6;} 502133c89af1Smrg fi 502233c89af1Smrg 502333c89af1Smrg case $ac_tag in 502433c89af1Smrg *:-:* | *:-) cat >"$tmp/stdin";; 502533c89af1Smrg esac 502633c89af1Smrg ;; 502733c89af1Smrg esac 502833c89af1Smrg 502933c89af1Smrg ac_dir=`$as_dirname -- "$ac_file" || 503033c89af1Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 503133c89af1Smrg X"$ac_file" : 'X\(//\)[^/]' \| \ 503233c89af1Smrg X"$ac_file" : 'X\(//\)$' \| \ 503333c89af1Smrg X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 503433c89af1Smrgecho X"$ac_file" | 503533c89af1Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 503633c89af1Smrg s//\1/ 503733c89af1Smrg q 503833c89af1Smrg } 503933c89af1Smrg /^X\(\/\/\)[^/].*/{ 504033c89af1Smrg s//\1/ 504133c89af1Smrg q 504233c89af1Smrg } 504333c89af1Smrg /^X\(\/\/\)$/{ 504433c89af1Smrg s//\1/ 504533c89af1Smrg q 504633c89af1Smrg } 504733c89af1Smrg /^X\(\/\).*/{ 504833c89af1Smrg s//\1/ 504933c89af1Smrg q 505033c89af1Smrg } 505133c89af1Smrg s/.*/./; q'` 505233c89af1Smrg { as_dir="$ac_dir" 505333c89af1Smrg case $as_dir in #( 505433c89af1Smrg -*) as_dir=./$as_dir;; 505533c89af1Smrg esac 505633c89af1Smrg test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 505733c89af1Smrg as_dirs= 505833c89af1Smrg while :; do 505933c89af1Smrg case $as_dir in #( 506033c89af1Smrg *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 506133c89af1Smrg *) as_qdir=$as_dir;; 506233c89af1Smrg esac 506333c89af1Smrg as_dirs="'$as_qdir' $as_dirs" 506433c89af1Smrg as_dir=`$as_dirname -- "$as_dir" || 506533c89af1Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 506633c89af1Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 506733c89af1Smrg X"$as_dir" : 'X\(//\)$' \| \ 506833c89af1Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 506933c89af1Smrgecho X"$as_dir" | 507033c89af1Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 507133c89af1Smrg s//\1/ 507233c89af1Smrg q 507333c89af1Smrg } 507433c89af1Smrg /^X\(\/\/\)[^/].*/{ 507533c89af1Smrg s//\1/ 507633c89af1Smrg q 507733c89af1Smrg } 507833c89af1Smrg /^X\(\/\/\)$/{ 507933c89af1Smrg s//\1/ 508033c89af1Smrg q 508133c89af1Smrg } 508233c89af1Smrg /^X\(\/\).*/{ 508333c89af1Smrg s//\1/ 508433c89af1Smrg q 508533c89af1Smrg } 508633c89af1Smrg s/.*/./; q'` 508733c89af1Smrg test -d "$as_dir" && break 508833c89af1Smrg done 508933c89af1Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 509033c89af1Smrg } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 509133c89af1Smrgecho "$as_me: error: cannot create directory $as_dir" >&2;} 509233c89af1Smrg { (exit 1); exit 1; }; }; } 509333c89af1Smrg ac_builddir=. 509433c89af1Smrg 509533c89af1Smrgcase "$ac_dir" in 509633c89af1Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 509733c89af1Smrg*) 509833c89af1Smrg ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 509933c89af1Smrg # A ".." for each directory in $ac_dir_suffix. 510033c89af1Smrg ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 510133c89af1Smrg case $ac_top_builddir_sub in 510233c89af1Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 510333c89af1Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 510433c89af1Smrg esac ;; 510533c89af1Smrgesac 510633c89af1Smrgac_abs_top_builddir=$ac_pwd 510733c89af1Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 510833c89af1Smrg# for backward compatibility: 510933c89af1Smrgac_top_builddir=$ac_top_build_prefix 511033c89af1Smrg 511133c89af1Smrgcase $srcdir in 511233c89af1Smrg .) # We are building in place. 511333c89af1Smrg ac_srcdir=. 511433c89af1Smrg ac_top_srcdir=$ac_top_builddir_sub 511533c89af1Smrg ac_abs_top_srcdir=$ac_pwd ;; 511633c89af1Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 511733c89af1Smrg ac_srcdir=$srcdir$ac_dir_suffix; 511833c89af1Smrg ac_top_srcdir=$srcdir 511933c89af1Smrg ac_abs_top_srcdir=$srcdir ;; 512033c89af1Smrg *) # Relative name. 512133c89af1Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 512233c89af1Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 512333c89af1Smrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 512433c89af1Smrgesac 512533c89af1Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 512633c89af1Smrg 512733c89af1Smrg 512833c89af1Smrg case $ac_mode in 512933c89af1Smrg :F) 513033c89af1Smrg # 513133c89af1Smrg # CONFIG_FILE 513233c89af1Smrg # 513333c89af1Smrg 513433c89af1Smrg case $INSTALL in 513533c89af1Smrg [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 513633c89af1Smrg *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 513733c89af1Smrg esac 513833c89af1Smrg_ACEOF 513933c89af1Smrg 514033c89af1Smrgcat >>$CONFIG_STATUS <<\_ACEOF 514133c89af1Smrg# If the template does not know about datarootdir, expand it. 514233c89af1Smrg# FIXME: This hack should be removed a few years after 2.60. 514333c89af1Smrgac_datarootdir_hack=; ac_datarootdir_seen= 514433c89af1Smrg 514533c89af1Smrgcase `sed -n '/datarootdir/ { 514633c89af1Smrg p 514733c89af1Smrg q 514833c89af1Smrg} 514933c89af1Smrg/@datadir@/p 515033c89af1Smrg/@docdir@/p 515133c89af1Smrg/@infodir@/p 515233c89af1Smrg/@localedir@/p 515333c89af1Smrg/@mandir@/p 515433c89af1Smrg' $ac_file_inputs` in 515533c89af1Smrg*datarootdir*) ac_datarootdir_seen=yes;; 515633c89af1Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 515733c89af1Smrg { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 515833c89af1Smrgecho "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 515933c89af1Smrg_ACEOF 516033c89af1Smrgcat >>$CONFIG_STATUS <<_ACEOF 516133c89af1Smrg ac_datarootdir_hack=' 516233c89af1Smrg s&@datadir@&$datadir&g 516333c89af1Smrg s&@docdir@&$docdir&g 516433c89af1Smrg s&@infodir@&$infodir&g 516533c89af1Smrg s&@localedir@&$localedir&g 516633c89af1Smrg s&@mandir@&$mandir&g 516733c89af1Smrg s&\\\${datarootdir}&$datarootdir&g' ;; 516833c89af1Smrgesac 516933c89af1Smrg_ACEOF 517033c89af1Smrg 517133c89af1Smrg# Neutralize VPATH when `$srcdir' = `.'. 517233c89af1Smrg# Shell code in configure.ac might set extrasub. 517333c89af1Smrg# FIXME: do we really want to maintain this feature? 517433c89af1Smrgcat >>$CONFIG_STATUS <<_ACEOF 517533c89af1Smrg sed "$ac_vpsub 517633c89af1Smrg$extrasub 517733c89af1Smrg_ACEOF 517833c89af1Smrgcat >>$CONFIG_STATUS <<\_ACEOF 517933c89af1Smrg:t 518033c89af1Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 518133c89af1Smrgs&@configure_input@&$configure_input&;t t 518233c89af1Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t 518333c89af1Smrgs&@srcdir@&$ac_srcdir&;t t 518433c89af1Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t 518533c89af1Smrgs&@top_srcdir@&$ac_top_srcdir&;t t 518633c89af1Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 518733c89af1Smrgs&@builddir@&$ac_builddir&;t t 518833c89af1Smrgs&@abs_builddir@&$ac_abs_builddir&;t t 518933c89af1Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t 519033c89af1Smrgs&@INSTALL@&$ac_INSTALL&;t t 519133c89af1Smrg$ac_datarootdir_hack 519233c89af1Smrg" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out 519333c89af1Smrg 519433c89af1Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 519533c89af1Smrg { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 519633c89af1Smrg { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 519733c89af1Smrg { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 519833c89af1Smrgwhich seems to be undefined. Please make sure it is defined." >&5 519933c89af1Smrgecho "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 520033c89af1Smrgwhich seems to be undefined. Please make sure it is defined." >&2;} 520133c89af1Smrg 520233c89af1Smrg rm -f "$tmp/stdin" 520333c89af1Smrg case $ac_file in 520433c89af1Smrg -) cat "$tmp/out"; rm -f "$tmp/out";; 520533c89af1Smrg *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 520633c89af1Smrg esac 520733c89af1Smrg ;; 520833c89af1Smrg :H) 520933c89af1Smrg # 521033c89af1Smrg # CONFIG_HEADER 521133c89af1Smrg # 521233c89af1Smrg_ACEOF 521333c89af1Smrg 521433c89af1Smrg# Transform confdefs.h into a sed script `conftest.defines', that 521533c89af1Smrg# substitutes the proper values into config.h.in to produce config.h. 521633c89af1Smrgrm -f conftest.defines conftest.tail 521733c89af1Smrg# First, append a space to every undef/define line, to ease matching. 521833c89af1Smrgecho 's/$/ /' >conftest.defines 521933c89af1Smrg# Then, protect against being on the right side of a sed subst, or in 522033c89af1Smrg# an unquoted here document, in config.status. If some macros were 522133c89af1Smrg# called several times there might be several #defines for the same 522233c89af1Smrg# symbol, which is useless. But do not sort them, since the last 522333c89af1Smrg# AC_DEFINE must be honored. 522433c89af1Smrgac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 522533c89af1Smrg# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where 522633c89af1Smrg# NAME is the cpp macro being defined, VALUE is the value it is being given. 522733c89af1Smrg# PARAMS is the parameter list in the macro definition--in most cases, it's 522833c89af1Smrg# just an empty string. 522933c89af1Smrgac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' 523033c89af1Smrgac_dB='\\)[ (].*,\\1define\\2' 523133c89af1Smrgac_dC=' ' 523233c89af1Smrgac_dD=' ,' 523333c89af1Smrg 523433c89af1Smrguniq confdefs.h | 523533c89af1Smrg sed -n ' 523633c89af1Smrg t rset 523733c89af1Smrg :rset 523833c89af1Smrg s/^[ ]*#[ ]*define[ ][ ]*// 523933c89af1Smrg t ok 524033c89af1Smrg d 524133c89af1Smrg :ok 524233c89af1Smrg s/[\\&,]/\\&/g 524333c89af1Smrg s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p 524433c89af1Smrg s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p 524533c89af1Smrg ' >>conftest.defines 524633c89af1Smrg 524733c89af1Smrg# Remove the space that was appended to ease matching. 524833c89af1Smrg# Then replace #undef with comments. This is necessary, for 524933c89af1Smrg# example, in the case of _POSIX_SOURCE, which is predefined and required 525033c89af1Smrg# on some systems where configure will not decide to define it. 525133c89af1Smrg# (The regexp can be short, since the line contains either #define or #undef.) 525233c89af1Smrgecho 's/ $// 525333c89af1Smrgs,^[ #]*u.*,/* & */,' >>conftest.defines 525433c89af1Smrg 525533c89af1Smrg# Break up conftest.defines: 525633c89af1Smrgac_max_sed_lines=50 525733c89af1Smrg 525833c89af1Smrg# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" 525933c89af1Smrg# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" 526033c89af1Smrg# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" 526133c89af1Smrg# et cetera. 526233c89af1Smrgac_in='$ac_file_inputs' 526333c89af1Smrgac_out='"$tmp/out1"' 526433c89af1Smrgac_nxt='"$tmp/out2"' 526533c89af1Smrg 526633c89af1Smrgwhile : 526733c89af1Smrgdo 526833c89af1Smrg # Write a here document: 526933c89af1Smrg cat >>$CONFIG_STATUS <<_ACEOF 527033c89af1Smrg # First, check the format of the line: 527133c89af1Smrg cat >"\$tmp/defines.sed" <<\\CEOF 527233c89af1Smrg/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def 527333c89af1Smrg/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def 527433c89af1Smrgb 527533c89af1Smrg:def 527633c89af1Smrg_ACEOF 527733c89af1Smrg sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS 527833c89af1Smrg echo 'CEOF 527933c89af1Smrg sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS 528033c89af1Smrg ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in 528133c89af1Smrg sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail 528233c89af1Smrg grep . conftest.tail >/dev/null || break 528333c89af1Smrg rm -f conftest.defines 528433c89af1Smrg mv conftest.tail conftest.defines 528533c89af1Smrgdone 528633c89af1Smrgrm -f conftest.defines conftest.tail 528733c89af1Smrg 528833c89af1Smrgecho "ac_result=$ac_in" >>$CONFIG_STATUS 528933c89af1Smrgcat >>$CONFIG_STATUS <<\_ACEOF 529033c89af1Smrg if test x"$ac_file" != x-; then 529133c89af1Smrg echo "/* $configure_input */" >"$tmp/config.h" 529233c89af1Smrg cat "$ac_result" >>"$tmp/config.h" 529333c89af1Smrg if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 529433c89af1Smrg { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 529533c89af1Smrgecho "$as_me: $ac_file is unchanged" >&6;} 529633c89af1Smrg else 529733c89af1Smrg rm -f $ac_file 529833c89af1Smrg mv "$tmp/config.h" $ac_file 529933c89af1Smrg fi 530033c89af1Smrg else 530133c89af1Smrg echo "/* $configure_input */" 530233c89af1Smrg cat "$ac_result" 530333c89af1Smrg fi 530433c89af1Smrg rm -f "$tmp/out12" 530533c89af1Smrg# Compute $ac_file's index in $config_headers. 530633c89af1Smrg_am_stamp_count=1 530733c89af1Smrgfor _am_header in $config_headers :; do 530833c89af1Smrg case $_am_header in 530933c89af1Smrg $ac_file | $ac_file:* ) 531033c89af1Smrg break ;; 531133c89af1Smrg * ) 531233c89af1Smrg _am_stamp_count=`expr $_am_stamp_count + 1` ;; 531333c89af1Smrg esac 531433c89af1Smrgdone 531533c89af1Smrgecho "timestamp for $ac_file" >`$as_dirname -- $ac_file || 531633c89af1Smrg$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 531733c89af1Smrg X$ac_file : 'X\(//\)[^/]' \| \ 531833c89af1Smrg X$ac_file : 'X\(//\)$' \| \ 531933c89af1Smrg X$ac_file : 'X\(/\)' \| . 2>/dev/null || 532033c89af1Smrgecho X$ac_file | 532133c89af1Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 532233c89af1Smrg s//\1/ 532333c89af1Smrg q 532433c89af1Smrg } 532533c89af1Smrg /^X\(\/\/\)[^/].*/{ 532633c89af1Smrg s//\1/ 532733c89af1Smrg q 532833c89af1Smrg } 532933c89af1Smrg /^X\(\/\/\)$/{ 533033c89af1Smrg s//\1/ 533133c89af1Smrg q 533233c89af1Smrg } 533333c89af1Smrg /^X\(\/\).*/{ 533433c89af1Smrg s//\1/ 533533c89af1Smrg q 533633c89af1Smrg } 533733c89af1Smrg s/.*/./; q'`/stamp-h$_am_stamp_count 533833c89af1Smrg ;; 533933c89af1Smrg 534033c89af1Smrg :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 534133c89af1Smrgecho "$as_me: executing $ac_file commands" >&6;} 534233c89af1Smrg ;; 534333c89af1Smrg esac 534433c89af1Smrg 534533c89af1Smrg 534633c89af1Smrg case $ac_file$ac_mode in 534733c89af1Smrg "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 534833c89af1Smrg # Strip MF so we end up with the name of the file. 534933c89af1Smrg mf=`echo "$mf" | sed -e 's/:.*$//'` 535033c89af1Smrg # Check whether this is an Automake generated Makefile or not. 535133c89af1Smrg # We used to match only the files named `Makefile.in', but 535233c89af1Smrg # some people rename them; so instead we look at the file content. 535333c89af1Smrg # Grep'ing the first line is not enough: some people post-process 535433c89af1Smrg # each Makefile.in and add a new line on top of each file to say so. 535533c89af1Smrg # So let's grep whole file. 535633c89af1Smrg if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 535733c89af1Smrg dirpart=`$as_dirname -- "$mf" || 535833c89af1Smrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 535933c89af1Smrg X"$mf" : 'X\(//\)[^/]' \| \ 536033c89af1Smrg X"$mf" : 'X\(//\)$' \| \ 536133c89af1Smrg X"$mf" : 'X\(/\)' \| . 2>/dev/null || 536233c89af1Smrgecho X"$mf" | 536333c89af1Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 536433c89af1Smrg s//\1/ 536533c89af1Smrg q 536633c89af1Smrg } 536733c89af1Smrg /^X\(\/\/\)[^/].*/{ 536833c89af1Smrg s//\1/ 536933c89af1Smrg q 537033c89af1Smrg } 537133c89af1Smrg /^X\(\/\/\)$/{ 537233c89af1Smrg s//\1/ 537333c89af1Smrg q 537433c89af1Smrg } 537533c89af1Smrg /^X\(\/\).*/{ 537633c89af1Smrg s//\1/ 537733c89af1Smrg q 537833c89af1Smrg } 537933c89af1Smrg s/.*/./; q'` 538033c89af1Smrg else 538133c89af1Smrg continue 538233c89af1Smrg fi 538333c89af1Smrg # Extract the definition of DEPDIR, am__include, and am__quote 538433c89af1Smrg # from the Makefile without running `make'. 538533c89af1Smrg DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 538633c89af1Smrg test -z "$DEPDIR" && continue 538733c89af1Smrg am__include=`sed -n 's/^am__include = //p' < "$mf"` 538833c89af1Smrg test -z "am__include" && continue 538933c89af1Smrg am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 539033c89af1Smrg # When using ansi2knr, U may be empty or an underscore; expand it 539133c89af1Smrg U=`sed -n 's/^U = //p' < "$mf"` 539233c89af1Smrg # Find all dependency output files, they are included files with 539333c89af1Smrg # $(DEPDIR) in their names. We invoke sed twice because it is the 539433c89af1Smrg # simplest approach to changing $(DEPDIR) to its actual value in the 539533c89af1Smrg # expansion. 539633c89af1Smrg for file in `sed -n " 539733c89af1Smrg s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 539833c89af1Smrg sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 539933c89af1Smrg # Make sure the directory exists. 540033c89af1Smrg test -f "$dirpart/$file" && continue 540133c89af1Smrg fdir=`$as_dirname -- "$file" || 540233c89af1Smrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 540333c89af1Smrg X"$file" : 'X\(//\)[^/]' \| \ 540433c89af1Smrg X"$file" : 'X\(//\)$' \| \ 540533c89af1Smrg X"$file" : 'X\(/\)' \| . 2>/dev/null || 540633c89af1Smrgecho X"$file" | 540733c89af1Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 540833c89af1Smrg s//\1/ 540933c89af1Smrg q 541033c89af1Smrg } 541133c89af1Smrg /^X\(\/\/\)[^/].*/{ 541233c89af1Smrg s//\1/ 541333c89af1Smrg q 541433c89af1Smrg } 541533c89af1Smrg /^X\(\/\/\)$/{ 541633c89af1Smrg s//\1/ 541733c89af1Smrg q 541833c89af1Smrg } 541933c89af1Smrg /^X\(\/\).*/{ 542033c89af1Smrg s//\1/ 542133c89af1Smrg q 542233c89af1Smrg } 542333c89af1Smrg s/.*/./; q'` 542433c89af1Smrg { as_dir=$dirpart/$fdir 542533c89af1Smrg case $as_dir in #( 542633c89af1Smrg -*) as_dir=./$as_dir;; 542733c89af1Smrg esac 542833c89af1Smrg test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 542933c89af1Smrg as_dirs= 543033c89af1Smrg while :; do 543133c89af1Smrg case $as_dir in #( 543233c89af1Smrg *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 543333c89af1Smrg *) as_qdir=$as_dir;; 543433c89af1Smrg esac 543533c89af1Smrg as_dirs="'$as_qdir' $as_dirs" 543633c89af1Smrg as_dir=`$as_dirname -- "$as_dir" || 543733c89af1Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 543833c89af1Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 543933c89af1Smrg X"$as_dir" : 'X\(//\)$' \| \ 544033c89af1Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 544133c89af1Smrgecho X"$as_dir" | 544233c89af1Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 544333c89af1Smrg s//\1/ 544433c89af1Smrg q 544533c89af1Smrg } 544633c89af1Smrg /^X\(\/\/\)[^/].*/{ 544733c89af1Smrg s//\1/ 544833c89af1Smrg q 544933c89af1Smrg } 545033c89af1Smrg /^X\(\/\/\)$/{ 545133c89af1Smrg s//\1/ 545233c89af1Smrg q 545333c89af1Smrg } 545433c89af1Smrg /^X\(\/\).*/{ 545533c89af1Smrg s//\1/ 545633c89af1Smrg q 545733c89af1Smrg } 545833c89af1Smrg s/.*/./; q'` 545933c89af1Smrg test -d "$as_dir" && break 546033c89af1Smrg done 546133c89af1Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 546233c89af1Smrg } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 546333c89af1Smrgecho "$as_me: error: cannot create directory $as_dir" >&2;} 546433c89af1Smrg { (exit 1); exit 1; }; }; } 546533c89af1Smrg # echo "creating $dirpart/$file" 546633c89af1Smrg echo '# dummy' > "$dirpart/$file" 546733c89af1Smrg done 546833c89af1Smrgdone 546933c89af1Smrg ;; 547033c89af1Smrg 547133c89af1Smrg esac 547233c89af1Smrgdone # for ac_tag 547333c89af1Smrg 547433c89af1Smrg 547533c89af1Smrg{ (exit 0); exit 0; } 547633c89af1Smrg_ACEOF 547733c89af1Smrgchmod +x $CONFIG_STATUS 547833c89af1Smrgac_clean_files=$ac_clean_files_save 547933c89af1Smrg 548033c89af1Smrg 548133c89af1Smrg# configure is writing to config.log, and then calls config.status. 548233c89af1Smrg# config.status does its own redirection, appending to config.log. 548333c89af1Smrg# Unfortunately, on DOS this fails, as config.log is still kept open 548433c89af1Smrg# by configure, so config.status won't be able to write to it; its 548533c89af1Smrg# output is simply discarded. So we exec the FD to /dev/null, 548633c89af1Smrg# effectively closing config.log, so it can be properly (re)opened and 548733c89af1Smrg# appended to by config.status. When coming back to configure, we 548833c89af1Smrg# need to make the FD available again. 548933c89af1Smrgif test "$no_create" != yes; then 549033c89af1Smrg ac_cs_success=: 549133c89af1Smrg ac_config_status_args= 549233c89af1Smrg test "$silent" = yes && 549333c89af1Smrg ac_config_status_args="$ac_config_status_args --quiet" 549433c89af1Smrg exec 5>/dev/null 549533c89af1Smrg $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 549633c89af1Smrg exec 5>>config.log 549733c89af1Smrg # Use ||, not &&, to avoid exiting from the if with $? = 1, which 549833c89af1Smrg # would make configure fail if this is the last instruction. 549933c89af1Smrg $ac_cs_success || { (exit 1); exit 1; } 550033c89af1Smrgfi 550133c89af1Smrg 5502