[geany/geany] dec7b9: Autotools: always put object files in the source file's directory

Colomban Wendling git-noreply at xxxxx
Tue Dec 17 14:42:34 UTC 2013


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Tue, 17 Dec 2013 14:42:34 UTC
Commit:      dec7b939fb07dd29bd61d9625a88503183ab14b6
             https://github.com/geany/geany/commit/dec7b939fb07dd29bd61d9625a88503183ab14b6

Log Message:
-----------
Autotools: always put object files in the source file's directory

Enable Automake option "subdir-object" to put all object files next to
their source file rather than in the directory containing the Makefile.

This is quite expected, and will be the future behavior of Automake in
all cases, so enabling it now avoids future unexpected change.


Modified Paths:
--------------
    configure.ac

Modified: configure.ac
3 files changed, 2 insertions(+), 1 deletions(-)
===================================================================
@@ -6,7 +6,7 @@ AC_INIT([Geany], [1.24],
 AC_CONFIG_SRCDIR([src/geany.h])
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIR([m4])
-AM_INIT_AUTOMAKE([1.11 -Wall parallel-tests])
+AM_INIT_AUTOMAKE([1.11 -Wall parallel-tests subdir-objects])
 AC_CONFIG_HEADERS([config.h])
 
 m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
@@ -26,6 +26,7 @@ AC_USE_SYSTEM_EXTENSIONS
 m4_ifdef([AM_PROG_AR],[AM_PROG_AR])
 AC_PROG_CC
 AC_PROG_CC_C99
+AM_PROG_CC_C_O
 
 AC_PROG_CXX
 # check for C++ compiler explicitly and fail if none is found, do this check



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list