Minor fixes for make distcheck
diff mbox series

Message ID 20180309035734.16879-1-sam@mendozajonas.com
State Accepted
Headers show
Series
  • Minor fixes for make distcheck
Related show

Commit Message

Samuel Mendoza-Jonas March 9, 2018, 3:57 a.m. UTC
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@mendozajonas.com>
---
 configure.ac    | 4 ++--
 lib/Makefile.am | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

Patch
diff mbox series

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 \