Uploaded image for project: 'Santuario'
  1. Santuario
  2. SANTUARIO-435

Automake misses the subdir-objects option

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • C++ 1.7.3
    • C++ 2.0.0
    • C++
    • None
    • Debian Linux x86_64
      autoconf 2.69
      automake 1.14.1
    • Patch

    Description

      The autoreconf procedure complains like this:

      [...]
      libtoolize: copying file `m4/lt~obsolete.m4'
      configure.ac:25: installing 'build-aux/compile'
      xsec/Makefile.am:370: warning: source file 'canon/XSECC14n20010315.cpp' is in a subdirectory,
      xsec/Makefile.am:370: 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.
      xsec/Makefile.am:370: warning: source file 'canon/XSECXMLNSStack.cpp' is in a subdirectory,
      xsec/Makefile.am:370: but option 'subdir-objects' is disabled
      xsec/Makefile.am:370: warning: source file 'canon/XSECCanon.cpp' is in a subdirectory,
      xsec/Makefile.am:370: but option 'subdir-objects' is disabled
      [...]
      

      A possible fix is adding the option to AM_INIT_AUTOMAKE in configure.ac, like

      AM_INIT_AUTOMAKE([subdir-objects])
      

      Attachments

        Activity

          People

            scantor Scott Cantor
            wferi Ferenc Wágner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: