ITS#2764: fix sed of perl ldopts

This commit is contained in:
Kurt Zeilenga 2003-10-14 05:47:00 +00:00
parent db24b00660
commit 9201971c59
2 changed files with 740 additions and 738 deletions

1473
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -682,10 +682,11 @@ if test $ol_enable_perl != no ; then
else
PERL_CPPFLAGS="`$PERLBIN -MExtUtils::Embed -e ccopts`"
PERL_LDFLAGS="`$PERLBIN -MExtUtils::Embed -e ldopts|sed -e s/\ -lc\ //g -e s/\ -lc\$// `"
if test x"$ol_with_perl_module" = "xstatic" ; then
SLAPD_PERL_LDFLAGS="`$PERLBIN -MExtUtils::Embed -e ldopts|sed -e s/-lc//`"
SLAPD_PERL_LDFLAGS="$PERL_LDFLAGS""
else
MOD_PERL_LDFLAGS="`$PERLBIN -MExtUtils::Embed -e ldopts|sed -e s/-lc//`"
MOD_PERL_LDFLAGS="$PERL_LDFLAGS""
fi
dnl should check perl version
ol_link_perl=yes