diff options
author | Brent Cook <busterb@gmail.com> | 2024-05-28 07:00:04 -0500 |
---|---|---|
committer | Brent Cook <busterb@gmail.com> | 2024-05-28 07:00:04 -0500 |
commit | 1e0d453f05c316e5d568b43cb59128ba696a89b5 (patch) | |
tree | e9812419131a550849913d4454b96f2697717ad6 /m4 | |
parent | 0dfa4f3b764521f4ee23850b705973c4b55b23b7 (diff) | |
download | portable-1e0d453f05c316e5d568b43cb59128ba696a89b5.tar.gz portable-1e0d453f05c316e5d568b43cb59128ba696a89b5.tar.bz2 portable-1e0d453f05c316e5d568b43cb59128ba696a89b5.zip |
Remove dead bitrig support, error on unsupported platforms
Diffstat (limited to 'm4')
-rw-r--r-- | m4/check-os-options.m4 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/m4/check-os-options.m4 b/m4/check-os-options.m4 index 77edd14..a8c4904 100644 --- a/m4/check-os-options.m4 +++ b/m4/check-os-options.m4 | |||
@@ -109,7 +109,7 @@ char buf[1]; getentropy(buf, 1); | |||
109 | ) | 109 | ) |
110 | CPPFLAGS="$CPPFLAGS -D_OPENBSD_SOURCE" | 110 | CPPFLAGS="$CPPFLAGS -D_OPENBSD_SOURCE" |
111 | ;; | 111 | ;; |
112 | *openbsd* | *bitrig*) | 112 | *openbsd*) |
113 | HOST_OS=openbsd | 113 | HOST_OS=openbsd |
114 | HOST_ABI=elf | 114 | HOST_ABI=elf |
115 | AC_DEFINE([HAVE_ATTRIBUTE__BOUNDED__], [1], [OpenBSD gcc has bounded]) | 115 | AC_DEFINE([HAVE_ATTRIBUTE__BOUNDED__], [1], [OpenBSD gcc has bounded]) |
@@ -131,7 +131,9 @@ char buf[1]; getentropy(buf, 1); | |||
131 | CPPFLAGS="$CPPFLAGS -D__EXTENSIONS__ -D_XOPEN_SOURCE=600 -DBSD_COMP" | 131 | CPPFLAGS="$CPPFLAGS -D__EXTENSIONS__ -D_XOPEN_SOURCE=600 -DBSD_COMP" |
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 | ||
136 | ;; | ||
135 | esac | 137 | esac |
136 | 138 | ||
137 | # Check if time_t is sized correctly | 139 | # Check if time_t is sized correctly |