Revision: 4263
          http://tigervnc.svn.sourceforge.net/tigervnc/?rev=4263&view=rev
Author:   dcommander
Date:     2011-02-08 23:43:17 +0000 (Tue, 08 Feb 2011)

Log Message:
-----------
Check for the existence of setenv() in the system libraries and use the system 
version if it exists.  This prevents "error: declaration of setenv() throws 
different exceptions" when building on certain Linux platforms.

Modified Paths:
--------------
    trunk/configure.ac

Modified: trunk/configure.ac
===================================================================
--- trunk/configure.ac  2011-02-08 18:16:47 UTC (rev 4262)
+++ trunk/configure.ac  2011-02-08 23:43:17 UTC (rev 4263)
@@ -173,6 +173,8 @@
 AC_LANG_RESTORE
 AC_SUBST(INET_LIB)
 
+AC_CHECK_FUNC(setenv, AC_DEFINE([HAVE_SETENV], [1], [Is setenv() present?]))
+
 dnl Check for zlib library
 INCLUDED_ZLIB=no
 AC_ARG_WITH([included-zlib],


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Tigervnc-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tigervnc-commits

Reply via email to