Commit 08d889b3 authored by David Johnson's avatar David Johnson

Move to using a prefixed config.h .

This library has consumers that build against its installed
version.  For that, and for the other general problems that
including config.h in public headers causes, just make config.h be
prefixed so it is "unique" and install that one.

It was either this, or hack the headers once again with some
foo like that).  But let's not do that now... the headers need a reorg
before something like that happens.
parent 7ebcaf86
Pipeline #402 passed with stage
......@@ -5,7 +5,7 @@ AC_PREREQ([2.69])
AC_INIT([libcap], [0.1])
AC_CONFIG_SRCDIR([src/common/cptr_cache.c])
AC_CONFIG_AUX_DIR(autoconf)
AC_CONFIG_HEADERS([include/config.h])
AC_CONFIG_HEADERS([include/libcap_config.h])
LT_INIT
AC_CONFIG_MACRO_DIR([m4])
......
......@@ -2,4 +2,4 @@ noinst_HEADERS = \
libcap_internal.h libcap_internal_kernel.h libcap_internal_user.h list.h
include_HEADERS = \
libcap.h libcap_kernel.h libcap_types.h libcap_user.h config.h
libcap.h libcap_kernel.h libcap_types.h libcap_user.h libcap_config.h
......@@ -8,7 +8,7 @@
#ifndef __LIBCAP_TYPES_H__
#define __LIBCAP_TYPES_H__
#include "config.h"
#include "libcap_config.h"
/* HELPERS -------------------------------------------------- */
......
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