From fb3f4e690672c342d0bf050ce15a0d80365d3c71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 17 Feb 2019 19:40:16 +0100 Subject: Add CMake check if the getline function is defined instead of listing the systems and versions that need to be defined. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This resolves FTBFS on FreeBSD 12. Signed-off-by: Slávek Banko (cherry picked from commit 0542509fc175c7b5a76cd31901834a2530ae4718) --- config.h.cmake | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config.h.cmake') diff --git a/config.h.cmake b/config.h.cmake index 790ee5b3..86f9566a 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -8,3 +8,6 @@ // lib/catalog #cmakedefine USE_DB_H_PATH <@USE_DB_H_PATH@> + +// vcs/clearcase +#cmakedefine HAVE_GETLINE 1 -- cgit v1.2.1