On Wed, Dec 10, 2014 at 04:12:24PM -0600, Tyler Hicks wrote: > This is needed for some of the parser functionality that will be moved > to libapparmor. In the short term, only the 'bool' type is needed but it > makes sense to simply require a C99 compliant compiler for libapparmor > since the parser is being rewritten in C++. The use of C99 will reduce > future headaches when moving code between the two code bases. > > Signed-off-by: Tyler Hicks <[email protected]>
Acked-by: Seth Arnold <[email protected]> Thanks > --- > libraries/libapparmor/configure.ac | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/libraries/libapparmor/configure.ac > b/libraries/libapparmor/configure.ac > index 15155c5..4da65c1 100644 > --- a/libraries/libapparmor/configure.ac > +++ b/libraries/libapparmor/configure.ac > @@ -79,6 +79,11 @@ AM_PROG_CC_C_O > AC_C_CONST > AM_PROG_LIBTOOL > > +AC_PROG_CC_C99 > +if test "$ac_cv_prog_cc_c99" = "no"; then > + AC_MSG_ERROR([C99 mode is required to build libapparmor]) > +fi > + > AC_OUTPUT( > Makefile > doc/Makefile > -- > 2.1.0 > >
signature.asc
Description: Digital signature
-- AppArmor mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor
