[svn] gpgme - r1219 - trunk
svn author marcus
cvs at cvs.gnupg.org
Wed Jul 4 22:03:07 CEST 2007
Author: marcus
Date: 2007-07-04 22:02:38 +0200 (Wed, 04 Jul 2007)
New Revision: 1219
Modified:
trunk/ChangeLog
trunk/configure.ac
Log:
2007-07-04 Marcus Brinkmann <marcus at g10code.de>
* autogen.sh: Use = not == in test.
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2007-06-29 14:41:35 UTC (rev 1218)
+++ trunk/ChangeLog 2007-07-04 20:02:38 UTC (rev 1219)
@@ -1,3 +1,7 @@
+2007-07-04 Marcus Brinkmann <marcus at g10code.de>
+
+ * autogen.sh: Use = not == in test.
+
2007-03-05 Werner Koch <wk at g10code.com>
Released 1.1.4.
Modified: trunk/configure.ac
===================================================================
--- trunk/configure.ac 2007-06-29 14:41:35 UTC (rev 1218)
+++ trunk/configure.ac 2007-07-04 20:02:38 UTC (rev 1219)
@@ -538,6 +538,22 @@
[Defined if descriptor passing is enabled and supported])
AM_CONDITIONAL(USE_DESCRIPTOR_PASSING, test "$use_descriptor_passing" = "yes")
+# Assuan check for the getsockopt SO_PEERCRED
+AC_MSG_CHECKING(for SO_PEERCRED)
+AC_CACHE_VAL(assuan_cv_sys_so_peercred,
+ [AC_TRY_COMPILE([#include <sys/socket.h>],
+ [struct ucred cr;
+ int cl = sizeof cr;
+ getsockopt (1, SOL_SOCKET, SO_PEERCRED, &cr, &cl);],
+ assuan_cv_sys_so_peercred=yes,
+ assuan_cv_sys_so_peercred=no)
+ ])
+AC_MSG_RESULT($assuan_cv_sys_so_peercred)
+if test $assuan_cv_sys_so_peercred = yes; then
+ AC_DEFINE(HAVE_SO_PEERCRED, 1,
+ [Defined if SO_PEERCRED is supported (Linux specific)])
+fi
+
# End of assuan checks.
AM_CONDITIONAL(BUILD_COMPLUS, test "$component_system" = "COM+")
More information about the Gnupg-commits
mailing list