]> source.dussan.org Git - tigervnc.git/commitdiff
Check for the existence of setenv() in the system libraries and use the system versio...
authorDRC <dcommander@users.sourceforge.net>
Tue, 8 Feb 2011 23:43:17 +0000 (23:43 +0000)
committerDRC <dcommander@users.sourceforge.net>
Tue, 8 Feb 2011 23:43:17 +0000 (23:43 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4263 3789f03b-4d11-0410-bbf8-ca57d06f2519

configure.ac

index 1ac635139fa0b2a77cbe345e6e5ab6686a0769b4..d13ecbdde79596ec3c990f12f8666de79ab647ef 100644 (file)
@@ -173,6 +173,8 @@ fi
 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],