diff --git a/m4/check-package.m4 b/m4/check-package.m4
index c01437dbe9c25e403f589a344f4e4629e4ce5d72..f34695cdc7372cd0ac153668475c6b1cf41918ee 100644
--- a/m4/check-package.m4
+++ b/m4/check-package.m4
@@ -21,7 +21,7 @@ else
 fi
 AC_ARG_WITH($1-lib,
 [  --with-$1-lib=DIR   use $1 library below directory DIR
-                      (default: `eval $DEFAULT_LIBDIR`)],
+                      (default: $3)],
 [case "$withval" in
     yes) AC_MSG_ERROR("option \"--with-$1-lib\" requires an argument")
 	;;
@@ -41,7 +41,7 @@ else
 fi
 AC_ARG_WITH($1-headers,
 [  --with-$1-headers=DIR   use $1 include files below directory DIR
-                          (default: $DEFAULT_INCDIR)],
+                          (default: $6)],
 [case "$withval" in
     yes) AC_MSG_ERROR("option \"--with-$1-headers\" requires an argument")
 	;;