--- a/configure-libraries.ac
+++ b/configure-libraries.ac
@@ -14,8 +14,8 @@
 	fi
 	if test x$FOUNDMINUIT = xyes; then
 		AC_CHECK_LIB(lcg_Minuit,main,,	
-			AC_CHECK_LIB(Minuit,main,,FOUNDMINUIT=no
-				AC_MSG_WARN([Minuit library (liblcg_Minuit or libMinuit) not found
+			AC_CHECK_LIB(Minuit2,main,,FOUNDMINUIT=no
+				AC_MSG_WARN([Minuit library (liblcg_Minuit or libMinuit2) not found
 Is LDFLAGS is defined to include relevant directory?])))
 		if test x$FOUNDMINUIT = xyes; then
 			AC_DEFINE(HAVE_LIBMINUIT)

