Re: Pinger build error on Cygwin & MinGW - PATCH

From: Henrik Nordström <hno@dont-contact.us>
Date: Tue, 24 Sep 2002 22:36:56 +0200 (CEST)

To clarify:

1. AM_CONDITIONAL in configure.in telling if pinger is to be build

2. Variable assignment of PINGER in src/Makefile, like is done for unlinkd
and dnsserver

Regards
Henrik

On Tue, 24 Sep 2002, Henrik Nordström wrote:

> Does it work if you mive OPT_PINGER to a variable, like the other
> programs?
>
> Found this little snippet in the automake manual regarding EXEEXT :
>
> However, Automake cannot apply this rewriting to `configure'
> substitutions. This means that if you are conditionally building a
> program using such a substitution, then your `configure.in' must take
>
> Regards
> Henrik
>
> On Tue, 24 Sep 2002, Henrik Nordström wrote:
>
> > This I do not understand. Why do you need pingto thrreat pinger special?
> > None of the other binaries is using the _EXE version in the Makefile
> > dependencies.. inly in actions actually touching the files..
> >
> > Not touching this until there is a understanding of what is going on. I
> > had the impression we should not use .exe in these kind of rules..
> >
> > Regards
> > Henrik
> >
> > On Mon, 23 Sep 2002, Guido Serassio wrote:
> >
> > > Hi,
> > >
> > > With this patch I'm able to build pinger.exe on Cygwin and MinGW target.
> > > I don't have tried it on other platforms.
> > > If it's OK, please commit on HEAD and s2_5.
> > >
> > > Regards
> > >
> > > Guido
> > >
> > > Index: Makefile.am
> > > ===================================================================
> > > RCS file: /cvsroot/squid/squid/src/Makefile.am,v
> > > retrieving revision 1.25
> > > diff -u -p -r1.25 Makefile.am
> > > --- Makefile.am 15 Sep 2002 11:06:29 -0000 1.25
> > > +++ Makefile.am 23 Sep 2002 19:28:20 -0000
> > > @@ -77,7 +77,7 @@ bin_PROGRAMS = \
> > > squidclient
> > >
> > > libexec_PROGRAMS = \
> > > - @OPT_PINGER@ \
> > > + @OPT_PINGER_EXE@ \
> > > $(DNSSERVER) \
> > > $(UNLINKD) \
> > > cachemgr$(CGIEXT)
> > >
> > >
> > >
> > > -
> > > =======================================================
> > > Serassio Guido
> > > Via Albenga, 11/4 10134 - Torino - ITALY
> > > E-mail: guido.serassio@serassio.it
> > > WWW: http://www.serassio.it
> > >
> >
>
Received on Tue Sep 24 2002 - 14:36:59 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:16:36 MST