Commit caeec6d0 authored by Nirbheek Chauhan's avatar Nirbheek Chauhan 🐜
Browse files

config: Remove glib-specific autoconf hacks

These haven't been used ever since glib was ported to Meson:

glib_cv_stack_grows is now set as a cross property
glib_cv_uscore is correctly detected with meson
getpwuid_r is correctly detected with meson
getgrgid_r is correctly detected with meson
wchar_t is available and things work fine (added in 2013, no notes)
_NSGetEnviron is fixed in the previous commit

Part-of: <gstreamer/cerbero!489>
parent 778f92a7
......@@ -209,12 +209,7 @@ elif target_arch == Architecture.X86_64:
extra_lib_path = '%s/usr/lib64' % (sysroot)
# For GLib
env['glib_cv_stack_grows'] = 'yes'
env['glib_cv_uscore'] = 'no'
env['ac_cv_func_posix_getpwuid_r'] = 'no'
env['ac_cv_func_nonposix_getpwuid_r'] = 'no'
env['ac_cv_func_posix_getgrgid_r'] = 'no'
env['ac_cv_func_nonposix_getgrgid_r'] = 'no'
meson_properties['growing_stack'] = 'true'
# For cairo
# FIXME : IF WE ADD BIG-ENDIAN PLATFORMS, FIX THIS !
......
......@@ -146,12 +146,7 @@ if use_ccache:
env['CXX'] = 'ccache %s' % env['CXX']
# For GLib
env['glib_cv_stack_grows'] = 'yes'
env['glib_cv_uscore'] = 'no'
env['ac_cv_func_posix_getpwuid_r'] = 'yes'
env['ac_cv_func_posix_getgrgid_r'] = 'yes'
env['gt_cv_c_wchar_t'] = 'no'
env['ac_cv_func__NSGetEnviron'] = 'no'
meson_properties['growing_stack'] = 'true'
# For pixman
env['ac_cv_tls'] = 'none'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment