linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] [PATCH oRTP] Put autoconf macros into m4/ subdirec


From: Thierry Reding
Subject: [Linphone-developers] [PATCH oRTP] Put autoconf macros into m4/ subdirectory
Date: Thu, 23 Feb 2012 08:16:58 +0100

This is standard practice and is consistent with how the linphone and
mediastreamer2 projects.

Signed-off-by: Thierry Reding <address@hidden>
---
 Makefile.am  |    2 ++
 configure.ac |    1 +
 2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 9dcbb13..1ba1275 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,5 +1,7 @@
 # linphone/oRTP/Makefile.am -- 
 
+ACLOCAL_AMFLAGS = -I m4
+
 EXTRA_DIST = oRTP.prj ortp-config.h.in TODO pkg.list autogen.sh ortp.pc.in 
ortp.spec.in ortp.spec ortp.doxygen
 
 SUBDIRS=src build include
diff --git a/configure.ac b/configure.ac
index cc706fa..e1c0156 100644
--- a/configure.ac
+++ b/configure.ac
@@ -31,6 +31,7 @@ PACKAGE=ortp
 AM_INIT_AUTOMAKE([tar-ustar])
 m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])],)
 AC_CONFIG_HEADERS(ortp-config.h)
+AC_CONFIG_MACRO_DIR([m4])
 AC_DEFINE_UNQUOTED(ORTP_MAJOR_VERSION,$ORTP_MAJOR_VERSION, [major version])
 AC_DEFINE_UNQUOTED(ORTP_MINOR_VERSION,$ORTP_MINOR_VERSION, [minor version])
 AC_DEFINE_UNQUOTED(ORTP_MICRO_VERSION,$ORTP_MICRO_VERSION, [micro version])
-- 
1.7.9.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]