aboutsummaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorJonas 'Sortie' Termansen <sortie@maxsi.org>2024-11-02 13:43:17 +0100
committerJonas 'Sortie' Termansen <sortie@maxsi.org>2024-11-02 13:45:50 +0100
commit2f680db530996204949edcf3f14c3c7569c1a21f (patch)
treee866f31ec1d6bf8ecb95ce5eebeb982ad72f6bed /m4
parentb478250379a0627ad8914c765307260fb97e6bec (diff)
downloadportable-2f680db530996204949edcf3f14c3c7569c1a21f.tar.gz
portable-2f680db530996204949edcf3f14c3c7569c1a21f.tar.bz2
portable-2f680db530996204949edcf3f14c3c7569c1a21f.zip
Assume unknown operating systems use ELF.
There's a lot of new Unix-like operating systems out that that might port LibreSSL (my Sortix is among them) and they all use ELF. If the operating system doesn't use ELF or isn't an Unix, it doesn't have a chance at working out of this box anyway, and this change makes LibreSSL work on a generic and sufficiently featured POSIX system.
Diffstat (limited to 'm4')
-rw-r--r--m4/check-os-options.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/m4/check-os-options.m4 b/m4/check-os-options.m4
index 91c3021..1f0b7e4 100644
--- a/m4/check-os-options.m4
+++ b/m4/check-os-options.m4
@@ -132,7 +132,8 @@ char buf[1]; getentropy(buf, 1);
132 AC_SUBST([PLATFORM_LDADD], ['-ldl -lmd -lnsl -lsocket']) 132 AC_SUBST([PLATFORM_LDADD], ['-ldl -lmd -lnsl -lsocket'])
133 ;; 133 ;;
134 *) 134 *)
135 HOST_OS=unsupported 135 HOST_OS=$host_os
136 HOST_ABI=elf
136 ;; 137 ;;
137esac 138esac
138 139