;;
## Data General AViiON Machines
- m88k-dg-dgux5.4R3* )
- machine=aviion opsys=dgux5-4R3
+ m88k-dg-dgux5.4R3* | m88k-dg-dgux5.4.3* )
+ machine=aviion opsys=dgux5-4r3
;;
- m88k-dg-dgux5.4R2* )
- machine=aviion opsys=dgux5-4R2
+ m88k-dg-dgux5.4R2* | m88k-dg-dgux5.4.2* )
+ machine=aviion opsys=dgux5-4r2
;;
m88k-dg-dgux* )
machine=aviion opsys=dgux
locallisppath='${srcdir}/site-lisp'
etcdir='${srcdir}/etc'
lockdir='${srcdir}/lock'
- archlibdir=`(cd lib-src && pwd)`
- docdir=`(cd etc && pwd)`
+ # We used to make archlibdir and docdir absolute,
+ # but that caused trouble with automounters.
+ archlibdir='${srcdir}/lib-src'
+ docdir='${srcdir}/etc'
infodir='${srcdir}/info'
elif [ "$single_tree" = "1" ]; then
if [ "$exec_prefix_specified" = "" ]; then
# the C preprocessor to some helpful value like 1, or maybe the empty
# string. Needless to say consequent macro substitutions are less
# than conducive to the makefile finding the correct directory.
-undefs="`echo $top_srcdir $configuration |
+undefs="`echo $top_srcdir $configuration $canonical |
sed -e 's/[^a-zA-Z0-9_]/ /g' -e 's/^/ /' -e 's/ *$//' \
-e 's/ */ -U/g' -e 's/-U[0-9][^ ]*//g' \
`"
echo creating lib-src/Makefile
( cd lib-src
- rm -f junk.c
- sed -e 's@^# \(Generated.*\)$@/* \1 */@' \
+ rm -f junk.c junk1.c junk2.c
+ sed -e '/start of cpp stuff/q' \
+ < Makefile.in > junk1.c
+ sed -e '1,/start of cpp stuff/d'\
-e 's@/\*\*/#\(.*\)$@/* \1 */@' \
< Makefile.in > junk.c
- $CPP $undefs -I. -I$top_srcdir/src $CPPFLAGS junk.c |
- sed -e 's/^ / /' -e '/^#/d' -e '/^[ \f]*$/d' > Makefile.new
- rm -f junk.c
- chmod 444 Makefile.new;
- mv -f Makefile.new Makefile;
+ $CPP $undefs -I. -I$top_srcdir/src $CPPFLAGS junk.c | \
+ sed -e 's/^ / /' -e '/^#/d' -e '/^[ \f]*$/d' > junk2.c
+ cat junk1.c junk2.c > Makefile.new
+ rm -f junk.c junk1.c junk2.c
+ chmod 444 Makefile.new
+ mv -f Makefile.new Makefile
)
echo creating src/Makefile
( cd src
- rm -f junk.c
- sed -e 's@^# \(Generated.*\)$@/* \1 */@' \
+ rm -f junk.c junk1.c junk2.c
+ sed -e '/start of cpp stuff/q' \
+ < Makefile.in > junk1.c
+ sed -e '1,/start of cpp stuff/d'\
-e 's@/\*\*/#\(.*\)$@/* \1 */@' \
< Makefile.in > junk.c
- $CPP $undefs -I. -I$top_srcdir/src $CPPFLAGS junk.c |
- sed -e 's/^ / /' -e '/^#/d' -e '/^[ \f]*$/d' > Makefile.new
- rm -f junk.c
- chmod 444 Makefile.new;
- mv -f Makefile.new Makefile;
+ $CPP $undefs -I. -I$top_srcdir/src $CPPFLAGS junk.c | \
+ sed -e 's/^ / /' -e '/^#/d' -e '/^[ \f]*$/d' > junk2.c
+ cat junk1.c junk2.c > Makefile.new
+ rm -f junk.c junk1.c junk2.c
+ chmod 444 Makefile.new
+ mv -f Makefile.new Makefile
)])