forked from enlightenment/efl
as per leif's patch - make the clearenv check nicer.
SVN revision: 76213
This commit is contained in:
parent
5b2d6ee087
commit
baacb828c0
|
@ -201,6 +201,7 @@ if test "x$want_quicklaunch" != "xno"; then
|
|||
have_fork="yes"
|
||||
AC_DEFINE(HAVE_FORK)
|
||||
])
|
||||
AC_CHECK_FUNCS([clearenv])
|
||||
fi
|
||||
AM_CONDITIONAL([BUILD_QUICKLAUNCH], [test "x$have_fork" = "xyes" && test "x$have_dlopen" = "xyes"])
|
||||
|
||||
|
@ -732,14 +733,6 @@ extern char **environ;
|
|||
AC_DEFINE(HAVE_ENVIRON, 1, [extern environ exists])
|
||||
])
|
||||
|
||||
AC_TRY_COMPILE([
|
||||
#include <stdlib.h>
|
||||
], [
|
||||
clearenv();
|
||||
], [
|
||||
AC_DEFINE(HAVE_CLEARENV, 1, [extern environ exists])
|
||||
])
|
||||
|
||||
AC_OUTPUT([
|
||||
Makefile
|
||||
elementary.spec
|
||||
|
|
Loading…
Reference in New Issue