--- config/m4/pfkeb_have_minuit2.m4.orig 2008-07-15 18:39:21.000000000 +0100 +++ config/m4/pfkeb_have_minuit2.m4 2008-07-15 18:40:47.000000000 +0100 @@ -44,7 +44,7 @@ [pfk_minuit2_include="/usr/local/include"]) AC_ARG_WITH([minuit2-lib], - [ --with-minuit2-lib=DIR Minuit2 libMinuit2Base.so file is in DIR + [ --with-minuit2-lib=DIR Minuit2 libMinuit2.so file is in DIR (default:/usr/local/lib:/usr/lib)], [pfk_minuit2_lib=$with_minuit2_lib], [pfk_minuit2_lib="/usr/local/lib"]) @@ -54,9 +54,9 @@ else MINUIT2_CXXFLAGS="-I$pfk_minuit2_include" if test x$enable_rpath = xno; then - MINUIT2_LDFLAGS="-L$pfk_minuit2_lib -lMinuit2Base" + MINUIT2_LDFLAGS="-L$pfk_minuit2_lib -lMinuit2" else - MINUIT2_LDFLAGS="-L$pfk_minuit2_lib -lMinuit2Base -R$pfk_minuit2_lib" + MINUIT2_LDFLAGS="-L$pfk_minuit2_lib -lMinuit2 -R$pfk_minuit2_lib" fi AC_MSG_NOTICE([checking Minuit2 install with MINUIT2_CXXFLAGS=$MINUIT2_CXXFLAGS @@ -65,18 +65,18 @@ PFK_SHARED_SUFFIX no_good=no AC_CHECK_FILE($pfk_minuit2_include/Minuit2/FCNBase.h,, no_good=yes ) - AC_CHECK_FILE($pfk_minuit2_lib/libMinuit2Base.$pfk_so,, no_good=yes ) + AC_CHECK_FILE($pfk_minuit2_lib/libMinuit2.$pfk_so,, no_good=yes ) if test x$no_good = xyes; then MINUIT2_CXXFLAGS="-I/usr/include" - MINUIT2_LDFLAGS="-L/usr/lib -lMinuit2Base" + MINUIT2_LDFLAGS="-L/usr/lib -lMinuit2" AC_MSG_NOTICE([checking Minuit2 install with MINUIT2_CXXFLAGS=$MINUIT2_CXXFLAGS MINUIT2_LDFLAGS=$MINUIT2_LDFLAGS]) no_good=no AC_CHECK_FILE(/usr/include/Minuit2/FCNBase.h,, no_good=yes ) - AC_CHECK_FILE(/usr/lib/libMinuit2Base.$pfk_so,, no_good=yes ) + AC_CHECK_FILE(/usr/lib/libMinuit2.$pfk_so,, no_good=yes ) if test x$no_good = xyes; then have_minuit2=no else