summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/refarray/Makefile.am15
-rw-r--r--common/refarray/README1
-rw-r--r--common/refarray/configure.ac5
-rw-r--r--common/refarray/ref_array.pc.in2
4 files changed, 13 insertions, 10 deletions
diff --git a/common/refarray/Makefile.am b/common/refarray/Makefile.am
index 573173ac..724131fe 100644
--- a/common/refarray/Makefile.am
+++ b/common/refarray/Makefile.am
@@ -16,15 +16,18 @@ ACLOCAL_AMFLAGS = -I m4
# Set up the pkg-config file
pkgconfigdir = $(libdir)/pkgconfig
-dist_noinst_DATA = \
- ref_array.pc \
- m4
+pkgconfig_DATA = ref_array.pc
+
+dist_noinst_DATA = m4
+
+dist_include_HEADERS = ref_array.h
# Build library
-noinst_LTLIBRARIES = libref_array.la
+lib_LTLIBRARIES = libref_array.la
libref_array_la_SOURCES = \
- ref_array.c \
- ref_array.h
+ ref_array.c
+libref_array_la_LDFLAGS = \
+ -version-info 1:0:0
# Build unit test
check_PROGRAMS = ref_array_ut
diff --git a/common/refarray/README b/common/refarray/README
new file mode 100644
index 00000000..a3e4f617
--- /dev/null
+++ b/common/refarray/README
@@ -0,0 +1 @@
+Documentation for libref_array can be found in ref_array.h
diff --git a/common/refarray/configure.ac b/common/refarray/configure.ac
index b220c521..ebcfaa6d 100644
--- a/common/refarray/configure.ac
+++ b/common/refarray/configure.ac
@@ -1,6 +1,5 @@
-m4_include([../../version.m4])
-AC_INIT([sssd_libs],
- VERSION_NUMBER,
+AC_INIT([ref_array],
+ 0.1.0,
[sssd-devel@lists.fedorahosted.org])
AC_CONFIG_SRCDIR([ref_array.c])
AC_CONFIG_AUX_DIR([build])
diff --git a/common/refarray/ref_array.pc.in b/common/refarray/ref_array.pc.in
index 1fc06f71..c4fe9414 100644
--- a/common/refarray/ref_array.pc.in
+++ b/common/refarray/ref_array.pc.in
@@ -4,7 +4,7 @@ libdir=@libdir@
includedir=@includedir@
Name: @PACKAGE_NAME@
-Description: Reference library
+Description: A dynamically-growing, reference-counted array
Version: @PACKAGE_VERSION@
Libs: -L${libdir} -lref_array
Cflags: -I${includedir}