[lxc-devel] [lxc/master] configure: handle checks when cross-compiling

brauner on Github lxc-bot at linuxcontainers.org
Wed May 15 13:45:23 UTC 2019


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 364 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20190515/98ebf0e4/attachment.bin>
-------------- next part --------------
From 4e900c18a7b7272b62a107a6e5456f00a3632920 Mon Sep 17 00:00:00 2001
From: Christian Brauner <christian.brauner at ubuntu.com>
Date: Wed, 15 May 2019 15:44:36 +0200
Subject: [PATCH] configure: handle checks when cross-compiling

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 029953e818..4686872ac7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -656,7 +656,7 @@ int main(void)
     return 1;
   }
 }],
-[fmt_m=yes], [fmt_m=no])
+[fmt_m=yes], [fmt_m=no],, [fmt_m=no])
 if test "x$fmt_m" = "xyes"; then
 	AC_DEFINE([HAVE_M_FORMAT], 1, [Have %m format])
 	AC_MSG_RESULT([yes])


More information about the lxc-devel mailing list