You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tcl.apache.org by mx...@apache.org on 2021/11/07 23:17:32 UTC
[tcl-rivet] 02/03: removing unneeded double call to
AM_AUTOMAKE_INIT, calling AC_CONFIG_SRCDIR
This is an automated email from the ASF dual-hosted git repository.
mxmanghi pushed a commit to branch quattuor
in repository https://gitbox.apache.org/repos/asf/tcl-rivet.git
commit c6dadcd59c5b1ac2b2116f8a5b88a4ca432cf601
Author: Massimo Manghi <ma...@gmail.com>
AuthorDate: Sat Nov 6 17:07:28 2021 +0100
removing unneeded double call to AM_AUTOMAKE_INIT, calling AC_CONFIG_SRCDIR
---
configure.ac | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 43a9885..a9c6f8a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -29,7 +29,6 @@ TEA_INIT([3.9])
CONFIGURE_CMD="$0 $*"
AC_CONFIG_AUX_DIR(tclconfig)
-AM_INIT_AUTOMAKE
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([m4])
@@ -56,6 +55,14 @@ AX_PREFIX_CONFIG_H([rivet_config.h],[rivet])
AC_DISABLE_STATIC
AM_INIT_AUTOMAKE([foreign subdir-objects])
+# establishing a landmark in the directory hierarchy as per
+# autotools design. This is what AC_CONFIG_SRCDIR is meant to do
+# I arbitrarily choose src/rivet.h as landmark, moving this file
+# to a different directory or deleting it implies this line has to
+# change
+
+AC_CONFIG_SRCDIR([src/rivet.h])
+
#--------------------------------------------------------------------
# Load the tclConfig.sh file
#--------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tcl.apache.org
For additional commands, e-mail: commits-help@tcl.apache.org