Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
ffmpeg
Commits
4f562a66
Commit
4f562a66
authored
Feb 11, 2007
by
Måns Rullgård
Browse files
simplify freetype check
Originally committed as revision 7919 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
f5d28d10
Changes
1
Hide whitespace changes
Inline
Side-by-side
configure
View file @
4f562a66
...
...
@@ -1657,13 +1657,10 @@ fi
freetype2
=
no
if
test
"x
$targetos
"
!=
"xBeOS"
;
then
if
(
freetype-config
--version
)
>
/dev/null 2>&1
;
then
if
freetype-config
--version
>
/dev/null 2>&1
;
then
temp_cflags
`
freetype-config
--cflags
`
temp_extralibs
`
freetype-config
--libs
`
check_ld
<<
EOF
&& freetype2=yes
#include <ft2build.h>
int main( void ) { return (int) FT_Init_FreeType(0); }
EOF
check_lib ft2build.h FT_Init_FreeType
&&
enable
freetype2
restore_flags
fi
fi
...
...
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