Add $X_LIBS path while searching for libfreetype.
This commit is contained in:
parent
8ada79d158
commit
8871a11be6
|
@ -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
|
||||
else
|
||||
ac_save_LIBS="$LIBS"
|
||||
LIBS="-lfreetype $LIBS"
|
||||
LIBS="-lfreetype $X_LIBS $LIBS"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 4538 "configure"
|
||||
#include "confdefs.h"
|
||||
|
|
|
@ -382,7 +382,7 @@ AC_CHECK_LIB(cups,cupsGetPPD,
|
|||
AC_SUBST(CUPSLIBS)
|
||||
|
||||
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"
|
||||
then
|
||||
FREETYPELIBS=""
|
||||
|
|
Loading…
Reference in New Issue