[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Why is this perl checking code not working for me?

From: Dr. David Kirkby
Subject: Why is this perl checking code not working for me?
Date: Fri, 07 Aug 2009 23:44:42 +0100
User-agent: Thunderbird (X11/20090218)

I'm trying to check if the version of perl is at least x.y.z

I found a macro with this syntax.


The documentation says one needs to run AC_CHECK_PROG or AC_PATH_PROG first, so $PERL is set to the path to perl. But it keeps failing on me:


checking for perl... /usr/local/bin/perl
checking for a sed that does not truncate output... /opt/csw/bin/gsed
checking for grep that handles long lines and -e... /usr/sfw/bin/ggrep
./configure: line 4836: syntax error near unexpected token `$ax_perl_version,le,$perl_version,' ./configure: line 4836: ` AX_COMPARE_VERSION($ax_perl_version,le,$perl_version,'

Am I overlooking something obvious, or is the macro broken?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]