1From 8352c434e515f19dd1ba36256bfcc3ec9480838d Mon Sep 17 00:00:00 2001 2From: Peter Seiderer <ps.report@gmx.net> 3Date: Thu, 5 Mar 2015 22:38:52 +0100 4Subject: [PATCH] imlib2 config 5 6Call the imlib2-conf variable that are set by ac_cv_path_IMLIB2_CONFIG 7with the absolute path because the imlib2-config file is not covered 8by the PATH variable. 9This is important for cross compiler that need to get the staging settings 10instead of the host settings. 11 12Signed-off-by: Carsten Schoenert <c.schoenert@gmail.com> 13[ patch configure.in instead of configure to survive autoreconf ] 14Signed-off-by: Peter Seiderer <ps.report@gmx.net> 15--- 16 configure.in | 4 ++-- 17 1 file changed, 2 insertions(+), 2 deletions(-) 18 19diff --git a/configure.in b/configure.in 20index 38d7e78..fa5e87f 100644 21--- a/configure.in 22+++ b/configure.in 23@@ -1094,8 +1094,8 @@ if test "x$enable_imlib2" = "xyes"; then 24 AC_MSG_WARN([*** Imlib2 library not found, building without Imlib2 support ***]) 25 imlib2="no" 26 else 27- IMLIB2_CFLAGS=`imlib2-config --cflags` 28- IMLIB2_LIBS=`imlib2-config --libs` 29+ IMLIB2_CFLAGS=`$IMLIB2_CONFIG --cflags` 30+ IMLIB2_LIBS=`$IMLIB2_CONFIG --libs` 31 imlib2="yes" 32 fi 33 fi 34-- 352.1.4 36 37