+2021-02-07 Bruno Haible <bruno@clisp.org>
+
+ relocatable-prog: Add support for MidnightBSD.
+ * m4/relocatable.m4 (gl_RELOCATABLE_BODY): Use the ELF $ORIGIN trick
+ also on MidnightBSD >= 1.1.
+ * build-aux/config.libpath: Treat MidnightBSD like FreeBSD.
+ * build-aux/reloc-ldflags: Likewise.
+
2021-02-07 Bruno Haible <bruno@clisp.org>
havelib: Add support for MidnightBSD.
-# relocatable.m4 serial 23
+# relocatable.m4 serial 24
dnl Copyright (C) 2003, 2005-2007, 2009-2021 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
fi
;;
changequote(,)dnl
- # FreeBSD >= 7.3, DragonFly >= 3.0: yes.
+ # FreeBSD >= 7.3, DragonFly >= 3.0, MidnightBSD >= 1.1: yes.
freebsd | freebsd[1-7] | freebsd[1-6].* | freebsd7.[0-2]) ;;
dragonfly | dragonfly[1-2] | dragonfly[1-2].*) ;;
- freebsd* | dragonfly*) use_elf_origin_trick=yes ;;
+ midnightbsd | midnightbsd0* | midnightbsd1.0*) ;;
+ freebsd* | dragonfly* | midnightbsd*) use_elf_origin_trick=yes ;;
# NetBSD >= 8.0: yes.
netbsd | netbsd[1-7] | netbsd[1-7].*) ;;
netbsdelf | netbsdelf[1-7] | netbsdelf[1-7].*) ;;