summary refs log tree commit diff
path: root/m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4')
-rw-r--r--m4/compiler_options.m45
-rw-r--r--m4/introspection.m41
-rw-r--r--m4/vapigen.m42
3 files changed, 4 insertions, 4 deletions
diff --git a/m4/compiler_options.m4 b/m4/compiler_options.m4
index bf847bfc..5235e037 100644
--- a/m4/compiler_options.m4
+++ b/m4/compiler_options.m4
@@ -89,6 +89,7 @@ if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
 		      -Wno-missing-field-initializers \
 		      -Wno-pragmas \
 		      -Wno-sign-compare \
+		      -Wno-unknown-pragmas \
 		      -Wno-unused-parameter \
 		      ; do
 		dnl GCC 4.4 does not warn when checking for -Wno-* flags (https://gcc.gnu.org/wiki/FAQ#wnowarning)
@@ -142,7 +143,7 @@ fi
 ])
 
 AC_DEFUN([NM_LTO],
-[AC_ARG_ENABLE(lto, AS_HELP_STRING([--enable-lto], [Enable Link Time Optimization for smaller size (default: no)]))
+[AC_ARG_ENABLE(lto, AS_HELP_STRING([--enable-lto], [Enable Link Time Optimization for smaller size [default=no]]))
 if (test "${enable_lto}" = "yes"); then
 	CC_CHECK_FLAG_APPEND([lto_flags], [CFLAGS], [-flto -flto-partition=none])
 	if (test -n "${lto_flags}"); then
@@ -156,7 +157,7 @@ fi
 ])
 
 AC_DEFUN([NM_LD_GC],
-[AC_ARG_ENABLE(ld-gc, AS_HELP_STRING([--enable-ld-gc], [Enable garbage collection of unused symbols on linking (default: auto)]))
+[AC_ARG_ENABLE(ld-gc, AS_HELP_STRING([--enable-ld-gc], [Enable garbage collection of unused symbols on linking [default=auto]]))
 if (test "${enable_ld_gc}" != "no"); then
 	CC_CHECK_FLAG_APPEND([ld_gc_flags], [CFLAGS], [-fdata-sections -ffunction-sections -Wl,--gc-sections])
 	if (test -n "${ld_gc_flags}"); then
diff --git a/m4/introspection.m4 b/m4/introspection.m4
index f3bda0e7..44d19251 100644
--- a/m4/introspection.m4
+++ b/m4/introspection.m4
@@ -1,4 +1,3 @@
-dnl -*- mode: autoconf -*-
 dnl Copyright 2009 Johan Dahlin
 dnl
 dnl This file is free software; the author(s) gives unlimited
diff --git a/m4/vapigen.m4 b/m4/vapigen.m4
index 48051078..3ade411e 100644
--- a/m4/vapigen.m4
+++ b/m4/vapigen.m4
@@ -28,7 +28,7 @@ AC_DEFUN([VAPIGEN_CHECK],
 
   AC_ARG_ENABLE([vala],
     AS_HELP_STRING([--enable-vala[=@<:@no/auto/yes@:>@]],
-      [build Vala bindings [[default=auto]]]),,
+      [build Vala bindings [default=auto]]),,
       [enable_vala=auto])
 
   AS_CASE([$enable_vala], [no], [],