projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d75643
)
as per leif's patch - make the clearenv check nicer.
author
Carsten Haitzler
<raster@rasterman.com>
Thu, 6 Sep 2012 02:45:34 +0000
(
02:45
+0000)
committer
Carsten Haitzler
<raster@rasterman.com>
Thu, 6 Sep 2012 02:45:34 +0000
(
02:45
+0000)
SVN revision: 76213
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
efffcf7
..
7187c1c
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-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