diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 1999-07-25 12:27:20 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 1999-07-25 12:27:20 +0000 |
commit | b233458bd1d5037ce4bbbb41fb513e1b68522a4d (patch) | |
tree | c536cfd69a2b5a6fd972074b496e5ef5473cc69c /cflags.SH | |
parent | 781b178c230df22350b5995b4bfdfeb294912a39 (diff) | |
download | perl-b233458bd1d5037ce4bbbb41fb513e1b68522a4d.tar.gz |
First steps of making builds outside the source
directory possible. These should get us as far
as miniperl, then building DynaLoader falls into
tiny twinkling pieces as MakeMaker knows nothing
of VPATH mindset.
p4raw-id: //depot/cfgperl@3735
Diffstat (limited to 'cflags.SH')
-rwxr-xr-x | cflags.SH | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -24,6 +24,7 @@ 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. @@ -74,6 +75,12 @@ 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 |