summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2013-05-30 23:45:11 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2013-05-30 23:45:11 +0200
commit2370e968e52dda5664bdb7116b82274e759db038 (patch)
tree0d6afd94bf37486e7dbe0e9a68efd0da6e4c0fba /m4
parent2ff44b6face98cdf556412ce0266bc8c9ab3012e (diff)
image loaders m4: configure fail if not found and option is "yes" or "static"
fix T64 related to D133
Diffstat (limited to 'm4')
-rw-r--r--m4/evas_check_loader.m46
1 files changed, 4 insertions, 2 deletions
diff --git a/m4/evas_check_loader.m4 b/m4/evas_check_loader.m4
index 59ca99f..4dab107 100644
--- a/m4/evas_check_loader.m4
+++ b/m4/evas_check_loader.m4
@@ -466,8 +466,10 @@ if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_
466 m4_default([EVAS_CHECK_LOADER_DEP_]m4_defn([UP]))(DOWN, ${want_loader}, [have_loader="yes"], [have_loader="no"]) 466 m4_default([EVAS_CHECK_LOADER_DEP_]m4_defn([UP]))(DOWN, ${want_loader}, [have_loader="yes"], [have_loader="no"])
467fi 467fi
468 468
469if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes"; then 469if test "x${have_loader}" = "xno"; then
470 AC_MSG_ERROR([$1 dependencies not found]) 470 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic"; then
471 AC_MSG_ERROR([$1 dependencies not found])
472 fi
471fi 473fi
472 474
473AC_MSG_CHECKING([whether $1 image loader will be built]) 475AC_MSG_CHECKING([whether $1 image loader will be built])