add missing check for setenv: environment.cpp and POSIX standards prefer setenv

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35194 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Stephan Witt 2010-08-25 05:57:06 +00:00
parent d0f8cf1018
commit f494131d06
3 changed files with 3 additions and 0 deletions

View File

@ -55,6 +55,7 @@ check_function_exists(gettext HAVE_GETTEXT)
check_function_exists(_getpid HAVE__GETPID)
check_function_exists(mkdir HAVE_MKDIR)
check_function_exists(_mkdir HAVE__MKDIR)
check_function_exists(setenv HAVE_SETENV)
check_function_exists(putenv HAVE_PUTENV)
check_function_exists(fcntl HAVE_FCNTL)
check_function_exists(strerror HAVE_STRERROR)

View File

@ -45,6 +45,7 @@
#cmakedefine HAVE_MKDIR 1
#cmakedefine HAVE__MKDIR 1
#cmakedefine HAVE_PUTENV 1
#cmakedefine HAVE_SETENV 1
#cmakedefine HAVE_STRERROR 1
#cmakedefine HAVE_STD_COUNT 1
#cmakedefine HAVE_ASPRINTF 1

View File

@ -45,6 +45,7 @@
#define HAVE__GETPID 1
#define HAVE_MKDIR 1
#define HAVE__MKDIR 1
#define HAVE_SETENV 1
#define HAVE_PUTENV 1
#define HAVE_MKTEMP 1
/* #undef HAVE_MKSTEMP 1 */