summaryrefslogtreecommitdiff
path: root/m4/ax_compiler_flags_ldflags.m4
diff options
context:
space:
mode:
authorMoritz Klammler <moritz@klammler.eu>2015-04-04 03:59:48 +0200
committerPeter Simons <simons@cryp.to>2015-04-21 15:18:52 +0200
commitfc70e5ae0259684a586205d7c1433b1550b8091a (patch)
tree89fb3448fb8443260f65bca1b36ad654f2eae208 /m4/ax_compiler_flags_ldflags.m4
parentbb9705e42c0eae2cfd880b5c645ae3c09c69543d (diff)
downloadautoconf-archive-fc70e5ae0259684a586205d7c1433b1550b8091a.tar.gz
Removed non-ASCII characters in comments.
These characters caused the `macro2m4.py` script to terminate with an error: $ make maintainer-all ... python ./macro2m4.py "m4/ax_compiler_flags_cflags.m4" "stage/ax_compiler_flags_cflags.m4" Traceback (most recent call last): File "./macro2m4.py", line 56, in <module> m = Macro(m4File, computeSerialNumber=True) File "~/src/autoconf-archive/macro.py", line 62, in __init__ (header,body) = loadFile(filePath).split("\n\n", 1) File "~/src/autoconf-archive/macro.py", line 8, in loadFile return fd.read() File "/usr/lib/python3.4/encodings/ascii.py", line 26, in decode return codecs.ascii_decode(input, self.errors)[0] UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 3615: ordinal not in range(128) cfg.mk:35: recipe for target 'stage/ax_compiler_flags_cflags.m4' failed make: *** [stage/ax_compiler_flags_cflags.m4] Error 1 This error might only occur when using Python 3. Since all affected characters were apostrophes in comments, I simply replaced them with ASCII character 39. The serial numbers of the files were incremented.
Diffstat (limited to 'm4/ax_compiler_flags_ldflags.m4')
-rw-r--r--m4/ax_compiler_flags_ldflags.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/ax_compiler_flags_ldflags.m4 b/m4/ax_compiler_flags_ldflags.m4
index f9077fc..f393ba4 100644
--- a/m4/ax_compiler_flags_ldflags.m4
+++ b/m4/ax_compiler_flags_ldflags.m4
@@ -25,7 +25,7 @@
# and this notice are preserved. This file is offered as-is, without any
# warranty.
-#serial 3
+#serial 4
AC_DEFUN([AX_COMPILER_FLAGS_LDFLAGS],[
AX_REQUIRE_DEFINED([AX_APPEND_COMPILE_FLAGS])
@@ -61,7 +61,7 @@ AC_DEFUN([AX_COMPILER_FLAGS_LDFLAGS],[
])
AS_IF([test "$ax_enable_compile_warnings" = "error"],[
# "error" flags; -Werror has to be appended unconditionally because
- # it’s not possible to test for
+ # it's not possible to test for
#
# suggest-attribute=format is disabled because it gives too many false
# positives