summaryrefslogtreecommitdiff
path: root/header_checks
diff options
context:
space:
mode:
authorJongmin Lee <jm105.lee@samsung.com>2019-06-27 08:26:55 +0000
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-06-27 15:51:25 +0200
commit3edf75c319c47df598efd55aa6771d8d58c52bb4 (patch)
treed1ed8471bb543d4b2150963b9eeae6d8070d3eaf /header_checks
parentf8aa44eef72c6e9fdf9e1a4848614243cbe09f53 (diff)
downloadefl-3edf75c319c47df598efd55aa6771d8d58c52bb4.tar.gz
meson: add some config definitions
Some config definitions used in source code could not be defined during build config process. - HAVE_XATTR - HAVE_CIPHER - HAVE_SIGNATURE - BUILD_ECORE_EVAS_EWS Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Reviewed-by: Vincent Torri <vincent.torri@gmail.com> Differential Revision: https://phab.enlightenment.org/D9192
Diffstat (limited to 'header_checks')
-rw-r--r--header_checks/meson.build4
1 files changed, 4 insertions, 0 deletions
diff --git a/header_checks/meson.build b/header_checks/meson.build
index 8ead497882..21545607b8 100644
--- a/header_checks/meson.build
+++ b/header_checks/meson.build
@@ -194,6 +194,10 @@ if (cc.has_header('sys/mman.h'))
config_h.set10('HAVE_MMAN_H', true)
endif
+if config_h.has('HAVE_LISTXATTR') and config_h.has('HAVE_SETXATTR') and config_h.has('HAVE_GETXATTR')
+ config_h.set10('HAVE_XATTR', true)
+endif
+
regexp = []
if sys_windows == true
regexp = cc.find_library('regex',