mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Fix compiling on platforms lacking setenv
Using autotools, the availability of putenv is not checked, so the macro HAVE_PUTENV is not defined and compiling stops with the error "No environment-setting function has been defined." Thus, also check for putenv.
This commit is contained in:
parent
16cdf70d0c
commit
b885b80bc0
@ -173,7 +173,7 @@ fi
|
|||||||
|
|
||||||
LYX_CHECK_DEF(PATH_MAX, limits.h, [int n = PATH_MAX;])
|
LYX_CHECK_DEF(PATH_MAX, limits.h, [int n = PATH_MAX;])
|
||||||
|
|
||||||
AC_CHECK_FUNCS(chmod close _close fork getpid _getpid lstat mkfifo open _open pclose _pclose popen _popen readlink setenv strerror unsetenv)
|
AC_CHECK_FUNCS(chmod close _close fork getpid _getpid lstat mkfifo open _open pclose _pclose popen _popen readlink putenv setenv strerror unsetenv)
|
||||||
# Check the form of mkdir()
|
# Check the form of mkdir()
|
||||||
AC_FUNC_MKDIR
|
AC_FUNC_MKDIR
|
||||||
AC_FUNC_SELECT_ARGTYPES
|
AC_FUNC_SELECT_ARGTYPES
|
||||||
|
Loading…
Reference in New Issue
Block a user