summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configure.ac b/src/configure.ac
index a845d7b6a..bde3f95e9 100644
--- a/src/configure.ac
+++ b/src/configure.ac
@@ -131,7 +131,7 @@ AC_ARG_WITH(atk,
case $ATK in
yes)
AC_MSG_CHECKING([for atkrec package])
- ATKREC_VERSION=`ghc-pkg latest atkrec`
+ ATKREC_VERSION=`ghc-pkg field atkrec version`
if test "$ATKREC_VERSION" = ""; then
AC_MSG_RESULT(['not found'])
AC_MSG_WARN([Disabling ATK support.])