aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac4
-rw-r--r--m4/check-os-options.m42
2 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 51e096b..864a4ad 100644
--- a/configure.ac
+++ b/configure.ac
@@ -159,3 +159,7 @@ AM_CONDITIONAL([ENABLE_LIBTLS_ONLY], [test "x$enable_libtls_only" = xyes])
159AC_REQUIRE_AUX_FILE([tap-driver.sh]) 159AC_REQUIRE_AUX_FILE([tap-driver.sh])
160 160
161AC_OUTPUT 161AC_OUTPUT
162
163if test "$HOST_OS" = "unsupported"; then
164 AC_MSG_WARN([unsupported platform: $host_os])
165fi
diff --git a/m4/check-os-options.m4 b/m4/check-os-options.m4
index 1f0b7e4..2ef4293 100644
--- a/m4/check-os-options.m4
+++ b/m4/check-os-options.m4
@@ -132,7 +132,7 @@ 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=$host_os 135 HOST_OS=unsupported
136 HOST_ABI=elf 136 HOST_ABI=elf
137 ;; 137 ;;
138esac 138esac