[Python-Dev] Adding directories to configure.in for fink?

Michael Hudson mwh at python.net
Fri Jul 16 15:57:11 CEST 2004

Brett Cannon <bac at OCF.Berkeley.EDU> writes:

> I discovered that when compiling for readline against a Fink install a
> warning was spit out about the lack of a function definition.  Turned
> out a function that #ifdef'ed a macro was not being triggered because
> configure.in was not catching the header file in /sw/lib for readline.
> Since /sw is already looked at by setup.py, is there any way to have
> configure.in do it as well so as to have some consistency?  Or is
> prepending ``LDFLAGS=/sw/lib`` the only way?  If so, does it warrant
> mentioning in the README?

If you take /sw/lib out of setup.py and then run

$ LDFLAGS=-L/sw/lib ./configure

does setup.py still find goodies in /sw?  If not, it should <wink>.

I'm definitely in the 'if I want fink I'll ask for it' camp (and 99%
of the time I don't and won't).  Every time I check something into
Python I have to be careful to not check in my local changes to
setup.py that comment this stuff out...


  ARTHUR:  Why should a rock hum?
    FORD:  Maybe it feels good about being a rock.
                    -- The Hitch-Hikers Guide to the Galaxy, Episode 8

More information about the Python-Dev mailing list