summaryrefslogtreecommitdiff
path: root/cflags.SH
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-07-26 12:43:02 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-07-26 12:43:02 +0000
commit3b5ca523bc72bce199abcb9d5ec13af5913a4d2d (patch)
tree7c65f45ab947422d1c0c9bfcf5471d1b92e240e1 /cflags.SH
parenteda383f202c9baaca6fdea3cf178e40686e8a3bb (diff)
downloadperl-3b5ca523bc72bce199abcb9d5ec13af5913a4d2d.tar.gz
integrate cfgperl contents into mainline
p4raw-id: //depot/perl@3774
Diffstat (limited to 'cflags.SH')
-rwxr-xr-xcflags.SH9
1 files changed, 1 insertions, 8 deletions
diff --git a/cflags.SH b/cflags.SH
index 2aed681697..54e19d5584 100755
--- a/cflags.SH
+++ b/cflags.SH
@@ -1,4 +1,4 @@
-case $CONFIGDOTSH in
+case $CONFIG in
'')
if test -f config.sh; then TOP=.;
elif test -f ../config.sh; then TOP=..;
@@ -24,7 +24,6 @@ echo "Extracting cflags (with variable substitutions)"
rm -f cflags
$spitshell >cflags <<!GROK!THIS!
$startsh
-src=$src
!GROK!THIS!
: In the following dollars and backticks do not need the extra backslash.
@@ -75,12 +74,6 @@ for file do
*) echo $n " $file.c $c" ;;
esac
- : allow for out-of-source experience
-
- if test "X$src" != X.; then
- ccflags="$ccflags -I$src -I."
- fi
-
: allow variables like toke_cflags to be evaluated
if echo $file | grep -v / >/dev/null