gplugin/gplugin

Enable some things that are now implemented in meson.
feature/meson
2016-09-26, Elliott Sales de Andrade
addc012e87d1
Parents f51f6882c86d
Children f7f4f79b40ce
Enable some things that are now implemented in meson.
--- a/lua/meson.build Mon Sep 26 03:39:25 2016 -0400
+++ b/lua/meson.build Mon Sep 26 19:28:19 2016 -0400
@@ -35,7 +35,7 @@
dependencies : LUA,
name : 'lua "lgi" module')
if not lua_lgi_test.compiled() or lua_lgi_test.returncode() != 0
-# error('Failed to find the "lgi" lua module')
+ error('Failed to find the "lgi" lua module')
endif
# now add the library
--- a/meson.build Mon Sep 26 03:39:25 2016 -0400
+++ b/meson.build Mon Sep 26 19:28:19 2016 -0400
@@ -77,9 +77,7 @@
if compiler.has_argument('-Wformat')
add_global_arguments('-Wformat', language : 'c')
- if compiler.compiles('int i;\n',
- name : '-Werror=format-security',
- args : ['-Wformat', '-Werror=format-security'])
+ if compiler.has_argument('-Werror=format-security', pre_args : '-Wformat')
add_global_arguments('-Werror=format-security', language : 'c')
endif
endif
--- a/python/meson.build Mon Sep 26 03:39:25 2016 -0400
+++ b/python/meson.build Mon Sep 26 19:28:19 2016 -0400
@@ -25,7 +25,7 @@
dependencies : [GLIB, PYTHON3, PYGOBJECT],
name : 'Python GI')
if not python_gi_test.compiled() or python_gi_test.returncode() != 0
-# error('pygobject does not work with python3')
+ error('pygobject does not work with python3')
endif
# Now add our libraries