]> www.infradead.org Git - users/sagi/libnvme.git/commitdiff
configure: include ccan config from top-level config.h
authorJeremy Kerr <jk@codeconstruct.com.au>
Wed, 20 Oct 2021 13:14:25 +0000 (21:14 +0800)
committerJeremy Kerr <jk@codeconstruct.com.au>
Thu, 21 Oct 2021 08:31:34 +0000 (16:31 +0800)
In 3a84d900, we moved the ccan config.h to ccan-config.h, but didn't end
up including it in the top-level config.h.

To complete the simplification, config.h should include the
(configurator-generated) ccan-config.h.

Fixes: 3a84d90084b5 ("configure: simplify config-host.h & config-host.mak generation")
Reported-by: Klaus Jensen <k.jensen@samsung.com>
Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
configure

index b21a09823af28415bfc7ad2cbd7d13e68389e4b9..dcf1699131dc9474e762cbcc9da2c306ff82a168 100755 (executable)
--- a/configure
+++ b/configure
@@ -103,6 +103,7 @@ cat > $config_h <<EOF
  * Configured with:
  * $cmdstr
  */
+#include "ccan-config.h"
 EOF
 
 cat > $config_host_mak <<EOF