summaryrefslogtreecommitdiff
path: root/m4/ax_cflags_warn_all.m4
Commit message (Collapse)AuthorAgeFilesLines
* Trivial cosmetic to make the generator happy.Peter Simons2019-02-141-1/+1
|
* ax_cflags_warn_all.m4: Avoid prepending empty flagsJohn Zaitseff2019-02-141-14/+15
|
* ax_cflags_warn_all.m4: Prepend flags instead of appending themJohn Zaitseff2019-02-141-4/+4
| | | | | | | | | | | | With many compilers (such as the Intel C compilers), flags specified later in the command line override those specified earlier. Unfortunately, this means that the user can no longer specify warning-related options on the command line. This patch fixes this issue by using AX_PREPEND_FLAG. In particular, this patch allows the user to specify "CFLAGS=-w3" on the ./configure command line for the Intel C compiler, which will no longer be overridden by this macro's "-w2" option.
* ax_cflags_warn_all.m4: Bug fix: modern Intel compilers don't accept "-warn all"John Zaitseff2019-02-141-1/+1
|
* ax_cflags_warn_all.m4: Bug fix: the PGI compilers do not understand "-Wall"John Zaitseff2019-02-141-1/+1
|
* ax_cflags_warn_all.m4: Rewrite the documentation to provide greater clarityJohn Zaitseff2019-02-141-15/+35
|
* ax_cflags_warn_all.m4: Nicely indent remaining macrosJohn Zaitseff2019-02-141-15/+15
|
* ax_cflags_warn_all.m4: Rewrite AX_FLAGS_WARN_ALL to use AX_COMPILER_VENDORJohn Zaitseff2019-02-141-41/+55
| | | | | | | | | | Using AX_COMPILER_VENDOR allows significantly more robust selection of appropriate compiler flags. In the old code, for example, the Sun (Oracle) Compiler Suite would accept Intel's "-warn all" detection, with rather disastrous results. All current compiler flags are incorporated into the new code without modification.
* ax_cflags_warn_all.m4: Bump version number and add new copyright holderJohn Zaitseff2019-02-141-1/+2
|
* switch gnu.org sites to httpsMike Frysinger2017-02-081-3/+3
|
* AX_REQUIRE_DEFINED: new helper for requiring macros existMike Frysinger2014-01-151-2/+2
| | | | | | | | | | In cases where we want to require that a macro exists, but not call it, introduce a new AX_REQUIRE_DEFINED helper. The existing AC_REQUIRE macro will call its argument and does not allow for passing of additional args to the macro. Once we have this in place, cut a few callers over to it to fix bugs where they'd accidentally call other helpers w/out any flags.
* AC_REQUIRE AX_APPEND_FLAG when appropriate.Mike Frysinger2012-06-181-1/+2
| | | | | | A bunch of m4 files use AX_APPEND_FLAG, but don't AC_REQUIRE, which can lead to runtime errors instead of compile time errors when the macro is missing.
* Updated serial numbers, and re-formatted the macro to be consistent with the ↵Peter Simons2011-07-081-1/+1
| | | | rest of the archive.
* ax_cflags_*: Use AX_APPEND_FLAG macroMaarten Bosmans2011-07-021-10/+5
|
* Use one implementation for C/C++ in ax_cflags_*.m4Maarten Bosmans2011-07-021-93/+24
|
* Bump version of GPL, as per authors' consent.Reuben Thomas2010-11-151-2/+2
|
* AX_CFLAGS_WARN_ALL: removed obsolete Autoconf constructs and added ↵Rhys Ulerich2010-10-071-20/+64
| | | | | | AX_FCFLAGS_WARN_ALL See <http://savannah.gnu.org/patch/?7335> for further details.
* ALL: update web site URL to ↵Peter Simons2010-03-011-2/+2
| | | | http://www.gnu.org/software/autoconf-archive/MACRO-NAME.html
* Assigned all macros a unique serial number.Peter Simons2010-01-251-0/+2
| | | | | | | The serial number corresponds to the number of commits that have modified the macro in the Archive's Git repository. Refer to http://www.gnu.org/software/libtool//manual/automake/Serials.html to find out why these numbers are useful.
* More renamings missed previously.Reuben Thomas2009-08-101-1/+1
|
* Remove references to obsoleted macros.Reuben Thomas2009-08-061-2/+0
|
* all: macro home pages now reside on savannah (but old links still work)Peter Simons2009-04-281-1/+1
|
* ALL: consistency edits (see NEWS)Peter Simons2009-04-261-8/+4
| | | | | | | | | | * Consistently refer to this project as Autoconf Archive. * Removed the LAST MODIFICATION section, because that information is redundant in the presence of Git. * COPYLEFT has been renamed to LICENSE: some licenses, like all-permissive, are no copylefts.
* ALL: updated m4 distribution formatPeter Simons2008-04-121-37/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The markup format distributed by the Autoconf Macro Archive underwent the following changes: * All archive entries use '#' comment delimiters, rather than 'dnl', because we would like those comments to go into the generated configure script. It should be simple for everyone to determine where the macro came from originally, who wrote it, and where the latest version can be retrieved. To achieve this, every macro used to start with a distinguished line that shows the URL of its respective home page, i.e.: | ##### http://autoconf-archive.cryp.to/ax_prog_acme.html As it happens, the aclocal utility distributed with Automake ignores all comment lines that start with a double hash '##', thus those home page URLs will not make it into any automatically generated aclocal.m4 file. Duh. To remedy the situation, the following markup is now used instead: | # ================================================================= | # http://autoconf-archive.cryp.to/ax_prog_acme.html | # ================================================================= * The 2.x versions of the GNU GPL and LGPL contain the following clause: | You should have received a copy of the <GNU LICENSE NAME> along | with this program; if not, write to the Free Software Foundation, | Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Version 3.x, however, smartly refers the reader to the Web: | You should have received a copy of the GNU General Public License | along with this program. If not, see <http://www.gnu.org/licenses/>. This patch changes all GPL2 and LGPL2 macros to do the same, i.e. to refer to the GNU web site for the full text of the respective license. * Since all m4 files had to be changed in this commit anyway, the opportunity was used to increase the auto-fill column for documentation from 65 to 75 characters per line. It's a trivial change, but it just looks nicer.
* Imported http://autoconf-archive.cryp.to/ release 2007-02-14.Peter Simons2007-02-181-0/+158