File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -5755,7 +5755,13 @@ $as_echo ">>> too old; need Perl version 5.003_01 or later <<<" >&6; }
5755
5755
if test " $perl_ok " = " yes" -a " X$libperl " ! = " X" ; then
5756
5756
$as_echo " #define DYNAMIC_PERL 1" >> confdefs.h
5757
5757
5758
- PERL_CFLAGS=" -DDYNAMIC_PERL_DLL=\\\" $libperl \\\" $PERL_CFLAGS "
5758
+ if ${vi_cv_dll_name_perl+: } false ; then :
5759
+ $as_echo_n " (cached) " >&6
5760
+ else
5761
+ vi_cv_dll_name_perl=" $libperl "
5762
+ fi
5763
+
5764
+ PERL_CFLAGS=" -DDYNAMIC_PERL_DLL=\\\" $vi_cv_dll_name_perl \\\" $PERL_CFLAGS "
5759
5765
fi
5760
5766
fi
5761
5767
Original file line number Diff line number Diff line change @@ -1051,7 +1051,8 @@ if test "$enable_perlinterp" = "yes" -o "$enable_perlinterp" = "dynamic"; then
1051
1051
if test "$enable_perlinterp" = "dynamic"; then
1052
1052
if test "$perl_ok" = "yes" -a "X$libperl" != "X"; then
1053
1053
AC_DEFINE(DYNAMIC_PERL)
1054
- PERL_CFLAGS="-DDYNAMIC_PERL_DLL=\\\"$libperl\\\" $PERL_CFLAGS"
1054
+ AC_CACHE_VAL(vi_cv_dll_name_perl, [vi_cv_dll_name_perl="$libperl"])
1055
+ PERL_CFLAGS="-DDYNAMIC_PERL_DLL=\\\"$vi_cv_dll_name_perl\\\" $PERL_CFLAGS"
1055
1056
fi
1056
1057
fi
1057
1058
You can’t perform that action at this time.
0 commit comments