[ https://issues.apache.org/jira/browse/LOGCXX-445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Zbarcea resolved LOGCXX-445. --------------------------------- Resolution: Fixed as explained [here|https://lists.gnu.org/archive/html/automake/2013-06/msg00040.html]: {quote} The next major Automake version (2.0) will unconditionally activate the 'subdir-objects' option. {quote} Ubuntu 14.04 has {{autotools}} {{1.14.x}} by default. Proposed fix: {code} Index: configure.ac =================================================================== --- configure.ac (revision 1636503) +++ configure.ac (revision 1636504) @@ -38,9 +38,8 @@ [/* no explicit exports */ #define LOG4CXX_EXPORT]) -AM_INIT_AUTOMAKE +AM_INIT_AUTOMAKE([foreign subdir-objects]) - # Checks for programs # ---------------------------------------------------------------------------- {code} For some reason, adding to {{AUTOMAKE_OPTIONS}} the {{subdir-objects}} is ignored. > ./autogen.sh warnings / makefile issue > -------------------------------------- > > Key: LOGCXX-445 > URL: https://issues.apache.org/jira/browse/LOGCXX-445 > Project: Log4cxx > Issue Type: Bug > Components: Build > Affects Versions: 0.11.0 > Environment: NAME="Ubuntu" > VERSION="14.04.1 LTS, Trusty Tahr" > ID=ubuntu > ID_LIKE=debian > PRETTY_NAME="Ubuntu 14.04.1 LTS" > VERSION_ID="14.04" > Reporter: Roland Uuesoo > Assignee: Alex Zbarcea > Priority: Minor > Fix For: 0.11.0 > > > ./autogen.sh or makefiles need updating. > svn checkout http://svn.apache.org/repos/asf/incubator/log4cxx/trunk > apache-log4cxx > cd apache-log4cxx > ./autogen.sh > src/test/cpp/Makefile.am:29: warning: source file 'customlogger/xlogger.cpp' > is in a subdirectory, > src/test/cpp/Makefile.am:29: 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. > src/test/cpp/Makefile.am:29: warning: source file > 'customlogger/xloggertestcase.cpp' is in a subdirectory, > src/test/cpp/Makefile.am:29: but option 'subdir-objects' is disabled > src/test/cpp/Makefile.am:33: warning: source file 'defaultinit/testcase1.cpp' > is in a subdirectory, > src/test/cpp/Makefile.am:33: but option 'subdir-objects' is disabled > src/test/cpp/Makefile.am:33: warning: source file 'defaultinit/testcase2.cpp' > is in a subdirectory, > src/test/cpp/Makefile.am:33: but option 'subdir-objects' is disabled > src/test/cpp/Makefile.am:33: warning: source file 'defaultinit/testcase3.cpp' > is in a subdirectory, > src/test/cpp/Makefile.am:33: but option 'subdir-objects' is disabled > src/test/cpp/Makefile.am:33: warning: source file 'defaultinit/testcase4.cpp' > is in a subdirectory, > src/test/cpp/Makefile.am:33: but option 'subdir-objects' is disabled > src/test/cpp/Makefile.am:39: warning: source file 'filter/andfiltertest.cpp' > is in a subdirectory, > and so on.... -- This message was sent by Atlassian JIRA (v6.3.4#6332)