mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 07:45:00 +01:00
Correctly detect glib volatile atomic
see also https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1919
This commit is contained in:
parent
98c55abdfe
commit
ea01ec5988
2 changed files with 2 additions and 1 deletions
|
|
@ -30,7 +30,7 @@
|
||||||
* Older versions of glib and older compilers still expect a volatile qualifier and print
|
* Older versions of glib and older compilers still expect a volatile qualifier and print
|
||||||
* "cast from type 'volatile long int*' to type 'long int*' casts away qualifiers [-Wcast-qual]"
|
* "cast from type 'volatile long int*' to type 'long int*' casts away qualifiers [-Wcast-qual]"
|
||||||
*/
|
*/
|
||||||
#if defined __GNUC__ && __GNUC__ > 10
|
#if defined HAVE_GLIB_2_68 && (defined(__cplusplus) && __cplusplus >= 201103L)
|
||||||
# define GATOMIC_QUAL
|
# define GATOMIC_QUAL
|
||||||
#else
|
#else
|
||||||
# define GATOMIC_QUAL volatile
|
# define GATOMIC_QUAL volatile
|
||||||
|
|
|
||||||
1
wscript
1
wscript
|
|
@ -1148,6 +1148,7 @@ def configure(conf):
|
||||||
conf.env.append_value('LDFLAGS', '-L/usr/X11R6/lib')
|
conf.env.append_value('LDFLAGS', '-L/usr/X11R6/lib')
|
||||||
|
|
||||||
autowaf.check_pkg(conf, 'glib-2.0', uselib_store='GLIB', atleast_version='2.28', mandatory=True)
|
autowaf.check_pkg(conf, 'glib-2.0', uselib_store='GLIB', atleast_version='2.28', mandatory=True)
|
||||||
|
autowaf.check_pkg(conf, 'glib-2.0', uselib_store='GLIB_2_68', atleast_version='2.68', mandatory=False)
|
||||||
autowaf.check_pkg(conf, 'gthread-2.0', uselib_store='GTHREAD', atleast_version='2.2', mandatory=True)
|
autowaf.check_pkg(conf, 'gthread-2.0', uselib_store='GTHREAD', atleast_version='2.2', mandatory=True)
|
||||||
autowaf.check_pkg(conf, 'glibmm-2.4', uselib_store='GLIBMM', atleast_version='2.32.0', mandatory=True)
|
autowaf.check_pkg(conf, 'glibmm-2.4', uselib_store='GLIBMM', atleast_version='2.32.0', mandatory=True)
|
||||||
autowaf.check_pkg(conf, 'sndfile', uselib_store='SNDFILE', atleast_version='1.0.18', mandatory=True)
|
autowaf.check_pkg(conf, 'sndfile', uselib_store='SNDFILE', atleast_version='1.0.18', mandatory=True)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue