pcp
[Top] [All Lists]

configure.in

To: PCP <pcp@xxxxxxxxxxx>
Subject: configure.in
From: Alan Hoyt <ahoyt@xxxxxxxxxxxxx>
Date: Mon, 16 Jun 2003 14:08:37 -0500
Sender: pcp-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312
In configure.in, what's with $ac_n and $ac_c - these values are null and clear the echo flag settings made in the prior statement:

if ( $echo "testing\c"; $echo 1,2,3 ) | grep c >/dev/null
then
if ( $echo -n testing; $echo 1,2,3 ) | sed s/-n/xn/ | grep xn >/dev/null
then
  echo_n= echo_c=
else
  echo_n=-n echo_c=
fi
else
echo_n= echo_c='\c'
fi

dnl echo_n set to -n if echo understands -n to supress newline
echo_n=$ac_n
AC_SUBST(echo_n)
dnl echo_c set to \c if echo understands \c to supress newline
echo_c=$ac_c
AC_SUBST(echo_c)

Easy fix unless you need them for something.

- Alan -



<Prev in Thread] Current Thread [Next in Thread>