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.
Yes, that's exactly my understanding of it too.
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
Thanks, @bagder and @dfandrich. 👍