[1.5] libcurl dep, fix 'distcheck' rule.
This commit is contained in:
parent
ff1f022d47
commit
49f1a5ff54
3
CHANGES
3
CHANGES
|
@ -5,6 +5,9 @@ What's New for OpenJPEG
|
|||
! : changed
|
||||
+ : added
|
||||
|
||||
November 16, 2011
|
||||
* [vincent] fix compilation of libopenjpip (libcurl dependency) and fix 'distcheck' rule
|
||||
|
||||
October 21, 2011
|
||||
* [mickael] remove one obvious memory leak from test functions
|
||||
! [kaori] change -v option was renamed to -u, which is equivalent to -TP long option
|
||||
|
|
|
@ -29,6 +29,7 @@ target_manager.c \
|
|||
cachemodel_manager.c \
|
||||
j2kheader_manager.c \
|
||||
jp2k_encoder.c \
|
||||
openjpip.h \
|
||||
bool.h \
|
||||
boxheader_manager.h \
|
||||
box_manager.h \
|
||||
|
@ -51,7 +52,8 @@ jp2k_encoder.h \
|
|||
query_parser.h \
|
||||
channel_manager.h \
|
||||
session_manager.h \
|
||||
jpip_parser.h
|
||||
jpip_parser.h \
|
||||
jp2k_decoder.h
|
||||
|
||||
LOCAL_SRC = jp2k_decoder.c \
|
||||
imgsock_manager.c \
|
||||
|
@ -68,9 +70,10 @@ libopenjpip_server_la_CPPFLAGS = \
|
|||
-I$(top_srcdir)/applications/jpip/libopenjpip \
|
||||
-I$(top_builddir)/applications/jpip/libopenjpip \
|
||||
@FCGI_CFLAGS@ \
|
||||
@LIBCURL_CFLAGS@ \
|
||||
-DSERVER
|
||||
libopenjpip_server_la_CFLAGS =
|
||||
libopenjpip_server_la_LIBADD = @FCGI_LIBS@ -lm
|
||||
libopenjpip_server_la_LIBADD = @FCGI_LIBS@ @LIBCURL_LIBS@ -lm
|
||||
libopenjpip_server_la_LDFLAGS = -no-undefined -version-info @lt_version@
|
||||
libopenjpip_server_la_SOURCES = $(JPIP_SRC)
|
||||
|
||||
|
@ -79,9 +82,10 @@ libopenjpip_local_la_CPPFLAGS = \
|
|||
-I$(top_srcdir)/libopenjpeg \
|
||||
-I$(top_builddir)/libopenjpeg \
|
||||
-I$(top_srcdir)/applications/jpip/libopenjpip \
|
||||
-I$(top_builddir)/applications/jpip/libopenjpip
|
||||
-I$(top_builddir)/applications/jpip/libopenjpip \
|
||||
@LIBCURL_CFLAGS@
|
||||
libopenjpip_local_la_CFLAGS =
|
||||
libopenjpip_local_la_LIBADD = $(top_builddir)/libopenjpeg/libopenjpeg.la -lm
|
||||
libopenjpip_local_la_LIBADD = @LIBCURL_LIBS@ $(top_builddir)/libopenjpeg/libopenjpeg.la -lm
|
||||
libopenjpip_local_la_LDFLAGS = -no-undefined -version-info @lt_version@
|
||||
libopenjpip_local_la_SOURCES = $(JPIP_SRC) $(LOCAL_SRC)
|
||||
|
||||
|
|
|
@ -6,14 +6,14 @@ opj_server_CPPFLAGS = \
|
|||
@FCGI_CFLAGS@ \
|
||||
-I. \
|
||||
-I$(top_srcdir)/applications/jpip/libopenjpip \
|
||||
-I$(top_builddir)/applications/jpip/libopenjpip
|
||||
#
|
||||
opj_server_CFLAGS = -DServer -DQUIT_SIGNAL=\"quitJPIP\"
|
||||
-I$(top_builddir)/applications/jpip/libopenjpip \
|
||||
-DServer \
|
||||
-DQUIT_SIGNAL=\"quitJPIP\"
|
||||
#
|
||||
opj_server_LDADD = $(top_builddir)/applications/jpip/libopenjpip/libopenjpip_server.la @FCGI_LIBS@ -lm
|
||||
#
|
||||
opj_server_SOURCES = \
|
||||
opj_server.c
|
||||
opj_server_SOURCES = opj_server.c
|
||||
|
||||
#-------------
|
||||
opj_dec_server_CPPFLAGS = \
|
||||
-I. \
|
||||
|
@ -23,6 +23,7 @@ opj_dec_server_CPPFLAGS = \
|
|||
opj_dec_server_CFLAGS =
|
||||
opj_dec_server_LDADD = $(top_builddir)/applications/jpip/libopenjpip/libopenjpip_local.la
|
||||
opj_dec_server_SOURCES = opj_dec_server.c
|
||||
|
||||
#-------------
|
||||
jpip_to_jp2_CPPFLAGS = \
|
||||
-I. \
|
||||
|
@ -32,6 +33,7 @@ jpip_to_jp2_CPPFLAGS = \
|
|||
jpip_to_jp2_CFLAGS =
|
||||
jpip_to_jp2_LDADD = $(top_builddir)/applications/jpip/libopenjpip/libopenjpip_local.la
|
||||
jpip_to_jp2_SOURCES = jpip_to_jp2.c
|
||||
|
||||
#-------------
|
||||
jpip_to_j2k_CPPFLAGS = \
|
||||
-I. \
|
||||
|
@ -41,6 +43,7 @@ jpip_to_j2k_CPPFLAGS = \
|
|||
jpip_to_j2k_CFLAGS =
|
||||
jpip_to_j2k_LDADD = $(top_builddir)/applications/jpip/libopenjpip/libopenjpip_local.la
|
||||
jpip_to_j2k_SOURCES = jpip_to_j2k.c
|
||||
|
||||
#-------------
|
||||
test_index_CPPFLAGS = \
|
||||
-I. \
|
||||
|
@ -50,6 +53,7 @@ test_index_CPPFLAGS = \
|
|||
test_index_CFLAGS =
|
||||
test_index_LDADD = $(top_builddir)/applications/jpip/libopenjpip/libopenjpip_local.la
|
||||
test_index_SOURCES = test_index.c
|
||||
|
||||
#-------------
|
||||
install-data-hook:
|
||||
@echo -e " (B)\t$(bindir)/opj_server$(EXEEXT)" >> $(top_builddir)/report.txt
|
||||
|
|
15
configure.ac
15
configure.ac
|
@ -351,6 +351,21 @@ if test "x${want_jpip}" = "xyes" ; then
|
|||
|
||||
fi
|
||||
|
||||
# libcurl
|
||||
|
||||
if test "x${want_jpip}" = "xyes" ; then
|
||||
|
||||
PKG_CHECK_MODULES([LIBCURL], [libcurl],
|
||||
[have_libcurl="yes"],
|
||||
[have_libcurl="no"])
|
||||
|
||||
if ! test "x${have_libcurl}" = "xyes" ; then
|
||||
AC_MSG_WARN([libcurl library not found. OpenJPIP will not be compiled.])
|
||||
want_jpip="no"
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
if test "x${want_jpip}" = "xyes" ; then
|
||||
AC_DEFINE(USE_JPIP, [1], [define to 1 if you use jpip])
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue