Revision fd0bc853 configure.ac

b/configure.ac
369 369
  AC_MSG_CHECKING([network])
370 370
  GHC_PKG_NETWORK=$($GHC_PKG latest network)
371 371
  AC_MSG_RESULT($GHC_PKG_NETWORK)
372
  AC_MSG_CHECKING([QuickCheck 1.x])
373
  GHC_PKG_QUICKCHECK=$($GHC_PKG --simple-output list 'QuickCheck-1.*')
374
  AC_MSG_RESULT($GHC_PKG_QUICKCHECK)
372 375
  if test -z "$GHC_PKG_PARALLEL" || test -z "$GHC_PKG_JSON" || \
373 376
     test -z "$GHC_PKG_NETWORK"; then
374 377
    if test "$enable_htools" != "check"; then
......
379 382
    # we leave the other modules to be auto-selected
380 383
    HTOOLS_MODULES="-package $GHC_PKG_PARALLEL"
381 384
  fi
385
  if test -z "$GHC_PKG_QUICKCHECK"; then
386
     AC_MSG_WARN(m4_normalize([The QuickCheck 1.x module was not found,
387
                               you won't be able to run Haskell unittests]))
388
  fi
382 389
fi
383 390
AC_SUBST(HTOOLS_MODULES)
391
AC_SUBST(GHC_PKG_QUICKCHECK)
384 392

  
385 393
if test "$enable_htools" != "no"; then
386 394
  if test -z "$GHC" || test -z "$HTOOLS_MODULES"; then

Also available in: Unified diff