diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2004-05-12 16:32:50 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2004-05-12 16:32:50 +0000 |
commit | 0a606db7280ece79e888df098e10dd59097aaed9 (patch) | |
tree | d0f99062401af5401044a6f89860a6d111ff7f23 /libextra/Makefile.am | |
parent | d3c89339db8104c6935e5fd1e118f8525c911bc8 (diff) | |
download | gnutls-0a606db7280ece79e888df098e10dd59097aaed9.tar.gz |
Added configure option to disable lzo completely.
Diffstat (limited to 'libextra/Makefile.am')
-rw-r--r-- | libextra/Makefile.am | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/libextra/Makefile.am b/libextra/Makefile.am index a4ba2d425f..e4a9a23b63 100644 --- a/libextra/Makefile.am +++ b/libextra/Makefile.am @@ -40,6 +40,17 @@ PGP_LIBS = openpgp/libpgp.la endif endif +if ENABLE_INCLUDED_LZO +LZO_OBJECTS = minilzo.c +else + +if USE_LZO +LZO_LIBS = -llzo +endif +LZO_OBJECTS = +endif + + COBJECTS_EXTRA = ext_srp.c \ gnutls_srp.c auth_srp.c auth_srp_passwd.c auth_srp_sb64.c \ gnutls_extra.c auth_srp_rsa.c gnutls_openpgp.c @@ -48,15 +59,12 @@ COBJECTS_EXTRA = ext_srp.c \ libgnutls_extra_la_LDFLAGS = $(libgnutls_extra_version_script_cmd) \ -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \ $(LIBOPENCDK_LIBS) $(LZO_LINK) -libgnutls_extra_la_DEPENDENCIES = $(LZO_OBJECTS) -libgnutls_extra_la_SOURCES = $(COBJECTS_EXTRA) +libgnutls_extra_la_SOURCES = $(COBJECTS_EXTRA) $(LZO_OBJECTS) -libgnutls_extra_la_LIBADD = $(LZO_OBJECTS) $(PGP_LIBS) \ +libgnutls_extra_la_LIBADD = $(LZO_LIBS) $(PGP_LIBS) \ ../lib/libgnutls.la -EXTRA_libgnutls_extra_la_SOURCES = minilzo.c - gnutls-extra-api.tex: $(COBJECTS_EXTRA) @echo "" > gnutls-extra-api.tex |