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
70368598
Commit
70368598
authored
Dec 01, 2014
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not change user variable CFLAGS in configure.ac
parent
60cb3f67
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
2 deletions
+20
-2
configure.ac
configure.ac
+13
-0
examples/Makefile.am
examples/Makefile.am
+1
-0
lib/Makefile.am
lib/Makefile.am
+1
-1
src/Makefile.am
src/Makefile.am
+1
-0
tests/Makefile.am
tests/Makefile.am
+4
-1
No files found.
configure.ac
View file @
70368598
...
...
@@ -20,6 +20,10 @@ dnl NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
dnl LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
dnl OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
dnl WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
dnl Do not change user variables!
dnl http://www.gnu.org/software/automake/manual/html_node/Flag-Variables-Ordering.html
AC_PREREQ(2.61)
AC_INIT([nghttp2], [0.6.8-DEV], [t-tujikawa@users.sourceforge.net])
LT_PREREQ([2.2.6])
...
...
@@ -522,6 +526,9 @@ case "${host}" in
;;
esac
ac_save_CFLAGS=$CFLAGS
CFLAGS=
if test "x$werror" != "xno"; then
AX_CHECK_COMPILE_FLAG([-Wall], [CFLAGS="$CFLAGS -Wall"])
AX_CHECK_COMPILE_FLAG([-Wextra], [CFLAGS="$CFLAGS -Wextra"])
...
...
@@ -554,6 +561,11 @@ if test "x$werror" != "xno"; then
AX_CHECK_COMPILE_FLAG([-Wheader-guard], [CFLAGS="$CFLAGS -Wheader-guard"])
fi
WARNCFLAGS=$CFLAGS
CFLAGS=$ac_save_CFLAGS
AC_SUBST([WARNCFLAGS])
if test "x$debug" != "xno"; then
AC_DEFINE([DEBUGBUILD], [1], [Define to 1 to enable debug output.])
fi
...
...
@@ -609,6 +621,7 @@ AC_MSG_NOTICE([summary of build options:
Install prefix: ${prefix}
C compiler: ${CC}
CFLAGS: ${CFLAGS}
WARNCFLAGS: ${WARNCFLAGS}
LDFLAGS: ${LDFLAGS}
LIBS: ${LIBS}
CPPFLAGS: ${CPPFLAGS}
...
...
examples/Makefile.am
View file @
70368598
...
...
@@ -23,6 +23,7 @@
if
ENABLE_EXAMPLES
AM_CFLAGS
=
$(WARNCFLAGS)
AM_CPPFLAGS
=
\
-Wall
\
-I
$(top_srcdir)
/lib/includes
\
...
...
lib/Makefile.am
View file @
70368598
...
...
@@ -24,7 +24,7 @@ SUBDIRS = includes
EXTRA_DIST
=
Makefile.msvc
AM_CFLAGS
=
-Wall
AM_CFLAGS
=
$(WARNCFLAGS)
AM_CPPFLAGS
=
-I
$(srcdir)
/includes
-I
$(builddir)
/includes @DEFS@
pkgconfigdir
=
$(libdir)
/pkgconfig
...
...
src/Makefile.am
View file @
70368598
...
...
@@ -26,6 +26,7 @@ bin_PROGRAMS =
check_PROGRAMS
=
TESTS
=
AM_CFLAGS
=
$(WARNCFLAGS)
AM_CPPFLAGS
=
\
-Wall
\
-I
$(top_srcdir)
/lib/includes
\
...
...
tests/Makefile.am
View file @
70368598
...
...
@@ -60,7 +60,10 @@ failmalloc_LDADD = $(main_LDADD)
failmalloc_LDFLAGS
=
$(main_LDFLAGS)
endif
# ENABLE_FAILMALLOC
AM_CFLAGS
=
-Wall
-I
${top_srcdir}
/lib
-I
${top_srcdir}
/lib/includes
-I
${top_builddir}
/lib/includes
\
AM_CFLAGS
=
$(WARNCFLAGS)
\
-I
${top_srcdir}
/lib
\
-I
${top_srcdir}
/lib/includes
\
-I
${top_builddir}
/lib/includes
\
@CUNIT_CFLAGS@ @DEFS@
TESTS
=
main
...
...
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