Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@telenet.be>2023-10-01 12:03:43 +0200
committerStijn Buys <ingar@telenet.be>2023-10-01 12:03:43 +0200
commite48640cb71ceb85cda8b7714a32f04b0e4c66614 (patch)
treef06c53f4213b4bdafeb7eff9faed54ae6e465830
parent7823c639c51d0c3b25e9b05821b3c1292b258e22 (diff)
Added libtoolize and m4 things for autoconf.
-rw-r--r--Makefile.am1
-rw-r--r--Makefile.git5
-rw-r--r--configure.ac2
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++])