1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2017-2019 Intel Corporation
9 dpdk_conf.set('RTE_EXEC_ENV_' + exec_env.to_upper(), 1)
15 if dpdk_conf.has('RTE_USE_LIBBSD')
18 if cc.has_function('getentropy', prefix : '#include <unistd.h>')
19 cflags += '-DRTE_LIBEAL_USE_GETENTROPY'
21 if cc.has_header('getopt.h')
22 cflags += ['-DHAVE_GETOPT_H', '-DHAVE_GETOPT', '-DHAVE_GETOPT_LONG']