summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2009-05-19 14:03:14 -0400
committerSimo Sorce <ssorce@redhat.com>2009-05-19 15:17:14 -0400
commit897060147ddea72ecc1e86c6b7b915ff1d462f71 (patch)
treea758e9d24c4c42a3c12b9b3b3c1251546928319a /common
parent0a6de98efdfdd6108ca3394129d1eed873715df6 (diff)
downloadsssd-897060147ddea72ecc1e86c6b7b915ff1d462f71.tar.gz
sssd-897060147ddea72ecc1e86c6b7b915ff1d462f71.tar.xz
sssd-897060147ddea72ecc1e86c6b7b915ff1d462f71.zip
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.
Diffstat (limited to 'common')
-rw-r--r--common/collection/configure.ac7
-rw-r--r--common/dhash/configure.ac4
-rw-r--r--common/ini/configure.ac4
3 files changed, 9 insertions, 6 deletions
diff --git a/common/collection/configure.ac b/common/collection/configure.ac
index 573b45e91..ed51593d9 100644
--- a/common/collection/configure.ac
+++ b/common/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/common/dhash/configure.ac b/common/dhash/configure.ac
index 13fd1ac74..1cfd4b017 100644
--- a/common/dhash/configure.ac
+++ b/common/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/common/ini/configure.ac b/common/ini/configure.ac
index 5a88c9fa5..63fb1168e 100644
--- a/common/ini/configure.ac
+++ b/common/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