Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
f5c08e17
Commit
f5c08e17
authored
Jul 06, 2012
by
Paul Eggert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* configure.in: Document --enable-gcc-warnings better.
parent
fee5959d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
ChangeLog
ChangeLog
+3
-0
configure.in
configure.in
+4
-2
No files found.
ChangeLog
View file @
f5c08e17
2012-07-06 Paul Eggert <eggert@cs.ucla.edu>
* configure.in: Document --enable-gcc-warnings better.
Use c_strcasecmp for ASCII case-insensitive comparison (Bug#11786).
This is safer than strcasecmp, which has unspecified behavior
outside the POSIX locale and in practice sometimes does not work
in multibyte locales. Similarly for c_strncasecmp and strncasecmp.
* configure.in (strcasecmp, strncasecmp): Remove checks.
* lib/c-ctype.c, lib/c-ctype.h, lib/c-strcase.h, lib/c-strcasecmp.c:
* lib/c-strncasecmp.c: New files, taken from gnulib.
* lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
...
...
configure.in
View file @
f5c08e17
...
...
@@ -575,7 +575,9 @@ gl_EARLY
AC_ARG_ENABLE([gcc-warnings],
[AS_HELP_STRING([--enable-gcc-warnings],
[turn on lots of GCC warnings (for developers)])],
[turn on lots of GCC warnings. This is intended for
developers, and may generate false alarms when used
with older or non-GNU development tools.])],
[case $enableval in
yes|no) ;;
*) AC_MSG_ERROR([bad value $enableval for gcc-warnings option]) ;;
...
...
@@ -597,7 +599,7 @@ if test "${enableval}" != "no"; then
LTO="-flto=$CPUS"
else
LTO="-flto"
fi
fi
old_CFLAGS=$CFLAGS
CFLAGS="$CFLAGS $LTO"
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment