From e19d2cf2943d05e18a1bed08bf9338820bd19eb6 Mon Sep 17 00:00:00 2001 From: Xiubo Li Date: Thu, 15 Apr 2021 11:57:58 +0800 Subject: [PATCH] confiure.in: modernize the AM_INIT_AUTOMAKE 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 --- configure.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index 668e080..4d63a43 100644 --- a/configure.in +++ b/configure.in @@ -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 -- 2.47.3