diff --git a/configure.in b/configure.in index e01f82545d71..c6ad75e1c9a5 100644 --- a/configure.in +++ b/configure.in @@ -8113,7 +8113,7 @@ fi # COMPILE_ENVIRONMENT if test "$USE_FC_FREETYPE"; then if test "$COMPILE_ENVIRONMENT"; then _SAVE_CPPFLAGS="$CPPFLAGS" - CPPFLAGS="$CPPFLAGS $FT2_CFLAGS" + CPPFLAGS="$CPPFLAGS $FT2_CFLAGS $XCFLAGS" AC_CHECK_HEADERS(fontconfig/fcfreetype.h, , [AC_MSG_ERROR(Can't find header fontconfig/fcfreetype.h.)]) CPPFLAGS="$_SAVE_CPPFLAGS"