Skip to content

Commit

Permalink
define -Wmissing-prototypes -Wmissing-declarations as gcc option
Browse files Browse the repository at this point in the history
if --enable-pedant specified.
  • Loading branch information
sakane committed Dec 15, 2000
1 parent db64a84 commit e6925f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion kame/kame/racoon/configure
Expand Up @@ -1096,7 +1096,7 @@ fi

echo "$ac_t""$enable_yydebug" 1>&6

OPTFLAG="-Wall $OPTFLAG"
OPTFLAG="-Wall -Wmissing-prototypes -Wmissing-declarations $OPTFLAG"
echo $ac_n "checking if --enable-pedant option is specified""... $ac_c" 1>&6
echo "configure:1102: checking if --enable-pedant option is specified" >&5
# Check whether --enable-pedant or --disable-pedant was given.
Expand Down
2 changes: 1 addition & 1 deletion kame/kame/racoon/configure.in
Expand Up @@ -23,7 +23,7 @@ AC_ARG_ENABLE(yydebug, [ --enable-yydebug build a yydebug version],
enable_yydebug=yes], [enable_yydebug=no])
AC_MSG_RESULT($enable_yydebug)

OPTFLAG="-Wall $OPTFLAG"
OPTFLAG="-Wall -Wmissing-prototypes -Wmissing-declarations $OPTFLAG"
AC_MSG_CHECKING(if --enable-pedant option is specified)
AC_ARG_ENABLE(pedant, [ --enable-pedant pedantic compiler options],
[OPTFLAG="-Werror $OPTFLAG"; enable_pedant=yes],
Expand Down

0 comments on commit e6925f7

Please sign in to comment.