Commit 774f0d43 authored by Rob Latham's avatar Rob Latham
Browse files

start using a config_header

populaing a "kv_config.h" makes it easier to inspect what configure
thinks it found vs. looking through compiler command lines.
parent 91a832b2
...@@ -7,6 +7,7 @@ AM_INIT_AUTOMAKE([1.14.1 -Wall -Werror foreign subdir-objects silent-rules]) ...@@ -7,6 +7,7 @@ AM_INIT_AUTOMAKE([1.14.1 -Wall -Werror foreign subdir-objects silent-rules])
AM_SILENT_RULES([yes]) AM_SILENT_RULES([yes])
AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_SRCDIR([src/sds-keyval.h]) AC_CONFIG_SRCDIR([src/sds-keyval.h])
AC_CONFIG_HEADERS([src/kv-config.h])
LT_PREREQ([2.2]) LT_PREREQ([2.2])
# LT_INIT needs to know about AR # LT_INIT needs to know about AR
AM_PROG_AR AM_PROG_AR
......
// Copyright (c) 2017, Los Alamos National Security, LLC. // Copyright (c) 2017, Los Alamos National Security, LLC.
// All rights reserved. // All rights reserved.
#include "datastore.h" #include "datastore.h"
#include "kv-config.h"
#include <chrono> #include <chrono>
#include <iostream> #include <iostream>
......
// Copyright (c) 2017, Los Alamos National Security, LLC. // Copyright (c) 2017, Los Alamos National Security, LLC.
// All rights reserved. // All rights reserved.
#if BWTREE #include "kv-config.h"
#if USE_BWTREE
#include "bwtree.h" #include "bwtree.h"
#endif #endif
#include "sds-keyval.h" #include "sds-keyval.h"
#include <boost/functional/hash.hpp> #include <boost/functional/hash.hpp>
#include <vector> #include <vector>
#if LEVELDB #if LEVELDB
......
#include "sds-keyval.h" #include "sds-keyval.h"
#include "kv-config.h"
#include "datastore.h" #include "datastore.h"
#include <mercury.h> #include <mercury.h>
......
#include "sds-keyval-group.h" #include "sds-keyval-group.h"
#include "kv-config.h"
#include <stdlib.h> #include <stdlib.h>
#include <time.h> #include <time.h>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment