configure: Don't build static libraries by default
authorTobias Brunner <tobias@strongswan.org>
Fri, 28 Apr 2017 13:39:01 +0000 (15:39 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 23 May 2017 16:29:11 +0000 (18:29 +0200)
This way we can actually detect if someone wants to build strongSwan
statically because --enable-static has to be passed explicitly.

configure.ac

index 2dfd426..56738bd 100644 (file)
@@ -35,6 +35,7 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES])
 AC_CONFIG_MACRO_DIR([m4/config])
 AC_CONFIG_HEADERS([config.h])
 AC_DEFINE([CONFIG_H_INCLUDED], [], [defined if config.h included])
+AC_DISABLE_STATIC
 PKG_PROG_PKG_CONFIG
 
 m4_include(m4/macros/split-package-version.m4)