Merge branch 'issue-1520' into 'master'

Install m4 macros unconditionally

Closes #1520

See merge request GNOME/glib!314
This commit is contained in:
Xavier Claessens 2018-09-10 13:02:48 +00:00
commit d6da69f07d

View File

@ -1885,7 +1885,6 @@ endif
# Determine which user environment-dependent files that we want to install
have_bash = find_program('bash', required : false).found() # For completion scripts
have_m4 = find_program('m4', required : false).found() # For m4 macros
have_sh = find_program('sh', required : false).found() # For glib-gettextize
# FIXME: How to detect Solaris? https://github.com/mesonbuild/meson/issues/1578
@ -1997,11 +1996,9 @@ if have_sh
configuration : gettextize_conf)
endif
if have_m4
# Install m4 macros that other projects use
install_data('m4macros/glib-2.0.m4', 'm4macros/glib-gettext.m4', 'm4macros/gsettings.m4',
install_dir : join_paths(get_option('datadir'), 'aclocal'))
endif
# Install m4 macros that other projects use
install_data('m4macros/glib-2.0.m4', 'm4macros/glib-gettext.m4', 'm4macros/gsettings.m4',
install_dir : join_paths(get_option('datadir'), 'aclocal'))
if host_system != 'windows'
# Install Valgrind suppression file (except on Windows,