[gnome-panel/geiger-3-24: 3/10] [build] configure.ac: check for autconf-archive



commit c91924b74794c6106e750b597592d9bc22604192
Author: Sebastian Geiger <sbastig gmx net>
Date:   Sat Jan 6 09:37:46 2018 +0100

    [build] configure.ac: check for autconf-archive

 configure.ac |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index dfecfc5..848c76d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -24,6 +24,14 @@ AC_CONFIG_MACRO_DIR([m4])
 AC_CONFIG_AUX_DIR([build-aux])
 
 dnl **************************************************************************
+dnl Check if AX_* macros from the autoconf-archive package are present and
+dnl ask user to install the autoconf-archive package if necessary.
+dnl **************************************************************************
+
+m4_ifdef([AX_IS_RELEASE],,
+  [AC_MSG_ERROR([Error: could not find AX_IS_RELEASE macro. Please install the 'autoconf-archive' 
package.])])
+
+dnl **************************************************************************
 dnl Set release policy
 dnl **************************************************************************
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]