summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2016-06-16 15:59:28 +0200
committerStefan Schmidt <stefan@osg.samsung.com>2016-06-16 15:59:28 +0200
commitde0d69ea2dc525b3bad57e67fe81e2044133f4ff (patch)
tree8985fe3cb0ebfef7f7fcb501eccd5a9bf9e921ff /configure.ac
parentce62a8efdfdd827a5356922d5bcb4c8adfab41ba (diff)
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
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac15
1 files changed, 15 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index bff3913..666f39b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2326,6 +2326,7 @@ case "$host_os" in
2326 want_spectre="no" 2326 want_spectre="no"
2327 want_libraw="no" 2327 want_libraw="no"
2328 want_rsvg="no" 2328 want_rsvg="no"
2329 want_xcf="no"
2329 ;; 2330 ;;
2330 cygwin*) 2331 cygwin*)
2331 want_generic="no" 2332 want_generic="no"
@@ -2333,6 +2334,7 @@ case "$host_os" in
2333 want_spectre="no" 2334 want_spectre="no"
2334 want_libraw="no" 2335 want_libraw="no"
2335 want_rsvg="no" 2336 want_rsvg="no"
2337 want_xcf="no"
2336 ;; 2338 ;;
2337 *) 2339 *)
2338 want_generic="static" 2340 want_generic="static"
@@ -2340,6 +2342,7 @@ case "$host_os" in
2340 want_spectre="yes" 2342 want_spectre="yes"
2341 want_libraw="yes" 2343 want_libraw="yes"
2342 want_rsvg="yes" 2344 want_rsvg="yes"
2345 want_xcf="yes"
2343 ;; 2346 ;;
2344esac 2347esac
2345 2348
@@ -2879,6 +2882,16 @@ AC_ARG_ENABLE([librsvg],
2879 fi 2882 fi
2880 ]) 2883 ])
2881 2884
2885AC_ARG_ENABLE([xcf],
2886 [AS_HELP_STRING([--disable-xcf],[disable xcf support. @<:@default=enabled@:>@])],
2887 [
2888 if test "x${enableval}" = "xyes" ; then
2889 want_xcf="yes"
2890 else
2891 want_xcf="no"
2892 fi
2893 ])
2894
2882have_poppler="no" 2895have_poppler="no"
2883have_spectre="no" 2896have_spectre="no"
2884have_raw="no" 2897have_raw="no"
@@ -2912,11 +2925,13 @@ AM_CONDITIONAL([HAVE_POPPLER], [test "x${have_poppler}" = "xyes"])
2912AM_CONDITIONAL([HAVE_SPECTRE], [test "x${have_spectre}" = "xyes"]) 2925AM_CONDITIONAL([HAVE_SPECTRE], [test "x${have_spectre}" = "xyes"])
2913AM_CONDITIONAL([HAVE_LIBRAW], [test "x${have_raw}" = "xyes"]) 2926AM_CONDITIONAL([HAVE_LIBRAW], [test "x${have_raw}" = "xyes"])
2914AM_CONDITIONAL([HAVE_RSVG], [test "x${have_rsvg}" = "xyes"]) 2927AM_CONDITIONAL([HAVE_RSVG], [test "x${have_rsvg}" = "xyes"])
2928AM_CONDITIONAL([HAVE_XCF], [test "x${want_xcf}" = "xyes"])
2915 2929
2916EFL_ADD_FEATURE([EVAS_LOADER], [poppler], [${have_poppler}]) 2930EFL_ADD_FEATURE([EVAS_LOADER], [poppler], [${have_poppler}])
2917EFL_ADD_FEATURE([EVAS_LOADER], [spectre], [${have_spectre}]) 2931EFL_ADD_FEATURE([EVAS_LOADER], [spectre], [${have_spectre}])
2918EFL_ADD_FEATURE([EVAS_LOADER], [raw], [${have_raw}]) 2932EFL_ADD_FEATURE([EVAS_LOADER], [raw], [${have_raw}])
2919EFL_ADD_FEATURE([EVAS_LOADER], [rsvg], [${have_rsvg}]) 2933EFL_ADD_FEATURE([EVAS_LOADER], [rsvg], [${have_rsvg}])
2934EFL_ADD_FEATURE([EVAS_LOADER], [xcf], [${want_xcf}])
2920 2935
2921EFL_LIB_END([Evas]) 2936EFL_LIB_END([Evas])
2922#### End of Evas 2937#### End of Evas