+2012-05-01 Bruno Haible <bruno@clisp.org>
+
+ relocatable-prog: Enable ELF ORIGIN trick also on GNU/kFreeBSD.
+ * m4/relocatable.m4 (gl_RELOCATABLE_BODY): Treat kFreeBSD like Linux.
+ * build-aux/reloc-ldflags: Likewise.
+ Suggested by Steven Chamberlain <steven@pyro.eu.org>.
+
2012-05-01 Bruno Haible <bruno@clisp.org>
gnulib-tool: Remove transitional code.
-# relocatable.m4 serial 17
+# relocatable.m4 serial 18
dnl Copyright (C) 2003, 2005-2007, 2009-2012 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
AC_CHECK_FUNCS([_NSGetExecutablePath])
case "$host_os" in
mingw*) is_noop=yes ;;
- linux*) use_elf_origin_trick=yes ;;
+ linux* | kfreebsd*) use_elf_origin_trick=yes ;;
esac
if test $is_noop = yes; then
RELOCATABLE_LDFLAGS=: