CCID
CCID copied to clipboard
Do not build contrib and examples by default but require
Those are probably not needed for most users and pollute the compilation with many warnings.
Require --enable-extras
for those files.
Good idea.
Your implementation does not work for me. In the generated Makefile.in the definition of EXTRA_SUBDIRS
is made after it is used in SUBDIRS
. So the extras are never build.
Does it work for you?
Is it a bug in autotools?
Possible bug in the patch, I only checked that I extras would not be built by default. And I have no idea how the internals of autotools is working or supposed to work. I followed this: https://www.gnu.org/software/automake/manual/html_node/Subdirectories-with-AM_005fCONDITIONAL.html#Subdirectories-with-AM_005fCONDITIONAL
I could not get a working patch. Also "make dist" does not work as described in the documentation you mention. Something is missing/broken.