]> git-server-git.apps.pok.os.sepia.ceph.com Git - ffsb.git/commitdiff
confiure.in: modernize the AM_INIT_AUTOMAKE 1/head
authorXiubo Li <xiubli@redhat.com>
Thu, 15 Apr 2021 03:57:58 +0000 (11:57 +0800)
committerXiubo Li <xiubli@redhat.com>
Thu, 15 Apr 2021 05:24:10 +0000 (13:24 +0800)
The form of AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) has
been deprecated, we need to modernize it in new form.

Fixes: https://tracker.ceph.com/issues/48365
Signed-off-by: Xiubo Li <xiubli@redhat.com>
configure.in

index 668e080914e92904bb6a38dc9c7d2d1736a1dd20..4d63a43eeb317d747e6e09de3d646a3d3fc9c56a 100644 (file)
@@ -1,6 +1,7 @@
 dnl Process this file with autoconf to produce a configure script.
-AC_INIT(main.c)
-AM_INIT_AUTOMAKE(ffsb, 6.0-RC2)
+AC_INIT(ffsb, 6.0-RC2)
+AC_CONFIG_SRCDIR([main.c])
+AM_INIT_AUTOMAKE
 
 AM_CONFIG_HEADER(config.h)
 AC_CANONICAL_HOST