Pārlūkot izejas kodu

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

tags/v0.99.beta14
Sam Hocevar sam pirms 18 gadiem
vecāks
revīzija
246c3beff3
3 mainītis faili ar 8 papildinājumiem un 2 dzēšanām
  1. +2
    -1
      caca/Makefile.am
  2. +1
    -0
      configure.ac
  3. +5
    -1
      kernel/Makefile.am

+ 2
- 1
caca/Makefile.am Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 \


Notiek ielāde…
Atcelt
Saglabāt