From 8d3f028e8d334ad8937b0ba75d02715354f7e589 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 22 Sep 2009 22:19:17 -0700 Subject: [PATCH] Fix "make install" with --enable-relocatable. When PSPP added support for --enable-relocatable back in 2007, PSPP did not install any shared libraries. Now it does, which requires us to set RELOCATABLE_LIBRARY_PATH in configure.ac. Otherwise, the installed binaries will not work automatically but require some manual user intervention. Also set RELOCATABLE_STRIP as recommended by the gnulib documentation. --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.ac b/configure.ac index 6bc1a2f5..95dfc66f 100644 --- a/configure.ac +++ b/configure.ac @@ -206,6 +206,11 @@ if test "$am_cv_func_iconv" != "yes"; then PSPP_REQUIRED_PREREQ([iconv (see http://www.gnu.org/software/libiconv/)]) fi +dnl Required by the gnulib 'relocatable-prog' module. +dnl See doc/relocatable-maint.texi in the gnulib tree for details. +RELOCATABLE_LIBRARY_PATH='$(libdir)' +RELOCATABLE_STRIP=: + PSPP_CHECK_PREREQS AC_CONFIG_FILES([Makefile gl/Makefile]) -- 2.30.2