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
58ecc7b4
Commit
58ecc7b4
authored
Sep 17, 2014
by
Lev Walkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
disable long debug output and implement --enable-ASN_DEBUG to restore old behavior
parent
68e94450
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
1 deletion
+23
-1
ChangeLog
ChangeLog
+2
-0
asn1c/tests/check-assembly.sh
asn1c/tests/check-assembly.sh
+1
-1
configure
configure
+13
-0
configure.ac
configure.ac
+7
-0
No files found.
ChangeLog
View file @
58ecc7b4
0.9.??:
0.9.??:
* Build structure fixes for portability.
* Build structure fixes for portability.
* Disable long debug of ASN.1 operations during `make check` stage.
* Introduce --enable-ASN_DEBUG configure flag to emit long debug output.
0.9.26: 2014-Sep-11
0.9.26: 2014-Sep-11
* Updated asn1c-usage.pdf.
* Updated asn1c-usage.pdf.
...
...
asn1c/tests/check-assembly.sh
View file @
58ecc7b4
...
@@ -41,7 +41,7 @@ asn_module=`echo ../${top_srcdir}/tests/${testno}-*.asn1`
...
@@ -41,7 +41,7 @@ asn_module=`echo ../${top_srcdir}/tests/${testno}-*.asn1`
cat
>
Makefile
<<
EOM
cat
>
Makefile
<<
EOM
# This file is autogenerated by ../
$0
# This file is autogenerated by ../
$0
COMMON_FLAGS= -I.
-DEMIT_ASN_DEBUG
COMMON_FLAGS= -I.
CFLAGS =
\$
{COMMON_FLAGS}
${
CFLAGS
}
-g -O0
CFLAGS =
\$
{COMMON_FLAGS}
${
CFLAGS
}
-g -O0
CPPFLAGS = -DSRCDIR=../
${
srcdir
}
CPPFLAGS = -DSRCDIR=../
${
srcdir
}
CXXFLAGS =
\$
{COMMON_FLAGS}
${
CXXFLAGS
}
CXXFLAGS =
\$
{COMMON_FLAGS}
${
CXXFLAGS
}
...
...
configure
View file @
58ecc7b4
...
@@ -767,6 +767,7 @@ with_gnu_ld
...
@@ -767,6 +767,7 @@ with_gnu_ld
with_sysroot
with_sysroot
enable_libtool_lock
enable_libtool_lock
enable_Werror
enable_Werror
enable_ASN_DEBUG
'
'
ac_precious_vars
=
'build_alias
ac_precious_vars
=
'build_alias
host_alias
host_alias
...
@@ -1407,6 +1408,7 @@ Optional Features:
...
@@ -1407,6 +1408,7 @@ Optional Features:
--enable-dependency-tracking do not reject slow dependency extractors
--enable-dependency-tracking do not reject slow dependency extractors
--disable-libtool-lock avoid locking (might break parallel builds)
--disable-libtool-lock avoid locking (might break parallel builds)
--enable-Werror abort compilation after any C compiler warning
--enable-Werror abort compilation after any C compiler warning
--enable-ASN_DEBUG produce debug log during `make check` testing
Optional Packages:
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
...
@@ -12426,6 +12428,17 @@ if test x$enable_werror = xyes; then
...
@@ -12426,6 +12428,17 @@ if test x$enable_werror = xyes; then
ADD_CFLAGS
=
"-Werror -W -Wpointer-arith"
ADD_CFLAGS
=
"-Werror -W -Wpointer-arith"
fi
fi
# Check whether --enable-ASN_DEBUG was given.
if
test
"
${
enable_ASN_DEBUG
+set
}
"
=
set
;
then
:
enableval
=
$enable_ASN_DEBUG
;
enable_asn_debug
=
$enableval
else
enable_asn_debug
=
no
fi
if
test
x
$enable_asn_debug
=
xyes
;
then
TESTSUITE_CFLAGS
=
"-DEMIT_ASN_DEBUG"
fi
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking whether C compiler accepts -Wall"
>
&5
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking whether C compiler accepts -Wall"
>
&5
$as_echo_n
"checking whether C compiler accepts -Wall... "
>
&6
;
}
$as_echo_n
"checking whether C compiler accepts -Wall... "
>
&6
;
}
if
${
ax_cv_check_cflags___Wall
+
:
}
false
;
then
:
if
${
ax_cv_check_cflags___Wall
+
:
}
false
;
then
:
...
...
configure.ac
View file @
58ecc7b4
...
@@ -34,6 +34,13 @@ if test x$enable_werror = xyes; then
...
@@ -34,6 +34,13 @@ if test x$enable_werror = xyes; then
ADD_CFLAGS="-Werror -W -Wpointer-arith"
ADD_CFLAGS="-Werror -W -Wpointer-arith"
fi
fi
AC_ARG_ENABLE([ASN_DEBUG],
[ --enable-ASN_DEBUG produce debug log during `make check` testing],
enable_asn_debug=$enableval, enable_asn_debug=no)
if test x$enable_asn_debug = xyes; then
TESTSUITE_CFLAGS="-DEMIT_ASN_DEBUG"
fi
AX_CHECK_COMPILE_FLAG([-Wall], [CFLAGS="$CFLAGS -Wall"])
AX_CHECK_COMPILE_FLAG([-Wall], [CFLAGS="$CFLAGS -Wall"])
AX_CHECK_COMPILE_FLAG([-Wcast-qual], [CFLAGS="$CFLAGS -Wcast-qual"])
AX_CHECK_COMPILE_FLAG([-Wcast-qual], [CFLAGS="$CFLAGS -Wcast-qual"])
AX_CHECK_COMPILE_FLAG([-Wchar-subscripts],
AX_CHECK_COMPILE_FLAG([-Wchar-subscripts],
...
...
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