From e48640cb71ceb85cda8b7714a32f04b0e4c66614 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 1 Oct 2023 12:03:43 +0200 Subject: Added libtoolize and m4 things for autoconf. --- Makefile.am | 1 + Makefile.git | 5 +++-- configure.ac | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index 13a6b8e..80f061e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,7 @@ # not a GNU package. You can remove this line, if # have all needed files, that a GNU package needs AUTOMAKE_OPTIONS = foreign 1.4 +ACLOCAL_AMFLAGS = -I m4 SUBDIRS = src diff --git a/Makefile.git b/Makefile.git index d160702..8092793 100644 --- a/Makefile.git +++ b/Makefile.git @@ -1,8 +1,9 @@ default: all all: - aclocal + libtoolize + aclocal -I m4 autoheader - automake + automake --add-missing autoconf diff --git a/configure.ac b/configure.ac index 437b4b1..15d994c 100644 --- a/configure.ac +++ b/configure.ac @@ -6,7 +6,7 @@ dnl note: the configure scripts needs to be regenerated to update the version nu define([gitversion], esyscmd([sh -c "echo -n 'git'; git rev-parse --short HEAD | tr -d '\n'"])) AC_INIT([osirion],[0.2.8-gitversion]) - +AC_CONFIG_MACRO_DIRS([m4]) AC_CONFIG_HEADERS(src/config.h) AC_LANG([C++]) -- cgit v1.2.3