diff options
author | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2016-07-05 18:07:45 -0400 |
---|---|---|
committer | Arun Raghavan <arun@arunraghavan.net> | 2016-07-14 12:57:43 +0900 |
commit | 75ef0de24167daa84c11774f4bc9d1b4a9eaacfa (patch) | |
tree | 33c42dbd76f156c6e4b4674c4d2a85b8a73f7d82 | |
parent | 6ad2f51e9e94daf6b5925590c4cc08459a2e0833 (diff) |
build: Protect against unsupported CPU types
-rw-r--r-- | configure.ac | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 5ec8517..1fcbd53 100644 --- a/configure.ac +++ b/configure.ac @@ -73,7 +73,8 @@ AS_CASE(["${host}"], [ PLATFORM_CFLAGS="-DWEBRTC_WIN -D_WIN32 -U__STRICT_ANSI__" HAVE_WIN=1 - ] + ], + [AC_MSG_ERROR([Unsupported host $host])] ) AC_SUBST(PLATFORM_CFLAGS) AM_CONDITIONAL(HAVE_POSIX, [test "x${HAVE_POSIX}" = "x1"]) @@ -94,8 +95,9 @@ AS_CASE(["${host_cpu}"], [ HAVE_ARM=1 ARCH_CFLAGS="-DWEBRTC_ARCH_ARM" - ] + ], # FIXME: Add MIPS support, see webrtc/BUILD.gn for defines + [AC_MSG_ERROR([Unsupported CPU type $host_cpu])] ) AM_CONDITIONAL(HAVE_X86, [test "x${HAVE_X86}" = "x1"]) AM_CONDITIONAL(HAVE_ARM, [test "x${HAVE_ARM}" = "x1"]) |