need equivalent of AC_USE_SYSTEM_EXTENSIONS
While I can just define _GNU_SOURCE in my config.h, AC_USE_SYSTEM_EXTENSIONS also supports the equivalent defines for other platforms/compilers/libcs (e.g. solaris). meson should provide a way to do the same.