aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-12-22 18:58:36 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-12-22 18:58:36 +0000
commit60f7acfdba312268fe7d877e554e19323802eac2 (patch)
treee85cbc86e1afb9c24cbbe3097a6ac87404fdbdbe
parent19ca75d200fdafe2057b13f83478bb5e70abc39e (diff)
downloadpaludis-60f7acfdba312268fe7d877e554e19323802eac2.tar.gz
paludis-60f7acfdba312268fe7d877e554e19323802eac2.tar.xz
More monolithic work
-rw-r--r--configure.ac3
-rw-r--r--paludis/Makefile.am.m44
2 files changed, 5 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 8603925..9ac3061 100644
--- a/configure.ac
+++ b/configure.ac
@@ -33,6 +33,9 @@ AC_ARG_ENABLE([monolithic],
AC_MSG_RESULT([no])])
AC_SUBST([MONOLITHIC])
AM_CONDITIONAL([MONOLITHIC], test "x$MONOLITHIC" = "xyes")
+if test "x$MONOLITHIC" = "xyes" ; then
+ AC_DEFINE([MONOLITHIC], [1], [Make a monolithic build])
+fi
dnl }}}
dnl {{{ basic toolchain checks
diff --git a/paludis/Makefile.am.m4 b/paludis/Makefile.am.m4
index e832197..ee92d11 100644
--- a/paludis/Makefile.am.m4
+++ b/paludis/Makefile.am.m4
@@ -85,11 +85,11 @@ check_SCRIPTS = testscriptlist
if MONOLITHIC
-lib_LTLIBRARIES = libpaludis.la
+noinst_LTLIBRARIES = libpaludis.la
else
-noinst_LTLIBRARIES = libpaludis.la
+lib_LTLIBRARIES = libpaludis.la
endif