Portability: patch by Christian Grigis <christian.grigis@smartdata.ch> to allow building the software from a directory different
This commit is contained in:
+2
-2
@@ -183,7 +183,7 @@ dnl else
|
||||
DRIVERS="$DRIVERS sed1520${SO}"
|
||||
actdrivers=["$actdrivers sed1520"]
|
||||
else
|
||||
AC_MSG_WARN([The sed1330 driver needs a parallel port.])
|
||||
AC_MSG_WARN([The sed1520 driver needs a parallel port.])
|
||||
fi
|
||||
;;
|
||||
stv5730)
|
||||
@@ -192,7 +192,7 @@ dnl else
|
||||
DRIVERS="$DRIVERS stv5730${SO}"
|
||||
actdrivers=["$actdrivers stv5730"]
|
||||
else
|
||||
AC_MSG_WARN([The sed1330 driver needs a parallel port.])
|
||||
AC_MSG_WARN([The stv5730 driver needs a parallel port.])
|
||||
fi
|
||||
;;
|
||||
svga)
|
||||
|
||||
+1
-1
@@ -120,7 +120,7 @@ AC_CHECK_HEADERS(sys/io.h)
|
||||
dnl Check if we support this parallel (LPT) port
|
||||
dnl IMPORTANT: we must do all the checks used in port.h before doing this test!
|
||||
AC_CACHE_CHECK([for a parallel port], ac_cv_port_have_lpt,
|
||||
[AC_TRY_COMPILE([#include "server/drivers/port.h"], [char val = port_in(0x350)], ac_cv_port_have_lpt=yes, ac_cv_port_have_lpt=no)])
|
||||
[AC_TRY_COMPILE([#include "${srcdir}/server/drivers/port.h"], [char val = port_in(0x350)], ac_cv_port_have_lpt=yes, ac_cv_port_have_lpt=no)])
|
||||
|
||||
if test "$ac_cv_port_have_lpt" = yes
|
||||
then
|
||||
|
||||
@@ -2,4 +2,5 @@ SUBDIRS=drivers commands
|
||||
sbin_PROGRAMS=LCDd
|
||||
LCDd_SOURCES= client.c client.h clients.c clients.h input.c input.h main.c main.h menuitem.c menuitem.h menu.c menu.h menuscreens.c menuscreens.h parse.c parse.h render.c render.h screen.c screen.h screenlist.c screenlist.h serverscreens.c serverscreens.h sock.c sock.h widget.c widget.h drivers.c drivers.h driver.c driver.h
|
||||
LCDd_LDADD = ../shared/libLCDstuff.a commands/libLCDcommands.a
|
||||
LCDd_LDFLAGS = -rdynamic -uget_args
|
||||
INCLUDES = -I$(top_srcdir)
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
noinst_LIBRARIES = libLCDcommands.a
|
||||
libLCDcommands_a_SOURCES = command_list.c command_list.h client_commands.c client_commands.h menu_commands.c menu_commands.h screen_commands.c screen_commands.h server_commands.c server_commands.h widget_commands.c widget_commands.h
|
||||
INCLUDES = -I$(top_srcdir) -I..
|
||||
INCLUDES = -I$(top_srcdir) -I$(srcdir)/..
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
noinst_LIBRARIES = libLCDstuff.a
|
||||
libLCDstuff_a_SOURCES = LL.c LL.h sockets.c sockets.h str.c str.h configfile.c configfile.h debug.h report.c report.h snprintf.c snprintf.h
|
||||
INCLUDES = -I$(top_srcdir)
|
||||
|
||||
Reference in New Issue
Block a user