diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2013-05-26 13:30:52 +0200 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2013-05-26 13:30:52 +0200 |
commit | e5b40a3ee2c6fbc0cec34b0a96ac2dc74401205f (patch) | |
tree | 1c9a2ce62bbdaff247fe889912a51d42890d33a4 /NEWS | |
parent | 6f109602762dbb9648de169de01e6aaddd78a9ec (diff) | |
parent | b2b6269fca6f7bb7adac2d09c02adf0c6b701d48 (diff) | |
download | automake-e5b40a3ee2c6fbc0cec34b0a96ac2dc74401205f.tar.gz |
Merge branch 'prog-cc-c-o-work' into maint
* prog-cc-c-o-work:
tests: some tests make no sense if "$CC -c -o" doesn't work
AM_PROG_CC_C_O: don't rely on AC_PROG_CC_C_O, re-implement similar logic
compile: rewrite AC_PROG_CC with AM_PROG_CC_C_O contents
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 29 |
1 files changed, 19 insertions, 10 deletions
@@ -107,16 +107,25 @@ New in 1.14: - Automake will automatically enhance the AC_PROG_CC autoconf macro to make it check, at configure time, that the C compiler supports - the combined use of both the "-c -o" options. This "rewrite" of - AC_PROG_CC is only meant to be temporary, since future Autoconf - versions should provide all the features Automake needs. - - - The AM_PROG_CC_C_O is no longer useful, and its use is a no-op - now. Future Automake versions might start warning that this - macro is obsolete. For better backward-compatibility, this macro - still sets a proper 'ac_cv_prog_cc_*_c_o' cache variable, and - define the 'NO_MINUS_C_MINUS_O' C preprocessor symbol, but you - should really stop relying on that. + the combined use of both the "-c -o" options. The result of this + check is saved in the cache variable 'am_cv_prog_cc_c_o', and said + result can be overridden by pre-defining that variable. + + - The AM_PROG_CC_C_O can still be called, but that should no longer + be necessary. This macro is now just a thin wrapper around the + Automake-enhanced AC_PROG_CC. This means, among the other things, + that its behaviour is changed in three ways: + + 1. It no longer invokes the Autoconf-provided AC_PROG_CC_C_O + macros behind the scenes. + + 2. It caches the check result in the 'am_cv_prog_cc_c_o'variable, + and not in a 'ac_cv_prog_cc_*_c_o' variable whose exact name + in only dynamically computed at configure runtime (sic!) from + the content of the '$CC' variable. + + 3. It no longer automatically AC_DEFINE the C preprocessor + symbol 'NO_MINUS_C_MINUS_O'. * Texinfo support: |