Add configure check for setenv()

git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@381 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
Kevin Easton
2013-10-09 20:08:17 +00:00
parent 8c618b82fc
commit 040c6abbe4

View File

@@ -202,7 +202,7 @@ if test x"$cross_compiling" != x"yes"; then
AC_FUNC_SETPGRP AC_FUNC_SETPGRP
fi fi
AC_FUNC_STRFTIME AC_FUNC_STRFTIME
AC_CHECK_FUNCS(socket gethostname gettimeofday strtoul strlcpy strlcat stpcpy vsnprintf snprintf setsid strerror uname getrusage sysconf getpgid killpg getlogin realpath fchdir getpass fpathconf getpwent setvbuf select mkstemp memmove scandir) AC_CHECK_FUNCS(socket gethostname gettimeofday strtoul strlcpy strlcat stpcpy vsnprintf snprintf setsid strerror uname getrusage sysconf getpgid killpg getlogin realpath fchdir getpass fpathconf getpwent setvbuf select mkstemp memmove scandir setenv)
dnl Need these for Solaris dnl Need these for Solaris
AC_CHECK_FUNC(gethostbyname,, AC_CHECK_FUNC(gethostbyname,,
AC_CHECK_LIB(nsl, gethostbyname, LIBS="-lnsl $LIBS",)) AC_CHECK_LIB(nsl, gethostbyname, LIBS="-lnsl $LIBS",))