diff options
author | Marc G. Fournier <scrappy@hub.org> | 1997-02-05 21:28:22 +0000 |
---|---|---|
committer | Marc G. Fournier <scrappy@hub.org> | 1997-02-05 21:28:22 +0000 |
commit | d04500743b3b6984b052118ecac71716184d7a60 (patch) | |
tree | f5ce002e66580ca9651633411bc673f31583b2fe /src | |
parent | b78a3de9a167ce1b0b53112b6c34b6d4b9bb6b2e (diff) |
Oops, just about forgot to commit this one too :(
Diffstat (limited to 'src')
-rw-r--r-- | src/build | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/src/build b/src/build index 60142af6663..e68deaea8ff 100644 --- a/src/build +++ b/src/build @@ -11,13 +11,21 @@ else ECHO_C='\c' fi -$ECHO_N "Additional directories to search for include and library files []: $ECHO_C" +$ECHO_N "Additional directories to search for .h files []: $ECHO_C" read a -if [ "$a." != "." ] +if [ "$a." = "." ] then + ADD_INC_DIRS= +else ADD_INC_DIRS=`echo "$a" | sed 's@ *@ @g; s@^\([^ ]\)@-I\1@; s@ \([^ ]\)@ -I\1@g'` + INC_CFLAGS="$ADD_INC_DIRS" CPPFLAGS="$ADD_INC_DIRS" ; export CPPFLAGS - CFLAGS="$ADD_INC_DIRS" ; export CFLAGS +fi + +$ECHO_N "Additional directories to search for library files []: $ECHO_C" +read a +if [ "$a." != "." ] +then ADD_LIB_DIRS=`echo "$a" | sed 's@ *@ @g; s@^\([^ ]\)@-L\1@; s@ \([^ ]\)@ -L\1@g'` LDFLAGS="$ADD_LIB_DIRS" ; export LDFLAGS fi |