Changeset: 655885c5d91d for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=655885c5d91d
Modified Files:
configure.ag
Branch: Jun2016
Log Message:
Work harder to find a Perl directory.
diffs (19 lines):
diff --git a/configure.ag b/configure.ag
--- a/configure.ag
+++ b/configure.ag
@@ -1251,6 +1251,15 @@ if test "x$have_perl" != xno; then
PERL_LIBDIR=`"$PERL" -MConfig -e
'$x=$Config{installvendorarch}; $x =~ s|$Config{vendorprefix}/||; print $x;'
2>/dev/null`
# On Darwin this starts with a slash, remove it
PERL_LIBDIR="${PERL_LIBDIR#/}"
+ if test "x$PERL_LIBDIR" = x; then
+ # if empty (e.g. on FreeBSD) try something else
+ PERL_LIBDIR=`"$PERL" -MConfig -e
'$x=$Config{sitelib}; $x =~ s|$Config{prefix}/||; print $x;' 2>/dev/null`
+ if test "x$PERL_LIBDIR" = x; then
+ # if still empty, give up
+ have_perl=no
+ why_have_perl='(cannot determine
location for files)'
+ fi
+ fi
;;
no) ;;
*)
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list