Commit 31a7df16 authored by Vittorio Giovara's avatar Vittorio Giovara Committed by Tristan Matthews

daemon: check whether we are using clang

Refs: #46066

Change-Id: I373fa76d49ebadda8a8b69cb54aef88426d4e20d
parent 601b3a7a
......@@ -61,6 +61,17 @@ AC_CHECK_TYPES([ptrdiff_t])
dnl Check for GNU ccRTP
PKG_PROG_PKG_CONFIG
dnl Check if we are using clang
AC_MSG_CHECKING([if compiling with clang])
AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM([], [[
#ifndef __clang__
not clang
#endif
]])],
[CLANG=yes], [CLANG=no])
AC_MSG_RESULT([$CLANG])
dnl Check for uuid development package - name: uuid-dev
UUID_MIN_VERSION=1.0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment