Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
codes
codes
Commits
485ce97d
Commit
485ce97d
authored
Jan 08, 2016
by
Jonathan Jenkins
Browse files
add warning flags by default
parent
2b0cd41e
Changes
1
Show whitespace changes
Inline
Side-by-side
configure.ac
View file @
485ce97d
...
@@ -52,6 +52,11 @@ AC_TYPE_UINT64_T
...
@@ -52,6 +52,11 @@ AC_TYPE_UINT64_T
AC_TYPE_SIZE_T
AC_TYPE_SIZE_T
AC_TYPE_SSIZE_T
AC_TYPE_SSIZE_T
# Add warning flags by default
AX_CHECK_COMPILE_FLAG([-Wall], [CFLAGS="$CFLAGS -Wall"])
AX_CHECK_COMPILE_FLAG([-Wextra], [CFLAGS="$CFLAGS -Wextra"])
AX_CHECK_COMPILE_FLAG([-Wshadow], [CFLAGS="$CFLAGS -Wshadow"])
# Checks for library functions.
# Checks for library functions.
AC_CHECK_FUNCS([memset])
AC_CHECK_FUNCS([memset])
AC_CHECK_LIB([pthread],[pthread_create],,[AC_MSG_ERROR([Could not find pthread_create!])])
AC_CHECK_LIB([pthread],[pthread_create],,[AC_MSG_ERROR([Could not find pthread_create!])])
...
...
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