Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
buildconf reports variable 'curl_SOURCES' is defined but not used #577
My builds work fine, but still this error message makes me wonder what happened.
This isn't a new warning, and yes, it's a bit disconcerting. I'm quite sure it has to do with the name curl_SOURCES being a magic automake name and it being used in a context where the curl executable is not being built (i.e. the root Makefile.am). Fixing it involves renaming curl_SOURCES in Makefile.inc to some other name (maybe CURL_SOURCES would be enough), renaming all the references to that new name, then adding a curl_SOURCES = $(CURL_SOURCES) to src/Makefile.am so the magic behaviour is maintained only where it's desired.