Revision 6e4c8f68 configure.ac

b/configure.ac
387 387
then
388 388
  AC_MSG_WARN([pep8 not found, checking code will not be complete])
389 389
fi
390
AM_CONDITIONAL([HAS_PEP8], [test "$PEP8"])
390 391

  
391 392
# Check for socat
392 393
AC_ARG_VAR(SOCAT, [socat path])
......
518 519
fi
519 520
AC_SUBST(HTOOLS_APIDOC)
520 521

  
522
# Check for hlint
523
HLINT=no
524
AC_ARG_VAR(HLINT, [hlint path])
525
AC_PATH_PROG(HLINT, [hlint], [])
526
if test -z "$HLINT"; then
527
  AC_MSG_WARN([hlint not found, checking code will not be possible])
528
fi
529

  
521 530
fi # end if enable_htools, define automake conditions
522 531

  
523 532
if test "$HTOOLS" != "yes" && test "$HS_CONFD" = "True"; then
......
528 537
AM_CONDITIONAL([WANT_HTOOLS], [test x$HTOOLS = xyes])
529 538
AM_CONDITIONAL([WANT_HTOOLSTESTS], [test "x$GHC_PKG_QUICKCHECK" != x])
530 539
AM_CONDITIONAL([WANT_HTOOLSAPIDOC], [test x$HTOOLS_APIDOC = xyes])
540
AM_CONDITIONAL([HAS_HLINT], [test "$HLINT"])
531 541

  
532 542
# Check for fakeroot
533 543
AC_ARG_VAR(FAKEROOT_PATH, [fakeroot path])

Also available in: Unified diff