configure: don't require autoconf-archive
We ship the few macros we need or make them conditional
This commit is contained in:
14
configure.ac
14
configure.ac
@ -24,16 +24,8 @@ AC_CONFIG_SRCDIR([mu/mu.cc])
|
|||||||
AC_CONFIG_MACRO_DIR([m4])
|
AC_CONFIG_MACRO_DIR([m4])
|
||||||
AC_CONFIG_AUX_DIR([build-aux])
|
AC_CONFIG_AUX_DIR([build-aux])
|
||||||
|
|
||||||
m4_ifndef([AX_COMPILER_FLAGS],[
|
m4_ifdef([AX_IS_RELEASE],[AX_IS_RELEASE([git-directory])])
|
||||||
AC_MSG_ERROR([
|
m4_ifdef([AX_CHECK_ENABLE_DEBUG],[AX_CHECK_ENABLE_DEBUG([yes])])
|
||||||
*** autoconf-archive >= 20150925 required for the build setup.
|
|
||||||
*** Please install it, or get an official release from
|
|
||||||
*** https://github.com/djcb/mu/releases
|
|
||||||
])
|
|
||||||
])
|
|
||||||
|
|
||||||
AX_IS_RELEASE([git-directory])
|
|
||||||
AX_CHECK_ENABLE_DEBUG([yes])
|
|
||||||
|
|
||||||
AM_INIT_AUTOMAKE([1.14 foreign no-dist-gzip tar-ustar dist-xz])
|
AM_INIT_AUTOMAKE([1.14 foreign no-dist-gzip tar-ustar dist-xz])
|
||||||
|
|
||||||
@ -53,7 +45,7 @@ AC_PROG_INSTALL
|
|||||||
AC_HEADER_STDC
|
AC_HEADER_STDC
|
||||||
|
|
||||||
AX_CXX_COMPILE_STDCXX_14
|
AX_CXX_COMPILE_STDCXX_14
|
||||||
AX_COMPILER_FLAGS(,,[yes])
|
m4_ifdef([AX_COMPILER_FLAGS],[AX_COMPILER_FLAGS(,,[yes])])
|
||||||
AX_VALGRIND_CHECK
|
AX_VALGRIND_CHECK
|
||||||
|
|
||||||
# for now, use AM_PROG_LIBTOOL, as we don't want to require
|
# for now, use AM_PROG_LIBTOOL, as we don't want to require
|
||||||
|
|||||||
@ -317,8 +317,8 @@ Xapian, GMime and their dependencies must be installed.
|
|||||||
|
|
||||||
Alternatively, if you build from the git repository or use a tarball
|
Alternatively, if you build from the git repository or use a tarball
|
||||||
like the ones that @t{github} produces, the instructions are slightly
|
like the ones that @t{github} produces, the instructions are slightly
|
||||||
different, and require you to have @t{autotools} (@t{autoconf},
|
different, and require you to have autotools (@t{autoconf},
|
||||||
@t{autoconf-archive}, @t{automake}, @t{libtool}, @t{texinfo}) installed:
|
@t{automake}, @t{libtool}, @t{texinfo}) installed:
|
||||||
|
|
||||||
@example
|
@example
|
||||||
# get from git (alternatively, use a github tarball)
|
# get from git (alternatively, use a github tarball)
|
||||||
|
|||||||
Reference in New Issue
Block a user