-Coders,

if "perl -V:cc" returns a full path like

cc='/usr/bin/cc';

then configure in 5.4.rc2 doesn't recognize it and disables Perl
altogether. The attached trivial patch adds the slash to the list of
valid symbols to fix this bug.

I'm calling for votes to include this in 5.4.


+Thomas

-- 
Thomas Anders (thomas.anders at blue-cable.de)
Index: configure.in
===================================================================
RCS file: /cvsroot/net-snmp/net-snmp/configure.in,v
retrieving revision 5.293
diff -u -r5.293 configure.in
--- configure.in	8 Nov 2006 16:24:17 -0000	5.293
+++ configure.in	15 Nov 2006 14:59:09 -0000
@@ -2921,7 +2921,7 @@
     if test "xenable_perl_cc_checks" != "xno" ; then
       AC_MSG_CHECKING([for Perl cc])
       changequote(, )
-      PERLCC=`$myperl -V:cc | $myperl -n -e 'print if (s/^\s*cc=.([-\w\s]+).;\s*/$1/);'`
+      PERLCC=`$myperl -V:cc | $myperl -n -e 'print if (s/^\s*cc=.([-\w\s\/]+).;\s*/$1/);'`
       changequote([, ])
       if test "x$PERLCC" != "x" ; then
         AC_MSG_RESULT([$PERLCC])
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to