Revert "Add libgs dependency, only compile guac_rdpdr if libgs found."
This reverts commit b77a7e0bffdcc44cc5488663d780c1a2c31ef781.
This commit is contained in:
parent
5bf67ce442
commit
62258c9278
13
configure.ac
13
configure.ac
@ -103,18 +103,6 @@ have_pango=yes
|
|||||||
PKG_CHECK_MODULES([PANGO], [pango],, [have_pango=no]);
|
PKG_CHECK_MODULES([PANGO], [pango],, [have_pango=no]);
|
||||||
PKG_CHECK_MODULES([PANGOCAIRO], [pangocairo],, [have_pango=no]);
|
PKG_CHECK_MODULES([PANGOCAIRO], [pangocairo],, [have_pango=no]);
|
||||||
|
|
||||||
#
|
|
||||||
# GhostScript
|
|
||||||
#
|
|
||||||
|
|
||||||
have_libgs=yes
|
|
||||||
GS_LIBS=
|
|
||||||
|
|
||||||
AC_CHECK_LIB([gs], [gsapi_new_instance], [GS_LIBS="$GS_LIBS -lgs"], [have_libgs=no])
|
|
||||||
AM_CONDITIONAL([ENABLE_GS], [test "x${have_libgs}" = "xyes"])
|
|
||||||
|
|
||||||
AC_SUBST(GS_LIBS)
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# libVNCServer
|
# libVNCServer
|
||||||
#
|
#
|
||||||
@ -177,7 +165,6 @@ $PACKAGE_NAME version $PACKAGE_VERSION
|
|||||||
|
|
||||||
freerdp ............. ${have_freerdp}
|
freerdp ............. ${have_freerdp}
|
||||||
pango ............... ${have_pango}
|
pango ............... ${have_pango}
|
||||||
libgs ............... ${have_libgs}
|
|
||||||
libssh .............. ${have_libssh}
|
libssh .............. ${have_libssh}
|
||||||
libVNCServer ........ ${have_libvncserver}
|
libVNCServer ........ ${have_libvncserver}
|
||||||
libvorbisenc ........ ${have_vorbisenc}
|
libvorbisenc ........ ${have_vorbisenc}
|
||||||
|
@ -40,46 +40,54 @@ ACLOCAL_AMFLAGS = -I m4
|
|||||||
AM_CFLAGS = -Werror -Wall -Iinclude @LIBGUAC_INCLUDE@
|
AM_CFLAGS = -Werror -Wall -Iinclude @LIBGUAC_INCLUDE@
|
||||||
|
|
||||||
lib_LTLIBRARIES = libguac-client-rdp.la
|
lib_LTLIBRARIES = libguac-client-rdp.la
|
||||||
freerdp_LTLIBRARIES = guac_rdpsnd.la
|
freerdp_LTLIBRARIES = guac_rdpsnd.la guac_rdpdr.la
|
||||||
|
|
||||||
libguac_client_rdp_la_SOURCES = \
|
libguac_client_rdp_la_SOURCES = \
|
||||||
audio.c \
|
audio.c \
|
||||||
client.c \
|
client.c \
|
||||||
default_pointer.c \
|
default_pointer.c \
|
||||||
guac_handlers.c \
|
guac_handlers.c \
|
||||||
rdp_bitmap.c \
|
rdp_bitmap.c \
|
||||||
rdp_cliprdr.c \
|
rdp_cliprdr.c \
|
||||||
rdp_gdi.c \
|
rdp_gdi.c \
|
||||||
rdp_glyph.c \
|
rdp_glyph.c \
|
||||||
rdp_keymap_base.c \
|
rdp_keymap_base.c \
|
||||||
rdp_keymap.c \
|
rdp_keymap.c \
|
||||||
rdp_keymap_de_de.c \
|
rdp_keymap_de_de.c \
|
||||||
rdp_keymap_failsafe.c \
|
rdp_keymap_failsafe.c \
|
||||||
rdp_keymap_fr_fr.c \
|
rdp_keymap_fr_fr.c \
|
||||||
rdp_keymap_en_us.c \
|
rdp_keymap_en_us.c \
|
||||||
rdp_pointer.c \
|
rdp_pointer.c \
|
||||||
wav_encoder.c
|
wav_encoder.c
|
||||||
|
|
||||||
guac_rdpsnd_la_SOURCES = \
|
guac_rdpsnd_la_SOURCES = \
|
||||||
guac_rdpsnd/rdpsnd_messages.c \
|
guac_rdpsnd/rdpsnd_messages.c \
|
||||||
guac_rdpsnd/rdpsnd_service.c \
|
guac_rdpsnd/rdpsnd_service.c \
|
||||||
audio.c
|
audio.c
|
||||||
|
|
||||||
|
guac_rdpdr_la_SOURCES = \
|
||||||
|
guac_rdpdr/rdpdr_messages.c \
|
||||||
|
guac_rdpdr/rdpdr_printer.c \
|
||||||
|
guac_rdpdr/rdpdr_service.c
|
||||||
|
|
||||||
noinst_HEADERS = \
|
noinst_HEADERS = \
|
||||||
guac_rdpsnd/rdpsnd_messages.h \
|
guac_rdpdr/rdpdr_messages.h \
|
||||||
guac_rdpsnd/rdpsnd_service.h \
|
guac_rdpdr/rdpdr_printer.h \
|
||||||
audio.h \
|
guac_rdpdr/rdpdr_service.h \
|
||||||
client.h \
|
guac_rdpsnd/rdpsnd_messages.h \
|
||||||
config.h \
|
guac_rdpsnd/rdpsnd_service.h \
|
||||||
default_pointer.h \
|
audio.h \
|
||||||
guac_handlers.h \
|
client.h \
|
||||||
rdp_bitmap.h \
|
config.h \
|
||||||
rdp_cliprdr.h \
|
default_pointer.h \
|
||||||
rdp_gdi.h \
|
guac_handlers.h \
|
||||||
rdp_glyph.h \
|
rdp_bitmap.h \
|
||||||
rdp_keymap.h \
|
rdp_cliprdr.h \
|
||||||
rdp_pointer.h \
|
rdp_gdi.h \
|
||||||
wav_encoder.h
|
rdp_glyph.h \
|
||||||
|
rdp_keymap.h \
|
||||||
|
rdp_pointer.h \
|
||||||
|
wav_encoder.h
|
||||||
|
|
||||||
# Compile OGG support if available
|
# Compile OGG support if available
|
||||||
if ENABLE_OGG
|
if ENABLE_OGG
|
||||||
@ -87,32 +95,13 @@ if ENABLE_OGG
|
|||||||
noinst_HEADERS += ogg_encoder.h
|
noinst_HEADERS += ogg_encoder.h
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Compile guac_rdpdr if PDF support available
|
|
||||||
if ENABLE_GS
|
|
||||||
|
|
||||||
freerdp_LTLIBRARIES += guac_rdpdr.la
|
|
||||||
|
|
||||||
guac_rdpdr_la_SOURCES = \
|
|
||||||
guac_rdpdr/rdpdr_messages.c \
|
|
||||||
guac_rdpdr/rdpdr_printer.c \
|
|
||||||
guac_rdpdr/rdpdr_service.c
|
|
||||||
|
|
||||||
|
|
||||||
noinst_HEADERS += \
|
|
||||||
guac_rdpdr/rdpdr_messages.h \
|
|
||||||
guac_rdpdr/rdpdr_printer.h \
|
|
||||||
guac_rdpdr/rdpdr_service.h
|
|
||||||
|
|
||||||
guac_rdpdr_la_LDFLAGS = -module -avoid-version -shared @RDP_LIBS@ @PTHREAD_LIBS@
|
|
||||||
guac_rdpdr_la_LIBADD = @LIBGUAC_LTLIB@
|
|
||||||
|
|
||||||
endif
|
|
||||||
|
|
||||||
libguac_client_rdp_la_LDFLAGS = -version-info 0:0:0 @RDP_LIBS@ @VORBIS_LIBS@ @PTHREAD_LIBS@
|
libguac_client_rdp_la_LDFLAGS = -version-info 0:0:0 @RDP_LIBS@ @VORBIS_LIBS@ @PTHREAD_LIBS@
|
||||||
guac_rdpsnd_la_LDFLAGS = -module -avoid-version -shared @RDP_LIBS@ @VORBIS_LIBS@ @PTHREAD_LIBS@
|
guac_rdpsnd_la_LDFLAGS = -module -avoid-version -shared @RDP_LIBS@ @VORBIS_LIBS@ @PTHREAD_LIBS@
|
||||||
|
guac_rdpdr_la_LDFLAGS = -module -avoid-version -shared @RDP_LIBS@ @PTHREAD_LIBS@
|
||||||
|
|
||||||
libguac_client_rdp_la_LIBADD = @LIBGUAC_LTLIB@
|
libguac_client_rdp_la_LIBADD = @LIBGUAC_LTLIB@
|
||||||
guac_rdpsnd_la_LIBADD = @LIBGUAC_LTLIB@
|
guac_rdpsnd_la_LIBADD = @LIBGUAC_LTLIB@
|
||||||
|
guac_rdpdr_la_LIBADD = @LIBGUAC_LTLIB@
|
||||||
|
|
||||||
freerdpdir = ${libdir}/freerdp
|
freerdpdir = ${libdir}/freerdp
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user