Re: [PATCH] configure.ac: fix automake 1.14 "option 'subdir-objects' is disabled" warning
Timothy Gu <[email protected]> Sun, 25 Jan 2015 06:15:57 +0000
| Newsgroups | gmane.comp.video.videolan.libdvbpsi.devel |
|---|---|
| Message-ID | <CA+Yu1_UNmATOu4k1yEVBeprdn0743nF2KDxqvysi2gUarBfqmQ@mail.gmail.com> |
LGTM. On Sat Jan 24 2015 at 6:17:37 PM Michael Ira Krufky <[email protected]> wrote: > Fix the following warning when using automake-1.14: > > automake-1.14: warning: possible forward-incompatibility. > automake-1.14: At least a source file is in a subdirectory, but the > 'subdir-objects' > automake-1.14: automake option hasn't been enabled. For now, the > corresponding output > automake-1.14: object file(s) will be placed in the top-level > directory. However, > automake-1.14: this behaviour will change in future Automake versions: > they will > automake-1.14: unconditionally cause object files to be placed in the > same subdirectory > automake-1.14: of the corresponding sources. > automake-1.14: You are advised to start using 'subdir-objects' option > throughout your > automake-1.14: project, to avoid future incompatibilities. > src/Makefile.am:130: warning: source file 'tables/???.c' is in a > subdirectory, > src/Makefile.am:130: but option 'subdir-objects' is disabled > src/Makefile.am:130: warning: source file 'tables/atsc_???.c' is in a > subdirectory, > src/Makefile.am:130: but option 'subdir-objects' is disabled > src/Makefile.am:77: warning: source file 'descriptors/dr_??.c' is in a > subdirectory, > src/Makefile.am:77: but option 'subdir-objects' is disabled > > Signed-off-by: Michael Ira Krufky <[email protected]> > --- > configure.ac | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/configure.ac b/configure.ac > index 7973bf6..9778c2a 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -4,7 +4,7 @@ AC_PREREQ(2.50) > AC_CONFIG_AUX_DIR(.auto) > AC_CANONICAL_SYSTEM > > -AM_INIT_AUTOMAKE > +AM_INIT_AUTOMAKE([subdir-objects]) > AC_CONFIG_HEADERS(config.h) > AC_CONFIG_MACRO_DIR([m4]) > _______________________________________________ > libdvbpsi-devel mailing list > [email protected] > https://mailman.videolan.org/listinfo/libdvbpsi-devel > _______________________________________________ libdvbpsi-devel mailing list [email protected] https://mailman.videolan.org/listinfo/libdvbpsi-devel