a bit more consistency for for the imlib2 check

Originally committed as revision 7831 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Diego Biurrun 18 years ago
parent 929f034755
commit 079dd4ba31
  1. 3
      configure

3
configure vendored

@ -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

Loading…
Cancel
Save