Skip to content
Snippets Groups Projects
Commit 079dd4ba authored by Diego Biurrun's avatar Diego Biurrun
Browse files

a bit more consistency for for the imlib2 check

Originally committed as revision 7831 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 929f0347
No related branches found
No related tags found
No related merge requests found
...@@ -1668,10 +1668,11 @@ fi ...@@ -1668,10 +1668,11 @@ fi
########################################## ##########################################
# imlib check # imlib check
imlib2=no
if (imlib2-config --version) >/dev/null 2>&1 ; then if (imlib2-config --version) >/dev/null 2>&1 ; then
temp_cflags `imlib2-config --cflags` temp_cflags `imlib2-config --cflags`
temp_extralibs `imlib2-config --libs` temp_extralibs `imlib2-config --libs`
check_ld <<EOF && imlib2=yes || imlib2=no check_ld <<EOF && imlib2=yes
#include <Imlib2.h> #include <Imlib2.h>
int main( void ) { return (int) imlib_load_font("foo"); } int main( void ) { return (int) imlib_load_font("foo"); }
EOF EOF
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment