configure: remove some header checks
do them using C++17's __has_include instead * configure.ac: Do not check for sys/times.h, valgrind/memcheck.h, and spawn.h. * bin/common_trans.cc, spot/misc/fixpool.hh, spot/misc/mspool.hh, spot/misc/timer.hh: Adjust to use __has_include instead.
This commit is contained in:
parent
cdc89dad16
commit
6b88d6f35b
5 changed files with 20 additions and 16 deletions
|
|
@ -1,5 +1,5 @@
|
|||
// -*- coding: utf-8 -*-
|
||||
// Copyright (C) 2015-2021 Laboratoire de Recherche et Développement
|
||||
// Copyright (C) 2015-2022 Laboratoire de Recherche et Développement
|
||||
// de l'Epita (LRDE).
|
||||
//
|
||||
// This file is part of Spot, a model checking library.
|
||||
|
|
@ -27,7 +27,8 @@
|
|||
#include <sys/wait.h>
|
||||
#include <fcntl.h>
|
||||
#include <iomanip>
|
||||
#ifdef HAVE_SPAWN_H
|
||||
#if __has_include(<spawn.h>)
|
||||
#define HAVE_SPAWN_H 1
|
||||
#include <spawn.h>
|
||||
#endif
|
||||
#include <regex>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue