Changeset: dc76101969ba for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=dc76101969ba
Modified Files:
        buildtools/conf/MonetDB.m4
Branch: Oct2010
Log Message:

HACK(?) to find & use proper 32-bit libperl on 64-bit system (with default 
64-bit perl)


diffs (14 lines):

diff -r b695fc68cc76 -r dc76101969ba buildtools/conf/MonetDB.m4
--- a/buildtools/conf/MonetDB.m4        Wed Dec 15 14:00:23 2010 +0100
+++ b/buildtools/conf/MonetDB.m4        Wed Dec 15 19:47:02 2010 +0100
@@ -1504,6 +1504,10 @@
                        AC_MSG_ERROR([Must specify --with-perl-incdir 
--with-perl-libdir --with-perl-library when cross compiling])
                fi
                PERL_LIBS=`"$PERL" -MConfig -e 'print "$Config{archlib}/CORE"' 
2>/dev/null`
+               dnl  HACK(?) to find & use proper 32-bit libperl on 64-bit 
system (with default 64-bit perl)
+               if test "$bits" = "32" ; then
+                       PERL_LIBS=`echo "$PERL_LIBS" | sed 's|/lib64/|/lib/|' 
2>/dev/null`
+               fi
                ;;
        no)     ;;
        *)      PERL_LIBS="$have_perl_library"
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to