Modernize configure.ac

This commit is contained in:
Anthony Scemama 2021-11-17 14:16:55 +01:00
parent 568991af37
commit 4e20a5fde3
3 changed files with 6 additions and 5 deletions

View File

@ -258,8 +258,7 @@ CLEANFILES += $(pytrexio_c) \
python/src/*.c \
python/src/*.h
.PHONY: cppcheck python-test python-install python-sdist check-numpy
.PHONY: cppcheck python-test python-install python-sdist check-numpy FORCE
endif
.PHONY: FORCE

View File

@ -1,5 +1,5 @@
#!/bin/sh
autoreconf -i
autoreconf -i -Wall

View File

@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.69])
AC_INIT([trexio], [2.0.0], [https://github.com/TREX-CoE/trexio/issues])
AC_INIT([trexio],[2.0.0],[https://github.com/TREX-CoE/trexio/issues])
AM_INIT_AUTOMAKE([subdir-objects color-tests parallel-tests silent-rules 1.11])
AM_MAINTAINER_MODE()
@ -27,6 +27,7 @@ AC_DEFINE_UNQUOTED(VERSION_MAJOR, [$VERSION_MAJOR], [major version])
AC_DEFINE_UNQUOTED(VERSION_MINOR, [$VERSION_MINOR], [minor version])
AC_DEFINE_UNQUOTED(VERSION_PATCH, [$VERSION_PATCH], [patch version])
## Save system information, e.g. user name
UNAME=`echo ${USER}`
@ -59,7 +60,8 @@ PKG_CFLAGS=""
PKG_LIBS=""
AC_PROG_INSTALL
AC_PROG_LIBTOOL
LT_INIT
AM_PROG_AR
AC_PROG_LN_S
AC_PROG_GREP