comparison configure.ac @ 1558:2f64cb3d3007 fuzz

- #if not #ifdef for DROPBEAR_FUZZ - fix some unused variables
author Matt Johnston <matt@ucc.asn.au>
date Wed, 28 Feb 2018 21:40:08 +0800
parents 61a793b6e471
children 92c93b4a3646
comparison
equal deleted inserted replaced
1557:61a793b6e471 1558:2f64cb3d3007
10 AC_CONFIG_SRCDIR(buffer.c) 10 AC_CONFIG_SRCDIR(buffer.c)
11 11
12 # Record which revision is being built 12 # Record which revision is being built
13 if which -s hg && test -d "$srcdir/.hg"; then 13 if which -s hg && test -d "$srcdir/.hg"; then
14 hgrev=`hg id -i -R "$srcdir"` 14 hgrev=`hg id -i -R "$srcdir"`
15 echo "Source directory Mercurial base revision $hgrev" 15 AC_MSG_NOTICE([Source directory Mercurial base revision $hgrev])
16 fi 16 fi
17 17
18 # Checks for programs. 18 # Checks for programs.
19 AC_PROG_CC 19 AC_PROG_CC
20 20
328 AC_DEFINE(DROPBEAR_FUZZ, 1, Fuzzing) 328 AC_DEFINE(DROPBEAR_FUZZ, 1, Fuzzing)
329 AC_MSG_NOTICE(Enabling fuzzing) 329 AC_MSG_NOTICE(Enabling fuzzing)
330 DROPBEAR_FUZZ=1 330 DROPBEAR_FUZZ=1
331 ], 331 ],
332 [ 332 [
333 AC_DEFINE(DROPBEAR_FUZZ, 0, Fuzzing)
333 DROPBEAR_FUZZ=0 334 DROPBEAR_FUZZ=0
334 ] 335 ]
335 336
336 ) 337 )
337 AC_SUBST(DROPBEAR_FUZZ) 338 AC_SUBST(DROPBEAR_FUZZ)