X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=configure;h=6466a60c0223a0ce529ab9f2cbfedf4a716fe7f9;hb=20d37b0e4021710fad8b55cd1a9ac8b8047f327c;hp=68d36b8d7232d053831b08744d0dc2ae5e5fbe26;hpb=2aa16354be81743de06885ce8fbf6f80f24dfef2;p=swftools.git diff --git a/configure b/configure index 68d36b8..6466a60 100755 --- a/configure +++ b/configure @@ -10828,6 +10828,12 @@ if test "x${HAVE_FONTCONFIG}" = "x1"; then echo "$as_me:$LINENO: checking whether we can compile the fontconfig test program" >&5 echo $ECHO_N "checking whether we can compile the fontconfig test program... $ECHO_C" >&6 +if (echo $LIBS | grep lfreetype >/dev/null 2>&1); then + #move freetype library to the end of libraries, otherwise fontconfig + #won't compile. + LIBS=`echo $LIBS | sed -e 's/-lfreetype//g' -e 's/$/ -lfreetype/'` +fi + cat > conftest.c << EOF #include