diff options
author | Ralf Habacker <ralf.habacker@freenet.de> | 2010-03-22 15:49:30 +0100 |
---|---|---|
committer | Ralf Habacker <ralf.habacker@freenet.de> | 2010-03-22 17:28:56 +0100 |
commit | a8dad42954999447badb88a25e9f86759840c042 (patch) | |
tree | 2e52ded03f1ca00e4f782ef67ef65fa68d2196ae | |
parent | 01d9d169f36fcbe4888a9c57173538cba57b2f68 (diff) | |
download | dbus-a8dad42954999447badb88a25e9f86759840c042.tar.gz |
Added signal.h and locale.h detection for cmake build system.
-rw-r--r-- | cmake/ConfigureChecks.cmake | 2 | ||||
-rw-r--r-- | cmake/config.h.cmake | 12 |
2 files changed, 11 insertions, 3 deletions
diff --git a/cmake/ConfigureChecks.cmake b/cmake/ConfigureChecks.cmake index 35f3e1f9..c4e33594 100644 --- a/cmake/ConfigureChecks.cmake +++ b/cmake/ConfigureChecks.cmake @@ -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 diff --git a/cmake/config.h.cmake b/cmake/config.h.cmake index bc40ec29..2313dd2c 100644 --- a/cmake/config.h.cmake +++ b/cmake/config.h.cmake @@ -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 |