eina: follow Vincent advice.
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 5 Dec 2011 14:25:25 +0000 (14:25 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 5 Dec 2011 14:25:25 +0000 (14:25 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@65905 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

configure.ac
src/lib/eina_file.c

index 580774e..decd530 100644 (file)
@@ -371,14 +371,6 @@ if test "x${ac_cv_header_inttypes_h}" = "xyes" ; then
 fi
 AC_SUBST([EINA_CONFIGURE_HAVE_STDINT_H])
 
-if test "x${ac_cv_header_strings_h}" = "xyes" ; then
-    AC_DEFINE([HAVE_STRINGS_H], [1], [Define to 1 if you have the <strings.h> header file.])
-fi
-
-if test "x${ac_cv_header_sys_mman_h}" = "xyes" ; then
-    AC_DEFINE([HAVE_MMAN_H], [1], [Define to 1 if you have the <sys/mman.h> header file.])
-fi
-
 ### Checks for types
 
 AC_CHECK_SIZEOF([wchar_t])
index bc0632c..f5df52e 100644 (file)
@@ -46,7 +46,7 @@ void *alloca (size_t);
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <unistd.h>
-#ifdef HAVE_MMAN_H
+#ifdef HAVE_SYS_MMAN_H
 # include <sys/mman.h>
 #endif
 #include <fcntl.h>