perlre clarification.
[p5sagit/p5-mst-13.2.git] / cflags.SH
index 2aed681..54e19d5 100755 (executable)
--- 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