From cb12429bbb357fc77f4eae50c9f2852e6cf830b4 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Mon, 12 Dec 2016 00:33:28 +0100 Subject: Fail build early if socket.o cannot be generated. This is a hack to fail quickly on old OpenSSL versions. --- Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 3c1a7aab..c7e97b8b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6,7 +6,10 @@ AUTOMAKE_OPTIONS= 1.11 foreign no-dist-gzip dist-bzip2 dist-xz subdir-objects AM_CPPFLAGS= -I$(srcdir)/libesmtp ACLOCAL_AMFLAGS= -I m4 -I m4-local AM_YFLAGS= -d -BUILT_SOURCES= rcfile_y.h +# listing socket.$(OBJEXT) here is a hack to compile socket.c pretty +# early in order to fail it early on outdated OpenSSL libraries, +# without building a few dozen other files first. +BUILT_SOURCES= rcfile_y.h socket.$(OBJEXT) bin_PROGRAMS= fetchmail -- cgit v1.2.3