mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-05 11:08:03 +02:00
Added signal.h and locale.h detection for cmake build system.
This commit is contained in:
parent
01d9d169f3
commit
a8dad42954
2 changed files with 11 additions and 3 deletions
|
|
@ -15,6 +15,8 @@ check_include_file(unistd.h HAVE_UNISTD_H) # dbus-sysdeps-util-win.c
|
|||
check_include_file(stdio.h HAVE_STDIO_H) # dbus-sysdeps.h
|
||||
check_include_file(sys/syslimits.h HAVE_SYS_SYSLIMITS_H) # dbus-sysdeps-unix.c
|
||||
check_include_file(errno.h HAVE_ERRNO_H) # dbus-sysdeps.c
|
||||
check_include_file(signal.h HAVE_SIGNAL_H)
|
||||
check_include_file(locale.h HAVE_LOCALE_H)
|
||||
|
||||
check_symbol_exists(backtrace "execinfo.h" HAVE_BACKTRACE) # dbus-sysdeps.c, dbus-sysdeps-win.c
|
||||
check_symbol_exists(getgrouplist "grp.h" HAVE_GETGROUPLIST) # dbus-sysdeps.c
|
||||
|
|
|
|||
|
|
@ -120,15 +120,21 @@
|
|||
/* Define to 1 if you have unistd.h */
|
||||
#cmakedefine HAVE_UNISTD_H 1
|
||||
|
||||
/* Define to 1 if you have errno.h */
|
||||
#cmakedefine HAVE_ERRNO_H 1
|
||||
|
||||
/* Define to 1 if you have stdio.h */
|
||||
#cmakedefine HAVE_STDIO_H 1
|
||||
|
||||
/* Define to 1 if you have sys/syslimits.h */
|
||||
#cmakedefine HAVE_SYS_SYSLIMITS_H 1
|
||||
|
||||
/* Define to 1 if you have errno.h */
|
||||
#cmakedefine HAVE_ERRNO_H 1
|
||||
|
||||
/* Define to 1 if you have signal.h */
|
||||
#cmakedefine HAVE_SIGNAL_H 1
|
||||
|
||||
/* Define to 1 if you have locale.h */
|
||||
#cmakedefine HAVE_LOCALE_H 1
|
||||
|
||||
// symbols
|
||||
/* Define to 1 if you have backtrace */
|
||||
#cmakedefine HAVE_BACKTRACE 1
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue