Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
asn1c
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
asn1c
Commits
130cffe9
Commit
130cffe9
authored
Oct 19, 2017
by
Lev Walkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add options to readme
parent
312e3e0f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
9 deletions
+17
-9
INSTALL.md
INSTALL.md
+12
-4
configure.ac
configure.ac
+4
-4
m4/ax_code_coverage.m4
m4/ax_code_coverage.m4
+1
-1
No files found.
INSTALL.md
View file @
130cffe9
...
...
@@ -13,10 +13,18 @@ Configure with the default settings:
Configure with non-standard settings:
asn1c specific ./configure options include:
--enable-Werror
--enable-ASN_DEBUG
asn1c-specific ./configure options include:
Option | Description
------------------------ | ---------------------------------------------------
--enable-ASN_DEBUG | produce debug log during
`make check`
testing
--enable-code-coverage | whether to enable code coverage support
--enable-Werror | abort compilation after any C compiler warning
--enable-test-Werror | abort compiling tests after any C compiler warning
--enable-test-32bit | enable tests for 32-bit compatibility
--disable-test-ubsan | disable Undefined Behavior Sanitizer for tests
--disable-test-asan | disable Address Sanitizer for tests
--enable-test-fuzzer | enable LLVM LibFuzzer for randomized testing
invoke
`./configure --help`
for details.
...
...
configure.ac
View file @
130cffe9
...
...
@@ -129,7 +129,7 @@ dnl If requested and -m32 is available to create 32-bit code,
dnl treat it like a special case to be checked.
AC_ARG_ENABLE([test-32bit],
[AS_HELP_STRING([--enable-test-32bit],
[
E
nable tests for 32-bit compatibility])],
[
e
nable tests for 32-bit compatibility])],
[enable_test_32bit=$enableval], [enable_test_32bit=no])
AS_IF([test "x$enable_test_32bit" != xno], [
AX_CHECK_COMPILE_FLAG([-m32], [CFLAGS_M32="-m32 -DEXPLICIT_32BIT"],
...
...
@@ -146,7 +146,7 @@ SANITIZER_CFLAGS=""
dnl Enable Undefined Behavior Sanitizer, if supported.
AC_ARG_ENABLE([test-ubsan],
[AS_HELP_STRING([--disable-test-ubsan],
[
D
isable Undefined Behavior Sanitizer for tests])],
[
d
isable Undefined Behavior Sanitizer for tests])],
[disable_test_ubsan=$enableval], [disable_test_ubsan=maybe])
AS_IF([test "x$disable_test_ubsan" != xno], [
AX_CHECK_COMPILE_AND_LINK_FLAG([-fsanitize=undefined],
...
...
@@ -187,7 +187,7 @@ dnl http://clang.llvm.org/docs/AddressSanitizer.html
ASAN_ENV_FLAGS=""
AC_ARG_ENABLE([test-asan],
[AS_HELP_STRING([--disable-test-asan],
[
D
isable Address Sanitizer for tests])],
[
d
isable Address Sanitizer for tests])],
[disable_test_asan=$enableval], [disable_test_asan=maybe])
AS_IF([test "x$disable_test_asan" != xno], [
AX_CHECK_COMPILE_AND_LINK_FLAG([-fsanitize=address],
...
...
@@ -223,7 +223,7 @@ dnl Enable LibFuzzer, if supported.
LIBFUZZER_CFLAGS=""
AC_ARG_ENABLE([test-fuzzer],
[AS_HELP_STRING([--enable-test-fuzzer],
[
E
nable LLVM LibFuzzer for randomized testing])],
[
e
nable LLVM LibFuzzer for randomized testing])],
[enable_test_fuzzer=$enableval], [enable_test_fuzzer=no])
AS_IF([test "x$enable_test_fuzzer" != xno], [
AX_CHECK_COMPILE_AND_LINK_FLAG([-fsanitize=fuzzer],
...
...
m4/ax_code_coverage.m4
View file @
130cffe9
...
...
@@ -85,7 +85,7 @@ AC_DEFUN([AX_CODE_COVERAGE],[
AC_MSG_CHECKING([whether to build with code coverage support])
AC_ARG_ENABLE([code-coverage],
AS_HELP_STRING([--enable-code-coverage],
[
Whether to enable code coverage support
]),,
[
enable code coverage statistics collection
]),,
enable_code_coverage=no)
AM_CONDITIONAL([CODE_COVERAGE_ENABLED], [test x$enable_code_coverage = xyes])
...
...
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