[PATCH] Minor fixes for make distcheck

Samuel Mendoza-Jonas sam at mendozajonas.com
Fri Mar 9 14:57:34 AEDT 2018


Include the CCAN endian.h header in build sources and change the
--with-twin-foo options to default off - most users are not building
with libtwin so avoid having configure fail for them.

Signed-off-by: Samuel Mendoza-Jonas <sam at mendozajonas.com>
---
 configure.ac    | 4 ++--
 lib/Makefile.am | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 2456194..566742c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -113,7 +113,7 @@ AC_ARG_WITH(
 		[build x11 GUI programs using the twin window system [default=yes]]
 	)],
 	[],
-	[with_twin_x11=yes]
+	[with_twin_x11=no]
 )
 AM_CONDITIONAL([WITH_TWIN_X11], [test "x$with_twin_x11" = "xyes"])
 
@@ -124,7 +124,7 @@ AC_ARG_WITH(
 		[build frame buffer GUI programs using the twin window system [default=no]]
 	)],
 	[],
-	[with_twin_fbdev=yes]
+	[with_twin_fbdev=no]
 )
 AM_CONDITIONAL([WITH_TWIN_FBDEV], [test "x$with_twin_fbdev" = "xyes"])
 
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 6b1d82b..8f68202 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -28,6 +28,7 @@ gpg_int_SOURCES =
 endif
 
 lib_libpbcore_la_SOURCES = \
+	lib/ccan/endian/endian.h \
 	lib/file/file.h \
 	lib/file/file.c \
 	lib/fold/fold.h \
-- 
2.16.2



More information about the Petitboot mailing list