buildconf reports variable 'curl_SOURCES' is defined but not used #577

Closed
mback2k opened this Issue Dec 22, 2015 · 3 comments

Projects

None yet

3 participants

@mback2k
Member
mback2k commented Dec 22, 2015

src/Makefile.inc:114: warning: variable 'curl_SOURCES' is defined but no program or src/Makefile.inc:114: library has 'curl' as canonical name (possible typo) Makefile.am:151: 'src/Makefile.inc' included from here

My builds work fine, but still this error message makes me wonder what happened.

@dfandrich
Collaborator
@bagder
Member
bagder commented Dec 23, 2015

Yes, that's exactly my understanding of it too.

@bagder bagder added a commit that closed this issue Dec 23, 2015
@bagder bagder Makefile.inc: s/curl_SOURCES/CURL_FILES
This allows the root Makefile.am to include the Makefile.inc without
causing automake to warn on it (variables named *_SOURCES are
magic). curl_SOURCES is then instead assigned properly in
src/Makefile.am only.

Closes #577
bfe6f1f
@bagder bagder closed this in bfe6f1f Dec 23, 2015
@mback2k
Member
mback2k commented Dec 23, 2015

Thanks, @bagder and @dfandrich. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment