Hi,

It seems automake primary DATA cannot be used with the pkginclude
prefix. Git repo is broken with the following error:

./bootstrap: automake --add-missing --copy --force-missing ...
configure.ac:766: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in 
body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2730: _AC_RUN_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2749: AC_RUN_IFELSE is expanded from...
configure.ac:766: the top level
configure.ac:1023: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected 
in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
m4/radius.m4:30: _AM_GRAD_PREPROC is expanded from...
m4/radius.m4:41: AM_GNU_RADIUS is expanded from...
am/enable.m4:21: MU_ENABLE_SUPPORT is expanded from...
configure.ac:1023: the top level
include/mailutils/Makefile.am:26: `pkgincludedir' is not a legitimate directory 
for `DATA'


Attached patch fixes this issue.



bvk.chaitanya

diff --git a/include/mailutils/Makefile.am b/include/mailutils/Makefile.am
index 1f75663..60b68a3 100644
--- a/include/mailutils/Makefile.am
+++ b/include/mailutils/Makefile.am
@@ -23,7 +23,6 @@ types.h: $(top_srcdir)/include/mailutils/types.hin Makefile
 	$(AM_V_GEN)sed 's/_MU_OFF_TYPE_/$(MU_OFF_TYPE)/;s/_MU_DEFAULT_RECORD_/$(MU_DEFAULT_RECORD)/' $(top_srcdir)/include/mailutils/types.hin > $@
 DISTCLEANFILES = types.h
 
-pkginclude_DATA = types.h
 pkginclude_HEADERS = \
  acl.h\
  address.h\
@@ -100,6 +99,7 @@ pkginclude_HEADERS = \
  syslog.h\
  sql.h\
  tls.h\
+ types.h\
  url.h\
  vartab.h\
  version.h\
_______________________________________________
Bug-mailutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-mailutils

Reply via email to