This is the mail archive of the libffi-discuss@sourceware.org mailing list for the libffi project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] Fix configure.ac for Autoconf 2.64 compability (3.0.8 and 3.0.9rc1)


Fix for autoconf-2.64 attached. Solving this problem,

***** aclocal *****
***** PWD: /var/tmp/portage/dev-libs/libffi-3.0.9_rc1/work/libffi-3.0.9rc1
***** aclocal

/usr/share/aclocal/sdlmm.m4:12: warning: underquoted definition of
AM_PATH_SDLMM
/usr/share/aclocal/sdlmm.m4:12:   run info '(automake)Extending aclocal'
/usr/share/aclocal/sdlmm.m4:12:   or see
http://sources.redhat.com/automake/automake.html#Extending-aclocal
configure.ac:23: error: m4_copy: won't overwrite defined macro:
_AC_ARG_VAR_PRECIOUS
configure.ac:23: the top level
autom4te-2.64: /usr/bin/m4 failed with exit status: 1
aclocal-1.10: autom4te failed with exit status: 1
Fix compability with Autoconf 2.64, http://bugs.gentoo.org/show_bug.cgi?id=287020

--- libffi-3.0.8/configure.ac
+++ libffi-3.0.8/configure.ac
@@ -20,6 +20,7 @@
 m4_rename([_AC_ARG_VAR_PRECIOUS],[real_PRECIOUS])
 m4_define([_AC_ARG_VAR_PRECIOUS],[])
 AC_PROG_CC
+m4_undefine([_AC_ARG_VAR_PRECIOUS])
 m4_rename([real_PRECIOUS],[_AC_ARG_VAR_PRECIOUS])
 
 AC_SUBST(CFLAGS)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]