work around removed imlib2-config Index: configure --- configure.orig 2005-11-10 23:31:38 UTC +++ configure @@ -7030,13 +7030,8 @@ echo $ECHO_N "checking for imlib2... $ECHO_C" >&6 echo "$as_me:$LINENO: checking for imlib2" >&5 echo $ECHO_N "checking for imlib2... $ECHO_C" >&6 no_imlib2="" - if test "$IMLIB2_CONFIG" = "no" ; then - no_imlib2=yes - else - IMLIB2_CFLAGS="`$IMLIB2_CONFIG $imlib2_config_args --cflags`" - IMLIB2_LIBS="`$IMLIB2_CONFIG $imlib2_config_args --libs`" - - fi + IMLIB2_CFLAGS="`pkg-config --cflags imlib2`" + IMLIB2_LIBS="`pkg-config --libs imlib2`" if test "x$no_imlib2" = x ; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 @@ -7067,8 +7062,8 @@ echo "$as_me: error: Cannot find imlib2: Is imlib2-con -IMLIB_LIBS=`imlib2-config --libs` -IMLIB_CFLAGS=`imlib2-config --cflags` +IMLIB_LIBS=`pkg-config --libs imlib2` +IMLIB_CFLAGS=`pkg-config --cflags imlib2`