configure.ac: link in llvm frontendopenmp component when available
commitf21882c3af2aaa7b61567337ad3d4d74d7416d64
authorSven Verdoolaege <sven.verdoolaege@gmail.com>
Sun, 22 Mar 2020 20:35:22 +0000 (22 21:35 +0100)
committerSven Verdoolaege <sven.verdoolaege@gmail.com>
Sun, 22 Mar 2020 20:45:30 +0000 (22 21:45 +0100)
treef5843fc30ec7e78416c167169d94abb69d8ad494
parent8c0df55b2fbe95636c4977eb1daeb2bc39ce372e
configure.ac: link in llvm frontendopenmp component when available

Since LLVM commit llvmorg-10-init-11542-geb3e81f43f0 ([OpenMP][NFCI]
Introduce llvm/IR/OpenMPConstants.h, Mon Nov 4 22:00:49 2019 -0600),
clang uses this library, while it may not be present in the output
of llvm-config --libs by default.

Reported-by: Chris Elrod <elrodc@gmail.com>
Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
m4/ax_detect_clang.m4