Add $X_LIBS path while searching for libfreetype.

This commit is contained in:
Dmitry Timoshkov 2001-11-06 22:26:53 +00:00 committed by Alexandre Julliard
parent 8ada79d158
commit 8871a11be6
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

@ -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"

View File

@ -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=""