! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfce4-sensors-plugin-1.2.5 and git fails to compile with automake-1.13
Status:
RESOLVED: FIXED
Product:
Xfce4-sensors-plugin
Component:
General

Comments

Description Samuli Suominen 2013-04-25 10:54:51 CEST
Same as in bug 10030.

AM_CONFIG_HEADER shouldn't be used anymore and it used to be a warning for a long time, now it's fatal error with automake-1.13:

aclocal-1.13: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:32: 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:32: 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

As in, replace AM_CONFIG_HEADER with AC_CONFIG_HEADERS in configure.in.in (notice it's HEADERS, not HEADER)

(Why not use the modern name, configure.ac instead of configure.in while at it?)
Comment 1 Samuli Suominen 2013-04-25 11:04:23 CEST
Also, if you maintain more plugins, please do the same fix there too.
Comment 2 Fabian Nowak editbugs 2014-04-28 23:51:46 CEST
fixed in commit 22a38db5b136395ab7f2bf971b2d758774963983

Bug #10031

Reported by:
Samuli Suominen
Reported on: 2013-04-25
Last modified on: 2014-04-28

People

Assignee:
Fabian Nowak
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information