Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/gnu/usr.bin/egcs/cpp centralize the defintion of the standar...
details: https://anonhg.NetBSD.org/src/rev/c5585037bea2
branches: trunk
changeset: 504264:c5585037bea2
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Mon Feb 26 08:12:21 2001 +0000
description:
centralize the defintion of the standard include file directory
diffstat:
gnu/usr.bin/egcs/cpp/usr.bin.cpp.sh | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (29 lines):
diff -r d168805a2e0c -r c5585037bea2 gnu/usr.bin/egcs/cpp/usr.bin.cpp.sh
--- a/gnu/usr.bin/egcs/cpp/usr.bin.cpp.sh Mon Feb 26 07:20:44 2001 +0000
+++ b/gnu/usr.bin/egcs/cpp/usr.bin.cpp.sh Mon Feb 26 08:12:21 2001 +0000
@@ -44,6 +44,7 @@
PATH=/usr/bin:/bin
CC=${CC-gcc}
CPP=/usr/libexec/cpp
+STDINCDIR=/usr/include
ALST="-traditional -D__GNUC__ -$ "
NSI=no
OPTS=""
@@ -84,7 +85,7 @@
FOUNDFILES=yes
if [ $NSI = "no" ]
then
- INCS="$INCS -I/usr/include"
+ INCS="$INCS -I$STDINCDIR"
NSI=skip
fi
eval $CPP $ALST $INCS $OPTS $A || exit $?
@@ -97,7 +98,7 @@
# read standard input
if [ $NSI = "no" ]
then
- INCS="$INCS -I/usr/include"
+ INCS="$INCS -I$STDINCDIR"
fi
eval exec $CPP $ALST $INCS $OPTS
fi
Home |
Main Index |
Thread Index |
Old Index