Skip to content

Commit 4db5917

Browse files
committed
Warn on unsupported operating systems
1 parent 2f680db commit 4db5917

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

configure.ac

+4
Original file line numberDiff line numberDiff line change
@@ -159,3 +159,7 @@ AM_CONDITIONAL([ENABLE_LIBTLS_ONLY], [test "x$enable_libtls_only" = xyes])
159159
AC_REQUIRE_AUX_FILE([tap-driver.sh])
160160

161161
AC_OUTPUT
162+
163+
if test "$HOST_OS" = "unsupported"; then
164+
AC_MSG_WARN([unsupported platform: $host_os])
165+
fi

m4/check-os-options.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ char buf[1]; getentropy(buf, 1);
132132
AC_SUBST([PLATFORM_LDADD], ['-ldl -lmd -lnsl -lsocket'])
133133
;;
134134
*)
135-
HOST_OS=$host_os
135+
HOST_OS=unsupported
136136
HOST_ABI=elf
137137
;;
138138
esac

0 commit comments

Comments
 (0)