From 93a29545ce330439004b2b7fed6d45b6d8de4edc Mon Sep 17 00:00:00 2001 From: manupap1 Date: Tue, 11 Nov 2014 19:46:20 +0100 Subject: [PATCH] Add libtool support for plugins --- Makefile.am | 2 ++ bootstrap.sh | 1 + configure.ac | 3 +++ 3 files changed, 6 insertions(+) diff --git a/Makefile.am b/Makefile.am index 55cf10db8..a88e0bd9d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,7 @@ AUTOMAKE_OPTIONS = foreign +ACLOCAL_AMFLAGS = -I m4 + # And these to the user and group of your webserver webuser = @WEB_USER@ webgroup = @WEB_GROUP@ diff --git a/bootstrap.sh b/bootstrap.sh index 681d5b319..1c27b6d2b 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -1,4 +1,5 @@ #!/bin/bash +libtoolize aclocal autoheader automake --add-missing diff --git a/configure.ac b/configure.ac index efe61286d..1ec3c728c 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,9 @@ AC_PREREQ(2.59) AC_INIT(zm,1.28.0,[http://www.zoneminder.com/forums/ - Please check FAQ first],zoneminder,http://www.zoneminder.com/downloads.html) AM_INIT_AUTOMAKE +LT_PREREQ([2.4.2]) +LT_INIT([dlopen]) +AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_SRCDIR(src/zm.h) AC_CONFIG_HEADERS(config.h)