summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2013-05-30 23:31:32 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2013-05-30 23:31:32 +0200
commit2ff44b6face98cdf556412ce0266bc8c9ab3012e (patch)
tree247aa94d346966a32f5d66d34fda6d1e15c2c9aa /configure.ac
parent29a4edb27465a9db9d717642ff8fb36255e33d4f (diff)
image loaders m4: add ARG_ENABLE_EVAS_IMAGE_LOADER to rule them all
possibles values: yes | static | auto | no
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac77
1 files changed, 16 insertions, 61 deletions
diff --git a/configure.ac b/configure.ac
index b47c678..35f400c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1219,52 +1219,22 @@ AC_ARG_ENABLE([tile-rotate],
1219 [have_tile_rotate="no"]) 1219 [have_tile_rotate="no"])
1220 1220
1221 1221
1222# Loaders 1222# Image Loaders
1223 1223
1224AC_ARG_ENABLE([image-loader-gif], 1224ARG_ENABLE_EVAS_IMAGE_LOADER(BMP, static)
1225 [AC_HELP_STRING([--enable-image-loader-gif], [enable Gif image loader. @<:@default=enabled@:>@])], 1225ARG_ENABLE_EVAS_IMAGE_LOADER(Eet, static)
1226 [ 1226ARG_ENABLE_EVAS_IMAGE_LOADER(Generic, static)
1227 if test "x${enableval}" = "xyes" ; then 1227ARG_ENABLE_EVAS_IMAGE_LOADER(Gif, yes)
1228 want_evas_image_loader_gif="yes" 1228ARG_ENABLE_EVAS_IMAGE_LOADER(ICO, static)
1229 else 1229ARG_ENABLE_EVAS_IMAGE_LOADER(JPEG, static)
1230 if test "x${enableval}" = "xstatic" ; then 1230ARG_ENABLE_EVAS_IMAGE_LOADER(PMAPS, static)
1231 want_evas_image_loader_gif="static" 1231ARG_ENABLE_EVAS_IMAGE_LOADER(PNG, static)
1232 else 1232ARG_ENABLE_EVAS_IMAGE_LOADER(PSD, static)
1233 want_evas_image_loader_gif="no" 1233ARG_ENABLE_EVAS_IMAGE_LOADER(Tga, static)
1234 fi 1234ARG_ENABLE_EVAS_IMAGE_LOADER(Tiff, yes)
1235 fi 1235ARG_ENABLE_EVAS_IMAGE_LOADER(WBMP, static)
1236 ], 1236ARG_ENABLE_EVAS_IMAGE_LOADER(WEBP, no)
1237 [want_evas_image_loader_gif="yes"]) 1237ARG_ENABLE_EVAS_IMAGE_LOADER(XPM, static)
1238
1239AC_ARG_ENABLE([image-loader-tiff],
1240 [AC_HELP_STRING([--enable-image-loader-tiff], [enable Tiff image loader. @<:@default=enabled@:>@])],
1241 [
1242 if test "x${enableval}" = "xyes" ; then
1243 want_evas_image_loader_tiff="yes"
1244 else
1245 if test "x${enableval}" = "xstatic" ; then
1246 want_evas_image_loader_tiff="static"
1247 else
1248 want_evas_image_loader_tiff="no"
1249 fi
1250 fi
1251 ],
1252 [want_evas_image_loader_tiff="yes"])
1253
1254AC_ARG_ENABLE([image-loader-webp],
1255 [AC_HELP_STRING([--enable-image-loader-webp], [enable WEBP image loader. @<:@default=disabled@:>@])],
1256 [
1257 if test "x${enableval}" = "xyes" ; then
1258 want_evas_image_loader_webp="yes"
1259 else
1260 if test "x${enableval}" = "xstatic" ; then
1261 want_evas_image_loader_webp="static"
1262 else
1263 want_evas_image_loader_webp="no"
1264 fi
1265 fi
1266 ],
1267 [want_evas_image_loader_webp="no"])
1268 1238
1269### Default values 1239### Default values
1270 1240
@@ -1278,21 +1248,6 @@ if test "${want_wayland}" = "yes" && test "${want_egl}" = "yes"; then
1278 want_evas_engine_wayland_egl="yes" 1248 want_evas_engine_wayland_egl="yes"
1279fi 1249fi
1280 1250
1281want_evas_image_loader_bmp="static"
1282want_evas_image_loader_eet="static"
1283want_evas_image_loader_generic="static"
1284#want_evas_image_loader_gif="yes"
1285want_evas_image_loader_ico="static"
1286want_evas_image_loader_jpeg="static"
1287want_evas_image_loader_pmaps="static"
1288want_evas_image_loader_png="static"
1289want_evas_image_loader_psd="static"
1290want_evas_image_loader_tga="static"
1291#want_evas_image_loader_tiff="yes"
1292want_evas_image_loader_wbmp="static"
1293#want_evas_image_loader_webp="yes"
1294want_evas_image_loader_xpm="static"
1295
1296if test "${have_wince}" = "yes"; then 1251if test "${have_wince}" = "yes"; then
1297 want_fontconfig="no" 1252 want_fontconfig="no"
1298 want_evas_image_loader_gif="no" 1253 want_evas_image_loader_gif="no"