Blob Blame History Raw
From 55faf823b8802c7c3db05d1e3d13a4e1ae8ecc0f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= <bjoern.esser@gmail.com>
Date: Sat, 9 May 2015 13:11:57 +0200
Subject: [PATCH] use new `AC_INIT()`-syntax with args in square braces

---
 build-tools/scripts/y2autoconf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build-tools/scripts/y2autoconf b/build-tools/scripts/y2autoconf
index 4218d4c..944c2b3 100755
--- a/build-tools/scripts/y2autoconf
+++ b/build-tools/scripts/y2autoconf
@@ -87,7 +87,7 @@ $OUTPUT = join ("\n", map { "$_/Makefile" } @SUBDIRS);
 
     # init: common stuff
     '@YAST2-INIT-COMMON@' =>
-"AC_INIT($RPMNAME, $VERSION, http://bugs.opensuse.org/, $RPMNAME)
+"AC_INIT([$RPMNAME],[$VERSION],[http://bugs.opensuse.org/],[$RPMNAME])
 dnl Check for presence of file 'RPMNAME'
 AC_CONFIG_SRCDIR([RPMNAME])