File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ dnl Debug option
1010AC_ARG_ENABLE ( debug ,
1111 AS_HELP_STRING ( [ --enable-debug] ,[ enable debugging, defult: no] ) ,
1212 [ case "${enableval}" in
13- yes) debug = true ;;
14- no) debug = false ;;
13+ yes) debug= true ;;
14+ no) debug= false ;;
1515 *) AC_MSG_ERROR ( [ bad value ${enablevalue} for --enable-debug] ) ;;
1616 esac] , [ debug=false] )
1717
@@ -23,13 +23,14 @@ AC_CHECK_TOOL(IP, ip)
2323AC_CHECK_TOOL ( GAWK , gawk )
2424
2525dnl Disable all CFLAGS if it was not declarated
26- if [ test -z $CFLAGS; ] then
27- if test x"${ debug} " == x"true" ; then
26+ if [ test -z " $CFLAGS" ; ] then
27+ if [ test "x$ debug" == "xtrue" ] ; then
2828 CFLAGS="-g -O0"
2929 else
3030 CFLAGS="-O2"
3131 fi
3232fi
33+
3334AC_PROG_CC
3435
3536if [ test "x$IPTABLES" == "x"; ] then
You can’t perform that action at this time.
0 commit comments