[Libreoffice-commits] cppunit.git: doc/Money.dox examples/money

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sat Feb 16 11:37:51 UTC 2019


 doc/Money.dox               |    5 +++--
 examples/money/configure.ac |    5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

New commits:
commit 9da32ab7dfbc17ecc9de6d19f64ae2bca9978871
Author:     Andrés Maldonado <amaldonado at linagora.com>
AuthorDate: Thu Feb 14 10:10:13 2019 +0100
Commit:     Markus Mohrhard <markus.mohrhard at googlemail.com>
CommitDate: Sat Feb 16 12:37:31 2019 +0100

    Modernize AM_INIT_AUTOMAKE syntax
    
    For more info, see: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
    
    Change-Id: If27065b6d9c9245717ca24e0c0e1fa4c29bc3e5c
    Reviewed-on: https://gerrit.libreoffice.org/67808
    Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
    Tested-by: Markus Mohrhard <markus.mohrhard at googlemail.com>

diff --git a/doc/Money.dox b/doc/Money.dox
index 68d5b6d..2cbb88b 100644
--- a/doc/Money.dox
+++ b/doc/Money.dox
@@ -67,8 +67,9 @@ hold the code we're going to build. Create \c configure.in and
 <tt>configure.in</tt>
 \verbatim
 dnl Process this file with autoconf to produce a configure script.
-AC_INIT(Makefile.am)
-AM_INIT_AUTOMAKE(money,0.1)
+AC_INIT(money,0.1)
+AC_CONFIG_SRCDIR(Makefile.am)
+AM_INIT_AUTOMAKE
 PKG_CHECK_MODULES([CPPUNIT], [cppunit >= 1.11.6])
 AC_PROG_CXX
 AC_PROG_CC
diff --git a/examples/money/configure.ac b/examples/money/configure.ac
index a6586e7..954d567 100644
--- a/examples/money/configure.ac
+++ b/examples/money/configure.ac
@@ -1,8 +1,9 @@
 dnl Process this file with autoconf to produce a configure script.
 dnl Don't forget to run `aclocal -I /usr/local/share/aclocal` before
 dnl running autoconf! This is required for PKG_CHECK_MODULES to work.
-AC_INIT(Makefile.am)
-AM_INIT_AUTOMAKE(cppunit-cookbook,1.6.2)
+AC_INIT(cppunit-cookbook,1.6.2)
+AC_CONFIG_SRCDIR(Makefile.am)
+AM_INIT_AUTOMAKE
 PKG_CHECK_MODULES([CPPUNIT], [cppunit >= 1.11.6])
 AC_PROG_CXX
 AC_PROG_CC


More information about the Libreoffice-commits mailing list