From 079dd4ba317be0f02ddf928e67856104353e623a Mon Sep 17 00:00:00 2001
From: Diego Biurrun <diego@biurrun.de>
Date: Mon, 5 Feb 2007 17:04:15 +0000
Subject: [PATCH] a bit more consistency for for the imlib2 check

Originally committed as revision 7831 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 configure | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/configure b/configure
index cda0d910b7c..baa06f77fd8 100755
--- a/configure
+++ b/configure
@@ -1668,10 +1668,11 @@ fi
 ##########################################
 # imlib check
 
+imlib2=no
 if (imlib2-config --version) >/dev/null 2>&1 ; then
     temp_cflags `imlib2-config --cflags`
     temp_extralibs `imlib2-config --libs`
-    check_ld <<EOF && imlib2=yes || imlib2=no
+    check_ld <<EOF && imlib2=yes
 #include <Imlib2.h>
 int main( void ) { return (int) imlib_load_font("foo"); }
 EOF
-- 
GitLab