From 8d98a4f586fa8ce4cd8771519cf335a79e54fe2e Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Tue, 19 May 2009 14:03:14 -0400 Subject: Fix RPM generation issues with sssd Ensures that the common libraries build statically. Also ensures that the sssd.spec creates the SYSV init script with the appropriate permissions. Cleans up the useless rpmdist target that was obsolete. Adds the *.so.N.0.0 files to the RPM, as the .so and .so.N files were dangling symlinks. --- collection/configure.ac | 7 +++++-- dhash/configure.ac | 4 ++-- ini/configure.ac | 4 ++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/collection/configure.ac b/collection/configure.ac index 573b45e..ed51593 100644 --- a/collection/configure.ac +++ b/collection/configure.ac @@ -1,9 +1,12 @@ -AC_INIT([collection], [0.3.3], [freeipa-devel@redhat.com]) +AC_INIT([collection],[0.3.3],[freeipa-devel@redhat.com]) AC_CONFIG_SRCDIR([collection.c]) AC_CONFIG_AUX_DIR([build]) AM_INIT_AUTOMAKE([-Wall -Werror foreign]) AC_PROG_CC -AC_PROG_LIBTOOL + +#Until the API is stabilized, we'll statically link +LT_INIT([disable-shared]) + AC_CONFIG_MACRO_DIR([m4]) AC_PROG_INSTALL diff --git a/dhash/configure.ac b/dhash/configure.ac index 13fd1ac..1cfd4b0 100644 --- a/dhash/configure.ac +++ b/dhash/configure.ac @@ -3,7 +3,7 @@ AC_CONFIG_SRCDIR([dhash.c]) AC_CONFIG_AUX_DIR([build]) AM_INIT_AUTOMAKE([-Wall -Werror foreign]) AC_PROG_CC -AC_PROG_LIBTOOL +LT_INIT([disable-shared]) AC_CONFIG_MACRO_DIR([m4]) AC_PROG_INSTALL @@ -17,4 +17,4 @@ AC_ARG_ENABLE([trace], AS_IF([test ["$trace_level" -gt "0"] -a ["$trace_level" -lt "8"] ],[AC_SUBST([TRACE_VAR],["-DTRACE_LEVEL=$trace_level"])]) AC_CONFIG_FILES([Makefile dhash.pc]) -AC_OUTPUT \ No newline at end of file +AC_OUTPUT diff --git a/ini/configure.ac b/ini/configure.ac index 5a88c9f..63fb116 100644 --- a/ini/configure.ac +++ b/ini/configure.ac @@ -1,9 +1,9 @@ -AC_INIT([ini_config], [0.3.3], [freeipa-devel@redhat.com]) +AC_INIT([ini_config],[0.3.3],[freeipa-devel@redhat.com]) AC_CONFIG_SRCDIR([ini_config.c]) AC_CONFIG_AUX_DIR([build]) AM_INIT_AUTOMAKE([-Wall -Werror foreign]) AC_PROG_CC -AC_PROG_LIBTOOL +LT_INIT([disable-shared]) AC_CONFIG_MACRO_DIR([m4]) AC_PROG_INSTALL -- cgit