This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
optional warning on join(/foo/...) (reworked suggested patch
[perl5.git]
/
cflags.SH
diff --git
a/cflags.SH
b/cflags.SH
index
8a1ba82
..
54e19d5
100755
(executable)
--- a/
cflags.SH
+++ b/
cflags.SH
@@
-28,7
+28,7
@@
$startsh
: In the following dollars and backticks do not need the extra backslash.
$spitshell >>cflags <<'!NO!SUBS!'
: In the following dollars and backticks do not need the extra backslash.
$spitshell >>cflags <<'!NO!SUBS!'
-case $CONFIG in
+case $CONFIG
DOTSH
in
'')
if test -f config.sh; then TOP=.;
elif test -f ../config.sh; then TOP=..;
'')
if test -f config.sh; then TOP=.;
elif test -f ../config.sh; then TOP=..;
@@
-65,7
+65,7
@@
case $# in
0) set *.c; echo "The current C flags are:" ;;
esac
0) set *.c; echo "The current C flags are:" ;;
esac
-set `echo "$* " | sed -e 's/\.[oc] / /g' -e 's/\.obj / /g'`
+set `echo "$* " | sed -e 's/\.[oc] / /g' -e 's/\.obj / /g'
-e "s/\\$obj_ext / /g"
`
for file do
for file do
@@
-76,7
+76,10
@@
for file do
: allow variables like toke_cflags to be evaluated
: allow variables like toke_cflags to be evaluated
- eval 'eval ${'"${file}_cflags"'-""}'
+ if echo $file | grep -v / >/dev/null
+ then
+ eval 'eval ${'"${file}_cflags"'-""}'
+ fi
: or customize here
: or customize here