Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nghttp2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
nghttp2
Commits
f152dd88
Commit
f152dd88
authored
Feb 20, 2014
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename --enable-maintainer-mode configure option as --enable-werror
parent
9703c5de
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
configure.ac
configure.ac
+4
-4
No files found.
configure.ac
View file @
f152dd88
...
@@ -48,10 +48,10 @@ AM_INIT_AUTOMAKE([subdir-objects])
...
@@ -48,10 +48,10 @@ AM_INIT_AUTOMAKE([subdir-objects])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_HEADERS([config.h])
dnl Checks for command-line options
dnl Checks for command-line options
AC_ARG_ENABLE([
maintainer-mode
],
AC_ARG_ENABLE([
werror
],
[AS_HELP_STRING([--enable-
maintainer-mode
],
[AS_HELP_STRING([--enable-
werror
],
[Turn on compile time warnings])],
[Turn on compile time warnings])],
[
maintainer_mode=$enableval], [maintainer_mode
=no])
[
werror=$enableval], [werror
=no])
AC_ARG_ENABLE([app],
AC_ARG_ENABLE([app],
[AS_HELP_STRING([--enable-app],
[AS_HELP_STRING([--enable-app],
...
@@ -370,7 +370,7 @@ case "${host}" in
...
@@ -370,7 +370,7 @@ case "${host}" in
;;
;;
esac
esac
if test "x$
maintainer_mode
" != "xno"; then
if test "x$
werror
" != "xno"; then
CFLAGS="$CFLAGS -Wall -Wextra -Werror"
CFLAGS="$CFLAGS -Wall -Wextra -Werror"
CFLAGS="$CFLAGS -Wmissing-prototypes -Wstrict-prototypes"
CFLAGS="$CFLAGS -Wmissing-prototypes -Wstrict-prototypes"
CFLAGS="$CFLAGS -Wmissing-declarations -Wpointer-arith"
CFLAGS="$CFLAGS -Wmissing-declarations -Wpointer-arith"
...
...
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