X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=cflags.SH;h=f76d7fbf5ecd30fd5ea902bee0330e8c066a5c79;hb=ccf874816b57b9b91848a81cf43371bf7b3f17c8;hp=2aed681697ec21483bf10eeda40d1de2897c9a3d;hpb=b233458bd1d5037ce4bbbb41fb513e1b68522a4d;p=p5sagit%2Fp5-mst-13.2.git diff --git a/cflags.SH b/cflags.SH index 2aed681..f76d7fb 100755 --- a/cflags.SH +++ b/cflags.SH @@ -1,4 +1,4 @@ -case $CONFIGDOTSH in +case $PERL_CONFIG_SH in '') if test -f config.sh; then TOP=.; elif test -f ../config.sh; then TOP=..; @@ -24,12 +24,11 @@ echo "Extracting cflags (with variable substitutions)" rm -f cflags $spitshell >cflags <>cflags <<'!NO!SUBS!' -case $CONFIGDOTSH in +case $PERL_CONFIG_SH in '') if test -f config.sh; then TOP=.; elif test -f ../config.sh; then TOP=..; @@ -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 @@ -112,6 +105,7 @@ for file do miniperlmain) ;; op) ;; perl) ;; + perlapi) ;; perlmain) ;; perly) ;; pp) ;; @@ -135,8 +129,8 @@ for file do fi : Can we perhaps use $ansi2knr here - echo "$cc -c -DPERL_CORE $ccflags $optimize $perltype $large $split" - eval "$also "'"$cc -DPERL_CORE -c $ccflags $optimize $perltype $large $split"' + echo "$cc -c -DPERL_CORE $ccflags $optimize $perltype" + eval "$also "'"$cc -DPERL_CORE -c $ccflags $optimize $perltype"' . $TOP/config.sh