thunar-shares-plugin git (both master and thunarx-2 branch) fails to compile with automake-1.13
Submitted by Samuli Suominen
Assigned to Daniel Morales
Description
Same as in bug 10031.
Both master and thunarx-2 branches fail same way.
AM_CONFIG_HEADER shouldn't be used anymore, AC_CONFIG_HEADERS is the replacement (notice it's HEADERS, not HEADER) This used to be a deprecation warning, but it's now a fatal error in automake 1.13:
aclocal-1.13: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:39: error: 'AM_CONFIG_HEADER': this macro is obsolete. You should use the 'AC_CONFIG_HEADERS' macro instead. /usr/share/aclocal-1.13/obsolete-err.m4:12: AM_CONFIG_HEADER is expanded from... configure.in:39: the top level autom4te-2.69: /usr/bin/m4 failed with exit status: 1 aclocal-1.13: error: echo failed with exit status: 1
The fix is simple:
sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.in.in
(Why not used the new name, configure.ac instead of configure.in while at it?)