Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#80 closed defect (fixed)

Patch to add subdir-objects option

Reported by: Bas Couwenberg Owned by: warmerdam
Priority: normal Milestone: 1.4.2
Component: libgeotiff Version: 1.3.0
Keywords: Cc:

Description

Automake warns about the lack of the subdir-objects option:

Makefile.am:104: warning: source file 'csv/datum.c' is in a subdirectory,
Makefile.am:104: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled.  For now, the corresponding output
automake: object file(s) will be placed in the top-level directory.  However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
Makefile.am:104: warning: source file 'csv/ellipsoid.c' is in a subdirectory,
Makefile.am:104: but option 'subdir-objects' is disabled
Makefile.am:104: warning: source file 'csv/gcs.c' is in a subdirectory,
Makefile.am:104: but option 'subdir-objects' is disabled
Makefile.am:104: warning: source file 'csv/pcs.c' is in a subdirectory,
Makefile.am:104: but option 'subdir-objects' is disabled
Makefile.am:104: warning: source file 'csv/prime_meridian.c' is in a subdirectory,
Makefile.am:104: but option 'subdir-objects' is disabled
Makefile.am:104: warning: source file 'csv/projop_wparm.c' is in a subdirectory,
Makefile.am:104: but option 'subdir-objects' is disabled
Makefile.am:104: warning: source file 'csv/unit_of_measure.c' is in a subdirectory,
Makefile.am:104: but option 'subdir-objects' is disabled

Adding the option to AUTOMAKE_OPTIONS resolves the issue.

Attachments (1)

automake-subdir-objects.patch (341 bytes ) - added by Bas Couwenberg 6 years ago.

Download all attachments as: .zip

Change History (4)

by Bas Couwenberg, 6 years ago

comment:1 by rouault, 6 years ago

Committed in r2729 (post 1.4.2RC2)

comment:2 by Bas Couwenberg, 6 years ago

Resolution: fixed
Status: newclosed

Thanks for applying the patch.

comment:3 by rouault, 6 years ago

Milestone: 1.4.2
Note: See TracTickets for help on using tickets.