On Thu, Jan 16, 2014 at 09:27:33AM -0600, Kenneth Adam Miller wrote:
> Aww, that makes me sad... so I ran configure, but I would prefer not to
> have to leave all of my flags on the command line specifically to
> ./configure... And editing a *generated *makefile is out of the question,
> because later it will be regenerated, and I'm not doing any re-editing.
>
> Well, I can compile the way I need to, but I'm not happy with the situation
> because it's ugly.
>
>
> On Thu, Jan 16, 2014 at 8:16 AM, Greg Ward <[email protected]> wrote:
>
> > On 14 January 2014, Kenneth Adam Miller said:
> > > I need to reconfigure the compile cycle to:
> > >
> > > 1) specify a set of include directories for a pair of files
> > >
> > > 2) at the final libzmq link stage, it should link against some libraries
> > > (and also pass the location of those libraries in).
> >
> > Sadly, the state of the art has not changed much these last 15 or 20
> > years: run "./configure --help" and see if anything there is helpful.
> > Try it. If it works, you're good. If not, read the Makefile, find the
> > variables you need to tweak, and override them on the command line.
> > Hope and pray that it works.
> >
> > For example, in libzmq:
> >
> > $ ./configure --help
> > [...]
> > Some influential environment variables:
> > CC C compiler command
> > CFLAGS C compiler flags
> > LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
> > nonstandard directory <lib dir>
> > LIBS libraries to pass to the linker, e.g. -l<library>
> > CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir>
> > if
> > you have headers in a nonstandard directory <include dir>
> >
> > ...which I think tells you everything you need to know!
> >
> > Greg
You could change the configure.ac file to serach for your include
files and libs and add them for you. That would be a more permanent
solution.
MfG
Goswin
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev