Embryo:
* 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:
parent
20544d65df
commit
019e86347b
|
@ -97,7 +97,7 @@ AC_SUBST(pkgconfig_requires_private)
|
||||||
|
|
||||||
EFL_EMBRYO_BUILD=""
|
EFL_EMBRYO_BUILD=""
|
||||||
case "$host_os" in
|
case "$host_os" in
|
||||||
mingw* | cegcc*)
|
mingw*)
|
||||||
PKG_CHECK_MODULES([EVIL], [evil])
|
PKG_CHECK_MODULES([EVIL], [evil])
|
||||||
AC_DEFINE(HAVE_EVIL, 1, [Set to 1 if Evil library is installed])
|
AC_DEFINE(HAVE_EVIL, 1, [Set to 1 if Evil library is installed])
|
||||||
requirement_embryo="evil ${requirement_embryo}"
|
requirement_embryo="evil ${requirement_embryo}"
|
||||||
|
@ -106,10 +106,12 @@ case "$host_os" in
|
||||||
esac
|
esac
|
||||||
AC_SUBST(EFL_EMBRYO_BUILD)
|
AC_SUBST(EFL_EMBRYO_BUILD)
|
||||||
|
|
||||||
|
# For embryo_cc_prefix.c
|
||||||
PKG_CHECK_MODULES([EINA], [eina >= 1.0.999])
|
PKG_CHECK_MODULES([EINA], [eina >= 1.0.999])
|
||||||
|
|
||||||
### Checks for header files
|
### Checks for header files
|
||||||
|
|
||||||
|
AC_CHECK_HEADERS([unistd.h])
|
||||||
EFL_CHECK_PATH_MAX
|
EFL_CHECK_PATH_MAX
|
||||||
|
|
||||||
|
|
||||||
|
@ -134,10 +136,6 @@ case "$host_os" in
|
||||||
mingw32ce*)
|
mingw32ce*)
|
||||||
EMBRYO_CPPFLAGS="-D_WIN32_WCE=0x0420"
|
EMBRYO_CPPFLAGS="-D_WIN32_WCE=0x0420"
|
||||||
;;
|
;;
|
||||||
cegcc*)
|
|
||||||
EMBRYO_CPPFLAGS="-D_WIN32_WCE=0x0420"
|
|
||||||
EMBRYO_CFLAGS="-mwin32"
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
AC_SUBST(EMBRYO_CPPFLAGS)
|
AC_SUBST(EMBRYO_CPPFLAGS)
|
||||||
AC_SUBST(EMBRYO_CFLAGS)
|
AC_SUBST(EMBRYO_CFLAGS)
|
||||||
|
@ -147,7 +145,7 @@ AC_SUBST(EMBRYO_CFLAGS)
|
||||||
|
|
||||||
lt_enable_auto_import=""
|
lt_enable_auto_import=""
|
||||||
case "$host_os" in
|
case "$host_os" in
|
||||||
mingw* | cegcc*)
|
mingw*)
|
||||||
lt_enable_auto_import="-Wl,--enable-auto-import"
|
lt_enable_auto_import="-Wl,--enable-auto-import"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
@ -165,8 +163,8 @@ AC_FUNC_ALLOCA
|
||||||
EFL_CHECK_FNMATCH([], [AC_MSG_ERROR([Cannot find fnmatch()])])
|
EFL_CHECK_FNMATCH([], [AC_MSG_ERROR([Cannot find fnmatch()])])
|
||||||
|
|
||||||
case "$host_os" in
|
case "$host_os" in
|
||||||
mingw* | cegcc*)
|
mingw*)
|
||||||
AC_DEFINE(HAVE_GETTIMEOFDAY, 1, [Defined to 1 (MinGW / CeGCC platform)])
|
AC_DEFINE(HAVE_GETTIMEOFDAY, 1, [Defined to 1 (MinGW platform)])
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
AC_CHECK_FUNCS(gettimeofday)
|
AC_CHECK_FUNCS(gettimeofday)
|
||||||
|
|
|
@ -2,33 +2,6 @@
|
||||||
# include <config.h>
|
# include <config.h>
|
||||||
#endif
|
#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 <Eina.h>
|
||||||
|
|
||||||
#include "embryo_cc_prefix.h"
|
#include "embryo_cc_prefix.h"
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#ifndef _MSC_VER
|
#ifdef HAVE_UNISTD_H
|
||||||
# include <unistd.h>
|
# include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#ifndef _MSC_VER
|
#ifdef HAVE_UNISTD_H
|
||||||
# include <unistd.h>
|
# include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue