mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-23 10:27:51 +02:00
Remove HAVE_CONFIG_H defs and uses
Since GLib files are only meant to be built as part of GLib, config.h always exists, so the checks are more or less pointless. https://bugzilla.gnome.org/show_bug.cgi?id=793399
This commit is contained in:
committed by
Philip Withnall
parent
9d24c8b223
commit
03e86d000f
@@ -98,7 +98,6 @@ endforeach
|
||||
|
||||
executable('gobject-query', 'gobject-query.c',
|
||||
install : true,
|
||||
c_args : ['-DHAVE_CONFIG_H=1'],
|
||||
dependencies : [libglib_dep, libgobject_dep])
|
||||
|
||||
install_data('gobject_gdb.py', install_dir : join_paths(glib_pkgdatadir, 'gdb'))
|
||||
|
@@ -38,7 +38,7 @@ foreach test_name : gobject_tests
|
||||
test_name = 'gobject-private'
|
||||
endif
|
||||
exe = executable(test_name, test_src,
|
||||
c_args : ['-DHAVE_CONFIG_H=1', '-DG_LOG_DOMAIN="GLib-GObject"'],
|
||||
c_args : ['-DG_LOG_DOMAIN="GLib-GObject"'],
|
||||
dependencies : deps,
|
||||
)
|
||||
test(test_name, exe, env : test_env)
|
||||
@@ -74,7 +74,7 @@ marshalers_c = custom_target('marshalers_c',
|
||||
|
||||
exe = executable('signals',
|
||||
'signals.c', marshalers_h, marshalers_c,
|
||||
c_args : ['-DHAVE_CONFIG_H=1', '-DG_LOG_DOMAIN="GLib-GObject"'],
|
||||
c_args : ['-DG_LOG_DOMAIN="GLib-GObject"'],
|
||||
dependencies : deps,
|
||||
)
|
||||
test('signals', exe, env : test_env)
|
||||
|
Reference in New Issue
Block a user