fixed freetype-config path search.
[swftools.git] / configure
index 9362760..a52fc31 100755 (executable)
--- a/configure
+++ b/configure
@@ -10090,6 +10090,8 @@ done
 # ------------------------------------------------------------------
 
 
+
+
 for ac_prog in freetype-config
 do
   # Extract the first word of "$ac_prog", so it can be a program name with args.
@@ -10103,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=.
@@ -10130,6 +10133,9 @@ fi
   test -n "$FREETYPE_CONFIG" && break
 done
 
+
+
+
 OLDCPPFLAGS="${CPPFLAGS}"
 OLDLIBS="${LIBS}"
 if test "x${FREETYPE_CONFIG}" '!=' "x"; then