Bug 117334 - [GTK] autoreconf fails to find some macros without -I Source/autotools
Summary: [GTK] autoreconf fails to find some macros without -I Source/autotools
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-07 02:05 PDT by Emilio Pozuelo Monfort
Modified: 2014-03-25 15:20 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Emilio Pozuelo Monfort 2013-06-07 02:05:55 PDT
If I run `autoreconf -fiv' on a webkitgtk tarball I get:

libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `Source/autotools'.
libtoolize: copying file `Source/autotools/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `Source/autotools'.
libtoolize: copying file `Source/autotools/libtool.m4'
libtoolize: copying file `Source/autotools/ltoptions.m4'
libtoolize: copying file `Source/autotools/ltsugar.m4'
libtoolize: copying file `Source/autotools/ltversion.m4'
libtoolize: copying file `Source/autotools/lt~obsolete.m4'
libtoolize: Remember to add `LT_INIT' to configure.ac.
libtoolize: Consider adding `-I Source/autotools' to ACLOCAL_AMFLAGS in Makefile.am.

This is a problem with some versions of aclocal such as 1.11. 1.13 seems to work even though it still throws that message. We should probably add ACLOCAL_AMFLAGS+="-I Source/autotools" to be on the safe side.
Comment 1 Alberto Garcia 2013-09-09 05:40:16 PDT
(In reply to comment #0)
> This is a problem with some versions of aclocal such as 1.11. 1.13 seems to work even though it still throws that message. We should probably add ACLOCAL_AMFLAGS+="-I Source/autotools" to be on the safe side.

Isn't that already defined?
Comment 2 Emilio Pozuelo Monfort 2013-09-09 06:20:57 PDT
(In reply to comment #1)
> (In reply to comment #0)
> > This is a problem with some versions of aclocal such as 1.11. 1.13 seems to work even though it still throws that message. We should probably add ACLOCAL_AMFLAGS+="-I Source/autotools" to be on the safe side.
> 
> Isn't that already defined?

Not in GNUmakefile.am. We have it in configure.ac, not sure why. Both the autoreconf output and the autoconf manual say it needs to be set in Makefile.am.
Comment 3 Alberto Garcia 2013-09-09 09:04:42 PDT
(In reply to comment #2)
> Both the autoreconf output and the autoconf manual say it needs to be set in Makefile.am.

Looks like libtoolize doesn't even use GNUmakefile.am ...

   if test -f Makefile.am; then
     my_macrodir_is_next=false
     for arg in `$SED "$my_sed_aclocal_flags" Makefile.am`; do
        [...]
Comment 4 Martin Robinson 2014-03-25 15:20:10 PDT
Autotools is gone now.