# HG changeset patch # User Bruno Haible # Date 1271715875 -7200 # Node ID ea201756cdabbe4c73d286d7ccdaafb664642632 # Parent 89fadace6a88ba852f4d96c71c85e0f6a867ddd2 relocatable: Drop the need to define RELOCATABLE_STRIP in Makefile.am. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-04-19 Bruno Haible + + relocatable: Drop the need to define RELOCATABLE_STRIP in Makefile.am. + * m4/relocatable.m4 (gl_RELOCATABLE_BODY): Set RELOCATABLE_STRIP. + Reported by Sylvain Beucler . + 2010-04-19 Bruno Haible * lib/diffseq.h: Fix typo in comment. diff --git a/m4/relocatable.m4 b/m4/relocatable.m4 --- a/m4/relocatable.m4 +++ b/m4/relocatable.m4 @@ -1,4 +1,4 @@ -# relocatable.m4 serial 14 +# relocatable.m4 serial 15 dnl Copyright (C) 2003, 2005-2007, 2009-2010 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -76,9 +76,15 @@ dnl RELOCATABLE_LIBRARY_PATH can be set in configure.ac. Default is empty. AC_SUBST([RELOCATABLE_LIBRARY_PATH]) + AC_SUBST([RELOCATABLE_CONFIG_H_DIR]) AC_SUBST([RELOCATABLE_SRC_DIR]) AC_SUBST([RELOCATABLE_BUILD_DIR]) + + dnl Ensure RELOCATABLE_STRIP is defined in Makefiles (at least those + dnl generated by automake), with value ':'. + RELOCATABLE_STRIP=':' + AC_SUBST([RELOCATABLE_STRIP]) ]) dnl Determine the platform dependent parameters needed to use relocatability: