--- deliantra/server/configure.ac 2010/05/04 21:45:42 1.174 +++ deliantra/server/configure.ac 2010/05/05 09:05:03 1.175 @@ -42,12 +42,9 @@ AC_PATH_PROG(PERL, perl5.10.1) if test -z "$PERL"; then - AC_PATH_PROG(PERL, perl5.10.0) + AC_PATH_PROG(PERL, perl) if test -z "$PERL"; then - AC_PATH_PROG(PERL, perl) - if test -z "$PERL"; then - AC_MSG_ERROR([perl 5.10 or higher must be in your PATH, check the README]) - fi + AC_MSG_ERROR([perl 5.10.1 or higher must be in your PATH, check the README]) fi fi @@ -128,7 +125,7 @@ dnl fi AC_MSG_CHECKING(for $PERL suitability) -if $PERL -MExtUtils::Embed -e "use 5.10.0" >/dev/null 2>&1; then +if $PERL -MExtUtils::Embed -e "use 5.10.1" >/dev/null 2>&1; then save_CXXFLAGS="$CXXFLAGS" save_LIBS="$LIBS" xPERLFLAGS="`$PERL -MExtUtils::Embed -e ccopts`" @@ -158,7 +155,7 @@ AC_MSG_ERROR([no, unable to link test program]) fi else - AC_MSG_ERROR([no working perl found, or perl not version >= 5.10]) + AC_MSG_ERROR([no working perl found, or perl not version >= 5.10.1]) fi AC_SUBST(PERLLIB) AC_SUBST(PERLFLAGS)