[yocto] [prelink-cross][PATCH 1/1] configure.ac: with new automake make is not working

Maninder Singh maninder1.s at samsung.com
Tue Nov 17 20:31:08 PST 2015


with automake verisoin(GNU automake) 1.15 (checked on aarch64),
make is not working and looping at below info:-

configure.ac:8: warning: AM_INIT_AUTOMAKE: two- and three-arguments
forms are deprecated.  For more info, see:
configure.ac:8:
http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
 cd . && /bin/sh ./config.status Makefile
config.status: creating Makefile
make: Warning: File 'Makefile.am' has modification time 539 s in the
future

Thus changing configure.ac as given in above link.

Signed-off-by: Vaneet Narang <v.narang at samsung.com>
Signed-off-by: Maninder Singh <maninder1.s at samsung.com>
---
 configure.ac |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 4943932..791b8bd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,11 +1,12 @@
 dnl Process this file with autoconf to produce a configure script. -*-m4-*-
-AC_INIT(src/prelink.c)
+AC_INIT([prelink], [0.0])
+AC_CONFIG_SRCDIR(src/prelink.c)
 AC_CONFIG_HEADERS(config.h)
 AC_PREREQ(2.50)			dnl Minimum Autoconf version required.
 AC_CANONICAL_SYSTEM
 AC_ARG_PROGRAM
 
-AM_INIT_AUTOMAKE([prelink], [0.0])
+AM_INIT_AUTOMAKE
 
 ALL_LINGUAS=
 
-- 
1.7.1




More information about the yocto mailing list