X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=configure;h=68d36b8d7232d053831b08744d0dc2ae5e5fbe26;hb=2aa16354be81743de06885ce8fbf6f80f24dfef2;hp=778079c9b1a76641f26369864b3f3d77fd5f3b6b;hpb=c2911e50c1e98ccf8ea6224fd9466dce13ca6d8e;p=swftools.git diff --git a/configure b/configure index 778079c..68d36b8 100755 --- a/configure +++ b/configure @@ -10103,7 +10103,7 @@ done OLDCPPFLAGS="${CPPFLAGS}" OLDLIBS="${LIBS}" -if test "x${FREETYPE_CONFIG}" != "x"; then +if test "x${FREETYPE_CONFIG}" '!=' "x"; then CPPFLAGS="$CPPFLAGS "`freetype-config --cflags` else if test -d /usr/include/freetype2; then CPPFLAGS="$CPPFLAGS -I/usr/include/freetype2" @@ -10482,14 +10482,17 @@ fi done -if test "x${HAVE_LIB_FREETYPE}" != "x";then -if test "x${HAVE_FREETYPE_FREETYPE_H}" != "x";then - HAVE_FREETYPE=1 -fi +if test "x${HAVE_LIB_FREETYPE}" '!=' "x";then + if test "x${HAVE_FREETYPE_FREETYPE_H}" '!=' "x";then + HAVE_FREETYPE=1 + fi + if test "x${HAVE_FT2BUILD_H}" '!=' "x";then + HAVE_FREETYPE=1 + fi fi if test "x${HAVE_FREETYPE}" = "x1"; then - if test "x{$FREETYPE_CONFIG}" != "x"; then + if test "x{$FREETYPE_CONFIG}" '!=' "x"; then LIBS="$LIBS "`freetype-config --libs` else LIBS="$LIBS -lfreetype" @@ -10581,7 +10584,7 @@ echo "${ECHO_T}no" >&6 fi # if the above didn't work out, reset all changes to the compiler variables. -if test "x${HAVE_FREETYPE}" "!=" "x1"; then +if test "x${HAVE_FREETYPE}" '!=' "x1"; then CPPFLAGS=$OLDCPPFLAGS LIBS=$OLDLIBS fi