[libvirt] [ocaml PATCH 1/4] build: move OCaml macros to a m4 subdir

Pino Toscano ptoscano at redhat.com
Mon Oct 15 14:02:32 UTC 2018


This way they will not be overwritten when aclocal.m4 is changed.

Signed-off-by: Pino Toscano <ptoscano at redhat.com>
---
 .gitignore                | 1 +
 configure.ac              | 1 +
 aclocal.m4 => m4/ocaml.m4 | 0
 3 files changed, 2 insertions(+)
 rename aclocal.m4 => m4/ocaml.m4 (100%)

diff --git a/.gitignore b/.gitignore
index 32409ae..1d9fc14 100644
--- a/.gitignore
+++ b/.gitignore
@@ -15,6 +15,7 @@ Makefile
 core
 core.*
 /META
+/aclocal.m4
 /autom4te.cache
 /config.cache
 /config.h
diff --git a/configure.ac b/configure.ac
index 66f0cf2..dcb4ae7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -18,6 +18,7 @@
 dnl Process this file with autoconf to produce a configure script.
 
 AC_INIT(ocaml-libvirt,0.6.1.4)
+AC_CONFIG_MACRO_DIRS([m4])
 
 dnl Check for basic C environment.
 AC_PROG_CC
diff --git a/aclocal.m4 b/m4/ocaml.m4
similarity index 100%
rename from aclocal.m4
rename to m4/ocaml.m4
-- 
2.17.2




More information about the libvir-list mailing list