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

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

Hi Amos,

At 12.10 14/09/2008, Amos Jeffries wrote:
>------------------------------------------------------------
>revno: 9190
>committer: Amos Jeffries <squid3_at_treenet.co.nz>
>branch nick: trunk
>timestamp: Sun 2008-09-14 22:10:29 +1200
>message:
> Build Errors
>modified:
> configure.in
>=== modified file 'configure.in'
>--- a/configure.in 2008-09-11 05:19:13 +0000
>+++ b/configure.in 2008-09-14 10:10:29 +0000
>@@ -32,11 +32,11 @@
>
> dnl Make location configure settings available to the code
> dnl Pass squid data directory (icons, errors etc) base location
> to code files as a compiler define
>-CFLAGS="-DDEFAULT_SQUID_DATA_DIR=\"$datadir\" $CFLAGS"
>-CXXFLAGS="-DDEFAULT_SQUID_DATA_DIR=\"$datadir\" $CXXFLAGS"
>+CFLAGS="-DDEFAULT_SQUID_DATA_DIR=\\\"$datadir\\\" $CFLAGS"
>+CXXFLAGS="-DDEFAULT_SQUID_DATA_DIR=\\\"$datadir\\\" $CXXFLAGS"
> dnl Pass squid.conf directory base location to code files as a
> compiler define
>-CFLAGS="-DDEFAULT_SQUID_CONFIG_DIR=\"$sysconfdir\" $CFLAGS"
>-CXXFLAGS="-DDEFAULT_SQUID_CONFIG_DIR=\"$sysconfdir\" $CXXFLAGS"
>+CFLAGS="-DDEFAULT_SQUID_CONFIG_DIR=\\\"$sysconfdir\\\" $CFLAGS"
>+CXXFLAGS="-DDEFAULT_SQUID_CONFIG_DIR=\\\"$sysconfdir\\\" $CXXFLAGS"

Currently I don't have time to try, but I'm not sure of what will
happen on Windows after this change.

Usually on Windows the default Squid directory is C:/squid (please
note that the / char is correct because the MS C runtime allow the
usage of both \ and /).

If I'm understanding right, the path will be arranged as /C:/squid/.

Please let me to know if my doubt is correct.

Regards

Guido

-
========================================================
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 - 10:28:38 MDT

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