summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am6
-rwxr-xr-xacprep2
-rw-r--r--configure.ac1
3 files changed, 5 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
index e0bea53f..b59d2cf5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -166,7 +166,7 @@ ledger_CPPFLAGS += -I$(srcdir)/python
endif
ledger_SOURCES = src/main.cc src/global.cc
ledger_LDADD = $(LIBOBJS) $(lib_LTLIBRARIES) $(INTLLIBS)
-ledger_LDFLAGS =
+ledger_LDFLAGS = -static
info_TEXINFOS = doc/ledger.texi
@@ -339,7 +339,9 @@ $(top_builddir)/test/python/UnitTests.py: $(all_py_tests_sources)
@echo "]" >> $@
@echo "TextTestRunner().run(TestSuite(suites))" >> $@
-ESC_python=`echo "$(PYTHON)" | sed 's/\//\\\\\//g'`
+ledger_python = $(top_builddir)/ledger$(EXEEXT) python
+
+ESC_python=`echo "$(ledger_python)" | sed 's/\//\\\\\//g'`
ESC_srcdir=`echo "$(srcdir)" | sed 's/\//\\\\\//g'`
ESC_builddir=`echo "$(top_builddir)" | sed 's/\//\\\\\//g'`
ESC_distdir=`echo "$(distdir)" | sed 's/\//\\\\\//g'`
diff --git a/acprep b/acprep
index 5fd3dd49..bdf244a2 100755
--- a/acprep
+++ b/acprep
@@ -33,7 +33,7 @@ git ls-files '*.cc' '*.h' | egrep '^(src|python)/' > po/POTFILES.in
aclocal -I m4
-SWITCHES="--with-included-gettext"
+SWITCHES="--disable-shared --with-included-gettext"
if [ -z "$PYTHON_HOME" ]; then
PYTHON_HOME="/usr"
diff --git a/configure.ac b/configure.ac
index 5292c11d..f68289f0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -18,7 +18,6 @@ AC_USE_SYSTEM_EXTENSIONS
AC_PROG_CXX
AC_PROG_MAKE_SET
AC_PROG_LIBTOOL
-AM_PROG_LIBTOOL
AM_GNU_GETTEXT
AM_GNU_GETTEXT_VERSION([0.17])