diff options
author | Måns Rullgård <mans@mansr.com> | 2007-02-11 11:42:35 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2007-02-11 11:42:35 +0000 |
commit | ec1e9c4486b90ab097393061835a0cb2bf33322c (patch) | |
tree | b71220460ac1bcbc100a5d5d12b324b6e223c9ed | |
parent | 4f562a66247bfdd0168ecab68fbf67619a8a51b0 (diff) | |
download | ffmpeg-ec1e9c4486b90ab097393061835a0cb2bf33322c.tar.gz |
simplify imlib2 check
Originally committed as revision 7920 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-x | configure | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -1642,13 +1642,10 @@ enabled audio_beos && add_extralibs "-lmedia -lbe" # 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_extralibs `imlib2-config --libs` - check_ld <<EOF && imlib2=yes -#include <Imlib2.h> -int main( void ) { return (int) imlib_load_font("foo"); } -EOF + check_lib Imlib2.h imlib_load_font && enable imlib2 restore_flags fi |