gdm r6154 - trunk



Author: bcameron
Date: Wed Apr 16 03:41:27 2008
New Revision: 6154
URL: http://svn.gnome.org/viewvc/gdm?rev=6154&view=rev

Log:
2008-04-15  Brian Cameron  <brian cameron sun com>

        * configure.ac: Add "#define _POSIX_PTHREAD_SEMANTICS" to
          test for POSIX getpwnam_r.  This is needed to be able
          to identify that Solaris does have the POSIX version of
          this function.  Otherwise the build fails when building
          gdm-session-worker.c, which uses this function.


Modified:
   trunk/ChangeLog
   trunk/configure.ac

Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac	(original)
+++ trunk/configure.ac	Wed Apr 16 03:41:27 2008
@@ -496,6 +496,7 @@
 		ac_cv_func_posix_getpwnam_r,
 		[AC_RUN_IFELSE([AC_LANG_PROGRAM(
 [[
+#define _POSIX_PTHREAD_SEMANTICS
 #include <errno.h>
 #include <pwd.h>
 ]],



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]