Re: /bzr/squid3/trunk/ r9190: Build Errors

From: Guido Serassio <guido.serassio_at_acmeconsulting.it>
Date: Sun, 14 Sep 2008 15:48:08 +0200

Hi,

At 14.23 14/09/2008, Amos Jeffries wrote:
>Henrik Nordstrom wrote:
> > On sön, 2008-09-14 at 12:27 +0200, Guido Serassio wrote:
> >
> >>> -CFLAGS="-DDEFAULT_SQUID_DATA_DIR=\"$datadir\" $CFLAGS"
> >>> +CFLAGS="-DDEFAULT_SQUID_DATA_DIR=\\\"$datadir\\\" $CFLAGS"
> >
> >> Currently I don't have time to try, but I'm not sure of what will
> >> happen on Windows after this change.
> >
> >> If I'm understanding right, the path will be arranged as /C:/squid/.
> >
> > No. The changes is in shell quoting to properly handle whitespace, not
> > the path as such.
>
>Both wrong.
>
>The fix is in shell, but it is to correctly pass the " down through two
>levels (automake and make command lines) without losing it.
>
>There should be (and is for me now) a \" arriving on the compiler
>command line, so the macro define is identified as a char* string properly.

Ok, thanks for the explanation.

Regards

Guido

>Amos
>--
>Please use Squid 2.7.STABLE4 or 3.0.STABLE9

-
========================================================
Guido Serassio
Acme Consulting S.r.l. - Microsoft Certified Partner
Via Lucia Savarino, 1 10098 - Rivoli (TO) - ITALY
Tel. : +39.011.9530135 Fax. : +39.011.9781115
Email: guido.serassio_at_acmeconsulting.it
WWW: http://www.acmeconsulting.it/
Received on Sun Sep 14 2008 - 13:49:36 MDT

This archive was generated by hypermail 2.2.0 : Sun Sep 14 2008 - 12:00:04 MDT