Merge branch '559-order-build-lists' into 'master'

build: Alphabetically order lists of functions and headers to find

Closes #559

See merge request GNOME/glib!32
This commit is contained in:
Christoph Reiter 2018-05-28 11:54:43 +00:00
commit 6fbade04ab

View File

@ -208,53 +208,53 @@ add_project_arguments(glib_debug_cflags, language: 'c')
# check for header files # check for header files
headers = [ headers = [
'alloca.h',
'crt_externs.h',
'dirent.h', # MSC does not come with this by default
'float.h',
'fstab.h',
'grp.h',
'inttypes.h',
'limits.h',
'linux/magic.h',
'locale.h',
'mach/mach_time.h',
'malloc.h',
'memory.h',
'mntent.h',
'poll.h',
'pwd.h',
'sched.h',
'stdint.h',
'stdlib.h', 'stdlib.h',
'string.h', 'string.h',
'strings.h', 'strings.h',
'memory.h', 'sys/event.h',
'alloca.h', 'sys/filio.h',
'locale.h', 'sys/inotify.h',
'xlocale.h', 'sys/mkdev.h',
'float.h', 'sys/mntctl.h',
'limits.h', 'sys/mnttab.h',
'pwd.h', 'sys/mount.h',
'grp.h',
'poll.h',
'sys/param.h', 'sys/param.h',
'sys/resource.h', 'sys/resource.h',
'mach/mach_time.h',
'sys/select.h', 'sys/select.h',
'stdint.h',
'inttypes.h',
'sched.h',
'malloc.h',
'sys/vfs.h',
'sys/vmount.h',
'sys/statfs.h', 'sys/statfs.h',
'sys/stat.h',
'sys/statvfs.h', 'sys/statvfs.h',
'sys/filio.h', 'sys/sysctl.h',
'mntent.h',
'sys/mnttab.h',
'sys/vfstab.h',
'sys/mntctl.h',
'fstab.h',
'linux/magic.h',
'termios.h',
'dirent.h', # MSC does not come with this by default
'sys/time.h', # MSC does not come with this by default 'sys/time.h', # MSC does not come with this by default
'sys/times.h', 'sys/times.h',
'sys/wait.h',
'unistd.h',
'values.h',
'sys/types.h', 'sys/types.h',
'sys/uio.h', 'sys/uio.h',
'sys/mkdev.h', 'sys/vfs.h',
'sys/mount.h', 'sys/vfstab.h',
'sys/sysctl.h', 'sys/vmount.h',
'crt_externs.h', 'sys/wait.h',
'sys/inotify.h', 'termios.h',
'sys/event.h', 'unistd.h',
'sys/stat.h', 'values.h',
'xlocale.h',
] ]
foreach h : headers foreach h : headers
@ -370,60 +370,60 @@ endif
functions = [ functions = [
'alloca', 'alloca',
'mmap', 'endmntent',
'memalign', 'endservent',
'valloc', 'fallocate',
'fsync',
'pipe2',
'issetugid',
'timegm',
'strerror_r',
'lstat',
'strsignal',
'vsnprintf',
'poll',
'vasprintf',
'setenv',
'unsetenv',
'getc_unlocked',
'readlink',
'symlink',
'fdwalk',
'lchmod',
'lchown',
'fchmod', 'fchmod',
'fchown', 'fchown',
'utimes', 'fdwalk',
'getresuid', 'fsync',
'getmntent_r', 'getc_unlocked',
'setmntent',
'endmntent',
'hasmntopt',
'getfsstat', 'getfsstat',
'getvfsstat',
'fallocate',
'localtime_r',
'gmtime_r',
'getpwuid_r',
'getgrgid_r', 'getgrgid_r',
'prlimit', 'getmntent_r',
'strnlen', 'getpwuid_r',
'wcslen', 'getresuid',
'wcsnlen', 'getvfsstat',
'gmtime_r',
'hasmntopt',
'inotify_init1',
'issetugid',
'kevent',
'kqueue',
'lchmod',
'lchown',
'link',
'localtime_r',
'lstat',
'mbrtowc', 'mbrtowc',
'wcrtomb', 'memalign',
'mmap',
'newlocale', 'newlocale',
'uselocale', 'pipe2',
'poll',
'prlimit',
'readlink',
'recvmmsg',
'sendmmsg',
'setenv',
'setmntent',
'strerror_r',
'strnlen',
'strsignal',
'strtod_l', 'strtod_l',
'strtoll_l', 'strtoll_l',
'strtoull_l', 'strtoull_l',
'inotify_init1', 'symlink',
'kqueue', 'timegm',
'kevent', 'unsetenv',
'endservent', 'uselocale',
'sendmmsg', 'utimes',
'recvmmsg', 'valloc',
'link', 'vasprintf',
'vsnprintf',
'wcrtomb',
'wcslen',
'wcsnlen',
] ]
if glib_conf.has('HAVE_SYS_STATVFS_H') if glib_conf.has('HAVE_SYS_STATVFS_H')