Browse Source

* Added a conditional to only build the kernel if --enable-vga was set.

tags/v0.99.beta14
Sam Hocevar sam 19 years ago
parent
commit
246c3beff3
3 changed files with 8 additions and 2 deletions
  1. +2
    -1
      caca/Makefile.am
  2. +1
    -0
      configure.ac
  3. +5
    -1
      kernel/Makefile.am

+ 2
- 1
caca/Makefile.am View File

@@ -14,10 +14,11 @@ libcaca_la_SOURCES = \
driver_conio.c \
driver_gl.c \
driver_ncurses.c \
driver_network.c \
driver_slang.c \
driver_vga.c \
driver_win32.c \
driver_x11.c \
driver_network.c \
$(NULL)
libcaca_la_CPPFLAGS = -I$(top_srcdir)/cucul
libcaca_la_LDFLAGS = -no-undefined


+ 1
- 0
configure.ac View File

@@ -180,6 +180,7 @@ if test "${enable_vga}" = "yes"; then
AC_DEFINE(USE_VGA, 1, Define to activate the VGA backend driver)
CACA_DRIVERS="${CACA_DRIVERS} vga"
fi
AM_CONDITIONAL(USE_KERNEL, test "${ac_cv_my_have_vga}" = "yes")

AC_MSG_CHECKING(valid output drivers)
if test -z "${CACA_DRIVERS}"; then


+ 5
- 1
kernel/Makefile.am View File

@@ -1,6 +1,10 @@
# $Id: Makefile.am 326 2006-03-06 20:57:14Z sam $

lib_LTLIBRARIES = libkernel.la
lib_LTLIBRARIES = $(libkernel_la)

if USE_KERNEL
libkernel_la = libkernel.la
endif

libkernel_la_SOURCES = \
kernel.c \


Loading…
Cancel
Save