summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2012-10-10 20:00:43 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2012-10-10 20:00:43 +0000
commit06e48b4296b7f09da6be3592b8cf0ccdccf64883 (patch)
tree1285223f24d58ad35da6d73afe1aee36535d5cfd /configure.ac
parent4d35e4ca03005d2f7fcf75caa877deb804d2f48a (diff)
checking for NULL=0 is too much.
particularly if all you do is warning, the whole EFL would stop working due our "if (ptr)" checks. SVN revision: 77793
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac24
1 files changed, 0 insertions, 24 deletions
diff --git a/configure.ac b/configure.ac
index 738a08cea9..abef03ae78 100644
--- a/configure.ac
+++ b/configure.ac
@@ -726,30 +726,6 @@ AC_CHECK_HEADERS(netinet/in.h unistd.h)
726 726
727### Checks for compiler characteristics 727### Checks for compiler characteristics
728 728
729# Check whether the null pointer is zero on this arch
730AC_TRY_RUN(
731 [
732#include <stdlib.h>
733#include <inttypes.h>
734int main (int argc, char **argv) {
735 void *foo = NULL;
736 uintptr_t bar = (uintptr_t)foo;
737 return (uintptr_t)foo;
738}
739 ],
740 [have_null="yes"],
741 [have_null="no"],
742 [
743 AC_MSG_WARN([Cannot check when cross-compiling -- assuming null is okay])
744 have_null="yes"
745 ])
746AC_MSG_CHECKING([value of the null pointer])
747AC_MSG_RESULT([${have_null}])
748
749if test ! "x${have_null}" = "xyes" ; then
750 AC_MSG_WARN([Your system is a bit too funny, eet might not work properly])
751fi
752
753EFL_CHECK_COMPILER_FLAGS([EET], [-Wshadow -Wpointer-arith]) 729EFL_CHECK_COMPILER_FLAGS([EET], [-Wshadow -Wpointer-arith])
754 730
755### Checks for linker characteristics 731### Checks for linker characteristics