comparison configure.ac @ 1356:3677a510f545 fuzz

add wrapfd. improve fuzzer in makefile
author Matt Johnston <matt@ucc.asn.au>
date Fri, 19 May 2017 00:48:46 +0800
parents b28624698130
children 798854f62430
comparison
equal deleted inserted replaced
1355:3fdd8c5a0195 1356:3677a510f545
221 AC_ARG_ENABLE(fuzz, 221 AC_ARG_ENABLE(fuzz,
222 [ --enable-fuzz Build fuzzing], 222 [ --enable-fuzz Build fuzzing],
223 [ 223 [
224 AC_DEFINE(DROPBEAR_FUZZ, 1, Fuzzing) 224 AC_DEFINE(DROPBEAR_FUZZ, 1, Fuzzing)
225 AC_MSG_NOTICE(Enabling fuzzing) 225 AC_MSG_NOTICE(Enabling fuzzing)
226 ] 226 DROPBEAR_FUZZ=1
227 ) 227 ],
228 228 [
229 229 DROPBEAR_FUZZ=0
230 ]
231
232 )
233 AC_SUBST(DROPBEAR_FUZZ)
230 234
231 # Checks for header files. 235 # Checks for header files.
232 AC_HEADER_STDC 236 AC_HEADER_STDC
233 AC_HEADER_SYS_WAIT 237 AC_HEADER_SYS_WAIT
234 AC_CHECK_HEADERS([fcntl.h limits.h netinet/in.h netinet/tcp.h stdlib.h string.h sys/socket.h sys/time.h termios.h unistd.h crypt.h pty.h ioctl.h libutil.h libgen.h inttypes.h stropts.h utmp.h utmpx.h lastlog.h paths.h util.h netdb.h security/pam_appl.h pam/pam_appl.h netinet/in_systm.h sys/uio.h]) 238 AC_CHECK_HEADERS([fcntl.h limits.h netinet/in.h netinet/tcp.h stdlib.h string.h sys/socket.h sys/time.h termios.h unistd.h crypt.h pty.h ioctl.h libutil.h libgen.h inttypes.h stropts.h utmp.h utmpx.h lastlog.h paths.h util.h netdb.h security/pam_appl.h pam/pam_appl.h netinet/in_systm.h sys/uio.h])