* eio: make it compile on Windows. Thanks Vincent !

SVN revision: 51955
This commit is contained in:
Cedric BAIL 2010-09-07 15:47:11 +00:00
parent 0a4134fd5f
commit bf9609ebff
2 changed files with 10 additions and 1 deletions

View File

@ -97,6 +97,14 @@ AC_C___ATTRIBUTE__
AC_PROG_CC_STDC
AM_PROG_CC_C_O
EFL_EIO_BUILD=""
case "$host_os" in
mingw*)
EFL_EIO_BUILD="-DEFL_EIO_BUILD"
;;
esac
AC_SUBST(EFL_EIO_BUILD)
### Checks for library functions
AC_FUNC_ALLOCA
AC_CHECK_FUNCS(strlcpy)

View File

@ -1,6 +1,7 @@
MAINTAINERCLEANFILES = Makefile.in
AM_CPPFLAGS = @EIO_CFLAGS@
AM_CPPFLAGS = @EIO_CFLAGS@ \
@EFL_EIO_BUILD@
AM_CFLAGS = @EIO_CFLAGS@
lib_LTLIBRARIES = libeio.la