mirror of
https://github.com/mirror/tinycc.git
synced 2025-01-29 06:10:09 +08:00
configure: style changes
* configure: use more here-documents.
This commit is contained in:
parent
ba49862de6
commit
d7264e0218
24
configure
vendored
24
configure
vendored
@ -378,18 +378,20 @@ EOF
|
||||
|
||||
echo "Creating config.mak and config.h"
|
||||
|
||||
echo "# Automatically generated by configure - do not modify" > config.mak
|
||||
echo "/* Automatically generated by configure - do not modify */" > $TMPH
|
||||
cat >config.mak <<EOF
|
||||
# Automatically generated by configure - do not modify
|
||||
prefix=$prefix
|
||||
bindir=\$(DESTDIR)$bindir
|
||||
tccdir=\$(DESTDIR)$tccdir
|
||||
libdir=\$(DESTDIR)$libdir
|
||||
ln_libdir=$libdir
|
||||
includedir=\$(DESTDIR)$includedir
|
||||
mandir=\$(DESTDIR)$mandir
|
||||
infodir=\$(DESTDIR)$infodir
|
||||
docdir=\$(DESTDIR)$docdir
|
||||
EOF
|
||||
|
||||
echo "prefix=$prefix" >> config.mak
|
||||
echo "bindir=\$(DESTDIR)$bindir" >> config.mak
|
||||
echo "tccdir=\$(DESTDIR)$tccdir" >> config.mak
|
||||
echo "libdir=\$(DESTDIR)$libdir" >> config.mak
|
||||
echo "ln_libdir=$libdir" >> config.mak
|
||||
echo "includedir=\$(DESTDIR)$includedir" >> config.mak
|
||||
echo "mandir=\$(DESTDIR)$mandir" >> config.mak
|
||||
echo "infodir=\$(DESTDIR)$infodir" >> config.mak
|
||||
echo "docdir=\$(DESTDIR)$docdir" >> config.mak
|
||||
echo "/* Automatically generated by configure - do not modify */" > $TMPH
|
||||
print_var1()
|
||||
{
|
||||
echo "#ifndef $1" >> $TMPH
|
||||
|
Loading…
Reference in New Issue
Block a user