mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 11:49:48 +00:00
a bit more consistency for for the imlib2 check
Originally committed as revision 7831 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
929f034755
commit
079dd4ba31
3
configure
vendored
3
configure
vendored
@ -1668,10 +1668,11 @@ fi
|
||||
##########################################
|
||||
# imlib check
|
||||
|
||||
imlib2=no
|
||||
if (imlib2-config --version) >/dev/null 2>&1 ; then
|
||||
temp_cflags `imlib2-config --cflags`
|
||||
temp_extralibs `imlib2-config --libs`
|
||||
check_ld <<EOF && imlib2=yes || imlib2=no
|
||||
check_ld <<EOF && imlib2=yes
|
||||
#include <Imlib2.h>
|
||||
int main( void ) { return (int) imlib_load_font("foo"); }
|
||||
EOF
|
||||
|
Loading…
Reference in New Issue
Block a user