]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
examples: Modernize configure.ac.
authorBruno Haible <bruno@clisp.org>
Fri, 19 Oct 2018 12:14:28 +0000 (14:14 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 19 Oct 2018 12:14:28 +0000 (14:14 +0200)
* gettext-tools/examples/hello-*/configure.ac: Use the recommended AC_INIT and
AM_INIT_AUTOMAKE syntax. Require automake >= 1.11.

28 files changed:
gettext-tools/examples/hello-c++-gnome/configure.ac
gettext-tools/examples/hello-c++-qt/configure.ac
gettext-tools/examples/hello-c++-wxwidgets/configure.ac
gettext-tools/examples/hello-c++/configure.ac
gettext-tools/examples/hello-c-gnome/configure.ac
gettext-tools/examples/hello-c-gnome3/configure.ac
gettext-tools/examples/hello-c/configure.ac
gettext-tools/examples/hello-clisp/configure.ac
gettext-tools/examples/hello-csharp-forms/configure.ac
gettext-tools/examples/hello-csharp/configure.ac
gettext-tools/examples/hello-gawk/configure.ac
gettext-tools/examples/hello-guile/configure.ac
gettext-tools/examples/hello-java-awt/configure.ac
gettext-tools/examples/hello-java-qtjambi/configure.ac
gettext-tools/examples/hello-java-swing/configure.ac
gettext-tools/examples/hello-java/configure.ac
gettext-tools/examples/hello-librep/configure.ac
gettext-tools/examples/hello-objc-gnome/configure.ac
gettext-tools/examples/hello-objc/configure.ac
gettext-tools/examples/hello-pascal/configure.ac
gettext-tools/examples/hello-perl/configure.ac
gettext-tools/examples/hello-php/configure.ac
gettext-tools/examples/hello-python/configure.ac
gettext-tools/examples/hello-sh/configure.ac
gettext-tools/examples/hello-smalltalk/configure.ac
gettext-tools/examples/hello-tcl-tk/configure.ac
gettext-tools/examples/hello-tcl/configure.ac
gettext-tools/examples/hello-ycp/configure.ac

index 3da4221848de7c3b42779094222e7fa679d71d21..cf1c010abdac2c5615610194e5367a84ffa177e8 100644 (file)
@@ -3,9 +3,9 @@ dnl This file is in the public domain.
 dnl
 dnl Configuration file - processed by autoconf.
 
-AC_INIT
-AC_CONFIG_SRCDIR(hello.cc)
-AM_INIT_AUTOMAKE(hello-c++-gnome, 0)
+AC_INIT([hello-c++-gnome], [0], , [hello-c++-gnome])
+AC_CONFIG_SRCDIR([hello.cc])
+AM_INIT_AUTOMAKE([1.11])
 
 AC_PROG_CXX
 
index 9858a528da56fce18d6e57dbd7bb43243f908ad0..20e932477239146408e696141223c73abad663b7 100644 (file)
@@ -3,9 +3,9 @@ dnl This file is in the public domain.
 dnl
 dnl Configuration file - processed by autoconf.
 
-AC_INIT
-AC_CONFIG_SRCDIR(hello.cc)
-AM_INIT_AUTOMAKE(hello-c++-qt, 0)
+AC_INIT([hello-c++-qt], [0], , [hello-c++-qt])
+AC_CONFIG_SRCDIR([hello.cc])
+AM_INIT_AUTOMAKE([1.11])
 
 AC_PROG_CXX
 FUN_TYPE_BOOL
index a25a6b94b982569ad96784d1a9c30ec191c01ceb..cb4545131caec0a6715654b1706fec7ad30b64c9 100644 (file)
@@ -3,9 +3,9 @@ dnl This file is in the public domain.
 dnl
 dnl Configuration file - processed by autoconf.
 
-AC_INIT
-AC_CONFIG_SRCDIR(hello.cc)
-AM_INIT_AUTOMAKE(hello-c++-wxwidgets, 0)
+AC_INIT([hello-c++-wxwidgets], [0], , [hello-c++-wxwidgets])
+AC_CONFIG_SRCDIR([hello.cc])
+AM_INIT_AUTOMAKE([1.11])
 
 AC_PROG_CXX
 AC_CHECK_HEADERS([unistd.h])
index 999937ebd6c80452c73a8ca9f7089d0a09b83c50..ae7e2aeee5de5bdc4e5ca6139ca77147c73f0069 100644 (file)
@@ -3,9 +3,9 @@ dnl This file is in the public domain.
 dnl
 dnl Configuration file - processed by autoconf.
 
-AC_INIT
-AC_CONFIG_SRCDIR(hello.cc)
-AM_INIT_AUTOMAKE(hello-c++, 0)
+AC_INIT([hello-c++], [0], , [hello-c++])
+AC_CONFIG_SRCDIR([hello.cc])
+AM_INIT_AUTOMAKE([1.11])
 
 AC_PROG_CXX
 AC_CHECK_HEADERS([unistd.h])
index d2e42c97b45bd581488c4c863af8598142474437..a3d691f49d083499d5e1fafab7abf58a68503893 100644 (file)
@@ -3,9 +3,9 @@ dnl This file is in the public domain.
 dnl
 dnl Configuration file - processed by autoconf.
 
-AC_INIT
-AC_CONFIG_SRCDIR(hello.c)
-AM_INIT_AUTOMAKE(hello-c-gnome, 0)
+AC_INIT([hello-c-gnome], [0])
+AC_CONFIG_SRCDIR([hello.c])
+AM_INIT_AUTOMAKE([1.11])
 
 AC_PROG_CC
 GNOME_INIT
index 738f53b6c099cabf3d1ef1c7e029cd9d008e4223..113644bdc06d216bce508c10566c620197c3bf32 100644 (file)
@@ -3,9 +3,9 @@ dnl This file is in the public domain.
 dnl
 dnl Configuration file - processed by autoconf.
 
-AC_INIT
-AC_CONFIG_SRCDIR(hello.c)
-AM_INIT_AUTOMAKE(hello-c-gnome3, 0)
+AC_INIT([hello-c-gnome3], [0])
+AC_CONFIG_SRCDIR([hello.c])
+AM_INIT_AUTOMAKE([1.11])
 
 AC_PROG_CC
 AC_CHECK_HEADERS([unistd.h])
index ce35685ab159d6ca82c7dfd75dfcb1d270c71c65..d1d9f65228c8b9827143e41b00ae7d2797124dbe 100644 (file)
@@ -3,9 +3,9 @@ dnl This file is in the public domain.
 dnl
 dnl Configuration file - processed by autoconf.
 
-AC_INIT
-AC_CONFIG_SRCDIR(hello.c)
-AM_INIT_AUTOMAKE(hello-c, 0)
+AC_INIT([hello-c], [0])
+AC_CONFIG_SRCDIR([hello.c])
+AM_INIT_AUTOMAKE([1.11])
 
 AC_PROG_CC
 AC_CHECK_HEADERS([unistd.h])
index 5eed3262ce65565598a3db1fc3c23c038167133b..041dad400bbedd4c5877f652bd3ae534084574c2 100644 (file)
@@ -3,9 +3,9 @@ dnl This file is in the public domain.
 dnl
 dnl Configuration file - processed by autoconf.
 
-AC_INIT
-AC_CONFIG_SRCDIR(hello.lisp.in)
-AM_INIT_AUTOMAKE(hello-clisp, 0)
+AC_INIT([hello-clisp], [0])
+AC_CONFIG_SRCDIR([hello.lisp.in])
+AM_INIT_AUTOMAKE([1.11])
 
 dnl Check for availability of the Lisp system.
 AC_PATH_PROG(CLISP, clisp)
index 8b4ddb3668d1cd8f707319cfaf1c8867a16e740a..95bf0baeb50724e0fed6b1dea36270adaf454296 100644 (file)
@@ -3,9 +3,9 @@ dnl This file is in the public domain.
 dnl
 dnl Configuration file - processed by autoconf.
 
-AC_INIT
-AC_CONFIG_SRCDIR(hello.cs)
-AM_INIT_AUTOMAKE(hello-csharp-forms, 0)
+AC_INIT([hello-csharp-forms], [0])
+AC_CONFIG_SRCDIR([hello.cs])
+AM_INIT_AUTOMAKE([1.11])
 
 dnl Check whether we can build C# programs at all.
 gt_CSHARPCOMP
index 9a61c18ae552963bda3404effa7426deb4e720c8..4565d346c1f079caad0f4a048dca2985f41ef25a 100644 (file)
@@ -3,9 +3,9 @@ dnl This file is in the public domain.
 dnl
 dnl Configuration file - processed by autoconf.
 
-AC_INIT
-AC_CONFIG_SRCDIR(hello.cs)
-AM_INIT_AUTOMAKE(hello-csharp, 0)
+AC_INIT([hello-csharp], [0])
+AC_CONFIG_SRCDIR([hello.cs])
+AM_INIT_AUTOMAKE([1.11])
 
 dnl Check whether we can build C# programs at all.
 gt_CSHARPCOMP
index f48794d488c062f6cf1bf251b65c1e04b7450d70..aa1fd4de1ed01758f7595a17ffd0270957362edf 100644 (file)
@@ -3,9 +3,9 @@ dnl This file is in the public domain.
 dnl
 dnl Configuration file - processed by autoconf.
 
-AC_INIT
-AC_CONFIG_SRCDIR(hello.awk)
-AM_INIT_AUTOMAKE(hello-gawk, 0)
+AC_INIT([hello-gawk], [0])
+AC_CONFIG_SRCDIR([hello.awk])
+AM_INIT_AUTOMAKE([1.11])
 
 dnl Check for availability of GNU awk.
 AC_PATH_PROG(GAWK, gawk)
index 0c2ceb218b720809d46d5f31b7ffa4783cd81dd5..2906dbd77197294806bc352c67199e20b0f02a62 100644 (file)
@@ -3,9 +3,9 @@ dnl This file is in the public domain.
 dnl
 dnl Configuration file - processed by autoconf.
 
-AC_INIT
-AC_CONFIG_SRCDIR(hello.scm)
-AM_INIT_AUTOMAKE(hello-guile, 0)
+AC_INIT([hello-guile], [0])
+AC_CONFIG_SRCDIR([hello.scm])
+AM_INIT_AUTOMAKE([1.11])
 
 dnl Check for availability of the guile interpreter.
 AC_PATH_PROG(GUILE, guile)
index 9cbadfdd15c77741f3db3627b27b5cf777c5a4f4..7d84a97c63df491cee97de1b02fc59df42117a70 100644 (file)
@@ -3,9 +3,9 @@ dnl This file is in the public domain.
 dnl
 dnl Configuration file - processed by autoconf.
 
-AC_INIT
-AC_CONFIG_SRCDIR(Hello.java)
-AM_INIT_AUTOMAKE(hello-java-awt, 0)
+AC_INIT([hello-java-awt], [0])
+AC_CONFIG_SRCDIR([Hello.java])
+AM_INIT_AUTOMAKE([1.11])
 
 dnl Check whether we can execute Java programs.
 gt_JAVAEXEC([TestAWT], [$srcdir/m4])
index 2a5c1f4f04cdb094c30d3d6ce7c79c2361bc27cf..33c10d3f6a8053bf9a569bde3883a02b02b1c515 100644 (file)
@@ -3,9 +3,9 @@ dnl This file is in the public domain.
 dnl
 dnl Configuration file - processed by autoconf.
 
-AC_INIT
-AC_CONFIG_SRCDIR(Hello.java)
-AM_INIT_AUTOMAKE(hello-java-qtjambi, 0)
+AC_INIT([hello-java-qtjambi], [0])
+AC_CONFIG_SRCDIR([Hello.java])
+AM_INIT_AUTOMAKE([1.11])
 
 dnl Check whether we can execute Java programs.
 gt_JAVAEXEC([Test15], [$srcdir/m4])
index fa9dd53481bab6600f49a885f86f23c25e1ad685..227e7bcd2e5167adece71836dd6859e0396f51bf 100644 (file)
@@ -3,9 +3,9 @@ dnl This file is in the public domain.
 dnl
 dnl Configuration file - processed by autoconf.
 
-AC_INIT
-AC_CONFIG_SRCDIR(Hello.java)
-AM_INIT_AUTOMAKE(hello-java-swing, 0)
+AC_INIT([hello-java-swing], [0])
+AC_CONFIG_SRCDIR([Hello.java])
+AM_INIT_AUTOMAKE([1.11])
 
 dnl Check whether we can execute Java programs.
 gt_JAVAEXEC([TestAWT], [$srcdir/m4])
index 29da82452f228343847eebc7b26e0c979e7f4f64..e4512fd94ec5862ed693fd18b71c11bade94d050 100644 (file)
@@ -3,9 +3,9 @@ dnl This file is in the public domain.
 dnl
 dnl Configuration file - processed by autoconf.
 
-AC_INIT
-AC_CONFIG_SRCDIR(Hello.java)
-AM_INIT_AUTOMAKE(hello-java, 0)
+AC_INIT([hello-java], [0])
+AC_CONFIG_SRCDIR([Hello.java])
+AM_INIT_AUTOMAKE([1.11])
 
 dnl Check whether we can execute Java programs.
 gt_JAVAEXEC
index b29e622748391267226f5c727133c5ee594190f2..ae49fcf3d9ab2401bba6dc45a07006bf75a23e86 100644 (file)
@@ -3,9 +3,9 @@ dnl This file is in the public domain.
 dnl
 dnl Configuration file - processed by autoconf.
 
-AC_INIT
-AC_CONFIG_SRCDIR(hello.jl.in)
-AM_INIT_AUTOMAKE(hello-librep, 0)
+AC_INIT([hello-librep], [0])
+AC_CONFIG_SRCDIR([hello.jl.in])
+AM_INIT_AUTOMAKE([1.11])
 
 dnl Check for availability of the librep interpreter.
 AC_PATH_PROG(REP, rep)
index 9c64efe29e680a0bed2059c2b183c58e9bb348c7..89756c777c2b68759a79b597138874bcee383030 100644 (file)
@@ -3,9 +3,9 @@ dnl This file is in the public domain.
 dnl
 dnl Configuration file - processed by autoconf.
 
-AC_INIT
-AC_CONFIG_SRCDIR(hello.m)
-AM_INIT_AUTOMAKE(hello-objc-gnome, 0)
+AC_INIT([hello-objc-gnome], [0])
+AC_CONFIG_SRCDIR([hello.m])
+AM_INIT_AUTOMAKE([1.11])
 
 AC_PROG_CC
 AC_SUBST([OBJC],["$CC"])
index 86ddc704d377be90d8c60eea1785cd24d4c56696..0838c137fbc50f298a6fff65ea55e526fb15ee84 100644 (file)
@@ -3,9 +3,9 @@ dnl This file is in the public domain.
 dnl
 dnl Configuration file - processed by autoconf.
 
-AC_INIT
-AC_CONFIG_SRCDIR(hello.m)
-AM_INIT_AUTOMAKE(hello-objc, 0)
+AC_INIT([hello-objc], [0])
+AC_CONFIG_SRCDIR([hello.m])
+AM_INIT_AUTOMAKE([1.11])
 
 AC_PROG_CC
 AC_SUBST(OBJC,["$CC"])
index 37fd52216010046430dcc7f9adb2a869485e5ea0..1585e5d4f5eb68b23ec186041698e52e52907783 100644 (file)
@@ -3,9 +3,9 @@ dnl This file is in the public domain.
 dnl
 dnl Configuration file - processed by autoconf.
 
-AC_INIT
-AC_CONFIG_SRCDIR(hello.pas)
-AM_INIT_AUTOMAKE(hello-pascal, 0)
+AC_INIT([hello-pascal], [0])
+AC_CONFIG_SRCDIR([hello.pas])
+AM_INIT_AUTOMAKE([1.11])
 
 dnl Check for availability of the Free Pascal Compiler.
 AC_PATH_PROGS(PPC, ppc386 ppcx64)
index df25eb92f7ad411ebf84eb75bcb36e9c53247280..885ef164cedd1499488b7d2ffce29b378ae828ad 100644 (file)
@@ -3,9 +3,9 @@ dnl This file is in the public domain.
 dnl
 dnl Configuration file - processed by autoconf.
 
-AC_INIT
-AC_CONFIG_SRCDIR(hello-1.pl.in)
-AM_INIT_AUTOMAKE(hello-perl, 0)
+AC_INIT([hello-perl], [0])
+AC_CONFIG_SRCDIR([hello-1.pl.in])
+AM_INIT_AUTOMAKE([1.11])
 
 dnl Check for availability of the Perl interpreter.
 AC_PATH_PROG(PERL, perl)
index d31eefde52d1e7b55d1aaa4c17040cb263b0edfd..e686d457ef8d12898dc6f655adbee4d7cc9e7e2e 100644 (file)
@@ -3,9 +3,9 @@ dnl This file is in the public domain.
 dnl
 dnl Configuration file - processed by autoconf.
 
-AC_INIT
-AC_CONFIG_SRCDIR(hello.php)
-AM_INIT_AUTOMAKE(hello-php, 0)
+AC_INIT([hello-php], [0])
+AC_CONFIG_SRCDIR([hello.php])
+AM_INIT_AUTOMAKE([1.11])
 
 dnl Check for availability of the PHP system.
 AC_PATH_PROG(PHP, php)
index c4831280d277862324d9c40a442498b3674930e7..80acee95db1f01edb00c4b45f39d4c76957fe6b0 100644 (file)
@@ -3,9 +3,9 @@ dnl This file is in the public domain.
 dnl
 dnl Configuration file - processed by autoconf.
 
-AC_INIT
-AC_CONFIG_SRCDIR(hello.py.in)
-AM_INIT_AUTOMAKE(hello-python, 0)
+AC_INIT([hello-python], [0])
+AC_CONFIG_SRCDIR([hello.py.in])
+AM_INIT_AUTOMAKE([1.11])
 
 dnl Check for availability of the Python interpreter.
 AM_PATH_PYTHON
index 0251b418164e86418f3dae99e341e40df052e524..ed3e574009765959ae525583ed3b1e2916de78db 100644 (file)
@@ -3,9 +3,9 @@ dnl This file is in the public domain.
 dnl
 dnl Configuration file - processed by autoconf.
 
-AC_INIT
-AC_CONFIG_SRCDIR(hello.sh)
-AM_INIT_AUTOMAKE(hello-sh, 0)
+AC_INIT([hello-sh], [0])
+AC_CONFIG_SRCDIR([hello.sh])
+AM_INIT_AUTOMAKE([1.11])
 
 dnl The installed program must know where to find its message catalogs.
 dnl Unfortunately, prefix gets only finally determined at the end of configure.
index 2cb1bec25c490247bb11d23decc9207ba6e31a05..820a30a467ebd36ad39b126ad97e2f90c437346f 100644 (file)
@@ -3,9 +3,9 @@ dnl This file is in the public domain.
 dnl
 dnl Configuration file - processed by autoconf.
 
-AC_INIT
-AC_CONFIG_SRCDIR(hello.st.in)
-AM_INIT_AUTOMAKE(hello-smalltalk, 0)
+AC_INIT([hello-smalltalk], [0])
+AC_CONFIG_SRCDIR([hello.st.in])
+AM_INIT_AUTOMAKE([1.11])
 
 dnl Check for availability of GNU Smalltalk.
 AC_PATH_PROG(GST, gst)
index afe18a2865d31fe827cb184530f36f9949dff779..dc159637854ff5518dabb14f861165bda0d3b062 100644 (file)
@@ -3,9 +3,9 @@ dnl This file is in the public domain.
 dnl
 dnl Configuration file - processed by autoconf.
 
-AC_INIT
-AC_CONFIG_SRCDIR(hello.tcl)
-AM_INIT_AUTOMAKE(hello-tcl-tk, 0)
+AC_INIT([hello-tcl-tk], [0])
+AC_CONFIG_SRCDIR([hello.tcl])
+AM_INIT_AUTOMAKE([1.11])
 
 dnl Check for availability of the Tcl/Tk interpreter.
 AC_PATH_PROG(WISH, wish)
index 5de9a07715f8b27e007ed30e8061e6be02bcabce..3c30d521b4e9c98629f2455c4bc3df788318a8c2 100644 (file)
@@ -3,9 +3,9 @@ dnl This file is in the public domain.
 dnl
 dnl Configuration file - processed by autoconf.
 
-AC_INIT
-AC_CONFIG_SRCDIR(hello.tcl)
-AM_INIT_AUTOMAKE(hello-tcl, 0)
+AC_INIT([hello-tcl], [0])
+AC_CONFIG_SRCDIR([hello.tcl])
+AM_INIT_AUTOMAKE([1.11])
 
 dnl Check for availability of the Tcl interpreter.
 AC_PATH_PROG(TCLSH, tclsh)
index 91bba931826858c70c1c255522a6f9d59102095f..78f88c4088695f3c660c6b3cc8748634df992f58 100644 (file)
@@ -3,9 +3,9 @@ dnl This file is in the public domain.
 dnl
 dnl Configuration file - processed by autoconf.
 
-AC_INIT
-AC_CONFIG_SRCDIR(hello.ycp)
-AM_INIT_AUTOMAKE(hello-ycp, 0)
+AC_INIT([hello-ycp], [0])
+AC_CONFIG_SRCDIR([hello.ycp])
+AM_INIT_AUTOMAKE([1.11])
 
 dnl Check for availability of YaST's engine.
 test -f /usr/lib/YaST2/bin/y2base || {