[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r26227 - gnunet
From: |
gnunet |
Subject: |
[GNUnet-SVN] r26227 - gnunet |
Date: |
Wed, 27 Feb 2013 22:24:04 +0100 |
Author: harsha
Date: 2013-02-27 22:24:04 +0100 (Wed, 27 Feb 2013)
New Revision: 26227
Modified:
gnunet/configure.ac
Log:
define WITH_LL only if libllapi is found
Modified: gnunet/configure.ac
===================================================================
--- gnunet/configure.ac 2013-02-27 18:51:30 UTC (rev 26226)
+++ gnunet/configure.ac 2013-02-27 21:24:04 UTC (rev 26227)
@@ -994,7 +994,19 @@
],
[AC_MSG_RESULT(--with-ll not specified)])
AM_CONDITIONAL([WITH_LL], [test "x$llapi" = "xtrue"])
-AC_DEFINE_UNQUOTED(WITH_LL, $llapi, [Do we have to use IBM LoadLeveler])
+if test "x$llapi" = "xtrue"
+then
+ AC_DEFINE_UNQUOTED([WITH_LL], [$llapi], [Do we have to use IBM LoadLeveler])
+ AC_CHECK_HEADERS([pwd.h],
+ AC_CHECK_LIB([c],[getpwuid],,
+ AC_MSG_ERROR(getpwid function not available in libc but is required)),
+ AC_MSG_ERROR(pwd.h not found but is required),
+ [[
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+ #endif
+ ]])
+fi
# should 'make check' run tests?
AC_MSG_CHECKING(whether to run tests)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r26227 - gnunet,
gnunet <=