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