jeyzu pushed a commit to branch master.

commit 2370e968e52dda5664bdb7116b82274e759db038
Author: Jérémy Zurcher <[email protected]>
Date:   Thu May 30 23:45:11 2013 +0200

    image loaders m4: configure fail if not found and option is "yes" or 
"static"
    
    fix T64
    related to D133
---
 m4/evas_check_loader.m4 | 6 ++++--
 1 file 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_
    m4_default([EVAS_CHECK_LOADER_DEP_]m4_defn([UP]))(DOWN, ${want_loader}, 
[have_loader="yes"], [have_loader="no"])
 fi
 
-if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes"; then
-   AC_MSG_ERROR([$1 dependencies not found])
+if test "x${have_loader}" = "xno"; then
+   if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic"; then
+      AC_MSG_ERROR([$1 dependencies not found])
+   fi
 fi
 
 AC_MSG_CHECKING([whether $1 image loader will be built])

-- 

------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1

Reply via email to