forked from enlightenment/efl
autotools: detect cross compilation.
This commit is contained in:
parent
6f85993602
commit
5ea8c8cc4d
|
@ -283,6 +283,8 @@ AC_LANG(C)
|
|||
AC_PROG_CC_C99
|
||||
AM_PROG_CC_C_O
|
||||
|
||||
AM_CONDITIONAL([BUILD_EFL_NATIVE], [test "x${cross_compiling}" = "xno"])
|
||||
|
||||
if test "x${ac_cv_prog_cc_c99}" = "xno" ; then
|
||||
AC_MSG_ERROR([efl requires a c99-capable compiler])
|
||||
fi
|
||||
|
|
|
@ -39,7 +39,7 @@ DATADIR = ${abs_top_srcdir}/doc/previews/img
|
|||
HTMLDIR = ${abs_top_srcdir}/doc/html
|
||||
|
||||
PREVIEWS = blend blur bump curve grow mask transform \
|
||||
example_1
|
||||
example_1
|
||||
|
||||
previews-data: preview_text_filter
|
||||
$(MKDIR_P) $(DATADIR)
|
||||
|
@ -56,7 +56,10 @@ previews-data: preview_text_filter
|
|||
cp "$(DATADIR)/filter_$${a}.png" "$(HTMLDIR)/" ; \
|
||||
done
|
||||
|
||||
if BUILD_EFL_NATIVE
|
||||
doc: Makefile previews-data
|
||||
endif
|
||||
|
||||
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue