diff options
author | Víctor Paesa <wzrlpy@arsystel.com> | 2007-02-05 17:03:03 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2007-02-05 17:03:03 +0000 |
commit | 1b45e30404d2f19d973014a4a96958cf188790b6 (patch) | |
tree | 5e11498be4d8a4aeb0e1975c177c7e56b2f4826c /configure | |
parent | e2ef53fc4f95209e68d30a411830fa2ab3695fbf (diff) | |
download | ffmpeg-1b45e30404d2f19d973014a4a96958cf188790b6.tar.gz |
Remove hardcoded dependency of imlib2 on Xlib.
patch by Víctor Paesa, wzrlpy arsystel com
Originally committed as revision 7829 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1668,13 +1668,15 @@ fi ########################################## # imlib check -temp_extralibs -lImlib2 +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 -#include <X11/Xlib.h> #include <Imlib2.h> int main( void ) { return (int) imlib_load_font("foo"); } EOF restore_flags +fi ########################################## # FreeType check |