From: Ralf Habacker Date: Mon, 22 Mar 2010 14:49:30 +0000 (+0100) Subject: Added signal.h and locale.h detection for cmake build system. X-Git-Tag: dbus-1.3.1~78 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a8dad42954999447badb88a25e9f86759840c042;p=thirdparty%2Fdbus.git Added signal.h and locale.h detection for cmake build system. --- diff --git a/cmake/ConfigureChecks.cmake b/cmake/ConfigureChecks.cmake index 35f3e1f93..c4e335944 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 bc40ec29b..2313dd2ce 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