diff options
author | P. F. Chimento <philip.chimento@gmail.com> | 2013-04-22 17:29:41 +0200 |
---|---|---|
committer | P. F. Chimento <philip.chimento@gmail.com> | 2013-04-22 17:29:41 +0200 |
commit | 3511b6e24001bf1519f359e92fcc7bcb959ed456 (patch) | |
tree | cb588846c3cd2cee1bdb2402f267a39cb0926a21 /configure.ac | |
parent | bdc4540801e654b2f9c7668531f143fa010199d4 (diff) |
Avoid warnings on Automake 1.12
Use AM_PROG_AR, AM_PROG_CC_C_O, and -Wno-portability to avoid
warnings on Automake 1.12
[#26]
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 08f32f1..95618a7 100644 --- a/configure.ac +++ b/configure.ac @@ -36,10 +36,12 @@ AC_INIT([Open Endless SDK], [_EOS_SDK_VERSION_MACRO], dnl AC_CONFIG_SRCDIR([src/hello.c]) # Initialize Automake: enable all warnings and do not insist on GNU standards # Automake >= 1.11 required for silent rules -AM_INIT_AUTOMAKE([-Wall foreign 1.11]) +# no-portability suppresses warnings about syntax specific to GNU make +AM_INIT_AUTOMAKE([-Wall -Wno-portability foreign 1.11]) # Avoid spewing garbage over the terminal ('make V=1' to see the garbage) AM_SILENT_RULES([yes]) # Initialize Libtool; don't build static libraries +AM_PROG_AR dnl must call before LT_INIT LT_INIT([disable-static]) # Keep Autotools macros local to this source tree AC_CONFIG_MACRO_DIR([m4]) @@ -131,6 +133,8 @@ AC_SUBST(STRICT_CFLAGS) # -------------------- # C compiler AC_PROG_CC +# Make sure the C compiler supports per-target CFLAGS +AM_PROG_CC_C_O # Library configuration tool PKG_PROG_PKG_CONFIG # Gettext |