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
04c2317e
Commit
04c2317e
authored
Sep 26, 2004
by
Lev Walkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
proper way of doing things
parent
7c6e9243
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
6 deletions
+11
-6
configure
configure
+9
-4
configure.in
configure.in
+2
-2
No files found.
configure
View file @
04c2317e
...
@@ -21401,11 +21401,16 @@ mingw* | p32*)
...
@@ -21401,11 +21401,16 @@ mingw* | p32*)
;;
;;
esac
esac
# Check whether --enable-autoconf or --disable-autoconf was given.
# Check whether --enable-Werror or --disable-Werror was given.
if
test
"
${
enable_autoconf
+set
}
"
=
set
;
then
if
test
"
${
enable_Werror
+set
}
"
=
set
;
then
enableval
=
"
$enable_autoconf
"
enableval
=
"
$enable_Werror
"
ADD_CFLAGS
=
"-Werror -W -Wpointer-arith"
enable_werror
=
$enableval
else
enable_werror
=
no
fi
;
fi
;
if
test
x
$enable_werror
=
xyes
;
then
ADD_CFLAGS
=
"-Werror -W -Wpointer-arith"
fi
case
"
$GCC
"
in
case
"
$GCC
"
in
...
...
configure.in
View file @
04c2317e
...
@@ -49,11 +49,11 @@ mingw* | p32*)
...
@@ -49,11 +49,11 @@ mingw* | p32*)
;;
;;
esac
esac
AC_ARG_ENABLE(
autoconf
,
AC_ARG_ENABLE(
Werror
,
[ --enable-Werror abort compilation after any C compiler warning],
[ --enable-Werror abort compilation after any C compiler warning],
enable_werror=$enableval, enable_werror=no)
enable_werror=$enableval, enable_werror=no)
if test x$enable_werror = xyes; then
if test x$enable_werror = xyes; then
ADD_CFLAGS="-Werror -W -Wpointer-arith"
)
ADD_CFLAGS="-Werror -W -Wpointer-arith"
fi
fi
AC_SUBST(ADD_CFLAGS)
AC_SUBST(ADD_CFLAGS)
...
...
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