From: Xiubo Li Date: Thu, 15 Apr 2021 03:57:58 +0000 (+0800) Subject: confiure.in: modernize the AM_INIT_AUTOMAKE X-Git-Tag: ceph_v1.0^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e19d2cf2943d05e18a1bed08bf9338820bd19eb6;p=ffsb.git 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 --- 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