forked from enlightenment/efl
Disable XCF module on Windows
Summary: This fixes compilation on Windows: timeout.c is using SIGALRM which is unavailable on Windows Test Plan: compilation Reviewers: cedric, jpeg, stefan_schmidt Differential Revision: https://phab.enlightenment.org/D4058
This commit is contained in:
parent
ce62a8efdf
commit
de0d69ea2d
15
configure.ac
15
configure.ac
|
@ -2326,6 +2326,7 @@ case "$host_os" in
|
||||||
want_spectre="no"
|
want_spectre="no"
|
||||||
want_libraw="no"
|
want_libraw="no"
|
||||||
want_rsvg="no"
|
want_rsvg="no"
|
||||||
|
want_xcf="no"
|
||||||
;;
|
;;
|
||||||
cygwin*)
|
cygwin*)
|
||||||
want_generic="no"
|
want_generic="no"
|
||||||
|
@ -2333,6 +2334,7 @@ case "$host_os" in
|
||||||
want_spectre="no"
|
want_spectre="no"
|
||||||
want_libraw="no"
|
want_libraw="no"
|
||||||
want_rsvg="no"
|
want_rsvg="no"
|
||||||
|
want_xcf="no"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
want_generic="static"
|
want_generic="static"
|
||||||
|
@ -2340,6 +2342,7 @@ case "$host_os" in
|
||||||
want_spectre="yes"
|
want_spectre="yes"
|
||||||
want_libraw="yes"
|
want_libraw="yes"
|
||||||
want_rsvg="yes"
|
want_rsvg="yes"
|
||||||
|
want_xcf="yes"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
@ -2879,6 +2882,16 @@ AC_ARG_ENABLE([librsvg],
|
||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
|
|
||||||
|
AC_ARG_ENABLE([xcf],
|
||||||
|
[AS_HELP_STRING([--disable-xcf],[disable xcf support. @<:@default=enabled@:>@])],
|
||||||
|
[
|
||||||
|
if test "x${enableval}" = "xyes" ; then
|
||||||
|
want_xcf="yes"
|
||||||
|
else
|
||||||
|
want_xcf="no"
|
||||||
|
fi
|
||||||
|
])
|
||||||
|
|
||||||
have_poppler="no"
|
have_poppler="no"
|
||||||
have_spectre="no"
|
have_spectre="no"
|
||||||
have_raw="no"
|
have_raw="no"
|
||||||
|
@ -2912,11 +2925,13 @@ AM_CONDITIONAL([HAVE_POPPLER], [test "x${have_poppler}" = "xyes"])
|
||||||
AM_CONDITIONAL([HAVE_SPECTRE], [test "x${have_spectre}" = "xyes"])
|
AM_CONDITIONAL([HAVE_SPECTRE], [test "x${have_spectre}" = "xyes"])
|
||||||
AM_CONDITIONAL([HAVE_LIBRAW], [test "x${have_raw}" = "xyes"])
|
AM_CONDITIONAL([HAVE_LIBRAW], [test "x${have_raw}" = "xyes"])
|
||||||
AM_CONDITIONAL([HAVE_RSVG], [test "x${have_rsvg}" = "xyes"])
|
AM_CONDITIONAL([HAVE_RSVG], [test "x${have_rsvg}" = "xyes"])
|
||||||
|
AM_CONDITIONAL([HAVE_XCF], [test "x${want_xcf}" = "xyes"])
|
||||||
|
|
||||||
EFL_ADD_FEATURE([EVAS_LOADER], [poppler], [${have_poppler}])
|
EFL_ADD_FEATURE([EVAS_LOADER], [poppler], [${have_poppler}])
|
||||||
EFL_ADD_FEATURE([EVAS_LOADER], [spectre], [${have_spectre}])
|
EFL_ADD_FEATURE([EVAS_LOADER], [spectre], [${have_spectre}])
|
||||||
EFL_ADD_FEATURE([EVAS_LOADER], [raw], [${have_raw}])
|
EFL_ADD_FEATURE([EVAS_LOADER], [raw], [${have_raw}])
|
||||||
EFL_ADD_FEATURE([EVAS_LOADER], [rsvg], [${have_rsvg}])
|
EFL_ADD_FEATURE([EVAS_LOADER], [rsvg], [${have_rsvg}])
|
||||||
|
EFL_ADD_FEATURE([EVAS_LOADER], [xcf], [${want_xcf}])
|
||||||
|
|
||||||
EFL_LIB_END([Evas])
|
EFL_LIB_END([Evas])
|
||||||
#### End of Evas
|
#### End of Evas
|
||||||
|
|
|
@ -2532,6 +2532,8 @@ endif
|
||||||
|
|
||||||
EXTRA_DIST2 += generic/evas/xcf/common.h
|
EXTRA_DIST2 += generic/evas/xcf/common.h
|
||||||
|
|
||||||
|
if HAVE_XCF
|
||||||
|
|
||||||
evasgenericloaders_PROGRAMS += generic/evas/xcf/evas_image_loader.xcf
|
evasgenericloaders_PROGRAMS += generic/evas/xcf/evas_image_loader.xcf
|
||||||
|
|
||||||
generic_evas_xcf_evas_image_loader_xcf_SOURCES = \
|
generic_evas_xcf_evas_image_loader_xcf_SOURCES = \
|
||||||
|
@ -2550,3 +2552,5 @@ generic_evas_xcf_evas_image_loader_xcf_DEPENDENCIES = @USE_EINA_INTERNAL_LIBS@
|
||||||
EFL_INSTALL_EXEC_HOOK += \
|
EFL_INSTALL_EXEC_HOOK += \
|
||||||
mkdir -p $(DESTDIR)$(libdir)/evas/utils; \
|
mkdir -p $(DESTDIR)$(libdir)/evas/utils; \
|
||||||
ln -sf evas_image_loader.xcf $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.xcf.gz;
|
ln -sf evas_image_loader.xcf $(DESTDIR)$(libdir)/evas/utils/evas_image_loader.xcf.gz;
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
Loading…
Reference in New Issue