--- src/modules/_Image_FreeType/configure.orig	2007-04-15 14:40:08.000000000 +0200
+++ src/modules/_Image_FreeType/configure	2011-03-11 10:35:16.000000000 +0100
@@ -2688,8 +2688,8 @@ echo "${ECHO_T}no" >&6
 fi
 
   else
-    # Extract the first word of "${ac_tool_prefix}freetype-config", so it can be a program name with args.
-set dummy ${ac_tool_prefix}freetype-config; ac_word=$2
+    # Extract the first word of "freetype-config", so it can be a program name with args.
+set dummy freetype-config; ac_word=$2
 echo "$as_me:$LINENO: checking for $ac_word" >&5
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 if test "${ac_cv_path_FT_CONFIG+set}" = set; then
