aboutsummaryrefslogtreecommitdiff
path: root/m4
AgeCommit message (Collapse)Author
2012-09-14build-sys: Append -Werror when testing flagsLucas De Marchi
Clang doesn't treat unknown warnings flags as an error, but rather as a warning. The result is that the detection for whic CFLAGS are supported by this compiler will not work, since the compilation will succeed. With this patch we now successfully detect clang doesn't support -Wlogical-op, as opposed to previous behavior: checking if clang supports flag -Wlogical-op in envvar CFLAGS... no We use this macro only for LDFLAGS and CFLAGS, so it's safe to stash -Werror there.
2012-03-19build-sys: don't set CFLAGS and LDFLAGSLucas De Marchi
These variables are supposed to be set by user. What we can do in configure is to set another variable and AC_SUBST() it. Then in Makefile.am we assign it to AM_{CFLAGS,LDFLAGS}. This way user can always override their values, in configure or make phase. Reference: http://www.gnu.org/software/automake/manual/html_node/Flag-Variables-Ordering.html
2012-03-17Add CC_CHECK_LDFLAGS_APPEND m4 macro.Randy Witt
This is mostly just preparation for the next patch. But this macro is used for flags that are only needed during linking but that don't make sense for normal compilation. I saw this exact type of patch online for systemd, but it never seems to have actually been incorporated into their attributes.m4.
2012-01-09doc: add gtk-doc to generate documentationLucas De Marchi
Current limitation is horrible no support to sections: we have to to have separate header files or to maintain the libkmod-sections.txt file. We are doing the latter.
2011-12-11beef compile flags.Gustavo Sverzut Barbieri
Beef the compile flags by using the same set recommended by systemd, it uses attribute.m4 from the xine project to check supported flags.
2011-11-21Import skeleton from libabcLucas De Marchi