summaryrefslogtreecommitdiffstats
path: root/m4
Commit message (Collapse)AuthorAgeFilesLines
* Use -Wwrite-strings compiler flag if supported, add required macrosPavel Roskin2016-07-082-0/+141
| | | | | | | | | String literals are const in C++. Using this warnings moves us closer to the stated goal of C++ compatibility, makes the code cleaner and lets compilers optimize the code better. Add m4/ax_append_compile_flags.m4 from Autoconf Archives for the AX_APPEND_COMPILE_FLAGS macro and m4/ax_check_compile_flag.m4 as its dependency.
* Annotate printf-like functions if supported by the compilerPavel Roskin2016-03-031-0/+223
| | | | Both GCC and Clang support it. Add a macro from Autoconf archive to check for format attribute support.
* Enable -Wall flag for compilers that support itPavel Roskin2016-03-034-1/+232
| | | | | | | Add Autoconf archive macros to check for -Wall and its dependencies. Adjust m4/.gitignore to only ignore libtool macros. Require Autoconf 2.65 for compatibility with Autoconf archive macros.
* Create the m4 directory for Autoconf macro filesPavel Roskin2016-01-291-0/+1
Keeping separate files is more maintainable than merging them into a single aclocal.m4 file. It is easier for users to understand where those files come from. Automake knows how to distribute files in the m4 directory.