relocatable: Drop the need to define RELOCATABLE_STRIP in Makefile.am.
authorBruno Haible <bruno@clisp.org>
Mon, 19 Apr 2010 22:24:35 +0000 (00:24 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 19 Apr 2010 22:24:35 +0000 (00:24 +0200)
ChangeLog
m4/relocatable.m4

index ed85f8f7b8b511f6857548ae18bc47fa1003cd34..24f2a3692c4e0a1ce7f96b8b5da4f56ed402adec 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-04-19  Bruno Haible  <bruno@clisp.org>
+
+       relocatable: Drop the need to define RELOCATABLE_STRIP in Makefile.am.
+       * m4/relocatable.m4 (gl_RELOCATABLE_BODY): Set RELOCATABLE_STRIP.
+       Reported by Sylvain Beucler <beuc@beuc.net>.
+
 2010-04-19  Bruno Haible  <bruno@clisp.org>
 
        * lib/diffseq.h: Fix typo in comment.
index d52858161e0b614db1b368b712cef9e1839dacba..16db7ee871189745fea101b8f4eacfe5003e819d 100644 (file)
@@ -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 @@ AC_DEFUN([gl_RELOCATABLE_BODY],
 
   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: