From: kramm Date: Tue, 23 Nov 2004 17:40:47 +0000 (+0000) Subject: fixed freetype-config path search. X-Git-Tag: release-0-6-3~137 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=ffa3139cabcd283e5bb1ec4df94ed52664c0eabe fixed freetype-config path search. --- diff --git a/configure b/configure index 8d8976c..a52fc31 100755 --- a/configure +++ b/configure @@ -10092,7 +10092,7 @@ done -for ac_prog in freetype-config /opt/local/bin/freetype-config /sw/bin/freetype-config +for ac_prog in freetype-config do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 @@ -10105,7 +10105,8 @@ else ac_cv_prog_FREETYPE_CONFIG="$FREETYPE_CONFIG" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH +as_dummy=""$PATH:/usr/local/bin:/sw/bin:/opt/local/bin"" +for as_dir in $as_dummy do IFS=$as_save_IFS test -z "$as_dir" && as_dir=.