Lines 44-49
if test x$imlib2config_cmd = "x"; then
Link Here
|
44 |
AC_MSG_ERROR([error. Imlib2 is required to compile.]) |
44 |
AC_MSG_ERROR([error. Imlib2 is required to compile.]) |
45 |
fi |
45 |
fi |
46 |
|
46 |
|
|
|
47 |
# Check if imlib2 is compiled with X support. |
48 |
AC_CHECK_LIB([Imlib2], [imlib_context_set_display],, |
49 |
[AC_MSG_ERROR([Imlib2 must be compiled with X support.])], |
50 |
) |
51 |
|
52 |
# Check for libX11 |
53 |
AC_CHECK_LIB([X11], [XOpenDisplay], |
54 |
[X11_LIBS="-lX11"], |
55 |
[AC_MSG_ERROR([libX11 is required to compile.])], |
56 |
) |
57 |
AC_SUBST(X11_LIBS) |
58 |
|
47 |
IMLIB2_CFLAGS=`$imlib2config_cmd --cflags` |
59 |
IMLIB2_CFLAGS=`$imlib2config_cmd --cflags` |
48 |
AC_SUBST(IMLIB2_CFLAGS) |
60 |
AC_SUBST(IMLIB2_CFLAGS) |
49 |
|
61 |
|