Bug #68872 MySQL 5.1 configure.in is incompatible with automake 1.13
Submitted: 5 Apr 2013 12:03 Modified: 16 Apr 2013 4:13
Reporter: Alexey Kopytov Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:5.1 OS:Any
Assigned to: CPU Architecture:Any

[5 Apr 2013 12:03] Alexey Kopytov
Description:
Trying to build 5.1 with a automake 1.13 installed gives me this:

aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:25: error: 'AM_CONFIG_HEADER': this macro is obsolete.
    You should use the 'AC_CONFIG_HEADERS' macro instead.
/opt/local/share/aclocal-1.13/obsolete-err.m4:12: AM_CONFIG_HEADER is expanded from...
configure.in:25: the top level
autom4te: /opt/local/bin/gm4 failed with exit status: 1
aclocal: error: echo failed with exit status: 1

The fix is s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/ in configure.in.

How to repeat:
Build 5.1 with automake 1.13.
[15 Apr 2013 13:47] MySQL Verification Team
Tank you for the bug report. Which OS version have you tested?. Thanks.
[15 Apr 2013 16:42] Alexey Kopytov
That was on OSX with autotools installed from MacPorts.
[16 Apr 2013 1:40] MySQL Verification Team
Thank you for the feedback. I installed autools MacPorts on Mountain Lion MacBook Pro, downloaded the 5.1.67 source and compiled it (notice the automake is 1.13.1:

rm: libtoolT: No such file or directory
config.status: executing default commands

Thank you for choosing MySQL!

Remember to check the platform specific part of the reference manual
for hints about installing MySQL on your platform.
Also have a look at the files in the Docs directory.

[22:26:42][pochita:]mysql-5.1.67 miguel$ uname -a
Darwin pochita 12.3.0 Darwin Kernel Version 12.3.0: Sun Jan  6 22:37:10 PST 2013; root:xnu-2050.22.13~1/RELEASE_X86_64 x86_64
[22:27:14][pochita:]mysql-5.1.67 miguel$ automake --version
automake (GNU automake) 1.13.1
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Tom Tromey <tromey@redhat.com>
       and Alexandre Duret-Lutz <adl@gnu.org>.
[22:27:31][pochita:]mysql-5.1.67 miguel$

[22:34:19][pochita:]mysql-5.1.67 miguel$ sql/mysqld --version
sql/mysqld  Ver 5.1.67-log for apple-darwin12.3.0 on i386 (Source distribution)
[16 Apr 2013 4:13] Alexey Kopytov
Miguel,

Right, it was fixed with the same revision as bug #67177, presumably in 5.1.67. I was testing 5.1.66.

I can't reproduce it after updating to the latest bzr tree on LP.