libopts tearoff m4 should always build Makefile
Brought to you by:
bkorb
libopts-add.m4's LIBOPTS_CHECK makes the generation of Libopts_Dir/Makefile via ./configure (See AC_CONFIG_FILES(AO_Libopts_Dir/Makefile)) conditional on whether the libopts tearoff is built and used. i.e. if a local system-wide libopts is used instead of the included libopts tearoff Libopts_Dir/Makefile is NOT generated.
This breaks "make distclean".
Quoting http://www.gnu.org/software/automake/manual/automake.html#Conditional-Subdirectories:
Any directory listed in DIST_SUBDIRS and SUBDIRS must be configured.
I.e., the Makefile must exists or the recursive make rules will not be able to process the directory.
[...]
cu Andreas
A patch would be welcome. :)
See http://article.gmane.org/gmane.comp.sysutils.autogen.user/388
I need more information. Should I unconditionally configure the file and leave it up to what, exactly, to skip it for "make all"?
A patch would be welcome.
See http://permalink.gmane.org/gmane.comp.sysutils.autogen.user/388
Last edit: Andreas Metzler 2014-02-09
This should now be fixed.