Skip to content
Snippets Groups Projects
Commit 31a7df16 authored by Vittorio Giovara's avatar Vittorio Giovara Committed by Tristan Matthews
Browse files

daemon: check whether we are using clang

Refs: #46066

Change-Id: I373fa76d49ebadda8a8b69cb54aef88426d4e20d
parent 601b3a7a
Branches
Tags
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment