Commit 8890c7f0bb44621024b1f4cee786ef392284ebbc
1 parent
28b43861
Exists in
master
and in
5 other branches
Fixing build of base library.
Showing
3 changed files
with
22 additions
and
3 deletions
Show diff stats
Makefile.in
... | ... | @@ -73,7 +73,8 @@ all: \ |
73 | 73 | locale/$(PACKAGE_TARNAME).pot |
74 | 74 | |
75 | 75 | Release: \ |
76 | - application | |
76 | + application \ | |
77 | + $(BINRLS)/libpw3270cpp.a | |
77 | 78 | |
78 | 79 | application: \ |
79 | 80 | $(foreach MODULE, $(MODULES), $(BINRLS)/@DLLPREFIX@$(MODULE)@DLLEXT@) \ |
... | ... | @@ -194,7 +195,8 @@ $(POTDIR)/%.pot: \ |
194 | 195 | #---[ Debug Targets ]-------------------------------------------------------------------- |
195 | 196 | |
196 | 197 | Debug: \ |
197 | - $(BINDBG)/$(PACKAGE_TARNAME)@EXEEXT@ | |
198 | + $(BINDBG)/$(PACKAGE_TARNAME)@EXEEXT@ \ | |
199 | + $(BINDBG)/libpw3270cpp.a | |
198 | 200 | |
199 | 201 | publish-debug: \ |
200 | 202 | $(BINDBG)/$(PACKAGE_TARNAME)@EXEEXT@ | ... | ... |
configure.ac
... | ... | @@ -381,6 +381,22 @@ if test "$app_cv_pic" == "yes"; then |
381 | 381 | fi |
382 | 382 | |
383 | 383 | dnl --------------------------------------------------------------------------- |
384 | +dnl Check for D-Bus | |
385 | +dnl --------------------------------------------------------------------------- | |
386 | + | |
387 | +PKG_CHECK_MODULES( [DBUS], [dbus-1], app_cv_libdbus=yes, AC_MSG_NOTICE([ No DBUS support.]) ) | |
388 | +AC_SUBST(DBUS_LIBS) | |
389 | +AC_SUBST(DBUS_CFLAGS) | |
390 | + | |
391 | +PKG_CHECK_MODULES( [GDBUS], [dbus-glib-1], app_cv_dbus=yes, AC_MSG_NOTICE([No GDBUS support.]) ) | |
392 | +AC_SUBST(GDBUS_LIBS) | |
393 | +AC_SUBST(GDBUS_CFLAGS) | |
394 | + | |
395 | +if test "$app_cv_dbus" == "yes"; then | |
396 | + AC_DEFINE(HAVE_DBUS) | |
397 | +fi | |
398 | + | |
399 | +dnl --------------------------------------------------------------------------- | |
384 | 400 | dnl Lib3270 flags |
385 | 401 | dnl --------------------------------------------------------------------------- |
386 | 402 | ... | ... |
src/libpw3270cpp/remote.cc
... | ... | @@ -36,7 +36,6 @@ |
36 | 36 | #include <string.h> |
37 | 37 | #include <malloc.h> |
38 | 38 | #include <sys/types.h> |
39 | - #include <unistd.h> | |
40 | 39 | #include <limits.h> |
41 | 40 | |
42 | 41 | #ifndef DBUS_TIMEOUT_INFINITE |
... | ... | @@ -50,6 +49,8 @@ |
50 | 49 | #include <pw3270/ipcpackets.h> |
51 | 50 | #include <process.h> |
52 | 51 | #else |
52 | + #include <unistd.h> | |
53 | + | |
53 | 54 | #define HLLAPI_PACKET_IS_CONNECTED "isConnected" |
54 | 55 | #define HLLAPI_PACKET_GET_CSTATE "getConnectionState" |
55 | 56 | #define HLLAPI_PACKET_GET_PROGRAM_MESSAGE "getProgramMessage" | ... | ... |