wlevine / clamz

Command-line downloader for Amazon MP3
GNU General Public License v3.0
2 stars 0 forks source link

Makefile.in should use LIBGCRYPT/LIBCURL_CFLAGS/LIBS #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install libgcrypt and/or libcurl into a strange location
If they're installed through MacPorts on OS X, by default they go into 
/opt/local
2. ./configure cheerfully finds them both
3. Build fails because the compiler doesn't get the -I flags it needs

Please provide any additional information below.
I'm no expert in Autoconf/Automake, so I'm not sure what the "right" solution 
is.
A hack that works is to add these lines near the top of Makefile.in

CFLAGS += $(LIBCURL_CFLAGS) $(LIBCGRYPT_CFLAGS)
LDFLAGS += $(LIBCURL_LIBS) $(LIBCGRYPT_LIBS)

Original issue reported on code.google.com by j.auricc...@gmail.com on 24 Dec 2008 at 6:02

GoogleCodeExporter commented 9 years ago
Yes, that was a mistake, sorry.  It looks like I had intended to do that but 
didn't
finish.  I'll fix this with the next release.

For what it's worth, you can also work around this by specifying CFLAGS and LIBS
manually on the configure command line.

Thanks!

Original comment by Benjamin...@gmail.com on 28 Dec 2008 at 7:52

GoogleCodeExporter commented 9 years ago
Done in 0.3.

Original comment by Benjamin...@gmail.com on 1 Apr 2010 at 4:54