Interesting.

Unfortunately, we cannot use changes to configure because it is "compiled"
from autoconf/configure.in by the autoconf tools.

I just checked the ./configure of the latest code that I built last week
on 8.2 and it has the ECHO = 'printf %s\n'  which works for me.
Perhaps the real problem may be something with your /bin/sh or
perhaps some alias you have in your environment ????

Best regards,
Kern

On 06/08/2012 11:20 PM, Dan Langille wrote:
> On Jun 8, 2012, at 5:15 PM, Bryan Harris wrote:
>
>> On Jun 8, 2012, at 2:05 PM, Dan Langille wrote:
>>
>>> On 2012-06-08 10:21, Kern Sibbald wrote:
>>>> On 06/08/2012 02:40 PM, Dan Langille wrote:
>>> I see this defined:
>>>
>>> ECHO = printf %s\n
>> I think he's saying that in the original form had single quotes, like this:
>>
>>> ECHO='printf %s\n'
>
> Ahh, yes, well, I admit to typing that by hand, not copy paste.  FYI, this is 
> the diff with
> my patch present.
>
> $ git diff
> diff --git a/bacula/configure b/bacula/configure
> index 44c7ef5..55c5a82 100755
> --- a/bacula/configure
> +++ b/bacula/configure
> @@ -6045,7 +6045,7 @@ if test "X`( print -r -- -n ) 2>/dev/null`" = X-n&&  \
>      test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
>     ECHO='print -r --'
>   elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
> -  ECHO='printf %s\n'
> +  ECHO='echo'
>   else
>     # Use this function as a fallback that always works.
>     func_fallback_echo ()
>
>
>
>> Also it appears you tried two other forms which are slightly different than 
>> the original.
>>
>>   ECHO='printf "%s\n"'
>>   ECHO='printf %s\\n'
> These were my attempts at trying to get things to work.  They failed.
>
>


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to