diff options
author | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2002-04-04 13:22:46 +0000 |
---|---|---|
committer | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2002-04-04 13:22:46 +0000 |
commit | 72d64f3e6278cc1c542712e6a0dc08c73ecf72fd (patch) | |
tree | 093da57aedff081579db39bfbc5e48bfdc8104f4 | |
parent | 032b66fe89ef009ac219c7402a0e0c4c208c41e1 (diff) | |
download | xine-lib-72d64f3e6278cc1c542712e6a0dc08c73ecf72fd.tar.gz xine-lib-72d64f3e6278cc1c542712e6a0dc08c73ecf72fd.tar.bz2 |
Check about Imlib header.
CVS patchset: 1676
CVS date: 2002/04/04 13:22:46
-rw-r--r-- | configure.in | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/configure.in b/configure.in index cb81eba1c..ca8d389f5 100644 --- a/configure.in +++ b/configure.in @@ -263,10 +263,12 @@ dnl Imlib (for xine-logoconv) dnl AC_PATH_PROG(IMLIB_CONFIG, imlib-config, no) if test "$IMLIB_CONFIG" != "no" ; then - IMLIB_CFLAGS=`$IMLIB_CONFIG --cflags` - IMLIB_LIBS=`$IMLIB_CONFIG --libs` + AC_CHECK_HEADER(Imlib.h, + [ have_imlib="yes" + IMLIB_CFLAGS=`$IMLIB_CONFIG --cflags` + IMLIB_LIBS=`$IMLIB_CONFIG --libs` ]) fi -AM_CONDITIONAL(HAVE_IMLIB, [test x"$IMLIB_CONFIG" != x"no"]) +AM_CONDITIONAL(HAVE_IMLIB, [test x"$have_imlib" != x"no"]) AC_SUBST(IMLIB_CFLAGS) AC_SUBST(IMLIB_LIBS) |