* remove all occurences of cegcc (not supported anymore)
* fix unistd.h guards
* remove useless headers in embryo_cc_prefix.c

SVN revision: 61433
This commit is contained in:
Vincent Torri 2011-07-16 23:19:02 +00:00
parent 20544d65df
commit 019e86347b
4 changed files with 8 additions and 37 deletions

View File

@ -97,7 +97,7 @@ AC_SUBST(pkgconfig_requires_private)
EFL_EMBRYO_BUILD=""
case "$host_os" in
mingw* | cegcc*)
mingw*)
PKG_CHECK_MODULES([EVIL], [evil])
AC_DEFINE(HAVE_EVIL, 1, [Set to 1 if Evil library is installed])
requirement_embryo="evil ${requirement_embryo}"
@ -106,10 +106,12 @@ case "$host_os" in
esac
AC_SUBST(EFL_EMBRYO_BUILD)
# For embryo_cc_prefix.c
PKG_CHECK_MODULES([EINA], [eina >= 1.0.999])
### Checks for header files
AC_CHECK_HEADERS([unistd.h])
EFL_CHECK_PATH_MAX
@ -134,10 +136,6 @@ case "$host_os" in
mingw32ce*)
EMBRYO_CPPFLAGS="-D_WIN32_WCE=0x0420"
;;
cegcc*)
EMBRYO_CPPFLAGS="-D_WIN32_WCE=0x0420"
EMBRYO_CFLAGS="-mwin32"
;;
esac
AC_SUBST(EMBRYO_CPPFLAGS)
AC_SUBST(EMBRYO_CFLAGS)
@ -147,7 +145,7 @@ AC_SUBST(EMBRYO_CFLAGS)
lt_enable_auto_import=""
case "$host_os" in
mingw* | cegcc*)
mingw*)
lt_enable_auto_import="-Wl,--enable-auto-import"
;;
esac
@ -165,8 +163,8 @@ AC_FUNC_ALLOCA
EFL_CHECK_FNMATCH([], [AC_MSG_ERROR([Cannot find fnmatch()])])
case "$host_os" in
mingw* | cegcc*)
AC_DEFINE(HAVE_GETTIMEOFDAY, 1, [Defined to 1 (MinGW / CeGCC platform)])
mingw*)
AC_DEFINE(HAVE_GETTIMEOFDAY, 1, [Defined to 1 (MinGW platform)])
;;
*)
AC_CHECK_FUNCS(gettimeofday)

View File

@ -2,33 +2,6 @@
# include <config.h>
#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <dirent.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <math.h>
#include <fnmatch.h>
#include <limits.h>
#include <ctype.h>
#include <time.h>
#include <dirent.h>
#ifndef _MSC_VER
# include <unistd.h>
# include <sys/param.h>
#endif
#ifdef HAVE_EVIL
# include <Evil.h> /* for realpath */
#else
# include <pwd.h>
# include <grp.h>
# include <glob.h>
#endif /* ! HAVE_EVIL */
#include <Eina.h>
#include "embryo_cc_prefix.h"

View File

@ -34,7 +34,7 @@
#include <stdlib.h>
#include <string.h>
#ifndef _MSC_VER
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif

View File

@ -32,7 +32,7 @@
#include <stdarg.h>
#include <string.h>
#ifndef _MSC_VER
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif