Commit 8871a11b authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

Add $X_LIBS path while searching for libfreetype.

parent 8ada79d1
...@@ -4532,7 +4532,7 @@ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then ...@@ -4532,7 +4532,7 @@ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
ac_save_LIBS="$LIBS" ac_save_LIBS="$LIBS"
LIBS="-lfreetype $LIBS" LIBS="-lfreetype $X_LIBS $LIBS"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4538 "configure" #line 4538 "configure"
#include "confdefs.h" #include "confdefs.h"
......
...@@ -382,7 +382,7 @@ AC_CHECK_LIB(cups,cupsGetPPD, ...@@ -382,7 +382,7 @@ AC_CHECK_LIB(cups,cupsGetPPD,
AC_SUBST(CUPSLIBS) AC_SUBST(CUPSLIBS)
dnl **** Check for FreeType 2 **** dnl **** Check for FreeType 2 ****
AC_CHECK_LIB(freetype,FT_Init_FreeType,ft_lib=yes,ft_lib=no) AC_CHECK_LIB(freetype,FT_Init_FreeType,ft_lib=yes,ft_lib=no,$X_LIBS)
if test "$ft_lib" = "no" if test "$ft_lib" = "no"
then then
FREETYPELIBS="" FREETYPELIBS=""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment