From: Lubomir Sedlacik Date: Thu, 10 Jun 2004 23:10:34 +0000 (+0000) Subject: Build libcontrib only when really needed. X-Git-Tag: silc.server.0.9.19~69 X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=commitdiff_plain;h=06d38d520d2c49be2b72647aa7f2493cca292ad6 Build libcontrib only when really needed. Should fix build problem on Mac OS X where ar(1) can't create archives without (object) files. --- diff --git a/lib/contrib/Makefile.am b/lib/contrib/Makefile.am index b7bec728..6386103e 100644 --- a/lib/contrib/Makefile.am +++ b/lib/contrib/Makefile.am @@ -18,7 +18,16 @@ AUTOMAKE_OPTIONS = 1.0 no-dependencies foreign +if HAVE_GETOPT_LONG +if HAVE_REGEX +noinst_LTLIBRARIES = +else +noinst_LTLIBRARIES = libcontrib.la +endif +else noinst_LTLIBRARIES = libcontrib.la +endif + if HAVE_GETOPT_LONG GETOPT =