summarylogtreecommitdiffstats
path: root/automake.patch
blob: 72f0bb7b698c9dca92bc0e306090f3fed3ef5b3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Description: Do not call AM_INIT_AUTOMAKE twice
Bug-Debian: https://bugs.debian.org/998479
Author: Andreas Tille <tille@debian.org>
Last-Update: Fri, 05 Nov 2021 22:03:24 +0100
Reviewed-By: Étienne Mollier <emollier@debian.org>
--- original/configure.ac	2023-05-09 09:40:31.158383069 +0530
+++ patched/configure.ac	2023-05-09 09:42:31.203840699 +0530
@@ -20,7 +20,7 @@
 AC_CONFIG_MACRO_DIR([m4])
 
 # We want to use automake
-AM_INIT_AUTOMAKE
+AM_INIT_AUTOMAKE([subdir-objects])
 
 # Select compiler
 AC_PROG_CXX([clang-omp++ clang++ g++ icc])
@@ -310,7 +310,6 @@
 AM_CONDITIONAL(WITH_RAEVOL, test x"$raevol" != xno)
 if test "x$raevol" = "xyes" ; then
    AC_DEFINE(__REGUL)
-   AM_INIT_AUTOMAKE([subdir-objects])
 fi
 
 #  ************************* --with-blas option *******************************