From 424ceed65c67344bb8d1d313a92a3e53630373f8 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Wed, 24 Dec 2003 23:58:32 +0000 Subject: [PATCH] * debian/control: + Added missing dependencies to the -dev package. * configure.ac: + Kludge for woody builds where x_includes is undefined. --- configure.ac | 4 ++-- debian/control | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 3e7066d..f232078 100644 --- a/configure.ac +++ b/configure.ac @@ -51,8 +51,8 @@ if test "${enable_x11}" = "yes"; then AC_PATH_X AC_CHECK_LIB(X11, XOpenDisplay, [ac_cv_my_have_x11=yes - X_CFLAGS="-I${x_includes}" - X_LIBS="-lX11 -L${x_libraries}"], + if test -n "${x_includes}"; then X_CFLAGS="-I${x_includes}"; fi + if test -n "${x_libraries}"; then X_LIBS="-lX11 -L${x_libraries}"; fi], [ac_cv_my_have_x11=no], [[-lXt -L${x_libraries}]]) if test "${ac_cv_my_have_x11}" != "yes"; then diff --git a/debian/control b/debian/control index 80585ef..7e75c17 100644 --- a/debian/control +++ b/debian/control @@ -8,7 +8,7 @@ Standards-Version: 3.6.1.0 Package: libcaca-dev Section: libdevel Architecture: any -Depends: ${shlibs:Depends}, libncurses5-dev +Depends: ${shlibs:Depends}, libncurses5-dev, slang1-dev, xlibs-dev Description: text mode graphics library libcaca is the Colour AsCii Art library. It provides high level functions for colour text drawing, simple primitives for line, polygon and ellipse