+ perl_cc="`$PERL_COMMAND -MConfig -e 'print $Config{cc}'`"
+ perl_ccopts="`$PERL_COMMAND -MExtUtils::Embed -e ccopts`"
+ perl_libs="`$PERL_COMMAND -MExtUtils::Embed -e ldopts`"
+
+ # For the dynamic-module build, pull out all the -D & -I into another var,
+ # and -L (maybe & -l?) to another, both for feed to miscmods
+ # ending up as SUPPORT_PERL_INCLUDE & SUPPORT_PERL_LIB respectively
+
+ perl_cflags=`PERL_CCOPTS="$perl_ccopts" $PERL_COMMAND \
+ -e 'my @list = split(" ", $ENV{PERL_CCOPTS});' \
+ -e 'foreach (@list) {print "$_ " if (/^-[DI]/)}'`
+ perl_lflags=`PERL_LIBS="$perl_libs" $PERL_COMMAND \
+ -e 'my @list = split(" ", $ENV{PERL_LIBS});' \
+ -e 'foreach (@list) {print "$_ " if (/^-L/)}'`
+