diff m4/relocatable.m4 @ 13247:ea201756cdab

relocatable: Drop the need to define RELOCATABLE_STRIP in Makefile.am.
author Bruno Haible <bruno@clisp.org>
date Tue, 20 Apr 2010 00:24:35 +0200
parents c2cbabec01dd
children 5dc27513d127
line wrap: on
line diff
--- a/m4/relocatable.m4	Tue Apr 20 00:02:14 2010 +0200
+++ b/m4/relocatable.m4	Tue Apr 20 00:24:35 2010 +0200
@@ -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: