Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
a37f74f5
Commit
a37f74f5
authored
Apr 07, 2012
by
Nicolas Le Cam
Committed by
Alexandre Julliard
Apr 09, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure.ac: Prefer pkg-config over freetype-config.
parent
1ca6ed77
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
9 deletions
+21
-9
configure
configure
+11
-5
configure.ac
configure.ac
+10
-4
No files found.
configure
View file @
a37f74f5
...
...
@@ -10262,7 +10262,12 @@ fi
if
test
"x
$with_freetype
"
!=
"xno"
then
for
ac_prog
in
freetype-config freetype2-config
if
test
"
$PKG_CONFIG
"
!=
"false"
then
ac_freetype_incl
=
"
`
$PKG_CONFIG
--cflags
freetype2 2>/dev/null
`
"
ac_freetype_libs
=
"
`
$PKG_CONFIG
--libs
freetype2 2>/dev/null
`
"
else
for
ac_prog
in
freetype-config freetype2-config
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set
dummy
$ac_prog
;
ac_word
=
$2
...
...
@@ -10305,10 +10310,11 @@ fi
done
test
-n
"
$ft_devel
"
||
ft_devel
=
"no"
if
test
"
$ft_devel
"
!=
"no"
then
ac_freetype_incl
=
`
$ft_devel
--cflags
`
ac_freetype_libs
=
`
$ft_devel
--libs
`
if
test
"
$ft_devel
"
!=
"no"
then
ac_freetype_incl
=
`
$ft_devel
--cflags
`
ac_freetype_libs
=
`
$ft_devel
--libs
`
fi
fi
ac_freetype_libs
=
${
ac_freetype_libs
:-
"-lfreetype"
}
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for -lfreetype"
>
&5
...
...
configure.ac
View file @
a37f74f5
...
...
@@ -1384,11 +1384,17 @@ WINE_NOTICE_WITH(cms,[test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"],
dnl **** Check for FreeType 2 ****
if test "x$with_freetype" != "xno"
then
AC_CHECK_PROGS(ft_devel,[freetype-config freetype2-config],no)
if test "$ft_devel" != "no"
if test "$PKG_CONFIG" != "false"
then
ac_freetype_incl=`$ft_devel --cflags`
ac_freetype_libs=`$ft_devel --libs`
ac_freetype_incl="`$PKG_CONFIG --cflags freetype2 2>/dev/null`"
ac_freetype_libs="`$PKG_CONFIG --libs freetype2 2>/dev/null`"
else
AC_CHECK_PROGS(ft_devel,[freetype-config freetype2-config],no)
if test "$ft_devel" != "no"
then
ac_freetype_incl=`$ft_devel --cflags`
ac_freetype_libs=`$ft_devel --libs`
fi
fi
ac_freetype_libs=${ac_freetype_libs:-"-lfreetype"}
WINE_CHECK_SONAME(freetype,FT_Init_FreeType,[ft_lib=yes],[ft_lib=no],[$ac_freetype_libs])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment